@nuvin/agent-core 0.1.0-rc.8 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-BLGBVFVX.js +1 -0
- package/dist/chunk-D5IVWJHX.js +1 -0
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-NYZR4XKO.js +1 -1
- package/dist/chunk-UIXQPCSN.js +1 -0
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YWQXXHHU.js +1 -0
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/chat-model.d.ts +4 -2
- package/dist/models/index.js +1 -1
- package/dist/models/mock-model.d.ts +3 -1
- package/dist/models/model-registry.d.ts +0 -1
- package/dist/models/openai-model.d.ts +4 -0
- package/dist/models/openai-surfaces.d.ts +3 -0
- package/dist/models/routed-model.d.ts +3 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.js +1 -1
- package/dist/shared/model-identity.d.ts +2 -0
- package/dist/shared/types.d.ts +10 -2
- package/dist/tools/index.js +1 -1
- package/dist/tools/mcp-server-manager.d.ts +6 -6
- package/package.json +2 -2
- package/dist/chunk-FKZ3QQWZ.js +0 -1
- package/dist/chunk-NHBKADBW.js +0 -1
- package/dist/chunk-QDOE7NWO.js +0 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1ada26,_0x19690d){const _0x177e7a={_0x16189d:0x116,_0x58f952:0xf6,_0xf7b2eb:0x156,_0x3839a9:0x152,_0x453d2:0x110,_0x56de22:0x1a8,_0x2b94ac:0x3f,_0x2be416:0x1ee,_0x124266:0x1b7,_0x48c75a:0x124,_0x45cd3c:0x99,_0x288558:0x18d,_0xc6af6d:0x28,_0x4a69af:0x236,_0x5e5dcc:0x178,_0x575668:0x200,_0x4caace:0x1d5,_0x188d16:0x4d,_0x1a8297:0x148},_0x10e501=_0x1ada26();function _0x2e1ff2(_0x44e2ed,_0x589b22,_0x109af5,_0x3928af){return _0x4161(_0x109af5- -0x31c,_0x3928af);}function _0x2e4530(_0x23c9f3,_0x3f5090,_0x1e711e,_0x5dd967){return _0x4161(_0x1e711e- -0x398,_0x3f5090);}while(!![]){try{const _0x5520c6=parseInt(_0x2e4530(0xc0,_0x177e7a._0x16189d,0x84,_0x177e7a._0x58f952))/0x1*(-parseInt(_0x2e1ff2(-_0x177e7a._0xf7b2eb,0xb4,-0x3a,-_0x177e7a._0x3839a9))/0x2)+-parseInt(_0x2e1ff2(0x24,-0x2b9,-0x14c,-0x1d8))/0x3*(parseInt(_0x2e1ff2(-0xa,-_0x177e7a._0x453d2,-0x92,-_0x177e7a._0x56de22))/0x4)+parseInt(_0x2e1ff2(-_0x177e7a._0x2b94ac,-0x12c,-0xa9,-_0x177e7a._0x2be416))/0x5+parseInt(_0x2e4530(-0xb5,-0x1c1,-0x110,-_0x177e7a._0x124266))/0x6*(parseInt(_0x2e4530(-_0x177e7a._0x48c75a,0x111,-0x5f,_0x177e7a._0x45cd3c))/0x7)+parseInt(_0x2e4530(-_0x177e7a._0x288558,-0x1c9,-0x159,-0x1aa))/0x8+parseInt(_0x2e1ff2(0x113,-_0x177e7a._0xc6af6d,-0x3f,-0xbe))/0x9*(parseInt(_0x2e1ff2(-0xba,-_0x177e7a._0x4a69af,-_0x177e7a._0x5e5dcc,-_0x177e7a._0x575668))/0xa)+-parseInt(_0x2e1ff2(_0x177e7a._0x4caace,_0x177e7a._0x3839a9,0x10d,0x239))/0xb*(parseInt(_0x2e1ff2(_0x177e7a._0x188d16,0x278,_0x177e7a._0x1a8297,0x2b4))/0xc);if(_0x5520c6===_0x19690d)break;else _0x10e501['push'](_0x10e501['shift']());}catch(_0xd5575c){_0x10e501['push'](_0x10e501['shift']());}}}(_0x4104,0xe9d77));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-FKZ3QQWZ.js';import{getTextFromMessage}from'../chunk-QDOE7NWO.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x3eb75d from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x32992d(0x3ab,0x5da,0x55e,0x52d),'.tsx':_0xab9513(0x691,0x65d,0x6f7,0x7be),'.js':_0x32992d(0x6ef,0x627,0x887,0x72e),'.jsx':_0x32992d(0x6e7,0x798,0x7aa,0x713),'.mjs':_0x32992d(0x896,0x6a4,0x6eb,0x72e),'.cjs':_0x32992d(0x870,0x808,0x68c,0x72e),'.mts':_0xab9513(0x528,0x5f0,0x4b1,0x3cd),'.cts':_0xab9513(0x528,0x50f,0x3fc,0x4b5),'.json':'json','.jsonc':_0x32992d(0x61d,0x40a,0x62e,0x4fb)};function getLanguageId(_0x54fa27){const _0x6b148e={_0x9768da:0x6e7,_0x158c7a:0x681,_0x4c3b2a:0x63f,_0x306cf7:0xb9},_0x4aff7d={_0x3dbb70:0x642,_0xab3223:0x1c4,_0x1bf566:0x179},_0x546f53={_0x2aa0cb:0xc5,_0x3b464d:0x11d};function _0xd69259(_0x422017,_0x361ff9,_0x5316f5,_0x5d76b2){return _0xab9513(_0x5d76b2-_0x546f53._0x2aa0cb,_0x361ff9-_0x546f53._0x3b464d,_0x5316f5-0x114,_0x422017);}function _0x11f14c(_0x4e6551,_0x3661d2,_0x10e31e,_0xfc483e){return _0xab9513(_0x4e6551- -_0x4aff7d._0x3dbb70,_0x3661d2-_0x4aff7d._0xab3223,_0x10e31e-_0x4aff7d._0x1bf566,_0x3661d2);}return EXTENSION_TO_LANGUAGE[_0x3eb75d[_0xd69259(_0x6b148e._0x9768da,_0x6b148e._0x158c7a,0x5f8,_0x6b148e._0x4c3b2a)](_0x54fa27)[_0x11f14c(-0xec,-_0x6b148e._0x306cf7,-0x13c,-0x1c9)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4fa2c9){const _0x58eaf4={_0x564c27:0x6a9,_0x554786:0x66b},_0x3fb0e5={_0x48365a:0x192};function _0x1d37d9(_0x3ad9ac,_0x2ef983,_0x87168e,_0x1313ae){return _0x32992d(_0x3ad9ac-_0x3fb0e5._0x48365a,_0x1313ae,_0x87168e-0x1a4,_0x2ef983- -0x77);}return pathToFileURL(_0x4fa2c9)[_0x1d37d9(_0x58eaf4._0x564c27,0x6ca,0x5b0,_0x58eaf4._0x554786)]();}function textDocumentPosition(_0xed71a5){const _0x817631={_0x581b29:0x75,_0x19b364:0x6e,_0x281a2a:0x166},_0x5e50b3={_0x2f13ce:0xde,_0x103bcd:0x7d},_0x4ddc58={_0x4381af:0x71,_0x5f3a40:0x65};function _0x2e9961(_0x473295,_0x5472f0,_0x286b8e,_0x515876){return _0x32992d(_0x473295-_0x4ddc58._0x4381af,_0x515876,_0x286b8e-_0x4ddc58._0x5f3a40,_0x5472f0- -0x60c);}function _0x4d5ef5(_0x1c2ea1,_0x5d4754,_0x229d52,_0x8acf7c){return _0xab9513(_0x1c2ea1- -0xbb,_0x5d4754-_0x5e50b3._0x2f13ce,_0x229d52-_0x5e50b3._0x103bcd,_0x229d52);}return{'textDocument':{'uri':uriForPath(_0xed71a5[_0x2e9961(0x91,-_0x817631._0x581b29,0x83,-0x170)])},'position':{'line':_0xed71a5[_0x2e9961(-0xd9,0x6,-_0x817631._0x19b364,-_0x817631._0x281a2a)],'character':_0xed71a5['character']}};}function normalizeLocations(_0x1fc52f){if(!_0x1fc52f)return[];return Array['isArray'](_0x1fc52f)?_0x1fc52f:[_0x1fc52f];}async function createLspClient(_0x2b230e){const _0x579cd2={_0x327454:0x3bf,_0x4f955a:0x1c3,_0xd3256c:0x35e,_0x23f7a4:0x359,_0x181f7a:0x1ad,_0x3db501:0x3d5,_0xe9d86f:0x51b,_0x394af5:0x4f1,_0x148f91:0x4c7,_0x205429:0x34c,_0x50fc80:0x256,_0x5e65c7:0x206,_0x3b5d56:0x250,_0x2751b5:0x387,_0xe705d9:0x241,_0x9ebe37:0x439,_0xc172a6:0x462,_0x11b996:0x559,_0x19dd79:0x4f0,_0xc99282:0x218,_0x23cbdf:0x276,_0x4cd499:0xf0,_0x467671:0x73,_0x5e7ae4:0x27b,_0x5313f6:0x17b,_0x4d48c1:0x3a0,_0x4fa500:0x352,_0x3974c5:0x26c,_0x4c957b:0x519,_0x281436:0x5a9,_0x292d33:0x4b8,_0x1ea17a:0x1aa},_0x140a5f={_0x45d58e:0x48b,_0x4ea2e7:0x439,_0x152b76:0x61a,_0x5b1461:0x4d5,_0x6e5f6d:0x4a8,_0x23e68e:0x38b,_0x1bbf24:0x4c0,_0x5a9978:0x517,_0x4e60f2:0x34c,_0x27883d:0x1db,_0x34bbc5:0x487,_0x3428aa:0x409,_0x32e6ad:0x406,_0x52db52:0x55f,_0x1e75ae:0x44f,_0x5b5b86:0x5c0},_0x2cd378={_0x86512:0x14f,_0x11b324:0xf5},_0x2d328e={_0x193c83:0x32,_0x1f3e69:0x59,_0x3565f1:0x8c,_0x434e1a:0x247,_0x4b0e64:0x15c},_0x401cc2={_0x10534d:0x393,_0x9a7ab2:0x4e7,_0xaa40f0:0x470},_0x1b7b24={_0x4e7940:0x15e,_0x1bf7e0:0x172},_0x357bcf={_0x294393:0x14},_0x4c8ed8={_0x198be3:0x120},_0x29b6ed={_0x80733b:0x4ed,_0x440821:0x661,_0x49a961:0x4e8},_0x586c27={_0x10ca12:0x18a,_0x334720:0x1b1,_0x4ed651:0x23a,_0xdf599a:0x167,_0x5259bc:0x81,_0x41aa68:0x2a,_0x27b483:0xe1},_0x511a81={_0x48531f:0x6d},_0x95d336={_0x3907d9:0x1d5,_0x1d905b:0x367,_0x1e9412:0x2a8,_0x472e72:0x30d,_0x148e82:0x27a,_0xe0b3df:0xb4},_0x32590d={_0xb0aac7:0x62a,_0x31d5a2:0x61b,_0x116fc9:0x4e9},_0x34cc47={_0x56c13b:0x170},_0x546431={_0x3c78d4:0xe8,_0x696ffc:0x1e9,_0x131fb2:0xa0,_0xd58f3d:0x19d},_0x37381f={_0x38b030:0x3a6,_0x484b52:0x3c3},_0x21afc3={_0x5254fb:0x1a8,_0x25aab3:0x169},_0x3c9fa0={_0x4b1d89:0x1c9,_0xf14e31:0x1c5,_0x2aa0e6:0xfe,_0xf8921b:0x61,_0x37b643:0x1a,_0x2aefce:0x7d},_0x535177={_0x39311e:0x36e,_0x2dd31a:0x1ae},_0x29d782={_0x167338:0x270,_0x4324f3:0x3d},_0x519af9={_0x30f7b8:0x390,_0x7e7cd:0x372,_0x560c0e:0x292,_0x361f84:0x2a2,_0x347999:0x26e,_0x243e66:0x1d8,_0x2dc38a:0xcc,_0x396398:0x2cb,_0xbd109f:0x233,_0x1bd494:0x289,_0x12d2dd:0x20f,_0x517178:0x2b3,_0x3f9366:0x363},_0x3ac063={_0x4790ab:0x67,_0x482f72:0x178},_0x1eab66={_0x4e0b95:0x58},_0x2c5c14={_0x4c91d4:0x744,_0x1ed51f:0x773,_0x3b7c6b:0xe,_0x5e830b:0x259,_0x107aee:0x14e,_0x1598fa:0x269},_0xb7e7e={_0x5ac71d:0x1f3},_0x554cf8={_0x103809:0xb1,_0x386484:0x21d},_0x4e9c19=_0x2b230e[_0x36e6a7(0x2ff,0x26f,_0x579cd2._0x327454,0x394)][_0x2e638e(0x24f,0x1ed,0x33a,_0x579cd2._0x4f955a)][_0x36e6a7(_0x579cd2._0xd3256c,0x338,_0x579cd2._0x23f7a4,0x209)],_0x4c77d3=_0x2b230e[_0x36e6a7(_0x579cd2._0x181f7a,0x26f,0x295,_0x579cd2._0x3db501)]['process'][_0x36e6a7(0x5a0,_0x579cd2._0xe9d86f,_0x579cd2._0x394af5,_0x579cd2._0x148f91)];if(!_0x4e9c19||!_0x4c77d3)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x24f030=createMessageConnection(new StreamMessageReader(_0x4e9c19),new StreamMessageWriter(_0x4c77d3)),_0x38f9e0=new Map();function _0x36e6a7(_0x9ab07d,_0x252847,_0x1a87fb,_0xd387df){return _0x32992d(_0x9ab07d-_0x554cf8._0x103809,_0x1a87fb,_0x1a87fb-0xaf,_0x252847- -_0x554cf8._0x386484);}const _0x19bc32=new Map();let _0x38cff4=![];_0x24f030[_0x2e638e(0x242,_0x579cd2._0x205429,_0x579cd2._0x50fc80,0x344)](_0x36e6a7(_0x579cd2._0x5e65c7,0x385,0x396,_0x579cd2._0x3b5d56),_0x2ab811=>{const _0x8886da={_0x4b343a:0x86,_0x4714f4:0x87,_0x493fb2:0xf4};_0x38f9e0['set'](_0x2ab811['uri'],_0x2ab811[_0x5e67ab(_0x2c5c14._0x4c91d4,0x717,_0x2c5c14._0x1ed51f,0x8bd)]);const _0x7fede1=_0x19bc32[_0xd3bef0(0x82,-_0x2c5c14._0x3b7c6b,_0x2c5c14._0x5e830b,_0x2c5c14._0x107aee)](_0x2ab811['uri']);function _0xd3bef0(_0x951fe1,_0x51eb9e,_0x548428,_0x5f5ae3){return _0x2e638e(_0x5f5ae3- -_0x8886da._0x4b343a,_0x51eb9e-_0x8886da._0x4714f4,_0x548428-_0x8886da._0x493fb2,_0x51eb9e);}function _0x5e67ab(_0xeac6c5,_0x171885,_0x1dc680,_0x288219){return _0x2e638e(_0xeac6c5-0x2f8,_0x171885-0x125,_0x1dc680-_0xb7e7e._0x5ac71d,_0x171885);}if(!_0x7fede1)return;_0x19bc32[_0x5e67ab(0x5e4,0x586,0x663,0x4a4)](_0x2ab811[_0xd3bef0(0x285,0x15c,0x309,_0x2c5c14._0x1598fa)]);for(const _0x41ff1c of _0x7fede1)_0x41ff1c();});function _0x2e638e(_0xc5f972,_0x1be36d,_0x5c7e64,_0x8a8e23){return _0x32992d(_0xc5f972-_0x1eab66._0x4e0b95,_0x8a8e23,_0x5c7e64-0x144,_0xc5f972- -0x2f7);}_0x24f030[_0x36e6a7(0x3c6,0x3cb,0x508,0x519)]();const _0x2d0a37=await _0x24f030['sendRequest'](_0x2e638e(0x378,0x2e8,_0x579cd2._0x2751b5,0x35c),{'processId':process[_0x2e638e(_0x579cd2._0xe705d9,0x34a,0x34c,0x289)],'rootUri':uriForPath(_0x2b230e[_0x2e638e(_0x579cd2._0x9ebe37,_0x579cd2._0xc172a6,_0x579cd2._0x11b996,_0x579cd2._0x19dd79)]),'workspaceFolders':[{'uri':uriForPath(_0x2b230e[_0x2e638e(_0x579cd2._0x9ebe37,0x3a2,0x4aa,0x328)]),'name':_0x2b230e[_0x2e638e(_0x579cd2._0xc99282,0x2a5,_0x579cd2._0x23cbdf,_0x579cd2._0x4cd499)]['id']}],'initializationOptions':_0x2b230e[_0x2e638e(0x195,0x318,0x1e2,_0x579cd2._0x467671)][_0x2e638e(_0x579cd2._0x5e7ae4,_0x579cd2._0x5313f6,0x145,0x2e6)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x36e6a7(0x466,_0x579cd2._0x4d48c1,0x3e9,0x237),_0x2e638e(_0x579cd2._0x4fa500,0x22e,0x35b,_0x579cd2._0x3974c5)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x24f030[_0x2e638e(0x3d9,0x473,0x300,_0x579cd2._0x4c957b)](_0x36e6a7(_0x579cd2._0x281436,_0x579cd2._0x292d33,0x5f8,0x5b4),{});const _0x187d91={'serverId':_0x2b230e[_0x2e638e(0x218,0x1b5,0xc1,_0x579cd2._0x1ea17a)]['id'],'root':_0x2b230e['root'],'connection':_0x24f030,'diagnostics':_0x38f9e0,'capabilities':_0x2d0a37['capabilities']??{},'notify':{async 'open'({path:_0x550450}){const _0x501f96={_0x55a394:0x87};function _0x164d2c(_0x3b4c89,_0x397ac8,_0x1835f8,_0xb46a8a){return _0x36e6a7(_0x3b4c89-_0x3ac063._0x4790ab,_0x3b4c89- -0xd5,_0xb46a8a,_0xb46a8a-_0x3ac063._0x482f72);}const _0x43a056=await readFile(_0x550450,_0x1b349e(_0x519af9._0x30f7b8,_0x519af9._0x7e7cd,0x433,_0x519af9._0x560c0e));function _0x1b349e(_0x37d970,_0x10e31b,_0x3cbb01,_0x1695e5){return _0x2e638e(_0x37d970- -0xc9,_0x10e31b-_0x501f96._0x55a394,_0x3cbb01-0x76,_0x10e31b);}_0x24f030[_0x1b349e(0x310,_0x519af9._0x361f84,_0x519af9._0x347999,0x219)](_0x1b349e(_0x519af9._0x243e66,_0x519af9._0x2dc38a,_0x519af9._0x396398,_0x519af9._0xbd109f),{'textDocument':{'uri':uriForPath(_0x550450),'languageId':getLanguageId(_0x550450)??_0x1b349e(_0x519af9._0x1bd494,_0x519af9._0x12d2dd,_0x519af9._0x517178,_0x519af9._0x3f9366),'version':0x1,'text':_0x43a056}});},async 'change'({path:_0x12e1d4,version:_0x268839}){function _0x12505b(_0x14daff,_0xa6ba6e,_0x35d7b9,_0x1120f0){return _0x2e638e(_0xa6ba6e- -_0x29d782._0x167338,_0xa6ba6e-_0x29d782._0x4324f3,_0x35d7b9-0x3,_0x35d7b9);}function _0x1847e9(_0x4f60b5,_0x2e527b,_0x1bc782,_0x26b35c){return _0x36e6a7(_0x4f60b5-0x140,_0x2e527b- -_0x535177._0x39311e,_0x1bc782,_0x26b35c-_0x535177._0x2dd31a);}const _0x489c01=await readFile(_0x12e1d4,_0x1847e9(_0x3c9fa0._0x4b1d89,_0x3c9fa0._0xf14e31,0x120,0x236));_0x24f030[_0x1847e9(0x66,0x145,_0x3c9fa0._0x2aa0e6,0x8b)](_0x12505b(-0x11c,-_0x3c9fa0._0xf8921b,_0x3c9fa0._0x37b643,_0x3c9fa0._0x2aefce),{'textDocument':{'uri':uriForPath(_0x12e1d4),'version':_0x268839},'contentChanges':[{'text':_0x489c01}]});},async 'close'({path:_0x11754d}){const _0x31ca59={_0x2cb8e5:0x9d,_0x11f3f4:0x10d,_0x18c429:0x35};function _0x1b30b3(_0xac135f,_0x269486,_0x1ec2f6,_0x48b355){return _0x36e6a7(_0xac135f-_0x31ca59._0x2cb8e5,_0xac135f- -_0x31ca59._0x11f3f4,_0x48b355,_0x48b355-_0x31ca59._0x18c429);}function _0x25535e(_0x20257e,_0x46de91,_0xad05e5,_0x4903f2){return _0x2e638e(_0x20257e-_0x21afc3._0x5254fb,_0x46de91-0x6f,_0xad05e5-_0x21afc3._0x25aab3,_0x46de91);}_0x24f030[_0x1b30b3(_0x37381f._0x38b030,0x503,_0x37381f._0x484b52,0x41d)](_0x1b30b3(0x430,0x3aa,0x5ae,0x435),{'textDocument':{'uri':uriForPath(_0x11754d)}});}},'request':{async 'definition'(_0x3a8a13){const _0x3ce194={_0x4cdbb0:0x63,_0x1c58d9:0x195,_0x1bec2c:0xc};function _0x12e1c9(_0x33c9e9,_0x2b590f,_0x271a06,_0x37fda6){return _0x2e638e(_0x33c9e9- -_0x3ce194._0x4cdbb0,_0x2b590f-_0x3ce194._0x1c58d9,_0x271a06-_0x3ce194._0x1bec2c,_0x37fda6);}function _0x322f8b(_0x3368ca,_0x2c3452,_0x760b22,_0x145139){return _0x2e638e(_0x3368ca- -0x226,_0x2c3452-0x1a7,_0x760b22-0x1cd,_0x145139);}return normalizeLocations(await _0x24f030[_0x322f8b(_0x546431._0x3c78d4,_0x546431._0x696ffc,0x1e5,0x190)](_0x12e1c9(0x1c3,_0x546431._0x131fb2,0x53,_0x546431._0xd58f3d),textDocumentPosition(_0x3a8a13)));},async 'references'(_0x1300b5){const _0x237ba2={_0x34c9d5:0xd};function _0x545638(_0x46c1bb,_0x160fd6,_0x5da89b,_0xa37a80){return _0x36e6a7(_0x46c1bb-_0x34cc47._0x56c13b,_0xa37a80- -0x1d6,_0x160fd6,_0xa37a80-0x27);}function _0x3f1fa5(_0x4dc1fb,_0x3dfdaa,_0x4f8ded,_0x19477c){return _0x36e6a7(_0x4dc1fb-_0x237ba2._0x34c9d5,_0x3dfdaa-0x242,_0x4dc1fb,_0x19477c-0x8e);}return normalizeLocations(await _0x24f030[_0x3f1fa5(0x776,_0x32590d._0xb0aac7,_0x32590d._0x31d5a2,0x6b1)](_0x3f1fa5(0x6b8,0x618,_0x32590d._0x116fc9,0x5e4),{...textDocumentPosition(_0x1300b5),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x3976e8){const _0x53d5fd={_0x514aff:0x30,_0x366e3e:0x194},_0x410f30={_0x5c637b:0x6,_0x17eb4f:0x54};function _0x48f73b(_0x466a9d,_0x5f46c2,_0x486fe0,_0x4d0b60){return _0x2e638e(_0x486fe0-_0x410f30._0x5c637b,_0x5f46c2-_0x410f30._0x17eb4f,_0x486fe0-0x113,_0x466a9d);}function _0x18dda1(_0x443f70,_0x34c438,_0x250047,_0x225cbd){return _0x2e638e(_0x443f70-_0x53d5fd._0x514aff,_0x34c438-_0x53d5fd._0x366e3e,_0x250047-0x73,_0x34c438);}return await _0x24f030[_0x48f73b(_0x95d336._0x3907d9,_0x95d336._0x1d905b,0x314,_0x95d336._0x1e9412)](_0x18dda1(0x228,_0x95d336._0x472e72,_0x95d336._0x148e82,_0x95d336._0xe0b3df),textDocumentPosition(_0x3976e8))??null;},async 'documentSymbol'(_0x5cdabc){const _0xdb4f82={_0x446936:0x72};function _0x1f91d1(_0x4b220f,_0x284ca8,_0x202d0d,_0x1adf53){return _0x2e638e(_0x284ca8- -0x3f,_0x284ca8-0x120,_0x202d0d-_0xdb4f82._0x446936,_0x4b220f);}function _0x3a2f83(_0x1cb84b,_0xd2fea0,_0x4d7c28,_0x4d2198){return _0x2e638e(_0x1cb84b- -0x170,_0xd2fea0-_0x511a81._0x48531f,_0x4d7c28-0x12e,_0x4d2198);}return await _0x24f030[_0x1f91d1(_0x586c27._0x10ca12,0x2cf,_0x586c27._0x334720,_0x586c27._0x4ed651)](_0x3a2f83(_0x586c27._0xdf599a,_0x586c27._0x5259bc,_0x586c27._0x41aa68,_0x586c27._0x27b483),{'textDocument':{'uri':uriForPath(_0x5cdabc)}})??[];},async 'workspaceSymbol'(_0x3cad1e){const _0x34b6f7={_0x2ed95c:0x189,_0x4c044a:0xa8},_0x28029c={_0x4eea38:0x1df,_0x352ae8:0x1e2};function _0x2796ee(_0x31d5a6,_0x19d17f,_0x1dcec6,_0x18c107){return _0x2e638e(_0x31d5a6-_0x28029c._0x4eea38,_0x19d17f-0x10b,_0x1dcec6-_0x28029c._0x352ae8,_0x18c107);}function _0x2a4296(_0x197b9d,_0x7c2c72,_0x4dd843,_0x3a1cc3){return _0x2e638e(_0x3a1cc3- -_0x34b6f7._0x2ed95c,_0x7c2c72-0x7b,_0x4dd843-_0x34b6f7._0x4c044a,_0x197b9d);}return await _0x24f030[_0x2796ee(_0x29b6ed._0x80733b,0x562,0x628,0x449)](_0x2796ee(0x5c1,_0x29b6ed._0x440821,0x60b,_0x29b6ed._0x49a961),{'query':_0x3cad1e})??[];},async 'implementation'(_0x37a997){return normalizeLocations(await _0x24f030['sendRequest']('textDocument/implementation',textDocumentPosition(_0x37a997)));},async 'prepareCallHierarchy'(_0x32ed50){const _0x15ce85={_0x566c16:0x249};function _0x10eead(_0x284cf8,_0x17e7c8,_0x41c6ff,_0x2cb3c1){return _0x2e638e(_0x284cf8- -_0x15ce85._0x566c16,_0x17e7c8-0x42,_0x41c6ff-0x1cd,_0x17e7c8);}return await _0x24f030[_0x10eead(0xc5,0x12b,_0x4c8ed8._0x198be3,0x185)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x32ed50))??[];},async 'incomingCalls'(_0x3a8481){function _0xe9a147(_0x4e69b2,_0x54ae46,_0x226282,_0x5569bb){return _0x36e6a7(_0x4e69b2-_0x357bcf._0x294393,_0x226282-0x43,_0x54ae46,_0x5569bb-0x39);}function _0x5ab17c(_0x1833c7,_0x2557f6,_0x325021,_0x2d40e1){return _0x36e6a7(_0x1833c7-0x1c5,_0x1833c7-_0x1b7b24._0x4e7940,_0x325021,_0x2d40e1-_0x1b7b24._0x1bf7e0);}return await _0x24f030[_0x5ab17c(0x546,0x5a7,0x536,0x41c)](_0x5ab17c(0x4f5,_0x401cc2._0x10534d,_0x401cc2._0x9a7ab2,_0x401cc2._0xaa40f0),{'item':_0x3a8481})??[];},async 'outgoingCalls'(_0x5a1b33){const _0x50acea={_0x24f514:0xac,_0x31e32c:0x5a};function _0x5c81f5(_0x4b791f,_0xcd2ac8,_0x360702,_0x2a3daf){return _0x2e638e(_0x2a3daf- -0x9a,_0xcd2ac8-0x138,_0x360702-0x43,_0xcd2ac8);}function _0x1e4308(_0x356a4b,_0x323043,_0x1923e3,_0x2d72b0){return _0x2e638e(_0x2d72b0- -0x367,_0x323043-_0x50acea._0x24f514,_0x1923e3-_0x50acea._0x31e32c,_0x1923e3);}return await _0x24f030[_0x1e4308(-0x47,-0x14d,-_0x2d328e._0x193c83,-_0x2d328e._0x1f3e69)](_0x1e4308(-_0x2d328e._0x3565f1,-_0x2d328e._0x434e1a,-0x211,-_0x2d328e._0x4b0e64),{'item':_0x5a1b33})??[];}},'waitForDiagnostics'({path:_0xde4297,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x534360={_0x49b901:0x20b,_0x33ead9:0x1e5,_0x4376f4:0x190,_0x55b34f:0x229},_0x7a3b42={_0x2a832d:0xb7,_0x13e238:0x2b},_0x15141f={_0x16e0e2:0x1e7};function _0x35f675(_0xc9f9f3,_0x40bbac,_0x5d7fdd,_0x5d3253){return _0x2e638e(_0x40bbac- -0x2c4,_0x40bbac-_0x15141f._0x16e0e2,_0x5d7fdd-0x96,_0xc9f9f3);}const _0x5aa3dd=uriForPath(_0xde4297);if(_0x38f9e0[_0x35f675(0x2a8,_0x2cd378._0x86512,_0x2cd378._0x11b324,0x32)](_0x5aa3dd))return Promise['resolve']();return new Promise(_0x36f44d=>{const _0x514d81={_0x349a9f:0x1d9,_0x267df7:0x310,_0x48d701:0x432,_0x4652fb:0x4e5,_0x528549:0x4ae,_0x5059c0:0x59e,_0x202296:0x425,_0x3e6967:0x51f,_0x207603:0x3f8},_0x14beaa={_0x6afbd1:0x24b},_0x519165=setTimeout(()=>{const _0x580c6b={_0x333984:0x11d},_0xd320a0=_0x19bc32[_0x3fe06c(_0x514d81._0x349a9f,0x303,_0x514d81._0x267df7,_0x514d81._0x48d701)](_0x5aa3dd);_0xd320a0?.[_0x3fe06c(0x53e,0x41b,0x2dd,_0x514d81._0x4652fb)](_0x4f290c);function _0x3fe06c(_0x2d1ab5,_0xd0086b,_0x3246f4,_0x2909c6){return _0x4161(_0xd0086b-_0x580c6b._0x333984,_0x3246f4);}function _0x5285c1(_0xa700da,_0x2a5ff1,_0x1742d1,_0x439bb6){return _0x4161(_0x439bb6-_0x14beaa._0x6afbd1,_0xa700da);}if(_0xd320a0?.[_0x5285c1(_0x514d81._0x528549,0x482,_0x514d81._0x5059c0,0x436)]===0x0)_0x19bc32[_0x5285c1(_0x514d81._0x202296,_0x514d81._0x3e6967,_0x514d81._0x207603,0x549)](_0x5aa3dd);_0x36f44d();},timeoutMs),_0x4f290c=()=>{clearTimeout(_0x519165),_0x36f44d();};function _0x2663f3(_0x35fd05,_0x2da764,_0x194f02,_0xdf6a41){return _0x35f675(_0x2da764,_0x194f02-0x9d,_0x194f02-0x84,_0xdf6a41-0xf4);}const _0x1ede32=_0x19bc32['get'](_0x5aa3dd)??new Set();function _0x4bd19b(_0x381612,_0x319287,_0x5cdeeb,_0x1040c4){return _0x35f675(_0x381612,_0x319287-0x73,_0x5cdeeb-_0x7a3b42._0x2a832d,_0x1040c4-_0x7a3b42._0x13e238);}_0x1ede32[_0x4bd19b(0x89,-0x1f,-0xcb,0x165)](_0x4f290c),_0x19bc32[_0x2663f3(_0x534360._0x49b901,_0x534360._0x33ead9,_0x534360._0x4376f4,_0x534360._0x55b34f)](_0x5aa3dd,_0x1ede32);});},async 'shutdown'(){const _0x1b297a={_0x52b08d:0xd1},_0x1e64fc={_0x394500:0x1a6,_0x2749ec:0xd,_0xc35a53:0x14c};function _0x3696ef(_0x23f793,_0x14fa45,_0x42d64e,_0x335015){return _0x36e6a7(_0x23f793-_0x1e64fc._0x394500,_0x23f793-_0x1e64fc._0x2749ec,_0x14fa45,_0x335015-_0x1e64fc._0xc35a53);}function _0x344ffa(_0x3c9d16,_0x3b94a7,_0x196566,_0x9d7e3){return _0x2e638e(_0x3b94a7-0x1b7,_0x3b94a7-_0x1b297a._0x52b08d,_0x196566-0x184,_0x3c9d16);}if(_0x38cff4)return;_0x38cff4=!![];try{await _0x24f030[_0x344ffa(_0x140a5f._0x45d58e,0x4c5,_0x140a5f._0x4ea2e7,_0x140a5f._0x152b76)](_0x3696ef(_0x140a5f._0x5b1461,0x3f6,_0x140a5f._0x6e5f6d,_0x140a5f._0x23e68e),null),_0x24f030[_0x3696ef(0x4c0,0x593,0x548,_0x140a5f._0x1bbf24)]('exit');}catch{}finally{_0x24f030[_0x344ffa(0x4ce,0x5da,0x5d1,_0x140a5f._0x5a9978)](),_0x2b230e[_0x344ffa(0x3bd,_0x140a5f._0x4e60f2,_0x140a5f._0x27883d,_0x140a5f._0x34bbc5)][_0x344ffa(_0x140a5f._0x3428aa,_0x140a5f._0x32e6ad,0x2ea,_0x140a5f._0x52db52)][_0x3696ef(_0x140a5f._0x1e75ae,0x3fa,_0x140a5f._0x5b5b86,0x3d8)]();}}};return _0x187d91;}import{spawn as _0x4adff0}from'child_process';import{access as _0x3ac9f4}from'fs/promises';import _0x2167dd from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x1c5f83 from'os';import _0x2f7eef from'path';import _0x3be4ce from'which';var installPromises=new Map();function sanitizePackageName(_0x589a8b){const _0x1a1a35={_0x5462f5:0x53a,_0x348172:0x576,_0x41db47:0x53e},_0xf8eab5={_0x24eeba:0x9b,_0x83e9da:0x3d};function _0x1b873d(_0x2c1aa8,_0x5e4fa9,_0x4ef9b8,_0x301dfd){return _0x32992d(_0x2c1aa8-_0xf8eab5._0x24eeba,_0x5e4fa9,_0x4ef9b8-0x43,_0x301dfd-_0xf8eab5._0x83e9da);}return _0x589a8b[_0x1b873d(_0x1a1a35._0x5462f5,0x5ac,_0x1a1a35._0x348172,_0x1a1a35._0x41db47)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x2d7fc8){const _0x4b08f7={_0x210b2c:0x63d,_0x14b720:0x70f,_0x441538:0x4dc,_0x1f5bfb:0x593,_0x454204:0x547,_0x118ab0:0x6cc},_0x1a5366={_0x5c23ef:0x171,_0x20669a:0x190},_0x9dfdd={_0x514bd2:0x28};function _0x1ff89d(_0x4afa76,_0x117d85,_0x1710c7,_0xbc7bb6){return _0xab9513(_0x1710c7- -_0x9dfdd._0x514bd2,_0x117d85-0x52,_0x1710c7-0x13e,_0xbc7bb6);}function _0x44a660(_0x6fa7ab,_0x26af22,_0x45a5ed,_0x5328aa){return _0x32992d(_0x6fa7ab-_0x1a5366._0x5c23ef,_0x45a5ed,_0x45a5ed-_0x1a5366._0x20669a,_0x5328aa- -0x20e);}return process[_0x1ff89d(_0x4b08f7._0x210b2c,_0x4b08f7._0x14b720,0x600,0x4ce)]===_0x1ff89d(0x5d8,0x5c5,_0x4b08f7._0x441538,0x403)?_0x2d7fc8+_0x1ff89d(_0x4b08f7._0x1f5bfb,0x4e3,_0x4b08f7._0x454204,_0x4b08f7._0x118ab0):_0x2d7fc8;}async function exists(_0x3cf579){try{return await access(_0x3cf579),!![];}catch{return![];}}function runNpmInstall(_0x36d4a7,_0x266f1d,_0x1cc173){const _0x2eb7fc={_0x5a311b:0x752,_0x4c1c74:0x16c,_0x61c74:0x14d,_0x18460c:0x574},_0x299bf3={_0x5bfd66:0x106};return new Promise(_0x1b6f64=>{const _0x537309={_0x58cfe2:0x2f5};function _0x282e84(_0x4c38d9,_0x2cacd5,_0x2e5a2d,_0x491bda){return _0x4161(_0x2cacd5- -_0x299bf3._0x5bfd66,_0x2e5a2d);}const _0xf93486=spawn('npm',[_0x43adae(0x7f0,0x5df,0x5dc,_0x2eb7fc._0x5a311b),'--prefix',_0x36d4a7,_0x266f1d],{'env':_0x1cc173,'stdio':_0x282e84(0xca,0x122,0x10,_0x2eb7fc._0x4c1c74)});_0xf93486['on'](_0x282e84(_0x2eb7fc._0x61c74,0x1eb,0x31a,0xab),()=>_0x1b6f64(![]));function _0x43adae(_0x2b583c,_0x56d596,_0x598bde,_0x4dd7d6){return _0x4161(_0x4dd7d6-_0x537309._0x58cfe2,_0x598bde);}_0xf93486['on'](_0x43adae(_0x2eb7fc._0x18460c,0x3ae,0x5c4,0x48d),_0x123956=>_0x1b6f64(_0x123956===0x0));});}function shouldDisableLspDownload(_0x2096f7=process[_0xab9513(0x6c7,0x564,0x5f7,0x5df)]){const _0x2e8cab={_0x520b06:0x5f7,_0x1fdcde:0x686},_0x167912={_0xa34c4e:0x70,_0xdbf7b7:0x46},_0x1c1fec=_0x2096f7[_0x422dd4(_0x2e8cab._0x520b06,_0x2e8cab._0x1fdcde,0x77d,0x75e)]?.['toLowerCase']();function _0x422dd4(_0x47e3de,_0x1a3808,_0x3f307f,_0x3450bf){return _0x32992d(_0x47e3de-_0x167912._0xa34c4e,_0x1a3808,_0x3f307f-_0x167912._0xdbf7b7,_0x3450bf-0xf9);}return _0x1c1fec==='true'||_0x1c1fec==='1'||_0x1c1fec==='yes'||_0x1c1fec==='on';}function getLspPackageDir(_0x164ccc){const _0x89a34a={_0x49fc1a:0x144,_0x3df725:0xe7,_0x2e7bb6:0x181,_0x29f8ea:0xe1,_0x538012:0x53,_0x25f129:0x4c0,_0x5df952:0xb6,_0x1a4d83:0x8a},_0x8e6e87={_0xc957e9:0x31a},_0x5b1c44={_0x4eb16a:0xe1};function _0x22f1f3(_0x460cc1,_0x2a7625,_0x153784,_0x2e4e28){return _0x32992d(_0x460cc1-_0x5b1c44._0x4eb16a,_0x153784,_0x153784-0x119,_0x2e4e28- -0x5df);}function _0x19cca3(_0x1c8d21,_0x5b477d,_0x857b22,_0x5e906d){return _0x32992d(_0x1c8d21-0x115,_0x5e906d,_0x857b22-0x153,_0x1c8d21- -_0x8e6e87._0xc957e9);}return _0x2f7eef['join'](_0x1c5f83[_0x22f1f3(_0x89a34a._0x49fc1a,-0x11,0x15c,_0x89a34a._0x3df725)](),_0x22f1f3(-_0x89a34a._0x2e7bb6,-_0x89a34a._0x29f8ea,_0x89a34a._0x538012,-0x130),_0x19cca3(0x408,0x2ac,_0x89a34a._0x25f129,0x295),_0x22f1f3(0x6c,0x15c,_0x89a34a._0x5df952,_0x89a34a._0x1a4d83),sanitizePackageName(_0x164ccc));}function getLspBinDir(_0x29ad36){const _0x155886={_0x425973:0x497,_0x1d4dcb:0x4cc};function _0x1e7912(_0x253eb4,_0x53dbdd,_0x3ccc6d,_0x1c9093){return _0x32992d(_0x253eb4-0x18,_0x253eb4,_0x3ccc6d-0x85,_0x53dbdd- -0x16e);}return _0x2f7eef['join'](getLspPackageDir(_0x29ad36),_0x1e7912(0x3e1,0x467,_0x155886._0x425973,_0x155886._0x1d4dcb),'.bin');}async function findPackageBinary(_0x594de6,_0x24b9c0){const _0x3f55b9={_0x248d40:0x316,_0x18a6eb:0x229,_0x40d1ec:0x1b6,_0x34ebb3:0x5c8,_0x3910bd:0x389,_0x1b32e9:0x4ed,_0x222c9b:0x1d7,_0x4b6ed5:0x263},_0x2a9dd3={_0x28df7f:0x125,_0xa5feff:0x1ca},_0x36fbdc={_0x303972:0x234,_0x145a8b:0x17e};let _0x360328=_0x2f7eef['resolve'](_0x24b9c0);function _0x2734d2(_0x5d4fb3,_0x1d7a51,_0x209228,_0x1d7450){return _0xab9513(_0x209228- -_0x36fbdc._0x303972,_0x1d7a51-_0x36fbdc._0x145a8b,_0x209228-0xf8,_0x5d4fb3);}const _0x382b5b=binaryNameForPlatform(_0x594de6);function _0x4d5526(_0x164cf6,_0xe0d003,_0x393007,_0x41f817){return _0x32992d(_0x164cf6-_0x2a9dd3._0x28df7f,_0x164cf6,_0x393007-_0x2a9dd3._0xa5feff,_0xe0d003- -0x174);}while(!![]){const _0xe8a6fe=_0x2f7eef[_0x4d5526(0x464,_0x3f55b9._0x248d40,_0x3f55b9._0x18a6eb,_0x3f55b9._0x40d1ec)](_0x360328,_0x4d5526(0x42c,0x461,_0x3f55b9._0x34ebb3,0x32d),_0x4d5526(0x324,_0x3f55b9._0x3910bd,_0x3f55b9._0x1b32e9,0x43a),_0x382b5b);if(await exists(_0xe8a6fe))return _0xe8a6fe;const _0x38c712=_0x2f7eef[_0x2734d2(_0x3f55b9._0x222c9b,0x1d7,_0x3f55b9._0x4b6ed5,0x186)](_0x360328);if(_0x38c712===_0x360328)return void 0x0;_0x360328=_0x38c712;}}async function findPathBinary(_0x2896d8,_0x168a77){const _0x3186b5={_0x29f827:0x333,_0x14dd62:0x1e2,_0x23cf5a:0x3c8,_0x38ebd6:0x2d0,_0x353974:0x37f,_0x470dde:0x145,_0x2d8fa6:0x2f7,_0x24bdd5:0x19f},_0x39c61d={_0x1cc7c8:0x27,_0x5ab23c:0x8b,_0x503c81:0x3f4},_0x489792={_0x2c0b6c:0xb5};function _0x110aba(_0xc366a7,_0x65839a,_0x27e2da,_0x54d322){return _0xab9513(_0x54d322- -0x2a7,_0x65839a-_0x489792._0x2c0b6c,_0x27e2da-0x8c,_0x27e2da);}const _0x15b0fc=getLspBinDir(_0x168a77);function _0x512efe(_0x580326,_0x26b438,_0x59bef1,_0x3a05ff){return _0x32992d(_0x580326-_0x39c61d._0x1cc7c8,_0x59bef1,_0x59bef1-_0x39c61d._0x5ab23c,_0x26b438- -_0x39c61d._0x503c81);}const _0x23e78b=[_0x15b0fc,process[_0x512efe(0x265,0x2d8,_0x3186b5._0x29f827,_0x3186b5._0x14dd62)][_0x110aba(_0x3186b5._0x23cf5a,0x3ba,_0x3186b5._0x38ebd6,_0x3186b5._0x353974)]]['filter'](Boolean)['join'](_0x2f7eef[_0x512efe(_0x3186b5._0x470dde,0x29b,_0x3186b5._0x2d8fa6,_0x3186b5._0x24bdd5)]);try{return await _0x3be4ce(_0x2896d8,{'path':_0x23e78b});}catch{return void 0x0;}}async function resolvePackageBinary(_0x5a5969){const _0x56569a={_0x3dc931:0x425,_0x7d2095:0x41c,_0x1d9151:0x5a5,_0x5517db:0x54c,_0x349545:0x260,_0x3efed0:0x32d,_0x532542:0x42d,_0x349de3:0x46f,_0x466651:0x549,_0x1bdbbd:0x67d,_0x2ba8b1:0x50f,_0x4b7023:0x6a9,_0x4da523:0x713,_0x2b2cca:0x4a2,_0x56dc2d:0x5f4},_0x5abde8={_0x4c4f84:0x4d9,_0x1ca7a9:0x58d,_0x458946:0x118,_0xdd8f26:0x290,_0x180963:0x69,_0x3d9e6e:0x26},_0x2ad4ca={_0x3c74ff:0x18c},_0xca8a66={_0x17bcf7:0xee},_0x48daae={_0x20b8b5:0x0},_0x33b524=_0x5a5969[_0x2b0efd(_0x56569a._0x3dc931,_0x56569a._0x7d2095,0x494,0x4c2)]??_0x5a5969[_0x82b327(_0x56569a._0x1d9151,0x52d,0x43a,_0x56569a._0x5517db)],_0xc2689e=await findPackageBinary(_0x33b524,_0x5a5969[_0x2b0efd(_0x56569a._0x349545,_0x56569a._0x3efed0,0x148,0x24f)]);if(_0xc2689e)return _0xc2689e;const _0x34afe5=await findPathBinary(_0x33b524,_0x5a5969[_0x82b327(0x5a5,_0x56569a._0x532542,0x589,0x516)]);function _0x82b327(_0x490104,_0x31ea44,_0x5d861f,_0x1ab1a7){return _0xab9513(_0x490104-_0x48daae._0x20b8b5,_0x31ea44-0x177,_0x5d861f-0x17e,_0x1ab1a7);}if(_0x34afe5)return _0x34afe5;const _0x2760e8=_0x5a5969[_0x2b0efd(_0x56569a._0x349de3,_0x56569a._0x466651,0x55b,0x4a4)]??process[_0x82b327(0x6c7,_0x56569a._0x1bdbbd,0x786,0x6c5)];if(shouldDisableLspDownload(_0x2760e8))return void 0x0;const _0x410a4e=getLspPackageDir(_0x5a5969['packageName']);function _0x2b0efd(_0xada2e,_0x14e78a,_0x404035,_0x3a323e){return _0xab9513(_0xada2e- -0x258,_0x14e78a-0xe6,_0x404035-_0xca8a66._0x17bcf7,_0x404035);}const _0x2c86d7=_0x5a5969[_0x82b327(0x5a5,_0x56569a._0x2ba8b1,0x437,0x434)]+':'+_0x33b524;let _0x3c1739=installPromises['get'](_0x2c86d7);!_0x3c1739&&(_0x3c1739=((async()=>{const _0x4af0ed={_0x3067da:0x22b,_0x3bd5fe:0x1c0};await mkdir(_0x410a4e,{'recursive':!![]});const _0x166715=await runNpmInstall(_0x410a4e,_0x5a5969[_0x533b5b(_0x5abde8._0x4c4f84,0x3e3,_0x5abde8._0x1ca7a9,0x659)],_0x2760e8);if(!_0x166715)return void 0x0;function _0x533b5b(_0x58d5ee,_0x32e15a,_0x4f18f9,_0x33cb71){return _0x2b0efd(_0x58d5ee-_0x2ad4ca._0x3c74ff,_0x32e15a-0x5d,_0x32e15a,_0x33cb71-0xc5);}function _0x30d733(_0x4a0f64,_0x5463e7,_0x3e3575,_0x4cc06e){return _0x2b0efd(_0x4cc06e- -_0x4af0ed._0x3067da,_0x5463e7-0x1ae,_0x4a0f64,_0x4cc06e-_0x4af0ed._0x3bd5fe);}const _0x2291af=_0x2f7eef[_0x30d733(0x168,-0x145,-_0x5abde8._0x458946,0x2)](getLspBinDir(_0x5a5969[_0x30d733(_0x5abde8._0xdd8f26,_0x5abde8._0x180963,-_0x5abde8._0x3d9e6e,0x122)]),binaryNameForPlatform(_0x33b524));return await exists(_0x2291af)?_0x2291af:void 0x0;})()),installPromises[_0x82b327(_0x56569a._0x4b7023,_0x56569a._0x4da523,0x58d,0x666)](_0x2c86d7,_0x3c1739));try{return await _0x3c1739;}catch{return void 0x0;}finally{installPromises[_0x82b327(0x5de,_0x56569a._0x2b2cca,_0x56569a._0x56dc2d,0x49b)](_0x2c86d7);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0xab9513(0x55b,0x481,0x679,0x598),_0xab9513(0x58c,0x636,0x669,0x6b2),_0x32992d(0x68c,0x7b1,0x614,0x635),_0xab9513(0x46b,0x45f,0x35f,0x3a9),'.cjs','.mts',_0xab9513(0x72f,0x6c8,0x7c4,0x863)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x32992d(0x67e,0x7d7,0x622,0x700),_0x32992d(0x586,0x4bd,0x458,0x5ba)],TYPESCRIPT_ROOT_MARKERS=[_0x32992d(0x79c,0x772,0x711,0x6c2),_0x32992d(0x478,0x5e9,0x643,0x5bc),'bun.lock',_0xab9513(0x658,0x6a9,0x5cb,0x699),'yarn.lock',_0xab9513(0x692,0x658,0x77a,0x5b0),_0xab9513(0x6d7,0x794,0x7a4,0x640),_0xab9513(0x6ff,0x6a0,0x6ee,0x822)],BIOME_ROOT_MARKERS=[_0xab9513(0x62b,0x79b,0x7ae,0x77b),_0x32992d(0x627,0x5fb,0x63b,0x4ca),_0xab9513(0x6bd,0x723,0x718,0x7c1),_0xab9513(0x5b7,0x5ab,0x721,0x5ac),_0x32992d(0x593,0x492,0x508,0x45e),_0xab9513(0x658,0x678,0x5af,0x4f9),'yarn.lock','package.json'];async function exists2(_0x56a4b0){try{return await _0x3ac9f4(_0x56a4b0),!![];}catch{return![];}}async function findUp(_0x461b38,_0x4ec156){const _0x56b4b3={_0x30f2e8:0x2d7,_0x536e8a:0x262,_0x212454:0x2a1,_0x222ae7:0x35e,_0x5a00d8:0x239},_0x6570aa={_0x28a773:0x15,_0x58fa4e:0x1fd},_0x5f11be={_0x3aa534:0xd1};function _0x232407(_0x16c75d,_0x286bcc,_0x2add70,_0x4ca880){return _0xab9513(_0x2add70- -0x24c,_0x286bcc-_0x5f11be._0x3aa534,_0x2add70-0x52,_0x4ca880);}let _0x5eb1d2=_0x2167dd[_0x4c1b88(_0x56b4b3._0x30f2e8,0x432,0x27c,_0x56b4b3._0x536e8a)](_0x461b38);const _0x24113d=_0x2167dd[_0x4c1b88(0x382,0x228,_0x56b4b3._0x212454,0x4bc)](_0x5eb1d2);function _0x4c1b88(_0x59d133,_0xbd7d85,_0x2aa1d6,_0x41e712){return _0x32992d(_0x59d133-0x2b,_0xbd7d85,_0x2aa1d6-_0x6570aa._0x28a773,_0x59d133- -_0x6570aa._0x58fa4e);}if(_0x24113d)_0x5eb1d2=_0x2167dd[_0x232407(_0x56b4b3._0x222ae7,0x37c,0x24b,0x33c)](_0x5eb1d2);while(!![]){for(const _0x3838f9 of _0x4ec156){if(await exists2(_0x2167dd[_0x232407(0x2f2,0x1de,_0x56b4b3._0x5a00d8,0x229)](_0x5eb1d2,_0x3838f9)))return _0x5eb1d2;}const _0x2ee92e=_0x2167dd['dirname'](_0x5eb1d2);if(_0x2ee92e===_0x5eb1d2)return void 0x0;_0x5eb1d2=_0x2ee92e;}}async function hasDenoRoot(_0x125b40){const _0x5dd1b8={_0x28c41a:0x116,_0x24b7fe:0x74,_0x21ffe6:0x15,_0x50c62f:0x4ce,_0x2c9e30:0x198,_0x4c0f9a:0x2d5,_0x49a8d4:0x3be,_0x53497a:0x409},_0x35322d={_0x3c55d5:0x1b0,_0x2ce318:0x149,_0x580f06:0xfc},_0x3beaa1={_0x41ae1d:0x304,_0x3856c4:0x13a,_0x199850:0x1b4};function _0xcd4762(_0x1eb9be,_0x571287,_0x9d56c0,_0xd77e3d){return _0xab9513(_0x9d56c0- -_0x3beaa1._0x41ae1d,_0x571287-_0x3beaa1._0x3856c4,_0x9d56c0-_0x3beaa1._0x199850,_0xd77e3d);}function _0x12a3fc(_0x1e3bf2,_0x12852c,_0x43bc9d,_0x331f4d){return _0xab9513(_0x43bc9d- -_0x35322d._0x3c55d5,_0x12852c-_0x35322d._0x2ce318,_0x43bc9d-_0x35322d._0x580f06,_0x331f4d);}return await exists2(_0x2167dd[_0xcd4762(_0x5dd1b8._0x28c41a,_0x5dd1b8._0x24b7fe,0x181,_0x5dd1b8._0x21ffe6)](_0x125b40,_0x12a3fc(0x47a,0x5ce,_0x5dd1b8._0x50c62f,0x615)))||await exists2(_0x2167dd[_0x12a3fc(_0x5dd1b8._0x2c9e30,0x216,_0x5dd1b8._0x4c0f9a,_0x5dd1b8._0x49a8d4)](_0x125b40,_0x12a3fc(0x2f5,_0x5dd1b8._0x53497a,0x2db,0x192)));}async function resolveTsserverPath(_0x4bd4cc){const _0x193486={_0x3b5f62:0x3fb,_0xc25d5c:0x30a,_0x4bbf29:0x3bf,_0x40d00a:0x25a,_0x21734b:0x5ca,_0x337f12:0x701,_0x2f1036:0x624,_0x512caf:0x29b,_0x2cd4de:0x3d4,_0x429559:0x6db,_0x53e16d:0x668,_0x1843d1:0x471,_0x4eea74:0x593,_0x2d8311:0x6e4,_0x1d831f:0x401,_0x42e178:0x50c,_0x36bb13:0x321,_0x309800:0x418,_0x4a0988:0x695,_0x649130:0x450,_0x209095:0x581,_0x2e5b94:0x457,_0x1cf59c:0x549,_0x2bacaf:0x616,_0x2ebe69:0x5bf,_0x3d3caf:0x2f0,_0x41bb08:0x4ff},_0xe46843={_0x8d916b:0x110,_0x5961cb:0x1ba},_0x4a9b95={_0x2faef2:0xfc};let _0x275d4a=_0x2167dd[_0x32beac(0x4e6,_0x193486._0x3b5f62,_0x193486._0xc25d5c,_0x193486._0x4bbf29)](_0x4bd4cc);while(!![]){const _0x37d690=_0x2167dd[_0x32beac(0x390,_0x193486._0x40d00a,0x26a,0x375)](_0x275d4a,'node_modules',_0x5668c7(_0x193486._0x21734b,_0x193486._0x337f12,_0x193486._0x2f1036,0x70e),_0x32beac(0x30f,_0x193486._0x512caf,0x3c4,_0x193486._0x2cd4de),_0x5668c7(_0x193486._0x429559,0x59b,0x5f5,_0x193486._0x53e16d));if(await exists2(_0x37d690))return _0x37d690;const _0x4190b2=_0x2167dd[_0x5668c7(_0x193486._0x1843d1,0x615,_0x193486._0x4eea74,_0x193486._0x2d8311)](_0x275d4a);if(_0x4190b2===_0x275d4a)break;_0x275d4a=_0x4190b2;}const _0x1ce8b3=getLspPackageDir('typescript'),_0x33905e=await resolvePackageBinary({'packageName':_0x32beac(_0x193486._0x1d831f,_0x193486._0x42e178,_0x193486._0x36bb13,_0x193486._0x309800),'binaryName':_0x5668c7(0x658,0x495,0x5ec,_0x193486._0x4a0988),'startDir':_0x4bd4cc});function _0x5668c7(_0x582cff,_0x2ecd11,_0x388267,_0x2cee4a){return _0xab9513(_0x388267-_0x4a9b95._0x2faef2,_0x2ecd11-0x115,_0x388267-0x16,_0x582cff);}if(!_0x33905e)return void 0x0;function _0x32beac(_0xe421c9,_0x59e495,_0x47d58b,_0x214372){return _0xab9513(_0x214372- -_0xe46843._0x8d916b,_0x59e495-_0xe46843._0x5961cb,_0x47d58b-0xbf,_0x59e495);}const _0x573a18=_0x2167dd[_0x5668c7(0x6a5,_0x193486._0x649130,_0x193486._0x209095,_0x193486._0x2e5b94)](_0x1ce8b3,_0x5668c7(_0x193486._0x1cf59c,0x66d,0x6cc,0x6d8),_0x5668c7(0x561,_0x193486._0x2bacaf,_0x193486._0x2f1036,_0x193486._0x2ebe69),_0x32beac(0x409,_0x193486._0x3d3caf,_0x193486._0x41bb08,_0x193486._0x2cd4de),'tsserver.js');return await exists2(_0x573a18)?_0x573a18:void 0x0;}var TypeScriptServer={'id':'typescript','name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x40032b){const _0x4c6b3e=await findUp(_0x40032b,TYPESCRIPT_ROOT_MARKERS);if(!_0x4c6b3e)return void 0x0;return await hasDenoRoot(_0x4c6b3e)?void 0x0:_0x4c6b3e;},async 'spawn'(_0x4981a8){const _0x11cf97={_0x186055:0x618,_0x2e0d96:0x487,_0x134336:0x587,_0x567ce8:0x155,_0x301112:0xed,_0x34aa6d:0x29b,_0x4c4777:0x1f0},_0x2c9853={_0x22c13c:0x601},_0x49b8e6={_0x273009:0x157},_0x53b5e2=await resolveTsserverPath(_0x4981a8);if(!_0x53b5e2)return void 0x0;const _0x12a603=await resolvePackageBinary({'packageName':_0x461d0b(0x50e,_0x11cf97._0x186055,_0x11cf97._0x2e0d96,0x551),'binaryName':_0x461d0b(0x52c,_0x11cf97._0x134336,0x5fe,0x551),'startDir':_0x4981a8});function _0x461d0b(_0x35d0e2,_0x34d612,_0x4314f3,_0x17bda6){return _0x32992d(_0x35d0e2-0xea,_0x34d612,_0x4314f3-_0x49b8e6._0x273009,_0x17bda6- -0x1c3);}function _0x4c8dec(_0x3a640e,_0x3768d0,_0x409f68,_0x3abba8){return _0xab9513(_0x3a640e- -_0x2c9853._0x22c13c,_0x3768d0-0xba,_0x409f68-0x10b,_0x3768d0);}if(!_0x12a603)return void 0x0;return{'process':_0x4adff0(_0x12a603,[_0x4c8dec(-0xdc,-_0x11cf97._0x567ce8,-0xcc,0x6b)],{'cwd':_0x4981a8,'stdio':_0x4c8dec(-0x172,-_0x11cf97._0x301112,-_0x11cf97._0x34aa6d,-_0x11cf97._0x4c4777)}),'initialization':{'tsserver':{'path':_0x53b5e2}}};}},BiomeServer={'id':_0xab9513(0x625,0x583,0x54f,0x7a9),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x3fb3e7){return findUp(_0x3fb3e7,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2a81d2){const _0x3ae499={_0x4b94af:0xe,_0x29122d:0x90,_0x506c03:0x12b,_0xeb9fe3:0x1b4,_0xe664c9:0x115,_0x5defa6:0x4a7,_0x4eb57e:0x83,_0x14678c:0xf2,_0x943c7e:0x15b,_0x4d0f19:0x305},_0x3527e1={_0x4666d4:0x617},_0x5a5032={_0x28de16:0x1c0,_0x3b1db9:0x1ce};function _0x5d9f11(_0xe24558,_0x334f8b,_0x51c068,_0x55a8ae){return _0xab9513(_0xe24558- -_0x5a5032._0x28de16,_0x334f8b-_0x5a5032._0x3b1db9,_0x51c068-0x56,_0x334f8b);}function _0xe543b(_0x53aa24,_0x14bfd2,_0xcd6392,_0x2d1e08){return _0xab9513(_0x14bfd2- -_0x3527e1._0x4666d4,_0x14bfd2-0xa6,_0xcd6392-0x2d,_0x53aa24);}const _0x2a3209=await findPackageBinary(_0xe543b(0x17c,_0x3ae499._0x4b94af,_0x3ae499._0x29122d,_0x3ae499._0x506c03),_0x2a81d2)??await resolvePackageBinary({'packageName':_0xe543b(0x5d,0x59,_0x3ae499._0xeb9fe3,_0x3ae499._0xe664c9),'binaryName':_0x5d9f11(0x465,0x354,0x4b8,_0x3ae499._0x5defa6),'startDir':_0x2a81d2});if(!_0x2a3209)return void 0x0;return{'process':_0x4adff0(_0x2a3209,[_0xe543b(-_0x3ae499._0x4eb57e,-0xb8,-0x125,0xd),_0xe543b(-0x19c,-_0x3ae499._0x14678c,-_0x3ae499._0x943c7e,-0xb2)],{'cwd':_0x2a81d2,'stdio':_0x5d9f11(0x2cf,_0x3ae499._0x4d0f19,0x3b6,0x354)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x485c62){const _0x2aeb6f={_0x2d0e8f:0x2bf,_0x9c6735:0x2cf,_0x5a4d83:0x3f9,_0x21089f:0x14d,_0x11f165:0x2ab},_0x57d136={_0x54bc4f:0x15,_0x3b0aa7:0x170,_0x1ca709:0x1b6},_0x767b22={_0x56c19:0x127},_0x5ab152=_0x2167dd[_0xf9050a(0x33c,0x2d1,_0x2aeb6f._0x2d0e8f,_0x2aeb6f._0x9c6735)](_0x485c62)[_0xf9050a(0x2d6,_0x2aeb6f._0x5a4d83,_0x2aeb6f._0x21089f,_0x2aeb6f._0x11f165)]();function _0xf9050a(_0x12b39e,_0x23a087,_0x313ec6,_0x3be203){return _0xab9513(_0x3be203- -0x2ab,_0x23a087-0xaa,_0x313ec6-_0x767b22._0x56c19,_0x313ec6);}function _0x2ab791(_0x3e3c43,_0x58debd,_0x54dfd9,_0x187691){return _0xab9513(_0x3e3c43- -_0x57d136._0x54bc4f,_0x58debd-_0x57d136._0x3b0aa7,_0x54dfd9-_0x57d136._0x1ca709,_0x58debd);}return BUILTIN_LSP_SERVERS['filter'](_0x1994e3=>_0x1994e3['extensions'][_0xf9050a(0x39a,0x51d,0x372,0x482)](_0x5ab152));}function stateKey(_0x485946,_0x313a65){return _0x313a65+':'+_0x485946['id'];}function diagnosticsKeyToPath(_0x2a63c9){const _0x3bf8ad={_0x403df9:0x188,_0x39df98:0x1ed,_0x52c51d:0x27e},_0x48890a={_0x5b10e5:0xf2};function _0x266ea9(_0x20486d,_0xe861f1,_0x463cbb,_0x5b67be){return _0x32992d(_0x20486d-_0x48890a._0x5b10e5,_0x20486d,_0x463cbb-0x36,_0x5b67be- -0x274);}if(!_0x2a63c9['startsWith'](_0x266ea9(_0x3bf8ad._0x403df9,0x3e4,_0x3bf8ad._0x39df98,_0x3bf8ad._0x52c51d)))return _0x2a63c9;return fileURLToPath(_0x2a63c9);}function nextFileVersion(_0xf54f31,_0x2e0c15){const _0x2aca30={_0x3065cd:0x442,_0x48cbda:0x2c3,_0x1a0d07:0x4b8,_0x5bda1c:0x55d,_0x2fa4e0:0x77c,_0x579b76:0x61c},_0xb3c42d={_0x223772:0x199,_0x2e4386:0x125},_0x163273={_0x245f7c:0xb8,_0x187a21:0x92},_0x5b8fec=(_0xf54f31[_0x40497d(0x405,_0x2aca30._0x3065cd,0x539,_0x2aca30._0x48cbda)][_0x23ef60(0x3db,_0x2aca30._0x1a0d07,_0x2aca30._0x5bda1c,0x65c)](_0x2e0c15)??0x1)+0x1;_0xf54f31[_0x23ef60(_0x2aca30._0x2fa4e0,_0x2aca30._0x579b76,0x71a,0x653)]['set'](_0x2e0c15,_0x5b8fec);function _0x23ef60(_0x340b3e,_0xcafe3c,_0x8b9cea,_0x2507c4){return _0x32992d(_0x340b3e-_0x163273._0x245f7c,_0xcafe3c,_0x8b9cea-0x1c7,_0x8b9cea-_0x163273._0x187a21);}function _0x40497d(_0x90c8e2,_0x4c067f,_0x35eac8,_0x42e9fc){return _0xab9513(_0x4c067f- -0x241,_0x4c067f-_0xb3c42d._0x223772,_0x35eac8-_0xb3c42d._0x2e4386,_0x90c8e2);}return _0x5b8fec;}async function collectClientResults(_0x9e8d88){const _0x5b262d={_0x696e8b:0x83c,_0x516e36:0x6cd},_0x3cd0e3={_0x2b37cc:0xcc};function _0x20815c(_0x5e5dbd,_0x146a8d,_0x518702,_0x4b4121){return _0xab9513(_0x4b4121-_0x3cd0e3._0x2b37cc,_0x146a8d-0x48,_0x518702-0x1bc,_0x146a8d);}function _0x579b05(_0x5207cc,_0x5b5d7a,_0x59e119,_0xcfc685){return _0xab9513(_0xcfc685-0xda,_0x5b5d7a-0xc0,_0x59e119-0x1dc,_0x5b5d7a);}const _0x54810a=await Promise[_0x579b05(0x69d,0x694,0x7f5,0x769)](_0x9e8d88);return _0x54810a[_0x20815c(_0x5b262d._0x696e8b,0x751,0x6f7,_0x5b262d._0x516e36)](_0x5c908b=>_0x5c908b[_0x20815c(0x5e2,0x5f8,0x62f,0x74b)]===_0x579b05(0x4ff,0x759,0x6ee,0x64f)?_0x5c908b['value']:[]);}function createLspService(_0x13cf2c={}){const _0x5706e5={_0x59c237:0x467,_0x57d138:0x42b,_0x55044d:0x21f,_0x308170:0x25c,_0x594d2f:0x303,_0x5d78b9:0x39c,_0xe2f712:0x2f8,_0x5e346f:0x3e6,_0x1b2471:0x3d2,_0x5a2267:0x554,_0x32cdcd:0x12,_0x125c36:0x13d,_0x27f9f3:0x4b6,_0x203b24:0x44a,_0x3666cb:0x1c2,_0x52378e:0x64,_0xb9b9e:0xe0},_0x75e3a8={_0x47147c:0x2aa,_0x4ff766:0xa4},_0x4d40fb={_0x1b934f:0x57c},_0x542678={_0x225840:0x136},_0x480cd8={_0x50069f:0xdf},_0x7dbae3={_0x28e85e:0x78f,_0x203d55:0x6dc,_0x1ed33a:0x6b0,_0xcbd45a:0x1b9,_0x199937:0x70},_0xb0ccc9={_0x46f8e4:0x124,_0xdc97b:0x1a5,_0x1dd03c:0x115},_0x16ffea={_0x226a1c:0x1f2},_0x84927b={_0x12274f:0x79,_0x57b770:0x56},_0x386fb1={_0x30573f:0x6c2,_0x10d6b5:0x769,_0x451cad:0x62a,_0x529346:0x571,_0x59b1f0:0x743,_0x308c36:0x634,_0xc72002:0x616},_0x11d9f7={_0x25df15:0x68},_0x713f49={_0x44007e:0xf8,_0x25dc1b:0x19c,_0x5e692b:0x6d},_0x1dde60={_0x7a770c:0x126,_0x54c108:0x8b},_0x132a20={_0x3a4a2c:0x17d,_0x38cdc2:0x96},_0x4c8a08={_0x3f9a05:0xea},_0x5b8e4f={_0x294ffc:0x4b4,_0x5aa975:0x54e,_0x46d4b7:0x60d,_0x2cf0e0:0x73a},_0x3b8a99={_0x3ca9e6:0x1b2},_0x15d59e={_0x3533bf:0xeb},_0x18cb6f={_0x121ce9:0x2a6,_0x28bdee:0x518,_0x577b0b:0x479,_0x148f6b:0x3f2,_0x4c2b04:0x53b,_0x44e45d:0x3ff},_0x4b458e={_0x4f2ca5:0x5b},_0x11d336={_0x1d1441:0x807,_0x2df687:0x634},_0x2e8779={_0x3a7071:0x397,_0x4695c3:0x6},_0x46b9a4={_0x576f7a:0x1f4},_0x11447d={_0x3109f5:0x3b,_0x529836:0xed},_0x102a56={_0x5a713b:0x1de,_0x5e6a2d:0xcd,_0x571c3c:0x156,_0x28b577:0x1e8},_0xb29c23={_0x2cb1da:0x4aa,_0x3de509:0x447,_0xc2ba91:0x32b,_0x52c685:0x5dd,_0x530779:0x631,_0x117091:0x4aa,_0x3d8fc0:0x58e,_0x2d1262:0x5f7,_0x33cc87:0x355,_0x234ab4:0x46a,_0x27c223:0x501,_0xeeac9b:0x479,_0x51f7ca:0x74b,_0x4f940a:0x764,_0x26ed78:0x6a3,_0x1bea4e:0x680,_0x5d889d:0x55f,_0x23b8bc:0x653,_0x354a2b:0x626,_0x32123e:0x61f},_0x2ca7ae={_0x38f644:0x11},_0x4c271d={_0x1e422d:0x48b,_0x251c17:0x3fc,_0x42915a:0x29e},_0x4c50e1={_0x218736:0x275,_0x3bf785:0x119,_0x4db59e:0x1a7},_0x38d45b={_0x2c43fc:0x48a,_0x4196b9:0x34b,_0x8c9c99:0x4cc},_0x3e332a={_0x542d4e:0x105,_0x192bc4:0x16e,_0xc9739a:0x15f},_0x58a0e0={_0x3a6266:0x170,_0x284a66:0x184},_0x4e5ee1={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]};function _0x11f874(_0x2c78a6,_0x33c087,_0x235153,_0x4e74a8){return _0x32992d(_0x2c78a6-0x3,_0x2c78a6,_0x235153-0x150,_0x33c087- -0x3de);}const _0x339d1c=()=>_0x13cf2c[_0x11f874(0x3cf,0x33a,0x2d7,0x46e)]!==![];async function _0x4947f7(_0x394f1f,_0x3e48d3){const _0x27c1de={_0x21a4ea:0xa,_0x50752d:0x16,_0x234971:0x251,_0x5e21c6:0x75,_0x12813b:0xaf,_0x3bfb82:0x153,_0x376059:0x36,_0x226192:0x168,_0x325cee:0x1e9,_0x21bf34:0x1,_0x5088cb:0x137,_0x54e89d:0x9b,_0x54477a:0x1d,_0x277959:0x19e,_0x1c2eb6:0x1d3,_0x5ea80c:0xea,_0x482e80:0x1f4},_0x5118c0={_0x19ca92:0x128},_0x3eae9f={_0x33f571:0x72,_0x2e5a1d:0x3f4},_0x446efa=stateKey(_0x394f1f,_0x3e48d3),_0x4e45c3=_0x4e5ee1['clients'][_0x2ed667(0x30d,0x21b,0x2af,0x3bd)](_0x3699aa=>_0x3699aa[_0x2ed667(0x39d,0x4ac,0x40d,0x3bc)]===_0x394f1f['id']&&_0x3699aa[_0x2ed667(0x5d1,0x3d4,0x457,0x476)]===_0x3e48d3);if(_0x4e45c3)return _0x4e45c3;if(_0x4e5ee1['broken'][_0x2ed667(_0x38d45b._0x2c43fc,_0x38d45b._0x4196b9,0x431,0x2b2)](_0x446efa))return void 0x0;const _0x3a922a=_0x4e5ee1[_0x2c8ec4(0x591,0x456,0x482,0x456)][_0x2c8ec4(0x231,0x2dc,0x1cc,0x1d0)](_0x446efa);if(_0x3a922a)return _0x3a922a;function _0x2c8ec4(_0xc082f2,_0x420452,_0x489851,_0xe4052a){return _0x11f874(_0x489851,_0xe4052a-0xe3,_0x489851-_0x58a0e0._0x3a6266,_0xe4052a-_0x58a0e0._0x284a66);}const _0xffe28b=((async()=>{function _0x2dab91(_0x1caaa5,_0x413e03,_0xa21d9b,_0x3c0f78){return _0x2ed667(_0x1caaa5-_0x3eae9f._0x33f571,_0x413e03-0x1eb,_0x413e03- -_0x3eae9f._0x2e5a1d,_0x1caaa5);}function _0x422314(_0x4fc7fe,_0xd02f49,_0x496ae6,_0x78af27){return _0x2c8ec4(_0x4fc7fe-_0x5118c0._0x19ca92,_0xd02f49-0x152,_0x78af27,_0x496ae6- -0x283);}try{const _0x8cb65d=await _0x394f1f[_0x422314(0x16f,_0x27c1de._0x21a4ea,_0x27c1de._0x50752d,-0x157)](_0x3e48d3);if(!_0x8cb65d)return _0x4e5ee1[_0x2dab91(-0x34c,-0x1ea,-_0x27c1de._0x234971,-0x145)]['add'](_0x446efa),void 0x0;const _0x57c668=await createLspClient({'server':_0x394f1f,'root':_0x3e48d3,'handle':_0x8cb65d}),_0x4b8584=_0x4e5ee1[_0x422314(_0x27c1de._0x5e21c6,0x28f,0x162,0x18d)][_0x422314(0x8,_0x27c1de._0x12813b,0xa,-_0x27c1de._0x3bfb82)](_0x4a5fcc=>_0x4a5fcc[_0x2dab91(-0x54,0x19,0xc7,0x6b)]===_0x394f1f['id']&&_0x4a5fcc['root']===_0x3e48d3);if(_0x4b8584)return await _0x57c668[_0x422314(0x65,_0x27c1de._0x376059,0x167,0x189)](),_0x4b8584;return _0x4e5ee1[_0x422314(0x269,0x2a6,0x162,0x17a)][_0x2dab91(-0x15c,-_0x27c1de._0x226192,-_0x27c1de._0x325cee,-_0x27c1de._0x21bf34)](_0x57c668),_0x57c668;}catch{return _0x4e5ee1[_0x422314(-0x5,-_0x27c1de._0x5088cb,-_0x27c1de._0x54e89d,-0x69)][_0x422314(_0x27c1de._0x54477a,0xe1,-0x55,-0x1b9)](_0x446efa),void 0x0;}finally{_0x4e5ee1[_0x422314(_0x27c1de._0x277959,0x26b,_0x27c1de._0x1c2eb6,0x155)][_0x2dab91(-0x1b4,-_0x27c1de._0x5ea80c,-_0x27c1de._0x482e80,-0x1a8)](_0x446efa);}})());_0x4e5ee1['spawning'][_0x2ed667(0x467,_0x38d45b._0x8c9c99,0x3d5,0x4ae)](_0x446efa,_0xffe28b);function _0x2ed667(_0x1e06c6,_0x41db94,_0x1c12e7,_0x2828b1){return _0x11f874(_0x2828b1,_0x1c12e7-_0x3e332a._0x542d4e,_0x1c12e7-_0x3e332a._0x192bc4,_0x2828b1-_0x3e332a._0xc9739a);}return _0xffe28b;}async function _0x4af18a(_0x3d4918,_0xde550){const _0x560394={_0x369998:0x12d};function _0xbd2285(_0x27300f,_0x4d1d36,_0x5a2a87,_0x240ee9){return _0x11f874(_0x4d1d36,_0x240ee9- -0x2bd,_0x5a2a87-0x7b,_0x240ee9-_0x560394._0x369998);}function _0x1d9e1e(_0x1bfe16,_0x2101d8,_0x1b86c1,_0x135173){return _0x11f874(_0x1bfe16,_0x1b86c1-_0x4c50e1._0x218736,_0x1b86c1-_0x4c50e1._0x3bf785,_0x135173-_0x4c50e1._0x4db59e);}if(!_0x339d1c())return[];const _0x179cdb=[];for(const _0x419f0d of getServersForFile(_0x3d4918)){const _0x253846=await _0x419f0d['root'](_0x3d4918);if(!_0x253846)continue;const _0x12d77e=stateKey(_0x419f0d,_0x253846);if(_0x4e5ee1['broken']['has'](_0x12d77e))continue;const _0x4b6928=_0x4e5ee1['clients']['find'](_0x521e9c=>_0x521e9c[_0x1d9e1e(0x450,0x6cd,0x57d,0x656)]===_0x419f0d['id']&&_0x521e9c[_0x1d9e1e(0x49c,0x47a,0x5c7,0x6b0)]===_0x253846);if(_0x4b6928){_0x179cdb[_0x1d9e1e(_0x4c271d._0x1e422d,0x4ac,_0x4c271d._0x251c17,_0x4c271d._0x42915a)](_0x4b6928);continue;}if(!_0xde550)continue;const _0x20182c=await _0x4947f7(_0x419f0d,_0x253846);if(_0x20182c)_0x179cdb['push'](_0x20182c);}return _0x179cdb;}async function _0x5c2f23(_0x44b91b,_0x3d2bd8=![]){const _0x3c15c2={_0xfcddf3:0x38c};function _0x5c5ae0(_0x271e29,_0x34fe4f,_0x5531db,_0x5693e1){return _0x11f874(_0x271e29,_0x5531db- -0xc8,_0x5531db-_0x2ca7ae._0x38f644,_0x5693e1-0x3);}function _0x1e589b(_0x139caa,_0x2de423,_0x5a4d39,_0x569185){return _0x11f874(_0x569185,_0x5a4d39-_0x3c15c2._0xfcddf3,_0x5a4d39-0x28,_0x569185-0xc4);}const _0x29ae86=await _0x4af18a(_0x44b91b,!![]);await Promise[_0x5c5ae0(_0x102a56._0x5a713b,0x108,_0x102a56._0x5e6a2d,0x1bf)](_0x29ae86[_0x5c5ae0(0x198,0x43,_0x102a56._0x571c3c,_0x102a56._0x28b577)](async _0x36dc00=>{function _0x50ee87(_0xe883ad,_0x36cca8,_0x242233,_0x103126){return _0x5c5ae0(_0x36cca8,_0x36cca8-0x1a8,_0x103126-0x3f6,_0x103126-0x7a);}!_0x4e5ee1[_0x3195f4(_0xb29c23._0x2cb1da,0x437,_0xb29c23._0x3de509,_0xb29c23._0xc2ba91)]['has'](_0x36dc00['serverId']+':'+_0x36dc00['root']+':'+_0x44b91b)&&(await _0x36dc00[_0x3195f4(_0xb29c23._0x52c685,0x488,0x561,_0xb29c23._0x530779)]['open']({'path':_0x44b91b}),_0x4e5ee1[_0x3195f4(_0xb29c23._0x117091,_0xb29c23._0x3d8fc0,_0xb29c23._0x2d1262,_0xb29c23._0x33cc87)][_0x50ee87(0x419,_0xb29c23._0x234ab4,_0xb29c23._0x27c223,_0xb29c23._0xeeac9b)](_0x36dc00[_0x50ee87(0x79f,0x72b,0x604,0x636)]+':'+_0x36dc00[_0x50ee87(_0xb29c23._0x51f7ca,_0xb29c23._0x4f940a,_0xb29c23._0x26ed78,_0xb29c23._0x1bea4e)]+':'+_0x44b91b));await _0x36dc00[_0x3195f4(0x5dd,_0xb29c23._0x5d889d,_0xb29c23._0x23b8bc,0x507)]['change']({'path':_0x44b91b,'version':nextFileVersion(_0x4e5ee1,_0x44b91b)});function _0x3195f4(_0x20742b,_0x1b5479,_0x59c3e5,_0x80a0f5){return _0x5c5ae0(_0x80a0f5,_0x1b5479-0x164,_0x20742b-0x3d2,_0x80a0f5-0x6f);}if(_0x3d2bd8)await _0x36dc00[_0x50ee87(_0xb29c23._0x354a2b,0x559,_0xb29c23._0x32123e,0x560)]({'path':_0x44b91b});}));}async function _0x1f0457(_0x160d04){function _0x2b80aa(_0x6f5e30,_0x14470f,_0x4a7f37,_0x3b25fa){return _0x11f874(_0x3b25fa,_0x4a7f37-_0x11447d._0x3109f5,_0x4a7f37-_0x11447d._0x529836,_0x3b25fa-0xdd);}return await _0x5c2f23(_0x160d04[_0x2b80aa(0x1cc,0x109,_0x46b9a4._0x576f7a,0x2df)],![]),_0x4af18a(_0x160d04['file'],![]);}async function _0x1d4d00(_0x592789){function _0x45ef72(_0x50b138,_0xea211,_0x2efe7b,_0x218f54){return _0x11f874(_0x50b138,_0x2efe7b-_0x2e8779._0x3a7071,_0x2efe7b-_0x2e8779._0x4695c3,_0x218f54-0x12);}function _0x11d644(_0x15ca44,_0x22fd70,_0x4c5729,_0x4e5baa){return _0x11f874(_0x22fd70,_0x15ca44-0x470,_0x4c5729-0x12e,_0x4e5baa-0x12e);}const _0x1de7a9=await _0x1f0457(_0x592789);return collectClientResults(_0x1de7a9[_0x11d644(0x68e,_0x11d336._0x1d1441,_0x11d336._0x2df687,0x788)](_0x5af70c=>_0x5af70c['request'][_0x11d644(0x5a3,0x6fe,0x48f,0x51f)](_0x592789)));}return{'isEnabled':_0x339d1c,async 'hasClients'(_0x24b29c){function _0x3ce7da(_0x59c919,_0x5f18dc,_0x2bd587,_0x2dc459){return _0x11f874(_0x2bd587,_0x5f18dc-0x1ef,_0x2bd587-_0x4b458e._0x4f2ca5,_0x2dc459-0x6a);}function _0x5dcc1a(_0x1be36e,_0x1fc4b0,_0x20e973,_0x595b87){return _0x11f874(_0x1be36e,_0x20e973-0x191,_0x20e973-0x139,_0x595b87-0x16);}return(await _0x4af18a(_0x24b29c,![]))[_0x3ce7da(_0x18cb6f._0x121ce9,0x3f2,_0x18cb6f._0x28bdee,0x273)]>0x0||getServersForFile(_0x24b29c)[_0x3ce7da(_0x18cb6f._0x577b0b,_0x18cb6f._0x148f6b,_0x18cb6f._0x4c2b04,_0x18cb6f._0x44e45d)]>0x0;},'touchFile':_0x5c2f23,async 'diagnostics'(){const _0x3704e0={};function _0x50aec6(_0x44bfaa,_0x2b8446,_0x4d0db5,_0x2a369d){return _0x11f874(_0x2b8446,_0x4d0db5-0x2a8,_0x4d0db5-_0x15d59e._0x3533bf,_0x2a369d-0x10a);}function _0x5ebca4(_0x367b20,_0x2f0b69,_0xa2eb28,_0x256bcf){return _0x11f874(_0x256bcf,_0x2f0b69-_0x3b8a99._0x3ca9e6,_0xa2eb28-0x139,_0x256bcf-0x90);}for(const _0x1708c5 of _0x4e5ee1[_0x5ebca4(0x4b9,_0x5b8e4f._0x294ffc,0x3ab,0x589)]){for(const [_0x1c4f4a,_0x612e97]of _0x1708c5[_0x50aec6(_0x5b8e4f._0x5aa975,0x656,_0x5b8e4f._0x46d4b7,_0x5b8e4f._0x2cf0e0)]){_0x3704e0[diagnosticsKeyToPath(_0x1c4f4a)]=_0x612e97;}}return _0x3704e0;},async 'diagnosticsForFile'(_0x1ec3de){const _0x4c7a1a={_0x558105:0xec};await _0x5c2f23(_0x1ec3de,!![]);const _0xa08177=[];function _0x1a9844(_0x221ec4,_0x3ba646,_0x892c60,_0x36b101){return _0x11f874(_0x892c60,_0x221ec4- -0x276,_0x892c60-0xc,_0x36b101-_0x4c7a1a._0x558105);}for(const _0x3001ec of await _0x4af18a(_0x1ec3de,![])){for(const [_0x287429,_0x2a673d]of _0x3001ec[_0x1a9844(0xef,0x112,0x26f,_0x4c8a08._0x3f9a05)]){if(diagnosticsKeyToPath(_0x287429)===_0x1ec3de)_0xa08177['push'](..._0x2a673d);}}return _0xa08177;},async 'definition'(_0x258152){function _0x6d6dbd(_0x24b44d,_0x13eb23,_0xd478fa,_0xd506f3){return _0x11f874(_0xd478fa,_0xd506f3- -0x2b9,_0xd478fa-_0x132a20._0x3a4a2c,_0xd506f3-_0x132a20._0x38cdc2);}function _0x183072(_0x2e63b9,_0x4e5868,_0x53eef0,_0x4f86ce){return _0x11f874(_0x4e5868,_0x2e63b9- -_0x1dde60._0x7a770c,_0x53eef0-0x10,_0x4f86ce-_0x1dde60._0x54c108);}return collectClientResults((await _0x1f0457(_0x258152))[_0x183072(_0x713f49._0x44007e,_0x713f49._0x25dc1b,-0xe,_0x713f49._0x5e692b)](_0x1bbd57=>_0x1bbd57[_0x183072(0x204,0x285,0x1db,0x322)]['definition'](_0x258152)));},async 'references'(_0x1df962){function _0x4690ca(_0x483f6a,_0x341d33,_0xf36e73,_0x1132a2){return _0x11f874(_0x483f6a,_0x1132a2-0x41e,_0xf36e73-_0x11d9f7._0x25df15,_0x1132a2-0x164);}return collectClientResults((await _0x1f0457(_0x1df962))['map'](_0x3b2844=>_0x3b2844['request'][_0x4690ca(0x3a7,0x64a,0x3df,0x4d5)](_0x1df962)));},async 'hover'(_0x313679){const _0x173224={_0x8392d1:0x161,_0x44af81:0x1ef};function _0x4b6aeb(_0x364353,_0x3d4c23,_0x44111a,_0x428394){return _0x11f874(_0x44111a,_0x364353-0x40c,_0x44111a-_0x173224._0x8392d1,_0x428394-_0x173224._0x44af81);}function _0x17df12(_0x55cb39,_0x2579ce,_0x1eb698,_0x1dd4a0){return _0x11f874(_0x2579ce,_0x1dd4a0-0xc7,_0x1eb698-0xe4,_0x1dd4a0-0x7a);}const _0xd1fc21=await Promise[_0x4b6aeb(_0x386fb1._0x30573f,_0x386fb1._0x10d6b5,0x7e7,0x70b)]((await _0x1f0457(_0x313679))[_0x4b6aeb(_0x386fb1._0x451cad,0x4ea,_0x386fb1._0x529346,_0x386fb1._0x59b1f0)](_0x563242=>_0x563242['request'][_0x17df12(0x2a2,0x2a6,0x40e,0x33f)](_0x313679)));return _0xd1fc21[_0x4b6aeb(_0x386fb1._0x308c36,_0x386fb1._0xc72002,0x4cf,0x6f3)](_0x593118=>_0x593118[_0x17df12(0x3e6,0x2cc,0x3a6,0x36d)]==='fulfilled'&&_0x593118[_0x17df12(0x7e,0xec,0xcc,0x1d1)]?[_0x593118[_0x4b6aeb(0x516,0x596,0x42a,0x589)]]:[]);},async 'documentSymbol'(_0x215688){await _0x5c2f23(_0x215688,![]);function _0xdfd4c2(_0x17b0f2,_0xa3720b,_0x10e90d,_0x4ce751){return _0x11f874(_0x4ce751,_0xa3720b- -_0x84927b._0x12274f,_0x10e90d-_0x84927b._0x57b770,_0x4ce751-0xc7);}function _0x4a2cf4(_0x54d363,_0x186d53,_0x15b6e1,_0x4de31d){return _0x11f874(_0x186d53,_0x4de31d-_0x16ffea._0x226a1c,_0x15b6e1-0xc,_0x4de31d-0xf3);}return collectClientResults((await _0x4af18a(_0x215688,![]))[_0xdfd4c2(_0xb0ccc9._0x46f8e4,_0xb0ccc9._0xdc97b,_0xb0ccc9._0x1dd03c,0x247)](_0x551148=>_0x551148[_0xdfd4c2(0x366,0x2b1,0x23b,0x421)][_0xdfd4c2(0x11b,0x24e,0x15a,0x34c)](_0x215688)));},async 'workspaceSymbol'(_0x56fd0d){const _0x4722c5={_0x46f1dd:0x269,_0x253ec3:0x3b,_0x39f187:0x41},_0x223edb={_0x24ebe3:0x41a};function _0x21d5ad(_0x69b88e,_0x225d44,_0x3d05db,_0x793a85){return _0x11f874(_0x793a85,_0x225d44-_0x223edb._0x24ebe3,_0x3d05db-0x19,_0x793a85-0x1bb);}function _0x410615(_0x49d55b,_0x24171b,_0x33531e,_0x3331d8){return _0x11f874(_0x24171b,_0x33531e- -_0x4722c5._0x46f1dd,_0x33531e-_0x4722c5._0x253ec3,_0x3331d8-_0x4722c5._0x39f187);}return collectClientResults(_0x4e5ee1[_0x21d5ad(_0x7dbae3._0x28e85e,0x71c,_0x7dbae3._0x203d55,_0x7dbae3._0x1ed33a)][_0x410615(-_0x7dbae3._0xcbd45a,-_0x7dbae3._0x199937,-0x4b,0xb4)](_0x5be35d=>_0x5be35d[_0x410615(0x195,0x95,0xc1,0x3e)]['workspaceSymbol'](_0x56fd0d)));},async 'implementation'(_0x21c0d2){function _0x3499a4(_0x24b7a9,_0x1dcf97,_0x268de6,_0x343ef1){return _0x11f874(_0x268de6,_0x24b7a9- -0x100,_0x268de6-0x8c,_0x343ef1-0x1b1);}function _0x19ece3(_0xd7dafd,_0x18b3d0,_0x2bc9bc,_0x33f9b1){return _0x11f874(_0x2bc9bc,_0xd7dafd-0x105,_0x2bc9bc-_0x480cd8._0x50069f,_0x33f9b1-0xd8);}return collectClientResults((await _0x1f0457(_0x21c0d2))['map'](_0x48dfee=>_0x48dfee[_0x19ece3(0x42f,0x414,0x506,0x37e)][_0x19ece3(0x3c5,0x2c0,0x515,0x43c)](_0x21c0d2)));},async 'prepareCallHierarchy'(_0x335b5b){return _0x1d4d00(_0x335b5b);},async 'incomingCalls'(_0x243474){const _0x2638ef={_0xdba4f6:0x1ed},_0xd6592=await _0x1d4d00(_0x243474);function _0xf6f6b3(_0x5ded02,_0x4c2eaa,_0x412b59,_0xda035d){return _0x11f874(_0xda035d,_0x4c2eaa-_0x542678._0x225840,_0x412b59-0xf0,_0xda035d-0x34);}const _0x455e86=await _0x1f0457(_0x243474);function _0x5df512(_0x121249,_0x337482,_0x162c0a,_0x5b1ada){return _0x11f874(_0x121249,_0x337482-0x2a8,_0x162c0a-_0x2638ef._0xdba4f6,_0x5b1ada-0x156);}return collectClientResults(_0x455e86['flatMap'](_0x4f78e0=>_0xd6592['map'](_0x1c27f0=>_0x4f78e0[_0x5df512(0x47a,0x5d2,0x63c,0x711)][_0x5df512(0x39e,0x33b,0x2d5,0x45a)](_0x1c27f0))));},async 'outgoingCalls'(_0x5de7c7){const _0x3bceca={_0x1bf987:0x146};function _0x3956d7(_0x4fcfe2,_0x4df4de,_0x227a3e,_0x1a548d){return _0x11f874(_0x1a548d,_0x4df4de-0x354,_0x227a3e-0x21,_0x1a548d-0xe3);}const _0x52c74b=await _0x1d4d00(_0x5de7c7);function _0x11404a(_0x2d0f1a,_0x3f5126,_0x37a6fc,_0x1782de){return _0x11f874(_0x1782de,_0x2d0f1a-0x27b,_0x37a6fc-_0x3bceca._0x1bf987,_0x1782de-0x1e1);}const _0x36de00=await _0x1f0457(_0x5de7c7);return collectClientResults(_0x36de00[_0x3956d7(0x46a,_0x4d40fb._0x1b934f,0x465,0x5ca)](_0x333f72=>_0x52c74b[_0x3956d7(0x459,0x572,0x574,0x5d7)](_0x2da3ba=>_0x333f72[_0x3956d7(0x640,0x67e,0x6eb,0x6c2)][_0x3956d7(0x556,0x5ec,0x57b,0x640)](_0x2da3ba))));},async 'shutdown'(){const _0x36ee27={_0x20a693:0x1,_0x514150:0x5d,_0x110be4:0x14};if(_0x4e5ee1['shutdownStarted'])return;_0x4e5ee1[_0x290cde(_0x5706e5._0x59c237,_0x5706e5._0x57d138,0x38b,0x456)]=!![],await Promise['allSettled'](_0x4e5ee1['clients'][_0x30fc67(0x145,0x2bc,_0x5706e5._0x55044d,0x287)](_0x23c9fe=>_0x23c9fe[_0x30fc67(0x29f,0x417,0x308,0x2ac)]())),_0x4e5ee1[_0x30fc67(0x356,_0x5706e5._0x308170,_0x5706e5._0x594d2f,_0x5706e5._0x5d78b9)]=[],_0x4e5ee1['spawning'][_0x290cde(0x49e,_0x5706e5._0xe2f712,_0x5706e5._0x5e346f,0x43f)]();function _0x290cde(_0x2fab56,_0x1eb338,_0x5bc30c,_0x86165){return _0x11f874(_0x2fab56,_0x5bc30c-_0x75e3a8._0x47147c,_0x5bc30c-0xa3,_0x86165-_0x75e3a8._0x4ff766);}_0x4e5ee1[_0x290cde(0x37a,0x344,0x3af,0x4e6)]['clear']();function _0x30fc67(_0x43abd5,_0x3e1bd8,_0x45121b,_0x254f91){return _0x11f874(_0x3e1bd8,_0x45121b-_0x36ee27._0x20a693,_0x45121b-_0x36ee27._0x514150,_0x254f91-_0x36ee27._0x110be4);}_0x4e5ee1[_0x290cde(_0x5706e5._0x1b2471,0x4c8,_0x5706e5._0x5a2267,0x3d3)][_0x30fc67(0x1fa,_0x5706e5._0x32cdcd,_0x5706e5._0x125c36,0x119)](),_0x4e5ee1[_0x290cde(0x2e1,_0x5706e5._0x27f9f3,_0x5706e5._0x203b24,0x4a2)][_0x30fc67(_0x5706e5._0x3666cb,_0x5706e5._0x52378e,0x13d,_0x5706e5._0xb9b9e)]();},'status'(){return{'connectedClients':_0x4e5ee1['clients']['length']};}};}function createQuestionId(){return'question-'+Date['now']()+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0x9);}function validateInput(_0x1242e4){const _0x59c7f7={_0x330fa8:0xc0,_0x408300:0x1,_0x4b3900:0xff,_0x402baf:0x22f,_0xa92a3a:0xaf,_0xb6b5c4:0x57,_0x533257:0x4d,_0x30821d:0x183,_0x597b5e:0x9a,_0xac0470:0x1a2,_0x260804:0x13e,_0x34d2c8:0xdd,_0x5d26eb:0x183,_0x55ca59:0x1e2,_0x59bba3:0x2a1,_0x3faa44:0x2e3,_0x96260d:0x195,_0x2cae28:0x1a2,_0x348256:0x211,_0x125a0b:0xc,_0x12c7f7:0xf5,_0x42dcbc:0x162,_0xe0549f:0x71,_0x4472be:0x9d,_0x51d2d0:0x4b,_0x2460dd:0x3,_0x45e574:0x47,_0x181123:0x1c6,_0x2b697d:0x19,_0x4f77ed:0xb1,_0x3bbcdc:0xf4,_0x30d396:0x15f,_0x4d827d:0x55,_0x317043:0x172,_0x475a27:0xc9,_0x202869:0x20b,_0x811b82:0x12a,_0x49e15b:0x119,_0x1d71a6:0x1d7,_0x554c6b:0x73,_0x3b2afe:0x11c,_0x4b004c:0x68,_0x14d2f1:0x1c3,_0x2bb2ca:0x3b,_0x4147f9:0xdf,_0x55876d:0x98,_0x20682f:0x38,_0x659bee:0x1e,_0x31c575:0x35,_0x2188ba:0x156,_0x205f17:0x1f3,_0x45e761:0x67,_0x1bfc7b:0x1af,_0x5828f4:0x1d0,_0xbd5154:0x331,_0x93f9c3:0x2b6,_0x474874:0x271,_0x251905:0xfd,_0x403f98:0x1fb,_0x4dc634:0x17d,_0x483ade:0x3,_0x117b67:0x25,_0x5abb7e:0x105,_0x4be8ac:0x1dd},_0x16bcce={_0x4c80b4:0x6bb,_0x244d1f:0x9c},_0x55ae64={_0x355d20:0x52d,_0x215152:0xd0};function _0x416a5b(_0x2440d2,_0x4961af,_0x28080c,_0x38a15c){return _0xab9513(_0x2440d2- -_0x55ae64._0x355d20,_0x4961af-0x13d,_0x28080c-_0x55ae64._0x215152,_0x4961af);}function _0x27fab2(_0x1baab4,_0x13ed5c,_0x33898f,_0x47252d){return _0xab9513(_0x33898f- -_0x16bcce._0x4c80b4,_0x13ed5c-0x1e5,_0x33898f-_0x16bcce._0x244d1f,_0x1baab4);}if(!Array[_0x27fab2(_0x59c7f7._0x330fa8,0x6c,-_0x59c7f7._0x408300,-_0x59c7f7._0x4b3900)](_0x1242e4['questions'])||_0x1242e4[_0x416a5b(0x183,_0x59c7f7._0x402baf,0x261,0x26b)][_0x416a5b(_0x59c7f7._0xa92a3a,-_0x59c7f7._0xb6b5c4,_0x59c7f7._0x533257,0x9f)]<0x1||_0x1242e4[_0x416a5b(_0x59c7f7._0x30821d,0xb4,0x1a8,0x204)]['length']>0xa)throw new ToolExecutionError(_0x27fab2(-_0x59c7f7._0x597b5e,-_0x59c7f7._0xac0470,-0x1b5,-_0x59c7f7._0x260804),{'error':_0x27fab2(0x1c0,_0x59c7f7._0x34d2c8,0x4b,-0xa)});for(let _0x27c6c4=0x0;_0x27c6c4<_0x1242e4[_0x416a5b(_0x59c7f7._0x5d26eb,0x221,0x83,0x169)][_0x27fab2(-0x1b0,-0x33,-0xdf,-_0x59c7f7._0x55ca59)];_0x27c6c4+=0x1){const _0x30a2eb=_0x1242e4[_0x416a5b(_0x59c7f7._0x30821d,_0x59c7f7._0x59bba3,0x188,_0x59c7f7._0x3faa44)][_0x27c6c4];if(!_0x30a2eb[_0x27fab2(0x114,0xb,0x7,-0xd1)]||typeof _0x30a2eb[_0x416a5b(_0x59c7f7._0x96260d,_0x59c7f7._0x2cae28,0x2a7,_0x59c7f7._0x348256)]!==_0x416a5b(0x14c,0x298,0x284,_0x59c7f7._0x125a0b))throw new ToolExecutionError(_0x27fab2(-_0x59c7f7._0x12c7f7,0x17e,0x3,-_0x59c7f7._0x42dcbc)+(_0x27c6c4+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x30a2eb[_0x416a5b(-_0x59c7f7._0xe0549f,-_0x59c7f7._0x4472be,0x38,-0x16b)]||typeof _0x30a2eb['topic']!=='string')throw new ToolExecutionError(_0x27fab2(0x36,-_0x59c7f7._0x51d2d0,_0x59c7f7._0x2460dd,_0x59c7f7._0xb6b5c4)+(_0x27c6c4+0x1)+_0x27fab2(-0x131,-0x169,-_0x59c7f7._0x45e574,-0x183));if(_0x30a2eb[_0x27fab2(-_0x59c7f7._0x181123,-0x191,-0x1ff,-0x1ac)]['length']>0x1e)throw new ToolExecutionError(_0x416a5b(0x191,0xf0,_0x59c7f7._0x2b697d,0x1be)+(_0x27c6c4+0x1)+_0x27fab2(-_0x59c7f7._0x4f77ed,-0x150,-_0x59c7f7._0x3bbcdc,-_0x59c7f7._0x30d396)+_0x30a2eb[_0x416a5b(-0x71,-_0x59c7f7._0x4d827d,-0x1eb,-_0x59c7f7._0x317043)][_0x416a5b(0xaf,-_0x59c7f7._0x475a27,_0x59c7f7._0x202869,_0x59c7f7._0x811b82)]);if(!Array['isArray'](_0x30a2eb[_0x27fab2(-_0x59c7f7._0x49e15b,-0x5b,-0x73,-_0x59c7f7._0x1d71a6)])||_0x30a2eb[_0x27fab2(-0x3a,0xf1,-_0x59c7f7._0x554c6b,-_0x59c7f7._0x3b2afe)][_0x416a5b(0xaf,0x1c,0x7c,0x208)]<0x2||_0x30a2eb[_0x27fab2(_0x59c7f7._0x4b004c,-0x1b2,-0x73,-0x67)]['length']>0x4)throw new ToolExecutionError('Question\x20'+(_0x27c6c4+0x1)+_0x27fab2(-0xbe,-_0x59c7f7._0x14d2f1,-0x105,-0xd2));for(let _0x462ba3=0x0;_0x462ba3<_0x30a2eb['options'][_0x27fab2(-0x100,_0x59c7f7._0x2bb2ca,-_0x59c7f7._0x4147f9,-0xc8)];_0x462ba3+=0x1){const _0x4d0064=_0x30a2eb['options'][_0x462ba3];if(!_0x4d0064[_0x416a5b(-0xac,_0x59c7f7._0x55876d,0x8f,0x31)]||!_0x4d0064[_0x416a5b(_0x59c7f7._0x20682f,-_0x59c7f7._0x659bee,_0x59c7f7._0x31c575,0x1b2)])throw new ToolExecutionError(_0x416a5b(0x191,_0x59c7f7._0x2188ba,0x16f,_0x59c7f7._0x205f17)+(_0x27c6c4+0x1)+_0x416a5b(_0x59c7f7._0x45e761,_0x59c7f7._0x1bfc7b,-0x1d,0x163)+(_0x462ba3+0x1)+_0x416a5b(_0x59c7f7._0x5828f4,_0x59c7f7._0xbd5154,0x1ac,_0x59c7f7._0x93f9c3));}if(typeof _0x30a2eb[_0x27fab2(-_0x59c7f7._0x474874,-0x75,-_0x59c7f7._0x251905,-_0x59c7f7._0x403f98)]!=='boolean')throw new ToolExecutionError(_0x27fab2(0x52,_0x59c7f7._0x4dc634,_0x59c7f7._0x483ade,_0x59c7f7._0x117b67)+(_0x27c6c4+0x1)+_0x27fab2(_0x59c7f7._0x5abb7e,-_0x59c7f7._0x4be8ac,-0x82,-0x10a));}}function buildQuestions(_0x2a04ee){const _0x43c27b={_0x1d345b:0x4fb,_0x34e8b1:0x3d1},_0x3222a2={_0x20406f:0x45,_0x3a6d39:0x145,_0x221b7c:0x55},_0x4f878d={_0x1dc1fe:0x2df};function _0x39dc59(_0x465a0c,_0x1c62e6,_0x9a1136,_0x3aeef8){return _0xab9513(_0x1c62e6- -_0x4f878d._0x1dc1fe,_0x1c62e6-0x7b,_0x9a1136-0x173,_0x3aeef8);}function _0x26305f(_0x41cc46,_0x3de007,_0x38766d,_0x554b5e){return _0xab9513(_0x554b5e- -_0x3222a2._0x20406f,_0x3de007-_0x3222a2._0x3a6d39,_0x38766d-_0x3222a2._0x221b7c,_0x3de007);}return _0x2a04ee[_0x39dc59(_0x43c27b._0x1d345b,_0x43c27b._0x34e8b1,0x433,0x463)]['map']((_0x1b7d58,_0xf5868a)=>({'id':'q'+_0xf5868a,'question':_0x1b7d58[_0x26305f(0x7fd,0x751,0x646,0x67d)],'topic':_0x1b7d58[_0x26305f(0x432,0x427,0x4b1,0x477)],'options':_0x1b7d58['options'],'multiSelect':_0x1b7d58[_0x26305f(0x4a9,0x6b8,0x5ec,0x579)]}));}function createResult(_0x2c83f7,_0x4528da,_0x4a7b19){const _0x5dd7d5={'questionId':_0x2c83f7,'questionCount':_0x4528da,'answers':_0x4a7b19};return createToolOutput('User\x20responses\x20received:\x20'+JSON['stringify'](_0x4a7b19,null,0x2),_0x5dd7d5);}function createAskUserTool(){const _0xab260e={_0x56ba73:0x10b,_0x249952:0xe2,_0x5a7bdb:0xcd,_0x4eea13:0x198,_0x160503:0x110,_0x5bd0f2:0x5c,_0x456b8a:0x261,_0x2985da:0x19f,_0x307b19:0x73,_0x4fe03e:0x28d,_0x1a9afb:0x3e,_0x11d1c5:0xe3,_0x516b1:0x5c,_0x45f139:0xa1,_0x52eb46:0x154,_0x3a0c82:0x121,_0x551adc:0x45,_0x4a3976:0x18b,_0x3b6962:0x31,_0x5b3931:0x2e,_0x4381a2:0x210,_0x205936:0xaf,_0x13292d:0x19b,_0x688a51:0x12,_0x278445:0x1c4,_0x3240da:0x95,_0x2c36db:0xf0,_0x457759:0x116,_0x4a4f36:0x317,_0x5d0f44:0x1ba,_0x25ac91:0xf4,_0x381d76:0x11a,_0x1ad3ee:0x18f},_0x362980={_0x75c43d:0x8c,_0x30a154:0x1c1,_0x27300e:0x28b,_0x58c023:0x4c,_0x1f4fae:0x10b,_0x4fedc5:0x14,_0x46fea1:0x132,_0x207448:0x174,_0x9f309a:0x12,_0x26dcc8:0x1ec,_0x2023b2:0x193,_0xed1661:0xaf,_0x4d7de6:0x2ac,_0x53aa14:0x254,_0x1cf398:0x3ea,_0x26cdfb:0x35,_0x16db62:0x1b6,_0xb5e31f:0x235,_0x296b02:0x115,_0x1ae5e3:0x17,_0x1d738c:0xcc,_0x54d07a:0x1ac,_0x318b16:0xbd,_0x350068:0x40},_0x162b9c={_0x22ae0f:0x130,_0xea8597:0x103,_0x550580:0x156},_0x5d1113={_0x5e18f5:0x1a4,_0x49a695:0xa9,_0x43d481:0x4d3},_0x3af220={_0xaa8eb7:0x1b};function _0x77071a(_0x12dd5b,_0xc933f3,_0xf60558,_0x452ac8){return _0xab9513(_0xc933f3- -0x596,_0xc933f3-0xe7,_0xf60558-_0x3af220._0xaa8eb7,_0xf60558);}function _0x1432a0(_0x59cfa4,_0xd96c47,_0x484b63,_0x1590b6){return _0x32992d(_0x59cfa4-_0x5d1113._0x5e18f5,_0x1590b6,_0x484b63-_0x5d1113._0x49a695,_0xd96c47- -_0x5d1113._0x43d481);}return defineTool({'name':'AskUserTool','description':_0x77071a(_0xab260e._0x56ba73,-0x1,-_0xab260e._0x249952,_0xab260e._0x5a7bdb),'inputSchema':{'type':'object','properties':{'questions':{'type':_0x77071a(_0xab260e._0x4eea13,_0xab260e._0x160503,_0xab260e._0x5bd0f2,0xbe),'items':{'type':_0x77071a(_0xab260e._0x456b8a,_0xab260e._0x2985da,0x1ee,0x2ab),'properties':{'question':{'type':_0x1432a0(0x161,0x1ab,_0xab260e._0x307b19,_0xab260e._0x4fe03e)},'topic':{'type':_0x77071a(_0xab260e._0x1a9afb,_0xab260e._0x11d1c5,_0xab260e._0x516b1,0x11e)},'options':{'type':_0x77071a(_0xab260e._0x45f139,0x110,0x88,_0xab260e._0x52eb46),'items':{'type':_0x1432a0(0x175,0x267,0x3be,_0xab260e._0x3a0c82),'properties':{'label':{'type':_0x77071a(_0xab260e._0x551adc,0xe3,0x74,0x6f)},'description':{'type':'string'}},'required':['label',_0x77071a(-_0xab260e._0x4a3976,-_0xab260e._0x3b6962,-0xc6,-_0xab260e._0x11d1c5)]}},'multiSelect':{'type':_0x77071a(_0xab260e._0x5b3931,-0xa8,-_0xab260e._0x4381a2,_0xab260e._0x205936)}},'required':[_0x1432a0(0xec,0x1f4,0x154,_0xab260e._0x13292d),_0x1432a0(-0xf2,-_0xab260e._0x688a51,0x27,0xa8),_0x77071a(_0xab260e._0x278445,0xb2,-_0xab260e._0x3240da,0x66),_0x1432a0(0x53,_0xab260e._0x2c36db,_0xab260e._0x457759,-0x85)]}},'answers':{'type':_0x77071a(0x31b,_0xab260e._0x2985da,_0xab260e._0x4a4f36,_0xab260e._0x5d0f44),'properties':{}}},'required':[_0x77071a(_0xab260e._0x25ac91,_0xab260e._0x381d76,_0xab260e._0x1ad3ee,0x70)]},async *'execute'(_0x44b655,_0x995a40){const _0xfa7ce4={_0xaf7d40:0xa4};function _0x323679(_0x3bc868,_0x44a16d,_0x5cab13,_0x52144d){return _0x1432a0(_0x3bc868-0x1d0,_0x5cab13-0xd,_0x5cab13-_0xfa7ce4._0xaf7d40,_0x52144d);}function _0x5b0e71(_0x341185,_0x1d56c6,_0x56d17a,_0x10d5dd){return _0x77071a(_0x341185-_0x162b9c._0x22ae0f,_0x1d56c6- -_0x162b9c._0xea8597,_0x341185,_0x10d5dd-_0x162b9c._0x550580);}const _0x26f8d6=_0x44b655;validateInput(_0x26f8d6);const _0x4a9223=_0x995a40[_0x323679(_0x362980._0x75c43d,_0x362980._0x30a154,0x10c,_0x362980._0x27300e)]??createQuestionId();if(_0x26f8d6[_0x323679(-_0x362980._0x58c023,-_0x362980._0x1f4fae,-_0x362980._0x4fedc5,-0x6f)]&&Object[_0x5b0e71(_0x362980._0x46fea1,0x9e,_0x362980._0x207448,_0x362980._0x9f309a)](_0x26f8d6['answers'])['length']>0x0)return createResult(_0x4a9223,_0x26f8d6['questions']['length'],_0x26f8d6[_0x5b0e71(-0xd4,-_0x362980._0x26dcc8,-0x69,-0x235)]);if(!_0x995a40[_0x323679(_0x362980._0x2023b2,_0x362980._0xed1661,0x1b6,_0x362980._0x4d7de6)])throw new ToolExecutionError(_0x323679(_0x362980._0x53aa14,0x141,0x287,_0x362980._0x1cf398));const _0x26e4c1=buildQuestions(_0x26f8d6),_0x16d330=await _0x995a40[_0x323679(_0x362980._0x26cdfb,0x1e9,_0x362980._0x16db62,_0x362980._0xb5e31f)]({'questionId':_0x4a9223,'questions':_0x26e4c1});yield createResult(_0x4a9223,_0x26f8d6[_0x5b0e71(_0x362980._0x296b02,_0x362980._0x1ae5e3,-_0x362980._0x1d738c,0x1)][_0x5b0e71(-_0x362980._0x54d07a,-_0x362980._0x318b16,0x47,_0x362980._0x350068)],_0x16d330);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x5cb3a7}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x4f7532){return _0x4f7532 instanceof Error;}function resolveCarriageReturns(_0x471a0b){const _0x46941f={_0x54251d:0x9b,_0x10ac36:0x1be,_0xa7bfed:0x24,_0x33871d:0x9e,_0x465554:0x21e},_0x1b13b0={_0x1041e7:0x594,_0x506b57:0x799,_0x27cc11:0x509,_0x485922:0x61f,_0x538416:0x46,_0x5cdf11:0x26,_0x2b09fa:0xbf,_0x4f52f1:0x45},_0x98fd93={_0x1bbe05:0x50d,_0x49ecc7:0x132,_0x273b33:0x11e},_0x136594={_0x4270e2:0x174};function _0x1d829d(_0x33aa83,_0x541e7f,_0xee7e84,_0x551320){return _0x32992d(_0x33aa83-0x3f,_0x551320,_0xee7e84-_0x136594._0x4270e2,_0xee7e84- -0x69c);}function _0x4cd870(_0x1d7782,_0x323714,_0x179f84,_0x2dc891){return _0xab9513(_0x1d7782- -_0x98fd93._0x1bbe05,_0x323714-_0x98fd93._0x49ecc7,_0x179f84-_0x98fd93._0x273b33,_0x323714);}return _0x471a0b[_0x4cd870(0x92,0x1d5,-_0x46941f._0x54251d,_0x46941f._0x10ac36)]('\x0a')[_0x1d829d(_0x46941f._0xa7bfed,_0x46941f._0x33871d,-0xa0,-_0x46941f._0x465554)](_0x418452=>{const _0xf4bebb={_0x16a3f3:0x477,_0x1c6388:0x1da},_0x6b2e8c={_0x388da8:0x114,_0x4c1745:0x1d9,_0x277a68:0xf3};if(!_0x418452[_0x4c7d39(0x697,0x760,_0x1b13b0._0x1041e7,_0x1b13b0._0x506b57)]('\x0d'))return _0x418452;function _0x51aa39(_0x26dc61,_0x1aa497,_0x47e0bb,_0x5c12a1){return _0x4cd870(_0x5c12a1- -_0x6b2e8c._0x388da8,_0x1aa497,_0x47e0bb-_0x6b2e8c._0x4c1745,_0x5c12a1-_0x6b2e8c._0x277a68);}const _0x2b6b97=_0x418452[_0x4c7d39(_0x1b13b0._0x27cc11,_0x1b13b0._0x485922,0x460,0x5fd)]('\x0d');function _0x4c7d39(_0x294738,_0x4aa0a7,_0x3a347d,_0x160d94){return _0x4cd870(_0x294738-_0xf4bebb._0x16a3f3,_0x4aa0a7,_0x3a347d-_0xf4bebb._0x1c6388,_0x160d94-0x11b);}return _0x2b6b97[_0x2b6b97[_0x51aa39(-_0x1b13b0._0x538416,_0x1b13b0._0x5cdf11,_0x1b13b0._0x2b09fa,-_0x1b13b0._0x4f52f1)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x281503){const _0xa28601={_0x5f140d:0xbe,_0x534eca:0x2fe,_0x18b166:0x254,_0x5d9200:0x21,_0x2b8d40:0x38,_0x13180a:0xa0,_0x4552cc:0x139},_0x5934f0={_0x34c6d7:0x8a},_0x821668={_0x624a3f:0x140};function _0x2b3bf4(_0x220840,_0xf9e91,_0x26aaec,_0x30c772){return _0x32992d(_0x220840-0xa4,_0x26aaec,_0x26aaec-_0x821668._0x624a3f,_0xf9e91- -0x2f5);}const _0x136253=[];function _0x279985(_0x2226d2,_0x4bec49,_0x594cd6,_0x4f5716){return _0x32992d(_0x2226d2-0x1ca,_0x594cd6,_0x594cd6-_0x5934f0._0x34c6d7,_0x4bec49- -0x611);}for(const _0x1b21df of Array[_0x279985(0x245,0xd6,_0xa28601._0x5f140d,0x1c2)](_0x281503)){_0x1b21df==='\x08'?_0x136253[_0x2b3bf4(_0xa28601._0x534eca,_0xa28601._0x18b166,0x16f,0x1b6)]():_0x136253[_0x279985(-_0xa28601._0x5d9200,-0xac,-_0xa28601._0x2b8d40,0x83)](_0x1b21df);}return _0x136253[_0x279985(-0x15b,-0x187,-_0xa28601._0x13180a,-_0xa28601._0x4552cc)]('');}function stripAnsiAndControls(_0x38c8f4){const _0xe13da9={_0x59570b:0x5c7,_0x1f9a6e:0x494,_0x4d1916:0x51c,_0x2e0655:0xc3,_0x2274b2:0xa6,_0x69893f:0x5de,_0x1f0618:0x47e,_0x324e1:0x7c,_0x3b6c7c:0x4d7,_0x44f629:0x494,_0x5123a1:0x363,_0x5cf29a:0x5be,_0x499c92:0x674,_0x76bd6a:0x3c9,_0x21c37d:0x317,_0x545bab:0x3be,_0x94b429:0xe7,_0xbb6d29:0x30,_0x1f965a:0x10c,_0x5f36be:0x58d,_0x5d7610:0x4c2},_0x214018={_0x1eae7f:0x1bb,_0xbbad8e:0x531};_0x38c8f4=resolveCarriageReturns(_0x38c8f4),_0x38c8f4=resolveBackspaces(_0x38c8f4),_0x38c8f4=stripVTControlCharacters(_0x38c8f4);const _0x584c1e='\x1b',_0x80acff='\x07';_0x38c8f4=_0x38c8f4[_0x4586be(0x48f,_0xe13da9._0x59570b,_0xe13da9._0x1f9a6e,_0xe13da9._0x4d1916)](new RegExp(';[^'+_0x80acff+'\x5cn]*?'+_0x80acff,'g'),''),_0x38c8f4=_0x38c8f4[_0x4906ff(0xbc,-0x30,-_0xe13da9._0x2e0655,0x6f)](new RegExp(_0x4906ff(_0xe13da9._0x2274b2,-0x5f,-0x127,-0xce)+_0x584c1e+'\x5c\x5c','g'),''),_0x38c8f4=_0x38c8f4[_0x4586be(_0xe13da9._0x69893f,0x31b,0x494,_0xe13da9._0x1f0618)](new RegExp(_0x80acff,'g'),''),_0x38c8f4=_0x38c8f4[_0x4906ff(_0xe13da9._0x324e1,-0x30,-0xa6,-0x4b)](new RegExp(_0x584c1e+'[P_^][\x5cs\x5cS]*?'+_0x584c1e+'\x5c\x5c','g'),'');function _0x4906ff(_0x23dd1f,_0xb0a32,_0x46d68a,_0x3700fc){return _0x32992d(_0x23dd1f-_0x214018._0x1eae7f,_0x46d68a,_0x46d68a-0x173,_0xb0a32- -_0x214018._0xbbad8e);}_0x38c8f4=_0x38c8f4[_0x4586be(0x4da,_0xe13da9._0x3b6c7c,_0xe13da9._0x44f629,_0xe13da9._0x5123a1)](new RegExp(_0x584c1e+_0x4586be(_0xe13da9._0x5cf29a,_0xe13da9._0x499c92,0x544,_0xe13da9._0x76bd6a),'g'),'');function _0x4586be(_0x205c21,_0x33e9ea,_0x3dc37c,_0x3d9d27){return _0x32992d(_0x205c21-0x117,_0x3d9d27,_0x3dc37c-0xd5,_0x3dc37c- -0x6d);}return _0x38c8f4=_0x38c8f4[_0x4586be(_0xe13da9._0x21c37d,0x5b2,0x494,_0xe13da9._0x545bab)](/[\u0080-\u009F]/g,''),_0x38c8f4=_0x38c8f4[_0x4906ff(-_0xe13da9._0x94b429,-_0xe13da9._0xbb6d29,-0x3c,-_0xe13da9._0x1f965a)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x38c8f4=_0x38c8f4[_0x4586be(0x450,_0xe13da9._0x5f36be,0x494,_0xe13da9._0x5d7610)](/[\u23CE\u2424]/g,''),_0x38c8f4;}function killProcessGroup(_0xfaccdc,_0x1a58b2,_0x36023d=_0x32992d(0x43b,0x3e0,0x34a,0x493)){const _0x46c31f={_0x3bfa8f:0x501,_0x2cc0bd:0x601,_0x5582fd:0x626,_0x261453:0x604,_0x35c6e7:0x40d,_0x316b6f:0x5e4,_0x1dd63f:0x48e,_0x2615a1:0x576,_0x2beca7:0x595,_0x43560d:0x6ed,_0x4a5f32:0x5fc,_0x53303:0x5a8,_0x365631:0x5b5,_0x217b83:0x6d1,_0x4834fa:0x59f,_0x2b465a:0x670},_0xc54757={_0x40c22b:0xa5},_0x36e058={_0x49d1d1:0x1d};function _0x5ec679(_0x57f2a9,_0x50eb1a,_0x4c0b51,_0x16ba8c){return _0xab9513(_0x4c0b51-_0x36e058._0x49d1d1,_0x50eb1a-0x19f,_0x4c0b51-0x77,_0x57f2a9);}if(!_0xfaccdc['pid'])return;function _0x1efc42(_0x11c286,_0x27d9af,_0x3108a5,_0x15f71b){return _0xab9513(_0x15f71b- -_0xc54757._0x40c22b,_0x27d9af-0xd3,_0x3108a5-0x67,_0x27d9af);}if(_0x1a58b2)try{_0x5cb3a7(_0x1efc42(0x57e,_0x46c31f._0x3bfa8f,_0x46c31f._0x2cc0bd,0x63a),[_0x5ec679(_0x46c31f._0x5582fd,0x4fc,_0x46c31f._0x261453,0x6ba),_0xfaccdc[_0x1efc42(_0x46c31f._0x35c6e7,0x447,_0x46c31f._0x316b6f,_0x46c31f._0x1dd63f)]['toString'](),'/T','/F'],{'stdio':_0x5ec679(0x603,_0x46c31f._0x2615a1,0x525,0x627)});return;}catch{_0xfaccdc[_0x1efc42(_0x46c31f._0x2beca7,_0x46c31f._0x43560d,_0x46c31f._0x4a5f32,0x5b5)](_0x36023d);return;}try{process[_0x1efc42(0x618,_0x46c31f._0x53303,0x56a,_0x46c31f._0x365631)](-_0xfaccdc[_0x5ec679(_0x46c31f._0x217b83,_0x46c31f._0x4834fa,0x550,0x656)],_0x36023d);}catch{_0xfaccdc[_0x1efc42(_0x46c31f._0x53303,_0x46c31f._0x2b465a,0x6ca,_0x46c31f._0x365631)](_0x36023d);}}var BackgroundProcessRegistry=class{[_0xab9513(0x585,0x4c2,0x6c5,0x417)]=new Map();['maxConcurrent'];['maxEntries'];[_0x32992d(0x335,0x404,0x32c,0x46e)];['counter']=0x0;constructor(_0xf71f4e={}){const _0x4bc47e={_0x37d821:0x11a,_0x507f80:0x5,_0x2ad057:0x69,_0xd37496:0x221,_0x30e40a:0x188,_0x11599f:0x213,_0x5b546a:0x24e,_0x4c2f46:0x188,_0x139f99:0x22,_0x3e463f:0x1aa,_0x59be57:0x108,_0x1f4802:0x125,_0x48b4bc:0x1e,_0x4ff7cd:0x11f},_0x460e2e={_0x214efe:0x3c3,_0x28bf2a:0x1e6,_0x396e71:0x161},_0x28e5bd={_0x33c573:0x135};function _0x52f570(_0x3ebb89,_0xd80a09,_0x564fc5,_0x578e7d){return _0xab9513(_0xd80a09- -0x58e,_0xd80a09-0x13a,_0x564fc5-_0x28e5bd._0x33c573,_0x3ebb89);}function _0x178761(_0x426d25,_0x366073,_0x570d1d,_0x489451){return _0xab9513(_0x570d1d- -_0x460e2e._0x214efe,_0x366073-_0x460e2e._0x28bf2a,_0x570d1d-_0x460e2e._0x396e71,_0x489451);}this['maxConcurrent']=_0xf71f4e[_0x52f570(-_0x4bc47e._0x37d821,-0xc4,_0x4bc47e._0x507f80,_0x4bc47e._0x2ad057)]??0xa,this[_0x178761(0x1cb,_0x4bc47e._0xd37496,_0x4bc47e._0x30e40a,_0x4bc47e._0x11599f)]=_0xf71f4e[_0x178761(_0x4bc47e._0x5b546a,0x254,_0x4bc47e._0x4c2f46,_0x4bc47e._0x139f99)]??0x40,this[_0x178761(0x9c,0x1ac,0xa6,_0x4bc47e._0x3e463f)]=_0xf71f4e[_0x52f570(-_0x4bc47e._0x59be57,-_0x4bc47e._0x1f4802,_0x4bc47e._0x48b4bc,-_0x4bc47e._0x4ff7cd)]??0x100000;}[_0x32992d(0x6fd,0x522,0x657,0x594)](_0x3a1db5){const _0x342dc1={_0x5b5abe:0x6ea,_0x10a25d:0x588,_0x5d868d:0xae,_0xf247aa:0x17,_0x29b9f3:0x74,_0x8afb7e:0x151,_0x23d388:0xa4,_0x38bd01:0x4d8,_0x4b4406:0x6e1,_0x43e9ce:0x5d8,_0x3950a6:0x5ca,_0x107ca1:0x509,_0x27b548:0x407,_0x4abc4d:0x5ae,_0xacf7a0:0x19,_0x4344bd:0x26,_0x51b95d:0x2f,_0x56b4ed:0x4a5,_0x25124b:0x4cd,_0x1e7114:0x620,_0x21d4ae:0x12e,_0x4bfaa7:0x382,_0x296d1e:0x44e,_0xd54963:0xd2,_0x40b48c:0xce,_0x2a6b35:0x11e,_0x3efddc:0x24,_0x341d10:0x5ad,_0x32106a:0x63f,_0x468332:0x132,_0x1a7476:0x17,_0x41dc7b:0x4d,_0x6928c9:0xff,_0x55df24:0x60a,_0x1c30b9:0x536,_0x2b3647:0x21,_0xc4ebff:0x168,_0x4aa2b0:0x166,_0x209cd6:0x66c,_0x42407e:0x7a8,_0x396169:0x637,_0x3f4eb7:0x4ba,_0x2fe3b8:0x84,_0x34e99d:0x17,_0x308559:0x5a6,_0x5eed2a:0x1ab,_0x2db5fe:0x1ce,_0x38ef9c:0x1cb,_0x5b067f:0x7a,_0x26fa61:0xef,_0x4a654d:0x4d,_0x13a75b:0x134,_0x44c5ed:0xab,_0x44b685:0x629,_0x22836a:0x696,_0x26eb89:0x352,_0xe3f8b4:0x129,_0x4e1d7d:0x1c7,_0xb15388:0x24,_0x2fb893:0x125,_0x379095:0x5e,_0x514047:0x59c,_0x16eafb:0x5d4,_0x1e5a5a:0x663,_0x405ba7:0x588,_0x42ff7d:0x1ba},_0x5d12d7={_0x4de95f:0x1c4},_0x8a073e={_0x581790:0xe5,_0x55fd65:0x18d,_0x456b9b:0x265,_0x4ebfca:0x37b,_0xdea867:0x248,_0x15e268:0xdf,_0x1ff3ea:0x21e,_0x1e3943:0x23e,_0x15f951:0x20f},_0x4ea3a4={_0x7d8233:0x3a,_0x80b0fe:0x163},_0x82fbb1={_0x29cf04:0x16,_0x464681:0xd9,_0x585020:0x90,_0x585af9:0x191,_0x5d12cf:0xf3,_0x232972:0x2,_0x2bc634:0x107,_0x35b0ba:0x1da,_0x47e4cd:0x19,_0x99b672:0xcf,_0x211642:0x1a6,_0x22bbb5:0x117,_0x34f990:0xa2,_0x31e349:0x19,_0x255da3:0xbd,_0x21e869:0x14,_0xef6d47:0xb,_0x5cfc7a:0x210,_0x1c1526:0x49,_0x1f0ee8:0x185,_0x3c1324:0x2aa,_0x318c15:0xb1,_0x31c567:0x18b,_0x158dd0:0x8a,_0xa09776:0x4f},_0x2559ce={_0x4bd3f8:0x1b6,_0x423947:0x33,_0x382c89:0x2},_0x3db29e=[...this[_0xd34f4(0x67b,_0x342dc1._0x5b5abe,_0x342dc1._0x10a25d,0x438)][_0x533de0(-0x44,0x213,_0x342dc1._0x5d868d,_0x342dc1._0xf247aa)]()][_0x533de0(-_0x342dc1._0x29b9f3,_0x342dc1._0x8afb7e,0x3c,-0x4b)](_0xf4ee14=>_0xf4ee14[_0x533de0(0x3e,-0x8c,-0x35,-0x52)]===_0x533de0(-0x1f8,0x28,-0xa3,0x3))['length'];if(_0x3db29e>=this[_0x533de0(-_0x342dc1._0x23d388,-0x139,-0x1ea,-0x224)])throw new ToolExecutionError(_0xd34f4(_0x342dc1._0x38bd01,_0x342dc1._0x4b4406,_0x342dc1._0x43e9ce,_0x342dc1._0x3950a6)+this[_0xd34f4(_0x342dc1._0x107ca1,_0x342dc1._0x27b548,0x4cd,_0x342dc1._0x4abc4d)]+_0x533de0(0x1a,-_0x342dc1._0xacf7a0,_0x342dc1._0x4344bd,_0x342dc1._0x51b95d),{'running':this[_0xd34f4(_0x342dc1._0x56b4ed,0x391,_0x342dc1._0x25124b,_0x342dc1._0x1e7114)]});const _0x5bdba2=_0x533de0(-0x84,-0x1ac,-_0x342dc1._0x21d4ae,-0xf9)+ ++this[_0xd34f4(_0x342dc1._0x4bfaa7,0x573,0x4e4,_0x342dc1._0x296d1e)]+'-'+randomUUID()[_0x533de0(-_0x342dc1._0xd54963,0x21,-_0x342dc1._0x40b48c,-0x23c)](0x0,0x8),_0x569644={'shellId':_0x5bdba2,'command':_0x3a1db5[_0x533de0(_0x342dc1._0x2a6b35,0xdb,-_0x342dc1._0x3efddc,-0x71)],'cwd':_0x3a1db5[_0xd34f4(0x666,_0x342dc1._0x341d10,_0x342dc1._0x32106a,0x758)],'pid':_0x3a1db5[_0x533de0(_0x342dc1._0x468332,-_0x342dc1._0x1a7476,_0x342dc1._0x41dc7b,_0x342dc1._0x6928c9)][_0xd34f4(_0x342dc1._0x55df24,0x408,_0x342dc1._0x1c30b9,0x4f1)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x533de0(-0x202,-_0x342dc1._0x2b3647,-_0x342dc1._0xc4ebff,-_0x342dc1._0x4aa2b0)](),'child':_0x3a1db5['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0xd34f4(0x767,0x7f9,0x74e,_0x342dc1._0x209cd6)),'stderrDecoder':new StringDecoder(_0xd34f4(_0x342dc1._0x42407e,_0x342dc1._0x396169,0x74e,0x675)),'stripAnsi':_0x3a1db5[_0xd34f4(0x7a6,0x7c6,0x759,0x710)],'killRequested':![],'processExited':![]};_0x3a1db5['child'][_0xd34f4(_0x342dc1._0x3f4eb7,0x47d,0x553,0x680)]?.['on'](_0x533de0(-0x226,-_0x342dc1._0x2fe3b8,-0x1ce,-0x7f),_0x274e71=>this['append'](_0x569644,_0x569644[_0x533de0(0x99,0x40,0x70,0x185)][_0xd34f4(0x4d4,0x4d3,0x548,0x604)](_0x274e71)));function _0xd34f4(_0x490193,_0x193622,_0x11f73a,_0x2e5446){return _0x32992d(_0x490193-_0x2559ce._0x4bd3f8,_0x490193,_0x11f73a-_0x2559ce._0x423947,_0x11f73a- -_0x2559ce._0x382c89);}_0x3a1db5[_0x533de0(_0x342dc1._0x34e99d,0xa6,0x4d,-0xe2)][_0xd34f4(0x4f0,_0x342dc1._0x308559,0x4ab,0x3db)]?.['on'](_0x533de0(-0x128,-_0x342dc1._0x5eed2a,-_0x342dc1._0x2db5fe,-_0x342dc1._0x38ef9c),_0x21674f=>this[_0x533de0(-0x3,0x186,0x53,0x11b)](_0x569644,_0x569644[_0x533de0(-0xfc,-0x295,-0x245,-0x22b)][_0x533de0(-0x115,-0x100,-0x16f,-0x1b9)](_0x21674f))),_0x3a1db5[_0x533de0(-_0x342dc1._0x5b067f,_0x342dc1._0x26fa61,_0x342dc1._0x4a654d,_0x342dc1._0x13a75b)]['once'](_0x533de0(_0x342dc1._0x44c5ed,0xb9,0x4c,-0xb7),()=>{_0x569644['processExited']=!![];}),_0x3a1db5[_0xd34f4(0x7c1,_0x342dc1._0x44b685,0x704,_0x342dc1._0x22836a)][_0x533de0(-0x217,-_0x342dc1._0x26eb89,-0x1cf,-0x2cc)](_0x533de0(-0x270,-_0x342dc1._0xe3f8b4,-0x23c,-_0x342dc1._0x4e1d7d),(_0x52c00c,_0x128fd3)=>{const _0x1ccafe={_0x15488b:0x13e};this[_0x51ac5d(_0x82fbb1._0x29cf04,-_0x82fbb1._0x464681,_0x82fbb1._0x585020,0xa1)](_0x569644,_0x569644['stdoutDecoder']['end']());function _0x57abf2(_0xfe5a8d,_0x557407,_0x3883e1,_0x225c13){return _0x533de0(_0xfe5a8d,_0x557407-0x1b1,_0x557407-_0x1ccafe._0x15488b,_0x225c13-0x125);}this[_0x57abf2(0xe6,_0x82fbb1._0x585af9,_0x82fbb1._0x5d12cf,0x272)](_0x569644,_0x569644[_0x57abf2(_0x82fbb1._0x232972,-_0x82fbb1._0x2bc634,-0x118,-_0x82fbb1._0x35b0ba)][_0x57abf2(_0x82fbb1._0x47e4cd,_0x82fbb1._0x99b672,_0x82fbb1._0x211642,_0x82fbb1._0x22bbb5)]()),_0x569644[_0x51ac5d(_0x82fbb1._0x34f990,_0x82fbb1._0x31e349,0x8,-0xe5)]=_0x569644[_0x51ac5d(0x1d4,-0x75,_0x82fbb1._0x255da3,-0xbe)]?_0x57abf2(-_0x82fbb1._0x21e869,-0xc2,-_0x82fbb1._0xef6d47,-_0x82fbb1._0x5cfc7a):_0x51ac5d(-_0x82fbb1._0x1c1526,-_0x82fbb1._0x1f0ee8,-0x135,-_0x82fbb1._0x3c1324);function _0x51ac5d(_0x352a95,_0x2f50b4,_0x1633e7,_0xee4472){return _0xd34f4(_0xee4472,_0x2f50b4-0x40,_0x1633e7- -0x67a,_0xee4472-0x9e);}_0x569644['exitCode']=_0x52c00c,_0x569644[_0x51ac5d(-0x12,0x224,0xaa,-0x43)]=_0x128fd3,_0x569644[_0x51ac5d(-_0x82fbb1._0x318c15,_0x82fbb1._0x31c567,_0x82fbb1._0x158dd0,_0x82fbb1._0xa09776)]=null;}),_0x3a1db5[_0x533de0(_0x342dc1._0xb15388,_0x342dc1._0x2fb893,0x4d,_0x342dc1._0x379095)]['once'](_0xd34f4(0x63f,_0x342dc1._0x514047,_0x342dc1._0x16eafb,_0x342dc1._0x1e5a5a),_0x3c7ef0=>{const _0x40694a={_0x55e5c7:0x4f5};_0x569644[_0x2bae5a(0x11,_0x8a073e._0x581790,_0x8a073e._0x55fd65,0x1a9)]=_0x57173(0x314,_0x8a073e._0x456b9b,_0x8a073e._0x4ebfca,0x3aa);function _0x2bae5a(_0x2b2c32,_0xa94c0f,_0xd1928d,_0x1ef176){return _0xd34f4(_0x2b2c32,_0xa94c0f-0x8,_0xd1928d- -_0x40694a._0x55e5c7,_0x1ef176-0x1e6);}_0x569644[_0x2bae5a(0x93,_0x8a073e._0xdea867,_0x8a073e._0x15e268,0x1)]=_0x3c7ef0[_0x57173(0x26b,0x2a6,_0x8a073e._0x1ff3ea,0x33d)];function _0x57173(_0x238b81,_0x3bc7e1,_0x53f7ef,_0xdf6eec){return _0xd34f4(_0xdf6eec,_0x3bc7e1-_0x4ea3a4._0x7d8233,_0x3bc7e1- -0x36f,_0xdf6eec-_0x4ea3a4._0x80b0fe);}_0x569644[_0x2bae5a(0x322,_0x8a073e._0x1e3943,_0x8a073e._0x15f951,0x13d)]=null;}),this[_0xd34f4(0x482,0x667,_0x342dc1._0x405ba7,0x661)]['set'](_0x5bdba2,_0x569644),this[_0x533de0(-0x2a1,-0xb8,-0x187,-_0x342dc1._0x42ff7d)]();function _0x533de0(_0x8d6514,_0x3c175a,_0x51c32b,_0x111ed9){return _0xab9513(_0x51c32b- -0x6b4,_0x3c175a-0x120,_0x51c32b-_0x5d12d7._0x4de95f,_0x8d6514);}return _0x569644;}[_0xab9513(0x4f1,0x424,0x38b,0x564)](_0x5b19cc,_0x29ef82){const _0x1a6788={_0x4196d6:0x2ed,_0x42668d:0x189,_0x4e433d:0x2f7,_0x49abd2:0x68,_0x58f264:0x208,_0x5358f9:0x2e6,_0x4bd8ea:0x229,_0x26d400:0x1fc,_0x1b9a1e:0x129,_0x210b8a:0x55,_0x1e21ed:0x59,_0x573ba3:0x3c2,_0x4d3864:0x3de,_0x424bf9:0x2b9,_0x373ed9:0x223,_0x49a93a:0x18e,_0x45e2d0:0x313,_0x568b44:0x2e4,_0x46d5b0:0xed,_0x28e32e:0xcb,_0x255ab3:0x39b,_0x36cfb2:0x377,_0x539d39:0x212,_0x60b364:0x34e,_0x48fe02:0x3b8,_0x5b734f:0x31c,_0x448593:0x9,_0x57fb95:0x97,_0x71fe21:0x30a,_0x93f1f9:0x2e0,_0x593b59:0x262,_0x17ac38:0x230,_0x4e596c:0x1eb,_0x435dc9:0x1f8,_0x300bc2:0x2de,_0x5d5938:0x297,_0x2bc637:0x552,_0x1875e8:0x13f,_0x2aebc0:0x13,_0x2979f4:0x87,_0x238c8f:0x169,_0x589321:0x326,_0x57048c:0x245,_0x3a2240:0x254},_0x4de7d7={_0x16c170:0x3fc,_0x2a586e:0x156},_0x31be61=this[_0x5c5856(0x2c2,_0x1a6788._0x4196d6,0x2ce,_0x1a6788._0x42668d)][_0x34b44b(0x1be,_0x1a6788._0x4e433d,_0x1a6788._0x49abd2,_0x1a6788._0x58f264)](_0x5b19cc);if(!_0x31be61)throw new ToolExecutionError(_0x5c5856(0x284,_0x1a6788._0x5358f9,_0x1a6788._0x4bd8ea,_0x1a6788._0x26d400)+_0x5b19cc,{'shellId':_0x5b19cc});const _0x5b7f3e=_0x31be61[_0x5c5856(_0x1a6788._0x1b9a1e,-0xcd,_0x1a6788._0x210b8a,0x74)]['join']('');function _0x5c5856(_0x4930da,_0x46bba4,_0x46d216,_0x722195){return _0xab9513(_0x722195- -_0x4de7d7._0x16c170,_0x46bba4-0x52,_0x46d216-_0x4de7d7._0x2a586e,_0x46bba4);}const _0x3df4c3=Math[_0x5c5856(_0x1a6788._0x1e21ed,0x18b,0x17f,0x1c5)](_0x31be61[_0x5c5856(-0x6d,0x47,-0xa4,0x9a)],_0x31be61[_0x34b44b(0x318,_0x1a6788._0x573ba3,0x333,_0x1a6788._0x4d3864)]),_0x36d4af=Math[_0x34b44b(_0x1a6788._0x424bf9,0x22b,0x36e,0x3cc)](0x0,_0x31be61[_0x34b44b(0x318,_0x1a6788._0x373ed9,0x3a5,0x3db)]-_0x31be61[_0x34b44b(_0x1a6788._0x49a93a,_0x1a6788._0x45e2d0,0x254,_0x1a6788._0x568b44)]),_0x33d458=_0x5b7f3e[_0x5c5856(_0x1a6788._0x46d5b0,0x95,_0x1a6788._0x28e32e,0x1ea)](_0x3df4c3-_0x31be61[_0x34b44b(0x318,0x27f,_0x1a6788._0x255ab3,0x2c2)]),_0x38cac2=_0x31be61[_0x34b44b(_0x1a6788._0x36cfb2,0x2a3,0x303,0x33a)]!==_0x34b44b(0x309,_0x1a6788._0x539d39,0x1fe,0x3d2);let _0x411a0e;const _0x3b112c=_0x29ef82?.[_0x5c5856(0x482,_0x1a6788._0x60b364,_0x1a6788._0x48fe02,_0x1a6788._0x5b734f)];if(!_0x3b112c)_0x411a0e=_0x33d458,_0x31be61[_0x5c5856(-_0x1a6788._0x448593,_0x1a6788._0x57fb95,0x1fa,0x9a)]=_0x31be61['totalProduced'];else{let _0x48bc08;try{_0x48bc08=new RegExp(_0x3b112c);}catch(_0x82b623){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x82b623[_0x34b44b(_0x1a6788._0x71fe21,_0x1a6788._0x93f1f9,_0x1a6788._0x593b59,_0x1a6788._0x17ac38)],{'shellId':_0x5b19cc,'regex':_0x3b112c});}let _0x5caa61=_0x33d458;if(!_0x38cac2){const _0x1a96fe=_0x33d458[_0x34b44b(0x208,_0x1a6788._0x4e596c,_0x1a6788._0x435dc9,0x169)]('\x0a');_0x5caa61=_0x1a96fe>=0x0?_0x33d458[_0x34b44b(_0x1a6788._0x300bc2,0x3fa,0x2f9,0x183)](0x0,_0x1a96fe+0x1):'';}_0x411a0e=_0x5caa61[_0x34b44b(_0x1a6788._0x5d5938,0x3ad,0x395,0x3fe)]('\x0a')[_0x34b44b(0x3e8,0x33c,0x354,_0x1a6788._0x2bc637)](_0x586470=>_0x48bc08[_0x5c5856(0x2d4,0x3a3,0x320,0x2f3)](_0x586470))[_0x34b44b(0x17d,_0x1a6788._0x1875e8,0x1a,0x11d)]('\x0a'),_0x31be61[_0x34b44b(_0x1a6788._0x49a93a,0x109,0x25f,_0x1a6788._0x2aebc0)]=_0x3df4c3+_0x5caa61[_0x5c5856(_0x1a6788._0x2979f4,0x2bc,_0x1a6788._0x238c8f,0x1e0)];}function _0x34b44b(_0x5d2acd,_0x2968ad,_0x564264,_0xce0525){return _0x32992d(_0x5d2acd-0xa8,_0xce0525,_0x564264-0x39,_0x5d2acd- -0x30d);}const _0x4998ff=(_0x36d4af>0x0?_0x5c5856(_0x1a6788._0x589321,0x27d,0x1b6,_0x1a6788._0x57048c)+_0x36d4af+'\x20chars\x20dropped]\x0a':'')+_0x411a0e;return{'output':_0x4998ff,'status':_0x31be61[_0x5c5856(0x370,_0x1a6788._0x3a2240,0x2df,0x283)],'exitCode':_0x31be61['exitCode'],'signal':_0x31be61['signal'],'truncated':_0x36d4af>0x0};}['list'](){const _0x9677b0={_0x5a159c:0x1aa,_0x7e8cdc:0x391,_0x36fbb8:0x4e4};function _0x3ba0f9(_0x550be5,_0x1bb20d,_0x2b8536,_0x3bb623){return _0xab9513(_0x550be5- -0x4d3,_0x1bb20d-0x19d,_0x2b8536-0xa2,_0x1bb20d);}function _0x3ec41e(_0x32f56c,_0x54dfd4,_0x4ee3a5,_0x31ba12){return _0x32992d(_0x32f56c-0x1ee,_0x31ba12,_0x4ee3a5-0x1ef,_0x54dfd4- -0x2e6);}return[...this[_0x3ec41e(_0x9677b0._0x5a159c,0x2a4,0x2a6,_0x9677b0._0x7e8cdc)][_0x3ec41e(0x34c,0x481,0x444,_0x9677b0._0x36fbb8)]()];}[_0xab9513(0x65a,0x4d9,0x666,0x4e5)](_0x2bffb6){const _0x73170={_0x994bbf:0x493,_0x56a377:0x4e0,_0x56020e:0x4d4,_0x4747c1:0x52d,_0x4bec57:0x61c,_0xf91532:0x828,_0x1b81db:0x329,_0xc0fd27:0x4ad,_0xd57705:0x653,_0x5e5f16:0x6cb,_0x5a2e3d:0x59d,_0x562a9f:0x6e2,_0x2a037f:0x62b,_0xf4456d:0x4a6,_0x38ddea:0x6cc,_0x4b1e55:0x610,_0x4c1045:0x6e6,_0xb2d1ac:0x30b,_0x198e02:0x3e9,_0x2396f8:0x788},_0x344406={_0x42b9ce:0x164,_0x409a39:0x44},_0x5f104b={_0xb7f5ae:0x62};function _0x4410d7(_0x3ef1b7,_0x366e93,_0x2ac354,_0x3596a9){return _0x32992d(_0x3ef1b7-0x5b,_0x366e93,_0x2ac354-0x11,_0x3596a9-_0x5f104b._0xb7f5ae);}const _0x1f09db=this[_0x230828(_0x73170._0x994bbf,0x50c,_0x73170._0x56a377,0x421)][_0x4410d7(_0x73170._0x56020e,0x6b3,0x578,_0x73170._0x4747c1)](_0x2bffb6);if(!_0x1f09db)throw new ToolExecutionError(_0x230828(0x37f,0x407,0x588,0x494)+_0x2bffb6,{'shellId':_0x2bffb6});function _0x230828(_0x178e7f,_0x5d10d5,_0x2346a5,_0x3cf6fc){return _0xab9513(_0x3cf6fc- -_0x344406._0x42b9ce,_0x5d10d5-0xfe,_0x2346a5-_0x344406._0x409a39,_0x178e7f);}if(_0x1f09db[_0x4410d7(_0x73170._0x4bec57,0x675,_0x73170._0xf91532,0x6e6)]===_0x230828(0x4a5,_0x73170._0x1b81db,0x464,_0x73170._0xc0fd27)&&_0x1f09db[_0x230828(_0x73170._0xd57705,_0x73170._0x5e5f16,_0x73170._0x4bec57,_0x73170._0x5a2e3d)]&&!_0x1f09db[_0x4410d7(0x694,0x770,0x588,_0x73170._0x562a9f)]){_0x1f09db[_0x4410d7(_0x73170._0x2a037f,0x83b,0x8ae,0x79b)]=!![];try{killProcessGroup(_0x1f09db['child'],process['platform']===_0x4410d7(_0x73170._0xf4456d,0x417,0x6c2,0x56b));}catch{}}return{'status':_0x1f09db[_0x4410d7(_0x73170._0x38ddea,_0x73170._0x4b1e55,0x83e,_0x73170._0x4c1045)],'exitCode':_0x1f09db[_0x230828(_0x73170._0xb2d1ac,0x3b8,0x2cb,_0x73170._0x198e02)],'signal':_0x1f09db[_0x4410d7(0x8bb,0x7c0,0x832,_0x73170._0x2396f8)]};}async[_0x32992d(0x498,0x664,0x635,0x607)](){const _0x27f7d9={_0xd690bb:0x2d,_0x3c6f70:0x145,_0x1e585f:0x30,_0x21a15d:0xb3,_0x5a816f:0x2dc,_0x218dfb:0xcd,_0x55e5a9:0x7,_0x2225b5:0x23,_0x24c58f:0x2d4,_0x5c6934:0x4d0,_0x5b43ba:0x3dc,_0x1bbbc0:0x14f,_0x3d5536:0x2ce,_0x958217:0x327,_0x3d1f2a:0x1ac},_0x3c4de0={_0x867070:0x8c,_0x957980:0x1ae},_0x4ba3c8={_0x5a42c4:0x19f,_0x129b2c:0x61,_0xb5f739:0x35d};function _0x38d652(_0x38edeb,_0x503864,_0x160533,_0x14592c){return _0x32992d(_0x38edeb-_0x4ba3c8._0x5a42c4,_0x160533,_0x160533-_0x4ba3c8._0x129b2c,_0x14592c- -_0x4ba3c8._0xb5f739);}function _0x1db70a(_0x232a72,_0x1b32e8,_0x51c38a,_0x21cc4c){return _0xab9513(_0x232a72- -0x5b2,_0x1b32e8-_0x3c4de0._0x867070,_0x51c38a-_0x3c4de0._0x957980,_0x1b32e8);}for(const _0x2eddab of this[_0x1db70a(-_0x27f7d9._0xd690bb,_0x27f7d9._0x3c6f70,-_0x27f7d9._0x1e585f,-0xc6)][_0x1db70a(0x1b0,0x1ff,_0x27f7d9._0x21a15d,_0x27f7d9._0x5a816f)]()){if(_0x2eddab[_0x1db70a(_0x27f7d9._0x218dfb,_0x27f7d9._0x55e5a9,0x23c,_0x27f7d9._0x2225b5)]===_0x38d652(0x3eb,_0x27f7d9._0x24c58f,0x3b2,0x2b9)&&_0x2eddab['child']&&!_0x2eddab['processExited']){_0x2eddab[_0x38d652(0x4c4,_0x27f7d9._0x5c6934,0x4d6,_0x27f7d9._0x5b43ba)]=!![];try{killProcessGroup(_0x2eddab[_0x1db70a(_0x27f7d9._0x1bbbc0,_0x27f7d9._0x3d5536,0x2cb,0x2b6)],process['platform']===_0x38d652(_0x27f7d9._0x958217,0x13a,0x1ba,_0x27f7d9._0x3d1f2a));}catch{}}}}[_0xab9513(0x707,0x74a,0x884,0x638)](_0x12ebc1,_0x441075){const _0x32c837={_0x302479:0x59a,_0x10067:0x152,_0x1e83b1:0xc1,_0xc0b577:0x12,_0x10744e:0x140,_0x4f4954:0x3bb,_0x2a88fa:0x1cd,_0x4467d4:0x2b4,_0x2b28ca:0x624,_0x5b3571:0x33c,_0x225958:0x4b6,_0x4e0480:0x30e,_0x42766d:0x52,_0x5f1073:0x166,_0x3beba2:0x2ad,_0x56915c:0x150,_0x4df3f9:0x84,_0x31fd88:0x82,_0x69067f:0x5a,_0x20c346:0x2b,_0x23401a:0x2aa,_0x59667b:0x2b6,_0x2ad79f:0x420,_0x52d99b:0x100,_0x47917b:0x22d,_0x854690:0x3f0,_0xfe9e2c:0x40f,_0x2d134e:0x520,_0x24976a:0x7d,_0xd2c2b7:0x8,_0x4041cf:0x6e},_0x262897={_0x371049:0x1c5},_0x43631a=_0x12ebc1[_0x1e1fdc(0x6a1,0x56d,0x58c,_0x32c837._0x302479)]?stripAnsiAndControls(_0x441075):_0x441075;if(_0x43631a[_0x3d41a2(-_0x32c837._0x10067,-_0x32c837._0x1e83b1,_0x32c837._0xc0b577,-0x18e)]===0x0)return;_0x12ebc1[_0x1e1fdc(_0x32c837._0x10744e,_0x32c837._0x4f4954,_0x32c837._0x2a88fa,_0x32c837._0x4467d4)]['push'](_0x43631a),_0x12ebc1[_0x1e1fdc(_0x32c837._0x2b28ca,0x3fd,_0x32c837._0x5b3571,_0x32c837._0x225958)]+=_0x43631a[_0x1e1fdc(_0x32c837._0x4e0480,0x45b,0x353,0x420)];function _0x1e1fdc(_0xeb2020,_0x3f5f6a,_0x4b69f3,_0x5e79ed){return _0xab9513(_0x5e79ed- -0x1bc,_0x3f5f6a-0x16e,_0x4b69f3-_0x262897._0x371049,_0x3f5f6a);}_0x12ebc1['totalProduced']+=_0x43631a[_0x3d41a2(-0x57,-0xc1,-0xc3,0x8d)];function _0x3d41a2(_0xa4f839,_0x3957e6,_0x5d9df3,_0x59f9b8){return _0xab9513(_0x3957e6- -0x69d,_0x3957e6-0x135,_0x5d9df3-0x83,_0xa4f839);}while(_0x12ebc1[_0x3d41a2(_0x32c837._0x42766d,-0x2b,-0xd6,-0x182)]>this[_0x1e1fdc(0x2a5,0x1d8,_0x32c837._0x5f1073,_0x32c837._0x3beba2)]){const _0x368b1f=_0x12ebc1[_0x1e1fdc(0x54c,0x43f,0x5a0,_0x32c837._0x225958)]-this['capChars'],_0x3824ef=_0x12ebc1['buffer'][0x0];_0x3824ef[_0x1e1fdc(0x317,0x52f,0x535,0x420)]<=_0x368b1f?(_0x12ebc1[_0x1e1fdc(_0x32c837._0x56915c,0x315,0x331,0x2b4)][_0x3d41a2(-_0x32c837._0x4df3f9,-_0x32c837._0x31fd88,0xec,-_0x32c837._0x69067f)](),_0x12ebc1[_0x3d41a2(-0x13d,-_0x32c837._0x20c346,-0x61,0xde)]-=_0x3824ef[_0x1e1fdc(0x4c8,_0x32c837._0x23401a,_0x32c837._0x59667b,_0x32c837._0x2ad79f)],_0x12ebc1['totalDropped']+=_0x3824ef['length']):(_0x12ebc1[_0x3d41a2(-_0x32c837._0x52d99b,-_0x32c837._0x47917b,-0x2bd,-0x30d)][0x0]=_0x3824ef[_0x1e1fdc(0x3fb,_0x32c837._0x854690,0x59f,0x42a)](_0x368b1f),_0x12ebc1[_0x1e1fdc(_0x32c837._0xfe9e2c,0x4ad,_0x32c837._0x2d134e,_0x32c837._0x225958)]-=_0x368b1f,_0x12ebc1[_0x3d41a2(0x1f,-_0x32c837._0x24976a,-_0x32c837._0xd2c2b7,_0x32c837._0x4041cf)]+=_0x368b1f);}}[_0x32992d(0x4d8,0x5d4,0x447,0x532)](){const _0x46f5e4={_0x13bde5:0x336,_0x2e1c76:0x228,_0x1c8034:0x355,_0x37a425:0x45d,_0x48d7fa:0x198,_0x1e63d9:0x265,_0x239e3a:0x47a,_0x415557:0x2d0,_0xf6b246:0x36d,_0x535903:0x2c7,_0x562973:0x4c6,_0x53a693:0x4b7,_0x54c0c9:0x388},_0xbf4553={_0x405842:0x13e},_0x19bc45={_0x35daa3:0x1d8,_0x5ed6f8:0x1ed};function _0x4de731(_0x3b0740,_0x583601,_0x4bb449,_0x141836){return _0x32992d(_0x3b0740-_0x19bc45._0x35daa3,_0x583601,_0x4bb449-_0x19bc45._0x5ed6f8,_0x4bb449- -0x2a8);}if(this['entries'][_0x4de731(0xc7,_0x46f5e4._0x13bde5,_0x46f5e4._0x2e1c76,_0x46f5e4._0x1c8034)]<=this[_0x4de731(0x2d0,0x312,0x2a8,0x280)])return;function _0x3e0c02(_0x4e5fb9,_0x249dac,_0x1133c3,_0x4ebd59){return _0xab9513(_0x4ebd59- -0x256,_0x249dac-0x9a,_0x1133c3-_0xbf4553._0x405842,_0x249dac);}for(const [_0x221eff,_0x4b0389]of this[_0x4de731(_0x46f5e4._0x37a425,_0x46f5e4._0x48d7fa,0x2e2,0x35e)]){if(_0x4b0389[_0x4de731(_0x46f5e4._0x1e63d9,_0x46f5e4._0x239e3a,0x3dc,0x420)]!==_0x4de731(0x394,_0x46f5e4._0x415557,0x36e,0x487)){this[_0x4de731(_0x46f5e4._0xf6b246,0x1ff,0x2e2,0x2dd)][_0x3e0c02(_0x46f5e4._0x535903,_0x46f5e4._0x562973,_0x46f5e4._0x53a693,_0x46f5e4._0x54c0c9)](_0x221eff);return;}}}};function createBashOutputTool(_0x1bfbae){const _0x535a6c={_0x4af9dc:0x134,_0x27a9bd:0x170,_0x755f1:0x265,_0x3b4bda:0x5aa,_0x5d10bf:0x5fd,_0x281f5a:0x41c,_0x1130f0:0x1ed,_0x16b114:0x65,_0x161fb3:0xa6},_0x24ed88={_0x3a5b1e:0x5da,_0x2ad1be:0x6e8,_0x55fdfb:0x6f4,_0x6681dd:0x33a,_0x4babe3:0x557,_0x196513:0x54c,_0x4c9c68:0x5a4,_0xbf2091:0x5ad,_0x32f01b:0x7e2,_0x482212:0x27f,_0x570d09:0x171,_0x4aa767:0x3d0,_0x17582c:0x69f,_0x4ac524:0x63f,_0x530f5e:0x78c,_0x4212f0:0x2fd,_0x3b43e3:0x36a},_0x19282e={_0x87c635:0x29},_0x47cef1={_0x281811:0x100,_0x3f64c8:0x173},_0x3ebe7b={_0x587d6a:0xa3},_0x1409ea={_0x52cc0c:0x54f,_0x5dd26c:0x6b};function _0x21b6aa(_0x5d4f0c,_0x4bb8a8,_0x118b6d,_0x43398f){return _0xab9513(_0x118b6d- -_0x1409ea._0x52cc0c,_0x4bb8a8-_0x1409ea._0x5dd26c,_0x118b6d-0x116,_0x5d4f0c);}const {registry:_0x57cdb7}=_0x1bfbae;function _0x73ca12(_0x176263,_0x65416f,_0x509d57,_0x39dc60){return _0xab9513(_0x509d57- -0x100,_0x65416f-0x19,_0x509d57-_0x3ebe7b._0x587d6a,_0x39dc60);}return defineTool({'name':_0x21b6aa(0xbe,_0x535a6c._0x4af9dc,_0x535a6c._0x27a9bd,_0x535a6c._0x755f1),'description':_0x73ca12(0x6f9,0x63e,_0x535a6c._0x3b4bda,0x72d),'inputSchema':{'type':_0x73ca12(_0x535a6c._0x5d10bf,0x54c,0x635,0x5cb),'properties':{'shellId':{'type':'string'},'regex':{'type':_0x73ca12(0x62c,_0x535a6c._0x281f5a,0x579,0x5f9)}},'required':[_0x21b6aa(_0x535a6c._0x1130f0,_0x535a6c._0x16b114,_0x535a6c._0x161fb3,0x2f)]},async *'execute'(_0x5b70d6){function _0x138008(_0x417af0,_0x450e8f,_0x3aa4a0,_0x286c4a){return _0x21b6aa(_0x3aa4a0,_0x450e8f-_0x47cef1._0x281811,_0x286c4a-0x5ba,_0x286c4a-_0x47cef1._0x3f64c8);}function _0x35cccb(_0x56f90d,_0x3bbe6f,_0x25396a,_0x413adf){return _0x73ca12(_0x56f90d-_0x19282e._0x87c635,_0x3bbe6f-0x5f,_0x56f90d- -0x1ce,_0x413adf);}const _0xdb9bbf=_0x57cdb7['read'](_0x5b70d6[_0x138008(0x71c,_0x24ed88._0x3a5b1e,_0x24ed88._0x2ad1be,0x660)],_0x5b70d6[_0x138008(0x692,_0x24ed88._0x55fdfb,0x87d,0x783)]?{'regex':_0x5b70d6[_0x35cccb(0x44a,0x456,_0x24ed88._0x6681dd,0x2d8)]}:void 0x0);return createToolOutput(_0xdb9bbf[_0x138008(_0x24ed88._0x4babe3,0x5cb,_0x24ed88._0x196513,0x641)],{'shellId':_0x5b70d6[_0x138008(_0x24ed88._0x4c9c68,_0x24ed88._0xbf2091,_0x24ed88._0x32f01b,0x660)],'status':_0xdb9bbf[_0x35cccb(0x3b1,0x2af,0x42f,0x490)],'exitCode':_0xdb9bbf[_0x35cccb(_0x24ed88._0x482212,_0x24ed88._0x570d09,_0x24ed88._0x4aa767,0x1ca)],'signal':_0xdb9bbf[_0x138008(0x660,_0x24ed88._0x17582c,_0x24ed88._0x4ac524,_0x24ed88._0x530f5e)],'truncated':_0xdb9bbf[_0x35cccb(0x354,_0x24ed88._0x4212f0,0x445,_0x24ed88._0x3b43e3)]});}});}import{spawn as _0x3e6a6b}from'child_process';import{statSync}from'fs';import*as _0x179039 from'os';import*as _0x5d95e3 from'path';import{StringDecoder as _0x25e3aa}from'string_decoder';import{stat}from'fs/promises';import*as _0x42f089 from'path';function isPathInside(_0x35e331,_0x539649){const _0x2c1c63={_0x794975:0x83,_0x3d83cf:0x14,_0x2a4fd4:0x17e,_0x1b6213:0x253,_0xbad679:0x4c2,_0x189737:0x3a2,_0x51e651:0x3fd,_0x5adb87:0x183,_0x47adb6:0x1b},_0x4b8ad8={_0x4ef003:0x4e3,_0x137132:0x114};function _0x6e47f7(_0x3fcc58,_0x57ffec,_0x1838c3,_0x470f55){return _0x32992d(_0x3fcc58-0x83,_0x57ffec,_0x1838c3-0x177,_0x1838c3- -0x12b);}function _0x429bfc(_0x5cd76a,_0x2f7b7e,_0x5b5d40,_0x31c196){return _0xab9513(_0x5b5d40- -_0x4b8ad8._0x4ef003,_0x2f7b7e-0xeb,_0x5b5d40-_0x4b8ad8._0x137132,_0x31c196);}const _0x4ba66c=_0x42f089[_0x429bfc(-_0x2c1c63._0x794975,-0xd6,-_0x2c1c63._0x3d83cf,0xc6)](_0x35e331),_0x6e3d67=_0x42f089[_0x429bfc(0x17a,_0x2c1c63._0x2a4fd4,_0x2c1c63._0x1b6213,0x1d9)](_0x4ba66c,_0x539649);return _0x6e3d67===''||!_0x6e3d67[_0x6e47f7(_0x2c1c63._0xbad679,_0x2c1c63._0x189737,_0x2c1c63._0x51e651,0x48d)]('..')&&!_0x42f089[_0x429bfc(-0xd2,_0x2c1c63._0x5adb87,_0x2c1c63._0x47adb6,-0x15d)](_0x6e3d67);}function resolveWorkspacePath(_0x36bb1e,_0x195ee6){return resolveAllowedPath(_0x36bb1e,[],_0x195ee6);}function resolveAllowedPath(_0xe20578,_0x4d3614,_0x134fe1){const _0x51671c={_0x4a221a:0x197,_0x42e369:0xd0,_0x2ea0a6:0x84,_0x5a32a1:0x6,_0x20dc77:0x7d,_0x5ee04a:0x146,_0x28b2ef:0x27f,_0x2dea2b:0x1d3},_0x3d4e51={_0x373bfe:0x31},_0x3da724={_0x27cfdc:0x176,_0x1cf0f8:0x33d};function _0x4c3435(_0x1aa962,_0x5e0580,_0x1dada3,_0x280c02){return _0x32992d(_0x1aa962-0x164,_0x280c02,_0x1dada3-_0x3da724._0x27cfdc,_0x5e0580- -_0x3da724._0x1cf0f8);}const _0x595659=_0x42f089[_0x4c3435(0x18d,_0x51671c._0x4a221a,0x23e,0x1fc)](_0xe20578),_0x19498b=_0x42f089[_0x1ed57c(-_0x51671c._0x42e369,-_0x51671c._0x2ea0a6,-0xbd,-_0x51671c._0x5a32a1)](_0x595659,_0x134fe1),_0x331ed2=[_0x595659,..._0x4d3614['map'](_0x507515=>_0x42f089[_0x1ed57c(-0xd0,-0x1e3,-0x133,0x8a)](_0x507515))];function _0x1ed57c(_0x2be8ed,_0x54672c,_0x4074ad,_0x525de7){return _0x32992d(_0x2be8ed-_0x3d4e51._0x373bfe,_0x54672c,_0x4074ad-0x6d,_0x2be8ed- -0x5a4);}if(_0x331ed2[_0x1ed57c(-_0x51671c._0x20dc77,-_0x51671c._0x5ee04a,0x19,-0xfc)](_0x4fcec1=>isPathInside(_0x4fcec1,_0x19498b)))return _0x19498b;throw new ToolExecutionError(_0x4c3435(_0x51671c._0x28b2ef,0x161,_0x51671c._0x2dea2b,0x69)+_0x134fe1,{'path':_0x134fe1,'rootDir':_0x595659,'allowedDirs':_0x331ed2});}async function assertWorkspaceFile(_0x372317){const _0x4d84a9={_0x139586:0x10,_0x3d32b1:0x43},_0x57a641={_0x186b2d:0x14b,_0x1126dc:0x31},_0x3976ed={_0x13dcdd:0x69},_0x324af8=await stat(_0x372317);function _0x38ab38(_0x496a94,_0x1eae20,_0x2d324d,_0x56fa6d){return _0x32992d(_0x496a94-0x16c,_0x2d324d,_0x2d324d-_0x3976ed._0x13dcdd,_0x496a94- -0x3fe);}function _0x3454b2(_0x5ba916,_0x496313,_0x45204c,_0x5c247a){return _0xab9513(_0x45204c- -0x68a,_0x496313-_0x57a641._0x186b2d,_0x45204c-_0x57a641._0x1126dc,_0x5ba916);}if(!_0x324af8[_0x38ab38(0xb6,_0x4d84a9._0x139586,_0x4d84a9._0x3d32b1,-0x56)]())throw new ToolExecutionError(_0x38ab38(0x255,0x255,0x36f,0x23f)+_0x372317,{'path':_0x372317});}function isProbablyBinary(_0x361643){const _0x17dd0f={_0x121f6d:0x27b},_0x2df18c={_0x138864:0x3e1};function _0x22e2a7(_0x4d0e5f,_0x5bbe91,_0x83f48d,_0xdda3e3){return _0xab9513(_0x83f48d- -_0x2df18c._0x138864,_0x5bbe91-0x58,_0x83f48d-0x123,_0xdda3e3);}return _0x361643[_0x22e2a7(0x4b9,0x3d1,0x34c,_0x17dd0f._0x121f6d)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0xab9513(0x49d,0x4c2,0x4ba,0x5a7)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0xeb7a9b,_0x162628){const _0x11ed46={_0x278c39:0x93,_0x53d771:0xc6,_0x1cc487:0x1e2,_0x4ff92d:0xc0,_0x544a89:0x25,_0x6bae71:0x1f6,_0x584fe8:0x24a,_0x3053c8:0x106,_0x3b1d8b:0xa,_0x40bdad:0x148,_0x390feb:0x234,_0x161eda:0x16c,_0xbb0c4d:0x27f},_0x5e9922={_0x48da32:0x15c},_0x9ca026={_0x3b27d6:0x606};function _0x86db98(_0x142e93,_0x409c0c,_0x329566,_0x9cc4f){return _0x32992d(_0x142e93-0x14b,_0x9cc4f,_0x329566-0x1b1,_0x329566- -_0x9ca026._0x3b27d6);}function _0x326aba(_0x1b1cde,_0x145315,_0x29f25b,_0x312e25){return _0xab9513(_0x312e25- -0x46d,_0x145315-_0x5e9922._0x48da32,_0x29f25b-0x6d,_0x1b1cde);}const _0xb16407={...process[_0x86db98(-_0x11ed46._0x278c39,0x52,_0x11ed46._0x53d771,_0x11ed46._0x1cc487)],..._0xeb7a9b??{}};if(_0x162628[_0x86db98(-_0x11ed46._0x4ff92d,-0x10f,-_0x11ed46._0x544a89,-0x11c)]===0x0)return _0xb16407;if(_0x179039['platform']()===_0x86db98(-_0x11ed46._0x6bae71,0x79,-0xfd,-_0x11ed46._0x584fe8)){const _0x25512a=new Set(_0x162628[_0x86db98(_0x11ed46._0x3053c8,0x8c,-_0x11ed46._0x3b1d8b,-_0x11ed46._0x40bdad)](_0xd0c1be=>_0xd0c1be['toLowerCase']()));for(const _0x3b7677 of Object['keys'](_0xb16407)){if(_0x25512a[_0x86db98(_0x11ed46._0x390feb,_0x11ed46._0x161eda,0x104,_0x11ed46._0xbb0c4d)](_0x3b7677['toLowerCase']()))delete _0xb16407[_0x3b7677];}}else{for(const _0x3e5421 of _0x162628)delete _0xb16407[_0x3e5421];}return _0xb16407;}function mapSpawnError(_0x12e843,_0x1c9135){const _0x2bc9af={_0x3e7c0b:0x64a,_0x4cf6c0:0x441,_0x1bcf28:0x40f,_0xc0b32b:0x395,_0x57a558:0x48d,_0x56b1d5:0x6fc,_0x421a11:0x589,_0x379822:0x45f,_0x4833bd:0x4e7},_0x1276e4={_0x4752db:0x14f,_0x55caa8:0x1dc},_0x124af6={_0x203f5a:0x178};function _0x23d8ea(_0x3043ef,_0x571136,_0x3ed4dc,_0x55089d){return _0x32992d(_0x3043ef-0x7c,_0x571136,_0x3ed4dc-_0x124af6._0x203f5a,_0x3ed4dc- -0x130);}function _0xe724ab(_0x40b250,_0x30bf28,_0x4582f7,_0x197ec4){return _0xab9513(_0x40b250-0xd,_0x30bf28-_0x1276e4._0x4752db,_0x4582f7-_0x1276e4._0x55caa8,_0x197ec4);}if(isErrnoException(_0x12e843)&&_0x12e843[_0xe724ab(0x687,0x755,0x527,_0x2bc9af._0x3e7c0b)]===_0x23d8ea(_0x2bc9af._0x4cf6c0,_0x2bc9af._0x1bcf28,_0x2bc9af._0xc0b32b,0x430))return new ToolExecutionError(_0x23d8ea(_0x2bc9af._0x57a558,_0x2bc9af._0x56b1d5,0x582,_0x2bc9af._0x421a11)+_0x1c9135['shellPath'],_0x1c9135);return new ToolExecutionError(_0x12e843 instanceof Error?_0x12e843[_0x23d8ea(0x4f0,_0x2bc9af._0x379822,_0x2bc9af._0x4833bd,0x3a0)]:String(_0x12e843),_0x1c9135);}function shellExists(_0x1c8e9c){const _0x7918db={_0x5ad897:0xcb,_0xe19975:0x66},_0x1376a1={_0x20cbf1:0x3c8};function _0x4a8492(_0x106390,_0x379f19,_0x26e3a9,_0x4970e7){return _0x32992d(_0x106390-0x165,_0x106390,_0x26e3a9-0x41,_0x379f19- -_0x1376a1._0x20cbf1);}try{const _0x2ccfec=statSync(_0x1c8e9c);return _0x2ccfec[_0x4a8492(_0x7918db._0x5ad897,0xec,_0x7918db._0xe19975,0x1d9)]()&&(_0x2ccfec['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3b66aa){const _0x4ff0b6={_0x26d1b6:0x12d,_0x1e7bb2:0xb6,_0x251c39:0x5d8,_0x562b4b:0x1e2,_0x10e47b:0x1ef,_0x39af26:0x1e7,_0x287eb2:0x156,_0x12c2ef:0x378,_0x30bd01:0x2c2,_0x32d1f4:0x536},_0x52a0c8={_0x573367:0x1ee,_0x304588:0x613};if(_0x3b66aa)return _0x3b66aa;if(_0x179039[_0x46edaf(-0xfe,0x1a,-_0x4ff0b6._0x26d1b6,-0x44)]()===_0x46edaf(-0x16d,-0x10a,-0xb6,-0x171))return process[_0x46edaf(_0x4ff0b6._0x1e7bb2,0xb9,-0x42,0x13f)][_0x38d71f(_0x4ff0b6._0x251c39,0x57a,0x4bb,0x387)]||_0x46edaf(-_0x4ff0b6._0x562b4b,-0x132,-_0x4ff0b6._0x10e47b,-0xce);const _0x462e84=[_0x38d71f(0x158,0x363,0x269,0x14f),_0x46edaf(_0x4ff0b6._0x39af26,_0x4ff0b6._0x287eb2,0x44,0x53),'/usr/bin/bash',_0x38d71f(_0x4ff0b6._0x12c2ef,_0x4ff0b6._0x30bd01,0x3cb,_0x4ff0b6._0x32d1f4)];for(const _0x1bfd5c of _0x462e84){if(shellExists(_0x1bfd5c))return _0x1bfd5c;}function _0x38d71f(_0x15a34c,_0x52ea8d,_0x43ac0c,_0x2bebf7){return _0x32992d(_0x15a34c-0x124,_0x52ea8d,_0x43ac0c-0x182,_0x43ac0c- -0x28f);}const _0x533a88=process['env'][_0x46edaf(-0x1bd,-0x1b0,-0x20d,-0x38)];if(_0x533a88&&shellExists(_0x533a88))return _0x533a88;function _0x46edaf(_0x555e58,_0x143376,_0x18faab,_0x298b34){return _0x32992d(_0x555e58-0x77,_0x555e58,_0x18faab-_0x52a0c8._0x573367,_0x143376- -_0x52a0c8._0x304588);}return'/bin/bash';}function buildShellArgs(_0x1405ee,_0xfecc87){const _0x4a8682={_0x386939:0x51e,_0x5bdf68:0x335,_0x18436d:0x7c,_0x56754b:0x466,_0x53d8f8:0x5b9},_0x4c6de4={_0x56a8a2:0x21b,_0x1cbbef:0x1be,_0xd6b736:0xf7};if(_0x179039[_0x2e5832(0x40d,_0x4a8682._0x386939,0x4c6,_0x4a8682._0x5bdf68)]()===_0x3d9c98(_0x4a8682._0x18436d,-0xb9,-0x85,-0x6a)){const _0x2c12a8=/cmd(\.exe)?$/i[_0x2e5832(0x4d4,0x59c,_0x4a8682._0x56754b,_0x4a8682._0x53d8f8)](_0xfecc87);return _0x2c12a8?['/d','/s','/c',_0x1405ee]:['-NoLogo',_0x2e5832(0x2a9,0x361,0x302,0x15a),'-Command',_0x1405ee];}function _0x3d9c98(_0x2a85f0,_0x32d927,_0x5bb328,_0x33a656){return _0x32992d(_0x2a85f0-0x10e,_0x33a656,_0x5bb328-0x99,_0x2a85f0- -0x48d);}function _0x2e5832(_0x20f061,_0x1b85be,_0xb63c16,_0x3e955d){return _0xab9513(_0x20f061- -_0x4c6de4._0x56a8a2,_0x1b85be-_0x4c6de4._0x1cbbef,_0xb63c16-_0x4c6de4._0xd6b736,_0x1b85be);}return['-c',_0x1405ee];}function resolveWorkingDirectory(_0x3570b6,_0x34d04a,_0x431e77){const _0x35aa50={_0x4771c7:0x8c4,_0x3db9b9:0x91d,_0x138725:0x7f6,_0x558a3a:0x149},_0x27ffaa={_0x37b21f:0x66};function _0x41755d(_0x2d39c4,_0x52722c,_0x2996d4,_0x40dd7d){return _0xab9513(_0x2996d4-_0x27ffaa._0x37b21f,_0x52722c-0x136,_0x2996d4-0x2f,_0x2d39c4);}const _0x116828=resolveAllowedPath(_0x34d04a,_0x431e77,_0x3570b6??'.');function _0x195663(_0x54374a,_0x5ddc5c,_0x545213,_0x45fe96){return _0xab9513(_0x45fe96- -0x60e,_0x5ddc5c-0x93,_0x545213-0xcc,_0x54374a);}try{const _0x337ed7=statSync(_0x116828);if(!_0x337ed7['isDirectory']())throw new ToolExecutionError(_0x41755d(_0x35aa50._0x4771c7,_0x35aa50._0x3db9b9,0x798,_0x35aa50._0x138725)+_0x116828,{'cwd':_0x116828});return _0x116828;}catch(_0x246cb6){if(_0x246cb6 instanceof ToolExecutionError)throw _0x246cb6;throw new ToolExecutionError(_0x195663(-0x12f,-_0x35aa50._0x558a3a,0x12,-0x24)+_0x116828,{'cwd':_0x116828});}}function appendChunk(_0x16778d,_0x51dadf,_0x184834,_0x789093,_0x1a5523){const _0x5e8e19={_0x1ce769:0x377},_0x1fafeb={_0xf1021c:0x40},_0x1dfc62=_0x789093?stripAnsiAndControls(_0x184834):_0x184834;if(_0x1dfc62[_0x1293db(0x3a2,0x425,_0x5e8e19._0x1ce769,0x446)]===0x0)return;_0x16778d['push'](_0x1dfc62),_0x51dadf['push'](_0x1dfc62);function _0x1293db(_0x571868,_0x1f3655,_0x3f7af2,_0x539e01){return _0x32992d(_0x571868-0xa4,_0x571868,_0x3f7af2-_0x1fafeb._0xf1021c,_0x539e01- -0x19b);}_0x1a5523();}function createBashTool(_0x19b4b5={}){const _0x5b90ab={_0x4d00c6:0x1ed,_0x5a43a5:0x28f,_0xf74ed:0x294,_0x4a5c28:0x147,_0x48c96e:0x118,_0x321326:0x26c,_0x183cfe:0x135,_0x48d08e:0x38,_0x74fdb9:0x1e3,_0x23a5dc:0x2f7,_0xf2af9:0x1b8,_0x34aef:0x1f7,_0xbca3fc:0x1bd,_0x1a9a6d:0x388,_0x4a4363:0x254,_0x142aaf:0x2cc,_0x5593a4:0x1b,_0xd4ab26:0x4e,_0x135e7d:0x196,_0x55b4e2:0x164,_0x44b390:0x72,_0x127582:0x47,_0x48367c:0x227,_0x1d3cec:0x246,_0x361885:0x2bc,_0x24e80b:0xdd,_0x1dbe8d:0x5e,_0x530605:0x109},_0x5ebee6={_0x405aa0:0x6a3,_0x484e84:0x752,_0x499dc5:0x7aa,_0xa4f5de:0x712,_0x1d2086:0x5cb,_0x278a49:0x606,_0x42715a:0x5c7,_0x5b27bd:0x6d8,_0x4ae03a:0x85c,_0x47a380:0x769,_0xa68fdd:0x666,_0x4a6a16:0x684,_0x4a64c1:0x48f,_0x1d74aa:0x5f1,_0x23f71f:0x57e,_0x2d70fe:0x457,_0x2f41d:0x791,_0x291870:0x755,_0x443a48:0x6fa,_0x496976:0x6d8,_0x25ecfe:0x6dc,_0x1c8843:0x741,_0x3a0aa2:0x6ee,_0x171d06:0x670,_0x2e39ef:0x640,_0x3b6bfc:0x713,_0x1c0ab1:0x7c8,_0x56cb8d:0x761,_0x7661cd:0x667,_0x1fbf31:0x696,_0x2bc254:0x6fd,_0x24d3f3:0x5f7,_0x16a1c0:0x6b3,_0x3067de:0x6c7,_0x281235:0x70f,_0x1e8537:0x5ee,_0x1ca323:0x6bc,_0x53a56e:0x612,_0xe0785f:0x560,_0x4d270d:0x558,_0x20fdfb:0x5e6,_0x4c9579:0x7f8,_0x1be676:0x756,_0x1a83d7:0x552,_0x1b7ae4:0x671,_0x7bed55:0x3fb,_0x19fa5:0x64a,_0x3f6e45:0x613,_0x329492:0x6d1,_0x262990:0x619,_0x2c108f:0x563,_0x2c356f:0x55d,_0x42f412:0x838,_0x47181a:0x5cf,_0x214da0:0x5a4,_0x22a07b:0x43b,_0x53ef48:0x5d2,_0x21206e:0x65e,_0x3d590d:0x722,_0x12144b:0x616,_0x499c52:0x6c0,_0x2140d3:0x6c7,_0x35a1e1:0x805,_0x5d56b8:0x582,_0x375c00:0x6d8,_0x40fde2:0x671,_0x330e51:0x646,_0xac73dd:0x692,_0x2ccc92:0x575,_0x12c5ab:0x5c9,_0x567629:0x550,_0x13c982:0x5a8,_0x119777:0x575,_0x37f9ac:0x4f4,_0x23f994:0x4a3,_0x4d04e9:0x62a,_0x4c8b1d:0x4fc,_0x19b2fc:0x460,_0x5e9c4f:0x52b,_0xec7823:0x62d,_0x2bd299:0x6e7,_0x3e9875:0x7cc,_0x4b4d37:0x3b4,_0x42590d:0x587,_0x2e4a5b:0x515,_0x2637c4:0x655,_0x1798d5:0x5ee,_0x4b9825:0x478,_0x18b5c5:0x5db,_0x554896:0x7b1,_0x2572dd:0x74c,_0x1ac8c8:0x75d,_0x37509a:0x538,_0xb88636:0x624,_0x352556:0x734,_0x221b8f:0x5af,_0x1f0b76:0x643,_0xc26b40:0x6c4,_0x35e662:0x5da,_0x343025:0x6e7,_0x55a4b7:0x7c3,_0x3922a7:0x4cd,_0x335941:0x593,_0x2438a9:0x809,_0x25beb0:0x593,_0x42c4fd:0x740,_0x3f7e5a:0x6c2,_0x427a42:0x900,_0x3b5d0b:0x3e8,_0x2711a3:0x3b3,_0x53f319:0x47f,_0x4c8249:0x7c6,_0x5c1a35:0x815,_0x61579f:0x649,_0x3563bf:0x7a2,_0x4b0889:0x807,_0x1a5348:0x65f,_0x1b85c1:0x4fe,_0x2bea3f:0x3c0,_0x32beaa:0x58e,_0xbea94c:0x553,_0x115c2a:0x53c,_0x493c63:0x5ca,_0x1666d6:0x44a},_0x3e0c85={_0x1fba94:0x3f1,_0x2eb46c:0x417,_0xf2009d:0x3d6,_0x5e4ee4:0x2cb,_0x429edb:0x23f,_0x59b8cc:0x2ea,_0x22153c:0x1f7,_0x342d7f:0x2dc,_0x3b7f2c:0x27d},_0xae90c1={_0x5d0136:0x749,_0x237424:0x57b,_0x3542ec:0x5de,_0x5376df:0x556,_0x438e2d:0x3f3,_0x25203a:0x41a},_0x5963db={_0x2f301f:0x45,_0x599d71:0xe8,_0x2d2e48:0x8a},_0x3385db={_0x2a90eb:0x634,_0x4f3574:0x6cc,_0x2d2161:0x793},_0x4c7781={_0x3ac450:0x67a},_0x3f2f06={_0x1982de:0xe1,_0x274000:0xc6},_0x1f9932={_0x36c099:0x23};function _0x2cf34b(_0x1cafae,_0x1ffd1f,_0x49b9c6,_0x328f25){return _0xab9513(_0x1cafae- -0x3ad,_0x1ffd1f-_0x1f9932._0x36c099,_0x49b9c6-0x1b5,_0x49b9c6);}const _0x64091e=_0x5d95e3['resolve'](_0x19b4b5[_0x4208bd(-0x226,-0xd6,-0x1cb,-_0x5b90ab._0x4d00c6)]??process[_0x2cf34b(_0x5b90ab._0x5a43a5,0x3af,_0x5b90ab._0xf74ed,0x1b7)]()),_0x54f90d=_0x19b4b5[_0x4208bd(0x20,-0x225,-_0x5b90ab._0x4a5c28,-_0x5b90ab._0x48c96e)]??[],_0x58dc37=_0x19b4b5['defaultTimeoutMs']??DEFAULT_TIMEOUT_MS,_0x5a3c86=_0x19b4b5[_0x4208bd(0xb6,_0x5b90ab._0x321326,0x124,0xdd)]??!![],_0xf4640b=_0x19b4b5[_0x2cf34b(_0x5b90ab._0x183cfe,0x2b4,_0x5b90ab._0x48d08e,_0x5b90ab._0x74fdb9)]??'Bash',_0x4ad3ad=_0x19b4b5['scrubEnvKeys']??[],_0x780f3d=_0x19b4b5[_0x2cf34b(0x250,0x109,_0x5b90ab._0x23a5dc,0x11b)];function _0x4208bd(_0x3751a7,_0x37e4d6,_0x30e2ac,_0x38e6d6){return _0x32992d(_0x3751a7-_0x3f2f06._0x1982de,_0x3751a7,_0x30e2ac-_0x3f2f06._0x274000,_0x30e2ac- -0x637);}return defineTool({'name':_0xf4640b,'description':_0x19b4b5[_0x2cf34b(_0x5b90ab._0xf2af9,_0x5b90ab._0x34aef,0xe9,_0x5b90ab._0xbca3fc)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x2cf34b(_0x5b90ab._0x1a9a6d,0x4ef,0x492,_0x5b90ab._0x4a4363),'properties':{'command':{'type':_0x2cf34b(_0x5b90ab._0x142aaf,0x2af,0x2b7,0x420)},'description':{'type':_0x4208bd(_0x5b90ab._0x5593a4,_0x5b90ab._0xd4ab26,0x47,_0x5b90ab._0x135e7d),'description':_0x4208bd(-0x23f,-_0x5b90ab._0x55b4e2,-0x175,-0x1a2)},'cwd':{'type':_0x4208bd(0xa5,-_0x5b90ab._0x44b390,_0x5b90ab._0x127582,0x19e)},'timeoutMs':{'type':_0x2cf34b(0x2ea,0x444,_0x5b90ab._0x48367c,_0x5b90ab._0x1d3cec)},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':_0x4208bd(-_0x5b90ab._0x361885,-_0x5b90ab._0x24e80b,-0x144,-0x174)}},'required':[_0x4208bd(-0x8e,0x11a,_0x5b90ab._0x1dbe8d,-_0x5b90ab._0x530605),_0x2cf34b(0x1b8,0x1a8,0x2d6,0x117)]},async *'execute'(_0x222bb3,_0x48958f){const _0x16ef58={_0x2c6ba3:0x52e,_0x427d99:0x5ef,_0x44e27f:0x6d9},_0x38bbe8={_0x47722b:0x2cc},_0x3fef0a={_0x164cca:0x3f3,_0x2a5ffc:0x3f9},_0x5e9527={_0x565dac:0x17b},_0x596367={_0xb7fb6d:0x69a,_0x12a9b5:0x1e8},_0xf7f0c2={_0x4d1c66:0xd8,_0x45126c:0xea},_0x3474aa=_0x222bb3[_0xc346b8(_0x5ebee6._0x405aa0,_0x5ebee6._0x484e84,0x709,_0x5ebee6._0x499dc5)]??_0x58dc37;if(!Number[_0xbfc5ff(0x74a,0x5aa,_0x5ebee6._0xa4f5de,_0x5ebee6._0x1d2086)](_0x3474aa)||_0x3474aa<0x1)throw new ToolExecutionError(_0xbfc5ff(_0x5ebee6._0x278a49,0x78d,0x717,0x756),{'command':_0x222bb3[_0xbfc5ff(0x5ae,_0x5ebee6._0x42715a,_0x5ebee6._0x5b27bd,0x858)]});throwIfAborted(_0x48958f[_0xbfc5ff(_0x5ebee6._0x4ae03a,0x8c8,_0x5ebee6._0x47a380,_0x5ebee6._0xa68fdd)]);const _0x288379=resolveWorkingDirectory(_0x222bb3[_0xbfc5ff(0x580,0x7f6,_0x5ebee6._0x4a6a16,0x788)],_0x64091e,_0x54f90d),_0x3a11dc=_0x222bb3[_0xbfc5ff(_0x5ebee6._0x4a64c1,_0x5ebee6._0x1d74aa,_0x5ebee6._0x23f71f,_0x5ebee6._0x2d70fe)]??![],_0x33ce84=resolveDefaultShell(_0x19b4b5[_0xbfc5ff(0x757,0x860,_0x5ebee6._0x2f41d,_0x5ebee6._0x291870)]),_0x1b2054=buildShellArgs(_0x222bb3[_0xbfc5ff(0x78d,_0x5ebee6._0x443a48,_0x5ebee6._0x496976,_0x5ebee6._0x25ecfe)],_0x33ce84),_0x43b0cd=_0x179039[_0xbfc5ff(_0x5ebee6._0x1c8843,_0x5ebee6._0x3a0aa2,_0x5ebee6._0x171d06,0x7a9)]()==='win32';if(_0x222bb3[_0xc346b8(_0x5ebee6._0x2e39ef,0x5e1,_0x5ebee6._0x3b6bfc,0x4e3)]){if(!_0x780f3d)throw new ToolExecutionError(_0xbfc5ff(_0x5ebee6._0x1c0ab1,_0x5ebee6._0x56cb8d,_0x5ebee6._0x7661cd,_0x5ebee6._0x1fbf31),{'command':_0x222bb3[_0xc346b8(_0x5ebee6._0x2bc254,0x723,0x6af,0x7d8)]});throwIfAborted(_0x48958f[_0xbfc5ff(_0x5ebee6._0x24d3f3,0x68b,0x769,0x7da)]);let _0x363133;try{_0x363133=_0x3e6a6b(_0x33ce84,_0x1b2054,{'cwd':_0x288379,'env':buildChildEnv(_0x19b4b5[_0xbfc5ff(_0x5ebee6._0x16a1c0,_0x5ebee6._0x3067de,_0x5ebee6._0x281235,_0x5ebee6._0x1e8537)],_0x4ad3ad),'stdio':[_0xc346b8(0x575,_0x5ebee6._0x1ca323,_0x5ebee6._0x53a56e,0x50e),_0xbfc5ff(0x5e4,_0x5ebee6._0xe0785f,0x4d7,_0x5ebee6._0x4d270d),_0xbfc5ff(_0x5ebee6._0x20fdfb,0x5f7,0x4d7,0x376)],'shell':![],'windowsHide':!![],'detached':!_0x43b0cd});}catch(_0xfed24a){throw mapSpawnError(_0xfed24a,{'command':_0x222bb3[_0xbfc5ff(0x6b9,0x771,_0x5ebee6._0x5b27bd,0x5bd)],'cwd':_0x288379,'shellPath':_0x33ce84});}let _0x34f387;try{_0x34f387=_0x780f3d[_0xbfc5ff(0x507,0x69a,0x5d7,0x49c)]({'child':_0x363133,'command':_0x222bb3[_0xbfc5ff(0x6d5,_0x5ebee6._0x4c9579,0x6d8,_0x5ebee6._0x1be676)],'cwd':_0x288379,'stripAnsi':_0x5a3c86});}catch(_0x3bdcb0){_0x363133[_0xc346b8(_0x5ebee6._0x1a83d7,_0x5ebee6._0x1b7ae4,_0x5ebee6._0x7bed55,_0x5ebee6._0x19fa5)](_0xbfc5ff(_0x5ebee6._0x3f6e45,_0x5ebee6._0x329492,_0x5ebee6._0x262990,0x761),()=>{});try{killProcessGroup(_0x363133,_0x43b0cd);}catch{}throw _0x3bdcb0;}return createToolOutput(_0xbfc5ff(0x64a,_0x5ebee6._0x2c108f,0x68e,_0x5ebee6._0x2c356f)+_0x34f387['shellId']+_0xbfc5ff(0x623,_0x5ebee6._0x42f412,0x6fb,0x844)+(_0x34f387[_0xc346b8(0x5a0,_0x5ebee6._0x47181a,_0x5ebee6._0x214da0,_0x5ebee6._0x22a07b)]??'?')+_0xbfc5ff(_0x5ebee6._0x53ef48,0x5b2,_0x5ebee6._0x21206e,_0x5ebee6._0x3d590d),{'shellId':_0x34f387[_0xc346b8(0x662,_0x5ebee6._0x12144b,0x57d,0x6b9)],'status':_0x34f387[_0xbfc5ff(_0x5ebee6._0x499c52,0x58d,_0x5ebee6._0x2140d3,_0x5ebee6._0x35a1e1)],'command':_0x34f387[_0xbfc5ff(_0x5ebee6._0x5d56b8,0x834,_0x5ebee6._0x375c00,0x689)],'description':_0x222bb3[_0xc346b8(0x5d2,_0x5ebee6._0x40fde2,0x625,0x501)],'cwd':_0x34f387[_0xbfc5ff(0x573,0x7a4,0x684,0x7fe)],'pid':_0x34f387[_0xbfc5ff(0x661,_0x5ebee6._0x330e51,0x57b,0x475)]??null});}let _0x4c2376;try{_0x4c2376=_0x3e6a6b(_0x33ce84,_0x1b2054,{'cwd':_0x288379,'env':buildChildEnv(_0x19b4b5[_0xbfc5ff(0x7d1,_0x5ebee6._0xac73dd,0x70f,0x708)],_0x4ad3ad),'stdio':_0x3a11dc?[_0xbfc5ff(0x69d,0x3dd,0x550,0x5d4),_0xc346b8(_0x5ebee6._0x2ccc92,0x6b6,_0x5ebee6._0x12c5ab,0x495),_0xbfc5ff(0x4e4,0x45c,_0x5ebee6._0x567629,_0x5ebee6._0x13c982)]:[_0xc346b8(_0x5ebee6._0x119777,0x60c,0x511,_0x5ebee6._0x37f9ac),_0xc346b8(0x4fc,0x50a,_0x5ebee6._0x23f994,_0x5ebee6._0x4d04e9),_0xc346b8(_0x5ebee6._0x4c8b1d,0x379,_0x5ebee6._0x19b2fc,_0x5ebee6._0x5e9c4f)],'shell':![],'windowsHide':!![],'detached':!_0x43b0cd});}catch(_0x1dbd9f){throw mapSpawnError(_0x1dbd9f,{'command':_0x222bb3[_0xc346b8(0x6fd,_0x5ebee6._0xec7823,_0x5ebee6._0x2bd299,_0x5ebee6._0x3e9875)],'cwd':_0x288379,'shellPath':_0x33ce84});}const _0x344477=[];function _0xc346b8(_0x3e51e3,_0x2ca44b,_0x446d83,_0x41da4e){return _0x4208bd(_0x2ca44b,_0x2ca44b-_0xf7f0c2._0x4d1c66,_0x3e51e3-0x69f,_0x41da4e-_0xf7f0c2._0x45126c);}const _0x2595b0=[],_0x3fb747=new _0x25e3aa('utf8'),_0x27a7e2=new _0x25e3aa('utf8');function _0xbfc5ff(_0x171ed,_0x306ca5,_0x4ac94c,_0x29bd6f){return _0x4208bd(_0x171ed,_0x306ca5-0x192,_0x4ac94c-_0x4c7781._0x3ac450,_0x29bd6f-0x100);}let _0x556252,_0x45e4df=![],_0x4c37f3;const _0x3ca682=()=>{if(!_0x556252)return;const _0x3d61a5=_0x556252;_0x556252=void 0x0,_0x3d61a5();},_0x8a3dec=async()=>{const _0x4ef8cb={_0x48b1e7:0x167,_0x1612c4:0x17a};if(_0x2595b0[_0x365330(_0x3385db._0x2a90eb,_0x3385db._0x4f3574,0x4c4,_0x3385db._0x2d2161)]>0x0||_0x45e4df)return;function _0x365330(_0x34cd03,_0x237e07,_0x1ad003,_0x25c05a){return _0xc346b8(_0x34cd03- -0x15,_0x237e07,_0x1ad003-_0x4ef8cb._0x48b1e7,_0x25c05a-_0x4ef8cb._0x1612c4);}await new Promise(_0x35aaf6=>{_0x556252=_0x35aaf6;});},_0x30bc56=_0x37bf08=>{function _0x544e0e(_0x188e70,_0x2a7e92,_0x442f41,_0xa14bcf){return _0xc346b8(_0x442f41- -_0x596367._0xb7fb6d,_0x2a7e92,_0x442f41-_0x596367._0x12a9b5,_0xa14bcf-0x1e2);}appendChunk(_0x344477,_0x2595b0,_0x3fb747[_0x544e0e(_0x5963db._0x2f301f,-0x120,-_0x5963db._0x599d71,_0x5963db._0x2d2e48)](_0x37bf08),_0x5a3c86,_0x3ca682);},_0x4e42fd=_0x533ee9=>{function _0x2f8d87(_0x17bea0,_0x189197,_0x4c127e,_0x49c83a){return _0xc346b8(_0x4c127e- -0x12a,_0x17bea0,_0x4c127e-_0x5e9527._0x565dac,_0x49c83a-0x16a);}appendChunk(_0x344477,_0x2595b0,_0x27a7e2[_0x2f8d87(0x467,_0x3fef0a._0x164cca,0x488,_0x3fef0a._0x2a5ffc)](_0x533ee9),_0x5a3c86,_0x3ca682);};_0x4c2376['stdout']?.['on'](_0xbfc5ff(_0x5ebee6._0x4b4d37,_0x5ebee6._0x42590d,0x52e,0x64d),_0x30bc56),_0x4c2376[_0xc346b8(_0x5ebee6._0x2e4a5b,_0x5ebee6._0x2637c4,_0x5ebee6._0x1798d5,0x518)]?.['on'](_0xbfc5ff(_0x5ebee6._0x4b9825,0x5a7,0x52e,_0x5ebee6._0x18b5c5),_0x4e42fd);let _0x53d062=![],_0x239152;const _0x3a1b88=addAbortListener(_0x48958f[_0xbfc5ff(_0x5ebee6._0x554896,0x736,0x769,_0x5ebee6._0x2572dd)],()=>{_0x4c37f3=toAbortError(_0x48958f[_0x5876c8(_0xae90c1._0x5d0136,_0xae90c1._0x237424,0x609,_0xae90c1._0x3542ec)][_0x5876c8(_0xae90c1._0x5376df,0x326,_0xae90c1._0x438e2d,_0xae90c1._0x25203a)]),_0x45e4df=!![];function _0x4679db(_0x4a6aec,_0x480747,_0x3c4bbf,_0x2f15fa){return _0xbfc5ff(_0x2f15fa,_0x480747-0x184,_0x480747- -0x696,_0x2f15fa-0x185);}function _0x5876c8(_0x31bf2b,_0x31ae48,_0x5d242d,_0x92a01b){return _0xc346b8(_0x92a01b- -0x1b0,_0x31bf2b,_0x5d242d-0xcd,_0x92a01b-0x1a4);}_0x3ca682();try{killProcessGroup(_0x4c2376,_0x43b0cd);}catch{}});try{const _0x5afeba=new Promise((_0x583a93,_0x9cf22b)=>{const _0x8b9654={_0x29f664:0x149},_0x467374={_0x5b9591:0xf8},_0x1a166d={_0x3c219b:0x3c0,_0x2802a3:0x4cc,_0x4d107d:0x250,_0x1bd9c6:0x5a,_0x104422:0x13,_0x35e828:0xad,_0x438055:0x341,_0x5d5628:0x3a7,_0x86a58b:0x290},_0x52f638={_0x47593e:0x20f},_0x1afcac=()=>{function _0x53f436(_0x2d5cf3,_0x477e57,_0x19ad0b,_0x4c6a4c){return _0x4161(_0x477e57-_0x52f638._0x47593e,_0x19ad0b);}_0x239152&&(clearTimeout(_0x239152),_0x239152=void 0x0);function _0x108677(_0x24161b,_0xf980d4,_0x155733,_0x353c7f){return _0x4161(_0x353c7f- -0x104,_0x155733);}_0x4c2376[_0x53f436(0x42c,_0x1a166d._0x3c219b,_0x1a166d._0x2802a3,_0x1a166d._0x4d107d)]('error',_0x43b732),_0x4c2376[_0x108677(0x213,-_0x1a166d._0x1bd9c6,-_0x1a166d._0x104422,_0x1a166d._0x35e828)](_0x53f436(_0x1a166d._0x438055,_0x1a166d._0x5d5628,_0x1a166d._0x86a58b,0x30c),_0x1fe2c6);};function _0x5c269e(_0x2f08a2,_0x37bd45,_0x45265d,_0x1dc554){return _0xc346b8(_0x1dc554- -0x268,_0x37bd45,_0x45265d-_0x467374._0x5b9591,_0x1dc554-0xb4);}const _0x43b732=_0x114c7a=>{_0x45e4df=!![],_0x3ca682(),_0x1afcac(),_0x9cf22b(_0x4c37f3??_0x114c7a);},_0x1fe2c6=(_0x2ba8b0,_0x3592d4)=>{function _0x97a27f(_0x56bba5,_0x370419,_0x2106f1,_0x4e6b61){return _0x4161(_0x370419-0x2a9,_0x56bba5);}_0x53d062=!![],appendChunk(_0x344477,_0x2595b0,_0x3fb747[_0x216e4e(0x188,_0x38bbe8._0x47722b,0x21c,0x2a7)](),_0x5a3c86,_0x3ca682),appendChunk(_0x344477,_0x2595b0,_0x27a7e2[_0x216e4e(0x1f7,0x353,0x21c,0x153)](),_0x5a3c86,_0x3ca682),_0x45e4df=!![];function _0x216e4e(_0x137a88,_0x26ac99,_0x5a9ac5,_0x859ae1){return _0x4161(_0x5a9ac5- -_0x8b9654._0x29f664,_0x137a88);}_0x3ca682(),_0x1afcac();if(_0x4c37f3){_0x9cf22b(_0x4c37f3);return;}_0x583a93({'code':_0x2ba8b0,'signal':_0x3592d4});};_0x239152=setTimeout(()=>{const _0x3c4590={_0x5bf8ff:0x2bd};_0x45e4df=!![],_0x3ca682(),_0x1afcac();try{killProcessGroup(_0x4c2376,_0x43b0cd);}catch{}function _0xbc65c9(_0x5ca5c6,_0x15727e,_0x1dabfb,_0x4634fd){return _0x4161(_0x1dabfb-0xbe,_0x5ca5c6);}function _0x1e2030(_0x11e2e0,_0x30bb12,_0x4c5532,_0x401d24){return _0x4161(_0x401d24-_0x3c4590._0x5bf8ff,_0x11e2e0);}_0x9cf22b(new ToolExecutionError(_0x1e2030(_0x16ef58._0x2c6ba3,0x540,0x420,0x507)+_0x3474aa+_0x1e2030(_0x16ef58._0x427d99,0x60c,_0x16ef58._0x44e27f,0x5e5),{'command':_0x222bb3['command'],'cwd':_0x288379,'shellPath':_0x33ce84,'timeoutMs':_0x3474aa,'timedOut':!![]}));},_0x3474aa);function _0x40b5ca(_0x5c8fad,_0x2451ef,_0x30a885,_0x4967e0){return _0xbfc5ff(_0x2451ef,_0x2451ef-0x66,_0x5c8fad- -0x19c,_0x4967e0-0x164);}_0x4c2376[_0x5c269e(0x42e,_0x3e0c85._0x1fba94,0x451,0x2ea)](_0x5c269e(0x441,_0x3e0c85._0x2eb46c,0x2cf,_0x3e0c85._0xf2009d),_0x43b732),_0x4c2376[_0x5c269e(_0x3e0c85._0x5e4ee4,0x2f9,_0x3e0c85._0x429edb,_0x3e0c85._0x59b8cc)](_0x5c269e(_0x3e0c85._0x22153c,0x270,_0x3e0c85._0x342d7f,_0x3e0c85._0x3b7f2c),_0x1fe2c6);});while(_0x2595b0['length']>0x0||!_0x45e4df){if(_0x2595b0[_0xbfc5ff(_0x5ebee6._0x1ac8c8,_0x5ebee6._0x37509a,_0x5ebee6._0xb88636,_0x5ebee6._0x352556)]===0x0){await _0x8a3dec();continue;}const _0x6fa56d=_0x2595b0[_0xc346b8(0x688,0x612,_0x5ebee6._0x221b8f,0x707)]();_0x6fa56d!==void 0x0&&(yield _0x6fa56d);}const _0x1c0d1b=await _0x5afeba,_0x5202a4=_0x3a11dc?_0xbfc5ff(_0x5ebee6._0x1f0b76,_0x5ebee6._0xc26b40,0x5b8,_0x5ebee6._0x35e662)+(_0x1c0d1b[_0xc346b8(_0x5ebee6._0x343025,0x6ae,_0x5ebee6._0x55a4b7,0x845)]??0x0):_0x344477[_0xbfc5ff(0x52c,0x3b1,_0x5ebee6._0x3922a7,_0x5ebee6._0x335941)](''),_0x5a23dd={'command':_0x222bb3[_0xc346b8(0x6fd,0x772,0x7c6,_0x5ebee6._0x2438a9)],'description':_0x222bb3[_0xbfc5ff(_0x5ebee6._0x25beb0,0x4e1,0x5ad,0x625)],'cwd':_0x288379,'exitCode':_0x1c0d1b[_0xbfc5ff(0x5a8,_0x5ebee6._0x42c4fd,_0x5ebee6._0x3f7e5a,0x755)]??0x0,'signal':_0x1c0d1b[_0xc346b8(0x78e,0x6b7,0x6e7,_0x5ebee6._0x427a42)],'ignoreOutput':_0x3a11dc,'shellPath':_0x33ce84,'timeoutMs':_0x3474aa};if(_0x1c0d1b['code']!==0x0)throw new ToolExecutionError(_0x5202a4||_0xc346b8(0x4d3,_0x5ebee6._0x3b5d0b,_0x5ebee6._0x2711a3,_0x5ebee6._0x53f319)+(_0x1c0d1b[_0xc346b8(0x6e7,_0x5ebee6._0x4c8249,0x68d,_0x5ebee6._0x5c1a35)]??0x0),_0x5a23dd);return createToolOutput(_0x5202a4,_0x5a23dd);}catch(_0xfff2ce){while(_0x2595b0[_0xc346b8(_0x5ebee6._0x61579f,_0x5ebee6._0x3563bf,0x6fd,0x5db)]>0x0){const _0x1d7209=_0x2595b0[_0xc346b8(0x688,0x7ec,0x7d4,_0x5ebee6._0x4b0889)]();_0x1d7209!==void 0x0&&(yield _0x1d7209);}if(_0xfff2ce instanceof ToolExecutionError)throw _0xfff2ce;if(_0x4c37f3)throw _0x4c37f3;throw mapSpawnError(_0xfff2ce,{'command':_0x222bb3[_0xbfc5ff(0x7b1,0x83a,_0x5ebee6._0x375c00,_0x5ebee6._0x1a5348)],'cwd':_0x288379,'shellPath':_0x33ce84});}finally{_0x239152&&clearTimeout(_0x239152);_0x3a1b88(),_0x4c2376['stdout']?.[_0xc346b8(_0x5ebee6._0x1b85c1,_0x5ebee6._0x2bea3f,0x62c,_0x5ebee6._0x32beaa)](_0xc346b8(0x553,0x447,_0x5ebee6._0xbea94c,0x65f),_0x30bc56),_0x4c2376[_0xbfc5ff(_0x5ebee6._0x115c2a,0x443,0x4f0,_0x5ebee6._0x493c63)]?.['off']('data',_0x4e42fd);if(!_0x53d062&&_0x4c2376[_0xc346b8(0x5a0,_0x5ebee6._0x1666d6,0x4a0,0x468)]&&!_0x4c2376['killed'])try{killProcessGroup(_0x4c2376,_0x43b0cd);}catch{}}}});}function createShellExecTool(_0x4ceb88={}){return createBashTool(_0x4ceb88);}import{readdir,readFile as _0x13debe}from'fs/promises';import{extname,join as _0x317275}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x2ff367,join,relative as _0x4f84b1,resolve as _0x43810f}from'path';import{readdir as _0x2d7e86,readFile as _0x2f2925}from'fs/promises';import{join as _0x190b0f,relative as _0x1916af,sep}from'path';import{delimiter}from'path';import{mkdir as _0x14172d,rm,stat as _0x26abf7,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x476b34}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x5b4221,rename,writeFile as _0x264d19}from'fs/promises';import{homedir as _0xc92820}from'os';import{dirname as _0x25b7aa,isAbsolute as _0x4fe262,join as _0x1cab11,resolve as _0xc099a6}from'path';import{parse as _0x34b7fe,stringify as _0x4e4f1e}from'yaml';import{cp,mkdir as _0x558edc,readFile as _0x1b809d,rm as _0x264aa3,writeFile as _0x5bcde1}from'fs/promises';import{homedir}from'os';import{join as _0x4f3ef3}from'path';import{parse as _0x436a65,stringify as _0x52d288}from'yaml';import{z}from'zod';import{readdir as _0x453ec0,readFile as _0x4dcdcc}from'fs/promises';import{join as _0xb7dbd9}from'path';import{mkdir as _0x256c0e,readFile as _0x42a915,rm as _0x5a81ed,writeFile as _0x808fd5}from'fs/promises';import{homedir as _0x4c3709}from'os';import{basename,isAbsolute as _0x2fa0ec,join as _0x239b0c,relative as _0x4d91c3,resolve as _0x421032}from'path';import{parse as _0x4c2f3c,stringify as _0x3dc8a2}from'yaml';import{delimiter as _0x4d3600,resolve as _0x44735b}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x3ed865){const _0x1a5481={_0x26601e:0x45,_0x52d8ba:0xfc,_0x4cc407:0x4e,_0x39d5d6:0x101,_0x50d82b:0x13b},_0x355403={_0xab28a:0x4c},_0x1a0918={_0x9c7044:0x5b,_0x4f80c8:0x185},_0xc93ec0=[];let _0x6e23cf='',_0x2b5ebc=0x0;while(_0x2b5ebc<_0x3ed865['length']){const _0x43b99c=_0x3ed865[_0x2b5ebc];if(_0x43b99c==='\x5c'&&_0x2b5ebc+0x1<_0x3ed865[_0x5757ac(-0x4e,_0x1a5481._0x26601e,-_0x1a5481._0x52d8ba,-0x47)])_0x6e23cf+=_0x3ed865[_0x2b5ebc+0x1],_0x2b5ebc+=0x2;else{if(_0x43b99c==='\x22'||_0x43b99c==='\x27'){const _0x4ed04e=_0x43b99c;_0x2b5ebc++;while(_0x2b5ebc<_0x3ed865[_0x5757ac(-_0x1a5481._0x4cc407,0x45,-_0x1a5481._0x39d5d6,-_0x1a5481._0x50d82b)]&&_0x3ed865[_0x2b5ebc]!==_0x4ed04e){_0x3ed865[_0x2b5ebc]==='\x5c'&&_0x2b5ebc+0x1<_0x3ed865['length']?(_0x6e23cf+=_0x3ed865[_0x2b5ebc+0x1],_0x2b5ebc+=0x2):(_0x6e23cf+=_0x3ed865[_0x2b5ebc],_0x2b5ebc++);}_0x2b5ebc++;}else _0x43b99c!==void 0x0&&/\s/['test'](_0x43b99c)?(_0x6e23cf&&(_0xc93ec0[_0x18f3fa(0x3b9,0x444,0x5b4,0x518)](_0x6e23cf),_0x6e23cf=''),_0x2b5ebc++):(_0x6e23cf+=_0x43b99c,_0x2b5ebc++);}}function _0x5757ac(_0x4dfffe,_0x3a6741,_0x4c805e,_0x7fc3bc){return _0xab9513(_0x3a6741- -0x597,_0x3a6741-_0x1a0918._0x9c7044,_0x4c805e-_0x1a0918._0x4f80c8,_0x4c805e);}function _0x18f3fa(_0x19b6db,_0x52967d,_0x465a1e,_0x558c8c){return _0xab9513(_0x558c8c- -0x48,_0x52967d-0x1a8,_0x465a1e-_0x355403._0xab28a,_0x52967d);}if(_0x6e23cf)_0xc93ec0[_0x18f3fa(0x5f0,0x459,0x641,0x518)](_0x6e23cf);return _0xc93ec0;}function renderCommandInstructions(_0x114f6e){const _0x4962a7={_0x40f61f:0x7b6,_0x44c381:0x7ed,_0xe6d096:0x521,_0x23fdb7:0x4c7,_0x578392:0x5f8,_0x5c8167:0x536,_0x350550:0x593,_0x300406:0x65e,_0x5ed974:0x508,_0x59e9c6:0x5c5,_0x471a58:0x6d0,_0x120f00:0x5e3,_0x1d2a60:0x6dc,_0x1bf5aa:0x616,_0x22e430:0x2c1,_0x24aaa0:0x91e,_0x44e267:0x668,_0x27e8ee:0x644,_0x3b2215:0x444},_0x2997ec={_0x1aff62:0x74,_0x278f66:0xf5,_0x5ef842:0xfb},_0xfbb528={_0x4d975c:0x185,_0x183837:0x137,_0x352959:0x2c2},_0x57fa9d={_0x1b4a2a:0x140,_0x351cf7:0x1cd};let _0x391c5d=_0x114f6e[_0x38687a(0x71e,_0x4962a7._0x40f61f,_0x4962a7._0x44c381,0x93f)],_0x233f21=![];const _0x1b0d17=tokenizeCommandArguments(_0x114f6e[_0x1e7079(_0x4962a7._0xe6d096,_0x4962a7._0x23fdb7,_0x4962a7._0x578392,_0x4962a7._0x5c8167)]);function _0x1e7079(_0x3f832d,_0x25c011,_0x117b33,_0x6bd014){return _0xab9513(_0x3f832d- -_0x57fa9d._0x1b4a2a,_0x25c011-_0x57fa9d._0x351cf7,_0x117b33-0x175,_0x25c011);}_0x391c5d=_0x391c5d['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0x368a6a,_0x20c4b)=>{return _0x233f21=!![],_0x1b0d17[Number(_0x20c4b)]??'';}),_0x391c5d=_0x391c5d['replace'](/\$ARGUMENTS\b/g,()=>{_0x233f21=!![];function _0x33818d(_0x18f419,_0x2dd733,_0x5992ee,_0xbd0dee){return _0x1e7079(_0x2dd733- -0x39c,_0x5992ee,_0x5992ee-0x2e,_0xbd0dee-0xa7);}return _0x114f6e[_0x33818d(0x1e2,_0xfbb528._0x4d975c,_0xfbb528._0x183837,_0xfbb528._0x352959)];});if(_0x114f6e['argumentNames']&&_0x114f6e[_0x1e7079(_0x4962a7._0x350550,0x6ae,0x420,_0x4962a7._0x300406)][_0x1e7079(0x49c,_0x4962a7._0x5ed974,_0x4962a7._0x59e9c6,0x543)]>0x0)for(let _0x109253=0x0;_0x109253<_0x114f6e[_0x1e7079(0x593,0x4f3,_0x4962a7._0x471a58,0x519)][_0x38687a(_0x4962a7._0x120f00,0x5c7,_0x4962a7._0x1d2a60,_0x4962a7._0x1bf5aa)];_0x109253++){const _0x299ee9=_0x114f6e['argumentNames'][_0x109253];if(_0x299ee9){const _0x56893e=new RegExp('\x5c$'+_0x299ee9+'\x5cb','g');_0x391c5d=_0x391c5d[_0x1e7079(0x3bc,0x423,0x4e2,0x406)](_0x56893e,()=>{return _0x233f21=!![],_0x1b0d17[_0x109253]??'';});}}function _0x38687a(_0x2b7d3e,_0x4d9f52,_0x114f58,_0x9ccd48){return _0x32992d(_0x2b7d3e-_0x2997ec._0x1aff62,_0x4d9f52,_0x114f58-_0x2997ec._0x278f66,_0x114f58-_0x2997ec._0x5ef842);}return _0x391c5d=_0x391c5d[_0x1e7079(0x3bc,_0x4962a7._0x22e430,0x433,0x316)](/\$(\d+)\b/g,(_0x59be74,_0x1d1b19)=>{return _0x233f21=!![],_0x1b0d17[Number(_0x1d1b19)]??'';}),!_0x233f21&&_0x114f6e['argumentsText'][_0x38687a(_0x4962a7._0x24aaa0,_0x4962a7._0x44e267,0x7d2,0x79f)]()&&(_0x391c5d=_0x391c5d+_0x38687a(0x7e3,_0x4962a7._0x27e8ee,0x671,0x5d2)+_0x114f6e[_0x1e7079(_0x4962a7._0xe6d096,0x618,0x55b,_0x4962a7._0x3b2215)]),_0x391c5d;}var PROVIDER_API_KEY_ENVS=[{'env':_0x32992d(0x449,0x5d9,0x5ce,0x51f),'provider':'openrouter'},{'env':_0xab9513(0x64b,0x7b8,0x62b,0x521),'provider':_0x32992d(0x3be,0x455,0x3fd,0x543)},{'env':_0x32992d(0x85a,0x611,0x65d,0x6da),'provider':_0xab9513(0x71c,0x755,0x79b,0x789)},{'env':_0xab9513(0x689,0x7fa,0x58e,0x73b),'provider':_0x32992d(0x77a,0x851,0x5a6,0x721)},{'env':_0x32992d(0x43f,0x587,0x625,0x4b6),'provider':_0xab9513(0x627,0x6c1,0x4b0,0x5dd)},{'env':_0x32992d(0x51b,0x7fb,0x5aa,0x67d),'provider':_0x32992d(0x62f,0x54b,0x5e4,0x6be)},{'env':_0xab9513(0x5a8,0x426,0x464,0x62e),'provider':_0x32992d(0x5ba,0x6a1,0x716,0x6e9)},{'env':_0x32992d(0x655,0x605,0x4af,0x580),'provider':'moonshot'},{'env':_0xab9513(0x509,0x385,0x641,0x441),'provider':_0x32992d(0x4e4,0x738,0x55f,0x5d9)},{'env':_0xab9513(0x4a1,0x526,0x34e,0x59c),'provider':_0x32992d(0x6ab,0x49b,0x6d8,0x5ee)},{'env':_0xab9513(0x624,0x74d,0x7a4,0x66f),'provider':'openai'},{'env':_0xab9513(0x75c,0x70a,0x5de,0x83c),'provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x32992d(0x75e,0x772,0x491,0x5fc)](_0x2f4b2e=>_0x2f4b2e['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0xab9513(0x53c,0x5eb,0x4b4,0x3ec),'GOOGLE_CSE_KEY',_0xab9513(0x738,0x6cc,0x7be,0x7aa)],chatModelAuthSchemeSchema=z['enum'](['bearer',_0xab9513(0x529,0x4e0,0x46d,0x42a)]),apiKeyAuthSchema=z['object']({'type':z[_0xab9513(0x70c,0x5ee,0x636,0x748)]('apiKey'),'apiKey':z[_0xab9513(0x679,0x562,0x71a,0x5e3)](),'authScheme':chatModelAuthSchemeSchema[_0xab9513(0x5fa,0x761,0x497,0x595)]()})[_0x32992d(0x4cf,0x455,0x5f0,0x59c)](),oauthAuthSchema=z[_0x32992d(0x776,0x6d4,0x74c,0x73a)]({'type':z[_0x32992d(0x780,0x624,0x58d,0x711)](_0xab9513(0x54e,0x61e,0x607,0x4a5)),'access':z[_0xab9513(0x679,0x7d1,0x5bc,0x7ba)](),'refresh':z['string'](),'expires':z[_0xab9513(0x697,0x51a,0x606,0x69d)]()['optional'](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0xab9513(0x597,0x706,0x4de,0x610)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z['object']({'id':z[_0xab9513(0x679,0x561,0x760,0x6de)](),'name':z[_0xab9513(0x679,0x5fc,0x674,0x6eb)]()[_0x32992d(0x70f,0x512,0x724,0x5ff)]()})[_0x32992d(0x630,0x60b,0x55b,0x59c)](),modelConfigSchema=z[_0xab9513(0x5f0,0x6a6,0x46e,0x5f4)]([z[_0x32992d(0x6a6,0x7c7,0x635,0x711)](![]),z[_0xab9513(0x70c,0x7dd,0x6ab,0x837)](!![]),z[_0x32992d(0x7e2,0x503,0x661,0x67e)](),z[_0xab9513(0x6a6,0x624,0x673,0x7f4)](z[_0xab9513(0x679,0x76e,0x4fd,0x654)]()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0xab9513(0x4ac,0x5c9,0x419,0x4c0)]([_0xab9513(0x6f3,0x839,0x7c1,0x878),_0x32992d(0x3fe,0x5fd,0x66e,0x521),_0x32992d(0x609,0x5a2,0x585,0x6b7),_0x32992d(0x513,0x440,0x4bb,0x508)]),providerConfigSchema=z[_0xab9513(0x735,0x86d,0x6c9,0x603)]({'apiKey':z[_0xab9513(0x679,0x779,0x77c,0x6db)]()[_0xab9513(0x5fa,0x58f,0x678,0x5da)](),'token':z[_0xab9513(0x679,0x6b9,0x76a,0x73c)]()['optional'](),'defaultModel':z['string']()[_0x32992d(0x47e,0x6e3,0x64d,0x5ff)](),'smallModel':z[_0x32992d(0x7a4,0x5de,0x5d4,0x67e)]()['optional'](),'currentAuth':z[_0x32992d(0x697,0x777,0x7e8,0x67e)]()['optional'](),'auth':z[_0x32992d(0x793,0x5e8,0x820,0x6ab)](authMethodSchema)[_0xab9513(0x5fa,0x5e6,0x6ae,0x727)](),'surface':chatModelSurfaceSchema[_0xab9513(0x5fa,0x4bb,0x590,0x614)](),'baseUrl':z[_0x32992d(0x76b,0x52b,0x78d,0x67e)]()[_0x32992d(0x6e4,0x779,0x701,0x5ff)](),'models':modelConfigSchema[_0x32992d(0x702,0x61c,0x511,0x5ff)](),'customHeaders':z[_0xab9513(0x546,0x53c,0x6ac,0x4c2)](z[_0x32992d(0x7a0,0x6f7,0x724,0x67e)](),z[_0xab9513(0x679,0x73d,0x649,0x71d)]())[_0xab9513(0x5fa,0x5d8,0x6f1,0x50d)]()})[_0x32992d(0x681,0x64a,0x585,0x59c)](),mcpServerConfigSchema=z['object']({'command':z[_0x32992d(0x51f,0x7fe,0x73f,0x67e)]()[_0xab9513(0x5fa,0x52a,0x700,0x535)](),'args':z[_0xab9513(0x6a6,0x6a1,0x5c9,0x574)](z[_0xab9513(0x679,0x6b1,0x533,0x573)]())[_0xab9513(0x5fa,0x48d,0x59c,0x769)](),'env':z['record'](z[_0xab9513(0x679,0x642,0x76f,0x6d4)](),z[_0x32992d(0x5ca,0x659,0x53f,0x67e)]())[_0xab9513(0x5fa,0x583,0x55a,0x658)](),'transport':z['enum']([_0x32992d(0x50a,0x5e7,0x449,0x587),_0xab9513(0x56c,0x51f,0x476,0x4d5)])[_0x32992d(0x75c,0x51a,0x5b0,0x5ff)](),'url':z[_0xab9513(0x679,0x7ce,0x729,0x65b)]()['optional'](),'headers':z[_0xab9513(0x546,0x50f,0x64e,0x4ad)](z['string'](),z['string']())[_0x32992d(0x4d9,0x71f,0x6a1,0x5ff)](),'prefix':z[_0x32992d(0x6a3,0x779,0x785,0x67e)]()[_0x32992d(0x5ec,0x6ac,0x624,0x5ff)](),'timeoutMs':z[_0xab9513(0x697,0x817,0x5c0,0x6a8)]()['optional'](),'enabled':z[_0x32992d(0x5a9,0x5a9,0x484,0x4f3)]()['optional'](),'auth':z[_0xab9513(0x735,0x64f,0x863,0x604)]({'type':z[_0x32992d(0x34f,0x532,0x3c4,0x4b1)]([_0xab9513(0x572,0x6d7,0x5a6,0x44f),_0x32992d(0x56a,0x4b5,0x554,0x4ab),_0xab9513(0x54e,0x5b2,0x4c6,0x3fe)]),'token':z[_0xab9513(0x679,0x619,0x61b,0x5e7)]()[_0xab9513(0x5fa,0x66c,0x65d,0x62d)](),'oauth':z[_0x32992d(0x692,0x73f,0x753,0x73a)]({'clientId':z[_0xab9513(0x679,0x5a8,0x7ac,0x64c)]()[_0x32992d(0x5e6,0x5ed,0x5c0,0x5ff)](),'clientMetadataUrl':z['string']()[_0x32992d(0x4c6,0x766,0x695,0x5ff)](),'authorizationServer':z[_0xab9513(0x679,0x6f0,0x617,0x5c2)]()[_0xab9513(0x5fa,0x4dd,0x67d,0x4fa)](),'scopes':z['array'](z[_0xab9513(0x679,0x689,0x52a,0x5fa)]())[_0x32992d(0x6f7,0x5f3,0x639,0x5ff)](),'tokenStorageKey':z['string']()[_0xab9513(0x5fa,0x6ca,0x6eb,0x619)]()})['passthrough']()[_0xab9513(0x5fa,0x559,0x483,0x6f3)]()})[_0x32992d(0x425,0x596,0x428,0x59c)]()[_0xab9513(0x5fa,0x62d,0x566,0x4da)]()})[_0x32992d(0x6a3,0x69d,0x58c,0x59c)](),mcpSettingsSchema=z[_0xab9513(0x735,0x626,0x61a,0x855)]({'servers':z[_0xab9513(0x546,0x4a5,0x45a,0x558)](z['string'](),mcpServerConfigSchema)['optional'](),'allowedTools':z[_0x32992d(0x5ca,0x51c,0x59a,0x54b)](z[_0xab9513(0x679,0x609,0x5f5,0x583)](),z['record'](z['string'](),z[_0x32992d(0x65a,0x3c8,0x436,0x4f3)]()))[_0xab9513(0x5fa,0x732,0x651,0x779)](),'defaultTimeoutMs':z[_0x32992d(0x788,0x520,0x5e4,0x69c)]()['optional']()})[_0x32992d(0x5d6,0x417,0x5e2,0x59c)](),skillsSettingsSchema=z[_0xab9513(0x735,0x72e,0x66c,0x886)]({'enabled':z[_0x32992d(0x60a,0x488,0x48a,0x4f3)]()[_0xab9513(0x5fa,0x5eb,0x5a6,0x493)](),'includeDefaults':z[_0xab9513(0x4ee,0x600,0x5c3,0x4ce)]()[_0xab9513(0x5fa,0x621,0x474,0x4d8)](),'directories':z[_0x32992d(0x7eb,0x7f3,0x78c,0x6ab)](z['string']())[_0xab9513(0x5fa,0x72b,0x547,0x4d2)](),'exclude':z['array'](z[_0xab9513(0x679,0x61b,0x5ad,0x7a9)]())[_0x32992d(0x676,0x57c,0x664,0x5ff)]()})[_0xab9513(0x597,0x71a,0x4b5,0x545)](),commandsSettingsSchema=z[_0xab9513(0x735,0x73e,0x643,0x7d7)]({'enabled':z[_0x32992d(0x462,0x5f7,0x3e9,0x4f3)]()[_0x32992d(0x5e5,0x6eb,0x69f,0x5ff)](),'directories':z['array'](z[_0x32992d(0x64f,0x6dd,0x7c9,0x67e)]())[_0x32992d(0x64d,0x579,0x626,0x5ff)]()})[_0xab9513(0x597,0x42a,0x4d4,0x69f)](),agentsSettingsSchema=z[_0x32992d(0x5ca,0x6f6,0x629,0x73a)]({'enabled':z[_0xab9513(0x4ee,0x43b,0x4f9,0x386)]()[_0xab9513(0x5fa,0x5b8,0x602,0x643)](),'includeDefaults':z[_0xab9513(0x4ee,0x50f,0x57e,0x565)]()[_0xab9513(0x5fa,0x673,0x554,0x4cb)](),'directories':z[_0xab9513(0x6a6,0x5ec,0x708,0x700)](z[_0x32992d(0x50d,0x7ce,0x79f,0x67e)]())['optional']()})['passthrough'](),uiThemeSettingsSchema=z[_0xab9513(0x735,0x87c,0x73d,0x61c)]({'mode':z[_0xab9513(0x4ac,0x3b9,0x5f0,0x3e2)]([_0xab9513(0x607,0x6e3,0x526,0x602),'dark',_0x32992d(0x4ed,0x3bd,0x3aa,0x4e0)])[_0x32992d(0x483,0x72d,0x67c,0x5ff)](),'colorLevel':z[_0xab9513(0x4ac,0x54b,0x3d9,0x57c)]([_0xab9513(0x607,0x640,0x69a,0x6a9),_0xab9513(0x572,0x437,0x58b,0x5bb),_0xab9513(0x60a,0x78d,0x581,0x4e1),_0x32992d(0x588,0x732,0x6e4,0x632),'truecolor'])[_0xab9513(0x5fa,0x668,0x501,0x649)](),'backgrounds':z['enum']([_0xab9513(0x607,0x60b,0x64d,0x5f4),'on',_0x32992d(0x534,0x600,0x5cd,0x496)])[_0xab9513(0x5fa,0x6b6,0x553,0x6f5)](),'messageStyle':z['enum']([_0xab9513(0x5da,0x6b5,0x6bf,0x6ff),_0xab9513(0x573,0x627,0x5fc,0x5b5)])[_0xab9513(0x5fa,0x487,0x505,0x4ae)]()})[_0x32992d(0x58c,0x67b,0x60a,0x59c)](),statuslineSegmentSchema=z[_0x32992d(0x49c,0x3ab,0x5a7,0x4b1)]([_0xab9513(0x723,0x5a1,0x6e9,0x5d7),_0xab9513(0x521,0x3fe,0x5db,0x3d7),_0xab9513(0x48c,0x333,0x322,0x4bc),_0x32992d(0x6c2,0x708,0x8d9,0x768),_0xab9513(0x62e,0x77a,0x593,0x598),_0x32992d(0x4fd,0x620,0x43b,0x4a4),_0xab9513(0x52f,0x3f4,0x560,0x5be),_0xab9513(0x6a4,0x7f0,0x5cd,0x716),'tools',_0x32992d(0x7e6,0x81b,0x81c,0x6bb),_0xab9513(0x71d,0x6ff,0x5a0,0x831),_0xab9513(0x61c,0x688,0x70c,0x6ec),'keybindings',_0x32992d(0x639,0x796,0x748,0x727),_0xab9513(0x562,0x6b9,0x43e,0x440)]),statuslineItemSchema=z[_0x32992d(0x60a,0x636,0x600,0x5f5)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x32992d(0x528,0x5a4,0x58b,0x6ab)](statuslineItemSchema),statuslineConfigSchema=z[_0x32992d(0x781,0x839,0x774,0x73a)]({'rows':z[_0x32992d(0x722,0x4f1,0x772,0x622)]([statuslineRowSchema,statuslineRowSchema])[_0xab9513(0x5fa,0x574,0x6b4,0x6c4)]()})[_0x32992d(0x4cb,0x523,0x6bb,0x59c)](),memorySettingsSchema=z['object']({'version':z[_0xab9513(0x70c,0x81d,0x66b,0x6b4)](0x2)[_0x32992d(0x678,0x586,0x75f,0x5ff)](),'retrieval':z['object']({'engine':z[_0xab9513(0x70c,0x85c,0x7cf,0x5ff)]('bm25')[_0x32992d(0x4df,0x5ed,0x590,0x5ff)](),'candidateLimit':z[_0x32992d(0x74f,0x75a,0x54c,0x69c)]()[_0x32992d(0x577,0x763,0x6dd,0x5ff)](),'activeCandidateLimit':z[_0xab9513(0x697,0x60a,0x5aa,0x769)]()[_0x32992d(0x534,0x743,0x61d,0x5ff)](),'activeEnabled':z[_0x32992d(0x4f2,0x3d6,0x4e0,0x4f3)]()[_0x32992d(0x49a,0x582,0x6cd,0x5ff)](),'maxQueriesPerTurn':z[_0xab9513(0x697,0x625,0x772,0x667)]()[_0xab9513(0x5fa,0x499,0x761,0x6a9)](),'coreInjectTokenBudget':z[_0x32992d(0x7db,0x683,0x67b,0x69c)]()[_0xab9513(0x5fa,0x6dd,0x74b,0x5c2)](),'injectTokenBudget':z[_0xab9513(0x697,0x54d,0x5b7,0x676)]()[_0xab9513(0x5fa,0x49d,0x657,0x6b9)](),'minScore':z['number']()[_0x32992d(0x668,0x5e5,0x4a2,0x5ff)](),'freshnessHalfLifeDays':z[_0xab9513(0x697,0x752,0x662,0x511)]()[_0x32992d(0x557,0x689,0x6ce,0x5ff)]()})[_0xab9513(0x597,0x599,0x614,0x4f3)]()[_0x32992d(0x54d,0x754,0x546,0x5ff)](),'extraction':z[_0x32992d(0x7a5,0x691,0x857,0x73a)]({'enabled':z[_0xab9513(0x4ee,0x41e,0x4e7,0x580)]()[_0xab9513(0x5fa,0x5c2,0x67e,0x563)](),'provider':z['string']()[_0xab9513(0x5fa,0x4a0,0x4d5,0x68e)](),'model':z[_0x32992d(0x51c,0x5c0,0x5d5,0x67e)]()[_0x32992d(0x6eb,0x672,0x4e0,0x5ff)](),'sensitiveFilter':z[_0x32992d(0x442,0x673,0x4b8,0x4f3)]()[_0x32992d(0x58b,0x745,0x5e1,0x5ff)]()})[_0x32992d(0x4ed,0x5a1,0x4a1,0x59c)]()[_0x32992d(0x6ad,0x525,0x62b,0x5ff)](),'index':z[_0x32992d(0x853,0x6b6,0x625,0x73a)]({'persisted':z[_0xab9513(0x4ee,0x606,0x3f8,0x4db)]()[_0xab9513(0x5fa,0x6e3,0x4dc,0x502)](),'flushIntervalMs':z['number']()[_0xab9513(0x5fa,0x750,0x60b,0x5da)]()})['passthrough']()[_0x32992d(0x739,0x77c,0x529,0x5ff)](),'enabled':z['boolean']()[_0x32992d(0x5c6,0x720,0x589,0x5ff)](),'saveTool':z['boolean']()[_0x32992d(0x6fd,0x6d0,0x522,0x5ff)](),'model':z[_0x32992d(0x698,0x5cd,0x5e4,0x67e)]()[_0xab9513(0x5fa,0x6ae,0x5d0,0x599)](),'provider':z['string']()['optional'](),'maxInjectionTokens':z[_0x32992d(0x74d,0x601,0x788,0x69c)]()[_0xab9513(0x5fa,0x5aa,0x4bc,0x724)](),'backgroundExtraction':z[_0x32992d(0x3c1,0x4cf,0x574,0x4f3)]()[_0xab9513(0x5fa,0x75e,0x622,0x71b)]()})[_0x32992d(0x58e,0x538,0x63c,0x59c)](),recentModelSchema=z[_0x32992d(0x69f,0x6b6,0x68c,0x73a)]({'provider':z[_0xab9513(0x679,0x5e7,0x549,0x574)](),'model':z['string'](),'usedAt':z[_0xab9513(0x697,0x7c1,0x576,0x7fc)]()})['passthrough'](),lspServerEntrySchema=z[_0xab9513(0x735,0x898,0x8a0,0x735)]({'disabled':z[_0x32992d(0x37a,0x44d,0x55b,0x4f3)]()[_0xab9513(0x5fa,0x52c,0x677,0x572)](),'command':z['string']()['optional'](),'args':z[_0xab9513(0x6a6,0x550,0x5e9,0x80a)](z[_0xab9513(0x679,0x59d,0x75d,0x5e2)]())['optional'](),'rootMarkers':z['array'](z['string']())[_0xab9513(0x5fa,0x509,0x4de,0x69b)]()})['passthrough'](),lspConfigSchema=z[_0x32992d(0x6c3,0x7c3,0x736,0x73a)]({'enabled':z[_0x32992d(0x50e,0x4d4,0x382,0x4f3)]()['optional'](),'servers':z[_0x32992d(0x4e3,0x4ca,0x466,0x54b)](z[_0x32992d(0x6c7,0x6d3,0x5a4,0x67e)](),lspServerEntrySchema)['optional']()})[_0x32992d(0x720,0x48e,0x456,0x59c)](),serverEndpointSchema=z[_0xab9513(0x735,0x61d,0x754,0x707)]({'url':z['string'](),'token':z['string']()[_0x32992d(0x73e,0x6fb,0x5ce,0x5ff)]()})[_0xab9513(0x597,0x70a,0x6ab,0x454)](),commandHookConfigSchema=z[_0x32992d(0x7f2,0x722,0x65b,0x73a)]({'type':z[_0xab9513(0x70c,0x67d,0x5ac,0x827)](_0x32992d(0x60a,0x6c1,0x810,0x695)),'command':z[_0x32992d(0x66e,0x6a1,0x5a8,0x67e)](),'timeout':z[_0x32992d(0x7b0,0x5cd,0x625,0x69c)]()[_0xab9513(0x5fa,0x6f9,0x769,0x62d)]()}),hookMatcherGroupSchema=z[_0xab9513(0x735,0x6e0,0x892,0x816)]({'matcher':z[_0x32992d(0x4fd,0x7d2,0x7c4,0x67e)]()[_0x32992d(0x576,0x5b6,0x609,0x5ff)](),'hooks':z[_0x32992d(0x72f,0x75b,0x7ec,0x6ab)](commandHookConfigSchema)}),hooksConfigSchema=z[_0xab9513(0x735,0x7d4,0x730,0x833)]({'PreToolUse':z['array'](hookMatcherGroupSchema)['optional'](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x32992d(0x494,0x76f,0x6e6,0x5ff)](),'UserPromptSubmit':z[_0x32992d(0x59f,0x72c,0x6c8,0x6ab)](hookMatcherGroupSchema)[_0xab9513(0x5fa,0x77c,0x525,0x49e)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x32992d(0x6f0,0x493,0x543,0x5ff)](),'Notification':z['array'](hookMatcherGroupSchema)[_0x32992d(0x60b,0x761,0x4ff,0x5ff)](),'ToolApprovalRequest':z[_0xab9513(0x6a6,0x768,0x7c6,0x5d6)](hookMatcherGroupSchema)['optional'](),'SessionStart':z[_0x32992d(0x55e,0x651,0x674,0x6ab)](hookMatcherGroupSchema)[_0xab9513(0x5fa,0x6cf,0x70e,0x4a1)](),'SessionEnd':z['array'](hookMatcherGroupSchema)[_0xab9513(0x5fa,0x707,0x5cc,0x685)]()}),cliConfigSchema=z[_0x32992d(0x719,0x70e,0x6c5,0x73a)]({'activeProvider':z[_0xab9513(0x679,0x6cc,0x51b,0x4f3)]()[_0xab9513(0x5fa,0x767,0x63a,0x6ea)](),'activeModel':z[_0x32992d(0x7cc,0x54a,0x7e4,0x67e)]()['optional'](),'apiKey':z[_0x32992d(0x656,0x544,0x694,0x67e)]()[_0x32992d(0x4aa,0x60a,0x63b,0x5ff)](),'providers':z[_0x32992d(0x685,0x5cf,0x55b,0x54b)](z[_0xab9513(0x679,0x6b4,0x5fe,0x572)](),providerConfigSchema)[_0x32992d(0x4a4,0x733,0x6aa,0x5ff)](),'mcp':mcpSettingsSchema[_0xab9513(0x5fa,0x4a2,0x618,0x69e)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0xab9513(0x5fa,0x637,0x6b9,0x632)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x32992d(0x51b,0x589,0x579,0x54b)](z[_0x32992d(0x71d,0x69c,0x615,0x67e)](),z[_0x32992d(0x38c,0x4b7,0x4b4,0x4f3)]())[_0xab9513(0x5fa,0x71c,0x506,0x67e)](),'allowedDirs':z['array'](z[_0x32992d(0x5b4,0x5b5,0x725,0x67e)]())[_0x32992d(0x616,0x478,0x63d,0x5ff)](),'mcpEnabled':z[_0xab9513(0x546,0x3dc,0x4c9,0x61f)](z[_0xab9513(0x679,0x67d,0x672,0x678)](),z[_0xab9513(0x4ee,0x57d,0x4b3,0x5ce)]())[_0x32992d(0x57e,0x77a,0x6fb,0x5ff)](),'commandsEnabled':z[_0xab9513(0x546,0x5c3,0x5dc,0x513)](z['string'](),z[_0x32992d(0x424,0x588,0x654,0x4f3)]())[_0xab9513(0x5fa,0x506,0x74d,0x5a4)](),'memory':memorySettingsSchema['optional'](),'session':z[_0xab9513(0x735,0x655,0x78f,0x7be)]({'memPersist':z[_0x32992d(0x5f0,0x48a,0x547,0x4f3)]()[_0x32992d(0x4b8,0x6b4,0x6d7,0x5ff)](),'persistEventLog':z[_0x32992d(0x619,0x534,0x36f,0x4f3)]()[_0xab9513(0x5fa,0x5c4,0x5f6,0x74d)](),'persistHttpLog':z[_0xab9513(0x4ee,0x662,0x3af,0x47f)]()['optional']()})[_0x32992d(0x6dd,0x5a5,0x4bd,0x59c)]()['optional'](),'requireToolApproval':z[_0x32992d(0x465,0x46f,0x5b9,0x4f3)]()[_0x32992d(0x502,0x4c7,0x4f6,0x5ff)](),'thinking':z['enum']([_0x32992d(0x787,0x64a,0x641,0x746),_0xab9513(0x5f9,0x6c3,0x5b7,0x527),_0x32992d(0x75b,0x5f9,0x4e3,0x61a),_0x32992d(0x690,0x610,0x880,0x6f9)])[_0xab9513(0x5fa,0x6a6,0x50c,0x728)](),'streamingChunks':z[_0x32992d(0x385,0x496,0x4a7,0x4f3)]()[_0x32992d(0x4d5,0x784,0x777,0x5ff)](),'agentsEnabled':z[_0xab9513(0x546,0x67a,0x4c1,0x3f6)](z['string'](),z[_0x32992d(0x385,0x66b,0x44a,0x4f3)]())[_0xab9513(0x5fa,0x502,0x64d,0x651)](),'recentModels':z[_0xab9513(0x6a6,0x616,0x562,0x731)](recentModelSchema)[_0x32992d(0x754,0x749,0x5c5,0x5ff)](),'lsp':lspConfigSchema[_0xab9513(0x5fa,0x6ce,0x545,0x533)](),'servers':z[_0x32992d(0x42f,0x550,0x400,0x54b)](z['string'](),serverEndpointSchema)[_0xab9513(0x5fa,0x5b9,0x742,0x5ee)](),'ui':z[_0xab9513(0x735,0x86e,0x65c,0x62e)]({'theme':uiThemeSettingsSchema[_0x32992d(0x692,0x5cd,0x64b,0x5ff)](),'statusline':statuslineConfigSchema[_0x32992d(0x6c2,0x67b,0x648,0x5ff)]()})['passthrough']()[_0x32992d(0x5e4,0x69c,0x575,0x5ff)](),'tools':z['record'](z[_0x32992d(0x779,0x5c8,0x6fc,0x67e)](),z[_0x32992d(0x5cf,0x569,0x6d1,0x68c)]())[_0xab9513(0x5fa,0x4f1,0x521,0x6a3)](),'hooks':hooksConfigSchema[_0x32992d(0x546,0x53c,0x575,0x5ff)]()})[_0xab9513(0x597,0x508,0x479,0x666)](),workspaceOverlaySchema=z['object']({'root':z[_0xab9513(0x679,0x728,0x6f6,0x6e9)]()[_0x32992d(0x77b,0x4d4,0x73d,0x5ff)](),'allowedDirs':z[_0xab9513(0x6a6,0x813,0x7ca,0x6b7)](z[_0xab9513(0x679,0x79e,0x7b5,0x6cf)]())[_0x32992d(0x626,0x690,0x67a,0x5ff)](),'activeProvider':z[_0x32992d(0x550,0x6f2,0x707,0x67e)]()[_0xab9513(0x5fa,0x6bc,0x75c,0x753)](),'activeModel':z[_0x32992d(0x5f2,0x6e5,0x567,0x67e)]()[_0xab9513(0x5fa,0x5ed,0x501,0x6b2)](),'mcp':mcpSettingsSchema[_0x32992d(0x512,0x6b2,0x768,0x5ff)](),'skills':skillsSettingsSchema[_0xab9513(0x5fa,0x610,0x564,0x697)](),'agents':agentsSettingsSchema[_0xab9513(0x5fa,0x583,0x479,0x67a)](),'commands':commandsSettingsSchema[_0xab9513(0x5fa,0x577,0x709,0x56c)](),'hooks':hooksConfigSchema[_0x32992d(0x748,0x484,0x4f4,0x5ff)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':z[_0xab9513(0x546,0x4cc,0x561,0x5db)](z[_0xab9513(0x679,0x61e,0x66d,0x5c2)](),z[_0xab9513(0x4ee,0x37a,0x59e,0x4df)]())[_0x32992d(0x690,0x489,0x651,0x5ff)](),'skillsEnabled':z[_0xab9513(0x546,0x634,0x46e,0x454)](z[_0xab9513(0x679,0x69d,0x5a8,0x64e)](),z[_0x32992d(0x61c,0x4ea,0x443,0x4f3)]())['optional'](),'agentsEnabled':z['record'](z[_0x32992d(0x571,0x787,0x623,0x67e)](),z[_0xab9513(0x4ee,0x534,0x5b6,0x633)]())[_0x32992d(0x679,0x66c,0x4d9,0x5ff)](),'commandsEnabled':z[_0x32992d(0x56b,0x43c,0x483,0x54b)](z['string'](),z[_0x32992d(0x37f,0x400,0x459,0x4f3)]())[_0x32992d(0x5f4,0x527,0x741,0x5ff)]()})[_0xab9513(0x597,0x50e,0x560,0x566)]();function buildDescription(_0x4a912){const _0x44035e={_0x536a45:0x2c9,_0x3d7b5b:0x11d,_0x5b28e4:0x2d4,_0x4384b5:0x341,_0x4c4bfb:0xc3,_0x53070e:0xdd,_0x1631cd:0xb2,_0x215460:0x30,_0x473c06:0x381,_0x226f30:0x238,_0x2991a3:0x147},_0x5bf73a={_0x4b8b77:0x3bf,_0xc71c5c:0xf9},_0x37fd6a={_0x4e8b15:0x199};function _0x3cdc0e(_0xa9752c,_0x5a9bea,_0x3e12ed,_0x4cc2ce){return _0xab9513(_0x4cc2ce- -0x5cc,_0x5a9bea-0x1a4,_0x3e12ed-_0x37fd6a._0x4e8b15,_0x3e12ed);}if(_0x4a912[_0x10e048(_0x44035e._0x536a45,_0x44035e._0x3d7b5b,0x21d,0x170)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x10e048(_0x44035e._0x5b28e4,0x403,0x31d,_0x44035e._0x4384b5),_0x10e048(-_0x44035e._0x4c4bfb,_0x44035e._0x53070e,_0x44035e._0x1631cd,_0x44035e._0x215460)]['join']('\x0a');function _0x10e048(_0x83a8fd,_0x5bad21,_0x91e3e2,_0x3cbc58){return _0xab9513(_0x91e3e2- -_0x5bf73a._0x4b8b77,_0x5bad21-0x16,_0x91e3e2-_0x5bf73a._0xc71c5c,_0x5bad21);}const _0x2db295=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x10e048(-0xb,0x17,0xab,0x149),..._0x4a912[_0x10e048(_0x44035e._0x473c06,0x228,_0x44035e._0x226f30,0x160)](_0x7ddbe7=>_0x7ddbe7[_0x10e048(0xe3,0x1ae,0x247,0xf7)]?'-\x20'+_0x7ddbe7[_0x3cdc0e(-0x1c,-0x12f,-0x24b,-0xea)]+'\x20'+_0x7ddbe7[_0x3cdc0e(-0x23,0x84,0x51,0x3a)]+':\x20'+_0x7ddbe7[_0x3cdc0e(0x5d,-0x172,-0x1d,-0x67)]:'-\x20'+_0x7ddbe7['name']+':\x20'+_0x7ddbe7[_0x10e048(0x167,0x31c,0x1a6,0x258)])];return _0x2db295[_0x3cdc0e(-0x217,-0x21d,-_0x44035e._0x2991a3,-_0x44035e._0x2991a3)]('\x0a');}function createInvokeCommandTool(_0x5c529a){const _0x61eacf={_0x5f3806:0x53c,_0x7b5754:0x5a6,_0x591e46:0x272,_0x392da4:0x3dc,_0x103ae7:0x3df,_0x397ac3:0x274,_0x2e0fa8:0x3c4},_0x552841={_0x382ff8:0xac,_0x517ad1:0x37,_0x4ac43c:0x5c3,_0x5f3329:0x62a,_0x3ca4ca:0x171,_0x30aed9:0x8a2,_0x1200f5:0x73a,_0xb32581:0x663,_0x1b87de:0x694,_0x4c3fe4:0x4a,_0x32178d:0x4f,_0x3bda93:0x77c,_0x3d7efd:0x576,_0x5c9f49:0x2d,_0x339c2f:0x6bc,_0x5bf46c:0x7cf,_0x40bc57:0x7cb,_0x33800d:0x662,_0x59666b:0x60a,_0xb9b414:0x4ee,_0x13ec79:0x6bb,_0x2f57b0:0x619,_0x1d0512:0x695},_0x2e3179={_0x8f49c1:0x182},_0x377e26={_0x2e529e:0x1a1,_0x54b9bf:0x198},_0x5f3704={_0x10ab83:0x28};function _0x2a6e34(_0x59a799,_0x551ce9,_0x27cfc6,_0x10b456){return _0xab9513(_0x551ce9- -0x29d,_0x551ce9-_0x5f3704._0x10ab83,_0x27cfc6-0x32,_0x10b456);}const _0x49a153=new Map(_0x5c529a['commands']['map'](_0x5570a6=>[_0x5570a6['id'],_0x5570a6]));function _0x394d38(_0x13b448,_0x128a34,_0x35a249,_0x44d09c){return _0xab9513(_0x35a249- -0x19,_0x128a34-_0x377e26._0x2e529e,_0x35a249-_0x377e26._0x54b9bf,_0x44d09c);}const _0x2c3adb=buildDescription(_0x5c529a[_0x394d38(_0x61eacf._0x5f3806,0x55e,_0x61eacf._0x7b5754,0x6cb)]);return defineTool({'name':_0x2a6e34(_0x61eacf._0x591e46,0x3f8,0x2c1,0x299),'description':_0x2c3adb,'inputSchema':{'type':'object','properties':{'name':{'type':_0x2a6e34(0x54f,_0x61eacf._0x392da4,_0x61eacf._0x103ae7,0x3c9)},'args':{'type':_0x2a6e34(0x42c,_0x61eacf._0x392da4,_0x61eacf._0x397ac3,_0x61eacf._0x2e0fa8)}},'required':['name']},async *'execute'(_0x120f17){const _0xe5ac37={_0x1c0f0c:0x173,_0x4e2e03:0x1f6},_0x40b326=_0x49a153[_0x55fd96(_0x552841._0x382ff8,0x9a,0x33,_0x552841._0x517ad1)](_0x120f17[_0x46195e(_0x552841._0x4ac43c,_0x552841._0x5f3329,0x593,0x44f)]);if(!_0x40b326){const _0x5a035b=Array[_0x55fd96(_0x552841._0x3ca4ca,0x153,0x24f,0x150)](_0x49a153[_0x46195e(_0x552841._0x30aed9,0x673,0x7e8,_0x552841._0x1200f5)]())[_0x46195e(_0x552841._0xb32581,0x421,0x536,_0x552841._0x1b87de)](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x120f17[_0x55fd96(-_0x552841._0x4c3fe4,0xd8,_0x552841._0x32178d,0xe2)]+_0x46195e(_0x552841._0x3bda93,_0x552841._0x3d7efd,0x66b,0x540)+_0x5a035b,{'name':_0x120f17[_0x55fd96(0x19f,-_0x552841._0x5c9f49,_0x552841._0x32178d,-0x8f)]});}const _0x2469d2=await _0x5c529a[_0x46195e(0x84a,_0x552841._0x339c2f,_0x552841._0x5bf46c,0x7f6)](_0x40b326);function _0x55fd96(_0x597cbd,_0x5b4503,_0x2e3da6,_0x534014){return _0x2a6e34(_0x597cbd-_0xe5ac37._0x1c0f0c,_0x2e3da6- -_0xe5ac37._0x4e2e03,_0x2e3da6-0x1cd,_0x597cbd);}const _0x31f3d6=_0x120f17[_0x46195e(_0x552841._0x40bc57,0x6de,_0x552841._0x33800d,_0x552841._0x59666b)]??'';function _0x46195e(_0x3d60a3,_0x3dabcc,_0x2ea91f,_0x3bca12){return _0x394d38(_0x3d60a3-0x160,_0x3dabcc-_0x2e3179._0x8f49c1,_0x2ea91f-0xca,_0x3bca12);}const _0x1d9b5e=renderCommandInstructions({'instructions':_0x2469d2['instructions'],'argumentsText':_0x31f3d6,'argumentNames':_0x2469d2['arguments']});return yield createToolOutput(_0x1d9b5e,{'id':_0x2469d2['id'],'name':_0x2469d2[_0x46195e(_0x552841._0xb9b414,0x60e,0x593,_0x552841._0x13ec79)],'path':_0x40b326[_0x46195e(_0x552841._0x2f57b0,0x51d,_0x552841._0x1d0512,0x680)]['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x4c95f3,rename as _0x264d37,stat as _0x427f97,writeFile as _0x5d8645}from'fs/promises';import*as _0x46456f from'path';function detectEol(_0x25db63){const _0x3fc3d7={_0x174671:0x1c7,_0x8066e1:0x1c8,_0x424686:0x44d,_0x9bbbb0:0x20c,_0x2c456a:0x427,_0x4bc512:0x21d},_0x526ab0={_0x1de841:0x20,_0x5aaaa1:0xdb},_0x293c6c={_0x12f049:0x25};function _0x23667f(_0x53f726,_0x3268c1,_0x35b871,_0x37b0d8){return _0xab9513(_0x37b0d8- -0x352,_0x3268c1-0x4f,_0x35b871-_0x293c6c._0x12f049,_0x53f726);}function _0x4093c4(_0x28f7d4,_0x2273ea,_0x1d32b2,_0x5871e9){return _0x32992d(_0x28f7d4-_0x526ab0._0x1de841,_0x28f7d4,_0x1d32b2-_0x526ab0._0x5aaaa1,_0x1d32b2- -0x3d1);}return/\r\n/[_0x4093c4(_0x3fc3d7._0x174671,_0x3fc3d7._0x8066e1,0x323,0x2f9)](_0x25db63['toString'](_0x23667f(0x31c,0x3cf,_0x3fc3d7._0x424686,0x3f9)))?_0x23667f(_0x3fc3d7._0x9bbbb0,_0x3fc3d7._0x2c456a,_0x3fc3d7._0x4bc512,0x2b3):'lf';}function normalizeToLf(_0x4a310a){const _0x582e97={_0x5d215a:0x3c4,_0x5ee8bb:0x44d},_0x32b23a={_0x324832:0x70,_0x4046d3:0xaa};function _0x51ffb5(_0xd0e759,_0x371a18,_0x318c34,_0xb0a6b4){return _0xab9513(_0xb0a6b4- -_0x32b23a._0x324832,_0x371a18-0x135,_0x318c34-_0x32b23a._0x4046d3,_0xd0e759);}return _0x4a310a[_0x51ffb5(_0x582e97._0x5d215a,0x573,_0x582e97._0x5ee8bb,0x48c)](/\r\n/g,'\x0a');}function convertEol(_0x5f5c0c,_0x1d0491){const _0x45ea1b={_0x458bcd:0x16d,_0x212cbd:0x161};function _0x4d1041(_0x25abd9,_0xafa351,_0x3b5a72,_0x278d28){return _0x32992d(_0x25abd9-0x68,_0xafa351,_0x3b5a72-0xc9,_0x25abd9- -0x394);}return _0x1d0491==='crlf'?_0x5f5c0c[_0x4d1041(_0x45ea1b._0x458bcd,-0x19,_0x45ea1b._0x212cbd,0x42)](/\n/g,'\x0d\x0a'):_0x5f5c0c;}async function atomicWrite(_0x540c7c,_0x57ed83){const _0x44d05b={_0x123d93:0x1a0,_0x451f38:0x24d,_0x4ae00a:0x100,_0x3f7df5:0x65,_0x5f0ef2:0x37,_0x54c571:0x152,_0x52b2d1:0x1d5,_0x55efbd:0x9d,_0x140cc3:0x1e2,_0x54ef64:0x106,_0x449919:0x80,_0x121f6e:0xc9,_0x50c267:0xe3,_0x43e39f:0x201,_0x41f4f7:0x11},_0xcc9a87={_0x295540:0xa1},_0x59b7ed={_0xb1b583:0x4bf},_0x1972e6=_0x46456f[_0x562b24(-_0x44d05b._0x123d93,-_0x44d05b._0x451f38,-_0x44d05b._0x4ae00a,-0x28d)](_0x540c7c);function _0x3da5d7(_0x483c38,_0x2c89bd,_0x335038,_0x80a9d){return _0xab9513(_0x80a9d- -_0x59b7ed._0xb1b583,_0x2c89bd-0xd9,_0x335038-0x28,_0x483c38);}const _0x403115=_0x46456f[_0x3da5d7(-0xae,_0x44d05b._0x3f7df5,-0x18b,-0x3a)](_0x1972e6,_0x562b24(_0x44d05b._0x5f0ef2,_0x44d05b._0x54c571,0x56,0x5e)+_0x46456f[_0x3da5d7(_0x44d05b._0x52b2d1,_0x44d05b._0x55efbd,_0x44d05b._0x140cc3,_0x44d05b._0x54ef64)](_0x540c7c)+'.'+Date[_0x562b24(-0xeb,-0x2c,-0x20a,_0x44d05b._0x449919)]()+'.'+Math[_0x3da5d7(_0x44d05b._0x121f6e,0x17d,_0x44d05b._0x50c267,_0x44d05b._0x43e39f)]()[_0x562b24(0x105,0x144,_0x44d05b._0x41f4f7,-0x4e)](0x24)['slice'](0x2));await _0x5d8645(_0x403115,_0x57ed83);function _0x562b24(_0x18db98,_0x5133d1,_0x28fd13,_0x2027e1){return _0xab9513(_0x18db98- -0x637,_0x5133d1-_0xcc9a87._0x295540,_0x28fd13-0x84,_0x28fd13);}await _0x264d37(_0x403115,_0x540c7c);}function sha256(_0x5d0601){const _0x4b43c5={_0x5e2d18:0x140,_0x4245fc:0x58,_0x234414:0x1e9,_0x3bafef:0x168,_0x2118a4:0x3f8,_0x3ad08c:0x444},_0x18d0fc={_0x277f90:0x2aa,_0x5eb372:0x3f,_0x488379:0xf3};function _0x24d42e(_0x481c35,_0x15143d,_0x42755c,_0x2bfcf7){return _0xab9513(_0x2bfcf7- -_0x18d0fc._0x277f90,_0x15143d-_0x18d0fc._0x5eb372,_0x42755c-_0x18d0fc._0x488379,_0x15143d);}function _0x17cd6f(_0x2ac1ef,_0x29a468,_0x57082f,_0x231061){return _0xab9513(_0x2ac1ef- -0x33d,_0x29a468-0x1,_0x57082f-0xbb,_0x231061);}return createHash(_0x17cd6f(_0x4b43c5._0x5e2d18,_0x4b43c5._0x4245fc,0x92,0x7c))[_0x17cd6f(_0x4b43c5._0x234414,0x30c,_0x4b43c5._0x3bafef,0x76)](_0x5d0601)['digest'](_0x24d42e(0x3c4,_0x4b43c5._0x2118a4,0x4ca,_0x4b43c5._0x3ad08c));}function countLines(_0x28ad8b){const _0x4ae099={_0x486fc1:0x51,_0x22dd2c:0x166,_0xc6b8e8:0x77e,_0x3a36d9:0x8f,_0xcde104:0x9c},_0x3d7433={_0x3287f8:0x1c1,_0x2edee7:0xa6},_0x1808c0={_0x19ea1e:0x54d};function _0x5daddb(_0x276ea6,_0x37ee5b,_0x1162e5,_0x2386a1){return _0xab9513(_0x276ea6- -_0x1808c0._0x19ea1e,_0x37ee5b-0x128,_0x1162e5-0x6b,_0x2386a1);}const _0x1d7ef2=_0x28ad8b[_0x5daddb(-_0x4ae099._0x486fc1,-0x11d,-_0x4ae099._0x22dd2c,-0x19d)](/\n$/,'');function _0x58bde2(_0x113e44,_0x4984c8,_0x123c88,_0x2ba483){return _0x32992d(_0x113e44-_0x3d7433._0x3287f8,_0x2ba483,_0x123c88-0xab,_0x4984c8-_0x3d7433._0x2edee7);}return _0x1d7ef2['length']===0x0?0x0:_0x1d7ef2[_0x58bde2(_0x4ae099._0xc6b8e8,0x64a,0x6b8,0x584)]('\x0a')[_0x5daddb(_0x4ae099._0x3a36d9,0x2c,-_0x4ae099._0xcde104,-0x27)];}function calculateLineNumbers(_0x4b4337,_0x1200cb,_0x1a4fed,_0x361bca){const _0x2a65af={_0x26f637:0x152,_0x5e62d2:0x136,_0x3cd401:0x10b,_0x21a08b:0x44,_0x309bf2:0x58,_0x48c792:0x370},_0x14c69f={_0x30585d:0x5c,_0x4a4369:0x3ec},_0x4eaada=_0x4b4337[_0x4e2a0e(_0x2a65af._0x26f637,0x18f,_0x2a65af._0x5e62d2,0x13)](0x0,_0x361bca)[_0x4e2a0e(_0x2a65af._0x3cd401,0x26c,_0x2a65af._0x21a08b,-_0x2a65af._0x309bf2)]('\x0a')[_0x225afd(0x13f,0x272,_0x2a65af._0x48c792,0x1f5)],_0x2a8356=countLines(_0x1200cb),_0x3a66df=countLines(_0x1a4fed);function _0x4e2a0e(_0x3ee82b,_0x505c59,_0x4fa241,_0x14fa28){return _0x32992d(_0x3ee82b-0x9f,_0x505c59,_0x4fa241-0xc8,_0x3ee82b- -0x499);}function _0x225afd(_0x3cc1c8,_0x56175a,_0x4b3862,_0x1a7622){return _0x32992d(_0x3cc1c8-_0x14c69f._0x30585d,_0x4b3862,_0x4b3862-0x140,_0x1a7622- -_0x14c69f._0x4a4369);}return{'oldStartLine':_0x4eaada,'oldEndLine':_0x4eaada+_0x2a8356-0x1,'newStartLine':_0x4eaada,'newEndLine':_0x4eaada+_0x3a66df-0x1,'oldLineCount':_0x2a8356,'newLineCount':_0x3a66df};}function createFileEditTool(_0x262335={}){const _0x52e806={_0x4f314c:0xdb,_0xd4654:0x31,_0x5e26a5:0x186,_0x4f3b76:0x1fd,_0x4dac76:0x4e4,_0x2007e0:0x5a3,_0x23ce16:0x4e2,_0x53e81e:0x59f,_0x4c663b:0x3f1,_0x3b1219:0x426,_0x59423e:0x4d4,_0x5d3317:0x1a4,_0x7f8ace:0x308,_0x466b33:0x563,_0xb1795f:0x2b8,_0x31ddb3:0x1e4,_0x3f84ce:0x29b,_0x44ae6f:0x509,_0x46adb7:0x387},_0x248861={_0x43c8df:0x698,_0xd99a54:0x704,_0x20ec0c:0x640,_0x3b5f0a:0x7ff,_0x1690a2:0x7d4,_0x18734b:0x713,_0x404e0d:0x7e4,_0x5a1ec5:0x5f2,_0xfb0da7:0x516,_0xd4d4e:0x54a,_0x2b0e5e:0x457,_0x66b02d:0x4c4,_0x4f2a20:0x41d,_0x32c9c:0x615,_0x5a63f9:0x561,_0x2fa6ba:0x610,_0x127992:0x600,_0x55cb9f:0x5af,_0x275e1c:0x64b,_0x3dc1ca:0x6ca,_0x39ec29:0x620,_0x5a15d1:0x565,_0x3c6f2a:0x4fb,_0x544838:0x7e1,_0x2f68a4:0x588,_0x24bbbc:0x5ea,_0x4fddcc:0x5f3,_0x7a3a34:0x6a2,_0xa1c9b3:0x4f9,_0xb33fa4:0x4c0,_0x5df5d9:0x692,_0x55593a:0x636,_0x2f034f:0x5a5,_0x48ac4b:0x6a0,_0x191ff5:0x57f},_0x2a0579={_0x33cc90:0x145,_0x9c6eb8:0x2ad},_0x2ee6ce={_0x708250:0x4ba,_0x152fe9:0x89},_0x3925be={_0x2fb4af:0x253,_0x1dcb6e:0x64,_0x26e62d:0x1ad},_0xb00379=_0x46456f[_0x143d40(0x182,0x197,0x27c,0x379)](_0x262335['defaultCwd']??process['cwd']()),_0x2f5a2b=_0x262335[_0x1d26e9(0x43,-_0x52e806._0x4f314c,0x10b,_0x52e806._0xd4654)]??[];function _0x143d40(_0x1e34fd,_0x2c619d,_0x4e385b,_0x50b7fe){return _0xab9513(_0x4e385b- -_0x3925be._0x2fb4af,_0x2c619d-_0x3925be._0x1dcb6e,_0x4e385b-_0x3925be._0x26e62d,_0x1e34fd);}const _0x25ecc0=_0x262335['name']??_0x1d26e9(0x282,_0x52e806._0x5e26a5,0x119,_0x52e806._0x4f3b76);function _0x1d26e9(_0x4fad8d,_0x3f6cc1,_0x2ffad5,_0x40a013){return _0xab9513(_0x40a013- -_0x2ee6ce._0x708250,_0x3f6cc1-0x1d9,_0x2ffad5-_0x2ee6ce._0x152fe9,_0x4fad8d);}return defineTool({'name':_0x25ecc0,'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x143d40(_0x52e806._0x4dac76,_0x52e806._0x2007e0,_0x52e806._0x23ce16,0x3ec),'properties':{'filePath':{'type':_0x143d40(_0x52e806._0x53e81e,0x39a,0x426,0x3ad)},'description':{'type':_0x143d40(0x5ab,_0x52e806._0x4c663b,_0x52e806._0x3b1219,_0x52e806._0x59423e),'description':_0x1d26e9(_0x52e806._0x5d3317,0x1c8,_0x52e806._0x7f8ace,0x217)},'oldText':{'type':'string'},'newText':{'type':_0x143d40(_0x52e806._0x466b33,0x473,0x426,_0x52e806._0xb1795f)},'dryRun':{'type':_0x143d40(0x30a,_0x52e806._0x31ddb3,_0x52e806._0x3f84ce,0x1b1)}},'required':['filePath',_0x143d40(_0x52e806._0x44ae6f,0x37b,0x470,0x5ba),_0x143d40(0x5ba,_0x52e806._0x46adb7,0x4b7,0x4fc)]},async *'execute'(_0x172ad8){const _0x54f041={_0x3012d3:0x98},_0x1255e4=resolveAllowedPath(_0xb00379,_0x2f5a2b,_0x172ad8[_0x98a3b0(_0x248861._0x43c8df,0x787,0x7a9,0x67e)]);await assertWorkspaceFile(_0x1255e4);const _0x4a1be8=await _0x427f97(_0x1255e4),_0x5c528a=await _0x4c95f3(_0x1255e4),_0x2b682c=detectEol(_0x5c528a),_0x1beeb4=normalizeToLf(_0x5c528a[_0x47bfa1(0x69e,_0x248861._0xd99a54,_0x248861._0x20ec0c,_0x248861._0x3b5f0a)](_0x47bfa1(_0x248861._0x1690a2,_0x248861._0x18734b,_0x248861._0x404e0d,0x59f))),_0x1c5c66=normalizeToLf(_0x172ad8['oldText']),_0xb0108b=normalizeToLf(_0x172ad8['newText']),_0x59ab78=_0x1beeb4[_0x47bfa1(_0x248861._0x5a1ec5,0x583,0x619,_0x248861._0xfb0da7)](_0x1c5c66);if(_0x59ab78===-0x1){const _0x4f91ed=_0x1c5c66[_0x47bfa1(0x43f,0x5ae,0x5c1,_0x248861._0xd4d4e)](0x0,0x64)[_0x47bfa1(_0x248861._0x2b0e5e,_0x248861._0x66b02d,_0x248861._0x4f2a20,0x481)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x4f91ed+(_0x1c5c66[_0x47bfa1(0x666,0x5a4,0x5ba,_0x248861._0x32c9c)]>0x64?'...':'')+'\x22',{'filePath':_0x172ad8['filePath']});}function _0x47bfa1(_0x30ce52,_0x2a532e,_0x67f397,_0x14cff6){return _0x143d40(_0x30ce52,_0x2a532e-_0x54f041._0x3012d3,_0x2a532e-0x21b,_0x14cff6-0x1c2);}const _0xb7cd0b=_0x1beeb4['slice'](0x0,_0x59ab78)+_0xb0108b+_0x1beeb4[_0x98a3b0(0x779,0x505,0x640,_0x248861._0x5a63f9)](_0x59ab78+_0x1c5c66['length']),_0x32fc87=convertEol(_0xb7cd0b,_0x2b682c),_0xf1fee1=Buffer['from'](_0x32fc87,_0x47bfa1(_0x248861._0x2fa6ba,0x713,_0x248861._0x127992,_0x248861._0x55cb9f)),_0x3e96c7=sha256(_0x5c528a);function _0x98a3b0(_0xd3cc80,_0x28c175,_0x5076b6,_0x31346c){return _0x143d40(_0x31346c,_0x28c175-_0x2a0579._0x33cc90,_0x5076b6-_0x2a0579._0x9c6eb8,_0x31346c-0x9b);}const _0x4ee0d9=sha256(_0xf1fee1),_0x19e334=_0x3e96c7===_0x4ee0d9,_0x21fcae=_0x172ad8['dryRun']??![];return!_0x21fcae&&!_0x19e334&&await atomicWrite(_0x1255e4,_0xf1fee1),yield createToolOutput(_0x19e334?_0x98a3b0(0x7c4,0x734,0x68f,_0x248861._0x275e1c):_0x21fcae?_0x47bfa1(0x5d7,0x70f,0x7c1,_0x248861._0x3dc1ca):'Edit\x20applied\x20successfully.',{'filePath':_0x172ad8['filePath'],'resolvedPath':_0x1255e4,'created':_0x4a1be8[_0x98a3b0(_0x248861._0x39ec29,0x6ec,_0x248861._0x5a15d1,0x641)][_0x98a3b0(_0x248861._0x3c6f2a,0x693,0x5ea,0x6b8)](),'modified':_0x4a1be8[_0x47bfa1(_0x248861._0x544838,0x665,0x661,0x650)][_0x98a3b0(0x4e4,_0x248861._0x2f68a4,_0x248861._0x24bbbc,_0x248861._0x4fddcc)](),'size':_0x4a1be8[_0x98a3b0(0x657,_0x248861._0x7a3a34,0x525,_0x248861._0xa1c9b3)],'eol':_0x2b682c,'oldTextLength':_0x1c5c66[_0x98a3b0(0x694,_0x248861._0xb33fa4,0x636,0x591)],'newTextLength':_0xb0108b[_0x98a3b0(_0x248861._0x5df5d9,0x58d,_0x248861._0x55593a,0x652)],'bytesWritten':_0x19e334||_0x21fcae?0x0:_0xf1fee1[_0x98a3b0(_0x248861._0x2f034f,_0x248861._0x48ac4b,0x636,_0x248861._0x191ff5)],'beforeSha':_0x3e96c7,'afterSha':_0x4ee0d9,'dryRun':_0x21fcae,'noChange':_0x19e334,'lineNumbers':calculateLineNumbers(_0x1beeb4,_0x1c5c66,_0xb0108b,_0x59ab78)}),void 0x0;}});}import{mkdir as _0x53fd20,rename as _0x589db7,stat as _0x34b2fe,writeFile as _0x198706}from'fs/promises';import*as _0x23b4c7 from'path';async function atomicWrite2(_0x487336,_0x12f2e6){const _0x20f7d9={_0x4a5fe1:0x211,_0x16850b:0x38c,_0x44d1dc:0x254,_0x92f437:0x529,_0x117c61:0x37f,_0x596fe5:0x3d4,_0x441e51:0x5af,_0x32de46:0x53e,_0x11b408:0x430,_0x3d2623:0x441,_0x2f3b70:0x4a9,_0x1f242d:0x570,_0x5d5bc0:0x451},_0x36d94a={_0x50ee9b:0x1a3,_0x42f5ac:0x112},_0x11e02c={_0x38cbc4:0x185},_0x3e8e11=_0x23b4c7[_0x15c5a3(_0x20f7d9._0x4a5fe1,_0x20f7d9._0x16850b,0x468,0x42a)](_0x487336);function _0x15c5a3(_0x12a569,_0x386e2b,_0x163042,_0x5ec4a1){return _0x32992d(_0x12a569-_0x11e02c._0x38cbc4,_0x5ec4a1,_0x163042-0x1d0,_0x386e2b- -0x110);}await _0x53fd20(_0x3e8e11,{'recursive':!![]});const _0x1cef0e=_0x23b4c7[_0x33dce5(0x17b,_0x20f7d9._0x44d1dc,0x37b,0x2f0)](_0x3e8e11,_0x33dce5(_0x20f7d9._0x92f437,_0x20f7d9._0x117c61,_0x20f7d9._0x596fe5,0x4d9)+_0x23b4c7[_0x33dce5(_0x20f7d9._0x441e51,0x2fc,_0x20f7d9._0x32de46,_0x20f7d9._0x11b408)](_0x487336)+'.'+Date[_0x15c5a3(0x4db,_0x20f7d9._0x3d2623,0x4fb,0x57e)]()+'.'+Math[_0x33dce5(_0x20f7d9._0x2f3b70,0x5d6,0x617,0x52b)]()['toString'](0x24)[_0x33dce5(0x56e,_0x20f7d9._0x1f242d,0x4a8,_0x20f7d9._0x5d5bc0)](0x2));function _0x33dce5(_0x1c6844,_0x306941,_0x30d286,_0x50e05c){return _0xab9513(_0x50e05c- -0x195,_0x306941-_0x36d94a._0x50ee9b,_0x30d286-_0x36d94a._0x42f5ac,_0x30d286);}await _0x198706(_0x1cef0e,_0x12f2e6),await _0x589db7(_0x1cef0e,_0x487336);}function createFileNewTool(_0x12ac53={}){const _0x8ea446={_0x2ceb38:0x19f,_0x3513ab:0x220,_0x355ab1:0x2f9,_0x4a4ab6:0x161,_0x312ab8:0x271,_0x2b26d1:0x2f4,_0x239609:0x1af,_0x348dfc:0x183,_0x2c25f6:0x22a,_0x110729:0x10e,_0x3c7364:0x60,_0x4f08f2:0x1a7,_0x571b9a:0xb1,_0x949c3d:0xc7,_0xe3342a:0x15d,_0x3419e9:0xfd,_0x6fdf8b:0xb,_0x4ee178:0x61,_0x351642:0x17,_0x121803:0x2f6,_0x275da2:0x206,_0x34a897:0x1f7,_0xe95150:0x123,_0x57137f:0x16e},_0x4d1d6c={_0x5f2746:0x64c,_0x73499c:0x2b4,_0x2ab5f5:0x46f,_0x2e82a4:0x5d2,_0x5645c7:0x503,_0x34323a:0x513,_0x57d5d9:0x62f,_0x27d6df:0x548,_0x186da4:0x675,_0x59a829:0x507,_0x4755e6:0x52b,_0x4855e8:0x542,_0x4b872b:0x4bb},_0x3738fe={_0x4f1057:0x199},_0x55e778={_0x575a67:0x482,_0x3395db:0x59};function _0x396976(_0x331acf,_0x270675,_0x5abfe9,_0x1ff6ab){return _0xab9513(_0x5abfe9- -_0x55e778._0x575a67,_0x270675-0x53,_0x5abfe9-_0x55e778._0x3395db,_0x270675);}const _0x3bc32e=_0x23b4c7[_0x3a63b5(-0x136,-_0x8ea446._0x2ceb38,-_0x8ea446._0x3513ab,-_0x8ea446._0x355ab1)](_0x12ac53[_0x3a63b5(-_0x8ea446._0x4a4ab6,-0x207,-_0x8ea446._0x312ab8,-_0x8ea446._0x2b26d1)]??process['cwd']());function _0x3a63b5(_0x3cf82b,_0x496362,_0x4575ea,_0x292154){return _0x32992d(_0x3cf82b-_0x3738fe._0x4f1057,_0x3cf82b,_0x4575ea-0x41,_0x496362- -0x673);}const _0x2cceeb=_0x12ac53[_0x3a63b5(-_0x8ea446._0x239609,-_0x8ea446._0x348dfc,-0x282,-_0x8ea446._0x2c25f6)]??[],_0x5025df=_0x12ac53[_0x396976(_0x8ea446._0x110729,-0x4d,_0x8ea446._0x3c7364,_0x8ea446._0x4f08f2)]??'FileNew';return defineTool({'name':_0x5025df,'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x3a63b5(_0x8ea446._0x571b9a,_0x8ea446._0x949c3d,0x8a,_0x8ea446._0xe3342a),'properties':{'filePath':{'type':_0x3a63b5(-_0x8ea446._0x3419e9,_0x8ea446._0x6fdf8b,_0x8ea446._0x4ee178,_0x8ea446._0x351642)},'content':{'type':_0x396976(_0x8ea446._0x121803,_0x8ea446._0x275da2,_0x8ea446._0x34a897,_0x8ea446._0xe95150)}},'required':['filePath',_0x3a63b5(-0xa3,-0x167,-0xce,-_0x8ea446._0x57137f)]},async *'execute'(_0x26eec9){const _0x288c49={_0x556c43:0x599,_0x3c0394:0x36},_0x3e8532=resolveAllowedPath(_0x3bc32e,_0x2cceeb,_0x26eec9[_0x2c7156(_0x4d1d6c._0x5f2746,0x67e,0x4ff,0x43d)]);function _0x2bfacb(_0x4de208,_0x139880,_0x3ad376,_0x3a3bd4){return _0x3a63b5(_0x139880,_0x3ad376-_0x288c49._0x556c43,_0x3ad376-0x1c,_0x3a3bd4-_0x288c49._0x3c0394);}const _0x3b5b7b=await _0x34b2fe(_0x3e8532)[_0x2bfacb(_0x4d1d6c._0x73499c,_0x4d1d6c._0x2ab5f5,0x41f,0x440)](()=>!![])['catch'](()=>![]);function _0x2c7156(_0x42d097,_0x327de7,_0x2b173a,_0x18451e){return _0x396976(_0x42d097-0x1e2,_0x18451e,_0x2b173a-0x232,_0x18451e-0x1ae);}const _0x545fc6=Buffer[_0x2bfacb(_0x4d1d6c._0x2e82a4,_0x4d1d6c._0x5645c7,0x60d,0x5e7)](_0x26eec9['content'],'utf8');return await atomicWrite2(_0x3e8532,_0x545fc6),yield createToolOutput('File\x20written\x20at\x20'+_0x26eec9[_0x2c7156(_0x4d1d6c._0x34323a,0x5a9,0x4ff,_0x4d1d6c._0x57d5d9)]+'.',{'filePath':_0x26eec9['filePath'],'resolvedPath':_0x3e8532,'bytes':_0x545fc6['length'],'lines':_0x26eec9['content'][_0x2c7156(0x2cd,0x41d,0x34f,0x3bc)](/\r?\n/)[_0x2bfacb(_0x4d1d6c._0x27d6df,_0x4d1d6c._0x186da4,_0x4d1d6c._0x59a829,_0x4d1d6c._0x4755e6)],'created':new Date()[_0x2bfacb(_0x4d1d6c._0x4855e8,0x54e,_0x4d1d6c._0x4b872b,0x38f)](),'overwritten':_0x3b5b7b}),void 0x0;}});}import{readFile as _0x4b66d3,stat as _0x153368}from'fs/promises';import*as _0x17727d from'path';function stripUtfBom(_0x1ded39){const _0x1f6630={_0x15a36e:0x47e,_0x3282fa:0x3c1,_0x23a8b8:0x2fd,_0xea4f88:0x36d},_0x13bcfb={_0x232658:0x6bb,_0x528445:0x175},_0x226714={_0xe99364:0x12e};function _0x8facd8(_0x2532ed,_0x27907f,_0x1d3b6a,_0x1f45b1){return _0x32992d(_0x2532ed-0x48,_0x27907f,_0x1d3b6a-_0x226714._0xe99364,_0x1d3b6a- -0x27e);}function _0x13afcc(_0x32245d,_0x1b6e09,_0x3f4842,_0x1c4fe0){return _0xab9513(_0x1b6e09- -_0x13bcfb._0x232658,_0x1b6e09-0x1a0,_0x3f4842-_0x13bcfb._0x528445,_0x1c4fe0);}return _0x1ded39[_0x8facd8(0x512,_0x1f6630._0x15a36e,_0x1f6630._0x3282fa,0x401)](0x0)===0xfeff?_0x1ded39[_0x8facd8(_0x1f6630._0x23a8b8,0x200,_0x1f6630._0xea4f88,0x3f6)](0x1):_0x1ded39;}function clampLine(_0x2e427c,_0x3cf41f){const _0x3a7dd3={_0x54ea09:0x2c1,_0x4e0567:0x3b8,_0x5957d4:0x3,_0x55f603:0x129,_0x3196c5:0x221,_0x2241fd:0x3db,_0x5b719e:0x2b2},_0x46058b={_0x3d917e:0x498,_0x76764:0x76},_0x4436b5={_0x496f3f:0x348,_0x35f0d3:0x136};function _0x23e554(_0x5bf359,_0x30b81c,_0x91b159,_0x28289){return _0xab9513(_0x28289- -_0x4436b5._0x496f3f,_0x30b81c-0x5,_0x91b159-_0x4436b5._0x35f0d3,_0x91b159);}if(!Number[_0x2e00b1(_0x3a7dd3._0x54ea09,_0x3a7dd3._0x4e0567,0x19a,0x232)](_0x2e427c))return 0x1;function _0x2e00b1(_0x20ad7b,_0x4b1853,_0x295a60,_0x129f5b){return _0xab9513(_0x129f5b- -_0x46058b._0x3d917e,_0x4b1853-0xd,_0x295a60-_0x46058b._0x76764,_0x295a60);}return Math[_0x2e00b1(0xd,_0x3a7dd3._0x5957d4,0x210,_0x3a7dd3._0x55f603)](0x1,Math[_0x2e00b1(0x5e,0x11d,0x269,0xf3)](Math[_0x23e554(_0x3a7dd3._0x3196c5,_0x3a7dd3._0x2241fd,_0x3a7dd3._0x5b719e,0x2aa)](_0x2e427c),_0x3cf41f));}function createFileReadTool(_0x4781a6={}){const _0x1560ba={_0x5d12b2:0x3a9,_0x3f17b5:0x3f5,_0x1c9aea:0x5f8,_0x529b3b:0x562,_0x1a0af0:0x2f0,_0x998a56:0x2dd,_0x4f5242:0x411,_0x3b4089:0x454,_0xbb9e5f:0x501,_0x5df7e6:0x408,_0x112b00:0x110,_0x15c654:0x14b,_0x58686b:0x8d,_0x35bf97:0x1a2,_0x2fe6ee:0x1a4,_0x30fcae:0x203,_0x27f6b8:0x1c1,_0x106a0a:0x328,_0x386865:0x72a,_0xbc144c:0x67f,_0x4f02d7:0x150,_0x36cc62:0x5ee},_0xb13044={_0x59710d:0x135,_0x508079:0x2e7,_0x5bbc59:0x458,_0x2de25b:0x34b,_0x7817aa:0x148,_0x1ad535:0x266,_0x21051b:0x4c,_0x59212d:0xfe,_0x5810d1:0x178,_0x20b58a:0xa7,_0x52d10f:0x13,_0x443211:0x58,_0x2afa43:0x140,_0x4ebd52:0x1b0,_0x27210f:0x1f9,_0x1e9035:0xbd,_0x190b9a:0x1ec,_0x174c2b:0x29c,_0x3e9c3c:0x182,_0x293579:0x8c,_0x3d490f:0x5b1,_0x43e274:0x122,_0x21be0e:0x359,_0x18cbb4:0x220,_0x116087:0x37e,_0x4a013:0x49a,_0x4360bc:0x32c,_0x430092:0x412,_0x2039de:0x3f6,_0x5749a5:0x157,_0x1ec13f:0x144,_0x3ea44b:0x3,_0x4cebdd:0x1ba,_0x56e74e:0xa6,_0x41fdfd:0xa5,_0x47e5d8:0x147,_0xc21742:0x128,_0x43e5d0:0x159,_0x1c3c24:0x56,_0x29f701:0x56,_0x236fd9:0x7c,_0x333394:0x138},_0x4c9ddb={_0x24eeda:0xe1,_0x5f1ca6:0x1f8},_0x4b70dc={_0x35bab5:0x532,_0x5bd402:0xdf},_0x358d5f={_0x22866a:0x1d1},_0x2baec1=_0x17727d[_0x353420(0x53a,_0x1560ba._0x5d12b2,_0x1560ba._0x3f17b5,0x51b)](_0x4781a6['defaultCwd']??process[_0x353420(0x41a,_0x1560ba._0x1c9aea,_0x1560ba._0x529b3b,0x67e)]()),_0x43dfde=_0x4781a6[_0x353420(_0x1560ba._0x1a0af0,_0x1560ba._0x998a56,_0x1560ba._0x4f5242,_0x1560ba._0x3b4089)]??[],_0x20517e=_0x4781a6[_0x353420(_0x1560ba._0xbb9e5f,0x303,_0x1560ba._0x5df7e6,0x4e8)]??_0x3340f1(0x218,_0x1560ba._0x112b00,_0x1560ba._0x15c654,0x77);function _0x353420(_0x8e82af,_0x1518d4,_0x28e9fa,_0x3602b7){return _0xab9513(_0x28e9fa- -0xda,_0x1518d4-0x32,_0x28e9fa-_0x358d5f._0x22866a,_0x8e82af);}function _0x3340f1(_0x367fe7,_0x273579,_0x45ed74,_0x560fd1){return _0xab9513(_0x273579- -_0x4b70dc._0x35bab5,_0x273579-0x187,_0x45ed74-_0x4b70dc._0x5bd402,_0x45ed74);}return defineTool({'name':_0x20517e,'description':_0x3340f1(-0x12,-_0x1560ba._0x58686b,-_0x1560ba._0x35bf97,-0xf2),'inputSchema':{'type':_0x3340f1(_0x1560ba._0x2fe6ee,_0x1560ba._0x30fcae,_0x1560ba._0x27f6b8,_0x1560ba._0x106a0a),'properties':{'path':{'type':'string'},'lineStart':{'type':'number','description':_0x353420(0x77e,_0x1560ba._0x386865,0x674,_0x1560ba._0xbc144c)},'lineEnd':{'type':'number','description':_0x3340f1(_0x1560ba._0x4f02d7,0x182,0xe0,0x2cc)}},'required':[_0x353420(0x531,_0x1560ba._0x36cc62,0x4a7,0x535)]},async *'execute'(_0x2f4d3a){function _0x476c4e(_0x2a4106,_0x292b75,_0x105edc,_0x2f2ad9){return _0x353420(_0x292b75,_0x292b75-_0x4c9ddb._0x24eeda,_0x105edc- -_0x4c9ddb._0x5f1ca6,_0x2f2ad9-0xb0);}const _0x2dbd19=resolveAllowedPath(_0x2baec1,_0x43dfde,_0x2f4d3a[_0x476c4e(_0xb13044._0x59710d,_0xb13044._0x508079,0x2af,0x345)]);await assertWorkspaceFile(_0x2dbd19);const _0x50d9a0=await _0x153368(_0x2dbd19),_0x5de419=await _0x4b66d3(_0x2dbd19);if(isProbablyBinary(_0x5de419))throw new ToolExecutionError(_0x476c4e(0x3bf,0x47f,_0xb13044._0x5bbc59,0x53c)+_0x2f4d3a[_0x476c4e(0x373,0x301,0x2af,0x3e3)],{'path':_0x2f4d3a[_0x476c4e(_0xb13044._0x2de25b,_0xb13044._0x7817aa,0x2af,_0xb13044._0x1ad535)]});let _0x51eb59=_0x5de419['toString'](_0x4d1eef(-_0xb13044._0x21051b,-0x4f,_0xb13044._0x59212d,_0xb13044._0x5810d1));const _0x1a3e40=_0x51eb59[_0x4d1eef(-0x81,-_0xb13044._0x20b58a,-_0xb13044._0x52d10f,-0xb6)](0x0)===0xfeff;function _0x4d1eef(_0x574088,_0x4032c1,_0x3430b6,_0x1512f9){return _0x3340f1(_0x574088-0x141,_0x3430b6- -0x11b,_0x1512f9,_0x1512f9-0x1d6);}_0x51eb59=stripUtfBom(_0x51eb59);const _0x1413b6=_0x51eb59[_0x4d1eef(0xcb,_0xb13044._0x443211,-0xae,-0xdb)](/\r?\n/),_0x4818ab={'path':_0x2f4d3a['path'],'resolvedPath':_0x2dbd19,'created':_0x50d9a0['birthtime']['toISOString'](),'modified':_0x50d9a0[_0x4d1eef(0xce,_0xb13044._0x2afa43,0x50,_0xb13044._0x4ebd52)][_0x4d1eef(-_0xb13044._0x27210f,-0x20c,-_0xb13044._0x1e9035,-0x1ce)](),'size':_0x50d9a0[_0x4d1eef(-_0xb13044._0x190b9a,-_0xb13044._0x174c2b,-_0xb13044._0x3e9c3c,-_0xb13044._0x293579)],'encoding':_0x476c4e(_0xb13044._0x3d490f,0x459,0x479,0x56d),'bomStripped':_0x1a3e40,'truncated':![],'totalLines':_0x1413b6['length']};if(_0x2f4d3a[_0x4d1eef(-_0xb13044._0x43e274,0x90,-0xce,-0x1b5)]!==void 0x0||_0x2f4d3a[_0x476c4e(_0xb13044._0x21be0e,_0xb13044._0x18cbb4,_0xb13044._0x116087,_0xb13044._0x4a013)]!==void 0x0){const _0xa79452=clampLine(_0x2f4d3a[_0x476c4e(_0xb13044._0x4360bc,0x17e,0x2ad,_0xb13044._0x430092)]??0x1,_0x1413b6[_0x476c4e(0x281,_0xb13044._0x2039de,0x30a,0x364)]),_0x58baa5=clampLine(_0x2f4d3a[_0x4d1eef(-_0xb13044._0x5749a5,-_0xb13044._0x1ec13f,_0xb13044._0x3ea44b,-0x17b)]??_0x1413b6['length'],_0x1413b6['length']),_0x13bfc3=Math[_0x4d1eef(-_0xb13044._0x4cebdd,-_0xb13044._0x56e74e,-0xc2,_0xb13044._0x41fdfd)](_0xa79452,_0x58baa5),_0x3d94f2=Math[_0x4d1eef(-0x8e,-_0xb13044._0x47e5d8,-_0xb13044._0x293579,-_0xb13044._0xc21742)](_0xa79452,_0x58baa5),_0x454588=_0x1413b6[_0x4d1eef(-0x17d,-0x1b6,-0x67,0x119)](_0x13bfc3-0x1,_0x3d94f2)[_0x4d1eef(-_0xb13044._0x43e5d0,-0x107,-_0xb13044._0x1c3c24,_0xb13044._0x29f701)]((_0x5d4689,_0x2c5c35)=>_0x13bfc3+_0x2c5c35+'|'+_0x5d4689)[_0x476c4e(_0xb13044._0x236fd9,0x126,0x1b3,_0xb13044._0x333394)]('\x0a');return yield createToolOutput(_0x454588,{..._0x4818ab,'lineRange':{'lineStart':_0x13bfc3,'lineEnd':_0x3d94f2,'linesTotal':_0x1413b6[_0x476c4e(0x487,0x2ac,0x30a,0x30b)]}}),void 0x0;}return yield createToolOutput(_0x51eb59,_0x4818ab),void 0x0;}});}import{stat as _0x4943ea}from'fs/promises';import*as _0x3782d6 from'path';import{execSync,spawn as _0x15166e}from'child_process';import{existsSync}from'fs';import{stat as _0x378c3b}from'fs/promises';import*as _0x4a68ce from'os';import*as _0x547a3f from'path';import{rgPath as _0x2c4f6a}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2e180f={_0x328125:0x11f,_0x446599:0x16d,_0x27075d:0x9c,_0x11152c:0x1b3,_0x258eee:0x149,_0x15176a:0x81,_0x34e5ad:0xc1,_0x479c32:0x182,_0xbeb9f0:0x68,_0x4b3a5e:0xdd,_0xd6160a:0x21d,_0x8f4ab2:0x190,_0x3ebf80:0x232,_0x2e098d:0x126,_0x4ed862:0x9b,_0x20f670:0x1d6,_0x28d021:0x19e,_0xdf7415:0x210,_0x34bc7c:0xaa,_0xfba847:0x1cd,_0x148eb1:0x34e,_0x3650f5:0x1f7,_0x53bff2:0x139,_0x5808bd:0xc,_0x481bea:0x1c,_0x26e2d4:0xbe,_0x3e94d0:0x193,_0x30fef6:0x28,_0xb4158f:0xef,_0x39e5ef:0x66,_0x1fd912:0x175,_0x4b9130:0xd1,_0x45bd91:0xce,_0x7d1fde:0x5c,_0x64b54e:0x177,_0x515b0f:0x294,_0xb39515:0x35a,_0x2cfea9:0x3ed,_0x53417f:0x51,_0x349805:0x12,_0x4e94fe:0x145,_0x4303c8:0x314,_0x129381:0xc6},_0x3334ad={_0x1fe5fb:0xfe,_0x3777a4:0xca,_0x26c8b6:0x4bc},_0x361082={_0x10c7ce:0x6b7};function _0x2a9079(_0x5ddb17,_0x1f600f,_0x3a2611,_0x500a2f){return _0xab9513(_0x3a2611- -_0x361082._0x10c7ce,_0x1f600f-0x2e,_0x3a2611-0xc2,_0x1f600f);}const _0x379e1c=_0x4a68ce[_0x2a9079(-_0x2e180f._0x328125,-0x19,-0x8f,-_0x2e180f._0x446599)]()===_0x2a9079(-_0x2e180f._0x27075d,-0x33,-_0x2e180f._0x11152c,-_0x2e180f._0x258eee),_0xc3daeb=_0x379e1c?[_0x547a3f[_0x220434(-0x32,_0x2e180f._0x15176a,0x3a,_0x2e180f._0x34e5ad)](process['env'][_0x2a9079(-_0x2e180f._0x479c32,-_0x2e180f._0xbeb9f0,-0x111,-_0x2e180f._0x4b3a5e)]||'',_0x220434(0x2a9,_0x2e180f._0xd6160a,0x409,0x1dd),'WinGet',_0x220434(_0x2e180f._0x8f4ab2,0x249,0x31,0xaa)),_0x547a3f[_0x2a9079(-0xda,-0x2e4,-_0x2e180f._0x3ebf80,-_0x2e180f._0x2e098d)](process['env'][_0x2a9079(-0x17c,-_0x2e180f._0x4ed862,-0x84,-0x1b4)]||'','ripgrep',_0x220434(0x1f7,0x32f,0x279,_0x2e180f._0x20f670)),_0x547a3f[_0x2a9079(-_0x2e180f._0x28d021,-0x142,-_0x2e180f._0x3ebf80,-0x34a)](process[_0x220434(_0x2e180f._0xdf7415,0x2f9,_0x2e180f._0x34bc7c,0x395)][_0x220434(_0x2e180f._0xfba847,_0x2e180f._0x148eb1,0x2ac,0x111)]||'','ripgrep',_0x220434(_0x2e180f._0x3650f5,0x330,0x17a,_0x2e180f._0x53bff2))]:[_0x220434(-_0x2e180f._0x5808bd,0xe3,-0x18e,-_0x2e180f._0x481bea),'/usr/local/bin/rg',_0x220434(0x79,0x131,-0x9e,-_0x2e180f._0x26e2d4),_0x2a9079(-_0x2e180f._0x3e94d0,-_0x2e180f._0x30fef6,-_0x2e180f._0xb4158f,0x36)];for(const _0x2808a7 of _0xc3daeb){if(existsSync(_0x2808a7))return _0x2808a7;}function _0x220434(_0x59ef6f,_0x53403f,_0x282e50,_0x1c0d24){return _0x32992d(_0x59ef6f-_0x3334ad._0x1fe5fb,_0x1c0d24,_0x282e50-_0x3334ad._0x3777a4,_0x59ef6f- -_0x3334ad._0x26c8b6);}try{const _0x5ab32d=_0x379e1c?_0x220434(_0x2e180f._0x39e5ef,_0x2e180f._0x1fd912,0xe8,-0x18):_0x2a9079(-_0x2e180f._0x4b9130,-_0x2e180f._0x45bd91,-_0x2e180f._0x7d1fde,-_0x2e180f._0x64b54e),_0x39b760=execSync(_0x5ab32d,{'encoding':_0x220434(_0x2e180f._0x515b0f,0x12e,_0x2e180f._0xb39515,_0x2e180f._0x2cfea9),'stdio':[_0x220434(-0x28,0xd2,-0x5,-0x5c),'pipe',_0x220434(_0x2e180f._0x53417f,-_0x2e180f._0x349805,-_0x2e180f._0xb4158f,_0x2e180f._0x4e94fe)]})[_0x220434(0x21b,_0x2e180f._0x4303c8,_0x2e180f._0x129381,0xe1)]()['split'](/\r?\n/)[0x0];if(_0x39b760&&existsSync(_0x39b760))return _0x39b760;}catch{return null;}return null;}async function filepath(){const _0x7a15f8={_0x113998:0x45b,_0x327b7b:0x63d,_0x5ec299:0x576,_0xd60ca6:0x57d},_0x1742cf={_0x15fa69:0x1aa};if(cachedRgPath)return cachedRgPath;if(_0x2c4f6a&&existsSync(_0x2c4f6a))return cachedRgPath=_0x2c4f6a,_0x2c4f6a;const _0x6b0611=findSystemRipgrep();if(!_0x6b0611)throw new Error(_0x2c3ff1(_0x7a15f8._0x113998,_0x7a15f8._0x327b7b,_0x7a15f8._0x5ec299,_0x7a15f8._0xd60ca6));cachedRgPath=_0x6b0611;function _0x2c3ff1(_0x477183,_0x141121,_0x2109ee,_0x4384ec){return _0x32992d(_0x477183-_0x1742cf._0x15fa69,_0x2109ee,_0x2109ee-0xd4,_0x4384ec- -0x143);}return _0x6b0611;}async function*files(_0xa660f2){const _0x279d90={_0xaf8b44:0x4f6,_0x2385f0:0x6a9,_0x36ed74:0x429,_0x56a051:0x54a,_0x13e02f:0x40a,_0x3e037e:0x3f6,_0x26dade:0x405,_0x475285:0x462,_0x4385b5:0x454,_0x4618a5:0x2ed,_0x2a6577:0x507,_0x1d3b3f:0x4fa,_0x4568ad:0x416,_0x147b29:0x329,_0x3054f1:0x5b3,_0x5e37c9:0x4ce,_0x545c50:0x557,_0x14f7f5:0x475,_0x14f8ad:0x321,_0x52ec07:0x451,_0x28c7d3:0x321,_0x244d41:0x19d,_0x228dbe:0x2a7,_0xd19261:0x3e2,_0x51193c:0x3bb,_0x31be47:0x4df,_0x4ada2a:0x301,_0x2a9063:0x484,_0x4316bb:0x46e,_0x49f43a:0x704,_0x402cc0:0x4f0,_0xc675e5:0x4eb,_0x169ae7:0x576},_0x56cf3c={_0x3b5a12:0xc0,_0x1ba06a:0x10d},_0x623fdd={_0xf692af:0x85},_0x1cfa5a=await filepath(),_0x59644a=await _0x378c3b(_0xa660f2['cwd'])['catch'](()=>null);if(!_0x59644a?.[_0x46ef4f(_0x279d90._0xaf8b44,_0x279d90._0x2385f0,_0x279d90._0x36ed74,0x58c)]())throw Object[_0x46ef4f(_0x279d90._0x56a051,_0x279d90._0x13e02f,0x56b,_0x279d90._0x3e037e)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xa660f2[_0x50e8ee(0x563,0x4ce,_0x279d90._0x26dade,_0x279d90._0x475285)]+'\x27'),{'code':'ENOENT'});const _0xa02a76=['--files',_0x50e8ee(_0x279d90._0x4385b5,0x305,0x2aa,_0x279d90._0x4618a5),_0x50e8ee(_0x279d90._0x2a6577,_0x279d90._0x1d3b3f,0x4b6,0x430),_0x50e8ee(0x205,0x369,_0x279d90._0x4568ad,0x393)];function _0x50e8ee(_0x57a39a,_0x59ff48,_0x1fecda,_0x72ea13){return _0x32992d(_0x57a39a-0xdf,_0x72ea13,_0x1fecda-_0x623fdd._0xf692af,_0x59ff48- -0x173);}function _0x46ef4f(_0x2f7010,_0x38cbf9,_0x6d45e8,_0x3c1dec){return _0xab9513(_0x3c1dec- -_0x56cf3c._0x3b5a12,_0x38cbf9-0x1b0,_0x6d45e8-_0x56cf3c._0x1ba06a,_0x2f7010);}for(const _0x285299 of _0xa660f2['glob']??[]){_0xa02a76[_0x50e8ee(_0x279d90._0x147b29,0x3f2,0x4b6,0x3a0)]('--glob='+_0x285299);}const _0x1ba19e=_0x15166e(_0x1cfa5a,_0xa02a76,{'cwd':_0xa660f2[_0x50e8ee(_0x279d90._0x3054f1,_0x279d90._0x5e37c9,_0x279d90._0x545c50,0x46b)],'stdio':['ignore',_0x50e8ee(_0x279d90._0x14f7f5,_0x279d90._0x14f8ad,_0x279d90._0x52ec07,0x275),_0x50e8ee(0x2a3,_0x279d90._0x28c7d3,_0x279d90._0x244d41,_0x279d90._0x228dbe)]});let _0x4101b8='';for await(const _0x12fed8 of _0x1ba19e[_0x50e8ee(0x545,_0x279d90._0xd19261,_0x279d90._0x51193c,0x532)]??[]){_0x4101b8+=_0x12fed8[_0x50e8ee(_0x279d90._0x31be47,0x5ce,0x4f1,0x6d4)]();const _0x5ecad8=_0x4101b8['split'](/\r?\n/);_0x4101b8=_0x5ecad8[_0x46ef4f(_0x279d90._0x4ada2a,0x3f0,0x5f8,_0x279d90._0x2a9063)]()??'';for(const _0x23d0a5 of _0x5ecad8){if(_0x23d0a5[_0x50e8ee(0x385,_0x279d90._0x4316bb,0x505,0x51b)]>0x0)yield _0x23d0a5;}}_0x4101b8[_0x46ef4f(0x76a,_0x279d90._0x49f43a,0x641,0x612)]()[_0x50e8ee(0x3e7,_0x279d90._0x4316bb,_0x279d90._0x402cc0,_0x279d90._0xc675e5)]>0x0&&(yield _0x4101b8[_0x50e8ee(_0x279d90._0x169ae7,0x564,0x45f,0x463)]());}function parseMatchLine(_0x18ec62,_0x3efd0b){const _0x174034={_0x214d63:0x23a,_0x475443:0x24b,_0x4aa601:0x474,_0x183b9d:0x44f,_0x58fe4f:0x376,_0x1c4e20:0x47c,_0x337d57:0x2df,_0x80e5bd:0x206,_0x49232d:0x74c,_0x3ac270:0x6c1,_0x4acf5e:0x808,_0x37ef76:0x120,_0x7b9918:0x152},_0x1f7ce6={_0x470758:0x9,_0x401edd:0x185},_0xa193ae={_0x524757:0x182,_0x33ad26:0x36a};function _0xe34de9(_0x4bf817,_0x183196,_0x13790c,_0x13733b){return _0x32992d(_0x4bf817-0x4e,_0x13733b,_0x13790c-_0xa193ae._0x524757,_0x183196- -_0xa193ae._0x33ad26);}if(!_0x18ec62||_0x18ec62==='--')return null;const _0x4f55a5=_0x18ec62[_0xe34de9(0xdd,_0x174034._0x214d63,0x290,0x1c6)]('|');if(_0x3efd0b&&_0x4f55a5['length']>=0x4&&Number[_0xe34de9(0x299,0x365,0x4a9,0x300)](Number[_0xe34de9(0x304,0x357,_0x174034._0x475443,0x26d)](_0x4f55a5[0x2]??'',0xa))){const _0x345882=Number['parseInt'](_0x4f55a5[0x1]??'',0xa);if(!Number[_0xe34de9(0x3d4,0x365,_0x174034._0x4aa601,_0x174034._0x183b9d)](_0x345882)||!_0x4f55a5[0x0])return null;return{'filePath':_0x4f55a5[0x0],'lineNum':_0x345882,'lineText':_0x4f55a5['slice'](0x3)[_0x19e88b(0x5a0,_0x174034._0x58fe4f,_0x174034._0x1c4e20,0x3b8)]('|')};}if(_0x4f55a5[_0xe34de9(0x11b,0x277,_0x174034._0x337d57,_0x174034._0x80e5bd)]>=0x3){const _0x157061=Number['parseInt'](_0x4f55a5[0x1]??'',0xa);if(!Number[_0x19e88b(_0x174034._0x49232d,0x663,_0x174034._0x3ac270,_0x174034._0x4acf5e)](_0x157061)||!_0x4f55a5[0x0])return null;return{'filePath':_0x4f55a5[0x0],'lineNum':_0x157061,'lineText':_0x4f55a5['slice'](0x2)[_0xe34de9(0x36,_0x174034._0x37ef76,0x1f1,_0x174034._0x7b9918)]('|'),..._0x3efd0b?{'isContext':!![]}:{}};}function _0x19e88b(_0x5af984,_0x2bb1e1,_0x12cbcd,_0x597d53){return _0xab9513(_0x12cbcd- -_0x1f7ce6._0x470758,_0x2bb1e1-0x197,_0x12cbcd-_0x1f7ce6._0x401edd,_0x5af984);}return null;}async function search(_0x21259e){const _0x5c965b={_0x3cbd92:0x2a5,_0x2cfb51:0x183,_0x358af1:0x201,_0x55174e:0x354,_0x4c0165:0x17a,_0x223f05:0x37e,_0x26e2f3:0x34c,_0x26343d:0x423,_0xba7e7a:0xd0,_0x1dab16:0x18c,_0x5398e1:0x392,_0x29fc2e:0x2d4,_0x4ed503:0x1d3,_0x40375e:0x19b,_0x53c7a7:0x487,_0xcc37d9:0x4e1,_0x124826:0x35f,_0x4584f6:0x492,_0x4fa2e0:0x41a,_0x547563:0x1c9,_0x123137:0x196,_0x17762b:0x145,_0x2d09ca:0x1a0,_0x16adcd:0x124,_0x21eb8e:0x34f,_0x3ae1df:0x224,_0x4356c7:0x1e9,_0x96053f:0x316,_0x3b13e7:0x1c0,_0x4c0543:0x235,_0x42a71a:0x24f,_0x4130db:0x256,_0x4c00df:0x417,_0x1d4dc7:0x477,_0x207d3b:0x397,_0x42fe63:0x26f,_0x30a31d:0x48b,_0x256451:0x5b4,_0x249811:0x293,_0x165b2f:0x273,_0x2f1fbf:0x378,_0x1f5628:0x3c1,_0x465ff4:0x16e,_0x2ba06f:0x8b,_0x556cab:0x4d7,_0x1395d1:0x522,_0x35beea:0x199,_0x21c660:0x27e,_0x4a2e2d:0x3c8,_0x3d6fed:0x4a9,_0x254583:0x429,_0x504260:0x37d,_0x4cda5f:0x63e,_0x29194c:0x5f0,_0x490f42:0x3ba,_0x4340cd:0x277,_0x55c2d9:0x45c,_0x2d8f74:0x3f6,_0x1a7215:0x57a},_0x5a0870={_0x19b292:0x1e0,_0x5d0c59:0x31,_0x5980d8:0xc7,_0x495eeb:0x27,_0x491953:0xfb,_0x27b17c:0xe7,_0x1cb673:0x53,_0x48791b:0x10f,_0x3b9c0d:0xcc,_0x2d6eba:0x16d,_0x3dcb99:0xa5,_0x30a571:0xc3,_0x2b63b4:0x67,_0x5c3de7:0xb4,_0x2e5970:0x13c,_0x280b:0x1e8,_0x12dafd:0x1ad,_0x44c64e:0x190},_0x15b088={_0x100c46:0x5e9,_0xebcd0e:0x69b,_0x2cf7a7:0x5b0,_0x1a954f:0x32f,_0xe4881b:0x307,_0x8dd439:0x262,_0x9fc6b5:0x5aa,_0x41d1e4:0x514,_0x5296b9:0x656},_0x40b5d9={_0x437860:0x20c,_0x4da893:0x146,_0x23fb11:0x3f},_0x2553f4={_0x54c74b:0x11a,_0x2cb9f6:0x6d},_0x516213=await filepath();function _0xfdf2c5(_0x192b50,_0x56a923,_0x108d16,_0x45588e){return _0x32992d(_0x192b50-_0x2553f4._0x54c74b,_0x56a923,_0x108d16-_0x2553f4._0x2cb9f6,_0x192b50- -0x2f2);}if(_0x21259e[_0xfdf2c5(_0x5c965b._0x3cbd92,0x2d1,0x285,_0x5c965b._0x2cfb51)]){const _0x57433d=await _0x378c3b(_0x21259e[_0xfdf2c5(_0x5c965b._0x3cbd92,_0x5c965b._0x358af1,_0x5c965b._0x55174e,_0x5c965b._0x4c0165)])[_0xfdf2c5(_0x5c965b._0x223f05,0x460,0x37a,_0x5c965b._0x26e2f3)](()=>null);if(!_0x57433d?.[_0x98e0f9(0x2a3,_0x5c965b._0x26343d,0x1ae,0x16a)]())throw Object[_0xfdf2c5(0x1c9,0x17f,_0x5c965b._0xba7e7a,_0x5c965b._0x1dab16)](new Error('No\x20such\x20file:\x20\x27'+_0x21259e[_0x98e0f9(0x386,_0x5c965b._0x5398e1,0x357,_0x5c965b._0x29fc2e)]+'\x27'),{'code':_0xfdf2c5(_0x5c965b._0x4ed503,0x33e,0x239,_0x5c965b._0x40375e)});}else{const _0x52146d=await _0x378c3b(_0x21259e['cwd'])[_0xfdf2c5(0x37e,_0x5c965b._0x53c7a7,0x468,_0x5c965b._0xcc37d9)](()=>null);if(!_0x52146d?.[_0xfdf2c5(_0x5c965b._0x124826,_0x5c965b._0x4584f6,_0x5c965b._0x4fa2e0,0x231)]())throw Object[_0xfdf2c5(_0x5c965b._0x547563,0xa7,_0x5c965b._0x123137,_0x5c965b._0x17762b)](new Error(_0xfdf2c5(_0x5c965b._0x2d09ca,_0x5c965b._0x16adcd,0x2f6,0x27)+_0x21259e[_0xfdf2c5(_0x5c965b._0x21eb8e,_0x5c965b._0x3ae1df,_0x5c965b._0x4356c7,0x31e)]+'\x27'),{'code':'ENOENT'});}const _0x5dfad3=[_0xfdf2c5(0x279,_0x5c965b._0x96053f,_0x5c965b._0x3b13e7,_0x5c965b._0x4c0543),'--field-match-separator=|',_0x98e0f9(0x297,_0x5c965b._0x42a71a,0x334,_0x5c965b._0x4130db),_0xfdf2c5(_0x5c965b._0x4c00df,_0x5c965b._0x1d4dc7,0x499,_0x5c965b._0x207d3b),_0x21259e['pattern']],_0xf4d1c8=typeof _0x21259e[_0x98e0f9(0x293,_0x5c965b._0x42fe63,0x36e,0x1bd)]===_0x98e0f9(_0x5c965b._0x30a31d,_0x5c965b._0x256451,0x518,0x335)&&_0x21259e[_0x98e0f9(_0x5c965b._0x249811,0x20a,0x10f,0x24a)]>0x0;_0xf4d1c8&&_0x5dfad3[_0xfdf2c5(_0x5c965b._0x165b2f,_0x5c965b._0x2f1fbf,_0x5c965b._0x1f5628,0x1e0)]('-C',String(_0x21259e[_0xfdf2c5(0x1b2,_0x5c965b._0x465ff4,0x298,_0x5c965b._0x2ba06f)]),'--column');_0x21259e[_0x98e0f9(_0x5c965b._0x556cab,0x549,_0x5c965b._0x1395d1,0x65a)]&&!_0x21259e[_0xfdf2c5(0x2a5,_0x5c965b._0x1f5628,_0x5c965b._0x35beea,_0x5c965b._0x21c660)]&&_0x5dfad3['push'](_0xfdf2c5(_0x5c965b._0x4a2e2d,_0x5c965b._0x3d6fed,_0x5c965b._0x254583,_0x5c965b._0x504260),_0x21259e[_0x98e0f9(0x4d7,_0x5c965b._0x4cda5f,_0x5c965b._0x29194c,_0x5c965b._0x490f42)]);_0x5dfad3[_0xfdf2c5(_0x5c965b._0x165b2f,0x2bc,_0x5c965b._0x4340cd,0x152)](_0x21259e[_0x98e0f9(0x386,0x4bb,0x455,_0x5c965b._0x55c2d9)]??_0x21259e[_0x98e0f9(0x430,0x41d,_0x5c965b._0x2d8f74,_0x5c965b._0x1a7215)]);function _0x98e0f9(_0x514cae,_0x5972bf,_0x147bf4,_0x12d309){return _0xab9513(_0x514cae- -_0x40b5d9._0x437860,_0x5972bf-_0x40b5d9._0x4da893,_0x147bf4-_0x40b5d9._0x23fb11,_0x5972bf);}return await new Promise((_0x2963af,_0x2dd669)=>{const _0x4bde2e={_0x1111a3:0x78},_0x11bbaa={_0x2a8f3e:0x1a7,_0x50dd2f:0x3ef},_0x11555b={_0x69f850:0x333,_0x1cb0c3:0x21a,_0x237220:0x2a6,_0x109438:0x1ad},_0x4d92d4={_0x193e09:0x14d},_0x4d7590={_0x3a9261:0x21},_0x36af5e=_0x15166e(_0x516213,_0x5dfad3,{'cwd':_0x21259e[_0x50b678(_0x5a0870._0x19b292,0xa9,0x380,0x1fb)],'stdio':[_0x50b678(-0x32,_0x5a0870._0x5d0c59,0x34,_0x5a0870._0x5980d8),_0x50b678(-0x7c,-_0x5a0870._0x495eeb,_0x5a0870._0x491953,0x4e),_0x50b678(-0x94,-_0x5a0870._0x27b17c,0xe8,0x4e)]});function _0x50b678(_0x248f7a,_0x4bfdf0,_0x1edeaa,_0x95418c){return _0x98e0f9(_0x95418c- -0x235,_0x1edeaa,_0x1edeaa-0x168,_0x95418c-_0x4d7590._0x3a9261);}let _0x3c443f='',_0x1d5536='';_0x36af5e[_0x50b678(_0x5a0870._0x1cb673,0x17a,0x91,_0x5a0870._0x48791b)]?.['on'](_0x50b678(_0x5a0870._0x3b9c0d,_0x5a0870._0x2d6eba,-0xd1,_0x5a0870._0x3dcb99),_0xe62a1=>{function _0x28a813(_0x382ab5,_0x24b3a0,_0x1866ef,_0x5eeb1b){return _0x4c3f32(_0x382ab5-0x61,_0x5eeb1b- -0x5cc,_0x1866ef-_0x4d92d4._0x193e09,_0x24b3a0);}_0x3c443f+=_0xe62a1[_0x28a813(_0x11555b._0x69f850,_0x11555b._0x1cb0c3,_0x11555b._0x237220,_0x11555b._0x109438)]();}),_0x36af5e[_0x50b678(0x1a,0xa2,_0x5a0870._0x30a571,_0x5a0870._0x2b63b4)]?.['on'](_0x50b678(_0x5a0870._0x5c3de7,_0x5a0870._0x2e5970,_0x5a0870._0x280b,_0x5a0870._0x3dcb99),_0x3f00e4=>{function _0x2f58e4(_0x2babbc,_0x5e82c5,_0xc500b6,_0x5a2769){return _0x4c3f32(_0x2babbc-0xd9,_0x5e82c5-0x75,_0xc500b6-0xcd,_0xc500b6);}_0x1d5536+=_0x3f00e4[_0x2f58e4(0x66a,0x7ee,0x802,0x6ab)]();}),_0x36af5e['on']('close',_0x2010c0=>{if(_0x2010c0===0x1&&_0x3c443f===''){_0x2963af([]);return;}if(_0x2010c0!==0x0&&_0x2010c0!==0x1){_0x2dd669(new Error('ripgrep\x20failed:\x20'+_0x1d5536));return;}function _0x4a9ae5(_0x1078cf,_0x218e72,_0x43f327,_0x124104){return _0x4c3f32(_0x1078cf-_0x11bbaa._0x2a8f3e,_0x218e72- -_0x11bbaa._0x50dd2f,_0x43f327-0x14d,_0x1078cf);}function _0x3049b5(_0x5a01e2,_0x191971,_0x5daeb4,_0x4a53e9){return _0x50b678(_0x5a01e2-_0x4bde2e._0x1111a3,_0x191971-0x1e6,_0x191971,_0x5a01e2-0x48b);}const _0x9c3a6c=_0x21259e['limit']??0x64,_0x5857e2=[];for(const _0x16fac2 of _0x3c443f[_0x3049b5(_0x15b088._0x100c46,_0x15b088._0xebcd0e,0x4d5,_0x15b088._0x2cf7a7)](/\r?\n/)){if(_0x5857e2[_0x4a9ae5(_0x15b088._0x1a954f,0x22a,_0x15b088._0xe4881b,_0x15b088._0x8dd439)]>=_0x9c3a6c)break;const _0x1842d9=parseMatchLine(_0x16fac2,_0xf4d1c8);if(_0x1842d9)_0x5857e2[_0x3049b5(_0x15b088._0x9fc6b5,_0x15b088._0x41d1e4,0x473,_0x15b088._0x5296b9)](_0x1842d9);}_0x2963af(_0x5857e2);});function _0x4c3f32(_0x25b1b3,_0x514464,_0x4fb907,_0x22a9dd){return _0xfdf2c5(_0x514464-0x32a,_0x22a9dd,_0x4fb907-0x127,_0x22a9dd-0x163);}_0x36af5e['on'](_0x50b678(0x19,0x13b,_0x5a0870._0x12dafd,_0x5a0870._0x44c64e),_0x2dd669);});}function createGlobTool(_0x18df0a={}){const _0x3b6150={_0x385556:0xac,_0x4f2d91:0x253,_0x58addb:0xea,_0x408223:0x645,_0x9d5389:0x502,_0x426944:0x4c,_0x177ed0:0x4a,_0x36e946:0x771,_0x4f1456:0x84d,_0x3fb6b5:0x7ff,_0x58d86d:0x258,_0x2dc9cf:0x1b5,_0x56ecb1:0x53a,_0x452e87:0x6b5,_0x3caaa7:0xc6,_0x24469b:0x65,_0x9d50b:0x159},_0x3d31b9={_0xb5cf36:0x408,_0x5b965b:0x346,_0x4dec4f:0x478,_0x4246f9:0x190,_0x8afec7:0x2a5,_0x2ec160:0x1af,_0x10cc79:0x48b,_0x1f8ba0:0x651,_0x1d6ba8:0x61b,_0x41bae9:0x6a8,_0x4f316b:0x4fd,_0x3933f0:0x74c,_0x41ac70:0x7a6,_0x2f7fc8:0x736,_0x1170e0:0x637,_0x3b6712:0x6b3,_0x15f588:0x4d6,_0x169500:0x624,_0x2bc6f8:0x1b4,_0x3a6e31:0x673,_0x4b5f3e:0x50e,_0x17c392:0x59d,_0xaa75b9:0xaa,_0x49fdda:0x133,_0x3cb163:0x6f,_0x5844a3:0x47d,_0x2d931a:0x57b,_0x1d0600:0x12f,_0xcbe7f:0x58,_0xf22c17:0x647,_0x5a1f52:0xe0,_0x1c0576:0x93,_0x9cae36:0x65b,_0x12be0e:0x68d,_0x1d47a8:0xaa,_0x27928a:0x27f,_0x1adea6:0x22a,_0x3f313e:0x512,_0x3502ee:0x121,_0x1a2b41:0x1d,_0x12bf26:0x309,_0x2f4972:0x281,_0x5aed9b:0x1af},_0x3d229b={_0x12c6b6:0x469,_0x1759a2:0xbc,_0x550261:0x169},_0x2fabc7={_0xe3c64a:0x60,_0x5a5e3c:0x33,_0x1127ff:0x12c},_0x19a23e={_0x203e2d:0x11b},_0x2c57ca={_0xd80ba5:0x3c,_0x583a9f:0x138},_0x374d20=_0x3782d6['resolve'](_0x18df0a[_0x55005c(-_0x3b6150._0x385556,-_0x3b6150._0x4f2d91,-_0x3b6150._0x58addb,-0x1ed)]??process[_0x6a0ebd(0x5b8,0x678,_0x3b6150._0x408223,_0x3b6150._0x9d5389)]()),_0x4a599b=_0x18df0a[_0x55005c(-0x1b0,-0xd4,-0x66,-0xa7)]??[];function _0x6a0ebd(_0x445c3b,_0xb2d738,_0x1dad36,_0x529251){return _0xab9513(_0xb2d738-_0x2c57ca._0xd80ba5,_0xb2d738-0x7,_0x1dad36-_0x2c57ca._0x583a9f,_0x445c3b);}function _0x55005c(_0x48dc64,_0x5241d9,_0x583ced,_0x38b12f){return _0xab9513(_0x583ced- -0x551,_0x5241d9-_0x19a23e._0x203e2d,_0x583ced-0x1b2,_0x38b12f);}const _0x59165b=_0x18df0a['limit']??0x64,_0x516c2d=_0x18df0a[_0x55005c(-0x1a0,_0x3b6150._0x426944,-0x6f,_0x3b6150._0x177ed0)]??'Glob';return defineTool({'name':_0x516c2d,'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x6a0ebd(0x6cf,_0x3b6150._0x36e946,_0x3b6150._0x4f1456,_0x3b6150._0x3fb6b5),'properties':{'pattern':{'type':_0x55005c(_0x3b6150._0x58d86d,_0x3b6150._0x2dc9cf,0x128,0x27c)},'path':{'type':_0x6a0ebd(_0x3b6150._0x56ecb1,_0x3b6150._0x452e87,0x683,0x6ed)},'limit':{'type':_0x6a0ebd(0x661,0x6d3,0x817,0x712)}},'required':[_0x55005c(-_0x3b6150._0x3caaa7,_0x3b6150._0x24469b,-0xb5,-_0x3b6150._0x9d50b)]},async *'execute'(_0x10635f){function _0x2e5483(_0x86b734,_0x5b37b4,_0x144064,_0x166948){return _0x6a0ebd(_0x86b734,_0x166948- -_0x2fabc7._0xe3c64a,_0x144064-_0x2fabc7._0x5a5e3c,_0x166948-_0x2fabc7._0x1127ff);}if(_0x10635f[_0x2e5483(_0x3d31b9._0xb5cf36,0x406,_0x3d31b9._0x5b965b,_0x3d31b9._0x4dec4f)][_0x310888(0x281,0x13d,_0x3d31b9._0x4246f9,_0x3d31b9._0x8afec7)]()[_0x310888(0x2db,0x84,0x196,_0x3d31b9._0x2ec160)]===0x0)throw new ToolExecutionError(_0x2e5483(0x5a2,0x3bf,_0x3d31b9._0x10cc79,0x464),{});const _0x19a8f3=resolveAllowedPath(_0x374d20,_0x4a599b,_0x10635f['path']??'.'),_0x3a3636=await _0x4943ea(_0x19a8f3)[_0x2e5483(_0x3d31b9._0x1f8ba0,_0x3d31b9._0x1d6ba8,_0x3d31b9._0x41bae9,0x647)](()=>null);if(!_0x3a3636?.[_0x2e5483(0x78c,_0x3d31b9._0x4f316b,_0x3d31b9._0x3933f0,0x628)]())throw new ToolExecutionError(_0x2e5483(0x7cf,_0x3d31b9._0x41ac70,0x67b,_0x3d31b9._0x2f7fc8)+(_0x10635f[_0x2e5483(0x55c,_0x3d31b9._0x1170e0,_0x3d31b9._0x3b6712,0x55d)]??'.'),{'path':_0x10635f[_0x2e5483(0x5e4,_0x3d31b9._0x15f588,_0x3d31b9._0x169500,0x55d)]??'.'});const _0x2576fa=_0x10635f[_0x310888(-0x52,_0x3d31b9._0x2bc6f8,0x1f,0xbf)]??_0x59165b,_0xe6e697=Math[_0x2e5483(0x471,_0x3d31b9._0x3a6e31,_0x3d31b9._0x4b5f3e,_0x3d31b9._0x17c392)](0x1,Math['trunc'](_0x2576fa)),_0x159302=[];let _0x45536d=![];for await(const _0x30a075 of files({'cwd':_0x19a8f3,'glob':[_0x10635f[_0x310888(_0x3d31b9._0xaa75b9,_0x3d31b9._0x49fdda,0x7d,_0x3d31b9._0x3cb163)]]})){if(_0x159302[_0x2e5483(_0x3d31b9._0x5844a3,_0x3d31b9._0x2d931a,0x456,0x5b8)]>=_0xe6e697){_0x45536d=!![];break;}const _0x17e431=await _0x4943ea(_0x3782d6[_0x310888(_0x3d31b9._0x1d0600,0x1b,-0x85,_0x3d31b9._0xcbe7f)](_0x19a8f3,_0x30a075))[_0x2e5483(0x7b0,0x790,0x5c9,_0x3d31b9._0xf22c17)](()=>null);_0x159302[_0x310888(0x1a,_0x3d31b9._0x5a1f52,0x137,0x133)]({'path':_0x30a075,'mtime':_0x17e431?.[_0x310888(0xcd,_0x3d31b9._0x1c0576,-0xe7,0x71)]??0x0});}function _0x310888(_0x3d567b,_0x5763d,_0x3c67db,_0x35480f){return _0x6a0ebd(_0x3c67db,_0x35480f- -_0x3d229b._0x12c6b6,_0x3c67db-_0x3d229b._0x1759a2,_0x35480f-_0x3d229b._0x550261);}_0x159302[_0x2e5483(0x7ab,_0x3d31b9._0x9cae36,0x643,_0x3d31b9._0x12be0e)]((_0x10c4db,_0x5a99a2)=>_0x5a99a2['mtime']-_0x10c4db['mtime']);const _0x52f105=_0x159302['map'](_0x4be912=>_0x4be912[_0x310888(0x186,0x129,0xda,0x154)]),_0x37a0c1=_0x52f105[_0x310888(0x329,_0x3d31b9._0x1d47a8,0xda,0x1af)]===0x0?_0x310888(_0x3d31b9._0x27928a,0xb9,0x202,_0x3d31b9._0x1adea6)+_0x10635f[_0x2e5483(0x549,0x55d,_0x3d31b9._0x3f313e,0x478)]:''+_0x52f105[_0x310888(0x1aa,_0x3d31b9._0x3502ee,_0x3d31b9._0x1a2b41,0x58)]('\x0a')+(_0x45536d?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');return yield createToolOutput(_0x37a0c1,{'pattern':_0x10635f['pattern'],'searchPath':_0x3782d6[_0x310888(0x242,0x22e,0x3d4,_0x3d31b9._0x12bf26)](_0x374d20,_0x19a8f3)||'.','matches':_0x52f105,'count':_0x52f105[_0x310888(_0x3d31b9._0x2f4972,0x283,0x31b,_0x3d31b9._0x5aed9b)],'truncated':_0x45536d}),void 0x0;}});}import{stat as _0x580cb9}from'fs/promises';import*as _0x4adf1a from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x3eaf05={}){const _0x268f06={_0x3b3aab:0x29d,_0x1480fe:0x29,_0x10bf7c:0x118,_0x37c306:0x23b,_0xe5c3d1:0x12b,_0xe29a02:0xd,_0x5dcb3d:0x80,_0x4f327f:0x49e,_0x58a53d:0x18c,_0x473c43:0xfc,_0x338538:0x5c,_0x1bb134:0x1e8,_0x168619:0x3f6,_0x24f26d:0x1f1,_0x59dcbf:0x260,_0x54ac89:0x1b,_0x3c52bf:0x24,_0x330b54:0x106,_0x36b43a:0x1bb,_0x2b4d71:0x163,_0x4c9e64:0x59,_0x108b84:0xe8,_0x461759:0x30e,_0x47af92:0x443,_0x335de0:0xa1,_0x11e46e:0x92,_0x5a92cb:0x33e,_0x3fcd8f:0x461,_0x3e8402:0x483,_0x5d79e6:0x262},_0x52b053={_0x37e7cb:0x403,_0x4cc131:0x40f,_0x118277:0x2ca,_0x8712f1:0x429,_0x3eaad8:0x12a,_0x197270:0x32,_0x218b1b:0x54f,_0x2aff2f:0x4fd,_0x4f6838:0x4e2,_0x41ccf7:0x468,_0x2f76c7:0x3cb,_0x366f87:0x531,_0x5b94e2:0x4b,_0x13fbed:0x8b,_0x34ddb9:0x616,_0x1eeb0b:0x27,_0x256ce8:0x165,_0x15a2a2:0xaf,_0x1fb028:0xae,_0x521f74:0x1c1,_0x11de9a:0x294,_0x4a298c:0x57a,_0x5357dd:0x412,_0x3547f1:0x4fe,_0x3ee17c:0x5fa,_0x58ed0c:0x6a8,_0x17721b:0x6c2,_0x548f41:0x7bc,_0x2aee6a:0x565,_0x5895b6:0x61c,_0x4c09d0:0x664,_0x38c796:0x4ec,_0x468b97:0x42e,_0x22681b:0x439,_0x26d379:0x4c5,_0x13232f:0x3f2,_0x304afc:0xa7,_0x2b5bc7:0x1b4,_0x5420ce:0x60,_0x4724ac:0x533,_0x4b1196:0x38a,_0x1dcbfb:0x17a,_0x3cca2b:0x109,_0x1be419:0x21e,_0x312256:0x87,_0x597f5d:0x14a,_0x4da180:0x299,_0x3fef6f:0x150,_0x457d8d:0x681,_0x3f77cc:0x54f,_0x5ade47:0x43f,_0x5aabd0:0xde,_0x33d929:0x1da,_0x52b215:0x1c7,_0x2deb7e:0x268,_0x5b8c0c:0x272,_0x2d69c7:0x426,_0xe53a51:0x538,_0x37a62b:0x620,_0x4118b5:0x7ee,_0x5d09cb:0x5c2,_0x4f7076:0x5de,_0x18bb3c:0x4b8,_0x143946:0x198,_0xbdf252:0xda,_0x2f65d0:0x1f0,_0x2e36d5:0x6b5,_0x45fff6:0x70,_0xaec28e:0x17,_0x484055:0x133,_0x5a0d71:0xa1,_0x4b51d3:0xd4,_0x553b32:0x18e,_0x53892c:0xa8,_0x18d2a9:0x2ce,_0x24fa43:0x2e4,_0x529db0:0x39f,_0x403ddf:0xdd,_0x2ccfab:0x13f,_0x361b3c:0x25f},_0x2fd010={_0x3ad9fb:0x23b},_0x1f7e84={_0x2b892b:0x5ec},_0x5c4ebb=_0x4adf1a[_0x12984d(-_0x268f06._0x3b3aab,-_0x268f06._0x1480fe,-_0x268f06._0x10bf7c,-_0x268f06._0x37c306)](_0x3eaf05[_0x12984d(-_0x268f06._0xe5c3d1,-_0x268f06._0xe29a02,-0x180,-_0x268f06._0x5dcb3d)]??process[_0x556867(0x2fa,0x478,0x406,_0x268f06._0x4f327f)]());function _0x12984d(_0xfb0c4b,_0x35fcb7,_0x327c26,_0x124e6c){return _0x32992d(_0xfb0c4b-0x168,_0x124e6c,_0x327c26-0x84,_0x327c26- -_0x1f7e84._0x2b892b);}const _0x1d65f1=_0x3eaf05[_0x12984d(-0x254,-_0x268f06._0x58a53d,-_0x268f06._0x473c43,_0x268f06._0x338538)]??[];function _0x556867(_0xe0f469,_0x401a2d,_0x591729,_0x380291){return _0x32992d(_0xe0f469-0x1cb,_0x401a2d,_0x591729-0x2c,_0x591729- -_0x2fd010._0x3ad9fb);}const _0x38d158=_0x3eaf05[_0x556867(_0x268f06._0x1bb134,0x3a9,0x2b6,_0x268f06._0x168619)]??0x64,_0x2c4bd7=_0x3eaf05['name']??_0x12984d(_0x268f06._0x24f26d,_0x268f06._0x59dcbf,0x10b,0x14);return defineTool({'name':_0x2c4bd7,'description':_0x12984d(-_0x268f06._0x54ac89,-0x179,-0x154,-_0x268f06._0x3c52bf),'inputSchema':{'type':_0x12984d(_0x268f06._0x330b54,-0xa,0x14e,_0x268f06._0x36b43a),'properties':{'pattern':{'type':_0x12984d(_0x268f06._0x2b4d71,_0x268f06._0x4c9e64,0x92,_0x268f06._0x108b84)},'path':{'type':_0x556867(_0x268f06._0x461759,0x5ae,_0x268f06._0x47af92,0x3bf)},'include':{'type':_0x12984d(-_0x268f06._0x335de0,0xf5,_0x268f06._0x11e46e,0x30)},'limit':{'type':_0x556867(0x4d9,_0x268f06._0x5a92cb,_0x268f06._0x3fcd8f,_0x268f06._0x3e8402)},'context':{'type':'number'}},'required':[_0x12984d(-0x5,-_0x268f06._0x5d79e6,-0x14b,-0x75)]},async *'execute'(_0x3f686e){const _0x48905a={_0x3b9f63:0x372,_0x42d07b:0xca};if(_0x3f686e[_0x476373(_0x52b053._0x37e7cb,_0x52b053._0x4cc131,_0x52b053._0x118277,_0x52b053._0x8712f1)][_0x5e9468(_0x52b053._0x3eaad8,0x263,_0x52b053._0x197270,0x3c)]()[_0x476373(0x506,_0x52b053._0x218b1b,_0x52b053._0x2aff2f,_0x52b053._0x4f6838)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0xb3e3d7=resolveAllowedPath(_0x5c4ebb,_0x1d65f1,_0x3f686e[_0x476373(_0x52b053._0x41ccf7,0x4f4,_0x52b053._0x2f76c7,_0x52b053._0x366f87)]??'.'),_0x247ae8=await _0x580cb9(_0xb3e3d7)[_0x5e9468(0xc3,0x161,0x0,0x4d)](()=>null),_0x365b6d=_0x247ae8?.['isFile']()??![],_0x336521=_0x247ae8?.[_0x5e9468(0xa4,-_0x52b053._0x5b94e2,0x1cc,-_0x52b053._0x13fbed)]()??![];if(!_0x365b6d&&!_0x336521)throw new ToolExecutionError(_0x476373(0x689,0x637,0x4bd,_0x52b053._0x34ddb9)+(_0x3f686e[_0x5e9468(-_0x52b053._0x1eeb0b,0xae,-0xde,-_0x52b053._0x256ce8)]??'.'),{'path':_0x3f686e['path']??'.'});const _0x4c342f=_0x3f686e[_0x5e9468(-0xbc,-_0x52b053._0x15a2a2,-_0x52b053._0x1fb028,-0xbd)]??_0x38d158,_0x15d076=Math[_0x476373(0x5f8,0x534,0x4f0,0x64c)](0x1,Math[_0x5e9468(0x4a,_0x52b053._0x521f74,-0xbf,0xb7)](_0x4c342f)),_0x263639=await search({'cwd':_0x336521?_0xb3e3d7:_0x4adf1a[_0x476373(_0x52b053._0x11de9a,0x40a,_0x52b053._0x4a298c,0x2af)](_0xb3e3d7),'pattern':_0x3f686e[_0x5e9468(-0x10c,-0xb7,0x64,0x72)],'glob':_0x336521?_0x3f686e['include']:void 0x0,'limit':_0x15d076,'file':_0x365b6d?_0xb3e3d7:void 0x0,'context':_0x3f686e[_0x476373(0x2e6,_0x52b053._0x5357dd,_0x52b053._0x3547f1,0x2cd)]}),_0x3a0f5f=new Map();for(const _0x33114e of _0x263639){if(!_0x3a0f5f[_0x476373(0x692,0x678,_0x52b053._0x3ee17c,0x60e)](_0x33114e['filePath'])){const _0x5573a9=await _0x580cb9(_0x33114e[_0x476373(_0x52b053._0x58ed0c,_0x52b053._0x17721b,_0x52b053._0x548f41,0x6c2)])['catch'](()=>null);_0x3a0f5f[_0x476373(_0x52b053._0x2aee6a,_0x52b053._0x5895b6,_0x52b053._0x4c09d0,0x4c6)](_0x33114e['filePath'],{'matches':[],'mtime':_0x5573a9?.[_0x476373(_0x52b053._0x38c796,0x411,0x2ab,0x2a4)]??0x0});}_0x3a0f5f[_0x476373(_0x52b053._0x468b97,_0x52b053._0x22681b,_0x52b053._0x26d379,_0x52b053._0x13232f)](_0x33114e['filePath'])?.[_0x5e9468(_0x52b053._0x304afc,_0x52b053._0x2b5bc7,-0xb8,-_0x52b053._0x5420ce)][_0x476373(_0x52b053._0x4724ac,0x4d3,0x374,_0x52b053._0x4b1196)](_0x33114e);}function _0x5e9468(_0x4b7cc4,_0x5b6f5a,_0x3ce068,_0x34feef){return _0x556867(_0x4b7cc4-0x1e5,_0x34feef,_0x4b7cc4- -_0x48905a._0x3b9f63,_0x34feef-_0x48905a._0x42d07b);}function _0x476373(_0x5aaab0,_0x7b2c22,_0x337499,_0x18ce1c){return _0x12984d(_0x5aaab0-0x26,_0x7b2c22-0xe4,_0x7b2c22-0x55a,_0x337499);}const _0x408b6f=[..._0x3a0f5f[_0x5e9468(-0x23,-_0x52b053._0x13fbed,-0x1a9,-_0x52b053._0x1dcbfb)]()][_0x5e9468(_0x52b053._0x3cca2b,_0x52b053._0x1be419,_0x52b053._0x312256,_0x52b053._0x597f5d)]((_0x322251,_0x284411)=>_0x284411[0x1]['mtime']-_0x322251[0x1][_0x476373(0x532,0x610,0x639,0x653)]),_0xb89680=_0x263639[_0x5e9468(0x148,-0x15,_0x52b053._0x4da180,_0x52b053._0x3fef6f)](_0x4a65bf=>!_0x4a65bf['isContext'])[_0x476373(_0x52b053._0x457d8d,_0x52b053._0x3f77cc,0x69d,_0x52b053._0x5ade47)],_0x6a3762=_0x263639['length']>=_0x15d076,_0x58f966=_0x365b6d?_0x4adf1a['dirname'](_0xb3e3d7):_0xb3e3d7;let _0x4ffeb8='';if(_0x263639['length']===0x0)_0x4ffeb8=_0x5e9468(_0x52b053._0x5aabd0,_0x52b053._0x33d929,-0x64,_0x52b053._0x52b215)+_0x3f686e[_0x5e9468(-0x10c,-_0x52b053._0x2deb7e,-0x31,-_0x52b053._0x5b8c0c)];else{_0x4ffeb8='Found\x20'+_0xb89680+_0x5e9468(0x23,_0x52b053._0x1dcbfb,-0x5d,0x52)+(_0xb89680===0x1?'':'es')+'\x0a';for(const [_0x49f91e,_0x1c7319]of _0x408b6f){const _0x4a670d=_0x365b6d?_0x4adf1a[_0x476373(_0x52b053._0x2d69c7,_0x52b053._0xe53a51,0x3f3,_0x52b053._0x37a62b)](_0x49f91e):_0x4adf1a[_0x476373(_0x52b053._0x4118b5,0x6a9,0x594,0x749)](_0x58f966,_0x49f91e);_0x4ffeb8+='\x0a'+_0x4a670d+':\x0a';for(const _0x328cba of _0x1c7319[_0x476373(0x4e3,_0x52b053._0x5d09cb,0x59e,_0x52b053._0x4f7076)]){const _0x46091d=_0x328cba[_0x476373(_0x52b053._0x18bb3c,0x4aa,0x443,0x5af)][_0x5e9468(0x34,_0x52b053._0x143946,_0x52b053._0xbdf252,_0x52b053._0x3cca2b)]>MAX_LINE_LENGTH?_0x328cba[_0x5e9468(-0x71,-_0x52b053._0x2f65d0,-0x49,-0x9f)][_0x476373(0x52a,0x559,0x414,_0x52b053._0x2e36d5)](0x0,MAX_LINE_LENGTH)+_0x5e9468(-0x12a,-0xea,-0x2c,-0xbf):_0x328cba['lineText'],_0x346065=_0x328cba[_0x5e9468(_0x52b053._0x45fff6,0x2c,-0xde,_0x52b053._0xaec28e)]?'\x20\x20':'>\x20';_0x4ffeb8+=_0x346065+_0x5e9468(0xa,-0xf7,_0x52b053._0x484055,0xdf)+_0x328cba[_0x5e9468(_0x52b053._0x5a0d71,_0x52b053._0x4b51d3,0x58,0x100)]+':\x20'+_0x46091d+'\x0a';}}_0x6a3762&&(_0x4ffeb8+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x2ff655={'searchPath':_0x4adf1a[_0x5e9468(_0x52b053._0x553b32,_0x52b053._0x53892c,_0x52b053._0x18d2a9,_0x52b053._0x24fa43)](_0x5c4ebb,_0xb3e3d7)||'.','pattern':_0x3f686e[_0x476373(_0x52b053._0x529db0,_0x52b053._0x4cc131,0x3f8,0x36a)],'matchCount':_0xb89680,'fileCount':_0x3a0f5f['size'],'truncated':_0x6a3762};return _0x336521&&_0x3f686e[_0x5e9468(0x13f,0x216,_0x52b053._0x403ddf,0x38)]!==void 0x0&&(_0x2ff655[_0x5e9468(_0x52b053._0x2ccfab,0x3a,0xe3,_0x52b053._0x361b3c)]=_0x3f686e['include']),yield createToolOutput(_0x4ffeb8['trim'](),_0x2ff655),void 0x0;}});}function createKillShellTool(_0x5c57ff){const _0x5d4786={_0x33b7bd:0x141,_0x108eda:0x10,_0x29a71c:0x575,_0x264b90:0x1a9,_0x60dbca:0x1e6,_0x375119:0x58},_0x3115dc={_0x5c67a0:0x25c,_0x5a8143:0xff,_0x4d698b:0xad,_0x39e383:0x18b,_0x361994:0x37,_0x2cbe08:0x61,_0x55b3d8:0xc4,_0x47b619:0x2b6,_0x33fc20:0x18c,_0x3f8cf6:0x6e,_0x5874e4:0x1ed,_0x2c952f:0x102,_0x474cae:0x253,_0x5bbfc3:0x14f,_0x43d96e:0x238,_0x27ede0:0x1eb,_0x1e5b85:0x10c,_0x5df3fe:0x106,_0x552b3b:0x70,_0x5d9311:0x288,_0x197bae:0x22e},_0x4e5cd0={_0x37b87b:0x4d0},_0x495eb4={_0x194791:0x177},{registry:_0x5cb9a4}=_0x5c57ff;function _0x3dff4b(_0xfe33bf,_0x198692,_0x3d28a8,_0x132362){return _0x32992d(_0xfe33bf-0xba,_0x198692,_0x3d28a8-0x11,_0xfe33bf- -0x591);}function _0x44614f(_0x525e82,_0x4da4dc,_0x2bf8ff,_0x11c306){return _0x32992d(_0x525e82-_0x495eb4._0x194791,_0x2bf8ff,_0x2bf8ff-0x5e,_0x11c306- -0x28);}return defineTool({'name':_0x3dff4b(_0x5d4786._0x33b7bd,0x1f,0x66,-_0x5d4786._0x108eda),'description':_0x44614f(0x397,0x478,_0x5d4786._0x29a71c,0x4ba),'inputSchema':{'type':_0x3dff4b(_0x5d4786._0x264b90,0x92,_0x5d4786._0x60dbca,_0x5d4786._0x375119),'properties':{'shellId':{'type':'string'}},'required':['shellId']},async *'execute'(_0x345106){const _0xe2f0d9=_0x5cb9a4[_0x39a0f2(0x208,0xae,0x213,0xc6)](_0x345106[_0x39a0f2(_0x3115dc._0x5c67a0,_0x3115dc._0x5a8143,0x1ae,0xb3)]);function _0x39a0f2(_0x549e91,_0x46837b,_0x130227,_0x333ef1){return _0x3dff4b(_0x130227-0x145,_0x549e91,_0x130227-0xa5,_0x333ef1-0x4);}function _0x35ee4d(_0x4c7e3e,_0x12f13e,_0x49ba63,_0x28d96d){return _0x44614f(_0x4c7e3e-0x10f,_0x12f13e-0xe6,_0x49ba63,_0x28d96d- -_0x4e5cd0._0x37b87b);}return createToolOutput(_0x39a0f2(0x116,_0x3115dc._0x4d698b,0x22c,_0x3115dc._0x39e383)+_0x345106['shellId']+_0x35ee4d(_0x3115dc._0x361994,0xe8,0xf,-_0x3115dc._0x2cbe08)+_0xe2f0d9[_0x35ee4d(0x2d2,_0x3115dc._0x55b3d8,_0x3115dc._0x47b619,_0x3115dc._0x33fc20)]+').',{'shellId':_0x345106[_0x35ee4d(_0x3115dc._0x3f8cf6,_0x3115dc._0x5874e4,0x6a,_0x3115dc._0x2c952f)],'status':_0xe2f0d9[_0x39a0f2(_0x3115dc._0x474cae,_0x3115dc._0x5bbfc3,_0x3115dc._0x43d96e,0x3ad)],'exitCode':_0xe2f0d9[_0x39a0f2(_0x3115dc._0x27ede0,_0x3115dc._0x1e5b85,_0x3115dc._0x5df3fe,-_0x3115dc._0x552b3b)],'signal':_0xe2f0d9[_0x35ee4d(0x34a,0x21b,_0x3115dc._0x5d9311,_0x3115dc._0x197bae)]});}});}import{readdir as _0x40fd67,readFile as _0x4a1826,stat as _0x1e346d}from'fs/promises';import*as _0x1d19ce from'path';import*as _0x1e5b51 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x11575a,_0x544057){const _0x3d1409={_0x442513:0x64,_0x3b2bd7:0x3c,_0x1e3cde:0xcf,_0x3ebeb2:0xee,_0x412a67:0x146},_0x1d5c60={_0x3dfd7a:0x607},_0x173cb4={_0x34a3f5:0x67};if(_0x544057>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x6f9e63=await _0x4a1826(_0x11575a)[_0x1f83dd(_0x3d1409._0x442513,-_0x3d1409._0x3b2bd7,0x1d,0x15f)](()=>null);function _0x382835(_0x396e3f,_0x9bb049,_0xca37da,_0x307df3){return _0xab9513(_0x396e3f- -0x69c,_0x9bb049-0x11,_0xca37da-_0x173cb4._0x34a3f5,_0x307df3);}if(!_0x6f9e63||isProbablyBinary(_0x6f9e63))return void 0x0;function _0x1f83dd(_0x206575,_0x125d24,_0x503ce4,_0x192e7d){return _0xab9513(_0x206575- -_0x1d5c60._0x3dfd7a,_0x125d24-0x170,_0x503ce4-0x186,_0x503ce4);}return _0x6f9e63[_0x382835(0xa0,-_0x3d1409._0x1e3cde,0x225,_0x3d1409._0x3b2bd7)](_0x382835(0xaf,0x200,_0x3d1409._0x3ebeb2,0x69))['split'](/\r?\n/)[_0x1f83dd(-0x2b,_0x3d1409._0x412a67,-0x14e,-0x15c)];}function createLsTool(_0x2ee4f9={}){const _0xd7e755={_0x2452a9:0x58b,_0x2139cb:0x5cc,_0x3bc875:0x70f,_0x738476:0x5ca,_0x3a0708:0x711,_0x176c0a:0x5dc,_0x4a573b:0x61e,_0x4e51c2:0x5d3,_0x46e466:0x5a1,_0xf8614c:0x49c,_0x19cb41:0x78f,_0x10dfba:0x826,_0x5be445:0x802,_0x3794a9:0x6bb,_0x1a6037:0x672,_0x31a10b:0x8cc},_0x259e5c={_0x4bf4f3:0x55d,_0x1a8317:0x405,_0x540b26:0x508,_0x442ed1:0x6a6,_0x2cb53f:0x6a5,_0x5ea2f8:0x657,_0x1d10c6:0x61c,_0x1aa12a:0x590,_0x4e3a0b:0x4f6,_0xaf31ed:0x5c2,_0xf8c38e:0x19c,_0x5ac259:0x265,_0x4e4f86:0x1f3,_0x5da866:0x4,_0x125fa8:0x3b9,_0x29c8e3:0x307,_0x1539c9:0x4f3,_0x4c6c6:0x5e5,_0x21141c:0x450,_0x33038e:0x139,_0xec9555:0x1c2,_0x4ea95d:0xb9,_0x580638:0x50f,_0x11c83f:0x391,_0x1f20a4:0x393,_0x218c25:0x40a,_0x9ce5a1:0xa,_0x22e696:0x4f,_0x25ede9:0x141,_0x4eadf6:0x63,_0x1c7ca0:0x129,_0x26e50b:0x138,_0x167611:0xb9,_0x2cb055:0x2c7,_0x1b8135:0xf4,_0x3b6cb6:0x1f1,_0x2f5b07:0x2e2,_0x42538e:0xfc,_0x899d2:0x267,_0x2f941b:0x1ca,_0x5da217:0xd8,_0x2b9839:0x8b,_0x1882a5:0x5f,_0xcdc15a:0x1dc,_0x846c45:0x1ca},_0x32f7ef={_0x44f878:0xf1,_0x206908:0x1bd},_0x3875b7=_0x1d19ce[_0x35de1f(_0xd7e755._0x2452a9,_0xd7e755._0x2139cb,0x511,0x515)](_0x2ee4f9['defaultCwd']??process[_0x35de1f(_0xd7e755._0x3bc875,0x528,0x67e,0x7a9)]());function _0x35de1f(_0x170126,_0xd2814b,_0x5c0969,_0x9f421e){return _0xab9513(_0x5c0969-0x42,_0xd2814b-0xf,_0x5c0969-0x33,_0xd2814b);}const _0x4e918a=_0x2ee4f9[_0x39b199(_0xd7e755._0x738476,_0xd7e755._0x3a0708,0x56d,_0xd7e755._0x176c0a)]??[],_0x13f4a8=_0x2ee4f9[_0x39b199(0x4f3,0x6fc,_0xd7e755._0x4a573b,_0xd7e755._0x4e51c2)]??'Ls';function _0x39b199(_0x5157fd,_0xcfa784,_0x40551,_0x412324){return _0xab9513(_0x412324-_0x32f7ef._0x44f878,_0xcfa784-_0x32f7ef._0x206908,_0x40551-0x144,_0x5157fd);}return defineTool({'name':_0x13f4a8,'description':_0x35de1f(0x4c9,_0xd7e755._0x46e466,_0xd7e755._0xf8614c,0x449),'inputSchema':{'type':_0x39b199(0x982,0x8fa,_0xd7e755._0x19cb41,_0xd7e755._0x10dfba),'properties':{'path':{'type':_0x35de1f(0x65d,_0xd7e755._0x5be445,_0xd7e755._0x3794a9,0x606)},'limit':{'type':_0x39b199(_0xd7e755._0x1a6037,0x81e,_0xd7e755._0x31a10b,0x788)}}},async *'execute'(_0x1e21d4){const _0x21e807={_0x17cd06:0x16d,_0xd82a1b:0x454,_0x28d175:0x57},_0xede74e=_0x1e21d4['path']??'.';function _0x4b5322(_0x4e3f42,_0x580aa2,_0x28d0c5,_0x5ed685){return _0x35de1f(_0x4e3f42-_0x21e807._0x17cd06,_0x28d0c5,_0x5ed685- -_0x21e807._0xd82a1b,_0x5ed685-_0x21e807._0x28d175);}const _0x4395d1=resolveAllowedPath(_0x3875b7,_0x4e918a,_0xede74e),_0x29879e=await _0x1e346d(_0x4395d1)['catch'](()=>null);if(!_0x29879e?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0xede74e,{'path':_0xede74e});function _0x3ee211(_0x36e377,_0x2ba97d,_0x584363,_0x438eb4){return _0x35de1f(_0x36e377-0x9b,_0x438eb4,_0x36e377-0x2f,_0x438eb4-0xe4);}const _0x31ecd1=_0x1e21d4[_0x3ee211(_0x259e5c._0x4bf4f3,_0x259e5c._0x1a8317,0x653,_0x259e5c._0x540b26)]??0x3e8,_0x16b32f=Math[_0x3ee211(0x5fc,_0x259e5c._0x442ed1,0x5d8,_0x259e5c._0x2cb53f)](Math[_0x3ee211(0x632,0x799,0x676,0x564)](Math['trunc'](_0x31ecd1),0x1),0x2710),_0x39e5af=await _0x40fd67(_0x4395d1),_0x4bb956=[];for(const _0x455457 of _0x39e5af[_0x3ee211(_0x259e5c._0x5ea2f8,0x711,_0x259e5c._0x1d10c6,_0x259e5c._0x1aa12a)](0x0,_0x16b32f)){const _0x34f4a8=_0x1d19ce[_0x3ee211(_0x259e5c._0x4e3a0b,0x477,_0x259e5c._0xaf31ed,0x4f0)](_0x4395d1,_0x455457),_0x3a02db=await _0x1e346d(_0x34f4a8)['catch'](()=>null);if(!_0x3a02db)continue;let _0x479cbe=_0x4b5322(0x337,0x362,_0x259e5c._0xf8c38e,0x302);if(_0x3a02db['isFile']())_0x479cbe=_0x4b5322(_0x259e5c._0x5ac259,_0x259e5c._0x4e4f86,_0x259e5c._0x5da866,0x180);else{if(_0x3a02db[_0x4b5322(0x324,_0x259e5c._0x125fa8,_0x259e5c._0x29c8e3,0x23a)]())_0x479cbe='directory';else{if(_0x3a02db[_0x3ee211(_0x259e5c._0x1539c9,_0x259e5c._0x4c6c6,_0x259e5c._0x21141c,0x471)]())_0x479cbe='symlink';}}const _0x542eec={'name':_0x455457,'type':_0x479cbe,'size':_0x3a02db[_0x4b5322(_0x259e5c._0x33038e,_0x259e5c._0xec9555,0x227,_0x259e5c._0x4ea95d)],'mtime':_0x3a02db[_0x3ee211(_0x259e5c._0x580638,_0x259e5c._0x11c83f,_0x259e5c._0x1f20a4,_0x259e5c._0x218c25)],'mode':_0x3a02db[_0x4b5322(-_0x259e5c._0x9ce5a1,0x1bf,-0x39,_0x259e5c._0x22e696)]},_0x464201=_0x479cbe===_0x4b5322(0x2ac,0x290,_0x259e5c._0x25ede9,0x180)?await countTextLines(_0x34f4a8,_0x3a02db[_0x4b5322(_0x259e5c._0x4eadf6,_0x259e5c._0x1c7ca0,_0x259e5c._0x26e50b,_0x259e5c._0x167611)]):void 0x0;if(_0x464201!==void 0x0)_0x542eec['lines']=_0x464201;_0x4bb956[_0x4b5322(_0x259e5c._0x2cb055,0x11c,_0x259e5c._0x1b8135,0x14e)](_0x542eec);}_0x4bb956[_0x4b5322(_0x259e5c._0x3b6cb6,0x322,_0x259e5c._0x2f5b07,0x29f)]((_0x7f429c,_0x1e81f7)=>_0x7f429c['name'][_0x4b5322(0x81,0x19d,0x9f,0x19b)](_0x1e81f7[_0x3ee211(0x553,0x578,0x54a,0x4aa)]));const _0x470d64={'path':_0xede74e,'total':_0x4bb956[_0x4b5322(_0x259e5c._0x42538e,0x1db,_0x259e5c._0x899d2,_0x259e5c._0x2f941b)],'truncated':_0x39e5af[_0x4b5322(_0x259e5c._0x5da217,0x184,_0x259e5c._0x2b9839,0x1ca)]>_0x16b32f,'entries':_0x4bb956};return yield createToolOutput(_0x1e5b51['stringify'](_0x470d64,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0xede74e,'total':_0x4bb956['length'],'truncated':_0x39e5af[_0x4b5322(_0x259e5c._0x1882a5,0x217,_0x259e5c._0xcdc15a,_0x259e5c._0x846c45)]>_0x16b32f,'limit':_0x16b32f,'entries':_0x4bb956}),void 0x0;}});}import{stat as _0x42a48b}from'fs/promises';import _0x1b85ed from'path';import{fileURLToPath as _0x249277}from'url';function severityName(_0x5bd860){const _0x10ba83={_0x24cd7d:0x56d,_0x47642d:0x428,_0x411036:0xd,_0x42dfdb:0x2c,_0x521a3e:0x5c3,_0x55f56b:0x567,_0x9e51e0:0x587,_0x417ae5:0x624},_0x31fa1a={_0x2ebdf3:0x86},_0x1f7628={_0x4ed40d:0xca,_0x9d15de:0xb8};function _0x517259(_0x537f03,_0x1b1b3d,_0x388190,_0x4b8382){return _0x32992d(_0x537f03-_0x1f7628._0x4ed40d,_0x388190,_0x388190-_0x1f7628._0x9d15de,_0x4b8382- -0x4ed);}function _0x15ccde(_0x288042,_0x12aed9,_0x4024ba,_0x59d8cd){return _0xab9513(_0x12aed9- -0x78,_0x12aed9-_0x31fa1a._0x2ebdf3,_0x4024ba-0x27,_0x59d8cd);}switch(_0x5bd860){case 0x1:return _0x15ccde(0x621,_0x10ba83._0x24cd7d,0x6e1,0x5c3);case 0x2:return'Warning';case 0x3:return _0x15ccde(_0x10ba83._0x47642d,0x565,0x4a6,0x577);case 0x4:return _0x517259(-_0x10ba83._0x411036,-0x82,_0x10ba83._0x42dfdb,-0x8c);default:return _0x15ccde(_0x10ba83._0x521a3e,_0x10ba83._0x55f56b,_0x10ba83._0x9e51e0,_0x10ba83._0x417ae5);}}function formatSingleHover(_0x453a5a){const _0x22a533={_0x58a717:0x411,_0x1cd1ba:0x461,_0x440e28:0x43a,_0x41ba74:0x5b6,_0x5b177a:0x4aa,_0x231d13:0x5c7,_0x2f3787:0x5c4,_0x2a5b4c:0x2a2,_0x1470fd:0x53e,_0x2d0b44:0x381,_0x3bdc74:0x20b,_0x2b63af:0x20d,_0x4ff93c:0x39f,_0x34692b:0x632,_0x3a2223:0x26e,_0x11a32f:0x14e,_0x337c5a:0x152,_0x6a9d44:0x2b3,_0x455535:0x45d,_0x1a6ce4:0x565,_0x2936dd:0x410,_0x4971d9:0x2b3,_0x4b0f3d:0x2c0,_0x55b992:0x1e2,_0x56b30e:0x28e,_0x50b066:0x1ad},_0x4bdd3c={_0x37492a:0xc8,_0x52c5cb:0x109},_0x4a104f={_0x1ef9bf:0x9c,_0x1e2396:0x235},_0x35418b=_0x453a5a['contents'];if(typeof _0x35418b===_0x4d911f(0x449,_0x22a533._0x58a717,_0x22a533._0x1cd1ba,_0x22a533._0x440e28))return _0x35418b;if(Array[_0x5d1103(_0x22a533._0x41ba74,_0x22a533._0x5b177a,_0x22a533._0x231d13,_0x22a533._0x2f3787)](_0x35418b))return _0x35418b[_0x4d911f(0x3c7,0x2ce,_0x22a533._0x2a5b4c,_0x22a533._0x1470fd)](_0x4ddfae=>typeof _0x4ddfae==='string'?_0x4ddfae:_0x4ddfae[_0x5d1103(0x3df,0x3c4,0x38f,0x411)])['filter'](Boolean)[_0x5d1103(_0x22a533._0x2d0b44,_0x22a533._0x3bdc74,_0x22a533._0x2b63af,0x43e)]('\x0a\x0a');function _0x4d911f(_0x36a5b4,_0x5c2477,_0x260c56,_0x479abe){return _0x32992d(_0x36a5b4-_0x4a104f._0x1ef9bf,_0x5c2477,_0x260c56-0x183,_0x36a5b4- -_0x4a104f._0x1e2396);}if(_0x5d1103(0x4de,_0x22a533._0x4ff93c,_0x22a533._0x34692b,0x390)in _0x35418b)return _0x35418b[_0x4d911f(0x2b3,_0x22a533._0x3a2223,_0x22a533._0x11a32f,_0x22a533._0x337c5a)];function _0x5d1103(_0xbc0e56,_0x3c2c75,_0x477d5c,_0x1081aa){return _0x32992d(_0xbc0e56-0x25,_0x477d5c,_0x477d5c-_0x4bdd3c._0x37492a,_0xbc0e56- -_0x4bdd3c._0x52c5cb);}return _0x35418b[_0x5d1103(0x3b5,_0x22a533._0x6a9d44,0x45b,_0x22a533._0x455535)]?_0x5d1103(_0x22a533._0x1a6ce4,0x679,0x638,_0x22a533._0x2936dd)+_0x35418b['language']+'\x0a'+_0x35418b[_0x4d911f(_0x22a533._0x4971d9,_0x22a533._0x4b0f3d,_0x22a533._0x55b992,_0x22a533._0x56b30e)]+'\x0a```':_0x35418b[_0x4d911f(0x2b3,0x33e,_0x22a533._0x50b066,0x319)];}function formatHover(_0x17e3d7){const _0x396857={_0x1a0492:0x17d,_0x3a1c6d:0x204,_0x29ffed:0x25f,_0x4666b2:0xa8,_0x143054:0x123,_0x520084:0x7d,_0x5b01a2:0x14c,_0x346972:0xc7,_0xac5453:0x28e},_0x4828b0={_0x37c2a2:0x79,_0x15ca00:0x157},_0x4d4b0d={_0x1d7064:0x382};if(_0x17e3d7[_0x49c030(_0x396857._0x1a0492,_0x396857._0x3a1c6d,_0x396857._0x29ffed,0x3a6)]===0x0)return _0x49c030(0x247,_0x396857._0x4666b2,_0x396857._0x143054,_0x396857._0x520084);function _0x49c030(_0x4264e7,_0x5ea1c8,_0x263a04,_0x2f4faf){return _0x32992d(_0x4264e7-0x182,_0x2f4faf,_0x263a04-0xc5,_0x263a04- -_0x4d4b0d._0x1d7064);}function _0xe9a8f(_0x3dd22d,_0x360904,_0x1e5329,_0x5f6642){return _0x32992d(_0x3dd22d-_0x4828b0._0x37c2a2,_0x360904,_0x1e5329-_0x4828b0._0x15ca00,_0x1e5329- -0x644);}return _0x17e3d7[_0xe9a8f(-_0x396857._0x5b01a2,-0x150,-0x48,-_0x396857._0x346972)](formatSingleHover)[_0xe9a8f(-_0x396857._0xac5453,-0x75,-0x1ba,-0x268)](_0xe9a8f(0x158,0xa8,0xe,0xe1));}function locationPath(_0x3977b9){const _0x58a637={_0xcb65a8:0x89,_0x256f52:0x1ac},_0x5aceaf={_0x3a1161:0x471,_0x5d06a9:0x134,_0x4e0eda:0x7f};if(!_0x3977b9[_0x277279(0xb2,0x1b,_0x58a637._0xcb65a8,_0x58a637._0x256f52)]('file://'))return _0x3977b9;function _0x277279(_0x4148a0,_0x2fcded,_0x5dbfe1,_0x5f1365){return _0xab9513(_0x4148a0- -_0x5aceaf._0x3a1161,_0x2fcded-_0x5aceaf._0x5d06a9,_0x5dbfe1-_0x5aceaf._0x4e0eda,_0x5dbfe1);}return _0x249277(_0x3977b9);}function formatLocations(_0x4d067c){const _0x47e653={_0x3ab76d:0x139,_0x2f2b83:0x1a6,_0x1241a3:0x22a,_0x27257e:0x238,_0x3d7c3a:0x10e},_0x2edbbd={_0x1a9fae:0x56e,_0x56d305:0x65b,_0x375e51:0x59a,_0x1b44c0:0x49f,_0x111558:0x64d,_0x1ffebe:0x4fe,_0xeedecd:0x4b1,_0x13875b:0x47f},_0x43476b={_0x551082:0x387},_0x4df146={_0x55fa55:0x188},_0x21d3bc={_0x13e26b:0x74,_0x56a93c:0x3ff};function _0x3395a7(_0x4d18a5,_0x4aca22,_0x42a8ef,_0x21af34){return _0x32992d(_0x4d18a5-0x1ae,_0x21af34,_0x42a8ef-_0x21d3bc._0x13e26b,_0x42a8ef- -_0x21d3bc._0x56a93c);}function _0x5de8ee(_0xffc7d3,_0x2f6f69,_0x3674ea,_0x2264a9){return _0x32992d(_0xffc7d3-0x7a,_0x2f6f69,_0x3674ea-_0x4df146._0x55fa55,_0x3674ea- -0x4a8);}if(_0x4d067c[_0x5de8ee(0x265,0x1de,_0x47e653._0x3ab76d,0xe6)]===0x0)return _0x5de8ee(_0x47e653._0x2f2b83,0x230,0x2be,0x1f9);return _0x4d067c[_0x5de8ee(0x266,_0x47e653._0x1241a3,0x154,_0x47e653._0x27257e)](_0x2df09b=>{const _0x5015bb={_0x294d1b:0xff},_0x25d2a1=_0x2df09b[_0x5742b5(0x409,0x4de,0x486,0x313)][_0x1b98b6(0x3c1,0x449,0x259,0x4ee)];function _0x1b98b6(_0x2f55cc,_0x566db3,_0x803bb8,_0x400946){return _0x3395a7(_0x2f55cc-_0x5015bb._0x294d1b,_0x566db3-0xef,_0x2f55cc-0x344,_0x566db3);}function _0x5742b5(_0x116db5,_0x258685,_0xf15e85,_0x6057c2){return _0x3395a7(_0x116db5-0x177,_0x258685-0x70,_0x116db5-_0x43476b._0x551082,_0x258685);}return locationPath(_0x2df09b[_0x5742b5(_0x2edbbd._0x1a9fae,_0x2edbbd._0x56d305,0x50e,0x4b4)])+':'+(_0x25d2a1[_0x5742b5(_0x2edbbd._0x375e51,0x556,_0x2edbbd._0x1b44c0,_0x2edbbd._0x111558)]+0x1)+':'+(_0x25d2a1[_0x1b98b6(_0x2edbbd._0x1ffebe,0x4aa,_0x2edbbd._0xeedecd,_0x2edbbd._0x13875b)]+0x1);})[_0x5de8ee(-0xad,0x65,-0x1e,-_0x47e653._0x3d7c3a)]('\x0a');}function isDocumentSymbol(_0x5b03ba){const _0x1876f3={_0x57b8e3:0x1e4,_0x4fe1c1:0x69,_0x52f09e:0x1c0},_0xf6344a={_0x291b67:0x660,_0x1f5eb1:0xb5};function _0x5eb2ae(_0x23a9fb,_0x4e1ba3,_0x4fc9a5,_0x4b96e5){return _0xab9513(_0x23a9fb- -_0xf6344a._0x291b67,_0x4e1ba3-0x140,_0x4fc9a5-_0xf6344a._0x1f5eb1,_0x4fc9a5);}return _0x5eb2ae(-_0x1876f3._0x57b8e3,-0x344,-_0x1876f3._0x4fe1c1,-_0x1876f3._0x52f09e)in _0x5b03ba&&'selectionRange'in _0x5b03ba;}function formatSymbols(_0x25b7d8){const _0x2f1759={_0x578f7c:0x71c,_0x29c7ec:0x6b1,_0x51db64:0x76f,_0x506750:0x914,_0x2a1821:0x672,_0x22b0f4:0x6cc},_0x47b27d={_0x50f321:0x90,_0x58c26e:0xa8,_0x584139:0x78,_0x13940c:0x10b,_0x2b3585:0x46b,_0x5a0268:0x3ba,_0x27da83:0x5dd,_0x1eb04b:0x4f9,_0x50acfa:0xb6,_0x1204c0:0x64a,_0x4cd30e:0x5f1,_0x389051:0x4fe,_0x2474ed:0x3b,_0xc297a6:0x5b,_0x3b711b:0x97,_0x257812:0x437,_0x3f5269:0x67f,_0x305952:0x4fe,_0x3781ff:0x435,_0xc6cb08:0x604,_0x420866:0x479,_0x500839:0x86,_0x2af303:0x6f,_0x202043:0xb4,_0x5036c8:0x226},_0x2f2079={_0x38108b:0x63a,_0x8bb8c:0x4b},_0x4250b7={_0x360dd5:0x20,_0x15877c:0xd1},_0x16e4bf={_0x3d99e4:0x169,_0x4ba195:0x100,_0x26fc90:0xd0};function _0x16610a(_0x418181,_0x5a4866,_0xbba356,_0x10cc56){return _0x32992d(_0x418181-_0x16e4bf._0x3d99e4,_0xbba356,_0xbba356-_0x16e4bf._0x4ba195,_0x10cc56-_0x16e4bf._0x26fc90);}function _0x439f83(_0x434150,_0x513dd3,_0x7bdbdb,_0x3be125){return _0xab9513(_0x434150- -0x5b8,_0x513dd3-_0x4250b7._0x360dd5,_0x7bdbdb-_0x4250b7._0x15877c,_0x3be125);}if(_0x25b7d8[_0x16610a(0x77d,0x70f,_0x2f1759._0x578f7c,_0x2f1759._0x29c7ec)]===0x0)return _0x16610a(0x95a,_0x2f1759._0x51db64,_0x2f1759._0x506750,0x7fd);return _0x25b7d8[_0x16610a(_0x2f1759._0x2a1821,0x5db,0x69e,_0x2f1759._0x22b0f4)](_0x40ae93=>{function _0x40dabe(_0x2e38b2,_0x1e3181,_0x216878,_0xbe1c6e){return _0x439f83(_0xbe1c6e-_0x2f2079._0x38108b,_0x1e3181-_0x2f2079._0x8bb8c,_0x216878-0xe0,_0x1e3181);}function _0x36aa2a(_0x1e6ec4,_0x3b5b54,_0x1ae715,_0x2d2183){return _0x16610a(_0x1e6ec4-0x7c,_0x3b5b54-0x1d,_0x2d2183,_0x1ae715- -0x65c);}if(isDocumentSymbol(_0x40ae93))return _0x40ae93[_0x36aa2a(0xd3,_0x47b27d._0x50f321,-0xa5,_0x47b27d._0x58c26e)]+'\x20('+_0x40ae93[_0x36aa2a(-0x123,0x9e,0x5b,_0x47b27d._0x584139)]+')\x20['+(_0x40ae93[_0x36aa2a(-0x34,-0x24,-_0x47b27d._0x13940c,-0x222)][_0x40dabe(_0x47b27d._0x2b3585,_0x47b27d._0x5a0268,_0x47b27d._0x27da83,_0x47b27d._0x1eb04b)][_0x36aa2a(0x127,0x10b,0x86,-_0x47b27d._0x50acfa)]+0x1)+':'+(_0x40ae93[_0x40dabe(0x4b7,_0x47b27d._0x1204c0,_0x47b27d._0x4cd30e,_0x47b27d._0x389051)]['start'][_0x36aa2a(0xc0,0x10c,0x2d,-_0x47b27d._0x2474ed)]+0x1)+']';return _0x40ae93['name']+'\x20('+_0x40ae93[_0x36aa2a(0x3b,-0xb7,_0x47b27d._0xc297a6,_0x47b27d._0x3b711b)]+')\x20'+locationPath(_0x40ae93['location']['uri'])+':'+(_0x40ae93[_0x40dabe(0x718,_0x47b27d._0x257812,_0x47b27d._0x3f5269,0x5bc)][_0x40dabe(0x4e4,0x438,0x466,_0x47b27d._0x305952)][_0x40dabe(_0x47b27d._0x3781ff,_0x47b27d._0xc6cb08,_0x47b27d._0x420866,0x4f9)][_0x36aa2a(-0x35,0x13a,_0x47b27d._0x500839,_0x47b27d._0x2af303)]+0x1)+':'+(_0x40ae93['location']['range'][_0x36aa2a(-0xec,-_0x47b27d._0x202043,-0x110,-_0x47b27d._0x5036c8)]['character']+0x1);})['join']('\x0a');}function formatDiagnostics(_0x575697){const _0x3e0392={_0x427374:0x36f,_0x19fac1:0x3dd,_0x34675d:0x234,_0x26c816:0x3f4,_0x642d54:0x43c,_0x25d150:0x38a,_0x58bac7:0x48a,_0x33a3c2:0x356},_0x59dbfc={_0xca27cf:0x4b2,_0xe5cf61:0x5ef,_0x333e21:0x436,_0x33afbe:0x280,_0x4f2df3:0x2bc,_0x27bc8c:0x360,_0x346fa9:0x785,_0x56cfa0:0x643,_0x7b15ae:0xd5,_0x409605:0x17c,_0x2f20cf:0x1c0,_0x2397cd:0x22c,_0xfd5722:0x19b},_0xd0e7e7={_0x2e622b:0x158},_0x2f776={_0x441ee7:0x11a,_0x32645d:0x272},_0x474d9d={_0xd59d93:0x150,_0x429b0b:0x134};function _0x3e4398(_0x4fa6c8,_0x2a6034,_0x2928e6,_0x26cb8e){return _0x32992d(_0x4fa6c8-_0x474d9d._0xd59d93,_0x4fa6c8,_0x2928e6-0x82,_0x2928e6- -_0x474d9d._0x429b0b);}if(_0x575697[_0x43c10e(0x204,0x23f,_0x3e0392._0x427374,_0x3e0392._0x19fac1)]===0x0)return _0x43c10e(0x3a8,_0x3e0392._0x34675d,0x37e,_0x3e0392._0x26c816);function _0x43c10e(_0x2bbeee,_0x4cd974,_0x439694,_0x3a1ae1){return _0x32992d(_0x2bbeee-0xc4,_0x4cd974,_0x439694-_0x2f776._0x441ee7,_0x439694- -_0x2f776._0x32645d);}return _0x575697[_0x43c10e(_0x3e0392._0x642d54,0x2d9,_0x3e0392._0x25d150,0x361)](_0x39730d=>{const _0x520158={_0x3ba5c6:0x18c,_0x2a6933:0x132};function _0x4f0555(_0x5711c8,_0x51eb53,_0x12b5b7,_0x31fb8f){return _0x3e4398(_0x31fb8f,_0x51eb53-0x5,_0x51eb53-0x165,_0x31fb8f-_0xd0e7e7._0x2e622b);}const _0x516de0=_0x39730d[_0x4f0555(0x4cb,_0x59dbfc._0xca27cf,_0x59dbfc._0xe5cf61,_0x59dbfc._0x333e21)]['start'];function _0x1fc0b4(_0x1e6d86,_0x5d4f46,_0x43bcd8,_0x25ac85){return _0x43c10e(_0x1e6d86-_0x520158._0x3ba5c6,_0x5d4f46,_0x43bcd8- -0x179,_0x25ac85-_0x520158._0x2a6933);}return severityName(_0x39730d[_0x1fc0b4(_0x59dbfc._0x33afbe,0x17f,_0x59dbfc._0x4f2df3,_0x59dbfc._0x27bc8c)])+'\x20['+(_0x516de0[_0x4f0555(_0x59dbfc._0x346fa9,_0x59dbfc._0x56cfa0,0x502,0x6f8)]+0x1)+':'+(_0x516de0[_0x1fc0b4(0x256,_0x59dbfc._0x7b15ae,0x1ce,0x67)]+0x1)+']\x20'+_0x39730d[_0x1fc0b4(_0x59dbfc._0x409605,_0x59dbfc._0x2f20cf,_0x59dbfc._0x2397cd,_0x59dbfc._0xfd5722)];})[_0x3e4398(0x34f,_0x3e0392._0x58bac7,_0x3e0392._0x33a3c2,0x3e6)]('\x0a');}function formatIncomingCalls(_0x30ce8f){const _0x57d08b={_0x24a296:0x3b3,_0x47d096:0x491,_0xeaae41:0x193,_0x203200:0x1c3,_0x544a37:0x10f,_0x3e8a84:0x480,_0x5728da:0x2fa,_0x1f537a:0x374};function _0x3ef8fe(_0x5912aa,_0x206007,_0x25f029,_0x51808b){return _0x32992d(_0x5912aa-0x16a,_0x5912aa,_0x25f029-0xa2,_0x51808b- -0x50d);}if(_0x30ce8f[_0x352c10(_0x57d08b._0x24a296,0x48d,_0x57d08b._0x47d096,0x4cb)]===0x0)return _0x3ef8fe(_0x57d08b._0xeaae41,0x290,_0x57d08b._0x203200,_0x57d08b._0x544a37);function _0x352c10(_0x339b46,_0x562c03,_0x42b5c5,_0x37cb2e){return _0xab9513(_0x37cb2e- -0x111,_0x562c03-0xb7,_0x42b5c5-0xe5,_0x562c03);}return _0x30ce8f['map'](_0x49e161=>_0x49e161[_0x3ef8fe(0x87,0xec,0x13c,0x1da)][_0x3ef8fe(-0xa7,-0x167,0x71,-0x26)])[_0x352c10(_0x57d08b._0x3e8a84,_0x57d08b._0x5728da,0x211,_0x57d08b._0x1f537a)]('\x0a');}function formatOutgoingCalls(_0x5b6b46){const _0x4c9155={_0x4f1fef:0x5f2,_0x100f3c:0x6ff,_0x379e71:0x587,_0x440279:0x527,_0x32a8dd:0x188,_0x3569a2:0x133,_0x4c9250:0x108,_0x333fd3:0x3a},_0x25358f={_0x53c092:0x55,_0x2d27f5:0x116},_0x346cea={_0x36b2a3:0x62,_0x330d86:0x40};function _0x1bc7ca(_0x1cdbfb,_0x19e01f,_0x41d323,_0x12d519){return _0x32992d(_0x1cdbfb-_0x346cea._0x36b2a3,_0x19e01f,_0x41d323-_0x346cea._0x330d86,_0x41d323- -0x4e9);}if(_0x5b6b46[_0xe8e9df(_0x4c9155._0x4f1fef,_0x4c9155._0x100f3c,_0x4c9155._0x379e71,_0x4c9155._0x440279)]===0x0)return _0x1bc7ca(0x262,_0x4c9155._0x32a8dd,_0x4c9155._0x3569a2,0x7e);function _0xe8e9df(_0x1b108e,_0x31e472,_0x464bac,_0x1486da){return _0xab9513(_0x464bac- -_0x25358f._0x53c092,_0x31e472-0x17,_0x464bac-_0x25358f._0x2d27f5,_0x1b108e);}return _0x5b6b46[_0x1bc7ca(0x200,_0x4c9155._0x4c9250,0x113,-_0x4c9155._0x333fd3)](_0x18f448=>_0x18f448['to'][_0xe8e9df(0x4bc,0x4eb,0x48d,0x423)])[_0xe8e9df(0x305,0x498,0x430,0x320)]('\x0a');}function toStructured(_0x7f0774){const _0x359851={_0x302160:0x8c,_0x11d79c:0x558,_0x3f34ec:0x46c},_0x55f626={_0x1a7574:0xfc};function _0x494c73(_0x29234f,_0x108be9,_0x1c05a,_0x2999e6){return _0x32992d(_0x29234f-0xb4,_0x108be9,_0x1c05a-_0x55f626._0x1a7574,_0x2999e6- -0xb7);}function _0x5b106a(_0x275ab9,_0x52d353,_0x50c073,_0x24f88e){return _0xab9513(_0x275ab9- -0x538,_0x52d353-0x2c,_0x50c073-0xa0,_0x24f88e);}return JSON[_0x5b106a(0x167,0x197,_0x359851._0x302160,0x236)](JSON[_0x494c73(_0x359851._0x11d79c,0x458,0x548,_0x359851._0x3f34ec)](_0x7f0774));}async function assertFile(_0x652436){const _0x4893e9={_0x675335:0x372,_0x14bbd1:0x3a5,_0x3a7aae:0x225},_0xb60131={_0x18e34c:0x1c9,_0x32490c:0x1b8,_0x4ae931:0x10f};function _0x16a9f2(_0x212144,_0x439391,_0x514cbb,_0x4f572d){return _0x32992d(_0x212144-_0xb60131._0x18e34c,_0x212144,_0x514cbb-_0xb60131._0x32490c,_0x439391- -_0xb60131._0x4ae931);}const _0x10b739=await _0x42a48b(_0x652436);if(!_0x10b739[_0x16a9f2(_0x4893e9._0x675335,_0x4893e9._0x14bbd1,0x4c9,_0x4893e9._0x3a7aae)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x652436,{'path':_0x652436});}function validatePosition(_0x4397d1,_0x2fea61){const _0x3c67ce={_0x48a574:0x2f,_0x18326e:0x3a7,_0x2f2850:0x2a8,_0x4a3823:0x48b,_0xbf0b96:0x44a,_0x44f3ae:0x43c,_0xef120:0x44e},_0x5d581e={_0x391462:0x518,_0x23c130:0x1d7},_0x5bd30c={_0x3d4f28:0x101,_0x557b2d:0x225};if(!Number[_0x12bf8f(0x193,0x111,_0x3c67ce._0x48a574,0x1b8)](_0x4397d1)||_0x4397d1<0x1)throw new ToolExecutionError(_0x466130(_0x3c67ce._0x18326e,_0x3c67ce._0x2f2850,0x12f,0x3c6),{'line':_0x4397d1});function _0x466130(_0x50a50d,_0x4ca5da,_0x4241e5,_0x3e0128){return _0x32992d(_0x50a50d-0xd1,_0x3e0128,_0x4241e5-_0x5bd30c._0x3d4f28,_0x4ca5da- -_0x5bd30c._0x557b2d);}function _0x12bf8f(_0x36b7a2,_0x1c48d3,_0x4ed3f1,_0x5e1db1){return _0xab9513(_0x36b7a2- -_0x5d581e._0x391462,_0x1c48d3-_0x5d581e._0x23c130,_0x4ed3f1-0xe2,_0x5e1db1);}if(!Number[_0x466130(0x31d,_0x3c67ce._0x4a3823,0x3e0,_0x3c67ce._0xbf0b96)](_0x2fea61)||_0x2fea61<0x1)throw new ToolExecutionError(_0x466130(_0x3c67ce._0x44f3ae,0x44c,0x456,_0x3c67ce._0xef120),{'character':_0x2fea61});}function createLspTool(_0x27d109={}){const _0x1f4592={_0x3081c9:0x4c5,_0x56934c:0x440,_0x123d72:0x368,_0x2c5a3b:0x357,_0x1f345a:0x2f0,_0x4f051e:0x3fe,_0x41973d:0x5a3,_0x564ecd:0x4bc,_0x3190ea:0x233,_0x265c32:0x2f6,_0x11db7c:0x5ec,_0x4277d5:0x558,_0x3fced8:0x4e0,_0x3d7dae:0x67e,_0x3a5391:0x813,_0x41e325:0x6c1,_0x354b53:0x4be,_0x31f5e6:0x5ea,_0x576587:0x599,_0x285d08:0x605,_0x92c8c9:0x53a,_0x19a53c:0x609,_0x3c8026:0x52d,_0x5476f5:0x44a,_0x217e76:0x50e,_0x257e23:0x5be,_0x5a3aa5:0x3a5,_0x2edfdc:0x3d8,_0x29f0fc:0x305,_0x306414:0x754,_0x223179:0x807,_0x126738:0x4eb,_0xf4546:0x623,_0x59a4ef:0x5a1,_0x12c23b:0x530,_0x4f8e85:0x65e,_0x59b8f9:0x3fb,_0x289931:0x684,_0x39fe7b:0x694,_0x387897:0x6db,_0x23289e:0x5da,_0x5c679f:0x530,_0x3ebb6d:0x3d1},_0x200abe={_0x369f37:0x1fa,_0xc13f3a:0xf5,_0x5034ec:0x71,_0x35a919:0xe8,_0x368357:0x4f,_0xf589d7:0x56,_0x328a25:0x22,_0x88d9d1:0x6,_0x9d14a1:0x9a,_0x3c2d71:0xbb,_0x4df3f5:0x175,_0x2db5f9:0x1e0,_0x2201b2:0x39,_0x3816b4:0x55,_0x347d8f:0x12e,_0x38a61a:0xd,_0x471a02:0xdc,_0x5b8ca3:0x68,_0x44edd8:0x1c0,_0x218cca:0x2a8,_0x5e22c2:0x1f1,_0x591fee:0x198,_0x5b286e:0x60,_0x369d23:0x1b,_0x4fb891:0x192,_0x29fc19:0xe5,_0x5efbef:0x91,_0x30311a:0x53,_0x4deb05:0x18f,_0x3db93e:0x31,_0x3e3ee6:0x7b,_0x2a18e3:0x40,_0xe24407:0xb6,_0x4776e1:0xdc,_0x22a2a5:0x30a,_0x408273:0x1cc,_0x4bc0a9:0x2ab,_0x378a6a:0xaa,_0x4d2804:0x44,_0x1e1abf:0x11e,_0x45a94f:0x14a,_0x5736a4:0x197,_0x5142d0:0x150,_0x5c2894:0xd4,_0x31eef6:0x2d0,_0x5a29d3:0x77,_0x321c47:0x12f,_0x1dfb44:0x2a0,_0x25fa09:0x255,_0x1cdb9c:0x1d3,_0x337a73:0xf2,_0xcd70a4:0x186},_0x2893af={_0x5b9b9c:0xd0,_0x1d9f9a:0x17d,_0x564fca:0x3f7},_0x37e4e5={_0x45243f:0x16c},_0x51db18={_0x5c175c:0x74,_0x1f9a50:0x5d},_0x1cf954=_0x1b85ed[_0x230439(0x22a,_0x1f4592._0x3081c9,_0x1f4592._0x56934c,_0x1f4592._0x123d72)](_0x27d109[_0xad9fcf(_0x1f4592._0x2c5a3b,_0x1f4592._0x1f345a,0x3a0,0x3f3)]??process[_0x230439(_0x1f4592._0x4f051e,0x61b,_0x1f4592._0x41973d,0x4d5)]()),_0x53e8ca=_0x27d109['allowedDirs']??[];function _0xad9fcf(_0x39524b,_0x15d403,_0x24b730,_0x5b8984){return _0xab9513(_0x5b8984- -_0x51db18._0x5c175c,_0x15d403-0x118,_0x24b730-_0x51db18._0x1f9a50,_0x15d403);}function _0x230439(_0x5a31a1,_0x57aa41,_0x30d449,_0x6cc86e){return _0x32992d(_0x5a31a1-0xdf,_0x5a31a1,_0x30d449-0x1af,_0x6cc86e- -_0x37e4e5._0x45243f);}const _0x52e60b=_0x27d109[_0x230439(_0x1f4592._0x564ecd,_0x1f4592._0x3190ea,_0x1f4592._0x265c32,0x37b)]??_0xad9fcf(0x556,_0x1f4592._0x11db7c,0x65c,_0x1f4592._0x4277d5);return defineTool({'name':_0x52e60b,'description':_0x230439(_0x1f4592._0x3fced8,0x44b,0x35f,0x4c5),'inputSchema':{'type':_0xad9fcf(_0x1f4592._0x3d7dae,_0x1f4592._0x3a5391,0x56a,_0x1f4592._0x41e325),'properties':{'operation':{'type':_0xad9fcf(_0x1f4592._0x354b53,_0x1f4592._0x31f5e6,_0x1f4592._0x576587,_0x1f4592._0x285d08),'enum':['goToDefinition',_0x230439(_0x1f4592._0x92c8c9,_0x1f4592._0x19a53c,0x49c,0x4ad),_0x230439(0x46f,_0x1f4592._0x3c8026,_0x1f4592._0x5476f5,0x4ea),_0xad9fcf(_0x1f4592._0x217e76,0x4d3,_0x1f4592._0x257e23,0x62c),'workspaceSymbol','goToImplementation',_0x230439(0x4f0,0x393,0x49c,_0x1f4592._0x5a3aa5),_0x230439(0x34d,_0x1f4592._0x2edfdc,0x35a,_0x1f4592._0x29f0fc),_0xad9fcf(0x6af,0x56e,_0x1f4592._0x306414,0x5fd),_0xad9fcf(0x62c,_0x1f4592._0x223179,0x74a,0x6ca)]},'filePath':{'type':_0xad9fcf(0x59f,0x6c3,0x5c8,_0x1f4592._0x285d08)},'line':{'type':_0xad9fcf(0x657,_0x1f4592._0x126738,0x776,_0x1f4592._0xf4546)},'character':{'type':_0x230439(0x451,0x47a,_0x1f4592._0x59a4ef,_0x1f4592._0x12c23b)},'query':{'type':'string'}},'required':[_0xad9fcf(_0x1f4592._0x4f8e85,_0x1f4592._0x59b8f9,_0x1f4592._0x289931,0x55e),_0xad9fcf(0x588,0x62a,_0x1f4592._0x39fe7b,_0x1f4592._0x387897),_0x230439(0x60f,0x4ea,_0x1f4592._0x23289e,0x4a6),_0xad9fcf(_0x1f4592._0x5c679f,0x683,_0x1f4592._0x3ebb6d,0x540)]},async *'execute'(_0x110f72){const _0xc7d1d7={_0x1c1392:0x7c,_0x4d5608:0x5e8},_0x51203c=_0x27d109['lspService'];if(!_0x51203c)throw new ToolExecutionError(_0x7940b(-0xfa,-0x107,-_0x200abe._0x369f37,0x11));if(!_0x51203c[_0x3cd209(0x43,0x111,_0x200abe._0xc13f3a,_0x200abe._0x5034ec)]())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');function _0x7940b(_0x18b9eb,_0x397aeb,_0x440f8e,_0x3e2d52){return _0xad9fcf(_0x18b9eb-_0xc7d1d7._0x1c1392,_0x440f8e,_0x440f8e-0x191,_0x397aeb- -_0xc7d1d7._0x4d5608);}const _0x3ceeb8=_0x110f72[_0x3cd209(0x170,_0x200abe._0x35a919,0x74,0x17c)];validatePosition(_0x110f72[_0x7940b(0x26,-_0x200abe._0x368357,0x130,0x48)],_0x110f72[_0x3cd209(-0x66,-0x1d,_0x200abe._0xf589d7,0x9e)]);if(_0x3ceeb8===_0x3cd209(0xe1,-_0x200abe._0x328a25,-0x84,_0x200abe._0x88d9d1)){if(!_0x110f72['query']?.['trim']())throw new ToolExecutionError(_0x7940b(0x11c,0xac,0x148,-_0x200abe._0x9d14a1));const _0x2ff916=await _0x51203c['workspaceSymbol'](_0x110f72[_0x7940b(_0x200abe._0x3c2d71,-0x6,-_0x200abe._0x4df3f5,-0x15c)][_0x7940b(0xfe,0x76,-0x78,-0x3)]());return yield createToolOutput(formatSymbols(_0x2ff916),{'operation':_0x3ceeb8,'query':_0x110f72['query'],'symbols':_0x2ff916}),void 0x0;}const _0x10b3f4=resolveAllowedPath(_0x1cf954,_0x53e8ca,_0x110f72[_0x7940b(_0x200abe._0x2db5f9,0xf3,-_0x200abe._0x2201b2,-_0x200abe._0x3816b4)]);function _0x3cd209(_0x195ab9,_0x3eef92,_0x45edca,_0x451cef){return _0x230439(_0x195ab9,_0x3eef92-_0x2893af._0x5b9b9c,_0x45edca-_0x2893af._0x1d9f9a,_0x45edca- -_0x2893af._0x564fca);}await assertFile(_0x10b3f4);if(!await _0x51203c[_0x3cd209(_0x200abe._0x347d8f,-0x81,-_0x200abe._0x38a61a,0x42)](_0x10b3f4))throw new ToolExecutionError(_0x7940b(-_0x200abe._0x471a02,-0xc3,-0x114,-0x1da)+_0x110f72[_0x7940b(-_0x200abe._0x5b8ca3,0xf3,0x101,_0x200abe._0x44edd8)],{'filePath':_0x110f72[_0x3cd209(_0x200abe._0x218cca,0x2a8,_0x200abe._0x5e22c2,0x307)]});await _0x51203c[_0x7940b(-_0x200abe._0x591fee,-0x1a1,-0x14b,-_0x200abe._0x9d14a1)](_0x10b3f4,!![]);const _0x128e2e={'file':_0x10b3f4,'line':_0x110f72['line']-0x1,'character':_0x110f72['character']-0x1};switch(_0x3ceeb8){case _0x3cd209(_0x200abe._0x5b286e,-0x37,0xf3,0x1da):{const _0x59c619=await _0x51203c['hover'](_0x128e2e);return yield createToolOutput(formatHover(_0x59c619),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'hover':_0x59c619}),void 0x0;}case _0x7940b(0x1d2,0xe2,_0x200abe._0x369d23,_0x200abe._0x4fb891):{const _0x2e0c56=await _0x51203c[_0x3cd209(0x1d7,0x15d,_0x200abe._0x29fc19,_0x200abe._0x5efbef)](_0x10b3f4);return yield createToolOutput(formatDiagnostics(_0x2e0c56),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'diagnostics':_0x2e0c56}),void 0x0;}case _0x7940b(-0x6,-0x4e,0x92,_0x200abe._0x30311a):{const _0x5421ab=await _0x51203c[_0x7940b(_0x200abe._0x4deb05,0x6c,-0xac,_0x200abe._0x3db93e)](_0x128e2e);return yield createToolOutput(formatLocations(_0x5421ab),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'locations':_0x5421ab}),void 0x0;}case _0x3cd209(-_0x200abe._0x3e3ee6,-_0x200abe._0x2a18e3,_0x200abe._0xe24407,_0x200abe._0x4776e1):{const _0x22a3e9=await _0x51203c[_0x7940b(-_0x200abe._0x22a2a5,-_0x200abe._0x408273,-_0x200abe._0x4bc0a9,-0x171)](_0x128e2e);return yield createToolOutput(formatLocations(_0x22a3e9),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'locations':_0x22a3e9}),void 0x0;}case'goToImplementation':{const _0xa574be=await _0x51203c['implementation'](_0x128e2e);return yield createToolOutput(formatLocations(_0xa574be),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'locations':_0xa574be}),void 0x0;}case _0x7940b(_0x200abe._0x378a6a,_0x200abe._0x4d2804,0x1b1,-0x36):{const _0x284339=await _0x51203c[_0x7940b(_0x200abe._0x1e1abf,0x44,_0x200abe._0x45a94f,-0x40)](_0x10b3f4);return yield createToolOutput(formatSymbols(_0x284339),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'symbols':_0x284339}),void 0x0;}case _0x7940b(-_0x200abe._0x5736a4,-_0x200abe._0x5142d0,-0x242,-_0x200abe._0x5c2894):{const _0x552216=await _0x51203c[_0x7940b(-_0x200abe._0x31eef6,-_0x200abe._0x5142d0,-0x21c,-_0x200abe._0x5a29d3)](_0x128e2e);return yield createToolOutput(formatSymbols(_0x552216),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'symbols':toStructured(_0x552216)}),void 0x0;}case _0x7940b(-_0x200abe._0x321c47,-0x1f0,-_0x200abe._0x1dfb44,-_0x200abe._0x25fa09):{const _0x276366=await _0x51203c[_0x3cd209(-0x22b,-_0x200abe._0x1cdb9c,-_0x200abe._0x337a73,-_0x200abe._0xcd70a4)](_0x128e2e);return yield createToolOutput(formatIncomingCalls(_0x276366),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'calls':toStructured(_0x276366)}),void 0x0;}case'outgoingCalls':{const _0x33f537=await _0x51203c['outgoingCalls'](_0x128e2e);return yield createToolOutput(formatOutgoingCalls(_0x33f537),{'operation':_0x3ceeb8,'filePath':_0x10b3f4,'calls':toStructured(_0x33f537)}),void 0x0;}}}});}import{randomUUID as _0x51621c}from'crypto';import{mkdir as _0x3f3387,readFile as _0x565808,writeFile as _0x4d15ee}from'fs/promises';import{join as _0x1ea443}from'path';function sanitizeStorageKey(_0x5c5e14){const _0x45c6a0={_0x2c8a7b:0x8f,_0x15a125:0x1f0,_0x37cb91:0x1fc,_0x809df2:0x1ef,_0x5d6397:0x81},_0x214822={_0x54ef24:0x68},_0x4cef6e={_0x147358:0x1d7,_0xfc83a1:0x85};function _0x31a800(_0x208066,_0xe561f5,_0xbfd429,_0x19befd){return _0x32992d(_0x208066-0x98,_0x208066,_0xbfd429-_0x4cef6e._0x147358,_0xbfd429-_0x4cef6e._0xfc83a1);}function _0x12f7cd(_0x2d538c,_0x3273ef,_0x4de40a,_0x1741ca){return _0x32992d(_0x2d538c-0x18b,_0x3273ef,_0x4de40a-_0x214822._0x54ef24,_0x1741ca- -0x590);}return _0x5c5e14[_0x12f7cd(-0x1dd,0xdf,0xa,-_0x45c6a0._0x2c8a7b)](/[^a-zA-Z0-9_]+/g,'_')[_0x12f7cd(-_0x45c6a0._0x15a125,0x20,-_0x45c6a0._0x37cb91,-_0x45c6a0._0x2c8a7b)](/^_+|_+$/g,'')||_0x12f7cd(-0x150,-_0x45c6a0._0x809df2,0xcb,-_0x45c6a0._0x5d6397);}function storagePath(_0x1d5dd5){const _0xd86fe3={_0x2d510d:0x43f,_0x41adce:0x429,_0xf43ff8:0x362,_0x2ef882:0x227,_0x3a021f:0x2c2,_0x58dc0c:0x198,_0x177d66:0x2b3,_0xa48ea0:0x210},_0x2c22dc={_0x5ace8a:0xe0},_0x4a9abb={_0x36527e:0x1e9,_0x5c4891:0x16c};function _0x22a8b9(_0xf99914,_0x562c25,_0x2c299d,_0x11e68c){return _0xab9513(_0x562c25- -_0x4a9abb._0x36527e,_0x562c25-0xa3,_0x2c299d-_0x4a9abb._0x5c4891,_0xf99914);}const _0x5a0ebc=sanitizeStorageKey(_0x1d5dd5[_0x43eb3b(0x466,_0xd86fe3._0x2d510d,0x31e,0x328)][_0x22a8b9(_0xd86fe3._0x41adce,0x365,0x466,0x26a)]?.[_0x43eb3b(_0xd86fe3._0xf43ff8,0x38d,_0xd86fe3._0x2ef882,0x3f1)]??_0x1d5dd5[_0x43eb3b(0x190,_0xd86fe3._0x3a021f,_0xd86fe3._0x58dc0c,_0xd86fe3._0x177d66)]);function _0x43eb3b(_0x19a620,_0x828bb6,_0x6c8ff,_0x3a3aca){return _0xab9513(_0x828bb6- -0x2cc,_0x828bb6-0x51,_0x6c8ff-_0x2c22dc._0x5ace8a,_0x3a3aca);}return _0x1ea443(_0x1d5dd5[_0x43eb3b(_0xd86fe3._0xa48ea0,0x390,0x306,0x2e3)],_0x5a0ebc+'.json');}async function readStore(_0x1913d5){const _0x175116={_0x2b938a:0x40c,_0x117a50:0x360,_0x1cc8a4:0x37a,_0x2e41e3:0x56e,_0x3465e2:0x36f,_0x3c09a0:0x58b,_0x3add54:0x6e4,_0x112d01:0x22d,_0x3e6718:0x157},_0x369027={_0x13d045:0x9},_0x28deb8={_0x427bad:0x6a};function _0x5cf6ad(_0x1173d2,_0x4d86dd,_0x57d545,_0x2732c7){return _0xab9513(_0x2732c7-_0x28deb8._0x427bad,_0x4d86dd-0x1be,_0x57d545-0x133,_0x4d86dd);}function _0x2c3460(_0x3cdac7,_0x1e2732,_0x17a3ba,_0x2c5bfa){return _0xab9513(_0x3cdac7- -0x293,_0x1e2732-_0x369027._0x13d045,_0x17a3ba-0x1e,_0x2c5bfa);}try{return JSON[_0x2c3460(_0x175116._0x2b938a,_0x175116._0x117a50,0x45f,0x552)](await _0x565808(_0x1913d5,_0x2c3460(0x4b8,_0x175116._0x1cc8a4,_0x175116._0x2e41e3,_0x175116._0x3465e2)));}catch(_0xe73c1b){if(_0xe73c1b instanceof Error&&'code'in _0xe73c1b&&_0xe73c1b[_0x5cf6ad(0x752,_0x175116._0x3c09a0,0x85e,_0x175116._0x3add54)]===_0x2c3460(_0x175116._0x112d01,_0x175116._0x3e6718,0xd4,0x379))return{};throw _0xe73c1b;}}async function writeStore(_0x4ba02a,_0x595413){await _0x3f3387(_0x1ea443(_0x4ba02a,'..'),{'recursive':!![]}),await _0x4d15ee(_0x4ba02a,JSON['stringify'](_0x595413,null,0x2),'utf8');}async function updateStore(_0x2abfc4,_0x28d253){const _0x2cc769=await readStore(_0x2abfc4);_0x28d253(_0x2cc769),await writeStore(_0x2abfc4,_0x2cc769);}function createMcpOAuthProvider(_0xdc3474){const _0xa05a77={_0x10c57e:0x7bf,_0x53c4c4:0x7af,_0x174aa6:0x723,_0xcbd73a:0x530,_0x41e58b:0x6b3,_0x407cbb:0x501,_0xdbf272:0x68f,_0x60baa1:0x612,_0x3e69e8:0x6f8,_0x180d36:0x5c2,_0x4369b7:0x811,_0x214d4f:0x783,_0x406824:0x686,_0x31e8e4:0x5ed,_0x348338:0x752,_0x7a235f:0x87b,_0x2d5888:0x6f0,_0x68d1c:0x713,_0x1ebf75:0x830,_0x56cf00:0x70c,_0x214d61:0x6f8,_0x1b3771:0x660,_0x2a050d:0x6eb,_0x50c532:0x675,_0x15f7f6:0x669,_0xae9bd:0x793,_0x416018:0x6d4,_0x412fe4:0x5f9,_0x1e3b50:0x5dc,_0x1532bd:0x4e5},_0xba9809={_0x2f8014:0x384,_0x5b415f:0x3ff},_0x1e357e={_0x131627:0x60d,_0x3922b7:0x4d0,_0x33e941:0x633,_0x26eeae:0x2ff,_0x4e405f:0x637,_0x55b65f:0x44e,_0x401ac1:0x311,_0x177163:0x523,_0x34c24c:0x4e7,_0x639e75:0x590,_0x559bd6:0x694,_0x1c74ae:0x2c6,_0x2fc3e9:0x109,_0x4c80c9:0x28b,_0x5863c9:0x1c7,_0x4a4c3a:0x587,_0x1b6d86:0x54c,_0x397331:0x5e1,_0x28733d:0x306,_0x20ed4f:0x47b,_0xe9bdfe:0x55e,_0x5a4790:0x5a9,_0x5f2877:0x547,_0x51a360:0x4aa,_0x2ace72:0x40b},_0x207e07={_0x4d8785:0x2ef,_0xfef6e:0x3a9,_0x4bc308:0x373,_0x981432:0x31d},_0x3c7ce3={_0x528501:0x20c},_0x54dd02={_0x3e11db:0x6e8,_0x75988d:0xcc},_0x1e6c61={_0x2ab58f:0x3d3,_0x435d2d:0x281},_0x266db7={_0x14f0f1:0x374,_0x4284f6:0x380,_0x53fb34:0x4cf},_0x413477={_0x3ff489:0x359,_0x315ab0:0x10c,_0x377567:0xd8},_0x5100c2={_0x3436a4:0x7f,_0x2b1ade:0x165},_0x4b897b={_0x2af705:0x643,_0x4ff551:0xa0,_0x472f68:0x89},_0x1f567a={_0xf26902:0xf1},_0x21eedb={_0x318d99:0x83};function _0x49ca4a(_0x2d184e,_0x4c6c67,_0x9f0f5f,_0x3d30f5){return _0x32992d(_0x2d184e-0x23,_0x2d184e,_0x9f0f5f-0x14c,_0x3d30f5-_0x21eedb._0x318d99);}const _0x37475d=storagePath(_0xdc3474);function _0x586a68(_0x46fe7b,_0x5bad05,_0xf32698,_0x24810c){return _0x32992d(_0x46fe7b-_0x1f567a._0xf26902,_0x46fe7b,_0xf32698-0x165,_0x5bad05-0xa6);}const _0x45f27a=_0xdc3474[_0x49ca4a(_0xa05a77._0x10c57e,_0xa05a77._0x53c4c4,_0xa05a77._0x174aa6,0x793)]['oauth']?.['scopes']?.[_0x586a68(0x5af,_0xa05a77._0xcbd73a,_0xa05a77._0x41e58b,_0xa05a77._0x407cbb)]('\x20'),_0x13195f={'client_name':_0x586a68(_0xa05a77._0xdbf272,_0xa05a77._0x60baa1,0x707,_0xa05a77._0x3e69e8),'redirect_uris':[_0xdc3474[_0x586a68(0x835,0x72c,_0xa05a77._0x180d36,_0xa05a77._0x4369b7)]],'grant_types':[_0x586a68(0x907,_0xa05a77._0x214d4f,0x894,_0xa05a77._0x406824),_0x586a68(_0xa05a77._0x31e8e4,_0xa05a77._0x348338,0x888,_0xa05a77._0x7a235f)],'response_types':[_0x49ca4a(_0xa05a77._0x2d5888,_0xa05a77._0x68d1c,_0xa05a77._0x1ebf75,0x702)],'token_endpoint_auth_method':_0x49ca4a(_0xa05a77._0x56cf00,_0xa05a77._0x214d61,_0xa05a77._0x1b3771,_0xa05a77._0x2a050d),..._0x45f27a?{'scope':_0x45f27a}:{}};return{'clientMetadataUrl':_0xdc3474[_0x49ca4a(_0xa05a77._0x50c532,0x8a2,_0xa05a77._0x15f7f6,_0xa05a77._0xae9bd)][_0x586a68(_0xa05a77._0x416018,_0xa05a77._0x412fe4,0x54a,0x631)]?.[_0x586a68(_0xa05a77._0x1e3b50,0x51f,_0xa05a77._0x1532bd,0x3e5)],get 'redirectUrl'(){return _0xdc3474['callbackUrl'];},get 'clientMetadata'(){return _0x13195f;},async 'state'(){const _0x2b954c={_0x376fa3:0x45a},_0x521436={_0x2b0ed5:0x144},_0x1c95c8=await readStore(_0x37475d);function _0x2e8cf8(_0x5ee625,_0x4545e1,_0x196b93,_0x54487e){return _0x586a68(_0x196b93,_0x5ee625- -_0x4b897b._0x2af705,_0x196b93-_0x4b897b._0x4ff551,_0x54487e-_0x4b897b._0x472f68);}if(_0x1c95c8[_0x2e8cf8(-_0x5100c2._0x3436a4,-0x145,-0x2d,-_0x5100c2._0x2b1ade)])return _0x1c95c8['state'];const _0x1fa9bd=_0x51621c();return await updateStore(_0x37475d,_0x40cb1c=>{function _0x4a93eb(_0x53a720,_0x5d95aa,_0x26611e,_0x42b0e7){return _0x2e8cf8(_0x53a720-0x4d9,_0x5d95aa-_0x521436._0x2b0ed5,_0x42b0e7,_0x42b0e7-0x145);}_0x40cb1c[_0x4a93eb(_0x2b954c._0x376fa3,0x34e,0x41d,0x58d)]=_0x1fa9bd;}),_0x1fa9bd;},async 'clientInformation'(){const _0x5058d8={_0x6018d7:0xe0,_0x17df4f:0x47b};function _0x5d9936(_0x59b8f2,_0x52d907,_0x161222,_0x1cc3ce){return _0x49ca4a(_0x161222,_0x52d907-_0x5058d8._0x6018d7,_0x161222-0x77,_0x1cc3ce- -_0x5058d8._0x17df4f);}return(await readStore(_0x37475d))[_0x5d9936(0x3f1,0x3bd,0x1d3,0x333)];},async 'saveClientInformation'(_0x591d13){await updateStore(_0x37475d,_0x1f6bca=>{_0x1f6bca['clientInformation']=_0x591d13;});},async 'tokens'(){function _0x5baeb3(_0x225805,_0x5213ff,_0x51e3df,_0xccdcab){return _0x586a68(_0xccdcab,_0x51e3df- -_0x413477._0x3ff489,_0x51e3df-_0x413477._0x315ab0,_0xccdcab-_0x413477._0x377567);}return(await readStore(_0x37475d))[_0x5baeb3(_0x266db7._0x14f0f1,0x4dd,_0x266db7._0x4284f6,_0x266db7._0x53fb34)];},async 'saveTokens'(_0x5168c1){await updateStore(_0x37475d,_0xfabf5b=>{const _0x274cc9={_0x57b835:0x62};function _0x4824b9(_0x27b061,_0x38b8d2,_0x3783cb,_0x184abb){return _0x4161(_0x38b8d2-_0x274cc9._0x57b835,_0x184abb);}_0xfabf5b[_0x4824b9(_0x1e6c61._0x2ab58f,0x3b0,_0x1e6c61._0x435d2d,0x356)]=_0x5168c1;});},async 'redirectToAuthorization'(_0x3122a5){function _0xfc41c4(_0x4c982a,_0x816e9b,_0x273980,_0x477973){return _0x586a68(_0x4c982a,_0x477973- -_0x54dd02._0x3e11db,_0x273980-0xb,_0x477973-_0x54dd02._0x75988d);}await _0xdc3474[_0xfc41c4(-_0x3c7ce3._0x528501,-0x2c2,-0x173,-0x16b)](_0x3122a5);},async 'saveCodeVerifier'(_0x446ff0){await updateStore(_0x37475d,_0x5e7376=>{_0x5e7376['codeVerifier']=_0x446ff0;});},async 'codeVerifier'(){const _0xcade0c={_0x19f1b3:0xdc,_0x4a11c5:0x12f,_0x3aa967:0x345},_0x229b97={_0x52f489:0x367},_0x16c7f1=(await readStore(_0x37475d))[_0x3a6aa1(0x434,0x300,_0x207e07._0x4d8785,0x2fc)];function _0x3a6aa1(_0x388131,_0x3e8651,_0x48a2b7,_0xd81ef9){return _0x586a68(_0xd81ef9,_0x3e8651- -_0x229b97._0x52f489,_0x48a2b7-0x128,_0xd81ef9-0x10e);}if(!_0x16c7f1)throw new Error(_0x3a6aa1(_0x207e07._0xfef6e,_0x207e07._0x4bc308,0x309,_0x207e07._0x981432));function _0x1a5fac(_0x4b66e5,_0x2e3459,_0x13da03,_0x518d47){return _0x49ca4a(_0x518d47,_0x2e3459-_0xcade0c._0x19f1b3,_0x13da03-_0xcade0c._0x4a11c5,_0x13da03- -_0xcade0c._0x3aa967);}return _0x16c7f1;},async 'invalidateCredentials'(_0x4edcc0){await updateStore(_0x37475d,_0x58a150=>{(_0x4edcc0===_0x4d25c8(_0x1e357e._0x131627,_0x1e357e._0x3922b7,0x64a,_0x1e357e._0x33e941)||_0x4edcc0===_0x4d25c8(0x3c6,0x3c5,0x2fe,_0x1e357e._0x26eeae))&&(_0x58a150[_0x4d25c8(0x586,0x688,_0x1e357e._0x4e405f,0x563)]=void 0x0);(_0x4edcc0===_0x4d25c8(0x3a7,_0x1e357e._0x3922b7,0x37a,0x43c)||_0x4edcc0===_0x4712a1(_0x1e357e._0x55b65f,_0x1e357e._0x401ac1,0x3e3,_0x1e357e._0x177163))&&(_0x58a150[_0x4d25c8(_0x1e357e._0x34c24c,_0x1e357e._0x639e75,0x5a5,_0x1e357e._0x559bd6)]=void 0x0);(_0x4edcc0==='all'||_0x4edcc0===_0x4712a1(_0x1e357e._0x1c74ae,_0x1e357e._0x2fc3e9,_0x1e357e._0x4c80c9,_0x1e357e._0x5863c9))&&(_0x58a150[_0x4d25c8(_0x1e357e._0x4a4c3a,0x51e,_0x1e357e._0x1b6d86,_0x1e357e._0x397331)]=void 0x0,_0x58a150[_0x4d25c8(_0x1e357e._0x28733d,_0x1e357e._0x20ed4f,_0x1e357e._0xe9bdfe,0x4bd)]=void 0x0);function _0x4712a1(_0x4bd91b,_0x512271,_0x2b16a4,_0x24a3b2){return _0x4161(_0x2b16a4-0x95,_0x512271);}function _0x4d25c8(_0x4dc258,_0x3c52bb,_0x331098,_0x333a8d){return _0x4161(_0x3c52bb-0x242,_0x4dc258);}(_0x4edcc0===_0x4d25c8(0x43b,0x4d0,_0x1e357e._0x5a4790,0x4d2)||_0x4edcc0===_0x4d25c8(0x557,0x6bf,_0x1e357e._0x5f2877,0x7b4))&&(_0x58a150[_0x4d25c8(_0x1e357e._0x51a360,_0x1e357e._0x2ace72,0x30e,0x437)]=void 0x0);});},async 'saveDiscoveryState'(_0x390249){await updateStore(_0x37475d,_0x3e3f4d=>{_0x3e3f4d['discoveryState']=_0x390249;});},async 'discoveryState'(){function _0x4e43dc(_0x2ccfdb,_0x1269ff,_0x54c8b3,_0x5d32e1){return _0x586a68(_0x1269ff,_0x54c8b3- -0x1d0,_0x54c8b3-0x7b,_0x5d32e1-0x16a);}return(await readStore(_0x37475d))[_0x4e43dc(0x31a,0x412,_0xba9809._0x2f8014,_0xba9809._0x5b415f)];}};}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(_0x4ab6ae,_0xa1cb7c){const _0x26f18e={_0x234b8a:0x447,_0x116b69:0xa6},_0x3e1a8d=_0x542ead=>_0x542ead[_0x584f23(0xe9,0x93,0xe3,0xb5)](/[^a-zA-Z0-9_]+/g,'_')[_0xc6f925(0x1b0,0x38,-0x4d,-0x2e)](/^_+|_+$/g,'');function _0x584f23(_0x34380c,_0xc3492a,_0x434a27,_0x120844){return _0xab9513(_0x120844- -_0x26f18e._0x234b8a,_0xc3492a-_0x26f18e._0x116b69,_0x434a27-0x62,_0x434a27);}function _0xc6f925(_0x4cfc56,_0x4b9d85,_0x27ad06,_0x48269d){return _0x32992d(_0x4cfc56-0x1d3,_0x48269d,_0x27ad06-0x1b4,_0x4b9d85- -0x4c9);}return'mcp_'+_0x3e1a8d(_0x4ab6ae)+'_'+_0x3e1a8d(_0xa1cb7c);}function isObject(_0x148d13){const _0x1c9818={_0x4e1ac0:0x7ee,_0x3d7a09:0x6d4},_0x2f6b37={_0x9bb68a:0xbc,_0x1456ab:0xb4};function _0x1ab274(_0x247187,_0x6c51ea,_0x55b2f1,_0x305a8a){return _0x32992d(_0x247187-0xb2,_0x6c51ea,_0x55b2f1-_0x2f6b37._0x9bb68a,_0x247187-_0x2f6b37._0x1456ab);}return typeof _0x148d13===_0x1ab274(_0x1c9818._0x4e1ac0,0x92b,0x6c0,_0x1c9818._0x3d7a09)&&_0x148d13!==null&&!Array['isArray'](_0x148d13);}function toSupportedSchema(_0x7c9b48){const _0x30dc6c={_0x247d42:0x13f,_0x2746ad:0x91,_0x5f9fcb:0x1c1,_0xc5e24e:0x5ab,_0x5606d2:0x5f3,_0x1ddfe4:0x4fd,_0x5bb23f:0x4b8,_0x205772:0x5b3,_0x39ae19:0x48f,_0x27424e:0x4f3,_0x44c1b8:0x327,_0x561916:0x49c,_0x41e0cc:0x1ca,_0x3fe1a4:0x117,_0x4ea73b:0x6e,_0x112fb9:0x273,_0x268df0:0x37d,_0x3ee7da:0x226,_0x177a04:0xc7,_0x348654:0x18f,_0x4c3a25:0x35,_0x321237:0x4c6,_0x2f6578:0x637,_0x20d0d3:0x3b6,_0x557274:0x4cc,_0x23db93:0x41b,_0x5ddce6:0x426,_0x4d8e93:0x2b5},_0x303310={_0x5cece7:0x480,_0x5f5dc1:0x40},_0x25ee5d={_0xcee5ac:0x19a,_0x495134:0xf2};if(!isObject(_0x7c9b48))return void 0x0;if(_0x7c9b48['type']===_0x84145a(_0x30dc6c._0x247d42,0x137,0x1f9,_0x30dc6c._0x2746ad))return{'type':_0x84145a(_0x30dc6c._0x5f9fcb,0x120,0x1f9,0x290)};function _0x599692(_0x18ee1d,_0x5d1d99,_0x1c1b68,_0x40be73){return _0xab9513(_0x40be73- -_0x25ee5d._0xcee5ac,_0x5d1d99-_0x25ee5d._0x495134,_0x1c1b68-0xd1,_0x5d1d99);}if(_0x7c9b48['type']===_0x599692(_0x30dc6c._0xc5e24e,_0x30dc6c._0x5606d2,0x3a3,_0x30dc6c._0x1ddfe4)||_0x7c9b48['type']===_0x599692(0x5e9,_0x30dc6c._0x5bb23f,0x6fa,_0x30dc6c._0x205772))return{'type':_0x599692(_0x30dc6c._0x39ae19,_0x30dc6c._0x27424e,0x4c3,_0x30dc6c._0x1ddfe4)};function _0x84145a(_0x5a1845,_0x4d240d,_0x3b5fbc,_0x55e1d9){return _0xab9513(_0x3b5fbc- -_0x303310._0x5cece7,_0x4d240d-_0x303310._0x5f5dc1,_0x3b5fbc-0x171,_0x55e1d9);}if(_0x7c9b48[_0x599692(_0x30dc6c._0x44c1b8,_0x30dc6c._0x561916,0x46b,0x368)]===_0x84145a(_0x30dc6c._0x41e0cc,_0x30dc6c._0x3fe1a4,_0x30dc6c._0x4ea73b,0xce))return{'type':_0x84145a(0x1af,-0x29,_0x30dc6c._0x4ea73b,0x89)};if(_0x7c9b48['type']===_0x84145a(0x2ed,_0x30dc6c._0x112fb9,0x226,0xab))return{'type':_0x84145a(_0x30dc6c._0x268df0,0x1dc,_0x30dc6c._0x3ee7da,0xe4),'items':toSupportedSchema(_0x7c9b48[_0x84145a(0x2c9,_0x30dc6c._0x177a04,_0x30dc6c._0x348654,_0x30dc6c._0x4c3a25)])??{'type':_0x599692(_0x30dc6c._0x321237,_0x30dc6c._0x2f6578,0x399,0x4df)}};if(_0x7c9b48[_0x599692(_0x30dc6c._0x20d0d3,_0x30dc6c._0x557274,_0x30dc6c._0x23db93,0x368)]===_0x84145a(_0x30dc6c._0x5ddce6,0x2fb,_0x30dc6c._0x4d8e93,0x1e8))return toNuvinToolSchema(_0x7c9b48);return void 0x0;}function toNuvinToolSchema(_0x499a10){const _0x2c20d1={_0x36b624:0x147,_0x1c9606:0x845,_0x49b940:0x6d6,_0xfa9645:0x699,_0xfb1a99:0xaf,_0x26d40a:0x1ca,_0x2279d6:0x157,_0x252bbd:0xa2,_0x5a74cb:0x44f,_0x2a77f3:0x481,_0x4bbded:0x3c9,_0x10a6b4:0x203,_0x2f31e5:0x7d1,_0x25c451:0x7e1,_0x2bd9b0:0x6d2,_0x365522:0x729,_0x3fb41e:0x5fe},_0x5e28ef={_0x1c5380:0x5f,_0x3c247e:0x1d9},_0x483b87={_0x36e670:0x170};if(!isObject(_0x499a10)||_0x499a10[_0x50871e(_0x2c20d1._0x36b624,0xce,0x231,0x257)]!==_0x399a36(_0x2c20d1._0x1c9606,0x737,_0x2c20d1._0x49b940,_0x2c20d1._0xfa9645))return{'type':_0x50871e(0x37a,0x267,0x306,0x2ae),'properties':{}};function _0x50871e(_0x1215f7,_0x443592,_0xc6076a,_0x33a932){return _0xab9513(_0x1215f7- -0x3bb,_0x443592-0x1eb,_0xc6076a-_0x483b87._0x36e670,_0x33a932);}const _0x4dccb9={},_0x303548=isObject(_0x499a10[_0x50871e(0xda,0x133,0x163,_0x2c20d1._0xfb1a99)])?_0x499a10['properties']:{};function _0x399a36(_0x180386,_0x37e771,_0x42b2d0,_0x1c6b6f){return _0xab9513(_0x42b2d0- -_0x5e28ef._0x1c5380,_0x37e771-_0x5e28ef._0x3c247e,_0x42b2d0-0x1d0,_0x37e771);}for(const [_0x4a4a96,_0x458670]of Object[_0x50871e(_0x2c20d1._0x26d40a,_0x2c20d1._0x2279d6,0x159,_0x2c20d1._0x252bbd)](_0x303548)){const _0x48a8a1=toSupportedSchema(_0x458670);if(_0x48a8a1)_0x4dccb9[_0x4a4a96]=_0x48a8a1;}const _0x1326f4=Array[_0x50871e(0x2ff,_0x2c20d1._0x5a74cb,0x338,0x3ba)](_0x499a10[_0x50871e(0x376,_0x2c20d1._0x2a77f3,_0x2c20d1._0x4bbded,_0x2c20d1._0x10a6b4)])?_0x499a10[_0x399a36(_0x2c20d1._0x2f31e5,_0x2c20d1._0x25c451,_0x2c20d1._0x2bd9b0,0x636)][_0x399a36(0x7a2,0x71e,0x691,_0x2c20d1._0x365522)](_0x4feb16=>typeof _0x4feb16===_0x50871e(0x2be,0x39b,0x1f3,0x2c8)):void 0x0;return _0x1326f4?.[_0x399a36(0x5ff,0x63c,0x57d,_0x2c20d1._0x3fb41e)]?{'type':'object','properties':_0x4dccb9,'required':_0x1326f4}:{'type':'object','properties':_0x4dccb9};}function _0x4104(){const _0x534546=['zgvSzxrL','rgLHz25VC3rPyW','Aw1Hz2u','DxjP','A2LUza','BgLZDgvU','C291CMnL','rxjYB3i','C2XPy2u','l3bPza','Aw52ywXPzf90B3bPyW','A2LTAq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','tM8GzgLHz25VC3rPy3m','y29UDgv4DeXPBMS','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','iYmGu2TPBgW6ia','Dw5PB24','C3jJl3nOyxjLzc90ExbLCY50CW','Dhj1BMm','ywjVCNrLza','yxv0AfjLCxvPCMvK','C2HLBgXjza','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','BwfW','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','te9x','B3b0Aw9UywW','CMvJzw5JEurHExm','Aw52ywXPzf90B2rVCW','yMfJA2DYB3vUzfjLz2LZDhj5','mc4WlJaUma','Aw52ywXPzf90B2rVx3bYAw9YAxr5','C2vUzfjLCxvLC3q','zMXHDe1HCa','y2XVC2vbBgW','Bwf4qNL0zxm','ue9tva','y3jSzG','yxjNDw1LBNriAw50','yxv0BW','ig1Z','zgv0ywLS','yw5ZAte2','D2fPDezVCKrPywDUB3n0AwnZ','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','BgLUzq','z29uB0rLzMLUAxrPB24','AxrLBxm','mtK4lJe4lJaUma','CNvUBMLUzW','BwvZC2fNzq','lMXVzW','zMLUzfjLzMvYzw5Jzxm','tuvesvvn','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','AxndB250zxH0','mZy1mZu4ENnMCKre','Ahr0CdO','C2HPzNq','z2L0qNjHBMnO','DhvWBgu','Cgf0Ag5HBwu','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','Dg90ywXeCM9WCgvK','zNvUy3rPB24','Dhj1BMnHDgvK','B2XSyw1H','t1bftKfjx0fqsv9lrvK','yMLVBwu','uefusa','z3jVAW','CgXHDgzVCM0','yxnJAwK','lMPWzW','yMLVBwuUANnVBG','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','yw5ZAti1nG','Dg9Rzw5Z','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','lMPZEa','y2fSBfrVB2W','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','uhjVz3jHBuzPBgvZ','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','DgLTzw91De1Z','AgLNAa','igj5DgvZicHVCMLNAw5HBdOG','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','y2HHCKnVzgvbDa','Aw52ywXPzf90B2rVx2L0zw0','y3DK','C2v0vg9KB3m','C2fMzq','sw52ywXPzcbvuKWGCgfYyw1LDgvY','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','w291Dhb1Dcb0CNvUy2f0zwq6ia','rMLSzvjLywq','zgLHz25VC3rPy3ngB3jgAwXL','CgXHAw50zxH0','zw5K','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','ugfJA2fNzxm','B3b0Aw9UCW','BgLUzu51Bq','C3vIyxjYyxK','qu5usfjpueLdx0fqsv9lrvK','AxneAxjLy3rVCNK','cGOTls0kcG','ugf0AcbPCYbUB3qGysbMAwXLoIa','Bwf0y2HLCW','BgLUzuvUza','Ag92zxi','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','AxnfBMfIBgvK','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','l3vZCI9IAw4VC2G','CxvLCNK','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','Cg5WBs1SB2nRlNLHBwW','Dg9Rzw5tDg9YywDLs2v5','A2LSBa','D2HPy2GGCMC','C3rVCMfNzurPCG','BwnFy2LK','ChjPB3jPDhK','ienHDxnLoIa','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','yxjNDw1LBNrZvgv4Da','Bwv0yq','y2XPzw50x3nLy3jLDf9WB3n0','CgfJA2fNzxm','DxrTx21LzgL1Bq','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','zxjYB3jZ','ls1OAwrKzw4','ygbG','Aw5PDgLHBgL6zq','y2f0y2G','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','ywXSB3DLzfrVB2XZ','lNrTCc4','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','qgjPB21LANmVyMLVBwu','B3v0z29PBMDdywXSCW','yNvMzMvYq2HHCNm','s2LSBgvKia','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Dg9KB3m','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','yxnRvxnLCG','revfueLorLjbx0fqsv9lrvK','C3rYAw5N','y29Kzq','ChjVy2vZC0v4AxrLza','y29UDgvUDc10ExbL','yMLUyxj5tMfTzq','zgvUBY5QC29U','C3rHDhvZ','CMvNAw9U','y2fSBgjHy2TvCMW','lMPWzwC','zMLSzvzLCNnPB25Z','uhjVz3jHBuzPBgvZkhG4nIK','Aw1Hz2vZ','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','Dw5RBM93BG','DxrTx3rLCM0','r0Lusfvcx1rps0vo','zgvSAw1PDgvY','lNbUzW','Dg9VBa','oIbPzcbYzxf1AxjLza','ie9sia','ywXSu2v0DgXLza','y29TBwfUza','DhLWzxnJCMLWDhjLywn0','DhnJB25MAwCUANnVBG','zw5NAw5LCW','vg9WAwmGC2v0ihrVici','sw52B2TLq29TBwfUza','y29Uy2f0','BNvTyMvY','qMvHCMvYia','Aw1WBgvTzw50yxrPB24','y2XLyw51Ca','tunqihrVB2WG','Bg9VA3vW','BxrPBwu','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','CgfYC2u','zg9JDw1LBNrtEw1IB2W','DxrTx3nVDxjJzq','C2v2zxjPDhK','BM9Zy3jPChq','CMvXDwvZDhm','Bwf4uMvKAxjLy3rZ','yxjYyxK','CMvMCMvZAf90B2TLBG','Dg9VBc1VDxrWDxqTB2zMBg9Hza','C2v0','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','AxnjBNrLz2vY','BM90Awz5','u2HLBgWGBM90igzVDw5KoIa','CMCUzxHL','DxrTx2nHBxbHAwDU','CxvLC3rPB25Z','C29YDa','B3bLBMfPlxjLC3bVBNnLCW','icHWAwqG','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ls1NBg9I','y29ZDa','rMLSzuvKAxq','z29Vz2XLq3nLq3G','zgvLCgLUzNjH','AxnbCNjHEq','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','CgfYC2vjBNq','CgfJA2fNzs1SB2nRlMPZB24','uxvLC3rPB24G','qMfZAe91Dhb1Da','CMfUzg9T','Ag9TzwrPCG','CxvLC3rPB24','B2XKvgv4Da','ugf0AcbUB3qGzM91BMq6ia','sfruuca','Aw1Hz2uVD2vICa','zw52','zgvMAw5PDgLVBG','xsb0CMfUC3bVCNqGzxjYB3i6','AxngAw5PDgu','C2vUze5VDgLMAwnHDgLVBG','Ag9ZDa','s2LSBfnOzwXS','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Aw5PDgLHBgL6zwq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','DhjPBq','yxjNDw1LBNroyw1LCW','D29YA3nWywnLl3n5BwjVBa','r0Lusfvcx0fdq0vtu19ut0TftG','Dg9vChbLCKnHC2u','ANnJB25MAwCUANnVBG','yxv0Ag9YAxPHDgLVBL9JB2rL','A2v5','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','y2XPzw50CW','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','DgfZAW','AxnfCNjVCG','DgfZA2TPBgW','C2H1DgrVD24','C2vYDMvYswq','zNjVBq','z2XVyG','EMfP','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','Dg9Rzw4','Aw5JBhvKzq','Bg93','DhjHBNnMB3jTCW','qxnZAwDUvgfZAW','DxnLCM5HBwu','yMfZzty0','Aw5ZDhj1y3rPB25Z','Agv4','DgvZDa','zMLSDgvY','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','r3jLCa','yw50AhjVCgLJlw1LC3nHz2vZ','seLhsa','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','C2vHCMnOrgvWDgG','C2vUza','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','zxzLCNK','CgfNzw1HCa','lMPZB24','mJe3mJLXBKjnyvu','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','vg9Vig1HBNKGCMvKAxjLy3rZ','CgfJA2fNzs5QC29U','zxHPDa','y2HPBgq','Dg90ywW','CMvXDwvZDa','ls1YzwDLEha','AgfZ','Aw52ywXPzf9XDwvZDgLVBNm','yxbWzw5K','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','mtu0vwjXy2jQ','BMv3vgv4Da','y29UzMLN','BgL0zxjHBa','rMv0y2GGywjVCNrLzcbIEsb1C2vY','AMf2yxnJCMLWDhjLywn0','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','z29Vz2XLlwnZzq','Dg9VBe5HBwu','zgf0zvjLC3rYAwn0','zw5HyMXLza','B3rOzxi','zgLZCg9Zzq','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','CM91BMq','CMvNzxG','zgvSzwDHDgvKlxj1BI0','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','zxf1ywXZ','z2L0AhvI','BhnW','Bg9HzenVBw1HBMq','cMbGya','uKLgrG','C2LNBMfS','BwvTB3j5','Bw9KzwW','C3rKB3v0rgvJB2rLCG','oIbPBNzHBgLKihbYAw9YAxr5','y2XPzw50sw5MB3jTyxrPB24','zMjJBgLK','tM8GC3LTyM9SCYbMB3vUza','AMf2yxnJCMLWDa','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','CM9VDa','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','Aw5JBhvKzxm','C2L0ztO','lMn0CW','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','CMvXDwLYzwq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','C3rKAw4','A2LSBfjLCxvLC3rLza','B2jQzwn0','CMvSyxrPDMu','A2v5CW','r09pr0Xfx0ntrv9dwa','Dgf2AwX5','AhLKCMf0zu1LDge','C3rHDhvZvgv4Da','Dg9tDhjPBMC','Aw5ZDgfSBa','zgLHz25VC3rPy3m','yNL0zuXLBMD0Aa','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','t0zg','zg9TywLUCW','mc4WlJa','mtqZote5nLfjsNLJsq','q29Tu3bLyW','BwnFzwLK','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','C2HLBgXqyxrO','AwzYyw1L','DxrMoa','C3bHD25PBMC','Aw50zwDLCG','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','zMLSzvbHDgG','yMfZAwm','qMfZAa','DgL0Bgu','C2vHCMnOvhLWzq','Aw1Hz2uVANbLzW','Dgv4DerVy3vTzw50l2rPzenSB3nL','C3rYAxbbBNnP','zMv0y2HjBxbS','v0vcua','w01duca','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','z2nSAwq','revfufnfruTFqvbjx0Tfwq','zgLZy292zxj5','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','ChjVDg9JB2W','twLJCM9ZB2z0','tM8GBg9JyxrPB25ZigzVDw5K','DMfSDwvZ','C3vKBW','l2jPBI9ZAa','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','yNvUlMXVy2S','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','zgLYzwn0B3j5','sgLUDa','zMLYC3q','u0HfteW','mty5lJi1nc4WlJa','zMfPBgvK','Bw9Kzq','mJqWlJaUmc4W','y2XPzw50','CgfYzw50u2vZC2LVBKLK','ignVBxbSzxrLzc4','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','zgvMyxvSDen3za','BNv2Aw4','y2fWq2HHCNm','qxzHAwXHyMXLignVBw1HBMrZoG','lM1QCW','Aw5JB21PBMDdywXSCW','qxv0Ag9YAxPHDgLVBG','D2vI','C3rKzxjYrgvJB2rLCG','yNvMzMvY','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2v0vg9WAwm','ls1MB2XSB3C','y2XPzw50twv0ywrHDgfvCMW','lMDPzG','zw5NAw5L','C3rHCNq','y2XVC2u','z2v0u3rHDhm','BgLZDfrVB2XZ','y29TCgXLDgvK','CMfUz2u','C2HHmJu2','lI4U','mtKYlJe2oc4WlJa','zM9VDgvY','BgfIzwW','AxntEw1IB2XPy0XPBMS','vg9KBYa','mti2mJKXnZbtCxLUCve','AM9PBG','qwXSia','AgfUzgXL','Cgf0DgvYBIbPCYbYzxf1AxjLza','CNvUswq','CgvUzgLUzW','zgvUBY5QC29UyW','DgHPBMTPBMC','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','u0Lhs0Lmta','CgLWzq','CMvMzxjLBMnLCW','B2zM','icHZDgf0Dxm6ia','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','Ag9ZDg5HBwu','ChjVCgvYDgLLCW','CMvHzen1CNnVCG','zgLYBMfTzq','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','uhvIBgLZAgvKoIa','Axnoyu4','Cgf0DgvYBG','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','BxrPBwvnCW','y29UDgv4Da','tM8GAg92zxiGAw5MB3jTyxrPB24','s0Lnsv9bueLFs0vz','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','C2TPBgXZ','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','yMvHCMvY','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','C3rKzxjY','zgLZy292zxj5u3rHDgu','lM51DMLU','l29WDc9OB21LyNjLDY9IAw4VCMC','zw51Bq','yw5ZD2vYCW','zgvMyxvSDa','AxngAwXL','mJe0nZGYowfOwwjyra','wefjx0fqsv9lrvK','Aw52ywXPzf90B2rVx3n0yxr1CW','ywjVCNq','A2LSBgvK','CMvZDwX0','yxnZAwDU','B25LCNjVCG','C3rHCNreAxi','BgfUz3vHz2u','C2H1DgrVD25tDgfYDgvK','Dg91y2HgAwXL','Dg9WAwm','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','BgfUz18','yxr0CG','ru5pru5u','BgfUzW','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','CMvZDwX0CW','lu5VuhjVzMLSzq','yMLVBwuUANnVBMm','z2v0','yxbPs2v5','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Dg9VBhmVy2fSBa','Bwf4q29Uy3vYCMvUDa','C2L6zq','vxbKyxrLvg9WAwm','o1TExg5DkJ8','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','CMvZB2X2zq','DxrTx2nVBNrLBNq','CMvTB3zL','B25szwrPCMvJDa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','tM8GCMvZDwX0CYbMB3vUzc4','DMvYAwzPzxi','ls1NBg9IpseUz2L0lYO','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','z29Vz2XLq3nLs2v5','D29YA3nWywnLu3LTyM9S','BgLNAhq','y21KlMv4zq','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','yNjVA2vU','vMLLD2vKigLTywDLigzPBgu6ia','lNDLyNa','y291BNrLCG','BMfTzq','DMfSDwu','BgLI','B25Jzq','zgf0yq','B2zMC2v0','tg9HzfnRAwXS','zMLUywXnzxnZywDLvgv4Da','Dgv4DerVy3vTzw50l2HVDMvY','ywXSB3DLzerPCNm','BgLTAxq','zMLSztOVlW','yM9VBgvHBG','C25PChbLDa','DhnJ','CMvHza','Dg9VBfjLC3vSDhm','l2jPBI9IyxnO','DgHLBG','zxjYB3jnzxnZywDL','ANnVBMm','AgvHzgvYCW','lMjPBG','DhnZzxj2zxiUANm','Bwv0yxrHz3m','y29UBMvJDgvK','CMvWBgfJzq','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','AxnbyNnVBhv0zq','C2nYAxb0','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','DhLWzq','B3bLBMfPlxjLC3bVBNnLCY13CW','D2LUmZi','zgLZywjSzwq','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','y29UDgvUDa','AwDUB3jL','tuLosu1bwf9bueLFs0vz','C2vYDMvY','yMLYDgH0Aw1L','ChjLCgfYzunHBgXiAwvYyxjJAhK','y29UC3rYDwn0B3i','BwvKAxvT','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','BgfZDeLUzgv4t2y','Dgf2AwX5qxbPs2v5','pc9ZExn0zw0TCMvTAw5Kzxi+','ChjLzML4','DgLTzvTKyxrLDgLTzv0','y2XLyxi','vg9KB1DYAxrL','mtKYlJaUmc4W','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','C3rHDgu','t1bftLjpvvrfuL9bueLFs0vz','Dg9VBhm','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','D2HLCMuGCMC','C3rYAw5NAwz5','oti3nJK2mhf2A1z2tG','BMf2','C2vZC2LVBG','C29Tzq','C3rHCNrZv2L0Aa','ywrK','ls1ZDgrPBW','DxbKyxrL','mJi0lJaUmc4W','DhLWzxnJCMLWDa','Ec1HCgKTA2v5','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','zxzPy3rjzK5LzwrLza','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','y2fJAgvK','l3vZCI9IAw4VCMC','zMvUy2vK','yxbWBgLJyxrPB24VANnVBG','CgLK','B25oB3rPzMLJyxrPB24','Aw5WDxrty2HLBwe','AwDUB3jLt3v0Chv0','BgLUzvrLEhq','yxnPzgu','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Bg9JyxrPB24','Dgv4Dc9ODg1S','qvbjx0Tfwq','ls0T','yw50AhjVCgLJ','igj5DgvZicH0B3rHBdOG','Aw5FChjVz3jLC3m','ChjVy2vZCW','zxHPDgvK','y291BNq','Cg9W','D3jPDgu','CMvJB3jK','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','vw5RBM93BIb0B29SoIa','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','Bwf4rw50CMLLCW','BM93','zxHPDenVzgu','B2f1DgG','C2vZC2LVBKLK','C3rKB3v0','AgfZq2XPzw50CW','BNvT','nJy5mJe2nw1rtfrtEq','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Dg9mB3DLCKnHC2u','Aw1Hz2uVCg5N','C2vHCMnOugfYyw1Z','tg9HzgvKigzYB206ia','Ahr0Chm6','lNrZEa','igzYB20G','CMvHC29U','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','BhnWlxbYB3H5','ChvZAa','zMXVB3i','CNnZ','Aw1Hz2uVz2LM','Aw5qCM9NCMvZCW','zgvZy3jPChrPB24','lw5i','tNv2Aw4','ndHjDhrhDKO','u2TPBgWGjW','ne5fsuXgzq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','Ahr0Ca','Aw5PDgLHBgL6yxrPB24','ywXS','lMnTza','zxHPDcbJB2rLia','cGPbuKDvtuvovfm6ia','BM9Uzq','yM94zwq','ywDLBNrjza','zNvSzMLSBgvK','tuLnrtOG','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','zhvWBgLJyxrLx3rVzg9FAwrZ','B3bLBKzPBgvZ','zxH0BMfTzq','tu9ptLnit1rFqvbjx0Tfwq','v2vIu2vHCMnO','ChvIBgLZAgvKqxq','oIbJB250zw50ihjLCxvPCMvK','BgLUzvn0yxj0','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','Cgf0Aa','C3rKAw8','zMLUza','qwDLBNqGCNvUia','zw50CMLLCW','yMCT','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','Dgv4Da','tunqihnLCNzLCIa','BwLU','lMPZ','oIbPBNzHBgLKihn0yxr1CW','C2vYDMvYtMfTzq','C3bHD24','Dg9ju09tDhjPBMC','y3jLyxrLzef0','zMLSzq','Dgv4DerVy3vTzw50l2rPze9Wzw4','lcbpChrPB24G','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','Dg9KB3ncEvnLC3nPB24','CgfZC3rOCM91z2G','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','v2vIrMv0y2G','ygbGANnVBGO','z2v0vg9KB3m','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','igj5DgvZks4','C3bSAxq','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','mtaUmc4WlJa','yxv0Aa','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','zgf0zxrPBwu','CgfJA2fNzu5HBwu','te9dquXbufbeqvrb','Aw52ywXPzf90B2rVx2LK','wKfjx0fqsv9lrvK','r0LgodLH','Aw52ywXPzf90B2rVx2nVBNrLBNq','B3jPz2LUvg9VBenHBgXjza','wZ0+nY04kcLD','Bg9JywXLq29TCgfYzq','u2L6ztOG','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','Aw5WDxq','yxjNCW','tgLUzsa','vw5HDxrOB3jPEMvKrxjYB3i','y2HHCMfJDgvY','lMPZB25J','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','yNvUlMXVy2TI','BwfYA2rVD24','ywDLBNrZ','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','Aw5KzxHpzG','y29KzvzLCMLMAwvY','ovryuwj5uq','BxvSDgLtzwXLy3q','y29TBwfUzhm','igzHAwXLzc4','Bwf4','nZzjAgnovgi','BwfUDwfS','CgfZC3DVCMq','yMfZzw5HBwu','C2vYDMvYCW','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','l2jPBI9YzW','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','zMLSBa','ig1HDgnO','thnW','Dg9VBenHBgXjza','ANnVBG','vw50AxrSzwq','BM9Kzv9TB2r1BgvZ','zxjYB3i','B3bLCMf0Aw9U','CNvUsw5cywnRz3jVDw5K','BwLUAw1HEa','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','B3v0Chv0','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','y29UBMvJDa','DxjS','CgXHAw4','zMLUywXnzxnZywDL','BgvUz3rO','sw5MB3jTyxrPB24'];_0x4104=function(){return _0x534546;};return _0x4104();}function isJsonObject(_0x57a7c8){const _0x529d95={_0x280913:0x426,_0x371760:0x329,_0x4e7667:0x3cd,_0x4b92c5:0x5d0},_0x480222={_0x1d783e:0xc8},_0x2d35cf={_0x53a868:0xb0,_0xbc4237:0x13c,_0xfa1191:0x238};function _0x58d5c2(_0x21c3f3,_0x37210c,_0x3a7eb9,_0x2a6eb4){return _0x32992d(_0x21c3f3-_0x2d35cf._0x53a868,_0x2a6eb4,_0x3a7eb9-_0x2d35cf._0xbc4237,_0x37210c- -_0x2d35cf._0xfa1191);}function _0x348f66(_0x173112,_0x50bf70,_0x1e0b5e,_0x53aa56){return _0x32992d(_0x173112-_0x480222._0x1d783e,_0x50bf70,_0x1e0b5e-0x1dd,_0x1e0b5e- -0x5bf);}return typeof _0x57a7c8===_0x58d5c2(0x4af,0x502,0x522,_0x529d95._0x280913)&&_0x57a7c8!==null&&!Array[_0x58d5c2(_0x529d95._0x371760,0x487,_0x529d95._0x4e7667,_0x529d95._0x4b92c5)](_0x57a7c8);}function formatMcpContent(_0x1eaeb4){const _0x575d3a={_0x596808:0x166,_0x23cf51:0x64,_0x5c6595:0xf7,_0x4e2fb4:0x11f,_0x5b7727:0x15,_0x33c2e0:0x192,_0x56043f:0x269,_0x4c74c9:0x1f7,_0x408493:0x53,_0x3934e2:0x44},_0x5abe43={_0x5ea537:0x588,_0xe47e6d:0x1d2},_0x105081={_0x5a83ce:0x4f7},_0x18ada7={_0x13014a:0x177,_0x2d3086:0x1cf,_0x3947d7:0x92,_0x9f6b96:0x6f,_0x290e1f:0x3c3,_0x4e23ff:0x3cd,_0x2c94ab:0xa2,_0x30f73e:0x142,_0x40e3e2:0xda},_0x37a206={_0x45b947:0x3a1},_0x29b3f5=Array[_0x21af33(_0x575d3a._0x596808,0x344,0x1c8,0xff)](_0x1eaeb4[_0x21af33(-_0x575d3a._0x23cf51,0x1,0x15,-_0x575d3a._0x5c6595)])?_0x1eaeb4[_0x21af33(-_0x575d3a._0x4e2fb4,-0x6e,_0x575d3a._0x5b7727,-0x161)]:[],_0xe7a82b=_0x29b3f5[_0x21af33(_0x575d3a._0x33c2e0,0x216,0x105,_0x575d3a._0x56043f)](_0x5a903f=>{const _0x3bf932={_0x222e64:0x2b,_0x2ef5da:0x75,_0x33fa3f:0x70};function _0x3425bf(_0x456126,_0x574d55,_0x27e998,_0x1e273c){return _0x187272(_0x456126-_0x3bf932._0x222e64,_0x456126,_0x27e998-_0x3bf932._0x2ef5da,_0x1e273c- -_0x3bf932._0x33fa3f);}if(!isObject(_0x5a903f))return'';if(_0x5a903f[_0x3425bf(-0x246,-_0x18ada7._0x13014a,-_0x18ada7._0x2d3086,-0xf6)]==='text'&&typeof _0x5a903f[_0x3425bf(-0xa6,-_0x18ada7._0x3947d7,-0x74,-_0x18ada7._0x9f6b96)]===_0x426b9a(0x492,_0x18ada7._0x290e1f,_0x18ada7._0x4e23ff,0x5ed))return _0x5a903f[_0x426b9a(0x3a2,0x441,0x3ef,0x4bd)];function _0x426b9a(_0x19f8d9,_0x39b3b9,_0x532887,_0x10be68){return _0x187272(_0x19f8d9-0xf5,_0x10be68,_0x532887-0x1de,_0x19f8d9-_0x37a206._0x45b947);}return JSON[_0x3425bf(_0x18ada7._0x2c94ab,-0x3c,-_0x18ada7._0x30f73e,-_0x18ada7._0x40e3e2)](_0x5a903f);})[_0x187272(0xb7,_0x575d3a._0x4c74c9,0x5d,0x168)](_0xc41e5f=>_0xc41e5f[_0x187272(-0xc5,0x17,0x109,0x54)]>0x0)[_0x21af33(0x5b,-_0x575d3a._0x408493,-0x6d,-_0x575d3a._0x3934e2)]('\x0a');function _0x21af33(_0x1ba521,_0x2cb50f,_0x2e754b,_0x20cf4c){return _0x32992d(_0x1ba521-0x81,_0x1ba521,_0x2e754b-0x1cf,_0x2e754b- -_0x105081._0x5a83ce);}if(_0xe7a82b['length']>0x0)return _0xe7a82b;function _0x187272(_0x3c7617,_0x2c21c1,_0x133159,_0x37d475){return _0xab9513(_0x37d475- -_0x5abe43._0x5ea537,_0x2c21c1-_0x5abe43._0xe47e6d,_0x133159-0xd3,_0x2c21c1);}return JSON['stringify'](_0x1eaeb4,null,0x2);}function createMcpTool(_0x51b59a){const _0x6034f6={_0x1716b7:0x9c,_0x5e4f4e:0x1d5,_0xf25722:0x206,_0x57fe9e:0x11c,_0x5a28c4:0xea,_0x3d1bbf:0x8e,_0x5a2910:0x199,_0xcc9431:0x1ca,_0x519ad3:0x9,_0x147422:0x1c3,_0xacad3a:0x12b,_0x1c5681:0x1a0,_0x2bdbff:0x10,_0x4c63a3:0x7a,_0x1edfea:0x14,_0x42fbc0:0x12b,_0xc35320:0x1d,_0x5e5aa7:0x11,_0x8e2db9:0x11c,_0x6a7ab6:0x191},_0x51486b={_0x3470a6:0x2fd,_0x18aeff:0x110,_0x977e84:0x228,_0x16fe53:0x34,_0x414037:0x1aa,_0x58e525:0x9d,_0x337dd7:0x2a7,_0x236c46:0x0,_0x1d8ba6:0x8c,_0x277fda:0x47,_0x550ffc:0x512,_0x41711a:0x578,_0x204195:0x10e,_0x501bc8:0x83,_0x374a41:0x92,_0x4d1029:0x1aa,_0x44762c:0x4b2,_0x1aff06:0x3af,_0x22c1b8:0x1f,_0x4f83f1:0xdc,_0x4088ed:0x17e},_0xa5a314={_0x1049ec:0x8c,_0x5f39f9:0x40a,_0xb9f704:0x17d},_0x4e0825={_0x76b45c:0x1c6},_0x57fd10={_0xbfcfa:0x570,_0x53158a:0x108};function _0x948d18(_0x47d48b,_0x283729,_0x4b9e5c,_0x1c51ed){return _0xab9513(_0x4b9e5c- -_0x57fd10._0xbfcfa,_0x283729-_0x57fd10._0x53158a,_0x4b9e5c-0x9,_0x283729);}function _0x3f210f(_0x9efdaa,_0x21432e,_0x137f5b,_0x2dfe00){return _0x32992d(_0x9efdaa-_0x4e0825._0x76b45c,_0x9efdaa,_0x137f5b-0x1e6,_0x137f5b- -0x4f7);}const _0x1315b1=createMcpToolName(_0x51b59a[_0x3f210f(0x6d,0x16a,_0x6034f6._0x1716b7,_0x6034f6._0x5e4f4e)],_0x51b59a[_0x948d18(_0x6034f6._0xf25722,0x19f,_0x6034f6._0x57fe9e,0x1e)][_0x948d18(-0x144,_0x6034f6._0x5a28c4,-_0x6034f6._0x3d1bbf,-0x1a7)]);return defineTool({'name':_0x1315b1,'description':_0x51b59a[_0x3f210f(0x174,_0x6034f6._0x5a2910,0x19a,_0x6034f6._0xcc9431)][_0x948d18(-0x16a,0x31,-0xb,-_0x6034f6._0x519ad3)]??_0x948d18(_0x6034f6._0x147422,-0x51,_0x6034f6._0xacad3a,_0x6034f6._0x1c5681)+_0x51b59a['tool'][_0x3f210f(0x75,0xa6,-_0x6034f6._0x2bdbff,0x13)]+_0x948d18(-_0x6034f6._0x4c63a3,-0x4b,-_0x6034f6._0x1edfea,_0x6034f6._0x42fbc0)+_0x51b59a['serverName'],'inputSchema':toNuvinToolSchema(_0x51b59a[_0x948d18(_0x6034f6._0xc35320,-_0x6034f6._0x5e5aa7,_0x6034f6._0x8e2db9,_0x6034f6._0x6a7ab6)]['inputSchema']),async *'execute'(_0x1b4779){const _0x131566={_0x4bc474:0xe5,_0x312fa3:0x118},_0x17bf85=await _0x51b59a[_0x22facd(0x212,0x2d9,_0x51486b._0x3470a6,0x2d9)][_0x40f045(0x14f,_0x51486b._0x18aeff,_0x51486b._0x977e84,_0x51486b._0x16fe53)]({'name':_0x51b59a[_0x40f045(_0x51486b._0x414037,0x15f,_0x51486b._0x58e525,_0x51486b._0x337dd7)][_0x40f045(_0x51486b._0x236c46,_0x51486b._0x1d8ba6,0xfa,-_0x51486b._0x277fda)],'arguments':isJsonObject(_0x1b4779)?_0x1b4779:{}});function _0x40f045(_0x1bbe8e,_0x477e98,_0x5cb896,_0x2f45d5){return _0x948d18(_0x1bbe8e-_0x131566._0x4bc474,_0x5cb896,_0x1bbe8e-0x8e,_0x2f45d5-_0x131566._0x312fa3);}if(_0x17bf85[_0x22facd(0x5de,_0x51486b._0x550ffc,_0x51486b._0x41711a,0x6cf)])throw new ToolExecutionError(formatMcpContent(_0x17bf85),{'serverName':_0x51b59a[_0x40f045(0xac,_0x51486b._0x204195,_0x51486b._0x501bc8,-_0x51486b._0x374a41)],'toolName':_0x51b59a[_0x40f045(_0x51486b._0x4d1029,0x1dc,0xb2,0x191)][_0x22facd(_0x51486b._0x44762c,0x3db,0x37c,_0x51486b._0x1aff06)]});function _0x22facd(_0x5e2cd4,_0x1e750e,_0x373da6,_0x219ee3){return _0x948d18(_0x5e2cd4-_0xa5a314._0x1049ec,_0x1e750e,_0x373da6-_0xa5a314._0x5f39f9,_0x219ee3-_0xa5a314._0xb9f704);}return yield createToolOutput(formatMcpContent(_0x17bf85),{'serverName':_0x51b59a[_0x40f045(0xac,-0xd4,_0x51486b._0x22c1b8,-0x69)],'toolName':_0x51b59a[_0x22facd(0x667,0x564,0x526,0x4a8)][_0x40f045(0x0,0x16c,-_0x51486b._0x4f83f1,-_0x51486b._0x4088ed)],'result':_0x17bf85}),void 0x0;}});}function resolvePrefix(_0xea7c74,_0x136fc7){const _0x442ce6={_0x470c0c:0x1ac,_0x4f7f44:0x30a,_0xad726c:0x231,_0x52a352:0x333},_0x2d5814={_0x4f570b:0x55,_0x371145:0x1e2};function _0x5e70f2(_0x1a689b,_0x4ea155,_0x1fe2da,_0x6504a1){return _0x32992d(_0x1a689b-_0x2d5814._0x4f570b,_0x6504a1,_0x1fe2da-_0x2d5814._0x371145,_0x4ea155- -0x20e);}return _0x136fc7[_0x5e70f2(_0x442ce6._0x470c0c,_0x442ce6._0x4f7f44,_0x442ce6._0xad726c,_0x442ce6._0x52a352)]??_0xea7c74;}function buildMcpHttpHeaders(_0x4f37da){const _0x2eca2d={_0x4c0d9b:0x8b,_0x594604:0xec,_0x56aec4:0x80,_0x5528a4:0x203,_0x19974b:0x136,_0x21b207:0x74,_0x2f4352:0xbf,_0x216465:0x96,_0x1df5b1:0x71,_0x17c5d9:0x76,_0x1b62dd:0x148,_0x41fb8e:0x33,_0x3aa185:0x1a3,_0x1ee048:0x85,_0x1cec6c:0x194,_0x568f38:0x1,_0x5dbd93:0x60,_0x21c8d8:0x136,_0x47efd2:0xe4,_0x2523b9:0x206,_0x9341df:0x2bf,_0x27f128:0x37b,_0x1e681c:0x43e,_0x36a2e0:0x17a,_0x52f02a:0xf9,_0x41ec19:0x260},_0x3f2d1b={_0x266af8:0x1aa,_0x9aca83:0x54,_0x51c97a:0x471},_0x3f9b8d={_0xea9a4c:0x4e3,_0x3d709c:0x1db,_0x1e194e:0x19c};function _0xe33b9(_0x48499a,_0x48c5b3,_0x43d414,_0x427fc0){return _0xab9513(_0x48c5b3- -_0x3f9b8d._0xea9a4c,_0x48c5b3-_0x3f9b8d._0x3d709c,_0x43d414-_0x3f9b8d._0x1e194e,_0x427fc0);}const _0x213268={..._0x4f37da[_0x14161a(_0x2eca2d._0x4c0d9b,_0x2eca2d._0x594604,-_0x2eca2d._0x56aec4,_0x2eca2d._0x5528a4)]??{}};function _0x14161a(_0x2e54a7,_0x809be3,_0x598678,_0x1b8230){return _0x32992d(_0x2e54a7-_0x3f2d1b._0x266af8,_0x598678,_0x598678-_0x3f2d1b._0x9aca83,_0x2e54a7- -_0x3f2d1b._0x51c97a);}return _0x4f37da[_0x14161a(_0x2eca2d._0x19974b,_0x2eca2d._0x21b207,_0x2eca2d._0x2f4352,0x216)]?.[_0x14161a(_0x2eca2d._0x216465,-_0x2eca2d._0x1df5b1,0x12a,0x11e)]===_0xe33b9(-_0x2eca2d._0x17c5d9,-0x3d,-_0x2eca2d._0x1b62dd,_0x2eca2d._0x41fb8e)&&_0x4f37da[_0xe33b9(_0x2eca2d._0x3aa185,_0x2eca2d._0x2f4352,0x15d,-_0x2eca2d._0x1ee048)][_0xe33b9(0x138,0x203,0x199,0x15b)]&&_0x213268[_0xe33b9(-_0x2eca2d._0x1cec6c,-0x76,-0x15f,-0x16c)]===void 0x0&&(_0x213268[_0x14161a(_0x2eca2d._0x568f38,0x113,-0x16e,-_0x2eca2d._0x5dbd93)]='Bearer\x20'+_0x4f37da[_0x14161a(_0x2eca2d._0x21c8d8,_0x2eca2d._0x47efd2,0x2a0,0x77)][_0xe33b9(_0x2eca2d._0x2523b9,0x203,_0x2eca2d._0x9341df,_0x2eca2d._0x27f128)]),Object[_0x14161a(0x2cb,_0x2eca2d._0x1e681c,0x2b9,_0x2eca2d._0x36a2e0)](_0x213268)[_0xe33b9(0x8e,_0x2eca2d._0x52f02a,-0x5f,_0x2eca2d._0x41ec19)]>0x0?_0x213268:void 0x0;}function getErrorMessage(_0x16c38f){const _0x4f270f={_0x5d2392:0x5f5,_0x55e93e:0x527,_0x484caa:0x66e},_0x29dfa7={_0x4695a1:0x5c,_0x471960:0x154};function _0x6bee2(_0x5e67e2,_0x59d825,_0x2b874b,_0x1b072c){return _0xab9513(_0x1b072c-_0x29dfa7._0x4695a1,_0x59d825-0x13b,_0x2b874b-_0x29dfa7._0x471960,_0x5e67e2);}return _0x16c38f instanceof Error?_0x16c38f[_0x6bee2(0x703,_0x4f270f._0x5d2392,_0x4f270f._0x55e93e,_0x4f270f._0x484caa)]:String(_0x16c38f);}function isUnauthorizedError(_0x4b3bfc){const _0x1c1495={_0x4c8285:0x53b,_0xcb083f:0x3a8,_0x313218:0x3c2,_0x3d99e7:0x1d8,_0x183b66:0x57,_0x474f07:0x12d,_0x43adf8:0x224,_0x5c2b9:0xbb},_0x37d76a={_0x44772c:0x1d3},_0x1376ff={_0x985754:0x14b,_0x2b5cec:0x5b,_0x1fca6a:0x9b};function _0x2818b7(_0x5a0501,_0x49f0e4,_0x27786a,_0x25e7ff){return _0xab9513(_0x25e7ff- -_0x1376ff._0x985754,_0x49f0e4-_0x1376ff._0x2b5cec,_0x27786a-_0x1376ff._0x1fca6a,_0x5a0501);}function _0x3c2aef(_0x2f1e03,_0x52a83c,_0x1ae246,_0x1fa871){return _0xab9513(_0x1ae246- -0x48b,_0x52a83c-_0x37d76a._0x44772c,_0x1ae246-0xbd,_0x52a83c);}return _0x4b3bfc instanceof Error&&_0x4b3bfc[_0x2818b7(_0x1c1495._0x4c8285,0x387,_0x1c1495._0xcb083f,_0x1c1495._0x313218)][_0x3c2aef(0x123,_0x1c1495._0x3d99e7,_0x1c1495._0x183b66,-_0x1c1495._0x474f07)]===_0x3c2aef(0xa,_0x1c1495._0x43adf8,0x128,_0x1c1495._0x5c2b9);}async function connectMcpServer(_0x3f3a3a,_0x12317d,_0x59dcdb){const _0x5083ee={_0x27f0bc:0x3c3,_0x30abe6:0x2c8,_0x14f24d:0x5e4,_0x2eac5a:0x43f,_0x1840bb:0x393,_0x40a52b:0x4ae,_0x10095c:0x427,_0x47fd2c:0x411,_0xe14e4d:0x577,_0x5e6bcf:0x45c,_0x5e60c1:0x474,_0x55a20a:0x3fd,_0x1246c0:0x50d,_0x48a33c:0x4ef,_0x4dc578:0x48c,_0x33e4ef:0x2f3,_0x15eefb:0x3ec,_0x31deb1:0x4ec,_0x45fa82:0x600,_0x32281e:0x2db,_0x570bce:0x48d,_0x5f159f:0x438,_0x199e6e:0x559,_0x35a202:0x34b,_0x33bb88:0x432,_0x4e9706:0x33d,_0x49a5cd:0x41a,_0x5c9acc:0x3ec,_0x4f0cc3:0x41d,_0x1f4cd3:0x3af,_0x3b2bfe:0x3ef,_0x1a59d0:0x39a,_0xcf4d42:0x633,_0x3bcfd8:0x442,_0x356d9c:0x56b,_0x460053:0x4fb,_0x3f7c75:0x4ca,_0x3b6963:0x62d,_0x3ac488:0x69c,_0x4e4c8b:0x62e,_0xbed6b5:0x635,_0x4f22a2:0x58d,_0x8ba014:0x5be,_0x3af86e:0x4d5,_0x485b31:0x312,_0x3c01ee:0x44d,_0x58ddd3:0x691,_0x261482:0x3f3},_0x525a62={_0x4f9d45:0x99,_0x51afd7:0x4d2,_0x11101b:0x1b5},_0x135c67={_0x5c599f:0x726,_0x203b3b:0x7a4,_0x92eba:0x5c8,_0xe446a4:0x48d},_0x4cc428={_0x17a4d6:0x45d,_0xa325a:0x3f4},_0x4bd16f={_0x5ed04f:0x592,_0x2f473:0x46e,_0x4fe3fc:0x5bc,_0xeb4ad8:0x611,_0x28fed4:0x30f,_0x5d69cf:0x445,_0x2cd016:0x5ed,_0x55f8fb:0x426,_0x5aa144:0x421},_0x165c09={_0x3a8ccf:0x75,_0x3cd5b7:0x67};function _0x224e12(_0x2ac0be,_0x160aa5,_0x489f5d,_0x486a89){return _0x32992d(_0x2ac0be-0x1aa,_0x486a89,_0x489f5d-_0x165c09._0x3a8ccf,_0x160aa5- -_0x165c09._0x3cd5b7);}function _0x11c7b4(_0x3eb693,_0xf303b7,_0x26f472,_0x57d4b8){return _0x32992d(_0x3eb693-0xc1,_0x3eb693,_0x26f472-0x6a,_0x57d4b8- -0x11b);}const _0x7de708=new Client({'name':_0x11c7b4(0x417,_0x5083ee._0x27f0bc,_0x5083ee._0x30abe6,0x352),'version':_0x224e12(0x7bb,0x6e1,_0x5083ee._0x14f24d,0x583)});_0x7de708[_0x224e12(0x43d,0x455,_0x5083ee._0x2eac5a,_0x5083ee._0x1840bb)]=_0x2fa501=>{const _0xf56721={_0x3ab72c:0x46},_0x1eabdc={_0x562b4e:0xf,_0xf113ba:0x74,_0x2fadb3:0x4d};function _0x3aa290(_0x360782,_0x4e2ddc,_0x3466bf,_0x6fc4b4){return _0x11c7b4(_0x360782,_0x4e2ddc-_0x1eabdc._0x562b4e,_0x3466bf-_0x1eabdc._0xf113ba,_0x3466bf- -_0x1eabdc._0x2fadb3);}function _0x3c9cae(_0x126446,_0x23212c,_0x43bd9d,_0x39b606){return _0x224e12(_0x126446-_0xf56721._0x3ab72c,_0x39b606- -0x222,_0x43bd9d-0x4b,_0x23212c);}console[_0x3aa290(_0x4bd16f._0x5ed04f,0x3ae,_0x4bd16f._0x2f473,0x3a0)](_0x3aa290(_0x4bd16f._0x4fe3fc,_0x4bd16f._0xeb4ad8,0x5f6,0x47d)+_0x3f3a3a+_0x3c9cae(_0x4bd16f._0x28fed4,0x428,0x59d,_0x4bd16f._0x5d69cf),_0x2fa501[_0x3aa290(_0x4bd16f._0x2cd016,_0x4bd16f._0x55f8fb,0x4af,_0x4bd16f._0x5aa144)]);};if(_0x12317d['transport']===_0x11c7b4(_0x5083ee._0x40a52b,0x3af,0x330,0x456)||_0x12317d[_0x224e12(0x649,0x577,_0x5083ee._0x10095c,_0x5083ee._0x47fd2c)]){if(!_0x12317d[_0x224e12(0x53f,0x577,0x5b4,0x601)])throw new Error(_0x11c7b4(_0x5083ee._0xe14e4d,0x578,_0x5083ee._0x5e6bcf,_0x5083ee._0x5e60c1)+_0x3f3a3a+_0x11c7b4(_0x5083ee._0x55a20a,0x4af,0x554,0x423));if(_0x12317d[_0x11c7b4(_0x5083ee._0x1246c0,_0x5083ee._0x48a33c,0x386,_0x5083ee._0x4dc578)]?.[_0x11c7b4(0x2ac,_0x5083ee._0x33e4ef,0x26d,_0x5083ee._0x15eefb)]===_0x224e12(0x436,_0x5083ee._0x31deb1,_0x5083ee._0x45fa82,0x567)&&!_0x59dcdb?.[_0x11c7b4(_0x5083ee._0x32281e,_0x5083ee._0x570bce,0x537,_0x5083ee._0x5f159f)])throw new Error('MCP\x20server\x20'+_0x3f3a3a+_0x11c7b4(_0x5083ee._0x199e6e,0x4b5,_0x5083ee._0x35a202,_0x5083ee._0x33bb88));const _0x277521=buildMcpHttpHeaders(_0x12317d),_0x335309=_0x12317d[_0x11c7b4(0x542,0x3fe,0x3c4,0x48c)]?.[_0x11c7b4(_0x5083ee._0x4e9706,0x40e,_0x5083ee._0x49a5cd,_0x5083ee._0x5c9acc)]===_0x11c7b4(_0x5083ee._0x4f0cc3,_0x5083ee._0x1f4cd3,_0x5083ee._0x3b2bfe,0x438)&&_0x59dcdb?.['oauth']?createMcpOAuthProvider({'serverName':_0x3f3a3a,'callbackUrl':_0x59dcdb[_0x224e12(0x39a,0x4ec,_0x5083ee._0x1a59d0,_0x5083ee._0xcf4d42)][_0x11c7b4(0x531,0x5da,_0x5083ee._0x3bcfd8,_0x5083ee._0x356d9c)],'storageDir':_0x59dcdb['oauth'][_0x224e12(0x68e,0x5fa,0x6c1,_0x5083ee._0x460053)],'config':_0x12317d[_0x224e12(0x427,0x540,0x613,0x417)],'onRedirect':_0x4d3219=>_0x59dcdb[_0x224e12(0x3e0,0x4ec,0x3c3,0x619)]?.['onRedirect'](_0x3f3a3a,_0x4d3219)}):void 0x0,_0x5fedfb=new StreamableHTTPClientTransport(new URL(_0x12317d['url']),{'authProvider':_0x335309,'requestInit':_0x277521?{'headers':_0x277521}:void 0x0});await _0x7de708['connect'](_0x5fedfb);}else{if(!_0x12317d['command'])throw new Error('MCP\x20server\x20'+_0x3f3a3a+_0x224e12(0x5bb,_0x5083ee._0x3f7c75,0x452,_0x5083ee._0x3b6963));const _0x3564e7=new StdioClientTransport({'command':_0x12317d[_0x224e12(_0x5083ee._0x3ac488,_0x5083ee._0x4e4c8b,0x4c3,_0x5083ee._0xbed6b5)],'args':_0x12317d[_0x11c7b4(0x503,_0x5083ee._0x4f22a2,0x5a3,0x49b)]??[],'env':_0x12317d[_0x224e12(_0x5083ee._0x8ba014,0x665,0x622,0x6f9)],'stderr':_0x224e12(_0x5083ee._0x3af86e,0x42d,_0x5083ee._0x485b31,_0x5083ee._0x3c01ee)});await _0x7de708[_0x224e12(_0x5083ee._0x58ddd3,0x576,0x658,_0x5083ee._0x261482)](_0x3564e7);}return{async 'listTools'(){const _0x336712={_0x5c8e47:0xb};function _0x5adf1c(_0x365b78,_0x239997,_0x4ef803,_0xc5b584){return _0x11c7b4(_0xc5b584,_0x239997-0x5f,_0x4ef803-0x13a,_0x365b78- -_0x336712._0x5c8e47);}return await _0x7de708[_0x5adf1c(0x359,_0x4cc428._0x17a4d6,0x3f6,_0x4cc428._0xa325a)]();},async 'callTool'(_0x1a9023){const _0x334f04={_0x19f72b:0x187,_0x47221c:0x43},_0x335d51={_0x21c6be:0x139};function _0x3b2d3a(_0x14992d,_0x38c074,_0x5b615f,_0x4a0a31){return _0x11c7b4(_0x5b615f,_0x38c074-0x112,_0x5b615f-0x74,_0x14992d-_0x335d51._0x21c6be);}function _0x2c8507(_0x58dba3,_0x3c3158,_0x38da55,_0x473e8e){return _0x11c7b4(_0x3c3158,_0x3c3158-0x19f,_0x38da55-_0x334f04._0x19f72b,_0x38da55- -_0x334f04._0x47221c);}return await _0x7de708[_0x3b2d3a(_0x135c67._0x5c599f,0x5ce,_0x135c67._0x203b3b,0x895)]({'method':_0x3b2d3a(0x4ec,_0x135c67._0x92eba,_0x135c67._0xe446a4,0x5a9),'params':_0x1a9023},CallToolResultSchema);},async 'close'(){function _0x1c72e9(_0x5d7f85,_0x5643c4,_0x3fa678,_0x1dfc31){return _0x224e12(_0x5d7f85-_0x525a62._0x4f9d45,_0x3fa678- -_0x525a62._0x51afd7,_0x3fa678-_0x525a62._0x11101b,_0x5d7f85);}await _0x7de708[_0x1c72e9(0x4d,-0x1c3,-0xbc,-0x134)]();}};}async function createMcpToolsFromServers(_0x56be63){const _0xb33d79={_0x19ac05:0x66a,_0x4f6d55:0x678,_0xe4f73b:0x6b1,_0x45a133:0x4fc,_0x91f205:0x617,_0x2369c7:0x59d,_0x141ea5:0x64d,_0x446746:0x66f,_0xd99b25:0x2d1,_0x460af2:0x27a,_0x1b1238:0x6a,_0x54d472:0x38,_0xbddff:0x108,_0xca5b60:0xc6,_0x5042c1:0x535,_0x5787fc:0x67a,_0x20ffc7:0x6bd,_0x154733:0x7e3,_0x5dacdf:0x7bd,_0x4159dc:0x142,_0x3998d3:0xa0,_0xb05ddb:0x29,_0x30896c:0xa0,_0x44497a:0x770,_0x20f30a:0x5f7,_0x2d1448:0x5dd,_0x2f6552:0x4f9,_0x43df19:0xf3,_0x3f5855:0x5f2,_0x55703f:0xa,_0x3ac789:0x117,_0x47deac:0x1b2,_0x4be493:0x13c,_0xa474c6:0x216,_0x137138:0xff},_0x448a6b={_0x350642:0x36,_0xbfa996:0xb3},_0x43e1a7={_0x20b433:0x615},_0x3902bd={_0x338c5a:0x719,_0x811cab:0x13d,_0xf2bc89:0x69},_0xbbd4ed={_0x2bb6c2:0x94,_0x41fe6b:0x1a0},_0x10fbef=_0x56be63[_0x2833ce(_0xb33d79._0x19ac05,_0xb33d79._0x4f6d55,_0xb33d79._0xe4f73b,_0xb33d79._0x45a133)]??connectMcpServer,_0x194ddd=[],_0x599033={};function _0x2833ce(_0x154a85,_0x4e2282,_0x365d91,_0x28f96d){return _0xab9513(_0x154a85-0x92,_0x4e2282-_0xbbd4ed._0x2bb6c2,_0x365d91-_0xbbd4ed._0x41fe6b,_0x28f96d);}function _0x48c33c(_0x219740,_0x25be7c,_0x75aad4,_0x243f4b){return _0x32992d(_0x219740-0x63,_0x75aad4,_0x75aad4-0x42,_0x25be7c- -0x447);}const _0x53e845={},_0x4506e0=[];for(const [_0x209244,_0x42236e]of Object[_0x2833ce(_0xb33d79._0x91f205,_0xb33d79._0x2369c7,0x690,0x5fc)](_0x56be63[_0x2833ce(0x658,_0xb33d79._0x141ea5,_0xb33d79._0x446746,0x7a1)]??{})){if(_0x42236e[_0x48c33c(0x1bf,_0xb33d79._0xd99b25,_0xb33d79._0x460af2,0x27b)]===![]){_0x599033[_0x209244]={'status':_0x48c33c(-0x8d,0xc3,_0xb33d79._0x1b1238,-0x2b)};continue;}try{const _0x40e60a=await _0x10fbef(_0x209244,_0x42236e,_0x56be63['connection']);_0x194ddd['push'](_0x40e60a);const _0x391ca6=await _0x40e60a[_0x48c33c(-0x60,_0xb33d79._0x54d472,_0xb33d79._0xbddff,_0xb33d79._0xca5b60)]();let _0x28c11d=0x0;const _0x3082cf=[];for(const _0x223cf0 of _0x391ca6[_0x2833ce(0x5ad,_0xb33d79._0x5042c1,_0xb33d79._0x5787fc,_0xb33d79._0x20ffc7)]){const _0x533fb7=_0x56be63[_0x2833ce(0x6ff,_0xb33d79._0x154733,_0xb33d79._0x5dacdf,0x7bb)]?.[_0x209244]?.[_0x223cf0[_0x48c33c(_0xb33d79._0x4159dc,_0xb33d79._0x3998d3,_0xb33d79._0xb05ddb,0x158)]];if(_0x533fb7===![])continue;_0x28c11d+=0x1,_0x3082cf['push']({'name':_0x223cf0[_0x48c33c(0x86,_0xb33d79._0x30896c,0xfa,-0x2f)],..._0x223cf0[_0x2833ce(0x5f7,0x4a5,_0xb33d79._0x44497a,0x722)]!==void 0x0?{'description':_0x223cf0[_0x2833ce(_0xb33d79._0x20f30a,_0xb33d79._0x2d1448,0x75c,_0xb33d79._0x2f6552)]}:{},..._0x223cf0['inputSchema']!==void 0x0?{'inputSchema':_0x223cf0[_0x48c33c(0x265,_0xb33d79._0x43df19,0x247,0x1f5)]}:{}}),_0x4506e0[_0x2833ce(_0xb33d79._0x3f5855,0x587,0x596,0x59d)](createMcpTool({'serverName':resolvePrefix(_0x209244,_0x42236e),'tool':_0x223cf0,'client':_0x40e60a}));}_0x53e845[_0x209244]=_0x3082cf,_0x599033[_0x209244]={'status':_0x48c33c(_0xb33d79._0x55703f,0xb9,0x21,0x12a),'toolCount':_0x28c11d};}catch(_0xe407f5){_0x599033[_0x209244]=isUnauthorizedError(_0xe407f5)?{'status':_0x48c33c(_0xb33d79._0x3ac789,_0xb33d79._0x47deac,_0xb33d79._0x4be493,_0xb33d79._0xa474c6),'message':getErrorMessage(_0xe407f5)}:{'status':_0x48c33c(0x252,0x18f,_0xb33d79._0x137138,0x188),'message':getErrorMessage(_0xe407f5)};}}return{'tools':_0x4506e0,'servers':_0x599033,'serverTools':_0x53e845,async 'close'(){function _0x4a79a(_0x1b3c18,_0x1d9deb,_0x53e138,_0x5a61ab){return _0x2833ce(_0x1b3c18- -_0x3902bd._0x338c5a,_0x1d9deb-_0x3902bd._0x811cab,_0x53e138-_0x3902bd._0xf2bc89,_0x5a61ab);}function _0x305474(_0x1f9ed3,_0x171bc0,_0x23c6ee,_0x38d464){return _0x2833ce(_0x171bc0- -_0x43e1a7._0x20b433,_0x171bc0-0x111,_0x23c6ee-0xdf,_0x38d464);}await Promise[_0x4a79a(-0x119,-_0x448a6b._0x350642,-0x96,-0x183)](_0x194ddd[_0x4a79a(-0x90,0x82,_0x448a6b._0xbfa996,-0x122)](_0x5c037e=>_0x5c037e[_0x4a79a(-0x20f,-0x2e6,-0x310,-0x317)]()));}};}function getCommand(_0x3a6e00){const _0x1ec99d={_0x801858:0x639,_0x3c226d:0xae,_0x1891ac:0x1c4,_0x21bf45:0xb6,_0x47ba4a:0x5f4,_0xc13492:0x5d1,_0x3b047d:0xc3},_0x2ff688={_0x777ce6:0x611};function _0x578533(_0x1b7f75,_0x368e72,_0x1e931a,_0x44ddc8){return _0x32992d(_0x1b7f75-0x165,_0x1e931a,_0x1e931a-0x18d,_0x1b7f75- -_0x2ff688._0x777ce6);}if(_0x3a6e00&&typeof _0x3a6e00===_0x4b271a(0x692,_0x1ec99d._0x801858,0x7f5,0x721)&&!Array[_0x578533(_0x1ec99d._0x3c226d,0xc,_0x1ec99d._0x1891ac,-_0x1ec99d._0x21bf45)](_0x3a6e00)&&typeof _0x3a6e00[_0x4b271a(_0x1ec99d._0x47ba4a,0x634,_0x1ec99d._0xc13492,0x67c)]==='string')return _0x3a6e00[_0x578533(0x84,-0xa0,_0x1ec99d._0x3b047d,0x28)];function _0x4b271a(_0x10bd32,_0x47c159,_0xea9cdc,_0x5ec58d){return _0xab9513(_0x5ec58d- -0x14,_0x47c159-0x35,_0xea9cdc-0x112,_0xea9cdc);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x32992d(0x709,0x656,0x65e,0x6f6),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0xab9513(0x6ff,0x827,0x62a,0x6a5),'src/agent/agent.ts','src/formats/message-format.ts','src/examples/demo.ts',_0x32992d(0x3ea,0x4ac,0x5f6,0x559),_0x32992d(0x626,0x62d,0x735,0x659),_0x32992d(0x55f,0x57e,0x566,0x4a7),_0xab9513(0x75e,0x81f,0x7eb,0x746),_0xab9513(0x60c,0x60d,0x6f6,0x748),_0x32992d(0x5bb,0x763,0x711,0x5f6),_0x32992d(0x514,0x4b4,0x687,0x5f2),_0xab9513(0x72c,0x7a6,0x731,0x62c),_0xab9513(0x765,0x61c,0x705,0x7bb),_0x32992d(0x58f,0x4cc,0x39b,0x4dd)]['join']('\x0a'),SHELL_EXEC_TOOL={'name':_0xab9513(0x751,0x6b1,0x860,0x8a7),'description':_0xab9513(0x55e,0x6db,0x46f,0x60d),'input_schema':{'type':_0x32992d(0x8b8,0x724,0x7f3,0x73a),'properties':{'command':{'type':_0x32992d(0x667,0x74b,0x661,0x67e)}},'required':[_0x32992d(0x6cd,0x67a,0x5f4,0x695)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x537c5b){return{'output':_0x537c5b,'structured':{'value':_0x537c5b}};}function createUnknownToolResult(_0x2b8f3e){const _0x4e8115={_0x34242e:0x4dc,_0x44c63e:0x1bc,_0x3db5b5:0x2a0,_0x3f20aa:0x101,_0x276852:0x10e},_0x53b722={_0x467328:0x38d};function _0x3f1499(_0x52c9fe,_0xfb1985,_0x415d5c,_0x2041f0){return _0xab9513(_0x52c9fe- -_0x53b722._0x467328,_0xfb1985-0xa5,_0x415d5c-0x169,_0x2041f0);}function _0x40c2e7(_0x22bd3a,_0x35085b,_0x1bd4f0,_0x3ad837){return _0xab9513(_0x35085b-0x45,_0x35085b-0x137,_0x1bd4f0-0x174,_0x3ad837);}return{'callId':_0x2b8f3e['id'],'toolName':_0x2b8f3e[_0x40c2e7(0x4e5,0x527,_0x4e8115._0x34242e,0x64d)],'status':'error','output':_0x3f1499(_0x4e8115._0x44c63e,_0x4e8115._0x3db5b5,0x189,_0x4e8115._0x3f20aa)+_0x2b8f3e[_0x3f1499(0x155,-0x3,0x21c,_0x4e8115._0x276852)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x174e0b,_0x33c599){const _0x2b5779={_0x23db38:0x447,_0x660707:0x321,_0x446fe1:0x4bf,_0x15c436:0x38f,_0x23fde6:0x4f2},_0x3bac98={_0x2f648d:0x13d};function _0x2bf73a(_0x49388f,_0x46a305,_0xf588ec,_0x327cf8){return _0x32992d(_0x49388f-0xde,_0x327cf8,_0xf588ec-0x12,_0xf588ec- -0xa0);}function _0x5e198a(_0x46ce29,_0x24dfed,_0x550377,_0x2c3dc2){return _0x32992d(_0x46ce29-0xe7,_0x2c3dc2,_0x550377-_0x3bac98._0x2f648d,_0x24dfed- -0x26d);}return{'callId':_0x174e0b['id'],'toolName':_0x174e0b[_0x2bf73a(0x322,0x568,_0x2b5779._0x23db38,_0x2b5779._0x660707)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x174e0b[_0x2bf73a(_0x2b5779._0x446fe1,_0x2b5779._0x15c436,0x515,_0x2b5779._0x23fde6)]),'exitCode':0x0},'chunks':[_0x33c599],'meta':createMeta()};}function createMockToolRuntime(){const _0x595e19={_0x130015:0x142,_0x3cb5b4:0xe6,_0x308a70:0x7e},_0x26449c={_0x414706:0x5b,_0x171c82:0xf7,_0x282332:0x214},_0x4442c3={_0x267db5:0x3e2},_0x82717d={_0x3bfc7c:0x25d},_0xb75099=async(_0x1cee90,_0xe1c07e)=>{function _0x3102d7(_0x427c1e,_0x4475c0,_0x377229,_0x47ef50){return _0x4161(_0x427c1e- -_0x82717d._0x3bfc7c,_0x377229);}if(_0x1cee90[_0x3102d7(-_0x26449c._0x414706,_0x26449c._0x171c82,-0x138,-0x1d0)]!==_0x3102d7(_0x26449c._0x282332,0x1be,0x261,0x160))return createUnknownToolResult(_0x1cee90);const _0x1354bf=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0xa5c4a6(_0x546f65,_0x6dd859,_0x50d35c,_0x1b54ea){return _0x4161(_0x50d35c- -_0x4442c3._0x267db5,_0x6dd859);}return createSuccessToolResult(_0x1cee90,_0x1354bf);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x3e67fa,_0x582135){function _0x310495(_0x16d1ac,_0x445b7f,_0x247e76,_0x2b9220){return _0x4161(_0x247e76- -0x210,_0x16d1ac);}return await Promise[_0x310495(_0x595e19._0x130015,_0x595e19._0x3cb5b4,_0x595e19._0x308a70,0x1c7)](_0x3e67fa['map'](async _0x1288fc=>{return await _0xb75099(_0x1288fc,_0x582135);}));},async 'execute'(_0x569766,_0x4b4ece){return await _0xb75099(_0x569766,_0x4b4ece);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x2bebdd={_0x22c180:0x4e6,_0x494525:0x3f5,_0x4dd844:0x51e};function _0x53ca25(_0x35dd5a,_0x4c4c53,_0x565940,_0x40e801){return _0xab9513(_0x4c4c53- -0x324,_0x4c4c53-0x45,_0x565940-0x14d,_0x40e801);}return delegatedRunCounter+=0x1,_0x53ca25(_0x2bebdd._0x22c180,_0x2bebdd._0x494525,_0x2bebdd._0x4dd844,0x2ef)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x5cbaef,_0x30b478){const _0x21c749={_0x4caa1a:0x4b6,_0x4d400a:0x360,_0x3a524a:0x34d},_0x405f69={_0x1a08de:0x16b,_0x5ad415:0x1cd};function _0x214cea(_0x40ca57,_0x2eba00,_0x2eff56,_0x4625fb){return _0xab9513(_0x40ca57- -_0x405f69._0x1a08de,_0x2eba00-0x3,_0x2eff56-_0x405f69._0x5ad415,_0x4625fb);}return typeof _0x5cbaef===_0x214cea(_0x21c749._0x4caa1a,_0x21c749._0x4d400a,_0x21c749._0x3a524a,0x5e4)?await _0x5cbaef(_0x30b478):_0x5cbaef;}function getDelegatedAgentDefinition(_0x17b1ab,_0x55e609){const _0x4201c2={_0x2878df:0x197},_0x57e0be={_0x4e41a1:0x157,_0x535be1:0x347};function _0x277a64(_0x31adc2,_0x5d565f,_0x230ac6,_0x1a89f6){return _0x32992d(_0x31adc2-0x52,_0x1a89f6,_0x230ac6-_0x57e0be._0x4e41a1,_0x230ac6- -_0x57e0be._0x535be1);}return _0x17b1ab[_0x277a64(0x189,_0x4201c2._0x2878df,0x277,0x34b)]?.[_0x55e609];}function createRunSummary(_0x4e089d){const _0x26d20c={_0x5eb5e2:0x181,_0x2e05d9:0x32,_0x35cd59:0x2fc,_0x25267e:0x531,_0x586b52:0x45f,_0x1a408d:0x42,_0x4c4dca:0x172,_0x1320fe:0xd9,_0x41cb67:0x2da,_0x1cb260:0x324,_0x5e2c7a:0x5,_0x3a3532:0x12d,_0x6ae3be:0x1d,_0x2ecb11:0xb1,_0x31bdd0:0x39a,_0x67935e:0x40c,_0x44f702:0x2bd,_0x4b38a5:0x589,_0x1b2445:0x5b0,_0x298898:0x5,_0x4a4c62:0x25a,_0x32a782:0x107},_0x6b14a0={_0x1618ab:0x1a4},_0x254eb5={_0x34d62b:0xaa};function _0x542d4f(_0x2fb4a6,_0x33aa32,_0xd86b88,_0x401afe){return _0xab9513(_0x401afe- -0x5a6,_0x33aa32-_0x254eb5._0x34d62b,_0xd86b88-0xef,_0x33aa32);}function _0x3bd108(_0x15889e,_0x315684,_0x166f59,_0x1c874f){return _0xab9513(_0x15889e- -_0x6b14a0._0x1618ab,_0x315684-0x2c,_0x166f59-0xf1,_0x1c874f);}return{'runId':_0x4e089d['runId'],'agentId':_0x4e089d[_0x542d4f(-_0x26d20c._0x5eb5e2,-0x16a,0xaf,-_0x26d20c._0x2e05d9)],'sessionId':_0x4e089d[_0x3bd108(0x3ab,_0x26d20c._0x35cd59,_0x26d20c._0x25267e,_0x26d20c._0x586b52)],'status':_0x4e089d[_0x542d4f(-_0x26d20c._0x1a408d,-0x2d,_0x26d20c._0x4c4dca,_0x26d20c._0x1320fe)],'parentSessionId':_0x4e089d[_0x3bd108(0x2c0,_0x26d20c._0x41cb67,0x38f,_0x26d20c._0x1cb260)],..._0x4e089d[_0x542d4f(-0xa8,0x2d,-0x13e,_0x26d20c._0x5e2c7a)]!==void 0x0?{'originToolCallId':_0x4e089d['originToolCallId']}:{},..._0x4e089d[_0x542d4f(-_0x26d20c._0x3a3532,-0x20,-_0x26d20c._0x6ae3be,-_0x26d20c._0x2ecb11)]!==void 0x0?{'errorMessage':_0x4e089d[_0x3bd108(0x351,_0x26d20c._0x31bdd0,_0x26d20c._0x67935e,_0x26d20c._0x44f702)]}:{},..._0x4e089d['result']?.[_0x3bd108(0x437,_0x26d20c._0x4b38a5,_0x26d20c._0x1b2445,0x4a5)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x4e089d[_0x542d4f(_0x26d20c._0x298898,-_0x26d20c._0x4a4c62,-0x193,-0xf1)][_0x542d4f(0x10b,-0x2,-_0x26d20c._0x32a782,0x35)])}:{}};}function createRunSummaryOutput(_0x36b526,_0x50484e){const _0x5dc26a={_0x557ebb:0x2,_0x1d1658:0x208,_0x482b3c:0x8c,_0x1d8341:0x40,_0x39c3f2:0x2ba,_0x3444f4:0x21c,_0x13d2aa:0x6c,_0x4785d7:0x17f,_0x579248:0x30},_0xa5b35a={_0x38d3a8:0x3a},_0x1f0445=createRunSummary(_0x36b526);function _0x513963(_0x36c0b8,_0xe7b106,_0x3d91e1,_0x34b201){return _0x32992d(_0x36c0b8-0x5b,_0x34b201,_0x3d91e1-_0xa5b35a._0x38d3a8,_0xe7b106- -0x48a);}function _0x527aca(_0x5ad036,_0x33537b,_0x292ad7,_0x257114){return _0xab9513(_0x292ad7- -0x45d,_0x33537b-0xb,_0x292ad7-0x6d,_0x33537b);}const _0x216adb=_0x1f0445[_0x527aca(-_0x5dc26a._0x557ebb,_0x5dc26a._0x1d1658,_0x5dc26a._0x482b3c,_0x5dc26a._0x1d8341)];return createToolOutput(typeof _0x216adb===_0x527aca(_0x5dc26a._0x39c3f2,0xac,_0x5dc26a._0x3444f4,0x398)&&_0x216adb[_0x527aca(_0x5dc26a._0x13d2aa,0x217,_0x5dc26a._0x4785d7,_0x5dc26a._0x579248)]>0x0?_0x216adb:_0x50484e,_0x1f0445);}function getRunTerminalErrorMessage(_0x23e21a){const _0x1fb7af={_0x1c8128:0x147,_0x33d781:0x27d,_0x58bfa5:0xa7,_0x83a2d1:0x24,_0x18126b:0x280,_0x1c1c33:0x3a5,_0x310412:0x2f4,_0x348c8d:0x18b,_0x4a729a:0x2c5,_0x3e6658:0xd6,_0x3e91d9:0x2f7,_0x1b0883:0x197,_0x1f8992:0x246,_0x37d910:0x1cd},_0x2a1054={_0x2fa11f:0x44b,_0x17c699:0xe9,_0x5eb24f:0x89},_0x1dc283={_0x54506a:0x3d2},_0x43ac81=_0x23e21a?.[_0x232c3a(0xf9,_0x1fb7af._0x1c8128,0x39,_0x1fb7af._0x33d781)][_0x2aeb40(_0x1fb7af._0x58bfa5,-0xca,-_0x1fb7af._0x83a2d1,-0xc3)]['at'](-0x1);if(_0x43ac81?.[_0x232c3a(_0x1fb7af._0x18126b,0x2ad,_0x1fb7af._0x1c1c33,0x199)]===_0x2aeb40(0x186,_0x1fb7af._0x310412,0x56,0x96)&&_0x43ac81[_0x2aeb40(_0x1fb7af._0x348c8d,0xc,0x253,0x2d4)][_0x232c3a(0x1b1,0x300,0x2ef,_0x1fb7af._0x4a729a)]()[_0x2aeb40(0x191,_0x1fb7af._0x3e6658,_0x1fb7af._0x3e91d9,0xdd)]>0x0)return _0x43ac81[_0x232c3a(_0x1fb7af._0x1b0883,0x204,_0x1fb7af._0x1f8992,_0x1fb7af._0x37d910)];function _0x232c3a(_0x31ffb9,_0x48bd62,_0x4a47b3,_0x569a80){return _0xab9513(_0x48bd62- -_0x1dc283._0x54506a,_0x48bd62-0x101,_0x4a47b3-0x12f,_0x4a47b3);}function _0x2aeb40(_0x259d22,_0x416804,_0x413aea,_0x1bdbca){return _0xab9513(_0x259d22- -_0x2a1054._0x2fa11f,_0x416804-_0x2a1054._0x17c699,_0x413aea-_0x2a1054._0x5eb24f,_0x413aea);}return void 0x0;}function formatAbortedRunMessage(_0x28bfa1,_0x46ddca){const _0x5004a8={_0x153e4:0x56b,_0x2fa957:0x3ee,_0x48a46f:0x681,_0x2600e9:0x383,_0x1029de:0x512,_0x24bb3b:0x510,_0xb5bfb2:0x5aa,_0x3ddd5d:0x5b6},_0x23f750={_0x7e1097:0x1b1},_0x538b98={_0x4b38f2:0x195};function _0x302543(_0xb7b895,_0x17fcc5,_0xd88e77,_0x4c9cfd){return _0xab9513(_0x17fcc5-0x97,_0x17fcc5-_0x538b98._0x4b38f2,_0xd88e77-0x39,_0x4c9cfd);}const _0x12bf4=_0x302543(0x4a8,0x61b,0x6c9,_0x5004a8._0x153e4)+_0x28bfa1+'\x20was\x20aborted.';if(!_0x46ddca||_0x46ddca[_0x28fc5c(_0x5004a8._0x2fa957,_0x5004a8._0x48a46f,0x4c6,0x56c)]()[_0x28fc5c(_0x5004a8._0x2600e9,_0x5004a8._0x1029de,_0x5004a8._0x24bb3b,0x476)]===0x0||_0x46ddca===_0x12bf4)return _0x12bf4;function _0x28fc5c(_0x567c6d,_0x30f292,_0x1e6727,_0x2a0445){return _0xab9513(_0x2a0445- -0x166,_0x30f292-0x177,_0x1e6727-_0x23f750._0x7e1097,_0x30f292);}return _0x12bf4+_0x302543(0x7d9,0x6f6,_0x5004a8._0xb5bfb2,_0x5004a8._0x3ddd5d)+_0x46ddca;}function createAssignTaskTool(_0x2a0dc6){const _0x346336={_0x494af3:0x51c,_0x7f9958:0x4f4,_0x51cd75:0x4ab,_0x126e0a:0x535,_0xf22722:0x54a,_0x11a055:0x370,_0x40b2b1:0x1e3,_0x472f3f:0x50f},_0x216564={_0x17c197:0x3ad,_0x270ee4:0x3d8,_0x5668ef:0x39b,_0x5765a7:0x352,_0x3444c8:0x3a4,_0x303bac:0x267,_0x39f657:0x33b,_0x2a3df3:0x476,_0x568a02:0x1a0,_0x2ee57b:0x26e,_0x4cc6cf:0x1dd,_0x4532c4:0x32b,_0x195ec9:0x34b,_0x30e42c:0x26c,_0x2ccafe:0x393,_0x1b64d5:0x2c9,_0x19d623:0x328,_0x5aecea:0x410,_0x5d0214:0x326,_0x524843:0x1af,_0x45d783:0x3f0,_0x273775:0x452,_0xb83a9f:0x1cb,_0x5eea86:0x1f7,_0x376612:0x14a,_0x5092aa:0x1ce,_0x50bb32:0x226,_0x5821c9:0x33d,_0x9a7855:0x17b,_0x4e4fae:0x34e,_0x16e705:0x178,_0x394682:0x481,_0x40ddd5:0x36a,_0x439838:0x557,_0x328024:0x4b4,_0x331531:0x4b2,_0x434db3:0x603,_0x231763:0x37d,_0x2bf69c:0x2c5,_0x4084ad:0x1dc,_0x4a83f9:0x2f6,_0x310dc6:0x29d,_0x3366f2:0x27a,_0x390bfb:0x2ad,_0x463bf3:0x23c,_0x1e148f:0x4da,_0x5d2a68:0x479,_0x16133e:0x40b,_0x211513:0x4f8,_0x47a1ad:0x61e,_0x58fb8c:0x2d0,_0x313763:0x4dd,_0x2170df:0x3dd,_0x5a0f39:0x3e9,_0x2eb723:0xe8,_0x5165ab:0x20f,_0x38fa91:0x3ca,_0x240bf6:0x433,_0x399eb7:0x4b9,_0x22afc6:0x401,_0x3e37e9:0x1f7,_0x141ec6:0x349,_0x241bce:0x32e,_0x698311:0x407,_0x1ee68d:0x20d},_0xb072b1={_0x1657c0:0x142,_0x136e40:0x13b,_0x3485ca:0x159},_0x36f0d1={_0x4cfd5e:0x1cb,_0x5c21a8:0x387},_0x5c2ef1={_0x70edcc:0x115};function _0x598889(_0x57ccc3,_0x410972,_0x37796f,_0x2a765f){return _0x32992d(_0x57ccc3-_0x5c2ef1._0x70edcc,_0x410972,_0x37796f-0x1a9,_0x57ccc3- -0x1d3);}function _0x399595(_0x4808d3,_0x46c35d,_0x57fbe3,_0x259449){return _0x32992d(_0x4808d3-0x5,_0x4808d3,_0x57fbe3-_0x36f0d1._0x4cfd5e,_0x259449- -_0x36f0d1._0x5c21a8);}return defineTool({'name':_0x598889(_0x346336._0x494af3,0x618,0x51c,_0x346336._0x7f9958),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion','inputSchema':{'type':'object','properties':{'agentId':{'type':'string'},'description':{'type':_0x598889(_0x346336._0x51cd75,0x5b1,0x434,_0x346336._0x126e0a)},'nickname':{'type':_0x598889(_0x346336._0x51cd75,_0x346336._0xf22722,0x444,0x523)},'task':{'type':'string'}},'required':[_0x598889(0x3a6,0x23c,0x226,_0x346336._0x11a055),_0x399595(0x24c,0x1b0,0x1f6,_0x346336._0x40b2b1),_0x598889(_0x346336._0x472f3f,0x395,0x67a,0x5ee)]},async *'execute'(_0x3c0352,_0x302d44){const _0x3971a1={_0x225afa:0x1e9,_0x3223da:0x65,_0x1787d5:0x25,_0xccad1e:0x14e},_0x3032ae={_0x55a7d0:0x1e7,_0x296118:0x16d,_0x5dc0e1:0x30f},_0x33a996={_0x2bef0b:0x1f7,_0x19860a:0x49},_0x282d03=createDelegatedRunId();function _0x3bb8ce(_0x555a41,_0x448b06,_0x50e604,_0x25bc48){return _0x399595(_0x50e604,_0x448b06-0x38,_0x50e604-0x8d,_0x448b06-0xf0);}function _0x32e190(_0xd76b34,_0x48d2a3,_0x30a98c,_0xe1bec3){return _0x399595(_0xe1bec3,_0x48d2a3-_0xb072b1._0x1657c0,_0x30a98c-_0xb072b1._0x136e40,_0x30a98c-_0xb072b1._0x3485ca);}const _0x425e1f={'agentId':_0x3c0352[_0x3bb8ce(0x263,0x2e2,_0x216564._0x17c197,_0x216564._0x270ee4)],'parentSessionId':_0x302d44['sessionId'],'runId':_0x282d03,..._0x302d44[_0x32e190(_0x216564._0x5668ef,_0x216564._0x5765a7,_0x216564._0x3444c8,_0x216564._0x303bac)]!==void 0x0?{'toolCallId':_0x302d44[_0x3bb8ce(0x3c9,_0x216564._0x39f657,_0x216564._0x2a3df3,0x318)]}:{}},_0x58a1b4=getDelegatedAgentDefinition(_0x2a0dc6,_0x3c0352[_0x3bb8ce(_0x216564._0x568a02,0x2e2,0x1a3,0x23e)]);if(!_0x58a1b4)throw new ToolExecutionError(_0x3bb8ce(0x179,_0x216564._0x2ee57b,0x14f,_0x216564._0x4cc6cf)+_0x3c0352[_0x32e190(0x479,_0x216564._0x4532c4,_0x216564._0x195ec9,0x454)],{'agentId':_0x3c0352[_0x32e190(_0x216564._0x30e42c,_0x216564._0x2ccafe,_0x216564._0x195ec9,0x3c8)]});const _0x159e44=new Agent(await resolveDelegatedAgentOptions(_0x58a1b4,_0x425e1f));let _0x537b7f={'runId':_0x282d03,'agentId':_0x3c0352[_0x3bb8ce(_0x216564._0x270ee4,0x2e2,_0x216564._0x1b64d5,_0x216564._0x19d623)],'sessionId':_0x159e44[_0x32e190(0x373,_0x216564._0x5aecea,_0x216564._0x5d0214,_0x216564._0x524843)],'status':'running','parentSessionId':_0x302d44[_0x3bb8ce(0x200,0x2bd,0x3f6,0x3bb)],..._0x302d44['toolCallId']!==void 0x0?{'originToolCallId':_0x302d44[_0x32e190(0x4dd,0x3bc,0x3a4,0x39e)]}:{}};const _0x4c4d09=new AbortController(),_0x54981a=addAbortListener(_0x302d44[_0x3bb8ce(_0x216564._0x45d783,0x48f,_0x216564._0x273775,0x3e0)],()=>{function _0x57f6d9(_0x33cffb,_0x51d0e3,_0x8fd682,_0x5b0ec5){return _0x3bb8ce(_0x33cffb-0x3f,_0x51d0e3- -_0x33a996._0x2bef0b,_0x8fd682,_0x5b0ec5-_0x33a996._0x19860a);}function _0x29944b(_0x47ea9d,_0x40dbdb,_0x13c22e,_0x596c96){return _0x32e190(_0x47ea9d-_0x3032ae._0x55a7d0,_0x40dbdb-_0x3032ae._0x296118,_0x13c22e- -_0x3032ae._0x5dc0e1,_0x40dbdb);}_0x4c4d09['abort'](_0x302d44[_0x29944b(0x300,0xb3,_0x3971a1._0x225afa,0x1a5)]?.[_0x29944b(0x7d,_0x3971a1._0x3223da,_0x3971a1._0x1787d5,-_0x3971a1._0xccad1e)]);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x537b7f[_0x3bb8ce(_0x216564._0xb83a9f,_0x216564._0x5eea86,0x354,0x327)]+'.',{'runId':_0x537b7f[_0x3bb8ce(_0x216564._0x376612,_0x216564._0x5eea86,0x148,_0x216564._0x5092aa)],'agentId':_0x537b7f[_0x3bb8ce(_0x216564._0x50bb32,0x2e2,_0x216564._0x5821c9,_0x216564._0x9a7855)],'sessionId':_0x537b7f[_0x3bb8ce(_0x216564._0x4e4fae,0x2bd,0x2f7,_0x216564._0x16e705)],'status':_0x537b7f[_0x32e190(_0x216564._0x394682,_0x216564._0x40ddd5,0x456,0x2f9)]});try{const _0x2438e6=await _0x159e44[_0x3bb8ce(0x37e,0x465,0x4b6,0x58c)](_0x3c0352[_0x32e190(0x55d,_0x216564._0x439838,_0x216564._0x328024,_0x216564._0x331531)],{'signal':_0x4c4d09[_0x32e190(0x43b,_0x216564._0x434db3,0x4f8,_0x216564._0x231763)]});_0x537b7f={..._0x537b7f,'status':_0x2438e6['status'],'result':_0x2438e6};if(_0x2438e6['status']!==_0x32e190(_0x216564._0x568a02,_0x216564._0x2bf69c,0x252,_0x216564._0x4084ad)){const _0x2c064a=getRunTerminalErrorMessage(_0x2438e6),_0x137b91=formatAbortedRunMessage(_0x537b7f[_0x32e190(0x273,0x2d1,0x260,0x3c2)],_0x2c064a);throw new ToolExecutionError(_0x137b91,{...createRunSummary(_0x537b7f),'aborted':!![],'errorMessage':_0x137b91});}return createRunSummaryOutput(_0x537b7f,_0x32e190(0x2a1,_0x216564._0x4a83f9,0x35b,_0x216564._0x310dc6)+_0x537b7f[_0x3bb8ce(0xa8,0x1f7,_0x216564._0x3366f2,_0x216564._0x390bfb)]+_0x32e190(0x291,0x31e,_0x216564._0x463bf3,0x16b));}catch(_0x43c961){if(_0x43c961 instanceof ToolExecutionError)throw _0x43c961;if(isAbortError(_0x43c961)||_0x4c4d09['signal'][_0x3bb8ce(0x304,0x361,0x350,_0x216564._0x1e148f)]||_0x302d44[_0x32e190(_0x216564._0x5d2a68,_0x216564._0x16133e,_0x216564._0x211513,_0x216564._0x47a1ad)][_0x3bb8ce(_0x216564._0x58fb8c,0x361,_0x216564._0x313763,_0x216564._0x2170df)]){const _0x4d04e3=getRunTerminalErrorMessage(_0x537b7f['result'])??(_0x43c961 instanceof Error?_0x43c961[_0x32e190(0x4b4,0x26d,_0x216564._0x5a0f39,0x3c9)]:String(_0x43c961)),_0x4cd711=formatAbortedRunMessage(_0x537b7f[_0x32e190(_0x216564._0x2eb723,_0x216564._0x5165ab,0x260,0x336)],_0x4d04e3);_0x537b7f={..._0x537b7f,'status':_0x32e190(_0x216564._0x331531,0x467,_0x216564._0x38fa91,0x420),'errorMessage':_0x4cd711};throw new ToolExecutionError(_0x4cd711,{...createRunSummary(_0x537b7f),'aborted':!![],'errorMessage':_0x4cd711});}const _0x40ab43=getRunTerminalErrorMessage(_0x537b7f['result'])??(_0x43c961 instanceof Error?_0x43c961[_0x32e190(_0x216564._0x38fa91,_0x216564._0x240bf6,0x3e9,_0x216564._0x399eb7)]:String(_0x43c961))??_0x32e190(0x39d,_0x216564._0x22afc6,0x35b,0x23c)+_0x537b7f[_0x3bb8ce(0xcc,_0x216564._0x3e37e9,0x374,0xec)]+_0x3bb8ce(_0x216564._0x141ec6,_0x216564._0x241bce,0x2c4,_0x216564._0x698311);_0x537b7f={..._0x537b7f,'status':_0x3bb8ce(0x182,0x1ce,0xc4,_0x216564._0x1ee68d),'errorMessage':_0x40ab43};throw new ToolExecutionError(_0x40ab43,{...createRunSummary(_0x537b7f),'errorMessage':_0x40ab43});}finally{_0x54981a();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4e1cec){return[createAssignTaskTool(_0x4e1cec)];}import*as _0x46fdc1 from'path';function buildDescription2(_0x4ee287){const _0x34f5ec={_0x5720be:0x171,_0x42d792:0xd3,_0x423225:0x739,_0x41e6f7:0x4b8,_0x404eda:0x57,_0x523ff2:0x21,_0xacd67d:0x3ad,_0x4e152b:0x2c5,_0x19ab69:0x220,_0x1bf9e0:0x1b,_0xea1c5e:0xc6,_0xfb2e77:0x16e},_0x61e37={_0x136ef4:0x10f,_0x3e1fbd:0x1b9};function _0x116d2d(_0x16122f,_0x44a1ee,_0x529948,_0x458a42){return _0xab9513(_0x458a42- -_0x61e37._0x136ef4,_0x44a1ee-0x88,_0x529948-_0x61e37._0x3e1fbd,_0x44a1ee);}if(_0x4ee287[_0x412ef2(_0x34f5ec._0x5720be,0x72,_0x34f5ec._0x42d792,0x212)]===0x0)return _0x116d2d(_0x34f5ec._0x423225,_0x34f5ec._0x41e6f7,0x705,0x607);function _0x412ef2(_0x3d740d,_0x4272d8,_0x32964f,_0x42567f){return _0xab9513(_0x3d740d- -0x46b,_0x4272d8-0x7e,_0x32964f-0x1aa,_0x42567f);}const _0x40cf68=[_0x116d2d(0x4c2,0x265,0x4de,0x3c5),_0x412ef2(_0x34f5ec._0x404eda,0x94,0x108,-_0x34f5ec._0x523ff2),_0x116d2d(_0x34f5ec._0xacd67d,0x37e,0x58f,0x479),_0x412ef2(_0x34f5ec._0x4e152b,_0x34f5ec._0x19ab69,0x26e,0x26b),..._0x4ee287[_0x412ef2(0x18c,_0x34f5ec._0x1bf9e0,0x2b8,0x2ec)](_0x8a79c9=>'-\x20'+_0x8a79c9[_0x116d2d(0x4df,0x53e,0x314,0x3d3)]+':\x20'+_0x8a79c9[_0x116d2d(0x465,0x413,0x4ba,0x456)])];return _0x40cf68[_0x412ef2(0x1a,_0x34f5ec._0xea1c5e,-0x8f,_0x34f5ec._0xfb2e77)]('\x0a');}function createLoadSkillTool(_0x260634){const _0x467bb7={_0x445463:0x272,_0x1fbeaf:0x3af,_0x5c137c:0x502,_0x3bd50c:0x28,_0x466580:0x111,_0x5014e5:0x2c,_0x3f5e1e:0xae,_0x29e110:0x3c,_0x31a2c2:0x3ed,_0x32b162:0x40c,_0x8dd6ce:0x3ff},_0x13662c={_0x4a975f:0x311,_0x25bc4f:0x1d6,_0x231b2d:0x38c,_0x24d70c:0x452,_0x528848:0x280,_0x1a42e4:0x329,_0x5e073b:0x51a,_0x3e2624:0x68a,_0x2727cb:0x56e,_0x1c4e31:0x3bc,_0x44d93f:0x375,_0x13dbb5:0x4ef,_0x22fdfc:0x3f5,_0x430577:0x407,_0x2b00af:0x3db,_0x411ce4:0x212,_0x844a3b:0x23f,_0x23b762:0x3e1,_0xecd56:0x2e7,_0x5a80eb:0x5a7,_0x489e5a:0x492,_0x2eb68b:0x414,_0x1d469e:0x4ac,_0xb71c59:0x392,_0x39d294:0x40d,_0x1321cd:0x34a,_0xdc8b48:0x4e1,_0x2728b5:0x436,_0x184717:0x3eb,_0xcc7edb:0x36e,_0x2d6bc6:0x3c2,_0x5d5cc4:0x36e,_0x55d8b0:0x5de,_0x594b3b:0x4fc,_0x30a8b5:0x4c0,_0x53daaf:0x477,_0x107a66:0x52b,_0x2dbdce:0x456,_0x79b648:0x2d5,_0x2b6177:0x448,_0x58817e:0x3cb,_0xc46330:0x42b},_0x3f2a92={_0x13f494:0x145,_0x1f4fee:0xc4},_0x2349b2={_0x1cd7ed:0xf5,_0x3e5e2d:0xab};function _0x3be829(_0x37af4a,_0x1138e9,_0x19d69c,_0x38742b){return _0xab9513(_0x1138e9- -_0x2349b2._0x1cd7ed,_0x1138e9-_0x2349b2._0x3e5e2d,_0x19d69c-0x8b,_0x19d69c);}function _0x114d25(_0x3dece0,_0x515286,_0x5d5699,_0x42e478){return _0xab9513(_0x3dece0- -0x43a,_0x515286-_0x3f2a92._0x13f494,_0x5d5699-_0x3f2a92._0x1f4fee,_0x515286);}const _0x124234=new Map(_0x260634[_0x3be829(_0x467bb7._0x445463,_0x467bb7._0x1fbeaf,0x277,0x4c7)][_0x3be829(0x3db,_0x467bb7._0x5c137c,0x3eb,0x645)](_0x41e727=>[_0x41e727[_0x114d25(0xa8,0x50,0xbf,0xe6)],_0x41e727])),_0x214e1c=buildDescription2(_0x260634[_0x114d25(0x6a,-_0x467bb7._0x3bd50c,_0x467bb7._0x466580,-_0x467bb7._0x5014e5)]);return defineTool({'name':_0x114d25(_0x467bb7._0x3f5e1e,0x14e,_0x467bb7._0x29e110,0x1c3),'description':_0x214e1c,'inputSchema':{'type':_0x3be829(0x716,0x640,0x6cd,0x4f1),'properties':{'name':{'type':'string'}},'required':[_0x3be829(0x2bc,_0x467bb7._0x31a2c2,_0x467bb7._0x32b162,_0x467bb7._0x8dd6ce)]},async *'execute'(_0x48f79f){const _0xe5b4e1={_0x55c056:0x1f0,_0x2965d3:0x72},_0x36654={_0x50d2e6:0x12b,_0x56c900:0x9d},_0x56b938=_0x124234[_0x3b88cc(0x303,_0x13662c._0x4a975f,_0x13662c._0x25bc4f,0x30d)](_0x48f79f[_0x3b88cc(_0x13662c._0x231b2d,_0x13662c._0x24d70c,_0x13662c._0x528848,_0x13662c._0x1a42e4)]);if(!_0x56b938){const _0x2d0da4=Array[_0x13aa75(0x505,_0x13662c._0x5e073b,_0x13662c._0x3e2624,_0x13662c._0x2727cb)](_0x124234['keys']())[_0x3b88cc(_0x13662c._0x1c4e31,0x299,0x284,0x2cc)](',\x20');throw new ToolExecutionError(_0x13aa75(_0x13662c._0x44d93f,0x32e,_0x13662c._0x13dbb5,_0x13662c._0x22fdfc)+_0x48f79f['name']+_0x3b88cc(0x477,_0x13662c._0x430577,0x33d,0x499)+_0x2d0da4,{'name':_0x48f79f[_0x3b88cc(_0x13662c._0x2b00af,0x2bc,_0x13662c._0x411ce4,0x329)]});}const _0x202280=await _0x260634['loadSkill'](_0x56b938),_0x1eef08=_0x56b938['source'][_0x13aa75(0x20f,_0x13662c._0x844a3b,_0x13662c._0x23b762,_0x13662c._0xecd56)]??_0x46fdc1[_0x3b88cc(0x167,0x336,0x158,0x2de)](_0x56b938[_0x13aa75(_0x13662c._0x5a80eb,0x41c,_0x13662c._0x489e5a,0x470)][_0x13aa75(_0x13662c._0x2eb68b,_0x13662c._0x1d469e,_0x13662c._0xb71c59,_0x13662c._0x39d294)]),_0x4559af=[_0x3b88cc(_0x13662c._0x1321cd,_0x13662c._0xdc8b48,0x561,_0x13662c._0x2728b5)+_0x202280[_0x13aa75(_0x13662c._0x184717,_0x13662c._0xcc7edb,_0x13662c._0x2d6bc6,_0x13662c._0x5d5cc4)],'',_0x202280[_0x13aa75(_0x13662c._0x55d8b0,_0x13662c._0x594b3b,_0x13662c._0x30a8b5,0x579)],'',_0x13aa75(0x362,_0x13662c._0x53daaf,0x4f7,0x3c9),_0x13aa75(0x299,0x385,0x36a,0x3e5)+_0x56b938[_0x3b88cc(_0x13662c._0x107a66,0x390,0x339,0x42b)][_0x13aa75(0x341,0x358,0x4de,_0x13662c._0x39d294)],'Base\x20directory:\x20'+_0x1eef08][_0x13aa75(0x368,0x254,0x288,0x311)]('\x0a');function _0x13aa75(_0x361f6b,_0x4ac693,_0x45b6ce,_0x12be1b){return _0x114d25(_0x12be1b-0x2c6,_0x45b6ce,_0x45b6ce-_0x36654._0x50d2e6,_0x12be1b-_0x36654._0x56c900);}function _0x3b88cc(_0x10d3bb,_0x19bcee,_0x48d5b3,_0x4a84a0){return _0x114d25(_0x4a84a0-0x281,_0x48d5b3,_0x48d5b3-_0xe5b4e1._0x55c056,_0x4a84a0-_0xe5b4e1._0x2965d3);}return yield createToolOutput(_0x4559af,{'id':_0x202280['id'],'name':_0x202280[_0x3b88cc(0x355,_0x13662c._0x2dbdce,_0x13662c._0x79b648,0x329)],'path':_0x56b938[_0x3b88cc(_0x13662c._0x2b6177,_0x13662c._0x58817e,0x2dc,_0x13662c._0xc46330)]['path'],'baseDirectory':_0x1eef08}),void 0x0;}});}var TODO_STATUSES=new Set(['pending',_0x32992d(0x48a,0x5f0,0x422,0x545),_0xab9513(0x47b,0x406,0x519,0x4f4)]),TODO_PRIORITIES=new Set([_0xab9513(0x637,0x4cb,0x768,0x4d4),_0x32992d(0x52a,0x54a,0x3da,0x513),'low']);function isTodoStatus(_0x48c412){const _0x599bae={_0x2610b5:0xb8,_0x396ad2:0x99,_0x531d10:0x146,_0xaf17ee:0x22f},_0x113356={_0x472b48:0x4d},_0x3408a4={_0xb4f654:0xc6,_0x265323:0x92,_0x5b6e76:0x55b};function _0x42cf96(_0x228d4d,_0x5eecc7,_0x474143,_0x41250d){return _0x32992d(_0x228d4d-_0x3408a4._0xb4f654,_0x228d4d,_0x474143-_0x3408a4._0x265323,_0x41250d- -_0x3408a4._0x5b6e76);}function _0x29707c(_0x49b9e2,_0x2d6517,_0x1c4a3e,_0x3b1aab){return _0xab9513(_0x2d6517- -0x5f0,_0x2d6517-0x1ed,_0x1c4a3e-_0x113356._0x472b48,_0x1c4a3e);}return typeof _0x48c412===_0x29707c(-_0x599bae._0x2610b5,0x89,0x119,-0xd7)&&TODO_STATUSES[_0x42cf96(_0x599bae._0x396ad2,_0x599bae._0x531d10,_0x599bae._0xaf17ee,0x1af)](_0x48c412);}function isTodoPriority(_0x121dc4){const _0x1993a2={_0x22c63e:0x48e,_0x3acb1b:0x4a6,_0x1373a1:0x37b,_0x417087:0x34d,_0x52d140:0x407,_0x48a481:0x56c},_0x2ec79a={_0x949e6e:0x174,_0x2e4c06:0xf2},_0x5e2fc5={_0x133dcd:0x1d0};function _0xe2a659(_0x435409,_0x28a282,_0x3a0247,_0xb81a2b){return _0xab9513(_0x3a0247- -0x2fe,_0x28a282-0x124,_0x3a0247-_0x5e2fc5._0x133dcd,_0x28a282);}function _0x39cdaa(_0x411bb5,_0x58af1b,_0x207d33,_0x2c2ca4){return _0xab9513(_0x58af1b- -0x62,_0x58af1b-_0x2ec79a._0x949e6e,_0x207d33-_0x2ec79a._0x2e4c06,_0x2c2ca4);}return typeof _0x121dc4===_0xe2a659(_0x1993a2._0x22c63e,_0x1993a2._0x3acb1b,_0x1993a2._0x1373a1,0x2e2)&&TODO_PRIORITIES[_0xe2a659(0x29e,_0x1993a2._0x417087,_0x1993a2._0x52d140,_0x1993a2._0x48a481)](_0x121dc4);}var TodoStore=class{[_0xab9513(0x596,0x4ca,0x4dc,0x43f)]=new Map();[_0x32992d(0x46e,0x69c,0x42f,0x5a1)](_0x339d11){const _0x24757a={_0x4b1d08:0x2e3,_0x155005:0x3ac,_0x2d4ffa:0x439,_0x579f67:0x2ce,_0xc2e6f2:0x2f2,_0x36f62c:0x3eb},_0x1a8fc4={_0x379932:0x186,_0x4f2bfa:0x1c1,_0x378672:0x1d9},_0x2ec89a={_0x3e4bd9:0x108,_0x115d8c:0x1bb,_0x5464ee:0x6e};function _0x427fdd(_0x4e13e6,_0x4e023a,_0x3e3039,_0x46d05a){return _0x32992d(_0x4e13e6-_0x2ec89a._0x3e4bd9,_0x4e13e6,_0x3e3039-_0x2ec89a._0x115d8c,_0x46d05a-_0x2ec89a._0x5464ee);}function _0x98da84(_0x25d062,_0x1e8739,_0x22eb8a,_0x28b645){return _0x32992d(_0x25d062-_0x1a8fc4._0x379932,_0x25d062,_0x22eb8a-_0x1a8fc4._0x4f2bfa,_0x22eb8a- -_0x1a8fc4._0x378672);}return this[_0x98da84(0x309,_0x24757a._0x4b1d08,0x3c2,_0x24757a._0x155005)][_0x98da84(_0x24757a._0x2d4ffa,_0x24757a._0x579f67,_0x24757a._0xc2e6f2,_0x24757a._0x36f62c)](_0x339d11)??[];}[_0x32992d(0x67f,0x6f6,0x4ed,0x642)](_0x437e4d,_0x436c99){const _0x27f120={_0x4d76fc:0x48},_0x4232b7={_0x575f2a:0x191,_0x4af8fa:0x77,_0x286148:0x4f9};function _0x4bffde(_0x53565e,_0x3a4b46,_0x342f3a,_0x8e09bf){return _0x32992d(_0x53565e-_0x4232b7._0x575f2a,_0x53565e,_0x342f3a-_0x4232b7._0x4af8fa,_0x342f3a- -_0x4232b7._0x286148);}this['todosBySession'][_0x4bffde(0x274,_0x27f120._0x4d76fc,0x1b5,0x2c0)](_0x437e4d,_0x436c99);}[_0x32992d(0x35a,0x405,0x4a4,0x47e)](_0x4c0ebc){const _0x543a0b={_0x2999c9:0x95,_0x52fc58:0x81,_0x1413a6:0x1ee,_0x517793:0x359,_0x331a07:0xaf,_0x2d6b0a:0x82,_0x4c6137:0xd1,_0x3dc2d8:0xd,_0xb8ccf3:0x263,_0x158a05:0x240,_0x44b515:0xff,_0x229eb3:0x23e,_0x3fdebe:0x2,_0x26b600:0x160,_0x4d3cf0:0xe0},_0x3bc585={_0xf34473:0x1f3,_0x34ed8d:0x560},_0x5db5c1={_0x1f52e4:0x84};function _0x32e538(_0x39936b,_0x415ce9,_0x3527d3,_0x2bbcb5){return _0xab9513(_0x415ce9- -0x326,_0x415ce9-0x110,_0x3527d3-_0x5db5c1._0x1f52e4,_0x2bbcb5);}const _0x24ce0f=this[_0x32e538(0x370,0x276,0x12f,0x2b1)](_0x4c0ebc),_0x2aad4f={'total':_0x24ce0f[_0x1a8efb(0x10,-_0x543a0b._0x2999c9,0x1a8,_0x543a0b._0x52fc58)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x4eafc6 of _0x24ce0f){if(_0x4eafc6[_0x32e538(_0x543a0b._0x1413a6,_0x543a0b._0x517793,0x2ed,0x2b7)]===_0x1a8efb(-_0x543a0b._0x331a07,-0x1cc,-_0x543a0b._0x2d6b0a,-_0x543a0b._0x4c6137))_0x2aad4f[_0x32e538(0x2ca,0x164,-_0x543a0b._0x3dc2d8,_0x543a0b._0xb8ccf3)]+=0x1;else{if(_0x4eafc6[_0x1a8efb(0x239,_0x543a0b._0x158a05,0x12f,0x124)]===_0x1a8efb(0x6b,0x54,_0x543a0b._0x44b515,-0x1b))_0x2aad4f[_0x32e538(0x375,_0x543a0b._0x229eb3,0x3a5,0x11b)]+=0x1;else _0x2aad4f[_0x1a8efb(-0x5c,_0x543a0b._0x3fdebe,-_0x543a0b._0x26b600,-_0x543a0b._0x4d3cf0)]+=0x1;}}function _0x1a8efb(_0x525d95,_0x492298,_0x204141,_0x13968b){return _0x32992d(_0x525d95-_0x3bc585._0xf34473,_0x204141,_0x204141-0x1f3,_0x13968b- -_0x3bc585._0x34ed8d);}return _0x2aad4f;}};function validateTodos(_0x1a670c){const _0x5206da={_0x1d45bf:0x5e4,_0x1adf88:0x506,_0xdeaba2:0x535,_0x2374c1:0x4f6,_0x5b3ed6:0x543,_0x2a0919:0x703,_0x27a26f:0x663,_0x5e54cd:0x626,_0x55669c:0x3a9,_0x47dc71:0x631,_0x2b9814:0x6eb,_0x9e96a0:0x675,_0x58d9d2:0x4db,_0x3f1d74:0x2fb,_0x1afe39:0x495,_0x27d2de:0x578,_0x18b236:0x47d,_0x4a0ed2:0x4c7,_0x51fce2:0x5a3,_0x424ee6:0x698,_0x225520:0x5ae,_0x5d0781:0x5fc,_0x7ae210:0x492,_0xd6ccfb:0x4b0,_0x5320b3:0x3e2,_0x265151:0x29a,_0x151563:0x3ad,_0x5ed89a:0x499,_0x8bce85:0x5e7,_0x2a2923:0x5b7,_0x30946f:0x4b4,_0x1772e9:0x44a,_0x111751:0x52c,_0xfea8ca:0x415,_0x3e9720:0x431,_0x3a545b:0x4df,_0x5a9a73:0x455,_0x20eb12:0x48c,_0x3a2f44:0x52f,_0x2f630f:0x64f,_0x4c6179:0x457,_0x4fed3e:0x31d,_0x28d257:0x480,_0x4355b1:0x4ed,_0xf170a:0x407,_0x5ad734:0x461,_0x17e170:0x342,_0x724297:0x385,_0x445feb:0x37f,_0x44bb4a:0x3e9,_0x7c0a1f:0x48f,_0x409302:0x411,_0x144bca:0x551,_0x58dbb0:0x653,_0x5a8e7a:0x560,_0x5dd7f0:0x4f1,_0x1537f5:0x759,_0x3cc7e9:0x79d,_0x4481f9:0x501,_0x59cd5a:0x500,_0x25d3ae:0x4e0,_0x2f4b35:0x61c,_0x4f8852:0x577,_0x13592f:0x350,_0x4570fe:0x354,_0x46642d:0x32a,_0x3efeb7:0x59d,_0x589bf5:0x58c,_0x274b6c:0x3d6,_0x441a78:0x4aa},_0x5795db={_0x39ca9a:0xfe},_0x191b3f={_0x11adb1:0xd6,_0xa539db:0x1df};if(!Array[_0x5c584f(0x655,_0x5206da._0x1d45bf,0x55c,0x58d)](_0x1a670c['todos'])||_0x1a670c[_0x1ac5e1(0x6a6,0x5e4,0x5f2,0x577)][_0x5c584f(0x4e7,_0x5206da._0x1adf88,_0x5206da._0xdeaba2,0x497)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x5c584f(_0x5206da._0x2374c1,0x526,0x66f,_0x5206da._0x5b3ed6)});for(let _0x117814=0x0;_0x117814<_0x1a670c[_0x5c584f(_0x5206da._0x2a0919,0x59f,_0x5206da._0x27a26f,_0x5206da._0x5e54cd)][_0x5c584f(_0x5206da._0x55669c,0x506,_0x5206da._0x47dc71,0x52c)];_0x117814+=0x1){const _0x5c26e9=_0x1a670c['todos'][_0x117814];if(!_0x5c26e9||typeof _0x5c26e9!==_0x5c584f(0x5ad,0x65f,_0x5206da._0x2b9814,_0x5206da._0x9e96a0))throw new ToolExecutionError(_0x1ac5e1(0x438,_0x5206da._0x58d9d2,_0x5206da._0x3f1d74,0x385)+(_0x117814+0x1)+_0x5c584f(0x485,_0x5206da._0x1afe39,0x342,_0x5206da._0x27d2de),{'error':_0x1ac5e1(0x458,_0x5206da._0x18b236,_0x5206da._0x4a0ed2,0x53d)});if(typeof _0x5c26e9['id']!==_0x5c584f(0x6a2,_0x5206da._0x51fce2,_0x5206da._0x424ee6,0x683)||_0x5c26e9['id'][_0x5c584f(_0x5206da._0x225520,_0x5206da._0x5d0781,_0x5206da._0x7ae210,0x5a6)]()[_0x5c584f(_0x5206da._0xd6ccfb,0x506,_0x5206da._0x5320b3,0x524)]===0x0)throw new ToolExecutionError(_0x5c584f(_0x5206da._0x265151,_0x5206da._0x151563,_0x5206da._0x5ed89a,0x41b)+(_0x117814+0x1)+_0x5c584f(_0x5206da._0x8bce85,_0x5206da._0x2a2923,_0x5206da._0x30946f,_0x5206da._0x1772e9),{'error':_0x5c584f(0x469,0x4d1,_0x5206da._0x111751,0x633)});if(typeof _0x5c26e9[_0x5c584f(0x376,0x431,0x4d2,0x2f0)]!==_0x1ac5e1(0x636,_0x5206da._0xfea8ca,0x6b5,0x57b)||_0x5c26e9[_0x5c584f(0x495,_0x5206da._0x3e9720,_0x5206da._0x3a545b,_0x5206da._0x5a9a73)][_0x5c584f(_0x5206da._0x20eb12,0x5fc,0x4dd,_0x5206da._0x3a2f44)]()[_0x5c584f(_0x5206da._0x2f630f,0x506,_0x5206da._0x4c6179,0x684)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x117814+0x1)+_0x1ac5e1(_0x5206da._0x4fed3e,0x55f,0x5db,_0x5206da._0x28d257),{'error':_0x5c584f(0x5a4,0x4d4,_0x5206da._0x4355b1,0x466)});if(!isTodoStatus(_0x5c26e9[_0x1ac5e1(0x499,_0x5206da._0xf170a,_0x5206da._0x5ad734,0x581)]))throw new ToolExecutionError(_0x1ac5e1(0x429,0x27d,_0x5206da._0x17e170,_0x5206da._0x724297)+(_0x117814+0x1)+_0x1ac5e1(_0x5206da._0x445feb,0x60e,_0x5206da._0x44bb4a,_0x5206da._0x7c0a1f),{'error':_0x5c584f(0x2c2,0x3dc,_0x5206da._0x409302,0x4ae)});if(!isTodoPriority(_0x5c26e9[_0x1ac5e1(_0x5206da._0x144bca,0x54e,_0x5206da._0x58dbb0,_0x5206da._0x5a8e7a)]))throw new ToolExecutionError(_0x5c584f(_0x5206da._0x5dd7f0,0x3ad,0x390,0x48c)+(_0x117814+0x1)+_0x1ac5e1(0x5cf,_0x5206da._0x1537f5,_0x5206da._0x3cc7e9,0x627),{'error':_0x1ac5e1(0x4ae,0x624,0x429,_0x5206da._0x4481f9)});}function _0x5c584f(_0x13a398,_0x124ca9,_0x1f2ef3,_0x2efa83){return _0x32992d(_0x13a398-_0x191b3f._0x11adb1,_0x2efa83,_0x1f2ef3-_0x191b3f._0xa539db,_0x124ca9- -0xdb);}const _0x91c653=_0x1a670c[_0x1ac5e1(_0x5206da._0x59cd5a,_0x5206da._0x25d3ae,_0x5206da._0x2f4b35,_0x5206da._0x4f8852)][_0x5c584f(0x586,0x521,0x5ad,0x63f)](_0x314986=>_0x314986['id']);function _0x1ac5e1(_0x4602c1,_0x3985c5,_0x56e627,_0x27f8d5){return _0xab9513(_0x27f8d5- -_0x5795db._0x39ca9a,_0x3985c5-0xf9,_0x56e627-0xd3,_0x3985c5);}if(new Set(_0x91c653)[_0x1ac5e1(0x525,_0x5206da._0x13592f,_0x5206da._0x4570fe,0x3cd)]!==_0x91c653[_0x1ac5e1(0x394,0x5b1,0x4a4,0x4de)])throw new ToolExecutionError(_0x5c584f(_0x5206da._0x46642d,0x4aa,_0x5206da._0x3efeb7,_0x5206da._0x589bf5),{'error':_0x1ac5e1(0x304,_0x5206da._0x274b6c,_0x5206da._0x441a78,0x47a)});}function createStatsProgress(_0x187a14){const _0x19274a={_0x465f1c:0x4de,_0x57f591:0x641,_0x3d47ac:0x667,_0x2f634d:0x58c,_0x513b0f:0x345,_0x2f4607:0x3db,_0x16ddb3:0x43f,_0x2902c3:0x595},_0x2fae67={_0x4f77cb:0xa,_0x872ea:0x106};function _0x29f016(_0x4bae27,_0x31cda9,_0x4278c9,_0x405dd0){return _0xab9513(_0x405dd0- -0x3c,_0x31cda9-0x14d,_0x4278c9-0x1f,_0x4278c9);}function _0x56682a(_0x109cf7,_0x236a3d,_0x105564,_0xb13d4c){return _0x32992d(_0x109cf7-_0x2fae67._0x4f77cb,_0x236a3d,_0x105564-_0x2fae67._0x872ea,_0x105564- -0x185);}return _0x187a14[_0x56682a(_0x19274a._0x465f1c,0x4b2,0x582,_0x19274a._0x57f591)]>0x0?Math[_0x56682a(_0x19274a._0x3d47ac,_0x19274a._0x2f634d,0x597,0x6aa)](_0x187a14[_0x29f016(0x3f2,_0x19274a._0x513b0f,_0x19274a._0x2f4607,_0x19274a._0x16ddb3)]/_0x187a14[_0x29f016(0x7d6,_0x19274a._0x2902c3,0x588,0x6c6)]*0x64)+'%':'0%';}function createReminderItems(_0x130e4f){const _0x35774d={_0x2c6255:0x15a,_0x52a1a1:0xd6,_0x48fda3:0x476};function _0x45026a(_0x4944d0,_0x3a8dd2,_0x421788,_0x224156){return _0x32992d(_0x4944d0-_0x35774d._0x2c6255,_0x4944d0,_0x421788-_0x35774d._0x52a1a1,_0x421788- -_0x35774d._0x48fda3);}return _0x130e4f['map'](_0x53f99e=>({'content':_0x53f99e[_0x45026a(-0x53,-0x7c,0x96,0x118)],'status':_0x53f99e['status'],'id':_0x53f99e['id']}));}function createStructuredResult(_0x1fc399,_0x1abb64,_0x1969a9,_0x4dab6a){const _0x573466={_0x43ca6a:0x46a,_0x33470b:0x63b,_0x2b4a5a:0x5f1,_0x2f746c:0x3da},_0x1f1432={_0x566f44:0x80,_0x498f87:0x1b8},_0x5038d9={_0x3409f1:0xcc,_0x44cf4a:0x2c5};function _0x1edbf9(_0x372658,_0x3f498f,_0x38b78d,_0x191413){return _0x32992d(_0x372658-0x107,_0x191413,_0x38b78d-_0x5038d9._0x3409f1,_0x372658- -_0x5038d9._0x44cf4a);}function _0x23a760(_0x3ebda2,_0xe82458,_0x1eba59,_0x2b13f2){return _0xab9513(_0x1eba59- -0xd5,_0xe82458-_0x1f1432._0x566f44,_0x1eba59-_0x1f1432._0x498f87,_0x3ebda2);}return{'allCompleted':_0x4dab6a,'items':_0x1abb64[_0x23a760(_0x573466._0x43ca6a,0x4ce,0x522,_0x573466._0x33470b)](_0x14c086=>({'id':_0x14c086['id'],'content':_0x14c086['content'],'status':_0x14c086[_0x23a760(0x502,0x53a,0x5aa,0x5fe)],'priority':_0x14c086[_0x1edbf9(0x39e,0x306,0x3b0,0x408)],'createdAt':_0x14c086[_0x23a760(0x40a,0x5f1,0x4bc,0x3bf)]})),'progress':createStatsProgress(_0x1969a9),'recentChanges':!![],'sessionId':_0x1fc399,'stats':_0x1969a9,'todosWritten':_0x1abb64[_0x23a760(0x449,_0x573466._0x2b4a5a,0x507,_0x573466._0x2f746c)]};}function createOutputText(_0x3b59ba,_0x2c81bd){const _0xe05703={_0x3b763d:0xb7,_0x739deb:0x216,_0xa785e6:0x1f6,_0x38f440:0x11,_0x46a4d5:0x17e,_0x478d9b:0x22a,_0xf47fc:0x1b6,_0x454d06:0x2db},_0x12db92={_0x4d5a20:0x308,_0x1745f7:0xc1},_0x13fe99={_0x1652ca:0x1be,_0xf7bd43:0x18e};function _0x40337a(_0x4cc9e5,_0x224c8c,_0x3d62fe,_0xd35a3d){return _0x32992d(_0x4cc9e5-_0x13fe99._0x1652ca,_0xd35a3d,_0x3d62fe-_0x13fe99._0xf7bd43,_0x224c8c- -0x4ed);}const _0x1626a3=JSON[_0x2b557f(_0xe05703._0x3b763d,0x1fe,_0xe05703._0x739deb,_0xe05703._0xa785e6)](createReminderItems(_0x3b59ba));if(_0x2c81bd)return _0x2b557f(0x235,_0xe05703._0x38f440,_0xe05703._0x46a4d5,0x187)+_0x3b59ba['length']+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x1626a3+_0x40337a(_0xe05703._0x478d9b,_0xe05703._0xf47fc,0xfc,0x1f9);function _0x2b557f(_0x14e8b1,_0x129ab6,_0x4b5986,_0x239b68){return _0xab9513(_0x4b5986- -_0x12db92._0x4d5a20,_0x129ab6-_0x12db92._0x1745f7,_0x4b5986-0x1aa,_0x129ab6);}return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x1626a3+_0x40337a(_0xe05703._0x454d06,_0xe05703._0xf47fc,0x25a,0x2a1);}function createTodoWriteTool(_0x2c1d83=new TodoStore()){const _0x5c853a={_0x58fb35:0xe2,_0x26dcf2:0x18c,_0x35b4d1:0x9f,_0x58ba94:0xbf,_0x6feea8:0x213,_0x461138:0x10e,_0x5be440:0x417,_0x453d00:0x320,_0x15eb88:0x3b2,_0x2bd2b1:0x4db,_0x5d4f80:0x42a,_0x1bda4d:0xb9,_0x45ecee:0x158,_0x15f888:0x21f,_0x232c76:0xd8,_0x562d1a:0xa4,_0x1809b2:0x18e,_0x1ebc28:0x48,_0x1a02dc:0x592},_0x2d892e={_0x1be659:0x15a,_0x2eab5a:0x132,_0x400dae:0x659,_0x32fbe5:0x1a1,_0x2e5d4f:0x32f,_0x309e2f:0x1e1,_0x47c386:0x362,_0x1435d5:0x2ac,_0x238514:0x344,_0x1515d3:0x1c9,_0x579e8b:0x5f4,_0x299c78:0x641},_0x4f4038={_0x4340f9:0x5d5},_0x6e3c7d={_0x41dc86:0x25f};function _0x27f85a(_0x37ae60,_0x309843,_0x5c07d8,_0x29f7d2){return _0x32992d(_0x37ae60-0x178,_0x5c07d8,_0x5c07d8-0x1b5,_0x309843- -_0x6e3c7d._0x41dc86);}function _0x277d0b(_0x1af0cc,_0x558a05,_0x2ba895,_0x45c7bf){return _0xab9513(_0x45c7bf- -_0x4f4038._0x4340f9,_0x558a05-0xda,_0x2ba895-0x1d6,_0x558a05);}return defineTool({'name':_0x277d0b(-_0x5c853a._0x58fb35,-_0x5c853a._0x26dcf2,_0x5c853a._0x35b4d1,-_0x5c853a._0x58ba94),'description':_0x277d0b(0x72,-0xdf,-0x69,0xa1),'inputSchema':{'type':_0x277d0b(_0x5c853a._0x6feea8,0x64,_0x5c853a._0x461138,0x160),'properties':{'todos':{'type':_0x27f85a(0x41a,0x44c,_0x5c853a._0x5be440,_0x5c853a._0x453d00),'items':{'type':_0x27f85a(_0x5c853a._0x15eb88,_0x5c853a._0x2bd2b1,0x3b7,_0x5c853a._0x5d4f80),'properties':{'content':{'type':'string'},'status':{'type':_0x277d0b(_0x5c853a._0x1bda4d,_0x5c853a._0x45ecee,_0x5c853a._0x15f888,0xa4)},'priority':{'type':_0x277d0b(0x8f,-0x9d,-_0x5c853a._0x232c76,_0x5c853a._0x562d1a)},'id':{'type':'string'},'createdAt':{'type':'string'}},'required':[_0x27f85a(0x2b1,0x2ad,_0x5c853a._0x1809b2,0x306),'status',_0x277d0b(_0x5c853a._0x1ebc28,0x89,0xcd,0x89),'id']}}},'required':[_0x27f85a(_0x5c853a._0x1a02dc,0x41b,0x3e6,0x55d)]},async *'execute'(_0x9ff9e7,_0x16d629){const _0x49a111=_0x9ff9e7;function _0x52e4f0(_0x4d8a14,_0x3481c9,_0x4e85a2,_0x14f8d8){return _0x27f85a(_0x4d8a14-0x6a,_0x4e85a2- -0x3e,_0x4d8a14,_0x14f8d8-0x183);}validateTodos(_0x49a111);function _0x319466(_0x5be513,_0xc05bcc,_0x2a7937,_0x122a36){return _0x27f85a(_0x5be513-0x17f,_0x2a7937-0x18a,_0xc05bcc,_0x122a36-0x14);}const _0x234059=_0x16d629[_0x319466(0x349,0x42d,0x47f,0x343)]||_0x52e4f0(_0x2d892e._0x1be659,0x2ef,0x216,_0x2d892e._0x2eab5a),_0x116065=new Date()[_0x319466(0x614,0x462,0x4c0,0x512)](),_0x35d555=_0x49a111[_0x319466(_0x2d892e._0x400dae,0x4b5,0x5a5,0x6bb)]['map'](_0x3c047b=>({'id':_0x3c047b['id'],'content':_0x3c047b[_0x319466(0x47d,0x336,0x437,0x344)],'status':_0x3c047b[_0x319466(0x6a7,0x702,0x5af,0x5b2)],'priority':_0x3c047b[_0x319466(0x715,0x5d8,0x58e,0x659)],'sessionId':_0x234059,'createdAt':_0x3c047b[_0x52e4f0(0x303,0x470,0x2f9,0x3a9)]||_0x116065,'updatedAt':_0x116065}));_0x2c1d83[_0x52e4f0(0x23d,0x415,0x3a5,0x2c0)](_0x234059,_0x35d555);const _0x5e36d4=_0x2c1d83[_0x52e4f0(_0x2d892e._0x32fbe5,_0x2d892e._0x2e5d4f,_0x2d892e._0x309e2f,_0x2d892e._0x47c386)](_0x234059),_0x509394=_0x35d555[_0x52e4f0(0x340,_0x2d892e._0x1435d5,_0x2d892e._0x238514,_0x2d892e._0x1515d3)]>0x0&&_0x35d555[_0x319466(_0x2d892e._0x579e8b,0x6f4,0x629,_0x2d892e._0x299c78)](_0x46556a=>_0x46556a['status']===_0x319466(0x27b,0x526,0x3ab,0x4c2));return createToolOutput(createOutputText(_0x35d555,_0x509394),createStructuredResult(_0x234059,_0x35d555,_0x5e36d4,_0x509394));}});}import{mkdir as _0xd4f966,writeFile as _0x2063f5}from'fs/promises';import*as _0x2b5f0e from'path';function sanitizeFileName(_0x4ccf9b){const _0x29217d={_0x3e9396:0xf},_0x5a9127={_0x5308a3:0x120};function _0x3e7c17(_0x21077d,_0x1edbb5,_0x563cf1,_0x1407ec){return _0x32992d(_0x21077d-0x62,_0x1407ec,_0x563cf1-_0x5a9127._0x5308a3,_0x1edbb5- -0x422);}return _0x4ccf9b[_0x3e7c17(0x240,0xdf,_0x29217d._0x3e9396,0x5e)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x1ff827,_0x51bc8c){const _0x199193={_0x4a8d3f:0x39d,_0x569bbb:0x2a9,_0x2b6e8e:0x4d5,_0x4306ee:0x506,_0x4f4247:0x3a5,_0x38f8f1:0x4c8,_0x421a66:0x2e0,_0x469598:0x3d5,_0x4dc8da:0x4c3,_0x4ded28:0x3ce,_0x269efd:0x54a,_0x5767ea:0x56c,_0xe6581f:0x3fd,_0x90d09:0x51a,_0x29cf3f:0x3d0,_0x55a392:0x5bd,_0x3bfb21:0x437,_0x4d0c73:0x218,_0x5ba521:0x367,_0x2d0b49:0x461,_0x5017e5:0x460,_0x5634db:0x46f,_0x47ed45:0x2fb,_0x2d6af9:0x57b,_0x4f4780:0x5c9,_0x353317:0x2d4,_0x2096c0:0x389,_0x1b56eb:0x253,_0x4a8549:0x270,_0x52879b:0x28f,_0x36e619:0x284,_0x56323f:0x11c,_0x1b6146:0x39d,_0x3362cb:0x51e,_0x3a0f02:0x3e9,_0x3111b0:0x3ef,_0x295f11:0x245,_0x18d9bb:0x390,_0x391faf:0x298,_0x20fa4d:0x45b,_0x526263:0x219,_0x5be531:0x467,_0x1b401b:0x39d,_0x48ce61:0x43c,_0x3cb267:0x29a,_0x2d6dfc:0x34c,_0x3991e3:0x3be,_0x4b39ac:0x1ac,_0x5c8bdd:0x2c0,_0x496e7e:0x311,_0xda2138:0x2da,_0x4d1995:0x370,_0x3f1514:0x1d2,_0xcae068:0x49d,_0x1d0d99:0x35f,_0x339607:0x5e7,_0x9eebd:0x5e3,_0x40c070:0x461,_0x5ce381:0x5c7,_0x4478ee:0x64d,_0x59a41e:0x621},_0x376320={_0x56eb62:0x94,_0x312e6e:0x206},_0x5797ab={_0x2ccf91:0x160,_0x1ee7b5:0x153,_0x7a56af:0x23e},{maxBytes:_0x12e1ec,sessionDir:_0x1cb746}=_0x51bc8c;if(!_0x1ff827[_0x3df7c9(0x39d,0x256,0x354,0x4fb)]||Buffer['byteLength'](_0x1ff827[_0x3df7c9(_0x199193._0x4a8d3f,_0x199193._0x569bbb,_0x199193._0x2b6e8e,0x2c3)],'utf8')<=_0x12e1ec)return _0x1ff827;const _0x1ab62b=Buffer[_0x3df7c9(_0x199193._0x4306ee,0x60c,_0x199193._0x4f4247,_0x199193._0x38f8f1)](_0x1ff827[_0xce6839(0x2a3,_0x199193._0x421a66,_0x199193._0x469598,_0x199193._0x4dc8da)],_0xce6839(0x686,_0x199193._0x4ded28,_0x199193._0x269efd,_0x199193._0x5767ea));if(!_0x1cb746){const _0x52a2c4=_0x1ff827[_0x3df7c9(0x39d,_0x199193._0xe6581f,0x37f,0x3e0)][_0xce6839(_0x199193._0x90d09,0x285,0x3e5,0x2eb)](0x0,_0x12e1ec);return{..._0x1ff827,'output':_0x52a2c4+(_0xce6839(0x4d9,0x273,0x386,0x4bf)+_0x12e1ec+_0xce6839(_0x199193._0x29cf3f,_0x199193._0x55a392,_0x199193._0x3bfb21,0x408)+_0x1ab62b+_0x3df7c9(0x39e,_0x199193._0x4d0c73,0x309,_0x199193._0x5ba521)),'meta':{..._0x1ff827['meta'],'truncated':!![],'originalBytes':_0x1ab62b,'transforms':[..._0x1ff827[_0xce6839(0x3c9,0x39f,_0x199193._0x2d0b49,_0x199193._0x5017e5)]['transforms'],_0x3df7c9(_0x199193._0x5634db,0x38f,_0x199193._0x47ed45,0x578)]}};}const _0x25a309=_0x1ff827[_0x3df7c9(0x4d8,_0x199193._0x2d6af9,0x54c,_0x199193._0x4f4780)]+'_'+sanitizeFileName(_0x1ff827['callId'])+_0x3df7c9(0x3da,_0x199193._0x353317,_0x199193._0x2096c0,_0x199193._0x1b56eb),_0x7f3cd3=_0x2b5f0e[_0xce6839(_0x199193._0x4a8549,_0x199193._0x52879b,_0x199193._0x36e619,_0x199193._0x56323f)](_0x1cb746,_0x25a309);function _0x3df7c9(_0x26744d,_0x56d24f,_0x5d173f,_0x24de59){return _0x32992d(_0x26744d-_0x5797ab._0x2ccf91,_0x24de59,_0x5d173f-_0x5797ab._0x1ee7b5,_0x26744d- -_0x5797ab._0x7a56af);}function _0xce6839(_0x445c4b,_0x3aa8f2,_0x4a0bab,_0x2c7fe2){return _0x32992d(_0x445c4b-0xa2,_0x3aa8f2,_0x4a0bab-_0x376320._0x56eb62,_0x4a0bab- -_0x376320._0x312e6e);}await _0xd4f966(_0x1cb746,{'recursive':!![]}),await _0x2063f5(_0x7f3cd3,_0x1ff827['output'],'utf8');let _0x5ddaaf=_0x1ff827[_0x3df7c9(_0x199193._0x1b6146,_0x199193._0x3362cb,0x42f,0x42c)][_0x3df7c9(0x3ad,_0x199193._0x3a0f02,_0x199193._0x3111b0,_0x199193._0x295f11)](0x0,_0x12e1ec);const _0x40403d=_0x5ddaaf[_0x3df7c9(0x2d7,0x3e5,_0x199193._0x18d9bb,_0x199193._0x391faf)]('\x0a');_0x40403d>_0x12e1ec*0.5&&(_0x5ddaaf=_0x5ddaaf[_0xce6839(0x434,0x3e5,0x3e5,0x47b)](0x0,_0x40403d));const _0x70f2e0=['','<system-reminder>','Tool\x20output\x20was\x20truncated\x20at\x20'+_0x12e1ec+_0xce6839(_0x199193._0x20fa4d,_0x199193._0x526263,0x33e,_0x199193._0x5be531)+_0x1ab62b+_0xce6839(_0x199193._0x38f8f1,0x273,_0x199193._0x1b401b,_0x199193._0x48ce61),'Full\x20output\x20saved\x20to:\x20'+_0x7f3cd3,_0x3df7c9(_0x199193._0x3cb267,_0x199193._0x2d6dfc,_0x199193._0x3991e3,0x177),_0xce6839(_0x199193._0x4b39ac,_0x199193._0x5c8bdd,_0x199193._0x496e7e,_0x199193._0xda2138)][_0x3df7c9(0x24c,0x3aa,_0x199193._0x4d1995,_0x199193._0x3f1514)]('\x0a');return{..._0x1ff827,'output':_0x5ddaaf+_0x70f2e0,'meta':{..._0x1ff827[_0x3df7c9(0x429,_0x199193._0xcae068,_0x199193._0x1d0d99,0x323)],'truncated':!![],'originalBytes':_0x1ab62b,'transforms':[..._0x1ff827[_0xce6839(_0x199193._0x339607,_0x199193._0x9eebd,_0x199193._0x40c070,0x30b)][_0xce6839(_0x199193._0x5ce381,_0x199193._0x4478ee,0x4e8,_0x199193._0x59a41e)],'tool-output-offload']}};}function createUpdateTopicTool(){const _0x39cba8={_0x3bf08e:0x415,_0x54f652:0x2f1,_0x1fe8a2:0x488,_0x3b6867:0x35e,_0x1d252d:0x783,_0x55d1bc:0x641,_0x212695:0x8ee,_0x3f7f7a:0x35a},_0x3cddfd={_0x519968:0x214,_0x154fd9:0x21a,_0x181dc1:0x26b,_0xa9e47a:0x2af,_0x3788cb:0x269,_0x1a6679:0x33a,_0x32be1a:0x22f,_0x227753:0x39a,_0x47fa4f:0x8a,_0x5f47fa:0x101,_0x181fdf:0x192,_0x4c9870:0x2c8,_0x30685b:0x2f2},_0x3d089c={_0x2314d0:0x104,_0x14b98a:0x167},_0x1a153={_0x1a4913:0xb1,_0x35acae:0x1};function _0x17dc3d(_0x23bf38,_0x1b047d,_0x40bd91,_0x161581){return _0xab9513(_0x23bf38-0x4e,_0x1b047d-_0x1a153._0x1a4913,_0x40bd91-_0x1a153._0x35acae,_0x161581);}function _0x2029ee(_0x1deebc,_0x1da0bf,_0x143ed7,_0x3da6f2){return _0x32992d(_0x1deebc-0x74,_0x3da6f2,_0x143ed7-_0x3d089c._0x2314d0,_0x1da0bf- -_0x3d089c._0x14b98a);}return defineTool({'name':_0x2029ee(0x384,0x36a,_0x39cba8._0x3bf08e,0x47f),'description':_0x2029ee(_0x39cba8._0x54f652,0x43e,_0x39cba8._0x1fe8a2,_0x39cba8._0x3b6867),'inputSchema':{'type':_0x17dc3d(_0x39cba8._0x1d252d,_0x39cba8._0x55d1bc,_0x39cba8._0x212695,0x770),'properties':{'topic':{'type':'string'}},'required':[_0x2029ee(0x305,_0x39cba8._0x3f7f7a,0x1f0,0x317)]},async *'execute'(_0x1d6780,_0x5496d8){const _0x1a67f2={_0x39c34c:0x4b3},_0x396289={_0x515635:0xeb,_0x2373f0:0x53};function _0xd13698(_0x4f6016,_0x2e9be5,_0x4407fd,_0x1a96a3){return _0x17dc3d(_0x2e9be5- -0x3bf,_0x2e9be5-_0x396289._0x515635,_0x4407fd-_0x396289._0x2373f0,_0x4f6016);}const {topic:_0x11797e}=_0x1d6780;if(typeof _0x11797e!==_0x307a28(0xd6,0x366,_0x3cddfd._0x519968,_0x3cddfd._0x154fd9)||_0x11797e['trim']()[_0xd13698(0x27c,_0x3cddfd._0x181dc1,0x399,0x2be)]===0x0)throw new ToolExecutionError(_0x307a28(0x32f,_0x3cddfd._0xa9e47a,_0x3cddfd._0x3788cb,0x3cc),{'error':_0xd13698(_0x3cddfd._0x1a6679,0x277,_0x3cddfd._0x32be1a,0x35d)});const _0x5103a7=_0x11797e[_0xd13698(_0x3cddfd._0x227753,0x361,0x2ff,0x4d6)]();_0x5496d8[_0xd13698(_0x3cddfd._0x47fa4f,_0x3cddfd._0x5f47fa,_0x3cddfd._0x181fdf,0x276)]?.(_0x5103a7);function _0x307a28(_0x1ca8ce,_0x30eea8,_0x35bedd,_0x24b895){return _0x17dc3d(_0x35bedd- -_0x1a67f2._0x39c34c,_0x30eea8-0x45,_0x35bedd-0x1d4,_0x30eea8);}return yield createToolOutput(_0x307a28(_0x3cddfd._0x4c9870,_0x3cddfd._0x30685b,0x22f,0x36e)+_0x5103a7+'\x22',{'topic':_0x5103a7}),void 0x0;}});}import{readFile as _0x5b04ac,stat as _0xb97d92}from'fs/promises';import*as _0x56773f from'path';function _0x32992d(_0x579637,_0x172d54,_0x2c6b10,_0x3e1646){return _0x4161(_0x3e1646-0x2e5,_0x172d54);}var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0xab9513(0x607,0x674,0x5b9,0x768),_0x32992d(0x77d,0x506,0x673,0x63c),_0x32992d(0x671,0x628,0x76d,0x6ed),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x1b89fe,_0x3326c7){const _0xae9c7d={_0x369b12:0x1df,_0x30474c:0x146,_0x4327dc:0xf5,_0x3359ba:0x328,_0x2715b2:0xd7,_0x12efc9:0xf3,_0x94d0c4:0x1a1,_0x26bc5c:0x266,_0x52aa32:0x238,_0xf91436:0x67,_0x5a64ac:0x138,_0x4ce8b5:0x298,_0x4ce4df:0x241,_0x4add92:0xc5,_0x5ca801:0x21c,_0x346fdf:0xe0,_0x100497:0x1c5,_0x67c44f:0x238,_0x250070:0x324,_0x515c24:0x496,_0x49f4dc:0x485,_0x2617d3:0x286,_0xf437f4:0x254,_0xb575d7:0x302,_0x11094b:0x287,_0x1405c8:0x542,_0x41de86:0x3cc,_0x45d3c2:0x1b1,_0x41695c:0x2b9,_0x523321:0x1c6,_0x33d7b6:0x53,_0x2a6954:0x1c3,_0x11d8a1:0x100,_0x354e70:0x161,_0x2cb753:0x14e,_0x3f6de3:0x453,_0x3d4898:0x1a9,_0x3846dd:0x5f,_0x25d0ff:0x77,_0x4903c5:0xb5,_0x368ff3:0x24,_0x1e7505:0x3cd,_0x272213:0x2f5,_0x53cc0b:0x411,_0x49af5e:0x3cc},_0x296338={_0x1196fe:0x509},_0x14b045={_0x11d11:0x5b,_0xefc3f5:0xd8};if(_0x1b89fe[_0x99cbe4(_0xae9c7d._0x369b12,0x2af,_0xae9c7d._0x30474c,_0xae9c7d._0x4327dc)](0x0,0x8)[_0x1f63c6(0x429,_0xae9c7d._0x3359ba,0x54c,0x421)](PNG_SIGNATURE))return _0x99cbe4(-_0xae9c7d._0x2715b2,-_0xae9c7d._0x12efc9,0x53,-0x4);if(_0x1b89fe[0x0]===0xff&&_0x1b89fe[0x1]===0xd8&&_0x1b89fe[0x2]===0xff)return _0x99cbe4(0x30a,_0xae9c7d._0x94d0c4,0x250,0x35a);const _0x239d06=_0x1b89fe['subarray'](0x0,0x6)[_0x99cbe4(0x2f6,_0xae9c7d._0x26bc5c,_0xae9c7d._0x52aa32,0x2cb)]('ascii');if(_0x239d06==='GIF87a'||_0x239d06===_0x99cbe4(_0xae9c7d._0xf91436,-0x74,0xa5,0x1f9))return _0x1f63c6(_0xae9c7d._0x5a64ac,0x252,_0xae9c7d._0x4ce8b5,0x269);if(_0x1b89fe['subarray'](0x0,0x4)['toString']('ascii')===_0x99cbe4(_0xae9c7d._0x4ce4df,_0xae9c7d._0x4add92,_0xae9c7d._0x5ca801,_0xae9c7d._0x346fdf)&&_0x1b89fe['subarray'](0x8,0xc)[_0x99cbe4(_0xae9c7d._0x100497,0xd3,_0xae9c7d._0x67c44f,_0xae9c7d._0x250070)](_0x1f63c6(_0xae9c7d._0x515c24,_0xae9c7d._0x49f4dc,_0xae9c7d._0x2617d3,0x32f))===_0x99cbe4(0x1c5,0x1b7,_0xae9c7d._0xf437f4,_0xae9c7d._0xb575d7))return _0x1f63c6(_0xae9c7d._0x11094b,0x33c,_0xae9c7d._0x1405c8,_0xae9c7d._0x41de86);const _0x5b5056=_0x56773f[_0x1f63c6(0x3f8,_0xae9c7d._0x45d3c2,0x1ff,0x280)](_0x3326c7)[_0x1f63c6(0x149,_0xae9c7d._0x41695c,0x3b0,0x25c)]();if(_0x5b5056==='.png')return _0x99cbe4(-0xba,_0xae9c7d._0x523321,_0xae9c7d._0x33d7b6,0x146);if(_0x5b5056===_0x1f63c6(_0xae9c7d._0x2a6954,0x3a1,0x2f3,0x330)||_0x5b5056===_0x99cbe4(_0xae9c7d._0x11d8a1,_0xae9c7d._0x354e70,0x17e,_0xae9c7d._0x2cb753))return _0x1f63c6(0x50e,0x484,_0xae9c7d._0x3f6de3,0x45a);function _0x1f63c6(_0x5bb87a,_0x4d5b99,_0x3fd574,_0x55348b){return _0x32992d(_0x5bb87a-_0x14b045._0x11d11,_0x4d5b99,_0x3fd574-_0x14b045._0xefc3f5,_0x55348b- -0x2ff);}function _0x99cbe4(_0x44f259,_0x147600,_0x11004c,_0x27c859){return _0x32992d(_0x44f259-0x16f,_0x27c859,_0x11004c-0x1df,_0x11004c- -_0x296338._0x1196fe);}if(_0x5b5056==='.gif')return _0x99cbe4(_0xae9c7d._0x354e70,_0xae9c7d._0x3d4898,_0xae9c7d._0x3846dd,-_0xae9c7d._0x25d0ff);if(_0x5b5056===_0x99cbe4(-_0xae9c7d._0x4903c5,0x125,-_0xae9c7d._0x368ff3,0x13e))return _0x1f63c6(_0xae9c7d._0x1e7505,_0xae9c7d._0x272213,_0xae9c7d._0x53cc0b,_0xae9c7d._0x49af5e);return void 0x0;}function normalizeDetail(_0x443b17){const _0x44d0a3={_0x4143b2:0x23d,_0x8cc745:0x569,_0x2d3251:0x696,_0x151490:0x466,_0x2a5319:0x4ca,_0x506e8c:0x47d},_0x4412f2={_0xb77ab8:0x19c,_0x4407be:0xe2},_0x63420={_0x40047c:0xa5,_0x24b351:0x271};if(_0x443b17===void 0x0)return void 0x0;function _0x4a12c8(_0x3db085,_0x8871b9,_0x4764fe,_0x2dd2d3){return _0x32992d(_0x3db085-_0x63420._0x40047c,_0x8871b9,_0x4764fe-0x19a,_0x4764fe- -_0x63420._0x24b351);}function _0xbd49b(_0x4d5dcf,_0x5a678b,_0x19bdc7,_0x2cbdd8){return _0xab9513(_0x5a678b- -_0x4412f2._0xb77ab8,_0x5a678b-0x8,_0x19bdc7-_0x4412f2._0x4407be,_0x19bdc7);}const _0x479363=_0x443b17['trim']()[_0x4a12c8(0x3d3,0x2d5,0x2ea,_0x44d0a3._0x4143b2)]();if(!SUPPORTED_DETAILS[_0xbd49b(0x60e,_0x44d0a3._0x8cc745,_0x44d0a3._0x2d3251,0x577)](_0x479363))throw new ToolExecutionError(_0xbd49b(_0x44d0a3._0x151490,_0x44d0a3._0x2a5319,_0x44d0a3._0x506e8c,_0x44d0a3._0x2a5319)+_0x443b17,{'detail':_0x443b17});return _0x479363;}function createViewFileTool(_0x2ad7a4={}){const _0x5cdd81={_0x33b4fb:0x3ae,_0x3629bc:0x55e,_0x1366aa:0x453,_0xba7af6:0x20c,_0xbbd8ec:0x38c,_0x156f47:0x511,_0xc3b023:0x3ac,_0x48e06c:0x6c9,_0x2e13f5:0x585,_0x5e60c7:0x4f4,_0x40ed05:0x42b,_0x3db92b:0x3d1},_0x11f57b={_0x16b996:0x240,_0x53b86a:0x232,_0x4fed37:0x1cc,_0x327b53:0xe1,_0x25f75b:0xd,_0x3b1451:0x1f9,_0x10f5b0:0x16c,_0x4bc593:0xde,_0x4e91c9:0x126,_0x373b8e:0x2a6,_0x3ea959:0x9c,_0x27e006:0xa1,_0x1c4f53:0x25,_0x2a2607:0x339,_0x11cb1c:0x1be,_0x3eff25:0x325,_0x144797:0x7f,_0x4590fe:0xd4,_0x5994f2:0x2f4,_0x520c53:0x297,_0x5cb9fb:0x29f,_0x22c69f:0xe0,_0xed92da:0xee,_0x1b234b:0x20,_0x56ac4c:0x8,_0x12bc52:0x10b,_0x1f0244:0x108,_0x2600c8:0x170,_0x480f2c:0xba,_0x1e8048:0x238,_0x4f1dcd:0x32,_0x93abc5:0xa3,_0x9c23d3:0x3dd,_0x40725a:0x2ba,_0x4c511c:0xbd,_0x4c84c6:0x1df,_0x22f02e:0x5,_0x5834e6:0x37,_0x25c588:0x1bc,_0xb29c49:0x14a,_0x20c6af:0x3d,_0x3ead99:0x17f,_0x1471c4:0xe7,_0x2cf392:0x10f,_0x2b72f4:0x22e,_0x2f55c1:0x21e,_0xc94b44:0x241,_0x9da457:0x17d,_0x23d157:0x225,_0x372e19:0x14d,_0x55a4cd:0x17c,_0x140aed:0x2a3},_0x3fcbc7={_0x1d6c3c:0x44},_0x5d3f8c={_0x565956:0x57,_0x11b9ba:0x1b5},_0x1858ae=_0x56773f['resolve'](_0x2ad7a4['defaultCwd']??process['cwd']());function _0x4a976b(_0x461673,_0x13897f,_0x8e7a19,_0x398d12){return _0x32992d(_0x461673-_0x5d3f8c._0x565956,_0x398d12,_0x8e7a19-0x37,_0x8e7a19- -_0x5d3f8c._0x11b9ba);}const _0x56490d=_0x2ad7a4['allowedDirs']??[];function _0x37652a(_0x2a03a6,_0x5aad93,_0xec088a,_0x18736e){return _0xab9513(_0xec088a- -0x24e,_0x5aad93-_0x3fcbc7._0x1d6c3c,_0xec088a-0xac,_0x5aad93);}const _0x3289a2=_0x2ad7a4[_0x4a976b(_0x5cdd81._0x33b4fb,_0x5cdd81._0x3629bc,_0x5cdd81._0x1366aa,0x3ab)]??DEFAULT_MAX_BYTES,_0x4dc4a9=_0x2ad7a4[_0x37652a(_0x5cdd81._0xba7af6,_0x5cdd81._0xbbd8ec,0x294,0x2d2)]??'ViewFile';return defineTool({'name':_0x4dc4a9,'description':_0x37652a(_0x5cdd81._0x156f47,_0x5cdd81._0xc3b023,0x4cc,0x3d1),'inputSchema':{'type':_0x4a976b(_0x5cdd81._0x48e06c,0x4b2,_0x5cdd81._0x2e13f5,0x586),'properties':{'path':{'type':_0x37652a(0x3ec,0x36f,0x42b,0x30d)},'detail':{'type':_0x37652a(_0x5cdd81._0x5e60c7,0x36e,_0x5cdd81._0x40ed05,0x4b2)}},'required':[_0x4a976b(0x45a,0x3c1,_0x5cdd81._0x3db92b,0x47e)]},async *'execute'(_0x40296d){const _0x4c8d17={_0x389607:0x182,_0x45fbfe:0x3de},_0x37d8e2=resolveAllowedPath(_0x1858ae,_0x56490d,_0x40296d[_0x3c3393(_0x11f57b._0x16b996,_0x11f57b._0x53b86a,_0x11f57b._0x4fed37,_0x11f57b._0x327b53)]);await assertWorkspaceFile(_0x37d8e2);function _0xdb2e7a(_0x152eda,_0x95ab72,_0x2da094,_0x579958){return _0x4a976b(_0x152eda-0x119,_0x95ab72-_0x4c8d17._0x389607,_0x152eda- -_0x4c8d17._0x45fbfe,_0x2da094);}const _0x7bdacb=await _0xb97d92(_0x37d8e2);if(_0x7bdacb['size']>_0x3289a2)throw new ToolExecutionError(_0x3c3393(0x2a9,0x320,0x37f,0x420)+_0x40296d[_0xdb2e7a(-_0x11f57b._0x25f75b,-0x101,-0x17c,-0xb4)],{'path':_0x40296d[_0x3c3393(0x24a,0x232,_0x11f57b._0x3b1451,0x196)],'maxBytes':_0x3289a2,'size':_0x7bdacb['size']});const _0x4d256c=await _0x5b04ac(_0x37d8e2),_0xed88d7=detectImageMediaType(_0x4d256c,_0x37d8e2);function _0x3c3393(_0x542af9,_0x3b8066,_0x54a946,_0x5550f3){return _0x37652a(_0x542af9-0x131,_0x5550f3,_0x3b8066- -0x101,_0x5550f3-0xaa);}if(!_0xed88d7)throw new ToolExecutionError(_0xdb2e7a(-0x63,-0x110,-0x130,-0x1a7)+_0x40296d[_0x3c3393(0x2c1,0x232,0x2e8,_0x11f57b._0x10f5b0)],{'path':_0x40296d[_0xdb2e7a(-0xd,-0xe0,0x176,_0x11f57b._0x4bc593)],'supported':[_0x3c3393(0x12f,_0x11f57b._0x4e91c9,0x15,_0x11f57b._0x373b8e),_0xdb2e7a(0xf4,0x255,-0x91,0xb5),_0xdb2e7a(_0x11f57b._0x3ea959,-_0x11f57b._0x27e006,0x77,_0x11f57b._0x1c4f53),_0x3c3393(_0x11f57b._0x2a2607,0x33c,0x2ad,_0x11f57b._0x11cb1c),'.webp']});const _0x3743b3=normalizeDetail(_0x40296d[_0x3c3393(_0x11f57b._0x3eff25,0x2ba,0x342,0x1d3)]),_0x4d485c=[_0x3c3393(_0x11f57b._0x144797,0x190,_0x11f57b._0x4590fe,_0x11f57b._0x5994f2)+_0x40296d[_0x3c3393(_0x11f57b._0x520c53,_0x11f57b._0x53b86a,_0x11f57b._0x5cb9fb,0x287)],_0xdb2e7a(-0x18,0x18,-_0x11f57b._0x22c69f,_0x11f57b._0xed92da)+_0xed88d7,_0xdb2e7a(_0x11f57b._0x1b234b,-0x98,_0x11f57b._0x56ac4c,-0x14)+_0x7bdacb[_0xdb2e7a(-0xc3,-0x100,-0x1b7,-_0x11f57b._0x12bc52)]+'\x20bytes'][_0xdb2e7a(_0x11f57b._0x1f0244,0x6b,_0x11f57b._0x2600c8,_0x11f57b._0x480f2c)](_0x3743b3?['Detail:\x20'+_0x3743b3]:[])[_0x3c3393(0x28c,0x136,_0x11f57b._0x1e8048,-_0x11f57b._0x4f1dcd)]('\x0a'),_0x351ba8=[{'type':_0xdb2e7a(0x52,0x122,_0x11f57b._0x93abc5,-0xaf),'source':{'type':'base64','media_type':_0xed88d7,'data':_0x4d256c[_0x3c3393(_0x11f57b._0x9c23d3,0x3ed,0x4a5,0x42c)](_0xdb2e7a(0x15e,_0x11f57b._0x40725a,_0x11f57b._0x4c511c,_0x11f57b._0x4c84c6))}},{'type':_0xdb2e7a(-_0x11f57b._0x22f02e,-0x109,-0xd8,-_0x11f57b._0x5834e6),'text':_0x4d485c}];return yield createToolOutput(_0x4d485c,{'path':_0x40296d['path'],'resolvedPath':_0x37d8e2,'created':_0x7bdacb[_0x3c3393(0x91,_0x11f57b._0x25c588,_0x11f57b._0xb29c49,0x1bd)][_0xdb2e7a(0x2,_0x11f57b._0x20c6af,_0x11f57b._0x3ead99,_0x11f57b._0x1471c4)](),'modified':_0x7bdacb[_0xdb2e7a(_0x11f57b._0x2cf392,0x1d6,_0x11f57b._0x2b72f4,0x170)][_0x3c3393(_0x11f57b._0x2f55c1,_0x11f57b._0xc94b44,_0x11f57b._0x9da457,_0x11f57b._0x23d157)](),'size':_0x7bdacb[_0x3c3393(_0x11f57b._0x372e19,_0x11f57b._0x55a4cd,0x8e,_0x11f57b._0x140aed)],'mimeType':_0xed88d7,'encoding':'base64',..._0x3743b3?{'detail':_0x3743b3}:{}},_0x351ba8),void 0x0;}});}import _0x2330bc from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x23ebe7=>{const {lookup:_0x1e2019}=await import('dns/promises');return _0x1e2019(_0x23ebe7,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x35c796){const _0x1d80e3={_0x41f04a:0x1bc,_0x25bde6:0x185,_0x4528b3:0x18f,_0x2655a0:0x2af,_0x19021f:0x47b,_0x36d1b4:0x2c7,_0x28e6e8:0x44d},_0x32dca5={_0x39fd0d:0x13f,_0x2bd451:0x5e},_0x1dfb88={_0x296c4e:0x4f,_0xb2f820:0x164,_0x2f2225:0x2a7};function _0x4823d8(_0x10a4b9,_0x4cc8d0,_0x487fa1,_0x2e8bda){return _0x32992d(_0x10a4b9-_0x1dfb88._0x296c4e,_0x10a4b9,_0x487fa1-_0x1dfb88._0xb2f820,_0x2e8bda- -_0x1dfb88._0x2f2225);}const _0x2800e8=_0x35c796[_0x4823d8(_0x1d80e3._0x41f04a,0x256,0x448,0x2fd)]('.');function _0x4e99c8(_0x1c42dd,_0x1f9421,_0x55f582,_0x5bf49b){return _0xab9513(_0x1f9421- -0x457,_0x1f9421-_0x32dca5._0x39fd0d,_0x55f582-_0x32dca5._0x2bd451,_0x55f582);}if(_0x2800e8[_0x4e99c8(0x21f,_0x1d80e3._0x25bde6,_0x1d80e3._0x4528b3,_0x1d80e3._0x2655a0)]!==0x4)return null;let _0x596cf3=0x0;for(const _0x5d0c10 of _0x2800e8){if(!/^\d{1,3}$/[_0x4823d8(_0x1d80e3._0x19021f,_0x1d80e3._0x36d1b4,0x51f,_0x1d80e3._0x28e6e8)](_0x5d0c10))return null;const _0x500f57=Number(_0x5d0c10);if(_0x500f57>0xff)return null;_0x596cf3=_0x596cf3*0x100+_0x500f57;}return _0x596cf3>>>0x0;}function isBlockedIpv4(_0x98e6c9){const _0x155e4c={_0x521d74:0x532,_0x5cb3d8:0x572,_0x292781:0x421,_0x1a19a9:0x3d3,_0x403a22:0x460,_0x1f3607:0x457,_0x43de49:0x618,_0x55b553:0x52a,_0x2510b0:0x356,_0x5ec524:0x3ff,_0x14cd1e:0x598,_0x47f3b3:0x584,_0x277b00:0x363,_0x5c3f05:0x49b,_0x1ae592:0x3f5,_0x341f7d:0x355},_0x441ad5={_0x3540fc:0x80,_0x11a2f1:0x6},_0x4d5bcd={_0x2c431e:0x8c,_0xcc0e43:0x56};function _0x3b35f2(_0x20042a,_0x830c11,_0x509dbe,_0xb2b736){return _0xab9513(_0xb2b736- -_0x4d5bcd._0x2c431e,_0x830c11-_0x4d5bcd._0xcc0e43,_0x509dbe-0x41,_0x830c11);}const _0x51563f=ipv4ToInt(_0x98e6c9);function _0x4d7626(_0x798cf7,_0x5c6c87,_0x196863,_0xbcbd17){return _0xab9513(_0x798cf7- -_0x441ad5._0x3540fc,_0x5c6c87-0x86,_0x196863-_0x441ad5._0x11a2f1,_0xbcbd17);}if(_0x51563f===null)return!![];const _0x374d2c=(_0x9d52d,_0x5c0a69)=>{const _0x500b67=ipv4ToInt(_0x9d52d);if(_0x500b67===null)return![];const _0x438303=_0x5c0a69===0x0?0x0:0xffffffff<<0x20-_0x5c0a69>>>0x0;return(_0x51563f&_0x438303)===(_0x500b67&_0x438303);};return _0x374d2c(_0x3b35f2(0x403,0x467,_0x155e4c._0x521d74,_0x155e4c._0x5cb3d8),0x8)||_0x374d2c(_0x3b35f2(_0x155e4c._0x292781,0x50f,_0x155e4c._0x1a19a9,0x515),0x8)||_0x374d2c('100.64.0.0',0xa)||_0x374d2c('127.0.0.0',0x8)||_0x374d2c(_0x3b35f2(_0x155e4c._0x403a22,_0x155e4c._0x1f3607,0x496,0x3d3),0x10)||_0x374d2c('172.16.0.0',0xc)||_0x374d2c(_0x4d7626(0x497,_0x155e4c._0x43de49,_0x155e4c._0x55b553,_0x155e4c._0x2510b0),0x18)||_0x374d2c(_0x4d7626(_0x155e4c._0x5ec524,0x406,0x2bc,0x563),0x10)||_0x374d2c(_0x3b35f2(0x454,_0x155e4c._0x14cd1e,0x5f6,_0x155e4c._0x47f3b3),0xf)||_0x374d2c(_0x3b35f2(_0x155e4c._0x277b00,0x53f,0x4d7,_0x155e4c._0x5c3f05),0x4)||_0x374d2c(_0x3b35f2(_0x155e4c._0x1ae592,_0x155e4c._0x341f7d,0x392,0x3d6),0x4);}function expandIpv6(_0x2ebef){const _0x417125={_0x3e5bc8:0x565,_0x3d9bb9:0x526,_0x8fc366:0x492,_0x4c6fa2:0x5be,_0x213c86:0x6af,_0x2dccc4:0x4a,_0x2cb34d:0x2d3,_0x51b4e1:0x1c9,_0x4e967a:0x47a,_0x3a7242:0x40b,_0x5b07f3:0x32a,_0x500ee4:0x626,_0x12a7fe:0x696,_0x4ae690:0x55e,_0x1df2ad:0x2fd,_0xabc2db:0x1f1,_0xb11cee:0x291,_0x4374d6:0x1bf,_0x42045c:0x163,_0x39f545:0x14e,_0x45eb45:0x1f7,_0x49c7fe:0x160,_0x26608f:0x108,_0x7a4a0c:0x137,_0x1cec04:0x596,_0xac7bc9:0x55e,_0x220f70:0x68d,_0x1184f7:0x61f,_0x5316c2:0x54c},_0x27eef0={_0x13df03:0x7e,_0x4564ea:0xb2,_0x33c15d:0x40},_0x1649ec={_0x3a2226:0x422};let _0x525aad=_0x2ebef;function _0x3443f1(_0x27d14f,_0xddee59,_0x4b7cda,_0x579528){return _0x32992d(_0x27d14f-0x49,_0x579528,_0x4b7cda-0x3f,_0x4b7cda- -_0x1649ec._0x3a2226);}let _0x4d2684;const _0x358558=_0x525aad[_0x2ef936(0x5da,_0x417125._0x3e5bc8,_0x417125._0x3d9bb9,_0x417125._0x8fc366)](':');_0x525aad[_0x3443f1(0x1c1,0x2b2,0x1c9,0x13f)](_0x358558+0x1)[_0x2ef936(0x672,0x6cd,_0x417125._0x4c6fa2,_0x417125._0x213c86)]('.')&&(_0x4d2684=_0x525aad[_0x3443f1(_0x417125._0x2dccc4,_0x417125._0x2cb34d,_0x417125._0x51b4e1,0x9b)](_0x358558+0x1),_0x525aad=_0x525aad['slice'](0x0,_0x358558+0x1));const _0x2287c0=_0x525aad[_0x2ef936(_0x417125._0x4e967a,0x68a,_0x417125._0x3a7242,0x521)]('::');function _0x2ef936(_0x5e7880,_0x254681,_0x11fb0e,_0x1931c4){return _0xab9513(_0x1931c4- -_0x27eef0._0x13df03,_0x254681-_0x27eef0._0x4564ea,_0x11fb0e-_0x27eef0._0x33c15d,_0x5e7880);}if(_0x2287c0[_0x3443f1(_0x417125._0x5b07f3,0x1ce,0x1bf,0xa5)]>0x2)return null;const _0x49304d=_0x374521=>_0x374521[_0x2ef936(0x589,0x4c4,0x46a,0x521)](':')[_0x3443f1(0x158,0x1f1,0x2d3,0x448)](_0x29ad1b=>_0x29ad1b[_0x2ef936(0x580,0x6ac,0x5a7,0x55e)]>0x0)[_0x2ef936(0x578,0x47e,0x6c1,0x579)](_0x3c7e77=>Number[_0x2ef936(0x5b4,0x7a8,0x6e9,0x63e)](_0x3c7e77,0x10)),_0x4de0e7=_0x2287c0[0x0]?_0x49304d(_0x2287c0[0x0]):[],_0xb1fb23=_0x2287c0[_0x2ef936(0x5dd,_0x417125._0x500ee4,_0x417125._0x12a7fe,_0x417125._0x4ae690)]===0x2&&_0x2287c0[0x1]?_0x49304d(_0x2287c0[0x1]):[],_0x347335=[];if(_0x4d2684){const _0x58e7ac=ipv4ToInt(_0x4d2684);if(_0x58e7ac===null)return null;_0x347335['push'](_0x58e7ac>>>0x10&0xffff,_0x58e7ac&0xffff);}const _0x461020=[..._0xb1fb23,..._0x347335],_0x2894ea=0x8-_0x4de0e7[_0x3443f1(_0x417125._0x1df2ad,_0x417125._0xabc2db,0x1bf,0x2c1)]-_0x461020[_0x3443f1(_0x417125._0xb11cee,0x1a4,_0x417125._0x4374d6,_0x417125._0x42045c)];if(_0x2287c0[_0x3443f1(_0x417125._0x39f545,_0x417125._0x45eb45,0x1bf,_0x417125._0x49c7fe)]===0x1)return _0x4de0e7[_0x3443f1(0x2a2,_0x417125._0x26608f,_0x417125._0x4374d6,_0x417125._0x7a4a0c)]+_0x461020[_0x2ef936(0x65d,0x640,_0x417125._0x1cec04,_0x417125._0xac7bc9)]===0x8?[..._0x4de0e7,..._0x461020]:null;if(_0x2894ea<0x0)return null;return[..._0x4de0e7,...new Array(_0x2894ea)[_0x2ef936(_0x417125._0x220f70,_0x417125._0x1184f7,0x444,_0x417125._0x5316c2)](0x0),..._0x461020];}function isBlockedIpv6(_0x54c7dc){const _0x3a9fac={_0x74c735:0x475,_0x476a3c:0x625,_0x30bf9a:0x4fe,_0x40b0cd:0x371,_0x2ac541:0x24e,_0x321495:0x525,_0x3e9ead:0x57a,_0x2634cf:0x64c,_0xe366f7:0x75,_0x49e208:0xc8},_0x241190={_0x2d208e:0xa3};function _0x2f8e07(_0x15c749,_0x5e6b9a,_0x21ec84,_0x49c517){return _0xab9513(_0x21ec84- -0xad,_0x5e6b9a-0x1aa,_0x21ec84-0x94,_0x15c749);}const _0x516551=expandIpv6(_0x54c7dc);if(!_0x516551||_0x516551[_0x2f8e07(0x2f8,0x369,_0x3a9fac._0x74c735,0x5c3)](_0x3f01be=>Number[_0x2f8e07(0x2c9,0x29c,0x3ee,0x49b)](_0x3f01be)))return!![];const _0x1bbdbb=_0x516551[_0x2f8e07(_0x3a9fac._0x476a3c,_0x3a9fac._0x30bf9a,0x539,0x4e0)](0x0,0x7)[_0x1339a9(_0x3a9fac._0x40b0cd,_0x3a9fac._0x2ac541,0x2e7,0x2ce)](_0x4bb782=>_0x4bb782===0x0);if(_0x1bbdbb&&(_0x516551[0x7]===0x0||_0x516551[0x7]===0x1))return!![];if(_0x516551[_0x2f8e07(_0x3a9fac._0x321495,0x3bb,0x539,0x5a8)](0x0,0x5)[_0x2f8e07(_0x3a9fac._0x3e9ead,0x644,_0x3a9fac._0x2634cf,0x72a)](_0x390d57=>_0x390d57===0x0)&&(_0x516551[0x5]===0xffff||_0x516551[0x5]===0x0)){const _0x517565=(_0x516551[0x6]<<0x10|_0x516551[0x7])>>>0x0,_0x59dcc9=[_0x517565>>>0x18&0xff,_0x517565>>>0x10&0xff,_0x517565>>>0x8&0xff,_0x517565&0xff][_0x1339a9(-_0x3a9fac._0xe366f7,-_0x3a9fac._0x49e208,0xc0,0x5a)]('.');return isBlockedIpv4(_0x59dcc9);}function _0x1339a9(_0x319302,_0x4564db,_0x214f7f,_0x36c989){return _0x32992d(_0x319302-0x1a7,_0x214f7f,_0x214f7f-_0x241190._0x2d208e,_0x36c989- -0x430);}const _0x38208e=_0x516551[0x0];if((_0x38208e&0xff00)===0xfc00||(_0x38208e&0xfe00)===0xfc00)return!![];if((_0x38208e&0xffc0)===0xfe80)return!![];if((_0x38208e&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x1bbf6d){const _0x316ea2=isIP(_0x1bbf6d);if(_0x316ea2===0x4)return isBlockedIpv4(_0x1bbf6d);if(_0x316ea2===0x6)return isBlockedIpv6(_0x1bbf6d);return!![];}function _0x4161(_0x347ea2,_0xdfc0da){_0x347ea2=_0x347ea2-0x179;const _0x410463=_0x4104();let _0x4161db=_0x410463[_0x347ea2];if(_0x4161['doXPRK']===undefined){var _0x5cbc5e=function(_0x5a4dec){const _0x171126='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3eb75d='',_0x4adff0='';for(let _0x3ac9f4=0x0,_0x2167dd,_0x1c5f83,_0x2f7eef=0x0;_0x1c5f83=_0x5a4dec['charAt'](_0x2f7eef++);~_0x1c5f83&&(_0x2167dd=_0x3ac9f4%0x4?_0x2167dd*0x40+_0x1c5f83:_0x1c5f83,_0x3ac9f4++%0x4)?_0x3eb75d+=String['fromCharCode'](0xff&_0x2167dd>>(-0x2*_0x3ac9f4&0x6)):0x0){_0x1c5f83=_0x171126['indexOf'](_0x1c5f83);}for(let _0x3be4ce=0x0,_0x5cb3a7=_0x3eb75d['length'];_0x3be4ce<_0x5cb3a7;_0x3be4ce++){_0x4adff0+='%'+('00'+_0x3eb75d['charCodeAt'](_0x3be4ce)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4adff0);};_0x4161['fCAvZO']=_0x5cbc5e,_0x4161['AonOnr']={},_0x4161['doXPRK']=!![];}const _0x416338=_0x410463[0x0],_0x2ddf44=_0x347ea2+_0x416338,_0x4860cd=_0x4161['AonOnr'][_0x2ddf44];return!_0x4860cd?(_0x4161db=_0x4161['fCAvZO'](_0x4161db),_0x4161['AonOnr'][_0x2ddf44]=_0x4161db):_0x4161db=_0x4860cd,_0x4161db;}async function assertPublicUrl(_0x2faf7c,_0x1dbfbb={}){const _0x20508b={_0xfaaa01:0x3fa,_0x3beed8:0x436,_0x151255:0x3b2,_0x59b57d:0x3f2,_0x3533cf:0x57a,_0x32d369:0x44a,_0x4fb342:0x44a,_0x4ae32d:0x5cb,_0x2fc640:0x424,_0x47ada8:0x3f7,_0x4f56ff:0x260,_0x45dd3f:0x38a,_0x85025d:0x472,_0x55919a:0x43b,_0x1b9962:0x3b1,_0xf57b9a:0x3e9,_0x533417:0x497,_0x43cd6f:0x400,_0x3a8c2f:0x2fa,_0xb2b5f0:0x37f,_0x45a77e:0x408,_0x237dad:0x4fd,_0x41c0e1:0x4a0,_0x5933c2:0x5fa,_0x1c94b8:0x624,_0x1f37e9:0x394,_0x4e1ca2:0x58a,_0x3d251c:0x4e0,_0x21785e:0x3d8,_0x353703:0x1f5,_0x4b4c11:0x2d6,_0x49c76c:0x24f,_0x27b34d:0x2b7,_0x5a8be8:0x51a,_0x7c3d:0x227,_0x67c6a:0x302,_0x2b6a5c:0x2b3,_0x2924a5:0x397,_0x2459d0:0x19f,_0x3ec7af:0x2f5,_0x33058b:0x2e9},_0xa316e0={_0x30cf90:0x30},_0x5e29f7={_0x1df8e0:0x245,_0x3cd346:0x14b};let _0x59cc94;function _0x185a37(_0x511ea7,_0x213e12,_0x5a7bfb,_0x50c97e){return _0xab9513(_0x5a7bfb- -_0x5e29f7._0x1df8e0,_0x213e12-_0x5e29f7._0x3cd346,_0x5a7bfb-0xbf,_0x511ea7);}try{_0x59cc94=new URL(_0x2faf7c);}catch{throw new ToolExecutionError(_0x185a37(0x416,0x49a,_0x20508b._0xfaaa01,_0x20508b._0x3beed8),{'url':_0x2faf7c});}if(_0x59cc94[_0x185a37(0x578,0x65b,0x51a,0x4ca)]!==_0x371592(_0x20508b._0x151255,_0x20508b._0x59b57d,_0x20508b._0x3533cf,_0x20508b._0x32d369)&&_0x59cc94[_0x185a37(_0x20508b._0x4fb342,0x60f,0x51a,_0x20508b._0x4ae32d)]!==_0x371592(_0x20508b._0x2fc640,_0x20508b._0x47ada8,_0x20508b._0x4f56ff,_0x20508b._0x45dd3f))throw new ToolExecutionError(_0x185a37(_0x20508b._0x85025d,_0x20508b._0x55919a,_0x20508b._0x1b9962,_0x20508b._0xf57b9a),{'url':_0x2faf7c});if(_0x59cc94[_0x371592(_0x20508b._0x533417,_0x20508b._0x43cd6f,0x48e,0x51b)]||_0x59cc94[_0x185a37(_0x20508b._0x3a8c2f,0x3d7,_0x20508b._0xb2b5f0,_0x20508b._0x45a77e)])throw new ToolExecutionError(_0x185a37(0x567,_0x20508b._0x237dad,_0x20508b._0x41c0e1,_0x20508b._0x5933c2),{'url':_0x59cc94[_0x185a37(0x5f4,_0x20508b._0x1c94b8,0x51a,_0x20508b._0x1f37e9)]+'//'+_0x59cc94[_0x371592(_0x20508b._0x4e1ca2,0x4eb,0x3aa,0x4fc)]+_0x59cc94[_0x371592(_0x20508b._0x3d251c,_0x20508b._0x21785e,0x56b,0x44e)]});const _0x27df52=_0x59cc94[_0x185a37(_0x20508b._0x353703,_0x20508b._0x4b4c11,_0x20508b._0x49c76c,0x3ae)][_0x185a37(0x131,0x3bb,_0x20508b._0x27b34d,0x30d)](/^\[|\]$/g,''),_0x530c51=_0x59cc94[_0x185a37(0x5f1,0x55f,_0x20508b._0x5a8be8,0x59e)]+'//'+_0x59cc94['host']+_0x59cc94['pathname'];if(isIP(_0x27df52)){if(isBlockedAddress(_0x27df52))throw new ToolExecutionError(_0x185a37(_0x20508b._0x7c3d,0x3d0,_0x20508b._0x67c6a,0x26e),{'url':_0x530c51});return _0x59cc94;}const _0x5a85c2=_0x1dbfbb['lookup']??defaultLookup;let _0x5c4392;try{_0x5c4392=await _0x5a85c2(_0x27df52);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x530c51});}if(_0x5c4392[_0x185a37(_0x20508b._0x2b6a5c,0x218,_0x20508b._0x2924a5,0x236)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x530c51});for(const {address:_0x478520}of _0x5c4392){if(isBlockedAddress(_0x478520))throw new ToolExecutionError(_0x185a37(_0x20508b._0x2459d0,_0x20508b._0x3ec7af,_0x20508b._0x33058b,0x466),{'url':_0x530c51});}function _0x371592(_0x385947,_0xae51e8,_0x577d7a,_0x4ed560){return _0x32992d(_0x385947-0x11d,_0xae51e8,_0x577d7a-_0xa316e0._0x30cf90,_0x4ed560- -0x1d5);}return _0x59cc94;}async function safeFetch(_0x4ec0f1,_0x4ddd24={},_0x58b6d4={}){const _0xe3c97={_0x5e6fd5:0x218,_0x4c42cc:0x137,_0x31889e:0xfe,_0x1601a5:0x3f3,_0x3faccc:0x3c8,_0x470a00:0x4a1,_0x82b5ee:0x48a,_0x532d7b:0x51a,_0x3b458e:0x3bb,_0x16b423:0x409,_0x6dfa73:0xbb,_0x58a128:0x4,_0x3c0417:0xd1,_0x4d3ccf:0x224,_0x2d8bb2:0x11a,_0x590084:0x274,_0x10da24:0xac,_0x2abc43:0x118,_0x7d5174:0x146,_0xaefefa:0x147,_0x39acd7:0x44c,_0x3108e4:0x44e,_0x262300:0x4ef,_0x406568:0x509,_0x10a1b5:0x1cc,_0x7d451d:0x1ab},_0x391256={_0x1c6623:0x2b2,_0x11568f:0xc5},_0x50bb29={_0xdd534:0x14c,_0x42f64e:0x10};function _0x5da3ff(_0x45f1e0,_0xdd7d58,_0x506650,_0x2747ef){return _0xab9513(_0x2747ef- -0x659,_0xdd7d58-_0x50bb29._0xdd534,_0x506650-_0x50bb29._0x42f64e,_0x506650);}const _0x21c983=_0x58b6d4[_0x5da3ff(_0xe3c97._0x5e6fd5,0x198,_0xe3c97._0x4c42cc,_0xe3c97._0x31889e)]??fetch,_0x440093=_0x58b6d4[_0x3ffcbe(_0xe3c97._0x1601a5,_0xe3c97._0x3faccc,0x457,_0xe3c97._0x470a00)]??DEFAULT_MAX_REDIRECTS;function _0x3ffcbe(_0x3c30e9,_0x18c996,_0x594295,_0xc30552){return _0xab9513(_0x3c30e9- -_0x391256._0x1c6623,_0x18c996-0xae,_0x594295-_0x391256._0x11568f,_0x18c996);}let _0x555407=_0x4ec0f1;for(let _0x23a411=0x0;;_0x23a411+=0x1){const _0x537467=await assertPublicUrl(_0x555407,_0x58b6d4),_0x180ef7=await _0x21c983(_0x537467[_0x3ffcbe(_0xe3c97._0x82b5ee,_0xe3c97._0x532d7b,_0xe3c97._0x3b458e,_0xe3c97._0x16b423)](),{..._0x4ddd24,'redirect':_0x5da3ff(-0x1a,-0x110,_0xe3c97._0x6dfa73,-0x96)}),_0x5500d8=_0x180ef7[_0x5da3ff(-0x78,_0xe3c97._0x58a128,-0xb2,-0x162)][_0x5da3ff(-_0xe3c97._0x3c0417,-_0xe3c97._0x4d3ccf,-0x12b,-0x193)](_0x5da3ff(-_0xe3c97._0x2d8bb2,-0x283,-_0xe3c97._0x590084,-0x11f));if(!REDIRECT_STATUSES[_0x5da3ff(0x225,0x82,0x1e4,_0xe3c97._0x10da24)](_0x180ef7[_0x5da3ff(-_0xe3c97._0x2abc43,-_0xe3c97._0x7d5174,_0xe3c97._0xaefefa,0x26)])||!_0x5500d8)return _0x180ef7;if(_0x23a411>=_0x440093)throw new ToolExecutionError(_0x3ffcbe(_0xe3c97._0x39acd7,_0xe3c97._0x3108e4,_0xe3c97._0x262300,_0xe3c97._0x406568),{'url':_0x537467[_0x5da3ff(-0x8e,0x211,_0xe3c97._0x10a1b5,0xe3)]()});_0x555407=new URL(_0x5500d8,_0x537467)[_0x5da3ff(0xee,0x16b,_0xe3c97._0x7d451d,0xe3)]();}}var USER_AGENT='Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36\x20NuvinBot/1.0',DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x3d2d53,_0x2d23d1){const _0x4e0570={_0x18e396:0x5ea,_0x5ccd45:0x5dc,_0xb8e04e:0x56e,_0x23ec86:0x378,_0xf1b6d4:0x36c,_0x2bddac:0x834},_0x300627={_0x46c7f1:0x13f},_0x3f3604={_0x18fa7e:0x1c2,_0x4082fa:0x23d,_0x13a9e5:0x188},_0x32dd62={_0x25e333:0x17,_0x4095b9:0x112},_0x1f6880={_0x466ec2:0x1},_0x160583=new AbortController(),_0x1ada23=setTimeout(()=>_0x160583['abort'](new Error('Fetch\x20timed\x20out')),_0x2d23d1),_0x508f41=()=>_0x160583[_0x1fb99b(0x590,0x3d2,0x4b9,0x346)](_0x3d2d53['reason']);function _0x1fb99b(_0x4084a0,_0x2d0faf,_0x34c41f,_0x4c1d3e){return _0x32992d(_0x4084a0-0x1ca,_0x2d0faf,_0x34c41f-0x5,_0x34c41f-_0x1f6880._0x466ec2);}_0x3d2d53[_0x4b6b53(_0x4e0570._0x18e396,_0x4e0570._0x5ccd45,0x45f,0x499)]?_0x160583[_0x1fb99b(_0x4e0570._0xb8e04e,0x535,0x4b9,0x48e)](_0x3d2d53['reason']):_0x3d2d53['addEventListener'](_0x4b6b53(_0x4e0570._0x23ec86,0x49c,_0x4e0570._0xf1b6d4,0x441),_0x508f41,{'once':!![]});function _0x4b6b53(_0xf3384e,_0x953cca,_0x39fb30,_0x3b0835){return _0xab9513(_0x953cca- -_0x32dd62._0x25e333,_0x953cca-_0x32dd62._0x4095b9,_0x39fb30-0x120,_0x39fb30);}return{'signal':_0x160583[_0x4b6b53(_0x4e0570._0x2bddac,0x70a,0x87f,0x65f)],'cleanup':()=>{function _0x4d3686(_0x49606a,_0x40c60a,_0x2a4f71,_0x11644a){return _0x4b6b53(_0x49606a-_0x3f3604._0x18fa7e,_0x49606a- -_0x3f3604._0x4082fa,_0x11644a,_0x11644a-_0x3f3604._0x13a9e5);}clearTimeout(_0x1ada23),_0x3d2d53['removeEventListener'](_0x4d3686(0x25f,0x27e,0x206,_0x300627._0x46c7f1),_0x508f41);}};}function createWebFetchTool(_0x41aa53={}){const _0x4a419f={_0x3ed566:0x6bf,_0x48d191:0x6f9,_0x49fc5a:0x2a,_0x25a7ba:0x48,_0x51f956:0x55,_0x4d7ee8:0x632,_0x571cd7:0x852,_0x311d77:0x8,_0x5774d9:0x14d,_0x2132df:0x140,_0x28e902:0x55c,_0x4bf9c2:0x17f,_0x2f7312:0x711,_0x576e9a:0x5c4,_0x821998:0x635,_0xb2886f:0x11d,_0x286a06:0xcc,_0x12561d:0xe6,_0x398cdb:0x15e,_0x42319d:0x17,_0x165cd3:0x49b,_0x244202:0x256,_0x1dcad6:0x53c,_0x218c48:0x563,_0x51d105:0x3fe,_0x50b101:0x7a3,_0x570cdb:0x794,_0x4b95c1:0x929,_0x5a0522:0x14,_0x3f5fd6:0x165,_0x130e65:0xa7,_0x5aa0f3:0x6e7,_0x3789a0:0x830,_0x25679e:0x6c4,_0x54aec2:0x3c,_0x1c6af6:0xa5},_0x245792={_0x50286f:0x1de,_0x194874:0x1f6,_0x25310e:0x9e,_0x50b775:0x22e,_0x2801a1:0x245,_0x34aaa2:0x300,_0x1575d0:0x2ec,_0x3551e5:0x1d2,_0x41de49:0x122,_0x217d70:0x187,_0x4298af:0x443,_0x22e80d:0x308,_0x178f19:0x300,_0x1c05c9:0x192,_0x1d4af0:0x145,_0x4b8dc7:0x167,_0x3c62c7:0x170,_0x497b61:0x287,_0x35edf8:0x331,_0x1a0b75:0x25e,_0x29a6f1:0xc2,_0x4b3bbe:0x1dd,_0x1a50f0:0x304,_0x4815b3:0x67,_0x53fbe5:0x197,_0x52add6:0x22a,_0x3e286c:0x1c,_0x3b601e:0xa5,_0x847caf:0x1,_0xa4ceac:0x11e,_0x44e012:0x220,_0x3dd26b:0x19f,_0x24b75e:0x1cf,_0x313f87:0x82,_0x5590d:0x2c,_0x196b3b:0x4b,_0x3802e5:0x1a,_0x3b6431:0x3d,_0xb1e357:0x75,_0x39e9c7:0x46,_0x3d1447:0x1c2,_0x52e426:0x134,_0x11ff4c:0x135,_0x4aa1ae:0x7c,_0x471809:0x18a,_0x154a7:0x11a,_0x366e5c:0xd1,_0xc47a9a:0x5a,_0x170018:0x1af,_0x1678bd:0x27,_0x20a086:0x186},_0x410e83={_0x8f2657:0x1a2},_0x1a4721={_0x1dea39:0x16d,_0x4b55f4:0x106},_0x1e2acc={_0x4569a2:0x167},_0x48bdfe=_0x41aa53['name']??_0x5769fa(0x608,_0x4a419f._0x3ed566,0x54b,_0x4a419f._0x48d191),_0x3c45b7=_0x41aa53[_0x548e52(-_0x4a419f._0x49fc5a,-0x60,-_0x4a419f._0x25a7ba,_0x4a419f._0x51f956)]??DEFAULT_TIMEOUT_MS2,_0x488e68=_0x41aa53[_0x5769fa(0x70a,0x667,_0x4a419f._0x4d7ee8,_0x4a419f._0x571cd7)];function _0x548e52(_0x506818,_0x746a26,_0x35bb5e,_0x3fe6c8){return _0xab9513(_0x35bb5e- -0x67e,_0x746a26-_0x1e2acc._0x4569a2,_0x35bb5e-0x1a0,_0x506818);}function _0x5769fa(_0x29626c,_0xebeaf3,_0x310431,_0x198e66){return _0xab9513(_0x29626c-0x6e,_0xebeaf3-_0x1a4721._0x1dea39,_0x310431-_0x1a4721._0x4b55f4,_0xebeaf3);}const _0x21a45c=new _0x2330bc({'headingStyle':'atx','codeBlockStyle':_0x548e52(-0x1e2,-_0x4a419f._0x311d77,-_0x4a419f._0x5774d9,-_0x4a419f._0x2132df),'bulletListMarker':'-'});return _0x21a45c[_0x5769fa(0x53f,_0x4a419f._0x28e902,0x459,0x4e3)]([_0x548e52(-0x12e,-0x1a0,-_0x4a419f._0x4bf9c2,-0x63),'style',_0x5769fa(_0x4a419f._0x2f7312,_0x4a419f._0x576e9a,_0x4a419f._0x821998,_0x4a419f._0x48d191),_0x548e52(_0x4a419f._0xb2886f,0x1a3,_0x4a419f._0x286a06,0x11a),_0x548e52(-_0x4a419f._0x12561d,-0xa1,-_0x4a419f._0x398cdb,_0x4a419f._0x42319d),_0x5769fa(0x4ee,_0x4a419f._0x165cd3,0x610,0x38c),'header',_0x548e52(-_0x4a419f._0x244202,-0x19f,-0x146,-0x8a)]),defineTool({'name':_0x48bdfe,'description':_0x5769fa(_0x4a419f._0x1dcad6,0x5d1,_0x4a419f._0x218c48,_0x4a419f._0x51d105),'inputSchema':{'type':_0x5769fa(_0x4a419f._0x50b101,_0x4a419f._0x570cdb,_0x4a419f._0x4b95c1,0x77b),'properties':{'description':{'type':_0x548e52(_0x4a419f._0x5a0522,-_0x4a419f._0x3f5fd6,-0x5,_0x4a419f._0x130e65)},'url':{'type':_0x5769fa(_0x4a419f._0x5aa0f3,_0x4a419f._0x3789a0,0x5a0,_0x4a419f._0x25679e)}},'required':[_0x548e52(_0x4a419f._0x54aec2,-0x20e,-_0x4a419f._0x1c6af6,-0x1b5)]},async *'execute'(_0x285f7e,_0x1c52be){const _0x2b1b2c={_0x381f8b:0x3c,_0x3a9edc:0x1aa},_0x3997f2=(await assertPublicUrl(_0x285f7e[_0x155fb4(0x335,0xf4,0x1b8,0x29a)],{'lookup':_0x488e68}))[_0x1bae37(0x2b4,_0x245792._0x50286f,_0x245792._0x194874,_0x245792._0x25310e)]();if(_0x1c52be[_0x155fb4(_0x245792._0x50b775,_0x245792._0x2801a1,_0x245792._0x34aaa2,0x2d9)][_0x155fb4(0x113,_0x245792._0x1575d0,_0x245792._0x3551e5,_0x245792._0x41de49)])throw new ToolExecutionError(_0x1bae37(0x21c,0x1af,_0x245792._0x217d70,0x77),{'url':_0x3997f2});const _0x47a610=createTimeoutSignal(_0x1c52be[_0x155fb4(_0x245792._0x4298af,0x20a,0x300,0x40a)],_0x3c45b7);let _0x50bd93='';function _0x1bae37(_0x5e1aa2,_0x12b751,_0x47fc90,_0x335b2d){return _0x5769fa(_0x12b751- -0x5cc,_0x47fc90,_0x47fc90-_0x2b1b2c._0x381f8b,_0x335b2d-_0x2b1b2c._0x3a9edc);}let _0x113373=0x0,_0x21e06f;try{const _0x6376c2=await safeFetch(_0x3997f2,{'headers':{'User-Agent':USER_AGENT},'signal':_0x47a610[_0x155fb4(0x1ae,_0x245792._0x22e80d,_0x245792._0x178f19,_0x245792._0x1c05c9)]},{'lookup':_0x488e68});if(!_0x6376c2['ok'])throw new ToolExecutionError(_0x1bae37(_0x245792._0x1d4af0,_0x245792._0x4b8dc7,_0x245792._0x3c62c7,0x2ea)+_0x6376c2[_0x155fb4(_0x245792._0x497b61,_0x245792._0x35edf8,_0x245792._0x1a0b75,0x36a)]+'\x20'+_0x6376c2[_0x1bae37(_0x245792._0x29a6f1,_0x245792._0x4b3bbe,_0x245792._0x1a50f0,0x34d)],{'url':_0x3997f2,'statusCode':_0x6376c2['status']});_0x50bd93=_0x6376c2[_0x1bae37(0x55,-_0x245792._0x4815b3,0xd0,-_0x245792._0x53fbe5)][_0x155fb4(_0x245792._0x52add6,-_0x245792._0x3e286c,_0x245792._0x3b601e,_0x245792._0x847caf)](_0x1bae37(0x273,_0x245792._0xa4ceac,0x209,0x1b9))??'',_0x113373=_0x6376c2[_0x155fb4(0x172,0x2b7,0x25e,0x297)],_0x21e06f=await _0x6376c2[_0x155fb4(0x168,_0x245792._0x44e012,0x168,0x1ea)]();}catch(_0x1fa168){if(_0x1fa168 instanceof ToolExecutionError)throw _0x1fa168;const _0x192260=_0x1fa168 instanceof Error?_0x1fa168['message']:String(_0x1fa168);throw new ToolExecutionError(_0x192260,{'url':_0x3997f2});}finally{_0x47a610[_0x155fb4(0x14e,0x29f,0x279,_0x245792._0x3dd26b)]();}function _0x155fb4(_0x990e53,_0x3c2d2b,_0x389749,_0x55eb5b){return _0x548e52(_0x990e53,_0x3c2d2b-_0x410e83._0x8f2657,_0x389749-0x25d,_0x55eb5b-0x145);}const _0x909ff8=new Date()['toISOString']();let _0x67e945,_0x4f7328;if(_0x50bd93[_0x1bae37(0x203,_0x245792._0x24b75e,0x24f,_0x245792._0x313f87)](_0x1bae37(-0xd1,-_0x245792._0x5590d,_0x245792._0x196b3b,_0x245792._0x3802e5)))_0x67e945=_0x1bae37(0x23,_0x245792._0x3b6431,-0x2c,-0x71)+_0x21e06f+_0x1bae37(_0x245792._0xb1e357,0x1c1,_0x245792._0x39e9c7,_0x245792._0x3d1447),_0x4f7328=_0x155fb4(0x14f,0x2d7,0x1ad,_0x245792._0x52e426);else _0x50bd93[_0x1bae37(0x115,_0x245792._0x24b75e,_0x245792._0x11ff4c,_0x245792._0x4aa1ae)](_0x155fb4(-0x4e,_0x245792._0x471809,_0x245792._0x154a7,_0x245792._0x366e5c))?(_0x67e945=_0x21a45c['turndown'](_0x21e06f),_0x4f7328=_0x1bae37(0x9,_0x245792._0xc47a9a,0x1c3,_0x245792._0x170018)):(_0x67e945=_0x21e06f,_0x4f7328=_0x155fb4(0xab,0x17b,0x168,_0x245792._0x1678bd));return yield createToolOutput(_0x67e945,{'url':_0x3997f2,'contentType':_0x50bd93,'statusCode':_0x113373,'format':_0x4f7328,'size':_0x21e06f[_0x155fb4(_0x245792._0x20a086,0x1e0,0x1bb,0x44)],'fetchedAt':_0x909ff8}),void 0x0;}});}import{load}from'cheerio';function _0xab9513(_0x481e89,_0x51364e,_0xa9d6e8,_0x1a23d4){const _0x1662bc={_0x1c1e1e:0x2e0};return _0x4161(_0x481e89-_0x1662bc._0x1c1e1e,_0x1a23d4);}var USER_AGENT2=_0xab9513(0x577,0x5ff,0x4fa,0x495);function normalizeUrl(_0x32fc08){const _0x69eaf={_0xfa1b57:0x646,_0x893a15:0x5e0,_0x5b738b:0x61d,_0xb60e46:0x5e9,_0x37eba2:0x4ac,_0x35fb54:0x62d,_0x331d70:0x485,_0x39cacc:0x406,_0x314f02:0x4ab,_0x1cfad3:0x560,_0x2f1ba6:0x50f,_0x35c5c7:0x580,_0x515a4e:0x766,_0x3b2b63:0x6d7,_0x29119c:0x634,_0x27e638:0x587,_0xacc0ea:0x5d9,_0x4f208f:0x806,_0x2d7b6d:0x730,_0x44b66e:0x6c2,_0x2c063b:0x624,_0x5661f5:0x484,_0x1e5715:0x648,_0x113996:0x56a,_0x1e1685:0x816,_0x4fde4c:0x6b8},_0x5ec57b={_0x411ea6:0x84},_0x39f71d={_0x4b2650:0x203,_0x4965f6:0xdf};function _0x3a0189(_0x37ec61,_0x2e9f34,_0x596e7f,_0x56a091){return _0xab9513(_0x37ec61- -_0x39f71d._0x4b2650,_0x2e9f34-_0x39f71d._0x4965f6,_0x596e7f-0x18d,_0x2e9f34);}function _0x2a94f0(_0x19c327,_0x44b844,_0xa0073c,_0x57878e){return _0xab9513(_0xa0073c- -_0x5ec57b._0x411ea6,_0x44b844-0x165,_0xa0073c-0x1c2,_0x44b844);}try{const _0x54df07=new URL(_0x32fc08);for(const _0x4111e1 of[_0x2a94f0(_0x69eaf._0xfa1b57,_0x69eaf._0x893a15,_0x69eaf._0x5b738b,0x6f5),_0x2a94f0(0x6a7,_0x69eaf._0xb60e46,0x5e1,0x5c9),_0x3a0189(_0x69eaf._0x37eba2,_0x69eaf._0x35fb54,0x5a0,0x632),_0x3a0189(_0x69eaf._0x331d70,0x4c7,_0x69eaf._0x39cacc,_0x69eaf._0x314f02),_0x2a94f0(_0x69eaf._0x1cfad3,_0x69eaf._0x2f1ba6,0x44c,0x48d),_0x2a94f0(_0x69eaf._0x35c5c7,_0x69eaf._0x515a4e,_0x69eaf._0x3b2b63,_0x69eaf._0x29119c),_0x3a0189(0x524,0x5f3,0x597,0x607),_0x2a94f0(0x6a0,_0x69eaf._0x27e638,_0x69eaf._0xacc0ea,0x4cb),_0x2a94f0(_0x69eaf._0x4f208f,_0x69eaf._0x2d7b6d,_0x69eaf._0x44b66e,0x554)]){_0x54df07[_0x2a94f0(_0x69eaf._0x2c063b,_0x69eaf._0x5661f5,0x4d4,_0x69eaf._0x1e5715)]['delete'](_0x4111e1);}return _0x54df07[_0x2a94f0(_0x69eaf._0x113996,_0x69eaf._0x1e1685,_0x69eaf._0x4fde4c,0x6ea)]();}catch{return _0x32fc08;}}function cseDateRestrict(_0x41ff79){const _0x237d0b={_0x2ea764:0x52d,_0x3d840b:0x5d9,_0xc6d2a2:0x665},_0x42a9ab={_0x101d05:0x1ef,_0x142626:0x107},_0x389ce8={_0x196766:0x2e4};if(_0x41ff79<=0x0)return void 0x0;if(_0x41ff79<=0x1e)return'd'+Math[_0x1ea7a2(_0x237d0b._0x2ea764,_0x237d0b._0x3d840b,0x591,_0x237d0b._0xc6d2a2)](0x1,Math[_0x442dd2(0x35d,0x20b,0x27d,0x323)](_0x41ff79));if(_0x41ff79<=0x16d)return'm'+Math['ceil'](_0x41ff79/0x1e);function _0x442dd2(_0x30cdc3,_0x43b0f3,_0x4059f6,_0xb81a1e){return _0xab9513(_0x4059f6- -_0x389ce8._0x196766,_0x43b0f3-0x1e2,_0x4059f6-0x45,_0x30cdc3);}function _0x1ea7a2(_0x21cdfa,_0x2594ae,_0x10e818,_0x47ab9d){return _0xab9513(_0x2594ae-0x18,_0x2594ae-_0x42a9ab._0x101d05,_0x10e818-_0x42a9ab._0x142626,_0x21cdfa);}return'y'+Math['ceil'](_0x41ff79/0x16d);}function addSiteFilters(_0x4b7d93,_0x5a3a4d){const _0x1c02a6={_0x43121e:0x31d,_0x5b9326:0x390,_0x3f19db:0x3b8,_0x53481a:0x2c,_0x134e13:0xd0,_0x3f6122:0x93,_0x141e6b:0x2c7,_0x210c84:0x18a},_0xacda2={_0xd4f4e3:0x3b5,_0x5c4329:0x19c,_0x3da679:0x5b},_0x23d503={_0x242831:0x105};function _0x39f41a(_0x4d9105,_0xa4f889,_0x3ade84,_0x592579){return _0xab9513(_0x592579- -0x4dd,_0xa4f889-_0x23d503._0x242831,_0x3ade84-0x18f,_0x4d9105);}function _0x12227b(_0x916022,_0x5266d5,_0x2722cf,_0x139643){return _0xab9513(_0x5266d5- -_0xacda2._0xd4f4e3,_0x5266d5-_0xacda2._0x5c4329,_0x2722cf-_0xacda2._0x3da679,_0x2722cf);}if(_0x5a3a4d['length']===0x0)return _0x4b7d93[_0x12227b(0x3f2,_0x1c02a6._0x43121e,0x28a,0x222)]();return(_0x4b7d93+'\x20('+_0x5a3a4d[_0x12227b(0xd3,0x242,_0x1c02a6._0x5b9326,_0x1c02a6._0x3f19db)](_0x41188a=>_0x12227b(0x1fb,0x379,0x3a1,0x4b2)+_0x41188a)[_0x12227b(_0x1c02a6._0x53481a,_0x1c02a6._0x134e13,0x204,0xf2)](_0x39f41a(_0x1c02a6._0x3f6122,_0x1c02a6._0x141e6b,_0x1c02a6._0x210c84,0x1b1))+')')['trim']();}function normalizeType(_0x1cf1f0){const _0x318f9e={_0x1b9529:0xdc,_0x43fc08:0xef,_0x289b76:0x53,_0x11d2fa:0x337,_0x8cf28c:0x1d9,_0x16dd98:0x120,_0x3cdef0:0x29d},_0x8ec60e={_0x531aed:0xdb},_0x3a4d09={_0x398b8e:0x1b0,_0xda4e7a:0xc2};function _0x1a39ce(_0x499958,_0x365b0d,_0x49d0b8,_0x482574){return _0x32992d(_0x499958-_0x3a4d09._0x398b8e,_0x49d0b8,_0x49d0b8-_0x3a4d09._0xda4e7a,_0x365b0d- -0x59b);}function _0x31462a(_0x109b90,_0x231ec4,_0x5decac,_0x58b76){return _0x32992d(_0x109b90-_0x8ec60e._0x531aed,_0x231ec4,_0x5decac-0x1bd,_0x109b90- -0x353);}return _0x1cf1f0===_0x1a39ce(_0x318f9e._0x1b9529,_0x318f9e._0x43fc08,-_0x318f9e._0x289b76,0xb0)?_0x31462a(_0x318f9e._0x11d2fa,0x20e,_0x318f9e._0x8cf28c,0x2e7):_0x31462a(_0x318f9e._0x16dd98,0x1f9,0x1cd,_0x318f9e._0x3cdef0);}async function fetchJson(_0x1b1de9,_0x90e68e,_0x1a5e1e){const _0x439bf7={_0x598e0b:0x1ad,_0x117e4e:0x1e8,_0x55b3c3:0x156,_0xa9b8eb:0x212,_0xbfa55b:0x11b,_0xeebc0b:0x146,_0x1f1792:0x59c,_0x2b9e32:0x6da,_0x5361a5:0x15a,_0x2f9f58:0x10b,_0xc4da67:0x2c7,_0x5f41d4:0x2fa,_0x7fb40b:0x21b,_0x208e5d:0x6db,_0x5e43aa:0x6e8,_0x559eae:0x327,_0x2f52d4:0x2ce,_0x3b3461:0x7cd,_0x56a4d0:0x88b,_0x4f465f:0x7a4,_0x20bc33:0x801,_0x60e2e4:0x846,_0x3af463:0x29a,_0x549f09:0x1d7},_0x3260e4={_0x1b4502:0x117};function _0x5abc34(_0x48d2e0,_0x4cd653,_0x5e7e53,_0x5998da){return _0xab9513(_0x5998da- -0x3f7,_0x4cd653-_0x3260e4._0x1b4502,_0x5e7e53-0x1c0,_0x5e7e53);}const _0x3b8cd2=await fetch(_0x1b1de9,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x5abc34(0xfb,_0x439bf7._0x598e0b,0x1a9,0x13b),..._0x1a5e1e?.[_0x5abc34(0x80,0xad,-0x14,0x100)]},'signal':_0x90e68e,..._0x1a5e1e});if(!_0x3b8cd2['ok']){let _0x5f3698,_0x536eb8;try{_0x5f3698=await _0x3b8cd2[_0x5abc34(0x2c1,_0x439bf7._0x117e4e,_0x439bf7._0x55b3c3,0x192)]();const _0x5a851b=JSON[_0x52ca6c(0x606,0x83c,0x67d,0x708)](_0x5f3698),_0x50113c=typeof _0x5a851b[_0x5abc34(0x2b7,0x2f9,0x2f4,_0x439bf7._0xa9b8eb)]==='object'?_0x5a851b[_0x5abc34(_0x439bf7._0xbfa55b,0x23d,0x339,0x212)]['error']:void 0x0;_0x536eb8=_0x5a851b['error']?.[_0x5abc34(0xaf,_0x439bf7._0xeebc0b,0x20e,0x21b)]??_0x5a851b[_0x52ca6c(_0x439bf7._0x1f1792,_0x439bf7._0x2b9e32,0x651,0x63a)]?.[_0x5abc34(_0x439bf7._0x5361a5,_0x439bf7._0x2f9f58,_0x439bf7._0xc4da67,0x270)]?.[0x0]?.[_0x5abc34(_0x439bf7._0x5f41d4,0x385,0x1bc,_0x439bf7._0x7fb40b)]??_0x50113c;}catch{}const _0x3a1ec6=_0x536eb8?'HTTP\x20'+_0x3b8cd2[_0x52ca6c(0x5d8,0x5c7,_0x439bf7._0x208e5d,_0x439bf7._0x5e43aa)]+':\x20'+_0x536eb8:_0x5abc34(0x34e,0x3c9,_0x439bf7._0x559eae,_0x439bf7._0x2f52d4)+_0x3b8cd2['status']+'\x20'+_0x3b8cd2[_0x52ca6c(0x8ef,_0x439bf7._0x3b3461,_0x439bf7._0x56a4d0,_0x439bf7._0x4f465f)];throw new ToolExecutionError(_0x3a1ec6,{'statusCode':_0x3b8cd2[_0x52ca6c(_0x439bf7._0x20bc33,0x58d,_0x439bf7._0x60e2e4,0x6e8)],..._0x5f3698?{'body':_0x5f3698}:{}});}function _0x52ca6c(_0x40b81a,_0x4517b3,_0x5b9884,_0x4110ff){return _0x32992d(_0x40b81a-0xc3,_0x40b81a,_0x5b9884-0xd9,_0x4110ff-0x64);}return await _0x3b8cd2[_0x5abc34(_0x439bf7._0x3af463,0x99,0x6e,_0x439bf7._0x549f09)]();}async function hydrateResults(_0xb7c643,_0x22c1a3,_0x518ab4,_0x22fd0f){const _0x4933d8={_0x557dad:0x2bc,_0x573397:0x1af,_0x38ca24:0x2fe,_0x580838:0x3a9,_0x42b6f5:0x356,_0x3747c:0x481,_0x2f3dc1:0x3ca},_0x57ee73={_0x1f768c:0x55,_0x547b21:0x1c5},_0x482bf3={_0x588ea2:0x397,_0x5756f1:0x171,_0x10965f:0x235,_0x5e0a6f:0x2ec,_0x3f9029:0x1bc,_0x674265:0x3cd,_0x158148:0x414,_0x147886:0x1e6,_0x3bf450:0x222,_0x4974c0:0x3c6,_0x210777:0x130,_0x174dcc:0x469,_0x60ed5b:0xbf,_0x1b32f2:0x339,_0x130978:0x1eb,_0x2be1c9:0x25e,_0x25c870:0x2a3,_0x4b0aec:0x48e,_0x4f3cb1:0x45b,_0x3e6e56:0x146,_0x4efe75:0x144,_0x58ff9f:0x2ac,_0x584d9d:0x2d1,_0x2b2d03:0x1cb,_0x3bf446:0x13c,_0xc8804a:0x2c8,_0x2266f4:0x206,_0x3a08eb:0x277,_0x83adc2:0x2e4,_0x5e1cb3:0x8c,_0x4c948c:0x4a,_0x30e4da:0xf2,_0x4921c8:0x1ef,_0x4632aa:0xe2,_0x1b52de:0x343,_0x22224e:0x1df,_0x279701:0xa6,_0x89eeb5:0x121,_0x4b79fc:0x24,_0x3addca:0x3d3,_0x36b2ba:0x2b1,_0x165652:0x3b4,_0x444839:0x454,_0x1acaf4:0x2f7,_0x1c71e6:0x328,_0x5b0db0:0x33c,_0x3acf51:0x3ef,_0x55f7b5:0x3be,_0x594036:0x27c},_0x5f1d10=await Promise[_0x149263(0x2ef,_0x4933d8._0x557dad,_0x4933d8._0x573397,_0x4933d8._0x38ca24)](_0xb7c643['slice'](0x0,0xa)['map'](async _0xce80f5=>{const _0x3f33e7={_0x5d4a47:0x85},_0x11f103={_0x1fa27a:0x1c2,_0x531d7e:0xea};function _0x34474a(_0x4542dc,_0x46a80f,_0x359353,_0xc1a030){return _0x149263(_0x359353- -0x1e,_0x46a80f,_0x359353-_0x11f103._0x1fa27a,_0xc1a030-_0x11f103._0x531d7e);}function _0x2a3a3a(_0x4a504f,_0x45d00a,_0x4f4e48,_0x4471ea){return _0x149263(_0x4f4e48- -0x11f,_0x4471ea,_0x4f4e48-_0x3f33e7._0x5d4a47,_0x4471ea-0x196);}try{const _0x34ed7d=await safeFetch(_0xce80f5[_0x34474a(0x1b5,0x203,0x33c,_0x482bf3._0x588ea2)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x22c1a3,'Accept':_0x34474a(0x33f,_0x482bf3._0x5756f1,0x29e,_0x482bf3._0x10965f)},'signal':_0x518ab4},{'lookup':_0x22fd0f});if(!_0x34ed7d['ok'])return _0xce80f5;const _0x406815=await _0x34ed7d[_0x34474a(0x2f2,0x179,_0x482bf3._0x5e0a6f,_0x482bf3._0x3f9029)](),_0xa47b0c=load(_0x406815),_0x1bc974=_0xa47b0c(_0x34474a(0x220,_0x482bf3._0x674265,0x3a3,_0x482bf3._0x158148))[_0x34474a(0x25e,_0x482bf3._0x147886,_0x482bf3._0x3bf450,0x1ba)](_0x34474a(_0x482bf3._0x4974c0,_0x482bf3._0x210777,0x26a,0x25c))||_0xa47b0c(_0x2a3a3a(_0x482bf3._0x174dcc,0x4e4,0x3b4,0x444))[_0x2a3a3a(0x2f,0x15e,_0x482bf3._0x60ed5b,_0x482bf3._0x5756f1)]()[_0x2a3a3a(0x231,_0x482bf3._0x1b32f2,_0x482bf3._0x130978,_0x482bf3._0x2be1c9)]()[_0x2a3a3a(_0x482bf3._0x25c870,0x2cb,0x334,0x2de)](),_0x2fc627=_0xa47b0c(_0x34474a(0x5d1,_0x482bf3._0x4b0aec,_0x482bf3._0x4f3cb1,0x47c))[_0x34474a(_0x482bf3._0x3e6e56,_0x482bf3._0x4efe75,0x222,0x394)](_0x2a3a3a(_0x482bf3._0x58ff9f,_0x482bf3._0x584d9d,0x169,0x186))||_0xa47b0c(_0x34474a(_0x482bf3._0x2b2d03,_0x482bf3._0x3bf446,0x20a,0x1ad))[_0x2a3a3a(0x3d,0x1f6,0x121,0x10)](_0x34474a(0x29d,0x343,0x26a,0x33b))||_0xce80f5['snippet'],_0x5ebce6=_0xa47b0c(_0x2a3a3a(_0x482bf3._0xc8804a,0x179,0x171,_0x482bf3._0x2266f4))['attr']('content')||_0xa47b0c(_0x34474a(0x24a,0xf0,_0x482bf3._0x3a08eb,_0x482bf3._0x83adc2))[_0x2a3a3a(_0x482bf3._0x5e1cb3,_0x482bf3._0x4c948c,0x121,_0x482bf3._0x30e4da)](_0x2a3a3a(_0x482bf3._0x4921c8,0x2e2,_0x482bf3._0x2266f4,_0x482bf3._0x4632aa))||_0xce80f5[_0x2a3a3a(0x21e,_0x482bf3._0x1b52de,_0x482bf3._0x22224e,0x327)],_0x505701=_0xa47b0c('link[rel=\x27canonical\x27]')[_0x2a3a3a(0x6a,_0x482bf3._0x279701,_0x482bf3._0x89eeb5,_0x482bf3._0x4b79fc)]('href');return{..._0xce80f5,'title':_0x1bc974||_0xce80f5[_0x2a3a3a(_0x482bf3._0x3addca,_0x482bf3._0x36b2ba,_0x482bf3._0x165652,_0x482bf3._0x444839)],'snippet':_0x2fc627,'url':_0x505701?normalizeUrl(new URL(_0x505701,_0xce80f5[_0x34474a(_0x482bf3._0x1acaf4,_0x482bf3._0x1c71e6,_0x482bf3._0x5b0db0,0x428)])[_0x2a3a3a(0x4d6,_0x482bf3._0x3acf51,0x39e,0x266)]()):_0xce80f5[_0x34474a(0x1d0,_0x482bf3._0x55f7b5,0x33c,_0x482bf3._0x594036)],'publishedAt':_0x5ebce6};}catch{return _0xce80f5;}})),_0x8c9f9d=new Map(_0xb7c643['slice'](0x0,0xa)[_0x437e45(_0x4933d8._0x580838,0x232,_0x4933d8._0x42b6f5,0x325)]((_0xa6dd9e,_0x4dca13)=>[_0xa6dd9e[_0x149263(0x35a,0x379,0x290,0x48b)],_0x5f1d10[_0x4dca13]]));function _0x437e45(_0x6f7037,_0x45c752,_0x9d5a14,_0x3a00e8){return _0xab9513(_0x6f7037- -0x24e,_0x45c752-0x187,_0x9d5a14-0x44,_0x3a00e8);}function _0x149263(_0x3014db,_0x37af6d,_0x4f4047,_0x443b89){return _0x32992d(_0x3014db-_0x57ee73._0x1f768c,_0x37af6d,_0x4f4047-_0x57ee73._0x547b21,_0x3014db- -0x284);}return _0xb7c643[_0x149263(0x378,0x465,_0x4933d8._0x3747c,_0x4933d8._0x2f3dc1)](_0x5d1536=>_0x8c9f9d[_0x149263(0x247,0x225,0x37e,0xfd)](_0x5d1536[_0x149263(0x35a,0x239,0x30e,0x32f)])??_0x5d1536);}function formatResults(_0x4bcda5){const _0x4ade19={_0x4db554:0x580,_0x5cfb36:0x27c,_0x36af20:0x68,_0x21bbef:0x7b,_0x50bccf:0xef},_0x3fd33d={_0x31a84c:0x2d9,_0x3b226f:0x347,_0x1bd998:0x16a,_0x5c62e5:0x1f6,_0x790146:0x223,_0x5acaa3:0x16f,_0x24f4d4:0x254,_0x2d1362:0x16f,_0x2c8da6:0x23,_0x44b62c:0xbc,_0x53683c:0xef,_0x206e1b:0x19f,_0xaacbbd:0x1de,_0x557d94:0x245},_0x735bda={_0x5cd327:0x1d5,_0x4ff45c:0x1ba},_0x1f0ee0={_0x20b734:0x4e};function _0x16e331(_0x314461,_0x51dc2d,_0x2d2243,_0x42f528){return _0xab9513(_0x2d2243-0xab,_0x51dc2d-0x6e,_0x2d2243-0x54,_0x314461);}function _0x4005ad(_0x11f442,_0x556475,_0x3a3b59,_0x34ec2a){return _0xab9513(_0x11f442- -0x41d,_0x556475-_0x1f0ee0._0x20b734,_0x3a3b59-0x138,_0x556475);}if(_0x4bcda5['length']===0x0)return _0x16e331(0x44f,0x477,_0x4ade19._0x4db554,0x6ba);return _0x4bcda5[_0x4005ad(0x1da,0xc6,0x1be,_0x4ade19._0x5cfb36)](_0x3a07b8=>{const _0xd5c2f2={_0x51c1da:0x70,_0x2f138c:0x489,_0x56406a:0x133};function _0x367385(_0x27bd75,_0x4e2e72,_0x3b24de,_0x2abc7f){return _0x4005ad(_0x4e2e72- -_0x735bda._0x5cd327,_0x2abc7f,_0x3b24de-_0x735bda._0x4ff45c,_0x2abc7f-0x10b);}const _0x5b9fa2=[_0x3a07b8[_0x12fc0a(_0x3fd33d._0x31a84c,0x206,0x37d,0xa1)]['rank']+'.\x20'+_0x3a07b8[_0x12fc0a(_0x3fd33d._0x3b226f,0x374,0x4af,0x1fe)],_0x3a07b8[_0x12fc0a(_0x3fd33d._0x1bd998,0x1fb,_0x3fd33d._0x5c62e5,_0x3fd33d._0x790146)]];function _0x12fc0a(_0x5b849f,_0x2aca94,_0x280e59,_0x20a40){return _0x16e331(_0x5b849f,_0x2aca94-_0xd5c2f2._0x51c1da,_0x2aca94- -_0xd5c2f2._0x2f138c,_0x20a40-_0xd5c2f2._0x56406a);}if(_0x3a07b8['snippet'])_0x5b9fa2['push'](_0x3a07b8[_0x12fc0a(0x278,0x111,-0x48,_0x3fd33d._0x5acaa3)]);if(_0x3a07b8[_0x12fc0a(0x29b,0x19f,_0x3fd33d._0x24f4d4,_0x3fd33d._0x2d1362)])_0x5b9fa2['push'](_0x12fc0a(-_0x3fd33d._0x2c8da6,_0x3fd33d._0x44b62c,0x187,_0x3fd33d._0x53683c)+_0x3a07b8[_0x12fc0a(0x7a,_0x3fd33d._0x206e1b,0x2c5,0x198)]);return _0x5b9fa2[_0x367385(-_0x3fd33d._0xaacbbd,-0x16d,-0xe7,-_0x3fd33d._0x557d94)]('\x0a');})[_0x4005ad(_0x4ade19._0x36af20,-0x32,_0x4ade19._0x21bbef,-_0x4ade19._0x50bccf)]('\x0a\x0a');}async function searchOllama(_0x43e8fa,_0x118dc5,_0x38f5e8){const _0x907e8c={_0x4793c7:0x68d,_0x5dd2a7:0x5af,_0x1457be:0x478,_0xff036e:0x6b7,_0x1125cb:0x425,_0xe2d32f:0x326,_0x4a5755:0x3e5,_0x12fc1a:0x489,_0x5574e1:0x5bd,_0x31a7bd:0x559,_0xefe38b:0x44a,_0x330afc:0x58c,_0x15b8ab:0x4c9,_0x1036f9:0x3bc,_0xedb983:0x50c,_0x32879f:0x432,_0x279f68:0x410,_0x4fe7f5:0x3e8,_0x3a617d:0x32a,_0x3e2272:0x4e3,_0x14efc0:0x414,_0x57d25f:0x2df,_0x94528e:0x460},_0x4ba654={_0x3a20c5:0x1f,_0x137a79:0x5},_0x1509b5={_0x5a5366:0x44f,_0xe0fa06:0x576,_0x36e780:0x6cf,_0x166681:0x6ef,_0x1a5195:0x713,_0xb9ebe4:0x5ee,_0x437f5e:0x56c,_0x406f54:0x621,_0x5c7512:0x348,_0x218be2:0x2a1,_0x11a1cb:0x227,_0x206ba5:0x300},_0x3d06d0={_0x465975:0x48},_0x54b949=Math[_0x21a2c8(_0x907e8c._0x4793c7,0x448,0x707,_0x907e8c._0x5dd2a7)](0x1,Math[_0x21a2c8(_0x907e8c._0x1457be,_0x907e8c._0xff036e,0x4fa,0x579)](0xa,_0x118dc5['count'])),_0x36eae1=addSiteFilters(_0x118dc5['query'],_0x118dc5['domains']),_0x3c4278=await fetchJson(_0x12de18(_0x907e8c._0x1125cb,_0x907e8c._0xe2d32f,0x520,_0x907e8c._0x4a5755),_0x38f5e8,{'method':_0x21a2c8(0x670,0x470,0x5a7,0x5f2),'headers':{'Authorization':_0x12de18(_0x907e8c._0x12fc1a,_0x907e8c._0x5574e1,_0x907e8c._0x31a7bd,_0x907e8c._0xefe38b)+_0x43e8fa[_0x21a2c8(_0x907e8c._0x330afc,0x560,_0x907e8c._0x15b8ab,0x4b5)]},'body':JSON[_0x21a2c8(_0x907e8c._0x1036f9,0x3dc,0x62b,_0x907e8c._0xedb983)]({'query':_0x36eae1,'max_results':_0x54b949})});function _0x21a2c8(_0x913d90,_0x53cb47,_0x8c3842,_0x3c1d1e){return _0xab9513(_0x3c1d1e- -0x12,_0x53cb47-0x1cb,_0x8c3842-_0x3d06d0._0x465975,_0x913d90);}const _0x325e0f=_0x3c4278[_0x12de18(0x2b4,_0x907e8c._0x32879f,_0x907e8c._0x279f68,0x334)]??[],_0x12a132=_0x325e0f[_0x12de18(_0x907e8c._0x4fe7f5,_0x907e8c._0x3a617d,_0x907e8c._0x3e2272,0x554)]((_0xb73d9,_0x7a36)=>{const _0x366ffb={_0x1bb6a7:0x1bd,_0x31ef9f:0x311},_0x2c8bc3=_0xb73d9[_0x5ced10(_0x1509b5._0x5a5366,0x695,_0x1509b5._0xe0fa06,_0x1509b5._0x36e780)]||'';function _0x7c22e4(_0x5713bd,_0x324d2f,_0x1a3850,_0x4aa288){return _0x21a2c8(_0x324d2f,_0x324d2f-0x14d,_0x1a3850-_0x366ffb._0x1bb6a7,_0x1a3850- -_0x366ffb._0x31ef9f);}let _0x689907;try{_0x689907=new URL(_0x2c8bc3)['host'];}catch{_0x689907=null;}function _0x5ced10(_0x377745,_0x1f143c,_0x3b48b3,_0x4e4a95){return _0x21a2c8(_0x377745,_0x1f143c-0x53,_0x3b48b3-0x7a,_0x3b48b3- -0x51);}return{'title':_0xb73d9[_0x5ced10(0x66f,0x5f3,_0x1509b5._0x166681,_0x1509b5._0x1a5195)]||_0x5ced10(0x4dd,_0x1509b5._0xb9ebe4,_0x1509b5._0x437f5e,_0x1509b5._0x406f54),'url':normalizeUrl(_0x2c8bc3),'snippet':_0xb73d9[_0x5ced10(0x378,0x4bd,0x4a4,_0x1509b5._0x5c7512)]??null,'displayUrl':_0x689907,'favicon':null,'publishedAt':null,'source':{'engine':_0x7c22e4(_0x1509b5._0x218be2,_0x1509b5._0x11a1cb,_0x1509b5._0x206ba5,0x2c9),'rank':_0x7a36+0x1}};});function _0x12de18(_0x5a1396,_0x4d1633,_0x52a141,_0xf5fd4d){return _0x32992d(_0x5a1396-_0x4ba654._0x3a20c5,_0x4d1633,_0x52a141-_0x4ba654._0x137a79,_0x5a1396- -0x214);}return{'items':_0x12a132[_0x12de18(0x3d7,0x2b9,0x50b,0x303)](0x0,_0x54b949),'engine':_0x12de18(_0x907e8c._0x14efc0,_0x907e8c._0x57d25f,_0x907e8c._0x94528e,0x36e)};}async function searchTavily(_0x5e5318,_0x345e7c,_0x4b3bae){const _0x424d02={_0x4db9fa:0x50a,_0x241a5f:0x4bb,_0x5b56ed:0x3a0,_0x1bd15f:0x598,_0x1add30:0x65c,_0x2b844b:0x416,_0x2a73d9:0x586,_0x4b22ba:0x669,_0x276b0e:0x632,_0x41b84f:0x626,_0x1fb3f7:0x5e8,_0x50067c:0x622,_0x32528b:0x3bc,_0xdb95e2:0x630,_0x5b7234:0x672,_0x374d22:0x70e,_0x281473:0x525,_0x284b05:0x3ba,_0x39c02f:0x493,_0x157204:0x68b,_0x141ccb:0x6a9,_0x4a8a7c:0x6b7,_0x2ebef7:0x5e3,_0x3855d2:0x630,_0x183d49:0x6ae,_0x708541:0x52e,_0x250ed1:0x3fd,_0x2847dd:0x411,_0x32e7ef:0x3f3,_0x513b03:0x44b,_0x3841e9:0x52f,_0x300f8a:0x682,_0x38e34b:0x50f},_0x24c48d={_0x4b5d14:0x5c3,_0x17d4bd:0x4ee,_0x341017:0x434,_0x59b9c1:0x52b,_0x2f2922:0x628,_0x792339:0x529,_0x2f08f7:0x468,_0x4accda:0x4bd,_0x111ade:0x45d,_0x2d0c46:0x395,_0x458cf9:0x4ec,_0x8e688d:0x487},_0x2365e9={_0x4ef3d6:0x20c,_0x29f259:0xf1};function _0x49420f(_0x27953f,_0x12c8d4,_0x1209e4,_0x6c684a){return _0x32992d(_0x27953f-0x7b,_0x12c8d4,_0x1209e4-0x1ed,_0x27953f- -0xbc);}function _0x59a265(_0x32a833,_0x312284,_0x4c764d,_0x3d90bc){return _0x32992d(_0x32a833-0x182,_0x312284,_0x4c764d-0x74,_0x4c764d- -0xd5);}const _0x1a2d15=Math[_0x49420f(_0x424d02._0x4db9fa,0x600,0x55d,0x411)](0x1,Math[_0x59a265(0x57c,0x5f5,_0x424d02._0x241a5f,_0x424d02._0x5b56ed)](0x14,_0x345e7c[_0x49420f(0x48c,_0x424d02._0x1bd15f,0x5fd,0x5e6)])),_0x407de7={'query':_0x345e7c[_0x59a265(_0x424d02._0x1add30,_0x424d02._0x2b844b,_0x424d02._0x2a73d9,_0x424d02._0x4b22ba)],'max_results':_0x1a2d15,'search_depth':_0x5e5318[_0x59a265(0x69d,_0x424d02._0x276b0e,_0x424d02._0x41b84f,_0x424d02._0x1fb3f7)]??_0x59a265(0x7a2,_0x424d02._0x50067c,0x680,0x579),'topic':_0x5e5318[_0x59a265(0x30c,_0x424d02._0x32528b,0x3ec,0x3f6)]??'general'};if(_0x345e7c[_0x59a265(0x749,_0x424d02._0xdb95e2,_0x424d02._0x5b7234,_0x424d02._0x374d22)][_0x49420f(_0x424d02._0x281473,0x3c6,_0x424d02._0x284b05,_0x424d02._0x39c02f)]>0x0)_0x407de7['include_domains']=_0x345e7c[_0x49420f(_0x424d02._0x157204,_0x424d02._0x141ccb,0x64f,0x63d)];const _0x25a456=await fetchJson(_0x59a265(_0x424d02._0x4a8a7c,0x565,0x670,_0x424d02._0x2ebef7),_0x4b3bae,{'method':'POST','headers':{'Authorization':_0x59a265(0x6b8,_0x424d02._0x3855d2,0x5c8,_0x424d02._0x183d49)+_0x5e5318[_0x59a265(0x54e,0x4a2,0x441,_0x424d02._0x708541)],'Content-Type':_0x59a265(_0x424d02._0x250ed1,_0x424d02._0x2847dd,0x462,0x362)},'body':JSON['stringify'](_0x407de7)}),_0x16a3fb=_0x25a456[_0x59a265(0x485,0x277,_0x424d02._0x32e7ef,0x295)]??[],_0x5490e0=_0x16a3fb[_0x59a265(0x4cf,_0x424d02._0x513b03,0x527,0x558)]((_0x1d5cb3,_0x362589)=>{const _0x146fae={_0x17eb8c:0x163};function _0xb09b49(_0x55269a,_0x8e93cd,_0x5f54d9,_0x44b999){return _0x49420f(_0x44b999- -0xbb,_0x8e93cd,_0x5f54d9-0x7e,_0x44b999-_0x146fae._0x17eb8c);}const _0x4009c7=_0x1d5cb3[_0xb09b49(0x3c1,0x2e2,_0x24c48d._0x4b5d14,0x467)]||'';let _0x1f4e92;function _0x2c669c(_0x2eb7d6,_0xe61361,_0x458198,_0x12e1a8){return _0x49420f(_0x458198- -_0x2365e9._0x4ef3d6,_0x12e1a8,_0x458198-_0x2365e9._0x29f259,_0x12e1a8-0xf);}try{_0x1f4e92=new URL(_0x4009c7)[_0x2c669c(_0x24c48d._0x17d4bd,_0x24c48d._0x341017,0x409,_0x24c48d._0x59b9c1)];}catch{_0x1f4e92=null;}return{'title':_0x1d5cb3[_0xb09b49(_0x24c48d._0x2f2922,0x6e5,_0x24c48d._0x792339,0x5e0)]||_0xb09b49(_0x24c48d._0x2f08f7,0x4fe,_0x24c48d._0x4accda,_0x24c48d._0x111ade),'url':normalizeUrl(_0x4009c7),'snippet':_0x1d5cb3[_0xb09b49(0x3c0,0x470,0x50e,_0x24c48d._0x2d0c46)]??null,'displayUrl':_0x1f4e92,'favicon':null,'publishedAt':null,'source':{'engine':_0x2c669c(0x47c,_0x24c48d._0x458cf9,0x476,_0x24c48d._0x8e688d),'rank':_0x362589+0x1}};});return{'items':_0x5490e0[_0x49420f(_0x424d02._0x3841e9,0x478,0x4f4,0x419)](0x0,_0x1a2d15),'engine':_0x49420f(_0x424d02._0x300f8a,0x5c7,0x5ce,_0x424d02._0x38e34b)};}async function searchGoogleCse(_0x5104df,_0x3bc31a,_0x131dd3){const _0x3193a2={_0x4cdd88:0x1f4,_0x158004:0x158,_0x15e213:0xe4,_0x1aeeaa:0x8d,_0x21e707:0x3b9,_0x5a982b:0x494,_0x299b62:0x4d4,_0x560682:0xde,_0x5e0f0b:0x17,_0x1b9ab5:0x46f,_0x141b97:0x4d6,_0x3b3ebe:0x81,_0x4c4525:0x181,_0x3b676a:0x17,_0x558dc2:0x4c0,_0x1e2637:0x40e,_0x5a5298:0x609,_0x2be48f:0x712,_0x17a7a9:0x745,_0x3a63a9:0x61a,_0x11e314:0x6d3,_0x313d90:0x60,_0x37e784:0xa0,_0x27218c:0x17,_0x9a2ab1:0x65b,_0x478a4c:0x51c,_0x5d7a10:0x20c,_0x34f942:0xd5,_0x4b10e3:0x18a,_0x6967e1:0x5a,_0x1c27f3:0x74c,_0x28f1a9:0x530,_0x39353a:0x63a,_0x26cb94:0x2bc,_0x2a5dc9:0x1db,_0x2d7073:0xd6,_0x33f877:0xed,_0xd24892:0x67e,_0x236e7f:0x649,_0xf63b08:0xfb,_0x4db6e2:0x5a,_0x160ef1:0x612,_0x500644:0x4e9,_0x433b87:0x570,_0x276f69:0x583,_0x3e3aec:0x376,_0x2ca989:0x543,_0x22138a:0x4e3,_0x35a7c1:0x108,_0x4cf2a5:0x3a2,_0x48e440:0x386,_0x5ce4cc:0x4a9,_0xadf8de:0x408,_0x4dea62:0x83,_0x41cea1:0x110,_0xe85930:0x11a,_0x2687eb:0x19d,_0xe762ea:0x6eb,_0x28f5bb:0x5cf,_0x3bff02:0x473,_0x1fa6ef:0x452,_0x24a67e:0x61a,_0x2771bb:0x11e,_0x541836:0x421,_0x59016a:0xcd,_0x570f53:0x1ab,_0x20eb4a:0xb9,_0x36305d:0x16,_0x50a0da:0x6,_0x1c6410:0x40,_0x5a6495:0x1ab,_0x3e32a2:0x2de,_0x2005cf:0xec,_0x2f3875:0x132,_0x48937a:0x1a2,_0x29fed8:0x256,_0x1f5c94:0xac,_0x44d6b6:0x137,_0x476a8b:0x4,_0x4febc6:0x602,_0x27feb2:0x548,_0x4c915a:0x562,_0x452d62:0x622,_0x10955f:0x6d1,_0x117da0:0x6e4,_0x11eac5:0x4c9,_0x550821:0x5c8,_0x499151:0x5af,_0x2efec5:0x6ba,_0x46f931:0x53d,_0x3e7db7:0x51d,_0x5d6b29:0x56d,_0x2e8674:0x535,_0x501bd4:0x485,_0x2f1df1:0xd3,_0x210f2a:0x3a1,_0x1e5f17:0x254,_0x3bb4e5:0x77b,_0x32f422:0x470,_0x428583:0x436,_0xe14987:0x373,_0x6ab9e1:0x480,_0x5c9b03:0x610,_0x271266:0x596,_0x3a6a0e:0x2eb,_0x4d84a8:0x260,_0x429959:0x279,_0x35dd46:0x1fc,_0x49c7be:0x4b8,_0x3b5760:0x42a,_0x478ec7:0x48b,_0x44cc1b:0x3c9,_0x308dc8:0xa4,_0x2351ab:0x6f5,_0x3866db:0x6a1,_0x3676c1:0x130,_0x2d006e:0x1f1,_0x1b85c3:0x19d,_0x12e504:0xde,_0x1281a4:0x4f,_0x34bcdf:0x5de,_0x301cb4:0x6f4,_0x244b51:0x577},_0x32f31d={_0x954638:0x113,_0x5e17f0:0x195,_0x5b7105:0x74},_0x571246={_0x28869f:0x4a,_0x34e77d:0x503},_0x4c30e0=Math['max'](0x1,Math[_0x62418f(_0x3193a2._0x4cdd88,_0x3193a2._0x158004,_0x3193a2._0x15e213,_0x3193a2._0x1aeeaa)](0x32,_0x3bc31a[_0x65ce3d(_0x3193a2._0x21e707,_0x3193a2._0x5a982b,0x5f0,_0x3193a2._0x299b62)]));if(_0x3bc31a[_0x62418f(_0x3193a2._0x560682,0x2b,0x142,-_0x3193a2._0x5e0f0b)]+_0x4c30e0>0x64)throw new ToolExecutionError(_0x65ce3d(_0x3193a2._0x1b9ab5,_0x3193a2._0x141b97,0x738,0x5c3),{'offset':_0x3bc31a[_0x62418f(-_0x3193a2._0x3b3ebe,-0x99,-_0x3193a2._0x4c4525,-_0x3193a2._0x3b676a)],'count':_0x4c30e0,'maxResults':0x64});function _0x62418f(_0x29e4b8,_0x4ab009,_0x15f009,_0x1eaabf){return _0x32992d(_0x29e4b8-0xa7,_0x4ab009,_0x15f009-_0x571246._0x28869f,_0x1eaabf- -_0x571246._0x34e77d);}const _0x579916=cseDateRestrict(_0x3bc31a[_0x65ce3d(_0x3193a2._0x558dc2,_0x3193a2._0x1e2637,0x6db,0x58c)]);function _0x65ce3d(_0x5a224e,_0x2bb498,_0x9d5fd2,_0x2cdbd4){return _0x32992d(_0x5a224e-_0x32f31d._0x954638,_0x5a224e,_0x9d5fd2-_0x32f31d._0x5e17f0,_0x2cdbd4- -_0x32f31d._0x5b7105);}const _0x225b8a=addSiteFilters(_0x3bc31a[_0x65ce3d(0x5da,_0x3193a2._0x5a5298,0x47a,0x5e7)],_0x3bc31a[_0x65ce3d(_0x3193a2._0x2be48f,_0x3193a2._0x17a7a9,_0x3193a2._0x3a63a9,_0x3193a2._0x11e314)]);let _0x45a1b4=0x0,_0x49ccba=_0x3bc31a[_0x62418f(0xb9,-_0x3193a2._0x313d90,_0x3193a2._0x37e784,-_0x3193a2._0x27218c)]+0x1;const _0x8ad7cb=[];while(_0x45a1b4<_0x4c30e0){const _0x3a7a83=Math[_0x65ce3d(0x589,_0x3193a2._0x9a2ab1,0x479,_0x3193a2._0x478a4c)](0xa,_0x4c30e0-_0x45a1b4),_0x45e841=new URL(_0x62418f(_0x3193a2._0x5d7a10,-0x42,-_0x3193a2._0x34f942,0xa5));_0x45e841[_0x62418f(0x185,0x107,_0x3193a2._0x4b10e3,_0x3193a2._0x6967e1)][_0x65ce3d(0x4cf,_0x3193a2._0x1c27f3,_0x3193a2._0x28f1a9,_0x3193a2._0x39353a)](_0x62418f(0x2dc,_0x3193a2._0x26cb94,0x1cd,_0x3193a2._0x2a5dc9),_0x5104df[_0x62418f(-_0x3193a2._0x2d7073,-0xd2,_0x3193a2._0x33f877,-0x25)]),_0x45e841['searchParams'][_0x65ce3d(0x679,_0x3193a2._0xd24892,0x656,0x63a)]('cx',_0x5104df[_0x65ce3d(0x4c7,0x4de,_0x3193a2._0x236e7f,0x649)]),_0x45e841[_0x62418f(-0x2f,_0x3193a2._0xf63b08,-0x69,_0x3193a2._0x4db6e2)][_0x65ce3d(0x6f4,0x4e8,0x7a8,0x63a)]('q',_0x225b8a),_0x45e841[_0x65ce3d(_0x3193a2._0x160ef1,0x3e7,0x476,_0x3193a2._0x500644)][_0x65ce3d(_0x3193a2._0x433b87,0x4bf,0x6ac,0x63a)](_0x65ce3d(_0x3193a2._0x276f69,_0x3193a2._0x3e3aec,_0x3193a2._0x2ca989,_0x3193a2._0x22138a),String(_0x3a7a83)),_0x45e841['searchParams'][_0x62418f(_0x3193a2._0x35a7c1,0x3b,0x109,0x1ab)](_0x65ce3d(_0x3193a2._0x4cf2a5,_0x3193a2._0x48e440,_0x3193a2._0x5ce4cc,_0x3193a2._0xadf8de),String(_0x49ccba)),_0x45e841[_0x62418f(_0x3193a2._0x4dea62,-_0x3193a2._0x41cea1,0xdb,_0x3193a2._0x6967e1)][_0x62418f(0x216,_0x3193a2._0xe85930,0x221,0x1ab)](_0x62418f(0x73,_0x3193a2._0x2687eb,0xd6,0x140),_0x3bc31a[_0x65ce3d(_0x3193a2._0xe762ea,0x6e0,0x4c5,_0x3193a2._0x28f5bb)]?'active':'off');_0x3bc31a[_0x65ce3d(_0x3193a2._0x3bff02,0x41b,0x460,_0x3193a2._0x1fa6ef)]&&(_0x45e841[_0x65ce3d(0x532,0x3b3,_0x3193a2._0x24a67e,0x4e9)][_0x62418f(0x278,0x16d,_0x3193a2._0x2771bb,0x1ab)]('hl',_0x3bc31a['lang']),_0x45e841[_0x65ce3d(0x530,0x3e6,_0x3193a2._0x541836,0x4e9)][_0x62418f(0x2a1,_0x3193a2._0x59016a,_0x3193a2._0x33f877,_0x3193a2._0x570f53)]('lr',_0x62418f(_0x3193a2._0x20eb4a,-_0x3193a2._0x36305d,_0x3193a2._0x50a0da,-_0x3193a2._0x1c6410)+_0x3bc31a[_0x62418f(0x117,-0x132,-0x13b,-0x3d)]));if(_0x3bc31a['region'])_0x45e841['searchParams'][_0x62418f(_0x3193a2._0x5a6495,_0x3193a2._0x3e32a2,_0x3193a2._0x2005cf,0x1ab)]('gl',_0x3bc31a[_0x62418f(0x0,_0x3193a2._0x2f3875,_0x3193a2._0x48937a,0x182)][_0x62418f(0x1d9,_0x3193a2._0x29fed8,0x56,0x1d8)]());if(_0x3bc31a[_0x62418f(-_0x3193a2._0x1f5c94,-0x157,_0x3193a2._0x44d6b6,_0x3193a2._0x476a8b)]===_0x62418f(0xdf,0x23f,0x79,0x187))_0x45e841[_0x65ce3d(0x395,0x5e2,_0x3193a2._0x4febc6,_0x3193a2._0x500644)][_0x65ce3d(_0x3193a2._0x27feb2,_0x3193a2._0x4c915a,0x623,_0x3193a2._0x39353a)](_0x65ce3d(_0x3193a2._0x452d62,_0x3193a2._0x10955f,0x56a,_0x3193a2._0x117da0),'image');if(_0x579916)_0x45e841[_0x65ce3d(0x548,0x383,_0x3193a2._0x11eac5,0x4e9)]['set'](_0x65ce3d(0x7dc,0x605,0x7de,0x6a3),_0x579916);const _0x4360fc=await fetchJson(_0x45e841[_0x65ce3d(_0x3193a2._0x550821,_0x3193a2._0x499151,0x701,0x6cd)](),_0x131dd3),_0x2c1a68=_0x4360fc[_0x65ce3d(0x5b9,_0x3193a2._0x2efec5,_0x3193a2._0x46f931,0x5a0)]??[];if(_0x2c1a68['length']===0x0)break;const _0x53f880=_0x45a1b4;for(let _0xa4f3a6=0x0;_0xa4f3a6<_0x2c1a68[_0x65ce3d(0x489,0x6c8,_0x3193a2._0x3e7db7,_0x3193a2._0x5d6b29)];_0xa4f3a6++){const _0x4d3d5d=_0x2c1a68[_0xa4f3a6];if(!_0x4d3d5d)continue;const _0x4fc3d9=_0x4d3d5d['link']||_0x4d3d5d['image']?.[_0x65ce3d(0x50a,_0x3193a2._0x2e8674,_0x3193a2._0x501bd4,0x57d)]||'',_0xced891=_0x4d3d5d[_0x62418f(_0x3193a2._0x2f1df1,0x3d6,_0x3193a2._0x210f2a,_0x3193a2._0x1e5f17)]||_0x4d3d5d['image']?.[_0x65ce3d(_0x3193a2._0x3bb4e5,0x758,0x811,0x6e3)]||_0x65ce3d(0x458,_0x3193a2._0x32f422,0x64e,0x560),_0x3065a9=_0x4d3d5d[_0x65ce3d(0x41b,_0x3193a2._0x428583,_0x3193a2._0xe14987,_0x3193a2._0x6ab9e1)]||_0x4d3d5d['htmlSnippet']?.[_0x65ce3d(0x4da,_0x3193a2._0x5c9b03,_0x3193a2._0x271266,0x48d)](/<[^>]+>/g,''),_0x5521a8=_0x4d3d5d[_0x62418f(_0x3193a2._0x3a6a0e,_0x3193a2._0x4d84a8,_0x3193a2._0x429959,_0x3193a2._0x35dd46)]?.[_0x65ce3d(0x528,_0x3193a2._0x49c7be,_0x3193a2._0x3b5760,_0x3193a2._0x478ec7)]?.[0x0]??{};let _0x455928;try{_0x455928=new URL(_0x4fc3d9)['host'];}catch{_0x455928=null;}_0x8ad7cb[_0x65ce3d(_0x3193a2._0x44cc1b,0x4cc,0x5fe,0x4f1)]({'title':_0xced891,'url':normalizeUrl(_0x4fc3d9),'snippet':_0x3065a9??null,'displayUrl':_0x455928,'favicon':null,'publishedAt':_0x5521a8[_0x62418f(_0x3193a2._0x308dc8,-0x18f,-0x17c,-0x66)]||_0x5521a8['og:updated_time']||null,'source':{'engine':_0x65ce3d(0x816,0x546,_0x3193a2._0x2351ab,_0x3193a2._0x3866db),'rank':_0x53f880+_0xa4f3a6+0x1}});}_0x45a1b4+=_0x2c1a68[_0x62418f(_0x3193a2._0x3676c1,_0x3193a2._0x2d006e,_0x3193a2._0x1b85c3,_0x3193a2._0x12e504)],_0x49ccba+=_0x2c1a68[_0x62418f(0x4a,_0x3193a2._0x1281a4,0x14a,0xde)];if(_0x2c1a68['length']<_0x3a7a83)break;}return _0x8ad7cb[_0x65ce3d(_0x3193a2._0x34bcdf,0x65f,_0x3193a2._0x301cb4,_0x3193a2._0x244b51)](0x0,_0x4c30e0);}function isGoogleCseEngine(_0x2ff1e8){const _0x8826c5={_0x246208:0x74,_0x1c66ac:0x42,_0x394458:0x131},_0x299c84={_0x4e1684:0x497,_0x41ad66:0x1f3};function _0x1fdd3c(_0x3af0a4,_0x2d7645,_0x3a0a91,_0x211a29){return _0xab9513(_0x3a0a91- -_0x299c84._0x4e1684,_0x2d7645-0x7f,_0x3a0a91-_0x299c84._0x41ad66,_0x211a29);}return _0x1fdd3c(-0x67,-_0x8826c5._0x246208,_0x8826c5._0x1c66ac,-_0x8826c5._0x394458)in _0x2ff1e8;}function isOllamaEngine(_0x204efa){return'apiKey'in _0x204efa;}function isTavilyEngine(_0x2629b5){return'tavilyApiKey'in _0x2629b5;}function createWebSearchTool(_0x3fe39f){const _0xe8eb40={_0xba6bbf:0x36b,_0x552026:0x38,_0x53b6cb:0x18e,_0xe0c9d5:0xd7,_0x5520cf:0x293,_0x451c03:0x24f,_0x5b780b:0x148,_0x36d9c8:0x33f,_0x3df595:0x254,_0x508055:0x1cd,_0x4eb0ff:0x337,_0x3de2f8:0x374,_0x3b9388:0x244,_0x4b7efb:0xae,_0x873c18:0x467,_0x5d0907:0x257,_0x155e28:0x4ee,_0x21a1f0:0x36f,_0x3db352:0x315,_0x447e92:0x29c,_0x4569a9:0x234,_0x1b8dd5:0x261,_0x581ec3:0x495,_0x40badd:0x404,_0x40c236:0x281,_0x1a2a98:0x4d,_0x994092:0x53,_0x1621d4:0x1d8,_0x41a89a:0x1aa,_0x5258e5:0x51,_0x23f956:0x16b,_0x1bbb5c:0x70,_0x5bdeef:0x1ce,_0x294fbc:0x11c},_0x411c42={_0x18e6e8:0x51d,_0x6796ed:0x49a,_0x539928:0x660,_0x4f7f33:0x54d,_0x4f7ab2:0x555,_0x126ac5:0x4bd,_0x47dd6d:0x59e,_0x47bbae:0x516,_0x42d803:0x4be,_0x37c254:0x4e1,_0x1ba636:0x410,_0x5b356d:0x445,_0x4ee77f:0x2ff,_0x47237f:0x28a,_0x5b5535:0x604,_0x15479c:0x5c7,_0x2b12ac:0x553,_0xa860e0:0x462,_0x7ad703:0x47f,_0xf6764e:0x4d9,_0xea5348:0x477,_0x18df7f:0x5c3,_0x512209:0x582,_0x41c6cf:0x498,_0x200209:0x3b7,_0x4ee57d:0x304,_0x38a5f:0x446,_0x27b203:0x3bb,_0x3a9512:0x450,_0x2daa49:0x41a,_0xf41ef1:0x505,_0x1a4eeb:0x85e,_0x37cfa6:0x78b,_0x6afefd:0x740,_0xa73d58:0x5e3,_0x52f399:0x7cb,_0x25378f:0x603,_0x4c7223:0x484,_0x3ef418:0x5a6,_0x29b26f:0x4a1,_0xb0135:0x5a0,_0x486569:0x469,_0x11faef:0x2fb,_0x4e1b62:0x44d,_0x3e9ae3:0x4a8,_0x1fb715:0x47c,_0x60b64f:0x5b6,_0x43ba24:0x655,_0xf4d4c:0x6a0,_0x250631:0x699,_0x50901d:0x502,_0x3ee65e:0x51f,_0x53d89e:0x518,_0x1256dc:0x461,_0x48a13a:0x68f,_0x4a6980:0x447,_0xbce837:0x6e2,_0x583b78:0x727,_0x33fab6:0x786,_0x3e4d2a:0x748,_0x2f7d75:0x72e,_0x54e925:0x7ff,_0x11f527:0x881,_0x2c231a:0x6b0,_0x2d8038:0x31a,_0x2eb61c:0x6f0,_0x73a70d:0x6c7,_0x52568a:0x4cc,_0x1ce6fd:0x4c7,_0x2ce53f:0x4f4,_0x479548:0x410,_0x3019b2:0x5be,_0xd120b2:0x4d3,_0x200d8f:0x65c,_0x1040c0:0x625,_0x25b510:0x6cc,_0x1e2a0f:0x6a3,_0x249bc5:0x4b1,_0x261399:0x5e2,_0x4c4161:0x609,_0x3d3713:0x2e8,_0x14b6c9:0x36c,_0x48f60e:0x4b7,_0x3290c2:0x406,_0x133470:0x740,_0xb77e7e:0x77d},_0x2a2a2e={_0x416312:0xab,_0x39ac84:0x1ad,_0x5d375b:0xa2},_0x3dd12b={_0x136f9c:0x112,_0x58db29:0x6cb},_0x1c4943={_0x709873:0x328,_0x358cc9:0x107,_0x126962:0x13f};if(!_0x3fe39f['engines']||_0x3fe39f[_0x576262(0x38f,_0xe8eb40._0xba6bbf,0x3d4,0x264)][_0x458555(-0xea,-_0xe8eb40._0x552026,-_0xe8eb40._0x53b6cb,-_0xe8eb40._0xe0c9d5)]===0x0)throw new Error(_0x458555(-0x17c,-_0xe8eb40._0x5520cf,-0x1f1,-0x1b9));const _0x477d8e=_0x3fe39f[_0x576262(_0xe8eb40._0x451c03,0x1ba,_0xe8eb40._0x5b780b,0x312)]??_0x576262(_0xe8eb40._0x36d9c8,_0xe8eb40._0x3df595,_0xe8eb40._0x508055,0x393);function _0x576262(_0x49bc93,_0x3de010,_0x1b82bd,_0x5dbf92){return _0xab9513(_0x3de010- -_0x1c4943._0x709873,_0x3de010-_0x1c4943._0x358cc9,_0x1b82bd-_0x1c4943._0x126962,_0x5dbf92);}const _0x4928ae=_0x3fe39f[_0x576262(_0xe8eb40._0x4eb0ff,_0xe8eb40._0x3de2f8,0x460,_0xe8eb40._0x3b9388)];function _0x458555(_0x4cbd57,_0x95a246,_0x1d90e9,_0x373fd1){return _0x32992d(_0x4cbd57-0x1b9,_0x373fd1,_0x1d90e9-_0x3dd12b._0x136f9c,_0x4cbd57- -_0x3dd12b._0x58db29);}return defineTool({'name':_0x477d8e,'description':_0x458555(0x2f,-_0xe8eb40._0x4b7efb,-0xde,0xf6),'inputSchema':{'type':'object','properties':{'description':{'type':_0x576262(0x2e2,0x351,_0xe8eb40._0x873c18,_0xe8eb40._0x5d0907)},'query':{'type':'string'},'count':{'type':_0x576262(0x362,0x36f,0x4b1,_0xe8eb40._0x155e28)},'offset':{'type':_0x576262(0x273,_0xe8eb40._0x21a1f0,0x32f,_0xe8eb40._0x3db352)},'domains':{'type':_0x576262(_0xe8eb40._0x447e92,0x37e,_0xe8eb40._0x4569a9,_0xe8eb40._0x1b8dd5),'items':{'type':_0x576262(0x466,0x351,_0xe8eb40._0x581ec3,0x2c7)}},'recencyDays':{'type':_0x576262(_0xe8eb40._0x40badd,_0xe8eb40._0x21a1f0,_0xe8eb40._0x40c236,0x396)},'lang':{'type':_0x458555(-_0xe8eb40._0x1a2a98,0x16,-0x74,_0xe8eb40._0x994092)},'region':{'type':'string'},'safe':{'type':_0x458555(-_0xe8eb40._0x1621d4,-0xe4,-0x25b,-0x340)},'type':{'type':_0x458555(-0x4d,-_0xe8eb40._0x41a89a,-_0xe8eb40._0x5258e5,-_0xe8eb40._0x23f956)},'hydrateMeta':{'type':'boolean'}},'required':[_0x458555(-_0xe8eb40._0x1bbb5c,0xfb,-_0xe8eb40._0x5bdeef,-_0xe8eb40._0x294fbc)]},async *'execute'(_0x31b2c8,_0x171322){const _0x5cc64a={_0x2ab625:0x6cc,_0xd4f797:0x1ae},_0x44778e={_0x295aad:0x530,_0x1fab2d:0x555,_0x2aa15a:0x5af,_0x4697f8:0x4d7,_0x1bc4b2:0x473,_0x163c74:0x4c0,_0x5f2c53:0x72e,_0x4c4803:0x88a,_0x524fbd:0x78e,_0x22fa34:0x779,_0x4dce4c:0x4f0},_0x501652={_0x4e430d:0xae,_0x46d9e6:0x9c},_0x384239=_0x31b2c8[_0x5cbd5a(0x356,_0x411c42._0x18e6e8,_0x411c42._0x6796ed,0x4db)][_0x5cbd5a(_0x411c42._0x539928,_0x411c42._0x4f7f33,_0x411c42._0x4f7ab2,0x557)]();if(!_0x384239)throw new ToolExecutionError(_0x4d44d5(0x717,_0x411c42._0x126ac5,_0x411c42._0x47dd6d,_0x411c42._0x47bbae));const _0x389b34={'query':_0x384239,'count':Math[_0x5cbd5a(0x425,0x4e3,_0x411c42._0x42d803,0x446)](0x1,Math[_0x5cbd5a(_0x411c42._0x37c254,0x4b7,0x33b,_0x411c42._0x1ba636)](0x32,Math[_0x5cbd5a(_0x411c42._0x5b356d,_0x411c42._0x4ee77f,0x3d1,0x477)](_0x31b2c8[_0x5cbd5a(0x2f3,0x309,_0x411c42._0x47237f,0x3c8)]??0xa))),'offset':Math[_0x4d44d5(0x50a,_0x411c42._0x5b5535,_0x411c42._0x15479c,_0x411c42._0x2b12ac)](0x0,Math[_0x5cbd5a(_0x411c42._0xa860e0,_0x411c42._0x7ad703,_0x411c42._0xf6764e,_0x411c42._0xea5348)](_0x31b2c8['offset']??0x0)),'domains':_0x31b2c8[_0x5cbd5a(_0x411c42._0x18df7f,_0x411c42._0x512209,_0x411c42._0x41c6cf,0x5c7)]??[],'recencyDays':Math[_0x5cbd5a(_0x411c42._0x200209,0x431,_0x411c42._0x4ee57d,_0x411c42._0x38a5f)](0x0,Math[_0x5cbd5a(0x346,_0x411c42._0x47bbae,0x50f,0x477)](_0x31b2c8[_0x5cbd5a(0x3e6,0x38b,_0x411c42._0x27b203,0x480)]??0x0)),'lang':_0x31b2c8['lang']??'en','region':_0x31b2c8[_0x5cbd5a(0x451,_0x411c42._0x3a9512,_0x411c42._0x2daa49,_0x411c42._0xf41ef1)]??'','safe':_0x31b2c8['safe']??!![],'type':normalizeType(_0x31b2c8['type']),'hydrateMeta':_0x31b2c8[_0x4d44d5(_0x411c42._0x1a4eeb,_0x411c42._0x37cfa6,_0x411c42._0x6afefd,0x604)]??![]};let _0x2b1d5c=[],_0x124ced='unknown';for(const _0x12e3e2 of _0x3fe39f[_0x4d44d5(0x6e6,_0x411c42._0xa73d58,0x699,_0x411c42._0x52f399)]){try{if(isGoogleCseEngine(_0x12e3e2))_0x2b1d5c=await searchGoogleCse(_0x12e3e2,_0x389b34,_0x171322[_0x5cbd5a(0x713,_0x411c42._0x25378f,_0x411c42._0x4c7223,_0x411c42._0x3ef418)]),_0x124ced=_0x5cbd5a(_0x411c42._0x29b26f,0x505,_0x411c42._0xb0135,0x595);else{if(isOllamaEngine(_0x12e3e2)){const _0x264fb3=await searchOllama(_0x12e3e2,_0x389b34,_0x171322['signal']);_0x2b1d5c=_0x264fb3['items'],_0x124ced=_0x264fb3[_0x5cbd5a(0x2ca,_0x411c42._0x486569,0x475,_0x411c42._0x11faef)];}else{if(isTavilyEngine(_0x12e3e2)){const _0xe3903f=await searchTavily(_0x12e3e2,_0x389b34,_0x171322['signal']);_0x2b1d5c=_0xe3903f[_0x5cbd5a(0x38d,0x532,_0x411c42._0x4e1b62,0x494)],_0x124ced=_0xe3903f[_0x4d44d5(0x467,_0x411c42._0x3e9ae3,_0x411c42._0x1fb715,0x3b9)];}}}if(_0x2b1d5c[_0x4d44d5(0x67d,0x49e,0x5e2,_0x411c42._0x60b64f)]>0x0)break;}catch(_0x1e45f0){if(_0x12e3e2===_0x3fe39f[_0x4d44d5(_0x411c42._0x43ba24,_0x411c42._0xf4d4c,_0x411c42._0x250631,0x524)][_0x3fe39f[_0x5cbd5a(0x465,_0x411c42._0x50901d,_0x411c42._0x3ee65e,_0x411c42._0x53d89e)][_0x5cbd5a(0x583,0x3e7,0x3c2,_0x411c42._0x1256dc)]-0x1])throw _0x1e45f0;}}_0x389b34['hydrateMeta']&&_0x2b1d5c[_0x4d44d5(0x5e1,0x716,0x5e2,_0x411c42._0x48a13a)]>0x0&&(_0x2b1d5c=await hydrateResults(_0x2b1d5c,_0x389b34[_0x4d44d5(0x3b7,_0x411c42._0x4a6980,0x4c7,0x5bf)],_0x171322[_0x4d44d5(0x5a2,_0x411c42._0xbce837,_0x411c42._0x583b78,_0x411c42._0x33fab6)],_0x4928ae));const _0xe382e5=new Set();_0x2b1d5c=_0x2b1d5c['filter'](_0x2d2348=>{const _0x2894cc=_0x2d2348[_0x3b3270(_0x44778e._0x295aad,_0x44778e._0x1fab2d,_0x44778e._0x2aa15a,0x543)][_0x3b3270(0x5b6,_0x44778e._0x4697f8,_0x44778e._0x1bc4b2,_0x44778e._0x163c74)]();if(!_0x2894cc||_0xe382e5[_0x63e75a(_0x44778e._0x5f2c53,_0x44778e._0x4c4803,_0x44778e._0x524fbd,_0x44778e._0x22fa34)](_0x2894cc))return![];function _0x63e75a(_0x35ac04,_0x70f9cd,_0xaf07a6,_0x5052fc){return _0x5cbd5a(_0x35ac04-0xc2,_0x35ac04,_0xaf07a6-0x37,_0xaf07a6-0x204);}_0xe382e5[_0x3b3270(0x57f,0x501,_0x44778e._0x4dce4c,0x48e)](_0x2894cc);function _0x3b3270(_0x26f364,_0xdca996,_0x23804d,_0x202bf4){return _0x4d44d5(_0x26f364-_0x501652._0x4e430d,_0x26f364,_0x202bf4- -_0x501652._0x46d9e6,_0x202bf4-0x3d);}return!![];}),_0x2b1d5c=_0x2b1d5c['map']((_0x2f850f,_0x1c544e)=>({..._0x2f850f,'source':{..._0x2f850f[_0x5cbd5a(0x570,0x5d1,0x371,0x469)],'rank':_0x1c544e+0x1}}));const _0x3d15b7={};if(_0x389b34[_0x4d44d5(0x819,0x669,_0x411c42._0x3e4d2a,_0x411c42._0x2f7d75)]['length']>0x0)_0x3d15b7[_0x4d44d5(_0x411c42._0x54e925,_0x411c42._0x11f527,_0x411c42._0x3e4d2a,0x68a)]=_0x389b34[_0x5cbd5a(0x70a,_0x411c42._0x2c231a,0x464,_0x411c42._0x15479c)];if(_0x389b34[_0x5cbd5a(0x332,_0x411c42._0x2d8038,0x408,0x480)]>0x0)_0x3d15b7[_0x4d44d5(_0x411c42._0x2eb61c,_0x411c42._0x73a70d,0x601,0x6d5)]=_0x389b34['recencyDays'];if(_0x389b34['lang']!=='en')_0x3d15b7['lang']=_0x389b34[_0x4d44d5(_0x411c42._0x52568a,0x498,_0x411c42._0x1ce6fd,0x569)];function _0x4d44d5(_0x3d686f,_0x2ab31a,_0x913a50,_0x36036c){return _0x458555(_0x913a50-_0x5cc64a._0x2ab625,_0x2ab31a-0x22,_0x913a50-_0x5cc64a._0xd4f797,_0x2ab31a);}if(_0x389b34['region'])_0x3d15b7[_0x5cbd5a(_0x411c42._0x2ce53f,_0x411c42._0x479548,0x385,0x505)]=_0x389b34['region'];yield createToolOutput(formatResults(_0x2b1d5c),{'engine':_0x124ced,'count':_0x2b1d5c[_0x4d44d5(_0x411c42._0x3019b2,0x555,0x5e2,_0x411c42._0xd120b2)],'items':_0x2b1d5c,'query':_0x389b34[_0x4d44d5(0x779,0x5fd,_0x411c42._0x200d8f,_0x411c42._0x1040c0)],...Object[_0x4d44d5(0x64d,_0x411c42._0x25b510,0x73d,_0x411c42._0x1e2a0f)](_0x3d15b7)[_0x4d44d5(_0x411c42._0x249bc5,0x577,_0x411c42._0x261399,_0x411c42._0x4c4161)]>0x0?{'appliedFilters':_0x3d15b7}:{},'offset':_0x389b34[_0x5cbd5a(_0x411c42._0x3d3713,0x3c8,0x4ce,_0x411c42._0x14b6c9)],'totalRequested':_0x389b34[_0x5cbd5a(_0x411c42._0x48f60e,0x285,_0x411c42._0x3290c2,0x3c8)],'hydrated':_0x389b34[_0x4d44d5(0x67d,0x642,_0x411c42._0x133470,_0x411c42._0xb77e7e)]});function _0x5cbd5a(_0x5b149a,_0x25983b,_0x2676f3,_0x39302b){return _0x576262(_0x5b149a-_0x2a2a2e._0x416312,_0x39302b-_0x2a2a2e._0x39ac84,_0x2676f3-_0x2a2a2e._0x5d375b,_0x25983b);}return void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|
|
1
|
+
(function(_0x19d07a,_0x6f6470){const _0x4daef7={_0x875422:0x1af,_0x215b33:0x2b,_0x2bd0f9:0xc4,_0x509f53:0x318,_0x4a6c7a:0x2f4,_0x264275:0x26c,_0x316f9d:0x280,_0x3e0a03:0x261,_0x292a6f:0x101,_0x3cf7aa:0x12f,_0x52713f:0x1cd,_0x3a85d7:0x1cb,_0x16eb4d:0x37e,_0x5901d8:0x4b7,_0x1a39a3:0x297,_0x5723fd:0x566,_0x467f6f:0x593,_0xbff1ac:0x308,_0x3e7fb2:0x38a,_0x4f4a73:0x29e,_0x2934f2:0x2ce,_0x210538:0x33a,_0x38f295:0x111,_0x267a18:0x8e,_0x585d5e:0x146},_0x25f5bb=_0x19d07a();function _0x5b1bf3(_0x49e82e,_0x24cb48,_0x9366f9,_0x2fe2b1){return _0x16af(_0x9366f9-0x15d,_0x49e82e);}function _0x1b6eee(_0x147d9a,_0x2b1c73,_0x3f574,_0x17154c){return _0x16af(_0x17154c- -0xbf,_0x2b1c73);}while(!![]){try{const _0x4ff590=-parseInt(_0x1b6eee(_0x4daef7._0x875422,-_0x4daef7._0x215b33,0xa6,_0x4daef7._0x2bd0f9))/0x1+-parseInt(_0x1b6eee(_0x4daef7._0x509f53,0x414,0x179,_0x4daef7._0x4a6c7a))/0x2*(-parseInt(_0x1b6eee(_0x4daef7._0x264275,_0x4daef7._0x316f9d,_0x4daef7._0x3e0a03,0x30e))/0x3)+-parseInt(_0x1b6eee(-0x35,_0x4daef7._0x292a6f,0x77,_0x4daef7._0x3cf7aa))/0x4*(parseInt(_0x5b1bf3(_0x4daef7._0x52713f,_0x4daef7._0x3a85d7,0x2d1,_0x4daef7._0x16eb4d))/0x5)+-parseInt(_0x1b6eee(_0x4daef7._0x5901d8,_0x4daef7._0x1a39a3,0x2c3,0x37d))/0x6*(parseInt(_0x5b1bf3(0x637,_0x4daef7._0x5723fd,_0x4daef7._0x467f6f,0x56a))/0x7)+-parseInt(_0x5b1bf3(_0x4daef7._0xbff1ac,0x241,_0x4daef7._0x3e7fb2,0x266))/0x8+parseInt(_0x1b6eee(0x2b3,0x1db,_0x4daef7._0x4f4a73,_0x4daef7._0x2934f2))/0x9*(parseInt(_0x5b1bf3(0x336,_0x4daef7._0x210538,0x467,0x4a4))/0xa)+parseInt(_0x1b6eee(_0x4daef7._0x38f295,_0x4daef7._0x267a18,0x22e,_0x4daef7._0x585d5e))/0xb;if(_0x4ff590===_0x6f6470)break;else _0x25f5bb['push'](_0x25f5bb['shift']());}catch(_0x463acc){_0x25f5bb['push'](_0x25f5bb['shift']());}}}(_0x892d,0xdfede));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 _0x4c748a from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x26f978(0x368,0x1b4,0x325,0x2c6),'.js':_0x26f978(0x2d,0x20b,0x183,0x75),'.jsx':'javascriptreact','.mjs':_0x199ce4(-0xff,-0x24f,0x5f,0x1a),'.cjs':_0x199ce4(-0xff,0x70,-0x11b,-0x133),'.mts':_0x199ce4(0xf,0x138,0x166,-0x2c),'.cts':_0x26f978(0x1a0,0x214,0x291,0x123),'.json':_0x26f978(0x2c1,0x1fb,0x303,0x3fe),'.jsonc':_0x26f978(0x181,0xe8,0x1bc,0x2c2)};function getLanguageId(_0xf1ae9c){const _0x461b98={_0x22d8df:0x6a8,_0x5ae9b5:0x90},_0x18bc5d={_0x2c8918:0x54,_0x10d3ed:0x98,_0x3a2bd1:0x236},_0x59e9ae={_0x1fd448:0xb3,_0x3d1e98:0x3d};function _0x359d45(_0x355ff7,_0x428c5a,_0xb9f60,_0x4a087e){return _0x26f978(_0x355ff7-_0x59e9ae._0x1fd448,_0x428c5a-_0x59e9ae._0x3d1e98,_0x428c5a-0x393,_0xb9f60);}function _0x4d4a9d(_0x219656,_0xa59d5d,_0x4c6078,_0x50632c){return _0x26f978(_0x219656-_0x18bc5d._0x2c8918,_0xa59d5d-_0x18bc5d._0x10d3ed,_0xa59d5d- -_0x18bc5d._0x3a2bd1,_0x219656);}return EXTENSION_TO_LANGUAGE[_0x4c748a[_0x359d45(_0x461b98._0x22d8df,0x6e1,0x814,0x5d7)](_0xf1ae9c)[_0x4d4a9d(_0x461b98._0x5ae9b5,0x10b,0x76,-0x4f)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x1248c1){const _0xb74553={_0x3becb3:0x109,_0x27dcbf:0x13d},_0x4598de={_0x1defae:0x7c,_0x3e21d2:0x142};function _0x1215d6(_0x197164,_0x39e1c2,_0x929dca,_0x222658){return _0x199ce4(_0x39e1c2-_0x4598de._0x1defae,_0x39e1c2-_0x4598de._0x3e21d2,_0x222658,_0x222658-0x195);}return pathToFileURL(_0x1248c1)[_0x1215d6(-_0xb74553._0x3becb3,0x63,0x6b,_0xb74553._0x27dcbf)]();}function textDocumentPosition(_0x423e91){const _0x455320={_0x1c9431:0x156,_0x272f4d:0x8a,_0x55dc2b:0xe3},_0x195302={_0x4f6d1b:0x111,_0x5ec360:0x1e7,_0x47569d:0x20e};function _0x4f6009(_0x3f73ce,_0x312120,_0x4f30ab,_0x5ccc30){return _0x26f978(_0x3f73ce-_0x195302._0x4f6d1b,_0x312120-_0x195302._0x5ec360,_0x4f30ab- -_0x195302._0x47569d,_0x5ccc30);}return{'textDocument':{'uri':uriForPath(_0x423e91['file'])},'position':{'line':_0x423e91[_0x4f6009(-_0x455320._0x1c9431,_0x455320._0x272f4d,-_0x455320._0x55dc2b,0x6e)],'character':_0x423e91['character']}};}function normalizeLocations(_0x5ef66a){const _0xf22fbe={_0x19e37b:0xea,_0x342263:0xc8},_0xdd001b={_0x22db52:0x17};if(!_0x5ef66a)return[];function _0x3f27a2(_0x253ab2,_0x2b2e43,_0x2b776f,_0x44ac8d){return _0x199ce4(_0x44ac8d-0x191,_0x2b2e43-0x1de,_0x253ab2,_0x44ac8d-_0xdd001b._0x22db52);}return Array[_0x3f27a2(_0xf22fbe._0x19e37b,0x271,_0xf22fbe._0x342263,0x181)](_0x5ef66a)?_0x5ef66a:[_0x5ef66a];}async function createLspClient(_0x2a75e7){const _0x37b1c5={_0x3b971f:0x2f5,_0xd32a5:0x2fe,_0x3f5f4d:0x242,_0x1e3667:0x51a,_0x355c53:0x643,_0x41f9cb:0x1a3,_0x4e4424:0x18d,_0x18af1e:0x26a,_0x17775c:0x664,_0x157fed:0x3f5,_0x45f206:0x2ef,_0x316d13:0x1ad,_0x3c25b7:0x215,_0x5a6693:0x336,_0x1ac3c6:0x325,_0x595b53:0x23e,_0x563a05:0x337,_0x487076:0x3f8,_0x5e4d66:0x55d,_0xc3a4b8:0x4ca,_0x4c05cc:0x44f,_0x533398:0x509,_0x56e327:0x5dc,_0x1fc214:0x338,_0x2eb84f:0x3e7,_0x14caf7:0x2f8,_0x2b7474:0x36e,_0x8807eb:0x198,_0x20cf5d:0xde,_0x35fe2f:0x150,_0x485939:0x2b,_0x1d9b1b:0x7c,_0x354703:0xc2,_0x915844:0x2e5,_0x4b64c1:0x304,_0x2b850a:0x35f,_0x2603d0:0x478,_0x530008:0x411,_0x58df2e:0x67c,_0x3f2760:0xbc,_0x17cbe6:0x160},_0x2d114e={_0x12c144:0x344,_0x2d3f0d:0x78a,_0x123f37:0x69c,_0x11c72d:0x31c,_0x453434:0x42f,_0x185195:0x7a2,_0xcaa9d7:0x6ec,_0x49f9a7:0x61d},_0x1dfeef={_0xceb30a:0x15f,_0x29db80:0x1a6},_0x288c6d={_0x4caefa:0x33c,_0x5527b9:0x2d0,_0x4a30e6:0x3a5},_0x43820f={_0x2e6f1f:0x4a4,_0x66e756:0x64b,_0x55c65a:0x784,_0x474eb1:0x730,_0x48f553:0x5c0,_0x3b7fce:0x829,_0x2b3bcc:0x6ef},_0x854f3a={_0x4fcf9d:0x2b0,_0x4d4b58:0x16b},_0xb32889={_0x1ced88:0x522,_0x5d0eb4:0x463,_0x24d7c8:0x589,_0x52d4b9:0x305},_0x47d5b7={_0x2e60aa:0xc8},_0x3087b6={_0xd017d:0x41f,_0x198a7d:0x316},_0x2fbc73={_0x430a52:0x321,_0x24a274:0x20c,_0x3ea243:0x341},_0x38f728={_0x56e97f:0x476,_0x52dfdd:0x2f4,_0x5c810e:0x21d,_0x454663:0x157,_0x203151:0x16e},_0x2ea51d={_0xe12f1d:0x4e},_0x1f6063={_0x4cb875:0x1d9,_0x10f79c:0x223,_0x16a515:0x2fb,_0x76dae1:0x227,_0x1149f6:0xdb},_0x3ef3bb={_0x148bde:0x152},_0x527f2e={_0x143671:0x57b,_0x1e367e:0x548,_0x3c01ab:0x514,_0x185213:0x526,_0x3a29f1:0x3ae,_0x48c7c8:0x56c},_0x195961={_0x3c097f:0x1b9,_0x569d20:0x4e7},_0x19c422={_0x551f0d:0x3e6,_0x274512:0x35f,_0x25a7ef:0x2af},_0x4eb574={_0x28e166:0x3d6,_0x422150:0x4e7,_0x5464b3:0x8f,_0x551c65:0x226},_0x4d1933={_0x3eb8c3:0x30f,_0x368dd7:0x35c,_0x216d7d:0x299,_0x531468:0x4f9,_0x52a5a7:0x4c9},_0x5b94e8={_0x301ce6:0x282,_0x5053e5:0x53},_0x457990={_0x2d4135:0x690,_0xb8fe8e:0x4bb,_0x35bb05:0x581,_0x30c5ba:0x41a,_0x13a43a:0x48a,_0xf1df84:0x561,_0x13203e:0x2d6,_0x234a91:0x415},_0x3bb812={_0x604be7:0x7,_0x171339:0x246},_0x198b7e={_0x4c5d23:0x165},_0x479725={_0x2cfb02:0x19b,_0xa1170b:0x2e7,_0x36f220:0x5e,_0x1cb620:0x586,_0xc77feb:0x4b5,_0x14d2ee:0x42e,_0x30bc0e:0x27b,_0x43cedd:0x23,_0xd598c7:0x19b},_0x164fed={_0x55e9d3:0x3f,_0x4ef715:0x1cd},_0x8b69ec={_0x144b4f:0x10a,_0x425587:0x19b};function _0x4fdbe5(_0x144ac8,_0x4e3800,_0xa0836f,_0x2422b2){return _0x26f978(_0x144ac8-0x12,_0x4e3800-_0x8b69ec._0x144b4f,_0xa0836f-_0x8b69ec._0x425587,_0x144ac8);}const _0x336d66=_0x2a75e7[_0x3d18ef(0x30b,0x165,0x278,0x2b8)][_0x3d18ef(_0x37b1c5._0x3b971f,_0x37b1c5._0xd32a5,0x18d,_0x37b1c5._0x3f5f4d)]['stdout'],_0xc89003=_0x2a75e7[_0x4fdbe5(_0x37b1c5._0x1e3667,0x4eb,0x4f3,_0x37b1c5._0x355c53)][_0x3d18ef(0x271,_0x37b1c5._0x41f9cb,_0x37b1c5._0x4e4424,_0x37b1c5._0x18af1e)][_0x4fdbe5(0x574,_0x37b1c5._0x17775c,0x546,_0x37b1c5._0x157fed)];if(!_0x336d66||!_0xc89003)throw new Error(_0x4fdbe5(0x331,0x3bd,0x39a,0x433));const _0x25ebe4=createMessageConnection(new StreamMessageReader(_0x336d66),new StreamMessageWriter(_0xc89003)),_0x51165d=new Map(),_0x4ae23d=new Map();let _0x2e275b=![];_0x25ebe4[_0x3d18ef(_0x37b1c5._0x45f206,_0x37b1c5._0x316d13,0x316,0x1e1)](_0x3d18ef(0x5f,_0x37b1c5._0x3c25b7,0x195,0xc6),_0xa7c989=>{const _0x1f2613={_0x55e942:0x137,_0x1689ee:0x17};_0x51165d['set'](_0xa7c989[_0x779297(_0x479725._0x2cfb02,_0x479725._0xa1170b,_0x479725._0x36f220,0x100)],_0xa7c989['diagnostics']);function _0x779297(_0x28728d,_0x263fc9,_0x3a37c0,_0x5e29a6){return _0x3d18ef(_0x5e29a6,_0x263fc9-_0x164fed._0x55e9d3,_0x28728d-0xc0,_0x5e29a6-_0x164fed._0x4ef715);}const _0x1c8812=_0x4ae23d[_0x4c17ac(_0x479725._0x1cb620,_0x479725._0xc77feb,_0x479725._0x14d2ee,0x54a)](_0xa7c989[_0x779297(0x19b,0x194,_0x479725._0x30bc0e,_0x479725._0x43cedd)]);function _0x4c17ac(_0x405bd5,_0x72e239,_0x78374c,_0x36b884){return _0x4fdbe5(_0x36b884,_0x72e239-_0x1f2613._0x55e942,_0x72e239-0x1e9,_0x36b884-_0x1f2613._0x1689ee);}if(!_0x1c8812)return;_0x4ae23d['delete'](_0xa7c989[_0x779297(_0x479725._0xd598c7,0x1c6,0x1d2,0x113)]);for(const _0x4543be of _0x1c8812)_0x4543be();}),_0x25ebe4[_0x4fdbe5(0x388,0x479,0x364,_0x37b1c5._0x5a6693)]();function _0x3d18ef(_0x13c2d2,_0x47b0ec,_0x45f5a5,_0x59d616){return _0x26f978(_0x13c2d2-_0x198b7e._0x4c5d23,_0x47b0ec-0x17e,_0x45f5a5- -0xe0,_0x13c2d2);}const _0x3fad24=await _0x25ebe4[_0x4fdbe5(_0x37b1c5._0x1ac3c6,_0x37b1c5._0x595b53,0x30f,0x341)](_0x4fdbe5(0x1d7,0x30a,_0x37b1c5._0x563a05,_0x37b1c5._0x487076),{'processId':process[_0x4fdbe5(0x35a,_0x37b1c5._0x5e4d66,_0x37b1c5._0xc3a4b8,0x5a5)],'rootUri':uriForPath(_0x2a75e7['root']),'workspaceFolders':[{'uri':uriForPath(_0x2a75e7[_0x4fdbe5(_0x37b1c5._0x4c05cc,0x4ac,_0x37b1c5._0x533398,_0x37b1c5._0x56e327)]),'name':_0x2a75e7[_0x4fdbe5(0x373,_0x37b1c5._0x1fc214,0x369,_0x37b1c5._0x2eb84f)]['id']}],'initializationOptions':_0x2a75e7[_0x3d18ef(_0x37b1c5._0x14caf7,_0x37b1c5._0x2b7474,0x278,_0x37b1c5._0x8807eb)][_0x3d18ef(0xa5,0x8f,0x17e,0x1f1)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0x3d18ef(_0x37b1c5._0x20cf5d,0x86,_0x37b1c5._0x35fe2f,0x24)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x25ebe4[_0x3d18ef(-_0x37b1c5._0x485939,-_0x37b1c5._0x1d9b1b,_0x37b1c5._0x354703,-0x88)](_0x4fdbe5(_0x37b1c5._0x915844,_0x37b1c5._0x4b64c1,_0x37b1c5._0x2b850a,0x20a),{});const _0x104eeb={'serverId':_0x2a75e7['server']['id'],'root':_0x2a75e7[_0x4fdbe5(_0x37b1c5._0x2603d0,_0x37b1c5._0x530008,_0x37b1c5._0x533398,_0x37b1c5._0x58df2e)],'connection':_0x25ebe4,'diagnostics':_0x51165d,'capabilities':_0x3fad24[_0x3d18ef(0x8a,_0x37b1c5._0x3f2760,_0x37b1c5._0x17cbe6,0xcc)]??{},'notify':{async 'open'({path:_0x20c47d}){const _0x27d122={_0x442d74:0x122,_0x136a57:0x1d8};function _0x3516cd(_0xd847f2,_0xd88d2d,_0x47757e,_0x6490fc){return _0x3d18ef(_0x47757e,_0xd88d2d-_0x3bb812._0x604be7,_0xd847f2-_0x3bb812._0x171339,_0x6490fc-0x38);}function _0xdde5e3(_0xff876b,_0x2c6405,_0x3c681e,_0x408c1d){return _0x4fdbe5(_0xff876b,_0x2c6405-0x9b,_0x408c1d-_0x27d122._0x442d74,_0x408c1d-_0x27d122._0x136a57);}const _0x2c25c3=await readFile(_0x20c47d,_0xdde5e3(_0x457990._0x2d4135,0x4ad,_0x457990._0xb8fe8e,_0x457990._0x35bb05));_0x25ebe4['sendNotification'](_0xdde5e3(_0x457990._0x30c5ba,_0x457990._0x13a43a,0x44a,_0x457990._0xf1df84),{'textDocument':{'uri':uriForPath(_0x20c47d),'languageId':getLanguageId(_0x20c47d)??_0x3516cd(0x396,_0x457990._0x13203e,0x356,_0x457990._0x234a91),'version':0x1,'text':_0x2c25c3}});},async 'change'({path:_0x35e462,version:_0x2298af}){const _0x17866a={_0x38dd5b:0x18e},_0x5abb88=await readFile(_0x35e462,'utf8');function _0x5afc22(_0x40de8d,_0x306063,_0x343217,_0x10251c){return _0x4fdbe5(_0x343217,_0x306063-0x43,_0x10251c- -_0x17866a._0x38dd5b,_0x10251c-0x39);}_0x25ebe4[_0x5afc22(0x322,_0x5b94e8._0x301ce6,_0x5b94e8._0x5053e5,0x1af)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x35e462),'version':_0x2298af},'contentChanges':[{'text':_0x5abb88}]});},async 'close'({path:_0x30a67a}){const _0x4f4002={_0x23d906:0x1ae,_0x4ab8ad:0x1a9},_0x562d4e={_0x4f1ee8:0xe4,_0x12422d:0x182};function _0x4e2658(_0xc10bbc,_0x17b46e,_0x21b568,_0x154d62){return _0x4fdbe5(_0x17b46e,_0x17b46e-_0x562d4e._0x4f1ee8,_0x154d62-0x8e,_0x154d62-_0x562d4e._0x12422d);}function _0xe257a2(_0x17628f,_0x4e3214,_0x321e56,_0x2f9fed){return _0x3d18ef(_0x4e3214,_0x4e3214-_0x4f4002._0x23d906,_0x2f9fed-_0x4f4002._0x4ab8ad,_0x2f9fed-0x11b);}_0x25ebe4[_0x4e2658(_0x4d1933._0x3eb8c3,_0x4d1933._0x368dd7,0x459,0x3cb)](_0xe257a2(_0x4d1933._0x216d7d,_0x4d1933._0x531468,_0x4d1933._0x52a5a7,0x3be),{'textDocument':{'uri':uriForPath(_0x30a67a)}});}},'request':{async 'definition'(_0x2a8cdf){const _0x35a751={_0x50d3c5:0xf8},_0x21a59a={_0x3f5172:0x1d8};function _0x512dd5(_0x3626dc,_0x4c668f,_0x318517,_0x4ae26e){return _0x4fdbe5(_0x4ae26e,_0x4c668f-0xbe,_0x318517-_0x21a59a._0x3f5172,_0x4ae26e-0x145);}function _0x1e51aa(_0x3c3800,_0x5ee872,_0x1c6de7,_0x309f69){return _0x3d18ef(_0x309f69,_0x5ee872-_0x35a751._0x50d3c5,_0x5ee872- -0x1b7,_0x309f69-0xb9);}return normalizeLocations(await _0x25ebe4[_0x512dd5(_0x4eb574._0x28e166,0x47e,_0x4eb574._0x422150,0x56e)](_0x1e51aa(_0x4eb574._0x5464b3,0x11d,0x34,_0x4eb574._0x551c65),textDocumentPosition(_0x2a8cdf)));},async 'references'(_0x389a89){function _0x25b67a(_0x1bd749,_0x4e57e6,_0x3a7399,_0x3b679d){return _0x4fdbe5(_0x4e57e6,_0x4e57e6-0xcc,_0x3b679d- -0x60,_0x3b679d-0x17d);}return normalizeLocations(await _0x25ebe4[_0x25b67a(_0x19c422._0x551f0d,0x14b,_0x19c422._0x274512,_0x19c422._0x25a7ef)]('textDocument/references',{...textDocumentPosition(_0x389a89),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x2ea40d){const _0x511f60={_0x15601f:0x229};function _0x315564(_0xad0621,_0x187731,_0x151b3c,_0x4407e0){return _0x4fdbe5(_0x4407e0,_0x187731-0xbe,_0x151b3c- -_0x511f60._0x15601f,_0x4407e0-0x105);}function _0x2956d6(_0x5c6cda,_0xdd24ec,_0x86e72e,_0x16444e){return _0x3d18ef(_0xdd24ec,_0xdd24ec-_0x195961._0x3c097f,_0x5c6cda-_0x195961._0x569d20,_0x16444e-0x1b1);}return await _0x25ebe4[_0x2956d6(_0x527f2e._0x143671,_0x527f2e._0x1e367e,_0x527f2e._0x3c01ab,0x68d)](_0x2956d6(_0x527f2e._0x185213,_0x527f2e._0x3a29f1,_0x527f2e._0x48c7c8,0x46b),textDocumentPosition(_0x2ea40d))??null;},async 'documentSymbol'(_0x340bfd){function _0x15b088(_0x39fdc5,_0x58d9e4,_0x52f1cc,_0x310d7d){return _0x3d18ef(_0x39fdc5,_0x58d9e4-0x1ae,_0x52f1cc-0x5a,_0x310d7d-0x126);}function _0x478176(_0x1be434,_0x1c786f,_0x500b3d,_0x3dbbb8){return _0x4fdbe5(_0x500b3d,_0x1c786f-_0x3ef3bb._0x148bde,_0x1c786f- -0x117,_0x3dbbb8-0x40);}return await _0x25ebe4[_0x478176(_0x1f6063._0x4cb875,0x1f8,_0x1f6063._0x10f79c,_0x1f6063._0x16a515)](_0x15b088(_0x1f6063._0x76dae1,0x9c,_0x1f6063._0x1149f6,0x8f),{'textDocument':{'uri':uriForPath(_0x340bfd)}})??[];},async 'workspaceSymbol'(_0xcacb8c){function _0x408d34(_0xa8a650,_0x1d714f,_0x42c20e,_0x2d7be6){return _0x4fdbe5(_0x2d7be6,_0x1d714f-0xe2,_0x1d714f- -0x2db,_0x2d7be6-0x89);}function _0x8520a5(_0x5d8b76,_0x2900af,_0x180aee,_0x537c29){return _0x4fdbe5(_0x2900af,_0x2900af-0x86,_0x180aee-_0x2ea51d._0xe12f1d,_0x537c29-0x1a);}return await _0x25ebe4[_0x8520a5(_0x38f728._0x56e97f,_0x38f728._0x52dfdd,0x35d,0x3d8)](_0x408d34(_0x38f728._0x5c810e,_0x38f728._0x454663,_0x38f728._0x203151,0x19c),{'query':_0xcacb8c})??[];},async 'implementation'(_0xc2aa34){return normalizeLocations(await _0x25ebe4['sendRequest']('textDocument/implementation',textDocumentPosition(_0xc2aa34)));},async 'prepareCallHierarchy'(_0x519111){function _0x4a303f(_0x41e3c9,_0x2c9a10,_0x13310f,_0x8bc739){return _0x3d18ef(_0x41e3c9,_0x2c9a10-0xb4,_0x8bc739-0x2ad,_0x8bc739-0x15e);}return await _0x25ebe4[_0x4a303f(_0x2fbc73._0x430a52,_0x2fbc73._0x24a274,0x3fe,_0x2fbc73._0x3ea243)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x519111))??[];},async 'incomingCalls'(_0x5209fa){const _0x45f531={_0x3beb0c:0x296,_0x3d6e2e:0x189};function _0x4c6263(_0x5b10a0,_0xc7d662,_0x480118,_0x2bdba5){return _0x3d18ef(_0xc7d662,_0xc7d662-0x150,_0x480118-_0x45f531._0x3beb0c,_0x2bdba5-_0x45f531._0x3d6e2e);}return await _0x25ebe4[_0x4c6263(0x22d,_0x3087b6._0xd017d,0x32a,_0x3087b6._0x198a7d)]('callHierarchy/incomingCalls',{'item':_0x5209fa})??[];},async 'outgoingCalls'(_0x30bb91){const _0xedcb7={_0x62a50:0x76,_0x194e56:0x19a,_0x3aacf1:0xa7};function _0x313d44(_0x40c5b6,_0x4d9e07,_0x1e7d46,_0x74342){return _0x3d18ef(_0x1e7d46,_0x4d9e07-_0xedcb7._0x62a50,_0x40c5b6-_0xedcb7._0x194e56,_0x74342-_0xedcb7._0x3aacf1);}function _0x51f3c2(_0x3ad3df,_0x47b88c,_0x46f202,_0x45f86e){return _0x4fdbe5(_0x46f202,_0x47b88c-0x121,_0x47b88c-0x154,_0x45f86e-_0x47d5b7._0x2e60aa);}return await _0x25ebe4[_0x51f3c2(_0xb32889._0x1ced88,_0xb32889._0x5d0eb4,_0xb32889._0x24d7c8,0x557)](_0x313d44(0x261,0x33f,0x220,_0xb32889._0x52d4b9),{'item':_0x30bb91})??[];}},'waitForDiagnostics'({path:_0x5d0ef4,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x240bed={_0x1e3a38:0x232,_0x5e4cb:0x31b,_0x5a012a:0x1f7,_0x352e9f:0x106,_0x1f3011:0x124,_0x329a03:0xe9,_0x178619:0x2da,_0x4e107a:0x22a,_0x5db30e:0x386,_0x3da511:0x21f,_0x56800d:0x270},_0x56e36d={_0x5713f5:0x1d4,_0x429cfb:0x132},_0xea7817=uriForPath(_0x5d0ef4);function _0x3b2035(_0x1a3a0f,_0x3f9f89,_0x3993c9,_0x40ea59){return _0x3d18ef(_0x3993c9,_0x3f9f89-_0x56e36d._0x5713f5,_0x3f9f89-0x420,_0x40ea59-_0x56e36d._0x429cfb);}function _0x433fe2(_0x32593f,_0x132cb9,_0xefdd92,_0x2a4148){return _0x3d18ef(_0x2a4148,_0x132cb9-0xbd,_0x132cb9-_0x854f3a._0x4fcf9d,_0x2a4148-_0x854f3a._0x4d4b58);}if(_0x51165d[_0x433fe2(_0x288c6d._0x4caefa,0x374,0x46f,0x2ac)](_0xea7817))return Promise[_0x433fe2(_0x288c6d._0x5527b9,_0x288c6d._0x4a30e6,0x4ac,0x3fd)]();return new Promise(_0x5cd450=>{function _0x3f0bc5(_0x37e965,_0x42be6a,_0xe07ed3,_0x1996ca){return _0x3b2035(_0x37e965-0x2c,_0x1996ca-0x33,_0x42be6a,_0x1996ca-0x34);}const _0x141d49=setTimeout(()=>{const _0x31f9c5=_0x4ae23d[_0x3d0d2a(_0x240bed._0x1e3a38,_0x240bed._0x5e4cb,0x33e,0x389)](_0xea7817);_0x31f9c5?.[_0x5bb5fd(_0x240bed._0x5a012a,_0x240bed._0x352e9f,_0x240bed._0x1f3011,_0x240bed._0x329a03)](_0x1f0696);function _0x3d0d2a(_0x16cf21,_0x52782d,_0x4e7234,_0x5d7696){return _0x16af(_0x16cf21-0xa4,_0x52782d);}if(_0x31f9c5?.[_0x5bb5fd(0x293,0x405,0x27f,_0x240bed._0x178619)]===0x0)_0x4ae23d[_0x3d0d2a(_0x240bed._0x4e107a,_0x240bed._0x5db30e,_0x240bed._0x3da511,_0x240bed._0x56800d)](_0xea7817);function _0x5bb5fd(_0x1c3e8a,_0xdca901,_0x31ca44,_0x2aff31){return _0x16af(_0x1c3e8a-0x71,_0xdca901);}_0x5cd450();},timeoutMs),_0x1f0696=()=>{clearTimeout(_0x141d49),_0x5cd450();},_0x119662=_0x4ae23d[_0x3f0bc5(0x59c,0x3b4,0x33c,_0x43820f._0x2e6f1f)](_0xea7817)??new Set();_0x119662[_0x3f0bc5(_0x43820f._0x66e756,0x695,_0x43820f._0x55c65a,_0x43820f._0x474eb1)](_0x1f0696);function _0x393e4d(_0x487d8e,_0x225ef1,_0x17da65,_0xcf78a2){return _0x433fe2(_0x487d8e-0x60,_0xcf78a2- -0x1d5,_0x17da65-0x123,_0x17da65);}_0x4ae23d[_0x3f0bc5(_0x43820f._0x48f553,_0x43820f._0x3b7fce,0x805,_0x43820f._0x2b3bcc)](_0xea7817,_0x119662);});},async 'shutdown'(){if(_0x2e275b)return;function _0x38323c(_0x2579e3,_0x29772c,_0x12b667,_0x1c94b4){return _0x4fdbe5(_0x12b667,_0x29772c-_0x1dfeef._0xceb30a,_0x2579e3-0x21e,_0x1c94b4-_0x1dfeef._0x29db80);}function _0x24f1d2(_0x8e15e8,_0x4eb122,_0x66a5f7,_0x2edbdc){return _0x4fdbe5(_0x4eb122,_0x4eb122-0x16f,_0x66a5f7- -0x132,_0x2edbdc-0x8f);}_0x2e275b=!![];try{await _0x25ebe4[_0x24f1d2(_0x2d114e._0x12c144,0xb9,0x1dd,0x29d)](_0x38323c(0x6b8,0x760,0x81f,_0x2d114e._0x2d3f0d),null),_0x25ebe4['sendNotification']('exit');}catch{}finally{_0x25ebe4[_0x38323c(0x75a,0x6d5,0x600,_0x2d114e._0x123f37)](),_0x2a75e7['handle'][_0x24f1d2(0x25f,_0x2d114e._0x11c72d,0x2d6,_0x2d114e._0x453434)][_0x38323c(0x64f,_0x2d114e._0x185195,_0x2d114e._0xcaa9d7,_0x2d114e._0x49f9a7)]();}}};return _0x104eeb;}import{spawn as _0x2f5856}from'child_process';import{access as _0x75c00e}from'fs/promises';import _0x43ea12 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x52f918 from'os';import _0x562cbc from'path';import _0x45fe0a from'which';var installPromises=new Map();function sanitizePackageName(_0x5123e7){const _0x531b96={_0x862076:0x56,_0x6cd00c:0x14e},_0x4e0950={_0x4ebe77:0x48c,_0x2cdbad:0x145},_0xf85712={_0x5979fb:0x131,_0x11da63:0xec};function _0x9d2a9f(_0x48a3e0,_0x1a5153,_0x476fb8,_0x55fe24){return _0x199ce4(_0x1a5153- -0x71,_0x1a5153-_0xf85712._0x5979fb,_0x48a3e0,_0x55fe24-_0xf85712._0x11da63);}function _0x4e7c3e(_0x556fc3,_0x3432ed,_0x2f34a2,_0x9bab20){return _0x199ce4(_0x3432ed-_0x4e0950._0x4ebe77,_0x3432ed-_0x4e0950._0x2cdbad,_0x556fc3,_0x9bab20-0x11a);}return _0x5123e7[_0x9d2a9f(0x6c,-_0x531b96._0x862076,-0x81,0xa8)](/^@/,'')[_0x9d2a9f(-0x80,-0x56,-0x57,-_0x531b96._0x6cd00c)](/[/]/g,'__');}function binaryNameForPlatform(_0x2b557e){const _0x7e0ed4={_0x5015c5:0xf6,_0x609f:0xf,_0x875c83:0x3ff},_0x13fb0b={_0x3e99b9:0x48f,_0x19d4d2:0x56},_0x5dbc3b={_0x1ec9e1:0x1bf,_0x2b9237:0x35e};function _0x46609e(_0xd5cca1,_0x17ea7a,_0x3a9930,_0x539dc7){return _0x26f978(_0xd5cca1-0xc4,_0x17ea7a-_0x5dbc3b._0x1ec9e1,_0x3a9930- -_0x5dbc3b._0x2b9237,_0xd5cca1);}function _0x4fdb09(_0x1bbf3d,_0xb60b48,_0x57da32,_0x3963e7){return _0x199ce4(_0x57da32-_0x13fb0b._0x3e99b9,_0xb60b48-_0x13fb0b._0x19d4d2,_0x1bbf3d,_0x3963e7-0xba);}return process[_0x46609e(0x47,0x7e,-_0x7e0ed4._0x5015c5,_0x7e0ed4._0x609f)]===_0x4fdb09(0x4aa,0x315,_0x7e0ed4._0x875c83,0x424)?_0x2b557e+_0x4fdb09(0x571,0x45d,0x527,0x673):_0x2b557e;}async function exists(_0xae3b9f){try{return await access(_0xae3b9f),!![];}catch{return![];}}function runNpmInstall(_0x123f89,_0x4b8af1,_0x2dde8d){const _0x435b93={_0x554e9f:0x3c4,_0x5b0499:0x37e,_0x1b14d4:0x39f,_0x334174:0x300,_0x28d323:0x367,_0x153bfe:0x2cb,_0x259df1:0x3a7,_0x5962a0:0x4a8,_0x4374bb:0x57d,_0xef15b9:0x3c3,_0x5b4775:0x260};return new Promise(_0x13fa82=>{const _0x5c337d={_0x55cb6a:0x96};function _0xd33fac(_0x50fe90,_0x2f1f42,_0x25a3a1,_0x4479dc){return _0x16af(_0x25a3a1-0x33c,_0x50fe90);}const _0x2f8df6=spawn(_0x19b85f(0x3b7,_0x435b93._0x554e9f,_0x435b93._0x5b0499,_0x435b93._0x1b14d4),['install',_0x19b85f(0x26c,_0x435b93._0x334174,_0x435b93._0x28d323,_0x435b93._0x153bfe),_0x123f89,_0x4b8af1],{'env':_0x2dde8d,'stdio':_0x19b85f(0x236,0x35e,_0x435b93._0x259df1,0x293)});function _0x19b85f(_0x52444b,_0x7fa312,_0x302231,_0x210142){return _0x16af(_0x210142- -_0x5c337d._0x55cb6a,_0x302231);}_0x2f8df6['on'](_0xd33fac(_0x435b93._0x5962a0,_0x435b93._0x4374bb,0x61a,0x4bb),()=>_0x13fa82(![])),_0x2f8df6['on'](_0x19b85f(0x2ac,0x2fb,_0x435b93._0xef15b9,_0x435b93._0x5b4775),_0x366e79=>_0x13fa82(_0x366e79===0x0));});}function shouldDisableLspDownload(_0x3c394f=process[_0x199ce4(-0x3,0x16b,0xbc,0x37)]){const _0x35b086={_0x1018f5:0x9c,_0x4b3e71:0x122,_0x4ee52c:0x326,_0x413924:0x29f},_0x307d78={_0x47155a:0x10d,_0x12a56d:0x21f},_0x2be870={_0x46406e:0x99,_0x5e09cf:0x77},_0x462e00=_0x3c394f[_0x1cc04a(-0x81,_0x35b086._0x1018f5,0x7b,0x1da)]?.[_0x1cc04a(0x21c,0xd2,_0x35b086._0x4b3e71,0x1c)]();function _0x54e9ef(_0x5deb95,_0xde21ad,_0xbdb4aa,_0x4630c9){return _0x199ce4(_0xbdb4aa-0x1c1,_0xde21ad-_0x2be870._0x46406e,_0x5deb95,_0x4630c9-_0x2be870._0x5e09cf);}function _0x1cc04a(_0x464613,_0x24b505,_0x444446,_0x53700e){return _0x26f978(_0x464613-0x52,_0x24b505-_0x307d78._0x47155a,_0x444446- -_0x307d78._0x12a56d,_0x24b505);}return _0x462e00==='true'||_0x462e00==='1'||_0x462e00===_0x54e9ef(_0x35b086._0x4ee52c,0x3f1,_0x35b086._0x413924,0x360)||_0x462e00==='on';}function getLspPackageDir(_0x1de9b8){const _0x191171={_0x1f93a9:0xc5,_0x2795a1:0x95,_0x16d207:0x108,_0x15e04e:0x5a,_0x5d7589:0x172,_0x45667c:0x413},_0x1f299a={_0x45fb49:0x77,_0x1492d8:0x118},_0x79578c={_0x39db8a:0x3eb};function _0x502fb4(_0x38ce37,_0xe7de4b,_0x1f4efe,_0x4aede7){return _0x199ce4(_0x4aede7-_0x79578c._0x39db8a,_0xe7de4b-0x84,_0x1f4efe,_0x4aede7-0x91);}function _0x134e9a(_0x3d97bc,_0x42cb5a,_0x3797b2,_0x23109a){return _0x199ce4(_0x3d97bc- -_0x1f299a._0x45fb49,_0x42cb5a-_0x1f299a._0x1492d8,_0x42cb5a,_0x23109a-0xac);}return _0x562cbc[_0x134e9a(-_0x191171._0x1f93a9,-0x147,-0x232,-0x1fc)](_0x52f918['homedir'](),_0x134e9a(-0x8b,-0x185,-_0x191171._0x2795a1,-_0x191171._0x16d207),_0x134e9a(0x4b,0x121,0xa6,-_0x191171._0x15e04e),_0x502fb4(0x3e0,_0x191171._0x5d7589,_0x191171._0x45667c,0x2b7),sanitizePackageName(_0x1de9b8));}function getLspBinDir(_0xa3b3e4){const _0x2fab86={_0x5494a7:0x557,_0x158cb6:0x498,_0x37ec68:0x6dc,_0x1cf88a:0x382,_0x13ebc1:0x3c2,_0x5320c0:0x3aa},_0x34d5bd={_0x32604e:0x28c},_0x8cbe46={_0x2fad5d:0x187,_0x1bbe26:0x179};function _0x3b937c(_0x157f4e,_0x17c263,_0x278945,_0x3bdd40){return _0x26f978(_0x157f4e-_0x8cbe46._0x2fad5d,_0x17c263-_0x8cbe46._0x1bbe26,_0x157f4e-0x21c,_0x3bdd40);}function _0x21adfd(_0x3c4b19,_0x111e12,_0x8d83cf,_0x31ddc1){return _0x26f978(_0x3c4b19-0xb7,_0x111e12-0x73,_0x8d83cf-_0x34d5bd._0x32604e,_0x111e12);}return _0x562cbc['join'](getLspPackageDir(_0xa3b3e4),_0x21adfd(_0x2fab86._0x5494a7,_0x2fab86._0x158cb6,0x5d9,_0x2fab86._0x37ec68),_0x3b937c(_0x2fab86._0x1cf88a,0x486,_0x2fab86._0x13ebc1,_0x2fab86._0x5320c0));}async function findPackageBinary(_0x424d39,_0x71c08){const _0x809b34={_0x5e3369:0x191,_0x56f524:0x285,_0x485167:0x16,_0x169327:0xe},_0x11878f={_0x1cf8bc:0x87,_0x45c38c:0x9c},_0x522ea2={_0x294825:0xc7,_0x38f635:0x43};function _0x3e89d0(_0x8207e4,_0x2340b4,_0x15d5cc,_0x1e9f07){return _0x199ce4(_0x1e9f07-_0x522ea2._0x294825,_0x2340b4-_0x522ea2._0x38f635,_0x15d5cc,_0x1e9f07-0xf9);}function _0x5d520e(_0x2ef055,_0x5afae5,_0x219c07,_0x45d99b){return _0x26f978(_0x2ef055-_0x11878f._0x1cf8bc,_0x5afae5-_0x11878f._0x45c38c,_0x2ef055- -0x239,_0x45d99b);}let _0x586a37=_0x562cbc['resolve'](_0x71c08);const _0x30b43a=binaryNameForPlatform(_0x424d39);while(!![]){const _0x2f780a=_0x562cbc[_0x3e89d0(0x11a,0x42,_0x809b34._0x5e3369,0x79)](_0x586a37,_0x3e89d0(_0x809b34._0x56f524,_0x809b34._0x485167,0x2f7,0x192),'.bin',_0x30b43a);if(await exists(_0x2f780a))return _0x2f780a;const _0x33f75e=_0x562cbc[_0x5d520e(0x142,0xca,0xb5,-_0x809b34._0x169327)](_0x586a37);if(_0x33f75e===_0x586a37)return void 0x0;_0x586a37=_0x33f75e;}}async function findPathBinary(_0x57467c,_0x4b7b97){const _0x5bb972={_0x421b52:0x147,_0x4e0867:0x48,_0x4ab576:0x3ee,_0x172a6e:0x64a,_0x8b6785:0xb7,_0x1ab934:0x55a,_0x5aaa37:0x48b,_0x1b9876:0x354},_0x810802={_0xc85f74:0xd8},_0x15624c={_0x591b9b:0x112,_0x4f0835:0x44},_0x206bd1=getLspBinDir(_0x4b7b97),_0x2e179f=[_0x206bd1,process[_0x5ca85a(_0x5bb972._0x421b52,0x2a3,0x1a7,_0x5bb972._0x4e0867)][_0x1eb629(_0x5bb972._0x4ab576,0x4ff,_0x5bb972._0x172a6e,0x39c)]][_0x5ca85a(0x12,_0x5bb972._0x8b6785,0xee,0xd0)](Boolean)[_0x1eb629(0x5eb,_0x5bb972._0x1ab934,0x3ea,0x3de)](_0x562cbc[_0x1eb629(0x507,0x492,_0x5bb972._0x5aaa37,_0x5bb972._0x1b9876)]);function _0x1eb629(_0x1e1989,_0x6fa1e8,_0x13cfb7,_0x1a8864){return _0x26f978(_0x1e1989-_0x15624c._0x591b9b,_0x6fa1e8-_0x15624c._0x4f0835,_0x6fa1e8-0x326,_0x13cfb7);}function _0x5ca85a(_0xb21905,_0x562274,_0x1019e4,_0x2dd78f){return _0x26f978(_0xb21905-0x16a,_0x562274-0x1b3,_0x1019e4- -_0x810802._0xc85f74,_0x2dd78f);}try{return await _0x45fe0a(_0x57467c,{'path':_0x2e179f});}catch{return void 0x0;}}async function resolvePackageBinary(_0x2f7090){const _0x3c3b50={_0xc30214:0x388,_0x5af2a3:0x41c,_0x204b1f:0x47f,_0x7b4eac:0x38d,_0x8d3258:0x1ae,_0x407a5c:0x61,_0x41bde3:0x311,_0x20d17a:0x500,_0x3d705f:0x2f8,_0x303d69:0x57,_0x5d7dd0:0x26c,_0x25d1dc:0x177,_0x51dc3e:0x156,_0x26770a:0x18a},_0x3cd9e8={_0x28a7f2:0x163,_0x462c5d:0x190,_0x577c4e:0x325,_0x2dcaa6:0x33c,_0x1c33b4:0x269,_0x1a99a6:0x393,_0x2ab20c:0x6c7,_0x127774:0x661},_0x4762fe={_0x325463:0x40,_0x3c58b4:0x6},_0x276f69={_0x3e8829:0x109},_0x4de2dd={_0x412e3f:0xe4,_0x1db074:0x19c},_0x296808=_0x2f7090['binaryName']??_0x2f7090['packageName'],_0x3bf10b=await findPackageBinary(_0x296808,_0x2f7090[_0x22452c(_0x3c3b50._0xc30214,_0x3c3b50._0x5af2a3,_0x3c3b50._0x204b1f,_0x3c3b50._0x7b4eac)]);function _0x4b86a7(_0x849927,_0x171483,_0x83fba6,_0x270b91){return _0x199ce4(_0x83fba6-0x4bc,_0x171483-_0x4de2dd._0x412e3f,_0x171483,_0x270b91-_0x4de2dd._0x1db074);}if(_0x3bf10b)return _0x3bf10b;const _0x510d8a=await findPathBinary(_0x296808,_0x2f7090['packageName']);if(_0x510d8a)return _0x510d8a;const _0x12ae66=_0x2f7090['env']??process['env'];if(shouldDisableLspDownload(_0x12ae66))return void 0x0;const _0x1fcebd=getLspPackageDir(_0x2f7090[_0x22452c(_0x3c3b50._0x8d3258,0x189,_0x3c3b50._0x407a5c,_0x3c3b50._0x41bde3)]),_0x45b2b7=_0x2f7090[_0x4b86a7(0x4b1,_0x3c3b50._0x20d17a,0x3e6,_0x3c3b50._0x3d705f)]+':'+_0x296808;function _0x22452c(_0x3300cb,_0x5f1d84,_0x16a050,_0x21aec8){return _0x199ce4(_0x3300cb-0x284,_0x5f1d84-_0x276f69._0x3e8829,_0x16a050,_0x21aec8-0x76);}let _0x310ec9=installPromises[_0x22452c(0x133,_0x3c3b50._0x303d69,0x113,_0x3c3b50._0x5d7dd0)](_0x45b2b7);!_0x310ec9&&(_0x310ec9=((async()=>{const _0x3c8d3a={_0x359efc:0x12a,_0x499303:0x180};await mkdir(_0x1fcebd,{'recursive':!![]});function _0x2735ca(_0x1dac7d,_0x1b55cf,_0x25835d,_0x4e91ee){return _0x22452c(_0x1b55cf-0x40a,_0x1b55cf-_0x3c8d3a._0x359efc,_0x1dac7d,_0x4e91ee-_0x3c8d3a._0x499303);}const _0x4c768b=await runNpmInstall(_0x1fcebd,_0x2f7090[_0x329115(_0x3cd9e8._0x28a7f2,_0x3cd9e8._0x462c5d,0x1e1,_0x3cd9e8._0x577c4e)],_0x12ae66);if(!_0x4c768b)return void 0x0;function _0x329115(_0xe16d0,_0xab3ba,_0x2ac2e0,_0x59aa7e){return _0x4b86a7(_0xe16d0-_0x4762fe._0x325463,_0xab3ba,_0x2ac2e0- -0x205,_0x59aa7e-_0x4762fe._0x3c58b4);}const _0x5b7d9c=_0x562cbc[_0x329115(_0x3cd9e8._0x2dcaa6,0x1ff,_0x3cd9e8._0x1c33b4,_0x3cd9e8._0x1a99a6)](getLspBinDir(_0x2f7090[_0x2735ca(0x5ba,0x5b8,_0x3cd9e8._0x2ab20c,_0x3cd9e8._0x127774)]),binaryNameForPlatform(_0x296808));return await exists(_0x5b7d9c)?_0x5b7d9c:void 0x0;})()),installPromises['set'](_0x45b2b7,_0x310ec9));try{return await _0x310ec9;}catch{return void 0x0;}finally{installPromises[_0x22452c(0x12b,_0x3c3b50._0x25d1dc,_0x3c3b50._0x51dc3e,_0x3c3b50._0x26770a)](_0x45b2b7);}}var TYPESCRIPT_EXTENSIONS=['.ts','.tsx',_0x26f978(-0x24,0xf,0x156,0xe6),'.jsx',_0x199ce4(-0x150,-0x26b,-0x26c,-0x260),_0x26f978(0x503,0x392,0x3a8,0x46d),_0x199ce4(-0x13c,-0x16c,-0x136,-0x4f),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x199ce4(0x9a,-0xa2,0x11a,0xcf)],TYPESCRIPT_ROOT_MARKERS=[_0x26f978(0x2cb,0x449,0x32b,0x45f),'bun.lockb',_0x199ce4(-0x79,-0x6a,-0x1d9,0xf2),_0x26f978(0x36a,0x35f,0x273,0x170),'yarn.lock',_0x26f978(0x3b6,0x191,0x2ef,0x1fb),_0x199ce4(0x12,-0xea,0x68,0x122),_0x199ce4(-0x5f,0x11a,-0x47,0xda)],BIOME_ROOT_MARKERS=['biome.json',_0x26f978(0x279,0x134,0x2a8,0x3d3),_0x199ce4(0xa9,0x210,0x1fd,0x6f),_0x199ce4(-0x137,-0x7e,-0x16f,-0xcc),_0x199ce4(-0x79,-0xe9,-0x70,0xa7),_0x199ce4(-0xf,0x144,-0x45,0x2d),_0x199ce4(-0x112,0x3c,-0x27b,-0x244),_0x199ce4(-0x5f,-0xfd,-0xfb,0xb0)];async function exists2(_0x34310a){try{return await _0x75c00e(_0x34310a),!![];}catch{return![];}}async function findUp(_0x4327a9,_0x3f6345){const _0x2eddf9={_0x5e7736:0x6dc,_0x3f0028:0x665,_0x3d0b3b:0x7a1,_0x207657:0x562,_0x417814:0x651,_0x8df7f:0x584,_0x22fbeb:0x546},_0x15aa34={_0x74798:0x2f5},_0x38a1b0={_0x119a9a:0x12,_0x459654:0x17e};let _0x35a6b5=_0x43ea12['resolve'](_0x4327a9);function _0x230702(_0x283271,_0x31538e,_0x2029e5,_0x1e4e63){return _0x26f978(_0x283271-_0x38a1b0._0x119a9a,_0x31538e-_0x38a1b0._0x459654,_0x2029e5-0x317,_0x283271);}const _0x503c48=_0x43ea12[_0x230702(0x5e7,_0x2eddf9._0x5e7736,_0x2eddf9._0x3f0028,0x77f)](_0x35a6b5);if(_0x503c48)_0x35a6b5=_0x43ea12[_0x230702(_0x2eddf9._0x3d0b3b,0x803,0x692,_0x2eddf9._0x207657)](_0x35a6b5);function _0x33c23b(_0x19fe49,_0x140fac,_0x161469,_0x4be3cc){return _0x199ce4(_0x140fac-_0x15aa34._0x74798,_0x140fac-0xaf,_0x161469,_0x4be3cc-0xed);}while(!![]){for(const _0x21e66b of _0x3f6345){if(await exists2(_0x43ea12[_0x230702(_0x2eddf9._0x417814,_0x2eddf9._0x8df7f,0x54b,_0x2eddf9._0x22fbeb)](_0x35a6b5,_0x21e66b)))return _0x35a6b5;}const _0x3546b6=_0x43ea12['dirname'](_0x35a6b5);if(_0x3546b6===_0x35a6b5)return void 0x0;_0x35a6b5=_0x3546b6;}}async function hasDenoRoot(_0x34e58e){const _0x3939bf={_0x32889a:0x113,_0x3c4864:0x151,_0x1dcc0c:0x154,_0x1fbc22:0x229,_0x281db2:0x2cf,_0x3bd8df:0x148,_0x4d0bd7:0x24b},_0xf4bff7={_0x2c12be:0x4c,_0x4afc9d:0xbb},_0xd83cb0={_0x460319:0x5c,_0x5a47dc:0xc9};function _0x3afb2e(_0x54f243,_0x54bc83,_0x497d05,_0x335b41){return _0x26f978(_0x54f243-_0xd83cb0._0x460319,_0x54bc83-_0xd83cb0._0x5a47dc,_0x54f243- -0x77,_0x497d05);}function _0x1acb3b(_0x2147c1,_0x5d2a0c,_0x29bc9e,_0x3f21b7){return _0x199ce4(_0x5d2a0c-0x206,_0x5d2a0c-_0xf4bff7._0x2c12be,_0x3f21b7,_0x3f21b7-_0xf4bff7._0x4afc9d);}return await exists2(_0x43ea12[_0x3afb2e(0x1bd,_0x3939bf._0x32889a,_0x3939bf._0x3c4864,_0x3939bf._0x1dcc0c)](_0x34e58e,_0x3afb2e(0x2bd,0x41b,0x25b,_0x3939bf._0x1fbc22)))||await exists2(_0x43ea12['join'](_0x34e58e,_0x3afb2e(0x26c,_0x3939bf._0x281db2,_0x3939bf._0x3bd8df,_0x3939bf._0x4d0bd7)));}async function resolveTsserverPath(_0x4f3ce7){const _0x306749={_0x5011ae:0x312,_0x584b38:0xc1,_0x2e6f41:0x1f3,_0x4f775c:0x6d5,_0x3c98c0:0x656,_0x15f998:0x4ee,_0x5c8323:0x5c1,_0x37d07c:0x1a2,_0x161ce3:0x25f,_0x1258c7:0x355,_0x24ca42:0x479,_0xe5289b:0x4a9,_0x542b6a:0x2e7,_0x2833fc:0x3c0,_0x1de758:0x290,_0x829be8:0x2af,_0x39c0b3:0x252,_0x4afba1:0x561,_0x2d8d7a:0x67d,_0x52308b:0x348,_0x10bf3b:0x2fb,_0x4af660:0x16d,_0x3d0547:0x1d0,_0x1d5bee:0x34f,_0x14abcf:0x299,_0x1e4bd0:0x22a,_0x26c7d0:0x11f},_0x1d4d05={_0x1e11e9:0x10a,_0x2d257e:0x1ea},_0x2f985a={_0x39a5e9:0xaf};let _0x1faab6=_0x43ea12[_0x5e3239(_0x306749._0x5011ae,0x296,_0x306749._0x584b38,_0x306749._0x2e6f41)](_0x4f3ce7);function _0x21b606(_0x4cbecd,_0x56890a,_0x12ec75,_0x57c508){return _0x26f978(_0x4cbecd-_0x2f985a._0x39a5e9,_0x56890a-0x68,_0x12ec75-0x330,_0x56890a);}while(!![]){const _0x18e6bd=_0x43ea12[_0x21b606(0x466,0x44c,0x564,0x56b)](_0x1faab6,_0x21b606(0x52d,_0x306749._0x4f775c,0x67d,_0x306749._0x3c98c0),_0x21b606(0x533,_0x306749._0x15f998,_0x306749._0x5c8323,0x6bb),'lib',_0x5e3239(0x25d,0x263,_0x306749._0x37d07c,_0x306749._0x161ce3));if(await exists2(_0x18e6bd))return _0x18e6bd;const _0x12f64b=_0x43ea12[_0x5e3239(0x36c,_0x306749._0x1258c7,_0x306749._0x24ca42,0x399)](_0x1faab6);if(_0x12f64b===_0x1faab6)break;_0x1faab6=_0x12f64b;}const _0x45edc2=getLspPackageDir(_0x21b606(0x55a,0x6cd,0x5c1,_0x306749._0xe5289b));function _0x5e3239(_0x21bb5a,_0xf5c7b8,_0x53d92f,_0x3c2069){return _0x199ce4(_0x3c2069-0x2a0,_0xf5c7b8-_0x1d4d05._0x1e11e9,_0x53d92f,_0x3c2069-_0x1d4d05._0x2d257e);}const _0x2b3a5b=await resolvePackageBinary({'packageName':_0x5e3239(_0x306749._0x542b6a,_0x306749._0x2833fc,_0x306749._0x1de758,_0x306749._0x829be8),'binaryName':_0x21b606(0x5ee,0x4f6,0x4b7,0x428),'startDir':_0x4f3ce7});if(!_0x2b3a5b)return void 0x0;const _0x39dd32=_0x43ea12[_0x5e3239(0x139,0x38f,0xde,_0x306749._0x39c0b3)](_0x45edc2,_0x21b606(0x710,_0x306749._0x4afba1,_0x306749._0x2d8d7a,0x7be),_0x5e3239(0x156,_0x306749._0x52308b,_0x306749._0x10bf3b,0x2af),_0x5e3239(_0x306749._0x4af660,_0x306749._0x3d0547,_0x306749._0x1d5bee,_0x306749._0x14abcf),_0x5e3239(_0x306749._0x1e4bd0,0x1cd,_0x306749._0x26c7d0,0x25f));return await exists2(_0x39dd32)?_0x39dd32:void 0x0;}var TypeScriptServer={'id':_0x199ce4(0xf,0xff,0xaa,0x2c),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x201394){const _0x1fe2e8=await findUp(_0x201394,TYPESCRIPT_ROOT_MARKERS);if(!_0x1fe2e8)return void 0x0;return await hasDenoRoot(_0x1fe2e8)?void 0x0:_0x1fe2e8;},async 'spawn'(_0x291f68){const _0x92e459={_0x312481:0xdd,_0xde3027:0x292,_0x30363c:0x200,_0x1029dd:0x242,_0x3267d6:0x311,_0x2faceb:0x127,_0x5a81bc:0x1fe,_0x35d0b7:0x257,_0x4eee47:0x10d,_0x226eb2:0x6},_0x382b15={_0xb707c1:0x1ef},_0x4f97ed={_0x41c831:0x1a,_0x393a64:0x16e},_0x16e3be=await resolveTsserverPath(_0x291f68);function _0x4eef89(_0x527edb,_0x3e6af6,_0x3ee7b9,_0x5688fb){return _0x199ce4(_0x3e6af6-0x22e,_0x3e6af6-_0x4f97ed._0x41c831,_0x5688fb,_0x5688fb-_0x4f97ed._0x393a64);}function _0x3e30fc(_0x572a97,_0x321c07,_0x529392,_0x15ed9e){return _0x26f978(_0x572a97-0xed,_0x321c07-_0x382b15._0xb707c1,_0x529392- -0x17d,_0x572a97);}if(!_0x16e3be)return void 0x0;const _0x1872b7=await resolvePackageBinary({'packageName':_0x4eef89(0x298,0x200,0x2a8,_0x92e459._0x312481),'binaryName':_0x4eef89(_0x92e459._0xde3027,_0x92e459._0x30363c,_0x92e459._0x1029dd,0x1ab),'startDir':_0x291f68});if(!_0x1872b7)return void 0x0;return{'process':_0x2f5856(_0x1872b7,[_0x3e30fc(_0x92e459._0x3267d6,_0x92e459._0x2faceb,0x1f2,_0x92e459._0x5a81bc)],{'cwd':_0x291f68,'stdio':_0x3e30fc(0x14c,_0x92e459._0x35d0b7,_0x92e459._0x4eee47,_0x92e459._0x226eb2)}),'initialization':{'tsserver':{'path':_0x16e3be}}};}},BiomeServer={'id':_0x26f978(0x229,0x259,0x1c1,0x9d),'name':_0x199ce4(0x93,0x10e,0x64,0x1a7),'extensions':BIOME_EXTENSIONS,async 'root'(_0x5249fd){return findUp(_0x5249fd,BIOME_ROOT_MARKERS);},async 'spawn'(_0x146eea){const _0x415218={_0x117986:0x60c,_0x395a98:0x545,_0x24df70:0x465},_0x2f2bf7={_0x4ccde9:0x95,_0x61deaa:0x7b},_0x2c734b={_0x394e85:0x190,_0x3e86a4:0x2bb};function _0x13d646(_0x4bda7a,_0x356188,_0x5d9790,_0x234037){return _0x26f978(_0x4bda7a-_0x2c734b._0x394e85,_0x356188-0x78,_0x4bda7a-_0x2c734b._0x3e86a4,_0x356188);}const _0x29e03c=await findPackageBinary(_0x9557ff(0x48d,0x47e,0x58a,_0x415218._0x117986),_0x146eea)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x9557ff(0x604,0x627,0x58a,0x526),'startDir':_0x146eea});function _0x9557ff(_0x14c56b,_0x2ab36c,_0x4496e8,_0x170bbc){return _0x199ce4(_0x4496e8-0x64b,_0x2ab36c-_0x2f2bf7._0x4ccde9,_0x2ab36c,_0x170bbc-_0x2f2bf7._0x61deaa);}if(!_0x29e03c)return void 0x0;return{'process':_0x2f5856(_0x29e03c,['lsp-proxy',_0x13d646(0x62a,0x775,0x4f9,0x6bb)],{'cwd':_0x146eea,'stdio':_0x13d646(_0x415218._0x395a98,_0x415218._0x24df70,0x5a5,0x662)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x423aaa){const _0x3158bd={_0x2e3256:0x806,_0x5c4a3b:0x76d,_0x345b88:0x5f3,_0x59a121:0x744,_0x1cdc5a:0x49d,_0x2d39da:0x582,_0x270ca6:0x65d,_0x51e49c:0x510},_0x2b73a6={_0x6fb614:0x112,_0x5c077d:0x15c},_0xa7f2e9={_0x6b1ea:0x34,_0x4f9342:0x41f},_0x4ae140=_0x43ea12[_0x38dcca(_0x3158bd._0x2e3256,_0x3158bd._0x5c4a3b,_0x3158bd._0x345b88,_0x3158bd._0x59a121)](_0x423aaa)[_0x3488cf(0x56a,_0x3158bd._0x1cdc5a,0x466,_0x3158bd._0x2d39da)]();function _0x38dcca(_0x302af3,_0x42ba29,_0x34209c,_0x4a6910){return _0x26f978(_0x302af3-0x41,_0x42ba29-_0xa7f2e9._0x6b1ea,_0x42ba29-_0xa7f2e9._0x4f9342,_0x302af3);}function _0x3488cf(_0x2eabec,_0x313395,_0x3fb3f8,_0x270943){return _0x26f978(_0x2eabec-_0x2b73a6._0x6fb614,_0x313395-0x1d1,_0x313395-_0x2b73a6._0x5c077d,_0x3fb3f8);}return BUILTIN_LSP_SERVERS[_0x38dcca(0x48a,0x5e5,_0x3158bd._0x270ca6,_0x3158bd._0x51e49c)](_0x1fb0a2=>_0x1fb0a2['extensions'][_0x3488cf(0x4b3,0x435,0x375,0x5a6)](_0x4ae140));}function stateKey(_0x5ab294,_0x493d69){return _0x493d69+':'+_0x5ab294['id'];}function diagnosticsKeyToPath(_0x8a7c6c){const _0x187be6={_0xf3e54e:0x18f,_0x26b39d:0x38},_0x33f0e5={_0x3bbaf3:0x176};if(!_0x8a7c6c[_0x3c64ed(-0xbf,0xa2,-_0x187be6._0xf3e54e,-_0x187be6._0x26b39d)]('file://'))return _0x8a7c6c;function _0x3c64ed(_0x162cb0,_0x5ad067,_0x5ab7f9,_0x361004){return _0x199ce4(_0x162cb0-0x2b,_0x5ad067-_0x33f0e5._0x3bbaf3,_0x5ab7f9,_0x361004-0xb6);}return fileURLToPath(_0x8a7c6c);}function nextFileVersion(_0x17c7be,_0x255753){const _0x1ee57e={_0x36e386:0xb9,_0x37dceb:0x20e,_0x1131fd:0x216,_0xd0449a:0x2fa},_0x1b4541={_0x97f06d:0xbd,_0x5e3657:0xd},_0x41e7a9={_0x353af1:0x25,_0x1fda49:0x14e},_0x2aed9a=(_0x17c7be[_0x4bea95(-0x2b7,-_0x1ee57e._0x36e386,-0x226,-0x2fb)][_0x4bea95(-0x2aa,-0x19b,-_0x1ee57e._0x37dceb,-0xc3)](_0x255753)??0x1)+0x1;_0x17c7be['fileVersions'][_0x2f5991(0x314,0x33c,_0x1ee57e._0x1131fd,_0x1ee57e._0xd0449a)](_0x255753,_0x2aed9a);function _0x2f5991(_0x520010,_0x5750a3,_0x28c727,_0x63892e){return _0x199ce4(_0x5750a3-0x242,_0x5750a3-_0x41e7a9._0x353af1,_0x63892e,_0x63892e-_0x41e7a9._0x1fda49);}function _0x4bea95(_0xd7ee74,_0x3cc43c,_0x42715c,_0x706c1){return _0x199ce4(_0x42715c- -_0x1b4541._0x97f06d,_0x3cc43c-0x65,_0x706c1,_0x706c1-_0x1b4541._0x5e3657);}return _0x2aed9a;}async function collectClientResults(_0x47b08b){const _0x25c2e1={_0x467fde:0x182,_0x1a3162:0x4e,_0xa1107f:0x1c5},_0x4d6ee5={_0x48dc03:0x1c2},_0x3d1be5={_0x43b6d7:0x52,_0xab6fe:0x2dc};function _0x41b8f0(_0x20f381,_0x49889d,_0x472a3e,_0x2ac06a){return _0x26f978(_0x20f381-0x16c,_0x49889d-_0x3d1be5._0x43b6d7,_0x2ac06a-_0x3d1be5._0xab6fe,_0x49889d);}const _0x3de98b=await Promise[_0x39b59c(0x1a0,_0x25c2e1._0x467fde,_0x25c2e1._0x1a3162,_0x25c2e1._0xa1107f)](_0x47b08b);function _0x39b59c(_0x45eee7,_0x480ca1,_0x56da20,_0x4898b3){return _0x26f978(_0x45eee7-0x10d,_0x480ca1-0x1cb,_0x4898b3- -_0x4d6ee5._0x48dc03,_0x45eee7);}return _0x3de98b['flatMap'](_0x25ead1=>_0x25ead1[_0x41b8f0(0x649,0x3bb,0x5c9,0x52a)]===_0x39b59c(-0x4,-0x65,0x5c,-0xa)?_0x25ead1[_0x41b8f0(0x580,0x597,0x6ec,0x6b8)]:[]);}function createLspService(_0x3e3548={}){const _0x388991={_0xa61764:0x134,_0x520fb4:0x275,_0xc14a29:0x192},_0x4970ff={_0x71bb7f:0x201,_0x19ec7d:0x29d,_0x2d7301:0x150,_0x32cb8a:0x16d,_0x568725:0x6c,_0x479f54:0x34,_0x7e765b:0x118,_0x125663:0x12b,_0x28276d:0x23e,_0x525c4f:0x102,_0x27e8cd:0xf8,_0x3fb0a9:0x102,_0x450a2c:0xfb,_0x108829:0xd3,_0xe45440:0x261,_0x45f353:0x1d4,_0x20f43d:0x5e,_0x21ffb3:0xfb,_0x1d57a4:0x25a,_0xd9dc35:0xa9,_0x60ce3b:0x215,_0x96f54b:0x60,_0x4093f0:0x272,_0x30c268:0x179,_0x14960f:0x6a,_0xf6ef51:0x10f},_0x12e039={_0x3a9064:0x1d},_0x46b1ba={_0x5d8f9d:0x212},_0x56788f={_0xe98703:0x106,_0x3400e6:0x103,_0x2aa10c:0x20f},_0x6baca4={_0x3024a7:0x1df,_0x374df4:0x1de},_0x2dc510={_0x55eca4:0x27e,_0x36bf68:0x225},_0x28fc4b={_0x20089c:0x4c7,_0x483135:0x6b},_0x36e0e3={_0x49ba47:0x2ea,_0x11dd43:0x2cc,_0x822bbe:0x2a6,_0x874e92:0x2f8,_0x2bb986:0x44,_0x21871a:0x74,_0x535400:0xa8},_0x2be4da={_0x466da7:0x3d4,_0x11ec5e:0x95,_0x2a1da0:0x65},_0x211156={_0x5c5bf0:0x28,_0x45e6d2:0x187},_0x4407a7={_0x2bad70:0x79,_0x4bd53a:0x1f0},_0x2a5900={_0x2c3a04:0x1e8,_0x85a30d:0x2e7,_0x49a77c:0x12c},_0x1a73b1={_0x19edfc:0x8f,_0x457ffc:0xad},_0x2cc6a3={_0x259ca1:0x26a,_0x3a0d68:0x232},_0x1aa429={_0x457d99:0x438,_0x22b2e6:0x1cc},_0x1b9a56={_0x23a206:0x25c,_0x4d66be:0x179},_0x14ee3f={_0x338670:0x131,_0x4d702b:0xa4,_0x33c388:0xb0},_0x3f6409={_0x229223:0x127,_0x630e7c:0x335},_0x195052={_0x5a55e3:0x4aa},_0x5d43fa={_0x1b1d68:0x586,_0x2f5cc4:0x80},_0x71c80c={_0xbdbe39:0x62f},_0x152cbf={_0x418982:0x277,_0x188b80:0x13d,_0x516e78:0x79},_0x5a67ff={_0x27c3f0:0x180,_0x569b82:0x4d},_0x31fbbb={_0x28818c:0x88},_0x1ba8c1={_0x1dbb50:0x8a,_0xea7c34:0x53,_0x32e5bc:0x34,_0x43906:0x16c,_0x49a560:0x2c3,_0x448f44:0xa9,_0x547aa6:0x2e,_0x415860:0x7a,_0x40ee55:0x47,_0x100803:0x83,_0x2e79dd:0x25,_0x2da609:0x172,_0x3fda23:0xd6,_0x34f87f:0x29f},_0x336053={_0x3336af:0xaf,_0x62166f:0x12a,_0x4ed1c0:0xe9},_0x4218cf={_0x573d51:0xc9},_0x290043={_0x2d69b2:0x13f,_0x1b7fd9:0x202,_0x305aee:0x126,_0x3449a9:0x16f,_0x5b364:0xcf,_0x349f32:0xaf,_0x5ef419:0x5d,_0x434d1a:0x21a,_0x27db73:0x16a,_0x2e5172:0x236,_0x26c769:0xe9,_0x4d25dd:0x86},_0x1960fa={_0xfff41a:0x446,_0x5b1144:0x3b6,_0x44a424:0x34e,_0x5bfba5:0x261,_0x330bb2:0x34a,_0x462684:0x3d5,_0x5bc59f:0x56e,_0x49a391:0x419,_0xb42d71:0x4a6,_0x1cde46:0x53e,_0x473aa1:0x571,_0x3c58c7:0x673,_0x3e4604:0x212},_0xffd65e={_0x4c7fae:0x144},_0x218ad9={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x2f7510=()=>_0x3e3548[_0x40b833(-0xfa,-0x2d,0xa9,-0x8d)]!==![];async function _0x48ce1b(_0x36e6d4,_0x15250b){const _0x23e903={_0x2f8a21:0x15e,_0xc1176e:0x66};function _0x5a302a(_0x2186ec,_0x323110,_0x36f256,_0x32171a){return _0x40b833(_0x2186ec,_0x323110-0x2ec,_0x36f256-0x179,_0x32171a-0x193);}const _0x6b9698=stateKey(_0x36e6d4,_0x15250b);function _0xc53054(_0x250da0,_0x447529,_0x5473e8,_0x118a8d){return _0x40b833(_0x118a8d,_0x5473e8-_0xffd65e._0x4c7fae,_0x5473e8-0x172,_0x118a8d-0xa0);}const _0x1403b4=_0x218ad9[_0x5a302a(_0x290043._0x2d69b2,_0x290043._0x1b7fd9,0x131,0xe7)][_0xc53054(0x237,0x1e2,0xc3,0x222)](_0x4bfd80=>_0x4bfd80[_0xc53054(0xbb,0x2ca,0x197,0x1cb)]===_0x36e6d4['id']&&_0x4bfd80[_0x5a302a(0x201,0x30f,0x209,0x32e)]===_0x15250b);if(_0x1403b4)return _0x1403b4;if(_0x218ad9[_0x5a302a(0x4a,_0x290043._0x305aee,0x279,_0x290043._0x3449a9)][_0xc53054(-_0x290043._0x5b364,_0x290043._0x349f32,-0x63,0xf7)](_0x6b9698))return void 0x0;const _0x3995cd=_0x218ad9[_0xc53054(_0x290043._0x5ef419,_0x290043._0x434d1a,_0x290043._0x27db73,_0x290043._0x2e5172)][_0x5a302a(-0x6a,0xd2,-0x2e,0xf0)](_0x6b9698);if(_0x3995cd)return _0x3995cd;const _0x3e49bb=((async()=>{const _0x37302d={_0x2488a2:0xa5};function _0x2790be(_0x3ceabf,_0x4f1eb5,_0x31507d,_0x18190d){return _0x5a302a(_0x18190d,_0x3ceabf-0x22c,_0x31507d-_0x37302d._0x2488a2,_0x18190d-0x57);}function _0x48b5e2(_0x3699fe,_0x205e90,_0x5e8e90,_0xbb9adf){return _0x5a302a(_0x3699fe,_0xbb9adf-0x148,_0x5e8e90-_0x23e903._0x2f8a21,_0xbb9adf-_0x23e903._0xc1176e);}try{const _0xf7db94=await _0x36e6d4[_0x2790be(_0x1960fa._0xfff41a,_0x1960fa._0x5b1144,_0x1960fa._0x44a424,0x394)](_0x15250b);if(!_0xf7db94)return _0x218ad9['broken']['add'](_0x6b9698),void 0x0;const _0x27f7d9=await createLspClient({'server':_0x36e6d4,'root':_0x15250b,'handle':_0xf7db94}),_0x3cf8f1=_0x218ad9[_0x48b5e2(0x3ae,0x3ae,_0x1960fa._0x5bfba5,_0x1960fa._0x330bb2)][_0x2790be(0x497,0x5c2,_0x1960fa._0x462684,0x49a)](_0x4ffda8=>_0x4ffda8[_0x2790be(0x56b,0x421,0x494,0x6ae)]===_0x36e6d4['id']&&_0x4ffda8[_0x48b5e2(0x4d1,0x42d,0x3b3,0x457)]===_0x15250b);if(_0x3cf8f1)return await _0x27f7d9['shutdown'](),_0x3cf8f1;return _0x218ad9[_0x2790be(0x42e,0x493,0x3c3,0x553)][_0x48b5e2(0x163,0x248,0x169,0x213)](_0x27f7d9),_0x27f7d9;}catch{return _0x218ad9['broken'][_0x48b5e2(0x559,_0x1960fa._0x5bc59f,_0x1960fa._0x49a391,_0x1960fa._0xb42d71)](_0x6b9698),void 0x0;}finally{_0x218ad9[_0x2790be(_0x1960fa._0x1cde46,_0x1960fa._0x473aa1,_0x1960fa._0x3c58c7,0x643)][_0x48b5e2(0x9f,0x2bf,0xde,_0x1960fa._0x3e4604)](_0x6b9698);}})());return _0x218ad9[_0xc53054(_0x290043._0x26c769,0xb5,_0x290043._0x27db73,_0x290043._0x4d25dd)]['set'](_0x6b9698,_0x3e49bb),_0x3e49bb;}function _0x40b833(_0x589ab6,_0xe1c7d2,_0x1dc129,_0x39aa79){return _0x199ce4(_0xe1c7d2- -_0x4218cf._0x573d51,_0xe1c7d2-0x3c,_0x589ab6,_0x39aa79-0xc4);}async function _0x3e9d27(_0x4275fb,_0x517356){const _0x469926={_0x294c91:0x3f5};if(!_0x2f7510())return[];const _0x267cb1=[];function _0xeb7bb3(_0x257b01,_0x35e7f5,_0x429668,_0x28c53f){return _0x40b833(_0x35e7f5,_0x429668-_0x336053._0x3336af,_0x429668-_0x336053._0x62166f,_0x28c53f-_0x336053._0x4ed1c0);}for(const _0x5254f0 of getServersForFile(_0x4275fb)){const _0xa01a8b=await _0x5254f0[_0xeb7bb3(_0x1ba8c1._0x1dbb50,_0x1ba8c1._0xea7c34,0xd2,_0x1ba8c1._0x32e5bc)](_0x4275fb);if(!_0xa01a8b)continue;const _0x53ba04=stateKey(_0x5254f0,_0xa01a8b);if(_0x218ad9[_0x5cceb8(_0x1ba8c1._0x43906,0x22f,0x1f9,_0x1ba8c1._0x49a560)]['has'](_0x53ba04))continue;const _0xeee34c=_0x218ad9[_0xeb7bb3(-_0x1ba8c1._0x448f44,0x9c,-0x3b,_0x1ba8c1._0x547aa6)][_0xeb7bb3(_0x1ba8c1._0x415860,_0x1ba8c1._0x40ee55,0x2e,-0x11d)](_0x719b74=>_0x719b74[_0xeb7bb3(0xe,-0x48,0x102,0xcc)]===_0x5254f0['id']&&_0x719b74[_0x5cceb8(0x2a6,0x418,0x580,0x3c2)]===_0xa01a8b);if(_0xeee34c){_0x267cb1[_0xeb7bb3(-_0x1ba8c1._0x100803,-_0x1ba8c1._0x2e79dd,-_0x1ba8c1._0x2da609,-0x2b6)](_0xeee34c);continue;}if(!_0x517356)continue;const _0x314fba=await _0x48ce1b(_0x5254f0,_0xa01a8b);if(_0x314fba)_0x267cb1[_0xeb7bb3(-0x130,-_0x1ba8c1._0x3fda23,-0x172,-_0x1ba8c1._0x34f87f)](_0x314fba);}function _0x5cceb8(_0x134846,_0x4c9a3c,_0x5a6f2b,_0x2e8c33){return _0x40b833(_0x5a6f2b,_0x4c9a3c-_0x469926._0x294c91,_0x5a6f2b-0x58,_0x2e8c33-0x191);}return _0x267cb1;}async function _0x42c378(_0x299c42,_0x2a7d63=![]){const _0x2fe060={_0x497b30:0xa5,_0x1c5c22:0x88,_0x244393:0x90,_0x1dc565:0xe7,_0xd1217a:0x132,_0x215c6e:0x16f,_0x1166d1:0x70,_0x3886de:0x77,_0x39330d:0x15f,_0xcb48c5:0x152,_0x54409b:0xb,_0x474178:0x4a,_0x38789b:0x130,_0x8edc5f:0x14c,_0x1332e3:0xf4,_0x1a61ee:0x58,_0x2c5ad9:0x1a,_0x1bbe00:0x16b,_0x316d1e:0x3a,_0x418418:0x1e6},_0x38ad8a={_0x23ba77:0x1f3,_0x4742a7:0x30},_0x2ea541=await _0x3e9d27(_0x299c42,!![]);function _0x22d129(_0xd3b554,_0x170429,_0x54b03d,_0x30fc05){return _0x40b833(_0xd3b554,_0x30fc05-0x1d,_0x54b03d-_0x31fbbb._0x28818c,_0x30fc05-0x19);}await Promise['all'](_0x2ea541[_0x22d129(-0xba,-_0x5a67ff._0x27c3f0,-_0x5a67ff._0x569b82,-0xbf)](async _0x758962=>{const _0x132bef={_0x47637e:0x61,_0x54c9c9:0x19f};!_0x218ad9[_0x2d352a(-0x1a,-0x14f,-0x2c7,-0x7e)][_0x2d352a(-_0x2fe060._0x497b30,-0x1b0,-_0x2fe060._0x1c5c22,-_0x2fe060._0x244393)](_0x758962[_0x2d352a(-_0x2fe060._0x1dc565,0x4a,-_0x2fe060._0xd1217a,_0x2fe060._0x215c6e)]+':'+_0x758962[_0x340276(_0x2fe060._0x1166d1,_0x2fe060._0x3886de,-0xf8,-0x65)]+':'+_0x299c42)&&(await _0x758962['notify'][_0x340276(-0xa4,-0x3a,-_0x2fe060._0x39330d,-0xf9)]({'path':_0x299c42}),_0x218ad9['openFiles'][_0x2d352a(_0x2fe060._0xcb48c5,0x69,-_0x2fe060._0x54409b,-0x92)](_0x758962[_0x2d352a(0x180,_0x2fe060._0x474178,_0x2fe060._0x38789b,_0x2fe060._0x8edc5f)]+':'+_0x758962[_0x2d352a(-_0x2fe060._0x1332e3,0x1a,-0x10a,-_0x2fe060._0x1a61ee)]+':'+_0x299c42));await _0x758962[_0x2d352a(0xde,0x86,-_0x2fe060._0x2c5ad9,0x10e)][_0x2d352a(_0x2fe060._0x1bbe00,0x2c,-0xc9,-_0x2fe060._0x316d1e)]({'path':_0x299c42,'version':nextFileVersion(_0x218ad9,_0x299c42)});function _0x2d352a(_0x176621,_0x1faea7,_0x5d0c3a,_0x15221a){return _0x22d129(_0x15221a,_0x1faea7-_0x132bef._0x47637e,_0x5d0c3a-_0x132bef._0x54c9c9,_0x1faea7- -0x26);}function _0x340276(_0x4313d6,_0x3670fd,_0x1d28fa,_0x1581b7){return _0x22d129(_0x1581b7,_0x3670fd-0x84,_0x1d28fa-_0x38ad8a._0x23ba77,_0x4313d6-_0x38ad8a._0x4742a7);}if(_0x2a7d63)await _0x758962[_0x340276(-0x11a,-_0x2fe060._0x418418,-0x220,0x1f)]({'path':_0x299c42});}));}async function _0x18be12(_0x3b3829){const _0x49c59e={_0x5ef81d:0x430,_0x2beb11:0x179};await _0x42c378(_0x3b3829[_0x11bcea(0x370,0x4d8,_0x71c80c._0xbdbe39,0x3fd)],![]);function _0x1a1be8(_0x4dfad5,_0x21d55b,_0x242144,_0x296191){return _0x40b833(_0x4dfad5,_0x242144-_0x152cbf._0x418982,_0x242144-_0x152cbf._0x188b80,_0x296191-_0x152cbf._0x516e78);}function _0x11bcea(_0x3bc26f,_0x3ea498,_0x140d48,_0x3d568e){return _0x40b833(_0x3bc26f,_0x3ea498-_0x49c59e._0x5ef81d,_0x140d48-0x18c,_0x3d568e-_0x49c59e._0x2beb11);}return _0x3e9d27(_0x3b3829[_0x1a1be8(0x3ed,0x28c,0x31f,0x484)],![]);}async function _0x18da57(_0x5ef32c){const _0x202db9={_0xbf3421:0x658,_0xb36538:0x35};function _0x5bea1e(_0xe583e3,_0xac6ab6,_0x342110,_0x2e3d24){return _0x40b833(_0xe583e3,_0x342110-_0x5d43fa._0x1b1d68,_0x342110-0xf,_0x2e3d24-_0x5d43fa._0x2f5cc4);}const _0x140733=await _0x18be12(_0x5ef32c);function _0x124ac6(_0x5bc413,_0x304b47,_0x404608,_0x320c96){return _0x40b833(_0x404608,_0x320c96-_0x202db9._0xbf3421,_0x404608-0x29,_0x320c96-_0x202db9._0xb36538);}return collectClientResults(_0x140733[_0x5bea1e(0x350,0x5c0,_0x195052._0x5a55e3,0x59c)](_0x5ab0ec=>_0x5ab0ec[_0x124ac6(0x77e,0x732,0x6c4,0x6b4)]['prepareCallHierarchy'](_0x5ef32c)));}return{'isEnabled':_0x2f7510,async 'hasClients'(_0x2a3703){const _0x4c5a61={_0x429b80:0x22,_0x263f6d:0x1d,_0x240cd5:0xd7},_0x5dabc8={_0x1d95ec:0x3c5,_0x579a85:0x15b,_0x17e756:0x5a};function _0x1f946b(_0x479c1e,_0x199694,_0x2620f1,_0x31c6f9){return _0x40b833(_0x199694,_0x2620f1-_0x5dabc8._0x1d95ec,_0x2620f1-_0x5dabc8._0x579a85,_0x31c6f9-_0x5dabc8._0x17e756);}function _0xe8201e(_0x598c1e,_0x27729a,_0x41c7a4,_0x40b1c5){return _0x40b833(_0x598c1e,_0x40b1c5- -_0x4c5a61._0x429b80,_0x41c7a4-_0x4c5a61._0x263f6d,_0x40b1c5-_0x4c5a61._0x240cd5);}return(await _0x3e9d27(_0x2a3703,![]))[_0xe8201e(-0xc9,-0x25a,-0x8,-_0x3f6409._0x229223)]>0x0||getServersForFile(_0x2a3703)[_0x1f946b(0x303,0x3d6,0x2c0,_0x3f6409._0x630e7c)]>0x0;},'touchFile':_0x42c378,async 'diagnostics'(){const _0x435437={_0x4e75d3:0x9d};function _0x45cbab(_0x5f37a9,_0x1cd915,_0x1344b1,_0x1d9cea){return _0x40b833(_0x1d9cea,_0x5f37a9-_0x435437._0x4e75d3,_0x1344b1-0x19e,_0x1d9cea-0x112);}const _0x28dfe0={};for(const _0x343c22 of _0x218ad9['clients']){for(const [_0x261bd6,_0x6b813e]of _0x343c22[_0x45cbab(-_0x14ee3f._0x338670,-_0x14ee3f._0x4d702b,-_0x14ee3f._0x33c388,-0x27f)]){_0x28dfe0[diagnosticsKeyToPath(_0x261bd6)]=_0x6b813e;}}return _0x28dfe0;},async 'diagnosticsForFile'(_0x522101){await _0x42c378(_0x522101,!![]);function _0x46c7a5(_0x49c1cf,_0x21de1f,_0x22866d,_0x1f6c48){return _0x40b833(_0x1f6c48,_0x21de1f-_0x1b9a56._0x23a206,_0x22866d-0x134,_0x1f6c48-_0x1b9a56._0x4d66be);}const _0x5820f5=[];for(const _0x6f7123 of await _0x3e9d27(_0x522101,![])){for(const [_0x32e40b,_0x47c2e4]of _0x6f7123[_0x83292e(_0x2cc6a3._0x259ca1,0x34f,0x17d,0x1f5)]){if(diagnosticsKeyToPath(_0x32e40b)===_0x522101)_0x5820f5[_0x83292e(0x217,0x2aa,_0x2cc6a3._0x3a0d68,0x12a)](..._0x47c2e4);}}function _0x83292e(_0x424e9d,_0x2e7581,_0x506df6,_0x5ae469){return _0x40b833(_0x2e7581,_0x424e9d-_0x1aa429._0x457d99,_0x506df6-_0x1aa429._0x22b2e6,_0x5ae469-0x13a);}return _0x5820f5;},async 'definition'(_0x298ef6){const _0x5a3283={_0x4fe9f8:0x267};function _0x3d4264(_0x2fdeb2,_0x3d9e40,_0x1c937d,_0x168657){return _0x40b833(_0x1c937d,_0x2fdeb2-_0x5a3283._0x4fe9f8,_0x1c937d-0xa3,_0x168657-0xf0);}function _0xf20fa7(_0x5c11c9,_0x13c5fe,_0x3286c2,_0x40a60d){return _0x40b833(_0x40a60d,_0x5c11c9-0x2c4,_0x3286c2-_0x1a73b1._0x19edfc,_0x40a60d-_0x1a73b1._0x457ffc);}return collectClientResults((await _0x18be12(_0x298ef6))[_0xf20fa7(_0x2a5900._0x2c3a04,0x303,_0x2a5900._0x85a30d,_0x2a5900._0x49a77c)](_0x53a92a=>_0x53a92a[_0xf20fa7(0x320,0x1ad,0x2cf,0x298)][_0xf20fa7(0x32c,0x1b7,0x4a0,0x295)](_0x298ef6)));},async 'references'(_0x4e5b68){function _0xe86240(_0x1fa82b,_0x395b42,_0x5213bc,_0x31901e){return _0x40b833(_0x31901e,_0x1fa82b-_0x4407a7._0x2bad70,_0x5213bc-0x6d,_0x31901e-_0x4407a7._0x4bd53a);}function _0x387b3a(_0x1e202d,_0x6ca819,_0x26db68,_0x4f0099){return _0x40b833(_0x1e202d,_0x4f0099-0x677,_0x26db68-0x13e,_0x4f0099-0xe0);}return collectClientResults((await _0x18be12(_0x4e5b68))['map'](_0x421a9d=>_0x421a9d[_0x387b3a(0x6ce,0x646,0x5b3,0x6d3)][_0x387b3a(0x675,0x77b,0x6a3,0x609)](_0x4e5b68)));},async 'hover'(_0x335181){function _0x596016(_0x46f39d,_0x327111,_0x459cd6,_0x1b4eea){return _0x40b833(_0x46f39d,_0x327111- -_0x211156._0x5c5bf0,_0x459cd6-0x1c1,_0x1b4eea-_0x211156._0x45e6d2);}function _0x43d663(_0x1158e4,_0xb04812,_0x592a8f,_0x580aaf){return _0x40b833(_0x580aaf,_0x592a8f-_0x2be4da._0x466da7,_0x592a8f-_0x2be4da._0x11ec5e,_0x580aaf-_0x2be4da._0x2a1da0);}const _0x3e7a1a=await Promise[_0x43d663(_0x36e0e3._0x49ba47,_0x36e0e3._0x11dd43,0x410,0x378)]((await _0x18be12(_0x335181))[_0x43d663(_0x36e0e3._0x822bbe,0x321,_0x36e0e3._0x874e92,0x3fc)](_0x2232b2=>_0x2232b2['request']['hover'](_0x335181)));return _0x3e7a1a[_0x596016(-0xf5,_0x36e0e3._0x2bb986,_0x36e0e3._0x21871a,-_0x36e0e3._0x535400)](_0x21a43f=>_0x21a43f[_0x596016(-0x8d,-0x125,-0x1e5,-0xbb)]==='fulfilled'&&_0x21a43f[_0x596016(0x1a5,0x69,0x11e,0xe0)]?[_0x21a43f[_0x43d663(0x3d9,0x521,0x465,0x3a8)]]:[]);},async 'documentSymbol'(_0x577e53){const _0x1c8968={_0x5d6d2f:0x52c,_0x5b15ff:0xe4,_0x536697:0xd},_0x1182e9={_0x3e2e67:0x28};function _0x1ab252(_0x5ebddc,_0x432151,_0x5104a0,_0x4b7181){return _0x40b833(_0x432151,_0x5104a0-0x74a,_0x5104a0-_0x1182e9._0x3e2e67,_0x4b7181-0xf7);}await _0x42c378(_0x577e53,![]);function _0x3cf1d6(_0xe701b8,_0x24ba07,_0x52de8a,_0x524969){return _0x40b833(_0x52de8a,_0x524969-_0x1c8968._0x5d6d2f,_0x52de8a-_0x1c8968._0x5b15ff,_0x524969-_0x1c8968._0x536697);}return collectClientResults((await _0x3e9d27(_0x577e53,![]))[_0x1ab252(0x672,0x60a,0x66e,0x69e)](_0x3d2716=>_0x3d2716[_0x3cf1d6(0x6bd,0x4c3,0x6ff,0x588)][_0x1ab252(0x704,0x71c,0x75a,0x845)](_0x577e53)));},async 'workspaceSymbol'(_0x58b8b7){const _0x1bd591={_0x2520d2:0x30f};function _0x27b2cb(_0x55376b,_0x1d7096,_0x2d5a1c,_0x24a9b2){return _0x40b833(_0x1d7096,_0x24a9b2-_0x28fc4b._0x20089c,_0x2d5a1c-_0x28fc4b._0x483135,_0x24a9b2-0x70);}function _0x4b6f47(_0x2996d5,_0x5ad62a,_0x1ad9cd,_0x5dfc45){return _0x40b833(_0x1ad9cd,_0x5dfc45-_0x1bd591._0x2520d2,_0x1ad9cd-0x1db,_0x5dfc45-0x90);}return collectClientResults(_0x218ad9[_0x4b6f47(0x278,0x27c,_0x2dc510._0x55eca4,_0x2dc510._0x36bf68)]['map'](_0x5980a6=>_0x5980a6[_0x27b2cb(0x5b9,0x4c8,0x502,0x523)]['workspaceSymbol'](_0x58b8b7)));},async 'implementation'(_0x178242){const _0x44b949={_0x1ff18c:0xd1};function _0x39a5d1(_0x429091,_0xa790ad,_0x222d2d,_0x4f9a91){return _0x40b833(_0x429091,_0x222d2d-_0x6baca4._0x3024a7,_0x222d2d-_0x6baca4._0x374df4,_0x4f9a91-0x119);}function _0x3c58d1(_0x1311de,_0x1ccbb5,_0x5b54e9,_0x3a274c){return _0x40b833(_0x1ccbb5,_0x1311de-0x376,_0x5b54e9-0x58,_0x3a274c-_0x44b949._0x1ff18c);}return collectClientResults((await _0x18be12(_0x178242))[_0x39a5d1(0x9d,_0x56788f._0xe98703,_0x56788f._0x3400e6,_0x56788f._0x2aa10c)](_0x2065bf=>_0x2065bf[_0x39a5d1(0x226,0xe2,0x23b,0x19f)]['implementation'](_0x178242)));},async 'prepareCallHierarchy'(_0x4973be){return _0x18da57(_0x4973be);},async 'incomingCalls'(_0x293f15){const _0x4a91c8={_0x3af3b9:0x192},_0x2174e9={_0x17bb93:0x1af};function _0x46dfae(_0x3bb73d,_0x312551,_0x247ec0,_0x25d967){return _0x40b833(_0x3bb73d,_0x25d967-0x663,_0x247ec0-0x49,_0x25d967-_0x2174e9._0x17bb93);}function _0x896836(_0x25592f,_0x3b255b,_0x54336e,_0x228787){return _0x40b833(_0x3b255b,_0x25592f-0x43b,_0x54336e-_0x4a91c8._0x3af3b9,_0x228787-0x2c);}const _0x4cddb7=await _0x18da57(_0x293f15),_0x48785b=await _0x18be12(_0x293f15);return collectClientResults(_0x48785b['flatMap'](_0x3e5359=>_0x4cddb7[_0x896836(0x35f,0x452,0x319,0x20d)](_0x582dbe=>_0x3e5359[_0x896836(0x497,0x527,0x4ea,0x404)][_0x46dfae(0x49b,0x4ff,0x536,0x457)](_0x582dbe))));},async 'outgoingCalls'(_0x3acc1d){const _0x5bd416={_0x30aa1a:0x44b,_0x3ef2fd:0x136,_0x191015:0xe0},_0xd56e0b=await _0x18da57(_0x3acc1d),_0x30ede6=await _0x18be12(_0x3acc1d);function _0x599d67(_0x5bd6d2,_0x19a89d,_0x11ee63,_0x392f1d){return _0x40b833(_0x11ee63,_0x392f1d-_0x5bd416._0x30aa1a,_0x11ee63-_0x5bd416._0x3ef2fd,_0x392f1d-_0x5bd416._0x191015);}function _0x3a9f51(_0xe55a0,_0x33ed4a,_0x5e5390,_0x422dff){return _0x40b833(_0x33ed4a,_0x5e5390-_0x46b1ba._0x5d8f9d,_0x5e5390-0x163,_0x422dff-0x1f1);}return collectClientResults(_0x30ede6['flatMap'](_0x4a02af=>_0xd56e0b[_0x599d67(0x2b7,0x3ed,0x343,0x36f)](_0x14dbe1=>_0x4a02af[_0x599d67(0x37e,0x61e,0x51c,0x4a7)]['outgoingCalls'](_0x14dbe1))));},async 'shutdown'(){function _0x5010b9(_0x35c51e,_0x14ae99,_0x2930a5,_0x46e2e7){return _0x40b833(_0x35c51e,_0x46e2e7-_0x12e039._0x3a9064,_0x2930a5-0x1bf,_0x46e2e7-0x1bb);}if(_0x218ad9[_0x5010b9(-_0x4970ff._0x71bb7f,-_0x4970ff._0x19ec7d,-0x165,-_0x4970ff._0x2d7301)])return;_0x218ad9[_0x5010b9(-_0x4970ff._0x32cb8a,-_0x4970ff._0x568725,-_0x4970ff._0x479f54,-0x150)]=!![],await Promise[_0x3a4c4e(0x1bc,_0x4970ff._0x7e765b,-0x4f,0xe4)](_0x218ad9[_0x5010b9(-_0x4970ff._0x125663,-0x34,-_0x4970ff._0x28276d,-0xcd)][_0x3a4c4e(-0x163,0x0,_0x4970ff._0x525c4f,-_0x4970ff._0x27e8cd)](_0x4dde42=>_0x4dde42['shutdown']())),_0x218ad9[_0x3a4c4e(-0x99,-0xe,_0x4970ff._0x3fb0a9,-0x6f)]=[],_0x218ad9['spawning'][_0x3a4c4e(0x1b4,_0x4970ff._0x450a2c,_0x4970ff._0x108829,0xf8)]();function _0x3a4c4e(_0x28c667,_0x323984,_0x41eb02,_0x847294){return _0x40b833(_0x847294,_0x323984-0xdc,_0x41eb02-0x11d,_0x847294-0x1dc);}_0x218ad9[_0x5010b9(-_0x4970ff._0xe45440,-0x1e7,-_0x4970ff._0x45f353,-0x1a9)][_0x3a4c4e(_0x4970ff._0x20f43d,_0x4970ff._0x21ffb3,_0x4970ff._0x1d57a4,-0x45)](),_0x218ad9[_0x5010b9(-0x1df,-0x2cb,-_0x4970ff._0xd9dc35,-_0x4970ff._0x60ce3b)][_0x3a4c4e(-_0x4970ff._0x96f54b,0xfb,_0x4970ff._0x4093f0,-0x6a)](),_0x218ad9[_0x3a4c4e(-_0x4970ff._0x30c268,-_0x4970ff._0x14960f,-0x7c,_0x4970ff._0xf6ef51)]['clear']();},'status'(){const _0x43074d={_0x10c811:0x2a,_0x44563c:0xf8,_0x23c8de:0x10};function _0x5e1dd5(_0x5eeeec,_0x3097d8,_0x47bf3d,_0x4e1657){return _0x40b833(_0x3097d8,_0x5eeeec- -_0x43074d._0x10c811,_0x47bf3d-_0x43074d._0x44563c,_0x4e1657-_0x43074d._0x23c8de);}return{'connectedClients':_0x218ad9[_0x5e1dd5(-0x114,-_0x388991._0xa61764,-_0x388991._0x520fb4,-_0x388991._0xc14a29)]['length']};}};}function createQuestionId(){const _0x4a15cb={_0x48aba1:0x53,_0xadc4aa:0xe0,_0x1b5c37:0x1d,_0x58604d:0x1a3,_0x115273:0x161,_0x2ec79a:0x4c4,_0x34418b:0x413,_0x667604:0x2e4,_0xc3e0ee:0x44c,_0x3bcc66:0x423,_0x1df13b:0x46e},_0xde30a={_0x5f0361:0x1a2},_0xbc6075={_0x1791ee:0x1c0,_0x5e3649:0x178};function _0x2c72ac(_0x545409,_0x23c9e5,_0x28a24c,_0x35a354){return _0x26f978(_0x545409-_0xbc6075._0x1791ee,_0x23c9e5-_0xbc6075._0x5e3649,_0x35a354- -0x23a,_0x23c9e5);}function _0x245558(_0xe97a3c,_0x4220ac,_0x3ffa2c,_0x225735){return _0x26f978(_0xe97a3c-_0xde30a._0x5f0361,_0x4220ac-0x2,_0x3ffa2c-0xd3,_0x4220ac);}return _0x2c72ac(_0x4a15cb._0x48aba1,_0x4a15cb._0xadc4aa,-0x49,_0x4a15cb._0x1b5c37)+Date[_0x2c72ac(-0x218,-_0x4a15cb._0x58604d,-_0x4a15cb._0x115273,-0xb8)]()+'-'+Math[_0x245558(_0x4a15cb._0x2ec79a,0x341,_0x4a15cb._0x34418b,_0x4a15cb._0x667604)]()[_0x245558(_0x4a15cb._0xc3e0ee,_0x4a15cb._0x3bcc66,0x33c,0x235)](0x24)[_0x245558(_0x4a15cb._0x1df13b,0x2f5,0x366,0x44b)](0x2,0x9);}function validateInput(_0x509057){const _0x5471e3={_0x52b32c:0x1b7,_0x211966:0x26e,_0xb3bb1a:0x14c,_0x3b6c2c:0x243,_0x3f88aa:0x220,_0x17716c:0x287,_0x91c724:0x132,_0x5d6db8:0x3a3,_0x2fba2f:0x214,_0x24e2c5:0x19f,_0x59ef07:0x1f9,_0x5567a6:0x3de,_0x1479cf:0x25a,_0x4eb953:0x3f8,_0x4d80fa:0x27f,_0x59258c:0x330,_0x1228af:0x1e1,_0x5648f4:0x2bb,_0x34f34f:0x252,_0x3b82b9:0x2d8,_0x43d442:0x20d,_0x1e16f9:0x40d,_0x3c985d:0x47d,_0x42c86f:0x362,_0x365d61:0x160,_0x337f63:0x158,_0x346a8d:0x285,_0x13c93a:0x287,_0x2f75d1:0x3a4,_0x4d7451:0x2e6,_0x195d5a:0x29d,_0x46db4c:0x30a,_0x14e681:0x454,_0x34b940:0x3d1,_0x208b35:0x32c,_0x49b054:0x30f,_0x5af3a1:0x39c,_0x8ecb5a:0x361,_0x4276b3:0x454,_0x1f4c93:0x5b2,_0x42ecf8:0x43e,_0x55557e:0x1a2,_0x52b653:0x385,_0x27d230:0x2f5,_0x48cb3c:0x3e8,_0x2ee617:0x324,_0x3fcaee:0x283,_0x7b1175:0x454,_0x23645c:0x2ed,_0x795196:0x2ba,_0x3e8d9f:0x321,_0x54580f:0x318,_0x388683:0x46c,_0x1ceec8:0x3da,_0x2bb259:0x342,_0x34b0a1:0x1ea,_0x5abab7:0x3f3,_0x4b39f6:0x365,_0x3eb692:0x352,_0x46fbbb:0x42e,_0x33663c:0x284,_0x30badf:0x29f,_0x520a12:0x377,_0x3faa88:0x310,_0x29fe68:0x1e0,_0x3c719c:0x204,_0x39076e:0x1af,_0xe4b35d:0x352,_0x34b5b3:0x270,_0x53549e:0x3a1,_0x2d5c52:0x4be},_0x353885={_0x5cfc15:0x5f},_0x28dcd5={_0xaea8d8:0x59};function _0x2fb63c(_0x4adb97,_0x1c0c85,_0x2f0e2c,_0x4e2185){return _0x26f978(_0x4adb97-_0x28dcd5._0xaea8d8,_0x1c0c85-0x156,_0x4adb97-0x74,_0x1c0c85);}if(!Array[_0x2c9c8a(0x2b3,_0x5471e3._0x52b32c,_0x5471e3._0x211966,0x25d)](_0x509057[_0x2fb63c(0x2bc,0x425,_0x5471e3._0xb3bb1a,_0x5471e3._0x3b6c2c)])||_0x509057['questions'][_0x2c9c8a(0x287,_0x5471e3._0x3f88aa,0x37e,0x348)]<0x1||_0x509057['questions'][_0x2c9c8a(_0x5471e3._0x17716c,_0x5471e3._0x91c724,0x13d,0x3ff)]>0xa)throw new ToolExecutionError(_0x2fb63c(0x22a,0x101,_0x5471e3._0x5d6db8,_0x5471e3._0x2fba2f),{'error':'invalid_questions'});function _0x2c9c8a(_0x5164e2,_0x1d8ce6,_0x6be2c9,_0x191047){return _0x26f978(_0x5164e2-_0x353885._0x5cfc15,_0x1d8ce6-0x1f4,_0x5164e2-0x41,_0x1d8ce6);}for(let _0xadc50=0x0;_0xadc50<_0x509057[_0x2fb63c(0x2bc,_0x5471e3._0x2fba2f,_0x5471e3._0x24e2c5,0x32c)][_0x2c9c8a(0x287,0x13b,_0x5471e3._0x59ef07,0x38d)];_0xadc50+=0x1){const _0x2b8af1=_0x509057['questions'][_0xadc50];if(!_0x2b8af1[_0x2fb63c(0x316,_0x5471e3._0x5567a6,_0x5471e3._0x1479cf,0x211)]||typeof _0x2b8af1[_0x2c9c8a(0x2e3,0x405,0x34c,_0x5471e3._0x4eb953)]!=='string')throw new ToolExecutionError('Question\x20'+(_0xadc50+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x2b8af1[_0x2fb63c(0x285,0x1fe,0x28e,_0x5471e3._0x4d80fa)]||typeof _0x2b8af1[_0x2fb63c(0x285,_0x5471e3._0x59258c,_0x5471e3._0x1228af,0x183)]!==_0x2fb63c(0x37c,0x331,_0x5471e3._0x5648f4,0x3e5))throw new ToolExecutionError('Question\x20'+(_0xadc50+0x1)+_0x2c9c8a(0x2ad,0x20d,0x34e,0x2d5));if(_0x2b8af1[_0x2c9c8a(_0x5471e3._0x34f34f,_0x5471e3._0x3b82b9,_0x5471e3._0x43d442,0x1c6)]['length']>0x1e)throw new ToolExecutionError(_0x2c9c8a(0x352,_0x5471e3._0x1e16f9,_0x5471e3._0x3c985d,0x205)+(_0xadc50+0x1)+_0x2fb63c(0x267,_0x5471e3._0x42c86f,_0x5471e3._0x365d61,_0x5471e3._0x337f63)+_0x2b8af1[_0x2fb63c(_0x5471e3._0x346a8d,0x381,0x1d1,0x1f8)][_0x2c9c8a(_0x5471e3._0x13c93a,_0x5471e3._0x2f75d1,0x1dc,0x34f)]);if(!Array[_0x2fb63c(_0x5471e3._0x4d7451,0x436,_0x5471e3._0x195d5a,_0x5471e3._0x46db4c)](_0x2b8af1[_0x2fb63c(_0x5471e3._0x14e681,_0x5471e3._0x34b940,_0x5471e3._0x208b35,_0x5471e3._0x49b054)])||_0x2b8af1[_0x2fb63c(0x454,0x4c5,_0x5471e3._0x5af3a1,_0x5471e3._0x8ecb5a)]['length']<0x2||_0x2b8af1[_0x2fb63c(_0x5471e3._0x4276b3,_0x5471e3._0x1f4c93,0x31c,_0x5471e3._0x42ecf8)][_0x2c9c8a(0x287,_0x5471e3._0x55557e,0x1ad,0x3db)]>0x4)throw new ToolExecutionError(_0x2fb63c(_0x5471e3._0x52b653,0x4ed,_0x5471e3._0x27d230,0x419)+(_0xadc50+0x1)+_0x2fb63c(_0x5471e3._0x48cb3c,_0x5471e3._0x2ee617,_0x5471e3._0x3fcaee,0x313));for(let _0x28292e=0x0;_0x28292e<_0x2b8af1[_0x2fb63c(_0x5471e3._0x7b1175,0x4b3,_0x5471e3._0x23645c,0x41e)][_0x2fb63c(_0x5471e3._0x795196,_0x5471e3._0x3e8d9f,_0x5471e3._0x54580f,0x1fa)];_0x28292e+=0x1){const _0x1f87da=_0x2b8af1[_0x2c9c8a(0x421,_0x5471e3._0x388683,0x306,_0x5471e3._0x1ceec8)][_0x28292e];if(!_0x1f87da[_0x2fb63c(_0x5471e3._0x2bb259,_0x5471e3._0x34b0a1,_0x5471e3._0x5abab7,_0x5471e3._0x4b39f6)]||!_0x1f87da[_0x2c9c8a(0x288,0x1f0,0x344,0x18f)])throw new ToolExecutionError(_0x2c9c8a(_0x5471e3._0x3eb692,_0x5471e3._0x46fbbb,0x1d6,_0x5471e3._0x33663c)+(_0xadc50+0x1)+_0x2fb63c(_0x5471e3._0x30badf,0x23d,_0x5471e3._0x208b35,_0x5471e3._0x520a12)+(_0x28292e+0x1)+_0x2c9c8a(_0x5471e3._0x3faa88,_0x5471e3._0x29fe68,_0x5471e3._0x2ee617,_0x5471e3._0x3c719c));}if(typeof _0x2b8af1[_0x2c9c8a(0x14c,0xb5,0xb,0x8b)]!==_0x2c9c8a(0x28e,0x229,_0x5471e3._0x39076e,0x2db))throw new ToolExecutionError(_0x2c9c8a(_0x5471e3._0xe4b35d,_0x5471e3._0x34b5b3,_0x5471e3._0x53549e,_0x5471e3._0x2d5c52)+(_0xadc50+0x1)+_0x2fb63c(0x206,0x2c7,0x21b,0x2dc));}}function buildQuestions(_0x2f195b){const _0x58b19b={_0x485161:0x2e0},_0x24a02f={_0x2a6c2f:0x31c,_0x414965:0x124},_0x59a890={_0x5086d3:0x1a7};function _0x1014c4(_0x4c7e90,_0x222035,_0x304176,_0x582564){return _0x199ce4(_0x304176-0x243,_0x222035-0x18a,_0x4c7e90,_0x582564-_0x59a890._0x5086d3);}function _0x26910c(_0x1969a2,_0x51019a,_0x498ad7,_0x131352){return _0x199ce4(_0x51019a-_0x24a02f._0x2a6c2f,_0x51019a-_0x24a02f._0x414965,_0x131352,_0x131352-0x1ab);}return _0x2f195b[_0x1014c4(0x22f,_0x58b19b._0x485161,0x209,0x131)][_0x26910c(0x226,0x309,0x40d,0x2e8)]((_0x3a3c7d,_0x36cbf2)=>({'id':'q'+_0x36cbf2,'question':_0x3a3c7d[_0x26910c(0x403,0x33c,0x1fb,0x33f)],'topic':_0x3a3c7d['topic'],'options':_0x3a3c7d[_0x1014c4(0x365,0x42d,0x3a1,0x295)],'multiSelect':_0x3a3c7d[_0x1014c4(-0xaa,-0x2d,0xcc,0x1dd)]}));}function createResult(_0x38b8b1,_0x4de31a,_0x1e29d1){const _0x455830={'questionId':_0x38b8b1,'questionCount':_0x4de31a,'answers':_0x1e29d1};function _0xe9741e(_0x5b1a43,_0x210d1b,_0x1f1d36,_0x1717f7){return _0x26f978(_0x5b1a43-0x17e,_0x210d1b-0x113,_0x5b1a43-0x3e1,_0x1f1d36);}return createToolOutput(_0xe9741e(0x716,0x882,0x615,0x790)+JSON['stringify'](_0x1e29d1,null,0x2),_0x455830);}function createAskUserTool(){const _0x295af0={_0x3e2c2a:0x602,_0x3c071c:0x55f,_0x217747:0x4eb,_0x160be8:0x5ca,_0x467e4a:0x5cf,_0x3980c9:0x544,_0x4c4be0:0x5cf,_0x5ac519:0x51d,_0x44379a:0x616,_0x57a41e:0x4ff,_0x548514:0x679,_0x46137a:0x538,_0x15f018:0x3ed,_0x42cdd7:0x35e,_0x32414d:0x455,_0x29c77b:0x6ee,_0x8da9ea:0x5cf,_0x2928fe:0x5ac,_0x300309:0x600,_0x7e429b:0x5dd,_0x3d9332:0x57f,_0x46ad86:0x4ff,_0x12a5b8:0x4a1,_0x3aeac5:0x4c5,_0x101ff:0x505,_0x53fd4d:0x43e,_0x2f5ee3:0x41d,_0x4c4e28:0x4cd,_0x6e6b66:0x408,_0x5030b0:0x49e,_0x53da0c:0x296,_0xf7b3d1:0x462,_0x19cc1c:0x636,_0x1ded79:0x5e7},_0xa8b273={_0xa28cfb:0x78,_0xc5bba0:0x56,_0x418f0c:0x104,_0x321d0f:0x624,_0x4cb72d:0x531,_0x4a82a9:0x4c9,_0x1e0c00:0x4ce,_0x146b68:0x454,_0x52f430:0x63b,_0xfc45da:0x6b9,_0x346018:0x72b,_0x5f4232:0x4d},_0x3204bd={_0x3042ba:0x150},_0x2af501={_0x49d359:0x18c,_0x38242b:0x193},_0x565a38={_0x23fd73:0x1bc};function _0x2af485(_0x5cb9b7,_0x5b1ff2,_0x4b52a1,_0x1d2644){return _0x199ce4(_0x4b52a1-0x479,_0x5b1ff2-_0x565a38._0x23fd73,_0x5cb9b7,_0x1d2644-0x76);}function _0x114a32(_0x534f27,_0x53a56d,_0x23419f,_0x35a4fd){return _0x199ce4(_0x35a4fd-0x463,_0x53a56d-_0x2af501._0x49d359,_0x53a56d,_0x35a4fd-_0x2af501._0x38242b);}return defineTool({'name':_0x2af485(0x379,0x4ea,0x450,0x35a),'description':_0x114a32(_0x295af0._0x3e2c2a,0x5c9,0x4cc,_0x295af0._0x3c071c),'inputSchema':{'type':_0x114a32(_0x295af0._0x217747,0x58a,_0x295af0._0x160be8,_0x295af0._0x467e4a),'properties':{'questions':{'type':'array','items':{'type':_0x114a32(0x58f,_0x295af0._0x3980c9,0x612,_0x295af0._0x4c4be0),'properties':{'question':{'type':'string'},'topic':{'type':_0x2af485(_0x295af0._0x5ac519,_0x295af0._0x44379a,_0x295af0._0x57a41e,_0x295af0._0x548514)},'options':{'type':_0x2af485(_0x295af0._0x46137a,0x4c2,_0x295af0._0x15f018,_0x295af0._0x42cdd7),'items':{'type':_0x114a32(_0x295af0._0x32414d,_0x295af0._0x29c77b,0x477,_0x295af0._0x8da9ea),'properties':{'label':{'type':_0x2af485(0x3c3,_0x295af0._0x2928fe,_0x295af0._0x57a41e,_0x295af0._0x300309)},'description':{'type':_0x2af485(_0x295af0._0x7e429b,_0x295af0._0x3d9332,_0x295af0._0x46ad86,0x44e)}},'required':[_0x2af485(_0x295af0._0x12a5b8,0x3bb,_0x295af0._0x3aeac5,0x3dc),_0x2af485(_0x295af0._0x101ff,0x388,_0x295af0._0x53fd4d,0x317)]}},'multiSelect':{'type':'boolean'}},'required':[_0x114a32(_0x295af0._0x2f5ee3,0x458,_0x295af0._0x4c4e28,0x483),_0x2af485(0x34d,0x319,_0x295af0._0x6e6b66,0x389),_0x114a32(0x49b,0x6a6,_0x295af0._0x5030b0,0x5c1),_0x114a32(0x42a,0x177,_0x295af0._0x53da0c,0x2ec)]}},'answers':{'type':_0x114a32(_0x295af0._0xf7b3d1,_0x295af0._0x19cc1c,_0x295af0._0x1ded79,_0x295af0._0x4c4be0),'properties':{}}},'required':['questions']},async *'execute'(_0x130569,_0x121aed){const _0x4cdec0=_0x130569;validateInput(_0x4cdec0);const _0x218a3d=_0x121aed[_0x29a2e1(-0x170,-_0xa8b273._0xa28cfb,-_0xa8b273._0xc5bba0,_0xa8b273._0x418f0c)]??createQuestionId();if(_0x4cdec0[_0x147558(0x3cd,0x531,0x408,_0xa8b273._0x321d0f)]&&Object['keys'](_0x4cdec0[_0x147558(0x448,_0xa8b273._0x4cb72d,0x5a3,0x472)])[_0x147558(0x6c1,0x577,_0xa8b273._0x4a82a9,0x5d2)]>0x0)return createResult(_0x218a3d,_0x4cdec0['questions'][_0x147558(_0xa8b273._0x1e0c00,0x577,_0xa8b273._0x146b68,0x6f3)],_0x4cdec0['answers']);if(!_0x121aed[_0x29a2e1(-0xa9,-0x6c,-0xb5,-0x158)])throw new ToolExecutionError(_0x147558(0x6a9,_0xa8b273._0x52f430,_0xa8b273._0xfc45da,_0xa8b273._0x346018));const _0x4cef3f=buildQuestions(_0x4cdec0);function _0x29a2e1(_0x284637,_0xcbb3e5,_0x3e9da2,_0x4a1ee9){return _0x114a32(_0x284637-0xc4,_0x3e9da2,_0x3e9da2-0x34,_0xcbb3e5- -0x3da);}function _0x147558(_0x10debf,_0xd9ac15,_0x46da60,_0x38280a){return _0x114a32(_0x10debf-0xb6,_0x10debf,_0x46da60-0x1dd,_0xd9ac15-_0x3204bd._0x3042ba);}const _0x256c5b=await _0x121aed['askUser']({'questionId':_0x218a3d,'questions':_0x4cef3f});yield createResult(_0x218a3d,_0x4cdec0['questions'][_0x29a2e1(0x79,_0xa8b273._0x5f4232,-0xc9,-0x125)],_0x256c5b);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';function _0x26f978(_0x56373a,_0x2a3074,_0x1a47b0,_0x620d6b){return _0x16af(_0x1a47b0- -0x5d,_0x620d6b);}import{spawn as _0x4139b1}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x114bac){return _0x114bac instanceof Error;}function resolveCarriageReturns(_0x1f509a){const _0x1a7cbd={_0x40591e:0x4fe,_0x517ad5:0x654,_0x4d0687:0x161},_0x382dcf={_0x3ab4ee:0x4f1,_0xd02fd1:0xe1,_0x5b541b:0x2c},_0x229118={_0x2f39ba:0x270,_0x1543f5:0x5b,_0x2ebd15:0x4a},_0x29ec30={_0x3680d7:0x168,_0x5cbb28:0x100};function _0x45fa8a(_0x248224,_0x3e92f3,_0x115eed,_0x35a232){return _0x26f978(_0x248224-_0x29ec30._0x3680d7,_0x3e92f3-_0x29ec30._0x5cbb28,_0x248224-0x11a,_0x3e92f3);}function _0x17da1a(_0x2ba354,_0x2b2d86,_0x57b5cc,_0x583474){return _0x199ce4(_0x2b2d86-_0x229118._0x2f39ba,_0x2b2d86-_0x229118._0x1543f5,_0x2ba354,_0x583474-_0x229118._0x2ebd15);}return _0x1f509a[_0x45fa8a(_0x1a7cbd._0x40591e,_0x1a7cbd._0x517ad5,0x630,0x4ed)]('\x0a')['map'](_0x45f06d=>{function _0x216a4a(_0x4e37d6,_0x2bdf94,_0x243b17,_0x5a80e5){return _0x45fa8a(_0x2bdf94- -0x441,_0x243b17,_0x243b17-0x12f,_0x5a80e5-0x25);}if(!_0x45f06d[_0x2a0398(0x61d,0x717,0x4f2,_0x382dcf._0x3ab4ee)]('\x0d'))return _0x45f06d;function _0x2a0398(_0x298dbb,_0x1ce0a,_0x3886ed,_0x3d8194){return _0x45fa8a(_0x298dbb-0x22a,_0x3886ed,_0x3886ed-0x20,_0x3d8194-0x1a);}const _0x43f01e=_0x45f06d['split']('\x0d');return _0x43f01e[_0x43f01e[_0x216a4a(0x7f,-_0x382dcf._0xd02fd1,0x52,-_0x382dcf._0x5b541b)]-0x1]??'';})[_0x17da1a(_0x1a7cbd._0x4d0687,0x222,0x36c,0x282)]('\x0a');}function resolveBackspaces(_0x34c72b){const _0x44b80b={_0x448f63:0x5ab,_0x52791f:0x4af,_0x14c47b:0x4ea,_0x23f8bc:0x4ad,_0x42a8eb:0x2da,_0x4ab62d:0xe5,_0x44203f:0x233,_0x440904:0x439,_0xe46466:0x3a4,_0x2a383f:0x399,_0x1f3708:0x33d},_0x55f4b5={_0x45a4f9:0x1bc,_0x2a40d6:0x14c,_0x9525e6:0x6f};function _0x44fb67(_0x8e218,_0x903610,_0x910628,_0x188318){return _0x199ce4(_0x188318-0x38b,_0x903610-0x75,_0x903610,_0x188318-0x191);}function _0x5f5d31(_0x438464,_0x4871c0,_0x598b9f,_0x4c3bdd){return _0x26f978(_0x438464-_0x55f4b5._0x45a4f9,_0x4871c0-_0x55f4b5._0x2a40d6,_0x438464-_0x55f4b5._0x9525e6,_0x4c3bdd);}const _0x18a237=[];for(const _0x1ef52d of Array[_0x44fb67(_0x44b80b._0x448f63,_0x44b80b._0x52791f,_0x44b80b._0x14c47b,_0x44b80b._0x23f8bc)](_0x34c72b)){_0x1ef52d==='\x08'?_0x18a237[_0x44fb67(0x29f,0x1b0,_0x44b80b._0x42a8eb,0x2fe)]():_0x18a237[_0x44fb67(_0x44b80b._0x4ab62d,0x124,0x29b,_0x44b80b._0x44203f)](_0x1ef52d);}return _0x18a237[_0x44fb67(_0x44b80b._0x440904,_0x44b80b._0xe46466,_0x44b80b._0x2a383f,_0x44b80b._0x1f3708)]('');}function stripAnsiAndControls(_0x55c9e1){const _0x2ca9be={_0x1cdb9c:0x7ae,_0xbf7889:0x773,_0x5232ef:0x49d,_0x35c7ab:0x58f,_0x3057fe:0x2ea,_0x8b1341:0x469,_0x27d75d:0x413,_0x433433:0x4b9,_0x160a82:0x44f,_0x3b2c03:0x1bb,_0x235bcd:0x311,_0x1d844f:0x311,_0x1d79a2:0x54f,_0x2803ee:0x5f9,_0x85d42e:0x53d,_0x54a501:0x735,_0x3be4db:0x60d,_0x3c7fbe:0x62e,_0x40111d:0x648},_0x57a6a5={_0x1dbea0:0x3ab},_0x3dd416={_0x5e94aa:0x2f6,_0x2884f6:0x42};_0x55c9e1=resolveCarriageReturns(_0x55c9e1),_0x55c9e1=resolveBackspaces(_0x55c9e1),_0x55c9e1=stripVTControlCharacters(_0x55c9e1);const _0x28f6aa='\x1b',_0x4b7cec='\x07';function _0x257bf9(_0x4a8640,_0x3e888c,_0x23a9dd,_0x3085d6){return _0x199ce4(_0x3085d6-_0x3dd416._0x5e94aa,_0x3e888c-_0x3dd416._0x2884f6,_0x23a9dd,_0x3085d6-0x1e6);}_0x55c9e1=_0x55c9e1[_0x131d68(0x669,_0x2ca9be._0x1cdb9c,_0x2ca9be._0xbf7889,0x648)](new RegExp(_0x131d68(_0x2ca9be._0x5232ef,0x6bd,_0x2ca9be._0x35c7ab,0x5ee)+_0x4b7cec+_0x257bf9(_0x2ca9be._0x3057fe,_0x2ca9be._0x8b1341,0x458,0x426)+_0x4b7cec,'g'),''),_0x55c9e1=_0x55c9e1['replace'](new RegExp(_0x131d68(0x479,_0x2ca9be._0x27d75d,0x5e2,_0x2ca9be._0x433433)+_0x28f6aa+'\x5c\x5c','g'),''),_0x55c9e1=_0x55c9e1[_0x257bf9(0x36c,_0x2ca9be._0x160a82,_0x2ca9be._0x3b2c03,_0x2ca9be._0x235bcd)](new RegExp(_0x4b7cec,'g'),''),_0x55c9e1=_0x55c9e1[_0x257bf9(0x198,0x1c8,0x1f9,_0x2ca9be._0x1d844f)](new RegExp(_0x28f6aa+_0x131d68(0x3d3,0x67b,_0x2ca9be._0x1d79a2,0x534)+_0x28f6aa+'\x5c\x5c','g'),''),_0x55c9e1=_0x55c9e1['replace'](new RegExp(_0x28f6aa+_0x131d68(_0x2ca9be._0x2803ee,_0x2ca9be._0x85d42e,0x6dc,0x5fd),'g'),''),_0x55c9e1=_0x55c9e1[_0x131d68(_0x2ca9be._0x54a501,0x4cd,_0x2ca9be._0x3be4db,0x648)](/[\u0080-\u009F]/g,''),_0x55c9e1=_0x55c9e1['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x55c9e1=_0x55c9e1[_0x131d68(0x52d,_0x2ca9be._0x3c7fbe,0x5b9,_0x2ca9be._0x40111d)](/[\u23CE\u2424]/g,'');function _0x131d68(_0x4d4973,_0x33835a,_0x2d432a,_0x1d803f){return _0x26f978(_0x4d4973-0x1ec,_0x33835a-0xd3,_0x1d803f-_0x57a6a5._0x1dbea0,_0x2d432a);}return _0x55c9e1;}function killProcessGroup(_0x4f2b39,_0x2ff584,_0x3a5f21=_0x26f978(0x1fe,0x13d,0x1b9,0x181)){const _0x24bdc2={_0x15b1f4:0x192,_0x3ae44a:0x353,_0x5a5dbc:0x256,_0x39b1a4:0x246,_0x3b3db7:0x4cc,_0x1d50aa:0xcc,_0x4c7ab2:0x2,_0x33e35b:0x196,_0x5e40c0:0x6e,_0x4db0e8:0x420},_0x506422={_0x1dac57:0xe5,_0x2cade6:0x4a},_0x500677={_0x303f7c:0xdd};if(!_0x4f2b39[_0x2347d5(_0x24bdc2._0x15b1f4,0xed,0x38,0xca)])return;function _0x23cb38(_0x4e17a4,_0x240ca8,_0x1a4fdd,_0x5a73b6){return _0x26f978(_0x4e17a4-_0x500677._0x303f7c,_0x240ca8-0x7,_0x240ca8-0x13a,_0x4e17a4);}function _0x2347d5(_0x24af9f,_0x329fe5,_0x5ae139,_0x936ba1){return _0x199ce4(_0x24af9f-_0x506422._0x1dac57,_0x329fe5-_0x506422._0x2cade6,_0x5ae139,_0x936ba1-0xe4);}if(_0x2ff584)try{_0x4139b1(_0x23cb38(_0x24bdc2._0x3ae44a,0x301,_0x24bdc2._0x5a5dbc,_0x24bdc2._0x39b1a4),['/pid',_0x4f2b39[_0x23cb38(_0x24bdc2._0x3b3db7,0x469,0x3d6,0x328)][_0x2347d5(_0x24bdc2._0x1d50aa,-_0x24bdc2._0x4c7ab2,_0x24bdc2._0x33e35b,_0x24bdc2._0x5e40c0)](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x4f2b39['kill'](_0x3a5f21);return;}try{process['kill'](-_0x4f2b39['pid'],_0x3a5f21);}catch{_0x4f2b39[_0x23cb38(0x50d,0x3d0,_0x24bdc2._0x4db0e8,0x2cd)](_0x3a5f21);}}var BackgroundProcessRegistry=class{[_0x26f978(0x3a6,0x361,0x260,0x1d2)]=new Map();[_0x26f978(0x3f6,0x46f,0x2fd,0x27a)];['maxEntries'];[_0x199ce4(0x9e,-0xc2,0x125,0x130)];['counter']=0x0;constructor(_0x506ede={}){const _0x427c12={_0x3e5c1b:0x33e,_0x31afe4:0x467,_0x4def2a:0x5ae,_0x2da24f:0x51c,_0x451b97:0x3a7,_0x1a0cf6:0x2e2,_0x464978:0x326,_0x574321:0x46d,_0x56b0fe:0x703},_0x171621={_0x51dd0a:0x26};function _0x3e725d(_0x52e2fb,_0xf864dd,_0x5a4711,_0x956586){return _0x26f978(_0x52e2fb-0x186,_0xf864dd-0x48,_0x5a4711-0x2c3,_0x52e2fb);}this[_0x32784e(0x30c,0x32e,0x279,_0x427c12._0x3e5c1b)]=_0x506ede[_0x3e725d(_0x427c12._0x31afe4,_0x427c12._0x4def2a,0x5c0,_0x427c12._0x2da24f)]??0xa;function _0x32784e(_0x5b396e,_0x46ac1b,_0x42de03,_0x2573a3){return _0x199ce4(_0x2573a3-0x2c3,_0x46ac1b-0x9a,_0x5b396e,_0x2573a3-_0x171621._0x51dd0a);}this[_0x32784e(_0x427c12._0x451b97,_0x427c12._0x1a0cf6,0x284,_0x427c12._0x464978)]=_0x506ede['maxEntries']??0x40,this[_0x3e725d(0x54b,_0x427c12._0x574321,0x5e3,_0x427c12._0x56b0fe)]=_0x506ede[_0x3e725d(0x4da,0x73a,0x5e3,0x582)]??0x100000;}[_0x26f978(0x293,0x33c,0x279,0x111)](_0x3c34d1){const _0x3eedab={_0x5a6f8f:0x96,_0x4436cc:0x59,_0x4f0720:0x1ce,_0x317862:0x1b1,_0x496b84:0x73,_0xea7e47:0xc9,_0x5732f6:0x115,_0x432510:0x194,_0x11be2b:0x1d9,_0xb7408c:0x1de,_0x36c632:0x13f,_0x59e9e7:0x1c7,_0x427801:0x60,_0x3ff84c:0x20,_0x13e9eb:0xcf,_0x67b8ec:0x1e8,_0x533b2d:0x1a7,_0x13994a:0x48,_0x27c430:0x1af,_0x1f5aca:0x235,_0x20857d:0x38f,_0x402a8a:0x1fd,_0x4add5b:0x243,_0x3f2b66:0x33d,_0x1059e9:0x2c3,_0x22fc94:0x25d,_0x4e32a7:0x1ba,_0x1bb486:0x49,_0x364d16:0x57,_0x30542e:0x1b0,_0x2055e6:0x74,_0x153afa:0x189,_0x58036c:0x3a,_0x16346d:0xe3,_0x29f830:0x9d,_0x5e1f14:0x18d,_0x33564c:0x26e,_0x444d2c:0x1e2,_0x1eb295:0xb5,_0x374d9b:0xd2,_0x593ef3:0x32a,_0x354edc:0x22a,_0x380f06:0x25e,_0x235cd5:0x23,_0xa0253b:0xbe,_0x567f09:0x87,_0x1d12a6:0xd0,_0x258bea:0x2d,_0x9d56f3:0x89,_0x45778e:0x1c5,_0x35c91e:0xf,_0x47dc6a:0x55},_0x1f2da7={_0xe24951:0x2a0,_0x43edeb:0x377,_0x1da608:0x244},_0x3cdfab={_0x5a7a2d:0x921,_0x8037b6:0x801,_0xa25956:0x832,_0x1d51b5:0x8d7,_0x385e25:0x6e1,_0x179867:0x88d,_0x26caa8:0xe9,_0x95f889:0x736,_0x4609fd:0x5d5,_0x51fbfb:0x681,_0x2b34b5:0x1bf,_0x40a329:0x24,_0x595002:0x1a9,_0x4bbf45:0x31a,_0x2998a4:0x6f3,_0x5b5f58:0x727,_0x543570:0x137,_0x312067:0x21,_0x3f40fc:0x63,_0x1e91f8:0x10d,_0x29749b:0x153,_0x9073cd:0x69},_0x1d96a1={_0x266c4b:0x47,_0x5addf8:0x29},_0x24b7d7={_0x75904a:0x8,_0xf1cda6:0x8d};function _0x2e71c5(_0x2ef9ae,_0x455cb4,_0x2a046e,_0x4454ec){return _0x199ce4(_0x455cb4- -_0x24b7d7._0x75904a,_0x455cb4-0x19c,_0x2a046e,_0x4454ec-_0x24b7d7._0xf1cda6);}const _0x4830a9=[...this[_0x2e71c5(-0x27,-0x2a,0x148,-_0x3eedab._0x5a6f8f)]['values']()][_0x2ffd99(0xda,-_0x3eedab._0x4436cc,_0x3eedab._0x4f0720,_0x3eedab._0x317862)](_0x1d3295=>_0x1d3295['status']===_0x2e71c5(-0x55,0x118,-0x33,0x128))[_0x2e71c5(_0x3eedab._0x496b84,-0x44,0xf3,-_0x3eedab._0xea7e47)];if(_0x4830a9>=this[_0x2e71c5(-0xb7,_0x3eedab._0x496b84,_0x3eedab._0x5732f6,0x123)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this['maxConcurrent']+_0x2ffd99(_0x3eedab._0x432510,_0x3eedab._0x11be2b,_0x3eedab._0xb7408c,0xea),{'running':this[_0x2e71c5(-0x30,0x73,_0x3eedab._0x36c632,_0x3eedab._0x59e9e7)]});const _0x5b7043=_0x2e71c5(-_0x3eedab._0x427801,-_0x3eedab._0x3ff84c,_0x3eedab._0x13e9eb,-0x69)+ ++this[_0x2ffd99(_0x3eedab._0x67b8ec,0x177,0x281,0x273)]+'-'+randomUUID()[_0x2ffd99(_0x3eedab._0x533b2d,_0x3eedab._0x13994a,0x290,0x263)](0x0,0x8);function _0x2ffd99(_0x546d9f,_0x49f766,_0x170b69,_0x485ad8){return _0x26f978(_0x546d9f-_0x1d96a1._0x266c4b,_0x49f766-_0x1d96a1._0x5addf8,_0x546d9f- -0xec,_0x49f766);}const _0x5eb476={'shellId':_0x5b7043,'command':_0x3c34d1[_0x2ffd99(0x264,_0x3eedab._0x27c430,0x2ec,0x35e)],'cwd':_0x3c34d1[_0x2ffd99(_0x3eedab._0x1f5aca,_0x3eedab._0x20857d,0x287,0x322)],'pid':_0x3c34d1[_0x2e71c5(0x11c,0xd0,_0x3eedab._0x402a8a,0xff)][_0x2ffd99(_0x3eedab._0x4add5b,_0x3eedab._0x3f2b66,_0x3eedab._0x1059e9,_0x3eedab._0x22fc94)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x2ffd99(0x96,_0x3eedab._0x4e32a7,_0x3eedab._0x1bb486,-_0x3eedab._0x364d16)](),'child':_0x3c34d1[_0x2e71c5(_0x3eedab._0x30542e,0xd0,_0x3eedab._0x2055e6,-0x7d)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x2e71c5(_0x3eedab._0x153afa,_0x3eedab._0x58036c,0x10b,_0x3eedab._0x16346d)),'stderrDecoder':new StringDecoder(_0x2e71c5(-0xa0,0x3a,-0xed,_0x3eedab._0x29f830)),'stripAnsi':_0x3c34d1[_0x2ffd99(0x2c2,0x231,_0x3eedab._0x5e1f14,0x2aa)],'killRequested':![],'processExited':![]};return _0x3c34d1['child']['stdout']?.['on'](_0x2ffd99(0x1d6,0x15d,0x2f7,0x2c5),_0xa68238=>this[_0x2e71c5(0x5,0x175,0x64,0xfd)](_0x5eb476,_0x5eb476[_0x2e71c5(0x20c,0x144,0xa8,0x232)]['write'](_0xa68238))),_0x3c34d1[_0x2ffd99(_0x3eedab._0x33564c,_0x3eedab._0x444d2c,0x3bd,0x2bf)][_0x2ffd99(0x5b,-0x104,-0xba,-0x1a)]?.['on'](_0x2e71c5(-0x51,0x38,_0x3eedab._0x3ff84c,0x1ab),_0x2add5b=>this[_0x2ffd99(0x313,0x254,0x1e4,0x3ab)](_0x5eb476,_0x5eb476[_0x2ffd99(0x1e1,0x222,0x19d,0x1ab)]['write'](_0x2add5b))),_0x3c34d1['child']['once'](_0x2ffd99(_0x3eedab._0x1eb295,-0x8b,_0x3eedab._0x374d9b,0x9f),()=>{_0x5eb476['processExited']=!![];}),_0x3c34d1[_0x2ffd99(0x26e,0x13a,_0x3eedab._0x593ef3,0x29f)][_0x2ffd99(0xf3,_0x3eedab._0x354edc,_0x3eedab._0x380f06,-_0x3eedab._0x235cd5)](_0x2ffd99(0x1ad,_0x3eedab._0xa0253b,_0x3eedab._0x427801,0x109),(_0x4c66a0,_0x5d1295)=>{this[_0x41e808(_0x3cdfab._0x5a7a2d,_0x3cdfab._0x8037b6,0x98e,_0x3cdfab._0xa25956)](_0x5eb476,_0x5eb476[_0x41e808(_0x3cdfab._0x1d51b5,_0x3cdfab._0x385e25,_0x3cdfab._0x179867,0x801)][_0x41e808(0x551,0x52e,0x5c7,0x661)]()),this[_0x2b8c54(0x256,0x103,0x1f8,_0x3cdfab._0x26caa8)](_0x5eb476,_0x5eb476['stderrDecoder']['end']()),_0x5eb476[_0x41e808(0x612,_0x3cdfab._0x95f889,_0x3cdfab._0x4609fd,_0x3cdfab._0x51fbfb)]=_0x5eb476[_0x2b8c54(_0x3cdfab._0x2b34b5,_0x3cdfab._0x40a329,0x107,_0x3cdfab._0x595002)]?_0x2b8c54(0x94,0x273,0x1be,_0x3cdfab._0x4bbf45):_0x41e808(0x5f1,_0x3cdfab._0x2998a4,_0x3cdfab._0x5b5f58,0x73f);function _0x2b8c54(_0x15b1f0,_0x35d1cd,_0x3fb77c,_0x5cae87){return _0x2e71c5(_0x15b1f0-0x1de,_0x3fb77c-0x83,_0x5cae87,_0x5cae87-0x10e);}_0x5eb476['exitCode']=_0x4c66a0;function _0x41e808(_0x52e5a2,_0x2f6e3b,_0x4d4a2d,_0x2f9461){return _0x2ffd99(_0x2f9461-0x51f,_0x4d4a2d,_0x4d4a2d-0x73,_0x2f9461-0x15b);}_0x5eb476[_0x2b8c54(-_0x3cdfab._0x543570,_0x3cdfab._0x312067,-0x57,_0x3cdfab._0x3f40fc)]=_0x5d1295,_0x5eb476[_0x2b8c54(_0x3cdfab._0x1e91f8,0xf6,_0x3cdfab._0x29749b,_0x3cdfab._0x9073cd)]=null;}),_0x3c34d1[_0x2e71c5(_0x3eedab._0x567f09,_0x3eedab._0x1d12a6,0x204,0x1ec)][_0x2ffd99(0xf3,-_0x3eedab._0x258bea,0x69,_0x3eedab._0x9d56f3)]('error',_0x408ce9=>{const _0x1f89ed={_0x4fef98:0x83,_0x44a064:0x29,_0x223afc:0x30},_0x500b47={_0x29f7d6:0x10b};_0x5eb476['status']=_0x22369c(0x157,0x367,0x260,_0x1f2da7._0xe24951);function _0x22369c(_0x4b60fb,_0x40db9b,_0x58cbb2,_0x5f3e1a){return _0x2ffd99(_0x5f3e1a-_0x500b47._0x29f7d6,_0x58cbb2,_0x58cbb2-0x33,_0x5f3e1a-0x156);}_0x5eb476[_0x22369c(_0x1f2da7._0x43edeb,0x35a,_0x1f2da7._0x1da608,0x2a0)]=_0x408ce9['message'];function _0x5568d8(_0x562ce2,_0x9b9e72,_0x1e3fe3,_0x3cc7e0){return _0x2ffd99(_0x562ce2- -_0x1f89ed._0x4fef98,_0x9b9e72,_0x1e3fe3-_0x1f89ed._0x44a064,_0x3cc7e0-_0x1f89ed._0x223afc);}_0x5eb476['child']=null;}),this['entries'][_0x2e71c5(0x23d,0xf2,_0x3eedab._0x45778e,_0x3eedab._0x35c91e)](_0x5b7043,_0x5eb476),this[_0x2ffd99(_0x3eedab._0x47dc6a,0x120,0xbc,0x179)](),_0x5eb476;}[_0x26f978(0x166,0x389,0x23d,0x171)](_0x27b761,_0x523f66){const _0x1f4569={_0x5563b7:0x1bf,_0x5218cd:0xb1,_0x45476f:0x19e,_0x9b9a91:0x1e0,_0x52e41f:0x97,_0x3d3156:0x1f6,_0x598cae:0x32e,_0x3690a4:0x3b5,_0x222da6:0x2c5,_0x333cd:0xd5,_0x1a94ce:0x12b,_0x1a9ec7:0xb2,_0x1849b1:0x1df,_0x41d6b8:0xa1,_0x368d44:0x71,_0x215d95:0x3c0,_0x4be9d9:0x104,_0xec622c:0x250,_0x1404d0:0x3a2,_0x2cb7e0:0x3bb,_0x4fa384:0x2da,_0x4d6f74:0x32f,_0x4b40b2:0x3da,_0x1d8739:0x26a,_0x49a8dc:0x35d,_0x2f7f27:0x277,_0x50f5db:0x378,_0x252a20:0x39d,_0x328414:0x3cf,_0x4861ef:0x356,_0xe337ce:0x22,_0x292cc5:0x174,_0x4232c5:0x4b4,_0x34f2d:0x449,_0xe4a0c8:0x3b6,_0x400cc9:0xb0,_0xbae9dd:0x223,_0x113683:0x2dd,_0x2b2478:0x2d5,_0x2b0ae0:0x322,_0x3d8c65:0x343,_0x38b265:0x3d4,_0x56b437:0x290,_0x330a6a:0x3fb,_0x6d9ae5:0x35a,_0x3bfc2a:0x1},_0x4d0951={_0x1dbf24:0x192,_0x13f092:0x1af},_0x4ac1cd={_0x19fd78:0x10f};function _0x196837(_0x405e9b,_0x2701d4,_0x3d9616,_0x50233e){return _0x26f978(_0x405e9b-0x1f0,_0x2701d4-0x13f,_0x2701d4-_0x4ac1cd._0x19fd78,_0x50233e);}const _0x28df6d=this[_0x29e8c6(-0xa2,_0x1f4569._0x5563b7,0x8b,_0x1f4569._0x5218cd)][_0x196837(_0x1f4569._0x45476f,0x240,0x341,0x2cf)](_0x27b761);if(!_0x28df6d)throw new ToolExecutionError(_0x29e8c6(0x5c,-_0x1f4569._0x9b9a91,-0x12c,-_0x1f4569._0x52e41f)+_0x27b761,{'shellId':_0x27b761});const _0x517e63=_0x28df6d[_0x196837(_0x1f4569._0x3d3156,_0x1f4569._0x598cae,_0x1f4569._0x3690a4,_0x1f4569._0x222da6)]['join'](''),_0x5ee5a8=Math['max'](_0x28df6d[_0x29e8c6(_0x1f4569._0x333cd,0x28f,0x187,_0x1f4569._0x1a94ce)],_0x28df6d[_0x29e8c6(_0x1f4569._0x1a9ec7,_0x1f4569._0x1849b1,-_0x1f4569._0x41d6b8,_0x1f4569._0x368d44)]);function _0x29e8c6(_0x14c6e9,_0x1f56e4,_0x118967,_0x378531){return _0x26f978(_0x14c6e9-_0x4d0951._0x1dbf24,_0x1f56e4-0xdb,_0x378531- -_0x4d0951._0x13f092,_0x14c6e9);}const _0x48f4d5=Math[_0x196837(0x385,0x408,0x2e3,_0x1f4569._0x215d95)](0x0,_0x28df6d['totalDropped']-_0x28df6d[_0x29e8c6(_0x1f4569._0x4be9d9,0x11,_0x1f4569._0xec622c,0x12b)]),_0x104c83=_0x517e63[_0x196837(0x3fd,_0x1f4569._0x1404d0,0x23f,_0x1f4569._0x2cb7e0)](_0x5ee5a8-_0x28df6d[_0x196837(_0x1f4569._0x4fa384,_0x1f4569._0x4d6f74,_0x1f4569._0x4b40b2,_0x1f4569._0x1d8739)]),_0x5a9225=_0x28df6d[_0x196837(0x3e8,_0x1f4569._0x49a8dc,0x43d,0x489)]!=='running';let _0x242295;const _0x24067e=_0x523f66?.[_0x196837(0x116,_0x1f4569._0x2f7f27,_0x1f4569._0x50f5db,0x16e)];if(!_0x24067e)_0x242295=_0x104c83,_0x28df6d['readCursor']=_0x28df6d[_0x196837(0x23e,_0x1f4569._0x252a20,_0x1f4569._0x328414,_0x1f4569._0x4861ef)];else{let _0x52f08e;try{_0x52f08e=new RegExp(_0x24067e);}catch(_0x167f2b){throw new ToolExecutionError(_0x29e8c6(0x14,0x213,_0x1f4569._0xe337ce,_0x1f4569._0x292cc5)+_0x167f2b[_0x196837(_0x1f4569._0x4232c5,0x44b,_0x1f4569._0x34f2d,_0x1f4569._0xe4a0c8)],{'shellId':_0x27b761,'regex':_0x24067e});}let _0x2f0178=_0x104c83;if(!_0x5a9225){const _0x48c8df=_0x104c83['lastIndexOf']('\x0a');_0x2f0178=_0x48c8df>=0x0?_0x104c83[_0x29e8c6(_0x1f4569._0x400cc9,_0x1f4569._0xbae9dd,0x17d,0xe4)](0x0,_0x48c8df+0x1):'';}_0x242295=_0x2f0178[_0x196837(0x3cf,0x4f3,0x3ef,0x60a)]('\x0a')[_0x196837(_0x1f4569._0x113683,_0x1f4569._0x2b2478,0x38c,_0x1f4569._0x2b0ae0)](_0x407d85=>_0x52f08e['test'](_0x407d85))[_0x196837(0x2fc,_0x1f4569._0x3d8c65,0x24a,_0x1f4569._0x38b265)]('\x0a'),_0x28df6d['readCursor']=_0x5ee5a8+_0x2f0178['length'];}const _0x3c408a=(_0x48f4d5>0x0?'[output\x20truncated:\x20'+_0x48f4d5+_0x196837(0x428,0x365,_0x1f4569._0x56b437,0x311):'')+_0x242295;return{'output':_0x3c408a,'status':_0x28df6d['status'],'exitCode':_0x28df6d[_0x196837(0x3f2,0x3f8,_0x1f4569._0x330a6a,_0x1f4569._0x6d9ae5)],'signal':_0x28df6d[_0x29e8c6(0x10c,-0x81,0x123,_0x1f4569._0x3bfc2a)],'truncated':_0x48f4d5>0x0};}[_0x26f978(0x324,0x29c,0x357,0x25c)](){const _0x3b84ab={_0x2cb178:0x2f9,_0x1ab19b:0x44c,_0x46f5f3:0x24d,_0x20625e:0x371,_0x4e27c9:0x1f7},_0x35bd34={_0x522dab:0x2d};function _0xdcc136(_0x49f15b,_0x12cf00,_0x5527ee,_0x179b5a){return _0x26f978(_0x49f15b-0x16f,_0x12cf00-0x105,_0x12cf00-0x99,_0x49f15b);}function _0x2a230a(_0xbed70d,_0x53cff6,_0x30816d,_0x2db314){return _0x199ce4(_0x2db314-0x161,_0x53cff6-_0x35bd34._0x522dab,_0xbed70d,_0x2db314-0x2a);}return[...this[_0xdcc136(0x383,_0x3b84ab._0x2cb178,_0x3b84ab._0x1ab19b,_0x3b84ab._0x46f5f3)][_0x2a230a(0x12c,_0x3b84ab._0x20625e,_0x3b84ab._0x4e27c9,0x277)]()];}[_0x199ce4(0x14,0x143,-0x1a,-0x5a)](_0x5ca765){const _0xd010ce={_0x32b892:0x21,_0x1e5af7:0x42,_0x53b648:0x151,_0x2e3915:0xee,_0x49ed7c:0x116,_0x5b5214:0x239,_0x1d68a7:0x3d1,_0x3d37d8:0x176,_0x136c80:0xd2,_0x277eba:0x2a7,_0x59da7d:0x232,_0x18d398:0x158,_0x155e9e:0x20,_0x5dadcb:0x210,_0xd2f121:0xbb,_0x457021:0xe2,_0x583798:0x51,_0x453e4f:0x13e,_0x1726a1:0x194,_0x4de0f6:0x234,_0x38a966:0x3c1},_0x3ddd99={_0x5551da:0x18e,_0x2ff16b:0x56,_0x2b5a53:0x10b},_0x21b989={_0x33578:0x110};function _0x363099(_0x567ed4,_0x1e5484,_0x4f3328,_0x1f78b6){return _0x26f978(_0x567ed4-0x1e2,_0x1e5484-0x16b,_0x567ed4- -_0x21b989._0x33578,_0x4f3328);}const _0x14b2d5=this['entries'][_0x363099(_0xd010ce._0x32b892,0x148,_0xd010ce._0x1e5af7,-_0xd010ce._0x53b648)](_0x5ca765);if(!_0x14b2d5)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x5ca765,{'shellId':_0x5ca765});function _0x43aad2(_0x3cfb17,_0xb23d18,_0x54067a,_0x5251aa){return _0x26f978(_0x3cfb17-_0x3ddd99._0x5551da,_0xb23d18-_0x3ddd99._0x2ff16b,_0x5251aa-_0x3ddd99._0x2b5a53,_0x54067a);}if(_0x14b2d5[_0x363099(0x13e,0x20c,_0xd010ce._0x2e3915,_0xd010ce._0x49ed7c)]===_0x363099(0x292,0x1ab,_0xd010ce._0x5b5214,0x160)&&_0x14b2d5[_0x43aad2(0x519,_0xd010ce._0x1d68a7,0x3ec,0x465)]&&!_0x14b2d5[_0x363099(_0xd010ce._0x3d37d8,0x1f2,0x2a4,_0xd010ce._0x136c80)]){_0x14b2d5[_0x363099(0x1fe,_0xd010ce._0x277eba,0x1cb,_0xd010ce._0x59da7d)]=!![];try{killProcessGroup(_0x14b2d5['child'],process[_0x363099(_0xd010ce._0x18d398,-_0xd010ce._0x155e9e,_0xd010ce._0x5dadcb,_0xd010ce._0xd2f121)]===_0x363099(_0xd010ce._0x457021,0x1e4,-_0xd010ce._0x583798,0x22d));}catch{}}return{'status':_0x14b2d5[_0x363099(_0xd010ce._0x453e4f,0xc8,0x42,_0xd010ce._0x1726a1)],'exitCode':_0x14b2d5[_0x363099(0x1d9,0x1e3,0xfd,0x329)],'signal':_0x14b2d5[_0x43aad2(0x38b,_0xd010ce._0x4de0f6,_0xd010ce._0x38a966,0x2bb)]};}async['closeAll'](){const _0x346a12={_0x2a7ea1:0x23a,_0x4177e6:0x1f8,_0x1985db:0x37c,_0x1a45b7:0x4f6,_0x51b9c4:0x602,_0x3fc455:0x4b0,_0x12cfd3:0x61b,_0x431c8d:0x6f8,_0x1d59e3:0x625,_0x1549d9:0x27e,_0x55616a:0x242,_0xa95fb3:0x426},_0x1957b4={_0x214ad4:0x25c,_0x46f457:0x1cc,_0x4e5be9:0x16},_0x2f44b5={_0x27b8b7:0x5ec};function _0x1c23b2(_0x2ce2d7,_0x1442fd,_0x378ac0,_0xeab613){return _0x199ce4(_0xeab613-_0x2f44b5._0x27b8b7,_0x1442fd-0x142,_0x378ac0,_0xeab613-0x14b);}function _0x474c8d(_0x1aa7ce,_0x9d4c6,_0x124478,_0x3f302c){return _0x199ce4(_0x9d4c6-_0x1957b4._0x214ad4,_0x9d4c6-_0x1957b4._0x46f457,_0x3f302c,_0x3f302c-_0x1957b4._0x4e5be9);}for(const _0x36b4cc of this[_0x474c8d(0x2e2,_0x346a12._0x2a7ea1,0x2ae,0x342)]['values']()){if(_0x36b4cc[_0x474c8d(_0x346a12._0x4177e6,0x228,0x369,0x2b5)]===_0x474c8d(0x3f3,_0x346a12._0x1985db,0x292,_0x346a12._0x1a45b7)&&_0x36b4cc[_0x1c23b2(_0x346a12._0x51b9c4,0x75b,0x767,0x6c4)]&&!_0x36b4cc[_0x1c23b2(_0x346a12._0x3fc455,_0x346a12._0x12cfd3,_0x346a12._0x431c8d,0x5f0)]){_0x36b4cc[_0x1c23b2(0x549,0x5dc,0x557,0x678)]=!![];try{killProcessGroup(_0x36b4cc[_0x1c23b2(_0x346a12._0x1d59e3,0x832,0x77a,0x6c4)],process[_0x474c8d(_0x346a12._0x1549d9,_0x346a12._0x55616a,0x2b1,0x146)]===_0x1c23b2(0x591,0x426,_0x346a12._0xa95fb3,0x55c));}catch{}}}}[_0x26f978(0x54d,0x4c6,0x3ff,0x29c)](_0x4aad63,_0x102886){const _0x537c18={_0x2c859e:0x419,_0x17c742:0x605,_0x369ab0:0x50e,_0x93d3c4:0x27f,_0x1f79c1:0x3c2,_0x55f3a0:0x28a,_0x59c531:0x2ed,_0x409e23:0x32f,_0x3404b3:0x284,_0x47f177:0x736,_0x51443d:0x771,_0x27a2b3:0x474,_0x3331bd:0x33f,_0x37f9e0:0x2e1,_0x492524:0x691,_0x136274:0x5ed,_0x43b1eb:0x2dc,_0x5d3ddc:0x703,_0xa74536:0x7ae,_0x4ebcb4:0x35e,_0x45bfa0:0x192,_0x1a0f30:0x23d,_0x475417:0x3f2,_0xe5dc64:0x359,_0x302d92:0x68a,_0x3ea5da:0x655,_0x22611f:0x557,_0x5a3b7b:0x672,_0x11cf7d:0x3a6,_0x1fb47d:0x388,_0x1497a0:0x20c,_0x5613c7:0x380},_0x4917a2={_0x256e1f:0x160},_0xdc61f6={_0x4fd93a:0x6c1},_0x435429=_0x4aad63[_0x57c0ba(_0x537c18._0x2c859e,0x620,_0x537c18._0x17c742,_0x537c18._0x369ab0)]?stripAnsiAndControls(_0x102886):_0x102886;if(_0x435429['length']===0x0)return;_0x4aad63['buffer'][_0x57c0ba(0x28b,_0x537c18._0x93d3c4,_0x537c18._0x1f79c1,_0x537c18._0x55f3a0)](_0x435429);function _0x20fc25(_0x310e91,_0xce23ef,_0x5203c8,_0x1e2cd4){return _0x199ce4(_0xce23ef-_0xdc61f6._0x4fd93a,_0xce23ef-0x13d,_0x310e91,_0x1e2cd4-0x133);}_0x4aad63[_0x57c0ba(_0x537c18._0x59c531,_0x537c18._0x409e23,0x35b,_0x537c18._0x3404b3)]+=_0x435429[_0x20fc25(0x6ac,0x685,0x719,_0x537c18._0x47f177)],_0x4aad63[_0x20fc25(0x771,0x6cd,0x81f,_0x537c18._0x51443d)]+=_0x435429[_0x57c0ba(0x4c7,_0x537c18._0x27a2b3,_0x537c18._0x3331bd,0x3a6)];function _0x57c0ba(_0xab294d,_0x557238,_0x5ccf2,_0x207252){return _0x26f978(_0xab294d-0x17,_0x557238-0x1b8,_0x207252-_0x4917a2._0x256e1f,_0xab294d);}while(_0x4aad63[_0x57c0ba(0x1a6,_0x537c18._0x37f9e0,0x14f,0x284)]>this[_0x20fc25(_0x537c18._0x492524,0x75f,0x828,_0x537c18._0x136274)]){const _0x3055c4=_0x4aad63['bufferChars']-this['capChars'],_0x3e6f30=_0x4aad63[_0x57c0ba(0x3ca,0x34e,_0x537c18._0x43b1eb,0x37f)][0x0];_0x3e6f30['length']<=_0x3055c4?(_0x4aad63[_0x20fc25(0x7c8,0x65e,_0x537c18._0x5d3ddc,_0x537c18._0xa74536)][_0x57c0ba(_0x537c18._0x4ebcb4,_0x537c18._0x45bfa0,_0x537c18._0x1a0f30,0x2da)](),_0x4aad63[_0x57c0ba(0x396,_0x537c18._0x475417,_0x537c18._0xe5dc64,0x284)]-=_0x3e6f30[_0x20fc25(_0x537c18._0x302d92,0x685,_0x537c18._0x3ea5da,_0x537c18._0x22611f)],_0x4aad63[_0x20fc25(_0x537c18._0x5a3b7b,0x65f,0x7c2,0x697)]+=_0x3e6f30[_0x57c0ba(0x370,0x242,0x375,_0x537c18._0x11cf7d)]):(_0x4aad63['buffer'][0x0]=_0x3e6f30['slice'](_0x3055c4),_0x4aad63['bufferChars']-=_0x3055c4,_0x4aad63[_0x57c0ba(0x4e6,_0x537c18._0x1fb47d,_0x537c18._0x1497a0,_0x537c18._0x5613c7)]+=_0x3055c4);}}[_0x26f978(0x25f,0xee,0x141,0x8f)](){const _0xb77a21={_0x190972:0x64e,_0x40acbf:0x62a,_0x163679:0x2d6,_0x5b3824:0x1d9,_0x51d852:0x3df,_0x58cb42:0x488,_0x1d3e0c:0x4dc,_0x5b4e55:0x6f4,_0x4f8e33:0x398,_0x59e63c:0x5da,_0x1da77d:0x37f,_0x5a4c4b:0x67e,_0x3b803b:0x578,_0x201178:0x491,_0x39606b:0x23a,_0x413e3c:0x298,_0x4dacd0:0xbe,_0x2cd50d:0x12a},_0x26cbce={_0x56b2dd:0x2a,_0x817e9e:0x29,_0x531e5d:0x312},_0x9645ff={_0x4b1007:0x11a,_0x57673e:0x179};if(this[_0x4ceb9a(_0xb77a21._0x190972,0x572,_0xb77a21._0x40acbf,0x5d0)][_0x56bc35(_0xb77a21._0x163679,_0xb77a21._0x5b3824,_0xb77a21._0x51d852,0x1e0)]<=this[_0x4ceb9a(_0xb77a21._0x58cb42,0x5f7,_0xb77a21._0x1d3e0c,_0xb77a21._0x5b4e55)])return;function _0x56bc35(_0x2944f5,_0x1a72f4,_0x5df6db,_0xd86e3f){return _0x199ce4(_0x2944f5-0x393,_0x1a72f4-_0x9645ff._0x4b1007,_0x5df6db,_0xd86e3f-_0x9645ff._0x57673e);}function _0x4ceb9a(_0x32a2e2,_0x29d5d9,_0x24b953,_0x38a31c){return _0x26f978(_0x32a2e2-_0x26cbce._0x56b2dd,_0x29d5d9-_0x26cbce._0x817e9e,_0x29d5d9-_0x26cbce._0x531e5d,_0x24b953);}for(const [_0xe3d8c3,_0x3c4554]of this['entries']){if(_0x3c4554[_0x4ceb9a(0x674,0x560,0x56b,0x602)]!==_0x56bc35(0x4b3,_0xb77a21._0x4f8e33,_0xb77a21._0x59e63c,_0xb77a21._0x1da77d)){this[_0x4ceb9a(_0xb77a21._0x5a4c4b,0x572,_0xb77a21._0x3b803b,_0xb77a21._0x201178)][_0x56bc35(_0xb77a21._0x39606b,_0xb77a21._0x413e3c,_0xb77a21._0x4dacd0,_0xb77a21._0x2cd50d)](_0xe3d8c3);return;}}}};function createBashOutputTool(_0x226cac){const _0x490fd5={_0x5db000:0x494,_0x24f9f0:0x5ce,_0x86f5af:0x614,_0x112faa:0x511},_0x5704f4={_0x307296:0x464,_0x277c64:0x4ba,_0x16d1f6:0xe8,_0xdf5810:0x639,_0x156768:0x7d3,_0x5ab26d:0x63a,_0x5097ab:0x84b},_0x40b626={_0x472e14:0xb1,_0x526085:0x1a0},_0x33249a={_0x16dc63:0x70e,_0x5d518d:0x191},_0x47004f={_0x13d4b9:0x67f,_0x2a00f8:0xfd},_0x510657={_0x1ffab3:0x4cd,_0xdd4482:0x18e};function _0x367769(_0x540592,_0xf475f8,_0x40d8fc,_0x1a185c){return _0x199ce4(_0x1a185c-_0x510657._0x1ffab3,_0xf475f8-0x60,_0x540592,_0x1a185c-_0x510657._0xdd4482);}function _0x5eb96b(_0x414ab9,_0x26f9e9,_0x2e3192,_0x475dca){return _0x199ce4(_0x26f9e9-_0x47004f._0x13d4b9,_0x26f9e9-_0x47004f._0x2a00f8,_0x414ab9,_0x475dca-0x2d);}const {registry:_0x3eda55}=_0x226cac;return defineTool({'name':'BashOutput','description':_0x367769(_0x490fd5._0x5db000,0x61c,0x467,_0x490fd5._0x24f9f0),'inputSchema':{'type':_0x367769(_0x490fd5._0x86f5af,0x603,0x76c,0x639),'properties':{'shellId':{'type':'string'},'regex':{'type':_0x367769(0x6a1,_0x490fd5._0x112faa,0x50b,0x553)}},'required':[_0x367769(0x6a3,0x51f,0x58a,0x54c)]},async *'execute'(_0x86c87f){const _0x1de847=_0x3eda55['read'](_0x86c87f['shellId'],_0x86c87f[_0x3e419c(0x674,_0x5704f4._0x307296,0x553,_0x5704f4._0x277c64)]?{'regex':_0x86c87f['regex']}:void 0x0);function _0x9fff85(_0x5045ce,_0x9f4d76,_0x4efdeb,_0x5909db){return _0x5eb96b(_0x4efdeb,_0x9f4d76- -_0x33249a._0x16dc63,_0x4efdeb-_0x33249a._0x5d518d,_0x5909db-0x73);}function _0x3e419c(_0x4ce390,_0x5ad06c,_0x27e998,_0x302735){return _0x367769(_0x4ce390,_0x5ad06c-_0x40b626._0x472e14,_0x27e998-0xd0,_0x27e998-_0x40b626._0x526085);}return createToolOutput(_0x1de847['output'],{'shellId':_0x86c87f[_0x9fff85(0x119,-0x10,0xa9,_0x5704f4._0x16d1f6)],'status':_0x1de847[_0x3e419c(0x6b5,0x5ad,_0x5704f4._0xdf5810,0x6a3)],'exitCode':_0x1de847[_0x3e419c(_0x5704f4._0x156768,_0x5704f4._0x5ab26d,0x6d4,_0x5704f4._0x5097ab)],'signal':_0x1de847['signal'],'truncated':_0x1de847['truncated']});}});}import{spawn as _0x413e4d}from'child_process';import{statSync}from'fs';import*as _0x367e4c from'os';function _0x892d(){const _0x2eec86=['B2zM','DhLWzxnJCMLWDa','ChvIBgLZAgvKqxq','C2XPy2u','ANnJB25MAwCUANnVBG','BgLNAhq','A2LSBa','D29YA3nWywnLl3n5BwjVBa','q29TBwfUzcaN','y2XVC2u','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','B3jPz2LUywW','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','CMvWBgfJzq','C2nVCgvZ','AgLNAa','mtK4lJe4lJaUma','y2HHCMfJDgvY','CxvLC3rPB24','zgLYzwn0B3j5','Dgv4DerVy3vTzw50l2rPze9Wzw4','ChjLCgfYzunHBgXiAwvYyxjJAhK','r09pr0Xfx0ntrv9dwa','zgvMyxvSDa','yMLVBwuUANnVBMm','Dg9KB3ncEvnLC3nPB24','Aw52ywXPzf90B2rVCW','ls1NBg9IpseUz2L0lYO','y29UDgvUDa','mtG4otuWwgL2zfP3','Dgf2AwX5qxbPs2v5','AgvHzgvYCW','B3rOzxi','seLhsa','DMvYAwzPzxi','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','l3vZCI9IAw4VCMC','igzYB20G','zMLUywXnzxnZywDLvgv4Da','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','zxHPDcbJB2rLia','C2nYAxb0','DgvZDa','zgvMyxvSDfrPBwvVDxrnCW','yxjNDw1LBNroyw1LCW','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','yNL0zuXLBMD0Aa','iYmGu2TPBgW6ia','C2vYDMvYCW','Aw5ZDhj1y3rPB25Z','zgf0yq','DgfZAW','DxrMoa','y29UC3rYDwn0B3i','B25LCNjVCG','C2TPBgXZ','l2jPBI9IyxnO','l2jPBI9ZAa','zMLUza','lu5VuhjVzMLSzq','AwDUB3jL','C3rKzxjYrgvJB2rLCG','BgfIzwW','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','CMvMCMvZAf90B2TLBG','CMvJB3jK','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','B3bLCMf0Aw9U','y291BNrLCG','AwDUB3jLt3v0Chv0','y2fJAgvK','CMvXDwLYzwq','C2HLBgXqyxrO','Aw5JBhvKzxm','CMvHzen1CNnVCG','Ahr0Chm6','C2vHCMnOvhLWzq','CMvMzxjLBMnLCW','z2v0u3rHDhm','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','rMLSzsb3CML0DgvUigf0ia','v2vIu2vHCMnO','zgvUBY5QC29UyW','Bg9JyxrPB24','Bwf4rw50CMLLCW','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','vMLLD0zPBgu','BgfUz3vHz2u','zxHPDenVzgu','C2vZC2LVBG','tuLosu1bwf9bueLFs0vz','C3rHDgu','Ahr0Ca','C3rHCNq','DhnJB25MAwCUANnVBG','ywXS','AxngAwXL','AxnjBNrLz2vY','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','mtaUmc4WlJa','Dgv4DerVy3vTzw50l2rPzenSB3nL','Aw52ywXPzf90B2rVx2nVBNrLBNq','yxnJAwK','C291CMnL','Bwf4','y2HHCKnVzgvbDa','CMvZDwX0CW','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Bwf4q29Uy3vYCMvUDa','y29TCgXLDgvK','C2H1DgrVD24','tg9HzfnRAwXS','C2HLBgXjza','B25szwrPCMvJDa','ANnVBG','ls1WCMvMAxG','CMLWz3jLCa','zMLUzfjLzMvYzw5Jzxm','C2nYDwjfBNzlzxLZ','C3rYAw5N','u2HLBgWGBM90igzVDw5KoIa','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','te9x','zxHPDgvK','z2nSAwq','A2LSBfjLCxvLC3rLza','qxnZAwDUvgfZAW','phn5C3rLBs1Yzw1PBMrLCJ4','uxvLC3rPB24G','BwLUAw1HEa','C3r5Bgu','C2v0vg9KB3m','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','B3v0Chv0','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','Aw1Hz2uVANbLzW','Bg9JywXLq29TCgfYzq','lMnTza','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','lMPZB25J','cMbGya','zw5HyMXLza','l29WDc9OB21LyNjLDY9IAw4VCMC','y2fWq2HHCNm','y3DK','CMCUzxHL','sw52ywXPzcbYzwDLEdOG','sw5MB3jTyxrPB24','DhLWzxnJCMLWDhjLywn0','zw5NAw5LCW','ls1YzwDLEha','zgvLChnLzwS','C2HHmJu2','ignVBxbSzxrLzc4','CgfJA2fNzs1SB2nRlMPZB24','C3rKB3v0','icHZDgf0Dxm6ia','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','CgLK','nJmWDMTmAe5c','ig1Z','B2C6DxbKyxrLzf90Aw1L','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','zgvUBY5QC29U','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','q29Tu3bLyW','t1bftLjpvvrfuL9bueLFs0vz','tM8GC3LTyM9SCYbMB3vUza','ywXSB3DLzerPCNm','oIbJB250zw50ihjLCxvPCMvK','Aw50zwDLCG','BwvZC2fNzq','BgLUzxm','D29YA3nWywnLu3LTyM9S','lMXVzW','CMfUzg9T','Dg9mB3DLCKnHC2u','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','lMPWzW','BhnW','C3vKBW','ihDHCYbHyM9YDgvKlG','yxbPs2v5','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','zhvWBgLJyxrLx3rVzg9FAwrZ','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','zMjJBgLK','y2fSBeLK','BM9Kzv9TB2r1BgvZ','zxH0BMfTzq','D2HPy2GGCMC','y29TBwfUza','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','yxnZAwDU','C29Tzq','Ag9ZDg5HBwu','y29KzvzLCMLMAwvY','mti0mte0thHgv09v','BgLZDa','AgfUzgXL','AxngAw5PDgu','y2HPBgq','zg9JDw1LBNrtEw1IB2W','ue9tva','zgLNzxn0','vw5HDxrOB3jPEMvKrxjYB3i','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','EwvZ','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','ChjVDg90ExbL','y29Uy2f0','igj5DgvZicH0B3rHBdOG','BwvKAxvT','zgvLCgLUzNjH','mJqWlJaUmc4W','cGOTls0kcG','y2XLyxi','v0vcua','tM8GAg92zxiGAw5MB3jTyxrPB24','lNrTCc4','CM9VDa','ls1ZDgrPBW','mJDny3HJDwm','C3bHD25PBMC','AgvHzgvY','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','ChjVDg9JB2W','BwfUDwfS','z2L0AhvI','mty5lJi1nc4WlJa','Ag92zxi','yw5ZAti1nG','zgLYBMfTzq','C2v0','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','z2vUzxjHBa','y2HHBMDL','Aw1Hz2u','yxjNDw1LBNriAw50','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','ywXSB3DLzfrVB2XZ','DgLTzvTKyxrLDgLTzv0','C3rHCNreAxi','ywXSu2v0DgXLza','tunqihnLCNzLCIa','zxjYB3jZ','mtKYlJe2oc4WlJa','zw5NAw5L','BNvTyMvY','uhvIBgLZAgvKoIa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','zNjVBuvUDhjPzxm','r09pr0Xfx0ntrv9lrvK','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','B3v0z29PBMDdywXSCW','te9dquXbufbeqvrb','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','AxneAxjLy3rVCNK','DMfSDwvZ','CNvUswq','Aw5JBhvKzq','Dhj1BMm','Dg9VBa','wefjx0fqsv9lrvK','C2vYDMvYswq','y291BNq','C3vIyxjYyxK','zgLZCg9Zzq','CNvUBMLUzW','Cgf0DgvYBG','zNjVBq','Aw5WDxq','rMv0y2GGDgLTzwqGB3v0','CMvXDwvZDa','lMnQCW','CNnZ','ugf0AcbUB3qGzM91BMq6ia','C3rKAw4','Bwv0yxrHz3m','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','C3rYAxbbBNnP','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','y29ZDa','C3jJl2fNzw50l2fNzw50lNrZ','xg5DkJ8','zgvMAw5PDgLVBG','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','BNvT','zxjYB3jnzxnZywDL','zMXHDe1HCa','tunqihrVB2WG','rM91BMqG','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','rMLSzu5LDW','y29UDgvUDhm','ywrK','thnW','Aw52ywXPzf90B2rVx3n0yxr1CW','CMvMAw5L','A2LUza','C2vUza','sfruuca','yxjNCW','A2LSBgvK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','y2fSBfrVB2W','BgLZDfrVB2XZ','zgv0ywLS','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','mtKYlJaUmc4W','BgLUzvrLEhq','C2v0vg9WAwm','C3rKB3v0rgvJB2rLCG','Dg9Rzw4','yw50AhjVCgLJlw1LC3nHz2vZ','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','CgfYC2vjBNq','C2vZC2LVBKLK','qMfZAa','zMLUywXnzxnZywDL','BxrPBwu','BNbT','nJm2odeXwNnnEwHs','BM90Awz5','Dg9VBhm','DMfSDwu','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','DhvWBgu','odrNs0rquM8','B3b0Aw9UCW','CMvJzw5JEurHExm','rgv0ywLSoIa','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C3bSAxq','lMPZB24','yMfZzty0','CMvTB3zLrxzLBNrmAxn0zw5LCG','B2XKvgv4Da','igj5DgvZ','mc4WlJa','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','A2v5','B2jQzwn0','B3bLBNjVDxrLCG','zg5Zl3bYB21PC2vZ','BhmGlwXH','C3rYAw5NAwz5','zMLSzq','y3jSzG','Dgf2AwX5','B25oB3rPzMLJyxrPB24','yxv0Ag9YAxPHDgLVBL9JB2rL','oIbPBNzHBgLKihn0yxr1CW','yMLYDgH0Aw1L','vw50AxrSzwq','ru5pru5u','yxv0Aa','AhLKCMf0zu1LDge','Dgv4Dc9ODg1S','yxbWzw5K','yxv0AfjLCxvPCMvK','ig1HDgnO','uKLgrG','BxvSDgLtzwXLy3q','yxjNDw1LBNrZ','Aw5WDxrty2HLBwe','o1TExg5DkJ8','u2TPBgWGjW','C3LTBgLUAW','ksbB','BwfYA2rVD24','DhjPBq','Bg9VA3vW','z29Vz2XLq3nLs2v5','pc9ZExn0zw0TCMvTAw5Kzxi+','nxjIzgr3Aa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zMLSzvzLCNnPB25Z','Cgf0DgvYBIbPCYbYzxf1AxjLza','zMvUy2vK','Dg9VBhmVy2fSBa','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','D3jPDgu','Dgv4DerVy3vTzw50l2HVDMvY','ywn0AxzL','qwDLBNqGCNvUia','lunVBw1HBMq','B3b0Aw9UywW','yNvMzMvYq2HHCNm','sw52B2TLq29TBwfUza','mtaXmJq3mhnwsvDpwG','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ienHDxnLoIa','zgvSzxrL','ChvZAa','BgLUzq','ywjVCNrLza','C2vYDMvYtMfTzq','BM9Uzq','z29Vz2XLlwnZzq','y29UBMvJDa','z2v0','lM1QCW','uhjVz3jHBuzPBgvZkhG4nIK','DgHPBMTPBMC','DgHLBG','Aw5JBhvKzv9KB21HAw5Z','zMLYC3q','ywjVCNq','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','ywrKrxzLBNrmAxn0zw5LCG','z2L0qNjHBMnO','y2XPzw50','vxbKyxrLvg9WAwm','BgfUz18','Aw5JB21PBMDdywXSCW','u2L6ztOG','zxzPy3rjzK5LzwrLza','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','ls1MAwXLCW','A2v5yMLUzgLUz3m','C3jJl2v4yw1WBgvZl2rLBw8UDhm','lM10CW','C3rKzxjY','tgLUzsa','ugf0AcbPCYbUB3qGysbMAwXLoIa','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','yNvUlMXVy2TI','Aw1Hz2uVz2LM','AxndB250zxH0','CgfJA2fNzxm','B3bLBMfP','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','ChjVCgvYDgLLCW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','Dg90ywW','qxzHAwXHyMXLignVBw1HBMrZoG','C3rHDhvZvgv4Da','lMPZ','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','DgL0Bgu','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','AhjLzG','z2v0t3DUuhjVCgvYDhLoyw1LCW','Dg9vChbLCKnHC2u','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','Cgf0Aa','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ChjLzML4','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','vg9WAwmGC2v0ihrVici','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','DhjPBuvUza','zgvSzwDHDgvKlxj1BI0','lMjPBG','rxjYB3i','CMvNzxG','DhLWzq','Aw52ywXPzf90B2rVx2L0zw0','zgfYAW','zgvSAw1PDgvY','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','Dg9VBfjLC3vSDhm','mtCYlJe2lJaUma','EwfYBI5SB2nR','BwvTB3j5','vw5RBM93BIb0B29SoIa','CgfYzw50u2vZC2LVBKLK','C2vUzfjLCxvLC3q','BgfZDeLUzgv4t2y','zgLZy292zxj5','BgLUzuvUza','BxrPBwvnCW','DxnLCM5HBwu','C2HPzNq','Bg93','wKfjx0fqsv9lrvK','zgLHz25VC3rPy3m','ChjPB3jPDhK','rMLSzuvKAxq','zgLZywjSzwq','Dg9VBenHBgXjza','BM93','AMf2yxnJCMLWDa','CxvLCNK','yNjVA2vU','yxbWBgLJyxrPB24VANnVBG','DhnJ','yxr0CG','w1bFxL1BxhnCu10QpW','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','tM8GBg9JyxrPB25ZigzVDw5K','w01duca','yxnRvxnLCG','Aw5FChjVz3jLC3m','z2v0vg9KB3m','CMvSyxrPDMu','nZe2nZi5mM5rDNrJrW','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','Aw1Hz2uVCg5N','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','revfueLorLjbx0fqsv9lrvK','q291BgqGBM90ihjLC29SDMuGAg9ZDa','Dgv4Da','C3rHCNrZv2L0Aa','ywDLBNrjza','y29Kzq','r0Lusfvcx1rps0vo','Aw5PDgLHBgL6zq','ygbGANnVBGO','tM8GCMvZDwX0CYbMB3vUzc4','vg9KBYa','yxr4','zxHPDa','C2vUze5VDgLMAwnHDgLVBG','z29Vz2XLq3nLq3G','AgfZ','r2XVyG','Bw9KzwW','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','nde2nZa4otnyv1vnvfm','zg9TywLUCW','Dg9Rzw5tDg9YywDLs2v5','CgvUzgLUzW','CgfJA2fNzu5HBwu','B2XSyw1H','qvbjx0Tfwq','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','C2LNBMfS','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','z29uB0rLzMLUAxrPB24','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','DhjHBNnMB3jT','yxjNDw1LBNrZvgv4Da','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','CMvNAw9U','zNvSzMLSBgvK','u0Lhs0Lmta','r3jLCa','DxjP','ANnVBMm','Bw9Kzq','zxzLCNK','Bg9HzfnRAwXS','lI4U','yMLVBwu','BMfTzq','r0LgodLH','Aw5PDgLHBgL6zwq','C2L6zq','zMLSDgvY','DgfZA2TPBgW','zMLSzvbHDgG','BgLZDgvU','zw51Bq','vg9Vig1HBNKGCMvKAxjLy3rZ','D2HLCMuGCMC','C25PChbLDa','C2vYDMvY','Dg9KB3m','ntm5ndm3nKn6ywPuuW','zMfPBgvK','Agv4','qMvHCMvYia','DxrTx2nVBNrLBNq','CMvZB2X2zq','y29UzMLN','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','y29UBMvJDgvK','uefusa','yw5ZAte2','igj5DgvZks4','C2vHCMnOugfYyw1Z','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','C2H1DgrVD25tDgfYDgvK','B25Jzq','Aw5qCM9NCMvZCW','B2zMC2v0','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','D2fPDezVCKrPywDUB3n0AwnZ','tM8GzgLHz25VC3rPy3m','DgLTzw91De1Z','y29TBwfUzhm','DxjS','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','mti3lJaUmc4W','l2jPBI9YzW','lNbUzW','AxnbyNnVBhv0zq','BgfUzW','vMLLD2vKigLTywDLigzPBgu6ia','yM94zwq','Dg9ju09tDhjPBMC','D2LUmZi','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Cg9W','yxjYyxK','CMvHC29U','icHWAwqG','yMvHCMvY','zgvMyxvSDen3za','u0HfteW','CM91BMq','ls1JB2X1Bw4','t1bftKfjx0fqsv9lrvK','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','yw5ZD2vYCW','lw5i','lNDLyNa','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','ls1MB2XSB3C','B3bLBKzPBgvZ','BM9Zy3jPChq','Aw52ywXPzf90B3bPyW','CMfUz2u','yNvUlMXVy2S','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','y29UBMvJDgLVBG','AwzYyw1L','CMvZDwX0','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','BwLU','Dg9WAwm','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','lu5Vtg9NBW','v2LUr2v0','y2f0y2G','oIbPBNzHBgLKihbYAw9YAxr5','DhvYBMrVD24','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','uhjVz3jHBuzPBgvZ','qMfZzsbKAxjLy3rVCNK6ia','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','C3jJl3nOyxjLzc90ExbLCY50CW','rMLSzvjLywq','yNvMzMvY','Dg90ywXeCM9WCgvK','C2v2zxjPDhK','y2fSBgjHy2TvCMW','CgfJA2fNzs5QC29U','CgfZC3rOCM91z2G','CMfUAW','y21KlMv4zq','z3jVAW','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','r0Lusfvcx0fdq0vtu19ut0TftG','yxv0BW','lcbpChrPB24G','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','s2LSBfnOzwXS','zw5K','DhjHBNnMB3jTCW','CgXHAw50zxH0','CMvTB3zL','z29uB0LTCgXLBwvUDgf0Aw9U','C2fMzq','AM9PBG','l3vZCI9IAw4VyMfZAa','C3rVCMfNzurPCG','A2v5CW','Aw1Hz2uVD2vICa','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','Dg9Rzw5Z','BgLTAxq','CMvHza','BMf2','ygbG','y2fWywjPBgL0AwvZ','DhnZzxj2zxiUANm','CNvUsw5cywnRz3jVDw5K','o1TE','z2XVyG','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','BgvUz3rO','zgvZy3jPChrPB24','CxvLC3rPB25Z','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','y2XPzw50sw5MB3jTyxrPB24','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','C29YDa','yM9VBgvHBG','C3rHDhvZ','Aw52ywXPzf90B2rVx3bYAw9YAxr5','BwnFzwLK','CgfYC2u','wZ0+nY04kcLD','B2f1DgG','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','C2vSzwn0Aw9UuMfUz2u','ignOyxjZigrYB3bWzwrDcG','CxvLC3rPB24T','zgf0zvjLC3rYAwn0','qxnRvxnLCLrVB2W','B3bLBG','Ec1HCgKTA2v5','Dg91y2HgAwXL','igj5DgvZicHVCMLNAw5HBdOG','Aw5PDgLHBgL6yxrPB24','AxrLBxm','zw50CMLLCW','y2XPzw50CW','AgfZq2XPzw50CW','Dhj1zwnVBg9Y','yxnPzgu','BgLUzvn0yxj0','lMDPzG','Dw5PB24','CgXHDgzVCM0','Dg9tDhjPBMC','yMCT','xsb0CMfUC3bVCNqGzxjYB3i6','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','ChjVy2vZCW','lM51DMLU','BwfW','zMXVB3i','BNv2Aw4','AxnbCNjHEq','Cg5WBs1SB2nRlNLHBwW','Bwf0y2HLCW','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','B3bLBMfPlxjLC3bVBNnLCW','y29UDgv4Da','yMfJA2DYB3vUzfjLz2LZDhj5','C3bHD24','y2XPzw50twv0ywrHDgfvCMW','BgLI','Ag9ZDa','y3jLyxrLzef0','ls1OAwrKzw4','zw52','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','zxjYB3i','Bwf4uMvKAxjLy3rZ','Bwv0yq','y2XLyw51Ca','BgL0zxjHBa','ChjVy2vZC0v4AxrLza','t0zg','B3jPz2LUvg9VBenHBgXjza','Aw1Hz2vZ','CgLWzq','qxv0Ag9YAxPHDgLVBG','zgLZy292zxj5u3rHDgu','yMfZzw5HBwu','Dg90ywXqCM9KDwnLza','lMPWzwC'];_0x892d=function(){return _0x2eec86;};return _0x892d();}import*as _0xdeea2a from'path';import{StringDecoder as _0x4856e2}from'string_decoder';import{stat}from'fs/promises';import*as _0xf0db92 from'path';function isPathInside(_0x154eb4,_0x4b8689){const _0x3168bb={_0x2b8377:0x1d1,_0xe02dc2:0xda,_0x2c4ffc:0x71,_0x2787be:0x40,_0x5e1367:0x3d,_0x3ed8b3:0x87},_0x4ec0dc={_0x2c9d3d:0x50,_0x248a4d:0x93},_0x1854a6={_0x1fcfbd:0x164},_0xa787cf=_0xf0db92[_0x41bc2b(_0x3168bb._0x2b8377,_0x3168bb._0xe02dc2,_0x3168bb._0x2c4ffc,-_0x3168bb._0x2787be)](_0x154eb4),_0x435950=_0xf0db92['relative'](_0xa787cf,_0x4b8689);function _0x41bc2b(_0x363268,_0x14b6f8,_0x57f7cc,_0x5d81cc){return _0x26f978(_0x363268-0x4a,_0x14b6f8-0x23,_0x57f7cc- -_0x1854a6._0x1fcfbd,_0x14b6f8);}function _0x58e3b9(_0xf5d31e,_0x4eeccc,_0x2ae458,_0x4f0274){return _0x199ce4(_0x4f0274-0x11,_0x4eeccc-_0x4ec0dc._0x2c9d3d,_0x4eeccc,_0x4f0274-_0x4ec0dc._0x248a4d);}return _0x435950===''||!_0x435950['startsWith']('..')&&!_0xf0db92[_0x58e3b9(0x98,-_0x3168bb._0x5e1367,-_0x3168bb._0x3ed8b3,-0x84)](_0x435950);}function resolveWorkspacePath(_0x485d18,_0x28595c){return resolveAllowedPath(_0x485d18,[],_0x28595c);}function resolveAllowedPath(_0x117288,_0x4a1bd6,_0x198b5e){const _0x322954={_0x4c2752:0x177,_0x865a44:0x1ed,_0xb263f6:0x100,_0x4df2c6:0x67,_0x2422f5:0xf5,_0x14c9d6:0x7c,_0x55a8ad:0x11},_0x562302={_0x5a125e:0x190},_0x1e36bb={_0x3abfb0:0x1ad},_0x412e4f=_0xf0db92[_0x523f86(_0x322954._0x4c2752,_0x322954._0x865a44,_0x322954._0xb263f6,_0x322954._0x4df2c6)](_0x117288),_0x5c3004=_0xf0db92['resolve'](_0x412e4f,_0x198b5e),_0x1f569a=[_0x412e4f,..._0x4a1bd6[_0x16f035(-0xc1,0x0,-0x80,-_0x322954._0x2422f5)](_0x2f2d3a=>_0xf0db92[_0x16f035(-0x188,-0x25c,-0x292,-0x18f)](_0x2f2d3a))];if(_0x1f569a[_0x16f035(-0xa9,-0x170,_0x322954._0x14c9d6,-_0x322954._0x55a8ad)](_0x16f38d=>isPathInside(_0x16f38d,_0x5c3004)))return _0x5c3004;function _0x523f86(_0x107cb3,_0xacb37a,_0x13941e,_0x384e46){return _0x199ce4(_0x13941e-_0x1e36bb._0x3abfb0,_0xacb37a-0x35,_0x384e46,_0x384e46-0xbe);}function _0x16f035(_0xba602e,_0x338870,_0x3321b9,_0x45f9d8){return _0x26f978(_0xba602e-0x1cb,_0x338870-_0x562302._0x5a125e,_0x45f9d8- -0x364,_0x338870);}throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x198b5e,{'path':_0x198b5e,'rootDir':_0x412e4f,'allowedDirs':_0x1f569a});}async function assertWorkspaceFile(_0xeb2c60){const _0x17792e={_0x4c42d9:0x489},_0x27e1ff={_0xf0c679:0x5c2,_0x40f70e:0x13},_0x462f3f=await stat(_0xeb2c60);function _0x2fb15c(_0x5c86dc,_0x21d0db,_0x1b79ac,_0x9c0235){return _0x199ce4(_0x1b79ac-_0x27e1ff._0xf0c679,_0x21d0db-0xdd,_0x21d0db,_0x9c0235-_0x27e1ff._0x40f70e);}if(!_0x462f3f['isFile']())throw new ToolExecutionError(_0x2fb15c(0x4e1,0x450,_0x17792e._0x4c42d9,0x466)+_0xeb2c60,{'path':_0xeb2c60});}function isProbablyBinary(_0xd811f5){return _0xd811f5['includes'](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x26f978(0x202,0x2ef,0x245,0x1ab)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x55fd86,_0x2e259c){const _0x25ce03={_0x32edbf:0x221,_0x45b92e:0x249,_0xd3176:0xcf,_0x3b0bee:0xc,_0x2cdb5f:0x12f,_0x119ce4:0x434,_0x4d7bfe:0x44a,_0x30880d:0xc9,_0x2e04e0:0x1f5,_0x25fee6:0x42f},_0x8839bc={_0x20096f:0x16d,_0x204949:0xd1};function _0x545bd3(_0x35ecc5,_0x481583,_0x4def70,_0x566295){return _0x26f978(_0x35ecc5-0x9b,_0x481583-0x9d,_0x4def70- -0x117,_0x566295);}const _0x1695ca={...process[_0x545bd3(_0x25ce03._0x32edbf,_0x25ce03._0x45b92e,0x168,_0x25ce03._0xd3176)],..._0x55fd86??{}};function _0x558b5d(_0x51eecf,_0x4a52b3,_0x43543f,_0x1ddfb1){return _0x199ce4(_0x1ddfb1-0x370,_0x4a52b3-_0x8839bc._0x20096f,_0x4a52b3,_0x1ddfb1-_0x8839bc._0x204949);}if(_0x2e259c[_0x545bd3(0x24e,_0x25ce03._0x3b0bee,_0x25ce03._0x2cdb5f,0x250)]===0x0)return _0x1695ca;if(_0x367e4c['platform']()===_0x558b5d(_0x25ce03._0x119ce4,_0x25ce03._0x4d7bfe,0x42e,0x2e0)){const _0x2fb99d=new Set(_0x2e259c[_0x545bd3(0x2b8,_0x25ce03._0x30880d,0x158,0x1ad)](_0x4cd345=>_0x4cd345[_0x545bd3(0x375,0x1c1,0x22a,0x21d)]()));for(const _0x50d85e of Object[_0x558b5d(0x36b,0x3c9,_0x25ce03._0x2e04e0,0x325)](_0x1695ca)){if(_0x2fb99d['has'](_0x50d85e[_0x558b5d(0x314,0x3db,0x418,_0x25ce03._0x25fee6)]()))delete _0x1695ca[_0x50d85e];}}else{for(const _0x2ff139 of _0x2e259c)delete _0x1695ca[_0x2ff139];}return _0x1695ca;}function mapSpawnError(_0x5fe8a2,_0x403d96){const _0x3bd960={_0x5a4ce9:0x18b,_0x5932da:0x104,_0x47b7e6:0x784,_0x443b2a:0x3e5,_0x20e9b4:0x242,_0x45929f:0x27c,_0xd71a64:0x65c,_0x2ca1d0:0x899},_0x5b75d1={_0x277c71:0xa0,_0x91e317:0x95},_0x551b3b={_0x5c9885:0x1f4,_0x250aa1:0x171};function _0x4aed0c(_0x1d7f52,_0x5c8da2,_0x2fc43e,_0x1966d7){return _0x199ce4(_0x2fc43e-0x6b5,_0x5c8da2-_0x551b3b._0x5c9885,_0x1966d7,_0x1966d7-_0x551b3b._0x250aa1);}if(isErrnoException(_0x5fe8a2)&&_0x5fe8a2[_0x22bac1(_0x3bd960._0x5a4ce9,_0x3bd960._0x5932da,0x1b7,0xbb)]===_0x4aed0c(0x8c2,0x942,0x82e,_0x3bd960._0x47b7e6))return new ToolExecutionError(_0x22bac1(0x3af,0x273,0x31b,_0x3bd960._0x443b2a)+_0x403d96[_0x22bac1(0x344,_0x3bd960._0x20e9b4,0x24c,_0x3bd960._0x45929f)],_0x403d96);function _0x22bac1(_0x4645a9,_0x20320a,_0x5a8dae,_0x89be97){return _0x26f978(_0x4645a9-_0x5b75d1._0x277c71,_0x20320a-_0x5b75d1._0x91e317,_0x20320a- -0x96,_0x4645a9);}return new ToolExecutionError(_0x5fe8a2 instanceof Error?_0x5fe8a2[_0x4aed0c(_0x3bd960._0xd71a64,0x732,0x76f,_0x3bd960._0x2ca1d0)]:String(_0x5fe8a2),_0x403d96);}function shellExists(_0x545b58){const _0xebf243={_0x291b45:0x28,_0x2b192d:0x92,_0x4cce66:0xd,_0x129fa5:0xf2,_0x4edc73:0xdb,_0x273459:0x4a},_0x347e01={_0x3f4fa1:0x12b,_0x50713e:0x18},_0x3d2769={_0x102557:0x1b7};function _0x3a5930(_0x31cb09,_0x1b71e9,_0x28eecf,_0x3f61b2){return _0x199ce4(_0x31cb09-_0x3d2769._0x102557,_0x1b71e9-0x56,_0x28eecf,_0x3f61b2-0x145);}function _0x229a12(_0x25d909,_0x32f979,_0x2b0a44,_0x43f3c3){return _0x26f978(_0x25d909-_0x347e01._0x3f4fa1,_0x32f979-_0x347e01._0x50713e,_0x43f3c3- -0x2e4,_0x32f979);}try{const _0x4d2b97=statSync(_0x545b58);return _0x4d2b97[_0x229a12(0x1a,_0xebf243._0x291b45,_0xebf243._0x2b192d,_0xebf243._0x4cce66)]()&&(_0x4d2b97[_0x3a5930(_0xebf243._0x129fa5,0x235,_0xebf243._0x4edc73,-_0xebf243._0x273459)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x946fc4){const _0x7e6cca={_0x54a520:0x330,_0x30d530:0x275,_0x11cd5d:0x28c,_0x2c1934:0x6d8,_0xab2f84:0x4c9,_0x2ec787:0x62e,_0x2981f5:0x2ee,_0x30775f:0x344,_0x36539c:0x229,_0x544f24:0x26e,_0x30e0b5:0x46a,_0x41a1e7:0x64e,_0x3be87e:0x5d4,_0x4a2cd8:0x49c,_0x404402:0x4f3,_0x527858:0x2ac},_0x49559c={_0x1cb58f:0xc8};if(_0x946fc4)return _0x946fc4;function _0x1c74e4(_0x5c741d,_0x31ef4b,_0x50af67,_0x3d3453){return _0x26f978(_0x5c741d-0x15e,_0x31ef4b-0x98,_0x3d3453-0x2f8,_0x31ef4b);}if(_0x367e4c[_0x19d2b8(_0x7e6cca._0x54a520,_0x7e6cca._0x30d530,0x1d0,_0x7e6cca._0x11cd5d)]()==='win32')return process['env'][_0x1c74e4(_0x7e6cca._0x2c1934,_0x7e6cca._0xab2f84,0x500,_0x7e6cca._0x2ec787)]||_0x1c74e4(0x426,0x479,0x5db,0x51e);const _0x10676c=[_0x19d2b8(0x390,_0x7e6cca._0x2981f5,0x4f6,0x3e8),_0x19d2b8(0x391,_0x7e6cca._0x30775f,0x355,0x389),_0x19d2b8(0x2fd,0x2aa,_0x7e6cca._0x36539c,_0x7e6cca._0x544f24),'/usr/bin/sh'];for(const _0x4c4f42 of _0x10676c){if(shellExists(_0x4c4f42))return _0x4c4f42;}function _0x19d2b8(_0xa24354,_0x42b9a6,_0x5e7406,_0x2ff11b){return _0x26f978(_0xa24354-0x4b,_0x42b9a6-0x1ea,_0xa24354-_0x49559c._0x1cb58f,_0x5e7406);}const _0xc79333=process[_0x19d2b8(0x347,0x44c,0x210,_0x7e6cca._0x30e0b5)][_0x1c74e4(_0x7e6cca._0x41a1e7,_0x7e6cca._0x3be87e,_0x7e6cca._0x4a2cd8,_0x7e6cca._0x404402)];if(_0xc79333&&shellExists(_0xc79333))return _0xc79333;return _0x19d2b8(0x390,0x3d7,_0x7e6cca._0x527858,0x408);}function buildShellArgs(_0x4f291f,_0x4a44d9){const _0x16330a={_0x4f9d99:0x2a8,_0x55757d:0x352,_0x1185d2:0x2c0,_0x3ffcc4:0x2e4,_0x47ddfc:0x280,_0x45f5c1:0x2c9,_0x291430:0x171,_0x23e3a6:0x91,_0x4b0b6f:0xa4,_0x37b90e:0x204,_0x41577b:0x1fa,_0x2baa2e:0x162,_0x4965e8:0xe1},_0x1b5a9a={_0x18fa08:0x43,_0x3397bc:0x3f},_0x3ff7f6={_0x1e41fe:0x35};function _0x315ef4(_0x1c9926,_0x2d98d1,_0x52a70f,_0x694ec3){return _0x199ce4(_0x2d98d1- -_0x3ff7f6._0x1e41fe,_0x2d98d1-0xf9,_0x52a70f,_0x694ec3-0x14f);}function _0x13f639(_0x5d586b,_0x5bb934,_0x21997c,_0x182d38){return _0x199ce4(_0x5d586b-0x2c2,_0x5bb934-_0x1b5a9a._0x18fa08,_0x5bb934,_0x182d38-_0x1b5a9a._0x3397bc);}if(_0x367e4c[_0x13f639(_0x16330a._0x4f9d99,_0x16330a._0x55757d,_0x16330a._0x1185d2,_0x16330a._0x3ffcc4)]()===_0x13f639(0x232,_0x16330a._0x47ddfc,_0x16330a._0x45f5c1,_0x16330a._0x291430)){const _0xa34bda=/cmd(\.exe)?$/i['test'](_0x4a44d9);return _0xa34bda?['/d','/s','/c',_0x4f291f]:[_0x315ef4(-_0x16330a._0x23e3a6,-_0x16330a._0x4b0b6f,-_0x16330a._0x37b90e,-_0x16330a._0x41577b),_0x315ef4(-0x52,0x14,-0x28,-0xdd),_0x13f639(_0x16330a._0x2baa2e,0x1e6,0x1a1,_0x16330a._0x4965e8),_0x4f291f];}return['-c',_0x4f291f];}function resolveWorkingDirectory(_0x20c096,_0x2ae373,_0x116b0c){const _0x161fa1={_0x179fd6:0x1e4,_0x17cd50:0x1ae,_0x333483:0xda,_0x5788a4:0x45},_0x4e5fff={_0x2a6a28:0x1},_0x1f5811={_0x42ac86:0x197,_0x2d773e:0x385};function _0xa227aa(_0x36c0c6,_0x4924ed,_0x2e024d,_0x1bb0bb){return _0x26f978(_0x36c0c6-0x1b2,_0x4924ed-_0x1f5811._0x42ac86,_0x1bb0bb- -_0x1f5811._0x2d773e,_0x36c0c6);}const _0x38868a=resolveAllowedPath(_0x2ae373,_0x116b0c,_0x20c096??'.');function _0x364571(_0x36e59b,_0x1e1ae7,_0x5dcd8f,_0x5c968f){return _0x199ce4(_0x5c968f-_0x4e5fff._0x2a6a28,_0x1e1ae7-0x2e,_0x36e59b,_0x5c968f-0x168);}try{const _0x10129a=statSync(_0x38868a);if(!_0x10129a['isDirectory']())throw new ToolExecutionError(_0xa227aa(-_0x161fa1._0x179fd6,-0x21a,-0x122,-_0x161fa1._0x17cd50)+_0x38868a,{'cwd':_0x38868a});return _0x38868a;}catch(_0x583881){if(_0x583881 instanceof ToolExecutionError)throw _0x583881;throw new ToolExecutionError(_0xa227aa(-_0x161fa1._0x333483,0x128,0x5,_0x161fa1._0x5788a4)+_0x38868a,{'cwd':_0x38868a});}}function appendChunk(_0x5f2fcc,_0x234b81,_0x910600,_0x364efe,_0x16633f){const _0x5e6121={_0x132ae1:0x16f,_0x407deb:0x1d2,_0xe35b4e:0x94,_0x55a992:0x1f4,_0x316684:0x160,_0x3686e2:0x10c},_0xdc5546={_0x2cd9f8:0x3c},_0x4091eb={_0x14fd1b:0x192,_0x11047b:0x106};function _0x246463(_0x4722ae,_0x59d2a0,_0x4e4284,_0x30b002){return _0x26f978(_0x4722ae-_0x4091eb._0x14fd1b,_0x59d2a0-_0x4091eb._0x11047b,_0x4722ae-0x9a,_0x59d2a0);}const _0x20a844=_0x364efe?stripAnsiAndControls(_0x910600):_0x910600;function _0x4a75c3(_0x4002ad,_0x3bb259,_0x44c39d,_0x46e890){return _0x199ce4(_0x4002ad- -0x17,_0x3bb259-0x1af,_0x3bb259,_0x46e890-_0xdc5546._0x2cd9f8);}if(_0x20a844['length']===0x0)return;_0x5f2fcc[_0x4a75c3(-_0x5e6121._0x132ae1,-_0x5e6121._0x407deb,-_0x5e6121._0xe35b4e,-_0x5e6121._0x55a992)](_0x20a844),_0x234b81[_0x246463(0x1c4,_0x5e6121._0x316684,0x1bd,_0x5e6121._0x3686e2)](_0x20a844),_0x16633f();}function createBashTool(_0x41ae4c={}){const _0x1f740e={_0x28481c:0x404,_0x679c9d:0x4fd,_0x37b66f:0x6be,_0x55f1bf:0x6e3,_0x1a8752:0x59d,_0x6eff99:0x5b6,_0x906d1d:0x676,_0x2f6e32:0x452,_0x4fef22:0x574,_0x2f4117:0x854,_0x28006e:0x782,_0x303fe8:0x6b2,_0x1f96ca:0x597,_0x455631:0x441,_0x243435:0x407,_0x2e021c:0x47b,_0x82e5ed:0x5f4,_0xa59db2:0x6f3,_0x1f993f:0x598,_0x15d308:0x68b,_0x280f2f:0x54e,_0x217b9c:0x5e0,_0x522dd7:0x59c,_0x2c1b47:0x5f4,_0x492a1b:0x4e7},_0x63a7cd={_0xb2252c:0x112,_0xe70e68:0x768,_0x4f683a:0x616,_0x142a7e:0x497,_0x2536f7:0x65b,_0x772c98:0x58,_0x4f7274:0x8c,_0x17a3fd:0x533,_0x54e884:0x53b,_0x141135:0x582,_0x5d2821:0x586,_0x3e44a3:0x835,_0x4ff4b5:0x7b5,_0x58a358:0x6f3,_0x1c663c:0x684,_0x145337:0x5cb,_0x343bfe:0x62b,_0x2db3d8:0x7c4,_0x34e119:0x530,_0xac6e04:0x58,_0x50bb87:0x44,_0xf4252:0x73,_0x4596e9:0x90,_0x6579bf:0xbd,_0x337dd6:0x5a,_0x218d21:0x18,_0x14a936:0x184,_0x3c8df1:0x148,_0x4f6102:0x7af,_0x3519e7:0x651,_0x2a7935:0x6fc,_0x11beb1:0x615,_0x3fcc60:0x7e4,_0x4f114f:0x6e,_0x5a8ce9:0xaf,_0x27f776:0x1d3,_0x1f0a2a:0x7f,_0x10a835:0x6f,_0x2186f0:0x177,_0x3cc32a:0x6b1,_0x24e41e:0x722,_0x3ff2b5:0x86c,_0x307c20:0x9e,_0x5c2c45:0x119,_0x57bf31:0x1e5,_0x3478dd:0x16a,_0x4d9dc8:0x74c,_0x37073b:0x630,_0x46577b:0x759,_0x43b40a:0x9,_0x2e613d:0xea,_0x54b6ef:0x71a,_0x6261aa:0x6d3,_0x20ee4c:0x100,_0x44b7f0:0x37,_0x453334:0x9f,_0x3ce7bd:0x44,_0x3d546e:0xb6,_0x252981:0xd8,_0x327023:0x9,_0x5b7567:0xb7,_0x66051f:0x21a,_0xa8631:0x5,_0x275ac7:0x7f4,_0x53bfba:0x701,_0x885d74:0x6d6,_0x116917:0xe4,_0x53f4d7:0x2c,_0x2353e1:0x95,_0x2db4f2:0xbe,_0x18a156:0x189,_0x5dcd00:0xba,_0x2b941c:0xca,_0x217452:0x79,_0x4f6766:0x6e,_0x39beb4:0x783,_0x1e4508:0x652,_0x316f38:0x6e4,_0x5a83ef:0x696,_0x58eec5:0x685,_0x3f821b:0x67b,_0x23e728:0x4ad,_0x530bb2:0x55b,_0x19937c:0x519,_0x24b980:0x5ee,_0x36e8fb:0x5a7,_0x1991e0:0x694,_0x4d1b75:0x6dd,_0x471a50:0x6b4,_0x5c09f5:0x618,_0x2a5911:0x777,_0x21c99c:0x637,_0x3a9537:0x68a,_0x5e3677:0x48f,_0x4e6d62:0x5eb,_0x43e2f2:0x606,_0x360245:0x7d8,_0x1b573a:0x67d,_0x535b30:0x74b,_0x535b5e:0xee,_0x403cf9:0x148,_0x5bc30e:0x13b,_0x3ddbfe:0x15e,_0x388496:0x514,_0x20e03e:0x60c,_0x4d8c83:0x491,_0x32d08d:0x54c,_0x362d41:0x6ad,_0x2088b4:0x6fe,_0x152c65:0x773,_0x360a6a:0x58,_0x5d4f8d:0x701,_0x339bed:0x756,_0xb4b0d2:0x6a9,_0xa4ebfb:0x797,_0x444eeb:0x8bc},_0x44f24f={_0x429346:0x388,_0x17fd2c:0x472},_0x142684={_0x23f587:0x468},_0x218aac={_0x281e17:0x195,_0x5c12f1:0x171,_0x397048:0x1f},_0x558576={_0x2af3f6:0x588,_0x52ad55:0xf3},_0x2d5a27={_0x78cd6d:0x512,_0x5503e4:0x15c},_0x194b48={_0x3bc0f8:0x3ad},_0x4a80f8=_0xdeea2a['resolve'](_0x41ae4c[_0xeb9440(0x48a,_0x1f740e._0x28481c,0x3f8,_0x1f740e._0x679c9d)]??process[_0xeb9440(0x5b1,_0x1f740e._0x37b66f,_0x1f740e._0x55f1bf,_0x1f740e._0x1a8752)]()),_0x4f9aa9=_0x41ae4c['allowedDirs']??[];function _0x3c6e5e(_0x5c71fb,_0x39a678,_0x46de87,_0x301ff4){return _0x26f978(_0x5c71fb-0x14d,_0x39a678-0xbd,_0x39a678-_0x194b48._0x3bc0f8,_0x5c71fb);}const _0x36fc11=_0x41ae4c[_0xeb9440(0x54b,0x500,0x4f7,_0x1f740e._0x6eff99)]??DEFAULT_TIMEOUT_MS,_0x8c707f=_0x41ae4c[_0x3c6e5e(0x862,0x75b,0x784,_0x1f740e._0x906d1d)]??!![],_0x5c7f9e=_0x41ae4c[_0xeb9440(_0x1f740e._0x2f6e32,0x449,_0x1f740e._0x4fef22,0x427)]??_0x3c6e5e(_0x1f740e._0x2f4117,_0x1f740e._0x28006e,0x63d,_0x1f740e._0x303fe8),_0x446cc5=_0x41ae4c[_0xeb9440(_0x1f740e._0x1f96ca,0x449,0x6b8,_0x1f740e._0x455631)]??[];function _0xeb9440(_0x272afd,_0x593779,_0x49bd47,_0x2c50bd){return _0x199ce4(_0x272afd-_0x2d5a27._0x78cd6d,_0x593779-0x28,_0x593779,_0x2c50bd-_0x2d5a27._0x5503e4);}const _0x14d27b=_0x41ae4c[_0xeb9440(0x508,0x5c8,_0x1f740e._0x243435,0x541)];return defineTool({'name':_0x5c7f9e,'description':_0x41ae4c[_0x3c6e5e(_0x1f740e._0x2e021c,_0x1f740e._0x82e5ed,_0x1f740e._0xa59db2,0x75b)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':_0xeb9440(_0x1f740e._0x1f993f,0x5c0,_0x1f740e._0x15d308,0x490)},'description':{'type':'string','description':_0x3c6e5e(_0x1f740e._0x280f2f,0x4ef,0x43f,0x3ba)},'cwd':{'type':'string'},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':'boolean'}},'required':[_0xeb9440(_0x1f740e._0x217b9c,0x5b9,0x653,0x5b5),_0x3c6e5e(_0x1f740e._0x522dd7,_0x1f740e._0x2c1b47,0x73d,_0x1f740e._0x492a1b)]},async *'execute'(_0x1d433c,_0x2f87bb){const _0x1724e1={_0x5dbad5:0x18f,_0x1d17d1:0xce,_0x4423ff:0x231,_0x3d678a:0x12f,_0x3368a7:0x23d,_0x2c48f3:0x1d7,_0x37d3a0:0x159,_0x13cfc2:0x21b},_0x2194b5={_0x2e6ad3:0x3c6},_0x269091={_0xefdafa:0x1dc,_0x53590d:0x84,_0x823f:0x42,_0x2e33f2:0x13a,_0x31a17d:0x421,_0x2292f2:0x48a,_0x3fa796:0x387},_0xc863fa={_0x133220:0x8b,_0x32cddf:0x2d},_0x21d30f={_0x4ea2e4:0x6d,_0x381893:0x5eb},_0x2337b4=_0x1d433c[_0x2f2fef(-0x163,-_0x63a7cd._0xb2252c,-0x29,-0x102)]??_0x36fc11;if(!Number[_0x5078e5(_0x63a7cd._0xe70e68,_0x63a7cd._0x4f683a,0x72b,0x812)](_0x2337b4)||_0x2337b4<0x1)throw new ToolExecutionError(_0x5078e5(_0x63a7cd._0x142a7e,0x4e0,0x5b4,_0x63a7cd._0x2536f7),{'command':_0x1d433c[_0x2f2fef(0x154,_0x63a7cd._0x772c98,_0x63a7cd._0x4f7274,0x18f)]});throwIfAborted(_0x2f87bb[_0x5078e5(_0x63a7cd._0x17a3fd,_0x63a7cd._0x54e884,_0x63a7cd._0x141135,_0x63a7cd._0x5d2821)]);const _0x8c72e8=resolveWorkingDirectory(_0x1d433c[_0x5078e5(_0x63a7cd._0x3e44a3,_0x63a7cd._0x4ff4b5,_0x63a7cd._0x58a358,_0x63a7cd._0x1c663c)],_0x4a80f8,_0x4f9aa9);function _0x2f2fef(_0x4f7e09,_0x57be7a,_0x419aef,_0x4e2ec5){return _0xeb9440(_0x57be7a- -_0x558576._0x2af3f6,_0x4e2ec5,_0x419aef-_0x558576._0x52ad55,_0x4e2ec5-0x17f);}const _0x33c271=_0x1d433c[_0x5078e5(_0x63a7cd._0x145337,_0x63a7cd._0x343bfe,0x6a7,_0x63a7cd._0x2db3d8)]??![],_0x5355e7=resolveDefaultShell(_0x41ae4c[_0x5078e5(0x69b,_0x63a7cd._0x34e119,0x6aa,0x7bf)]),_0x298b4e=buildShellArgs(_0x1d433c[_0x2f2fef(-0xc2,_0x63a7cd._0xac6e04,_0x63a7cd._0x50bb87,-0x1)],_0x5355e7),_0x42eec2=_0x367e4c[_0x2f2fef(-_0x63a7cd._0xf4252,-_0x63a7cd._0x4596e9,-_0x63a7cd._0x6579bf,-0x155)]()==='win32';if(_0x1d433c[_0x2f2fef(_0x63a7cd._0x337dd6,-0xb6,0x73,-0x2c)]){if(!_0x14d27b)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x1d433c[_0x2f2fef(_0x63a7cd._0x218d21,0x58,0x158,_0x63a7cd._0x14a936)]});throwIfAborted(_0x2f87bb[_0x2f2fef(-0xfb,-_0x63a7cd._0x3c8df1,-0x205,-0x22)]);let _0x4d5876;try{_0x4d5876=_0x413e4d(_0x5355e7,_0x298b4e,{'cwd':_0x8c72e8,'env':buildChildEnv(_0x41ae4c[_0x5078e5(0x6f6,_0x63a7cd._0x4f6102,_0x63a7cd._0x3519e7,_0x63a7cd._0x2a7935)],_0x446cc5),'stdio':[_0x5078e5(_0x63a7cd._0x11beb1,0x71b,0x69e,_0x63a7cd._0x3fcc60),_0x2f2fef(0x2b,-_0x63a7cd._0x4f114f,-_0x63a7cd._0x5a8ce9,-_0x63a7cd._0x27f776),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x42eec2});}catch(_0x341596){throw mapSpawnError(_0x341596,{'command':_0x1d433c[_0x5078e5(0x76d,0x762,0x722,0x5bd)],'cwd':_0x8c72e8,'shellPath':_0x5355e7});}let _0x573bfa;try{_0x573bfa=_0x14d27b[_0x2f2fef(0x99,-_0x63a7cd._0x1f0a2a,_0x63a7cd._0x10a835,-_0x63a7cd._0x2186f0)]({'child':_0x4d5876,'command':_0x1d433c[_0x5078e5(_0x63a7cd._0x3cc32a,0x61c,_0x63a7cd._0x24e41e,_0x63a7cd._0x3ff2b5)],'cwd':_0x8c72e8,'stripAnsi':_0x8c707f});}catch(_0x430491){_0x4d5876[_0x2f2fef(-_0x63a7cd._0x307c20,-_0x63a7cd._0x5c2c45,-_0x63a7cd._0x57bf31,-_0x63a7cd._0x3478dd)](_0x5078e5(_0x63a7cd._0x4d9dc8,_0x63a7cd._0x37073b,0x653,_0x63a7cd._0x46577b),()=>{});try{killProcessGroup(_0x4d5876,_0x42eec2);}catch{}throw _0x430491;}return createToolOutput(_0x2f2fef(-_0x63a7cd._0x43b40a,-0x164,-_0x63a7cd._0x2e613d,-0x286)+_0x573bfa[_0x5078e5(_0x63a7cd._0x54b6ef,0x5be,_0x63a7cd._0x6261aa,0x82a)]+_0x2f2fef(-0x206,-_0x63a7cd._0x20ee4c,-0x186,0x50)+(_0x573bfa[_0x2f2fef(-0xa8,_0x63a7cd._0x44b7f0,-_0x63a7cd._0x453334,_0x63a7cd._0x3ce7bd)]??'?')+_0x2f2fef(-_0x63a7cd._0x3d546e,0x9a,-_0x63a7cd._0x252981,-0x89),{'shellId':_0x573bfa[_0x2f2fef(-0x134,_0x63a7cd._0x327023,0x172,-_0x63a7cd._0x5b7567)],'status':_0x573bfa[_0x2f2fef(-_0x63a7cd._0x66051f,-0xaa,_0x63a7cd._0xa8631,-0x1dd)],'command':_0x573bfa[_0x5078e5(0x793,0x5b5,0x722,_0x63a7cd._0x275ac7)],'description':_0x1d433c['description'],'cwd':_0x573bfa['cwd'],'pid':_0x573bfa[_0x5078e5(0x747,0x77f,_0x63a7cd._0x53bfba,0x5ab)]??null});}let _0x4c6c83;function _0x5078e5(_0x3ed91f,_0x3f100b,_0x30e136,_0x134161){return _0x3c6e5e(_0x134161,_0x30e136-0x25,_0x30e136-0xcf,_0x134161-0x119);}try{_0x4c6c83=_0x413e4d(_0x5355e7,_0x298b4e,{'cwd':_0x8c72e8,'env':buildChildEnv(_0x41ae4c[_0x5078e5(0x728,_0x63a7cd._0x885d74,_0x63a7cd._0x3519e7,0x5d9)],_0x446cc5),'stdio':_0x33c271?['ignore',_0x2f2fef(_0x63a7cd._0x116917,-_0x63a7cd._0x53f4d7,-_0x63a7cd._0x2353e1,_0x63a7cd._0x2db4f2),_0x2f2fef(-_0x63a7cd._0x18a156,-0x2c,-0x137,_0x63a7cd._0x5dcd00)]:[_0x2f2fef(-0x11b,-0x2c,-0x52,-_0x63a7cd._0x2b941c),_0x2f2fef(-0x154,-0x6e,-0x1ca,0x2a),_0x2f2fef(_0x63a7cd._0x217452,-_0x63a7cd._0x4f6766,_0x63a7cd._0x53f4d7,0x38)],'shell':![],'windowsHide':!![],'detached':!_0x42eec2});}catch(_0x47e5c3){throw mapSpawnError(_0x47e5c3,{'command':_0x1d433c[_0x5078e5(_0x63a7cd._0x39beb4,0x851,_0x63a7cd._0x24e41e,_0x63a7cd._0x1e4508)],'cwd':_0x8c72e8,'shellPath':_0x5355e7});}const _0x4f9ee8=[],_0x20cfba=[],_0xc2a3c3=new _0x4856e2(_0x5078e5(0x77d,0x634,0x696,_0x63a7cd._0x316f38)),_0x527696=new _0x4856e2(_0x5078e5(0x6ae,0x770,_0x63a7cd._0x5a83ef,0x755));let _0x35b6e7,_0xa2689e=![],_0x2b295b;const _0x273b90=()=>{if(!_0x35b6e7)return;const _0xb94770=_0x35b6e7;_0x35b6e7=void 0x0,_0xb94770();},_0xe73dcf=async()=>{if(_0x20cfba[_0x50b83e(-_0xc863fa._0x133220,-0x66,_0xc863fa._0x32cddf,0x13b)]>0x0||_0xa2689e)return;function _0x50b83e(_0x28402a,_0x2c8588,_0x55345f,_0x5b0dae){return _0x5078e5(_0x28402a-_0x21d30f._0x4ea2e4,_0x2c8588-0xeb,_0x55345f- -_0x21d30f._0x381893,_0x2c8588);}await new Promise(_0x50b957=>{_0x35b6e7=_0x50b957;});},_0x4e6524=_0x1b796c=>{const _0x340147={_0x29d793:0xd7,_0x39f52c:0x45};function _0x34f624(_0xe6eaf1,_0x34c925,_0xb3503,_0x4282e9){return _0x2f2fef(_0xe6eaf1-_0x340147._0x29d793,_0xe6eaf1-_0x340147._0x39f52c,_0xb3503-0x1cb,_0x34c925);}appendChunk(_0x4f9ee8,_0x20cfba,_0xc2a3c3[_0x34f624(-_0x218aac._0x281e17,-0x36,-_0x218aac._0x5c12f1,-_0x218aac._0x397048)](_0x1b796c),_0x8c707f,_0x273b90);},_0x2faf42=_0x3fb0da=>{const _0x43da1e={_0x1ad1e6:0x1c4,_0x5915ad:0x139};function _0x368e6d(_0x1388ea,_0x564fe3,_0x141fc2,_0x48da5a){return _0x5078e5(_0x1388ea-0x1d7,_0x564fe3-_0x43da1e._0x1ad1e6,_0x141fc2- -_0x43da1e._0x5915ad,_0x1388ea);}appendChunk(_0x4f9ee8,_0x20cfba,_0x527696[_0x368e6d(_0x142684._0x23f587,0x305,0x3b7,0x437)](_0x3fb0da),_0x8c707f,_0x273b90);};_0x4c6c83[_0x5078e5(_0x63a7cd._0x58eec5,0x7c9,0x6fe,_0x63a7cd._0x3f821b)]?.['on']('data',_0x4e6524),_0x4c6c83[_0x5078e5(_0x63a7cd._0x23e728,_0x63a7cd._0x530bb2,_0x63a7cd._0x19937c,_0x63a7cd._0x24b980)]?.['on'](_0x5078e5(_0x63a7cd._0x36e8fb,0x7f3,_0x63a7cd._0x1991e0,0x7ed),_0x2faf42);let _0x3ce677=![],_0x416269;const _0x7b8bf8=addAbortListener(_0x2f87bb['signal'],()=>{const _0x5914ba={_0x37d780:0xdd};_0x2b295b=toAbortError(_0x2f87bb['signal'][_0x20e233(_0x44f24f._0x429346,_0x44f24f._0x17fd2c,0x47e,0x3d9)]),_0xa2689e=!![],_0x273b90();function _0x20e233(_0x44db1e,_0x426799,_0x51dbce,_0x1c9551){return _0x2f2fef(_0x44db1e-0x1a2,_0x1c9551-0x4da,_0x51dbce-_0x5914ba._0x37d780,_0x51dbce);}try{killProcessGroup(_0x4c6c83,_0x42eec2);}catch{}});try{const _0x1448d3=new Promise((_0x27cef1,_0x3b9b03)=>{const _0x575029={_0x47c7b4:0xc5},_0x341ecd={_0x14298d:0x71e,_0x4bb6c4:0x535,_0x1851eb:0x747,_0x2c07a7:0x5d7,_0x2fbb09:0x528},_0x2395e1={_0x93e84b:0x136},_0xfd70be={_0x4979ab:0x3a,_0x15e675:0x3da},_0x359a1a={_0xcf384b:0x1a4},_0x220113=()=>{_0x416269&&(clearTimeout(_0x416269),_0x416269=void 0x0);function _0x17fe0b(_0x1b6f5f,_0x45a057,_0x22cd76,_0xfb806){return _0x16af(_0x22cd76- -_0x359a1a._0xcf384b,_0x45a057);}function _0xfca2bc(_0x7d1ef5,_0x272e50,_0x58db7e,_0x15ec2f){return _0x16af(_0x58db7e-0x91,_0x7d1ef5);}_0x4c6c83[_0x17fe0b(_0x269091._0xefdafa,_0x269091._0x53590d,0x149,0x291)](_0x17fe0b(0x1d,_0x269091._0x823f,_0x269091._0x2e33f2,0x1be),_0x11368d),_0x4c6c83[_0xfca2bc(0x42e,0x20d,0x37e,0x331)](_0xfca2bc(_0x269091._0x31a17d,_0x269091._0x2292f2,_0x269091._0x3fa796,0x2a4),_0xa5c24c);},_0x11368d=_0x2ee65d=>{_0xa2689e=!![],_0x273b90(),_0x220113(),_0x3b9b03(_0x2b295b??_0x2ee65d);},_0xa5c24c=(_0x35e940,_0x4bd4f1)=>{const _0x1c22a6={_0x20ec5d:0x2ab};_0x3ce677=!![];function _0x34ea9c(_0x3f3a7a,_0x18bda1,_0x4c9bee,_0x4e7ca3){return _0x16af(_0x3f3a7a-_0x1c22a6._0x20ec5d,_0x4c9bee);}appendChunk(_0x4f9ee8,_0x20cfba,_0xc2a3c3[_0x34ea9c(0x536,_0x2194b5._0x2e6ad3,0x3ea,0x68f)](),_0x8c707f,_0x273b90),appendChunk(_0x4f9ee8,_0x20cfba,_0x527696['end'](),_0x8c707f,_0x273b90),_0xa2689e=!![],_0x273b90(),_0x220113();if(_0x2b295b){_0x3b9b03(_0x2b295b);return;}_0x27cef1({'code':_0x35e940,'signal':_0x4bd4f1});};function _0x197e3e(_0x4a923f,_0x5d8a7c,_0x836692,_0x4c3375){return _0x5078e5(_0x4a923f-0xc6,_0x5d8a7c-_0xfd70be._0x4979ab,_0x4c3375- -_0xfd70be._0x15e675,_0x836692);}_0x416269=setTimeout(()=>{const _0x225c82={_0x1ab9dc:0x2f6};_0xa2689e=!![],_0x273b90(),_0x220113();function _0xf94df4(_0x37e743,_0x15c42d,_0x5d3a6f,_0x22c4f3){return _0x16af(_0x37e743-_0x225c82._0x1ab9dc,_0x15c42d);}try{killProcessGroup(_0x4c6c83,_0x42eec2);}catch{}function _0x6dcda8(_0x4fdce6,_0x19b7b0,_0x30ba3a,_0x43c615){return _0x16af(_0x4fdce6-_0x2395e1._0x93e84b,_0x43c615);}_0x3b9b03(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0x2337b4+_0xf94df4(0x684,_0x341ecd._0x14298d,_0x341ecd._0x4bb6c4,0x716),{'command':_0x1d433c[_0xf94df4(0x6a3,_0x341ecd._0x1851eb,_0x341ecd._0x2c07a7,_0x341ecd._0x2fbb09)],'cwd':_0x8c72e8,'shellPath':_0x5355e7,'timeoutMs':_0x2337b4,'timedOut':!![]}));},_0x2337b4);function _0x56ac1a(_0xc2087c,_0x6a4d9,_0x55bf85,_0x3dd700){return _0x2f2fef(_0xc2087c-0xe1,_0x6a4d9-0x2a8,_0x55bf85-_0x575029._0x47c7b4,_0xc2087c);}_0x4c6c83[_0x56ac1a(0x1ea,_0x1724e1._0x5dbad5,0x54,_0x1724e1._0x1d17d1)](_0x56ac1a(0x226,_0x1724e1._0x4423ff,_0x1724e1._0x3d678a,_0x1724e1._0x3368a7),_0x11368d),_0x4c6c83[_0x197e3e(0x31d,0x7f,0x2a7,_0x1724e1._0x2c48f3)](_0x197e3e(_0x1724e1._0x37d3a0,0x3a0,_0x1724e1._0x13cfc2,0x291),_0xa5c24c);});while(_0x20cfba[_0x5078e5(_0x63a7cd._0x4d1b75,_0x63a7cd._0x471a50,_0x63a7cd._0x5c09f5,_0x63a7cd._0x2a5911)]>0x0||!_0xa2689e){if(_0x20cfba['length']===0x0){await _0xe73dcf();continue;}const _0x2cf239=_0x20cfba['shift']();_0x2cf239!==void 0x0&&(yield _0x2cf239);}const _0x534047=await _0x1448d3,_0x2fff84=_0x33c271?_0x5078e5(0x6e4,_0x63a7cd._0x21c99c,_0x63a7cd._0x3a9537,0x625)+(_0x534047['code']??0x0):_0x4f9ee8[_0x5078e5(_0x63a7cd._0x5e3677,_0x63a7cd._0x4e6d62,_0x63a7cd._0x43e2f2,0x672)](''),_0x32af76={'command':_0x1d433c[_0x5078e5(_0x63a7cd._0x360245,_0x63a7cd._0x1b573a,0x722,_0x63a7cd._0x535b30)],'description':_0x1d433c[_0x2f2fef(-0x1c4,-0xb1,-_0x63a7cd._0x535b5e,0x4c)],'cwd':_0x8c72e8,'exitCode':_0x534047[_0x2f2fef(0x1e,-0x15e,-_0x63a7cd._0x14a936,-0x10f)]??0x0,'signal':_0x534047[_0x2f2fef(-0x157,-_0x63a7cd._0x403cf9,-0x7d,-_0x63a7cd._0x5bc30e)],'ignoreOutput':_0x33c271,'shellPath':_0x5355e7,'timeoutMs':_0x2337b4};if(_0x534047[_0x2f2fef(-0x103,-_0x63a7cd._0x3ddbfe,-0x292,-0x14f)]!==0x0)throw new ToolExecutionError(_0x2fff84||_0x5078e5(_0x63a7cd._0x388496,0x51a,_0x63a7cd._0x20e03e,0x497)+(_0x534047['code']??0x0),_0x32af76);return createToolOutput(_0x2fff84,_0x32af76);}catch(_0x1f5a6e){while(_0x20cfba['length']>0x0){const _0x257e3d=_0x20cfba[_0x5078e5(_0x63a7cd._0x4d8c83,0x5e4,_0x63a7cd._0x32d08d,_0x63a7cd._0x362d41)]();_0x257e3d!==void 0x0&&(yield _0x257e3d);}if(_0x1f5a6e instanceof ToolExecutionError)throw _0x1f5a6e;if(_0x2b295b)throw _0x2b295b;throw mapSpawnError(_0x1f5a6e,{'command':_0x1d433c['command'],'cwd':_0x8c72e8,'shellPath':_0x5355e7});}finally{_0x416269&&clearTimeout(_0x416269);_0x7b8bf8(),_0x4c6c83[_0x5078e5(0x63c,0x77d,_0x63a7cd._0x2088b4,_0x63a7cd._0x152c65)]?.['off'](_0x5078e5(0x7e2,0x7ea,0x694,0x650),_0x4e6524),_0x4c6c83['stderr']?.[_0x2f2fef(-0xd,-0x68,-0x168,-_0x63a7cd._0x360a6a)]('data',_0x2faf42);if(!_0x3ce677&&_0x4c6c83[_0x5078e5(0x6bf,0x792,_0x63a7cd._0x5d4f8d,0x5ce)]&&!_0x4c6c83[_0x5078e5(_0x63a7cd._0x339bed,_0x63a7cd._0xb4b0d2,_0x63a7cd._0xa4ebfb,_0x63a7cd._0x444eeb)])try{killProcessGroup(_0x4c6c83,_0x42eec2);}catch{}}}});}function createShellExecTool(_0x149627={}){return createBashTool(_0x149627);}import{readdir,readFile as _0x55b831}from'fs/promises';import{extname,join as _0x44603b}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x472220,join,relative as _0x4279db,resolve as _0x5b4ae7}from'path';import{readdir as _0x560211,readFile as _0x517921}from'fs/promises';import{join as _0x361f37,relative as _0x8e2817,sep}from'path';import{delimiter}from'path';import{mkdir as _0x527ee3,rm,stat as _0x3da0e3,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x41391e}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x45c401,rename,rm as _0x5f1ce7,stat as _0x3849dc,writeFile as _0x2e7541}from'fs/promises';import{homedir as _0x264d55}from'os';import{dirname as _0x5133ce,isAbsolute as _0x116eaa,join as _0x4e8c1e,resolve as _0x3c41cf}from'path';import{parse as _0x1b0ede,stringify as _0x42c119}from'yaml';import{cp,mkdir as _0x26df78,readFile as _0x16f45a,rm as _0x4d9b62,writeFile as _0x2168fd}from'fs/promises';import{homedir}from'os';import{join as _0x5dc440}from'path';import{parse as _0x5aa086,stringify as _0x16404e}from'yaml';import{z}from'zod';import{readdir as _0x4bdc71,readFile as _0x9c59da}from'fs/promises';import{join as _0x4c5022}from'path';import{randomUUID as _0x24a9a0}from'crypto';import{mkdir as _0x51f22f,readdir as _0x4aa282,readFile as _0x5f5884,rename as _0x20dba9,rm as _0x479c32,writeFile as _0x14cac3}from'fs/promises';import{homedir as _0x28c9ac}from'os';import{basename,isAbsolute as _0x129542,join as _0x4bdfab,relative as _0xb10777,resolve as _0x37be41}from'path';import{parse as _0x31265d,stringify as _0x1dc26f}from'yaml';import{delimiter as _0x592cac,resolve as _0x4caa65}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function _0x16af(_0x262607,_0x3067c9){_0x262607=_0x262607-0x168;const _0x892df4=_0x892d();let _0x16af1e=_0x892df4[_0x262607];if(_0x16af['jFGMiq']===undefined){var _0x32f73a=function(_0x295b95){const _0x4bd1a1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c748a='',_0x2f5856='';for(let _0x75c00e=0x0,_0x43ea12,_0x52f918,_0x562cbc=0x0;_0x52f918=_0x295b95['charAt'](_0x562cbc++);~_0x52f918&&(_0x43ea12=_0x75c00e%0x4?_0x43ea12*0x40+_0x52f918:_0x52f918,_0x75c00e++%0x4)?_0x4c748a+=String['fromCharCode'](0xff&_0x43ea12>>(-0x2*_0x75c00e&0x6)):0x0){_0x52f918=_0x4bd1a1['indexOf'](_0x52f918);}for(let _0x45fe0a=0x0,_0x4139b1=_0x4c748a['length'];_0x45fe0a<_0x4139b1;_0x45fe0a++){_0x2f5856+='%'+('00'+_0x4c748a['charCodeAt'](_0x45fe0a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2f5856);};_0x16af['KztgIP']=_0x32f73a,_0x16af['hrUOTy']={},_0x16af['jFGMiq']=!![];}const _0xc91714=_0x892df4[0x0],_0x258b37=_0x262607+_0xc91714,_0x17ed6f=_0x16af['hrUOTy'][_0x258b37];return!_0x17ed6f?(_0x16af1e=_0x16af['KztgIP'](_0x16af1e),_0x16af['hrUOTy'][_0x258b37]=_0x16af1e):_0x16af1e=_0x17ed6f,_0x16af1e;}function tokenizeCommandArguments(_0x316027){const _0x50ba43={_0x1f6962:0x5ab,_0x52e981:0x5f0,_0x4ae849:0x52d,_0x50d135:0x4ac,_0x47826b:0x57f,_0x560805:0x1cb,_0x99e4de:0x314,_0x215c86:0x247,_0xaff839:0x305},_0x45eff9={_0xedd879:0x5d,_0x45a55e:0xa5},_0x3d47b3={_0x2c235e:0x1cb,_0xeddf85:0x266},_0x7ea7c0=[];let _0x4041f5='';function _0x2cd031(_0x116462,_0x14cad5,_0x4ea1ec,_0x5a2666){return _0x26f978(_0x116462-_0x3d47b3._0x2c235e,_0x14cad5-0x9,_0x4ea1ec-_0x3d47b3._0xeddf85,_0x5a2666);}function _0xcc343e(_0x1009c6,_0x2b596f,_0xb108c4,_0x42145e){return _0x199ce4(_0x42145e-0x2cd,_0x2b596f-_0x45eff9._0xedd879,_0xb108c4,_0x42145e-_0x45eff9._0x45a55e);}let _0x10eb22=0x0;while(_0x10eb22<_0x316027[_0x2cd031(_0x50ba43._0x1f6962,_0x50ba43._0x52e981,0x4ac,0x564)]){const _0x20f756=_0x316027[_0x10eb22];if(_0x20f756==='\x5c'&&_0x10eb22+0x1<_0x316027[_0x2cd031(_0x50ba43._0x4ae849,0x477,_0x50ba43._0x50d135,_0x50ba43._0x47826b)])_0x4041f5+=_0x316027[_0x10eb22+0x1],_0x10eb22+=0x2;else{if(_0x20f756==='\x22'||_0x20f756==='\x27'){const _0x19ce7d=_0x20f756;_0x10eb22++;while(_0x10eb22<_0x316027[_0xcc343e(_0x50ba43._0x560805,_0x50ba43._0x99e4de,0x3d5,0x291)]&&_0x316027[_0x10eb22]!==_0x19ce7d){_0x316027[_0x10eb22]==='\x5c'&&_0x10eb22+0x1<_0x316027['length']?(_0x4041f5+=_0x316027[_0x10eb22+0x1],_0x10eb22+=0x2):(_0x4041f5+=_0x316027[_0x10eb22],_0x10eb22++);}_0x10eb22++;}else _0x20f756!==void 0x0&&/\s/[_0xcc343e(_0x50ba43._0x215c86,0x315,0x36a,_0x50ba43._0xaff839)](_0x20f756)?(_0x4041f5&&(_0x7ea7c0['push'](_0x4041f5),_0x4041f5=''),_0x10eb22++):(_0x4041f5+=_0x20f756,_0x10eb22++);}}if(_0x4041f5)_0x7ea7c0[_0x2cd031(0x359,0x4c9,0x390,0x29e)](_0x4041f5);return _0x7ea7c0;}function renderCommandInstructions(_0xf44be8){const _0x417813={_0x52ca7e:0x672,_0x3f8e25:0x538,_0x83e991:0x5ee,_0x33af90:0x669,_0x45bbaa:0x645,_0x245ea8:0x68c,_0xf161cd:0x6e6,_0xd6e53d:0x591,_0x57e479:0x654,_0x2d36b6:0x79d,_0x22982c:0x597,_0xd7f891:0x462,_0x4048b8:0x574,_0x2ea408:0x60d,_0x424840:0x6fd,_0x1b7277:0x585,_0x3d8ba8:0x69b,_0x15ac38:0x5c0,_0x1f9363:0x3a4,_0x518cdd:0x464,_0x4d975d:0x445,_0x5224a2:0x5f9},_0x14e03a={_0x19e005:0x135,_0x559eb5:0x103};let _0x8f73c7=_0xf44be8['instructions'],_0x2239b5=![];function _0x28b442(_0x1ec98f,_0x22170b,_0x566794,_0x3f0a2e){return _0x26f978(_0x1ec98f-0x1,_0x22170b-0x190,_0x1ec98f-0x42a,_0x22170b);}const _0x1606ce=tokenizeCommandArguments(_0xf44be8[_0x28b442(0x5df,_0x417813._0x52ca7e,0x57f,0x6b8)]);_0x8f73c7=_0x8f73c7['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0x17424a,_0x1f0a8c)=>{return _0x2239b5=!![],_0x1606ce[Number(_0x1f0a8c)]??'';}),_0x8f73c7=_0x8f73c7[_0x5167d5(_0x417813._0x3f8e25,_0x417813._0x83e991,0x548,0x648)](/\$ARGUMENTS\b/g,()=>{return _0x2239b5=!![],_0xf44be8['argumentsText'];});if(_0xf44be8[_0x5167d5(_0x417813._0x33af90,0x60d,_0x417813._0x45bbaa,_0x417813._0x245ea8)]&&_0xf44be8[_0x28b442(_0x417813._0xf161cd,_0x417813._0xd6e53d,0x829,0x81e)][_0x28b442(0x670,_0x417813._0x57e479,0x76f,_0x417813._0x2d36b6)]>0x0)for(let _0x31139c=0x0;_0x31139c<_0xf44be8[_0x5167d5(0x776,0x60d,0x6c8,0x644)][_0x5167d5(0x477,_0x417813._0x22982c,0x6e7,_0x417813._0xd7f891)];_0x31139c++){const _0x44db7d=_0xf44be8[_0x5167d5(_0x417813._0x4048b8,_0x417813._0x2ea408,0x4f6,_0x417813._0x424840)][_0x31139c];if(_0x44db7d){const _0x1981ce=new RegExp('\x5c$'+_0x44db7d+'\x5cb','g');_0x8f73c7=_0x8f73c7['replace'](_0x1981ce,()=>{return _0x2239b5=!![],_0x1606ce[_0x31139c]??'';});}}_0x8f73c7=_0x8f73c7[_0x28b442(0x6c7,_0x417813._0x1b7277,0x78a,_0x417813._0x3d8ba8)](/\$(\d+)\b/g,(_0x261e67,_0x592471)=>{return _0x2239b5=!![],_0x1606ce[Number(_0x592471)]??'';});function _0x5167d5(_0x2f8dd7,_0x347e7a,_0x4959ff,_0x3fa490){return _0x26f978(_0x2f8dd7-_0x14e03a._0x19e005,_0x347e7a-_0x14e03a._0x559eb5,_0x347e7a-0x351,_0x3fa490);}return!_0x2239b5&&_0xf44be8[_0x28b442(0x5df,_0x417813._0x15ac38,0x4ed,0x57d)][_0x5167d5(_0x417813._0x1f9363,_0x417813._0x518cdd,0x3a3,0x476)]()&&(_0x8f73c7=_0x8f73c7+'\x0a\x0aARGUMENTS:\x20'+_0xf44be8[_0x5167d5(_0x417813._0x4d975d,0x506,_0x417813._0x5224a2,0x3d0)]),_0x8f73c7;}var PROVIDER_API_KEY_ENVS=[{'env':_0x199ce4(0xb5,0x96,-0xa4,0x9),'provider':_0x26f978(0x450,0x3f2,0x3ef,0x4f1)},{'env':'ANTHROPIC_API_KEY','provider':'anthropic'},{'env':_0x199ce4(-0x59,-0x71,-0x192,-0x1bc),'provider':_0x26f978(0x42d,0x423,0x377,0x3a2)},{'env':_0x26f978(0x246,0xdb,0x19b,0x125),'provider':'github'},{'env':_0x199ce4(0x11b,0x1c7,0xc9,0x10a),'provider':_0x199ce4(-0x5b,-0x69,-0xcf,-0xba)},{'env':_0x26f978(0x7b,0x10e,0x195,0x266),'provider':_0x26f978(0x4bd,0x464,0x367,0x320)},{'env':_0x26f978(0x2a9,0x2f1,0x17c,0x2b2),'provider':'zai'},{'env':'MOONSHOT_API_KEY','provider':'moonshot'},{'env':_0x26f978(0x261,0x397,0x2eb,0x3bb),'provider':_0x26f978(0x48e,0x448,0x312,0x231)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x26f978(0xd7,0xe4,0x1fe,0x346),'provider':_0x26f978(0x1c2,0x3,0x14f,0xe1)},{'env':'DEEPSEEK_API_KEY','provider':_0x199ce4(0xa6,0x59,0xf8,0x79)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x2850c4=>_0x2850c4[_0x199ce4(-0x3,0xa1,-0x17e,0x166)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x26f978(0x106,0x283,0x1ae,0x71),_0x26f978(0x2d2,0x45e,0x390,0x47d),_0x199ce4(0x24,-0x49,0x42,0x160)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x26f978(0x1fc,0x245,0x363,0x2fa)]),_0x199ce4(0xe1,0x215,0x84,0x110)]);function prototypeSafeRecord(_0x12c563){const _0x3928c9={_0x2acf57:0x2f8,_0x59b699:0x152,_0x5a065d:0x266,_0x1eeb5c:0x317,_0x164066:0x27f,_0x20208c:0x5d2,_0x24335c:0x4a5,_0x4c8795:0x9f},_0x5991d3={_0x3c3a5a:0x41d,_0x20d219:0x2d0,_0x4a3bf3:0x376,_0x349c38:0x19,_0x4f063f:0xda,_0x483de5:0x3ba,_0x34ce4:0x417},_0x530b66={_0x560df2:0x17b},_0x5cdf87={_0x13c9a1:0x1b9,_0x74b25c:0x7b,_0x361446:0x188},_0x504976={_0x56ca86:0x2ca};function _0x69c1cc(_0xe4550e,_0x3187e9,_0x431c4c,_0x559856){return _0x26f978(_0xe4550e-0x1d1,_0x3187e9-0xe7,_0x3187e9-_0x504976._0x56ca86,_0x431c4c);}function _0x181568(_0x595f6b,_0x10519e,_0x32ab2f,_0x234069){return _0x26f978(_0x595f6b-_0x5cdf87._0x13c9a1,_0x10519e-_0x5cdf87._0x74b25c,_0x32ab2f- -_0x5cdf87._0x361446,_0x234069);}return z['preprocess'](_0x483c7c=>{function _0x82a3f3(_0xaa4327,_0x70f86e,_0x1872f3,_0x58a457){return _0x16af(_0x70f86e- -_0x530b66._0x560df2,_0x58a457);}if(_0x483c7c===null||typeof _0x483c7c!==_0x82a3f3(_0x5991d3._0x3c3a5a,_0x5991d3._0x20d219,_0x5991d3._0x4a3bf3,0x258)||Array[_0x82a3f3(_0x5991d3._0x349c38,0x154,0x258,_0x5991d3._0x4f063f)](_0x483c7c))return null;function _0x32e276(_0x21bde5,_0x467f11,_0x5e47d9,_0x14b1b9){return _0x16af(_0x5e47d9- -0x6,_0x21bde5);}const _0x23538f=Object['getPrototypeOf'](_0x483c7c);if(_0x23538f!==Object[_0x32e276(0x517,0x31a,_0x5991d3._0x483de5,_0x5991d3._0x34ce4)]&&_0x23538f!==null)return null;return{'entries':Object['entries'](_0x483c7c)};},z[_0x181568(_0x3928c9._0x2acf57,_0x3928c9._0x59b699,_0x3928c9._0x5a065d,0x1ab)]({'entries':z['array'](z[_0x181568(_0x3928c9._0x1eeb5c,0x1e4,0x256,_0x3928c9._0x164066)]([z[_0x69c1cc(0x5a2,_0x3928c9._0x20208c,0x4b5,_0x3928c9._0x24335c)](),_0x12c563]))}))[_0x181568(-0x56,-_0x3928c9._0x4c8795,0x2c,-0xe3)](({entries:_0x5e8a0d})=>Object[_0x69c1cc(0x558,0x659,0x7a6,0x50a)](_0x5e8a0d));}var chatModelAuthSchemeSchema=z[_0x26f978(0x2fb,0x252,0x1ca,0x197)]([_0x26f978(0x13a,0xb6,0x1f9,0x24d),_0x26f978(0x2bc,0x1a6,0x25b,0x165)]),apiKeyAuthSchema=z['object']({'type':z[_0x199ce4(0x3,-0x59,0x12c,0x10e)](_0x199ce4(0xc5,0x124,-0x7c,0x8c)),'apiKey':z[_0x199ce4(0x86,0x50,0x1ba,0x1b4)](),'authScheme':chatModelAuthSchemeSchema[_0x199ce4(-0x15f,-0x253,-0x157,-0x1be)]()})[_0x199ce4(-0x5e,-0x17d,0x95,-0x46)](),oauthAuthSchema=z[_0x26f978(0x2a6,0x38f,0x3ee,0x47d)]({'type':z['literal']('oauth'),'access':z[_0x199ce4(0x86,0xa1,-0x53,0x1e6)](),'refresh':z[_0x26f978(0x284,0x2c9,0x308,0x2c0)](),'expires':z[_0x199ce4(0x10a,-0x3a,0x26f,0x12)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x199ce4(-0x15f,-0x2db,-0x2a3,-0x80)]()})[_0x26f978(0x332,0x37a,0x224,0x2ad)](),finiteNonNegative=z[_0x199ce4(0x10a,0x136,-0x2d,0x7b)]()['finite']()['nonnegative'](),chatGptAuthSchema=z['object']({'type':z[_0x199ce4(0x3,-0xa7,0x36,0x159)]('chatgpt'),'access':z['string']()[_0x26f978(0x11e,0x22d,0x210,0x370)](0x1),'refresh':z['string']()[_0x26f978(0x225,0x16d,0x210,0x277)](0x1),'idToken':z['string']()[_0x199ce4(-0x72,0xe7,-0x1d9,-0xa9)](0x1),'accountId':z[_0x26f978(0x32c,0x24e,0x308,0x378)]()[_0x199ce4(-0x72,-0x108,-0x132,-0x1ea)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x199ce4(-0x15f,-0x16f,-0x20d,-0x2da)]()})['passthrough'](),authMethodSchema=z[_0x199ce4(-0x1b,-0x109,-0x4c,-0x9e)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x26f978(0x4af,0x3bf,0x3ee,0x569)]({'id':z[_0x199ce4(0x86,0x175,-0x8a,0xb8)](),'name':z[_0x199ce4(0x86,0x7c,0x1ba,0x197)]()['optional']()})[_0x26f978(0x1d5,0x298,0x224,0x354)](),modelConfigSchema=z[_0x199ce4(-0x1b,-0x12e,0xf3,-0xab)]([z[_0x26f978(0x2d0,0x2a9,0x285,0x2fb)](![]),z['literal'](!![]),z[_0x199ce4(0x86,0x72,-0xaf,0x199)](),z[_0x26f978(0xa1,0x169,0x1f6,0xef)](z[_0x199ce4(0x86,-0x10,0x12e,0xab)]()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x199ce4(-0xb8,-0x1b5,-0x85,-0x1c4)]([_0x26f978(0x283,0x492,0x3d0,0x519),'openai-chat-completions',_0x199ce4(-0xc,-0xe6,-0xad,-0x15c),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z['string']()['optional'](),'token':z[_0x26f978(0x483,0x22a,0x308,0x468)]()[_0x26f978(0xc5,0x286,0x123,0x20a)](),'defaultModel':z[_0x26f978(0x35c,0x2f3,0x308,0x381)]()[_0x199ce4(-0x15f,-0x23a,-0x14d,-0x266)](),'smallModel':z[_0x199ce4(0x86,0x1c1,-0x3f,-0xa9)]()[_0x199ce4(-0x15f,-0xad,-0x2b9,-0x1ed)](),'currentAuth':z[_0x26f978(0x3ba,0x264,0x308,0x18c)]()[_0x26f978(0x1b7,0x15c,0x123,0x115)](),'auth':z['array'](authMethodSchema)[_0x199ce4(-0x15f,-0x4b,-0x41,-0x28b)](),'surface':chatModelSurfaceSchema[_0x199ce4(-0x15f,-0x91,-0x247,-0xd0)](),'baseUrl':z['string']()[_0x199ce4(-0x15f,-0x25f,-0x2bc,-0x1df)](),'models':modelConfigSchema[_0x26f978(0x269,0x1ae,0x123,0xd3)](),'customHeaders':z[_0x199ce4(0x4f,0x41,0x104,0x14d)](z[_0x26f978(0x3fb,0x3f5,0x308,0x19c)](),z[_0x199ce4(0x86,-0x35,-0xa8,-0x97)]())[_0x26f978(0x1ea,0x1ff,0x123,0x249)]()})[_0x199ce4(-0x5e,0x1b,-0x13c,0xcb)](),mcpServerConfigSchema=z[_0x26f978(0x412,0x538,0x3ee,0x453)]({'command':z['string']()[_0x199ce4(-0x15f,-0x21e,-0x124,-0x299)](),'args':z[_0x199ce4(-0x8c,-0x90,-0x146,-0x9)](z[_0x26f978(0x41e,0x3ee,0x308,0x2ba)]())['optional'](),'env':z[_0x26f978(0x1da,0x32d,0x2d1,0x23c)](z[_0x199ce4(0x86,-0xf5,0x92,0x5f)](),z[_0x26f978(0x3be,0x440,0x308,0x463)]())[_0x199ce4(-0x15f,-0xf7,-0x49,-0x5e)](),'transport':z[_0x26f978(0x2e9,0x331,0x1ca,0x23b)](['stdio',_0x199ce4(0x6b,0x1b1,0x163,0x2b)])[_0x199ce4(-0x15f,-0x161,-0x82,0x1c)](),'url':z[_0x26f978(0x3c8,0x373,0x308,0x45e)]()[_0x26f978(0x74,0x1fc,0x123,-0x2)](),'headers':z['record'](z['string'](),z[_0x199ce4(0x86,-0xb2,0x1bb,0x95)]())['optional'](),'prefix':z[_0x199ce4(0x86,0x33,0x1af,-0x91)]()[_0x199ce4(-0x15f,-0x15c,-0x15,-0x1d5)](),'timeoutMs':z['number']()[_0x199ce4(-0x15f,-0x189,-0xf2,-0x96)](),'enabled':z['boolean']()[_0x199ce4(-0x15f,-0x233,-0x85,-0x26f)](),'auth':z['object']({'type':z[_0x199ce4(-0xb8,-0x9a,-0x38,-0x54)]([_0x26f978(0x1d0,0x16a,0x12e,0xd0),_0x26f978(0x337,0x8d,0x1f9,0x1a9),_0x199ce4(-0x2f,-0xc5,0x15,-0x95)]),'token':z[_0x199ce4(0x86,-0x58,-0xc4,0x135)]()[_0x26f978(0xac,0x1c8,0x123,0x19e)](),'oauth':z[_0x199ce4(0x16c,0x9d,0x167,0x34)]({'clientId':z['string']()[_0x26f978(-0x35,0x210,0x123,0xda)](),'clientMetadataUrl':z['string']()[_0x26f978(0x196,0x1e2,0x123,0x12b)](),'authorizationServer':z[_0x26f978(0x193,0x2ad,0x308,0x1f4)]()['optional'](),'scopes':z['array'](z[_0x199ce4(0x86,-0x96,0x2b,0x3a)]())['optional'](),'tokenStorageKey':z[_0x199ce4(0x86,-0x55,0x1fc,0x164)]()['optional']()})[_0x26f978(0x256,0x22a,0x224,0xe2)]()[_0x199ce4(-0x15f,-0x7,-0x1c2,-0x33)]()})[_0x26f978(0x181,0x305,0x224,0xd5)]()[_0x26f978(0x280,0x140,0x123,0x140)]()})[_0x26f978(0x2b7,0x181,0x224,0x1dc)](),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x199ce4(-0x15f,-0xd4,-0x4f,-0x146)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x199ce4(-0x35,0x88,-0x56,-0x109)]()))[_0x199ce4(-0x15f,-0x5f,-0x1df,-0xa8)](),'defaultTimeoutMs':z[_0x199ce4(0x10a,-0x2f,0x74,0x1b1)]()['optional']()})['passthrough'](),skillsSettingsSchema=z[_0x26f978(0x2a2,0x30c,0x3ee,0x3c1)]({'enabled':z[_0x199ce4(-0x35,-0x128,-0xa2,-0xab)]()[_0x26f978(0x192,0x212,0x123,0x9f)](),'includeDefaults':z[_0x199ce4(-0x35,0xb6,-0x9c,-0x137)]()[_0x26f978(0x200,0x47,0x123,-0x7)](),'directories':z[_0x199ce4(-0x8c,-0x72,0x57,-0x167)](z[_0x26f978(0x190,0x367,0x308,0x1a6)]())[_0x199ce4(-0x15f,-0x114,-0x9e,-0x84)](),'exclude':z[_0x26f978(0x222,0x265,0x1f6,0x12c)](z['string']())['optional']()})[_0x26f978(0x31e,0x16d,0x224,0x1e7)](),commandsSettingsSchema=z['object']({'enabled':z[_0x26f978(0x124,0x24b,0x24d,0x38e)]()[_0x26f978(0x21a,0x119,0x123,0x11f)](),'directories':z[_0x199ce4(-0x8c,0x6d,-0x1b4,-0xeb)](z[_0x199ce4(0x86,0x23,0x64,0x61)]())[_0x199ce4(-0x15f,0x6,-0xf6,-0x241)]()})[_0x199ce4(-0x5e,0xa,-0x1a,0xa7)](),agentsSettingsSchema=z['object']({'enabled':z[_0x26f978(0xda,0x219,0x24d,0x157)]()[_0x199ce4(-0x15f,-0x90,-0x17a,-0xc3)](),'includeDefaults':z[_0x26f978(0x1c8,0x13c,0x24d,0x22a)]()['optional'](),'directories':z['array'](z['string']())['optional']()})[_0x199ce4(-0x5e,-0x21,0xc,-0x1bb)](),uiThemeSettingsSchema=z['object']({'mode':z[_0x26f978(0x27d,0x247,0x1ca,0x1ca)]([_0x199ce4(-0x58,-0x33,-0xfd,-0x101),_0x26f978(0x206,-0x3,0x16b,0x223),_0x26f978(0x3cc,0x397,0x295,0x2a5)])[_0x199ce4(-0x15f,-0xcf,-0x8,-0xf9)](),'colorLevel':z[_0x199ce4(-0xb8,-0x7d,-0x1d,0x65)]([_0x199ce4(-0x58,-0x77,0xdb,-0x18f),_0x26f978(0x179,0x78,0x12e,0x177),_0x199ce4(-0xa8,-0x221,-0x7e,-0xd1),_0x199ce4(0xf8,0xe7,0x212,0x59),_0x199ce4(-0x1f,0x9e,-0x121,0x51)])[_0x199ce4(-0x15f,-0x180,-0x143,-0xab)](),'backgrounds':z['enum']([_0x26f978(0x32b,0x218,0x22a,0x28f),'on',_0x26f978(0x1a0,0x1ce,0x290,0x25b)])['optional'](),'messageStyle':z[_0x199ce4(-0xb8,0xc2,-0x107,-0x48)](['plain',_0x199ce4(-0x92,-0x16e,-0x1bd,-0x3)])[_0x26f978(0xbc,0xf,0x123,0x9f)]()})[_0x199ce4(-0x5e,-0x5b,-0xf6,-0x1d)](),statuslineSegmentSchema=z[_0x199ce4(-0xb8,0x5,0x41,-0x1f7)]([_0x199ce4(-0xdc,0x59,-0x19e,0x12),_0x26f978(0x31e,0x2d7,0x2ea,0x406),_0x199ce4(-0x14e,-0x7a,-0x12c,-0x178),_0x26f978(0x1d9,0x466,0x345,0x2da),_0x26f978(0x1ed,0x3a9,0x23b,0x2f9),_0x26f978(0x33c,0x316,0x277,0x151),_0x199ce4(0x54,0x16a,-0xa4,-0x9d),'requests',_0x199ce4(0x159,0x14,0x17a,0x7f),_0x199ce4(0x12e,0x2a1,0x1e7,0x81),_0x26f978(0x31a,0x382,0x344,0x2c3),_0x199ce4(-0x147,-0x1d7,-0x158,-0x20e),_0x199ce4(-0x13e,-0x20e,-0x35,-0x18f),_0x26f978(0x27d,0x66,0x171,0x29c),_0x199ce4(0x127,0x18d,0x66,0xf)]),statuslineItemSchema=z[_0x199ce4(-0x1b,-0x180,-0x81,0x136)]([statuslineSegmentSchema,z[_0x199ce4(0x3,-0xd,-0x52,0xe7)]('|')]),statuslineRowSchema=z[_0x26f978(0x261,0x1e2,0x1f6,0x370)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z[_0x26f978(0x550,0x554,0x3de,0x46c)]([statuslineRowSchema,statuslineRowSchema])[_0x199ce4(-0x15f,-0x110,-0xad,-0x2ac)]()})[_0x199ce4(-0x5e,0x61,-0x1d7,-0x191)](),memorySettingsSchema=z[_0x199ce4(0x16c,0x2ba,0x15a,0xe5)]({'version':z[_0x26f978(0x259,0x116,0x285,0x3cb)](0x2)[_0x199ce4(-0x15f,-0x185,-0x256,-0x255)](),'retrieval':z[_0x199ce4(0x16c,0x38,0x198,0xc3)]({'engine':z[_0x26f978(0x16c,0x1ed,0x285,0x1b7)]('bm25')[_0x199ce4(-0x15f,-0x1ef,-0x208,-0x1f7)](),'candidateLimit':z['number']()[_0x199ce4(-0x15f,-0x16d,-0x27d,-0x135)](),'activeCandidateLimit':z[_0x26f978(0x3ae,0x2d4,0x38c,0x2bc)]()[_0x199ce4(-0x15f,-0xd1,0xc,-0xc)](),'activeEnabled':z[_0x26f978(0x16d,0x35b,0x24d,0x1ae)]()[_0x199ce4(-0x15f,-0x247,-0xbd,-0x76)](),'maxQueriesPerTurn':z[_0x199ce4(0x10a,0x160,0xa0,0x117)]()[_0x199ce4(-0x15f,-0x2a8,-0x2d9,-0x134)](),'coreInjectTokenBudget':z[_0x199ce4(0x10a,0x18f,-0x50,0x21d)]()[_0x199ce4(-0x15f,-0x19d,-0x1db,-0x28c)](),'injectTokenBudget':z[_0x199ce4(0x10a,-0x35,0x136,0xb8)]()[_0x199ce4(-0x15f,-0x10a,-0xba,-0x18f)](),'minScore':z['number']()[_0x199ce4(-0x15f,-0x289,-0x7c,-0x2ab)](),'freshnessHalfLifeDays':z['number']()['optional']()})['passthrough']()[_0x199ce4(-0x15f,-0x266,-0xcb,-0x25f)](),'extraction':z[_0x199ce4(0x16c,0x1ab,0x10c,0x18f)]({'enabled':z[_0x199ce4(-0x35,0x31,0xc7,0x53)]()[_0x199ce4(-0x15f,-0x180,-0x19c,-0x265)](),'provider':z[_0x26f978(0x27f,0x245,0x308,0x1a5)]()[_0x26f978(0x273,0x5c,0x123,0x231)](),'model':z[_0x199ce4(0x86,0x1d0,-0x4c,0x108)]()['optional'](),'sensitiveFilter':z['boolean']()[_0x26f978(0x15d,0xb3,0x123,0x113)]()})[_0x26f978(0xc5,0x108,0x224,0x2aa)]()['optional'](),'index':z[_0x26f978(0x494,0x537,0x3ee,0x3bc)]({'persisted':z[_0x26f978(0x105,0xec,0x24d,0x388)]()[_0x199ce4(-0x15f,-0x2d9,-0x207,-0x207)](),'flushIntervalMs':z[_0x199ce4(0x10a,0x7f,0x157,0x4)]()[_0x26f978(0x41,0xce,0x123,0x1d5)]()})[_0x26f978(0x149,0x17b,0x224,0xb5)]()[_0x199ce4(-0x15f,-0x193,-0x1be,-0xd6)](),'enabled':z[_0x199ce4(-0x35,-0x139,-0xfc,-0xb3)]()[_0x199ce4(-0x15f,-0xb7,-0x52,-0x67)](),'saveTool':z[_0x26f978(0x311,0x310,0x24d,0x157)]()['optional'](),'model':z[_0x199ce4(0x86,-0x26,0x84,0x4a)]()[_0x199ce4(-0x15f,-0x2ac,-0x6c,-0x2a3)](),'provider':z[_0x199ce4(0x86,0x71,0x9c,0xcd)]()[_0x26f978(-0x30,-0x23,0x123,0xa7)](),'maxInjectionTokens':z[_0x199ce4(0x10a,0x279,0xca,0x10d)]()[_0x26f978(0x58,0x8,0x123,0x209)](),'backgroundExtraction':z[_0x26f978(0x21b,0x21d,0x24d,0xd3)]()[_0x26f978(0x55,0xdb,0x123,0xad)]()})[_0x26f978(0x227,0x2c9,0x224,0x2f9)](),recentModelSchema=z[_0x26f978(0x308,0x41e,0x3ee,0x3d5)]({'provider':z['string'](),'model':z[_0x26f978(0x26e,0x3db,0x308,0x363)](),'usedAt':z['number']()})[_0x26f978(0x2ee,0xa8,0x224,0xd9)](),lspServerEntrySchema=z[_0x199ce4(0x16c,0x1bd,0x2dd,0x0)]({'disabled':z[_0x199ce4(-0x35,-0x141,-0x51,0x138)]()[_0x26f978(0x39,0x274,0x123,0x180)](),'command':z[_0x199ce4(0x86,0xb0,-0xc7,0xb1)]()[_0x26f978(0x13b,-0x3c,0x123,0x95)](),'args':z['array'](z['string']())[_0x199ce4(-0x15f,-0x1fa,-0x13f,-0x2ca)](),'rootMarkers':z[_0x26f978(0x25d,0xf3,0x1f6,0x228)](z[_0x199ce4(0x86,0x14c,0x1bf,-0x38)]())['optional']()})[_0x26f978(0x184,0x2fe,0x224,0x11d)](),lspConfigSchema=z[_0x26f978(0x2c8,0x2c8,0x3ee,0x305)]({'enabled':z['boolean']()[_0x26f978(0x98,0x131,0x123,0x167)](),'servers':z[_0x199ce4(0x4f,0x146,-0x2d,0x18d)](z['string'](),lspServerEntrySchema)[_0x26f978(0x18c,0x146,0x123,0x190)]()})[_0x199ce4(-0x5e,-0xea,0x1a,0x4b)](),serverEndpointSchema=z[_0x26f978(0x4bb,0x292,0x3ee,0x3fb)]({'url':z[_0x199ce4(0x86,0xea,-0x36,-0x59)](),'token':z['string']()[_0x26f978(0xc1,0xb1,0x123,0x1ba)]()})[_0x199ce4(-0x5e,-0x1b6,-0x1ab,0x80)](),commandHookConfigSchema=z['object']({'type':z[_0x199ce4(0x3,-0x7c,0x36,-0x2d)](_0x26f978(0x379,0x456,0x350,0x298)),'command':z[_0x199ce4(0x86,0x98,-0xe1,-0x13)](),'timeout':z[_0x26f978(0x25d,0x42b,0x38c,0x260)]()[_0x26f978(0x1af,0xa7,0x123,0xfb)]()}),hookMatcherGroupSchema=z[_0x26f978(0x2be,0x2f7,0x3ee,0x541)]({'matcher':z[_0x26f978(0x2d3,0x1ee,0x308,0x473)]()[_0x26f978(0x1a5,0x11b,0x123,0x183)](),'hooks':z[_0x26f978(0x2c7,0x1d6,0x1f6,0x175)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x26f978(0x403,0x515,0x3ee,0x491)]({'PreToolUse':z[_0x26f978(0x19e,0x19d,0x1f6,0x103)](hookMatcherGroupSchema)[_0x199ce4(-0x15f,-0x2a,-0x13f,-0x1e0)](),'PostToolUse':z[_0x199ce4(-0x8c,0x38,-0x54,0xda)](hookMatcherGroupSchema)[_0x199ce4(-0x15f,0xc,-0xc2,-0xa)](),'UserPromptSubmit':z['array'](hookMatcherGroupSchema)[_0x199ce4(-0x15f,-0x116,-0x296,-0x1f4)](),'Stop':z[_0x199ce4(-0x8c,0x1e,-0xf,-0x19a)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0x199ce4(-0x8c,-0x5b,-0xd5,-0x71)](hookMatcherGroupSchema)[_0x199ce4(-0x15f,-0x25a,-0x279,-0x97)](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)['optional'](),'SessionStart':z[_0x26f978(0x7c,0xe0,0x1f6,0x2d9)](hookMatcherGroupSchema)[_0x199ce4(-0x15f,-0xa5,-0x254,-0x26)](),'SessionEnd':z[_0x199ce4(-0x8c,-0x160,-0x10,-0x63)](hookMatcherGroupSchema)[_0x26f978(0x1fb,-0x1c,0x123,0xd)]()}),providerNameSchema=z[_0x199ce4(0x86,-0x5b,0xe3,-0x49)]()['min'](0x1,_0x26f978(0xf1,0x332,0x212,0x319))[_0x26f978(0x485,0x2ba,0x3c0,0x41b)](_0x315c43=>!_0x315c43[_0x26f978(0x1e0,0x331,0x2d9,0x364)](':'),'Provider\x20name\x20cannot\x20contain\x20\x27:\x27'),cliConfigSchema=z['object']({'activeProvider':providerNameSchema[_0x26f978(0x22a,0x1a8,0x123,0x173)](),'activeModel':z[_0x26f978(0x31b,0x29d,0x308,0x23f)]()[_0x26f978(0x158,-0x14,0x123,0x12e)](),'apiKey':z[_0x199ce4(0x86,-0xdf,0x0,0xf9)]()['optional'](),'providers':z[_0x26f978(0x16b,0x381,0x2d1,0x3d2)](providerNameSchema,providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0x26f978(-0x9,0x8b,0x123,0x1ed)](),'skills':skillsSettingsSchema[_0x199ce4(-0x15f,-0x1b4,-0x2b5,-0x281)](),'agents':agentsSettingsSchema[_0x199ce4(-0x15f,-0x7f,-0x90,-0xec)](),'commands':commandsSettingsSchema[_0x199ce4(-0x15f,-0x220,-0x27f,-0x2be)](),'skillsEnabled':z[_0x26f978(0x218,0x180,0x2d1,0x244)](z[_0x26f978(0x47b,0x315,0x308,0x2ba)](),z[_0x26f978(0x32c,0x177,0x24d,0x24c)]())[_0x26f978(0x75,0x27b,0x123,0x240)](),'allowedDirs':z[_0x26f978(0x134,0x271,0x1f6,0x2d2)](z['string']())[_0x26f978(0x6,0x291,0x123,-0x9)](),'mcpEnabled':prototypeSafeRecord(z[_0x199ce4(-0x35,0xff,-0x10f,-0x14f)]())[_0x199ce4(-0x15f,-0x18a,-0x96,-0x241)](),'commandsEnabled':z['record'](z[_0x199ce4(0x86,0x14c,0x18,0x1da)](),z['boolean']())['optional'](),'memory':memorySettingsSchema[_0x26f978(-0x35,0x1da,0x123,0x144)](),'session':z[_0x26f978(0x2a0,0x4e1,0x3ee,0x46e)]({'memPersist':z[_0x26f978(0x1b7,0x286,0x24d,0x305)]()[_0x199ce4(-0x15f,-0x10d,-0x12e,-0x7)](),'persistEventLog':z['boolean']()[_0x26f978(0x263,0xc4,0x123,0x260)](),'persistHttpLog':z[_0x199ce4(-0x35,-0x1a8,-0x84,-0x1b)]()['optional']()})[_0x26f978(0x2cf,0x387,0x224,0x2c5)]()[_0x199ce4(-0x15f,-0x5a,-0x16,-0x2ce)](),'requireToolApproval':z[_0x199ce4(-0x35,-0xda,-0xde,0xb5)]()[_0x199ce4(-0x15f,-0x28a,-0x1a9,-0x27d)](),'thinking':z[_0x199ce4(-0xb8,-0x22e,0x4e,-0x1ff)]([_0x199ce4(0x5,-0x148,-0x72,0xd1),_0x26f978(0x1e3,0x2d5,0x30b,0x27d),'MEDIUM',_0x199ce4(0x2f,0xc4,0x123,0xf5)])[_0x26f978(0x221,0xbc,0x123,0xf4)](),'streamingChunks':z[_0x199ce4(-0x35,-0x10b,-0xa5,0xc1)]()[_0x199ce4(-0x15f,-0x87,-0x23b,-0x75)](),'agentsEnabled':z[_0x199ce4(0x4f,0x12e,-0x48,-0xe5)](z[_0x26f978(0x271,0x462,0x308,0x3d8)](),z[_0x26f978(0x29d,0x3aa,0x24d,0x396)]())[_0x199ce4(-0x15f,-0x28,-0x28,-0x2a3)](),'recentModels':z[_0x26f978(0x1a1,0x2a4,0x1f6,0x33e)](recentModelSchema)[_0x26f978(0x145,0x132,0x123,-0x51)](),'lsp':lspConfigSchema[_0x199ce4(-0x15f,-0x19f,-0x146,-0x10a)](),'servers':z[_0x199ce4(0x4f,0x123,0xda,0x19f)](z[_0x26f978(0x2e5,0x3e0,0x308,0x3e1)](),serverEndpointSchema)[_0x26f978(0x260,0x1df,0x123,0x47)](),'ui':z[_0x199ce4(0x16c,0x261,0x30,0x13e)]({'theme':uiThemeSettingsSchema[_0x26f978(-0x37,0xcc,0x123,-0x4d)](),'statusline':statuslineConfigSchema[_0x26f978(0x13e,0x190,0x123,0x194)]()})[_0x26f978(0x216,0x1ba,0x224,0x169)]()[_0x26f978(-0x2b,-0x49,0x123,-0x55)](),'tools':z[_0x26f978(0x25f,0x301,0x2d1,0x26d)](z[_0x199ce4(0x86,0x18c,0xfb,0x15a)](),z['unknown']())[_0x26f978(0x222,0x8f,0x123,0xbd)](),'hooks':hooksConfigSchema[_0x26f978(0x1c,0x21c,0x123,0x1b5)]()})[_0x26f978(0xec,0x13c,0x224,0x30b)](),workspaceOverlaySchema=z[_0x26f978(0x3fa,0x4e4,0x3ee,0x297)]({'root':z['string']()[_0x26f978(0xe2,0x131,0x123,0x225)](),'allowedDirs':z[_0x199ce4(-0x8c,-0x102,-0xcd,0x4a)](z[_0x26f978(0x1bd,0x33f,0x308,0x32f)]())[_0x26f978(0x98,0x50,0x123,0x1d4)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x26f978(0x2a6,0x293,0x308,0x230)]()['optional'](),'mcp':mcpSettingsSchema[_0x26f978(0x6c,0xe3,0x123,0xe)](),'skills':skillsSettingsSchema[_0x199ce4(-0x15f,-0x173,-0x162,-0x2d8)](),'agents':agentsSettingsSchema[_0x199ce4(-0x15f,-0xff,-0x270,-0x138)](),'commands':commandsSettingsSchema[_0x26f978(0x23b,0x1fa,0x123,-0x10)](),'hooks':hooksConfigSchema[_0x26f978(0x105,0x272,0x123,0x217)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x26f978(0x2f0,0x2c1,0x24d,0x3be)]())[_0x26f978(0x228,0x9e,0x123,0x10f)](),'skillsEnabled':z['record'](z[_0x199ce4(0x86,0x86,0x5c,-0xf2)](),z['boolean']())[_0x26f978(0x29,0x29a,0x123,0xb9)](),'agentsEnabled':z[_0x199ce4(0x4f,0x55,0x148,-0xb)](z[_0x26f978(0x3d3,0x367,0x308,0x2b4)](),z['boolean']())[_0x26f978(0x1b7,0x15f,0x123,0xcd)](),'commandsEnabled':z['record'](z[_0x26f978(0x215,0x2f7,0x308,0x227)](),z['boolean']())[_0x199ce4(-0x15f,-0x83,-0x2a3,-0x270)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x26f978(0x209,0xa,0x15b,0xfe)](Object[_0x199ce4(0xe1,0x22e,-0x77,0x6b)]),'prototype']);function buildDescription(_0x3e761c){const _0x46b9af={_0x1750b9:0x2d1,_0x2cacc6:0x2a0,_0x2af0e9:0x279,_0x2382dc:0x1d1,_0x2b7f12:0x5c2,_0x2fbc4c:0x4c3,_0x4255fa:0x47f,_0x1151be:0x380,_0xd73ca7:0x162,_0x4283fb:0x564,_0x2fdc73:0x655,_0x55558b:0x1f,_0x437d30:0xb9,_0x3d7196:0x10,_0x385382:0xc3,_0x2c13e2:0x17b,_0x2c9e9d:0x27,_0x1e076e:0xc9},_0x3df343={_0x399347:0xde,_0x35da15:0x4c};if(_0x3e761c['length']===0x0)return[_0x513e24(_0x46b9af._0x1750b9,_0x46b9af._0x2cacc6,_0x46b9af._0x2af0e9,_0x46b9af._0x2382dc),_0x513e24(0x564,_0x46b9af._0x2b7f12,0x4bc,0x464),_0x513e24(0x36a,0x4ce,_0x46b9af._0x2fbc4c,0x251)][_0x513e24(0x3b5,_0x46b9af._0x4255fa,0x428,0x3fe)]('\x0a');const _0x1af1e0=[_0x513e24(_0x46b9af._0x1750b9,_0x46b9af._0x1151be,0x3c7,_0x46b9af._0xd73ca7),_0x513e24(_0x46b9af._0x4283fb,0x6c8,0x644,_0x46b9af._0x2fdc73),_0x3b1dd4(-0x8a,_0x46b9af._0x55558b,-_0x46b9af._0x437d30,_0x46b9af._0x3d7196),..._0x3e761c[_0x3b1dd4(_0x46b9af._0x385382,-0xb0,0x62,_0x46b9af._0x2c13e2)](_0x4ad521=>_0x4ad521[_0x513e24(0x503,0x464,0x438,0x577)]?'-\x20'+_0x4ad521[_0x513e24(0x343,0x2d4,0x2a0,0x4a5)]+'\x20'+_0x4ad521[_0x513e24(0x503,0x4c7,0x393,0x402)]+':\x20'+_0x4ad521[_0x513e24(0x3c8,0x26f,0x32c,0x4d0)]:'-\x20'+_0x4ad521['name']+':\x20'+_0x4ad521['description'])];function _0x3b1dd4(_0xf64618,_0x16e96a,_0x653285,_0x48cd78){return _0x26f978(_0xf64618-0x1c,_0x16e96a-0x109,_0x653285- -0x20d,_0x16e96a);}function _0x513e24(_0x2a38fe,_0x1e4a76,_0x392de2,_0x3dbed5){return _0x199ce4(_0x2a38fe-0x403,_0x1e4a76-_0x3df343._0x399347,_0x392de2,_0x3dbed5-_0x3df343._0x35da15);}return _0x1af1e0[_0x3b1dd4(-0x74,-0xd7,_0x46b9af._0x2c9e9d,_0x46b9af._0x1e076e)]('\x0a');}function createInvokeCommandTool(_0x305564){const _0x161b6c={_0x58ccbf:0x3f2,_0x4724fc:0x2c3,_0x55c276:0x9d,_0x6b117d:0x1b9,_0x4ba51a:0x11b,_0x529d6c:0x378,_0x1fcfc7:0x330,_0x47f656:0x321,_0x8be54a:0x257,_0x47993e:0x513,_0xd7d94c:0x4b4,_0xbe42bb:0x9b,_0x291a60:0x110,_0x4dcd8b:0x4e},_0x40751a={_0x177023:0x731,_0x33ab58:0x505,_0x1f4da5:0x150,_0x5138c7:0x1c,_0x56e66b:0x53c,_0x47fabc:0x346,_0x5da57a:0x48d,_0x184f28:0x457,_0x3fc874:0x2e,_0x488421:0x49,_0x13e773:0xa4,_0xef4cc9:0x3d,_0x571bea:0x68,_0x4de2cd:0x57,_0x1e4742:0x9c,_0x243d89:0x44a,_0x16fece:0x3af},_0x41b27e={_0x2d80d9:0x1ee},_0x3fab45={_0xd96cc2:0x140,_0x13a144:0xdc},_0x53d4fe={_0x5b5fe7:0x1a7,_0x149221:0x20b},_0x438817=new Map(_0x305564[_0x122bd1(0x53c,_0x161b6c._0x58ccbf,0x3b0,_0x161b6c._0x4724fc)][_0xca3a35(0x292,0xbe,_0x161b6c._0x55c276,0x1a3)](_0x168fa5=>[_0x168fa5['id'],_0x168fa5])),_0x10c132=buildDescription(_0x305564[_0xca3a35(0x180,0x1f,_0x161b6c._0x6b117d,_0x161b6c._0x4ba51a)]);function _0xca3a35(_0x12c0d7,_0x932232,_0x50c4b7,_0x16de36){return _0x199ce4(_0x16de36-0x1b6,_0x932232-0x17e,_0x12c0d7,_0x16de36-0x1cd);}function _0x122bd1(_0x24f152,_0x24854a,_0x3e99dd,_0x2defa8){return _0x26f978(_0x24f152-_0x53d4fe._0x5b5fe7,_0x24854a-0x9a,_0x24854a-_0x53d4fe._0x149221,_0x2defa8);}return defineTool({'name':_0x122bd1(_0x161b6c._0x529d6c,_0x161b6c._0x1fcfc7,0x21d,_0x161b6c._0x47f656),'description':_0x10c132,'inputSchema':{'type':_0xca3a35(0x26c,_0x161b6c._0x8be54a,0x32c,0x322),'properties':{'name':{'type':_0x122bd1(0x429,_0x161b6c._0x47993e,0x4fa,_0x161b6c._0xd7d94c)},'args':{'type':_0xca3a35(0x13f,0x208,0x197,0x23c)}},'required':[_0xca3a35(_0x161b6c._0xbe42bb,_0x161b6c._0x291a60,_0x161b6c._0x4dcd8b,0xf6)]},async *'execute'(_0x1d6d72){const _0x372eec=_0x438817['get'](_0x1d6d72[_0x12ea31(0x316,0x387,0x33c,0x457)]);if(!_0x372eec){const _0x3e2823=Array[_0x12ea31(_0x40751a._0x177023,0x703,_0x40751a._0x33ab58,0x639)](_0x438817[_0x10d3ef(-_0x40751a._0x1f4da5,_0x40751a._0x5138c7,-0x1c6,-0x70)]())['join'](',\x20');throw new ToolExecutionError(_0x10d3ef(-0xef,-0x24,-0x177,-0x184)+_0x1d6d72[_0x12ea31(_0x40751a._0x56e66b,_0x40751a._0x47fabc,_0x40751a._0x5da57a,_0x40751a._0x184f28)]+_0x10d3ef(0x64,_0x40751a._0x3fc874,0x34,-0xe5)+_0x3e2823,{'name':_0x1d6d72[_0x10d3ef(-0x1c5,-_0x40751a._0x488421,-_0x40751a._0x13e773,-0x231)]});}const _0xc2ec97=await _0x305564['loadCommand'](_0x372eec),_0x5477e9=_0x1d6d72[_0x10d3ef(_0x40751a._0xef4cc9,-_0x40751a._0x571bea,-_0x40751a._0x4de2cd,_0x40751a._0x1e4742)]??'',_0xb4b6fe=renderCommandInstructions({'instructions':_0xc2ec97['instructions'],'argumentsText':_0x5477e9,'argumentNames':_0xc2ec97[_0x12ea31(0x393,0x441,0x365,0x3a1)]});function _0x10d3ef(_0x376678,_0x49f582,_0x22d924,_0x1e6c96){return _0xca3a35(_0x22d924,_0x49f582-_0x3fab45._0xd96cc2,_0x22d924-_0x3fab45._0x13a144,_0x376678- -0x2bb);}yield createToolOutput(_0xb4b6fe,{'id':_0xc2ec97['id'],'name':_0xc2ec97['name'],'path':_0x372eec[_0x10d3ef(-0x8f,0xbd,-0x154,-0x4d)][_0x12ea31(_0x40751a._0x243d89,_0x40751a._0x16fece,0x56e,0x3f3)]});function _0x12ea31(_0x1f7522,_0x2a88ae,_0x2ee22d,_0x39169a){return _0x122bd1(_0x1f7522-0x44,_0x39169a-0x8a,_0x2ee22d-_0x41b27e._0x2d80d9,_0x2a88ae);}return void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x44beaf,rename as _0x4b836c,stat as _0x31b590,writeFile as _0x459dad}from'fs/promises';import*as _0x47c7f9 from'path';function detectEol(_0x3c67a9){const _0x3a0e87={_0x1ff6d1:0x1be,_0x9ca54a:0x24,_0x3bac2a:0xb3,_0x77a352:0x10e,_0x4cfaa8:0x465,_0x1d5fa4:0x2ed},_0x42c7da={_0x4209bb:0x77,_0x4fc122:0x1e6,_0x10308f:0x107},_0x17514b={_0xc9394d:0x80,_0xee4039:0x1b6};function _0x16d2dc(_0x249e83,_0x5d4b52,_0x487912,_0x501977){return _0x26f978(_0x249e83-0xfe,_0x5d4b52-_0x17514b._0xc9394d,_0x501977- -_0x17514b._0xee4039,_0x487912);}function _0x30d9d2(_0x5a4e32,_0x1c9661,_0x30f00f,_0x3a51a9){return _0x26f978(_0x5a4e32-_0x42c7da._0x4209bb,_0x1c9661-_0x42c7da._0x4fc122,_0x30f00f- -_0x42c7da._0x10308f,_0x5a4e32);}return/\r\n/[_0x30d9d2(0x200,0x28f,0x1b3,_0x3a0e87._0x1ff6d1)](_0x3c67a9[_0x16d2dc(0x68,-_0x3a0e87._0x9ca54a,-0x9d,_0x3a0e87._0x3bac2a)](_0x16d2dc(0x266,0x222,-0x50,_0x3a0e87._0x77a352)))?_0x30d9d2(_0x3a0e87._0x4cfaa8,0x469,_0x3a0e87._0x1d5fa4,0x2e5):'lf';}function normalizeToLf(_0x305596){const _0x1ac341={_0x47cb84:0xe2},_0x18f569={_0x1ccab0:0x18c,_0x36ee82:0x1c6};function _0x5da73c(_0x4efa50,_0x468713,_0x598565,_0xdcb13d){return _0x26f978(_0x4efa50-_0x18f569._0x1ccab0,_0x468713-_0x18f569._0x36ee82,_0x468713- -0x37f,_0xdcb13d);}return _0x305596[_0x5da73c(-0xb,-_0x1ac341._0x47cb84,-0x184,-0x94)](/\r\n/g,'\x0a');}function convertEol(_0x52130c,_0x4ec257){const _0x1b6681={_0x1a2eef:0x70,_0x36e1dd:0x192,_0xc53952:0x197},_0x510a68={_0x2756c1:0xa2,_0x2f28f1:0x161};function _0xd267af(_0x49d29d,_0x730525,_0x1e1c6e,_0x4677d0){return _0x199ce4(_0x49d29d- -_0x510a68._0x2756c1,_0x730525-0xcc,_0x4677d0,_0x4677d0-_0x510a68._0x2f28f1);}return _0x4ec257===_0xd267af(0xd0,_0x1b6681._0x1a2eef,_0x1b6681._0x36e1dd,_0x1b6681._0xc53952)?_0x52130c['replace'](/\n/g,'\x0d\x0a'):_0x52130c;}async function atomicWrite(_0x5da9fd,_0x5aba30){const _0x5a864e={_0x182daf:0x4e2,_0x47e3d7:0x3e1,_0x112ee3:0x1ef,_0x52df46:0x29a,_0x5d8fbc:0x1ce,_0x1022bf:0x21a,_0x4f8830:0x235,_0x419576:0x2cf,_0x12feae:0x32c,_0x521817:0x21c},_0x56d75d={_0x1f4b17:0x14,_0x2b9117:0x66},_0x5816ea={_0x17df97:0x140};function _0x4bc48b(_0x888fc5,_0x21143e,_0x48488d,_0x119fab){return _0x199ce4(_0x48488d-0x15c,_0x21143e-_0x5816ea._0x17df97,_0x21143e,_0x119fab-0x1e9);}const _0x16b3a0=_0x47c7f9[_0x50c12c(_0x5a864e._0x182daf,_0x5a864e._0x47e3d7,0x46c,0x460)](_0x5da9fd),_0x45695f=_0x47c7f9[_0x50c12c(_0x5a864e._0x112ee3,_0x5a864e._0x52df46,0x322,0x2b6)](_0x16b3a0,_0x4bc48b(0x3af,_0x5a864e._0x5d8fbc,0x247,0x232)+_0x47c7f9[_0x50c12c(0x1ba,0x2f3,0x2ef,0x23c)](_0x5da9fd)+'.'+Date['now']()+'.'+Math[_0x4bc48b(0x32e,0x313,_0x5a864e._0x1022bf,_0x5a864e._0x4f8830)]()[_0x50c12c(0x2e1,_0x5a864e._0x419576,0x439,_0x5a864e._0x12feae)](0x24)[_0x4bc48b(0x157,_0x5a864e._0x521817,0x16d,0xc3)](0x2));function _0x50c12c(_0x38a812,_0x1dd577,_0x16b786,_0x344e09){return _0x26f978(_0x38a812-_0x56d75d._0x1f4b17,_0x1dd577-0xea,_0x1dd577-_0x56d75d._0x2b9117,_0x344e09);}await _0x459dad(_0x45695f,_0x5aba30),await _0x4b836c(_0x45695f,_0x5da9fd);}function sha256(_0x28f0fa){const _0x1a1232={_0x4c75cd:0x643,_0xfa2df0:0x4ec,_0x5438c3:0x57f},_0x495ed5={_0x372b93:0x59c},_0x131fd9={_0x5a7ae7:0x355};function _0x2a748c(_0x5f51d2,_0x1c8978,_0x577dd3,_0x2b7765){return _0x26f978(_0x5f51d2-0xf,_0x1c8978-0x117,_0x2b7765- -_0x131fd9._0x5a7ae7,_0x577dd3);}function _0x3adb61(_0x37b769,_0x5ebbe0,_0x274484,_0x1f8876){return _0x199ce4(_0x5ebbe0-_0x495ed5._0x372b93,_0x5ebbe0-0x1ca,_0x1f8876,_0x1f8876-0x1d0);}return createHash(_0x3adb61(0x727,0x643,0x690,_0x1a1232._0x4c75cd))['update'](_0x28f0fa)[_0x2a748c(-0xba,-0x118,0x27,0x8)](_0x3adb61(0x3c9,_0x1a1232._0xfa2df0,_0x1a1232._0x5438c3,0x546));}function countLines(_0xaae927){const _0x4705f0={_0x129890:0x7c,_0x135ae6:0x3dc,_0x5c5c5e:0x461,_0x41fdda:0x92,_0x564f6b:0x14d,_0x2823a4:0x63,_0x3aaccf:0x4f1,_0x49a15b:0x435},_0xf337ad={_0x210778:0x121,_0x2250e3:0x76},_0x691fb0=_0xaae927[_0x19f118(_0x4705f0._0x129890,-0x18e,-0xc1,-0xe4)](/\n$/,'');function _0x19f118(_0x5708dd,_0x263497,_0x3e98e6,_0x1ed69a){return _0x26f978(_0x5708dd-_0xf337ad._0x210778,_0x263497-_0xf337ad._0x2250e3,_0x1ed69a- -0x381,_0x5708dd);}function _0x3e739a(_0x4fe5e3,_0x45b052,_0x263835,_0x21eb95){return _0x26f978(_0x4fe5e3-0xbd,_0x45b052-0xeb,_0x263835-0x21b,_0x4fe5e3);}return _0x691fb0[_0x3e739a(0x53d,_0x4705f0._0x135ae6,_0x4705f0._0x5c5c5e,0x3e0)]===0x0?0x0:_0x691fb0[_0x19f118(-_0x4705f0._0x41fdda,0x80,_0x4705f0._0x564f6b,_0x4705f0._0x2823a4)]('\x0a')[_0x3e739a(_0x4705f0._0x3aaccf,_0x4705f0._0x49a15b,_0x4705f0._0x5c5c5e,0x46b)];}function calculateLineNumbers(_0x119ca2,_0x523413,_0x576ea9,_0x276b56){const _0x344768={_0x307aca:0x4ab,_0x5610e6:0x4f1,_0x4fa116:0x4b1,_0x3d6d7a:0x3dc},_0x2b2d2a={_0x133e28:0x1e0},_0x1d2c30={_0x51c25c:0x13f,_0x4f4eef:0x100},_0x1a0ee6=_0x119ca2[_0xeedd86(0x568,_0x344768._0x307aca,_0x344768._0x5610e6,_0x344768._0x4fa116)](0x0,_0x276b56)['split']('\x0a')[_0xeedd86(_0x344768._0x3d6d7a,0x45e,0x581,0x399)];function _0x29c967(_0x1bd46a,_0x1e8b08,_0x147ec3,_0x5973be){return _0x26f978(_0x1bd46a-_0x1d2c30._0x51c25c,_0x1e8b08-0xa5,_0x1bd46a- -_0x1d2c30._0x4f4eef,_0x147ec3);}const _0x24894b=countLines(_0x523413),_0x594559=countLines(_0x576ea9);function _0xeedd86(_0x3af2b2,_0x4a40b1,_0xe07968,_0x8be935){return _0x26f978(_0x3af2b2-0x153,_0x4a40b1-_0x2b2d2a._0x133e28,_0x4a40b1-0x218,_0x3af2b2);}return{'oldStartLine':_0x1a0ee6,'oldEndLine':_0x1a0ee6+_0x24894b-0x1,'newStartLine':_0x1a0ee6,'newEndLine':_0x1a0ee6+_0x594559-0x1,'oldLineCount':_0x24894b,'newLineCount':_0x594559};}function createFileEditTool(_0x122ba6={}){const _0x51466e={_0x23ec13:0x46,_0x3c6bb2:0x18c,_0x4cb446:0x1e,_0x52ada8:0x125,_0x245f26:0x725,_0x10f350:0x41f,_0x9cc20:0x56b,_0x37002c:0x66c,_0xc308bf:0x7da,_0x5cb060:0x822,_0x3acba2:0xfd,_0x5999d6:0x680,_0x3b209b:0x549,_0x1a66e0:0x620,_0x5a97f3:0x30,_0x9bd6ab:0x22f,_0x3ad485:0x14f,_0x16226c:0x20c,_0xce3596:0x11,_0x1ea1b1:0x1c2,_0x1320ac:0xc9},_0x31e2b4={_0xb4ceec:0xea,_0x39f8a4:0x143,_0x409e15:0x136,_0x46812c:0x18b,_0x18ec01:0x2c2,_0x5132df:0x174,_0x59ef70:0x1a8,_0x54b257:0x558,_0x4e1320:0x43c,_0x4381ae:0x560,_0x107b23:0x4eb,_0x23952a:0x53b,_0x182946:0x1bf,_0x3e0fcb:0x361,_0x2f2df1:0x2d5,_0x116de5:0x171,_0xc05a24:0x52,_0x47cc43:0x3be,_0x2ef434:0x49f,_0x37e09b:0x51c,_0x3e6984:0x65f,_0x46ca40:0x348,_0x27970b:0x43c,_0x4a38fc:0x281,_0x1ef217:0x368,_0x32ee5c:0x3f3,_0x6dc8a4:0x386,_0x286dd9:0x21,_0x42e663:0x1bc,_0x41cabe:0x21e,_0x2a9186:0x475,_0x40d6e4:0x369,_0xbeeca1:0x2f9,_0x504e61:0x319,_0x2f74f9:0x350,_0x44d235:0x4b8,_0xac633f:0x2c8,_0x224638:0x33d,_0x251fcf:0x3b1,_0x1becf3:0x263,_0x3722c1:0x168,_0x119e77:0x86,_0x11b072:0x14d,_0x488d62:0x197,_0x30722e:0xd,_0x14eb10:0x207},_0x54974f={_0x408f2b:0x7c,_0x16dabb:0x3ec},_0x973667=_0x47c7f9['resolve'](_0x122ba6[_0x3cc4f3(-_0x51466e._0x23ec13,-_0x51466e._0x3c6bb2,-_0x51466e._0x4cb446,-_0x51466e._0x52ada8)]??process['cwd']());function _0x3cc4f3(_0x319414,_0x1262a6,_0x2f1d63,_0x2a531a){return _0x26f978(_0x319414-0xb3,_0x1262a6-0x5b,_0x2a531a- -0x31f,_0x1262a6);}const _0x5c6941=_0x122ba6[_0x4587ed(0x852,0x67d,_0x51466e._0x245f26,0x75c)]??[],_0x2c0823=_0x122ba6['name']??_0x4587ed(0x666,_0x51466e._0x10f350,_0x51466e._0x9cc20,0x62f);function _0x4587ed(_0x4a83fc,_0x6b1675,_0x3a1f12,_0x45db28){return _0x26f978(_0x4a83fc-0xd,_0x6b1675-_0x54974f._0x408f2b,_0x3a1f12-_0x54974f._0x16dabb,_0x6b1675);}return defineTool({'name':_0x2c0823,'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x4587ed(0x7d8,_0x51466e._0x37002c,_0x51466e._0xc308bf,_0x51466e._0x5cb060),'properties':{'filePath':{'type':'string'},'description':{'type':'string','description':_0x3cc4f3(-0x72,-0x17b,-_0x51466e._0x3acba2,-0x1c6)},'oldText':{'type':'string'},'newText':{'type':_0x4587ed(_0x51466e._0x5999d6,0x63f,0x6f4,0x7bb)},'dryRun':{'type':_0x4587ed(0x6ee,_0x51466e._0x3b209b,0x639,_0x51466e._0x1a66e0)}},'required':[_0x3cc4f3(-_0x51466e._0x5a97f3,-_0x51466e._0x9bd6ab,-_0x51466e._0x3ad485,-0x157),_0x3cc4f3(_0x51466e._0x16226c,_0x51466e._0xce3596,_0x51466e._0x1ea1b1,_0x51466e._0x1320ac),'newText']},async *'execute'(_0x567aa5){const _0x183210={_0x1dd382:0x3e,_0x4faf5b:0x125},_0x36e8e4={_0x4525d3:0xe3,_0x343270:0x16a},_0x20181f=resolveAllowedPath(_0x973667,_0x5c6941,_0x567aa5[_0x84cfee(_0x31e2b4._0xb4ceec,_0x31e2b4._0x39f8a4,_0x31e2b4._0x409e15,0x1a)]);await assertWorkspaceFile(_0x20181f);const _0x1a80b9=await _0x31b590(_0x20181f),_0x1cc7e7=await _0x44beaf(_0x20181f),_0x5d0e7d=detectEol(_0x1cc7e7);function _0x84cfee(_0xe880eb,_0xc16276,_0x4a0c0a,_0x36dbb2){return _0x4587ed(_0xe880eb-_0x36e8e4._0x4525d3,_0x36dbb2,_0xe880eb- -0x4ca,_0x36dbb2-_0x36e8e4._0x343270);}const _0x1ae0cf=normalizeToLf(_0x1cc7e7[_0x84cfee(_0x31e2b4._0x46812c,_0x31e2b4._0x18ec01,_0x31e2b4._0x5132df,_0x31e2b4._0x59ef70)](_0xb7b495(_0x31e2b4._0x54b257,_0x31e2b4._0x4e1320,0x3c6,0x5b6))),_0x14050a=normalizeToLf(_0x567aa5[_0xb7b495(0x534,_0x31e2b4._0x4381ae,_0x31e2b4._0x107b23,_0x31e2b4._0x23952a)]),_0x3e7ebe=normalizeToLf(_0x567aa5['newText']),_0x4de9d6=_0x1ae0cf['indexOf'](_0x14050a);function _0xb7b495(_0x1a4b84,_0xc8f450,_0x3393fe,_0x33a5aa){return _0x4587ed(_0x1a4b84-_0x183210._0x1dd382,_0x3393fe,_0xc8f450- -0x274,_0x33a5aa-_0x183210._0x4faf5b);}if(_0x4de9d6===-0x1){const _0x46590f=_0x14050a[_0x84cfee(0x1b5,0xb7,0xc0,0xac)](0x0,0x64)[_0x84cfee(_0x31e2b4._0x182946,0xe1,0x2fe,0x24c)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xb7b495(_0x31e2b4._0x3e0fcb,0x3a0,0x249,_0x31e2b4._0x2f2df1)+_0x46590f+(_0x14050a['length']>0x64?_0x84cfee(0xe2,0x1af,0xc5,0x2a):'')+'\x22',{'filePath':_0x567aa5['filePath']});}const _0x36f68f=_0x1ae0cf['slice'](0x0,_0x4de9d6)+_0x3e7ebe+_0x1ae0cf[_0x84cfee(0x1b5,_0x31e2b4._0x116de5,_0x31e2b4._0xc05a24,0x225)](_0x4de9d6+_0x14050a[_0xb7b495(0x326,_0x31e2b4._0x47cc43,_0x31e2b4._0x2ef434,0x33d)]),_0x7c3b32=convertEol(_0x36f68f,_0x5d0e7d),_0x203f47=Buffer[_0xb7b495(0x3a5,_0x31e2b4._0x37e09b,0x545,_0x31e2b4._0x3e6984)](_0x7c3b32,_0xb7b495(_0x31e2b4._0x46ca40,_0x31e2b4._0x27970b,0x536,0x312)),_0x4494d6=sha256(_0x1cc7e7),_0x52f29d=sha256(_0x203f47),_0x208eb5=_0x4494d6===_0x52f29d,_0x20cacb=_0x567aa5['dryRun']??![];return!_0x20cacb&&!_0x208eb5&&await atomicWrite(_0x20181f,_0x203f47),yield createToolOutput(_0x208eb5?_0x84cfee(0x255,0x1e6,0x2bb,0x2fb):_0x20cacb?_0x84cfee(0x250,0x3bf,0x22f,0x31a):_0x84cfee(_0x31e2b4._0x4a38fc,_0x31e2b4._0x1ef217,_0x31e2b4._0x32ee5c,_0x31e2b4._0x6dc8a4),{'filePath':_0x567aa5[_0x84cfee(0xea,0x10c,_0x31e2b4._0x286dd9,_0x31e2b4._0x42e663)],'resolvedPath':_0x20181f,'created':_0x1a80b9[_0x84cfee(0x31b,_0x31e2b4._0x41cabe,_0x31e2b4._0x2a9186,0x3bf)][_0xb7b495(0x3a0,_0x31e2b4._0x40d6e4,0x40f,0x268)](),'modified':_0x1a80b9[_0x84cfee(_0x31e2b4._0xbeeca1,_0x31e2b4._0x504e61,_0x31e2b4._0x2f74f9,0x2b7)][_0xb7b495(_0x31e2b4._0x44d235,_0x31e2b4._0x40d6e4,_0x31e2b4._0xac633f,0x3a2)](),'size':_0x1a80b9[_0xb7b495(0x382,_0x31e2b4._0x224638,_0x31e2b4._0x251fcf,_0x31e2b4._0x1becf3)],'eol':_0x5d0e7d,'oldTextLength':_0x14050a[_0x84cfee(_0x31e2b4._0x3722c1,_0x31e2b4._0x119e77,_0x31e2b4._0x11b072,_0x31e2b4._0x488d62)],'newTextLength':_0x3e7ebe[_0x84cfee(0x168,_0x31e2b4._0x30722e,0x2c2,0xbc)],'bytesWritten':_0x208eb5||_0x20cacb?0x0:_0x203f47[_0x84cfee(0x168,0x1c4,_0x31e2b4._0x14eb10,0x3d)],'beforeSha':_0x4494d6,'afterSha':_0x52f29d,'dryRun':_0x20cacb,'noChange':_0x208eb5,'lineNumbers':calculateLineNumbers(_0x1ae0cf,_0x14050a,_0x3e7ebe,_0x4de9d6)}),void 0x0;}});}import{mkdir as _0x9f6ab1,rename as _0x286357,stat as _0x46c8de,writeFile as _0x401dcb}from'fs/promises';import*as _0x1209a7 from'path';async function atomicWrite2(_0x373e1e,_0x2074af){const _0x19b0e2={_0x336f5b:0x5ff,_0x30fd5e:0x53f,_0x56ca18:0x749,_0x270a0e:0x152,_0x4cae5b:0x111,_0x105f7f:0x6df,_0x1167b9:0x731,_0x131615:0x413,_0x4c37d5:0x236,_0x8efc94:0x3b,_0x44a4c2:0x15a,_0x1ec21c:0x5c4,_0x35adaa:0x44a,_0x2e7899:0x106,_0x4c8f90:0x241,_0x45e54d:0x517,_0x2b1441:0x5b0,_0x49d4ac:0x569},_0x53d199={_0x57c273:0x25a,_0x17975c:0xc7},_0x3db441={_0x4fe3b8:0x284},_0x5afad0=_0x1209a7[_0x50d98b(_0x19b0e2._0x336f5b,0x656,_0x19b0e2._0x30fd5e,_0x19b0e2._0x56ca18)](_0x373e1e);await _0x9f6ab1(_0x5afad0,{'recursive':!![]});function _0x50d98b(_0x19dcda,_0x2a59b6,_0x11dc0a,_0x1a6785){return _0x26f978(_0x19dcda-0x188,_0x2a59b6-0x14a,_0x19dcda-_0x3db441._0x4fe3b8,_0x2a59b6);}const _0x4aeba2=_0x1209a7[_0x4dbdcd(_0x19b0e2._0x270a0e,_0x19b0e2._0x4cae5b,0x2bd,0x20c)](_0x5afad0,_0x50d98b(0x5f1,0x761,_0x19b0e2._0x105f7f,_0x19b0e2._0x1167b9)+_0x1209a7[_0x50d98b(0x511,0x549,0x43d,_0x19b0e2._0x131615)](_0x373e1e)+'.'+Date[_0x4dbdcd(0x15a,_0x19b0e2._0x4c37d5,_0x19b0e2._0x8efc94,_0x19b0e2._0x44a4c2)]()+'.'+Math[_0x50d98b(_0x19b0e2._0x1ec21c,0x5b5,_0x19b0e2._0x35adaa,0x5d0)]()[_0x4dbdcd(0x2f0,_0x19b0e2._0x2e7899,0x305,_0x19b0e2._0x4c8f90)](0x24)[_0x50d98b(_0x19b0e2._0x45e54d,_0x19b0e2._0x2b1441,_0x19b0e2._0x49d4ac,0x3a4)](0x2));function _0x4dbdcd(_0x8d17f9,_0xf37e23,_0x29cff9,_0x35bfa5){return _0x199ce4(_0x35bfa5-_0x53d199._0x57c273,_0xf37e23-0x130,_0x29cff9,_0x35bfa5-_0x53d199._0x17975c);}await _0x401dcb(_0x4aeba2,_0x2074af),await _0x286357(_0x4aeba2,_0x373e1e);}function createFileNewTool(_0x478be1={}){const _0x24542a={_0x10c00c:0xdb,_0x284214:0x2b2,_0x56bf66:0x40e,_0x437a80:0x1fc,_0x4a1b20:0x2c9,_0x16f6a0:0x2d9,_0x22c583:0x242,_0x2af927:0x168,_0x12a35f:0x2eb,_0x2e2311:0x4d,_0x3ad4c4:0xcc},_0x25bb55={_0x4aae6d:0x391,_0x1ff383:0x251,_0xee102f:0x362,_0x5a25d5:0x4a7,_0x2e15ce:0x558,_0x239ab2:0x5af,_0x58834f:0x35b,_0xf2ae7f:0x42d,_0x19fa17:0x51b,_0x50c47a:0x314,_0x270c21:0x36a,_0x3598bc:0x2aa,_0x476a12:0x67a,_0x2941ee:0x1a5,_0x3245fe:0x128,_0x3b23aa:0x175,_0x5e816a:0x629,_0x554c6e:0x76f,_0x47af98:0x669,_0x3d58ac:0x435,_0x4dd8fa:0x335,_0x2a3da8:0x385,_0x40be11:0x429,_0x328d08:0x57e,_0x6dc10f:0x2bb,_0x583c71:0x2cf,_0x46fbb9:0x131,_0x3b90a7:0x149},_0x409b3e={_0x386db9:0x1b0,_0x8f05e4:0x28,_0x3b6362:0x8f},_0x2ef790={_0x53e5cf:0x1a},_0x41b175={_0x450a81:0x1e,_0x18cb24:0x286};function _0x3b06ff(_0x3dce92,_0x1a5115,_0x43ffb4,_0x47c947){return _0x26f978(_0x3dce92-_0x41b175._0x450a81,_0x1a5115-0x7c,_0x43ffb4- -_0x41b175._0x18cb24,_0x1a5115);}const _0x18c076=_0x1209a7[_0x3b06ff(-0x1cd,-0x13,-0xb1,-0x19d)](_0x478be1[_0x3b06ff(-0x170,0xb2,-0x8c,_0x24542a._0x10c00c)]??process[_0x10c8c0(_0x24542a._0x284214,_0x24542a._0x56bf66,0x382,0x348)]());function _0x10c8c0(_0x47954b,_0x32a433,_0x27ac11,_0x222e25){return _0x199ce4(_0x27ac11-0x2e3,_0x32a433-0x90,_0x47954b,_0x222e25-_0x2ef790._0x53e5cf);}const _0x258a77=_0x478be1['allowedDirs']??[],_0x1fd9a3=_0x478be1['name']??_0x3b06ff(_0x24542a._0x437a80,-0x43,0x135,0x199);return defineTool({'name':_0x1fd9a3,'description':_0x10c8c0(0x2bb,0x391,0x279,_0x24542a._0x4a1b20),'inputSchema':{'type':_0x3b06ff(_0x24542a._0x16f6a0,_0x24542a._0x22c583,_0x24542a._0x2af927,0x2d7),'properties':{'filePath':{'type':_0x3b06ff(0x198,0x1e4,0x82,0x29)},'content':{'type':'string'}},'required':[_0x10c8c0(0x1c6,0x29c,0x229,_0x24542a._0x12a35f),_0x3b06ff(-_0x24542a._0x2e2311,-0x107,0x26,-_0x24542a._0x3ad4c4)]},async *'execute'(_0x468342){const _0x24f6c0={_0x2be93e:0x119,_0x1dc6f0:0x6a9,_0x45449c:0xa4},_0x14ed77=resolveAllowedPath(_0x18c076,_0x258a77,_0x468342[_0x5b8677(_0x25bb55._0x4aae6d,_0x25bb55._0x1ff383,_0x25bb55._0xee102f,0x299)]),_0x8aba46=await _0x46c8de(_0x14ed77)[_0x4a70b9(0x572,_0x25bb55._0x5a25d5,_0x25bb55._0x2e15ce,0x47c)](()=>!![])[_0x4a70b9(_0x25bb55._0x239ab2,0x661,0x638,0x698)](()=>![]),_0x5b4a04=Buffer[_0x5b8677(_0x25bb55._0x58834f,_0x25bb55._0xf2ae7f,_0x25bb55._0x19fa17,0x505)](_0x468342['content'],'utf8');await atomicWrite2(_0x14ed77,_0x5b4a04);function _0x5b8677(_0x38b379,_0xe1aba1,_0x29d8dc,_0x1c7533){return _0x10c8c0(_0x38b379,_0xe1aba1-_0x409b3e._0x386db9,_0xe1aba1-_0x409b3e._0x8f05e4,_0x1c7533-_0x409b3e._0x3b6362);}function _0x4a70b9(_0xfca4f2,_0x2afa55,_0x1bd8a6,_0x3ca9c3){return _0x3b06ff(_0xfca4f2-_0x24f6c0._0x2be93e,_0x3ca9c3,_0x1bd8a6-_0x24f6c0._0x1dc6f0,_0x3ca9c3-_0x24f6c0._0x45449c);}return yield createToolOutput(_0x5b8677(_0x25bb55._0x50c47a,_0x25bb55._0x270c21,0x4d4,_0x25bb55._0x3598bc)+_0x468342[_0x4a70b9(0x57d,0x479,0x5eb,_0x25bb55._0x476a12)]+'.',{'filePath':_0x468342[_0x5b8677(_0x25bb55._0x2941ee,0x251,_0x25bb55._0x3245fe,_0x25bb55._0x3b23aa)],'resolvedPath':_0x14ed77,'bytes':_0x5b4a04[_0x4a70b9(_0x25bb55._0x5e816a,_0x25bb55._0x554c6e,_0x25bb55._0x47af98,0x4f4)],'lines':_0x468342[_0x5b8677(_0x25bb55._0x3d58ac,_0x25bb55._0x4dd8fa,_0x25bb55._0x2a3da8,_0x25bb55._0x40be11)][_0x5b8677(_0x25bb55._0x328d08,0x46d,0x323,0x347)](/\r?\n/)[_0x5b8677(_0x25bb55._0x6dc10f,_0x25bb55._0x583c71,0x40f,0x412)],'created':new Date()[_0x5b8677(0x1b2,0x27a,_0x25bb55._0x46fbb9,_0x25bb55._0x3b90a7)](),'overwritten':_0x8aba46}),void 0x0;}});}import{readFile as _0xcbe2bd,stat as _0x5bf091}from'fs/promises';import*as _0x4ad524 from'path';function stripUtfBom(_0x162c77){const _0x293c0a={_0x48fba7:0x3a4,_0x406768:0x609,_0x3d82c6:0x48e},_0x2c4a60={_0x145093:0x416,_0x342709:0x120,_0x46acfe:0x78};function _0xf28fcb(_0x121bdf,_0x52170f,_0x2861d7,_0x5aafcc){return _0x199ce4(_0x2861d7-_0x2c4a60._0x145093,_0x52170f-_0x2c4a60._0x342709,_0x52170f,_0x5aafcc-_0x2c4a60._0x46acfe);}return _0x162c77[_0xf28fcb(_0x293c0a._0x48fba7,_0x293c0a._0x406768,_0x293c0a._0x3d82c6,0x3ce)](0x0)===0xfeff?_0x162c77['slice'](0x1):_0x162c77;}function clampLine(_0x3d0e4b,_0x5bd0f3){const _0x35ca19={_0x28d8ce:0x3a,_0x4d908a:0xee,_0x5734ed:0xf8,_0x579108:0x37,_0x392272:0x130,_0x18dc6f:0x16b},_0x48ce32={_0x545f08:0x3a1,_0x2f4c1c:0x38},_0x1c0054={_0x3035d1:0x87,_0xc88d1b:0x26b};function _0x733365(_0x36db27,_0x3078fc,_0x59b564,_0x36fe5e){return _0x26f978(_0x36db27-_0x1c0054._0x3035d1,_0x3078fc-0x14a,_0x3078fc- -_0x1c0054._0xc88d1b,_0x59b564);}function _0x374289(_0x5e0174,_0x12661c,_0x4ed0e0,_0x5d9ce5){return _0x199ce4(_0x4ed0e0-_0x48ce32._0x545f08,_0x12661c-0x195,_0x12661c,_0x5d9ce5-_0x48ce32._0x2f4c1c);}if(!Number[_0x733365(_0x35ca19._0x28d8ce,_0x35ca19._0x4d908a,-0x6e,_0x35ca19._0x5734ed)](_0x3d0e4b))return 0x1;return Math['max'](0x1,Math['min'](Math[_0x733365(_0x35ca19._0x579108,_0x35ca19._0x392272,_0x35ca19._0x18dc6f,0x50)](_0x3d0e4b),_0x5bd0f3));}function createFileReadTool(_0x478abd={}){const _0x4e79d6={_0x132f02:0x408,_0x282082:0x2be,_0x543d59:0x211,_0x393975:0x4e,_0x96a58a:0xc1,_0x2e6470:0x2a1,_0x4489d3:0x228,_0x7da97:0xe1,_0x50ac7e:0x326,_0x702588:0x177,_0x466b21:0x57,_0x43ad44:0x3e3,_0x29e946:0x6a,_0x2365d9:0xce,_0x50b692:0x3f1,_0x185f6e:0x3ad,_0x41a780:0x380,_0x40b67a:0x513,_0x5955da:0x5e6,_0x1ed348:0x55a,_0x376abf:0x38e,_0x3f90e7:0x14e},_0x4df158={_0x24cd68:0x23,_0x134892:0x5b,_0x57a2bf:0x6f,_0x4e519:0xb5,_0x5b0862:0xb2,_0x317761:0xa1,_0x168dd2:0x80,_0x11da07:0x18e,_0x38141e:0x16a,_0x4416ae:0x179,_0x31eca9:0x1e6,_0x1af665:0x170,_0x4d1de9:0xb7,_0x3e709b:0x408,_0x11a1f5:0x1bc,_0x33d2a7:0x306,_0x53cf48:0x244,_0x382b85:0x2fb,_0x4246c9:0x3b5,_0x4aae14:0x43,_0x163cca:0x237,_0xf69115:0x107,_0x3d0c4d:0x113,_0x222d01:0x29c,_0x1badac:0x1e2,_0x162717:0xb6,_0x14ad84:0x8a,_0x1cdf9f:0x1a0,_0x2338d0:0x47,_0xb2f181:0x120,_0x3ef3b4:0x168,_0x37d165:0x3c,_0x3ab927:0x11c,_0x55377d:0x145,_0x1916eb:0xad,_0x49f931:0x90,_0x50951c:0x99,_0x3b6db1:0x168,_0xec69ed:0x10b,_0xdfb5c0:0xdc,_0x583b7b:0x117,_0x28054c:0x1c9,_0xdaefe0:0xe5,_0x4ad0f4:0x132,_0xc1272b:0x158,_0x1dd2ff:0x3d,_0x458eed:0x24f,_0x445b55:0x134,_0x2e5385:0xba,_0xa0009d:0xfb,_0x4b72f9:0x1b9,_0x42d869:0x24,_0x4097c9:0x156,_0x4d0921:0x26f,_0x26a341:0xc5},_0x483f33={_0x187a46:0x10e,_0x47f58d:0xe9},_0x4e73e3={_0x12bbbe:0x189,_0x16caef:0xae,_0x424d8b:0x17e};function _0x3a23e4(_0x30a06e,_0x3b3eb1,_0x459fdf,_0x4ca969){return _0x199ce4(_0x459fdf-_0x4e73e3._0x12bbbe,_0x3b3eb1-_0x4e73e3._0x16caef,_0x3b3eb1,_0x4ca969-_0x4e73e3._0x424d8b);}const _0x4ecfbf=_0x4ad524[_0x577045(_0x4e79d6._0x132f02,_0x4e79d6._0x282082,_0x4e79d6._0x543d59,0x19e)](_0x478abd[_0x3a23e4(-0x61,_0x4e79d6._0x393975,0x101,_0x4e79d6._0x96a58a)]??process[_0x3a23e4(0x364,_0x4e79d6._0x2e6470,_0x4e79d6._0x4489d3,_0x4e79d6._0x7da97)]());function _0x577045(_0x2289c7,_0x354af2,_0xe4e82f,_0x1e785a){return _0x26f978(_0x2289c7-0x4d,_0x354af2-_0x483f33._0x187a46,_0x354af2-_0x483f33._0x47f58d,_0xe4e82f);}const _0x2f519b=_0x478abd[_0x3a23e4(_0x4e79d6._0x50ac7e,_0x4e79d6._0x702588,0x240,0x2ab)]??[],_0x2aff54=_0x478abd[_0x3a23e4(-0x4b,0x84,0xc9,_0x4e79d6._0x466b21)]??_0x577045(0x235,0x307,0x2f9,_0x4e79d6._0x43ad44);return defineTool({'name':_0x2aff54,'description':_0x3a23e4(0x1f,0x155,_0x4e79d6._0x29e946,-_0x4e79d6._0x2365d9),'inputSchema':{'type':'object','properties':{'path':{'type':_0x577045(0x4fd,_0x4e79d6._0x50b692,_0x4e79d6._0x185f6e,_0x4e79d6._0x41a780)},'lineStart':{'type':_0x577045(_0x4e79d6._0x40b67a,0x475,_0x4e79d6._0x5955da,_0x4e79d6._0x1ed348),'description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':_0x3a23e4(_0x4e79d6._0x376abf,_0x4e79d6._0x3f90e7,0x293,0x336),'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':['path']},async *'execute'(_0x2529c6){const _0x41342e={_0x4b8f85:0x13a,_0x47031c:0xe6},_0x485cc7={_0x33300b:0x14d,_0x575807:0x1c7},_0x477958=resolveAllowedPath(_0x4ecfbf,_0x2f519b,_0x2529c6[_0x27b3a2(0xa2,-0x88,-_0x4df158._0x24cd68,0x80)]);await assertWorkspaceFile(_0x477958);const _0x4678b8=await _0x5bf091(_0x477958),_0x366095=await _0xcbe2bd(_0x477958);if(isProbablyBinary(_0x366095))throw new ToolExecutionError(_0x27b3a2(0xd4,-0xf7,-0x69,_0x4df158._0x134892)+_0x2529c6[_0x27b3a2(_0x4df158._0x57a2bf,-_0x4df158._0x4e519,-_0x4df158._0x5b0862,0x80)],{'path':_0x2529c6[_0x27b3a2(0x18d,-0x9a,-_0x4df158._0x317761,_0x4df158._0x168dd2)]});function _0x27b3a2(_0x354d89,_0x3d408f,_0x34c1ed,_0x471d1b){return _0x577045(_0x354d89-_0x485cc7._0x33300b,_0x471d1b- -_0x485cc7._0x575807,_0x34c1ed,_0x471d1b-0x155);}let _0x44b6ee=_0x366095[_0x4ff816(0x12e,0x1c1,0x3a,0x246)](_0x27b3a2(_0x4df158._0x11da07,_0x4df158._0x38141e,_0x4df158._0x4416ae,_0x4df158._0x31eca9));const _0x42a866=_0x44b6ee[_0x27b3a2(0x291,_0x4df158._0x1af665,_0x4df158._0x4d1de9,0x21c)](0x0)===0xfeff;_0x44b6ee=stripUtfBom(_0x44b6ee);const _0x16db85=_0x44b6ee[_0x27b3a2(_0x4df158._0x3e709b,_0x4df158._0x11a1f5,0x363,_0x4df158._0x33d2a7)](/\r?\n/),_0x5419a2={'path':_0x2529c6['path'],'resolvedPath':_0x477958,'created':_0x4678b8[_0x27b3a2(_0x4df158._0x53cf48,_0x4df158._0x382b85,_0x4df158._0x4246c9,0x31b)][_0x27b3a2(-_0x4df158._0x4aae14,_0x4df158._0x163cca,_0x4df158._0xf69115,_0x4df158._0x3d0c4d)](),'modified':_0x4678b8[_0x4ff816(_0x4df158._0x222d01,0x377,0x184,_0x4df158._0x1badac)][_0x4ff816(_0x4df158._0x162717,-0x73,-0x39,0x6f)](),'size':_0x4678b8[_0x4ff816(_0x4df158._0x14ad84,-0x53,_0x4df158._0x1cdf9f,-0x44)],'encoding':_0x4ff816(0x189,0x26a,0x298,0x1f5),'bomStripped':_0x42a866,'truncated':![],'totalLines':_0x16db85[_0x27b3a2(0x1d0,_0x4df158._0x2338d0,_0x4df158._0xb2f181,_0x4df158._0x3ef3b4)]};function _0x4ff816(_0x28ca9c,_0x409bec,_0x16db8b,_0x4336a8){return _0x577045(_0x28ca9c-_0x41342e._0x4b8f85,_0x28ca9c- -0x224,_0x409bec,_0x4336a8-_0x41342e._0x47031c);}if(_0x2529c6['lineStart']!==void 0x0||_0x2529c6[_0x4ff816(_0x4df158._0x37d165,-_0x4df158._0x3ab927,_0x4df158._0x55377d,_0x4df158._0x1916eb)]!==void 0x0){const _0xc1273f=clampLine(_0x2529c6[_0x4ff816(0x12a,-0x26,0x291,0x18d)]??0x1,_0x16db85['length']),_0x9362fc=clampLine(_0x2529c6[_0x27b3a2(0x8c,-_0x4df158._0x49f931,0x183,_0x4df158._0x50951c)]??_0x16db85[_0x27b3a2(0x21f,0x214,0x95,_0x4df158._0x3b6db1)],_0x16db85[_0x4ff816(_0x4df158._0xec69ed,_0x4df158._0xdfb5c0,_0x4df158._0x583b7b,_0x4df158._0x28054c)]),_0x2e0981=Math[_0x27b3a2(0x1bb,_0x4df158._0xdaefe0,0x21a,_0x4df158._0x4ad0f4)](_0xc1273f,_0x9362fc),_0xe33508=Math['max'](_0xc1273f,_0x9362fc),_0x3c76db=_0x16db85[_0x4ff816(_0x4df158._0xc1272b,_0x4df158._0x1dd2ff,_0x4df158._0x458eed,0x145)](_0x2e0981-0x1,_0xe33508)[_0x4ff816(_0x4df158._0x445b55,_0x4df158._0x2e5385,0x22e,0x131)]((_0x3093a8,_0x20831a)=>_0x2e0981+_0x20831a+'|'+_0x3093a8)[_0x27b3a2(_0x4df158._0xa0009d,_0x4df158._0x4b72f9,-_0x4df158._0x42d869,_0x4df158._0x4097c9)]('\x0a');return yield createToolOutput(_0x3c76db,{..._0x5419a2,'lineRange':{'lineStart':_0x2e0981,'lineEnd':_0xe33508,'linesTotal':_0x16db85[_0x27b3a2(_0x4df158._0x4d0921,_0x4df158._0x26a341,0x216,_0x4df158._0x3b6db1)]}}),void 0x0;}return yield createToolOutput(_0x44b6ee,_0x5419a2),void 0x0;}});}import{stat as _0x1796df}from'fs/promises';import*as _0x12e049 from'path';import{execSync,spawn as _0x4f4777}from'child_process';import{existsSync}from'fs';import{stat as _0x37e698}from'fs/promises';import*as _0x1bcb38 from'os';import*as _0x36f4c6 from'path';import{rgPath as _0x145b22}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x514d60={_0x3ac74d:0x1bd,_0x36dfc5:0x46d,_0x5c7687:0x31a,_0x3a1b03:0x2bc,_0x4c8b4b:0x10a,_0x2610a1:0xf0,_0x3df22d:0x1f4,_0x179716:0x208,_0x2f9de5:0x42b,_0x48bc8b:0x2de,_0x148737:0x3a3,_0x42cd45:0x2e6,_0x26d072:0x20e,_0x1588a3:0x19e,_0x42aaa5:0x318,_0x2f41e1:0x2cb,_0x2008d9:0x1d6,_0x35c4dc:0x267,_0x355199:0x331,_0x30f9e1:0x2,_0x36f333:0x4a,_0x8dc83a:0x269,_0x58f4fe:0x294,_0x250a9e:0x317,_0x2916c9:0x136,_0x483b55:0x1c6,_0x141852:0x448,_0x5331da:0x43e,_0x4bc8d6:0x35d,_0x5ade9b:0x3d6,_0x1f37b1:0x257,_0x3645fe:0x39a,_0x48ffdd:0x240,_0x178ec6:0x30e,_0x3acf90:0x337,_0x3de28c:0x3f9,_0x43789c:0x3e4,_0x4e22ac:0x401,_0x4fd1e0:0x15b,_0x2f683b:0x327,_0x4fa070:0x38d,_0x25be93:0x32f,_0x4cfe52:0x4ef,_0x5cca0d:0x2fb,_0x363ffe:0x443,_0x5707cf:0x37e,_0x34a0d3:0xa2,_0x5772a6:0x82,_0x408b54:0x520,_0x5bd34a:0x380,_0x2c1057:0x5e5,_0x224fe4:0x496},_0xc1464d={_0x475644:0x1d3,_0x477221:0xaa},_0x26f008={_0x491e83:0x334,_0x19e724:0x17d,_0xb98d1f:0x1c1},_0x4ef1f6=_0x1bcb38[_0x2fe550(_0x514d60._0x3ac74d,_0x514d60._0x36dfc5,0x228,_0x514d60._0x5c7687)]()==='win32',_0x1c1eca=_0x4ef1f6?[_0x36f4c6[_0x34514c(_0x514d60._0x3a1b03,0x1c3,_0x514d60._0x4c8b4b,_0x514d60._0x2610a1)](process[_0x34514c(0x310,0x20e,0x109,_0x514d60._0x3df22d)][_0x34514c(0x41a,0x324,_0x514d60._0x179716,0x441)]||'','Microsoft',_0x2fe550(0x385,_0x514d60._0x2f9de5,0x1fb,0x2c6),'Packages'),_0x36f4c6[_0x2fe550(_0x514d60._0x48bc8b,0x31a,_0x514d60._0x148737,_0x514d60._0x42cd45)](process[_0x34514c(_0x514d60._0x26d072,0x20e,0x1f6,0x33d)][_0x2fe550(0x33f,_0x514d60._0x1588a3,_0x514d60._0x42aaa5,_0x514d60._0x2f41e1)]||'','ripgrep','rg.exe'),_0x36f4c6[_0x2fe550(_0x514d60._0x2008d9,_0x514d60._0x35c4dc,0x39f,0x2e6)](process[_0x2fe550(0x243,0x1f5,0x344,_0x514d60._0x355199)][_0x34514c(-0xa1,0xc2,-_0x514d60._0x30f9e1,-_0x514d60._0x36f333)]||'',_0x34514c(_0x514d60._0x8dc83a,_0x514d60._0x58f4fe,_0x514d60._0x250a9e,0x254),_0x34514c(_0x514d60._0x2916c9,0x2b1,0x2df,_0x514d60._0x483b55))]:[_0x2fe550(0x29d,_0x514d60._0x141852,_0x514d60._0x5331da,0x3d1),'/usr/local/bin/rg',_0x2fe550(_0x514d60._0x4bc8d6,_0x514d60._0x5ade9b,0x2e0,0x366),_0x34514c(0x1a9,0x17a,0x231,_0x514d60._0x1f37b1)];for(const _0x2d4b32 of _0x1c1eca){if(existsSync(_0x2d4b32))return _0x2d4b32;}function _0x2fe550(_0x49e743,_0x115707,_0x2c44bd,_0xde4bea){return _0x199ce4(_0xde4bea-_0x26f008._0x491e83,_0x115707-_0x26f008._0x19e724,_0x49e743,_0xde4bea-_0x26f008._0xb98d1f);}try{const _0x3ecfbf=_0x4ef1f6?_0x2fe550(_0x514d60._0x3645fe,_0x514d60._0x48ffdd,_0x514d60._0x178ec6,0x27e):_0x2fe550(_0x514d60._0x3acf90,_0x514d60._0x3de28c,_0x514d60._0x43789c,_0x514d60._0x4e22ac),_0x4d8437=execSync(_0x3ecfbf,{'encoding':'utf8','stdio':[_0x34514c(_0x514d60._0x4fd1e0,0x219,_0x514d60._0x2f683b,0x30d),_0x34514c(0x34c,0x219,_0x514d60._0x4fa070,_0x514d60._0x25be93),_0x2fe550(_0x514d60._0x4cfe52,_0x514d60._0x5cca0d,_0x514d60._0x363ffe,_0x514d60._0x5707cf)]})[_0x34514c(-0x49,_0x514d60._0x34a0d3,_0x514d60._0x5772a6,-0x78)]()[_0x2fe550(_0x514d60._0x408b54,_0x514d60._0x5bd34a,_0x514d60._0x2c1057,_0x514d60._0x224fe4)](/\r?\n/)[0x0];if(_0x4d8437&&existsSync(_0x4d8437))return _0x4d8437;}catch{return null;}function _0x34514c(_0x1f4f2b,_0x31d186,_0x25be84,_0x1e7764){return _0x26f978(_0x1f4f2b-_0xc1464d._0x475644,_0x31d186-_0xc1464d._0x477221,_0x31d186- -0x71,_0x1f4f2b);}return null;}async function filepath(){const _0x4269d={_0x53a9fd:0x35,_0x3913be:0x51,_0x56c1dd:0x178};if(cachedRgPath)return cachedRgPath;function _0x2ecbfa(_0x4a870a,_0x5acadb,_0x9bc4a6,_0x2e0631){return _0x26f978(_0x4a870a-_0x4269d._0x53a9fd,_0x5acadb-_0x4269d._0x3913be,_0x4a870a-_0x4269d._0x56c1dd,_0x9bc4a6);}if(_0x145b22&&existsSync(_0x145b22))return cachedRgPath=_0x145b22,_0x145b22;const _0x407496=findSystemRipgrep();if(!_0x407496)throw new Error(_0x2ecbfa(0x4c0,0x5ca,0x58b,0x5c7));return cachedRgPath=_0x407496,_0x407496;}async function*files(_0x2f9787){const _0x283abb={_0xe8ee3:0x6c,_0x1a70a0:0xfd,_0x2c21c1:0x3ff,_0x480d33:0x44e,_0x3e3d50:0x209,_0x28246e:0x44c,_0x4361f4:0x148,_0xdcb8ab:0x251,_0x357a3d:0x312,_0x5e8c61:0x243,_0x1dcba4:0x24f,_0x13dc30:0x2f1,_0x2761fc:0x193,_0x2c22f8:0x45a,_0xc1387:0x2b3,_0x1e7909:0x2cc,_0x58d0c1:0x181,_0x13ab9b:0x426,_0x3a8b82:0x308,_0x3dabcb:0x398,_0x1997f1:0x2b5,_0x4f9467:0x2dd,_0x184658:0x303,_0x19b616:0x149},_0x40d92c={_0x428afd:0x390,_0x55eefa:0x30},_0x5514cb={_0x458362:0x1c9};function _0x384049(_0x211beb,_0xdc1a41,_0x5818e4,_0x1ffd52){return _0x199ce4(_0x1ffd52-0x16a,_0xdc1a41-_0x5514cb._0x458362,_0x211beb,_0x1ffd52-0x1b8);}const _0x127ccd=await filepath(),_0x217c5c=await _0x37e698(_0x2f9787['cwd'])[_0x384049(0x1d0,_0x283abb._0xe8ee3,0xff,_0x283abb._0x1a70a0)](()=>null);if(!_0x217c5c?.[_0xc60854(0x4e3,_0x283abb._0x2c21c1,_0x283abb._0x480d33,0x4a5)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x2f9787[_0x384049(0x225,0xb7,0x204,_0x283abb._0x3e3d50)]+'\x27'),{'code':_0xc60854(0x3b3,0x3b9,_0x283abb._0x28246e,0x509)});const _0x29043e=[_0xc60854(0x152,_0x283abb._0x4361f4,0x316,_0x283abb._0xdcb8ab),_0xc60854(0x37f,0x2de,0x289,_0x283abb._0x357a3d),_0x384049(_0x283abb._0x5e8c61,0x201,0x189,0x166),_0x384049(0x1c7,_0x283abb._0x1dcba4,_0x283abb._0x13dc30,_0x283abb._0x2761fc)];for(const _0x801863 of _0x2f9787[_0xc60854(0x37d,_0x283abb._0x2c22f8,_0x283abb._0xc1387,0x352)]??[]){_0x29043e['push']('--glob='+_0x801863);}const _0x479b53=_0x4f4777(_0x127ccd,_0x29043e,{'cwd':_0x2f9787[_0x384049(0xad,_0x283abb._0x1e7909,_0x283abb._0x58d0c1,_0x283abb._0x3e3d50)],'stdio':[_0xc60854(0x27d,_0x283abb._0x13ab9b,_0x283abb._0x3a8b82,0x3da),_0xc60854(0x322,0x4da,0x31d,_0x283abb._0x3dabcb),'pipe']});let _0x12c46e='';function _0xc60854(_0x3a37db,_0x4d4a40,_0x3dc01a,_0x39f2e7){return _0x199ce4(_0x39f2e7-_0x40d92c._0x428afd,_0x4d4a40-0xab,_0x3dc01a,_0x39f2e7-_0x40d92c._0x55eefa);}for await(const _0x1d48c4 of _0x479b53['stdout']??[]){_0x12c46e+=_0x1d48c4[_0xc60854(_0x283abb._0x1997f1,0x242,0x36f,0x377)]();const _0x3b7020=_0x12c46e[_0x384049(0x382,0x25a,0x427,0x2cc)](/\r?\n/);_0x12c46e=_0x3b7020[_0xc60854(0x430,_0x283abb._0x4f9467,0x2de,_0x283abb._0x184658)]()??'';for(const _0xe9d2d0 of _0x3b7020){if(_0xe9d2d0['length']>0x0)yield _0xe9d2d0;}}_0x12c46e['trim']()[_0x384049(0x10b,_0x283abb._0x19b616,0x22d,0x12e)]>0x0&&(yield _0x12c46e['trim']());}function parseMatchLine(_0x54ca42,_0x5aa4f7){const _0x594510={_0x5941db:0x47c,_0x9a550c:0x476,_0x406e53:0x18b,_0x58797b:0x15e,_0x2abd2f:0x5aa,_0x5705b9:0x6da,_0x3b4bea:0x4b0,_0x337723:0x624,_0x2eaa9f:0x693,_0x5d9bf1:0x5aa,_0x40798b:0x612,_0x42fb0b:0x254,_0x593394:0xc6,_0x3be417:0x485,_0x25bc36:0x4d9,_0x54dfe6:0xd1,_0x9c4288:0x18d,_0x213eb3:0x2f4,_0x1d1b6c:0x593},_0x2d5eb8={_0x14e09e:0x174},_0x1b6106={_0x27ab1c:0xd8};if(!_0x54ca42||_0x54ca42==='--')return null;function _0x1cc9c4(_0x11d22e,_0x56e759,_0x26aef8,_0xe2bf84){return _0x26f978(_0x11d22e-_0x1b6106._0x27ab1c,_0x56e759-0x114,_0x56e759- -0xbb,_0x26aef8);}const _0x5df3f8=_0x54ca42[_0x1cc9c4(_0x594510._0x5941db,0x329,0x374,_0x594510._0x9a550c)]('|');function _0x510c59(_0x234cf9,_0x1d1efc,_0x550488,_0x1c2e09){return _0x199ce4(_0x550488-0x4d3,_0x1d1efc-0x18b,_0x1d1efc,_0x1c2e09-_0x2d5eb8._0x14e09e);}if(_0x5aa4f7&&_0x5df3f8[_0x1cc9c4(0x1ea,_0x594510._0x406e53,0x230,_0x594510._0x58797b)]>=0x4&&Number[_0x510c59(0x6e9,0x6fc,_0x594510._0x2abd2f,_0x594510._0x5705b9)](Number['parseInt'](_0x5df3f8[0x2]??'',0xa))){const _0x19f139=Number[_0x510c59(_0x594510._0x3b4bea,0x741,_0x594510._0x337723,0x74c)](_0x5df3f8[0x1]??'',0xa);if(!Number[_0x510c59(_0x594510._0x2eaa9f,0x69c,_0x594510._0x5d9bf1,_0x594510._0x40798b)](_0x19f139)||!_0x5df3f8[0x0])return null;return{'filePath':_0x5df3f8[0x0],'lineNum':_0x19f139,'lineText':_0x5df3f8[_0x1cc9c4(_0x594510._0x42fb0b,0x1d8,_0x594510._0x593394,0x98)](0x3)[_0x510c59(0x56b,0x3af,_0x594510._0x3be417,_0x594510._0x25bc36)]('|')};}if(_0x5df3f8[_0x1cc9c4(_0x594510._0x54dfe6,0x18b,_0x594510._0x9c4288,_0x594510._0x213eb3)]>=0x3){const _0x408346=Number['parseInt'](_0x5df3f8[0x1]??'',0xa);if(!Number['isFinite'](_0x408346)||!_0x5df3f8[0x0])return null;return{'filePath':_0x5df3f8[0x0],'lineNum':_0x408346,'lineText':_0x5df3f8['slice'](0x2)[_0x510c59(_0x594510._0x1d1b6c,0x360,0x485,0x38b)]('|'),..._0x5aa4f7?{'isContext':!![]}:{}};}return null;}async function search(_0x20a0b8){const _0x2b7079={_0x503871:0x53e,_0x5e27a9:0x3f8,_0x18cce4:0x20,_0x561e72:0x25b,_0x13ca95:0xd7,_0x243b54:0x15b,_0x336744:0x29e,_0x39c2a2:0x1b,_0x2f4d47:0x8b,_0x5cdca8:0x83,_0x88f430:0xe7,_0x4882b4:0x5d,_0x5d7a23:0xee,_0xf595c8:0xff,_0x34cd51:0x1d3,_0x1cd7d4:0x252,_0x3cba37:0xba,_0x59a77e:0x39,_0x3ded05:0xbb,_0x4b8be1:0x5ac,_0x4a68ea:0x4fa,_0x3ab411:0x97,_0x4f4cd3:0x67,_0x230bde:0xf6,_0xd481fe:0x126,_0x4698c1:0x4e,_0x5a11d9:0x2f1,_0x5630e3:0x4a6,_0x4e2f3b:0x454,_0x53689e:0x464,_0x99c48e:0x3c2,_0x27d733:0x388,_0x2428e1:0x36e,_0x35c82a:0x352,_0x5c402b:0x275,_0x53b5ec:0x392,_0xc050d5:0x10a,_0x32d730:0xfd,_0x4f299a:0x38f,_0x3e62aa:0x627,_0x2b9d93:0x202},_0x5b37fc={_0xa3ef9a:0x22e,_0x511c1b:0x40d,_0x2b4bb8:0x2bc,_0x19bed3:0x375,_0x54d239:0x129,_0xd120cd:0x5cc,_0x57e2c5:0x495,_0x92bdd1:0x5c2,_0x106564:0x423,_0x2016a5:0x4e7,_0x466b8b:0x48e,_0x16df09:0x4b8},_0x430a81={_0x2792e7:0xb1},_0x1c97e0={_0x3158b4:0x1dc,_0x1fca0c:0x298},_0x3c170e=await filepath();if(_0x20a0b8[_0x17d84a(0x458,0x5dd,_0x2b7079._0x503871,_0x2b7079._0x5e27a9)]){const _0x37145c=await _0x37e698(_0x20a0b8[_0x245910(0x15b,_0x2b7079._0x18cce4,_0x2b7079._0x561e72,_0x2b7079._0x13ca95)])['catch'](()=>null);if(!_0x37145c?.['isFile']())throw Object['assign'](new Error('No\x20such\x20file:\x20\x27'+_0x20a0b8[_0x245910(_0x2b7079._0x243b54,_0x2b7079._0x336744,_0x2b7079._0x39c2a2,0xa3)]+'\x27'),{'code':'ENOENT'});}else{const _0x57ab7f=await _0x37e698(_0x20a0b8[_0x245910(0x89,_0x2b7079._0x2f4d47,0x184,0x1d6)])[_0x245910(-_0x2b7079._0x5cdca8,-_0x2b7079._0x88f430,_0x2b7079._0x4882b4,-_0x2b7079._0x5d7a23)](()=>null);if(!_0x57ab7f?.[_0x245910(_0x2b7079._0xf595c8,_0x2b7079._0x34cd51,_0x2b7079._0x1cd7d4,0x232)]())throw Object[_0x245910(_0x2b7079._0x3cba37,-_0x2b7079._0x59a77e,-_0x2b7079._0x3ded05,-0xb1)](new Error(_0x17d84a(0x63b,_0x2b7079._0x4b8be1,_0x2b7079._0x4a68ea,0x5c3)+_0x20a0b8['cwd']+'\x27'),{'code':'ENOENT'});}const _0xdb1724=[_0x245910(-_0x2b7079._0x3ab411,-_0x2b7079._0x4f4cd3,-_0x2b7079._0x230bde,-_0x2b7079._0xd481fe),_0x245910(_0x2b7079._0x4698c1,-0x22,_0x2b7079._0x4698c1,0x76),_0x17d84a(_0x2b7079._0x5a11d9,0x436,0x366,0x4df),_0x17d84a(0x5e0,_0x2b7079._0x5630e3,0x472,_0x2b7079._0x4e2f3b),_0x20a0b8[_0x245910(0x10b,0x14f,-0x4c,0x99)]];function _0x245910(_0x956bc3,_0x215892,_0x4f1359,_0x15af04){return _0x26f978(_0x956bc3-0x8c,_0x215892-_0x1c97e0._0x3158b4,_0x956bc3- -_0x1c97e0._0x1fca0c,_0x4f1359);}function _0x17d84a(_0x5627b6,_0x336840,_0x4dccbc,_0x327606){return _0x26f978(_0x5627b6-0x9c,_0x336840-_0x430a81._0x2792e7,_0x4dccbc-0x14b,_0x5627b6);}const _0x26e912=typeof _0x20a0b8[_0x17d84a(0x2e6,_0x2b7079._0x53689e,_0x2b7079._0x99c48e,_0x2b7079._0x27d733)]==='number'&&_0x20a0b8[_0x17d84a(0x28c,_0x2b7079._0x2428e1,0x3c2,_0x2b7079._0x35c82a)]>0x0;return _0x26e912&&_0xdb1724[_0x17d84a(0x38e,0x237,_0x2b7079._0x5c402b,0x23f)]('-C',String(_0x20a0b8[_0x17d84a(0x372,0x475,0x3c2,_0x2b7079._0x53b5ec)]),_0x245910(-0x9b,0x66,-0x1c3,-0x1c3)),_0x20a0b8['glob']&&!_0x20a0b8['file']&&_0xdb1724[_0x245910(-0x16e,-_0x2b7079._0xc050d5,-0x23c,-_0x2b7079._0x32d730)]('--glob',_0x20a0b8[_0x17d84a(0x505,0x431,_0x2b7079._0x4f299a,0x404)]),_0xdb1724['push'](_0x20a0b8[_0x17d84a(0x5a3,_0x2b7079._0x4b8be1,0x53e,_0x2b7079._0x3e62aa)]??_0x20a0b8[_0x245910(0x89,_0x2b7079._0x2b9d93,-0xbf,0x1eb)]),await new Promise((_0x9dd450,_0x5097af)=>{const _0x14eb52={_0x46e487:0x55d,_0xa5c61b:0x41e,_0x4df350:0x351,_0x1180df:0x3ea,_0x5aea01:0x67c,_0x4ae1d0:0x5c6,_0x486243:0x5b2,_0x390d5d:0x1b9,_0x356f9c:0x319},_0x43286d={_0x8b3863:0x2d,_0x1f735c:0x164},_0x36a227={_0x5eeab2:0x168,_0x522535:0x177},_0x29756d={_0x35f8dd:0x4cf,_0xbb2c6:0x143},_0x2444d7={_0x5d57e6:0x233,_0x36911b:0x15c},_0x5ed110=_0x4f4777(_0x3c170e,_0xdb1724,{'cwd':_0x20a0b8[_0x7bc621(0x209,_0x5b37fc._0xa3ef9a,_0x5b37fc._0x511c1b,_0x5b37fc._0x2b4bb8)],'stdio':['ignore','pipe',_0x7bc621(0x1ce,_0x5b37fc._0x19bed3,_0x5b37fc._0x54d239,0x225)]});function _0x7bc621(_0x3a4da1,_0x5197b9,_0x5c192a,_0xc7d9bd){return _0x245910(_0xc7d9bd-_0x2444d7._0x5d57e6,_0x5197b9-0x1b3,_0x5c192a,_0xc7d9bd-_0x2444d7._0x36911b);}function _0x579e84(_0x308853,_0x1f9799,_0x40673f,_0x530911){return _0x245910(_0x530911-_0x29756d._0x35f8dd,_0x1f9799-0x4b,_0x308853,_0x530911-_0x29756d._0xbb2c6);}let _0x24674b='',_0x3331b9='';_0x5ed110['stdout']?.['on']('data',_0x42c626=>{_0x24674b+=_0x42c626['toString']();}),_0x5ed110[_0x7bc621(0x22a,0x16e,-0x51,0xe2)]?.['on'](_0x579e84(0x549,_0x5b37fc._0xd120cd,0x64a,0x4f9),_0x2602db=>{const _0x3e3645={_0x5468ed:0x9c};function _0x3b63dd(_0xb9874b,_0x5544e7,_0x4c85df,_0x395fb7){return _0x7bc621(_0xb9874b-0x70,_0x5544e7-0x145,_0x4c85df,_0xb9874b- -_0x3e3645._0x5468ed);}_0x3331b9+=_0x2602db[_0x3b63dd(_0x36a227._0x5eeab2,0x17b,0x63,_0x36a227._0x522535)]();}),_0x5ed110['on'](_0x579e84(_0x5b37fc._0x57e2c5,_0x5b37fc._0x92bdd1,0x45c,0x4d0),_0x4ffacf=>{const _0x3cb775={_0x2e8d41:0x46,_0x259f88:0x21};if(_0x4ffacf===0x1&&_0x24674b===''){_0x9dd450([]);return;}if(_0x4ffacf!==0x0&&_0x4ffacf!==0x1){_0x5097af(new Error('ripgrep\x20failed:\x20'+_0x3331b9));return;}function _0x74b299(_0x3b87c5,_0x5d3fdf,_0x35f048,_0x48e554){return _0x579e84(_0x3b87c5,_0x5d3fdf-_0x43286d._0x8b3863,_0x35f048-0xf6,_0x5d3fdf- -_0x43286d._0x1f735c);}const _0x293698=_0x20a0b8[_0x27aa81(_0x14eb52._0x46e487,_0x14eb52._0xa5c61b,_0x14eb52._0x4df350,_0x14eb52._0x1180df)]??0x64,_0x4ee8ef=[];function _0x27aa81(_0x2a2e84,_0x21fb4b,_0x1538ab,_0x5b9e93){return _0x7bc621(_0x2a2e84-_0x3cb775._0x2e8d41,_0x21fb4b-_0x3cb775._0x259f88,_0x5b9e93,_0x21fb4b-0x247);}for(const _0x430b26 of _0x24674b[_0x27aa81(_0x14eb52._0x5aea01,_0x14eb52._0x4ae1d0,0x5b6,_0x14eb52._0x486243)](/\r?\n/)){if(_0x4ee8ef[_0x74b299(_0x14eb52._0x390d5d,_0x14eb52._0x356f9c,0x380,0x3fa)]>=_0x293698)break;const _0x112cf1=parseMatchLine(_0x430b26,_0x26e912);if(_0x112cf1)_0x4ee8ef['push'](_0x112cf1);}_0x9dd450(_0x4ee8ef);}),_0x5ed110['on'](_0x579e84(_0x5b37fc._0x106564,_0x5b37fc._0x2016a5,_0x5b37fc._0x466b8b,_0x5b37fc._0x16df09),_0x5097af);});}function createGlobTool(_0x38bb74={}){const _0x5d3ef9={_0x5a778d:0x150,_0x2313b4:0xa1,_0x145f28:0x2c8,_0x209e40:0x2a1,_0xdc4977:0x438,_0x197408:0x1d9,_0x320eba:0x1d0,_0x17a901:0x2c0,_0x5daf27:0x326,_0x24d8ba:0x1a0,_0x3531e2:0x240,_0xeea7eb:0x24a,_0x2c9cec:0x382,_0x382b37:0x3b0,_0x36a23f:0x2f5,_0x3daa8c:0x20d,_0x43712e:0x29c,_0x4f8982:0x1ec,_0x31e879:0x1b4,_0x2a9ebf:0x371,_0x23a02c:0x2a3,_0x3036d1:0x337,_0x16f8c5:0x31b},_0x58630a={_0x15f6d2:0x266,_0xe35a3b:0x283,_0x422c86:0x1af,_0x5b92cf:0xe1,_0x1d3235:0xb7,_0xe1c360:0xd,_0x3a9c37:0x9,_0x50321e:0x126,_0xd794c5:0xce,_0x302813:0x88,_0x348d14:0xd5,_0x1112b3:0xa0,_0x25e665:0x81,_0x3f7f24:0x9c,_0x3c63a1:0x163,_0x5c34eb:0x268,_0x1ec611:0x7f,_0x4c5fe1:0x34,_0x2c76f2:0x2a,_0x3546b1:0x142,_0x518761:0x96,_0x2b3c1c:0x4d,_0x413dd4:0x10a,_0x19ecc1:0x1f8,_0x472887:0x29f,_0x34102a:0x3f4,_0x2734a6:0x27b,_0x3364ce:0x3e,_0x5158cb:0x57,_0x4791fb:0x1ec,_0x437ca5:0x114,_0x1f4d44:0x3d,_0x146b9b:0x1a1,_0x1b45a1:0x177,_0x349a9b:0x50,_0x59e42a:0x12d,_0x1f3378:0x46,_0x1b5225:0x126,_0x568144:0x1b5,_0x10411b:0x263,_0x44afc3:0x119,_0x52d5a1:0xfb,_0x4aac6d:0x1cd,_0x5a4246:0x1b4,_0x3acb76:0x18c,_0xabc1e3:0x1bd,_0x3e60f4:0x29b},_0x130963={_0x4c5653:0x2c},_0x44bb18={_0x15745a:0x327,_0x2d5a6f:0x1eb},_0x58a41a=_0x12e049[_0x408016(_0x5d3ef9._0x5a778d,0x169,_0x5d3ef9._0x2313b4,0x278)](_0x38bb74[_0xda7fef(0x18e,0x29f,0x231,0x30d)]??process[_0xda7fef(0x448,0x3c6,_0x5d3ef9._0x145f28,_0x5d3ef9._0x209e40)]()),_0x40508c=_0x38bb74[_0xda7fef(0x3f1,0x3de,0x519,_0x5d3ef9._0xdc4977)]??[];function _0x408016(_0x3d7da0,_0x50f64a,_0x4275c7,_0x1ce10c){return _0x199ce4(_0x50f64a-0x216,_0x50f64a-0x140,_0x1ce10c,_0x1ce10c-0xaa);}const _0x3367ee=_0x38bb74[_0x408016(_0x5d3ef9._0x197408,_0x5d3ef9._0x320eba,0x150,0x1ae)]??0x64;function _0xda7fef(_0x140d58,_0x240ed9,_0x2061be,_0x2e73ed){return _0x199ce4(_0x240ed9-_0x44bb18._0x15745a,_0x240ed9-0x45,_0x140d58,_0x2e73ed-_0x44bb18._0x2d5a6f);}const _0x7c9c0=_0x38bb74[_0xda7fef(_0x5d3ef9._0x17a901,0x267,_0x5d3ef9._0x5daf27,_0x5d3ef9._0x24d8ba)]??_0xda7fef(_0x5d3ef9._0x3531e2,_0x5d3ef9._0xeea7eb,0x235,0x381);return defineTool({'name':_0x7c9c0,'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x408016(0x265,_0x5d3ef9._0x2c9cec,_0x5d3ef9._0x382b37,_0x5d3ef9._0x36a23f),'properties':{'pattern':{'type':_0x408016(_0x5d3ef9._0x3daa8c,_0x5d3ef9._0x43712e,0x277,_0x5d3ef9._0x4f8982)},'path':{'type':'string'},'limit':{'type':_0x408016(0x2da,0x320,_0x5d3ef9._0x31e879,_0x5d3ef9._0x2a9ebf)}},'required':[_0x408016(_0x5d3ef9._0x23a02c,_0x5d3ef9._0x3036d1,0x3ab,_0x5d3ef9._0x16f8c5)]},async *'execute'(_0xa43b18){if(_0xa43b18[_0x2f7b0e(0x207,_0x58630a._0x15f6d2,_0x58630a._0xe35a3b,_0x58630a._0x422c86)][_0x2f7b0e(-_0x58630a._0x5b92cf,-_0x58630a._0x1d3235,-_0x58630a._0xe1c360,0x99)]()[_0x2f7b0e(_0x58630a._0x3a9c37,0xdf,_0x58630a._0x50321e,0x256)]===0x0)throw new ToolExecutionError(_0x9eca6f(-_0x58630a._0xd794c5,-_0x58630a._0x302813,-_0x58630a._0x348d14,-_0x58630a._0x1112b3),{});const _0x217280=resolveAllowedPath(_0x58a41a,_0x40508c,_0xa43b18[_0x2f7b0e(_0x58630a._0x25e665,-0xb6,0x3e,_0x58630a._0x3f7f24)]??'.'),_0xe479=await _0x1796df(_0x217280)[_0x9eca6f(-0x13a,_0x58630a._0x3c63a1,0x26,0x128)](()=>null);if(!_0xe479?.[_0x2f7b0e(0x31d,_0x58630a._0x5c34eb,0x277,0x287)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0xa43b18['path']??'.'),{'path':_0xa43b18[_0x2f7b0e(_0x58630a._0x1ec611,_0x58630a._0x4c5fe1,0x3e,_0x58630a._0x2c76f2)]??'.'});const _0x21e1d2=_0xa43b18[_0x9eca6f(_0x58630a._0x3546b1,-_0x58630a._0x518761,_0x58630a._0x2b3c1c,-0x118)]??_0x3367ee,_0x4d24ab=Math[_0x9eca6f(0x156,0x1b,_0x58630a._0x413dd4,_0x58630a._0x19ecc1)](0x1,Math[_0x2f7b0e(_0x58630a._0x472887,_0x58630a._0x34102a,_0x58630a._0x2734a6,0x308)](_0x21e1d2));function _0x9eca6f(_0x1f3310,_0x1cde18,_0x3e702b,_0x1eced3){return _0x408016(_0x1f3310-0x63,_0x3e702b- -0x183,_0x3e702b-0x26,_0x1cde18);}const _0xaab08a=[];let _0x1815a5=![];for await(const _0x44a7e2 of files({'cwd':_0x217280,'glob':[_0xa43b18['pattern']]})){if(_0xaab08a[_0x9eca6f(0x106,_0x58630a._0x3364ce,_0x58630a._0x5158cb,-0xac)]>=_0x4d24ab){_0x1815a5=!![];break;}const _0x35691c=await _0x1796df(_0x12e049[_0x2f7b0e(0x6f,_0x58630a._0x4791fb,_0x58630a._0x437ca5,_0x58630a._0x1f4d44)](_0x217280,_0x44a7e2))[_0x9eca6f(-0xec,0x82,0x26,0x172)](()=>null);_0xaab08a[_0x2f7b0e(-_0x58630a._0x4c5fe1,0x13b,0xa,0x5c)]({'path':_0x44a7e2,'mtime':_0x35691c?.[_0x2f7b0e(_0x58630a._0x146b9b,0x155,0x58,_0x58630a._0x1b45a1)]??0x0});}_0xaab08a['sort']((_0x5f2d04,_0x37d8c8)=>_0x37d8c8['mtime']-_0x5f2d04[_0x2f7b0e(0x2aa,0x2c0,0x2b7,0x40b)]);const _0x2cfda0=_0xaab08a[_0x9eca6f(-_0x58630a._0x349a9b,_0x58630a._0x59e42a,0x80,0x120)](_0x6ddb9f=>_0x6ddb9f['path']),_0x3cd609=_0x2cfda0[_0x2f7b0e(0x1f7,-_0x58630a._0x1f3378,_0x58630a._0x1b5225,0x238)]===0x0?_0x2f7b0e(_0x58630a._0x568144,_0x58630a._0x10411b,0x231,_0x58630a._0x44afc3)+_0xa43b18[_0x9eca6f(_0x58630a._0x52d5a1,_0x58630a._0x4aac6d,_0x58630a._0x5a4246,0x23d)]:''+_0x2cfda0[_0x2f7b0e(0x256,0x27c,_0x58630a._0x437ca5,_0x58630a._0x3acb76)]('\x0a')+(_0x1815a5?_0x2f7b0e(0x19c,_0x58630a._0xabc1e3,0x253,_0x58630a._0x3e60f4):'');yield createToolOutput(_0x3cd609,{'pattern':_0xa43b18['pattern'],'searchPath':_0x12e049['relative'](_0x58a41a,_0x217280)||'.','matches':_0x2cfda0,'count':_0x2cfda0['length'],'truncated':_0x1815a5});function _0x2f7b0e(_0x50a8d4,_0x3b06e9,_0x68d1ed,_0x5c8e68){return _0x408016(_0x50a8d4-_0x130963._0x4c5653,_0x68d1ed- -0xb4,_0x68d1ed-0x121,_0x5c8e68);}return void 0x0;}});}import{stat as _0x101270}from'fs/promises';import*as _0x4b30c0 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x307573={}){const _0x2f9bd4={_0xcb7add:0x462,_0x55668a:0x6c,_0x12d791:0x1f4,_0x27b7d7:0x70b,_0x96a66f:0x591,_0x439659:0x1dc,_0x48b6bb:0x6d6,_0x16fc5c:0x7d2,_0x49f124:0x8f4,_0x2a4f67:0x898,_0x3938f2:0x6d7,_0x21aa7f:0x5fa,_0x3525b1:0x7c1,_0x2aaf3b:0x23e,_0x3c114a:0x3a3,_0x29539c:0x177},_0x12c180={_0x43ea2d:0x46b,_0x35d4ba:0x599,_0x5b8ebc:0x3f3,_0x449fae:0x262,_0x1e7f76:0x17a,_0x5c5d33:0x133,_0x53b4e0:0x37,_0x2e0618:0x234,_0xca67c9:0x46e,_0x12d64b:0x594,_0x30f6c6:0x4e7,_0x5ed1e8:0x382,_0x27ace8:0x5a0,_0x310336:0x287,_0x7851ca:0xb6,_0x57615b:0x474,_0x424627:0x432,_0x49f0ce:0x46d,_0x38b1ad:0x29a,_0x43af9a:0x6a0,_0x46a46f:0x687,_0x18d8cc:0x590,_0x2ac893:0x25f,_0x43346a:0x186,_0x339a44:0x194,_0x227c84:0x2f7,_0x5e208f:0x83,_0x4707b9:0xbe,_0x55eda1:0x226,_0x31627e:0xd3,_0x4d0c2b:0x29c,_0x34e5dd:0x163,_0x262670:0x251,_0x3555b8:0x2d9,_0x3906df:0x464,_0x3d96cb:0x2a7,_0x1ff61d:0x450,_0x237313:0x1b1,_0x38d2da:0x35f,_0x205fb5:0x571,_0x1c056a:0x408,_0x53ac04:0x34b,_0x3957d8:0x3a4,_0x4e17af:0x346,_0x1b110e:0x160,_0x12711b:0x344,_0x8bbba5:0x3e2,_0x1caf9c:0x3b7,_0x295593:0x376,_0x50ba33:0x3d4,_0x372fd4:0x27e,_0xf6e33b:0x42a,_0x2040cd:0x271,_0x1ad9a2:0x138,_0x34c30c:0x54,_0x501234:0x1ae,_0x3b3649:0x2bb,_0x456dc8:0x238,_0x326012:0x4f9,_0x20742a:0x56,_0x306852:0x26c,_0x41573b:0x1b0,_0x4071f1:0x410,_0x3489e7:0x385,_0x391e99:0x4ab,_0x23089a:0x48b,_0x3eb4e9:0x16f},_0x2c02a2={_0x2818c8:0x1e3,_0x322bab:0x19e},_0x5ebbb1={_0x353c0e:0x134},_0x1b01dd={_0x15ac35:0x15b},_0x132460=_0x4b30c0[_0x50e5da(0x589,0x5a4,0x496,_0x2f9bd4._0xcb7add)](_0x307573['defaultCwd']??process[_0x1045de(0x1d3,_0x2f9bd4._0x55668a,_0x2f9bd4._0x12d791,0x1be)]()),_0x347b98=_0x307573[_0x50e5da(0x5b1,0x708,0x778,_0x2f9bd4._0x27b7d7)]??[],_0x2235cd=_0x307573['limit']??0x64,_0x2c47eb=_0x307573[_0x50e5da(0x627,_0x2f9bd4._0x96a66f,0x5d3,0x653)]??_0x1045de(0x6c,0xa8,_0x2f9bd4._0x439659,0xc4);function _0x50e5da(_0x22b5ed,_0x3c176e,_0x5b835e,_0x2b65f2){return _0x199ce4(_0x3c176e-0x651,_0x3c176e-_0x1b01dd._0x15ac35,_0x22b5ed,_0x2b65f2-0xd2);}function _0x1045de(_0x44ac4b,_0x4d7e77,_0x471620,_0x2050b3){return _0x199ce4(_0x44ac4b-_0x5ebbb1._0x353c0e,_0x4d7e77-0xda,_0x2050b3,_0x2050b3-0xe7);}return defineTool({'name':_0x2c47eb,'description':_0x50e5da(0x820,0x6ea,_0x2f9bd4._0x48b6bb,_0x2f9bd4._0x16fc5c),'inputSchema':{'type':_0x50e5da(_0x2f9bd4._0x49f124,0x7bd,0x84d,_0x2f9bd4._0x2a4f67),'properties':{'pattern':{'type':_0x50e5da(0x5af,_0x2f9bd4._0x3938f2,0x77d,_0x2f9bd4._0x21aa7f)},'path':{'type':'string'},'include':{'type':_0x50e5da(_0x2f9bd4._0x3525b1,0x6d7,0x7d0,0x5f6)},'limit':{'type':_0x1045de(_0x2f9bd4._0x2aaf3b,_0x2f9bd4._0x3c114a,0x2c4,_0x2f9bd4._0x29539c)},'context':{'type':'number'}},'required':[_0x50e5da(0x712,0x772,0x6bb,0x69e)]},async *'execute'(_0x1ead1f){const _0x4884c6={_0x4d0161:0x344};if(_0x1ead1f[_0x2a09c4(0x434,_0x12c180._0x43ea2d,_0x12c180._0x35d4ba,0x4c2)][_0x2a09c4(_0x12c180._0x5b8ebc,0x214,0x309,0x36b)]()[_0x1beb20(_0x12c180._0x449fae,0x1a2,_0x12c180._0x1e7f76,0x231)]===0x0)throw new ToolExecutionError(_0x1beb20(_0x12c180._0x5c5d33,0x198,-_0x12c180._0x53b4e0,0x105),{});function _0x1beb20(_0x47838f,_0x2b8782,_0x54190b,_0x2a9e83){return _0x1045de(_0x2a9e83-0x139,_0x2b8782-_0x2c02a2._0x2818c8,_0x54190b-_0x2c02a2._0x322bab,_0x54190b);}const _0x3c92f2=resolveAllowedPath(_0x132460,_0x347b98,_0x1ead1f[_0x2a09c4(0x44f,_0x12c180._0x2e0618,0x354,0x24f)]??'.'),_0xfc094=await _0x101270(_0x3c92f2)['catch'](()=>null),_0x5e94e2=_0xfc094?.[_0x2a09c4(_0x12c180._0xca67c9,_0x12c180._0x12d64b,_0x12c180._0x30f6c6,0x441)]()??![],_0x21f8f8=_0xfc094?.[_0x1beb20(0x3b8,0x2f7,0x3c7,_0x12c180._0x5ed1e8)]()??![];if(!_0x5e94e2&&!_0x21f8f8)throw new ToolExecutionError(_0x2a09c4(0x556,0x432,_0x12c180._0x27ace8,0x49d)+(_0x1ead1f[_0x1beb20(0xf,_0x12c180._0x310336,_0x12c180._0x7851ca,0x149)]??'.'),{'path':_0x1ead1f[_0x2a09c4(_0x12c180._0x57615b,0x4c9,0x354,0x26d)]??'.'});const _0x59539f=_0x1ead1f[_0x2a09c4(0x46b,0x341,_0x12c180._0x424627,0x494)]??_0x2235cd,_0x3dfb10=Math[_0x2a09c4(_0x12c180._0x49f0ce,0x63e,0x4ef,0x465)](0x1,Math[_0x1beb20(0x4f3,0x31e,0x4a0,0x386)](_0x59539f));function _0x2a09c4(_0x44c772,_0x34a521,_0x488cf8,_0x1ec28f){return _0x1045de(_0x488cf8-_0x4884c6._0x4d0161,_0x34a521-0xc3,_0x488cf8-0xee,_0x34a521);}const _0x2f8b95=await search({'cwd':_0x21f8f8?_0x3c92f2:_0x4b30c0[_0x1beb20(_0x12c180._0x38b1ad,0x340,0x46b,0x366)](_0x3c92f2),'pattern':_0x1ead1f[_0x2a09c4(_0x12c180._0x43af9a,0x46f,0x599,_0x12c180._0x46a46f)],'glob':_0x21f8f8?_0x1ead1f[_0x2a09c4(0x615,0x4e0,_0x12c180._0x18d8cc,0x709)]:void 0x0,'limit':_0x3dfb10,'file':_0x5e94e2?_0x3c92f2:void 0x0,'context':_0x1ead1f[_0x1beb20(_0x12c180._0x2ac893,_0x12c180._0x43346a,_0x12c180._0x339a44,_0x12c180._0x449fae)]}),_0x513567=new Map();for(const _0x3a16fb of _0x2f8b95){if(!_0x513567['has'](_0x3a16fb[_0x1beb20(0xbd,_0x12c180._0x227c84,0x153,0x1b3)])){const _0x4523ec=await _0x101270(_0x3a16fb[_0x1beb20(0x1b4,0x274,_0x12c180._0x5e208f,0x1b3)])[_0x1beb20(_0x12c180._0x4707b9,0x166,0x20c,0x200)](()=>null);_0x513567[_0x1beb20(0x332,0x3c8,0x38c,0x367)](_0x3a16fb['filePath'],{'matches':[],'mtime':_0x4523ec?.[_0x1beb20(_0x12c180._0x55eda1,_0x12c180._0x31627e,_0x12c180._0x4d0c2b,_0x12c180._0x34e5dd)]??0x0});}_0x513567[_0x2a09c4(_0x12c180._0x262670,0x333,0x327,_0x12c180._0x3555b8)](_0x3a16fb['filePath'])?.[_0x2a09c4(0x39c,0x36f,0x46a,0x50c)][_0x2a09c4(_0x12c180._0x3906df,_0x12c180._0x3d96cb,0x320,_0x12c180._0x1ff61d)](_0x3a16fb);}const _0x1d9bd9=[..._0x513567['entries']()]['sort']((_0x293d63,_0x4aeaa6)=>_0x4aeaa6[0x1]['mtime']-_0x293d63[0x1][_0x1beb20(0x3f6,0x320,0x4ca,0x3c2)]),_0x32aab0=_0x2f8b95[_0x1beb20(0x189,0x309,0x22e,_0x12c180._0x237313)](_0x3eb031=>!_0x3eb031[_0x1beb20(0x238,0x10f,0x123,0x138)])[_0x1beb20(0x2a9,_0x12c180._0x38d2da,0x30a,0x231)],_0x17327a=_0x2f8b95[_0x1beb20(0xc2,0x26c,0x232,0x231)]>=_0x3dfb10,_0x4ecb7d=_0x5e94e2?_0x4b30c0[_0x2a09c4(0x54c,0x69e,_0x12c180._0x205fb5,0x491)](_0x3c92f2):_0x3c92f2;let _0xd7ce7='';if(_0x2f8b95[_0x2a09c4(0x486,_0x12c180._0x1c056a,0x43c,0x55c)]===0x0)_0xd7ce7='No\x20matches\x20found\x20for\x20pattern:\x20'+_0x1ead1f[_0x1beb20(_0x12c180._0x53ac04,0x30a,0x508,0x38e)];else{_0xd7ce7=_0x1beb20(0x370,0x454,0x249,_0x12c180._0x3957d8)+_0x32aab0+_0x1beb20(0x36f,0x40b,_0x12c180._0x4e17af,0x3ec)+(_0x32aab0===0x1?'':'es')+'\x0a';for(const [_0x3277b3,_0x3825d8]of _0x1d9bd9){const _0x1aec0b=_0x5e94e2?_0x4b30c0['basename'](_0x3277b3):_0x4b30c0[_0x1beb20(0x1a6,0x1bb,0x15b,0x17b)](_0x4ecb7d,_0x3277b3);_0xd7ce7+='\x0a'+_0x1aec0b+':\x0a';for(const _0x102c24 of _0x3825d8[_0x1beb20(_0x12c180._0x1b110e,0x390,0x1a2,_0x12c180._0x2ac893)]){const _0x4588bc=_0x102c24[_0x1beb20(_0x12c180._0x12711b,_0x12c180._0x8bbba5,_0x12c180._0x4e17af,_0x12c180._0x1caf9c)]['length']>MAX_LINE_LENGTH?_0x102c24['lineText'][_0x1beb20(_0x12c180._0x295593,_0x12c180._0x50ba33,0x19c,_0x12c180._0x372fd4)](0x0,MAX_LINE_LENGTH)+_0x2a09c4(0x323,_0x12c180._0xf6e33b,0x3b6,_0x12c180._0x2040cd):_0x102c24['lineText'],_0x3cd22f=_0x102c24[_0x1beb20(0x296,0x147,0x214,_0x12c180._0x1ad9a2)]?'\x20\x20':'>\x20';_0xd7ce7+=_0x3cd22f+_0x1beb20(-0x34,_0x12c180._0x34c30c,_0x12c180._0x501234,_0x12c180._0x5c5d33)+_0x102c24['lineNum']+':\x20'+_0x4588bc+'\x0a';}}_0x17327a&&(_0xd7ce7+=_0x1beb20(0x20d,_0x12c180._0x3b3649,_0x12c180._0x456dc8,0x35e));}const _0x5ced94={'searchPath':_0x4b30c0[_0x2a09c4(0x2a9,_0x12c180._0x326012,0x386,0x402)](_0x132460,_0x3c92f2)||'.','pattern':_0x1ead1f['pattern'],'matchCount':_0x32aab0,'fileCount':_0x513567[_0x1beb20(_0x12c180._0x20742a,0x2d5,_0x12c180._0x306852,_0x12c180._0x41573b)],'truncated':_0x17327a};return _0x21f8f8&&_0x1ead1f[_0x1beb20(0x247,0x283,0x226,0x385)]!==void 0x0&&(_0x5ced94[_0x1beb20(0x3ec,_0x12c180._0x4071f1,0x2f9,_0x12c180._0x3489e7)]=_0x1ead1f[_0x2a09c4(0x530,_0x12c180._0x391e99,0x590,_0x12c180._0x23089a)]),yield createToolOutput(_0xd7ce7[_0x1beb20(0x1fd,0x0,_0x12c180._0x3eb4e9,0xfe)](),_0x5ced94),void 0x0;}});}function createKillShellTool(_0x122535){const _0x391b02={_0x3ce45c:0x4a,_0x53ddc8:0x32,_0x3ad7c5:0x65,_0x8fb16b:0x6a,_0x2c5bb0:0x47,_0x40c11e:0x1d,_0x4cee78:0x142,_0x48f9b3:0x49},_0x5800b2={_0x5d6610:0x12b,_0x4c9744:0x2d4,_0x6fa902:0x461,_0x8cf796:0x5b7,_0x51b89f:0x58c,_0x309adf:0x584,_0x242414:0x34c,_0x33d797:0x1bc,_0x20cf7e:0x44b,_0x26f9c4:0x2a8,_0x5ca827:0x35b,_0x328b1c:0xd9,_0x5bc572:0x22f,_0x52bc00:0x1cf},_0x4df98e={_0x2c34f3:0x1af,_0x1ae0ad:0xdc},_0x707c4f={_0x22afe0:0x2b8,_0x32ab7e:0xa5},_0x19bfff={_0x19f8e8:0x18a},_0x32b967={_0x47bf02:0xcd},{registry:_0x326c53}=_0x122535;function _0x44eba7(_0x1718b8,_0x1e8ffa,_0xa562c5,_0x233202){return _0x199ce4(_0x1e8ffa- -_0x32b967._0x47bf02,_0x1e8ffa-0x1d9,_0x1718b8,_0x233202-0x14e);}function _0x3a3e5f(_0x4babf9,_0x38b8fe,_0x366005,_0x3c37c2){return _0x199ce4(_0x366005- -0x55,_0x38b8fe-_0x19bfff._0x19f8e8,_0x38b8fe,_0x3c37c2-0x171);}return defineTool({'name':_0x44eba7(-0x100,-0x122,-_0x391b02._0x3ce45c,-_0x391b02._0x53ddc8),'description':_0x3a3e5f(-_0x391b02._0x3ad7c5,-0x3f,0x6b,0xc6),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x44eba7(-_0x391b02._0x8fb16b,-_0x391b02._0x2c5bb0,_0x391b02._0x40c11e,0x88)}},'required':[_0x44eba7(-_0x391b02._0x4cee78,-0x4e,-_0x391b02._0x48f9b3,-0x193)]},async *'execute'(_0x31157a){function _0x1f3049(_0xffaeb1,_0x1cad0c,_0x590a46,_0x5856f9){return _0x3a3e5f(_0xffaeb1-0x16f,_0x5856f9,_0x590a46-_0x707c4f._0x22afe0,_0x5856f9-_0x707c4f._0x32ab7e);}function _0x389f5b(_0x465f03,_0x38ff50,_0x3b0c48,_0x9d6c21){return _0x44eba7(_0x38ff50,_0x465f03-0x4af,_0x3b0c48-_0x4df98e._0x2c34f3,_0x9d6c21-_0x4df98e._0x1ae0ad);}const _0x14565a=_0x326c53[_0x1f3049(0x10e,_0x5800b2._0x5d6610,0x277,_0x5800b2._0x4c9744)](_0x31157a[_0x389f5b(_0x5800b2._0x6fa902,_0x5800b2._0x8cf796,_0x5800b2._0x51b89f,_0x5800b2._0x309adf)]);return createToolOutput('Killed\x20'+_0x31157a[_0x1f3049(_0x5800b2._0x242414,_0x5800b2._0x33d797,0x2e2,_0x5800b2._0x20cf7e)]+_0x1f3049(0x23c,0x3eb,0x30e,0x1ef)+_0x14565a['status']+').',{'shellId':_0x31157a[_0x1f3049(0x1a9,_0x5800b2._0x26f9c4,0x2e2,0x175)],'status':_0x14565a[_0x1f3049(_0x5800b2._0x5ca827,_0x5800b2._0x328b1c,_0x5800b2._0x5bc572,0x124)],'exitCode':_0x14565a[_0x1f3049(0x390,0x35a,0x2ca,_0x5800b2._0x52bc00)],'signal':_0x14565a['signal']});}});}import{readdir as _0x5418b4,readFile as _0x504c40,stat as _0x1ea8bd}from'fs/promises';import*as _0x4e03ac from'path';import*as _0x5d1f27 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x42ce62,_0x2bb32c){const _0x398335={_0x5ac134:0x19e,_0x119e3b:0xfc,_0x44ea1d:0x106,_0x4878f7:0x2f9,_0x3b840f:0x228,_0x29c676:0x20d},_0x6f7207={_0x2f2641:0x95},_0x3255d0={_0x55947d:0x249,_0x21ce34:0x112};if(_0x2bb32c>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x36ed61(_0x9cc148,_0x2edfb2,_0xed7f49,_0x5d10b5){return _0x199ce4(_0x5d10b5-_0x3255d0._0x55947d,_0x2edfb2-0xda,_0x9cc148,_0x5d10b5-_0x3255d0._0x21ce34);}function _0x559d0f(_0x399c55,_0x273a3c,_0x163349,_0x2a3065){return _0x199ce4(_0x2a3065-0x2aa,_0x273a3c-0xf,_0x273a3c,_0x2a3065-_0x6f7207._0x2f2641);}const _0x39c743=await _0x504c40(_0x42ce62)['catch'](()=>null);if(!_0x39c743||isProbablyBinary(_0x39c743))return void 0x0;return _0x39c743[_0x36ed61(_0x398335._0x5ac134,_0x398335._0x119e3b,_0x398335._0x44ea1d,0x230)](_0x559d0f(0x269,_0x398335._0x4878f7,0x2a7,0x2ec))['split'](/\r?\n/)[_0x36ed61(0x143,_0x398335._0x3b840f,0x20a,_0x398335._0x29c676)];}function createLsTool(_0x4e66e2={}){const _0xd80224={_0x5b03a6:0x524,_0x498a1a:0x4f1,_0x568002:0x3a6,_0x5d0921:0x486,_0x3dbb91:0x24c,_0x3192c7:0x53b,_0x3d60b4:0x623,_0x211eca:0x515,_0x965ba3:0x738},_0x477ce6={_0x46091c:0x155,_0x310dc0:0xd2,_0xba35f8:0x556,_0x1e94ea:0x553,_0x318a47:0x52,_0x13dc40:0x74,_0x51eb91:0x441,_0x2168de:0x3bc,_0x589df1:0x585,_0x22bc78:0x4c2,_0x34a598:0x458,_0x4a9adb:0x5ac,_0x2fa5bc:0x293,_0x2cc54e:0x360,_0xd55687:0x9b,_0x1cc332:0x1f2,_0x188872:0x1ea,_0x1479a9:0x46a,_0x4667cc:0x5fa,_0x36e27a:0x4b6,_0x1a6849:0x5b8,_0x5b3463:0x43f,_0x2b2d4f:0x438,_0x54b7be:0xda,_0x2dd145:0xe5,_0x51c90c:0x61,_0x53304c:0x41d,_0x3cc627:0x209,_0x2824aa:0xb3,_0x54ccba:0x367,_0x51430b:0x38a,_0x1b2566:0x3ce,_0x237ab3:0x153,_0x522fda:0xc0,_0x50e957:0xcf,_0x19ec93:0x62,_0x5b86a3:0x77,_0x59ca7c:0x7a,_0x332c61:0xf0,_0x11a00d:0x5c,_0x3cc624:0xd1,_0x436dc6:0x1b3,_0x16247e:0x571,_0x1a8a90:0x5b7,_0x13b16b:0x86,_0x203c7d:0xe4,_0x39acf7:0x5c,_0xfdb75d:0x6c,_0x2457e7:0x113,_0x1cc733:0x16a,_0x2476ba:0x3,_0x2032e1:0x53},_0x241d94={_0xf60e95:0x122,_0x5b3cfa:0x337,_0x5a54e5:0x12c},_0x3997a0={_0x501cac:0x174},_0x4b9e9f={_0x99dd01:0x3cf,_0x53d97d:0x73,_0x24aef9:0x1cd},_0x3d334f={_0x52b9e4:0x38,_0x385617:0x88},_0x5a89e7=_0x4e03ac['resolve'](_0x4e66e2[_0x31bde7(0x59c,_0xd80224._0x5b03a6,_0xd80224._0x498a1a,0x58f)]??process[_0x3e9f29(0x4e7,0x46e,_0xd80224._0x568002,0x386)]());function _0x31bde7(_0x262492,_0x38d948,_0x2b8cda,_0x34c4fc){return _0x26f978(_0x262492-_0x3d334f._0x52b9e4,_0x38d948-_0x3d334f._0x385617,_0x38d948-0x32a,_0x34c4fc);}const _0x5a0d19=_0x4e66e2[_0x3e9f29(0x372,_0xd80224._0x5d0921,0x33c,0x592)]??[];function _0x3e9f29(_0x146c80,_0xe3f2e2,_0x50ed93,_0x856185){return _0x199ce4(_0xe3f2e2-_0x4b9e9f._0x99dd01,_0xe3f2e2-_0x4b9e9f._0x53d97d,_0x856185,_0x856185-_0x4b9e9f._0x24aef9);}const _0x1a62c8=_0x4e66e2[_0x3e9f29(0x29e,0x30f,_0xd80224._0x3dbb91,0x2ff)]??'Ls';return defineTool({'name':_0x1a62c8,'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x3e9f29(0x421,_0xd80224._0x3192c7,_0xd80224._0x3d60b4,_0xd80224._0x211eca),'properties':{'path':{'type':'string'},'limit':{'type':_0x31bde7(_0xd80224._0x965ba3,0x6b6,0x7aa,0x77d)}}},async *'execute'(_0x89c170){const _0x20b19c=_0x89c170[_0x3469a1(-0x8c,-_0x477ce6._0x46091c,0xaf,-0x5a)]??'.',_0x176f47=resolveAllowedPath(_0x5a89e7,_0x5a0d19,_0x20b19c),_0x117d0c=await _0x1ea8bd(_0x176f47)[_0x3469a1(0x2b,_0x477ce6._0x310dc0,0x76,0x58)](()=>null);if(!_0x117d0c?.[_0x3469a1(0x1ad,0x1db,0x1dc,0x296)]())throw new ToolExecutionError(_0x3b76ca(0x4d1,0x532,_0x477ce6._0xba35f8,_0x477ce6._0x1e94ea)+_0x20b19c,{'path':_0x20b19c});const _0x122b7c=_0x89c170[_0x3469a1(_0x477ce6._0x318a47,-_0x477ce6._0x13dc40,0xcf,0xd0)]??0x3e8,_0x3e172f=Math['min'](Math[_0x3b76ca(_0x477ce6._0x51eb91,0x407,0x4be,_0x477ce6._0x2168de)](Math['trunc'](_0x122b7c),0x1),0x2710),_0x13fdae=await _0x5418b4(_0x176f47);function _0x3b76ca(_0x581a91,_0x40d270,_0x40bec9,_0x31a126){return _0x31bde7(_0x581a91-_0x3997a0._0x501cac,_0x40bec9- -0x165,_0x40bec9-0xbe,_0x581a91);}const _0x37b29c=[];for(const _0x34a75a of _0x13fdae[_0x3b76ca(_0x477ce6._0x589df1,_0x477ce6._0x22bc78,_0x477ce6._0x34a598,_0x477ce6._0x4a9adb)](0x0,_0x3e172f)){const _0x176b0d=_0x4e03ac['join'](_0x176f47,_0x34a75a),_0x160aee=await _0x1ea8bd(_0x176b0d)[_0x3b76ca(_0x477ce6._0x2fa5bc,_0x477ce6._0x2cc54e,0x3da,0x329)](()=>null);if(!_0x160aee)continue;let _0x4168ae=_0x3469a1(0xc6,_0x477ce6._0xd55687,_0x477ce6._0x1cc332,_0x477ce6._0x188872);if(_0x160aee[_0x3b76ca(_0x477ce6._0x1479a9,_0x477ce6._0x4667cc,_0x477ce6._0x36e27a,0x4f7)]())_0x4168ae=_0x3b76ca(0x5c7,0x587,_0x477ce6._0x1a6849,0x5ca);else{if(_0x160aee['isDirectory']())_0x4168ae=_0x3b76ca(0x42a,_0x477ce6._0x5b3463,0x468,_0x477ce6._0x2b2d4f);else{if(_0x160aee['isSymbolicLink']())_0x4168ae=_0x3469a1(-_0x477ce6._0x54b7be,-_0x477ce6._0x2dd145,_0x477ce6._0x51c90c,-0x189);}}const _0xca18df={'name':_0x34a75a,'type':_0x4168ae,'size':_0x160aee['size'],'mtime':_0x160aee['mtimeMs'],'mode':_0x160aee[_0x3b76ca(0x20d,_0x477ce6._0x53304c,0x382,0x461)]},_0x4fbea3=_0x4168ae===_0x3469a1(_0x477ce6._0x3cc627,0x136,_0x477ce6._0x2824aa,0x299)?await countTextLines(_0x176b0d,_0x160aee[_0x3b76ca(0x451,_0x477ce6._0x54ccba,_0x477ce6._0x51430b,_0x477ce6._0x1b2566)]):void 0x0;if(_0x4fbea3!==void 0x0)_0xca18df[_0x3469a1(_0x477ce6._0x237ab3,0x1bc,0x1ac,0x8a)]=_0x4fbea3;_0x37b29c[_0x3469a1(-_0x477ce6._0x522fda,0x8b,-_0x477ce6._0x50e957,-0xc6)](_0xca18df);}_0x37b29c[_0x3469a1(_0x477ce6._0x19ec93,-0xa3,-_0x477ce6._0x5b86a3,0x130)]((_0x459c1e,_0x334ca5)=>_0x459c1e[_0x3469a1(-0x28,0xab,-0x196,-0x1a0)][_0x3469a1(0x12f,0x1ac,0x234,0x2d)](_0x334ca5[_0x3469a1(-0x28,-0xb4,-0x67,-0x18)]));function _0x3469a1(_0x2cea50,_0xe6388c,_0x5a5a2a,_0x47f291){return _0x3e9f29(_0x2cea50-_0x241d94._0xf60e95,_0x2cea50- -_0x241d94._0x5b3cfa,_0x5a5a2a-_0x241d94._0x5a54e5,_0x47f291);}const _0x528692={'path':_0x20b19c,'total':_0x37b29c[_0x3469a1(0x5c,-_0x477ce6._0x59ca7c,0x124,-_0x477ce6._0x332c61)],'truncated':_0x13fdae[_0x3469a1(_0x477ce6._0x11a00d,0xf6,_0x477ce6._0x3cc624,_0x477ce6._0x436dc6)]>_0x3e172f,'entries':_0x37b29c};return yield createToolOutput(_0x5d1f27[_0x3b76ca(0x442,_0x477ce6._0x16247e,_0x477ce6._0x1a8a90,0x4a4)](_0x528692,{'indent':0x2,'lineWidth':0x0})[_0x3469a1(-_0x477ce6._0x13b16b,-0x97,_0x477ce6._0x203c7d,0xaf)](),{'path':_0x20b19c,'total':_0x37b29c[_0x3469a1(_0x477ce6._0x39acf7,-0x45,-_0x477ce6._0xfdb75d,-_0x477ce6._0x2457e7)],'truncated':_0x13fdae[_0x3469a1(0x5c,_0x477ce6._0x1cc733,-_0x477ce6._0x2476ba,-_0x477ce6._0x2032e1)]>_0x3e172f,'limit':_0x3e172f,'entries':_0x37b29c}),void 0x0;}});}import{stat as _0x28d3f5}from'fs/promises';import _0x95a5d9 from'path';import{fileURLToPath as _0x260fb8}from'url';function severityName(_0x37304b){const _0x59daa7={_0x3671b2:0x160,_0x342aa5:0xfe,_0x3617a9:0x45,_0x1a2105:0x1b1,_0x33f432:0x3d},_0x25a3b6={_0x59d0e9:0x65,_0x50936b:0x18d,_0x18dbf1:0x1a},_0x278717={_0x2a3a30:0x22,_0x45e211:0x2e8};function _0x182fd9(_0x389ea5,_0x256c1d,_0x4e9c77,_0x5a4ad2){return _0x26f978(_0x389ea5-0x189,_0x256c1d-_0x278717._0x2a3a30,_0x5a4ad2- -_0x278717._0x45e211,_0x389ea5);}function _0x3d14d7(_0xa3246e,_0x24aa4c,_0x420d71,_0x44b530){return _0x199ce4(_0x44b530- -_0x25a3b6._0x59d0e9,_0x24aa4c-_0x25a3b6._0x50936b,_0xa3246e,_0x44b530-_0x25a3b6._0x18dbf1);}switch(_0x37304b){case 0x1:return _0x3d14d7(-_0x59daa7._0x3671b2,-_0x59daa7._0x342aa5,-0x1eb,-0x180);case 0x2:return'Warning';case 0x3:return _0x3d14d7(_0x59daa7._0x3617a9,0x18b,_0x59daa7._0x1a2105,_0x59daa7._0x33f432);case 0x4:return'Hint';default:return'Diagnostic';}}function formatSingleHover(_0x5ad92f){const _0x1a4473={_0x106a96:0x29e,_0x52d906:0x1b1,_0x2e9153:0x209,_0x46f47d:0x165,_0x320322:0x12f,_0x2371c9:0xbf,_0x4de3d3:0xf4,_0x2f57df:0xc1,_0x1ef31b:0xbc,_0x4025fc:0x194,_0x3e48cf:0x145,_0x2d33d6:0x11d,_0x151f16:0x14c,_0x42d081:0x239,_0x4ffd12:0xde,_0x23d612:0xa7,_0x5a27dc:0x1ea,_0x12ddcb:0xa8,_0x11575f:0x73,_0x4faf77:0xd,_0x3882a3:0xf5,_0x129afb:0xe9,_0xfcb723:0x229,_0x12498c:0x1b4,_0xe49ae0:0x179,_0x3b84df:0x152},_0x7fa44f={_0x171ffc:0xb2,_0x567305:0xdc},_0x51489a={_0x58b7c7:0x145},_0x29c3c7=_0x5ad92f[_0x534b37(_0x1a4473._0x106a96,_0x1a4473._0x52d906,_0x1a4473._0x2e9153,0x294)];function _0x534b37(_0x3836d1,_0x5bb959,_0x20907a,_0x4ed4d1){return _0x26f978(_0x3836d1-0x1d1,_0x5bb959-_0x51489a._0x58b7c7,_0x20907a- -0x1b3,_0x5bb959);}if(typeof _0x29c3c7===_0x534b37(0xf6,_0x1a4473._0x46f47d,0x155,0x123))return _0x29c3c7;if(Array[_0x534b37(0x13e,_0x1a4473._0x320322,_0x1a4473._0x2371c9,_0x1a4473._0x4de3d3)](_0x29c3c7))return _0x29c3c7[_0x534b37(0x1cc,_0x1a4473._0x2f57df,_0x1a4473._0x1ef31b,_0x1a4473._0x4025fc)](_0x195780=>typeof _0x195780==='string'?_0x195780:_0x195780[_0x72fae7(0x50,0x74,0xa8,-0x87)])[_0x72fae7(-_0x1a4473._0x3e48cf,-_0x1a4473._0x2d33d6,-0x16e,-_0x1a4473._0x151f16)](Boolean)[_0x72fae7(-_0x1a4473._0x42d081,-_0x1a4473._0x4ffd12,-0x100,-0xe7)]('\x0a\x0a');if('kind'in _0x29c3c7)return _0x29c3c7[_0x72fae7(_0x1a4473._0x23d612,_0x1a4473._0x5a27dc,_0x1a4473._0x12ddcb,0x14a)];function _0x72fae7(_0x45e576,_0x24a4ab,_0x25d415,_0x244a0c){return _0x199ce4(_0x25d415- -_0x7fa44f._0x171ffc,_0x24a4ab-_0x7fa44f._0x567305,_0x24a4ab,_0x244a0c-0x182);}return _0x29c3c7[_0x534b37(_0x1a4473._0x11575f,0x155,0x135,0x256)]?_0x72fae7(0xc,_0x1a4473._0x4faf77,-_0x1a4473._0x3882a3,-_0x1a4473._0x42d081)+_0x29c3c7['language']+'\x0a'+_0x29c3c7[_0x534b37(_0x1a4473._0x129afb,0x26c,_0x1a4473._0xfcb723,_0x1a4473._0x12498c)]+_0x534b37(0xd3,_0x1a4473._0xe49ae0,0x16a,_0x1a4473._0x3b84df):_0x29c3c7['value'];}function formatHover(_0x3f34c2){const _0x30aef3={_0xaa8ef:0x213,_0x502bd6:0x209,_0x5b8cbe:0x282,_0x4cc80e:0x244,_0x432c0a:0x185,_0x3866a8:0x24e,_0x33c497:0x175,_0x29fb28:0x22f,_0x5ba19a:0x80,_0x827e90:0x370,_0x4f4365:0x13b,_0x3a7d74:0x19e},_0x34a32b={_0xd8d1ac:0xbd},_0x54667d={_0x249d68:0xd9,_0x11bcbc:0xd0};function _0x2df129(_0x20d76c,_0x32cfa1,_0x23f0b5,_0x22bfda){return _0x199ce4(_0x32cfa1-0x198,_0x32cfa1-_0x54667d._0x249d68,_0x23f0b5,_0x22bfda-_0x54667d._0x11bcbc);}if(_0x3f34c2[_0x2df129(0x46,0x15c,0x13b,_0x30aef3._0xaa8ef)]===0x0)return _0x2df129(_0x30aef3._0x502bd6,_0x30aef3._0x5b8cbe,0x196,0x187);function _0x485fde(_0x47768a,_0x4aa354,_0x59fe4e,_0x2b024d){return _0x26f978(_0x47768a-0x13f,_0x4aa354-0x96,_0x2b024d- -_0x34a32b._0xd8d1ac,_0x59fe4e);}return _0x3f34c2[_0x2df129(_0x30aef3._0x4cc80e,_0x30aef3._0x432c0a,_0x30aef3._0x3866a8,_0x30aef3._0x33c497)](formatSingleHover)[_0x485fde(_0x30aef3._0x29fb28,0x10c,_0x30aef3._0x5ba19a,0x177)](_0x2df129(_0x30aef3._0x827e90,0x27f,_0x30aef3._0x4f4365,_0x30aef3._0x3a7d74));}function locationPath(_0x4818a8){const _0x1e90c6={_0x1cb372:0x2a9,_0x120b89:0x1b2};function _0x1ebf55(_0x5c28e0,_0x419f79,_0x188fe2,_0x4078a8){return _0x199ce4(_0x188fe2- -0xc8,_0x419f79-0x133,_0x419f79,_0x4078a8-0xab);}if(!_0x4818a8[_0x1ebf55(-0xca,-_0x1e90c6._0x1cb372,-_0x1e90c6._0x120b89,-0x1e8)]('file://'))return _0x4818a8;return _0x260fb8(_0x4818a8);}function formatLocations(_0x4440e2){const _0x3fc4e1={_0x582c1f:0x315,_0x1dd858:0x325,_0x366467:0x314,_0x18c0a0:0x3ee,_0x168742:0x4a2,_0x2e112e:0x44c},_0x2e89ee={_0x2d40b4:0x4bf,_0x43ecc3:0x40a,_0x49c168:0x3df,_0x38e050:0x5c,_0x4c2064:0x41,_0x3436a4:0x130,_0xa35205:0x3c3,_0x34bd62:0x21f,_0x1c3d3e:0x1c5,_0x3764a7:0xa9,_0x3cbd1d:0xc2,_0x7f878a:0xce},_0x3bebda={_0x31700b:0x33,_0x163cd8:0xf4},_0x16aaec={_0x36562b:0x1ab,_0x2ecb66:0x3a};function _0x338786(_0x1664c4,_0x4ecd45,_0x3cc90d,_0x59ca32){return _0x199ce4(_0x59ca32-0x40b,_0x4ecd45-_0x16aaec._0x36562b,_0x4ecd45,_0x59ca32-_0x16aaec._0x2ecb66);}if(_0x4440e2[_0x338786(0x454,_0x3fc4e1._0x582c1f,0x523,0x3cf)]===0x0)return _0x338786(0x318,0x31a,_0x3fc4e1._0x1dd858,_0x3fc4e1._0x366467);function _0xdd18e2(_0x2b9f45,_0x2070d8,_0x318a12,_0x2555df){return _0x199ce4(_0x2b9f45-0x37f,_0x2070d8-_0x3bebda._0x31700b,_0x2070d8,_0x2555df-_0x3bebda._0x163cd8);}return _0x4440e2[_0xdd18e2(0x36c,_0x3fc4e1._0x18c0a0,0x3cc,_0x3fc4e1._0x168742)](_0x10ff74=>{const _0x44b816=_0x10ff74[_0x3c7345(0x3d2,_0x2e89ee._0x2d40b4,_0x2e89ee._0x43ecc3,_0x2e89ee._0x49c168)][_0x574b54(-_0x2e89ee._0x38e050,_0x2e89ee._0x4c2064,0x96,-_0x2e89ee._0x3436a4)];function _0x574b54(_0x56be21,_0x256c8e,_0x2579f5,_0xfaca09){return _0x338786(_0x56be21-0x19d,_0xfaca09,_0x2579f5-0x1ed,_0x56be21- -0x4d3);}function _0x3c7345(_0x317b65,_0x3a58ae,_0x26e75a,_0x393970){return _0xdd18e2(_0x317b65-0xcd,_0x26e75a,_0x26e75a-0xf6,_0x393970-0x8a);}return locationPath(_0x10ff74[_0x3c7345(0x385,0x451,_0x2e89ee._0xa35205,0x4f0)])+':'+(_0x44b816[_0x574b54(-_0x2e89ee._0x34bd62,-0x2c1,-_0x2e89ee._0x1c3d3e,-0x2a4)]+0x1)+':'+(_0x44b816[_0x574b54(-_0x2e89ee._0x3764a7,-0x109,-_0x2e89ee._0x3cbd1d,-_0x2e89ee._0x7f878a)]+0x1);})[_0xdd18e2(0x331,_0x3fc4e1._0x2e112e,0x27c,0x463)]('\x0a');}function isDocumentSymbol(_0x35fba5){const _0x4e51dc={_0x4f9e7f:0x63,_0xfb654f:0x4,_0x8d226d:0xe1},_0x5ec3f5={_0x1beeb3:0x36,_0x248d6a:0xe9,_0x157f8d:0x1a6};function _0x10ea4a(_0x49cd02,_0x1a4467,_0x51edb4,_0x151695){return _0x199ce4(_0x49cd02- -_0x5ec3f5._0x1beeb3,_0x1a4467-_0x5ec3f5._0x248d6a,_0x51edb4,_0x151695-_0x5ec3f5._0x157f8d);}return'range'in _0x35fba5&&_0x10ea4a(-_0x4e51dc._0x4f9e7f,-_0x4e51dc._0xfb654f,-0x17e,_0x4e51dc._0x8d226d)in _0x35fba5;}function formatSymbols(_0x257883){const _0x4754dc={_0x392b6a:0x4d5,_0x412ecb:0x537,_0xd5a6f0:0x372,_0x5734b0:0x62e,_0x3e1490:0x41},_0x57e2fa={_0xebd2a6:0x163,_0x24b8b5:0x185,_0x4a44fa:0x145,_0x289eb2:0x236,_0x3696f7:0x2aa,_0x1d117c:0x77,_0xb54614:0x283,_0xa48615:0x29e,_0x1b3143:0xa0,_0x336a21:0x84,_0x1db5e4:0x13f,_0x406939:0xec,_0x376840:0x230,_0x170e80:0x60,_0x2fd1c3:0xa6,_0x346e1f:0x7d,_0xfbface:0x38f,_0x49034d:0x1f2,_0x3d0722:0x8f,_0x1df4d2:0x85,_0x3c893d:0x12d,_0x1b0a63:0x188,_0x209f49:0xb3,_0x1897a1:0xb2,_0x1cc5dc:0x13f,_0x1af2ad:0x217,_0x4d830c:0xc7,_0x28c123:0x27,_0x2bcd55:0x28e,_0x3a34c1:0x13f,_0x5f52ad:0x1df},_0x1bb335={_0xe6bc0:0x143,_0x2b1afc:0x60},_0x287ec2={_0x4e881a:0x11,_0x348d18:0x26a},_0x871e26={_0x2f4007:0x511,_0x435f15:0x15c,_0x4db486:0x122};function _0x578e90(_0x30f258,_0x41b6f9,_0x500c5d,_0xfbdaf0){return _0x199ce4(_0x30f258-_0x871e26._0x2f4007,_0x41b6f9-_0x871e26._0x435f15,_0x41b6f9,_0xfbdaf0-_0x871e26._0x4db486);}if(_0x257883[_0x578e90(_0x4754dc._0x392b6a,_0x4754dc._0x412ecb,_0x4754dc._0xd5a6f0,0x631)]===0x0)return _0x578e90(0x5c7,_0x4754dc._0x5734b0,0x5d7,0x4e9);function _0x53c293(_0x54f100,_0x10efd5,_0x7c4fbe,_0x50f7d2){return _0x26f978(_0x54f100-_0x287ec2._0x4e881a,_0x10efd5-0x94,_0x50f7d2- -_0x287ec2._0x348d18,_0x10efd5);}return _0x257883[_0x53c293(0x7,0xa5,-_0x4754dc._0x3e1490,0x5)](_0x516900=>{function _0x2f983c(_0x4287ec,_0xe7eab4,_0x218ff2,_0x21c7a7){return _0x578e90(_0xe7eab4- -0x5d6,_0x218ff2,_0x218ff2-0x157,_0x21c7a7-0xfc);}if(isDocumentSymbol(_0x516900))return _0x516900[_0x2f983c(-_0x57e2fa._0xebd2a6,-_0x57e2fa._0x24b8b5,-_0x57e2fa._0x4a44fa,-0x70)]+'\x20('+_0x516900['kind']+_0x2f983c(-0x1a3,-_0x57e2fa._0x289eb2,-0x274,-_0x57e2fa._0x3696f7)+(_0x516900[_0x278402(0xb6,-0x3d,0x3b,_0x57e2fa._0x1d117c)][_0x278402(0x6b,_0x57e2fa._0xb54614,_0x57e2fa._0xa48615,0x15d)][_0x278402(-0x67,0xe3,_0x57e2fa._0x1b3143,-0x66)]+0x1)+':'+(_0x516900[_0x2f983c(-_0x57e2fa._0x336a21,-_0x57e2fa._0x1db5e4,-_0x57e2fa._0x406939,-_0x57e2fa._0x376840)]['start'][_0x2f983c(-_0x57e2fa._0x170e80,-_0x57e2fa._0x2fd1c3,-_0x57e2fa._0x346e1f,-0x1ce)]+0x1)+']';function _0x278402(_0x1781fa,_0x1de287,_0x13df7c,_0xb52b0f){return _0x53c293(_0x1781fa-_0x1bb335._0xe6bc0,_0x1781fa,_0x13df7c-_0x1bb335._0x2b1afc,_0xb52b0f-0xd9);}return _0x516900[_0x278402(0x9b,0xd3,-0x13c,0x31)]+'\x20('+_0x516900[_0x278402(0x36a,_0x57e2fa._0xfbface,_0x57e2fa._0x49034d,_0x57e2fa._0x376840)]+')\x20'+locationPath(_0x516900[_0x2f983c(_0x57e2fa._0x3d0722,-0x63,-_0x57e2fa._0x1df4d2,-0x110)][_0x2f983c(-_0x57e2fa._0x3c893d,-0x18c,-0x1d5,-0x2e4)])+':'+(_0x516900[_0x278402(_0x57e2fa._0x1b0a63,_0x57e2fa._0x209f49,-0x24,0x153)][_0x2f983c(-_0x57e2fa._0x1897a1,-_0x57e2fa._0x1cc5dc,-_0x57e2fa._0x1af2ad,-0x292)][_0x2f983c(-0x1ab,-0x59,-0xc6,-0x18d)][_0x278402(-_0x57e2fa._0x4d830c,_0x57e2fa._0x28c123,-0x174,-0x66)]+0x1)+':'+(_0x516900['location'][_0x2f983c(-_0x57e2fa._0x2bcd55,-_0x57e2fa._0x3a34c1,-0x1cc,-0x216)]['start'][_0x2f983c(-0x93,-0xa6,-_0x57e2fa._0x5f52ad,-0x85)]+0x1);})['join']('\x0a');}function formatDiagnostics(_0x2fff9c){const _0x488d53={_0x329f75:0x33e,_0x837eaa:0x51b,_0x3f4748:0x59a,_0x3c86a8:0x5ff,_0x372fa3:0x4ae,_0x53263c:0x281,_0x1f77ef:0x250,_0xfe9a8b:0x56a,_0x5000d3:0x53b},_0x43f0e8={_0x164396:0xab,_0x39c32a:0x2,_0x571dfd:0xe4,_0x177029:0x114,_0x6e9d71:0x119,_0x1c2459:0x292,_0x2b11bc:0x164,_0x42edd6:0x246,_0x2b633e:0x1ff},_0xde2c2={_0x59bd0a:0xa2},_0xdc255f={_0x2c60fd:0x86},_0x342cd0={_0x434d67:0xb2},_0x25201e={_0xc431a6:0x12};if(_0x2fff9c[_0x3e7e6c(0x258,0x375,0x105,_0x488d53._0x329f75)]===0x0)return _0x3b08ec(_0x488d53._0x837eaa,_0x488d53._0x3f4748,_0x488d53._0x3c86a8,_0x488d53._0x372fa3);function _0x3e7e6c(_0x370498,_0x3aa1dc,_0xfc10ab,_0x2aabb6){return _0x26f978(_0x370498-0x2f,_0x3aa1dc-0x55,_0x370498-_0x25201e._0xc431a6,_0xfc10ab);}function _0x3b08ec(_0x2e8422,_0x33de66,_0x1683db,_0x544c97){return _0x26f978(_0x2e8422-0xb9,_0x33de66-_0x342cd0._0x434d67,_0x2e8422-0x336,_0x33de66);}return _0x2fff9c[_0x3e7e6c(_0x488d53._0x53263c,0x184,_0x488d53._0x1f77ef,0x119)](_0x4b6534=>{const _0x33fa8b=_0x4b6534[_0x374e53(0x147,_0x43f0e8._0x164396,0xcb,-_0x43f0e8._0x39c32a)]['start'];function _0x374e53(_0x456b6e,_0x2877d2,_0x5f3a31,_0x3dba27){return _0x3b08ec(_0x5f3a31- -0x473,_0x456b6e,_0x5f3a31-0x3d,_0x3dba27-_0xdc255f._0x2c60fd);}function _0x11f271(_0x57a65b,_0x22c51c,_0x3a68f8,_0x2caff9){return _0x3e7e6c(_0x2caff9- -0x276,_0x22c51c-0x169,_0x22c51c,_0x2caff9-_0xde2c2._0x59bd0a);}return severityName(_0x4b6534[_0x374e53(0x20c,0x217,_0x43f0e8._0x571dfd,0x12e)])+'\x20['+(_0x33fa8b[_0x374e53(-0x47,-_0x43f0e8._0x177029,-0x12,-_0x43f0e8._0x6e9d71)]+0x1)+':'+(_0x33fa8b[_0x374e53(_0x43f0e8._0x1c2459,0xb0,_0x43f0e8._0x2b11bc,-0x3)]+0x1)+']\x20'+_0x4b6534[_0x374e53(0x35c,_0x43f0e8._0x42edd6,_0x43f0e8._0x2b633e,0x2e5)];})[_0x3b08ec(_0x488d53._0xfe9a8b,_0x488d53._0x5000d3,0x6dd,0x532)]('\x0a');}function formatIncomingCalls(_0x58426a){const _0x2f1588={_0x23cfa7:0xd8,_0x3b5501:0x285,_0x403aa9:0x44d,_0x32143a:0xea,_0x11e406:0x89},_0x8c3876={_0x23b6f1:0x1c5},_0x459b3e={_0x1bb47b:0x19b,_0x39c0d8:0x1c7};function _0x24cd1d(_0x10c23a,_0x123f3d,_0x373d8f,_0x18bef6){return _0x199ce4(_0x373d8f-0x31e,_0x123f3d-_0x459b3e._0x1bb47b,_0x18bef6,_0x18bef6-_0x459b3e._0x39c0d8);}function _0x419028(_0xb2d08b,_0x40b299,_0x1260df,_0x1d85ba){return _0x199ce4(_0x1260df- -0x9c,_0x40b299-0x101,_0x1d85ba,_0x1d85ba-_0x8c3876._0x23b6f1);}if(_0x58426a[_0x419028(-0x161,-0x129,-_0x2f1588._0x23cfa7,0x9d)]===0x0)return'No\x20call\x20hierarchy\x20results';return _0x58426a[_0x24cd1d(_0x2f1588._0x3b5501,0x190,0x30b,_0x2f1588._0x403aa9)](_0x357480=>_0x357480['from'][_0x24cd1d(0x389,0x130,0x25e,0x175)])[_0x419028(-0x1d4,-0x1c9,-_0x2f1588._0x32143a,-_0x2f1588._0x11e406)]('\x0a');}function formatOutgoingCalls(_0x126040){const _0x158898={_0x470167:0x14e,_0x12689f:0x5b,_0x135ac4:0x3,_0x446c54:0x6b,_0x15b95f:0x2e,_0x21a5d9:0xc8,_0x48a24a:0x477,_0x558cb5:0x557,_0x5045c9:0x3e4},_0x136894={_0x1f1493:0x49},_0x55ddcc={_0x51ef2a:0x5e,_0x1b5903:0x9f};if(_0x126040[_0x1193fc(_0x158898._0x470167,_0x158898._0x12689f,-0x126,-_0x158898._0x135ac4)]===0x0)return _0x1193fc(_0x158898._0x446c54,_0x158898._0x15b95f,0x1f,0x53);function _0x1193fc(_0x1f9396,_0x517489,_0x4120b0,_0x3ddafb){return _0x26f978(_0x1f9396-_0x55ddcc._0x51ef2a,_0x517489-_0x55ddcc._0x1b5903,_0x3ddafb- -0x249,_0x1f9396);}function _0x3e4b57(_0x1d246d,_0x3cc466,_0xade775,_0xccd7f4){return _0x199ce4(_0x1d246d-0x4ad,_0x3cc466-_0x136894._0x1f1493,_0xade775,_0xccd7f4-0xcd);}return _0x126040[_0x1193fc(0x121,0x100,_0x158898._0x21a5d9,0x26)](_0x318afa=>_0x318afa['to'][_0x1193fc(0xa1,-0x49,-0xb,-0x87)])[_0x3e4b57(0x45f,_0x158898._0x48a24a,_0x158898._0x558cb5,_0x158898._0x5045c9)]('\x0a');}function toStructured(_0x237041){const _0x12fe1d={_0x5c7baf:0x84b,_0x3c8e6b:0x91b};function _0x31b403(_0x211cce,_0x8d504e,_0x145851,_0x1ed1c5){return _0x199ce4(_0x8d504e-0x673,_0x8d504e-0x9b,_0x211cce,_0x1ed1c5-0xdf);}return JSON['parse'](JSON[_0x31b403(_0x12fe1d._0x5c7baf,0x7e3,0x8d1,_0x12fe1d._0x3c8e6b)](_0x237041));}async function assertFile(_0xcfd8a){const _0x4222a7={_0x528c22:0x677,_0x366fd4:0x41e,_0x233dd4:0x530,_0x37fb90:0x47c,_0x4157d6:0x3c,_0x34ade6:0xea},_0xac2775={_0x5233b1:0x158,_0x409cf3:0x233};function _0x3d9a27(_0x1d8509,_0x5d0d99,_0x2db98b,_0x293f80){return _0x26f978(_0x1d8509-0xdc,_0x5d0d99-_0xac2775._0x5233b1,_0x293f80- -_0xac2775._0x409cf3,_0x5d0d99);}function _0x2a9dac(_0x140bc3,_0x8da675,_0x190b35,_0x50c170){return _0x26f978(_0x140bc3-0x2,_0x8da675-0x5e,_0x190b35-0x23f,_0x8da675);}const _0x555e2d=await _0x28d3f5(_0xcfd8a);if(!_0x555e2d[_0x2a9dac(_0x4222a7._0x528c22,_0x4222a7._0x366fd4,_0x4222a7._0x233dd4,_0x4222a7._0x37fb90)]())throw new ToolExecutionError(_0x3d9a27(-0x46,_0x4222a7._0x4157d6,-0x64,-_0x4222a7._0x34ade6)+_0xcfd8a,{'path':_0xcfd8a});}function validatePosition(_0x474bda,_0x1759f1){const _0x235f43={_0x3b5de3:0x21d,_0xa8bcaf:0x1e7,_0x9e7b7c:0x24d,_0xd262e5:0xa6,_0x2bdeeb:0x2,_0x1cc0bf:0x1b2,_0x5465b5:0x197},_0x357316={_0x1ca3e7:0x158},_0x4576ba={_0x1811f0:0x7b,_0x3e2d17:0x12};function _0x58d1ef(_0x3c1e9d,_0x403476,_0x16f374,_0x50cc28){return _0x199ce4(_0x50cc28- -0x6e,_0x403476-_0x4576ba._0x1811f0,_0x403476,_0x50cc28-_0x4576ba._0x3e2d17);}function _0x1e5f15(_0xb54cf0,_0x1ddef6,_0x4ea580,_0x83027e){return _0x26f978(_0xb54cf0-0x17d,_0x1ddef6-_0x357316._0x1ca3e7,_0x1ddef6- -0x10b,_0x4ea580);}if(!Number[_0x1e5f15(_0x235f43._0x3b5de3,_0x235f43._0xa8bcaf,_0x235f43._0x9e7b7c,0x1a9)](_0x474bda)||_0x474bda<0x1)throw new ToolExecutionError(_0x58d1ef(0xc,-0x1d7,-0xe2,-0x13d),{'line':_0x474bda});if(!Number[_0x58d1ef(-0x178,-0x138,_0x235f43._0xd262e5,_0x235f43._0x2bdeeb)](_0x1759f1)||_0x1759f1<0x1)throw new ToolExecutionError(_0x58d1ef(-0x26,-_0x235f43._0x1cc0bf,-_0x235f43._0x5465b5,-0xfc),{'character':_0x1759f1});}function createLspTool(_0x3735f1={}){const _0x3ea294={_0x4829a1:0x62d,_0x1c06b0:0x613,_0x13d9cb:0x6f3,_0x5c3bf1:0x84a,_0x25bf01:0x75f,_0x258fae:0x847,_0x11ac52:0x4b4,_0x18dea8:0x43a,_0x266cf3:0x408,_0x5ac596:0x42e,_0x4fe36f:0x6b0,_0x411c3b:0x645,_0x4d76c8:0x74c,_0x2b4696:0x6c4,_0x514389:0x82f,_0x322f73:0x6aa,_0xc1d7bd:0x790,_0x2bda5b:0x746,_0x1c3ebb:0x4a4,_0x532cf3:0x5f8,_0x295c64:0x47f,_0xeaf2da:0x73a,_0x2d9f19:0x630,_0x14c0ef:0x60e,_0x48df80:0x547,_0x20caee:0x524,_0x38e79c:0x5f6,_0x471cd4:0x5cb,_0x2a89f5:0x6e3,_0x5a4e97:0x655,_0x3bfb05:0x55b,_0x46ef86:0x6f7,_0x46a994:0x711,_0x1c9499:0x6d9,_0x3479de:0x4ba,_0x58e27a:0x3fa,_0x4524fa:0x5f9,_0x46664f:0x4c9,_0x4a71db:0x53f},_0x25fc9c={_0x35c451:0xf8,_0x15ef1e:0x16a,_0x49ea04:0x583,_0x5920a3:0x377,_0x292a54:0x334,_0x4a4cce:0x3af,_0x257e6d:0x381,_0x85cb0f:0x3b9,_0xbdc12f:0x3d4,_0x355e90:0x496,_0x23f600:0x1c0,_0x35615d:0x784,_0x32b370:0x5e7,_0x240c56:0x6c1,_0x3ff184:0x641,_0x199bae:0x3a,_0x50c1b8:0xe,_0x419e92:0x156,_0xaf93a:0x52b,_0x1a3538:0x4fe,_0x107cd6:0x418,_0x119850:0x54b,_0x432947:0x728,_0x1d88e7:0x44a,_0x238044:0x4c6,_0x2e5b71:0x1bf,_0x10d478:0x267,_0x4ad1ed:0x185,_0x54ad0f:0x1ff,_0x51b78d:0x4ae,_0x36b4dc:0x766,_0x21335a:0x6fc,_0x3a44b8:0x314,_0x1399c7:0x3c9,_0x4bf952:0x122,_0x512a79:0xc0,_0x51f043:0x3ac,_0x4c2e58:0x3b0,_0x4e607a:0x31b,_0xdf374c:0x3f6,_0x16919d:0x469,_0x54e999:0x589,_0x1b616f:0x5e8,_0x364aeb:0x4c2,_0x242c43:0x5d0,_0x3012ca:0x736},_0xb695e4={_0x5dbcba:0x6c0,_0x4f0c4d:0x26,_0x3a6a83:0xbc};function _0x3f2314(_0xfac252,_0x5d92e1,_0x17208e,_0x111a92){return _0x199ce4(_0xfac252-0x574,_0x5d92e1-0x138,_0x111a92,_0x111a92-0x12f);}const _0x430e54=_0x95a5d9[_0x264b12(0x588,_0x3ea294._0x4829a1,_0x3ea294._0x1c06b0,_0x3ea294._0x13d9cb)](_0x3735f1['defaultCwd']??process[_0x264b12(0x880,_0x3ea294._0x5c3bf1,_0x3ea294._0x25bf01,_0x3ea294._0x258fae)]());function _0x264b12(_0x2f1cc4,_0x40bd60,_0x5eacf7,_0x1e7b76){return _0x199ce4(_0x5eacf7-_0xb695e4._0x5dbcba,_0x40bd60-_0xb695e4._0x4f0c4d,_0x2f1cc4,_0x1e7b76-_0xb695e4._0x3a6a83);}const _0x5850ef=_0x3735f1[_0x264b12(0x638,0x8ae,0x777,0x7a9)]??[],_0x1dcf3d=_0x3735f1[_0x3f2314(_0x3ea294._0x11ac52,_0x3ea294._0x18dea8,_0x3ea294._0x266cf3,_0x3ea294._0x5ac596)]??_0x3f2314(_0x3ea294._0x4fe36f,_0x3ea294._0x411c3b,0x5cc,_0x3ea294._0x4d76c8);return defineTool({'name':_0x1dcf3d,'description':_0x3f2314(_0x3ea294._0x2b4696,_0x3ea294._0x514389,0x72a,0x804),'inputSchema':{'type':_0x3f2314(0x6e0,_0x3ea294._0x322f73,0x706,0x5a1),'properties':{'operation':{'type':_0x264b12(0x65d,_0x3ea294._0xc1d7bd,_0x3ea294._0x2bda5b,0x7f1),'enum':[_0x3f2314(_0x3ea294._0x1c3ebb,0x440,0x3c4,0x482),_0x3f2314(_0x3ea294._0x532cf3,0x6a9,_0x3ea294._0x295c64,_0x3ea294._0xeaf2da),'hover','documentSymbol',_0x3f2314(_0x3ea294._0x2d9f19,_0x3ea294._0x14c0ef,_0x3ea294._0x48df80,0x678),_0x3f2314(_0x3ea294._0x20caee,0x582,0x64e,_0x3ea294._0x38e79c),_0x264b12(0x6ea,_0x3ea294._0x471cd4,_0x3ea294._0x2a89f5,0x737),_0x264b12(0x561,0x507,0x57d,_0x3ea294._0x5a4e97),'outgoingCalls',_0x264b12(_0x3ea294._0x3bfb05,0x68e,0x5bb,0x48b)]},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':'number'},'query':{'type':_0x264b12(0x79c,0x80c,_0x3ea294._0x2bda5b,0x63e)}},'required':[_0x264b12(_0x3ea294._0x46ef86,0x7c7,_0x3ea294._0x46a994,_0x3ea294._0x1c9499),_0x3f2314(_0x3ea294._0x3479de,0x605,0x52c,_0x3ea294._0x58e27a),'line',_0x3f2314(0x593,_0x3ea294._0x4524fa,_0x3ea294._0x46664f,_0x3ea294._0x4a71db)]},async *'execute'(_0x308856){const _0x1abb62={_0x123640:0x185,_0xe20222:0xbb,_0x58f177:0xd3},_0xab09e5={_0x47f1a5:0x10d},_0x39f630=_0x3735f1['lspService'];if(!_0x39f630)throw new ToolExecutionError(_0x311752(_0x25fc9c._0x35c451,0x80,0x144,_0x25fc9c._0x15ef1e));if(!_0x39f630['isEnabled']())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x63f8b9=_0x308856[_0x243d75(0x4f8,_0x25fc9c._0x49ea04,0x7b4,0x656)];validatePosition(_0x308856[_0x243d75(_0x25fc9c._0x5920a3,_0x25fc9c._0x292a54,_0x25fc9c._0x4a4cce,0x4ae)],_0x308856['character']);if(_0x63f8b9===_0x311752(0x3b5,0x40b,0x438,_0x25fc9c._0x257e6d)){if(!_0x308856[_0x243d75(0x4da,0x3ac,_0x25fc9c._0x85cb0f,0x507)]?.[_0x243d75(0x3dc,_0x25fc9c._0xbdc12f,0x588,_0x25fc9c._0x355e90)]())throw new ToolExecutionError(_0x311752(0x185,_0x25fc9c._0x23f600,0x16d,0x1f2));const _0x8bee59=await _0x39f630[_0x243d75(_0x25fc9c._0x35615d,0x83c,_0x25fc9c._0x32b370,_0x25fc9c._0x240c56)](_0x308856[_0x243d75(_0x25fc9c._0x3ff184,_0x25fc9c._0x32b370,0x48a,0x507)][_0x311752(_0x25fc9c._0x199bae,_0x25fc9c._0x50c1b8,0x11d,_0x25fc9c._0x419e92)]());return yield createToolOutput(formatSymbols(_0x8bee59),{'operation':_0x63f8b9,'query':_0x308856[_0x243d75(0x607,0x44d,_0x25fc9c._0xaf93a,0x507)],'symbols':_0x8bee59}),void 0x0;}function _0x311752(_0x5a8ed6,_0x1c35a8,_0x4daeba,_0x43dcf8){return _0x264b12(_0x1c35a8,_0x1c35a8-_0xab09e5._0x47f1a5,_0x43dcf8- -0x3fb,_0x43dcf8-0x104);}const _0x31527e=resolveAllowedPath(_0x430e54,_0x5850ef,_0x308856[_0x243d75(_0x25fc9c._0x1a3538,0x3f0,_0x25fc9c._0x107cd6,_0x25fc9c._0x119850)]);await assertFile(_0x31527e);if(!await _0x39f630[_0x243d75(0x6dc,_0x25fc9c._0x432947,0x58d,0x5e5)](_0x31527e))throw new ToolExecutionError(_0x243d75(_0x25fc9c._0x1d88e7,0x64f,_0x25fc9c._0x238044,0x58d)+_0x308856[_0x243d75(0x56c,0x600,0x6b5,0x54b)],{'filePath':_0x308856[_0x311752(_0x25fc9c._0x2e5b71,_0x25fc9c._0x10d478,_0x25fc9c._0x4ad1ed,0x20b)]});await _0x39f630[_0x311752(0x323,0x3ce,_0x25fc9c._0x54ad0f,0x29f)](_0x31527e,!![]);const _0x2052ca={'file':_0x31527e,'line':_0x308856[_0x243d75(0x555,0x36b,0x3f1,_0x25fc9c._0x51b78d)]-0x1,'character':_0x308856[_0x311752(0x18d,0x3a0,0x41e,0x2e4)]-0x1};function _0x243d75(_0x12458d,_0x4ecfa4,_0x1f76ed,_0x2383f7){return _0x264b12(_0x12458d,_0x4ecfa4-_0x1abb62._0x123640,_0x2383f7- -_0x1abb62._0xe20222,_0x2383f7-_0x1abb62._0x58f177);}switch(_0x63f8b9){case _0x243d75(_0x25fc9c._0x32b370,_0x25fc9c._0x36b4dc,0x6bb,_0x25fc9c._0x21335a):{const _0xfa099c=await _0x39f630[_0x311752(0x3b0,_0x25fc9c._0x3a44b8,_0x25fc9c._0x1399c7,0x3bc)](_0x2052ca);return yield createToolOutput(formatHover(_0xfa099c),{'operation':_0x63f8b9,'filePath':_0x31527e,'hover':_0xfa099c}),void 0x0;}case'diagnostics':{const _0x275101=await _0x39f630['diagnosticsForFile'](_0x31527e);return yield createToolOutput(formatDiagnostics(_0x275101),{'operation':_0x63f8b9,'filePath':_0x31527e,'diagnostics':_0x275101}),void 0x0;}case _0x311752(_0x25fc9c._0x4bf952,_0x25fc9c._0x512a79,0x143,0x1f5):{const _0x1d4f3b=await _0x39f630[_0x311752(_0x25fc9c._0x51f043,_0x25fc9c._0x4c2e58,_0x25fc9c._0x4e607a,_0x25fc9c._0xdf374c)](_0x2052ca);return yield createToolOutput(formatLocations(_0x1d4f3b),{'operation':_0x63f8b9,'filePath':_0x31527e,'locations':_0x1d4f3b}),void 0x0;}case'findReferences':{const _0x2a2f29=await _0x39f630['references'](_0x2052ca);return yield createToolOutput(formatLocations(_0x2a2f29),{'operation':_0x63f8b9,'filePath':_0x31527e,'locations':_0x2a2f29}),void 0x0;}case'goToImplementation':{const _0x59e17d=await _0x39f630['implementation'](_0x2052ca);return yield createToolOutput(formatLocations(_0x59e17d),{'operation':_0x63f8b9,'filePath':_0x31527e,'locations':_0x59e17d}),void 0x0;}case'documentSymbol':{const _0x57c982=await _0x39f630[_0x311752(0x39d,0x273,_0x25fc9c._0x16919d,0x39e)](_0x31527e);return yield createToolOutput(formatSymbols(_0x57c982),{'operation':_0x63f8b9,'filePath':_0x31527e,'symbols':_0x57c982}),void 0x0;}case _0x243d75(0x574,0x777,_0x25fc9c._0x54e999,0x628):{const _0x2257ee=await _0x39f630[_0x243d75(0x4eb,0x6dd,0x5b1,0x628)](_0x2052ca);return yield createToolOutput(formatSymbols(_0x2257ee),{'operation':_0x63f8b9,'filePath':_0x31527e,'symbols':toStructured(_0x2257ee)}),void 0x0;}case _0x243d75(0x354,_0x25fc9c._0x1b616f,0x36f,_0x25fc9c._0x364aeb):{const _0x3947aa=await _0x39f630['incomingCalls'](_0x2052ca);return yield createToolOutput(formatIncomingCalls(_0x3947aa),{'operation':_0x63f8b9,'filePath':_0x31527e,'calls':toStructured(_0x3947aa)}),void 0x0;}case _0x243d75(0x7bf,_0x25fc9c._0x242c43,0x77b,0x717):{const _0x305254=await _0x39f630[_0x243d75(0x72f,_0x25fc9c._0x3012ca,0x765,0x717)](_0x2052ca);return yield createToolOutput(formatOutgoingCalls(_0x305254),{'operation':_0x63f8b9,'filePath':_0x31527e,'calls':toStructured(_0x305254)}),void 0x0;}}}});}import{randomUUID as _0x21098f}from'crypto';import{mkdir as _0x22849c,readFile as _0x795d97,writeFile as _0x20c9a6}from'fs/promises';import{join as _0x1eaa63}from'path';function sanitizeStorageKey(_0x5798cc){const _0x5b54ad={_0x5461de:0x554,_0x3bff7e:0x59f,_0x2d6dbe:0x6f3},_0x5071cb={_0x1d4a77:0x1c4,_0x1bda4f:0x302},_0x4933e6={_0x3afb78:0x48,_0x460f56:0x3e5};function _0x1ab571(_0x36c5f7,_0x42c436,_0x4d90cb,_0x74372c){return _0x26f978(_0x36c5f7-0x93,_0x42c436-_0x4933e6._0x3afb78,_0x42c436-_0x4933e6._0x460f56,_0x4d90cb);}function _0x3ccd5c(_0xbf0a63,_0x15aaf6,_0x5db0b9,_0x435e45){return _0x26f978(_0xbf0a63-0xdd,_0x15aaf6-_0x5071cb._0x1d4a77,_0x5db0b9-_0x5071cb._0x1bda4f,_0x15aaf6);}return _0x5798cc[_0x3ccd5c(_0x5b54ad._0x5461de,0x609,_0x5b54ad._0x3bff7e,0x4f1)](/[^a-zA-Z0-9_]+/g,'_')[_0x3ccd5c(0x4f4,_0x5b54ad._0x2d6dbe,0x59f,0x6f5)](/^_+|_+$/g,'')||'server';}function storagePath(_0x37eed6){const _0x45ead1={_0x273bb8:0x4d9,_0xb1cb4:0x608,_0x45034b:0x51e,_0x4c0e3a:0x65e,_0xa5e08:0x5ca,_0x205faf:0x59b,_0x177f8f:0x619,_0x5a7a0f:0x6d,_0x520292:0x19d,_0x526964:0x96,_0x3bc935:0x56,_0x51f959:0x6c0},_0x5dd8e9={_0x45f34a:0x1ae,_0x33fb0e:0x1eb,_0x3b7f8d:0xd7},_0x31c0fe={_0x4b31b3:0x348},_0x346f79=sanitizeStorageKey(_0x37eed6[_0x503608(_0x45ead1._0x273bb8,_0x45ead1._0xb1cb4,0x3e4,_0x45ead1._0x45034b)][_0x503608(_0x45ead1._0x4c0e3a,_0x45ead1._0xa5e08,0x4d2,_0x45ead1._0x205faf)]?.[_0x503608(_0x45ead1._0x177f8f,0x593,0x47a,0x4f2)]??_0x37eed6[_0x446776(-_0x45ead1._0x5a7a0f,_0x45ead1._0x520292,_0x45ead1._0x526964,_0x45ead1._0x3bc935)]);function _0x503608(_0x5501dd,_0x2984ef,_0x407808,_0x532533){return _0x26f978(_0x5501dd-0x155,_0x2984ef-0x7b,_0x532533-_0x31c0fe._0x4b31b3,_0x5501dd);}function _0x446776(_0x49a082,_0x54b7af,_0xb4d4a9,_0x1e5f9e){return _0x26f978(_0x49a082-_0x5dd8e9._0x45f34a,_0x54b7af-_0x5dd8e9._0x33fb0e,_0x1e5f9e- -_0x5dd8e9._0x3b7f8d,_0xb4d4a9);}return _0x1eaa63(_0x37eed6[_0x503608(0x4b5,0x441,_0x45ead1._0x51f959,0x57e)],_0x346f79+_0x503608(0x627,0x6e7,0x71f,0x72d));}async function readStore(_0x42462b){const _0xda0f62={_0x5d0dea:0x4d0,_0x4742d1:0x3af,_0x28a18b:0x2cd,_0xcdd1a0:0x793,_0x35e820:0x52f,_0x4ee30a:0x55b},_0x472667={_0x516426:0x501,_0x2d6712:0x1ce,_0x23b24a:0x99};function _0x318e48(_0x2aec04,_0x18b27e,_0x826af7,_0x182717){return _0x199ce4(_0x2aec04-_0x472667._0x516426,_0x18b27e-_0x472667._0x2d6712,_0x18b27e,_0x182717-_0x472667._0x23b24a);}function _0x160940(_0x172305,_0xe6ca4b,_0x25f2ff,_0x3c0bfe){return _0x199ce4(_0xe6ca4b- -0x4e,_0xe6ca4b-0x19d,_0x3c0bfe,_0x3c0bfe-0x47);}try{return JSON[_0x318e48(_0xda0f62._0x5d0dea,_0xda0f62._0x4742d1,0x355,0x4a6)](await _0x795d97(_0x42462b,'utf8'));}catch(_0x1c0ca2){if(_0x1c0ca2 instanceof Error&&_0x318e48(0x419,0x315,0x2d5,_0xda0f62._0x28a18b)in _0x1c0ca2&&_0x1c0ca2['code']===_0x318e48(0x67a,_0xda0f62._0xcdd1a0,_0xda0f62._0x35e820,_0xda0f62._0x4ee30a))return{};throw _0x1c0ca2;}}async function writeStore(_0x34a4a6,_0x53eae2){const _0xaaeb1c={_0x1f8965:0x5d1,_0x455c58:0x569,_0x36cff3:0x4a3,_0x19b0e6:0x57d},_0x5df74a={_0x21ed59:0x96,_0x408bae:0x277};function _0x3749bd(_0x760a06,_0x4baa4b,_0x4f5da7,_0x288753){return _0x26f978(_0x760a06-0x11f,_0x4baa4b-_0x5df74a._0x21ed59,_0x760a06-_0x5df74a._0x408bae,_0x288753);}function _0x47636f(_0x2d6dc7,_0x204f3f,_0x2720a4,_0x419f3c){return _0x26f978(_0x2d6dc7-0x156,_0x204f3f-0xd4,_0x2d6dc7-0x1df,_0x419f3c);}await _0x22849c(_0x1eaa63(_0x34a4a6,'..'),{'recursive':!![]}),await _0x20c9a6(_0x34a4a6,JSON[_0x47636f(_0xaaeb1c._0x1f8965,_0xaaeb1c._0x455c58,0x66a,0x524)](_0x53eae2,null,0x2),_0x47636f(_0xaaeb1c._0x36cff3,_0xaaeb1c._0x19b0e6,0x5f8,0x43f));}async function updateStore(_0x486b8c,_0x5fb707){const _0x565615=await readStore(_0x486b8c);_0x5fb707(_0x565615),await writeStore(_0x486b8c,_0x565615);}function createMcpOAuthProvider(_0x3344a3){const _0x56b2a8={_0x4a7bbc:0x42a,_0x1c1c5f:0x383,_0x3be585:0x2b,_0x535716:0x7e,_0x5872a5:0xf1,_0x26c165:0x3b,_0x56fffa:0x7b,_0xa48ee7:0x128,_0x7d65e7:0x512,_0xd86baa:0x371,_0xeca13b:0x3c3,_0xf0323d:0x50f,_0x2973f2:0x143,_0x5f3b50:0xad,_0x5522dc:0x1ed,_0x3d3f60:0x106,_0x3b4869:0x36a,_0x2a6ec3:0x9c,_0x2edce4:0x4d,_0x9c6074:0x120,_0x3a6823:0x11f,_0xc141dd:0x57},_0x1aa667={_0x34ad98:0x44,_0x3414eb:0xc},_0x3aa3e3={_0x426e5e:0x22c,_0x4b4bd9:0x347,_0xea5f85:0x3ef},_0x277116={_0x467717:0x8c,_0x5f01aa:0x16d,_0x4d883c:0x120,_0x786efc:0x2cc,_0x147a38:0x1a,_0x339543:0xe4,_0x4b9f66:0xf1,_0x4b05a1:0x23,_0x2532e1:0x32,_0x35ffdc:0x148,_0x511612:0xd3,_0x4929b1:0x5,_0x3d67b9:0x1e0,_0x4695fc:0x93,_0x596f12:0xe2,_0x23cce5:0x12,_0x461545:0x1c5,_0x3778f5:0x97,_0x449bd7:0x2a,_0x4f8a55:0xee,_0x520c3e:0xc7,_0x346221:0xdf,_0x57a112:0xf7,_0x1bcc8a:0x81,_0x1bf6f2:0x22a},_0x81e9dd={_0x1f8fd9:0x5fc,_0x128bc8:0x49c,_0x4427b2:0x4f5},_0x578f7b={_0x4dd849:0x570,_0x1420c3:0x513},_0x3cf826={_0x1f32fc:0x61e},_0x355297={_0x4949d1:0x661,_0x43c209:0x42a,_0x5db276:0x64c},_0x5e4e93={_0x39c807:0x1f0,_0x5a0768:0x269},_0x11cf47={_0x7f2c8e:0x134,_0x1d7d11:0x6f},_0x581350={_0x1a5078:0x2fe,_0x52a7d6:0x2ce},_0x164593={_0xffac65:0x19e,_0x15b912:0x145},_0x48b9d5={_0x48ad7f:0x92,_0x37fc56:0xe5,_0x2dd008:0x40},_0x505c26={_0x4a9c39:0x2bd,_0x1f16dc:0x302},_0x554984={_0x2f8c55:0x3e},_0x488857={_0x37eeac:0xad};function _0x544462(_0x30f867,_0x4ad604,_0x44478c,_0x2428ac){return _0x26f978(_0x30f867-0xb5,_0x4ad604-_0x488857._0x37eeac,_0x44478c-0x229,_0x4ad604);}const _0x24fda4=storagePath(_0x3344a3);function _0x35dc63(_0x1cbb5f,_0x400f7,_0xe4f0f4,_0x3b53cd){return _0x26f978(_0x1cbb5f-0x1e2,_0x400f7-0x1ea,_0x400f7- -0x223,_0x3b53cd);}const _0x15eed1=_0x3344a3[_0x544462(_0x56b2a8._0x4a7bbc,0x4f7,0x3ff,_0x56b2a8._0x1c1c5f)][_0x35dc63(_0x56b2a8._0x3be585,0x30,-_0x56b2a8._0x535716,-_0x56b2a8._0x5872a5)]?.[_0x35dc63(-_0x56b2a8._0x26c165,_0x56b2a8._0x56fffa,0x20,_0x56b2a8._0xa48ee7)]?.[_0x544462(_0x56b2a8._0x7d65e7,_0x56b2a8._0xd86baa,0x45d,0x425)]('\x20'),_0x51e610={'client_name':'Nuvin','redirect_uris':[_0x3344a3[_0x544462(_0x56b2a8._0xeca13b,0x517,0x44b,0x2fb)]],'grant_types':[_0x544462(0x526,0x674,0x620,_0x56b2a8._0xf0323d),_0x35dc63(_0x56b2a8._0x2973f2,_0x56b2a8._0x5f3b50,_0x56b2a8._0x5522dc,_0x56b2a8._0x3d3f60)],'response_types':[_0x544462(0x3f4,0x3b1,0x3c3,_0x56b2a8._0x3b4869)],'token_endpoint_auth_method':'client_secret_post',..._0x15eed1?{'scope':_0x15eed1}:{}};return{'clientMetadataUrl':_0x3344a3[_0x35dc63(-_0x56b2a8._0x2a6ec3,-_0x56b2a8._0x2edce4,_0x56b2a8._0x9c6074,-0x123)]['oauth']?.[_0x35dc63(-_0x56b2a8._0x3a6823,_0x56b2a8._0xc141dd,0xc5,-0x43)],get 'redirectUrl'(){function _0x13f214(_0x14825d,_0xd8c277,_0x1c1135,_0x12509e){return _0x544462(_0x14825d-0x89,_0x12509e,_0x14825d- -0x251,_0x12509e-_0x554984._0x2f8c55);}return _0x3344a3[_0x13f214(0x1fa,_0x505c26._0x4a9c39,0xa0,_0x505c26._0x1f16dc)];},get 'clientMetadata'(){return _0x51e610;},async 'state'(){const _0x20f915={_0x162cf1:0x4a,_0x1513e8:0xb3},_0x592b9e={_0x50d700:0x7c},_0x4c9edc=await readStore(_0x24fda4);if(_0x4c9edc[_0x147caf(0xa1,0x246,_0x164593._0xffac65,_0x164593._0x15b912)])return _0x4c9edc['state'];const _0x2faddc=_0x21098f();function _0x147caf(_0xc06673,_0xfc3255,_0x3ff79d,_0x4590e9){return _0x35dc63(_0xc06673-0x1cd,_0x4590e9-_0x592b9e._0x50d700,_0x3ff79d-0x131,_0x3ff79d);}return await updateStore(_0x24fda4,_0x586984=>{function _0xa6888c(_0x3945ce,_0x579af0,_0x129b0e,_0x528f49){return _0x147caf(_0x3945ce-_0x20f915._0x162cf1,_0x579af0-0x171,_0x129b0e,_0x3945ce- -_0x20f915._0x1513e8);}_0x586984[_0xa6888c(_0x48b9d5._0x48ad7f,-_0x48b9d5._0x37fc56,_0x48b9d5._0x2dd008,0x22)]=_0x2faddc;}),_0x2faddc;},async 'clientInformation'(){const _0x244319={_0x58a2ce:0x2a7,_0x21fc96:0x1e4};function _0x41cf87(_0x143aaa,_0xc5883f,_0x3850dc,_0x4374f9){return _0x35dc63(_0x143aaa-0x17a,_0x3850dc-_0x244319._0x58a2ce,_0x3850dc-_0x244319._0x21fc96,_0xc5883f);}return(await readStore(_0x24fda4))[_0x41cf87(0x35d,_0x581350._0x1a5078,_0x581350._0x52a7d6,0x445)];},async 'saveClientInformation'(_0x24651a){const _0x5058e2={_0x30cca1:0x62a};await updateStore(_0x24fda4,_0x521248=>{function _0x16b236(_0x581a65,_0x19ea77,_0x113557,_0x2b1a47){return _0x16af(_0x113557-0x383,_0x19ea77);}_0x521248[_0x16b236(0x6f6,0x546,_0x5058e2._0x30cca1,0x6b3)]=_0x24651a;});},async 'tokens'(){function _0x4bee69(_0x12ff78,_0x54849e,_0xbba2e7,_0x9d3e69){return _0x544462(_0x12ff78-_0x11cf47._0x7f2c8e,_0x9d3e69,_0x54849e- -0x1ac,_0x9d3e69-_0x11cf47._0x1d7d11);}return(await readStore(_0x24fda4))[_0x4bee69(_0x5e4e93._0x39c807,0x2b8,_0x5e4e93._0x5a0768,0x332)];},async 'saveTokens'(_0x4ad01c){await updateStore(_0x24fda4,_0x3a4d31=>{const _0x172fe9={_0x458120:0x252};function _0xf369ad(_0x31a946,_0x1aa83d,_0x3cc2c4,_0x5015eb){return _0x16af(_0x31a946-_0x172fe9._0x458120,_0x1aa83d);}_0x3a4d31[_0xf369ad(0x4ea,_0x355297._0x4949d1,_0x355297._0x43c209,_0x355297._0x5db276)]=_0x4ad01c;});},async 'redirectToAuthorization'(_0x2ef3f8){const _0x1f8f70={_0x204acb:0x1c,_0x498a0e:0x50e};function _0x21bfce(_0x2d2e29,_0x95b986,_0x283eec,_0x3f7d99){return _0x35dc63(_0x2d2e29-_0x1f8f70._0x204acb,_0x3f7d99-_0x1f8f70._0x498a0e,_0x283eec-0x151,_0x2d2e29);}await _0x3344a3[_0x21bfce(0x53b,_0x3cf826._0x1f32fc,0x715,0x5ed)](_0x2ef3f8);},async 'saveCodeVerifier'(_0x190961){await updateStore(_0x24fda4,_0x30444b=>{function _0xcf82fd(_0x52cd8c,_0x2abe00,_0x381bcc,_0x42e6c0){return _0x16af(_0x2abe00-0x1be,_0x381bcc);}_0x30444b[_0xcf82fd(0x65f,_0x578f7b._0x4dd849,_0x578f7b._0x1420c3,0x49b)]=_0x190961;});},async 'codeVerifier'(){const _0x2e9add={_0x4d6085:0x37,_0x5798ac:0x160},_0xe7f5f6=(await readStore(_0x24fda4))[_0x332767(_0x81e9dd._0x1f8fd9,0x50e,_0x81e9dd._0x128bc8,_0x81e9dd._0x4427b2)];if(!_0xe7f5f6)throw new Error(_0x332767(0x661,0x601,0x676,0x705));function _0x348a61(_0x52e0eb,_0x18fd04,_0x1a82e1,_0x2699be){return _0x544462(_0x52e0eb-_0x2e9add._0x4d6085,_0x18fd04,_0x52e0eb- -0x7c,_0x2699be-_0x2e9add._0x5798ac);}function _0x332767(_0x460c7a,_0x1da921,_0x259ed5,_0x31ef0f){return _0x544462(_0x460c7a-0x120,_0x1da921,_0x460c7a-0x7e,_0x31ef0f-0x16a);}return _0xe7f5f6;},async 'invalidateCredentials'(_0x6f144){await updateStore(_0x24fda4,_0x8d71ca=>{const _0x303975={_0x161d9f:0x3e0},_0x8d3f1e={_0xe92c90:0x2c1};(_0x6f144===_0x287415(_0x277116._0x467717,_0x277116._0x5f01aa,0xd3,0x33)||_0x6f144===_0x3f0d87(-_0x277116._0x4d883c,-0x247,-_0x277116._0x786efc,-0x14c))&&(_0x8d71ca[_0x287415(-_0x277116._0x147a38,-0x100,_0x277116._0x339543,_0x277116._0x4b9f66)]=void 0x0);(_0x6f144===_0x3f0d87(-_0x277116._0x4b05a1,-0x93,-0x82,-_0x277116._0x2532e1)||_0x6f144===_0x3f0d87(-0x270,-_0x277116._0x35ffdc,-0x196,-0x19a))&&(_0x8d71ca[_0x3f0d87(-0x1f7,-0x148,-_0x277116._0x511612,_0x277116._0x4929b1)]=void 0x0);function _0x287415(_0x4be79f,_0x489807,_0x3550e0,_0x510193){return _0x16af(_0x4be79f- -_0x8d3f1e._0xe92c90,_0x489807);}function _0x3f0d87(_0x103f80,_0x33184b,_0x121820,_0x4e2979){return _0x16af(_0x33184b- -_0x303975._0x161d9f,_0x4e2979);}(_0x6f144===_0x3f0d87(-_0x277116._0x3d67b9,-_0x277116._0x4695fc,-0x4,_0x277116._0x596f12)||_0x6f144===_0x3f0d87(-0x1fe,-0xd1,-_0x277116._0x23cce5,-0xa9))&&(_0x8d71ca['codeVerifier']=void 0x0,_0x8d71ca[_0x3f0d87(-_0x277116._0x461545,-_0x277116._0x3778f5,-0xf3,-0x20)]=void 0x0),(_0x6f144===_0x3f0d87(-_0x277116._0x449bd7,-_0x277116._0x4695fc,-0x9,-0x1be)||_0x6f144===_0x287415(-_0x277116._0x4f8a55,-0x1e0,-_0x277116._0x520c3e,-0xa8))&&(_0x8d71ca[_0x3f0d87(-_0x277116._0x346221,-_0x277116._0x57a112,_0x277116._0x1bcc8a,-_0x277116._0x1bf6f2)]=void 0x0);});},async 'saveDiscoveryState'(_0x5aed22){await updateStore(_0x24fda4,_0x1225b5=>{const _0x2e097f={_0x4b58d9:0x39};function _0x18f534(_0x5e7ffa,_0x560cbe,_0x43429a,_0x52c55d){return _0x16af(_0x43429a-_0x2e097f._0x4b58d9,_0x560cbe);}_0x1225b5[_0x18f534(_0x3aa3e3._0x426e5e,_0x3aa3e3._0x4b4bd9,0x322,_0x3aa3e3._0xea5f85)]=_0x5aed22;});},async 'discoveryState'(){function _0x52d3ef(_0xaeacb0,_0x5ac2a0,_0x51708c,_0x4bc155){return _0x544462(_0xaeacb0-0x1b6,_0x5ac2a0,_0xaeacb0- -0x532,_0x4bc155-0x189);}return(await readStore(_0x24fda4))[_0x52d3ef(-0x7d,-0x7e,-_0x1aa667._0x34ad98,-_0x1aa667._0x3414eb)];}};}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(_0x22720f,_0x36e06a){const _0x16c800={_0x16354d:0xad,_0x3fbd9e:0x2b3},_0x12373b={_0x1cebe2:0x100},_0xf074a0=_0x2ea1e7=>_0x2ea1e7[_0x5ace0d(0x3d7,0x612,0x550,0x428)](/[^a-zA-Z0-9_]+/g,'_')[_0x203dd5(0x488,0x310,0x416,0x1c8)](/^_+|_+$/g,'');function _0x203dd5(_0x431430,_0x3f49b1,_0x299a5d,_0x3061c1){return _0x26f978(_0x431430-0x11d,_0x3f49b1-_0x12373b._0x1cebe2,_0x3f49b1-0x73,_0x431430);}function _0x5ace0d(_0x4fab66,_0x47b34c,_0xff8914,_0x5e7e18){return _0x26f978(_0x4fab66-_0x16c800._0x16354d,_0x47b34c-0x7a,_0xff8914-_0x16c800._0x3fbd9e,_0x5e7e18);}return'mcp_'+_0xf074a0(_0x22720f)+'_'+_0xf074a0(_0x36e06a);}function isObject(_0x262bca){const _0x3dd9cc={_0x274467:0x555,_0x2eb740:0x1df,_0x28f973:0x338,_0x4b9e00:0x21f},_0x394314={_0x3ad2f2:0xac},_0x17c398={_0x1ff5ed:0x419,_0x30093f:0x185};function _0x2191fa(_0x2fb18a,_0x40c7e7,_0x113f86,_0x1d09e9){return _0x199ce4(_0x113f86-_0x17c398._0x1ff5ed,_0x40c7e7-_0x17c398._0x30093f,_0x40c7e7,_0x1d09e9-0x18c);}function _0x5e00f7(_0x48ecbe,_0x57cca2,_0x4ab8d2,_0x44975d){return _0x199ce4(_0x44975d-0x1ee,_0x57cca2-_0x394314._0x3ad2f2,_0x48ecbe,_0x44975d-0x19b);}return typeof _0x262bca===_0x2191fa(_0x3dd9cc._0x274467,0x430,0x585,0x484)&&_0x262bca!==null&&!Array[_0x5e00f7(_0x3dd9cc._0x2eb740,_0x3dd9cc._0x28f973,_0x3dd9cc._0x4b9e00,0x1de)](_0x262bca);}function toSupportedSchema(_0x5e4ce1){const _0x373e99={_0xaa887a:0x166,_0x1052d1:0xb,_0x232135:0x2c9,_0x44fd51:0x39,_0x76748e:0xf5,_0x4733a5:0x18,_0x99a1b3:0x82,_0x257f5b:0x414,_0x80295d:0x3e5,_0x4e1a40:0x3b6,_0xe4c093:0x5ca,_0x45676f:0x5b7,_0x4108e3:0x608,_0x388885:0x512,_0x4b23ff:0x166,_0x52ab94:0xa4,_0x33424e:0x82,_0xad8683:0x2a7,_0x33a21a:0x47c,_0x4bb152:0x111,_0x1c43f1:0xe8,_0x4c7675:0x1fc,_0x519b58:0xd9,_0x333e8b:0x11f,_0x3b6c38:0xba,_0x49cb6d:0x106,_0x12803a:0x5c,_0x701984:0x57a,_0x298395:0x584,_0x58caba:0x6b4,_0x212c23:0x11f,_0x2a2743:0x96,_0x1e1dfa:0x1d7,_0x229217:0x204},_0x262f75={_0x3e6608:0x35,_0x4d2cb8:0x1bd},_0x51d845={_0x4ec575:0x11c};function _0x478bc1(_0x3a2861,_0x2ebb74,_0x2319a0,_0x207d59){return _0x26f978(_0x3a2861-_0x51d845._0x4ec575,_0x2ebb74-0xa5,_0x2319a0-0x27c,_0x2ebb74);}if(!isObject(_0x5e4ce1))return void 0x0;if(_0x5e4ce1[_0x2b013a(-_0x373e99._0xaa887a,_0x373e99._0x1052d1,-0xb3,-_0x373e99._0x232135)]==='string')return{'type':_0x2b013a(_0x373e99._0x44fd51,_0x373e99._0x76748e,-_0x373e99._0x4733a5,_0x373e99._0x99a1b3)};if(_0x5e4ce1[_0x478bc1(_0x373e99._0x257f5b,0x406,_0x373e99._0x80295d,0x523)]==='number'||_0x5e4ce1[_0x478bc1(0x359,0x31b,0x3e5,_0x373e99._0x4e1a40)]===_0x478bc1(0x620,_0x373e99._0xe4c093,_0x373e99._0x45676f,0x720))return{'type':_0x478bc1(0x63d,0x4be,_0x373e99._0x4108e3,_0x373e99._0x388885)};if(_0x5e4ce1[_0x2b013a(-_0x373e99._0x4b23ff,-0xb,-_0x373e99._0x52ab94,-0x219)]===_0x2b013a(-_0x373e99._0x33424e,-0xd,0xe6,-0x96))return{'type':'boolean'};function _0x2b013a(_0x3463a6,_0x578069,_0x250cf6,_0x40a25d){return _0x26f978(_0x3463a6-_0x262f75._0x3e6608,_0x578069-_0x262f75._0x4d2cb8,_0x3463a6- -0x2cf,_0x250cf6);}if(_0x5e4ce1[_0x478bc1(0x306,_0x373e99._0xad8683,_0x373e99._0x80295d,_0x373e99._0x33a21a)]===_0x2b013a(-0xd9,-_0x373e99._0x4bb152,-_0x373e99._0x1c43f1,-_0x373e99._0x4c7675))return{'type':_0x2b013a(-_0x373e99._0x519b58,-0x1ee,-0x1e7,-_0x373e99._0x333e8b),'items':toSupportedSchema(_0x5e4ce1[_0x2b013a(-0x70,-_0x373e99._0x3b6c38,_0x373e99._0x49cb6d,_0x373e99._0x12803a)])??{'type':_0x478bc1(0x48b,_0x373e99._0x701984,_0x373e99._0x298395,_0x373e99._0x58caba)}};if(_0x5e4ce1['type']===_0x2b013a(_0x373e99._0x212c23,_0x373e99._0x2a2743,_0x373e99._0x1e1dfa,_0x373e99._0x229217))return toNuvinToolSchema(_0x5e4ce1);return void 0x0;}function toNuvinToolSchema(_0x5b5faf){const _0x3e381f={_0x394e3d:0x63c,_0x12f1bb:0x765,_0x4173b3:0x6fd,_0x3530fe:0x458,_0x488465:0x58b,_0x56c102:0x37c,_0x458a21:0x5d7,_0x2ff277:0x55a,_0x4f6f05:0x5e9,_0x4d8816:0x60c,_0x15094d:0x6af,_0x435081:0x6e8,_0x11b946:0x64e,_0x34de78:0x580,_0x52f6b1:0x428,_0x326234:0x413,_0x174e6d:0x363,_0x215cd1:0x483,_0x54cc7e:0x39d,_0x2949f4:0x2ea},_0x5a620e={_0x5b9769:0x128};if(!isObject(_0x5b5faf)||_0x5b5faf[_0x4337d5(0x61e,0x5cf,0x4e0,_0x3e381f._0x394e3d)]!==_0x4337d5(0x7bc,0x796,_0x3e381f._0x12f1bb,0x618))return{'type':_0x264035(_0x3e381f._0x4173b3,_0x3e381f._0x3530fe,_0x3e381f._0x488465,0x65a),'properties':{}};function _0x264035(_0x4a06d1,_0x1d2b78,_0x3a6079,_0x196d7e){return _0x26f978(_0x4a06d1-0x8f,_0x1d2b78-0x1a6,_0x3a6079-0x19d,_0x4a06d1);}const _0x5e8b7d={},_0x40e02c=isObject(_0x5b5faf['properties'])?_0x5b5faf[_0x4337d5(0x5fc,_0x3e381f._0x56c102,0x4c8,0x55e)]:{};for(const [_0x670949,_0x4fc180]of Object[_0x4337d5(0x4fc,0x718,_0x3e381f._0x458a21,_0x3e381f._0x2ff277)](_0x40e02c)){const _0x2924ed=toSupportedSchema(_0x4fc180);if(_0x2924ed)_0x5e8b7d[_0x670949]=_0x2924ed;}const _0x588811=Array[_0x4337d5(0x649,0x5e2,_0x3e381f._0x4f6f05,_0x3e381f._0x4d8816)](_0x5b5faf[_0x4337d5(0x777,_0x3e381f._0x15094d,0x64e,0x535)])?_0x5b5faf[_0x4337d5(0x555,_0x3e381f._0x435081,_0x3e381f._0x11b946,_0x3e381f._0x34de78)][_0x264035(_0x3e381f._0x52f6b1,_0x3e381f._0x326234,_0x3e381f._0x174e6d,_0x3e381f._0x215cd1)](_0x4964e1=>typeof _0x4964e1===_0x4337d5(0x74c,0x6a0,0x67f,0x60d)):void 0x0;function _0x4337d5(_0x485909,_0x3e75ff,_0x4a0a1f,_0x46d4f7){return _0x26f978(_0x485909-0x10c,_0x3e75ff-_0x5a620e._0x5b9769,_0x4a0a1f-0x377,_0x3e75ff);}return _0x588811?.[_0x264035(_0x3e381f._0x54cc7e,0x34c,0x3e3,_0x3e381f._0x2949f4)]?{'type':_0x4337d5(0x6c2,0x843,0x765,0x87b),'properties':_0x5e8b7d,'required':_0x588811}:{'type':_0x4337d5(0x8ae,0x7f9,0x765,0x7cf),'properties':_0x5e8b7d};}function isJsonObject(_0x2054c9){const _0x4798b7={_0x38c012:0x543,_0x436029:0x531},_0x54d5b3={_0x4df768:0x15,_0x400e51:0x1aa};function _0x1f9786(_0x2f4493,_0x2c92b8,_0x48f79f,_0x3451a9){return _0x199ce4(_0x48f79f-0x667,_0x2c92b8-_0x54d5b3._0x4df768,_0x2f4493,_0x3451a9-_0x54d5b3._0x400e51);}return typeof _0x2054c9==='object'&&_0x2054c9!==null&&!Array[_0x1f9786(0x6a8,_0x4798b7._0x38c012,0x657,_0x4798b7._0x436029)](_0x2054c9);}function formatMcpContent(_0x4102a7){const _0x49bf54={_0xceb4ad:0x69d,_0x211776:0x568,_0x1a1529:0x7f0,_0x381c05:0x52,_0x41cce1:0x11b,_0x2ccca5:0x8f,_0x39aa2c:0x1be,_0x5129aa:0x8d,_0x4ef223:0x200,_0xc7d79c:0x91,_0xb271a6:0xca,_0x41b25f:0xd3,_0x47e717:0x76d,_0x32af50:0x15b,_0x44701f:0x185,_0x432791:0x87},_0xa8c969={_0x3a8877:0x7f,_0x505c9b:0xa0,_0xcdd565:0x3f1},_0x5a4bcc={_0x190856:0x337,_0x314813:0x328,_0x33959f:0xe8,_0x3a225e:0x13d,_0x157835:0x24,_0x29b78e:0x12f,_0x459a6f:0x14d,_0x11ba28:0x5c0,_0x3c5485:0x704},_0x1fcaee={_0xe21cc7:0x9a},_0x4a7439=Array['isArray'](_0x4102a7[_0x56ba68(_0x49bf54._0xceb4ad,_0x49bf54._0x211776,0x575,_0x49bf54._0x1a1529)])?_0x4102a7[_0x222643(0x8c,-_0x49bf54._0x381c05,-0x180,-_0x49bf54._0x41cce1)]:[],_0x1b0eb8=_0x4a7439[_0x222643(0x44,-_0x49bf54._0x2ccca5,-_0x49bf54._0x39aa2c,-0xab)](_0x63ebd4=>{const _0x1696c3={_0x8fe5e0:0x13a};function _0x377491(_0x35e9c5,_0x3ad6cc,_0x581c7b,_0x10c56c){return _0x56ba68(_0x35e9c5- -0x223,_0x3ad6cc-0x1ca,_0x3ad6cc,_0x10c56c-_0x1fcaee._0xe21cc7);}function _0x29f191(_0x3a2585,_0x44eca2,_0x3c0420,_0x6310d7){return _0x56ba68(_0x6310d7- -0x5ac,_0x44eca2-_0x1696c3._0x8fe5e0,_0x44eca2,_0x6310d7-0x1c5);}if(!isObject(_0x63ebd4))return'';if(_0x63ebd4[_0x377491(_0x5a4bcc._0x190856,0x489,_0x5a4bcc._0x314813,0x3d0)]===_0x29f191(_0x5a4bcc._0x33959f,-_0x5a4bcc._0x3a225e,0x12,-_0x5a4bcc._0x157835)&&typeof _0x63ebd4['text']===_0x29f191(0x242,0x7a,_0x5a4bcc._0x29b78e,_0x5a4bcc._0x459a6f))return _0x63ebd4['text'];return JSON[_0x377491(_0x5a4bcc._0x11ba28,0x54d,0x629,_0x5a4bcc._0x3c5485)](_0x63ebd4);})[_0x222643(-_0x49bf54._0x5129aa,-0x138,-_0x49bf54._0x4ef223,0xc)](_0x5d2d31=>_0x5d2d31[_0x222643(-0x13c,-0xb8,-0xa2,-0x7c)]>0x0)[_0x222643(-_0x49bf54._0xc7d79c,-_0x49bf54._0xb271a6,-0xed,-_0x49bf54._0x41b25f)]('\x0a');function _0x56ba68(_0x2c9fc6,_0x1182c8,_0x4bbd18,_0x186f2a){return _0x26f978(_0x2c9fc6-_0xa8c969._0x3a8877,_0x1182c8-_0xa8c969._0x505c9b,_0x2c9fc6-_0xa8c969._0xcdd565,_0x4bbd18);}if(_0x1b0eb8[_0x56ba68(0x637,_0x49bf54._0x47e717,0x563,0x4dc)]>0x0)return _0x1b0eb8;function _0x222643(_0x11a134,_0x53f5e4,_0xbd72f6,_0xe26954){return _0x199ce4(_0x53f5e4- -0x7c,_0x53f5e4-0xb,_0xe26954,_0xe26954-0x1a0);}return JSON[_0x222643(_0x49bf54._0x32af50,0xf4,_0x49bf54._0x44701f,_0x49bf54._0x432791)](_0x4102a7,null,0x2);}function createMcpTool(_0x16f0af){const _0x555387={_0x53b631:0x43,_0x2bdc93:0x75,_0x135b47:0x51a,_0x13d264:0x2b2,_0x15148b:0x252,_0x2dbc5a:0x57f,_0x4c0c75:0x3ff,_0x4df37c:0x39d,_0x58b1af:0x31b,_0x47accc:0x3b7,_0x1397b7:0x61a,_0x3b6180:0x4cb,_0x214fc6:0x50e,_0x3e4a4f:0x42c,_0x10a341:0x1be,_0x440f56:0x36a,_0x28d0c5:0x318,_0x110542:0x383,_0x401307:0x3aa,_0x2f1de0:0x2d6,_0x2ce2d6:0x345,_0x2845fc:0x218,_0x4bb580:0x53f,_0x32ced4:0x229,_0x27459e:0x310},_0x1e5675={_0x386307:0x13f,_0x4fe40a:0x114,_0xbba04e:0x2bb,_0x309f30:0x9d,_0x40a1f9:0x22,_0x104c77:0x13e,_0x5cad2d:0x130,_0x41d708:0x4e,_0x27b4ca:0x234,_0x39595b:0x8,_0x493bed:0xb7,_0x4f822e:0x1b8,_0x3acc56:0x100},_0x7a395c={_0x22c528:0x123,_0x5874d6:0x55,_0x3234dd:0x33a},_0x13da8a={_0x10af43:0x10d,_0x22fde1:0x3d},_0x1d403e={_0x2bff5c:0x3b,_0xc11702:0x156};function _0x43f83f(_0x4ffad7,_0x422489,_0x29c39b,_0x2426ed){return _0x26f978(_0x4ffad7-0x1e5,_0x422489-_0x1d403e._0x2bff5c,_0x2426ed-_0x1d403e._0xc11702,_0x4ffad7);}const _0x3ca6e8=createMcpToolName(_0x16f0af[_0x45f307(0xa1,_0x555387._0x53b631,_0x555387._0x2bdc93,0x1bd)],_0x16f0af[_0x43f83f(0x4b0,0x3c1,_0x555387._0x135b47,0x4f2)][_0x45f307(_0x555387._0x13d264,0x3ca,0x356,_0x555387._0x15148b)]);function _0x45f307(_0x3dd0e1,_0x4cd254,_0x4c97cb,_0x35c4b9){return _0x199ce4(_0x35c4b9-0x312,_0x4cd254-_0x13da8a._0x10af43,_0x4c97cb,_0x35c4b9-_0x13da8a._0x22fde1);}return defineTool({'name':_0x3ca6e8,'description':_0x16f0af[_0x43f83f(_0x555387._0x2dbc5a,_0x555387._0x4c0c75,_0x555387._0x4df37c,0x4f2)][_0x43f83f(0x35e,_0x555387._0x58b1af,0x514,0x39d)]??_0x43f83f(_0x555387._0x47accc,_0x555387._0x1397b7,_0x555387._0x3b6180,_0x555387._0x214fc6)+_0x16f0af[_0x45f307(0x453,0x363,0x565,_0x555387._0x3e4a4f)][_0x43f83f(0x22e,_0x555387._0x10a341,_0x555387._0x440f56,_0x555387._0x28d0c5)]+_0x45f307(_0x555387._0x110542,_0x555387._0x401307,_0x555387._0x2f1de0,_0x555387._0x2ce2d6)+_0x16f0af[_0x43f83f(_0x555387._0x2845fc,0x3e7,0x2f2,0x283)],'inputSchema':toNuvinToolSchema(_0x16f0af[_0x43f83f(0x3d9,0x458,_0x555387._0x4bb580,0x4f2)][_0x43f83f(0x36e,_0x555387._0x32ced4,_0x555387._0x27459e,0x263)]),async *'execute'(_0x30e528){const _0x4616cd={_0xe02999:0xfd};function _0x22d61b(_0x371930,_0x5de71c,_0x91c5d1,_0x275f4b){return _0x43f83f(_0x91c5d1,_0x5de71c-_0x7a395c._0x22c528,_0x91c5d1-_0x7a395c._0x5874d6,_0x5de71c- -_0x7a395c._0x3234dd);}const _0x1df74e=await _0x16f0af['client'][_0x9208ba(0xd3,_0x1e5675._0x386307,_0x1e5675._0x4fe40a,_0x1e5675._0xbba04e)]({'name':_0x16f0af['tool'][_0x22d61b(-_0x1e5675._0x309f30,-_0x1e5675._0x40a1f9,0xa1,-_0x1e5675._0x104c77)],'arguments':isJsonObject(_0x30e528)?_0x30e528:{}});function _0x9208ba(_0x21d6ad,_0x211c82,_0x5e190e,_0x4b6198){return _0x43f83f(_0x5e190e,_0x211c82-0x155,_0x5e190e-_0x4616cd._0xe02999,_0x211c82- -0x3de);}if(_0x1df74e['isError'])throw new ToolExecutionError(formatMcpContent(_0x1df74e),{'serverName':_0x16f0af[_0x22d61b(-0x28,-0xb7,0x4b,-_0x1e5675._0x5cad2d)],'toolName':_0x16f0af[_0x9208ba(-_0x1e5675._0x41d708,0x114,0x1fd,_0x1e5675._0x27b4ca)]['name']});return yield createToolOutput(formatMcpContent(_0x1df74e),{'serverName':_0x16f0af[_0x22d61b(-_0x1e5675._0x39595b,-_0x1e5675._0x493bed,-0xee,0xb2)],'toolName':_0x16f0af[_0x22d61b(0x2c3,_0x1e5675._0x4f822e,0x2c7,_0x1e5675._0x3acc56)]['name'],'result':_0x1df74e}),void 0x0;}});}function resolvePrefix(_0x50c64b,_0x54d209){const _0x56c5cd={_0x26c2e8:0x23,_0x140a59:0x17e};function _0x306dd5(_0x495fcf,_0x14f11b,_0x3dfcec,_0x1c8dc8){return _0x199ce4(_0x14f11b-_0x56c5cd._0x26c2e8,_0x14f11b-0x1ac,_0x3dfcec,_0x1c8dc8-_0x56c5cd._0x140a59);}return _0x54d209[_0x306dd5(-0x18,-0xff,-0x131,-0x1a2)]??_0x50c64b;}function buildMcpHttpHeaders(_0x54c43c){const _0x310612={_0x52c24c:0x1a3,_0x484a6d:0x23d,_0x13c49c:0x2ac,_0x396518:0x153,_0x459ad6:0x68a,_0x2cb789:0x5a0,_0x2123ce:0x54,_0x1a4f87:0x41d,_0x4284d8:0x38a,_0x3c7e64:0x324,_0x43f6dd:0x2fe,_0xf759f2:0x65d,_0x47b27a:0x603,_0x42392f:0x5b1,_0x12c0a3:0x219,_0x49250a:0x2f1,_0x344f3d:0x58a,_0x4104fe:0x594},_0x432fca={_0xed9bcc:0x510,_0x465d1f:0x1d1},_0x7ab120={_0x48b701:0x136,_0x57a893:0x187,_0x88b883:0x72};function _0x4ee82e(_0x2ae874,_0x576609,_0x19080a,_0x5e90b1){return _0x26f978(_0x2ae874-_0x7ab120._0x48b701,_0x576609-_0x7ab120._0x57a893,_0x576609- -_0x7ab120._0x88b883,_0x2ae874);}function _0x3744a5(_0x9a7f74,_0x1fca87,_0xe5e6bb,_0x1c20bb){return _0x199ce4(_0x1fca87-_0x432fca._0xed9bcc,_0x1fca87-_0x432fca._0x465d1f,_0x1c20bb,_0x1c20bb-0x13e);}const _0x562a0d={..._0x54c43c[_0x4ee82e(_0x310612._0x52c24c,_0x310612._0x484a6d,_0x310612._0x13c49c,_0x310612._0x396518)]??{}};return _0x54c43c[_0x3744a5(0x801,_0x310612._0x459ad6,0x74d,_0x310612._0x2cb789)]?.[_0x4ee82e(-0x16,0xf7,-_0x310612._0x2123ce,0x2)]==='bearer'&&_0x54c43c[_0x4ee82e(_0x310612._0x1a4f87,_0x310612._0x4284d8,_0x310612._0x3c7e64,_0x310612._0x43f6dd)][_0x3744a5(0x7b3,_0x310612._0xf759f2,_0x310612._0x47b27a,_0x310612._0x42392f)]&&_0x562a0d['Authorization']===void 0x0&&(_0x562a0d[_0x4ee82e(0x35b,_0x310612._0x12c0a3,0x130,_0x310612._0x49250a)]='Bearer\x20'+_0x54c43c[_0x3744a5(_0x310612._0x344f3d,0x68a,_0x310612._0x4104fe,0x6c5)][_0x3744a5(0x646,0x65d,0x519,0x546)]),Object['keys'](_0x562a0d)['length']>0x0?_0x562a0d:void 0x0;}function getErrorMessage(_0xfcfed9){const _0x37f710={_0x3aed80:0xbc,_0x201988:0x15e,_0x1b1b89:0x188,_0x4c3483:0x28a},_0x27bd62={_0x25a41d:0xce};function _0x29efcb(_0x47f788,_0x4ca607,_0xc5507b,_0x3a622b){return _0x199ce4(_0xc5507b-_0x27bd62._0x25a41d,_0x4ca607-0x21,_0x3a622b,_0x3a622b-0x120);}return _0xfcfed9 instanceof Error?_0xfcfed9[_0x29efcb(_0x37f710._0x3aed80,_0x37f710._0x201988,_0x37f710._0x1b1b89,_0x37f710._0x4c3483)]:String(_0xfcfed9);}function isUnauthorizedError(_0x586873){const _0x17081f={_0x41debf:0x61,_0x154f72:0x7a,_0x954cca:0x1e,_0x4486cc:0x2a2,_0x534736:0x4f,_0x5d2829:0x35,_0xa89768:0x97},_0x55d2df={_0x5e1a5e:0xaf,_0x15dfcf:0xc0,_0x3bf100:0x1bc},_0x4f3584={_0x2681f1:0x6b};function _0x2ab392(_0x5f46e2,_0x444e8e,_0x254eef,_0x23edb2){return _0x199ce4(_0x5f46e2- -0xa4,_0x444e8e-0x1c6,_0x23edb2,_0x23edb2-_0x4f3584._0x2681f1);}function _0x4af670(_0x33f752,_0x3c32d6,_0x335cf4,_0xa5ef99){return _0x199ce4(_0xa5ef99- -_0x55d2df._0x5e1a5e,_0x3c32d6-_0x55d2df._0x15dfcf,_0x33f752,_0xa5ef99-_0x55d2df._0x3bf100);}return _0x586873 instanceof Error&&_0x586873[_0x2ab392(-_0x17081f._0x41debf,-0x1b5,_0x17081f._0x154f72,-_0x17081f._0x954cca)][_0x4af670(-0x43,-_0x17081f._0x4486cc,-_0x17081f._0x534736,-0x16f)]===_0x2ab392(0x38,-_0x17081f._0x5d2829,-0xff,_0x17081f._0xa89768);}async function connectMcpServer(_0x5784b0,_0x16f2ec,_0x389030){const _0x5b30a0={_0x5b4aeb:0x7c,_0x14c6f2:0x84,_0x226f87:0xe9,_0x4b07e3:0x8a,_0x11aa66:0x4eb,_0x86dd1:0x4fc,_0x443a48:0x590,_0x4c2f00:0x136,_0x19804b:0x4cb,_0x37d024:0x624,_0x8a2d23:0x4b2,_0x455009:0x50f,_0x34f758:0x60f,_0x51abe2:0x696,_0x5a0b95:0x44d,_0x5c282b:0x482,_0x272bd1:0x19a,_0x281c08:0x1c4,_0x1c178f:0xb3,_0x11ae3d:0x5b6,_0x555ffe:0x584,_0x55adcc:0x176,_0x3850aa:0x246,_0x41e04e:0x121,_0x4bf623:0x198,_0x47df79:0x4d5,_0x2c3f74:0x640,_0x316aca:0x51d,_0x44952f:0x1d2,_0x1f9ac0:0x537,_0x346f8c:0x4d6,_0x5d27dd:0x8e,_0xc0a9d7:0x15e,_0x540be5:0x97,_0x5bcfe8:0x5ad,_0x5b8bc5:0x500,_0x274792:0x119,_0x6d148d:0x148,_0x103442:0xd9,_0x38428a:0x4f3,_0x2d9fb0:0x5a2,_0x392021:0x61a,_0xfcaa1f:0x87,_0x4de33e:0xe4,_0x2ecc92:0x4f,_0x3f3bc5:0x4,_0xde52c9:0xc3,_0x2596f3:0x86,_0x4e31c3:0x1ee,_0x428733:0xa6,_0x3a1d13:0xec},_0x46ccf3={_0x512981:0x71,_0x54fb5c:0x77,_0x353f93:0xab},_0x400355={_0x40bdf5:0x7a5},_0x5c54e8={_0x1e9d4a:0x71a,_0x398479:0x128,_0xc2f0a4:0xd6},_0x394d5a={_0x4aa3df:0x118},_0x428708={_0x1b77b0:0x1b9},_0x2dc41c={_0x2a191f:0x7d,_0x4c9a48:0x79,_0x5a1e52:0x172,_0x3eee1f:0x10a,_0x7a22bd:0xf0,_0x56cb6a:0x70},_0x37672a={_0xf25e65:0x12c,_0x471938:0xdb,_0x20cea8:0x1cd},_0x122e56=new Client({'name':_0x27508b(-0x90,-_0x5b30a0._0x5b4aeb,-_0x5b30a0._0x14c6f2,0x18),'version':_0x27508b(_0x5b30a0._0x226f87,_0x5b30a0._0x4b07e3,0x1c9,0x1f0)});_0x122e56[_0x5e0048(0x660,_0x5b30a0._0x11aa66,_0x5b30a0._0x86dd1,_0x5b30a0._0x443a48)]=_0x1b2a42=>{const _0x321bc8={_0x294125:0x3};function _0x439c5e(_0x453afe,_0xaf7609,_0x425ef7,_0xa0aabc){return _0x5e0048(_0x453afe-_0x37672a._0xf25e65,_0xaf7609-_0x37672a._0x471938,_0xa0aabc,_0x453afe- -_0x37672a._0x20cea8);}function _0x17d572(_0x2dee2d,_0x329a80,_0x53e1e7,_0x4b2298){return _0x27508b(_0x53e1e7-_0x321bc8._0x294125,_0x329a80,_0x53e1e7-0x1ac,_0x4b2298-0x16c);}console[_0x17d572(0x66,0x17,-_0x2dc41c._0x2a191f,0xc0)](_0x17d572(-0x1fc,-_0x2dc41c._0x4c9a48,-_0x2dc41c._0x5a1e52,-0x44)+_0x5784b0+_0x17d572(-_0x2dc41c._0x3eee1f,-0x18f,-0x93,0xdb),_0x1b2a42[_0x17d572(_0x2dc41c._0x7a22bd,-0xc2,0x3e,_0x2dc41c._0x56cb6a)]);};function _0x5e0048(_0x4dba74,_0x546b4a,_0x26e830,_0x2d9d7c){return _0x199ce4(_0x2d9d7c-0x54c,_0x546b4a-_0x428708._0x1b77b0,_0x26e830,_0x2d9d7c-0x116);}if(_0x16f2ec['transport']===_0x27508b(-0x14,0x25,-0x35,-_0x5b30a0._0x4c2f00)||_0x16f2ec[_0x5e0048(_0x5b30a0._0x19804b,_0x5b30a0._0x37d024,0x45f,0x4b2)]){if(!_0x16f2ec[_0x5e0048(0x39c,0x439,0x461,_0x5b30a0._0x8a2d23)])throw new Error(_0x5e0048(0x675,_0x5b30a0._0x455009,_0x5b30a0._0x34f758,0x652)+_0x5784b0+_0x5e0048(_0x5b30a0._0x51abe2,_0x5b30a0._0x5a0b95,_0x5b30a0._0x5c282b,0x5aa));if(_0x16f2ec[_0x27508b(0xfb,0x21f,_0x5b30a0._0x272bd1,0x15)]?.[_0x27508b(-0x198,-_0x5b30a0._0x281c08,-_0x5b30a0._0x1c178f,-0x98)]===_0x5e0048(0x3e8,_0x5b30a0._0x11ae3d,_0x5b30a0._0x555ffe,0x51d)&&!_0x389030?.[_0x5e0048(0x579,0x502,0x553,0x51d)])throw new Error('MCP\x20server\x20'+_0x5784b0+'\x20requires\x20OAuth\x20connection\x20options');const _0x385bd2=buildMcpHttpHeaders(_0x16f2ec),_0x873637=_0x16f2ec[_0x27508b(0xfb,_0x5b30a0._0x55adcc,_0x5b30a0._0x3850aa,_0x5b30a0._0x41e04e)]?.[_0x27508b(-_0x5b30a0._0x4bf623,-0x295,-0x120,-0x18b)]==='oauth'&&_0x389030?.[_0x5e0048(_0x5b30a0._0x47df79,0x461,_0x5b30a0._0x2c3f74,_0x5b30a0._0x316aca)]?createMcpOAuthProvider({'serverName':_0x5784b0,'callbackUrl':_0x389030[_0x27508b(-0xae,-_0x5b30a0._0x44952f,-0xf3,-0x108)][_0x5e0048(_0x5b30a0._0x1f9ac0,_0x5b30a0._0x346f8c,0x5c0,0x4ec)],'storageDir':_0x389030[_0x27508b(-0xae,_0x5b30a0._0x5d27dd,-_0x5b30a0._0xc0a9d7,_0x5b30a0._0x540be5)][_0x5e0048(0x388,_0x5b30a0._0x5bcfe8,0x541,_0x5b30a0._0x5b8bc5)],'config':_0x16f2ec['auth'],'onRedirect':_0x25d414=>_0x389030[_0x27508b(-0xae,-0xfc,0x51,-0x212)]?.[_0x5e0048(0x69a,0x5a7,0x6a1,0x5cc)](_0x5784b0,_0x25d414)}):void 0x0,_0x3ae588=new StreamableHTTPClientTransport(new URL(_0x16f2ec[_0x27508b(-_0x5b30a0._0x274792,-0x124,-_0x5b30a0._0x6d148d,-_0x5b30a0._0x103442)]),{'authProvider':_0x873637,'requestInit':_0x385bd2?{'headers':_0x385bd2}:void 0x0});await _0x122e56['connect'](_0x3ae588);}else{if(!_0x16f2ec[_0x5e0048(0x608,_0x5b30a0._0x38428a,_0x5b30a0._0x2d9fb0,_0x5b30a0._0x392021)])throw new Error(_0x27508b(_0x5b30a0._0xfcaa1f,-0x96,-0xb8,_0x5b30a0._0x4de33e)+_0x5784b0+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0xcd3bc3=new StdioClientTransport({'command':_0x16f2ec[_0x27508b(_0x5b30a0._0x2ecc92,-0x114,0xbf,-_0x5b30a0._0x3f3bc5)],'args':_0x16f2ec[_0x27508b(_0x5b30a0._0xde52c9,0x7b,-_0x5b30a0._0x2596f3,_0x5b30a0._0x4e31c3)]??[],'env':_0x16f2ec[_0x27508b(-0x82,-0x1c6,-_0x5b30a0._0x428733,-_0x5b30a0._0x3a1d13)],'stderr':'pipe'});await _0x122e56['connect'](_0xcd3bc3);}function _0x27508b(_0x254a4c,_0x20ec7f,_0x1e87ce,_0x349d30){return _0x26f978(_0x254a4c-0x10c,_0x20ec7f-_0x394d5a._0x4aa3df,_0x254a4c- -0x301,_0x20ec7f);}return{async 'listTools'(){function _0x1ada8c(_0x429075,_0x20a5d9,_0xe9aec3,_0x7c4ceb){return _0x27508b(_0x7c4ceb-_0x5c54e8._0x1e9d4a,_0xe9aec3,_0xe9aec3-_0x5c54e8._0x398479,_0x7c4ceb-_0x5c54e8._0xc2f0a4);}return await _0x122e56[_0x1ada8c(0x954,_0x400355._0x40bdf5,0x66c,0x7e1)]();},async 'callTool'(_0x491c6c){const _0x55b55c={_0x19bb7c:0xc1,_0x3d0873:0x491};function _0x23ee3d(_0x1cb690,_0x1a9cf,_0x3cf7d3,_0x190384){return _0x5e0048(_0x1cb690-_0x55b55c._0x19bb7c,_0x1a9cf-0x132,_0x3cf7d3,_0x190384- -_0x55b55c._0x3d0873);}return await _0x122e56['request']({'method':_0x23ee3d(-_0x46ccf3._0x512981,-0x2f,-_0x46ccf3._0x54fb5c,-_0x46ccf3._0x353f93),'params':_0x491c6c},CallToolResultSchema);},async 'close'(){await _0x122e56['close']();}};}async function createMcpToolsFromServers(_0xb77f76){const _0xa03f4e={_0x53174e:0x185,_0x20e20c:0x75,_0x1bdba2:0x85,_0x5c2bf9:0x4a,_0x52ccd2:0x143,_0x3be04f:0x11b,_0x13439d:0x5c,_0x14accc:0x254,_0x184423:0x12a,_0x59d536:0x138,_0x5c4fb5:0x19a,_0x2bc40f:0x9e,_0x1ac72a:0x180,_0x140954:0x31c,_0xfc9c88:0x290,_0x30072d:0x1f6,_0x226846:0x9f,_0x838e97:0x131,_0x22648e:0x3,_0x2d6f79:0xda,_0x5196ff:0x23b,_0x3a0f80:0x52,_0x59878b:0x7b,_0x477b8d:0x1a9,_0x1a1623:0x134,_0xe74753:0xa2,_0x1cccc0:0x22e,_0x1d9dc4:0x19d,_0x3fdca7:0x21,_0x7d905b:0x71,_0x4d67d2:0xd7,_0x2332fd:0x2da,_0xd3a3fb:0x33,_0x3c5731:0x25b,_0x339394:0x13,_0x455ad5:0xdc},_0x414ecd={_0x195513:0x89,_0x52bede:0x165,_0x4be18c:0x32b},_0x3b5a79={_0x518f62:0xa9},_0x5676ce={_0x27ab80:0x5},_0x5cd861={_0x3d84d0:0x12c,_0x309188:0x15d,_0x44a79f:0x2aa},_0x50b25f={_0x589508:0x1a5},_0x40a53e=_0xb77f76[_0x1a8dc0(-_0xa03f4e._0x53174e,-0x21,-0x163,-_0xa03f4e._0x20e20c)]??connectMcpServer,_0x288e68=[];function _0x1a8dc0(_0x413ec1,_0x137af0,_0x36be56,_0x2148be){return _0x26f978(_0x413ec1-0x14c,_0x137af0-0x62,_0x2148be- -_0x50b25f._0x589508,_0x36be56);}const _0x568e2f={};function _0xb05239(_0x492d91,_0x4524ab,_0x1f732a,_0x5b6262){return _0x26f978(_0x492d91-_0x5cd861._0x3d84d0,_0x4524ab-_0x5cd861._0x309188,_0x5b6262- -_0x5cd861._0x44a79f,_0x1f732a);}const _0x2b685b={},_0x1958be=[];for(const [_0x40b4e4,_0xdfe43f]of Object[_0xb05239(0x2f,0x60,-_0xa03f4e._0x1bdba2,-_0xa03f4e._0x5c2bf9)](_0xb77f76[_0x1a8dc0(0x225,_0xa03f4e._0x52ccd2,0xf0,_0xa03f4e._0x3be04f)]??{})){if(_0xdfe43f['enabled']===![]){_0x568e2f[_0x40b4e4]={'status':_0xb05239(-0x9,-_0xa03f4e._0x13439d,-_0xa03f4e._0x14accc,-_0xa03f4e._0x184423)};continue;}try{const _0x598599=await _0x40a53e(_0x40b4e4,_0xdfe43f,_0xb77f76[_0xb05239(-0x5f,-_0xa03f4e._0x59d536,-_0xa03f4e._0x5c4fb5,-_0xa03f4e._0x2bc40f)]);_0x288e68[_0xb05239(-0x1f9,-0xcd,-0x62,-_0xa03f4e._0x1ac72a)](_0x598599);const _0x204e2a=await _0x598599[_0x1a8dc0(_0xa03f4e._0x140954,_0xa03f4e._0xfc9c88,0x29b,0x223)]();let _0x4b5f6d=0x0;const _0x2a3e61=[];for(const _0x2ed4a1 of _0x204e2a[_0xb05239(0x154,_0xa03f4e._0x30072d,_0xa03f4e._0x226846,_0xa03f4e._0x838e97)]){const _0x3f975f=_0xb77f76[_0xb05239(_0xa03f4e._0x22648e,0x23a,-0x5b,_0xa03f4e._0x2d6f79)]?.[_0x40b4e4]?.[_0x2ed4a1[_0xb05239(-0x1d,0x3c,-_0xa03f4e._0x5196ff,-0xe8)]];_0x2a3e61[_0x1a8dc0(-0x122,-_0xa03f4e._0x3a0f80,-0x2b,-_0xa03f4e._0x59878b)]({'name':_0x2ed4a1[_0xb05239(-0x1a8,-_0xa03f4e._0x477b8d,0xa,-0xe8)],..._0x2ed4a1['description']!==void 0x0?{'description':_0x2ed4a1[_0x1a8dc0(_0xa03f4e._0x1a1623,-0xc6,0x5c,_0xa03f4e._0xe74753)]}:{},..._0x2ed4a1[_0xb05239(-_0xa03f4e._0x1cccc0,-0xfa,-0x2c1,-_0xa03f4e._0x1d9dc4)]!==void 0x0?{'inputSchema':_0x2ed4a1[_0x1a8dc0(-0x6c,_0xa03f4e._0x3fdca7,0x53,-0x98)]}:{}});if(_0x3f975f===![])continue;_0x4b5f6d+=0x1,_0x1958be[_0xb05239(-_0xa03f4e._0x7d905b,-_0xa03f4e._0x4d67d2,-_0xa03f4e._0x2332fd,-0x180)](createMcpTool({'serverName':resolvePrefix(_0x40b4e4,_0xdfe43f),'tool':_0x2ed4a1,'client':_0x598599}));}_0x2b685b[_0x40b4e4]=_0x2a3e61,_0x568e2f[_0x40b4e4]={'status':_0x1a8dc0(-0x144,-0x138,0x197,_0xa03f4e._0xd3a3fb),'toolCount':_0x4b5f6d};}catch(_0x7b3585){_0x568e2f[_0x40b4e4]=isUnauthorizedError(_0x7b3585)?{'status':_0x1a8dc0(0x211,0x1ab,0x19d,_0xa03f4e._0x3c5731),'message':getErrorMessage(_0x7b3585)}:{'status':_0x1a8dc0(0x62,_0xa03f4e._0x339394,0x3b,_0xa03f4e._0x455ad5),'message':getErrorMessage(_0x7b3585)};}}return{'tools':_0x1958be,'servers':_0x568e2f,'serverTools':_0x2b685b,async 'close'(){function _0x35e506(_0x35f57f,_0x381d69,_0x4e4e1e,_0x50ed50){return _0x1a8dc0(_0x35f57f-0xa4,_0x381d69-_0x5676ce._0x27ab80,_0x35f57f,_0x381d69- -0x89);}function _0x40e8bd(_0x5c9f14,_0x9fc034,_0x36859a,_0x4536f2){return _0xb05239(_0x5c9f14-_0x3b5a79._0x518f62,_0x9fc034-0x1de,_0x4536f2,_0x9fc034-0x28e);}await Promise[_0x35e506(-_0x414ecd._0x195513,0xc2,0x166,0xf9)](_0x288e68[_0x40e8bd(_0x414ecd._0x52bede,0x253,_0x414ecd._0x4be18c,0x2e7)](_0x3e21fe=>_0x3e21fe['close']()));}};}function getCommand(_0x19865a){const _0x273c29={_0x25cc06:0x402,_0x2f67c6:0x770,_0x51f3a8:0x6a7,_0x1eec0f:0x6f2,_0x31c6b7:0x4f1,_0x147b6b:0x4bf,_0x472e21:0x8e6},_0x1e2aef={_0x4f9e24:0x624,_0xc98453:0x128,_0x187a43:0x1c0},_0xf115b9={_0x3896ab:0x439,_0xf64b1d:0xb,_0xa47294:0xf3};if(_0x19865a&&typeof _0x19865a==='object'&&!Array[_0x5eaf75(_0x273c29._0x25cc06,0x483,0x422,0x429)](_0x19865a)&&typeof _0x19865a[_0x2a7bac(_0x273c29._0x2f67c6,0x63b,_0x273c29._0x51f3a8,_0x273c29._0x1eec0f)]===_0x5eaf75(0x5db,0x454,_0x273c29._0x31c6b7,_0x273c29._0x147b6b))return _0x19865a['command'];function _0x5eaf75(_0x52aef9,_0x4cc042,_0x433da4,_0x70b540){return _0x199ce4(_0x70b540-_0xf115b9._0x3896ab,_0x4cc042-_0xf115b9._0xf64b1d,_0x52aef9,_0x70b540-_0xf115b9._0xa47294);}function _0x2a7bac(_0x1174c6,_0x5cb857,_0x18d43c,_0x4c2b6c){return _0x199ce4(_0x4c2b6c-_0x1e2aef._0x4f9e24,_0x5cb857-_0x1e2aef._0xc98453,_0x1174c6,_0x4c2b6c-_0x1e2aef._0x187a43);}return _0x2a7bac(_0x273c29._0x472e21,0x839,0x7df,0x793);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x199ce4(-0x115,-0xa2,-0x12,-0xa7),_0x26f978(0x236,0x3be,0x361,0x3bc),_0x199ce4(-0x5f,-0xf5,-0x1da,-0x14),_0x26f978(0x414,0x27a,0x3b1,0x402),_0x199ce4(-0x165,-0x1b7,-0x233,0x6),_0x199ce4(-0x13d,-0x1d5,-0x1e2,-0xba),'src/agent/extension-registry.ts','src/models/mock-model.ts',_0x26f978(0x316,0x288,0x203,0x354),_0x26f978(0x139,0xc7,0x1e3,0x177),_0x199ce4(0x15b,0x193,0x22b,0x68),_0x199ce4(-0x65,-0x18e,-0x186,-0x17f),'src/agent/agent.test.ts','src/models/anthropic-model.ts','src/formats/provider-adapters.test.ts',_0x199ce4(0x144,0x15c,0x18e,0x1db)][_0x199ce4(-0x4e,-0x197,0x11e,0x9)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x26f978(0x4cd,0x419,0x3d5,0x4fa),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':_0x26f978(0x2cb,0x428,0x3ee,0x2bf),'properties':{'command':{'type':_0x26f978(0x3d5,0x3a8,0x308,0x2c5)}},'required':[_0x26f978(0x384,0x435,0x350,0x3e9)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x3a9db8){return{'output':_0x3a9db8,'structured':{'value':_0x3a9db8}};}function createUnknownToolResult(_0x5909d0){const _0x5c06b4={_0x4e39df:0x2ec,_0xcfc3fe:0x1c9,_0x30fce8:0x3d6,_0x2d8136:0x319,_0x1abc3f:0xba,_0x35a855:0x164,_0x373b84:0x58,_0x486dbe:0x129,_0x2300e0:0xe,_0x34102b:0xc},_0x5a1aab={_0x400a3a:0x7d},_0x53f029={_0x1af397:0x11,_0x120c16:0x98};function _0x581d39(_0x5bda87,_0x32f321,_0x14e512,_0x4a3702){return _0x26f978(_0x5bda87-_0x53f029._0x1af397,_0x32f321-0x9,_0x4a3702-_0x53f029._0x120c16,_0x14e512);}function _0x59bb5b(_0x1b6cab,_0x57eb3b,_0x23874e,_0x1caca4){return _0x26f978(_0x1b6cab-0x1b1,_0x57eb3b-_0x5a1aab._0x400a3a,_0x1b6cab- -0x16a,_0x57eb3b);}return{'callId':_0x5909d0['id'],'toolName':_0x5909d0['name'],'status':_0x581d39(_0x5c06b4._0x4e39df,_0x5c06b4._0xcfc3fe,_0x5c06b4._0x30fce8,_0x5c06b4._0x2d8136),'output':_0x59bb5b(0x8,_0x5c06b4._0x1abc3f,0x35,_0x5c06b4._0x35a855)+_0x5909d0[_0x59bb5b(_0x5c06b4._0x373b84,_0x5c06b4._0x486dbe,_0x5c06b4._0x2300e0,_0x5c06b4._0x34102b)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x4e5809,_0x558506){const _0x3f901a={_0x9655ca:0xff,_0x47e6b1:0x415,_0x2c9f7b:0x4a6},_0x516ec1={_0x1d681f:0x35},_0x72c83e={_0x331141:0xbf,_0x5649f3:0x179};function _0x354f8b(_0xb738f1,_0x25071c,_0x539409,_0x205e34){return _0x26f978(_0xb738f1-_0x72c83e._0x331141,_0x25071c-_0x72c83e._0x5649f3,_0xb738f1-0x1d7,_0x25071c);}function _0x1a831b(_0x4c4a95,_0xea3633,_0x44ea81,_0x5f5190){return _0x26f978(_0x4c4a95-_0x516ec1._0x1d681f,_0xea3633-0x95,_0x44ea81- -0x13,_0x5f5190);}return{'callId':_0x4e5809['id'],'toolName':_0x4e5809[_0x1a831b(0x62,0x14d,0x1af,_0x3f901a._0x9655ca)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x4e5809[_0x1a831b(_0x3f901a._0x47e6b1,0x37b,0x392,_0x3f901a._0x2c9f7b)]),'exitCode':0x0},'chunks':[_0x558506],'meta':createMeta()};}function createMockToolRuntime(){const _0x1a2385={_0x22b0df:0x148,_0x1ce648:0x16d,_0x4156c5:0x2b3},_0x24da7d={_0x2e2b5a:0x1b9,_0xca2da:0xce,_0x5b4457:0x1b6,_0x158e9a:0x9b},_0x21b428=async(_0x15eb67,_0x1f7913)=>{const _0x424033={_0x284cef:0x310};if(_0x15eb67[_0x385452(0x34b,0x2e3,_0x24da7d._0x2e2b5a,0x1fa)]!==_0xa58533(_0x24da7d._0xca2da,0x122,_0x24da7d._0x5b4457,_0x24da7d._0x158e9a))return createUnknownToolResult(_0x15eb67);function _0xa58533(_0x5b350c,_0x2395c7,_0x555c76,_0x2d30a9){return _0x16af(_0x2395c7- -_0x424033._0x284cef,_0x2d30a9);}function _0x385452(_0x387354,_0x308274,_0x5c566b,_0x3d35a3){return _0x16af(_0x308274-0xc4,_0x3d35a3);}const _0x3166f0=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x15eb67,_0x3166f0);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x5e44bd,_0x2295ab){function _0x4089d3(_0x5e6e2c,_0x5b25fc,_0x59b11a,_0x3f4364){return _0x16af(_0x3f4364- -0x9a,_0x59b11a);}return await Promise[_0x4089d3(_0x1a2385._0x22b0df,_0x1a2385._0x1ce648,0x1ad,_0x1a2385._0x4156c5)](_0x5e44bd['map'](async _0xe3b963=>{return await _0x21b428(_0xe3b963,_0x2295ab);}));},async 'execute'(_0x55417a,_0x30dfb7){return await _0x21b428(_0x55417a,_0x30dfb7);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x3efc1c={_0x453fc1:0x184,_0x4a5894:0x236},_0x495e31={_0xa8ca3e:0x121,_0x214069:0x2b};delegatedRunCounter+=0x1;function _0xc183ae(_0x27d642,_0x4c6b0d,_0x5e66a8,_0x36af8c){return _0x26f978(_0x27d642-0x21,_0x4c6b0d-_0x495e31._0xa8ca3e,_0x36af8c-_0x495e31._0x214069,_0x27d642);}return _0xc183ae(_0x3efc1c._0x453fc1,0x1f1,_0x3efc1c._0x4a5894,0x190)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x30486b,_0x36715b){return typeof _0x30486b==='function'?await _0x30486b(_0x36715b):_0x30486b;}function getDelegatedAgentDefinition(_0x5935d8,_0x5f3c88){return _0x5935d8['agents']?.[_0x5f3c88];}function createRunSummary(_0x209ec1){const _0x1219c2={_0x688cf7:0x30f,_0x48e557:0x49c,_0x24e759:0x23c,_0xee50e2:0x34a,_0x3ee0a1:0x3bc,_0x2c1f63:0x172,_0x35ad2c:0x18c,_0x53527c:0x453,_0x347cfe:0x63a,_0x465152:0x50b,_0x223ecc:0x1a1,_0x57a6a2:0x51f,_0x3a632b:0x441,_0xf2e4dc:0x487,_0x4a45f4:0x491},_0x57b033={_0x35afe5:0x136},_0x2f4ae3={_0x186c24:0x1f8,_0x3c5c31:0x118,_0x367c5f:0xf5};function _0x7abfc8(_0xe73a2,_0x514bed,_0x4aeb4b,_0x18942c){return _0x199ce4(_0x4aeb4b-_0x2f4ae3._0x186c24,_0x514bed-_0x2f4ae3._0x3c5c31,_0xe73a2,_0x18942c-_0x2f4ae3._0x367c5f);}function _0x3bee57(_0x5f0aac,_0x23221e,_0x2715d6,_0x3b0d55){return _0x199ce4(_0x3b0d55-0x505,_0x23221e-0x129,_0x5f0aac,_0x3b0d55-_0x57b033._0x35afe5);}return{'runId':_0x209ec1[_0x7abfc8(0x418,0x393,_0x1219c2._0x688cf7,0x1a3)],'agentId':_0x209ec1[_0x3bee57(0x40a,0x353,_0x1219c2._0x48e557,0x41c)],'sessionId':_0x209ec1[_0x7abfc8(0x484,_0x1219c2._0x24e759,_0x1219c2._0xee50e2,_0x1219c2._0x3ee0a1)],'status':_0x209ec1['status'],'parentSessionId':_0x209ec1[_0x7abfc8(0x19d,_0x1219c2._0x2c1f63,0xe9,_0x1219c2._0x35ad2c)],..._0x209ec1[_0x3bee57(_0x1219c2._0x53527c,_0x1219c2._0x347cfe,0x5a5,_0x1219c2._0x465152)]!==void 0x0?{'originToolCallId':_0x209ec1[_0x7abfc8(0x1c6,_0x1219c2._0x223ecc,0x1fe,0x2d2)]}:{},..._0x209ec1[_0x3bee57(_0x1219c2._0x57a6a2,0x6ac,0x60c,0x639)]!==void 0x0?{'errorMessage':_0x209ec1[_0x7abfc8(0x3a8,0x3c9,0x32c,0x21e)]}:{},..._0x209ec1[_0x3bee57(_0x1219c2._0x3a632b,0x4cf,_0x1219c2._0xf2e4dc,_0x1219c2._0x4a45f4)]?.[_0x3bee57(0x7a9,0x746,0x5e0,0x659)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x209ec1['result']['finalMessage'])}:{}};}function createRunSummaryOutput(_0x2d7c97,_0x11d8d9){const _0x8ac7f0={_0x56a5de:0x61d,_0x19ac1f:0x7c0,_0x1c6a15:0x766,_0x5ae583:0x3c1,_0x5d7894:0x43d,_0x1db79d:0x4e3,_0x41ec2b:0x72a,_0x86fdca:0x56e},_0x251e34={_0xc50a80:0x6b6,_0x59fdd3:0x22},_0x28108d={_0x36835e:0x7f,_0x24c1a3:0xb9};function _0x13cd4c(_0x2361bf,_0x42cb31,_0x10d268,_0x2ab32e){return _0x26f978(_0x2361bf-_0x28108d._0x36835e,_0x42cb31-0x1c3,_0x2361bf-_0x28108d._0x24c1a3,_0x42cb31);}function _0x324513(_0x525a5e,_0x1ca7b0,_0x24ff34,_0x12b7f5){return _0x199ce4(_0x1ca7b0-_0x251e34._0xc50a80,_0x1ca7b0-0x189,_0x525a5e,_0x12b7f5-_0x251e34._0x59fdd3);}const _0xcf1d3b=createRunSummary(_0x2d7c97),_0xa85194=_0xcf1d3b[_0x324513(_0x8ac7f0._0x56a5de,0x6ea,_0x8ac7f0._0x19ac1f,_0x8ac7f0._0x1c6a15)];return createToolOutput(typeof _0xa85194===_0x13cd4c(_0x8ac7f0._0x5ae583,_0x8ac7f0._0x5d7894,0x3ad,_0x8ac7f0._0x1db79d)&&_0xa85194[_0x324513(0x594,0x67a,_0x8ac7f0._0x41ec2b,_0x8ac7f0._0x86fdca)]>0x0?_0xa85194:_0x11d8d9,_0xcf1d3b);}function getRunTerminalErrorMessage(_0xd7706a){const _0x3df6d2={_0x1a4bb6:0x9d,_0x55a965:0x95,_0x59ac7e:0x281,_0x279aed:0xf8,_0x146da0:0xab,_0x3a6928:0x4,_0x5e2cb8:0xe4,_0x2d1cf4:0x17,_0x115cf5:0x145,_0x4a8213:0x14,_0x33599c:0x154,_0x40907e:0xdc,_0x5467b3:0x5,_0x2c3d36:0x289,_0x5a7dbc:0x25a,_0x4d8bfe:0x173,_0x427ce3:0xca,_0x38690b:0xe6},_0x401f20={_0x1cbb2c:0x9a},_0x1bab9e={_0x254cc1:0xa5};function _0x1ca5d9(_0x4b4f51,_0x31bf0b,_0x3f12fb,_0xf407f){return _0x26f978(_0x4b4f51-_0x1bab9e._0x254cc1,_0x31bf0b-0x4b,_0xf407f- -0x23a,_0x4b4f51);}const _0x33b7bc=_0xd7706a?.[_0xeb91ae(-0xe2,-_0x3df6d2._0x1a4bb6,_0x3df6d2._0x55a965,-0x15a)][_0xeb91ae(-_0x3df6d2._0x59ac7e,-0x21b,-_0x3df6d2._0x279aed,-_0x3df6d2._0x146da0)]['at'](-0x1);function _0xeb91ae(_0x1e0492,_0x408388,_0x91ab7b,_0xf2c5f8){return _0x26f978(_0x1e0492-_0x401f20._0x1cbb2c,_0x408388-0x77,_0x408388- -0x389,_0x1e0492);}if(_0x33b7bc?.[_0xeb91ae(-0x1b3,-0x13b,-_0x3df6d2._0x3a6928,0x1f)]===_0x1ca5d9(-_0x3df6d2._0x5e2cb8,_0x3df6d2._0x2d1cf4,_0x3df6d2._0x115cf5,0x47)&&_0x33b7bc[_0x1ca5d9(-_0x3df6d2._0x4a8213,0x1bd,_0x3df6d2._0x33599c,_0x3df6d2._0x40907e)][_0x1ca5d9(-0x110,_0x3df6d2._0x5467b3,-_0x3df6d2._0x2c3d36,-0x127)]()[_0xeb91ae(-_0x3df6d2._0x5a7dbc,-0x143,-_0x3df6d2._0x4d8bfe,-_0x3df6d2._0x427ce3)]>0x0)return _0x33b7bc[_0x1ca5d9(-0x8f,0x24f,_0x3df6d2._0x38690b,_0x3df6d2._0x40907e)];return void 0x0;}function formatAbortedRunMessage(_0x220c06,_0x5c3623){const _0x4a3647={_0x48026e:0xce,_0x58920c:0x55,_0x288322:0x40,_0x29a5ae:0x157,_0x3ae06c:0x283,_0x25e6a7:0x97,_0x280e00:0x54,_0x12aab7:0xd3,_0x23a71e:0x34,_0x4768b9:0xad},_0x2d630a={_0x505a37:0x93,_0xe07562:0x48,_0x49bf8e:0x120},_0x55ac98=_0x450236(-_0x4a3647._0x48026e,-_0x4a3647._0x58920c,-0xf3,_0x4a3647._0x288322)+_0x220c06+_0x450236(_0x4a3647._0x29a5ae,_0x4a3647._0x3ae06c,0x8f,-0xb);function _0x1d1863(_0x2af70a,_0x56ef65,_0x5df201,_0x21d28a){return _0x199ce4(_0x21d28a-0xe2,_0x56ef65-0x1a5,_0x56ef65,_0x21d28a-0x1e5);}if(!_0x5c3623||_0x5c3623[_0x1d1863(_0x4a3647._0x25e6a7,_0x4a3647._0x280e00,-_0x4a3647._0x12aab7,-0x8d)]()[_0x1d1863(-_0x4a3647._0x23a71e,-0x4e,0x15f,0xa6)]===0x0||_0x5c3623===_0x55ac98)return _0x55ac98;function _0x450236(_0x236c2e,_0x56248a,_0x2884b9,_0x1b99f4){return _0x199ce4(_0x236c2e-_0x2d630a._0x505a37,_0x56248a-_0x2d630a._0xe07562,_0x1b99f4,_0x1b99f4-_0x2d630a._0x49bf8e);}return _0x55ac98+_0x450236(-0xc7,-0x113,0x75,-_0x4a3647._0x4768b9)+_0x5c3623;}function createAssignTaskTool(_0x3f537c){const _0x3e5b4a={_0x193475:0x4f4,_0xed7456:0x631,_0x10a7f1:0x43f,_0x10beb6:0x592,_0x484261:0x480,_0x4a63cf:0x230,_0x14a7a7:0xd7,_0x16e55b:0x20f,_0x3b0b90:0x187,_0x5f3e86:0x4ed,_0xfd2c7e:0x3fc,_0x55333e:0x365,_0x3439d4:0x58c,_0x7f3247:0x4a8,_0x3a3a2d:0x389},_0x5f1601={_0x4dbeee:0x53f,_0x52a71a:0x5df,_0x3344eb:0x4ad,_0xd89c55:0x77a,_0x2f69a6:0x8d3,_0x40289f:0x8a3,_0x595ead:0x5a9,_0x3abcf8:0x527,_0x47b4bc:0x675,_0x2b299b:0x57a,_0x3ac6b4:0x57b,_0x499041:0x3fa,_0x16c6a2:0x4f3,_0x300088:0x473,_0x573c1d:0x444,_0x3d8222:0x504,_0x336578:0x406,_0x1e8f39:0x53f,_0xcde5c8:0x50b,_0xf16a87:0x4cf,_0x32016e:0x751,_0x1d55e5:0x6e7,_0x1f761a:0x6fc,_0x1f606c:0x7cb,_0x2b5b4e:0x7b3,_0x5cdb6b:0x4db,_0x9ef957:0x614,_0x2f240a:0x556,_0x182860:0x645,_0x2c4273:0x647,_0x409b7e:0x610,_0x3a505a:0x4e8,_0x346685:0x705,_0x1fd7f0:0x58b,_0x22c74f:0x5a8,_0x135ed5:0x66c,_0x27a11d:0x733,_0x444245:0x86a,_0x323af1:0x5b7,_0x428a05:0x55f,_0x17e50d:0x553,_0x3dfdc3:0x5f4,_0x1ae6e5:0x499,_0x145031:0x614,_0x29e010:0x3c1,_0x55c2b2:0x4c7,_0x156039:0x61e,_0x32e135:0x666,_0x31ef30:0x77e,_0x59f85e:0x69f,_0x43a24d:0x4c9,_0x2a2656:0x3ee,_0x5c1883:0x50a,_0x324160:0x401,_0x3f3bbf:0x4dc,_0x502828:0x4d2,_0x2f4cbb:0x3df,_0x2a0f51:0x460,_0x59f9fc:0x5b4,_0x12f5a0:0x5ef,_0x4b61ad:0x691,_0x145fc2:0x68d,_0x105933:0x5c7,_0x1e9e7f:0x4d2,_0xe10b7b:0x508,_0x56439e:0x656,_0x2d4d1b:0x536,_0x4ccfe4:0x73f,_0x50f904:0x8ad,_0x4a644b:0x6c2,_0x42fe53:0x524,_0x455b01:0x52b},_0x2f931b={_0x727f65:0x51,_0xd48b78:0x15a};function _0x45d83d(_0x2656fd,_0x4d0047,_0xf5bcec,_0x56af46){return _0x199ce4(_0x56af46-_0x2f931b._0x727f65,_0x4d0047-0x1d9,_0xf5bcec,_0x56af46-_0x2f931b._0xd48b78);}function _0x5bd11e(_0x45ecdc,_0x4e5a8b,_0x1130c4,_0x1a6182){return _0x199ce4(_0x1130c4-0x467,_0x4e5a8b-0x1e9,_0x45ecdc,_0x1a6182-0x192);}return defineTool({'name':_0x5bd11e(0x570,0x3cb,_0x3e5b4a._0x193475,_0x3e5b4a._0xed7456),'description':_0x5bd11e(_0x3e5b4a._0x10a7f1,0x433,_0x3e5b4a._0x10beb6,_0x3e5b4a._0x484261),'inputSchema':{'type':'object','properties':{'agentId':{'type':_0x45d83d(-0x7b,-0x66,_0x3e5b4a._0x4a63cf,_0x3e5b4a._0x14a7a7)},'description':{'type':_0x45d83d(_0x3e5b4a._0x16e55b,_0x3e5b4a._0x3b0b90,-0x4e,0xd7)},'nickname':{'type':'string'},'task':{'type':_0x5bd11e(0x5f0,0x4aa,_0x3e5b4a._0x5f3e86,0x591)}},'required':['agentId',_0x5bd11e(_0x3e5b4a._0xfd2c7e,0x2d1,0x42c,_0x3e5b4a._0x55333e),_0x5bd11e(0x5aa,_0x3e5b4a._0x3439d4,_0x3e5b4a._0x7f3247,_0x3e5b4a._0x3a3a2d)]},async *'execute'(_0x1d682b,_0x490299){const _0x2d5045={_0x51379e:0x13c,_0x5b5305:0x18a},_0x1cfd05={_0x564993:0x1ed,_0x3d5cd9:0x58b},_0x5a89b2=createDelegatedRunId(),_0x31bca9={'agentId':_0x1d682b[_0x91497(0x5ab,_0x5f1601._0x4dbeee,_0x5f1601._0x52a71a,_0x5f1601._0x3344eb)],'parentSessionId':_0x490299[_0x91497(0x836,_0x5f1601._0xd89c55,_0x5f1601._0x2f69a6,_0x5f1601._0x40289f)],'runId':_0x5a89b2,..._0x490299['toolCallId']!==void 0x0?{'toolCallId':_0x490299[_0x91497(_0x5f1601._0x595ead,_0x5f1601._0x3abcf8,_0x5f1601._0x47b4bc,_0x5f1601._0x2b299b)]}:{}},_0x2eadca=getDelegatedAgentDefinition(_0x3f537c,_0x1d682b['agentId']);if(!_0x2eadca)throw new ToolExecutionError(_0x1e24cf(0x5d2,0x4a5,0x50b,_0x5f1601._0x3ac6b4)+_0x1d682b[_0x1e24cf(0x45e,_0x5f1601._0x499041,_0x5f1601._0x16c6a2,_0x5f1601._0x300088)],{'agentId':_0x1d682b[_0x1e24cf(0x5c5,_0x5f1601._0x573c1d,0x4f3,_0x5f1601._0x3d8222)]});const _0x3e3722=new Agent(await resolveDelegatedAgentOptions(_0x2eadca,_0x31bca9));function _0x1e24cf(_0x54378a,_0x39a62a,_0x3d454b,_0x1ddcc3){return _0x45d83d(_0x54378a-_0x1cfd05._0x564993,_0x39a62a-0x35,_0x54378a,_0x3d454b-_0x1cfd05._0x3d5cd9);}let _0x53e321={'runId':_0x5a89b2,'agentId':_0x1d682b[_0x91497(_0x5f1601._0x336578,_0x5f1601._0x1e8f39,_0x5f1601._0xcde5c8,_0x5f1601._0xf16a87)],'sessionId':_0x3e3722[_0x91497(_0x5f1601._0x32016e,0x77a,0x87e,_0x5f1601._0x1d55e5)],'status':_0x1e24cf(0x5e9,0x643,_0x5f1601._0x1f761a,_0x5f1601._0x1f606c),'parentSessionId':_0x490299[_0x1e24cf(0x7d2,_0x5f1601._0x2b5b4e,0x72e,0x681)],..._0x490299['toolCallId']!==void 0x0?{'originToolCallId':_0x490299[_0x1e24cf(0x4f8,0x62f,_0x5f1601._0x5cdb6b,0x483)]}:{}};const _0x373dd6=new AbortController();function _0x91497(_0x14d8d3,_0x46ed9e,_0x46a964,_0x1ec12d){return _0x45d83d(_0x14d8d3-_0x2d5045._0x51379e,_0x46ed9e-_0x2d5045._0x5b5305,_0x46a964,_0x46ed9e-0x5d7);}const _0x573665=addAbortListener(_0x490299[_0x91497(_0x5f1601._0x9ef957,_0x5f1601._0x2f240a,_0x5f1601._0x182860,_0x5f1601._0x2c4273)],()=>{_0x373dd6['abort'](_0x490299['signal']?.['reason']);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x53e321['runId']+'.',{'runId':_0x53e321['runId'],'agentId':_0x53e321[_0x91497(_0x5f1601._0x409b7e,_0x5f1601._0x4dbeee,_0x5f1601._0x3a505a,0x40d)],'sessionId':_0x53e321[_0x91497(0x723,0x77a,_0x5f1601._0x346685,0x86e)],'status':_0x53e321[_0x1e24cf(_0x5f1601._0x1fd7f0,0x5ee,_0x5f1601._0x22c74f,0x706)]});try{const _0x440ead=await _0x3e3722[_0x1e24cf(_0x5f1601._0x135ed5,_0x5f1601._0x27a11d,0x71c,_0x5f1601._0x444245)](_0x1d682b[_0x1e24cf(_0x5f1601._0x323af1,0x56e,0x61d,_0x5f1601._0x428a05)],{'streaming':!![],'signal':_0x373dd6['signal']});_0x53e321={..._0x53e321,'status':_0x440ead[_0x91497(_0x5f1601._0x17e50d,_0x5f1601._0x3dfdc3,0x54a,0x595)],'result':_0x440ead};if(_0x440ead[_0x91497(0x4ba,0x5f4,0x47d,_0x5f1601._0x1ae6e5)]!=='completed'){const _0x178ea2=getRunTerminalErrorMessage(_0x440ead),_0x2c380a=formatAbortedRunMessage(_0x53e321[_0x1e24cf(0x699,_0x5f1601._0x145031,0x6f3,0x793)],_0x178ea2);throw new ToolExecutionError(_0x2c380a,{...createRunSummary(_0x53e321),'aborted':!![],'errorMessage':_0x2c380a});}return createRunSummaryOutput(_0x53e321,_0x91497(_0x5f1601._0x29e010,_0x5f1601._0x55c2b2,0x4c8,0x503)+_0x53e321['runId']+_0x1e24cf(_0x5f1601._0x156039,_0x5f1601._0x32e135,0x684,_0x5f1601._0x31ef30));}catch(_0xf23f8c){if(_0xf23f8c instanceof ToolExecutionError)throw _0xf23f8c;if(isAbortError(_0xf23f8c)||_0x373dd6[_0x91497(_0x5f1601._0x59f85e,_0x5f1601._0x2f240a,_0x5f1601._0x43a24d,0x5e8)]['aborted']||_0x490299[_0x1e24cf(0x5ec,_0x5f1601._0x2a2656,_0x5f1601._0x5c1883,_0x5f1601._0x324160)][_0x91497(_0x5f1601._0x3f3bbf,_0x5f1601._0x502828,0x4f0,_0x5f1601._0x2f4cbb)]){const _0x1eaf84=getRunTerminalErrorMessage(_0x53e321[_0x91497(_0x5f1601._0x2a0f51,_0x5f1601._0x59f9fc,_0x5f1601._0x12f5a0,_0x5f1601._0x4b61ad)])??(_0xf23f8c instanceof Error?_0xf23f8c['message']:String(_0xf23f8c)),_0x580be3=formatAbortedRunMessage(_0x53e321[_0x91497(_0x5f1601._0x145fc2,0x73f,0x6bc,_0x5f1601._0x105933)],_0x1eaf84);_0x53e321={..._0x53e321,'status':_0x91497(0x46c,_0x5f1601._0x1e9e7f,0x4f7,0x3a8),'errorMessage':_0x580be3};throw new ToolExecutionError(_0x580be3,{...createRunSummary(_0x53e321),'aborted':!![],'errorMessage':_0x580be3});}const _0x4bf62e=getRunTerminalErrorMessage(_0x53e321[_0x91497(0x55a,0x5b4,_0x5f1601._0xe10b7b,0x46e)])??(_0xf23f8c instanceof Error?_0xf23f8c[_0x1e24cf(_0x5f1601._0x56439e,0x603,0x696,_0x5f1601._0x2d4d1b)]:String(_0xf23f8c))??_0x1e24cf(0x32b,0x3ce,0x47b,0x34b)+_0x53e321[_0x91497(0x7e2,_0x5f1601._0x4ccfe4,_0x5f1601._0x50f904,_0x5f1601._0x4a644b)]+'\x20failed.';_0x53e321={..._0x53e321,'status':_0x1e24cf(_0x5f1601._0x42fe53,0x3f8,_0x5f1601._0x455b01,0x69d),'errorMessage':_0x4bf62e};throw new ToolExecutionError(_0x4bf62e,{...createRunSummary(_0x53e321),'errorMessage':_0x4bf62e});}finally{_0x573665();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x433e53){return[createAssignTaskTool(_0x433e53)];}import*as _0x93cf0 from'path';function buildDescription2(_0x16a69d){const _0xc9bc92={_0x502477:0x493,_0x106fc1:0x393,_0x4a2d13:0x3be,_0x1e9a8c:0x476,_0x40dd06:0x3f9,_0x4003e5:0x4b2},_0x46307e={_0x100758:0x180,_0x17e05e:0x87,_0x26f375:0x267},_0x186d9f={_0x8efc53:0x181,_0x439a68:0xe};if(_0x16a69d[_0x12807e(0x351,0x4ad,_0xc9bc92._0x502477,0x4ea)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';const _0x42f4e5=[_0x12807e(_0xc9bc92._0x106fc1,_0xc9bc92._0x4a2d13,_0xc9bc92._0x1e9a8c,0x3fe),_0x12807e(_0xc9bc92._0x40dd06,_0xc9bc92._0x4003e5,0x5f8,0x4fb),'Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.','Available\x20skills\x20(skill_name:\x20description):',..._0x16a69d['map'](_0x54ebaa=>'-\x20'+_0x54ebaa[_0x12807e(0x4ae,0x429,0x35a,0x2e4)]+':\x20'+_0x54ebaa['description'])];function _0x1f4da2(_0xfca943,_0x312171,_0x11918e,_0x2b333a){return _0x26f978(_0xfca943-_0x186d9f._0x8efc53,_0x312171-0x7a,_0x2b333a-_0x186d9f._0x439a68,_0xfca943);}function _0x12807e(_0x52773c,_0x102c53,_0x51786c,_0x41645b){return _0x26f978(_0x52773c-_0x46307e._0x100758,_0x102c53-_0x46307e._0x17e05e,_0x102c53-_0x46307e._0x26f375,_0x41645b);}return _0x42f4e5['join']('\x0a');}function createLoadSkillTool(_0x25f1cf){const _0x5a961a={_0x47a0ce:0x18f,_0x3621b0:0xb,_0xf43d6a:0x1ed,_0x250534:0xf0,_0x1d1ea9:0x1b7,_0x246055:0x233,_0x2e96d2:0x235,_0x58ad93:0x217,_0x2b2d69:0xe4},_0x34291e={_0x367de2:0x19b,_0x2310b0:0x211,_0x2ab453:0x1d8,_0x162928:0x2c,_0x34b72d:0x21,_0x51f5ba:0x33c,_0xfa8ac5:0x484,_0x569b29:0x3e6,_0x38417b:0x49,_0x46968e:0x8,_0x34ea80:0x48e,_0x3d7b5b:0x40b,_0x24e978:0x296,_0x140eec:0x28c,_0x3c752d:0xf6,_0x45df62:0x87,_0x399c2b:0x19d,_0x1c5f9f:0xaf,_0x9e33c6:0x263,_0x65226a:0x2da,_0xb0b90a:0x1d3,_0xde9bce:0x9c,_0x29606e:0xda,_0x35d353:0x13a,_0x525dd0:0x267,_0x27ac8b:0x230,_0x3fc48e:0x3d8,_0x13d00e:0x430,_0x524023:0x92,_0x12a4ab:0x18d,_0x465fec:0x202,_0x7fccea:0x10a,_0x229f24:0x90,_0x4587bf:0x67,_0x3cd551:0x39f,_0x128f51:0x3e5,_0x6082ad:0x2a2,_0x51f9b6:0x142,_0x3fa68c:0x5c,_0x44d675:0x344,_0x3f3722:0x3d8,_0xefd04f:0x2b4,_0x1bd1f4:0x2fa,_0x334745:0x2ed,_0x2031f9:0x30b,_0xe04ae8:0x25f,_0x8fd19c:0x51,_0x2535c3:0xbb},_0x5577fa={_0x1aa023:0x13a,_0x40a407:0x171},_0x28ebea={_0x93b04:0x1ad},_0x2a5114={_0x2cf6e6:0x1e5},_0x325b1b={_0x22b26e:0xb9,_0x2257d4:0x1cf},_0xa3ab13=new Map(_0x25f1cf[_0x24e686(-0x23,-0x98,-_0x5a961a._0x47a0ce,_0x5a961a._0x3621b0)][_0x24e686(-_0x5a961a._0xf43d6a,-_0x5a961a._0x250534,0x48,-0x220)](_0xd95bdd=>[_0xd95bdd[_0x24e686(-0x12a,-0x19d,-0x26f,-0x1a1)],_0xd95bdd]));function _0x24e686(_0x26a789,_0x332f3a,_0xe07a15,_0x5af46e){return _0x26f978(_0x26a789-_0x325b1b._0x22b26e,_0x332f3a-_0x325b1b._0x2257d4,_0x332f3a- -0x35f,_0x5af46e);}const _0x40e66b=buildDescription2(_0x25f1cf['skills']);function _0x445331(_0x1caaa0,_0x4d0050,_0x1494e0,_0x1db090){return _0x26f978(_0x1caaa0-_0x2a5114._0x2cf6e6,_0x4d0050-0x18c,_0x4d0050- -0xcd,_0x1caaa0);}return defineTool({'name':_0x445331(_0x5a961a._0x1d1ea9,_0x5a961a._0x246055,_0x5a961a._0x2e96d2,_0x5a961a._0x58ad93),'description':_0x40e66b,'inputSchema':{'type':'object','properties':{'name':{'type':_0x24e686(0xfc,-0x57,-0x147,_0x5a961a._0x2b2d69)}},'required':[_0x445331(0x8e,0xf5,0x1ae,-0x3f)]},async *'execute'(_0x33485d){function _0x40e503(_0x1eb6c2,_0x5f5965,_0x1a637f,_0x4e251a){return _0x445331(_0x5f5965,_0x1a637f-_0x28ebea._0x93b04,_0x1a637f-0x8f,_0x4e251a-0x186);}const _0x28ee24=_0xa3ab13[_0x40e503(0x1bb,_0x34291e._0x367de2,_0x34291e._0x2310b0,_0x34291e._0x2ab453)](_0x33485d[_0x358ffc(0xe7,-_0x34291e._0x162928,0x49,-_0x34291e._0x34b72d)]);function _0x358ffc(_0x1d52c2,_0x6b8d6c,_0x31baf2,_0x1decd1){return _0x24e686(_0x1d52c2-_0x5577fa._0x1aa023,_0x6b8d6c-_0x5577fa._0x40a407,_0x31baf2-0x79,_0x1d52c2);}if(!_0x28ee24){const _0x500c2b=Array[_0x40e503(_0x34291e._0x51f5ba,0x393,_0x34291e._0xfa8ac5,_0x34291e._0x569b29)](_0xa3ab13[_0x358ffc(-0x4d,_0x34291e._0x38417b,-_0x34291e._0x46968e,0x7b)]())[_0x40e503(_0x34291e._0x34ea80,_0x34291e._0x3d7b5b,0x314,0x307)](',\x20');throw new ToolExecutionError(_0x40e503(_0x34291e._0x24e978,_0x34291e._0x140eec,0x1ef,_0x34291e._0x3c752d)+_0x33485d[_0x358ffc(-_0x34291e._0x45df62,-0x2c,-_0x34291e._0x399c2b,_0x34291e._0x1c5f9f)]+_0x40e503(_0x34291e._0x9e33c6,_0x34291e._0x65226a,0x2bd,_0x34291e._0xb0b90a)+_0x500c2b,{'name':_0x33485d[_0x358ffc(_0x34291e._0xde9bce,-0x2c,-_0x34291e._0x29606e,-0x64)]});}const _0x48870b=await _0x25f1cf[_0x40e503(_0x34291e._0x35d353,_0x34291e._0x525dd0,0x29f,_0x34291e._0x27ac8b)](_0x28ee24),_0x2f95f4=_0x28ee24[_0x40e503(0x448,0x3e0,_0x34291e._0x3fc48e,_0x34291e._0x13d00e)]['directory']??_0x93cf0[_0x358ffc(_0x34291e._0x524023,_0x34291e._0x12a4ab,0x102,0x47)](_0x28ee24[_0x358ffc(_0x34291e._0x465fec,_0x34291e._0x7fccea,0x123,0xee)][_0x358ffc(0xb7,-_0x34291e._0x229f24,_0x34291e._0x4587bf,0x50)]),_0x2499f8=[_0x40e503(0x26a,0x46c,_0x34291e._0x3cd551,0x386)+_0x48870b[_0x40e503(_0x34291e._0x128f51,0x370,_0x34291e._0x6082ad,0x1d1)],'',_0x48870b[_0x358ffc(_0x34291e._0x51f9b6,0xd3,_0x34291e._0x3fa68c,0x1dd)],'','---','Loaded\x20from:\x20'+_0x28ee24[_0x40e503(0x413,_0x34291e._0x44d675,_0x34291e._0x3f3722,_0x34291e._0xefd04f)]['path'],_0x40e503(0x298,0x448,_0x34291e._0x1bd1f4,_0x34291e._0x334745)+_0x2f95f4]['join']('\x0a');return yield createToolOutput(_0x2499f8,{'id':_0x48870b['id'],'name':_0x48870b['name'],'path':_0x28ee24[_0x40e503(_0x34291e._0x2031f9,0x412,_0x34291e._0x3fc48e,_0x34291e._0xe04ae8)][_0x358ffc(0x89,-0x90,_0x34291e._0x8fd19c,-_0x34291e._0x2535c3)],'baseDirectory':_0x2f95f4}),void 0x0;}});}var TODO_STATUSES=new Set([_0x26f978(0x193,0xe8,0x1ab,0x29e),'in_progress',_0x26f978(0x3f9,0x2b2,0x2fe,0x34b)]),TODO_PRIORITIES=new Set(['high',_0x199ce4(0xe4,0x15c,0x1c2,-0x29),_0x26f978(0x15f,0x278,0x17b,0x29b)]);function isTodoStatus(_0x530293){const _0x2e6a5f={_0x2f5077:0x6a6,_0x2293a2:0x474};function _0x49d508(_0x154380,_0x5e3626,_0x5e88d5,_0x3e0d7e){return _0x26f978(_0x154380-0xd8,_0x5e3626-0x121,_0x5e3626-0x24e,_0x5e88d5);}return typeof _0x530293===_0x49d508(_0x2e6a5f._0x2f5077,0x556,0x625,_0x2e6a5f._0x2293a2)&&TODO_STATUSES['has'](_0x530293);}function isTodoPriority(_0xb164aa){const _0x57c497={_0xcc2c73:0x431,_0x11ffd4:0x40e},_0x5225b4={_0x27e82e:0xdd,_0xcb01f0:0x13d,_0x2c2c85:0x409};function _0x4f75b8(_0x53a4e0,_0x296a63,_0x13fe18,_0x46fa45){return _0x199ce4(_0x53a4e0-0x50f,_0x296a63-0x60,_0x296a63,_0x46fa45-0x126);}function _0x3ada61(_0x50e6d0,_0x60d2d,_0x3355ab,_0x5a2a10){return _0x26f978(_0x50e6d0-_0x5225b4._0x27e82e,_0x60d2d-_0x5225b4._0xcb01f0,_0x50e6d0-_0x5225b4._0x2c2c85,_0x60d2d);}return typeof _0xb164aa===_0x4f75b8(0x595,0x6ff,0x442,0x578)&&TODO_PRIORITIES[_0x4f75b8(_0x57c497._0xcc2c73,0x410,0x4c8,_0x57c497._0x11ffd4)](_0xb164aa);}var TodoStore=class{['todosBySession']=new Map();[_0x199ce4(-0xf3,-0x79,-0x1e1,0x42)](_0x40fcaf){return this['todosBySession']['get'](_0x40fcaf)??[];}[_0x26f978(0x1bc,0x420,0x314,0x2b5)](_0x525aeb,_0x348514){const _0x5baf09={_0x3c5937:0x148,_0x34cb2c:0x146,_0x2c4239:0x156,_0x454758:0x19d},_0x49fea7={_0x4eae49:0x1d6,_0x3a7682:0x164},_0x28da8f={_0x2b0cbf:0x1b4,_0x4dea2b:0x169};function _0x383ebc(_0x150e6e,_0x3d59d8,_0x2df18c,_0x37aac8){return _0x26f978(_0x150e6e-_0x28da8f._0x2b0cbf,_0x3d59d8-_0x28da8f._0x4dea2b,_0x2df18c- -0x226,_0x37aac8);}function _0x4f2be6(_0x335a3f,_0x4a01ed,_0xd70931,_0x2fe074){return _0x199ce4(_0xd70931-0x22,_0x4a01ed-_0x49fea7._0x4eae49,_0x335a3f,_0x2fe074-_0x49fea7._0x3a7682);}this[_0x4f2be6(-0xd4,_0x5baf09._0x3c5937,0x49,_0x5baf09._0x34cb2c)][_0x383ebc(0x11b,0x18,_0x5baf09._0x2c4239,_0x5baf09._0x454758)](_0x525aeb,_0x348514);}[_0x199ce4(0x5c,0x26,-0x2a,0xe1)](_0x1b76b7){const _0x54d661={_0x3f98dc:0x446,_0x19408f:0x470,_0x23db3a:0xe9,_0x5bf4b6:0x1a8,_0x596fa6:0xbc,_0x494ff8:0xf3,_0x4ca460:0x108,_0x2facc4:0x69,_0x404eba:0x2cf,_0x41200d:0xe7},_0x58512e={_0x8945a5:0x14},_0x3fcfb6={_0xb907c8:0x60,_0x502d05:0x3a,_0x1980c6:0x26a},_0x58b664=this[_0x44f416(0x4ca,_0x54d661._0x3f98dc,_0x54d661._0x19408f,0x3f9)](_0x1b76b7);function _0x44f416(_0x3837b9,_0x16b55b,_0x2e8706,_0x4740ab){return _0x26f978(_0x3837b9-_0x3fcfb6._0xb907c8,_0x16b55b-_0x3fcfb6._0x502d05,_0x4740ab-_0x3fcfb6._0x1980c6,_0x2e8706);}const _0x441660={'total':_0x58b664['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x12ec9e(_0x55acde,_0x24f79f,_0x38d75b,_0x119f67){return _0x199ce4(_0x24f79f- -_0x58512e._0x8945a5,_0x24f79f-0x1e6,_0x55acde,_0x119f67-0x11e);}for(const _0x35405b of _0x58b664){if(_0x35405b[_0x12ec9e(-0x182,-0x48,-0x179,-_0x54d661._0x23db3a)]===_0x12ec9e(-_0x54d661._0x5bf4b6,-0xeb,0xb,-0x137))_0x441660['pending']+=0x1;else{if(_0x35405b[_0x12ec9e(-_0x54d661._0x596fa6,-0x48,-0x1a9,_0x54d661._0x494ff8)]===_0x12ec9e(-0x1f4,-_0x54d661._0x4ca460,-0x123,_0x54d661._0x2facc4))_0x441660[_0x44f416(0x3b4,0x4e4,_0x54d661._0x404eba,0x44a)]+=0x1;else _0x441660[_0x12ec9e(_0x54d661._0x41200d,0x68,-0xc5,0x162)]+=0x1;}}return _0x441660;}};function validateTodos(_0x53ec6a){const _0x337ba3={_0x23ef99:0x131,_0x1508d4:0x199,_0x237de6:0x20c,_0x307d57:0x191,_0x27f078:0xd3,_0x455518:0x12d,_0xd2b8a7:0x12e,_0x95fd45:0x26f,_0x5901bd:0x1d1,_0x4a2114:0x24,_0x5463cb:0x84,_0x2f4ef4:0x2f,_0x4d3cbf:0xcc,_0x599289:0x19,_0x3fa465:0x3c6,_0x56476d:0x46,_0x3b8fdb:0x5a,_0x211688:0x2fc,_0x39466b:0x269,_0x46c2cb:0x200,_0x252eaa:0x6b,_0x504900:0x16e,_0x19298f:0x67,_0x30e043:0x9f,_0x270a8d:0x59,_0x22dd63:0x1cd,_0x26c865:0xf4,_0x42a92c:0x7d,_0x165855:0xe6,_0x26335f:0xdf,_0x182c1a:0x4,_0x20e1b3:0x10d,_0xa17866:0x25,_0x254ec0:0x1d4,_0x5cec40:0x10a,_0x4639aa:0x101,_0x4425b5:0x270,_0x3a65d0:0x2d1,_0x21a996:0x1b1,_0x55b34f:0x1a4,_0x20be34:0x43,_0x24d6d5:0x2fa,_0x10230b:0x71,_0x3ec940:0x1f2,_0x31715c:0x1dc,_0x2c2414:0x1a8,_0x55c523:0xba,_0x1a19ea:0x11c,_0x34fc03:0x1b},_0x3f91ab={_0x3d4973:0x373},_0x30aaca={_0x1b376e:0x68};function _0x167abd(_0x28927c,_0x15c4bc,_0x3eb283,_0x410d95){return _0x199ce4(_0x3eb283-0x1e4,_0x15c4bc-_0x30aaca._0x1b376e,_0x410d95,_0x410d95-0x11d);}if(!Array[_0x167abd(0x1bb,0x133,0x1d4,0xf6)](_0x53ec6a[_0x167abd(0x3a,0x164,_0x337ba3._0x23ef99,0x56)])||_0x53ec6a['todos']['length']===0x0)throw new ToolExecutionError(_0x167abd(0x324,0x1d1,0x25e,_0x337ba3._0x1508d4),{'error':_0x167abd(0x1fa,0x36e,_0x337ba3._0x237de6,0x1bf)});function _0x5e390a(_0x5a157b,_0x4ba35a,_0x122fbd,_0x1fbdd1){return _0x26f978(_0x5a157b-0xfb,_0x4ba35a-0x192,_0x5a157b- -_0x3f91ab._0x3d4973,_0x4ba35a);}for(let _0xfe345=0x0;_0xfe345<_0x53ec6a[_0x167abd(_0x337ba3._0x307d57,_0x337ba3._0x27f078,0x131,0x96)][_0x5e390a(-_0x337ba3._0x455518,0x37,-_0x337ba3._0xd2b8a7,-_0x337ba3._0x95fd45)];_0xfe345+=0x1){const _0x8160a4=_0x53ec6a['todos'][_0xfe345];if(!_0x8160a4||typeof _0x8160a4!=='object')throw new ToolExecutionError(_0x167abd(0x1a1,0x88,0x101,-0x18)+(_0xfe345+0x1)+_0x167abd(_0x337ba3._0x5901bd,_0x337ba3._0x4a2114,0xbf,_0x337ba3._0x5463cb),{'error':_0x167abd(_0x337ba3._0x2f4ef4,0x224,_0x337ba3._0x4d3cbf,-_0x337ba3._0x599289)});if(typeof _0x8160a4['id']!==_0x167abd(_0x337ba3._0x3fa465,0x24a,0x26a,0x248)||_0x8160a4['id'][_0x167abd(_0x337ba3._0x56476d,-0x9,0x75,-_0x337ba3._0x3b8fdb)]()[_0x167abd(0x127,0x31a,0x1a8,0x2f9)]===0x0)throw new ToolExecutionError(_0x5e390a(-0x1d4,-_0x337ba3._0x211688,-0x9c,-0xba)+(_0xfe345+0x1)+':\x20id\x20required',{'error':'invalid_todo_id'});if(typeof _0x8160a4[_0x167abd(0x123,_0x337ba3._0x39466b,0x20e,_0x337ba3._0x46c2cb)]!==_0x5e390a(-_0x337ba3._0x252eaa,-_0x337ba3._0x504900,-_0x337ba3._0x19298f,-_0x337ba3._0x30e043)||_0x8160a4['content'][_0x167abd(-_0x337ba3._0x270a8d,_0x337ba3._0x22dd63,0x75,-0x6)]()['length']===0x0)throw new ToolExecutionError('Todo\x20'+(_0xfe345+0x1)+_0x5e390a(-0x39,-_0x337ba3._0x26c865,-0x18f,0x5c),{'error':_0x5e390a(-_0x337ba3._0x42a92c,-0x139,0x4e,_0x337ba3._0x165855)});if(!isTodoStatus(_0x8160a4[_0x5e390a(-0x125,-_0x337ba3._0x26335f,_0x337ba3._0x182c1a,-_0x337ba3._0x20e1b3)]))throw new ToolExecutionError('Todo\x20'+(_0xfe345+0x1)+_0x5e390a(0x85,0x191,-0xa1,0xdd),{'error':_0x167abd(0x22b,0x335,0x321,0x359)});if(!isTodoPriority(_0x8160a4[_0x167abd(-0x91,-_0x337ba3._0xa17866,0xe0,0x113)]))throw new ToolExecutionError(_0x5e390a(-_0x337ba3._0x254ec0,-_0x337ba3._0x5cec40,-0xee,-_0x337ba3._0x4639aa)+(_0xfe345+0x1)+_0x5e390a(-0x15d,-0x24a,-0xda,-_0x337ba3._0x4425b5),{'error':_0x167abd(0x26e,_0x337ba3._0x3a65d0,_0x337ba3._0x21a996,0x281)});}const _0x5738fa=_0x53ec6a[_0x5e390a(-_0x337ba3._0x55b34f,-_0x337ba3._0x20be34,-0x236,-_0x337ba3._0x24d6d5)]['map'](_0x3dd282=>_0x3dd282['id']);if(new Set(_0x5738fa)[_0x167abd(0x25b,_0x337ba3._0x10230b,0x127,_0x337ba3._0x3ec940)]!==_0x5738fa[_0x167abd(_0x337ba3._0x31715c,0x4f,_0x337ba3._0x2c2414,_0x337ba3._0x55c523)])throw new ToolExecutionError(_0x5e390a(0x79,0x3d,0x45,0xb8),{'error':_0x5e390a(-0x2a,_0x337ba3._0x1a19ea,-_0x337ba3._0x34fc03,-_0x337ba3._0x27f078)});}function createStatsProgress(_0x41d55b){const _0x3d04ce={_0x341d4e:0x1c3,_0x7dca3b:0x2ad,_0xcfae04:0x50b,_0x8dbd52:0x52e,_0x423018:0x4ac,_0x3c982:0x311,_0x81cb7f:0x403},_0x2051c5={_0x3022a0:0x10c,_0x52fdbd:0x0};function _0x22fae2(_0x40a358,_0x1d91e2,_0x4f9df0,_0xfd28e2){return _0x199ce4(_0xfd28e2-0x3dc,_0x1d91e2-_0x2051c5._0x3022a0,_0x40a358,_0xfd28e2-_0x2051c5._0x52fdbd);}function _0x4f4a82(_0x1b8577,_0x49fada,_0x5b436f,_0x3baf44){return _0x199ce4(_0x3baf44-0x532,_0x49fada-0x15e,_0x49fada,_0x3baf44-0xd2);}return _0x41d55b[_0x22fae2(_0x3d04ce._0x341d4e,0x305,0x1e9,_0x3d04ce._0x7dca3b)]>0x0?Math[_0x4f4a82(_0x3d04ce._0xcfae04,0x4be,_0x3d04ce._0x8dbd52,_0x3d04ce._0x423018)](_0x41d55b['completed']/_0x41d55b[_0x4f4a82(0x4fe,_0x3d04ce._0x3c982,0x48a,_0x3d04ce._0x81cb7f)]*0x64)+'%':'0%';}function createReminderItems(_0x54a8f3){const _0x55baae={_0x35aa6b:0x117,_0x164040:0x39},_0x39410e={_0x171548:0x12d,_0x2063e3:0x329},_0x24bdbc={_0x2cd40c:0x5};function _0x2d5e84(_0x5279ed,_0x2c50af,_0x453792,_0x22042d){return _0x26f978(_0x5279ed-_0x24bdbc._0x2cd40c,_0x2c50af-0xae,_0x22042d-0x29a,_0x5279ed);}function _0x39ecc0(_0x15c4ac,_0x176b76,_0x3e7c45,_0x578547){return _0x26f978(_0x15c4ac-0x1ea,_0x176b76-_0x39410e._0x171548,_0x3e7c45- -_0x39410e._0x2063e3,_0x578547);}return _0x54a8f3[_0x39ecc0(-_0x55baae._0x35aa6b,-0x1aa,-0xba,_0x55baae._0x164040)](_0x8d2b50=>({'content':_0x8d2b50['content'],'status':_0x8d2b50[_0x39ecc0(-0x32,-0x61,-0xdb,-0x256)],'id':_0x8d2b50['id']}));}function createStructuredResult(_0x370028,_0x3d1316,_0x26f84c,_0x4904c6){const _0x4e0613={_0x2d64a5:0x197,_0x255997:0x10e},_0xc2fd77={_0x421151:0xec},_0x68ba1d={_0xca7fe3:0x62f};function _0x4dd74b(_0x3c5723,_0x1c16ea,_0xea01ba,_0x302b31){return _0x199ce4(_0x1c16ea-_0x68ba1d._0xca7fe3,_0x1c16ea-0x144,_0xea01ba,_0x302b31-0x68);}function _0x5c59af(_0x3eb799,_0x1de091,_0x1e5c4a,_0x125a5d){return _0x199ce4(_0x1de091-0x63,_0x1de091-_0xc2fd77._0x421151,_0x125a5d,_0x125a5d-0x7e);}return{'allCompleted':_0x4904c6,'items':_0x3d1316[_0x5c59af(_0x4e0613._0x2d64a5,0x50,-_0x4e0613._0x255997,-0x36)](_0x2b80c5=>({'id':_0x2b80c5['id'],'content':_0x2b80c5[_0x5c59af(-0x3c,0x8d,0x101,0xef)],'status':_0x2b80c5[_0x4dd74b(0x5bc,0x5fb,0x4f0,0x4c0)],'priority':_0x2b80c5[_0x5c59af(-0x58,-0xa1,-0x1f8,-0x1dc)],'createdAt':_0x2b80c5['createdAt']})),'progress':createStatsProgress(_0x26f84c),'recentChanges':!![],'sessionId':_0x370028,'stats':_0x26f84c,'todosWritten':_0x3d1316['length']};}function createOutputText(_0xbbf1f6,_0x54b6da){const _0x3718a9={_0x5a1ad6:0x3ba,_0x101036:0x310,_0x26f031:0x100,_0x3bcb39:0x13f,_0x3e2afd:0x1dc,_0x569f9a:0x121,_0x43ab7f:0x159,_0x1262b5:0x2ad,_0x4ca8a8:0x19a,_0x3b6396:0x1f4,_0x18a63a:0x2e8},_0xd5bb89={_0x42cd1b:0x1a3,_0x5083c9:0xdb},_0x2884e8={_0x513fdb:0x21c,_0x5760af:0x54,_0x1b1710:0xbd},_0x314d90=JSON[_0x2bdcdc(_0x3718a9._0x5a1ad6,0x38c,0x32a,_0x3718a9._0x101036)](createReminderItems(_0xbbf1f6));function _0x2bdcdc(_0x435409,_0x128adc,_0x5cecb8,_0x247cdf){return _0x199ce4(_0x128adc-_0x2884e8._0x513fdb,_0x128adc-_0x2884e8._0x5760af,_0x435409,_0x247cdf-_0x2884e8._0x1b1710);}function _0x3a3ce9(_0x5f2d72,_0x3865a1,_0x3650f7,_0x2b13c8){return _0x26f978(_0x5f2d72-_0xd5bb89._0x42cd1b,_0x3865a1-0x188,_0x3865a1- -_0xd5bb89._0x5083c9,_0x2b13c8);}if(_0x54b6da)return'All\x20'+_0xbbf1f6[_0x2bdcdc(0x2a4,0x1e0,_0x3718a9._0x26f031,_0x3718a9._0x3bcb39)]+_0x3a3ce9(0x313,_0x3718a9._0x3e2afd,_0x3718a9._0x569f9a,_0x3718a9._0x43ab7f)+_0x314d90+_0x2bdcdc(0x2e9,0x1e3,_0x3718a9._0x1262b5,_0x3718a9._0x4ca8a8);return _0x2bdcdc(0x160,0x1a5,0x25f,_0x3718a9._0x3b6396)+_0x314d90+_0x3a3ce9(_0x3718a9._0x18a63a,0x16e,0x2c7,0x1eb);}function createTodoWriteTool(_0x5bee1a=new TodoStore()){const _0x16c25c={_0x4862fb:0x476,_0x5b6198:0x3b3,_0x24498b:0x4da,_0x3e6a7a:0x471,_0x156e3e:0x43e,_0x39da2a:0x4c5,_0x43a41e:0x5b7,_0x51db22:0x38e,_0x39a284:0x55f,_0x29bdab:0x63a,_0x5e4920:0x4b5,_0x317364:0x4da,_0x469bf5:0x621,_0x1090d3:0x49e,_0x488dac:0x60c,_0x566027:0x567,_0x1e5501:0x32e,_0x4e90b7:0x2cf},_0x3a60f0={_0x1fac17:0x7d7,_0x18671c:0x741,_0x546a43:0x713,_0x2e72c8:0x554,_0x5b4e2a:0x73e,_0x2461fd:0x473,_0x50e3d9:0x6fc,_0x2c3a00:0x42d,_0x5326a4:0x53c,_0x195397:0x501,_0x343b86:0x70d},_0x71d528={_0x18db17:0xf6},_0x912f0e={_0x3727bd:0xfd},_0x26c269={_0x38a6aa:0x168,_0x3ed2d2:0x156};function _0x587e6a(_0x5596e0,_0x34c75f,_0x2ac1d0,_0x3ad038){return _0x26f978(_0x5596e0-_0x26c269._0x38a6aa,_0x34c75f-_0x26c269._0x3ed2d2,_0x34c75f-0x1bd,_0x5596e0);}function _0x5a4c84(_0x9fa216,_0x42d511,_0x47e021,_0x50ef0e){return _0x26f978(_0x9fa216-_0x912f0e._0x3727bd,_0x42d511-0x15,_0x50ef0e-0x319,_0x9fa216);}return defineTool({'name':'TodoWrite','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':'object','properties':{'todos':{'type':_0x587e6a(_0x16c25c._0x4862fb,_0x16c25c._0x5b6198,_0x16c25c._0x24498b,_0x16c25c._0x3e6a7a),'items':{'type':'object','properties':{'content':{'type':'string'},'status':{'type':_0x587e6a(_0x16c25c._0x156e3e,_0x16c25c._0x39da2a,_0x16c25c._0x43a41e,_0x16c25c._0x51db22)},'priority':{'type':_0x587e6a(_0x16c25c._0x39a284,_0x16c25c._0x39da2a,0x533,0x56d)},'id':{'type':_0x5a4c84(0x51b,_0x16c25c._0x29bdab,_0x16c25c._0x5e4920,0x621)},'createdAt':{'type':_0x5a4c84(0x5f9,0x4ec,_0x16c25c._0x317364,_0x16c25c._0x469bf5)}},'required':['content',_0x5a4c84(_0x16c25c._0x1090d3,0x528,_0x16c25c._0x488dac,_0x16c25c._0x566027),'priority','id']}}},'required':[_0x587e6a(_0x16c25c._0x1e5501,0x38c,0x3df,_0x16c25c._0x4e90b7)]},async *'execute'(_0x10c2f8,_0x31fe78){const _0x19336d={_0x57f84f:0x1d9,_0x2e2357:0x133},_0x1cf5a3=_0x10c2f8;validateTodos(_0x1cf5a3);const _0x2883e6=_0x31fe78[_0x1ea88c(_0x3a60f0._0x1fac17,_0x3a60f0._0x18671c,_0x3a60f0._0x546a43,0x68f)]||_0x1acfe9(0x63d,_0x3a60f0._0x2e72c8,0x76b,_0x3a60f0._0x5b4e2a);function _0x1ea88c(_0xf2180b,_0x77ae57,_0x631c0c,_0x5e9692){return _0x587e6a(_0xf2180b,_0x77ae57-0x1b0,_0x631c0c-0x167,_0x5e9692-_0x71d528._0x18db17);}const _0xd9c6eb=new Date()[_0x1acfe9(0x587,_0x3a60f0._0x2461fd,0x6ad,_0x3a60f0._0x50e3d9)]();function _0x1acfe9(_0x29ef00,_0x31992a,_0x135f4b,_0x266f54){return _0x587e6a(_0x31992a,_0x29ef00-_0x19336d._0x57f84f,_0x135f4b-_0x19336d._0x2e2357,_0x266f54-0xb0);}const _0x358e31=_0x1cf5a3[_0x1ea88c(_0x3a60f0._0x2c3a00,_0x3a60f0._0x5326a4,0x55a,0x4d8)]['map'](_0x3aaecd=>({'id':_0x3aaecd['id'],'content':_0x3aaecd[_0x1ea88c(0x5d7,0x619,0x685,0x58a)],'status':_0x3aaecd['status'],'priority':_0x3aaecd[_0x1acfe9(0x514,0x473,0x47a,0x3a4)],'sessionId':_0x2883e6,'createdAt':_0x3aaecd[_0x1acfe9(0x613,0x720,0x55d,0x649)]||_0xd9c6eb,'updatedAt':_0xd9c6eb}));_0x5bee1a['setTodos'](_0x2883e6,_0x358e31);const _0x289cfb=_0x5bee1a['getStats'](_0x2883e6),_0x5d6a96=_0x358e31[_0x1acfe9(0x5dc,0x543,_0x3a60f0._0x195397,_0x3a60f0._0x343b86)]>0x0&&_0x358e31['every'](_0x3eb048=>_0x3eb048[_0x1acfe9(0x5e4,0x60f,0x5f0,0x6b8)]===_0x1ea88c(0x6a4,0x66b,0x612,0x6b5));return createToolOutput(createOutputText(_0x358e31,_0x5d6a96),createStructuredResult(_0x2883e6,_0x358e31,_0x289cfb,_0x5d6a96));}});}import{mkdir as _0x2343f5,writeFile as _0x730040}from'fs/promises';import*as _0xb6592f from'path';function sanitizeFileName(_0x2b5437){const _0x12c234={_0x5d26d2:0x22f,_0x4e9794:0x18c},_0x222422={_0x3dd83c:0x214,_0x31ef21:0x1f4};function _0x123d51(_0x5e5ea1,_0x44f9fc,_0x1d966e,_0x3f2a3e){return _0x199ce4(_0x5e5ea1-_0x222422._0x3dd83c,_0x44f9fc-_0x222422._0x31ef21,_0x3f2a3e,_0x3f2a3e-0x38);}return _0x2b5437[_0x123d51(_0x12c234._0x5d26d2,0x1dd,_0x12c234._0x4e9794,0x148)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x1cce83,_0x224823){const _0x53c36b={_0xcaaa70:0x8,_0x332d04:0x3e,_0x248aee:0x43,_0x269d70:0x23,_0x36dca0:0x4a,_0x94e429:0x29,_0x5e01a7:0xdf,_0xed587:0x18,_0x28fc20:0x8c,_0xea6897:0x6b,_0x52e95b:0x59,_0x1797e9:0x164,_0x318bb2:0xb5,_0xf52a92:0x43,_0x41fd1d:0x71,_0x513bd6:0x84,_0x1e79bc:0xfd,_0x40816f:0x53,_0x5938be:0xee,_0x1dd4d6:0x62,_0x5e3efd:0x94,_0x51026c:0xbd,_0x4e54e4:0x88,_0x5cc929:0xb3,_0x5da9b5:0x3d,_0x51c892:0x13c,_0x108445:0x1a6,_0x3f1b5d:0xd5,_0x5557ca:0x1c1,_0x53498c:0x6d,_0x436c43:0xae,_0x18c4e4:0x5f,_0x1c7814:0x7b,_0x574ff0:0x10d,_0x1fa84b:0x7e,_0x301892:0x1c,_0x2aff84:0xbe,_0x684993:0x98,_0x4455e0:0x43,_0x217d5c:0x54,_0x59202c:0x19,_0x4e7455:0x192,_0x21c79a:0x15d,_0x152b36:0xca,_0x2bd4a6:0x76,_0x447b8b:0x14,_0x327158:0x70,_0x2e8ac3:0xc9,_0x535f4d:0x57,_0x4802fd:0xf3,_0x4627f6:0x5f,_0x3beb21:0x1df,_0x2e7675:0x185,_0x40ca64:0x5c,_0x4ca110:0x53,_0x27c64c:0x13f,_0x3d4863:0x1b4},_0x35560c={_0x1ee262:0x149,_0x5d5e59:0x29b},_0x52db77={_0x275d32:0x44},{maxBytes:_0x2dbbec,sessionDir:_0x5a5187}=_0x224823;if(!_0x1cce83[_0x1e6819(_0x53c36b._0xcaaa70,0x101,0x7b,-_0x53c36b._0x332d04)]||Buffer[_0x1e6819(0xb,-_0x53c36b._0x248aee,_0x53c36b._0x269d70,0x121)](_0x1cce83[_0x491a80(-_0x53c36b._0x36dca0,0x40,0x50,-0xc0)],_0x1e6819(-0x17,-0x5b,_0x53c36b._0x94e429,0x13e))<=_0x2dbbec)return _0x1cce83;function _0x491a80(_0x26e08f,_0x21638f,_0x40cbc7,_0x1a2c8b){return _0x199ce4(_0x21638f- -0x54,_0x21638f-0x71,_0x26e08f,_0x1a2c8b-_0x52db77._0x275d32);}const _0x4ac7c3=Buffer[_0x491a80(-_0x53c36b._0x5e01a7,-_0x53c36b._0xed587,0xdd,_0x53c36b._0x28fc20)](_0x1cce83[_0x1e6819(-_0x53c36b._0xea6897,-_0x53c36b._0x52e95b,0x7b,0x198)],_0x1e6819(_0x53c36b._0x1797e9,-0x95,0x29,-_0x53c36b._0x318bb2));if(!_0x5a5187){const _0x114289=_0x1cce83['output'][_0x491a80(-0x17d,-_0x53c36b._0xf52a92,-0x6a,-_0x53c36b._0x41fd1d)](0x0,_0x2dbbec);return{..._0x1cce83,'output':_0x114289+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x2dbbec+_0x1e6819(-0x89,0xf1,-0x3e,-_0x53c36b._0x513bd6)+_0x4ac7c3+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x1cce83[_0x491a80(-_0x53c36b._0x1e79bc,-_0x53c36b._0x40816f,-_0x53c36b._0x5938be,_0x53c36b._0x1dd4d6)],'truncated':!![],'originalBytes':_0x4ac7c3,'transforms':[..._0x1cce83[_0x1e6819(0x142,_0x53c36b._0x5e3efd,-0x18,_0x53c36b._0x51026c)][_0x1e6819(-_0x53c36b._0x4e54e4,_0x53c36b._0x5cc929,-0x6c,-_0x53c36b._0x5da9b5)],_0x1e6819(-0x22f,-0x203,-_0x53c36b._0x51c892,-0x279)]}};}const _0x2d232b=_0x1cce83['toolName']+'_'+sanitizeFileName(_0x1cce83[_0x491a80(-0xf,0x76,_0x53c36b._0x108445,0xd5)])+_0x491a80(0x1a,0x69,-_0x53c36b._0x3f1b5d,_0x53c36b._0x5557ca),_0x3dfbbf=_0xb6592f[_0x1e6819(-_0x53c36b._0x53498c,_0x53c36b._0x436c43,-0x67,-_0x53c36b._0x18c4e4)](_0x5a5187,_0x2d232b);await _0x2343f5(_0x5a5187,{'recursive':!![]}),await _0x730040(_0x3dfbbf,_0x1cce83[_0x1e6819(-0x48,0x4f,_0x53c36b._0x1c7814,0x31)],_0x491a80(0xff,-0x12,-_0x53c36b._0x574ff0,-_0x53c36b._0x1fa84b));let _0x5110c3=_0x1cce83[_0x491a80(-0xbd,0x40,-_0x53c36b._0x301892,0x18d)][_0x1e6819(-0x35,0x5f,-_0x53c36b._0xcaaa70,_0x53c36b._0x2aff84)](0x0,_0x2dbbec);function _0x1e6819(_0x9b5db5,_0x2512c9,_0x28f216,_0x53c06e){return _0x26f978(_0x9b5db5-_0x35560c._0x1ee262,_0x2512c9-0x140,_0x28f216- -_0x35560c._0x5d5e59,_0x53c06e);}const _0x33eda8=_0x5110c3['lastIndexOf']('\x0a');_0x33eda8>_0x2dbbec*0.5&&(_0x5110c3=_0x5110c3[_0x491a80(_0x53c36b._0x684993,-_0x53c36b._0x4455e0,0x76,0x135)](0x0,_0x33eda8));const _0xb84a24=['',_0x491a80(-0x4e,0x3a,_0x53c36b._0x217d5c,_0x53c36b._0x59202c),_0x491a80(-_0x53c36b._0x5938be,-0x19,-_0x53c36b._0x4e7455,_0x53c36b._0x21c79a)+_0x2dbbec+_0x1e6819(0x124,0xc0,_0x53c36b._0x152b36,-0x79)+_0x4ac7c3+_0x1e6819(-_0x53c36b._0x5557ca,-_0x53c36b._0x2bd4a6,-0xc0,-0x12d),_0x491a80(-_0x53c36b._0x447b8b,0xa7,_0x53c36b._0x327158,_0x53c36b._0x2e8ac3)+_0x3dfbbf,_0x1e6819(-_0x53c36b._0x535f4d,0x1ce,_0x53c36b._0x4802fd,-_0x53c36b._0x4627f6),_0x1e6819(-_0x53c36b._0x3beb21,-0xd3,-_0x53c36b._0x2e7675,-0x300)][_0x1e6819(-_0x53c36b._0x40ca64,0x99,-0x67,-0x54)]('\x0a');return{..._0x1cce83,'output':_0x5110c3+_0xb84a24,'meta':{..._0x1cce83[_0x491a80(0xe7,-_0x53c36b._0x4ca110,-_0x53c36b._0x27c64c,0xbd)],'truncated':!![],'originalBytes':_0x4ac7c3,'transforms':[..._0x1cce83[_0x1e6819(0x6c,-0x8e,-0x18,0x68)]['transforms'],_0x1e6819(-0x111,-0x48,-0x13c,-_0x53c36b._0x3d4863)]}};}function createUpdateTopicTool(){const _0x131863={_0x4cf925:0x72,_0x590278:0x29a,_0x5c4baa:0x311,_0x4a501d:0x2a9,_0x38c6d1:0x293,_0x35932b:0x34d,_0x37a8f1:0x18a,_0x4844aa:0x170},_0x32a7bb={_0x133360:0x631,_0x2b623e:0x4ee,_0x4e34a7:0x50b,_0x4effa4:0x680,_0x389e88:0x43c,_0x276ff0:0x4f0,_0x4f244d:0x56f,_0x378876:0x41c,_0x2bb048:0x522,_0x1ea16c:0x5a5,_0x1dbb26:0x46f,_0x4844cf:0x5d9,_0x1ecf37:0x43c,_0x4c90b6:0x2d8,_0x32771f:0x546,_0x1d7638:0x79f,_0x15ec60:0x48b,_0x3beeab:0x5fb,_0x18366b:0x360},_0xdd42ba={_0x3b7b03:0x1a1,_0x33a356:0xe1},_0xcd4848={_0x316f63:0xa4,_0x1f76e8:0x2d6};function _0x2d2e72(_0x5ba692,_0x1aecd0,_0x55ac00,_0x229876){return _0x26f978(_0x5ba692-0x4f,_0x1aecd0-_0xcd4848._0x316f63,_0x229876- -_0xcd4848._0x1f76e8,_0x1aecd0);}function _0x1a1081(_0x1824b1,_0x54db43,_0x1f0587,_0x58c5dc){return _0x199ce4(_0x1f0587-0x1e1,_0x54db43-_0xdd42ba._0x3b7b03,_0x54db43,_0x58c5dc-_0xdd42ba._0x33a356);}return defineTool({'name':_0x2d2e72(-_0x131863._0x4cf925,-_0x131863._0x590278,-_0x131863._0x5c4baa,-0x199),'description':_0x1a1081(0x39e,0x21f,_0x131863._0x4a501d,_0x131863._0x38c6d1),'inputSchema':{'type':_0x1a1081(0x425,0x361,_0x131863._0x35932b,0x344),'properties':{'topic':{'type':'string'}},'required':[_0x1a1081(_0x131863._0x37a8f1,0x25,_0x131863._0x4844aa,0x17b)]},async *'execute'(_0x662664,_0x93ed7e){const _0xe12365={_0x30453e:0x157,_0x239e74:0x103},{topic:_0x107c59}=_0x662664;if(typeof _0x107c59!==_0x1737a3(_0x32a7bb._0x133360,_0x32a7bb._0x2b623e,_0x32a7bb._0x4e34a7,_0x32a7bb._0x4effa4)||_0x107c59[_0x1737a3(_0x32a7bb._0x389e88,0x2dc,0x329,_0x32a7bb._0x276ff0)]()[_0x1737a3(_0x32a7bb._0x4f244d,0x538,_0x32a7bb._0x378876,0x588)]===0x0)throw new ToolExecutionError(_0x1737a3(0x562,0x699,0x69d,_0x32a7bb._0x2bb048),{'error':_0x3813d6(_0x32a7bb._0x1ea16c,_0x32a7bb._0x1dbb26,0x676,_0x32a7bb._0x4844cf)});function _0x3813d6(_0x18875f,_0x37b5f5,_0x1c53c7,_0x346239){return _0x1a1081(_0x18875f-0x10c,_0x37b5f5,_0x346239-0x473,_0x346239-0x1c);}const _0x510ef0=_0x107c59[_0x1737a3(_0x32a7bb._0x1ecf37,0x3c6,_0x32a7bb._0x4c90b6,_0x32a7bb._0x32771f)]();_0x93ed7e[_0x3813d6(0x76d,0x854,0x8ca,_0x32a7bb._0x1d7638)]?.(_0x510ef0);function _0x1737a3(_0x4a3922,_0x81015c,_0xc5e01,_0x2afff6){return _0x2d2e72(_0x4a3922-_0xe12365._0x30453e,_0xc5e01,_0xc5e01-_0xe12365._0x239e74,_0x4a3922-0x5ff);}return yield createToolOutput(_0x1737a3(_0x32a7bb._0x15ec60,_0x32a7bb._0x3beeab,_0x32a7bb._0x18366b,0x483)+_0x510ef0+'\x22',{'topic':_0x510ef0}),void 0x0;}});}import{readFile as _0x254351,stat as _0x194a3a}from'fs/promises';import*as _0x1a0ece from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x199ce4(0x1d,0xb5,0x12d,-0x71),_0x26f978(0xae,0x2ea,0x17b,0x1da),_0x199ce4(0x19,0x119,-0x150,-0x103)]);function _0x199ce4(_0x3e6622,_0x4d93dc,_0x32d67f,_0x390b29){const _0x3e6fdc={_0x2e439e:0x2df};return _0x16af(_0x3e6622- -_0x3e6fdc._0x2e439e,_0x32d67f);}var PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x114823,_0x2ea307){const _0xf79eea={_0x2c8c69:0xc5,_0x5bfc4d:0x58,_0x4151c8:0x285,_0x21515c:0x12d,_0x15188b:0xb8,_0x199f2d:0x7e,_0x302246:0x62,_0x5132c6:0x105,_0x339830:0x7f,_0xa695cc:0xe4,_0x4b2cc1:0x64,_0x1d698e:0xa2,_0x1d688e:0x612,_0x48dac7:0x5bd,_0x599d04:0x60c,_0x33cfd4:0x55b,_0xf25105:0x5dd,_0x3b91ec:0x193,_0xb2b7ff:0x7e,_0x41741b:0xc7,_0x133031:0x562,_0x5d47b2:0x4b2,_0x446de7:0x457,_0x1378b8:0x41,_0x2a2a5c:0x74,_0xbc7945:0x110,_0x43141a:0x389,_0x7c831e:0x446,_0x3bb2b5:0x271,_0x1bb873:0x51f,_0x58b6aa:0x454,_0x1306ec:0x250,_0x1ed108:0x34e,_0x403ae4:0x2e3,_0x558947:0x49c,_0x1a5ef7:0x158,_0x4c37bc:0x1e,_0x5739f8:0x2b7,_0x208c67:0x38b,_0x1cc1b5:0x128,_0x42db9a:0x7b,_0x2b3753:0x12c,_0xa1c05a:0x1e,_0x4c9b79:0x9f,_0x4a0fda:0x1a3,_0x14707d:0x2d},_0x3e0145={_0xf6c492:0x1bc,_0x4a1b53:0x16e},_0x511027={_0x15a735:0x97,_0x289cf5:0x112};if(_0x114823[_0x26695d(0xa2,0x1b5,0x10c,_0xf79eea._0x2c8c69)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x26695d(-0xee,-_0xf79eea._0x5bfc4d,0xa4,-0x1b);if(_0x114823[0x0]===0xff&&_0x114823[0x1]===0xd8&&_0x114823[0x2]===0xff)return _0x26695d(_0xf79eea._0x4151c8,_0xf79eea._0x21515c,0x83,0x19);const _0x15e94d=_0x114823['subarray'](0x0,0x6)[_0x26695d(_0xf79eea._0x15188b,_0xf79eea._0x199f2d,0xe7,_0xf79eea._0x302246)](_0x26695d(0x117,0x10c,_0xf79eea._0x5132c6,_0xf79eea._0x339830));if(_0x15e94d==='GIF87a'||_0x15e94d===_0x26695d(_0xf79eea._0xa695cc,-0x28,-0xc,_0xf79eea._0x4b2cc1))return _0x26695d(_0xf79eea._0x1d698e,-0x9f,-0xc9,-0x96);if(_0x114823[_0x26695d(0x262,0x1b5,0x91,0x2db)](0x0,0x4)['toString'](_0x4e3df3(0x4e8,0x4b2,_0xf79eea._0x1d688e,0x53e))===_0x4e3df3(0x66b,_0xf79eea._0x48dac7,0x736,_0xf79eea._0x599d04)&&_0x114823[_0x4e3df3(0x4df,_0xf79eea._0x33cfd4,0x627,_0xf79eea._0xf25105)](0x8,0xc)[_0x26695d(_0xf79eea._0x3b91ec,_0xf79eea._0xb2b7ff,0x1b6,_0xf79eea._0x41741b)](_0x4e3df3(_0xf79eea._0x133031,_0xf79eea._0x5d47b2,0x429,0x44d))===_0x4e3df3(0x616,0x526,0x4dc,_0xf79eea._0x446de7))return _0x26695d(-_0xf79eea._0x1378b8,0x4d,_0xf79eea._0x2a2a5c,-_0xf79eea._0xbc7945);const _0x32cf61=_0x1a0ece['extname'](_0x2ea307)[_0x4e3df3(_0xf79eea._0x43141a,0x4fc,_0xf79eea._0x7c831e,0x3c2)]();if(_0x32cf61===_0x4e3df3(_0xf79eea._0x3bb2b5,0x3a7,_0xf79eea._0x1bb873,_0xf79eea._0x58b6aa))return _0x4e3df3(_0xf79eea._0x1306ec,_0xf79eea._0x1ed108,_0xf79eea._0x403ae4,_0xf79eea._0x558947);if(_0x32cf61===_0x26695d(0x52,_0xf79eea._0x1a5ef7,-_0xf79eea._0x4c37bc,_0xf79eea._0x5739f8)||_0x32cf61===_0x4e3df3(_0xf79eea._0x208c67,0x44a,0x438,0x2f8))return'image/jpeg';function _0x26695d(_0x356261,_0x3d5a1b,_0x4fdf98,_0x141dff){return _0x199ce4(_0x3d5a1b-_0x511027._0x15a735,_0x3d5a1b-_0x511027._0x289cf5,_0x4fdf98,_0x141dff-0x6b);}if(_0x32cf61===_0x26695d(_0xf79eea._0x1cc1b5,_0xf79eea._0x42db9a,_0xf79eea._0x2b3753,-0x62))return _0x26695d(-_0xf79eea._0xa1c05a,-_0xf79eea._0x4c9b79,-_0xf79eea._0x4a0fda,-_0xf79eea._0x14707d);function _0x4e3df3(_0x9de5a1,_0x19bf34,_0x23d417,_0x3bdb83){return _0x199ce4(_0x19bf34-0x43d,_0x19bf34-_0x3e0145._0xf6c492,_0x9de5a1,_0x3bdb83-_0x3e0145._0x4a1b53);}if(_0x32cf61==='.webp')return'image/webp';return void 0x0;}function normalizeDetail(_0x1e1225){const _0x1ed055={_0x2b85ed:0x4ce,_0x561371:0x797,_0x53a3d5:0x643,_0x3e21b6:0x61e,_0x17f413:0x610,_0x3ab334:0x611,_0xa9946:0x41b},_0x51c10a={_0x5a4f94:0x14d,_0x2b469c:0x2f,_0x367f19:0x1d1};if(_0x1e1225===void 0x0)return void 0x0;function _0x104b08(_0x15553e,_0x6ccd4f,_0x299d16,_0x398025){return _0x26f978(_0x15553e-0xb,_0x6ccd4f-0x6b,_0x6ccd4f-0x302,_0x299d16);}const _0x4d3b2b=_0x1e1225[_0x104b08(0x2b4,0x415,_0x1ed055._0x2b85ed,0x2b3)]()[_0x104b08(_0x1ed055._0x561371,_0x1ed055._0x53a3d5,_0x1ed055._0x3e21b6,0x5a4)]();if(!SUPPORTED_DETAILS['has'](_0x4d3b2b))throw new ToolExecutionError(_0x104b08(_0x1ed055._0x17f413,0x51e,_0x1ed055._0x3ab334,_0x1ed055._0xa9946)+_0x1e1225,{'detail':_0x1e1225});function _0x287d72(_0x20dc23,_0x1071cc,_0x551bb9,_0x193a8f){return _0x199ce4(_0x1071cc-_0x51c10a._0x5a4f94,_0x1071cc-_0x51c10a._0x2b469c,_0x20dc23,_0x193a8f-_0x51c10a._0x367f19);}return _0x4d3b2b;}function createViewFileTool(_0x53aad0={}){const _0x497de2={_0x4d6da0:0x322,_0x48a6bd:0x43a,_0x57e97d:0x4fa,_0x4568a4:0x558,_0x508471:0x45f,_0x56808d:0x52b,_0x42d2d7:0x43c,_0x28dce4:0x343,_0x314cc7:0x33b,_0x1a2e60:0x1e4,_0x17ac1c:0x613,_0x273322:0x46d,_0x41518d:0x63e,_0x55c669:0x699,_0x21403d:0x31b,_0x1539a7:0x410,_0x25648e:0x3ae,_0x34cf52:0x475,_0x3ea1c8:0x33b,_0x3e42e5:0x41a,_0x5ae7ff:0x218,_0x750601:0x27a,_0x5ed7a9:0x180},_0x4c3860={_0x297859:0x1a1,_0x395c74:0x12a,_0x35e186:0xe3,_0x5b7a14:0x70,_0x288124:0x252,_0x176041:0x36a,_0x446f85:0x2f6,_0x34541d:0x127,_0x3bacad:0x1ad,_0x35b539:0x4d,_0x536ee7:0x3,_0x45f7cf:0xe1,_0x32f9b9:0x123,_0x6114f6:0x420,_0x3dd605:0x248,_0x282678:0xa,_0x3cb644:0xb2,_0xeba6c4:0x3e5,_0xac9135:0x386,_0x5bb5c3:0x332,_0xe3e70f:0x99,_0x3d6785:0x132,_0x11d03d:0x154,_0x1004ad:0x39f,_0x309d2c:0x144,_0x5ca55d:0x119,_0x122ab0:0x96,_0x46fed0:0x187,_0xacd341:0x18d,_0x1bdaa7:0x72,_0x44b6a9:0x125,_0x4d8d86:0xf6,_0x42fc6d:0x1f5,_0x20ff88:0xbb,_0x2fad0a:0xe7,_0x510477:0x1b4,_0x288c57:0x425,_0x55e5e1:0x546,_0xb6846d:0x277,_0x365184:0x238,_0x1cbe8c:0x15c,_0xa6351f:0x1c4,_0x1dd05e:0x1c,_0x5c6994:0x11d,_0x4ea36d:0x1da,_0x5a638b:0x13f,_0x323912:0x462,_0x1ba7cf:0x225,_0x1fbca0:0x234,_0x3c8308:0x140,_0x3ff69c:0x19f,_0x2f33f9:0xd2,_0x34b319:0xdc,_0x43b67a:0xc0,_0x3b7a03:0x161,_0x3446d6:0x262,_0x1c0282:0x55},_0x41a45b={_0x2dc753:0x179,_0x30b7d2:0x7c},_0x5a0019={_0x133cd0:0x80,_0x480512:0x137,_0x16a797:0x222},_0x225cb1={_0x5e0c65:0x2a4,_0x115e62:0xea},_0x2ee9c3={_0x542b0f:0xa9},_0x1c5aac=_0x1a0ece[_0x4fd1bc(_0x497de2._0x4d6da0,0x312,_0x497de2._0x48a6bd,_0x497de2._0x57e97d)](_0x53aad0[_0x4fd1bc(0x312,_0x497de2._0x4568a4,_0x497de2._0x508471,_0x497de2._0x56808d)]??process[_0x183d34(0x1fa,_0x497de2._0x42d2d7,_0x497de2._0x28dce4,_0x497de2._0x314cc7)]()),_0x271811=_0x53aad0['allowedDirs']??[],_0x52147f=_0x53aad0['maxBytes']??DEFAULT_MAX_BYTES;function _0x4fd1bc(_0x5e7e40,_0x3434c3,_0x8785fb,_0x2aa290){return _0x26f978(_0x5e7e40-0xfb,_0x3434c3-_0x2ee9c3._0x542b0f,_0x8785fb-0x265,_0x2aa290);}function _0x183d34(_0x181069,_0x6bdf9,_0x16af93,_0x2d22e){return _0x199ce4(_0x16af93-_0x225cb1._0x5e0c65,_0x6bdf9-0x169,_0x181069,_0x2d22e-_0x225cb1._0x115e62);}const _0x57d7cb=_0x53aad0[_0x183d34(0xd3,0x108,_0x497de2._0x1a2e60,0x154)]??_0x4fd1bc(_0x497de2._0x17ac1c,0x5bc,0x54c,0x568);return defineTool({'name':_0x57d7cb,'description':_0x4fd1bc(_0x497de2._0x273322,_0x497de2._0x41518d,0x5c7,_0x497de2._0x55c669),'inputSchema':{'type':_0x183d34(0x54e,_0x497de2._0x21403d,_0x497de2._0x1539a7,_0x497de2._0x25648e),'properties':{'path':{'type':_0x183d34(_0x497de2._0x34cf52,_0x497de2._0x3ea1c8,0x32a,0x3c4)},'detail':{'type':_0x4fd1bc(0x586,_0x497de2._0x3e42e5,0x56d,0x501)}},'required':[_0x183d34(_0x497de2._0x5ae7ff,_0x497de2._0x750601,_0x497de2._0x5ed7a9,0x276)]},async *'execute'(_0x16352a){const _0x413bd5=resolveAllowedPath(_0x1c5aac,_0x271811,_0x16352a[_0x5dd339(0x168,_0x4c3860._0x297859,_0x4c3860._0x395c74,0x27c)]);await assertWorkspaceFile(_0x413bd5);function _0x5dd339(_0x504b60,_0x369ccf,_0x4a1a89,_0x2022df){return _0x4fd1bc(_0x504b60-_0x5a0019._0x133cd0,_0x369ccf-_0x5a0019._0x480512,_0x369ccf- -_0x5a0019._0x16a797,_0x504b60);}const _0x3841fb=await _0x194a3a(_0x413bd5);function _0x4b995c(_0x339dcf,_0x4ed342,_0x1c04f7,_0x574202){return _0x183d34(_0x574202,_0x4ed342-_0x41a45b._0x2dc753,_0x339dcf- -0x2a7,_0x574202-_0x41a45b._0x30b7d2);}if(_0x3841fb[_0x4b995c(-0xc0,-_0x4c3860._0x35e186,_0x4c3860._0x5b7a14,-0x1be)]>_0x52147f)throw new ToolExecutionError(_0x5dd339(0x2cd,_0x4c3860._0x288124,_0x4c3860._0x176041,_0x4c3860._0x446f85)+_0x16352a[_0x4b995c(-_0x4c3860._0x34541d,-_0x4c3860._0x3bacad,0x3f,-_0x4c3860._0x35b539)],{'path':_0x16352a[_0x4b995c(-0x127,-_0x4c3860._0x536ee7,-_0x4c3860._0x45f7cf,-_0x4c3860._0x32f9b9)],'maxBytes':_0x52147f,'size':_0x3841fb['size']});const _0xfa99cd=await _0x254351(_0x413bd5),_0x170389=detectImageMediaType(_0xfa99cd,_0x413bd5);if(!_0x170389)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x16352a['path'],{'path':_0x16352a['path'],'supported':[_0x5dd339(0x28f,0x2a9,_0x4c3860._0x6114f6,_0x4c3860._0x3dd605),_0x4b995c(_0x4c3860._0x282678,0x1,-0x117,_0x4c3860._0x3cb644),_0x5dd339(_0x4c3860._0xeba6c4,_0x4c3860._0xac9135,0x395,_0x4c3860._0x5bb5c3),_0x4b995c(-_0x4c3860._0xe3e70f,-_0x4c3860._0x3d6785,-_0x4c3860._0x11d03d,-0x14f),_0x5dd339(0x292,0x245,0x3ba,_0x4c3860._0x1004ad)]});const _0x37616f=normalizeDetail(_0x16352a[_0x4b995c(_0x4c3860._0x309d2c,0x22c,_0x4c3860._0x5ca55d,0x220)]),_0x4554df=[_0x4b995c(-_0x4c3860._0x122ab0,-_0x4c3860._0x46fed0,-_0x4c3860._0xacd341,_0x4c3860._0x1bdaa7)+_0x16352a['path'],'MIME:\x20'+_0x170389,_0x5dd339(0x19a,0x183,0x2aa,_0x4c3860._0x44b6a9)+_0x3841fb[_0x4b995c(-0xc0,-_0x4c3860._0x4d8d86,-_0x4c3860._0x42fc6d,0xa7)]+_0x5dd339(0x330,0x42c,0x309,0x3bf)][_0x4b995c(0xdf,_0x4c3860._0x20ff88,_0x4c3860._0x2fad0a,_0x4c3860._0x510477)](_0x37616f?[_0x5dd339(0x35f,_0x4c3860._0x288c57,_0x4c3860._0x55e5e1,0x509)+_0x37616f]:[])[_0x5dd339(0x134,_0x4c3860._0xb6846d,0x36e,0x332)]('\x0a'),_0x1f3888=[{'type':_0x4b995c(0xfc,0x149,_0x4c3860._0x365184,0x109),'source':{'type':_0x4b995c(0x161,_0x4c3860._0x1cbe8c,_0x4c3860._0xa6351f,0x124),'media_type':_0x170389,'data':_0xfa99cd[_0x4b995c(-_0x4c3860._0x1dd05e,-0xa,_0x4c3860._0x5c6994,0xee)]('base64')}},{'type':_0x5dd339(0x125,_0x4c3860._0x4ea36d,0x1a2,_0x4c3860._0x5a638b),'text':_0x4554df}];return yield createToolOutput(_0x4554df,{'path':_0x16352a['path'],'resolvedPath':_0x413bd5,'created':_0x3841fb[_0x5dd339(_0x4c3860._0x323912,0x43c,0x458,0x3b7)][_0x5dd339(_0x4c3860._0x1ba7cf,_0x4c3860._0x1fbca0,_0x4c3860._0x3c8308,_0x4c3860._0x3ff69c)](),'modified':_0x3841fb[_0x4b995c(0x152,_0x4c3860._0x2f33f9,_0x4c3860._0x34b319,0x41)]['toISOString'](),'size':_0x3841fb[_0x4b995c(-_0x4c3860._0x43b67a,-0x8d,-0x4d,-0x22a)],'mimeType':_0x170389,'encoding':_0x4b995c(_0x4c3860._0x3b7a03,_0x4c3860._0x3446d6,0x159,_0x4c3860._0x1c0282),..._0x37616f?{'detail':_0x37616f}:{}},_0x1f3888),void 0x0;}});}import _0x498273 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x410bd5=>{const _0x18fd61={_0x3733bc:0x6d7,_0x1a0273:0x7de,_0xbbe716:0x6af},_0x3230ae={_0x57062e:0x670,_0x2d6811:0x97};function _0xcfdd8b(_0x2f5f8a,_0x1d88d3,_0x5ce159,_0x4ee38a){return _0x199ce4(_0x1d88d3-_0x3230ae._0x57062e,_0x1d88d3-_0x3230ae._0x2d6811,_0x2f5f8a,_0x4ee38a-0x125);}const {lookup:_0x4c22af}=await import(_0xcfdd8b(_0x18fd61._0x3733bc,_0x18fd61._0x1a0273,_0x18fd61._0xbbe716,0x690));return _0x4c22af(_0x410bd5,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x353477){const _0x51f327={_0x4577b0:0x14,_0x36c3af:0x27,_0x149d9b:0x140,_0x541ce2:0x53,_0x2d07c8:0x1e0,_0x24c6a5:0x1b4,_0x30b6dc:0x1ef},_0x504eca={_0x4f6b6a:0x50d,_0xe7ef53:0x1be,_0x1634ac:0x119},_0x36195f=_0x353477['split']('.');function _0x1b6860(_0x20ce46,_0x16b3f3,_0x5bb439,_0x2d6331){return _0x199ce4(_0x20ce46-_0x504eca._0x4f6b6a,_0x16b3f3-_0x504eca._0xe7ef53,_0x16b3f3,_0x2d6331-_0x504eca._0x1634ac);}if(_0x36195f[_0x322742(_0x51f327._0x4577b0,_0x51f327._0x36c3af,_0x51f327._0x149d9b,_0x51f327._0x541ce2)]!==0x4)return null;function _0x322742(_0x53035a,_0x49b417,_0x3740e4,_0x2fcc44){return _0x26f978(_0x53035a-0x31,_0x49b417-0x2f,_0x3740e4- -0x106,_0x49b417);}let _0x7d1fde=0x0;for(const _0x2c5780 of _0x36195f){if(!/^\d{1,3}$/[_0x322742(0x10d,_0x51f327._0x2d07c8,_0x51f327._0x24c6a5,_0x51f327._0x30b6dc)](_0x2c5780))return null;const _0x4311f9=Number(_0x2c5780);if(_0x4311f9>0xff)return null;_0x7d1fde=_0x7d1fde*0x100+_0x4311f9;}return _0x7d1fde>>>0x0;}function isBlockedIpv4(_0x2286ea){const _0x50c4b8={_0x5b98be:0x6a4,_0x4dea75:0x5e1,_0x1c55e7:0x379,_0x32fa6c:0x599,_0x51a8a7:0x4d7,_0xa490ce:0x10c,_0x48405e:0x95,_0x32e0ab:0x266,_0x104b22:0x23e,_0x4615e9:0x5a9,_0x44617b:0x58d,_0x2ff5a6:0x5c5,_0x40de5:0x2b2},_0x2b716d={_0x1b8a81:0x1c7,_0x513df6:0x56},_0x19df55={_0x17e0d3:0x7e,_0x3041ed:0x16},_0x3a09ad=ipv4ToInt(_0x2286ea);if(_0x3a09ad===null)return!![];function _0x37ce29(_0x2cc780,_0x2f3b46,_0x501662,_0x31eb34){return _0x199ce4(_0x31eb34-_0x19df55._0x17e0d3,_0x2f3b46-_0x19df55._0x3041ed,_0x501662,_0x31eb34-0x174);}function _0x419923(_0x20eb5c,_0x435ea3,_0x28ed3c,_0x1d557a){return _0x26f978(_0x20eb5c-_0x2b716d._0x1b8a81,_0x435ea3-_0x2b716d._0x513df6,_0x28ed3c-0x2ed,_0x435ea3);}const _0x462f6a=(_0x244b9d,_0x1debcb)=>{const _0x533f71=ipv4ToInt(_0x244b9d);if(_0x533f71===null)return![];const _0xe27d9b=_0x1debcb===0x0?0x0:0xffffffff<<0x20-_0x1debcb>>>0x0;return(_0x3a09ad&_0xe27d9b)===(_0x533f71&_0xe27d9b);};return _0x462f6a('0.0.0.0',0x8)||_0x462f6a(_0x419923(_0x50c4b8._0x5b98be,0x59e,_0x50c4b8._0x4dea75,0x4d8),0x8)||_0x462f6a('100.64.0.0',0xa)||_0x462f6a(_0x419923(_0x50c4b8._0x1c55e7,_0x50c4b8._0x32fa6c,_0x50c4b8._0x51a8a7,0x591),0x8)||_0x462f6a(_0x37ce29(0x29f,0x117,0x1d9,0x174),0x10)||_0x462f6a(_0x37ce29(0x87,0x9c,-_0x50c4b8._0xa490ce,-_0x50c4b8._0x48405e),0xc)||_0x462f6a(_0x37ce29(_0x50c4b8._0x32e0ab,_0x50c4b8._0x104b22,0x228,0x1c7),0x18)||_0x462f6a(_0x419923(_0x50c4b8._0x4615e9,0x687,0x677,0x6c3),0x10)||_0x462f6a(_0x419923(0x6d6,0x4aa,_0x50c4b8._0x44617b,_0x50c4b8._0x2ff5a6),0xf)||_0x462f6a('224.0.0.0',0x4)||_0x462f6a(_0x37ce29(0x2c0,0x254,_0x50c4b8._0x40de5,0x164),0x4);}function expandIpv6(_0x1e6ef0){const _0x3499c2={_0x35256e:0x47,_0x25ac0f:0x10f,_0x5696e3:0x88,_0xa9281:0x59,_0x16d103:0x160,_0x43fbd1:0x141,_0x42c167:0x18e,_0x31d53a:0x3b4,_0x1b3313:0x2e6,_0x1a2e5f:0x26b,_0x2ac4da:0x113,_0xcad558:0x222,_0x4f1bee:0xf5,_0x2789b4:0x113,_0x19d1d5:0x1f3,_0x583aaa:0xc7,_0x26c7ad:0x1f7,_0x3c391f:0x94,_0x35a771:0x2c},_0x1bd8c7={_0x35b776:0xbf,_0x3a87bc:0x43};let _0x13e711=_0x1e6ef0,_0x44d39d;const _0x44dbfc=_0x13e711[_0x22b997(0x42,-_0x3499c2._0x35256e,0x5,0x129)](':');_0x13e711[_0x2f893b(_0x3499c2._0x25ac0f,_0x3499c2._0x5696e3,0x195,_0x3499c2._0xa9281)](_0x44dbfc+0x1)['includes']('.')&&(_0x44d39d=_0x13e711[_0x22b997(_0x3499c2._0x16d103,_0x3499c2._0x43fbd1,0x206,0x2f)](_0x44dbfc+0x1),_0x13e711=_0x13e711[_0x22b997(0x160,_0x3499c2._0x42c167,0x1f2,0xd)](0x0,_0x44dbfc+0x1));const _0x2cc3ca=_0x13e711[_0x2f893b(_0x3499c2._0x31d53a,0x395,_0x3499c2._0x1b3313,_0x3499c2._0x1a2e5f)]('::');if(_0x2cc3ca['length']>0x2)return null;const _0x386744=_0x1b3be4=>_0x1b3be4['split'](':')[_0x22b997(0x93,0x16b,-0x60,0x17d)](_0x15f5ec=>_0x15f5ec[_0x22b997(0x113,0x1ca,0x1f4,0xb4)]>0x0)[_0x22b997(0x13c,0x1b3,0x57,0x22d)](_0x5a59b4=>Number[_0x2f893b(0x202,0x3f7,0x2d5,0x1c6)](_0x5a59b4,0x10)),_0x5a8407=_0x2cc3ca[0x0]?_0x386744(_0x2cc3ca[0x0]):[],_0x58194c=_0x2cc3ca[_0x22b997(_0x3499c2._0x2ac4da,_0x3499c2._0xcad558,0x1fa,0x1f4)]===0x2&&_0x2cc3ca[0x1]?_0x386744(_0x2cc3ca[0x1]):[];function _0x22b997(_0x895f19,_0x28fc50,_0x534a5b,_0xfadb90){return _0x26f978(_0x895f19-_0x1bd8c7._0x35b776,_0x28fc50-_0x1bd8c7._0x3a87bc,_0x895f19- -0x133,_0x28fc50);}const _0x1e2f19=[];if(_0x44d39d){const _0x2536ba=ipv4ToInt(_0x44d39d);if(_0x2536ba===null)return null;_0x1e2f19[_0x2f893b(0x15d,-_0x3499c2._0x4f1bee,0x2c,-0x80)](_0x2536ba>>>0x10&0xffff,_0x2536ba&0xffff);}const _0x404a04=[..._0x58194c,..._0x1e2f19];function _0x2f893b(_0x2d5d2a,_0x87ca8,_0x507c0d,_0x155340){return _0x26f978(_0x2d5d2a-0x1c4,_0x87ca8-0x1c4,_0x507c0d- -0xfe,_0x2d5d2a);}const _0x3c3485=0x8-_0x5a8407[_0x22b997(_0x3499c2._0x2789b4,0x1c3,0x1e,0x1e2)]-_0x404a04[_0x2f893b(_0x3499c2._0x19d1d5,-0xb,0x148,_0x3499c2._0x583aaa)];if(_0x2cc3ca[_0x2f893b(0x1ae,_0x3499c2._0x26c7ad,0x148,_0x3499c2._0x3c391f)]===0x1)return _0x5a8407[_0x2f893b(0xc7,-0x2c,0x148,-_0x3499c2._0x35a771)]+_0x404a04['length']===0x8?[..._0x5a8407,..._0x404a04]:null;if(_0x3c3485<0x0)return null;return[..._0x5a8407,...new Array(_0x3c3485)['fill'](0x0),..._0x404a04];}function isBlockedIpv6(_0x1faf4a){const _0x1ce673={_0x388699:0xa,_0xc2d17e:0x792,_0x29d8f0:0x6d1,_0x5cecc3:0x65e,_0x5196a8:0x524},_0x448f5b={_0x30b63c:0x1de,_0x9e079f:0x29d},_0x1034fc={_0x14caa7:0x6c0,_0x27e0f8:0x150,_0x5d3cca:0x1e4},_0x2d54f4=expandIpv6(_0x1faf4a);if(!_0x2d54f4||_0x2d54f4['some'](_0x178e4e=>Number['isNaN'](_0x178e4e)))return!![];function _0x52aaf4(_0x274fbe,_0x85775,_0x50039c,_0x51aebc){return _0x199ce4(_0x50039c-_0x1034fc._0x14caa7,_0x85775-_0x1034fc._0x27e0f8,_0x51aebc,_0x51aebc-_0x1034fc._0x5d3cca);}const _0x78cf82=_0x2d54f4[_0x330d91(0xf1,-0x110,-_0x1ce673._0x388699,-0xa0)](0x0,0x7)['every'](_0x527072=>_0x527072===0x0);if(_0x78cf82&&(_0x2d54f4[0x7]===0x0||_0x2d54f4[0x7]===0x1))return!![];if(_0x2d54f4[_0x52aaf4(_0x1ce673._0xc2d17e,0x66f,_0x1ce673._0x29d8f0,0x64e)](0x0,0x5)[_0x330d91(-0x227,-0x24,-0xdf,-0xa1)](_0x3039ab=>_0x3039ab===0x0)&&(_0x2d54f4[0x5]===0xffff||_0x2d54f4[0x5]===0x0)){const _0x4aaaeb=(_0x2d54f4[0x6]<<0x10|_0x2d54f4[0x7])>>>0x0,_0x5da63a=[_0x4aaaeb>>>0x18&0xff,_0x4aaaeb>>>0x10&0xff,_0x4aaaeb>>>0x8&0xff,_0x4aaaeb&0xff][_0x52aaf4(_0x1ce673._0x5cecc3,0x654,0x672,_0x1ce673._0x5196a8)]('.');return isBlockedIpv4(_0x5da63a);}const _0x1d61fa=_0x2d54f4[0x0];if((_0x1d61fa&0xff00)===0xfc00||(_0x1d61fa&0xfe00)===0xfc00)return!![];if((_0x1d61fa&0xffc0)===0xfe80)return!![];if((_0x1d61fa&0xff00)===0xff00)return!![];function _0x330d91(_0x5a82aa,_0x22f9a3,_0x8349d9,_0x120517){return _0x26f978(_0x5a82aa-0x1b7,_0x22f9a3-_0x448f5b._0x30b63c,_0x8349d9- -_0x448f5b._0x9e079f,_0x22f9a3);}return![];}function isBlockedAddress(_0x4af7b4){const _0x166482=isIP(_0x4af7b4);if(_0x166482===0x4)return isBlockedIpv4(_0x4af7b4);if(_0x166482===0x6)return isBlockedIpv6(_0x4af7b4);return!![];}async function assertPublicUrl(_0x5d8fca,_0x134565={}){const _0x4e2a5c={_0x5a7622:0x59c,_0x53c652:0x423,_0x3fae16:0x48b,_0xd4d0c7:0x583,_0x17262c:0x251,_0x274762:0x199,_0x5befcc:0x304,_0x46cbb7:0x32a,_0x24f4e4:0x37c,_0x1e07c8:0x402,_0x4dc906:0x30a,_0x1ceb73:0xf1,_0x11982c:0x46d,_0x8f6a35:0x1c5,_0x227ce4:0x253,_0x4f5bee:0x106,_0x2846ba:0x2e5,_0x3d6cba:0x37,_0x4dc837:0x17c,_0x2ab240:0x12d,_0x2df1c2:0xcc,_0xde3746:0x184,_0x397da1:0x1c2,_0x3b988e:0x3b0,_0x281870:0x238,_0x42261e:0x119},_0x4eb902={_0x58c4fc:0x19f},_0x13008f={_0x342acc:0x13e};let _0x3ec8d4;try{_0x3ec8d4=new URL(_0x5d8fca);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x5d8fca});}if(_0x3ec8d4[_0x50ad83(_0x4e2a5c._0x5a7622,_0x4e2a5c._0x53c652,_0x4e2a5c._0x3fae16,_0x4e2a5c._0xd4d0c7)]!=='http:'&&_0x3ec8d4['protocol']!==_0x50ad83(0x4e8,0x389,0x4fd,_0x4e2a5c._0x17262c))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x5d8fca});function _0x5c4155(_0x28486f,_0x3d30ef,_0x4492a1,_0x2b025f){return _0x199ce4(_0x2b025f- -0x90,_0x3d30ef-0x117,_0x28486f,_0x2b025f-_0x13008f._0x342acc);}if(_0x3ec8d4[_0x5c4155(-0x1ae,-0xc7,-0x20,-_0x4e2a5c._0x274762)]||_0x3ec8d4['password'])throw new ToolExecutionError(_0x50ad83(_0x4e2a5c._0x5befcc,0x38d,0x23f,0x3c6),{'url':_0x3ec8d4['protocol']+'//'+_0x3ec8d4[_0x50ad83(0x30c,_0x4e2a5c._0x46cbb7,0x307,0x23e)]+_0x3ec8d4['pathname']});const _0x21c039=_0x3ec8d4[_0x50ad83(_0x4e2a5c._0x24f4e4,_0x4e2a5c._0x1e07c8,0x362,_0x4e2a5c._0x4dc906)]['replace'](/^\[|\]$/g,''),_0x239b7c=_0x3ec8d4[_0x5c4155(-0x4f,0x7a,_0x4e2a5c._0x1ceb73,0x63)]+'//'+_0x3ec8d4[_0x50ad83(_0x4e2a5c._0x11982c,0x32a,0x25a,0x3b0)]+_0x3ec8d4['pathname'];if(isIP(_0x21c039)){if(isBlockedAddress(_0x21c039))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x239b7c});return _0x3ec8d4;}const _0x1caad1=_0x134565[_0x5c4155(-_0x4e2a5c._0x8f6a35,-_0x4e2a5c._0x227ce4,-_0x4e2a5c._0x4f5bee,-0x1fe)]??defaultLookup;let _0x3877d5;try{_0x3877d5=await _0x1caad1(_0x21c039);}catch{throw new ToolExecutionError(_0x5c4155(-_0x4e2a5c._0x2846ba,-_0x4e2a5c._0x3d6cba,-0x1f0,-_0x4e2a5c._0x4dc837),{'url':_0x239b7c});}if(_0x3877d5[_0x5c4155(-0x128,-0x13c,-_0x4e2a5c._0x2ab240,-_0x4e2a5c._0x2df1c2)]===0x0)throw new ToolExecutionError(_0x50ad83(_0x4e2a5c._0xde3746,0x244,_0x4e2a5c._0x397da1,0x208),{'url':_0x239b7c});function _0x50ad83(_0x302ec8,_0x57943f,_0x147a34,_0x434b73){return _0x199ce4(_0x57943f-0x330,_0x57943f-0xa7,_0x302ec8,_0x434b73-_0x4eb902._0x58c4fc);}for(const {address:_0x20f94d}of _0x3877d5){if(isBlockedAddress(_0x20f94d))throw new ToolExecutionError(_0x50ad83(_0x4e2a5c._0x3b988e,_0x4e2a5c._0x281870,0x1f5,_0x4e2a5c._0x42261e),{'url':_0x239b7c});}return _0x3ec8d4;}async function safeFetch(_0x2ac95d,_0x12897a={},_0x1907de={}){const _0x368ac4={_0x5b7212:0x9f,_0x4d6731:0x80,_0x1049b9:0x43,_0xda861c:0x26d,_0x54a0ed:0x132,_0x1a0449:0x18f,_0x4d91bb:0xd0,_0x317f15:0x13a,_0x43bb39:0x2c8,_0x4b06da:0x288,_0x47ac39:0x191,_0x347842:0x1f9,_0x329fc3:0xca,_0x15085e:0x1ef,_0x549ed2:0x1e1,_0x272f26:0xca},_0x3a3283={_0x2f950a:0x73,_0x15472c:0xac,_0x4bbfeb:0x333},_0x1646c5={_0x3d2876:0xbd},_0x39d512=_0x1907de['fetchImpl']??fetch,_0x20de34=_0x1907de[_0x4d7f2e(-0x19b,-0x52,-0xb1,_0x368ac4._0x5b7212)]??DEFAULT_MAX_REDIRECTS;function _0x356be8(_0x139a63,_0x4e0301,_0x575efd,_0x5dc192){return _0x26f978(_0x139a63-0xf6,_0x4e0301-0x83,_0x5dc192- -_0x1646c5._0x3d2876,_0x139a63);}function _0x4d7f2e(_0x3a379a,_0x2d731b,_0x5072aa,_0x1d1867){return _0x26f978(_0x3a379a-_0x3a3283._0x2f950a,_0x2d731b-_0x3a3283._0x15472c,_0x5072aa- -_0x3a3283._0x4bbfeb,_0x1d1867);}let _0x32d897=_0x2ac95d;for(let _0x5353e4=0x0;;_0x5353e4+=0x1){const _0x3c2dc9=await assertPublicUrl(_0x32d897,_0x1907de),_0x30c6eb=await _0x39d512(_0x3c2dc9['toString'](),{..._0x12897a,'redirect':_0x4d7f2e(_0x368ac4._0x4d6731,0x8d,_0x368ac4._0x1049b9,0x117)}),_0x5b8e5c=_0x30c6eb[_0x356be8(0x30a,0x2ce,0x21e,0x1f2)][_0x356be8(-0x17,0x147,0xaa,0x74)]('location');if(!REDIRECT_STATUSES[_0x4d7f2e(-_0x368ac4._0xda861c,-_0x368ac4._0x54a0ed,-_0x368ac4._0x1a0449,-_0x368ac4._0x4d91bb)](_0x30c6eb[_0x356be8(_0x368ac4._0x317f15,_0x368ac4._0x43bb39,_0x368ac4._0x4b06da,_0x368ac4._0x47ac39)])||!_0x5b8e5c)return _0x30c6eb;if(_0x5353e4>=_0x20de34)throw new ToolExecutionError(_0x356be8(0x195,0x26f,0x1a6,0x10e),{'url':_0x3c2dc9[_0x4d7f2e(-_0x368ac4._0x347842,0x5b,-_0x368ac4._0x329fc3,-_0x368ac4._0x15085e)]()});_0x32d897=new URL(_0x5b8e5c,_0x3c2dc9)[_0x4d7f2e(-_0x368ac4._0x549ed2,-0x93,-_0x368ac4._0x272f26,-0x117)]();}}var USER_AGENT='Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36\x20NuvinBot/1.0',DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x28e968,_0x563f04){const _0x112e90={_0x27970a:0x231,_0x4b5fa2:0x118,_0x361155:0xbd,_0x2b2017:0xf0,_0x58076c:0x4d5,_0x13ec92:0x3a5,_0x4b9084:0x4d},_0x3fecd2={_0x241f2f:0x4f1,_0x3d6c6c:0x4fd,_0x207cd1:0x290},_0x1e8d3f={_0x5bc16b:0xe4,_0x4d99c7:0x1af},_0x37a764={_0x739ea4:0x7d,_0x2f7db3:0xfe},_0x3206a6={_0x239c4a:0x184,_0x58e62a:0x86},_0x1fcabe=new AbortController(),_0x5301c7=setTimeout(()=>_0x1fcabe[_0x13e4c8(0x3db,0x393,0x519,0x3a3)](new Error(_0x3acb8d(0x477,0x339,0x3c4,0x32b))),_0x563f04);function _0x13e4c8(_0x4ca845,_0x59f5a3,_0x2bebfc,_0x55a812){return _0x26f978(_0x4ca845-_0x3206a6._0x239c4a,_0x59f5a3-_0x3206a6._0x58e62a,_0x55a812-0x26b,_0x59f5a3);}const _0x419f28=()=>_0x1fcabe[_0x3acb8d(0x19f,0xc5,0xff,0xbd)](_0x28e968[_0x3acb8d(0x270,0xe2,0x2a,0x17c)]);function _0x3acb8d(_0x78f48,_0x13537d,_0x27d73e,_0x3b52e9){return _0x26f978(_0x78f48-_0x37a764._0x739ea4,_0x13537d-_0x37a764._0x2f7db3,_0x3b52e9- -0x7b,_0x27d73e);}return _0x28e968['aborted']?_0x1fcabe[_0x3acb8d(_0x112e90._0x27970a,0x48,_0x112e90._0x4b5fa2,_0x112e90._0x361155)](_0x28e968[_0x3acb8d(0x201,_0x112e90._0x2b2017,0x1ec,0x17c)]):_0x28e968[_0x13e4c8(0x240,0x387,_0x112e90._0x58076c,_0x112e90._0x13ec92)]('abort',_0x419f28,{'once':!![]}),{'signal':_0x1fcabe[_0x3acb8d(_0x112e90._0x4b9084,0x43,0x2,0x135)],'cleanup':()=>{const _0x3107e1={_0x380b88:0x19b,_0x59b6f5:0xa1};function _0x2da6f3(_0x5084b1,_0xc57d37,_0x2da9bd,_0x271d8b){return _0x13e4c8(_0x5084b1-_0x3107e1._0x380b88,_0x271d8b,_0x2da9bd-_0x3107e1._0x59b6f5,_0x5084b1- -0x274);}function _0x3e5383(_0x55b899,_0x524f6a,_0x41b714,_0x1f2d5e){return _0x13e4c8(_0x55b899-_0x1e8d3f._0x5bc16b,_0x55b899,_0x41b714-_0x1e8d3f._0x4d99c7,_0x41b714- -0x25f);}clearTimeout(_0x5301c7),_0x28e968[_0x3e5383(_0x3fecd2._0x241f2f,_0x3fecd2._0x3d6c6c,0x3f3,0x507)](_0x2da6f3(0x12f,_0x3fecd2._0x207cd1,0x293,0xd8),_0x419f28);}};}function createWebFetchTool(_0x5a8154={}){const _0x3ad0a8={_0x48e634:0x189,_0x3bb01c:0x195,_0x220534:0x23e,_0x5a4ebd:0x16d,_0x3375b2:0x1b3,_0x5d5ac1:0x1bf,_0x215366:0x283,_0xc44739:0x330,_0x3c5d69:0x1d2,_0x36de85:0x238,_0x335db8:0x1e2,_0x259de2:0x272,_0x474684:0xb5,_0x440e6a:0x4d,_0x375575:0x56,_0x2e8249:0x58,_0x38731b:0x40,_0x5cda25:0x155,_0x51c69c:0x31,_0xa20319:0x131,_0x5f1bc9:0xd4,_0x19b06c:0x18d,_0x34911e:0x2c1,_0x5958b7:0xef,_0x2e81bb:0x1de,_0x9ae5ce:0x81,_0x3c5197:0x257},_0x5c19cb={_0x360a78:0xa5,_0x58fd63:0x17f,_0x3d432b:0x388,_0xfd0ad7:0x4be,_0x1a680d:0x37f,_0x3aacd0:0x628,_0x48bf5b:0x477,_0x497ef7:0x39,_0x5a2522:0x183,_0x28e4c5:0x15c,_0x518dba:0x47,_0x460cd2:0x6e,_0x3ad0c8:0x2c1,_0x3f23de:0x315,_0x2714d1:0x21b,_0x164435:0x493,_0x2eb0e3:0x36f,_0x3bc087:0x124,_0x4ad189:0x57d,_0x1a5079:0x45c,_0x2a5d0b:0x4a,_0x52cfb1:0x4b3,_0x145425:0x38e,_0x2fd3ba:0x4b1,_0x42e61f:0x20a,_0x46180e:0x257,_0x2c8075:0x309,_0xbac541:0x31c,_0x277f98:0x2a8,_0x52c366:0x90,_0x2d1db9:0x63,_0x1c446e:0x15,_0x46d30c:0x14,_0xe0adf4:0x76,_0x25211c:0x7c,_0x26cd0d:0xf3,_0x3beaa6:0xcf,_0x5bdee6:0x630,_0x5064e3:0x5d6,_0x6b9f69:0x3b3,_0x42f3d7:0x366,_0x3eebaf:0x3ef,_0x10f170:0x2a5,_0x5c6810:0x41e},_0x1a1d36={_0x4cf8e3:0x16f,_0x42528f:0x121},_0x3581f7={_0x5b4164:0x6e,_0x4ab0f3:0x173},_0x142926=_0x5a8154['name']??'WebFetch',_0x446530=_0x5a8154[_0x250b60(-_0x3ad0a8._0x48e634,-_0x3ad0a8._0x3bb01c,-_0x3ad0a8._0x220534,-_0x3ad0a8._0x5a4ebd)]??DEFAULT_TIMEOUT_MS2;function _0x44daf1(_0x3b755b,_0x31cacd,_0x52c51c,_0x374a67){return _0x199ce4(_0x31cacd-0x1d1,_0x31cacd-_0x3581f7._0x5b4164,_0x374a67,_0x374a67-_0x3581f7._0x4ab0f3);}function _0x250b60(_0x229861,_0x3b1e3d,_0x24e45f,_0x529bbb){return _0x199ce4(_0x529bbb- -0xd1,_0x3b1e3d-_0x1a1d36._0x4cf8e3,_0x3b1e3d,_0x529bbb-_0x1a1d36._0x42528f);}const _0x32fc46=_0x5a8154[_0x250b60(-_0x3ad0a8._0x3375b2,-_0x3ad0a8._0x5d5ac1,-_0x3ad0a8._0x215366,-0x23f)],_0x29c658=new _0x498273({'headingStyle':_0x250b60(-0xef,-0x322,-0x67,-0x1b3),'codeBlockStyle':_0x250b60(-_0x3ad0a8._0xc44739,-0x240,-_0x3ad0a8._0x3c5d69,-_0x3ad0a8._0x36de85),'bulletListMarker':'-'});return _0x29c658[_0x250b60(-_0x3ad0a8._0x335db8,-0x164,-0xa1,-0x122)]([_0x44daf1(_0x3ad0a8._0x259de2,0x208,0xb8,_0x3ad0a8._0x474684),_0x250b60(-_0x3ad0a8._0x440e6a,_0x3ad0a8._0x375575,_0x3ad0a8._0x2e8249,-_0x3ad0a8._0x38731b),_0x44daf1(0x48,_0x3ad0a8._0x5cda25,0x22e,_0x3ad0a8._0x51c69c),_0x44daf1(_0x3ad0a8._0xa20319,0x15c,0x277,0x1a2),_0x44daf1(_0x3ad0a8._0x5f1bc9,_0x3ad0a8._0x19b06c,0x111,0x2fe),'footer',_0x44daf1(0x38f,_0x3ad0a8._0x34911e,0x3d7,0x224),_0x250b60(-0x5c,-0x240,-_0x3ad0a8._0x5f1bc9,-_0x3ad0a8._0x5958b7)]),defineTool({'name':_0x142926,'description':_0x250b60(-_0x3ad0a8._0x38731b,-_0x3ad0a8._0x2e81bb,0xe7,-_0x3ad0a8._0x9ae5ce),'inputSchema':{'type':'object','properties':{'description':{'type':'string'},'url':{'type':_0x44daf1(0x37d,_0x3ad0a8._0x3c5197,0x271,0x2d3)}},'required':['url']},async *'execute'(_0x8d05a0,_0x4f7b05){const _0x3b63b4={_0x4c0c6a:0x23,_0x2c18ab:0x52b},_0xf09f31=(await assertPublicUrl(_0x8d05a0[_0x36aa9e(-_0x5c19cb._0x360a78,-_0x5c19cb._0x58fd63,-0x7f,0xc2)],{'lookup':_0x32fc46}))['toString']();if(_0x4f7b05[_0x116608(0x45f,0x4f7,0x237,_0x5c19cb._0x3d432b)]['aborted'])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0xf09f31});const _0x1f5775=createTimeoutSignal(_0x4f7b05[_0x116608(0x24d,0x3bc,_0x5c19cb._0xfd0ad7,0x388)],_0x446530);let _0x489fd1='',_0x20905f=0x0,_0x14677e;try{const _0x163083=await safeFetch(_0xf09f31,{'headers':{'User-Agent':USER_AGENT},'signal':_0x1f5775[_0x116608(_0x5c19cb._0x1a680d,0x3c9,0x39f,0x388)]},{'lookup':_0x32fc46});if(!_0x163083['ok'])throw new ToolExecutionError(_0x116608(_0x5c19cb._0x3aacd0,_0x5c19cb._0x48bf5b,0x49b,0x59b)+_0x163083['status']+'\x20'+_0x163083['statusText'],{'url':_0xf09f31,'statusCode':_0x163083[_0x36aa9e(-0x3f,-_0x5c19cb._0x497ef7,0xb7,-_0x5c19cb._0x5a2522)]});_0x489fd1=_0x163083['headers'][_0x36aa9e(-_0x5c19cb._0x28e4c5,-_0x5c19cb._0x518dba,-_0x5c19cb._0x460cd2,-0x2c8)]('content-type')??'',_0x20905f=_0x163083[_0x116608(0x420,0x444,_0x5c19cb._0x3ad0c8,0x426)],_0x14677e=await _0x163083[_0x116608(_0x5c19cb._0x3f23de,_0x5c19cb._0x2714d1,_0x5c19cb._0x164435,_0x5c19cb._0x2eb0e3)]();}catch(_0x157b9a){if(_0x157b9a instanceof ToolExecutionError)throw _0x157b9a;const _0x3ed244=_0x157b9a instanceof Error?_0x157b9a[_0x36aa9e(0xaf,0x206,_0x5c19cb._0x3bc087,0xf8)]:String(_0x157b9a);throw new ToolExecutionError(_0x3ed244,{'url':_0xf09f31});}finally{_0x1f5775[_0x116608(_0x5c19cb._0x4ad189,0x366,0x430,_0x5c19cb._0x1a5079)]();}const _0x2ba25c=new Date()[_0x36aa9e(-0x9c,0x94,-_0x5c19cb._0x2a5d0b,-0xec)]();function _0x36aa9e(_0x4e14c3,_0x16b788,_0x266067,_0x2935d8){return _0x250b60(_0x4e14c3-0x7a,_0x2935d8,_0x266067-0x17b,_0x4e14c3-0xc6);}function _0x116608(_0x5d6137,_0x311fa4,_0x1a0304,_0x525889){return _0x250b60(_0x5d6137-0x13b,_0x1a0304,_0x1a0304-_0x3b63b4._0x4c0c6a,_0x525889-_0x3b63b4._0x2c18ab);}let _0x5362e0,_0x4ea093;if(_0x489fd1[_0x116608(_0x5c19cb._0x52cfb1,_0x5c19cb._0x145425,0x52d,_0x5c19cb._0x2fd3ba)](_0x116608(_0x5c19cb._0x42e61f,_0x5c19cb._0x46180e,0x232,0x35e)))_0x5362e0=_0x116608(_0x5c19cb._0x2c8075,_0x5c19cb._0xbac541,_0x5c19cb._0x277f98,0x375)+_0x14677e+_0x36aa9e(_0x5c19cb._0x52c366,_0x5c19cb._0x2d1db9,-_0x5c19cb._0x1c446e,_0x5c19cb._0x46d30c),_0x4ea093=_0x36aa9e(_0x5c19cb._0xe0adf4,_0x5c19cb._0x25211c,_0x5c19cb._0x26cd0d,_0x5c19cb._0x3beaa6);else _0x489fd1[_0x116608(_0x5c19cb._0x3d432b,0x4d3,0x3cb,_0x5c19cb._0x2fd3ba)](_0x116608(0x5c5,_0x5c19cb._0x5bdee6,0x501,_0x5c19cb._0x5064e3))?(_0x5362e0=_0x29c658[_0x116608(0x439,_0x5c19cb._0x6b9f69,_0x5c19cb._0x42f3d7,_0x5c19cb._0x3eebaf)](_0x14677e),_0x4ea093=_0x116608(0x421,0x370,0x39f,0x2ea)):(_0x5362e0=_0x14677e,_0x4ea093='text');return yield createToolOutput(_0x5362e0,{'url':_0xf09f31,'contentType':_0x489fd1,'statusCode':_0x20905f,'format':_0x4ea093,'size':_0x14677e[_0x116608(0x51e,_0x5c19cb._0x10f170,0x317,_0x5c19cb._0x5c6810)],'fetchedAt':_0x2ba25c}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x26f978(0x2c9,0x340,0x317,0x425);function normalizeUrl(_0x2af36e){const _0x5a392c={_0x570cbe:0x60,_0x296d75:0x12f,_0x58fcd4:0x1ad,_0x1621be:0x51,_0x90059c:0x5,_0x296ba8:0x147,_0x159d1a:0x54,_0x478271:0x258,_0x4e7307:0xb5},_0xa9c669={_0x45b409:0xdb,_0x190212:0x1de},_0x116833={_0x308686:0xc4,_0x21c658:0x18};function _0xf9fab1(_0x5a725f,_0x51b802,_0x45e7a4,_0x1334c7){return _0x199ce4(_0x1334c7- -_0x116833._0x308686,_0x51b802-_0x116833._0x21c658,_0x51b802,_0x1334c7-0x7a);}function _0x44d6c4(_0x5cac75,_0x1e06be,_0x2dbc3d,_0x72ca66){return _0x26f978(_0x5cac75-_0xa9c669._0x45b409,_0x1e06be-0x131,_0x1e06be- -_0xa9c669._0x190212,_0x5cac75);}try{const _0x108d49=new URL(_0x2af36e);for(const _0x2ccc9a of['utm_source','utm_medium','utm_campaign','utm_term',_0x44d6c4(-0x47,-0xa,0x127,_0x5a392c._0x570cbe),_0x44d6c4(0x244,_0x5a392c._0x296d75,_0x5a392c._0x58fcd4,0x6b),_0xf9fab1(0xc8,0xd2,_0x5a392c._0x1621be,_0x5a392c._0x90059c),'mc_cid',_0x44d6c4(_0x5a392c._0x296ba8,0x72,0x1ee,_0x5a392c._0x159d1a)]){_0x108d49[_0xf9fab1(-_0x5a392c._0x478271,-0x19f,-0x24f,-0x16a)][_0x44d6c4(0xad,-_0x5a392c._0x4e7307,-0x208,-0x6d)](_0x2ccc9a);}return _0x108d49['toString']();}catch{return _0x2af36e;}}function cseDateRestrict(_0x45fde4){const _0x12309f={_0x438053:0xf8,_0x164c43:0x3c,_0x149272:0xcb,_0x1498ad:0x9e,_0x5871cd:0x50},_0x87c386={_0xa0a2a9:0x2bd},_0x3dc0ed={_0x4b59aa:0x6,_0x4877f4:0xb1};function _0x622669(_0x42a89c,_0x7f20dc,_0x5de328,_0x14e839){return _0x26f978(_0x42a89c-_0x3dc0ed._0x4b59aa,_0x7f20dc-0x71,_0x7f20dc-_0x3dc0ed._0x4877f4,_0x5de328);}if(_0x45fde4<=0x0)return void 0x0;function _0x34e859(_0x3c78ed,_0x543d5a,_0x3229a3,_0x389a5c){return _0x26f978(_0x3c78ed-0xda,_0x543d5a-0xeb,_0x543d5a- -_0x87c386._0xa0a2a9,_0x389a5c);}if(_0x45fde4<=0x1e)return'd'+Math[_0x34e859(-_0x12309f._0x438053,_0x12309f._0x164c43,0x152,0x195)](0x1,Math[_0x34e859(-_0x12309f._0x149272,-0x4d,_0x12309f._0x1498ad,-_0x12309f._0x5871cd)](_0x45fde4));if(_0x45fde4<=0x16d)return'm'+Math['ceil'](_0x45fde4/0x1e);return'y'+Math['ceil'](_0x45fde4/0x16d);}function addSiteFilters(_0x103116,_0x5d20b6){const _0x7a4472={_0x21b679:0x4c4,_0x4969d2:0x89,_0x2e9253:0x1df,_0x4d0c45:0x135},_0x1e317a={_0x4040e0:0x15d,_0x539829:0x7f},_0x28d05f={_0x47ea13:0xd7,_0x40e95e:0x185,_0x3c7de9:0x19a};function _0xf41daf(_0x5616bc,_0x21817e,_0xa70566,_0x2a2b62){return _0x199ce4(_0x21817e-_0x28d05f._0x47ea13,_0x21817e-_0x28d05f._0x40e95e,_0x5616bc,_0x2a2b62-_0x28d05f._0x3c7de9);}function _0xca010a(_0x473408,_0x16083e,_0x21b5e3,_0x3f501f){return _0x199ce4(_0x21b5e3-0x4d7,_0x16083e-_0x1e317a._0x4040e0,_0x473408,_0x3f501f-_0x1e317a._0x539829);}if(_0x5d20b6['length']===0x0)return _0x103116['trim']();return(_0x103116+'\x20('+_0x5d20b6[_0xca010a(0x37d,0x45d,_0x7a4472._0x21b679,0x606)](_0x2edbc5=>'site:'+_0x2edbc5)[_0xf41daf(0x192,_0x7a4472._0x4969d2,_0x7a4472._0x2e9253,_0x7a4472._0x4d0c45)]('\x20OR\x20')+')')['trim']();}function normalizeType(_0x5ce619){const _0x4d4bc6={_0x4624c0:0x253,_0x3611f3:0x75,_0x292c1b:0x1ca},_0x63da26={_0xc2e1ef:0x69,_0x1e95c2:0xa2},_0x47b3f4={_0x5e00d9:0x167,_0x1e313c:0xf1};function _0x515076(_0x31204a,_0x40f8f8,_0x4bc97e,_0x4c77ec){return _0x26f978(_0x31204a-_0x47b3f4._0x5e00d9,_0x40f8f8-_0x47b3f4._0x1e313c,_0x31204a- -0xaf,_0x4c77ec);}function _0x347182(_0x4332c3,_0x58e2c0,_0x2e7c1f,_0x32bde6){return _0x26f978(_0x4332c3-_0x63da26._0xc2e1ef,_0x58e2c0-0x150,_0x2e7c1f-_0x63da26._0x1e95c2,_0x4332c3);}return _0x5ce619===_0x515076(0x1da,0x129,_0x4d4bc6._0x4624c0,_0x4d4bc6._0x3611f3)?_0x347182(_0x4d4bc6._0x292c1b,0x37e,0x32b,0x1e1):'web';}async function fetchJson(_0x5eb6f9,_0x4a69aa,_0x38282f){const _0x591619={_0x2f5bb7:0x176,_0x46abb9:0x3b,_0x992a5c:0xbc,_0x5d8470:0x50b,_0x500a5e:0x5a5,_0x3cbef8:0x4f5,_0xa21e95:0xba,_0x3681ab:0x7fc,_0xe61cf6:0x78a,_0x12fff2:0x823,_0x4633b2:0x582,_0xdb1225:0x552,_0x189d4b:0xdd,_0xffe62f:0x149,_0x512c73:0x10a,_0x2c7e63:0x32,_0x489e88:0x196,_0x3bc530:0xb1,_0x3d97c4:0x149,_0x4ce78c:0x2b8,_0x3b50b6:0x9e,_0x4eb7d2:0x30b,_0x137d05:0x130,_0x146584:0x7d1,_0xedcd7f:0x6e5,_0x17e511:0x113,_0x309faf:0x699,_0xccc9bd:0x4f9,_0x5a2d22:0x87d},_0xb1646e={_0x511097:0x7d},_0x2e6437=await fetch(_0x5eb6f9,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x4e9fac(-0x6d,-_0x591619._0x2f5bb7,_0x591619._0x46abb9,-0x4),..._0x38282f?.[_0x4e9fac(_0x591619._0x992a5c,0xc5,0x173,0xcb)]},'signal':_0x4a69aa,..._0x38282f});if(!_0x2e6437['ok']){let _0x98815d,_0x3c98e3;try{_0x98815d=await _0x2e6437[_0x4265c9(_0x591619._0x5d8470,_0x591619._0x500a5e,_0x591619._0x3cbef8,0x4bc)]();const _0x537ff4=JSON[_0x4e9fac(0x5e,_0x591619._0xa21e95,-0x75,-0xc8)](_0x98815d),_0x10170c=typeof _0x537ff4['detail']===_0x4265c9(0x789,_0x591619._0x3681ab,_0x591619._0xe61cf6,_0x591619._0x12fff2)?_0x537ff4['detail'][_0x4265c9(0x601,0x68f,_0x591619._0x4633b2,_0x591619._0xdb1225)]:void 0x0;_0x3c98e3=_0x537ff4[_0x4e9fac(0x8e,-0x3e,-0x3b,-_0x591619._0x189d4b)]?.[_0x4e9fac(_0x591619._0xffe62f,_0x591619._0x512c73,-_0x591619._0x2c7e63,0x2c5)]??_0x537ff4[_0x4265c9(0x566,0x68f,0x633,0x533)]?.[_0x4e9fac(_0x591619._0x489e88,_0x591619._0x3bc530,0x275,0x20)]?.[0x0]?.[_0x4e9fac(_0x591619._0x3d97c4,0xe8,_0x591619._0x4ce78c,0x271)]??_0x10170c;}catch{}const _0x481d9b=_0x3c98e3?_0x4e9fac(0x1d0,_0x591619._0x3b50b6,_0x591619._0x4eb7d2,_0x591619._0x137d05)+_0x2e6437['status']+':\x20'+_0x3c98e3:_0x4265c9(0x7c8,_0x591619._0x146584,0x665,_0x591619._0xedcd7f)+_0x2e6437[_0x4e9fac(0x5b,-0x11e,_0x591619._0x17e511,0x50)]+'\x20'+_0x2e6437[_0x4265c9(_0x591619._0x309faf,0x563,_0x591619._0xccc9bd,0x60a)];throw new ToolExecutionError(_0x481d9b,{'statusCode':_0x2e6437['status'],..._0x98815d?{'body':_0x98815d}:{}});}function _0x4265c9(_0x14d8a7,_0x4ff2f4,_0x5f0326,_0x5879db){return _0x199ce4(_0x4ff2f4-0x690,_0x4ff2f4-0x1a2,_0x5879db,_0x5879db-_0xb1646e._0x511097);}function _0x4e9fac(_0x414039,_0x4c4026,_0x5d5965,_0x33e3ca){return _0x26f978(_0x414039-0x142,_0x4c4026-0x1d7,_0x414039- -0x1f3,_0x5d5965);}return await _0x2e6437[_0x4265c9(0x6b3,0x711,0x6fe,_0x591619._0x5a2d22)]();}async function hydrateResults(_0x3d5723,_0x26e0a1,_0x5de8da,_0xa7e907){const _0x2dff14={_0x31ac82:0x60,_0x13a540:0xbe,_0x590d8b:0x268,_0x3e8062:0x55,_0x4d121b:0x158,_0x4b684c:0x16e,_0x24830b:0x5a,_0x5429ec:0x192,_0x280349:0x273},_0x95d23f={_0xfc5dfa:0x4f},_0x243a1c={_0x3f667c:0x181},_0x9f0d7d={_0x3f19b0:0x33c,_0x2c0338:0x2b7,_0x45dac3:0x5ab,_0x56632b:0x5f9,_0x6fbb8f:0x2f4,_0x281ee0:0x351,_0x20c272:0x56c,_0x55e854:0x6f6,_0x587b83:0x516,_0x531aa2:0x339,_0x5d3099:0x312,_0x379929:0x1a4,_0x202a0a:0x281,_0x3da67c:0x3da,_0x25e13f:0x20f,_0x3d8ced:0x130,_0x2de45f:0x129,_0x17c01e:0x38f,_0x5d346a:0x2c5,_0x403989:0x342,_0x174777:0x2df,_0x492ce7:0x2b1,_0x1a0a41:0x212,_0x18a2ea:0x51,_0xadcfb3:0x15c,_0x3e5e35:0x1d1,_0x5296c4:0xe4,_0x5a7243:0x4c,_0xfc8c58:0x456,_0x268339:0x54d,_0x17b0f9:0x435,_0x318b11:0x64,_0x15bd54:0x44d,_0x51de89:0x595,_0x21828d:0x53f,_0x1ac6f1:0x528,_0x360059:0x6f,_0x57768f:0xc,_0xd2b861:0x313,_0x5ebb4f:0x44c,_0x1c783f:0x22a,_0x34ebdb:0x73,_0x5df620:0x98,_0x458ba1:0x3a2},_0x45e808={_0xfb426f:0x1cc,_0x226c99:0x4f},_0x31d94c=await Promise[_0x5425d2(-0x45,-_0x2dff14._0x31ac82,-0x95,-0xca)](_0x3d5723[_0x5425d2(-0xa2,-0x85,-0x15d,_0x2dff14._0x13a540)](0x0,0xa)[_0x4db84b(_0x2dff14._0x590d8b,_0x2dff14._0x3e8062,_0x2dff14._0x4d121b,_0x2dff14._0x4b684c)](async _0x3d973d=>{function _0x3f4723(_0xc82569,_0x5bf6e1,_0x2aaec7,_0x2edff7){return _0x4db84b(_0x5bf6e1,_0x5bf6e1-0x3f,_0x2aaec7-0x10c,_0x2aaec7-0x2bb);}function _0x11b48e(_0x1406ed,_0x536e05,_0x5377f9,_0x22eb31){return _0x4db84b(_0x1406ed,_0x536e05-0x1ce,_0x5377f9-_0x45e808._0xfb426f,_0x536e05- -_0x45e808._0x226c99);}try{const _0x216f01=await safeFetch(_0x3d973d[_0x3f4723(_0x9f0d7d._0x3f19b0,_0x9f0d7d._0x2c0338,0x3a2,0x396)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x26e0a1,'Accept':_0x3f4723(_0x9f0d7d._0x45dac3,0x6de,0x5b8,_0x9f0d7d._0x56632b)},'signal':_0x5de8da},{'lookup':_0xa7e907});if(!_0x216f01['ok'])return _0x3d973d;const _0x1efeae=await _0x216f01[_0x3f4723(0x2d2,_0x9f0d7d._0x6fbb8f,_0x9f0d7d._0x281ee0,0x3bb)](),_0x174fdb=load(_0x1efeae),_0x309400=_0x174fdb(_0x3f4723(_0x9f0d7d._0x20c272,_0x9f0d7d._0x55e854,0x58b,_0x9f0d7d._0x587b83))['attr']('content')||_0x174fdb(_0x3f4723(_0x9f0d7d._0x531aa2,0x390,_0x9f0d7d._0x5d3099,_0x9f0d7d._0x379929))[_0x3f4723(_0x9f0d7d._0x202a0a,_0x9f0d7d._0x3da67c,0x2f1,_0x9f0d7d._0x25e13f)]()[_0x11b48e(-0xc3,0x47,0xb,_0x9f0d7d._0x3d8ced)]()[_0x11b48e(-0x8d,-0x3d,0x115,-_0x9f0d7d._0x2de45f)](),_0x3b68bd=_0x174fdb('meta[name=\x27description\x27]')[_0x3f4723(_0x9f0d7d._0x17c01e,_0x9f0d7d._0x5d346a,_0x9f0d7d._0x403989,_0x9f0d7d._0x174777)]('content')||_0x174fdb('meta[property=\x27og:description\x27]')[_0x3f4723(_0x9f0d7d._0x492ce7,0x3cd,0x342,_0x9f0d7d._0x1a0a41)](_0x11b48e(_0x9f0d7d._0x18a2ea,_0x9f0d7d._0xadcfb3,_0x9f0d7d._0x3e5e35,_0x9f0d7d._0x5296c4))||_0x3d973d[_0x11b48e(0x10b,0x7d,0xcd,_0x9f0d7d._0x5a7243)],_0x4bee2d=_0x174fdb(_0x3f4723(0x516,_0x9f0d7d._0xfc8c58,_0x9f0d7d._0x268339,_0x9f0d7d._0x17b0f9))[_0x11b48e(0x11a,0x38,_0x9f0d7d._0x318b11,-0xbc)]('content')||_0x174fdb(_0x3f4723(_0x9f0d7d._0x15bd54,_0x9f0d7d._0x51de89,_0x9f0d7d._0x21828d,_0x9f0d7d._0x1ac6f1))[_0x11b48e(-_0x9f0d7d._0x360059,0x38,0x5,-_0x9f0d7d._0x57768f)]('datetime')||_0x3d973d[_0x3f4723(_0x9f0d7d._0xd2b861,0x384,_0x9f0d7d._0x5ebb4f,0x475)],_0x15df5b=_0x174fdb('link[rel=\x27canonical\x27]')[_0x3f4723(_0x9f0d7d._0x1c783f,0x441,0x342,0x1ee)](_0x3f4723(0x33a,0x271,0x314,0x436));return{..._0x3d973d,'title':_0x309400||_0x3d973d['title'],'snippet':_0x3b68bd,'url':_0x15df5b?normalizeUrl(new URL(_0x15df5b,_0x3d973d[_0x11b48e(_0x9f0d7d._0x34ebdb,_0x9f0d7d._0x5df620,-0x9d,0x137)])['toString']()):_0x3d973d[_0x3f4723(0x49a,0x4e8,_0x9f0d7d._0x458ba1,0x2eb)],'publishedAt':_0x4bee2d};}catch{return _0x3d973d;}}));function _0x4db84b(_0x52719b,_0x28e223,_0xcc108,_0x21df91){return _0x199ce4(_0x21df91-_0x243a1c._0x3f667c,_0x28e223-0x21,_0x52719b,_0x21df91-0x1c5);}function _0x5425d2(_0x520d9e,_0x8b4b3,_0x490ded,_0x68c8de){return _0x26f978(_0x520d9e-_0x95d23f._0xfc5dfa,_0x8b4b3-0x71,_0x520d9e- -0x335,_0x490ded);}const _0x1cf9f4=new Map(_0x3d5723[_0x4db84b(0xab,0x284,_0x2dff14._0x24830b,_0x2dff14._0x5429ec)](0x0,0xa)['map']((_0x42b547,_0x2af37b)=>[_0x42b547[_0x4db84b(0x6,0x1e2,-0x94,0xe7)],_0x31d94c[_0x2af37b]]));return _0x3d5723[_0x4db84b(0xf7,0x24a,_0x2dff14._0x280349,_0x2dff14._0x4b684c)](_0x25fe08=>_0x1cf9f4['get'](_0x25fe08[_0x5425d2(-0x14d,-0x15d,-0x7f,-0x11d)])??_0x25fe08);}function formatResults(_0x137e04){const _0x5af35b={_0x50fa32:0x9c,_0x2ae6a5:0x5e,_0x268610:0x4ee,_0x262e18:0x444,_0x3df02f:0x50,_0x3d2abe:0x4da,_0x3504fe:0x49a},_0x4729bb={_0x51be22:0x5d9,_0x50cccf:0x42b,_0x46cd45:0x5e6,_0x3e98ee:0x542,_0x3fa8b0:0x500,_0x49e404:0x505,_0x5c7c48:0x3c7,_0x238071:0x333,_0x185595:0x44f,_0x4aa701:0x6e4,_0x2caa38:0x5af,_0x24e216:0x652,_0x1110eb:0x6aa,_0x385618:0x496,_0x4c9232:0x63c,_0x43fe92:0x64a,_0x3753a2:0x551},_0x11eadc={_0x53687b:0x53,_0x31de6d:0x138},_0x2b0528={_0x239850:0x1d9,_0x41b794:0x5c1},_0x2fb7c1={_0x5222b5:0x17},_0x3a9c1b={_0x201746:0x123,_0x20624d:0x2f};function _0x2ef095(_0x411ac1,_0x149908,_0x26e0e4,_0x59dff1){return _0x26f978(_0x411ac1-_0x3a9c1b._0x201746,_0x149908-_0x3a9c1b._0x20624d,_0x26e0e4-0x2a6,_0x59dff1);}function _0x1637a9(_0x20bfbd,_0x58b65c,_0xa520d0,_0x27f7d6){return _0x199ce4(_0x27f7d6- -0x22,_0x58b65c-0x7c,_0x58b65c,_0x27f7d6-_0x2fb7c1._0x5222b5);}if(_0x137e04[_0x1637a9(-0x12c,-_0x5af35b._0x50fa32,-0xd6,-_0x5af35b._0x2ae6a5)]===0x0)return _0x2ef095(_0x5af35b._0x268610,0x53f,_0x5af35b._0x262e18,0x56e);return _0x137e04[_0x1637a9(0x102,_0x5af35b._0x3df02f,-0xdc,-0x35)](_0x3182e3=>{const _0x24c07f=[_0x3182e3[_0x2e877e(0x63f,0x5e3,_0x4729bb._0x51be22,0x615)][_0x2e877e(0x50e,_0x4729bb._0x50cccf,_0x4729bb._0x46cd45,_0x4729bb._0x3e98ee)]+'.\x20'+_0x3182e3['title'],_0x3182e3[_0x2e877e(_0x4729bb._0x3fa8b0,0x52a,0x3a0,_0x4729bb._0x49e404)]];function _0x2e877e(_0x4dda95,_0x1540d4,_0x102133,_0x1ddb37){return _0x1637a9(_0x4dda95-0x1c,_0x102133,_0x102133-_0x2b0528._0x239850,_0x1ddb37-_0x2b0528._0x41b794);}if(_0x3182e3[_0x2e877e(_0x4729bb._0x5c7c48,0x65f,0x3c5,0x4ea)])_0x24c07f[_0x2e877e(_0x4729bb._0x238071,0x5b9,_0x4729bb._0x185595,0x447)](_0x3182e3['snippet']);if(_0x3182e3[_0x2e877e(_0x4729bb._0x4aa701,0x529,0x6f6,_0x4729bb._0x2caa38)])_0x24c07f['push'](_0x2e877e(0x5eb,_0x4729bb._0x24e216,0x5f9,_0x4729bb._0x1110eb)+_0x3182e3[_0x271691(0x43a,_0x4729bb._0x385618,0x473,0x53b)]);function _0x271691(_0x271cc2,_0x54d412,_0x16dbbb,_0x54b2e5){return _0x1637a9(_0x271cc2-_0x11eadc._0x53687b,_0x54b2e5,_0x16dbbb-_0x11eadc._0x31de6d,_0x54d412-0x4a8);}return _0x24c07f[_0x2e877e(0x536,_0x4729bb._0x4c9232,_0x4729bb._0x43fe92,_0x4729bb._0x3753a2)]('\x0a');})[_0x2ef095(0x574,0x55c,_0x5af35b._0x3d2abe,_0x5af35b._0x3504fe)]('\x0a\x0a');}async function searchOllama(_0x267f7d,_0x54b37f,_0x3e6f2d){const _0x308b84={_0x5becfd:0x294,_0x2c9843:0x134,_0xfd1354:0x6a7,_0x2b18e8:0x6e2,_0x19e21b:0x626,_0x5561b9:0x4c7,_0x292924:0x4f8,_0x410c29:0x609,_0x55b882:0x4e5,_0x118350:0x549,_0x4f3cac:0x1b5,_0xb269df:0x197,_0x56fae9:0x62f,_0x550a5c:0x68a,_0x387935:0x7cf,_0x40cdac:0x63e,_0x4cc321:0x5b2,_0x2447db:0x5a3,_0x127c16:0x4f0,_0x599087:0x37b},_0x1e53f5={_0x32f4eb:0x4c5,_0x5d96fd:0x5a2,_0x2ecad9:0x4f5,_0x40b226:0x411,_0x558f34:0x611,_0x388854:0x12b},_0x4ce287={_0x3fd774:0x88},_0x384947={_0x53de29:0xf0,_0x23f1e9:0x7},_0x4264df={_0x216972:0xbd,_0x2a893c:0x87};function _0x1d462c(_0x405a3e,_0x179b2a,_0xd03c3e,_0x5c33f2){return _0x199ce4(_0x5c33f2-_0x4264df._0x216972,_0x179b2a-_0x4264df._0x2a893c,_0xd03c3e,_0x5c33f2-0x1c3);}const _0x4203dc=Math[_0x1d462c(_0x308b84._0x5becfd,0x201,-0x33,_0x308b84._0x2c9843)](0x1,Math['min'](0xa,_0x54b37f[_0x448378(_0x308b84._0xfd1354,_0x308b84._0x2b18e8,_0x308b84._0x19e21b,0x5de)]));function _0x448378(_0x51e7e9,_0x46e8a1,_0x22151c,_0x141bc9){return _0x26f978(_0x51e7e9-_0x384947._0x53de29,_0x46e8a1-_0x384947._0x23f1e9,_0x46e8a1-0x343,_0x22151c);}const _0x2e1d82=addSiteFilters(_0x54b37f[_0x448378(0x48c,_0x308b84._0x5561b9,_0x308b84._0x292924,_0x308b84._0x410c29)],_0x54b37f[_0x448378(0x5d6,0x4ec,_0x308b84._0x55b882,_0x308b84._0x118350)]),_0x1e0418=await fetchJson('https://ollama.com/api/web_search',_0x3e6f2d,{'method':_0x1d462c(0x253,_0x308b84._0x4f3cac,0x28c,_0x308b84._0xb269df),'headers':{'Authorization':'Bearer\x20'+_0x267f7d[_0x448378(_0x308b84._0x56fae9,_0x308b84._0x550a5c,_0x308b84._0x387935,0x535)]},'body':JSON['stringify']({'query':_0x2e1d82,'max_results':_0x4203dc})}),_0x2313b2=_0x1e0418[_0x448378(0x693,_0x308b84._0x40cdac,_0x308b84._0x4cc321,_0x308b84._0x2447db)]??[],_0x1649c6=_0x2313b2['map']((_0x302af7,_0x4175cd)=>{function _0x45a720(_0x44981b,_0x40c1b5,_0x385720,_0x483e7e){return _0x448378(_0x44981b-0xd2,_0x44981b- -0x66,_0x40c1b5,_0x483e7e-0x1b2);}const _0x5793d5=_0x302af7[_0x45a720(_0x1e53f5._0x32f4eb,0x4e8,0x46d,_0x1e53f5._0x5d96fd)]||'';let _0xa8184b;function _0x1a801c(_0x3eb35c,_0x344a44,_0x2ea18e,_0x8bb4fe){return _0x1d462c(_0x3eb35c-_0x4ce287._0x3fd774,_0x344a44-0xee,_0x2ea18e,_0x344a44-0x198);}try{_0xa8184b=new URL(_0x5793d5)[_0x45a720(0x559,_0x1e53f5._0x2ecad9,_0x1e53f5._0x40b226,_0x1e53f5._0x558f34)];}catch{_0xa8184b=null;}return{'title':_0x302af7[_0x1a801c(0x1f9,_0x1e53f5._0x388854,0x1c9,0x6d)]||'Untitled','url':normalizeUrl(_0x5793d5),'snippet':_0x302af7[_0x1a801c(0x1b0,0x27f,0x2b5,0x310)]??null,'displayUrl':_0xa8184b,'favicon':null,'publishedAt':null,'source':{'engine':_0x45a720(0x48a,0x4c0,0x32b,0x4d6),'rank':_0x4175cd+0x1}};});return{'items':_0x1649c6['slice'](0x0,_0x4203dc),'engine':_0x448378(0x420,_0x308b84._0x127c16,_0x308b84._0x599087,0x4da)};}async function searchTavily(_0x204ae0,_0x3d655a,_0x19ea12){const _0x3a9956={_0x137956:0x520,_0xbce72f:0x48e,_0xa39cc9:0x41d,_0x2c1e51:0x2d4,_0xe70ba4:0x265,_0xb80e2:0x16a,_0x33e9ea:0x2d5,_0xac4ea3:0x38d,_0x26dc7c:0x443,_0x577a05:0x53f,_0x128b72:0x566,_0x6f62ab:0x3f3,_0x118a9d:0x566,_0x5603b1:0x4ac,_0x5372fe:0x4f1,_0x160c6e:0x3e8,_0x753550:0x55c,_0x1ce560:0x58a,_0x1a2eb4:0x420,_0x37b586:0x445,_0x1c83b8:0x77e,_0x5ce136:0x66b,_0x3ba2ec:0x4b6,_0x5a5a9b:0x62c,_0x133673:0x666,_0x1da221:0x650,_0x47ddeb:0x4a1,_0x1a7f1a:0x59a},_0x587cfb={_0x177022:0x37d,_0x3fcd0c:0x2a9,_0x2a87fb:0x56b,_0xccb439:0x54b,_0x156b65:0x659,_0x25d433:0x509,_0x3022a1:0x3fd,_0x837a81:0x30b,_0x3581f3:0x3ef,_0x4cad71:0x4c7},_0x107fcd={_0x298231:0x9e,_0x217d5a:0xc4},_0x328384={_0x26ab14:0x24,_0x50d870:0x3bd};function _0x1196f0(_0x210a79,_0x90ff2b,_0x1e2ac2,_0x25f40f){return _0x26f978(_0x210a79-0x8e,_0x90ff2b-_0x328384._0x26ab14,_0x25f40f-_0x328384._0x50d870,_0x90ff2b);}const _0x5ed9db=Math[_0x4775cd(_0x3a9956._0x137956,_0x3a9956._0xbce72f,0x410,0x3bd)](0x1,Math[_0x4775cd(0x336,_0x3a9956._0xa39cc9,0x1c5,_0x3a9956._0x2c1e51)](0x14,_0x3d655a['count'])),_0x8996d2={'query':_0x3d655a['query'],'max_results':_0x5ed9db,'search_depth':_0x204ae0['searchDepth']??'basic','topic':_0x204ae0[_0x4775cd(_0x3a9956._0xe70ba4,_0x3a9956._0xb80e2,0x233,_0x3a9956._0x33e9ea)]??_0x4775cd(_0x3a9956._0xac4ea3,0x3aa,0x575,_0x3a9956._0x26dc7c)};if(_0x3d655a[_0x1196f0(0x4a3,_0x3a9956._0x577a05,0x65a,_0x3a9956._0x128b72)][_0x4775cd(0x36d,0x33f,0x402,0x30a)]>0x0)_0x8996d2[_0x4775cd(0xf0,0x332,0x2df,0x1fa)]=_0x3d655a[_0x1196f0(0x5ba,_0x3a9956._0x6f62ab,0x692,_0x3a9956._0x118a9d)];const _0xfff675=await fetchJson(_0x1196f0(_0x3a9956._0x5603b1,0x3dd,_0x3a9956._0x5372fe,0x507),_0x19ea12,{'method':_0x4775cd(_0x3a9956._0x160c6e,_0x3a9956._0x753550,_0x3a9956._0x1ce560,_0x3a9956._0x1a2eb4),'headers':{'Authorization':_0x1196f0(_0x3a9956._0x37b586,0x4e8,0x6a7,0x590)+_0x204ae0[_0x1196f0(_0x3a9956._0x1c83b8,0x758,0x57a,_0x3a9956._0x5ce136)],'Content-Type':'application/json'},'body':JSON[_0x4775cd(0x3b5,0x3f7,0x479,_0x3a9956._0x3ba2ec)](_0x8996d2)}),_0x3b1a3c=_0xfff675['results']??[];function _0x4775cd(_0x373d98,_0x337184,_0x5014f3,_0x4c4b20){return _0x26f978(_0x373d98-_0x107fcd._0x298231,_0x337184-0x5c,_0x4c4b20-_0x107fcd._0x217d5a,_0x337184);}const _0x4caf73=_0x3b1a3c[_0x1196f0(0x4d5,0x78c,0x79d,_0x3a9956._0x5a5a9b)]((_0x24be4d,_0x25cef0)=>{const _0x277e15={_0xace6f6:0x57},_0x4b39b6={_0x587d0e:0x17c};function _0x212538(_0x3677ea,_0x2e50ff,_0x9a44a7,_0x57f28a){return _0x1196f0(_0x3677ea-0x113,_0x2e50ff,_0x9a44a7-_0x4b39b6._0x587d0e,_0x9a44a7- -0x26c);}const _0x39a6cc=_0x24be4d['url']||'';let _0xfc14ae;try{_0xfc14ae=new URL(_0x39a6cc)[_0x212538(_0x587cfb._0x177022,0x440,0x3cd,0x325)];}catch{_0xfc14ae=null;}function _0x42ff09(_0x57d089,_0x59f18d,_0x41d66f,_0xfc9522){return _0x4775cd(_0x57d089-0x126,_0x57d089,_0x41d66f-_0x277e15._0xace6f6,_0x41d66f- -0xca);}return{'title':_0x24be4d[_0x212538(0x2d9,0x145,_0x587cfb._0x3fcd0c,0x29d)]||_0x212538(0x472,_0x587cfb._0x2a87fb,_0x587cfb._0xccb439,_0x587cfb._0x156b65),'url':normalizeUrl(_0x39a6cc),'snippet':_0x24be4d[_0x212538(_0x587cfb._0x25d433,0x443,_0x587cfb._0x3022a1,0x4c5)]??null,'displayUrl':_0xfc14ae,'favicon':null,'publishedAt':null,'source':{'engine':_0x42ff09(0x3f3,_0x587cfb._0x837a81,_0x587cfb._0x3581f3,_0x587cfb._0x4cad71),'rank':_0x25cef0+0x1}};});return{'items':_0x4caf73[_0x1196f0(_0x3a9956._0x133673,0x5f4,0x4eb,_0x3a9956._0x1da221)](0x0,_0x5ed9db),'engine':_0x4775cd(_0x3a9956._0x47ddeb,_0x3a9956._0x1a7f1a,0x504,0x4b9)};}async function searchGoogleCse(_0x8c847a,_0x9282b0,_0x1a2d18){const _0x58cdf5={_0x4532e1:0x1c9,_0x5c8276:0x9b,_0x1432ee:0x19d,_0x27b71a:0x19f,_0x2395c1:0x280,_0x2fb1f9:0x158,_0x55db38:0x185,_0x51d750:0x146,_0x110c73:0xb1,_0x1636d7:0xe0,_0x396420:0x21,_0x2aac92:0x19a,_0x18fb0f:0x125,_0x1c48b4:0x1df,_0x4f9ccf:0x9e,_0x375143:0x89,_0x1febe1:0xcf,_0x3cf6b3:0xb3,_0x34864a:0x2e2,_0x3f9831:0x16c,_0x5124ca:0xce,_0x38531f:0xe8,_0x2423f4:0x91,_0x4973c8:0xa,_0x195db2:0x1a5,_0x1aa568:0x8d,_0x329323:0x0,_0x5bb58f:0x176,_0x8b2f7f:0x17a,_0x32614c:0x264,_0x102903:0x26,_0x857d73:0xb8,_0x3bc223:0x115,_0x4f39c3:0xf8,_0x5a56db:0x26,_0x22ac6a:0x3b,_0x1d4630:0x28,_0x433080:0x82,_0x405683:0x140,_0x235d95:0x31,_0x44fc04:0x84,_0x411bdc:0x3e,_0x41c178:0x5a,_0xb28e1d:0x51,_0xdb9383:0x31,_0x1dac69:0x6c,_0x3382f2:0x132,_0x4977a5:0x19e,_0x3d11f7:0x4e,_0xe37135:0x4a,_0x2399b6:0x273,_0x2747cf:0x2ea,_0xe378a6:0x233,_0x3b7710:0x228,_0x228667:0x31,_0x39afbb:0x14,_0x424c40:0x16,_0x5904bd:0x78,_0x24d401:0x7d,_0x5cb22e:0x34,_0x383eb1:0x2c1,_0x402316:0x38,_0x22c24b:0x11,_0x102da9:0xed,_0xbd9b72:0x188,_0x375efc:0x109,_0x334e30:0xee,_0x22291a:0x29c,_0x529641:0x1a9,_0x52dd5e:0x27a,_0x4fec84:0x16d,_0x3ce4a7:0x26,_0x5c86c9:0x163,_0xb4a9c2:0xfa,_0x27fe2e:0xa6,_0x53f34c:0x79,_0x35c963:0x2b9,_0x4c9316:0x16c,_0x11c65a:0x9a,_0x208f7c:0x2e7,_0x24c7bf:0xda,_0x28489b:0xfc,_0x1b69e2:0x207,_0x74ef2e:0x26,_0x528661:0x11b,_0x59ea81:0x267,_0x39514c:0x26f,_0x5bc6b7:0x15a,_0x3dbd79:0x2a,_0x410cd9:0x15f,_0x4da722:0xa1,_0x200ee1:0xe9,_0x21eb6b:0x3c,_0x540747:0x16e,_0x530a21:0x145,_0x356367:0x8b,_0x2de403:0x279,_0x37d8b6:0xb9,_0x230e4e:0xc1,_0x4750ec:0xb,_0x427024:0xb2,_0x4de313:0x12a,_0x53fa67:0xb0,_0x432046:0x1aa,_0x2d88ee:0xf7,_0x5a6566:0xf9,_0x1ed942:0x37,_0x438416:0x85,_0x34fe3b:0x171,_0x1bc5b5:0xcc,_0x18061b:0xd8,_0x125517:0x1cd,_0x4420c3:0x130,_0x3c2b2c:0x260,_0x32d07f:0x81,_0xae0a28:0x11f,_0xc0ff0c:0x51,_0xd90483:0x1cb,_0xf7a884:0x75,_0x1f5677:0x199,_0x459971:0x102},_0x2b6f2f={_0xb72f5f:0xc6,_0x1b641e:0x13e},_0x3ff86c={_0x5033d7:0x101},_0x16510a=Math[_0x114604(-_0x58cdf5._0x4532e1,0x98,-_0x58cdf5._0x5c8276,-0x4f)](0x1,Math[_0x370b38(0xe,-0x123,-0x1,-0x15e)](0x32,_0x9282b0[_0x370b38(_0x58cdf5._0x1432ee,0x69,_0x58cdf5._0x27b71a,_0x58cdf5._0x2395c1)]));function _0x370b38(_0x407448,_0x3f0d1d,_0x3775de,_0x1f90c3){return _0x199ce4(_0x407448-0x80,_0x3f0d1d-0x1ca,_0x1f90c3,_0x1f90c3-_0x3ff86c._0x5033d7);}if(_0x9282b0[_0x114604(-_0x58cdf5._0x2fb1f9,-_0x58cdf5._0x55db38,-_0x58cdf5._0x51d750,-0x167)]+_0x16510a>0x64)throw new ToolExecutionError(_0x370b38(_0x58cdf5._0x110c73,_0x58cdf5._0x1636d7,-0x98,0x11f),{'offset':_0x9282b0[_0x370b38(-_0x58cdf5._0x396420,-_0x58cdf5._0x2aac92,-0x149,-_0x58cdf5._0x18fb0f)],'count':_0x16510a,'maxResults':0x64});function _0x114604(_0x4e38c9,_0x19ba36,_0x4ee870,_0x1536f6){return _0x199ce4(_0x1536f6- -_0x2b6f2f._0xb72f5f,_0x19ba36-_0x2b6f2f._0x1b641e,_0x19ba36,_0x1536f6-0xf);}const _0x16ad4e=cseDateRestrict(_0x9282b0[_0x370b38(_0x58cdf5._0x1c48b4,_0x58cdf5._0x4f9ccf,0xbf,0x2f9)]),_0x3c9eca=addSiteFilters(_0x9282b0[_0x370b38(-0x7e,_0x58cdf5._0x375143,-0xfa,_0x58cdf5._0x1febe1)],_0x9282b0['domains']);let _0x336127=0x0,_0x2225d9=_0x9282b0[_0x370b38(-0x21,-0x11e,-0xce,-0x162)]+0x1;const _0x20431d=[];while(_0x336127<_0x16510a){const _0x539936=Math[_0x114604(-0x1a,-_0x58cdf5._0x3cf6b3,-0x1f8,-0x138)](0xa,_0x16510a-_0x336127),_0x18171e=new URL(_0x370b38(0xf1,-0x84,0x21a,0x144));_0x18171e[_0x114604(-_0x58cdf5._0x34864a,-0x1c8,-0x104,-_0x58cdf5._0x3f9831)]['set'](_0x114604(0x12c,_0x58cdf5._0x5124ca,-0x1c,0xa5),_0x8c847a['googleCseKey']),_0x18171e[_0x370b38(-0x26,_0x58cdf5._0x38531f,_0x58cdf5._0x2423f4,-_0x58cdf5._0x4973c8)]['set']('cx',_0x8c847a[_0x114604(-0x141,-0xd2,-0xd2,-_0x58cdf5._0x195db2)]),_0x18171e[_0x370b38(-0x26,_0x58cdf5._0x1aa568,_0x58cdf5._0x329323,-_0x58cdf5._0x5bb58f)][_0x370b38(_0x58cdf5._0x8b2f7f,0x2ec,0xa7,_0x58cdf5._0x32614c)]('q',_0x3c9eca),_0x18171e[_0x370b38(-_0x58cdf5._0x102903,0x13c,-_0x58cdf5._0x857d73,-0x16c)][_0x114604(-_0x58cdf5._0x3bc223,-_0x58cdf5._0x4f39c3,-0x1d,0x34)](_0x370b38(0x1b3,0x23d,0x286,0x1d3),String(_0x539936)),_0x18171e[_0x370b38(-_0x58cdf5._0x5a56db,-_0x58cdf5._0x22ac6a,-_0x58cdf5._0x1d4630,_0x58cdf5._0x433080)][_0x114604(0x103,_0x58cdf5._0x405683,_0x58cdf5._0x235d95,0x34)](_0x114604(-_0x58cdf5._0x44fc04,-_0x58cdf5._0x411bdc,-0xf6,-_0x58cdf5._0x41c178),String(_0x2225d9)),_0x18171e[_0x114604(-_0x58cdf5._0xb28e1d,-0x48,-_0x58cdf5._0x4f9ccf,-0x16c)]['set'](_0x370b38(_0x58cdf5._0xdb9383,-_0x58cdf5._0x1dac69,_0x58cdf5._0x3382f2,0x5c),_0x9282b0[_0x370b38(0x31,_0x58cdf5._0x4977a5,-_0x58cdf5._0x3d11f7,-_0x58cdf5._0xe37135)]?_0x114604(-_0x58cdf5._0x2399b6,-_0x58cdf5._0x2747cf,-_0x58cdf5._0xe378a6,-_0x58cdf5._0x3b7710):_0x114604(-_0x58cdf5._0x228667,0xbb,0x58,-0xb8));_0x9282b0[_0x370b38(-_0x58cdf5._0x39afbb,_0x58cdf5._0x424c40,-0x15e,-_0x58cdf5._0x5904bd)]&&(_0x18171e['searchParams'][_0x114604(-_0x58cdf5._0x24d401,0xe2,0x183,_0x58cdf5._0x5cb22e)]('hl',_0x9282b0[_0x114604(-_0x58cdf5._0x383eb1,-_0x58cdf5._0x402316,_0x58cdf5._0x22c24b,-0x15a)]),_0x18171e[_0x370b38(-0x26,_0x58cdf5._0x102da9,-_0x58cdf5._0xbd9b72,0x88)][_0x114604(-0xaa,-_0x58cdf5._0x375efc,_0x58cdf5._0x334e30,0x34)]('lr',_0x114604(-0x37a,-0xdd,-0x34d,-0x20a)+_0x9282b0[_0x114604(-0x21d,-_0x58cdf5._0x22291a,-_0x58cdf5._0x529641,-0x15a)]));if(_0x9282b0[_0x114604(-_0x58cdf5._0x52dd5e,-_0x58cdf5._0x4fec84,-0x243,-0x191)])_0x18171e[_0x370b38(-_0x58cdf5._0x3ce4a7,0x7b,-_0x58cdf5._0x5c86c9,-_0x58cdf5._0xb4a9c2)]['set']('gl',_0x9282b0['region'][_0x370b38(-_0x58cdf5._0x27fe2e,-0x4d,_0x58cdf5._0x53f34c,-0x80)]());if(_0x9282b0[_0x370b38(-0x99,0xdd,-0xfd,0x75)]==='images')_0x18171e[_0x114604(-0xbb,0x0,-_0x58cdf5._0x35c963,-_0x58cdf5._0x4c9316)][_0x370b38(_0x58cdf5._0x8b2f7f,_0x58cdf5._0x11c65a,_0x58cdf5._0x208f7c,0x26e)](_0x370b38(_0x58cdf5._0x24c7bf,0x8e,_0x58cdf5._0x28489b,0x1e2),_0x370b38(0x17f,0x203,_0x58cdf5._0x1b69e2,0x136));if(_0x16ad4e)_0x18171e[_0x370b38(-_0x58cdf5._0x74ef2e,-0xd1,-0x153,_0x58cdf5._0x528661)][_0x370b38(0x17a,_0x58cdf5._0x59ea81,0xc0,_0x58cdf5._0x39514c)](_0x114604(-_0x58cdf5._0x5bc6b7,-_0x58cdf5._0x3dbd79,-_0x58cdf5._0x410cd9,-0xf0),_0x16ad4e);const _0x44f64e=await fetchJson(_0x18171e[_0x370b38(0x67,0xce,_0x58cdf5._0x4da722,0x12b)](),_0x1a2d18),_0x1e276b=_0x44f64e[_0x114604(-0xe1,-0x128,-0x200,-_0x58cdf5._0x200ee1)]??[];if(_0x1e276b['length']===0x0)break;const _0xe5299c=_0x336127;for(let _0x16ca5a=0x0;_0x16ca5a<_0x1e276b['length'];_0x16ca5a++){const _0x4493ad=_0x1e276b[_0x16ca5a];if(!_0x4493ad)continue;const _0x3cae3e=_0x4493ad['link']||_0x4493ad[_0x114604(0x3e,0x130,-_0x58cdf5._0x21eb6b,0x39)]?.['contextLink']||'',_0x484eeb=_0x4493ad[_0x114604(-_0x58cdf5._0x540747,-0x18d,-0x2c0,-0x1f0)]||_0x4493ad[_0x370b38(0x17f,_0x58cdf5._0x530a21,_0x58cdf5._0x356367,_0x58cdf5._0x2de403)]?.[_0x370b38(-0xaa,-_0x58cdf5._0x37d8b6,_0x58cdf5._0x230e4e,_0x58cdf5._0x4750ec)]||_0x114604(0x8f,0x36,-0x2e,_0x58cdf5._0x427024),_0x13f4c4=_0x4493ad[_0x370b38(-0x35,0xe4,0xe0,_0x58cdf5._0x4de313)]||_0x4493ad['htmlSnippet']?.[_0x114604(-0x1d,-0x45,-_0x58cdf5._0x53fa67,-0xab)](/<[^>]+>/g,''),_0x2bbcf9=_0x4493ad['pagemap']?.[_0x370b38(_0x58cdf5._0x432046,_0x58cdf5._0x2d88ee,_0x58cdf5._0x5a6566,0x1c3)]?.[0x0]??{};let _0x3fa321;try{_0x3fa321=new URL(_0x3cae3e)[_0x114604(_0x58cdf5._0x1ed942,-_0x58cdf5._0x438416,-_0x58cdf5._0x34fe3b,-_0x58cdf5._0x1bc5b5)];}catch{_0x3fa321=null;}_0x20431d[_0x370b38(-_0x58cdf5._0x18061b,-_0x58cdf5._0x125517,_0x58cdf5._0x4973c8,-0xbf)]({'title':_0x484eeb,'url':normalizeUrl(_0x3cae3e),'snippet':_0x13f4c4??null,'displayUrl':_0x3fa321,'favicon':null,'publishedAt':_0x2bbcf9['article:published_time']||_0x2bbcf9[_0x370b38(_0x58cdf5._0x4420c3,_0x58cdf5._0x3c2b2c,0xff,0x166)]||null,'source':{'engine':_0x370b38(-0xd3,_0x58cdf5._0x32d07f,-_0x58cdf5._0xae0a28,_0x58cdf5._0xc0ff0c),'rank':_0xe5299c+_0x16ca5a+0x1}});}_0x336127+=_0x1e276b['length'],_0x2225d9+=_0x1e276b['length'];if(_0x1e276b[_0x114604(-_0x58cdf5._0xd90483,-_0x58cdf5._0xf7a884,-_0x58cdf5._0x1f5677,-_0x58cdf5._0x459971)]<_0x539936)break;}return _0x20431d['slice'](0x0,_0x16510a);}function isGoogleCseEngine(_0x472a49){const _0x55584e={_0x2ca8a1:0x4d8},_0x206734={_0x18abe3:0xd};function _0x54faa0(_0x3b7103,_0x575a24,_0x264b32,_0x1f2362){return _0x199ce4(_0x1f2362-0x645,_0x575a24-0xb6,_0x575a24,_0x1f2362-_0x206734._0x18abe3);}return _0x54faa0(0x37a,0x5e7,0x51c,_0x55584e._0x2ca8a1)in _0x472a49;}function isOllamaEngine(_0x37dba3){const _0x19414a={_0x3c294c:0x6df,_0x2d3150:0x6d7},_0x423fd3={_0x349856:0xa0};function _0x5688e6(_0x13b4a4,_0x12b19f,_0x2b308d,_0x3b346b){return _0x26f978(_0x13b4a4-0x14e,_0x12b19f-_0x423fd3._0x349856,_0x2b308d-0x398,_0x13b4a4);}return _0x5688e6(0x665,0x600,_0x19414a._0x3c294c,_0x19414a._0x2d3150)in _0x37dba3;}function isTavilyEngine(_0x444f93){const _0x48182f={_0x4c0229:0x36};function _0x4e08ca(_0x14a875,_0x380ff8,_0x1e6974,_0x40435a){return _0x26f978(_0x14a875-0xfc,_0x380ff8-0xff,_0x14a875-_0x48182f._0x4c0229,_0x40435a);}return _0x4e08ca(0x2e4,0x261,0x43b,0x2aa)in _0x444f93;}function createWebSearchTool(_0x3b7824){const _0x1afb8b={_0xb00711:0x3f2,_0x5a1aaa:0x4ec,_0xd6aa3b:0x3c0,_0x45c6f2:0x4d8,_0x5a83d2:0x4f6,_0x4e548d:0x55c,_0x5b0db6:0x5a1,_0x311c06:0x38b,_0x12985b:0x261,_0x57dd84:0x1d1,_0xafa83a:0x2c4,_0x28ee2c:0x2da,_0x282a0c:0x318,_0x2a72d3:0x36d,_0x29d3c5:0x35f,_0xf40347:0x60d,_0x4d2efc:0x4de,_0x330155:0x464,_0x1c976f:0x671,_0x3c5df1:0x3fe,_0x23c0a3:0x505,_0x5db8a6:0x3bc,_0x5539c5:0x2f4,_0x4ff8b8:0x4b6,_0x3baaf0:0x365,_0x2de85f:0x1e9,_0x1bf588:0x402,_0x562807:0x287,_0x58df7e:0x400,_0x195b50:0x52a,_0xb3cdb1:0x413,_0x434868:0x321,_0x1f1f1d:0x127,_0x2f7d18:0x16f,_0x9191df:0x103,_0xf7f423:0x8d},_0x291aeb={_0x145091:0xf1,_0x2824b0:0xbf,_0x19c83d:0xbf,_0x1ac80e:0x135,_0x82d02f:0xe,_0x3658cd:0x3e,_0x2ae136:0x275,_0x3f4074:0xfe,_0x5a737a:0x1b0,_0x1370e1:0xdb,_0x38b14c:0x10a,_0x14750e:0x8b,_0x58c263:0xca,_0x305c9c:0x3a,_0x3379ba:0x52,_0x45f76d:0x162,_0x3c05d3:0x13e,_0x137f91:0x46,_0x3db041:0xb0,_0x598fba:0x1b7,_0x41fcfe:0x6e,_0x33ab5a:0xf6,_0xdceb36:0x1da,_0x11d5d0:0x4c,_0x25cfa0:0xd8,_0x29bd13:0x8c,_0x5716fe:0x5a,_0x114163:0x38,_0x104d33:0x112,_0x2ccb20:0xa0,_0x5bb6ab:0x8c,_0x2f9099:0x14a,_0x1464be:0x216,_0x383636:0xde,_0xce4e6d:0x74,_0x41c0c3:0xa5,_0x5e2e7c:0x67,_0x4895a6:0x247,_0x48eba6:0x2d2,_0x28b2ab:0x238,_0x3e1080:0xea,_0x133f97:0x3b,_0x4c5c2a:0xd2,_0x3cf5a9:0xc8,_0x1bb99d:0x167,_0x1103d0:0x2b0,_0x5a9f80:0xcf,_0x53037a:0x25b,_0x42bc53:0x39,_0x1c66ce:0xd1,_0x5a0ee5:0x225,_0x5821a6:0x14e,_0xdadca8:0xf6,_0x1a6493:0x229,_0x5a2261:0x20,_0x257bc4:0xfd,_0x3b37a6:0x2c,_0x1a2bfe:0x10f,_0x17c45b:0x31,_0x21ba24:0x113,_0x4b2875:0x207,_0x562dcf:0x3c,_0x52abe3:0xcd,_0x3cb1a3:0x167,_0x48b7b1:0xd8,_0x8e12bd:0xb3,_0x3a1fb8:0x93,_0x9c8eee:0x272,_0x2c67eb:0x97,_0x18c36:0x2c0,_0x692886:0x413,_0x13c9fd:0x286,_0x3cd7ff:0x257},_0x2db9ff={_0x1021dd:0x862,_0x53ca89:0x719,_0x5d24ac:0x660,_0x1b8dfe:0x7ec,_0x3c2c14:0x3e1,_0x2ec171:0x458},_0x40eec0={_0x431b44:0x134};if(!_0x3b7824['engines']||_0x3b7824[_0x1ff9ab(_0x1afb8b._0xb00711,0x620,_0x1afb8b._0x5a1aaa,_0x1afb8b._0xd6aa3b)]['length']===0x0)throw new Error(_0x1ff9ab(_0x1afb8b._0x45c6f2,_0x1afb8b._0x5a83d2,_0x1afb8b._0x4e548d,_0x1afb8b._0x5b0db6));function _0x4e0a0f(_0x1465cd,_0x303edb,_0x45c4a1,_0x21ed8a){return _0x199ce4(_0x45c4a1-0x201,_0x303edb-_0x40eec0._0x431b44,_0x21ed8a,_0x21ed8a-0x4a);}const _0x33be73=_0x3b7824[_0x4e0a0f(0x15f,0x266,0x141,0x1dc)]??_0x4e0a0f(0x3bd,_0x1afb8b._0x311c06,_0x1afb8b._0x12985b,_0x1afb8b._0x57dd84),_0x3271fa=_0x3b7824[_0x1ff9ab(0x24f,_0x1afb8b._0xafa83a,_0x1afb8b._0x28ee2c,0x1c5)];function _0x1ff9ab(_0x1f9acd,_0x154a34,_0x346f90,_0x5ae94a){return _0x26f978(_0x1f9acd-0x4e,_0x154a34-0x83,_0x346f90-0x1c6,_0x154a34);}return defineTool({'name':_0x33be73,'description':_0x1ff9ab(0x20d,0x318,_0x1afb8b._0x282a0c,0x1fb),'inputSchema':{'type':_0x4e0a0f(0x443,0x48b,_0x1afb8b._0x2a72d3,0x2bc),'properties':{'description':{'type':_0x1ff9ab(_0x1afb8b._0x29d3c5,_0x1afb8b._0xf40347,0x4ce,0x3ad)},'query':{'type':'string'},'count':{'type':_0x1ff9ab(_0x1afb8b._0x4d2efc,_0x1afb8b._0x330155,0x552,_0x1afb8b._0x1c976f)},'offset':{'type':_0x1ff9ab(0x645,_0x1afb8b._0x3c5df1,0x552,_0x1afb8b._0x23c0a3)},'domains':{'type':_0x1ff9ab(0x2d6,0x2bb,_0x1afb8b._0x5db8a6,_0x1afb8b._0x5539c5),'items':{'type':_0x1ff9ab(_0x1afb8b._0x4ff8b8,0x35b,0x4ce,_0x1afb8b._0x3baaf0)}},'recencyDays':{'type':_0x4e0a0f(_0x1afb8b._0x2de85f,_0x1afb8b._0x1bf588,0x30b,0x21e)},'lang':{'type':'string'},'region':{'type':_0x4e0a0f(0x158,0x16e,_0x1afb8b._0x562807,0x30e)},'safe':{'type':_0x4e0a0f(0x5e,0x13a,0x1cc,0x2e4)},'type':{'type':_0x4e0a0f(0x1a0,_0x1afb8b._0x58df7e,0x287,0x311)},'hydrateMeta':{'type':_0x1ff9ab(0x33d,_0x1afb8b._0x195b50,_0x1afb8b._0xb3cdb1,_0x1afb8b._0x434868)}},'required':[_0x4e0a0f(_0x1afb8b._0x1f1f1d,_0x1afb8b._0x2f7d18,_0x1afb8b._0x9191df,_0x1afb8b._0xf7f423)]},async *'execute'(_0x2f12fe,_0x16fc13){const _0x5d2b0d={_0xb3ceed:0x1de,_0x15dfad:0x1b7},_0x2a8c8d={_0x5183fc:0x6c3,_0x45e8d3:0x81},_0xbb027={_0x127052:0xda,_0x3bd508:0x1e2};function _0x53a22f(_0x1b7657,_0x27184e,_0x4cc369,_0x228b9e){return _0x1ff9ab(_0x1b7657-_0xbb027._0x127052,_0x228b9e,_0x27184e- -0x2a5,_0x228b9e-_0xbb027._0x3bd508);}const _0x52fedb=_0x2f12fe[_0x4e8db9(-_0x291aeb._0x145091,-0x22a,-0x167,-0x136)]['trim']();if(!_0x52fedb)throw new ToolExecutionError(_0x4e8db9(-0x7a,0x69,-_0x291aeb._0x2824b0,0xa0));const _0x1b9b6a={'query':_0x52fedb,'count':Math[_0x4e8db9(_0x291aeb._0x19c83d,_0x291aeb._0x1ac80e,_0x291aeb._0x82d02f,_0x291aeb._0x3658cd)](0x1,Math[_0x53a22f(0x32,0x131,_0x291aeb._0x2ae136,0x60)](0x32,Math['trunc'](_0x2f12fe[_0x4e8db9(0x154,_0x291aeb._0x3f4074,0xb4,0x105)]??0xa))),'offset':Math['max'](0x0,Math[_0x4e8db9(_0x291aeb._0x5a737a,0x159,0xb0,0x1a0)](_0x2f12fe[_0x4e8db9(-_0x291aeb._0x1370e1,-0xe4,-_0x291aeb._0x38b14c,-0x1e8)]??0x0)),'domains':_0x2f12fe[_0x53a22f(_0x291aeb._0x14750e,_0x291aeb._0x58c263,0x192,-_0x291aeb._0x305c9c)]??[],'recencyDays':Math[_0x4e8db9(_0x291aeb._0x3379ba,-0xf,0xe,_0x291aeb._0x45f76d)](0x0,Math[_0x4e8db9(_0x291aeb._0x3c05d3,_0x291aeb._0x137f91,_0x291aeb._0x3db041,-0xb9)](_0x2f12fe[_0x4e8db9(_0x291aeb._0x598fba,-_0x291aeb._0x41fcfe,_0x291aeb._0x33ab5a,-0x2a)]??0x0)),'lang':_0x2f12fe[_0x53a22f(_0x291aeb._0xdceb36,0x10f,-_0x291aeb._0x11d5d0,0x26a)]??'en','region':_0x2f12fe[_0x53a22f(0x1af,_0x291aeb._0x25cfa0,-_0x291aeb._0x29bd13,0xeb)]??'','safe':_0x2f12fe[_0x53a22f(-0x3,0x154,0x276,0xf)]??!![],'type':normalizeType(_0x2f12fe['type']),'hydrateMeta':_0x2f12fe[_0x4e8db9(-_0x291aeb._0x5716fe,-_0x291aeb._0x114163,_0x291aeb._0x104d33,0x11d)]??![]};let _0x51261a=[],_0x5a233a='unknown';for(const _0x4bbe1f of _0x3b7824['engines']){try{if(isGoogleCseEngine(_0x4bbe1f))_0x51261a=await searchGoogleCse(_0x4bbe1f,_0x1b9b6a,_0x16fc13[_0x53a22f(0xc2,0xd1,-0xa9,_0x291aeb._0x2ccb20)]),_0x5a233a='google-cse';else{if(isOllamaEngine(_0x4bbe1f)){const _0x65f99b=await searchOllama(_0x4bbe1f,_0x1b9b6a,_0x16fc13[_0x53a22f(_0x291aeb._0xdceb36,0xd1,0x6f,0xeb)]);_0x51261a=_0x65f99b[_0x4e8db9(0x55,0xd2,-_0x291aeb._0x5bb6ab,_0x291aeb._0x1370e1)],_0x5a233a=_0x65f99b[_0x4e8db9(_0x291aeb._0x2f9099,-0x3f,0xa0,0x173)];}else{if(isTavilyEngine(_0x4bbe1f)){const _0x14961a=await searchTavily(_0x4bbe1f,_0x1b9b6a,_0x16fc13[_0x53a22f(_0x291aeb._0x1464be,0xd1,_0x291aeb._0x383636,-0x42)]);_0x51261a=_0x14961a[_0x53a22f(0x1e1,0x180,0x130,_0x291aeb._0xce4e6d)],_0x5a233a=_0x14961a['engine'];}}}if(_0x51261a[_0x4e8db9(-0x221,-0xcf,-_0x291aeb._0x41c0c3,-_0x291aeb._0x5e2e7c)]>0x0)break;}catch(_0x42ba99){if(_0x4bbe1f===_0x3b7824[_0x53a22f(0x1fd,_0x291aeb._0x4895a6,_0x291aeb._0x48eba6,_0x291aeb._0x28b2ab)][_0x3b7824[_0x4e8db9(-_0x291aeb._0x3e1080,-0xc1,_0x291aeb._0x133f97,_0x291aeb._0x4c5c2a)][_0x53a22f(_0x291aeb._0x3cf5a9,_0x291aeb._0x1bb99d,_0x291aeb._0x1103d0,_0x291aeb._0x5a9f80)]-0x1])throw _0x42ba99;}}function _0x4e8db9(_0x399d1f,_0x183612,_0x46a015,_0x29f2f6){return _0x4e0a0f(_0x399d1f-0x30,_0x183612-0x1ea,_0x46a015- -0x26a,_0x399d1f);}_0x1b9b6a['hydrateMeta']&&_0x51261a[_0x53a22f(_0x291aeb._0x53037a,0x167,_0x291aeb._0xce4e6d,0x15d)]>0x0&&(_0x51261a=await hydrateResults(_0x51261a,_0x1b9b6a['lang'],_0x16fc13[_0x53a22f(-_0x291aeb._0x42bc53,_0x291aeb._0x1c66ce,_0x291aeb._0x5a0ee5,_0x291aeb._0x5821a6)],_0x3271fa));const _0x48798c=new Set();_0x51261a=_0x51261a['filter'](_0x1d29f0=>{const _0x3daa15=_0x1d29f0['url'][_0x59b01e(_0x2db9ff._0x1021dd,_0x2db9ff._0x53ca89,_0x2db9ff._0x5d24ac,_0x2db9ff._0x1b8dfe)]();function _0x59b01e(_0x53d28a,_0x2295d2,_0x416de4,_0x1244b1){return _0x4e8db9(_0x1244b1,_0x2295d2-0xca,_0x2295d2-_0x2a8c8d._0x5183fc,_0x1244b1-_0x2a8c8d._0x45e8d3);}if(!_0x3daa15||_0x48798c['has'](_0x3daa15))return![];function _0x37e999(_0x5316c2,_0x25fe58,_0x587598,_0x41dd7b){return _0x53a22f(_0x5316c2-_0x5d2b0d._0xb3ceed,_0x25fe58-0x1bd,_0x587598-_0x5d2b0d._0x15dfad,_0x587598);}return _0x48798c[_0x37e999(0x5af,0x49b,_0x2db9ff._0x3c2c14,_0x2db9ff._0x2ec171)](_0x3daa15),!![];}),_0x51261a=_0x51261a[_0x53a22f(0x243,0x190,0xd1,0x125)]((_0x586161,_0x37664c)=>({..._0x586161,'source':{..._0x586161[_0x4e8db9(0x2e,-0xcb,0xd,-0x13f)],'rank':_0x37664c+0x1}}));const _0x2232fa={};if(_0x1b9b6a['domains']['length']>0x0)_0x2232fa['domains']=_0x1b9b6a[_0x53a22f(0x22e,_0x291aeb._0x58c263,0xc3,0xcd)];if(_0x1b9b6a[_0x4e8db9(0x155,0xf4,_0x291aeb._0xdadca8,_0x291aeb._0x1a6493)]>0x0)_0x2232fa['recencyDays']=_0x1b9b6a['recencyDays'];if(_0x1b9b6a[_0x4e8db9(-0x26c,_0x291aeb._0x5a2261,-_0x291aeb._0x257bc4,-0xe4)]!=='en')_0x2232fa['lang']=_0x1b9b6a[_0x53a22f(-_0x291aeb._0x3b37a6,_0x291aeb._0x1a2bfe,-_0x291aeb._0x17c45b,0x99)];if(_0x1b9b6a['region'])_0x2232fa[_0x4e8db9(-_0x291aeb._0x21ba24,-0x288,-0x134,-_0x291aeb._0x4b2875)]=_0x1b9b6a[_0x53a22f(-_0x291aeb._0x562dcf,0xd8,0x183,0x24f)];return yield createToolOutput(formatResults(_0x51261a),{'engine':_0x5a233a,'count':_0x51261a[_0x53a22f(_0x291aeb._0x52abe3,_0x291aeb._0x3cb1a3,_0x291aeb._0x48b7b1,0x160)],'items':_0x51261a,'query':_0x1b9b6a[_0x53a22f(-_0x291aeb._0x8e12bd,0xa5,_0x291aeb._0x3a1fb8,0x7e)],...Object[_0x53a22f(_0x291aeb._0x9c8eee,0x158,_0x291aeb._0x2c67eb,0x172)](_0x2232fa)['length']>0x0?{'appliedFilters':_0x2232fa}:{},'offset':_0x1b9b6a['offset'],'totalRequested':_0x1b9b6a[_0x53a22f(0x249,_0x291aeb._0x18c36,_0x291aeb._0x692886,0x19b)],'hydrated':_0x1b9b6a[_0x4e8db9(_0x291aeb._0x13c9fd,_0x291aeb._0x3cd7ff,0x112,0x1e5)]}),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};
|