@nuvin/agent-core 0.1.0-rc.12 → 0.1.0-rc.13

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(_0x10559b,_0x492bd9){const _0x1c2326={_0x12d066:0x375,_0x36b895:0x4bc,_0xa62729:0x397,_0x12c723:0x43b,_0x2a89c8:0x378,_0x457fea:0x480,_0xd1d29c:0x704,_0x5ac19a:0x658,_0x27c21d:0x59d,_0x152e47:0x4d1,_0x281eb7:0x322,_0x1dd05e:0x76b,_0x45af4c:0x73a,_0x2d2d2d:0x6cd,_0x432396:0x565,_0x14b045:0x405,_0x1bdf11:0x3cc,_0x59ec03:0x499,_0x34d56b:0x691,_0x1c7fa0:0x5eb,_0x557ce2:0x487,_0x567f72:0x261,_0x22c29d:0x3a2,_0x49b0bc:0x26c,_0x3e5622:0x32e},_0x195540={_0x1facf8:0x56};function _0x400739(_0x41f8b8,_0x3b67a2,_0x5bc640,_0x53833f){return _0x3bdd(_0x3b67a2-_0x195540._0x1facf8,_0x53833f);}const _0x57b10b=_0x10559b();function _0x532922(_0x3a473c,_0x5aba1c,_0x4bbf97,_0x16262c){return _0x3bdd(_0x4bbf97-0x20e,_0x3a473c);}while(!![]){try{const _0x4468a5=-parseInt(_0x532922(0x516,_0x1c2326._0x12d066,_0x1c2326._0x36b895,_0x1c2326._0xa62729))/0x1+-parseInt(_0x532922(_0x1c2326._0x12c723,_0x1c2326._0x2a89c8,_0x1c2326._0x457fea,0x309))/0x2*(parseInt(_0x532922(_0x1c2326._0xd1d29c,_0x1c2326._0x5ac19a,0x5d2,_0x1c2326._0x27c21d))/0x3)+parseInt(_0x532922(_0x1c2326._0x152e47,0x5dc,0x477,_0x1c2326._0x281eb7))/0x4+-parseInt(_0x532922(_0x1c2326._0x1dd05e,0x56f,0x696,0x52e))/0x5*(parseInt(_0x532922(_0x1c2326._0x45af4c,_0x1c2326._0x2d2d2d,0x5c4,_0x1c2326._0x432396))/0x6)+parseInt(_0x532922(0x423,_0x1c2326._0x14b045,0x4be,_0x1c2326._0x1bdf11))/0x7*(-parseInt(_0x532922(_0x1c2326._0x59ec03,_0x1c2326._0x34d56b,_0x1c2326._0x1c7fa0,_0x1c2326._0x557ce2))/0x8)+parseInt(_0x400739(_0x1c2326._0x567f72,_0x1c2326._0x22c29d,0x378,0x328))/0x9+parseInt(_0x400739(0x3e1,_0x1c2326._0x49b0bc,0x3c5,_0x1c2326._0x3e5622))/0xa;if(_0x4468a5===_0x492bd9)break;else _0x57b10b['push'](_0x57b10b['shift']());}catch(_0xf04b61){_0x57b10b['push'](_0x57b10b['shift']());}}}(_0x770d,0x7bfac));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-UIXQPCSN.js';import{getTextFromMessage}from'../chunk-YWQXXHHU.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 _0x306edd from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x1e45aa(0x742,0x7d4,0x693,0x5de),'.tsx':_0x55c88d(0x301,0x41a,0x4d0,0x2e1),'.js':_0x1e45aa(0x891,0x722,0x7e7,0x7b0),'.jsx':_0x55c88d(0x4a4,0x3a3,0x4be,0x2b3),'.mjs':'javascript','.cjs':'javascript','.mts':_0x55c88d(0x329,0x3e2,0x4af,0x432),'.cts':_0x55c88d(0x52e,0x3e2,0x3e3,0x288),'.json':_0x55c88d(0x401,0x44e,0x5a6,0x572),'.jsonc':_0x55c88d(0x5b1,0x528,0x539,0x66e)};function getLanguageId(_0x36fd06){const _0x56f064={_0x28ee62:0x61b,_0x5743d0:0x63d,_0x3f8c1e:0x507},_0x6ffba7={_0x50357e:0x6c,_0xd8e565:0x18c};function _0x56899d(_0x476dda,_0xf3d21a,_0x23757,_0x50b080){return _0x55c88d(_0x476dda-_0x6ffba7._0x50357e,_0x23757-_0x6ffba7._0xd8e565,_0x50b080,_0x50b080-0x1ea);}function _0xb9007e(_0x2e36a3,_0x440540,_0x1e53b9,_0x1b41c7){return _0x1e45aa(_0x2e36a3-0xf2,_0x440540-0xcc,_0x2e36a3- -0x361,_0x440540);}return EXTENSION_TO_LANGUAGE[_0x306edd[_0x56899d(0x667,0x750,0x71a,_0x56f064._0x28ee62)](_0x36fd06)[_0x56899d(_0x56f064._0x5743d0,0x62f,_0x56f064._0x3f8c1e,0x638)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x30891d){const _0x12f5ad={_0x2a4c9a:0x2cc,_0x30567c:0x237},_0x4920eb={_0x36d6b5:0x9,_0x51b61a:0x62};function _0x319584(_0x165f65,_0xdea028,_0x3f152c,_0x370afd){return _0x55c88d(_0x165f65-_0x4920eb._0x36d6b5,_0xdea028- -0x8e,_0x165f65,_0x370afd-_0x4920eb._0x51b61a);}return pathToFileURL(_0x30891d)[_0x319584(_0x12f5ad._0x2a4c9a,0x38e,_0x12f5ad._0x30567c,0x3c1)]();}function textDocumentPosition(_0x220c17){const _0x480fea={_0x43d97a:0x3ba,_0x29cf18:0x26e,_0x4efd39:0x504,_0x5bf646:0x3d2},_0xb3525b={_0x178073:0x142,_0x409c72:0xd3},_0xf50f0e={_0x3c7b82:0xda,_0xed8995:0x191};function _0x2d87f6(_0xbb1dde,_0x556acc,_0x412758,_0x2f3403){return _0x1e45aa(_0xbb1dde-0xe6,_0x556acc-_0xf50f0e._0x3c7b82,_0xbb1dde- -_0xf50f0e._0xed8995,_0x2f3403);}function _0x11e6ee(_0x330085,_0x414605,_0x2399fe,_0x4c0703){return _0x55c88d(_0x330085-_0xb3525b._0x178073,_0x414605- -_0xb3525b._0x409c72,_0x330085,_0x4c0703-0x56);}return{'textDocument':{'uri':uriForPath(_0x220c17[_0x11e6ee(_0x480fea._0x43d97a,0x298,_0x480fea._0x29cf18,0x41c)])},'position':{'line':_0x220c17[_0x2d87f6(0x4dd,0x4f9,_0x480fea._0x4efd39,_0x480fea._0x5bf646)],'character':_0x220c17['character']}};}function normalizeLocations(_0x521334){const _0x2d9251={_0x57c255:0xc4,_0x16762d:0x775};if(!_0x521334)return[];function _0x590475(_0xdf07f7,_0x3725c7,_0x1c444b,_0x5083f2){return _0x1e45aa(_0xdf07f7-0x169,_0x3725c7-_0x2d9251._0x57c255,_0x3725c7- -_0x2d9251._0x16762d,_0xdf07f7);}return Array[_0x590475(0x14,0xa6,0x60,0xe9)](_0x521334)?_0x521334:[_0x521334];}async function createLspClient(_0x57e64a){const _0x5d24de={_0x1e5c9c:0x66,_0x375020:0x102,_0x493a59:0x387,_0x425b02:0x461,_0x2b7300:0x1dd,_0x4f9d64:0x27a,_0x8e7900:0x2a6,_0x1c60a6:0x3a8,_0x1dabe6:0x407,_0x5e0087:0x31,_0x4970d9:0x41,_0xe464aa:0xb0,_0x2976ed:0xf8,_0x53ddb1:0x48a,_0x283e67:0x4b3,_0x12e4a8:0x1f2,_0x4ee977:0x2f1,_0x1d16f0:0x247,_0x32ed10:0x1bb,_0x155b35:0x43,_0x39490e:0x191,_0x1933c6:0x3c,_0x50333f:0x17,_0x1c397c:0x99,_0x3f8cbb:0xff,_0x3dfc0c:0xa,_0xc88da9:0x7b,_0x494dc6:0x13,_0x38c70b:0x97,_0x2ea7da:0x9a,_0x91df8:0x27c,_0x1f4926:0x189,_0x1c1bd0:0x22c,_0x45d82f:0xf0,_0x44c080:0x66,_0x20e175:0x74},_0x4110fb={_0x3d2c33:0x1b0,_0x169e22:0x53,_0x5ba104:0x101,_0x704ccc:0xe8,_0x380e18:0x6a,_0x44a95f:0x1a,_0x27de8a:0x168,_0x262d86:0x7f,_0x3be07c:0x7b,_0x131d8f:0xc3,_0x45710c:0x49,_0x5e00a2:0x10f,_0x37ad2f:0x5f,_0x1fd320:0x103},_0x34ebcc={_0x4be6c9:0x14f},_0x2c493c={_0x49e052:0x57c,_0x13f432:0x4a0,_0x5c1571:0x337,_0x206c41:0x46d,_0x48475e:0x31a},_0x5587d4={_0x312ed0:0x28d,_0x13c0fb:0x450,_0x2dd1d3:0x537,_0x269f94:0x2da,_0x4f6189:0x22b,_0x41bd90:0x3a4,_0x4c0333:0xd1,_0x483bdc:0x22b},_0x40e238={_0x4ec769:0x6b,_0x5eff7a:0xd3,_0x345fc4:0x43},_0x295025={_0x33e3a3:0x2,_0x3ba5de:0x447},_0x41005b={_0x1a6c01:0x73,_0xb9707e:0x25b},_0x1a8e9f={_0x5b9c27:0x1d3,_0xba91ea:0x18c,_0x41ba72:0x184,_0x11ae08:0xd,_0x3b580a:0x165,_0x2b199e:0x8b},_0x1a74a1={_0x1520ca:0x38c,_0x357476:0x36f},_0x51f94e={_0x3bd96b:0x144,_0x4bf24e:0xe},_0x5530c2={_0x989fe6:0x7a},_0x81219a={_0x7d7402:0x135,_0x5e693e:0x335,_0x1abb8a:0x234,_0x5c15f3:0x37a},_0x489363={_0x210d44:0x738},_0x5c3ab7={_0x4fddb0:0x130,_0x1e9f38:0x357},_0x321306={_0x2e0dd9:0x3ab,_0x4419a0:0x416,_0x2e3a02:0x474,_0x4c3842:0x478,_0x4521b6:0x4af},_0x4dc5ea={_0x423686:0x1c3},_0x505c91={_0x39221f:0x1c8,_0x3ac356:0x29e},_0x3974e3={_0x376a59:0x204,_0x1da70c:0x67d,_0x593bc1:0x638,_0x246ebf:0x1e2,_0x292e72:0x30},_0x1b2db8={_0x283c7d:0x10e,_0x1d160c:0x137,_0x4197e3:0x2af},_0x5dd48d={_0x2e7ece:0x6cb,_0x233e2b:0x548,_0x57c1d0:0x405,_0x6991a2:0x92,_0x54fe74:0x3ed,_0x194b88:0x3c0,_0x212992:0x574},_0xc94f43={_0x437f9f:0x27b,_0x28d8e9:0x23f,_0x569c8f:0x38c,_0x5d4f10:0xe2,_0x18017d:0x266,_0xcc3c0d:0x367,_0x11bbb9:0x35e,_0x5a7ae6:0x45b,_0x31f0d2:0x2dc,_0x141313:0xc0,_0x7fca80:0x44c},_0x3846a2={_0x2fafcd:0xac,_0x11211b:0xb},_0x547ad8={_0x2a0fe7:0x1a2,_0x4600de:0x1be,_0x2dc857:0x74b};function _0x5ba6a1(_0x192ab1,_0x58b521,_0x58bcf7,_0x58b5e9){return _0x1e45aa(_0x192ab1-_0x547ad8._0x2a0fe7,_0x58b521-_0x547ad8._0x4600de,_0x192ab1- -_0x547ad8._0x2dc857,_0x58b5e9);}const _0x2a4c3d=_0x57e64a[_0x5ba6a1(0x43,_0x5d24de._0x1e5c9c,_0x5d24de._0x375020,0x5b)][_0x5218ae(0x55a,0x440,_0x5d24de._0x493a59,_0x5d24de._0x425b02)][_0x5ba6a1(-_0x5d24de._0x2b7300,-_0x5d24de._0x4f9d64,-_0x5d24de._0x2b7300,-_0x5d24de._0x8e7900)],_0x41f050=_0x57e64a[_0x5218ae(_0x5d24de._0x1c60a6,_0x5d24de._0x1dabe6,0x2ba,0x3fe)]['process'][_0x5ba6a1(_0x5d24de._0x5e0087,0x186,-0x13a,-0x104)];if(!_0x2a4c3d||!_0x41f050)throw new Error(_0x5ba6a1(_0x5d24de._0x4970d9,-_0x5d24de._0xe464aa,_0x5d24de._0x2976ed,-0x66));const _0x732c33=createMessageConnection(new StreamMessageReader(_0x2a4c3d),new StreamMessageWriter(_0x41f050)),_0x4602f6=new Map(),_0x526a57=new Map();function _0x5218ae(_0x478f1e,_0x12c2b6,_0x32c319,_0x8d5b49){return _0x55c88d(_0x478f1e-0x198,_0x8d5b49- -0xdf,_0x12c2b6,_0x8d5b49-0x41);}let _0x531dbd=![];_0x732c33[_0x5218ae(_0x5d24de._0x53ddb1,_0x5d24de._0x283e67,0x300,0x3e2)]('textDocument/publishDiagnostics',_0x4b98ce=>{const _0x604591={_0x37ea91:0x111,_0x4d66dc:0x11d};function _0x1e1ab0(_0x4134c4,_0x65f52c,_0x47caee,_0x50686a){return _0x5218ae(_0x4134c4-0x8d,_0x65f52c,_0x47caee-_0x604591._0x37ea91,_0x4134c4-_0x604591._0x4d66dc);}_0x4602f6['set'](_0x4b98ce[_0x533445(0x30f,0x166,_0xc94f43._0x437f9f,0x22c)],_0x4b98ce[_0x533445(_0xc94f43._0x28d8e9,_0xc94f43._0x569c8f,_0xc94f43._0x5d4f10,_0xc94f43._0x18017d)]);function _0x533445(_0x3999ff,_0x3b5024,_0xf61cc4,_0x268eaa){return _0x5218ae(_0x3999ff-_0x3846a2._0x2fafcd,_0x3999ff,_0xf61cc4-_0x3846a2._0x11211b,_0x268eaa-0x8);}const _0x324c53=_0x526a57[_0x533445(_0xc94f43._0xcc3c0d,0x51c,_0xc94f43._0x11bbb9,_0xc94f43._0x5a7ae6)](_0x4b98ce[_0x533445(_0xc94f43._0x31f0d2,_0xc94f43._0x141313,0x20b,0x22c)]);if(!_0x324c53)return;_0x526a57[_0x1e1ab0(0x3df,0x28d,0x41b,0x41a)](_0x4b98ce[_0x1e1ab0(0x341,_0xc94f43._0x7fca80,0x40d,0x391)]);for(const _0x442baf of _0x324c53)_0x442baf();}),_0x732c33['listen']();const _0x11674b=await _0x732c33['sendRequest'](_0x5218ae(0x100,_0x5d24de._0x12e4a8,_0x5d24de._0x4ee977,0x231),{'processId':process[_0x5218ae(0xb8,_0x5d24de._0x1d16f0,_0x5d24de._0x32ed10,0x1f4)],'rootUri':uriForPath(_0x57e64a['root']),'workspaceFolders':[{'uri':uriForPath(_0x57e64a['root']),'name':_0x57e64a['server']['id']}],'initializationOptions':_0x57e64a[_0x5ba6a1(_0x5d24de._0x155b35,_0x5d24de._0x39490e,-0x120,-0x15)][_0x5ba6a1(-_0x5d24de._0x1933c6,0x6b,-0x1a0,-_0x5d24de._0x50333f)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x5ba6a1(-_0x5d24de._0x1c397c,-_0x5d24de._0x3f8cbb,-0x79,_0x5d24de._0x3dfc0c),'plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x732c33['sendNotification'](_0x5ba6a1(_0x5d24de._0xc88da9,-0xdd,_0x5d24de._0x494dc6,0x1a5),{});const _0x5b1cc6={'serverId':_0x57e64a[_0x5218ae(_0x5d24de._0x38c70b,_0x5d24de._0x2ea7da,_0x5d24de._0x91df8,0x209)]['id'],'root':_0x57e64a[_0x5ba6a1(0xd2,-0xb0,_0x5d24de._0x1f4926,_0x5d24de._0x1c1bd0)],'connection':_0x732c33,'diagnostics':_0x4602f6,'capabilities':_0x11674b[_0x5ba6a1(-_0x5d24de._0x45d82f,-_0x5d24de._0x44c080,0x57,_0x5d24de._0x20e175)]??{},'notify':{async 'open'({path:_0x40ac3e}){const _0x1aa224={_0x3abe95:0x109,_0x82cf27:0x183};function _0x1058f8(_0x3cfe52,_0x2d8439,_0x1ca944,_0x273dd4){return _0x5ba6a1(_0x2d8439-0x535,_0x2d8439-_0x1aa224._0x3abe95,_0x1ca944-_0x1aa224._0x82cf27,_0x1ca944);}const _0xc95f03=await readFile(_0x40ac3e,'utf8');function _0x7aff65(_0x5cbe2d,_0x3336c4,_0x15db68,_0x3a0dd7){return _0x5ba6a1(_0x3a0dd7-0x272,_0x3336c4-0x102,_0x15db68-0xcb,_0x5cbe2d);}_0x732c33[_0x1058f8(_0x5dd48d._0x2e7ece,_0x5dd48d._0x233e2b,0x603,_0x5dd48d._0x57c1d0)](_0x7aff65(0x29b,_0x5dd48d._0x6991a2,0x177,0x1bc),{'textDocument':{'uri':uriForPath(_0x40ac3e),'languageId':getLanguageId(_0x40ac3e)??_0x1058f8(_0x5dd48d._0x54fe74,0x4bc,_0x5dd48d._0x194b88,_0x5dd48d._0x212992),'version':0x1,'text':_0xc95f03}});},async 'change'({path:_0x3645b9,version:_0x205aab}){const _0x30fb1b={_0x101528:0x189,_0x2758e3:0xba};function _0x316798(_0x3d5d69,_0x11bf87,_0x47a778,_0x431984){return _0x5218ae(_0x3d5d69-_0x1b2db8._0x283c7d,_0x431984,_0x47a778-_0x1b2db8._0x1d160c,_0x11bf87-_0x1b2db8._0x4197e3);}function _0xd81bcb(_0x3f2681,_0x5bfffa,_0x49b3e9,_0x13915e){return _0x5218ae(_0x3f2681-_0x30fb1b._0x101528,_0x13915e,_0x49b3e9-0x1a9,_0x5bfffa- -_0x30fb1b._0x2758e3);}const _0x1254f6=await readFile(_0x3645b9,_0xd81bcb(0x18e,0x24d,_0x3974e3._0x376a59,0x291));_0x732c33[_0x316798(0x770,_0x3974e3._0x1da70c,0x520,_0x3974e3._0x593bc1)](_0xd81bcb(_0x3974e3._0x246ebf,0x1a6,0x155,_0x3974e3._0x292e72),{'textDocument':{'uri':uriForPath(_0x3645b9),'version':_0x205aab},'contentChanges':[{'text':_0x1254f6}]});},async 'close'({path:_0x37bcde}){const _0x1bbcbe={_0x251a79:0x1b5,_0xf34415:0xab};function _0x33a038(_0x48f31d,_0xda9eb1,_0x4603a8,_0xf39d86){return _0x5ba6a1(_0x48f31d-_0x1bbcbe._0x251a79,_0xda9eb1-0xf9,_0x4603a8-_0x1bbcbe._0xf34415,_0xf39d86);}_0x732c33[_0x33a038(_0x505c91._0x39221f,0x15c,0xdd,_0x505c91._0x3ac356)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x37bcde)}});}},'request':{async 'definition'(_0x2e1fb8){return normalizeLocations(await _0x732c33['sendRequest']('textDocument/definition',textDocumentPosition(_0x2e1fb8)));},async 'references'(_0x56ccfb){const _0xff4760={_0x2310de:0x168,_0x3ed29f:0x45};function _0x4c88d8(_0x528fe9,_0x3a262f,_0x25eae9,_0xa3c2eb){return _0x5ba6a1(_0x25eae9-0x1f,_0x3a262f-0xd2,_0x25eae9-_0x4dc5ea._0x423686,_0xa3c2eb);}function _0x441528(_0x4a3edc,_0x2c1aef,_0x5c5e95,_0x53bde7){return _0x5218ae(_0x4a3edc-_0xff4760._0x2310de,_0x2c1aef,_0x5c5e95-0x1be,_0x53bde7-_0xff4760._0x3ed29f);}return normalizeLocations(await _0x732c33[_0x441528(_0x321306._0x2e0dd9,0x3b2,_0x321306._0x4419a0,0x2a2)](_0x441528(_0x321306._0x2e3a02,_0x321306._0x4c3842,_0x321306._0x4521b6,0x501),{...textDocumentPosition(_0x56ccfb),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x16dde5){return await _0x732c33['sendRequest']('textDocument/hover',textDocumentPosition(_0x16dde5))??null;},async 'documentSymbol'(_0xd95d49){const _0x339bbe={_0x570868:0x13e,_0x2d134c:0x18f};function _0x29833e(_0x59d80c,_0x867291,_0x1a7c8a,_0x493559){return _0x5218ae(_0x59d80c-_0x339bbe._0x570868,_0x493559,_0x1a7c8a-_0x339bbe._0x2d134c,_0x59d80c- -0x67);}function _0x395399(_0x39357c,_0x3ebbbf,_0x258601,_0x3bb94c){return _0x5218ae(_0x39357c-0x67,_0x3bb94c,_0x258601-_0x5c3ab7._0x4fddb0,_0x3ebbbf-_0x5c3ab7._0x1e9f38);}return await _0x732c33[_0x395399(0x574,0x5b4,0x6da,_0x489363._0x210d44)](_0x395399(0x5ec,0x74d,0x706,0x798),{'textDocument':{'uri':uriForPath(_0xd95d49)}})??[];},async 'workspaceSymbol'(_0x5acc72){const _0x2b4094={_0x1e0585:0x73};function _0x424082(_0x5d83db,_0x139e2e,_0x1aee73,_0x1f7051){return _0x5218ae(_0x5d83db-0x1d7,_0x5d83db,_0x1aee73-0x6c,_0x1f7051- -0x15b);}function _0x5c3cec(_0x38c1d7,_0x20479a,_0x2f1256,_0xf60732){return _0x5218ae(_0x38c1d7-_0x2b4094._0x1e0585,_0xf60732,_0x2f1256-0x16f,_0x2f1256- -0x29);}return await _0x732c33[_0x5c3cec(_0x81219a._0x7d7402,_0x81219a._0x5e693e,_0x81219a._0x1abb8a,_0x81219a._0x5c15f3)](_0x5c3cec(0x4d1,0x452,0x447,0x417),{'query':_0x5acc72})??[];},async 'implementation'(_0x52b544){function _0x3d5fb4(_0x22960e,_0x1c28c2,_0x28f070,_0x38d40e){return _0x5ba6a1(_0x28f070- -0x8,_0x1c28c2-0x157,_0x28f070-0xb9,_0x38d40e);}return normalizeLocations(await _0x732c33['sendRequest'](_0x3d5fb4(0x1a,-_0x5530c2._0x989fe6,0x7e,0x85),textDocumentPosition(_0x52b544)));},async 'prepareCallHierarchy'(_0x54b020){function _0x2f4198(_0x2d27af,_0x3d2a07,_0x18bba1,_0x81781e){return _0x5218ae(_0x2d27af-0x157,_0x18bba1,_0x18bba1-_0x51f94e._0x3bd96b,_0x2d27af- -_0x51f94e._0x4bf24e);}return await _0x732c33['sendRequest'](_0x2f4198(_0x1a74a1._0x1520ca,0x2c2,_0x1a74a1._0x357476,0x323),textDocumentPosition(_0x54b020))??[];},async 'incomingCalls'(_0x3cfff4){const _0x2f2321={_0x127df0:0xf7,_0x5c1635:0x129};function _0x48f477(_0x117555,_0x1ad2a0,_0x112871,_0x230981){return _0x5ba6a1(_0x112871-0x101,_0x1ad2a0-0x13e,_0x112871-0x153,_0x230981);}function _0x1d37c3(_0x3de279,_0x27698b,_0x109ef7,_0x335d4e){return _0x5218ae(_0x3de279-_0x2f2321._0x127df0,_0x109ef7,_0x109ef7-_0x2f2321._0x5c1635,_0x3de279- -0x8a);}return await _0x732c33[_0x1d37c3(_0x1a8e9f._0x5b9c27,_0x1a8e9f._0xba91ea,0x2eb,_0x1a8e9f._0x41ba72)](_0x48f477(-_0x1a8e9f._0x11ae08,0x3d,_0x1a8e9f._0x3b580a,_0x1a8e9f._0x2b199e),{'item':_0x3cfff4})??[];},async 'outgoingCalls'(_0x10dbfe){const _0x2539a8={_0x4ef4b9:0x1d,_0x456552:0x1bd};function _0x4a27f8(_0x707f31,_0x25587d,_0x5788a8,_0x58a7d1){return _0x5218ae(_0x707f31-0x80,_0x58a7d1,_0x5788a8-_0x41005b._0x1a6c01,_0x5788a8- -_0x41005b._0xb9707e);}function _0x5dd69c(_0x2554bc,_0x54a428,_0x77ba6a,_0x368778){return _0x5218ae(_0x2554bc-_0x2539a8._0x4ef4b9,_0x2554bc,_0x77ba6a-0x88,_0x368778-_0x2539a8._0x456552);}return await _0x732c33[_0x4a27f8(-0x10,0xd4,_0x295025._0x33e3a3,-0x2d)](_0x5dd69c(_0x295025._0x3ba5de,0x36f,0x5f6,0x4d4),{'item':_0x10dbfe})??[];}},'waitForDiagnostics'({path:_0x238cc6,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){function _0xa74b40(_0x2141f9,_0x1ec2a9,_0x200be3,_0x274f49){return _0x5218ae(_0x2141f9-0x31,_0x200be3,_0x200be3-0x141,_0x1ec2a9-0x2f);}const _0x27fa70=uriForPath(_0x238cc6);function _0x4a0962(_0x32ecbe,_0xdea11f,_0x38be4f,_0x52a3ee){return _0x5218ae(_0x32ecbe-_0x40e238._0x4ec769,_0xdea11f,_0x38be4f-_0x40e238._0x5eff7a,_0x52a3ee- -_0x40e238._0x345fc4);}if(_0x4602f6[_0xa74b40(0x358,0x3f7,_0x2c493c._0x49e052,0x2bc)](_0x27fa70))return Promise[_0xa74b40(_0x2c493c._0x13f432,_0x2c493c._0x5c1571,_0x2c493c._0x206c41,_0x2c493c._0x48475e)]();return new Promise(_0x1f5bfe=>{const _0x34a34f={_0x5d631a:0x122,_0x5cad96:0x1d5},_0x28057b={_0x78451f:0x11c},_0x20b898={_0x9bfbcb:0x302,_0xa2241d:0x567,_0x4f5316:0x4a2,_0x3e8c4a:0x3ed,_0x38c75c:0x386,_0x14df23:0x211},_0x2e1a6b=setTimeout(()=>{function _0x4b8207(_0x251e26,_0xd5ed12,_0x136a2,_0x2fa5b6){return _0x3bdd(_0x136a2-0x2f,_0x2fa5b6);}const _0x5d607a=_0x526a57[_0x4b8207(_0x20b898._0x9bfbcb,_0x20b898._0xa2241d,0x479,_0x20b898._0x4f5316)](_0x27fa70);function _0x138528(_0x2e9e55,_0x5c68b6,_0x3a86d2,_0x524951){return _0x3bdd(_0x2e9e55-0x2ef,_0x3a86d2);}_0x5d607a?.[_0x4b8207(0x223,0x1b0,0x2e8,_0x20b898._0x3e8c4a)](_0x2dfd06);if(_0x5d607a?.[_0x4b8207(_0x20b898._0x38c75c,0x2ba,_0x20b898._0x14df23,0x333)]===0x0)_0x526a57[_0x4b8207(0x2ba,0x437,0x2e8,0x3ab)](_0x27fa70);_0x1f5bfe();},timeoutMs),_0x2dfd06=()=>{clearTimeout(_0x2e1a6b),_0x1f5bfe();};function _0x2fa820(_0x5ef526,_0x400847,_0x47ec2d,_0x370449){return _0xa74b40(_0x5ef526-_0x28057b._0x78451f,_0x5ef526- -0x9a,_0x400847,_0x370449-0x146);}function _0x23e6d8(_0x3d63a1,_0x3390eb,_0x547c7c,_0x31e7af){return _0x4a0962(_0x3d63a1-0xcb,_0x3390eb,_0x547c7c-_0x34a34f._0x5d631a,_0x3d63a1-_0x34a34f._0x5cad96);}const _0x4f4912=_0x526a57[_0x2fa820(0x3e8,0x2d7,0x31f,_0x5587d4._0x312ed0)](_0x27fa70)??new Set();_0x4f4912[_0x2fa820(_0x5587d4._0x13c0fb,_0x5587d4._0x2dd1d3,_0x5587d4._0x269f94,0x37c)](_0x2dfd06),_0x526a57[_0x2fa820(_0x5587d4._0x4f6189,_0x5587d4._0x41bd90,_0x5587d4._0x4c0333,_0x5587d4._0x483bdc)](_0x27fa70,_0x4f4912);});},async 'shutdown'(){const _0x3a9349={_0x2aa3ca:0x187};function _0x3b885e(_0x1a0487,_0x26168d,_0x2b595b,_0x5ea71a){return _0x5218ae(_0x1a0487-0x53,_0x1a0487,_0x2b595b-_0x3a9349._0x2aa3ca,_0x5ea71a- -0x35e);}if(_0x531dbd)return;_0x531dbd=!![];function _0x40e10c(_0x777747,_0x488833,_0x5d50c9,_0x158241){return _0x5218ae(_0x777747-0x13,_0x777747,_0x5d50c9-_0x34ebcc._0x4be6c9,_0x488833- -0x33b);}try{await _0x732c33[_0x3b885e(-_0x4110fb._0x3d2c33,0x76,_0x4110fb._0x169e22,-_0x4110fb._0x5ba104)](_0x40e10c(_0x4110fb._0x704ccc,0x127,0x91,0x219),null),_0x732c33[_0x40e10c(-_0x4110fb._0x380e18,0x93,_0x4110fb._0x44a95f,-0xae)](_0x40e10c(_0x4110fb._0x27de8a,_0x4110fb._0x262d86,-0x27,_0x4110fb._0x3be07c));}catch{}finally{_0x732c33['dispose'](),_0x57e64a[_0x40e10c(-0x44,_0x4110fb._0x131d8f,-_0x4110fb._0x45710c,0xab)][_0x3b885e(-0x52,_0x4110fb._0x5e00a2,-_0x4110fb._0x37ad2f,_0x4110fb._0x1fd320)]['kill']();}}};return _0x5b1cc6;}import{spawn as _0x33fb2}from'child_process';import{access as _0x5a46d6}from'fs/promises';import _0x18404d from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x251ef4 from'os';import _0x1c9354 from'path';import _0x4a1fd2 from'which';var installPromises=new Map();function sanitizePackageName(_0x1e58db){const _0x660a5a={_0x69b99f:0x616,_0x206f7a:0x61c},_0x2851b4={_0x27cc78:0xda,_0x556d6f:0x35};function _0x46650a(_0x87430e,_0xa99a07,_0x5bb71e,_0xe022ae){return _0x55c88d(_0x87430e-_0x2851b4._0x27cc78,_0xa99a07-0x2a0,_0x87430e,_0xe022ae-_0x2851b4._0x556d6f);}return _0x1e58db[_0x46650a(_0x660a5a._0x69b99f,_0x660a5a._0x206f7a,0x5a3,0x4cc)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x83bb40){const _0x4c6e21={_0x55690a:0xa7,_0x567967:0xd2,_0x73e474:0xca,_0x43853b:0x4cd},_0x4e53a7={_0xad0270:0xf7,_0x4d5203:0x3f1,_0x481203:0x5},_0x7dbe75={_0x12afb9:0x38};function _0x290570(_0x3886eb,_0x22a44a,_0x5a2276,_0xbabd40){return _0x55c88d(_0x3886eb-_0x7dbe75._0x12afb9,_0x22a44a- -0x1b0,_0x3886eb,_0xbabd40-0x99);}function _0xb6f1c2(_0x4a1f04,_0x21b65c,_0x4ca509,_0x9491bb){return _0x55c88d(_0x4a1f04-_0x4e53a7._0xad0270,_0x4ca509- -_0x4e53a7._0x4d5203,_0x4a1f04,_0x9491bb-_0x4e53a7._0x481203);}return process['platform']===_0xb6f1c2(_0x4c6e21._0x55690a,-_0x4c6e21._0x567967,0xb3,_0x4c6e21._0x73e474)?_0x83bb40+_0x290570(_0x4c6e21._0x43853b,0x36a,0x25d,0x2e9):_0x83bb40;}async function exists(_0xbe80ff){try{return await access(_0xbe80ff),!![];}catch{return![];}}function runNpmInstall(_0x2d9824,_0x5b249a,_0x323728){const _0x265391={_0x2b009b:0x230,_0x532da2:0x568,_0x40b5dd:0x41d,_0xdb484c:0x313,_0x77ef59:0x2ce};return new Promise(_0x291aa4=>{const _0x3da084=spawn(_0x5d143a(0x335,_0x265391._0x2b009b,0x2d5,0x29a),[_0x4e4120(0x5d2,0x459,0x6e5,_0x265391._0x532da2),'--prefix',_0x2d9824,_0x5b249a],{'env':_0x323728,'stdio':_0x4e4120(0x43c,_0x265391._0x40b5dd,0x467,0x497)});_0x3da084['on'](_0x5d143a(0x285,0x214,_0x265391._0xdb484c,_0x265391._0x77ef59),()=>_0x291aa4(![]));function _0x5d143a(_0x45a801,_0x4462ae,_0x11b6dd,_0x20298b){return _0x3bdd(_0x45a801- -0x18a,_0x20298b);}function _0x4e4120(_0x10b7b1,_0x21be3b,_0x217705,_0x3f3e72){return _0x3bdd(_0x3f3e72-0xd1,_0x21be3b);}_0x3da084['on']('close',_0x98ab14=>_0x291aa4(_0x98ab14===0x0));});}function shouldDisableLspDownload(_0x16e834=process[_0x55c88d(0x3c3,0x3d9,0x4b7,0x4a1)]){const _0x2237e4={_0x2dae65:0x2cd,_0x3d1553:0x71e,_0x385045:0x18c,_0xc5ca2f:0x32e,_0x5b886e:0x2eb},_0x5a8885={_0x1c89cd:0xf0,_0x50ddd6:0x144},_0x953b92={_0x1b3944:0x5a};function _0x3cbbe8(_0xe95c5b,_0x3c6d57,_0x29b690,_0x20af5e){return _0x55c88d(_0xe95c5b-0x16c,_0xe95c5b-0x19d,_0x3c6d57,_0x20af5e-_0x953b92._0x1b3944);}const _0x1797c1=_0x16e834['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x1bedd6(_0x2237e4._0x2dae65,0x154,0x20b,0x28b)]();function _0x1bedd6(_0x338d31,_0x598b40,_0x2e997b,_0x34504a){return _0x55c88d(_0x338d31-0xcd,_0x34504a- -_0x5a8885._0x1c89cd,_0x338d31,_0x34504a-_0x5a8885._0x50ddd6);}return _0x1797c1===_0x3cbbe8(_0x2237e4._0x3d1553,0x6ad,0x7c4,0x5bb)||_0x1797c1==='1'||_0x1797c1===_0x1bedd6(_0x2237e4._0x385045,_0x2237e4._0xc5ca2f,0x429,_0x2237e4._0x5b886e)||_0x1797c1==='on';}function getLspPackageDir(_0x2a2354){const _0x4f71e1={_0x494d34:0x3be,_0x924fcd:0x246,_0x19cc38:0x201,_0xcb30d1:0x287,_0x5ae785:0x27c,_0x1a4b3a:0x18c,_0x44b8d0:0x92,_0x37aaf5:0x1da,_0x2a8d1e:0x14b,_0x4e26f4:0x2ad},_0x527827={_0x2597df:0x135},_0x4fd0e1={_0x7cec48:0xa3,_0x308c02:0x34};function _0x10bf90(_0x3d7aac,_0xdbcf3f,_0x50ba28,_0x2d633e){return _0x55c88d(_0x3d7aac-_0x4fd0e1._0x7cec48,_0xdbcf3f- -_0x4fd0e1._0x308c02,_0x3d7aac,_0x2d633e-0x91);}function _0x37d9bc(_0x11bc6,_0x210623,_0x5bb9df,_0x5bf3b6){return _0x55c88d(_0x11bc6-_0x527827._0x2597df,_0x5bb9df- -0x45a,_0x5bf3b6,_0x5bf3b6-0x75);}return _0x1c9354[_0x10bf90(0x2b0,_0x4f71e1._0x494d34,_0x4f71e1._0x924fcd,0x4a1)](_0x251ef4[_0x37d9bc(_0x4f71e1._0x19cc38,0x176,0x10c,0x211)](),_0x10bf90(0x3a9,_0x4f71e1._0xcb30d1,_0x4f71e1._0x5ae785,_0x4f71e1._0x1a4b3a),'lsp',_0x37d9bc(-_0x4f71e1._0x44b8d0,-_0x4f71e1._0x37aaf5,-_0x4f71e1._0x2a8d1e,-_0x4f71e1._0x4e26f4),sanitizePackageName(_0x2a2354));}function getLspBinDir(_0x1c7730){const _0xdee653={_0x261248:0x1d6,_0x5b40e2:0x21d},_0x1dcea0={_0x27aab0:0x1cc,_0x27033b:0x1df};function _0x299d05(_0x380a00,_0x547afe,_0x2a7a83,_0x38855c){return _0x1e45aa(_0x380a00-_0x1dcea0._0x27aab0,_0x547afe-_0x1dcea0._0x27033b,_0x547afe- -0x725,_0x38855c);}function _0x3144ca(_0x48f886,_0x35b693,_0x1d5e6b,_0x1f04d2){return _0x55c88d(_0x48f886-0x1e4,_0x48f886- -0x2d2,_0x35b693,_0x1f04d2-0x169);}return _0x1c9354['join'](getLspPackageDir(_0x1c7730),_0x299d05(-0x86,-0x87,-0x1f5,-_0xdee653._0x261248),_0x3144ca(0x1d1,_0xdee653._0x5b40e2,0x15e,0xe3));}async function findPackageBinary(_0x4e07da,_0x36ee10){const _0x17e90b={_0x453b49:0x4d4,_0x1a048e:0x69c,_0x10e09b:0x3cd,_0x4c34ff:0x604,_0x4946e8:0x621,_0x8ca77f:0x662,_0x56f903:0x78e,_0x8ed745:0x49f,_0x35f9c1:0x606},_0x55faae={_0x3688b6:0x56},_0x47d637={_0x2d6614:0xa4};function _0x5e16ca(_0x5580d7,_0x4ad951,_0x4a6032,_0x5a11fb){return _0x55c88d(_0x5580d7-_0x47d637._0x2d6614,_0x4ad951-0x11a,_0x5a11fb,_0x5a11fb-0x32);}let _0x5cc5b9=_0x1c9354[_0x2279c6(0x464,0x5a6,_0x17e90b._0x453b49,_0x17e90b._0x1a048e)](_0x36ee10);function _0x2279c6(_0x3ba9bf,_0x1b7f44,_0x1e4e3f,_0x4cedcd){return _0x1e45aa(_0x3ba9bf-0x174,_0x1b7f44-_0x55faae._0x3688b6,_0x1b7f44- -0xf2,_0x1e4e3f);}const _0x42de39=binaryNameForPlatform(_0x4e07da);while(!![]){const _0x54d03b=_0x1c9354[_0x5e16ca(_0x17e90b._0x10e09b,0x50c,0x53b,0x48c)](_0x5cc5b9,_0x5e16ca(0x63c,0x507,0x496,_0x17e90b._0x4c34ff),_0x2279c6(_0x17e90b._0x4946e8,_0x17e90b._0x8ca77f,0x599,_0x17e90b._0x56f903),_0x42de39);if(await exists(_0x54d03b))return _0x54d03b;const _0x56bc4b=_0x1c9354[_0x5e16ca(0x3c8,_0x17e90b._0x8ed745,_0x17e90b._0x35f9c1,0x443)](_0x5cc5b9);if(_0x56bc4b===_0x5cc5b9)return void 0x0;_0x5cc5b9=_0x56bc4b;}}async function findPathBinary(_0x3992c6,_0x29d53b){const _0x378d8b={_0x36dba5:0x298,_0x153a30:0x3b8,_0x1d5167:0x4bc,_0x58e24a:0x465,_0x9c4dac:0x3ea,_0x5c58ca:0x5d6,_0x272a05:0x5ab,_0x3f3fa9:0x6c2,_0x31b7f8:0x6de,_0x5b3c42:0x3cc,_0x3f2cec:0x445},_0x3ecaa1={_0x1af1e0:0x1c8,_0x13ebd6:0xed},_0xdb780d={_0x2317d6:0x13f,_0x5c423d:0x17a};function _0x318371(_0x551c67,_0x6497d8,_0x172b5b,_0x57382b){return _0x1e45aa(_0x551c67-_0xdb780d._0x2317d6,_0x6497d8-_0xdb780d._0x5c423d,_0x551c67- -0x2b7,_0x57382b);}const _0x197d6a=getLspBinDir(_0x29d53b);function _0x44704f(_0x46f3f1,_0x1feb2a,_0x6bba50,_0x3efc18){return _0x55c88d(_0x46f3f1-_0x3ecaa1._0x1af1e0,_0x6bba50- -0x21,_0x3efc18,_0x3efc18-_0x3ecaa1._0x13ebd6);}const _0x39fed5=[_0x197d6a,process[_0x44704f(_0x378d8b._0x36dba5,0x34a,_0x378d8b._0x153a30,0x3bb)][_0x318371(_0x378d8b._0x1d5167,_0x378d8b._0x58e24a,_0x378d8b._0x9c4dac,_0x378d8b._0x5c58ca)]][_0x318371(_0x378d8b._0x272a05,_0x378d8b._0x3f3fa9,_0x378d8b._0x31b7f8,0x4f4)](Boolean)[_0x44704f(0x3fa,_0x378d8b._0x5b3c42,0x3d1,0x2b0)](_0x1c9354[_0x44704f(0x441,0x43b,_0x378d8b._0x3f2cec,0x32c)]);try{return await _0x4a1fd2(_0x3992c6,{'path':_0x39fed5});}catch{return void 0x0;}}async function resolvePackageBinary(_0x55c5de){const _0x13e7e7={_0x9f3e5c:0x409,_0x200fc5:0x2cd,_0x111287:0x679,_0x1ddb8c:0x443,_0x16e7ef:0x5cd,_0x9de5e8:0x3f5,_0x467192:0x2f2,_0x46c050:0x5e8,_0x2e6c55:0x45d,_0x2fcbbe:0x4e8,_0x238288:0x521,_0x4608fc:0x53f,_0x3c8e61:0x52d},_0x3580be={_0x1d4a0b:0x8a0,_0x3656b9:0x716,_0x39ac3b:0x664,_0x4b748e:0x74f},_0x4213ea={_0x375985:0x513,_0x576bdc:0x14d,_0x30bc18:0x1ea},_0x582d90={_0x4110f0:0x6b,_0x13c3ee:0x5a},_0x5c2856={_0xc3b421:0x46,_0x516cc5:0x2b,_0x57148f:0x13e};function _0x2a46db(_0x42b75b,_0x5294dc,_0x278343,_0x1ab884){return _0x55c88d(_0x42b75b-0x48,_0x42b75b- -0x2a1,_0x1ab884,_0x1ab884-0x18);}const _0x3ce94d=_0x55c5de['binaryName']??_0x55c5de[_0x2a46db(0x2c7,0x401,0x287,_0x13e7e7._0x9f3e5c)];function _0x27bac4(_0x37fef9,_0x54c2c3,_0x228169,_0x5ad4d0){return _0x1e45aa(_0x37fef9-_0x5c2856._0xc3b421,_0x54c2c3-_0x5c2856._0x516cc5,_0x228169- -_0x5c2856._0x57148f,_0x5ad4d0);}const _0xfc31e7=await findPackageBinary(_0x3ce94d,_0x55c5de[_0x2a46db(_0x13e7e7._0x200fc5,0x3da,0x24e,0x2d9)]);if(_0xfc31e7)return _0xfc31e7;const _0x45bf4e=await findPathBinary(_0x3ce94d,_0x55c5de['packageName']);if(_0x45bf4e)return _0x45bf4e;const _0x49a5cb=_0x55c5de[_0x27bac4(0x5fa,_0x13e7e7._0x111287,0x54c,0x666)]??process[_0x27bac4(_0x13e7e7._0x1ddb8c,_0x13e7e7._0x16e7ef,0x54c,0x429)];if(shouldDisableLspDownload(_0x49a5cb))return void 0x0;const _0x569b3a=getLspPackageDir(_0x55c5de[_0x2a46db(0x2c7,_0x13e7e7._0x9de5e8,0x182,_0x13e7e7._0x467192)]),_0x5114bb=_0x55c5de[_0x27bac4(0x5b1,0x7e8,0x6db,_0x13e7e7._0x46c050)]+':'+_0x3ce94d;let _0x564dc2=installPromises['get'](_0x5114bb);!_0x564dc2&&(_0x564dc2=((async()=>{await mkdir(_0x569b3a,{'recursive':!![]});const _0x74a6fd=await runNpmInstall(_0x569b3a,_0x55c5de[_0x4064d6(_0x3580be._0x1d4a0b,0x7da,0x793,0x65c)],_0x49a5cb);function _0x57fdf3(_0x2f3ed0,_0x5eb417,_0x373a79,_0x3bb67d){return _0x2a46db(_0x373a79-_0x582d90._0x4110f0,_0x5eb417-0x17,_0x373a79-_0x582d90._0x13c3ee,_0x2f3ed0);}if(!_0x74a6fd)return void 0x0;const _0x34052b=_0x1c9354[_0x4064d6(_0x3580be._0x3656b9,_0x3580be._0x39ac3b,0x78b,_0x3580be._0x4b748e)](getLspBinDir(_0x55c5de['packageName']),binaryNameForPlatform(_0x3ce94d));function _0x4064d6(_0xdc03cf,_0x1b430e,_0x1687b1,_0xc1f231){return _0x2a46db(_0x1b430e-_0x4213ea._0x375985,_0x1b430e-_0x4213ea._0x576bdc,_0x1687b1-_0x4213ea._0x30bc18,_0xc1f231);}return await exists(_0x34052b)?_0x34052b:void 0x0;})()),installPromises[_0x27bac4(_0x13e7e7._0x2e6c55,0x607,_0x13e7e7._0x2fcbbe,_0x13e7e7._0x238288)](_0x5114bb,_0x564dc2));try{return await _0x564dc2;}catch{return void 0x0;}finally{installPromises[_0x27bac4(_0x13e7e7._0x4608fc,_0x13e7e7._0x3c8e61,0x514,0x4a6)](_0x5114bb);}}var TYPESCRIPT_EXTENSIONS=[_0x1e45aa(0x6a6,0x891,0x76e,0x761),_0x1e45aa(0x5f2,0x6bd,0x5a5,0x6d0),_0x1e45aa(0x740,0x67c,0x600,0x672),'.jsx',_0x55c88d(0x334,0x2fd,0x251,0x3bb),_0x1e45aa(0x6d2,0x514,0x5b8,0x62a),_0x55c88d(0x3a8,0x4d4,0x5f5,0x4fa),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x1e45aa(0x5eb,0x80d,0x722,0x625)],TYPESCRIPT_ROOT_MARKERS=[_0x55c88d(0x239,0x2e5,0x187,0x255),_0x1e45aa(0x5e4,0x70c,0x5cb,0x658),_0x1e45aa(0x72f,0x85d,0x782,0x7f6),_0x1e45aa(0x519,0x63c,0x5a3,0x4d6),_0x1e45aa(0x884,0x7d4,0x7d5,0x6d8),_0x1e45aa(0x44a,0x693,0x578,0x6f5),'jsconfig.json',_0x55c88d(0x63e,0x53c,0x682,0x4a8)],BIOME_ROOT_MARKERS=[_0x55c88d(0x3fc,0x2e0,0x33c,0x16e),_0x1e45aa(0x6b8,0x580,0x6e6,0x85d),_0x1e45aa(0x6ea,0x5cb,0x596,0x47e),_0x1e45aa(0x5e5,0x51b,0x5cb,0x63d),_0x55c88d(0x4bc,0x4d1,0x53d,0x35d),_0x1e45aa(0x727,0x54f,0x5a3,0x497),'yarn.lock',_0x1e45aa(0x852,0x7d8,0x7ed,0x848)];async function exists2(_0x34980e){try{return await _0x5a46d6(_0x34980e),!![];}catch{return![];}}async function findUp(_0x92d2e5,_0x3d872e){const _0x55dd55={_0x5ae662:0x659,_0x21102a:0x55c,_0x4213f4:0x400},_0x307ebd={_0x258d13:0x19d},_0x37dbcc={_0x383692:0x168,_0x163bd6:0xf6};function _0x92fe26(_0x182963,_0x3f53cd,_0xfddfe7,_0x520456){return _0x1e45aa(_0x182963-_0x37dbcc._0x383692,_0x3f53cd-_0x37dbcc._0x163bd6,_0x182963- -0x46a,_0x3f53cd);}let _0x253b77=_0x18404d['resolve'](_0x92d2e5);const _0x35b9c1=_0x18404d[_0xc0f99b(0x5d2,0x629,0x4f7,_0x55dd55._0x5ae662)](_0x253b77);if(_0x35b9c1)_0x253b77=_0x18404d[_0xc0f99b(0x391,0x4ec,0x3a0,0x450)](_0x253b77);function _0xc0f99b(_0x9caa21,_0x165de7,_0x2aa323,_0x3e62a0){return _0x55c88d(_0x9caa21-_0x307ebd._0x258d13,_0x3e62a0-0xcb,_0x165de7,_0x3e62a0-0x158);}while(!![]){for(const _0xddd28d of _0x3d872e){if(await exists2(_0x18404d[_0xc0f99b(0x597,0x610,0x4fb,0x4bd)](_0x253b77,_0xddd28d)))return _0x253b77;}const _0x4aab77=_0x18404d[_0xc0f99b(_0x55dd55._0x21102a,0x525,_0x55dd55._0x4213f4,0x450)](_0x253b77);if(_0x4aab77===_0x253b77)return void 0x0;_0x253b77=_0x4aab77;}}async function hasDenoRoot(_0x5988d1){const _0x34abd0={_0x4e9c5a:0x1f5,_0x438c46:0x214,_0x25f95a:0xc4,_0x11cb9c:0xaa,_0x541b76:0x4fa,_0x4a48d8:0x51a,_0x211bb0:0x230},_0x548cd8={_0xd70e7:0x51},_0x3c6f7b={_0x1d2d95:0x148};function _0x14a7e8(_0x35d8ce,_0x170360,_0x3e498c,_0x38a3ea){return _0x55c88d(_0x35d8ce-_0x3c6f7b._0x1d2d95,_0x3e498c- -0x32e,_0x170360,_0x38a3ea-0x9c);}function _0x351746(_0x1102e3,_0x19911f,_0xc71a3c,_0x11c2d2){return _0x55c88d(_0x1102e3-_0x548cd8._0xd70e7,_0x1102e3- -0x4c,_0x19911f,_0x11c2d2-0x151);}return await exists2(_0x18404d[_0x14a7e8(_0x34abd0._0x4e9c5a,_0x34abd0._0x438c46,_0x34abd0._0x25f95a,-_0x34abd0._0x11cb9c)](_0x5988d1,_0x351746(_0x34abd0._0x541b76,_0x34abd0._0x4a48d8,0x5c7,0x617)))||await exists2(_0x18404d['join'](_0x5988d1,_0x14a7e8(0x1ec,0x220,_0x34abd0._0x211bb0,0x296)));}async function resolveTsserverPath(_0x4945f8){const _0x297beb={_0xd57036:0x269,_0x410148:0x281,_0x33f297:0x3d9,_0x5743ec:0x2fe,_0x2aad21:0x6b5,_0x3aa364:0x603,_0x28b19d:0x683,_0xdbd0fb:0x64d,_0x27f121:0x539,_0x54121d:0x538,_0x2eb61d:0x30b,_0x33e4e6:0x42c,_0x53adb6:0x3bd,_0xad28f0:0x310,_0x2dde18:0x3bc,_0x4eee84:0x3bd,_0x92a54:0x34a,_0x4e12bf:0x6ce},_0x5676f8={_0x2722b8:0x46},_0x2c2e86={_0x3d1719:0x14,_0x1e8eed:0x25};let _0x3f4404=_0x18404d[_0x1a10ba(0x3c2,0x2ac,_0x297beb._0xd57036,_0x297beb._0x410148)](_0x4945f8);while(!![]){const _0x2fa852=_0x18404d[_0x1a10ba(0x3cd,0x36a,0x53e,0x438)](_0x3f4404,_0x1a10ba(0x3c8,_0x297beb._0x33f297,0x29f,_0x297beb._0x5743ec),_0x5879b5(_0x297beb._0x2aad21,_0x297beb._0x3aa364,_0x297beb._0x28b19d,_0x297beb._0xdbd0fb),'lib','tsserver.js');if(await exists2(_0x2fa852))return _0x2fa852;const _0x2174fa=_0x18404d[_0x5879b5(_0x297beb._0x27f121,0x6cd,0x675,0x5f0)](_0x3f4404);if(_0x2174fa===_0x3f4404)break;_0x3f4404=_0x2174fa;}const _0x590bb6=getLspPackageDir(_0x1a10ba(0x3bd,_0x297beb._0x54121d,_0x297beb._0x2eb61d,_0x297beb._0x33e4e6)),_0x48ca76=await resolvePackageBinary({'packageName':_0x1a10ba(_0x297beb._0x53adb6,0x378,0x238,0x3e4),'binaryName':_0x1a10ba(_0x297beb._0xad28f0,0x193,_0x297beb._0x2dde18,0x1cd),'startDir':_0x4945f8});if(!_0x48ca76)return void 0x0;function _0x1a10ba(_0xc98551,_0x8d7f2b,_0x2155dc,_0x3267ec){return _0x55c88d(_0xc98551-_0x2c2e86._0x3d1719,_0xc98551- -_0x2c2e86._0x1e8eed,_0x8d7f2b,_0x3267ec-0x199);}const _0x29a867=_0x18404d['join'](_0x590bb6,_0x1a10ba(0x3c8,0x514,0x4fc,0x47d),_0x1a10ba(_0x297beb._0x4eee84,0x292,_0x297beb._0x92a54,0x257),'lib',_0x5879b5(0x491,0x59d,_0x297beb._0x4e12bf,0x5d0));function _0x5879b5(_0x377306,_0x580dc2,_0x486754,_0xf7a5f3){return _0x1e45aa(_0x377306-0x49,_0x580dc2-0x1f1,_0xf7a5f3- -_0x5676f8._0x2722b8,_0x486754);}return await exists2(_0x29a867)?_0x29a867:void 0x0;}var TypeScriptServer={'id':'typescript','name':_0x55c88d(0x63d,0x586,0x505,0x591),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x4e74ee){const _0x52cc62=await findUp(_0x4e74ee,TYPESCRIPT_ROOT_MARKERS);if(!_0x52cc62)return void 0x0;return await hasDenoRoot(_0x52cc62)?void 0x0:_0x52cc62;},async 'spawn'(_0x41ecc1){const _0xb35c47={_0x5073ba:0x349,_0x479a9d:0x292,_0x397fd:0x28f},_0x5a0721={_0x43709d:0x5b,_0x2f0fc5:0x1fd,_0x4bc99e:0x11},_0x1dab8e=await resolveTsserverPath(_0x41ecc1);function _0x534967(_0x50f8df,_0x252734,_0x9a2e99,_0x3c57fb){return _0x55c88d(_0x50f8df-_0x5a0721._0x43709d,_0x9a2e99- -_0x5a0721._0x2f0fc5,_0x3c57fb,_0x3c57fb-_0x5a0721._0x4bc99e);}if(!_0x1dab8e)return void 0x0;function _0x21abd6(_0x5c8fa4,_0x32b3e6,_0x294dc8,_0x918f6a){return _0x1e45aa(_0x5c8fa4-0x4b,_0x32b3e6-0x1a0,_0x32b3e6- -0x5d1,_0x5c8fa4);}const _0x33477b=await resolvePackageBinary({'packageName':_0x534967(0x2f7,_0xb35c47._0x5073ba,0x354,0x3cb),'binaryName':'typescript-language-server','startDir':_0x41ecc1});if(!_0x33477b)return void 0x0;return{'process':_0x33fb2(_0x33477b,['--stdio'],{'cwd':_0x41ecc1,'stdio':_0x21abd6(0x315,_0xb35c47._0x479a9d,_0xb35c47._0x397fd,0x370)}),'initialization':{'tsserver':{'path':_0x1dab8e}}};}},BiomeServer={'id':_0x1e45aa(0x6fd,0x5cc,0x6fa,0x714),'name':_0x55c88d(0x40c,0x523,0x43a,0x463),'extensions':BIOME_EXTENSIONS,async 'root'(_0x35fcbe){return findUp(_0x35fcbe,BIOME_ROOT_MARKERS);},async 'spawn'(_0x59cb9a){const _0x2b2940={_0x348b6:0x26f,_0x5e7daa:0x256,_0x36878f:0x406,_0x21af40:0x357,_0x226b23:0x227,_0x249807:0x736,_0xf086f2:0x7df},_0x30adb7={_0x4d6666:0x1d3,_0x3324ad:0x1f},_0x183e5c={_0x3fc278:0x22d,_0x4278c1:0x1c1};function _0x4b8680(_0x363d5e,_0x145aeb,_0x1ad41e,_0x5f921f){return _0x55c88d(_0x363d5e-0x123,_0x5f921f-_0x183e5c._0x3fc278,_0x363d5e,_0x5f921f-_0x183e5c._0x4278c1);}const _0x1fb2cd=await findPackageBinary(_0x16ba06(0xe4,0x1b3,_0x2b2940._0x348b6,_0x2b2940._0x5e7daa),_0x59cb9a)??await resolvePackageBinary({'packageName':_0x16ba06(0x4c3,_0x2b2940._0x36878f,0x31b,_0x2b2940._0x21af40),'binaryName':'biome','startDir':_0x59cb9a});if(!_0x1fb2cd)return void 0x0;function _0x16ba06(_0x1ab4c8,_0x233438,_0xeda916,_0x6825cd){return _0x1e45aa(_0x1ab4c8-_0x30adb7._0x4d6666,_0x233438-_0x30adb7._0x3324ad,_0x6825cd- -0x4a4,_0x1ab4c8);}return{'process':_0x33fb2(_0x1fb2cd,['lsp-proxy',_0x16ba06(0x239,0x36c,_0x2b2940._0x226b23,0x341)],{'cwd':_0x59cb9a,'stdio':_0x4b8680(_0x2b2940._0x249807,0x92c,0x7fc,_0x2b2940._0xf086f2)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x40f540){const _0x2caaff={_0x326b1d:0x6f,_0x443eca:0x12f},_0x26b9fc=_0x18404d['extname'](_0x40f540)['toLowerCase']();function _0x5d7bcb(_0x28695f,_0x3271b8,_0x3c6faf,_0x2919cf){return _0x55c88d(_0x28695f-0x1a8,_0x3271b8- -_0x2caaff._0x326b1d,_0x3c6faf,_0x2919cf-_0x2caaff._0x443eca);}return BUILTIN_LSP_SERVERS['filter'](_0x2d78f0=>_0x2d78f0[_0x5d7bcb(0x442,0x485,0x3db,0x3ad)]['includes'](_0x26b9fc));}function stateKey(_0x475a26,_0x20f4db){return _0x20f4db+':'+_0x475a26['id'];}function diagnosticsKeyToPath(_0x453859){const _0x53ff30={_0x25ea98:0x214,_0x282359:0x2b9,_0x4a6ec5:0xf6},_0x2ed700={_0x50993d:0xf4,_0x100970:0x3f2};function _0x3cbec6(_0x4fc69a,_0x45ca69,_0xa7b348,_0x5ed5fb){return _0x1e45aa(_0x4fc69a-_0x2ed700._0x50993d,_0x45ca69-0x16,_0x4fc69a- -_0x2ed700._0x100970,_0xa7b348);}if(!_0x453859[_0x3cbec6(0x181,_0x53ff30._0x25ea98,_0x53ff30._0x282359,_0x53ff30._0x4a6ec5)]('file://'))return _0x453859;return fileURLToPath(_0x453859);}function nextFileVersion(_0x585bb9,_0x1872ba){const _0xc9aa00={_0x3e842b:0x835,_0x153bc6:0x6bb,_0x4b2eb0:0x5bb,_0x3fb44f:0x5fa,_0x399555:0x760,_0x552055:0x70c,_0x29b2a7:0x597},_0x55ac35={_0x5a3e3a:0x27,_0x28b377:0xf0},_0x26dbdd={_0x1c139f:0x117,_0x4dcec7:0x189},_0x5d4955=(_0x585bb9['fileVersions'][_0x2aa737(_0xc9aa00._0x3e842b,_0xc9aa00._0x153bc6,_0xc9aa00._0x4b2eb0,_0xc9aa00._0x3fb44f)](_0x1872ba)??0x1)+0x1;_0x585bb9[_0x2aa737(_0xc9aa00._0x399555,0x623,_0xc9aa00._0x552055,_0xc9aa00._0x29b2a7)]['set'](_0x1872ba,_0x5d4955);function _0x2aa737(_0x42f2b9,_0x403a6c,_0x47c1b4,_0x45c3bc){return _0x55c88d(_0x42f2b9-_0x26dbdd._0x1c139f,_0x403a6c-_0x26dbdd._0x4dcec7,_0x47c1b4,_0x45c3bc-0x166);}function _0x42f5ac(_0x3b15d8,_0x77bc7d,_0x21cf3d,_0x345c8c){return _0x55c88d(_0x3b15d8-0xca,_0x3b15d8- -_0x55ac35._0x5a3e3a,_0x345c8c,_0x345c8c-_0x55ac35._0x28b377);}return _0x5d4955;}async function collectClientResults(_0x3025ae){const _0x2e7c59={_0x2b2112:0x6af,_0x4a982f:0x545,_0x47df73:0xe0,_0x499b52:0x5c};function _0x55ea1b(_0x1b36a0,_0x49dd33,_0x753c1b,_0x24c8df){return _0x55c88d(_0x1b36a0-0x1ca,_0x753c1b- -0x3a5,_0x49dd33,_0x24c8df-0x58);}function _0x5f160a(_0x2b4129,_0x21e7c5,_0xb4d4c8,_0x163920){return _0x55c88d(_0x2b4129-0x1ae,_0x21e7c5-0x16d,_0xb4d4c8,_0x163920-0x136);}const _0x4450a9=await Promise[_0x5f160a(_0x2e7c59._0x2b2112,_0x2e7c59._0x4a982f,0x5db,0x4d5)](_0x3025ae);return _0x4450a9[_0x55ea1b(-_0x2e7c59._0x47df73,0x118,-_0x2e7c59._0x499b52,-0x173)](_0x3c31f8=>_0x3c31f8[_0x5f160a(0x86b,0x71a,0x687,0x850)]==='fulfilled'?_0x3c31f8[_0x5f160a(0x640,0x693,0x786,0x59f)]:[]);}function createLspService(_0x2b5ed3={}){const _0x534f25={_0x5d7182:0x104,_0x33e7fc:0x32,_0x3e4440:0x48},_0x6980a6={_0x417fc6:0x4ea,_0x25f0f2:0x395,_0x48f453:0x565,_0x291f66:0x579,_0x5ec7c9:0x682,_0x4430f2:0x5bc,_0x5b31f8:0x421,_0x41a95c:0x31f,_0x375bb3:0x885,_0x1c704a:0x7e8,_0x1962f1:0x654,_0x53de29:0x6fa,_0x1e9b4f:0x790,_0x27a4dc:0x58b,_0x4eaec9:0x69f,_0x5c00a3:0x5e7,_0x2ceb99:0x6c1,_0x1a380e:0x579,_0x307c29:0x65f,_0x58cbb2:0x72d,_0x266977:0x662,_0x12be63:0x64d,_0x1f900a:0x6c9,_0x4ce7be:0x726},_0x4d74d7={_0x25babd:0x3a7},_0x5ec229={_0xb08559:0x2e,_0x499354:0x9c},_0x276268={_0x4fb4c9:0x3ca},_0x591fa2={_0xac0820:0x402,_0x1a057b:0x38b,_0x157bc6:0x307},_0x5945f9={_0x1bb477:0x99},_0x2af717={_0x736f3:0x18e,_0x194a03:0x132,_0x1bdfb4:0x3f,_0x121a59:0x1ac},_0x23471={_0x16f58c:0x540,_0x36be9a:0x545},_0x455f43={_0x308f8b:0x24a,_0x2a98b8:0x196,_0x2d9457:0x17c,_0x1fbb56:0x1f8,_0x3d5f4c:0x169},_0x30f83d={_0x4096f8:0x224},_0x1cd7ef={_0x2f9de3:0x4ec,_0x2c2035:0x4c7,_0x291a7f:0x5a5},_0x1899f6={_0x6fabb2:0x14},_0x4e056e={_0x370883:0x2db},_0x17c414={_0x518ee2:0x3b4,_0x1cb05c:0x296,_0x544ddf:0x26b},_0x145b33={_0xc1d9fd:0x6b},_0x18aee7={_0x25732d:0x48a,_0x4e4b65:0x43c},_0x409a3c={_0x3e1fc9:0x82a},_0x36dede={_0x3e58b1:0x87},_0x271136={_0x492e86:0x19b},_0x1d8770={_0x561a2d:0xa6,_0x5b08ff:0x14d},_0x27fff3={_0x1fef09:0x7a},_0x177abf={_0x272ecb:0x75},_0x36ca5d={_0x3396b9:0x2d7},_0x434287={_0x841637:0x822,_0x2385e2:0x702,_0x7fbdaa:0x703,_0x44241e:0x61a,_0x28e81d:0x748,_0x2eaebc:0x6b7,_0x4f8e1e:0x67f,_0x561ce1:0xf,_0xdd2e58:0xd1},_0x6ad9a3={_0x5d488b:0x3e2,_0x5b2ce5:0x36b,_0x4514e7:0x448,_0x1550e0:0x444,_0x2f58e1:0x4ca,_0xb77ece:0x489,_0x947060:0x491,_0x4ee448:0x3b0,_0x1ebb1c:0x4ab,_0x4acf68:0xee,_0x290ca6:0xf2,_0xd321df:0x14,_0x2bac89:0x17e,_0x2521bb:0xde,_0x3d9f38:0x3a8,_0xc9c806:0x416,_0x20f9b8:0x2e7,_0xa676b5:0x31a},_0xed5f8a={_0x12eae7:0x4f7,_0x58e65d:0x405,_0x319a49:0x48b,_0x19be94:0x39,_0x28211b:0x33d,_0x48562d:0x467,_0x58253c:0x5,_0x207a29:0xed,_0x4f73b7:0x1ee,_0x276a82:0xe2,_0x213d80:0x1b,_0x36cef0:0x110,_0x3b048d:0x2a,_0x472eb0:0x45,_0x25135f:0xd8,_0x4e1c6b:0x186,_0x436a38:0x16a,_0x572b36:0x142,_0x229279:0xf8,_0x4d683c:0xe4,_0x3ac236:0x13f,_0x4b2ad5:0x8a},_0x2955be={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x22895b=()=>_0x2b5ed3['enabled']!==![];async function _0x2a786a(_0x8b4a63,_0x4284b2){const _0x65bf82={_0x11ccf2:0xbe,_0x8fd1d5:0x386},_0x319e2c={_0x622908:0xc1},_0x205b6f={_0x37b9e3:0x234},_0x226f01=stateKey(_0x8b4a63,_0x4284b2),_0x4f66c7=_0x2955be[_0xb8af48(0x405,_0x6ad9a3._0x5d488b,_0x6ad9a3._0x5b2ce5,0x4cf)][_0xb8af48(_0x6ad9a3._0x4514e7,0x395,_0x6ad9a3._0x1550e0,_0x6ad9a3._0x2f58e1)](_0x223531=>_0x223531['serverId']===_0x8b4a63['id']&&_0x223531['root']===_0x4284b2);if(_0x4f66c7)return _0x4f66c7;if(_0x2955be[_0xb8af48(_0x6ad9a3._0xb77ece,_0x6ad9a3._0x947060,_0x6ad9a3._0x4ee448,_0x6ad9a3._0x1ebb1c)][_0x15bfdd(0x18b,_0x6ad9a3._0x4acf68,0x255,_0x6ad9a3._0x290ca6)](_0x226f01))return void 0x0;function _0x15bfdd(_0x3923fb,_0x5c8484,_0x895736,_0x15cd99){return _0x3bdd(_0x3923fb- -_0x205b6f._0x37b9e3,_0x5c8484);}const _0x489de7=_0x2955be[_0x15bfdd(_0x6ad9a3._0xd321df,_0x6ad9a3._0x2bac89,_0x6ad9a3._0x2521bb,0x122)][_0xb8af48(0x3c1,_0x6ad9a3._0x3d9f38,0x4a4,0x324)](_0x226f01);if(_0x489de7)return _0x489de7;const _0x50f37f=((async()=>{function _0x336136(_0x5e8629,_0x175d38,_0x35226a,_0x29f2de){return _0x15bfdd(_0x175d38-0x1e9,_0x35226a,_0x35226a-0x1a1,_0x29f2de-_0x319e2c._0x622908);}function _0x223ba3(_0x215864,_0x4a8bee,_0x2cc78b,_0x1c733c){return _0xb8af48(_0x215864-_0x65bf82._0x11ccf2,_0x4a8bee-0x15a,_0x4a8bee- -_0x65bf82._0x8fd1d5,_0x1c733c);}try{const _0x3cb3ff=await _0x8b4a63[_0x336136(_0xed5f8a._0x12eae7,0x3a3,_0xed5f8a._0x58e65d,_0xed5f8a._0x319a49)](_0x4284b2);if(!_0x3cb3ff)return _0x2955be[_0x223ba3(0x15f,0x2a,-_0xed5f8a._0x19be94,-0x17)][_0x336136(_0xed5f8a._0x28211b,_0xed5f8a._0x48562d,0x522,0x304)](_0x226f01),void 0x0;const _0x435447=await createLspClient({'server':_0x8b4a63,'root':_0x4284b2,'handle':_0x3cb3ff}),_0x49b521=_0x2955be['clients'][_0x223ba3(0x99,0xbe,0x1df,_0xed5f8a._0x58253c)](_0x32862a=>_0x32862a['serverId']===_0x8b4a63['id']&&_0x32862a[_0x336136(0x2e2,0x439,0x492,0x3e6)]===_0x4284b2);if(_0x49b521)return await _0x435447[_0x223ba3(-0x14,0x12d,_0xed5f8a._0x207a29,_0xed5f8a._0x4f73b7)](),_0x49b521;return _0x2955be[_0x223ba3(_0xed5f8a._0x276a82,-_0xed5f8a._0x213d80,-0x180,-_0xed5f8a._0x36cef0)]['push'](_0x435447),_0x435447;}catch{return _0x2955be[_0x223ba3(0x20,_0xed5f8a._0x3b048d,_0xed5f8a._0x472eb0,0xe1)][_0x223ba3(_0xed5f8a._0x25135f,_0xed5f8a._0x4e1c6b,_0xed5f8a._0x436a38,_0xed5f8a._0x572b36)](_0x226f01),void 0x0;}finally{_0x2955be[_0x223ba3(-_0xed5f8a._0x229279,-_0xed5f8a._0x4d683c,-_0xed5f8a._0x3ac236,_0xed5f8a._0x4b2ad5)]['delete'](_0x226f01);}})());_0x2955be[_0x15bfdd(0x14,-0x11,0x1a,-0x36)][_0xb8af48(_0x6ad9a3._0xc9c806,0x332,_0x6ad9a3._0x20f9b8,_0x6ad9a3._0xa676b5)](_0x226f01,_0x50f37f);function _0xb8af48(_0x28cac7,_0x55006d,_0xc8ed05,_0x1e2dd5){return _0x3bdd(_0xc8ed05-0x5a,_0x1e2dd5);}return _0x50f37f;}async function _0x2c34b2(_0x482800,_0xfd7ae3){const _0xa26d4f={_0x479d61:0x3a6};function _0x9aab34(_0x444be3,_0x5c137a,_0x516cf1,_0x129292){return _0x3bdd(_0x516cf1- -0x319,_0x444be3);}if(!_0x22895b())return[];const _0x1e8fdf=[];function _0x2510ef(_0x58911,_0x5ce7cc,_0x420d43,_0x41d6b4){return _0x3bdd(_0x58911-_0xa26d4f._0x479d61,_0x420d43);}for(const _0x3dd7f6 of getServersForFile(_0x482800)){const _0x3ed72d=await _0x3dd7f6[_0x2510ef(0x82a,_0x434287._0x841637,0x99f,_0x434287._0x2385e2)](_0x482800);if(!_0x3ed72d)continue;const _0x4058fd=stateKey(_0x3dd7f6,_0x3ed72d);if(_0x2955be['broken'][_0x2510ef(0x765,_0x434287._0x7fbdaa,_0x434287._0x44241e,_0x434287._0x28e81d)](_0x4058fd))continue;const _0x20fcac=_0x2955be[_0x2510ef(_0x434287._0x2eaebc,0x6a0,_0x434287._0x4f8e1e,0x7a0)][_0x9aab34(-_0x434287._0x561ce1,0xc3,_0x434287._0xdd2e58,0x7)](_0xcd24ca=>_0xcd24ca['serverId']===_0x3dd7f6['id']&&_0xcd24ca[_0x2510ef(0x82a,0x944,0x864,0x7c7)]===_0x3ed72d);if(_0x20fcac){_0x1e8fdf['push'](_0x20fcac);continue;}if(!_0xfd7ae3)continue;const _0x18fa17=await _0x2a786a(_0x3dd7f6,_0x3ed72d);if(_0x18fa17)_0x1e8fdf['push'](_0x18fa17);}return _0x1e8fdf;}async function _0x3141bd(_0x425a62,_0x20b6b0=![]){const _0x5e8be8={_0x3303b9:0x82,_0x736272:0x117,_0x21af9f:0x1ad,_0xd82ad3:0x86,_0x2434c6:0x5c6,_0x474786:0x4fc,_0x3fe601:0x753,_0x401541:0x5f8,_0x21a682:0x37c,_0x12b8d4:0x2cb,_0x251b80:0x7da,_0x45d6fb:0x7f5,_0x1d9db7:0x957,_0xfbbe23:0x6d5},_0x37951b={_0x36b23b:0x108},_0x5ba9be=await _0x2c34b2(_0x425a62,!![]);function _0x407681(_0x32eb4a,_0x308845,_0x229a8a,_0x13c453){return _0x3bdd(_0x13c453- -_0x36ca5d._0x3396b9,_0x229a8a);}await Promise[_0x407681(0x118,0x208,_0x177abf._0x272ecb,0xa0)](_0x5ba9be['map'](async _0x337957=>{const _0x3cc769={_0x35d021:0x19f,_0x54455a:0x184,_0x265db3:0x6f};!_0x2955be['openFiles'][_0x1c50bb(0x157,0x12d,_0x5e8be8._0x3303b9,0x118)](_0x337957['serverId']+':'+_0x337957['root']+':'+_0x425a62)&&(await _0x337957[_0x1c50bb(_0x5e8be8._0x736272,_0x5e8be8._0x21af9f,_0x5e8be8._0xd82ad3,0xea)][_0x388f45(0x653,_0x5e8be8._0x2434c6,0x5fd,_0x5e8be8._0x474786)]({'path':_0x425a62}),_0x2955be[_0x388f45(_0x5e8be8._0x3fe601,0x69c,0x517,_0x5e8be8._0x401541)][_0x1c50bb(0x24a,_0x5e8be8._0x21a682,_0x5e8be8._0x12b8d4,0x1b4)](_0x337957['serverId']+':'+_0x337957[_0x388f45(0x874,_0x5e8be8._0x251b80,_0x5e8be8._0x45d6fb,_0x5e8be8._0x1d9db7)]+':'+_0x425a62));function _0x1c50bb(_0x35c333,_0x12f605,_0x47bd3c,_0x114040){return _0x407681(_0x35c333-_0x3cc769._0x35d021,_0x12f605-_0x3cc769._0x54455a,_0x47bd3c,_0x35c333-_0x3cc769._0x265db3);}function _0x388f45(_0x15ee56,_0x2bd4ee,_0x4e4c77,_0xfd7662){return _0x407681(_0x15ee56-0x1aa,_0x2bd4ee-_0x37951b._0x36b23b,_0xfd7662,_0x2bd4ee-0x62d);}await _0x337957[_0x388f45(0x799,_0x5e8be8._0xfbbe23,0x71c,0x858)][_0x388f45(0x6ec,0x6e8,0x7a8,0x810)]({'path':_0x425a62,'version':nextFileVersion(_0x2955be,_0x425a62)});if(_0x20b6b0)await _0x337957['waitForDiagnostics']({'path':_0x425a62});}));}async function _0x21987d(_0x43cd2a){function _0x55dfb1(_0x10b263,_0x3c5c15,_0x1bce74,_0x5011ed){return _0x3bdd(_0x10b263-0x2e2,_0x1bce74);}await _0x3141bd(_0x43cd2a[_0x1906ac(_0x1d8770._0x561a2d,0x209,0x351,_0x1d8770._0x5b08ff)],![]);function _0x1906ac(_0x23c469,_0x87ba8,_0x4212b1,_0x2a3d56){return _0x3bdd(_0x87ba8- -_0x27fff3._0x1fef09,_0x2a3d56);}return _0x2c34b2(_0x43cd2a[_0x55dfb1(0x565,0x60d,0x664,0x67a)],![]);}async function _0x5dd861(_0x5e17b3){const _0x246b9f=await _0x21987d(_0x5e17b3);function _0xd62586(_0x18e8e0,_0x4b5eff,_0x332caf,_0x58138d){return _0x3bdd(_0x332caf-_0x271136._0x492e86,_0x18e8e0);}function _0x2e6b18(_0x29533d,_0x414fb9,_0x43aed,_0x2f25fe){return _0x3bdd(_0x2f25fe-_0x36dede._0x3e58b1,_0x414fb9);}return collectClientResults(_0x246b9f['map'](_0x327b6b=>_0x327b6b[_0x2e6b18(0x279,0xf9,0x27f,0x253)][_0xd62586(0x552,0x445,0x4cc,0x507)](_0x5e17b3)));}return{'isEnabled':_0x22895b,async 'hasClients'(_0x446e09){function _0x36bdd(_0x1833aa,_0x1f94d0,_0x5ca760,_0x3e6a55){return _0x3bdd(_0x5ca760-0x273,_0x1833aa);}return(await _0x2c34b2(_0x446e09,![]))[_0x36bdd(0x626,0x572,0x6bc,_0x409a3c._0x3e1fc9)]>0x0||getServersForFile(_0x446e09)['length']>0x0;},'touchFile':_0x3141bd,async 'diagnostics'(){function _0x162dfb(_0xb7969,_0x4b1be6,_0xbac0a8,_0x5b315a){return _0x3bdd(_0xbac0a8-0x235,_0xb7969);}const _0x2830bd={};for(const _0xcddfa9 of _0x2955be['clients']){for(const [_0x1120a5,_0x5b8fd0]of _0xcddfa9[_0x162dfb(0x357,0x3cd,_0x18aee7._0x25732d,_0x18aee7._0x4e4b65)]){_0x2830bd[diagnosticsKeyToPath(_0x1120a5)]=_0x5b8fd0;}}return _0x2830bd;},async 'diagnosticsForFile'(_0x425472){await _0x3141bd(_0x425472,!![]);const _0x597b27=[];for(const _0x3b95ec of await _0x2c34b2(_0x425472,![])){for(const [_0x143299,_0x3c7926]of _0x3b95ec['diagnostics']){if(diagnosticsKeyToPath(_0x143299)===_0x425472)_0x597b27[_0x2ea5f2(0x374,_0x17c414._0x518ee2,_0x17c414._0x1cb05c,_0x17c414._0x544ddf)](..._0x3c7926);}}function _0x2ea5f2(_0x39c7c5,_0x5d65bc,_0x47e53a,_0x550d15){return _0x3bdd(_0x39c7c5-_0x145b33._0xc1d9fd,_0x5d65bc);}return _0x597b27;},async 'definition'(_0x27ecd3){function _0x3bf65a(_0x2a0f2d,_0x4166e7,_0x2bfc29,_0x5d2df2){return _0x3bdd(_0x2a0f2d- -0x63,_0x2bfc29);}function _0x669073(_0x5d9266,_0x19620e,_0x43aa1c,_0x61f84b){return _0x3bdd(_0x5d9266- -_0x4e056e._0x370883,_0x19620e);}return collectClientResults((await _0x21987d(_0x27ecd3))['map'](_0x54aa75=>_0x54aa75[_0x669073(-0x10f,-0x235,-0x18d,-0x15f)][_0x669073(0x1d4,0x217,0x24e,0x33f)](_0x27ecd3)));},async 'references'(_0xec15da){function _0x28071e(_0x29141b,_0x153cfd,_0x37548c,_0x540342){return _0x3bdd(_0x153cfd-0x14c,_0x29141b);}function _0x57d7b1(_0x1b2598,_0x428fc9,_0x51456f,_0x53dd63){return _0x3bdd(_0x53dd63-_0x1899f6._0x6fabb2,_0x1b2598);}return collectClientResults((await _0x21987d(_0xec15da))[_0x28071e(0x669,_0x1cd7ef._0x2f9de3,_0x1cd7ef._0x2c2035,_0x1cd7ef._0x291a7f)](_0x3e7eec=>_0x3e7eec['request'][_0x57d7b1(0x439,0x31f,0x35d,0x475)](_0xec15da)));},async 'hover'(_0x32f130){const _0x28453b=await Promise[_0x2ded85(0x1fb,_0x455f43._0x308f8b,0x287,0x33e)]((await _0x21987d(_0x32f130))[_0x1b6c55(0x185,0x22e,_0x455f43._0x2a98b8,_0x455f43._0x2d9457)](_0x5f3bfc=>_0x5f3bfc[_0x2ded85(0xd3,0x174,0x163,0xe0)][_0x2ded85(0x1b2,0x379,0x25f,0x1b9)](_0x32f130)));function _0x2ded85(_0x458192,_0x297092,_0x184268,_0x5dde84){return _0x3bdd(_0x184268- -0x69,_0x5dde84);}function _0x1b6c55(_0x5eebd5,_0x4aaec0,_0x20f540,_0x4915e1){return _0x3bdd(_0x4915e1- -_0x30f83d._0x4096f8,_0x4aaec0);}return _0x28453b[_0x2ded85(0x7c,0x37a,_0x455f43._0x1fbb56,_0x455f43._0x3d5f4c)](_0x7ce42e=>_0x7ce42e['status']===_0x1b6c55(-0xad,-0x17,0x14a,0x61)&&_0x7ce42e[_0x1b6c55(0x21b,0x243,0x211,0x21a)]?[_0x7ce42e[_0x2ded85(0x2fa,0x338,0x3d5,0x521)]]:[]);},async 'documentSymbol'(_0x2ac12d){function _0x36ee32(_0x489ce9,_0x340a5d,_0x1ae76f,_0x3c5e54){return _0x3bdd(_0x489ce9-0x1a0,_0x3c5e54);}function _0x30b80f(_0x183c5f,_0x219b9a,_0x5197f1,_0x242857){return _0x3bdd(_0x183c5f-0x383,_0x5197f1);}return await _0x3141bd(_0x2ac12d,![]),collectClientResults((await _0x2c34b2(_0x2ac12d,![]))[_0x36ee32(_0x23471._0x16f58c,0x589,0x64a,_0x23471._0x36be9a)](_0x3f9a3a=>_0x3f9a3a[_0x30b80f(0x54f,0x4f1,0x5c6,0x46f)][_0x30b80f(0x5b2,0x58c,0x572,0x559)](_0x2ac12d)));},async 'workspaceSymbol'(_0x42324f){function _0x29edd3(_0x3ed29e,_0x390ad6,_0x306000,_0x263718){return _0x3bdd(_0x263718- -0x342,_0x3ed29e);}function _0x266636(_0xa5f3e0,_0x59c38b,_0x52c493,_0x280fd7){return _0x3bdd(_0x52c493- -0x361,_0xa5f3e0);}return collectClientResults(_0x2955be[_0x266636(-_0x2af717._0x736f3,-0x162,-0x50,-0x167)][_0x266636(-0x144,-_0x2af717._0x194a03,_0x2af717._0x1bdfb4,_0x2af717._0x121a59)](_0x182407=>_0x182407[_0x266636(-0x23c,-0xb3,-0x195,-0x209)][_0x29edd3(0x61,-0x58,0x15e,-0x18)](_0x42324f)));},async 'implementation'(_0xa22166){function _0x1bb16e(_0x2766ac,_0x4ffe83,_0x549172,_0x25bba1){return _0x3bdd(_0x549172- -_0x5945f9._0x1bb477,_0x4ffe83);}function _0x53ef1e(_0x497d37,_0xe49202,_0x13896b,_0x433784){return _0x3bdd(_0x13896b- -0x190,_0x497d37);}return collectClientResults((await _0x21987d(_0xa22166))[_0x1bb16e(_0x591fa2._0xac0820,_0x591fa2._0x1a057b,_0x591fa2._0x157bc6,0x1ee)](_0x321e7e=>_0x321e7e[_0x53ef1e(0xa4,0x124,0x3c,0x11a)][_0x53ef1e(0x3c4,0x3b4,0x30b,0x350)](_0xa22166)));},async 'prepareCallHierarchy'(_0x50d4a8){return _0x5dd861(_0x50d4a8);},async 'incomingCalls'(_0x133c66){function _0x2cc9db(_0x4539e2,_0x29772b,_0xf78892,_0xbc0474){return _0x3bdd(_0xbc0474- -0x309,_0xf78892);}function _0x4f9963(_0x1eee1c,_0x405c95,_0x11834e,_0x164992){return _0x3bdd(_0x164992-_0x276268._0x4fb4c9,_0x11834e);}const _0x460b46=await _0x5dd861(_0x133c66),_0x112cbe=await _0x21987d(_0x133c66);return collectClientResults(_0x112cbe[_0x2cc9db(-_0x5ec229._0xb08559,-0x1ab,-_0x5ec229._0x499354,-0xa8)](_0x43b146=>_0x460b46[_0x2cc9db(0x190,0x163,-0x77,0x97)](_0x141e26=>_0x43b146[_0x4f9963(0x51d,0x5e9,0x713,0x596)][_0x2cc9db(-0xb4,-0x248,-0x233,-0x13f)](_0x141e26))));},async 'outgoingCalls'(_0x25f24f){function _0x31d8e8(_0x3a0575,_0x1174dc,_0x3bdaf6,_0x2eb05a){return _0x3bdd(_0x3a0575-0x242,_0x1174dc);}function _0x2efaef(_0x3bf9fc,_0x281ead,_0x331348,_0x226682){return _0x3bdd(_0x226682-0x146,_0x281ead);}const _0x35dd39=await _0x5dd861(_0x25f24f),_0xbd153f=await _0x21987d(_0x25f24f);return collectClientResults(_0xbd153f[_0x2efaef(0x4a6,0x43a,0x432,_0x4d74d7._0x25babd)](_0x56783c=>_0x35dd39[_0x2efaef(0x4e1,0x60b,0x65b,0x4e6)](_0x82fee7=>_0x56783c[_0x31d8e8(0x40e,0x2d1,0x4c7,0x32e)][_0x31d8e8(0x441,0x470,0x44a,0x2e2)](_0x82fee7))));},async 'shutdown'(){const _0x22b304={_0x12eb41:0x1d9};if(_0x2955be['shutdownStarted'])return;_0x2955be['shutdownStarted']=!![],await Promise['allSettled'](_0x2955be[_0x110581(_0x6980a6._0x417fc6,_0x6980a6._0x25f0f2,_0x6980a6._0x48f453,0x408)][_0x110581(_0x6980a6._0x291f66,0x5a9,0x690,_0x6980a6._0x5ec7c9)](_0x41eef8=>_0x41eef8[_0x37a7ff(0x653,0x706,0x69d,0x775)]()));function _0x110581(_0x38850e,_0x54ed2a,_0x165ff3,_0x268932){return _0x3bdd(_0x38850e-_0x22b304._0x12eb41,_0x268932);}function _0x37a7ff(_0x253d30,_0x45dda6,_0x3e64a4,_0x28dd83){return _0x3bdd(_0x28dd83-0x31c,_0x253d30);}_0x2955be[_0x37a7ff(_0x6980a6._0x4430f2,0x606,0x77a,0x62d)]=[],_0x2955be[_0x110581(_0x6980a6._0x5b31f8,0x49f,_0x6980a6._0x41a95c,0x3eb)][_0x37a7ff(_0x6980a6._0x375bb3,_0x6980a6._0x1c704a,0x7b0,0x790)](),_0x2955be['broken'][_0x37a7ff(_0x6980a6._0x1962f1,_0x6980a6._0x53de29,0x8e0,_0x6980a6._0x1e9b4f)](),_0x2955be[_0x110581(_0x6980a6._0x27a4dc,_0x6980a6._0x4eaec9,0x50b,0x541)][_0x110581(0x64d,0x7a2,_0x6980a6._0x5c00a3,_0x6980a6._0x2ceb99)](),_0x2955be[_0x37a7ff(_0x6980a6._0x1a380e,_0x6980a6._0x307c29,_0x6980a6._0x58cbb2,_0x6980a6._0x266977)][_0x110581(_0x6980a6._0x12be63,_0x6980a6._0x1f900a,_0x6980a6._0x4ce7be,0x5f1)]();},'status'(){function _0x1c1287(_0x53e082,_0x1b9111,_0x34b2f1,_0x13be12){return _0x3bdd(_0x34b2f1- -0x343,_0x53e082);}function _0x5ce568(_0x295a16,_0x1259b7,_0x1a661d,_0x1457cb){return _0x3bdd(_0x1457cb- -0x305,_0x1259b7);}return{'connectedClients':_0x2955be[_0x1c1287(_0x534f25._0x5d7182,-0x43,-_0x534f25._0x33e7fc,0x4b)][_0x1c1287(0x10,-_0x534f25._0x3e4440,0x106,0x205)]};}};}function createQuestionId(){const _0x1c3133={_0x5144f7:0x74,_0x4d6f53:0x266,_0x436d37:0x3c9,_0x28b464:0xb4,_0x564d54:0x51,_0x3999ca:0x194,_0x5e5f30:0xc3},_0x435652={_0x428f2c:0x51};function _0x33922b(_0x506e4b,_0x3316d4,_0x46ad9c,_0x4599bd){return _0x1e45aa(_0x506e4b-0x10d,_0x3316d4-_0x435652._0x428f2c,_0x46ad9c- -0x67c,_0x506e4b);}function _0x876df7(_0x14c9bc,_0x47e317,_0x22bf26,_0xa29014){return _0x1e45aa(_0x14c9bc-0x9,_0x47e317-0x1a3,_0x22bf26- -0x3e4,_0x47e317);}return _0x33922b(-0x14b,-_0x1c3133._0x5144f7,-0x2,-0x69)+Date[_0x876df7(0x335,_0x1c3133._0x4d6f53,0x26a,_0x1c3133._0x436d37)]()+'-'+Math[_0x33922b(-0x1c4,-0xa6,-0xc9,-0xc2)]()[_0x33922b(0x10f,-_0x1c3133._0x28b464,_0x1c3133._0x564d54,-0x6a)](0x24)[_0x33922b(-_0x1c3133._0x3999ca,-_0x1c3133._0x5e5f30,-0x106,-0xc0)](0x2,0x9);}function validateInput(_0x3f1a6a){const _0x1409be={_0x2d3691:0x234,_0x5dfc72:0x143,_0x21ff4b:0x270,_0x58a0ce:0x2d2,_0x495c19:0x182,_0x4aa470:0x270,_0x348cb2:0x28e,_0x1a2be4:0x1b3,_0x289d1c:0x110,_0xde75f8:0x1d5,_0x5efd9f:0xec,_0x42fa65:0x128,_0x25fbe3:0x28b,_0x4d1a28:0x1ee,_0xa76792:0x2f4,_0x5f03a1:0x15e,_0x433839:0x3e2,_0x1ef74f:0x19b,_0x5e4472:0x28e,_0x1ecd48:0x1dd,_0x445a1f:0x23a,_0x3cedcb:0x2d4,_0x38bb1b:0x190,_0x90e082:0x4ad,_0x5097b3:0x437,_0x3459b3:0x222,_0x266ff6:0x2e9,_0x3f7740:0x2bb,_0x4ded47:0x45c,_0x4211e0:0x469,_0x2a3e63:0x2d6,_0x5b6c20:0x222,_0x387336:0x2fb,_0xf8a1dc:0x26c,_0x4005a6:0x3ac,_0x703fe1:0x45e,_0x2fdc17:0x43d,_0x2f849f:0x406,_0xedefa3:0x3e5,_0x112191:0x534,_0x561c5b:0x533,_0x38caf2:0x140,_0x3effc9:0xed,_0x5ea95e:0x168,_0x341a21:0x28b,_0x593855:0x416,_0x497649:0x3f4,_0x3ac379:0x49f,_0xba393:0x480,_0x4a6285:0xab,_0x2cab55:0x2bd,_0x4ebd7b:0x330,_0x54beb5:0x331,_0x2f3707:0x289,_0x254502:0x354,_0xf340be:0x3f4,_0x165400:0x456,_0x23441b:0x52c,_0x1771ee:0x379,_0x3640ad:0x172,_0x340c61:0x141,_0x3c2a18:0x13a,_0x1b88da:0x129,_0x108be7:0x12b,_0x425113:0x1dd,_0x44387e:0x2d6};if(!Array[_0x18d7d5(0x257,0x15c,_0x1409be._0x2d3691,0x2c7)](_0x3f1a6a[_0x18d7d5(0x256,0x18f,_0x1409be._0x5dfc72,_0x1409be._0x21ff4b)])||_0x3f1a6a[_0x18d7d5(_0x1409be._0x58a0ce,_0x1409be._0x495c19,0x186,_0x1409be._0x4aa470)][_0x18d7d5(0x152,0x136,0x3db,_0x1409be._0x348cb2)]<0x1||_0x3f1a6a[_0x18d7d5(0x325,_0x1409be._0x1a2be4,_0x1409be._0x289d1c,_0x1409be._0x21ff4b)][_0x18d7d5(0x408,0x354,_0x1409be._0xde75f8,0x28e)]>0xa)throw new ToolExecutionError(_0x18d7d5(_0x1409be._0x5efd9f,_0x1409be._0x42fa65,_0x1409be._0x25fbe3,_0x1409be._0x4d1a28),{'error':'invalid_questions'});function _0x3ed7f6(_0x17da94,_0xe0ecdf,_0x2cdb08,_0x5f2265){return _0x1e45aa(_0x17da94-0x107,_0xe0ecdf-0x48,_0x17da94- -0x436,_0xe0ecdf);}function _0x18d7d5(_0x2812c7,_0x367c89,_0x212226,_0x2c72ef){return _0x55c88d(_0x2812c7-0x126,_0x2c72ef- -0x2a3,_0x2812c7,_0x2c72ef-0xd8);}for(let _0x3b94f7=0x0;_0x3b94f7<_0x3f1a6a[_0x18d7d5(_0x1409be._0xa76792,_0x1409be._0x5f03a1,0x2cc,0x270)][_0x18d7d5(0x1f0,_0x1409be._0x433839,_0x1409be._0x1ef74f,_0x1409be._0x5e4472)];_0x3b94f7+=0x1){const _0x2e7281=_0x3f1a6a[_0x18d7d5(_0x1409be._0x1ecd48,_0x1409be._0x445a1f,0x1f3,_0x1409be._0x4aa470)][_0x3b94f7];if(!_0x2e7281[_0x3ed7f6(0x2ae,0x29a,0x166,0x287)]||typeof _0x2e7281[_0x18d7d5(0x164,_0x1409be._0x3cedcb,0x2e,_0x1409be._0x38bb1b)]!=='string')throw new ToolExecutionError(_0x3ed7f6(0x3f4,_0x1409be._0x90e082,_0x1409be._0x5097b3,0x442)+(_0x3b94f7+0x1)+_0x3ed7f6(0x170,_0x1409be._0x3459b3,0x2a7,0x102));if(!_0x2e7281[_0x3ed7f6(0x2d4,0x44a,0x1cc,0x230)]||typeof _0x2e7281[_0x18d7d5(0x311,0xb4,0x232,0x1b6)]!==_0x3ed7f6(_0x1409be._0x266ff6,_0x1409be._0x3f7740,_0x1409be._0x4ded47,0x2f2))throw new ToolExecutionError(_0x3ed7f6(0x3f4,_0x1409be._0x4211e0,0x329,0x4c9)+(_0x3b94f7+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x2e7281['topic']['length']>0x1e)throw new ToolExecutionError(_0x18d7d5(0x41e,0x414,0x1f6,_0x1409be._0x2a3e63)+(_0x3b94f7+0x1)+_0x3ed7f6(_0x1409be._0x5b6c20,_0x1409be._0x387336,_0x1409be._0x495c19,0x122)+_0x2e7281[_0x18d7d5(0x21c,0xda,_0x1409be._0xf8a1dc,0x1b6)][_0x3ed7f6(_0x1409be._0x4005a6,_0x1409be._0x703fe1,_0x1409be._0x2fdc17,_0x1409be._0x2f849f)]);if(!Array[_0x3ed7f6(_0x1409be._0xedefa3,0x343,_0x1409be._0x112191,_0x1409be._0x561c5b)](_0x2e7281[_0x18d7d5(-0x79,0xc6,_0x1409be._0x38caf2,_0x1409be._0x3effc9)])||_0x2e7281[_0x3ed7f6(0x20b,0x384,_0x1409be._0x5ea95e,0x22c)][_0x3ed7f6(0x3ac,0x2f3,_0x1409be._0x341a21,_0x1409be._0x593855)]<0x2||_0x2e7281['options'][_0x18d7d5(0x2a9,0x173,_0x1409be._0x4d1a28,0x28e)]>0x4)throw new ToolExecutionError(_0x3ed7f6(_0x1409be._0x497649,_0x1409be._0x3ac379,0x549,_0x1409be._0xba393)+(_0x3b94f7+0x1)+_0x18d7d5(0x39,-0x131,-0x7,0x3e));for(let _0xc87f41=0x0;_0xc87f41<_0x2e7281[_0x3ed7f6(0x20b,_0x1409be._0x4a6285,0x344,0xae)][_0x18d7d5(0x203,_0x1409be._0x2cab55,_0x1409be._0x4ebd7b,0x28e)];_0xc87f41+=0x1){const _0x5d977b=_0x2e7281['options'][_0xc87f41];if(!_0x5d977b['label']||!_0x5d977b[_0x18d7d5(_0x1409be._0x54beb5,_0x1409be._0x2f3707,_0x1409be._0x254502,0x2a2)])throw new ToolExecutionError(_0x3ed7f6(_0x1409be._0xf340be,_0x1409be._0x165400,_0x1409be._0x23441b,_0x1409be._0x1771ee)+(_0x3b94f7+0x1)+',\x20Option\x20'+(_0xc87f41+0x1)+_0x3ed7f6(0x149,0x1b4,0x213,_0x1409be._0x3640ad));}if(typeof _0x2e7281[_0x3ed7f6(_0x1409be._0x340c61,_0x1409be._0x3c2a18,_0x1409be._0x1b88da,_0x1409be._0x108be7)]!==_0x3ed7f6(0x20f,_0x1409be._0x425113,_0x1409be._0x289d1c,0x33d))throw new ToolExecutionError(_0x18d7d5(0x3b1,0x403,0x424,_0x1409be._0x44387e)+(_0x3b94f7+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x5e7d40){const _0x261dc9={_0x32d83f:0x1e2},_0xa8f595={_0x36e287:0x8a};function _0x335360(_0x3f5b9b,_0x27f3d1,_0x260d97,_0xd58ea0){return _0x1e45aa(_0x3f5b9b-_0xa8f595._0x36e287,_0x27f3d1-0x72,_0x260d97- -0x2fe,_0xd58ea0);}function _0xf07abf(_0x5a78fc,_0x4a7b60,_0x257ee7,_0x4a6360){return _0x55c88d(_0x5a78fc-_0x261dc9._0x32d83f,_0x257ee7- -0x20d,_0x5a78fc,_0x4a6360-0x1d7);}return _0x5e7d40['questions']['map']((_0x322c61,_0x3e494e)=>({'id':'q'+_0x3e494e,'question':_0x322c61[_0x335360(0x3cc,0x375,0x3e6,0x53a)],'topic':_0x322c61[_0x335360(0x3ae,0x2fd,0x40c,0x516)],'options':_0x322c61[_0x335360(0x2cc,0x42e,0x343,0x244)],'multiSelect':_0x322c61['multiSelect']}));}function createResult(_0x24c73c,_0x2d21b7,_0x514a7e){const _0x3b184b={_0x247101:0x22f,_0x3ab38d:0x13a,_0xdff32f:0x16e,_0x537c36:0x248},_0x1feade={_0x113653:0xb6,_0x5edd65:0x1df};function _0x45a7a8(_0x1288d6,_0x454b34,_0x14da6d,_0x43d2e8){return _0x55c88d(_0x1288d6-_0x1feade._0x113653,_0x1288d6- -_0x1feade._0x5edd65,_0x454b34,_0x43d2e8-0x165);}const _0x55afdd={'questionId':_0x24c73c,'questionCount':_0x2d21b7,'answers':_0x514a7e};function _0x4558cf(_0x517420,_0x288c46,_0x4860bd,_0x4d0f0b){return _0x55c88d(_0x517420-0x29,_0x517420-0xf1,_0x4860bd,_0x4d0f0b-0x118);}return createToolOutput(_0x45a7a8(_0x3b184b._0x247101,_0x3b184b._0x3ab38d,_0x3b184b._0xdff32f,_0x3b184b._0x537c36)+JSON[_0x4558cf(0x5f1,0x56b,0x67a,0x706)](_0x514a7e,null,0x2),_0x55afdd);}function createAskUserTool(){const _0x1351d7={_0x12bff2:0x14b,_0x381ea4:0x347,_0x3b20a6:0x166,_0xcd44bf:0x2,_0x224e19:0x26e,_0x3e4a45:0x8c,_0x2adb0c:0x8,_0x35a642:0x142,_0x1117a4:0x118,_0x5d04ed:0x20,_0x38078b:0x142,_0x53b92a:0x25f,_0x9b3cfe:0x2c6,_0x2fab28:0x232,_0x1b1431:0x1a6,_0x594190:0x8d,_0x2e0c8f:0xa5,_0x5d5558:0xfe,_0x104430:0x27d,_0x1d3951:0x25c,_0x19cc07:0x1b0,_0x55edd5:0x27d,_0x1b265a:0x2e3,_0x328d19:0x34b,_0x30e59d:0x2f0,_0x2fae6e:0x49,_0x18d2bc:0x279,_0x18e89a:0x242,_0x58bb1f:0x27a,_0x8229bf:0x108,_0x4dec24:0x12d,_0x124d53:0x248,_0x23f88a:0x19f,_0x243d19:0x189,_0xeb95e3:0xc2,_0x56737e:0x66,_0x50e92f:0x1d9,_0x19307e:0x1e6,_0x1c93e9:0x22d,_0x2cabef:0x1e7},_0x103809={_0x49bceb:0xba,_0x1dfe38:0x66,_0x2e20dd:0x16b,_0xf68273:0x19f,_0x381214:0x18b,_0x4a50b8:0x75d,_0x4f0b52:0x60f,_0x4d0f70:0x105,_0xc69a84:0x283,_0x31ae12:0x3d5,_0x404d7c:0x368,_0x16c286:0x3e0,_0x333178:0x1c8,_0x39f604:0x4a7,_0x22bf2e:0x541,_0x5705f3:0x4e0,_0x4ed285:0x16c,_0x3173d5:0x150,_0x6872c2:0x241,_0x72c70a:0x5d6,_0x18e4cf:0x7c9,_0x239391:0x645,_0x5b5b94:0x136},_0xcc9d5d={_0xde1ce0:0x1a3,_0x1fc3e0:0x5dd};function _0x4c0b08(_0x4f2622,_0x5182e0,_0x5930af,_0x4cfdda){return _0x1e45aa(_0x4f2622-_0xcc9d5d._0xde1ce0,_0x5182e0-0x11,_0x5930af- -_0xcc9d5d._0x1fc3e0,_0x5182e0);}function _0x9a6583(_0x1cdc9c,_0x2853d3,_0x115395,_0x15bd1c){return _0x55c88d(_0x1cdc9c-0x1bf,_0x2853d3- -0x1f1,_0x1cdc9c,_0x15bd1c-0x39);}return defineTool({'name':_0x9a6583(0xbb,0x1c5,_0x1351d7._0x12bff2,_0x1351d7._0x381ea4),'description':'Use\x20this\x20tool\x20when\x20you\x20need\x20to\x20ask\x20the\x20user\x20questions\x20during\x20execution.\x20This\x20allows\x20you\x20to:\x0a1.\x20Gather\x20user\x20preferences\x20or\x20requirements\x0a2.\x20Clarify\x20ambiguous\x20instructions\x0a3.\x20Get\x20decisions\x20on\x20implementation\x20choices\x20as\x20you\x20work\x0a4.\x20Offer\x20choices\x20to\x20the\x20user\x20about\x20what\x20direction\x20to\x20take.\x0a\x0aUsage\x20notes:\x0a-\x20Users\x20will\x20always\x20be\x20able\x20to\x20select\x20\x22Other\x22\x20to\x20provide\x20custom\x20text\x20input\x0a-\x20Use\x20multiSelect:\x20true\x20to\x20allow\x20multiple\x20answers\x20to\x20be\x20selected\x20for\x20a\x20question\x0a-\x20If\x20you\x20recommend\x20a\x20specific\x20option,\x20make\x20that\x20the\x20first\x20option\x20in\x20the\x20list\x20and\x20add\x20\x22(Recommended)\x22\x20at\x20the\x20end\x20of\x20the\x20label','inputSchema':{'type':'object','properties':{'questions':{'type':'array','items':{'type':_0x9a6583(0x155,_0x1351d7._0x3b20a6,-_0x1351d7._0xcd44bf,_0x1351d7._0x224e19),'properties':{'question':{'type':_0x4c0b08(_0x1351d7._0x3e4a45,-_0x1351d7._0x2adb0c,_0x1351d7._0x35a642,0x91)},'topic':{'type':_0x4c0b08(_0x1351d7._0x1117a4,_0x1351d7._0x5d04ed,_0x1351d7._0x38078b,0x16a)},'options':{'type':_0x9a6583(_0x1351d7._0x53b92a,_0x1351d7._0x9b3cfe,_0x1351d7._0x2fab28,_0x1351d7._0x1b1431),'items':{'type':_0x4c0b08(_0x1351d7._0x594190,-_0x1351d7._0x2e0c8f,0x2b,-_0x1351d7._0x5d5558),'properties':{'label':{'type':_0x9a6583(0x1ff,_0x1351d7._0x104430,_0x1351d7._0x1d3951,0x1b8)},'description':{'type':_0x9a6583(_0x1351d7._0x19cc07,_0x1351d7._0x55edd5,_0x1351d7._0x1b265a,0x3a4)}},'required':[_0x9a6583(_0x1351d7._0x328d19,_0x1351d7._0x30e59d,0x2ae,0x436),'description']}},'multiSelect':{'type':_0x9a6583(0x28,0x1a3,0x39,_0x1351d7._0x2fae6e)}},'required':[_0x9a6583(_0x1351d7._0x18d2bc,_0x1351d7._0x18e89a,_0x1351d7._0x58bb1f,0x10e),_0x4c0b08(0x264,_0x1351d7._0x8229bf,_0x1351d7._0x4dec24,_0x1351d7._0x124d53),_0x9a6583(0x14a,_0x1351d7._0x23f88a,_0x1351d7._0x243d19,_0x1351d7._0xeb95e3),_0x4c0b08(-0x68,0xa6,-_0x1351d7._0x56737e,-_0x1351d7._0x50e92f)]}},'answers':{'type':'object','properties':{}}},'required':[_0x4c0b08(_0x1351d7._0x19307e,_0x1351d7._0x1c93e9,_0x1351d7._0x2cabef,0x1a4)]},async *'execute'(_0x49cdeb,_0x3f1231){const _0x31fc54={_0xec4b59:0x9f,_0x2dc998:0x19e,_0x221e61:0x158},_0x328f77={_0x2f599d:0x124},_0x1e11e4=_0x49cdeb;validateInput(_0x1e11e4);function _0x499581(_0x4415db,_0x2b6ec7,_0x338158,_0xa863c8){return _0x9a6583(_0xa863c8,_0x4415db-0x3e0,_0x338158-0x132,_0xa863c8-_0x328f77._0x2f599d);}const _0x4932ec=_0x3f1231['toolCallId']??createQuestionId();if(_0x1e11e4[_0x3e41d2(-_0x103809._0x49bceb,_0x103809._0x1dfe38,0x1a7,_0x103809._0x2e20dd)]&&Object[_0x3e41d2(_0x103809._0xf68273,0x2f0,0x3e7,0x214)](_0x1e11e4[_0x3e41d2(_0x103809._0x381214,0x66,0x1be,-0x96)])[_0x499581(0x720,_0x103809._0x4a50b8,_0x103809._0x4f0b52,0x87d)]>0x0)return createResult(_0x4932ec,_0x1e11e4[_0x3e41d2(_0x103809._0x4d0f70,_0x103809._0xc69a84,0x11d,_0x103809._0x31ae12)][_0x3e41d2(_0x103809._0x404d7c,0x2a1,_0x103809._0x16c286,_0x103809._0x333178)],_0x1e11e4['answers']);if(!_0x3f1231[_0x499581(_0x103809._0x39f604,_0x103809._0x22bf2e,0x5f0,_0x103809._0x5705f3)])throw new ToolExecutionError(_0x3e41d2(_0x103809._0x4ed285,0x141,_0x103809._0x3173d5,_0x103809._0x6872c2));const _0x3fdbba=buildQuestions(_0x1e11e4);function _0x3e41d2(_0x1ede2e,_0x3200a8,_0x367a87,_0x5396a7){return _0x9a6583(_0x367a87,_0x3200a8- -_0x31fc54._0xec4b59,_0x367a87-_0x31fc54._0x2dc998,_0x5396a7-_0x31fc54._0x221e61);}const _0x5c31df=await _0x3f1231['askUser']({'questionId':_0x4932ec,'questions':_0x3fdbba});yield createResult(_0x4932ec,_0x1e11e4[_0x499581(0x702,_0x103809._0x72c70a,_0x103809._0x18e4cf,_0x103809._0x239391)][_0x3e41d2(_0x103809._0x5b5b94,0x2a1,0x3c1,0x14b)],_0x5c31df);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0xd46fc8}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x56f576){return _0x56f576 instanceof Error;}function resolveCarriageReturns(_0x2c27e9){const _0x208000={_0x43890f:0x28a,_0x252f8f:0x373,_0x502d29:0x33b,_0x3d6ce9:0x375},_0x2bd79c={_0x4f8b8e:0x2e8,_0x3dd137:0x446,_0x402437:0x52c},_0x37af1f={_0x296a77:0xb2,_0x2449de:0xcf},_0x4e2eea={_0x258671:0x153,_0x45cfed:0x15c},_0x1b96dd={_0x86dacd:0xc4};function _0x9fe0c(_0x4eb10,_0x31cee8,_0x1031a5,_0x2f9032){return _0x55c88d(_0x4eb10-_0x1b96dd._0x86dacd,_0x1031a5- -0xb7,_0x31cee8,_0x2f9032-0x189);}function _0x4da25c(_0x20ae46,_0x4a9108,_0x3c11ce,_0x146e37){return _0x1e45aa(_0x20ae46-_0x4e2eea._0x258671,_0x4a9108-_0x4e2eea._0x45cfed,_0x4a9108- -0xd0,_0x3c11ce);}return _0x2c27e9[_0x9fe0c(0x206,_0x208000._0x43890f,_0x208000._0x252f8f,0x23d)]('\x0a')['map'](_0x455b4b=>{const _0x9af03c={_0x37fb8d:0xfc};function _0x932d84(_0x1522ee,_0x180764,_0x2bc4f5,_0x3d56fe){return _0x9fe0c(_0x1522ee-_0x9af03c._0x37fb8d,_0x3d56fe,_0x1522ee- -0xf2,_0x3d56fe-0x42);}if(!_0x455b4b[_0x932d84(0x34f,0x1d4,0x2f3,0x4c9)]('\x0d'))return _0x455b4b;function _0x357b14(_0x358115,_0x44d9ab,_0x3bbce3,_0x3e7ee7){return _0x9fe0c(_0x358115-0x19f,_0x3bbce3,_0x3e7ee7-_0x37af1f._0x296a77,_0x3e7ee7-_0x37af1f._0x2449de);}const _0x54c5af=_0x455b4b[_0x357b14(0x4cd,0x397,_0x2bd79c._0x4f8b8e,0x425)]('\x0d');return _0x54c5af[_0x54c5af[_0x357b14(_0x2bd79c._0x3dd137,0x404,0x458,_0x2bd79c._0x402437)]-0x1]??'';})[_0x9fe0c(0x421,0x2d3,_0x208000._0x502d29,_0x208000._0x3d6ce9)]('\x0a');}function resolveBackspaces(_0x2f4883){const _0x290e20={_0x5315b5:0x2bd,_0x1c3dc2:0x22a,_0x4c816c:0x1a0,_0x23a7a5:0x3df,_0x5297bf:0x2d3,_0x2e070d:0x1bf,_0x4f5bcb:0xdc,_0x4b681e:0x4c,_0x22293a:0x10c,_0x109e10:0xe2,_0x364d54:0x6ce,_0x1efaad:0x6b8,_0x980d45:0x7a9},_0x590aef={_0x32e88a:0x2dc},_0xb6ff71=[];function _0x5b012d(_0x3f538f,_0x6d8fc2,_0x360139,_0x1b0991){return _0x55c88d(_0x3f538f-0x163,_0x3f538f-_0x590aef._0x32e88a,_0x6d8fc2,_0x1b0991-0x1b7);}for(const _0x402930 of Array[_0x59d53d(_0x290e20._0x5315b5,0x1ca,_0x290e20._0x1c3dc2,_0x290e20._0x4c816c)](_0x2f4883)){_0x402930==='\x08'?_0xb6ff71[_0x59d53d(0x447,_0x290e20._0x23a7a5,_0x290e20._0x5297bf,_0x290e20._0x2e070d)]():_0xb6ff71[_0x59d53d(_0x290e20._0x4f5bcb,-_0x290e20._0x4b681e,_0x290e20._0x22293a,_0x290e20._0x109e10)](_0x402930);}function _0x59d53d(_0x33ecf1,_0x50e959,_0x288623,_0x235a18){return _0x1e45aa(_0x33ecf1-0x1c4,_0x50e959-0x18,_0x288623- -0x596,_0x50e959);}return _0xb6ff71[_0x5b012d(_0x290e20._0x364d54,_0x290e20._0x1efaad,0x69c,_0x290e20._0x980d45)]('');}function stripAnsiAndControls(_0x50201f){const _0x27294b={_0x4c55fe:0x4a9,_0x37d6d8:0x44c,_0x586994:0x221,_0x466e37:0x109,_0x523b38:0x24c,_0xc02fc8:0x3f5,_0x56cc95:0x41c,_0x5045a0:0x5a5,_0x1d3837:0x569,_0x358e7f:0x71e,_0x47691b:0x1e2,_0x3508f7:0x1a,_0x4105c3:0xe3,_0x55007c:0x1c9,_0x17e02e:0xa2,_0x11b7dc:0x94,_0x1eb49f:0x5a5,_0x2e7922:0x55b,_0xaf16ee:0x485,_0x2210be:0x558,_0x2e1b2e:0x520,_0x31d567:0x4c6,_0x2b4380:0x437,_0x58d283:0x211,_0xce3f84:0x132,_0x426c7e:0xe3,_0x45cc53:0x17e},_0x42dc84={_0x58fe94:0x17d,_0x388de0:0x135},_0x58c59a={_0x2aa77f:0x229,_0x4f5338:0x1e6};_0x50201f=resolveCarriageReturns(_0x50201f),_0x50201f=resolveBackspaces(_0x50201f),_0x50201f=stripVTControlCharacters(_0x50201f);function _0x3325c6(_0x1ccda0,_0x5968e6,_0x39958f,_0x25e0c7){return _0x55c88d(_0x1ccda0-0x9,_0x5968e6-_0x58c59a._0x2aa77f,_0x39958f,_0x25e0c7-_0x58c59a._0x4f5338);}const _0x5d3483='\x1b',_0x5c2561='\x07';function _0x50bb52(_0x1e193a,_0x5ac2a3,_0x625b50,_0x5a1e70){return _0x55c88d(_0x1e193a-_0x42dc84._0x58fe94,_0x625b50- -0x299,_0x5a1e70,_0x5a1e70-_0x42dc84._0x388de0);}return _0x50201f=_0x50201f[_0x3325c6(0x589,0x5a5,_0x27294b._0x4c55fe,_0x27294b._0x37d6d8)](new RegExp(_0x50bb52(0x281,_0x27294b._0x586994,_0x27294b._0x466e37,_0x27294b._0x523b38)+_0x5c2561+_0x3325c6(0x64a,0x546,_0x27294b._0xc02fc8,0x4a2)+_0x5c2561,'g'),''),_0x50201f=_0x50201f['replace'](new RegExp(_0x3325c6(0x5f4,0x545,0x6a8,_0x27294b._0x56cc95)+_0x5d3483+'\x5c\x5c','g'),''),_0x50201f=_0x50201f[_0x3325c6(0x67b,_0x27294b._0x5045a0,_0x27294b._0x1d3837,_0x27294b._0x358e7f)](new RegExp(_0x5c2561,'g'),''),_0x50201f=_0x50201f[_0x50bb52(_0x27294b._0x47691b,-_0x27294b._0x3508f7,_0x27294b._0x4105c3,_0x27294b._0x55007c)](new RegExp(_0x5d3483+_0x50bb52(-0x15c,_0x27294b._0x17e02e,0x27,-_0x27294b._0x11b7dc)+_0x5d3483+'\x5c\x5c','g'),''),_0x50201f=_0x50201f[_0x3325c6(0x48a,_0x27294b._0x1eb49f,_0x27294b._0x2e7922,_0x27294b._0xaf16ee)](new RegExp(_0x5d3483+_0x3325c6(_0x27294b._0x2210be,_0x27294b._0x2e1b2e,0x425,0x42e),'g'),''),_0x50201f=_0x50201f['replace'](/[\u0080-\u009F]/g,''),_0x50201f=_0x50201f[_0x3325c6(_0x27294b._0x31d567,_0x27294b._0x1eb49f,_0x27294b._0x2b4380,0x46f)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x50201f=_0x50201f[_0x50bb52(_0x27294b._0x58d283,_0x27294b._0xce3f84,_0x27294b._0x426c7e,_0x27294b._0x45cc53)](/[\u23CE\u2424]/g,''),_0x50201f;}function killProcessGroup(_0x393605,_0x4fadc6,_0x829968='SIGKILL'){const _0x5cdc0a={_0x5f36d7:0x51d,_0x46ca2e:0x4d7,_0x16d109:0x7f5,_0x27ac99:0x722,_0x5545dc:0x69d,_0x492239:0x72b,_0x5cce51:0x470,_0x1ed4ce:0x5eb,_0x29598c:0x49e,_0x261784:0x670,_0x3f0a23:0x526,_0x389b59:0x544,_0x277318:0x7c9,_0x240d75:0x745,_0x75b1b9:0x495,_0x24077f:0x33b,_0x2ec45d:0x714,_0x659f15:0x4d5},_0x402d0c={_0x289f2d:0x94,_0x4d59e1:0x1cb};if(!_0x393605[_0x443c5f(_0x5cdc0a._0x5f36d7,0x495,_0x5cdc0a._0x46ca2e,0x40a)])return;function _0x443c5f(_0x34aef6,_0x19235f,_0x3682c1,_0x5d1827){return _0x55c88d(_0x34aef6-0x86,_0x19235f-0x1c2,_0x5d1827,_0x5d1827-0x63);}if(_0x4fadc6)try{_0xd46fc8(_0x443c5f(_0x5cdc0a._0x16d109,0x677,0x6c1,0x7f5),[_0x5bcd0c(0x5db,_0x5cdc0a._0x27ac99,_0x5cdc0a._0x5545dc,_0x5cdc0a._0x492239),_0x393605[_0x5bcd0c(0x330,_0x5cdc0a._0x5cce51,_0x5cdc0a._0x1ed4ce,_0x5cdc0a._0x29598c)][_0x443c5f(0x583,0x5de,0x473,0x764)](),'/T','/F'],{'stdio':_0x443c5f(0x69c,_0x5cdc0a._0x261784,0x72d,0x750)});return;}catch{_0x393605[_0x5bcd0c(0x50c,0x6be,_0x5cdc0a._0x3f0a23,0x65a)](_0x829968);return;}function _0x5bcd0c(_0x3b4aaa,_0x5de752,_0x169dc7,_0x55117a){return _0x55c88d(_0x3b4aaa-_0x402d0c._0x289f2d,_0x55117a-_0x402d0c._0x4d59e1,_0x3b4aaa,_0x55117a-0x152);}try{process[_0x5bcd0c(_0x5cdc0a._0x389b59,_0x5cdc0a._0x277318,_0x5cdc0a._0x240d75,0x65a)](-_0x393605[_0x443c5f(0x5d0,_0x5cdc0a._0x75b1b9,0x417,_0x5cdc0a._0x24077f)],_0x829968);}catch{_0x393605[_0x5bcd0c(0x53a,_0x5cdc0a._0x2ec45d,_0x5cdc0a._0x659f15,0x65a)](_0x829968);}}var BackgroundProcessRegistry=class{[_0x55c88d(0x46d,0x4d8,0x3f0,0x65d)]=new Map();[_0x55c88d(0x480,0x32c,0x1f2,0x496)];[_0x55c88d(0x3a2,0x4c8,0x44f,0x4df)];[_0x55c88d(0x3c9,0x424,0x57f,0x3a5)];[_0x55c88d(0x3a6,0x4bc,0x4e6,0x362)]=0x0;constructor(_0x430981={}){const _0x3f6013={_0x220fcf:0xc6,_0x43527f:0x35,_0xece334:0x252,_0x17468b:0x22d,_0x32a010:0x156,_0x3735bf:0x97,_0x2f4c49:0x212},_0x4bb76a={_0x41eb6f:0x16d,_0x9bceb:0x54c},_0x5119ce={_0x15876a:0x29a,_0x3e2540:0x68};function _0x23c8cb(_0x481cf8,_0x6fe4b5,_0x52a2d8,_0x10e8b8){return _0x55c88d(_0x481cf8-0x2d,_0x52a2d8- -_0x5119ce._0x15876a,_0x6fe4b5,_0x10e8b8-_0x5119ce._0x3e2540);}function _0x39a1cc(_0x596abd,_0x105ebf,_0x1c2b26,_0x1d6ef3){return _0x1e45aa(_0x596abd-0x1bc,_0x105ebf-_0x4bb76a._0x41eb6f,_0x105ebf- -_0x4bb76a._0x9bceb,_0x1d6ef3);}this[_0x39a1cc(-_0x3f6013._0x220fcf,0x91,-_0x3f6013._0x43527f,-0x35)]=_0x430981['maxConcurrent']??0xa,this['maxEntries']=_0x430981[_0x39a1cc(_0x3f6013._0xece334,_0x3f6013._0x17468b,0x299,0xb0)]??0x40,this[_0x39a1cc(0x2c4,0x189,0x67,_0x3f6013._0x32a010)]=_0x430981[_0x39a1cc(_0x3f6013._0x3735bf,0x189,0x29b,_0x3f6013._0x2f4c49)]??0x100000;}[_0x55c88d(0x377,0x4d6,0x5e3,0x619)](_0x5e6073){const _0x2119d0={_0x238ef3:0x3a8,_0x1d7709:0x28d,_0x18eb13:0xcd,_0x399cf7:0x181,_0x8ce4d:0xf6,_0x1bdf49:0x2b9,_0x79e8bf:0x105,_0x230c50:0x125,_0x57f4dc:0x16,_0x106581:0x71,_0x2e8e62:0x1dd,_0x30513f:0xcb,_0x1a3b72:0x20a,_0x2406f3:0x10b,_0x339262:0x343,_0x3464b9:0x35c,_0x584444:0x2f0,_0x53e0ec:0x411,_0x39aa6d:0xc6,_0x56a237:0x29,_0x10d224:0x1d5,_0x4bed66:0x13e,_0x40afd5:0x1a,_0x595ea8:0x12b,_0x1aba60:0xac,_0x3c3c29:0x38,_0x3932ad:0x378,_0x160f79:0xd0,_0x566282:0x1bc,_0x297ca8:0x20,_0x19d7f8:0x111,_0x4c0559:0xdb,_0x19ba66:0x4a,_0xb89f02:0x100,_0x269aef:0x1cf,_0x1f4043:0x223,_0x3d01d7:0x1e9,_0x7daaa3:0x123,_0x184b6d:0x1a2,_0x123172:0x8c,_0x3ac6e1:0x234,_0x4dacfc:0x283,_0x21bc0b:0x32,_0x271cce:0x271,_0x734e59:0x16a,_0x1e98ed:0xdd,_0x49e989:0x1fc,_0x4bf97c:0x291,_0x8ac456:0x51,_0x5030cd:0x123,_0x5c3e20:0x174,_0x3941ae:0x58,_0x230f61:0x49,_0x2db563:0x9,_0x41aa1d:0x4},_0x1fd498={_0x5370b7:0x44a,_0x292fb4:0x2ef,_0xe4d2d2:0x32c,_0xae6f4f:0x23a,_0x573e30:0x32c,_0x56892b:0x273,_0x398d30:0x276,_0xc75bca:0x7a4,_0x5d2d1f:0x874,_0x110a46:0x73c},_0x29f631={_0x1f0292:0x56},_0x440b1c={_0x190607:0x490,_0x80049a:0x4dd,_0x10b705:0x490,_0x85578b:0x2b4,_0x1ace6d:0x24f,_0x296bbb:0x6a1,_0x5ed621:0x6b8,_0x5ea04a:0x7a0,_0x20faf2:0x66b,_0x5b1e56:0x5c3,_0x292172:0x46c,_0xf0f0e7:0x410,_0x35744f:0x2ed,_0x37c6e6:0x39f,_0x5c2e09:0x2e7,_0x12e5ab:0x441,_0x3cf2d3:0x3ca},_0x9935aa={_0x3478e4:0x104},_0x14c854={_0x245e69:0x1f1,_0x4e54c1:0x8d},_0x2168b0={_0x2a9c75:0x464,_0xfb30ca:0x189},_0x4bb65c={_0x1583d1:0x255},_0x559583=[...this[_0x185bc9(0x273,_0x2119d0._0x238ef3,_0x2119d0._0x1d7709,0x34a)]['values']()]['filter'](_0x22811c=>_0x22811c[_0x185bc9(0x348,0x2cc,0x43f,0x423)]===_0x185bc9(0x343,0x3b5,0x437,0x235))[_0x520798(_0x2119d0._0x18eb13,_0x2119d0._0x399cf7,0xb,_0x2119d0._0x8ce4d)];if(_0x559583>=this['maxConcurrent'])throw new ToolExecutionError(_0x185bc9(0x86,0x12f,0x1f9,0x127)+this[_0x520798(-0x138,0x34,-_0x2119d0._0x1bdf49,-0x202)]+_0x520798(-_0x2119d0._0x79e8bf,-0x148,-_0x2119d0._0x230c50,-0x115),{'running':this[_0x520798(-0x138,-0xc0,-0x260,-0x11f)]});const _0x177293='bg-'+ ++this[_0x520798(0x58,-_0x2119d0._0x57f4dc,0x41,_0x2119d0._0x106581)]+'-'+randomUUID()['slice'](0x0,0x8),_0x78f43e={'shellId':_0x177293,'command':_0x5e6073['command'],'cwd':_0x5e6073[_0x520798(-0x156,-_0x2119d0._0x2e8e62,-_0x2119d0._0x30513f,-0x1c0)],'pid':_0x5e6073[_0x520798(-0x13e,0x1e,-0x23b,-_0x2119d0._0x1a3b72)][_0x520798(-0x191,-0xb4,-_0x2119d0._0x2406f3,-0x22b)],'status':_0x185bc9(_0x2119d0._0x339262,_0x2119d0._0x3464b9,_0x2119d0._0x584444,_0x2119d0._0x53e0ec),'exitCode':null,'signal':null,'startedAt':Date[_0x185bc9(0x138,_0x2119d0._0x39aa6d,_0x2119d0._0x56a237,_0x2119d0._0x10d224)](),'child':_0x5e6073[_0x520798(-_0x2119d0._0x4bed66,_0x2119d0._0x40afd5,-_0x2119d0._0x595ea8,-0x11f)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x185bc9(_0x2119d0._0x399cf7,0x25f,_0x2119d0._0x1aba60,_0x2119d0._0x3c3c29)),'stderrDecoder':new StringDecoder('utf8'),'stripAnsi':_0x5e6073[_0x185bc9(0x21f,_0x2119d0._0x3932ad,0x24d,_0x2119d0._0x160f79)],'killRequested':![],'processExited':![]};_0x5e6073['child']['stdout']?.['on'](_0x185bc9(0xff,_0x2119d0._0x566282,0x118,0x24f),_0x4e7f57=>this[_0x185bc9(0x1a7,0xad,0x2ce,0xfc)](_0x78f43e,_0x78f43e['stdoutDecoder'][_0x520798(0x66,-0x10f,0x46,-0x7d)](_0x4e7f57))),_0x5e6073[_0x185bc9(0xc1,_0x2119d0._0x297ca8,_0x2119d0._0x19d7f8,-0x8c)][_0x520798(-_0x2119d0._0x4c0559,-_0x2119d0._0x19ba66,-0x19b,-0x9e)]?.['on'](_0x520798(-_0x2119d0._0xb89f02,0x12,-_0x2119d0._0x269aef,-0xea),_0x4ddf9a=>this[_0x185bc9(0x1a7,0x2e2,0x124,0x222)](_0x78f43e,_0x78f43e[_0x520798(0xff,0x181,0x1f1,-0x7b)][_0x520798(0x66,-0x39,0x36,0x161)](_0x4ddf9a))),_0x5e6073[_0x185bc9(0xc1,_0x2119d0._0x1f4043,_0x2119d0._0x3d01d7,-0x5f)][_0x185bc9(_0x2119d0._0x7daaa3,_0x2119d0._0x184b6d,0x22d,_0x2119d0._0x123172)](_0x185bc9(_0x2119d0._0x3ac6e1,0x2b2,_0x2119d0._0x3464b9,_0x2119d0._0x3932ad),()=>{const _0x46b936={_0x2430d0:0x6c,_0x3144b7:0x7e};function _0x1d564f(_0x3497f6,_0x27c632,_0x57a2b5,_0x40fb77){return _0x520798(_0x57a2b5-0x3e2,_0x3497f6,_0x57a2b5-_0x46b936._0x2430d0,_0x40fb77-_0x46b936._0x3144b7);}_0x78f43e[_0x1d564f(0x307,0x270,_0x4bb65c._0x1583d1,0x1fd)]=!![];});function _0x520798(_0x409c79,_0x182fb8,_0x48267f,_0x297f43){return _0x55c88d(_0x409c79-0x18d,_0x409c79- -_0x2168b0._0x2a9c75,_0x182fb8,_0x297f43-_0x2168b0._0xfb30ca);}function _0x185bc9(_0x4ee5b0,_0x48e7aa,_0x1d5d40,_0x217ecc){return _0x1e45aa(_0x4ee5b0-_0x14c854._0x245e69,_0x48e7aa-_0x14c854._0x4e54c1,_0x4ee5b0- -0x516,_0x217ecc);}return _0x5e6073['child'][_0x185bc9(0x123,_0x2119d0._0x4dacfc,_0x2119d0._0x21bc0b,_0x2119d0._0x271cce)](_0x520798(0x107,_0x2119d0._0x734e59,_0x2119d0._0x1e98ed,_0x2119d0._0x49e989),(_0x309791,_0x451a24)=>{const _0x2d35d8={_0x21ce04:0x1b5,_0x17dbea:0x173,_0x372e05:0x161};this[_0xc302b3(_0x440b1c._0x190607,_0x440b1c._0x80049a,0x41a,0x3fc)](_0x78f43e,_0x78f43e[_0xb5f521(0x2c2,0x233,0x10a,0x290)]['end']());function _0xb5f521(_0x4ff4f6,_0x484471,_0x555e74,_0x15bb9f){return _0x520798(_0x484471-_0x2d35d8._0x21ce04,_0x15bb9f,_0x555e74-_0x2d35d8._0x17dbea,_0x15bb9f-_0x2d35d8._0x372e05);}this[_0xc302b3(_0x440b1c._0x10b705,0x480,0x4bd,0x5bd)](_0x78f43e,_0x78f43e[_0xb5f521(0x279,_0x440b1c._0x85578b,0x3b1,_0x440b1c._0x1ace6d)][_0xc302b3(0x542,_0x440b1c._0x296bbb,0x658,_0x440b1c._0x5ed621)]());function _0xc302b3(_0x29d7d2,_0x59acf2,_0x285357,_0x17ef45){return _0x520798(_0x29d7d2-0x4e8,_0x17ef45,_0x285357-_0x9935aa._0x3478e4,_0x17ef45-0xe8);}_0x78f43e[_0xc302b3(0x631,_0x440b1c._0x5ea04a,_0x440b1c._0x20faf2,0x51a)]=_0x78f43e[_0xc302b3(0x45b,0x4c5,0x3ae,_0x440b1c._0x5b1e56)]?_0xc302b3(_0x440b1c._0x292172,0x453,_0x440b1c._0xf0f0e7,_0x440b1c._0x35744f):'exited',_0x78f43e[_0xb5f521(_0x440b1c._0x37c6e6,_0x440b1c._0x5c2e09,_0x440b1c._0x12e5ab,_0x440b1c._0x3cf2d3)]=_0x309791,_0x78f43e[_0xb5f521(0x280,0x306,0x427,0x35f)]=_0x451a24,_0x78f43e[_0xc302b3(0x3aa,0x280,0x313,0x462)]=null;}),_0x5e6073[_0x520798(-_0x2119d0._0x4bed66,-_0x2119d0._0x4bf97c,-0x18d,-_0x2119d0._0x8ac456)][_0x185bc9(_0x2119d0._0x5030cd,_0x2119d0._0x5c3e20,0x10c,-_0x2119d0._0x3941ae)]('error',_0x2a0b39=>{const _0xdd8ac={_0x10efc5:0x1e3,_0x30ce00:0x1c7};_0x78f43e[_0x2670cb(_0x1fd498._0x5370b7,_0x1fd498._0x292fb4,_0x1fd498._0xe4d2d2,_0x1fd498._0xae6f4f)]=_0x2670cb(_0x1fd498._0x573e30,_0x1fd498._0x56892b,_0x1fd498._0x398d30,0x268);function _0x2670cb(_0x4bd8b4,_0x3cc626,_0xb2d1b9,_0x53ecd4){return _0x520798(_0xb2d1b9-_0xdd8ac._0x10efc5,_0x3cc626,_0xb2d1b9-0x1a5,_0x53ecd4-_0xdd8ac._0x30ce00);}_0x78f43e[_0x4133df(_0x1fd498._0xc75bca,_0x1fd498._0x5d2d1f,_0x1fd498._0x110a46,0x701)]=_0x2a0b39['message'];function _0x4133df(_0x36cb38,_0x27f5e5,_0xbcdc9c,_0x5087a2){return _0x185bc9(_0xbcdc9c-0x4aa,_0x27f5e5-0x101,_0xbcdc9c-_0x29f631._0x1f0292,_0x36cb38);}_0x78f43e['child']=null;}),this[_0x185bc9(0x273,0x165,0x2ff,0x33e)][_0x520798(-0xef,_0x2119d0._0x230f61,-0xeb,-0x1b6)](_0x177293,_0x78f43e),this[_0x520798(-0x54,0xcf,-_0x2119d0._0x2db563,-_0x2119d0._0x41aa1d)](),_0x78f43e;}[_0x1e45aa(0x96f,0x721,0x836,0x704)](_0x480a77,_0xc673e3){const _0x31bd11={_0x3a1e4f:0x460,_0x54336b:0x3f5,_0x2a726a:0x330,_0x5e2cc9:0x361,_0x15b4ee:0x5b2,_0xbef54a:0x3fa,_0x4fc22d:0x545,_0x873e4f:0x37d,_0x47d54a:0x3da,_0x4641c0:0x259,_0x31e8e4:0x27d,_0x3e48f6:0x2a3,_0x2b7eed:0x4d6,_0xb1d5b1:0x371,_0x2d3a0f:0xdc,_0x35e090:0x2d8,_0x16db10:0x2a2,_0x123d67:0x417,_0x45d00b:0x265,_0x39ffe0:0x426,_0x274922:0x302,_0xda9938:0x387,_0x304199:0x4d0,_0x4383b8:0x581,_0x4ccf37:0x422,_0x3e482c:0x2d5,_0x4e9bf3:0x40a,_0x53b59b:0x306,_0x406d73:0x26b,_0x2da7e6:0x335,_0x1d95ed:0x18d,_0x3d2133:0x11d,_0x123ddf:0x160,_0x15c134:0x293,_0x1ba39e:0x4de,_0x3966dc:0x57f,_0x3a6928:0x40c,_0x274c88:0x3a2,_0x3036c6:0x5cf,_0x4f0c38:0x40f,_0x2d47ad:0x64d,_0x24e4f0:0x5ac,_0x30ef07:0x500,_0x2319d6:0x564},_0x538c52={_0x5e7f81:0x18,_0x22931d:0xe3,_0x4579c9:0x18f},_0x40b532=this[_0x1a3d0b(0x568,_0x31bd11._0x3a1e4f,0x4a0,_0x31bd11._0x54336b)][_0x1a3d0b(0x583,0x5b4,0x516,0x44f)](_0x480a77);if(!_0x40b532)throw new ToolExecutionError(_0x3a4379(_0x31bd11._0x2a726a,_0x31bd11._0x5e2cc9,_0x31bd11._0x15b4ee,0x46e)+_0x480a77,{'shellId':_0x480a77});const _0x40500f=_0x40b532[_0x1a3d0b(0x3b7,0x554,_0x31bd11._0xbef54a,0x44b)][_0x3a4379(_0x31bd11._0x4fc22d,0x368,0x4c1,0x3c0)](''),_0x2c98d8=Math[_0x3a4379(_0x31bd11._0x873e4f,_0x31bd11._0x47d54a,_0x31bd11._0x4641c0,0x34e)](_0x40b532[_0x1a3d0b(_0x31bd11._0x31e8e4,_0x31bd11._0x3e48f6,_0x31bd11._0x2b7eed,_0x31bd11._0xb1d5b1)],_0x40b532[_0x1a3d0b(_0x31bd11._0x2d3a0f,0x21d,_0x31bd11._0x35e090,0x251)]),_0x804d69=Math[_0x1a3d0b(_0x31bd11._0x16db10,_0x31bd11._0x123d67,_0x31bd11._0x45d00b,0x29d)](0x0,_0x40b532[_0x3a4379(0x455,0x466,_0x31bd11._0x39ffe0,_0x31bd11._0x274922)]-_0x40b532[_0x3a4379(_0x31bd11._0xda9938,_0x31bd11._0x304199,_0x31bd11._0x4383b8,_0x31bd11._0x4ccf37)]);function _0x3a4379(_0x3e2a9a,_0x2f0106,_0x4975e6,_0x265aab){return _0x1e45aa(_0x3e2a9a-0x1ca,_0x2f0106-0x16d,_0x265aab- -0x2e3,_0x3e2a9a);}function _0x1a3d0b(_0x25da78,_0x1e3d28,_0x5e85d6,_0x569a8c){return _0x55c88d(_0x25da78-_0x538c52._0x5e7f81,_0x569a8c- -_0x538c52._0x22931d,_0x5e85d6,_0x569a8c-_0x538c52._0x4579c9);}const _0x1dc046=_0x40500f[_0x3a4379(_0x31bd11._0x3e482c,0x338,0x1f6,0x293)](_0x2c98d8-_0x40b532[_0x3a4379(_0x31bd11._0x4e9bf3,0x2d0,0x1d5,0x302)]),_0x1f6528=_0x40b532['status']!=='running';let _0x9bb9fb;const _0x471392=_0xc673e3?.['regex'];if(!_0x471392)_0x9bb9fb=_0x1dc046,_0x40b532[_0x3a4379(0x56c,0x55d,_0x31bd11._0x53b59b,0x422)]=_0x40b532['totalProduced'];else{let _0x515680;try{_0x515680=new RegExp(_0x471392);}catch(_0x2a4e8f){throw new ToolExecutionError(_0x1a3d0b(_0x31bd11._0x406d73,0x382,0x2b5,_0x31bd11._0x2da7e6)+_0x2a4e8f['message'],{'shellId':_0x480a77,'regex':_0x471392});}let _0x157f27=_0x1dc046;if(!_0x1f6528){const _0x55d957=_0x1dc046[_0x1a3d0b(_0x31bd11._0x1d95ed,_0x31bd11._0x3d2133,0x1c1,0x29f)]('\x0a');_0x157f27=_0x55d957>=0x0?_0x1dc046[_0x3a4379(0x146,_0x31bd11._0x123ddf,0x163,_0x31bd11._0x15c134)](0x0,_0x55d957+0x1):'';}_0x9bb9fb=_0x157f27['split']('\x0a')[_0x3a4379(0x6fb,0x635,_0x31bd11._0x1ba39e,_0x31bd11._0x3966dc)](_0x54695a=>_0x515680[_0x1a3d0b(0x474,0x494,0x328,0x47c)](_0x54695a))['join']('\x0a'),_0x40b532[_0x3a4379(0x2ed,_0x31bd11._0x3a6928,0x41a,0x422)]=_0x2c98d8+_0x157f27[_0x3a4379(_0x31bd11._0x274c88,0x3e2,_0x31bd11._0x3036c6,0x4ff)];}const _0x429bdc=(_0x804d69>0x0?_0x1a3d0b(0x335,0x274,_0x31bd11._0x4f0c38,0x32e)+_0x804d69+'\x20chars\x20dropped]\x0a':'')+_0x9bb9fb;return{'output':_0x429bdc,'status':_0x40b532[_0x3a4379(_0x31bd11._0x2d47ad,_0x31bd11._0x24e4f0,0x65f,0x57b)],'exitCode':_0x40b532[_0x3a4379(0x569,_0x31bd11._0x30ef07,0x3df,_0x31bd11._0x2319d6)],'signal':_0x40b532['signal'],'truncated':_0x804d69>0x0};}[_0x55c88d(0x53d,0x3f5,0x464,0x394)](){const _0x309787={_0x3cdbc8:0xe7},_0x32457e={_0xb9df06:0x1ea};function _0x227845(_0x16d90d,_0x564c72,_0x3f8569,_0x2d00bd){return _0x1e45aa(_0x16d90d-0xdb,_0x564c72-_0x32457e._0xb9df06,_0x16d90d- -0x63a,_0x2d00bd);}return[...this['entries'][_0x227845(0x60,-0xe9,-0xb,-_0x309787._0x3cdbc8)]()];}[_0x1e45aa(0x82a,0x7dd,0x740,0x66c)](_0x2c8c2a){const _0x24cd4f={_0x179e5c:0x712,_0x4b6a77:0x311,_0x3a6c2e:0x970,_0x483e15:0x96f,_0x8d4317:0x836,_0x5f144e:0x963,_0x27fcba:0x4d6,_0x393ca7:0x5b4,_0xdf727d:0x2bf,_0x5a6ffc:0xb5,_0xc7d628:0xea,_0x48ec59:0x297,_0x17a4f8:0x255,_0x5af9fb:0x287,_0x24d060:0x74a,_0x96ed04:0x7d6,_0x510d4e:0x818,_0x15c6e1:0x8b6,_0x5e24b5:0x732,_0x1a77db:0x7e2,_0x1a77ce:0x729,_0x1f099a:0x7a5,_0x58c533:0x824,_0x44fb09:0x475},_0x469682={_0x4cbb6d:0x1cc,_0x58815f:0x187},_0x5ed045=this['entries'][_0x3b8ea8(_0x24cd4f._0x179e5c,0x725,0x7c0,0x929)](_0x2c8c2a);if(!_0x5ed045)throw new ToolExecutionError(_0x3b8ea8(0x5b2,0x63f,0x72e,0x63b)+_0x2c8c2a,{'shellId':_0x2c8c2a});if(_0x5ed045[_0x2a3cae(0x46d,0x455,0x525,_0x24cd4f._0x4b6a77)]===_0x3b8ea8(_0x24cd4f._0x3a6c2e,_0x24cd4f._0x483e15,_0x24cd4f._0x8d4317,_0x24cd4f._0x5f144e)&&_0x5ed045[_0x3b8ea8(_0x24cd4f._0x27fcba,0x70c,_0x24cd4f._0x393ca7,0x4df)]&&!_0x5ed045[_0x2a3cae(0x197,_0x24cd4f._0xdf727d,_0x24cd4f._0x5a6ffc,_0x24cd4f._0xc7d628)]){_0x5ed045[_0x2a3cae(_0x24cd4f._0x48ec59,_0x24cd4f._0x17a4f8,0x385,_0x24cd4f._0x5af9fb)]=!![];try{killProcessGroup(_0x5ed045['child'],process[_0x3b8ea8(_0x24cd4f._0x24d060,0x6ed,_0x24cd4f._0x96ed04,_0x24cd4f._0x510d4e)]===_0x3b8ea8(_0x24cd4f._0x15c6e1,0x87a,_0x24cd4f._0x5e24b5,_0x24cd4f._0x1a77db));}catch{}}function _0x3b8ea8(_0x4cb6bd,_0x25dcf0,_0x6ccf52,_0x2c6f5b){return _0x55c88d(_0x4cb6bd-0x45,_0x6ccf52-0x28e,_0x4cb6bd,_0x2c6f5b-0xd6);}function _0x2a3cae(_0x2f4b8b,_0x242f4c,_0x345688,_0x27d598){return _0x1e45aa(_0x2f4b8b-_0x469682._0x4cbb6d,_0x242f4c-_0x469682._0x58815f,_0x2f4b8b- -0x3f1,_0x242f4c);}return{'status':_0x5ed045[_0x3b8ea8(0x791,0x93b,0x83b,_0x24cd4f._0x1a77ce)],'exitCode':_0x5ed045[_0x3b8ea8(0x90b,_0x24cd4f._0x1f099a,_0x24cd4f._0x58c533,0x97a)],'signal':_0x5ed045[_0x2a3cae(_0x24cd4f._0x44fb09,0x3a1,0x3b5,0x396)]};}async['closeAll'](){const _0x250118={_0xc3a2fb:0x1e9,_0x6e7d86:0x57,_0xb4047e:0x1f,_0x2e6449:0x25b,_0x2f82a1:0x1a5,_0x28cef9:0x79f,_0x1f792b:0x8ed,_0x919eba:0x7cf,_0x4187c9:0x6b5,_0x24b3f5:0x620},_0x1b26fc={_0x381681:0x6a,_0x2819b9:0x95},_0x3dd4a1={_0x69a4ec:0x227};function _0x2f3c25(_0xeec41f,_0x2d55bb,_0x3eb2ef,_0x491141){return _0x55c88d(_0xeec41f-0x1b5,_0x491141-_0x3dd4a1._0x69a4ec,_0x3eb2ef,_0x491141-0xcc);}function _0x4730a2(_0x27aab9,_0x42bdc1,_0x4b8218,_0x14d05f){return _0x55c88d(_0x27aab9-_0x1b26fc._0x381681,_0x14d05f- -0x408,_0x4b8218,_0x14d05f-_0x1b26fc._0x2819b9);}for(const _0x69bba0 of this[_0x4730a2(0x81,-0x5c,_0x250118._0xc3a2fb,0xd0)][_0x4730a2(-_0x250118._0x6e7d86,-0x16f,-0x19,-_0x250118._0xb4047e)]()){if(_0x69bba0[_0x4730a2(_0x250118._0x2e6449,0x42,0x308,_0x250118._0x2f82a1)]===_0x2f3c25(0x8ef,_0x250118._0x28cef9,_0x250118._0x1f792b,_0x250118._0x919eba)&&_0x69bba0[_0x2f3c25(_0x250118._0x4187c9,_0x250118._0x24b3f5,0x6c0,0x54d)]&&!_0x69bba0['processExited']){_0x69bba0['killRequested']=!![];try{killProcessGroup(_0x69bba0[_0x2f3c25(0x457,0x628,0x650,0x54d)],process['platform']===_0x4730a2(-0x7d,-0xe5,0xbb,0x9c));}catch{}}}}[_0x55c88d(0x3dc,0x40c,0x4bb,0x4e0)](_0x363d61,_0x470d92){const _0x1ea20f={_0x6f8022:0x54c,_0xabca2c:0x3c9,_0x383c41:0x215,_0x478039:0x24b,_0x411200:0x277,_0x68d333:0x2b8,_0x434473:0x28f,_0x5365b9:0x28a,_0x4ae3ee:0x5e4,_0x25a992:0x596,_0x213ce8:0x51f,_0x1a670c:0x1d1,_0x159746:0x7e,_0xce2d1a:0x2ba,_0x727df9:0x34d,_0x158423:0x5aa,_0x1d4c05:0x617,_0x352d9f:0x51c,_0x3d6496:0x377,_0x2b1693:0x346,_0x523535:0x386,_0x40ec7b:0x2b5,_0x5a5a44:0x3bb,_0x5d6442:0x3dd,_0x56d5a7:0x402,_0x1c118b:0x4b6,_0x16c1bc:0x1d4,_0x110739:0x143,_0xc2c36f:0x3ad,_0x5038c1:0x346,_0x494a22:0x20b,_0x116f80:0x1e9,_0x193e08:0x236,_0x59f2a3:0x1fa,_0x2a2b11:0x32b,_0x348c33:0x689,_0x5f413b:0x5f5,_0x10198d:0x140,_0x187779:0x2b3},_0x44566b={_0x278f92:0x12,_0x2583a0:0x9a},_0x1bd6f2=_0x363d61[_0xe0f1d(0x302,0x5c8,_0x1ea20f._0x6f8022,0x472)]?stripAnsiAndControls(_0x470d92):_0x470d92;if(_0x1bd6f2[_0x3a06db(_0x1ea20f._0xabca2c,0x346,_0x1ea20f._0x383c41,_0x1ea20f._0x478039)]===0x0)return;_0x363d61['buffer'][_0x3a06db(_0x1ea20f._0x411200,0x206,_0x1ea20f._0x68d333,0x9f)](_0x1bd6f2);function _0x3a06db(_0x45c8cc,_0x3d0ef8,_0xafb584,_0x2f0c15){return _0x1e45aa(_0x45c8cc-0x79,_0x3d0ef8-0x1af,_0x3d0ef8- -0x49c,_0xafb584);}_0x363d61[_0x3a06db(0x329,0x1d1,_0x1ea20f._0x434473,_0x1ea20f._0x5365b9)]+=_0x1bd6f2[_0xe0f1d(_0x1ea20f._0x4ae3ee,0x453,_0x1ea20f._0x25a992,_0x1ea20f._0x213ce8)];function _0xe0f1d(_0x5a0b50,_0x3fa42e,_0x3c388e,_0x17e1e8){return _0x55c88d(_0x5a0b50-0x19d,_0x17e1e8- -_0x44566b._0x278f92,_0x3c388e,_0x17e1e8-_0x44566b._0x2583a0);}_0x363d61['totalProduced']+=_0x1bd6f2['length'];while(_0x363d61[_0x3a06db(0x9b,_0x1ea20f._0x1a670c,_0x1ea20f._0x159746,0x2ff)]>this[_0xe0f1d(_0x1ea20f._0xce2d1a,_0x1ea20f._0x727df9,0x3ec,0x412)]){const _0x355d2f=_0x363d61['bufferChars']-this[_0xe0f1d(0x58e,0x3eb,0x4e7,0x412)],_0x2dc2c4=_0x363d61[_0xe0f1d(_0x1ea20f._0x158423,0x3fa,_0x1ea20f._0x1d4c05,_0x1ea20f._0x352d9f)][0x0];_0x2dc2c4[_0x3a06db(_0x1ea20f._0x3d6496,_0x1ea20f._0x2b1693,_0x1ea20f._0x523535,_0x1ea20f._0x40ec7b)]<=_0x355d2f?(_0x363d61[_0xe0f1d(_0x1ea20f._0x5a5a44,0x543,_0x1ea20f._0x5d6442,0x51c)][_0xe0f1d(_0x1ea20f._0x56d5a7,_0x1ea20f._0x1c118b,_0x1ea20f._0x16c1bc,0x342)](),_0x363d61[_0x3a06db(0x14d,0x1d1,0x2a7,_0x1ea20f._0x110739)]-=_0x2dc2c4[_0x3a06db(_0x1ea20f._0xc2c36f,_0x1ea20f._0x5038c1,0x414,_0x1ea20f._0x494a22)],_0x363d61[_0x3a06db(0x213,0x149,0x82,_0x1ea20f._0x116f80)]+=_0x2dc2c4[_0x3a06db(_0x1ea20f._0x193e08,0x346,_0x1ea20f._0x59f2a3,_0x1ea20f._0x2a2b11)]):(_0x363d61[_0xe0f1d(_0x1ea20f._0x348c33,_0x1ea20f._0x5f413b,0x4ef,0x51c)][0x0]=_0x2dc2c4[_0xe0f1d(0x308,0x1a4,_0x1ea20f._0x10198d,_0x1ea20f._0x187779)](_0x355d2f),_0x363d61['bufferChars']-=_0x355d2f,_0x363d61['totalDropped']+=_0x355d2f);}}[_0x1e45aa(0x672,0x65c,0x6c1,0x735)](){const _0x4680d6={_0xbd9f42:0x3bb,_0x2f83c9:0x385,_0x504416:0x46d,_0x5917ac:0x17f,_0x2ec3d2:0x53,_0x552866:0x91,_0x9f436:0x391,_0x167091:0x251,_0x26c213:0x132,_0x22d44b:0x48b,_0x40bda1:0x490,_0x5b1f3a:0x2b7,_0x2c1778:0x261,_0x588331:0x189,_0x35db33:0x56,_0x1a1e29:0x12a};function _0x25428f(_0xdced90,_0x122538,_0x3a5e27,_0x5e938e){return _0x55c88d(_0xdced90-0x190,_0x3a5e27- -0x277,_0x122538,_0x5e938e-0x1c6);}function _0x5c3083(_0xa0dc6f,_0x13dbf2,_0x36d0ff,_0x4475b2){return _0x1e45aa(_0xa0dc6f-0x111,_0x13dbf2-0x85,_0xa0dc6f- -0x3ce,_0x13dbf2);}if(this[_0x5c3083(_0x4680d6._0xbd9f42,_0x4680d6._0x2f83c9,0x2cf,_0x4680d6._0x504416)][_0x25428f(-0x12,_0x4680d6._0x5917ac,_0x4680d6._0x2ec3d2,-_0x4680d6._0x552866)]<=this[_0x25428f(_0x4680d6._0x9f436,0x2d0,_0x4680d6._0x167091,0x153)])return;for(const [_0x1e24fd,_0x3a9200]of this[_0x25428f(0x151,_0x4680d6._0x26c213,0x261,0x2c5)]){if(_0x3a9200['status']!==_0x5c3083(_0x4680d6._0x22d44b,0x4b3,0x49f,_0x4680d6._0x40bda1)){this[_0x25428f(_0x4680d6._0x5b1f3a,0x3c2,_0x4680d6._0x2c1778,_0x4680d6._0x588331)][_0x25428f(0x1f8,_0x4680d6._0x35db33,_0x4680d6._0x1a1e29,0x67)](_0x1e24fd);return;}}}};function createBashOutputTool(_0x541024){const _0x55655d={_0x520d34:0x3eb,_0x58c0a:0x30d,_0x4c0d80:0x26d,_0x2879be:0x233,_0x1c0e88:0x325,_0x58c051:0x5ae,_0x37d7d8:0x32b,_0x222f74:0x42c,_0x545c01:0x3ab},_0x23f7e7={_0x34b46f:0x1e7,_0xb60554:0x46,_0x1f3ab4:0x405,_0x34479a:0x4c1,_0x344167:0x46a,_0x1d22d0:0xeb,_0x39bfa3:0x5d,_0x18d9b4:0x161,_0x5e4018:0x13d,_0x3ba179:0x2c7,_0x1d157f:0x173,_0x290770:0x72,_0x17b9f8:0x279},_0x17fb17={_0x4cb002:0x81,_0x20f224:0x24,_0x209d66:0xfe},_0x3d948c={_0x3f08df:0x85},{registry:_0x30fafa}=_0x541024;function _0x1c4f7a(_0x551af8,_0x25ffa1,_0xf395e7,_0x5bd4bd){return _0x55c88d(_0x551af8-_0x3d948c._0x3f08df,_0x25ffa1- -0x42,_0x551af8,_0x5bd4bd-0x126);}function _0x217bf7(_0x38aad0,_0x54866a,_0x19112a,_0x3a09a3){return _0x1e45aa(_0x38aad0-0x8f,_0x54866a-0x120,_0x3a09a3- -0x74,_0x19112a);}return defineTool({'name':_0x1c4f7a(0x1f4,0x277,0x311,_0x55655d._0x520d34),'description':_0x1c4f7a(_0x55655d._0x58c0a,_0x55655d._0x4c0d80,0x13d,0x1de),'inputSchema':{'type':_0x1c4f7a(_0x55655d._0x2879be,0x315,0x494,_0x55655d._0x1c0e88),'properties':{'shellId':{'type':_0x1c4f7a(0x59a,0x42c,_0x55655d._0x58c051,0x413)},'regex':{'type':_0x1c4f7a(_0x55655d._0x37d7d8,_0x55655d._0x222f74,_0x55655d._0x545c01,0x37f)}},'required':['shellId']},async *'execute'(_0x3a5638){const _0x499a61=_0x30fafa[_0x441bd9(_0x23f7e7._0x34b46f,0x162,0x2e4,_0x23f7e7._0xb60554)](_0x3a5638['shellId'],_0x3a5638[_0xf144e0(_0x23f7e7._0x1f3ab4,_0x23f7e7._0x34479a,0x46c,_0x23f7e7._0x344167)]?{'regex':_0x3a5638[_0x441bd9(-_0x23f7e7._0x1d22d0,-_0x23f7e7._0x39bfa3,-_0x23f7e7._0x18d9b4,-0x198)]}:void 0x0);function _0x441bd9(_0x11041c,_0x5434da,_0x2a6375,_0x1bc8f2){return _0x1c4f7a(_0x2a6375,_0x5434da- -0x3e1,_0x2a6375-0xaa,_0x1bc8f2-0x5f);}function _0xf144e0(_0x4b8a5d,_0x3b3799,_0x21b365,_0x252811){return _0x1c4f7a(_0x252811,_0x4b8a5d-_0x17fb17._0x4cb002,_0x21b365-_0x17fb17._0x20f224,_0x252811-_0x17fb17._0x209d66);}return createToolOutput(_0x499a61['output'],{'shellId':_0x3a5638[_0x441bd9(0x12f,0x4a,0x128,0x15c)],'status':_0x499a61[_0x441bd9(0x23a,0x18a,_0x23f7e7._0x5e4018,_0x23f7e7._0x3ba179)],'exitCode':_0x499a61[_0x441bd9(0x8c,_0x23f7e7._0x1d157f,_0x23f7e7._0x290770,_0x23f7e7._0x17b9f8)],'signal':_0x499a61['signal'],'truncated':_0x499a61['truncated']});}});}function _0x770d(){const _0x56f78b=['AgvHzgvYCW','qMfZzsbKAxjLy3rVCNK6ia','v0vcua','te9x','yMfJA2DYB3vUzfjLz2LZDhj5','C2vHCMnOugfYyw1Z','DhjPBq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','C2HHmJu2','zxH0zw5ZAw9UCW','s2LSBgvKia','Aw5WDxrty2HLBwe','zxjYB3i','Aw5JBhvKzxm','yw50AhjVCgLJlw1LC3nHz2vZ','zhvWBgLJyxrLx3rVzg9FAwrZ','AxngAwXL','ywjVCNq','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','zNjVBuvUDhjPzxm','C3rYAw5NAwz5','Aw5WDxq','y29UBMvJDa','qMfZAa','y2HHCMfJDgvY','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','yxv0AfjLCxvPCMvK','ywDLBNrZ','zNvUy3rPB24','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','xsb0CMfUC3bVCNqGzxjYB3i6','C291CMnL','yMfZzw5HBwu','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','zNjVBq','zgvMyxvSDfrPBwvVDxrnCW','yxnPzgu','r0LgodDH','CxvLC3rPB25Z','Aw52ywXPzf90B2rVx3n0yxr1CW','Aw5PDgLHBgL6zwq','y21KlMv4zq','z29uB0LTCgXLBwvUDgf0Aw9U','sfruuca','ignVBxbSzxrLzc4','lMnTza','Ag9ZDa','Dg9ju09tDhjPBMC','DxjS','u2HLBgWGBM90igzVDw5KoIa','tunqihrVB2WG','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','y291BNq','u2TPBgWGjW','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','EwfYBI5SB2nR','B2XSyw1H','DMfSDwu','A2LTAq','ANnVBMm','C2TPBgXZ','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','y29ZDa','mtK4lJe4lJaUma','yNvMzMvY','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','yMfZzty0','BgvUz3rO','z2v0','y2XPzw50','ls1ZDgrPBW','BgfUz18','AMf2yxnJCMLWDa','BgLTAxq','C3rHDhvZvgv4Da','zxzLCNK','thnW','Cgf0DgvYBIbPCYbYzxf1AxjLza','CgfJA2fNzs5QC29U','vg9KBYa','zw5NAw5LCW','ls1MAwXLCW','ChjVy2vZCW','C2H1DgrVD24','DhvWBgu','y29UBMvJDgLVBG','ygbG','zgvZy3jPChrPB24','zgvUBY5QC29U','ywDLBNrjza','CgXHDgzVCM0','CMvMzxjLBMnLCW','qgjPB21LANmVyMLVBwu','zw5NAw5L','zhj5uNvU','BwnWxW','t1bftLjpvvrfuL9bueLFs0vz','D29YA3nWywnLl3n5BwjVBa','yMvHCMvY','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','Aw1Hz2uVANbLzW','DhjHBNnMB3jT','DxrTx21LzgL1Bq','DhjPBuvUza','ls1YzwDLEha','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','l3vZCI9IAw4VC2G','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','B3bLBMfP','y2XLyxi','CMvXDwLYzwq','zgvUBY5QC29UyW','DgvZDa','l3bPza','Dg90ywW','C3rVCMfNzurPCG','C3rKzxjYrgvJB2rLCG','yxjNDw1LBNrZ','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Ag9TzwrPCG','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','CgfJA2fNzu5HBwu','rgLHz25VC3rPyW','AxnbCNjHEq','y2XVC2u','CM9VDa','C2vHCMnOvhLWzq','C3rHCNreAxi','Dg9VBa','mte1uxz4AenL','qu5usfjpueLdx0fqsv9lrvK','z2XVyG','BwnFy2LK','rgv0ywLSoIa','pc9ZExn0zw0TCMvTAw5Kzxi+','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','Bg9VA3vW','sw52ywXPzcbvuKWGCgfYyw1LDgvY','uxvLC3rPB24G','z2v0uhjVDg90ExbLt2y','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','CMfUz2u','B2zMC2v0','BgL0zxjHBa','Aw5ZDgfSBa','A2v5CW','Dhj1zq','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Aw1WBgvTzw50yxrPB24','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','CMvHza','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','lMXVzW','AxrLBxm','y29UDgv4DeXPBMS','Dw5RBM93BG','yxv0Ag9YAxPHDgLVBL9JB2rL','igzHAwXLzc4','uhjVz3jHBuzPBgvZ','zxH0BMfTzq','yxbPs2v5','y2HHCKnVzgvbDa','AgvHzgvY','zgLYzwn0B3j5','CgfYzw50u2vZC2LVBKLK','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','Bwf4uMvKAxjLy3rZ','zxHPDenVzgu','zgvMAw5PDgLVBG','tuLnrtOG','BM9Uzq','ywrK','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','Bwf0y2HLCW','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','zMLUywXnzxnZywDL','Aw1Hz2uVz2LM','zgLZywjSzwq','yxbWBgLJyxrPB24VANnVBG','DhLWzq','CNvUswq','zMjJBgLK','tg9HzfnRAwXS','l2jPBI9ZAa','BNbT','CNvUBMLUzW','C3rKAw8','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','ls1OAwrKzw4','Dg9VBe5HBwu','C3rHDhvZ','AxnjBNrLz2vY','AwzYyw1L','BgLUzvn0yxj0','zMLSDgvY','CgLWzq','C3vIyxjYyxK','y29UC3rYDwn0B3i','C2LNBMfS','Dg9VBenHBgXjza','Dg9VBhm','Cg9W','BMf2','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','AhLKCMf0zu1LDge','u2L6ztOG','Aw5JB21PBMDdywXSCW','zxjYB3jnzxnZywDL','CMvXDwvZDa','Dg9KB3m','C3jJl2v4yw1WBgvZl2rLBw8UDhm','zMLUAxrL','yxnRvxnLCG','qMfZAe91Dhb1Da','Ec1HCgKTA2v5','lM51DMLU','rMLSzvjLywq','C3rKB3v0','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','zw5HyMXLza','w1bFxL1BxhnCu10QpW','BgLUzxm','C3rHCNrZv2L0Aa','BM9Zy3jPChq','z2v0vg9KB3m','C2XPy2u','BxvSDgLtzwXLy3q','DhnJB25MAwCUANnVBG','mty5lJi1nc4WlJa','CgfZC3rOCM91z2G','C2L6zq','yNL0zuXLBMD0Aa','wKfjx0fqsv9lrvK','CxvLCNK','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Bg93','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','z2L0AhvI','Bw9Kzq','CgLK','BwLU','BgLUzvrLEhq','r2XVyG','ChjVy2vZC0v4AxrLza','Cgf0DgvYBG','BMv3vgv4Da','r09pr0Xfx0ntrv9dwa','C2vSzwn0Aw9UuMfUz2u','lMPWzW','D2HPy2GGCMC','y29TBwfUza','qxv0Ag9YAxPHDgLVBG','yMLVBwuUANnVBG','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','zxf1ywXZ','Bwv0yxrHz3m','BwnFzwLK','CgfJA2fNzs1SB2nRlMPZB24','Aw5KzxHpzG','B3v0z29PBMDdywXSCW','C2vYDMvY','y2XPzw50twv0ywrHDgfvCMW','BgLUzuvUza','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','igj5DgvZicHVCMLNAw5HBdOG','t0zg','vw50AxrSzwq','C3jJl2fNzw50l2fNzw50lNrZ','v2vIrMv0y2G','Cg5WBs1SB2nRlNLHBwW','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','lNrZEa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','yw5ZD2vYCW','wZ0+nY04kcLD','ienHDxnLoIa','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','BwvZC2fNzq','Cgf0Ag5HBwu','zgLZy292zxj5','lM1QCW','mtGZodqZnJbHru1bBwO','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','sw52B2TLq29TBwfUza','B3rOzxi','CMfUzg9T','DxjP','ugf0AcbUB3qGzM91BMq6ia','C2L0ztO','BgfUz3vHz2u','lMnQCW','Aw1Hz2u','ksbB','AxngAw5PDgu','Aw52ywXPzf90B2rVx2LK','sw5MB3jTyxrPB24','Dhj1BMm','y3DK','CgfJA2fNzxm','Aw5PDgLHBgL6zq','C2vZC2LVBKLK','icHWAwqG','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','DhjHBNnMB3jTCW','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','zg9JDw1LBNrtEw1IB2W','B2f1DgG','mJqWlJaUmc4W','yNvUlMXVy2TI','l29WDc9OB21LyNjLDY9IAw4VCMC','o1TExg5DkJ8','xg5DkJ8','Aw1Hz2uVD2vICa','C29YDa','y29UDgv4Da','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','tM8GzgLHz25VC3rPy3m','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','yxr0CG','Aw5FChjVz3jLC3m','y2HPBgq','zgLZy292zxj5u3rHDgu','mtKYlJe2oc4WlJa','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','DxbKyxrL','ugfJA2fNzxm','Bwf4q29Uy3vYCMvUDa','oIbPzcbYzxf1AxjLza','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','CM91BMq','C3bHD25PBMC','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','lu5VuhjVzMLSzq','uhjVz3jHBuzPBgvZkhG4nIK','Dg90ywXeCM9WCgvK','DhnJ','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','r3jLCa','vw5RBM93BIb0B29SoIa','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Aw50zwDLCG','icHZDgf0Dxm6ia','C2vUzfjLCxvLC3q','zgLHz25VC3rPy3m','mtaUmc4WlJa','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','Bw9KzwW','z29uB0rLzMLUAxrPB24','zgf0zxrPBwu','tgLUzsa','C2fMzq','Ahr0Chm6','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','zMXVB3i','zMXHDe1HCa','CgfYC2u','Aw52ywXPzf90B2rVx3bYAw9YAxr5','D2HLCMuGCMC','B2C6DxbKyxrLzf90Aw1L','CMCUzxHL','lMPZ','y2XLyw51Ca','mZyZnJeZnNLgzuPXrq','zg9TywLUCW','C25PChbLDa','C2HPzNq','q291BgqGBM90ihjLC29SDMuGAg9ZDa','C3rHCNq','B2jQzwn0','B3bLBG','Dw5PB24','mMrRte1QDG','mti3lJaUmc4W','v2LUr2v0','CNvUsw5cywnRz3jVDw5K','B3v0Chv0','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','CMvSyxrPDMu','yxjNDw1LBNriAw50','zgf0yq','DhnZzxj2zxiUANm','Bg9HzenVBw1HBMq','B25LCNjVCG','ChjLzML4','zgfYAW','C2nYAxb0','zMLSzq','zMLSztOVlW','zNvSzMLSBgvK','zMLUzfjLzMvYzw5Jzxm','CMvMAw5L','BhmGlwXH','lI4U','y2f0y2G','Dg9VBc1VDxrWDxqTB2zMBg9Hza','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C2v0','B3bLBMfPlxjLC3bVBNnLCW','AxneAxjLy3rVCNK','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','y29UDgvUDc10ExbL','cMbGya','Dg9mB3DLCKnHC2u','CMvWBgfJzq','qwXSia','z29Vz2XLlwnZzq','tM8GC3vJAcbMAwXLoIaN','Bwf4','Ahr0CdO','BgfZDeLUzgv4t2y','tuvesvvn','Aw5qCM9NCMvZCW','zgLYBMfTzq','ru5pru5u','lMPZB24','B25Jzq','C3rKzxjY','CgfYC2vjBNq','yxjNDw1LBNrZvgv4Da','C3rHDgu','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','yxv0BW','D2vI','B3b0Aw9UCW','CMvTB3zLrxzLBNrmAxn0zw5LCG','zMLSBa','l3vZCI9SB2nHBc9IAw4VCMC','yM9VBgvHBG','l3vZCI9IAw4VCMC','mti1ntfeCvvurMW','uhvIBgLZAgvKoIa','ntqWngTwEKPtta','mtKYlJaUmc4W','yxv0Aa','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','mJi0lJaUmc4W','BM93','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','BgLZDfrVB2XZ','lw5i','zgvSzxrL','o1TE','AMf2yxnJCMLWDhjLywn0','yxnJAwK','CMvTB3zL','Dg9vChbLCKnHC2u','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Dg9Rzw5Z','y2fWywjPBgL0AwvZ','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','igj5DgvZicH0B3rHBdOG','z2v0t3DUuhjVCgvYDhLoyw1LCW','cGPbuKDvtuvovfm6ia','CMvZDwX0CW','Ag92zxi','Aw1Hz2vZ','DxrTx2nHBxbHAwDU','AxnfBMfIBgvK','vg9Vig1HBNKGCMvKAxjLy3rZ','ugf0AcbPCYbUB3qGysbMAwXLoIa','qxnRvxnLCLrVB2W','DhvYBMrVD24','ywn0AxzL','DgHLBG','B3bLBNjVDxrLCG','y2fJAgvK','yNvMzMvYq2HHCNm','BgLUzq','y2XPzw50sw5MB3jTyxrPB24','zMLSzvbHDgG','C2vUza','AxndB250zxH0','rMLSzsb3CML0DgvUigf0ia','Bwf4qNL0zxm','qMvHCMvYia','Bwv0yq','CMvNzxG','y2vPBa','y2fSBfrVB2W','CxvLC3rPB24T','A2v5yMLUzgLUz3m','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','BwvTB3j5','AgLNAa','DMvYAwzPzxi','DgfZAW','y29TBwfUzhm','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','BxrPBwu','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','AhrTBfnUAxbWzxq','ls1NBg9IpseUz2L0lYO','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','A2LSBfjLCxvLC3rLza','ywXSu2v0DgXLza','zw52','qwDLBNqGCNvUia','EwvZ','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','z2vUzxjHBa','y29KzvzLCMLMAwvY','r0LgodLH','DgL0Bgu','DhLWzxnJCMLWDa','zgv0ywLS','Dgv4DerVy3vTzw50l2rPze9Wzw4','yMfZAwm','DxrMoa','CMvZB2X2zq','A2LSBgvK','DMfSDwvZ','rMLSzuvKAxq','y29UzMLN','C2vYDMvYCW','BM9Kzv9TB2r1BgvZ','zMfPBgvK','AwDUB3jLt3v0Chv0','AhjLzG','ChvZAa','AM9PBG','ywrKrxzLBNrmAxn0zw5LCG','A2v5','BgLZDa','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Axnoyu4','Bg9JywXLq29TCgfYzq','y2XPzw50CW','ywXSB3DLzfrVB2XZ','ChjPB3jPDhK','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','sgLUDa','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','rMv0y2GGDgLTzwqGB3v0','yxnZAwDU','BwfYA2rVD24','CMvZDwX0','yMLYDgH0Aw1L','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','phn5C3rLBs1Yzw1PBMrLCJ4','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','ls1NBg9Ipq','Dgv4Dc9ODg1S','te9dquXbufbeqvrb','y2fSBgjHy2TvCMW','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','yxbWzw5K','CMvJB3jK','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','BgfUzW','zxzPy3rjzK5LzwrLza','w291Dhb1Dcb0CNvUy2f0zwq6ia','D29YA3nWywnLu3LTyM9S','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zMLYC3q','ls1JB2X1Bw4','ChjLChjVy2vZCW','Ahr0Ca','sw52ywXPzcbYzwDLEdOG','ChjLCgfYzunHBgXiAwvYyxjJAhK','DhLWzxnJCMLWDhjLywn0','zg5Zl3bYB21PC2vZ','Dg9tDhjPBMC','z2L0qNjHBMnO','Dhj1zwnVBg9Y','CgvUzgLUzW','qxzHAwXHyMXLignVBw1HBMrZoG','CgXHAw50zxH0','seLhsa','BNv2Aw4','y2fWq2HHCNm','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','C2vYDMvYtMfTzq','ig1HDgnO','Cgf0Aa','C3bSAxq','CMvXDwvZDhm','DxrTx3nVDxjJzq','Aw52ywXPzf90B2rVx2L0zw0','B3bLBKzPBgvZ','zxjYB3jZ','ChjVDg90ExbL','C2v2zxjPDhK','yxjNDw1LBNroyw1LCW','CxvLC3rPB24','mJy0mJuXn2LPA0XQtq','yMLVBwuUANnVBMm','vg9KB1DYAxrL','BhnW','B25szwrPCMvJDa','ig1Z','lNbUzW','uKLgrG','DxnLCM5HBwu','zgvMyxvSDen3za','yNjVA2vU','BNvTyMvY','C3r5Bgu','CMvHC29U','Dgf2AwX5','EMfP','yM0Ynq','y29TCgXLDgvK','y3jLyxrLzef0','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','vg9WAwmGC2v0ihrVici','yMLVBwu','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','C3vKBW','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','lMPWzwC','ANnVBG','zgLNzxn0','B3b0Aw9UywW','ls1MB2XSB3C','Dg91y2HgAwXL','BhnWu2vYDMLJzq','CMvHzen1CNnVCG','z2v0u3rHDhm','rxjYB3i','ls1NBg9I','z29Vz2XLq3nLq3G','Dg9WAwm','revfueLorLjbx0fqsv9lrvK','zw51Bq','ls0T','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Aw5PDgLHBgL6yxrPB24','ywXS','twLJCM9ZB2z0','C2v0vg9KB3m','v2fYBMLUzW','cGOTls0kcG','y2HHDgDWDa','BwfUDwfS','zgvSAw1PDgvY','BM90Awz5','DgLTzw91De1Z','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','BwLUAw1HEa','y2fSBeLK','C2HLBgXjza','C3rYAw5N','s2LSBfnOzwXS','Dg9KB3ncEvnLC3nPB24','lMPZB25J','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','BgLUzu51Bq','revfufnfruTFqvbjx0Tfwq','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Aw5ZDhj1y3rPB25Z','y29UDgvUDa','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','y2HHBMDL','Bg9JyxrPB24','zMLUywXnzxnZywDLvgv4Da','C3jJl3nOyxjLzc90ExbLCY50CW','w01duca','zMvUy2vK','CMvJzw5JEurHExm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','y2XPzw50x3nLy3jLDf9WB3n0','C3rYAxbbBNnP','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','BwfW','t1bftKfjx0fqsv9lrvK','C2nYDwjfBNzlzxLZ','y3jSzG','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','zgvSzwDHDgvKlxj1BI0','mc4WlJaUma','A2LSBa','iYmGu2TPBgW6ia','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','C29Tzq','yxjNCW','r0Lusfvcx0fdq0vtu19ut0TftG','yw5ZAte2','lNrTCc4','C2HLBgXqyxrO','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','zxHPDa','zMLSzvzLCNnPB25Z','B2zM','zxHPDcbJB2rLia','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','mtCZmdu4vu54CMDv','DxrTx3rLCM0','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','y29Kzq','B2XKvgv4Da','lMjPBG','D2LUmZi','BgLNAhq','A2LUza','AgfZ','Dgf2AwX5qxbPs2v5','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','lu5Vtg9NBW','lMDPzG','mJK2nde1m1fICxPIAa','C2vUze5VDgLMAwnHDgLVBG','AwDUB3jL','ChvIBgLZAgvKqxq','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','Aw5JBhvKzq','vw5HDxrOB3jPEMvKrxjYB3i','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','tuLosu1bwf9bueLFs0vz','DgfZA2TPBgW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','yxjYyxK','AxnbyNnVBhv0zq','ywXSB3DLzerPCNm','z29Vz2XLq3nLs2v5','oIbPBNzHBgLKihbYAw9YAxr5','y291BNrLCG','lNrZ','zw5K','Dg9VBhmVy2fSBa','mtCYlJe2lJaUma','B25oB3rPzMLJyxrPB24','uefusa','qvbjx0Tfwq','rMLSzu5LDW','otaWohPSBejiAG','lunVBw1HBMq','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Bwf4rw50CMLLCW','ChjVDg9JB2W','D3jPDgu','C3rKAw4','Dgv4Da','CMLWz3jLCa','ie9sia','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','yNvUlMXVy2S','zMLUza','BxrPBwvnCW','lM10CW','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C3bHD24','tunqihnLCNzLCIa','zw50CMLLCW','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','Agv4','AgfUzgXL','z2nSAwq','BMfTzq','DgLTzvTKyxrLDgLTzv0','BgfIzwW','C3rKB3v0rgvJB2rLCG','CMvNAw9U','AxnfCNjVCG','wefjx0fqsv9lrvK','B3jPz2LUvg9VBenHBgXjza','ygbGANnVBGO','tM8GAg92zxiGAw5MB3jTyxrPB24','ywjVCNrLza'];_0x770d=function(){return _0x56f78b;};return _0x770d();}import{spawn as _0x5e1cde}from'child_process';import{statSync}from'fs';import*as _0x2fe994 from'os';import*as _0x4b071c from'path';import{StringDecoder as _0x3d9f8a}from'string_decoder';import{stat}from'fs/promises';import*as _0x440db6 from'path';function isPathInside(_0xe4dc5e,_0x18c523){const _0x37b79a={_0x2fd73e:0x1b0,_0x274a24:0x6d,_0x44508a:0x6c,_0x177377:0x3a,_0x544983:0x189},_0x54a7ac={_0x549b8a:0x1ae,_0x3fb66f:0x99},_0x338b81={_0x4602ff:0x16c};function _0x275dea(_0x5063f6,_0x3cfdc4,_0x5e047c,_0x236d0f){return _0x55c88d(_0x5063f6-_0x338b81._0x4602ff,_0x5063f6- -0x35f,_0x236d0f,_0x236d0f-0x1de);}const _0xd1b5dc=_0x440db6['resolve'](_0xe4dc5e);function _0x2bff80(_0xe487ea,_0x110942,_0x504d3e,_0x51f8c0){return _0x1e45aa(_0xe487ea-_0x54a7ac._0x549b8a,_0x110942-_0x54a7ac._0x3fb66f,_0x504d3e- -0x5e0,_0x51f8c0);}const _0x30c4ec=_0x440db6['relative'](_0xd1b5dc,_0x18c523);return _0x30c4ec===''||!_0x30c4ec[_0x2bff80(-_0x37b79a._0x2fd73e,-0x164,-_0x37b79a._0x274a24,-_0x37b79a._0x44508a)]('..')&&!_0x440db6[_0x2bff80(_0x37b79a._0x177377,0x2af,_0x37b79a._0x544983,0x21e)](_0x30c4ec);}function resolveWorkspacePath(_0x2b9e40,_0x25e418){return resolveAllowedPath(_0x2b9e40,[],_0x25e418);}function resolveAllowedPath(_0x4d90c4,_0x3637f9,_0x414888){const _0x596553={_0x53edf9:0x284,_0x2e60cb:0x294,_0x361c92:0x125,_0x3e2012:0x339,_0xa4314f:0x1f9,_0x4684d9:0x158,_0x5e01d8:0x145,_0x2755b8:0xbc,_0x1c4063:0x5b,_0x17fb7f:0xe9,_0x28fefc:0x37},_0x4c0276={_0x3152c0:0x3e,_0x10d2fc:0x540},_0x29fc2f={_0x174506:0x15b,_0x48fe01:0x34d,_0x279641:0x1eb},_0x3570fd=_0x440db6[_0x244ceb(_0x596553._0x53edf9,_0x596553._0x2e60cb,0x158,_0x596553._0x361c92)](_0x4d90c4),_0x3d19d6=_0x440db6['resolve'](_0x3570fd,_0x414888);function _0x9d8faf(_0x1ed49a,_0x5ea4f9,_0x22dd4c,_0x372c97){return _0x55c88d(_0x1ed49a-_0x29fc2f._0x174506,_0x372c97- -_0x29fc2f._0x48fe01,_0x22dd4c,_0x372c97-_0x29fc2f._0x279641);}function _0x244ceb(_0x322984,_0x1bbba7,_0x52cadb,_0x583b19){return _0x1e45aa(_0x322984-0x1a9,_0x1bbba7-_0x4c0276._0x3152c0,_0x52cadb- -_0x4c0276._0x10d2fc,_0x1bbba7);}const _0x267e2e=[_0x3570fd,..._0x3637f9[_0x244ceb(0xfa,_0x596553._0x3e2012,_0x596553._0xa4314f,0x208)](_0x6e73e0=>_0x440db6['resolve'](_0x6e73e0))];if(_0x267e2e[_0x9d8faf(0xc8,_0x596553._0x4684d9,0x282,_0x596553._0x5e01d8)](_0x4e473d=>isPathInside(_0x4e473d,_0x3d19d6)))return _0x3d19d6;throw new ToolExecutionError(_0x9d8faf(_0x596553._0x2755b8,-_0x596553._0x1c4063,_0x596553._0x17fb7f,-_0x596553._0x28fefc)+_0x414888,{'path':_0x414888,'rootDir':_0x3570fd,'allowedDirs':_0x267e2e});}async function assertWorkspaceFile(_0x281eb5){const _0x1aa999={_0x2c6c50:0x10e,_0x4a3700:0x37};function _0x52b237(_0x47aa34,_0x542e1b,_0x1ddc89,_0x2a7c20){return _0x1e45aa(_0x47aa34-0x1ea,_0x542e1b-0xac,_0x47aa34- -0x671,_0x2a7c20);}const _0x54da2f=await stat(_0x281eb5);if(!_0x54da2f['isFile']())throw new ToolExecutionError(_0x52b237(-0xb,-0x8b,_0x1aa999._0x2c6c50,_0x1aa999._0x4a3700)+_0x281eb5,{'path':_0x281eb5});}function isProbablyBinary(_0x4dd40a){const _0x4b8d2a={_0x9de18d:0xeb,_0x3bd371:0x363,_0x151fe7:0xaa};function _0x457d75(_0x5c48cd,_0x32d712,_0x38a69f,_0x530abf){return _0x55c88d(_0x5c48cd-_0x4b8d2a._0x9de18d,_0x5c48cd- -_0x4b8d2a._0x3bd371,_0x530abf,_0x530abf-_0x4b8d2a._0x151fe7);}return _0x4dd40a[_0x457d75(0x195,0x1b4,0x19a,0x113)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x55c88d(0x39f,0x48c,0x58c,0x564)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x550a74,_0x23ab1e){const _0x5cbc89={_0x3e0ba2:0x42,_0xfbd61a:0xde,_0x537d97:0xb6,_0xb06643:0xbc,_0x57482b:0x9a,_0x130ddf:0x89,_0xdb1cf6:0x150,_0x52e7e9:0x6d,_0x22e07a:0xe,_0x5a3347:0x1d0,_0x44b2c1:0x43,_0x5e2aca:0x34d,_0x5db076:0x8c,_0x361508:0xa0,_0x3336cd:0x205,_0x53e518:0xb0},_0x5755ee={_0x3aa970:0x6cc},_0x28d622={_0x816c8a:0x5f5};function _0x5d7afd(_0x403e63,_0x378b4c,_0x693ae1,_0x2cbb16){return _0x1e45aa(_0x403e63-0x1d2,_0x378b4c-0x11b,_0x2cbb16- -_0x28d622._0x816c8a,_0x403e63);}const _0x117d51={...process[_0x278385(-_0x5cbc89._0x3e0ba2,_0x5cbc89._0xfbd61a,_0x5cbc89._0x537d97,_0x5cbc89._0xb06643)],..._0x550a74??{}};function _0x278385(_0x25346c,_0x582811,_0x86d7c2,_0x1b0ad3){return _0x1e45aa(_0x25346c-0x45,_0x582811-0xbe,_0x25346c- -_0x5755ee._0x3aa970,_0x582811);}if(_0x23ab1e['length']===0x0)return _0x117d51;if(_0x2fe994[_0x5d7afd(0xd6,0x2e6,_0x5cbc89._0x57482b,0x204)]()===_0x278385(_0x5cbc89._0x130ddf,0x16e,0x1fa,_0x5cbc89._0xdb1cf6)){const _0x56eea6=new Set(_0x23ab1e[_0x278385(_0x5cbc89._0x52e7e9,_0x5cbc89._0x22e07a,_0x5cbc89._0x5a3347,-_0x5cbc89._0x44b2c1)](_0x217ed3=>_0x217ed3['toLowerCase']()));for(const _0x124916 of Object[_0x5d7afd(0x31b,_0x5cbc89._0x5e2aca,0x30c,0x23c)](_0x117d51)){if(_0x56eea6[_0x278385(_0x5cbc89._0x5db076,0x1c,0x6a,-0xb2)](_0x124916[_0x278385(-_0x5cbc89._0x361508,-_0x5cbc89._0x3336cd,_0x5cbc89._0x53e518,_0x5cbc89._0x44b2c1)]()))delete _0x117d51[_0x124916];}}else{for(const _0xf7d397 of _0x23ab1e)delete _0x117d51[_0xf7d397];}return _0x117d51;}function mapSpawnError(_0x1b5e6a,_0x5053df){const _0x37abb5={_0x545963:0x303,_0x1ab98b:0x28d,_0x32bf16:0x671,_0x8bb900:0x763},_0x2382ea={_0xb3ac51:0x79},_0x415018={_0x4ad017:0xc2,_0x270647:0xfa};if(isErrnoException(_0x1b5e6a)&&_0x1b5e6a[_0x22c8c1(0x31b,_0x37abb5._0x545963,0x392,_0x37abb5._0x1ab98b)]==='ENOENT')return new ToolExecutionError(_0xea2b1f(0x7ca,0x961,0x7ea,0x8c9)+_0x5053df[_0xea2b1f(_0x37abb5._0x32bf16,0x5ef,_0x37abb5._0x8bb900,0x5f4)],_0x5053df);function _0x22c8c1(_0x128244,_0x3e70d6,_0x715dd1,_0x576bfa){return _0x1e45aa(_0x128244-_0x415018._0x4ad017,_0x3e70d6-_0x415018._0x270647,_0x576bfa- -0x4c5,_0x128244);}function _0xea2b1f(_0x1b1836,_0x497812,_0x22db99,_0x2c80bf){return _0x55c88d(_0x1b1836-0x1d0,_0x22db99-0x2cc,_0x497812,_0x2c80bf-_0x2382ea._0xb3ac51);}return new ToolExecutionError(_0x1b5e6a instanceof Error?_0x1b5e6a['message']:String(_0x1b5e6a),_0x5053df);}function shellExists(_0x2650e1){const _0x1b1318={_0x16d197:0xe1,_0x2c3680:0x57,_0x475471:0x464,_0xe14d93:0x5bb},_0x378158={_0x9f2358:0x755};function _0x4092ed(_0x40b756,_0x18b90f,_0x59a530,_0x369874){return _0x1e45aa(_0x40b756-0x148,_0x18b90f-0x1b,_0x59a530-0x38,_0x40b756);}function _0x46708a(_0x3a8047,_0x439102,_0x4473fd,_0x4b7c8c){return _0x1e45aa(_0x3a8047-0x16e,_0x439102-0x195,_0x4b7c8c- -_0x378158._0x9f2358,_0x3a8047);}try{const _0x5e0483=statSync(_0x2650e1);return _0x5e0483[_0x46708a(-_0x1b1318._0x16d197,-0x65,0x99,_0x1b1318._0x2c3680)]()&&(_0x5e0483[_0x4092ed(_0x1b1318._0x475471,0x5a8,_0x1b1318._0xe14d93,0x69e)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x7471dc){const _0xbdcde1={_0xd2f47b:0x66c,_0x504bf8:0x5e8,_0x316c2e:0x4f6,_0x165250:0x3c0,_0xb3152a:0x380,_0x5284c0:0x579,_0x39c2da:0x3d1,_0x432c6a:0x47c,_0x5f3dba:0x502},_0x3983d4={_0x1ef19d:0xd6,_0x2fc13c:0x2};if(_0x7471dc)return _0x7471dc;if(_0x2fe994['platform']()===_0x2abcfe(0x7e6,_0xbdcde1._0xd2f47b,_0xbdcde1._0x504bf8,0x6f1))return process['env']['ComSpec']||_0x48a436(0x38f,0x409,_0xbdcde1._0x316c2e,_0xbdcde1._0x165250);const _0x2bd38c=['/bin/bash',_0x48a436(0x41f,0x4a3,_0xbdcde1._0xb3152a,_0xbdcde1._0x5284c0),'/usr/bin/bash',_0x48a436(_0xbdcde1._0x39c2da,0x382,0x2e9,_0xbdcde1._0x432c6a)];function _0x2abcfe(_0x5c2439,_0x569f4a,_0x13b2aa,_0x2ef65d){return _0x1e45aa(_0x5c2439-0x13c,_0x569f4a-0xaa,_0x569f4a- -0xe9,_0x5c2439);}for(const _0x2f3b87 of _0x2bd38c){if(shellExists(_0x2f3b87))return _0x2f3b87;}function _0x48a436(_0x200580,_0x599db4,_0x2697b4,_0x41587f){return _0x55c88d(_0x200580-_0x3983d4._0x1ef19d,_0x200580- -0x187,_0x599db4,_0x41587f-_0x3983d4._0x2fc13c);}const _0x2648e4=process[_0x2abcfe(0x5dc,0x5a1,_0xbdcde1._0x5f3dba,0x573)]['SHELL'];if(_0x2648e4&&shellExists(_0x2648e4))return _0x2648e4;return'/bin/bash';}function buildShellArgs(_0x2ebd53,_0x51b927){const _0x2e11d4={_0x3360a0:0x438,_0x9dc26d:0x4ed,_0x526b9e:0x3f7,_0x59067c:0x613,_0x5739b3:0x65f,_0x29cd19:0xa0,_0x222ad8:0x116,_0x3c91b0:0x132,_0x4fee61:0x22c,_0xc5977f:0x341},_0x3a219d={_0xdd4740:0xd7},_0xc13908={_0x365c82:0x464,_0x14fd7a:0x14a};function _0x40c761(_0x50feab,_0x1e5f96,_0x1dec6,_0x3e8412){return _0x55c88d(_0x50feab-0x18a,_0x1dec6- -_0xc13908._0x365c82,_0x1e5f96,_0x3e8412-_0xc13908._0x14fd7a);}function _0xef9a8b(_0x6c0868,_0xe1a99b,_0x49bfdc,_0x3eafc7){return _0x55c88d(_0x6c0868-_0x3a219d._0xdd4740,_0x6c0868- -0x6c,_0xe1a99b,_0x3eafc7-0x1e);}if(_0x2fe994['platform']()===_0xef9a8b(_0x2e11d4._0x3360a0,_0x2e11d4._0x9dc26d,0x4bc,_0x2e11d4._0x526b9e)){const _0x5e60f7=/cmd(\.exe)?$/i[_0xef9a8b(0x4f3,_0x2e11d4._0x59067c,0x5b1,_0x2e11d4._0x5739b3)](_0x51b927);return _0x5e60f7?['/d','/s','/c',_0x2ebd53]:[_0x40c761(_0x2e11d4._0x29cd19,-_0x2e11d4._0x222ad8,0x46,0xfa),_0x40c761(-0x125,-0x149,-_0x2e11d4._0x3c91b0,-_0x2e11d4._0x4fee61),_0xef9a8b(0x45a,0x457,0x3fe,_0x2e11d4._0xc5977f),_0x2ebd53];}return['-c',_0x2ebd53];}function resolveWorkingDirectory(_0x5ca465,_0x34d708,_0x30a544){const _0xd7ea41={_0x336904:0x55,_0x107e64:0x1f,_0x11dd0e:0x502,_0x4c3916:0x40d},_0x352eaa={_0x3a91c0:0x1ab,_0x5dc028:0x383},_0x6078fa={_0x3686f8:0xe0},_0x458d40=resolveAllowedPath(_0x34d708,_0x30a544,_0x5ca465??'.');function _0x4f4def(_0x2b3a9e,_0x3d0d8f,_0x59ca13,_0x16fa0b){return _0x1e45aa(_0x2b3a9e-_0x6078fa._0x3686f8,_0x3d0d8f-0x1da,_0x59ca13- -0x198,_0x2b3a9e);}function _0x350cdf(_0x3e54ae,_0x51af70,_0x3959c9,_0x19debd){return _0x55c88d(_0x3e54ae-_0x352eaa._0x3a91c0,_0x51af70- -_0x352eaa._0x5dc028,_0x19debd,_0x19debd-0x1a3);}try{const _0x3d82ff=statSync(_0x458d40);if(!_0x3d82ff['isDirectory']())throw new ToolExecutionError(_0x350cdf(-0x182,-_0xd7ea41._0x336904,_0xd7ea41._0x107e64,-0x16d)+_0x458d40,{'cwd':_0x458d40});return _0x458d40;}catch(_0x5d52a2){if(_0x5d52a2 instanceof ToolExecutionError)throw _0x5d52a2;throw new ToolExecutionError(_0x4f4def(_0xd7ea41._0x11dd0e,_0xd7ea41._0x4c3916,0x459,0x38f)+_0x458d40,{'cwd':_0x458d40});}}function appendChunk(_0x25a286,_0x39cf2c,_0x5733fd,_0xb7e112,_0x4906c3){const _0x2d49fe={_0x5e8a74:0x3c7,_0x1c2d06:0x4ec,_0x2885d3:0x40b,_0xe4a269:0x5ca,_0x12c8b3:0x51a,_0x4ef166:0x443,_0xbc147c:0x3e3,_0x50fddd:0x5c5},_0x3b072a={_0x56050b:0x96,_0x59a45a:0x1f1},_0x314129={_0x2df1a4:0x78,_0x38cfa2:0xa3},_0x36bfaf=_0xb7e112?stripAnsiAndControls(_0x5733fd):_0x5733fd;if(_0x36bfaf[_0x432711(_0x2d49fe._0x5e8a74,_0x2d49fe._0x1c2d06,_0x2d49fe._0x2885d3,0x406)]===0x0)return;_0x25a286[_0xfd2bff(_0x2d49fe._0xe4a269,_0x2d49fe._0x12c8b3,0x5e5,_0x2d49fe._0x4ef166)](_0x36bfaf);function _0x432711(_0x492e3e,_0x1f759b,_0x530bf8,_0x2c5787){return _0x55c88d(_0x492e3e-_0x314129._0x2df1a4,_0x492e3e- -0x16a,_0x2c5787,_0x2c5787-_0x314129._0x38cfa2);}function _0xfd2bff(_0x3716c2,_0x2c3fa9,_0x575eda,_0x4a4599){return _0x1e45aa(_0x3716c2-_0x3b072a._0x56050b,_0x2c3fa9-_0x3b072a._0x59a45a,_0x2c3fa9- -0x188,_0x4a4599);}_0x39cf2c[_0xfd2bff(_0x2d49fe._0xbc147c,0x51a,0x437,_0x2d49fe._0x50fddd)](_0x36bfaf),_0x4906c3();}function createBashTool(_0xbebfe5={}){const _0x3e60be={_0x51cdfd:0x267,_0x2bc49c:0x260,_0x3255e2:0x6f3,_0x34d435:0x6e7,_0x219de4:0x81a,_0x149646:0x738,_0x47bf92:0x6fb,_0x4b6ca3:0x790,_0x12b3a8:0x80c,_0x22244f:0x915,_0x2aa17d:0x2d5,_0x554eb1:0x146,_0x4c31b8:0x24b,_0x456ed8:0x734,_0x2f0cd0:0x782,_0x15442f:0x7b1,_0x4ebc7c:0x391,_0x1a76a8:0x29d,_0x391eea:0x251,_0x5d40e8:0x7c4,_0x11600c:0x839,_0x36f148:0x678,_0x1dafe6:0xe7,_0x589c9e:0x198,_0x41bc52:0x4b6,_0x5e36ae:0x6f3,_0x52e929:0xad,_0x4c2f4a:0x87,_0x45e627:0x15b,_0x422f48:0xa5,_0x42093d:0x8b0,_0x1c6cda:0x840},_0x195f42={_0x1987ba:0x20a,_0x30f129:0x355,_0xb1133e:0x52e,_0x5054bb:0x3eb,_0x6b5748:0x3b0,_0x402239:0x2cd,_0x3b647f:0x365,_0xd0e1a6:0x616,_0x28d103:0x30b,_0x4945e0:0x19e,_0x162492:0xaf,_0x3a041d:0x226,_0x143e39:0x2c4,_0x20a3ee:0x486,_0x44595c:0x530,_0x4919a6:0x16e,_0x42e21a:0x176,_0x338ccf:0x537,_0x233130:0x40b,_0x3179fa:0x3c9,_0x11e27a:0x33f,_0x2565c3:0x34c,_0x4068ae:0x374,_0x2d2ad7:0x2fc,_0x50390c:0x363,_0x5d35d2:0x43a,_0x344ef9:0x496,_0x237579:0x454,_0x328d66:0x33e,_0x4f47b:0x22a,_0x5cd426:0x332,_0x57f450:0x5a0,_0x2617de:0x487,_0x5bcf35:0x449,_0x14858d:0x442,_0x2d572a:0x5ba,_0x39928e:0x50a,_0x1277cf:0xd1,_0xf36a9e:0x4af,_0x42b740:0x60f,_0x2f36db:0xc9,_0x39c784:0x137,_0x2c9b5e:0x17a,_0x15b03f:0x186,_0x1c3a47:0x218,_0x194975:0xe5,_0x3e6fb9:0x40f,_0x13695f:0x468,_0x3aca09:0x277,_0x2fa26a:0x2fd,_0x513846:0x272,_0x20493d:0x1a2,_0x5bd1f3:0x21f,_0x5b873b:0xad,_0x34fa9a:0x17c,_0xda27bb:0x514,_0x9b716c:0x338,_0x1eece1:0x20d,_0x519aee:0x2fb,_0x2d7bde:0x269,_0x4a92a7:0x168,_0x5c6e13:0x2a5,_0x1a4768:0x4ab,_0x24f505:0x3db,_0x26d7b2:0x2c0,_0x36c7b8:0x4a9,_0x5cfb05:0x341,_0x5f5de7:0x49d,_0xd406a6:0x5ca,_0x2d8cb1:0x504,_0x6514c8:0x31f,_0x1911c6:0x276,_0x2225bd:0x261,_0x4b8df6:0x113,_0x1bc80c:0x283,_0x2fbb20:0x317,_0x397dc0:0xb7,_0x53a167:0x1f4,_0x3bedd5:0x9a,_0x39339b:0x17e,_0x4cbe09:0x3be,_0x187e13:0x378,_0x4a046a:0x4bd,_0x1383cb:0x6ec,_0x321ab9:0x5a4,_0xf98ec6:0x508,_0x27ca5a:0x4a2,_0x4d2ffb:0x519,_0x22ab34:0x520,_0xbbb849:0x5dd,_0x5f3175:0x1e4,_0x672214:0x208,_0x322dee:0x46c,_0x3a5f61:0x423,_0x1f650b:0x3e1,_0x12240d:0x4c9,_0x9a4090:0xe7,_0x2ed459:0x252,_0x1e76ec:0x17b,_0x449284:0x2e9,_0x43bf5f:0x2b8,_0x287840:0x402,_0x3cd365:0x490,_0x27b0ea:0x446,_0x2a8cd8:0x450,_0x2f399a:0x4e9,_0x1d631f:0x370,_0x33affb:0x32d,_0x4e8330:0x2cb,_0x3f58ea:0x3c8,_0x5216be:0x522,_0x3e7aa5:0x411,_0x2c25cc:0x3cd,_0x58fbef:0x1fc,_0x247dda:0x353,_0x148202:0x3c0,_0x18fed2:0x227,_0x2cb6a7:0x2f5},_0x17ea0e={_0x453b07:0x172},_0xca3899={_0x4204bf:0x78b,_0x31d7b0:0x6d6},_0x5c9aaa={_0x3525e5:0x1df,_0x22dd47:0x1f2},_0x29b371={_0x2b9d8f:0x70,_0xa4db27:0x162},_0x1f13f6={_0x5e2b60:0x17e},_0x6893cd=_0x4b071c[_0x21be36(_0x3e60be._0x51cdfd,0x2c2,_0x3e60be._0x2bc49c,0x1ae)](_0xbebfe5[_0x21be36(0x184,0x35a,0x112,0x204)]??process[_0x128166(0x4bf,0x58d,_0x3e60be._0x3255e2,_0x3e60be._0x34d435)]()),_0x103b0f=_0xbebfe5[_0x128166(_0x3e60be._0x219de4,_0x3e60be._0x149646,_0x3e60be._0x47bf92,_0x3e60be._0x4b6ca3)]??[];function _0x128166(_0x1bbb10,_0x2e86fc,_0x412e0c,_0x3c1ccd){return _0x1e45aa(_0x1bbb10-_0x1f13f6._0x5e2b60,_0x2e86fc-0x149,_0x2e86fc- -0x32,_0x412e0c);}const _0x4b158a=_0xbebfe5[_0x128166(_0x3e60be._0x12b3a8,0x78f,_0x3e60be._0x22244f,0x902)]??DEFAULT_TIMEOUT_MS,_0x15bc55=_0xbebfe5[_0x21be36(_0x3e60be._0x2aa17d,_0x3e60be._0x554eb1,0x251,_0x3e60be._0x4c31b8)]??!![],_0x11a0fc=_0xbebfe5[_0x128166(0x783,0x75e,_0x3e60be._0x456ed8,0x816)]??_0x128166(0x8f3,_0x3e60be._0x2f0cd0,0x78d,_0x3e60be._0x15442f),_0xb33168=_0xbebfe5[_0x21be36(_0x3e60be._0x4ebc7c,0x164,_0x3e60be._0x1a76a8,_0x3e60be._0x391eea)]??[];function _0x21be36(_0x4373d4,_0x25f0a3,_0x171a47,_0x27b83f){return _0x55c88d(_0x4373d4-_0x29b371._0x2b9d8f,_0x27b83f- -0x239,_0x171a47,_0x27b83f-_0x29b371._0xa4db27);}const _0x21ad08=_0xbebfe5[_0x128166(0x76d,0x76d,0x65d,0x8ce)];return defineTool({'name':_0x11a0fc,'description':_0xbebfe5[_0x128166(0x656,_0x3e60be._0x5d40e8,_0x3e60be._0x11600c,_0x3e60be._0x36f148)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':'string'},'description':{'type':'string','description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20execution.\x20Be\x20specific,\x20e.g.\x20\x27Run\x20the\x20auth\x20tests\x20to\x20verify\x20the\x20token-refresh\x20fix\x27\x20rather\x20than\x20\x27run\x20tests\x27.'},'cwd':{'type':_0x21be36(_0x3e60be._0x1dafe6,0x233,_0x3e60be._0x589c9e,0x235)},'timeoutMs':{'type':_0x128166(0x5ca,0x6be,0x7ce,0x6a4)},'ignoreOutput':{'type':_0x128166(_0x3e60be._0x41bc52,0x613,0x52c,_0x3e60be._0x5e36ae)},'runInBackground':{'type':_0x21be36(_0x3e60be._0x52e929,_0x3e60be._0x4c2f4a,0x24a,_0x3e60be._0x45e627)}},'required':[_0x21be36(-0x87,0x1ab,-0x4,_0x3e60be._0x422f48),_0x128166(_0x3e60be._0x42093d,0x7c4,0x777,_0x3e60be._0x1c6cda)]},async *'execute'(_0x37489f,_0x3a442b){const _0x317fcc={_0x2b1709:0x198,_0x45368c:0x7fb,_0x6bd2ed:0x727,_0x3b905f:0x2a3},_0xa92a76={_0x4b1d28:0x3f1,_0x468e9f:0x8cd,_0xc1372e:0x7a8,_0x4ce401:0x750},_0x4d286b={_0x466b12:0x55a,_0x237414:0x635,_0x14b9d5:0x5e6,_0x263079:0x31a,_0x5288ad:0x344,_0x46fe93:0x446,_0x2cc382:0x38a},_0x1d397c={_0x5873b7:0x390,_0x573ac3:0x3f6,_0xb363fc:0x12b,_0x19f03f:0x3fe,_0x2aeb90:0x282},_0xc3aac0={_0x1a7590:0x2f},_0x101783={_0x58bf3c:0x2f,_0x12a338:0x193},_0x2d72be={_0x105096:0x1b1,_0x5eb5b3:0x34c,_0x588266:0x16d},_0x385f93={_0x1b66c1:0x19a,_0x3e627a:0x228},_0xf43455=_0x37489f[_0xf180f8(_0x195f42._0x1987ba,0x2f8,_0x195f42._0x30f129,0x32a)]??_0x4b158a;if(!Number['isFinite'](_0xf43455)||_0xf43455<0x1)throw new ToolExecutionError(_0x3c837e(_0x195f42._0xb1133e,_0x195f42._0x5054bb,0x351,_0x195f42._0x6b5748),{'command':_0x37489f[_0x3c837e(0x382,_0x195f42._0x402239,_0x195f42._0x3b647f,0x2f0)]});throwIfAborted(_0x3a442b[_0x3c837e(0x611,0x5a4,0x658,_0x195f42._0xd0e1a6)]);const _0x29f1bb=resolveWorkingDirectory(_0x37489f[_0xf180f8(_0x195f42._0x28d103,_0x195f42._0x4945e0,_0x195f42._0x162492,0xfb)],_0x6893cd,_0x103b0f),_0x5a9943=_0x37489f[_0xf180f8(_0x195f42._0x3a041d,0x27f,0x304,_0x195f42._0x143e39)]??![],_0x337c90=resolveDefaultShell(_0xbebfe5[_0x3c837e(0x55d,_0x195f42._0x20a3ee,0x392,_0x195f42._0x44595c)]),_0x5be6a6=buildShellArgs(_0x37489f[_0xf180f8(0x25e,_0x195f42._0x4919a6,_0x195f42._0x42e21a,0xcd)],_0x337c90),_0x233d27=_0x2fe994[_0x3c837e(0x424,_0x195f42._0x338ccf,_0x195f42._0x233130,_0x195f42._0x3179fa)]()===_0x3c837e(_0x195f42._0x11e27a,0x493,0x439,0x612);if(_0x37489f[_0x3c837e(0x36b,_0x195f42._0x2565c3,0x38e,_0x195f42._0x4068ae)]){if(!_0x21ad08)throw new ToolExecutionError(_0x3c837e(_0x195f42._0x2d2ad7,_0x195f42._0x50390c,0x397,0x406),{'command':_0x37489f['command']});throwIfAborted(_0x3a442b['signal']);let _0x4e038d;try{_0x4e038d=_0x5e1cde(_0x337c90,_0x5be6a6,{'cwd':_0x29f1bb,'env':buildChildEnv(_0xbebfe5[_0x3c837e(_0x195f42._0x5d35d2,0x3c8,_0x195f42._0x344ef9,_0x195f42._0x237579)],_0xb33168),'stdio':[_0xf180f8(0x3fc,_0x195f42._0x328d66,_0x195f42._0x4f47b,_0x195f42._0x5cd426),_0xf180f8(_0x195f42._0x57f450,0x442,_0x195f42._0x2617de,_0x195f42._0x5bcf35),_0xf180f8(0x38f,_0x195f42._0x14858d,_0x195f42._0x2d572a,_0x195f42._0x39928e)],'shell':![],'windowsHide':!![],'detached':!_0x233d27});}catch(_0x1c867a){throw mapSpawnError(_0x1c867a,{'command':_0x37489f[_0xf180f8(0x105,_0x195f42._0x4919a6,0xea,_0x195f42._0x1277cf)],'cwd':_0x29f1bb,'shellPath':_0x337c90});}let _0x484e8e;try{_0x484e8e=_0x21ad08[_0x3c837e(_0x195f42._0xf36a9e,0x4c5,0x42b,_0x195f42._0x42b740)]({'child':_0x4e038d,'command':_0x37489f[_0xf180f8(_0x195f42._0x2f36db,0x16e,_0x195f42._0x39c784,_0x195f42._0x2c9b5e)],'cwd':_0x29f1bb,'stripAnsi':_0x15bc55});}catch(_0x5e5ba0){_0x4e038d[_0xf180f8(_0x195f42._0x15b03f,_0x195f42._0x1c3a47,_0x195f42._0x194975,0x157)](_0xf180f8(_0x195f42._0x3e6fb9,0x387,0x3c8,_0x195f42._0x13695f),()=>{});try{killProcessGroup(_0x4e038d,_0x233d27);}catch{}throw _0x5e5ba0;}return createToolOutput(_0xf180f8(_0x195f42._0x3aca09,0x39e,0x40b,0x21f)+_0x484e8e[_0xf180f8(0x18f,_0x195f42._0x2fa26a,0x27f,0x455)]+_0xf180f8(_0x195f42._0x513846,_0x195f42._0x20493d,0x252,0x31e)+(_0x484e8e[_0xf180f8(-0x10,0x163,_0x195f42._0x5bd1f3,_0x195f42._0x5b873b)]??'?')+_0xf180f8(0x2d1,_0x195f42._0x34fa9a,0x5f,0xc0),{'shellId':_0x484e8e[_0x3c837e(0x523,0x45c,_0x195f42._0xda27bb,0x3da)],'status':_0x484e8e['status'],'command':_0x484e8e[_0x3c837e(0x2dd,0x2cd,_0x195f42._0x9b716c,0x1b1)],'description':_0x37489f['description'],'cwd':_0x484e8e[_0x3c837e(0x3eb,_0x195f42._0x2fa26a,0x2a3,0x3ed)],'pid':_0x484e8e[_0x3c837e(_0x195f42._0x1eece1,0x2c2,0x27f,0x37b)]??null});}let _0x4fef73;try{_0x4fef73=_0x5e1cde(_0x337c90,_0x5be6a6,{'cwd':_0x29f1bb,'env':buildChildEnv(_0xbebfe5[_0xf180f8(_0x195f42._0x519aee,_0x195f42._0x2d7bde,_0x195f42._0x4a92a7,0x173)],_0xb33168),'stdio':_0x5a9943?[_0xf180f8(0x33a,0x33e,_0x195f42._0x5c6e13,0x21f),_0xf180f8(_0x195f42._0x1a4768,0x33e,_0x195f42._0x24f505,_0x195f42._0x26d7b2),_0xf180f8(_0x195f42._0x36c7b8,0x33e,0x2ef,_0x195f42._0x5cfb05)]:[_0x3c837e(0x491,_0x195f42._0x5f5de7,0x618,0x342),_0x3c837e(0x4b3,0x5a1,0x569,_0x195f42._0xd406a6),_0xf180f8(0x3b9,0x442,_0x195f42._0x2d8cb1,0x4f9)],'shell':![],'windowsHide':!![],'detached':!_0x233d27});}catch(_0x9571fa){throw mapSpawnError(_0x9571fa,{'command':_0x37489f['command'],'cwd':_0x29f1bb,'shellPath':_0x337c90});}const _0x4c1362=[],_0x4dacb8=[],_0x2b3581=new _0x3d9f8a(_0xf180f8(_0x195f42._0x6514c8,_0x195f42._0x1911c6,_0x195f42._0x2225bd,_0x195f42._0x4b8df6)),_0x35c907=new _0x3d9f8a('utf8');function _0x3c837e(_0x2d3ee7,_0x21611f,_0x3f2a20,_0x21df87){return _0x21be36(_0x2d3ee7-_0x385f93._0x1b66c1,_0x21611f-0x127,_0x3f2a20,_0x21611f-_0x385f93._0x3e627a);}let _0xcdb3ec,_0x9b8592=![],_0x1fbd5f;const _0x1b81b6=()=>{if(!_0xcdb3ec)return;const _0x579a7d=_0xcdb3ec;_0xcdb3ec=void 0x0,_0x579a7d();},_0x2cc6e5=async()=>{if(_0x4dacb8[_0x411c7c(-0x19,0x75,_0x5c9aaa._0x3525e5,_0x5c9aaa._0x22dd47)]>0x0||_0x9b8592)return;function _0x411c7c(_0x37d78c,_0x2cfd7d,_0x35cddc,_0x2fb352){return _0xf180f8(_0x37d78c-_0x2d72be._0x105096,_0x2cfd7d- -_0x2d72be._0x5eb5b3,_0x35cddc-_0x2d72be._0x588266,_0x35cddc);}await new Promise(_0x481a7c=>{_0xcdb3ec=_0x481a7c;});},_0x101718=_0x1461b0=>{const _0x55ed9b={_0x4153f8:0x1c7};function _0x44b8b1(_0x1b3631,_0x4600fb,_0x49a284,_0x7beb13){return _0xf180f8(_0x1b3631-0x1f,_0x49a284-0x37c,_0x49a284-_0x55ed9b._0x4153f8,_0x1b3631);}appendChunk(_0x4c1362,_0x4dacb8,_0x2b3581[_0x44b8b1(_0xca3899._0x4204bf,0x693,_0xca3899._0x31d7b0,0x7e8)](_0x1461b0),_0x15bc55,_0x1b81b6);},_0x45adbc=_0x49683b=>{const _0x11dfcb={_0x210a91:0x4b3,_0x1e306a:0xe3};function _0x528ff6(_0x3fd884,_0x437947,_0x4d5793,_0x2d681c){return _0x3c837e(_0x3fd884-0x169,_0x3fd884- -_0x11dfcb._0x210a91,_0x4d5793,_0x2d681c-_0x11dfcb._0x1e306a);}appendChunk(_0x4c1362,_0x4dacb8,_0x35c907[_0x528ff6(0x6,0xac,-_0x17ea0e._0x453b07,0x5)](_0x49683b),_0x15bc55,_0x1b81b6);};_0x4fef73[_0x3c837e(0x28c,0x2ac,_0x195f42._0x1bc80c,_0x195f42._0x2fbb20)]?.['on'](_0xf180f8(_0x195f42._0x397dc0,_0x195f42._0x53a167,_0x195f42._0x3bedd5,_0x195f42._0x39339b),_0x101718);function _0xf180f8(_0x407dd9,_0x57b42a,_0x3dd7bf,_0x25122e){return _0x21be36(_0x407dd9-_0x101783._0x58bf3c,_0x57b42a-_0x101783._0x12a338,_0x25122e,_0x57b42a-0xc9);}_0x4fef73[_0x3c837e(_0x195f42._0x4cbe09,_0x195f42._0x187e13,_0x195f42._0x4a046a,0x4d9)]?.['on'](_0x3c837e(0x21b,0x353,0x244,0x48f),_0x45adbc);let _0xf259e7=![],_0xacc50f;const _0x26b5ba=addAbortListener(_0x3a442b[_0x3c837e(_0x195f42._0x1383cb,_0x195f42._0x321ab9,_0x195f42._0xf98ec6,_0x195f42._0x27ca5a)],()=>{const _0x53399a={_0x4b8851:0x1ae,_0x293521:0x1a9};_0x1fbd5f=toAbortError(_0x3a442b[_0x1ae4cb(0x2d1,_0x1d397c._0x5873b7,0x32d,_0x1d397c._0x573ac3)][_0x1ae4cb(0x395,_0x1d397c._0xb363fc,_0x1d397c._0x19f03f,_0x1d397c._0x2aeb90)]);function _0xd295cd(_0x5bc6ec,_0xe58365,_0x3c1f50,_0x133a1d){return _0xf180f8(_0x5bc6ec-_0xc3aac0._0x1a7590,_0x5bc6ec- -0x108,_0x3c1f50-0xdd,_0x3c1f50);}function _0x1ae4cb(_0x282008,_0x4940dd,_0x3d33e3,_0x34a57d){return _0x3c837e(_0x282008-0x1da,_0x34a57d- -_0x53399a._0x4b8851,_0x282008,_0x34a57d-_0x53399a._0x293521);}_0x9b8592=!![],_0x1b81b6();try{killProcessGroup(_0x4fef73,_0x233d27);}catch{}});try{const _0xae5ff6=new Promise((_0x39e722,_0xaff61d)=>{const _0x48a0b3={_0x48ded9:0x3d2},_0x5b52d8={_0xefc24b:0x195},_0x256e57={_0x528864:0x6e,_0x4e72eb:0x241},_0x2d57a8={_0x4caf26:0x50},_0x509c13={_0x435ae1:0x268},_0x1446d0=()=>{function _0x512421(_0x175287,_0xa207e9,_0x449c1f,_0x26b7de){return _0x3bdd(_0x26b7de-_0x509c13._0x435ae1,_0xa207e9);}function _0x59ed10(_0x5edede,_0x390a1c,_0x4cf724,_0x42451d){return _0x3bdd(_0x5edede-_0x2d57a8._0x4caf26,_0x390a1c);}_0xacc50f&&(clearTimeout(_0xacc50f),_0xacc50f=void 0x0),_0x4fef73[_0x512421(0x4fe,_0x4d286b._0x466b12,_0x4d286b._0x237414,0x61b)](_0x512421(_0x4d286b._0x14b9d5,0x739,0x5b5,0x677),_0x524fcc),_0x4fef73[_0x59ed10(0x403,_0x4d286b._0x263079,0x56b,_0x4d286b._0x5288ad)](_0x59ed10(0x4d3,_0x4d286b._0x46fe93,_0x4d286b._0x2cc382,0x45a),_0x3f54da);};function _0x150995(_0x677414,_0x182d1f,_0x39f969,_0x843967){return _0x3c837e(_0x677414-_0x256e57._0x528864,_0x39f969-_0x256e57._0x4e72eb,_0x843967,_0x843967-0x19e);}const _0x524fcc=_0x102692=>{_0x9b8592=!![],_0x1b81b6(),_0x1446d0(),_0xaff61d(_0x1fbd5f??_0x102692);};function _0x1203dd(_0x34461c,_0x3ac093,_0x6b25fa,_0x75b8f){return _0x3c837e(_0x34461c-0x1b6,_0x34461c- -0x1df,_0x3ac093,_0x75b8f-_0x5b52d8._0xefc24b);}const _0x3f54da=(_0x4840f0,_0xe9b250)=>{const _0x5d4c92={_0x3a1a71:0x15a};_0xf259e7=!![];function _0xed4572(_0x46a5e3,_0x40b68a,_0x5a9c9d,_0x437538){return _0x3bdd(_0x46a5e3-_0x5d4c92._0x3a1a71,_0x437538);}appendChunk(_0x4c1362,_0x4dacb8,_0x2b3581[_0xed4572(0x530,0x414,0x55a,_0xa92a76._0x4b1d28)](),_0x15bc55,_0x1b81b6);function _0x329f71(_0x48ff18,_0x362961,_0x34fe48,_0x22c7a8){return _0x3bdd(_0x362961-_0x48a0b3._0x48ded9,_0x22c7a8);}appendChunk(_0x4c1362,_0x4dacb8,_0x35c907[_0x329f71(_0xa92a76._0x468e9f,_0xa92a76._0xc1372e,_0xa92a76._0x4ce401,0x626)](),_0x15bc55,_0x1b81b6),_0x9b8592=!![],_0x1b81b6(),_0x1446d0();if(_0x1fbd5f){_0xaff61d(_0x1fbd5f);return;}_0x39e722({'code':_0x4840f0,'signal':_0xe9b250});};_0xacc50f=setTimeout(()=>{const _0x191b13={_0xee29a8:0x35c};_0x9b8592=!![],_0x1b81b6();function _0x56be84(_0x10e835,_0x929602,_0x352433,_0x4268a0){return _0x3bdd(_0x929602-_0x191b13._0xee29a8,_0x352433);}_0x1446d0();try{killProcessGroup(_0x4fef73,_0x233d27);}catch{}_0xaff61d(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0xf43455+_0x56be84(0x687,0x6ad,0x56a,0x6d6),{'command':_0x37489f['command'],'cwd':_0x29f1bb,'shellPath':_0x337c90,'timeoutMs':_0xf43455,'timedOut':!![]}));},_0xf43455),_0x4fef73[_0x1203dd(_0x317fcc._0x2b1709,0x18a,0x18d,0x39)](_0x150995(_0x317fcc._0x45368c,0x627,_0x317fcc._0x6bd2ed,0x666),_0x524fcc),_0x4fef73['once'](_0x1203dd(0x37b,_0x317fcc._0x3b905f,0x1f9,0x4a7),_0x3f54da);});while(_0x4dacb8[_0x3c837e(_0x195f42._0x4d2ffb,_0x195f42._0x22ab34,0x46d,_0x195f42._0xbbb849)]>0x0||!_0x9b8592){if(_0x4dacb8['length']===0x0){await _0x2cc6e5();continue;}const _0x304f94=_0x4dacb8[_0xf180f8(0x33c,_0x195f42._0x5f3175,_0x195f42._0x672214,0x240)]();_0x304f94!==void 0x0&&(yield _0x304f94);}const _0x238896=await _0xae5ff6,_0x3c24c9=_0x5a9943?_0xf180f8(_0x195f42._0x36c7b8,0x32c,0x22c,0x36f)+(_0x238896[_0x3c837e(_0x195f42._0x4a046a,0x490,0x491,_0x195f42._0x322dee)]??0x0):_0x4c1362[_0x3c837e(_0x195f42._0x3a5f61,_0x195f42._0x1f650b,0x25d,_0x195f42._0x12240d)](''),_0x5252cd={'command':_0x37489f[_0xf180f8(_0x195f42._0x9a4090,0x16e,_0x195f42._0x2ed459,_0x195f42._0x1e76ec)],'description':_0x37489f[_0xf180f8(0x3d7,0x3d5,_0x195f42._0x449284,_0x195f42._0x43bf5f)],'cwd':_0x29f1bb,'exitCode':_0x238896[_0x3c837e(_0x195f42._0x287840,_0x195f42._0x3cd365,_0x195f42._0x27b0ea,_0x195f42._0x2a8cd8)]??0x0,'signal':_0x238896[_0xf180f8(0x516,0x445,_0x195f42._0x2fbb20,_0x195f42._0x2f399a)],'ignoreOutput':_0x5a9943,'shellPath':_0x337c90,'timeoutMs':_0xf43455};if(_0x238896[_0x3c837e(0x57b,0x490,0x414,_0x195f42._0xd406a6)]!==0x0)throw new ToolExecutionError(_0x3c24c9||_0xf180f8(_0x195f42._0x1d631f,_0x195f42._0x33affb,0x3b7,_0x195f42._0x4e8330)+(_0x238896[_0x3c837e(_0x195f42._0x3f58ea,0x490,0x577,0x37b)]??0x0),_0x5252cd);return createToolOutput(_0x3c24c9,_0x5252cd);}catch(_0x330f5b){while(_0x4dacb8[_0xf180f8(_0x195f42._0x5216be,0x3c1,_0x195f42._0x3e7aa5,_0x195f42._0x2c25cc)]>0x0){const _0x14911e=_0x4dacb8['shift']();_0x14911e!==void 0x0&&(yield _0x14911e);}if(_0x330f5b instanceof ToolExecutionError)throw _0x330f5b;if(_0x1fbd5f)throw _0x1fbd5f;throw mapSpawnError(_0x330f5b,{'command':_0x37489f['command'],'cwd':_0x29f1bb,'shellPath':_0x337c90});}finally{_0xacc50f&&clearTimeout(_0xacc50f);_0x26b5ba(),_0x4fef73[_0x3c837e(0x240,0x2ac,_0x195f42._0x58fbef,0x259)]?.['off'](_0x3c837e(0x220,_0x195f42._0x247dda,0x3ef,0x427),_0x101718),_0x4fef73[_0x3c837e(0x3e8,_0x195f42._0x187e13,_0x195f42._0x148202,0x417)]?.['off'](_0x3c837e(0x235,_0x195f42._0x247dda,0x405,0x3f6),_0x45adbc);if(!_0xf259e7&&_0x4fef73[_0x3c837e(_0x195f42._0x18fed2,0x2c2,0x421,_0x195f42._0x2cb6a7)]&&!_0x4fef73['killed'])try{killProcessGroup(_0x4fef73,_0x233d27);}catch{}}}});}function createShellExecTool(_0x58aebd={}){return createBashTool(_0x58aebd);}import{readdir,readFile as _0x35878a}from'fs/promises';import{extname,join as _0xd33d1}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x516a73,join,relative as _0x52c3bc,resolve as _0x1eb8af}from'path';import{readdir as _0xe685fd,readFile as _0x39a8c0}from'fs/promises';import{join as _0x3debab,relative as _0x2cb756,sep}from'path';import{delimiter}from'path';import{mkdir as _0x483c52,rm,stat as _0x1b1b24,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x4aed35}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x886c95,rename,rm as _0x4f6a14,stat as _0x30b774,writeFile as _0x434359}from'fs/promises';import{homedir as _0x4d32ab}from'os';import{dirname as _0x1ccd80,isAbsolute as _0x599133,join as _0x29668f,resolve as _0x3136a2}from'path';import{parse as _0x19f56a,stringify as _0x4750e3}from'yaml';import{cp,mkdir as _0x4a9178,readFile as _0x1a7357,rm as _0x3b38a8,writeFile as _0x22bbc1}from'fs/promises';import{homedir}from'os';import{join as _0x1d7022}from'path';import{parse as _0x11d63d,stringify as _0x2ce6df}from'yaml';import{z}from'zod';import{readdir as _0x57679c,readFile as _0x2cce6f}from'fs/promises';import{join as _0x915c72}from'path';import{randomUUID as _0x21c154}from'crypto';import{mkdir as _0x887804,readdir as _0x499bb6,readFile as _0x5698c4,rename as _0x48edde,rm as _0x3632e4,writeFile as _0x5d2b78}from'fs/promises';import{homedir as _0x4cc3aa}from'os';import{basename,isAbsolute as _0x32be1d,join as _0x23dd09,relative as _0x491c07,resolve as _0x54178f}from'path';import{parse as _0x59bf73,stringify as _0x4a53c8}from'yaml';import{delimiter as _0x268376,resolve as _0x1d4e4c}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x3a2aa7){const _0x104e41={_0x370cb:0x366,_0x118cbe:0x270,_0x180976:0x362,_0x2cb9c7:0x366,_0x5e185e:0x38d,_0x3b2a6c:0x180},_0x246993={_0x5ea6dd:0xb6},_0x788215={_0x1ca204:0x1cb},_0x5a1045=[];let _0x1a4bd5='',_0x4e117f=0x0;while(_0x4e117f<_0x3a2aa7[_0x208e07(_0x104e41._0x370cb,0x1f5,0x4cd,_0x104e41._0x118cbe)]){const _0x12552c=_0x3a2aa7[_0x4e117f];if(_0x12552c==='\x5c'&&_0x4e117f+0x1<_0x3a2aa7[_0x208e07(0x366,_0x104e41._0x180976,0x281,0x4ca)])_0x1a4bd5+=_0x3a2aa7[_0x4e117f+0x1],_0x4e117f+=0x2;else{if(_0x12552c==='\x22'||_0x12552c==='\x27'){const _0x400d7a=_0x12552c;_0x4e117f++;while(_0x4e117f<_0x3a2aa7[_0x208e07(_0x104e41._0x2cb9c7,0x339,0x2c6,_0x104e41._0x5e185e)]&&_0x3a2aa7[_0x4e117f]!==_0x400d7a){_0x3a2aa7[_0x4e117f]==='\x5c'&&_0x4e117f+0x1<_0x3a2aa7[_0x208e07(0x366,0x27d,0x43a,0x24c)]?(_0x1a4bd5+=_0x3a2aa7[_0x4e117f+0x1],_0x4e117f+=0x2):(_0x1a4bd5+=_0x3a2aa7[_0x4e117f],_0x4e117f++);}_0x4e117f++;}else _0x12552c!==void 0x0&&/\s/['test'](_0x12552c)?(_0x1a4bd5&&(_0x5a1045['push'](_0x1a4bd5),_0x1a4bd5=''),_0x4e117f++):(_0x1a4bd5+=_0x12552c,_0x4e117f++);}}function _0x208e07(_0x3c28eb,_0xfd12d8,_0x239821,_0x88f306){return _0x55c88d(_0x3c28eb-0x29,_0x3c28eb- -_0x788215._0x1ca204,_0x88f306,_0x88f306-0xbf);}if(_0x1a4bd5)_0x5a1045[_0x208e07(0x226,0x299,0x2db,_0x104e41._0x3b2a6c)](_0x1a4bd5);function _0x4a428c(_0x440e6d,_0xd77229,_0x298b8f,_0x16521a){return _0x55c88d(_0x440e6d-_0x246993._0x5ea6dd,_0xd77229- -0x28b,_0x298b8f,_0x16521a-0x13);}return _0x5a1045;}function renderCommandInstructions(_0x1dbb35){const _0x26fba1={_0x3a9ece:0x38,_0x1efa1b:0x712,_0x3efbed:0x88c,_0x6a6ce3:0x712,_0x2c2d68:0x6d8,_0x33c6c0:0x6ba,_0x386986:0x811,_0x2bb2c1:0x7d9,_0x370aea:0x7e,_0x23808a:0x10,_0x14224d:0xcf,_0x2b6adb:0x1b3,_0x390bea:0x17d,_0x37269c:0x296,_0x2d34e6:0x70d,_0x49ac11:0x25,_0x2981b5:0x5a,_0xe4baad:0x29,_0x21c6c4:0x5ab,_0x2c71ec:0x7e},_0x24be75={_0x458e7d:0x109,_0x4a0687:0x16c},_0x28afec={_0x178ae5:0x14e},_0x41a02c={_0x5d5c8b:0x79,_0x2ff7ee:0x665};let _0x19e490=_0x1dbb35['instructions'];function _0x3bc582(_0x2a0ddb,_0x3b8837,_0x5225aa,_0x23e7fc){return _0x1e45aa(_0x2a0ddb-_0x41a02c._0x5d5c8b,_0x3b8837-0x149,_0x3b8837- -_0x41a02c._0x2ff7ee,_0x23e7fc);}let _0x1f37ca=![];const _0x3e25ca=tokenizeCommandArguments(_0x1dbb35['argumentsText']);_0x19e490=_0x19e490[_0x3bc582(0xe9,-_0x26fba1._0x3a9ece,-0x2a,-0x150)](/\$ARGUMENTS\[(\d+)\]/g,(_0x8e2d89,_0x2a8490)=>{return _0x1f37ca=!![],_0x3e25ca[Number(_0x2a8490)]??'';});function _0x322bfd(_0x519c66,_0x2d1fd5,_0x4fd747,_0x144c16){return _0x1e45aa(_0x519c66-0xf3,_0x2d1fd5-_0x28afec._0x178ae5,_0x519c66-0x2f,_0x2d1fd5);}_0x19e490=_0x19e490[_0x322bfd(0x65c,0x6a2,0x68e,0x631)](/\$ARGUMENTS\b/g,()=>{function _0x3eba7d(_0xae07a4,_0x3f8490,_0x5bf3fe,_0x4d33be){return _0x322bfd(_0x3f8490- -0x562,_0x5bf3fe,_0x5bf3fe-0x38,_0x4d33be-0x122);}return _0x1f37ca=!![],_0x1dbb35[_0x3eba7d(0x26c,_0x24be75._0x458e7d,_0x24be75._0x4a0687,0x8b)];});if(_0x1dbb35[_0x322bfd(_0x26fba1._0x1efa1b,_0x26fba1._0x3efbed,0x6b8,0x82a)]&&_0x1dbb35[_0x322bfd(_0x26fba1._0x6a6ce3,0x5ac,_0x26fba1._0x2c2d68,_0x26fba1._0x33c6c0)][_0x322bfd(_0x26fba1._0x386986,0x8df,_0x26fba1._0x2bb2c1,0x7b1)]>0x0)for(let _0x2beae5=0x0;_0x2beae5<_0x1dbb35[_0x3bc582(0x3,_0x26fba1._0x370aea,-_0x26fba1._0x23808a,-_0x26fba1._0x14224d)][_0x3bc582(_0x26fba1._0x2b6adb,_0x26fba1._0x390bea,0x116,_0x26fba1._0x37269c)];_0x2beae5++){const _0x195eea=_0x1dbb35['argumentNames'][_0x2beae5];if(_0x195eea){const _0x4e9462=new RegExp('\x5c$'+_0x195eea+'\x5cb','g');_0x19e490=_0x19e490[_0x322bfd(0x65c,0x650,_0x26fba1._0x2d34e6,0x739)](_0x4e9462,()=>{return _0x1f37ca=!![],_0x3e25ca[_0x2beae5]??'';});}}return _0x19e490=_0x19e490[_0x3bc582(_0x26fba1._0x49ac11,-0x38,-0x182,0x75)](/\$(\d+)\b/g,(_0x13acd5,_0x43d50d)=>{return _0x1f37ca=!![],_0x3e25ca[Number(_0x43d50d)]??'';}),!_0x1f37ca&&_0x1dbb35[_0x3bc582(_0x26fba1._0x2981b5,-_0x26fba1._0xe4baad,0x14f,0x50)]['trim']()&&(_0x19e490=_0x19e490+_0x322bfd(0x68e,0x70e,_0x26fba1._0x21c6c4,0x6e9)+_0x1dbb35[_0x3bc582(0x99,-0x29,0x78,_0x26fba1._0x2c71ec)]),_0x19e490;}var PROVIDER_API_KEY_ENVS=[{'env':_0x1e45aa(0x7a5,0x780,0x7ff,0x7a4),'provider':_0x1e45aa(0x70e,0x7a7,0x66b,0x6ee)},{'env':_0x55c88d(0x5d1,0x571,0x6ba,0x5d6),'provider':'anthropic'},{'env':_0x55c88d(0x46b,0x494,0x3ec,0x426),'provider':_0x55c88d(0x338,0x2d1,0x188,0x22d)},{'env':'GITHUB_TOKEN','provider':_0x55c88d(0x178,0x2d1,0x1bc,0x273)},{'env':_0x55c88d(0x5fd,0x4e5,0x37e,0x604),'provider':'grok'},{'env':_0x55c88d(0x3d4,0x45a,0x39d,0x594),'provider':'deepinfra'},{'env':_0x1e45aa(0x69e,0x402,0x57d,0x613),'provider':_0x55c88d(0x494,0x443,0x340,0x2e2)},{'env':'MOONSHOT_API_KEY','provider':'moonshot'},{'env':_0x55c88d(0x3d8,0x4b4,0x528,0x4ee),'provider':_0x55c88d(0x432,0x46b,0x4ea,0x4cc)},{'env':'KIMI_API_KEY','provider':_0x55c88d(0x5cf,0x527,0x48f,0x54e)},{'env':_0x55c88d(0x5da,0x489,0x59c,0x60c),'provider':_0x55c88d(0x49f,0x55b,0x476,0x56b)},{'env':_0x55c88d(0x5bb,0x474,0x449,0x497),'provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x1e45aa(0x645,0x820,0x739,0x672)](_0x2fbda8=>_0x2fbda8[_0x1e45aa(0x6ef,0x80a,0x68a,0x6e1)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x1e45aa(0x619,0x7d6,0x774,0x66a),'GOOGLE_CSE_KEY',_0x55c88d(0x25e,0x2da,0x3e2,0x216)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']);function prototypeSafeRecord(_0x5641cb){const _0x516e7b={_0x5717ba:0x70b,_0x22afc2:0x67c,_0x25e46d:0x15a,_0x19f0d1:0x45,_0x2d5ea7:0x3d,_0x2eb5cb:0x230,_0x1a95c0:0x226,_0x23cfb5:0x256,_0xba5ac0:0x15c,_0xb54530:0x6da,_0x53ecaf:0x8c5},_0x298ed9={_0x501d21:0x5e,_0x42abbe:0x277,_0x3e7d07:0xc7,_0x57b4cc:0x12,_0xa454ef:0x304,_0x86785b:0x212,_0x595de7:0xc8,_0x9c4fa9:0x11,_0x53dd90:0x97},_0x4a6afb={_0x39b511:0x148,_0xd2aa04:0x6a7},_0x1222ee={_0x66e3e9:0x76,_0x5cbd3b:0x658},_0xd472b0={_0x21ae82:0x41,_0x21dca1:0x148},_0x2f7c2c={_0x488d0e:0x70};function _0x1126cb(_0x5a592f,_0x21577e,_0x4b4880,_0x3e05eb){return _0x1e45aa(_0x5a592f-_0x2f7c2c._0x488d0e,_0x21577e-0x137,_0x21577e- -0x5c3,_0x3e05eb);}function _0x23b01e(_0x4dd5df,_0x4d07f6,_0x15bf51,_0x23d281){return _0x1e45aa(_0x4dd5df-_0xd472b0._0x21ae82,_0x4d07f6-_0xd472b0._0x21dca1,_0x15bf51- -0x4b,_0x23d281);}return z[_0x23b01e(0x522,_0x516e7b._0x5717ba,_0x516e7b._0x22afc2,0x4fe)](_0x435edb=>{if(_0x435edb===null||typeof _0x435edb!==_0x5ba1f2(0x94,-_0x298ed9._0x501d21,-0xea,-0x2f)||Array[_0x4e696b(_0x298ed9._0x42abbe,_0x298ed9._0x3e7d07,_0x298ed9._0x57b4cc,0x178)](_0x435edb))return null;function _0x4e696b(_0x5d967f,_0x2506f,_0x39a57f,_0x228ae8){return _0x23b01e(_0x5d967f-_0x1222ee._0x66e3e9,_0x2506f-0x13a,_0x228ae8- -_0x1222ee._0x5cbd3b,_0x2506f);}const _0x375ef2=Object[_0x4e696b(0x2c3,_0x298ed9._0xa454ef,_0x298ed9._0x86785b,0x188)](_0x435edb);function _0x5ba1f2(_0x3676d7,_0x28c2a7,_0x5590da,_0x173494){return _0x23b01e(_0x3676d7-_0x4a6afb._0x39b511,_0x28c2a7-0xa6,_0x5590da- -_0x4a6afb._0xd2aa04,_0x173494);}if(_0x375ef2!==Object[_0x5ba1f2(-_0x298ed9._0x595de7,-0x191,-0x11,0x7)]&&_0x375ef2!==null)return null;return{'entries':Object[_0x5ba1f2(_0x298ed9._0x9c4fa9,-0x21,_0x298ed9._0x53dd90,0xd6)](_0x435edb)};},z[_0x1126cb(_0x516e7b._0x25e46d,_0x516e7b._0x19f0d1,-_0x516e7b._0x2d5ea7,0x57)]({'entries':z['array'](z[_0x1126cb(0xfd,_0x516e7b._0x2eb5cb,_0x516e7b._0x1a95c0,0x2af)]([z[_0x1126cb(_0x516e7b._0x23cfb5,_0x516e7b._0xba5ac0,0xdf,0xc8)](),_0x5641cb]))}))[_0x23b01e(0x866,_0x516e7b._0xb54530,0x7b9,_0x516e7b._0x53ecaf)](({entries:_0x23e65b})=>Object[_0x1126cb(0x135,0x1ed,0xf7,0x18d)](_0x23e65b));}var chatModelAuthSchemeSchema=z[_0x1e45aa(0x696,0x6b3,0x70c,0x603)](['bearer',_0x55c88d(0x38b,0x2ba,0x237,0x14f)]),apiKeyAuthSchema=z[_0x55c88d(0x2c4,0x357,0x38d,0x1e0)]({'type':z[_0x55c88d(0x4f6,0x57e,0x567,0x6d1)](_0x1e45aa(0x979,0x728,0x840,0x9b4)),'apiKey':z[_0x1e45aa(0x7ce,0x7e8,0x71f,0x83c)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x55c88d(0x40e,0x2c9,0x374,0x1d7)](),oauthAuthSchema=z[_0x55c88d(0x4c1,0x357,0x2ed,0x48a)]({'type':z[_0x55c88d(0x451,0x57e,0x5e0,0x494)](_0x1e45aa(0x6e6,0x4c8,0x5c9,0x4c4)),'access':z[_0x1e45aa(0x805,0x62d,0x71f,0x5e6)](),'refresh':z['string'](),'expires':z['number']()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x1e45aa(0x871,0x580,0x701,0x849)]()})[_0x1e45aa(0x4f4,0x6f0,0x57a,0x62d)](),finiteNonNegative=z['number']()[_0x1e45aa(0x6d4,0x67a,0x568,0x6be)]()['nonnegative'](),chatGptAuthSchema=z[_0x1e45aa(0x4c4,0x732,0x608,0x5e3)]({'type':z[_0x55c88d(0x666,0x57e,0x440,0x489)](_0x55c88d(0x4f7,0x464,0x47e,0x3c6)),'access':z[_0x55c88d(0x3f4,0x46e,0x5b2,0x40a)]()[_0x55c88d(0x351,0x2d4,0x3e4,0x2c7)](0x1),'refresh':z['string']()[_0x55c88d(0x2e4,0x2d4,0x40c,0x2c1)](0x1),'idToken':z[_0x1e45aa(0x705,0x663,0x71f,0x792)]()[_0x55c88d(0x28c,0x2d4,0x2a7,0x3dc)](0x1),'accountId':z[_0x55c88d(0x5ec,0x46e,0x433,0x483)]()[_0x55c88d(0x296,0x2d4,0x1c4,0x244)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x1e45aa(0x625,0x5c8,0x701,0x6c2)]()})[_0x55c88d(0x3fa,0x2c9,0x15d,0x19d)](),authMethodSchema=z[_0x55c88d(0x46c,0x359,0x4df,0x496)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x1e45aa(0x6a7,0x4a5,0x608,0x4b2)]({'id':z[_0x1e45aa(0x823,0x79c,0x71f,0x691)](),'name':z[_0x1e45aa(0x6e5,0x5fa,0x71f,0x646)]()[_0x1e45aa(0x72c,0x777,0x701,0x816)]()})[_0x1e45aa(0x491,0x6be,0x57a,0x6d4)](),modelConfigSchema=z[_0x1e45aa(0x6c2,0x620,0x60a,0x4e9)]([z[_0x1e45aa(0x8ae,0x8ce,0x82f,0x6d0)](![]),z[_0x55c88d(0x564,0x57e,0x69b,0x43b)](!![]),z[_0x1e45aa(0x884,0x5c4,0x71f,0x733)](),z[_0x1e45aa(0x758,0x77c,0x768,0x6f4)](z[_0x55c88d(0x48a,0x46e,0x472,0x2f2)]()),z[_0x1e45aa(0x770,0x682,0x768,0x615)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x55c88d(0x598,0x45b,0x338,0x58c)]([_0x55c88d(0x60c,0x4f9,0x652,0x54a),_0x55c88d(0x6a9,0x57b,0x648,0x4b9),_0x55c88d(0x4f5,0x376,0x355,0x39f),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x55c88d(0x46e,0x46e,0x362,0x363)]()[_0x55c88d(0x523,0x450,0x5d2,0x2ce)](),'token':z['string']()[_0x1e45aa(0x82e,0x6c1,0x701,0x80d)](),'defaultModel':z[_0x1e45aa(0x65b,0x64e,0x71f,0x7db)]()[_0x1e45aa(0x809,0x695,0x701,0x70d)](),'smallModel':z[_0x55c88d(0x5c4,0x46e,0x4a3,0x5ae)]()[_0x55c88d(0x411,0x450,0x317,0x33e)](),'currentAuth':z[_0x55c88d(0x4de,0x46e,0x599,0x339)]()[_0x55c88d(0x36b,0x450,0x440,0x574)](),'auth':z['array'](authMethodSchema)[_0x55c88d(0x3eb,0x450,0x5cf,0x467)](),'surface':chatModelSurfaceSchema[_0x1e45aa(0x602,0x69f,0x701,0x882)](),'baseUrl':z[_0x55c88d(0x2fa,0x46e,0x33e,0x44e)]()['optional'](),'models':modelConfigSchema[_0x1e45aa(0x778,0x65d,0x701,0x723)](),'customHeaders':z[_0x1e45aa(0x73b,0x7cd,0x6be,0x74c)](z['string'](),z[_0x1e45aa(0x5a0,0x766,0x71f,0x6d3)]())[_0x55c88d(0x33f,0x450,0x3b0,0x3d0)]()})[_0x55c88d(0x2a2,0x2c9,0x2ae,0x38e)](),mcpServerConfigSchema=z['object']({'command':z[_0x55c88d(0x330,0x46e,0x3ea,0x3ed)]()[_0x55c88d(0x3ec,0x450,0x36c,0x4cd)](),'args':z['array'](z[_0x1e45aa(0x836,0x859,0x71f,0x70f)]())['optional'](),'env':z['record'](z[_0x1e45aa(0x871,0x7be,0x71f,0x732)](),z[_0x1e45aa(0x78e,0x703,0x71f,0x6fa)]())['optional'](),'transport':z[_0x55c88d(0x457,0x45b,0x4dc,0x453)]([_0x55c88d(0x5a3,0x5a9,0x668,0x4ac),_0x55c88d(0x313,0x417,0x536,0x4b2)])['optional'](),'url':z[_0x1e45aa(0x74e,0x700,0x71f,0x791)]()[_0x1e45aa(0x6b3,0x742,0x701,0x703)](),'headers':z[_0x1e45aa(0x602,0x652,0x6be,0x545)](z['string'](),z['string']())[_0x55c88d(0x3dc,0x450,0x5b6,0x4a0)](),'prefix':z[_0x1e45aa(0x756,0x67d,0x71f,0x6ab)]()[_0x55c88d(0x3ce,0x450,0x3ba,0x3bf)](),'timeoutMs':z['number']()['optional'](),'enabled':z[_0x55c88d(0x3a6,0x394,0x292,0x264)]()[_0x55c88d(0x427,0x450,0x564,0x359)](),'auth':z['object']({'type':z[_0x55c88d(0x49f,0x45b,0x597,0x3d5)](['none',_0x1e45aa(0x8ee,0x7b3,0x801,0x6f2),_0x1e45aa(0x532,0x4a6,0x5c9,0x6ca)]),'token':z['string']()['optional'](),'oauth':z['object']({'clientId':z[_0x1e45aa(0x7d7,0x5ae,0x71f,0x88c)]()[_0x55c88d(0x44d,0x450,0x5c4,0x2d2)](),'clientMetadataUrl':z[_0x55c88d(0x3a4,0x46e,0x49d,0x4eb)]()[_0x1e45aa(0x7fc,0x789,0x701,0x788)](),'authorizationServer':z[_0x55c88d(0x3b5,0x46e,0x58b,0x451)]()[_0x55c88d(0x480,0x450,0x4bb,0x592)](),'scopes':z['array'](z[_0x1e45aa(0x85d,0x61a,0x71f,0x6e5)]())[_0x55c88d(0x373,0x450,0x536,0x412)](),'tokenStorageKey':z['string']()['optional']()})[_0x55c88d(0x448,0x2c9,0x2c5,0x14a)]()['optional']()})[_0x55c88d(0x2b2,0x2c9,0x2af,0x386)]()['optional']()})['passthrough'](),mcpSettingsSchema=z[_0x55c88d(0x362,0x357,0x262,0x450)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x1e45aa(0x867,0x882,0x701,0x761)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x1e45aa(0x54e,0x64d,0x645,0x60a)]()))[_0x55c88d(0x52c,0x450,0x47c,0x345)](),'defaultTimeoutMs':z[_0x1e45aa(0x6bf,0x5b8,0x6f0,0x57e)]()[_0x55c88d(0x396,0x450,0x55c,0x461)]()})[_0x1e45aa(0x557,0x4ad,0x57a,0x477)](),skillsSettingsSchema=z[_0x1e45aa(0x617,0x657,0x608,0x723)]({'enabled':z[_0x55c88d(0x514,0x394,0x3e1,0x347)]()[_0x55c88d(0x2e6,0x450,0x4a9,0x514)](),'includeDefaults':z['boolean']()[_0x1e45aa(0x629,0x854,0x701,0x6a2)](),'directories':z[_0x1e45aa(0x7ad,0x7c4,0x768,0x8cd)](z[_0x55c88d(0x579,0x46e,0x402,0x5e2)]())['optional'](),'exclude':z['array'](z[_0x55c88d(0x30a,0x46e,0x42a,0x35b)]())[_0x1e45aa(0x5e8,0x690,0x701,0x5b6)]()})[_0x55c88d(0x436,0x2c9,0x334,0x2f9)](),commandsSettingsSchema=z['object']({'enabled':z[_0x1e45aa(0x4ce,0x67b,0x645,0x755)]()[_0x55c88d(0x528,0x450,0x475,0x415)](),'directories':z[_0x55c88d(0x47f,0x4b7,0x611,0x39e)](z[_0x1e45aa(0x81d,0x763,0x71f,0x6fb)]())[_0x55c88d(0x540,0x450,0x37a,0x38b)]()})[_0x55c88d(0x32b,0x2c9,0x19b,0x25e)](),agentsSettingsSchema=z[_0x55c88d(0x269,0x357,0x498,0x495)]({'enabled':z[_0x1e45aa(0x76a,0x644,0x645,0x6f0)]()[_0x55c88d(0x537,0x450,0x50c,0x403)](),'includeDefaults':z[_0x55c88d(0x494,0x394,0x305,0x3f0)]()['optional'](),'directories':z[_0x55c88d(0x61c,0x4b7,0x5c9,0x3c1)](z['string']())[_0x1e45aa(0x6d0,0x77d,0x701,0x886)]()})[_0x1e45aa(0x48f,0x6d2,0x57a,0x6ca)](),uiThemeSettingsSchema=z[_0x55c88d(0x1f6,0x357,0x363,0x2c7)]({'mode':z[_0x1e45aa(0x854,0x7f9,0x70c,0x726)]([_0x55c88d(0x3f2,0x38e,0x3df,0x4d6),_0x55c88d(0x288,0x369,0x3fe,0x2a8),_0x55c88d(0x4d1,0x4a5,0x491,0x483)])[_0x1e45aa(0x6e4,0x5cb,0x701,0x791)](),'colorLevel':z[_0x1e45aa(0x7e0,0x703,0x70c,0x708)]([_0x55c88d(0x27c,0x38e,0x245,0x401),_0x1e45aa(0x8c1,0x7f4,0x84a,0x734),_0x55c88d(0x38c,0x495,0x466,0x387),'ansi256',_0x1e45aa(0x608,0x549,0x6cf,0x79b)])[_0x1e45aa(0x792,0x65a,0x701,0x858)](),'backgrounds':z['enum']([_0x1e45aa(0x4fb,0x76d,0x63f,0x602),'on',_0x1e45aa(0x88b,0x5df,0x74c,0x68d)])[_0x55c88d(0x3eb,0x450,0x388,0x3b5)](),'messageStyle':z[_0x55c88d(0x430,0x45b,0x300,0x4c0)](['plain','boxed'])[_0x55c88d(0x462,0x450,0x445,0x2f8)]()})[_0x1e45aa(0x6e4,0x4c6,0x57a,0x49c)]();function _0x1e45aa(_0x45112d,_0x358dea,_0x5a2344,_0x95ab7b){return _0x3bdd(_0x5a2344-0x399,_0x95ab7b);}var statuslineSegmentSchema=z['enum']([_0x55c88d(0x338,0x341,0x1be,0x485),'session','thinking',_0x1e45aa(0x70a,0x71d,0x6fc,0x5d2),_0x1e45aa(0x663,0x747,0x65a,0x699),_0x55c88d(0x30f,0x320,0x2f0,0x3a6),_0x1e45aa(0x61a,0x59b,0x66c,0x58a),_0x55c88d(0x337,0x42b,0x559,0x4fe),'tools',_0x55c88d(0x5f7,0x52c,0x4bd,0x645),_0x55c88d(0x2f2,0x437,0x579,0x520),_0x55c88d(0x46c,0x41d,0x4a6,0x39b),_0x55c88d(0x314,0x3ca,0x2dd,0x391),_0x1e45aa(0x77a,0x59a,0x67d,0x646),'rss']),statuslineItemSchema=z[_0x1e45aa(0x6ef,0x57d,0x60a,0x6a1)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x55c88d(0x461,0x4b7,0x446,0x578)](statuslineItemSchema),statuslineConfigSchema=z[_0x1e45aa(0x545,0x4a7,0x608,0x4f4)]({'rows':z[_0x55c88d(0x65d,0x542,0x4cf,0x48b)]([statuslineRowSchema,statuslineRowSchema])[_0x55c88d(0x424,0x450,0x53d,0x375)]()})[_0x1e45aa(0x639,0x4fe,0x57a,0x6f9)](),memorySettingsSchema=z[_0x55c88d(0x39f,0x357,0x4d5,0x2f3)]({'version':z[_0x55c88d(0x6c3,0x57e,0x53a,0x576)](0x2)['optional'](),'retrieval':z[_0x55c88d(0x309,0x357,0x47f,0x3a8)]({'engine':z['literal'](_0x1e45aa(0x815,0x736,0x6f5,0x63c))['optional'](),'candidateLimit':z[_0x1e45aa(0x6b0,0x77f,0x6f0,0x805)]()[_0x1e45aa(0x5f3,0x5f3,0x701,0x633)](),'activeCandidateLimit':z[_0x1e45aa(0x7d2,0x637,0x6f0,0x644)]()[_0x1e45aa(0x6b4,0x7f1,0x701,0x743)](),'activeEnabled':z['boolean']()[_0x1e45aa(0x7bd,0x63b,0x701,0x5fe)](),'maxQueriesPerTurn':z[_0x1e45aa(0x6df,0x740,0x6f0,0x703)]()[_0x1e45aa(0x6f0,0x5f1,0x701,0x7a4)](),'coreInjectTokenBudget':z['number']()[_0x55c88d(0x4f9,0x450,0x57b,0x321)](),'injectTokenBudget':z[_0x55c88d(0x5c3,0x43f,0x480,0x417)]()[_0x55c88d(0x49c,0x450,0x50f,0x378)](),'minScore':z[_0x1e45aa(0x681,0x86d,0x6f0,0x748)]()[_0x1e45aa(0x5e0,0x5db,0x701,0x73d)](),'freshnessHalfLifeDays':z[_0x1e45aa(0x56d,0x6ac,0x6f0,0x858)]()['optional']()})[_0x1e45aa(0x658,0x65c,0x57a,0x425)]()[_0x1e45aa(0x754,0x867,0x701,0x597)](),'extraction':z['object']({'enabled':z[_0x1e45aa(0x5b4,0x62d,0x645,0x541)]()[_0x1e45aa(0x5e0,0x580,0x701,0x716)](),'provider':z['string']()['optional'](),'model':z['string']()[_0x55c88d(0x5ab,0x450,0x59e,0x375)](),'sensitiveFilter':z[_0x55c88d(0x2ff,0x394,0x4f2,0x49c)]()['optional']()})[_0x55c88d(0x42f,0x2c9,0x34f,0x32e)]()['optional'](),'index':z[_0x55c88d(0x283,0x357,0x254,0x1de)]({'persisted':z[_0x1e45aa(0x5b6,0x573,0x645,0x644)]()['optional'](),'flushIntervalMs':z[_0x55c88d(0x3e9,0x43f,0x52e,0x539)]()['optional']()})['passthrough']()[_0x1e45aa(0x71a,0x813,0x701,0x693)](),'enabled':z[_0x1e45aa(0x736,0x521,0x645,0x5ee)]()[_0x55c88d(0x2ef,0x450,0x492,0x423)](),'saveTool':z['boolean']()[_0x55c88d(0x578,0x450,0x388,0x356)](),'model':z[_0x1e45aa(0x65f,0x7de,0x71f,0x7b4)]()[_0x55c88d(0x338,0x450,0x31f,0x423)](),'provider':z[_0x1e45aa(0x709,0x752,0x71f,0x6bb)]()['optional'](),'maxInjectionTokens':z[_0x55c88d(0x348,0x43f,0x50f,0x2c7)]()[_0x55c88d(0x491,0x450,0x431,0x484)](),'backgroundExtraction':z['boolean']()[_0x55c88d(0x53d,0x450,0x534,0x3eb)]()})['passthrough'](),recentModelSchema=z[_0x55c88d(0x391,0x357,0x4b9,0x46c)]({'provider':z[_0x55c88d(0x59e,0x46e,0x5da,0x5ef)](),'model':z[_0x1e45aa(0x61d,0x757,0x71f,0x7af)](),'usedAt':z[_0x55c88d(0x542,0x43f,0x4c5,0x370)]()})['passthrough'](),lspServerEntrySchema=z['object']({'disabled':z[_0x55c88d(0x320,0x394,0x49f,0x45e)]()[_0x1e45aa(0x80f,0x80c,0x701,0x741)](),'command':z['string']()[_0x1e45aa(0x85e,0x761,0x701,0x764)](),'args':z[_0x55c88d(0x4a5,0x4b7,0x3a5,0x431)](z['string']())[_0x55c88d(0x389,0x450,0x4e4,0x456)](),'rootMarkers':z['array'](z[_0x1e45aa(0x644,0x66a,0x71f,0x7f7)]())[_0x55c88d(0x358,0x450,0x486,0x5c4)]()})[_0x55c88d(0x2a1,0x2c9,0x351,0x2b4)](),lspConfigSchema=z[_0x1e45aa(0x54d,0x58d,0x608,0x57b)]({'enabled':z[_0x55c88d(0x4ea,0x394,0x519,0x44b)]()[_0x55c88d(0x476,0x450,0x373,0x38a)](),'servers':z[_0x1e45aa(0x638,0x6e1,0x6be,0x548)](z[_0x1e45aa(0x850,0x770,0x71f,0x5f4)](),lspServerEntrySchema)[_0x55c88d(0x3e0,0x450,0x3c9,0x497)]()})[_0x1e45aa(0x51c,0x692,0x57a,0x48f)](),serverEndpointSchema=z[_0x1e45aa(0x536,0x5b8,0x608,0x6da)]({'url':z[_0x55c88d(0x40e,0x46e,0x37e,0x545)](),'token':z['string']()[_0x55c88d(0x40e,0x450,0x493,0x310)]()})[_0x1e45aa(0x69f,0x448,0x57a,0x547)](),commandHookConfigSchema=z[_0x55c88d(0x216,0x357,0x481,0x297)]({'type':z[_0x55c88d(0x6c4,0x57e,0x470,0x688)]('command'),'command':z[_0x1e45aa(0x672,0x59c,0x71f,0x5af)](),'timeout':z[_0x1e45aa(0x5d6,0x712,0x6f0,0x604)]()['optional']()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x1e45aa(0x5fa,0x76e,0x71f,0x82d)]()[_0x1e45aa(0x820,0x63d,0x701,0x60c)](),'hooks':z[_0x55c88d(0x3ea,0x4b7,0x3e2,0x4bd)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x55c88d(0x2f0,0x357,0x356,0x3c6)]({'PreToolUse':z[_0x55c88d(0x544,0x4b7,0x581,0x4c8)](hookMatcherGroupSchema)[_0x55c88d(0x570,0x450,0x4ad,0x39f)](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x55c88d(0x554,0x450,0x3c8,0x595)](),'UserPromptSubmit':z[_0x55c88d(0x3b6,0x4b7,0x3d1,0x5bb)](hookMatcherGroupSchema)[_0x1e45aa(0x833,0x648,0x701,0x66e)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x1e45aa(0x66f,0x86f,0x701,0x5c0)](),'Notification':z[_0x55c88d(0x5ac,0x4b7,0x4ad,0x49f)](hookMatcherGroupSchema)[_0x55c88d(0x45a,0x450,0x5c5,0x339)](),'ToolApprovalRequest':z[_0x1e45aa(0x6fc,0x631,0x768,0x763)](hookMatcherGroupSchema)[_0x1e45aa(0x5e8,0x5f9,0x701,0x612)](),'SessionStart':z[_0x55c88d(0x518,0x4b7,0x629,0x41b)](hookMatcherGroupSchema)[_0x1e45aa(0x58e,0x61f,0x701,0x6fb)](),'SessionEnd':z[_0x1e45aa(0x766,0x712,0x768,0x767)](hookMatcherGroupSchema)[_0x1e45aa(0x7b8,0x82d,0x701,0x5ee)]()}),providerNameSchema=z[_0x55c88d(0x3b6,0x46e,0x434,0x31e)]()[_0x1e45aa(0x5a1,0x58d,0x585,0x6e7)](0x1,_0x55c88d(0x590,0x40b,0x560,0x4ca))[_0x1e45aa(0x57d,0x676,0x620,0x72d)](_0x3f209f=>!_0x3f209f['includes'](':'),_0x55c88d(0x387,0x2be,0x40f,0x360)),cliConfigSchema=z[_0x55c88d(0x390,0x357,0x361,0x4b4)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z['string']()[_0x1e45aa(0x6cd,0x6d9,0x701,0x840)](),'apiKey':z[_0x1e45aa(0x7c7,0x895,0x71f,0x797)]()[_0x1e45aa(0x610,0x857,0x701,0x686)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x1e45aa(0x7c9,0x853,0x701,0x657)](),'mcp':mcpSettingsSchema[_0x1e45aa(0x72f,0x7b6,0x701,0x7ab)](),'skills':skillsSettingsSchema[_0x1e45aa(0x814,0x590,0x701,0x73f)](),'agents':agentsSettingsSchema[_0x1e45aa(0x6a2,0x6e6,0x701,0x634)](),'commands':commandsSettingsSchema[_0x55c88d(0x554,0x450,0x503,0x53e)](),'skillsEnabled':z[_0x55c88d(0x303,0x40d,0x325,0x48d)](z[_0x1e45aa(0x693,0x71b,0x71f,0x611)](),z[_0x55c88d(0x2d1,0x394,0x338,0x25b)]())['optional'](),'allowedDirs':z['array'](z[_0x55c88d(0x49e,0x46e,0x444,0x2f2)]())[_0x1e45aa(0x79d,0x60f,0x701,0x797)](),'mcpEnabled':prototypeSafeRecord(z[_0x1e45aa(0x6ef,0x683,0x645,0x558)]())[_0x55c88d(0x554,0x450,0x3b3,0x2de)](),'commandsEnabled':z[_0x1e45aa(0x58f,0x5d2,0x6be,0x6d2)](z['string'](),z[_0x55c88d(0x2b6,0x394,0x50e,0x315)]())[_0x55c88d(0x366,0x450,0x54d,0x582)](),'memory':memorySettingsSchema[_0x55c88d(0x384,0x450,0x3bb,0x38c)](),'session':z['object']({'memPersist':z[_0x55c88d(0x508,0x394,0x302,0x2ff)]()[_0x55c88d(0x300,0x450,0x402,0x5d2)](),'persistEventLog':z[_0x1e45aa(0x6a4,0x6e0,0x645,0x4bf)]()[_0x1e45aa(0x5c2,0x6e3,0x701,0x85e)](),'persistHttpLog':z[_0x55c88d(0x23b,0x394,0x42b,0x468)]()['optional']()})[_0x1e45aa(0x5eb,0x4c0,0x57a,0x413)]()[_0x1e45aa(0x5b0,0x825,0x701,0x5ed)](),'requireToolApproval':z['boolean']()[_0x1e45aa(0x6bd,0x7a7,0x701,0x6b1)](),'thinking':z[_0x55c88d(0x43d,0x45b,0x37d,0x55b)]([_0x1e45aa(0x469,0x59f,0x59f,0x5df),_0x55c88d(0x4f5,0x4ed,0x631,0x5bc),_0x1e45aa(0x4b4,0x535,0x634,0x732),_0x1e45aa(0x602,0x5fe,0x6d3,0x7ff)])[_0x55c88d(0x4ae,0x450,0x30d,0x3df)](),'streamingChunks':z['boolean']()[_0x1e45aa(0x7da,0x7c8,0x701,0x883)](),'agentsEnabled':z['record'](z[_0x1e45aa(0x7c5,0x5e4,0x71f,0x85f)](),z['boolean']())[_0x1e45aa(0x7d8,0x7b0,0x701,0x613)](),'recentModels':z[_0x1e45aa(0x60a,0x74e,0x768,0x69b)](recentModelSchema)[_0x1e45aa(0x82a,0x68c,0x701,0x777)](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x55c88d(0x43a,0x40d,0x4aa,0x3dd)](z[_0x1e45aa(0x7e5,0x603,0x71f,0x646)](),serverEndpointSchema)[_0x55c88d(0x5c2,0x450,0x5d1,0x4e8)](),'ui':z['object']({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x1e45aa(0x58b,0x85f,0x701,0x718)]()})[_0x55c88d(0x20c,0x2c9,0x187,0x311)]()[_0x55c88d(0x41b,0x450,0x5bb,0x58d)](),'tools':z[_0x1e45aa(0x543,0x740,0x6be,0x570)](z[_0x1e45aa(0x864,0x804,0x71f,0x790)](),z[_0x1e45aa(0x8ec,0x919,0x83b,0x7a6)]())['optional'](),'hooks':hooksConfigSchema['optional']()})[_0x55c88d(0x182,0x2c9,0x292,0x161)](),workspaceOverlaySchema=z['object']({'root':z[_0x55c88d(0x438,0x46e,0x3f1,0x51f)]()[_0x1e45aa(0x880,0x5f8,0x701,0x600)](),'allowedDirs':z['array'](z[_0x1e45aa(0x88c,0x7fd,0x71f,0x61b)]())[_0x1e45aa(0x812,0x5e2,0x701,0x703)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x1e45aa(0x84c,0x70f,0x71f,0x5a6)]()[_0x55c88d(0x5a8,0x450,0x5a7,0x4c9)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x1e45aa(0x6ae,0x73e,0x701,0x61e)](),'agents':agentsSettingsSchema[_0x55c88d(0x414,0x450,0x415,0x3d9)](),'commands':commandsSettingsSchema[_0x55c88d(0x543,0x450,0x59c,0x549)](),'hooks':hooksConfigSchema[_0x55c88d(0x4c7,0x450,0x39b,0x4d1)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x55c88d(0x471,0x394,0x48b,0x46f)]())[_0x1e45aa(0x772,0x6fe,0x701,0x5ab)](),'skillsEnabled':z['record'](z[_0x1e45aa(0x6a9,0x7eb,0x71f,0x81b)](),z[_0x55c88d(0x2c5,0x394,0x454,0x318)]())[_0x55c88d(0x4e7,0x450,0x550,0x41b)](),'agentsEnabled':z[_0x1e45aa(0x827,0x61d,0x6be,0x544)](z[_0x1e45aa(0x5af,0x671,0x71f,0x86a)](),z['boolean']())[_0x55c88d(0x3f3,0x450,0x3d1,0x45e)](),'commandsEnabled':z['record'](z['string'](),z[_0x55c88d(0x249,0x394,0x322,0x3a4)]())[_0x1e45aa(0x69d,0x5e5,0x701,0x7c5)]()})[_0x1e45aa(0x59c,0x4d6,0x57a,0x6a1)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x1e45aa(0x642,0x549,0x65e,0x7bc)](Object[_0x55c88d(0x390,0x430,0x49c,0x416)]),_0x1e45aa(0x840,0x695,0x6e1,0x60a)]);function buildDescription(_0x1f3cf8){const _0x2e2b23={_0x1d446e:0x5a2,_0x2ff051:0x469,_0x19c37b:0x623,_0x14f83a:0x33c,_0x1ac631:0x370,_0x28e70e:0x4b5,_0x358f33:0x421,_0x355840:0x499,_0xf7b03a:0x3fe,_0x281224:0x436,_0x1daec1:0x525,_0x2633ba:0x460,_0xa75052:0x357,_0x39acf7:0x4fc,_0x1d56a4:0x627,_0x4c5492:0x3f2,_0x223b3d:0x488,_0x1762e5:0x37b,_0xfa021e:0x405},_0x416591={_0x1ee508:0xa6,_0xbe1f04:0x277};if(_0x1f3cf8[_0x256e8b(_0x2e2b23._0x1d446e,0x56b,_0x2e2b23._0x2ff051,_0x2e2b23._0x19c37b)]===0x0)return[_0x2e0824(0x432,0x563,0x45d,_0x2e2b23._0x14f83a),_0x256e8b(_0x2e2b23._0x1ac631,0x4bb,0x597,0x5b7),_0x2e0824(_0x2e2b23._0x28e70e,_0x2e2b23._0x358f33,0x3f9,_0x2e2b23._0x355840)][_0x2e0824(_0x2e2b23._0xf7b03a,0x28d,0x2b0,_0x2e2b23._0x281224)]('\x0a');function _0x2e0824(_0x54207c,_0x158f9a,_0x2bbcc9,_0xf6c65e){return _0x1e45aa(_0x54207c-0x19f,_0x158f9a-0x134,_0x54207c- -0x2a5,_0xf6c65e);}function _0x256e8b(_0x1eda61,_0x18f40b,_0x3b17ef,_0x116aa1){return _0x1e45aa(_0x1eda61-0x182,_0x18f40b-_0x416591._0x1ee508,_0x18f40b- -_0x416591._0xbe1f04,_0x116aa1);}const _0x3f9ca6=[_0x256e8b(_0x2e2b23._0x1daec1,_0x2e2b23._0x2633ba,_0x2e2b23._0xa75052,0x39a),_0x256e8b(_0x2e2b23._0x39acf7,0x4bb,_0x2e2b23._0x1d56a4,_0x2e2b23._0x4c5492),_0x2e0824(0x42c,_0x2e2b23._0x223b3d,0x381,0x56e),..._0x1f3cf8['map'](_0x14ea78=>_0x14ea78[_0x256e8b(0x498,0x39d,0x21f,0x24b)]?'-\x20'+_0x14ea78['name']+'\x20'+_0x14ea78[_0x2e0824(0x36f,0x49a,0x430,0x2cc)]+':\x20'+_0x14ea78['description']:'-\x20'+_0x14ea78[_0x256e8b(0x513,0x519,0x417,0x604)]+':\x20'+_0x14ea78[_0x2e0824(0x551,0x573,0x66d,0x587)])];return _0x3f9ca6[_0x2e0824(0x3fe,_0x2e2b23._0x1762e5,_0x2e2b23._0xfa021e,0x3e3)]('\x0a');}function createInvokeCommandTool(_0x23084d){const _0x3d86a4={_0x2d0a35:0x431,_0x5536ac:0x4b1,_0x21616c:0x495,_0x45687c:0x379,_0x7937a1:0x41c,_0x124557:0x1ff,_0x50071c:0x453,_0x3a2c2a:0x417},_0x373704={_0x216ee5:0x277,_0xa7372e:0x1af,_0x1f8469:0x90,_0x164b1e:0xac,_0x254197:0x1dd,_0x5b917f:0x101,_0x9383ad:0x30,_0x457f5:0x5f,_0x4aff9b:0xac,_0xaf48e7:0x60,_0x574e47:0x127,_0x155105:0x4c,_0x4c4ae2:0x38,_0xfd8ab6:0xdb,_0x39dedd:0x1fa,_0x294923:0x7f,_0x67107f:0x60,_0x37d137:0x16e,_0x3700b5:0x22f,_0x4c96fc:0x253},_0x41c660={_0x2f465e:0xc5},_0x5a54ec={_0x10eb06:0x17e},_0x25e1e3={_0x88941e:0x108,_0x45e2aa:0x57};function _0x1626e0(_0x110c9b,_0x4cd2e0,_0x4fef02,_0x251a72){return _0x55c88d(_0x110c9b-_0x25e1e3._0x88941e,_0x4fef02- -_0x25e1e3._0x45e2aa,_0x110c9b,_0x251a72-0xe7);}const _0x36b985=new Map(_0x23084d['commands'][_0x1626e0(0x5a1,0x559,_0x3d86a4._0x2d0a35,_0x3d86a4._0x5536ac)](_0x347c74=>[_0x347c74['id'],_0x347c74]));function _0x37eda6(_0x127c5a,_0x413915,_0x33e601,_0x507c6e){return _0x1e45aa(_0x127c5a-0xed,_0x413915-0x121,_0x413915- -_0x5a54ec._0x10eb06,_0x127c5a);}const _0x295c36=buildDescription(_0x23084d[_0x1626e0(_0x3d86a4._0x21616c,0x4e0,_0x3d86a4._0x45687c,0x431)]);return defineTool({'name':_0x1626e0(0x37e,0x3f3,0x2a9,0x1f0),'description':_0x295c36,'inputSchema':{'type':_0x1626e0(0x402,_0x3d86a4._0x7937a1,0x300,_0x3d86a4._0x124557),'properties':{'name':{'type':'string'},'args':{'type':_0x1626e0(_0x3d86a4._0x50071c,0x3c7,_0x3d86a4._0x3a2c2a,0x29e)}},'required':['name']},async *'execute'(_0x5b5395){const _0x37db61={_0x591677:0x1cf};function _0x5c84c0(_0x16b80a,_0x2281b6,_0x476dd1,_0x19045b){return _0x37eda6(_0x476dd1,_0x16b80a- -0x3ee,_0x476dd1-0x161,_0x19045b-_0x37db61._0x591677);}const _0x13db60=_0x36b985[_0x5c84c0(_0x373704._0x216ee5,0x1e4,_0x373704._0xa7372e,0x146)](_0x5b5395['name']);if(!_0x13db60){const _0x3d8a00=Array[_0x2dc4d0(0x1d3,_0x373704._0x1f8469,_0x373704._0x164b1e,0xb0)](_0x36b985[_0x2dc4d0(_0x373704._0x254197,_0x373704._0x5b917f,-_0x373704._0x9383ad,0x267)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x5b5395['name']+_0x2dc4d0(-_0x373704._0x457f5,-_0x373704._0x4aff9b,-0x150,-0x92)+_0x3d8a00,{'name':_0x5b5395[_0x2dc4d0(0x77,_0x373704._0xaf48e7,-0x5d,_0x373704._0x574e47)]});}const _0x373515=await _0x23084d[_0x5c84c0(0xab,0x131,_0x373704._0x155105,-_0x373704._0x4c4ae2)](_0x13db60),_0x186377=_0x5b5395[_0x2dc4d0(0xbb,0x14,0x136,_0x373704._0xfd8ab6)]??'';function _0x2dc4d0(_0x402a69,_0x36bfe2,_0x7c9c18,_0x2dbe53){return _0x37eda6(_0x402a69,_0x36bfe2- -0x5b2,_0x7c9c18-0x125,_0x2dbe53-_0x41c660._0x2f465e);}const _0x4df892=renderCommandInstructions({'instructions':_0x373515['instructions'],'argumentsText':_0x186377,'argumentNames':_0x373515[_0x2dc4d0(0x83,0xe5,_0x373704._0x39dedd,-_0x373704._0x294923)]});return yield createToolOutput(_0x4df892,{'id':_0x373515['id'],'name':_0x373515[_0x2dc4d0(-0xad,_0x373704._0x67107f,-0x2f,0x93)],'path':_0x13db60['source'][_0x5c84c0(_0x373704._0x37d137,_0x373704._0x3700b5,0x169,_0x373704._0x4c96fc)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x1fb475,rename as _0x3bafcb,stat as _0x176835,writeFile as _0x1bdc9e}from'fs/promises';import*as _0x507425 from'path';function detectEol(_0x3391da){const _0x5dca54={_0x5e2c41:0x2b2,_0x1317c1:0x201,_0x4ef032:0x15a,_0x1c087c:0x139,_0xf0d3b1:0x1,_0x230691:0x663,_0x1d5caa:0x50f,_0x112a62:0x67a},_0x384a7c={_0x54f704:0x2ad},_0x3f1d39={_0x515304:0x16b};function _0x59f4c3(_0x46f377,_0x307c3f,_0x32d7fb,_0x48fa18){return _0x1e45aa(_0x46f377-_0x3f1d39._0x515304,_0x307c3f-0x8d,_0x48fa18- -0xc2,_0x307c3f);}function _0x1a48bb(_0xa58a41,_0x15fe88,_0x248e45,_0x297a62){return _0x55c88d(_0xa58a41-0xff,_0x15fe88- -_0x384a7c._0x54f704,_0xa58a41,_0x297a62-0x8b);}return/\r\n/[_0x1a48bb(0x25d,_0x5dca54._0x5e2c41,0x22a,0x189)](_0x3391da[_0x1a48bb(0xfc,0x16f,_0x5dca54._0x1317c1,0x1a6)](_0x1a48bb(_0x5dca54._0x4ef032,_0x5dca54._0x1c087c,0x21e,_0x5dca54._0xf0d3b1)))?_0x59f4c3(0x7da,_0x5dca54._0x230691,_0x5dca54._0x1d5caa,_0x5dca54._0x112a62):'lf';}function normalizeToLf(_0x260b6a){const _0x470667={_0x57b00c:0x17b,_0xae110b:0x17d,_0x3e1306:0x67},_0x57999a={_0x2cf55c:0x315,_0x5ddba2:0xe1};function _0x819b5e(_0x5e0a24,_0x488c1e,_0x5d21ea,_0x37f254){return _0x55c88d(_0x5e0a24-0x1ca,_0x5d21ea- -_0x57999a._0x2cf55c,_0x488c1e,_0x37f254-_0x57999a._0x5ddba2);}return _0x260b6a[_0x819b5e(_0x470667._0x57b00c,_0x470667._0xae110b,_0x470667._0x3e1306,0xac)](/\r\n/g,'\x0a');}function convertEol(_0x5a057,_0x194261){return _0x194261==='crlf'?_0x5a057['replace'](/\n/g,'\x0d\x0a'):_0x5a057;}async function atomicWrite(_0x360338,_0x218a4f){const _0x50c00a={_0x2fde44:0x383,_0x12a35b:0x373,_0x4f414b:0x4c7,_0x51c05f:0x3e1,_0x327c1b:0x5ba,_0x1242ac:0x29a,_0x26dba1:0x38c,_0x58c4d6:0x568,_0x5e29c0:0x213,_0x3800c5:0x1bc},_0x4b8cf3={_0x5926db:0x106,_0x4edfae:0x2c2},_0x34cb52={_0x5fc9da:0x4b};function _0x90850e(_0x3f0ecb,_0x50260c,_0x13e950,_0x2a36a6){return _0x1e45aa(_0x3f0ecb-0x17,_0x50260c-0xdc,_0x3f0ecb- -_0x34cb52._0x5fc9da,_0x50260c);}const _0x3188ed=_0x507425['dirname'](_0x360338),_0x471cee=_0x507425[_0x428e08(_0x50c00a._0x2fde44,_0x50c00a._0x12a35b,_0x50c00a._0x4f414b,_0x50c00a._0x51c05f)](_0x3188ed,_0x90850e(0x6fc,0x6a8,0x699,_0x50c00a._0x327c1b)+_0x507425['basename'](_0x360338)+'.'+Date[_0x428e08(0x39f,0x27f,_0x50c00a._0x1242ac,_0x50c00a._0x26dba1)]()+'.'+Math[_0x90850e(_0x50c00a._0x58c4d6,0x5a8,0x662,0x57d)]()['toString'](0x24)[_0x428e08(_0x50c00a._0x5e29c0,0x1c7,_0x50c00a._0x3800c5,0x2b4)](0x2));function _0x428e08(_0x4c6188,_0x3e9e10,_0x2d1fc7,_0x233fa8){return _0x1e45aa(_0x4c6188-0xf2,_0x3e9e10-_0x4b8cf3._0x5926db,_0x233fa8- -_0x4b8cf3._0x4edfae,_0x2d1fc7);}await _0x1bdc9e(_0x471cee,_0x218a4f),await _0x3bafcb(_0x471cee,_0x360338);}function sha256(_0x235a10){const _0x43d381={_0x3d9e1a:0x6fe,_0x44651d:0x700,_0x5574bc:0x560,_0x61ff95:0x4c1,_0x4f1ad3:0x65c,_0x1b5df2:0x717,_0x49b8dc:0x3ac,_0x5bdb60:0x3d9},_0x1ead47={_0x2b12fb:0xc3,_0x3e809c:0x158,_0x179751:0x37f},_0x1a39dd={_0x5905f5:0x144,_0x2ad6ea:0x183,_0x588fa0:0xa4};function _0x503f71(_0x9bdb52,_0x406d38,_0x593fb9,_0x37af86){return _0x1e45aa(_0x9bdb52-_0x1a39dd._0x5905f5,_0x406d38-_0x1a39dd._0x2ad6ea,_0x593fb9- -_0x1a39dd._0x588fa0,_0x406d38);}function _0x10cea0(_0x2592cf,_0x359722,_0xc1441a,_0x2472ae){return _0x1e45aa(_0x2592cf-_0x1ead47._0x2b12fb,_0x359722-_0x1ead47._0x3e809c,_0xc1441a- -_0x1ead47._0x179751,_0x359722);}return createHash(_0x503f71(_0x43d381._0x3d9e1a,0x58c,_0x43d381._0x44651d,0x816))[_0x503f71(_0x43d381._0x5574bc,_0x43d381._0x61ff95,0x537,0x3d3)](_0x235a10)[_0x503f71(0x7aa,0x54b,_0x43d381._0x4f1ad3,_0x43d381._0x1b5df2)](_0x10cea0(_0x43d381._0x49b8dc,_0x43d381._0x5bdb60,0x40e,0x290));}function countLines(_0x42873f){const _0x36f92f={_0x43ea70:0x521,_0x2818d1:0x413,_0x4af573:0x58d,_0x43cca3:0x2d9,_0x2f66a2:0x38a,_0x56b96f:0x41e,_0x2f5cab:0x63b},_0xcf335c={_0x244e28:0x1de,_0x4a2e81:0xa4},_0x302332={_0x317cee:0x211};function _0x1b0f06(_0x4515f5,_0x3ef73d,_0x2aae93,_0x1a8a97){return _0x55c88d(_0x4515f5-0xd4,_0x1a8a97-_0x302332._0x317cee,_0x3ef73d,_0x1a8a97-0x6c);}const _0x448e0f=_0x42873f[_0x1b0f06(0x514,_0x36f92f._0x43ea70,_0x36f92f._0x2818d1,_0x36f92f._0x4af573)](/\n$/,'');function _0x13daac(_0x3fdef5,_0xc2b2f6,_0x378c8c,_0x9189a9){return _0x1e45aa(_0x3fdef5-_0xcf335c._0x244e28,_0xc2b2f6-_0xcf335c._0x4a2e81,_0x378c8c- -0x458,_0x3fdef5);}return _0x448e0f[_0x13daac(0x3de,_0x36f92f._0x43cca3,_0x36f92f._0x2f66a2,_0x36f92f._0x56b96f)]===0x0?0x0:_0x448e0f[_0x1b0f06(0x752,0x70c,0x71a,_0x36f92f._0x2f5cab)]('\x0a')['length'];}function calculateLineNumbers(_0x31b639,_0x440658,_0x1d2fa7,_0x56648c){const _0x3797b3={_0x1aebda:0x1cd,_0x1c6e49:0x13b,_0x2d3c5f:0x6e},_0x512cb3={_0x596223:0x19a,_0x47d652:0x56},_0x41a9cd={_0x224d62:0x99,_0x1db624:0x1a,_0x3d4d79:0x62},_0xad2236=_0x31b639[_0x3c5eaf(0x220,0x201,0x2df,_0x3797b3._0x1aebda)](0x0,_0x56648c)[_0x52fed1(-_0x3797b3._0x1c6e49,-0x1f9,-0x20,-0x7e)]('\x0a')[_0x52fed1(0x1b1,_0x3797b3._0x2d3c5f,-0xcd,0x89)],_0x28a21d=countLines(_0x440658);function _0x3c5eaf(_0x224b3e,_0x4ad870,_0x16a82d,_0x2edcc1){return _0x55c88d(_0x224b3e-_0x41a9cd._0x224d62,_0x16a82d-_0x41a9cd._0x1db624,_0x2edcc1,_0x2edcc1-_0x41a9cd._0x3d4d79);}const _0xe57fcd=countLines(_0x1d2fa7);function _0x52fed1(_0x543be8,_0x24e417,_0x40c714,_0x314e9a){return _0x55c88d(_0x543be8-_0x512cb3._0x596223,_0x314e9a- -0x4a8,_0x543be8,_0x314e9a-_0x512cb3._0x47d652);}return{'oldStartLine':_0xad2236,'oldEndLine':_0xad2236+_0x28a21d-0x1,'newStartLine':_0xad2236,'newEndLine':_0xad2236+_0xe57fcd-0x1,'oldLineCount':_0x28a21d,'newLineCount':_0xe57fcd};}function createFileEditTool(_0x983921={}){const _0xd1f276={_0x8113a4:0x2f8,_0x229de1:0x180,_0x29ed48:0x2ec,_0x9ef049:0x2a4,_0x10292d:0x1d6,_0x120866:0x12a,_0x568c97:0x2e3,_0x1bdd19:0x387,_0x6d39aa:0x3b1,_0x571255:0x390,_0x4a472d:0xf4,_0x377429:0x26e,_0x31cff4:0x183,_0x51b335:0x130,_0x52014e:0x28a,_0x5a9285:0x2e5,_0x8e61fe:0x24c,_0x5d0c43:0x108,_0x28e337:0x443,_0xfb6f3a:0x30e,_0x10fd69:0x2fd,_0x2b6427:0x207,_0x514a88:0x2f7,_0x28f5f9:0xe9,_0x270f10:0x2a0,_0x4a9098:0x12d,_0x1a94bd:0x103,_0x87e4e7:0x158,_0x5c4b24:0x41e},_0x55e13c={_0x187470:0x755,_0x56a65d:0x51d,_0x3a7ea9:0x672,_0x2891ef:0x648,_0x595ff2:0x3d0,_0x289e3b:0x32b,_0x56fe9a:0x341,_0x5579c1:0x3d6,_0x423020:0x338,_0x2f4502:0x238,_0x32d649:0x349,_0x4b745a:0x583,_0x3ea40a:0x4f1,_0x3f481a:0x372,_0x109cd0:0x3f5,_0x49a444:0x2dd,_0x1428c9:0x3aa,_0x5cafda:0x495,_0x476458:0x4b4,_0x171cf7:0x46e,_0x5d2d02:0x583,_0x2ef165:0x554,_0x3d5576:0x531,_0x2b60a8:0x5bf,_0x82d31d:0x59e,_0x4eaec8:0x5d6,_0x1d5ba8:0x5ce,_0x44c5d8:0x5d8,_0x23b907:0x55f,_0x26c365:0x4c7,_0x3b235e:0x499,_0x40a316:0x5e6,_0x50c356:0x4a2,_0x1f0dea:0x594,_0x205afc:0x2e7,_0xc0c775:0x424,_0x2d13fd:0x56e,_0x5a1fd4:0x403,_0x219b2d:0x49a,_0x376976:0x701,_0x4ec111:0x723,_0x25f65a:0x7bf,_0x2207fb:0x7e8,_0x34f9e7:0x701,_0x43e76d:0x616},_0x17ab8f={_0x4dea4d:0x17b},_0x398845={_0x12632c:0x1e3,_0x221758:0x6e},_0x14951f={_0x99eb57:0x118},_0x16828d=_0x507425[_0x580b86(_0xd1f276._0x8113a4,_0xd1f276._0x229de1,0x178,_0xd1f276._0x29ed48)](_0x983921[_0x580b86(_0xd1f276._0x9ef049,_0xd1f276._0x10292d,0xf9,_0xd1f276._0x120866)]??process[_0x510f56(0x3e7,_0xd1f276._0x568c97,_0xd1f276._0x1bdd19,_0xd1f276._0x6d39aa)]());function _0x580b86(_0x571364,_0x35b494,_0x2e12c6,_0x4a9cd2){return _0x1e45aa(_0x571364-0x166,_0x35b494-_0x14951f._0x99eb57,_0x35b494- -0x518,_0x2e12c6);}function _0x510f56(_0xccd841,_0x20053a,_0x7d1136,_0xc2483){return _0x55c88d(_0xccd841-_0x398845._0x12632c,_0x20053a- -0x2b,_0xc2483,_0xc2483-_0x398845._0x221758);}const _0xb8ebe4=_0x983921[_0x580b86(0x2f6,0x252,_0xd1f276._0x571255,_0xd1f276._0x4a472d)]??[],_0x238d95=_0x983921['name']??_0x580b86(_0xd1f276._0x377429,_0xd1f276._0x31cff4,_0xd1f276._0x51b335,_0xd1f276._0x52014e);return defineTool({'name':_0x238d95,'description':_0x580b86(_0xd1f276._0x5a9285,_0xd1f276._0x8e61fe,0x282,_0xd1f276._0x5d0c43),'inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'description':{'type':_0x510f56(0x457,_0xd1f276._0x28e337,0x420,_0xd1f276._0xfb6f3a),'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':_0x580b86(_0xd1f276._0x10fd69,_0xd1f276._0x2b6427,_0xd1f276._0x514a88,_0xd1f276._0x28f5f9)},'newText':{'type':'string'},'dryRun':{'type':_0x580b86(_0xd1f276._0x270f10,_0xd1f276._0x4a9098,_0xd1f276._0x1a94bd,0x10d)}},'required':[_0x580b86(0x37,_0xd1f276._0x87e4e7,0x9d,0xa7),_0x510f56(0x55c,0x477,_0xd1f276._0x5c4b24,0x580),'newText']},async *'execute'(_0x2c0fb6){const _0x4a93a0={_0x7091ba:0x1d,_0x504ef1:0x2b9,_0x24ccf2:0xa9},_0x4c9c18=resolveAllowedPath(_0x16828d,_0xb8ebe4,_0x2c0fb6[_0x3337fa(0x6b4,0x58f,0x477,0x671)]);await assertWorkspaceFile(_0x4c9c18);const _0x112f7e=await _0x176835(_0x4c9c18),_0x4bec85=await _0x1fb475(_0x4c9c18),_0x4febb3=detectEol(_0x4bec85),_0x291163=normalizeToLf(_0x4bec85[_0x3337fa(_0x55e13c._0x187470,0x5ec,0x4ef,_0x55e13c._0x56a65d)]('utf8')),_0x4c3109=normalizeToLf(_0x2c0fb6[_0x3337fa(0x75a,_0x55e13c._0x3a7ea9,_0x55e13c._0x2891ef,0x6cf)]),_0x12f9ca=normalizeToLf(_0x2c0fb6[_0x291498(_0x55e13c._0x595ff2,_0x55e13c._0x289e3b,_0x55e13c._0x56fe9a,_0x55e13c._0x5579c1)]);function _0x291498(_0x25addc,_0x2997d8,_0x466e8f,_0x3f0848){return _0x580b86(_0x25addc-_0x4a93a0._0x7091ba,_0x2997d8-_0x4a93a0._0x504ef1,_0x466e8f,_0x3f0848-_0x4a93a0._0x24ccf2);}const _0x46ee9d=_0x291163[_0x291498(0x1fe,_0x55e13c._0x423020,_0x55e13c._0x2f4502,0x47d)](_0x4c3109);if(_0x46ee9d===-0x1){const _0x449d11=_0x4c3109[_0x291498(0x46a,0x317,_0x55e13c._0x32d649,0x309)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x449d11+(_0x4c3109[_0x291498(0x5a3,_0x55e13c._0x4b745a,0x4d2,_0x55e13c._0x3ea40a)]>0x64?'...':'')+'\x22',{'filePath':_0x2c0fb6[_0x291498(_0x55e13c._0x3f481a,0x411,_0x55e13c._0x109cd0,_0x55e13c._0x49a444)]});}const _0xeded12=_0x291163['slice'](0x0,_0x46ee9d)+_0x12f9ca+_0x291163[_0x3337fa(_0x55e13c._0x1428c9,_0x55e13c._0x5cafda,0x465,_0x55e13c._0x476458)](_0x46ee9d+_0x4c3109[_0x291498(_0x55e13c._0x171cf7,_0x55e13c._0x5d2d02,0x475,_0x55e13c._0x2ef165)]),_0x1427ae=convertEol(_0xeded12,_0x4febb3),_0x342f60=Buffer[_0x3337fa(0x7c7,0x6df,0x5f7,0x603)](_0x1427ae,_0x291498(0x3f6,0x438,_0x55e13c._0x3d5576,0x50f)),_0x1d8095=sha256(_0x4bec85),_0x17f3fc=sha256(_0x342f60),_0x231a95=_0x1d8095===_0x17f3fc,_0x31756b=_0x2c0fb6[_0x291498(_0x55e13c._0x2b60a8,_0x55e13c._0x82d31d,0x435,_0x55e13c._0x4eaec8)]??![];!_0x31756b&&!_0x231a95&&await atomicWrite(_0x4c9c18,_0x342f60);yield createToolOutput(_0x231a95?_0x291498(_0x55e13c._0x1d5ba8,0x57d,0x4e5,_0x55e13c._0x44c5d8):_0x31756b?_0x291498(0x669,_0x55e13c._0x23b907,_0x55e13c._0x26c365,0x419):_0x291498(0x537,_0x55e13c._0x3b235e,0x42e,0x4c8),{'filePath':_0x2c0fb6[_0x3337fa(_0x55e13c._0x40a316,0x58f,0x4fb,_0x55e13c._0x3ea40a)],'resolvedPath':_0x4c9c18,'created':_0x112f7e['birthtime'][_0x291498(_0x55e13c._0x50c356,0x56e,_0x55e13c._0x1f0dea,0x590)](),'modified':_0x112f7e[_0x291498(_0x55e13c._0x205afc,_0x55e13c._0xc0c775,0x2a6,0x41b)][_0x291498(0x5f3,_0x55e13c._0x2d13fd,0x58a,0x437)](),'size':_0x112f7e[_0x3337fa(_0x55e13c._0x5a1fd4,_0x55e13c._0x219b2d,0x37d,0x3cc)],'eol':_0x4febb3,'oldTextLength':_0x4c3109[_0x3337fa(0x886,_0x55e13c._0x376976,_0x55e13c._0x4ec111,_0x55e13c._0x25f65a)],'newTextLength':_0x12f9ca[_0x3337fa(_0x55e13c._0x2207fb,_0x55e13c._0x34f9e7,0x6ed,_0x55e13c._0x43e76d)],'bytesWritten':_0x231a95||_0x31756b?0x0:_0x342f60[_0x3337fa(_0x55e13c._0x4eaec8,0x701,0x7bd,0x788)],'beforeSha':_0x1d8095,'afterSha':_0x17f3fc,'dryRun':_0x31756b,'noChange':_0x231a95,'lineNumbers':calculateLineNumbers(_0x291163,_0x4c3109,_0x12f9ca,_0x46ee9d)});function _0x3337fa(_0x287461,_0x3c394a,_0xf6b019,_0x2052db){return _0x510f56(_0x287461-0x156,_0x3c394a-0x1fb,_0xf6b019-_0x17ab8f._0x4dea4d,_0x287461);}return void 0x0;}});}import{mkdir as _0x454091,rename as _0x23a7cb,stat as _0x413b4f,writeFile as _0x2c0ad1}from'fs/promises';import*as _0x3c1a5f from'path';async function atomicWrite2(_0x1ea760,_0x1c32fc){const _0x56f54a={_0x5e23c0:0x4c7,_0xf60168:0x40f,_0x2b8102:0x659,_0x3003d5:0x2f7,_0x454436:0x4f6,_0x429aae:0x4df,_0x3d826b:0x42f,_0x97002b:0x5b5},_0x49f9e7={_0x4d9864:0xd4},_0x22f001={_0x2df7b5:0x1d2,_0x9142e:0x1b9},_0x4c5898=_0x3c1a5f[_0x1a19fc(_0x56f54a._0x5e23c0,0x58a,0x562,0x654)](_0x1ea760);await _0x454091(_0x4c5898,{'recursive':!![]});const _0x4d281a=_0x3c1a5f['join'](_0x4c5898,_0x47d9c9(_0x56f54a._0xf60168,0x55c,_0x56f54a._0x2b8102,0x510)+_0x3c1a5f['basename'](_0x1ea760)+'.'+Date[_0x47d9c9(0x435,_0x56f54a._0x3003d5,0x41d,0x417)]()+'.'+Math[_0x1a19fc(_0x56f54a._0x454436,0x5f2,_0x56f54a._0x429aae,0x382)]()[_0x47d9c9(_0x56f54a._0x3d826b,0x5fa,_0x56f54a._0x97002b,0x496)](0x24)['slice'](0x2));function _0x47d9c9(_0x8f2263,_0x160ab2,_0x4fd83f,_0x4b45ec){return _0x55c88d(_0x8f2263-_0x22f001._0x2df7b5,_0x4b45ec-0x7a,_0x160ab2,_0x4b45ec-_0x22f001._0x9142e);}function _0x1a19fc(_0x1d6eb,_0x51b214,_0x528cc0,_0xbd0e0a){return _0x1e45aa(_0x1d6eb-0x193,_0x51b214-0x175,_0x528cc0- -_0x49f9e7._0x4d9864,_0xbd0e0a);}await _0x2c0ad1(_0x4d281a,_0x1c32fc),await _0x23a7cb(_0x4d281a,_0x1ea760);}function createFileNewTool(_0xf84fbf={}){const _0x37f2fb={_0x26f1dd:0x463,_0x4e6a3f:0x57a,_0x16e629:0x528,_0x3979bc:0x102,_0x5692a5:0x4e,_0x13f270:0x101,_0x146bf3:0x356,_0x57b391:0x455,_0x269f7f:0x4b4,_0x30700b:0x6e3,_0x424507:0x5fa,_0xa2da03:0x1a4,_0x42dd79:0x1d1,_0x4ab451:0x721,_0x1f0c0a:0x57f,_0x1b5d06:0x605,_0x4ce31f:0x21c,_0x11ae4d:0xd3,_0x51384b:0x5d1,_0x205cb0:0x4c3,_0x3fa60b:0x384,_0x35ec40:0x6d5,_0x56e2c5:0x67b,_0x28f4e5:0x5af,_0x46d909:0x554,_0x2411d9:0x6bb},_0x215686={_0x105cf1:0x335,_0xf10153:0x4f5,_0x48c451:0x3c3,_0x57807d:0x53b,_0x15e44c:0x52a,_0x38982e:0x2ee,_0x5208ed:0x435,_0x5c8bee:0x3dc,_0x56a82e:0x314,_0x4dc996:0x443,_0x125c1f:0x311,_0x32aa0e:0x3fc,_0x5185a0:0x41f,_0x2f01ea:0x3e1,_0x5cb510:0x2f5,_0x2f66d0:0x2b0,_0x1cc058:0x37c,_0x4b2c03:0x37a,_0x23a1aa:0x28e,_0xacd1bc:0x27a,_0x5e544b:0x46e,_0x129112:0x4a0},_0x44255f={_0x1966d2:0x367},_0x409cc4={_0xd067ba:0x1cd,_0x124836:0x165,_0x3a7627:0x5ec};function _0x31ce8b(_0x3e986e,_0x3aab35,_0x5112de,_0x2a89d7){return _0x1e45aa(_0x3e986e-0x14b,_0x3aab35-0x55,_0x2a89d7- -0x170,_0x5112de);}const _0x1ee01e=_0x3c1a5f[_0x31ce8b(_0x37f2fb._0x26f1dd,0x556,_0x37f2fb._0x4e6a3f,_0x37f2fb._0x16e629)](_0xf84fbf[_0x15336e(0x101,_0x37f2fb._0x3979bc,_0x37f2fb._0x5692a5,_0x37f2fb._0x13f270)]??process[_0x31ce8b(_0x37f2fb._0x146bf3,_0x37f2fb._0x57b391,0x361,0x44f)]()),_0x4dd5bd=_0xf84fbf[_0x31ce8b(_0x37f2fb._0x269f7f,_0x37f2fb._0x30700b,0x4c2,_0x37f2fb._0x424507)]??[],_0x5e3336=_0xf84fbf[_0x15336e(0x64,_0x37f2fb._0xa2da03,0x1aa,_0x37f2fb._0x42dd79)]??_0x31ce8b(_0x37f2fb._0x4ab451,_0x37f2fb._0x1f0c0a,0x663,_0x37f2fb._0x1b5d06);function _0x15336e(_0x40b56,_0x4cf75e,_0xe2445,_0x3ca8bd){return _0x1e45aa(_0x40b56-_0x409cc4._0xd067ba,_0x4cf75e-_0x409cc4._0x124836,_0x4cf75e- -_0x409cc4._0x3a7627,_0x3ca8bd);}return defineTool({'name':_0x5e3336,'description':_0x15336e(0xf1,_0x37f2fb._0x4ce31f,_0x37f2fb._0x11ae4d,0x185),'inputSchema':{'type':_0x31ce8b(_0x37f2fb._0x51384b,_0x37f2fb._0x205cb0,_0x37f2fb._0x3fa60b,0x498),'properties':{'filePath':{'type':_0x31ce8b(_0x37f2fb._0x35ec40,0x67e,_0x37f2fb._0x56e2c5,_0x37f2fb._0x28f4e5)},'content':{'type':_0x31ce8b(_0x37f2fb._0x46d909,0x5c0,_0x37f2fb._0x2411d9,_0x37f2fb._0x28f4e5)}},'required':[_0x31ce8b(0x4ba,0x557,0x547,0x500),'content']},async *'execute'(_0x302715){const _0x10293b=resolveAllowedPath(_0x1ee01e,_0x4dd5bd,_0x302715['filePath']),_0x2476ce=await _0x413b4f(_0x10293b)[_0x5e7941(0x30b,0x2fa,0x43c,0x229)](()=>!![])[_0x49a0f1(0x39e,_0x215686._0x105cf1,_0x215686._0xf10153,_0x215686._0x48c451)](()=>![]),_0x3ddcde=Buffer[_0x49a0f1(_0x215686._0x57807d,0x608,0x48c,_0x215686._0x15e44c)](_0x302715[_0x5e7941(0x3c9,0x24f,_0x215686._0x38982e,_0x215686._0x5208ed)],_0x49a0f1(0x412,0x58c,0x45e,_0x215686._0x5c8bee));function _0x5e7941(_0x355d33,_0xff2b2d,_0xacfdad,_0xa580df){return _0x31ce8b(_0x355d33-0x1c9,_0xff2b2d-0x38,_0xa580df,_0x355d33- -0x1ef);}function _0x49a0f1(_0x3fefb3,_0x3938f2,_0x4860f5,_0x2d3628){return _0x15336e(_0x3fefb3-0x1d9,_0x3fefb3-_0x44255f._0x1966d2,_0x4860f5-0xce,_0x2d3628);}return await atomicWrite2(_0x10293b,_0x3ddcde),yield createToolOutput(_0x5e7941(_0x215686._0x56a82e,_0x215686._0x4dc996,0x476,0x300)+_0x302715[_0x5e7941(_0x215686._0x125c1f,0x3b0,_0x215686._0x32aa0e,_0x215686._0x5185a0)]+'.',{'filePath':_0x302715[_0x5e7941(0x311,_0x215686._0x2f01ea,_0x215686._0x5cb510,0x199)],'resolvedPath':_0x10293b,'bytes':_0x3ddcde['length'],'lines':_0x302715[_0x5e7941(0x3c9,0x362,_0x215686._0x2f66d0,0x2c8)][_0x5e7941(_0x215686._0x1cc058,_0x215686._0x4b2c03,_0x215686._0x23a1aa,_0x215686._0xacd1bc)](/\r?\n/)['length'],'created':new Date()[_0x5e7941(_0x215686._0x5e544b,_0x215686._0x129112,0x55f,0x571)](),'overwritten':_0x2476ce}),void 0x0;}});}import{readFile as _0x3a6bb3,stat as _0x309baf}from'fs/promises';import*as _0x58140f from'path';function stripUtfBom(_0x44b19b){const _0x5849a9={_0x8df1a4:0x877,_0x562631:0x615,_0x346796:0x4ef},_0x4f9917={_0x107b79:0x5ad},_0x4b8167={_0x2d5a04:0x1a0};function _0x2ca616(_0x5c03d7,_0x38608b,_0x2c16ed,_0x986a38){return _0x55c88d(_0x5c03d7-0x7,_0x986a38-0x22a,_0x38608b,_0x986a38-_0x4b8167._0x2d5a04);}function _0x160de6(_0x3abb18,_0x4ff10b,_0x2c044a,_0x5d9c94){return _0x1e45aa(_0x3abb18-0xe,_0x4ff10b-0x1d8,_0x5d9c94- -_0x4f9917._0x107b79,_0x2c044a);}return _0x44b19b[_0x2ca616(0x645,_0x5849a9._0x8df1a4,0x8c6,0x7ba)](0x0)===0xfeff?_0x44b19b[_0x2ca616(_0x5849a9._0x562631,0x45c,0x3be,_0x5849a9._0x346796)](0x1):_0x44b19b;}function clampLine(_0x51f56c,_0x3185ce){const _0x2b043a={_0x1e0d52:0x2a4,_0x2eaa02:0x1bb,_0x20e3fa:0x1d2,_0x2db82b:0x145,_0x5931cd:0x2fc,_0x1a3b49:0x229},_0x4ba2ea={_0xeb6ac3:0x18e},_0x519d6e={_0x4d7239:0x133,_0x3adc26:0x776};if(!Number[_0x40202d(-_0x2b043a._0x1e0d52,-0x288,-_0x2b043a._0x2eaa02,-0x2c5)](_0x51f56c))return 0x1;function _0x40202d(_0xdb8e9d,_0x34b732,_0xa1da8d,_0x9963b3){return _0x1e45aa(_0xdb8e9d-0xaf,_0x34b732-_0x519d6e._0x4d7239,_0xa1da8d- -_0x519d6e._0x3adc26,_0x34b732);}function _0x2a2115(_0x2b47ad,_0x53e5ba,_0x21a25a,_0xfb88a5){return _0x55c88d(_0x2b47ad-_0x4ba2ea._0xeb6ac3,_0xfb88a5- -0xe4,_0x53e5ba,_0xfb88a5-0x13d);}return Math[_0x40202d(-0x11b,-_0x2b043a._0x20e3fa,-_0x2b043a._0x2db82b,-0x28f)](0x1,Math['min'](Math[_0x2a2115(_0x2b043a._0x5931cd,0x1f6,0x13c,_0x2b043a._0x1a3b49)](_0x51f56c),_0x3185ce));}function createFileReadTool(_0x34025f={}){const _0x50e98f={_0x145597:0x133,_0x39c469:0x1a7,_0x1573f6:0x210,_0x24ca16:0x31c,_0x4a68a2:0x279,_0x588329:0x304,_0x4bea16:0x32d,_0x176fd8:0xde,_0x86e796:0x1b2,_0x31573b:0x7c,_0x57067b:0x15,_0x931202:0x76e,_0x17d865:0x61b,_0x2305dc:0x659,_0xec7505:0x40e,_0x23f9e9:0x342,_0x1b30e9:0x2c8,_0x35eaca:0x1e9},_0x598ba4={_0xd447e4:0x40b,_0x463244:0x50b,_0x1d3919:0x48d,_0x309e69:0x5ea,_0x5639d5:0x505,_0x1480ee:0x3cb,_0x5e9db2:0x34b,_0x2ba636:0x5be,_0xc2017e:0x449,_0x40c7cf:0x571,_0x1b0307:0x4f1,_0x262cb1:0x289,_0x49e627:0x45a,_0x254f30:0x59d,_0x159d33:0x5f9,_0x18086d:0x781,_0x18c387:0x621,_0x23ee51:0x6cf,_0x403ab9:0x82b,_0x366962:0x162,_0x23f62b:0x4d3,_0x3f80a9:0x4de,_0x1ee544:0x409,_0x30c91a:0x27a,_0x2c8fad:0x3ea,_0x5756ae:0x2f5,_0x2007d4:0x2a1},_0xa81c61={_0xea39a9:0x195,_0x537307:0xc7},_0x2eae80={_0x4235d5:0x2c4,_0x2ba99c:0x1ab},_0x429410={_0x376c7a:0xde,_0x5edd58:0xeb},_0x13a5a9=_0x58140f[_0x516b23(_0x50e98f._0x145597,0x1de,_0x50e98f._0x39c469,0x104)](_0x34025f['defaultCwd']??process['cwd']());function _0x516b23(_0x14f300,_0x513463,_0x3289d1,_0x3c817c){return _0x55c88d(_0x14f300-_0x429410._0x376c7a,_0x3289d1- -0x240,_0x14f300,_0x3c817c-_0x429410._0x5edd58);}const _0x1b37fc=_0x34025f[_0x516b23(_0x50e98f._0x1573f6,_0x50e98f._0x24ca16,_0x50e98f._0x4a68a2,0x30f)]??[],_0x3d27b6=_0x34025f[_0x516b23(_0x50e98f._0x588329,_0x50e98f._0x4bea16,0x29f,0x418)]??_0x516b23(-_0x50e98f._0x176fd8,_0x50e98f._0x86e796,_0x50e98f._0x31573b,_0x50e98f._0x57067b);function _0x553d13(_0x143062,_0x1492f4,_0xce7670,_0x45e944){return _0x55c88d(_0x143062-0x93,_0xce7670-_0x2eae80._0x4235d5,_0x1492f4,_0x45e944-_0x2eae80._0x2ba99c);}return defineTool({'name':_0x3d27b6,'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0x553d13(_0x50e98f._0x931202,0x4cd,_0x50e98f._0x17d865,_0x50e98f._0x2305dc),'properties':{'path':{'type':'string'},'lineStart':{'type':'number','description':_0x516b23(0x1d9,_0x50e98f._0xec7505,_0x50e98f._0x23f9e9,0x435)},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':[_0x516b23(_0x50e98f._0x1b30e9,0xa4,_0x50e98f._0x35eaca,0xb3)]},async *'execute'(_0x599b74){const _0x510da7=resolveAllowedPath(_0x13a5a9,_0x1b37fc,_0x599b74[_0x5b2b88(_0x598ba4._0xd447e4,0x173,0x2cb,0x2e2)]);await assertWorkspaceFile(_0x510da7);const _0x3ae21c=await _0x309baf(_0x510da7),_0x513e3c=await _0x3a6bb3(_0x510da7);if(isProbablyBinary(_0x513e3c))throw new ToolExecutionError(_0x14cc3e(_0x598ba4._0x463244,0x683,0x589,_0x598ba4._0x1d3919)+_0x599b74['path'],{'path':_0x599b74['path']});function _0x14cc3e(_0x3a86e8,_0x435604,_0x4a6f30,_0xbeaa27){return _0x516b23(_0x435604,_0x435604-_0xa81c61._0xea39a9,_0x4a6f30-0x35f,_0xbeaa27-_0xa81c61._0x537307);}let _0x566e8a=_0x513e3c[_0x14cc3e(0x3da,0x59c,0x53b,0x553)](_0x14cc3e(0x562,_0x598ba4._0x309e69,_0x598ba4._0x5639d5,_0x598ba4._0x1480ee));const _0x11fa6e=_0x566e8a[_0x5b2b88(_0x598ba4._0x5e9db2,0x34b,_0x598ba4._0x2ba636,_0x598ba4._0xc2017e)](0x0)===0xfeff;_0x566e8a=stripUtfBom(_0x566e8a);const _0x4ec628=_0x566e8a[_0x14cc3e(0x4de,0x511,0x549,0x574)](/\r?\n/),_0x4ef817={'path':_0x599b74['path'],'resolvedPath':_0x510da7,'created':_0x3ae21c[_0x5b2b88(0x394,0x2ed,0x1bc,0x2bc)][_0x14cc3e(0x698,0x72a,0x63b,0x766)](),'modified':_0x3ae21c[_0x14cc3e(_0x598ba4._0x40c7cf,0x660,_0x598ba4._0x1b0307,0x3fe)][_0x5b2b88(0x3ef,0x31d,_0x598ba4._0x262cb1,0x3d5)](),'size':_0x3ae21c['size'],'encoding':_0x14cc3e(_0x598ba4._0x49e627,_0x598ba4._0x254f30,_0x598ba4._0x5639d5,_0x598ba4._0x159d33),'bomStripped':_0x11fa6e,'truncated':![],'totalLines':_0x4ec628['length']};function _0x5b2b88(_0x1e9784,_0x25a1ec,_0x4e4eb2,_0x424414){return _0x516b23(_0x4e4eb2,_0x25a1ec-0xb2,_0x424414-0xf9,_0x424414-0x12b);}if(_0x599b74[_0x14cc3e(_0x598ba4._0x18086d,_0x598ba4._0x18c387,_0x598ba4._0x23ee51,_0x598ba4._0x403ab9)]!==void 0x0||_0x599b74[_0x5b2b88(0xb4,0x5a,_0x598ba4._0x366962,0x1a3)]!==void 0x0){const _0x13848a=clampLine(_0x599b74[_0x5b2b88(0x3e8,0x51d,_0x598ba4._0x23f62b,0x469)]??0x1,_0x4ec628['length']),_0x31ce98=clampLine(_0x599b74['lineEnd']??_0x4ec628['length'],_0x4ec628[_0x5b2b88(_0x598ba4._0x3f80a9,_0x598ba4._0x1ee544,_0x598ba4._0x30c91a,_0x598ba4._0x2c8fad)]),_0x40b338=Math['min'](_0x13848a,_0x31ce98),_0x23c77b=Math['max'](_0x13848a,_0x31ce98),_0x47f148=_0x4ec628[_0x5b2b88(0x1a9,_0x598ba4._0x5756ae,_0x598ba4._0x2007d4,0x17e)](_0x40b338-0x1,_0x23c77b)['map']((_0x426873,_0x3295a3)=>_0x40b338+_0x3295a3+'|'+_0x426873)['join']('\x0a');return yield createToolOutput(_0x47f148,{..._0x4ef817,'lineRange':{'lineStart':_0x40b338,'lineEnd':_0x23c77b,'linesTotal':_0x4ec628['length']}}),void 0x0;}return yield createToolOutput(_0x566e8a,_0x4ef817),void 0x0;}});}import{stat as _0x5c7953}from'fs/promises';import*as _0x931a15 from'path';import{execSync,spawn as _0x461b8a}from'child_process';import{existsSync}from'fs';import{stat as _0x202ad1}from'fs/promises';import*as _0x1d3a01 from'os';import*as _0x29726e from'path';import{rgPath as _0x2e6ce8}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x41ba7e={_0x2fcd88:0x123,_0x4f4be2:0x99,_0x44474b:0x1b7,_0xcfeb25:0xfd,_0x21b1d3:0x5e,_0x25d713:0x447,_0x286bc5:0x56d,_0x20dba8:0x114,_0x561320:0x312,_0x1c915f:0x212,_0x15ac7d:0x1e5,_0x4df668:0x11e,_0x163ae1:0x8f,_0x5654c9:0x61,_0xfe6f52:0x3c0,_0x4c75cb:0x522,_0x118aac:0x321,_0x6ca55c:0x5df,_0x21701a:0x6aa,_0x4dcab5:0x5c8,_0x2bc8aa:0x1bf,_0x72b36:0x483,_0x35b944:0x178,_0x2d87b6:0x65,_0x1f9b8e:0x6c,_0x20b685:0x61,_0x538aaa:0x69,_0x177c35:0x73,_0x3694d0:0x164,_0x7e4f22:0x4b4,_0x1b3a91:0x54f,_0x1228ef:0x613,_0xc0d6b3:0x514,_0x72bcf5:0x302,_0x2105e5:0x2db,_0x5a28e7:0x30f,_0x40ce49:0x232,_0x96abbe:0x7b,_0x38af8b:0x3c,_0x4310bb:0x45,_0x47fec1:0x74,_0x341901:0xc9,_0x449b99:0x3cd,_0x5afdd2:0x274,_0x3db0a3:0x41c,_0x364aff:0x599,_0x811366:0x58d,_0x287c62:0x65f,_0x52b5cb:0x580,_0x439048:0x96,_0x16d9af:0x14,_0x57205a:0xee,_0x83bf58:0x11d,_0x1a8c5b:0x86,_0x49be6a:0x15f,_0x572260:0x99};function _0x3bae48(_0x53a676,_0x3fd76d,_0x584e4c,_0x191ebb){return _0x55c88d(_0x53a676-0x7,_0x191ebb- -0x391,_0x584e4c,_0x191ebb-0xe9);}const _0x10b119=_0x1d3a01[_0x3bae48(_0x41ba7e._0x2fcd88,0x2de,_0x41ba7e._0x4f4be2,_0x41ba7e._0x44474b)]()==='win32',_0x598a7f=_0x10b119?[_0x29726e[_0x3bae48(0x137,_0x41ba7e._0xcfeb25,-0x6a,0x61)](process[_0x3bae48(-0xd3,0x57,0x11b,0x48)][_0x3bae48(0xb7,_0x41ba7e._0x21b1d3,-0x52,0x78)]||'',_0x1e5de1(_0x41ba7e._0x25d713,_0x41ba7e._0x286bc5,0x3c0,0x516),_0x3bae48(0x93,-_0x41ba7e._0x20dba8,0xb2,-0x35),_0x1e5de1(_0x41ba7e._0x561320,_0x41ba7e._0x1c915f,_0x41ba7e._0x15ac7d,0x21d)),_0x29726e[_0x3bae48(_0x41ba7e._0x4df668,0xec,_0x41ba7e._0x163ae1,_0x41ba7e._0x5654c9)](process[_0x1e5de1(_0x41ba7e._0xfe6f52,_0x41ba7e._0x4c75cb,_0x41ba7e._0x118aac,0x271)][_0x1e5de1(0x574,0x677,_0x41ba7e._0x6ca55c,_0x41ba7e._0x21701a)]||'',_0x1e5de1(0x4b4,0x3e7,_0x41ba7e._0x4dcab5,0x3f9),_0x1e5de1(0x335,_0x41ba7e._0x2bc8aa,_0x41ba7e._0x72b36,0x427)),_0x29726e[_0x3bae48(_0x41ba7e._0x35b944,-_0x41ba7e._0x2d87b6,-_0x41ba7e._0x1f9b8e,_0x41ba7e._0x20b685)](process[_0x1e5de1(0x3c0,0x45d,0x4ed,0x33b)][_0x3bae48(-_0x41ba7e._0x538aaa,_0x41ba7e._0x177c35,-_0x41ba7e._0x3694d0,-_0x41ba7e._0x21b1d3)]||'',_0x1e5de1(_0x41ba7e._0x7e4f22,_0x41ba7e._0x1b3a91,_0x41ba7e._0x1228ef,_0x41ba7e._0xc0d6b3),'rg.exe')]:[_0x1e5de1(_0x41ba7e._0x72bcf5,_0x41ba7e._0x2105e5,_0x41ba7e._0x5a28e7,_0x41ba7e._0x40ce49),_0x3bae48(-0x8e,0x79,-_0x41ba7e._0x96abbe,0x2),_0x3bae48(0x111,_0x41ba7e._0x38af8b,-_0x41ba7e._0x4310bb,0x4),'/bin/rg'];for(const _0x52fc2c of _0x598a7f){if(existsSync(_0x52fc2c))return _0x52fc2c;}function _0x1e5de1(_0x214e16,_0x17c4ec,_0x82035b,_0x1847e9){return _0x55c88d(_0x214e16-0xd2,_0x214e16- -0x19,_0x17c4ec,_0x1847e9-0x179);}try{const _0x569077=_0x10b119?_0x3bae48(0x94,0xd8,-0x1a9,-0x45):_0x3bae48(-_0x41ba7e._0x47fec1,_0x41ba7e._0x341901,-0x128,-0xb4),_0x15b12e=execSync(_0x569077,{'encoding':_0x1e5de1(_0x41ba7e._0x449b99,0x362,_0x41ba7e._0x5afdd2,_0x41ba7e._0x3db0a3),'stdio':[_0x1e5de1(_0x41ba7e._0x364aff,_0x41ba7e._0x811366,0x4c2,_0x41ba7e._0x287c62),_0x1e5de1(_0x41ba7e._0x364aff,0x663,_0x41ba7e._0x52b5cb,0x537),_0x3bae48(_0x41ba7e._0x439048,-_0x41ba7e._0x16d9af,_0x41ba7e._0x57205a,_0x41ba7e._0x83bf58)]})[_0x3bae48(_0x41ba7e._0x1a8c5b,0xea,0xd8,_0x41ba7e._0x49be6a)]()[_0x3bae48(-0xd6,0xce,0x126,_0x41ba7e._0x572260)](/\r?\n/)[0x0];if(_0x15b12e&&existsSync(_0x15b12e))return _0x15b12e;}catch{return null;}return null;}async function filepath(){const _0x5a7250={_0x50b8d5:0x1b9},_0x237a72={_0x270d28:0x103,_0x435cfc:0x183};if(cachedRgPath)return cachedRgPath;if(_0x2e6ce8&&existsSync(_0x2e6ce8))return cachedRgPath=_0x2e6ce8,_0x2e6ce8;const _0x946ab=findSystemRipgrep();function _0x4a0134(_0x6f2abf,_0x45be07,_0x3ed64d,_0xfa8360){return _0x55c88d(_0x6f2abf-_0x237a72._0x270d28,_0xfa8360- -0x49a,_0x6f2abf,_0xfa8360-_0x237a72._0x435cfc);}if(!_0x946ab)throw new Error(_0x4a0134(-0x16b,-0x1f8,-_0x5a7250._0x50b8d5,-0x177));return cachedRgPath=_0x946ab,_0x946ab;}async function*files(_0x11380f){const _0x3ce8c6={_0x437b2a:0x230,_0x1ad96a:0xb9,_0x113b21:0x98,_0x3509e6:0x2a1,_0x2d54a0:0x204,_0x47c8be:0x1ca,_0xf81d77:0x279,_0xef6473:0xed,_0x3a101a:0x234,_0x527872:0x33,_0x5ae4be:0x95,_0x49f64f:0x3fd,_0x3f3492:0x2e0,_0x448fbe:0x193,_0xdb47e8:0x20e,_0x4a77cf:0x124,_0x8ab75a:0x43,_0x5d80dc:0x125,_0x2bc8f3:0xa8,_0xbc7df4:0x4b7,_0x22e937:0x2af,_0x56fb9a:0x208,_0x50c50f:0x1f8,_0x355f6b:0xf,_0x79d9ba:0x10a,_0x39c17e:0x155,_0x19a43c:0x490,_0x48163a:0x4a7,_0x36ef55:0x48d,_0x39e3e7:0xb3,_0x553efc:0xd7,_0x389fbb:0x196,_0x45ca93:0x143,_0x376c9f:0x4,_0x299b9b:0x12,_0x551e9b:0x9e,_0xd3021a:0xc0,_0xb964ba:0x165,_0x60fab9:0x1a0,_0x1434d2:0x1f8,_0x5e744a:0x119,_0x2789e6:0x28,_0x3640f8:0x159},_0x1c5c36={_0x30f296:0x116,_0x5def2b:0x418,_0x3463c0:0x160},_0x1c4215={_0x39a29c:0xeb,_0x179b87:0x1e8,_0x4d1fa6:0x422},_0x10c808=await filepath();function _0x9e74e1(_0x1c0218,_0x15d5c7,_0x53a45d,_0x3c3902){return _0x1e45aa(_0x1c0218-_0x1c4215._0x39a29c,_0x15d5c7-_0x1c4215._0x179b87,_0x3c3902- -_0x1c4215._0x4d1fa6,_0x53a45d);}const _0x2fa5c8=await _0x202ad1(_0x11380f[_0x4b66cb(-0x1f6,-0x10a,0x77,-_0x3ce8c6._0x437b2a)])['catch'](()=>null);function _0x4b66cb(_0x1a4792,_0x3dbb5c,_0x578419,_0x57c474){return _0x55c88d(_0x1a4792-_0x1c5c36._0x30f296,_0x3dbb5c- -_0x1c5c36._0x5def2b,_0x1a4792,_0x57c474-_0x1c5c36._0x3463c0);}if(!_0x2fa5c8?.[_0x4b66cb(_0x3ce8c6._0x1ad96a,-0xa1,-0x24,-_0x3ce8c6._0x113b21)]())throw Object[_0x9e74e1(0x2c3,_0x3ce8c6._0x3509e6,0x240,0x28f)](new Error(_0x9e74e1(_0x3ce8c6._0x2d54a0,_0x3ce8c6._0x47c8be,_0x3ce8c6._0xf81d77,0x1c8)+_0x11380f['cwd']+'\x27'),{'code':_0x4b66cb(-0x1b8,-0x92,_0x3ce8c6._0xef6473,-0x1c5)});const _0x38a518=[_0x4b66cb(_0x3ce8c6._0x3a101a,0x127,_0x3ce8c6._0x527872,_0x3ce8c6._0x5ae4be),_0x9e74e1(_0x3ce8c6._0x49f64f,0x314,0x267,_0x3ce8c6._0x3f3492),_0x4b66cb(0x25e,_0x3ce8c6._0x448fbe,0x20f,_0x3ce8c6._0xdb47e8),_0x4b66cb(-_0x3ce8c6._0x4a77cf,-_0x3ce8c6._0x8ab75a,-_0x3ce8c6._0x5d80dc,-_0x3ce8c6._0x2bc8f3)];for(const _0x42c2f5 of _0x11380f[_0x9e74e1(_0x3ce8c6._0xbc7df4,_0x3ce8c6._0x22e937,0x334,0x401)]??[]){_0x38a518['push'](_0x9e74e1(_0x3ce8c6._0x56fb9a,_0x3ce8c6._0x50c50f,0x38b,0x296)+_0x42c2f5);}const _0x56c09e=_0x461b8a(_0x10c808,_0x38a518,{'cwd':_0x11380f[_0x4b66cb(_0x3ce8c6._0x355f6b,-_0x3ce8c6._0x79d9ba,0x4c,0x4)],'stdio':[_0x4b66cb(0x34,0x96,0xbe,_0x3ce8c6._0x39c17e),_0x9e74e1(_0x3ce8c6._0x19a43c,0x47a,0x3bd,0x441),_0x9e74e1(_0x3ce8c6._0x48163a,_0x3ce8c6._0x36ef55,0x5bd,0x441)]});let _0x25f2f5='';for await(const _0x522fa0 of _0x56c09e[_0x4b66cb(-_0x3ce8c6._0x39e3e7,-0x15b,-_0x3ce8c6._0x553efc,-_0x3ce8c6._0x389fbb)]??[]){_0x25f2f5+=_0x522fa0[_0x4b66cb(-_0x3ce8c6._0x45ca93,_0x3ce8c6._0x376c9f,-0x180,-0x124)]();const _0x3c5912=_0x25f2f5[_0x4b66cb(-0xd0,_0x3ce8c6._0x299b9b,_0x3ce8c6._0x551e9b,-_0x3ce8c6._0xd3021a)](/\r?\n/);_0x25f2f5=_0x3c5912[_0x4b66cb(_0x3ce8c6._0xb964ba,_0x3ce8c6._0x60fab9,_0x3ce8c6._0x1434d2,0x217)]()??'';for(const _0x4ada3f of _0x3c5912){if(_0x4ada3f['length']>0x0)yield _0x4ada3f;}}_0x25f2f5[_0x4b66cb(0x55,0xd8,0xe,-0x52)]()[_0x4b66cb(0x24e,_0x3ce8c6._0x5e744a,_0x3ce8c6._0x2789e6,_0x3ce8c6._0x3640f8)]>0x0&&(yield _0x25f2f5['trim']());}function parseMatchLine(_0x5d7d40,_0x1bf5b5){const _0x40fd79={_0x183169:0x256,_0x2515c3:0x1d8,_0x52637b:0x21e,_0x2426c8:0x47,_0x451dc4:0x1e2,_0x5bee7b:0x275,_0x573a65:0x77,_0x4401c2:0xf4,_0x4fe310:0x125,_0x3e2c21:0xd9,_0x21d5f6:0xdc,_0x20de4c:0x4e,_0x43f865:0x18a,_0x279bab:0xdf,_0x309f25:0x22,_0x3e1904:0xfe,_0x145945:0xdb,_0x2c3a8c:0x1e9,_0x27c7ac:0xa9,_0x3d8919:0x129,_0xaafba0:0x1cf,_0x4dfc91:0xb5,_0x501ec8:0x51,_0x428ee0:0xca},_0x1bb145={_0x2ca94d:0x433},_0x58fd84={_0x409bbf:0x313,_0x319d5c:0x86};if(!_0x5d7d40||_0x5d7d40==='--')return null;const _0x1fda3b=_0x5d7d40[_0x46f1ae(_0x40fd79._0x183169,-0x58,0x14b,0x117)]('|');function _0x46f1ae(_0x4e8a3e,_0x2879d2,_0x312a34,_0x474ab6){return _0x55c88d(_0x4e8a3e-0x36,_0x474ab6- -_0x58fd84._0x409bbf,_0x312a34,_0x474ab6-_0x58fd84._0x319d5c);}if(_0x1bf5b5&&_0x1fda3b[_0x46f1ae(0x219,0x189,_0x40fd79._0x2515c3,_0x40fd79._0x52637b)]>=0x4&&Number[_0x9da540(_0x40fd79._0x2426c8,-_0x40fd79._0x451dc4,-_0x40fd79._0x5bee7b,-0x129)](Number[_0x46f1ae(-0x46,0xf1,0x1d8,_0x40fd79._0x573a65)](_0x1fda3b[0x2]??'',0xa))){const _0x4fb107=Number[_0x46f1ae(-_0x40fd79._0x4401c2,-0xbb,_0x40fd79._0x4fe310,0x77)](_0x1fda3b[0x1]??'',0xa);if(!Number['isFinite'](_0x4fb107)||!_0x1fda3b[0x0])return null;return{'filePath':_0x1fda3b[0x0],'lineNum':_0x4fb107,'lineText':_0x1fda3b[_0x46f1ae(-0x165,_0x40fd79._0x3e2c21,-_0x40fd79._0x21d5f6,-_0x40fd79._0x20de4c)](0x3)[_0x46f1ae(0xbf,0x1,_0x40fd79._0x43f865,_0x40fd79._0x279bab)]('|')};}if(_0x1fda3b[_0x9da540(-0x23,0x1c6,_0x40fd79._0x309f25,_0x40fd79._0x3e1904)]>=0x3){const _0x472afc=Number[_0x9da540(_0x40fd79._0x145945,-0x41,-_0x40fd79._0x2c3a8c,-_0x40fd79._0x27c7ac)](_0x1fda3b[0x1]??'',0xa);if(!Number[_0x9da540(-0x23e,-0x184,-0x66,-_0x40fd79._0x3d8919)](_0x472afc)||!_0x1fda3b[0x0])return null;return{'filePath':_0x1fda3b[0x0],'lineNum':_0x472afc,'lineText':_0x1fda3b[_0x46f1ae(-_0x40fd79._0xaafba0,_0x40fd79._0x4dfc91,-0x91,-0x4e)](0x2)[_0x9da540(-_0x40fd79._0x501ec8,0x10a,-_0x40fd79._0x428ee0,-0x41)]('|'),..._0x1bf5b5?{'isContext':!![]}:{}};}function _0x9da540(_0x4db0ba,_0xbaf2f2,_0x544171,_0x5c0510){return _0x55c88d(_0x4db0ba-0x97,_0x5c0510- -_0x1bb145._0x2ca94d,_0xbaf2f2,_0x5c0510-0xfc);}return null;}async function search(_0x57c221){const _0x2d5397={_0x1c43f6:0x72c,_0x791a8d:0x4fc,_0x264491:0x53,_0x5412b7:0x52,_0x29f7af:0x12e,_0x1e10ca:0x6b7,_0x3e59b3:0x624,_0x879f2f:0x746,_0x48bfd8:0x152,_0x47cc25:0xc4,_0xe8f1e1:0x59e,_0x301d29:0x728,_0x292579:0x165,_0x57881e:0xc6,_0x2ef15f:0x642,_0x1fec8f:0x46c,_0x23b045:0x580,_0x59d5ac:0x678,_0x2a68e6:0x3c,_0x1cad14:0xaf,_0x2b435c:0x48a,_0x2c23d5:0x668,_0x2af8f4:0x5f1,_0x59ca7c:0x77b,_0x241d13:0x6da,_0x3b54da:0x720,_0x2a5700:0x921,_0x1ffff5:0x8ad,_0x2862ba:0x72e,_0x398f3e:0x7,_0x313bb0:0x214,_0xbf134e:0x126,_0x15ed8c:0xbe,_0x1bae60:0x6d9,_0x1dc730:0x178,_0x3e00cd:0x16c,_0x410676:0x716,_0x2a0830:0x680,_0x62fa41:0x5ff,_0x389bf7:0x567,_0x60e4e:0x665,_0x57ec42:0x8e3,_0x36e4f6:0x7dd,_0x5c3704:0x22,_0x109cdc:0x159,_0x48c45b:0x1c7,_0x227d4a:0xfc,_0x491ae4:0x155,_0x1da192:0x5e9,_0x2e1659:0x5f8,_0x1035b8:0x579},_0x804e62={_0x2786db:0x24b,_0x171d14:0x1ef,_0xfe47a0:0x1f2,_0x4eddf5:0x14b,_0x23d939:0xd7,_0x33dcbe:0x22a,_0x21dbdc:0x126,_0x30cf4c:0x10,_0x1c988e:0x1aa,_0x3d326c:0x165,_0x55442e:0x2a5,_0x4fdf27:0x19b,_0x23c828:0x46d,_0x340469:0x616},_0x411fbd={_0xc51cc8:0x5bd,_0x431832:0x6f8,_0x59c093:0x693,_0x34a332:0x404,_0x19f8da:0x4c6,_0x10a9bd:0x69b,_0x3caad1:0x762},_0x3069a0={_0x1cf33c:0x5cf},_0x2685d3={_0x2aea5b:0x19e},_0x5ed60d=await filepath();function _0x4752bf(_0x23f9ef,_0x5b3214,_0x276f34,_0x86f120){return _0x1e45aa(_0x23f9ef-0x19d,_0x5b3214-0x179,_0x5b3214- -0x5ca,_0x276f34);}if(_0x57c221[_0x2e7eaa(_0x2d5397._0x1c43f6,_0x2d5397._0x791a8d,0x5fd,0x5d6)]){const _0x16713a=await _0x202ad1(_0x57c221[_0x4752bf(-_0x2d5397._0x264491,_0x2d5397._0x5412b7,-_0x2d5397._0x29f7af,0x1af)])[_0x2e7eaa(0x5d5,_0x2d5397._0x1e10ca,_0x2d5397._0x3e59b3,0x5dd)](()=>null);if(!_0x16713a?.['isFile']())throw Object[_0x2e7eaa(_0x2d5397._0x879f2f,0x57a,0x4f7,0x66b)](new Error(_0x4752bf(0x2,0x66,_0x2d5397._0x48bfd8,-_0x2d5397._0x47cc25)+_0x57c221[_0x2e7eaa(_0x2d5397._0xe8f1e1,_0x2d5397._0x301d29,0x68f,0x5d6)]+'\x27'),{'code':_0x4752bf(_0x2d5397._0x292579,0x6d,-_0x2d5397._0x57881e,-0xd8)});}else{const _0x352f6b=await _0x202ad1(_0x57c221[_0x2e7eaa(0x621,_0x2d5397._0x2ef15f,_0x2d5397._0x1fec8f,0x579)])[_0x2e7eaa(_0x2d5397._0x23b045,0x47a,_0x2d5397._0x59d5ac,0x5dd)](()=>null);if(!_0x352f6b?.['isDirectory']())throw Object[_0x4752bf(_0x2d5397._0x2a68e6,0xe7,0x25c,-0xc)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x57c221[_0x4752bf(0x25,-0xb,0x13e,_0x2d5397._0x1cad14)]+'\x27'),{'code':_0x2e7eaa(_0x2d5397._0x2b435c,_0x2d5397._0x2c23d5,0x654,_0x2d5397._0x2af8f4)});}function _0x2e7eaa(_0x1126c6,_0x11c42d,_0x2fe32b,_0x26e42b){return _0x1e45aa(_0x1126c6-_0x2685d3._0x2aea5b,_0x11c42d-0x1d6,_0x26e42b- -0x46,_0x2fe32b);}const _0x3c26e6=[_0x2e7eaa(_0x2d5397._0x59ca7c,0x5b7,_0x2d5397._0x241d13,0x60b),_0x2e7eaa(0x658,0x57e,_0x2d5397._0x3b54da,0x636),'--field-context-separator=|',_0x2e7eaa(_0x2d5397._0x2a5700,_0x2d5397._0x1ffff5,_0x2d5397._0x2862ba,0x7c1),_0x57c221['pattern']],_0x2206c8=typeof _0x57c221[_0x4752bf(-0x20,_0x2d5397._0x398f3e,-0x71,-0x7d)]===_0x4752bf(_0x2d5397._0x313bb0,_0x2d5397._0xbf134e,-0x3b,_0x2d5397._0x15ed8c)&&_0x57c221[_0x2e7eaa(0x422,0x438,0x54c,0x58b)]>0x0;return _0x2206c8&&_0x3c26e6[_0x2e7eaa(0x6cf,0x78a,_0x2d5397._0x1bae60,0x65c)]('-C',String(_0x57c221[_0x4752bf(_0x2d5397._0x1dc730,_0x2d5397._0x398f3e,_0x2d5397._0x3e00cd,0x106)]),_0x2e7eaa(0x52b,0x7d8,_0x2d5397._0x410676,_0x2d5397._0x2a0830)),_0x57c221['glob']&&!_0x57c221['file']&&_0x3c26e6[_0x2e7eaa(0x629,0x4e0,0x690,0x65c)](_0x2e7eaa(0x6bd,_0x2d5397._0x62fa41,_0x2d5397._0x389bf7,0x6c2),_0x57c221[_0x2e7eaa(0x961,_0x2d5397._0x60e4e,_0x2d5397._0x57ec42,_0x2d5397._0x36e4f6)]),_0x3c26e6[_0x4752bf(-_0x2d5397._0x5c3704,0xd8,_0x2d5397._0x109cdc,_0x2d5397._0x48c45b)](_0x57c221[_0x4752bf(0x1a1,_0x2d5397._0x5412b7,_0x2d5397._0x227d4a,_0x2d5397._0x491ae4)]??_0x57c221[_0x2e7eaa(_0x2d5397._0x1da192,0x5f6,_0x2d5397._0x2e1659,_0x2d5397._0x1035b8)]),await new Promise((_0x18bc09,_0x1a4595)=>{const _0x34be12={_0x4de33b:0x135,_0x41ce2e:0x187},_0x41e109={_0x3598f4:0x174,_0x4cb896:0x7a},_0x2542dd={_0x58e01d:0x5de,_0x3ef111:0x47e},_0x13ed87={_0x41504c:0xd4,_0xe3542a:0xf},_0x518669=_0x461b8a(_0x5ed60d,_0x3c26e6,{'cwd':_0x57c221[_0x2cf771(-0x159,-_0x804e62._0x2786db,-_0x804e62._0x171d14,-_0x804e62._0xfe47a0)],'stdio':['ignore',_0x2cf771(_0x804e62._0x4eddf5,_0x804e62._0x23d939,_0x804e62._0x33dcbe,_0x804e62._0x21dbdc),_0x2cf771(0x14b,_0x804e62._0x30cf4c,0x204,0x146)]});let _0x708344='',_0x5cda2f='';_0x518669[_0x2cf771(-_0x804e62._0x1c988e,-0x300,-_0x804e62._0x3d326c,-_0x804e62._0x55442e)]?.['on'](_0x2cf771(-0x103,-0x1b8,-_0x804e62._0x4fdf27,0x5d),_0x459fae=>{const _0x2a697e={_0x654490:0x146};function _0x3fb632(_0x26fa9b,_0x27b4af,_0x66c762,_0x10bf1b){return _0x269cf2(_0x26fa9b-0x1b9,_0x26fa9b-0x155,_0x66c762-_0x2a697e._0x654490,_0x10bf1b);}_0x708344+=_0x459fae[_0x3fb632(0x655,_0x3069a0._0x1cf33c,0x70f,0x722)]();});function _0x2cf771(_0x35eace,_0x45c59b,_0x38a301,_0x3e6de1){return _0x2e7eaa(_0x35eace-_0x13ed87._0x41504c,_0x45c59b-_0x13ed87._0xe3542a,_0x3e6de1,_0x35eace- -0x6d2);}_0x518669[_0x269cf2(0x564,_0x804e62._0x23c828,0x5b2,0x473)]?.['on']('data',_0x55ff7e=>{const _0x3fed57={_0x32c339:0x1f2,_0x117cca:0x27,_0x1d96fb:0x62};function _0x977eb6(_0xdd04,_0x13444d,_0xdd9e8f,_0x3b1c4a){return _0x269cf2(_0xdd04-_0x3fed57._0x32c339,_0x3b1c4a- -_0x3fed57._0x117cca,_0xdd9e8f-_0x3fed57._0x1d96fb,_0x13444d);}_0x5cda2f+=_0x55ff7e[_0x977eb6(_0x2542dd._0x58e01d,_0x2542dd._0x3ef111,0x3e4,0x4d9)]();}),_0x518669['on'](_0x269cf2(0x615,0x64f,0x57c,0x58b),_0x59b4ce=>{if(_0x59b4ce===0x1&&_0x708344===''){_0x18bc09([]);return;}function _0x1b0076(_0x1ac290,_0x2f2d87,_0x1abc6a,_0x211d68){return _0x269cf2(_0x1ac290-0x5a,_0x2f2d87- -0x5e,_0x1abc6a-0x139,_0x1ac290);}if(_0x59b4ce!==0x0&&_0x59b4ce!==0x1){_0x1a4595(new Error('ripgrep\x20failed:\x20'+_0x5cda2f));return;}function _0x15dbb4(_0x88e84f,_0x11d719,_0x33dbf6,_0x6a0f63){return _0x269cf2(_0x88e84f-_0x41e109._0x3598f4,_0x11d719-_0x41e109._0x4cb896,_0x33dbf6-0x83,_0x6a0f63);}const _0x315076=_0x57c221[_0x1b0076(0x5ef,_0x411fbd._0xc51cc8,_0x411fbd._0x431832,_0x411fbd._0x59c093)]??0x64,_0x4fb9f5=[];for(const _0x1e6483 of _0x708344[_0x15dbb4(_0x411fbd._0x34a332,0x588,_0x411fbd._0x19f8da,0x637)](/\r?\n/)){if(_0x4fb9f5[_0x15dbb4(0x6e6,0x68f,_0x411fbd._0x10a9bd,_0x411fbd._0x3caad1)]>=_0x315076)break;const _0x20000a=parseMatchLine(_0x1e6483,_0x2206c8);if(_0x20000a)_0x4fb9f5['push'](_0x20000a);}_0x18bc09(_0x4fb9f5);});function _0x269cf2(_0x374d36,_0x1ab856,_0x344d6b,_0x490217){return _0x2e7eaa(_0x374d36-_0x34be12._0x4de33b,_0x1ab856-0x59,_0x490217,_0x1ab856- -_0x34be12._0x41ce2e);}_0x518669['on'](_0x269cf2(_0x804e62._0x340469,0x5db,0x4ce,0x4d1),_0x1a4595);});}function createGlobTool(_0x5e12b2={}){const _0x4943ad={_0x578447:0xf3,_0x5b5486:0x8f,_0x5758d0:0x129,_0x2973b8:0x82,_0x307986:0x139,_0x3adeb7:0xe5,_0x1b616e:0x89,_0x5882f7:0x7f,_0x456462:0x88,_0x244986:0x5fe,_0x44e4f0:0x720,_0xb3eb02:0x8a9,_0x3ff214:0x767,_0x337917:0x2a4,_0x1210bc:0x22d,_0x48cc0b:0x303,_0x9cf6fe:0x194,_0x97a510:0x9c,_0x178971:0x111,_0x1bf144:0x1,_0x1213cf:0x101,_0x2eead5:0x796,_0x23374d:0x71c,_0x96ee03:0x62e,_0x531836:0x778,_0x4009cc:0x638,_0x2cdbe1:0x71c,_0x5b7b9b:0x162,_0x329f2c:0x1e7},_0x4ca443={_0x11e8e2:0x58f,_0x4cf4b1:0x5fb,_0x41e65c:0x646,_0x5f4a58:0x588,_0x5751e7:0x658,_0x55e3b3:0x57d,_0x3c2a23:0x6af,_0x4f9082:0x5a1,_0x30491e:0x5b2,_0xcf8357:0x5dc,_0x286463:0x5e1,_0x337c92:0x438,_0x5adbdb:0x534,_0x3f4974:0x69d,_0x3ab458:0x5e3,_0x43b648:0x60a,_0x2a4928:0x86e,_0x29e80e:0x766,_0x405699:0x77f,_0x2f2b21:0x6c1,_0x505c67:0x5af,_0x46c5b7:0x53a,_0x509ff2:0x58d,_0x584efe:0x63c,_0xe17f1f:0x450,_0x121cc5:0x4fd,_0x451370:0x4c4,_0x3b68d6:0x302,_0x4eb403:0x334,_0x5b7120:0x47d,_0x1e35b2:0x3f7,_0xa29aed:0x37a,_0x459cf4:0x42a,_0x65cc80:0x539,_0x553f5a:0x6b7,_0x1f4f65:0x59f,_0x46d8d2:0x572,_0x1a7c75:0x595,_0x40f042:0x507,_0x1f173c:0x574,_0xa476d3:0x558,_0x4ec601:0x621,_0x4d9bb2:0x6a3,_0x4263f7:0x507,_0x5830b9:0x59d,_0x1ed789:0x7a4,_0x2ef85c:0x63c},_0xc45d5a={_0x5d1a14:0x7f},_0x1a90d8={_0x5c4822:0xf1,_0x3da819:0x609},_0x521b40=_0x931a15[_0x5c11fb(0x6a,-_0x4943ad._0x578447,_0x4943ad._0x5b5486,_0x4943ad._0x5758d0)](_0x5e12b2[_0x5c11fb(_0x4943ad._0x2973b8,_0x4943ad._0x307986,_0x4943ad._0x3adeb7,-_0x4943ad._0x1b616e)]??process[_0x5c11fb(_0x4943ad._0x5882f7,0xe6,-0x4a,_0x4943ad._0x456462)]());function _0x5c11fb(_0x24de66,_0x3620cf,_0x2543fb,_0x57bd1d){return _0x1e45aa(_0x24de66-0x11,_0x3620cf-_0x1a90d8._0x5c4822,_0x2543fb- -_0x1a90d8._0x3da819,_0x3620cf);}function _0x3f7d28(_0x52ad4b,_0x48f158,_0x30b8bc,_0x5ae111){return _0x1e45aa(_0x52ad4b-0x9d,_0x48f158-0x1c4,_0x5ae111- -0x3,_0x52ad4b);}const _0x335ffe=_0x5e12b2[_0x3f7d28(_0x4943ad._0x244986,_0x4943ad._0x44e4f0,_0x4943ad._0xb3eb02,_0x4943ad._0x3ff214)]??[],_0x39b24d=_0x5e12b2[_0x5c11fb(_0x4943ad._0x337917,_0x4943ad._0x1210bc,0x1df,_0x4943ad._0x48cc0b)]??0x64,_0x5d7708=_0x5e12b2['name']??_0x5c11fb(-_0x4943ad._0x9cf6fe,_0x4943ad._0x97a510,-0x82,0x8f);return defineTool({'name':_0x5d7708,'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x5c11fb(_0x4943ad._0x178971,0x48,-_0x4943ad._0x1bf144,_0x4943ad._0x1213cf),'properties':{'pattern':{'type':_0x3f7d28(_0x4943ad._0x2eead5,0x726,0x792,_0x4943ad._0x23374d)},'path':{'type':_0x3f7d28(_0x4943ad._0x96ee03,_0x4943ad._0x531836,_0x4943ad._0x4009cc,_0x4943ad._0x2cdbe1)},'limit':{'type':_0x5c11fb(_0x4943ad._0x5b7b9b,_0x4943ad._0x329f2c,0xe7,0x14c)}},'required':['pattern']},async *'execute'(_0x26b897){const _0x4b310e={_0x32b6f6:0x7d};if(_0x26b897[_0x2f2ccb(_0x4ca443._0x11e8e2,0x45f,0x507,0x66f)][_0x35afc1(0x571,0x673,0x59f,_0x4ca443._0x4cf4b1)]()['length']===0x0)throw new ToolExecutionError(_0x35afc1(0x50c,0x580,0x4df,_0x4ca443._0x41e65c),{});const _0x1d3b29=resolveAllowedPath(_0x521b40,_0x335ffe,_0x26b897[_0x2f2ccb(_0x4ca443._0x5f4a58,0x4f1,_0x4ca443._0x5751e7,_0x4ca443._0x55e3b3)]??'.'),_0x3efb5e=await _0x5c7953(_0x1d3b29)[_0x2f2ccb(0x687,_0x4ca443._0x3c2a23,_0x4ca443._0x4f9082,_0x4ca443._0x30491e)](()=>null);if(!_0x3efb5e?.[_0x2f2ccb(_0x4ca443._0xcf8357,0x70e,0x5a6,0x605)]())throw new ToolExecutionError(_0x35afc1(0x5cf,0x53b,0x72c,0x5da)+(_0x26b897[_0x35afc1(_0x4ca443._0x286463,0x5a9,_0x4ca443._0x337c92,_0x4ca443._0x5adbdb)]??'.'),{'path':_0x26b897[_0x35afc1(0x63c,_0x4ca443._0x3f4974,_0x4ca443._0x3ab458,_0x4ca443._0x5adbdb)]??'.'});const _0x3f4d2d=_0x26b897[_0x2f2ccb(_0x4ca443._0x43b648,_0x4ca443._0x2a4928,_0x4ca443._0x29e80e,_0x4ca443._0x405699)]??_0x39b24d,_0x35fa80=Math[_0x2f2ccb(_0x4ca443._0x2f2b21,0x705,_0x4ca443._0x505c67,0x639)](0x1,Math['trunc'](_0x3f4d2d)),_0x249c0c=[];function _0x35afc1(_0x320f2a,_0x1d1116,_0x336110,_0x436b78){return _0x5c11fb(_0x320f2a-_0x4b310e._0x32b6f6,_0x1d1116,_0x436b78-0x463,_0x436b78-0x167);}let _0x44cbed=![];for await(const _0x424eb5 of files({'cwd':_0x1d3b29,'glob':[_0x26b897['pattern']]})){if(_0x249c0c[_0x35afc1(_0x4ca443._0x46c5b7,0x555,_0x4ca443._0x509ff2,_0x4ca443._0x584efe)]>=_0x35fa80){_0x44cbed=!![];break;}const _0x5328db=await _0x5c7953(_0x931a15[_0x35afc1(_0x4ca443._0xe17f1f,0x4ff,0x539,_0x4ca443._0x121cc5)](_0x1d3b29,_0x424eb5))[_0x35afc1(_0x4ca443._0x451370,_0x4ca443._0x3b68d6,_0x4ca443._0x4eb403,_0x4ca443._0x5b7120)](()=>null);_0x249c0c['push']({'path':_0x424eb5,'mtime':_0x5328db?.['mtimeMs']??0x0});}_0x249c0c[_0x35afc1(_0x4ca443._0x1e35b2,0x548,_0x4ca443._0xa29aed,_0x4ca443._0x459cf4)]((_0x547da2,_0xacd16a)=>_0xacd16a[_0x2f2ccb(0x547,0x4be,0x601,0x652)]-_0x547da2['mtime']);const _0x5617c0=_0x249c0c[_0x2f2ccb(_0x4ca443._0x65cc80,_0x4ca443._0x509ff2,_0x4ca443._0x553f5a,0x7ea)](_0xe0b356=>_0xe0b356[_0x2f2ccb(0x4e3,0x6ed,0x658,0x658)]),_0x22ef83=_0x5617c0[_0x35afc1(_0x4ca443._0x1f4f65,0x4bd,_0x4ca443._0x46d8d2,0x63c)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x26b897[_0x2f2ccb(_0x4ca443._0x1a7c75,0x3dd,_0x4ca443._0x40f042,0x450)]:''+_0x5617c0[_0x2f2ccb(_0x4ca443._0x1f173c,_0x4ca443._0xa476d3,_0x4ca443._0x4ec601,0x4b5)]('\x0a')+(_0x44cbed?_0x35afc1(0x569,0x540,_0x4ca443._0x4d9bb2,0x610):'');yield createToolOutput(_0x22ef83,{'pattern':_0x26b897[_0x2f2ccb(0x625,0x50a,_0x4ca443._0x4263f7,0x45a)],'searchPath':_0x931a15['relative'](_0x521b40,_0x1d3b29)||'.','matches':_0x5617c0,'count':_0x5617c0[_0x35afc1(_0x4ca443._0x5830b9,_0x4ca443._0x1ed789,0x56b,_0x4ca443._0x2ef85c)],'truncated':_0x44cbed});function _0x2f2ccb(_0x439564,_0x2f3774,_0x459ed1,_0x3ab16e){return _0x3f7d28(_0x3ab16e,_0x2f3774-0x114,_0x459ed1-0x9c,_0x459ed1- -_0xc45d5a._0x5d1a14);}return void 0x0;}});}import{stat as _0x2af49a}from'fs/promises';import*as _0xb85925 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x4c5459={}){const _0x2b2485={_0x546eac:0x550,_0x2c0c68:0x4a2,_0x3bf9c0:0x6f4,_0x492d32:0x788,_0x175bce:0x59a,_0x711a0:0x714,_0x91cf25:0x638,_0x4e1be5:0x3b9,_0x24e2b7:0x360,_0x23da4f:0x7d0,_0x3be7a9:0x319,_0x5c59cc:0x295,_0x553b19:0x1f2,_0x576427:0x513},_0x1d4398={_0x1d90b6:0x14e,_0x3dfc3f:0x37,_0x30a1b3:0xfa,_0x373e34:0x78,_0x3ceaae:0x104,_0x563d22:0x5,_0x46a538:0x732,_0x413d15:0x773,_0x5dde2d:0x827,_0x4c590c:0x72c,_0xa50a26:0x742,_0x78aa63:0x7a9,_0x1155e9:0x715,_0x318b16:0x147,_0x598a4e:0xea,_0x1c44a6:0x45,_0xc911c4:0x1c6,_0x5f487b:0x142,_0x4cd19b:0x288,_0x5c38b8:0x1b5,_0x3a1101:0x1f0,_0x41856a:0x708,_0x3ad2bb:0x5fa,_0x8b4713:0x90,_0x25d40a:0xec,_0x42c254:0x7a,_0x83ddb1:0xa2,_0x1bc64e:0x139,_0x5d528a:0x5,_0x5e02eb:0xb5,_0x53272f:0x1ac,_0x13a1cd:0x2d7,_0x2f4f62:0x6b5,_0x155c32:0x1ad,_0x334bbe:0x6f5,_0xf99b71:0x855,_0x2fadb5:0x79,_0x49719a:0x138,_0x233202:0x1b7,_0x12b35d:0x5f,_0x23920e:0xe3,_0x27efe6:0x1be,_0x27657f:0x44,_0x327dac:0xc8,_0xdf8edc:0x1f,_0x503c70:0x296,_0x39c948:0x19a,_0xb242ff:0x88e,_0x4422d5:0x81d,_0x34f7fa:0x732,_0x2c8ad1:0x84f,_0x83699:0x760,_0x342043:0x671,_0x3a1d0c:0x7ce,_0xe48c7c:0x5ed,_0x20d486:0x46c,_0x167e10:0x741,_0x5d83e4:0x21,_0x353280:0x234,_0x3680bc:0x21c,_0x49dbd2:0x12c,_0x3da629:0x2ec,_0x62be12:0x136,_0x2cec74:0x78,_0x548035:0x22,_0x42b6af:0x5a7,_0x45b2ec:0x6c1,_0x2d3599:0x5c1,_0x22746d:0x1df,_0x434c09:0x1f4,_0x529f7c:0x270,_0x14662f:0x175,_0x15d6ab:0x22c,_0x4dfe79:0x132,_0x14e643:0x46,_0x23754b:0xcf,_0x1879f5:0xa1,_0x5e82f7:0x5a,_0x3714ca:0x157,_0xf8be5c:0x228,_0x51f597:0x501,_0x58c476:0x4a5,_0x1b5fe6:0x5d8,_0xacba6e:0x6eb,_0x26e489:0x5b6,_0x30c63a:0x83c,_0x1ef194:0x79d,_0x23b681:0xd3},_0xf6f081={_0x548e39:0x183,_0x28d91a:0x9c},_0x11fd9d={_0x21fd8b:0xeb,_0x58b5d2:0x2e0},_0x17f58d={_0x262734:0x132,_0x6a95cb:0x48a},_0x5e957e={_0xe6b6e6:0x117},_0x119f6b=_0xb85925[_0x5c2cca(0x446,0x3d2,_0x2b2485._0x546eac,0x656)](_0x4c5459[_0x5c2cca(0x6c8,0x476,0x5a6,0x619)]??process[_0x5c2cca(0x365,0x5ca,0x477,_0x2b2485._0x2c0c68)]());function _0x5c2cca(_0x179bda,_0x2cf9be,_0x42c99b,_0x527c4d){return _0x55c88d(_0x179bda-0x170,_0x42c99b-0x169,_0x179bda,_0x527c4d-_0x5e957e._0xe6b6e6);}const _0x3f2062=_0x4c5459[_0x5c2cca(0x630,0x6d2,0x622,_0x2b2485._0x3bf9c0)]??[];function _0x171016(_0x29bebc,_0x473821,_0x2f1e58,_0x3a75d9){return _0x1e45aa(_0x29bebc-0x185,_0x473821-_0x17f58d._0x262734,_0x473821- -_0x17f58d._0x6a95cb,_0x3a75d9);}const _0x3d9226=_0x4c5459[_0x5c2cca(_0x2b2485._0x492d32,_0x2b2485._0x175bce,0x6a0,0x71a)]??0x64,_0x556766=_0x4c5459[_0x5c2cca(_0x2b2485._0x711a0,_0x2b2485._0x91cf25,0x648,0x657)]??_0x5c2cca(_0x2b2485._0x4e1be5,_0x2b2485._0x24e2b7,0x4a0,0x584);return defineTool({'name':_0x556766,'description':_0x5c2cca(0x791,0x840,0x706,_0x2b2485._0x23da4f),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x171016(_0x2b2485._0x3be7a9,_0x2b2485._0x5c59cc,0x2fd,_0x2b2485._0x553b19)},'path':{'type':_0x5c2cca(0x490,_0x2b2485._0x576427,0x5d7,0x720)},'include':{'type':'string'},'limit':{'type':'number'},'context':{'type':'number'}},'required':['pattern']},async *'execute'(_0x417284){if(_0x417284[_0x4a31e1(-0x185,-0x1e1,-0x22f,-0x1a9)][_0x4a31e1(_0x1d4398._0x1d90b6,_0x1d4398._0x3dfc3f,_0x1d4398._0x30a1b3,0x54)]()[_0x4a31e1(-0x37,_0x1d4398._0x373e34,_0x1d4398._0x3ceaae,_0x1d4398._0x563d22)]===0x0)throw new ToolExecutionError(_0x131277(0x83b,_0x1d4398._0x46a538,_0x1d4398._0x413d15,_0x1d4398._0x5dde2d),{});const _0x1b4422=resolveAllowedPath(_0x119f6b,_0x3f2062,_0x417284[_0x131277(_0x1d4398._0x4c590c,_0x1d4398._0xa50a26,_0x1d4398._0x78aa63,_0x1d4398._0x1155e9)]??'.'),_0x217faf=await _0x2af49a(_0x1b4422)[_0x4a31e1(0x17,-_0x1d4398._0x318b16,-_0x1d4398._0x598a4e,-0x17b)](()=>null);function _0x4a31e1(_0x2b677a,_0x57302e,_0x5ebc9c,_0x152168){return _0x171016(_0x2b677a-_0x11fd9d._0x21fd8b,_0x57302e- -_0x11fd9d._0x58b5d2,_0x5ebc9c-0x1b4,_0x5ebc9c);}const _0x49330b=_0x217faf?.[_0x4a31e1(_0x1d4398._0x1c44a6,0x42,-0x4b,0x6d)]()??![],_0x13be5a=_0x217faf?.[_0x4a31e1(-_0x1d4398._0xc911c4,-_0x1d4398._0x5f487b,-0x163,-0x78)]()??![];if(!_0x49330b&&!_0x13be5a)throw new ToolExecutionError(_0x4a31e1(-_0x1d4398._0x4cd19b,-_0x1d4398._0x5c38b8,-_0x1d4398._0x3a1101,-0x83)+(_0x417284[_0x131277(_0x1d4398._0x41856a,0x5fa,_0x1d4398._0x3ad2bb,0x715)]??'.'),{'path':_0x417284[_0x4a31e1(-0x143,-_0x1d4398._0x8b4713,_0x1d4398._0x25d40a,0xc4)]??'.'});const _0x32c907=_0x417284[_0x4a31e1(-0x24,0x7e,-_0x1d4398._0x42c254,-_0x1d4398._0x83ddb1)]??_0x3d9226;function _0x131277(_0x3449ad,_0x3f3a66,_0x541348,_0x3d4cfc){return _0x5c2cca(_0x541348,_0x3f3a66-0x164,_0x3d4cfc-_0xf6f081._0x548e39,_0x3d4cfc-_0xf6f081._0x28d91a);}const _0x4caf0d=Math[_0x4a31e1(-0x15b,-_0x1d4398._0x1bc64e,_0x1d4398._0x5d528a,-0x29b)](0x1,Math[_0x4a31e1(-_0x1d4398._0x5e02eb,-_0x1d4398._0x53272f,-0x95,-_0x1d4398._0x13a1cd)](_0x32c907)),_0x4f7336=await search({'cwd':_0x13be5a?_0x1b4422:_0xb85925['dirname'](_0x1b4422),'pattern':_0x417284[_0x4a31e1(-0xe4,-0x1e1,-0x260,-0x33c)],'glob':_0x13be5a?_0x417284['include']:void 0x0,'limit':_0x4caf0d,'file':_0x49330b?_0x1b4422:void 0x0,'context':_0x417284[_0x131277(0x4ff,0x729,0x4c5,0x60c)]}),_0x1007e8=new Map();for(const _0x6f94da of _0x4f7336){if(!_0x1007e8['has'](_0x6f94da['filePath'])){const _0xc5bcb7=await _0x2af49a(_0x6f94da[_0x131277(0x701,_0x1d4398._0x2f4f62,0x798,0x6ab)])[_0x4a31e1(-0x1de,-_0x1d4398._0x318b16,-0x258,-_0x1d4398._0x155c32)](()=>null);_0x1007e8['set'](_0x6f94da['filePath'],{'matches':[],'mtime':_0xc5bcb7?.[_0x131277(_0x1d4398._0x334bbe,_0x1d4398._0xf99b71,0x7df,0x7bf)]??0x0});}_0x1007e8[_0x4a31e1(-0x1,_0x1d4398._0x2fadb5,_0x1d4398._0x49719a,_0x1d4398._0x233202)](_0x6f94da[_0x4a31e1(-_0x1d4398._0x12b35d,-0xfa,-0x10,-0xee)])?.[_0x4a31e1(0x16f,_0x1d4398._0x23920e,_0x1d4398._0x27efe6,0x149)][_0x4a31e1(-_0x1d4398._0x27657f,-_0x1d4398._0x327dac,0xb2,-0x23b)](_0x6f94da);}const _0x219773=[..._0x1007e8[_0x4a31e1(-0xa5,_0x1d4398._0xdf8edc,-0x4b,0x3)]()][_0x4a31e1(-_0x1d4398._0x503c70,-_0x1d4398._0x39c948,-0x18b,-0x1c7)]((_0xe2696a,_0x4d3bc3)=>_0x4d3bc3[0x1][_0x4a31e1(-0x47,-0xe7,-0x192,-0x14)]-_0xe2696a[0x1]['mtime']),_0x2e13a9=_0x4f7336['filter'](_0x2d4d02=>!_0x2d4d02[_0x4a31e1(0x6d,-0xf8,-0x127,-0xea)])[_0x131277(_0x1d4398._0xb242ff,0x8ad,0x761,_0x1d4398._0x4422d5)],_0xa14c61=_0x4f7336[_0x131277(_0x1d4398._0x34f7fa,_0x1d4398._0x2c8ad1,0x6fd,0x81d)]>=_0x4caf0d,_0x385073=_0x49330b?_0xb85925[_0x131277(0x701,0x7da,_0x1d4398._0x83699,_0x1d4398._0x342043)](_0x1b4422):_0x1b4422;let _0x12f047='';if(_0x4f7336['length']===0x0)_0x12f047=_0x131277(0x771,_0x1d4398._0x3a1d0c,0x885,0x7de)+_0x417284[_0x131277(_0x1d4398._0xe48c7c,_0x1d4398._0x20d486,0x525,0x5c4)];else{_0x12f047='Found\x20'+_0x2e13a9+_0x131277(0x76c,_0x1d4398._0x167e10,0x855,0x714)+(_0x2e13a9===0x1?'':'es')+'\x0a';for(const [_0x35ac96,_0x3e1d3a]of _0x219773){const _0x1c633f=_0x49330b?_0xb85925[_0x131277(0x8a6,0x693,0x75b,0x7f8)](_0x35ac96):_0xb85925[_0x4a31e1(_0x1d4398._0x5d83e4,-0x157,-_0x1d4398._0x353280,-0x95)](_0x385073,_0x35ac96);_0x12f047+='\x0a'+_0x1c633f+':\x0a';for(const _0x3160dd of _0x3e1d3a[_0x4a31e1(-0x2c,0xe3,_0x1d4398._0x3680bc,_0x1d4398._0x49dbd2)]){const _0x3eda5a=_0x3160dd[_0x4a31e1(-0x1db,-0x1e4,-_0x1d4398._0x3da629,-_0x1d4398._0x62be12)][_0x4a31e1(0x65,_0x1d4398._0x2cec74,-_0x1d4398._0x548035,0x15d)]>MAX_LINE_LENGTH?_0x3160dd[_0x131277(0x6c3,_0x1d4398._0x42b6af,_0x1d4398._0x45b2ec,_0x1d4398._0x2d3599)][_0x4a31e1(-_0x1d4398._0x22746d,-_0x1d4398._0x434c09,-0xf2,-0x215)](0x0,MAX_LINE_LENGTH)+_0x4a31e1(-0x1ce,-0x148,-_0x1d4398._0x529f7c,-0x18a):_0x3160dd['lineText'],_0x546879=_0x3160dd['isContext']?'\x20\x20':'>\x20';_0x12f047+=_0x546879+_0x4a31e1(-0x38,-_0x1d4398._0x14662f,-_0x1d4398._0x15d6ab,-_0x1d4398._0x4dfe79)+_0x3160dd[_0x4a31e1(-0x12d,-_0x1d4398._0x14e643,_0x1d4398._0x23754b,0xfc)]+':\x20'+_0x3eda5a+'\x0a';}}_0xa14c61&&(_0x12f047+=_0x4a31e1(-_0x1d4398._0x1879f5,0x4c,-0xfc,_0x1d4398._0x5e82f7));}const _0x4a5d36={'searchPath':_0xb85925[_0x4a31e1(0xd,-_0x1d4398._0x3714ca,-_0x1d4398._0xf8be5c,-0x1c8)](_0x119f6b,_0x1b4422)||'.','pattern':_0x417284[_0x131277(0x5ce,_0x1d4398._0x51f597,_0x1d4398._0x58c476,0x5c4)],'matchCount':_0x2e13a9,'fileCount':_0x1007e8[_0x131277(_0x1d4398._0x1b5fe6,_0x1d4398._0xacba6e,0x6a9,_0x1d4398._0x26e489)],'truncated':_0xa14c61};return _0x13be5a&&_0x417284[_0x131277(0x845,0x8f8,_0x1d4398._0x30c63a,_0x1d4398._0x1ef194)]!==void 0x0&&(_0x4a5d36['include']=_0x417284[_0x131277(0x8f8,0x756,0x779,0x79d)]),yield createToolOutput(_0x12f047[_0x4a31e1(-0xa0,0x37,0x1,_0x1d4398._0x23b681)](),_0x4a5d36),void 0x0;}});}function createKillShellTool(_0x1a8a8c){const _0x1b233e={_0x1917c:0x4b,_0x5c7ffb:0x11a,_0xf80e89:0x59a,_0x65c643:0x6d9,_0x2b52af:0x6db,_0x3e8125:0x656},_0xc1a172={_0x467aea:0x59,_0x49e0a5:0x3f,_0x36e5bb:0x4b7,_0x191fc6:0x529,_0x554e84:0x61a,_0x890d90:0x398,_0x5463e2:0xf7,_0x34855b:0x118,_0x1ebb11:0x78,_0x4c7a7f:0x2fd,_0x56e145:0x47f,_0x4fe77c:0x432,_0x1266f1:0x23a,_0x25660e:0x15d,_0x2710ed:0x56f,_0x2a21c0:0x622,_0x2fa1af:0x558,_0x2ce3c5:0x4cf,_0x12c894:0x4c2},_0x3fb5d6={_0x2eaaf1:0x75,_0x5978aa:0x13a},_0x3987f9={_0x3ea373:0x2ac,_0x11c678:0x144},_0x45005a={_0x54b9aa:0x43},_0xac3f91={_0x18bf4:0x1f3,_0x3f1b6b:0x8a},{registry:_0x20275d}=_0x1a8a8c;function _0x4a1712(_0x250082,_0x54819b,_0x469fe8,_0x1adb3c){return _0x55c88d(_0x250082-_0xac3f91._0x18bf4,_0x250082- -0x424,_0x469fe8,_0x1adb3c-_0xac3f91._0x3f1b6b);}function _0x6be08f(_0x1403b0,_0x3af502,_0x1c4d9c,_0x42e117){return _0x1e45aa(_0x1403b0-0x1ce,_0x3af502-0x15b,_0x1403b0- -_0x45005a._0x54b9aa,_0x1c4d9c);}return defineTool({'name':_0x4a1712(_0x1b233e._0x1917c,0x68,0x14a,0x6b),'description':_0x4a1712(0xb5,0x51,_0x1b233e._0x5c7ffb,0x68),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x6be08f(0x6dc,_0x1b233e._0xf80e89,0x743,_0x1b233e._0x65c643)}},'required':[_0x6be08f(_0x1b233e._0x2b52af,0x560,0x6b8,_0x1b233e._0x3e8125)]},async *'execute'(_0x57f92f){const _0x24bbfa=_0x20275d[_0x201770(-_0xc1a172._0x467aea,-0x13f,-0x111,_0xc1a172._0x49e0a5)](_0x57f92f['shellId']);function _0x5986ab(_0x2d582a,_0x5189cd,_0x5f1904,_0x8381fc){return _0x6be08f(_0x2d582a- -_0x3987f9._0x3ea373,_0x5189cd-0x1c2,_0x5189cd,_0x8381fc-_0x3987f9._0x11c678);}function _0x201770(_0x219980,_0x5208a8,_0x46bc85,_0x3d2c6c){return _0x6be08f(_0x3d2c6c- -0x6be,_0x5208a8-_0x3fb5d6._0x2eaaf1,_0x219980,_0x3d2c6c-_0x3fb5d6._0x5978aa);}return createToolOutput(_0x5986ab(_0xc1a172._0x36e5bb,_0xc1a172._0x191fc6,_0xc1a172._0x554e84,_0xc1a172._0x890d90)+_0x57f92f[_0x201770(-_0xc1a172._0x5463e2,_0xc1a172._0x34855b,_0xc1a172._0x1ebb11,0x1d)]+_0x5986ab(_0xc1a172._0x4c7a7f,0x1d3,_0xc1a172._0x56e145,_0xc1a172._0x4fe77c)+_0x24bbfa[_0x201770(_0xc1a172._0x1266f1,0x89,0x291,_0xc1a172._0x25660e)]+').',{'shellId':_0x57f92f['shellId'],'status':_0x24bbfa[_0x5986ab(_0xc1a172._0x2710ed,0x51c,0x504,_0xc1a172._0x2a21c0)],'exitCode':_0x24bbfa[_0x5986ab(_0xc1a172._0x2fa1af,_0xc1a172._0x2ce3c5,_0xc1a172._0x12c894,0x3f3)],'signal':_0x24bbfa[_0x201770(0xb8,0x69,0x13,0x165)]});}});}import{readdir as _0xd6a5d4,readFile as _0x548f5d,stat as _0x6efb3e}from'fs/promises';import*as _0x360b39 from'path';import*as _0x4c446c from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x5ac990,_0x4e1a95){const _0x5c01d1={_0x2fbf07:0x458,_0x1ad453:0x502,_0x48dbc0:0x44a,_0x2531b2:0x377,_0x1b4e32:0x540,_0x5583cf:0x5fb,_0x40c4d2:0x677,_0x582559:0x760},_0x761432={_0x56010a:0xa0,_0x3c453c:0x19b},_0x18399d={_0x3e551e:0xe6,_0xfa1d43:0x1b};if(_0x4e1a95>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0xe099d(_0x38c97d,_0x538183,_0x15ec7b,_0x169453){return _0x55c88d(_0x38c97d-0x1b1,_0x38c97d-_0x18399d._0x3e551e,_0x538183,_0x169453-_0x18399d._0xfa1d43);}const _0x31c082=await _0x548f5d(_0x5ac990)[_0xe099d(_0x5c01d1._0x2fbf07,0x415,0x38a,0x470)](()=>null);if(!_0x31c082||isProbablyBinary(_0x31c082))return void 0x0;function _0x68ec54(_0x2ddeb5,_0x2331ea,_0x210050,_0x4a2c54){return _0x1e45aa(_0x2ddeb5-_0x761432._0x56010a,_0x2331ea-0x96,_0x2ddeb5- -_0x761432._0x3c453c,_0x4a2c54);}return _0x31c082[_0xe099d(_0x5c01d1._0x1ad453,0x405,0x512,_0x5c01d1._0x48dbc0)](_0xe099d(0x4cc,_0x5c01d1._0x2531b2,0x531,0x44b))[_0x68ec54(_0x5c01d1._0x1b4e32,0x61e,0x563,_0x5c01d1._0x5583cf)](/\r?\n/)[_0x68ec54(0x647,0x74a,_0x5c01d1._0x40c4d2,_0x5c01d1._0x582559)];}function createLsTool(_0x47e9df={}){const _0xada794={_0x56ccaf:0x51e,_0x3f1a43:0x595,_0x8a31e5:0x64f,_0x31843a:0xcd,_0x2be0f0:0x15e,_0x51bef8:0x2eb,_0x483c67:0x29e,_0x3ee839:0x40a,_0x2df4fd:0x396,_0xaf0580:0x41c,_0x3dbc82:0x2c,_0x2ce2c1:0x61,_0x2f2dc4:0x6bd,_0x57ba6c:0x432},_0xfbe718={_0x578ed1:0x50f,_0x5bd725:0x2d9,_0x49fa58:0x29b,_0x286343:0x4c0,_0x1813c3:0x327,_0x159c6a:0x3e7,_0x43c518:0x23b,_0x3713d2:0x31b,_0x110a5a:0x22c,_0x44e6d6:0x355,_0x28b2f0:0x138,_0x16e971:0x403,_0x58d6d8:0x221,_0x39845a:0x48c,_0x4d1185:0x3d0,_0x4d399a:0x430,_0x3e776d:0x4f9,_0x2ac025:0x479,_0x2252f2:0x1f8,_0x56b39a:0x697,_0xad676b:0x716,_0xcdab50:0x656,_0x4dddb7:0x3eb,_0x4ce650:0x515,_0x5b3ef1:0x580,_0x364dc1:0x231,_0x5caf00:0x374,_0x175fba:0x27e,_0x1ca374:0x10c,_0x4fde07:0x14c,_0x2bbc3d:0x308,_0x1d61b0:0xfe,_0x57e8e0:0x47a,_0x2c9baa:0x5f5,_0x5351fd:0x562,_0x563d04:0x498,_0x2390d4:0x3ae,_0x4eb2b0:0x4d0,_0x1bdc2e:0x39b,_0x58d759:0x467,_0x201206:0x492,_0x260807:0x4bc,_0x255bff:0x50b,_0x234f1f:0x624},_0x1cf109={_0x2cd4cb:0x138,_0x11eb8a:0x10c},_0x112daa={_0x11b295:0xc},_0x5ea0bc={_0x1a8dbf:0x8e},_0x5a5992={_0x3785d6:0x1d5,_0x22378c:0x1ca},_0x3e0913=_0x360b39['resolve'](_0x47e9df[_0x83e8a8(_0xada794._0x56ccaf,_0xada794._0x3f1a43,_0xada794._0x8a31e5,0x582)]??process[_0x406f2f(0x107,0x2b,_0xada794._0x31843a,_0xada794._0x2be0f0)]());function _0x406f2f(_0x1f5b70,_0x1c1d4d,_0x188ad6,_0x590291){return _0x55c88d(_0x1f5b70-_0x5a5992._0x3785d6,_0x188ad6- -0x241,_0x1c1d4d,_0x590291-_0x5a5992._0x22378c);}const _0xa402ca=_0x47e9df['allowedDirs']??[];function _0x83e8a8(_0x436870,_0x31bf3d,_0x5a2c60,_0x550a6d){return _0x1e45aa(_0x436870-0xe4,_0x31bf3d-_0x5ea0bc._0x1a8dbf,_0x436870- -0x1d0,_0x5a2c60);}const _0x477a6b=_0x47e9df[_0x406f2f(0x235,_0xada794._0x51bef8,_0xada794._0x483c67,0x251)]??'Ls';return defineTool({'name':_0x477a6b,'description':_0x83e8a8(_0xada794._0x3ee839,0x4ff,_0xada794._0x2df4fd,_0xada794._0xaf0580),'inputSchema':{'type':_0x406f2f(0x8f,-_0xada794._0x3dbc82,0x116,_0xada794._0x2ce2c1),'properties':{'path':{'type':_0x83e8a8(0x54f,_0xada794._0x2f2dc4,0x68c,_0xada794._0x57ba6c)},'limit':{'type':_0x83e8a8(0x520,0x406,0x617,0x60a)}}},async *'execute'(_0x240ed3){function _0x12ac0c(_0x5941c1,_0x556b37,_0x346c1c,_0x30cfab){return _0x83e8a8(_0x5941c1- -0x17a,_0x556b37-0x86,_0x346c1c,_0x30cfab-_0x112daa._0x11b295);}const _0x2f36c7=_0x240ed3[_0x12ac0c(0x390,0x2fd,_0xfbe718._0x578ed1,0x2df)]??'.',_0x43a32e=resolveAllowedPath(_0x3e0913,_0xa402ca,_0x2f36c7),_0xfaad3e=await _0x6efb3e(_0x43a32e)[_0x12ac0c(_0xfbe718._0x5bd725,0x1f3,0x25c,_0xfbe718._0x49fa58)](()=>null);if(!_0xfaad3e?.['isDirectory']())throw new ToolExecutionError(_0x12ac0c(0x436,_0xfbe718._0x286343,0x45a,0x398)+_0x2f36c7,{'path':_0x2f36c7});const _0x1661e9=_0x240ed3[_0x12ac0c(0x49e,_0xfbe718._0x1813c3,_0xfbe718._0x159c6a,0x339)]??0x3e8,_0x1f7737=Math[_0x12ac0c(_0xfbe718._0x43c518,0x301,0x226,_0xfbe718._0x43c518)](Math['max'](Math[_0x12ac0c(0x274,_0xfbe718._0x3713d2,0x3b9,0x373)](_0x1661e9),0x1),0x2710),_0x4bb902=await _0xd6a5d4(_0x43a32e),_0x257c26=[];for(const _0x5d325d of _0x4bb902[_0x12ac0c(_0xfbe718._0x110a5a,_0xfbe718._0x44e6d6,_0xfbe718._0x28b2f0,0xb8)](0x0,_0x1f7737)){const _0x3176f1=_0x360b39[_0x12ac0c(0x359,_0xfbe718._0x16e971,_0xfbe718._0x58d6d8,0x1e6)](_0x43a32e,_0x5d325d),_0x32d5cf=await _0x6efb3e(_0x3176f1)['catch'](()=>null);if(!_0x32d5cf)continue;let _0x34f616=_0x108fc5(_0xfbe718._0x39845a,_0xfbe718._0x4d1185,_0xfbe718._0x4d399a,0x544);if(_0x32d5cf['isFile']())_0x34f616='file';else{if(_0x32d5cf[_0x12ac0c(0x2de,0x280,0x363,0x289)]())_0x34f616=_0x12ac0c(_0xfbe718._0x3e776d,0x63b,0x66d,_0xfbe718._0x2ac025);else{if(_0x32d5cf['isSymbolicLink']())_0x34f616='symlink';}}const _0xdea384={'name':_0x5d325d,'type':_0x34f616,'size':_0x32d5cf[_0x12ac0c(0x231,0xda,0x381,_0xfbe718._0x2252f2)],'mtime':_0x32d5cf[_0x108fc5(0x61a,_0xfbe718._0x56b39a,0x7f6,_0xfbe718._0xad676b)],'mode':_0x32d5cf[_0x108fc5(_0xfbe718._0xcdab50,_0xfbe718._0x4dddb7,0x43c,_0xfbe718._0x4ce650)]},_0x4600ec=_0x34f616===_0x108fc5(0x674,_0xfbe718._0x5b3ef1,0x53c,0x5ae)?await countTextLines(_0x3176f1,_0x32d5cf[_0x12ac0c(_0xfbe718._0x364dc1,_0xfbe718._0x5caf00,_0xfbe718._0x175fba,_0xfbe718._0x1ca374)]):void 0x0;if(_0x4600ec!==void 0x0)_0xdea384[_0x12ac0c(0x228,_0xfbe718._0x4fde07,_0xfbe718._0x2bbc3d,_0xfbe718._0x1d61b0)]=_0x4600ec;_0x257c26['push'](_0xdea384);}function _0x108fc5(_0x16f479,_0xfa38d7,_0x509e3e,_0x3d105d){return _0x83e8a8(_0x3d105d-0x162,_0xfa38d7-_0x1cf109._0x2cd4cb,_0x509e3e,_0x3d105d-_0x1cf109._0x11eb8a);}_0x257c26[_0x108fc5(_0xfbe718._0x57e8e0,_0xfbe718._0x2c9baa,0x6c3,_0xfbe718._0x5351fd)]((_0x3b5dc3,_0x4f3fa4)=>_0x3b5dc3[_0x108fc5(0x7b0,0x798,0x807,0x722)][_0x108fc5(0x771,0x70c,0x524,0x63b)](_0x4f3fa4['name']));const _0x4b560a={'path':_0x2f36c7,'total':_0x257c26[_0x12ac0c(_0xfbe718._0x563d04,_0xfbe718._0x2390d4,_0xfbe718._0x4eb2b0,_0xfbe718._0x1bdc2e)],'truncated':_0x4bb902['length']>_0x1f7737,'entries':_0x257c26};return yield createToolOutput(_0x4c446c[_0x12ac0c(_0xfbe718._0x58d759,0x35f,_0xfbe718._0x201206,0x349)](_0x4b560a,{'indent':0x2,'lineWidth':0x0})[_0x12ac0c(_0xfbe718._0x260807,_0xfbe718._0x255bff,0x51a,_0xfbe718._0x234f1f)](),{'path':_0x2f36c7,'total':_0x257c26['length'],'truncated':_0x4bb902[_0x108fc5(0x8f2,0x64b,0x673,0x774)]>_0x1f7737,'limit':_0x1f7737,'entries':_0x257c26}),void 0x0;}});}import{stat as _0x85280f}from'fs/promises';import _0x8c44b9 from'path';import{fileURLToPath as _0x50f047}from'url';function severityName(_0x433c6c){const _0x390ad4={_0x38f344:0x533,_0x4765a7:0x3f3,_0x28d1b5:0x24d,_0x8d3864:0x26f,_0x3069c6:0x538,_0x5a8254:0x4aa,_0x48a0b1:0x454},_0x1934bf={_0x2d9ec8:0x115,_0xa0950e:0x320},_0x418ad4={_0x3c684b:0x181,_0x1795a2:0x370};function _0x31121a(_0x5eaadc,_0x415094,_0x4eddd2,_0x2ca491){return _0x1e45aa(_0x5eaadc-0x147,_0x415094-_0x418ad4._0x3c684b,_0x415094- -_0x418ad4._0x1795a2,_0x2ca491);}function _0x174c70(_0x2247c3,_0x9d1330,_0x3697da,_0x7829e4){return _0x1e45aa(_0x2247c3-_0x1934bf._0x2d9ec8,_0x9d1330-0x144,_0x2247c3- -_0x1934bf._0xa0950e,_0x7829e4);}switch(_0x433c6c){case 0x1:return _0x174c70(0x3e7,0x2d1,_0x390ad4._0x38f344,0x32c);case 0x2:return _0x174c70(_0x390ad4._0x4765a7,0x479,0x542,0x398);case 0x3:return _0x31121a(0xda,_0x390ad4._0x28d1b5,0x12f,0x267);case 0x4:return _0x31121a(0x345,0x33e,_0x390ad4._0x8d3864,0x1f1);default:return _0x31121a(_0x390ad4._0x3069c6,_0x390ad4._0x5a8254,_0x390ad4._0x48a0b1,0x379);}}function formatSingleHover(_0x31ca44){const _0x51aeb7={_0x3b942d:0x2be,_0x3c059b:0x316,_0x3e2803:0x469,_0x4926fd:0x3e0,_0x2893b2:0x455,_0x4cfece:0x518,_0x580971:0x696,_0x16fe84:0x612,_0x370d1a:0x391,_0x3a4ef8:0x35e,_0xca489f:0x32d,_0x55e14f:0x487,_0x2a804c:0x2d9,_0x4bcb68:0x6a4,_0x5e835b:0x466,_0x313c01:0x469,_0x4d20bb:0x441},_0x178008={_0x17ff8d:0x15f,_0x53516a:0x1b0},_0x3e262b=_0x31ca44['contents'];function _0x3d1411(_0x4fec35,_0x127769,_0xb8720a,_0x3547fb){return _0x1e45aa(_0x4fec35-0xc5,_0x127769-0x1e,_0x3547fb- -0x1ea,_0x4fec35);}if(typeof _0x3e262b===_0x85b9b(0x412,0x3da,_0x51aeb7._0x3b942d,_0x51aeb7._0x3c059b))return _0x3e262b;if(Array[_0x85b9b(0x614,0x4d6,_0x51aeb7._0x3e2803,_0x51aeb7._0x4926fd)](_0x3e262b))return _0x3e262b[_0x3d1411(0x575,0x4a3,_0x51aeb7._0x2893b2,0x54f)](_0x4552bc=>typeof _0x4552bc==='string'?_0x4552bc:_0x4552bc[_0x85b9b(0x34c,0x492,0x4ff,0x319)])[_0x3d1411(_0x51aeb7._0x4cfece,_0x51aeb7._0x580971,_0x51aeb7._0x16fe84,0x678)](Boolean)[_0x85b9b(_0x51aeb7._0x370d1a,_0x51aeb7._0x3a4ef8,_0x51aeb7._0xca489f,_0x51aeb7._0x55e14f)]('\x0a\x0a');function _0x85b9b(_0x5ebaf5,_0x2e963d,_0x5d5537,_0x370f4e){return _0x1e45aa(_0x5ebaf5-_0x178008._0x17ff8d,_0x2e963d-_0x178008._0x53516a,_0x2e963d- -0x345,_0x5d5537);}if(_0x85b9b(_0x51aeb7._0x2a804c,0x412,0x3aa,0x4d9)in _0x3e262b)return _0x3e262b['value'];return _0x3e262b['language']?_0x3d1411(_0x51aeb7._0x4bcb68,0x66b,0x4fe,0x60b)+_0x3e262b[_0x3d1411(_0x51aeb7._0x5e835b,0x353,_0x51aeb7._0x313c01,0x3cd)]+'\x0a'+_0x3e262b['value']+_0x3d1411(0x4ba,0x4e0,0x2f8,_0x51aeb7._0x4d20bb):_0x3e262b[_0x85b9b(0x35c,0x492,0x36c,0x52d)];}function formatHover(_0x4d5c41){const _0x16e253={_0x495fda:0x73f,_0x1563c5:0x5bd,_0x5ba7eb:0x475,_0x3af396:0x4ed,_0x3d8a46:0x2da,_0x51b8ae:0x4d2,_0x3c1f05:0x520,_0x96f3c3:0x47e,_0x2b60eb:0x3e0,_0x596137:0x3c6,_0x47a3da:0x445},_0x1d1875={_0x50fbf2:0x8c},_0x1a0020={_0x143804:0x3d,_0x300edb:0xda,_0xc576a8:0x34e};if(_0x4d5c41[_0x539a02(_0x16e253._0x495fda,_0x16e253._0x1563c5,_0x16e253._0x5ba7eb,_0x16e253._0x3af396)]===0x0)return _0x49326c(_0x16e253._0x3d8a46,0x44b,0x344,_0x16e253._0x51b8ae);function _0x49326c(_0x3a2526,_0x5a9b9f,_0x3d18f6,_0x4a5579){return _0x1e45aa(_0x3a2526-_0x1a0020._0x143804,_0x5a9b9f-_0x1a0020._0x300edb,_0x5a9b9f- -_0x1a0020._0xc576a8,_0x3a2526);}function _0x539a02(_0x3474c4,_0x478b91,_0x107efa,_0x45888b){return _0x55c88d(_0x3474c4-0x138,_0x478b91-_0x1d1875._0x50fbf2,_0x45888b,_0x45888b-0x106);}return _0x4d5c41['map'](formatSingleHover)[_0x539a02(_0x16e253._0x3c1f05,_0x16e253._0x96f3c3,0x33b,_0x16e253._0x2b60eb)](_0x49326c(0x476,_0x16e253._0x596137,_0x16e253._0x47a3da,0x4c7));}function locationPath(_0x2dd4c8){const _0x4dbd8b={_0x1ca9fb:0x13f,_0x1c8083:0x11d},_0x172183={_0x28f7ef:0x1f3,_0x179559:0x372,_0x1d2ebd:0x117},_0x2ef74a={_0xd52c4:0x9f};if(!_0x2dd4c8[_0x9fdece(-_0x4dbd8b._0x1ca9fb,-_0x4dbd8b._0x1c8083,0x8,-0x193)](_0x2f7372(0x6a,-0x58,-0x6,0x51)))return _0x2dd4c8;function _0x9fdece(_0x582f7b,_0x2d4c1d,_0x17e6f3,_0x5c780e){return _0x55c88d(_0x582f7b-0x35,_0x2d4c1d- -0x3df,_0x17e6f3,_0x5c780e-_0x2ef74a._0xd52c4);}function _0x2f7372(_0x4b1f33,_0x81af0a,_0x50df47,_0x1a3cb7){return _0x55c88d(_0x4b1f33-_0x172183._0x28f7ef,_0x50df47- -_0x172183._0x179559,_0x1a3cb7,_0x1a3cb7-_0x172183._0x1d2ebd);}return _0x50f047(_0x2dd4c8);}function formatLocations(_0x48b698){const _0x2f6b81={_0x11c90f:0x420,_0x1465c8:0x520,_0x17f609:0x5c1,_0xecb672:0x31d,_0xcf47f2:0x57e,_0x71b671:0x47d,_0x7ee3c3:0x3b6,_0x49362d:0x31a},_0x1f7b25={_0x294983:0x41c,_0x39f185:0x433,_0x3069ea:0x519,_0x55929c:0x3af,_0x3bb2e2:0x3b,_0x254684:0x120,_0x34f15f:0x1b,_0x5ef259:0xef,_0x2c0008:0x7f,_0x347115:0x323,_0x5d2360:0x35a,_0x120fcc:0x298,_0x52473f:0x21d},_0x4bd0c8={_0x7e4b72:0x58},_0xe42855={_0xf75e0:0x31},_0x55f8c4={_0x277f93:0x1c0,_0x2821e7:0xb,_0x929a1f:0xa4};function _0x1d2434(_0x4c1d6c,_0x1175bf,_0x5cb302,_0xd99e5c){return _0x55c88d(_0x4c1d6c-_0x55f8c4._0x277f93,_0xd99e5c- -_0x55f8c4._0x2821e7,_0x4c1d6c,_0xd99e5c-_0x55f8c4._0x929a1f);}function _0x119d41(_0x3420e8,_0x36d8e6,_0x4f2135,_0x492f10){return _0x55c88d(_0x3420e8-0x198,_0x3420e8-_0xe42855._0xf75e0,_0x36d8e6,_0x492f10-0x157);}if(_0x48b698[_0x119d41(0x562,_0x2f6b81._0x11c90f,_0x2f6b81._0x1465c8,0x404)]===0x0)return'No\x20locations\x20found';return _0x48b698[_0x1d2434(_0x2f6b81._0x17f609,_0x2f6b81._0xecb672,_0x2f6b81._0xcf47f2,_0x2f6b81._0x71b671)](_0x12a1dd=>{const _0x58240a={_0xf7f9ec:0xb7};function _0x2fdbf9(_0x45f681,_0x2686fa,_0x46c8ea,_0x13540b){return _0x119d41(_0x45f681- -0x423,_0x13540b,_0x46c8ea-0x1a5,_0x13540b-_0x58240a._0xf7f9ec);}const _0xbcd681=_0x12a1dd[_0x28b97f(_0x1f7b25._0x294983,_0x1f7b25._0x39f185,_0x1f7b25._0x3069ea,_0x1f7b25._0x55929c)][_0x2fdbf9(-0x9c,-_0x1f7b25._0x3bb2e2,-_0x1f7b25._0x254684,_0x1f7b25._0x34f15f)];function _0x28b97f(_0x115429,_0x200ce4,_0x58cbee,_0xf5fcb1){return _0x1d2434(_0xf5fcb1,_0x200ce4-0x1e6,_0x58cbee-0x1ea,_0x58cbee- -_0x4bd0c8._0x7e4b72);}return locationPath(_0x12a1dd[_0x2fdbf9(-_0x1f7b25._0x5ef259,0x59,_0x1f7b25._0x2c0008,0x2d)])+':'+(_0xbcd681[_0x28b97f(0x27f,_0x1f7b25._0x347115,_0x1f7b25._0x5d2360,_0x1f7b25._0x120fcc)]+0x1)+':'+(_0xbcd681[_0x2fdbf9(0x112,0x8f,0x116,_0x1f7b25._0x52473f)]+0x1);})[_0x119d41(0x423,_0x2f6b81._0x7ee3c3,0x448,_0x2f6b81._0x49362d)]('\x0a');}function isDocumentSymbol(_0x9c10f9){const _0x5f0864={_0x1d327c:0x7ff,_0xb3686c:0x104},_0x34da10={_0x3bfc12:0xf,_0xb154b2:0x3df},_0xcb1a78={_0x3d2d6a:0x97,_0x4aae10:0x15e,_0x3669a8:0x49};function _0x2843d8(_0x479cf1,_0x3bd7b3,_0x4cd289,_0x2973ef){return _0x1e45aa(_0x479cf1-_0xcb1a78._0x3d2d6a,_0x3bd7b3-_0xcb1a78._0x4aae10,_0x479cf1- -_0xcb1a78._0x3669a8,_0x3bd7b3);}function _0x1b73a2(_0x281a25,_0x359cce,_0x2c06e6,_0x3e8b64){return _0x55c88d(_0x281a25-_0x34da10._0x3bfc12,_0x2c06e6- -_0x34da10._0xb154b2,_0x359cce,_0x3e8b64-0x37);}return _0x2843d8(0x7e4,0x797,0x94e,_0x5f0864._0x1d327c)in _0x9c10f9&&_0x1b73a2(0x5,-0x73,-_0x5f0864._0xb3686c,-0x22c)in _0x9c10f9;}function formatSymbols(_0x7ef93f){const _0x125b52={_0x18ee75:0x2d3,_0x576b07:0xcd},_0x54d812={_0x47da3b:0x6e8,_0x12cc08:0x115,_0x56fd28:0x1d9,_0x299c02:0xa0,_0x20f8d1:0xba,_0x4a9b07:0x462,_0x107de2:0x55f,_0x4bf1b2:0x28,_0x4572eb:0x1dc,_0x4f5535:0x313,_0xbb539e:0x3f7,_0xcd27c2:0x519,_0x513acc:0x627,_0x4b3ae1:0x70d,_0x356540:0x6c9,_0xea0ca7:0x59f,_0x160b65:0x2a0,_0x4ebd4d:0x3f,_0x1f3ac1:0xf8,_0x4603e9:0x684,_0x3f3602:0x2ca,_0x31db5c:0x313,_0x4f433d:0x1ac,_0x11b446:0x438,_0x392f72:0xff,_0x24cfed:0x26d,_0x4799af:0x631,_0xeabc90:0x8f1},_0x1e7731={_0x331c8c:0x6e,_0xf23ea2:0xec},_0x203a53={_0x3614a6:0x9c,_0x2379b7:0x19d};if(_0x7ef93f[_0x11f9ca(_0x125b52._0x18ee75,_0x125b52._0x576b07,0x2ef,0x1dc)]===0x0)return'No\x20symbols\x20found';function _0x11f9ca(_0x591ebf,_0xa24ee6,_0x340228,_0x1ab6f9){return _0x1e45aa(_0x591ebf-0xeb,_0xa24ee6-0x182,_0x1ab6f9- -0x606,_0xa24ee6);}return _0x7ef93f['map'](_0x212af8=>{function _0x4cf156(_0x2089ee,_0x3eaf2f,_0x35aba9,_0x4607aa){return _0x11f9ca(_0x2089ee-_0x203a53._0x3614a6,_0x4607aa,_0x35aba9-_0x203a53._0x2379b7,_0x35aba9-0x55e);}if(isDocumentSymbol(_0x212af8))return _0x212af8[_0x4cf156(0x6b7,0x833,_0x54d812._0x47da3b,0x6f2)]+'\x20('+_0x212af8['kind']+_0x1a536e(_0x54d812._0x12cc08,_0x54d812._0x56fd28,_0x54d812._0x299c02,-_0x54d812._0x20f8d1)+(_0x212af8['range'][_0x4cf156(_0x54d812._0x4a9b07,0x41e,_0x54d812._0x107de2,0x675)][_0x1a536e(-_0x54d812._0x4bf1b2,0x285,0x154,_0x54d812._0x4572eb)]+0x1)+':'+(_0x212af8[_0x1a536e(0x297,0x3ab,_0x54d812._0x4f5535,0x3fb)][_0x4cf156(_0x54d812._0x4a9b07,_0x54d812._0xbb539e,0x55f,_0x54d812._0xcd27c2)][_0x4cf156(0x756,_0x54d812._0x513acc,_0x54d812._0x4b3ae1,0x660)]+0x1)+']';function _0x1a536e(_0x55bfb0,_0xe0f8d4,_0x4a5874,_0x2780b1){return _0x11f9ca(_0x55bfb0-0x2,_0xe0f8d4,_0x4a5874-_0x1e7731._0x331c8c,_0x4a5874-_0x1e7731._0xf23ea2);}return _0x212af8[_0x4cf156(_0x54d812._0x356540,0x686,_0x54d812._0x47da3b,_0x54d812._0xea0ca7)]+'\x20('+_0x212af8[_0x1a536e(0x2ab,0x2e4,0x23d,_0x54d812._0x160b65)]+')\x20'+locationPath(_0x212af8['location'][_0x1a536e(_0x54d812._0x4ebd4d,_0x54d812._0x1f3ac1,0x9a,0xc9)])+':'+(_0x212af8[_0x4cf156(0x57a,0x6a1,_0x54d812._0x4603e9,0x6c5)][_0x1a536e(0x1c7,_0x54d812._0x3f3602,_0x54d812._0x31db5c,_0x54d812._0x4f433d)][_0x4cf156(_0x54d812._0x11b446,0x4d4,0x55f,0x5ea)][_0x1a536e(_0x54d812._0x392f72,_0x54d812._0x24cfed,0x154,0x1f3)]+0x1)+':'+(_0x212af8['location'][_0x4cf156(_0x54d812._0x4799af,_0x54d812._0xeabc90,0x785,0x6b9)][_0x4cf156(0x3d9,0x554,_0x54d812._0x107de2,0x579)][_0x1a536e(0x118,0x391,0x29b,0x250)]+0x1);})['join']('\x0a');}function formatDiagnostics(_0x137d8b){const _0xae3ceb={_0x222c53:0xc4,_0x294862:0x22,_0x163fc0:0x7a,_0x431799:0xb5,_0x959a04:0x15c,_0x45e837:0x16f,_0x1ec529:0xfe},_0x224eda={_0x50981c:0x452,_0x251c66:0x596,_0x411d2b:0x3d1,_0x2f000b:0x33f,_0x2318df:0x202},_0x4de1c8={_0x4f7914:0x19f,_0x57105f:0x304},_0x6653e9={_0x1906a7:0x45d,_0x247f1e:0x49},_0x2658ee={_0x4d6bb3:0x1ee},_0x2a811a={_0x1a7f52:0x1b8,_0x406f7a:0x132};function _0xfd20a0(_0x28df0b,_0x5dc863,_0x1abecf,_0x36648d){return _0x55c88d(_0x28df0b-_0x2a811a._0x1a7f52,_0x28df0b- -0x43c,_0x36648d,_0x36648d-_0x2a811a._0x406f7a);}if(_0x137d8b[_0xfd20a0(0xf5,_0xae3ceb._0x222c53,_0xae3ceb._0x294862,-_0xae3ceb._0x163fc0)]===0x0)return _0x3eba31(-_0xae3ceb._0x431799,_0xae3ceb._0x959a04,0x9f,0xc6);function _0x3eba31(_0x4870db,_0x18668c,_0x17d3f3,_0x108faf){return _0x1e45aa(_0x4870db-_0x2658ee._0x4d6bb3,_0x18668c-0x34,_0x17d3f3- -0x534,_0x108faf);}return _0x137d8b['map'](_0x33ec4d=>{function _0x4d48e4(_0x24d983,_0x2f9d4a,_0x35879e,_0x5cc42f){return _0xfd20a0(_0x2f9d4a-_0x6653e9._0x1906a7,_0x2f9d4a-0x1a2,_0x35879e-_0x6653e9._0x247f1e,_0x35879e);}const _0x4a3342=_0x33ec4d['range']['start'];function _0x18dae1(_0x622f05,_0x2a30da,_0x5863bc,_0x45ab2c){return _0x3eba31(_0x622f05-_0x4de1c8._0x4f7914,_0x2a30da-0xa3,_0x5863bc-_0x4de1c8._0x57105f,_0x622f05);}return severityName(_0x33ec4d[_0x4d48e4(0x447,_0x224eda._0x50981c,0x5c4,0x40e)])+'\x20['+(_0x4a3342[_0x18dae1(0x474,_0x224eda._0x251c66,0x43e,_0x224eda._0x411d2b)]+0x1)+':'+(_0x4a3342['character']+0x1)+']\x20'+_0x33ec4d[_0x18dae1(_0x224eda._0x2f000b,_0x224eda._0x2318df,0x37b,0x34a)];})[_0x3eba31(0x285,0x4d,_0xae3ceb._0x45e837,_0xae3ceb._0x1ec529)]('\x0a');}function formatIncomingCalls(_0x4dd4ef){const _0x4afdd1={_0x4aad61:0x618,_0x36a785:0x6d6,_0x49e94d:0x62e,_0x57c36b:0x761},_0x2fa49d={_0x28990a:0x84,_0x1af802:0x75},_0x4f5d86={_0x12c762:0x11c,_0x35a798:0xa7};function _0x2fee89(_0x4cfed3,_0x59f95a,_0x397a77,_0xd857a9){return _0x55c88d(_0x4cfed3-_0x4f5d86._0x12c762,_0x59f95a- -0x332,_0xd857a9,_0xd857a9-_0x4f5d86._0x35a798);}function _0x17e1a0(_0x4e6143,_0x33c500,_0x2fbf4a,_0x5e9b22){return _0x1e45aa(_0x4e6143-0x3c,_0x33c500-_0x2fa49d._0x28990a,_0x33c500- -_0x2fa49d._0x1af802,_0x2fbf4a);}if(_0x4dd4ef['length']===0x0)return _0x17e1a0(0x619,_0x4afdd1._0x4aad61,0x779,_0x4afdd1._0x36a785);return _0x4dd4ef['map'](_0x74bfc3=>_0x74bfc3[_0x2fee89(0x237,0x1dd,0x237,0x332)][_0x17e1a0(0x5be,0x71b,0x5a9,0x5c6)])[_0x17e1a0(0x6db,_0x4afdd1._0x49e94d,_0x4afdd1._0x57c36b,0x656)]('\x0a');}function formatOutgoingCalls(_0x33368f){const _0x409d7b={_0x38bbf7:0x1fe,_0x589f5c:0x1e6,_0x2294b3:0xa7,_0x1b6479:0xa9,_0xdb32c8:0xef,_0x3c6345:0x75},_0x545f32={_0x59ea90:0x144,_0x262003:0x5e4},_0x1f683e={_0x208bb0:0x1a4,_0x458d81:0x111};function _0x3ccac0(_0x5a11f7,_0x575af6,_0x370f98,_0x3272fb){return _0x55c88d(_0x5a11f7-_0x1f683e._0x208bb0,_0x3272fb- -0x3b3,_0x5a11f7,_0x3272fb-_0x1f683e._0x458d81);}if(_0x33368f[_0x8b520d(0xf6,_0x409d7b._0x38bbf7,_0x409d7b._0x589f5c,_0x409d7b._0x2294b3)]===0x0)return _0x8b520d(0x9a,_0x409d7b._0x1b6479,_0x409d7b._0xdb32c8,_0x409d7b._0x3c6345);function _0x8b520d(_0x34b440,_0x39dc96,_0x2b8d35,_0x2cf486){return _0x1e45aa(_0x34b440-0x49,_0x39dc96-_0x545f32._0x59ea90,_0x39dc96- -_0x545f32._0x262003,_0x34b440);}return _0x33368f['map'](_0x5a4e66=>_0x5a4e66['to']['name'])['join']('\x0a');}function toStructured(_0x46ce85){const _0x43f413={_0x460ffb:0x51b,_0x122b48:0x678,_0x2afafb:0x4d1},_0x282b0a={_0x1d9ee8:0x2,_0x18767d:0x21d},_0x2a4d2d={_0xcc3002:0x236};function _0x4f100c(_0x26502d,_0x1bb7f9,_0x3899c4,_0xeff54a){return _0x1e45aa(_0x26502d-0x7e,_0x1bb7f9-0x14a,_0x3899c4- -_0x2a4d2d._0xcc3002,_0x26502d);}function _0x489057(_0x37f4d5,_0x10980b,_0x4f833a,_0x507a41){return _0x55c88d(_0x37f4d5-_0x282b0a._0x1d9ee8,_0x10980b-_0x282b0a._0x18767d,_0x507a41,_0x507a41-0x143);}return JSON[_0x489057(_0x43f413._0x460ffb,0x567,0x5a1,_0x43f413._0x122b48)](JSON[_0x4f100c(_0x43f413._0x2afafb,0x430,0x57b,0x614)](_0x46ce85));}async function assertFile(_0x554f5f){const _0xd5b6f1={_0x550216:0x1cd,_0x25189e:0x9f},_0x284f27=await _0x85280f(_0x554f5f);function _0x295f86(_0x1c1866,_0x3b5460,_0x17f2f0,_0x3f9a2f){return _0x55c88d(_0x1c1866-0x151,_0x1c1866- -_0xd5b6f1._0x550216,_0x3b5460,_0x3f9a2f-_0xd5b6f1._0x25189e);}if(!_0x284f27['isFile']())throw new ToolExecutionError(_0x295f86(0x1e8,0x271,0x1ff,0x1f3)+_0x554f5f,{'path':_0x554f5f});}function validatePosition(_0x59c2c7,_0x3008b3){const _0xc0b874={_0x11530a:0x4ba,_0x155688:0x5bf,_0x103ce5:0x6e4,_0x554363:0x526,_0x2b3391:0x576,_0x4958b3:0x352,_0x1c94a0:0x1b7},_0x77f50c={_0x41e89c:0x47},_0x5c9c3e={_0x2ab4a7:0x6e,_0x4c32c0:0x0,_0x273457:0x2a0};function _0x530a00(_0x33039f,_0x5f0f9c,_0x41695e,_0x3378d5){return _0x1e45aa(_0x33039f-_0x5c9c3e._0x2ab4a7,_0x5f0f9c-_0x5c9c3e._0x4c32c0,_0x3378d5- -_0x5c9c3e._0x273457,_0x33039f);}if(!Number[_0x530a00(0x735,0x570,_0xc0b874._0x11530a,_0xc0b874._0x155688)](_0x59c2c7)||_0x59c2c7<0x1)throw new ToolExecutionError(_0x530a00(_0xc0b874._0x103ce5,0x48e,_0xc0b874._0x554363,_0xc0b874._0x2b3391),{'line':_0x59c2c7});function _0x14953a(_0x45ef3d,_0x2f0fd2,_0x51fb95,_0x5a4a95){return _0x55c88d(_0x45ef3d-0x12,_0x45ef3d- -0x24b,_0x2f0fd2,_0x5a4a95-_0x77f50c._0x41e89c);}if(!Number[_0x14953a(0x363,0x2e5,_0xc0b874._0x4958b3,0x4d8)](_0x3008b3)||_0x3008b3<0x1)throw new ToolExecutionError(_0x530a00(0x25e,_0xc0b874._0x1c94a0,0x3bc,0x2e1),{'character':_0x3008b3});}function createLspTool(_0x801e1c={}){const _0x62e0d={_0x232b69:0x4bf,_0x42654e:0x6c8,_0x1b8bcc:0x51f,_0x18ae3c:0x474,_0x41335b:0x4be,_0x1e3869:0x348,_0x32b598:0x5e6,_0x41250c:0x5cc,_0xa0e088:0x59b,_0x5d3354:0x65c,_0x4ff168:0x58c,_0x3f68e8:0x3ce,_0x215a50:0x6cb,_0x25cd3f:0x47c,_0x166540:0x4ea,_0x528faf:0x558,_0x5afafd:0x32f,_0x2474ea:0x4b7,_0x14624b:0x47d,_0x1c6792:0x41e,_0x1c3afb:0x49b,_0x3ab610:0x673,_0xca2b79:0x45e,_0x24d4ea:0x3fa,_0x279b3d:0x3ee,_0x75b34d:0x278,_0x346a1:0x547,_0x4709da:0x46c,_0x5344d3:0x546,_0x26c8fd:0x58a,_0x23a047:0x615,_0x43060c:0x600,_0x3546a7:0x580,_0x361b41:0x6c5,_0x504a6c:0x4df},_0x101644={_0x292582:0x287,_0x4f1f96:0x38e,_0x13a782:0x289,_0x202407:0x291,_0x4399c3:0x305,_0x508ffd:0x328,_0x410a61:0x198,_0x168dc5:0xd3,_0x210391:0x163,_0x5d5e25:0x1c1,_0x443cb9:0x1a2,_0x3b868f:0x2dc,_0x317a30:0x344,_0x27ddc3:0x13d,_0x21572e:0x1f7,_0x5751d3:0x150,_0x55a2c5:0x27a,_0x16a3ce:0x197,_0x4842cc:0x1fe,_0x4b4b40:0x27f,_0x3d83fe:0x246,_0x296189:0x330,_0x3f290b:0x309,_0x136d3e:0x310,_0x5b974f:0x40f,_0x230ada:0x101,_0x35e3ac:0x14d,_0x2ee89b:0x32b,_0x458ee7:0x1d9,_0x9048ba:0x316,_0x283a78:0x1cb,_0xc76485:0x23b,_0x48ca4c:0x110,_0x7931d3:0xbf,_0x58a095:0x2b3,_0x1d51e2:0x171,_0x34cc66:0x2a5,_0x437768:0x4c9,_0x10e194:0x50d,_0x51adae:0x2aa,_0x1e29db:0x21e,_0x3a6368:0x25d,_0x4e180c:0x1f7,_0x22fbdd:0x396,_0x27adae:0x1a7,_0x248481:0x3b7,_0x3542ce:0x318,_0x59911d:0x21a,_0x19282a:0x62,_0x212bb6:0x210,_0x110c0a:0x29,_0x2ea481:0x5e,_0x48c52f:0x2a4,_0x7cf579:0x24d,_0x3187f1:0x373,_0xfd56bf:0x121,_0x47c9c5:0x24a,_0x7f2505:0x3a6,_0x30d37a:0x8f,_0x47580c:0x97,_0x5d0ae6:0x158,_0x5ddf9a:0x8,_0x352255:0x187,_0x4f8841:0x72,_0x350cb3:0x53},_0x5ab81c={_0x3bb43f:0x322,_0x29c176:0x18d},_0x4524a6={_0xee1165:0x2d3,_0x55b917:0x2f},_0x17d251={_0x3637a1:0x67},_0x225674={_0x3f88a1:0xbe,_0x246262:0x107};function _0x385a52(_0x38cb00,_0x1a90b7,_0x2032b8,_0x57f924){return _0x55c88d(_0x38cb00-_0x225674._0x3f88a1,_0x38cb00-_0x225674._0x246262,_0x1a90b7,_0x57f924-0x19f);}const _0x34d186=_0x8c44b9['resolve'](_0x801e1c[_0x17e615(_0x62e0d._0x232b69,0x5cf,_0x62e0d._0x42654e,_0x62e0d._0x1b8bcc)]??process[_0x17e615(_0x62e0d._0x18ae3c,0x4a0,_0x62e0d._0x41335b,_0x62e0d._0x1e3869)]()),_0x300957=_0x801e1c['allowedDirs']??[];function _0x17e615(_0x519485,_0x335919,_0x4c967e,_0x2dc282){return _0x1e45aa(_0x519485-_0x17d251._0x3637a1,_0x335919-0x10f,_0x335919- -0x11f,_0x519485);}const _0x1320f0=_0x801e1c[_0x385a52(_0x62e0d._0x32b598,0x553,_0x62e0d._0x41250c,_0x62e0d._0xa0e088)]??_0x17e615(_0x62e0d._0x5d3354,0x6cc,0x82a,0x639);return defineTool({'name':_0x1320f0,'description':_0x385a52(_0x62e0d._0x4ff168,0x4a1,0x4ad,0x431),'inputSchema':{'type':_0x385a52(0x45e,_0x62e0d._0x3f68e8,0x559,0x5d7),'properties':{'operation':{'type':_0x385a52(0x575,_0x62e0d._0x215a50,_0x62e0d._0x25cd3f,_0x62e0d._0x166540),'enum':[_0x385a52(0x449,_0x62e0d._0x528faf,_0x62e0d._0x5afafd,0x388),'findReferences',_0x385a52(_0x62e0d._0x2474ea,0x5a7,0x471,_0x62e0d._0x14624b),_0x385a52(_0x62e0d._0x1c6792,_0x62e0d._0x1c3afb,0x46d,0x327),_0x17e615(0x678,0x5a4,0x5c1,0x6ef),'goToImplementation',_0x17e615(_0x62e0d._0x3ab610,0x5ab,0x4c6,0x50e),_0x385a52(0x3b9,_0x62e0d._0xca2b79,0x4e0,_0x62e0d._0x24d4ea),_0x385a52(_0x62e0d._0x279b3d,0x30a,_0x62e0d._0x75b34d,_0x62e0d._0x346a1),_0x385a52(0x444,0x3d9,0x459,0x4bc)]},'filePath':{'type':'string'},'line':{'type':_0x17e615(_0x62e0d._0xca2b79,0x5d1,_0x62e0d._0x4709da,0x4cb)},'character':{'type':_0x385a52(_0x62e0d._0x5344d3,_0x62e0d._0x26c8fd,_0x62e0d._0x23a047,0x51e)},'query':{'type':_0x17e615(0x617,_0x62e0d._0x43060c,0x769,_0x62e0d._0x3546a7)}},'required':['operation','filePath','line',_0x385a52(0x60b,_0x62e0d._0x361b41,_0x62e0d._0x504a6c,0x75f)]},async *'execute'(_0x41aaac){const _0x2759e8=_0x801e1c[_0xc66b5a(0x3d2,_0x101644._0x292582,_0x101644._0x4f1f96,_0x101644._0x13a782)];if(!_0x2759e8)throw new ToolExecutionError(_0xc66b5a(0x410,_0x101644._0x202407,_0x101644._0x4399c3,_0x101644._0x508ffd));if(!_0x2759e8[_0x2ee1bb(0x195,_0x101644._0x410a61,_0x101644._0x168dc5,_0x101644._0x210391)]())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x36245a=_0x41aaac['operation'];validatePosition(_0x41aaac[_0x2ee1bb(_0x101644._0x5d5e25,_0x101644._0x443cb9,0x1c4,_0x101644._0x3b868f)],_0x41aaac[_0xc66b5a(_0x101644._0x317a30,0x338,0x327,0x4b1)]);if(_0x36245a===_0x2ee1bb(_0x101644._0x27ddc3,_0x101644._0x21572e,0x35d,0x245)){if(!_0x41aaac['query']?.[_0x2ee1bb(_0x101644._0x5751d3,0x2d5,_0x101644._0x55a2c5,0x2a6)]())throw new ToolExecutionError(_0x2ee1bb(0x169,0x231,_0x101644._0x16a3ce,_0x101644._0x4842cc));const _0x3b9c9c=await _0x2759e8[_0xc66b5a(_0x101644._0x4b4b40,_0x101644._0x3d83fe,_0x101644._0x296189,_0x101644._0x3f290b)](_0x41aaac['query'][_0xc66b5a(_0x101644._0x136d3e,0x324,0x2b1,_0x101644._0x5b974f)]());return yield createToolOutput(formatSymbols(_0x3b9c9c),{'operation':_0x36245a,'query':_0x41aaac[_0xc66b5a(-0x41,_0x101644._0x230ada,0x1ba,0x283)],'symbols':_0x3b9c9c}),void 0x0;}const _0xbe2fd7=resolveAllowedPath(_0x34d186,_0x300957,_0x41aaac[_0xc66b5a(_0x101644._0x35e3ac,0x1f3,_0x101644._0x2ee89b,0x16b)]);await assertFile(_0xbe2fd7);function _0xc66b5a(_0x542283,_0x44ee14,_0x6f060b,_0x1b979d){return _0x385a52(_0x44ee14- -_0x4524a6._0xee1165,_0x6f060b,_0x6f060b-_0x4524a6._0x55b917,_0x1b979d-0xd2);}if(!await _0x2759e8['hasClients'](_0xbe2fd7))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x41aaac['filePath'],{'filePath':_0x41aaac[_0xc66b5a(0x331,0x1f3,0x1d1,0x343)]});function _0x2ee1bb(_0x1e1fd8,_0x5349b1,_0x23b00c,_0x1d2c2c){return _0x385a52(_0x5349b1- -_0x5ab81c._0x3bb43f,_0x23b00c,_0x23b00c-_0x5ab81c._0x29c176,_0x1d2c2c-0x138);}await _0x2759e8[_0x2ee1bb(_0x101644._0x458ee7,0x237,_0x101644._0x9048ba,_0x101644._0x283a78)](_0xbe2fd7,!![]);const _0x22b429={'file':_0xbe2fd7,'line':_0x41aaac[_0x2ee1bb(_0x101644._0xc76485,_0x101644._0x443cb9,0x2ab,0x2ec)]-0x1,'character':_0x41aaac['character']-0x1};switch(_0x36245a){case _0x2ee1bb(_0x101644._0x48ca4c,0x195,0x13f,0x2c7):{const _0x29a995=await _0x2759e8[_0x2ee1bb(0x1e1,0x195,_0x101644._0x7931d3,_0x101644._0x58a095)](_0x22b429);return yield createToolOutput(formatHover(_0x29a995),{'operation':_0x36245a,'filePath':_0xbe2fd7,'hover':_0x29a995}),void 0x0;}case _0xc66b5a(0x159,_0x101644._0x1d51e2,_0x101644._0x34cc66,0x1db):{const _0x370ee8=await _0x2759e8['diagnosticsForFile'](_0xbe2fd7);return yield createToolOutput(formatDiagnostics(_0x370ee8),{'operation':_0x36245a,'filePath':_0xbe2fd7,'diagnostics':_0x370ee8}),void 0x0;}case'goToDefinition':{const _0x1f3f34=await _0x2759e8[_0xc66b5a(0x3c1,0x3cb,_0x101644._0x437768,_0x101644._0x10e194)](_0x22b429);return yield createToolOutput(formatLocations(_0x1f3f34),{'operation':_0x36245a,'filePath':_0xbe2fd7,'locations':_0x1f3f34}),void 0x0;}case _0x2ee1bb(_0x101644._0x51adae,0x153,_0x101644._0x1e29db,_0x101644._0x3a6368):{const _0x45c9b9=await _0x2759e8[_0xc66b5a(0x39f,0x37d,0x298,0x26c)](_0x22b429);return yield createToolOutput(formatLocations(_0x45c9b9),{'operation':_0x36245a,'filePath':_0xbe2fd7,'locations':_0x45c9b9}),void 0x0;}case _0x2ee1bb(_0x101644._0x4e180c,0x2fc,_0x101644._0x22fbdd,_0x101644._0x27adae):{const _0x40c896=await _0x2759e8[_0xc66b5a(0x3c9,_0x101644._0x248481,0x408,_0x101644._0x3542ce)](_0x22b429);return yield createToolOutput(formatLocations(_0x40c896),{'operation':_0x36245a,'filePath':_0xbe2fd7,'locations':_0x40c896}),void 0x0;}case _0x2ee1bb(_0x101644._0x59911d,0xfc,0x205,_0x101644._0x19282a):{const _0x49296c=await _0x2759e8[_0x2ee1bb(_0x101644._0x212bb6,0xfc,_0x101644._0x110c0a,-_0x101644._0x2ea481)](_0xbe2fd7);return yield createToolOutput(formatSymbols(_0x49296c),{'operation':_0x36245a,'filePath':_0xbe2fd7,'symbols':_0x49296c}),void 0x0;}case _0xc66b5a(_0x101644._0x48c52f,_0x101644._0x7cf579,0x2cb,_0x101644._0x3187f1):{const _0x5dbf8b=await _0x2759e8[_0xc66b5a(_0x101644._0xfd56bf,0x24d,_0x101644._0x47c9c5,_0x101644._0x7f2505)](_0x22b429);return yield createToolOutput(formatSymbols(_0x5dbf8b),{'operation':_0x36245a,'filePath':_0xbe2fd7,'symbols':toStructured(_0x5dbf8b)}),void 0x0;}case _0x2ee1bb(_0x101644._0x30d37a,_0x101644._0x47580c,0x107,0x15a):{const _0x50b98b=await _0x2759e8['incomingCalls'](_0x22b429);return yield createToolOutput(formatIncomingCalls(_0x50b98b),{'operation':_0x36245a,'filePath':_0xbe2fd7,'calls':toStructured(_0x50b98b)}),void 0x0;}case _0x2ee1bb(_0x101644._0x5d0ae6,0xcc,_0x101644._0x5ddf9a,_0x101644._0x352255):{const _0x11898b=await _0x2759e8[_0xc66b5a(0xc3,0x11b,_0x101644._0x4f8841,-_0x101644._0x350cb3)](_0x22b429);return yield createToolOutput(formatOutgoingCalls(_0x11898b),{'operation':_0x36245a,'filePath':_0xbe2fd7,'calls':toStructured(_0x11898b)}),void 0x0;}}}});}function _0x55c88d(_0x485fd6,_0x3c8bf8,_0x4ed560,_0x44f04b){const _0x3d6d6f={_0x2ed328:0xe8};return _0x3bdd(_0x3c8bf8-_0x3d6d6f._0x2ed328,_0x4ed560);}import{randomUUID as _0x18c0db}from'crypto';import{mkdir as _0x2a4ba2,readFile as _0x22a1fc,writeFile as _0x140973}from'fs/promises';import{join as _0x3462e3}from'path';function sanitizeStorageKey(_0x8dba2d){const _0x429a0f={_0x234e86:0xb0,_0x3b9b6a:0xca,_0x47a886:0x491,_0x6a2af7:0x5b9,_0x5bba4a:0x4c1,_0x316232:0x42d},_0x40a848={_0x58d439:0x1f,_0x2dc291:0x11a},_0x2a3e7b={_0x2ce046:0x19f,_0x5af41f:0x9f};function _0x21b8c1(_0x4a7180,_0x5acdb8,_0x43e00c,_0x2d7464){return _0x55c88d(_0x4a7180-_0x2a3e7b._0x2ce046,_0x4a7180- -0x3b6,_0x5acdb8,_0x2d7464-_0x2a3e7b._0x5af41f);}function _0x3762ad(_0x137352,_0x123304,_0x42fc62,_0x30423d){return _0x55c88d(_0x137352-_0x40a848._0x58d439,_0x30423d-0x145,_0x137352,_0x30423d-_0x40a848._0x2dc291);}return _0x8dba2d[_0x21b8c1(-0x3a,-0x181,_0x429a0f._0x234e86,-_0x429a0f._0x3b9b6a)](/[^a-zA-Z0-9_]+/g,'_')[_0x3762ad(_0x429a0f._0x47a886,_0x429a0f._0x6a2af7,0x3b4,_0x429a0f._0x5bba4a)](/^_+|_+$/g,'')||_0x3762ad(_0x429a0f._0x316232,0x4a5,0x555,0x42d);}function storagePath(_0x27dcc7){const _0x34054c={_0xf3eb7e:0x3,_0x3e1cad:0xcb,_0x249ce6:0x70,_0x428dde:0x597,_0x879946:0x5c3,_0x595132:0x64c,_0x2d084f:0x568},_0xe4591a={_0x301131:0x16f,_0x34053b:0x420},_0x4c97f7={_0x343e6b:0xa1};function _0x5dd562(_0x50702f,_0xbb2ba4,_0x59c253,_0x29ee84){return _0x1e45aa(_0x50702f-0xd5,_0xbb2ba4-0x6a,_0x50702f- -_0x4c97f7._0x343e6b,_0x29ee84);}function _0x5a7b3c(_0x36527d,_0x50a05c,_0x23450c,_0x4d5823){return _0x55c88d(_0x36527d-_0xe4591a._0x301131,_0x23450c- -_0xe4591a._0x34053b,_0x50a05c,_0x4d5823-0x44);}const _0x1fde8d=sanitizeStorageKey(_0x27dcc7[_0x5a7b3c(-0x124,-0x66,-0x35,-_0x34054c._0xf3eb7e)]['oauth']?.['tokenStorageKey']??_0x27dcc7[_0x5a7b3c(-_0x34054c._0x3e1cad,-0x168,0x7,_0x34054c._0x249ce6)]);return _0x3462e3(_0x27dcc7['storageDir'],_0x1fde8d+_0x5dd562(_0x34054c._0x428dde,_0x34054c._0x879946,_0x34054c._0x595132,_0x34054c._0x2d084f));}async function readStore(_0x1a8758){const _0xc9c348={_0x57c507:0x41d,_0x556d6c:0x2e6,_0x3c0666:0x2f3,_0x1478a3:0x2b4,_0x245984:0x2b6},_0x3e16aa={_0x1e0022:0xf6,_0x1cf8db:0x17},_0x13b7e6={_0x42c4bb:0x64,_0x47cafd:0x97};function _0x2f9b43(_0x1b6e66,_0x3d27f7,_0x24e0cb,_0xb5b13a){return _0x55c88d(_0x1b6e66-0x198,_0x24e0cb- -_0x13b7e6._0x42c4bb,_0x3d27f7,_0xb5b13a-_0x13b7e6._0x47cafd);}function _0xb9c8ab(_0x2c5e7f,_0x22eb5f,_0x30903a,_0x39f578){return _0x1e45aa(_0x2c5e7f-_0x3e16aa._0x1e0022,_0x22eb5f-_0x3e16aa._0x1cf8db,_0x2c5e7f- -0x254,_0x30903a);}try{return JSON[_0x2f9b43(_0xc9c348._0x57c507,0x32e,_0xc9c348._0x556d6c,_0xc9c348._0x3c0666)](await _0x22a1fc(_0x1a8758,_0xb9c8ab(0x443,0x306,0x5b5,0x3ec)));}catch(_0x5d4b28){if(_0x5d4b28 instanceof Error&&'code'in _0x5d4b28&&_0x5d4b28['code']===_0xb9c8ab(0x3e3,0x282,_0xc9c348._0x1478a3,_0xc9c348._0x245984))return{};throw _0x5d4b28;}}async function writeStore(_0x5ba562,_0x5442e4){const _0x3dca52={_0x55c0be:0x4e8,_0x2547ac:0x578},_0x13a49d={_0x7b2119:0x1af};await _0x2a4ba2(_0x3462e3(_0x5ba562,'..'),{'recursive':!![]});function _0x318fe3(_0x471a05,_0x5bc57c,_0x203559,_0x3dfb82){return _0x1e45aa(_0x471a05-0x146,_0x5bc57c-0xa1,_0x203559- -_0x13a49d._0x7b2119,_0x5bc57c);}await _0x140973(_0x5ba562,JSON['stringify'](_0x5442e4,null,0x2),_0x318fe3(0x426,0x5d3,_0x3dca52._0x55c0be,_0x3dca52._0x2547ac));}async function updateStore(_0x47d877,_0x10c050){const _0x2bb8da=await readStore(_0x47d877);_0x10c050(_0x2bb8da),await writeStore(_0x47d877,_0x2bb8da);}function createMcpOAuthProvider(_0x466b08){const _0x3395d6={_0x402996:0xb8,_0xdb1ac9:0x42,_0x35f67f:0xd,_0x56f42c:0x13e,_0x44c396:0xdb,_0x5f0670:0x61,_0x1a877e:0x12d,_0x258d61:0x143,_0x1d1f62:0x14,_0x15100a:0xf,_0x20546d:0xfb,_0xf3b37b:0x1af,_0x4e569c:0x1c5,_0x92c6dc:0xdd,_0x95935c:0x118,_0x44eceb:0x109,_0x4e3d8b:0x6c,_0x3afc9e:0x91,_0x11b82a:0x15,_0x5e2dfa:0x5e,_0x365a2a:0xc0,_0x36901c:0x1a1},_0x66851={_0x4a4e2c:0x590,_0x48c0b7:0x6bf,_0x96716d:0x654,_0x443c8f:0x8e4,_0x358593:0x793,_0x59df86:0x5b3,_0x187679:0x62c,_0x9cdf:0x6db,_0x595a5c:0x51b,_0x307b6d:0x3b6,_0x5c7d3e:0x270,_0x5441d2:0x4b3,_0x339944:0x4c4,_0x1b0ccf:0x4cf,_0x31f050:0x62e,_0x15837e:0x561,_0x14877e:0x63f,_0x5b86c1:0x418,_0x2b24fb:0x161,_0x153ed3:0x2c9,_0x3656ae:0x614,_0x4ca4c3:0x371,_0x41cb51:0x239,_0x52b9fc:0x65b,_0x47e05d:0x591,_0x2b5972:0x587},_0x5584e1={_0x29b82f:0x69f,_0xdd4062:0x740,_0x5a56bd:0x5f5,_0x8f4489:0x677,_0x4f7381:0xac},_0x3d4d8b={_0x551bb3:0x1a9,_0x208b89:0xe2,_0x4e6a84:0x1c9},_0x55f73e={_0x9aa97d:0x3f0,_0x959971:0x3f1,_0x32d285:0x34d,_0x4c6373:0x3a5},_0x1de78e={_0x545046:0x30a},_0x543e9e={_0x2910a8:0x1c1,_0x52f445:0x196},_0x1cbc63={_0x41f132:0x4fe,_0x59f52:0x78c,_0x59f650:0x607},_0x5d67e2={_0x2aef52:0x1e4},_0x16fd7a={_0x17cb1f:0x3be},_0x25da5a={_0x436818:0x589,_0x508b29:0x675},_0xbefde0={_0x2ba9cc:0x1ad,_0x330e38:0x65a},_0x497f1e=storagePath(_0x466b08),_0x2d3e97=_0x466b08[_0x519bf4(-_0x3395d6._0x402996,0x172,_0x3395d6._0xdb1ac9,0xeb)][_0x519bf4(-0xc3,-0xf1,-0x91,0xd9)]?.['scopes']?.[_0x519bf4(-_0x3395d6._0x35f67f,_0x3395d6._0x56f42c,0x49,_0x3395d6._0x44c396)]('\x20');function _0x59913d(_0xd8541,_0x24fb25,_0x2e2686,_0x281aac){return _0x55c88d(_0xd8541-0xa2,_0x281aac- -0x3a6,_0x24fb25,_0x281aac-0x1b9);}const _0x16954a={'client_name':'Nuvin','redirect_uris':[_0x466b08[_0x519bf4(0x34,-0x4b,_0x3395d6._0x5f0670,_0x3395d6._0x1a877e)]],'grant_types':[_0x519bf4(0x1be,_0x3395d6._0x258d61,0x1e2,0x1d5),'refresh_token'],'response_types':[_0x59913d(-_0x3395d6._0x1d1f62,_0x3395d6._0x15100a,0x10f,_0x3395d6._0x20546d)],'token_endpoint_auth_method':_0x59913d(_0x3395d6._0xf3b37b,_0x3395d6._0x4e569c,0x17c,_0x3395d6._0x92c6dc),..._0x2d3e97?{'scope':_0x2d3e97}:{}};function _0x519bf4(_0x111476,_0x229581,_0x2a76c3,_0x1182ab){return _0x1e45aa(_0x111476-_0xbefde0._0x2ba9cc,_0x229581-0x1a6,_0x2a76c3- -_0xbefde0._0x330e38,_0x1182ab);}return{'clientMetadataUrl':_0x466b08[_0x519bf4(0x7b,_0x3395d6._0x95935c,0x42,-_0x3395d6._0x44eceb)][_0x519bf4(-_0x3395d6._0x4e3d8b,-0x197,-_0x3395d6._0x3afc9e,-_0x3395d6._0x11b82a)]?.[_0x519bf4(-_0x3395d6._0x5e2dfa,-0x127,-_0x3395d6._0x365a2a,-_0x3395d6._0x36901c)],get 'redirectUrl'(){const _0x218efe={_0x4e18e9:0x614};function _0x3acfc5(_0x225c6f,_0x578cf2,_0x3ac2d4,_0x4a9dfc){return _0x519bf4(_0x225c6f-0x32,_0x578cf2-0x1c4,_0x578cf2-_0x218efe._0x4e18e9,_0x4a9dfc);}return _0x466b08[_0x3acfc5(_0x25da5a._0x436818,_0x25da5a._0x508b29,0x7a0,0x5dc)];},get 'clientMetadata'(){return _0x16954a;},async 'state'(){const _0x3c22c8={_0x31cf10:0x82,_0x202582:0x13a},_0x47c9f3={_0x4962ca:0x18b,_0x3688a5:0x18e},_0x5b1b16=await readStore(_0x497f1e);if(_0x5b1b16['state'])return _0x5b1b16[_0x648d1a(0x235,0x355,_0x5d67e2._0x2aef52,0x47c)];const _0x217370=_0x18c0db();function _0x648d1a(_0x5f0273,_0x29d145,_0x2b52f,_0x400bd7){return _0x519bf4(_0x5f0273-_0x47c9f3._0x4962ca,_0x29d145-_0x47c9f3._0x3688a5,_0x29d145-0x372,_0x2b52f);}return await updateStore(_0x497f1e,_0x1a6688=>{function _0x45a5f8(_0x429862,_0x1e81f3,_0x18f919,_0x315913){return _0x648d1a(_0x429862-0x1a8,_0x1e81f3-_0x3c22c8._0x31cf10,_0x18f919,_0x315913-_0x3c22c8._0x202582);}_0x1a6688[_0x45a5f8(0x510,0x3d7,_0x16fd7a._0x17cb1f,0x46e)]=_0x217370;}),_0x217370;},async 'clientInformation'(){const _0x177f13={_0x5dceca:0x1cd};function _0x2ce9ef(_0x191905,_0xe07583,_0x3e4fb2,_0x6674ca){return _0x519bf4(_0x191905-_0x177f13._0x5dceca,_0xe07583-0xc6,_0x6674ca-0x5f2,_0xe07583);}return(await readStore(_0x497f1e))[_0x2ce9ef(_0x1cbc63._0x41f132,0x732,_0x1cbc63._0x59f52,_0x1cbc63._0x59f650)];},async 'saveClientInformation'(_0x302512){await updateStore(_0x497f1e,_0x5f1f6f=>{_0x5f1f6f['clientInformation']=_0x302512;});},async 'tokens'(){const _0x419484={_0x15cc97:0x265};function _0x3981ac(_0x3ebcc7,_0x5c3b31,_0x1e554f,_0x1721b3){return _0x519bf4(_0x3ebcc7-0x1b0,_0x5c3b31-0x95,_0x1e554f-_0x419484._0x15cc97,_0x1721b3);}return(await readStore(_0x497f1e))[_0x3981ac(_0x543e9e._0x2910a8,0x1b2,0x265,_0x543e9e._0x52f445)];},async 'saveTokens'(_0x1b3ca2){await updateStore(_0x497f1e,_0x4f3500=>{function _0x1ce216(_0x14de3a,_0x3a5da2,_0x205023,_0x278a64){return _0x3bdd(_0x278a64- -0xbe,_0x205023);}_0x4f3500[_0x1ce216(_0x1de78e._0x545046,0x1e2,0x2b7,0x203)]=_0x1b3ca2;});},async 'redirectToAuthorization'(_0x55453e){const _0x43cb8f={_0x8cfb2f:0x16c,_0x3fee51:0x35f};function _0x3930af(_0x4e26df,_0x453123,_0x52109a,_0x9000fa){return _0x59913d(_0x4e26df-_0x43cb8f._0x8cfb2f,_0x52109a,_0x52109a-0x84,_0x453123-_0x43cb8f._0x3fee51);}await _0x466b08[_0x3930af(_0x55f73e._0x9aa97d,_0x55f73e._0x959971,_0x55f73e._0x32d285,_0x55f73e._0x4c6373)](_0x55453e);},async 'saveCodeVerifier'(_0x4b679e){const _0x105142={_0x59c333:0xed};await updateStore(_0x497f1e,_0x52a338=>{const _0x4d97f9={_0x2606a3:0x22d};function _0x39599f(_0x1457b1,_0x389688,_0x20313e,_0x113fb3){return _0x3bdd(_0x20313e- -_0x4d97f9._0x2606a3,_0x113fb3);}_0x52a338[_0x39599f(0x73,-0x17,0xca,_0x105142._0x59c333)]=_0x4b679e;});},async 'codeVerifier'(){const _0x71b125={_0x1f84a6:0x190,_0x5556d5:0x1d1,_0x1e88e7:0x5bc},_0xa0c72b=(await readStore(_0x497f1e))[_0x50cc77(_0x5584e1._0x29b82f,_0x5584e1._0xdd4062,_0x5584e1._0x5a56bd,_0x5584e1._0x8f4489)];function _0x11c345(_0x1f33d2,_0x14d939,_0x4bb42f,_0x1bf63a){return _0x59913d(_0x1f33d2-_0x3d4d8b._0x551bb3,_0x14d939,_0x4bb42f-_0x3d4d8b._0x208b89,_0x1f33d2-_0x3d4d8b._0x4e6a84);}if(!_0xa0c72b)throw new Error(_0x11c345(0x1cb,0xa3,_0x5584e1._0x4f7381,0x31a));function _0x50cc77(_0x15ba5b,_0x414b9f,_0x303b97,_0x568ba5){return _0x59913d(_0x15ba5b-_0x71b125._0x1f84a6,_0x15ba5b,_0x303b97-_0x71b125._0x5556d5,_0x303b97-_0x71b125._0x1e88e7);}return _0xa0c72b;},async 'invalidateCredentials'(_0x4e2cb3){await updateStore(_0x497f1e,_0x639c89=>{(_0x4e2cb3===_0x32c284(0x5b8,0x74e,_0x66851._0x4a4e2c,_0x66851._0x48c0b7)||_0x4e2cb3===_0x32c284(_0x66851._0x96716d,_0x66851._0x443c8f,0x7dd,_0x66851._0x358593))&&(_0x639c89[_0x32c284(0x4d8,0x716,_0x66851._0x59df86,0x61e)]=void 0x0);function _0x21d8d6(_0x47956a,_0x77de9f,_0x45ebb1,_0x36e8e0){return _0x3bdd(_0x36e8e0-0x25,_0x47956a);}(_0x4e2cb3===_0x32c284(_0x66851._0x187679,_0x66851._0x9cdf,0x60b,0x6bf)||_0x4e2cb3===_0x21d8d6(0x448,0x246,0x1cd,0x2e6))&&(_0x639c89[_0x32c284(0x5fe,0x5d6,0x55a,0x609)]=void 0x0);(_0x4e2cb3===_0x21d8d6(_0x66851._0x595a5c,_0x66851._0x307b6d,_0x66851._0x5c7d3e,0x39c)||_0x4e2cb3===_0x32c284(_0x66851._0x5441d2,_0x66851._0x339944,_0x66851._0x1b0ccf,_0x66851._0x31f050))&&(_0x639c89[_0x32c284(0x72d,0x6ef,_0x66851._0x15837e,_0x66851._0x14877e)]=void 0x0,_0x639c89[_0x21d8d6(0x2ce,_0x66851._0x5b86c1,_0x66851._0x2b24fb,_0x66851._0x153ed3)]=void 0x0);function _0x32c284(_0x570b27,_0x440b8e,_0x5aef8c,_0x284763){return _0x3bdd(_0x284763-0x348,_0x440b8e);}(_0x4e2cb3===_0x32c284(0x701,_0x66851._0x3656ae,0x58b,_0x66851._0x48c0b7)||_0x4e2cb3===_0x21d8d6(0x360,0x262,_0x66851._0x4ca4c3,_0x66851._0x41cb51))&&(_0x639c89[_0x32c284(_0x66851._0x52b9fc,_0x66851._0x47e05d,0x4d7,_0x66851._0x2b5972)]=void 0x0);});},async 'saveDiscoveryState'(_0x2e6c50){const _0x1a589f={_0x313142:0x339,_0xc3302d:0x333,_0x4cd11b:0x541};await updateStore(_0x497f1e,_0x5c0a3a=>{function _0x3a79d4(_0x28828e,_0x1fb92b,_0x5d944b,_0x723746){return _0x3bdd(_0x723746-0x1fc,_0x1fb92b);}_0x5c0a3a[_0x3a79d4(_0x1a589f._0x313142,_0x1a589f._0xc3302d,_0x1a589f._0x4cd11b,0x43b)]=_0x2e6c50;});},async 'discoveryState'(){return(await readStore(_0x497f1e))['discoveryState'];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x49e846,_0x52330f){const _0x1bcc82={_0x5102df:0x589},_0x15a845={_0x386b47:0x57};function _0x457697(_0x592d05,_0x532cdc,_0x5a23ac,_0x5ae234){return _0x55c88d(_0x592d05-0x1c5,_0x592d05- -0x147,_0x5ae234,_0x5ae234-_0x15a845._0x386b47);}const _0x5b5a43=_0x47effe=>_0x47effe[_0x457697(0x235,0x229,0xed,0x32d)](/[^a-zA-Z0-9_]+/g,'_')[_0x457697(0x235,0x31b,0x1ed,0x20d)](/^_+|_+$/g,'');function _0x5b43e7(_0x135810,_0x16efc8,_0xd3b7e0,_0x5676ba){return _0x1e45aa(_0x135810-0x15d,_0x16efc8-0x1f1,_0x135810- -0x402,_0x16efc8);}return _0x457697(0x406,0x406,_0x1bcc82._0x5102df,0x587)+_0x5b5a43(_0x49e846)+'_'+_0x5b5a43(_0x52330f);}function isObject(_0x7cb2e4){const _0x8c029e={_0x8f715:0x10d,_0x1260ee:0x230};function _0x1941e6(_0x2d788a,_0x432b6c,_0x40d35b,_0x3a380a){return _0x1e45aa(_0x2d788a-0x59,_0x432b6c-0x95,_0x40d35b- -0x5eb,_0x2d788a);}return typeof _0x7cb2e4==='object'&&_0x7cb2e4!==null&&!Array[_0x1941e6(0xda,_0x8c029e._0x8f715,_0x8c029e._0x1260ee,0x361)](_0x7cb2e4);}function toSupportedSchema(_0x2cd617){const _0x32ff33={_0x5a68fb:0x548,_0x5b86b3:0x72c,_0x499847:0x80e,_0x4d3d4c:0x6c8,_0x18b625:0x653,_0x4badf9:0x7c3,_0x575621:0x6be,_0x2e1568:0x7e0,_0x99662b:0x504,_0xfcd82:0x761,_0x37ef2b:0x5e1,_0x13a24c:0x838,_0x2a4a9d:0x718,_0x3695f8:0x60e,_0x48a2f7:0x55e,_0x521a85:0x4e0,_0xab32f7:0x626,_0xb73132:0x76c,_0x1287e0:0x7d5,_0x451c13:0x81a,_0x1ac658:0x505,_0x1f9a1f:0x638,_0x105ecf:0x7b6,_0x19f00f:0x8a5,_0xa06525:0x73f},_0x1ac531={_0x39bda0:0x1ca},_0x1baf7e={_0x1c58d9:0x6};if(!isObject(_0x2cd617))return void 0x0;function _0x238149(_0x288f4b,_0xf68dbe,_0x407ccf,_0x3406b7){return _0x55c88d(_0x288f4b-_0x1baf7e._0x1c58d9,_0x288f4b-0x214,_0xf68dbe,_0x3406b7-0x1ba);}if(_0x2cd617['type']==='string')return{'type':_0x238149(0x682,_0x32ff33._0x5a68fb,0x65d,_0x32ff33._0x5b86b3)};if(_0x2cd617[_0x49cdae(0x7ce,0x76c,_0x32ff33._0x499847,_0x32ff33._0x4d3d4c)]===_0x238149(_0x32ff33._0x18b625,_0x32ff33._0x4badf9,0x5f6,0x733)||_0x2cd617[_0x238149(0x7b6,_0x32ff33._0x575621,0x733,_0x32ff33._0x2e1568)]===_0x49cdae(0x44b,_0x32ff33._0x99662b,0x3eb,0x4a4))return{'type':_0x49cdae(_0x32ff33._0xfcd82,0x609,0x4b1,_0x32ff33._0x37ef2b)};function _0x49cdae(_0x3c620e,_0x2c0773,_0xa2f695,_0x40145f){return _0x55c88d(_0x3c620e-0x173,_0x2c0773-_0x1ac531._0x39bda0,_0xa2f695,_0x40145f-0x1ad);}if(_0x2cd617[_0x49cdae(_0x32ff33._0x13a24c,0x76c,_0x32ff33._0x2a4a9d,0x836)]===_0x49cdae(_0x32ff33._0x3695f8,_0x32ff33._0x48a2f7,0x608,_0x32ff33._0x521a85))return{'type':'boolean'};if(_0x2cd617[_0x49cdae(_0x32ff33._0xab32f7,_0x32ff33._0xb73132,_0x32ff33._0x1287e0,_0x32ff33._0x451c13)]===_0x49cdae(0x7a4,0x681,_0x32ff33._0x1ac658,0x7c4))return{'type':'array','items':toSupportedSchema(_0x2cd617[_0x238149(0x79c,0x85e,0x6b4,0x64d)])??{'type':_0x49cdae(0x543,_0x32ff33._0x1f9a1f,0x565,_0x32ff33._0x105ecf)}};if(_0x2cd617[_0x49cdae(0x626,0x76c,_0x32ff33._0x19f00f,_0x32ff33._0xa06525)]==='object')return toNuvinToolSchema(_0x2cd617);return void 0x0;}function toNuvinToolSchema(_0x2d8c9f){const _0x47e4cc={_0x356f53:0x274,_0x123a4f:0x3d2,_0x34675c:0x29,_0x15d651:0x23c,_0x4eb343:0x258,_0x4e2c13:0x138,_0x1b2a39:0x4b3,_0x3c8fac:0x368,_0x4c6e2f:0x1b3,_0x1c34c6:0x2c9,_0x4d0a64:0x47,_0x14270d:0xc5,_0x329c85:0x1b2,_0x4a9f85:0x78},_0x5de077={_0x437f0b:0x166},_0x5e4c14={_0x5ae654:0x64,_0x280413:0x5df};function _0xac3d52(_0x25f7ed,_0x369f57,_0xd39de2,_0x4b7c00){return _0x1e45aa(_0x25f7ed-_0x5e4c14._0x5ae654,_0x369f57-0x8d,_0x25f7ed- -_0x5e4c14._0x280413,_0x4b7c00);}if(!isObject(_0x2d8c9f)||_0x2d8c9f[_0xac3d52(_0x47e4cc._0x356f53,_0x47e4cc._0x123a4f,0x37b,0x3ca)]!=='object')return{'type':_0xac3d52(_0x47e4cc._0x34675c,0xbe,0x81,-0xe1),'properties':{}};const _0x5219ab={},_0x72ad0c=isObject(_0x2d8c9f['properties'])?_0x2d8c9f['properties']:{};for(const [_0xb453e6,_0xe3af2a]of Object['entries'](_0x72ad0c)){const _0x2c502a=toSupportedSchema(_0xe3af2a);if(_0x2c502a)_0x5219ab[_0xb453e6]=_0x2c502a;}const _0x3f205b=Array[_0xac3d52(_0x47e4cc._0x15d651,_0x47e4cc._0x4eb343,_0x47e4cc._0x4e2c13,0x202)](_0x2d8c9f[_0x26e03c(0x3c7,0x441,_0x47e4cc._0x1b2a39,_0x47e4cc._0x3c8fac)])?_0x2d8c9f[_0xac3d52(0x22f,0x359,0xaf,_0x47e4cc._0x4c6e2f)]['filter'](_0x23f820=>typeof _0x23f820===_0x26e03c(0x16c,0x390,0x1be,0x279)):void 0x0;function _0x26e03c(_0x35060f,_0x2713f7,_0x1247ea,_0x1322cb){return _0x1e45aa(_0x35060f-0x1c9,_0x2713f7-_0x5de077._0x437f0b,_0x1322cb- -0x4a6,_0x1247ea);}return _0x3f205b?.[_0xac3d52(0x203,0x200,_0x47e4cc._0x1c34c6,0x2a9)]?{'type':_0x26e03c(_0x47e4cc._0x4d0a64,_0x47e4cc._0x14270d,_0x47e4cc._0x329c85,0x162),'properties':_0x5219ab,'required':_0x3f205b}:{'type':_0xac3d52(0x29,0x3c,-0x3b,_0x47e4cc._0x4a9f85),'properties':_0x5219ab};}function isJsonObject(_0x15717e){const _0x3b7c92={_0x5ec606:0x37,_0x5549cc:0x8a},_0x4eaa16={_0x5dbad2:0x401,_0x567051:0x16c};function _0x57d579(_0x5adaa0,_0x22932b,_0x4f7b43,_0x13d8b1){return _0x55c88d(_0x5adaa0-0x183,_0x13d8b1- -_0x4eaa16._0x5dbad2,_0x5adaa0,_0x13d8b1-_0x4eaa16._0x567051);}return typeof _0x15717e===_0x57d579(0x4d,_0x3b7c92._0x5ec606,-_0x3b7c92._0x5549cc,-0xaa)&&_0x15717e!==null&&!Array['isArray'](_0x15717e);}function formatMcpContent(_0x315906){const _0xda6fe4={_0x280637:0x59,_0x14de52:0x20,_0x46a2f4:0x15,_0x44bcf9:0xcb,_0x21da20:0x724,_0x33f071:0x65d,_0x323f76:0x5cb},_0x4ba3d6={_0x224c80:0x76e},_0x8983ce={_0x45eac8:0x276,_0x5af7a7:0x20f,_0x20074a:0x12d,_0x49a7b9:0x6cb,_0x516783:0x535,_0x548b83:0x5bd,_0x1ae48a:0x5b8,_0x3922ed:0x63b,_0x23a43d:0x57d,_0x32ae0c:0x6b4},_0x528a2d={_0x44b66f:0x149,_0x5b4d96:0xaa,_0x52fc0b:0x60c},_0x86c2de={_0x57ad7c:0x15d,_0x42067f:0x90},_0x59f705=Array['isArray'](_0x315906[_0x2b9a20(0x2c,-0x4d,-0x17d,-0x46)])?_0x315906['content']:[];function _0x5c90a1(_0x2be51e,_0x223a9b,_0x353b81,_0xcb04d3){return _0x55c88d(_0x2be51e-0x5,_0x2be51e-_0x86c2de._0x57ad7c,_0xcb04d3,_0xcb04d3-_0x86c2de._0x42067f);}const _0x372428=_0x59f705[_0x2b9a20(-0x42,_0xda6fe4._0x280637,-0x28,-0x35)](_0x5e8b56=>{const _0x320afb={_0x51ef3a:0x1ec};if(!isObject(_0x5e8b56))return'';function _0xa106b6(_0x48e6ab,_0x57babd,_0x515a03,_0x5d97c5){return _0x2b9a20(_0x57babd,_0x57babd-_0x320afb._0x51ef3a,_0x515a03-0xa2,_0x48e6ab-0x200);}if(_0x5e8b56['type']===_0xa106b6(0x20f,0x28f,_0x8983ce._0x45eac8,0x36f)&&typeof _0x5e8b56[_0xa106b6(_0x8983ce._0x5af7a7,0x1ee,_0x8983ce._0x20074a,0x167)]===_0x1f9619(_0x8983ce._0x49a7b9,_0x8983ce._0x516783,_0x8983ce._0x548b83,0x6a0))return _0x5e8b56[_0x1f9619(0x49f,_0x8983ce._0x1ae48a,0x61b,_0x8983ce._0x3922ed)];function _0x1f9619(_0x38eaa0,_0x390298,_0x5b9b8a,_0x2daa3f){return _0x2b9a20(_0x38eaa0,_0x390298-_0x528a2d._0x44b66f,_0x5b9b8a-_0x528a2d._0x5b4d96,_0x5b9b8a-_0x528a2d._0x52fc0b);}return JSON[_0x1f9619(_0x8983ce._0x23a43d,0x579,0x64f,_0x8983ce._0x32ae0c)](_0x5e8b56);})[_0x2b9a20(0x238,-_0xda6fe4._0x14de52,0x4f,0xf4)](_0x46053a=>_0x46053a[_0x2b9a20(-0xb5,-0x8b,-0x105,0x74)]>0x0)[_0x2b9a20(-0x170,-0x144,-_0xda6fe4._0x46a2f4,-_0xda6fe4._0x44bcf9)]('\x0a');if(_0x372428[_0x5c90a1(0x68e,0x7f4,_0xda6fe4._0x21da20,0x534)]>0x0)return _0x372428;function _0x2b9a20(_0x8a8a6f,_0x1c6c95,_0x234b5d,_0xcdc65f){return _0x1e45aa(_0x8a8a6f-0x11e,_0x1c6c95-0x17c,_0xcdc65f- -_0x4ba3d6._0x224c80,_0x8a8a6f);}return JSON[_0x5c90a1(_0xda6fe4._0x33f071,0x6dd,_0xda6fe4._0x323f76,0x5e8)](_0x315906,null,0x2);}function createMcpTool(_0x32489a){const _0xe93c92={_0x5c96ef:0x4a8,_0x2ce244:0x299,_0x272033:0x23e,_0x466831:0x1d7,_0x1d055f:0x75b,_0x2ecffe:0x656,_0x52fd68:0x5f0,_0x111a81:0x19b,_0x3b71b8:0x208,_0x101a62:0x214,_0x3d1d5b:0x2fa,_0x5af357:0x219,_0x52af5f:0x1ee,_0x500734:0x47e,_0x5c8378:0x4c,_0x147378:0x4b7,_0x17805c:0x414,_0x4f17c8:0x6a7},_0x5ce59f={_0x3f5e08:0x706,_0x52025a:0x626,_0xbb8710:0x5d5,_0x53fb70:0x59b,_0x389a04:0x6d5,_0x2c990a:0x134,_0x5ddae3:0x224,_0x5f5bb4:0xa4,_0x2427de:0x20f,_0x420bab:0x6b7,_0x137c1c:0x623,_0x10fced:0x6bf,_0x4498a6:0x68f,_0x22cf8d:0x742,_0x537ab6:0x622,_0x7f664d:0x192,_0x32f6c2:0xad,_0x1e8560:0xaf,_0x17a564:0x14,_0x53804b:0x742},_0x32d33b={_0x4254c9:0x17c,_0x2e8600:0x180},_0x236936={_0x1e05cd:0x39,_0x1b4517:0x81},_0x7ec929=createMcpToolName(_0x32489a[_0x1a610c(0x52c,0x426,0x492,_0xe93c92._0x5c96ef)],_0x32489a[_0x551d78(_0xe93c92._0x2ce244,0x308,0x29d,_0xe93c92._0x272033)][_0x551d78(_0xe93c92._0x466831,0x27a,0x1a9,0x1ae)]);function _0x1a610c(_0x519c21,_0x140e56,_0xe172af,_0x1f457f){return _0x55c88d(_0x519c21-_0x236936._0x1e05cd,_0x1f457f-_0x236936._0x1b4517,_0x140e56,_0x1f457f-0x163);}function _0x551d78(_0x4b4766,_0x4fe845,_0x16da7b,_0x19aaf2){return _0x55c88d(_0x4b4766-_0x32d33b._0x4254c9,_0x19aaf2- -0x331,_0x4fe845,_0x19aaf2-_0x32d33b._0x2e8600);}return defineTool({'name':_0x7ec929,'description':_0x32489a[_0x1a610c(0x52f,_0xe93c92._0x1d055f,_0xe93c92._0x2ecffe,_0xe93c92._0x52fd68)][_0x551d78(_0xe93c92._0x111a81,_0xe93c92._0x3b71b8,0x24b,_0xe93c92._0x101a62)]??_0x551d78(0x2f7,_0xe93c92._0x3d1d5b,_0xe93c92._0x5af357,_0xe93c92._0x52af5f)+_0x32489a[_0x1a610c(0x480,0x76d,_0xe93c92._0x500734,0x5f0)][_0x551d78(0x268,_0xe93c92._0x5c8378,0x235,0x1ae)]+'\x20from\x20'+_0x32489a['serverName'],'inputSchema':toNuvinToolSchema(_0x32489a['tool'][_0x1a610c(_0xe93c92._0x147378,_0xe93c92._0x17805c,_0xe93c92._0x4f17c8,0x577)]),async *'execute'(_0x52341a){const _0x4a7db6={_0x19a72a:0x1e9},_0x1639b6={_0x21e3d8:0x113,_0x9c4f90:0x18d,_0x5425c1:0x152};function _0x281d57(_0x35576b,_0x1e8528,_0x16727a,_0xdb007d){return _0x1a610c(_0x35576b-_0x1639b6._0x21e3d8,_0x16727a,_0x16727a-_0x1639b6._0x9c4f90,_0x35576b-_0x1639b6._0x5425c1);}function _0x297fd2(_0x230e30,_0x477fd2,_0x329582,_0x293b46){return _0x551d78(_0x230e30-0x31,_0x293b46,_0x329582-_0x4a7db6._0x19a72a,_0x329582- -0x10a);}const _0x3d4ad9=await _0x32489a[_0x281d57(_0x5ce59f._0x3f5e08,0x7ec,_0x5ce59f._0x52025a,_0x5ce59f._0xbb8710)][_0x281d57(_0x5ce59f._0x53fb70,_0x5ce59f._0x389a04,0x41f,0x5ab)]({'name':_0x32489a[_0x297fd2(0x38,0xe9,_0x5ce59f._0x2c990a,0x182)][_0x297fd2(_0x5ce59f._0x5ddae3,0x1ad,_0x5ce59f._0x5f5bb4,_0x5ce59f._0x2427de)],'arguments':isJsonObject(_0x52341a)?_0x52341a:{}});if(_0x3d4ad9[_0x281d57(_0x5ce59f._0x420bab,_0x5ce59f._0x137c1c,_0x5ce59f._0x10fced,0x753)])throw new ToolExecutionError(formatMcpContent(_0x3d4ad9),{'serverName':_0x32489a[_0x281d57(0x5fa,0x622,_0x5ce59f._0x4498a6,0x494)],'toolName':_0x32489a[_0x281d57(_0x5ce59f._0x22cf8d,0x6d4,_0x5ce59f._0x537ab6,0x878)][_0x297fd2(_0x5ce59f._0x7f664d,0xef,0xa4,0x29)]});return yield createToolOutput(formatMcpContent(_0x3d4ad9),{'serverName':_0x32489a[_0x297fd2(_0x5ce59f._0x32f6c2,_0x5ce59f._0x1e8560,-_0x5ce59f._0x17a564,-0x155)],'toolName':_0x32489a[_0x281d57(_0x5ce59f._0x53804b,0x7a5,0x632,0x756)]['name'],'result':_0x3d4ad9}),void 0x0;}});}function resolvePrefix(_0xe19934,_0x300c3a){const _0x232401={_0x4f9cc:0x552,_0x27ef23:0x508},_0xaa37e2={_0x251b66:0x11c,_0x1e8692:0x1ea};function _0xa47a49(_0x545452,_0x4923e3,_0x46b829,_0x12aab3){return _0x55c88d(_0x545452-_0xaa37e2._0x251b66,_0x46b829-_0xaa37e2._0x1e8692,_0x4923e3,_0x12aab3-0x1a7);}return _0x300c3a[_0xa47a49(0x595,0x5e9,_0x232401._0x4f9cc,_0x232401._0x27ef23)]??_0xe19934;}function buildMcpHttpHeaders(_0x1bf58c){const _0x4cc626={_0x55136c:0x2ef,_0x67b180:0x2c4,_0x1d3584:0x283,_0x4cf8c1:0x174,_0x4f4523:0x124,_0x2c5525:0x20d,_0xf4ef89:0x48f,_0x4ee9fb:0x2bc,_0x3d7b67:0x32a,_0x2afb86:0x1fb,_0x19aaa4:0x166,_0xbab31:0xb9,_0x23757a:0x101,_0x975f11:0x8d,_0xe32a47:0x233,_0x2409e0:0x190,_0x52a40b:0x473,_0x3c74d0:0x297},_0x44b4cd={_0xccb679:0x1e7},_0x3b0c92={_0x392e11:0x18c,_0x5af9a7:0x4d7},_0x12360e={..._0x1bf58c[_0x4dbe56(_0x4cc626._0x55136c,_0x4cc626._0x67b180,0x2b4,_0x4cc626._0x1d3584)]??{}};_0x1bf58c[_0x4dbe56(0x211,_0x4cc626._0x4cf8c1,_0x4cc626._0x4f4523,_0x4cc626._0x2c5525)]?.[_0x4dbe56(0x26a,0x37c,0x2c0,_0x4cc626._0xf4ef89)]===_0x4dbe56(_0x4cc626._0x4ee9fb,_0x4cc626._0x3d7b67,0x205,_0x4cc626._0x2afb86)&&_0x1bf58c[_0xa58629(_0x4cc626._0x19aaa4,-0x9,0x2cb,0x225)]['token']&&_0x12360e[_0x4dbe56(-0x80,_0x4cc626._0xbab31,_0x4cc626._0x23757a,-0xad)]===void 0x0&&(_0x12360e[_0x4dbe56(0x188,_0x4cc626._0xbab31,-_0x4cc626._0x975f11,_0x4cc626._0xe32a47)]=_0xa58629(_0x4cc626._0x2409e0,0x252,0x300,0x22f)+_0x1bf58c['auth']['token']);function _0x4dbe56(_0x5d61ae,_0x4b7469,_0x2eae24,_0x1cda3c){return _0x1e45aa(_0x5d61ae-0xf0,_0x4b7469-_0x3b0c92._0x392e11,_0x4b7469- -_0x3b0c92._0x5af9a7,_0x5d61ae);}function _0xa58629(_0x5c8fa0,_0x30a4f6,_0x2e1f37,_0x421e3b){return _0x55c88d(_0x5c8fa0-0x62,_0x5c8fa0- -0x234,_0x30a4f6,_0x421e3b-_0x44b4cd._0xccb679);}return Object['keys'](_0x12360e)[_0x4dbe56(_0x4cc626._0x52a40b,0x30b,_0x4cc626._0x3c74d0,0x3af)]>0x0?_0x12360e:void 0x0;}function getErrorMessage(_0xc1807c){return _0xc1807c instanceof Error?_0xc1807c['message']:String(_0xc1807c);}function isUnauthorizedError(_0x2b3ec5){const _0x20be85={_0xc34a26:0x988,_0x395f26:0x831,_0x4235b1:0x4b2,_0x1c5a31:0x396,_0x562baa:0x2f4},_0x5dd351={_0x2e49e4:0x50,_0x21fc43:0x149},_0x1ac92d={_0x27cf6c:0x184,_0x408fb7:0x2e4,_0x384713:0x1b6};function _0x4ebd58(_0x45626e,_0x461a4b,_0x4b70cc,_0x45d492){return _0x55c88d(_0x45626e-_0x1ac92d._0x27cf6c,_0x4b70cc-_0x1ac92d._0x408fb7,_0x45626e,_0x45d492-_0x1ac92d._0x384713);}function _0x410fd5(_0x57cc03,_0x9018ec,_0x4bfb0b,_0x2361a5){return _0x55c88d(_0x57cc03-_0x5dd351._0x2e49e4,_0x2361a5- -_0x5dd351._0x21fc43,_0x4bfb0b,_0x2361a5-0x6f);}return _0x2b3ec5 instanceof Error&&_0x2b3ec5[_0x4ebd58(_0x20be85._0xc34a26,_0x20be85._0x395f26,0x898,0x9ff)][_0x410fd5(0x211,_0x20be85._0x4235b1,0x499,_0x20be85._0x1c5a31)]===_0x410fd5(0x37f,_0x20be85._0x562baa,0x4e4,0x369);}async function connectMcpServer(_0x2433f,_0x34ec2,_0x389551){const _0x131246={_0x104819:0x51e,_0x3acf59:0x5c2,_0x1735a4:0x485,_0x5b49ae:0x31c,_0x143eff:0x471,_0x43decb:0x4ba,_0xd4ecea:0x479,_0x599244:0x3b1,_0x3221f3:0x44a,_0x20f871:0x46e,_0x5c1c1d:0x670,_0x65d137:0x59b,_0x8cef44:0x345,_0x22ca31:0x13a,_0x403ee5:0x4cf,_0x134424:0x3cf,_0x5e0cea:0x62b,_0x5db5d9:0x35c,_0x37c010:0x37a,_0x37d532:0x293,_0x1e2715:0x252,_0x2b15f0:0x3ef,_0x37e9b9:0x4ad,_0x5ad1a5:0x3fc,_0x14d4d9:0x4ab,_0x9f814b:0x539,_0x80362e:0x4df,_0x58d2cd:0x28e,_0x1a338e:0x383,_0x298882:0x332,_0x413786:0x20b,_0x339a76:0x1c2,_0x364c9e:0x44a,_0x552ff0:0x42e,_0x5744f2:0x4f5,_0x32fc18:0x3b3,_0x31af10:0x4a8,_0xc21a6d:0x55c},_0x38fd9a={_0x39b666:0x386,_0x5dda0b:0x416,_0x57e7e5:0x4d6,_0x1f8aae:0x349},_0x2a74bc={_0xf8d2cf:0x174,_0x1d2552:0x2,_0x232e09:0x100},_0x1afb92={_0x554fff:0x33b},_0x429efe={_0xca94ad:0x3e1,_0x32db57:0x24a,_0x20dada:0xe9,_0x48609b:0x204,_0x4b2134:0x232,_0x3cfe85:0x303,_0x2e4398:0x2a2,_0x3a69fb:0x2db,_0x1d10ec:0x231,_0x101405:0x15,_0x3da1c0:0x246},_0x33b4ca={_0x52119c:0x172,_0x34731f:0x1c5},_0x5de771=new Client({'name':_0x261c81(_0x131246._0x104819,_0x131246._0x3acf59,_0x131246._0x1735a4,_0x131246._0x5b49ae),'version':'0.0.0'});function _0x19ad94(_0x187b8d,_0x4dbe82,_0x2ef1d5,_0x2acc0a){return _0x1e45aa(_0x187b8d-0x180,_0x4dbe82-0x184,_0x4dbe82- -0x384,_0x2ef1d5);}_0x5de771[_0x261c81(_0x131246._0x143eff,_0x131246._0x43decb,0x3c9,0x2fd)]=_0x23d7c3=>{const _0x2a2a64={_0x4cd543:0xed,_0x11d7e7:0x2d8,_0x5587e2:0x137};function _0x21b3d4(_0x51290a,_0x449eb8,_0x275677,_0x521460){return _0x19ad94(_0x51290a-_0x2a2a64._0x4cd543,_0x521460-_0x2a2a64._0x11d7e7,_0x51290a,_0x521460-_0x2a2a64._0x5587e2);}function _0x22015a(_0x17709b,_0x150e6e,_0x2f0d6d,_0x521c85){return _0x19ad94(_0x17709b-_0x33b4ca._0x52119c,_0x17709b- -0x161,_0x150e6e,_0x521c85-_0x33b4ca._0x34731f);}console[_0x22015a(0x2c3,0x1e5,0x229,_0x429efe._0xca94ad)](_0x22015a(_0x429efe._0x32db57,_0x429efe._0x20dada,_0x429efe._0x48609b,_0x429efe._0x4b2134)+_0x2433f+_0x22015a(0x2d6,_0x429efe._0x3cfe85,_0x429efe._0x2e4398,_0x429efe._0x3a69fb),_0x23d7c3[_0x22015a(0xc6,_0x429efe._0x1d10ec,_0x429efe._0x101405,_0x429efe._0x3da1c0)]);};if(_0x34ec2['transport']===_0x261c81(0x578,0x492,_0x131246._0xd4ecea,0x50e)||_0x34ec2[_0x19ad94(_0x131246._0x599244,_0x131246._0x3221f3,0x539,_0x131246._0x20f871)]){if(!_0x34ec2[_0x261c81(0x6d5,_0x131246._0x5c1c1d,0x57f,_0x131246._0x65d137)])throw new Error('MCP\x20server\x20'+_0x2433f+_0x19ad94(0x1ac,0x2ba,_0x131246._0x8cef44,_0x131246._0x22ca31));if(_0x34ec2['auth']?.[_0x19ad94(0x515,_0x131246._0x403ee5,0x5a3,0x63f)]==='oauth'&&!_0x389551?.[_0x261c81(0x29e,_0x131246._0x134424,0x37a,0x2e7)])throw new Error(_0x19ad94(0x307,0x404,0x536,0x556)+_0x2433f+_0x261c81(0x3e8,_0x131246._0x5e0cea,0x529,0x3cd));const _0x3c766e=buildMcpHttpHeaders(_0x34ec2),_0x14f868=_0x34ec2[_0x261c81(_0x131246._0x5db5d9,0x40f,0x3fc,0x56d)]?.[_0x19ad94(0x616,_0x131246._0x403ee5,0x634,0x50d)]===_0x261c81(0x3e3,0x4bd,_0x131246._0x37c010,_0x131246._0x37d532)&&_0x389551?.[_0x261c81(0x4b3,0x2cb,_0x131246._0x37c010,0x43e)]?createMcpOAuthProvider({'serverName':_0x2433f,'callbackUrl':_0x389551[_0x261c81(0x4ff,0x2aa,_0x131246._0x37c010,0x371)][_0x19ad94(_0x131246._0x1e2715,0x337,0x1b3,_0x131246._0x2b15f0)],'storageDir':_0x389551['oauth'][_0x19ad94(_0x131246._0x37e9b9,0x48f,0x51a,0x39f)],'config':_0x34ec2[_0x261c81(0x55a,0x3e9,_0x131246._0x5ad1a5,0x3b4)],'onRedirect':_0x123ac=>_0x389551[_0x19ad94(0x3c3,0x245,0x35f,0x1cc)]?.[_0x261c81(0x38f,0x544,0x49a,0x468)](_0x2433f,_0x123ac)}):void 0x0,_0x2cfd2c=new StreamableHTTPClientTransport(new URL(_0x34ec2['url']),{'authProvider':_0x14f868,'requestInit':_0x3c766e?{'headers':_0x3c766e}:void 0x0});await _0x5de771[_0x19ad94(0x531,0x42f,_0x131246._0x14d4d9,0x3a2)](_0x2cfd2c);}else{if(!_0x34ec2['command'])throw new Error(_0x261c81(0x6b6,0x3e1,_0x131246._0x9f814b,_0x131246._0x80362e)+_0x2433f+_0x261c81(0x304,_0x131246._0x58d2cd,_0x131246._0x1a338e,0x494));const _0x3dc911=new StdioClientTransport({'command':_0x34ec2[_0x19ad94(_0x131246._0x298882,_0x131246._0x413786,_0x131246._0x339a76,0x2d5)],'args':_0x34ec2[_0x261c81(_0x131246._0x364c9e,_0x131246._0x552ff0,_0x131246._0x5744f2,0x5e7)]??[],'env':_0x34ec2[_0x261c81(_0x131246._0x32fc18,_0x131246._0x31af10,0x43b,0x446)],'stderr':'pipe'});await _0x5de771[_0x19ad94(_0x131246._0xc21a6d,0x42f,0x591,0x4f9)](_0x3dc911);}function _0x261c81(_0x3cc150,_0x48bae4,_0x426e46,_0x53df8d){return _0x1e45aa(_0x3cc150-0xa7,_0x48bae4-0x17,_0x426e46- -0x24f,_0x53df8d);}return{async 'listTools'(){const _0xd61346={_0x22823f:0x1d1,_0x214e7:0x197};function _0x5791b8(_0x460803,_0x492639,_0x5def08,_0x40e83f){return _0x19ad94(_0x460803-_0xd61346._0x22823f,_0x492639-_0xd61346._0x214e7,_0x460803,_0x40e83f-0x80);}return await _0x5de771[_0x5791b8(0x498,0x463,_0x1afb92._0x554fff,0x402)]();},async 'callTool'(_0x30350b){const _0x51ab77={_0x38189d:0xe3,_0x58ae67:0x10d,_0x2353c4:0x17a};function _0x12c0bc(_0x41c209,_0x15b816,_0x458eed,_0x55efd9){return _0x261c81(_0x41c209-_0x51ab77._0x38189d,_0x15b816-_0x51ab77._0x58ae67,_0x15b816- -_0x51ab77._0x2353c4,_0x458eed);}function _0x284dfd(_0x23bd9f,_0x2d55e2,_0x345afe,_0x4eba97){return _0x261c81(_0x23bd9f-_0x2a74bc._0xf8d2cf,_0x2d55e2-_0x2a74bc._0x1d2552,_0x345afe-_0x2a74bc._0x232e09,_0x4eba97);}return await _0x5de771[_0x284dfd(0x574,_0x38fd9a._0x39b666,_0x38fd9a._0x5dda0b,0x42a)]({'method':_0x12c0bc(_0x38fd9a._0x57e7e5,0x3a7,0x2b4,_0x38fd9a._0x1f8aae),'params':_0x30350b},CallToolResultSchema);},async 'close'(){await _0x5de771['close']();}};}async function createMcpToolsFromServers(_0x30bb24){const _0x5aa2db={_0xe4867a:0x426,_0x56ef11:0x430,_0x52497d:0x4c4,_0x3757f2:0x241,_0x422742:0x310,_0x2429ba:0x39b,_0x53ce05:0x1d2,_0x5c865f:0x348,_0x36c840:0x32a,_0x2be381:0x323,_0x311ae6:0x4a3,_0x551bcb:0x68d,_0x2a8052:0x71f,_0x2f0853:0x604,_0x4be2af:0x72b,_0x3daf80:0x5bc,_0xfd3c28:0x4d5,_0x594624:0x568,_0xf80f2b:0x3f2,_0x52e9a1:0x2ab,_0x3bdc90:0x675,_0x393937:0x5e7,_0x426f25:0x3f8,_0xc3a6fb:0x5a3,_0x2a6cff:0x543,_0x562c69:0x315,_0xf35c25:0x3d2,_0x242542:0x4bb,_0x296501:0x5c5,_0x5cc983:0x543,_0x2ccb63:0x54e,_0x40d61b:0x667,_0x4b708a:0x69e,_0x3e0888:0x5a9,_0x3303c9:0x4a0,_0x42b9b6:0x3eb,_0x3e7b02:0x41a,_0x5aa5f9:0x500,_0x1cd72b:0x3f2,_0x21bfcd:0x1d9,_0x59f620:0x315,_0x5e4302:0x295,_0x3c547a:0x438,_0x48c8a8:0x561,_0x19df24:0x31b,_0x281cb4:0x41b},_0x4fa471={_0x474d21:0x740,_0x4a2a77:0x662,_0x29bf6a:0x769},_0x3813ea={_0xe1713f:0x1d1,_0x357091:0x4d},_0x1c969f={_0x2ebbb2:0x1cd},_0x4b290e={_0x40ef09:0x24d},_0x3f159c={_0x8d9b5b:0xb8,_0x55e220:0xdc,_0x1c00e4:0x42};function _0x1c59da(_0x222db7,_0x1ce227,_0x1d8fb1,_0x3a7e1e){return _0x55c88d(_0x222db7-_0x3f159c._0x8d9b5b,_0x1ce227- -_0x3f159c._0x55e220,_0x222db7,_0x3a7e1e-_0x3f159c._0x1c00e4);}const _0x26e641=_0x30bb24[_0x1c59da(0x52d,_0x5aa2db._0xe4867a,_0x5aa2db._0x56ef11,_0x5aa2db._0x52497d)]??connectMcpServer,_0x90a72d=[],_0x3f05bd={},_0x32ff94={},_0xaebcab=[];for(const [_0x3f0749,_0x1e4857]of Object['entries'](_0x30bb24[_0x1c59da(_0x5aa2db._0x3757f2,_0x5aa2db._0x422742,_0x5aa2db._0x2429ba,_0x5aa2db._0x53ce05)]??{})){if(_0x1e4857[_0x43f3d3(_0x5aa2db._0x5c865f,0x48b,_0x5aa2db._0x36c840,_0x5aa2db._0x2be381)]===![]){_0x3f05bd[_0x3f0749]={'status':_0x43f3d3(_0x5aa2db._0x311ae6,_0x5aa2db._0x551bcb,_0x5aa2db._0x2a8052,_0x5aa2db._0x2f0853)};continue;}try{const _0x394cbc=await _0x26e641(_0x3f0749,_0x1e4857,_0x30bb24[_0x43f3d3(0x720,0x5d9,_0x5aa2db._0x4be2af,0x5a7)]);_0x90a72d[_0x43f3d3(_0x5aa2db._0x3daf80,_0x5aa2db._0xfd3c28,_0x5aa2db._0x594624,0x455)](_0x394cbc);const _0x5a18e3=await _0x394cbc[_0x43f3d3(_0x5aa2db._0xf80f2b,0x2f0,_0x5aa2db._0x52e9a1,0x403)]();let _0x1ec24e=0x0;const _0x36e4c8=[];for(const _0x3385a0 of _0x5a18e3[_0x43f3d3(_0x5aa2db._0x3bdc90,0x5db,_0x5aa2db._0x393937,0x61b)]){const _0x2f54b4=_0x30bb24[_0x43f3d3(_0x5aa2db._0x426f25,_0x5aa2db._0xc3a6fb,0x5b5,0x45e)]?.[_0x3f0749]?.[_0x3385a0[_0x43f3d3(0x50d,0x65d,0x691,_0x5aa2db._0x2a6cff)]];_0x36e4c8[_0x1c59da(0x1db,_0x5aa2db._0x562c69,_0x5aa2db._0xf35c25,0x263)]({'name':_0x3385a0[_0x43f3d3(_0x5aa2db._0x242542,0x571,_0x5aa2db._0x296501,_0x5aa2db._0x5cc983)],..._0x3385a0[_0x43f3d3(_0x5aa2db._0x2ccb63,_0x5aa2db._0x40d61b,_0x5aa2db._0x4b708a,_0x5aa2db._0x3e0888)]!==void 0x0?{'description':_0x3385a0['description']}:{},..._0x3385a0[_0x43f3d3(0x497,_0x5aa2db._0x3303c9,0x4e3,0x55a)]!==void 0x0?{'inputSchema':_0x3385a0[_0x1c59da(_0x5aa2db._0x42b9b6,_0x5aa2db._0x3e7b02,_0x5aa2db._0x5aa5f9,_0x5aa2db._0x1cd72b)]}:{}});if(_0x2f54b4===![])continue;_0x1ec24e+=0x1,_0xaebcab[_0x1c59da(_0x5aa2db._0x21bfcd,_0x5aa2db._0x59f620,0x23f,_0x5aa2db._0x5e4302)](createMcpTool({'serverName':resolvePrefix(_0x3f0749,_0x1e4857),'tool':_0x3385a0,'client':_0x394cbc}));}_0x32ff94[_0x3f0749]=_0x36e4c8,_0x3f05bd[_0x3f0749]={'status':'connected','toolCount':_0x1ec24e};}catch(_0x4f2274){_0x3f05bd[_0x3f0749]=isUnauthorizedError(_0x4f2274)?{'status':_0x1c59da(0x418,0x42a,_0x5aa2db._0x3c547a,_0x5aa2db._0x48c8a8),'message':getErrorMessage(_0x4f2274)}:{'status':_0x1c59da(_0x5aa2db._0x19df24,_0x5aa2db._0x281cb4,0x2d6,0x353),'message':getErrorMessage(_0x4f2274)};}}function _0x43f3d3(_0x47e3d8,_0x20fcc6,_0x551355,_0x45f07c){return _0x1e45aa(_0x47e3d8-0x148,_0x20fcc6-0xc5,_0x45f07c- -_0x4b290e._0x40ef09,_0x47e3d8);}return{'tools':_0xaebcab,'servers':_0x3f05bd,'serverTools':_0x32ff94,async 'close'(){function _0x4f111c(_0x198337,_0x572bb2,_0x1b64b3,_0xb3f38b){return _0x1c59da(_0xb3f38b,_0x572bb2-0x6c,_0x1b64b3-0x19e,_0xb3f38b-_0x1c969f._0x2ebbb2);}function _0x4d49da(_0x1f7195,_0x477314,_0x158b1f,_0x475a58){return _0x1c59da(_0x1f7195,_0x477314-0x3bd,_0x158b1f-_0x3813ea._0xe1713f,_0x475a58-_0x3813ea._0x357091);}await Promise[_0x4d49da(0x68c,_0x4fa471._0x474d21,0x78f,_0x4fa471._0x4a2a77)](_0x90a72d[_0x4d49da(0x79d,_0x4fa471._0x29bf6a,0x5fc,0x787)](_0x3df4ee=>_0x3df4ee[_0x4d49da(0x7ca,0x84c,0x72b,0x6e4)]()));}};}function getCommand(_0x327d07){const _0x3d4eca={_0xf48436:0x5ed,_0x536639:0x555,_0x33de31:0x4e6,_0xef812d:0x5b3,_0xf94e41:0x439,_0x3014b4:0x571,_0x46ce0a:0x5a7,_0x47846f:0x543,_0x5dcf4c:0x3a1,_0x37cce1:0x44c,_0x520c0e:0x574,_0x17a616:0x34d,_0xeacb62:0x2f8},_0x149d94={_0x2e2fb7:0x7,_0x26e34c:0x98};function _0x5be97b(_0x2ae263,_0x5d5979,_0x53f4b6,_0x1d07ea){return _0x55c88d(_0x2ae263-0x6b,_0x1d07ea-_0x149d94._0x2e2fb7,_0x5d5979,_0x1d07ea-_0x149d94._0x26e34c);}function _0x56d42f(_0x347921,_0x21d16f,_0x319fe6,_0x3f8769){return _0x55c88d(_0x347921-0xfc,_0x21d16f-0x1fe,_0x319fe6,_0x3f8769-0x8);}if(_0x327d07&&typeof _0x327d07===_0x56d42f(_0x3d4eca._0xf48436,_0x3d4eca._0x536639,0x638,_0x3d4eca._0x33de31)&&!Array[_0x5be97b(0x576,_0x3d4eca._0xef812d,_0x3d4eca._0xf94e41,_0x3d4eca._0x3014b4)](_0x327d07)&&typeof _0x327d07[_0x56d42f(_0x3d4eca._0x46ce0a,0x4dc,_0x3d4eca._0x47846f,_0x3d4eca._0x5dcf4c)]===_0x5be97b(_0x3d4eca._0x37cce1,_0x3d4eca._0x520c0e,_0x3d4eca._0x17a616,0x475))return _0x327d07['command'];return _0x5be97b(_0x3d4eca._0xeacb62,0x4af,0x3b8,0x377);}var MOCK_WORKSPACE_LISTING=[_0x1e45aa(0x5dc,0x615,0x723,0x898),_0x55c88d(0x559,0x559,0x591,0x6db),_0x55c88d(0x47b,0x39b,0x2c6,0x2be),_0x1e45aa(0x6fb,0x8e2,0x7ed,0x95a),_0x55c88d(0x348,0x2f0,0x284,0x2d6),_0x1e45aa(0x7f3,0x770,0x749,0x6b6),_0x55c88d(0x2e5,0x2b6,0x328,0x1a7),_0x55c88d(0x253,0x378,0x203,0x34f),_0x1e45aa(0x86a,0x751,0x845,0x7f1),_0x1e45aa(0x5ea,0x475,0x5c4,0x5dc),_0x1e45aa(0x95f,0x78f,0x827,0x8a6),'src/agent/turn-engine.ts',_0x55c88d(0x50c,0x47d,0x44b,0x530),'src/agent/agent.test.ts',_0x1e45aa(0x72c,0x643,0x738,0x8b8),_0x55c88d(0x4ea,0x52f,0x3ed,0x3bb),'src/agent/turn-engine.test.ts'][_0x55c88d(0x387,0x3f2,0x33f,0x2ca)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x55c88d(0x4e6,0x4fd,0x477,0x474),'input_schema':{'type':_0x1e45aa(0x6ff,0x576,0x608,0x596),'properties':{'command':{'type':_0x1e45aa(0x79a,0x762,0x71f,0x806)}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x29d68a){return{'output':_0x29d68a,'structured':{'value':_0x29d68a}};}function createUnknownToolResult(_0x22e105){const _0x1c3183={_0x1b6788:0xf1,_0x55a675:0x17d,_0x40c82a:0x439,_0x34f267:0x3cd,_0xcf06d9:0x28c,_0x303343:0x363,_0x384937:0x4d5},_0x5f43d9={_0xcf8889:0x192,_0x4ef917:0x22};function _0xb00827(_0x48046d,_0x3b1c8b,_0x14c373,_0x252701){return _0x55c88d(_0x48046d-0x8b,_0x3b1c8b- -0x3ee,_0x252701,_0x252701-0x170);}function _0x45908f(_0x3c067b,_0x387613,_0x3135c5,_0x3961bf){return _0x55c88d(_0x3c067b-_0x5f43d9._0xcf8889,_0x3135c5- -_0x5f43d9._0x4ef917,_0x387613,_0x3961bf-0x1d);}return{'callId':_0x22e105['id'],'toolName':_0x22e105[_0xb00827(0x192,_0x1c3183._0x1b6788,_0x1c3183._0x55a675,0xfb)],'status':_0x45908f(_0x1c3183._0x40c82a,0x50f,0x4d5,0x4b9),'output':_0x45908f(_0x1c3183._0x34f267,0x34e,0x316,_0x1c3183._0xcf06d9)+_0x22e105[_0x45908f(_0x1c3183._0x303343,_0x1c3183._0x384937,0x4bd,0x3d8)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0xbd1fe9,_0x3cbd03){const _0x2aa76f={_0x12e6a2:0x207,_0x264c4d:0x1c9,_0x2a7932:0x28f},_0x5e67e8={_0xc27600:0x338};function _0x150b67(_0x368d79,_0x59c4ae,_0x1312fe,_0x45b25f){return _0x55c88d(_0x368d79-0x93,_0x1312fe- -_0x5e67e8._0xc27600,_0x45b25f,_0x45b25f-0xa3);}return{'callId':_0xbd1fe9['id'],'toolName':_0xbd1fe9['name'],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0xbd1fe9[_0x150b67(0x1d5,_0x2aa76f._0x12e6a2,_0x2aa76f._0x264c4d,_0x2aa76f._0x2a7932)]),'exitCode':0x0},'chunks':[_0x3cbd03],'meta':createMeta()};}function createMockToolRuntime(){const _0x204a9a={_0x20feeb:0x3b1,_0x35b4f8:0x2a8,_0x43ba2a:0x74a,_0x2f8cd5:0x6d5},_0x4fbb0a=async(_0x1269e5,_0x53e7fd)=>{if(_0x1269e5['name']!=='Bash')return createUnknownToolResult(_0x1269e5);const _0x25880f=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x1269e5,_0x25880f);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2148df,_0x158c2f){const _0x4bba5b={_0xef019:0xf};function _0x1e9b7d(_0x3d17a4,_0x350ad5,_0x294c42,_0x33cb50){return _0x3bdd(_0x33cb50-0x335,_0x294c42);}function _0x4a133c(_0x49494b,_0x1b7d3b,_0x17d9e1,_0x485f34){return _0x3bdd(_0x49494b- -_0x4bba5b._0xef019,_0x17d9e1);}return await Promise[_0x4a133c(0x368,_0x204a9a._0x20feeb,0x299,_0x204a9a._0x35b4f8)](_0x2148df[_0x1e9b7d(_0x204a9a._0x43ba2a,0x757,0x571,_0x204a9a._0x2f8cd5)](async _0x5be1af=>{return await _0x4fbb0a(_0x5be1af,_0x158c2f);}));},async 'execute'(_0x4a8015,_0x2aa516){return await _0x4fbb0a(_0x4a8015,_0x2aa516);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x4c269d={_0x3c9023:0x425};delegatedRunCounter+=0x1;function _0x370d42(_0x26861d,_0x1c9283,_0x356752,_0x259966){return _0x1e45aa(_0x26861d-0x1b2,_0x1c9283-0x11e,_0x1c9283- -0x319,_0x26861d);}return _0x370d42(0x598,_0x4c269d._0x3c9023,0x44a,0x3cc)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3d3e84,_0x14dbad){const _0x395b68={_0x5bab67:0x365},_0x551fb0={_0x56d1bb:0x93,_0x5c2fbf:0x1a3};function _0x2a7f30(_0x210969,_0x6a6ce0,_0x1b3928,_0x302355){return _0x55c88d(_0x210969-_0x551fb0._0x56d1bb,_0x302355- -_0x551fb0._0x5c2fbf,_0x6a6ce0,_0x302355-0x1f);}return typeof _0x3d3e84===_0x2a7f30(0x42a,0x1fb,0x49c,_0x395b68._0x5bab67)?await _0x3d3e84(_0x14dbad):_0x3d3e84;}function getDelegatedAgentDefinition(_0x3b636d,_0x27173c){const _0xd12b5e={_0xe456e9:0x2cb,_0x2c030e:0x1ba},_0x318967={_0x13d24f:0x23c};function _0x433916(_0x6ae5b,_0x1252b0,_0x2e4b19,_0x5d6b47){return _0x55c88d(_0x6ae5b-0x15b,_0x6ae5b- -_0x318967._0x13d24f,_0x1252b0,_0x5d6b47-0xfb);}return _0x3b636d[_0x433916(_0xd12b5e._0xe456e9,0x32c,_0xd12b5e._0x2c030e,0x329)]?.[_0x27173c];}function createRunSummary(_0x4003fb){const _0x2ca636={_0x533d41:0x7bb,_0x1706d3:0x64d,_0xcff7c8:0x7c8,_0x37ccf2:0x664,_0x4dff64:0x82c,_0x423c87:0x728,_0xce6f49:0x56b,_0x4d67a2:0x78b,_0x564eba:0x85d,_0x31ba75:0x67c,_0x2b74dd:0x5bb,_0x5e9dd4:0x802,_0x3a4db3:0x564,_0x50abf6:0x489,_0xd83855:0x449,_0x4e82b1:0x470,_0x3d2487:0x47b,_0x5c494c:0x3d8,_0x39d9f0:0x420,_0x232ee9:0x5a6,_0x49945b:0x683},_0x4018a2={_0x2e2f98:0x1ea},_0x173ea5={_0x1d6403:0x196};function _0x5de14c(_0x573d30,_0x1cc85b,_0x3effba,_0x58d45c){return _0x55c88d(_0x573d30-0x3a,_0x573d30-_0x173ea5._0x1d6403,_0x3effba,_0x58d45c-0x18a);}function _0x2f435c(_0x43f187,_0x5e62f3,_0x32ba1d,_0x3d2255){return _0x55c88d(_0x43f187-0xa0,_0x3d2255-0x225,_0x32ba1d,_0x3d2255-_0x4018a2._0x2e2f98);}return{'runId':_0x4003fb[_0x2f435c(0x6c4,_0x2ca636._0x533d41,_0x2ca636._0x1706d3,_0x2ca636._0xcff7c8)],'agentId':_0x4003fb[_0x5de14c(0x6dd,_0x2ca636._0x37ccf2,_0x2ca636._0x4dff64,_0x2ca636._0x423c87)],'sessionId':_0x4003fb[_0x2f435c(0x656,0x6a0,_0x2ca636._0xce6f49,0x536)],'status':_0x4003fb['status'],'parentSessionId':_0x4003fb[_0x2f435c(_0x2ca636._0x4d67a2,_0x2ca636._0x564eba,0x871,0x7b8)],..._0x4003fb[_0x5de14c(_0x2ca636._0x31ba75,0x5be,_0x2ca636._0x2b74dd,_0x2ca636._0x5e9dd4)]!==void 0x0?{'originToolCallId':_0x4003fb['originToolCallId']}:{},..._0x4003fb[_0x5de14c(0x449,0x4af,_0x2ca636._0x3a4db3,_0x2ca636._0x50abf6)]!==void 0x0?{'errorMessage':_0x4003fb[_0x5de14c(_0x2ca636._0xd83855,_0x2ca636._0x4e82b1,_0x2ca636._0x3d2487,_0x2ca636._0x5c494c)]}:{},..._0x4003fb['result']?.[_0x2f435c(0x7a2,0x714,0x8c6,0x7c3)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x4003fb[_0x5de14c(0x598,_0x2ca636._0x39d9f0,_0x2ca636._0x232ee9,_0x2ca636._0x49945b)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x16f6fd,_0x104e55){const _0x3d24c4={_0x33d891:0x92,_0x26c6d9:0x5a4,_0x81f875:0x58b,_0x56dc91:0x6b9},_0x2a7235={_0x24f265:0x6a7},_0x4fa6b7={_0x32064e:0x99},_0x2c22aa=createRunSummary(_0x16f6fd);function _0x30c829(_0x1e335d,_0x2dbbbf,_0x53562e,_0xd5592d){return _0x55c88d(_0x1e335d-_0x4fa6b7._0x32064e,_0x53562e-0x11d,_0x1e335d,_0xd5592d-0xe9);}const _0x78cfae=_0x2c22aa[_0x55947c(0x13c,_0x3d24c4._0x33d891,-0x24,0x86)];function _0x55947c(_0x49126c,_0x51715e,_0x41d395,_0x1be708){return _0x1e45aa(_0x49126c-0x140,_0x51715e-0xa6,_0x1be708- -_0x2a7235._0x24f265,_0x49126c);}return createToolOutput(typeof _0x78cfae===_0x30c829(_0x3d24c4._0x26c6d9,0x659,_0x3d24c4._0x81f875,_0x3d24c4._0x56dc91)&&_0x78cfae['length']>0x0?_0x78cfae:_0x104e55,_0x2c22aa);}function getRunTerminalErrorMessage(_0x1ccdd2){const _0x201c52={_0x396eb3:0x381,_0x1a86a9:0x1eb,_0x425298:0x3d7,_0x14f9a7:0x7b9,_0x4a0bc8:0x6c3,_0x2ba556:0x85b,_0x55059a:0x4f3},_0x571464={_0x50d902:0x4f};function _0x3c9d1e(_0x5dfd27,_0xc86020,_0x66820b,_0x3f1d23){return _0x1e45aa(_0x5dfd27-_0x571464._0x50d902,_0xc86020-0x1b0,_0x5dfd27- -0xa5,_0x3f1d23);}const _0x393e50=_0x1ccdd2?.[_0x418d1c(_0x201c52._0x396eb3,_0x201c52._0x1a86a9,0x34e,_0x201c52._0x425298)]['toolResults']['at'](-0x1);function _0x418d1c(_0x5e3a95,_0x19fdbe,_0x288c15,_0x826fd3){return _0x55c88d(_0x5e3a95-0x73,_0x288c15- -0x3e,_0x19fdbe,_0x826fd3-0x1ab);}if(_0x393e50?.[_0x3c9d1e(_0x201c52._0x14f9a7,_0x201c52._0x4a0bc8,_0x201c52._0x2ba556,0x76d)]==='error'&&_0x393e50['output']['trim']()['length']>0x0)return _0x393e50[_0x3c9d1e(0x56a,_0x201c52._0x55059a,0x525,0x41e)];return void 0x0;}function formatAbortedRunMessage(_0x12e3bb,_0x52f19b){const _0x378226={_0x20c48b:0x8c,_0x1a4e5f:0x2a4,_0x372c75:0x400,_0xdeac3b:0x401,_0x41c5b3:0x12d,_0x45b88b:0x247,_0xd54dd4:0x250},_0x5eb796={_0x406415:0x1f2,_0x3c90b7:0x4fd},_0x274416={_0x2f9066:0x14c,_0x1aa898:0x1cb};function _0xfe2535(_0x3000c2,_0x5f4868,_0x717bb5,_0xa87ddc){return _0x55c88d(_0x3000c2-_0x274416._0x2f9066,_0x3000c2- -_0x274416._0x1aa898,_0x5f4868,_0xa87ddc-0xca);}const _0x5c8ede=_0xfe2535(0x20f,_0x378226._0x20c48b,0x13b,0x35b)+_0x12e3bb+'\x20was\x20aborted.';if(!_0x52f19b||_0x52f19b[_0x1ad6ac(_0x378226._0x1a4e5f,0x268,_0x378226._0x372c75,_0x378226._0xdeac3b)]()['length']===0x0||_0x52f19b===_0x5c8ede)return _0x5c8ede;function _0x1ad6ac(_0x657281,_0x3e8d12,_0x2c49f6,_0x4ef6aa){return _0x1e45aa(_0x657281-0xde,_0x3e8d12-_0x5eb796._0x406415,_0x657281- -_0x5eb796._0x3c90b7,_0x2c49f6);}return _0x5c8ede+_0xfe2535(_0x378226._0x41c5b3,0x1a9,_0x378226._0x45b88b,_0x378226._0xd54dd4)+_0x52f19b;}function createAssignTaskTool(_0x5f50b1){const _0x5511e0={_0x5e43ba:0x7b,_0x4f4d95:0x94,_0x5571cf:0x74,_0x4a54ed:0x7e,_0x3b0231:0x3b9,_0x592d94:0x539,_0x5b55d8:0x17d,_0x1a6d44:0x336,_0x2ce3f9:0x3fb},_0x95798c={_0xb72324:0x277,_0x5922d9:0x40,_0x214d35:0x13b,_0x584726:0xe9,_0x193dd8:0x7d,_0x1b4766:0x224,_0x16f959:0x16,_0x11a9b1:0xe7,_0x5a2101:0x17a,_0x3116b4:0x1d9,_0x50059f:0x13b,_0x8f1a48:0x42,_0x51953d:0xcb,_0x1f13fb:0x13b,_0x21ece4:0x1b9,_0x48a265:0x63,_0x12eba3:0x21a,_0x2bac28:0x228,_0x2bbbe1:0x172,_0x4c79dc:0x16c,_0x56c55f:0x1f2,_0x4ace6d:0x2fe,_0x20a4ab:0xea,_0x2e1755:0x176,_0x1c1011:0x1e9,_0x4be6ba:0x93,_0x68c849:0x162,_0x628956:0x75,_0x3643b3:0x32,_0x17c05f:0x137,_0x2d7afc:0x10a,_0x4d9991:0x41,_0x2bda9c:0x92,_0x282dfa:0x2bc,_0x1cd132:0x7f,_0x5bbe57:0x287,_0x49ca17:0x28a,_0x397587:0x24a,_0x494c2f:0x164,_0x41b0d0:0x30f,_0x2756b6:0x215,_0x4b736c:0x1a5,_0x432582:0x4c,_0x1ad7c8:0x1c6,_0x4206e4:0x248,_0x20895c:0x2b2,_0x219c58:0x15b,_0x11ee75:0x110,_0x5b8b1c:0x37c,_0x291b20:0x31a,_0x1c4f9a:0x227,_0x2f8962:0x155,_0x313b14:0xdd,_0x29e82e:0x13b,_0x489043:0x2ad,_0x274491:0x14c,_0x371447:0xdc,_0x15f929:0x147,_0x128c18:0x115,_0x4310eb:0xa,_0x49036d:0x8,_0x471b97:0x22c,_0x256ac1:0x112,_0x30fe28:0xbe,_0x1e46b2:0x2c3,_0x4c2d08:0x197,_0x56876b:0x1fe,_0x2b55e7:0x270,_0xada56e:0x7c},_0x4d74c8={_0x3e86ee:0x57c,_0x3179f6:0x4e0,_0x3eb1bb:0x6fd,_0x5b5f34:0x6f8,_0x651725:0x519,_0x2d6038:0x6df},_0xab7c1f={_0x1c1039:0x37,_0x22cb91:0x2b,_0x24387a:0xe5},_0x2e4fae={_0x242cb8:0x1ee},_0x535561={_0x3579ef:0x34};function _0x46c16c(_0x38517a,_0x29d295,_0x29fd98,_0x39a65c){return _0x55c88d(_0x38517a-_0x535561._0x3579ef,_0x29d295- -0x3d5,_0x38517a,_0x39a65c-0x1c1);}function _0x3a3420(_0x2a92fd,_0x129aa2,_0x16627c,_0x136a88){return _0x1e45aa(_0x2a92fd-_0x2e4fae._0x242cb8,_0x129aa2-0x15a,_0x136a88- -0x238,_0x129aa2);}return defineTool({'name':'AssignTask','description':_0x46c16c(-_0x5511e0._0x5e43ba,_0x5511e0._0x4f4d95,-0xf,-_0x5511e0._0x5571cf),'inputSchema':{'type':_0x46c16c(-0xd,-_0x5511e0._0x4a54ed,-0xe2,0xf0),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x3a3420(0x3ce,_0x5511e0._0x3b0231,_0x5511e0._0x592d94,0x4e7)},'task':{'type':_0x46c16c(-0x69,0x99,0x1db,_0x5511e0._0x5b55d8)}},'required':['agentId','description',_0x3a3420(_0x5511e0._0x1a6d44,0x427,_0x5511e0._0x2ce3f9,0x448)]},async *'execute'(_0x55ffbb,_0x4fb5eb){const _0x92f85e=createDelegatedRunId(),_0x9fabcd={'agentId':_0x55ffbb[_0x4dc052(_0x95798c._0xb72324,-_0x95798c._0x5922d9,_0x95798c._0x214d35,0x13b)],'parentSessionId':_0x4fb5eb[_0x264cbb(-_0x95798c._0x584726,-0x13f,-_0x95798c._0x193dd8,-0xb9)],'runId':_0x92f85e,..._0x4fb5eb['toolCallId']!==void 0x0?{'toolCallId':_0x4fb5eb[_0x264cbb(0x38e,0x35a,0x228,0x247)]}:{}};function _0x264cbb(_0x21318f,_0x2bba9e,_0x1c3452,_0x2be2bb){return _0x46c16c(_0x21318f,_0x1c3452-0x47,_0x1c3452-0x157,_0x2be2bb-0x3d);}const _0x4ef75d=getDelegatedAgentDefinition(_0x5f50b1,_0x55ffbb[_0x4dc052(_0x95798c._0x1b4766,0xbc,_0x95798c._0x16f959,_0x95798c._0x214d35)]);if(!_0x4ef75d)throw new ToolExecutionError(_0x264cbb(0x71,0x15c,_0x95798c._0x11a9b1,_0x95798c._0x5a2101)+_0x55ffbb[_0x4dc052(0x12f,0x200,_0x95798c._0x3116b4,_0x95798c._0x50059f)],{'agentId':_0x55ffbb[_0x4dc052(-_0x95798c._0x8f1a48,_0x95798c._0x51953d,0x3c,_0x95798c._0x1f13fb)]});const _0x488a3b=new Agent(await resolveDelegatedAgentOptions(_0x4ef75d,_0x9fabcd));let _0x5a4b70={'runId':_0x92f85e,'agentId':_0x55ffbb[_0x264cbb(0x28d,0x263,_0x95798c._0x21ece4,_0x95798c._0x48a265)],'sessionId':_0x488a3b[_0x4dc052(0x7,-0xbb,-0x4a,-0xfb)],'status':_0x264cbb(0x2a6,0x1de,_0x95798c._0x12eba3,0x25c),'parentSessionId':_0x4fb5eb['sessionId'],..._0x4fb5eb[_0x264cbb(0x387,0x379,_0x95798c._0x2bac28,0x32c)]!==void 0x0?{'originToolCallId':_0x4fb5eb[_0x264cbb(_0x95798c._0x2bbbe1,0x11d,0x228,0x263)]}:{}};const _0x5216c1=new AbortController();function _0x4dc052(_0x226f43,_0x5a02a1,_0x308c34,_0x363f65){return _0x46c16c(_0x308c34,_0x363f65- -_0xab7c1f._0x1c1039,_0x308c34-_0xab7c1f._0x22cb91,_0x363f65-_0xab7c1f._0x24387a);}const _0xcb4bb8=addAbortListener(_0x4fb5eb[_0x264cbb(0x1c9,_0x95798c._0x4c79dc,0x227,0x2de)],()=>{function _0x48fb9d(_0x5371ca,_0x188818,_0x44a4b7,_0x3f1512){return _0x264cbb(_0x44a4b7,_0x188818-0x2a,_0x5371ca-0x49f,_0x3f1512-0xc9);}function _0x325685(_0x37f683,_0x5773e8,_0x543561,_0x6870d){return _0x4dc052(_0x37f683-0x175,_0x5773e8-0x7d,_0x543561,_0x5773e8-0x5d9);}_0x5216c1[_0x48fb9d(0x60d,0x590,_0x4d74c8._0x3e86ee,_0x4d74c8._0x3179f6)](_0x4fb5eb[_0x48fb9d(0x6c6,_0x4d74c8._0x3eb1bb,0x70f,_0x4d74c8._0x5b5f34)]?.[_0x325685(_0x4d74c8._0x651725,0x60e,_0x4d74c8._0x2d6038,0x747)]);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x5a4b70[_0x264cbb(_0x95798c._0x56c55f,_0x95798c._0x4ace6d,0x215,_0x95798c._0x20a4ab)]+'.',{'runId':_0x5a4b70[_0x4dc052(_0x95798c._0x2e1755,0x277,0x7d,0x197)],'agentId':_0x5a4b70[_0x4dc052(0x228,0xc5,_0x95798c._0x1c1011,0x13b)],'sessionId':_0x5a4b70[_0x264cbb(_0x95798c._0x4be6ba,-_0x95798c._0x68c849,-0x7d,-0x1db)],'status':_0x5a4b70[_0x4dc052(_0x95798c._0x628956,0x103,0xf1,0x1a1)]});try{const _0x9b2776=await _0x488a3b[_0x264cbb(0xa3,0xa0,_0x95798c._0x3643b3,-0x36)](_0x55ffbb[_0x264cbb(_0x95798c._0x17c05f,-_0x95798c._0x2d7afc,_0x95798c._0x4d9991,-0x75)],{'streaming':!![],'signal':_0x5216c1[_0x4dc052(_0x95798c._0x2bda9c,_0x95798c._0x282dfa,_0x95798c._0x1cd132,0x1a9)]});_0x5a4b70={..._0x5a4b70,'status':_0x9b2776[_0x4dc052(_0x95798c._0x5bbe57,_0x95798c._0x49ca17,_0x95798c._0x397587,0x1a1)],'result':_0x9b2776};if(_0x9b2776['status']!=='completed'){const _0x587a6c=getRunTerminalErrorMessage(_0x9b2776),_0x314ffe=formatAbortedRunMessage(_0x5a4b70[_0x264cbb(_0x95798c._0x494c2f,_0x95798c._0x41b0d0,_0x95798c._0x2756b6,_0x95798c._0x4b736c)],_0x587a6c);throw new ToolExecutionError(_0x314ffe,{...createRunSummary(_0x5a4b70),'aborted':!![],'errorMessage':_0x314ffe});}return createRunSummaryOutput(_0x5a4b70,_0x264cbb(0xa2,-0x127,_0x95798c._0x432582,_0x95798c._0x1ad7c8)+_0x5a4b70['runId']+_0x4dc052(0x9a,0x240,0x19e,0x10d));}catch(_0x5034bb){if(_0x5034bb instanceof ToolExecutionError)throw _0x5034bb;if(isAbortError(_0x5034bb)||_0x5216c1[_0x4dc052(0x191,0x216,_0x95798c._0x41b0d0,0x1a9)][_0x264cbb(_0x95798c._0x4206e4,_0x95798c._0x20895c,_0x95798c._0x219c58,_0x95798c._0x11ee75)]||_0x4fb5eb[_0x264cbb(_0x95798c._0x5b8b1c,_0x95798c._0x291b20,_0x95798c._0x1c4f9a,_0x95798c._0x20a4ab)][_0x4dc052(0x4d,_0x95798c._0x2f8962,0x1d6,_0x95798c._0x313b14)]){const _0x166e4f=getRunTerminalErrorMessage(_0x5a4b70[_0x264cbb(_0x95798c._0x29e82e,0x7a,0x74,0xd5)])??(_0x5034bb instanceof Error?_0x5034bb['message']:String(_0x5034bb)),_0x4262db=formatAbortedRunMessage(_0x5a4b70[_0x264cbb(0x209,_0x95798c._0x489043,_0x95798c._0x2756b6,_0x95798c._0x274491)],_0x166e4f);_0x5a4b70={..._0x5a4b70,'status':_0x4dc052(_0x95798c._0x371447,_0x95798c._0x15f929,0x129,_0x95798c._0x313b14),'errorMessage':_0x4262db};throw new ToolExecutionError(_0x4262db,{...createRunSummary(_0x5a4b70),'aborted':!![],'errorMessage':_0x4262db});}const _0x9a90af=getRunTerminalErrorMessage(_0x5a4b70[_0x4dc052(0x126,-0x132,-_0x95798c._0x128c18,-_0x95798c._0x4310eb)])??(_0x5034bb instanceof Error?_0x5034bb[_0x4dc052(_0x95798c._0x49036d,-_0x95798c._0x471b97,-0xd4,-_0x95798c._0x256ac1)]:String(_0x5034bb))??_0x264cbb(-_0x95798c._0x30fe28,0x5d,_0x95798c._0x432582,-0xc8)+_0x5a4b70[_0x4dc052(_0x95798c._0x1e46b2,0xd5,0x263,_0x95798c._0x4c2d08)]+_0x264cbb(0x267,0xca,_0x95798c._0x56876b,_0x95798c._0x2b55e7);_0x5a4b70={..._0x5a4b70,'status':_0x4dc052(-0x15,-_0x95798c._0xada56e,-0x175,-0x1e),'errorMessage':_0x9a90af};throw new ToolExecutionError(_0x9a90af,{...createRunSummary(_0x5a4b70),'errorMessage':_0x9a90af});}finally{_0xcb4bb8();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x1c0d0c){return[createAssignTaskTool(_0x1c0d0c)];}import*as _0x4f231f from'path';function buildDescription2(_0x9317ca){const _0x4786fd={_0x406383:0x3c7,_0x5562f8:0x2cb,_0x2ba40a:0x332,_0x4706fd:0x31e,_0x25d3b8:0x39f,_0x4f1cfb:0x1d5,_0x535e03:0x2f4,_0x3ef241:0xe7,_0x1868ad:0x177,_0x2c6611:0x66b,_0x351426:0x7c3},_0x3af6a7={_0x320209:0x14c,_0x2bf1aa:0x517};if(_0x9317ca[_0x1df669(0x182,0x449,_0x4786fd._0x406383,_0x4786fd._0x5562f8)]===0x0)return _0x1df669(0x368,_0x4786fd._0x2ba40a,0x242,_0x4786fd._0x4706fd);function _0x13e16b(_0x5a92f8,_0xf978bf,_0x312a3a,_0x5293a7){return _0x55c88d(_0x5a92f8-0x80,_0x5a92f8-0x1f1,_0xf978bf,_0x5293a7-0x31);}function _0x1df669(_0x104de7,_0x168c9a,_0x80c2bc,_0x1edcd3){return _0x1e45aa(_0x104de7-_0x3af6a7._0x320209,_0x168c9a-0x1d9,_0x1edcd3- -_0x3af6a7._0x2bf1aa,_0x168c9a);}const _0x59a9c7=[_0x1df669(_0x4786fd._0x25d3b8,0x196,_0x4786fd._0x4f1cfb,_0x4786fd._0x535e03),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x1df669(0x20e,0x1d0,_0x4786fd._0x3ef241,_0x4786fd._0x1868ad),'Available\x20skills\x20(skill_name:\x20description):',..._0x9317ca[_0x13e16b(0x679,0x559,_0x4786fd._0x2c6611,_0x4786fd._0x351426)](_0x3849b0=>'-\x20'+_0x3849b0[_0x1df669(0x374,0x21c,0x2b0,0x279)]+':\x20'+_0x3849b0[_0x13e16b(0x736,0x853,0x829,0x860)])];return _0x59a9c7[_0x13e16b(0x5e3,0x5fb,0x546,0x513)]('\x0a');}function createLoadSkillTool(_0x424ff3){const _0x42897a={_0x18de55:0x486,_0x4af46e:0x5e5,_0x27b601:0x6be,_0xb6d600:0x594,_0x2f37cd:0x623,_0x39c311:0x492,_0x13b420:0x53d,_0xcbc958:0x635,_0x449b22:0x5c2,_0x3d9329:0x783,_0x3999f9:0x6ff,_0x402ca0:0x3e7,_0x30e7eb:0x605,_0x300278:0x4fe,_0x3ceb30:0x492,_0x37358a:0x56f},_0x4bf068={_0x45c061:0x812,_0x1a4f3c:0x7bc,_0x2f38c1:0x6d3,_0x436c1a:0x75d,_0x3cef59:0x70e,_0x37634d:0x6da,_0x1b4ff9:0x706,_0xb8de78:0x802,_0x3b0fa8:0x7cd,_0x8391e9:0x66d,_0x4d8597:0x603,_0x247fe9:0x580,_0x530ae4:0x6bb,_0x2c5b73:0x5b4,_0x36aa76:0x846,_0x5e0eb3:0x510,_0x522fda:0x75c,_0xa2a30c:0x4c2,_0x14a53e:0x5c3,_0x32280d:0x7ea,_0x57e2eb:0x749,_0x4346bc:0x773,_0x51bfbc:0x653,_0x3bd984:0x764,_0x25e828:0x649,_0x298ad5:0x639,_0x2c7a4d:0x743,_0xc9c295:0x7f2,_0x4596fd:0x858,_0x4341fe:0x69a,_0x10d5dc:0x6fe,_0x2d0d4b:0x7da,_0x201c2f:0x5d2,_0x2bdf21:0x61a,_0x48874c:0x78c,_0x189046:0x6bc,_0x56d548:0x64a,_0x3714fd:0x606,_0x4e3f6a:0x503},_0x337ef7={_0xf2346e:0x19e,_0x3f6c51:0x90},_0x541361={_0xbd5487:0x1ab,_0x1bea76:0x3c3,_0x3a3dfc:0x21},_0x5b03b6=new Map(_0x424ff3[_0x13d189(_0x42897a._0x18de55,0x5b9,_0x42897a._0x4af46e,_0x42897a._0x27b601)][_0x13d189(_0x42897a._0xb6d600,0x518,_0x42897a._0x2f37cd,_0x42897a._0x39c311)](_0x3bd499=>[_0x3bd499[_0x4886c0(0x11c,0x158,0x6a,0xbf)],_0x3bd499]));function _0x4886c0(_0x539b26,_0x112014,_0x49ae28,_0x11d72b){return _0x55c88d(_0x539b26-_0x541361._0xbd5487,_0x539b26- -_0x541361._0x1bea76,_0x49ae28,_0x11d72b-_0x541361._0x3a3dfc);}function _0x13d189(_0x566a78,_0x5b25b1,_0x36c7b1,_0x505423){return _0x55c88d(_0x566a78-_0x337ef7._0xf2346e,_0x5b25b1-_0x337ef7._0x3f6c51,_0x566a78,_0x505423-0xa3);}const _0x44ef10=buildDescription2(_0x424ff3[_0x13d189(_0x42897a._0x13b420,0x5b9,_0x42897a._0xcbc958,_0x42897a._0x449b22)]);return defineTool({'name':_0x13d189(0x4d5,0x635,_0x42897a._0x3d9329,_0x42897a._0x3999f9),'description':_0x44ef10,'inputSchema':{'type':_0x13d189(0x35e,_0x42897a._0x402ca0,0x319,0x2a9),'properties':{'name':{'type':_0x13d189(_0x42897a._0x30e7eb,_0x42897a._0x300278,_0x42897a._0x3ceb30,0x651)}},'required':[_0x13d189(0x53b,_0x42897a._0x37358a,0x560,0x45f)]},async *'execute'(_0x4eee87){const _0x27cc8e={_0x695f57:0x147,_0x47267f:0x175};function _0x4346af(_0x152826,_0xc3f4f9,_0x57f701,_0x24a01d){return _0x4886c0(_0x57f701-0x5a0,_0xc3f4f9-_0x27cc8e._0x695f57,_0x152826,_0x24a01d-_0x27cc8e._0x47267f);}const _0xad540a=_0x5b03b6['get'](_0x4eee87['name']);if(!_0xad540a){const _0x5000f5=Array[_0x3d0491(0x70a,_0x4bf068._0x45c061,0x6bc,0x69b)](_0x5b03b6[_0x4346af(_0x4bf068._0x1a4f3c,_0x4bf068._0x2f38c1,_0x4bf068._0x436c1a,0x8d1)]())['join'](',\x20');throw new ToolExecutionError(_0x3d0491(0x71d,0x644,_0x4bf068._0x3cef59,0x815)+_0x4eee87['name']+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x5000f5,{'name':_0x4eee87[_0x3d0491(_0x4bf068._0x37634d,0x7cb,0x6cc,0x78b)]});}const _0x412ae6=await _0x424ff3['loadSkill'](_0xad540a),_0x5d73df=_0xad540a[_0x3d0491(_0x4bf068._0x1b4ff9,_0x4bf068._0xb8de78,_0x4bf068._0x3b0fa8,_0x4bf068._0x8391e9)][_0x4346af(_0x4bf068._0x4d8597,0x801,0x76f,0x889)]??_0x4f231f[_0x3d0491(_0x4bf068._0x247fe9,0x479,_0x4bf068._0x530ae4,0x6fe)](_0xad540a[_0x3d0491(0x706,_0x4bf068._0x2c5b73,_0x4bf068._0x36aa76,0x6cc)][_0x3d0491(0x624,_0x4bf068._0x5e0eb3,_0x4bf068._0x522fda,_0x4bf068._0xa2a30c)]),_0x25b18d=[_0x3d0491(0x68b,_0x4bf068._0x14a53e,0x746,_0x4bf068._0x32280d)+_0x412ae6['name'],'',_0x412ae6[_0x4346af(_0x4bf068._0x57e2eb,_0x4bf068._0x4346bc,_0x4bf068._0x51bfbc,_0x4bf068._0x3bd984)],'',_0x4346af(_0x4bf068._0x522fda,_0x4bf068._0x25e828,_0x4bf068._0x298ad5,_0x4bf068._0x2c7a4d),'Loaded\x20from:\x20'+_0xad540a[_0x3d0491(_0x4bf068._0x1b4ff9,_0x4bf068._0xc9c295,_0x4bf068._0x4596fd,0x832)][_0x3d0491(0x624,0x61d,_0x4bf068._0x4341fe,0x58d)],_0x3d0491(0x6e6,_0x4bf068._0x10d5dc,_0x4bf068._0x2d0d4b,_0x4bf068._0x201c2f)+_0x5d73df][_0x3d0491(0x5ed,0x626,0x496,_0x4bf068._0x2bdf21)]('\x0a');function _0x3d0491(_0x221bb4,_0x4b0817,_0x4f355a,_0x951974){return _0x4886c0(_0x221bb4-0x5be,_0x4b0817-0xd,_0x4f355a,_0x951974-0x7f);}return yield createToolOutput(_0x25b18d,{'id':_0x412ae6['id'],'name':_0x412ae6[_0x4346af(_0x4bf068._0x48874c,0x81f,_0x4bf068._0x189046,0x6d5)],'path':_0xad540a['source'][_0x4346af(_0x4bf068._0x56d548,0x5b5,_0x4bf068._0x3714fd,_0x4bf068._0x4e3f6a)],'baseDirectory':_0x5d73df}),void 0x0;}});}var TODO_STATUSES=new Set([_0x55c88d(0x414,0x41f,0x348,0x307),_0x55c88d(0x391,0x325,0x47c,0x294),'completed']),TODO_PRIORITIES=new Set(['high','medium','low']);function isTodoStatus(_0x3e26fb){const _0x3e44d2={_0x4f9a99:0x4cd,_0x3d806a:0x5d2,_0x2cfbc8:0x4c2,_0x479335:0x64f},_0x223c6e={_0x2a3e1b:0x45,_0x401235:0xa0,_0x359f11:0x11a},_0x3b3a62={_0x1dca04:0xc1,_0x17818e:0x107,_0x7b3fd7:0xf7};function _0x221d53(_0x74106f,_0x511eeb,_0x38fcc6,_0x5a9c47){return _0x55c88d(_0x74106f-_0x3b3a62._0x1dca04,_0x38fcc6-_0x3b3a62._0x17818e,_0x5a9c47,_0x5a9c47-_0x3b3a62._0x7b3fd7);}function _0x315d24(_0x30a3a9,_0x1d89ea,_0x584ed2,_0x212ba9){return _0x55c88d(_0x30a3a9-_0x223c6e._0x2a3e1b,_0x1d89ea-_0x223c6e._0x401235,_0x584ed2,_0x212ba9-_0x223c6e._0x359f11);}return typeof _0x3e26fb===_0x221d53(0x442,_0x3e44d2._0x4f9a99,0x575,0x623)&&TODO_STATUSES[_0x221d53(_0x3e44d2._0x3d806a,_0x3e44d2._0x2cfbc8,0x5ae,_0x3e44d2._0x479335)](_0x3e26fb);}function isTodoPriority(_0x5a3abd){const _0x50e814={_0x14517e:0xcb,_0x585368:0x109,_0x12b11e:0x9a,_0x592eb3:0xb7},_0x2d3e81={_0x449285:0xa7,_0x2a0a5e:0x4b6},_0x536511={_0x26ca1e:0xca};function _0x49e5aa(_0x2b8031,_0x526332,_0x2dfa04,_0x42c0f4){return _0x1e45aa(_0x2b8031-_0x536511._0x26ca1e,_0x526332-0x14d,_0x2b8031- -0x4e4,_0x42c0f4);}function _0x2d1180(_0x573046,_0x3bd2eb,_0x496a88,_0x4ea2cc){return _0x55c88d(_0x573046-_0x2d3e81._0x449285,_0x496a88- -_0x2d3e81._0x2a0a5e,_0x3bd2eb,_0x4ea2cc-0x14c);}return typeof _0x5a3abd===_0x2d1180(-0x4a,_0x50e814._0x14517e,-0x48,-0x14)&&TODO_PRIORITIES[_0x2d1180(_0x50e814._0x585368,_0x50e814._0x12b11e,-0xf,_0x50e814._0x592eb3)](_0x5a3abd);}var TodoStore=class{[_0x1e45aa(0x702,0x5e6,0x721,0x716)]=new Map();['getTodos'](_0x5c842e){const _0x34154a={_0x5b2cd3:0x3d3,_0x537969:0x1f2,_0x8758e7:0x276,_0x5cf6f5:0x201},_0x2064d6={_0x336587:0x2a,_0x4352e1:0x12f};function _0x32a8e4(_0x3c898a,_0xf2416c,_0x537eaf,_0x45bfed){return _0x1e45aa(_0x3c898a-_0x2064d6._0x336587,_0xf2416c-_0x2064d6._0x4352e1,_0x537eaf- -0x4ab,_0x45bfed);}function _0x1ae874(_0x10da1b,_0x1301ae,_0x523f49,_0x42ced2){return _0x1e45aa(_0x10da1b-0xc2,_0x1301ae-0x11c,_0x523f49- -0x26e,_0x10da1b);}return this[_0x32a8e4(_0x34154a._0x5b2cd3,_0x34154a._0x537969,_0x34154a._0x8758e7,_0x34154a._0x5cf6f5)][_0x32a8e4(0x3dd,0x48d,0x338,0x282)](_0x5c842e)??[];}[_0x1e45aa(0x795,0x744,0x712,0x83d)](_0x48e00c,_0x4860b6){const _0x2e7d5a={_0x2ac89d:0x33,_0x1c2076:0xf3,_0x175936:0xde,_0x5d809d:0x8a,_0x2e29d8:0x17,_0x11a460:0x71},_0x8cc549={_0x333b71:0x19d};function _0x1d9d9c(_0x3e6cf5,_0x2680d8,_0x5576e7,_0x223546){return _0x1e45aa(_0x3e6cf5-0x106,_0x2680d8-0xe6,_0x2680d8- -0x63d,_0x5576e7);}function _0x5b6d96(_0x3ff1c7,_0x59ace7,_0xc47765,_0x3f6cec){return _0x1e45aa(_0x3ff1c7-0x16d,_0x59ace7-_0x8cc549._0x333b71,_0xc47765- -0x65b,_0x3ff1c7);}this[_0x5b6d96(_0x2e7d5a._0x2ac89d,_0x2e7d5a._0x1c2076,0xc6,_0x2e7d5a._0x175936)][_0x1d9d9c(_0x2e7d5a._0x5d809d,-_0x2e7d5a._0x2e29d8,_0x2e7d5a._0x11a460,-0x18c)](_0x48e00c,_0x4860b6);}[_0x1e45aa(0x59c,0x733,0x706,0x5bc)](_0x1197c3){const _0x3c4fb1={_0x44d506:0x2b3,_0x251109:0x173,_0x8b6f49:0x308,_0x29418b:0x34e,_0x31d002:0x70e,_0x5ae26b:0x546,_0x565e51:0x336,_0x1742ce:0x262,_0x50a344:0x3ca,_0x5588de:0x486,_0x3eaa85:0x266,_0x234f1d:0x142,_0x5348ae:0x131,_0x5c690d:0x241,_0x3a6c1e:0x1bb,_0x4cf59c:0x144},_0x4fe898={_0x45f1d1:0x1c2},_0x1d4364={_0x566a9a:0x84},_0x10139e=this[_0x3bc20d(_0x3c4fb1._0x44d506,0x3f3,_0x3c4fb1._0x251109,_0x3c4fb1._0x8b6f49)](_0x1197c3),_0x2338be={'total':_0x10139e[_0x3b4097(0x307,_0x3c4fb1._0x29418b,0x4b7,0x448)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x3b4097(_0x49bf92,_0x346f6c,_0x56e5b6,_0xe3f7d9){return _0x1e45aa(_0x49bf92-0xcb,_0x346f6c-_0x1d4364._0x566a9a,_0x346f6c- -0x494,_0x56e5b6);}for(const _0x4c3b62 of _0x10139e){if(_0x4c3b62[_0x3bc20d(0x59c,0x48a,_0x3c4fb1._0x31d002,_0x3c4fb1._0x5ae26b)]==='pending')_0x2338be[_0x3bc20d(0x40e,0x4ef,_0x3c4fb1._0x565e51,0x29a)]+=0x1;else{if(_0x4c3b62[_0x3b4097(_0x3c4fb1._0x1742ce,_0x3c4fb1._0x50a344,_0x3c4fb1._0x5588de,_0x3c4fb1._0x3eaa85)]===_0x3b4097(0x142,_0x3c4fb1._0x234f1d,0x2b8,_0x3c4fb1._0x5348ae))_0x2338be[_0x3bc20d(0x373,0x43a,_0x3c4fb1._0x5c690d,0x1ef)]+=0x1;else _0x2338be[_0x3b4097(_0x3c4fb1._0x3a6c1e,0x262,_0x3c4fb1._0x4cf59c,0x39b)]+=0x1;}}function _0x3bc20d(_0x17e6ad,_0x571394,_0x41938a,_0x5836ff){return _0x1e45aa(_0x17e6ad-_0x4fe898._0x45f1d1,_0x571394-0x154,_0x17e6ad- -0x2c2,_0x41938a);}return _0x2338be;}};function validateTodos(_0x143504){const _0x430c8d={_0x12f7a3:0xc6,_0x1dec70:0x74,_0x2cb680:0x26d,_0x50168e:0x208,_0x9805ae:0x28d,_0xcc0b85:0xe7,_0x571292:0x12d,_0x1f1bf0:0x1c8,_0x26438d:0x36b,_0x47e310:0x76,_0x2dd614:0x1ef,_0x28b1e6:0x119,_0x265c0a:0x14d,_0x5e867d:0x1a2,_0x5a637c:0x143,_0x237715:0x21a,_0x37f795:0x121,_0x267630:0x16c,_0x1dea9b:0x83,_0x5bbdfb:0x3b,_0x29a72c:0x77,_0x36aab9:0xe4,_0x2b4348:0xf4,_0x3f0e9b:0x87,_0x203646:0x214,_0x50226e:0x133,_0x413c23:0x364,_0x17c694:0x28a,_0x394891:0x9d,_0x4afb5d:0x177,_0x3061f7:0x4c,_0x2ccbac:0x1e,_0x4852d7:0x188,_0x92ee4e:0x36,_0x13fe34:0x4c,_0x5b892f:0x208,_0x1ca58b:0x8c,_0x10f719:0x279,_0x1f3331:0x398,_0x1fb262:0x2f7,_0x4af93e:0x1eb,_0xebf1e:0x207,_0x187a1b:0x1db,_0x18f92d:0xa9,_0x30d623:0xbc,_0x37adbd:0x17,_0x4d5745:0x16c,_0x4ee8ba:0x22,_0x22b7bb:0x0,_0x243822:0x2a,_0x4d4975:0x87,_0x23d0dd:0x1c,_0x3c9ee3:0x6b,_0x16f1ca:0x5f,_0x1a4b61:0x135,_0x5e0db6:0x120,_0x53e0d4:0x115,_0x390561:0x1f2,_0x5d62b0:0x8d,_0x5c780a:0x87,_0x49cd47:0x2d,_0x187f77:0xce,_0x7cb941:0x56},_0x1da751={_0x5db812:0x1a6,_0x1ec9e5:0x5da};function _0x6fcde6(_0x41bd19,_0x168c2c,_0xab3cbb,_0xde3a3b){return _0x1e45aa(_0x41bd19-0x3,_0x168c2c-_0x1da751._0x5db812,_0x168c2c- -_0x1da751._0x1ec9e5,_0xab3cbb);}if(!Array[_0x6fcde6(0x275,0x241,0x289,0x21f)](_0x143504[_0x6fcde6(-_0x430c8d._0x12f7a3,-_0x430c8d._0x1dec70,-0xeb,-0xe9)])||_0x143504[_0x59a31f(-0x309,-_0x430c8d._0x2cb680,-0x2ae,-0x1ef)][_0x6fcde6(0x38c,_0x430c8d._0x50168e,_0x430c8d._0x9805ae,0x264)]===0x0)throw new ToolExecutionError(_0x59a31f(0x6,-_0x430c8d._0xcc0b85,-0x1da,-0xf9),{'error':'invalid_todos'});function _0x59a31f(_0x3f4db1,_0x59a7f2,_0x27aa28,_0x47dc97){return _0x1e45aa(_0x3f4db1-0x12e,_0x59a7f2-0x190,_0x47dc97- -0x755,_0x27aa28);}for(let _0x244121=0x0;_0x244121<_0x143504[_0x59a31f(-_0x430c8d._0x571292,-_0x430c8d._0x1f1bf0,-0x2c3,-0x1ef)]['length'];_0x244121+=0x1){const _0x4c1e7e=_0x143504[_0x59a31f(-0x1b3,-_0x430c8d._0x26438d,-_0x430c8d._0x47e310,-_0x430c8d._0x2dd614)][_0x244121];if(!_0x4c1e7e||typeof _0x4c1e7e!==_0x59a31f(-_0x430c8d._0x28b1e6,-0x161,-0x168,-_0x430c8d._0x265c0a))throw new ToolExecutionError(_0x59a31f(_0x430c8d._0x5e867d,_0x430c8d._0x5a637c,_0x430c8d._0x237715,0x99)+(_0x244121+0x1)+_0x6fcde6(0x210,_0x430c8d._0x37f795,_0x430c8d._0x267630,_0x430c8d._0x1dea9b),{'error':_0x59a31f(-_0x430c8d._0x5bbdfb,-0x142,-0xaa,-_0x430c8d._0x29a72c)});if(typeof _0x4c1e7e['id']!=='string'||_0x4c1e7e['id'][_0x6fcde6(0xf0,0x1c7,_0x430c8d._0x36aab9,_0x430c8d._0x2b4348)]()[_0x6fcde6(0xef,0x208,_0x430c8d._0x3f0e9b,0x335)]===0x0)throw new ToolExecutionError(_0x6fcde6(0x1ce,_0x430c8d._0x203646,_0x430c8d._0x50226e,_0x430c8d._0x413c23)+(_0x244121+0x1)+_0x59a31f(-_0x430c8d._0x17c694,-0x27e,-_0x430c8d._0x394891,-_0x430c8d._0x4afb5d),{'error':_0x6fcde6(-_0x430c8d._0x3061f7,-_0x430c8d._0x2ccbac,0x68,-_0x430c8d._0x4852d7)});if(typeof _0x4c1e7e['content']!==_0x59a31f(0xb1,-0xee,0x5c,-_0x430c8d._0x92ee4e)||_0x4c1e7e['content'][_0x59a31f(0x9d,0x34,0x1c4,_0x430c8d._0x13fe34)]()[_0x6fcde6(0x25e,_0x430c8d._0x5b892f,_0x430c8d._0x1ca58b,0x152)]===0x0)throw new ToolExecutionError(_0x6fcde6(0x310,_0x430c8d._0x203646,0xee,0x1f0)+(_0x244121+0x1)+':\x20content\x20required',{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4c1e7e['status']))throw new ToolExecutionError(_0x6fcde6(0x2e8,_0x430c8d._0x203646,_0x430c8d._0x10f719,_0x430c8d._0x1f3331)+(_0x244121+0x1)+':\x20invalid\x20status',{'error':_0x6fcde6(_0x430c8d._0x1fb262,_0x430c8d._0x4af93e,_0x430c8d._0xebf1e,0x11b)});if(!isTodoPriority(_0x4c1e7e[_0x59a31f(-_0x430c8d._0x187a1b,-0x10b,0xc5,-_0x430c8d._0x18f92d)]))throw new ToolExecutionError('Todo\x20'+(_0x244121+0x1)+_0x59a31f(-_0x430c8d._0x30d623,-0x5,0xe6,_0x430c8d._0x37adbd),{'error':_0x6fcde6(_0x430c8d._0x4d5745,_0x430c8d._0x4ee8ba,0x10c,_0x430c8d._0x22b7bb)});}const _0x5e3061=_0x143504[_0x6fcde6(-0x9d,-0x74,_0x430c8d._0x243822,0x5)][_0x59a31f(_0x430c8d._0x4d4975,0x5d,0x167,-_0x430c8d._0x23d0dd)](_0x596341=>_0x596341['id']);if(new Set(_0x5e3061)[_0x6fcde6(_0x430c8d._0x3c9ee3,-_0x430c8d._0x16f1ca,-_0x430c8d._0x1a4b61,_0x430c8d._0x5e0db6)]!==_0x5e3061[_0x59a31f(_0x430c8d._0x53e0d4,_0x430c8d._0x390561,0x8f,_0x430c8d._0x5d62b0)])throw new ToolExecutionError(_0x59a31f(0xaf,_0x430c8d._0x5c780a,_0x430c8d._0x49cd47,-_0x430c8d._0x187f77),{'error':_0x59a31f(0x79,-0x48,-0xb8,_0x430c8d._0x7cb941)});}function createStatsProgress(_0x29b7f2){const _0x53e19e={_0x3a7329:0x97,_0x223460:0x1f7,_0x5cd974:0x2a6,_0x302113:0x30e,_0xb73d3b:0x3fb,_0x47dab6:0x311},_0x39cd9d={_0x24a151:0xe4};function _0x46a745(_0x505429,_0x338b93,_0x4b3352,_0x1983a3){return _0x55c88d(_0x505429-0x38,_0x1983a3- -0x1de,_0x4b3352,_0x1983a3-0x150);}function _0x38ba55(_0x4aab0d,_0xc32263,_0x254a8f,_0x135cfb){return _0x55c88d(_0x4aab0d-0x13c,_0xc32263-0x2f1,_0x4aab0d,_0x135cfb-_0x39cd9d._0x24a151);}return _0x29b7f2[_0x46a745(0x380,0x436,0x3ae,0x383)]>0x0?Math[_0x46a745(0x283,0x7c,_0x53e19e._0x3a7329,0x151)](_0x29b7f2[_0x46a745(_0x53e19e._0x223460,_0x53e19e._0x5cd974,_0x53e19e._0x302113,0x267)]/_0x29b7f2[_0x46a745(_0x53e19e._0xb73d3b,0x215,_0x53e19e._0x47dab6,0x383)]*0x64)+'%':'0%';}function createReminderItems(_0x32b362){const _0xa2067a={_0x28195d:0x1ac,_0x334d0d:0xfd,_0x3cdf7b:0x733},_0x174056={_0x1e3068:0xd6};function _0xf19f20(_0x2ded75,_0x11fcbb,_0x4ed611,_0x48155e){return _0x55c88d(_0x2ded75-_0x174056._0x1e3068,_0x2ded75- -0x254,_0x48155e,_0x48155e-0x6f);}function _0x5b3298(_0x446b8b,_0x23180a,_0x23ec09,_0x5a2a10){return _0x1e45aa(_0x446b8b-_0xa2067a._0x28195d,_0x23180a-_0xa2067a._0x334d0d,_0x446b8b- -_0xa2067a._0x3cdf7b,_0x23180a);}return _0x32b362[_0x5b3298(0x6,-0xd6,0x18c,-0x43)](_0xf530fb=>({'content':_0xf530fb[_0xf19f20(0x223,0x122,0x27f,0x26b)],'status':_0xf530fb[_0xf19f20(0x359,0x3f0,0x380,0x224)],'id':_0xf530fb['id']}));}function createStructuredResult(_0xded1b9,_0x5d7dfc,_0xfea5e5,_0x5d566a){const _0x1e42d3={_0xd77742:0x138,_0x384b7e:0x69,_0xe595ce:0x101},_0x5abf20={_0x6942a4:0x14c,_0x3da176:0x23};function _0x2c614b(_0x4ccde4,_0x46ef3b,_0x305ebf,_0x535b50){return _0x55c88d(_0x4ccde4-_0x5abf20._0x6942a4,_0x535b50- -_0x5abf20._0x3da176,_0x4ccde4,_0x535b50-0x112);}function _0x58f905(_0x4428f9,_0x3255b6,_0x28e2bd,_0x224bb9){return _0x55c88d(_0x4428f9-_0x1e42d3._0xd77742,_0x4428f9- -_0x1e42d3._0x384b7e,_0x224bb9,_0x224bb9-_0x1e42d3._0xe595ce);}return{'allCompleted':_0x5d566a,'items':_0x5d7dfc['map'](_0x421ad1=>({'id':_0x421ad1['id'],'content':_0x421ad1[_0x2c614b(0x435,0x557,0x4c6,0x454)],'status':_0x421ad1[_0x58f905(0x544,0x455,0x420,0x69a)],'priority':_0x421ad1[_0x2c614b(0x4cc,0x32e,0x3a4,0x3d8)],'createdAt':_0x421ad1[_0x58f905(0x3dd,0x272,0x316,0x2e7)]})),'progress':createStatsProgress(_0xfea5e5),'recentChanges':!![],'sessionId':_0xded1b9,'stats':_0xfea5e5,'todosWritten':_0x5d7dfc[_0x58f905(0x4c8,0x353,0x568,0x565)]};}function createOutputText(_0x5cf2c5,_0x3fd332){const _0x309342={_0x2541ab:0x472,_0x2a9e8b:0x46b,_0x22bdc2:0x8de,_0x260bd2:0x7ca,_0x598812:0x84d,_0x50172c:0x646,_0x5d3535:0x58c,_0x36a329:0x5fa,_0x25a380:0x49f,_0x130882:0x48d,_0x436168:0x3f9,_0x595da8:0x917,_0x2786b6:0x8f1,_0x570e03:0x7b6},_0x255ced={_0xcab998:0x42},_0x28263b={_0x1b5a6c:0xf6};function _0x3737f2(_0x488265,_0x8063fb,_0xc0240e,_0x1f3c1f){return _0x55c88d(_0x488265-0x143,_0xc0240e-0x299,_0x1f3c1f,_0x1f3c1f-_0x28263b._0x1b5a6c);}const _0x16fb59=JSON[_0x3737f2(0x8af,0x721,0x799,0x900)](createReminderItems(_0x5cf2c5));function _0x20479f(_0x166056,_0x1c9602,_0x1db772,_0x674d57){return _0x55c88d(_0x166056-_0x255ced._0xcab998,_0x674d57- -0x64,_0x1db772,_0x674d57-0x182);}if(_0x3fd332)return _0x20479f(0x471,_0x309342._0x2541ab,_0x309342._0x2a9e8b,0x319)+_0x5cf2c5[_0x3737f2(0x758,_0x309342._0x22bdc2,_0x309342._0x260bd2,_0x309342._0x598812)]+_0x3737f2(_0x309342._0x50172c,_0x309342._0x5d3535,_0x309342._0x36a329,_0x309342._0x25a380)+_0x16fb59+_0x20479f(0x451,_0x309342._0x130882,_0x309342._0x436168,0x3a2);return _0x3737f2(_0x309342._0x595da8,_0x309342._0x2786b6,0x843,0x93f)+_0x16fb59+_0x3737f2(0x69f,0x73f,0x69f,_0x309342._0x570e03);}function createTodoWriteTool(_0x598484=new TodoStore()){const _0x5b3469={_0x36c235:0x4d5,_0x20ae20:0x58f,_0x476b9b:0x478,_0x42b3d8:0x3e0,_0x32c483:0x399,_0x5a68f9:0x297,_0xb9366d:0x49b,_0xb6009d:0x4f9,_0x470d6b:0x65c,_0x491120:0x597,_0x25bbcd:0x5ab,_0xc4383d:0x480,_0x159059:0x41b,_0x40b8d0:0x5d6,_0x539d72:0x4b0,_0x5a6aed:0x53e,_0x27ec74:0x4b0,_0x226b2e:0x3fa,_0x4a4ea5:0x5db,_0x39a698:0x4b9,_0x5d1276:0x5c6,_0x41e8bc:0x57f,_0x171ffd:0x5ef,_0x142af5:0x43d},_0x50f41d={_0x2a8692:0x331,_0x17e862:0x4b4,_0x38f431:0x39a,_0x43720d:0x355,_0x7c233a:0x5c0,_0x43bd7b:0x4a6,_0x204eca:0x481,_0x110160:0x42c,_0x5bc255:0x411,_0x139ff8:0x36e,_0xce9ea1:0x35a,_0x44581c:0x559},_0x2fc07d={_0x366d7f:0x103,_0x219c89:0x97},_0x2991a1={_0x98a09e:0x1c1},_0x2c377a={_0x477213:0x4};function _0x41d7fd(_0x4ea9fc,_0x328f2f,_0x451a68,_0x574292){return _0x55c88d(_0x4ea9fc-0x14a,_0x451a68-0x42,_0x328f2f,_0x574292-_0x2c377a._0x477213);}function _0x3ff264(_0x4a71fd,_0x442003,_0x49c050,_0x479605){return _0x55c88d(_0x4a71fd-0xda,_0x479605-0xb5,_0x4a71fd,_0x479605-_0x2991a1._0x98a09e);}return defineTool({'name':_0x41d7fd(_0x5b3469._0x36c235,_0x5b3469._0x20ae20,_0x5b3469._0x476b9b,0x3e2),'description':'Use\x20this\x20tool\x20to\x20create\x20and\x20manage\x20a\x20structured\x20task\x20list\x20for\x20your\x20current\x20coding\x20session.\x20This\x20helps\x20you\x20track\x20progress,\x20organize\x20complex\x20tasks,\x20and\x20demonstrate\x20thoroughness\x20to\x20the\x20user.\x0aIt\x20also\x20helps\x20the\x20user\x20understand\x20the\x20progress\x20of\x20the\x20task\x20and\x20overall\x20progress\x20of\x20their\x20requests.\x0a\x0a##\x20When\x20to\x20Use\x20This\x20Tool\x0aUse\x20this\x20tool\x20proactively\x20in\x20these\x20scenarios:\x0a\x0a1.\x20Complex\x20multi-step\x20tasks\x20-\x20When\x20a\x20task\x20requires\x203\x20or\x20more\x20distinct\x20steps\x20or\x20actions\x0a2.\x20Non-trivial\x20and\x20complex\x20tasks\x20-\x20Tasks\x20that\x20require\x20careful\x20planning\x20or\x20multiple\x20operations\x0a3.\x20User\x20explicitly\x20requests\x20todo\x20list\x20-\x20When\x20the\x20user\x20directly\x20asks\x20you\x20to\x20use\x20the\x20todo\x20list\x0a4.\x20User\x20provides\x20multiple\x20tasks\x20-\x20When\x20users\x20provide\x20a\x20list\x20of\x20things\x20to\x20be\x20done\x20(numbered\x20or\x20comma-separated)\x0a5.\x20After\x20receiving\x20new\x20instructions\x20-\x20Immediately\x20capture\x20user\x20requirements\x20as\x20todos\x0a6.\x20When\x20you\x20start\x20working\x20on\x20a\x20task\x20-\x20Mark\x20it\x20as\x20in_progress\x20BEFORE\x20beginning\x20work.\x20Ideally\x20you\x20should\x20only\x20have\x20one\x20todo\x20as\x20in_progress\x20at\x20a\x20time\x0a7.\x20After\x20completing\x20a\x20task\x20-\x20Mark\x20it\x20as\x20completed\x20and\x20add\x20any\x20new\x20follow-up\x20tasks\x20discovered\x20during\x20implementation\x0a\x0a##\x20When\x20NOT\x20to\x20Use\x20This\x20Tool\x0a\x0aSkip\x20using\x20this\x20tool\x20when:\x0a1.\x20There\x20is\x20only\x20a\x20single,\x20straightforward\x20task\x0a2.\x20The\x20task\x20is\x20trivial\x20and\x20tracking\x20it\x20provides\x20no\x20organizational\x20benefit\x0a3.\x20The\x20task\x20can\x20be\x20completed\x20in\x20less\x20than\x203\x20trivial\x20steps\x0a4.\x20The\x20task\x20is\x20purely\x20conversational\x20or\x20informational\x0a\x0aNOTE\x20that\x20you\x20should\x20not\x20use\x20this\x20tool\x20if\x20there\x20is\x20only\x20one\x20trivial\x20task\x20to\x20do.\x20In\x20this\x20case\x20you\x20are\x20better\x20off\x20just\x20doing\x20the\x20task\x20directly.\x0a\x0a##\x20Task\x20States\x20and\x20Management\x0a\x0a1.\x20**Task\x20States**:\x20Use\x20these\x20states\x20to\x20track\x20progress:\x0a-\x20pending:\x20Task\x20not\x20yet\x20started\x0a-\x20in_progress:\x20Currently\x20working\x20on\x20(limit\x20to\x20ONE\x20task\x20at\x20a\x20time)\x0a-\x20completed:\x20Task\x20finished\x20successfully\x0a\x0a2.\x20**Task\x20Management**:\x0a-\x20Update\x20task\x20status\x20in\x20real-time\x20as\x20you\x20work\x0a-\x20Mark\x20tasks\x20complete\x20IMMEDIATELY\x20after\x20finishing\x20(don\x27t\x20batch\x20completions)\x0a-\x20Only\x20have\x20ONE\x20task\x20in_progress\x20at\x20any\x20time\x0a-\x20Complete\x20current\x20tasks\x20before\x20starting\x20new\x20ones\x0a-\x20Remove\x20tasks\x20that\x20are\x20no\x20longer\x20relevant\x20from\x20the\x20list\x20entirely\x0a\x0a3.\x20**Task\x20Completion\x20Requirements**:\x0a-\x20ONLY\x20mark\x20a\x20task\x20as\x20completed\x20when\x20you\x20have\x20FULLY\x20accomplished\x20it\x0a-\x20If\x20you\x20encounter\x20errors,\x20blockers,\x20or\x20cannot\x20finish,\x20keep\x20the\x20task\x20as\x20in_progress\x0a-\x20When\x20blocked,\x20create\x20a\x20new\x20task\x20describing\x20what\x20needs\x20to\x20be\x20resolved\x0a-\x20Never\x20mark\x20a\x20task\x20as\x20completed\x20if:\x0a-\x20Tests\x20are\x20failing\x0a-\x20Implementation\x20is\x20partial\x0a-\x20You\x20encountered\x20unresolved\x20errors\x0a-\x20You\x20couldn\x27t\x20find\x20necessary\x20files\x20or\x20dependencies\x0a\x0a4.\x20**Task\x20Breakdown**:\x0a-\x20Create\x20specific,\x20actionable\x20items\x0a-\x20Break\x20complex\x20tasks\x20into\x20smaller,\x20manageable\x20steps\x0a-\x20Use\x20clear,\x20descriptive\x20task\x20names\x0a\x0aWhen\x20in\x20doubt,\x20use\x20this\x20tool.\x20Being\x20proactive\x20with\x20task\x20management\x20demonstrates\x20attentiveness\x20and\x20ensures\x20you\x20complete\x20all\x20requirements\x20successfully.','inputSchema':{'type':_0x41d7fd(_0x5b3469._0x42b3d8,0x23f,_0x5b3469._0x32c483,_0x5b3469._0x5a68f9),'properties':{'todos':{'type':_0x41d7fd(0x429,_0x5b3469._0xb9366d,_0x5b3469._0xb6009d,0x434),'items':{'type':'object','properties':{'content':{'type':_0x3ff264(_0x5b3469._0x470d6b,0x43a,_0x5b3469._0x491120,0x523)},'status':{'type':_0x3ff264(0x58f,_0x5b3469._0x25bbcd,_0x5b3469._0xc4383d,0x523)},'priority':{'type':_0x41d7fd(_0x5b3469._0x159059,_0x5b3469._0x40b8d0,_0x5b3469._0x539d72,0x53d)},'id':{'type':_0x41d7fd(0x588,_0x5b3469._0x5a6aed,_0x5b3469._0x27ec74,0x5cc)},'createdAt':{'type':_0x41d7fd(0x529,0x521,0x4b0,_0x5b3469._0x226b2e)}},'required':[_0x41d7fd(_0x5b3469._0x4a4ea5,0x53a,_0x5b3469._0x39a698,_0x5b3469._0x5d1276),_0x41d7fd(0x705,_0x5b3469._0x41e8bc,_0x5b3469._0x171ffd,0x75d),_0x41d7fd(0x34a,0x3a1,_0x5b3469._0x142af5,0x472),'id']}}},'required':['todos']},async *'execute'(_0x450dc9,_0x26bbd6){const _0x22979c={_0x424a0b:0x82,_0x16ea69:0x95},_0x397d19=_0x450dc9;validateTodos(_0x397d19);const _0x46fb9d=_0x26bbd6[_0x3f020b(_0x50f41d._0x2a8692,_0x50f41d._0x17e862,_0x50f41d._0x38f431,_0x50f41d._0x43720d)]||'default',_0xbd7270=new Date()[_0x45d771(_0x50f41d._0x7c233a,0x555,0x53a,0x41e)](),_0x28e96d=_0x397d19['todos'][_0x45d771(0x5e1,0x33d,_0x50f41d._0x43bd7b,0x522)](_0x371c0c=>({'id':_0x371c0c['id'],'content':_0x371c0c[_0x3f020b(0x497,0x4ea,0x390,0x594)],'status':_0x371c0c[_0x3f020b(0x5cd,0x6c1,0x6fb,0x689)],'priority':_0x371c0c[_0x3f020b(0x41b,0x2b9,0x3f9,0x2a4)],'sessionId':_0x46fb9d,'createdAt':_0x371c0c[_0x45d771(0x3f1,0x48d,0x464,0x352)]||_0xbd7270,'updatedAt':_0xbd7270}));_0x598484[_0x3f020b(_0x50f41d._0x204eca,0x3f1,_0x50f41d._0x110160,_0x50f41d._0x5bc255)](_0x46fb9d,_0x28e96d);const _0x8a5c41=_0x598484[_0x3f020b(0x475,_0x50f41d._0x139ff8,0x455,_0x50f41d._0xce9ea1)](_0x46fb9d);function _0x45d771(_0x5632b6,_0x4929dd,_0x5a8721,_0x45ea79){return _0x3ff264(_0x4929dd,_0x4929dd-0x16c,_0x5a8721-_0x2fc07d._0x366d7f,_0x5a8721- -_0x2fc07d._0x219c89);}function _0x3f020b(_0x119480,_0x20193e,_0x8ba8d0,_0x586bc4){return _0x3ff264(_0x20193e,_0x20193e-0x1ae,_0x8ba8d0-_0x22979c._0x424a0b,_0x119480- -_0x22979c._0x16ea69);}const _0x3a276b=_0x28e96d['length']>0x0&&_0x28e96d[_0x3f020b(_0x50f41d._0x44581c,0x657,0x5cc,0x558)](_0x54246e=>_0x54246e[_0x3f020b(0x5cd,0x4f3,0x59f,0x637)]===_0x45d771(0x374,0x5e9,0x463,0x332));return createToolOutput(createOutputText(_0x28e96d,_0x3a276b),createStructuredResult(_0x46fb9d,_0x28e96d,_0x8a5c41,_0x3a276b));}});}import{mkdir as _0x5f2968,writeFile as _0x22d13a}from'fs/promises';import*as _0x4d4d96 from'path';function sanitizeFileName(_0x525977){const _0x3efed2={_0x1ed6a5:0x1bb,_0x4b7929:0x12b,_0x532a11:0x236,_0x42c55c:0x2dc},_0x339a1a={_0x244291:0xea};function _0x4bd389(_0x5023ec,_0x523899,_0x339213,_0x43a912){return _0x55c88d(_0x5023ec-_0x339a1a._0x244291,_0x5023ec- -0x1c1,_0x339213,_0x43a912-0x54);}return _0x525977[_0x4bd389(_0x3efed2._0x1ed6a5,_0x3efed2._0x4b7929,_0x3efed2._0x532a11,_0x3efed2._0x42c55c)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x73ce71,_0x51c4b1){const _0xfc3d4e={_0x442993:0x499,_0x4d8fad:0x367,_0x119d8d:0x3a2,_0x89a654:0x29b,_0x47103b:0x2fc,_0x2813a0:0x41d,_0x14b2f3:0x32e,_0xfb5b98:0x1ac,_0x50daeb:0x22f,_0x431e59:0x28d,_0xccea6b:0x4cf,_0x477c1c:0x3f4,_0x422a96:0x28f,_0x2ffcd2:0x2aa,_0x348df2:0x3f5,_0x1c594e:0x404,_0x13b8cd:0x349,_0x1b7f7f:0x2ba,_0x290793:0x3ce,_0x17e279:0x41b,_0x5cb1bf:0x419,_0x2264e7:0x432,_0x4431d6:0x31e,_0xb5c481:0x1e4,_0x4e767f:0x57c,_0x2dde96:0x553,_0x2dd504:0x43c,_0x4a27c0:0x53a,_0x568b95:0x5b0,_0x2952b9:0x5e8,_0x1bb40b:0x5a0,_0x58dac0:0x2e1,_0x579992:0x27d,_0x47dff2:0x2b7,_0x533f7e:0x3aa,_0x17d7e6:0x2d4,_0x4c63dc:0x389,_0x5b6383:0x32e,_0x512a54:0x302,_0x3d7312:0x40e,_0x2b3782:0x350,_0x59b74b:0x40d,_0x374ef7:0x1db,_0x5647c0:0x3b5,_0x46d1e9:0x331,_0x9bc216:0x33f,_0x1c70d8:0x3a1,_0x40e66e:0x3cd,_0xc3997b:0x4f2,_0x7319f9:0x3a2,_0x182a88:0x543,_0x2558be:0x361,_0x20b100:0x320,_0x5db56f:0x429,_0x18af8f:0x456,_0x38aaec:0x1cc},_0x3146fd={_0x25d88d:0xf5},_0x22d248={_0x46c7c1:0x13,_0x9c35de:0x37},{maxBytes:_0x321a84,sessionDir:_0x5b3e88}=_0x51c4b1;if(!_0x73ce71[_0x4b0ed3(0x29c,0x257,_0xfc3d4e._0x442993,_0xfc3d4e._0x4d8fad)]||Buffer['byteLength'](_0x73ce71[_0x4b0ed3(_0xfc3d4e._0x119d8d,0x23f,0x2c0,0x367)],'utf8')<=_0x321a84)return _0x73ce71;const _0x41364b=Buffer[_0x293f1d(_0xfc3d4e._0x89a654,0x165,_0xfc3d4e._0x47103b,_0xfc3d4e._0x2813a0)](_0x73ce71[_0x293f1d(_0xfc3d4e._0x14b2f3,0x1ae,0x229,_0xfc3d4e._0xfb5b98)],'utf8');if(!_0x5b3e88){const _0x51c4a5=_0x73ce71[_0x4b0ed3(0x46f,0x234,_0xfc3d4e._0x50daeb,_0xfc3d4e._0x4d8fad)][_0x4b0ed3(0x18f,_0xfc3d4e._0x431e59,0x39c,0x2ce)](0x0,_0x321a84);return{..._0x73ce71,'output':_0x51c4a5+(_0x293f1d(0x4a0,_0xfc3d4e._0xccea6b,_0xfc3d4e._0x477c1c,0x4be)+_0x321a84+_0x4b0ed3(_0xfc3d4e._0x422a96,_0xfc3d4e._0x2ffcd2,0x246,0x2f6)+_0x41364b+_0x293f1d(_0xfc3d4e._0x348df2,0x44b,0x2fc,0x538)),'meta':{..._0x73ce71[_0x4b0ed3(_0xfc3d4e._0x1c594e,_0xfc3d4e._0x13b8cd,_0xfc3d4e._0x1b7f7f,_0xfc3d4e._0x290793)],'truncated':!![],'originalBytes':_0x41364b,'transforms':[..._0x73ce71['meta'][_0x4b0ed3(_0xfc3d4e._0x17e279,_0xfc3d4e._0x5cb1bf,_0xfc3d4e._0x2264e7,_0xfc3d4e._0x4431d6)],_0x293f1d(0x343,_0xfc3d4e._0xb5c481,0x3cd,0x2f3)]}};}const _0x34ce4b=_0x73ce71[_0x293f1d(_0xfc3d4e._0x4e767f,_0xfc3d4e._0x2dde96,0x5fb,0x5dc)]+'_'+sanitizeFileName(_0x73ce71[_0x293f1d(_0xfc3d4e._0x2dd504,_0xfc3d4e._0x4a27c0,_0xfc3d4e._0x568b95,0x424)])+_0x293f1d(0x557,0x61d,_0xfc3d4e._0x2952b9,_0xfc3d4e._0x1bb40b),_0x315815=_0x4d4d96[_0x293f1d(0x3c2,_0xfc3d4e._0x58dac0,_0xfc3d4e._0x579992,0x393)](_0x5b3e88,_0x34ce4b);await _0x5f2968(_0x5b3e88,{'recursive':!![]});function _0x4b0ed3(_0x3fda3a,_0x3eee48,_0x1be7c9,_0x12a7dd){return _0x55c88d(_0x3fda3a-_0x22d248._0x46c7c1,_0x12a7dd-0x9,_0x3fda3a,_0x12a7dd-_0x22d248._0x9c35de);}await _0x22d13a(_0x315815,_0x73ce71['output'],_0x4b0ed3(_0xfc3d4e._0x47dff2,0x483,0x339,0x3ef));let _0x5518a7=_0x73ce71[_0x4b0ed3(0x34c,0x476,0x3cf,_0xfc3d4e._0x4d8fad)][_0x293f1d(0x295,0x200,_0xfc3d4e._0x533f7e,_0xfc3d4e._0x17d7e6)](0x0,_0x321a84);const _0x46d064=_0x5518a7['lastIndexOf']('\x0a');_0x46d064>_0x321a84*0.5&&(_0x5518a7=_0x5518a7[_0x4b0ed3(_0xfc3d4e._0x4c63dc,_0xfc3d4e._0x5b6383,_0xfc3d4e._0x2ffcd2,0x2ce)](0x0,_0x46d064));const _0x57d007=['',_0x4b0ed3(_0xfc3d4e._0x512a54,0x52e,0x358,_0xfc3d4e._0x3d7312),_0x293f1d(0x2e4,_0xfc3d4e._0x2b3782,_0xfc3d4e._0x59b74b,_0xfc3d4e._0x374ef7)+_0x321a84+_0x4b0ed3(0x35c,0x25f,0x294,_0xfc3d4e._0x5647c0)+_0x41364b+'\x20bytes).',_0x4b0ed3(0x246,0x451,_0xfc3d4e._0x46d1e9,_0xfc3d4e._0x9bc216)+_0x315815,_0x293f1d(0x330,_0xfc3d4e._0x1c70d8,_0xfc3d4e._0x40e66e,0x28d),_0x293f1d(0x545,0x440,_0xfc3d4e._0xc3997b,0x47e)]['join']('\x0a');function _0x293f1d(_0x13af41,_0x36898b,_0x5ef184,_0x473031){return _0x1e45aa(_0x13af41-_0x3146fd._0x25d88d,_0x36898b-0x139,_0x13af41- -0x2e1,_0x36898b);}return{..._0x73ce71,'output':_0x5518a7+_0x57d007,'meta':{..._0x73ce71[_0x293f1d(0x395,_0xfc3d4e._0x7319f9,0x326,0x287)],'truncated':!![],'originalBytes':_0x41364b,'transforms':[..._0x73ce71[_0x4b0ed3(_0xfc3d4e._0x182a88,_0xfc3d4e._0x2558be,_0xfc3d4e._0x20b100,0x3ce)][_0x4b0ed3(_0xfc3d4e._0x5db56f,_0xfc3d4e._0x18af8f,_0xfc3d4e._0x38aaec,0x31e)],_0x4b0ed3(0x391,0x482,0x451,0x37c)]}};}function createUpdateTopicTool(){const _0xaa8686={_0x46533d:0x652,_0x3d78f6:0x609,_0x1e1937:0x684,_0x4ed07e:0x768},_0x3c4cf3={_0x1d4e11:0x574,_0x5356ac:0x534,_0x3f6834:0x785,_0x1bd8b0:0x74b,_0x18a2eb:0x63,_0xd5efe1:0xd4,_0x3474f2:0x744},_0x2f437c={_0x2874d3:0x190},_0x21a2cf={_0x4229b4:0x2f0},_0x4f0a00={_0x34dea4:0xb6,_0x1ce04d:0x90};function _0x3c6613(_0x256534,_0xff3a41,_0x83e913,_0x221221){return _0x55c88d(_0x256534-_0x4f0a00._0x34dea4,_0x221221-_0x4f0a00._0x1ce04d,_0x83e913,_0x221221-0x1a6);}function _0x2fb685(_0x4009d0,_0x2d9ea3,_0x10ac84,_0xdec74e){return _0x55c88d(_0x4009d0-0x60,_0xdec74e-_0x21a2cf._0x4229b4,_0x2d9ea3,_0xdec74e-0x1b7);}return defineTool({'name':'UpdateTopic','description':_0x3c6613(0x399,_0xaa8686._0x46533d,_0xaa8686._0x3d78f6,0x516),'inputSchema':{'type':'object','properties':{'topic':{'type':_0x2fb685(_0xaa8686._0x1e1937,_0xaa8686._0x4ed07e,0x78d,0x75e)}},'required':['topic']},async *'execute'(_0x3949e0,_0x19b29d){const {topic:_0x55c510}=_0x3949e0;function _0x38fcde(_0x1df4b0,_0x488e42,_0x3bf82c,_0x4d1005){return _0x3c6613(_0x1df4b0-_0x2f437c._0x2874d3,_0x488e42-0xbe,_0x4d1005,_0x488e42- -0x55e);}if(typeof _0x55c510!==_0x2633b5(_0x3c4cf3._0x1d4e11,0x62a,0x6ab,0x770)||_0x55c510[_0x2633b5(_0x3c4cf3._0x5356ac,0x6ac,_0x3c4cf3._0x3f6834,_0x3c4cf3._0x1bd8b0)]()[_0x38fcde(0xdc,_0x3c4cf3._0x18a2eb,-0x74,-_0x3c4cf3._0xd5efe1)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':'invalid_topic'});const _0x300123=_0x55c510['trim']();_0x19b29d['setTopic']?.(_0x300123);function _0x2633b5(_0x1b7001,_0x5ab921,_0x4ce2aa,_0x1ac138){return _0x2fb685(_0x1b7001-0x141,_0x1b7001,_0x4ce2aa-0x2e,_0x5ab921- -0x134);}return yield createToolOutput(_0x2633b5(_0x3c4cf3._0x3474f2,0x604,0x5a5,0x55b)+_0x300123+'\x22',{'topic':_0x300123}),void 0x0;}});}import{readFile as _0x23d847,stat as _0x2d820a}from'fs/promises';import*as _0x26c6e2 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x1e45aa(0x557,0x716,0x63f,0x695),_0x55c88d(0x4a2,0x3cd,0x39b,0x27c),_0x1e45aa(0x548,0x5c2,0x580,0x50f),'original']),PNG_SIGNATURE=Buffer[_0x1e45aa(0x6c0,0x86b,0x7c0,0x7bd)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x3cd3a9,_0x550f96){const _0x2fe6d5={_0x46fb5e:0x81a,_0x72557c:0x8a6,_0x163bc5:0x8b0,_0x2a43b6:0xf1,_0x2a21df:0x41,_0x46ec39:0x8df,_0x4bbb8e:0x84f,_0x5544ab:0x775,_0x48d54f:0x101,_0x1b7ae7:0x3e,_0x101563:0x103,_0x554965:0x163,_0x5ce896:0x39d,_0x1ebfd7:0x34e,_0xc3034d:0x13f,_0x5ca2d9:0x355,_0x19455f:0x2be,_0x39eeb6:0x1f9,_0x371f2c:0x27f,_0x465c6a:0x82,_0x103b18:0x229,_0x10c546:0x19a,_0x18723a:0xa8,_0x392409:0x263,_0x42ab3c:0xc6,_0x1b74e3:0x21,_0x205de5:0x17a,_0x5d6b37:0x24b,_0x584d1f:0x593,_0x57a89a:0x4f3,_0x483982:0x5c9,_0x1e1898:0x6ea,_0x55479d:0x2d5,_0x5ecae0:0x124,_0x403dc1:0x199,_0x11c006:0x883,_0x124761:0x3b6,_0x22b1e3:0x2f9,_0x40c096:0x370,_0x2f940b:0x2fe,_0x4a8ebe:0x79f,_0x54294a:0x61b},_0x4e88fe={_0x4aef50:0x174,_0x4c9106:0x552},_0x3b43f5={_0xeffef0:0x79,_0x2ebbf:0x2fd,_0x262c00:0x4e};if(_0x3cd3a9[_0x64b1b6(_0x2fe6d5._0x46fb5e,_0x2fe6d5._0x72557c,_0x2fe6d5._0x163bc5,0x94c)](0x0,0x8)[_0x40ed25(-0x17,_0x2fe6d5._0x2a43b6,-0x6c,_0x2fe6d5._0x2a21df)](PNG_SIGNATURE))return'image/png';if(_0x3cd3a9[0x0]===0xff&&_0x3cd3a9[0x1]===0xd8&&_0x3cd3a9[0x2]===0xff)return _0x64b1b6(0x962,_0x2fe6d5._0x46ec39,_0x2fe6d5._0x4bbb8e,_0x2fe6d5._0x5544ab);const _0x2217b2=_0x3cd3a9['subarray'](0x0,0x6)['toString'](_0x40ed25(0x126,_0x2fe6d5._0x48d54f,_0x2fe6d5._0x1b7ae7,_0x2fe6d5._0x101563));if(_0x2217b2===_0x40ed25(_0x2fe6d5._0x554965,_0x2fe6d5._0x5ce896,_0x2fe6d5._0x1ebfd7,0x271)||_0x2217b2===_0x40ed25(0x28b,0x93,0x9e,_0x2fe6d5._0xc3034d))return _0x40ed25(0x18a,_0x2fe6d5._0x5ca2d9,0x2b5,0x2fe);if(_0x3cd3a9['subarray'](0x0,0x4)[_0x40ed25(_0x2fe6d5._0x19455f,0xb5,_0x2fe6d5._0x39eeb6,0x17b)]('ascii')===_0x40ed25(_0x2fe6d5._0x371f2c,_0x2fe6d5._0x465c6a,_0x2fe6d5._0x103b18,_0x2fe6d5._0x10c546)&&_0x3cd3a9['subarray'](0x8,0xc)[_0x40ed25(0x2d4,0x13e,_0x2fe6d5._0x18723a,0x17b)](_0x40ed25(_0x2fe6d5._0x392409,_0x2fe6d5._0x42ab3c,-_0x2fe6d5._0x1b74e3,_0x2fe6d5._0x101563))===_0x40ed25(_0x2fe6d5._0x205de5,0x233,0x135,_0x2fe6d5._0x5d6b37))return _0x64b1b6(_0x2fe6d5._0x584d1f,_0x2fe6d5._0x57a89a,0x61b,0x762);function _0x64b1b6(_0x12b338,_0x3d4532,_0x263955,_0x4ab903){return _0x55c88d(_0x12b338-_0x3b43f5._0xeffef0,_0x263955-_0x3b43f5._0x2ebbf,_0x4ab903,_0x4ab903-_0x3b43f5._0x262c00);}const _0x4f2f3f=_0x26c6e2['extname'](_0x550f96)[_0x64b1b6(_0x2fe6d5._0x483982,_0x2fe6d5._0x1e1898,0x678,0x5dc)]();function _0x40ed25(_0x5df8b3,_0x5228e2,_0xa5dc0c,_0x1bcdd1){return _0x1e45aa(_0x5df8b3-0x152,_0x5228e2-_0x4e88fe._0x4aef50,_0x1bcdd1- -_0x4e88fe._0x4c9106,_0xa5dc0c);}if(_0x4f2f3f===_0x40ed25(_0x2fe6d5._0x55479d,0x6f,_0x2fe6d5._0x5ecae0,_0x2fe6d5._0x403dc1))return'image/png';if(_0x4f2f3f==='.jpg'||_0x4f2f3f===_0x64b1b6(0x680,_0x2fe6d5._0x11c006,0x74a,0x863))return _0x40ed25(_0x2fe6d5._0x124761,0x369,_0x2fe6d5._0x22b1e3,0x2b1);if(_0x4f2f3f==='.gif')return _0x40ed25(_0x2fe6d5._0x40c096,0x1b6,0x308,_0x2fe6d5._0x2f940b);if(_0x4f2f3f==='.webp')return _0x64b1b6(0x739,_0x2fe6d5._0x4a8ebe,_0x2fe6d5._0x54294a,0x6c8);return void 0x0;}function normalizeDetail(_0x235b0d){const _0x2c0739={_0x39134b:0xf6,_0x3df6f2:0x4a,_0x3c021e:0x1c},_0x4e4be2={_0x519267:0x145,_0x1c62b6:0x45d,_0x1b5e1b:0x10b};if(_0x235b0d===void 0x0)return void 0x0;const _0x3ba4cb=_0x235b0d['trim']()['toLowerCase']();function _0x1a851e(_0x44f694,_0x771937,_0x11c255,_0x1759c7){return _0x55c88d(_0x44f694-_0x4e4be2._0x519267,_0x11c255- -_0x4e4be2._0x1c62b6,_0x771937,_0x1759c7-_0x4e4be2._0x1b5e1b);}if(!SUPPORTED_DETAILS[_0x1a851e(-0x76,-_0x2c0739._0x39134b,_0x2c0739._0x3df6f2,_0x2c0739._0x3c021e)](_0x3ba4cb))throw new ToolExecutionError('Unsupported\x20image\x20detail\x20level:\x20'+_0x235b0d,{'detail':_0x235b0d});return _0x3ba4cb;}function createViewFileTool(_0x214f6f={}){const _0x2a8171={_0x5726b8:0x34e,_0x45b984:0x348,_0x1a7ad2:0xe0,_0x1bf71e:0x31c,_0x98700:0x2d4,_0x2de52e:0x24d,_0x1470e3:0x10b,_0x436389:0xc8,_0xaa65a5:0x8f,_0x118c6c:0x2c5,_0x4bc037:0x37f,_0xe4efe0:0x4dd,_0x17c45f:0xe7},_0x73f82d={_0x56c20a:0x2ad,_0x27326e:0x22f,_0x40c931:0x324,_0x3bf81e:0x2e1,_0x5ed5d8:0x4ff,_0x54f92e:0x66e,_0x58473d:0x355,_0x5303a7:0x2a0,_0x4d4215:0x414,_0xdd0409:0x28a,_0x3b3623:0x425,_0x56ee6b:0x668,_0x1e64f7:0x78b,_0x2c3356:0x602,_0x1df698:0x771,_0x3b5b63:0x219,_0x159458:0x48a,_0x2f203a:0x417,_0x2ce28e:0x160,_0x13b32a:0x7a,_0x5c87cd:0x6,_0x6fd7c3:0x2be,_0x4b22c9:0x320,_0x5a6e7d:0x24e,_0x5b2b48:0x3f6,_0xee2787:0x3b6,_0x2747bd:0x18c,_0x36a474:0x3c9,_0x55d44d:0x41c,_0x23d3ad:0x576,_0x3b3809:0x580,_0x5b4035:0x439,_0x2c3945:0x135,_0x4a9b36:0x249,_0x30c424:0x14e,_0x3ca1cc:0x242,_0x11113a:0x7d6,_0x48d079:0x5da,_0x5567a4:0x276,_0x5bc58a:0x153,_0x5a8fe2:0x383,_0x324472:0x409,_0x5bc149:0x2c2,_0xc41879:0x2dd,_0x5fa86:0x3b4,_0x2c7b6b:0x244,_0x1b3497:0x4fc,_0x203c35:0x46b,_0x4acc72:0x631,_0x1d2db8:0x73c,_0x3de521:0x4b3,_0xbbdd43:0x4eb,_0x2a310e:0x729,_0x2fda6f:0x3c5,_0x454b4e:0x304,_0x12f0d9:0x16f,_0x5a3030:0x61d,_0x44d549:0x681,_0x2c99ca:0x63c,_0x4fbee3:0x4d0,_0x448af2:0x756},_0x3b6357={_0x317f51:0x4e,_0xe18b41:0xa0},_0x2f36aa={_0x52891b:0x110,_0x50c874:0x742},_0x2d9120=_0x26c6e2['resolve'](_0x214f6f[_0x59dd00(0x3d2,_0x2a8171._0x5726b8,0x333,0x306)]??process[_0x59dd00(_0x2a8171._0x45b984,0x21f,_0x2a8171._0x1a7ad2,0x9e)]()),_0x24cad6=_0x214f6f['allowedDirs']??[];function _0x2a6680(_0x1c3674,_0x3cf5ea,_0x4dfbbf,_0x33faf0){return _0x1e45aa(_0x1c3674-_0x2f36aa._0x52891b,_0x3cf5ea-0x77,_0x33faf0- -_0x2f36aa._0x50c874,_0x4dfbbf);}const _0x3bfe0d=_0x214f6f[_0x59dd00(_0x2a8171._0x1bf71e,_0x2a8171._0x98700,_0x2a8171._0x2de52e,0x23d)]??DEFAULT_MAX_BYTES,_0x30ae33=_0x214f6f[_0x2a6680(-0xaf,-_0x2a8171._0x1470e3,-0x59,0x4e)]??'ViewFile';function _0x59dd00(_0x50091c,_0x5ca8a4,_0x3aa682,_0x16e6e4){return _0x1e45aa(_0x50091c-_0x3b6357._0x317f51,_0x5ca8a4-_0x3b6357._0xe18b41,_0x5ca8a4- -0x3a0,_0x3aa682);}return defineTool({'name':_0x30ae33,'description':'View\x20an\x20image\x20file\x20from\x20the\x20workspace\x20or\x20allowed\x20directories\x20so\x20the\x20model\x20can\x20inspect\x20its\x20visual\x20content.\x20Supports\x20PNG,\x20JPEG,\x20WebP,\x20and\x20GIF\x20images.\x20Use\x20this\x20for\x20screenshots,\x20diagrams,\x20photos,\x20and\x20other\x20image\x20files;\x20use\x20FileRead\x20for\x20text\x20files.','inputSchema':{'type':'object','properties':{'path':{'type':_0x2a6680(_0x2a8171._0x436389,0xcb,_0x2a8171._0xaa65a5,-0x23)},'detail':{'type':_0x59dd00(_0x2a8171._0x118c6c,_0x2a8171._0x4bc037,0x26e,_0x2a8171._0xe4efe0)}},'required':[_0x2a6680(-0x12,0xcb,-_0x2a8171._0x17c45f,-0x68)]},async *'execute'(_0x1b6be2){const _0x4224b0={_0x39c7f8:0x13d,_0x4d7988:0x14b},_0x19278e=resolveAllowedPath(_0x2d9120,_0x24cad6,_0x1b6be2[_0x5eb26e(_0x73f82d._0x56c20a,_0x73f82d._0x27326e,0x192,0x141)]);await assertWorkspaceFile(_0x19278e);const _0xba9500=await _0x2d820a(_0x19278e);if(_0xba9500[_0x4978bc(0x3cb,0x336,_0x73f82d._0x40c931,_0x73f82d._0x3bf81e)]>_0x3bfe0d)throw new ToolExecutionError(_0x4978bc(_0x73f82d._0x5ed5d8,_0x73f82d._0x54f92e,0x5f2,0x4f1)+_0x1b6be2[_0x5eb26e(0x2ad,_0x73f82d._0x58473d,0x27a,_0x73f82d._0x5303a7)],{'path':_0x1b6be2[_0x5eb26e(0x2ad,_0x73f82d._0x4d4215,_0x73f82d._0xdd0409,_0x73f82d._0x3b3623)],'maxBytes':_0x3bfe0d,'size':_0xba9500['size']});const _0x3e72cf=await _0x23d847(_0x19278e);function _0x5eb26e(_0x4ece3b,_0x4845dc,_0x2e5753,_0x13be88){return _0x2a6680(_0x4ece3b-0xc0,_0x4845dc-0x7,_0x13be88,_0x4ece3b-0x315);}const _0x3f4402=detectImageMediaType(_0x3e72cf,_0x19278e);if(!_0x3f4402)throw new ToolExecutionError(_0x4978bc(_0x73f82d._0x56ee6b,_0x73f82d._0x1e64f7,_0x73f82d._0x2c3356,_0x73f82d._0x1df698)+_0x1b6be2[_0x4978bc(0x52a,0x5ec,0x5f9,0x512)],{'path':_0x1b6be2[_0x5eb26e(0x2ad,0x336,0x3c3,_0x73f82d._0x3b5b63)],'supported':[_0x4978bc(0x5ac,_0x73f82d._0x159458,0x6ad,0x606),_0x5eb26e(0x2d1,0x2c6,_0x73f82d._0x2f203a,0x300),_0x5eb26e(_0x73f82d._0x2ce28e,0x100,_0x73f82d._0x13b32a,_0x73f82d._0x5c87cd),_0x5eb26e(_0x73f82d._0x6fd7c3,_0x73f82d._0x4b22c9,_0x73f82d._0x5a6e7d,_0x73f82d._0x5b2b48),'.webp']});const _0x4a2e92=normalizeDetail(_0x1b6be2[_0x4978bc(0x4e4,0x596,0x474,_0x73f82d._0xee2787)]),_0x3bec28=['Viewed\x20image\x20file:\x20'+_0x1b6be2[_0x5eb26e(0x2ad,_0x73f82d._0x2747bd,0x42c,_0x73f82d._0x36a474)],_0x5eb26e(_0x73f82d._0x55d44d,_0x73f82d._0x23d3ad,_0x73f82d._0x3b3809,_0x73f82d._0x5b4035)+_0x3f4402,_0x5eb26e(0x135,_0x73f82d._0x2c3945,_0x73f82d._0x4a9b36,0x21)+_0xba9500[_0x5eb26e(_0x73f82d._0x30c424,0x27,_0x73f82d._0x3ca1cc,0x1ad)]+'\x20bytes']['concat'](_0x4a2e92?[_0x4978bc(0x675,_0x73f82d._0x11113a,0x6a4,_0x73f82d._0x48d079)+_0x4a2e92]:[])[_0x5eb26e(_0x73f82d._0x5567a4,0x317,_0x73f82d._0x5bc58a,_0x73f82d._0x5a8fe2)]('\x0a'),_0x688ffd=[{'type':_0x4978bc(_0x73f82d._0x324472,_0x73f82d._0x5bc149,_0x73f82d._0xc41879,0x4dd),'source':{'type':_0x5eb26e(_0x73f82d._0x5fa86,0x3af,0x3c1,_0x73f82d._0x2c7b6b),'media_type':_0x3f4402,'data':_0x3e72cf[_0x4978bc(0x51d,_0x73f82d._0x1b3497,_0x73f82d._0x203c35,0x3e7)](_0x4978bc(_0x73f82d._0x4acc72,_0x73f82d._0x1d2db8,_0x73f82d._0x3de521,_0x73f82d._0xbbdd43))}},{'type':_0x4978bc(0x5cd,0x572,0x495,_0x73f82d._0x2a310e),'text':_0x3bec28}];yield createToolOutput(_0x3bec28,{'path':_0x1b6be2['path'],'resolvedPath':_0x19278e,'created':_0xba9500[_0x4978bc(0x504,_0x73f82d._0x2fda6f,0x43f,0x3b5)]['toISOString'](),'modified':_0xba9500[_0x5eb26e(0x256,_0x73f82d._0x454b4e,0x15f,_0x73f82d._0x12f0d9)][_0x4978bc(_0x73f82d._0x5a3030,_0x73f82d._0x44d549,0x65f,_0x73f82d._0x2c99ca)](),'size':_0xba9500['size'],'mimeType':_0x3f4402,'encoding':_0x4978bc(0x631,0x592,_0x73f82d._0x4fbee3,_0x73f82d._0x448af2),..._0x4a2e92?{'detail':_0x4a2e92}:{}},_0x688ffd);function _0x4978bc(_0x15d4ae,_0x2c277c,_0x5961c9,_0x1f2422){return _0x2a6680(_0x15d4ae-_0x4224b0._0x39c7f8,_0x2c277c-_0x4224b0._0x4d7988,_0x1f2422,_0x15d4ae-0x592);}return void 0x0;}});}import _0x47dfee from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x1bb2c9=>{const _0x176ba5={_0x20a5f2:0x5da},_0x43ce2c={_0x2a5c71:0x1ab};function _0x431a8a(_0x5ee998,_0x41e531,_0x3e6986,_0x187a36){return _0x55c88d(_0x5ee998-_0x43ce2c._0x2a5c71,_0x5ee998-0x206,_0x187a36,_0x187a36-0x1ab);}const {lookup:_0x5917e7}=await import(_0x431a8a(0x621,_0x176ba5._0x20a5f2,0x517,0x5cd));return _0x5917e7(_0x1bb2c9,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x3bec12){const _0x4e84ad={_0x2529c8:0x82f,_0x526150:0x6bb,_0x1aefef:0x98b},_0x3268c4={_0x2bdf4a:0xb2},_0x297b3e={_0x24471d:0x28c,_0x51045d:0x12e},_0x134a12=_0x3bec12['split']('.');if(_0x134a12[_0x360353(_0x4e84ad._0x2529c8,0x886,0x814,_0x4e84ad._0x526150)]!==0x4)return null;function _0x61d6f(_0x2f85ff,_0x4088d6,_0x1a56dc,_0x7d1fed){return _0x55c88d(_0x2f85ff-0xeb,_0x4088d6-_0x297b3e._0x24471d,_0x7d1fed,_0x7d1fed-_0x297b3e._0x51045d);}function _0x360353(_0x3ee361,_0x3f1d13,_0x304f5c,_0x38272c){return _0x55c88d(_0x3ee361-_0x3268c4._0x2bdf4a,_0x304f5c-0x2e3,_0x3f1d13,_0x38272c-0x190);}let _0xbba1=0x0;for(const _0x377ece of _0x134a12){if(!/^\d{1,3}$/[_0x360353(0x7f5,0x754,0x842,_0x4e84ad._0x1aefef)](_0x377ece))return null;const _0x112ae1=Number(_0x377ece);if(_0x112ae1>0xff)return null;_0xbba1=_0xbba1*0x100+_0x112ae1;}return _0xbba1>>>0x0;}function isBlockedIpv4(_0x2b5884){const _0x59e84d={_0x32094a:0x158,_0x46d51e:0xb0,_0xcbc25d:0x19,_0x539557:0x27a,_0x4e57c5:0x4f,_0x3eb3a2:0x27,_0x17d52a:0xf7,_0x59ef32:0xba,_0x4eb408:0x44,_0x13b0bf:0xc6,_0x2f9cc8:0x3e,_0x117f10:0x221,_0x1c9697:0x298,_0xec916b:0x205,_0x4b3bcb:0x1d4,_0x1b6867:0xb8,_0x39c44d:0xcd,_0x20a75b:0x10f,_0x4d02c9:0x2ce,_0x40e3ee:0x2a5,_0x52cd45:0x15c},_0x10d1b2={_0x487740:0xfd,_0x17c34a:0x4a},_0x2b98b8={_0x5f9668:0x63};function _0x31e1b1(_0x1977c1,_0xd0750c,_0x110c5c,_0x3e7cb8){return _0x55c88d(_0x1977c1-_0x2b98b8._0x5f9668,_0x3e7cb8- -0x475,_0xd0750c,_0x3e7cb8-0xd9);}const _0x5dd435=ipv4ToInt(_0x2b5884);if(_0x5dd435===null)return!![];const _0xb70e14=(_0x312b8b,_0x5568bd)=>{const _0x3ac496=ipv4ToInt(_0x312b8b);if(_0x3ac496===null)return![];const _0x3759db=_0x5568bd===0x0?0x0:0xffffffff<<0x20-_0x5568bd>>>0x0;return(_0x5dd435&_0x3759db)===(_0x3ac496&_0x3759db);};function _0x4e7364(_0x4a660e,_0x13dff3,_0x5ecd13,_0x31191a){return _0x1e45aa(_0x4a660e-_0x10d1b2._0x487740,_0x13dff3-_0x10d1b2._0x17c34a,_0x5ecd13- -0x633,_0x13dff3);}return _0xb70e14(_0x31e1b1(_0x59e84d._0x32094a,0x196,_0x59e84d._0x46d51e,_0x59e84d._0xcbc25d),0x8)||_0xb70e14(_0x31e1b1(-_0x59e84d._0x539557,-0x2f,-0x5,-0x137),0x8)||_0xb70e14('100.64.0.0',0xa)||_0xb70e14(_0x4e7364(0xa8,-_0x59e84d._0x4e57c5,-_0x59e84d._0x3eb3a2,-_0x59e84d._0x17d52a),0x8)||_0xb70e14(_0x4e7364(-0x112,-0x239,-_0x59e84d._0x59ef32,_0x59e84d._0x4eb408),0x10)||_0xb70e14(_0x31e1b1(0x24,0xb6,0x18a,0x4b),0xc)||_0xb70e14(_0x4e7364(_0x59e84d._0x13b0bf,0x199,0x17,_0x59e84d._0x2f9cc8),0x18)||_0xb70e14(_0x31e1b1(-0x253,-_0x59e84d._0x117f10,-_0x59e84d._0x1c9697,-0x14d),0x10)||_0xb70e14(_0x31e1b1(-0xc5,_0x59e84d._0xec916b,_0x59e84d._0x4b3bcb,_0x59e84d._0x1b6867),0xf)||_0xb70e14(_0x4e7364(-0x6e,_0x59e84d._0x39c44d,0x1a,-_0x59e84d._0x20a75b),0x4)||_0xb70e14(_0x31e1b1(-_0x59e84d._0x4d02c9,-0x173,-_0x59e84d._0x40e3ee,-_0x59e84d._0x52cd45),0x4);}function expandIpv6(_0x329e09){const _0xd1a577={_0xd0cb16:0x41,_0x211342:0x2ab,_0x41ec8c:0x135,_0x127408:0x50,_0x2cd3c2:0xe7,_0x3e6bc4:0xf,_0x1d093e:0x23,_0x2222e8:0x209,_0x109f16:0x158,_0x3556a3:0x28d,_0x2b1e76:0x21c,_0x59ba34:0x2f3,_0x314411:0x17c,_0x4cf2db:0x95,_0x2ff955:0x176,_0x3e6c4e:0x3b3,_0x5788c9:0x1a4,_0x757093:0x27c,_0x2f0c98:0x23c,_0x14fc48:0x2bc,_0x33197b:0x47,_0x1d73b7:0x65},_0x4e4dcd={_0x52a793:0xa8,_0x569bc6:0x68a},_0x1a280={_0x548e07:0xf0,_0x1743ec:0xaf,_0xc59ae3:0x526};let _0x2ddf36=_0x329e09,_0x393657;const _0x23ec2e=_0x2ddf36[_0x3ac3ec(_0xd1a577._0xd0cb16,-0x57,-0x10,-0x9)](':');_0x2ddf36[_0x4f4004(0x50,-0x8e,0x92,-0x132)](_0x23ec2e+0x1)[_0x4f4004(0x283,0x3f9,_0xd1a577._0x211342,0x136)]('.')&&(_0x393657=_0x2ddf36[_0x4f4004(0x50,-0x98,0x17e,-_0xd1a577._0x41ec8c)](_0x23ec2e+0x1),_0x2ddf36=_0x2ddf36[_0x4f4004(_0xd1a577._0x127408,_0xd1a577._0x2cd3c2,_0xd1a577._0x3e6bc4,-0x29)](0x0,_0x23ec2e+0x1));const _0x4e482a=_0x2ddf36[_0x3ac3ec(0xea,0x51,_0xd1a577._0x1d093e,0xf8)]('::');if(_0x4e482a[_0x3ac3ec(_0xd1a577._0x2222e8,_0xd1a577._0x109f16,_0xd1a577._0x3556a3,0x128)]>0x2)return null;const _0x26ea53=_0x1f3ffa=>_0x1f3ffa[_0x3ac3ec(-0xe,0x51,-0x102,0x1bf)](':')['filter'](_0x2e054c=>_0x2e054c[_0x4f4004(0x2bc,0x1f0,0x1dc,0x392)]>0x0)[_0x3ac3ec(-0xae,0xaf,-0x6d,0x10b)](_0x561f7d=>Number[_0x4f4004(0x115,0x113,0x7c,0x1a5)](_0x561f7d,0x10));function _0x4f4004(_0x3cd403,_0x396dcd,_0x46b5b8,_0x183fe9){return _0x1e45aa(_0x3cd403-_0x1a280._0x548e07,_0x396dcd-_0x1a280._0x1743ec,_0x3cd403- -_0x1a280._0xc59ae3,_0x396dcd);}const _0x486329=_0x4e482a[0x0]?_0x26ea53(_0x4e482a[0x0]):[],_0x51c800=_0x4e482a[_0x4f4004(0x2bc,_0xd1a577._0x2b1e76,0x238,_0xd1a577._0x59ba34)]===0x2&&_0x4e482a[0x1]?_0x26ea53(_0x4e482a[0x1]):[],_0x49b170=[];if(_0x393657){const _0x28e459=ipv4ToInt(_0x393657);if(_0x28e459===null)return null;_0x49b170[_0x4f4004(_0xd1a577._0x314411,_0xd1a577._0x4cf2db,0x12d,_0xd1a577._0x2ff955)](_0x28e459>>>0x10&0xffff,_0x28e459&0xffff);}const _0x30cda4=[..._0x51c800,..._0x49b170];function _0x3ac3ec(_0x442aa2,_0x4414e4,_0x26e620,_0x53955f){return _0x1e45aa(_0x442aa2-_0x4e4dcd._0x52a793,_0x4414e4-0x12,_0x4414e4- -_0x4e4dcd._0x569bc6,_0x53955f);}const _0x1c4c28=0x8-_0x486329['length']-_0x30cda4[_0x4f4004(0x2bc,_0xd1a577._0x3e6c4e,0x315,0x1cd)];if(_0x4e482a['length']===0x1)return _0x486329[_0x3ac3ec(_0xd1a577._0x5788c9,0x158,_0xd1a577._0x757093,_0xd1a577._0x2f0c98)]+_0x30cda4[_0x4f4004(_0xd1a577._0x14fc48,0x14c,0x28a,0x3d5)]===0x8?[..._0x486329,..._0x30cda4]:null;if(_0x1c4c28<0x0)return null;return[..._0x486329,...new Array(_0x1c4c28)[_0x3ac3ec(-0x194,-_0xd1a577._0x33197b,_0xd1a577._0x1d73b7,0x113)](0x0),..._0x30cda4];}function isBlockedIpv6(_0x2d7dee){const _0x447de7={_0x2e830b:0x348,_0x2945fe:0x485,_0x5580f6:0x218,_0x3e2b51:0x1c6,_0x844d62:0x133,_0x5b535f:0x15f,_0x265304:0x1b0,_0x1fcddb:0x1,_0x442477:0x1be,_0x3821ee:0x43a,_0x3cdcda:0x43d},_0x2026e7={_0x3f9830:0x7e},_0x3df2a4={_0x4989dc:0x170},_0x71f3e8=expandIpv6(_0x2d7dee);if(!_0x71f3e8||_0x71f3e8[_0x518486(0x32c,0x393,_0x447de7._0x2e830b,_0x447de7._0x2945fe)](_0x1f5d3c=>Number[_0x1474ab(0x43,0x17,0x6e,-0x4a)](_0x1f5d3c)))return!![];const _0x309d8e=_0x71f3e8[_0x518486(_0x447de7._0x5580f6,_0x447de7._0x3e2b51,_0x447de7._0x844d62,0x140)](0x0,0x7)[_0x1474ab(_0x447de7._0x5580f6,_0x447de7._0x5b535f,_0x447de7._0x265304,0x7a)](_0x5ef27e=>_0x5ef27e===0x0);if(_0x309d8e&&(_0x71f3e8[0x7]===0x0||_0x71f3e8[0x7]===0x1))return!![];if(_0x71f3e8[_0x1474ab(-_0x447de7._0x1fcddb,-_0x447de7._0x442477,-0xc4,-0x90)](0x0,0x5)[_0x518486(0x4cd,_0x447de7._0x3821ee,_0x447de7._0x3cdcda,0x548)](_0x1e975c=>_0x1e975c===0x0)&&(_0x71f3e8[0x5]===0xffff||_0x71f3e8[0x5]===0x0)){const _0x3f1416=(_0x71f3e8[0x6]<<0x10|_0x71f3e8[0x7])>>>0x0,_0x3eef05=[_0x3f1416>>>0x18&0xff,_0x3f1416>>>0x10&0xff,_0x3f1416>>>0x8&0xff,_0x3f1416&0xff][_0x1474ab(0xe7,-0x1e,0x69,0x14d)]('.');return isBlockedIpv4(_0x3eef05);}const _0x82332e=_0x71f3e8[0x0];function _0x1474ab(_0xd42eee,_0x1a867a,_0x221159,_0x2651cd){return _0x55c88d(_0xd42eee-0x132,_0x221159- -0x389,_0xd42eee,_0x2651cd-_0x3df2a4._0x4989dc);}if((_0x82332e&0xff00)===0xfc00||(_0x82332e&0xfe00)===0xfc00)return!![];if((_0x82332e&0xffc0)===0xfe80)return!![];if((_0x82332e&0xff00)===0xff00)return!![];function _0x518486(_0x2d3c94,_0x515e86,_0x1b4a61,_0x4d1508){return _0x1e45aa(_0x2d3c94-_0x2026e7._0x3f9830,_0x515e86-0x1ba,_0x515e86- -0x3b0,_0x1b4a61);}return![];}function isBlockedAddress(_0x188627){const _0x262a5d=isIP(_0x188627);if(_0x262a5d===0x4)return isBlockedIpv4(_0x188627);if(_0x262a5d===0x6)return isBlockedIpv6(_0x188627);return!![];}async function assertPublicUrl(_0x3158a3,_0x2cb69d={}){const _0x55b9ff={_0x4d425c:0x243,_0x470cff:0x91,_0x303fc1:0x2a3,_0x2f5b69:0x7a,_0x10480b:0xf8,_0x20f495:0x19,_0x26a925:0x17d,_0x504f93:0x73,_0x28df1b:0x70,_0x30923e:0x163,_0x29fe29:0x135,_0x57c741:0x258,_0x13a89b:0x36,_0x103ca4:0x1f8,_0x205c82:0xfd,_0x1bdd6e:0x27d,_0x212c65:0x1b6,_0xd9c11f:0x39d,_0x32b7e0:0x3b3,_0x2e255d:0x277,_0x437564:0x3a0,_0x48d933:0x374,_0x141771:0x154,_0x43590b:0xc7,_0x3af218:0x201,_0x3493c0:0x2c3,_0x36db60:0x236,_0xb53cf:0x1c0,_0x23ca1e:0x1f7,_0x2bb935:0x3d0,_0x4b823b:0x441,_0xb08c2a:0x161,_0x5602b1:0x1ae,_0x594e9e:0x27f,_0x155ccb:0x1fb,_0x580e80:0xd},_0xaec24e={_0x4736d0:0x79},_0x72a127={_0x138a57:0xde,_0x1e2fae:0x5b8};let _0x1b1027;try{_0x1b1027=new URL(_0x3158a3);}catch{throw new ToolExecutionError(_0x1af247(0x271,0x1b2,_0x55b9ff._0x4d425c,0x12d),{'url':_0x3158a3});}if(_0x1b1027[_0x1af247(0x1c2,_0x55b9ff._0x470cff,0x30a,_0x55b9ff._0x303fc1)]!==_0x1af247(_0x55b9ff._0x2f5b69,_0x55b9ff._0x10480b,0xa8,_0x55b9ff._0x20f495)&&_0x1b1027[_0x1af247(0x1c2,_0x55b9ff._0x26a925,_0x55b9ff._0x504f93,0x107)]!==_0x5ef34a(0x212,_0x55b9ff._0x28df1b,0x19f,_0x55b9ff._0x30923e))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x3158a3});if(_0x1b1027[_0x1af247(_0x55b9ff._0x29fe29,_0x55b9ff._0x57c741,-_0x55b9ff._0x13a89b,_0x55b9ff._0x103ca4)]||_0x1b1027['password'])throw new ToolExecutionError(_0x1af247(_0x55b9ff._0x205c82,_0x55b9ff._0x1bdd6e,-0x56,_0x55b9ff._0x212c65),{'url':_0x1b1027[_0x5ef34a(0x329,_0x55b9ff._0xd9c11f,0x322,_0x55b9ff._0x32b7e0)]+'//'+_0x1b1027[_0x5ef34a(_0x55b9ff._0x2e255d,_0x55b9ff._0x437564,_0x55b9ff._0x48d933,0x444)]+_0x1b1027[_0x5ef34a(0xb6,0x6e,_0x55b9ff._0x141771,0x1ab)]});const _0x575801=_0x1b1027['hostname'][_0x5ef34a(0x348,0x289,0x1d5,_0x55b9ff._0x43590b)](/^\[|\]$/g,''),_0x57b923=_0x1b1027[_0x5ef34a(0x2e9,_0x55b9ff._0x3af218,0x322,_0x55b9ff._0x3493c0)]+'//'+_0x1b1027['host']+_0x1b1027[_0x5ef34a(_0x55b9ff._0x36db60,_0x55b9ff._0xb53cf,_0x55b9ff._0x141771,0xb0)];if(isIP(_0x575801)){if(isBlockedAddress(_0x575801))throw new ToolExecutionError(_0x5ef34a(0xcc,0x113,_0x55b9ff._0x23ca1e,0x14e),{'url':_0x57b923});return _0x1b1027;}const _0x54ef84=_0x2cb69d[_0x5ef34a(0x2a7,0x2d2,_0x55b9ff._0x2bb935,0x532)]??defaultLookup;let _0x364681;try{_0x364681=await _0x54ef84(_0x575801);}catch{throw new ToolExecutionError(_0x5ef34a(0x2f8,0x2ab,0x1ae,0x2ad),{'url':_0x57b923});}if(_0x364681[_0x5ef34a(_0x55b9ff._0x4b823b,0x42d,0x38a,0x2b3)]===0x0)throw new ToolExecutionError(_0x5ef34a(_0x55b9ff._0xb08c2a,0x2d5,_0x55b9ff._0x5602b1,_0x55b9ff._0x594e9e),{'url':_0x57b923});function _0x1af247(_0x13ceee,_0xe3185f,_0x1367ab,_0x37e724){return _0x1e45aa(_0x13ceee-_0x72a127._0x138a57,_0xe3185f-0x162,_0x13ceee- -_0x72a127._0x1e2fae,_0x1367ab);}for(const {address:_0x48eca4}of _0x364681){if(isBlockedAddress(_0x48eca4))throw new ToolExecutionError(_0x5ef34a(_0x55b9ff._0x155ccb,_0x55b9ff._0x36db60,0x158,-_0x55b9ff._0x580e80),{'url':_0x57b923});}function _0x5ef34a(_0x5cfc9e,_0x4e5a70,_0x1a9485,_0x4bde45){return _0x55c88d(_0x5cfc9e-0x11c,_0x1a9485- -0x1a7,_0x4e5a70,_0x4bde45-_0xaec24e._0x4736d0);}return _0x1b1027;}async function safeFetch(_0x4ba3ec,_0x3b4533={},_0x180042={}){const _0x2d9230={_0x58990f:0x725,_0xfe7b8c:0x5e3,_0x3d45e7:0x612,_0x3ec505:0x4b3,_0x2777ba:0x594,_0x45b40e:0x4f0,_0x216bdd:0x593,_0x142adf:0x45d,_0x5f2731:0x3fe,_0x4e2ffa:0x580,_0x32cd96:0x4c9,_0x5dd2f3:0x4dd,_0x4bb1ce:0x4c0,_0x20d6c1:0x520,_0x3bdab8:0x4b0,_0x25027f:0x3de,_0x136a20:0x37c,_0x488e92:0x38e,_0x401fd7:0x288,_0x24b3a9:0x38f,_0x786fd:0x567,_0x2e901:0x5bc},_0x4877b4={_0x315750:0x178,_0x2736bb:0x263},_0x5a12a1={_0x5de40e:0x101,_0x306bfa:0x155};function _0x55b7bd(_0x5edfd0,_0x145268,_0x1b923b,_0x35b4e3){return _0x1e45aa(_0x5edfd0-_0x5a12a1._0x5de40e,_0x145268-_0x5a12a1._0x306bfa,_0x1b923b- -0x33e,_0x5edfd0);}const _0x406078=_0x180042['fetchImpl']??fetch,_0x16b5a4=_0x180042[_0x6b1ad4(0x5b9,_0x2d9230._0x58990f,0x51d,_0x2d9230._0xfe7b8c)]??DEFAULT_MAX_REDIRECTS;let _0x4afccd=_0x4ba3ec;function _0x6b1ad4(_0x1b6e9d,_0x5b44f1,_0x4a2377,_0x49500c){return _0x1e45aa(_0x1b6e9d-_0x4877b4._0x315750,_0x5b44f1-0x13e,_0x49500c- -_0x4877b4._0x2736bb,_0x5b44f1);}for(let _0x49754f=0x0;;_0x49754f+=0x1){const _0x3cd91c=await assertPublicUrl(_0x4afccd,_0x180042),_0x1d65c1=await _0x406078(_0x3cd91c['toString'](),{..._0x3b4533,'redirect':_0x6b1ad4(_0x2d9230._0x3d45e7,_0x2d9230._0x3ec505,_0x2d9230._0x2777ba,0x4b3)}),_0x41778=_0x1d65c1[_0x55b7bd(_0x2d9230._0x45b40e,_0x2d9230._0x216bdd,_0x2d9230._0x142adf,0x379)][_0x6b1ad4(0x6cf,_0x2d9230._0x5f2731,0x5c1,_0x2d9230._0x4e2ffa)](_0x6b1ad4(0x3bd,0x4d2,0x379,_0x2d9230._0x32cd96));if(!REDIRECT_STATUSES[_0x6b1ad4(0x5b4,_0x2d9230._0x5dd2f3,0x5a7,0x4f5)](_0x1d65c1[_0x55b7bd(_0x2d9230._0x4bb1ce,0x502,_0x2d9230._0x20d6c1,_0x2d9230._0x3bdab8)])||!_0x41778)return _0x1d65c1;if(_0x49754f>=_0x16b5a4)throw new ToolExecutionError(_0x55b7bd(0x364,_0x2d9230._0x25027f,0x327,_0x2d9230._0x136a20),{'url':_0x3cd91c[_0x55b7bd(_0x2d9230._0x488e92,_0x2d9230._0x401fd7,_0x2d9230._0x24b3a9,0x326)]()});_0x4afccd=new URL(_0x41778,_0x3cd91c)[_0x6b1ad4(0x586,_0x2d9230._0x786fd,_0x2d9230._0x2e901,0x46a)]();}}var USER_AGENT=_0x1e45aa(0x885,0x70c,0x7a2,0x6c1),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x23331d,_0x48120e){const _0x23d496={_0x3baf82:0x12a,_0x1bc3b8:0x267,_0x427934:0x29a,_0x54c829:0x1d,_0x1e7dd3:0x11},_0x20d195={_0x3774fe:0x179,_0x27f3a0:0x126,_0x288207:0xc5},_0x5a09ed={_0x3311c5:0x12b},_0x4f8385={_0x4aee70:0x3d2,_0x46cab7:0x6},_0x1bd1bd={_0x4e56dc:0xab,_0x4373af:0x4bb};function _0x700ff0(_0x13488a,_0x23a62c,_0x376b5f,_0x52ee0c){return _0x55c88d(_0x13488a-_0x1bd1bd._0x4e56dc,_0x23a62c- -_0x1bd1bd._0x4373af,_0x13488a,_0x52ee0c-0x5d);}const _0x3b00a1=new AbortController(),_0x7bce5a=setTimeout(()=>_0x3b00a1[_0x3a0490(0x24b,0x12a,0x237,-0x34)](new Error(_0x700ff0(0xa6,-0xbc,-0xfa,-0x1f8))),_0x48120e),_0x5b601a=()=>_0x3b00a1[_0x3a0490(-0x19,0x12a,0x23d,0x21e)](_0x23331d[_0x700ff0(0xe2,-0x7a,-0x191,-0x144)]);_0x23331d['aborted']?_0x3b00a1[_0x3a0490(0x127,_0x23d496._0x3baf82,_0x23d496._0x1bc3b8,_0x23d496._0x427934)](_0x23331d[_0x3a0490(0x62,0x6f,0x8f,-0x5e)]):_0x23331d[_0x700ff0(-0x150,-0xc8,-_0x23d496._0x54c829,-_0x23d496._0x1e7dd3)](_0x3a0490(0x72,0x12a,0x22d,0x203),_0x5b601a,{'once':!![]});function _0x3a0490(_0x2ed2c5,_0x3d1d99,_0x2dc07b,_0x3fc462){return _0x55c88d(_0x2ed2c5-0x148,_0x3d1d99- -_0x4f8385._0x4aee70,_0x2dc07b,_0x3fc462-_0x4f8385._0x46cab7);}return{'signal':_0x3b00a1[_0x700ff0(0x13f,0xfa,0xe1,-0x5a)],'cleanup':()=>{const _0x501b7d={_0x508875:0x147};clearTimeout(_0x7bce5a);function _0x59970c(_0x7d3fa,_0x470c1f,_0x3636c3,_0x5677b2){return _0x700ff0(_0x5677b2,_0x7d3fa-0x696,_0x3636c3-_0x5a09ed._0x3311c5,_0x5677b2-0x44);}function _0x43726a(_0x21d9f3,_0x45227c,_0x2c9efb,_0x2711bf){return _0x700ff0(_0x21d9f3,_0x2c9efb-0xe5,_0x2c9efb-0x7c,_0x2711bf-_0x501b7d._0x508875);}_0x23331d[_0x43726a(-_0x20d195._0x3774fe,-_0x20d195._0x27f3a0,-0x45,_0x20d195._0x288207)](_0x43726a(0xc6,0x6d,0x126,0xd2),_0x5b601a);}};}function createWebFetchTool(_0x16750e={}){const _0x388117={_0x44d344:0x248,_0x29709d:0x181,_0x158440:0x7d,_0x51147a:0xc0,_0x325d91:0x2f7,_0x2cbdbd:0x273,_0xe868ce:0x24e,_0x56dcc6:0x2aa,_0x4979c9:0xaf,_0x19fc01:0x2d,_0x23f0a5:0x7b,_0x2d387f:0x71,_0x257513:0x168,_0x2a53b0:0x20f,_0x121a35:0x268,_0x2e7551:0xa5,_0x4c768d:0x31c,_0x4f6f09:0x199,_0x22600f:0x2c3,_0x52800a:0x2c5,_0x81611f:0x1ae,_0x1713ac:0x2e4,_0x39d651:0xaa,_0x49c73a:0xf8,_0x3b3c5d:0x8e,_0x1101cf:0x2f4,_0xc2c2f8:0xbb,_0x24fd70:0x23d,_0x1ca22f:0xf5,_0x5e9431:0x264,_0x77b786:0x2a3,_0x21b5d6:0x2ec,_0x200f62:0x27b},_0x4445c2={_0x56ad62:0x722,_0x5e13a4:0x4d9,_0x247258:0x75a,_0x9b13e7:0x68a,_0x3bcea3:0x621,_0xa6c018:0x6b2,_0x2e5ead:0x752,_0x1b3d89:0x77f,_0x246223:0x6d9,_0x575742:0x76f,_0x36c769:0x6c9,_0x594978:0x68a,_0x231441:0x862,_0x5b1df4:0x637,_0x55ba64:0x670,_0xff8941:0x68f,_0x1bf38f:0x5d7,_0x2eca83:0x6d3,_0x9716b9:0x578,_0x2f8654:0x508,_0x3e3637:0x51e,_0x3fa3d9:0x8d3,_0x1a175a:0x794,_0xc13167:0x5c5,_0x71799f:0x4fc,_0x596161:0x428,_0x7939d4:0x833,_0x5c6dcd:0x6c1,_0x1e80c6:0x646,_0x2ead07:0x69d,_0x4f11f4:0x6ac,_0x538c82:0x746,_0x30846c:0x538,_0x18a267:0x54d,_0x21e4bd:0x68c,_0x4a4dcd:0x3fb,_0x465779:0x411,_0xf887:0x51f,_0x27b0bf:0x5ef,_0x3fea79:0x699,_0x36c0d5:0x519,_0x515f0b:0x6bc,_0x9c7f3d:0x5a8,_0xac0a42:0x4e7,_0x1d549c:0x6b7,_0x587e1d:0x55c,_0xb9cdcc:0x6e4,_0x12e5e9:0x537,_0x312e73:0x4bd,_0x1c8b16:0x5a6,_0x4b61a4:0x66d,_0x15c771:0x698},_0x29e8ed={_0x4ee3bb:0x2f6,_0x21ea68:0x24},_0x3d9e03=_0x16750e[_0x2d66c6(0xb2,0x1e9,_0x388117._0x44d344,_0x388117._0x29709d)]??_0x35f711(-_0x388117._0x158440,_0x388117._0x51147a,-0xb,-0x3b),_0x4fa7ef=_0x16750e[_0x35f711(_0x388117._0x325d91,0x237,0x31b,_0x388117._0x2cbdbd)]??DEFAULT_TIMEOUT_MS2,_0x396700=_0x16750e[_0x35f711(0x411,0x346,0x308,0x2a0)];function _0x2d66c6(_0x27f23e,_0x2c9518,_0xbb6315,_0x926356){return _0x55c88d(_0x27f23e-0x190,_0x2c9518- -_0x29e8ed._0x4ee3bb,_0x926356,_0x926356-_0x29e8ed._0x21ea68);}const _0x5d80d1=new _0x47dfee({'headingStyle':'atx','codeBlockStyle':_0x35f711(0x115,_0x388117._0xe868ce,_0x388117._0x56dcc6,0x2ae),'bulletListMarker':'-'});_0x5d80d1[_0x2d66c6(-0xbb,_0x388117._0x4979c9,-_0x388117._0x19fc01,0x1b7)]([_0x2d66c6(_0x388117._0x23f0a5,0x74,0x1be,-_0x388117._0x2d387f),_0x35f711(_0x388117._0x257513,_0x388117._0x2a53b0,0x161,_0x388117._0x121a35),_0x2d66c6(0x146,-0x33,_0x388117._0x2e7551,-0xe2),_0x35f711(0x3da,0x37e,_0x388117._0x4c768d,0x3d6),_0x2d66c6(_0x388117._0x4f6f09,_0x388117._0x22600f,_0x388117._0x52800a,0x193),'footer',_0x2d66c6(0x265,0x29b,_0x388117._0x81611f,0x28d),_0x35f711(0x2eb,0x2e0,0x378,_0x388117._0x1713ac)]);function _0x35f711(_0x5b5a55,_0x5f4f2f,_0x1e564a,_0xa9064b){return _0x1e45aa(_0x5b5a55-0x69,_0x5f4f2f-0x9f,_0x5f4f2f- -0x4e2,_0x5b5a55);}return defineTool({'name':_0x3d9e03,'description':_0x2d66c6(0x14b,0x51,-_0x388117._0x39d651,-_0x388117._0x49c73a),'inputSchema':{'type':_0x35f711(_0x388117._0x3b3c5d,0x126,0x9e,0x13c),'properties':{'description':{'type':_0x2d66c6(_0x388117._0x1101cf,0x178,_0x388117._0xc2c2f8,0x1d2)},'url':{'type':_0x35f711(0xce,_0x388117._0x24fd70,_0x388117._0x1ca22f,_0x388117._0x5e9431)}},'required':[_0x35f711(_0x388117._0x77b786,_0x388117._0x21b5d6,0x3d3,_0x388117._0x200f62)]},async *'execute'(_0xbcb91e,_0x3129a6){const _0x3c03ce={_0x4818af:0x23,_0x4f6192:0x497,_0x45ff59:0x120},_0x24a18d=(await assertPublicUrl(_0xbcb91e['url'],{'lookup':_0x396700}))[_0x3d7b7c(_0x4445c2._0x56ad62,_0x4445c2._0x5e13a4,0x46d,0x5c1)]();if(_0x3129a6[_0x3d7b7c(0x8c1,0x700,0x75e,_0x4445c2._0x247258)][_0x2efb0f(0x5f2,_0x4445c2._0x9b13e7,0x5bb,0x567)])throw new ToolExecutionError(_0x2efb0f(0x6e1,0x5b4,0x44a,0x578),{'url':_0x24a18d});const _0x180414=createTimeoutSignal(_0x3129a6['signal'],_0x4fa7ef);let _0x4bd96d='',_0x2a3323=0x0;function _0x3d7b7c(_0xe60f89,_0x41c8aa,_0x41531b,_0x498429){return _0x35f711(_0x41c8aa,_0x498429-0x3d6,_0x41531b-0x2b,_0x498429-0x7a);}let _0x32503d;try{const _0xa22c80=await safeFetch(_0x24a18d,{'headers':{'User-Agent':USER_AGENT},'signal':_0x180414['signal']},{'lookup':_0x396700});if(!_0xa22c80['ok'])throw new ToolExecutionError('HTTP\x20'+_0xa22c80[_0x3d7b7c(0x79e,_0x4445c2._0x3bcea3,_0x4445c2._0xa6c018,_0x4445c2._0x2e5ead)]+'\x20'+_0xa22c80[_0x2efb0f(_0x4445c2._0x1b3d89,_0x4445c2._0x246223,_0x4445c2._0x575742,_0x4445c2._0x36c769)],{'url':_0x24a18d,'statusCode':_0xa22c80[_0x3d7b7c(_0x4445c2._0x594978,0x724,_0x4445c2._0x231441,0x752)]});_0x4bd96d=_0xa22c80[_0x3d7b7c(_0x4445c2._0x5b1df4,0x51e,_0x4445c2._0x55ba64,_0x4445c2._0xff8941)][_0x2efb0f(_0x4445c2._0x1bf38f,_0x4445c2._0x2eca83,0x582,0x5c4)](_0x3d7b7c(_0x4445c2._0x9716b9,0x3d7,_0x4445c2._0x2f8654,_0x4445c2._0x3e3637))??'',_0x2a3323=_0xa22c80[_0x2efb0f(0x6f9,0x74e,_0x4445c2._0x3fa3d9,0x7c2)],_0x32503d=await _0xa22c80[_0x2efb0f(_0x4445c2._0x1a175a,0x66d,_0x4445c2._0xc13167,0x5eb)]();}catch(_0x1bd209){if(_0x1bd209 instanceof ToolExecutionError)throw _0x1bd209;const _0x27f4ef=_0x1bd209 instanceof Error?_0x1bd209['message']:String(_0x1bd209);throw new ToolExecutionError(_0x27f4ef,{'url':_0x24a18d});}finally{_0x180414[_0x2efb0f(_0x4445c2._0x71799f,0x4f1,0x621,_0x4445c2._0x596161)]();}const _0x57ea8d=new Date()[_0x3d7b7c(0x7c6,_0x4445c2._0x7939d4,0x74f,_0x4445c2._0x5c6dcd)]();function _0x2efb0f(_0x640297,_0xba362b,_0x36416f,_0x1b5728){return _0x2d66c6(_0x640297-_0x3c03ce._0x4818af,_0xba362b-_0x3c03ce._0x4f6192,_0x36416f-_0x3c03ce._0x45ff59,_0x36416f);}let _0x3dee06,_0xfd597f;if(_0x4bd96d[_0x3d7b7c(0x599,_0x4445c2._0x1e80c6,0x7a3,_0x4445c2._0x2ead07)](_0x3d7b7c(0x7bd,0x812,_0x4445c2._0x4f11f4,_0x4445c2._0x538c82)))_0x3dee06=_0x3d7b7c(0x7cc,_0x4445c2._0x30846c,_0x4445c2._0x18a267,_0x4445c2._0x21e4bd)+_0x32503d+_0x3d7b7c(_0x4445c2._0x4a4dcd,_0x4445c2._0x465779,0x430,_0x4445c2._0xf887),_0xfd597f=_0x2efb0f(0x75f,_0x4445c2._0x27b0bf,0x661,0x57e);else _0x4bd96d[_0x2efb0f(0x5bd,_0x4445c2._0x3fea79,_0x4445c2._0x36c0d5,_0x4445c2._0x515f0b)](_0x3d7b7c(0x6b5,_0x4445c2._0x9c7f3d,0x57b,0x5ad))?(_0x3dee06=_0x5d80d1[_0x3d7b7c(_0x4445c2._0xac0a42,_0x4445c2._0x1d549c,0x3df,_0x4445c2._0x587e1d)](_0x32503d),_0xfd597f=_0x3d7b7c(_0x4445c2._0xb9cdcc,_0x4445c2._0x12e5e9,_0x4445c2._0x312e73,_0x4445c2._0x1c8b16)):(_0x3dee06=_0x32503d,_0xfd597f=_0x2efb0f(0x635,_0x4445c2._0x4b61a4,0x6ea,_0x4445c2._0x15c771));return yield createToolOutput(_0x3dee06,{'url':_0x24a18d,'contentType':_0x4bd96d,'statusCode':_0x2a3323,'format':_0xfd597f,'size':_0x32503d['length'],'fetchedAt':_0x57ea8d}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x1e45aa(0x42a,0x6eb,0x5a4,0x579);function normalizeUrl(_0x3872e9){const _0x1ff0e6={_0x4f8d55:0x230,_0x3b1ad4:0x107,_0x4cf88c:0x22f,_0x5eaf1b:0x206,_0x153bf6:0x11d,_0x1ab8f0:0x1b9,_0x3bfbd0:0x1e1,_0x2a8733:0x357,_0x2eec55:0x381,_0x2b6117:0xc8,_0x3fa291:0x88,_0x23cf0e:0x5d,_0x37d724:0xa3},_0x3f2db0={_0x111478:0x1c7,_0x353edd:0x5d6},_0x53e82f={_0x4c46f4:0xc7,_0x21b98b:0x11d,_0x1e61e9:0x4cd};function _0x54e723(_0x3f4c56,_0x4f31e4,_0x74ba3c,_0x37f2da){return _0x1e45aa(_0x3f4c56-_0x53e82f._0x4c46f4,_0x4f31e4-_0x53e82f._0x21b98b,_0x4f31e4- -_0x53e82f._0x1e61e9,_0x3f4c56);}function _0x44be6b(_0x2d932f,_0x3112d6,_0x358c5c,_0x2b7485){return _0x1e45aa(_0x2d932f-0x112,_0x3112d6-_0x3f2db0._0x111478,_0x2b7485- -_0x3f2db0._0x353edd,_0x3112d6);}try{const _0x4f9d21=new URL(_0x3872e9);for(const _0x1e54b9 of[_0x44be6b(_0x1ff0e6._0x4f8d55,0x23c,0x8d,_0x1ff0e6._0x3b1ad4),_0x44be6b(0xc0,0x3a1,0x153,_0x1ff0e6._0x4cf88c),_0x44be6b(0x1b4,-0xc,-0x38,0x8d),_0x44be6b(0x1b9,_0x1ff0e6._0x5eaf1b,0xe2,0x17a),'utm_content',_0x44be6b(_0x1ff0e6._0x153bf6,0x202,0x27a,_0x1ff0e6._0x1ab8f0),_0x44be6b(0x279,0x283,_0x1ff0e6._0x3bfbd0,0x27f),_0x54e723(0x3df,_0x1ff0e6._0x2a8733,_0x1ff0e6._0x2eec55,0x473),_0x54e723(0x166,_0x1ff0e6._0x2b6117,0x99,0x135)]){_0x4f9d21['searchParams']['delete'](_0x1e54b9);}return _0x4f9d21[_0x44be6b(_0x1ff0e6._0x3fa291,_0x1ff0e6._0x23cf0e,_0x1ff0e6._0x37d724,0xf7)]();}catch{return _0x3872e9;}}function cseDateRestrict(_0x209873){const _0x56a11c={_0x51479f:0x195,_0xbf46fc:0x2bd,_0x7cb028:0x1da,_0x186d76:0x1b8,_0x5801d6:0x36f,_0x5b3bba:0x394,_0x470489:0x185,_0x4212d3:0x1ff,_0x5906de:0x4c6},_0x43d0b4={_0x1d611e:0x4c,_0x3fb0d5:0x175},_0x3749d1={_0x489bee:0x25};if(_0x209873<=0x0)return void 0x0;function _0x3e767c(_0x4560e3,_0x2322d8,_0x42a5cc,_0x4b4c1b){return _0x1e45aa(_0x4560e3-0x7b,_0x2322d8-_0x3749d1._0x489bee,_0x4b4c1b- -0x479,_0x4560e3);}if(_0x209873<=0x1e)return'd'+Math[_0x3e767c(_0x56a11c._0x51479f,_0x56a11c._0xbf46fc,_0x56a11c._0x7cb028,_0x56a11c._0x186d76)](0x1,Math[_0x220461(0x33c,_0x56a11c._0x5801d6,_0x56a11c._0x5b3bba,0x4eb)](_0x209873));function _0x220461(_0x3006ab,_0x5ba376,_0x36805a,_0x465b17){return _0x55c88d(_0x3006ab-0x1c5,_0x36805a-_0x43d0b4._0x1d611e,_0x5ba376,_0x465b17-_0x43d0b4._0x3fb0d5);}if(_0x209873<=0x16d)return'm'+Math[_0x3e767c(0x192,0x347,_0x56a11c._0x470489,_0x56a11c._0x4212d3)](_0x209873/0x1e);return'y'+Math[_0x220461(_0x56a11c._0x5906de,0x44d,0x413,0x46c)](_0x209873/0x16d);}function addSiteFilters(_0xa6c6a0,_0x46ed52){const _0x4316fb={_0x1b94a0:0x3a,_0x2490c0:0x115,_0x29ed7c:0x1ec,_0x516cd2:0xd0,_0x4a061f:0xd0,_0x1ab979:0xcf,_0x131b9a:0x17d,_0x436faf:0x269,_0x29a9f9:0x278},_0x8e5ef1={_0x4eaf2e:0x116},_0x3a9f31={_0x34dcce:0x6,_0x287b82:0x94};if(_0x46ed52['length']===0x0)return _0xa6c6a0['trim']();function _0x5cc8be(_0x4e062d,_0x4fb5d8,_0x4a56fe,_0x2d1772){return _0x1e45aa(_0x4e062d-_0x3a9f31._0x34dcce,_0x4fb5d8-_0x3a9f31._0x287b82,_0x4a56fe- -0x538,_0x2d1772);}function _0xb497a3(_0x17b605,_0x36d2ee,_0x287c26,_0x1f8845){return _0x55c88d(_0x17b605-_0x8e5ef1._0x4eaf2e,_0x36d2ee- -0x4c2,_0x17b605,_0x1f8845-0x100);}return(_0xa6c6a0+'\x20('+_0x46ed52[_0xb497a3(0xa1,-_0x4316fb._0x1b94a0,_0x4316fb._0x2490c0,-0x7f)](_0x45cc1b=>_0xb497a3(-0x1ad,-0x1bd,-0x318,-0x183)+_0x45cc1b)[_0xb497a3(-_0x4316fb._0x29ed7c,-_0x4316fb._0x516cd2,-_0x4316fb._0x4a061f,-0xbb)](_0xb497a3(_0x4316fb._0x1ab979,0xc,0x109,0x6e))+')')[_0x5cc8be(_0x4316fb._0x131b9a,0x26e,_0x4316fb._0x436faf,_0x4316fb._0x29a9f9)]();}function normalizeType(_0x1e24f7){const _0x9f5523={_0x4b17cb:0x361,_0x5e57d5:0x31d,_0x191bc5:0x1e8,_0x15adbb:0xcb,_0x58653c:0x1e8,_0x104ff9:0x27e,_0x52513a:0x41f,_0x28bdd5:0x2f0,_0x20a3c5:0x353},_0x5d4301={_0xd30cd2:0xd4,_0xf8c324:0x1c9},_0x6f75a={_0x1628d9:0x9f,_0x2a37a3:0x16b};function _0x119026(_0x2be911,_0x5484a8,_0x10b35b,_0x25efca){return _0x55c88d(_0x2be911-0xc5,_0x10b35b- -_0x6f75a._0x1628d9,_0x5484a8,_0x25efca-_0x6f75a._0x2a37a3);}function _0x8fdb68(_0x353366,_0x2604d1,_0x44271e,_0x10d5df){return _0x55c88d(_0x353366-_0x5d4301._0xd30cd2,_0x10d5df- -_0x5d4301._0xf8c324,_0x353366,_0x10d5df-0x137);}return _0x1e24f7===_0x8fdb68(_0x9f5523._0x4b17cb,_0x9f5523._0x5e57d5,0x356,_0x9f5523._0x191bc5)?_0x8fdb68(0x1dd,0x16a,_0x9f5523._0x15adbb,_0x9f5523._0x58653c):_0x119026(_0x9f5523._0x104ff9,_0x9f5523._0x52513a,_0x9f5523._0x28bdd5,_0x9f5523._0x20a3c5);}async function fetchJson(_0x404aa2,_0x1f5537,_0x2451e4){const _0x1a524a={_0x1457fd:0x12f,_0x2f3d83:0xe3,_0x341cbf:0x600,_0x3f69c5:0x4d5,_0x3bfb4e:0x438,_0x3f8c47:0x23f,_0x397f46:0x535,_0x50ad70:0x435,_0x36f680:0x65c,_0x3a435d:0x4e7,_0x452c1d:0x549,_0x547acf:0x1ae,_0x2cde26:0xe0,_0x63d875:0x39,_0x11dfac:0x431,_0x4fe8b9:0x2cd,_0x16bbc2:0x34c,_0x221063:0x443,_0xcbb63f:0x54e,_0x28e286:0x481,_0x478b96:0x3e4,_0x225468:0x40e,_0xc58b8a:0x5f6,_0x589adc:0x5ff,_0x238f11:0x46a,_0x2db818:0x604,_0x2f7704:0x5ab,_0x347eba:0x56a,_0x3c4d14:0x7a,_0x1621b6:0x29,_0x33f7a4:0xef,_0x48f447:0x15d,_0x5157ef:0x46},_0x30a7c4={_0x53bc71:0x76f},_0x539d85={_0x1253c2:0x17c},_0x58cefb=await fetch(_0x404aa2,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x5bbd33(_0x1a524a._0x1457fd,-0x5d,_0x1a524a._0x2f3d83,0xbf),..._0x2451e4?.[_0x5d6703(0x4d8,_0x1a524a._0x341cbf,0x568,0x53c)]},'signal':_0x1f5537,..._0x2451e4});if(!_0x58cefb['ok']){let _0x314397,_0x515997;try{_0x314397=await _0x58cefb[_0x5d6703(0x6a3,_0x1a524a._0x3f69c5,_0x1a524a._0x3bfb4e,0x51e)]();const _0x1bab6e=JSON['parse'](_0x314397),_0x3c383c=typeof _0x1bab6e[_0x5d6703(0x48e,0x4c4,0x549,0x435)]===_0x5d6703(_0x1a524a._0x3f8c47,0x29a,0x45e,0x3a9)?_0x1bab6e[_0x5d6703(_0x1a524a._0x397f46,0x589,0x3dd,_0x1a524a._0x50ad70)][_0x5d6703(_0x1a524a._0x36f680,0x6ce,_0x1a524a._0x3a435d,_0x1a524a._0x452c1d)]:void 0x0;_0x515997=_0x1bab6e[_0x5bbd33(_0x1a524a._0x547acf,_0x1a524a._0x2cde26,_0x1a524a._0x63d875,0x144)]?.[_0x5d6703(_0x1a524a._0x11dfac,_0x1a524a._0x4fe8b9,0x2a8,_0x1a524a._0x16bbc2)]??_0x1bab6e[_0x5bbd33(-0x47,-0xa6,_0x1a524a._0x63d875,0x6f)]?.[_0x5d6703(0x32f,_0x1a524a._0x221063,_0x1a524a._0xcbb63f,_0x1a524a._0x28e286)]?.[0x0]?.[_0x5d6703(0x31a,_0x1a524a._0x478b96,0x21e,0x34c)]??_0x3c383c;}catch{}const _0x2a99ed=_0x515997?_0x5d6703(0x561,_0x1a524a._0x225468,0x48c,0x56a)+_0x58cefb[_0x5d6703(_0x1a524a._0xc58b8a,0x69f,0x5a6,_0x1a524a._0x589adc)]+':\x20'+_0x515997:_0x5d6703(_0x1a524a._0x238f11,_0x1a524a._0x2db818,_0x1a524a._0x2f7704,_0x1a524a._0x347eba)+_0x58cefb['status']+'\x20'+_0x58cefb[_0x5bbd33(0x130,-0xf5,_0x1a524a._0x3c4d14,0x5e)];throw new ToolExecutionError(_0x2a99ed,{'statusCode':_0x58cefb[_0x5bbd33(0x183,-_0x1a524a._0x1621b6,_0x1a524a._0x33f7a4,0x69)],..._0x314397?{'body':_0x314397}:{}});}function _0x5d6703(_0x50b84c,_0x524402,_0x4c31a7,_0x4a05bc){return _0x55c88d(_0x50b84c-0x167,_0x4a05bc-0x52,_0x4c31a7,_0x4a05bc-_0x539d85._0x1253c2);}function _0x5bbd33(_0x28b883,_0x46a304,_0x395037,_0x4edafc){return _0x1e45aa(_0x28b883-0x191,_0x46a304-0x9b,_0x395037- -_0x30a7c4._0x53bc71,_0x28b883);}return await _0x58cefb[_0x5bbd33(-0xa9,-_0x1a524a._0x48f447,-0x70,-_0x1a524a._0x5157ef)]();}async function hydrateResults(_0x3a6d4e,_0x111108,_0x1858b2,_0x29b781){const _0x48ef83={_0x20b03c:0x636,_0xbaa2d0:0x62f,_0x2c8277:0x526,_0x3f515a:0x419,_0x246dcc:0x3f2,_0x5111ba:0x658,_0xe78128:0x518,_0x1c6cb2:0x51a,_0x57393e:0x8,_0x356d40:0x1c,_0x215631:0x142,_0x1d65ff:0x110,_0x2ee19d:0x29c,_0x11ede9:0x602},_0x2ca4ac={_0x580d02:0x79,_0x4e3f3d:0x592},_0x64ae98={_0x3409b2:0x7f,_0x470622:0x92},_0x2c3e9c={_0x2da4a6:0x16,_0x388ab6:0x1de,_0x36099c:0xb3,_0x16be17:0xe9,_0x17fb60:0x141,_0x828f51:0xf6,_0x4bb20c:0xaf,_0x22814e:0x8d,_0x4233a6:0x1e,_0x33b87c:0x20a,_0x2ff9d1:0x209,_0x4f5a5e:0xc2,_0x306ab9:0xd1,_0x20d44e:0x101,_0x477617:0xc1,_0x25c4ef:0x7a,_0x3af0cd:0x8d,_0xfd04f2:0x4,_0x448f39:0xe3,_0x186d44:0x99,_0x27162b:0x6d,_0x55f283:0x160,_0x5ce5d4:0x45,_0x1e8240:0x31,_0x1bbd52:0xe0,_0x2f2689:0xf9,_0x290607:0x182,_0x3fdd82:0x2a,_0x1f5639:0x5b,_0x1b8cd4:0x1ac,_0x5a34b8:0xd,_0x52aed4:0xe6,_0x396ebe:0x5e,_0x2e5cbe:0xaa,_0x3582ff:0x15d,_0x595a26:0x1f1,_0x593f0d:0x1bd,_0x5a32ab:0x79,_0x528273:0x119,_0x5b8d85:0x2e,_0x46eaa4:0xe6,_0x512179:0x11f,_0x541fe3:0x36,_0x416d51:0x173,_0x531230:0x6a,_0x5ba382:0x59,_0x12214b:0x12e,_0x5fd9b3:0x12,_0x4809ce:0x20f,_0x43589f:0x55,_0x440c95:0x205},_0x22f854={_0xde6ea:0x10e},_0xb19562=await Promise[_0x443ccf(_0x48ef83._0x20b03c,_0x48ef83._0xbaa2d0,_0x48ef83._0x2c8277,0x50c)](_0x3a6d4e[_0x443ccf(_0x48ef83._0x3f515a,0x495,0x422,_0x48ef83._0x246dcc)](0x0,0xa)[_0x443ccf(0x578,_0x48ef83._0x5111ba,_0x48ef83._0xe78128,_0x48ef83._0x1c6cb2)](async _0x3868c9=>{const _0x3759ea={_0x1a4422:0x1ef};function _0x47b0ea(_0x198cb8,_0x99e25f,_0x41b0af,_0x5ade95){return _0x4ed0b4(_0x198cb8-0x5,_0x5ade95- -_0x22f854._0xde6ea,_0x99e25f,_0x5ade95-0x2e);}function _0xd6f95e(_0x34af55,_0x377ac5,_0x24b97d,_0x5dfeba){return _0x4ed0b4(_0x34af55-0x1b3,_0x5dfeba- -0x129,_0x377ac5,_0x5dfeba-_0x3759ea._0x1a4422);}try{const _0x59cff5=await safeFetch(_0x3868c9[_0x47b0ea(_0x2c3e9c._0x2da4a6,_0x2c3e9c._0x388ab6,-0x33,0x12e)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x111108,'Accept':_0xd6f95e(_0x2c3e9c._0x36099c,0xd1,-0x11f,-0x2)},'signal':_0x1858b2},{'lookup':_0x29b781});if(!_0x59cff5['ok'])return _0x3868c9;const _0x12d5cd=await _0x59cff5[_0x47b0ea(0x3f,-0x66,0x1a8,0xdd)](),_0x48a51c=load(_0x12d5cd),_0x1c7dbb=_0x48a51c(_0x47b0ea(-0x18f,-_0x2c3e9c._0x16be17,-_0x2c3e9c._0x17fb60,-_0x2c3e9c._0x828f51))['attr'](_0x47b0ea(0x132,-_0x2c3e9c._0x4bb20c,0x8d,0x88))||_0x48a51c('title')[_0xd6f95e(_0x2c3e9c._0x22814e,0x149,_0x2c3e9c._0x4233a6,0xa)]()[_0xd6f95e(0x2a,_0x2c3e9c._0x33b87c,_0x2c3e9c._0x2ff9d1,_0x2c3e9c._0x4f5a5e)]()[_0x47b0ea(_0x2c3e9c._0x306ab9,0x1d,0x21b,_0x2c3e9c._0x20d44e)](),_0x300244=_0x48a51c(_0x47b0ea(-0x30,-0x27,0x2f,_0x2c3e9c._0x477617))[_0xd6f95e(-0x153,-_0x2c3e9c._0x25c4ef,-0x33,-0xe6)]('content')||_0x48a51c('meta[property=\x27og:description\x27]')[_0xd6f95e(-_0x2c3e9c._0x3af0cd,-_0x2c3e9c._0xfd04f2,0x38,-0xe6)](_0xd6f95e(-_0x2c3e9c._0x448f39,_0x2c3e9c._0x186d44,0xe2,_0x2c3e9c._0x27162b))||_0x3868c9[_0x47b0ea(-_0x2c3e9c._0x55f283,-_0x2c3e9c._0x5ce5d4,_0x2c3e9c._0x1e8240,-0x9c)],_0x48b1df=_0x48a51c('meta[property=\x27article:published_time\x27]')[_0xd6f95e(-_0x2c3e9c._0x1bbd52,-0x9f,-0x19c,-0xe6)](_0x47b0ea(0x4a,_0x2c3e9c._0x2f2689,0x143,0x88))||_0x48a51c(_0x47b0ea(_0x2c3e9c._0x290607,_0x2c3e9c._0x3fdd82,-_0x2c3e9c._0x1f5639,0xf1))[_0xd6f95e(-_0x2c3e9c._0x1b8cd4,-_0x2c3e9c._0x5a34b8,-0x1d0,-_0x2c3e9c._0x52aed4)](_0xd6f95e(-_0x2c3e9c._0x396ebe,-_0x2c3e9c._0x2e5cbe,-0x191,-0xc7))||_0x3868c9[_0xd6f95e(_0x2c3e9c._0x3582ff,-0x8d,0x9a,0xa5)],_0x385c99=_0x48a51c(_0xd6f95e(_0x2c3e9c._0x595a26,_0x2c3e9c._0x593f0d,_0x2c3e9c._0x5a32ab,0x78))[_0xd6f95e(-_0x2c3e9c._0x528273,-0xcb,_0x2c3e9c._0x5b8d85,-_0x2c3e9c._0x46eaa4)](_0x47b0ea(_0x2c3e9c._0x512179,-0x19,-0x104,0x1));return{..._0x3868c9,'title':_0x1c7dbb||_0x3868c9[_0xd6f95e(0x8a,0x40,-_0x2c3e9c._0x541fe3,-0x29)],'snippet':_0x300244,'url':_0x385c99?normalizeUrl(new URL(_0x385c99,_0x3868c9[_0xd6f95e(_0x2c3e9c._0x416d51,-_0x2c3e9c._0x531230,_0x2c3e9c._0x5ba382,0x113)])[_0xd6f95e(_0x2c3e9c._0x12214b,-0xb0,0xcf,_0x2c3e9c._0x5fd9b3)]()):_0x3868c9[_0x47b0ea(_0x2c3e9c._0x4809ce,-_0x2c3e9c._0x43589f,_0x2c3e9c._0x440c95,_0x2c3e9c._0x12214b)],'publishedAt':_0x48b1df};}catch{return _0x3868c9;}}));function _0x443ccf(_0x3b8280,_0x4133cb,_0x2fd0c4,_0x5c689b){return _0x1e45aa(_0x3b8280-_0x64ae98._0x3409b2,_0x4133cb-_0x64ae98._0x470622,_0x4133cb- -0xe1,_0x2fd0c4);}const _0x4375f9=new Map(_0x3a6d4e[_0x4ed0b4(_0x48ef83._0x57393e,-_0x48ef83._0x356d40,0x160,-_0x48ef83._0x215631)](0x0,0xa)[_0x4ed0b4(0x1b3,0x1a7,_0x48ef83._0x1d65ff,_0x48ef83._0x2ee19d)]((_0x565248,_0x387055)=>[_0x565248[_0x4ed0b4(0x30e,0x23c,0xe4,0x38f)],_0xb19562[_0x387055]]));function _0x4ed0b4(_0x1294ae,_0x2f431b,_0x52f191,_0xff5857){return _0x1e45aa(_0x1294ae-_0x2ca4ac._0x580d02,_0x2f431b-0x9f,_0x2f431b- -_0x2ca4ac._0x4e3f3d,_0x52f191);}return _0x3a6d4e[_0x443ccf(0x689,0x658,_0x48ef83._0x11ede9,0x604)](_0x3d7129=>_0x4375f9['get'](_0x3d7129[_0x4ed0b4(0x154,0x23c,0x22f,0x22d)])??_0x3d7129);}function formatResults(_0x55db05){const _0x2d5c99={_0x35ce63:0x5c2,_0x20f742:0x43c,_0x18435c:0x2d3},_0x4e183c={_0x5d1f38:0x1fb,_0x2a7b9f:0x2c7,_0x3e967d:0x486,_0x173d81:0x517,_0x4d43e7:0x125,_0xa58fca:0x130,_0x45bac8:0x137,_0x54301e:0x12a,_0x224fa1:0x29c,_0x1b7b46:0x2d8,_0x498a73:0x344,_0x5e146a:0x336,_0x48566c:0x210,_0x117bdb:0x33a,_0x16a0ba:0x327,_0x2e227b:0x441,_0xaedffa:0x9c,_0x3ec29b:0x14,_0x16aeb1:0x126,_0x52ad1b:0x39b,_0x3d8646:0x33b,_0x347efa:0x364,_0x1794d8:0x288},_0xf647de={_0x54b231:0x8f};function _0xa3ccf0(_0xf90f69,_0x3d6a48,_0x2a32fb,_0x49ceb2){return _0x55c88d(_0xf90f69-0xca,_0x3d6a48- -_0xf647de._0x54b231,_0x2a32fb,_0x49ceb2-0x170);}if(_0x55db05[_0xa3ccf0(_0x2d5c99._0x35ce63,0x4a2,0x490,_0x2d5c99._0x20f742)]===0x0)return'No\x20results\x20found.';function _0x19a244(_0xbc6d71,_0x2171ec,_0x5245d7,_0x4de7ee){return _0x1e45aa(_0xbc6d71-0x1c5,_0x2171ec-0xcc,_0x4de7ee- -0x253,_0x2171ec);}return _0x55db05[_0xa3ccf0(_0x2d5c99._0x18435c,0x3f9,0x3e9,0x575)](_0x4450e8=>{const _0x394c70={_0x193400:0x144},_0x58346e={_0x189d70:0x12f,_0x3fa0ab:0x22b},_0x244292=[_0x4450e8['source']['rank']+'.\x20'+_0x4450e8[_0x3814b3(_0x4e183c._0x5d1f38,0x32a,0x40a,_0x4e183c._0x2a7b9f)],_0x4450e8[_0x3814b3(_0x4e183c._0x3e967d,0x466,0x516,_0x4e183c._0x173d81)]];if(_0x4450e8[_0x2463d4(0xdc,-0x72,0x99,-0xb)])_0x244292[_0x2463d4(_0x4e183c._0x4d43e7,_0x4e183c._0xa58fca,_0x4e183c._0x45bac8,0xe4)](_0x4450e8[_0x3814b3(_0x4e183c._0x54301e,_0x4e183c._0x224fa1,_0x4e183c._0x1b7b46,_0x4e183c._0x498a73)]);function _0x2463d4(_0x316183,_0x2ce792,_0x1fa363,_0xae3a25){return _0xa3ccf0(_0x316183-_0x58346e._0x189d70,_0x1fa363- -_0x58346e._0x3fa0ab,_0x2ce792,_0xae3a25-0xbf);}if(_0x4450e8[_0x3814b3(0x2aa,0x3f8,0x556,_0x4e183c._0x5e146a)])_0x244292[_0x3814b3(_0x4e183c._0x48566c,_0x4e183c._0x117bdb,_0x4e183c._0x16a0ba,_0x4e183c._0x2e227b)](_0x2463d4(_0x4e183c._0xaedffa,_0x4e183c._0x3ec29b,0xdd,0x17a)+_0x4450e8[_0x2463d4(0xca,0x372,0x1f5,_0x4e183c._0x16aeb1)]);function _0x3814b3(_0x4b1801,_0x171bf8,_0x3bc1c7,_0x451962){return _0x19a244(_0x4b1801-0xfd,_0x3bc1c7,_0x3bc1c7-_0x394c70._0x193400,_0x171bf8- -0x115);}return _0x244292[_0x3814b3(_0x4e183c._0x52ad1b,_0x4e183c._0x3d8646,_0x4e183c._0x347efa,_0x4e183c._0x1794d8)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x93cd47,_0x389fa5,_0x40f81e){const _0x5a766f={_0x484f49:0x642,_0x46e077:0x5d7,_0x52c410:0x580,_0x393dc9:0x5dd,_0x5a3a8a:0x807,_0x3e2c56:0x2b8,_0x74aad2:0x46c,_0x2a5bab:0x577,_0x3ea59e:0x5a9,_0x3c8b92:0x5f2,_0x3eb22a:0x4a1,_0x3c45ae:0x581,_0x54bfcf:0x63d,_0x589800:0x61b,_0x5cc48d:0x704,_0x2ee4f3:0x6ce,_0x56b8de:0x482,_0x2e6330:0x2c1,_0x4c6487:0x39a,_0x3b6184:0x21d,_0x32b90d:0x68c},_0x3b1e87={_0x385cec:0x753,_0x44e162:0x770,_0x276f1b:0x859,_0x5237f8:0x111,_0xf3c4cb:0x148,_0x58af1c:0x1ed,_0x324811:0x75d,_0x5e8c5c:0x72b,_0x472b0e:0x829},_0x8f9459={_0x37a23:0x146},_0x1133ec={_0x3a2a17:0x1a3,_0x56e6ad:0x5},_0x5cb74b={_0x3d3bc0:0x15,_0x2fd874:0xbd},_0x3549f2=Math[_0x1cdb33(0x508,_0x5a766f._0x484f49,0x73b,_0x5a766f._0x46e077)](0x1,Math[_0x1cdb33(0x4a8,_0x5a766f._0x52c410,_0x5a766f._0x393dc9,0x52b)](0xa,_0x389fa5[_0x1cdb33(0x6f0,0x7d7,_0x5a766f._0x5a3a8a,0x778)])),_0x245fe6=addSiteFilters(_0x389fa5[_0x2247cc(0x221,0x182,_0x5a766f._0x3e2c56,0x349)],_0x389fa5[_0x1cdb33(_0x5a766f._0x74aad2,0x5b1,_0x5a766f._0x2a5bab,_0x5a766f._0x3ea59e)]),_0x2325b3=await fetchJson(_0x2247cc(0x5fa,_0x5a766f._0x3c8b92,_0x5a766f._0x3eb22a,0x48c),_0x40f81e,{'method':'POST','headers':{'Authorization':_0x1cdb33(0x610,_0x5a766f._0x3c45ae,_0x5a766f._0x54bfcf,_0x5a766f._0x589800)+_0x93cd47['apiKey']},'body':JSON[_0x1cdb33(0x82a,_0x5a766f._0x5cc48d,_0x5a766f._0x2ee4f3,0x757)]({'query':_0x245fe6,'max_results':_0x3549f2})}),_0x26b65b=_0x2325b3[_0x2247cc(_0x5a766f._0x56b8de,_0x5a766f._0x2e6330,_0x5a766f._0x4c6487,_0x5a766f._0x3b6184)]??[];function _0x2247cc(_0x499da5,_0x408787,_0x4df7f0,_0x374ca7){return _0x55c88d(_0x499da5-0xde,_0x4df7f0- -_0x5cb74b._0x3d3bc0,_0x499da5,_0x374ca7-_0x5cb74b._0x2fd874);}function _0x1cdb33(_0x3d5aff,_0x3c882b,_0x27dd25,_0x4ff961){return _0x55c88d(_0x3d5aff-_0x1133ec._0x3a2a17,_0x4ff961-0x257,_0x3c882b,_0x4ff961-_0x1133ec._0x56e6ad);}const _0x576e39=_0x26b65b['map']((_0x46124c,_0x21d282)=>{const _0x451808={_0x5e0a79:0x1a6};function _0x4502df(_0x5e28f9,_0x3b6d03,_0x3c88b9,_0xc91394){return _0x1cdb33(_0x5e28f9-_0x451808._0x5e0a79,_0x3c88b9,_0x3c88b9-0x0,_0x5e28f9- -0x1f);}const _0x12e24a=_0x46124c['url']||'';let _0x2656f5;function _0x548818(_0x1cd60b,_0xd98893,_0x448276,_0x360525){return _0x1cdb33(_0x1cd60b-0x11,_0xd98893,_0x448276-_0x8f9459._0x37a23,_0x360525- -0x3fe);}try{_0x2656f5=new URL(_0x12e24a)[_0x4502df(_0x3b1e87._0x385cec,0x7e8,_0x3b1e87._0x44e162,_0x3b1e87._0x276f1b)];}catch{_0x2656f5=null;}return{'title':_0x46124c['title']||_0x548818(_0x3b1e87._0x5237f8,0xb9,0x275,_0x3b1e87._0xf3c4cb),'url':normalizeUrl(_0x12e24a),'snippet':_0x46124c[_0x548818(0x3ec,_0x3b1e87._0x58af1c,0x377,0x2d0)]??null,'displayUrl':_0x2656f5,'favicon':null,'publishedAt':null,'source':{'engine':_0x4502df(_0x3b1e87._0x324811,_0x3b1e87._0x5e8c5c,_0x3b1e87._0x472b0e,0x673),'rank':_0x21d282+0x1}};});return{'items':_0x576e39[_0x1cdb33(_0x5a766f._0x32b90d,0x5ed,0x451,0x51c)](0x0,_0x3549f2),'engine':'ollama'};}async function searchTavily(_0x3e7daa,_0x22101f,_0x5abd30){const _0x2130a6={_0x84d402:0x6f4,_0x2670e6:0x6ec,_0x534f90:0x4a0,_0x25318c:0x3ec,_0x2b22f2:0x58b,_0x2719bf:0x732,_0x322bbe:0x76e,_0x213932:0x700,_0xccff87:0x548,_0x2de0b5:0x529,_0x5cc658:0x5b9,_0x1c898e:0x597,_0x2bf82c:0x4db,_0x331b5b:0x5c3,_0xd59f37:0x663,_0x4c0bc3:0x6d3,_0x561c9:0x7d7,_0x29f26f:0x79c,_0x2149cd:0x5df,_0x56bfb6:0x711,_0x2ba94f:0x6e6,_0x4f030a:0x56b,_0x413dfc:0x72e},_0x3dca7b={_0x3d3731:0x5eb,_0x34cf93:0x4d0,_0x1687b9:0x5ec,_0xd70732:0x4aa,_0x160f6e:0x3ab,_0x1f220a:0x28b,_0x43047d:0x533,_0x4cf4cb:0x687},_0x55cda6={_0x1d2484:0x2a9,_0x3ad52c:0x193},_0x25f74e={_0x266004:0x4c,_0x4665db:0x117,_0x263075:0x53},_0x3790a3={_0x5176db:0x3f};function _0x4ed845(_0x22b2d9,_0x4d5353,_0x12e5b5,_0x14d4a6){return _0x1e45aa(_0x22b2d9-0x13f,_0x4d5353-_0x3790a3._0x5176db,_0x22b2d9- -0xde,_0x4d5353);}const _0x43c80b=Math['max'](0x1,Math['min'](0x14,_0x22101f[_0x4ed845(_0x2130a6._0x84d402,_0x2130a6._0x2670e6,0x7e7,0x5f2)])),_0x739c5a={'query':_0x22101f[_0x4ed845(_0x2130a6._0x534f90,0x58d,0x3b9,_0x2130a6._0x25318c)],'max_results':_0x43c80b,'search_depth':_0x3e7daa['searchDepth']??_0x4bcd22(_0x2130a6._0x2b22f2,0x643,0x5f1,0x63a),'topic':_0x3e7daa['topic']??_0x4bcd22(_0x2130a6._0x2719bf,0x63c,0x709,0x6e0)};function _0x4bcd22(_0x995df6,_0xa94dc3,_0x2c99e3,_0x176905){return _0x1e45aa(_0x995df6-_0x25f74e._0x266004,_0xa94dc3-_0x25f74e._0x4665db,_0xa94dc3- -_0x25f74e._0x263075,_0x995df6);}if(_0x22101f['domains'][_0x4ed845(0x704,_0x2130a6._0x322bbe,0x848,_0x2130a6._0x213932)]>0x0)_0x739c5a['include_domains']=_0x22101f[_0x4ed845(0x525,_0x2130a6._0xccff87,_0x2130a6._0x2de0b5,_0x2130a6._0x5cc658)];const _0x594f18=await fetchJson('https://api.tavily.com/search',_0x5abd30,{'method':'POST','headers':{'Authorization':_0x4ed845(_0x2130a6._0x1c898e,_0x2130a6._0x2bf82c,_0x2130a6._0x331b5b,0x552)+_0x3e7daa['tavilyApiKey'],'Content-Type':_0x4ed845(0x774,0x677,0x838,_0x2130a6._0xd59f37)},'body':JSON[_0x4ed845(_0x2130a6._0x4c0bc3,_0x2130a6._0x561c9,_0x2130a6._0x29f26f,_0x2130a6._0x2149cd)](_0x739c5a)}),_0x49dcb3=_0x594f18['results']??[],_0x55abeb=_0x49dcb3[_0x4bcd22(_0x2130a6._0x56bfb6,_0x2130a6._0x2ba94f,_0x2130a6._0x4f030a,0x7d1)]((_0x592f54,_0x465a2a)=>{const _0x1bbd61=_0x592f54[_0x1ced73(0x4d2,_0x3dca7b._0x3d3731,0x498,0x4af)]||'';function _0x1ced73(_0x55138d,_0x3c428a,_0x12b2eb,_0x30ddce){return _0x4bcd22(_0x12b2eb,_0x55138d- -_0x55cda6._0x1d2484,_0x12b2eb-0x4,_0x30ddce-_0x55cda6._0x3ad52c);}let _0x50a438;function _0x34657e(_0x44e582,_0x331b9e,_0x51ec93,_0x5f4bb6){return _0x4ed845(_0x331b9e- -0x117,_0x5f4bb6,_0x51ec93-0xb,_0x5f4bb6-0x70);}try{_0x50a438=new URL(_0x1bbd61)[_0x1ced73(_0x3dca7b._0x34cf93,0x414,0x5fa,0x5a9)];}catch{_0x50a438=null;}return{'title':_0x592f54[_0x34657e(0x46a,0x49d,_0x3dca7b._0x1687b9,_0x3dca7b._0xd70732)]||_0x34657e(0x2ae,_0x3dca7b._0x160f6e,_0x3dca7b._0x1f220a,0x36a),'url':normalizeUrl(_0x1bbd61),'snippet':_0x592f54[_0x34657e(0x485,_0x3dca7b._0x43047d,_0x3dca7b._0x4cf4cb,0x449)]??null,'displayUrl':_0x50a438,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0x465a2a+0x1}};});return{'items':_0x55abeb['slice'](0x0,_0x43c80b),'engine':_0x4ed845(0x615,_0x2130a6._0x413dfc,0x763,0x69f)};}async function searchGoogleCse(_0x1eb60f,_0x16bcd1,_0x5b3109){const _0x190aa2={_0x3e4e16:0x230,_0x31b7f3:0x11d,_0x21f7f6:0x34a,_0x316c2a:0x201,_0x944d92:0x84,_0x5700cc:0x536,_0x3ef642:0x602,_0x542fab:0x385,_0x3d1f0a:0x208,_0x27b933:0x261,_0x5ab20e:0x337,_0x464816:0x1fa,_0x17ff1e:0x1f5,_0x246054:0x197,_0x5aa4e3:0x3ff,_0x3bd209:0x4aa,_0x15bb82:0x41b,_0xa2db71:0x67,_0x16f1b9:0x1e1,_0x4494b0:0x47,_0x835c95:0x51,_0x5743a5:0x188,_0x372837:0x12e,_0x38c249:0x8e,_0x2162ee:0x167,_0x54de5c:0x3e3,_0x4e8c6e:0x175,_0x5a733f:0x26c,_0x2ee9e8:0x3e4,_0x95c7af:0x39e,_0xef528:0x41c,_0x1727f5:0x218,_0x5d83f3:0x2d3,_0x5ef1d1:0x14b,_0x5658a9:0x405,_0x145a06:0x288,_0x41b95b:0x2dd,_0x4e5ee2:0x3a4,_0x114ede:0x13f,_0x2550ec:0x283,_0x15e2f4:0x290,_0x5dfca6:0x228,_0x9d6ca8:0x12e,_0x1d24bf:0x11e,_0x103e7b:0x272,_0x4aa74b:0x111,_0x20d6e0:0x2e,_0x30a283:0x244,_0x302cdd:0x2e5,_0x489f5a:0x254,_0x1cc0b6:0x24c,_0x114216:0x212,_0xa25173:0x2a2,_0x4cef22:0x25,_0x4f38f9:0x2ed,_0x2b8900:0x33e,_0x1a1617:0x462,_0x41af4f:0x484,_0x5b00c7:0x4b5,_0x258189:0x461,_0x341c80:0x1fc,_0x17b19a:0xef,_0xebea36:0x29c,_0x6bd4fb:0x3e6,_0x4d3b88:0x3d5,_0x18a415:0x4ad,_0x2faf19:0x4bc,_0x3268e7:0x28a,_0x58b946:0x2a8,_0x1a48cb:0x311,_0x25515f:0x326,_0x3c7bee:0x49a,_0x482c69:0x28c,_0x4816d0:0x1d5,_0x53d20f:0x578,_0x13cd62:0x34d,_0x5a7319:0x57e,_0x331cdb:0x58,_0x1519a2:0xc1,_0x200989:0x436,_0x786b1e:0x4b9,_0x315f33:0x19a,_0x4a4ff7:0x4e,_0x2acf45:0x23f,_0x5bf56f:0x2ee,_0x2fe514:0xa8,_0x22f82b:0x39d,_0x443f05:0x301,_0x46af09:0x2aa,_0x397796:0x17d,_0x362e62:0x135,_0x53e323:0x281,_0x48c51f:0x327,_0x461aa5:0xff,_0x9e489d:0x210,_0x5a2d63:0x430,_0x245a97:0x33f,_0x306f48:0x448,_0x238d8a:0xe1,_0x33faf5:0x231,_0x136a2a:0xb6,_0x48d132:0x1f8,_0x58ce45:0x11f,_0x108ecd:0x56e,_0x46ad17:0x526,_0x358ddb:0x45e,_0x588b6e:0x19d},_0x56b74e={_0x5d6302:0x247,_0x38d22f:0x1d},_0x379b3a={_0x9701c0:0x384},_0x503608=Math[_0x19c4a0(0x14f,0x1e2,0x139,_0x190aa2._0x3e4e16)](0x1,Math[_0x294d5f(_0x190aa2._0x31b7f3,_0x190aa2._0x21f7f6,_0x190aa2._0x316c2a,_0x190aa2._0x944d92)](0x32,_0x16bcd1[_0x294d5f(0x560,_0x190aa2._0x5700cc,0x44e,0x549)]));if(_0x16bcd1[_0x294d5f(_0x190aa2._0x3ef642,_0x190aa2._0x542fab,0x4aa,0x4d4)]+_0x503608>0x64)throw new ToolExecutionError(_0x19c4a0(0x370,_0x190aa2._0x3d1f0a,0x2e3,_0x190aa2._0x27b933),{'offset':_0x16bcd1['offset'],'count':_0x503608,'maxResults':0x64});function _0x294d5f(_0x3a4d8e,_0x5bad86,_0x3bd9ff,_0x3cd04a){return _0x1e45aa(_0x3a4d8e-0x158,_0x5bad86-0xb5,_0x3bd9ff- -_0x379b3a._0x9701c0,_0x3cd04a);}const _0x4c3a36=cseDateRestrict(_0x16bcd1[_0x294d5f(0x379,_0x190aa2._0x5ab20e,0x3ad,0x44c)]);function _0x19c4a0(_0x21fd4b,_0x57a801,_0x5723d9,_0x410f11){return _0x55c88d(_0x21fd4b-0xab,_0x5723d9- -_0x56b74e._0x5d6302,_0x21fd4b,_0x410f11-_0x56b74e._0x38d22f);}const _0x866a11=addSiteFilters(_0x16bcd1[_0x294d5f(0x262,0x175,_0x190aa2._0x464816,0x21c)],_0x16bcd1[_0x19c4a0(_0x190aa2._0x17ff1e,_0x190aa2._0x246054,0x10b,0x110)]);let _0x5e5bd7=0x0,_0x41e31c=_0x16bcd1[_0x294d5f(0x397,_0x190aa2._0x5aa4e3,_0x190aa2._0x3bd209,_0x190aa2._0x15bb82)]+0x1;const _0x474cd4=[];while(_0x5e5bd7<_0x503608){const _0x22f845=Math[_0x19c4a0(_0x190aa2._0xa2db71,_0x190aa2._0x16f1b9,0x8d,0x29)](0xa,_0x503608-_0x5e5bd7),_0x17a16f=new URL(_0x19c4a0(_0x190aa2._0x4494b0,-_0x190aa2._0x835c95,0xea,_0x190aa2._0x5743a5));_0x17a16f['searchParams'][_0x19c4a0(0xe7,0x145,_0x190aa2._0x372837,_0x190aa2._0x38c249)](_0x294d5f(0x37f,0x44f,0x321,0x478),_0x1eb60f[_0x19c4a0(0x137,0x2ce,0x273,_0x190aa2._0x2162ee)]),_0x17a16f[_0x19c4a0(_0x190aa2._0x54de5c,_0x190aa2._0x4e8c6e,0x2a8,_0x190aa2._0x5a733f)]['set']('cx',_0x1eb60f[_0x294d5f(_0x190aa2._0x2ee9e8,0x2fa,0x385,0x39d)]),_0x17a16f[_0x294d5f(0x39a,_0x190aa2._0x95c7af,_0x190aa2._0xef528,0x2e0)][_0x19c4a0(0x46,0x259,0x12e,_0x190aa2._0x1727f5)]('q',_0x866a11),_0x17a16f[_0x19c4a0(_0x190aa2._0x5d83f3,_0x190aa2._0x5ef1d1,0x2a8,_0x190aa2._0x5658a9)]['set']('num',String(_0x22f845)),_0x17a16f[_0x19c4a0(_0x190aa2._0x145a06,_0x190aa2._0x41b95b,0x2a8,0x17f)]['set'](_0x294d5f(_0x190aa2._0x4e5ee2,_0x190aa2._0x114ede,_0x190aa2._0x2550ec,_0x190aa2._0x15e2f4),String(_0x41e31c)),_0x17a16f['searchParams'][_0x19c4a0(_0x190aa2._0x5dfca6,-0x33,_0x190aa2._0x9d6ca8,0x6e)](_0x294d5f(_0x190aa2._0x1d24bf,0x250,_0x190aa2._0x103e7b,_0x190aa2._0x4aa74b),_0x16bcd1[_0x19c4a0(-_0x190aa2._0x20d6e0,0x1d4,0xfe,-0x1e)]?_0x294d5f(_0x190aa2._0x30a283,0x17f,_0x190aa2._0x302cdd,_0x190aa2._0x464816):_0x19c4a0(0x3c6,0x173,_0x190aa2._0x489f5a,0x1bc));_0x16bcd1[_0x19c4a0(_0x190aa2._0x1cc0b6,_0x190aa2._0x114216,0x1c8,0xd7)]&&(_0x17a16f['searchParams'][_0x19c4a0(0x134,_0x190aa2._0xa25173,_0x190aa2._0x9d6ca8,0x1d1)]('hl',_0x16bcd1['lang']),_0x17a16f['searchParams'][_0x19c4a0(_0x190aa2._0x4cef22,0x254,_0x190aa2._0x9d6ca8,0x29b)]('lr',_0x294d5f(_0x190aa2._0x4f38f9,_0x190aa2._0x2b8900,_0x190aa2._0x1a1617,0x37d)+_0x16bcd1['lang']));if(_0x16bcd1['region'])_0x17a16f[_0x294d5f(_0x190aa2._0x41af4f,_0x190aa2._0x5b00c7,0x41c,_0x190aa2._0x258189)][_0x19c4a0(_0x190aa2._0x341c80,_0x190aa2._0x17b19a,0x12e,0x269)]('gl',_0x16bcd1[_0x19c4a0(0x122,0x225,_0x190aa2._0xebea36,0x3c9)][_0x294d5f(0x43e,_0x190aa2._0x6bd4fb,0x2d3,_0x190aa2._0x4d3b88)]());if(_0x16bcd1[_0x294d5f(_0x190aa2._0x18a415,_0x190aa2._0x2faf19,0x4cf,0x5c7)]==='images')_0x17a16f[_0x19c4a0(0x3b5,_0x190aa2._0x3268e7,_0x190aa2._0x58b946,0x191)]['set'](_0x19c4a0(0x223,_0x190aa2._0x1a48cb,_0x190aa2._0x25515f,_0x190aa2._0x3c7bee),'image');if(_0x4c3a36)_0x17a16f['searchParams']['set']('dateRestrict',_0x4c3a36);const _0x26d102=await fetchJson(_0x17a16f[_0x19c4a0(0x136,_0x190aa2._0x482c69,_0x190aa2._0x4816d0,0x24b)](),_0x5b3109),_0x18a081=_0x26d102['items']??[];if(_0x18a081[_0x294d5f(_0x190aa2._0x53d20f,_0x190aa2._0x13cd62,0x45e,_0x190aa2._0x5a7319)]===0x0)break;const _0x2cbfb3=_0x5e5bd7;for(let _0x201589=0x0;_0x201589<_0x18a081['length'];_0x201589++){const _0x7aa0eb=_0x18a081[_0x201589];if(!_0x7aa0eb)continue;const _0x2545e9=_0x7aa0eb['link']||_0x7aa0eb[_0x19c4a0(-_0x190aa2._0x331cdb,-_0x190aa2._0x835c95,_0x190aa2._0x1519a2,-0x60)]?.[_0x294d5f(_0x190aa2._0x200989,0x3c9,0x4b6,_0x190aa2._0x786b1e)]||'',_0x2329ae=_0x7aa0eb[_0x19c4a0(0xe3,0x30f,_0x190aa2._0x315f33,0xe7)]||_0x7aa0eb[_0x19c4a0(-_0x190aa2._0x4a4ff7,_0x190aa2._0x2acf45,0xc1,-0x90)]?.[_0x19c4a0(0x1f9,_0x190aa2._0x5bf56f,0x19a,0x2fc)]||_0x19c4a0(0x1d9,0x1ce,_0x190aa2._0x2fe514,0x7f),_0x347ed2=_0x7aa0eb['snippet']||_0x7aa0eb[_0x294d5f(_0x190aa2._0x22f82b,0x442,_0x190aa2._0x443f05,0x1d6)]?.[_0x19c4a0(_0x190aa2._0x46af09,_0x190aa2._0x397796,_0x190aa2._0x362e62,_0x190aa2._0x53e323)](/<[^>]+>/g,''),_0x220c53=_0x7aa0eb['pagemap']?.[_0x294d5f(_0x190aa2._0x48c51f,_0x190aa2._0x461aa5,_0x190aa2._0x9e489d,0xe1)]?.[0x0]??{};let _0x431cb2;try{_0x431cb2=new URL(_0x2545e9)[_0x294d5f(_0x190aa2._0x5a2d63,_0x190aa2._0x245a97,_0x190aa2._0x306f48,0x363)];}catch{_0x431cb2=null;}_0x474cd4[_0x19c4a0(0x2ee,0x1c2,0x1aa,_0x190aa2._0x238d8a)]({'title':_0x2329ae,'url':normalizeUrl(_0x2545e9),'snippet':_0x347ed2??null,'displayUrl':_0x431cb2,'favicon':null,'publishedAt':_0x220c53[_0x19c4a0(0x328,0x30b,_0x190aa2._0x33faf5,_0x190aa2._0x136a2a)]||_0x220c53[_0x294d5f(_0x190aa2._0x48d132,_0x190aa2._0x58ce45,0x27a,0x2d9)]||null,'source':{'engine':'google-cse','rank':_0x2cbfb3+_0x201589+0x1}});}_0x5e5bd7+=_0x18a081[_0x294d5f(_0x190aa2._0x108ecd,_0x190aa2._0x46ad17,_0x190aa2._0x358ddb,0x323)],_0x41e31c+=_0x18a081[_0x19c4a0(0x183,_0x190aa2._0x1cc0b6,0x2ea,0x1ff)];if(_0x18a081[_0x19c4a0(_0x190aa2._0x588b6e,0x2d5,0x2ea,0x448)]<_0x22f845)break;}return _0x474cd4['slice'](0x0,_0x503608);}function isGoogleCseEngine(_0x13662f){return'googleCseKey'in _0x13662f;}function _0x3bdd(_0x197667,_0x472eb6){_0x197667=_0x197667-0x1c7;const _0x770d22=_0x770d();let _0x3bdd1d=_0x770d22[_0x197667];if(_0x3bdd['LDdWTW']===undefined){var _0x31d8fd=function(_0x1789e3){const _0x112f66='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x306edd='',_0x33fb2='';for(let _0x5a46d6=0x0,_0x18404d,_0x251ef4,_0x1c9354=0x0;_0x251ef4=_0x1789e3['charAt'](_0x1c9354++);~_0x251ef4&&(_0x18404d=_0x5a46d6%0x4?_0x18404d*0x40+_0x251ef4:_0x251ef4,_0x5a46d6++%0x4)?_0x306edd+=String['fromCharCode'](0xff&_0x18404d>>(-0x2*_0x5a46d6&0x6)):0x0){_0x251ef4=_0x112f66['indexOf'](_0x251ef4);}for(let _0x4a1fd2=0x0,_0xd46fc8=_0x306edd['length'];_0x4a1fd2<_0xd46fc8;_0x4a1fd2++){_0x33fb2+='%'+('00'+_0x306edd['charCodeAt'](_0x4a1fd2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x33fb2);};_0x3bdd['djzAsS']=_0x31d8fd,_0x3bdd['cnRGRy']={},_0x3bdd['LDdWTW']=!![];}const _0x1b777c=_0x770d22[0x0],_0xcf0112=_0x197667+_0x1b777c,_0x183bd7=_0x3bdd['cnRGRy'][_0xcf0112];return!_0x183bd7?(_0x3bdd1d=_0x3bdd['djzAsS'](_0x3bdd1d),_0x3bdd['cnRGRy'][_0xcf0112]=_0x3bdd1d):_0x3bdd1d=_0x183bd7,_0x3bdd1d;}function isOllamaEngine(_0x1cf676){return'apiKey'in _0x1cf676;}function isTavilyEngine(_0x2e9ea2){const _0x1543bb={_0x41d0da:0x4e5},_0x428a76={_0x5b660c:0x3};function _0x432577(_0x4e16aa,_0x4fb1a1,_0x23c116,_0x58bc04){return _0x55c88d(_0x4e16aa-0x1e7,_0x4e16aa-0x51,_0x58bc04,_0x58bc04-_0x428a76._0x5b660c);}return _0x432577(0x4f9,0x612,_0x1543bb._0x41d0da,0x65d)in _0x2e9ea2;}function createWebSearchTool(_0x403aef){const _0x3f2038={_0x244f00:0x1d1,_0x793137:0x415,_0x40fced:0x2ce,_0x47ffd0:0x31d,_0x50d238:0x1d3,_0x3a0e49:0x277,_0x554e54:0x433,_0x57f9ad:0x509,_0x39b5e9:0x389,_0x4928d4:0x213,_0x1eb3b0:0x3c5,_0x5bc3f0:0x314,_0x215970:0x2ab,_0x7ccbd8:0x30e,_0x2c735e:0x3ec,_0x310b27:0x3f0,_0x28ed1c:0x2b4,_0x3e24af:0x320,_0x3098c7:0x393,_0x3d2fa0:0x238,_0x78a2ba:0x487,_0x5acdbb:0x1dc,_0x3f3ce0:0x20c,_0x479812:0x17b,_0x1948b3:0x4f6,_0x454ea6:0x2df,_0x1e53e6:0x18a,_0x4c7a9a:0x2eb,_0x32cde4:0x150,_0x5ab08b:0x47,_0x2fd811:0xf1,_0x52aeda:0x2e8,_0x5f2a0e:0x19d,_0x2fc2ff:0xf0},_0x2ff9a8={_0x2f3b8a:0x79b,_0x2efa7c:0x7e2,_0x8dddf8:0x562,_0x54f86d:0x208,_0x494884:0x5a5,_0x48fb83:0x5e6,_0x5c6b69:0x89d,_0x1a686d:0x57b,_0x5f4e5b:0x659,_0x26e0a4:0x523,_0x586749:0x333,_0x3054fd:0x43,_0x9500d4:0x771,_0x195dc1:0x4b0,_0x1a21e1:0x8af,_0x14579e:0x863,_0x22e65a:0x8f2,_0x3c9982:0x6a0,_0x4f8a74:0x705,_0x4c04de:0x28,_0x5404df:0x1d2,_0x1cca91:0x1e3,_0x246b5c:0x748,_0x390ee4:0x88e,_0x597f55:0xc1,_0x668a78:0x6ea,_0x327500:0x861,_0x283390:0x2b,_0x536660:0xcf,_0x3ebc1a:0x7b,_0x512307:0x4,_0xf3e6d2:0x72,_0x220169:0x665,_0x516af2:0x47f,_0x4898bc:0x6bb,_0x268fec:0x4a,_0x49b985:0x6e,_0x279de8:0x6,_0x331d54:0x1ca,_0x4cc06e:0x38,_0xcd1e92:0x94c,_0x2e4c34:0x43,_0x2db306:0x2b,_0x1c2d70:0x74b,_0x335c9d:0x62b,_0x881bc3:0x607,_0x34ea4f:0x80a,_0x119ae7:0x1a7,_0x5b26cc:0x10,_0x13165b:0x76a,_0x3c6ffb:0x54c,_0x26e98c:0x43,_0xe4fbe6:0x91,_0x43b97c:0x759,_0x46b067:0x6f0,_0x19a5ea:0x6e8,_0x2b623a:0x699,_0x446784:0x56,_0x4b6a9b:0x7fb,_0x41aee2:0x7bc,_0x4d7b98:0x6d7,_0x1de994:0x670,_0x51ad46:0x74c,_0x118f1a:0x7ce,_0xb4311a:0x482,_0x4349ca:0x47d,_0x53dc07:0x9b8,_0x21b3bb:0x859,_0x11ea55:0x6e5,_0x28cbed:0x144,_0x57ee8b:0x7fa,_0x7aee3:0x86a},_0x41fa32={_0x553271:0x4c4,_0x4c4515:0x3d7,_0x17d811:0x413,_0x154f4d:0x48f,_0x24c16d:0x369,_0x3f8aba:0x564,_0x38b2d5:0x5a0,_0x5b5957:0x30e,_0x146024:0x44e},_0x59fc33={_0x247ce0:0x385,_0x19b546:0x112},_0x1707e7={_0x534fa8:0x35d};if(!_0x403aef[_0x2568f1(_0x3f2038._0x244f00,0x306,_0x3f2038._0x793137,0x2db)]||_0x403aef['engines'][_0x2568f1(0x271,0x28a,0x376,_0x3f2038._0x40fced)]===0x0)throw new Error(_0x2568f1(0x3dd,_0x3f2038._0x47ffd0,_0x3f2038._0x50d238,_0x3f2038._0x3a0e49));function _0x2568f1(_0x3967c0,_0x4fddfd,_0x1be809,_0x490c4c){return _0x55c88d(_0x3967c0-0xc4,_0x490c4c- -0x263,_0x1be809,_0x490c4c-0xc0);}const _0x56397a=_0x403aef[_0x6b78b8(_0x3f2038._0x554e54,_0x3f2038._0x57f9ad,_0x3f2038._0x39b5e9,0x32e)]??'WebSearch',_0x192ac2=_0x403aef[_0x2568f1(_0x3f2038._0x4928d4,0x440,_0x3f2038._0x1eb3b0,_0x3f2038._0x5bc3f0)];function _0x6b78b8(_0xc25848,_0x41ffab,_0xdb15e9,_0x334b3d){return _0x1e45aa(_0xc25848-0x110,_0x41ffab-0x88,_0xc25848- -_0x1707e7._0x534fa8,_0x41ffab);}return defineTool({'name':_0x56397a,'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x6b78b8(_0x3f2038._0x215970,_0x3f2038._0x7ccbd8,_0x3f2038._0x2c735e,0x421),'properties':{'description':{'type':_0x6b78b8(0x3c2,_0x3f2038._0x310b27,_0x3f2038._0x28ed1c,0x2dc)},'query':{'type':_0x2568f1(0x89,0x371,_0x3f2038._0x3e24af,0x20b)},'count':{'type':_0x6b78b8(_0x3f2038._0x3098c7,_0x3f2038._0x3d2fa0,_0x3f2038._0x78a2ba,0x49b)},'offset':{'type':_0x2568f1(0x22d,0x1ec,0x218,_0x3f2038._0x5acdbb)},'domains':{'type':_0x2568f1(_0x3f2038._0x3f3ce0,_0x3f2038._0x479812,0x3cc,0x254),'items':{'type':_0x6b78b8(0x3c2,_0x3f2038._0x1948b3,0x3d0,_0x3f2038._0x454ea6)}},'recencyDays':{'type':_0x2568f1(_0x3f2038._0x1e53e6,0xf4,0x7a,_0x3f2038._0x5acdbb)},'lang':{'type':_0x2568f1(_0x3f2038._0x4c7a9a,0x1b3,_0x3f2038._0x32cde4,0x20b)},'region':{'type':'string'},'safe':{'type':_0x2568f1(_0x3f2038._0x5ab08b,_0x3f2038._0x2fd811,0x121,0x131)},'type':{'type':'string'},'hydrateMeta':{'type':_0x6b78b8(_0x3f2038._0x52aeda,0x31f,_0x3f2038._0x3098c7,_0x3f2038._0x5f2a0e)}},'required':[_0x2568f1(0x12,_0x3f2038._0x2fc2ff,0x81,0x6a)]},async *'execute'(_0x2e87b9,_0x100dcf){const _0x271ab5={_0x2ad639:0x260},_0x12ffe3={_0x12d294:0xf2,_0x209acc:0x19a},_0x261432={_0xdccf34:0xac},_0x20f713=_0x2e87b9['query']['trim']();function _0x2d21b4(_0x41272d,_0xd46d51,_0x31e18,_0x4e524c){return _0x6b78b8(_0x31e18-_0x59fc33._0x247ce0,_0xd46d51,_0x31e18-0x120,_0x4e524c-_0x59fc33._0x19b546);}if(!_0x20f713)throw new ToolExecutionError(_0x2d21b4(0x7b2,_0x2ff9a8._0x2f3b8a,_0x2ff9a8._0x2efa7c,0x6e8));const _0x5a6b9d={'query':_0x20f713,'count':Math[_0x2d21b4(0x555,0x54f,0x659,_0x2ff9a8._0x8dddf8)](0x1,Math[_0x3e2c1c(-0x347,-0x1ef,-0x22e,-_0x2ff9a8._0x54f86d)](0x32,Math[_0x3e2c1c(-0xb7,-0x1b6,-0x242,-0x230)](_0x2e87b9[_0x2d21b4(0x942,0x7b9,0x7fa,0x940)]??0xa))),'offset':Math['max'](0x0,Math[_0x2d21b4(0x68a,_0x2ff9a8._0x494884,_0x2ff9a8._0x48fb83,0x674)](_0x2e87b9[_0x2d21b4(_0x2ff9a8._0x5c6b69,0x786,0x856,0x9bd)]??0x0)),'domains':_0x2e87b9['domains']??[],'recencyDays':Math[_0x2d21b4(_0x2ff9a8._0x1a686d,0x51a,_0x2ff9a8._0x5f4e5b,_0x2ff9a8._0x26e0a4)](0x0,Math[_0x3e2c1c(-0x289,-0x1b6,-_0x2ff9a8._0x586749,-0x118)](_0x2e87b9[_0x3e2c1c(0x129,-_0x2ff9a8._0x3054fd,-0xbb,-0x15b)]??0x0)),'lang':_0x2e87b9['lang']??'en','region':_0x2e87b9['region']??'','safe':_0x2e87b9[_0x2d21b4(_0x2ff9a8._0x9500d4,_0x2ff9a8._0x195dc1,0x61e,0x753)]??!![],'type':normalizeType(_0x2e87b9['type']),'hydrateMeta':_0x2e87b9['hydrateMeta']??![]};let _0x423809=[],_0x4d425f=_0x2d21b4(0x6eb,_0x2ff9a8._0x1a21e1,_0x2ff9a8._0x14579e,0x879);for(const _0x1288b6 of _0x403aef[_0x2d21b4(_0x2ff9a8._0x22e65a,_0x2ff9a8._0x3c9982,0x817,_0x2ff9a8._0x4f8a74)]){try{if(isGoogleCseEngine(_0x1288b6))_0x423809=await searchGoogleCse(_0x1288b6,_0x5a6b9d,_0x100dcf['signal']),_0x4d425f=_0x3e2c1c(_0x2ff9a8._0x4c04de,-0x145,-_0x2ff9a8._0x5404df,-_0x2ff9a8._0x1cca91);else{if(isOllamaEngine(_0x1288b6)){const _0x5129fd=await searchOllama(_0x1288b6,_0x5a6b9d,_0x100dcf[_0x2d21b4(0x81f,_0x2ff9a8._0x246b5c,_0x2ff9a8._0x390ee4,0x951)]);_0x423809=_0x5129fd[_0x3e2c1c(0x21b,0xc5,_0x2ff9a8._0x597f55,-0x16)],_0x4d425f=_0x5129fd[_0x2d21b4(0x75f,0x8f5,0x824,0x81c)];}else{if(isTavilyEngine(_0x1288b6)){const _0x9544b1=await searchTavily(_0x1288b6,_0x5a6b9d,_0x100dcf[_0x2d21b4(0x9ba,0x77d,_0x2ff9a8._0x390ee4,0x74b)]);_0x423809=_0x9544b1[_0x2d21b4(_0x2ff9a8._0x668a78,0x94d,_0x2ff9a8._0x327500,0x9ad)],_0x4d425f=_0x9544b1['engine'];}}}if(_0x423809['length']>0x0)break;}catch(_0x1bccb1){if(_0x1288b6===_0x403aef[_0x3e2c1c(_0x2ff9a8._0x283390,0x7b,_0x2ff9a8._0x536660,-0x4a)][_0x403aef[_0x3e2c1c(0x97,_0x2ff9a8._0x3ebc1a,-_0x2ff9a8._0x512307,_0x2ff9a8._0xf3e6d2)]['length']-0x1])throw _0x1bccb1;}}_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x220169,_0x2ff9a8._0x516af2,0x589,_0x2ff9a8._0x4898bc)]&&_0x423809[_0x3e2c1c(-_0x2ff9a8._0x268fec,_0x2ff9a8._0x49b985,0x20,-_0x2ff9a8._0x279de8)]>0x0&&(_0x423809=await hydrateResults(_0x423809,_0x5a6b9d[_0x3e2c1c(-0x16f,-0xb4,-_0x2ff9a8._0x331d54,-_0x2ff9a8._0x4cc06e)],_0x100dcf[_0x2d21b4(_0x2ff9a8._0xcd1e92,0x800,_0x2ff9a8._0x390ee4,0x7a9)],_0x192ac2));const _0x548401=new Set();_0x423809=_0x423809[_0x3e2c1c(0x215,0xee,_0x2ff9a8._0x2e4c34,_0x2ff9a8._0x2db306)](_0x58dcf1=>{function _0xd40779(_0x446b92,_0x58325c,_0x31d5ac,_0x2bc5c4){return _0x2d21b4(_0x446b92-0xf4,_0x58325c,_0x2bc5c4- -0x332,_0x2bc5c4-_0x261432._0xdccf34);}function _0x13a350(_0x59b4a1,_0x22e97a,_0x513bf5,_0x60dd1e){return _0x3e2c1c(_0x59b4a1-_0x12ffe3._0x12d294,_0x22e97a-0x55b,_0x513bf5-_0x12ffe3._0x209acc,_0x59b4a1);}const _0x56acb7=_0x58dcf1[_0xd40779(0x399,0x597,0x368,_0x41fa32._0x553271)][_0x13a350(_0x41fa32._0x4c4515,_0x41fa32._0x17d811,_0x41fa32._0x154f4d,_0x41fa32._0x24c16d)]();if(!_0x56acb7||_0x548401[_0xd40779(_0x41fa32._0x3f8aba,_0x41fa32._0x38b2d5,_0x41fa32._0x5b5957,_0x41fa32._0x146024)](_0x56acb7))return![];return _0x548401['add'](_0x56acb7),!![];}),_0x423809=_0x423809['map']((_0x1d67ca,_0x223f66)=>({..._0x1d67ca,'source':{..._0x1d67ca[_0x2d21b4(0x953,0x94a,0x7e4,0x82a)],'rank':_0x223f66+0x1}}));const _0x5f0a6b={};if(_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x1c2d70,0x710,_0x2ff9a8._0x335c9d,_0x2ff9a8._0x881bc3)][_0x2d21b4(0x759,0x92f,_0x2ff9a8._0x34ea4f,0x8ab)]>0x0)_0x5f0a6b[_0x3e2c1c(-_0x2ff9a8._0x119ae7,-0x171,-_0x2ff9a8._0x5b26cc,-0x2d8)]=_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x13165b,0x74e,0x62b,_0x2ff9a8._0x3c6ffb)];if(_0x5a6b9d[_0x3e2c1c(-0x158,-_0x2ff9a8._0x26e98c,-_0x2ff9a8._0xe4fbe6,0xed)]>0x0)_0x5f0a6b[_0x2d21b4(0x6fb,0x808,_0x2ff9a8._0x43b97c,0x8a2)]=_0x5a6b9d['recencyDays'];if(_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x46b067,0x72e,_0x2ff9a8._0x19a5ea,_0x2ff9a8._0x2b623a)]!=='en')_0x5f0a6b[_0x3e2c1c(0x3c,-0xb4,-0xd4,-_0x2ff9a8._0x446784)]=_0x5a6b9d[_0x2d21b4(0x6b2,0x5b1,_0x2ff9a8._0x19a5ea,0x66b)];if(_0x5a6b9d['region'])_0x5f0a6b[_0x2d21b4(_0x2ff9a8._0x4b6a9b,0x66b,_0x2ff9a8._0x41aee2,_0x2ff9a8._0x4d7b98)]=_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x1de994,_0x2ff9a8._0x51ad46,_0x2ff9a8._0x41aee2,_0x2ff9a8._0x118f1a)];function _0x3e2c1c(_0x2e87c2,_0x59ca8a,_0x5cfee1,_0x9db9e1){return _0x2568f1(_0x2e87c2-0x96,_0x59ca8a-0x116,_0x9db9e1,_0x59ca8a- -_0x271ab5._0x2ad639);}return yield createToolOutput(formatResults(_0x423809),{'engine':_0x4d425f,'count':_0x423809['length'],'items':_0x423809,'query':_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0xb4311a,0x66e,0x5a6,_0x2ff9a8._0x4349ca)],...Object[_0x2d21b4(0x7fa,_0x2ff9a8._0x53dc07,_0x2ff9a8._0x21b3bb,_0x2ff9a8._0x11ea55)](_0x5f0a6b)[_0x3e2c1c(-0x1b,_0x2ff9a8._0x49b985,_0x2ff9a8._0x28cbed,0x5d)]>0x0?{'appliedFilters':_0x5f0a6b}:{},'offset':_0x5a6b9d[_0x3e2c1c(-0xc4,0xba,0x236,0x21a)],'totalRequested':_0x5a6b9d[_0x2d21b4(0x78f,0x6c2,_0x2ff9a8._0x57ee8b,_0x2ff9a8._0x7aee3)],'hydrated':_0x5a6b9d[_0x3e2c1c(-0x1d3,-0x213,-0x378,-0x222)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
1
+ (function(_0x341fa2,_0x117ff2){const _0x291f62={_0x23f459:0x25a,_0x59a281:0x291,_0x3130d9:0x294,_0x2a725d:0x38a,_0x25f97d:0x28e,_0x540b88:0x3db,_0x500f87:0x310,_0x17d6d6:0x3ad,_0x4f2a5b:0x405,_0x236f91:0x413,_0x4ce094:0x22f,_0x487d8f:0x50a,_0x1c1f4f:0x2bc,_0x5c5f25:0x332,_0x4bb7f1:0xe1,_0x11d28c:0x478,_0x5b04f3:0x5b9,_0x4c5025:0x412,_0x1effa7:0x3ea},_0x2fd729={_0x38440b:0x173};function _0x5dcd1c(_0x14372b,_0x2804f6,_0x7a6088,_0x16bcea){return _0x59f9(_0x16bcea-0x136,_0x7a6088);}const _0x5d6a00=_0x341fa2();function _0x43791e(_0x29a33e,_0x23a731,_0x58f70f,_0x3aa41e){return _0x59f9(_0x3aa41e-_0x2fd729._0x38440b,_0x23a731);}while(!![]){try{const _0x1d1bc0=-parseInt(_0x5dcd1c(0x1cf,0x2bc,_0x291f62._0x23f459,0x28e))/0x1*(-parseInt(_0x43791e(0x2de,0x118,_0x291f62._0x59a281,_0x291f62._0x3130d9))/0x2)+-parseInt(_0x43791e(0x1c0,0x220,_0x291f62._0x2a725d,_0x291f62._0x25f97d))/0x3*(parseInt(_0x5dcd1c(_0x291f62._0x540b88,_0x291f62._0x500f87,0x25b,_0x291f62._0x17d6d6))/0x4)+parseInt(_0x5dcd1c(0x32f,_0x291f62._0x4f2a5b,0x3b6,_0x291f62._0x236f91))/0x5*(parseInt(_0x5dcd1c(_0x291f62._0x4ce094,0x3a2,0x23c,_0x291f62._0x500f87))/0x6)+parseInt(_0x5dcd1c(_0x291f62._0x487d8f,0x32d,0x36c,0x40b))/0x7+parseInt(_0x5dcd1c(_0x291f62._0x1c1f4f,_0x291f62._0x5c5f25,_0x291f62._0x4bb7f1,0x20b))/0x8+-parseInt(_0x5dcd1c(0x328,0x4cd,0x498,_0x291f62._0x11d28c))/0x9*(-parseInt(_0x5dcd1c(_0x291f62._0x5b04f3,0x598,0x2e3,0x443))/0xa)+-parseInt(_0x5dcd1c(0x401,_0x291f62._0x4c5025,_0x291f62._0x1effa7,0x403))/0xb;if(_0x1d1bc0===_0x117ff2)break;else _0x5d6a00['push'](_0x5d6a00['shift']());}catch(_0x45b902){_0x5d6a00['push'](_0x5d6a00['shift']());}}}(_0x5311,0xb4df9));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-UIXQPCSN.js';import{getTextFromMessage}from'../chunk-YWQXXHHU.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 _0x310533 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x48c1e5(0x410,0x4a8,0x384,0x492),'.tsx':_0x42cde8(0x14c,-0xa,0x25,0x5a),'.js':'javascript','.jsx':'javascriptreact','.mjs':'javascript','.cjs':_0x48c1e5(0x34c,0x20b,0x1e9,0x3ab),'.mts':_0x48c1e5(0x410,0x2fb,0x4d3,0x511),'.cts':'typescript','.json':_0x48c1e5(0x397,0x474,0x347,0x364),'.jsonc':'jsonc'};function getLanguageId(_0x4e4877){const _0x5a3090={_0x5c376c:0x133,_0x10dd39:0xb7},_0x372da3={_0x4e8540:0x4d,_0x1ac60c:0x2c1,_0x59c3ff:0x12c},_0x110aa6={_0xbfce02:0x1da};function _0x242e84(_0x5ead93,_0x2ec19f,_0x543687,_0x3766f3){return _0x42cde8(_0x5ead93-_0x110aa6._0xbfce02,_0x2ec19f-0x20d,_0x543687-0x164,_0x3766f3);}function _0x26d995(_0x1c131f,_0x55b371,_0x19a997,_0x33dc6d){return _0x42cde8(_0x1c131f-_0x372da3._0x4e8540,_0x33dc6d-_0x372da3._0x1ac60c,_0x19a997-_0x372da3._0x59c3ff,_0x55b371);}return EXTENSION_TO_LANGUAGE[_0x310533[_0x242e84(0x6b,_0x5a3090._0x5c376c,0xcf,_0x5a3090._0x10dd39)](_0x4e4877)[_0x242e84(0x290,0x342,0x391,0x247)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0xc443f3){const _0x3f5e76={_0x37f4ed:0x193},_0x2513a5={_0x2185ec:0x11e};function _0x22941f(_0x1a778a,_0x4ca0e3,_0x2a2669,_0x21449d){return _0x42cde8(_0x1a778a-0x61,_0x21449d-0xf2,_0x2a2669-_0x2513a5._0x2185ec,_0x1a778a);}return pathToFileURL(_0xc443f3)[_0x22941f(0x3ae,0x26b,_0x3f5e76._0x37f4ed,0x274)]();}function textDocumentPosition(_0x1ff6eb){const _0x515dd0={_0x408b1c:0x2b,_0x89881:0x19a};function _0x51592a(_0x3f0b5f,_0x4d0fdc,_0x4669de,_0x51c1b8){return _0x42cde8(_0x3f0b5f-0xd9,_0x4669de-0x107,_0x4669de-0x1b7,_0x4d0fdc);}return{'textDocument':{'uri':uriForPath(_0x1ff6eb['file'])},'position':{'line':_0x1ff6eb[_0x51592a(0x1e7,_0x515dd0._0x408b1c,_0x515dd0._0x89881,0x13b)],'character':_0x1ff6eb['character']}};}function normalizeLocations(_0x2f2fed){const _0x12b7e3={_0x52dbd7:0xb2,_0x2b6ac6:0xc6},_0x410211={_0x4c4192:0xcd};function _0x578caa(_0x4842be,_0x3c26c6,_0x35ad1c,_0x2d282f){return _0x42cde8(_0x4842be-0xea,_0x2d282f-_0x410211._0x4c4192,_0x35ad1c-0x13c,_0x3c26c6);}if(!_0x2f2fed)return[];return Array[_0x578caa(-_0x12b7e3._0x52dbd7,0x27,-_0x12b7e3._0x2b6ac6,0xa9)](_0x2f2fed)?_0x2f2fed:[_0x2f2fed];}async function createLspClient(_0x468fa4){const _0x23d57c={_0x496779:0x2f2,_0xa210ae:0x3b5,_0x30d882:0x2ff,_0x17d209:0x467,_0x2cc2c2:0x4b6,_0x5c4e67:0x37e,_0x59fc9e:0x4cd,_0x497502:0x358,_0x19b23b:0x361,_0x3cdefe:0x2d1,_0x1994c2:0x40e,_0x1e45c5:0x60f,_0x476e4e:0x564,_0x121f38:0x41d,_0x36a187:0x447,_0x394d5b:0x578,_0x398e28:0x57c,_0x541629:0x5cd,_0x579e0b:0x5f4,_0x548014:0x4a4,_0x182a58:0x65a,_0xd8cabc:0x585,_0x40191b:0x5cb,_0x394cdc:0x5e8,_0x51cd2d:0x5f1,_0x37fd37:0x2c4,_0x2eb521:0x2be,_0x3d1ff0:0x4b9,_0x44ef11:0x353,_0x540ad4:0x2f5,_0x5e3647:0x300,_0x4e8ea5:0x521,_0x1e77de:0x6dc,_0x12aacc:0x540,_0xaa3f88:0x421,_0x208806:0x43a,_0xe22ce3:0x4d6,_0x47a46a:0x5cb,_0x214b82:0x4bf,_0x460e79:0x330,_0x216a6a:0x415},_0x14a36d={_0x1f09d6:0xa9,_0x1ac8cc:0x22e,_0x3e0020:0x53e,_0x58aa2c:0x465,_0x2d8d9b:0x347,_0x3d38ae:0x51,_0x55ce66:0x1fc,_0x2f6356:0x12d,_0x341861:0x1fe,_0x3584c2:0x1c4},_0x4c9189={_0xf42fd0:0x129},_0x36fbb7={_0x3f6b42:0x1a0},_0x2a48cf={_0x218612:0x5b6,_0x2e0242:0x616,_0x41a4d5:0x53a,_0x29625a:0x576},_0x1928b2={_0x1fddd5:0x155,_0x4c7afe:0x1b9,_0x366d39:0x1e,_0x5de425:0x55},_0x5e5e51={_0x43fb5a:0x130,_0x46eef2:0x127},_0x4e48e1={_0x55364c:0x4fb,_0x1335f6:0x536,_0x42393f:0x436,_0x34e7f9:0x33f},_0x47966b={_0x14e86e:0x70},_0x851011={_0x42210:0x6e,_0xeca667:0xe7,_0x25e527:0x2e,_0x5340a1:0x8d,_0x59cad7:0x14b},_0x2d7eb3={_0xe2f3a9:0x495,_0x5f0571:0x193},_0xf77559={_0x2a2646:0xfd,_0xc95bbb:0x2d1,_0x274b6f:0x11c},_0x4c8c22={_0x1c198d:0x182,_0x1004f2:0x13b,_0x5c1a4d:0x44,_0x1a2f6f:0xe0},_0x36c7fe={_0x4fa87e:0x1c9,_0x191ed0:0x200,_0xd27539:0x1b1,_0x65e78e:0x1d0,_0x32ae02:0x121},_0x5cb3ed={_0x27751a:0xae,_0x49824f:0x1a7},_0x5c39a1={_0x47b9a5:0x38},_0x40454={_0x555611:0xb6},_0x5365f2={_0x46b4ac:0x4d3,_0x8f9fc6:0x50e},_0x3e32d2={_0xf6d42:0x1e3},_0x214ebd={_0x127df9:0xea},_0xa60007={_0x26f4f4:0x4b0,_0x3072c0:0x56a,_0x544313:0x58a,_0x3feb54:0x4c4},_0x1c1e5d={_0x45a84c:0x88,_0x58c526:0x130},_0x5c279b={_0x3a49a1:0xa5,_0x5ae4b3:0xcc,_0x435fe3:0x1a5},_0x1f37a2={_0xdda260:0x1fe,_0x319591:0x3af,_0x4f95a0:0x304,_0x3912e1:0x2b7,_0x810133:0x2da,_0x5c817e:0x2a3},_0x345c5e={_0x3b087e:0x2b4},_0x504cb2={_0x4834bb:0x3b,_0x507b9b:0x278,_0x50d53d:0x192},_0xc380b6={_0x14d956:0x50,_0x32795b:0xad},_0x391faa={_0x59c035:0xa3,_0x95463d:0x38,_0x222b05:0xfe,_0x341041:0x373,_0x58a56d:0x29a},_0x318aca={_0x1c1676:0x1c2,_0x37ddcb:0x162},_0x8622f1={_0x263e12:0x715,_0x333856:0x6e2,_0x5c890a:0x582,_0x33bbe6:0x1d1,_0xae849e:0x1b9,_0x1e7395:0x495,_0x5e0684:0x648,_0x58c1bb:0x458},_0x4ea4d7={_0x4284e8:0x1a2},_0x16eb9f={_0x14baf1:0x182,_0x5948ff:0x1b0,_0x2db474:0x123,_0x3b0ada:0xd4,_0x3887b7:0xee,_0x2ce38b:0x251},_0x6c3a20={_0xb601b:0x1c5},_0x3cfb2b={_0x582738:0x107,_0x27c859:0x1a3},_0x335c8a=_0x468fa4[_0x564b8e(_0x23d57c._0x496779,0x48c,_0x23d57c._0xa210ae,_0x23d57c._0x30d882)][_0x2f8c23(_0x23d57c._0x17d209,0x47d,_0x23d57c._0x2cc2c2,_0x23d57c._0x5c4e67)][_0x564b8e(_0x23d57c._0x59fc9e,_0x23d57c._0x497502,_0x23d57c._0x19b23b,0x328)],_0x5c0984=_0x468fa4[_0x564b8e(_0x23d57c._0x3cdefe,0x4d5,_0x23d57c._0xa210ae,0x270)][_0x2f8c23(_0x23d57c._0x1994c2,0x47d,0x59e,0x510)]['stdin'];if(!_0x335c8a||!_0x5c0984)throw new Error(_0x2f8c23(_0x23d57c._0x1e45c5,_0x23d57c._0x476e4e,_0x23d57c._0x121f38,_0x23d57c._0x36a187));const _0x482e68=createMessageConnection(new StreamMessageReader(_0x335c8a),new StreamMessageWriter(_0x5c0984));function _0x2f8c23(_0x588cab,_0x4d3117,_0x3bbf88,_0x5ee51d){return _0x42cde8(_0x588cab-_0x3cfb2b._0x582738,_0x4d3117-0x43b,_0x3bbf88-_0x3cfb2b._0x27c859,_0x5ee51d);}const _0xc5c089=new Map();function _0x564b8e(_0x483230,_0x53e9f8,_0xc779a1,_0x480e82){return _0x42cde8(_0x483230-0x50,_0xc779a1-0x1cd,_0xc779a1-_0x6c3a20._0xb601b,_0x483230);}const _0x5e81a1=new Map();let _0x24b02d=![];_0x482e68['onNotification'](_0x2f8c23(0x69d,0x5ec,0x6db,_0x23d57c._0x394d5b),_0x1ba426=>{const _0x3546ba={_0x3b231c:0x4cb},_0x23f103={_0x9bdd5d:0x127,_0x3d9dcd:0x64};_0xc5c089['set'](_0x1ba426[_0x52994c(_0x16eb9f._0x14baf1,_0x16eb9f._0x5948ff,0x218,_0x16eb9f._0x2db474)],_0x1ba426[_0x52994c(0xff,0x1ed,_0x16eb9f._0x3b0ada,_0x16eb9f._0x3887b7)]);function _0x18f0f2(_0x35cef0,_0x208ffd,_0xbee970,_0x5c7627){return _0x2f8c23(_0x35cef0-_0x23f103._0x9bdd5d,_0x208ffd- -0x68,_0xbee970-_0x23f103._0x3d9dcd,_0x35cef0);}function _0x52994c(_0x2d9cd8,_0x526138,_0x21903c,_0x1a2d5e){return _0x2f8c23(_0x2d9cd8-0x1ac,_0x1a2d5e- -_0x3546ba._0x3b231c,_0x21903c-0x1f4,_0x21903c);}const _0x4d4bb6=_0x5e81a1['get'](_0x1ba426['uri']);if(!_0x4d4bb6)return;_0x5e81a1['delete'](_0x1ba426[_0x52994c(-0x29,0x224,_0x16eb9f._0x2ce38b,0x123)]);for(const _0x500143 of _0x4d4bb6)_0x500143();}),_0x482e68[_0x564b8e(0x11f,0x16d,0x19c,0x15c)]();const _0x2feaef=await _0x482e68[_0x2f8c23(0x645,_0x23d57c._0x398e28,0x415,0x4ff)]('initialize',{'processId':process[_0x2f8c23(_0x23d57c._0x541629,0x610,0x515,0x771)],'rootUri':uriForPath(_0x468fa4['root']),'workspaceFolders':[{'uri':uriForPath(_0x468fa4[_0x2f8c23(0x73b,_0x23d57c._0x579e0b,_0x23d57c._0x548014,_0x23d57c._0x182a58)]),'name':_0x468fa4[_0x2f8c23(_0x23d57c._0xd8cabc,_0x23d57c._0x40191b,_0x23d57c._0x394cdc,_0x23d57c._0x51cd2d)]['id']}],'initializationOptions':_0x468fa4[_0x564b8e(_0x23d57c._0x37fd37,0x4d8,_0x23d57c._0xa210ae,_0x23d57c._0x2eb521)][_0x2f8c23(_0x23d57c._0x3d1ff0,_0x23d57c._0x44ef11,_0x23d57c._0x540ad4,_0x23d57c._0x5e3647)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown','plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x482e68[_0x2f8c23(_0x23d57c._0x4e8ea5,0x602,_0x23d57c._0x1e77de,_0x23d57c._0x12aacc)](_0x2f8c23(_0x23d57c._0xaa3f88,_0x23d57c._0x208806,0x3fe,0x457),{});const _0x30405b={'serverId':_0x468fa4[_0x2f8c23(_0x23d57c._0xe22ce3,_0x23d57c._0x47a46a,_0x23d57c._0x214b82,0x541)]['id'],'root':_0x468fa4['root'],'connection':_0x482e68,'diagnostics':_0xc5c089,'capabilities':_0x2feaef[_0x564b8e(0x2f2,0x43a,_0x23d57c._0x460e79,_0x23d57c._0x216a6a)]??{},'notify':{async 'open'({path:_0x497fe7}){function _0x465e33(_0x38ee1a,_0x1cded0,_0x4603b7,_0x53eafe){return _0x2f8c23(_0x38ee1a-0x1b1,_0x1cded0- -0x2cb,_0x4603b7-0xb3,_0x53eafe);}function _0x54fd5d(_0x1bdf88,_0x40bee3,_0x37dd62,_0x4a4401){return _0x564b8e(_0x4a4401,_0x40bee3-0xa3,_0x37dd62-0x34e,_0x4a4401-_0x4ea4d7._0x4284e8);}const _0x1b7245=await readFile(_0x497fe7,_0x54fd5d(0x5c3,0x544,0x4d6,0x623));_0x482e68[_0x54fd5d(_0x8622f1._0x263e12,0x67e,_0x8622f1._0x333856,_0x8622f1._0x5c890a)](_0x465e33(_0x8622f1._0x33bbe6,0x141,_0x8622f1._0xae849e,0x26d),{'textDocument':{'uri':uriForPath(_0x497fe7),'languageId':getLanguageId(_0x497fe7)??_0x54fd5d(_0x8622f1._0x1e7395,_0x8622f1._0x5e0684,0x596,_0x8622f1._0x58c1bb),'version':0x1,'text':_0x1b7245}});},async 'change'({path:_0x47d1ef,version:_0x429230}){const _0x1cf9a5={_0x415538:0x12d,_0x1c87f6:0x1c0,_0x575956:0xa8},_0xbdd0d9=await readFile(_0x47d1ef,_0x2d9b54(0xe7,_0x391faa._0x59c035,-_0x391faa._0x95463d,-_0x391faa._0x222b05));function _0x4e2ed9(_0xeb3680,_0x43a474,_0x350da3,_0x21b0e5){return _0x2f8c23(_0xeb3680-_0x318aca._0x1c1676,_0x21b0e5- -0x291,_0x350da3-_0x318aca._0x37ddcb,_0x43a474);}function _0x2d9b54(_0x5dfdf9,_0x13ee5e,_0x2292c6,_0x2a0044){return _0x564b8e(_0x5dfdf9,_0x13ee5e-_0x1cf9a5._0x415538,_0x2292c6- -_0x1cf9a5._0x1c87f6,_0x2a0044-_0x1cf9a5._0x575956);}_0x482e68[_0x4e2ed9(0x327,_0x391faa._0x341041,0x2ea,0x371)](_0x2d9b54(_0x391faa._0x58a56d,0x28a,0x151,0x6a),{'textDocument':{'uri':uriForPath(_0x47d1ef),'version':_0x429230},'contentChanges':[{'text':_0xbdd0d9}]});},async 'close'({path:_0x577000}){const _0xd53140={_0x292aa9:0x32e};function _0x2c67c1(_0x15f597,_0x4a8b53,_0x5408a2,_0xb55db7){return _0x2f8c23(_0x15f597-0x124,_0x4a8b53- -_0xd53140._0x292aa9,_0x5408a2-0x69,_0x15f597);}_0x482e68['sendNotification'](_0x2c67c1(_0xc380b6._0x14d956,0x6f,_0xc380b6._0x32795b,0x49),{'textDocument':{'uri':uriForPath(_0x577000)}});}},'request':{async 'definition'(_0x28b7b0){function _0x5debda(_0x42dbd0,_0x59f370,_0x2019e0,_0x34ce1f){return _0x2f8c23(_0x42dbd0-_0x504cb2._0x4834bb,_0x34ce1f- -_0x504cb2._0x507b9b,_0x2019e0-_0x504cb2._0x50d53d,_0x59f370);}function _0x58f739(_0x481e3a,_0x15fa94,_0x5e2ecb,_0x4efafa){return _0x2f8c23(_0x481e3a-0x152,_0x5e2ecb- -_0x345c5e._0x3b087e,_0x5e2ecb-0x102,_0x4efafa);}return normalizeLocations(await _0x482e68[_0x5debda(_0x1f37a2._0xdda260,_0x1f37a2._0x319591,0x335,_0x1f37a2._0x4f95a0)](_0x5debda(_0x1f37a2._0x3912e1,_0x1f37a2._0x810133,_0x1f37a2._0x5c817e,0x279),textDocumentPosition(_0x28b7b0)));},async 'references'(_0x2f7dfa){function _0x5f0920(_0x5e191d,_0x24f38f,_0x5ca9a7,_0x4996c3){return _0x2f8c23(_0x5e191d-_0x5c279b._0x3a49a1,_0x24f38f- -_0x5c279b._0x5ae4b3,_0x5ca9a7-_0x5c279b._0x435fe3,_0x4996c3);}function _0x4d4107(_0x3a0690,_0x4842b3,_0x4ab861,_0x374534){return _0x564b8e(_0x374534,_0x4842b3-_0x1c1e5d._0x45a84c,_0x4842b3- -0x300,_0x374534-_0x1c1e5d._0x58c526);}return normalizeLocations(await _0x482e68[_0x5f0920(0x47b,_0xa60007._0x26f4f4,_0xa60007._0x3072c0,_0xa60007._0x544313)](_0x5f0920(0x48c,_0xa60007._0x3feb54,0x463,0x626),{...textDocumentPosition(_0x2f7dfa),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x2acacf){const _0x213faf={_0x5e264f:0x115,_0x4341f0:0x5a0};function _0x52c807(_0x15c16f,_0x410699,_0x26793d,_0x25fa6a){return _0x2f8c23(_0x15c16f-_0x213faf._0x5e264f,_0x15c16f- -_0x213faf._0x4341f0,_0x26793d-0x78,_0x410699);}return await _0x482e68[_0x52c807(-0x24,_0x214ebd._0x127df9,-0xcc,0x102)]('textDocument/hover',textDocumentPosition(_0x2acacf))??null;},async 'documentSymbol'(_0xc45c46){function _0x1b09ac(_0x54635e,_0x31d695,_0x16c386,_0x166108){return _0x564b8e(_0x16c386,_0x31d695-_0x3e32d2._0xf6d42,_0x166108-0x1d1,_0x166108-0x7);}return await _0x482e68[_0x1b09ac(0x5de,_0x5365f2._0x46b4ac,_0x5365f2._0x8f9fc6,0x4df)]('textDocument/documentSymbol',{'textDocument':{'uri':uriForPath(_0xc45c46)}})??[];},async 'workspaceSymbol'(_0x4558c6){function _0x44a058(_0x3d186d,_0x682cda,_0x496d30,_0x1ba4c8){return _0x564b8e(_0x1ba4c8,_0x682cda-_0x40454._0x555611,_0x3d186d- -0x21a,_0x1ba4c8-0x177);}return await _0x482e68['sendRequest'](_0x44a058(_0x5c39a1._0x47b9a5,0x45,0x1a3,0x69),{'query':_0x4558c6})??[];},async 'implementation'(_0x30969a){function _0x417378(_0x19275b,_0x6d87f5,_0x29ea89,_0x197f66){return _0x2f8c23(_0x19275b-_0x5cb3ed._0x27751a,_0x29ea89- -0x2b7,_0x29ea89-_0x5cb3ed._0x49824f,_0x19275b);}function _0x4fbab5(_0x4a7f1e,_0x23954d,_0x2bd84c,_0x36f28d){return _0x2f8c23(_0x4a7f1e-0x4b,_0x2bd84c- -0x4ef,_0x2bd84c-0x1e7,_0x36f28d);}return normalizeLocations(await _0x482e68[_0x4fbab5(_0x36c7fe._0x4fa87e,_0x36c7fe._0x191ed0,0x8d,_0x36c7fe._0xd27539)](_0x4fbab5(-_0x36c7fe._0x65e78e,-0xe0,-_0x36c7fe._0x32ae02,-0xd2),textDocumentPosition(_0x30969a)));},async 'prepareCallHierarchy'(_0x28a087){const _0x1ce2f0={_0x4f2893:0x9};function _0x58e8b9(_0x35ddbf,_0x263a04,_0x119e18,_0x1243f4){return _0x2f8c23(_0x35ddbf-_0x1ce2f0._0x4f2893,_0x119e18- -0x538,_0x119e18-0xa0,_0x35ddbf);}return await _0x482e68[_0x58e8b9(_0x4c8c22._0x1c198d,-_0x4c8c22._0x1004f2,_0x4c8c22._0x5c1a4d,_0x4c8c22._0x1a2f6f)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x28a087))??[];},async 'incomingCalls'(_0x69c1c1){function _0x1565ad(_0xfb14f7,_0x2d7fb0,_0x696bd0,_0x55ff3f){return _0x564b8e(_0xfb14f7,_0x2d7fb0-_0xf77559._0x2a2646,_0x55ff3f- -_0xf77559._0xc95bbb,_0x55ff3f-_0xf77559._0x274b6f);}function _0x6f9eb(_0x8db864,_0x8362c6,_0x23334a,_0x5abc0f){return _0x2f8c23(_0x8db864-0x6b,_0x8362c6- -_0x2d7eb3._0xe2f3a9,_0x23334a-_0x2d7eb3._0x5f0571,_0x8db864);}return await _0x482e68[_0x6f9eb(-_0x851011._0x42210,_0x851011._0xeca667,0x12e,0x1f3)](_0x6f9eb(-0x4,_0x851011._0x25e527,-_0x851011._0x5340a1,-_0x851011._0x59cad7),{'item':_0x69c1c1})??[];},async 'outgoingCalls'(_0x1a9a0c){const _0x17c1d5={_0x3c4b1a:0x95,_0x5011f5:0x11f,_0x155591:0x171};function _0xdfbad8(_0x10877e,_0x164e43,_0x11b964,_0x1e4aaf){return _0x564b8e(_0x10877e,_0x164e43-_0x17c1d5._0x3c4b1a,_0x1e4aaf-_0x17c1d5._0x5011f5,_0x1e4aaf-_0x17c1d5._0x155591);}function _0x4323bf(_0x20f749,_0x213392,_0x40c05d,_0x29c67e){return _0x564b8e(_0x213392,_0x213392-_0x47966b._0x14e86e,_0x40c05d- -0xb5,_0x29c67e-0x153);}return await _0x482e68[_0xdfbad8(_0x4e48e1._0x55364c,0x329,0x2ee,0x42d)](_0xdfbad8(_0x4e48e1._0x1335f6,_0x4e48e1._0x42393f,_0x4e48e1._0x34e7f9,0x472),{'item':_0x1a9a0c})??[];}},'waitForDiagnostics'({path:_0xbf1cf5,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x56ed6b={_0x3f0cea:0x4b3,_0x2de636:0x1f4},_0x24f48d={_0x262650:0x46,_0x51d1da:0x67,_0x207998:0xee,_0x3c0828:0xaf,_0x5a0f64:0x16},_0x2661ef={_0x225a71:0x1a};function _0x44b84b(_0x12a70d,_0xb28cb4,_0x262e89,_0x4b628d){return _0x564b8e(_0x4b628d,_0xb28cb4-0x1c5,_0xb28cb4-0x297,_0x4b628d-_0x2661ef._0x225a71);}const _0x5aecb4=uriForPath(_0xbf1cf5);function _0x3599d0(_0x46b22c,_0x452a3e,_0x35ded5,_0x216872){return _0x564b8e(_0x46b22c,_0x452a3e-_0x5e5e51._0x43fb5a,_0x452a3e-0x27b,_0x216872-_0x5e5e51._0x46eef2);}if(_0xc5c089[_0x44b84b(_0x2a48cf._0x218612,_0x2a48cf._0x2e0242,0x4df,_0x2a48cf._0x41a4d5)](_0x5aecb4))return Promise[_0x3599d0(0x421,0x502,0x590,_0x2a48cf._0x29625a)]();return new Promise(_0x327f7f=>{const _0x1e5690={_0x40cf53:0xba},_0x4d1dee={_0x1cec92:0x4a,_0x3b8a2b:0x5a3};function _0x2a8f58(_0x1bb86e,_0x2ad081,_0x3ad464,_0x199a33){return _0x44b84b(_0x1bb86e-_0x4d1dee._0x1cec92,_0x3ad464- -_0x4d1dee._0x3b8a2b,_0x3ad464-0x1c,_0x2ad081);}const _0x44e9ca=setTimeout(()=>{const _0x1d1070=_0x5e81a1['get'](_0x5aecb4);function _0x59e29c(_0x1f24b0,_0x1e9f3a,_0xc33f66,_0x34f523){return _0x59f9(_0x34f523- -0x239,_0xc33f66);}_0x1d1070?.['delete'](_0xa97e57);if(_0x1d1070?.[_0x59e29c(-0x3f,_0x24f48d._0x262650,_0x24f48d._0x51d1da,-_0x24f48d._0x207998)]===0x0)_0x5e81a1[_0x42b8cd(-_0x24f48d._0x3c0828,0x10a,-_0x24f48d._0x5a0f64,0xc3)](_0x5aecb4);function _0x42b8cd(_0x2359ad,_0x201555,_0x592f11,_0x5499fa){return _0x59f9(_0x592f11- -_0x1e5690._0x40cf53,_0x2359ad);}_0x327f7f();},timeoutMs),_0xa97e57=()=>{clearTimeout(_0x44e9ca),_0x327f7f();};function _0x5dbcc5(_0x11945c,_0x52c0de,_0x17d0e6,_0x40c980){return _0x3599d0(_0x52c0de,_0x40c980- -_0x56ed6b._0x3f0cea,_0x17d0e6-0x66,_0x40c980-_0x56ed6b._0x2de636);}const _0x5b72e5=_0x5e81a1[_0x5dbcc5(_0x1928b2._0x1fddd5,0x1df,0x213,0x127)](_0x5aecb4)??new Set();_0x5b72e5[_0x5dbcc5(-0x11d,_0x1928b2._0x4c7afe,_0x1928b2._0x366d39,_0x1928b2._0x5de425)](_0xa97e57),_0x5e81a1['set'](_0x5aecb4,_0x5b72e5);});},async 'shutdown'(){function _0x461ffd(_0x4ebbd1,_0x4131ad,_0x45258e,_0xfe380c){return _0x2f8c23(_0x4ebbd1-0x1ba,_0xfe380c- -0x67b,_0x45258e-_0x36fbb7._0x3f6b42,_0x4ebbd1);}function _0x2f589b(_0x3ee39b,_0x449554,_0x4ba380,_0x72df01){return _0x2f8c23(_0x3ee39b-0x194,_0x4ba380- -0x19d,_0x4ba380-_0x4c9189._0xf42fd0,_0x449554);}if(_0x24b02d)return;_0x24b02d=!![];try{await _0x482e68[_0x461ffd(0x34,-0x127,-0x255,-0xff)](_0x461ffd(-_0x14a36d._0x1f09d6,-_0x14a36d._0x1ac8cc,-0x63,-0x183),null),_0x482e68[_0x2f589b(0x536,_0x14a36d._0x3e0020,_0x14a36d._0x58aa2c,0x3fb)]('exit');}catch{}finally{_0x482e68[_0x2f589b(_0x14a36d._0x2d8d9b,0xa2,0x1cd,_0x14a36d._0x3d38ae)](),_0x468fa4[_0x461ffd(-0x10e,-0x15,0xcd,-0x58)][_0x461ffd(-0x328,-_0x14a36d._0x55ce66,-_0x14a36d._0x2f6356,-_0x14a36d._0x341861)][_0x2f589b(_0x14a36d._0x3584c2,0x215,0x335,0x316)]();}}};return _0x30405b;}import{spawn as _0x29bf57}from'child_process';import{access as _0x2c56ab}from'fs/promises';import _0x40ca83 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x3abcf8 from'os';import _0x41b70d from'path';import _0x356b8a from'which';var installPromises=new Map();function sanitizePackageName(_0x3f547d){const _0x5c045f={_0xc55c1f:0x237,_0xee4291:0x38e,_0x505953:0x675,_0x19bdb3:0x55f},_0x451340={_0x31d544:0x163},_0x13b7bc={_0x206d30:0xfa,_0x2e1791:0xa};function _0x9355f5(_0x94b04,_0x14261e,_0x35aa49,_0x4dd47a){return _0x48c1e5(_0x14261e-_0x13b7bc._0x206d30,_0x14261e-_0x13b7bc._0x2e1791,_0x35aa49,_0x4dd47a-0x8b);}function _0x170833(_0x85a901,_0x53dca5,_0x398ff3,_0x2de112){return _0x42cde8(_0x85a901-0x4b,_0x85a901-_0x451340._0x31d544,_0x398ff3-0x1c,_0x398ff3);}return _0x3f547d[_0x170833(0x312,0x37d,_0x5c045f._0xc55c1f,_0x5c045f._0xee4291)](/^@/,'')[_0x9355f5(_0x5c045f._0x505953,0x574,_0x5c045f._0x19bdb3,0x49d)](/[/]/g,'__');}function binaryNameForPlatform(_0x26104b){const _0x4394b0={_0x28decb:0x1b2,_0x24c7d5:0x311},_0x3888d9={_0x29bdcb:0x221};function _0x1e9531(_0x4ff206,_0x37ce56,_0x5978f7,_0x26bd1b){return _0x48c1e5(_0x37ce56- -_0x3888d9._0x29bdcb,_0x37ce56-0xc5,_0x5978f7,_0x26bd1b-0x72);}return process['platform']==='win32'?_0x26104b+_0x1e9531(0x2b6,_0x4394b0._0x28decb,0xa8,_0x4394b0._0x24c7d5):_0x26104b;}async function exists(_0x49117c){try{return await access(_0x49117c),!![];}catch{return![];}}function runNpmInstall(_0x22e33b,_0x1672bb,_0x10f1bf){const _0xc1c4b8={_0x492fba:0x1c3,_0x3cac9e:0x35d,_0x5e8a70:0x3a5,_0x44e663:0x43b,_0x1ed07f:0x9b},_0x19156f={_0x4c6c22:0x2ca};return new Promise(_0x1b3761=>{const _0x5153a9={_0x288ad3:0x118};function _0x5b4b07(_0x2a834e,_0x5b2e63,_0x15fff7,_0x5c329e){return _0x59f9(_0x5c329e- -_0x19156f._0x4c6c22,_0x2a834e);}const _0x852f6e=spawn(_0x5b4b07(-0x32c,-0x28f,-0x27f,-_0xc1c4b8._0x492fba),[_0x4b9288(0x218,_0xc1c4b8._0x3cac9e,0x46e,_0xc1c4b8._0x5e8a70),_0x4b9288(0x51c,_0xc1c4b8._0x44e663,0x37c,0x3a9),_0x22e33b,_0x1672bb],{'env':_0x10f1bf,'stdio':_0x5b4b07(0xae,0x21a,0x6d,_0xc1c4b8._0x1ed07f)});function _0x4b9288(_0x477bb5,_0x21a3b6,_0x5d5996,_0x3117b0){return _0x59f9(_0x21a3b6-_0x5153a9._0x288ad3,_0x5d5996);}_0x852f6e['on']('error',()=>_0x1b3761(![])),_0x852f6e['on']('close',_0xcd5cbf=>_0x1b3761(_0xcd5cbf===0x0));});}function shouldDisableLspDownload(_0x301953=process['env']){const _0x3409f1={_0x3dfc5b:0x322,_0x8601bd:0x14e,_0x28dfe0:0x1dc,_0x5b5095:0x10},_0x24beef={_0x1f999b:0x2e},_0x3b0386={_0x2aa1b2:0xc5,_0x3f82ec:0x2bf};function _0x26b913(_0x3ab730,_0x2fc6fa,_0x5572d6,_0x343d3d){return _0x42cde8(_0x3ab730-_0x3b0386._0x2aa1b2,_0x2fc6fa-_0x3b0386._0x3f82ec,_0x5572d6-0x177,_0x3ab730);}function _0x279a10(_0x2d1747,_0x29e8ae,_0x3f1c12,_0xa0c0f6){return _0x42cde8(_0x2d1747-_0x24beef._0x1f999b,_0x29e8ae-0xc3,_0x3f1c12-0xd2,_0x2d1747);}const _0xa7214f=_0x301953['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x279a10(0x132,0x1f8,0xf8,_0x3409f1._0x3dfc5b)]();return _0xa7214f===_0x279a10(0x253,_0x3409f1._0x8601bd,_0x3409f1._0x28dfe0,-_0x3409f1._0x5b5095)||_0xa7214f==='1'||_0xa7214f==='yes'||_0xa7214f==='on';}function getLspPackageDir(_0x563bbc){const _0x5260ef={_0x79e0e5:0x307,_0x4d7642:0x32e,_0x1ead56:0x705,_0x9fc122:0x30d,_0x47e724:0x356,_0x52980b:0x40e},_0x542b3a={_0x35d185:0x349},_0x595c4={_0x160906:0x28d,_0x5271e4:0x1e1};function _0x5d622a(_0x54a4b5,_0x389c3d,_0x5b1206,_0x1c89de){return _0x48c1e5(_0x5b1206-_0x595c4._0x160906,_0x389c3d-_0x595c4._0x5271e4,_0x1c89de,_0x1c89de-0x1bc);}function _0x5078d0(_0x12e227,_0x459fb5,_0x8cb8b3,_0xa5c1c2){return _0x42cde8(_0x12e227-0x41,_0x459fb5-_0x542b3a._0x35d185,_0x8cb8b3-0x195,_0x8cb8b3);}return _0x41b70d['join'](_0x3abcf8['homedir'](),_0x5078d0(_0x5260ef._0x79e0e5,0x2bb,_0x5260ef._0x4d7642,0x17a),_0x5d622a(0x695,0x7ba,_0x5260ef._0x1ead56,0x719),_0x5078d0(0x488,_0x5260ef._0x9fc122,_0x5260ef._0x47e724,_0x5260ef._0x52980b),sanitizePackageName(_0x563bbc));}function getLspBinDir(_0x55c8be){const _0x26d2aa={_0x4f2097:0x254,_0x5ead6f:0x289,_0x4bcd7c:0x2c3,_0x188c02:0x171,_0x571afe:0x170,_0x5b2f14:0x1dd,_0x3979b2:0xe5},_0x2002d5={_0x3e12bf:0x12},_0x100f41={_0x568358:0xaf};function _0x6cb28b(_0x16b816,_0x1650e7,_0x2ca8ec,_0x23e44d){return _0x48c1e5(_0x1650e7- -0xe8,_0x1650e7-_0x100f41._0x568358,_0x2ca8ec,_0x23e44d-0x10d);}function _0x143d87(_0x30e5a4,_0x5f3f9c,_0x4aca96,_0x14e9cf){return _0x42cde8(_0x30e5a4-0x4,_0x30e5a4- -0x27,_0x4aca96-_0x2002d5._0x3e12bf,_0x4aca96);}return _0x41b70d[_0x6cb28b(0x275,_0x26d2aa._0x4f2097,_0x26d2aa._0x5ead6f,0x2e0)](getLspPackageDir(_0x55c8be),_0x6cb28b(0x291,0x21b,_0x26d2aa._0x4bcd7c,_0x26d2aa._0x188c02),_0x6cb28b(_0x26d2aa._0x571afe,_0x26d2aa._0x5b2f14,0x352,_0x26d2aa._0x3979b2));}async function findPackageBinary(_0x1e534d,_0x16e769){const _0x450edb={_0x263436:0x490,_0x12f31a:0x3b4,_0x1a8a60:0x3ff,_0x5e7a32:0xe3,_0xdba0d:0xa0,_0x53d76a:0x506,_0x1e7c9f:0x262,_0x36d73e:0x2a0,_0x2a348b:0x191,_0x91a992:0x311},_0x837047={_0x1a0c10:0x10b},_0x4d640b={_0x153002:0x102,_0x576ce5:0x68};function _0x360700(_0x2dc9d5,_0x334161,_0x1d65d9,_0x3e0a32){return _0x42cde8(_0x2dc9d5-_0x4d640b._0x153002,_0x3e0a32-_0x4d640b._0x576ce5,_0x1d65d9-0x54,_0x1d65d9);}function _0x20f8d1(_0x32576f,_0x4ec19b,_0x5ac573,_0x3ca9ca){return _0x48c1e5(_0x4ec19b-_0x837047._0x1a0c10,_0x4ec19b-0xc0,_0x5ac573,_0x3ca9ca-0x1cd);}let _0x117f5d=_0x41b70d[_0x20f8d1(0x51c,_0x450edb._0x263436,_0x450edb._0x12f31a,0x5ce)](_0x16e769);const _0x3c4500=binaryNameForPlatform(_0x1e534d);while(!![]){const _0x12a0ed=_0x41b70d[_0x20f8d1(0x48c,0x447,0x47b,_0x450edb._0x1a8a60)](_0x117f5d,_0x360700(_0x450edb._0x5e7a32,0x128,0x1c5,_0x450edb._0xdba0d),_0x20f8d1(_0x450edb._0x53d76a,0x3d0,_0x450edb._0x1e7c9f,0x320),_0x3c4500);if(await exists(_0x12a0ed))return _0x12a0ed;const _0x3e77d8=_0x41b70d[_0x360700(_0x450edb._0x36d73e,_0x450edb._0x2a348b,_0x450edb._0x91a992,0x198)](_0x117f5d);if(_0x3e77d8===_0x117f5d)return void 0x0;_0x117f5d=_0x3e77d8;}}async function findPathBinary(_0x4965ee,_0x479470){const _0x177981={_0x196d77:0x239,_0x2bbf8a:0x2af,_0x51d1ff:0xb6,_0x5d4dc1:0x5d6,_0x5bae68:0x40e,_0x1cb6f6:0x546,_0x399369:0x13d,_0x2163f9:0x56,_0x32e499:0x1b2,_0x47b48f:0x180,_0x1eb640:0x25a,_0x8b160d:0x92},_0x302fa4={_0x513466:0x157},_0x52b4cf={_0x13eed7:0x112};function _0x304e79(_0x159bd8,_0x4b36b2,_0x3eea30,_0x28f795){return _0x42cde8(_0x159bd8-_0x52b4cf._0x13eed7,_0x3eea30- -0x1b,_0x3eea30-0x189,_0x159bd8);}const _0xe211e5=getLspBinDir(_0x479470);function _0x3591d4(_0x4ee298,_0x155493,_0x2dcbb5,_0x266d96){return _0x48c1e5(_0x266d96-0xf7,_0x155493-0x145,_0x2dcbb5,_0x266d96-_0x302fa4._0x513466);}const _0x2a0386=[_0xe211e5,process[_0x3591d4(_0x177981._0x196d77,_0x177981._0x2bbf8a,0x2ba,0x2e4)][_0x304e79(-_0x177981._0x51d1ff,0xc7,0x23,0x117)]][_0x3591d4(_0x177981._0x5d4dc1,0x692,_0x177981._0x5bae68,_0x177981._0x1cb6f6)](Boolean)[_0x304e79(_0x177981._0x399369,0x159,_0x177981._0x2163f9,_0x177981._0x32e499)](_0x41b70d[_0x304e79(-_0x177981._0x47b48f,-_0x177981._0x1eb640,-0x121,-_0x177981._0x8b160d)]);try{return await _0x356b8a(_0x4965ee,{'path':_0x2a0386});}catch{return void 0x0;}}async function resolvePackageBinary(_0x586c78){const _0xa5eab2={_0x5f22b8:0x4,_0x4c0ca1:0x144,_0x402362:0x2a4,_0x26cc8a:0x321,_0x1ddcf0:0x1c7,_0x28435c:0x39d,_0x2c2625:0x3fa,_0x3f74a9:0x1e,_0x485513:0x142,_0x24b0b4:0xaa,_0x352618:0x155,_0x50f5c3:0x99,_0x4bffe2:0x98},_0x1ae4e0={_0x11937d:0x573,_0x4149e2:0x609,_0x4437a8:0x329,_0x32cfe7:0x407,_0x3c0312:0x344,_0xa8dc85:0x458},_0x4d4068={_0x2baa2f:0x120,_0x9994ef:0x98},_0x28406b={_0x217db8:0x450},_0x20760f={_0x519a78:0x1e4,_0x5432d7:0x140},_0x2ecac3={_0x4ee12a:0x193,_0x5bbbb7:0xa7},_0x915836=_0x586c78[_0x4ee114(-_0xa5eab2._0x5f22b8,-_0xa5eab2._0x4c0ca1,-0x245,-0x19d)]??_0x586c78[_0x4ee114(-0x25e,-_0xa5eab2._0x402362,-0x292,-0x3c6)],_0x339c70=await findPackageBinary(_0x915836,_0x586c78['startDir']);if(_0x339c70)return _0x339c70;const _0x42a089=await findPathBinary(_0x915836,_0x586c78['packageName']);function _0x3403c6(_0x337f6d,_0x7ec22f,_0x1e139c,_0xeb322e){return _0x48c1e5(_0x1e139c- -0x262,_0x7ec22f-_0x2ecac3._0x4ee12a,_0xeb322e,_0xeb322e-_0x2ecac3._0x5bbbb7);}if(_0x42a089)return _0x42a089;const _0x2b0d21=_0x586c78[_0x4ee114(-0x323,-_0xa5eab2._0x26cc8a,-_0xa5eab2._0x1ddcf0,-0x39c)]??process['env'];if(shouldDisableLspDownload(_0x2b0d21))return void 0x0;const _0x5717a9=getLspPackageDir(_0x586c78['packageName']),_0x5e836a=_0x586c78[_0x4ee114(-_0xa5eab2._0x28435c,-0x2a4,-0x3e7,-_0xa5eab2._0x2c2625)]+':'+_0x915836;function _0x4ee114(_0x33241a,_0x1d7f3b,_0x64e1d0,_0x31f3ed){return _0x42cde8(_0x33241a-_0x20760f._0x519a78,_0x1d7f3b- -0x243,_0x64e1d0-_0x20760f._0x5432d7,_0x33241a);}let _0x235ac9=installPromises['get'](_0x5e836a);!_0x235ac9&&(_0x235ac9=((async()=>{await mkdir(_0x5717a9,{'recursive':!![]});function _0x1ef419(_0x57f43b,_0xf817bd,_0x4308b2,_0x302f0e){return _0x3403c6(_0x57f43b-0x140,_0xf817bd-0x1f0,_0x302f0e-_0x28406b._0x217db8,_0x4308b2);}const _0x3ce0ae=await runNpmInstall(_0x5717a9,_0x586c78['packageName'],_0x2b0d21);if(!_0x3ce0ae)return void 0x0;const _0x2b4b2d=_0x41b70d[_0x1ef419(_0x1ae4e0._0x11937d,_0x1ae4e0._0x4149e2,0x6a1,0x52a)](getLspBinDir(_0x586c78[_0x1ef419(_0x1ae4e0._0x4437a8,_0x1ae4e0._0x32cfe7,_0x1ae4e0._0x3c0312,_0x1ae4e0._0xa8dc85)]),binaryNameForPlatform(_0x915836));function _0x97676e(_0x47a32f,_0x16a93a,_0x37e038,_0x25ffdb){return _0x3403c6(_0x47a32f-_0x4d4068._0x2baa2f,_0x16a93a-_0x4d4068._0x9994ef,_0x25ffdb-0x4a6,_0x47a32f);}return await exists(_0x2b4b2d)?_0x2b4b2d:void 0x0;})()),installPromises[_0x3403c6(0x1f7,-_0xa5eab2._0x3f74a9,_0xa5eab2._0x485513,_0xa5eab2._0x24b0b4)](_0x5e836a,_0x235ac9));try{return await _0x235ac9;}catch{return void 0x0;}finally{installPromises[_0x3403c6(-_0xa5eab2._0x352618,-_0xa5eab2._0x50f5c3,-0x96,_0xa5eab2._0x4bffe2)](_0x5e836a);}}var TYPESCRIPT_EXTENSIONS=[_0x42cde8(0x16,0x171,0xe9,0x2df),'.tsx',_0x42cde8(-0xbf,-0x56,0xac,-0xf3),_0x48c1e5(0x372,0x292,0x2d2,0x33d),_0x42cde8(0x28b,0x121,0x65,0x19a),'.cjs',_0x42cde8(0x4f,0x3c,-0xe4,-0x73),_0x42cde8(0xb2,0xb0,0x177,0x111)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x42cde8(-0x8c,-0x37,0x13e,-0xfd)],TYPESCRIPT_ROOT_MARKERS=[_0x48c1e5(0x3e9,0x52d,0x3c4,0x30b),'bun.lockb',_0x48c1e5(0x2f9,0x342,0x42f,0x34f),'pnpm-lock.yaml',_0x48c1e5(0x2ae,0x211,0x27f,0x148),_0x48c1e5(0x437,0x4a5,0x596,0x583),_0x42cde8(0x22,0x63,-0x37,-0xcf),_0x42cde8(0xa1,-0x29,0x85,0xfd)],BIOME_ROOT_MARKERS=[_0x48c1e5(0x474,0x5bd,0x393,0x40b),_0x48c1e5(0x29b,0x131,0x17d,0x241),_0x48c1e5(0x3e9,0x369,0x4ee,0x434),_0x48c1e5(0x4af,0x4bd,0x3cc,0x40d),'bun.lock','pnpm-lock.yaml',_0x48c1e5(0x2ae,0x238,0x1bf,0x41d),_0x48c1e5(0x2a2,0x1ea,0x3e4,0x2ee)];async function exists2(_0x4c545c){try{return await _0x2c56ab(_0x4c545c),!![];}catch{return![];}}async function findUp(_0x3cd0ba,_0x27785c){const _0x30819e={_0x278db8:0x54b,_0x424a2b:0x619,_0x528ea1:0x61b,_0x10e7dc:0x53c,_0x5e94e0:0x6e1},_0x478775={_0x3fbbea:0x201},_0x1a0608={_0x583302:0x13c};let _0x3d1a86=_0x40ca83[_0x435e76(_0x30819e._0x278db8,_0x30819e._0x424a2b,_0x30819e._0x528ea1,_0x30819e._0x10e7dc)](_0x3cd0ba);function _0x435e76(_0x30cabb,_0x1e098d,_0x54f302,_0x236ab4){return _0x42cde8(_0x30cabb-_0x1a0608._0x583302,_0x1e098d-0x55f,_0x54f302-0x1ba,_0x54f302);}const _0x76fe09=_0x40ca83['extname'](_0x3d1a86);if(_0x76fe09)_0x3d1a86=_0x40ca83['dirname'](_0x3d1a86);function _0x68720d(_0x46f3e7,_0x3e9162,_0x449f78,_0x212124){return _0x48c1e5(_0x3e9162- -_0x478775._0x3fbbea,_0x3e9162-0x5e,_0x46f3e7,_0x212124-0x69);}while(!![]){for(const _0x5f11cb of _0x27785c){if(await exists2(_0x40ca83[_0x435e76(0x684,0x5d0,_0x30819e._0x5e94e0,0x504)](_0x3d1a86,_0x5f11cb)))return _0x3d1a86;}const _0x125525=_0x40ca83['dirname'](_0x3d1a86);if(_0x125525===_0x3d1a86)return void 0x0;_0x3d1a86=_0x125525;}}async function hasDenoRoot(_0x1e5785){const _0x42c3fd={_0x855467:0x13b,_0x19578b:0xf8,_0x46c7db:0x1a6,_0x29fc67:0x198,_0x59eef8:0x23d,_0x22a2b2:0x32f,_0x430d61:0x47e,_0x40d7aa:0x336},_0x3488f3={_0x5f2fd0:0x10b},_0x4e425a={_0x1966dd:0x37};function _0x23f881(_0x4bb403,_0x193f31,_0x22f44b,_0x1c6dd0){return _0x48c1e5(_0x1c6dd0- -0x194,_0x193f31-_0x4e425a._0x1966dd,_0x4bb403,_0x1c6dd0-0x16e);}function _0xa4aade(_0x3ce3c6,_0x21ff7e,_0x32b4a2,_0x38817b){return _0x42cde8(_0x3ce3c6-_0x3488f3._0x5f2fd0,_0x21ff7e- -0x169,_0x32b4a2-0xaf,_0x32b4a2);}return await exists2(_0x40ca83[_0xa4aade(-_0x42c3fd._0x855467,-_0x42c3fd._0x19578b,-0x232,0x75)](_0x1e5785,_0x23f881(0x3b2,0x285,_0x42c3fd._0x46c7db,0x246)))||await exists2(_0x40ca83[_0xa4aade(-0xeb,-0xf8,-_0x42c3fd._0x29fc67,-_0x42c3fd._0x59eef8)](_0x1e5785,_0x23f881(_0x42c3fd._0x22a2b2,_0x42c3fd._0x430d61,_0x42c3fd._0x40d7aa,0x313)));}async function resolveTsserverPath(_0x2fa0f6){const _0x340a44={_0x297dc3:0x93,_0x4b361b:0x176,_0x5e9b54:0x434,_0x2a5e16:0x2c6,_0x6e0fa:0x76,_0x38bcca:0x508,_0x485c45:0x64b,_0xe027bc:0x5f9,_0x36e4dc:0x4cd,_0x210cef:0x36f,_0x27a747:0x434,_0x20e910:0x2f9,_0x468f2a:0x56e,_0x1ec259:0x434,_0x37b241:0x1fa,_0x38c8ae:0xeb,_0x4f4c1d:0x6f,_0x2e2770:0x2ef,_0x4881e6:0x2b8,_0x21b772:0x2b2},_0x505f17={_0x3d0f9d:0xfa};function _0x31fede(_0x57c4a7,_0x3565e9,_0x5d293e,_0x19f95c){return _0x42cde8(_0x57c4a7-0xb3,_0x3565e9- -0x230,_0x5d293e-0x11,_0x5d293e);}let _0x7435a2=_0x40ca83[_0x31fede(-_0x340a44._0x297dc3,-_0x340a44._0x4b361b,-0x11c,-0x2bc)](_0x2fa0f6);while(!![]){const _0x38a2c0=_0x40ca83[_0x544f45(_0x340a44._0x5e9b54,0x4ce,0x3aa,0x4dd)](_0x7435a2,'node_modules','typescript',_0x544f45(0x2ef,_0x340a44._0x2a5e16,0x3eb,0x428),_0x31fede(-0x107,-0xc1,0xba,_0x340a44._0x6e0fa));if(await exists2(_0x38a2c0))return _0x38a2c0;const _0x3cfb98=_0x40ca83['dirname'](_0x7435a2);if(_0x3cfb98===_0x7435a2)break;_0x7435a2=_0x3cfb98;}const _0x3586cd=getLspPackageDir(_0x544f45(_0x340a44._0x38bcca,0x591,0x45f,_0x340a44._0x485c45));function _0x544f45(_0x138187,_0x3aaa31,_0x15b62c,_0x1f0e7d){return _0x48c1e5(_0x138187-0xf8,_0x3aaa31-0x16a,_0x1f0e7d,_0x1f0e7d-_0x505f17._0x3d0f9d);}const _0x464646=await resolvePackageBinary({'packageName':_0x544f45(0x508,0x403,_0x340a44._0xe027bc,_0x340a44._0x36e4dc),'binaryName':_0x544f45(0x330,_0x340a44._0x210cef,0x43b,0x23c),'startDir':_0x2fa0f6});if(!_0x464646)return void 0x0;const _0x54b6ca=_0x40ca83[_0x544f45(_0x340a44._0x27a747,_0x340a44._0x20e910,_0x340a44._0x468f2a,_0x340a44._0x1ec259)](_0x3586cd,'node_modules',_0x31fede(-_0x340a44._0x37b241,-_0x340a44._0x38c8ae,-0xcb,_0x340a44._0x4f4c1d),_0x544f45(_0x340a44._0x2e2770,_0x340a44._0x4881e6,0x216,_0x340a44._0x21b772),'tsserver.js');return await exists2(_0x54b6ca)?_0x54b6ca:void 0x0;}var TypeScriptServer={'id':_0x48c1e5(0x410,0x3aa,0x45c,0x294),'name':_0x48c1e5(0x1cb,0x274,0x105,0x16b),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x2d8568){const _0x4f02f0=await findUp(_0x2d8568,TYPESCRIPT_ROOT_MARKERS);if(!_0x4f02f0)return void 0x0;return await hasDenoRoot(_0x4f02f0)?void 0x0:_0x4f02f0;},async 'spawn'(_0x164154){const _0x46a239={_0x334cde:0x418,_0x39d7fe:0x469,_0x573a02:0x4d5},_0x10dff3={_0x46b07e:0x186},_0x7bceb2={_0x1fa480:0x2a,_0x2710c5:0x12b};function _0x576b49(_0x3db4b1,_0x10e2d2,_0x19c2b7,_0x4c842f){return _0x48c1e5(_0x4c842f- -_0x7bceb2._0x1fa480,_0x10e2d2-_0x7bceb2._0x2710c5,_0x19c2b7,_0x4c842f-0x84);}function _0x289333(_0x2ae70b,_0x21992e,_0x323d75,_0x219ba3){return _0x48c1e5(_0x2ae70b-_0x10dff3._0x46b07e,_0x21992e-0x127,_0x323d75,_0x219ba3-0x1af);}const _0xe84cdf=await resolveTsserverPath(_0x164154);if(!_0xe84cdf)return void 0x0;const _0x53eaae=await resolvePackageBinary({'packageName':'typescript-language-server','binaryName':_0x289333(_0x46a239._0x334cde,0x474,_0x46a239._0x39d7fe,_0x46a239._0x573a02),'startDir':_0x164154});if(!_0x53eaae)return void 0x0;return{'process':_0x29bf57(_0x53eaae,['--stdio'],{'cwd':_0x164154,'stdio':_0x576b49(0x270,0x3ca,0x2ab,0x28e)}),'initialization':{'tsserver':{'path':_0xe84cdf}}};}},BiomeServer={'id':_0x48c1e5(0x3a1,0x389,0x416,0x268),'name':_0x48c1e5(0x3db,0x42d,0x312,0x496),'extensions':BIOME_EXTENSIONS,async 'root'(_0x229f4a){return findUp(_0x229f4a,BIOME_ROOT_MARKERS);},async 'spawn'(_0x4c33e1){const _0x401064={_0x5f4d7a:0x2ff,_0x4afc26:0x1bd,_0x5524cf:0x23c,_0xb3e75e:0x211,_0x343d4b:0xa3,_0x32766a:0xc5,_0x3efba7:0xdb,_0x13927c:0x167,_0x244023:0x79,_0x4ebcff:0x18c},_0x5a8fcd={_0x3d94ba:0x444,_0x3c9ab0:0x19f},_0x168f2c={_0x2c4cad:0x168},_0x431d00=await findPackageBinary('biome',_0x4c33e1)??await resolvePackageBinary({'packageName':_0x4c6ab9(_0x401064._0x5f4d7a,_0x401064._0x4afc26,0x428,_0x401064._0x5524cf),'binaryName':_0xbe4281(-_0x401064._0xb3e75e,-_0x401064._0x343d4b,_0x401064._0x32766a,0x4e),'startDir':_0x4c33e1});if(!_0x431d00)return void 0x0;function _0x4c6ab9(_0xeb1634,_0x85c102,_0x5e1b38,_0x164a13){return _0x42cde8(_0xeb1634-_0x168f2c._0x2c4cad,_0xeb1634-0x15f,_0x5e1b38-0x1d6,_0x164a13);}function _0xbe4281(_0x388b6c,_0x1c0d9d,_0x109570,_0x3cdf46){return _0x48c1e5(_0x1c0d9d- -_0x5a8fcd._0x3d94ba,_0x1c0d9d-_0x5a8fcd._0x3c9ab0,_0x3cdf46,_0x3cdf46-0x196);}return{'process':_0x29bf57(_0x431d00,[_0xbe4281(-0x336,-0x1d2,-0x270,-_0x401064._0x3efba7),_0x4c6ab9(0x64,0x112,_0x401064._0x13927c,-_0x401064._0x244023)],{'cwd':_0x4c33e1,'stdio':_0xbe4281(-0xb3,-_0x401064._0x4ebcff,-0x155,-0x16c)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x3294a0){const _0x7d0e32={_0x2f0f4b:0x2ec,_0x11280e:0x2e4,_0x26b42e:0x2ee,_0x46381d:0xdd,_0x5a106a:0x8b,_0x553f1d:0xd,_0x3ffcac:0x1da,_0x4d90c7:0x164},_0x1d5680={_0x3f04e8:0x1a8,_0x3db6ef:0x16a},_0x257b2c={_0x44718f:0x14e};function _0x14ba3d(_0xef0821,_0x5cf099,_0x1424a0,_0x518a88){return _0x48c1e5(_0x518a88- -0x2eb,_0x5cf099-_0x257b2c._0x44718f,_0xef0821,_0x518a88-0x8d);}const _0x1446a2=_0x40ca83[_0x20d512(-_0x7d0e32._0x2f0f4b,-_0x7d0e32._0x11280e,-0x3dc,-_0x7d0e32._0x26b42e)](_0x3294a0)[_0x20d512(-_0x7d0e32._0x46381d,-0x18c,_0x7d0e32._0x5a106a,-0x20a)]();function _0x20d512(_0x5bfaf9,_0x1299e9,_0x2684d1,_0x2ea0e3){return _0x42cde8(_0x5bfaf9-_0x1d5680._0x3f04e8,_0x5bfaf9- -0x212,_0x2684d1-_0x1d5680._0x3db6ef,_0x2ea0e3);}return BUILTIN_LSP_SERVERS[_0x14ba3d(_0x7d0e32._0x553f1d,_0x7d0e32._0x3ffcac,0xbf,_0x7d0e32._0x4d90c7)](_0x1bb74e=>_0x1bb74e[_0x14ba3d(-0x187,-0xc9,-0xfc,-0x84)][_0x20d512(-0x1bf,-0x1ca,-0x9e,-0x74)](_0x1446a2));}function stateKey(_0x523616,_0x2aadc8){return _0x2aadc8+':'+_0x523616['id'];}function diagnosticsKeyToPath(_0x2aa9d1){const _0x10aaf5={_0x47d367:0x476,_0x2d2ab3:0xcb,_0x32940d:0x17},_0x12cbc3={_0x140268:0x2b5},_0x6cdb61={_0x2f8e34:0x4e8,_0x221cec:0x70};function _0x2e55f2(_0x2e6775,_0x1f1145,_0x241cc8,_0x379d09){return _0x42cde8(_0x2e6775-0xce,_0x2e6775-_0x6cdb61._0x2f8e34,_0x241cc8-_0x6cdb61._0x221cec,_0x241cc8);}if(!_0x2aa9d1[_0x2e55f2(_0x10aaf5._0x47d367,0x542,0x3e3,0x5a8)](_0x3ea4ec(-0x10f,_0x10aaf5._0x2d2ab3,-0xed,_0x10aaf5._0x32940d)))return _0x2aa9d1;function _0x3ea4ec(_0xc675cf,_0x44b0bf,_0x3bdf0d,_0x63fab7){return _0x48c1e5(_0x63fab7- -_0x12cbc3._0x140268,_0x44b0bf-0x76,_0x44b0bf,_0x63fab7-0xf4);}return fileURLToPath(_0x2aa9d1);}function nextFileVersion(_0x1219c7,_0x5416a){const _0x5b01c9={_0x3e0f8b:0x144,_0x51df91:0x222,_0x5b115f:0x2aa,_0x111252:0x312,_0x89cd27:0x36b},_0x2abf3a={_0x40b1a6:0x12d},_0x40e3a0={_0x13d722:0x271},_0x11287a=(_0x1219c7[_0x45888a(_0x5b01c9._0x3e0f8b,_0x5b01c9._0x51df91,_0x5b01c9._0x5b115f,_0x5b01c9._0x111252)][_0x490ebf(_0x5b01c9._0x89cd27,0x506,0x403,0x414)](_0x5416a)??0x1)+0x1;function _0x490ebf(_0x2584a1,_0x4441f5,_0x34955c,_0x577278){return _0x42cde8(_0x2584a1-0x9d,_0x34955c-_0x40e3a0._0x13d722,_0x34955c-0x119,_0x2584a1);}function _0x45888a(_0xafb33c,_0xb5da67,_0x3fad20,_0x318cda){return _0x48c1e5(_0x3fad20-0xd8,_0xb5da67-0x141,_0xb5da67,_0x318cda-_0x2abf3a._0x40b1a6);}return _0x1219c7['fileVersions']['set'](_0x5416a,_0x11287a),_0x11287a;}async function collectClientResults(_0x29b3e4){const _0x1f563d={_0x5ab142:0x5cd,_0x567bfa:0x635,_0x23eaff:0x314,_0x47317f:0x366,_0x39b80a:0x181},_0x35e245={_0xefdc8c:0xe8},_0x39994f={_0x20bb93:0x3f},_0x3cb722=await Promise[_0xe50e3d(0x577,_0x1f563d._0x5ab142,0x5e1,_0x1f563d._0x567bfa)](_0x29b3e4);function _0x3a7d7b(_0x2da3b2,_0x124a2c,_0x421346,_0x111a4e){return _0x48c1e5(_0x124a2c-_0x39994f._0x20bb93,_0x124a2c-0x4,_0x111a4e,_0x111a4e-0x1b7);}function _0xe50e3d(_0x4eacad,_0x523cc1,_0x5bb9cf,_0x39d980){return _0x48c1e5(_0x4eacad-0x193,_0x523cc1-_0x35e245._0xefdc8c,_0x39d980,_0x39d980-0x171);}return _0x3cb722[_0x3a7d7b(_0x1f563d._0x23eaff,0x266,_0x1f563d._0x47317f,_0x1f563d._0x39b80a)](_0x3e3baa=>_0x3e3baa['status']===_0xe50e3d(0x4cd,0x549,0x602,0x568)?_0x3e3baa[_0x3a7d7b(0x260,0x35c,0x2ba,0x4c0)]:[]);}function createLspService(_0x498702={}){const _0xd67781={_0x35c93e:0xbe,_0x31dd30:0xb3,_0x4d9e79:0xd6,_0x58bd74:0x6d},_0x595eaa={_0x46b78f:0x12b,_0x2b616d:0x14d},_0x22653f={_0x5ef599:0x4c,_0xb9acf2:0x50,_0x1a24d8:0x1ac,_0x29dec7:0x2d7,_0x5d0039:0x2ac,_0x236cc0:0x4a1,_0x551f88:0x324,_0x387d1a:0x15,_0x4941c5:0x1e,_0x2c91fc:0x12e,_0x440612:0xec,_0xd47608:0x455,_0x585bbf:0x2de,_0x325af0:0x1c3,_0x77f843:0x6f,_0x17a954:0x145,_0x2ce216:0x14e,_0x475301:0xac,_0x55f2d3:0x193,_0x153544:0x1f1,_0x43f277:0x186,_0x4b53d0:0x32d,_0x5d8fba:0x2b4,_0x16d50b:0x3cf,_0xdb95bd:0x491,_0x10558c:0x4c3,_0x63d461:0x2b5},_0x277be4={_0x9b24ee:0xc1,_0x2943a8:0x7,_0x2e754e:0xa2},_0x4fd20f={_0x1ffdc8:0xcd,_0x542e67:0x57},_0x5f0f3d={_0x57b006:0x38,_0x57743f:0x12c},_0x472074={_0x344e1e:0x24c},_0xa990f9={_0x5cc2d1:0x5b3,_0x5d7cf9:0x460},_0x36342a={_0x38dd72:0x5,_0x3de559:0x1e4},_0x4df44e={_0x10e807:0x46e,_0x7d94c:0x580},_0x640993={_0x536820:0xaa},_0xb7aa03={_0xb1be6c:0xba},_0x21df67={_0x239355:0x330,_0x132e1c:0x222,_0x4549ca:0x338,_0x28ae65:0x3ce,_0x58fdac:0x3b0,_0x16b021:0x3db},_0x52a79d={_0x32d864:0x9},_0x318380={_0x20910c:0x312,_0x45140e:0x1d4},_0x5eb396={_0x10fca:0x362,_0x51242c:0x441,_0x37586a:0x313},_0x49b79d={_0x2c432e:0x19c,_0x146f7c:0x275},_0x128cc4={_0x509515:0x14a},_0x55955a={_0x559490:0x33d,_0x3deb55:0x4ac,_0x3fbdc3:0x388},_0x4cbf3e={_0x329730:0x37d},_0x3d090c={_0x221955:0x16e,_0x50e651:0x1a8,_0x4a9597:0x28e,_0x5df9f:0x330,_0xaed468:0x298,_0x2cc414:0x1d6},_0x14ea1d={_0x40fd73:0x1e5,_0x1858c3:0xa6},_0xf4c479={_0x2cfa7f:0x134,_0x1329ad:0x26a},_0xf934ef={_0x43ba5e:0x44c,_0x2693ef:0x89},_0x28d1b8={_0x512837:0xc,_0x3ea692:0x65,_0x5eb246:0x4},_0x5ed273={_0x1b40c0:0x15d},_0x4416f3={_0x1e9a2a:0x47e,_0x5145fc:0x317,_0x54de73:0x44d},_0x39b146={_0x222989:0xc2},_0x2e4d1a={_0x5dc766:0x1d2,_0x5e3c88:0x9b,_0x14adf0:0xf4},_0x5a3055={_0x171faf:0x1d0,_0x360ad2:0x221,_0x4f942a:0x16,_0x124c11:0x156,_0x33203e:0x4f,_0x54a270:0x50,_0xddebf3:0x85,_0x49ec56:0x50,_0x2db17a:0x9,_0x3719c9:0x204,_0x36f507:0x14a,_0x8c9fae:0xe,_0x1749cd:0xb9,_0x45e144:0x5e,_0x1299cc:0xd2,_0x5f4071:0x93,_0x572e80:0x1c0,_0x538159:0x14c,_0x185141:0x139,_0x5adabb:0x17a},_0x4cb8a1={_0x1684e1:0x7f},_0xb829df={_0x2caf2c:0x164,_0x37c2d6:0x186,_0x20399d:0xcb,_0x5ae31f:0x47,_0x2623f9:0x19d},_0x2ac408={_0x1ff4aa:0x2c8,_0x1591d8:0x343,_0x2d7244:0x266,_0x451eeb:0x1f7,_0x138e52:0x90,_0x42dd63:0x21b,_0x1445bd:0x2e0,_0x169056:0xbc,_0x95898c:0xa9,_0x4a647b:0x6b,_0x50c479:0x20e,_0x5901ef:0xb1,_0xbd52cb:0xf1},_0x4b8ed3={_0x857654:0xeb},_0x3e9543={_0x5bd4d3:0x146},_0xc6d5aa={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x3910ba=()=>_0x498702[_0x4f8b6c(-0x171,-0xc2,-0x93,-0x16e)]!==![];function _0x4f8b6c(_0x20fa20,_0x2ee487,_0x12050b,_0x424300){return _0x42cde8(_0x20fa20-_0x3e9543._0x5bd4d3,_0x2ee487- -0x153,_0x12050b-0x109,_0x424300);}async function _0x4cbc20(_0xa5e682,_0x189298){const _0x3c71fd={_0x4f8291:0x48,_0x890c71:0x340,_0x49cff6:0x16e},_0x1f2ab7={_0x5ddde5:0x68,_0xdc4d53:0x91,_0x4f193e:0x96,_0x4b653d:0x13,_0x38420a:0x39,_0x494dc2:0x4d,_0x4ccf06:0x117,_0x3baa3c:0x20,_0x14be09:0x5a,_0x2dc7c5:0xbf},_0x25a232={_0x59392e:0x7f,_0x4268c1:0x1da,_0x5c8c46:0x42},_0x2818fe=stateKey(_0xa5e682,_0x189298),_0x1445fc=_0xc6d5aa[_0x538caa(0x1a5,_0x2ac408._0x1ff4aa,_0x2ac408._0x1591d8,0x304)]['find'](_0x89912f=>_0x89912f[_0x3d52a8(-0x12d,-0x13b,-0x195,-0x57)]===_0xa5e682['id']&&_0x89912f['root']===_0x189298);if(_0x1445fc)return _0x1445fc;function _0x3d52a8(_0xd05617,_0x27a247,_0x48146e,_0x59d729){return _0x4f8b6c(_0xd05617-0x1e3,_0x59d729-0x16b,_0x48146e-_0x4b8ed3._0x857654,_0x27a247);}if(_0xc6d5aa[_0x538caa(_0x2ac408._0x2d7244,_0x2ac408._0x451eeb,0x371,_0x2ac408._0x138e52)]['has'](_0x2818fe))return void 0x0;const _0xfecc=_0xc6d5aa[_0x538caa(_0x2ac408._0x42dd63,0x16a,0xfa,_0x2ac408._0x1445bd)]['get'](_0x2818fe);if(_0xfecc)return _0xfecc;const _0x47a57f=((async()=>{const _0x3f69bb={_0x214a91:0xde};function _0x1b09c1(_0x410c62,_0x43bee3,_0x28324c,_0x201e1d){return _0x538caa(_0x43bee3,_0x201e1d- -0x315,_0x28324c-_0x3f69bb._0x214a91,_0x201e1d-0x11e);}function _0x14a487(_0x58418e,_0x5b6d94,_0x3e1503,_0x54c7b1){return _0x3d52a8(_0x58418e-_0x25a232._0x59392e,_0x3e1503,_0x3e1503-_0x25a232._0x4268c1,_0x58418e- -_0x25a232._0x5c8c46);}try{const _0x5f149c=await _0xa5e682[_0x14a487(-_0x1f2ab7._0x5ddde5,-0x1b6,-_0x1f2ab7._0xdc4d53,-0x149)](_0x189298);if(!_0x5f149c)return _0xc6d5aa['broken'][_0x14a487(_0x1f2ab7._0x4f193e,-0x5b,0x90,_0x1f2ab7._0x4b653d)](_0x2818fe),void 0x0;const _0x1f949a=await createLspClient({'server':_0xa5e682,'root':_0x189298,'handle':_0x5f149c}),_0x4ad940=_0xc6d5aa['clients']['find'](_0xe11ee0=>_0xe11ee0[_0x14a487(-0x99,0x56,-0x194,-0x122)]===_0xa5e682['id']&&_0xe11ee0[_0x14a487(0x18f,0x60,0x56,0x2d4)]===_0x189298);if(_0x4ad940)return await _0x1f949a['shutdown'](),_0x4ad940;return _0xc6d5aa[_0x1b09c1(-0x2e,_0x1f2ab7._0x38420a,0x1b,-_0x1f2ab7._0x494dc2)][_0x1b09c1(-0x279,-0xd,-_0x1f2ab7._0x4ccf06,-0x142)](_0x1f949a),_0x1f949a;}catch{return _0xc6d5aa[_0x14a487(-_0x1f2ab7._0x3baa3c,-_0x1f2ab7._0x14be09,_0x1f2ab7._0x2dc7c5,-0x3d)][_0x1b09c1(-0xa3,-0x1ac,0xd0,-0x68)](_0x2818fe),void 0x0;}finally{_0xc6d5aa['spawning']['delete'](_0x2818fe);}})());_0xc6d5aa[_0x3d52a8(_0x2ac408._0x169056,0xe5,-_0x2ac408._0x95898c,-_0x2ac408._0x4a647b)][_0x3d52a8(_0x2ac408._0x50c479,_0x2ac408._0x5901ef,0x26d,_0x2ac408._0xbd52cb)](_0x2818fe,_0x47a57f);function _0x538caa(_0x57669f,_0x3ef4e6,_0x4a8999,_0x18e441){return _0x4f8b6c(_0x57669f-_0x3c71fd._0x4f8291,_0x3ef4e6-_0x3c71fd._0x890c71,_0x4a8999-_0x3c71fd._0x49cff6,_0x57669f);}return _0x47a57f;}async function _0x612c39(_0x46044a,_0x360e91){const _0x14432b={_0x48b378:0xb,_0xbed70a:0x3d2},_0x54dd74={_0x848ced:0xec,_0x1ace4f:0x162};if(!_0x3910ba())return[];const _0x19d5c7=[];function _0x1e356d(_0x2ff91d,_0x387c42,_0x453ec2,_0x4c25d8){return _0x4f8b6c(_0x2ff91d-_0x54dd74._0x848ced,_0x4c25d8- -0x1b,_0x453ec2-_0x54dd74._0x1ace4f,_0x2ff91d);}function _0x3e649f(_0x5ce1b8,_0x1dac69,_0x2eb6bd,_0x1e6305){return _0x4f8b6c(_0x5ce1b8-_0x14432b._0x48b378,_0x5ce1b8-_0x14432b._0xbed70a,_0x2eb6bd-0x147,_0x1e6305);}for(const _0x23b00d of getServersForFile(_0x46044a)){const _0x52a70f=await _0x23b00d['root'](_0x46044a);if(!_0x52a70f)continue;const _0xc8de1c=stateKey(_0x23b00d,_0x52a70f);if(_0xc6d5aa[_0x1e356d(-0x90,-0x128,-0xbc,-_0xb829df._0x2caf2c)]['has'](_0xc8de1c))continue;const _0x27ebbd=_0xc6d5aa[_0x1e356d(-_0xb829df._0x37c2d6,_0xb829df._0x20399d,_0xb829df._0x5ae31f,-0x93)]['find'](_0x4a3e07=>_0x4a3e07['serverId']===_0x23b00d['id']&&_0x4a3e07[_0x1e356d(-0x20,0x1b5,0x1c5,0x4b)]===_0x52a70f);if(_0x27ebbd){_0x19d5c7['push'](_0x27ebbd);continue;}if(!_0x360e91)continue;const _0x5a1938=await _0x4cbc20(_0x23b00d,_0x52a70f);if(_0x5a1938)_0x19d5c7[_0x1e356d(-_0xb829df._0x2623f9,-0x197,-0x13f,-0x188)](_0x5a1938);}return _0x19d5c7;}async function _0x47fc41(_0x2d191c,_0x5d404f=![]){const _0x458c81={_0x34e6bc:0x148,_0x529c64:0xdc};function _0x197d36(_0xdd81af,_0x1d4315,_0x229766,_0xc259a4){return _0x4f8b6c(_0xdd81af-0xf6,_0x1d4315- -_0x4cb8a1._0x1684e1,_0x229766-0x17c,_0xdd81af);}const _0x1a1d37=await _0x612c39(_0x2d191c,!![]);function _0x3af45d(_0xd980c0,_0xfa5865,_0x1eca74,_0x42e526){return _0x4f8b6c(_0xd980c0-_0x458c81._0x34e6bc,_0xd980c0-0x315,_0x1eca74-_0x458c81._0x529c64,_0x42e526);}await Promise[_0x197d36(-_0x2e4d1a._0x5dc766,-0xd6,-_0x2e4d1a._0x5e3c88,-0x1c0)](_0x1a1d37[_0x197d36(-_0x2e4d1a._0x14adf0,0x1f,-0x87,0x128)](async _0x2156ce=>{const _0xf9b0f8={_0x38fb96:0x290,_0x30abda:0x100},_0x8a01f2={_0x3c234e:0x16f,_0x4e0087:0xe9,_0x4a7e0e:0x67};!_0xc6d5aa[_0x57182f(-0x1d5,-0x160,-0x158,0x4)][_0x3a72d8(_0x5a3055._0x171faf,0x21b,0xbe,0xe4)](_0x2156ce[_0x3a72d8(-0xfc,-_0x5a3055._0x360ad2,0x31,-0x13d)]+':'+_0x2156ce[_0x57182f(0x284,-_0x5a3055._0x4f942a,_0x5a3055._0x124c11,0x18d)]+':'+_0x2d191c)&&(await _0x2156ce[_0x57182f(_0x5a3055._0x33203e,_0x5a3055._0x54a270,_0x5a3055._0xddebf3,-_0x5a3055._0x49ec56)][_0x57182f(-_0x5a3055._0x2db17a,0x12,-0xac,-_0x5a3055._0x3719c9)]({'path':_0x2d191c}),_0xc6d5aa['openFiles'][_0x3a72d8(0x111,-_0x5a3055._0x36f507,0x121,-_0x5a3055._0x8c9fae)](_0x2156ce[_0x57182f(-_0x5a3055._0x1749cd,_0x5a3055._0x45e144,-_0x5a3055._0x1299cc,-_0x5a3055._0x5f4071)]+':'+_0x2156ce[_0x3a72d8(-0x52,_0x5a3055._0x572e80,0x2f,0xeb)]+':'+_0x2d191c));function _0x57182f(_0x57b3ec,_0x117bf3,_0x2bdc8c,_0x51f66b){return _0x197d36(_0x117bf3,_0x2bdc8c-_0x8a01f2._0x3c234e,_0x2bdc8c-_0x8a01f2._0x4e0087,_0x51f66b-_0x8a01f2._0x4a7e0e);}function _0x3a72d8(_0x1ca95b,_0x3c6180,_0x27a8e9,_0x173f04){return _0x3af45d(_0x173f04- -_0xf9b0f8._0x38fb96,_0x3c6180-_0xf9b0f8._0x30abda,_0x27a8e9-0x21,_0x3c6180);}await _0x2156ce[_0x3a72d8(-0xac,-_0x5a3055._0x538159,-_0x5a3055._0x185141,0x1a)]['change']({'path':_0x2d191c,'version':nextFileVersion(_0xc6d5aa,_0x2d191c)});if(_0x5d404f)await _0x2156ce[_0x57182f(0xba,-_0x5a3055._0x5adabb,-0x19,-0x115)]({'path':_0x2d191c});}));}async function _0x468376(_0x394622){await _0x47fc41(_0x394622['file'],![]);function _0x541d1e(_0x17bb0a,_0x44e739,_0x4a0089,_0x5c10fb){return _0x4f8b6c(_0x17bb0a-0x13c,_0x44e739- -_0x39b146._0x222989,_0x4a0089-0x4b,_0x17bb0a);}return _0x612c39(_0x394622[_0x541d1e(-_0x4416f3._0x1e9a2a,-_0x4416f3._0x5145fc,-0x369,-_0x4416f3._0x54de73)],![]);}async function _0x542433(_0x1a07f7){function _0x116142(_0x4e776d,_0x152fcb,_0x9ef1dd,_0x25f6b9){return _0x4f8b6c(_0x4e776d-_0x5ed273._0x1b40c0,_0x25f6b9-0x3d,_0x9ef1dd-0xdb,_0x4e776d);}const _0x15863c=await _0x468376(_0x1a07f7);function _0x1a0a58(_0x4e499c,_0x28fad2,_0x5b7e7d,_0x13c750){return _0x4f8b6c(_0x4e499c-0x10b,_0x5b7e7d-0x67f,_0x5b7e7d-0xbf,_0x28fad2);}return collectClientResults(_0x15863c[_0x116142(-_0x28d1b8._0x512837,_0x28d1b8._0x3ea692,-_0x28d1b8._0x5eb246,0xdb)](_0x14c15e=>_0x14c15e[_0x116142(-0x7a,0xb7,-0xbd,0x30)][_0x1a0a58(0x686,0x7dd,0x697,0x639)](_0x1a07f7)));}return{'isEnabled':_0x3910ba,async 'hasClients'(_0x542ea3){function _0x4a3145(_0x53ebb5,_0x2b1a47,_0x6613b4,_0x2297ed){return _0x4f8b6c(_0x53ebb5-0x113,_0x6613b4-_0xf934ef._0x43ba5e,_0x6613b4-_0xf934ef._0x2693ef,_0x2297ed);}return(await _0x612c39(_0x542ea3,![]))['length']>0x0||getServersForFile(_0x542ea3)[_0x4a3145(_0xf4c479._0x2cfa7f,0xde,0x24b,_0xf4c479._0x1329ad)]>0x0;},'touchFile':_0x47fc41,async 'diagnostics'(){const _0x3c071b={_0x4132c1:0x1ea,_0x490b17:0x10},_0x333b3e={};function _0x192c0c(_0x1bac2d,_0x4faacf,_0x1b6f5f,_0x27eda8){return _0x4f8b6c(_0x1bac2d-_0x3c071b._0x4132c1,_0x1b6f5f-0x220,_0x1b6f5f-_0x3c071b._0x490b17,_0x1bac2d);}for(const _0x5e6ce6 of _0xc6d5aa[_0x192c0c(0x148,_0x3d090c._0x221955,_0x3d090c._0x50e651,0x317)]){for(const [_0x43fa0d,_0x1bc903]of _0x5e6ce6[_0x508418(_0x3d090c._0x4a9597,_0x3d090c._0x5df9f,_0x3d090c._0xaed468,_0x3d090c._0x2cc414)]){_0x333b3e[diagnosticsKeyToPath(_0x43fa0d)]=_0x1bc903;}}function _0x508418(_0x49c81f,_0x48bc62,_0x5e2140,_0x2b4735){return _0x4f8b6c(_0x49c81f-_0x14ea1d._0x40fd73,_0x5e2140-0x26d,_0x5e2140-_0x14ea1d._0x1858c3,_0x2b4735);}return _0x333b3e;},async 'diagnosticsForFile'(_0x542e30){const _0x4069b4={_0x2ed5b4:0x1dd,_0x221bfb:0x31e};function _0x209fd1(_0x8f5485,_0x2b3642,_0x27b3e9,_0x41db41){return _0x4f8b6c(_0x8f5485-_0x4069b4._0x2ed5b4,_0x27b3e9-_0x4069b4._0x221bfb,_0x27b3e9-0xb1,_0x2b3642);}function _0xb02e6f(_0x44aebd,_0x4f081d,_0x4a52fb,_0x48821b){return _0x4f8b6c(_0x44aebd-0x11a,_0x44aebd-_0x4cbf3e._0x329730,_0x4a52fb-0x191,_0x4a52fb);}await _0x47fc41(_0x542e30,!![]);const _0x1b1a52=[];for(const _0x537b0c of await _0x612c39(_0x542e30,![])){for(const [_0x2788e0,_0x19b424]of _0x537b0c[_0xb02e6f(0x3a8,_0x55955a._0x559490,0x22f,_0x55955a._0x3deb55)]){if(diagnosticsKeyToPath(_0x2788e0)===_0x542e30)_0x1b1a52[_0xb02e6f(0x210,0xb4,0x194,_0x55955a._0x3fbdc3)](..._0x19b424);}}return _0x1b1a52;},async 'definition'(_0x278e1b){const _0x648630={_0x2d193a:0x83};function _0x5099d3(_0x655d2f,_0x1a53c0,_0x3ec775,_0x32016d){return _0x4f8b6c(_0x655d2f-0x141,_0x32016d- -_0x648630._0x2d193a,_0x3ec775-0xff,_0x1a53c0);}return collectClientResults((await _0x468376(_0x278e1b))[_0x5099d3(-_0x128cc4._0x509515,0x72,0x12f,0x1b)](_0x26711b=>_0x26711b['request']['definition'](_0x278e1b)));},async 'references'(_0x45a496){const _0x4dede0={_0x14f735:0x1e0,_0x5079e6:0x1e8};function _0x331bb(_0x43504d,_0x3c4942,_0x13d6e9,_0x37e1b7){return _0x4f8b6c(_0x43504d-_0x4dede0._0x14f735,_0x3c4942-0x224,_0x13d6e9-_0x4dede0._0x5079e6,_0x43504d);}function _0x1eb4ad(_0x493092,_0x9eb15a,_0x2613da,_0x33828c){return _0x4f8b6c(_0x493092-_0x49b79d._0x2c432e,_0x33828c-_0x49b79d._0x146f7c,_0x2613da-0x104,_0x2613da);}return collectClientResults((await _0x468376(_0x45a496))[_0x1eb4ad(0x219,_0x5eb396._0x10fca,_0x5eb396._0x51242c,_0x5eb396._0x37586a)](_0x18096c=>_0x18096c['request'][_0x1eb4ad(0x2b9,0x33,0xf9,0x182)](_0x45a496)));},async 'hover'(_0x492c3a){function _0xfb8fde(_0x1ca6b2,_0xc7ea54,_0x16702c,_0x50a035){return _0x4f8b6c(_0x1ca6b2-0x108,_0xc7ea54-_0x318380._0x20910c,_0x16702c-_0x318380._0x45140e,_0x1ca6b2);}const _0x1f5866=await Promise[_0xfb8fde(_0x21df67._0x239355,0x2d8,_0x21df67._0x132e1c,_0x21df67._0x4549ca)]((await _0x468376(_0x492c3a))[_0xfb8fde(_0x21df67._0x28ae65,_0x21df67._0x58fdac,_0x21df67._0x16b021,0x2f2)](_0x5e97f5=>_0x5e97f5['request']['hover'](_0x492c3a)));function _0x49d51c(_0x18c68f,_0x4d8fc8,_0x27c820,_0x14ac34){return _0x4f8b6c(_0x18c68f-_0x52a79d._0x32d864,_0x18c68f-0x1cf,_0x27c820-0x6,_0x27c820);}return _0x1f5866['flatMap'](_0x55f41d=>_0x55f41d['status']===_0x49d51c(0xeb,0x11e,0x265,0x1ab)&&_0x55f41d[_0xfb8fde(0x368,0x211,0x16a,0xb7)]?[_0x55f41d[_0x49d51c(0xce,-0x7e,0x6a,0x18a)]]:[]);},async 'documentSymbol'(_0xfa419e){function _0x10f0fc(_0x2d530c,_0x3b620c,_0x24481d,_0x36a748){return _0x4f8b6c(_0x2d530c-_0xb7aa03._0xb1be6c,_0x36a748-0x545,_0x24481d-0x7e,_0x2d530c);}function _0x5107f9(_0x99e50a,_0x865f7,_0x3a39b3,_0x22d145){return _0x4f8b6c(_0x99e50a-0x106,_0x865f7- -_0x640993._0x536820,_0x3a39b3-0x1b3,_0x99e50a);}return await _0x47fc41(_0xfa419e,![]),collectClientResults((await _0x612c39(_0xfa419e,![]))[_0x10f0fc(0x72a,_0x4df44e._0x10e807,_0x4df44e._0x7d94c,0x5e3)](_0x2c2c0b=>_0x2c2c0b[_0x10f0fc(0x5d1,0x61e,0x513,0x538)][_0x5107f9(-0x233,-0x24e,-0x265,-0x12b)](_0xfa419e)));},async 'workspaceSymbol'(_0x4f613c){const _0x583283={_0x25e10c:0x56};function _0x802ef9(_0x1bf886,_0x30bd67,_0x3a2923,_0x151798){return _0x4f8b6c(_0x1bf886-_0x583283._0x25e10c,_0x1bf886-0x62b,_0x3a2923-0x1b4,_0x30bd67);}function _0x4f7c8d(_0x44ee0b,_0xc51ebd,_0x49207e,_0x5221c0){return _0x4f8b6c(_0x44ee0b-0x29,_0x49207e-_0x36342a._0x38dd72,_0x49207e-_0x36342a._0x3de559,_0x5221c0);}return collectClientResults(_0xc6d5aa[_0x802ef9(_0xa990f9._0x5cc2d1,_0xa990f9._0x5d7cf9,0x5e1,0x510)]['map'](_0x3b4b45=>_0x3b4b45[_0x4f7c8d(-0x12e,0x165,-0x8,0x156)][_0x802ef9(0x42e,0x52e,0x510,0x463)](_0x4f613c)));},async 'implementation'(_0x2bd681){const _0x4025d2={_0x2b4d03:0x17f},_0x4431ee={_0x53616c:0x2f};function _0x31e0e1(_0x2f7204,_0x25eadb,_0x1e016c,_0x4335be){return _0x4f8b6c(_0x2f7204-_0x4431ee._0x53616c,_0x25eadb-0x140,_0x1e016c-0x2,_0x4335be);}function _0xaa7503(_0x53eb72,_0x4221a9,_0xb80abb,_0xd3e631){return _0x4f8b6c(_0x53eb72-_0x4025d2._0x2b4d03,_0x4221a9-0x11f,_0xb80abb-0x53,_0x53eb72);}return collectClientResults((await _0x468376(_0x2bd681))[_0xaa7503(0x232,0x1bd,_0x472074._0x344e1e,0xa5)](_0x145558=>_0x145558[_0x31e0e1(0x102,0x133,0x1ac,0x178)][_0x31e0e1(-0x235,-0xe6,0x73,-0x211)](_0x2bd681)));},async 'prepareCallHierarchy'(_0x288705){return _0x542433(_0x288705);},async 'incomingCalls'(_0x61ccb9){const _0xc02ebe={_0x177f67:0xd6,_0x2f6fa7:0x3d3,_0x20f872:0xc4},_0x1ac90f=await _0x542433(_0x61ccb9);function _0xa4d9b3(_0x2ce3b9,_0xdd9b70,_0x561cbc,_0x502d4f){return _0x4f8b6c(_0x2ce3b9-_0x5f0f3d._0x57b006,_0x561cbc-0x210,_0x561cbc-_0x5f0f3d._0x57743f,_0x2ce3b9);}function _0x512936(_0xbc6937,_0x569d51,_0x1fdaf5,_0x4d4f73){return _0x4f8b6c(_0xbc6937-_0xc02ebe._0x177f67,_0x569d51-_0xc02ebe._0x2f6fa7,_0x1fdaf5-_0xc02ebe._0x20f872,_0x1fdaf5);}const _0x4a8b67=await _0x468376(_0x61ccb9);return collectClientResults(_0x4a8b67['flatMap'](_0x174a2d=>_0x1ac90f[_0x512936(0x458,0x471,0x5e2,0x4b7)](_0x5987e4=>_0x174a2d[_0xa4d9b3(0x28d,0x21c,0x203,0x23f)][_0xa4d9b3(0x221,0x222,0x28b,0x14e)](_0x5987e4))));},async 'outgoingCalls'(_0x1cd1ee){function _0x520b59(_0x572a75,_0x3251ef,_0x3a1fdd,_0x43dc72){return _0x4f8b6c(_0x572a75-_0x4fd20f._0x1ffdc8,_0x3a1fdd-0x351,_0x3a1fdd-_0x4fd20f._0x542e67,_0x572a75);}function _0x1fdff4(_0x10dff8,_0x17c832,_0x1c6663,_0x23fb3b){return _0x4f8b6c(_0x10dff8-0x15f,_0x10dff8-0x2b8,_0x1c6663-0x187,_0x17c832);}const _0x240ef6=await _0x542433(_0x1cd1ee),_0xaf36c2=await _0x468376(_0x1cd1ee);return collectClientResults(_0xaf36c2[_0x1fdff4(_0x277be4._0x9b24ee,-_0x277be4._0x2943a8,_0x277be4._0x2e754e,0x9e)](_0x53230a=>_0x240ef6['map'](_0x21d4f7=>_0x53230a[_0x520b59(0x369,0x2fb,0x344,0x253)][_0x1fdff4(0x1b9,0xdb,0x180,0xf3)](_0x21d4f7))));},async 'shutdown'(){function _0xbbb643(_0x2a4bc1,_0x422fe1,_0x1aec80,_0x388db3){return _0x4f8b6c(_0x2a4bc1-0x5,_0x422fe1-0x1b8,_0x1aec80-0xa3,_0x1aec80);}function _0x52bf61(_0x5253ab,_0x69d63f,_0x257cc0,_0x1213cc){return _0x4f8b6c(_0x5253ab-0x1a5,_0x5253ab-0x4db,_0x257cc0-0x1a7,_0x1213cc);}if(_0xc6d5aa[_0xbbb643(-0x169,-_0x22653f._0x5ef599,_0x22653f._0xb9acf2,-_0x22653f._0x1a24d8)])return;_0xc6d5aa[_0x52bf61(_0x22653f._0x29dec7,0x393,_0x22653f._0x5d0039,0x2cb)]=!![],await Promise[_0x52bf61(_0x22653f._0x236cc0,0x4cb,_0x22653f._0x551f88,0x5f5)](_0xc6d5aa['clients']['map'](_0x5bf3e4=>_0x5bf3e4[_0xbbb643(0x171,0x122,0x132,0x106)]())),_0xc6d5aa['clients']=[],_0xc6d5aa[_0xbbb643(_0x22653f._0x387d1a,-_0x22653f._0x4941c5,_0x22653f._0x2c91fc,_0x22653f._0x440612)][_0x52bf61(0x3cf,_0x22653f._0xd47608,_0x22653f._0x585bbf,0x49c)](),_0xc6d5aa[_0xbbb643(_0x22653f._0x325af0,_0x22653f._0x77f843,_0x22653f._0x17a954,0x174)][_0xbbb643(_0x22653f._0x2ce216,_0x22653f._0x475301,0xa7,-0x60)](),_0xc6d5aa[_0xbbb643(-_0x22653f._0x55f2d3,-0x94,-_0x22653f._0x153544,-_0x22653f._0x43f277)][_0x52bf61(0x3cf,_0x22653f._0x4b53d0,0x4f8,_0x22653f._0x5d8fba)](),_0xc6d5aa['openFiles'][_0x52bf61(_0x22653f._0x16d50b,_0x22653f._0xdb95bd,_0x22653f._0x10558c,_0x22653f._0x63d461)]();},'status'(){const _0xd6a546={_0x22a996:0x3c};function _0x2a1099(_0x1d2989,_0x3d7644,_0x4385cc,_0x2c08a7){return _0x4f8b6c(_0x1d2989-0x1df,_0x2c08a7-_0x595eaa._0x46b78f,_0x4385cc-_0x595eaa._0x2b616d,_0x3d7644);}function _0x3ca09b(_0x5be180,_0xe2b0c9,_0x1e26bb,_0x4447eb){return _0x4f8b6c(_0x5be180-_0xd6a546._0x22a996,_0x1e26bb-0x255,_0x1e26bb-0xb,_0x4447eb);}return{'connectedClients':_0xc6d5aa[_0x2a1099(0x6a,_0xd67781._0x35c93e,0x13b,_0xd67781._0x31dd30)][_0x2a1099(0x27,-_0xd67781._0x4d9e79,-_0xd67781._0x58bd74,-_0xd67781._0x4d9e79)]};}};}function createQuestionId(){const _0x14d6fc={_0x1d9ebe:0x6f8,_0x12d39e:0x70,_0xd0716d:0x63,_0x9ae8f8:0x6c9,_0x3d1ce2:0x753,_0x3675c8:0x6b,_0x2c6660:0xc1,_0xbf15a7:0x372,_0x3072c7:0x108,_0x46c895:0x23e},_0x400405={_0x29ef60:0x75},_0x9b16f0={_0x5ccf5d:0x5a,_0x5eaf21:0x243};function _0xa1fb4c(_0x33d743,_0x53c701,_0x467fe0,_0x2a9868){return _0x42cde8(_0x33d743-_0x9b16f0._0x5ccf5d,_0x2a9868- -_0x9b16f0._0x5eaf21,_0x467fe0-0x103,_0x467fe0);}function _0x83327e(_0x270477,_0x458b2a,_0x4ba9a7,_0x37c781){return _0x48c1e5(_0x458b2a-0x246,_0x458b2a-0x18,_0x270477,_0x37c781-_0x400405._0x29ef60);}return _0x83327e(0x6d3,0x5fa,_0x14d6fc._0x1d9ebe,0x661)+Date[_0xa1fb4c(_0x14d6fc._0x12d39e,-0x3d,-_0x14d6fc._0xd0716d,-0xb2)]()+'-'+Math[_0x83327e(0x629,_0x14d6fc._0x9ae8f8,_0x14d6fc._0x3d1ce2,0x651)]()[_0xa1fb4c(_0x14d6fc._0x3675c8,-0x90,0x53,-_0x14d6fc._0x2c6660)](0x24)[_0xa1fb4c(-_0x14d6fc._0xbf15a7,-0x2b5,-_0x14d6fc._0x3072c7,-_0x14d6fc._0x46c895)](0x2,0x9);}function validateInput(_0x1199ea){const _0x43e9d2={_0x4a6452:0xe3,_0x590597:0x347,_0x211ad4:0x2d4,_0x3b94c1:0x200,_0x57c5c7:0x1fe,_0x51ed69:0x2f1,_0x38a447:0x2f8,_0x427b17:0x21b,_0x38dafd:0x2c9,_0x397019:0x46f,_0x3d7f44:0x2,_0x19d084:0x4e3,_0x36efdf:0x356,_0x365d1a:0x306,_0x21d01e:0x25f,_0x4147d9:0x38d,_0x1b1ecc:0x310,_0x7ea89f:0xe8,_0x34f173:0x23b,_0x1705ce:0x40a,_0x5406a8:0x37b,_0x2ebf97:0x413,_0x1a73a7:0xe7,_0x11956f:0x283,_0xe02d93:0x1e3,_0x523400:0x262,_0x29368a:0x3c9,_0x4bc356:0x434,_0x51e07e:0x52c,_0x4e5059:0x4b6,_0x19bef1:0x337,_0x59481f:0x45a,_0x5f4127:0x505,_0x32a0bd:0x3de,_0x45103f:0x540,_0x260a72:0x4b3,_0x29fb3a:0x4d9,_0x492d09:0x327,_0x1ef884:0x535,_0xe41cc3:0x21c,_0x584386:0x2e6,_0x3f80bf:0x227,_0x53a9dc:0x2b2,_0x373c88:0x230,_0x19b137:0x176,_0x11f569:0x294,_0x30db10:0x378,_0x538486:0x1e0,_0x8c3b99:0x116,_0x3b108e:0x176,_0x5be8dc:0x2d4,_0x3ac46b:0xc1,_0x1500e5:0x181,_0x2f9556:0x227,_0x4d3247:0x339,_0x20f481:0x26c,_0xd47e29:0x34d,_0x1c7bf4:0x2e2,_0x59c62f:0x3e3,_0x40908a:0x2f2,_0x1c5caa:0x30f,_0x159fc4:0xf8,_0x444fca:0x178,_0x265542:0x4ae,_0x10a45f:0x4c2,_0x51a584:0x48e},_0x2930c5={_0x535fca:0x24},_0x290875={_0x44d766:0x51};function _0x62eba5(_0x57234e,_0x2be27f,_0x264746,_0x1be5e9){return _0x48c1e5(_0x1be5e9- -0xa7,_0x2be27f-_0x290875._0x44d766,_0x264746,_0x1be5e9-0x1c5);}if(!Array[_0x62eba5(_0x43e9d2._0x4a6452,_0x43e9d2._0x590597,_0x43e9d2._0x211ad4,_0x43e9d2._0x3b94c1)](_0x1199ea[_0x62eba5(0x1d8,_0x43e9d2._0x57c5c7,0x2b9,0x2f1)])||_0x1199ea[_0x62eba5(0x24d,0x26b,0x394,_0x43e9d2._0x51ed69)]['length']<0x1||_0x1199ea['questions']['length']>0xa)throw new ToolExecutionError(_0x1e90f7(0x29d,0x40e,0x20e,_0x43e9d2._0x38a447),{'error':_0x62eba5(_0x43e9d2._0x427b17,_0x43e9d2._0x38dafd,0x25a,0x324)});function _0x1e90f7(_0x9b762,_0x4ac283,_0x5dcc14,_0x3e7b90){return _0x48c1e5(_0x9b762- -0x1,_0x4ac283-_0x2930c5._0x535fca,_0x5dcc14,_0x3e7b90-0x1aa);}for(let _0x32db20=0x0;_0x32db20<_0x1199ea[_0x1e90f7(0x397,_0x43e9d2._0x397019,0x262,0x496)][_0x62eba5(_0x43e9d2._0x3d7f44,0x156,0x12f,0x176)];_0x32db20+=0x1){const _0x3b3b0f=_0x1199ea[_0x1e90f7(0x397,_0x43e9d2._0x19d084,_0x43e9d2._0x36efdf,_0x43e9d2._0x365d1a)][_0x32db20];if(!_0x3b3b0f[_0x1e90f7(_0x43e9d2._0x21d01e,0x25a,_0x43e9d2._0x4147d9,_0x43e9d2._0x1b1ecc)]||typeof _0x3b3b0f[_0x1e90f7(_0x43e9d2._0x21d01e,_0x43e9d2._0x7ea89f,0x33d,_0x43e9d2._0x34f173)]!==_0x62eba5(_0x43e9d2._0x1705ce,0x269,0x4a3,_0x43e9d2._0x5406a8))throw new ToolExecutionError(_0x1e90f7(0x484,0x4f8,0x412,_0x43e9d2._0x2ebf97)+(_0x32db20+0x1)+_0x62eba5(_0x43e9d2._0x1a73a7,_0x43e9d2._0x11956f,0x21f,_0x43e9d2._0xe02d93));if(!_0x3b3b0f[_0x62eba5(0x4ac,_0x43e9d2._0x523400,0x3bb,_0x43e9d2._0x29368a)]||typeof _0x3b3b0f['topic']!==_0x62eba5(0x40b,_0x43e9d2._0x4bc356,0x3fb,0x37b))throw new ToolExecutionError(_0x62eba5(_0x43e9d2._0x51e07e,_0x43e9d2._0x4e5059,_0x43e9d2._0x19bef1,0x3de)+(_0x32db20+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3b3b0f[_0x62eba5(0x529,_0x43e9d2._0x59481f,0x38b,0x3c9)]['length']>0x1e)throw new ToolExecutionError(_0x62eba5(_0x43e9d2._0x5f4127,0x3c6,0x4d1,_0x43e9d2._0x32a0bd)+(_0x32db20+0x1)+_0x62eba5(_0x43e9d2._0x45103f,_0x43e9d2._0x260a72,_0x43e9d2._0x29fb3a,0x3e8)+_0x3b3b0f[_0x62eba5(_0x43e9d2._0x492d09,0x323,_0x43e9d2._0x1ef884,0x3c9)][_0x1e90f7(_0x43e9d2._0xe41cc3,0x1e5,0x10e,_0x43e9d2._0x584386)]);if(!Array['isArray'](_0x3b3b0f['options'])||_0x3b3b0f[_0x1e90f7(_0x43e9d2._0x3f80bf,_0x43e9d2._0x53a9dc,0x2d5,0x254)][_0x62eba5(0xb8,-0x3,_0x43e9d2._0x373c88,_0x43e9d2._0x19b137)]<0x2||_0x3b3b0f[_0x1e90f7(0x227,_0x43e9d2._0x11f569,_0x43e9d2._0x30db10,0x215)][_0x62eba5(_0x43e9d2._0x538486,_0x43e9d2._0x8c3b99,0x2d2,_0x43e9d2._0x3b108e)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x32db20+0x1)+':\x20must\x20have\x202-4\x20options');for(let _0x5371aa=0x0;_0x5371aa<_0x3b3b0f[_0x62eba5(_0x43e9d2._0x5be8dc,0xeb,_0x43e9d2._0x3ac46b,_0x43e9d2._0x1500e5)]['length'];_0x5371aa+=0x1){const _0x43c950=_0x3b3b0f[_0x1e90f7(_0x43e9d2._0x2f9556,_0x43e9d2._0x365d1a,_0x43e9d2._0x4d3247,0x26b)][_0x5371aa];if(!_0x43c950[_0x1e90f7(_0x43e9d2._0x20f481,0x256,0x24c,0x161)]||!_0x43c950[_0x62eba5(0x259,0x312,_0x43e9d2._0xd47e29,_0x43e9d2._0x1c7bf4)])throw new ToolExecutionError(_0x1e90f7(0x484,0x40e,_0x43e9d2._0x59c62f,0x30b)+(_0x32db20+0x1)+_0x1e90f7(0x253,_0x43e9d2._0x40908a,_0x43e9d2._0x1c5caa,0x258)+(_0x5371aa+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x3b3b0f[_0x62eba5(0xe8,0x28d,_0x43e9d2._0x159fc4,_0x43e9d2._0x444fca)]!=='boolean')throw new ToolExecutionError(_0x1e90f7(0x484,_0x43e9d2._0x265542,_0x43e9d2._0x10a45f,_0x43e9d2._0x51a584)+(_0x32db20+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x48bf41){const _0x4777d6={_0x131fee:0x322,_0x1145c4:0x194},_0x5bd476={_0x3b120a:0x328},_0x4fa0c8={_0x5d7592:0x145};function _0x44fb6a(_0x388fc6,_0x9e9bda,_0x5f2ec5,_0x25cbaa){return _0x48c1e5(_0x388fc6-0xa5,_0x9e9bda-_0x4fa0c8._0x5d7592,_0x25cbaa,_0x25cbaa-0x47);}function _0x294a2e(_0x3e5bd1,_0xa94a8b,_0x2dfa1d,_0x40431b){return _0x48c1e5(_0x40431b- -_0x5bd476._0x3b120a,_0xa94a8b-0x120,_0x3e5bd1,_0x40431b-0x11);}return _0x48bf41[_0x44fb6a(0x43d,0x446,0x483,_0x4777d6._0x131fee)][_0x294a2e(0x298,0x159,0x16,_0x4777d6._0x1145c4)]((_0x226ed3,_0x75182f)=>({'id':'q'+_0x75182f,'question':_0x226ed3[_0x44fb6a(0x305,0x3ca,0x311,0x334)],'topic':_0x226ed3['topic'],'options':_0x226ed3[_0x44fb6a(0x2cd,0x419,0x2f9,0x2a6)],'multiSelect':_0x226ed3[_0x44fb6a(0x2c4,0x266,0x412,0x245)]}));}function createResult(_0x2815f8,_0x4e82fc,_0x499f44){const _0xb0fd87={_0x14772b:0x242,_0x2d08f4:0x300},_0x3c882b={_0x3dbde3:0x112,_0x584570:0x75,_0x3835e9:0x1e8};function _0x2c517b(_0x4fbeb7,_0x5dff56,_0x307c99,_0x10d2bf){return _0x48c1e5(_0x10d2bf- -_0x3c882b._0x3dbde3,_0x5dff56-_0x3c882b._0x584570,_0x5dff56,_0x10d2bf-_0x3c882b._0x3835e9);}const _0x367e3d={'questionId':_0x2815f8,'questionCount':_0x4e82fc,'answers':_0x499f44};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x2c517b(0x2f6,0x3c3,_0xb0fd87._0x14772b,_0xb0fd87._0x2d08f4)](_0x499f44,null,0x2),_0x367e3d);}function createAskUserTool(){const _0x4e87fd={_0x4bb843:0x4ce,_0x27c495:0x4a9,_0x2539cb:0x25f,_0x58b90c:0x390,_0x47d8c6:0x3c7,_0x578387:0x157,_0x1d2582:0x162,_0x46c71b:0x94,_0x5dea5e:0x553,_0x4ef9fb:0x13e,_0x212035:0x14,_0x3ad52a:0x165,_0x2eb2d6:0xe8,_0x19c067:0xcc,_0x5b2af8:0x88,_0x5a9d27:0x161,_0x234d3b:0x1b1,_0x2d4dbf:0x205,_0x4d740f:0x17,_0x14ad6d:0x18a,_0x2c80e1:0x11d,_0x2442c5:0x2df,_0x1f1881:0x409,_0x389cf4:0x50b,_0x10e037:0x4fb,_0x2a3966:0x591,_0x340694:0x50e,_0x180c3e:0xb8,_0x529b9b:0xa5,_0x375dd6:0x3ce,_0x5a96f8:0x39a,_0x4091c4:0x1aa,_0x4bada2:0x49,_0x4657e1:0x669,_0xb99cd7:0x50a},_0x134eae={_0x511929:0x307,_0x350b24:0x332,_0x5076a0:0x12d,_0x24f7b9:0x51,_0x3d40d7:0x38,_0x1019e3:0x1fe,_0x8d1ddc:0x13c,_0x233b9b:0x65,_0x3c63e8:0x72,_0x511e4a:0x154,_0x4abfe0:0x41,_0x2c8c89:0x1f1,_0x5e297e:0x1aa,_0x2928e2:0x9d,_0x2c32ba:0x7f,_0x3a4afd:0xf8,_0x373634:0x85,_0x409f7f:0x51,_0x38ff5b:0x1ed,_0x3bf282:0x181},_0x15e608={_0x354d61:0x1ee,_0x2d2f22:0xc1},_0x1a4cfb={_0x223fb5:0x10f,_0x262b65:0xb6,_0xbbcc06:0x31d},_0x58558c={_0x4ac04a:0xc,_0x27f83c:0x43d},_0x5c1ffd={_0x58439a:0xd1};function _0x246211(_0x5f014f,_0x252f67,_0x5d933e,_0x81f112){return _0x48c1e5(_0x81f112- -0x305,_0x252f67-_0x5c1ffd._0x58439a,_0x5f014f,_0x81f112-0x1ef);}function _0x25679f(_0x3aa1a0,_0x4e022a,_0x14ae0b,_0x2407c0){return _0x42cde8(_0x3aa1a0-_0x58558c._0x4ac04a,_0x2407c0-_0x58558c._0x27f83c,_0x14ae0b-0x65,_0x3aa1a0);}return defineTool({'name':_0x25679f(0x466,0x36a,_0x4e87fd._0x4bb843,_0x4e87fd._0x27c495),'description':_0x25679f(_0x4e87fd._0x2539cb,_0x4e87fd._0x58b90c,0x4ed,_0x4e87fd._0x47d8c6),'inputSchema':{'type':_0x246211(_0x4e87fd._0x578387,_0x4e87fd._0x1d2582,_0x4e87fd._0x46c71b,0x14),'properties':{'questions':{'type':_0x25679f(0x509,_0x4e87fd._0x5dea5e,0x61a,0x543),'items':{'type':_0x246211(-0x119,_0x4e87fd._0x4ef9fb,-0xce,_0x4e87fd._0x212035),'properties':{'question':{'type':_0x25679f(0x63a,0x588,0x51e,0x594)},'topic':{'type':'string'},'options':{'type':_0x246211(_0x4e87fd._0x3ad52a,-0x32,_0x4e87fd._0x2eb2d6,_0x4e87fd._0x19c067),'items':{'type':_0x246211(-0xc5,_0x4e87fd._0x5b2af8,-_0x4e87fd._0x5a9d27,_0x4e87fd._0x212035),'properties':{'label':{'type':_0x246211(0x56,_0x4e87fd._0x234d3b,_0x4e87fd._0x2d4dbf,0x11d)},'description':{'type':_0x246211(-_0x4e87fd._0x4d740f,0x13d,_0x4e87fd._0x14ad6d,_0x4e87fd._0x2c80e1)}},'required':[_0x25679f(_0x4e87fd._0x2442c5,_0x4e87fd._0x1f1881,0x319,0x3df),_0x25679f(0x5eb,_0x4e87fd._0x389cf4,0x50b,_0x4e87fd._0x10e037)]}},'multiSelect':{'type':_0x25679f(0x3a3,0x3d7,_0x4e87fd._0x2a3966,_0x4e87fd._0x340694)}},'required':[_0x246211(-_0x4e87fd._0x180c3e,-0x11f,0x5a,-_0x4e87fd._0x529b9b),'topic',_0x25679f(0x470,_0x4e87fd._0x375dd6,0x270,_0x4e87fd._0x5a96f8),_0x246211(-_0x4e87fd._0x4091c4,-0xca,-0xfb,-0xe6)]}},'answers':{'type':_0x246211(0x6a,_0x4e87fd._0x4bada2,-0xf4,0x14),'properties':{}}},'required':[_0x25679f(0x647,0x675,_0x4e87fd._0x4657e1,_0x4e87fd._0xb99cd7)]},async *'execute'(_0x25da32,_0x4b8a86){const _0xeccce7=_0x25da32;validateInput(_0xeccce7);const _0x4ebf53=_0x4b8a86[_0x471df0(0x440,_0x134eae._0x511929,_0x134eae._0x350b24,0x221)]??createQuestionId();if(_0xeccce7[_0x471df0(_0x134eae._0x5076a0,0x9f,0xac,0x3f)]&&Object[_0x45337c(_0x134eae._0x24f7b9,0xe9,0x6b,-_0x134eae._0x3d40d7)](_0xeccce7[_0x471df0(_0x134eae._0x1019e3,0x9f,0xe4,-0x85)])['length']>0x0)return createResult(_0x4ebf53,_0xeccce7[_0x45337c(0x24,-_0x134eae._0x8d1ddc,-0x6,0x16c)][_0x471df0(_0x134eae._0x233b9b,_0x134eae._0x3c63e8,0x1b2,0x1da)],_0xeccce7[_0x45337c(-0x59,-0x2a2,-_0x134eae._0x511e4a,-_0x134eae._0x4abfe0)]);function _0x471df0(_0x1886d6,_0x291a22,_0xfa40f5,_0x27cc66){return _0x25679f(_0x27cc66,_0x291a22-_0x1a4cfb._0x223fb5,_0xfa40f5-_0x1a4cfb._0x262b65,_0x291a22- -_0x1a4cfb._0xbbcc06);}if(!_0x4b8a86[_0x471df0(_0x134eae._0x2c8c89,_0x134eae._0x5e297e,_0x134eae._0x2928e2,0x19e)])throw new ToolExecutionError(_0x471df0(-_0x134eae._0x2c32ba,_0x134eae._0x3a4afd,_0x134eae._0x373634,-_0x134eae._0x409f7f));const _0x425099=buildQuestions(_0xeccce7),_0x1624a6=await _0x4b8a86['askUser']({'questionId':_0x4ebf53,'questions':_0x425099});function _0x45337c(_0x53ff6e,_0x369ba9,_0x245acb,_0x2efae5){return _0x246211(_0x369ba9,_0x369ba9-_0x15e608._0x354d61,_0x245acb-_0x15e608._0x2d2f22,_0x245acb- -0x99);}yield createResult(_0x4ebf53,_0xeccce7[_0x471df0(0x28a,_0x134eae._0x38ff5b,0x2fc,0x324)][_0x45337c(-0x24c,-0x1f2,-_0x134eae._0x3bf282,-0x19c)],_0x1624a6);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x4cea09}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0xd5d417){return _0xd5d417 instanceof Error;}function resolveCarriageReturns(_0x272b88){const _0x5a697b={_0x357759:0x2b2,_0x35c2d2:0x475},_0x238c17={_0xa77abd:0x186},_0x3e2595={_0x28113d:0x157};function _0x1f2d9e(_0x2fbb66,_0x9a00d6,_0x2069b6,_0x2e5a75){return _0x48c1e5(_0x9a00d6- -0x40,_0x9a00d6-_0x3e2595._0x28113d,_0x2e5a75,_0x2e5a75-0x16a);}return _0x272b88[_0x1f2d9e(_0x5a697b._0x357759,0x3c6,0x3a4,_0x5a697b._0x35c2d2)]('\x0a')['map'](_0x34e537=>{const _0x54e055={_0x36f487:0x43,_0x24e9a9:0x24f};function _0x4a0ff8(_0x57c78e,_0x1282b7,_0x4b0cc3,_0x2959cf){return _0x1f2d9e(_0x57c78e-_0x54e055._0x36f487,_0x57c78e- -_0x54e055._0x24e9a9,_0x4b0cc3-0x34,_0x2959cf);}if(!_0x34e537['includes']('\x0d'))return _0x34e537;function _0x102eca(_0x18ea47,_0x39e248,_0x55baf9,_0x4fee46){return _0x1f2d9e(_0x18ea47-0x1b7,_0x4fee46- -0x3c2,_0x55baf9-0x1cf,_0x18ea47);}const _0x166bd4=_0x34e537[_0x4a0ff8(0x177,0x1fc,0x18e,0x14e)]('\x0d');return _0x166bd4[_0x166bd4[_0x4a0ff8(-0x72,-0xc8,-0x1ae,-_0x238c17._0xa77abd)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x2040a0){const _0x562194={_0x22367c:0x27d,_0x474f5e:0x29a,_0x20b986:0x2b3,_0x312e11:0xa8,_0xb14115:0x58,_0x1604f9:0x36,_0x2dc9f3:0x3dc,_0x7732bc:0x422,_0x31bee7:0x2de,_0x15b7c3:0x1ea,_0x3474d5:0x36e},_0x2bd77a={_0x5b59d6:0x111},_0x4e98e7={_0x35b59c:0x1f1},_0x1cae46=[];for(const _0x3bbcec of Array[_0x189248(-_0x562194._0x22367c,-0x16b,-_0x562194._0x474f5e,-_0x562194._0x20b986)](_0x2040a0)){_0x3bbcec==='\x08'?_0x1cae46[_0x189248(-_0x562194._0x312e11,-_0x562194._0xb14115,_0x562194._0x1604f9,0x190)]():_0x1cae46[_0x3d0427(_0x562194._0x2dc9f3,_0x562194._0x7732bc,_0x562194._0x31bee7,0x1b3)](_0x3bbcec);}function _0x3d0427(_0xfcc5df,_0x5d49d0,_0x4e580c,_0x21ea63){return _0x48c1e5(_0x4e580c-0x2d,_0x5d49d0-0x17f,_0xfcc5df,_0x21ea63-_0x4e98e7._0x35b59c);}function _0x189248(_0x398ceb,_0x2cd507,_0x4e44b8,_0x1daf1d){return _0x48c1e5(_0x4e44b8- -0x461,_0x2cd507-_0x2bd77a._0x5b59d6,_0x398ceb,_0x1daf1d-0xa3);}return _0x1cae46[_0x3d0427(_0x562194._0x15b7c3,_0x562194._0x3474d5,0x369,0x1fc)]('');}function stripAnsiAndControls(_0x51568b){const _0x3b4ef9={_0x52a74a:0x670,_0x3e12dc:0x3b6,_0x4316f5:0x4fb,_0x225502:0x239,_0xdffa8d:0x17b,_0x153abb:0x8e,_0x34eca1:0x4e,_0x565339:0xf2,_0x4cdb40:0x17e,_0x30751c:0xfa,_0x5278b4:0x4b,_0x3fdcd4:0x79,_0x1fdc42:0x382,_0x3cb734:0x4d1,_0x531f3d:0x306,_0x70caa1:0x39e,_0x4122ea:0x43b,_0x4111fd:0x24,_0x1f31fd:0xd7},_0x2a84bd={_0x55f51c:0xb7,_0x143737:0x13f};_0x51568b=resolveCarriageReturns(_0x51568b),_0x51568b=resolveBackspaces(_0x51568b),_0x51568b=stripVTControlCharacters(_0x51568b);const _0x17043b='\x1b',_0x5d2711='\x07';_0x51568b=_0x51568b[_0x4e432f(_0x3b4ef9._0x52a74a,0x589,_0x3b4ef9._0x3e12dc,_0x3b4ef9._0x4316f5)](new RegExp(_0x43fe42(-_0x3b4ef9._0x225502,-0xfa,-_0x3b4ef9._0xdffa8d,-_0x3b4ef9._0x153abb)+_0x5d2711+_0x43fe42(-_0x3b4ef9._0x34eca1,-0x148,-0x1ea,-_0x3b4ef9._0x565339)+_0x5d2711,'g'),''),_0x51568b=_0x51568b[_0x43fe42(_0x3b4ef9._0x4cdb40,0x4b,-_0x3b4ef9._0x30751c,-_0x3b4ef9._0x565339)](new RegExp(_0x43fe42(-0x7f,0x5a,-0xf9,0x100)+_0x17043b+'\x5c\x5c','g'),''),_0x51568b=_0x51568b[_0x43fe42(-0xde,_0x3b4ef9._0x5278b4,_0x3b4ef9._0x3fdcd4,0x1c7)](new RegExp(_0x5d2711,'g'),'');function _0x43fe42(_0x54bb79,_0x8e120a,_0x560757,_0x8b7789){return _0x48c1e5(_0x8e120a- -0x42f,_0x8e120a-_0x2a84bd._0x55f51c,_0x560757,_0x8b7789-_0x2a84bd._0x143737);}_0x51568b=_0x51568b[_0x4e432f(0x42b,0x608,_0x3b4ef9._0x1fdc42,0x4fb)](new RegExp(_0x17043b+_0x4e432f(_0x3b4ef9._0x3cb734,_0x3b4ef9._0x531f3d,0x437,0x433)+_0x17043b+'\x5c\x5c','g'),''),_0x51568b=_0x51568b[_0x4e432f(_0x3b4ef9._0x70caa1,0x597,_0x3b4ef9._0x4122ea,0x4fb)](new RegExp(_0x17043b+_0x43fe42(0x139,-_0x3b4ef9._0x4111fd,-0x13a,-0x119),'g'),''),_0x51568b=_0x51568b[_0x43fe42(_0x3b4ef9._0x1f31fd,_0x3b4ef9._0x5278b4,-0x43,0x158)](/[\u0080-\u009F]/g,'');function _0x4e432f(_0x38035b,_0x190a64,_0x2635d2,_0x5e8c86){return _0x48c1e5(_0x5e8c86-0x81,_0x190a64-0x156,_0x38035b,_0x5e8c86-0x11b);}return _0x51568b=_0x51568b['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x51568b=_0x51568b['replace'](/[\u23CE\u2424]/g,''),_0x51568b;}function killProcessGroup(_0xe2383b,_0x6c1318,_0xc09f56=_0x48c1e5(0x458,0x4c6,0x436,0x4c7)){const _0x35e5b6={_0x3bf614:0x110,_0x5f4310:0x224,_0x50ca25:0x5e0,_0x2229a4:0x124,_0x1e1d3d:0x18,_0x35c271:0x34,_0x10b476:0x106,_0x451c11:0xd3,_0xed27f4:0xb6,_0x2acaf3:0xb3,_0x62b273:0x1bd,_0x5b43da:0x5a4,_0x230e7d:0x390,_0x4f3804:0x5fa,_0x1293f1:0x5db,_0x156764:0x4ba,_0x22d274:0x49d},_0x28140e={_0x4af426:0x13b,_0x4663e4:0x90},_0x5a4ae5={_0x52b93c:0x110,_0x5812ec:0x16a,_0x12be09:0x91};function _0x206597(_0x3b93d1,_0x5d9ef2,_0x445ff0,_0x2259e8){return _0x42cde8(_0x3b93d1-_0x5a4ae5._0x52b93c,_0x3b93d1- -_0x5a4ae5._0x5812ec,_0x445ff0-_0x5a4ae5._0x12be09,_0x445ff0);}function _0x4bfa05(_0x65efa3,_0x315ff6,_0x2d985c,_0x7f5bf6){return _0x48c1e5(_0x7f5bf6-_0x28140e._0x4af426,_0x315ff6-_0x28140e._0x4663e4,_0x315ff6,_0x7f5bf6-0xc7);}if(!_0xe2383b[_0x206597(0x6b,0x13b,0xf3,0xe8)])return;if(_0x6c1318)try{_0x4cea09(_0x206597(-_0x35e5b6._0x3bf614,0x67,-_0x35e5b6._0x5f4310,0x57),[_0x4bfa05(0x4e1,0x56f,_0x35e5b6._0x50ca25,0x562),_0xe2383b[_0x206597(0x6b,-0x73,_0x35e5b6._0x2229a4,0x14f)][_0x206597(_0x35e5b6._0x1e1d3d,_0x35e5b6._0x35c271,-0xf9,-0xfd)](),'/T','/F'],{'stdio':_0x206597(0x58,0x1a7,-0x9c,-_0x35e5b6._0x10b476)});return;}catch{_0xe2383b[_0x206597(-_0x35e5b6._0x451c11,-_0x35e5b6._0xed27f4,-_0x35e5b6._0x2acaf3,-_0x35e5b6._0x62b273)](_0xc09f56);return;}try{process[_0x4bfa05(_0x35e5b6._0x5b43da,_0x35e5b6._0x230e7d,0x5d9,0x49d)](-_0xe2383b[_0x4bfa05(0x570,_0x35e5b6._0x4f3804,0x5a3,_0x35e5b6._0x1293f1)],_0xc09f56);}catch{_0xe2383b[_0x4bfa05(0x48e,_0x35e5b6._0x156764,0x4f4,_0x35e5b6._0x22d274)](_0xc09f56);}}var BackgroundProcessRegistry=class{[_0x48c1e5(0x1e5,0x6d,0x1ef,0x22e)]=new Map();[_0x48c1e5(0x2cb,0x2b8,0x370,0x34d)];[_0x48c1e5(0x494,0x4e0,0x495,0x47c)];['capChars'];[_0x48c1e5(0x31b,0x2be,0x3bc,0x3b3)]=0x0;constructor(_0x7a8291={}){const _0x573aa3={_0x11ce01:0x2f2,_0x5e81db:0x1c4,_0x4073e8:0x1e5,_0x2081ea:0x420,_0x2128e9:0x314,_0x1b6d37:0xaf},_0x53f44f={_0x171afe:0x57};function _0xd997eb(_0x210033,_0x40467,_0x5183c7,_0x29a69a){return _0x48c1e5(_0x29a69a- -0x180,_0x40467-0x60,_0x5183c7,_0x29a69a-0xa0);}function _0x30d4b1(_0x2aa53f,_0x1b1c71,_0x1e3856,_0x1fb3f9){return _0x48c1e5(_0x1e3856- -0x48f,_0x1b1c71-0xf6,_0x1b1c71,_0x1fb3f9-_0x53f44f._0x171afe);}this[_0x30d4b1(-0x276,-_0x573aa3._0x11ce01,-_0x573aa3._0x5e81db,-0x90)]=_0x7a8291[_0xd997eb(0x4f,_0x573aa3._0x4073e8,0xa1,0x14b)]??0xa,this['maxEntries']=_0x7a8291[_0xd997eb(0x281,_0x573aa3._0x2081ea,0x251,_0x573aa3._0x2128e9)]??0x40,this[_0x30d4b1(-_0x573aa3._0x1b6d37,-0xa5,-0x1d8,-0x8a)]=_0x7a8291['capChars']??0x100000;}[_0x48c1e5(0x28d,0x177,0x1ce,0x2c6)](_0x2ba419){const _0x364541={_0x27c00b:0x34c,_0x11482b:0x4a7,_0x421578:0x319,_0x58f5a4:0x3d8,_0x510a11:0x59c,_0x2180cd:0x2b7,_0x1b9c59:0x31d,_0x35491b:0x355,_0x3a6023:0x2bb,_0x40468f:0x35c,_0x4c6ef1:0x3e4,_0x5c3372:0x440,_0x154401:0x4dc,_0x2e2d4b:0x42a,_0x282e51:0x4cb,_0x541434:0x4dd,_0x42b8ab:0x517,_0x44eae3:0x307,_0x478d95:0x3d6,_0x3b1964:0x43b,_0x8d133d:0x39d,_0x28a005:0x428,_0x361bf3:0x2b4,_0x1f4e68:0x5dc,_0x7670b5:0x4a4,_0x2d9857:0x4bd,_0x58495e:0x5d7,_0x38ea03:0x4db,_0x317008:0x649,_0x10c381:0x65b,_0x1f8664:0x6cf,_0x1cc197:0x391,_0x14d682:0x26b,_0xd8a6c4:0x236,_0x4e9bcf:0x2d0,_0x3c14b8:0x383,_0x2865de:0x198,_0x450246:0x26c,_0x5eff50:0x2fc,_0x1a96ec:0x72d,_0xc3fc24:0x5e0},_0x526dd1={_0xefb51c:0x1bf,_0x49c7fe:0xaa},_0x4bd61d={_0x4daec5:0x11,_0x495477:0x139,_0x4f1567:0x16e,_0x26add0:0x23b,_0x35d7aa:0x3f,_0xdd6179:0x121},_0x35c6ac={_0x4e9a05:0x433,_0x15570c:0x10d},_0x6a444d={_0xd4ab48:0x478,_0x168634:0x25,_0x4ef32f:0xbe,_0x61d66:0xb7,_0x407d9b:0x207,_0x402b40:0x15b,_0x341082:0x555,_0x35d70a:0x3a6,_0x454d41:0x461,_0x19700b:0x13e,_0x19b165:0x136},_0x46d300={_0x5a6c23:0x18b,_0x5846a0:0x229},_0x3a9527={_0x35a061:0x121,_0x2da7dd:0x34c},_0x1b8279=[...this['entries']['values']()]['filter'](_0x781d19=>_0x781d19[_0x2fff9a(0x554,0x652,0x438,0x536)]===_0x5b5d03(0x1c5,0x2ac,0x1b4,0x253))['length'];if(_0x1b8279>=this[_0x5b5d03(0x433,_0x364541._0x27c00b,0x3ee,0x2ef)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x2fff9a(_0x364541._0x11482b,_0x364541._0x421578,0x449,0x48a)]+_0x5b5d03(_0x364541._0x58f5a4,0x4f0,_0x364541._0x510a11,0x3d8),{'running':this[_0x5b5d03(0x45f,0x34c,0x465,_0x364541._0x2180cd)]});const _0x404ecd=_0x5b5d03(_0x364541._0x1b9c59,0x3a8,_0x364541._0x35491b,0x2af)+ ++this['counter']+'-'+randomUUID()['slice'](0x0,0x8),_0x29db48={'shellId':_0x404ecd,'command':_0x2ba419[_0x5b5d03(_0x364541._0x3a6023,_0x364541._0x40468f,_0x364541._0x4c6ef1,0x45d)],'cwd':_0x2ba419[_0x2fff9a(0x585,_0x364541._0x5c3372,0x557,0x440)],'pid':_0x2ba419['child'][_0x5b5d03(_0x364541._0x154401,0x521,0x45b,_0x364541._0x2e2d4b)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x5b5d03(_0x364541._0x282e51,_0x364541._0x541434,_0x364541._0x42b8ab,0x580)](),'child':_0x2ba419['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x5b5d03(0x285,0x307,0x2ec,0x1c3)),'stderrDecoder':new StringDecoder(_0x5b5d03(0x3f1,_0x364541._0x44eae3,0x367,_0x364541._0x478d95)),'stripAnsi':_0x2ba419[_0x2fff9a(0x30b,_0x364541._0x3b1964,_0x364541._0x2e2d4b,0x394)],'killRequested':![],'processExited':![]};_0x2ba419[_0x5b5d03(0x40b,_0x364541._0x8d133d,_0x364541._0x28a005,_0x364541._0x361bf3)]['stdout']?.['on'](_0x5b5d03(_0x364541._0x1f4e68,_0x364541._0x7670b5,0x4df,0x530),_0x321c85=>this['append'](_0x29db48,_0x29db48['stdoutDecoder'][_0x5b5d03(0x352,0x2ff,0x1f8,0x25b)](_0x321c85))),_0x2ba419[_0x2fff9a(_0x364541._0x2d9857,_0x364541._0x58495e,0x5a0,_0x364541._0x38ea03)]['stderr']?.['on'](_0x2fff9a(_0x364541._0x317008,_0x364541._0x10c381,_0x364541._0x1f8664,0x5e2),_0x170831=>this[_0x2fff9a(0x424,0x3e4,0x534,0x534)](_0x29db48,_0x29db48[_0x2fff9a(0x47c,0x348,0x2f9,0x3c6)][_0x2fff9a(0x38c,0x30b,0x5a7,0x43d)](_0x170831)));function _0x5b5d03(_0x1026cb,_0x5587f2,_0x5210e8,_0x35dc02){return _0x42cde8(_0x1026cb-_0x3a9527._0x35a061,_0x5587f2-_0x3a9527._0x2da7dd,_0x5210e8-0x23,_0x1026cb);}_0x2ba419[_0x5b5d03(_0x364541._0x1cc197,_0x364541._0x8d133d,0x236,_0x364541._0x14d682)]['once'](_0x5b5d03(0x3a8,0x325,0x398,_0x364541._0xd8a6c4),()=>{const _0x31193f={_0x1168a4:0x22d};function _0x283401(_0x125eb7,_0x1a85f2,_0x3f531f,_0x180abb){return _0x2fff9a(_0x125eb7-0x62,_0x1a85f2-0x55,_0x3f531f,_0x125eb7- -_0x31193f._0x1168a4);}_0x29db48[_0x283401(0x247,0x17c,_0x46d300._0x5a6c23,_0x46d300._0x5846a0)]=!![];}),_0x2ba419['child'][_0x2fff9a(_0x364541._0x4e9bcf,0x301,0x22c,0x3aa)](_0x2fff9a(0x3b0,_0x364541._0x3c14b8,0x313,0x444),(_0x55e567,_0x46a16c)=>{const _0x545480={_0x4f3969:0x185,_0x1212ea:0xd},_0x1fb010={_0x137a60:0x105};this['append'](_0x29db48,_0x29db48[_0x523a0d(0x547,0x529,_0x6a444d._0xd4ab48,0x445)][_0x481047(0x6b,-_0x6a444d._0x168634,-_0x6a444d._0x4ef32f,-0xcf)]());function _0x481047(_0x1773b3,_0xa08e90,_0x1a2d19,_0x511f97){return _0x2fff9a(_0x1773b3-_0x1fb010._0x137a60,_0xa08e90-0x3d,_0x1773b3,_0x511f97- -0x6b3);}this['append'](_0x29db48,_0x29db48[_0x481047(-0x41e,-0x406,-0x195,-0x2ed)]['end']()),_0x29db48['status']=_0x29db48[_0x481047(-0x1c5,-_0x6a444d._0x61d66,-_0x6a444d._0x407d9b,-_0x6a444d._0x402b40)]?_0x523a0d(_0x6a444d._0x341082,_0x6a444d._0x35d70a,0x4c0,_0x6a444d._0x454d41):_0x481047(-0x262,0x2c,-_0x6a444d._0x19700b,-_0x6a444d._0x19b165),_0x29db48['exitCode']=_0x55e567,_0x29db48['signal']=_0x46a16c;function _0x523a0d(_0x68d879,_0x11dc8c,_0x128d8d,_0x4c5668){return _0x2fff9a(_0x68d879-_0x545480._0x4f3969,_0x11dc8c-0x124,_0x11dc8c,_0x128d8d- -_0x545480._0x1212ea);}_0x29db48['child']=null;}),_0x2ba419['child'][_0x5b5d03(_0x364541._0x2865de,_0x364541._0x450246,_0x364541._0x5eff50,0x23c)]('error',_0x4dee08=>{function _0x95b13b(_0x5c580e,_0x2584f9,_0x59b0ed,_0x2de9b8){return _0x2fff9a(_0x5c580e-0x179,_0x2584f9-0xdd,_0x5c580e,_0x59b0ed- -0x6a4);}_0x29db48[_0x95b13b(-_0x4bd61d._0x4daec5,-_0x4bd61d._0x495477,-_0x4bd61d._0x4f1567,-_0x4bd61d._0x26add0)]=_0x95b13b(-0x25e,-0x95,-0x162,-_0x4bd61d._0x495477),_0x29db48['error']=_0x4dee08['message'];function _0x7c539e(_0x24a86a,_0x5abd7a,_0x319b88,_0xb22528){return _0x5b5d03(_0x24a86a,_0x5abd7a- -_0x35c6ac._0x4e9a05,_0x319b88-0x5f,_0xb22528-_0x35c6ac._0x15570c);}_0x29db48[_0x7c539e(-0x200,-0x96,-_0x4bd61d._0x35d7aa,-_0x4bd61d._0xdd6179)]=null;}),this[_0x5b5d03(0x23e,0x266,0x113,0x226)]['set'](_0x404ecd,_0x29db48);function _0x2fff9a(_0x343408,_0x3301b1,_0x31fda7,_0x2c8083){return _0x48c1e5(_0x2c8083-_0x526dd1._0xefb51c,_0x3301b1-0x165,_0x31fda7,_0x2c8083-_0x526dd1._0x49c7fe);}return this[_0x2fff9a(0x4b7,_0x364541._0x1a96ec,_0x364541._0xc3fc24,0x5f7)](),_0x29db48;}[_0x42cde8(0xd,-0x4f,-0x87,0x10)](_0x19c23c,_0x37b132){const _0x1f8ba8={_0x228d19:0x122,_0x41552e:0xae,_0x5cb744:0x26d,_0x4bab57:0x428,_0x308dc7:0x335,_0x3a2cd6:0x2fb,_0x3f980e:0xaf,_0x1e2a05:0x77,_0x254f5e:0x73,_0xdfbefb:0x12b,_0x53582b:0x38,_0x1d9761:0x184,_0x2cbcde:0x225,_0x585b99:0x12f,_0x17e7dc:0x1b1,_0x2475a4:0x55,_0x3ef3e6:0xa9,_0x202725:0xe8,_0xd8140a:0x161,_0xcea228:0x1a6,_0x34cf14:0x176,_0x429e54:0xdf,_0x8480e1:0x75,_0x195fc1:0x1df,_0x2c84a0:0x3b9,_0x1bbdce:0x12f,_0x41f1c6:0x15c,_0x9e9d55:0x186,_0x2db4a2:0x268,_0x39d25a:0x1a8,_0xdba78e:0xc3,_0x50f229:0x7c,_0xd10d6b:0x385,_0x26564d:0x27e,_0x46e9b0:0x380,_0x232062:0xfc},_0x3f5565={_0x76a303:0x1cc,_0x360985:0x121},_0x4b604e=this['entries'][_0x5f0cc1(0x159,_0x1f8ba8._0x228d19,_0x1f8ba8._0x41552e,0x199)](_0x19c23c);if(!_0x4b604e)throw new ToolExecutionError(_0x457652(0x3af,0x43f,_0x1f8ba8._0x5cb744,_0x1f8ba8._0x4bab57)+_0x19c23c,{'shellId':_0x19c23c});const _0x2caacb=_0x4b604e[_0x457652(_0x1f8ba8._0x308dc7,0x1c8,_0x1f8ba8._0x3a2cd6,0x468)][_0x5f0cc1(_0x1f8ba8._0x3f980e,-_0x1f8ba8._0x1e2a05,-_0x1f8ba8._0x254f5e,-_0x1f8ba8._0xdfbefb)](''),_0x567e4d=Math['max'](_0x4b604e['readCursor'],_0x4b604e['totalDropped']);function _0x5f0cc1(_0x2c471e,_0x2856aa,_0x2e35b7,_0x968564){return _0x48c1e5(_0x2e35b7- -0x3af,_0x2856aa-0x14,_0x968564,_0x968564-0x7b);}const _0x1cd0bb=Math['max'](0x0,_0x4b604e['totalDropped']-_0x4b604e['readCursor']),_0x2671b1=_0x2caacb['slice'](_0x567e4d-_0x4b604e['totalDropped']),_0x4899b7=_0x4b604e[_0x5f0cc1(-0x114,-0x1b3,-_0x1f8ba8._0x53582b,0x79)]!==_0x5f0cc1(-0x2e5,-0x249,-_0x1f8ba8._0x1d9761,-_0x1f8ba8._0x2cbcde);let _0x298068;const _0x48bd52=_0x37b132?.['regex'];if(!_0x48bd52)_0x298068=_0x2671b1,_0x4b604e[_0x457652(_0x1f8ba8._0x585b99,_0x1f8ba8._0x17e7dc,_0x1f8ba8._0x2475a4,0x46)]=_0x4b604e[_0x5f0cc1(-0x211,-_0x1f8ba8._0x3ef3e6,-_0x1f8ba8._0x202725,0x1b)];else{let _0xd9382b;try{_0xd9382b=new RegExp(_0x48bd52);}catch(_0x3e2cbe){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x3e2cbe['message'],{'shellId':_0x19c23c,'regex':_0x48bd52});}let _0x35384b=_0x2671b1;if(!_0x4899b7){const _0x145d32=_0x2671b1[_0x5f0cc1(-0xcd,-0x266,-_0x1f8ba8._0xd8140a,-0x2f)]('\x0a');_0x35384b=_0x145d32>=0x0?_0x2671b1[_0x5f0cc1(-_0x1f8ba8._0xcea228,-_0x1f8ba8._0x34cf14,-_0x1f8ba8._0x429e54,-_0x1f8ba8._0x8480e1)](0x0,_0x145d32+0x1):'';}_0x298068=_0x35384b['split']('\x0a')[_0x5f0cc1(_0x1f8ba8._0x195fc1,0x1ea,0xa0,0x62)](_0x5b15b4=>_0xd9382b[_0x457652(0x268,0x31e,0x148,0x3d1)](_0x5b15b4))[_0x457652(0x23d,0x140,0x1ba,_0x1f8ba8._0x2c84a0)]('\x0a'),_0x4b604e[_0x457652(_0x1f8ba8._0x1bbdce,0xd1,_0x1f8ba8._0x41f1c6,0x1df)]=_0x567e4d+_0x35384b[_0x457652(0x11e,_0x1f8ba8._0x9e9d55,0x111,_0x1f8ba8._0x2db4a2)];}const _0x8eb0fd=(_0x1cd0bb>0x0?'[output\x20truncated:\x20'+_0x1cd0bb+_0x5f0cc1(-0x24,-_0x1f8ba8._0x39d25a,-_0x1f8ba8._0xdba78e,_0x1f8ba8._0x50f229):'')+_0x298068;function _0x457652(_0x399593,_0x5ace56,_0xbc3e65,_0x2b8a57){return _0x42cde8(_0x399593-0x186,_0x399593-_0x3f5565._0x76a303,_0xbc3e65-_0x3f5565._0x360985,_0xbc3e65);}return{'output':_0x8eb0fd,'status':_0x4b604e['status'],'exitCode':_0x4b604e[_0x457652(0x368,_0x1f8ba8._0xd10d6b,_0x1f8ba8._0x26564d,_0x1f8ba8._0x46e9b0)],'signal':_0x4b604e[_0x457652(_0x1f8ba8._0x232062,0x249,0x35,0x5f)],'truncated':_0x1cd0bb>0x0};}['list'](){const _0x2e0188={_0xa88fc8:0x20a,_0x47c05d:0xab,_0x378a43:0x25b,_0xa886d4:0x5db,_0x2eb363:0x5b1,_0x2496d3:0x4d7,_0x2f6d98:0x508},_0x17549c={_0x51b7db:0x183,_0x1e1346:0x1c8},_0x158650={_0x290e35:0x2f0};function _0x303cc8(_0x52153c,_0x42e77c,_0x2f0909,_0x715bc0){return _0x42cde8(_0x52153c-0x145,_0x52153c-_0x158650._0x290e35,_0x2f0909-0xbf,_0x2f0909);}function _0xb0a18a(_0x22cab8,_0x259f33,_0x5e8870,_0x2a7283){return _0x48c1e5(_0x5e8870-0x7d,_0x259f33-_0x17549c._0x51b7db,_0x22cab8,_0x2a7283-_0x17549c._0x1e1346);}return[...this[_0x303cc8(_0x2e0188._0xa88fc8,0x168,_0x2e0188._0x47c05d,_0x2e0188._0x378a43)][_0xb0a18a(_0x2e0188._0xa886d4,_0x2e0188._0x2eb363,_0x2e0188._0x2496d3,_0x2e0188._0x2f6d98)]()];}[_0x42cde8(-0x9e,0x97,-0x57,0x139)](_0x2e9e6f){const _0xfa9084={_0x4020e7:0x25a,_0x5eeb86:0x25,_0x2c1dbe:0x6e9,_0x4da8ee:0x7f5,_0x5f04cd:0x6a,_0x5c796a:0xcf,_0xf75c39:0x129,_0x4e6986:0x5e3,_0x533895:0x5a3,_0x5c8f3a:0x57f,_0x39109d:0x2f3,_0x5d63bf:0xe1,_0x556037:0x69,_0x36dc70:0x6e,_0x320fb9:0x5b,_0x148709:0x14,_0x23c9bc:0x132,_0xc67ede:0x58e,_0x4451c3:0x60d,_0x3a0c2e:0x64e,_0x44f6fb:0x405,_0x3ba287:0x637,_0x58b0e3:0x550,_0x4a8d5e:0x6bd,_0x3000c1:0x142,_0xd6c51e:0xe},_0x433039={_0x328d12:0x14c},_0x4224d5={_0xd68e9c:0x5f,_0x3a9eed:0x9a},_0x4dae75=this[_0x140fc5(-_0xfa9084._0x4020e7,-_0xfa9084._0x5eeb86,-0x81,-0x1a0)][_0x569aa9(_0xfa9084._0x2c1dbe,0x6f4,0x689,_0xfa9084._0x4da8ee)](_0x2e9e6f);if(!_0x4dae75)throw new ToolExecutionError(_0x140fc5(0x193,_0xfa9084._0x5f04cd,_0xfa9084._0x5c796a,_0xfa9084._0xf75c39)+_0x2e9e6f,{'shellId':_0x2e9e6f});function _0x569aa9(_0x301aa9,_0x2f57dc,_0x28e0f3,_0x294d45){return _0x42cde8(_0x301aa9-_0x4224d5._0xd68e9c,_0x28e0f3-0x4f7,_0x28e0f3-_0x4224d5._0x3a9eed,_0x301aa9);}function _0x140fc5(_0x2818db,_0x2e4f05,_0x278e52,_0x4e33bc){return _0x42cde8(_0x2818db-0x146,_0x4e33bc- -0xba,_0x278e52-_0x433039._0x328d12,_0x278e52);}if(_0x4dae75[_0x569aa9(_0xfa9084._0x4e6986,0x4f2,_0xfa9084._0x533895,_0xfa9084._0x5c8f3a)]===_0x569aa9(0x467,0x5ac,0x457,_0xfa9084._0x39109d)&&_0x4dae75[_0x140fc5(-_0xfa9084._0x5d63bf,-0x88,0x99,-_0xfa9084._0x556037)]&&!_0x4dae75['processExited']){_0x4dae75[_0x140fc5(-_0xfa9084._0x36dc70,-0x3,_0xfa9084._0x320fb9,_0xfa9084._0x148709)]=!![];try{killProcessGroup(_0x4dae75[_0x140fc5(-0x63,-_0xfa9084._0x23c9bc,-0xa4,-_0xfa9084._0x556037)],process[_0x569aa9(_0xfa9084._0xc67ede,_0xfa9084._0x4451c3,0x6ae,_0xfa9084._0x3a0c2e)]===_0x569aa9(_0xfa9084._0x44f6fb,_0xfa9084._0x3ba287,_0xfa9084._0x58b0e3,_0xfa9084._0x4a8d5e));}catch{}}return{'status':_0x4dae75[_0x140fc5(_0xfa9084._0x3000c1,-0xc3,-0x5e,-_0xfa9084._0xd6c51e)],'exitCode':_0x4dae75[_0x569aa9(0x75e,0x70d,0x693,0x7f0)],'signal':_0x4dae75['signal']};}async[_0x48c1e5(0x2c8,0x2b5,0x1c7,0x239)](){const _0x4419b9={_0x5ea434:0x72a,_0x13d023:0x6a9,_0x57bfca:0x53f,_0x45fdb8:0x112,_0x4aacb9:0x252,_0xc2e1d5:0xf4,_0x2a7d1a:0x72,_0x51eb21:0x99,_0x3daac1:0x319,_0x2c245a:0x216,_0x379ac1:0x1ff,_0x32f6cd:0xa1},_0x3f30df={_0x4f0af4:0x6c};function _0x467128(_0x2e7435,_0x5c3de1,_0x23ad66,_0x545081){return _0x42cde8(_0x2e7435-0xbf,_0x545081-0x48,_0x23ad66-0x1aa,_0x5c3de1);}function _0x34cf80(_0xe8ec10,_0x4f230f,_0x22522c,_0x5eabb8){return _0x42cde8(_0xe8ec10-0x1b1,_0xe8ec10-0x519,_0x22522c-_0x3f30df._0x4f0af4,_0x5eabb8);}for(const _0x2c2377 of this[_0x34cf80(0x433,0x4f6,0x573,0x3a0)][_0x34cf80(0x6a8,_0x4419b9._0x5ea434,_0x4419b9._0x13d023,_0x4419b9._0x57bfca)]()){if(_0x2c2377[_0x467128(_0x4419b9._0x45fdb8,0x1de,_0x4419b9._0x4aacb9,_0x4419b9._0xc2e1d5)]==='running'&&_0x2c2377['child']&&!_0x2c2377['processExited']){_0x2c2377['killRequested']=!![];try{killProcessGroup(_0x2c2377[_0x467128(_0x4419b9._0x2a7d1a,-0xe,0xc7,_0x4419b9._0x51eb21)],process[_0x467128(_0x4419b9._0x3daac1,_0x4419b9._0x2c245a,0x32c,_0x4419b9._0x379ac1)]===_0x467128(0x24,0x1e3,0x19d,_0x4419b9._0x32f6cd));}catch{}}}}[_0x48c1e5(0x375,0x36e,0x346,0x288)](_0x3cfbc7,_0x231a20){const _0x2e400f={_0x799058:0x207,_0xd30ba3:0xc,_0x409fc2:0x15d,_0x41e66c:0xad,_0x545fb5:0x1a6,_0x481565:0x3cc,_0x25d6bf:0x4de,_0x12e422:0x569,_0x1f60b7:0x361,_0x57f9be:0x309,_0x3542a2:0xd8,_0x5367e9:0x6c5,_0x51e807:0x581,_0x30687f:0x41,_0x14ed2a:0xc3,_0x45c83f:0x790,_0x3b9456:0x519,_0x5d3001:0x661,_0x4a2b3a:0x61d,_0x482bc9:0x5d2,_0x230df7:0x746,_0xcb4198:0x69f,_0x59c08e:0x393,_0x15fbd9:0x366,_0x674830:0xe5,_0x34d87f:0x17d,_0x5e39af:0x71,_0x4088ff:0xfa,_0x2c1f69:0x50e,_0xf80a9:0x6c7,_0x52b9ce:0x363,_0x34116d:0x20a},_0xc55cc6={_0x4e155f:0x1bb},_0x3fa69c=_0x3cfbc7[_0x47bcb7(-_0x2e400f._0x799058,-_0x2e400f._0xd30ba3,-0xb9,-_0x2e400f._0x409fc2)]?stripAnsiAndControls(_0x231a20):_0x231a20;function _0x4f8e26(_0x44aa32,_0x2e85a2,_0x397cba,_0x2cd9f0){return _0x42cde8(_0x44aa32-_0xc55cc6._0x4e155f,_0x2e85a2-0x4f8,_0x397cba-0x19c,_0x397cba);}function _0x47bcb7(_0x16b696,_0x458871,_0x499dfb,_0x252561){return _0x42cde8(_0x16b696-0x1d1,_0x499dfb-0x3d,_0x499dfb-0x3d,_0x458871);}if(_0x3fa69c['length']===0x0)return;_0x3cfbc7[_0x47bcb7(_0x2e400f._0x41e66c,0x2a5,_0x2e400f._0x545fb5,0x4a)][_0x4f8e26(_0x2e400f._0x481565,_0x2e400f._0x25d6bf,0x3b0,_0x2e400f._0x12e422)](_0x3fa69c),_0x3cfbc7[_0x47bcb7(0x9d,_0x2e400f._0x1f60b7,0x20a,0xbb)]+=_0x3fa69c[_0x4f8e26(_0x2e400f._0x57f9be,0x44a,0x3e6,0x35d)],_0x3cfbc7['totalProduced']+=_0x3fa69c[_0x47bcb7(_0x2e400f._0x3542a2,-0x26,-0x71,-0xac)];while(_0x3cfbc7[_0x4f8e26(0x767,_0x2e400f._0x5367e9,0x5cf,_0x2e400f._0x51e807)]>this[_0x47bcb7(0x17c,-_0x2e400f._0x30687f,0x29,0x1f)]){const _0x1dd914=_0x3cfbc7[_0x47bcb7(0x2ed,0x315,0x20a,_0x2e400f._0x14ed2a)]-this['capChars'],_0x2254db=_0x3cfbc7[_0x4f8e26(_0x2e400f._0x45c83f,0x661,0x57f,0x6f5)][0x0];_0x2254db[_0x4f8e26(0x39e,0x44a,0x4c3,_0x2e400f._0x3b9456)]<=_0x1dd914?(_0x3cfbc7[_0x4f8e26(0x6ae,_0x2e400f._0x5d3001,0x609,_0x2e400f._0x4a2b3a)][_0x4f8e26(_0x2e400f._0x482bc9,0x609,0x649,_0x2e400f._0x230df7)](),_0x3cfbc7[_0x4f8e26(0x564,_0x2e400f._0x5367e9,_0x2e400f._0xcb4198,0x5b7)]-=_0x2254db[_0x4f8e26(0x46f,0x44a,_0x2e400f._0x59c08e,_0x2e400f._0x15fbd9)],_0x3cfbc7[_0x47bcb7(0x1a,-0x3e,0xd8,-0x24)]+=_0x2254db[_0x47bcb7(_0x2e400f._0x674830,-_0x2e400f._0x34d87f,-_0x2e400f._0x5e39af,_0x2e400f._0x4088ff)]):(_0x3cfbc7[_0x4f8e26(_0x2e400f._0x2c1f69,_0x2e400f._0x5d3001,_0x2e400f._0xf80a9,0x4ef)][0x0]=_0x2254db['slice'](_0x1dd914),_0x3cfbc7[_0x47bcb7(0x2c8,_0x2e400f._0x52b9ce,_0x2e400f._0x34116d,0x37b)]-=_0x1dd914,_0x3cfbc7['totalDropped']+=_0x1dd914);}}[_0x42cde8(0x274,0x16d,0x6d,0xdd)](){const _0x4097e1={_0x333c64:0x34a,_0x4f7ba1:0x485,_0x4bc7a3:0x27b,_0x32aa3d:0x6e0,_0x13d35e:0x494,_0x2bf40b:0x5ea,_0x15e335:0x3a3,_0x15478d:0x68f,_0x2ed6cf:0x65e,_0x37425d:0x527,_0x5d36d4:0x5e7,_0x11e961:0x2aa,_0x335a02:0x3db,_0x3be1c7:0x52e,_0x4724d4:0x395,_0x5b6832:0x331,_0xfcb26b:0x257,_0x3ea1e3:0x3a5,_0x2bdbc7:0x38e},_0x1b7c59={_0x21ddf4:0x1b0,_0x275062:0x93,_0x28e2a5:0x88},_0x58856f={_0x5766c9:0x1e5};if(this[_0x14d7b0(0x2bc,0x353,0x3f9,0x18b)][_0x14d7b0(_0x4097e1._0x333c64,0x46f,_0x4097e1._0x4f7ba1,_0x4097e1._0x4bc7a3)]<=this[_0x14d7b0(0x56b,_0x4097e1._0x32aa3d,_0x4097e1._0x13d35e,_0x4097e1._0x2bf40b)])return;function _0x14d7b0(_0x27f115,_0x4fe143,_0x35dfd4,_0x373b7b){return _0x48c1e5(_0x27f115-0xd7,_0x4fe143-_0x58856f._0x5766c9,_0x35dfd4,_0x373b7b-0x29);}function _0x53d97d(_0x384436,_0x525fd1,_0xce4b0d,_0x4afb42){return _0x48c1e5(_0xce4b0d-_0x1b7c59._0x21ddf4,_0x525fd1-_0x1b7c59._0x275062,_0x384436,_0x4afb42-_0x1b7c59._0x28e2a5);}for(const [_0x52d49f,_0x5a61ad]of this[_0x14d7b0(0x2bc,_0x4097e1._0x15e335,0x1ef,0x23e)]){if(_0x5a61ad[_0x53d97d(_0x4097e1._0x15478d,_0x4097e1._0x2ed6cf,_0x4097e1._0x37425d,_0x4097e1._0x5d36d4)]!==_0x53d97d(0x410,_0x4097e1._0x11e961,_0x4097e1._0x335a02,_0x4097e1._0x3be1c7)){this[_0x53d97d(0x454,0x27b,_0x4097e1._0x4724d4,_0x4097e1._0x5b6832)][_0x53d97d(_0x4097e1._0xfcb26b,_0x4097e1._0x3ea1e3,0x37c,_0x4097e1._0x2bdbc7)](_0x52d49f);return;}}}};function createBashOutputTool(_0x47f2f8){const _0x3df166={_0xd16b23:0x654,_0x298f26:0x689,_0x3f3109:0x62d,_0xa3d559:0x26,_0x39032d:0x169,_0x4849eb:0x62a,_0xb96012:0x651,_0x10b653:0x6bd,_0x5ddeb:0x7bb},_0xda8798={_0x291f44:0x14d,_0x1a02d3:0x1a6,_0x49f1ba:0x173,_0x1fc1b4:0x4f1,_0x4759d5:0x55f,_0x2ed974:0x64,_0x129f36:0x2e,_0x38abb4:0x19e,_0x5d2779:0xcb,_0x5c531d:0x396,_0x5aa246:0x336,_0x5acf42:0x36e},_0x1fe590={_0x440481:0x64,_0x3092d3:0x68f,_0x4be4b3:0x12a},_0x5193b3={_0x3423ce:0x34,_0x2ce5a7:0x299},_0x352ac8={_0x1655ac:0x70,_0x1ee896:0x507,_0x164e3b:0x4};function _0x10424f(_0x2ee92c,_0xf16b8,_0x235484,_0xf889bd){return _0x42cde8(_0x2ee92c-_0x352ac8._0x1655ac,_0xf16b8-_0x352ac8._0x1ee896,_0x235484-_0x352ac8._0x164e3b,_0x235484);}function _0x5a8900(_0x199f84,_0x5b244e,_0x45d3c8,_0x1a7291){return _0x42cde8(_0x199f84-0x122,_0x45d3c8-0x12,_0x45d3c8-0xcd,_0x5b244e);}const {registry:_0x5da9a0}=_0x47f2f8;return defineTool({'name':_0x10424f(_0x3df166._0xd16b23,0x5ed,_0x3df166._0x298f26,0x50e),'description':_0x10424f(0x5c5,0x68a,0x5ec,_0x3df166._0x3f3109),'inputSchema':{'type':_0x10424f(0x62e,0x555,0x553,0x59b),'properties':{'shellId':{'type':_0x5a8900(0x1b2,_0x3df166._0xa3d559,_0x3df166._0x39032d,0x2c6)},'regex':{'type':_0x10424f(0x50d,0x65e,_0x3df166._0x4849eb,0x538)}},'required':[_0x10424f(_0x3df166._0xb96012,_0x3df166._0x10b653,_0x3df166._0x5ddeb,0x70b)]},async *'execute'(_0x13c915){function _0x3496b1(_0x7edb1b,_0x40dd79,_0x57facd,_0x10a163){return _0x10424f(_0x7edb1b-_0x5193b3._0x3423ce,_0x40dd79- -_0x5193b3._0x2ce5a7,_0x57facd,_0x10a163-0x1c5);}function _0x4ef626(_0x48f759,_0x422113,_0x38b2a1,_0x2657ff){return _0x10424f(_0x48f759-_0x1fe590._0x440481,_0x422113- -_0x1fe590._0x3092d3,_0x2657ff,_0x2657ff-_0x1fe590._0x4be4b3);}const _0x21ba40=_0x5da9a0[_0x4ef626(-_0xda8798._0x291f44,-0x1d7,-0x92,-_0xda8798._0x1a02d3)](_0x13c915['shellId'],_0x13c915['regex']?{'regex':_0x13c915[_0x4ef626(-0x6d,-0x81,-_0xda8798._0x49f1ba,-0x5)]}:void 0x0);return createToolOutput(_0x21ba40[_0x3496b1(_0xda8798._0x1fc1b4,0x422,0x4b9,_0xda8798._0x4759d5)],{'shellId':_0x13c915[_0x4ef626(_0xda8798._0x2ed974,_0xda8798._0x129f36,_0xda8798._0x38abb4,-_0xda8798._0x5d2779)],'status':_0x21ba40[_0x3496b1(_0xda8798._0x5c531d,0x31a,_0xda8798._0x5aa246,0x38b)],'exitCode':_0x21ba40['exitCode'],'signal':_0x21ba40['signal'],'truncated':_0x21ba40[_0x3496b1(_0xda8798._0x5acf42,0x396,0x272,0x24b)]});}});}import{spawn as _0x14da27}from'child_process';import{statSync}from'fs';import*as _0x20ec71 from'os';import*as _0x2cf08d from'path';import{StringDecoder as _0x37b053}from'string_decoder';import{stat}from'fs/promises';import*as _0x3c485e from'path';function isPathInside(_0x3d7b42,_0x188f5d){const _0x236224={_0x4377b2:0x224,_0x137928:0x24c,_0x1179e1:0x172,_0x2d3cfb:0xd2,_0x1f729e:0x555,_0x5262fa:0x675,_0x30cc67:0x277,_0x550efe:0x1fe,_0x4e62b8:0x301},_0x4f0949={_0x58cb36:0x10b},_0x37aec8={_0x43a751:0x2b6,_0x19e0ed:0x99};function _0x5ea1f9(_0x1c0c85,_0x408381,_0x3bdcd7,_0x1072ca){return _0x48c1e5(_0x1c0c85-_0x37aec8._0x43a751,_0x408381-0x48,_0x408381,_0x1072ca-_0x37aec8._0x19e0ed);}const _0x403d33=_0x3c485e['resolve'](_0x3d7b42);function _0x4333c4(_0x2aac00,_0x15367e,_0x323c6f,_0x112534){return _0x48c1e5(_0x15367e- -0xf6,_0x15367e-0x28,_0x323c6f,_0x112534-_0x4f0949._0x58cb36);}const _0x2fa1da=_0x3c485e[_0x4333c4(_0x236224._0x4377b2,_0x236224._0x137928,_0x236224._0x1179e1,_0x236224._0x2d3cfb)](_0x403d33,_0x188f5d);return _0x2fa1da===''||!_0x2fa1da[_0x5ea1f9(0x50f,0x636,_0x236224._0x1f729e,_0x236224._0x5262fa)]('..')&&!_0x3c485e[_0x4333c4(_0x236224._0x30cc67,0x230,_0x236224._0x550efe,_0x236224._0x4e62b8)](_0x2fa1da);}function resolveWorkspacePath(_0x21c714,_0xa0fc94){return resolveAllowedPath(_0x21c714,[],_0xa0fc94);}function resolveAllowedPath(_0x5f2835,_0x4addd9,_0x42b9f0){const _0x3211a9={_0x1291bc:0x30b,_0x128d12:0x395,_0x322068:0xd6,_0x11541f:0xd1,_0x5e1670:0x20,_0x586df7:0xf},_0x1b2f79={_0x1ef0ca:0xf8,_0x2b25e6:0xf0},_0x49fcf8=_0x3c485e[_0x80c04a(_0x3211a9._0x1291bc,0x2df,_0x3211a9._0x128d12,0x4a7)](_0x5f2835),_0x229736=_0x3c485e[_0x41b2b4(-_0x3211a9._0x322068,-_0x3211a9._0x11541f,0x49,0x7)](_0x49fcf8,_0x42b9f0);function _0x41b2b4(_0x2a4f6d,_0x5aef35,_0x1e54d1,_0x38f143){return _0x48c1e5(_0x2a4f6d- -0x45b,_0x5aef35-0xff,_0x38f143,_0x38f143-0xf6);}const _0x5cf806=[_0x49fcf8,..._0x4addd9['map'](_0x2e06b0=>_0x3c485e[_0x41b2b4(-0xd6,0x5d,-0x93,0x95)](_0x2e06b0))];if(_0x5cf806[_0x41b2b4(0x4d,0x13b,0x71,0x3e)](_0xbc7313=>isPathInside(_0xbc7313,_0x229736)))return _0x229736;function _0x80c04a(_0x1cf21d,_0x473719,_0x502e1b,_0x411c7e){return _0x42cde8(_0x1cf21d-_0x1b2f79._0x1ef0ca,_0x502e1b-0x2db,_0x502e1b-_0x1b2f79._0x2b25e6,_0x411c7e);}throw new ToolExecutionError(_0x41b2b4(0x5a,-_0x3211a9._0x5e1670,_0x3211a9._0x586df7,0x63)+_0x42b9f0,{'path':_0x42b9f0,'rootDir':_0x49fcf8,'allowedDirs':_0x5cf806});}async function assertWorkspaceFile(_0x253668){const _0x2069fd={_0x15beb6:0x1b1},_0x254d1e={_0x3dfe7d:0x119},_0x52be10=await stat(_0x253668);function _0x1e01fd(_0x54967c,_0x366c2e,_0x594e3a,_0x332a24){return _0x48c1e5(_0x332a24-_0x254d1e._0x3dfe7d,_0x366c2e-0x14d,_0x366c2e,_0x332a24-0x55);}if(!_0x52be10[_0x1e01fd(_0x2069fd._0x15beb6,0x2a9,0x441,0x2f8)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x253668,{'path':_0x253668});}function isProbablyBinary(_0x57282f){const _0x19c3c2={_0x3e9931:0x156,_0x3e2269:0x2c5,_0xf81d1f:0x1ec},_0x3d0cb4={_0x5dcefb:0x1c8};function _0x5e2c60(_0x377ffe,_0x4624c5,_0xdc5d25,_0x4c664b){return _0x48c1e5(_0x377ffe- -_0x3d0cb4._0x5dcefb,_0x4624c5-0xa9,_0x4c664b,_0x4c664b-0x128);}return _0x57282f[_0x5e2c60(_0x19c3c2._0x3e9931,_0x19c3c2._0x3e2269,0xf7,_0x19c3c2._0xf81d1f)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x48c1e5(0x263,0x397,0x2d6,0x1b5)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x456da4,_0xa87d0b){const _0x2e769e={_0x26811d:0x82,_0x493841:0x1b0,_0x11560c:0x120,_0x143c74:0x292,_0x3700e6:0x289,_0x29b052:0x1b7,_0x24e71e:0x16a,_0x258ead:0xba,_0x536809:0xfb,_0xd9f42c:0x1de,_0x2128ab:0x123,_0x3dc82d:0x23b,_0x54fb68:0x6a},_0xe333bb={_0xdd9b14:0xe,_0x41ee43:0x239,_0x3ffcb4:0x1dd},_0x35d5e7={_0x3e490d:0x159,_0x51d365:0xc},_0x412841={...process[_0x4af41c(-0xb2,0xa8,-0x1fe,-0x18f)],..._0x456da4??{}};if(_0xa87d0b[_0x4af41c(-_0x2e769e._0x26811d,-0x160,-_0x2e769e._0x493841,-_0x2e769e._0x11560c)]===0x0)return _0x412841;function _0x4af41c(_0x1378b5,_0x5bb5c0,_0x41962d,_0x3f7ff1){return _0x48c1e5(_0x1378b5- -0x29f,_0x5bb5c0-_0x35d5e7._0x3e490d,_0x3f7ff1,_0x3f7ff1-_0x35d5e7._0x51d365);}if(_0x20ec71[_0x4af41c(0x1e3,0x24c,_0x2e769e._0x143c74,_0x2e769e._0x3700e6)]()==='win32'){const _0xb8b52=new Set(_0xa87d0b['map'](_0x553dc2=>_0x553dc2[_0x4af41c(0x161,0x33,0x132,-0xf)]()));for(const _0x32dd8f of Object[_0x1ec428(-_0x2e769e._0x29b052,-_0x2e769e._0x24e71e,-_0x2e769e._0x258ead,-_0x2e769e._0x536809)](_0x412841)){if(_0xb8b52[_0x4af41c(_0x2e769e._0xd9f42c,_0x2e769e._0x2128ab,_0x2e769e._0x3dc82d,_0x2e769e._0x54fb68)](_0x32dd8f[_0x1ec428(-0x1ba,-0x12a,0x71,-0x104)]()))delete _0x412841[_0x32dd8f];}}else{for(const _0x1c5e68 of _0xa87d0b)delete _0x412841[_0x1c5e68];}function _0x1ec428(_0x392754,_0x2d84b1,_0x41e57b,_0x16924a){return _0x42cde8(_0x392754-_0xe333bb._0xdd9b14,_0x16924a- -_0xe333bb._0x41ee43,_0x41e57b-_0xe333bb._0x3ffcb4,_0x392754);}return _0x412841;}function mapSpawnError(_0x245985,_0x77f751){const _0x4ce9bc={_0x5f18b:0x4b,_0x2b69e1:0xf8,_0x4fcb83:0x149,_0x16fdee:0x1eb,_0x27b573:0x4b4,_0x45a062:0x29a},_0x25a958={_0x9661e6:0x11e,_0x3f871d:0x1e4,_0x284be2:0x139},_0xb1308f={_0x5d3295:0x1f4,_0x21f90a:0x1b4};if(isErrnoException(_0x245985)&&_0x245985[_0x2d2b04(0x2a1,0x242,0x1ce,0x40e)]===_0x2d2b04(_0x4ce9bc._0x5f18b,0x8,-_0x4ce9bc._0x2b69e1,_0x4ce9bc._0x4fcb83))return new ToolExecutionError(_0x321b0d(0x35f,_0x4ce9bc._0x16fdee,_0x4ce9bc._0x27b573,_0x4ce9bc._0x45a062)+_0x77f751['shellPath'],_0x77f751);function _0x2d2b04(_0x165bdc,_0x5ef5a1,_0x3e82f0,_0x434dea){return _0x48c1e5(_0x165bdc- -_0xb1308f._0x5d3295,_0x5ef5a1-_0xb1308f._0x21f90a,_0x5ef5a1,_0x434dea-0x1c0);}function _0x321b0d(_0xb84e68,_0x106a51,_0x5df111,_0x24f0e1){return _0x48c1e5(_0xb84e68-_0x25a958._0x9661e6,_0x106a51-_0x25a958._0x3f871d,_0x24f0e1,_0x24f0e1-_0x25a958._0x284be2);}return new ToolExecutionError(_0x245985 instanceof Error?_0x245985['message']:String(_0x245985),_0x77f751);}function shellExists(_0x2417c4){const _0x5f37f1={_0x520a2a:0x12f},_0x11355d={_0x3f42ff:0x9a,_0x58af5e:0xd9};function _0x1a8de5(_0x45b38c,_0x1fbc69,_0x55c1df,_0x3fbf59){return _0x48c1e5(_0x1fbc69- -0x165,_0x1fbc69-_0x11355d._0x3f42ff,_0x3fbf59,_0x3fbf59-_0x11355d._0x58af5e);}try{const _0x14b813=statSync(_0x2417c4);return _0x14b813['isFile']()&&(_0x14b813[_0x1a8de5(0x12e,0x151,0x289,_0x5f37f1._0x520a2a)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3ff76b){const _0x3c8729={_0x3d4c2c:0xe6,_0x596c5e:0x2ff,_0x1b4118:0x24f,_0x5c2305:0x10b,_0x27cca0:0x12c,_0x2c9a0c:0x69,_0x18af68:0x34,_0x4bb7f7:0x162,_0x2e3e9b:0x2b,_0x4045ff:0x1ab,_0xbc47ec:0x240,_0x5cf1d6:0x1cd,_0x23b847:0x238,_0x2a6a68:0x1bb,_0x556f64:0x24e,_0x545ab0:0x180,_0x372427:0x21d,_0x3bcd8a:0x14b,_0x209723:0x147,_0x4555e8:0x15},_0x4344c7={_0x4252fa:0x13f};if(_0x3ff76b)return _0x3ff76b;if(_0x20ec71['platform']()===_0x58f642(-0x179,-0x3a,-0x136,-_0x3c8729._0x3d4c2c))return process[_0x58f642(-_0x3c8729._0x596c5e,-0x164,-_0x3c8729._0x1b4118,-0x21d)][_0x58f642(-_0x3c8729._0x5c2305,_0x3c8729._0x27cca0,_0x3c8729._0x2c9a0c,-_0x3c8729._0x18af68)]||'cmd.exe';const _0x5d59c8=[_0x58f642(_0x3c8729._0x4bb7f7,-_0x3c8729._0x2e3e9b,-0x105,0x15),_0x58f642(-_0x3c8729._0x4045ff,-0x27c,-0x37a,-_0x3c8729._0xbc47ec),_0x414664(0xe2,_0x3c8729._0x5cf1d6,-0x74,0xda),_0x58f642(-0x24d,-0x216,-_0x3c8729._0x23b847,-_0x3c8729._0x2a6a68)];function _0x414664(_0x2230c8,_0x3d2e44,_0x1063e1,_0x4ecf49){return _0x48c1e5(_0x2230c8- -0x224,_0x3d2e44-0xb2,_0x3d2e44,_0x4ecf49-0x1e0);}for(const _0x1e0efb of _0x5d59c8){if(shellExists(_0x1e0efb))return _0x1e0efb;}const _0x3aac51=process[_0x58f642(-0x104,-_0x3c8729._0x556f64,-_0x3c8729._0x545ab0,-_0x3c8729._0x372427)][_0x58f642(-0x2a0,-0x357,-_0x3c8729._0x3bcd8a,-0x20c)];function _0x58f642(_0x28d1fc,_0x29d47d,_0x1e4b81,_0x448e0f){return _0x42cde8(_0x28d1fc-0x16c,_0x448e0f- -_0x4344c7._0x4252fa,_0x1e4b81-0xe7,_0x1e4b81);}if(_0x3aac51&&shellExists(_0x3aac51))return _0x3aac51;return _0x58f642(_0x3c8729._0x209723,0x2a,0x3b,_0x3c8729._0x4555e8);}function buildShellArgs(_0x21a550,_0x24a312){const _0x184007={_0x1a7eb:0x26d,_0x50f1e0:0x231,_0x49e150:0x21f},_0x959ba2={_0x38a79b:0x1e},_0x2d7af0={_0x6781c9:0x116};function _0x1c7d71(_0x5e6dd3,_0x368d6a,_0x3880d3,_0x251cbb){return _0x42cde8(_0x5e6dd3-_0x2d7af0._0x6781c9,_0x251cbb-0x214,_0x3880d3-0xab,_0x5e6dd3);}if(_0x20ec71['platform']()===_0x1c7d71(0x354,0x1cc,0x368,_0x184007._0x1a7eb)){const _0x441bda=/cmd(\.exe)?$/i[_0x1c7d71(0x42b,0x180,_0x184007._0x50f1e0,0x2b0)](_0x24a312);return _0x441bda?['/d','/s','/c',_0x21a550]:[_0x1c7d71(0x2d8,0x127,0x260,_0x184007._0x49e150),_0x37c92a(0x39c,0x451,0x411,0x4d3),'-Command',_0x21a550];}function _0x37c92a(_0x8f6e41,_0x2156a,_0x47cc27,_0x5eabca){return _0x48c1e5(_0x47cc27-0x32,_0x2156a-_0x959ba2._0x38a79b,_0x2156a,_0x5eabca-0x1db);}return['-c',_0x21a550];}function resolveWorkingDirectory(_0x57df30,_0x31ff95,_0x35ca22){const _0x18632c={_0x1c1df1:0x391,_0x1f82df:0x483,_0x363371:0x93,_0x391c72:0x1b5},_0x3b0245={_0x56f940:0x10d},_0x3a7c3b={_0x18b511:0x433},_0x45caf3=resolveAllowedPath(_0x31ff95,_0x35ca22,_0x57df30??'.');function _0x14e7a2(_0x46affb,_0x31ce5b,_0x1226d7,_0xdad1f5){return _0x42cde8(_0x46affb-0x16d,_0x1226d7-_0x3a7c3b._0x18b511,_0x1226d7-0xad,_0xdad1f5);}function _0x298baa(_0x25a6a1,_0x210dbd,_0x37f057,_0xed87d4){return _0x42cde8(_0x25a6a1-_0x3b0245._0x56f940,_0x37f057- -0x1f2,_0x37f057-0x165,_0xed87d4);}try{const _0x9e3ee4=statSync(_0x45caf3);if(!_0x9e3ee4[_0x14e7a2(0x1e7,_0x18632c._0x1c1df1,0x33b,_0x18632c._0x1f82df)]())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x45caf3,{'cwd':_0x45caf3});return _0x45caf3;}catch(_0x4698dd){if(_0x4698dd instanceof ToolExecutionError)throw _0x4698dd;throw new ToolExecutionError(_0x298baa(-0x1da,-_0x18632c._0x363371,-0xf4,-_0x18632c._0x391c72)+_0x45caf3,{'cwd':_0x45caf3});}}function appendChunk(_0x126af2,_0x976749,_0x40fcee,_0x4217f5,_0x4bf3af){const _0x30119b={_0x431ae2:0x13e,_0x4f1c28:0x19d},_0x14fe53=_0x4217f5?stripAnsiAndControls(_0x40fcee):_0x40fcee;if(_0x14fe53[_0x1a3537(-0xcc,-0x243,-_0x30119b._0x431ae2,-_0x30119b._0x4f1c28)]===0x0)return;_0x126af2['push'](_0x14fe53);function _0x1a3537(_0x1030e1,_0x438bef,_0x505148,_0xbacb63){return _0x48c1e5(_0x1030e1- -0x2e9,_0x438bef-0xf9,_0x438bef,_0xbacb63-0x13);}_0x976749['push'](_0x14fe53),_0x4bf3af();}function createBashTool(_0x18528c={}){const _0x286760={_0x3713fe:0x12e,_0x2bd040:0x1e8,_0x3de510:0x46,_0x30a8b6:0x297,_0x109457:0x1b5,_0x293e96:0xe6,_0x3115e6:0x38,_0x2eb694:0x29,_0x1e3312:0x1e0,_0x3c108a:0x41c,_0x270585:0x68e,_0xe5d9d0:0x115,_0x27e446:0xed,_0x13646c:0xb5,_0x2690a9:0x246,_0x420ab1:0x17c,_0x4505bd:0xb,_0x549f49:0x3b,_0x6e7724:0x3b1,_0x79d49:0x285,_0x33ba71:0x2e2,_0x4b062e:0x661,_0x719575:0x68a,_0x1210dc:0x721,_0x189213:0x7c7,_0x23ae48:0x74f,_0xf7489b:0x2f2,_0x25eb15:0x1a4,_0x351321:0x2e0,_0x380bca:0x2d9,_0x42c0b7:0x26b,_0x2afda4:0x13e,_0x31eeba:0x187},_0x3b3015={_0x32d3d0:0x2ff,_0x503946:0x3e4,_0x198adf:0x380,_0x101456:0x4d0,_0xc4a6be:0x5a5,_0x3d98e7:0x394,_0x4a16c2:0x3da,_0x1f6d91:0x3dd,_0xe33312:0x40a,_0x5806b5:0x274,_0x4c2132:0x36a,_0x5c05f3:0x361,_0x5a0a1e:0x473,_0x136852:0x619,_0x8219ac:0x6c7,_0x82490e:0x7d4,_0x3bad48:0x54b,_0x3b978e:0x47c,_0x176a22:0x3f6,_0x5245d:0x6f8,_0x32cc67:0x4ed,_0x3379cd:0x514,_0x179c34:0x433,_0x3ef99d:0x42b,_0xdadfaa:0x422,_0x24fa83:0x4f5,_0x13e392:0x419,_0xd731a0:0x398,_0x2eb93d:0x43e,_0x4114e6:0x4f6,_0x32c8b0:0x509,_0x15b903:0x6bb,_0x30bce9:0x624,_0x348ba7:0x492,_0x45616f:0x58f,_0x3308e6:0x7fe,_0x4222db:0x6e5,_0x4b097f:0x3f8,_0x3a24e1:0x3d5,_0x698336:0x55f,_0x228b3e:0x4fc,_0x1a064e:0x6bf,_0x2674ed:0x62d,_0x33bdaa:0x613,_0x450be3:0x432,_0x483b7b:0x2cb,_0x3aa09e:0x6bd,_0x58a042:0x740,_0x435d67:0x584,_0x465bc3:0x81c,_0x1c1bb1:0x5bb,_0x48a8d7:0x6d2,_0xd412ad:0x4f4,_0x2fdd93:0x534,_0x33d0ae:0x600,_0xe57ce8:0x4fd,_0x2ff033:0x5b6,_0x30048e:0x607,_0x175e2d:0x3d2,_0x4116d9:0x70c,_0x1b29b1:0x506,_0x325e34:0x4cd,_0x4325fc:0x53d,_0x17be15:0x596,_0x38c491:0x62f,_0x5b43d0:0x36e,_0x5b83fa:0x488,_0x17cdaf:0x532,_0x58fbfb:0x41f,_0x18703c:0x256,_0x1850f7:0x4e5,_0x4f8cf0:0x22e,_0x2a0d9f:0x390,_0x1947eb:0x305,_0x55c018:0x597,_0x342933:0x6da,_0x23bc58:0x480,_0x1a932b:0x582,_0x5cb26b:0x44e,_0x46346e:0x778,_0x229f1c:0x62d,_0xc3d549:0x4b3,_0x47bf50:0x608,_0x4520ab:0x4dd,_0x303b77:0x2e0,_0x30540f:0x453,_0x9fb0a9:0x4e6,_0x5acede:0x621,_0x3bee04:0x5b1,_0x38ac95:0x609,_0x4bec3a:0x59d,_0x557ce8:0x5c6,_0x2f1ad1:0x5fe,_0x2c3a5f:0x377,_0x13222d:0x4c4,_0x4cedc8:0x614,_0x4f7a92:0x556,_0x2e3de3:0x4f2,_0x2a88d2:0x74a,_0x16a877:0x6ab,_0x3fb6e2:0x75b,_0x42a57:0x481},_0x308d74={_0x3cbfe8:0x62e,_0x41531e:0x53d},_0x7d07fa={_0x36ae70:0xe0},_0x5439a9={_0x2d315f:0xed,_0x2a1c04:0x132},_0x40e662=_0x2cf08d[_0xaaa7b5(_0x286760._0x3713fe,_0x286760._0x2bd040,0x169,0x1d5)](_0x18528c[_0xaaa7b5(-_0x286760._0x3de510,0x122,_0x286760._0x30a8b6,0x6)]??process[_0xaaa7b5(0x24b,0xe4,0x15,_0x286760._0x109457)]()),_0x59f286=_0x18528c['allowedDirs']??[];function _0x4d3134(_0x3fa73c,_0x524e51,_0x4fcd6f,_0x45024a){return _0x48c1e5(_0x4fcd6f-0x268,_0x524e51-_0x5439a9._0x2d315f,_0x45024a,_0x45024a-_0x5439a9._0x2a1c04);}const _0x202c17=_0x18528c[_0xaaa7b5(_0x286760._0x293e96,0x10f,0x19c,0x1e5)]??DEFAULT_TIMEOUT_MS,_0x4f9831=_0x18528c[_0xaaa7b5(-0x8a,_0x286760._0x3115e6,-_0x286760._0x2eb694,-0x12a)]??!![];function _0xaaa7b5(_0x10beb6,_0xb0d35c,_0x2fc55a,_0x193e42){return _0x42cde8(_0x10beb6-0x137,_0xb0d35c-0x12e,_0x2fc55a-0x1e9,_0x2fc55a);}const _0x4893e8=_0x18528c['name']??_0xaaa7b5(-0x4,0x69,0x8b,_0x286760._0x1e3312),_0x47d9bc=_0x18528c[_0x4d3134(0x627,_0x286760._0x3c108a,0x544,_0x286760._0x270585)]??[],_0x1b3c45=_0x18528c[_0xaaa7b5(_0x286760._0xe5d9d0,0xc8,_0x286760._0x27e446,0x32)];return defineTool({'name':_0x4893e8,'description':_0x18528c[_0xaaa7b5(0x107,0x1ec,0x22c,_0x286760._0x13646c)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0xaaa7b5(_0x286760._0x2690a9,_0x286760._0x420ab1,_0x286760._0x4505bd,_0x286760._0x549f49),'properties':{'command':{'type':_0xaaa7b5(_0x286760._0x6e7724,_0x286760._0x79d49,0x16c,_0x286760._0x33ba71)},'description':{'type':_0x4d3134(0x7d0,_0x286760._0x4b062e,_0x286760._0x719575,_0x286760._0x1210dc),'description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20execution.\x20Be\x20specific,\x20e.g.\x20\x27Run\x20the\x20auth\x20tests\x20to\x20verify\x20the\x20token-refresh\x20fix\x27\x20rather\x20than\x20\x27run\x20tests\x27.'},'cwd':{'type':_0x4d3134(_0x286760._0x189213,_0x286760._0x23ae48,0x68a,0x514)},'timeoutMs':{'type':_0xaaa7b5(_0x286760._0xf7489b,_0x286760._0x25eb15,_0x286760._0x351321,_0x286760._0x380bca)},'ignoreOutput':{'type':_0xaaa7b5(0x117,0x1ff,0x32a,_0x286760._0x42c0b7)},'runInBackground':{'type':_0x4d3134(0x5f0,0x746,0x604,0x519)}},'required':[_0xaaa7b5(0xa0,_0x286760._0x2afda4,_0x286760._0x31eeba,0x5e),_0x4d3134(0x709,0x608,0x5f1,0x53e)]},async *'execute'(_0x5eacb9,_0xed9c40){const _0x4c0280={_0x2e38cb:0x357,_0x3a0a54:0x315,_0x31fce5:0x436,_0x2cbe50:0x3ee,_0x4c39f0:0x384},_0x49fb7d={_0x19eb16:0x113,_0x4d31db:0xa6,_0x109556:0x5,_0x442125:0xff,_0x2db517:0x172,_0x5b83ed:0x13a},_0x1d3046={_0x1e3e28:0x174,_0x2bff18:0xdd},_0x1a992b={_0x4a4a21:0x1d3,_0x23a3bd:0x147,_0x3e298c:0x129,_0x5827ad:0x167,_0x506c65:0x4b0,_0x55c2b4:0x454,_0x1c785e:0x5a0,_0x48cc6c:0x329,_0x3ea776:0x356,_0x1b9bc5:0x241,_0x10df76:0x283},_0x53f5ea={_0x376840:0xe7,_0x91c885:0x72,_0x4426ae:0x5d,_0x29b45e:0x1a7},_0x1b1fa8={_0x5a0959:0x5f4,_0x43f2cd:0x93},_0x4358ad={_0x35bb41:0x1d7,_0x4be4b4:0x1e8},_0x616176={_0x540062:0x234},_0x3c9524={_0xeda5ee:0x1a5,_0x2a0f51:0x223};function _0xba8854(_0xc25663,_0x1d1a88,_0x2976e8,_0x1b4476){return _0x4d3134(_0xc25663-0x4f,_0x1d1a88-0xa7,_0x2976e8- -0x23,_0xc25663);}const _0x5503a8=_0x5eacb9[_0x2cac2d(0x4e7,_0x3b3015._0x32d3d0,0x2c7,_0x3b3015._0x503946)]??_0x202c17;if(!Number[_0xba8854(0x476,_0x3b3015._0x198adf,_0x3b3015._0x101456,_0x3b3015._0xc4a6be)](_0x5503a8)||_0x5503a8<0x1)throw new ToolExecutionError(_0x2cac2d(_0x3b3015._0x3d98e7,_0x3b3015._0x4a16c2,_0x3b3015._0x1f6d91,0x3ea),{'command':_0x5eacb9[_0x2cac2d(0x343,_0x3b3015._0xe33312,0x59d,0x44e)]});throwIfAborted(_0xed9c40['signal']);const _0x3a4dc2=resolveWorkingDirectory(_0x5eacb9[_0x2cac2d(0x3f2,0x383,0x310,0x3f4)],_0x40e662,_0x59f286),_0x13e780=_0x5eacb9[_0x2cac2d(0x2be,_0x3b3015._0x5806b5,_0x3b3015._0x4c2132,_0x3b3015._0x5c05f3)]??![],_0x2f6dd5=resolveDefaultShell(_0x18528c[_0xba8854(_0x3b3015._0x5a0a1e,0x465,0x4e2,0x48b)]),_0x169b4a=buildShellArgs(_0x5eacb9['command'],_0x2f6dd5),_0x2c6e23=_0x20ec71[_0xba8854(0x5b5,_0x3b3015._0x136852,_0x3b3015._0x8219ac,_0x3b3015._0x82490e)]()===_0x2cac2d(0x466,0x39d,0x5ca,0x497);if(_0x5eacb9[_0xba8854(_0x3b3015._0x3bad48,0x3f9,_0x3b3015._0x3b978e,_0x3b3015._0x176a22)]){if(!_0x1b3c45)throw new ToolExecutionError(_0x2cac2d(0x4d4,_0x3b3015._0x5245d,_0x3b3015._0x32cc67,0x5d8),{'command':_0x5eacb9['command']});throwIfAborted(_0xed9c40[_0x2cac2d(0x4ab,0x288,0x21f,0x36e)]);let _0x40bb19;try{_0x40bb19=_0x14da27(_0x2f6dd5,_0x169b4a,{'cwd':_0x3a4dc2,'env':buildChildEnv(_0x18528c[_0xba8854(_0x3b3015._0x3379cd,0x310,0x432,0x2c2)],_0x47d9bc),'stdio':['ignore','pipe',_0x2cac2d(0x467,_0x3b3015._0x179c34,0x57a,_0x3b3015._0x3ef99d)],'shell':![],'windowsHide':!![],'detached':!_0x2c6e23});}catch(_0x3de447){throw mapSpawnError(_0x3de447,{'command':_0x5eacb9['command'],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5});}let _0x1f97bb;try{_0x1f97bb=_0x1b3c45[_0xba8854(0x54d,_0x3b3015._0xdadfaa,0x4d2,_0x3b3015._0x24fa83)]({'child':_0x40bb19,'command':_0x5eacb9[_0xba8854(0x68d,0x556,0x520,0x61c)],'cwd':_0x3a4dc2,'stripAnsi':_0x4f9831});}catch(_0x57065a){_0x40bb19[_0xba8854(0x390,_0x3b3015._0x13e392,0x430,0x470)](_0x2cac2d(0x500,_0x3b3015._0xd731a0,_0x3b3015._0x2eb93d,_0x3b3015._0x4114e6),()=>{});try{killProcessGroup(_0x40bb19,_0x2c6e23);}catch{}throw _0x57065a;}return createToolOutput(_0xba8854(0x64f,0x4e7,0x5cf,_0x3b3015._0x32c8b0)+_0x1f97bb[_0x2cac2d(_0x3b3015._0x15b903,0x5aa,_0x3b3015._0x30bce9,0x5f4)]+_0x2cac2d(0x4d1,0x6fb,_0x3b3015._0x348ba7,0x588)+(_0x1f97bb[_0xba8854(_0x3b3015._0x45616f,_0x3b3015._0x3308e6,_0x3b3015._0x4222db,0x6a1)]??'?')+_0x2cac2d(0x520,_0x3b3015._0x4b097f,_0x3b3015._0x3a24e1,0x483),{'shellId':_0x1f97bb['shellId'],'status':_0x1f97bb[_0x2cac2d(0x444,_0x3b3015._0x698336,0x493,0x4ea)],'command':_0x1f97bb['command'],'description':_0x5eacb9[_0x2cac2d(0x45c,0x47c,0x386,_0x3b3015._0x228b3e)],'cwd':_0x1f97bb['cwd'],'pid':_0x1f97bb[_0x2cac2d(0x640,_0x3b3015._0x1a064e,_0x3b3015._0x2674ed,_0x3b3015._0x33bdaa)]??null});}let _0x364ee2;try{_0x364ee2=_0x14da27(_0x2f6dd5,_0x169b4a,{'cwd':_0x3a4dc2,'env':buildChildEnv(_0x18528c[_0xba8854(0x488,0x4f3,_0x3b3015._0x450be3,_0x3b3015._0x483b7b)],_0x47d9bc),'stdio':_0x13e780?[_0x2cac2d(0x495,_0x3b3015._0x3aa09e,0x670,0x600),_0x2cac2d(_0x3b3015._0x58a042,0x6c2,_0x3b3015._0x435d67,0x600),_0xba8854(_0x3b3015._0x465bc3,_0x3b3015._0x1c1bb1,_0x3b3015._0x48a8d7,0x6ef)]:[_0x2cac2d(0x6c1,_0x3b3015._0xd412ad,_0x3b3015._0x2fdd93,_0x3b3015._0x33d0ae),'pipe',_0xba8854(0x5ed,0x38c,_0x3b3015._0xe57ce8,_0x3b3015._0x2ff033)],'shell':![],'windowsHide':!![],'detached':!_0x2c6e23});}catch(_0x409d16){throw mapSpawnError(_0x409d16,{'command':_0x5eacb9[_0xba8854(0x4bc,0x469,0x520,_0x3b3015._0x30048e)],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5});}const _0x524c4e=[];function _0x2cac2d(_0x2190e9,_0x36b8e2,_0x1606c7,_0x36990f){return _0x4d3134(_0x2190e9-0x100,_0x36b8e2-_0x7d07fa._0x36ae70,_0x36990f- -0xf5,_0x2190e9);}const _0x425ea5=[],_0x544c42=new _0x37b053(_0x2cac2d(0x45b,_0x3b3015._0x175e2d,0x3ed,0x3f9)),_0x568d07=new _0x37b053('utf8');let _0x2d0413,_0x1d0189=![],_0x2ee27a;const _0x7c69a2=()=>{if(!_0x2d0413)return;const _0x22b1b3=_0x2d0413;_0x2d0413=void 0x0,_0x22b1b3();},_0x421c2e=async()=>{if(_0x425ea5['length']>0x0||_0x1d0189)return;await new Promise(_0x46cbf5=>{_0x2d0413=_0x46cbf5;});},_0x1099ce=_0x41a7f9=>{function _0x37c5ce(_0x4070a9,_0x3e7c37,_0x2698e0,_0xbe5c49){return _0xba8854(_0x4070a9,_0x3e7c37-_0x3c9524._0xeda5ee,_0x2698e0- -_0x3c9524._0x2a0f51,_0xbe5c49-0xee);}appendChunk(_0x524c4e,_0x425ea5,_0x544c42[_0x37c5ce(_0x616176._0x540062,0x160,0x2a0,0x37a)](_0x41a7f9),_0x4f9831,_0x7c69a2);},_0xc82bd8=_0x15936f=>{function _0x5ddbd6(_0x1e5cc6,_0x3a8175,_0x255d41,_0x27125f){return _0x2cac2d(_0x1e5cc6,_0x3a8175-0xcd,_0x255d41-0x38,_0x3a8175- -0x5c8);}appendChunk(_0x524c4e,_0x425ea5,_0x568d07[_0x5ddbd6(-0x31d,-_0x4358ad._0x35bb41,-0x209,-_0x4358ad._0x4be4b4)](_0x15936f),_0x4f9831,_0x7c69a2);};_0x364ee2[_0x2cac2d(_0x3b3015._0x4116d9,_0x3b3015._0x1b29b1,0x6e7,0x5d2)]?.['on'](_0x2cac2d(_0x3b3015._0x325e34,0x6db,_0x3b3015._0x4325fc,_0x3b3015._0x17be15),_0x1099ce),_0x364ee2[_0xba8854(_0x3b3015._0x38c491,0x3a4,0x4c4,0x546)]?.['on']('data',_0xc82bd8);let _0x3c553f=![],_0x40d47a;const _0x586b2a=addAbortListener(_0xed9c40[_0x2cac2d(0x3ba,0x4b2,0x200,_0x3b3015._0x5b43d0)],()=>{const _0x428712={_0x56065b:0x17,_0x2f4106:0x287};_0x2ee27a=toAbortError(_0xed9c40[_0x2c6d5(_0x53f5ea._0x376840,0x42,-_0x53f5ea._0x91c885,_0x53f5ea._0x4426ae)][_0x2c6d5(0x303,_0x53f5ea._0x29b45e,0x313,0x310)]),_0x1d0189=!![];function _0x4ba691(_0xce81e8,_0x5d30a0,_0x41c019,_0x26a2d2){return _0xba8854(_0x41c019,_0x5d30a0-0x56,_0x26a2d2- -_0x1b1fa8._0x5a0959,_0x26a2d2-_0x1b1fa8._0x43f2cd);}_0x7c69a2();function _0x2c6d5(_0x1d2da1,_0x3c1ea6,_0x4b3318,_0x16dd9f){return _0x2cac2d(_0x3c1ea6,_0x3c1ea6-0x1a,_0x4b3318-_0x428712._0x56065b,_0x1d2da1- -_0x428712._0x2f4106);}try{killProcessGroup(_0x364ee2,_0x2c6e23);}catch{}});try{const _0x2d36f6=new Promise((_0x4001d4,_0x33e203)=>{const _0x93dab={_0x5dc1f5:0x1d1},_0x3fa3ff=()=>{const _0xe2c39b={_0x3bee34:0x1f9};_0x40d47a&&(clearTimeout(_0x40d47a),_0x40d47a=void 0x0);function _0x481def(_0x4df116,_0x4c6654,_0x358606,_0x4f2f71){return _0x59f9(_0x4f2f71- -0x1c4,_0x4c6654);}_0x364ee2[_0x481def(_0x1a992b._0x4a4a21,_0x1a992b._0x23a3bd,_0x1a992b._0x3e298c,_0x1a992b._0x5827ad)](_0x4a2d27(_0x1a992b._0x506c65,_0x1a992b._0x55c2b4,_0x1a992b._0x1c785e,_0x1a992b._0x48cc6c),_0x2952bc);function _0x4a2d27(_0x29a46e,_0x388f83,_0x2015ae,_0x2c4c36){return _0x59f9(_0x388f83-_0xe2c39b._0x3bee34,_0x2c4c36);}_0x364ee2['off'](_0x4a2d27(0x33d,_0x1a992b._0x3ea776,_0x1a992b._0x1b9bc5,_0x1a992b._0x10df76),_0xa5be8f);};function _0x219c9e(_0x227f9b,_0x562cb9,_0x2956f7,_0x54f3a5){return _0xba8854(_0x562cb9,_0x562cb9-_0x1d3046._0x1e3e28,_0x227f9b-0x3a,_0x54f3a5-_0x1d3046._0x2bff18);}const _0x2952bc=_0x24d8d9=>{_0x1d0189=!![],_0x7c69a2(),_0x3fa3ff(),_0x33e203(_0x2ee27a??_0x24d8d9);},_0xa5be8f=(_0x19c47d,_0x75b6c8)=>{_0x3c553f=!![],appendChunk(_0x524c4e,_0x425ea5,_0x544c42[_0x1cae1d(-_0x49fb7d._0x19eb16,-_0x49fb7d._0x4d31db,-0x179,_0x49fb7d._0x109556)](),_0x4f9831,_0x7c69a2),appendChunk(_0x524c4e,_0x425ea5,_0x568d07[_0x1cae1d(-_0x49fb7d._0x442125,_0x49fb7d._0x2db517,_0x49fb7d._0x5b83ed,0x5)](),_0x4f9831,_0x7c69a2),_0x1d0189=!![];function _0x1cae1d(_0x35c4cc,_0x1ce988,_0x596272,_0x2eb23f){return _0x59f9(_0x2eb23f- -0x2f8,_0x596272);}_0x7c69a2(),_0x3fa3ff();if(_0x2ee27a){_0x33e203(_0x2ee27a);return;}function _0x252674(_0x2b07fe,_0x83fa82,_0x63aded,_0x35fe63){return _0x59f9(_0x2b07fe- -0x254,_0x63aded);}_0x4001d4({'code':_0x19c47d,'signal':_0x75b6c8});};_0x40d47a=setTimeout(()=>{_0x1d0189=!![],_0x7c69a2();function _0x23e4cc(_0x2b5604,_0x3147e4,_0x14af4e,_0x59a132){return _0x59f9(_0x2b5604-0x28f,_0x59a132);}_0x3fa3ff();try{killProcessGroup(_0x364ee2,_0x2c6e23);}catch{}function _0x39c071(_0x1696f4,_0x24bbd2,_0x16aec3,_0x5540bf){return _0x59f9(_0x24bbd2-_0x93dab._0x5dc1f5,_0x16aec3);}_0x33e203(new ToolExecutionError(_0x39c071(0x36e,0x481,0x41f,_0x4c0280._0x2e38cb)+_0x5503a8+_0x39c071(_0x4c0280._0x3a0a54,_0x4c0280._0x31fce5,0x49a,0x5af),{'command':_0x5eacb9[_0x39c071(_0x4c0280._0x2cbe50,_0x4c0280._0x4c39f0,0x33d,0x429)],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5,'timeoutMs':_0x5503a8,'timedOut':!![]}));},_0x5503a8),_0x364ee2['once']('error',_0x2952bc),_0x364ee2['once'](_0x219c9e(0x504,_0x308d74._0x3cbfe8,_0x308d74._0x41531e,0x516),_0xa5be8f);});while(_0x425ea5[_0xba8854(_0x3b3015._0x5b83fa,_0x3b3015._0x17cdaf,0x462,_0x3b3015._0x58fbfb)]>0x0||!_0x1d0189){if(_0x425ea5[_0x2cac2d(_0x3b3015._0x18703c,_0x3b3015._0x1850f7,_0x3b3015._0x4f8cf0,_0x3b3015._0x2a0d9f)]===0x0){await _0x421c2e();continue;}const _0x42d796=_0x425ea5['shift']();_0x42d796!==void 0x0&&(yield _0x42d796);}const _0x2aca5c=await _0x2d36f6,_0x4f7922=_0x13e780?_0x2cac2d(0x479,0x42d,_0x3b3015._0x1947eb,0x3e2)+(_0x2aca5c[_0xba8854(0x6bd,_0x3b3015._0x55c018,_0x3b3015._0x342933,0x7f4)]??0x0):_0x524c4e['join'](''),_0x9afe10={'command':_0x5eacb9[_0x2cac2d(_0x3b3015._0x23bc58,_0x3b3015._0x1a932b,0x3e0,_0x3b3015._0x5cb26b)],'description':_0x5eacb9['description'],'cwd':_0x3a4dc2,'exitCode':_0x2aca5c[_0xba8854(_0x3b3015._0x46346e,_0x3b3015._0x229f1c,0x6da,0x5ff)]??0x0,'signal':_0x2aca5c['signal'],'ignoreOutput':_0x13e780,'shellPath':_0x2f6dd5,'timeoutMs':_0x5503a8};if(_0x2aca5c[_0x2cac2d(_0x3b3015._0xc3d549,0x728,0x5a7,_0x3b3015._0x47bf50)]!==0x0)throw new ToolExecutionError(_0x4f7922||_0x2cac2d(0x4d9,0x39a,0x549,_0x3b3015._0x4520ab)+(_0x2aca5c['code']??0x0),_0x9afe10);return createToolOutput(_0x4f7922,_0x9afe10);}catch(_0x22942e){while(_0x425ea5[_0x2cac2d(_0x3b3015._0x303b77,_0x3b3015._0x30540f,_0x3b3015._0x9fb0a9,0x390)]>0x0){const _0x1f397c=_0x425ea5[_0xba8854(0x766,0x789,_0x3b3015._0x5acede,_0x3b3015._0x3bee04)]();_0x1f397c!==void 0x0&&(yield _0x1f397c);}if(_0x22942e instanceof ToolExecutionError)throw _0x22942e;if(_0x2ee27a)throw _0x2ee27a;throw mapSpawnError(_0x22942e,{'command':_0x5eacb9['command'],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5});}finally{_0x40d47a&&clearTimeout(_0x40d47a);_0x586b2a(),_0x364ee2['stdout']?.[_0x2cac2d(_0x3b3015._0x38ac95,0x609,_0x3b3015._0x4bec3a,_0x3b3015._0x557ce8)]('data',_0x1099ce),_0x364ee2[_0xba8854(_0x3b3015._0x2f1ad1,_0x3b3015._0x2c3a5f,_0x3b3015._0x13222d,0x382)]?.[_0x2cac2d(_0x3b3015._0x4cedc8,_0x3b3015._0x4f7a92,0x520,0x5c6)](_0x2cac2d(0x537,0x4d8,_0x3b3015._0x2e3de3,0x596),_0xc82bd8);if(!_0x3c553f&&_0x364ee2[_0xba8854(_0x3b3015._0x2a88d2,_0x3b3015._0x16a877,_0x3b3015._0x4222db,_0x3b3015._0x3fb6e2)]&&!_0x364ee2[_0x2cac2d(0x5a0,0x525,0x336,_0x3b3015._0x42a57)])try{killProcessGroup(_0x364ee2,_0x2c6e23);}catch{}}}});}function createShellExecTool(_0x1f0a01={}){return createBashTool(_0x1f0a01);}import{readdir,readFile as _0x2ee857}from'fs/promises';import{extname,join as _0x57fb47}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0xace2a0,join,relative as _0x11b975,resolve as _0x4e6e97}from'path';import{readdir as _0x429bb6,readFile as _0x4de1b1}from'fs/promises';import{join as _0x111249,relative as _0x1931ed,sep}from'path';import{delimiter}from'path';import{mkdir as _0x224698,rm,stat as _0x47eaa8,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x108f39}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x59216a,rename,rm as _0x3f5c7c,stat as _0x4ebc15,writeFile as _0x1748f1}from'fs/promises';import{homedir as _0x147997}from'os';import{dirname as _0x4e793e,isAbsolute as _0x3bf1a3,join as _0x2233e7,resolve as _0x43a64d}from'path';import{parse as _0x2f415c,stringify as _0x96a9}from'yaml';import{cp,mkdir as _0x5b4d2c,readFile as _0x370770,rm as _0x5bb0d6,writeFile as _0x15124b}from'fs/promises';import{homedir}from'os';import{join as _0x36ff59}from'path';import{parse as _0x14e07f,stringify as _0x3b0314}from'yaml';import{z}from'zod';import{readdir as _0x537df3,readFile as _0x214499}from'fs/promises';import{join as _0x4f14d8}from'path';import{randomUUID as _0x5b2f09}from'crypto';import{mkdir as _0x2ecf57,readdir as _0x3dbd1c,readFile as _0x4ea75d,rename as _0x1de12f,rm as _0x2080c4,writeFile as _0x16277b}from'fs/promises';import{homedir as _0x469f60}from'os';import{basename,isAbsolute as _0x45214b,join as _0x4d5dbf,relative as _0x2ae620,resolve as _0x1d2076}from'path';import{parse as _0x31b4c4,stringify as _0x6337a}from'yaml';import{delimiter as _0x1967c8,resolve as _0x212bc}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0xb25777){const _0x39a0cf={_0x22fc32:0x383,_0x21dc6d:0x2ce,_0x4c91c0:0x1b2,_0x53947f:0x2b2,_0x7adb79:0x150,_0x14d1b2:0x337,_0x218476:0x2b0,_0x5a2259:0x2d9,_0x1a81c1:0x10a,_0x469049:0x183,_0x350643:0x423,_0x36969e:0x56c,_0x1132a3:0x1c0,_0x90f317:0x209},_0x16b822={_0x4cdcfe:0x43d,_0x2b3c76:0x7c},_0x5b9c2e=[];function _0x54e76e(_0x31996e,_0x5105e9,_0xb373ac,_0x1abc1d){return _0x42cde8(_0x31996e-0xb3,_0x31996e-_0x16b822._0x4cdcfe,_0xb373ac-_0x16b822._0x2b3c76,_0x5105e9);}let _0x3de429='',_0x5b74df=0x0;function _0x5751f6(_0x203dd3,_0x23c889,_0x23c993,_0x3fcf51){return _0x42cde8(_0x203dd3-0xb,_0x23c889- -0x1a6,_0x23c993-0x27,_0x203dd3);}while(_0x5b74df<_0xb25777[_0x54e76e(0x38f,0x315,0x2cc,_0x39a0cf._0x22fc32)]){const _0x65df43=_0xb25777[_0x5b74df];if(_0x65df43==='\x5c'&&_0x5b74df+0x1<_0xb25777[_0x5751f6(-_0x39a0cf._0x21dc6d,-0x254,-_0x39a0cf._0x4c91c0,-_0x39a0cf._0x53947f)])_0x3de429+=_0xb25777[_0x5b74df+0x1],_0x5b74df+=0x2;else{if(_0x65df43==='\x22'||_0x65df43==='\x27'){const _0x1de68c=_0x65df43;_0x5b74df++;while(_0x5b74df<_0xb25777[_0x5751f6(-_0x39a0cf._0x7adb79,-0x254,-0x357,-_0x39a0cf._0x14d1b2)]&&_0xb25777[_0x5b74df]!==_0x1de68c){_0xb25777[_0x5b74df]==='\x5c'&&_0x5b74df+0x1<_0xb25777[_0x5751f6(-_0x39a0cf._0x218476,-0x254,-_0x39a0cf._0x5a2259,-0x2c2)]?(_0x3de429+=_0xb25777[_0x5b74df+0x1],_0x5b74df+=0x2):(_0x3de429+=_0xb25777[_0x5b74df],_0x5b74df++);}_0x5b74df++;}else _0x65df43!==void 0x0&&/\s/[_0x5751f6(-0x3f,-_0x39a0cf._0x1a81c1,-_0x39a0cf._0x469049,-0x103)](_0x65df43)?(_0x3de429&&(_0x5b9c2e[_0x54e76e(_0x39a0cf._0x350643,_0x39a0cf._0x36969e,0x3ef,0x592)](_0x3de429),_0x3de429=''),_0x5b74df++):(_0x3de429+=_0x65df43,_0x5b74df++);}}if(_0x3de429)_0x5b9c2e[_0x5751f6(-0x1a3,-_0x39a0cf._0x1132a3,-0xcc,-_0x39a0cf._0x90f317)](_0x3de429);return _0x5b9c2e;}function renderCommandInstructions(_0x568a48){const _0x21c75e={_0x4c9bbb:0x64,_0x513b09:0x115,_0xdc38e7:0x63,_0x55723b:0x76,_0x33edad:0xf4,_0x1c91f4:0x50,_0x1bc5d9:0x11,_0xf72591:0x2a,_0x1242ca:0x10,_0x4e4d46:0x369,_0x445b0e:0x3a8,_0x1ed01d:0x1ee,_0x45d8a7:0xc7,_0x127ff6:0x71,_0x792fac:0x51,_0x522e04:0x10c,_0x26dd39:0xbc,_0x120251:0x8e,_0x16ed46:0x1c6,_0x435c82:0x3f2,_0xbbb49b:0x2f1,_0x4ff514:0x2fd,_0x21e02e:0x2f9,_0x5dcec0:0x28c,_0x5d681d:0x186},_0x394ae1={_0x2a0a80:0x3cb,_0x317a2f:0x4a5},_0x2993d2={_0x543485:0xd,_0x763eea:0x220,_0x15f24a:0x1eb},_0x4dd7f5={_0x24bdaa:0x48a},_0x5031ed={_0x50466c:0x1ba,_0xc25b68:0xb5};let _0x4be836=_0x568a48[_0x2141f6(_0x21c75e._0x4c9bbb,0x71,_0x21c75e._0x513b09,-_0x21c75e._0xdc38e7)],_0xb676b5=![];const _0x3797d3=tokenizeCommandArguments(_0x568a48[_0x2daf1d(_0x21c75e._0x55723b,-0x1c9,-_0x21c75e._0x33edad,-_0x21c75e._0x1c91f4)]);_0x4be836=_0x4be836[_0x2daf1d(_0x21c75e._0x1bc5d9,_0x21c75e._0xf72591,-_0x21c75e._0x1242ca,-0x33)](/\$ARGUMENTS\[(\d+)\]/g,(_0x2f330b,_0x536fff)=>{return _0xb676b5=!![],_0x3797d3[Number(_0x536fff)]??'';});function _0x2141f6(_0x1636c4,_0x55cf38,_0x3d2837,_0x19cf95){return _0x42cde8(_0x1636c4-0x1e9,_0x3d2837-_0x5031ed._0x50466c,_0x3d2837-_0x5031ed._0xc25b68,_0x55cf38);}function _0x2daf1d(_0x294338,_0x3ea85d,_0x324cb8,_0x1dc075){return _0x48c1e5(_0x324cb8- -_0x4dd7f5._0x24bdaa,_0x3ea85d-0x27,_0x1dc075,_0x1dc075-0x8b);}_0x4be836=_0x4be836[_0x2141f6(0x22f,0x25a,_0x21c75e._0x4e4d46,_0x21c75e._0x445b0e)](/\$ARGUMENTS\b/g,()=>{function _0x233fe8(_0x28e2af,_0x7528c3,_0x275684,_0x3eb463){return _0x2141f6(_0x28e2af-_0x2993d2._0x543485,_0x275684,_0x3eb463-_0x2993d2._0x763eea,_0x3eb463-_0x2993d2._0x15f24a);}return _0xb676b5=!![],_0x568a48[_0x233fe8(_0x394ae1._0x2a0a80,0x383,0x4f4,_0x394ae1._0x317a2f)];});if(_0x568a48[_0x2141f6(0x4,_0x21c75e._0x1ed01d,_0x21c75e._0x45d8a7,_0x21c75e._0x127ff6)]&&_0x568a48['argumentNames'][_0x2141f6(_0x21c75e._0x792fac,0x9f,_0x21c75e._0x522e04,_0x21c75e._0x26dd39)]>0x0)for(let _0x2c0948=0x0;_0x2c0948<_0x568a48[_0x2141f6(0x221,_0x21c75e._0x120251,0xc7,_0x21c75e._0x16ed46)]['length'];_0x2c0948++){const _0x41880f=_0x568a48[_0x2daf1d(-0x238,-_0x21c75e._0x435c82,-0x2b2,-0x155)][_0x2c0948];if(_0x41880f){const _0x59eca0=new RegExp('\x5c$'+_0x41880f+'\x5cb','g');_0x4be836=_0x4be836['replace'](_0x59eca0,()=>{return _0xb676b5=!![],_0x3797d3[_0x2c0948]??'';});}}return _0x4be836=_0x4be836[_0x2141f6(_0x21c75e._0xbbb49b,0x31d,0x369,_0x21c75e._0x4ff514)](/\$(\d+)\b/g,(_0xef71f1,_0x2c6316)=>{return _0xb676b5=!![],_0x3797d3[Number(_0x2c6316)]??'';}),!_0xb676b5&&_0x568a48['argumentsText'][_0x2141f6(0x3f8,_0x21c75e._0x21e02e,_0x21c75e._0x5dcec0,_0x21c75e._0x5d681d)]()&&(_0x4be836=_0x4be836+'\x0a\x0aARGUMENTS:\x20'+_0x568a48['argumentsText']),_0x4be836;}var PROVIDER_API_KEY_ENVS=[{'env':_0x42cde8(-0x66,-0x78,-0x191,-0x5b),'provider':_0x42cde8(0x226,0x1e1,0x124,0x105)},{'env':_0x42cde8(0x5b,0xad,-0xb7,-0x52),'provider':_0x48c1e5(0x4a3,0x453,0x483,0x3bc)},{'env':_0x42cde8(0x224,0x166,0x8d,0xe0),'provider':'github'},{'env':_0x48c1e5(0x2c0,0x3d8,0x3b2,0x292),'provider':_0x42cde8(-0xdd,0x15,0x170,-0x6)},{'env':_0x48c1e5(0x1f2,0x264,0x1ea,0x100),'provider':_0x48c1e5(0x2f3,0x30a,0x3de,0x3e0)},{'env':_0x48c1e5(0x1c0,0x2ee,0x291,0x281),'provider':_0x42cde8(-0xcc,-0xeb,-0x122,-0xc3)},{'env':'ZAI_API_KEY','provider':_0x42cde8(-0x6a,0x27,0x127,0x5c)},{'env':_0x48c1e5(0x2f5,0x2b0,0x34c,0x3d3),'provider':'moonshot'},{'env':'MINIMAX_API_KEY','provider':_0x48c1e5(0x37f,0x2eb,0x303,0x35e)},{'env':'KIMI_API_KEY','provider':_0x48c1e5(0x290,0x2fb,0x122,0x287)},{'env':'OPENAI_API_KEY','provider':_0x42cde8(-0x129,-0xd2,-0x23d,-0xe3)},{'env':'DEEPSEEK_API_KEY','provider':_0x48c1e5(0x293,0x36e,0x165,0x147)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x42cde8(0x1b9,0x1f1,0x1f2,0x1d3)](_0x4fc70a=>_0x4fc70a[_0x48c1e5(0x1ed,0x1d6,0x24e,0xb5)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x42cde8(-0x2b,0x83,-0x6e,0x1f2),'GOOGLE_CSE_KEY',_0x42cde8(-0x1b9,-0x9b,-0x12c,0x2b)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x48c1e5(0x487,0x380,0x4f9,0x59e)]),_0x48c1e5(0x487,0x371,0x511,0x4cd)]);function prototypeSafeRecord(_0x182847){const _0xf03eb8={_0x284b39:0x2fd,_0x10c650:0x2f5,_0x4ab4db:0x324,_0x14906c:0xed,_0x3c2efd:0x181,_0x56c235:0x1b8,_0x32b01f:0x70,_0x301bc4:0x65,_0x3e3d6b:0xaf},_0x219a2e={_0x1437f4:0x1ee,_0x3da6f2:0xf2,_0x5360a9:0x1e0,_0x4e10d3:0x1f3,_0x34f1fd:0x325,_0x5d3c99:0x651,_0x1d3404:0x536,_0x28ca28:0x3e3,_0x599842:0x526,_0x591510:0x30f},_0x1c77b8={_0x36f597:0x139},_0x240030={_0x507f6f:0x158},_0x6eb559={_0x2da86d:0x4d1};function _0x5d07e5(_0x39f605,_0x16e49e,_0x54f8b1,_0x318100){return _0x48c1e5(_0x54f8b1- -_0x6eb559._0x2da86d,_0x16e49e-0xd6,_0x39f605,_0x318100-0x119);}function _0x2119d5(_0x15176b,_0x38d4a6,_0x3a3c63,_0x8cc023){return _0x42cde8(_0x15176b-0x92,_0x38d4a6-_0x240030._0x507f6f,_0x3a3c63-0x5e,_0x8cc023);}return z[_0x2119d5(_0xf03eb8._0x284b39,_0xf03eb8._0x10c650,0x2c2,_0xf03eb8._0x4ab4db)](_0x28a12b=>{const _0x4a33e8={_0x524dde:0xac};if(_0x28a12b===null||typeof _0x28a12b!=='object'||Array[_0x2bbf0c(_0x219a2e._0x1437f4,_0x219a2e._0x3da6f2,0x2e5,_0x219a2e._0x5360a9)](_0x28a12b))return null;const _0x2f3b46=Object[_0x2bbf0c(_0x219a2e._0x4e10d3,0x23a,_0x219a2e._0x34f1fd,0x355)](_0x28a12b);function _0x2bbf0c(_0x6d6594,_0x437edb,_0x4948d5,_0x105bd8){return _0x2119d5(_0x6d6594-0xdf,_0x105bd8-_0x4a33e8._0x524dde,_0x4948d5-0x3f,_0x6d6594);}function _0x55b2c5(_0x5cbaaa,_0x8a0c68,_0x5abc20,_0x59ee1b){return _0x2119d5(_0x5cbaaa-0xc4,_0x5abc20-0x33d,_0x5abc20-_0x1c77b8._0x36f597,_0x59ee1b);}if(_0x2f3b46!==Object[_0x55b2c5(0x74c,0x588,_0x219a2e._0x5d3c99,_0x219a2e._0x1d3404)]&&_0x2f3b46!==null)return null;return{'entries':Object[_0x55b2c5(_0x219a2e._0x28ca28,_0x219a2e._0x599842,0x3af,_0x219a2e._0x591510)](_0x28a12b)};},z[_0x5d07e5(-_0xf03eb8._0x14906c,-_0xf03eb8._0x3c2efd,-_0xf03eb8._0x56c235,-_0xf03eb8._0x32b01f)]({'entries':z[_0x5d07e5(-0x191,-0x155,-0x100,-0xb1)](z[_0x2119d5(0x18d,0x71,_0xf03eb8._0x301bc4,0x177)]([z[_0x5d07e5(-0x1e,-0xac,-_0xf03eb8._0x3e3d6b,-0x18c)](),_0x182847]))}))[_0x2119d5(0x2fe,0x28f,0x3cc,0x271)](({entries:_0x301cc0})=>Object['fromEntries'](_0x301cc0));}var chatModelAuthSchemeSchema=z[_0x42cde8(-0xaa,0xcf,-0x46,0x52)]([_0x48c1e5(0x463,0x41f,0x323,0x5a0),_0x48c1e5(0x2bc,0x192,0x2f6,0x41a)]),apiKeyAuthSchema=z[_0x42cde8(-0xaa,0x4e,0x2e,-0x83)]({'type':z['literal'](_0x48c1e5(0x204,0x2e0,0x1fe,0x271)),'apiKey':z[_0x48c1e5(0x422,0x4ae,0x374,0x52b)](),'authScheme':chatModelAuthSchemeSchema[_0x42cde8(-0xe1,0x7f,-0xc8,-0xa4)]()})[_0x42cde8(-0x38,0x39,0x12,0x92)](),oauthAuthSchema=z[_0x42cde8(0xff,0x4e,-0x48,0x125)]({'type':z['literal'](_0x42cde8(0x38,0x8d,-0xdb,0x1f3)),'access':z[_0x42cde8(0x87,0x157,0x249,0x102)](),'refresh':z[_0x48c1e5(0x422,0x390,0x53f,0x360)](),'expires':z[_0x48c1e5(0x341,0x2de,0x39e,0x2ae)]()[_0x42cde8(0x32,0x7f,0x45,0xf4)](),'authScheme':chatModelAuthSchemeSchema[_0x42cde8(-0xa7,0x7f,0x142,-0x88)]()})[_0x42cde8(-0x2c,0x39,-0x129,-0xb1)](),finiteNonNegative=z[_0x48c1e5(0x341,0x34f,0x468,0x4a6)]()[_0x48c1e5(0x2e6,0x2c9,0x43c,0x31a)]()[_0x42cde8(0x167,0x11d,0xd3,0x88)](),chatGptAuthSchema=z['object']({'type':z['literal'](_0x42cde8(0x65,0x89,0x1e9,0x15e)),'access':z[_0x42cde8(0x2bc,0x157,0xee,0x3d)]()[_0x48c1e5(0x268,0x178,0x1f0,0x28e)](0x1),'refresh':z[_0x42cde8(0x229,0x157,0x1ea,0x1d6)]()[_0x48c1e5(0x268,0x285,0x1c4,0x24d)](0x1),'idToken':z['string']()[_0x48c1e5(0x268,0x27c,0x14c,0x2d3)](0x1),'accountId':z['string']()[_0x42cde8(0xc3,-0x63,0x97,-0x18c)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative['optional']()})[_0x42cde8(0x129,0x39,-0x123,-0xde)](),authMethodSchema=z[_0x48c1e5(0x466,0x4ce,0x4d9,0x5a2)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x48c1e5(0x319,0x380,0x2fc,0x491)]({'id':z[_0x48c1e5(0x422,0x3db,0x3f7,0x47b)](),'name':z['string']()[_0x42cde8(0x1bb,0x7f,0x1d1,0x145)]()})['passthrough'](),modelConfigSchema=z['union']([z['literal'](![]),z[_0x48c1e5(0x448,0x55c,0x3c9,0x317)](!![]),z[_0x48c1e5(0x422,0x304,0x52f,0x577)](),z[_0x48c1e5(0x3d1,0x310,0x304,0x3fb)](z[_0x42cde8(-0xe,0x157,0x2c1,0x188)]()),z[_0x48c1e5(0x3d1,0x3f1,0x4f9,0x47c)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x42cde8(0x18,0xcf,0x174,0x98)]([_0x48c1e5(0x234,0x1e1,0x240,0x147),_0x48c1e5(0x210,0x214,0xa8,0x37b),_0x48c1e5(0x220,0x190,0x2db,0x384),_0x48c1e5(0x3e7,0x419,0x3e6,0x4f7)]),providerConfigSchema=z['object']({'apiKey':z[_0x42cde8(0x143,0x157,0x1fc,-0x1c)]()[_0x42cde8(0x3d,0x7f,0xba,0x149)](),'token':z['string']()['optional'](),'defaultModel':z[_0x48c1e5(0x422,0x55f,0x304,0x2fb)]()[_0x48c1e5(0x34a,0x391,0x2b9,0x2aa)](),'smallModel':z[_0x48c1e5(0x422,0x404,0x594,0x4da)]()[_0x42cde8(0x90,0x7f,0x148,-0xdc)](),'currentAuth':z[_0x42cde8(0x1e0,0x157,0x180,-0x19)]()[_0x48c1e5(0x34a,0x2fc,0x236,0x437)](),'auth':z[_0x48c1e5(0x3d1,0x413,0x35f,0x38f)](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x48c1e5(0x34a,0x37e,0x3e8,0x410)](),'baseUrl':z['string']()['optional'](),'models':modelConfigSchema[_0x42cde8(0x157,0x7f,0x183,-0x66)](),'customHeaders':z['record'](z[_0x42cde8(0x1e2,0x157,0xfb,-0x28)](),z[_0x48c1e5(0x422,0x2a6,0x3d6,0x3fd)]())[_0x42cde8(0x12f,0x7f,-0xad,0x1da)]()})[_0x42cde8(0x13c,0x39,0x1b3,0xb5)](),mcpServerConfigSchema=z['object']({'command':z[_0x42cde8(0x26c,0x157,0x2b,0x1cf)]()['optional'](),'args':z['array'](z[_0x48c1e5(0x422,0x2b9,0x2f0,0x57f)]())[_0x48c1e5(0x34a,0x2d0,0x401,0x20a)](),'env':z[_0x48c1e5(0x33d,0x2e1,0x435,0x42e)](z[_0x48c1e5(0x422,0x599,0x537,0x3a6)](),z[_0x48c1e5(0x422,0x32a,0x467,0x553)]())[_0x48c1e5(0x34a,0x370,0x27e,0x35e)](),'transport':z['enum']([_0x48c1e5(0x332,0x1ba,0x3dc,0x311),_0x42cde8(0x5a,0x26,0x3d,-0x77)])[_0x48c1e5(0x34a,0x34b,0x418,0x479)](),'url':z[_0x42cde8(0x249,0x157,0x97,0x279)]()['optional'](),'headers':z[_0x42cde8(-0x38,0x72,0x1dd,0x15e)](z[_0x48c1e5(0x422,0x460,0x59e,0x36b)](),z[_0x48c1e5(0x422,0x41a,0x3ae,0x53e)]())[_0x42cde8(0x87,0x7f,-0xa9,0x1c0)](),'prefix':z[_0x48c1e5(0x422,0x2a8,0x47d,0x3df)]()[_0x48c1e5(0x34a,0x236,0x2b0,0x22e)](),'timeoutMs':z[_0x42cde8(-0x7c,0x76,-0x61,0x93)]()[_0x42cde8(-0xce,0x7f,-0x2a,-0xc7)](),'enabled':z[_0x42cde8(0x9e,0xd1,0x135,0x138)]()[_0x48c1e5(0x34a,0x4a7,0x2e4,0x4bb)](),'auth':z[_0x48c1e5(0x319,0x457,0x445,0x1b4)]({'type':z[_0x48c1e5(0x39a,0x26b,0x28e,0x415)]([_0x48c1e5(0x3c2,0x452,0x470,0x538),_0x42cde8(0x2c9,0x198,0x87,0xa6),_0x48c1e5(0x358,0x387,0x42a,0x491)]),'token':z[_0x42cde8(0x118,0x157,0x27e,0x1f9)]()['optional'](),'oauth':z[_0x48c1e5(0x319,0x451,0x1a9,0x417)]({'clientId':z[_0x42cde8(0x70,0x157,0xc1,0x1d8)]()[_0x48c1e5(0x34a,0x21b,0x31c,0x398)](),'clientMetadataUrl':z[_0x42cde8(0xd,0x157,0x13d,0x82)]()['optional'](),'authorizationServer':z['string']()[_0x42cde8(-0x41,0x7f,0x1e7,0x191)](),'scopes':z['array'](z[_0x48c1e5(0x422,0x3e6,0x475,0x4fa)]())['optional'](),'tokenStorageKey':z['string']()[_0x48c1e5(0x34a,0x1d2,0x290,0x4b4)]()})[_0x42cde8(0x10d,0x39,0x10b,0x193)]()['optional']()})[_0x48c1e5(0x304,0x235,0x294,0x26a)]()[_0x48c1e5(0x34a,0x219,0x43e,0x3cc)]()})['passthrough'](),mcpSettingsSchema=z[_0x42cde8(-0xa3,0x4e,0x115,-0x88)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x48c1e5(0x34a,0x264,0x230,0x317)](),'defaultTimeoutMs':z['number']()['optional']()})[_0x42cde8(0x1c,0x39,-0x41,0xb)](),skillsSettingsSchema=z[_0x48c1e5(0x319,0x2ed,0x22c,0x2bd)]({'enabled':z[_0x48c1e5(0x39c,0x2d8,0x4ce,0x2e0)]()[_0x42cde8(0x140,0x7f,-0x1f,-0xbd)](),'includeDefaults':z[_0x48c1e5(0x39c,0x29e,0x22b,0x493)]()['optional'](),'directories':z[_0x48c1e5(0x3d1,0x44b,0x460,0x38f)](z[_0x48c1e5(0x422,0x34a,0x52c,0x2bf)]())[_0x48c1e5(0x34a,0x3ec,0x30b,0x3d2)](),'exclude':z[_0x48c1e5(0x3d1,0x520,0x377,0x2af)](z[_0x48c1e5(0x422,0x441,0x41c,0x33a)]())[_0x48c1e5(0x34a,0x3d7,0x3c1,0x414)]()})[_0x48c1e5(0x304,0x189,0x26b,0x355)](),commandsSettingsSchema=z[_0x48c1e5(0x319,0x378,0x396,0x48d)]({'enabled':z[_0x48c1e5(0x39c,0x3cc,0x4ba,0x3db)]()[_0x42cde8(0x141,0x7f,0x1b4,0x1e)](),'directories':z[_0x48c1e5(0x3d1,0x317,0x2de,0x397)](z['string']())[_0x42cde8(-0xb0,0x7f,0x11c,-0x15)]()})[_0x42cde8(-0xfa,0x39,0xc4,0x4a)](),agentsSettingsSchema=z[_0x42cde8(0x144,0x4e,-0x9a,0x4f)]({'enabled':z['boolean']()['optional'](),'includeDefaults':z[_0x48c1e5(0x39c,0x3bd,0x25f,0x427)]()['optional'](),'directories':z[_0x42cde8(0x33,0x106,0x70,0x7c)](z[_0x42cde8(0x12e,0x157,0x2c0,0x215)]())[_0x42cde8(-0x41,0x7f,0xa6,-0x3f)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x42cde8(0x63,0x4e,0x14b,0x149)]({'mode':z[_0x48c1e5(0x39a,0x250,0x29a,0x3ca)]([_0x42cde8(0x195,0x7c,-0x5c,0x7e),'dark','light'])[_0x48c1e5(0x34a,0x278,0x241,0x458)](),'colorLevel':z[_0x48c1e5(0x39a,0x27f,0x2e6,0x45d)]([_0x48c1e5(0x347,0x49e,0x20c,0x1cb),_0x42cde8(0x180,0xf7,0x3b,0x267),'ansi16',_0x48c1e5(0x30a,0x1fb,0x2b0,0x1cb),_0x48c1e5(0x2ed,0x1d7,0x2a0,0x240)])[_0x48c1e5(0x34a,0x30b,0x45a,0x2dc)](),'backgrounds':z[_0x48c1e5(0x39a,0x43f,0x2dd,0x265)]([_0x42cde8(0x7e,0x7c,-0x5b,0xeb),'on',_0x42cde8(0xdc,0x188,0xed,0x24c)])[_0x48c1e5(0x34a,0x217,0x251,0x370)](),'messageStyle':z[_0x48c1e5(0x39a,0x3da,0x4d8,0x49e)]([_0x42cde8(-0x118,-0xca,0x57,-0x208),_0x42cde8(0x1d0,0xfb,0x3e,0x155)])[_0x42cde8(-0xc1,0x7f,0x13c,-0xab)]()})[_0x48c1e5(0x304,0x42f,0x37c,0x476)](),statuslineSegmentSchema=z[_0x48c1e5(0x39a,0x28f,0x26c,0x399)](['model',_0x42cde8(0xd1,0x48,0x59,0xe1),_0x42cde8(0x227,0x1c6,0x18d,0x328),'sudo','tokens',_0x48c1e5(0x33f,0x29a,0x451,0x420),'cached',_0x42cde8(0x155,0x25,0x73,-0xd),'tools',_0x42cde8(0xe,0xe5,0x8f,0xf5),'lsp','gitBranch',_0x42cde8(-0x90,-0x9,-0x162,-0x12d),_0x42cde8(0x137,0x1da,0x6f,0x243),_0x42cde8(0x15,0x87,-0x6,0x66)]),statuslineItemSchema=z['union']([statuslineSegmentSchema,z[_0x42cde8(0x1cf,0x17d,0x1b6,0x53)]('|')]),statuslineRowSchema=z[_0x48c1e5(0x3d1,0x3fc,0x461,0x2ff)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z[_0x48c1e5(0x1e4,0x1de,0x2af,0x140)]([statuslineRowSchema,statuslineRowSchema])[_0x42cde8(0x131,0x7f,0x1c4,-0xad)]()})[_0x42cde8(-0x9c,0x39,0x1a0,-0xe1)](),memorySettingsSchema=z['object']({'version':z[_0x42cde8(0x29d,0x17d,0x2c3,0x245)](0x2)[_0x48c1e5(0x34a,0x3ca,0x399,0x3de)](),'retrieval':z[_0x48c1e5(0x319,0x1f6,0x3f4,0x1b2)]({'engine':z[_0x42cde8(0x16f,0x17d,0x1f2,0xad)](_0x48c1e5(0x1da,0xb9,0xb0,0x87))[_0x42cde8(0xf3,0x7f,-0x6f,0x16f)](),'candidateLimit':z[_0x48c1e5(0x341,0x2fb,0x2e1,0x487)]()['optional'](),'activeCandidateLimit':z[_0x48c1e5(0x341,0x3a4,0x1c8,0x2c1)]()[_0x42cde8(-0x41,0x7f,0x4c,0x71)](),'activeEnabled':z[_0x42cde8(0xa1,0xd1,0x11f,-0x81)]()[_0x42cde8(0x8c,0x7f,0x10d,-0x35)](),'maxQueriesPerTurn':z[_0x42cde8(0xc7,0x76,0x147,0x9c)]()[_0x42cde8(-0xc9,0x7f,0x17c,-0xa7)](),'coreInjectTokenBudget':z[_0x42cde8(0x60,0x76,0xbd,-0x7c)]()['optional'](),'injectTokenBudget':z[_0x42cde8(-0x1f,0x76,0x10d,0x1d0)]()[_0x48c1e5(0x34a,0x467,0x263,0x3e4)](),'minScore':z['number']()['optional'](),'freshnessHalfLifeDays':z[_0x42cde8(0x165,0x76,-0xe0,0x10b)]()[_0x42cde8(0xc3,0x7f,-0x1d,0x1bb)]()})[_0x48c1e5(0x304,0x1d6,0x322,0x31e)]()[_0x42cde8(0x13a,0x7f,0x7a,-0x77)](),'extraction':z[_0x48c1e5(0x319,0x2df,0x1aa,0x222)]({'enabled':z[_0x42cde8(0x5,0xd1,-0x87,0x1dd)]()['optional'](),'provider':z[_0x42cde8(0x16,0x157,0x3a,-0x3)]()[_0x42cde8(0x117,0x7f,0x1a6,0x10f)](),'model':z[_0x48c1e5(0x422,0x521,0x3c3,0x546)]()[_0x48c1e5(0x34a,0x498,0x232,0x354)](),'sensitiveFilter':z[_0x42cde8(0xf9,0xd1,0x168,-0x3a)]()[_0x48c1e5(0x34a,0x2a8,0x3c3,0x430)]()})[_0x42cde8(0x181,0x39,0x4d,-0xcf)]()['optional'](),'index':z['object']({'persisted':z[_0x48c1e5(0x39c,0x256,0x4c5,0x351)]()[_0x42cde8(-0x8a,0x7f,0xc6,0x139)](),'flushIntervalMs':z[_0x42cde8(-0x2f,0x76,0x116,-0xd5)]()['optional']()})[_0x48c1e5(0x304,0x250,0x3d2,0x1fd)]()[_0x42cde8(-0x7c,0x7f,0xa9,0x9e)](),'enabled':z['boolean']()[_0x48c1e5(0x34a,0x424,0x46d,0x42d)](),'saveTool':z[_0x42cde8(0x165,0xd1,-0x69,-0x85)]()[_0x48c1e5(0x34a,0x36d,0x4b6,0x48f)](),'model':z['string']()[_0x42cde8(0x2c,0x7f,0x7c,0x1c7)](),'provider':z[_0x48c1e5(0x422,0x4da,0x356,0x4b4)]()[_0x42cde8(0x1f1,0x7f,-0xd7,-0x57)](),'maxInjectionTokens':z['number']()[_0x48c1e5(0x34a,0x373,0x322,0x2e5)](),'backgroundExtraction':z['boolean']()[_0x48c1e5(0x34a,0x340,0x236,0x2c3)]()})[_0x48c1e5(0x304,0x348,0x24e,0x2d0)](),recentModelSchema=z[_0x48c1e5(0x319,0x32b,0x26e,0x486)]({'provider':z[_0x42cde8(0x1d1,0x157,0x154,0x165)](),'model':z[_0x42cde8(0x117,0x157,0x1b1,0xc8)](),'usedAt':z[_0x42cde8(0x4c,0x76,-0x30,0x15a)]()})['passthrough'](),lspServerEntrySchema=z[_0x42cde8(0x1b8,0x4e,0x133,0x172)]({'disabled':z['boolean']()[_0x48c1e5(0x34a,0x36e,0x2e5,0x480)](),'command':z['string']()[_0x48c1e5(0x34a,0x203,0x3d9,0x396)](),'args':z[_0x48c1e5(0x3d1,0x274,0x2cd,0x4f3)](z[_0x42cde8(0x2cd,0x157,0x1c0,0x161)]())[_0x42cde8(0x1ae,0x7f,0x6b,-0xdf)](),'rootMarkers':z['array'](z[_0x42cde8(0x1e2,0x157,0x73,0x1a1)]())['optional']()})['passthrough'](),lspConfigSchema=z[_0x48c1e5(0x319,0x3f0,0x2be,0x434)]({'enabled':z[_0x48c1e5(0x39c,0x2d7,0x40e,0x2f0)]()[_0x48c1e5(0x34a,0x490,0x48f,0x3ca)](),'servers':z[_0x42cde8(0x108,0x72,0x1c7,0x1a8)](z[_0x42cde8(0xd5,0x157,0x2a7,-0x27)](),lspServerEntrySchema)[_0x48c1e5(0x34a,0x39a,0x485,0x392)]()})[_0x42cde8(0x4,0x39,0x7f,0x0)](),serverEndpointSchema=z[_0x48c1e5(0x319,0x3d9,0x301,0x2e9)]({'url':z[_0x42cde8(0x1c0,0x157,0x157,0x21)](),'token':z[_0x42cde8(0x122,0x157,0x27f,0x265)]()[_0x42cde8(0x1d5,0x7f,0xe0,0x18c)]()})[_0x42cde8(0xb5,0x39,-0x41,0x121)](),commandHookConfigSchema=z['object']({'type':z[_0x48c1e5(0x448,0x4cb,0x2d0,0x5bc)](_0x42cde8(0x156,0x10,0x17b,0x147)),'command':z[_0x42cde8(0x2ae,0x157,0x1f1,0x23e)](),'timeout':z[_0x48c1e5(0x341,0x2c9,0x424,0x42d)]()[_0x42cde8(-0x20,0x7f,0x66,0x8)]()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x48c1e5(0x422,0x2c2,0x2fe,0x2c7)]()[_0x42cde8(-0x100,0x7f,0xe8,0x18e)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x42cde8(0xd8,0x4e,-0x53,-0xc9)]({'PreToolUse':z['array'](hookMatcherGroupSchema)[_0x42cde8(0x77,0x7f,0x3e,-0x82)](),'PostToolUse':z[_0x42cde8(0x92,0x106,0x1e1,-0x4)](hookMatcherGroupSchema)[_0x48c1e5(0x34a,0x343,0x476,0x2ca)](),'UserPromptSubmit':z[_0x42cde8(-0x1a,0x106,0x10,-0x2c)](hookMatcherGroupSchema)[_0x48c1e5(0x34a,0x325,0x214,0x34a)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x42cde8(-0xf5,0x7f,-0x38,-0xae)](),'Notification':z[_0x48c1e5(0x3d1,0x311,0x31a,0x279)](hookMatcherGroupSchema)[_0x42cde8(0x145,0x7f,0x189,0x15e)](),'ToolApprovalRequest':z[_0x42cde8(-0x3,0x106,0x22,0x84)](hookMatcherGroupSchema)['optional'](),'SessionStart':z[_0x42cde8(0x29,0x106,0x1ca,0xe0)](hookMatcherGroupSchema)[_0x42cde8(0x7b,0x7f,-0x23,0x1b7)](),'SessionEnd':z[_0x42cde8(0x211,0x106,0x248,0x1b4)](hookMatcherGroupSchema)['optional']()}),providerNameSchema=z[_0x48c1e5(0x422,0x450,0x32b,0x480)]()['min'](0x1,_0x42cde8(0x19,-0xb5,0x32,-0x1cd))[_0x42cde8(0x228,0x148,0x12e,0x184)](_0xfd2318=>!_0xfd2318[_0x48c1e5(0x31e,0x3aa,0x209,0x3ef)](':'),'Provider\x20name\x20cannot\x20contain\x20\x27:\x27'),cliConfigSchema=z[_0x48c1e5(0x319,0x1a5,0x40b,0x27e)]({'activeProvider':providerNameSchema[_0x42cde8(0x15e,0x7f,0x138,0x0)](),'activeModel':z[_0x48c1e5(0x422,0x394,0x439,0x3bb)]()[_0x42cde8(0xa6,0x7f,0x0,-0x70)](),'apiKey':z[_0x48c1e5(0x422,0x3a7,0x570,0x503)]()['optional'](),'providers':z[_0x42cde8(0x11,0x72,-0x43,0x1ed)](providerNameSchema,providerConfigSchema)[_0x42cde8(-0xc0,0x7f,0x75,0x1a4)](),'mcp':mcpSettingsSchema[_0x48c1e5(0x34a,0x389,0x2a7,0x210)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x48c1e5(0x34a,0x1eb,0x283,0x2d1)](),'commands':commandsSettingsSchema[_0x48c1e5(0x34a,0x4c0,0x363,0x327)](),'skillsEnabled':z[_0x48c1e5(0x33d,0x408,0x22d,0x21e)](z['string'](),z[_0x42cde8(-0x4b,0xd1,0x201,0x7d)]())[_0x48c1e5(0x34a,0x2ee,0x46f,0x36a)](),'allowedDirs':z[_0x42cde8(0xc7,0x106,0x1de,0x253)](z['string']())[_0x42cde8(0x7e,0x7f,0x102,0x17e)](),'mcpEnabled':prototypeSafeRecord(z[_0x48c1e5(0x39c,0x4bb,0x38f,0x355)]())[_0x48c1e5(0x34a,0x3df,0x422,0x3ae)](),'commandsEnabled':z[_0x48c1e5(0x33d,0x29f,0x1df,0x34e)](z['string'](),z['boolean']())[_0x42cde8(-0x47,0x7f,0x9,0x130)](),'memory':memorySettingsSchema[_0x48c1e5(0x34a,0x373,0x2a3,0x33d)](),'session':z['object']({'memPersist':z[_0x42cde8(0x224,0xd1,0x248,0x129)]()[_0x48c1e5(0x34a,0x3b2,0x3bf,0x398)](),'persistEventLog':z[_0x48c1e5(0x39c,0x44a,0x346,0x4fb)]()[_0x42cde8(0x1e9,0x7f,-0xf5,0x4e)](),'persistHttpLog':z[_0x48c1e5(0x39c,0x4e5,0x326,0x490)]()[_0x42cde8(-0x9,0x7f,0x6,0x5)]()})['passthrough']()[_0x42cde8(0xdd,0x7f,0x9b,0x39)](),'requireToolApproval':z[_0x48c1e5(0x39c,0x465,0x4ba,0x4d6)]()['optional'](),'thinking':z[_0x48c1e5(0x39a,0x2de,0x517,0x387)](['OFF',_0x48c1e5(0x368,0x3de,0x395,0x3ed),_0x48c1e5(0x23a,0x2a0,0x1c8,0x1e9),_0x48c1e5(0x2ee,0x1c7,0x1e3,0x34d)])[_0x42cde8(0xc3,0x7f,0xde,0x16b)](),'streamingChunks':z['boolean']()['optional'](),'agentsEnabled':z['record'](z['string'](),z[_0x42cde8(0x14d,0xd1,0x112,-0x7b)]())[_0x48c1e5(0x34a,0x3f3,0x370,0x2e9)](),'recentModels':z[_0x42cde8(-0x74,0x106,0x25e,0x53)](recentModelSchema)[_0x48c1e5(0x34a,0x20a,0x360,0x240)](),'lsp':lspConfigSchema[_0x42cde8(0xc7,0x7f,-0x88,0x1d6)](),'servers':z[_0x48c1e5(0x33d,0x263,0x49f,0x35b)](z[_0x42cde8(0x2b7,0x157,0x42,0x1b8)](),serverEndpointSchema)[_0x48c1e5(0x34a,0x1cc,0x496,0x205)](),'ui':z[_0x48c1e5(0x319,0x463,0x455,0x1b0)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema['optional']()})[_0x42cde8(-0x104,0x39,-0xa8,0x189)]()[_0x42cde8(0xe0,0x7f,0x12a,0x58)](),'tools':z[_0x42cde8(0x13c,0x72,-0x39,-0x22)](z['string'](),z[_0x48c1e5(0x2e2,0x21d,0x228,0x1cc)]())[_0x48c1e5(0x34a,0x3b1,0x380,0x24e)](),'hooks':hooksConfigSchema[_0x42cde8(0x119,0x7f,0x5d,0x5)]()})['passthrough'](),workspaceOverlaySchema=z[_0x48c1e5(0x319,0x1d8,0x46a,0x2f5)]({'root':z[_0x42cde8(0x207,0x157,0xc7,-0x9)]()[_0x42cde8(0x1c5,0x7f,-0xb7,-0x51)](),'allowedDirs':z['array'](z[_0x42cde8(0x21d,0x157,0x135,0xea)]())[_0x42cde8(0x1cb,0x7f,0x1a3,0x13f)](),'activeProvider':providerNameSchema[_0x48c1e5(0x34a,0x271,0x30a,0x313)](),'activeModel':z[_0x42cde8(0x120,0x157,0x18b,0x24f)]()[_0x48c1e5(0x34a,0x3d5,0x29b,0x1f8)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x42cde8(0x174,0x7f,0xdf,0xe2)](),'agents':agentsSettingsSchema[_0x42cde8(0xa9,0x7f,-0xb,0x11d)](),'commands':commandsSettingsSchema[_0x42cde8(0xd5,0x7f,0x172,0x93)](),'hooks':hooksConfigSchema[_0x42cde8(0x7a,0x7f,-0x31,-0x9c)](),'memory':memorySettingsSchema[_0x48c1e5(0x34a,0x3d6,0x249,0x297)](),'mcpEnabled':prototypeSafeRecord(z[_0x42cde8(-0x2d,0xd1,-0xd,0x1c6)]())[_0x42cde8(0xaa,0x7f,0x1ba,-0xeb)](),'skillsEnabled':z['record'](z[_0x48c1e5(0x422,0x2e6,0x359,0x4eb)](),z[_0x48c1e5(0x39c,0x321,0x46f,0x30c)]())[_0x42cde8(0x50,0x7f,0x1e1,0x23)](),'agentsEnabled':z[_0x48c1e5(0x33d,0x24f,0x4a9,0x27b)](z[_0x42cde8(0x21e,0x157,-0x3,0xfe)](),z['boolean']())[_0x42cde8(0x1a4,0x7f,0x0,0x26)](),'commandsEnabled':z[_0x48c1e5(0x33d,0x268,0x24c,0x2a3)](z['string'](),z[_0x48c1e5(0x39c,0x474,0x43b,0x25e)]())[_0x42cde8(0x1aa,0x7f,0xb,0x153)]()})[_0x42cde8(0x175,0x39,-0x27,-0xed)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x42cde8(-0x152,-0x11,-0x79,-0x16f)](Object[_0x48c1e5(0x487,0x57d,0x47a,0x575)]),_0x48c1e5(0x487,0x3ed,0x564,0x5df)]);function buildDescription(_0x49a3ee){const _0x306fe2={_0x322dfa:0x1c7,_0x5e3702:0x377,_0x350e65:0x281,_0x21f9d2:0x126,_0x13ec02:0x1ba,_0xf018a4:0xd1,_0x3a8b1b:0xf0,_0x13e5ab:0x1f8,_0x18fef8:0x2fa,_0xa13f57:0x10b,_0x916a96:0x2d2,_0x299e4b:0x22c,_0xa4667e:0x1fd,_0x26a7df:0xf4,_0x2f3483:0x11e,_0x497b9b:0x19},_0x2af9c9={_0x554274:0x60},_0x18bc5e={_0x15fb31:0x1a9};function _0x468dcd(_0x30fb15,_0x1c0216,_0x3b5816,_0x29f3ed){return _0x48c1e5(_0x3b5816- -0x1a9,_0x1c0216-_0x18bc5e._0x15fb31,_0x30fb15,_0x29f3ed-0x1e);}function _0x29a610(_0x172a28,_0x1b151b,_0x50d612,_0x37b45f){return _0x42cde8(_0x172a28-0xd5,_0x50d612- -0x18f,_0x50d612-_0x2af9c9._0x554274,_0x37b45f);}if(_0x49a3ee[_0x468dcd(-0xba,_0x306fe2._0x322dfa,0x74,0x45)]===0x0)return[_0x29a610(-_0x306fe2._0x5e3702,-_0x306fe2._0x350e65,-0x1f8,-_0x306fe2._0x21f9d2),_0x29a610(-0x20a,-0x1f9,-_0x306fe2._0x13ec02,-0xf3),_0x29a610(-_0x306fe2._0xf018a4,-0x196,-0x171,-0x150)]['join']('\x0a');const _0x93181b=[_0x29a610(-0x220,-_0x306fe2._0x3a8b1b,-_0x306fe2._0x13e5ab,-0x2c8),_0x29a610(-_0x306fe2._0x18fef8,-_0x306fe2._0xa13f57,-_0x306fe2._0x13ec02,-_0x306fe2._0x916a96),_0x29a610(-_0x306fe2._0x299e4b,-_0x306fe2._0xa4667e,-0x1df,-_0x306fe2._0x26a7df),..._0x49a3ee['map'](_0x587ec2=>_0x587ec2[_0x29a610(-0x1d8,-0x209,-0x297,-0x2b9)]?'-\x20'+_0x587ec2[_0x29a610(-0x1b1,-0x251,-0x196,-0x15b)]+'\x20'+_0x587ec2[_0x468dcd(-0x140,0xb4,0x1a,-0x144)]+':\x20'+_0x587ec2[_0x468dcd(0x239,0x149,0x1e0,0x1f6)]:'-\x20'+_0x587ec2[_0x29a610(-0x215,-0x28a,-0x196,-0x117)]+':\x20'+_0x587ec2['description'])];return _0x93181b[_0x29a610(-0x19,-0x13e,-_0x306fe2._0x2f3483,-_0x306fe2._0x497b9b)]('\x0a');}function createInvokeCommandTool(_0x18b11b){const _0x1e7a23={_0x549f13:0x1dc,_0x2d5d2f:0x1d5,_0x28cbd0:0x99,_0x3609fc:0x186,_0x1468ba:0x224,_0x2873a2:0x152,_0x522168:0x186,_0x2b87b5:0x20f,_0x106e91:0x16c,_0x112fc6:0x14f,_0x430eb9:0x55,_0x298ed0:0x51,_0x80295e:0x1b0,_0x5debc8:0xec},_0xdc7d32={_0x5347fa:0x243,_0x2d25f9:0xd2,_0x52df72:0x4c,_0x23ba79:0xb9,_0x2c152a:0x55,_0x27c72f:0x142,_0x1df2bb:0x260,_0x2ce066:0x1f5,_0x725176:0x348,_0x2021ce:0x345,_0x302c0c:0x386,_0x52f669:0x27d,_0x52a829:0x2b6,_0x5af386:0x179,_0x232bc3:0x1d6,_0x4118fe:0x1fe,_0x49b8a4:0x90,_0x239a56:0x53,_0x3aebe1:0x39,_0x1d03c0:0x14,_0x4b498b:0x12d},_0x178005={_0x30508b:0xa9,_0x1cafe5:0xf1,_0x54af69:0x1c2},_0x16ecf5={_0x2c3531:0x4e6,_0x4114ae:0xbf},_0xcc5f9a=new Map(_0x18b11b[_0x50ff84(-_0x1e7a23._0x549f13,-_0x1e7a23._0x2d5d2f,-_0x1e7a23._0x28cbd0,-_0x1e7a23._0x3609fc)][_0x498e7c(_0x1e7a23._0x1468ba,_0x1e7a23._0x2873a2,0xeb,0x29)](_0x202682=>[_0x202682['id'],_0x202682]));function _0x498e7c(_0x448dc2,_0x29cf35,_0x4b9fa2,_0x1f47eb){return _0x42cde8(_0x448dc2-0x155,_0x4b9fa2- -0x106,_0x4b9fa2-0x19f,_0x29cf35);}const _0x4576e4=buildDescription(_0x18b11b[_0x50ff84(-0x242,-0x1ca,-0x22d,-_0x1e7a23._0x522168)]);function _0x50ff84(_0x1f8d8c,_0xaf2d8f,_0x34d18b,_0xa9c5ac){return _0x48c1e5(_0xa9c5ac- -_0x16ecf5._0x2c3531,_0xaf2d8f-0x51,_0x1f8d8c,_0xa9c5ac-_0x16ecf5._0x4114ae);}return defineTool({'name':'InvokeCommand','description':_0x4576e4,'inputSchema':{'type':_0x498e7c(-_0x1e7a23._0x2b87b5,-0xfd,-0xb8,-_0x1e7a23._0x106e91),'properties':{'name':{'type':_0x498e7c(_0x1e7a23._0x112fc6,-_0x1e7a23._0x430eb9,_0x1e7a23._0x298ed0,_0x1e7a23._0x80295e)},'args':{'type':'string'}},'required':[_0x50ff84(-0xfc,-0x2fd,-_0x1e7a23._0x5debc8,-0x222)]},async *'execute'(_0x54b0eb){const _0x347c8f=_0xcc5f9a[_0x18200e(0x19e,0x2ab,0x2bc,0x1fe)](_0x54b0eb[_0x59eec9(-0x2dc,-0x270,-_0xdc7d32._0x5347fa,-0x1fe)]);function _0x59eec9(_0x2c4481,_0x7ee1c0,_0x550ada,_0x2c7ea3){return _0x498e7c(_0x2c4481-_0x178005._0x30508b,_0x2c4481,_0x2c7ea3- -_0x178005._0x1cafe5,_0x2c7ea3-_0x178005._0x54af69);}if(!_0x347c8f){const _0x2357c8=Array['from'](_0xcc5f9a[_0x59eec9(-_0xdc7d32._0x2d25f9,-0x1d5,-_0xdc7d32._0x52df72,-_0xdc7d32._0x23ba79)]())[_0x18200e(_0xdc7d32._0x2c152a,_0xdc7d32._0x27c72f,0x21b,0xdd)](',\x20');throw new ToolExecutionError(_0x59eec9(-0x2f6,-0x219,-_0xdc7d32._0x1df2bb,-_0xdc7d32._0x2ce066)+_0x54b0eb[_0x59eec9(-0x141,-_0xdc7d32._0x725176,-0x2b6,-0x1fe)]+_0x59eec9(-_0xdc7d32._0x2021ce,-_0xdc7d32._0x302c0c,-0x3a7,-_0xdc7d32._0x52f669)+_0x2357c8,{'name':_0x54b0eb[_0x59eec9(-_0xdc7d32._0x52a829,-_0xdc7d32._0x5af386,-_0xdc7d32._0x232bc3,-_0xdc7d32._0x4118fe)]});}function _0x18200e(_0x34f0f8,_0x1fed3b,_0x2c8dae,_0x3ee91d){return _0x498e7c(_0x34f0f8-0x194,_0x34f0f8,_0x3ee91d-0x172,_0x3ee91d-0x196);}const _0x401178=await _0x18b11b['loadCommand'](_0x347c8f),_0x1cf204=_0x54b0eb['args']??'',_0x2c1fc6=renderCommandInstructions({'instructions':_0x401178[_0x18200e(_0xdc7d32._0x49b8a4,-0xf7,-_0xdc7d32._0x239a56,-_0xdc7d32._0x3aebe1)],'argumentsText':_0x1cf204,'argumentNames':_0x401178[_0x18200e(-0x6,_0xdc7d32._0x1d03c0,0x108,_0xdc7d32._0x4b498b)]});return yield createToolOutput(_0x2c1fc6,{'id':_0x401178['id'],'name':_0x401178['name'],'path':_0x347c8f['source']['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0xd387fa,rename as _0x5cfd80,stat as _0x17084a,writeFile as _0x323fd3}from'fs/promises';import*as _0x584a5d from'path';function detectEol(_0x346290){const _0x4503df={_0x157e40:0xa1,_0x44cc46:0x1b9,_0x2cfd4b:0x4b,_0x378a12:0xcf},_0x1e1ec0={_0x48d079:0x107,_0x17415c:0x19f},_0x737c09={_0x14fd8a:0xe3,_0x504663:0x1ca};function _0x41045b(_0x57e154,_0x17fb78,_0x1fc32c,_0x3ba0a7){return _0x42cde8(_0x57e154-0x1cb,_0x57e154-_0x737c09._0x14fd8a,_0x1fc32c-_0x737c09._0x504663,_0x1fc32c);}function _0x2a0249(_0x32a59e,_0x246085,_0xf777fe,_0x3f4dab){return _0x42cde8(_0x32a59e-_0x1e1ec0._0x48d079,_0xf777fe- -0x174,_0xf777fe-_0x1e1ec0._0x17415c,_0x32a59e);}return/\r\n/['test'](_0x346290['toString'](_0x2a0249(-_0x4503df._0x157e40,-0x96,-_0x4503df._0x44cc46,-0x29f)))?_0x41045b(0xd1,0x1f2,_0x4503df._0x2cfd4b,_0x4503df._0x378a12):'lf';}function normalizeToLf(_0x2c1065){const _0x9e06e={_0x59d1cd:0x3e8,_0x52e6d2:0x30c,_0x71119f:0x2bc};function _0x95a023(_0x2caccf,_0x448c62,_0x3497da,_0x565494){return _0x48c1e5(_0x448c62- -0x16e,_0x448c62-0x4a,_0x3497da,_0x565494-0xd7);}return _0x2c1065[_0x95a023(_0x9e06e._0x59d1cd,_0x9e06e._0x52e6d2,_0x9e06e._0x71119f,0x1d2)](/\r\n/g,'\x0a');}function convertEol(_0x99c263,_0x13a3b0){const _0x52517b={_0x10c2ed:0x4c7,_0x5ccf4a:0x409,_0x1eaa82:0x406,_0x2e750c:0x23},_0x3b9b4a={_0x369c32:0x4d9,_0x5ee31d:0x1d7},_0x272b32={_0x4a18e5:0x457,_0x149cb7:0x8f,_0x3a8ddf:0x1};function _0x3f18ba(_0x3c278b,_0x532814,_0x25e59b,_0xda4cfd){return _0x48c1e5(_0x3c278b- -_0x272b32._0x4a18e5,_0x532814-_0x272b32._0x149cb7,_0xda4cfd,_0xda4cfd-_0x272b32._0x3a8ddf);}function _0xb03d37(_0x246a30,_0x2dc5b7,_0x2c825c,_0x2682a3){return _0x42cde8(_0x246a30-0xc5,_0x2dc5b7-_0x3b9b4a._0x369c32,_0x2c825c-_0x3b9b4a._0x5ee31d,_0x2c825c);}return _0x13a3b0===_0xb03d37(0x419,_0x52517b._0x10c2ed,_0x52517b._0x5ccf4a,_0x52517b._0x1eaa82)?_0x99c263[_0x3f18ba(_0x52517b._0x2e750c,0x20,-0x3a,-0x12a)](/\n/g,'\x0d\x0a'):_0x99c263;}async function atomicWrite(_0x289d76,_0x64f167){const _0x509ce1={_0x5cdc32:0xc7,_0x4393a6:0x246,_0x36207f:0x1e8,_0x4497b2:0x2d9,_0x3b5d95:0x18,_0x5a5348:0xd9},_0x5592cb={_0x4aa8a0:0x1d7},_0x332d8e=_0x584a5d['dirname'](_0x289d76);function _0x458ab6(_0x3c564f,_0x375f29,_0x595be3,_0xecc277){return _0x48c1e5(_0x595be3- -0x23d,_0x375f29-0x1d6,_0x3c564f,_0xecc277-_0x5592cb._0x4aa8a0);}const _0x1e4fe2=_0x584a5d['join'](_0x332d8e,_0x3f76cf(0x38,0x6c,-_0x509ce1._0x5cdc32,-0x23)+_0x584a5d['basename'](_0x289d76)+'.'+Date[_0x458ab6(0x227,0x1c3,0x21f,0x1de)]()+'.'+Math[_0x458ab6(0x176,0x1fa,_0x509ce1._0x4393a6,0x140)]()[_0x458ab6(_0x509ce1._0x36207f,0x172,0x210,_0x509ce1._0x4497b2)](0x24)[_0x3f76cf(_0x509ce1._0x3b5d95,0x85,-0xe,_0x509ce1._0x5a5348)](0x2));await _0x323fd3(_0x1e4fe2,_0x64f167);function _0x3f76cf(_0x31e5e2,_0x56d5e8,_0x15bf1e,_0x3ca66d){return _0x42cde8(_0x31e5e2-0x15e,_0x3ca66d-0xd4,_0x15bf1e-0x1af,_0x31e5e2);}await _0x5cfd80(_0x1e4fe2,_0x289d76);}function sha256(_0x23faad){const _0x4f9322={_0x16abd3:0x339,_0x9b8bc3:0x1cb,_0xd3236e:0x69,_0x4bf71c:0xd4,_0x41ccec:0x67,_0x249188:0x113,_0x16a5b5:0x10,_0xe01702:0x32a,_0x5cba3f:0x3fc},_0x18095b={_0x5b4979:0x88,_0x11f097:0x1c6,_0x20c328:0x1c9},_0x3f8c7e={_0x3f828d:0xa1,_0x1b3cf6:0x1ad};function _0x33d6e7(_0x26dd96,_0x4ee330,_0x482296,_0x2f0873){return _0x42cde8(_0x26dd96-0x3a,_0x4ee330-_0x3f8c7e._0x3f828d,_0x482296-_0x3f8c7e._0x1b3cf6,_0x2f0873);}function _0x3b44a7(_0x59d537,_0x2a548e,_0x59c08f,_0x20d034){return _0x42cde8(_0x59d537-_0x18095b._0x5b4979,_0x59d537-_0x18095b._0x11f097,_0x59c08f-_0x18095b._0x20c328,_0x2a548e);}return createHash(_0x33d6e7(_0x4f9322._0x16abd3,0x1c8,0x19c,_0x4f9322._0x9b8bc3))[_0x33d6e7(0x154,0x41,-_0x4f9322._0xd3236e,_0x4f9322._0x4bf71c)](_0x23faad)[_0x33d6e7(0x118,_0x4f9322._0x41ccec,_0x4f9322._0x249188,-_0x4f9322._0x16a5b5)](_0x3b44a7(_0x4f9322._0xe01702,_0x4f9322._0x5cba3f,0x265,0x454));}function countLines(_0x373580){const _0x120433={_0x33af19:0x813,_0x5aa242:0x6ab,_0x20280a:0xd3,_0x54871b:0x91,_0x658e00:0x11,_0x30160d:0x185},_0x4d9046={_0x8f8e59:0x231,_0x628f77:0xf6},_0x30e93c={_0x9065c6:0x1e4,_0x340dfe:0xcc,_0x3bec41:0x7};function _0x1647c2(_0x122f9e,_0x4de3b6,_0x57bafe,_0xc4a7ac){return _0x42cde8(_0x122f9e-_0x30e93c._0x9065c6,_0x4de3b6- -_0x30e93c._0x340dfe,_0x57bafe-_0x30e93c._0x3bec41,_0xc4a7ac);}function _0x5916a0(_0x194a77,_0x1e1365,_0x277c5d,_0x3cb45e){return _0x48c1e5(_0x1e1365-_0x4d9046._0x8f8e59,_0x1e1365-_0x4d9046._0x628f77,_0x194a77,_0x3cb45e-0x17e);}const _0x2ec0c7=_0x373580[_0x5916a0(_0x120433._0x33af19,_0x120433._0x5aa242,0x7c4,0x6a5)](/\n$/,'');return _0x2ec0c7[_0x5916a0(0x532,0x44e,0x318,0x4fc)]===0x0?0x0:_0x2ec0c7[_0x1647c2(-_0x120433._0x20280a,0x6f,-_0x120433._0x54871b,-_0x120433._0x658e00)]('\x0a')[_0x1647c2(-0xc9,-0x17a,-_0x120433._0x30160d,-0xe4)];}function calculateLineNumbers(_0x2f0476,_0xa1b994,_0xf6e15e,_0x42baf0){const _0x24e5bf={_0x3cb403:0x2a4,_0x53f1ae:0x129,_0xa361ac:0x1c5,_0x2aedcb:0x99},_0x3d4146={_0x28a536:0xb7},_0x3711fa={_0x2b09be:0x3f9,_0x35f8f3:0x10f,_0x52d1e1:0xa5};function _0x525a77(_0x55d8a2,_0x58d659,_0x5c99bb,_0x479ce5){return _0x48c1e5(_0x479ce5- -_0x3711fa._0x2b09be,_0x58d659-_0x3711fa._0x35f8f3,_0x55d8a2,_0x479ce5-_0x3711fa._0x52d1e1);}const _0x1c0763=_0x2f0476[_0x525a77(-_0x24e5bf._0x3cb403,0xb,-0x16d,-_0x24e5bf._0x53f1ae)](0x0,_0x42baf0)['split']('\x0a')[_0x19c457(_0x24e5bf._0xa361ac,0xcd,_0x24e5bf._0x2aedcb,0x170)],_0x17e794=countLines(_0xa1b994),_0x1fc518=countLines(_0xf6e15e);function _0x19c457(_0x36e522,_0x2a47be,_0x4a5c8c,_0x2790bf){return _0x42cde8(_0x36e522-_0x3d4146._0x28a536,_0x2790bf-0x21e,_0x4a5c8c-0x118,_0x4a5c8c);}return{'oldStartLine':_0x1c0763,'oldEndLine':_0x1c0763+_0x17e794-0x1,'newStartLine':_0x1c0763,'newEndLine':_0x1c0763+_0x1fc518-0x1,'oldLineCount':_0x17e794,'newLineCount':_0x1fc518};}function createFileEditTool(_0xf18804={}){const _0x14a5b4={_0xaa2e86:0x1a,_0x1649e4:0xcd,_0x527df1:0x21a,_0x513d63:0x46,_0x5e1c07:0x1da,_0x5e0d71:0x2ee,_0x534150:0x265,_0x3237b2:0x284,_0x2b9279:0x158,_0x4b6736:0x3b6,_0x5c96a9:0x37c,_0x5d8f64:0x26e,_0xa6254f:0x351,_0x5e62ad:0x483,_0x406ca1:0x11d,_0x58ad89:0x23c,_0x7af77b:0x1c3,_0x106945:0x171},_0x1803f8={_0x2c32fe:0x27c,_0x1dbdc9:0x219,_0x38ebf6:0x203,_0x2e7834:0xc3,_0x1d4337:0xd4,_0x5edde6:0x235,_0x1bfce1:0x2f4,_0x5a7283:0x3d0,_0x170e88:0x46c,_0x4f4e7c:0x31a,_0x3cddf1:0xe0,_0x21e6e3:0x4f,_0x3b217a:0x301,_0x4f7ac1:0x1be,_0x1ce190:0x15b,_0x45636c:0x65,_0x1ebcc3:0x54,_0x344b22:0x126,_0x33d4ad:0x117,_0x2b86eb:0x188,_0x4a50f2:0x4,_0x158cfe:0x158,_0xa921a3:0x12b,_0x557ae8:0x203,_0x34d877:0x1cc,_0x358df5:0x81,_0x45cbba:0x328},_0x583edf={_0x5c83f1:0x56,_0x5c3c41:0x37},_0x4f9548={_0xa18c1e:0x11a},_0x3c1247=_0x584a5d[_0x4936c9(0x39e,0x29b,0x361,0x21c)](_0xf18804['defaultCwd']??process[_0xd356e2(-_0x14a5b4._0xaa2e86,_0x14a5b4._0x1649e4,_0x14a5b4._0x527df1,_0x14a5b4._0x513d63)]());function _0xd356e2(_0x179442,_0x4485b8,_0x5ed9f7,_0x5bba6b){return _0x48c1e5(_0x4485b8- -0x1b4,_0x4485b8-_0x4f9548._0xa18c1e,_0x5ed9f7,_0x5bba6b-0xde);}const _0x87b49c=_0xf18804['allowedDirs']??[],_0x1bc6ab=_0xf18804[_0x4936c9(0x1f4,_0x14a5b4._0x5e1c07,0x322,0xbe)]??_0xd356e2(_0x14a5b4._0x5e0d71,_0x14a5b4._0x534150,_0x14a5b4._0x3237b2,_0x14a5b4._0x2b9279);function _0x4936c9(_0x5c2878,_0x3d0e3b,_0x4919e5,_0x1cf8ca){return _0x48c1e5(_0x3d0e3b- -0xea,_0x3d0e3b-0x1ca,_0x5c2878,_0x1cf8ca-0x1b0);}return defineTool({'name':_0x1bc6ab,'description':_0xd356e2(0x4b,0xc2,0x123,0x196),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x4936c9(0x44f,0x338,_0x14a5b4._0x4b6736,0x2bc)},'description':{'type':_0xd356e2(_0x14a5b4._0x5c96a9,0x26e,_0x14a5b4._0x5d8f64,0x241),'description':_0xd356e2(0x1d8,0x2ad,0x1e1,_0x14a5b4._0xa6254f)},'oldText':{'type':_0x4936c9(_0x14a5b4._0x5e62ad,0x338,0x245,0x3c3)},'newText':{'type':_0xd356e2(_0x14a5b4._0x406ca1,_0x14a5b4._0x5d8f64,0x2fa,_0x14a5b4._0x58ad89)},'dryRun':{'type':_0x4936c9(_0x14a5b4._0x7af77b,0x2b2,_0x14a5b4._0x106945,0x1db)}},'required':['filePath','oldText','newText']},async *'execute'(_0x23df40){const _0x2dbf24={_0x12dd8a:0x277,_0x3a46cd:0x6c},_0x1012c4=resolveAllowedPath(_0x3c1247,_0x87b49c,_0x23df40[_0x3916a8(0x13a,0x2b8,_0x1803f8._0x2c32fe,_0x1803f8._0x1dbdc9)]);await assertWorkspaceFile(_0x1012c4);function _0xca9ddb(_0xcdd7d5,_0x41ecf5,_0x551be8,_0x92cc94){return _0xd356e2(_0xcdd7d5-0x68,_0x92cc94- -_0x2dbf24._0x12dd8a,_0x41ecf5,_0x92cc94-_0x2dbf24._0x3a46cd);}const _0x523b49=await _0x17084a(_0x1012c4),_0xb6e2f8=await _0xd387fa(_0x1012c4),_0x45a507=detectEol(_0xb6e2f8);function _0x3916a8(_0x1e407d,_0x2481d0,_0x3d826d,_0x7463b6){return _0xd356e2(_0x1e407d-_0x583edf._0x5c83f1,_0x7463b6-0x18,_0x2481d0,_0x7463b6-_0x583edf._0x5c3c41);}const _0x19040c=normalizeToLf(_0xb6e2f8['toString'](_0xca9ddb(-_0x1803f8._0x38ebf6,-_0x1803f8._0x2e7834,-0x31f,-0x1a5))),_0x1e4046=normalizeToLf(_0x23df40[_0x3916a8(0x15,-0x8c,-0x8a,_0x1803f8._0x1d4337)]),_0x436910=normalizeToLf(_0x23df40[_0x3916a8(_0x1803f8._0x5edde6,_0x1803f8._0x1bfce1,0x107,0x272)]),_0x182f11=_0x19040c[_0x3916a8(_0x1803f8._0x5a7283,_0x1803f8._0x170e88,0x438,_0x1803f8._0x4f4e7c)](_0x1e4046);if(_0x182f11===-0x1){const _0x19a8f6=_0x1e4046['slice'](0x0,0x64)[_0xca9ddb(_0x1803f8._0x3cddf1,0x9,0x103,_0x1803f8._0x21e6e3)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x3916a8(0x42b,0x3fb,0x232,_0x1803f8._0x3b217a)+_0x19a8f6+(_0x1e4046[_0xca9ddb(-_0x1803f8._0x4f7ac1,-0x14c,-0xa7,-0x20e)]>0x64?'...':'')+'\x22',{'filePath':_0x23df40[_0x3916a8(0x2dd,0x237,0x2fa,0x219)]});}const _0x558320=_0x19040c['slice'](0x0,_0x182f11)+_0x436910+_0x19040c[_0xca9ddb(-0x103,-0xa,-0xed,-_0x1803f8._0x1ce190)](_0x182f11+_0x1e4046[_0xca9ddb(-0x21e,-0x2f4,-0xd1,-0x20e)]),_0x410de2=convertEol(_0x558320,_0x45a507),_0x283e66=Buffer[_0x3916a8(-0xdc,0x35,_0x1803f8._0x45636c,0x2b)](_0x410de2,'utf8'),_0x2611e5=sha256(_0xb6e2f8),_0x3b5754=sha256(_0x283e66),_0x25817b=_0x2611e5===_0x3b5754,_0x1df4c0=_0x23df40[_0xca9ddb(-0x92,-_0x1803f8._0x1ebcc3,-_0x1803f8._0x344b22,-0x2a)]??![];return!_0x1df4c0&&!_0x25817b&&await atomicWrite(_0x1012c4,_0x283e66),yield createToolOutput(_0x25817b?'No\x20changes\x20(content\x20identical).':_0x1df4c0?_0xca9ddb(-0x89,0x2,-0xd6,-0x5f):_0xca9ddb(-0x18d,-0xc7,0x2c,-_0x1803f8._0x33d4ad),{'filePath':_0x23df40['filePath'],'resolvedPath':_0x1012c4,'created':_0x523b49['birthtime'][_0x3916a8(0x106,_0x1803f8._0x2b86eb,_0x1803f8._0x4a50f2,_0x1803f8._0x158cfe)](),'modified':_0x523b49['mtime'][_0x3916a8(0x22c,_0x1803f8._0xa921a3,_0x1803f8._0x557ae8,0x158)](),'size':_0x523b49['size'],'eol':_0x45a507,'oldTextLength':_0x1e4046[_0x3916a8(-0xfe,_0x1803f8._0x34d877,0x88,_0x1803f8._0x358df5)],'newTextLength':_0x436910[_0xca9ddb(-0x130,-_0x1803f8._0x45cbba,-0x14e,-0x20e)],'bytesWritten':_0x25817b||_0x1df4c0?0x0:_0x283e66['length'],'beforeSha':_0x2611e5,'afterSha':_0x3b5754,'dryRun':_0x1df4c0,'noChange':_0x25817b,'lineNumbers':calculateLineNumbers(_0x19040c,_0x1e4046,_0x436910,_0x182f11)}),void 0x0;}});}import{mkdir as _0x1ee7b9,rename as _0xd4a0ad,stat as _0x45ffda,writeFile as _0xa090e8}from'fs/promises';import*as _0x53542e from'path';async function atomicWrite2(_0x53af57,_0x169571){const _0x112a52={_0x31f3f5:0x72f,_0x113804:0x5f9,_0x7e9c31:0x45,_0x44484e:0x6e,_0x502c00:0xd0,_0x378b13:0x391,_0x4de77d:0x5e2,_0x942939:0x568,_0x5afc82:0x54,_0x4e248c:0x74,_0x428358:0x1b1},_0xc08308={_0x3fff4e:0x55e,_0x40e325:0x12e},_0x385982={_0x3d5e85:0x1db};function _0x2bccde(_0x38cc30,_0x1461b1,_0x46209d,_0x4589ac){return _0x48c1e5(_0x4589ac- -0x40c,_0x1461b1-0x1b8,_0x46209d,_0x4589ac-_0x385982._0x3d5e85);}const _0x3442a1=_0x53542e[_0x3ffd57(_0x112a52._0x31f3f5,0x519,0x68e,_0x112a52._0x113804)](_0x53af57);await _0x1ee7b9(_0x3442a1,{'recursive':!![]});const _0x4217d2=_0x53542e[_0x2bccde(-_0x112a52._0x7e9c31,0x8,-_0x112a52._0x44484e,-_0x112a52._0x502c00)](_0x3442a1,_0x2bccde(-_0x112a52._0x378b13,-0x283,-0x30f,-0x238)+_0x53542e[_0x3ffd57(0x50a,_0x112a52._0x4de77d,0x475,_0x112a52._0x942939)](_0x53af57)+'.'+Date['now']()+'.'+Math[_0x2bccde(_0x112a52._0x5afc82,-0x10,-_0x112a52._0x4e248c,0x77)]()['toString'](0x24)[_0x2bccde(0x17,-0xc4,-_0x112a52._0x428358,-0x13c)](0x2));await _0xa090e8(_0x4217d2,_0x169571);function _0x3ffd57(_0x905429,_0x5db48a,_0x54e83f,_0x394623){return _0x42cde8(_0x905429-0x65,_0x54e83f-_0xc08308._0x3fff4e,_0x54e83f-_0xc08308._0x40e325,_0x905429);}await _0xd4a0ad(_0x4217d2,_0x53af57);}function createFileNewTool(_0x287683={}){const _0x2d7ad0={_0x47a372:0x13d,_0x41ee6c:0x263,_0x335d4a:0x155,_0x273932:0x669,_0x257a46:0x551,_0x3c4201:0x3e9,_0x493894:0x548,_0x167a5c:0x513,_0x38fcbf:0x1b8,_0x57d0b3:0x80,_0x27db1c:0x185,_0x18f7dc:0x6aa,_0x27f560:0x524,_0x171d86:0x556,_0x3947f0:0x301,_0x37618b:0x39f,_0x584b3d:0x41b,_0x454349:0x2f9,_0xf1cb12:0x221,_0x2aec04:0x624,_0x4b6c32:0x2d2,_0x251ebb:0x2fb,_0x19eeae:0x28f,_0x3fb9d9:0x2dc,_0x4c2c85:0x16e},_0x596629={_0x1a9bbc:0x2ee,_0x596e48:0x363,_0xf371a7:0x4bd,_0x4c4252:0x81,_0x2df029:0x2ac,_0x31b804:0x3f7,_0x316803:0x4a8,_0x5e35ee:0x87,_0x70b423:0x19a,_0x25123b:0x1cb,_0x2fc2bc:0x250,_0x38767e:0x2d,_0x1afbb5:0x13e},_0x4ad4b0={_0x2c92d5:0xd0},_0x5a47a1={_0x1f8991:0x122,_0x2bdc53:0x10f},_0x48f911=_0x53542e[_0x253afd(_0x2d7ad0._0x47a372,_0x2d7ad0._0x41ee6c,_0x2d7ad0._0x335d4a,_0x2d7ad0._0x47a372)](_0x287683[_0x1f5890(_0x2d7ad0._0x273932,0x635,0x518,_0x2d7ad0._0x257a46)]??process[_0x1f5890(0x4b7,_0x2d7ad0._0x3c4201,_0x2d7ad0._0x493894,_0x2d7ad0._0x167a5c)]()),_0x264457=_0x287683[_0x253afd(0x212,_0x2d7ad0._0x38fcbf,_0x2d7ad0._0x57d0b3,_0x2d7ad0._0x27db1c)]??[];function _0x253afd(_0x5eb9b7,_0x110c17,_0x1f379e,_0x676ce3){return _0x48c1e5(_0x110c17- -_0x5a47a1._0x1f8991,_0x110c17-_0x5a47a1._0x2bdc53,_0x1f379e,_0x676ce3-0xcc);}function _0x1f5890(_0x538fb0,_0x22f231,_0x2ab874,_0x4f8591){return _0x42cde8(_0x538fb0-0x1a7,_0x4f8591-0x55d,_0x2ab874-0x1b6,_0x22f231);}const _0x19a221=_0x287683[_0x1f5890(_0x2d7ad0._0x18f7dc,0x64a,_0x2d7ad0._0x27f560,_0x2d7ad0._0x171d86)]??_0x253afd(_0x2d7ad0._0x3947f0,0x31b,_0x2d7ad0._0x37618b,_0x2d7ad0._0x584b3d);return defineTool({'name':_0x19a221,'description':_0x253afd(_0x2d7ad0._0x454349,0x302,0x19e,_0x2d7ad0._0xf1cb12),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x1f5890(0x7f0,0x817,0x5b4,0x6b4)},'content':{'type':_0x1f5890(0x655,0x5a1,_0x2d7ad0._0x2aec04,0x6b4)}},'required':[_0x253afd(0x236,0x293,_0x2d7ad0._0x4b6c32,_0x2d7ad0._0x251ebb),_0x253afd(_0x2d7ad0._0x19eeae,_0x2d7ad0._0x3fb9d9,_0x2d7ad0._0x4c2c85,0x41b)]},async *'execute'(_0x1e3ac3){const _0x16533d={_0xf1217a:0x1a4,_0x2e8f22:0x1d7};function _0x5d34ff(_0x1becd3,_0x591afc,_0x5ceded,_0x1e8539){return _0x253afd(_0x1becd3-0x186,_0x591afc- -_0x16533d._0xf1217a,_0x1becd3,_0x1e8539-_0x16533d._0x2e8f22);}const _0x293bd1=resolveAllowedPath(_0x48f911,_0x264457,_0x1e3ac3[_0x1fdfe4(_0x596629._0x1a9bbc,0x2e9,_0x596629._0x596e48,_0x596629._0xf371a7)]),_0x41223c=await _0x45ffda(_0x293bd1)['then'](()=>!![])[_0x5d34ff(-0xe9,-0xd3,0x9,-0x88)](()=>![]);function _0x1fdfe4(_0xe42173,_0x4c7331,_0x14c365,_0x243fce){return _0x253afd(_0xe42173-0x1e,_0x14c365-_0x4ad4b0._0x2c92d5,_0x4c7331,_0x243fce-0x17c);}const _0x5534f2=Buffer['from'](_0x1e3ac3[_0x5d34ff(_0x596629._0x4c4252,0x138,0x172,0x186)],_0x5d34ff(0x5c,-0x40,-0xdc,-0x98));return await atomicWrite2(_0x293bd1,_0x5534f2),yield createToolOutput(_0x1fdfe4(_0x596629._0x2df029,_0x596629._0x31b804,0x420,_0x596629._0x316803)+_0x1e3ac3['filePath']+'.',{'filePath':_0x1e3ac3['filePath'],'resolvedPath':_0x293bd1,'bytes':_0x5534f2[_0x1fdfe4(_0x596629._0x5e35ee,_0x596629._0x70b423,_0x596629._0x25123b,0x2d4)],'lines':_0x1e3ac3[_0x5d34ff(_0x596629._0x2fc2bc,0x138,_0x596629._0x38767e,_0x596629._0x1afbb5)]['split'](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x41223c}),void 0x0;}});}import{readFile as _0x329f33,stat as _0x43b044}from'fs/promises';import*as _0x38b3e3 from'path';function stripUtfBom(_0x2bfacb){const _0x164bd5={_0x3a8ff5:0x37e,_0x5eddf5:0x358,_0x2e2a37:0x3b1},_0x58d524={_0x3976d4:0xb7};function _0x4644ee(_0x4dcdbc,_0x5eb7eb,_0x301733,_0x48e03a){return _0x48c1e5(_0x5eb7eb- -0xb5,_0x5eb7eb-0x142,_0x4dcdbc,_0x48e03a-0x1a6);}function _0x43f333(_0x4fd8d6,_0xe6599e,_0x1de538,_0x28c7bf){return _0x48c1e5(_0x4fd8d6-0x156,_0xe6599e-_0x58d524._0x3976d4,_0x1de538,_0x28c7bf-0x1e6);}return _0x2bfacb[_0x4644ee(0x3b0,0x36c,_0x164bd5._0x3a8ff5,_0x164bd5._0x5eddf5)](0x0)===0xfeff?_0x2bfacb[_0x43f333(0x426,0x2cf,0x573,_0x164bd5._0x2e2a37)](0x1):_0x2bfacb;}function clampLine(_0x3bbef9,_0x27a7fb){const _0x2e33ca={_0x2523d0:0x57,_0x22d6db:0x16,_0x5bef0b:0x16c},_0x52f97c={_0x1542d1:0x74,_0x10b0d4:0xd4,_0x47e3ec:0x1bb};function _0x554d4e(_0x1d6622,_0x2dcc6a,_0x55ef6f,_0x4696ad){return _0x42cde8(_0x1d6622-_0x52f97c._0x1542d1,_0x2dcc6a- -_0x52f97c._0x10b0d4,_0x55ef6f-_0x52f97c._0x47e3ec,_0x55ef6f);}function _0x26e88d(_0x2ff57b,_0x4af9dd,_0x1e92d2,_0x5edbf5){return _0x42cde8(_0x2ff57b-0x1cc,_0x5edbf5- -0x119,_0x1e92d2-0x110,_0x2ff57b);}if(!Number['isFinite'](_0x3bbef9))return 0x1;return Math['max'](0x1,Math[_0x26e88d(-_0x2e33ca._0x2523d0,-0x28c,-0x58,-0x17c)](Math[_0x26e88d(-0xee,-0x176,-_0x2e33ca._0x22d6db,-_0x2e33ca._0x5bef0b)](_0x3bbef9),_0x27a7fb));}function createFileReadTool(_0x2cae8c={}){const _0x4afc72={_0x293a6c:0xd2,_0x245863:0xa6,_0x5d2c5b:0x65,_0x61e986:0x20d,_0x3d7475:0x1a8,_0x457d31:0x5,_0x5e79b3:0x1c6,_0x409a9c:0x1af,_0x4b1978:0xea,_0x95e3b6:0x29a,_0x525e4c:0x202,_0x388eae:0x25b,_0x35c034:0x20d,_0x194d1e:0x457,_0x477790:0xb1,_0x5a86de:0x62,_0x2693a9:0x5e,_0x6c0344:0x26d,_0x196fd2:0x21c,_0x1fe094:0xfb,_0xb2ce01:0x82},_0xb8674e={_0xca66da:0x381,_0x22eae6:0x2a7,_0x42af39:0x48e,_0x4bbed3:0x413,_0x487877:0x526,_0x1a00b8:0x296,_0xc94e41:0x13b,_0x373821:0x116,_0x307f6f:0x10,_0x3fc411:0x4e1,_0x58eac8:0x1ad,_0x3b6456:0x24c,_0x88c197:0x7a,_0x19fd64:0x1ae,_0x117758:0x106,_0x16bd64:0x119,_0x470f0a:0x112,_0x498469:0x4bc,_0x25d870:0x566,_0xe87d62:0x2b7,_0x50252d:0x14,_0x1efa22:0x1a1,_0x131ddb:0x28,_0x37730d:0xef,_0x14884d:0x1e1,_0x92911c:0x3c,_0x594cd8:0xed,_0x14e0dc:0xaa,_0x2f68b9:0x38d,_0x3adc21:0x232,_0x279b23:0x382,_0x5502f3:0xe4,_0x5d194b:0xf,_0x1e0ec6:0x73,_0xbd495:0x202,_0x50b12e:0x3b2},_0xa047a3={_0x566c1e:0x41,_0x236858:0x196},_0x31f68a={_0x11b71b:0x16c,_0xf5600d:0x15e},_0x390b5a={_0x1468e8:0x126,_0xddcee4:0x1b4},_0x193a2d=_0x38b3e3[_0x32376e(_0x4afc72._0x293a6c,0xa9,_0x4afc72._0x245863,_0x4afc72._0x5d2c5b)](_0x2cae8c[_0x4c1ba4(_0x4afc72._0x61e986,_0x4afc72._0x3d7475,0x281,0x2bf)]??process[_0x4c1ba4(0x22a,0x16a,0x15,0xf1)]()),_0x2a9ff3=_0x2cae8c[_0x32376e(0xbe,-0x57,-_0x4afc72._0x457d31,0xe3)]??[];function _0x4c1ba4(_0x439557,_0x3d7ec5,_0xf4db62,_0x549c52){return _0x42cde8(_0x439557-_0x390b5a._0x1468e8,_0x3d7ec5-_0x390b5a._0xddcee4,_0xf4db62-0x197,_0x549c52);}function _0x32376e(_0x13088c,_0x2b8252,_0x758ac7,_0x2891ec){return _0x42cde8(_0x13088c-_0x31f68a._0x11b71b,_0x758ac7- -0x14,_0x758ac7-_0x31f68a._0xf5600d,_0x2891ec);}const _0x11213a=_0x2cae8c[_0x4c1ba4(_0x4afc72._0x5e79b3,0x1ad,0x1f3,_0x4afc72._0x409a9c)]??'FileRead';return defineTool({'name':_0x11213a,'description':_0x32376e(0x65,-_0x4afc72._0x4b1978,-0x35,-0xff),'inputSchema':{'type':_0x4c1ba4(_0x4afc72._0x95e3b6,_0x4afc72._0x525e4c,0x23b,_0x4afc72._0x388eae),'properties':{'path':{'type':_0x4c1ba4(_0x4afc72._0x35c034,0x30b,0x1ae,_0x4afc72._0x194d1e)},'lineStart':{'type':_0x32376e(0x156,_0x4afc72._0x477790,_0x4afc72._0x5a86de,_0x4afc72._0x2693a9),'description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':_0x4c1ba4(0x2db,0x22a,0x380,_0x4afc72._0x6c0344),'description':_0x32376e(_0x4afc72._0x196fd2,_0x4afc72._0x1fe094,0xf6,_0x4afc72._0xb2ce01)}},'required':['path']},async *'execute'(_0xbc0d8e){const _0x2408f6=resolveAllowedPath(_0x193a2d,_0x2a9ff3,_0xbc0d8e[_0x5cfbce(0x413,_0xb8674e._0xca66da,0x56c,_0xb8674e._0x22eae6)]);await assertWorkspaceFile(_0x2408f6);const _0x49fcb9=await _0x43b044(_0x2408f6),_0x4a6071=await _0x329f33(_0x2408f6);function _0x591dca(_0xa8626,_0x4b87ad,_0x559f58,_0x2c2e76){return _0x4c1ba4(_0xa8626-0xcb,_0x4b87ad- -0x142,_0x559f58-0x5e,_0x2c2e76);}if(isProbablyBinary(_0x4a6071))throw new ToolExecutionError(_0x5cfbce(0x36e,0x338,0x3e3,_0xb8674e._0x42af39)+_0xbc0d8e[_0x5cfbce(_0xb8674e._0x4bbed3,_0xb8674e._0x487877,0x4a7,_0xb8674e._0x1a00b8)],{'path':_0xbc0d8e[_0x591dca(-0x44,_0xb8674e._0xc94e41,0x160,_0xb8674e._0x373821)]});let _0x403ef9=_0x4a6071[_0x5cfbce(0x4cc,0x352,0x4e6,0x428)](_0x591dca(-0x8e,0x2d,-0x11d,_0xb8674e._0x307f6f));function _0x5cfbce(_0x31ed9a,_0xe8e6b7,_0x278bd6,_0x56163d){return _0x4c1ba4(_0x31ed9a-_0xa047a3._0x566c1e,_0x31ed9a-_0xa047a3._0x236858,_0x278bd6-0x12d,_0xe8e6b7);}const _0x2e4ae7=_0x403ef9[_0x5cfbce(0x4a0,0x449,0x48d,_0xb8674e._0x3fc411)](0x0)===0xfeff;_0x403ef9=stripUtfBom(_0x403ef9);const _0x231fbe=_0x403ef9[_0x591dca(0xe7,_0xb8674e._0x58eac8,_0xb8674e._0x3b6456,_0xb8674e._0x88c197)](/\r?\n/),_0x17438e={'path':_0xbc0d8e['path'],'resolvedPath':_0x2408f6,'created':_0x49fcb9[_0x591dca(_0xb8674e._0x19fd64,_0xb8674e._0x117758,_0xb8674e._0x16bd64,-0x78)][_0x591dca(_0xb8674e._0x470f0a,0x9b,0x20e,0x1f5)](),'modified':_0x49fcb9[_0x5cfbce(0x438,_0xb8674e._0x498469,0x561,_0xb8674e._0x25d870)][_0x5cfbce(0x373,0x414,0x31e,_0xb8674e._0xe87d62)](),'size':_0x49fcb9['size'],'encoding':_0x591dca(-_0xb8674e._0x50252d,0x2d,-0x120,_0xb8674e._0x1efa22),'bomStripped':_0x2e4ae7,'truncated':![],'totalLines':_0x231fbe['length']};if(_0xbc0d8e['lineStart']!==void 0x0||_0xbc0d8e['lineEnd']!==void 0x0){const _0x4e4ba2=clampLine(_0xbc0d8e[_0x591dca(_0xb8674e._0x131ddb,_0xb8674e._0x37730d,_0xb8674e._0x14884d,0x232)]??0x1,_0x231fbe[_0x591dca(-0xc6,-_0xb8674e._0x92911c,-_0xb8674e._0x594cd8,-_0xb8674e._0x14e0dc)]),_0x13a190=clampLine(_0xbc0d8e[_0x591dca(_0xb8674e._0x2f68b9,_0xb8674e._0x3adc21,0x328,_0xb8674e._0x279b23)]??_0x231fbe[_0x591dca(-0x1a4,-_0xb8674e._0x92911c,0x131,-_0xb8674e._0x5502f3)],_0x231fbe['length']),_0x32026d=Math[_0x591dca(0x26,_0xb8674e._0x5d194b,0x132,0x28)](_0x4e4ba2,_0x13a190),_0x3888e3=Math[_0x591dca(0x85,0x5a,0xc5,_0xb8674e._0x1e0ec6)](_0x4e4ba2,_0x13a190),_0x3ca9bc=_0x231fbe['slice'](_0x32026d-0x1,_0x3888e3)[_0x591dca(_0xb8674e._0xbd495,0x263,0x193,_0xb8674e._0x50b12e)]((_0x3dac54,_0x4224d8)=>_0x32026d+_0x4224d8+'|'+_0x3dac54)['join']('\x0a');return yield createToolOutput(_0x3ca9bc,{..._0x17438e,'lineRange':{'lineStart':_0x32026d,'lineEnd':_0x3888e3,'linesTotal':_0x231fbe['length']}}),void 0x0;}return yield createToolOutput(_0x403ef9,_0x17438e),void 0x0;}});}import{stat as _0x28d4c4}from'fs/promises';import*as _0x18b0c7 from'path';import{execSync,spawn as _0x184d33}from'child_process';import{existsSync}from'fs';import{stat as _0x36a9db}from'fs/promises';import*as _0x25f79e from'os';import*as _0x2ffc84 from'path';import{rgPath as _0x113000}from'@vscode/ripgrep';function _0x5311(){const _0x2329e0=['C3jJl2fNzw50l2fNzw50lNrZ','B2f1DgG','Dg90ywW','Dg9Rzw4','zMLUzfjLzMvYzw5Jzxm','zw5HyMXLza','yxnZAwDU','BgLUzq','yMLYDgH0Aw1L','y29TBwfUzhm','BhnWu2vYDMLJzq','A2LSBa','BgLUAW','AxnfCNjVCG','yMfZzty0','Dg90ywXeCM9WCgvK','DgvZDa','te9x','zgvMAw5PDgLVBG','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vw5HDxrOB3jPEMvKrxjYB3i','yNL0zuXLBMD0Aa','Aw5ZDgfSBa','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','zgLYzwn0B3j5','zg9TywLUCW','y2vPBa','lMPZEa','C29YDa','Dg9VBhmVy2fSBa','yxbWzw5K','CMvZDwX0CW','C3rHDhvZ','qu5usfjpueLdx0fqsv9lrvK','ChjPB3jPDhK','A2v5','lMn0CW','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','CgfYC2vjBNq','te9dquXbufbeqvrb','BwLUAw1HEa','zgLZywjSzwq','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','C2fMzq','zxjYB3i','uhjVz3jHBuzPBgvZkhG4nIK','CMvZB2X2zq','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','mtaWlJy0lJaUma','C2H1DgrVD24','zgvZy3jPChrPB24','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','ywrK','yxjNDw1LBNrZ','ig1Z','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zM9VDgvY','BgLUzvrLEhq','C2vYDMvYtMfTzq','Bwf4uMvKAxjLy3rZ','C2vSzwn0Aw9UuMfUz2u','Cgf0Aa','yxr0CG','yxjNDw1LBNrZvgv4Da','ANnVBG','CxvLC3rPB25Z','A2LSBfjLCxvLC3rLza','zw51Bq','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','yM9VBgvHBG','DhjPBq','y29Uy2f0','mta1oti4ngzQBfrcyq','Aw50zwDLCG','yMLVBwu','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','BgLTAxq','C2v0','v2vIrMv0y2G','y2XPzw50CW','Bwv0yxrHz3m','lw5i','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','D2vI','y29UBMvJDgvK','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','ChvIBgLZAgvKqxq','BgLZDfrVB2XZ','y29ZDa','qMfZAe91Dhb1Da','w1bFxL1BxhnCu10QpW','BM90Awz5','CxvLC3rPB24T','zMLSzvbHDgG','B3jPz2LUvg9VBenHBgXjza','y2fSBfrVB2W','r0LgodDH','BxrPBwu','mtCYlJe2lJaUma','l3vZCI9SB2nHBc9IAw4VCMC','v2fYBMLUzW','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','zxHPDgvK','Dg9Rzw5Z','zMfPBgvK','y29UDgvUDc10ExbL','BM9Uzq','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','CgfZC3DVCMq','CgfYC2u','yM94zwq','ywXS','Ag92zxi','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','yMLUyxj5tMfTzq','Aw52ywXPzf9XDwvZDgLVBNm','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','Dg9Rzw5tDg9YywDLs2v5','qMvHCMvYia','ywjVCNq','AgfZq2XPzw50CW','yxjYyxK','CMvNzxG','lMnTza','B25LCNjVCG','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','q29Tu3bLyW','Dgv4Dc9ODg1S','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','y2HHCMfJDgvY','zgvUBY5QC29U','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','C2HPzNq','l3vZCI9IAw4VCMC','BwnFzwLK','lu5VuhjVzMLSzq','yxnJAwK','C2v0vg9KB3m','C3jJl3nOyxjLzc90ExbLCY50CW','mc4WlJaUma','ywXSu2v0DgXLza','vw5RBM93BIb0B29SoIa','Dgv4Da','B3bLBMfPlxjLC3bVBNnLCY13CW','BM9UBMvNyxrPDMu','CgfJA2fNzs1SB2nRlMPZB24','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','lM1QCW','DhjPBuvUza','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','ywrKrxzLBNrmAxn0zw5LCG','ls1NBg9Ipq','Aw52ywXPzf90B2rVx2nVBNrLBNq','C2HHmJu2','Dhj1BMnHDgvK','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','mty3odm4mtfHCgXUzNu','zMvUy2vK','w01duca','vg9KB1DYAxrL','C291CMnL','Bwf4qNL0zxm','zgLYBMfTzq','lMDPzG','mtq1ode5oe93svjyAW','y29UDgvUDa','CgfNzw1HCa','Dg9mB3DLCKnHC2u','zhj5uNvU','DhjHBNnMB3jT','C3rHDgu','zMXVB3i','nZa4ntvbB3z2zM0','C3bSAxq','Aw5JBhvKzq','AxndB250zxH0','A2v5CW','BwnWxW','wZ0+nY04kcLD','C2vUzfjLCxvLC3q','y2XPzw50twv0ywrHDgfvCMW','BMv3vgv4Da','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','DhLWzxnJCMLWDa','CMvXDwvZDa','C3rYAw5NAwz5','CMvMAw5L','C3jJl2v4yw1WBgvZl2rLBw8UDhm','icHWAwqG','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','CMvHC29U','q291BgqGBM90ihjLC29SDMuGAg9ZDa','rMLSzuvKAxq','C2v0vg9WAwm','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','z2v0uhjVDg90ExbLt2y','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','qxv0Ag9YAxPHDgLVBG','l2jPBI9IyxnO','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','y2HHCKnVzgvbDa','C3rYAw5N','zgf0yq','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','zw5K','Aw1Hz2uVCg5N','l3bPza','Dg9KB3ncEvnLC3nPB24','zgLZy292zxj5u3rHDgu','lMPWzwC','tM8GzgLHz25VC3rPy3m','DgfZAW','ywjVCNrLza','y2fWywjPBgL0AwvZ','Agv4','Aw5JBhvKzv9KB21HAw5Z','r0Lusfvcx0fdq0vtu19ut0TftG','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','AxrLBxm','yNvMzMvY','mZm2mtbisNruvuq','ChjLCgfYzunHBgXiAwvYyxjJAhK','DhnJB25MAwCUANnVBG','zxzPy3rjzK5LzwrLza','AxnfBMfIBgvK','DhnZzxj2zxiUANm','C2nVCgvZ','lNrZ','rMLSzu5LDW','CMvJzw5JEurHExm','DxrTx21LzgL1Bq','v0vcua','ChjVCgvYDgLLCW','B25szwrPCMvJDa','z2v0vg9KB3m','AgvHzgvY','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DgLTzvTKyxrLDgLTzv0','C2vUza','BgL0zxjHBa','zgLHz25VC3rPy3m','BxrPBwvnCW','ls1WCMvMAxG','ihDHCYbHyM9YDgvKlG','Dg9tDhjPBMC','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','zMLSDgvY','igzHAwXLzc4','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','B2zM','Aw52ywXPzf90B3bPyW','BgLUzxm','C2vHCMnOvhLWzq','u2L6ztOG','u0Lhs0Lmta','CxvLCNK','DMfSDwvZ','C2vYDMvY','BM93','z2v0','Aw1Hz2uVz2LM','C3rKB3v0','Dg9VBhm','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','C3rHDhvZvgv4Da','yMvHCMvY','tg9HzgvKigzYB206ia','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','Dw5PB24','zxHPDenVzgu','ChjLChjVy2vZCW','y29UBMvJDa','mtyXmxvVwvzRsq','qgjPB21LANmVyMLVBwu','zgv0ywLS','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','BNvT','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','Dg9WAwm','CMvZDwX0','rMLSzsb3CML0DgvUigf0ia','zgLHz25VC3rPy3ngB3jgAwXL','yMLVBwuUANnVBG','vg9KBYa','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','mtK4lJe4lJaUma','BhnW','ygbG','CMvWBgfJzq','Aw52ywXPzf90B2rVx3bYAw9YAxr5','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','AgfZ','DxjP','B3v0Chv0','zMLUywXnzxnZywDL','C2HLBgXjza','CgXHDgzVCM0','CMfUzg9T','CM9VDa','uxvLC3rPB24G','cGOTls0kcG','ChjVDg90ExbL','AhjLzG','o1TExg5DkJ8','B3bLCMf0Aw9U','BgLUzuvUza','vw50AxrSzwq','AwDUB3jL','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','Dgf2AwX5qxbPs2v5','DgHPBMTPBMC','C2vUze5VDgLMAwnHDgLVBG','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','Bwf4rw50CMLLCW','y29Kzq','zMLSBa','Cg9W','yNvMzMvYq2HHCNm','Aw5JB21PBMDdywXSCW','ksbB','BgfUzW','C3rVCMfNzurPCG','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','D2HLCMuGCMC','zMLYC3q','CgLK','xsb0CMfUC3bVCNqGzxjYB3i6','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','yw50AhjVCgLJ','Ag9ZDa','BwvTB3j5','AhLKCMf0zu1LDge','zgvUBY5QC29UyW','C29Tzq','Aw5qCM9NCMvZCW','zw5NAw5LCW','vg9WAwmGC2v0ihrVici','B3bLBNjVDxrLCG','sw5MB3jTyxrPB24','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','yNvUlMXVy2TI','ChjVDg9JB2W','ls1YzwDLEha','Dg9VBenHBgXjza','AgfUzgXL','BwfUDwfS','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','Aw5KzxHpzG','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Aw1Hz2u','Bwf0y2HLCW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ig1HDgnO','BwfW','Bwv0yq','revfueLorLjbx0fqsv9lrvK','Cgf0DgvYBG','CMvTB3zL','yxjNDw1LBNriAw50','Aw52ywXPzf90B2rVx3n0yxr1CW','zgvSAw1PDgvY','sfruuca','zNjVBq','AxnjBNrLz2vY','zMLSzq','l2jPBI9ZAa','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','zgvSzxrL','y2XPzw50sw5MB3jTyxrPB24','C3vIyxjYyxK','mJi0lJaUmc4W','ls1ZDgrPBW','DhjHBNnMB3jTCW','zMLSzvzLCNnPB25Z','AxneAxjLy3rVCNK','lNrTCc4','C3rYAxbbBNnP','B3bLBKzPBgvZ','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','yxjNDw1LBNroyw1LCW','CMfUz2u','yM0Ynq','CMLWz3jLCa','lMPWzW','zxf1ywXZ','C2vZC2LVBKLK','AxngAwXL','zgvLCgLUzNjH','zgvSzwDHDgvKlxj1BI0','yMfZzw5HBwu','Aw5PDgLHBgL6yxrPB24','DhvWBgu','zw50CMLLCW','lMPZB24','BMf2','y29UzMLN','zMv0y2HjBxbS','yxv0Ag9YAxPHDgLVBL9JB2rL','B25Jzq','zw5NAw5L','zw52','AwDUB3jLt3v0Chv0','y2fSBeLK','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','zxH0BMfTzq','wefjx0fqsv9lrvK','y2f0y2G','B2XSyw1H','mc4WlJa','Dg91y2HgAwXL','BgLI','Aw1WBgvTzw50yxrPB24','B3bLBMfP','zgLZCg9Zzq','C2LNBMfS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','ntu3mdK2CwfoyNvT','u0HfteW','mty5lJi1nc4WlJa','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','CgXHAw4','BwnFy2LK','Aw52ywXPzf90B2rVx2LK','yxbPs2v5','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','qMfZAa','C3rKzxjYrgvJB2rLCG','DxrTx2nHBxbHAwDU','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','qxnZAwDUvgfZAW','mtKYlJe2oc4WlJa','Dg9vChbLCKnHC2u','BwvZC2fNzq','y291BNq','Aw1Hz2uVD2vICa','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','ienHDxnLoIa','ugf0AcbPCYbUB3qGysbMAwXLoIa','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','ls1MAwXLCW','Cgf0DgvYBIbPCYbYzxf1AxjLza','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','z29Vz2XLq3nLs2v5','CMvXDwLYzwq','qwDLBNqGCNvUia','C2H1DgrVD25tDgfYDgvK','vxbKyxrLvg9WAwm','AwzYyw1L','BgvUz3rO','CMCUzxHL','BxvSDgLtzwXLy3q','B3bLBMfPlxjLC3bVBNnLCW','D29YA3nWywnLu3LTyM9S','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','B3jPz2LUywW','Aw5ZDhj1y3rPB25Z','zMXHDe1HCa','B3b0Aw9UCW','y3jLyxrLzef0','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','CNvUBMLUzW','zxzLCNK','Dgv4DerVy3vTzw50l2rPzenSB3nL','CMvHzen1CNnVCG','BNbT','r09pr0Xfx0ntrv9dwa','u3rHCNrLzcbHz2vUDcbYDw4G','tgLUzsa','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','yw50AhjVCgLJlw1LC3nHz2vZ','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','ls0T','CNvUsw5cywnRz3jVDw5K','DhnJ','DxjS','tuvesvvn','ywDLBNrZ','DxnLCM5HBwu','lM51DMLU','lNbUzW','ru5pru5u','z2XVyG','u2HLBgWGBM90igzVDw5KoIa','uhvIBgLZAgvKoIa','ovbcvMDsuG','yxbWBgLJyxrPB24VANnVBG','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','C2vHCMnOugfYyw1Z','C3bHD25PBMC','mJCXoti2nKXYv2ffEa','yw5ZD2vYCW','ls1NBg9IpseUz2L0lYO','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','BgfZDeLUzgv4t2y','l3vZCI9IAw4VC2G','C3rHCNq','Aw52ywXPzf90B2rVx2L0zw0','rMv0y2GGywjVCNrLzcbIEsb1C2vY','t1bftLjpvvrfuL9bueLFs0vz','lcbpChrPB24G','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','DxrTx2nVBNrLBNq','y29KzvzLCMLMAwvY','Ahr0Chm6','C3rHCNrZv2L0Aa','twLJCM9ZB2z0','AgLNAa','C2vYDMvYswq','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','lNDLyNa','CxvLC3rPB24','ywDLBNrjza','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','yMfJA2DYB3vUzfjLz2LZDhj5','Aw1Hz2uVANbLzW','zxH0zw5ZAw9UCW','BwLU','DgL0Bgu','CgfJA2fNzu5HBwu','DxbKyxrL','y29UDgv4DeXPBMS','BgfIzwW','DhLWzq','zxHPDcbJB2rLia','B2XKvgv4Da','DgLTzw91De1Z','BhnWlxbYB3H5','C2L6zq','Axnoyu4','lMPZ','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Dhj1BMm','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','zg9JDw1LBNrtEw1IB2W','qxzHAwXHyMXLignVBw1HBMrZoG','CMvHza','B2zMC2v0','D3jPDgu','C3rKzxjY','mxrHu0XtrG','y3DK','B3bLBG','Cgf0Ag5HBwu','CgvUzgLUzW','y2XVC2u','DxrMoa','rM91BMqG','uhjVz3jHBuzPBgvZ','v2LUr2v0','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','AxngAw5PDgu','Aw5FChjVz3jLC3m','C3bHD24','mtaUmc4WlJa','CgfJA2fNzxm','A2LTAq','zgLNzxn0','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','zgvLChnLzwS','lMPZB25J','CMvTB3zLrxzLBNrmAxn0zw5LCG','tM8GC3vJAcbMAwXLoIaN','z29Vz2XLlwnZzq','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ls1JB2X1Bw4','BgLZDgvU','yMLVBwuUANnVBMm','Dgv4DerVy3vTzw50l2rPze9Wzw4','C2HLBgXqyxrO','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','Bg9JyxrPB24','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2vYDMvYCW','CgfJA2fNzs5QC29U','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','zxHPDa','Dg9KB3m','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','AxnbCNjHEq','C25PChbLDa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','tM8GC3LTyM9SCYbMB3vUza','zgvMyxvSDfrPBwvVDxrnCW','mJqWlJaUmc4W','EwfYBI5SB2nR','qwXSia','zxjYB3jnzxnZywDL','ChvZAa','tg9HzfnRAwXS','Bwf4','CNvUswq','ChjVy2vZC0v4AxrLza','Bw9Kzq','y2fWq2HHCNm','CgLWzq','y3jSzG','z2v0t3DUuhjVCgvYDhLoyw1LCW','y2XPzw50x3nLy3jLDf9WB3n0','Ec1HCgKTA2v5','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','zgvMyxvSDen3za','r0Lusfvcx1rps0vo','DhLWzxnJCMLWDhjLywn0','A2v5yMLUzgLUz3m','Bg9JywXLq29TCgfYzq','BMfTzq','lMjPBG','C3rKB3v0rgvJB2rLCG','Dg90ywXqCM9KDwnLza','y2XVC2vbBgW','Aw5WDxrty2HLBwe','Aw5PDgLHBgL6zwq','Bwf4q29Uy3vYCMvUDa','zMLSztOVlW','q29TBwfUzcaN','CMvNAw9U','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','C2XPy2u','oIbPBNzHBgLKihbYAw9YAxr5','Ag9ZDg5HBwu','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','Dgf2AwX5','yNjVA2vU','lu5Vtg9NBW','Bg9HzfnRAwXS','v2vIu2vHCMnO','tM8GBg9JyxrPB25ZigzVDw5K','ywXSB3DLzerPCNm','y29TBwfUza','C2nYDwjfBNzlzxLZ','y29UDgvUDhm','AhrTBfnUAxbWzxq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','z2L0AhvI','zhvWBgLJyxrLx3rVzg9FAwrZ','Dw5RBM93BG','B2C6DxbKyxrLzf90Aw1L','Aw1Hz2vZ','C3r5Bgu','zMLUAxrL','xg5DkJ8','y2XPzw50','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','r0LgodLH','y2fSBgjHy2TvCMW','ignOyxjZigrYB3bWzwrDcG','Dhj1zwnVBg9Y','seLhsa','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','CMvXDwvZDhm','Ahr0Ca','EMfP','z3jVAW','Dg9ju09tDhjPBMC','tu9ptLnit1rFqvbjx0Tfwq','AgvHzgvYCW','zMLUywXnzxnZywDLvgv4Da','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','yNvUlMXVy2S','ue9tva','z2vUzxjHBa','yxv0AfjLCxvPCMvK','zMjJBgLK','oIbPBNzHBgLKihn0yxr1CW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Bg9VA3vW','rxjYB3i','mZq4ufHuz0Hy','BM9Kzv9TB2r1BgvZ','CgfZC3rOCM91z2G','ugf0AcbUB3qGzM91BMq6ia','l3vZCI9IAw4VyMfZAa','lM10CW','zgLZy292zxj5','uefusa','yw5ZAti1nG','zNvUy3rPB24','C2v2zxjPDhK','ChjVy2vZCW','A2LSBgvK','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','A2LUza','y2XLyxi','C2vZC2LVBG','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','D2fPDezVCKrPywDUB3n0AwnZ','y29UC3rYDwn0B3i','yMfZAwm','BgfUz3vHz2u','B2jQzwn0','C2L0ztO','y291BNrLCG','y2HPBgq','DMfSDwu','Aw5JBhvKzxm','B3v0z29PBMDdywXSCW','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','Aw5WDxq','tM8GAg92zxiGAw5MB3jTyxrPB24','yxjNCW','D2LUmZi','DgfZA2TPBgW','AxnbyNnVBhv0zq','yMCT','Dg9VBa','zgf0zxrPBwu','iYmGu2TPBgW6ia','CMvMzxjLBMnLCW','z29uB0rLzMLUAxrPB24','Ahr0CdO','ANnJB25MAwCUANnVBG','ChjLzML4','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','C3rKAw8','y29TCgXLDgvK','y2XLyw51Ca','o1TE','oIbJB250zw50ihjLCxvPCMvK','qxnRvxnLCLrVB2W','rMv0y2GGDgLTzwqGB3v0','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','zNvSzMLSBgvK','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','AM9PBG','CMvJB3jK','DMvYAwzPzxi','y29UDgv4Da','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','BNvTyMvY','CMvSyxrPDMu','mtKYlJaUmc4W','tunqihnLCNzLCIa','ignVBxbSzxrLzc4','CgXHAw50zxH0','yxv0BW','BgLUzvn0yxj0','cMbGya','B3b0Aw9UywW','C2TPBgXZ','AMf2yxnJCMLWDa','r2XVyG','qvbjx0Tfwq','z29uB0LTCgXLBwvUDgf0Aw9U','D29YA3nWywnLl3n5BwjVBa','yxv0Aa','CNnZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','y2HHDgDWDa','yxnRvxnLCG','Dhj1zq'];_0x5311=function(){return _0x2329e0;};return _0x5311();}function _0x59f9(_0xee1e85,_0x5c7dd6){_0xee1e85=_0xee1e85-0x97;const _0x5311c6=_0x5311();let _0x59f946=_0x5311c6[_0xee1e85];if(_0x59f9['cMMGxi']===undefined){var _0x61df29=function(_0x5c2e4a){const _0x36203f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x310533='',_0x29bf57='';for(let _0x2c56ab=0x0,_0x40ca83,_0x3abcf8,_0x41b70d=0x0;_0x3abcf8=_0x5c2e4a['charAt'](_0x41b70d++);~_0x3abcf8&&(_0x40ca83=_0x2c56ab%0x4?_0x40ca83*0x40+_0x3abcf8:_0x3abcf8,_0x2c56ab++%0x4)?_0x310533+=String['fromCharCode'](0xff&_0x40ca83>>(-0x2*_0x2c56ab&0x6)):0x0){_0x3abcf8=_0x36203f['indexOf'](_0x3abcf8);}for(let _0x356b8a=0x0,_0x4cea09=_0x310533['length'];_0x356b8a<_0x4cea09;_0x356b8a++){_0x29bf57+='%'+('00'+_0x310533['charCodeAt'](_0x356b8a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x29bf57);};_0x59f9['emxRwY']=_0x61df29,_0x59f9['hqDaou']={},_0x59f9['cMMGxi']=!![];}const _0x28d789=_0x5311c6[0x0],_0x5a8a2a=_0xee1e85+_0x28d789,_0x16380c=_0x59f9['hqDaou'][_0x5a8a2a];return!_0x16380c?(_0x59f946=_0x59f9['emxRwY'](_0x59f946),_0x59f9['hqDaou'][_0x5a8a2a]=_0x59f946):_0x59f946=_0x16380c,_0x59f946;}var cachedRgPath=null;function findSystemRipgrep(){const _0x36238e={_0x5712a8:0x579,_0x54a4f2:0x311,_0x390422:0x350,_0x4b14ba:0x425,_0x2c47b3:0x244,_0x550f12:0x2c7,_0x350a2e:0x2db,_0x5d59b5:0x30e,_0x1d1d61:0x16d,_0xb3d22e:0xba,_0x335949:0x230,_0x542e16:0x22c,_0x2b6f09:0x85,_0x46fd01:0xd0,_0x1b0333:0x1dc,_0x38ce18:0x18c,_0x3ea833:0x88,_0x4d9d6c:0x1e,_0x238111:0xcd,_0x2b6bcc:0xf1,_0x5a5e17:0x1c4,_0x79f69e:0x45c,_0x3fb76d:0x33b,_0x5ae6fe:0x2ff,_0x237310:0x186,_0x2b06ee:0x119,_0x468288:0x11,_0x4cde8e:0xcf,_0x3f3433:0x17b,_0x44f224:0x35e,_0x4440e6:0x13c,_0x1e2a58:0x2d,_0x5161a5:0x143,_0x23a4f7:0x21d,_0x54ee53:0x125,_0xd20379:0x141,_0x47a8c6:0x3b,_0x50e822:0xf3,_0xd6bd3:0x79,_0x14b6ec:0x1eb,_0x4ee281:0xc1,_0x548c25:0x13b,_0x22b8d3:0x338,_0x42b7b3:0x340,_0x41e21a:0xfa},_0x256ab9={_0x34e678:0x55},_0x24d92b={_0x48d542:0x379,_0x23aae5:0xd5},_0x2534ac=_0x25f79e[_0x5a4df4(_0x36238e._0x5712a8,_0x36238e._0x54a4f2,_0x36238e._0x390422,_0x36238e._0x4b14ba)]()===_0x5a4df4(0x357,_0x36238e._0x2c47b3,0x177,_0x36238e._0x550f12);function _0x1c1685(_0x237649,_0x50ead9,_0x5c82dd,_0x4d32dc){return _0x48c1e5(_0x4d32dc- -_0x24d92b._0x48d542,_0x50ead9-0xc7,_0x50ead9,_0x4d32dc-_0x24d92b._0x23aae5);}function _0x5a4df4(_0x5e300d,_0x41db53,_0x54e52d,_0x2bbf88){return _0x48c1e5(_0x2bbf88- -0x5d,_0x41db53-0x90,_0x54e52d,_0x2bbf88-_0x256ab9._0x34e678);}const _0x243347=_0x2534ac?[_0x2ffc84['join'](process[_0x5a4df4(0xda,_0x36238e._0x350a2e,_0x36238e._0x5d59b5,0x190)][_0x5a4df4(0x3eb,0x2fc,0x309,0x321)]||'',_0x5a4df4(0x82,0x220,_0x36238e._0x1d1d61,0x1fd),_0x5a4df4(0x2c9,_0x36238e._0xb3d22e,_0x36238e._0x335949,_0x36238e._0x542e16),'Packages'),_0x2ffc84[_0x1c1685(-_0x36238e._0x2b6f09,0x137,_0x36238e._0x46fd01,-0x3d)](process[_0x1c1685(-0xa9,-0x296,-_0x36238e._0x1b0333,-_0x36238e._0x38ce18)][_0x1c1685(_0x36238e._0x3ea833,-_0x36238e._0x4d9d6c,-_0x36238e._0x238111,-_0x36238e._0x2b6bcc)]||'','ripgrep','rg.exe'),_0x2ffc84[_0x5a4df4(_0x36238e._0x5a5e17,_0x36238e._0x79f69e,_0x36238e._0x3fb76d,0x2df)](process[_0x1c1685(-0x14f,-0x79,-_0x36238e._0x5ae6fe,-0x18c)][_0x1c1685(_0x36238e._0x237310,_0x36238e._0x2b06ee,-_0x36238e._0x468288,0xb)]||'',_0x1c1685(-0x18f,-_0x36238e._0x4cde8e,-0x3c,-0x19e),_0x1c1685(0x11,-_0x36238e._0x3f3433,-0x2c1,-0x15b))]:['/opt/homebrew/bin/rg',_0x5a4df4(0x247,0x49f,0x4b6,_0x36238e._0x44f224),_0x1c1685(0x109,-0xf0,_0x36238e._0x4440e6,0x64),'/bin/rg'];for(const _0x1fefac of _0x243347){if(existsSync(_0x1fefac))return _0x1fefac;}try{const _0x722cb4=_0x2534ac?_0x1c1685(_0x36238e._0x1e2a58,_0x36238e._0x5161a5,_0x36238e._0x23a4f7,_0x36238e._0x54ee53):'which\x20rg',_0x5ccdb3=execSync(_0x722cb4,{'encoding':_0x1c1685(-_0x36238e._0xd20379,-0x1fb,_0x36238e._0x47a8c6,-_0x36238e._0x50e822),'stdio':[_0x1c1685(-_0x36238e._0xd6bd3,-_0x36238e._0x14b6ec,-0x112,-_0x36238e._0x4ee281),_0x5a4df4(0x1d2,_0x36238e._0x548c25,0x2ab,0x25b),_0x5a4df4(0x317,_0x36238e._0x22b8d3,0x36c,0x430)]})[_0x5a4df4(0x495,0x49a,0x3fb,_0x36238e._0x42b7b3)]()[_0x1c1685(-0xe3,-0x9c,_0x36238e._0x41e21a,0x8d)](/\r?\n/)[0x0];if(_0x5ccdb3&&existsSync(_0x5ccdb3))return _0x5ccdb3;}catch{return null;}return null;}async function filepath(){const _0x517bd0={_0x28e584:0x50,_0x4cacbf:0x48},_0x4a1387={_0x9fb27e:0x1c1,_0x3eaa92:0xfb};if(cachedRgPath)return cachedRgPath;if(_0x113000&&existsSync(_0x113000))return cachedRgPath=_0x113000,_0x113000;const _0x562526=findSystemRipgrep();function _0x46cf29(_0x16b3f0,_0x56611f,_0x161862,_0x15d35f){return _0x42cde8(_0x16b3f0-_0x4a1387._0x9fb27e,_0x15d35f- -0xe1,_0x161862-_0x4a1387._0x3eaa92,_0x161862);}if(!_0x562526)throw new Error(_0x46cf29(-_0x517bd0._0x28e584,-0xe7,-_0x517bd0._0x4cacbf,-0xa));return cachedRgPath=_0x562526,_0x562526;}async function*files(_0x2388af){const _0x139d05={_0x4214eb:0x182,_0x11d37c:0x215,_0x4676be:0x1e6,_0x3aaa53:0xcc,_0x5c9c6b:0x6,_0xd574c1:0x11b,_0x315db3:0xec,_0x1b0061:0x1ce,_0x36495b:0x43a,_0xca9d7f:0x324,_0x3f7b49:0x1e3,_0x4455fa:0xab,_0x52eca5:0x6b,_0x58bff3:0x124,_0x12e1c9:0x74,_0x69b48f:0x1dc,_0x19deda:0x42a,_0x46b80f:0x5d1,_0x186670:0x549,_0xf0ff20:0x2e2,_0x47a137:0x2ea,_0x545e28:0x282,_0xfe5e3:0x1ce,_0xeca6bb:0xd,_0x5ef360:0x13a,_0x247f03:0x176,_0x2ef8ba:0x7,_0x42ab6b:0x129,_0x2f9cc6:0x45b,_0x21bbca:0x49d,_0x4c7953:0x4f2,_0x551ae9:0x2ce,_0x4ab8c4:0x390,_0x1d7dca:0x2b4,_0x414c80:0x389,_0x171ca5:0x19c,_0x298e87:0x26f,_0x1277e9:0x2b4,_0x54693d:0x27,_0x11a6a0:0xf6},_0xd34c46={_0x5632fb:0x106},_0x1cde30=await filepath();function _0x20e892(_0xbe86af,_0x594a63,_0x5736c7,_0x338f06){return _0x48c1e5(_0x338f06- -0x2bf,_0x594a63-_0xd34c46._0x5632fb,_0x5736c7,_0x338f06-0x6b);}const _0x1e9bf8=await _0x36a9db(_0x2388af[_0x20e892(-0xc3,-0x71,-_0x139d05._0x4214eb,-0x3e)])[_0x20e892(-_0x139d05._0x11d37c,-_0x139d05._0x4676be,-_0x139d05._0x3aaa53,-_0x139d05._0x3aaa53)](()=>null);if(!_0x1e9bf8?.[_0x20e892(_0x139d05._0x5c9c6b,-0x22f,-_0x139d05._0xd574c1,-_0x139d05._0x315db3)]())throw Object[_0x20e892(0x7,0x5f,_0x139d05._0x1b0061,0x9e)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x2388af[_0x174ddd(_0x139d05._0x36495b,0x409,_0x139d05._0xca9d7f,0x318)]+'\x27'),{'code':'ENOENT'});const _0x2c3122=[_0x20e892(-0xf7,-_0x139d05._0x3f7b49,-0x1b5,-_0x139d05._0x4455fa),'--follow','--hidden',_0x20e892(-_0x139d05._0x52eca5,-0xea,-_0x139d05._0x58bff3,-_0x139d05._0x12e1c9)];for(const _0x43628d of _0x2388af[_0x174ddd(0x2d1,0x3c0,_0x139d05._0x69b48f,0x2d7)]??[]){_0x2c3122['push'](_0x174ddd(_0x139d05._0x19deda,_0x139d05._0x46b80f,_0x139d05._0x186670,0x487)+_0x43628d);}const _0x1fd8fa=_0x184d33(_0x1cde30,_0x2c3122,{'cwd':_0x2388af['cwd'],'stdio':[_0x20e892(_0x139d05._0xf0ff20,_0x139d05._0x47a137,_0x139d05._0x545e28,_0x139d05._0xfe5e3),_0x20e892(-_0x139d05._0xeca6bb,_0x139d05._0x5ef360,_0x139d05._0x247f03,-_0x139d05._0x2ef8ba),_0x20e892(-_0x139d05._0x42ab6b,0xd0,-0x1d,-0x7)]});let _0x57ffb3='';for await(const _0x59d163 of _0x1fd8fa[_0x174ddd(0x48c,_0x139d05._0x2f9cc6,0x4b5,0x4f6)]??[]){_0x57ffb3+=_0x59d163[_0x174ddd(0x5c9,0x421,0x418,0x4e4)]();const _0x42a3c6=_0x57ffb3[_0x174ddd(0x4a0,0x61b,0x432,_0x139d05._0x21bbca)](/\r?\n/);_0x57ffb3=_0x42a3c6[_0x174ddd(_0x139d05._0x4c7953,0x3f6,0x5f8,0x52e)]()??'';for(const _0x255f9c of _0x42a3c6){if(_0x255f9c[_0x174ddd(_0x139d05._0x551ae9,0x258,_0x139d05._0x4ab8c4,_0x139d05._0x1d7dca)]>0x0)yield _0x255f9c;}}function _0x174ddd(_0x3d1a6b,_0x381e9a,_0xd9bc3e,_0x5c71d6){return _0x42cde8(_0x3d1a6b-0x59,_0x5c71d6-0x362,_0xd9bc3e-0x18,_0x381e9a);}_0x57ffb3[_0x174ddd(_0x139d05._0x414c80,0x382,0x4c6,0x434)]()[_0x174ddd(_0x139d05._0x171ca5,_0x139d05._0x298e87,0x1c0,_0x139d05._0x1277e9)]>0x0&&(yield _0x57ffb3[_0x20e892(_0x139d05._0x54693d,0x1c8,_0x139d05._0x11a6a0,0xde)]());}function parseMatchLine(_0x19265b,_0x16b8a6){const _0x3ded65={_0x1a97bd:0x488,_0xbae1b3:0x5a0,_0xa3267c:0x4a4,_0x1acf31:0x2c3,_0x5ebad9:0x2e5,_0x4cab2a:0x1ce,_0x2e537c:0x413,_0x4a7320:0x517,_0x2570f4:0x10f,_0x5d286d:0x6e,_0x32ee71:0x1eb,_0x2172f6:0x160,_0x15e939:0x3ff,_0x2227b5:0x46a,_0x325e8d:0x41d,_0x528fe0:0x53f,_0x35183c:0x651,_0x33099e:0x644,_0x556fe5:0x3b7,_0x35e9b0:0x50e,_0xdbe67f:0xc0,_0x2b38b2:0x3e,_0x57171a:0x160,_0x18dc60:0x4d6,_0x5aae26:0x464},_0x2caaf6={_0xbdea11:0x97};if(!_0x19265b||_0x19265b==='--')return null;function _0x567e01(_0x10d360,_0x4b92be,_0x59d418,_0x584f90){return _0x48c1e5(_0x4b92be-0x19a,_0x4b92be-_0x2caaf6._0xbdea11,_0x10d360,_0x584f90-0x13a);}const _0xf52297=_0x19265b[_0x567e01(_0x3ded65._0x1a97bd,_0x3ded65._0xbae1b3,_0x3ded65._0xa3267c,0x42d)]('|');function _0x8176fe(_0x35a25b,_0x58e692,_0x2a7e47,_0x304d06){return _0x48c1e5(_0x2a7e47- -0x3eb,_0x58e692-0xe1,_0x58e692,_0x304d06-0xf7);}if(_0x16b8a6&&_0xf52297[_0x8176fe(-_0x3ded65._0x1acf31,-_0x3ded65._0x5ebad9,-_0x3ded65._0x4cab2a,-0x17b)]>=0x4&&Number[_0x567e01(0x556,0x425,0x320,_0x3ded65._0x2e537c)](Number[_0x567e01(0x5b0,_0x3ded65._0x4a7320,0x614,0x4de)](_0xf52297[0x2]??'',0xa))){const _0x33c124=Number[_0x8176fe(_0x3ded65._0x2570f4,-0x11a,-_0x3ded65._0x5d286d,0x4d)](_0xf52297[0x1]??'',0xa);if(!Number[_0x8176fe(-0xa2,-_0x3ded65._0x32ee71,-_0x3ded65._0x2172f6,-0x1ae)](_0x33c124)||!_0xf52297[0x0])return null;return{'filePath':_0xf52297[0x0],'lineNum':_0x33c124,'lineText':_0xf52297[_0x567e01(_0x3ded65._0x15e939,_0x3ded65._0x2227b5,_0x3ded65._0x325e8d,_0x3ded65._0x528fe0)](0x3)[_0x567e01(_0x3ded65._0x35183c,0x4d6,_0x3ded65._0x33099e,0x4d0)]('|')};}if(_0xf52297[_0x567e01(0x383,_0x3ded65._0x556fe5,0x288,_0x3ded65._0x35e9b0)]>=0x3){const _0x404303=Number[_0x8176fe(_0x3ded65._0xdbe67f,0x4e,-0x6e,-0x13f)](_0xf52297[0x1]??'',0xa);if(!Number[_0x8176fe(-0x168,-_0x3ded65._0x2b38b2,-_0x3ded65._0x57171a,-0x2d)](_0x404303)||!_0xf52297[0x0])return null;return{'filePath':_0xf52297[0x0],'lineNum':_0x404303,'lineText':_0xf52297['slice'](0x2)[_0x567e01(0x417,_0x3ded65._0x18dc60,0x3c5,_0x3ded65._0x5aae26)]('|'),..._0x16b8a6?{'isContext':!![]}:{}};}return null;}async function search(_0x288227){const _0x8a5148={_0x273908:0x305,_0x71be2:0x471,_0x59dd0d:0x466,_0xd72954:0x258,_0x39227c:0x18c,_0x1fb602:0x3f5,_0x515457:0x32d,_0x2e19a3:0x3bd,_0x1c8137:0x1d,_0x4d7721:0x224,_0x1d685e:0x1b6,_0x180548:0x50a,_0x3b884b:0x37e,_0x4effee:0x41d,_0x1545a2:0x4cd,_0x56b8c8:0x7c,_0x23cf81:0x2cd,_0x212af5:0x257,_0x183076:0x10d,_0x312acf:0x109,_0x5aedbf:0x5a5,_0x1c3f99:0x4ae,_0x20e9be:0x4ce,_0x24ef7a:0x45f,_0x378b45:0x14f,_0x1de253:0x8c,_0x48f42c:0x29,_0x417055:0x73b,_0x34dccf:0x68f,_0x467245:0x228,_0x35cbef:0x285,_0x2746ff:0xbe,_0x378d92:0x3b,_0x43c3fc:0x11c,_0x549b28:0x19f,_0x369e42:0xd,_0x5d9746:0x66,_0x41109d:0x1d5,_0xd153f7:0xce,_0x425d7e:0x41e,_0x522f88:0x5e,_0x53be4b:0x506,_0x3fcccc:0x55c,_0x250da2:0x451,_0xa72fec:0x250,_0x191038:0x5fd,_0xa31959:0x48f,_0x4773d5:0x2cc,_0x3feb21:0x3eb,_0x5b493e:0x7f,_0x5d47d:0x5b},_0x7a454e={_0x2ff131:0xab,_0x2497e3:0x157,_0x460842:0xa,_0x331711:0x166,_0x241deb:0xad,_0x24cca5:0x340,_0xed49e3:0x216,_0x572876:0x56,_0x45634b:0x41,_0x23317c:0xf1,_0x2d3eb9:0x16f,_0x416fc4:0x14b,_0x38fd6c:0x42,_0xbf6d15:0x1ac,_0x4b8c33:0x2a5},_0x1c52a5={_0x45e016:0x4a9,_0x18b239:0x12d},_0x4241b0={_0x572378:0x87},_0x3884a0=await filepath();function _0x3f6b19(_0xf0b63c,_0x5b58b5,_0x27c400,_0x26bc62){return _0x48c1e5(_0x26bc62- -0x37f,_0x5b58b5-0xf8,_0xf0b63c,_0x26bc62-_0x4241b0._0x572378);}if(_0x288227[_0x3f6b19(-_0x8a5148._0x273908,-0x1b1,-0x189,-0x1b6)]){const _0x452e79=await _0x36a9db(_0x288227[_0x14d269(_0x8a5148._0x71be2,0x4be,_0x8a5148._0x59dd0d,0x3a7)])[_0x3f6b19(-0x252,-_0x8a5148._0xd72954,-0x27f,-_0x8a5148._0x39227c)](()=>null);if(!_0x452e79?.[_0x14d269(0x33e,_0x8a5148._0x1fb602,_0x8a5148._0x515457,_0x8a5148._0x2e19a3)]())throw Object['assign'](new Error(_0x3f6b19(-0x236,-_0x8a5148._0x1c8137,-0x179,-0xe9)+_0x288227[_0x3f6b19(-0x1ad,-0xd3,-_0x8a5148._0x4d7721,-_0x8a5148._0x1d685e)]+'\x27'),{'code':_0x14d269(_0x8a5148._0x180548,0x3d5,_0x8a5148._0x3b884b,_0x8a5148._0x4effee)});}else{const _0x411508=await _0x36a9db(_0x288227['cwd'])[_0x14d269(0x42f,_0x8a5148._0x1545a2,0x4d7,0x3d1)](()=>null);if(!_0x411508?.[_0x3f6b19(-_0x8a5148._0x56b8c8,-_0x8a5148._0x23cf81,-_0x8a5148._0x212af5,-0x1ac)]())throw Object[_0x3f6b19(-0x52,_0x8a5148._0x183076,-_0x8a5148._0x312acf,-0x22)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x288227[_0x14d269(_0x8a5148._0x5aedbf,_0x8a5148._0x1c3f99,_0x8a5148._0x20e9be,_0x8a5148._0x24ef7a)]+'\x27'),{'code':'ENOENT'});}const _0x506a0d=[_0x3f6b19(_0x8a5148._0x378b45,-_0x8a5148._0x1de253,-0xcb,_0x8a5148._0x48f42c),'--field-match-separator=|','--field-context-separator=|',_0x14d269(0x7a3,0x6c8,_0x8a5148._0x417055,_0x8a5148._0x34dccf),_0x288227[_0x3f6b19(-_0x8a5148._0x467245,-_0x8a5148._0x35cbef,-0xe7,-0x1be)]],_0x57ac23=typeof _0x288227[_0x3f6b19(-_0x8a5148._0x2746ff,0x17,_0x8a5148._0x378d92,-0x40)]===_0x3f6b19(-_0x8a5148._0x43c3fc,-0x116,0xb,-0x3e)&&_0x288227[_0x3f6b19(-0x119,-_0x8a5148._0x549b28,-_0x8a5148._0x369e42,-0x40)]>0x0;function _0x14d269(_0x3ad995,_0x3ac093,_0x4f00eb,_0x2047bf){return _0x42cde8(_0x3ad995-0x129,_0x2047bf-_0x1c52a5._0x45e016,_0x4f00eb-_0x1c52a5._0x18b239,_0x3ad995);}return _0x57ac23&&_0x506a0d[_0x3f6b19(_0x8a5148._0x5d9746,0x22,-_0x8a5148._0x41109d,-_0x8a5148._0xd153f7)]('-C',String(_0x288227['context']),_0x14d269(0x5bb,0x3d6,0x4ca,0x477)),_0x288227[_0x14d269(0x378,0x2c5,0x34c,_0x8a5148._0x425d7e)]&&!_0x288227[_0x3f6b19(-_0x8a5148._0x522f88,-0x1c8,-0x94,-0x1b6)]&&_0x506a0d[_0x14d269(_0x8a5148._0x53be4b,_0x8a5148._0x3fcccc,_0x8a5148._0x250da2,0x48f)]('--glob',_0x288227[_0x3f6b19(-0x52,-0x16c,-_0x8a5148._0xa72fec,-0x13f)]),_0x506a0d[_0x14d269(0x5a1,0x354,_0x8a5148._0x191038,_0x8a5148._0xa31959)](_0x288227[_0x14d269(_0x8a5148._0x4773d5,_0x8a5148._0x3feb21,0x384,0x3a7)]??_0x288227[_0x3f6b19(-0x9d,_0x8a5148._0x5b493e,-_0x8a5148._0x5d47d,-0xfe)]),await new Promise((_0x4d2936,_0x15b02f)=>{const _0x34f4ab={_0xe2f1ab:0x2ce,_0x4a8d1c:0x343,_0x3c2256:0x15a,_0x45435e:0x90},_0x38116f={_0x372aa3:0x5c},_0x2be97a={_0x5aa089:0xb5},_0x4cbc77=_0x184d33(_0x3884a0,_0x506a0d,{'cwd':_0x288227[_0x13c401(-_0x7a454e._0x2ff131,_0x7a454e._0x2497e3,-0x30,_0x7a454e._0x460842)],'stdio':[_0x13c401(_0x7a454e._0x331711,_0x7a454e._0x241deb,_0x7a454e._0x24cca5,_0x7a454e._0xed49e3),'pipe',_0x13c401(-_0x7a454e._0x572876,-0xb7,-0x97,_0x7a454e._0x45634b)]});let _0x1ea00d='',_0x43faa4='';_0x4cbc77[_0x3d2ecb(0x84,-0x4d,-_0x7a454e._0x23317c,_0x7a454e._0x2d3eb9)]?.['on'](_0x13c401(0x7d,_0x7a454e._0x416fc4,_0x7a454e._0x38fd6c,_0x7a454e._0xbf6d15),_0x264e17=>{_0x1ea00d+=_0x264e17['toString']();}),_0x4cbc77['stderr']?.['on'](_0x3d2ecb(0x48,0xb,-0x12f,0x62),_0x4d7aed=>{_0x43faa4+=_0x4d7aed['toString']();});function _0x13c401(_0xef02f7,_0x53468f,_0x465ecd,_0x43cbf3){return _0x3f6b19(_0xef02f7,_0x53468f-_0x2be97a._0x5aa089,_0x465ecd-0x108,_0x43cbf3-0x108);}function _0x3d2ecb(_0x285fda,_0x29f31a,_0xff6123,_0x4aebdd){return _0x3f6b19(_0x29f31a,_0x29f31a-0x112,_0xff6123-0x17f,_0x285fda- -_0x38116f._0x372aa3);}_0x4cbc77['on'](_0x3d2ecb(-0x156,-0x6f,-0x18d,-_0x7a454e._0x4b8c33),_0x177839=>{const _0x253c93={_0x879db7:0xb1,_0x52a635:0x79},_0xa91fa3={_0x4e9221:0x58};function _0x2aff89(_0x11466e,_0x18d8d7,_0x54948a,_0x4cc97f){return _0x13c401(_0x4cc97f,_0x18d8d7-0x103,_0x54948a-_0xa91fa3._0x4e9221,_0x54948a-0x1b4);}function _0x12d0fe(_0x1d3b31,_0x295df2,_0x301f1b,_0x244b0f){return _0x3d2ecb(_0x295df2-_0x253c93._0x879db7,_0x244b0f,_0x301f1b-0x78,_0x244b0f-_0x253c93._0x52a635);}if(_0x177839===0x1&&_0x1ea00d===''){_0x4d2936([]);return;}if(_0x177839!==0x0&&_0x177839!==0x1){_0x15b02f(new Error('ripgrep\x20failed:\x20'+_0x43faa4));return;}const _0x3dc96f=_0x288227[_0x2aff89(0x278,_0x34f4ab._0xe2f1ab,0x2e0,0x38e)]??0x64,_0x419727=[];for(const _0xfbfd09 of _0x1ea00d[_0x2aff89(0x2d3,0x25d,_0x34f4ab._0x4a8d1c,0x325)](/\r?\n/)){if(_0x419727[_0x2aff89(0x214,0x10,_0x34f4ab._0x3c2256,_0x34f4ab._0x45435e)]>=_0x3dc96f)break;const _0x3bdf4d=parseMatchLine(_0xfbfd09,_0x57ac23);if(_0x3bdf4d)_0x419727['push'](_0x3bdf4d);}_0x4d2936(_0x419727);}),_0x4cbc77['on']('error',_0x15b02f);});}function createGlobTool(_0x1fc038={}){const _0x400552={_0xf474e2:0x2c7,_0x1d7240:0x345,_0x4b3231:0x1e1,_0x59b573:0x276,_0xf9ecf0:0x364,_0x343edb:0x451,_0x2e441c:0x3a7,_0x496ed1:0x389,_0x3cd258:0x4c6,_0x25c5b5:0x379,_0x40b622:0x3c7,_0x35d852:0x269,_0x1fddda:0x445,_0xc53ebc:0x5db,_0x28eb08:0x5b5,_0x17fb6a:0x217},_0x93bd29={_0xbb7706:0x2dc,_0x462fe2:0x20f,_0x17e26a:0x5ba,_0x32e582:0x6cf,_0x656a41:0x4ce,_0x2c8331:0x432,_0x32ef5d:0x61b,_0x1e02aa:0x626,_0xc1c43b:0x423,_0x3c6edc:0x31f,_0x23b146:0x1fd,_0x95e8fe:0x87,_0x3b5031:0xb3,_0x38c7db:0x2d,_0x3db09f:0x4d0,_0x14a1bb:0x619,_0x50403d:0x48c,_0x47a5e9:0x613,_0x70c2f6:0x3de,_0x558524:0x3f5,_0x1a84eb:0x525,_0x375a15:0x4fb,_0x508d5e:0x43a,_0x54cee5:0x318,_0x173ce5:0xf0,_0x1bf21c:0x42,_0x47f3a2:0x22a,_0x15d24e:0x520,_0x372ca4:0x57d,_0x370ea5:0x59f,_0x51ba24:0x636,_0x3fd874:0x287,_0x37bd44:0x3d,_0xcb007c:0x99,_0xaab93d:0x8e,_0x2fe251:0x124},_0x73f94a={_0x3752ee:0x47e,_0x257ed4:0x158},_0x517599={_0x7319b4:0x8a,_0x22f244:0x131},_0x26e115={_0x25d99d:0xae,_0x45cc2f:0xfb},_0x176ca7=_0x18b0c7['resolve'](_0x1fc038[_0x5e75ea(_0x400552._0xf474e2,0x349,_0x400552._0x1d7240,0x223)]??process[_0x5e75ea(_0x400552._0x4b3231,0x30b,0x430,0x296)]()),_0x1e92ff=_0x1fc038[_0x5e75ea(_0x400552._0x59b573,_0x400552._0xf9ecf0,0x496,0x3fd)]??[],_0x77774f=_0x1fc038[_0x461b5b(_0x400552._0x343edb,_0x400552._0x2e441c,0x36d,_0x400552._0x496ed1)]??0x64,_0x5cc9e9=_0x1fc038[_0x461b5b(0x372,_0x400552._0x3cd258,0x202,0x2a1)]??_0x5e75ea(0x481,0x3d7,0x437,0x35a);function _0x461b5b(_0xf72c19,_0x2d391b,_0x15cf71,_0x395404){return _0x48c1e5(_0xf72c19-_0x26e115._0x25d99d,_0x2d391b-_0x26e115._0x45cc2f,_0x2d391b,_0x395404-0x29);}function _0x5e75ea(_0x293cf9,_0x330b48,_0x3006d7,_0x471eee){return _0x48c1e5(_0x330b48-_0x517599._0x7319b4,_0x330b48-0x1a9,_0x293cf9,_0x471eee-_0x517599._0x22f244);}return defineTool({'name':_0x5cc9e9,'description':_0x5e75ea(0x5d5,0x4dc,0x427,_0x400552._0x25c5b5),'inputSchema':{'type':_0x461b5b(_0x400552._0x40b622,0x497,_0x400552._0x35d852,_0x400552._0x1fddda),'properties':{'pattern':{'type':_0x461b5b(0x4d0,_0x400552._0xc53ebc,0x39b,0x5cc)},'path':{'type':_0x461b5b(0x4d0,0x470,0x53b,_0x400552._0x28eb08)},'limit':{'type':'number'}},'required':[_0x5e75ea(_0x400552._0x17fb6a,0x24b,0x256,0x172)]},async *'execute'(_0x209502){if(_0x209502[_0x13ab55(-0x262,-_0x93bd29._0xbb7706,-_0x93bd29._0x462fe2,-0x25b)][_0x1d4710(_0x93bd29._0x17e26a,_0x93bd29._0x32e582,_0x93bd29._0x656a41,0x713)]()['length']===0x0)throw new ToolExecutionError(_0x1d4710(_0x93bd29._0x2c8331,0x432,0x2ea,0x58a),{});const _0xb843c7=resolveAllowedPath(_0x176ca7,_0x1e92ff,_0x209502[_0x1d4710(0x5b1,_0x93bd29._0x32ef5d,_0x93bd29._0x1e02aa,0x5e6)]??'.'),_0x538d73=await _0x28d4c4(_0xb843c7)[_0x1d4710(0x410,0x345,_0x93bd29._0xc1c43b,_0x93bd29._0x3c6edc)](()=>null);if(!_0x538d73?.[_0x13ab55(-0x145,-0x2f3,-_0x93bd29._0x23b146,-0x19e)]())throw new ToolExecutionError(_0x13ab55(_0x93bd29._0x95e8fe,-_0x93bd29._0x3b5031,0x46,0x1a3)+(_0x209502['path']??'.'),{'path':_0x209502['path']??'.'});function _0x13ab55(_0x15a7c5,_0x422894,_0x555c28,_0x44f70c){return _0x461b5b(_0x555c28- -_0x73f94a._0x3752ee,_0x422894,_0x555c28-_0x73f94a._0x257ed4,_0x44f70c-0xb5);}function _0x1d4710(_0x1b8229,_0x5c742b,_0x3d209b,_0x2933c){return _0x5e75ea(_0x5c742b,_0x1b8229-0x193,_0x3d209b-0x1c5,_0x2933c-0x53);}const _0x54cf4c=_0x209502[_0x13ab55(-0x14c,0xae,-_0x93bd29._0x38c7db,0xf6)]??_0x77774f,_0x3d14c9=Math[_0x1d4710(_0x93bd29._0x3db09f,0x58a,_0x93bd29._0x14a1bb,_0x93bd29._0x50403d)](0x1,Math[_0x1d4710(0x495,_0x93bd29._0x47a5e9,0x53f,0x443)](_0x54cf4c)),_0xca793a=[];let _0x59c04e=![];for await(const _0x2ad189 of files({'cwd':_0xb843c7,'glob':[_0x209502[_0x1d4710(_0x93bd29._0x70c2f6,_0x93bd29._0x558524,_0x93bd29._0x1a84eb,_0x93bd29._0x375a15)]]})){if(_0xca793a[_0x1d4710(_0x93bd29._0x508d5e,0x364,0x2f6,_0x93bd29._0x54cee5)]>=_0x3d14c9){_0x59c04e=!![];break;}const _0xd4d850=await _0x28d4c4(_0x18b0c7[_0x13ab55(-_0x93bd29._0x173ce5,-0x114,-0x94,-0x117)](_0xb843c7,_0x2ad189))['catch'](()=>null);_0xca793a[_0x13ab55(0x1,_0x93bd29._0x1bf21c,-0x11f,-_0x93bd29._0x47f3a2)]({'path':_0x2ad189,'mtime':_0xd4d850?.[_0x1d4710(0x667,_0x93bd29._0x15d24e,0x6f3,0x73d)]??0x0});}_0xca793a[_0x1d4710(0x590,_0x93bd29._0x372ca4,0x6c2,0x4df)]((_0x57bb91,_0x3b7fd7)=>_0x3b7fd7[_0x1d4710(0x5d6,0x471,0x575,0x5b3)]-_0x57bb91[_0x1d4710(0x5d6,0x749,0x49b,0x48d)]);const _0x20e436=_0xca793a['map'](_0xb15f51=>_0xb15f51[_0x13ab55(0xa8,-0x1ad,-0x3c,0x103)]),_0x5aa983=_0x20e436[_0x1d4710(_0x93bd29._0x508d5e,0x47c,0x38c,_0x93bd29._0x370ea5)]===0x0?_0x1d4710(0x4ec,_0x93bd29._0x51ba24,0x42c,0x4f5)+_0x209502['pattern']:''+_0x20e436['join']('\x0a')+(_0x59c04e?_0x13ab55(-_0x93bd29._0x3fd874,_0x93bd29._0x37bd44,-0x113,-0x1e6):'');return yield createToolOutput(_0x5aa983,{'pattern':_0x209502['pattern'],'searchPath':_0x18b0c7[_0x13ab55(-0x12,_0x93bd29._0xcb007c,-_0x93bd29._0xaab93d,-_0x93bd29._0x2fe251)](_0x176ca7,_0xb843c7)||'.','matches':_0x20e436,'count':_0x20e436['length'],'truncated':_0x59c04e}),void 0x0;}});}import{stat as _0x6724f}from'fs/promises';import*as _0x34d1d0 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x15d146={}){const _0x488c58={_0x4c7676:0x1dd,_0x19e856:0xe8,_0x1db73d:0x15f,_0x4cfa43:0x25f,_0x440c67:0x18b,_0x45c63b:0x3b,_0x1b7a1e:0x2a2,_0x625628:0xf4,_0x471f0e:0xc5,_0x5ed284:0x1bd,_0x5caa09:0xbd,_0x5c51c4:0x185,_0x1454f5:0x1c9,_0x267c1c:0x2d0,_0x56dd00:0x38a,_0x1409b6:0x37,_0x1be5cd:0x1ef,_0x4dcfa6:0x34a,_0xbf3cf1:0x31e,_0x5383dc:0xb2,_0x17b65b:0x1d3},_0x1e0588={_0x37f857:0x3ab,_0x3bdac5:0x301,_0x39a9a3:0x45a,_0x2a593d:0x47d,_0x5aca23:0x3bd,_0x223bd0:0x2fa,_0x1ad60b:0xfc,_0x28e981:0x3e7,_0x167e3b:0x430,_0x49d047:0x643,_0x182904:0x565,_0xb8603d:0x6a1,_0x180eeb:0x510,_0x4ff558:0x5f4,_0x50bae0:0x55,_0x1ea15f:0x189,_0x32e443:0x171,_0x1157ea:0x31,_0x5afa0a:0x5c0,_0x111939:0x237,_0x1a7b91:0xf,_0x5df1b6:0x3b,_0x342b37:0xb9,_0x47f7b3:0x142,_0x6c7f2a:0x85,_0x5cef45:0x74,_0x2f0a38:0x1f7,_0x24cf43:0x680,_0x19974a:0x615,_0x39334c:0x25,_0xf551ee:0xb0,_0x4c4565:0x122,_0x45d054:0x6c0,_0x13f1be:0x61f,_0x1e8230:0x604,_0x370565:0x43,_0x51df97:0x19a,_0x347fc0:0x18c,_0x3d9550:0x613,_0x31cd05:0x17f,_0x482ef6:0xbf,_0x315954:0x110,_0x373bd8:0xc1,_0x3e6d6f:0xb,_0x4339cc:0xa,_0x32c5e8:0xbc,_0x69fc52:0x47d,_0x225e97:0x34,_0x564504:0x126,_0x2a19ea:0x1db,_0xe3b7ad:0x25a,_0x2f4752:0x2ec,_0x381a0c:0x421,_0x31cd67:0x265,_0x4fde7b:0x208,_0x388660:0x69d,_0x4d7d22:0x71b,_0xb1eef5:0x166,_0x114016:0xb6,_0x1d7312:0x1eb,_0x146bd0:0x11d,_0x193236:0x145,_0x6d57e9:0xde,_0x3e11ff:0x1f6,_0x50d2ab:0x1b1,_0x3dbd41:0x655,_0x55d1f1:0x749,_0x5e4e26:0x5f0,_0x2fdc12:0x68,_0x3bc9a9:0x5,_0x1b860a:0x1c6,_0x31478b:0x25b,_0x52a121:0x207,_0x4986c5:0xd,_0x3f4174:0xe3,_0x226d42:0x2,_0x2402f9:0x185,_0x5ae202:0x1d7,_0x1777b0:0xf,_0x5dc087:0xb6,_0x81ab97:0xd0,_0x54047d:0xa7,_0x3d8708:0x6c6,_0x5ee754:0x5ea,_0x588fe5:0x6fc,_0x43eb42:0x667,_0x55ebda:0x5b,_0x1b2800:0xcb},_0x3706aa={_0x2460ac:0x36,_0x5b893f:0x15b},_0x1268de={_0x4a63e8:0x1d9},_0x55f852={_0x37956f:0x4f,_0x5ebbe6:0x2e,_0x23c011:0xa6},_0x248ede=_0x34d1d0[_0x15ed71(_0x488c58._0x4c7676,0x36,0xf1,_0x488c58._0x19e856)](_0x15d146['defaultCwd']??process[_0x23d421(0x12f,0x2c,_0x488c58._0x1db73d,_0x488c58._0x4cfa43)]()),_0x5a92f4=_0x15d146[_0x15ed71(0x1a7,_0x488c58._0x440c67,_0x488c58._0x45c63b,0x3d)]??[],_0x9d8448=_0x15d146[_0x23d421(0x251,0x162,_0x488c58._0x1b7a1e,0x2b4)]??0x64;function _0x15ed71(_0x4d3301,_0x8b576e,_0x171bec,_0x4c3ae3){return _0x42cde8(_0x4d3301-_0x55f852._0x37956f,_0x4c3ae3-_0x55f852._0x5ebbe6,_0x171bec-_0x55f852._0x23c011,_0x171bec);}const _0x5e7731=_0x15d146['name']??'Grep';function _0x23d421(_0xe07b52,_0x459e55,_0x2d2ef2,_0x497c70){return _0x48c1e5(_0xe07b52- -0x152,_0x459e55-0xd3,_0x497c70,_0x497c70-_0x1268de._0x4a63e8);}return defineTool({'name':_0x5e7731,'description':_0x23d421(_0x488c58._0x625628,0x247,_0x488c58._0x471f0e,_0x488c58._0x5ed284),'inputSchema':{'type':_0x15ed71(-_0x488c58._0x5caa09,_0x488c58._0x5c51c4,0x18d,0x7c),'properties':{'pattern':{'type':_0x15ed71(0x116,_0x488c58._0x1454f5,0x17d,_0x488c58._0x5c51c4)},'path':{'type':_0x23d421(_0x488c58._0x267c1c,0x2ff,_0x488c58._0x56dd00,0x348)},'include':{'type':_0x15ed71(_0x488c58._0x1409b6,0x18b,0x20c,0x185)},'limit':{'type':_0x23d421(_0x488c58._0x1be5cd,_0x488c58._0x4dcfa6,0x12d,0x114)},'context':{'type':_0x23d421(0x1ef,_0x488c58._0xbf3cf1,0x122,_0x488c58._0x5383dc)}},'required':[_0x15ed71(-0x1f7,-_0x488c58._0x17b65b,-0x233,-0xdc)]},async *'execute'(_0x23a320){const _0x3075ee={_0x45fe51:0x1dc,_0x5dc37a:0x7a,_0x5a0b95:0x4fd};if(_0x23a320[_0x2647d3(-0x237,-0x285,-0x1fb,-_0x1e0588._0x37f857)]['trim']()[_0x58a342(0x33c,_0x1e0588._0x3bdac5,_0x1e0588._0x39a9a3,_0x1e0588._0x2a593d)]===0x0)throw new ToolExecutionError(_0x58a342(0x420,_0x1e0588._0x5aca23,_0x1e0588._0x223bd0,0x475),{});function _0x58a342(_0x66050f,_0x50cf99,_0x5112f9,_0x1e7d73){return _0x15ed71(_0x66050f-_0x3075ee._0x45fe51,_0x50cf99-_0x3075ee._0x5dc37a,_0x66050f,_0x1e7d73-_0x3075ee._0x5a0b95);}const _0x25cd47=resolveAllowedPath(_0x248ede,_0x5a92f4,_0x23a320[_0x2647d3(-0x64,0xa2,_0x1e0588._0x1ad60b,-0x1d8)]??'.'),_0x4a6378=await _0x6724f(_0x25cd47)['catch'](()=>null),_0x3ea3cc=_0x4a6378?.['isFile']()??![];function _0x2647d3(_0x2811b2,_0x438917,_0x18f0e3,_0x1457de){return _0x15ed71(_0x2811b2-_0x3706aa._0x2460ac,_0x438917-0xb0,_0x1457de,_0x2811b2- -_0x3706aa._0x5b893f);}const _0x1a11e9=_0x4a6378?.[_0x58a342(_0x1e0588._0x28e981,0x585,_0x1e0588._0x167e3b,0x433)]()??![];if(!_0x3ea3cc&&!_0x1a11e9)throw new ToolExecutionError(_0x58a342(0x5c0,_0x1e0588._0x49d047,0x4bd,_0x1e0588._0x182904)+(_0x23a320[_0x58a342(0x595,0x62e,_0x1e0588._0xb8603d,0x5f4)]??'.'),{'path':_0x23a320[_0x58a342(0x709,_0x1e0588._0x180eeb,0x534,_0x1e0588._0x4ff558)]??'.'});const _0x5b0ef8=_0x23a320[_0x2647d3(-_0x1e0588._0x50bae0,-0xe,-0x18d,-_0x1e0588._0x1ea15f)]??_0x9d8448,_0x1f63dc=Math[_0x2647d3(-0x145,-_0x1e0588._0x32e443,-0x220,-_0x1e0588._0x1157ea)](0x1,Math[_0x58a342(0x64c,0x450,_0x1e0588._0x5afa0a,0x4d8)](_0x5b0ef8)),_0x56d6d1=await search({'cwd':_0x1a11e9?_0x25cd47:_0x34d1d0[_0x2647d3(0x3,0xa5,0xb,0x50)](_0x25cd47),'pattern':_0x23a320[_0x2647d3(-_0x1e0588._0x111939,-0x29d,-0x112,-0x27f)],'glob':_0x1a11e9?_0x23a320[_0x2647d3(_0x1e0588._0x1a7b91,-_0x1e0588._0x5df1b6,0x22,0xa)]:void 0x0,'limit':_0x1f63dc,'file':_0x3ea3cc?_0x25cd47:void 0x0,'context':_0x23a320[_0x2647d3(-_0x1e0588._0x342b37,-0x1ef,-_0x1e0588._0x47f7b3,-0x33)]}),_0x5249ab=new Map();for(const _0x539816 of _0x56d6d1){if(!_0x5249ab[_0x2647d3(_0x1e0588._0x6c7f2a,0x1e2,_0x1e0588._0x5cef45,_0x1e0588._0x2f0a38)](_0x539816[_0x58a342(0x4db,0x6f2,_0x1e0588._0x24cf43,_0x1e0588._0x19974a)])){const _0x3597db=await _0x6724f(_0x539816[_0x2647d3(-0x43,-0xd,-_0x1e0588._0x39334c,_0x1e0588._0xf551ee)])[_0x2647d3(-0x205,-_0x1e0588._0x4c4565,-0x251,-0x2ac)](()=>null);_0x5249ab[_0x58a342(0x67a,_0x1e0588._0x45d054,_0x1e0588._0x13f1be,_0x1e0588._0x1e8230)](_0x539816[_0x2647d3(-_0x1e0588._0x370565,-0x123,-_0x1e0588._0x51df97,-_0x1e0588._0x347fc0)],{'matches':[],'mtime':_0x3597db?.[_0x58a342(0x57a,_0x1e0588._0x3d9550,0x7e8,0x6aa)]??0x0});}_0x5249ab['get'](_0x539816[_0x2647d3(-_0x1e0588._0x370565,-_0x1e0588._0x31cd05,-_0x1e0588._0x482ef6,-_0x1e0588._0x315954)])?.[_0x2647d3(_0x1e0588._0x373bd8,-_0x1e0588._0x3e6d6f,_0x1e0588._0x4339cc,0x110)]['push'](_0x539816);}const _0x422d99=[..._0x5249ab[_0x2647d3(-0x213,-0x37c,-0xd3,-0x2e8)]()][_0x2647d3(-_0x1e0588._0x6c7f2a,-_0x1e0588._0x32c5e8,-0x1f1,-0x44)]((_0x4247f9,_0x2d7052)=>_0x2d7052[0x1]['mtime']-_0x4247f9[0x1][_0x2647d3(-0x3f,0x11c,-0x4c,0xd4)]),_0x2dbb65=_0x56d6d1['filter'](_0x3afb14=>!_0x3afb14[_0x2647d3(0x10,-0x121,0x69,-0x133)])[_0x58a342(0x387,0x499,0x3bd,_0x1e0588._0x69fc52)],_0x4e6046=_0x56d6d1['length']>=_0x1f63dc,_0x3b11b1=_0x3ea3cc?_0x34d1d0[_0x2647d3(0x3,-0x14a,-_0x1e0588._0x225e97,-_0x1e0588._0x564504)](_0x25cd47):_0x25cd47;let _0x3e30eb='';if(_0x56d6d1[_0x2647d3(-_0x1e0588._0x2a19ea,-_0x1e0588._0xe3b7ad,-0x247,-0x30a)]===0x0)_0x3e30eb='No\x20matches\x20found\x20for\x20pattern:\x20'+_0x23a320[_0x58a342(0x572,0x55c,_0x1e0588._0x2f4752,_0x1e0588._0x381a0c)];else{_0x3e30eb=_0x2647d3(-0x171,-0x17f,-_0x1e0588._0x31cd67,-_0x1e0588._0x4fde7b)+_0x2dbb65+_0x58a342(0x676,0x70e,_0x1e0588._0x388660,_0x1e0588._0x4d7d22)+(_0x2dbb65===0x1?'':'es')+'\x0a';for(const [_0x3f1e9b,_0x4167e4]of _0x422d99){const _0x10749e=_0x3ea3cc?_0x34d1d0[_0x2647d3(-0x216,-0x162,-_0x1e0588._0xb1eef5,-0x195)](_0x3f1e9b):_0x34d1d0[_0x2647d3(-_0x1e0588._0x114016,-_0x1e0588._0x1d7312,-0x98,-0x3d)](_0x3b11b1,_0x3f1e9b);_0x3e30eb+='\x0a'+_0x10749e+':\x0a';for(const _0x36a0a6 of _0x4167e4[_0x2647d3(0xc1,0x1cb,_0x1e0588._0x146bd0,_0x1e0588._0x193236)]){const _0x20a6a7=_0x36a0a6['lineText'][_0x2647d3(-0x1db,-_0x1e0588._0x6d57e9,-_0x1e0588._0x3e11ff,-_0x1e0588._0x50d2ab)]>MAX_LINE_LENGTH?_0x36a0a6[_0x58a342(_0x1e0588._0x3dbd41,_0x1e0588._0x55d1f1,0x4f0,_0x1e0588._0x5e4e26)]['slice'](0x0,MAX_LINE_LENGTH)+'...':_0x36a0a6[_0x2647d3(-_0x1e0588._0x2fdc12,-_0x1e0588._0x3bc9a9,0x103,0xd7)],_0x212c5e=_0x36a0a6['isContext']?'\x20\x20':'>\x20';_0x3e30eb+=_0x212c5e+_0x2647d3(-_0x1e0588._0x1b860a,-0x309,-_0x1e0588._0x31478b,-_0x1e0588._0x52a121)+_0x36a0a6['lineNum']+':\x20'+_0x20a6a7+'\x0a';}}_0x4e6046&&(_0x3e30eb+=_0x2647d3(-0x13b,-0x96,-0xe,-_0x1e0588._0x4986c5));}const _0xd4d4d2={'searchPath':_0x34d1d0[_0x2647d3(-0xb6,-0xb2,-_0x1e0588._0x3f4174,-_0x1e0588._0x226d42)](_0x248ede,_0x25cd47)||'.','pattern':_0x23a320[_0x58a342(0x52f,0x40d,0x51b,0x421)],'matchCount':_0x2dbb65,'fileCount':_0x5249ab[_0x2647d3(-_0x1e0588._0x2402f9,-_0x1e0588._0x5ae202,-0x12c,-0x18b)],'truncated':_0x4e6046};return _0x1a11e9&&_0x23a320[_0x2647d3(_0x1e0588._0x1777b0,-_0x1e0588._0x5dc087,-_0x1e0588._0x81ab97,-_0x1e0588._0x54047d)]!==void 0x0&&(_0xd4d4d2[_0x2647d3(_0x1e0588._0x1a7b91,-0x35,0x112,0xf5)]=_0x23a320[_0x58a342(_0x1e0588._0x3d8708,_0x1e0588._0x5ee754,_0x1e0588._0x588fe5,_0x1e0588._0x43eb42)]),yield createToolOutput(_0x3e30eb[_0x2647d3(-_0x1e0588._0x55ebda,0x55,-0x13f,_0x1e0588._0x1b2800)](),_0xd4d4d2),void 0x0;}});}function createKillShellTool(_0x125c16){const _0x4f4f8b={_0x94539e:0xa7,_0xd58a76:0x109,_0x309549:0x6d,_0x1535b9:0xe2,_0x2dc053:0x1ef,_0x3db50d:0x24a,_0x2ace43:0x1db},_0x1aca66={_0x3cf21a:0x54c,_0x515309:0x692,_0x3b32f3:0x16b,_0x1330a9:0x6f,_0x3502e3:0xdd,_0x4a5ccd:0x663,_0x252bae:0x70f,_0x48b1fe:0x6ea,_0x253754:0x629,_0x41137e:0x785,_0x4f3935:0x835,_0x4c806a:0x346,_0x5d945c:0x3f0},_0x4077dd={_0x2915bb:0x137,_0x1627c1:0x740},_0x5a10a6={_0x540e77:0xca,_0xc82ec9:0x94,_0x4f51b1:0x21},{registry:_0x1eeca1}=_0x125c16;function _0x125702(_0xd939b9,_0x488a7b,_0x241e8,_0x48372d){return _0x42cde8(_0xd939b9-_0x5a10a6._0x540e77,_0x488a7b-_0x5a10a6._0xc82ec9,_0x241e8-_0x5a10a6._0x4f51b1,_0x241e8);}function _0x43a1df(_0x3bd0aa,_0x429928,_0x4b2812,_0x5a070e){return _0x48c1e5(_0x4b2812- -0x4b2,_0x429928-0x106,_0x429928,_0x5a070e-0xd2);}return defineTool({'name':'KillShell','description':_0x125702(_0x4f4f8b._0x94539e,_0x4f4f8b._0xd58a76,0x131,0x223),'inputSchema':{'type':_0x125702(_0x4f4f8b._0x309549,_0x4f4f8b._0x1535b9,0xa1,_0x4f4f8b._0x2dc053),'properties':{'shellId':{'type':'string'}},'required':[_0x125702(0x1f1,_0x4f4f8b._0x3db50d,0x23f,_0x4f4f8b._0x2ace43)]},async *'execute'(_0x273ec6){const _0x477648={_0x2c6909:0x15},_0x15b9a8=_0x1eeca1[_0x37d4e0(0x4f3,0x5f0,_0x1aca66._0x3cf21a,_0x1aca66._0x515309)](_0x273ec6['shellId']);function _0x2367bd(_0x4ca383,_0x22fcf3,_0x1cf918,_0x13ad28){return _0x43a1df(_0x4ca383-_0x477648._0x2c6909,_0x4ca383,_0x22fcf3-0xa0,_0x13ad28-0x27);}function _0x37d4e0(_0x38b331,_0x3f7b71,_0x2bc9fb,_0x3a42ff){return _0x43a1df(_0x38b331-_0x4077dd._0x2915bb,_0x3a42ff,_0x3f7b71-_0x4077dd._0x1627c1,_0x3a42ff-0xb4);}return createToolOutput('Killed\x20'+_0x273ec6[_0x2367bd(_0x1aca66._0x3b32f3,_0x1aca66._0x1330a9,_0x1aca66._0x3502e3,0x16e)]+'\x20(status:\x20'+_0x15b9a8['status']+').',{'shellId':_0x273ec6[_0x37d4e0(_0x1aca66._0x4a5ccd,_0x1aca66._0x252bae,_0x1aca66._0x48b1fe,0x61c)],'status':_0x15b9a8['status'],'exitCode':_0x15b9a8[_0x37d4e0(_0x1aca66._0x253754,0x6f5,_0x1aca66._0x41137e,_0x1aca66._0x4f3935)],'signal':_0x15b9a8[_0x37d4e0(0x566,0x489,_0x1aca66._0x4c806a,_0x1aca66._0x5d945c)]});}});}import{readdir as _0x10f866,readFile as _0x47c828,stat as _0x248887}from'fs/promises';import*as _0x3e6079 from'path';import*as _0xa8faca from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x1ffa76,_0x40dbf8){const _0x5da36a={_0x2e7fed:0x30d,_0x5f5bcf:0x242,_0x53e06e:0xff,_0x5ce57a:0x32,_0x52d129:0x3a0,_0x442de5:0x24a},_0x133dd8={_0x4df3d2:0x19b},_0x212368={_0x44d2cf:0x16b};function _0xbb1f6f(_0x236402,_0x5422fe,_0x7a688b,_0x3b2817){return _0x42cde8(_0x236402-0x1a,_0x7a688b- -0x1ff,_0x7a688b-_0x212368._0x44d2cf,_0x3b2817);}function _0x19f538(_0x5d7f5f,_0x39395e,_0x4942ac,_0x32093e){return _0x42cde8(_0x5d7f5f-_0x133dd8._0x4df3d2,_0x5d7f5f-0x3e5,_0x4942ac-0x110,_0x39395e);}if(_0x40dbf8>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2189c6=await _0x47c828(_0x1ffa76)[_0x19f538(_0x5da36a._0x2e7fed,_0x5da36a._0x5f5bcf,0x40a,0x3d9)](()=>null);if(!_0x2189c6||isProbablyBinary(_0x2189c6))return void 0x0;return _0x2189c6[_0xbb1f6f(_0x5da36a._0x53e06e,0xe3,-0x7d,_0x5da36a._0x5ce57a)](_0x19f538(_0x5da36a._0x52d129,0x30a,_0x5da36a._0x442de5,0x3b1))['split'](/\r?\n/)['length'];}function createLsTool(_0x5d0777={}){const _0x316563={_0x14d360:0x17c,_0x493a95:0x12b,_0x21fa90:0x38d,_0x19b914:0x20e,_0x3b4655:0x19d,_0x4062c3:0x15a,_0x15a69e:0x209,_0xb1d644:0x39d,_0x583496:0x33d,_0x5f35ec:0x2b2,_0x422d82:0x1b4,_0x11e35d:0x1cc,_0xeb560b:0x58,_0x4ef924:0x1f4,_0x5196c9:0xab,_0x92fb55:0x77,_0x4f6601:0x242,_0x4deb85:0x22,_0x4c0c9a:0x1a5},_0x541aa6={_0x50331d:0x68,_0xd666d:0x1f1,_0x487a89:0x72,_0x2e6a38:0x22a,_0x2c3567:0x1d0,_0x109dd8:0x1ef,_0x552d60:0x3a1,_0x4b1220:0x2e9,_0x1e3908:0x10f,_0x14a624:0x2c9,_0x5c35cc:0x14a,_0x38570d:0x33,_0x3d9890:0x1a,_0x3b7a0a:0xf2,_0x86e614:0xd7,_0x548413:0x15b,_0x55a4e6:0x116,_0x4e5717:0x17b,_0x5584f7:0x1e3,_0x18637d:0x295,_0x1ec654:0x1f9,_0xa5b563:0x1d1,_0x45eb91:0x6e,_0x59d0ac:0x2c5,_0xdd1a2b:0x335,_0x1e28bf:0x325,_0x10e1d4:0x2e4,_0xd8dd04:0x3dd,_0xf71490:0x2b4,_0x5a16bd:0x145,_0xc40d8e:0x68,_0x2bc1c4:0x2bf,_0x11ebb2:0x14f,_0x11f7e4:0x455,_0xccb6a6:0x453,_0x7527df:0x37c,_0x23af12:0x42a,_0x549f2e:0x5a,_0x2ff049:0x111,_0x19fc54:0x69,_0x5d9d4d:0x93,_0x59e2ac:0x4f,_0x3f31d5:0x410,_0x2fd077:0x276,_0x14ec78:0x191,_0x2d95bf:0x320,_0x4566c3:0x1c9,_0x2a2931:0xd6,_0x4f6a42:0x157,_0x3ffbb5:0x2d1},_0x4bf2d1={_0x639da5:0x10b},_0x385b21={_0x20d739:0x81},_0x38e16a=_0x3e6079[_0x60d03b(0x2de,_0x316563._0x14d360,0x34f,0x205)](_0x5d0777[_0x387187(-_0x316563._0x493a95,-_0x316563._0x21fa90,-_0x316563._0x19b914,-0x266)]??process['cwd']());function _0x60d03b(_0x500b60,_0x16dccc,_0x10521c,_0x2770ec){return _0x42cde8(_0x500b60-0x9a,_0x2770ec-0x14b,_0x10521c-0xd4,_0x10521c);}function _0x387187(_0x38d2ff,_0x4b8b1f,_0x17e173,_0x31f5d9){return _0x48c1e5(_0x17e173- -0x4cd,_0x4b8b1f-_0x385b21._0x20d739,_0x38d2ff,_0x31f5d9-0x1c8);}const _0x52aa52=_0x5d0777[_0x60d03b(0x105,_0x316563._0x3b4655,0x26c,_0x316563._0x4062c3)]??[],_0x17dd6e=_0x5d0777[_0x387187(-0x2bb,-0x101,-_0x316563._0x15a69e,-0x269)]??'Ls';return defineTool({'name':_0x17dd6e,'description':_0x60d03b(0x37a,_0x316563._0xb1d644,_0x316563._0x583496,0x229),'inputSchema':{'type':_0x387187(-_0x316563._0x5f35ec,-0x261,-_0x316563._0x422d82,-_0x316563._0x11e35d),'properties':{'path':{'type':_0x387187(_0x316563._0xeb560b,-_0x316563._0x4ef924,-_0x316563._0x5196c9,-_0x316563._0x92fb55)},'limit':{'type':_0x387187(-_0x316563._0x4f6601,-_0x316563._0x4deb85,-0x18c,-_0x316563._0x4c0c9a)}}},async *'execute'(_0x478a55){const _0x316e8e={_0x721e3:0xdb,_0x5ee5b3:0xc2},_0x150bd5=_0x478a55[_0x1e0021(-_0x541aa6._0x50331d,-0x16d,0x139,-0x2e)]??'.',_0x31900=resolveAllowedPath(_0x38e16a,_0x52aa52,_0x150bd5),_0x3cbff2=await _0x248887(_0x31900)[_0x4b9b96(0x1b1,_0x541aa6._0xd666d,_0x541aa6._0x487a89,0x339)](()=>null);if(!_0x3cbff2?.[_0x1e0021(-0x367,-_0x541aa6._0x2e6a38,-_0x541aa6._0x2c3567,-_0x541aa6._0x109dd8)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x150bd5,{'path':_0x150bd5});const _0x16a2c3=_0x478a55[_0x4b9b96(0x434,_0x541aa6._0x552d60,_0x541aa6._0x4b1220,0x4f3)]??0x3e8,_0x24b797=Math['min'](Math[_0x1e0021(-0x21f,-0xd1,-0x191,-_0x541aa6._0x1e3908)](Math[_0x1e0021(-0xff,-_0x541aa6._0x14a624,-0x26c,-_0x541aa6._0x5c35cc)](_0x16a2c3),0x1),0x2710);function _0x4b9b96(_0xdf8e3a,_0x39d7d1,_0x3435d6,_0x4e54c1){return _0x387187(_0x3435d6,_0x39d7d1-_0x316e8e._0x721e3,_0x39d7d1-0x4cb,_0x4e54c1-_0x316e8e._0x5ee5b3);}const _0x285da5=await _0x10f866(_0x31900),_0x4cea2d=[];for(const _0x3d36cd of _0x285da5[_0x1e0021(_0x541aa6._0x38570d,_0x541aa6._0x3d9890,-0x1c0,-_0x541aa6._0x3b7a0a)](0x0,_0x24b797)){const _0xb44012=_0x3e6079[_0x1e0021(-_0x541aa6._0x86e614,-0x200,-0x16d,-0x86)](_0x31900,_0x3d36cd),_0x488bbf=await _0x248887(_0xb44012)[_0x1e0021(-0x5a,-_0x541aa6._0x548413,-_0x541aa6._0x55a4e6,-0x1cf)](()=>null);if(!_0x488bbf)continue;let _0x5c572e='other';if(_0x488bbf[_0x1e0021(-_0x541aa6._0x4e5717,-0x1aa,-0xb3,-_0x541aa6._0x5584f7)]())_0x5c572e=_0x1e0021(-0x19e,-0x35c,-_0x541aa6._0x18637d,-_0x541aa6._0x1ec654);else{if(_0x488bbf[_0x4b9b96(0xaa,_0x541aa6._0xa5b563,_0x541aa6._0x45eb91,0x2a7)]())_0x5c572e=_0x4b9b96(_0x541aa6._0x59d0ac,0x36d,0x2f0,0x2fd);else{if(_0x488bbf['isSymbolicLink']())_0x5c572e='symlink';}}const _0x16d2c3={'name':_0x3d36cd,'type':_0x5c572e,'size':_0x488bbf[_0x4b9b96(_0x541aa6._0xdd1a2b,0x271,_0x541aa6._0x1e28bf,0x2e8)],'mtime':_0x488bbf[_0x4b9b96(0x594,0x448,_0x541aa6._0x10e1d4,0x3cd)],'mode':_0x488bbf[_0x4b9b96(_0x541aa6._0xd8dd04,_0x541aa6._0xf71490,0x415,_0x541aa6._0x5a16bd)]},_0x4c917e=_0x5c572e===_0x1e0021(-0x213,-0x296,-0x22f,-0x1f9)?await countTextLines(_0xb44012,_0x488bbf[_0x1e0021(-_0x541aa6._0xc40d8e,-0x289,-_0x541aa6._0x2bc1c4,-_0x541aa6._0x11ebb2)]):void 0x0;if(_0x4c917e!==void 0x0)_0x16d2c3[_0x4b9b96(_0x541aa6._0x11f7e4,_0x541aa6._0xccb6a6,_0x541aa6._0x7527df,_0x541aa6._0x23af12)]=_0x4c917e;_0x4cea2d[_0x1e0021(-0xde,_0x541aa6._0x549f2e,-0x1dd,-_0x541aa6._0x2ff049)](_0x16d2c3);}_0x4cea2d[_0x1e0021(_0x541aa6._0x19fc54,-0x1c6,-_0x541aa6._0x5d9d4d,-_0x541aa6._0x59e2ac)]((_0x7039c2,_0x5ccbbb)=>_0x7039c2[_0x1e0021(-0x1cb,-0x1b8,-0x271,-0xfe)][_0x1e0021(-0x90,-0x23b,-0x22a,-0xff)](_0x5ccbbb[_0x1e0021(-0x236,0x6e,-0xcd,-0xfe)]));function _0x1e0021(_0x24f5b3,_0x1d75c7,_0x2e1c52,_0x2435e3){return _0x387187(_0x2e1c52,_0x1d75c7-0x1d,_0x2435e3-_0x4bf2d1._0x639da5,_0x2435e3-0x130);}const _0x20f894={'path':_0x150bd5,'total':_0x4cea2d['length'],'truncated':_0x285da5['length']>_0x24b797,'entries':_0x4cea2d};return yield createToolOutput(_0xa8faca[_0x4b9b96(0x432,_0x541aa6._0x3f31d5,0x4e7,0x4e8)](_0x20f894,{'indent':0x2,'lineWidth':0x0})[_0x4b9b96(_0x541aa6._0x2fd077,0x3eb,0x4c8,0x44c)](),{'path':_0x150bd5,'total':_0x4cea2d[_0x1e0021(-_0x541aa6._0x14ec78,-_0x541aa6._0x2d95bf,-_0x541aa6._0x4566c3,-0x1a5)],'truncated':_0x285da5[_0x1e0021(-_0x541aa6._0x2a2931,-_0x541aa6._0x4f6a42,-_0x541aa6._0x3ffbb5,-0x1a5)]>_0x24b797,'limit':_0x24b797,'entries':_0x4cea2d}),void 0x0;}});}import{stat as _0x335487}from'fs/promises';import _0x5ef303 from'path';import{fileURLToPath as _0x57ff4a}from'url';function severityName(_0x13a4de){const _0x10708f={_0x540cf8:0x1e7,_0xd11c3c:0xc5,_0x4fcb14:0x1aa,_0x29bd26:0x227,_0x5de893:0x250,_0x247dd0:0x2a1,_0x211ae5:0x318},_0x286920={_0x11c5e8:0xe},_0x542361={_0x5783e6:0x195};function _0x25d6e2(_0x55011d,_0x1004ee,_0x13eaae,_0x1a825c){return _0x48c1e5(_0x13eaae- -_0x542361._0x5783e6,_0x1004ee-0x1df,_0x1004ee,_0x1a825c-0x2);}function _0x4da0a4(_0x3cd20a,_0x2297f1,_0x1f9965,_0x427de9){return _0x42cde8(_0x3cd20a-0x1c3,_0x427de9- -0x97,_0x1f9965-_0x286920._0x11c5e8,_0x1f9965);}switch(_0x13a4de){case 0x1:return _0x25d6e2(0x278,_0x10708f._0x540cf8,0x16c,_0x10708f._0xd11c3c);case 0x2:return _0x25d6e2(0x388,_0x10708f._0x4fcb14,_0x10708f._0x29bd26,0x35e);case 0x3:return _0x25d6e2(_0x10708f._0x5de893,_0x10708f._0x247dd0,_0x10708f._0x211ae5,0x289);case 0x4:return'Hint';default:return'Diagnostic';}}function formatSingleHover(_0x204aed){const _0x56b14c={_0x346651:0xfa,_0x4c5490:0x262,_0x3f70d4:0x137,_0x4a9879:0x201,_0x2d5c63:0x1f4,_0x2ed34a:0x14,_0x37a508:0x12a,_0x3ce0ef:0x1d7,_0x479024:0x93,_0x3c7f0d:0x29,_0x41c618:0xf2,_0x1bfe19:0x116,_0x343966:0x247,_0x5bd6e5:0xb8,_0x20b40a:0xcd,_0x271059:0x127,_0x48b92f:0x23c,_0x28c9b0:0x2c,_0xf27fb9:0x5c,_0x162280:0x44,_0x1918b0:0x16a},_0x5692e3={_0x21f027:0x11c},_0x38cfa6={_0x2ea261:0x81};function _0x364702(_0x565fce,_0x188db2,_0x581603,_0x2745b7){return _0x42cde8(_0x565fce-0x1cd,_0x565fce-0x46,_0x581603-_0x38cfa6._0x2ea261,_0x2745b7);}const _0x26c1a5=_0x204aed[_0x3c5958(-0xc,-0x15e,-_0x56b14c._0x346651,-_0x56b14c._0x4c5490)];if(typeof _0x26c1a5==='string')return _0x26c1a5;function _0x3c5958(_0x2e75cf,_0x1c05fa,_0x8f6096,_0x521874){return _0x42cde8(_0x2e75cf-0x74,_0x1c05fa- -0x170,_0x8f6096-_0x5692e3._0x21f027,_0x521874);}if(Array['isArray'](_0x26c1a5))return _0x26c1a5[_0x364702(0x237,_0x56b14c._0x3f70d4,_0x56b14c._0x4a9879,_0x56b14c._0x2d5c63)](_0x1eaaed=>typeof _0x1eaaed===_0x3c5958(-0x18b,-0x19,0x4c,0x154)?_0x1eaaed:_0x1eaaed[_0x3c5958(-0xd,-0x11e,-0x1ed,-0x171)])[_0x3c5958(-0x13e,_0x56b14c._0x2ed34a,-0x7,-0x11c)](Boolean)['join']('\x0a\x0a');if(_0x3c5958(0x9,-_0x56b14c._0x37a508,-0x166,-_0x56b14c._0x3ce0ef)in _0x26c1a5)return _0x26c1a5[_0x364702(0x98,0x13d,0x42,0x1f1)];return _0x26c1a5[_0x364702(_0x56b14c._0x479024,-_0x56b14c._0x3c7f0d,_0x56b14c._0x41c618,_0x56b14c._0x1bfe19)]?_0x364702(_0x56b14c._0x2d5c63,_0x56b14c._0x343966,_0x56b14c._0x5bd6e5,0xef)+_0x26c1a5[_0x3c5958(-0x121,-0x123,-_0x56b14c._0x20b40a,-_0x56b14c._0x271059)]+'\x0a'+_0x26c1a5[_0x3c5958(-_0x56b14c._0x48b92f,-0x11e,-0x197,0x19)]+_0x3c5958(-0x68,-_0x56b14c._0x41c618,_0x56b14c._0x28c9b0,_0x56b14c._0xf27fb9):_0x26c1a5[_0x3c5958(-_0x56b14c._0x162280,-0x11e,-_0x56b14c._0x1918b0,-0x267)];}function formatHover(_0x3ca931){const _0x3504c8={_0x4009b3:0xef,_0x325275:0x28b,_0x1ed208:0x4b,_0x414b5c:0x137,_0x231f87:0xa,_0x58cd88:0xa0,_0x5e6a08:0x19a,_0x5c8b9c:0x4a2,_0xd26d9a:0x43d,_0xce4ebd:0x47,_0x518c5d:0x2d},_0x5b449c={_0x52b128:0x15e},_0x549173={_0xaa3704:0x459,_0xe174ef:0x17c};function _0x1168f4(_0x2a1f56,_0x72daa5,_0xce0478,_0x28f055){return _0x48c1e5(_0xce0478- -_0x549173._0xaa3704,_0x72daa5-_0x549173._0xe174ef,_0x2a1f56,_0x28f055-0xe9);}if(_0x3ca931[_0x1168f4(-0x357,-_0x3504c8._0x4009b3,-0x23c,-0x253)]===0x0)return _0x1168f4(-_0x3504c8._0x325275,-_0x3504c8._0x1ed208,-_0x3504c8._0x414b5c,_0x3504c8._0x231f87);function _0x4293de(_0x227276,_0x596c7a,_0x131d41,_0x4a904e){return _0x48c1e5(_0x596c7a-0x1fd,_0x596c7a-_0x5b449c._0x52b128,_0x131d41,_0x4a904e-0x98);}return _0x3ca931[_0x1168f4(-_0x3504c8._0x58cd88,0x152,0x63,_0x3504c8._0x5e6a08)](formatSingleHover)[_0x4293de(0x5a0,0x539,_0x3504c8._0x5c8b9c,_0x3504c8._0xd26d9a)](_0x1168f4(0x177,-_0x3504c8._0xce4ebd,_0x3504c8._0x518c5d,-0x86));}function locationPath(_0xbdccaf){const _0x371545={_0x22c649:0x7f,_0x45234a:0x12c,_0x1557da:0x1a0,_0x4be7fd:0x147,_0x43f656:0x231,_0x49d913:0x2a1,_0x4a7f22:0x12d},_0x3f1244={_0x524510:0x1d8},_0x36587b={_0x38010e:0x29e};function _0x4fd423(_0xef5734,_0x2c031e,_0x299e81,_0x1149c7){return _0x48c1e5(_0x1149c7-_0x36587b._0x38010e,_0x2c031e-0x15a,_0x2c031e,_0x1149c7-0xf1);}function _0x299cfd(_0x254636,_0x40d3e9,_0x2dd64b,_0x30efc8){return _0x42cde8(_0x254636-_0x3f1244._0x524510,_0x30efc8- -0x12e,_0x2dd64b-0x131,_0x254636);}if(!_0xbdccaf[_0x299cfd(-_0x371545._0x22c649,-_0x371545._0x45234a,-0xeb,-_0x371545._0x1557da)](_0x299cfd(-_0x371545._0x4be7fd,-_0x371545._0x43f656,-_0x371545._0x49d913,-_0x371545._0x4a7f22)))return _0xbdccaf;return _0x57ff4a(_0xbdccaf);}function formatLocations(_0xfef745){const _0x1da770={_0x3e957c:0xb5,_0x11c52c:0x297,_0x2257e7:0x5e,_0x521635:0x6e,_0x3f922e:0x1e7},_0x25d04f={_0x59c343:0x1df,_0x250b54:0x3d,_0x1488c1:0xc8,_0x4ab642:0x6a,_0x52627d:0x1d2,_0x378fab:0x41},_0x233d3a={_0x431f6e:0x27b,_0x4c8ac9:0xc1},_0x5cb5fb={_0x46d351:0x44c,_0xc2a961:0xc9};function _0x4836b6(_0x18df96,_0x735ddf,_0x269680,_0x23ec51){return _0x48c1e5(_0x735ddf- -_0x5cb5fb._0x46d351,_0x735ddf-_0x5cb5fb._0xc2a961,_0x18df96,_0x23ec51-0x1f2);}function _0x41cef0(_0x4763d3,_0x5b76c1,_0x405f48,_0x92bd){return _0x48c1e5(_0x92bd- -_0x233d3a._0x431f6e,_0x5b76c1-0xdf,_0x4763d3,_0x92bd-_0x233d3a._0x4c8ac9);}if(_0xfef745[_0x4836b6(-_0x1da770._0x3e957c,-0x22f,-0x3a3,-_0x1da770._0x11c52c)]===0x0)return _0x41cef0(0xec,_0x1da770._0x2257e7,-_0x1da770._0x521635,0x5e);return _0xfef745[_0x4836b6(0x64,0x70,_0x1da770._0x3f922e,-0xac)](_0x3e14ca=>{const _0x25e88e={_0x5ab2e9:0x77,_0x377a2b:0x240},_0x68564d=_0x3e14ca[_0x30f344(-0x1c0,-0x3d7,-0x199,-0x2e2)][_0x30f344(-0x376,-_0x25d04f._0x59c343,-0x2b6,-0x26b)];function _0x2c2800(_0x225484,_0x29e9a4,_0x38824d,_0x4ab3ad){return _0x4836b6(_0x29e9a4,_0x38824d-0x158,_0x38824d-0x176,_0x4ab3ad-0xc2);}function _0x30f344(_0x3a0e88,_0x1dee2f,_0x4b03fc,_0x28b4e6){return _0x41cef0(_0x3a0e88,_0x1dee2f-_0x25e88e._0x5ab2e9,_0x4b03fc-0x99,_0x28b4e6- -_0x25e88e._0x377a2b);}return locationPath(_0x3e14ca[_0x30f344(-0x16b,-0x125,0x3e,-_0x25d04f._0x250b54)])+':'+(_0x68564d[_0x2c2800(0x1a4,-_0x25d04f._0x1488c1,_0x25d04f._0x4ab642,_0x25d04f._0x52627d)]+0x1)+':'+(_0x68564d[_0x2c2800(0x11a,0x166,0xe5,_0x25d04f._0x378fab)]+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x590cec){const _0xa04269={_0x5d79ac:0x23d,_0x15e952:0x336,_0x5c28e1:0x2dd,_0xc7489:0x83,_0x1a6f71:0x1d8,_0x305b09:0x190},_0x3f5fa5={_0x769284:0x9e},_0xdb93b2={_0x542fc5:0x1b};function _0x4aee1f(_0x308c0c,_0x5f0cd6,_0x5248b3,_0x17a09b){return _0x42cde8(_0x308c0c-0x80,_0x5248b3-0x535,_0x5248b3-_0xdb93b2._0x542fc5,_0x5f0cd6);}function _0x13ad9e(_0x449923,_0x596c86,_0x48c995,_0x100b15){return _0x48c1e5(_0x449923- -0x416,_0x596c86-0x73,_0x100b15,_0x100b15-_0x3f5fa5._0x769284);}return _0x13ad9e(-_0xa04269._0x5d79ac,-_0xa04269._0x15e952,-0x1d0,-_0xa04269._0x5c28e1)in _0x590cec&&_0x13ad9e(-_0xa04269._0xc7489,-_0xa04269._0x1a6f71,-_0xa04269._0x305b09,0x6)in _0x590cec;}function formatSymbols(_0x2a1e97){const _0x345318={_0x2080cd:0x2f,_0x4736b1:0x26f,_0x44d926:0x169,_0x51e638:0x775},_0xe3a3eb={_0x563317:0x489,_0xc523b8:0x612,_0x20fa00:0x6e8,_0x1f7e52:0x2be,_0x1dd118:0x373,_0x402739:0x4d6,_0x41b52e:0x4b3,_0x20fbdd:0x2be,_0x4da3e9:0x493,_0x489b4b:0x1bd,_0x394481:0x3a9,_0x585275:0x4c3,_0x27f10b:0x244,_0x3e94b0:0x494,_0x4ccb9a:0x42e,_0x52a878:0x357,_0x53691c:0x2c0,_0x1b209f:0x563,_0x3189b9:0x4f3,_0x373977:0x417,_0x183a70:0x4e4,_0x1b3b73:0x32a,_0x37d8d9:0x14b,_0x5dd323:0x50d,_0x2574b2:0x4d6,_0x38c19e:0x617,_0x38de78:0x50d,_0x5ca55c:0x3fd,_0x299781:0x305,_0x54ca15:0x393,_0x3a20ac:0x37f,_0x1a332a:0x2d8,_0x49dabe:0x1db,_0x9b7890:0x630,_0x4ca557:0x512,_0x127647:0x631},_0x1c905a={_0x24f9f6:0x10c},_0x1c471a={_0x557af2:0x88,_0x4b5f92:0x1de},_0x3d6c5a={_0x435df1:0xc8};function _0x323c83(_0x298b01,_0x11bd60,_0x42f5da,_0x42cbd6){return _0x48c1e5(_0x42cbd6-0x1bd,_0x11bd60-0x7b,_0x11bd60,_0x42cbd6-0xaa);}if(_0x2a1e97['length']===0x0)return _0x4b3e31(-_0x345318._0x2080cd,-_0x345318._0x4736b1,-_0x345318._0x44d926,-0x2d5);function _0x4b3e31(_0x22b25e,_0x4da629,_0x391ff1,_0x1ac110){return _0x42cde8(_0x22b25e-0xc1,_0x391ff1- -0x149,_0x391ff1-_0x3d6c5a._0x435df1,_0x1ac110);}return _0x2a1e97[_0x323c83(0x717,0x57f,_0x345318._0x51e638,0x679)](_0x4bbc3f=>{if(isDocumentSymbol(_0x4bbc3f))return _0x4bbc3f['name']+'\x20('+_0x4bbc3f[_0x3f15ce(_0xe3a3eb._0x563317,0x3b5,0x466,0x5de)]+_0x3f15ce(_0xe3a3eb._0xc523b8,0x6fb,0x4fc,_0xe3a3eb._0x20fa00)+(_0x4bbc3f[_0x187c2b(_0xe3a3eb._0x1f7e52,0x2d7,_0xe3a3eb._0x1dd118,0x24c)]['start'][_0x3f15ce(_0xe3a3eb._0x402739,0x534,_0xe3a3eb._0x41b52e,0x5d7)]+0x1)+':'+(_0x4bbc3f[_0x187c2b(_0xe3a3eb._0x20fbdd,0x3ea,0x22a,0x17e)][_0x187c2b(0x335,_0xe3a3eb._0x4da3e9,0x3a0,_0xe3a3eb._0x489b4b)]['character']+0x1)+']';function _0x187c2b(_0x253fd9,_0x1b92e9,_0x269563,_0x584dd3){return _0x323c83(_0x253fd9-_0x1c471a._0x557af2,_0x269563,_0x269563-_0x1c471a._0x4b5f92,_0x253fd9- -0xd8);}function _0x3f15ce(_0xa72995,_0x404b59,_0x253a23,_0x565758){return _0x323c83(_0xa72995-_0x1c905a._0x24f9f6,_0x404b59,_0x253a23-0x168,_0xa72995- -0x45);}return _0x4bbc3f[_0x187c2b(_0xe3a3eb._0x394481,_0xe3a3eb._0x585275,_0xe3a3eb._0x27f10b,_0xe3a3eb._0x3e94b0)]+'\x20('+_0x4bbc3f['kind']+')\x20'+locationPath(_0x4bbc3f[_0x3f15ce(0x417,_0xe3a3eb._0x4ccb9a,_0xe3a3eb._0x52a878,_0xe3a3eb._0x53691c)][_0x187c2b(_0xe3a3eb._0x1b209f,0x6d0,_0xe3a3eb._0x3189b9,0x58b)])+':'+(_0x4bbc3f[_0x3f15ce(_0xe3a3eb._0x373977,_0xe3a3eb._0x183a70,0x29b,0x572)][_0x187c2b(_0xe3a3eb._0x20fbdd,0x299,_0xe3a3eb._0x1b3b73,_0xe3a3eb._0x37d8d9)][_0x3f15ce(0x3c8,_0xe3a3eb._0x5dd323,0x274,0x52f)][_0x3f15ce(_0xe3a3eb._0x2574b2,_0xe3a3eb._0x38c19e,_0xe3a3eb._0x38de78,_0xe3a3eb._0x5ca55c)]+0x1)+':'+(_0x4bbc3f[_0x3f15ce(0x417,_0xe3a3eb._0x299781,0x3ac,0x38a)][_0x187c2b(0x2be,0x27c,_0xe3a3eb._0x54ca15,_0xe3a3eb._0x3a20ac)][_0x187c2b(0x335,0x38a,_0xe3a3eb._0x1a332a,_0xe3a3eb._0x49dabe)][_0x3f15ce(0x551,_0xe3a3eb._0x9b7890,_0xe3a3eb._0x4ca557,_0xe3a3eb._0x127647)]+0x1);})['join']('\x0a');}function formatDiagnostics(_0x3f3b77){const _0x5a3cdf={_0x38d882:0x362,_0x592ea0:0x4c1,_0x3a7bec:0x411,_0x5e38a7:0x2d1,_0x4fdaf6:0xa8},_0x235675={_0x127ab9:0x23a,_0x4db4b5:0x464,_0x37a298:0x374,_0x5267d0:0x441,_0x57cf15:0x615,_0x12a14d:0x4e2,_0x4ba8d8:0x5a4,_0x1c048b:0x527,_0x67e458:0x4fb,_0x4f354a:0x3d8,_0x2a9a25:0x25d},_0x420e65={_0x4f056f:0xd3},_0x3452={_0x78fcb0:0x220,_0x4a46bd:0x129},_0x24a45a={_0x443065:0xaf,_0x465a8c:0x160};function _0x3347f2(_0x295a98,_0x4fb5ce,_0x47bf37,_0x1512de){return _0x42cde8(_0x295a98-_0x24a45a._0x443065,_0x295a98- -0x1c2,_0x47bf37-_0x24a45a._0x465a8c,_0x1512de);}if(_0x3f3b77[_0x3347f2(-0x270,-0x381,-0x1b9,-_0x5a3cdf._0x38d882)]===0x0)return _0x474800(_0x5a3cdf._0x592ea0,0x380,0x2a0,0x4a4);function _0x474800(_0x1553d3,_0x4278b9,_0x563511,_0xdfc0ab){return _0x42cde8(_0x1553d3-0x1bb,_0x4278b9-_0x3452._0x78fcb0,_0x563511-_0x3452._0x4a46bd,_0x1553d3);}return _0x3f3b77[_0x474800(0x543,_0x5a3cdf._0x3a7bec,_0x5a3cdf._0x5e38a7,0x52c)](_0x223d02=>{const _0x3d37e7={_0x3b6e1e:0x658,_0x170711:0x1da};function _0x4ca21c(_0x238a57,_0xa4ca51,_0x502fa4,_0x468871){return _0x3347f2(_0xa4ca51-_0x3d37e7._0x3b6e1e,_0xa4ca51-0xa6,_0x502fa4-_0x3d37e7._0x170711,_0x238a57);}const _0x454c64=_0x223d02[_0x4ca21c(_0x235675._0x127ab9,0x3a4,_0x235675._0x4db4b5,0x3c1)][_0x4ca21c(_0x235675._0x37a298,0x41b,_0x235675._0x5267d0,0x590)];function _0x3d1972(_0x44a385,_0x237830,_0x1f2b33,_0x4c7c1b){return _0x3347f2(_0x237830-0x713,_0x237830-_0x420e65._0x4f056f,_0x1f2b33-0x61,_0x1f2b33);}return severityName(_0x223d02[_0x3d1972(0x6be,0x592,_0x235675._0x57cf15,0x46a)])+'\x20['+(_0x454c64['line']+0x1)+':'+(_0x454c64[_0x4ca21c(_0x235675._0x12a14d,_0x235675._0x4ba8d8,_0x235675._0x1c048b,0x482)]+0x1)+']\x20'+_0x223d02[_0x4ca21c(_0x235675._0x67e458,_0x235675._0x4f354a,_0x235675._0x2a9a25,0x49f)];})[_0x3347f2(-0x151,-0x204,-_0x5a3cdf._0x4fdaf6,0x18)]('\x0a');}function formatIncomingCalls(_0x560fdc){const _0x15b23f={_0x1fa9b1:0x201,_0x4e7954:0x200,_0x4a2dbe:0x1be,_0xdf8755:0x1e3,_0xe1460b:0x8b,_0x3d3aa4:0x306,_0x5da185:0x392,_0x5e9fb5:0x277},_0x1ce1de={_0x3a2558:0x11b};function _0x3b7338(_0x45dfcd,_0x19ec49,_0x255dfd,_0x528d06){return _0x48c1e5(_0x19ec49- -0x409,_0x19ec49-0x30,_0x45dfcd,_0x528d06-_0x1ce1de._0x3a2558);}if(_0x560fdc['length']===0x0)return _0x3b7338(-_0x15b23f._0x1fa9b1,-_0x15b23f._0x4e7954,-0xcf,-_0x15b23f._0x4a2dbe);function _0x510605(_0x2b1185,_0x38cfa7,_0x1b4c8e,_0x123e7e){return _0x42cde8(_0x2b1185-0xb2,_0x123e7e-0x206,_0x1b4c8e-0x71,_0x2b1185);}return _0x560fdc[_0x3b7338(0x160,0xb3,_0x15b23f._0xdf8755,_0x15b23f._0xe1460b)](_0x34d7d7=>_0x34d7d7[_0x3b7338(-0x316,-0x242,-0x1ef,-0x108)][_0x3b7338(-0x1dd,-0x145,-0x214,-0x180)])[_0x510605(0x1b5,_0x15b23f._0x3d3aa4,_0x15b23f._0x5da185,_0x15b23f._0x5e9fb5)]('\x0a');}function formatOutgoingCalls(_0x41d2c5){const _0x5201e8={_0x3dcf3b:0xcd,_0x1adac5:0x12d,_0x4783e8:0x10f,_0x51de7a:0x2f,_0xc18334:0x194,_0x58b13a:0x110,_0x324799:0x33},_0x1eae76={_0x195181:0x147},_0x39b5d3={_0x493b39:0x309,_0x46d9c7:0x11};function _0x29b122(_0x25fbb5,_0x5cc531,_0x238aab,_0x2f44e4){return _0x48c1e5(_0x5cc531- -_0x39b5d3._0x493b39,_0x5cc531-0xef,_0x25fbb5,_0x2f44e4-_0x39b5d3._0x46d9c7);}if(_0x41d2c5[_0x29b122(-_0x5201e8._0x3dcf3b,-0xec,-_0x5201e8._0x1adac5,-_0x5201e8._0x4783e8)]===0x0)return _0xdd78cb(0x8e,0x166,_0x5201e8._0x51de7a,_0x5201e8._0xc18334);function _0xdd78cb(_0x393bf6,_0x49b3ad,_0x3c59bf,_0x1148ac){return _0x42cde8(_0x393bf6-_0x1eae76._0x195181,_0x393bf6-0x150,_0x3c59bf-0x1e4,_0x49b3ad);}return _0x41d2c5['map'](_0x593dfb=>_0x593dfb['to'][_0x29b122(0x11f,-0x45,-0x13f,-0x143)])[_0x29b122(-_0x5201e8._0x58b13a,_0x5201e8._0x324799,-0x14c,0xf0)]('\x0a');}function _0x48c1e5(_0x2d5547,_0x38b400,_0x5442e1,_0x1403d5){const _0x14a884={_0x511bb7:0x128};return _0x59f9(_0x2d5547-_0x14a884._0x511bb7,_0x5442e1);}function toStructured(_0x5c759f){const _0x288d0c={_0x2a5965:0x190,_0xfa261:0x64},_0x5715b9={_0x4cdd9e:0x1cc,_0x365619:0x1a0,_0x59aaf4:0x4};function _0x27cdae(_0x3137e4,_0x4941d2,_0x1487e1,_0x5b36bd){return _0x42cde8(_0x3137e4-_0x5715b9._0x4cdd9e,_0x4941d2- -_0x5715b9._0x365619,_0x1487e1-_0x5715b9._0x59aaf4,_0x1487e1);}function _0x5bda66(_0x153e67,_0x15a72e,_0x58edbc,_0x23f988){return _0x42cde8(_0x153e67-_0x288d0c._0x2a5965,_0x153e67- -0x22f,_0x58edbc-_0x288d0c._0xfa261,_0x58edbc);}return JSON[_0x27cdae(0x26,-0xa6,-0xb6,-0x20a)](JSON[_0x27cdae(-0x96,-0x59,-0xb5,-0x165)](_0x5c759f));}async function assertFile(_0x539d40){const _0x3f3373={_0xed05dd:0x30e},_0x1ccb54={_0x48e026:0x67};function _0x55c615(_0x2fcba8,_0x10b2af,_0x5b60f9,_0x29ebb2){return _0x48c1e5(_0x2fcba8-0x32,_0x10b2af-_0x1ccb54._0x48e026,_0x5b60f9,_0x29ebb2-0xa);}const _0x57390a=await _0x335487(_0x539d40);if(!_0x57390a['isFile']())throw new ToolExecutionError(_0x55c615(0x244,_0x3f3373._0xed05dd,0x306,0x299)+_0x539d40,{'path':_0x539d40});}function validatePosition(_0x3e1b78,_0x4c3fc3){const _0x310e08={_0x1af23f:0x4b5,_0x10698a:0x54b,_0x4038a0:0x4f0,_0x182c17:0x4fb,_0x7041db:0x33e,_0x5434c6:0x2e7,_0x1e67d3:0x1ad},_0x30ecce={_0x2b161f:0x18f,_0x2fa389:0x53e},_0x339486={_0x5b3e1c:0x12e};if(!Number[_0x57d6ef(0x4e2,0x3ce,0x43b,_0x310e08._0x1af23f)](_0x3e1b78)||_0x3e1b78<0x1)throw new ToolExecutionError(_0x57d6ef(0x59f,_0x310e08._0x10698a,0x636,_0x310e08._0x4038a0),{'line':_0x3e1b78});function _0x12f2b3(_0x356fbd,_0x4e7cf1,_0x32d852,_0x36912a){return _0x42cde8(_0x356fbd-_0x339486._0x5b3e1c,_0x36912a- -0x137,_0x32d852-0xfa,_0x32d852);}function _0x57d6ef(_0x49a60f,_0x356856,_0x450c40,_0x337757){return _0x42cde8(_0x49a60f-_0x30ecce._0x2b161f,_0x450c40-_0x30ecce._0x2fa389,_0x450c40-0x11f,_0x337757);}if(!Number[_0x57d6ef(_0x310e08._0x182c17,_0x310e08._0x7041db,0x43b,0x356)](_0x4c3fc3)||_0x4c3fc3<0x1)throw new ToolExecutionError(_0x12f2b3(-_0x310e08._0x5434c6,-_0x310e08._0x1e67d3,-0x2e1,-0x189),{'character':_0x4c3fc3});}function createLspTool(_0x596ae0={}){const _0x23cffb={_0x16b1db:0x578,_0x2d4018:0x589,_0x27182f:0x242,_0x3e4401:0x1b3,_0x307639:0x263,_0x5bfc67:0x499,_0x57457b:0x4f5,_0x51c664:0x536,_0x241c70:0x201,_0x592721:0x213,_0x47e327:0x311,_0x16d1c1:0x1f0,_0x157457:0x21b,_0x2ba892:0x24a,_0x5891eb:0x2b7,_0x2f9cc2:0x69,_0x2bd5d7:0x24,_0x131077:0x11d,_0x243eaf:0x3b6,_0x40f3f7:0x6ef,_0x3dd8ba:0x6de,_0x12a4df:0x5c1,_0x4c51e5:0x604,_0x3c14dd:0x875,_0x169b13:0x5d8,_0x59ea49:0x6e3,_0x539342:0x5fa,_0x249c8c:0x737,_0xe9a33a:0x5b0,_0x6e51de:0x617},_0x4e84e4={_0x1ca5e1:0x26d,_0x5f3bd5:0x1b1,_0x14ad80:0x92,_0x415e70:0x1d1,_0x43b999:0xe8,_0x31976f:0x131,_0x284ee4:0x16b,_0x453888:0xad,_0x42b75b:0x1ae,_0x4be9a1:0x303,_0xff5d1e:0x1bf,_0x332c61:0x90,_0xc34fb:0x9,_0x47b7d0:0x71,_0x18f3e5:0x404,_0x25baab:0x1ca,_0x4a97b6:0x14d,_0x4428d0:0x194,_0x1212b8:0x53,_0x394830:0x188,_0x4cb2c3:0xce,_0xff1047:0x3c7,_0x396088:0x2a9,_0xdb52cc:0x3aa,_0x548602:0x212,_0x2845d9:0x303,_0x4a58fd:0x205,_0x4558e8:0x2d7,_0xe9352:0x174,_0x3b9196:0x3f,_0x4d1106:0x102,_0x42b035:0x16d,_0x3ff87f:0x2e4,_0x8c56d1:0x2ee,_0x3c63c8:0x205,_0x3ed4e2:0x207,_0x3e87b5:0x205,_0x4252fd:0x203,_0x40414b:0xfb,_0xbb9c53:0x20d,_0x262278:0x232,_0x1d5628:0xe7,_0x551aab:0x2da,_0x4a01ee:0x20c,_0x1aea40:0x1b9,_0x36fe67:0xb3,_0x490bc8:0x48,_0x5e0d4e:0x5b,_0x4e5aed:0x54,_0x6bf1c8:0x12c,_0x31ce2a:0x60,_0x1994ea:0x286,_0x3d6a1c:0x3bc,_0x559c46:0x298,_0x4a1f2c:0x166,_0xca4cf6:0x1cb,_0x12df71:0x7e,_0x246bd1:0x84,_0x1c0345:0xd1,_0x3a66c:0x51,_0x16067a:0x230,_0x3e3951:0x16f},_0x7123ac={_0x596e58:0x9f,_0x299a0d:0x43},_0x5627e7={_0x1df18b:0x2b9,_0x2b58bd:0xdc},_0x2449bb={_0x2e1dbe:0x119},_0x2d3025=_0x5ef303['resolve'](_0x596ae0[_0x5eeec1(0x6c7,_0x23cffb._0x16b1db,_0x23cffb._0x2d4018,0x622)]??process['cwd']());function _0x177686(_0x133060,_0x2afa62,_0x4db9ca,_0x31b1f3){return _0x48c1e5(_0x4db9ca- -0x111,_0x2afa62-0x26,_0x2afa62,_0x31b1f3-_0x2449bb._0x2e1dbe);}const _0x526454=_0x596ae0['allowedDirs']??[];function _0x5eeec1(_0x1a340d,_0x4b17e1,_0x1a3610,_0x5af767){return _0x48c1e5(_0x4b17e1-_0x5627e7._0x1df18b,_0x4b17e1-0xe0,_0x1a340d,_0x5af767-_0x5627e7._0x2b58bd);}const _0x147dd9=_0x596ae0[_0x177686(_0x23cffb._0x27182f,0xcc,_0x23cffb._0x3e4401,_0x23cffb._0x307639)]??'Lsp';return defineTool({'name':_0x147dd9,'description':_0x5eeec1(_0x23cffb._0x5bfc67,0x4e3,_0x23cffb._0x57457b,_0x23cffb._0x51c664),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x177686(_0x23cffb._0x241c70,_0x23cffb._0x592721,_0x23cffb._0x47e327,0x2b3),'enum':[_0x177686(0x364,_0x23cffb._0x16d1c1,_0x23cffb._0x157457,0x379),_0x177686(0x306,0x2f9,_0x23cffb._0x2ba892,0x1a9),_0x177686(0x2e5,0x2d9,_0x23cffb._0x5891eb,0x2ec),_0x177686(0x19f,0x12,0x169,-0x15),_0x177686(0x12f,-_0x23cffb._0x2f9cc2,0x110,_0x23cffb._0x2bd5d7),_0x177686(_0x23cffb._0x131077,0xc3,0x23e,_0x23cffb._0x243eaf),_0x5eeec1(0x705,_0x23cffb._0x40f3f7,_0x23cffb._0x3dd8ba,_0x23cffb._0x12a4df),_0x5eeec1(0x6c2,0x752,_0x23cffb._0x4c51e5,_0x23cffb._0x3c14dd),_0x5eeec1(0x5cf,_0x23cffb._0x169b13,0x553,_0x23cffb._0x59ea49),'diagnostics']},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':_0x5eeec1(0x597,_0x23cffb._0x539342,0x4a7,0x751)},'query':{'type':'string'}},'required':['operation',_0x5eeec1(_0x23cffb._0x249c8c,0x66e,0x68d,_0x23cffb._0xe9a33a),_0x5eeec1(0x52f,_0x23cffb._0x6e51de,0x732,0x520),'character']},async *'execute'(_0x189663){const _0x1fd86a={_0x500d00:0x1bd},_0x10714f=_0x596ae0[_0x2fd279(0x308,_0x4e84e4._0x1ca5e1,_0x4e84e4._0x5f3bd5,0x13a)];if(!_0x10714f)throw new ToolExecutionError(_0x2fd279(_0x4e84e4._0x14ad80,_0x4e84e4._0x415e70,_0x4e84e4._0x43b999,_0x4e84e4._0x31976f));if(!_0x10714f[_0x25eadd(0x1a9,0x105,_0x4e84e4._0x284ee4,_0x4e84e4._0x453888)]())throw new ToolExecutionError(_0x25eadd(0x76,0x31e,0x1c5,_0x4e84e4._0x42b75b));const _0x2b2a2e=_0x189663[_0x25eadd(0x52,0x28d,0x1bc,_0x4e84e4._0x4be9a1)];validatePosition(_0x189663[_0x25eadd(0x8e,_0x4e84e4._0xff5d1e,_0x4e84e4._0x332c61,-_0x4e84e4._0xc34fb)],_0x189663['character']);if(_0x2b2a2e===_0x2fd279(0x74,-0xa2,_0x4e84e4._0x47b7d0,-0x9e)){if(!_0x189663[_0x2fd279(0x1fd,_0x4e84e4._0x18f3e5,0x2a9,_0x4e84e4._0x25baab)]?.[_0x25eadd(_0x4e84e4._0x4a97b6,0x7,0xcf,_0x4e84e4._0x4428d0)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x4e4214=await _0x10714f[_0x2fd279(0x13,-_0x4e84e4._0x1212b8,0x71,-0x79)](_0x189663[_0x25eadd(0x81,0x230,0x18b,_0x4e84e4._0x394830)][_0x25eadd(-0x6d,_0x4e84e4._0x4cb2c3,0xcf,0x1e4)]());return yield createToolOutput(formatSymbols(_0x4e4214),{'operation':_0x2b2a2e,'query':_0x189663[_0x2fd279(_0x4e84e4._0xff1047,0x388,_0x4e84e4._0x396088,_0x4e84e4._0xdb52cc)],'symbols':_0x4e4214}),void 0x0;}const _0x5cda8d=resolveAllowedPath(_0x2d3025,_0x526454,_0x189663[_0x2fd279(_0x4e84e4._0x548602,_0x4e84e4._0x2845d9,_0x4e84e4._0x4a58fd,_0x4e84e4._0x4558e8)]);await assertFile(_0x5cda8d);function _0x2fd279(_0x45cf27,_0x2799be,_0x208bcc,_0x3ef3da){return _0x177686(_0x45cf27-0x16d,_0x45cf27,_0x208bcc- -_0x7123ac._0x596e58,_0x3ef3da-_0x7123ac._0x299a0d);}if(!await _0x10714f[_0x25eadd(_0x4e84e4._0xe9352,_0x4e84e4._0x3b9196,_0x4e84e4._0x4d1106,_0x4e84e4._0x42b035)](_0x5cda8d))throw new ToolExecutionError(_0x25eadd(0xef,0x227,0x1c0,_0x4e84e4._0x3ff87f)+_0x189663[_0x2fd279(_0x4e84e4._0x8c56d1,0x352,_0x4e84e4._0x3c63c8,0x214)],{'filePath':_0x189663[_0x2fd279(_0x4e84e4._0x3ed4e2,0x338,_0x4e84e4._0x3e87b5,_0x4e84e4._0x4252fd)]});function _0x25eadd(_0x12dc35,_0x10908e,_0x4d2912,_0x1d56bd){return _0x177686(_0x12dc35-0x13b,_0x10908e,_0x4d2912- -_0x1fd86a._0x500d00,_0x1d56bd-0x4);}await _0x10714f[_0x2fd279(-0x8b,-0x8b,0x46,-_0x4e84e4._0x40414b)](_0x5cda8d,!![]);const _0x910c05={'file':_0x5cda8d,'line':_0x189663[_0x25eadd(0x99,0x1ae,0x90,0x15e)]-0x1,'character':_0x189663['character']-0x1};switch(_0x2b2a2e){case _0x25eadd(0xd6,_0x4e84e4._0xbb9c53,0xfa,_0x4e84e4._0x262278):{const _0x3f5281=await _0x10714f['hover'](_0x910c05);return yield createToolOutput(formatHover(_0x3f5281),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'hover':_0x3f5281}),void 0x0;}case _0x25eadd(0xc9,0x1fd,0x17b,_0x4e84e4._0x1d5628):{const _0x3f5628=await _0x10714f[_0x25eadd(0x2f,_0x4e84e4._0x551aab,0x1a5,_0x4e84e4._0x4a01ee)](_0x5cda8d);return yield createToolOutput(formatDiagnostics(_0x3f5628),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'diagnostics':_0x3f5628}),void 0x0;}case _0x25eadd(0x12d,0x10f,0x5e,0x123):{const _0x1e675a=await _0x10714f[_0x2fd279(0x1b0,0x1d1,_0x4e84e4._0x1aea40,0x211)](_0x910c05);return yield createToolOutput(formatLocations(_0x1e675a),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'locations':_0x1e675a}),void 0x0;}case _0x2fd279(_0x4e84e4._0x36fe67,0x1e9,0x1ab,0x2db):{const _0x431986=await _0x10714f['references'](_0x910c05);return yield createToolOutput(formatLocations(_0x431986),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'locations':_0x431986}),void 0x0;}case _0x2fd279(0x3a,0x2d7,0x19f,0x1da):{const _0x589167=await _0x10714f[_0x2fd279(0x87,0x18d,_0x4e84e4._0x490bc8,0x20)](_0x910c05);return yield createToolOutput(formatLocations(_0x589167),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'locations':_0x589167}),void 0x0;}case _0x25eadd(0x38,_0x4e84e4._0x5e0d4e,-_0x4e84e4._0x4e5aed,0x49):{const _0x2207c5=await _0x10714f[_0x25eadd(-_0x4e84e4._0x6bf1c8,-0x1ad,-0x54,-_0x4e84e4._0x31ce2a)](_0x5cda8d);return yield createToolOutput(formatSymbols(_0x2207c5),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'symbols':_0x2207c5}),void 0x0;}case'prepareCallHierarchy':{const _0x1a7902=await _0x10714f[_0x2fd279(0x345,0x285,_0x4e84e4._0x1994ea,_0x4e84e4._0x3d6a1c)](_0x910c05);return yield createToolOutput(formatSymbols(_0x1a7902),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'symbols':toStructured(_0x1a7902)}),void 0x0;}case _0x25eadd(_0x4e84e4._0x559c46,_0x4e84e4._0x4a1f2c,_0x4e84e4._0xca4cf6,0x2fd):{const _0x5a5c93=await _0x10714f[_0x25eadd(_0x4e84e4._0x12df71,_0x4e84e4._0x246bd1,_0x4e84e4._0xca4cf6,0x77)](_0x910c05);return yield createToolOutput(formatIncomingCalls(_0x5a5c93),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'calls':toStructured(_0x5a5c93)}),void 0x0;}case _0x25eadd(_0x4e84e4._0x1c0345,-0x41,_0x4e84e4._0x3a66c,0x74):{const _0x4632b4=await _0x10714f[_0x2fd279(0x2a4,_0x4e84e4._0x16067a,_0x4e84e4._0x3e3951,-0x9)](_0x910c05);return yield createToolOutput(formatOutgoingCalls(_0x4632b4),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'calls':toStructured(_0x4632b4)}),void 0x0;}}}});}import{randomUUID as _0x2d459f}from'crypto';import{mkdir as _0x46f8a2,readFile as _0x2e8ce0,writeFile as _0x9fc916}from'fs/promises';import{join as _0x4aeb1b}from'path';function sanitizeStorageKey(_0x1feb4c){const _0x2c3e05={_0x36e53e:0x7e4,_0x54876a:0x625,_0x103c66:0x5b0,_0x1399c7:0x561,_0x112c90:0x591,_0x47e607:0x63f,_0x563e2e:0x52f};function _0xb352e8(_0x269c83,_0x3372e4,_0x238799,_0x362783){return _0x42cde8(_0x269c83-0xd0,_0x269c83-0x401,_0x238799-0x14b,_0x362783);}function _0xdfba27(_0x2be820,_0x554306,_0x54a502,_0x4b9ee5){return _0x42cde8(_0x2be820-0x196,_0x554306-0x521,_0x54a502-0x169,_0x54a502);}return _0x1feb4c[_0xdfba27(0x84d,0x6d0,_0x2c3e05._0x36e53e,_0x2c3e05._0x54876a)](/[^a-zA-Z0-9_]+/g,'_')[_0xb352e8(_0x2c3e05._0x103c66,0x6ab,_0x2c3e05._0x1399c7,0x4dc)](/^_+|_+$/g,'')||_0xb352e8(_0x2c3e05._0x112c90,_0x2c3e05._0x47e607,_0x2c3e05._0x563e2e,0x58a);}function storagePath(_0x18e6ff){const _0x125361={_0x4201d4:0xbb,_0xe76948:0x7b,_0x1093e2:0x6e,_0x83ba19:0x653,_0xbf2111:0x625,_0x9a99a0:0x5de,_0x233166:0x565,_0x32b955:0x63c,_0x49adf3:0x13,_0x465ec9:0x78,_0x2770f4:0x1ed,_0xea2e83:0x159,_0x46995e:0x245},_0x4052bc={_0x2b3e25:0x121,_0x7b3485:0x108,_0x212863:0x61},_0x1e77a3={_0x5ab1ab:0x198,_0x3b3b70:0x142},_0x26fae1=sanitizeStorageKey(_0x18e6ff['config'][_0x5d31e4(-_0x125361._0x4201d4,-_0x125361._0xe76948,0x5e,-_0x125361._0x1093e2)]?.[_0x26b7ae(_0x125361._0x83ba19,_0x125361._0xbf2111,_0x125361._0x9a99a0,_0x125361._0x233166)]??_0x18e6ff[_0x26b7ae(0x42f,0x42a,_0x125361._0x32b955,0x529)]);function _0x26b7ae(_0x1c0f7a,_0x316a16,_0x364aa5,_0x334dd6){return _0x48c1e5(_0x334dd6-_0x1e77a3._0x5ab1ab,_0x316a16-0x66,_0x364aa5,_0x334dd6-_0x1e77a3._0x3b3b70);}function _0x5d31e4(_0x5520b2,_0x287d53,_0x448e1f,_0x35b309){return _0x42cde8(_0x5520b2-_0x4052bc._0x2b3e25,_0x287d53- -_0x4052bc._0x7b3485,_0x448e1f-_0x4052bc._0x212863,_0x5520b2);}return _0x4aeb1b(_0x18e6ff[_0x5d31e4(0xd2,0xc9,_0x125361._0x49adf3,0x6c)],_0x26fae1+_0x5d31e4(-_0x125361._0x465ec9,-_0x125361._0x2770f4,-_0x125361._0xea2e83,-_0x125361._0x46995e));}async function readStore(_0x5041f5){const _0x32c075={_0x2b38e2:0x273,_0x1c8a31:0x1f2,_0x49d1cf:0x757,_0x115957:0x54a,_0x3dc8dd:0x73f,_0x38cf8d:0x578,_0x27ff1b:0x5d8},_0x161a80={_0x7a5383:0x4f},_0xc16eec={_0x2d966c:0x163};function _0x4d1519(_0x46cd96,_0x18ffb0,_0x4f81b8,_0x56c158){return _0x42cde8(_0x46cd96-_0xc16eec._0x2d966c,_0x56c158-0xf8,_0x4f81b8-0x94,_0x4f81b8);}function _0x363062(_0x4b5a47,_0x229598,_0x58c30d,_0xfc4028){return _0x48c1e5(_0x58c30d-0x1fa,_0x229598-_0x161a80._0x7a5383,_0x229598,_0xfc4028-0xde);}try{return JSON[_0x4d1519(0x92,0x2ea,_0x32c075._0x2b38e2,_0x32c075._0x1c8a31)](await _0x2e8ce0(_0x5041f5,'utf8'));}catch(_0xc249e4){if(_0xc249e4 instanceof Error&&_0x363062(_0x32c075._0x49d1cf,_0x32c075._0x115957,0x68f,_0x32c075._0x3dc8dd)in _0xc249e4&&_0xc249e4[_0x363062(_0x32c075._0x38cf8d,0x67b,0x68f,_0x32c075._0x27ff1b)]==='ENOENT')return{};throw _0xc249e4;}}async function writeStore(_0x57cab7,_0x1463ba){const _0x3b518a={_0xf60fb:0x3b0,_0x578eb3:0x32c,_0x2d0b64:0x2c6,_0x11cc22:0x204,_0x31e765:0x352,_0x4079f2:0x213},_0x45f908={_0x33da4e:0x2f,_0x3bba5d:0x31d},_0x2b3458={_0x2459f7:0x73,_0x9bbcff:0x118,_0xb8d826:0x13b};function _0x5872cb(_0x5e8277,_0x596ac6,_0x1185ff,_0x4115b7){return _0x48c1e5(_0x4115b7- -_0x2b3458._0x2459f7,_0x596ac6-_0x2b3458._0x9bbcff,_0x596ac6,_0x4115b7-_0x2b3458._0xb8d826);}await _0x46f8a2(_0x4aeb1b(_0x57cab7,'..'),{'recursive':!![]});function _0x2ec764(_0x23a878,_0x326d7b,_0x8e629a,_0x5d3a6f){return _0x42cde8(_0x23a878-_0x45f908._0x33da4e,_0x23a878-_0x45f908._0x3bba5d,_0x8e629a-0x5c,_0x5d3a6f);}await _0x9fc916(_0x57cab7,JSON[_0x5872cb(0x3af,_0x3b518a._0xf60fb,_0x3b518a._0x578eb3,0x39f)](_0x1463ba,null,0x2),_0x5872cb(_0x3b518a._0x2d0b64,_0x3b518a._0x11cc22,_0x3b518a._0x31e765,_0x3b518a._0x4079f2));}async function updateStore(_0x4d74aa,_0x2f3bd3){const _0x70782=await readStore(_0x4d74aa);_0x2f3bd3(_0x70782),await writeStore(_0x4d74aa,_0x70782);}function createMcpOAuthProvider(_0x2b7dad){const _0x1c81e3={_0x309d38:0x34e,_0x4c81f9:0x3bf,_0x55c2bb:0x3ef,_0x241f8a:0x38f,_0xbfb78:0xd1,_0x363bc6:0x75,_0x3c7f7b:0x229,_0x52c74f:0x22f,_0x28c013:0x2e,_0x366c8c:0xe8,_0x3234a7:0x7f,_0x11a8dd:0x198,_0x54e8c6:0x1bd,_0x57837d:0x239,_0x1562f1:0x236,_0x306b2c:0xd,_0xca8403:0x27,_0x42c7ca:0x421,_0x328466:0x4d5,_0x5ac4f3:0x357,_0x32d099:0x1eb,_0x369328:0x42b,_0x15c92e:0x3d8,_0x4101c1:0x45b,_0x33999d:0xf7},_0x29d8ea={_0x25886e:0x5e0,_0x2a42e7:0x5d0,_0x3015e3:0x45e},_0x160cd9={_0x2a52e1:0x480,_0x27eeb1:0x376},_0x317b7e={_0x31b93e:0x65b},_0x48ac52={_0x28c48c:0x1fe,_0x11c687:0x483,_0x5efc4d:0x32e,_0x9554e0:0x24b},_0x17c26a={_0x1a4a04:0x1c6,_0xff693:0x80,_0x45af74:0x1d},_0x10d29e={_0x3c1418:0x2b3},_0x48c33c={_0x11e279:0xfe,_0x1d3737:0x151,_0x4ea642:0x48,_0x221afe:0x186},_0x47c823={_0x2a1060:0x11e,_0x18832a:0x56,_0x6d9d4a:0x296},_0xf1e3bd={_0x4d20d1:0x3a,_0x1ebd3f:0x10e},_0x361c45={_0x1b3956:0x5b8,_0x442beb:0x432,_0x3d42ae:0x450},_0x1b7d61={_0x4cd358:0x36a,_0x2b556b:0xb},_0x9cde4f={_0x187851:0x13e,_0x9f2454:0x3f},_0x43c586=storagePath(_0x2b7dad),_0x23a57d=_0x2b7dad[_0x2f190d(_0x1c81e3._0x309d38,0x2d7,0x486,_0x1c81e3._0x4c81f9)][_0x2f190d(0x4be,_0x1c81e3._0x55c2bb,0x5c4,_0x1c81e3._0x241f8a)]?.[_0x55c2f0(_0x1c81e3._0xbfb78,-_0x1c81e3._0x363bc6,_0x1c81e3._0x3c7f7b,_0x1c81e3._0x52c74f)]?.[_0x55c2f0(-_0x1c81e3._0x28c013,-_0x1c81e3._0x366c8c,-0xd5,0xee)]('\x20');function _0x2f190d(_0x424835,_0x4e9fb2,_0x28d49b,_0x10ac81){return _0x42cde8(_0x424835-_0x9cde4f._0x187851,_0x424835-0x431,_0x28d49b-_0x9cde4f._0x9f2454,_0x28d49b);}function _0x55c2f0(_0x4b9958,_0x398b4f,_0x24580b,_0x3716cc){return _0x48c1e5(_0x4b9958- -_0x1b7d61._0x4cd358,_0x398b4f-0xcb,_0x398b4f,_0x3716cc-_0x1b7d61._0x2b556b);}const _0x5d6b19={'client_name':'Nuvin','redirect_uris':[_0x2b7dad[_0x55c2f0(-_0x1c81e3._0x3234a7,-0x61,-_0x1c81e3._0x11a8dd,-_0x1c81e3._0x54e8c6)]],'grant_types':[_0x55c2f0(-0x180,-0x111,-_0x1c81e3._0x57837d,-_0x1c81e3._0x1562f1),'refresh_token'],'response_types':[_0x55c2f0(0x12b,0x195,_0x1c81e3._0x306b2c,_0x1c81e3._0xca8403)],'token_endpoint_auth_method':_0x2f190d(_0x1c81e3._0x42c7ca,0x394,_0x1c81e3._0x328466,_0x1c81e3._0x5ac4f3),..._0x23a57d?{'scope':_0x23a57d}:{}};return{'clientMetadataUrl':_0x2b7dad[_0x2f190d(0x34e,_0x1c81e3._0x32d099,_0x1c81e3._0x369328,0x415)][_0x2f190d(0x4be,_0x1c81e3._0x15c92e,_0x1c81e3._0x4101c1,0x360)]?.[_0x55c2f0(0xa3,_0x1c81e3._0x33999d,0x12e,-0x70)],get 'redirectUrl'(){const _0x590bd6={_0x20c173:0x86,_0x2763d1:0x1af,_0x1745d4:0x195};function _0x342ed6(_0x49927e,_0x2f8d38,_0x5f0c6b,_0x444293){return _0x2f190d(_0x49927e-_0x590bd6._0x20c173,_0x2f8d38-_0x590bd6._0x2763d1,_0x5f0c6b,_0x444293-_0x590bd6._0x1745d4);}return _0x2b7dad[_0x342ed6(0x4d7,_0x361c45._0x1b3956,_0x361c45._0x442beb,_0x361c45._0x3d42ae)];},get 'clientMetadata'(){return _0x5d6b19;},async 'state'(){const _0xba2df2={_0x408054:0x32b},_0x34de9c={_0x381785:0xe1,_0xfd08d5:0x171};function _0x157d37(_0x470d98,_0x2b8ab0,_0x2f2619,_0x599753){return _0x2f190d(_0x2b8ab0- -0x120,_0x2b8ab0-_0xf1e3bd._0x4d20d1,_0x599753,_0x599753-_0xf1e3bd._0x1ebd3f);}const _0x54e80f=await readStore(_0x43c586);function _0x5ab7d7(_0x3ce79c,_0x3b45fe,_0x5a4562,_0x2c3498){return _0x55c2f0(_0x2c3498- -_0x34de9c._0x381785,_0x3b45fe,_0x5a4562-_0x34de9c._0xfd08d5,_0x2c3498-0x110);}if(_0x54e80f[_0x5ab7d7(-_0x48c33c._0x11e279,-_0x48c33c._0x1d3737,0xd6,-_0x48c33c._0x4ea642)])return _0x54e80f[_0x5ab7d7(-_0x48c33c._0x221afe,-0x42,-0x136,-0x48)];const _0x58db37=_0x2d459f();return await updateStore(_0x43c586,_0x2784f5=>{function _0x43fcea(_0x16d78d,_0x25ae89,_0x2c2d94,_0x5c0795){return _0x157d37(_0x16d78d-0x1bb,_0x25ae89- -_0xba2df2._0x408054,_0x2c2d94-0x1a8,_0x16d78d);}_0x2784f5[_0x43fcea(0x1f6,_0x47c823._0x2a1060,-_0x47c823._0x18832a,_0x47c823._0x6d9d4a)]=_0x58db37;}),_0x58db37;},async 'clientInformation'(){function _0x4c29c6(_0x143afd,_0x325485,_0x15f96c,_0x752ab2){return _0x2f190d(_0x15f96c- -_0x10d29e._0x3c1418,_0x325485-0xca,_0x143afd,_0x752ab2-0x97);}return(await readStore(_0x43c586))[_0x4c29c6(-0x2d,_0x17c26a._0x1a4a04,_0x17c26a._0xff693,-_0x17c26a._0x45af74)];},async 'saveClientInformation'(_0x1a32cc){await updateStore(_0x43c586,_0x1a9eb7=>{const _0x15fa64={_0x456568:0x289};function _0x5137e0(_0x5bcebd,_0x3a0705,_0x32dd39,_0x3f5418){return _0x59f9(_0x32dd39-_0x15fa64._0x456568,_0x5bcebd);}_0x1a9eb7[_0x5137e0(_0x48ac52._0x28c48c,_0x48ac52._0x11c687,_0x48ac52._0x5efc4d,_0x48ac52._0x9554e0)]=_0x1a32cc;});},async 'tokens'(){return(await readStore(_0x43c586))['tokens'];},async 'saveTokens'(_0x5cce44){const _0x25cc1e={_0x1286a3:0x32};await updateStore(_0x43c586,_0x3800ff=>{function _0x521698(_0x450e80,_0x724f4e,_0x1f86cf,_0x1dd6c2){return _0x59f9(_0x724f4e- -0x171,_0x1f86cf);}_0x3800ff[_0x521698(0xb3,0x126,_0x25cc1e._0x1286a3,0x163)]=_0x5cce44;});},async 'redirectToAuthorization'(_0x12868a){const _0x380079={_0x6e891:0x583,_0x488466:0x92};function _0x277dd2(_0x213036,_0x36ae55,_0x5512ce,_0xc36ea1){return _0x55c2f0(_0x213036-_0x380079._0x6e891,_0xc36ea1,_0x5512ce-_0x380079._0x488466,_0xc36ea1-0x9c);}await _0x2b7dad[_0x277dd2(_0x317b7e._0x31b93e,0x6de,0x651,0x6c6)](_0x12868a);},async 'saveCodeVerifier'(_0x3f9a1a){const _0x4a7cd2={_0x5b265e:0x132,_0x967606:0x1f8,_0x5dce24:0x340};await updateStore(_0x43c586,_0x2f8c9a=>{function _0x28543b(_0x1da53e,_0x51266d,_0x3df7ec,_0x4b77fb){return _0x59f9(_0x3df7ec-0xc9,_0x4b77fb);}_0x2f8c9a[_0x28543b(0x2af,_0x4a7cd2._0x5b265e,_0x4a7cd2._0x967606,_0x4a7cd2._0x5dce24)]=_0x3f9a1a;});},async 'codeVerifier'(){const _0x3cfe4d={_0x38c703:0x5f1};function _0x75efea(_0x1c72e7,_0x17f661,_0x4099e7,_0x4a9cb7){return _0x55c2f0(_0x4a9cb7-_0x3cfe4d._0x38c703,_0x4099e7,_0x4099e7-0x8e,_0x4a9cb7-0x152);}const _0x485f31=(await readStore(_0x43c586))[_0x75efea(_0x160cd9._0x2a52e1,_0x160cd9._0x27eeb1,0x5b0,0x4de)];if(!_0x485f31)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x485f31;},async 'invalidateCredentials'(_0xf91992){const _0x414a8c={_0x158ba5:0x262,_0xa71ad6:0x2e0,_0x45c95a:0x249,_0x12a186:0x2b3,_0x697b2c:0x61a,_0x39ebb7:0x627,_0xe0d5dd:0x1e9,_0x272bbe:0x26e,_0x4eaa12:0x4f6,_0x2518e9:0x1f9,_0xfb8e6c:0x300,_0x5b1721:0x3f5,_0x5959a0:0x67d,_0x44a459:0x62f,_0x1ef9db:0x5f4};await updateStore(_0x43c586,_0x371a64=>{function _0x4d4832(_0x25bef5,_0x57ab03,_0x3875ca,_0x110b09){return _0x59f9(_0x57ab03-0x32e,_0x3875ca);}(_0xf91992===_0x7a118e(0x271,0x3a6,0x3bf,0x4da)||_0xf91992===_0x7a118e(_0x414a8c._0x158ba5,0x230,_0x414a8c._0xa71ad6,_0x414a8c._0x45c95a))&&(_0x371a64[_0x4d4832(_0x414a8c._0x12a186,0x3d3,0x430,0x35c)]=void 0x0);(_0xf91992===_0x7a118e(0x444,0x26e,0x3bf,0x3ae)||_0xf91992===_0x4d4832(_0x414a8c._0x697b2c,0x5c5,0x4c5,0x6d7))&&(_0x371a64['tokens']=void 0x0);(_0xf91992===_0x4d4832(0x48b,0x5cd,_0x414a8c._0x39ebb7,0x49f)||_0xf91992===_0x7a118e(_0x414a8c._0xe0d5dd,_0x414a8c._0x272bbe,0x336,0x291))&&(_0x371a64['codeVerifier']=void 0x0,_0x371a64[_0x7a118e(0x509,0x515,0x3fb,0x432)]=void 0x0);function _0x7a118e(_0x5bb049,_0x2be59c,_0x35862d,_0x322211){return _0x59f9(_0x35862d-0x120,_0x5bb049);}(_0xf91992===_0x7a118e(0x400,0x519,0x3bf,_0x414a8c._0x4eaa12)||_0xf91992===_0x7a118e(0x330,_0x414a8c._0x2518e9,_0x414a8c._0xfb8e6c,_0x414a8c._0x5b1721))&&(_0x371a64[_0x4d4832(_0x414a8c._0x5959a0,_0x414a8c._0x44a459,_0x414a8c._0x1ef9db,0x4fa)]=void 0x0);});},async 'saveDiscoveryState'(_0x53338f){await updateStore(_0x43c586,_0x2ab7c7=>{function _0x52b4c4(_0x5df095,_0x5f76f0,_0x41bacf,_0x1a86d2){return _0x59f9(_0x5f76f0-0x2cf,_0x5df095);}_0x2ab7c7[_0x52b4c4(_0x29d8ea._0x25886e,_0x29d8ea._0x2a42e7,0x5e4,_0x29d8ea._0x3015e3)]=_0x53338f;});},async 'discoveryState'(){return(await readStore(_0x43c586))['discoveryState'];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x17c51d,_0x4d2ed8){const _0x49805a={_0x5d84a1:0xd,_0x279058:0x166},_0x2c40c0={_0x276366:0x1cd};function _0x43a88c(_0x2db5b4,_0x1cc800,_0x4592bf,_0x56bc5d){return _0x48c1e5(_0x1cc800- -0x3f7,_0x1cc800-_0x2c40c0._0x276366,_0x4592bf,_0x56bc5d-0x48);}const _0x111923=_0x12b3b0=>_0x12b3b0[_0x54ebb1(0x2dc,0x2fd,0x397,0x237)](/[^a-zA-Z0-9_]+/g,'_')[_0x43a88c(0x131,0x83,0xf5,0x93)](/^_+|_+$/g,'');function _0x54ebb1(_0x43a78e,_0x420e01,_0x504935,_0x24ec1f){return _0x42cde8(_0x43a78e-0x1a0,_0x24ec1f-0x88,_0x504935-0x17b,_0x504935);}return _0x43a88c(-_0x49805a._0x5d84a1,0x13,_0x49805a._0x279058,0x52)+_0x111923(_0x17c51d)+'_'+_0x111923(_0x4d2ed8);}function isObject(_0x59511d){return typeof _0x59511d==='object'&&_0x59511d!==null&&!Array['isArray'](_0x59511d);}function toSupportedSchema(_0x484181){const _0x691638={_0x4039b5:0x5a0,_0x466627:0x6ed,_0x38fc5d:0x1a0,_0x288416:0x6c,_0x4b953e:0x33d,_0x495b19:0x95,_0x33e332:0xb4,_0x2bbf0a:0x4bd,_0x13693d:0x5db,_0x36b19f:0x1bc,_0x31bca5:0x2e5,_0x5984b6:0xff,_0xf14e14:0xf1,_0x93b7f3:0x1f8,_0x1734f3:0x3d9,_0x2d420b:0x61b,_0x56c7f7:0xfb,_0x70a5f1:0x1aa,_0x37efb5:0x142},_0x18e9f9={_0x475f7b:0x4d,_0x2f19c2:0x51a},_0x5ab54b={_0x406a77:0x1e0,_0x4d0054:0x127,_0x3042d4:0xa3};function _0x1a17ae(_0x58695c,_0x1c0d17,_0x28e642,_0x3f8aa2){return _0x48c1e5(_0x58695c- -_0x5ab54b._0x406a77,_0x1c0d17-_0x5ab54b._0x4d0054,_0x1c0d17,_0x3f8aa2-_0x5ab54b._0x3042d4);}if(!isObject(_0x484181))return void 0x0;if(_0x484181[_0x33cc3f(_0x691638._0x4039b5,0x4bd,0x564,0x567)]===_0x33cc3f(0x577,0x671,0x5d3,0x624))return{'type':_0x33cc3f(0x651,0x671,0x65c,_0x691638._0x466627)};if(_0x484181[_0x1a17ae(0x8e,0xeb,-0x60,_0x691638._0x38fc5d)]==='number'||_0x484181['type']===_0x1a17ae(0x1c0,_0x691638._0x288416,_0x691638._0x4b953e,0x19b))return{'type':_0x1a17ae(0x161,_0x691638._0x495b19,_0x691638._0x33e332,0x9b)};if(_0x484181[_0x33cc3f(0x4a8,_0x691638._0x2bbf0a,0x47d,_0x691638._0x13693d)]===_0x1a17ae(_0x691638._0x36b19f,_0x691638._0x31bca5,_0x691638._0x5984b6,0x30d))return{'type':_0x1a17ae(0x1bc,_0x691638._0xf14e14,0x241,_0x691638._0x93b7f3)};if(_0x484181[_0x33cc3f(_0x691638._0x1734f3,0x4bd,_0x691638._0x2d420b,0x3c7)]==='array')return{'type':_0x1a17ae(0x1f1,_0x691638._0x56c7f7,_0x691638._0x70a5f1,_0x691638._0x37efb5),'items':toSupportedSchema(_0x484181['items'])??{'type':_0x1a17ae(0x242,0x33e,0x1a0,0x15e)}};if(_0x484181[_0x33cc3f(0x44a,0x4bd,0x518,0x57a)]==='object')return toNuvinToolSchema(_0x484181);function _0x33cc3f(_0x24c063,_0xc99c71,_0x503330,_0x4fe40a){return _0x42cde8(_0x24c063-_0x18e9f9._0x475f7b,_0xc99c71-_0x18e9f9._0x2f19c2,_0x503330-0x6f,_0x503330);}return void 0x0;}function toNuvinToolSchema(_0x100f26){const _0x324c2f={_0x1a02ee:0x55c,_0x1a4ef8:0x6,_0x2cc46e:0x1c8,_0x482af5:0x130,_0x40d7f7:0x5ce,_0x842c96:0x67b,_0x3e1de8:0x573,_0x3d01d3:0x2ff,_0x580857:0x5a3,_0x2a65d0:0x55c,_0x2fefdf:0x57c,_0x5c74de:0x23,_0x4ecd3b:0xf1,_0x2d0666:0x103},_0x39daaa={_0x393b53:0xb5,_0x15d4aa:0x12f},_0x19c5e2={_0x1f1041:0x50};if(!isObject(_0x100f26)||_0x100f26['type']!==_0x564e5c(0x5a1,0x5b1,_0x324c2f._0x1a02ee,0x57e))return{'type':_0xa0efdc(0x10f,-_0x324c2f._0x1a4ef8,_0x324c2f._0x2cc46e,0x103),'properties':{}};function _0x564e5c(_0x16c247,_0x16f643,_0x224372,_0x5c498b){return _0x48c1e5(_0x224372-0x243,_0x16f643-_0x19c5e2._0x1f1041,_0x5c498b,_0x5c498b-0x1d3);}const _0x762f96={};function _0xa0efdc(_0x15f476,_0x3010b0,_0xa1a1f1,_0x554641){return _0x42cde8(_0x15f476-0x1e9,_0x554641-_0x39daaa._0x393b53,_0xa1a1f1-_0x39daaa._0x15d4aa,_0xa1a1f1);}const _0x5c52e1=isObject(_0x100f26[_0xa0efdc(0x39c,0x347,_0x324c2f._0x482af5,0x22b)])?_0x100f26[_0x564e5c(_0x324c2f._0x40d7f7,0x7d4,0x684,_0x324c2f._0x842c96)]:{};for(const [_0x1a0d37,_0x1c596a]of Object['entries'](_0x5c52e1)){const _0x33c9d5=toSupportedSchema(_0x1c596a);if(_0x33c9d5)_0x762f96[_0x1a0d37]=_0x33c9d5;}const _0x5901ec=Array[_0x564e5c(0x65e,_0x324c2f._0x3e1de8,0x4ea,0x5c5)](_0x100f26[_0x564e5c(_0x324c2f._0x3d01d3,_0x324c2f._0x580857,0x45b,0x3fd)])?_0x100f26['required']['filter'](_0x1df2a0=>typeof _0x1df2a0==='string'):void 0x0;return _0x5901ec?.['length']?{'type':_0x564e5c(0x6a7,0x605,_0x324c2f._0x2a65d0,_0x324c2f._0x2fefdf),'properties':_0x762f96,'required':_0x5901ec}:{'type':_0xa0efdc(-_0x324c2f._0x5c74de,_0x324c2f._0x4ecd3b,0xb6,_0x324c2f._0x2d0666),'properties':_0x762f96};}function isJsonObject(_0x2c4661){const _0x18ebbe={_0x22fc83:0xb0,_0xd67fcb:0x13b},_0x4e3426={_0x40021c:0x357,_0x1a5be3:0x70};function _0x3c5952(_0x40ece3,_0x16e9a5,_0x4fe1c4,_0x4be3a6){return _0x48c1e5(_0x4fe1c4- -_0x4e3426._0x40021c,_0x16e9a5-_0x4e3426._0x1a5be3,_0x16e9a5,_0x4be3a6-0x55);}return typeof _0x2c4661==='object'&&_0x2c4661!==null&&!Array[_0x3c5952(-0xb5,-0x1c2,-_0x18ebbe._0x22fc83,-_0x18ebbe._0xd67fcb)](_0x2c4661);}function formatMcpContent(_0xd505de){const _0xb50834={_0x4858c3:0x97,_0x4602a:0x2ea,_0x442555:0xb4,_0x3210b9:0x169,_0x54e4f0:0x96,_0x350a73:0x15,_0x28a0b6:0xd5,_0x5f0cc3:0x52,_0x64f4fb:0x96,_0x50d8af:0xaa,_0x418a02:0x290,_0x5b6ece:0x361,_0x5117fc:0xed},_0x445386={_0x226c2e:0x17b},_0x2a2ea4={_0x21f0a4:0x125,_0x44e1c9:0x110,_0x37d0c8:0x253,_0x4816ab:0xd2,_0x1b95e3:0x163,_0x2dfce4:0xba,_0x47220f:0x4c,_0x124a35:0x13c,_0x9d50b6:0x16c,_0x1f1811:0x2ad},_0x2cdcdd={_0x141896:0x37,_0x2de6c4:0x4df},_0x164ab8={_0x58ff15:0x378};function _0x226a9a(_0x839ea2,_0x29bbc9,_0x2181aa,_0x321166){return _0x42cde8(_0x839ea2-0x19e,_0x321166-_0x164ab8._0x58ff15,_0x2181aa-0x14,_0x29bbc9);}const _0x1b7f33=Array[_0x101fbf(-_0xb50834._0x4858c3,-0x2e7,-0x1ed,-_0xb50834._0x4602a)](_0xd505de[_0x101fbf(-_0xb50834._0x442555,-_0xb50834._0x3210b9,-_0xb50834._0x54e4f0,-_0xb50834._0x350a73)])?_0xd505de[_0x101fbf(-_0xb50834._0x28a0b6,-_0xb50834._0x5f0cc3,-_0xb50834._0x64f4fb,-0x4a)]:[],_0x9e5224=_0x1b7f33['map'](_0x465b95=>{function _0x55923f(_0x3c40d6,_0x2c04d8,_0x538881,_0x2e13f4){return _0x226a9a(_0x3c40d6-0x11f,_0x3c40d6,_0x538881-_0x2cdcdd._0x141896,_0x2e13f4- -_0x2cdcdd._0x2de6c4);}if(!isObject(_0x465b95))return'';if(_0x465b95[_0x55923f(-0x28f,-0xf7,-_0x2a2ea4._0x21f0a4,-0x1c4)]==='text'&&typeof _0x465b95[_0x1932de(_0x2a2ea4._0x44e1c9,_0x2a2ea4._0x37d0c8,0x8e,0x109)]===_0x55923f(_0x2a2ea4._0x4816ab,-_0x2a2ea4._0x1b95e3,0x10e,-0x10))return _0x465b95[_0x55923f(_0x2a2ea4._0x2dfce4,-0xd9,-0xad,-_0x2a2ea4._0x47220f)];function _0x1932de(_0x7fe2d9,_0x33e0bf,_0x59356b,_0x17aff8){return _0x226a9a(_0x7fe2d9-0x180,_0x17aff8,_0x59356b-0x2b,_0x7fe2d9- -0x383);}return JSON[_0x1932de(_0x2a2ea4._0x124a35,_0x2a2ea4._0x9d50b6,0xcb,_0x2a2ea4._0x1f1811)](_0x465b95);})['filter'](_0x3a5c10=>_0x3a5c10[_0x226a9a(0x2cd,0x2e1,0x3b7,0x2ca)]>0x0)[_0x101fbf(-_0xb50834._0x50d8af,-_0xb50834._0x418a02,-0x158,-0x1bb)]('\x0a');if(_0x9e5224[_0x101fbf(-0x28f,-_0xb50834._0x5b6ece,-0x277,-0x237)]>0x0)return _0x9e5224;function _0x101fbf(_0x50688c,_0x3a0247,_0x4f7788,_0x584df0){return _0x48c1e5(_0x4f7788- -0x494,_0x3a0247-0xca,_0x3a0247,_0x584df0-_0x445386._0x226c2e);}return JSON[_0x101fbf(-0x19d,_0xb50834._0x5117fc,-0x82,-0x26)](_0xd505de,null,0x2);}function createMcpTool(_0x24f50d){const _0x3aa0f0={_0x59c596:0x4b1,_0x26b2e5:0x4b6,_0x58fcb3:0x31e,_0x120cb4:0x48f,_0x257524:0x5a6,_0x2d9f68:0x59a,_0x4f2bfe:0x5ce,_0x1c9ba7:0x5b5,_0x5194e9:0x3f7,_0x128fab:0x37e,_0x58ef62:0x4c3,_0x5813d6:0x2af,_0xe87221:0x3e4,_0x293255:0x344,_0x5c31c6:0x26b,_0x849d20:0x4b1,_0x264941:0x339,_0x8c307d:0x3c9,_0x3c8feb:0x4a1,_0x3a96ff:0x430},_0x2b883b={_0x144ae4:0x72e,_0x21393a:0x6cd,_0x173ec8:0x40a,_0x3007c6:0x4b2,_0x2dafb6:0x5af,_0x3b680c:0x4a3,_0x2898fd:0x722,_0x1a6bdd:0x717,_0x4cdaee:0x1ca,_0xbcd29d:0x176},_0x37d8d3={_0x320937:0xf4,_0x46868c:0x3eb,_0x5e7399:0x104};function _0x54cc39(_0x558512,_0x158d7f,_0xa0ad7a,_0x58f540){return _0x48c1e5(_0xa0ad7a-0x167,_0x158d7f-0x101,_0x58f540,_0x58f540-0x162);}function _0x4f4523(_0x5273a7,_0x5a6b93,_0x1105a4,_0x26d791){return _0x42cde8(_0x5273a7-_0x37d8d3._0x320937,_0x5a6b93-_0x37d8d3._0x46868c,_0x1105a4-_0x37d8d3._0x5e7399,_0x5273a7);}const _0x261f8a=createMcpToolName(_0x24f50d[_0x4f4523(0x453,_0x3aa0f0._0x59c596,_0x3aa0f0._0x26b2e5,0x42f)],_0x24f50d[_0x54cc39(_0x3aa0f0._0x58fcb3,0x452,_0x3aa0f0._0x120cb4,0x407)]['name']);return defineTool({'name':_0x261f8a,'description':_0x24f50d[_0x54cc39(_0x3aa0f0._0x257524,_0x3aa0f0._0x2d9f68,0x48f,_0x3aa0f0._0x4f2bfe)][_0x4f4523(_0x3aa0f0._0x1c9ba7,0x4a9,0x549,_0x3aa0f0._0x5194e9)]??'MCP\x20tool\x20'+_0x24f50d[_0x54cc39(0x34a,_0x3aa0f0._0x128fab,_0x3aa0f0._0x120cb4,_0x3aa0f0._0x58ef62)][_0x4f4523(_0x3aa0f0._0x5813d6,_0x3aa0f0._0xe87221,_0x3aa0f0._0x293255,_0x3aa0f0._0x5c31c6)]+'\x20from\x20'+_0x24f50d[_0x4f4523(0x62d,_0x3aa0f0._0x849d20,0x5fb,_0x3aa0f0._0x264941)],'inputSchema':toNuvinToolSchema(_0x24f50d['tool'][_0x54cc39(_0x3aa0f0._0x8c307d,_0x3aa0f0._0x3c8feb,_0x3aa0f0._0x3a96ff,0x368)]),async *'execute'(_0x2f6da6){const _0x2b52be={_0x5de2c5:0xf,_0x56e5c2:0x121,_0x3d63fe:0x60d},_0x2790c9=await _0x24f50d[_0x455e70(0x685,0x533,0x63a,0x475)][_0x455e70(0x686,0x602,0x6a6,_0x2b883b._0x144ae4)]({'name':_0x24f50d[_0x455e70(_0x2b883b._0x21393a,0x573,_0x2b883b._0x173ec8,0x44a)]['name'],'arguments':isJsonObject(_0x2f6da6)?_0x2f6da6:{}});if(_0x2790c9[_0x455e70(_0x2b883b._0x3007c6,_0x2b883b._0x2dafb6,_0x2b883b._0x3b680c,_0x2b883b._0x2898fd)])throw new ToolExecutionError(formatMcpContent(_0x2790c9),{'serverName':_0x24f50d[_0x455e70(0x61e,0x5dc,0x580,_0x2b883b._0x1a6bdd)],'toolName':_0x24f50d[_0x43ea9d(-0x17e,-_0x2b883b._0x4cdaee,-0x3c,-_0x2b883b._0xbcd29d)]['name']});function _0x43ea9d(_0x534fe9,_0x13fe89,_0x3807a5,_0x26c11a){return _0x54cc39(_0x534fe9-_0x2b52be._0x5de2c5,_0x13fe89-_0x2b52be._0x56e5c2,_0x534fe9- -_0x2b52be._0x3d63fe,_0x13fe89);}yield createToolOutput(formatMcpContent(_0x2790c9),{'serverName':_0x24f50d[_0x455e70(0x602,0x5dc,0x63b,0x4e3)],'toolName':_0x24f50d['tool']['name'],'result':_0x2790c9});function _0x455e70(_0x313425,_0x1575fe,_0x232337,_0x1862e9){return _0x54cc39(_0x313425-0x7,_0x1575fe-0x46,_0x1575fe-0xe4,_0x1862e9);}return void 0x0;}});}function resolvePrefix(_0x2f9d3e,_0x47d748){const _0x26dff1={_0x40d38c:0xdf,_0x49f677:0x24b},_0x48b510={_0x12ad8f:0x17e,_0x514a34:0x1e7,_0x9edc26:0x7d};function _0x4c8fda(_0x2f8ac2,_0x4e0766,_0x1d2af5,_0x4009d8){return _0x42cde8(_0x2f8ac2-_0x48b510._0x12ad8f,_0x4009d8-_0x48b510._0x514a34,_0x1d2af5-_0x48b510._0x9edc26,_0x1d2af5);}return _0x47d748[_0x4c8fda(_0x26dff1._0x40d38c,0x367,0x202,_0x26dff1._0x49f677)]??_0x2f9d3e;}function buildMcpHttpHeaders(_0x3c58f2){const _0x24d4f5={_0x1932d9:0x233,_0x3ee8be:0x14d,_0x2024bf:0x173,_0x23d1b9:0x502,_0x16af59:0x4ef,_0x5242d0:0x4d0,_0x4b31b0:0x508,_0x5888bd:0x40a,_0x1f3bd4:0x26b,_0x50e402:0x275,_0x38db6d:0x6c4,_0x21fea2:0x5d5,_0x5e6c61:0x6fb,_0x594f41:0x454,_0x4608e0:0x683,_0x293522:0x4a4,_0x2b649e:0x45f,_0x23f49a:0x255},_0xe3127f={_0x205c06:0x1a9,_0x2c4dca:0x1a7},_0x503726={_0x291c14:0xd2};function _0x3c4274(_0x19da3a,_0x20f781,_0x53ace5,_0xf3b78){return _0x42cde8(_0x19da3a-_0x503726._0x291c14,_0x53ace5-0x482,_0x53ace5-0x193,_0x20f781);}function _0x36048e(_0x2d9b57,_0x29221b,_0x246638,_0xce262e){return _0x48c1e5(_0x246638- -_0xe3127f._0x205c06,_0x29221b-0x42,_0x2d9b57,_0xce262e-_0xe3127f._0x2c4dca);}const _0x593072={..._0x3c58f2[_0x36048e(0x2aa,_0x24d4f5._0x1932d9,_0x24d4f5._0x3ee8be,_0x24d4f5._0x2024bf)]??{}};return _0x3c58f2[_0x3c4274(_0x24d4f5._0x23d1b9,0x521,0x508,_0x24d4f5._0x16af59)]?.[_0x3c4274(0x3bd,0x4b1,0x425,0x34b)]==='bearer'&&_0x3c58f2[_0x3c4274(0x532,_0x24d4f5._0x5242d0,_0x24d4f5._0x4b31b0,_0x24d4f5._0x5888bd)][_0x3c4274(0x5ff,0x549,0x511,0x5d4)]&&_0x593072[_0x36048e(_0x24d4f5._0x1f3bd4,0x163,_0x24d4f5._0x50e402,0x164)]===void 0x0&&(_0x593072[_0x3c4274(0x4fd,_0x24d4f5._0x38db6d,_0x24d4f5._0x21fea2,0x6db)]=_0x3c4274(_0x24d4f5._0x5e6c61,0x48f,0x585,_0x24d4f5._0x594f41)+_0x3c58f2[_0x3c4274(0x652,_0x24d4f5._0x4608e0,0x508,_0x24d4f5._0x293522)]['token']),Object[_0x3c4274(0x6ee,0x4ae,0x5c0,0x68c)](_0x593072)[_0x3c4274(0x50c,_0x24d4f5._0x2b649e,0x3d4,_0x24d4f5._0x23f49a)]>0x0?_0x593072:void 0x0;}function getErrorMessage(_0x540daf){return _0x540daf instanceof Error?_0x540daf['message']:String(_0x540daf);}function isUnauthorizedError(_0x20a715){const _0x407af3={_0x18ebc6:0xa1,_0x582f68:0x260},_0x328a5d={_0x4a58b9:0x60},_0x2bd6db={_0x2677bc:0x6e,_0x43a82b:0x92};function _0xf96bf6(_0x512bf9,_0x4a3c59,_0x42c449,_0x1347f5){return _0x48c1e5(_0x42c449-_0x2bd6db._0x2677bc,_0x4a3c59-_0x2bd6db._0x43a82b,_0x4a3c59,_0x1347f5-0x12b);}function _0x46c454(_0x2835bf,_0x12d150,_0x1d67c2,_0x32ec8a){return _0x42cde8(_0x2835bf-0x174,_0x1d67c2-0x1cb,_0x1d67c2-_0x328a5d._0x4a58b9,_0x2835bf);}return _0x20a715 instanceof Error&&_0x20a715[_0x46c454(0xe9,_0x407af3._0x18ebc6,0x216,_0x407af3._0x582f68)]['name']===_0xf96bf6(0x4f0,0x296,0x3d9,0x491);}async function connectMcpServer(_0x30c7a0,_0x532c0c,_0x38b95c){const _0x3afed7={_0x8ff092:0x2d1,_0xe51025:0x2e3,_0xa2eb15:0x2b3,_0x41541e:0x200,_0x4ab30e:0x1cc,_0x451ca9:0x141,_0x44f296:0x1c7,_0x3dc303:0x1cc,_0x2701ae:0x167,_0xe4de86:0x34a,_0x3c6c83:0x253,_0x129fde:0x22d,_0xaf972e:0xfe,_0x548923:0x274,_0x4e9f2f:0xe7,_0x52e181:0x267,_0x5ea4d9:0x196,_0x4b0d8f:0x234,_0x12dbfc:0x18,_0x17df6c:0x182,_0x12c35c:0x2a2,_0x50c94b:0x24b,_0x478181:0x102,_0x1d45b0:0xed,_0x41c463:0x258,_0x1ed4ce:0x1b2,_0x208922:0x1da,_0x1f9242:0x2c9,_0x9b8e2:0x8a,_0x40cf24:0x16e,_0x572d0e:0x2b4,_0x4d1b44:0x19a,_0x151c8d:0x22b,_0x172323:0x1c1,_0xb3e7dc:0x105,_0x17f892:0x200,_0x20003e:0x106,_0x1124e9:0x378,_0x3eb012:0x273,_0x1e402a:0x427,_0x9409fc:0x248,_0x49002e:0x362,_0x3a89c:0x232,_0x31dd42:0x1ac,_0x511157:0x18d,_0x1cded7:0x5d,_0x496a07:0x7f},_0x3841cd={_0x106c45:0x470,_0x370bd6:0x65e,_0x16ac1f:0x562,_0xe2b15b:0x50a,_0x541ec0:0x56e},_0x5cbe10={_0x262253:0x38c,_0x2f5a27:0x4ee,_0x3fcf4d:0x4d7},_0x255a22={_0xf6e154:0x5c6,_0x383ac5:0x593,_0x265e33:0x720,_0x890e8e:0x4f9,_0x3aa848:0x538,_0x463125:0x460,_0x3428d3:0x450,_0x56bfac:0x2ee},_0x17f9d0={_0x2d0d2f:0xf1,_0x11f9e8:0x6f,_0x3f82c2:0x107},_0x5e992d={_0x45339c:0x11a},_0x25d608=new Client({'name':'nuvin','version':_0xfcab47(-0x1e9,-_0x3afed7._0x8ff092,-0x344,-0x3bd)});function _0xfcab47(_0x24ff72,_0xc58108,_0x53ed7f,_0x471db1){return _0x48c1e5(_0xc58108- -0x4c6,_0xc58108-_0x5e992d._0x45339c,_0x24ff72,_0x471db1-0x16e);}function _0x382e18(_0x565197,_0x1c7ccd,_0x44b062,_0x218f55){return _0x48c1e5(_0x565197- -_0x17f9d0._0x2d0d2f,_0x1c7ccd-_0x17f9d0._0x11f9e8,_0x1c7ccd,_0x218f55-_0x17f9d0._0x3f82c2);}_0x25d608[_0x382e18(_0x3afed7._0xe51025,0x3ac,0x1b5,_0x3afed7._0xa2eb15)]=_0xea25d6=>{const _0x5c5195={_0xf4289a:0x104},_0x5caad9={_0x713d06:0x334};function _0x3ab7f5(_0x36b9b3,_0x39a175,_0x217eb5,_0x138a74){return _0x382e18(_0x36b9b3-_0x5caad9._0x713d06,_0x217eb5,_0x217eb5-0x1a9,_0x138a74-0x152);}function _0x21f5d1(_0x5e6ff5,_0x50e4a9,_0xbac40f,_0x24b97f){return _0x382e18(_0xbac40f-0x188,_0x24b97f,_0xbac40f-0x1bb,_0x24b97f-_0x5c5195._0xf4289a);}console[_0x3ab7f5(_0x255a22._0xf6e154,0x448,_0x255a22._0x383ac5,0x615)](_0x3ab7f5(0x63a,0x528,_0x255a22._0x265e33,0x780)+_0x30c7a0+_0x21f5d1(_0x255a22._0x890e8e,0x5de,_0x255a22._0x3aa848,_0x255a22._0x463125),_0xea25d6[_0x3ab7f5(_0x255a22._0x3428d3,_0x255a22._0x56bfac,0x4ad,0x486)]);};if(_0x532c0c['transport']===_0x382e18(_0x3afed7._0x41541e,_0x3afed7._0x4ab30e,0x16f,_0x3afed7._0x451ca9)||_0x532c0c[_0x382e18(0x148,-0x14,_0x3afed7._0x44f296,_0x3afed7._0x3dc303)]){if(!_0x532c0c[_0xfcab47(-_0x3afed7._0x2701ae,-0x28d,-0x3d9,-_0x3afed7._0xe4de86)])throw new Error(_0x382e18(_0x3afed7._0x3c6c83,0x35c,_0x3afed7._0x129fde,_0x3afed7._0xaf972e)+_0x30c7a0+_0x382e18(0x3c6,_0x3afed7._0x548923,0x4c2,0x512));if(_0x532c0c[_0x382e18(0x260,0x3d0,_0x3afed7._0x4e9f2f,_0x3afed7._0x3c6c83)]?.[_0xfcab47(-0x3c2,-0x258,-0x132,-0x234)]===_0x382e18(_0x3afed7._0x52e181,_0x3afed7._0x5ea4d9,_0x3afed7._0x4b0d8f,0x236)&&!_0x38b95c?.['oauth'])throw new Error(_0xfcab47(-_0x3afed7._0x12dbfc,-_0x3afed7._0x17df6c,-0x1a9,-0x17a)+_0x30c7a0+_0xfcab47(-0x14c,-_0x3afed7._0x12c35c,-_0x3afed7._0x50c94b,-0x1ca));const _0x199b48=buildMcpHttpHeaders(_0x532c0c),_0x28994a=_0x532c0c[_0xfcab47(-_0x3afed7._0x478181,-0x175,-_0x3afed7._0x1d45b0,-0xd7)]?.[_0xfcab47(-0x38f,-_0x3afed7._0x41c463,-_0x3afed7._0x1ed4ce,-0x195)]===_0x382e18(0x267,0x376,_0x3afed7._0x208922,_0x3afed7._0x1f9242)&&_0x38b95c?.[_0xfcab47(-0x13a,-0x16e,-_0x3afed7._0x9b8e2,-0x7)]?createMcpOAuthProvider({'serverName':_0x30c7a0,'callbackUrl':_0x38b95c[_0xfcab47(-0x2e0,-_0x3afed7._0x40cf24,-0xb0,-0x1d4)][_0xfcab47(-_0x3afed7._0x572d0e,-0x1db,-_0x3afed7._0x4d1b44,-_0x3afed7._0x151c8d)],'storageDir':_0x38b95c[_0x382e18(0x267,0x3ab,_0x3afed7._0x172323,_0x3afed7._0xb3e7dc)]['storageDir'],'config':_0x532c0c[_0x382e18(0x260,_0x3afed7._0x17f892,_0x3afed7._0x20003e,0x15b)],'onRedirect':_0x5030e9=>_0x38b95c[_0x382e18(0x267,0x27a,0x293,0x24f)]?.['onRedirect'](_0x30c7a0,_0x5030e9)}):void 0x0,_0x42c3b2=new StreamableHTTPClientTransport(new URL(_0x532c0c['url']),{'authProvider':_0x28994a,'requestInit':_0x199b48?{'headers':_0x199b48}:void 0x0});await _0x25d608[_0x382e18(_0x3afed7._0x1124e9,_0x3afed7._0x3eb012,0x432,_0x3afed7._0x1e402a)](_0x42c3b2);}else{if(!_0x532c0c['command'])throw new Error('MCP\x20server\x20'+_0x30c7a0+_0xfcab47(-0x1ba,-0x291,-0x22a,-_0x3afed7._0x9409fc));const _0x38445d=new StdioClientTransport({'command':_0x532c0c[_0x382e18(0x1ea,0x1f0,_0x3afed7._0x49002e,_0x3afed7._0x40cf24)],'args':_0x532c0c[_0x382e18(_0x3afed7._0x3a89c,_0x3afed7._0x31dd42,0x10f,0x2ea)]??[],'env':_0x532c0c['env'],'stderr':'pipe'});await _0x25d608[_0xfcab47(-_0x3afed7._0x511157,-_0x3afed7._0x1cded7,_0x3afed7._0x496a07,-0x9e)](_0x38445d);}return{async 'listTools'(){function _0x48e66f(_0x34c264,_0x3e90f5,_0x439398,_0x396995){return _0xfcab47(_0x439398,_0x3e90f5-0x4a3,_0x439398-0x1da,_0x396995-0xdf);}return await _0x25d608[_0x48e66f(0x26e,_0x5cbe10._0x262253,_0x5cbe10._0x2f5a27,_0x5cbe10._0x3fcf4d)]();},async 'callTool'(_0x40e41c){const _0x62b245={_0x4145cc:0x193,_0x4f96ce:0xe6};function _0xf47a32(_0x4c4165,_0x2fe4f6,_0x1887f4,_0x2188b1){return _0xfcab47(_0x2fe4f6,_0x1887f4-0x617,_0x1887f4-0x181,_0x2188b1-0x1cc);}function _0x1450c4(_0x5150d7,_0x30aa1,_0x45b6e8,_0x1267c7){return _0x382e18(_0x45b6e8- -_0x62b245._0x4145cc,_0x30aa1,_0x45b6e8-_0x62b245._0x4f96ce,_0x1267c7-0x6a);}return await _0x25d608[_0xf47a32(_0x3841cd._0x106c45,_0x3841cd._0x370bd6,_0x3841cd._0x16ac1f,0x524)]({'method':_0xf47a32(_0x3841cd._0xe2b15b,0x588,0x4c5,_0x3841cd._0x541ec0),'params':_0x40e41c},CallToolResultSchema);},async 'close'(){await _0x25d608['close']();}};}async function createMcpToolsFromServers(_0xa2c1c7){const _0x49db92={_0x32f653:0x120,_0x70eed5:0x21,_0x4d80d4:0x38b,_0x35c4ba:0x307,_0x233b8a:0x12e,_0xa52c45:0x27,_0x44701a:0x16d,_0x48a80a:0x25d,_0x2dd37a:0x197,_0x5bc0e4:0x67,_0xc42fd0:0xdb,_0x264c0a:0x2ed,_0x384513:0x411,_0x404cbb:0x5f,_0x3baad3:0x286,_0x92a141:0x33b,_0x26dfc6:0x1d9,_0xa44fb3:0x22d,_0x282dae:0x211,_0x1e787a:0x281,_0x6849a5:0x1c6,_0x5d9c9c:0x32,_0x2a15cd:0xb0,_0x43053c:0x21c,_0x5e41bd:0x101,_0x40b67d:0x216,_0x437b8d:0x22f,_0xb6d8cf:0x2d1,_0x2f34df:0x6e,_0x2b05d6:0x15e,_0x305341:0x1c1,_0x32d6fd:0x163,_0x3002aa:0x70,_0x1770a0:0x1f8,_0x285bfc:0x249,_0x4344e7:0x268,_0x36a448:0x102},_0x10a710={_0x42b100:0x421,_0xb302a4:0x4d7,_0x1bb4f7:0x5e4},_0x44fea6={_0x55c357:0x1f1},_0x2488d3={_0x272d1a:0x43,_0xcd098a:0x1bf},_0xc93364={_0x143c7a:0x158,_0x198aea:0x2},_0x4e862a=_0xa2c1c7[_0x3db2cc(_0x49db92._0x32f653,0x51,-0x4f,-_0x49db92._0x70eed5)]??connectMcpServer,_0x22d046=[],_0x4a8374={};function _0x573c06(_0x51750a,_0x27c60e,_0x1ec0fe,_0xa99e43){return _0x42cde8(_0x51750a-0x1f0,_0x27c60e-_0xc93364._0x143c7a,_0x1ec0fe-_0xc93364._0x198aea,_0x51750a);}const _0x2c0c55={},_0x56f3f1=[];for(const [_0x584572,_0x3d920c]of Object[_0x3db2cc(-_0x49db92._0x4d80d4,-0x30f,-_0x49db92._0x35c4ba,-0x2a5)](_0xa2c1c7[_0x573c06(0x5a,_0x49db92._0x233b8a,0x1bb,-_0x49db92._0xa52c45)]??{})){if(_0x3d920c[_0x573c06(_0x49db92._0x44701a,0x1e9,0x208,0x315)]===![]){_0x4a8374[_0x584572]={'status':_0x573c06(0xa5,0x20d,0x388,_0x49db92._0x48a80a)};continue;}try{const _0x4bd435=await _0x4e862a(_0x584572,_0x3d920c,_0xa2c1c7['connection']);_0x22d046['push'](_0x4bd435);const _0x5b80af=await _0x4bd435[_0x3db2cc(-_0x49db92._0x2dd37a,-0xd5,-_0x49db92._0x5bc0e4,-_0x49db92._0xc42fd0)]();let _0xe0802a=0x0;const _0x1edee9=[];for(const _0x336531 of _0x5b80af[_0x573c06(0x1b9,_0x49db92._0x264c0a,_0x49db92._0x384513,0x30b)]){const _0x88129f=_0xa2c1c7['allowedTools']?.[_0x584572]?.[_0x336531[_0x573c06(_0x49db92._0x404cbb,0x151,0x1ab,0xd8)]];_0x1edee9[_0x3db2cc(-_0x49db92._0x3baad3,-0x224,-_0x49db92._0x92a141,-_0x49db92._0x26dfc6)]({'name':_0x336531[_0x3db2cc(-_0x49db92._0xa44fb3,-_0x49db92._0x282dae,-_0x49db92._0x1e787a,-_0x49db92._0x6849a5)],..._0x336531[_0x3db2cc(_0x49db92._0x5d9c9c,-_0x49db92._0x2a15cd,-_0x49db92._0x43053c,-_0x49db92._0x5e41bd)]!==void 0x0?{'description':_0x336531[_0x573c06(0x22e,_0x49db92._0x40b67d,0x38b,_0x49db92._0x437b8d)]}:{},..._0x336531[_0x3db2cc(-_0x49db92._0xb6d8cf,-_0x49db92._0x2f34df,-_0x49db92._0x2b05d6,-_0x49db92._0x305341)]!==void 0x0?{'inputSchema':_0x336531[_0x3db2cc(-_0x49db92._0x32d6fd,-0x1d1,-_0x49db92._0x3002aa,-0x1c1)]}:{}});if(_0x88129f===![])continue;_0xe0802a+=0x1,_0x56f3f1[_0x3db2cc(-0x30d,-0x312,-_0x49db92._0x1770a0,-_0x49db92._0x26dfc6)](createMcpTool({'serverName':resolvePrefix(_0x584572,_0x3d920c),'tool':_0x336531,'client':_0x4bd435}));}_0x2c0c55[_0x584572]=_0x1edee9,_0x4a8374[_0x584572]={'status':_0x573c06(_0x49db92._0x285bfc,0x239,0xc7,0x2a4),'toolCount':_0xe0802a};}catch(_0x153da2){_0x4a8374[_0x584572]=isUnauthorizedError(_0x153da2)?{'status':_0x573c06(0x1ef,0x189,_0x49db92._0x4344e7,_0x49db92._0x36a448),'message':getErrorMessage(_0x153da2)}:{'status':'error','message':getErrorMessage(_0x153da2)};}}function _0x3db2cc(_0x5cba7a,_0x1db243,_0x286a7d,_0x4b4d1f){return _0x42cde8(_0x5cba7a-_0x2488d3._0x272d1a,_0x4b4d1f- -_0x2488d3._0xcd098a,_0x286a7d-0xb9,_0x1db243);}return{'tools':_0x56f3f1,'servers':_0x4a8374,'serverTools':_0x2c0c55,async 'close'(){function _0x26e8f8(_0x5f208c,_0x12492b,_0xe7daa0,_0x39831c){return _0x573c06(_0xe7daa0,_0x12492b-0x25b,_0xe7daa0-0x142,_0x39831c-0x83);}function _0x20fbfb(_0x39cfb1,_0x414d67,_0x3d9c39,_0xcf1d27){return _0x573c06(_0x414d67,_0x3d9c39-0x29b,_0x3d9c39-0x1ab,_0xcf1d27-_0x44fea6._0x55c357);}await Promise[_0x26e8f8(_0x10a710._0x42b100,0x4af,_0x10a710._0xb302a4,0x4a7)](_0x22d046[_0x20fbfb(0x4bc,0x544,_0x10a710._0x1bb4f7,0x5eb)](_0x2c900e=>_0x2c900e[_0x20fbfb(0x2b4,0x273,0x3ad,0x508)]()));}};}function getCommand(_0x4fd5ba){const _0x5dc30a={_0x48d87f:0x2f3,_0x5d925f:0x323,_0x108ff8:0x339},_0x4f9ad3={_0x1a042c:0x11a,_0x1a0877:0xb3};function _0x4c9d59(_0x36aad,_0x26f620,_0x4f099a,_0x2ba2d1){return _0x48c1e5(_0x4f099a-0x188,_0x26f620-_0x4f9ad3._0x1a042c,_0x26f620,_0x2ba2d1-_0x4f9ad3._0x1a0877);}if(_0x4fd5ba&&typeof _0x4fd5ba==='object'&&!Array[_0x2b0cfc(0x16c,0x238,0x2f1,0x178)](_0x4fd5ba)&&typeof _0x4fd5ba[_0x4c9d59(0x3b5,0x55b,0x463,0x3c8)]===_0x2b0cfc(0x330,0x29c,0x362,_0x5dc30a._0x48d87f))return _0x4fd5ba[_0x4c9d59(_0x5dc30a._0x5d925f,0x44c,0x463,_0x5dc30a._0x108ff8)];function _0x2b0cfc(_0x2d7600,_0x2b0845,_0x25adcd,_0x53bb69){return _0x42cde8(_0x2d7600-0x1c8,_0x53bb69-0x19c,_0x25adcd-0x6b,_0x25adcd);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x42cde8(-0x241,-0xcf,-0x249,-0x1c),'docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x48c1e5(0x233,0x1f6,0x362,0x169),_0x42cde8(-0x110,-0x29,-0xa5,0x23),_0x42cde8(-0x29,0x8c,0x22,0x1a7),'src/formats/message-format.ts',_0x48c1e5(0x414,0x505,0x449,0x580),_0x48c1e5(0x41b,0x587,0x30a,0x3e8),_0x48c1e5(0x2d3,0x39e,0x3cc,0x161),_0x42cde8(-0x1a3,-0xa9,-0x110,0xb5),_0x48c1e5(0x1f0,0x301,0x242,0x319),'src/agent/turn-engine.ts',_0x48c1e5(0x3e2,0x44c,0x4e3,0x3ec),_0x42cde8(0x14f,0x6e,0x6f,0x9),_0x42cde8(0x30,0xb1,-0xe,0x17f),_0x48c1e5(0x24d,0x290,0xf7,0x26c),_0x42cde8(0xbc,0x1d7,0xde,0x31a)][_0x42cde8(0x141,0x71,0xe0,-0x5)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x48c1e5(0x206,0x134,0xb8,0x2d4),'description':_0x42cde8(0x170,0x1a2,0x19d,0x15d),'input_schema':{'type':_0x42cde8(0xae,0x4e,0x1cb,0xbb),'properties':{'command':{'type':_0x42cde8(0x6a,0x157,-0x25,-0x10)}},'required':[_0x48c1e5(0x2db,0x228,0x2d4,0x18d)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x2a86fd){return{'output':_0x2a86fd,'structured':{'value':_0x2a86fd}};}function createUnknownToolResult(_0x3f79a7){const _0x513903={_0x524d39:0xfe,_0x21a860:0x35,_0x4282b0:0x1a,_0x39d775:0x4f},_0x439e68={_0x351fb5:0x19a,_0x1e1a0a:0x46},_0x4de4b0={_0x28234a:0x3f1,_0x67d4ec:0x11f,_0x595de1:0x181};function _0x38916a(_0x364614,_0x403fd5,_0x77af59,_0x18aeda){return _0x48c1e5(_0x364614- -_0x4de4b0._0x28234a,_0x403fd5-_0x4de4b0._0x67d4ec,_0x77af59,_0x18aeda-_0x4de4b0._0x595de1);}function _0x4c2282(_0x228221,_0x534ed0,_0x531f50,_0x3357d9){return _0x42cde8(_0x228221-_0x439e68._0x351fb5,_0x228221-_0x439e68._0x1e1a0a,_0x531f50-0x9e,_0x531f50);}return{'callId':_0x3f79a7['id'],'toolName':_0x3f79a7['name'],'status':_0x4c2282(_0x513903._0x524d39,-_0x513903._0x21a860,_0x513903._0x4282b0,0x7f),'output':_0x38916a(-0xc,_0x513903._0x39d775,-0xac,-0x2)+_0x3f79a7['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0xa9e49e,_0x26d2e5){const _0x3275b2={_0x1de869:0x67,_0x7e13c:0x8b,_0x35c39b:0x99};function _0x1d5b87(_0x12ba84,_0xc5a96c,_0x4b174a,_0x4fff9f){return _0x42cde8(_0x12ba84-0x8b,_0xc5a96c- -0xe1,_0x4b174a-0x42,_0x4fff9f);}return{'callId':_0xa9e49e['id'],'toolName':_0xa9e49e['name'],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0xa9e49e[_0x1d5b87(_0x3275b2._0x1de869,-_0x3275b2._0x7e13c,-0xdc,-_0x3275b2._0x35c39b)]),'exitCode':0x0},'chunks':[_0x26d2e5],'meta':createMeta()};}function createMockToolRuntime(){const _0x5cf0a7=async(_0x4b6646,_0x51a2cd)=>{function _0x3430b4(_0x3b48e2,_0x373557,_0x7b299d,_0x15ac65){return _0x59f9(_0x15ac65-0x203,_0x3b48e2);}if(_0x4b6646[_0x3430b4(0x339,0x2f6,0x3ac,0x39f)]!=='Bash')return createUnknownToolResult(_0x4b6646);const _0x76e3c8=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x4b6646,_0x76e3c8);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x53a57f,_0x5549c9){function _0x5f0d65(_0x20cf0c,_0x46616f,_0x1a1548,_0x284d24){return _0x59f9(_0x1a1548-0xd2,_0x20cf0c);}return await Promise['all'](_0x53a57f[_0x5f0d65(0x54d,0x39c,0x466,0x3a5)](async _0x22fa3e=>{return await _0x5cf0a7(_0x22fa3e,_0x5549c9);}));},async 'execute'(_0x5b390b,_0x30c782){return await _0x5cf0a7(_0x5b390b,_0x30c782);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x2ae923={_0x3c8361:0x332};delegatedRunCounter+=0x1;function _0x2e63f3(_0x2aad0b,_0x497d83,_0x1774df,_0x384802){return _0x48c1e5(_0x2aad0b- -0x3a8,_0x497d83-0x126,_0x384802,_0x384802-0xca);}return _0x2e63f3(-0x1c7,-_0x2ae923._0x3c8361,-0x24e,-0x345)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x383a2e,_0x4f6a43){const _0x511dba={_0x58daf6:0x6f},_0x164fe0={_0x5e4104:0x18b};function _0x1bb75f(_0x3b0686,_0x36eb62,_0x460548,_0x360544){return _0x48c1e5(_0x460548- -0x280,_0x36eb62-0x18,_0x36eb62,_0x360544-_0x164fe0._0x5e4104);}return typeof _0x383a2e===_0x1bb75f(-_0x511dba._0x58daf6,0x139,0x8b,-0x59)?await _0x383a2e(_0x4f6a43):_0x383a2e;}function getDelegatedAgentDefinition(_0x5426a6,_0x501ae7){const _0xe94e27={_0x2efa66:0x373,_0x4d0c9d:0x543},_0x29fe61={_0x3b17ec:0x1a0};function _0x330a38(_0x5ed23e,_0x201c4c,_0xea480c,_0xb75ef){return _0x48c1e5(_0x201c4c-_0x29fe61._0x3b17ec,_0x201c4c-0x179,_0xea480c,_0xb75ef-0x1a5);}return _0x5426a6[_0x330a38(_0xe94e27._0x2efa66,0x3db,_0xe94e27._0x4d0c9d,0x42d)]?.[_0x501ae7];}function createRunSummary(_0x38fea5){const _0x2c0590={_0x1b8cd3:0x186,_0xd48fd2:0x2e7,_0x293f3e:0x2c9,_0x16996e:0x286,_0x26bb70:0x294,_0x32cfa9:0x13e,_0x4584da:0x1c4,_0x16ac5a:0x2e6,_0x40480d:0x3aa,_0x4d116f:0x244,_0x1ddf5e:0x409,_0x2991cb:0x392,_0x28477a:0x3e9,_0x41846c:0x3a1,_0x2a3d62:0x2b8,_0x4ef2c1:0x229,_0x12b122:0x17c,_0x2ea7bd:0x2e3,_0x5baa43:0x185,_0x2b8b92:0x459,_0x778c79:0x3f9,_0x5e60c7:0x3bd,_0x5ecd9b:0x3ea,_0x9c65f9:0x49c},_0x3a4607={_0x2ba36e:0x1d1,_0x39967d:0x2b};function _0x4c2c3e(_0x129a17,_0x3a76a3,_0x57ba7c,_0x140594){return _0x48c1e5(_0x3a76a3-0x33,_0x3a76a3-0x176,_0x57ba7c,_0x140594-0x7c);}function _0x3331a9(_0x36da3f,_0xd2eeca,_0x279bfb,_0x78329c){return _0x42cde8(_0x36da3f-_0x3a4607._0x2ba36e,_0x279bfb-0x244,_0x279bfb-_0x3a4607._0x39967d,_0x78329c);}return{'runId':_0x38fea5[_0x4c2c3e(_0x2c0590._0x1b8cd3,_0x2c0590._0xd48fd2,_0x2c0590._0x293f3e,_0x2c0590._0x16996e)],'agentId':_0x38fea5[_0x4c2c3e(0x119,_0x2c0590._0x26bb70,_0x2c0590._0x32cfa9,_0x2c0590._0x4584da)],'sessionId':_0x38fea5['sessionId'],'status':_0x38fea5[_0x4c2c3e(_0x2c0590._0x16ac5a,_0x2c0590._0x40480d,_0x2c0590._0x4d116f,_0x2c0590._0x1ddf5e)],'parentSessionId':_0x38fea5['parentSessionId'],..._0x38fea5[_0x4c2c3e(_0x2c0590._0x2991cb,_0x2c0590._0x28477a,0x50a,0x458)]!==void 0x0?{'originToolCallId':_0x38fea5[_0x4c2c3e(0x3c3,_0x2c0590._0x28477a,_0x2c0590._0x41846c,0x3fc)]}:{},..._0x38fea5[_0x3331a9(_0x2c0590._0x2a3d62,0x298,_0x2c0590._0x4ef2c1,_0x2c0590._0x12b122)]!==void 0x0?{'errorMessage':_0x38fea5[_0x4c2c3e(0x325,_0x2c0590._0x2ea7bd,0x233,_0x2c0590._0x5baa43)]}:{},..._0x38fea5['result']?.[_0x3331a9(_0x2c0590._0x2b8b92,0x3b8,_0x2c0590._0x778c79,_0x2c0590._0x5e60c7)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x38fea5[_0x3331a9(0x467,0x419,_0x2c0590._0x5ecd9b,0x37c)][_0x3331a9(0x317,0x4d7,_0x2c0590._0x778c79,_0x2c0590._0x9c65f9)])}:{}};}function createRunSummaryOutput(_0x3b5dd4,_0x163f0d){const _0x2ce920={_0x274113:0x31,_0x2162ca:0x59,_0x3e4c6a:0x11f,_0x55c326:0x7c,_0x44c447:0xbe,_0x1e55e4:0x10b},_0x3192df={_0x1f39db:0x1a3,_0x357474:0xe5},_0x2fd50d={_0x4f5d28:0x5d};function _0x3f2c51(_0x327342,_0x4e2aee,_0x124032,_0x2c08c8){return _0x42cde8(_0x327342-0x30,_0x2c08c8- -_0x2fd50d._0x4f5d28,_0x124032-0xdb,_0x4e2aee);}const _0xfc12ae=createRunSummary(_0x3b5dd4);function _0x3a1618(_0x5f1c35,_0xba0d6f,_0x375c88,_0x58aaee){return _0x48c1e5(_0x5f1c35-0x19a,_0xba0d6f-_0x3192df._0x1f39db,_0x58aaee,_0x58aaee-_0x3192df._0x357474);}const _0x2f273e=_0xfc12ae[_0x3f2c51(0x13f,-0x82,-0xf7,-_0x2ce920._0x274113)];return createToolOutput(typeof _0x2f273e===_0x3f2c51(-_0x2ce920._0x2162ca,_0x2ce920._0x3e4c6a,0x21b,0xfa)&&_0x2f273e[_0x3f2c51(-_0x2ce920._0x55c326,-0x1d9,-_0x2ce920._0x44c447,-_0x2ce920._0x1e55e4)]>0x0?_0x2f273e:_0x163f0d,_0xfc12ae);}function getRunTerminalErrorMessage(_0x2104f9){const _0x518469={_0x19d48b:0x428,_0x4aef5f:0x405,_0x535699:0x4a4,_0x142e83:0x54b,_0x221b66:0x43d,_0x582c4f:0x32a,_0x59e9b7:0x4ad,_0x4906fc:0x4aa,_0x37a4b0:0x5d2,_0x2c7ca4:0x4fc,_0x16a8bb:0x610},_0x40db43={_0x4a1d13:0x11c},_0x2a6e48={_0x4ae5ea:0x11a,_0x4feeff:0x3e1,_0x3d1ddd:0x17f},_0x1c4ec6=_0x2104f9?.[_0x4268f9(0x384,0x36c,_0x518469._0x19d48b,0x320)]['toolResults']['at'](-0x1);function _0x4a3af2(_0x2385cf,_0x505e16,_0x50c292,_0x2c8d7c){return _0x42cde8(_0x2385cf-_0x2a6e48._0x4ae5ea,_0x50c292-_0x2a6e48._0x4feeff,_0x50c292-_0x2a6e48._0x3d1ddd,_0x2c8d7c);}if(_0x1c4ec6?.[_0x4268f9(0x45e,0x4e8,0x39c,0x39b)]==='error'&&_0x1c4ec6[_0x4268f9(_0x518469._0x4aef5f,0x49c,_0x518469._0x535699,0x4cf)][_0x4a3af2(0x355,_0x518469._0x142e83,0x4b3,_0x518469._0x221b66)]()[_0x4a3af2(_0x518469._0x582c4f,_0x518469._0x59e9b7,0x333,_0x518469._0x4906fc)]>0x0)return _0x1c4ec6[_0x4a3af2(_0x518469._0x37a4b0,_0x518469._0x2c7ca4,0x595,_0x518469._0x16a8bb)];function _0x4268f9(_0x50766e,_0x47de59,_0x40cba8,_0x375d70){return _0x48c1e5(_0x40cba8-0x25,_0x47de59-_0x40db43._0x4a1d13,_0x47de59,_0x375d70-0x156);}return void 0x0;}function formatAbortedRunMessage(_0x19521e,_0x5e0d9e){const _0x3fde86={_0x2acaef:0x141,_0x1e27d9:0xc,_0x59734c:0xc8,_0x585a94:0x2b5,_0x1d24e4:0x227,_0x3d0189:0x39c,_0x4d1608:0x84,_0x36c205:0x1c2},_0xeea768={_0x26220c:0x48},_0x1b0d91={_0x4a152c:0xc0,_0x264809:0x1bc},_0x362690=_0x23792d(0xd3,_0x3fde86._0x2acaef,-_0x3fde86._0x1e27d9,_0x3fde86._0x59734c)+_0x19521e+_0x23792d(_0x3fde86._0x585a94,0xde,_0x3fde86._0x1d24e4,_0x3fde86._0x3d0189);if(!_0x5e0d9e||_0x5e0d9e['trim']()[_0x23792d(0xd5,-0x2b,-0x8,-_0x3fde86._0x4d1608)]===0x0||_0x5e0d9e===_0x362690)return _0x362690;function _0x4840b3(_0x19d416,_0xf01e69,_0x3219e6,_0x4104eb){return _0x42cde8(_0x19d416-_0x1b0d91._0x4a152c,_0x19d416-_0x1b0d91._0x264809,_0x3219e6-0x18f,_0x3219e6);}function _0x23792d(_0xc4f6f5,_0x5c6ca8,_0x1978a5,_0x35dfb1){return _0x48c1e5(_0x1978a5- -0x225,_0x5c6ca8-_0xeea768._0x26220c,_0x35dfb1,_0x35dfb1-0x1a1);}return _0x362690+_0x4840b3(0x102,0x66,0x13b,_0x3fde86._0x36c205)+_0x5e0d9e;}function createAssignTaskTool(_0x9a1561){const _0x5c0fae={_0x367253:0x63,_0x44d1f6:0x177,_0x51ffe7:0x220,_0x24c775:0xbf,_0x69aeaa:0x2,_0x4b2212:0xbf,_0x20f2d3:0xc3,_0x57c772:0x16c,_0x4e3e02:0x1d9,_0x11e726:0x28a,_0x140803:0x2dd,_0x229654:0x2cf},_0x554388={_0xa93473:0x129,_0x37a91:0x261,_0xdd40e2:0xf9,_0x107727:0x155,_0x186706:0x204,_0x27c78e:0x470,_0x4fada6:0x3ee,_0x3b1da4:0x4fd,_0x51ffc0:0x3ee,_0x22eef2:0x21e,_0x3327e4:0x29e,_0x39c99a:0x1ae,_0x433a62:0x122,_0x364f87:0x261,_0x5a091a:0x28a,_0x4f351f:0x2ba,_0x535b95:0x31b,_0x1fe841:0x167,_0x199301:0x149,_0x4dea44:0x101,_0x240365:0x52c,_0x2838bb:0x3ee,_0x4ab8bd:0x350,_0x58b54f:0x3ee,_0x57bcab:0x1e7,_0x1c097c:0x49,_0x5e2c17:0x404,_0xd4d8d1:0x310,_0x1c3005:0x1f0,_0x1ce2f3:0x2a7,_0x4ab12b:0x214,_0xeb0824:0x78,_0x52dbb8:0x137,_0x2dd184:0x65,_0x24ce7d:0x3a8,_0x22520e:0x4ab,_0x5bbc0b:0x137,_0x48304e:0x23b,_0x188c5b:0x2b3,_0x42754a:0x2e8,_0x1e5c32:0x156,_0x4a1f3f:0x416,_0x1fc434:0x207,_0x27d402:0x377,_0x261d71:0x26f,_0x4247b8:0x36c,_0x17cfb4:0x3db,_0x24b680:0x218,_0x5bea98:0x259,_0x1b3409:0x2b4,_0x2402a1:0x1cc,_0x7ff82e:0x2d2,_0x2d08d1:0x345,_0x4b2fd2:0x313,_0x3fe37b:0x46c,_0x7a1589:0x3ad,_0x14e76b:0x499,_0x5bfb11:0x4f5,_0x3c2577:0x206,_0x3f7b92:0x20d,_0x5763a1:0x124,_0x4e2658:0x1bb,_0x52e430:0x1f0,_0x331003:0x56a,_0x55e741:0x372,_0x4626d7:0x3ad,_0x8a0e3d:0x35f,_0x53017f:0x18f,_0x1f7c91:0x292,_0x4e44ca:0x1ff,_0x370593:0x448,_0x4697dc:0x450,_0x1f935c:0x3e0,_0x35fa43:0x20e,_0x4758f2:0x3c1},_0x46f96f={_0x44e94c:0x6e,_0x4cd1c0:0x4a,_0x236724:0x137,_0x251da0:0x105,_0x1577ea:0x2a4,_0x52f691:0x2d3,_0x2cb3fe:0x26,_0x5b9d2d:0xd7,_0x3355be:0x118},_0x3d3a0b={_0x3b2d78:0x1a2,_0x214245:0xbc},_0x51bb45={_0x5a224e:0x1b0,_0x3002ce:0x136};function _0x50b7e4(_0x188e91,_0x3b5107,_0x353289,_0x5135a1){return _0x48c1e5(_0x5135a1- -_0x51bb45._0x5a224e,_0x3b5107-_0x51bb45._0x3002ce,_0x3b5107,_0x5135a1-0x18a);}function _0x2d4526(_0x5ad9e3,_0x401d1b,_0x2bec36,_0x59de74){return _0x48c1e5(_0x401d1b- -_0x3d3a0b._0x3b2d78,_0x401d1b-0x1b3,_0x2bec36,_0x59de74-_0x3d3a0b._0x214245);}return defineTool({'name':_0x50b7e4(_0x5c0fae._0x367253,-0x63,-0x29,0x5a),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion','inputSchema':{'type':_0x2d4526(0x62,_0x5c0fae._0x44d1f6,_0x5c0fae._0x51ffe7,0x26e),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':'string'},'task':{'type':'string'}},'required':[_0x2d4526(0x1c0,_0x5c0fae._0x24c775,-_0x5c0fae._0x69aeaa,_0x5c0fae._0x4b2212),_0x50b7e4(_0x5c0fae._0x20f2d3,_0x5c0fae._0x57c772,0x16e,_0x5c0fae._0x4e3e02),_0x2d4526(0x11d,_0x5c0fae._0x11e726,_0x5c0fae._0x140803,_0x5c0fae._0x229654)]},async *'execute'(_0x5c680f,_0x4b5e78){const _0x5d34b9=createDelegatedRunId(),_0x3eb40f={'agentId':_0x5c680f[_0x1cc630(_0x554388._0xa93473,0x2b2,_0x554388._0x37a91,_0x554388._0xdd40e2)],'parentSessionId':_0x4b5e78[_0x1cc630(0x129,_0x554388._0x107727,0x1de,_0x554388._0x186706)],'runId':_0x5d34b9,..._0x4b5e78[_0x373806(_0x554388._0x27c78e,_0x554388._0x4fada6,0x319,0x2e9)]!==void 0x0?{'toolCallId':_0x4b5e78[_0x373806(_0x554388._0x3b1da4,_0x554388._0x51ffc0,0x401,0x4d8)]}:{}},_0x3cdd97=getDelegatedAgentDefinition(_0x9a1561,_0x5c680f[_0x1cc630(_0x554388._0x22eef2,0x328,0x261,0x23f)]);if(!_0x3cdd97)throw new ToolExecutionError(_0x1cc630(0x216,0x332,0x2ff,_0x554388._0x3327e4)+_0x5c680f['agentId'],{'agentId':_0x5c680f[_0x1cc630(_0x554388._0x39c99a,_0x554388._0x433a62,_0x554388._0x364f87,0x3df)]});function _0x1cc630(_0x3ecfcd,_0x1ce7ed,_0x17d0f8,_0x4aa9c7){return _0x2d4526(_0x3ecfcd-0xbc,_0x17d0f8-0x1a2,_0x4aa9c7,_0x4aa9c7-0x150);}const _0x548813=new Agent(await resolveDelegatedAgentOptions(_0x3cdd97,_0x3eb40f));let _0x1b58d1={'runId':_0x5d34b9,'agentId':_0x5c680f[_0x373806(_0x554388._0x5a091a,0x19d,_0x554388._0x4f351f,_0x554388._0x535b95)],'sessionId':_0x548813['sessionId'],'status':_0x373806(0x24a,_0x554388._0x1fe841,_0x554388._0x199301,_0x554388._0x4dea44),'parentSessionId':_0x4b5e78['sessionId'],..._0x4b5e78[_0x373806(_0x554388._0x240365,_0x554388._0x2838bb,0x3c9,_0x554388._0x4ab8bd)]!==void 0x0?{'originToolCallId':_0x4b5e78[_0x373806(0x48f,_0x554388._0x58b54f,0x358,0x33d)]}:{}};const _0x3e39fd=new AbortController(),_0x42c4de=addAbortListener(_0x4b5e78['signal'],()=>{const _0x15b708={_0x47a1f5:0x379},_0x44954b={_0x54ad25:0xf3,_0x5f1060:0x4ce};function _0x3bdb46(_0x1232bd,_0x45ef6e,_0x5cf2be,_0x3ae703){return _0x1cc630(_0x1232bd-_0x44954b._0x54ad25,_0x45ef6e-0xe9,_0x3ae703- -_0x44954b._0x5f1060,_0x1232bd);}function _0x2c4eaf(_0x3b095e,_0x5c58ee,_0x5134d3,_0x791ac0){return _0x373806(_0x3b095e-0x46,_0x3b095e- -_0x15b708._0x47a1f5,_0x5134d3-0xd6,_0x5c58ee);}_0x3e39fd[_0x2c4eaf(-_0x46f96f._0x44e94c,_0x46f96f._0x4cd1c0,-_0x46f96f._0x236724,_0x46f96f._0x251da0)](_0x4b5e78[_0x3bdb46(-0x333,-_0x46f96f._0x1577ea,-0x160,-_0x46f96f._0x52f691)]?.[_0x2c4eaf(-_0x46f96f._0x2cb3fe,-0x3d,_0x46f96f._0x5b9d2d,_0x46f96f._0x3355be)]);});function _0x373806(_0x33f1cd,_0xb504f,_0x33bddd,_0x3d1654){return _0x2d4526(_0x33f1cd-0x64,_0xb504f-0xde,_0x3d1654,_0x3d1654-0x19a);}yield createToolOutput(_0x373806(_0x554388._0x57bcab,0x16d,0x1f9,_0x554388._0x1c097c)+_0x1b58d1[_0x1cc630(_0x554388._0x5e2c17,0x2a3,0x2b4,_0x554388._0xd4d8d1)]+'.',{'runId':_0x1b58d1[_0x1cc630(_0x554388._0x1c3005,_0x554388._0x1ce2f3,0x2b4,_0x554388._0x4ab12b)],'agentId':_0x1b58d1[_0x373806(0x2e5,0x19d,0x4c,0x2c3)],'sessionId':_0x1b58d1[_0x1cc630(_0x554388._0xeb0824,_0x554388._0x52dbb8,0x1de,_0x554388._0x2dd184)],'status':_0x1b58d1[_0x1cc630(_0x554388._0x24ce7d,_0x554388._0x3327e4,0x377,_0x554388._0x22520e)]});try{const _0xbc81a0=await _0x548813[_0x1cc630(0x359,0x353,0x447,0x2e1)](_0x5c680f['task'],{'streaming':!![],'signal':_0x3e39fd[_0x373806(0x1ed,_0x554388._0x5bbc0b,_0x554388._0x48304e,0x38)]});_0x1b58d1={..._0x1b58d1,'status':_0xbc81a0[_0x373806(0x171,_0x554388._0x188c5b,_0x554388._0x42754a,_0x554388._0x1e5c32)],'result':_0xbc81a0};if(_0xbc81a0[_0x1cc630(_0x554388._0x4a1f3f,_0x554388._0x1fc434,_0x554388._0x27d402,0x253)]!==_0x373806(0x379,_0x554388._0x261d71,_0x554388._0x4247b8,_0x554388._0x17cfb4)){const _0x4ba6a6=getRunTerminalErrorMessage(_0xbc81a0),_0xf5b43d=formatAbortedRunMessage(_0x1b58d1['runId'],_0x4ba6a6);throw new ToolExecutionError(_0xf5b43d,{...createRunSummary(_0x1b58d1),'aborted':!![],'errorMessage':_0xf5b43d});}return createRunSummaryOutput(_0x1b58d1,_0x1cc630(0x225,0x28d,0x219,_0x554388._0x24b680)+_0x1b58d1[_0x1cc630(_0x554388._0x5bea98,0x150,_0x554388._0x1b3409,_0x554388._0x2402a1)]+_0x1cc630(_0x554388._0x7ff82e,0x37e,_0x554388._0x2d08d1,0x460));}catch(_0x1282f5){if(_0x1282f5 instanceof ToolExecutionError)throw _0x1282f5;if(isAbortError(_0x1282f5)||_0x3e39fd['signal'][_0x373806(_0x554388._0x4b2fd2,0x369,0x34a,0x473)]||_0x4b5e78['signal']['aborted']){const _0xb01345=getRunTerminalErrorMessage(_0x1b58d1[_0x373806(_0x554388._0x3fe37b,_0x554388._0x7a1589,_0x554388._0x14e76b,_0x554388._0x5bfb11)])??(_0x1282f5 instanceof Error?_0x1282f5[_0x1cc630(_0x554388._0x3c2577,0x271,_0x554388._0x3f7b92,_0x554388._0x5763a1)]:String(_0x1282f5)),_0x8f3101=formatAbortedRunMessage(_0x1b58d1[_0x373806(_0x554388._0x4e2658,_0x554388._0x52e430,0x361,0xae)],_0xb01345);_0x1b58d1={..._0x1b58d1,'status':_0x1cc630(_0x554388._0x331003,0x478,0x42d,_0x554388._0x55e741),'errorMessage':_0x8f3101};throw new ToolExecutionError(_0x8f3101,{...createRunSummary(_0x1b58d1),'aborted':!![],'errorMessage':_0x8f3101});}const _0x587085=getRunTerminalErrorMessage(_0x1b58d1[_0x373806(0x22e,_0x554388._0x4626d7,0x253,_0x554388._0x8a0e3d)])??(_0x1282f5 instanceof Error?_0x1282f5[_0x373806(_0x554388._0x53017f,_0x554388._0x199301,0x71,_0x554388._0x1f7c91)]:String(_0x1282f5))??_0x373806(0x25,_0x554388._0x107727,0x116,_0x554388._0x4e44ca)+_0x1b58d1['runId']+_0x1cc630(_0x554388._0x370593,0x542,_0x554388._0x4697dc,0x539);_0x1b58d1={..._0x1b58d1,'status':_0x373806(_0x554388._0x1f935c,0x2fc,_0x554388._0x35fa43,_0x554388._0x4758f2),'errorMessage':_0x587085};throw new ToolExecutionError(_0x587085,{...createRunSummary(_0x1b58d1),'errorMessage':_0x587085});}finally{_0x42c4de();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x30b3d1){return[createAssignTaskTool(_0x30b3d1)];}import*as _0x2b779e from'path';function buildDescription2(_0x3e7182){const _0x1aa5b9={_0x314d22:0x46a,_0x3ae57d:0x47e,_0x1817d6:0x508,_0x3fd6c8:0x45e,_0x3dc49d:0x475,_0x525def:0x5dc,_0x2449f5:0x50c,_0xcc7b79:0x56a,_0x2876df:0x470,_0x2bbd69:0x510,_0x5a7c30:0x5f0,_0x421256:0x710,_0x50da39:0x7e1,_0x4369c2:0x6fd},_0x43a85a={_0x549179:0x26,_0x104f3f:0x3f0,_0xa1d761:0x55},_0x5585ca={_0x547bc2:0x1c8,_0x3874c0:0x50c,_0x37ed39:0x10a};if(_0x3e7182[_0x5e3ef3(_0x1aa5b9._0x314d22,_0x1aa5b9._0x3ae57d,_0x1aa5b9._0x1817d6,_0x1aa5b9._0x3fd6c8)]===0x0)return _0x2cd193(_0x1aa5b9._0x3dc49d,_0x1aa5b9._0x525def,_0x1aa5b9._0x2449f5,_0x1aa5b9._0xcc7b79);function _0x5e3ef3(_0x1005e8,_0x1c0e3c,_0x14535f,_0x2ac440){return _0x42cde8(_0x1005e8-_0x5585ca._0x547bc2,_0x2ac440-_0x5585ca._0x3874c0,_0x14535f-_0x5585ca._0x37ed39,_0x1005e8);}const _0x514548=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x5e3ef3(0x6f3,_0x1aa5b9._0x2876df,0x62e,0x5ee),'Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0x5e3ef3(0x683,_0x1aa5b9._0x2bbd69,_0x1aa5b9._0x5a7c30,0x62c),..._0x3e7182[_0x5e3ef3(_0x1aa5b9._0x421256,0x678,_0x1aa5b9._0x50da39,_0x1aa5b9._0x4369c2)](_0x2a90ac=>'-\x20'+_0x2a90ac[_0x5e3ef3(0x44a,0x635,0x4ea,0x505)]+':\x20'+_0x2a90ac['description'])];function _0x2cd193(_0x465e32,_0x550760,_0x331b95,_0x154bfc){return _0x42cde8(_0x465e32-_0x43a85a._0x549179,_0x154bfc-_0x43a85a._0x104f3f,_0x331b95-_0x43a85a._0xa1d761,_0x465e32);}return _0x514548['join']('\x0a');}function createLoadSkillTool(_0x565513){const _0x44c10e={_0x514d0c:0x596,_0x154874:0x738,_0xb715a4:0x4f0,_0x51e923:0x5d4,_0x1bcd81:0x5ff,_0x2e3017:0x336,_0x55c16a:0x431,_0x2af1cd:0x3b2},_0x517fed={_0x395863:0x57f,_0x25628e:0x855,_0x46ff41:0x6fa,_0x45b5ea:0x28c,_0x121009:0x535,_0x59a231:0x55f,_0x43decc:0x74b,_0x198a88:0x808,_0x21e474:0x6a6,_0x4282b8:0x768,_0x1b0646:0x503,_0x530465:0x446,_0x3b7079:0x252,_0x3b99ed:0x296,_0x37029f:0x319,_0x5101cf:0x6ab,_0x43129b:0x696,_0x262a49:0x5c9,_0x5bb04a:0x698,_0xdc1470:0x58e,_0x4ee596:0x581,_0x41e946:0x5c7,_0x4f3521:0x1e5,_0x43502e:0x117,_0x3b7e7b:0x154,_0x25ae64:0x423,_0x2478d7:0x580,_0x2ce78b:0x4a6,_0x184739:0x3b8,_0x2df5cd:0x258,_0x50fe7a:0x629,_0x2b0832:0x72b,_0x5eb661:0x283,_0x5db02a:0x17f,_0x281237:0x4de,_0x1458c5:0x345},_0x1aaffc={_0x173fbc:0x138,_0x5589a4:0x2e},_0x4ef832={_0x1587b9:0x53a,_0x189f5d:0x1d9},_0x2728dc={_0x53f985:0x114,_0x47ae50:0x135},_0x3d125d=new Map(_0x565513[_0x3caf59(_0x44c10e._0x514d0c,0x5ba,_0x44c10e._0x154874,_0x44c10e._0xb715a4)][_0x2ce27c(0x514,0x4fb,_0x44c10e._0x51e923,0x4dc)](_0x470bd0=>[_0x470bd0[_0x3caf59(0x640,0x533,0x3d6,0x41e)],_0x470bd0]));function _0x2ce27c(_0x15eb61,_0x1ed2c4,_0xc5348,_0x18911e){return _0x42cde8(_0x15eb61-_0x2728dc._0x53f985,_0xc5348-0x3e3,_0xc5348-_0x2728dc._0x47ae50,_0x1ed2c4);}const _0xf59f16=buildDescription2(_0x565513['skills']);function _0x3caf59(_0x2662a6,_0x13e8d1,_0x270cca,_0x385e54){return _0x42cde8(_0x2662a6-0xce,_0x13e8d1-_0x4ef832._0x1587b9,_0x270cca-_0x4ef832._0x189f5d,_0x385e54);}return defineTool({'name':_0x3caf59(_0x44c10e._0x1bcd81,0x521,0x545,0x3a8),'description':_0xf59f16,'inputSchema':{'type':_0x2ce27c(0x2c0,_0x44c10e._0x2e3017,_0x44c10e._0x55c16a,0x2dc),'properties':{'name':{'type':_0x2ce27c(0x650,0x4ec,0x53a,0x4f0)}},'required':[_0x2ce27c(_0x44c10e._0x2af1cd,0x368,0x3dc,0x470)]},async *'execute'(_0x3e931b){const _0xf4fb6d={_0x517c59:0x165,_0x315396:0x159},_0x5405cc=_0x3d125d[_0x2b8f67(_0x517fed._0x395863,_0x517fed._0x25628e,_0x517fed._0x46ff41,0x5c1)](_0x3e931b[_0x281806(_0x517fed._0x45b5ea,0x283,0x11b,0x32b)]);if(!_0x5405cc){const _0x348dd7=Array[_0x2b8f67(_0x517fed._0x121009,0x342,0x464,_0x517fed._0x59a231)](_0x3d125d[_0x2b8f67(_0x517fed._0x43decc,_0x517fed._0x198a88,_0x517fed._0x21e474,_0x517fed._0x4282b8)]())['join'](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x3e931b['name']+_0x2b8f67(0x7b6,_0x517fed._0x1b0646,0x638,0x63b)+_0x348dd7,{'name':_0x3e931b[_0x2b8f67(_0x517fed._0x530465,0x479,0x561,0x4f8)]});}const _0x1bd1da=await _0x565513[_0x281806(_0x517fed._0x3b7079,_0x517fed._0x3b99ed,0x351,_0x517fed._0x37029f)](_0x5405cc);function _0x281806(_0x8bb550,_0x34c81d,_0x26457c,_0x3c1765){return _0x2ce27c(_0x8bb550-_0xf4fb6d._0x517c59,_0x26457c,_0x34c81d- -_0xf4fb6d._0x315396,_0x3c1765-0x10d);}function _0x2b8f67(_0x166e50,_0x523e81,_0x140553,_0x2842ed){return _0x3caf59(_0x166e50-_0x1aaffc._0x173fbc,_0x140553-_0x1aaffc._0x5589a4,_0x140553-0x1ec,_0x523e81);}const _0x244658=_0x5405cc[_0x2b8f67(_0x517fed._0x5101cf,0x634,_0x517fed._0x43129b,_0x517fed._0x262a49)]['directory']??_0x2b779e[_0x2b8f67(0x76c,0x561,_0x517fed._0x5bb04a,_0x517fed._0xdc1470)](_0x5405cc['source'][_0x2b8f67(0x59d,0x76a,0x631,_0x517fed._0x4ee596)]),_0x3b2fa4=[_0x2b8f67(0x4a5,0x67d,_0x517fed._0x41e946,0x596)+_0x1bd1da['name'],'',_0x1bd1da[_0x281806(0x89,_0x517fed._0x4f3521,0x166,0xd1)],'',_0x281806(_0x517fed._0x43502e,0x1f5,0x270,_0x517fed._0x3b7e7b),_0x281806(0x3e0,_0x517fed._0x25ae64,_0x517fed._0x2478d7,_0x517fed._0x2ce78b)+_0x5405cc[_0x281806(0x26d,_0x517fed._0x184739,_0x517fed._0x2df5cd,0x35d)]['path'],'Base\x20directory:\x20'+_0x244658][_0x2b8f67(0x536,_0x517fed._0x50fe7a,0x5d9,_0x517fed._0x2b0832)]('\x0a');return yield createToolOutput(_0x3b2fa4,{'id':_0x1bd1da['id'],'name':_0x1bd1da[_0x281806(0x3b9,_0x517fed._0x5eb661,_0x517fed._0x5db02a,0x139)],'path':_0x5405cc[_0x281806(_0x517fed._0x281237,0x3b8,0x46c,0x38a)][_0x281806(0x431,0x353,_0x517fed._0x1458c5,0x3e7)],'baseDirectory':_0x244658}),void 0x0;}});}var TODO_STATUSES=new Set([_0x42cde8(-0xef,-0x47,-0x11b,-0x85),_0x48c1e5(0x28c,0x2aa,0x346,0x350),_0x42cde8(-0xad,0x68,-0x103,0x1c3)]),TODO_PRIORITIES=new Set([_0x48c1e5(0x25b,0x251,0x258,0x2b9),'medium','low']);function isTodoStatus(_0x3ebfce){const _0x3a5d9c={_0x55c2ee:0x291,_0x46264c:0x3f5,_0x539669:0x4fa,_0x2cbc59:0x3de,_0x40735c:0x173,_0x1cee14:0x84},_0xd43458={_0x32fcb4:0x2d,_0x27594c:0x43,_0x17c642:0xf},_0x5d1257={_0x57b968:0xec,_0x51486d:0xcc};function _0x23a7ef(_0x3f80b7,_0x281396,_0x1722bc,_0x3fcfc0){return _0x42cde8(_0x3f80b7-_0x5d1257._0x57b968,_0x1722bc- -_0x5d1257._0x51486d,_0x1722bc-0x185,_0x281396);}function _0x23978d(_0x4e7a95,_0x549c0a,_0x2d7959,_0x2a887d){return _0x48c1e5(_0x549c0a- -_0xd43458._0x32fcb4,_0x549c0a-_0xd43458._0x27594c,_0x2d7959,_0x2a887d-_0xd43458._0x17c642);}return typeof _0x3ebfce===_0x23978d(_0x3a5d9c._0x55c2ee,_0x3a5d9c._0x46264c,_0x3a5d9c._0x539669,_0x3a5d9c._0x2cbc59)&&TODO_STATUSES[_0x23a7ef(_0x3a5d9c._0x40735c,0xb6,0xe6,-_0x3a5d9c._0x1cee14)](_0x3ebfce);}function isTodoPriority(_0x2d9ee1){const _0x37e774={_0x511820:0x683,_0x2444ef:0x748,_0xa08d9f:0x631,_0x1a7266:0x78e,_0x46b202:0x209,_0x197761:0x1b8,_0x1c027d:0x109,_0x4a3607:0x1db},_0x233273={_0x50f6ab:0x44,_0x651649:0x123},_0x414f60={_0x108c00:0x2c5};function _0x4ae1d6(_0x4e1c1c,_0x3b947e,_0x454cd4,_0x4b7a58){return _0x48c1e5(_0x3b947e- -_0x414f60._0x108c00,_0x3b947e-0xd7,_0x4b7a58,_0x4b7a58-0x9f);}function _0x7c9fb8(_0x450ab1,_0x3249e5,_0x322813,_0x2ca302){return _0x42cde8(_0x450ab1-_0x233273._0x50f6ab,_0x450ab1-0x52c,_0x322813-_0x233273._0x651649,_0x322813);}return typeof _0x2d9ee1===_0x7c9fb8(_0x37e774._0x511820,_0x37e774._0x2444ef,_0x37e774._0xa08d9f,_0x37e774._0x1a7266)&&TODO_PRIORITIES[_0x4ae1d6(_0x37e774._0x46b202,_0x37e774._0x197761,_0x37e774._0x1c027d,_0x37e774._0x4a3607)](_0x2d9ee1);}var TodoStore=class{[_0x48c1e5(0x428,0x3d5,0x42d,0x4e5)]=new Map();[_0x48c1e5(0x443,0x307,0x452,0x365)](_0x96d3d7){const _0x286413={_0x4186e7:0x603,_0x21d3fd:0x589},_0x1f30b7={_0x39c968:0x1b};function _0x1c673c(_0x52b967,_0x548d92,_0x1dac30,_0x1586b9){return _0x42cde8(_0x52b967-_0x1f30b7._0x39c968,_0x548d92-0x44c,_0x1dac30-0xff,_0x1586b9);}return this[_0x1c673c(0x48c,0x5a9,_0x286413._0x4186e7,_0x286413._0x21d3fd)]['get'](_0x96d3d7)??[];}[_0x42cde8(0x161,0x116,0x272,0x74)](_0x2fe35b,_0x94d983){const _0x41e472={_0x2034f6:0x5c9,_0x17417b:0x6b0,_0x173b4d:0x5f9,_0x1aed43:0x5ab,_0x55fcde:0x444,_0x1d6099:0x5a7},_0x3e737a={_0x4f7eee:0x4d2,_0x26cdd4:0x54},_0x21f13a={_0x1fd5b1:0x1fc};function _0x3eea4a(_0x56996a,_0xceba48,_0x1a7980,_0x44cbc7){return _0x48c1e5(_0x44cbc7-_0x21f13a._0x1fd5b1,_0xceba48-0x11e,_0x1a7980,_0x44cbc7-0x5f);}function _0x14e514(_0x25c097,_0x2de812,_0x470a98,_0x50e025){return _0x42cde8(_0x25c097-0x1a9,_0x2de812-_0x3e737a._0x4f7eee,_0x470a98-_0x3e737a._0x26cdd4,_0x25c097);}this[_0x3eea4a(0x5a7,_0x41e472._0x2034f6,_0x41e472._0x17417b,0x624)][_0x14e514(_0x41e472._0x173b4d,_0x41e472._0x1aed43,_0x41e472._0x55fcde,_0x41e472._0x1d6099)](_0x2fe35b,_0x94d983);}['getStats'](_0x1edecc){const _0x1b2b4f={_0x5a181c:0x1ee,_0x5f0968:0x23b,_0x5d8f96:0x1b2,_0x48b80e:0x2bd,_0x33f9ec:0xce,_0x325ecb:0x42,_0x5adc8b:0x25,_0x4d5a58:0x11f,_0x2921d8:0x5e7,_0xdd89a2:0x42a,_0x17f06c:0x3cf,_0x31960e:0x2bf,_0x375a78:0x25d,_0x22444e:0x3d3},_0x2fe8b5={_0x275ee7:0x22,_0x54ad5f:0x5},_0x463990={_0x735571:0xa0,_0x3484c3:0x108,_0x1bf46a:0x93},_0x1dfb01=this[_0x30ba4a(0x1a4,0x13f,0x19a,0x25d)](_0x1edecc);function _0x24b696(_0x8b5625,_0x3bcce9,_0x11a9a7,_0x372302){return _0x48c1e5(_0x372302-_0x463990._0x735571,_0x3bcce9-_0x463990._0x3484c3,_0x3bcce9,_0x372302-_0x463990._0x1bf46a);}const _0x16f9b2={'total':_0x1dfb01[_0x24b696(_0x1b2b4f._0x5a181c,_0x1b2b4f._0x5f0968,_0x1b2b4f._0x5d8f96,_0x1b2b4f._0x48b80e)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x30ba4a(_0x8f2e79,_0x10db75,_0x163fee,_0x5a2527){return _0x42cde8(_0x8f2e79-0xf4,_0x163fee-_0x2fe8b5._0x275ee7,_0x163fee-_0x2fe8b5._0x54ad5f,_0x8f2e79);}for(const _0x28ec57 of _0x1dfb01){if(_0x28ec57[_0x30ba4a(0xcb,0xf0,_0x1b2b4f._0x33f9ec,0xae)]===_0x30ba4a(0x114,0x13f,-0x25,-0xc4))_0x16f9b2[_0x30ba4a(0xed,-_0x1b2b4f._0x325ecb,-_0x1b2b4f._0x5adc8b,_0x1b2b4f._0x4d5a58)]+=0x1;else{if(_0x28ec57[_0x24b696(0x2ea,0x547,0x4cf,0x417)]==='in_progress')_0x16f9b2[_0x24b696(_0x1b2b4f._0x2921d8,_0x1b2b4f._0xdd89a2,_0x1b2b4f._0x17f06c,0x549)]+=0x1;else _0x16f9b2[_0x24b696(_0x1b2b4f._0x31960e,_0x1b2b4f._0x375a78,0x2f3,_0x1b2b4f._0x22444e)]+=0x1;}}return _0x16f9b2;}};function validateTodos(_0x5ec01f){const _0x6d43df={_0x5288d0:0x13b,_0x4cb1de:0xf4,_0x1ef5cc:0x12c,_0x5d5069:0x3c3,_0x279bad:0x392,_0x2258f3:0x62,_0x31be1e:0x91,_0x35b279:0x15d,_0x37497d:0x1c9,_0x1ea688:0x21,_0x55c9d1:0xbd,_0x45309f:0x27,_0x1351b6:0x1d1,_0x3292fc:0x171,_0x413159:0x94,_0x3cd265:0xbd,_0xfed19e:0x142,_0x1fb9a8:0x18f,_0x12ba25:0x49,_0x491d58:0x15f,_0x3460a4:0x19,_0x44c3a9:0xd0,_0x49c226:0x59,_0x59615d:0x83,_0x132638:0x478,_0x22fbea:0x36f,_0x308153:0x1f,_0xca31da:0x134,_0x1521de:0xc0,_0x5d0d71:0x5be,_0x2c2443:0x344,_0xe26290:0x4a5,_0x20c6d5:0x30d,_0x548703:0x321,_0x53607c:0x36c,_0x5641a6:0x250,_0x1aafd9:0x9c,_0x53f695:0x131,_0x140a3c:0x12b,_0x322a97:0x51c,_0x387983:0x494,_0x561577:0x470,_0x2c7413:0x593,_0x112d66:0x41a,_0x3768c1:0x477,_0x42dacd:0x70,_0x19fded:0x8f,_0x3ca6aa:0x3c7,_0x250aa4:0x5f6,_0xb3d800:0x446,_0x2a5c36:0x593,_0x384454:0x6ca,_0x3ff4cd:0x8a,_0x209c54:0xdc,_0xc7386b:0x2a9,_0x431378:0x87,_0x1dd232:0x19e,_0x4ce031:0x4d7,_0x50160d:0x3e,_0x58d17c:0x14d,_0xd0557b:0x97,_0x24d3ec:0x3c3,_0x3a84e6:0x28c,_0x4528b5:0x33b,_0x1bd8e7:0x45c,_0xbfe83:0x551,_0x89b00d:0x4c4},_0x401917={_0x4922db:0x174},_0x5d6dd4={_0x2045eb:0x3e9};function _0x59b49c(_0x2a30f2,_0xd19f8f,_0x5f3575,_0x3315e7){return _0x42cde8(_0x2a30f2-0xeb,_0xd19f8f-_0x5d6dd4._0x2045eb,_0x5f3575-0x163,_0x5f3575);}if(!Array[_0x114202(-_0x6d43df._0x5288d0,-_0x6d43df._0x4cb1de,-_0x6d43df._0x1ef5cc,-0xbb)](_0x5ec01f[_0x59b49c(0x2e8,_0x6d43df._0x5d5069,_0x6d43df._0x279bad,0x2ef)])||_0x5ec01f[_0x114202(_0x6d43df._0x2258f3,0x41,-_0x6d43df._0x31be1e,-0xbd)][_0x59b49c(0x4b2,0x33b,0x49e,0x3a2)]===0x0)throw new ToolExecutionError(_0x114202(-0x274,-0x92,-0x45,-_0x6d43df._0x35b279),{'error':'invalid_todos'});for(let _0x2c79e9=0x0;_0x2c79e9<_0x5ec01f[_0x114202(-_0x6d43df._0x37497d,-_0x6d43df._0x1ea688,-0x19c,-_0x6d43df._0x55c9d1)][_0x114202(-_0x6d43df._0x45309f,-_0x6d43df._0x1351b6,-0x293,-0x145)];_0x2c79e9+=0x1){const _0x53e5eb=_0x5ec01f[_0x114202(-_0x6d43df._0x3292fc,0x44,_0x6d43df._0x413159,-_0x6d43df._0x3cd265)][_0x2c79e9];if(!_0x53e5eb||typeof _0x53e5eb!==_0x114202(-0x3a,-_0x6d43df._0xfed19e,-_0x6d43df._0x1fb9a8,-_0x6d43df._0x12ba25))throw new ToolExecutionError(_0x114202(0x7b,0x2b,_0x6d43df._0x491d58,0x113)+(_0x2c79e9+0x1)+_0x114202(-_0x6d43df._0x3460a4,-_0x6d43df._0x44c3a9,-_0x6d43df._0x49c226,-_0x6d43df._0x59615d),{'error':_0x59b49c(_0x6d43df._0x132638,_0x6d43df._0x22fbea,0x3b9,0x307)});if(typeof _0x53e5eb['id']!==_0x114202(-_0x6d43df._0x308153,0x100,_0x6d43df._0xca31da,_0x6d43df._0x1521de)||_0x53e5eb['id'][_0x59b49c(0x4a8,0x4bb,_0x6d43df._0x5d0d71,_0x6d43df._0x2c2443)]()[_0x59b49c(_0x6d43df._0xe26290,0x33b,0x40a,0x365)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x2c79e9+0x1)+':\x20id\x20required',{'error':_0x59b49c(_0x6d43df._0x20c6d5,_0x6d43df._0x548703,_0x6d43df._0x53607c,_0x6d43df._0x5641a6)});if(typeof _0x53e5eb[_0x114202(0x2f,-0xa2,-0xcf,_0x6d43df._0x1aafd9)]!==_0x114202(_0x6d43df._0x53f695,_0x6d43df._0x140a3c,0x1e,0xc0)||_0x53e5eb[_0x59b49c(0x3df,_0x6d43df._0x322a97,0x4f4,0x5c0)]['trim']()[_0x59b49c(0x487,0x33b,_0x6d43df._0x387983,0x2a3)]===0x0)throw new ToolExecutionError(_0x59b49c(_0x6d43df._0x561577,_0x6d43df._0x2c7413,_0x6d43df._0x112d66,_0x6d43df._0x3768c1)+(_0x2c79e9+0x1)+_0x114202(0x139,0x6,-0x1a7,-0x2c),{'error':_0x114202(0x1a9,-0x7c,-_0x6d43df._0x42dacd,_0x6d43df._0x19fded)});if(!isTodoStatus(_0x53e5eb[_0x59b49c(_0x6d43df._0x3ca6aa,0x495,_0x6d43df._0x250aa4,_0x6d43df._0xb3d800)]))throw new ToolExecutionError(_0x59b49c(0x69f,_0x6d43df._0x2a5c36,_0x6d43df._0x384454,0x598)+(_0x2c79e9+0x1)+_0x114202(-_0x6d43df._0x59615d,-_0x6d43df._0x3ff4cd,-0x1d3,-0x64),{'error':_0x114202(-_0x6d43df._0x209c54,-_0x6d43df._0xc7386b,-_0x6d43df._0x431378,-_0x6d43df._0x1dd232)});if(!isTodoPriority(_0x53e5eb[_0x59b49c(0x41a,0x497,0x5a3,_0x6d43df._0x4ce031)]))throw new ToolExecutionError(_0x114202(0x12,-_0x6d43df._0x50160d,0x121,0x113)+(_0x2c79e9+0x1)+_0x114202(-0x6b,-_0x6d43df._0x58d17c,_0x6d43df._0xd0557b,-0x91),{'error':_0x59b49c(0x705,0x599,0x5da,0x487)});}const _0x210e34=_0x5ec01f[_0x59b49c(0x25c,_0x6d43df._0x24d3ec,0x266,0x390)]['map'](_0x4c355d=>_0x4c355d['id']);function _0x114202(_0x2bd050,_0x3db17e,_0x545b74,_0xbfb200){return _0x42cde8(_0x2bd050-_0x401917._0x4922db,_0xbfb200- -0x97,_0x545b74-0x19d,_0x2bd050);}if(new Set(_0x210e34)[_0x59b49c(0x3e8,0x391,_0x6d43df._0x3a84e6,0x216)]!==_0x210e34[_0x59b49c(0x253,_0x6d43df._0x4528b5,0x3e0,_0x6d43df._0x1bd8e7)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x59b49c(_0x6d43df._0xbfe83,0x3ff,0x57a,_0x6d43df._0x89b00d)});}function createStatsProgress(_0x3950df){const _0x2aaf0c={_0x14f21b:0x4fa,_0x37635d:0x473,_0x1d4b4c:0x5ac},_0x24a1e3={_0x42dff0:0x140,_0x4fdc04:0x146},_0x11f495={_0x53cd03:0x1ae};function _0x333236(_0x3ddb15,_0x12cad1,_0x4b0eed,_0x396ba0){return _0x42cde8(_0x3ddb15-_0x11f495._0x53cd03,_0x3ddb15-0x51e,_0x4b0eed-0x1b4,_0x12cad1);}function _0x41d430(_0x3a39d1,_0x3a7d1b,_0x4620a8,_0x2c2470){return _0x48c1e5(_0x4620a8-_0x24a1e3._0x42dff0,_0x3a7d1b-_0x24a1e3._0x4fdc04,_0x2c2470,_0x2c2470-0x1d0);}return _0x3950df['total']>0x0?Math['round'](_0x3950df[_0x41d430(0x374,_0x2aaf0c._0x14f21b,_0x2aaf0c._0x37635d,0x413)]/_0x3950df[_0x333236(_0x2aaf0c._0x1d4b4c,0x4f2,0x612,0x47a)]*0x64)+'%':'0%';}function createReminderItems(_0x51fad0){const _0x3b2b4b={_0x126ff0:0x3dd,_0x577109:0x14e};function _0x490e7a(_0x117363,_0x5a9a00,_0x486775,_0x59c303){return _0x48c1e5(_0x59c303- -_0x3b2b4b._0x126ff0,_0x5a9a00-0x10a,_0x5a9a00,_0x59c303-_0x3b2b4b._0x577109);}return _0x51fad0['map'](_0x10359a=>({'content':_0x10359a[_0x490e7a(-0x58,-0xc3,-0x11b,0x21)],'status':_0x10359a['status'],'id':_0x10359a['id']}));}function createStructuredResult(_0x352a98,_0x37c828,_0x49becf,_0x277821){const _0x37371e={_0x243381:0x282,_0x2aff39:0x24d,_0x148dc2:0x2d4},_0x2507c4={_0x5c738f:0x226};function _0x30a6e7(_0x5f409e,_0x1db087,_0x5cfb74,_0x46b04c){return _0x48c1e5(_0x46b04c- -0x109,_0x1db087-0x16d,_0x5cfb74,_0x46b04c-0x14d);}function _0x378f56(_0x433152,_0x4cf6c5,_0x1ab0b4,_0x150b55){return _0x42cde8(_0x433152-0x102,_0x150b55- -_0x2507c4._0x5c738f,_0x1ab0b4-0x141,_0x4cf6c5);}return{'allCompleted':_0x277821,'items':_0x37c828['map'](_0x406cc2=>({'id':_0x406cc2['id'],'content':_0x406cc2[_0x378f56(-0x259,-0x14,-0x1c1,-0xf3)],'status':_0x406cc2[_0x378f56(-0x279,-0x282,-0x26,-0x17a)],'priority':_0x406cc2['priority'],'createdAt':_0x406cc2[_0x378f56(-0x1fc,-0x161,-0x315,-0x2c8)]})),'progress':createStatsProgress(_0x49becf),'recentChanges':!![],'sessionId':_0x352a98,'stats':_0x49becf,'todosWritten':_0x37c828[_0x378f56(-0x2d0,-_0x37371e._0x243381,-_0x37371e._0x2aff39,-_0x37371e._0x148dc2)]};}function createOutputText(_0x180f47,_0xf88cc4){const _0x3c4e3b={_0x3cebb9:0x2a5,_0x43346b:0x255,_0x17b6a7:0x159,_0x1fe00f:0x422,_0x4347ce:0x2dd,_0x3da53e:0x25a,_0x25cc59:0x370,_0x19fcc6:0x27d,_0x138371:0x120,_0x1d871a:0x5c2,_0x50f877:0x4e0,_0x20a006:0x73d,_0xdf416:0x571},_0x179ab5={_0x27fc16:0x5f,_0x29975e:0x94},_0xd3564c={_0x3eab25:0x7d,_0x368237:0x4d0,_0x1fa55e:0x11d};function _0x397545(_0x4a2d97,_0x4106fd,_0xe7e400,_0x2b233b){return _0x42cde8(_0x4a2d97-_0xd3564c._0x3eab25,_0x4a2d97-_0xd3564c._0x368237,_0xe7e400-_0xd3564c._0x1fa55e,_0xe7e400);}function _0x507bc3(_0x1ae64b,_0x3df9d6,_0x233198,_0x2cac51){return _0x48c1e5(_0x3df9d6- -0xa,_0x3df9d6-_0x179ab5._0x27fc16,_0x233198,_0x2cac51-_0x179ab5._0x29975e);}const _0x5c4578=JSON[_0x507bc3(0x543,0x408,0x53c,0x3fd)](createReminderItems(_0x180f47));if(_0xf88cc4)return _0x507bc3(0x142,_0x3c4e3b._0x3cebb9,_0x3c4e3b._0x43346b,_0x3c4e3b._0x17b6a7)+_0x180f47[_0x397545(_0x3c4e3b._0x1fe00f,_0x3c4e3b._0x4347ce,0x2f6,0x402)]+_0x507bc3(0x207,0x219,_0x3c4e3b._0x3da53e,0x2dd)+_0x5c4578+_0x507bc3(0x523,0x3b3,0x28b,_0x3c4e3b._0x25cc59);return _0x507bc3(0x1a7,0x1f6,_0x3c4e3b._0x19fcc6,_0x3c4e3b._0x138371)+_0x5c4578+_0x397545(_0x3c4e3b._0x1d871a,_0x3c4e3b._0x50f877,_0x3c4e3b._0x20a006,_0x3c4e3b._0xdf416);}function createTodoWriteTool(_0x2d08bf=new TodoStore()){const _0x4f685e={_0x5b3806:0x77,_0x48fb26:0xfa,_0x1c3a85:0x14c,_0xf8ad9a:0x1e4,_0x484da7:0xec,_0x1be545:0x10f,_0xfefc56:0x1ac,_0x3d2cf8:0xcf,_0x211bae:0x1d9,_0x3eadd4:0xc8,_0x51b219:0xd2,_0x201dc4:0x1d1,_0x3d98c5:0x5f,_0x143050:0xd0,_0x4d166f:0x83,_0x5073fa:0x181,_0x57bbe4:0xbe,_0x1aff17:0x8b,_0xd00556:0x58,_0x5556ef:0x25f,_0x4fc168:0x1a2,_0x4c0f66:0x24d},_0x4e6c86={_0x4f78ab:0x23,_0x55f667:0x4a,_0x288d97:0x4dc,_0x5c0595:0x5e0,_0x3ea302:0x692,_0x515e3f:0x649,_0x469007:0x405,_0x430d9f:0x4f3},_0x13f87c={_0x3a91cf:0xf8,_0x319e4c:0x215,_0x4dad12:0x94},_0x43a6ce={_0xe7348c:0x227};function _0x4647f4(_0x3eb613,_0x581ad6,_0x1814a9,_0x20dd53){return _0x42cde8(_0x3eb613-0xcd,_0x1814a9- -_0x43a6ce._0xe7348c,_0x1814a9-0x2b,_0x20dd53);}function _0x12d0e9(_0x426a40,_0x4f65e1,_0x57c85f,_0x2ac911){return _0x42cde8(_0x426a40-_0x13f87c._0x3a91cf,_0x4f65e1- -_0x13f87c._0x319e4c,_0x57c85f-_0x13f87c._0x4dad12,_0x57c85f);}return defineTool({'name':_0x4647f4(0x7f,_0x4f685e._0x5b3806,-_0x4f685e._0x48fb26,0x1e),'description':_0x4647f4(-0x310,-_0x4f685e._0x1c3a85,-0x24c,-0x248),'inputSchema':{'type':_0x4647f4(-_0x4f685e._0xf8ad9a,-0x1e5,-0x1d9,-_0x4f685e._0x484da7),'properties':{'todos':{'type':_0x12d0e9(-0x21b,-_0x4f685e._0x1be545,-_0x4f685e._0xfefc56,-0x230),'items':{'type':_0x4647f4(-_0x4f685e._0x3d2cf8,-0xe2,-_0x4f685e._0x211bae,-0x18b),'properties':{'content':{'type':_0x4647f4(-_0x4f685e._0x3eadd4,-0x30,-0xd0,-_0x4f685e._0x51b219)},'status':{'type':_0x12d0e9(-0x208,-0xbe,-0xfc,0x22)},'priority':{'type':'string'},'id':{'type':_0x4647f4(-_0x4f685e._0x201dc4,_0x4f685e._0x3d98c5,-_0x4f685e._0x143050,-_0x4f685e._0x4d166f)},'createdAt':{'type':_0x12d0e9(-_0x4f685e._0x5073fa,-_0x4f685e._0x57bbe4,-0x6c,-_0x4f685e._0x1aff17)}},'required':[_0x4647f4(-0x96,-_0x4f685e._0xd00556,-0xf4,-_0x4f685e._0x5556ef),_0x4647f4(-_0x4f685e._0x4fc168,-0x3d,-0x17b,-0x103),_0x12d0e9(-0xcd,-0x167,-0xc1,-0x290),'id']}}},'required':[_0x4647f4(-0x2cd,-0x353,-_0x4f685e._0x4c0f66,-0x15a)]},async *'execute'(_0x194cbc,_0x3d26a9){const _0x40a45d={_0x44ce2e:0x13e,_0x36b730:0x23,_0x4b7649:0x234},_0x5212a1={_0x463680:0xad,_0x542014:0x9c},_0xea4c5b=_0x194cbc;validateTodos(_0xea4c5b);const _0x2f0efa=_0x3d26a9[_0x256bdf(_0x4e6c86._0x4f78ab,_0x4e6c86._0x55f667,-0xe0,0x64)]||'default',_0x1dd022=new Date()[_0x4999ca(_0x4e6c86._0x288d97,0x556,_0x4e6c86._0x5c0595,0x60c)]();function _0x4999ca(_0x184793,_0x5da512,_0x26cfa1,_0x135000){return _0x12d0e9(_0x184793-_0x5212a1._0x463680,_0x184793-0x6c8,_0x135000,_0x135000-_0x5212a1._0x542014);}const _0x3a5e65=_0xea4c5b['todos'][_0x4999ca(0x6a4,0x697,_0x4e6c86._0x3ea302,_0x4e6c86._0x515e3f)](_0x1b866c=>({'id':_0x1b866c['id'],'content':_0x1b866c['content'],'status':_0x1b866c[_0x256bdf(0x111,-0x69,0xb9,-0x7a)],'priority':_0x1b866c[_0x4999ca(0x561,0x4e1,0x4f7,0x5dd)],'sessionId':_0x2f0efa,'createdAt':_0x1b866c[_0x4999ca(0x411,0x557,0x560,0x37f)]||_0x1dd022,'updatedAt':_0x1dd022}));_0x2d08bf['setTodos'](_0x2f0efa,_0x3a5e65);const _0x37d59b=_0x2d08bf['getStats'](_0x2f0efa);function _0x256bdf(_0x5a90cc,_0x1d48ff,_0x41b15c,_0x1c5bbe){return _0x4647f4(_0x5a90cc-_0x40a45d._0x44ce2e,_0x1d48ff-_0x40a45d._0x36b730,_0x41b15c-_0x40a45d._0x4b7649,_0x1c5bbe);}const _0x27ae76=_0x3a5e65[_0x4999ca(_0x4e6c86._0x469007,0x537,_0x4e6c86._0x430d9f,0x38e)]>0x0&&_0x3a5e65['every'](_0x4a2bd6=>_0x4a2bd6['status']===_0x4999ca(0x51b,0x4f7,0x3d5,0x643));return createToolOutput(createOutputText(_0x3a5e65,_0x27ae76),createStructuredResult(_0x2f0efa,_0x3a5e65,_0x37d59b,_0x27ae76));}});}import{mkdir as _0x36067a,writeFile as _0x4093b7}from'fs/promises';import*as _0x3afb6d from'path';function sanitizeFileName(_0x568dc2){return _0x568dc2['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4decb6,_0xbdd608){const _0xbda2a3={_0x11ec8b:0x3dc,_0x18720c:0x445,_0x50a074:0x472,_0x5b90fb:0x413,_0xcc1b77:0x681,_0x32aefc:0x585,_0x2d81b6:0x478,_0x8ef14c:0x39c,_0x3f1626:0x436,_0x80831c:0x26a,_0x3db046:0x35e,_0x195011:0x95,_0x17161c:0x252,_0x3f57fe:0x11c,_0x5be001:0x4d1,_0x2a5391:0x417,_0x46024f:0x1b8,_0x46e5c2:0x27,_0x59e871:0x3e,_0x56b059:0x134,_0x172e05:0x299,_0x4a3775:0x6cf,_0x13df16:0x585,_0x20568c:0x662,_0x62f85:0xf2,_0x28e6cd:0x2e0,_0x245b1d:0x2d1,_0x59ebc2:0x3d6,_0x41e383:0x4ed,_0x21a030:0x50f,_0x50a325:0x2be,_0xef8780:0x354,_0x1a8330:0x3b2,_0x1cba29:0x27f,_0x8bd66a:0x4d7,_0x38d66a:0x206,_0x15bca1:0x167,_0x56b6d6:0x3bc,_0x3f7d04:0x3f8,_0x29eed5:0x5c,_0x4d9e38:0x230,_0x367fe7:0xc4,_0x5a8fa2:0x12e},_0x583fd8={_0x2c44c6:0xa3},_0x166515={_0x52a374:0x1d3};function _0x4dc4e4(_0x2a34c3,_0x114188,_0x313467,_0x582067){return _0x42cde8(_0x2a34c3-0x2a,_0x114188-0x3d1,_0x313467-_0x166515._0x52a374,_0x313467);}const {maxBytes:_0x806383,sessionDir:_0x718de2}=_0xbdd608;if(!_0x4decb6[_0x139f2b(0x530,_0xbda2a3._0x11ec8b,0x352,0x2dd)]||Buffer[_0x4dc4e4(_0xbda2a3._0x18720c,_0xbda2a3._0x50a074,0x4b2,_0xbda2a3._0x5b90fb)](_0x4decb6[_0x4dc4e4(_0xbda2a3._0xcc1b77,_0xbda2a3._0x32aefc,_0xbda2a3._0x2d81b6,0x414)],'utf8')<=_0x806383)return _0x4decb6;const _0x27b011=Buffer[_0x139f2b(0x23c,0x2c9,_0xbda2a3._0x8ef14c,0x1a1)](_0x4decb6[_0x139f2b(0x26b,0x3dc,0x3c5,_0xbda2a3._0x3f1626)],_0x139f2b(0x2a4,0x1e3,0x26a,_0xbda2a3._0x80831c));if(!_0x718de2){const _0xf76853=_0x4decb6['output'][_0x4dc4e4(_0xbda2a3._0x3db046,0x3d6,0x533,0x2de)](0x0,_0x806383);return{..._0x4decb6,'output':_0xf76853+(_0x139f2b(_0xbda2a3._0x195011,0x1ba,0x9f,_0xbda2a3._0x17161c)+_0x806383+'\x20bytes\x20(original:\x20'+_0x27b011+_0x4dc4e4(0x439,0x4b0,0x4d2,0x422)),'meta':{..._0x4decb6['meta'],'truncated':!![],'originalBytes':_0x27b011,'transforms':[..._0x4decb6[_0x139f2b(-0x48,_0xbda2a3._0x3f57fe,0xe7,0x1)]['transforms'],_0x139f2b(_0xbda2a3._0x5be001,_0xbda2a3._0x2a5391,0x2f1,0x38e)]}};}const _0x2cfeb1=_0x4decb6['toolName']+'_'+sanitizeFileName(_0x4decb6[_0x139f2b(_0xbda2a3._0x46024f,0x14c,_0xbda2a3._0x46e5c2,_0xbda2a3._0x59e871)])+'.log',_0x410345=_0x3afb6d[_0x139f2b(_0xbda2a3._0x56b059,_0xbda2a3._0x172e05,0x382,0x313)](_0x718de2,_0x2cfeb1);function _0x139f2b(_0x47de3a,_0x59cb7f,_0x1d27d6,_0x979900){return _0x48c1e5(_0x59cb7f- -_0x583fd8._0x2c44c6,_0x59cb7f-0x1d8,_0x979900,_0x979900-0x1e0);}await _0x36067a(_0x718de2,{'recursive':!![]}),await _0x4093b7(_0x410345,_0x4decb6[_0x4dc4e4(_0xbda2a3._0x4a3775,_0xbda2a3._0x13df16,_0xbda2a3._0x20568c,0x438)],_0x139f2b(0x19d,0x1e3,_0xbda2a3._0x62f85,_0xbda2a3._0x28e6cd));let _0x11cc0c=_0x4decb6[_0x139f2b(_0xbda2a3._0x245b1d,0x3dc,0x36f,0x3c1)][_0x4dc4e4(0x51c,_0xbda2a3._0x59ebc2,_0xbda2a3._0x41e383,_0xbda2a3._0x21a030)](0x0,_0x806383);const _0x39eab4=_0x11cc0c[_0x4dc4e4(_0xbda2a3._0x50a325,_0xbda2a3._0xef8780,_0xbda2a3._0x1a8330,_0xbda2a3._0x1cba29)]('\x0a');_0x39eab4>_0x806383*0.5&&(_0x11cc0c=_0x11cc0c['slice'](0x0,_0x39eab4));const _0xbb1e18=['','<system-reminder>','Tool\x20output\x20was\x20truncated\x20at\x20'+_0x806383+'\x20bytes\x20(total:\x20'+_0x27b011+'\x20bytes).',_0x4dc4e4(0x4e1,0x474,_0xbda2a3._0x8bd66a,0x316)+_0x410345,_0x139f2b(0x356,_0xbda2a3._0x38d66a,_0xbda2a3._0x15bca1,0x1aa),'</system-reminder>'][_0x139f2b(0x411,0x299,_0xbda2a3._0x56b6d6,_0xbda2a3._0x3f7d04)]('\x0a');return{..._0x4decb6,'output':_0x11cc0c+_0xbb1e18,'meta':{..._0x4decb6['meta'],'truncated':!![],'originalBytes':_0x27b011,'transforms':[..._0x4decb6[_0x139f2b(-_0xbda2a3._0x29eed5,0x11c,_0xbda2a3._0x4d9e38,_0xbda2a3._0x367fe7)][_0x139f2b(0xa3,_0xbda2a3._0x5a8fa2,0x21d,0x1e6)],'tool-output-offload']}};}function createUpdateTopicTool(){const _0x2ab46d={_0x181e56:0x51e,_0x22c370:0x373,_0x43a806:0x2d1,_0x5013a5:0x1cf,_0x1276dd:0x4d5,_0x4e7f15:0x37e,_0x3709c6:0x305,_0x41912b:0x353},_0x20886c={_0x18ccf8:0x18,_0x4a1e88:0xf,_0x5c38fe:0x41,_0x46801c:0x151,_0x4d06f4:0x7f,_0x4b9028:0x122,_0x6cfcf4:0xce,_0x4eb243:0x7a,_0x487272:0x3a,_0x134204:0x85,_0x55a3d0:0xa,_0x39d609:0x293,_0x3935ba:0x2c3,_0x5de52e:0x79,_0x3670d4:0x123,_0x48e85d:0x23},_0x264a1d={_0xa76d55:0x12f,_0x21c5fd:0xef},_0x4e9773={_0x56bd3f:0x169},_0x38b736={_0x3c80a4:0x1db};function _0x3ae409(_0x405dad,_0x2993d4,_0x40af05,_0x455f90){return _0x42cde8(_0x405dad-_0x38b736._0x3c80a4,_0x40af05-0x1ae,_0x40af05-0x13,_0x2993d4);}function _0x181532(_0x5dcb3e,_0x54e771,_0x189de7,_0x55ef91){return _0x48c1e5(_0x189de7-0x205,_0x54e771-_0x4e9773._0x56bd3f,_0x55ef91,_0x55ef91-0x76);}return defineTool({'name':_0x181532(_0x2ab46d._0x181e56,0x520,0x420,0x543),'description':_0x3ae409(0x215,_0x2ab46d._0x22c370,_0x2ab46d._0x43a806,_0x2ab46d._0x5013a5),'inputSchema':{'type':_0x181532(_0x2ab46d._0x1276dd,0x63d,_0x2ab46d._0x181e56,0x4c6),'properties':{'topic':{'type':_0x3ae409(_0x2ab46d._0x4e7f15,0x3ae,_0x2ab46d._0x3709c6,0x22e)}},'required':[_0x3ae409(0x2e2,0x3d5,_0x2ab46d._0x41912b,0x48a)]},async *'execute'(_0x10103f,_0x3da025){const _0x548c4a={_0x16cb6d:0x142};function _0x400ba3(_0x2defb4,_0x443817,_0xef9d9c,_0x19cec0){return _0x3ae409(_0x2defb4-0x116,_0x2defb4,_0x19cec0- -_0x264a1d._0xa76d55,_0x19cec0-_0x264a1d._0x21c5fd);}const {topic:_0x4cccb6}=_0x10103f;if(typeof _0x4cccb6!=='string'||_0x4cccb6[_0x400ba3(-_0x20886c._0x18ccf8,_0x20886c._0x4a1e88,_0x20886c._0x5c38fe,_0x20886c._0x46801c)]()[_0x400ba3(0x25,-0xb6,_0x20886c._0x4d06f4,-0x2f)]===0x0)throw new ToolExecutionError(_0x400ba3(0xaf,-_0x20886c._0x4b9028,_0x20886c._0x6cfcf4,_0x20886c._0x18ccf8),{'error':_0x25313b(0xd4,-_0x20886c._0x4eb243,-_0x20886c._0x487272,_0x20886c._0x134204)});const _0x5224f2=_0x4cccb6[_0x400ba3(-_0x20886c._0x55a3d0,_0x20886c._0x39d609,0x27d,0x151)]();function _0x25313b(_0x159a34,_0x44a627,_0x38c356,_0xb07b0a){return _0x3ae409(_0x159a34-_0x548c4a._0x16cb6d,_0xb07b0a,_0x44a627- -0x3b1,_0xb07b0a-0x164);}return _0x3da025[_0x400ba3(_0x20886c._0x3935ba,_0x20886c._0x5de52e,_0x20886c._0x3670d4,0x1ce)]?.(_0x5224f2),yield createToolOutput(_0x25313b(0xe3,-_0x20886c._0x48e85d,0xc6,0xae)+_0x5224f2+'\x22',{'topic':_0x5224f2}),void 0x0;}});}import{readFile as _0x2c477d,stat as _0x42a39a}from'fs/promises';import*as _0x25ce27 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x42cde8(0xac,0x7c,-0x26,0xa4),'high','low',_0x48c1e5(0x225,0x1c6,0x353,0x13d)]),PNG_SIGNATURE=Buffer[_0x42cde8(0x3e,-0x104,0x7,-0x36)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x13d540,_0x373066){const _0x2af7dd={_0x12893f:0x313,_0x29c173:0xb7,_0x2ac48f:0x67,_0xb46f65:0x2e7,_0x29babe:0x1e4,_0x47fd47:0x4ef,_0x1f09a8:0x230,_0x551ef9:0x3a7,_0x596056:0x2a9,_0x3db255:0x1c7,_0x2c4604:0x427,_0x8a4d:0x1d9,_0x1d06e3:0x2d9,_0x3d08cc:0x197,_0x3006d4:0x140,_0x53bcaf:0x2cd,_0x531b3e:0x3e2,_0x1222fc:0x378,_0x461760:0x3a9,_0x509a1f:0x10c,_0x50f8cf:0x58,_0x30ba7a:0x13,_0x2be24e:0x0,_0x4c09a9:0x467,_0xa29eda:0x52f,_0x2c488b:0x36c,_0x332b76:0x2c8,_0x7770bb:0x22a,_0x602245:0xad,_0x531952:0xcf,_0xf799f5:0x20,_0x48e961:0x132,_0x14c1c3:0x2e6,_0x1fd7a8:0x3c5,_0x51deda:0x23f,_0x41e14e:0x262,_0x1032fa:0xe0,_0xd69466:0x50,_0x2441f1:0x63,_0x4786a8:0x1e6,_0x35e038:0x334,_0x5dbc11:0x1d8},_0xb7dfb1={_0xcb89e2:0x10c,_0x38c6e8:0x1af},_0x52de7b={_0x2ad2d7:0x1fc,_0x471f09:0xa0};if(_0x13d540[_0xb378a0(0x2f1,0x306,0x284,0x197)](0x0,0x8)[_0xb378a0(_0x2af7dd._0x12893f,0x14b,0x18f,0x1a6)](PNG_SIGNATURE))return'image/png';if(_0x13d540[0x0]===0xff&&_0x13d540[0x1]===0xd8&&_0x13d540[0x2]===0xff)return _0x393840(-0x9f,_0x2af7dd._0x29c173,0x6a,_0x2af7dd._0x2ac48f);function _0x393840(_0x413cb7,_0x265944,_0x47b7ee,_0x50ebb1){return _0x48c1e5(_0x47b7ee- -_0x52de7b._0x2ad2d7,_0x265944-_0x52de7b._0x471f09,_0x50ebb1,_0x50ebb1-0xa8);}const _0x345a82=_0x13d540['subarray'](0x0,0x6)[_0xb378a0(0x494,0x4d5,0x2ce,0x416)](_0x393840(_0x2af7dd._0xb46f65,0xe8,_0x2af7dd._0x29babe,0x184));if(_0x345a82===_0xb378a0(_0x2af7dd._0x47fd47,_0x2af7dd._0x1f09a8,_0x2af7dd._0x551ef9,0x381)||_0x345a82===_0xb378a0(_0x2af7dd._0x596056,0x356,_0x2af7dd._0x3db255,0x2b3))return _0xb378a0(0x436,0x595,0x320,_0x2af7dd._0x2c4604);if(_0x13d540[_0xb378a0(_0x2af7dd._0x8a4d,0x30,_0x2af7dd._0x1d06e3,_0x2af7dd._0x3d08cc)](0x0,0x4)[_0x393840(0x1a1,_0x2af7dd._0x3006d4,0x251,0x230)]('ascii')==='RIFF'&&_0x13d540[_0xb378a0(0x121,_0x2af7dd._0x53bcaf,0x90,_0x2af7dd._0x3d08cc)](0x8,0xc)[_0xb378a0(0x577,_0x2af7dd._0x531b3e,0x51f,0x416)](_0xb378a0(_0x2af7dd._0x1222fc,0x470,0x4b3,_0x2af7dd._0x461760))===_0xb378a0(0x4d9,0x2a1,0x3a7,0x409))return _0x393840(_0x2af7dd._0x509a1f,-_0x2af7dd._0x50f8cf,_0x2af7dd._0x30ba7a,_0x2af7dd._0x2be24e);const _0x3cbc9b=_0x25ce27['extname'](_0x373066)[_0xb378a0(_0x2af7dd._0x4c09a9,_0x2af7dd._0xa29eda,_0x2af7dd._0x2c488b,0x3c9)]();if(_0x3cbc9b===_0x393840(0xbb,-0x9b,0x42,-0x6c))return _0x393840(0x21d,_0x2af7dd._0x332b76,_0x2af7dd._0x7770bb,0x197);if(_0x3cbc9b===_0x393840(_0x2af7dd._0x602245,-_0x2af7dd._0x531952,-_0x2af7dd._0xf799f5,_0x2af7dd._0x48e961)||_0x3cbc9b==='.jpeg')return'image/jpeg';if(_0x3cbc9b===_0xb378a0(_0x2af7dd._0x14c1c3,0x2ab,0x50c,_0x2af7dd._0x1fd7a8))return _0x393840(_0x2af7dd._0x51deda,0x32e,_0x2af7dd._0x41e14e,0x273);function _0xb378a0(_0x348e5a,_0x3db1d2,_0x303734,_0x54b378){return _0x48c1e5(_0x54b378- -0x37,_0x3db1d2-_0xb7dfb1._0xcb89e2,_0x3db1d2,_0x54b378-_0xb7dfb1._0x38c6e8);}if(_0x3cbc9b===_0x393840(-_0x2af7dd._0x1032fa,_0x2af7dd._0xd69466,_0x2af7dd._0x2441f1,0x8))return _0xb378a0(_0x2af7dd._0x4786a8,0x104,_0x2af7dd._0x35e038,_0x2af7dd._0x5dbc11);return void 0x0;}function normalizeDetail(_0x253d16){const _0x344f48={_0x5e1c28:0x52a,_0x2f8aab:0x3e3,_0x2d18e9:0x42a,_0x373e6c:0x358,_0x523989:0x460,_0x4aee9e:0x5c9},_0x271f65={_0x11a4b5:0x78},_0x15ceb4={_0x1acd28:0x131,_0x40aade:0x2ae};function _0x4b19bb(_0x29119f,_0x316f1a,_0x1359a5,_0xe318e4){return _0x42cde8(_0x29119f-_0x15ceb4._0x1acd28,_0x316f1a-_0x15ceb4._0x40aade,_0x1359a5-0x85,_0xe318e4);}if(_0x253d16===void 0x0)return void 0x0;const _0x3cdc03=_0x253d16['trim']()[_0x4b19bb(_0x344f48._0x5e1c28,_0x344f48._0x2f8aab,_0x344f48._0x2d18e9,0x4d2)]();if(!SUPPORTED_DETAILS[_0x4b19bb(_0x344f48._0x373e6c,_0x344f48._0x523989,0x56d,_0x344f48._0x4aee9e)](_0x3cdc03))throw new ToolExecutionError(_0x4b19bb(0x312,0x1f6,0x332,0xb7)+_0x253d16,{'detail':_0x253d16});function _0x117fa8(_0x2c25c7,_0xc6d387,_0xac5bc9,_0x1f07f1){return _0x48c1e5(_0x2c25c7-0x1de,_0xc6d387-_0x271f65._0x11a4b5,_0xac5bc9,_0x1f07f1-0x17f);}return _0x3cdc03;}function createViewFileTool(_0x3ebd99={}){const _0x27206c={_0x4e71ec:0x434,_0xb9fb72:0x8f,_0x57ab6f:0x2e8,_0x304cf7:0x299,_0x3922e6:0x40a,_0x25511a:0x409,_0x22fb78:0x4c6,_0x2aa521:0x500,_0x5f23d2:0x385,_0x12180a:0x650,_0x3bcca8:0x670},_0x441461={_0x2d98d0:0x174,_0x34f2a4:0x10d,_0x228a55:0x40,_0x38ea35:0x169,_0x3d0063:0x298,_0x40465e:0x390,_0x5a33b1:0x2fc,_0x423e94:0x307,_0x1eb112:0x60,_0x4f5f75:0x33,_0x495fc3:0x130,_0x2afd7b:0x13f,_0x2a5839:0xb2,_0x135a71:0xae,_0x512325:0x116,_0x18df00:0x57,_0x48628e:0x132,_0x285c56:0x146,_0x4dba17:0x4b,_0x9b7388:0x93,_0x3490dd:0x12e,_0x524606:0x194,_0x100622:0x16b,_0x2ecd82:0xf0,_0x37bb51:0x159,_0x518897:0x25e,_0x3ab584:0x25b,_0x6806dd:0xdc,_0x2c1a81:0x86,_0x37563e:0xc3,_0x216e41:0x73,_0x1ff3bf:0xed,_0x226f75:0x3d,_0x3591e0:0x3d,_0x2d1785:0x12c,_0x3afce3:0x22e,_0x36a0ee:0x1df,_0x34a343:0xea,_0x3d9029:0x269,_0x5e2366:0x350,_0xfeb7b0:0x123,_0x4e8c4d:0xdd},_0x37a6f3={_0x1ab1b5:0xd2},_0x113811={_0x421961:0x182},_0x200516={_0x293f0b:0xd4,_0x1f1d24:0x16a,_0x4cb31c:0x197};function _0x4d18a7(_0x4666a8,_0x1ef6e6,_0x565884,_0x181266){return _0x42cde8(_0x4666a8-_0x200516._0x293f0b,_0x1ef6e6-_0x200516._0x1f1d24,_0x565884-_0x200516._0x4cb31c,_0x565884);}const _0xf65bc3=_0x25ce27[_0x33c7d7(0x463,0x4b0,_0x27206c._0x4e71ec,0x598)](_0x3ebd99[_0x4d18a7(0x1f0,0x15e,_0x27206c._0xb9fb72,0x2d0)]??process[_0x33c7d7(0x35f,_0x27206c._0x57ab6f,0x2ab,0x308)]()),_0x350037=_0x3ebd99[_0x33c7d7(0x3b8,0x4a5,0x4e0,0x2a2)]??[],_0x1606d1=_0x3ebd99[_0x4d18a7(0x3e5,_0x27206c._0x304cf7,0x39d,0x132)]??DEFAULT_MAX_BYTES;function _0x33c7d7(_0x1d693f,_0x32d388,_0x15c35a,_0x5a3e28){return _0x42cde8(_0x1d693f-0x1bc,_0x1d693f-0x3a9,_0x15c35a-0xee,_0x5a3e28);}const _0x5f4d41=_0x3ebd99['name']??'ViewFile';return defineTool({'name':_0x5f4d41,'description':_0x33c7d7(0x3fe,_0x27206c._0x3922e6,_0x27206c._0x25511a,_0x27206c._0x22fb78),'inputSchema':{'type':'object','properties':{'path':{'type':_0x33c7d7(_0x27206c._0x2aa521,0x519,0x5d5,_0x27206c._0x5f23d2)},'detail':{'type':_0x33c7d7(0x500,_0x27206c._0x12180a,_0x27206c._0x3bcca8,0x533)}},'required':['path']},async *'execute'(_0x81f18f){const _0x3ba543=resolveAllowedPath(_0xf65bc3,_0x350037,_0x81f18f[_0xaa0887(0x13,-_0x441461._0x2d98d0,-0x13f,-0x1eb)]);await assertWorkspaceFile(_0x3ba543);const _0xa3cb45=await _0x42a39a(_0x3ba543);if(_0xa3cb45[_0x26c913(0xec,_0x441461._0x34f2a4,_0x441461._0x228a55,_0x441461._0x38ea35)]>_0x1606d1)throw new ToolExecutionError(_0xaa0887(-_0x441461._0x3d0063,-_0x441461._0x40465e,-_0x441461._0x5a33b1,-_0x441461._0x423e94)+_0x81f18f['path'],{'path':_0x81f18f[_0xaa0887(-_0x441461._0x1eb112,-_0x441461._0x4f5f75,-0x13f,-0xad)],'maxBytes':_0x1606d1,'size':_0xa3cb45['size']});function _0xaa0887(_0xeef1ad,_0xe3549e,_0x2fba9e,_0x402b13){return _0x4d18a7(_0xeef1ad-_0x113811._0x421961,_0x2fba9e- -0x372,_0x402b13,_0x402b13-0x7f);}const _0x27b3f0=await _0x2c477d(_0x3ba543),_0x27c0cd=detectImageMediaType(_0x27b3f0,_0x3ba543);if(!_0x27c0cd)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x81f18f[_0xaa0887(-0x31,-_0x441461._0x495fc3,-_0x441461._0x2afd7b,-_0x441461._0x2a5839)],{'path':_0x81f18f['path'],'supported':[_0x26c913(_0x441461._0x2d98d0,0x29d,0x1c9,0x27b),_0xaa0887(-0x1e0,-0x21a,-0xa9,-_0x441461._0x135a71),_0x26c913(0x36,_0x441461._0x512325,-_0x441461._0x18df00,-_0x441461._0x48628e),_0x26c913(_0x441461._0x285c56,-_0x441461._0x4dba17,0xb,-0x48),_0x26c913(0x132,-_0x441461._0x9b7388,0x2c,0x39)]});const _0x1e0df6=normalizeDetail(_0x81f18f['detail']),_0x220e55=['Viewed\x20image\x20file:\x20'+_0x81f18f['path'],'MIME:\x20'+_0x27c0cd,_0x26c913(0x335,0x228,0x224,_0x441461._0x3490dd)+_0xa3cb45['size']+'\x20bytes'][_0x26c913(_0x441461._0x524606,0x272,_0x441461._0x100622,0x61)](_0x1e0df6?['Detail:\x20'+_0x1e0df6]:[])['join']('\x0a');function _0x26c913(_0x24d564,_0x35e03f,_0x241b6e,_0x5768cc){return _0x4d18a7(_0x24d564-0x9f,_0x241b6e- -_0x37a6f3._0x1ab1b5,_0x35e03f,_0x5768cc-0x10e);}const _0xb0058=[{'type':_0xaa0887(-_0x441461._0x2ecd82,_0x441461._0x37bb51,-0x1b,-0x197),'source':{'type':_0x26c913(-0x39,_0x441461._0x518897,0x132,_0x441461._0x3ab584),'media_type':_0x27c0cd,'data':_0x27b3f0[_0xaa0887(-0xd2,-_0x441461._0x6806dd,-_0x441461._0x2c1a81,-0xc2)](_0x26c913(0x241,_0x441461._0x37563e,0x132,0x1d))}},{'type':_0xaa0887(_0x441461._0x216e41,-0x4e,-_0x441461._0x1ff3bf,-0x267),'text':_0x220e55}];return yield createToolOutput(_0x220e55,{'path':_0x81f18f['path'],'resolvedPath':_0x3ba543,'created':_0xa3cb45[_0x26c913(_0x441461._0x226f75,_0x441461._0x3591e0,_0x441461._0x2d1785,_0x441461._0x3afce3)][_0xaa0887(-0xb8,-0x22c,-_0x441461._0x36a0ee,-_0x441461._0x34a343)](),'modified':_0xa3cb45[_0x26c913(_0x441461._0x3d9029,0x80,0x186,0xbf)][_0xaa0887(-_0x441461._0x5e2366,-0xd2,-0x1df,-0x10d)](),'size':_0xa3cb45[_0x26c913(-_0x441461._0xfeb7b0,-_0x441461._0x48628e,_0x441461._0x228a55,0x153)],'mimeType':_0x27c0cd,'encoding':_0x26c913(-_0x441461._0x4f5f75,_0x441461._0x4e8c4d,0x132,0x298),..._0x1e0df6?{'detail':_0x1e0df6}:{}},_0xb0058),void 0x0;}});}import _0x411ddd from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x1299a9=>{const {lookup:_0x2fe6d3}=await import('dns/promises');return _0x2fe6d3(_0x1299a9,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x1794a1){const _0x469ac6=_0x1794a1['split']('.');if(_0x469ac6['length']!==0x4)return null;let _0x4ce0cb=0x0;for(const _0x27513a of _0x469ac6){if(!/^\d{1,3}$/['test'](_0x27513a))return null;const _0x332a14=Number(_0x27513a);if(_0x332a14>0xff)return null;_0x4ce0cb=_0x4ce0cb*0x100+_0x332a14;}return _0x4ce0cb>>>0x0;}function isBlockedIpv4(_0x2ad763){const _0x2b2fa0={_0x390dc0:0x19d,_0x3da653:0x228,_0x37b5c5:0x133,_0x53dc63:0x173,_0x20023a:0x121,_0x1d6206:0xf1,_0x50fe32:0x10f,_0x558f7d:0x27d,_0x4e188b:0x1e9,_0x4cbe7d:0x50,_0x523330:0x79,_0x3372fc:0xad,_0x1c3b96:0x3e,_0x350049:0xc5,_0x594b6c:0x203,_0x516c02:0x8b,_0x21cb72:0x199,_0x10e193:0x1e1,_0x5f17d2:0x105,_0x422636:0x5e,_0x1a88b1:0x17},_0x1cbaa7={_0x5de555:0x296};function _0x23cd12(_0x22b23c,_0x1d32c4,_0x3270b9,_0x5095cf){return _0x48c1e5(_0x5095cf- -_0x1cbaa7._0x5de555,_0x1d32c4-0x1ab,_0x22b23c,_0x5095cf-0x145);}function _0x23ead5(_0xd77df5,_0xbc091,_0x289ee5,_0x49c2d3){return _0x42cde8(_0xd77df5-0x1f2,_0x49c2d3-0x10c,_0x289ee5-0x1a7,_0xd77df5);}const _0x362bef=ipv4ToInt(_0x2ad763);if(_0x362bef===null)return!![];const _0x3736d4=(_0x16987f,_0xe6135d)=>{const _0x218851=ipv4ToInt(_0x16987f);if(_0x218851===null)return![];const _0x3eb334=_0xe6135d===0x0?0x0:0xffffffff<<0x20-_0xe6135d>>>0x0;return(_0x362bef&_0x3eb334)===(_0x218851&_0x3eb334);};return _0x3736d4(_0x23ead5(_0x2b2fa0._0x390dc0,0x176,_0x2b2fa0._0x3da653,0x224),0x8)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x37b5c5,-_0x2b2fa0._0x53dc63,-0x5e,-0x8),0x8)||_0x3736d4(_0x23cd12(-0x72,0x193,_0x2b2fa0._0x20023a,_0x2b2fa0._0x1d6206),0xa)||_0x3736d4('127.0.0.0',0x8)||_0x3736d4(_0x23ead5(-0xc1,0x74,-_0x2b2fa0._0x50fe32,0x40),0x10)||_0x3736d4(_0x23cd12(-0xe,_0x2b2fa0._0x558f7d,0x27e,0x124),0xc)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x4e188b,-_0x2b2fa0._0x4cbe7d,-_0x2b2fa0._0x523330,_0x2b2fa0._0x3372fc),0x18)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x1c3b96,_0x2b2fa0._0x350049,-_0x2b2fa0._0x594b6c,-_0x2b2fa0._0x516c02),0x10)||_0x3736d4(_0x23cd12(0x2ed,_0x2b2fa0._0x21cb72,0x30a,_0x2b2fa0._0x10e193),0xf)||_0x3736d4(_0x23ead5(_0x2b2fa0._0x5f17d2,0x187,-0x13f,0x10),0x4)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x422636,-0x127,0x192,_0x2b2fa0._0x1a88b1),0x4);}function expandIpv6(_0x4cfd50){const _0x41b36f={_0x2813fd:0x5f,_0xae1393:0x1de,_0x2190d6:0x2d2,_0x1b233b:0x14b,_0x678844:0xd2,_0x4faeef:0x42,_0x3c88df:0x42,_0x3217e5:0x2c,_0x14091f:0xcc,_0x1ee217:0x71,_0x4b9858:0x2de,_0x325c58:0x6a,_0x2b6310:0x1ad,_0x3d95d5:0x258,_0x55fec0:0x1ad,_0x3eb8ba:0xa2,_0x4190d4:0xe2,_0x58abef:0xa0,_0x4411a8:0x120,_0x460ab9:0x1ea,_0x4aad5e:0x154,_0xbf9ab9:0x278,_0xd6f893:0x321},_0x2042e6={_0x37ae43:0x96},_0xcd9154={_0x2177fe:0x2d,_0x4d364e:0x3d};let _0x5339cb=_0x4cfd50,_0x22f2fa;const _0x1c722e=_0x5339cb[_0xe289f7(0x34d,0x7f,_0x41b36f._0x2813fd,_0x41b36f._0xae1393)](':');_0x5339cb['slice'](_0x1c722e+0x1)[_0xe289f7(0x1c1,_0x41b36f._0x2190d6,0x3f6,0x2ae)]('.')&&(_0x22f2fa=_0x5339cb[_0x15c795(_0x41b36f._0x1b233b,_0x41b36f._0x678844,0x12b,_0x41b36f._0x4faeef)](_0x1c722e+0x1),_0x5339cb=_0x5339cb[_0x15c795(-0x98,0x1bd,0x76,_0x41b36f._0x3c88df)](0x0,_0x1c722e+0x1));const _0x1ddbd4=_0x5339cb['split']('::');function _0x15c795(_0x5023c2,_0x2225e5,_0x20e178,_0x1c9077){return _0x42cde8(_0x5023c2-_0xcd9154._0x2177fe,_0x1c9077-_0xcd9154._0x4d364e,_0x20e178-0x9c,_0x20e178);}if(_0x1ddbd4['length']>0x2)return null;const _0x5a04da=_0x104c2e=>_0x104c2e[_0xe289f7(0x2ea,0x3f7,0x2af,0x396)](':')['filter'](_0x8606bd=>_0x8606bd[_0xe289f7(0x221,0x21c,0x1d4,0x1ad)]>0x0)['map'](_0x498dd1=>Number[_0xe289f7(0x402,0x48c,0x1f6,0x30d)](_0x498dd1,0x10)),_0x335c54=_0x1ddbd4[0x0]?_0x5a04da(_0x1ddbd4[0x0]):[],_0x104fb2=_0x1ddbd4[_0xe289f7(0x50,0x189,0xc1,0x1ad)]===0x2&&_0x1ddbd4[0x1]?_0x5a04da(_0x1ddbd4[0x1]):[],_0x4950e7=[];function _0xe289f7(_0x59bc50,_0x45b81e,_0x118246,_0x108c18){return _0x42cde8(_0x59bc50-_0x2042e6._0x37ae43,_0x108c18-0x25b,_0x118246-0xa8,_0x59bc50);}if(_0x22f2fa){const _0x2c2226=ipv4ToInt(_0x22f2fa);if(_0x2c2226===null)return null;_0x4950e7[_0x15c795(0x129,-0xa4,0xee,0x23)](_0x2c2226>>>0x10&0xffff,_0x2c2226&0xffff);}const _0x5dbcb1=[..._0x104fb2,..._0x4950e7],_0x456fef=0x8-_0x335c54[_0x15c795(_0x41b36f._0x3217e5,-0x1ba,_0x41b36f._0x14091f,-_0x41b36f._0x1ee217)]-_0x5dbcb1[_0xe289f7(_0x41b36f._0x4b9858,_0x41b36f._0x325c58,0x2e,_0x41b36f._0x2b6310)];if(_0x1ddbd4[_0xe289f7(_0x41b36f._0x3d95d5,0x202,0x1e3,_0x41b36f._0x55fec0)]===0x1)return _0x335c54[_0x15c795(-_0x41b36f._0x3eb8ba,_0x41b36f._0x4190d4,-_0x41b36f._0x58abef,-_0x41b36f._0x1ee217)]+_0x5dbcb1[_0xe289f7(_0x41b36f._0x4411a8,_0x41b36f._0x460ab9,0x63,0x1ad)]===0x8?[..._0x335c54,..._0x5dbcb1]:null;if(_0x456fef<0x0)return null;return[..._0x335c54,...new Array(_0x456fef)[_0x15c795(_0x41b36f._0x4aad5e,_0x41b36f._0xbf9ab9,_0x41b36f._0xd6f893,0x208)](0x0),..._0x5dbcb1];}function isBlockedIpv6(_0x2917cc){const _0xce2e58={_0x71020c:0x1da,_0x9090e4:0x33a,_0x33a3be:0x46f,_0x3d3159:0x31b,_0x4a3f15:0x2bd,_0x55269f:0x229,_0x2b046b:0x4b7},_0x13bab2={_0x49096a:0xb1},_0x45e8d9={_0x9183c3:0x6a,_0x21adae:0x43},_0x50374d=expandIpv6(_0x2917cc);if(!_0x50374d||_0x50374d['some'](_0x7c0dcc=>Number[_0x1cd2eb(0x371,0x3c4,0x20e,0x271)](_0x7c0dcc)))return!![];const _0x4d32a0=_0x50374d[_0x1cd2eb(0x20a,0x2fa,_0xce2e58._0x71020c,0x2cd)](0x0,0x7)['every'](_0x11b83d=>_0x11b83d===0x0);if(_0x4d32a0&&(_0x50374d[0x7]===0x0||_0x50374d[0x7]===0x1))return!![];if(_0x50374d[_0x938bff(0x464,_0xce2e58._0x9090e4,_0xce2e58._0x33a3be,_0xce2e58._0x3d3159)](0x0,0x5)[_0x1cd2eb(0x312,0x372,_0xce2e58._0x4a3f15,_0xce2e58._0x55269f)](_0x2ac811=>_0x2ac811===0x0)&&(_0x50374d[0x5]===0xffff||_0x50374d[0x5]===0x0)){const _0x4a0c31=(_0x50374d[0x6]<<0x10|_0x50374d[0x7])>>>0x0,_0xfb1199=[_0x4a0c31>>>0x18&0xff,_0x4a0c31>>>0x10&0xff,_0x4a0c31>>>0x8&0xff,_0x4a0c31&0xff][_0x1cd2eb(_0xce2e58._0x2b046b,0x473,0x1c1,0x339)]('.');return isBlockedIpv4(_0xfb1199);}function _0x938bff(_0x311326,_0x2fbd04,_0xe799df,_0x14a72c){return _0x48c1e5(_0x2fbd04-_0x45e8d9._0x9183c3,_0x2fbd04-_0x45e8d9._0x21adae,_0x14a72c,_0x14a72c-0x119);}const _0x314c05=_0x50374d[0x0];function _0x1cd2eb(_0x1e2fe1,_0x4f9a97,_0x1aa95f,_0x5d7e1a){return _0x48c1e5(_0x5d7e1a- -0x3,_0x4f9a97-0x5b,_0x1aa95f,_0x5d7e1a-_0x13bab2._0x49096a);}if((_0x314c05&0xff00)===0xfc00||(_0x314c05&0xfe00)===0xfc00)return!![];if((_0x314c05&0xffc0)===0xfe80)return!![];if((_0x314c05&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x537bc5){const _0x48def3=isIP(_0x537bc5);if(_0x48def3===0x4)return isBlockedIpv4(_0x537bc5);if(_0x48def3===0x6)return isBlockedIpv6(_0x537bc5);return!![];}async function assertPublicUrl(_0x3fc872,_0x47c258={}){const _0x486ad9={_0x2e5c19:0x244,_0x2800e5:0x275,_0xd5a822:0xe6,_0x125a9a:0x139,_0x1f3ac5:0x134,_0x3dcd56:0x2a7,_0x7a92fe:0x4f,_0x2e14eb:0xe0,_0x1948b3:0x38,_0x26314e:0x58,_0x4f6b4d:0x1bb,_0x11a6fa:0xc5,_0x5f933f:0x60e,_0x3f57eb:0x50e,_0x1c0ef7:0x6b1,_0x789971:0x59e,_0x5e9373:0x25c,_0x1b968e:0x366,_0xad149:0x5dd,_0x25af1e:0x4a7,_0x5bc7bd:0xc9,_0x51f1a9:0x569,_0x3ba6ac:0x6f7,_0x5ad679:0x218,_0x1b6bd1:0x357,_0x282423:0x190,_0x4a6b3f:0x7a,_0x44a056:0x210,_0x2cfe58:0xf7,_0x5604f9:0x22a,_0xccf1ae:0x115,_0x13bf1b:0x20f,_0x1f27ac:0x180,_0x39cd5f:0x1f2,_0x265d8c:0x4d6},_0x5ae3d4={_0x2bfa93:0x12b},_0x3c0ba6={_0x3d9dd6:0x1c9,_0x2036d2:0x4ef,_0x165dd8:0xdd};let _0x52e841;function _0x1f885c(_0xe8c775,_0x753a63,_0x1b4523,_0x1dd948){return _0x42cde8(_0xe8c775-_0x3c0ba6._0x3d9dd6,_0x753a63-_0x3c0ba6._0x2036d2,_0x1b4523-_0x3c0ba6._0x165dd8,_0x1b4523);}try{_0x52e841=new URL(_0x3fc872);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x3fc872});}if(_0x52e841[_0x2c4a6a(_0x486ad9._0x2e5c19,0x2a7,0x424,_0x486ad9._0x2800e5)]!==_0x2c4a6a(_0x486ad9._0xd5a822,0x124,_0x486ad9._0x125a9a,0x1e3)&&_0x52e841[_0x2c4a6a(_0x486ad9._0x1f3ac5,_0x486ad9._0x3dcd56,0x290,0x3f3)]!==_0x2c4a6a(0x15e,_0x486ad9._0x7a92fe,-0xb7,-_0x486ad9._0x2e14eb))throw new ToolExecutionError(_0x2c4a6a(0x33,0x128,0x1f7,0xc5),{'url':_0x3fc872});if(_0x52e841[_0x2c4a6a(-_0x486ad9._0x1948b3,0x33,-0x36,-0x107)]||_0x52e841[_0x2c4a6a(_0x486ad9._0x26314e,_0x486ad9._0x4f6b4d,0x1c7,_0x486ad9._0x11a6fa)])throw new ToolExecutionError(_0x1f885c(0x74e,_0x486ad9._0x5f933f,0x5f4,_0x486ad9._0x3f57eb),{'url':_0x52e841[_0x1f885c(_0x486ad9._0x1c0ef7,0x6d4,_0x486ad9._0x789971,0x845)]+'//'+_0x52e841[_0x2c4a6a(_0x486ad9._0x5e9373,0x29b,_0x486ad9._0x1b968e,0x18a)]+_0x52e841[_0x1f885c(_0x486ad9._0xad149,_0x486ad9._0x25af1e,0x585,0x605)]});const _0x56521f=_0x52e841[_0x2c4a6a(0x1bf,_0x486ad9._0x5bc7bd,-0x9c,0x84)]['replace'](/^\[|\]$/g,''),_0x451eba=_0x52e841[_0x1f885c(_0x486ad9._0x51f1a9,0x6d4,0x7d4,_0x486ad9._0x3ba6ac)]+'//'+_0x52e841[_0x2c4a6a(_0x486ad9._0x5ad679,0x29b,_0x486ad9._0x1b6bd1,0x3a0)]+_0x52e841[_0x2c4a6a(_0x486ad9._0x282423,_0x486ad9._0x4a6b3f,-0x8f,-0xa2)];if(isIP(_0x56521f)){if(isBlockedAddress(_0x56521f))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x451eba});return _0x52e841;}const _0x4b1fc8=_0x47c258[_0x2c4a6a(_0x486ad9._0x44a056,_0x486ad9._0x2cfe58,_0x486ad9._0x5604f9,-0x86)]??defaultLookup;let _0x4863e9;function _0x2c4a6a(_0x2e26cb,_0x2e2e0a,_0x489133,_0x1e0419){return _0x42cde8(_0x2e26cb-0x156,_0x2e2e0a-0xc2,_0x489133-_0x5ae3d4._0x2bfa93,_0x2e26cb);}try{_0x4863e9=await _0x4b1fc8(_0x56521f);}catch{throw new ToolExecutionError(_0x2c4a6a(_0x486ad9._0xccf1ae,_0x486ad9._0x13bf1b,_0x486ad9._0x1f27ac,_0x486ad9._0x39cd5f),{'url':_0x451eba});}if(_0x4863e9[_0x1f885c(_0x486ad9._0x265d8c,0x441,0x3f9,0x3aa)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x451eba});for(const {address:_0x245e8a}of _0x4863e9){if(isBlockedAddress(_0x245e8a))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x451eba});}return _0x52e841;}async function safeFetch(_0x4193af,_0x460117={},_0x607d3e={}){const _0x412d3a={_0xd7a885:0x1ca,_0x346e90:0x38f,_0x265013:0x25f,_0x18567e:0x3fb,_0x4ff46a:0x350,_0xc8ef43:0x3ae,_0x17ee4e:0x355,_0x171b07:0x5fe,_0x4db641:0x46a,_0x3ba239:0x31e,_0x47faac:0x413,_0x3fa83a:0x3bd,_0x2a3d4b:0x34c,_0x3aefc6:0x2ee,_0x2b6bee:0x5b4,_0x4b438a:0x4b6,_0x4fd29a:0x354},_0x1dd656={_0x2d9f1e:0x1b};function _0x59ee7a(_0x4e6da2,_0x56be3e,_0x2b7815,_0x5dd514){return _0x42cde8(_0x4e6da2-0x1dd,_0x2b7815-0x16c,_0x2b7815-0xba,_0x5dd514);}const _0x30a800=_0x607d3e[_0x2e1d20(_0x412d3a._0xd7a885,0x252,_0x412d3a._0x346e90,_0x412d3a._0x265013)]??fetch,_0x465d8c=_0x607d3e[_0x2e1d20(0x2f0,_0x412d3a._0x18567e,0x3dc,_0x412d3a._0x4ff46a)]??DEFAULT_MAX_REDIRECTS;let _0x1792da=_0x4193af;function _0x2e1d20(_0x50ab36,_0x1e3f46,_0x2af078,_0x37a2a6){return _0x48c1e5(_0x1e3f46-0x69,_0x1e3f46-_0x1dd656._0x2d9f1e,_0x37a2a6,_0x37a2a6-0x1a8);}for(let _0x437527=0x0;;_0x437527+=0x1){const _0x1ca73b=await assertPublicUrl(_0x1792da,_0x607d3e),_0x2561ef=await _0x30a800(_0x1ca73b[_0x59ee7a(0x380,0x437,0x2ee,0x290)](),{..._0x460117,'redirect':_0x59ee7a(_0x412d3a._0xc8ef43,0x3a4,_0x412d3a._0x17ee4e,0x47e)}),_0xa94665=_0x2561ef['headers'][_0x2e1d20(0x5a9,0x4c6,_0x412d3a._0x171b07,0x5b4)](_0x59ee7a(0x132,0x249,0x140,0x208));if(!REDIRECT_STATUSES[_0x59ee7a(_0x412d3a._0x4db641,0x34f,_0x412d3a._0x3ba239,_0x412d3a._0x47faac)](_0x2561ef['status'])||!_0xa94665)return _0x2561ef;if(_0x437527>=_0x465d8c)throw new ToolExecutionError('Too\x20many\x20redirects',{'url':_0x1ca73b[_0x59ee7a(_0x412d3a._0x3fa83a,_0x412d3a._0x2a3d4b,_0x412d3a._0x3aefc6,0x33b)]()});_0x1792da=new URL(_0xa94665,_0x1ca73b)[_0x2e1d20(_0x412d3a._0x2b6bee,_0x412d3a._0x4b438a,_0x412d3a._0x4fd29a,0x501)]();}}var USER_AGENT=_0x48c1e5(0x476,0x3ae,0x5b6,0x46f),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2a086f,_0x59e0ef){const _0x40daae={_0x2cacbd:0x4ae,_0x3c3c81:0x447,_0x1f5351:0x430,_0x39ae94:0x2ea,_0x2b8bc3:0x288,_0x2ad5e5:0x4e8,_0x50443c:0x50d,_0x6cd9bb:0x2d7,_0x55a910:0x366,_0x36b091:0x42c,_0x502bd1:0x1d8,_0x12c85f:0x25c},_0x40c814={_0x3f0810:0x59,_0x278802:0x249,_0xccd51f:0xd6},_0x3d7d21={_0x12e6de:0x34,_0x4269d3:0x19},_0x3cb0bc={_0x3fe931:0x1cf,_0x40784f:0x3b},_0x25ee20={_0xa681d6:0x23,_0x5b3857:0x1e7};function _0x25f876(_0x439d53,_0x2caf59,_0x9f52cf,_0x14a044){return _0x48c1e5(_0x439d53- -_0x25ee20._0xa681d6,_0x2caf59-_0x25ee20._0x5b3857,_0x9f52cf,_0x14a044-0x165);}const _0x12f61c=new AbortController(),_0x40fa97=setTimeout(()=>_0x12f61c[_0x2dd8fe(0x36b,0x3e9,0x2ab,0x44a)](new Error(_0x2dd8fe(0x48a,0x352,0x222,0x36f))),_0x59e0ef);function _0x2dd8fe(_0x22751a,_0x4a49fb,_0x4a6ab9,_0x150e1b){return _0x42cde8(_0x22751a-_0x3cb0bc._0x3fe931,_0x4a49fb-0x2e5,_0x4a6ab9-_0x3cb0bc._0x40784f,_0x22751a);}const _0x53f676=()=>_0x12f61c['abort'](_0x2a086f['reason']);return _0x2a086f[_0x2dd8fe(_0x40daae._0x2cacbd,_0x40daae._0x3c3c81,0x4a1,0x4f3)]?_0x12f61c[_0x2dd8fe(_0x40daae._0x1f5351,0x3e9,_0x40daae._0x39ae94,0x2e6)](_0x2a086f[_0x2dd8fe(0x3cd,0x431,0x447,0x513)]):_0x2a086f[_0x25f876(0x3cc,_0x40daae._0x2b8bc3,_0x40daae._0x2ad5e5,_0x40daae._0x50443c)](_0x2dd8fe(_0x40daae._0x6cd9bb,0x3e9,_0x40daae._0x55a910,_0x40daae._0x36b091),_0x53f676,{'once':!![]}),{'signal':_0x12f61c[_0x25f876(_0x40daae._0x502bd1,0x2a5,_0x40daae._0x12c85f,0x24c)],'cleanup':()=>{function _0x2a12bf(_0x5ee538,_0x2f0038,_0x5431cb,_0x8fa63f){return _0x2dd8fe(_0x8fa63f,_0x5431cb- -0x1a0,_0x5431cb-_0x3d7d21._0x12e6de,_0x8fa63f-_0x3d7d21._0x4269d3);}clearTimeout(_0x40fa97);function _0xd82873(_0x193586,_0x275073,_0x3ce504,_0x493922){return _0x25f876(_0x275073- -0x219,_0x275073-0x1b0,_0x3ce504,_0x493922-0x7a);}_0x2a086f[_0xd82873(0x12,_0x40c814._0x3f0810,0x1a0,-0xa3)](_0x2a12bf(0x28c,0x1bc,_0x40c814._0x278802,_0x40c814._0xccd51f),_0x53f676);}};}function createWebFetchTool(_0x2beb3f={}){const _0x5da741={_0x5aa11e:0x296,_0x3ce0a2:0x408,_0x4127b9:0x395,_0x4419ec:0x493,_0x8b8ab7:0x4eb,_0xe4be29:0x465,_0x2f8b11:0x3a5,_0x174d93:0x444,_0x1cca0f:0x4dc,_0x53b123:0x53d,_0x42c570:0x454,_0x1c3154:0x306,_0x8e0634:0x247,_0xa1de54:0x393,_0x32b5e0:0x2e,_0x530be7:0x1c8,_0x46afa2:0x216,_0x393b74:0x245,_0x5e915d:0xf4,_0x1ec4a8:0xa8,_0x5d430b:0x205,_0x48b072:0x19d,_0x1694b3:0xe7,_0x5dd0bd:0x5e,_0x56e8ce:0x10,_0x3604b2:0x86,_0x57d9a3:0x1c,_0x1b8528:0x538},_0x6a702f={_0x226757:0x1b6,_0x6783de:0x15e,_0x1aa8ef:0x36,_0x1b94b5:0x17c,_0x59627f:0x89,_0x56f1e4:0x21,_0x16bb98:0x6f,_0x28a662:0x7f,_0x58d211:0x53,_0x2b6748:0x362,_0xf801fb:0x7b,_0x427c08:0x9,_0x51a4aa:0x73,_0x32e41e:0x27,_0x4c41d4:0x12f,_0x348156:0x1a,_0x479e2f:0x6e,_0x948af5:0x93,_0x18e99f:0x56,_0x226897:0x63,_0x1dbf42:0x11,_0x23627d:0x15b,_0x136197:0x2bd,_0x23ae78:0x2a1,_0x275eeb:0x9,_0x19d91f:0xf,_0x584743:0x54,_0x338b7f:0x16e,_0x1f7a4c:0x179,_0x3dc8c8:0x56,_0x25af16:0xbb,_0x38d17a:0x25c,_0x16682a:0xfb,_0x1efc3d:0x96,_0x530b87:0xd1,_0x2b28f2:0x1e5,_0x2cc041:0x32,_0x48f5aa:0x185,_0x296146:0x9d,_0x5bdab9:0x51,_0x2cb5ca:0x1bc,_0xc0436d:0x34,_0x173f9e:0x2ac,_0x33e568:0x172},_0x460a85={_0x5e1dd2:0x533,_0x164817:0x190,_0x3bfe49:0x1e7},_0x2db6a2={_0x27fc1e:0x360},_0x1bfd50={_0x31cdeb:0x40f},_0x495d5e={_0x3ed36a:0xd1};function _0x295113(_0xe297ef,_0x1d56a0,_0x1ac4ac,_0x48edfd){return _0x42cde8(_0xe297ef-0x104,_0xe297ef- -_0x495d5e._0x3ed36a,_0x1ac4ac-0x8,_0x48edfd);}const _0x4f00dd=_0x2beb3f[_0x16b34c(_0x5da741._0x5aa11e,_0x5da741._0x3ce0a2,_0x5da741._0x4127b9,0x4c5)]??_0x16b34c(_0x5da741._0x4419ec,0x4e9,_0x5da741._0x8b8ab7,_0x5da741._0xe4be29),_0x368d3a=_0x2beb3f[_0x295113(-0x12b,-0x12,-0x129,0x4c)]??DEFAULT_TIMEOUT_MS2,_0x322c42=_0x2beb3f[_0x16b34c(_0x5da741._0x2f8b11,_0x5da741._0x174d93,_0x5da741._0x1cca0f,_0x5da741._0x53b123)],_0x21450d=new _0x411ddd({'headingStyle':'atx','codeBlockStyle':_0x16b34c(_0x5da741._0x42c570,0x53a,0x6a0,0x617),'bulletListMarker':'-'});function _0x16b34c(_0x1b490e,_0x51a63e,_0x4afdc7,_0x57f331){return _0x42cde8(_0x1b490e-0x93,_0x51a63e-_0x1bfd50._0x31cdeb,_0x4afdc7-0xec,_0x1b490e);}return _0x21450d[_0x16b34c(0x454,_0x5da741._0x1c3154,_0x5da741._0x8e0634,_0x5da741._0xa1de54)](['script',_0x295113(-0xb7,-_0x5da741._0x32b5e0,-0xcd,-_0x5da741._0x530be7),'noscript',_0x295113(-0x180,-0xf,-0x299,-0x261),_0x295113(-0x1b5,-_0x5da741._0x46afa2,-_0x5da741._0x393b74,-0x30b),_0x295113(-0xd,0x88,_0x5da741._0x5e915d,0x6e),_0x295113(_0x5da741._0x1ec4a8,_0x5da741._0x5d430b,_0x5da741._0x48b072,_0x5da741._0x1694b3),'aside']),defineTool({'name':_0x4f00dd,'description':_0x295113(-0xde,_0x5da741._0x5dd0bd,-0x1f6,_0x5da741._0x56e8ce),'inputSchema':{'type':'object','properties':{'description':{'type':_0x295113(_0x5da741._0x3604b2,0x1a0,-0x6e,_0x5da741._0x57d9a3)},'url':{'type':_0x16b34c(0x4c2,0x566,0x63e,_0x5da741._0x1b8528)}},'required':['url']},async *'execute'(_0x597de0,_0x317b29){const _0x379e63=(await assertPublicUrl(_0x597de0[_0xdeea54(-0x268,-0x2e2,-_0x6a702f._0x226757,-_0x6a702f._0x6783de)],{'lookup':_0x322c42}))['toString']();function _0x536690(_0x5f2cd5,_0x553698,_0x48d0c5,_0x1f0e97){return _0x16b34c(_0x1f0e97,_0x5f2cd5- -_0x2db6a2._0x27fc1e,_0x48d0c5-0x154,_0x1f0e97-0xa4);}if(_0x317b29['signal']['aborted'])throw new ToolExecutionError(_0x536690(_0x6a702f._0x1aa8ef,_0x6a702f._0x1b94b5,0x2f,_0x6a702f._0x59627f),{'url':_0x379e63});const _0x56b20c=createTimeoutSignal(_0x317b29['signal'],_0x368d3a);let _0x5bfa5a='',_0x5b45cf=0x0,_0x2f0893;try{const _0x2d550d=await safeFetch(_0x379e63,{'headers':{'User-Agent':USER_AGENT},'signal':_0x56b20c[_0x536690(-_0x6a702f._0x56f1e4,_0x6a702f._0x16bb98,-_0x6a702f._0x28a662,_0x6a702f._0x58d211)]},{'lookup':_0x322c42});if(!_0x2d550d['ok'])throw new ToolExecutionError(_0xdeea54(-0x307,-0xcb,-0x229,-_0x6a702f._0x2b6748)+_0x2d550d['status']+'\x20'+_0x2d550d[_0xdeea54(-_0x6a702f._0xf801fb,-_0x6a702f._0x427c08,_0x6a702f._0x51a4aa,-_0x6a702f._0x32e41e)],{'url':_0x379e63,'statusCode':_0x2d550d['status']});_0x5bfa5a=_0x2d550d['headers'][_0xdeea54(_0x6a702f._0x4c41d4,-_0x6a702f._0x348156,_0x6a702f._0x479e2f,_0x6a702f._0x948af5)](_0xdeea54(-_0x6a702f._0x18e99f,_0x6a702f._0x226897,-0x2e,-_0x6a702f._0x1dbf42))??'',_0x5b45cf=_0x2d550d[_0x536690(_0x6a702f._0x23627d,_0x6a702f._0x136197,_0x6a702f._0x23ae78,0x123)],_0x2f0893=await _0x2d550d[_0xdeea54(-0x121,-0x14c,-_0x6a702f._0x275eeb,0xc7)]();}catch(_0x4de38a){if(_0x4de38a instanceof ToolExecutionError)throw _0x4de38a;const _0x483317=_0x4de38a instanceof Error?_0x4de38a[_0x536690(-_0x6a702f._0x19d91f,-_0x6a702f._0x584743,_0x6a702f._0x338b7f,-_0x6a702f._0x1f7a4c)]:String(_0x4de38a);throw new ToolExecutionError(_0x483317,{'url':_0x379e63});}finally{_0x56b20c[_0xdeea54(-_0x6a702f._0x3dc8c8,0x9b,-_0x6a702f._0x25af16,0x3f)]();}const _0x12fe5c=new Date()[_0xdeea54(-_0x6a702f._0x38d17a,-0x22b,-_0x6a702f._0x16682a,-0x1d0)]();let _0x7d574,_0x370253;if(_0x5bfa5a[_0xdeea54(-0x30,-_0x6a702f._0x1efc3d,-_0x6a702f._0x530b87,-_0x6a702f._0x2b28f2)](_0x536690(0x28,-0x131,0xe2,-0x25)))_0x7d574='```json\x0a'+_0x2f0893+_0x536690(0x12d,_0x6a702f._0x2cc041,_0x6a702f._0x48f5aa,0x271),_0x370253=_0xdeea54(-_0x6a702f._0x296146,_0x6a702f._0x5bdab9,-0x58,0xb3);else _0x5bfa5a[_0x536690(0x102,_0x6a702f._0x2cb5ca,0x21f,_0x6a702f._0xc0436d)]('text/html')?(_0x7d574=_0x21450d['turndown'](_0x2f0893),_0x370253='markdown'):(_0x7d574=_0x2f0893,_0x370253='text');function _0xdeea54(_0x3a36a2,_0x165839,_0x38f063,_0x3af077){return _0x16b34c(_0x3af077,_0x38f063- -_0x460a85._0x5e1dd2,_0x38f063-_0x460a85._0x164817,_0x3af077-_0x460a85._0x3bfe49);}return yield createToolOutput(_0x7d574,{'url':_0x379e63,'contentType':_0x5bfa5a,'statusCode':_0x5b45cf,'format':_0x370253,'size':_0x2f0893[_0xdeea54(-_0x6a702f._0x173f9e,-_0x6a702f._0x33e568,-0x1d2,-0x2ce)],'fetchedAt':_0x12fe5c}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x48c1e5(0x41d,0x3aa,0x2bd,0x47e);function normalizeUrl(_0x22e768){const _0x3d3653={_0x4068e7:0x40b,_0x5c8ff3:0x2f0,_0x251877:0x318,_0x45f144:0x181,_0x5241a8:0x208,_0x363126:0x332,_0x12e019:0x27c,_0x1f3f65:0x12c,_0x12800f:0x8c,_0x20b775:0x41,_0x4c9013:0x1ce,_0x548443:0x6a,_0x1731aa:0x1af,_0x2b5adb:0x3aa,_0x5e8e85:0xfa},_0x3967ee={_0x43863d:0x67},_0x2cfdb0={_0x31a9c6:0xbe};function _0x469514(_0x2de5e5,_0xb8f524,_0x5b0378,_0x59020d){return _0x42cde8(_0x2de5e5-0x17f,_0xb8f524- -_0x2cfdb0._0x31a9c6,_0x5b0378-0x1dc,_0x5b0378);}function _0x3d8da5(_0xd4c0fc,_0x44bf6b,_0x394bfd,_0x17a220){return _0x48c1e5(_0xd4c0fc- -0x34,_0x44bf6b-0x45,_0x17a220,_0x17a220-_0x3967ee._0x43863d);}try{const _0x2cdef3=new URL(_0x22e768);for(const _0x109884 of['utm_source',_0x3d8da5(0x40b,_0x3d3653._0x4068e7,_0x3d3653._0x5c8ff3,_0x3d3653._0x251877),_0x469514(-0x1a,-_0x3d3653._0x45f144,-_0x3d3653._0x5241a8,-0x274),'utm_term',_0x3d8da5(0x222,0x1a2,_0x3d3653._0x363126,_0x3d3653._0x12e019),'gclid',_0x469514(-_0x3d3653._0x1f3f65,-_0x3d3653._0x12800f,-0x2c,_0x3d3653._0x20b775),_0x3d8da5(_0x3d3653._0x4c9013,_0x3d3653._0x548443,0x140,_0x3d3653._0x1731aa),_0x3d8da5(_0x3d3653._0x2b5adb,0x34e,0x477,0x260)]){_0x2cdef3['searchParams'][_0x469514(-0x232,-0x1bd,-_0x3d3653._0x5e8e85,-0x2a8)](_0x109884);}return _0x2cdef3['toString']();}catch{return _0x22e768;}}function cseDateRestrict(_0x25913d){const _0x394d58={_0x367dff:0x191,_0x3c7ba8:0x577,_0x4464a4:0x6f5,_0x9e1811:0x479,_0x348ab2:0x4e4,_0x41c860:0xf7,_0x44a87c:0x309},_0x3ca4eb={_0x322965:0x1db,_0x1d86ba:0xb3,_0x3eb376:0x112},_0x57d869={_0x2e44ee:0xbb,_0x482a4b:0x134};function _0x3d6e52(_0x444f6d,_0x2b1390,_0x5bae93,_0x4db71b){return _0x48c1e5(_0x444f6d-0x173,_0x2b1390-_0x57d869._0x2e44ee,_0x5bae93,_0x4db71b-_0x57d869._0x482a4b);}function _0x399889(_0x2698a9,_0x2f20f1,_0x2f5508,_0x23f27f){return _0x48c1e5(_0x23f27f- -_0x3ca4eb._0x322965,_0x2f20f1-_0x3ca4eb._0x1d86ba,_0x2f20f1,_0x23f27f-_0x3ca4eb._0x3eb376);}if(_0x25913d<=0x0)return void 0x0;if(_0x25913d<=0x1e)return'd'+Math[_0x399889(_0x394d58._0x367dff,0x1b9,0x168,0xd8)](0x1,Math[_0x3d6e52(_0x394d58._0x3c7ba8,_0x394d58._0x4464a4,_0x394d58._0x9e1811,0x691)](_0x25913d));if(_0x25913d<=0x16d)return'm'+Math[_0x3d6e52(_0x394d58._0x348ab2,0x4a7,0x49c,0x3a3)](_0x25913d/0x1e);return'y'+Math[_0x399889(0x22e,_0x394d58._0x41c860,_0x394d58._0x44a87c,0x196)](_0x25913d/0x16d);}function addSiteFilters(_0x57a1a3,_0x40bcbe){const _0x4f93bc={_0x4b5550:0x220,_0x3980b7:0x1ce,_0x458b93:0x5d4,_0x3742b4:0x4bf,_0x44179f:0xe,_0x3b61c3:0x149,_0x5611e0:0x33,_0x10716b:0x33d,_0x28b854:0x26b},_0x55aac4={_0x3069bc:0x11d,_0x3e924c:0x180},_0x2b8153={_0x4829dd:0x1ba,_0x482085:0x106};function _0xc50588(_0x2a3b67,_0xba550a,_0x2562cb,_0x8a0d1d){return _0x42cde8(_0x2a3b67-0x83,_0xba550a- -_0x2b8153._0x4829dd,_0x2562cb-_0x2b8153._0x482085,_0x2a3b67);}function _0x589e5f(_0x472bf9,_0x5405ae,_0x28ff9a,_0x2e0c57){return _0x42cde8(_0x472bf9-_0x55aac4._0x3069bc,_0x2e0c57-0x2ce,_0x28ff9a-_0x55aac4._0x3e924c,_0x28ff9a);}if(_0x40bcbe[_0x589e5f(0x280,0x15a,0x159,_0x4f93bc._0x4b5550)]===0x0)return _0x57a1a3[_0xc50588(-0x34,-0xe8,-_0x4f93bc._0x3980b7,-0x3e)]();return(_0x57a1a3+'\x20('+_0x40bcbe[_0x589e5f(_0x4f93bc._0x458b93,0x4e0,0x442,_0x4f93bc._0x3742b4)](_0x3902d0=>_0xc50588(-0x85,-0x16b,-0x1b1,-0x2e7)+_0x3902d0)[_0xc50588(_0x4f93bc._0x44179f,-_0x4f93bc._0x3b61c3,-0x2b5,_0x4f93bc._0x5611e0)]('\x20OR\x20')+')')[_0x589e5f(_0x4f93bc._0x10716b,_0x4f93bc._0x28b854,0x245,0x3a0)]();}function normalizeType(_0x28af79){const _0x2990f2={_0x4f5dab:0x400,_0x54e9d3:0x2a0,_0x1e4f5e:0x39f,_0x28ee71:0x405},_0x277e07={_0xcede84:0x91,_0xb05386:0x179},_0x2ac2d8={_0x1aad5f:0x32};function _0x109074(_0x4e02a2,_0x513f0d,_0x4ce363,_0x1a04f2){return _0x42cde8(_0x4e02a2-_0x2ac2d8._0x1aad5f,_0x4ce363-0x2bf,_0x4ce363-0x3b,_0x4e02a2);}function _0x36fd12(_0x26349f,_0x5371fa,_0x2269d3,_0x216284){return _0x48c1e5(_0x26349f- -0x7a,_0x5371fa-_0x277e07._0xcede84,_0x5371fa,_0x216284-_0x277e07._0xb05386);}return _0x28af79===_0x109074(0x3cc,0x42d,0x2d8,_0x2990f2._0x4f5dab)?_0x36fd12(0x26a,0x35a,0xfa,0x196):_0x109074(_0x2990f2._0x54e9d3,0x33d,_0x2990f2._0x1e4f5e,_0x2990f2._0x28ee71);}function _0x42cde8(_0x42024e,_0x20b8cc,_0x5e8d6e,_0x2da2b2){return _0x59f9(_0x20b8cc- -0x1a3,_0x2da2b2);}async function fetchJson(_0x38ae75,_0x4c0986,_0x7ba886){const _0x925ac7={_0x507a8c:0x3f1,_0x18796e:0x360,_0x5a5832:0x4bc,_0x462c1f:0x4a3,_0x1fd245:0x33c,_0x45706d:0x6be,_0x5e36a0:0x60b,_0x48f81c:0x50f,_0x47eb9c:0x5d4,_0x2a305b:0x4f7,_0x12a53e:0x302,_0x1e0ced:0x364,_0x3f8fc0:0x525,_0x27e368:0x734,_0x5cfd2e:0x433,_0x34c4f5:0x568,_0x201ab6:0x530,_0xc56dba:0x544,_0x3208b0:0x584,_0x1d5063:0x3da,_0x3600b2:0x5a9,_0x119548:0x325,_0x3d318d:0x3b0,_0x4983ef:0x524,_0x2f78a0:0x63f,_0xf625a2:0x527,_0x58699f:0x589,_0x1c3c16:0x373,_0x42e12d:0x4c2,_0x23f880:0x3e7,_0x477643:0x67e,_0xa0e254:0x456,_0x254d1f:0x4bf,_0x49d25c:0x356},_0x1588da={_0x148b3f:0x1ad},_0x1d27b3={_0x588913:0xb0,_0x3db080:0x41};function _0x5f003f(_0x42c7c1,_0x2de29f,_0x51eabc,_0x455f4){return _0x48c1e5(_0x2de29f-_0x1d27b3._0x588913,_0x2de29f-_0x1d27b3._0x3db080,_0x42c7c1,_0x455f4-0x143);}function _0x49925f(_0x52e754,_0x56979b,_0x16b940,_0x1f7ef9){return _0x48c1e5(_0x52e754-_0x1588da._0x148b3f,_0x56979b-0x7b,_0x16b940,_0x1f7ef9-0x2f);}const _0x1e3f57=await fetch(_0x38ae75,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x49925f(_0x925ac7._0x507a8c,_0x925ac7._0x507a8c,_0x925ac7._0x18796e,_0x925ac7._0x5a5832),..._0x7ba886?.[_0x49925f(_0x925ac7._0x462c1f,0x5d1,_0x925ac7._0x1fd245,0x5f5)]},'signal':_0x4c0986,..._0x7ba886});if(!_0x1e3f57['ok']){let _0x1fc1dc,_0x2d4a53;try{_0x1fc1dc=await _0x1e3f57[_0x49925f(0x593,_0x925ac7._0x45706d,0x44d,_0x925ac7._0x5e36a0)]();const _0x1fd935=JSON[_0x49925f(0x572,_0x925ac7._0x48f81c,0x4dd,_0x925ac7._0x47eb9c)](_0x1fc1dc),_0x592b28=typeof _0x1fd935[_0x49925f(0x619,0x74f,_0x925ac7._0x2a305b,0x4e0)]===_0x5f003f(_0x925ac7._0x12a53e,0x3c9,0x486,_0x925ac7._0x1e0ced)?_0x1fd935[_0x49925f(0x619,_0x925ac7._0x3f8fc0,0x586,_0x925ac7._0x27e368)][_0x5f003f(0x398,_0x925ac7._0x5cfd2e,_0x925ac7._0x34c4f5,0x46a)]:void 0x0;_0x2d4a53=_0x1fd935[_0x49925f(_0x925ac7._0x201ab6,_0x925ac7._0xc56dba,_0x925ac7._0x3208b0,0x643)]?.['message']??_0x1fd935[_0x5f003f(0x532,0x433,_0x925ac7._0x1d5063,_0x925ac7._0x3600b2)]?.['errors']?.[0x0]?.['message']??_0x592b28;}catch{}const _0x2b88e4=_0x2d4a53?_0x5f003f(_0x925ac7._0x119548,0x276,_0x925ac7._0x3d318d,0x32a)+_0x1e3f57[_0x49925f(_0x925ac7._0x4983ef,_0x925ac7._0x2f78a0,_0x925ac7._0xf625a2,_0x925ac7._0x58699f)]+':\x20'+_0x2d4a53:_0x49925f(_0x925ac7._0x1c3c16,0x260,_0x925ac7._0x42e12d,0x2f9)+_0x1e3f57[_0x5f003f(0x488,0x427,0x35e,_0x925ac7._0x23f880)]+'\x20'+_0x1e3f57[_0x5f003f(_0x925ac7._0x477643,0x512,_0x925ac7._0xa0e254,0x58e)];throw new ToolExecutionError(_0x2b88e4,{'statusCode':_0x1e3f57[_0x5f003f(_0x925ac7._0x254d1f,0x427,_0x925ac7._0x49d25c,0x396)],..._0x1fc1dc?{'body':_0x1fc1dc}:{}});}return await _0x1e3f57[_0x49925f(_0x925ac7._0xc56dba,0x579,0x5b9,0x413)]();}async function hydrateResults(_0x225559,_0x5a2950,_0x1410ee,_0x5b0620){const _0x9af93c={_0x400d17:0x19a,_0x277fca:0x88,_0x178231:0xd4,_0x547dc1:0xf7,_0x286288:0xb0,_0x259ed4:0x64},_0x52c40a={_0x346e60:0x195,_0x4e3879:0x53},_0x45a3d8={_0x5ab648:0x253,_0x569c12:0x33b,_0x5843b8:0x5cc,_0x2b8843:0x45e,_0x2d9b20:0x3c3,_0x35e39b:0x21,_0x1a520c:0xe7,_0xf5faa0:0x3c,_0x12b594:0x48d,_0xc5b271:0x2d,_0x2e5ef7:0x496,_0x2476bd:0x432,_0x32afb1:0x5a1,_0x5d605f:0xed,_0x5a5b02:0xfb,_0x1328ab:0x5a9,_0x45cb02:0x66,_0x5f0610:0xe9,_0x3e7ab5:0x67,_0x35e20e:0x499,_0xa9e5c9:0x436,_0x7144d3:0x500,_0x445524:0xc7,_0x50b347:0x8b,_0x462fc5:0x4,_0x5f1eba:0x9,_0x4cf860:0x40c,_0x47f8cc:0x4fd,_0x3977aa:0x497,_0x3de294:0x430,_0x2411d0:0x3e7,_0x335d75:0x55a,_0x553f83:0x634,_0x40b5f4:0x548,_0x3770d2:0x2df,_0x1ea643:0x37c,_0x717777:0x38a,_0x1fd0a2:0x4f9,_0x166fd1:0x4b0,_0x35094b:0x55f,_0x54c8bc:0x548,_0x12ceab:0x47f,_0x436545:0x178,_0x3f0960:0xe2,_0x249ca1:0x43,_0x3fa278:0x153,_0x535fee:0x464,_0x212beb:0x650,_0x59ac6b:0x14e,_0x120971:0xa},_0x4eb746={_0x127764:0x14b},_0x5cdad2={_0x3d33a4:0x19f,_0x34129e:0x1d0},_0xf753ab={_0x3d0f33:0x13b};function _0x3c2840(_0x1e7a25,_0x11eac1,_0x2c112a,_0x457a77){return _0x48c1e5(_0x1e7a25- -0x434,_0x11eac1-0xfe,_0x2c112a,_0x457a77-_0xf753ab._0x3d0f33);}const _0x5424bb=await Promise['all'](_0x225559[_0x47b5ba(0x171,0x316,0x16a,_0x9af93c._0x400d17)](0x0,0xa)[_0x3c2840(_0x9af93c._0x277fca,-_0x9af93c._0x178231,-_0x9af93c._0x547dc1,-_0x9af93c._0x286288)](async _0x5c7115=>{function _0x31c8e9(_0x3a340a,_0x53ac29,_0x1f8bc4,_0x184886){return _0x47b5ba(_0x3a340a-_0x5cdad2._0x3d33a4,_0x53ac29-_0x5cdad2._0x34129e,_0x1f8bc4,_0x184886-0x238);}function _0x4db65c(_0x1c2029,_0x175948,_0x4e259f,_0x1d610f){return _0x3c2840(_0x4e259f-0x188,_0x175948-0x199,_0x1d610f,_0x1d610f-_0x4eb746._0x127764);}try{const _0x371b0b=await safeFetch(_0x5c7115[_0x31c8e9(0x1cd,_0x45a3d8._0x5ab648,0x1e9,_0x45a3d8._0x569c12)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x5a2950,'Accept':_0x31c8e9(_0x45a3d8._0x5843b8,_0x45a3d8._0x2b8843,_0x45a3d8._0x2d9b20,0x4d9)},'signal':_0x1410ee},{'lookup':_0x5b0620});if(!_0x371b0b['ok'])return _0x5c7115;const _0x3468b6=await _0x371b0b[_0x4db65c(-0x3a,0x20e,0x13a,_0x45a3d8._0x35e39b)](),_0x5c6e0c=load(_0x3468b6),_0x50c8e6=_0x5c6e0c(_0x4db65c(0xeb,-_0x45a3d8._0x1a520c,0x8f,-_0x45a3d8._0xf5faa0))['attr'](_0x31c8e9(_0x45a3d8._0x12b594,0x5e9,0x402,0x500))||_0x5c6e0c(_0x4db65c(0x49,-_0x45a3d8._0xc5b271,-0x43,-0x134))[_0x31c8e9(_0x45a3d8._0x2e5ef7,0x46b,_0x45a3d8._0x2476bd,_0x45a3d8._0x32afb1)]()['text']()['trim'](),_0x465ab0=_0x5c6e0c('meta[name=\x27description\x27]')['attr'](_0x4db65c(0x117,_0x45a3d8._0x5d605f,0x152,_0x45a3d8._0x5a5b02))||_0x5c6e0c(_0x31c8e9(0x426,0x489,_0x45a3d8._0x1328ab,0x534))[_0x4db65c(0x14,-_0x45a3d8._0x45cb02,_0x45a3d8._0x5f0610,-_0x45a3d8._0x3e7ab5)](_0x31c8e9(0x5f5,_0x45a3d8._0x35e20e,_0x45a3d8._0xa9e5c9,_0x45a3d8._0x7144d3))||_0x5c7115[_0x4db65c(_0x45a3d8._0x445524,_0x45a3d8._0x50b347,-_0x45a3d8._0x462fc5,_0x45a3d8._0x5f1eba)],_0xdfe149=_0x5c6e0c('meta[property=\x27article:published_time\x27]')[_0x31c8e9(_0x45a3d8._0x4cf860,_0x45a3d8._0x47f8cc,0x59a,_0x45a3d8._0x3977aa)](_0x31c8e9(_0x45a3d8._0x3de294,_0x45a3d8._0x2411d0,_0x45a3d8._0x335d75,0x500))||_0x5c6e0c(_0x31c8e9(0x415,0x621,_0x45a3d8._0x553f83,_0x45a3d8._0x40b5f4))[_0x31c8e9(_0x45a3d8._0x1328ab,0x3f3,0x540,0x497)](_0x31c8e9(_0x45a3d8._0x3770d2,_0x45a3d8._0x1ea643,_0x45a3d8._0x717777,0x42b))||_0x5c7115[_0x31c8e9(0x41c,0x51d,_0x45a3d8._0x1fd0a2,_0x45a3d8._0x166fd1)],_0x208788=_0x5c6e0c(_0x31c8e9(_0x45a3d8._0x35094b,0x2e2,_0x45a3d8._0x54c8bc,0x432))[_0x31c8e9(0x4a5,_0x45a3d8._0x12ceab,0x4ae,0x497)](_0x4db65c(0x20c,_0x45a3d8._0x436545,0x1dc,_0x45a3d8._0x3f0960));return{..._0x5c7115,'title':_0x50c8e6||_0x5c7115[_0x4db65c(-0x198,0x3,-_0x45a3d8._0x249ca1,-_0x45a3d8._0x3fa278)],'snippet':_0x465ab0,'url':_0x208788?normalizeUrl(new URL(_0x208788,_0x5c7115['url'])[_0x31c8e9(0x3ec,_0x45a3d8._0x535fee,_0x45a3d8._0x212beb,0x54f)]()):_0x5c7115[_0x4db65c(0xe7,-_0x45a3d8._0x59ac6b,-0x73,_0x45a3d8._0x120971)],'publishedAt':_0xdfe149};}catch{return _0x5c7115;}}));function _0x47b5ba(_0xb82f20,_0x12cb31,_0x2a603c,_0x578296){return _0x42cde8(_0xb82f20-0xc0,_0x578296-_0x52c40a._0x346e60,_0x2a603c-_0x52c40a._0x4e3879,_0x2a603c);}const _0x321b8c=new Map(_0x225559['slice'](0x0,0xa)['map']((_0x36cc00,_0x7f697b)=>[_0x36cc00[_0x3c2840(-0x1fb,-0x21a,-0x192,-0x2c2)],_0x5424bb[_0x7f697b]]));return _0x225559[_0x3c2840(0x88,_0x9af93c._0x259ed4,-0xf3,-0x60)](_0x1340d8=>_0x321b8c[_0x3c2840(0x29,-0xd4,0xdc,-0xbd)](_0x1340d8[_0x47b5ba(0xcb,0x1c8,0x241,0x103)])??_0x1340d8);}function formatResults(_0x512185){const _0x32b483={_0x2313dd:0x31d,_0x26ef56:0x471},_0x49f39c={_0x4017b1:0xd4,_0x35574b:0x1ab,_0x427828:0x23a,_0x4c2159:0x1da,_0x38a82c:0xec,_0x16ace0:0xf6,_0x34f9fc:0x29,_0x2c7dca:0xa7,_0xe70871:0xe5,_0x1b4b42:0x32,_0x2c4592:0x9f,_0x1295f2:0x155,_0x202e12:0x210,_0x40e313:0x29,_0x2442c0:0x62,_0x57547b:0x1d2,_0x84d75b:0x15c,_0x30e71c:0xd8,_0x16d870:0x251},_0x5940fb={_0x2b9cef:0x514,_0x29d759:0x177},_0x248688={_0xd84d34:0xae},_0x4853ef={_0xa911be:0x100,_0x503a2c:0x1b,_0x1b7842:0x74};if(_0x512185[_0x4ad3d0(_0x32b483._0x2313dd,0x20f,_0x32b483._0x26ef56,0x36c)]===0x0)return'No\x20results\x20found.';function _0x4ad3d0(_0x5d838e,_0x30ad3d,_0xdaa221,_0x4b6402){return _0x48c1e5(_0x5d838e-_0x4853ef._0xa911be,_0x30ad3d-_0x4853ef._0x503a2c,_0x30ad3d,_0x4b6402-_0x4853ef._0x1b7842);}return _0x512185['map'](_0x53834c=>{function _0x507ee0(_0x28f837,_0x3c9ae7,_0x3da21b,_0x510e31){return _0x4ad3d0(_0x3da21b- -0x3da,_0x3c9ae7,_0x3da21b-0x196,_0x510e31-_0x248688._0xd84d34);}const _0x25f092=[_0x53834c[_0x17fae4(-0x1b,_0x49f39c._0x4017b1,-0xf4,0xa9)]['rank']+'.\x20'+_0x53834c[_0x17fae4(-_0x49f39c._0x35574b,-_0x49f39c._0x427828,-_0x49f39c._0x4c2159,-0x8b)],_0x53834c['url']];function _0x17fae4(_0x2e7e7d,_0xd9e6de,_0x3e0cca,_0x515de1){return _0x4ad3d0(_0x2e7e7d- -_0x5940fb._0x2b9cef,_0x515de1,_0x3e0cca-0x42,_0x515de1-_0x5940fb._0x29d759);}if(_0x53834c[_0x507ee0(0xba,-_0x49f39c._0x38a82c,-0x32,_0x49f39c._0x16ace0)])_0x25f092[_0x507ee0(0x8a,0x73,-_0x49f39c._0x34f9fc,-_0x49f39c._0x2c7dca)](_0x53834c[_0x507ee0(-0x1a6,-_0x49f39c._0xe70871,-_0x49f39c._0x1b4b42,-0x10e)]);if(_0x53834c[_0x507ee0(-_0x49f39c._0x2c4592,_0x49f39c._0x1295f2,0xd4,_0x49f39c._0x202e12)])_0x25f092[_0x507ee0(0x5a,-0x114,-_0x49f39c._0x40e313,-_0x49f39c._0x2442c0)](_0x17fae4(-_0x49f39c._0x57547b,-0x129,-0x88,-_0x49f39c._0x84d75b)+_0x53834c['publishedAt']);return _0x25f092[_0x17fae4(-_0x49f39c._0x30e71c,-0xbb,-0x28,-_0x49f39c._0x16d870)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x20b8e7,_0x18fef9,_0x581052){const _0x3d3e32={_0x3a5dde:0x101,_0x4df40b:0x1df,_0x277218:0x271,_0x28bb01:0x2d5,_0x5c9e07:0x10f,_0x464e79:0x1a3,_0xc5be87:0x185,_0x476a7d:0x292,_0x1c4872:0xa,_0x4e5f2b:0x27b,_0x4553d8:0x184,_0x2b5346:0x109,_0x3b3b7d:0x91,_0x551cc8:0x25,_0x460480:0x1e0,_0x425ecc:0x13c,_0x1e91e4:0x28b,_0x142930:0x367},_0x1d3d14={_0x30d28c:0x2d0,_0x4a4d6f:0x259,_0x164fa0:0x388,_0x316deb:0x480,_0x2e8a56:0x14d,_0x2c4d3d:0x21f,_0x2a91bf:0xd8,_0x49bf09:0x63},_0x4a66e7={_0xfb1c78:0x16,_0x550527:0x363},_0x5d5761={_0x1d1b75:0x47f,_0x584782:0x10f,_0x8a871b:0xda},_0x1c3db3={_0x50f0d2:0xeb,_0x390901:0x1e5},_0xdf9493=Math[_0x81242d(-_0x3d3e32._0x3a5dde,-0x1cc,-0x1f1,-0x27b)](0x1,Math['min'](0xa,_0x18fef9[_0x81242d(-_0x3d3e32._0x4df40b,-_0x3d3e32._0x277218,-_0x3d3e32._0x28bb01,-0x1ce)])),_0x49d557=addSiteFilters(_0x18fef9['query'],_0x18fef9[_0x81242d(-0x233,-_0x3d3e32._0x5c9e07,-0x3b,-0x227)]);function _0x2cb600(_0x4411f6,_0xc4d229,_0x3bb022,_0x4c3269){return _0x42cde8(_0x4411f6-_0x1c3db3._0x50f0d2,_0x4411f6- -_0x1c3db3._0x390901,_0x3bb022-0xca,_0x3bb022);}function _0x81242d(_0x283d1d,_0x56bfae,_0x3e6bf3,_0x1fd4d5){return _0x48c1e5(_0x56bfae- -_0x5d5761._0x1d1b75,_0x56bfae-_0x5d5761._0x584782,_0x1fd4d5,_0x1fd4d5-_0x5d5761._0x8a871b);}const _0x1c7a93=await fetchJson('https://ollama.com/api/web_search',_0x581052,{'method':_0x81242d(-_0x3d3e32._0x464e79,-_0x3d3e32._0xc5be87,-_0x3d3e32._0x476a7d,-_0x3d3e32._0x1c4872),'headers':{'Authorization':_0x2cb600(-0xe2,-0x18a,-0x67,-0x1c4)+_0x20b8e7[_0x81242d(-0x30b,-_0x3d3e32._0x4e5f2b,-0x345,-0x3de)]},'body':JSON[_0x81242d(-_0x3d3e32._0x4553d8,-0x6d,0x78,0xc6)]({'query':_0x49d557,'max_results':_0xdf9493})}),_0x2b9220=_0x1c7a93[_0x81242d(0x25,-_0x3d3e32._0x2b5346,-0x156,0x6)]??[],_0x522c95=_0x2b9220[_0x2cb600(0xc,-_0x3d3e32._0x3b3b7d,-_0x3d3e32._0x551cc8,-0x2d)]((_0x3b9972,_0x48f31a)=>{const _0x15dd9a=_0x3b9972[_0x5dd056(0x3b6,_0x1d3d14._0x30d28c,_0x1d3d14._0x4a4d6f,0x388)]||'';function _0x5dd056(_0x152359,_0x512f0b,_0x251568,_0x548c03){return _0x2cb600(_0x548c03-0x5ff,_0x512f0b-0x1d6,_0x251568,_0x548c03-0xb6);}let _0x156d10;try{_0x156d10=new URL(_0x15dd9a)[_0x33cce(_0x1d3d14._0x164fa0,_0x1d3d14._0x316deb,0x477,0x469)];}catch{_0x156d10=null;}function _0x33cce(_0x30df7d,_0x1ec6e8,_0x2d941e,_0x21132a){return _0x81242d(_0x30df7d-_0x4a66e7._0xfb1c78,_0x30df7d-_0x4a66e7._0x550527,_0x2d941e-0xcd,_0x1ec6e8);}return{'title':_0x3b9972[_0x33cce(_0x1d3d14._0x2e8a56,0x2b9,0x1d3,_0x1d3d14._0x2c4d3d)]||'Untitled','url':normalizeUrl(_0x15dd9a),'snippet':_0x3b9972['content']??null,'displayUrl':_0x156d10,'favicon':null,'publishedAt':null,'source':{'engine':_0x33cce(_0x1d3d14._0x2a91bf,0x70,0x150,_0x1d3d14._0x49bf09),'rank':_0x48f31a+0x1}};});return{'items':_0x522c95[_0x2cb600(-_0x3d3e32._0x460480,-0x234,-_0x3d3e32._0x425ecc,-0xf9)](0x0,_0xdf9493),'engine':_0x81242d(-0x18b,-_0x3d3e32._0x1e91e4,-_0x3d3e32._0x142930,-0x24b)};}async function searchTavily(_0x4dc5f4,_0x3f7e22,_0x16207c){const _0x421819={_0x578275:0x81,_0x5913aa:0x213,_0x27d1e8:0xd3,_0x3f6e72:0x3aa,_0x22a64e:0x31e,_0x5b2fb3:0x3d2,_0x47b4a2:0x273,_0x2fc8eb:0x389,_0x487efb:0x126,_0x34dc33:0x171,_0x3ff0dd:0x20e,_0x244b1b:0xee,_0x220a5f:0x10a,_0x41cf01:0x4c7,_0x366042:0x3ee,_0x10206e:0x180,_0x52931d:0x20c,_0x35ef53:0x2dc,_0x360029:0x17e,_0x57b6b1:0x2e7,_0xbb27c9:0x3fd,_0x474339:0x2a0,_0x37d15c:0x283,_0x5b2856:0x412,_0x319e14:0x22f,_0x21f41b:0x1f4,_0x4717b1:0x35a,_0x3573dd:0x3a5,_0x12e5ee:0x23b,_0x47dfdf:0x30e,_0x5137ce:0x5e,_0x39af35:0x229},_0x4198fb={_0x43501f:0x12c,_0x357f0:0x1a5,_0x2dcf0a:0x460,_0x1ad029:0x3b6,_0x5066dc:0x39f,_0x59658f:0x35,_0x4b61ee:0x36,_0xe1af43:0xe6,_0x2c33c5:0x1ad},_0x43fb12={_0x3e4aae:0x223,_0x2afda0:0x5a},_0x44bd60={_0x139def:0x1e4,_0x2036c6:0x138},_0x4b372f={_0x358f88:0x1d7,_0x8ba50a:0x190,_0x1d4281:0x1e9};function _0x1e190e(_0x1d0f43,_0x2bf21e,_0x1b6f3b,_0x53a8bd){return _0x42cde8(_0x1d0f43-_0x4b372f._0x358f88,_0x1b6f3b-_0x4b372f._0x8ba50a,_0x1b6f3b-_0x4b372f._0x1d4281,_0x1d0f43);}const _0x4dec6c=Math['max'](0x1,Math[_0x1e190e(0x1b3,0xa6,0x12d,0x16a)](0x14,_0x3f7e22[_0x1e190e(_0x421819._0x578275,_0x421819._0x5913aa,_0x421819._0x27d1e8,0x223)])),_0x4466b0={'query':_0x3f7e22[_0x1e190e(0x461,_0x421819._0x3f6e72,_0x421819._0x22a64e,_0x421819._0x5b2fb3)],'max_results':_0x4dec6c,'search_depth':_0x4dc5f4['searchDepth']??_0x5108db(0x176,0x230,_0x421819._0x47b4a2,0xfc),'topic':_0x4dc5f4[_0x5108db(0x265,_0x421819._0x2fc8eb,0x37a,0x3b8)]??_0x1e190e(0x33d,_0x421819._0x487efb,0x1c0,_0x421819._0x34dc33)};if(_0x3f7e22[_0x1e190e(_0x421819._0x3ff0dd,_0x421819._0x244b1b,0x235,_0x421819._0x220a5f)]['length']>0x0)_0x4466b0[_0x5108db(_0x421819._0x41cf01,0x349,_0x421819._0x366042,0x46f)]=_0x3f7e22['domains'];const _0x3a68a8=await fetchJson(_0x1e190e(_0x421819._0x10206e,_0x421819._0x52931d,0x24b,0x204),_0x16207c,{'method':_0x1e190e(_0x421819._0x35ef53,0x323,0x1bf,_0x421819._0x360029),'headers':{'Authorization':_0x5108db(0x3ab,_0x421819._0x57b6b1,_0x421819._0xbb27c9,0x23b)+_0x4dc5f4[_0x1e190e(_0x421819._0x474339,_0x421819._0x37d15c,0x355,_0x421819._0x5b2856)],'Content-Type':_0x5108db(0xf6,0x15d,0x24e,0x20c)},'body':JSON[_0x1e190e(_0x421819._0x319e14,0x360,0x2d7,_0x421819._0x21f41b)](_0x4466b0)}),_0x17bca4=_0x3a68a8[_0x1e190e(_0x421819._0x4717b1,_0x421819._0x3573dd,_0x421819._0x12e5ee,_0x421819._0x47dfdf)]??[];function _0x5108db(_0x36d7c6,_0x46081f,_0x4e89c3,_0x5e09ec){return _0x42cde8(_0x36d7c6-0x193,_0x46081f-_0x44bd60._0x139def,_0x4e89c3-_0x44bd60._0x2036c6,_0x36d7c6);}const _0x5e1d3b=_0x17bca4['map']((_0xf61240,_0x587108)=>{const _0xe4b01f={_0x13202f:0x9e},_0x1ce9ff=_0xf61240[_0x2db00f(-0xd1,-_0x4198fb._0x43501f,-_0x4198fb._0x357f0,0x69)]||'';function _0x2db00f(_0x624a62,_0x21b86a,_0x31b954,_0x1fd74a){return _0x5108db(_0x1fd74a,_0x624a62- -_0x43fb12._0x3e4aae,_0x31b954-0xe0,_0x1fd74a-_0x43fb12._0x2afda0);}let _0xf1cec9;function _0x558a03(_0x4c55c8,_0x282204,_0x47b6a7,_0x298304){return _0x5108db(_0x282204,_0x4c55c8-0x5f,_0x47b6a7-_0xe4b01f._0x13202f,_0x298304-0x41);}try{_0xf1cec9=new URL(_0x1ce9ff)[_0x558a03(0x41c,_0x4198fb._0x2dcf0a,_0x4198fb._0x1ad029,_0x4198fb._0x5066dc)];}catch{_0xf1cec9=null;}return{'title':_0xf61240['title']||_0x2db00f(0x182,0x227,0x4b,_0x4198fb._0x59658f),'url':normalizeUrl(_0x1ce9ff),'snippet':_0xf61240['content']??null,'displayUrl':_0xf1cec9,'favicon':null,'publishedAt':null,'source':{'engine':_0x2db00f(-_0x4198fb._0x4b61ee,-_0x4198fb._0xe1af43,0x77,-_0x4198fb._0x2c33c5),'rank':_0x587108+0x1}};});return{'items':_0x5e1d3b['slice'](0x0,_0x4dec6c),'engine':_0x1e190e(0x9b,_0x421819._0x5137ce,0x199,_0x421819._0x39af35)};}async function searchGoogleCse(_0x58a082,_0x3d6879,_0x2c1a9c){const _0x447c1a={_0x3d3135:0x45c,_0x1c0321:0x457,_0x56d3a6:0x50d,_0x308e42:0x29f,_0x5339d9:0x317,_0x3c1f17:0x49f,_0x23e315:0x497,_0x57ad30:0x229,_0x37cce4:0x386,_0x24fa3a:0x34e,_0xaee629:0x468,_0x33c830:0x6f1,_0x251155:0x545,_0x66b027:0x602,_0x3b5513:0x52d,_0x164a3c:0x599,_0x458cb8:0x519,_0x17933c:0x5d2,_0x1b629d:0x39a,_0x40f79b:0x601,_0x3fa4d9:0x353,_0x5c80f3:0x40b,_0x2415f2:0x401,_0x330efc:0x609,_0x8dd779:0x5cd,_0xa50338:0x3c0,_0x56020e:0x460,_0x347080:0x350,_0x2f06c4:0x440,_0x27839f:0x617,_0x396a1a:0x629,_0x2daacb:0x5dc,_0x3b0846:0x4e0,_0x69c94c:0x350,_0x4941f2:0x54d,_0x2f2ca0:0x3d9,_0x16f7c5:0x3ab,_0x434630:0x359,_0x23a6e1:0x29c,_0x13bac8:0x551,_0x4907f2:0x503,_0x3bafef:0x54d,_0x217fc0:0x3eb,_0x1dc274:0x4a5,_0x34be49:0x52b,_0x805738:0x687,_0x52264c:0x417,_0xb86f57:0x6ed,_0x4407ae:0x4cb,_0x2f4d76:0x4c3,_0x29a2db:0x41b,_0x5398a0:0x681,_0x556b0a:0x350,_0x51926d:0x2e7,_0x216a45:0x4ad,_0x2bfc07:0x60a,_0x1f686f:0x477,_0x1d107b:0x326,_0x5d130a:0x362,_0x5f3311:0x466,_0x92e220:0x56a,_0x2d9b5:0x477,_0x421ea4:0x57a,_0x556856:0x42c,_0xdb3d9:0x367,_0x2ffb41:0x375,_0x4e2a88:0x346,_0x92b26f:0x3b3,_0xec2afd:0x6a3,_0x51fa48:0x475,_0x46a8b8:0x413,_0x4fdeeb:0x3f0,_0x48f35b:0x2e0,_0x154fd6:0x54d,_0x2dd2ff:0x5dc,_0x304b46:0x326,_0x30f1f3:0x3f2,_0x4c03e3:0x469,_0x3d72c3:0x4ed,_0x4f94ea:0x46c,_0x49619:0x30f,_0x61292b:0x661,_0x339983:0x75d,_0x2dcbe8:0x5e2,_0x42e608:0x480,_0x69a0d9:0x616,_0x532c97:0x549,_0xbf9b20:0x4cc,_0x4a28f1:0x635,_0x3b37fc:0x765,_0x353081:0x4f7,_0x3363b5:0x451,_0x52ef00:0x2fb,_0x220d57:0x3cf,_0x354e64:0x487,_0x2faddb:0x4cb,_0x41b7e5:0x352,_0x389396:0x4d0,_0x46f5d6:0x6f4,_0x41721b:0x6a5,_0x5058ab:0x564,_0x5b4ee9:0x4ff,_0x2d16b5:0x515,_0x1a7590:0x4b0,_0x214b9e:0x3f7,_0x1af6d4:0x608,_0x5bb23e:0x5ad,_0x4e7796:0x58d,_0x3df145:0x5f9,_0x216086:0x54b,_0x582ca:0x3ec,_0xcf9a5d:0x3df,_0x5ac6d1:0x326,_0x2f6f4b:0x462,_0x583d3c:0x3ff,_0x43f25e:0x3c6,_0xe3b544:0x542,_0x571bdc:0x25e},_0x2726c6={_0x28537b:0xb0},_0x32fd8e={_0x5c259c:0x3d4},_0x3ef36e=Math[_0x59b62e(_0x447c1a._0x3d3135,0x48c,_0x447c1a._0x1c0321,_0x447c1a._0x56d3a6)](0x1,Math[_0x59b62e(0x411,0x587,0x301,0x3b4)](0x32,_0x3d6879[_0x4a0030(_0x447c1a._0x308e42,_0x447c1a._0x5339d9,0x2ef,0x3a4)]));if(_0x3d6879[_0x59b62e(0x426,0x54b,_0x447c1a._0x3c1f17,0x476)]+_0x3ef36e>0x64)throw new ToolExecutionError(_0x59b62e(0x4b8,_0x447c1a._0x23e315,0x437,0x35c),{'offset':_0x3d6879[_0x4a0030(_0x447c1a._0x57ad30,_0x447c1a._0x37cce4,0x20c,_0x447c1a._0x24fa3a)],'count':_0x3ef36e,'maxResults':0x64});const _0x35732a=cseDateRestrict(_0x3d6879[_0x59b62e(0x5e7,_0x447c1a._0xaee629,_0x447c1a._0x33c830,_0x447c1a._0x251155)]),_0x57cba1=addSiteFilters(_0x3d6879[_0x59b62e(_0x447c1a._0x66b027,_0x447c1a._0x3b5513,0x5fb,_0x447c1a._0x164a3c)],_0x3d6879[_0x59b62e(_0x447c1a._0x458cb8,_0x447c1a._0x17933c,_0x447c1a._0x1b629d,_0x447c1a._0x40f79b)]);function _0x4a0030(_0xeb6abf,_0x384e00,_0x4b28b9,_0x229d10){return _0x42cde8(_0xeb6abf-0x166,_0x384e00-_0x32fd8e._0x5c259c,_0x4b28b9-0xa0,_0xeb6abf);}let _0x274ee1=0x0,_0x5d36c3=_0x3d6879['offset']+0x1;const _0x385c38=[];while(_0x274ee1<_0x3ef36e){const _0x4f3a1d=Math[_0x4a0030(0x2dc,0x371,0x217,_0x447c1a._0x3fa4d9)](0xa,_0x3ef36e-_0x274ee1),_0xda4083=new URL(_0x4a0030(_0x447c1a._0x5c80f3,_0x447c1a._0x2415f2,0x492,0x54e));_0xda4083['searchParams'][_0x4a0030(_0x447c1a._0x330efc,0x4ad,0x3e5,0x5b1)](_0x59b62e(0x523,_0x447c1a._0x8dd779,0x636,0x681),_0x58a082[_0x59b62e(_0x447c1a._0xa50338,0x2eb,_0x447c1a._0x56020e,0x2b9)]),_0xda4083['searchParams']['set']('cx',_0x58a082['googleCseCx']),_0xda4083['searchParams']['set']('q',_0x57cba1),_0xda4083[_0x4a0030(0x2c2,_0x447c1a._0x347080,_0x447c1a._0x2f06c4,0x40c)]['set'](_0x59b62e(_0x447c1a._0x27839f,_0x447c1a._0x396a1a,_0x447c1a._0x2daacb,_0x447c1a._0x3b0846),String(_0x4f3a1d)),_0xda4083[_0x4a0030(0x346,_0x447c1a._0x69c94c,0x476,0x483)][_0x59b62e(_0x447c1a._0x4941f2,0x42a,0x433,_0x447c1a._0x2f2ca0)](_0x4a0030(_0x447c1a._0x16f7c5,_0x447c1a._0x434630,_0x447c1a._0x23a6e1,0x3cb),String(_0x5d36c3)),_0xda4083[_0x59b62e(0x3f0,0x2fb,_0x447c1a._0x13bac8,_0x447c1a._0x4907f2)][_0x59b62e(_0x447c1a._0x3bafef,_0x447c1a._0x217fc0,_0x447c1a._0x1dc274,0x449)](_0x59b62e(_0x447c1a._0x34be49,_0x447c1a._0x805738,0x66c,0x5cc),_0x3d6879[_0x4a0030(0x4c8,0x48b,_0x447c1a._0x52264c,0x348)]?'active':_0x4a0030(0x6b8,0x55c,0x3fb,0x4c2));_0x3d6879[_0x59b62e(0x644,_0x447c1a._0xb86f57,_0x447c1a._0x4407ae,0x57d)]&&(_0xda4083[_0x59b62e(0x3f0,_0x447c1a._0x2f4d76,0x3e7,0x27e)][_0x59b62e(0x54d,_0x447c1a._0x29a2db,0x653,0x635)]('hl',_0x3d6879[_0x4a0030(_0x447c1a._0x5398a0,0x5a4,0x70b,0x62e)]),_0xda4083[_0x4a0030(0x377,_0x447c1a._0x556b0a,_0x447c1a._0x51926d,0x427)][_0x4a0030(0x3be,_0x447c1a._0x216a45,_0x447c1a._0x2bfc07,0x40b)]('lr','lang_'+_0x3d6879['lang']));if(_0x3d6879[_0x59b62e(_0x447c1a._0x1f686f,0x329,0x3f4,_0x447c1a._0x1d107b)])_0xda4083[_0x59b62e(0x3f0,0x3fe,0x34c,_0x447c1a._0x5d130a)][_0x4a0030(0x486,0x4ad,_0x447c1a._0x5f3311,_0x447c1a._0x92e220)]('gl',_0x3d6879[_0x59b62e(_0x447c1a._0x2d9b5,_0x447c1a._0x421ea4,0x500,_0x447c1a._0x556856)][_0x4a0030(0x3db,0x315,_0x447c1a._0xdb3d9,0x45d)]());if(_0x3d6879[_0x59b62e(0x417,0x42f,0x3a1,_0x447c1a._0x2ffb41)]===_0x59b62e(0x48d,0x490,_0x447c1a._0x4e2a88,_0x447c1a._0x92b26f))_0xda4083['searchParams']['set'](_0x4a0030(_0x447c1a._0xec2afd,0x55f,_0x447c1a._0x51fa48,_0x447c1a._0x46a8b8),_0x59b62e(0x661,0x74d,0x642,0x669));if(_0x35732a)_0xda4083[_0x59b62e(_0x447c1a._0x4fdeeb,_0x447c1a._0x48f35b,0x323,0x40c)][_0x59b62e(_0x447c1a._0x154fd6,0x521,0x4b6,0x3d9)]('dateRestrict',_0x35732a);const _0x4b0fbe=await fetchJson(_0xda4083['toString'](),_0x2c1a9c),_0x2a362c=_0x4b0fbe[_0x59b62e(_0x447c1a._0x2dd2ff,0x721,0x484,_0x447c1a._0xaee629)]??[];if(_0x2a362c['length']===0x0)break;const _0x2d096d=_0x274ee1;for(let _0x329068=0x0;_0x329068<_0x2a362c[_0x4a0030(0x406,_0x447c1a._0x304b46,_0x447c1a._0x30f1f3,_0x447c1a._0x4c03e3)];_0x329068++){const _0x1eade3=_0x2a362c[_0x329068];if(!_0x1eade3)continue;const _0x16af18=_0x1eade3[_0x4a0030(_0x447c1a._0x3d72c3,_0x447c1a._0x4f94ea,_0x447c1a._0x49619,0x5b9)]||_0x1eade3[_0x59b62e(_0x447c1a._0x61292b,0x6b1,_0x447c1a._0x339983,_0x447c1a._0x2dcbe8)]?.[_0x59b62e(0x415,0x4e7,_0x447c1a._0x42e608,0x354)]||'',_0x5c2b78=_0x1eade3['title']||_0x1eade3[_0x4a0030(0x53e,0x5c1,0x722,_0x447c1a._0x69a0d9)]?.[_0x59b62e(0x412,_0x447c1a._0x532c97,_0x447c1a._0xbf9b20,0x2c3)]||_0x59b62e(_0x447c1a._0x4a28f1,_0x447c1a._0x3b37fc,0x74c,_0x447c1a._0x353081),_0x319083=_0x1eade3[_0x59b62e(_0x447c1a._0x3363b5,_0x447c1a._0x52ef00,0x571,_0x447c1a._0x220d57)]||_0x1eade3[_0x59b62e(_0x447c1a._0x354e64,_0x447c1a._0x2faddb,0x58a,_0x447c1a._0x41b7e5)]?.[_0x59b62e(0x623,_0x447c1a._0x389396,_0x447c1a._0x46f5d6,_0x447c1a._0x41721b)](/<[^>]+>/g,''),_0x3d98eb=_0x1eade3[_0x59b62e(0x5a8,_0x447c1a._0x5058ab,0x515,_0x447c1a._0x5b4ee9)]?.[_0x4a0030(_0x447c1a._0x2d16b5,_0x447c1a._0x1a7590,_0x447c1a._0x251155,_0x447c1a._0x214b9e)]?.[0x0]??{};let _0xdff7e;try{_0xdff7e=new URL(_0x16af18)[_0x4a0030(_0x447c1a._0x1af6d4,_0x447c1a._0x5bb23e,0x4cd,_0x447c1a._0x4e7796)];}catch{_0xdff7e=null;}_0x385c38['push']({'title':_0x5c2b78,'url':normalizeUrl(_0x16af18),'snippet':_0x319083??null,'displayUrl':_0xdff7e,'favicon':null,'publishedAt':_0x3d98eb[_0x4a0030(_0x447c1a._0x3df145,0x497,0x330,_0x447c1a._0x216086)]||_0x3d98eb[_0x4a0030(0x47b,_0x447c1a._0x582ca,_0x447c1a._0x4907f2,0x289)]||null,'source':{'engine':'google-cse','rank':_0x2d096d+_0x329068+0x1}});}_0x274ee1+=_0x2a362c[_0x59b62e(0x3c6,0x4f5,_0x447c1a._0xcf9a5d,0x266)],_0x5d36c3+=_0x2a362c[_0x4a0030(0x2c2,_0x447c1a._0x5ac6d1,_0x447c1a._0x2f6f4b,_0x447c1a._0x583d3c)];if(_0x2a362c[_0x59b62e(_0x447c1a._0x43f25e,_0x447c1a._0xe3b544,0x406,0x273)]<_0x4f3a1d)break;}function _0x59b62e(_0x17c0da,_0x174555,_0x458cab,_0x22511e){return _0x42cde8(_0x17c0da-_0x2726c6._0x28537b,_0x17c0da-0x474,_0x458cab-0xfa,_0x22511e);}return _0x385c38[_0x4a0030(_0x447c1a._0x571bdc,0x3d9,0x472,0x4fe)](0x0,_0x3ef36e);}function isGoogleCseEngine(_0x2b3442){const _0x2c42ee={_0xce2d1e:0xe6},_0x2db3fb={_0x5c41d7:0x9b,_0x2036dd:0xd9};function _0x5f18ee(_0x271653,_0x46e55f,_0x2ead7e,_0x43cc70){return _0x42cde8(_0x271653-0x82,_0x46e55f- -_0x2db3fb._0x5c41d7,_0x2ead7e-_0x2db3fb._0x2036dd,_0x271653);}return _0x5f18ee(-0x106,-0x14f,-_0x2c42ee._0xce2d1e,-0x156)in _0x2b3442;}function isOllamaEngine(_0x4d18d9){const _0x4fe299={_0x5eb189:0x18d,_0x49feb8:0x58},_0x23b00f={_0x4bb35b:0xa8,_0x517b0e:0x254,_0x40e97d:0x199};function _0x2966e0(_0x55e486,_0x25405f,_0x3344d9,_0x551ebf){return _0x42cde8(_0x55e486-_0x23b00f._0x4bb35b,_0x3344d9-_0x23b00f._0x517b0e,_0x3344d9-_0x23b00f._0x40e97d,_0x25405f);}return _0x2966e0(0x17b,0x28d,_0x4fe299._0x5eb189,_0x4fe299._0x49feb8)in _0x4d18d9;}function isTavilyEngine(_0x174393){const _0x5ab3a8={_0x4a7074:0x1bd,_0x4dbdf3:0x2b4,_0x4dbd87:0xdf,_0x5be756:0x331},_0x76ff97={_0x12ddc4:0x2d3};function _0x489f57(_0x3826da,_0x1061db,_0x4e55ba,_0x2918a7){return _0x48c1e5(_0x3826da- -_0x76ff97._0x12ddc4,_0x1061db-0x13,_0x2918a7,_0x2918a7-0xae);}return _0x489f57(_0x5ab3a8._0x4a7074,_0x5ab3a8._0x4dbdf3,_0x5ab3a8._0x4dbd87,_0x5ab3a8._0x5be756)in _0x174393;}function createWebSearchTool(_0x477007){const _0x536e2b={_0x434e37:0x10d,_0x18f38f:0x4b,_0x431c39:0x78,_0x3d5d2e:0xa6,_0x38c8be:0x66,_0x1d8082:0x29a,_0x2e1490:0x2e0,_0x406b07:0x1bb,_0x1b4131:0x40d,_0x26a968:0x51f,_0x153de0:0x321,_0x429490:0x2ad,_0x4e6dc8:0x2a9,_0x12a3a6:0x38c,_0x3e74f5:0x1e3,_0xad56e2:0x1b4,_0x128b87:0x237,_0x5430db:0x557,_0x477e9b:0x430,_0x5ebafe:0x3f4,_0x430f77:0x8f,_0x9f5f7f:0xc3,_0x3e2057:0x557,_0x325399:0x454,_0x1b3b9e:0x58e,_0x3842ca:0x159,_0x23becf:0x26b,_0x59db41:0x557,_0x48bae5:0x613,_0x158c34:0x4fe,_0x21b01f:0x4d1,_0x5acdad:0x643,_0x4f19a3:0x413,_0x36121e:0x4f,_0x2125a3:0x9c,_0x352104:0x128,_0x2186e6:0x1ac},_0xd792bc={_0x578589:0x3fd,_0x262fdb:0x330,_0x471aff:0x418,_0x3cedad:0x23f,_0xf81d6b:0x270,_0x1bc47d:0x36b,_0x4c2ebb:0x358,_0x5ad63c:0x29b,_0x1d9b6f:0x419,_0x4cdffc:0x232,_0x1eac8d:0x201,_0x5d9340:0x231,_0xbb734e:0x189,_0xb5077f:0x392,_0x3151ee:0x21d,_0x4f12ae:0x41a,_0x2def97:0x393,_0x477a6f:0x355,_0x371fcc:0x374,_0x559b15:0x333,_0x4d0830:0x2f2,_0x52e79b:0x28b,_0x1b38dc:0x32a,_0x420035:0x1ee,_0x4d8673:0x369,_0x1a5cbe:0x457,_0x377003:0x4c9,_0x621de4:0x397,_0x48f6a2:0x191,_0x3e6d39:0x208,_0x4e9b64:0x2aa,_0x2fedb0:0x2ba,_0x3321ed:0x1e8,_0x30d6d9:0x3e5,_0x325ea5:0x456,_0x4c4187:0x326,_0x479d46:0x1a9,_0x28239e:0x2dd,_0x1227b9:0xdf,_0x21bd60:0x457,_0x77d221:0x5bc,_0xb1dd20:0x456,_0x81bf32:0x3bd,_0x5863d3:0x187,_0x239a39:0x1e1,_0x4f2392:0x240,_0x1e73cc:0x1cf,_0x1fc942:0x595,_0x43170b:0x3f3,_0x516857:0x1da,_0xc12f2b:0x4ef,_0x13574d:0x430,_0x5b327a:0x1b8,_0x54a227:0x31a,_0x97d24b:0x52c,_0xdc733b:0x40c,_0x4e9176:0x459,_0x51ea9f:0x118,_0x1a7865:0x23f,_0x3e7867:0x240,_0x3e22d4:0x385,_0x12f518:0x2d9,_0x550285:0x25a,_0x11f496:0x3c8,_0x5aaf62:0x3e0,_0x334a46:0x5cf,_0x2660c6:0x2ef,_0x28ffec:0x3fb,_0x2c50fd:0x403,_0x5048ec:0x490,_0x2a9c8e:0x4be,_0xf61cbb:0x501,_0x3d9f33:0x45e,_0x74055c:0x2f1,_0x241468:0x19f,_0x486384:0x32d,_0x47ef73:0x182,_0x1b6df6:0x365,_0x3b20e5:0x481,_0x1efa13:0x88,_0x5bda32:0x72,_0x49cc0f:0x2a4,_0x5f10f8:0x2b0,_0x4086ed:0x2a0,_0x481a43:0x14f,_0x38c752:0x4f3,_0x2572b6:0x647,_0x8225cb:0x55b},_0x3208e6={_0xb27dbe:0x58,_0x1691af:0x143},_0x56438b={_0x23e91b:0x191},_0x418fc9={_0x14e2b9:0x135,_0x56ae1c:0x183},_0x1a16ef={_0x50a778:0x4f5};if(!_0x477007[_0xdbd89c(_0x536e2b._0x434e37,-_0x536e2b._0x18f38f,_0x536e2b._0x431c39,0xf9)]||_0x477007[_0xdbd89c(0xda,-0x4b,_0x536e2b._0x3d5d2e,-_0x536e2b._0x38c8be)][_0x21bdd1(0x352,0x3b8,0x43e,_0x536e2b._0x1d8082)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0xdbd89c(_0x593779,_0x51dff4,_0x27a603,_0x36ef2a){return _0x48c1e5(_0x51dff4- -_0x1a16ef._0x50a778,_0x51dff4-0xa6,_0x593779,_0x36ef2a-0x17f);}const _0x254678=_0x477007[_0xdbd89c(-_0x536e2b._0x2e1490,-0x231,-0x17c,-_0x536e2b._0x406b07)]??_0x21bdd1(_0x536e2b._0x1b4131,0x512,_0x536e2b._0x26a968,0x411);function _0x21bdd1(_0x5cba06,_0x268cb4,_0x1c8e4e,_0x4e4987){return _0x48c1e5(_0x5cba06-_0x418fc9._0x14e2b9,_0x268cb4-0x9a,_0x1c8e4e,_0x4e4987-_0x418fc9._0x56ae1c);}const _0x37dac9=_0x477007[_0xdbd89c(-_0x536e2b._0x153de0,-0x1f5,-0x340,-0x25b)];return defineTool({'name':_0x254678,'description':_0xdbd89c(-_0x536e2b._0x429490,-_0x536e2b._0x4e6dc8,-_0x536e2b._0x12a3a6,-0x284),'inputSchema':{'type':'object','properties':{'description':{'type':'string'},'query':{'type':'string'},'count':{'type':'number'},'offset':{'type':_0xdbd89c(-_0x536e2b._0x3e74f5,-_0x536e2b._0xad56e2,-0xc9,-0x31e)},'domains':{'type':_0xdbd89c(-_0x536e2b._0x128b87,-0x124,-0x4,-0x17c),'items':{'type':_0x21bdd1(_0x536e2b._0x5430db,_0x536e2b._0x477e9b,0x6bc,_0x536e2b._0x5ebafe)}},'recencyDays':{'type':_0xdbd89c(-0x10e,-0x1b4,-_0x536e2b._0x430f77,-_0x536e2b._0x9f5f7f)},'lang':{'type':_0x21bdd1(_0x536e2b._0x3e2057,0x51c,_0x536e2b._0x325399,_0x536e2b._0x1b3b9e)},'region':{'type':_0x21bdd1(_0x536e2b._0x3e2057,0x628,0x4e2,0x3e1)},'safe':{'type':_0xdbd89c(-0x42,-_0x536e2b._0x3842ca,0x2,-_0x536e2b._0x23becf)},'type':{'type':_0x21bdd1(_0x536e2b._0x59db41,_0x536e2b._0x48bae5,_0x536e2b._0x158c34,0x588)},'hydrateMeta':{'type':_0x21bdd1(_0x536e2b._0x21b01f,0x647,_0x536e2b._0x5acdad,_0x536e2b._0x4f19a3)}},'required':[_0xdbd89c(-_0x536e2b._0x36121e,-_0x536e2b._0x2125a3,-_0x536e2b._0x352104,-_0x536e2b._0x2186e6)]},async *'execute'(_0x33abad,_0x3bcdb5){const _0x176aa0={_0x2a61ce:0xcd,_0xccf07b:0x1a9,_0x1ed98f:0x65,_0x306d84:0x285,_0x5d3db0:0x3af},_0x318566={_0x5ab3d7:0x190,_0x576616:0x26e},_0x26f9ad=_0x33abad[_0x479288(_0xd792bc._0x578589,0x416,0x2d8,0x3b6)][_0x479288(_0xd792bc._0x262fdb,0x35a,_0xd792bc._0x471aff,0x21d)]();if(!_0x26f9ad)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x2be1b8={'query':_0x26f9ad,'count':Math[_0x479288(_0xd792bc._0x3cedad,_0xd792bc._0xf81d6b,_0xd792bc._0x1bc47d,0x32c)](0x1,Math[_0x479288(0x101,0x225,0x2bc,0x19d)](0x32,Math[_0x7e202f(_0xd792bc._0x4c2ebb,0x1ce,_0xd792bc._0x5ad63c,_0xd792bc._0x1d9b6f)](_0x33abad[_0x7e202f(_0xd792bc._0x4cdffc,_0xd792bc._0x1eac8d,_0xd792bc._0x5d9340,0x30d)]??0xa))),'offset':Math['max'](0x0,Math[_0x7e202f(0x3a2,_0xd792bc._0xbb734e,0x29b,0x1fb)](_0x33abad[_0x479288(0x127,0x23a,_0xd792bc._0xb5077f,_0xd792bc._0x3151ee)]??0x0)),'domains':_0x33abad[_0x7e202f(0x299,_0xd792bc._0x4f12ae,_0xd792bc._0x2def97,_0xd792bc._0x477a6f)]??[],'recencyDays':Math[_0x479288(0x304,0x270,_0xd792bc._0x371fcc,_0xd792bc._0x559b15)](0x0,Math['trunc'](_0x33abad['recencyDays']??0x0)),'lang':_0x33abad[_0x479288(0x5a3,0x458,0x57d,_0xd792bc._0x4d0830)]??'en','region':_0x33abad[_0x479288(0x2ef,_0xd792bc._0x52e79b,_0xd792bc._0x1b38dc,_0xd792bc._0x420035)]??'','safe':_0x33abad[_0x7e202f(0x494,_0xd792bc._0x4d8673,0x3a5,_0xd792bc._0x1a5cbe)]??!![],'type':normalizeType(_0x33abad['type']),'hydrateMeta':_0x33abad[_0x7e202f(0x433,0x529,_0xd792bc._0x377003,0x446)]??![]};let _0x6303a9=[];function _0x7e202f(_0x41d47f,_0x3c4e59,_0x23ba0b,_0x4420bd){return _0xdbd89c(_0x41d47f,_0x23ba0b-0x518,_0x23ba0b-0xb6,_0x4420bd-_0x56438b._0x23e91b);}let _0x1d4f5e=_0x7e202f(_0xd792bc._0x621de4,_0xd792bc._0x48f6a2,0x305,0x24d);for(const _0x510f51 of _0x477007[_0x7e202f(0x5ac,0x353,0x4cd,_0xd792bc._0x477a6f)]){try{if(isGoogleCseEngine(_0x510f51))_0x6303a9=await searchGoogleCse(_0x510f51,_0x2be1b8,_0x3bcdb5['signal']),_0x1d4f5e=_0x7e202f(_0xd792bc._0x3e6d39,_0xd792bc._0x4e9b64,_0xd792bc._0x2fedb0,_0xd792bc._0x3321ed);else{if(isOllamaEngine(_0x510f51)){const _0x10fb0c=await searchOllama(_0x510f51,_0x2be1b8,_0x3bcdb5['signal']);_0x6303a9=_0x10fb0c[_0x7e202f(_0xd792bc._0x30d6d9,0x3f0,_0xd792bc._0x325ea5,0x3fe)],_0x1d4f5e=_0x10fb0c[_0x479288(_0xd792bc._0x4c4187,_0xd792bc._0x479d46,0x19d,0xbb)];}else{if(isTavilyEngine(_0x510f51)){const _0x16f7a8=await searchTavily(_0x510f51,_0x2be1b8,_0x3bcdb5[_0x479288(_0xd792bc._0x28239e,0x1b8,_0xd792bc._0x1227b9,0x261)]);_0x6303a9=_0x16f7a8[_0x7e202f(_0xd792bc._0x21bd60,_0xd792bc._0x77d221,_0xd792bc._0xb1dd20,_0xd792bc._0x81bf32)],_0x1d4f5e=_0x16f7a8['engine'];}}}if(_0x6303a9[_0x7e202f(_0xd792bc._0x5863d3,_0xd792bc._0x239a39,_0xd792bc._0x4f2392,_0xd792bc._0x1e73cc)]>0x0)break;}catch(_0x5ad464){if(_0x510f51===_0x477007[_0x479288(_0xd792bc._0x1fc942,0x467,_0xd792bc._0x43170b,0x46d)][_0x477007['engines'][_0x479288(0xd6,_0xd792bc._0x516857,0xd2,0x26d)]-0x1])throw _0x5ad464;}}function _0x479288(_0x214041,_0x35f63e,_0x711df8,_0x2e8524){return _0x21bdd1(_0x35f63e- -0x178,_0x35f63e-_0x3208e6._0xb27dbe,_0x2e8524,_0x2e8524-_0x3208e6._0x1691af);}_0x2be1b8[_0x7e202f(0x5a7,_0xd792bc._0xc12f2b,0x4c9,_0xd792bc._0x13574d)]&&_0x6303a9['length']>0x0&&(_0x6303a9=await hydrateResults(_0x6303a9,_0x2be1b8['lang'],_0x3bcdb5[_0x479288(0x188,_0xd792bc._0x5b327a,_0xd792bc._0x54a227,0xf2)],_0x37dac9));const _0x958342=new Set();_0x6303a9=_0x6303a9[_0x479288(_0xd792bc._0x97d24b,_0xd792bc._0xdc733b,0x4a6,0x4f3)](_0xd5ccaf=>{const _0x4c59a1=_0xd5ccaf[_0x5d6413(_0x176aa0._0x2a61ce,_0x176aa0._0xccf07b,-_0x176aa0._0x1ed98f,0xd6)][_0x5d6413(0x1dc,_0x176aa0._0x306d84,0x357,0x29d)]();function _0x5d6413(_0x5155b9,_0x169334,_0x46196d,_0x28a109){return _0x479288(_0x5155b9-0x189,_0x28a109- -0x120,_0x46196d-0x2e,_0x46196d);}function _0x3cce17(_0x5cd3fa,_0x131d08,_0x109e41,_0x4a3edc){return _0x7e202f(_0x109e41,_0x131d08-_0x318566._0x5ab3d7,_0x4a3edc- -_0x318566._0x576616,_0x4a3edc-0x156);}if(!_0x4c59a1||_0x958342[_0x5d6413(0x273,_0x176aa0._0x5d3db0,0x3c6,0x31a)](_0x4c59a1))return![];return _0x958342['add'](_0x4c59a1),!![];}),_0x6303a9=_0x6303a9[_0x7e202f(0x5de,0x3ad,0x4df,0x5ee)]((_0x2824bd,_0x3cf9b6)=>({..._0x2824bd,'source':{..._0x2824bd[_0x7e202f(0x305,0x455,0x41c,0x3b4)],'rank':_0x3cf9b6+0x1}}));const _0x24c9f1={};if(_0x2be1b8[_0x7e202f(0x225,_0xd792bc._0x4e9176,0x393,0x28a)][_0x7e202f(_0xd792bc._0x51ea9f,_0xd792bc._0x1a7865,_0xd792bc._0x3e7867,_0xd792bc._0x3e22d4)]>0x0)_0x24c9f1['domains']=_0x2be1b8[_0x479288(_0xd792bc._0x12f518,0x32d,_0xd792bc._0x550285,_0xd792bc._0x11f496)];if(_0x2be1b8[_0x7e202f(_0xd792bc._0x5aaf62,_0xd792bc._0x334a46,0x461,_0xd792bc._0x2660c6)]>0x0)_0x24c9f1[_0x479288(0x3ce,_0xd792bc._0x28ffec,0x517,_0xd792bc._0x2c50fd)]=_0x2be1b8[_0x7e202f(_0xd792bc._0x5048ec,0x4cf,0x461,0x30c)];if(_0x2be1b8['lang']!=='en')_0x24c9f1[_0x7e202f(0x5eb,0x4af,_0xd792bc._0x2a9c8e,_0xd792bc._0xf61cbb)]=_0x2be1b8['lang'];if(_0x2be1b8[_0x7e202f(0x391,_0xd792bc._0x3d9f33,_0xd792bc._0x74055c,_0xd792bc._0x241468)])_0x24c9f1[_0x479288(_0xd792bc._0x486384,_0xd792bc._0x52e79b,_0xd792bc._0x47ef73,_0xd792bc._0x1b6df6)]=_0x2be1b8['region'];return yield createToolOutput(formatResults(_0x6303a9),{'engine':_0x1d4f5e,'count':_0x6303a9['length'],'items':_0x6303a9,'query':_0x2be1b8['query'],...Object[_0x7e202f(0x410,_0xd792bc._0x3b20e5,0x42c,0x39b)](_0x24c9f1)[_0x479288(_0xd792bc._0x1efa13,0x1da,_0xd792bc._0x5bda32,_0xd792bc._0x49cc0f)]>0x0?{'appliedFilters':_0x24c9f1}:{},'offset':_0x2be1b8[_0x7e202f(_0xd792bc._0x5f10f8,0x38a,_0xd792bc._0x4086ed,_0xd792bc._0x481a43)],'totalRequested':_0x2be1b8['count'],'hydrated':_0x2be1b8[_0x7e202f(_0xd792bc._0x38c752,_0xd792bc._0x2572b6,_0xd792bc._0x377003,_0xd792bc._0x8225cb)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};