@nuvin/agent-core 0.1.0-rc.11 → 0.1.0-rc.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-BLGBVFVX.js +1 -1
- 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 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/chat-model.d.ts +1 -0
- package/dist/models/index.js +1 -1
- package/dist/models/mock-model.d.ts +2 -0
- package/dist/models/routed-model.d.ts +2 -0
- 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 +2 -0
- package/dist/tools/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-LIJXXCAA.js +0 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2a4d60,_0x7bfe7){const _0x1b880c={_0x13b3ed:0x205,_0x30434b:0x19a,_0x3552ee:0x258,_0x5b02b0:0x156,_0x1b43f8:0x13f,_0x4254fc:0x189,_0xe7f702:0x1bb,_0x5215d5:0x172,_0x4527f7:0x1ff,_0x2d19ca:0x174,_0x3bf874:0x1a3,_0x1531fa:0x192,_0x9a4f0d:0x17d,_0x405406:0x8b,_0x2b31f3:0x14c,_0x7322f5:0x178,_0x3f5bf4:0x171,_0x58c1cc:0x2a4,_0x2172bf:0x106,_0x3f3e5d:0x78,_0x32ed9d:0x1f0,_0x593fec:0x19a},_0x1ad2f5={_0x3db462:0x11},_0x4cb1ed={_0x5a41ba:0x1ab},_0x3ed6ab=_0x2a4d60();function _0x3f04be(_0x4aeea5,_0x70af92,_0x405119,_0x5addc0){return _0x3eab(_0x405119- -_0x4cb1ed._0x5a41ba,_0x5addc0);}function _0x5e9fa2(_0x404fdc,_0x234b16,_0x9455fc,_0x2e45e1){return _0x3eab(_0x2e45e1-_0x1ad2f5._0x3db462,_0x9455fc);}while(!![]){try{const _0x257560=-parseInt(_0x3f04be(0x1f5,_0x1b880c._0x13b3ed,0x144,0x1d6))/0x1*(-parseInt(_0x5e9fa2(_0x1b880c._0x30434b,0x346,0x1c2,_0x1b880c._0x3552ee))/0x2)+-parseInt(_0x5e9fa2(_0x1b880c._0x5b02b0,_0x1b880c._0x1b43f8,_0x1b880c._0x4254fc,_0x1b880c._0xe7f702))/0x3*(-parseInt(_0x5e9fa2(0x163,0x243,_0x1b880c._0x5215d5,0x21e))/0x4)+parseInt(_0x3f04be(_0x1b880c._0x4527f7,0x14e,_0x1b880c._0x2d19ca,_0x1b880c._0x3bf874))/0x5*(-parseInt(_0x5e9fa2(0x2dc,0x296,0x161,0x29f))/0x6)+parseInt(_0x3f04be(-_0x1b880c._0x1531fa,-_0x1b880c._0x9a4f0d,-_0x1b880c._0x405406,-_0x1b880c._0x2b31f3))/0x7+parseInt(_0x5e9fa2(0x204,_0x1b880c._0x7322f5,_0x1b880c._0x3f5bf4,0x24b))/0x8+parseInt(_0x5e9fa2(_0x1b880c._0x58c1cc,0x2b8,0x262,0x1e3))/0x9*(parseInt(_0x3f04be(_0x1b880c._0x2172bf,_0x1b880c._0x3f3e5d,0xdf,_0x1b880c._0x32ed9d))/0xa)+-parseInt(_0x5e9fa2(_0x1b880c._0x593fec,0x143,0x2c2,0x1ea))/0xb;if(_0x257560===_0x7bfe7)break;else _0x3ed6ab['push'](_0x3ed6ab['shift']());}catch(_0x30d73b){_0x3ed6ab['push'](_0x3ed6ab['shift']());}}}(_0x1f31,0x576ba));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-LIJXXCAA.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 _0x5c25c7 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x4d40c0(-0x70,-0xd3,-0xc9,-0x7d),'.tsx':_0xf90728(-0x12f,0x4,0x24,0x49),'.js':_0xf90728(-0x121,-0x52,-0x3b,-0x101),'.jsx':_0x4d40c0(-0x2b3,-0x28e,-0x387,-0x2d0),'.mjs':_0xf90728(-0x167,0x0,-0x3b,-0x6),'.cjs':_0xf90728(0x107,-0x4e,-0x3b,0xec),'.mts':_0x4d40c0(-0x189,-0xd3,0xa2,-0x9c),'.cts':_0x4d40c0(0x78,-0xd3,-0x24,0x0),'.json':_0xf90728(-0x127,0x64,-0x23,-0x46),'.jsonc':'jsonc'};function getLanguageId(_0x3a2a7e){const _0x2e1c6a={_0x36261a:0x1d4,_0x540000:0x5d,_0x13c9a4:0x123,_0x37c60f:0x36},_0x4a084a={_0x14a362:0x15,_0x5dfab3:0x124,_0x48b289:0x1b5};function _0x2ea48e(_0xa7330b,_0x4f1786,_0x1d9b22,_0x35914b){return _0xf90728(_0xa7330b,_0x4f1786-0x122,_0x4f1786-0x1e8,_0x35914b-0x46);}function _0x21fbef(_0x1d8632,_0x118cd4,_0x47c49f,_0x1a64f6){return _0xf90728(_0x118cd4,_0x118cd4-_0x4a084a._0x14a362,_0x1d8632-_0x4a084a._0x5dfab3,_0x1a64f6-_0x4a084a._0x48b289);}return EXTENSION_TO_LANGUAGE[_0x5c25c7[_0x2ea48e(0x122,0xd5,_0x2e1c6a._0x36261a,-_0x2e1c6a._0x540000)](_0x3a2a7e)[_0x2ea48e(0x1e,0xf8,_0x2e1c6a._0x13c9a4,-_0x2e1c6a._0x37c60f)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x29cb01){const _0x1abb3c={_0x556f3a:0x264,_0x24244e:0x338},_0x29e166={_0x537e07:0x371};function _0x18704f(_0x493de3,_0x10c5dd,_0x1cc2b2,_0x217102){return _0xf90728(_0x493de3,_0x10c5dd-0x4b,_0x1cc2b2-_0x29e166._0x537e07,_0x217102-0x42);}return pathToFileURL(_0x29cb01)[_0x18704f(0x2ea,_0x1abb3c._0x556f3a,_0x1abb3c._0x24244e,0x2a9)]();}function textDocumentPosition(_0x4a490b){const _0x245579={_0x384ca0:0x497,_0x20cb80:0x583,_0x24bcbe:0x34f,_0x43c0f3:0x2d4},_0x1709f5={_0x419add:0x3b2},_0x54632c={_0x4ef203:0x459};function _0x47165a(_0x8d7f88,_0x4fc572,_0x31402f,_0x341658){return _0xf90728(_0x341658,_0x4fc572-0x8,_0x31402f-_0x54632c._0x4ef203,_0x341658-0xef);}function _0x4a5adb(_0x4b7073,_0x38819a,_0x3b046c,_0x69877){return _0x4d40c0(_0x4b7073-0x163,_0x69877-_0x1709f5._0x419add,_0x3b046c-0x28,_0x4b7073);}return{'textDocument':{'uri':uriForPath(_0x4a490b[_0x4a5adb(_0x245579._0x384ca0,0x1f3,0x2e4,0x367)])},'position':{'line':_0x4a490b[_0x47165a(_0x245579._0x20cb80,0x4e4,0x469,_0x245579._0x24bcbe)],'character':_0x4a490b[_0x4a5adb(0x338,0x2a6,_0x245579._0x43c0f3,0x28d)]}};}function normalizeLocations(_0x41078f){if(!_0x41078f)return[];return Array['isArray'](_0x41078f)?_0x41078f:[_0x41078f];}async function createLspClient(_0x6ef27b){const _0x5517d={_0x1cc3af:0x1b0,_0x1f7d6b:0x260,_0x32e643:0x204,_0x14c755:0x790,_0x4f8cf9:0x5b7,_0x23ae40:0x6b1,_0x3095ef:0x24c,_0x5177b9:0x151,_0x18b310:0x1df,_0x4ab80c:0x502,_0x5b46d2:0x718,_0x489679:0x6ee,_0x50f253:0x63a,_0x504058:0x6af,_0x778205:0x152,_0x2843eb:0x2de,_0x1cf578:0x61d,_0x429b7e:0x804,_0x39adf8:0x70b,_0x47090b:0x22f,_0x386f1b:0x293,_0x1acb86:0x19f,_0x5804b0:0x643,_0x12f836:0x6b7,_0x4805a6:0x5d5,_0x96b203:0x2fc,_0x184629:0x33a,_0x77e3c6:0x1bf,_0x59f97f:0x270,_0x279096:0x1c5,_0x16d4b5:0x109,_0x11c782:0x174,_0x3f907b:0x265,_0x592dbe:0x36c,_0x35057f:0x255},_0x4cfe0c={_0x532128:0x5f,_0x259d1d:0x24b,_0x24807f:0x4,_0xa45c00:0x9,_0xe2f8cf:0x3d,_0x36b631:0xfa,_0x18545a:0x12,_0x4052ec:0xe4,_0x2f6d8b:0x36,_0x505758:0xa3,_0x5261c1:0x9d,_0x4fa215:0x4e,_0x48d711:0xad},_0x15917b={_0x2f42fe:0x3c},_0x2f5111={_0x478f0a:0x1b1,_0xfed91f:0x180,_0x4ae7d5:0x18,_0x5022ae:0x136},_0x4c62ee={_0x3119f5:0x21a,_0x3b6ce9:0x189,_0x2a286a:0x157},_0x14fc1f={_0x4b0e49:0x5d0,_0x5ba13c:0x62c},_0x4e2b0d={_0x4ab5bd:0x138},_0x3a6a98={_0x411a76:0xd1,_0x48bb7b:0x183,_0x4b1002:0x7b},_0xdcc08c={_0x1a9773:0xc6,_0x57f10e:0x1b5,_0x1197e8:0x9},_0x40c17e={_0x538c0c:0x4bf,_0x4e90a1:0x358,_0x297b93:0x10,_0x2ef44b:0x113,_0x5b92bf:0xd2,_0x450cbf:0x3f},_0x2d5f09={_0x2b0f5c:0x77},_0x380610={_0x467553:0x1eb},_0x58f4dc={_0x1ff157:0x35d},_0xe0e69e={_0x3dd274:0xc3,_0xcb2c85:0x376},_0x56eced={_0x5d694e:0x175,_0x4ecd95:0x2b4,_0x14aa8b:0x29c},_0x1828b9={_0x52ab6e:0x112,_0x88cff1:0x2e7},_0x461898={_0x3da3fe:0xee,_0x5b7bee:0x20,_0x1c0c14:0x253},_0x4c4de1={_0x9fea28:0x120},_0x377a3c={_0x223dc7:0x9f,_0x117495:0x169,_0xff4c8:0xbd},_0x25cb16={_0x2fb70f:0x34b,_0x2394fe:0x1f7},_0x36193f={_0x2c8931:0x538,_0x587ba2:0x793,_0x3c9181:0x61b},_0x3e0046={_0x4e7e6d:0x18f},_0x517466={_0x3a995f:0x174},_0x931871={_0x65fe0e:0x45,_0x17f543:0x7a},_0x41de17={_0x3385ec:0x4f8,_0x26d95b:0x59e},_0x2125eb={_0x5f4fa4:0x18c,_0x3c60b4:0x1ba},_0x16eac6={_0x339a61:0x1e6,_0x52b40a:0xee,_0x302f68:0x4d,_0x35ffc2:0xf4},_0x1a1043={_0x1c7035:0x32,_0x151705:0x66},_0x23b855={_0x347862:0x51,_0x54e07b:0x10e},_0x4b6500={_0x7f14ca:0x2f2,_0x4c1ad3:0x3b8,_0x3351c5:0x296,_0x5b7c2c:0x275,_0x21e15a:0x24a},_0x4b675e={_0xe4cda5:0x1af,_0x472717:0x3de},_0x48b273={_0x310f22:0xc7,_0x4b652c:0x174},_0x596fdd={_0x538649:0x18b},_0x410f81={_0x11db13:0x408},_0xa152db=_0x6ef27b['handle']['process']['stdout'];function _0x260433(_0x3cf557,_0x3eb026,_0x5e3fc6,_0xe9ef5d){return _0x4d40c0(_0x3cf557-0x1a0,_0x3cf557-_0x410f81._0x11db13,_0x5e3fc6-0x56,_0x5e3fc6);}const _0x10d696=_0x6ef27b['handle'][_0x260433(_0x5517d._0x1cc3af,0x24b,_0x5517d._0x1f7d6b,_0x5517d._0x32e643)]['stdin'];if(!_0xa152db||!_0x10d696)throw new Error(_0x51d290(_0x5517d._0x14c755,0x5e5,_0x5517d._0x4f8cf9,_0x5517d._0x23ae40));const _0xa8b663=createMessageConnection(new StreamMessageReader(_0xa152db),new StreamMessageWriter(_0x10d696)),_0x33d25f=new Map(),_0x2b5538=new Map();let _0x4c883e=![];function _0x51d290(_0x461965,_0x22cb07,_0x1f5a36,_0x1057d5){return _0x4d40c0(_0x461965-0x2c,_0x1057d5-0x70d,_0x1f5a36-_0x596fdd._0x538649,_0x22cb07);}_0xa8b663[_0x260433(_0x5517d._0x3095ef,_0x5517d._0x5177b9,0x193,_0x5517d._0x18b310)]('textDocument/publishDiagnostics',_0x55fc83=>{_0x33d25f['set'](_0x55fc83[_0x258e50(_0x4b6500._0x7f14ca,_0x4b6500._0x4c1ad3,0x326,0x34a)],_0x55fc83['diagnostics']);function _0x258e50(_0x2a4a92,_0x3212c5,_0x3f230c,_0x1457e9){return _0x260433(_0x2a4a92- -_0x48b273._0x310f22,_0x3212c5-_0x48b273._0x4b652c,_0x1457e9,_0x1457e9-0xaa);}const _0x410e76=_0x2b5538[_0x258e50(_0x4b6500._0x3351c5,0x3f0,0x345,0x3f7)](_0x55fc83['uri']);if(!_0x410e76)return;function _0x49e085(_0x15f802,_0x1fb422,_0x2aef5d,_0x572897){return _0x51d290(_0x15f802-_0x4b675e._0xe4cda5,_0x2aef5d,_0x2aef5d-0x179,_0x572897- -_0x4b675e._0x472717);}_0x2b5538['delete'](_0x55fc83[_0x258e50(0x2f2,_0x4b6500._0x5b7c2c,0x2d9,_0x4b6500._0x21e15a)]);for(const _0xbf3587 of _0x410e76)_0xbf3587();}),_0xa8b663['listen']();const _0x3ecf5f=await _0xa8b663[_0x51d290(0x50b,_0x5517d._0x4ab80c,0x51f,0x673)](_0x51d290(_0x5517d._0x5b46d2,0x524,_0x5517d._0x489679,0x663),{'processId':process['pid'],'rootUri':uriForPath(_0x6ef27b[_0x51d290(_0x5517d._0x50f253,_0x5517d._0x504058,0x66b,0x56a)]),'workspaceFolders':[{'uri':uriForPath(_0x6ef27b[_0x260433(0x265,0x3c0,_0x5517d._0x778205,_0x5517d._0x2843eb)]),'name':_0x6ef27b[_0x51d290(0x715,_0x5517d._0x1cf578,_0x5517d._0x429b7e,_0x5517d._0x39adf8)]['id']}],'initializationOptions':_0x6ef27b[_0x260433(0x2ca,_0x5517d._0x47090b,_0x5517d._0x386f1b,_0x5517d._0x1acb86)]['initialization']??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x51d290(_0x5517d._0x5804b0,_0x5517d._0x12f836,0x70a,_0x5517d._0x4805a6),_0x260433(_0x5517d._0x96b203,_0x5517d._0x184629,_0x5517d._0x77e3c6,0x338)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0xa8b663[_0x51d290(0x44c,0x351,0x4c3,0x4a6)](_0x260433(_0x5517d._0x59f97f,_0x5517d._0x279096,_0x5517d._0x16d4b5,_0x5517d._0x11c782),{});const _0x8a7d26={'serverId':_0x6ef27b['server']['id'],'root':_0x6ef27b[_0x260433(_0x5517d._0x3f907b,_0x5517d._0x592dbe,_0x5517d._0x35057f,0x2d8)],'connection':_0xa8b663,'diagnostics':_0x33d25f,'capabilities':_0x3ecf5f['capabilities']??{},'notify':{async 'open'({path:_0x2506a0}){const _0x4a44ef={_0x46e94b:0x401,_0x4d98cd:0x61};function _0x20a777(_0x706b82,_0x299278,_0x3b57de,_0x2e448a){return _0x260433(_0x706b82- -_0x4a44ef._0x46e94b,_0x299278-0x37,_0x299278,_0x2e448a-_0x4a44ef._0x4d98cd);}const _0x1fde20=await readFile(_0x2506a0,_0x20a777(_0x1a1043._0x1c7035,0xd8,0x116,-_0x1a1043._0x151705));function _0x2077ab(_0x4cf58c,_0x4508f2,_0x4272fb,_0x1dd7e0){return _0x51d290(_0x4cf58c-0x5e,_0x4508f2,_0x4272fb-_0x23b855._0x347862,_0x1dd7e0- -_0x23b855._0x54e07b);}_0xa8b663['sendNotification'](_0x2077ab(0x459,0x5e2,0x5e6,0x597),{'textDocument':{'uri':uriForPath(_0x2506a0),'languageId':getLanguageId(_0x2506a0)??'plaintext','version':0x1,'text':_0x1fde20}});},async 'change'({path:_0x44a4cb,version:_0x121597}){const _0x3a5597={_0x50c1a7:0xad,_0xc4094:0x51},_0x2a3111=await readFile(_0x44a4cb,'utf8');function _0x521f39(_0x13f6c9,_0x5ee1a8,_0x1c79a7,_0x20cf98){return _0x260433(_0x20cf98- -_0x3a5597._0x50c1a7,_0x5ee1a8-_0x3a5597._0xc4094,_0x13f6c9,_0x20cf98-0x162);}_0xa8b663[_0x521f39(_0x16eac6._0x339a61,_0x16eac6._0x52b40a,_0x16eac6._0x302f68,_0x16eac6._0x35ffc2)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x44a4cb),'version':_0x121597},'contentChanges':[{'text':_0x2a3111}]});},async 'close'({path:_0x2d222d}){function _0x100796(_0x185ed6,_0x3fcff2,_0x57d223,_0x12bc45){return _0x51d290(_0x185ed6-_0x2125eb._0x5f4fa4,_0x3fcff2,_0x57d223-0xcd,_0x12bc45- -_0x2125eb._0x3c60b4);}_0xa8b663['sendNotification'](_0x100796(0x5ec,_0x41de17._0x3385ec,_0x41de17._0x26d95b,0x4b5),{'textDocument':{'uri':uriForPath(_0x2d222d)}});}},'request':{async 'definition'(_0x41ad17){function _0x41d8ed(_0x52cba2,_0x45f55e,_0x1dad84,_0x1b689b){return _0x260433(_0x1b689b- -_0x931871._0x65fe0e,_0x45f55e-_0x931871._0x17f543,_0x1dad84,_0x1b689b-0x1b5);}return normalizeLocations(await _0xa8b663['sendRequest'](_0x41d8ed(0x2b8,0x2ac,0x23f,_0x517466._0x3a995f),textDocumentPosition(_0x41ad17)));},async 'references'(_0x429a03){function _0x4634a2(_0x51eabc,_0x181a35,_0x284f96,_0x57f644){return _0x51d290(_0x51eabc-0x57,_0x51eabc,_0x284f96-_0x3e0046._0x4e7e6d,_0x57f644-0xe);}return normalizeLocations(await _0xa8b663['sendRequest'](_0x4634a2(_0x36193f._0x2c8931,0x740,_0x36193f._0x587ba2,_0x36193f._0x3c9181),{...textDocumentPosition(_0x429a03),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x4254af){const _0x3c016b={_0x5a886b:0x8,_0x27c083:0x1d8};function _0x44af5d(_0x296115,_0x4268b2,_0x199964,_0x3b17b2){return _0x260433(_0x3b17b2- -0xb0,_0x4268b2-_0x3c016b._0x5a886b,_0x296115,_0x3b17b2-_0x3c016b._0x27c083);}return await _0xa8b663['sendRequest'](_0x44af5d(0x12d,_0x25cb16._0x2fb70f,0x2ce,_0x25cb16._0x2394fe),textDocumentPosition(_0x4254af))??null;},async 'documentSymbol'(_0x3e1f0d){function _0x524dc0(_0x4d753b,_0x5cf6ba,_0x5b01dc,_0x3572a9){return _0x260433(_0x5cf6ba-_0x377a3c._0x223dc7,_0x5cf6ba-_0x377a3c._0x117495,_0x5b01dc,_0x3572a9-_0x377a3c._0xff4c8);}function _0xad49c4(_0x2c5b76,_0x3e32a6,_0x5af01b,_0x3605c2){return _0x51d290(_0x2c5b76-0x118,_0x3e32a6,_0x5af01b-_0x4c4de1._0x9fea28,_0x5af01b- -0x72b);}return await _0xa8b663[_0xad49c4(-_0x461898._0x3da3fe,-0x12d,-0xb8,_0x461898._0x5b7bee)](_0xad49c4(-0x191,-_0x461898._0x1c0c14,-0x158,-0x22c),{'textDocument':{'uri':uriForPath(_0x3e1f0d)}})??[];},async 'workspaceSymbol'(_0x1a8380){function _0x2052b7(_0x152d8d,_0x2f435e,_0x5da3d3,_0x5b032f){return _0x51d290(_0x152d8d-_0x1828b9._0x52ab6e,_0x2f435e,_0x5da3d3-0x1bb,_0x5b032f- -_0x1828b9._0x88cff1);}return await _0xa8b663['sendRequest'](_0x2052b7(_0x56eced._0x5d694e,_0x56eced._0x4ecd95,0x30d,_0x56eced._0x14aa8b),{'query':_0x1a8380})??[];},async 'implementation'(_0x46c1e5){const _0x5f558e={_0x186ac4:0x171,_0x272967:0x12c,_0x11f134:0x70c};function _0x32ed8d(_0x1c7475,_0x4811b0,_0x2ebce3,_0x291bc1){return _0x51d290(_0x1c7475-_0x5f558e._0x186ac4,_0x1c7475,_0x2ebce3-_0x5f558e._0x272967,_0x2ebce3- -_0x5f558e._0x11f134);}function _0x3f477d(_0x539b7a,_0x19a3ac,_0x4e6359,_0x41eca6){return _0x51d290(_0x539b7a-0xf2,_0x4e6359,_0x4e6359-_0xe0e69e._0x3dd274,_0x539b7a- -_0xe0e69e._0xcb2c85);}return normalizeLocations(await _0xa8b663[_0x3f477d(0x2fd,0x230,0x2ec,_0x58f4dc._0x1ff157)](_0x32ed8d(-0x72,0x69,-0x8c,-0x1f),textDocumentPosition(_0x46c1e5)));},async 'prepareCallHierarchy'(_0x398369){function _0x3da767(_0x3a91bf,_0x1cb5ec,_0x5958f0,_0x43bf09){return _0x51d290(_0x3a91bf-_0x380610._0x467553,_0x5958f0,_0x5958f0-0x158,_0x3a91bf- -0x54f);}function _0x3ae1b8(_0x44bc7c,_0x3a4df3,_0x4ce74e,_0x138a2a){return _0x260433(_0x138a2a-_0x2d5f09._0x2b0f5c,_0x3a4df3-0x72,_0x3a4df3,_0x138a2a-0x23);}return await _0xa8b663[_0x3ae1b8(_0x40c17e._0x538c0c,0x552,_0x40c17e._0x4e90a1,0x3e5)](_0x3da767(_0x40c17e._0x297b93,-_0x40c17e._0x2ef44b,_0x40c17e._0x5b92bf,-_0x40c17e._0x450cbf),textDocumentPosition(_0x398369))??[];},async 'incomingCalls'(_0x50b9e3){function _0x3e7761(_0x2ba2ea,_0xf894eb,_0x168025,_0x270d29){return _0x260433(_0xf894eb- -_0xdcc08c._0x1a9773,_0xf894eb-_0xdcc08c._0x57f10e,_0x2ba2ea,_0x270d29-_0xdcc08c._0x1197e8);}return await _0xa8b663['sendRequest'](_0x3e7761(_0x3a6a98._0x411a76,_0x3a6a98._0x48bb7b,0x5d,_0x3a6a98._0x4b1002),{'item':_0x50b9e3})??[];},async 'outgoingCalls'(_0x38f2ac){function _0x1f9973(_0x41d2b5,_0x5c6504,_0x2dde81,_0x4750c9){return _0x260433(_0x5c6504-0x2af,_0x5c6504-_0x4e2b0d._0x4ab5bd,_0x4750c9,_0x4750c9-0x156);}return await _0xa8b663['sendRequest'](_0x1f9973(_0x14fc1f._0x4b0e49,_0x14fc1f._0x5ba13c,0x652,0x680),{'item':_0x38f2ac})??[];}},'waitForDiagnostics'({path:_0x495cfb,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x1786cb={_0x1cb2ef:0x249,_0x3f5a90:0x4ab,_0x4322dd:0x90,_0x1b3a2b:0x8c,_0x512a48:0xb6},_0x55d7b9={_0x595330:0x276,_0x547753:0xef},_0x3deb1d={_0x3d45a9:0x42,_0x4813e4:0x44e,_0x1bde71:0x3aa,_0x5b52ef:0x29a,_0x48bb51:0x2a9,_0x52d789:0x14c,_0x211e3a:0x214},_0x3b5a7b={_0x23508f:0x8c,_0x39af5c:0x113,_0x4018ef:0xfa},_0x1366af=uriForPath(_0x495cfb);function _0x330748(_0x508e82,_0x44283b,_0x2333b3,_0x23a4a0){return _0x260433(_0x44283b- -_0x4c62ee._0x3119f5,_0x44283b-_0x4c62ee._0x3b6ce9,_0x508e82,_0x23a4a0-_0x4c62ee._0x2a286a);}function _0x22d68d(_0x9b9820,_0x1932d2,_0x41e6c2,_0x34e91d){return _0x260433(_0x9b9820- -_0x3b5a7b._0x23508f,_0x1932d2-_0x3b5a7b._0x39af5c,_0x41e6c2,_0x34e91d-_0x3b5a7b._0x4018ef);}if(_0x33d25f[_0x22d68d(_0x2f5111._0x478f0a,0x2e5,0x1b0,0x325)](_0x1366af))return Promise[_0x330748(_0x2f5111._0xfed91f,_0x2f5111._0x4ae7d5,_0x2f5111._0x5022ae,-0x80)]();return new Promise(_0x127152=>{const _0x13488a={_0x3f5bd1:0xa4},_0x483f24=setTimeout(()=>{function _0x5cc198(_0x5317ce,_0xa5cb0e,_0x1161d3,_0x576274){return _0x3eab(_0x576274- -0xb,_0xa5cb0e);}const _0xdce3c9=_0x2b5538['get'](_0x1366af);function _0x354f7f(_0x2b7f99,_0x5680e9,_0x464365,_0x8135cd){return _0x3eab(_0x5680e9-_0x13488a._0x3f5bd1,_0x464365);}_0xdce3c9?.[_0x5cc198(0x1e9,0x192,_0x3deb1d._0x3d45a9,0x9d)](_0x524347);if(_0xdce3c9?.[_0x354f7f(_0x3deb1d._0x4813e4,0x377,_0x3deb1d._0x1bde71,_0x3deb1d._0x5b52ef)]===0x0)_0x2b5538[_0x354f7f(_0x3deb1d._0x48bb51,_0x3deb1d._0x52d789,_0x3deb1d._0x211e3a,0x73)](_0x1366af);_0x127152();},timeoutMs),_0x524347=()=>{clearTimeout(_0x483f24),_0x127152();},_0x270d9a=_0x2b5538['get'](_0x1366af)??new Set();function _0x25c2dc(_0x2842fd,_0x408a52,_0xea785b,_0xa981b1){return _0x22d68d(_0x408a52- -0x415,_0x408a52-0x126,_0x2842fd,_0xa981b1-0x36);}function _0x4f583b(_0x2de24f,_0x4be699,_0x3db6ad,_0x27e9a1){return _0x22d68d(_0x4be699- -_0x55d7b9._0x595330,_0x4be699-0x18,_0x3db6ad,_0x27e9a1-_0x55d7b9._0x547753);}_0x270d9a[_0x25c2dc(-0x36d,-0x33c,-_0x1786cb._0x1cb2ef,-_0x1786cb._0x3f5a90)](_0x524347),_0x2b5538[_0x25c2dc(_0x1786cb._0x4322dd,-_0x1786cb._0x1b3a2b,-_0x1786cb._0x512a48,-0x16c)](_0x1366af,_0x270d9a);});},async 'shutdown'(){if(_0x4c883e)return;function _0x2b108a(_0x214e3e,_0x537edd,_0x40ca0f,_0x16b3d9){return _0x51d290(_0x214e3e-0x1a3,_0x16b3d9,_0x40ca0f-0x1ec,_0x537edd- -0x5a0);}_0x4c883e=!![];function _0x14a117(_0x1697ae,_0x1771fe,_0x18e82f,_0x4d1b24){return _0x51d290(_0x1697ae-0x1a4,_0x18e82f,_0x18e82f-_0x15917b._0x2f42fe,_0x1697ae- -0x610);}try{await _0xa8b663[_0x2b108a(-_0x4cfe0c._0x532128,0xd3,_0x4cfe0c._0x259d1d,-0x1c)](_0x2b108a(0x13c,-0x28,-_0x4cfe0c._0x24807f,-_0x4cfe0c._0xa45c00),null),_0xa8b663[_0x2b108a(-_0x4cfe0c._0xe2f8cf,-_0x4cfe0c._0x36b631,0x32,_0x4cfe0c._0x18545a)]('exit');}catch{}finally{_0xa8b663[_0x14a117(_0x4cfe0c._0x4052ec,_0x4cfe0c._0x2f6d8b,0x17d,-0x53)](),_0x6ef27b[_0x2b108a(_0x4cfe0c._0x505758,0x2f,-_0x4cfe0c._0x5261c1,0x14)][_0x14a117(-0x15b,-0x2a7,-_0x4cfe0c._0x4fa215,-0x22d)][_0x2b108a(-0x1a9,-_0x4cfe0c._0x48d711,-0x212,-0x174)]();}}};return _0x8a7d26;}import{spawn as _0x5667c4}from'child_process';import{access as _0x23bd57}from'fs/promises';import _0x5d8c92 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x2ca407 from'os';import _0x33d79b from'path';import _0x35c0e1 from'which';var installPromises=new Map();function sanitizePackageName(_0x4e52f4){const _0x182b06={_0x4a3293:0x9c,_0x4f8b50:0x58,_0x495a74:0x65},_0x197132={_0x25c1e7:0x1c9,_0x36fa54:0x260,_0x93ba1:0x93},_0x1f6b3f={_0xa13e75:0x143,_0x516414:0x5c5};function _0x1b2230(_0x21bdb7,_0x320b3e,_0x44cf21,_0x324481){return _0x4d40c0(_0x21bdb7-_0x1f6b3f._0xa13e75,_0x320b3e-_0x1f6b3f._0x516414,_0x44cf21-0x98,_0x21bdb7);}function _0x18500e(_0x12953a,_0x42f4ad,_0x17da6c,_0x4907c1){return _0x4d40c0(_0x12953a-_0x197132._0x25c1e7,_0x12953a-_0x197132._0x36fa54,_0x17da6c-_0x197132._0x93ba1,_0x17da6c);}return _0x4e52f4[_0x18500e(0x43,-0xc3,_0x182b06._0x4a3293,0x88)](/^@/,'')[_0x18500e(0x43,-_0x182b06._0x4f8b50,_0x182b06._0x495a74,-0x49)](/[/]/g,'__');}function _0x4d40c0(_0x5a2ff7,_0x6146e9,_0x262359,_0x5d9552){const _0x52d604={_0x595cdf:0x349};return _0x3eab(_0x6146e9- -_0x52d604._0x595cdf,_0x5d9552);}function binaryNameForPlatform(_0x533c5c){const _0x5e2a01={_0x2799bd:0xca,_0xd7783b:0x4e,_0x36eb23:0x128,_0x3d548c:0x1d6},_0x344f9={_0x14fe6d:0xd1,_0x5c71d2:0x34a,_0xadb129:0x16f},_0x348974={_0x46586a:0x27,_0x46cbfe:0xc7,_0x59e5e6:0x68};function _0x4c9579(_0x4f45c3,_0x6221c0,_0x4d2eef,_0x2e805e){return _0xf90728(_0x4f45c3,_0x6221c0-_0x348974._0x46586a,_0x2e805e-_0x348974._0x46cbfe,_0x2e805e-_0x348974._0x59e5e6);}function _0xe66f89(_0x3f931a,_0x1d44e3,_0x18d05f,_0x1233aa){return _0x4d40c0(_0x3f931a-_0x344f9._0x14fe6d,_0x1d44e3-_0x344f9._0x5c71d2,_0x18d05f-_0x344f9._0xadb129,_0x18d05f);}return process[_0x4c9579(-0x154,-_0x5e2a01._0x2799bd,0x31,-_0x5e2a01._0xd7783b)]===_0xe66f89(_0x5e2a01._0x36eb23,0x1af,0x67,_0x5e2a01._0x3d548c)?_0x533c5c+'.cmd':_0x533c5c;}async function exists(_0x330a4b){try{return await access(_0x330a4b),!![];}catch{return![];}}function runNpmInstall(_0x1de90b,_0x2f6a1b,_0x21d34a){const _0x36d860={_0x2f0d35:0x78,_0x70e63:0x175,_0x30a246:0x1df,_0x36a56b:0x85,_0x562187:0x172,_0x3a0d01:0x1db,_0x2f1850:0x3f},_0x5183bc={_0x4570f4:0x121};return new Promise(_0x534ca5=>{function _0x12fdfe(_0x3fb477,_0x2edca5,_0x485163,_0xa8d745){return _0x3eab(_0x3fb477- -_0x5183bc._0x4570f4,_0xa8d745);}const _0x7854ac=spawn(_0x3862e8(-0xc4,_0x36d860._0x2f0d35,0x63,_0x36d860._0x70e63),['install',_0x3862e8(_0x36d860._0x30a246,-0x4d,_0x36d860._0x36a56b,_0x36d860._0x562187),_0x1de90b,_0x2f6a1b],{'env':_0x21d34a,'stdio':'ignore'});_0x7854ac['on'](_0x3862e8(0x21b,0x140,0x178,_0x36d860._0x3a0d01),()=>_0x534ca5(![]));function _0x3862e8(_0x1065ed,_0x24fecf,_0x1d6867,_0x5dcff8){return _0x3eab(_0x1d6867- -0xbb,_0x24fecf);}_0x7854ac['on'](_0x12fdfe(_0x36d860._0x2f1850,0x17a,-0x3e,-0x138),_0x289fe3=>_0x534ca5(_0x289fe3===0x0));});}function shouldDisableLspDownload(_0x19739c=process[_0xf90728(0x1f5,-0x36,0x105,0x276)]){const _0x584fb1={_0x2b07a8:0x241,_0x350e7e:0x256};function _0x935bbc(_0x5cee31,_0x17e83b,_0x53eb85,_0x13f80d){return _0xf90728(_0x13f80d,_0x17e83b-0x1b0,_0x53eb85- -0xeb,_0x13f80d-0xb5);}const _0x4ed261=_0x19739c[_0x935bbc(-0x1a5,-0x163,-_0x584fb1._0x2b07a8,-_0x584fb1._0x350e7e)]?.['toLowerCase']();return _0x4ed261==='true'||_0x4ed261==='1'||_0x4ed261==='yes'||_0x4ed261==='on';}function getLspPackageDir(_0xd344a0){const _0x2eba2f={_0x340c73:0x1d,_0x4d53ff:0x12f,_0x17c358:0x0,_0x1cb891:0xfb,_0x5b5994:0x11c,_0x2ed0a1:0x124},_0x38d1a3={_0x246e01:0x1e4,_0xf197a1:0x49},_0x5d6d95={_0x40884c:0x8,_0x240dd0:0xd1};function _0xf6912d(_0x3be74f,_0x3c58c1,_0x163809,_0x4bedac){return _0x4d40c0(_0x3be74f-0x55,_0x3be74f- -_0x5d6d95._0x40884c,_0x163809-_0x5d6d95._0x240dd0,_0x163809);}function _0x5857d4(_0x4ee086,_0x23780,_0x3fbe99,_0x334e40){return _0x4d40c0(_0x4ee086-0x87,_0x23780-_0x38d1a3._0x246e01,_0x3fbe99-_0x38d1a3._0xf197a1,_0x3fbe99);}return _0x33d79b[_0xf6912d(_0x2eba2f._0x340c73,-0x53,-_0x2eba2f._0x4d53ff,-0xf0)](_0x2ca407['homedir'](),_0xf6912d(_0x2eba2f._0x17c358,-0x113,-_0x2eba2f._0x1cb891,0xbf),_0x5857d4(_0x2eba2f._0x5b5994,0x216,0x25f,0x155),_0xf6912d(-0x1c3,-0x8b,-0x234,-_0x2eba2f._0x2ed0a1),sanitizePackageName(_0xd344a0));}function getLspBinDir(_0x1defc1){const _0x3f3b85={_0x4c2e53:0x1,_0x1eee34:0xb4,_0x3f9369:0x9d},_0x409828={_0x541a8a:0x78,_0x201958:0x152};function _0x29e1bc(_0x1a3081,_0x92f778,_0x4a5f11,_0x248054){return _0x4d40c0(_0x1a3081-0x88,_0x4a5f11-_0x409828._0x541a8a,_0x4a5f11-_0x409828._0x201958,_0x92f778);}return _0x33d79b[_0x29e1bc(-_0x3f3b85._0x4c2e53,-_0x3f3b85._0x1eee34,_0x3f3b85._0x3f9369,-0x43)](getLspPackageDir(_0x1defc1),'node_modules','.bin');}async function findPackageBinary(_0x3e9346,_0x4d67b7){const _0x50585f={_0x17f974:0x7ce,_0x5e9479:0x2b3},_0x172ad0={_0x21c676:0x1e5};function _0x448519(_0x4dcfc7,_0x468d90,_0x16de63,_0x26dc35){return _0xf90728(_0x16de63,_0x468d90-0x1a9,_0x4dcfc7-0x215,_0x26dc35-0x1cb);}function _0x557362(_0x41ef5b,_0x4cbb55,_0x248b50,_0x1d2e61){return _0x4d40c0(_0x41ef5b-0xde,_0x4cbb55-0x661,_0x248b50-_0x172ad0._0x21c676,_0x1d2e61);}let _0x4de311=_0x33d79b['resolve'](_0x4d67b7);const _0x928be4=binaryNameForPlatform(_0x3e9346);while(!![]){const _0x59378c=_0x33d79b[_0x557362(_0x50585f._0x17f974,0x686,0x6b8,0x527)](_0x4de311,'node_modules',_0x448519(0x25a,0x3af,_0x50585f._0x5e9479,0x379),_0x928be4);if(await exists(_0x59378c))return _0x59378c;const _0x1694b3=_0x33d79b['dirname'](_0x4de311);if(_0x1694b3===_0x4de311)return void 0x0;_0x4de311=_0x1694b3;}}async function findPathBinary(_0x2eeeeb,_0x331b2a){const _0x36d123={_0x7d77bb:0x526,_0x34dd9b:0x610},_0x39887d={_0x17335a:0x3b},_0xccef8d=getLspBinDir(_0x331b2a);function _0x1f8baa(_0xb3d48c,_0x31d144,_0x450530,_0x1bdfc6){return _0x4d40c0(_0xb3d48c-_0x39887d._0x17335a,_0x31d144-0x501,_0x450530-0x173,_0x450530);}const _0x396f59=[_0xccef8d,process['env']['PATH']]['filter'](Boolean)[_0x1f8baa(0x44f,_0x36d123._0x7d77bb,_0x36d123._0x34dd9b,0x571)](_0x33d79b['delimiter']);try{return await _0x35c0e1(_0x2eeeeb,{'path':_0x396f59});}catch{return void 0x0;}}async function resolvePackageBinary(_0x23f42a){const _0x1054d3={_0xb1d5e1:0x3ea,_0x2f2edd:0x338,_0x4f8484:0x37a,_0x5b35c1:0x2f9,_0x361261:0x33d,_0x596a30:0x474,_0x32139d:0x2d1,_0x13d9df:0x3de,_0x46f0d6:0x4ca,_0xecbd1b:0x4cf,_0x2bc9fa:0x1d,_0x2c5568:0xb6,_0x5c5049:0xf3,_0x499148:0x1ce,_0x96d540:0x100},_0x534162={_0x519ed2:0x390,_0x1d66af:0x73,_0x85b563:0xe4,_0x5a4f58:0xfc,_0x1581b3:0x280,_0x3a2e31:0x2f9,_0x6ba999:0x1a1},_0x121039={_0x78f4a8:0x1cf,_0x380c81:0x59d,_0x394f08:0x111},_0x282a46={_0x5bb47e:0x93,_0x3885c7:0x21},_0x2d17c8={_0x66abec:0x32e},_0x5c221e=_0x23f42a[_0x4403d0(0x502,_0x1054d3._0xb1d5e1,_0x1054d3._0x2f2edd,0x440)]??_0x23f42a[_0x4403d0(0x28d,_0x1054d3._0x4f8484,_0x1054d3._0x5b35c1,0x28a)],_0x479324=await findPackageBinary(_0x5c221e,_0x23f42a[_0x4403d0(0x32a,0x484,_0x1054d3._0x361261,_0x1054d3._0x596a30)]);if(_0x479324)return _0x479324;const _0x5a242f=await findPathBinary(_0x5c221e,_0x23f42a[_0x4403d0(0x395,0x27a,_0x1054d3._0x32139d,0x28a)]);if(_0x5a242f)return _0x5a242f;const _0x41d33e=_0x23f42a[_0x4403d0(_0x1054d3._0x13d9df,_0x1054d3._0x46f0d6,_0x1054d3._0xecbd1b,0x433)]??process[_0x1ab9bc(-_0x1054d3._0x2bc9fa,-0xb8,_0x1054d3._0x2c5568,0xeb)];if(shouldDisableLspDownload(_0x41d33e))return void 0x0;const _0x3574a3=getLspPackageDir(_0x23f42a['packageName']);function _0x4403d0(_0x51fc59,_0x30e030,_0x36ee3f,_0xc514d4){return _0xf90728(_0x51fc59,_0x30e030-0xa1,_0xc514d4-_0x2d17c8._0x66abec,_0xc514d4-0xb1);}const _0x5e3905=_0x23f42a[_0x1ab9bc(-0x75,0x81,-_0x1054d3._0x5c5049,-0x8a)]+':'+_0x5c221e;function _0x1ab9bc(_0x4f4c51,_0x3dea1e,_0x33155a,_0x51015e){return _0xf90728(_0x4f4c51,_0x3dea1e-_0x282a46._0x5bb47e,_0x33155a- -0x4f,_0x51015e-_0x282a46._0x3885c7);}let _0x5296d5=installPromises[_0x4403d0(0x269,0x2c1,0x2af,0x3c9)](_0x5e3905);!_0x5296d5&&(_0x5296d5=((async()=>{const _0x434bd0={_0x46b3ac:0x1a5,_0x19489d:0xae,_0x4d78de:0x1e2};function _0x5bba2a(_0x173591,_0x5cf1d2,_0x37ff92,_0x541102){return _0x1ab9bc(_0x173591,_0x5cf1d2-_0x434bd0._0x46b3ac,_0x541102- -_0x434bd0._0x19489d,_0x541102-_0x434bd0._0x4d78de);}await mkdir(_0x3574a3,{'recursive':!![]});function _0x2a2ebb(_0x3ee3ae,_0xa0b2a,_0x3a0044,_0xcff998){return _0x1ab9bc(_0x3a0044,_0xa0b2a-_0x121039._0x78f4a8,_0xcff998-_0x121039._0x380c81,_0xcff998-_0x121039._0x394f08);}const _0x48cef9=await runNpmInstall(_0x3574a3,_0x23f42a[_0x2a2ebb(0x334,0x402,_0x534162._0x519ed2,0x4aa)],_0x41d33e);if(!_0x48cef9)return void 0x0;const _0xb93d0d=_0x33d79b[_0x5bba2a(-_0x534162._0x1d66af,_0x534162._0x85b563,-_0x534162._0x5a4f58,0x6e)](getLspBinDir(_0x23f42a[_0x5bba2a(-_0x534162._0x1581b3,-_0x534162._0x3a2e31,-0xe6,-_0x534162._0x6ba999)]),binaryNameForPlatform(_0x5c221e));return await exists(_0xb93d0d)?_0xb93d0d:void 0x0;})()),installPromises['set'](_0x5e3905,_0x5296d5));try{return await _0x5296d5;}catch{return void 0x0;}finally{installPromises[_0x1ab9bc(-_0x1054d3._0x499148,-0x235,-0x1aa,-_0x1054d3._0x96d540)](_0x5e3905);}}var TYPESCRIPT_EXTENSIONS=[_0x4d40c0(-0x18e,-0x25a,-0x172,-0x128),'.tsx',_0xf90728(-0x1b7,-0x7,-0x100,0x1e),_0xf90728(0x34,-0xef,-0x1a,-0x102),'.mjs',_0x4d40c0(-0x77,-0x99,-0x11,-0x18b),_0xf90728(0xe,-0xc1,-0x46,-0x1ab),_0x4d40c0(-0x3d6,-0x27d,-0x335,-0x20f)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0xf90728(-0x1fb,-0x1ef,-0xe2,-0x223)],TYPESCRIPT_ROOT_MARKERS=[_0xf90728(-0x1ec,-0x47,-0xca,-0x204),'bun.lockb',_0x4d40c0(-0x2f5,-0x239,-0x10c,-0x290),_0x4d40c0(-0x93,-0x167,-0x49,-0x12b),'yarn.lock','tsconfig.json',_0xf90728(-0x8,0xf2,0x8c,0x1e0),_0x4d40c0(-0x297,-0x12e,-0x199,-0x194)],BIOME_ROOT_MARKERS=[_0x4d40c0(-0x32f,-0x206,-0x2a3,-0x111),_0x4d40c0(-0x95,-0x1a7,-0x62,-0x2d5),_0xf90728(-0x146,-0xbb,-0xca,-0xb),_0x4d40c0(-0x27e,-0x14a,-0x175,-0x1c4),_0xf90728(-0x145,-0x3b,-0xf3,-0x209),_0xf90728(-0x61,-0x4a,-0x21,-0xf2),'yarn.lock',_0xf90728(-0x15e,0x162,0x18,0xd5)];async function exists2(_0xf701a0){try{return await _0x23bd57(_0xf701a0),!![];}catch{return![];}}async function findUp(_0x3ae31a,_0x11d230){const _0x42ab3f={_0x227249:0x38,_0x57ce47:0x14e,_0x321a0d:0x32b,_0x4df570:0xce,_0x33b0c7:0x193,_0x3e7643:0x389},_0x463725={_0x1eb741:0x1ec},_0x4f190e={_0x196cfd:0x1af,_0x16cbd4:0x9,_0x4cb9f4:0x55};let _0x5aad60=_0x5d8c92['resolve'](_0x3ae31a);const _0x49d0af=_0x5d8c92[_0x1ff9a2(_0x42ab3f._0x227249,-_0x42ab3f._0x57ce47,-0x11c,-0x180)](_0x5aad60);function _0x1ff9a2(_0x2d8b60,_0x4442a9,_0x38c046,_0x3a8b1b){return _0xf90728(_0x2d8b60,_0x4442a9-_0x4f190e._0x196cfd,_0x38c046- -_0x4f190e._0x16cbd4,_0x3a8b1b-_0x4f190e._0x4cb9f4);}if(_0x49d0af)_0x5aad60=_0x5d8c92[_0x360b43(0x212,_0x42ab3f._0x321a0d,_0x42ab3f._0x4df570,0x33c)](_0x5aad60);function _0x360b43(_0x193439,_0x4b4c41,_0x4d5a01,_0x298c81){return _0xf90728(_0x4d5a01,_0x4b4c41-0xac,_0x193439-0xb3,_0x298c81-_0x463725._0x1eb741);}while(!![]){for(const _0x4159a0 of _0x11d230){if(await exists2(_0x5d8c92[_0x1ff9a2(0xb6,0x1dd,0x162,0x123)](_0x5aad60,_0x4159a0)))return _0x5aad60;}const _0x556b46=_0x5d8c92[_0x360b43(0x212,_0x42ab3f._0x33b0c7,0x12d,_0x42ab3f._0x3e7643)](_0x5aad60);if(_0x556b46===_0x5aad60)return void 0x0;_0x5aad60=_0x556b46;}}async function hasDenoRoot(_0x1606b7){const _0x338745={_0x1797cc:0x6e4,_0x4849fb:0x708,_0xf3a7e8:0x3d3},_0x1c9fd6={_0x4095bd:0x1a6,_0x10c70d:0x29f},_0x5ae2cf={_0x145624:0x6e3,_0x42d5f0:0x1bf};function _0xac0f30(_0x691a70,_0x374c04,_0x15deae,_0x3c9e66){return _0x4d40c0(_0x691a70-0x1a9,_0x3c9e66-_0x5ae2cf._0x145624,_0x15deae-_0x5ae2cf._0x42d5f0,_0x374c04);}function _0x37a097(_0x512252,_0x3a77be,_0x58f964,_0x1411fc){return _0xf90728(_0x512252,_0x3a77be-_0x1c9fd6._0x4095bd,_0x1411fc-_0x1c9fd6._0x10c70d,_0x1411fc-0xc4);}return await exists2(_0x5d8c92[_0xac0f30(0x762,0x61a,_0x338745._0x1797cc,_0x338745._0x4849fb)](_0x1606b7,'deno.json'))||await exists2(_0x5d8c92[_0x37a097(0x3f2,0x3ce,_0x338745._0xf3a7e8,0x40a)](_0x1606b7,'deno.jsonc'));}async function resolveTsserverPath(_0x589d45){const _0x3e0942={_0x30c236:0x1e1,_0x23e086:0x193,_0x5d38ae:0x126,_0x12892c:0x36b,_0x37c854:0x4af,_0x22fae5:0x296,_0x488e04:0x36c,_0x3da792:0x2c0,_0x2380fa:0x34f,_0x2fd651:0x4aa,_0x44072a:0x107,_0x3fc099:0x3a1,_0x51c243:0x380,_0x5d5da9:0x201,_0x58a3c2:0x234,_0x38023:0x23b,_0x4ff5bd:0x1ec,_0x1d6064:0x273,_0xd84a9c:0x298,_0x3c6094:0x1fa,_0x241c5e:0x1bf,_0x3e41a9:0x29d,_0xe48f0c:0x262,_0x4e58bd:0x10c,_0x42babb:0x1aa,_0x19da20:0x4a},_0x203a76={_0x3fe7dc:0x369},_0x6e3c44={_0x292b02:0xf3,_0x4ae5c4:0x346};function _0x16d32d(_0x6a6c5b,_0x146bcb,_0x476898,_0x4a83b9){return _0x4d40c0(_0x6a6c5b-_0x6e3c44._0x292b02,_0x6a6c5b-_0x6e3c44._0x4ae5c4,_0x476898-0x47,_0x146bcb);}let _0x2920b2=_0x5d8c92[_0x153e9d(_0x3e0942._0x30c236,_0x3e0942._0x23e086,_0x3e0942._0x5d38ae,0x4b)](_0x589d45);while(!![]){const _0x5992f6=_0x5d8c92[_0x16d32d(_0x3e0942._0x12892c,0x2e4,_0x3e0942._0x37c854,0x4cb)](_0x2920b2,'node_modules',_0x153e9d(0x3f0,_0x3e0942._0x22fae5,0x239,0x1b0),_0x153e9d(_0x3e0942._0x488e04,_0x3e0942._0x3da792,_0x3e0942._0x2380fa,0x384),'tsserver.js');if(await exists2(_0x5992f6))return _0x5992f6;const _0x43302e=_0x5d8c92[_0x153e9d(0x311,0x382,0x43c,_0x3e0942._0x2fd651)](_0x2920b2);if(_0x43302e===_0x2920b2)break;_0x2920b2=_0x43302e;}const _0x173fc2=getLspPackageDir(_0x16d32d(0x273,_0x3e0942._0x44072a,_0x3e0942._0x3fc099,0x332)),_0x5bec5c=await resolvePackageBinary({'packageName':_0x153e9d(_0x3e0942._0x51c243,0x296,_0x3e0942._0x5d5da9,_0x3e0942._0x58a3c2),'binaryName':_0x16d32d(0x2c8,0x1f8,0x16c,0x35d),'startDir':_0x589d45});function _0x153e9d(_0x16abe0,_0x11b496,_0x1a71ee,_0xc67d11){return _0x4d40c0(_0x16abe0-0x179,_0x11b496-_0x203a76._0x3fe7dc,_0x1a71ee-0x1b7,_0x1a71ee);}if(!_0x5bec5c)return void 0x0;const _0x8415ee=_0x5d8c92[_0x16d32d(0x36b,0x39b,0x4c6,_0x3e0942._0x38023)](_0x173fc2,_0x153e9d(0x189,0x2b5,0x2e9,_0x3e0942._0x4ff5bd),_0x16d32d(_0x3e0942._0x1d6064,_0x3e0942._0xd84a9c,_0x3e0942._0x3c6094,_0x3e0942._0x241c5e),_0x16d32d(_0x3e0942._0x3e41a9,0x228,0x138,_0x3e0942._0xe48f0c),_0x16d32d(_0x3e0942._0x4e58bd,_0x3e0942._0x42babb,-_0x3e0942._0x19da20,0x9));return await exists2(_0x8415ee)?_0x8415ee:void 0x0;}var TypeScriptServer={'id':_0x4d40c0(0x92,-0xd3,-0x127,-0x75),'name':_0xf90728(-0x1aa,0x15,-0x120,-0x264),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x50b856){const _0x164e63=await findUp(_0x50b856,TYPESCRIPT_ROOT_MARKERS);if(!_0x164e63)return void 0x0;return await hasDenoRoot(_0x164e63)?void 0x0:_0x164e63;},async 'spawn'(_0x5033e7){const _0x141f47={_0x83dabf:0xfa,_0x5a9fcb:0x12,_0x15ed0d:0x179,_0x1bf9fc:0x196,_0x19c9ff:0xc7},_0x3e5cb3={_0x1acdc1:0xf7,_0x2689ac:0x158,_0x5e6b76:0x1b8},_0x2e51c4={_0x2ee567:0x1ae},_0x333156=await resolveTsserverPath(_0x5033e7);function _0x3f037b(_0x2b4f49,_0x1d5af0,_0x12cd62,_0x39f2d4){return _0x4d40c0(_0x2b4f49-0x14c,_0x12cd62-0x1d6,_0x12cd62-_0x2e51c4._0x2ee567,_0x39f2d4);}if(!_0x333156)return void 0x0;function _0x23976a(_0x9bb647,_0x3c978f,_0x59f6cc,_0x41e9c6){return _0xf90728(_0x9bb647,_0x3c978f-_0x3e5cb3._0x1acdc1,_0x3c978f- -_0x3e5cb3._0x2689ac,_0x41e9c6-_0x3e5cb3._0x5e6b76);}const _0x123863=await resolvePackageBinary({'packageName':'typescript-language-server','binaryName':'typescript-language-server','startDir':_0x5033e7});if(!_0x123863)return void 0x0;return{'process':_0x5667c4(_0x123863,[_0x23976a(-0x22,-_0x141f47._0x83dabf,-_0x141f47._0x5a9fcb,0x3f)],{'cwd':_0x5033e7,'stdio':_0x23976a(-_0x141f47._0x15ed0d,-_0x141f47._0x1bf9fc,-0x206,-_0x141f47._0x19c9ff)}),'initialization':{'tsserver':{'path':_0x333156}}};}},BiomeServer={'id':_0x4d40c0(-0xd1,-0x176,-0x7c,-0x1ec),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x12ba71){return findUp(_0x12ba71,BIOME_ROOT_MARKERS);},async 'spawn'(_0x3b6e2c){const _0xfd9f91={_0x583e70:0x1ce,_0x190f6c:0x94,_0x20c503:0x1f4,_0x9f6c18:0x130,_0x1a0be8:0x5e,_0x16c9a0:0x258,_0x9687:0x219,_0x3727e8:0x1f2,_0x46bcd6:0x3c1,_0x7c2157:0x10c,_0x1be6a3:0x1c0,_0x388ccc:0x1f6,_0x5eef9e:0x6d},_0x63b92c={_0x1b9ad9:0x1fe,_0x55372b:0x63},_0x526538={_0x3b8595:0xfc};function _0x5574e3(_0x4c0e35,_0x3fd528,_0x5740f7,_0x360425){return _0x4d40c0(_0x4c0e35-0x57,_0x360425-_0x526538._0x3b8595,_0x5740f7-0x65,_0x5740f7);}function _0x5a8482(_0x1c3559,_0x219e30,_0x42ed1f,_0x43cc98){return _0xf90728(_0x43cc98,_0x219e30-0x164,_0x1c3559-_0x63b92c._0x1b9ad9,_0x43cc98-_0x63b92c._0x55372b);}const _0x206d85=await findPackageBinary(_0x5a8482(_0xfd9f91._0x583e70,0x199,_0xfd9f91._0x190f6c,_0xfd9f91._0x20c503),_0x3b6e2c)??await resolvePackageBinary({'packageName':_0x5574e3(_0xfd9f91._0x9f6c18,0x69,_0xfd9f91._0x1a0be8,0x2d),'binaryName':_0x5a8482(_0xfd9f91._0x583e70,0x1f0,_0xfd9f91._0x16c9a0,0x1c0),'startDir':_0x3b6e2c});if(!_0x206d85)return void 0x0;return{'process':_0x5667c4(_0x206d85,[_0x5574e3(-0x139,-_0xfd9f91._0x9687,-_0xfd9f91._0x3727e8,-0x140),_0x5a8482(0x25c,0x146,_0xfd9f91._0x46bcd6,_0xfd9f91._0x7c2157)],{'cwd':_0x3b6e2c,'stdio':_0x5a8482(_0xfd9f91._0x1be6a3,_0xfd9f91._0x388ccc,0x165,_0xfd9f91._0x5eef9e)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x14da2c){const _0x40d503={_0x1b4678:0x259,_0x34b4ef:0x10b,_0x5b0394:0x231,_0x303838:0x85,_0x129b59:0x121},_0x428359={_0x4156fa:0x1a3,_0x32ddb6:0xd9},_0x467688={_0x4a0b31:0x182};function _0x5ae1ad(_0x14f44e,_0x1763b5,_0x45745a,_0x43af1f){return _0x4d40c0(_0x14f44e-0x9f,_0x43af1f-0xe5,_0x45745a-_0x467688._0x4a0b31,_0x45745a);}const _0x198338=_0x5d8c92[_0x1f2c5d(_0x40d503._0x1b4678,_0x40d503._0x34b4ef,0x148,_0x40d503._0x5b0394)](_0x14da2c)[_0x1f2c5d(0x1da,0x215,0x16b,_0x40d503._0x303838)]();function _0x1f2c5d(_0x2afa68,_0x48bc32,_0x36a251,_0x3c9a72){return _0x4d40c0(_0x2afa68-_0x428359._0x4156fa,_0x36a251-0x3a1,_0x36a251-_0x428359._0x32ddb6,_0x3c9a72);}return BUILTIN_LSP_SERVERS[_0x5ae1ad(-_0x40d503._0x129b59,0x10a,-0x1da,-0x69)](_0x23247d=>_0x23247d[_0x1f2c5d(0xc5,0x1a1,0x1e0,0x252)][_0x1f2c5d(0x1a0,0x13d,0x169,0xa)](_0x198338));}function stateKey(_0x58ab57,_0xa56b1f){return _0xa56b1f+':'+_0x58ab57['id'];}function diagnosticsKeyToPath(_0xd298f7){const _0x24bd95={_0x220ca0:0x13b,_0x17709f:0x1c9,_0x420099:0x67d},_0x2a4e93={_0x2d2775:0x72,_0x46474a:0x2fe},_0x12e411={_0x5f1c8b:0x72f};if(!_0xd298f7[_0x5c2049(0x294,_0x24bd95._0x220ca0,0x99,_0x24bd95._0x17709f)](_0x1ff0c0(0x5ea,0x6b3,_0x24bd95._0x420099,0x817)))return _0xd298f7;function _0x1ff0c0(_0x19cd08,_0x516488,_0x35de1e,_0x387b27){return _0x4d40c0(_0x19cd08-0x9c,_0x516488-_0x12e411._0x5f1c8b,_0x35de1e-0x1c7,_0x387b27);}function _0x5c2049(_0x59dd55,_0x46dc66,_0x4c8030,_0x1d9457){return _0xf90728(_0x59dd55,_0x46dc66-_0x2a4e93._0x2d2775,_0x1d9457-_0x2a4e93._0x46474a,_0x1d9457-0x3b);}return fileURLToPath(_0xd298f7);}function nextFileVersion(_0x5c36e8,_0x14ce7f){const _0x52cc15={_0x14f60b:0x5bb,_0x53d2d9:0x556,_0x1c06d7:0x5a8,_0x5eaedf:0x588,_0xef395a:0x4e5,_0x450c9b:0x480,_0x6e6623:0x4dd,_0x149031:0x627,_0x324cc9:0x388,_0x2d601d:0x61a},_0x1c062c={_0x3b8a96:0x93,_0x17dc86:0x60d},_0x4ff4c5={_0x5a1484:0xa1};function _0x4f263c(_0x4d4913,_0x11cd61,_0x4f43b3,_0x7df489){return _0xf90728(_0x4f43b3,_0x11cd61-0x16,_0x4d4913-0x3e9,_0x7df489-_0x4ff4c5._0x5a1484);}const _0x15d005=(_0x5c36e8[_0x2b9039(_0x52cc15._0x14f60b,_0x52cc15._0x53d2d9,_0x52cc15._0x1c06d7,_0x52cc15._0x5eaedf)][_0x2b9039(0x562,_0x52cc15._0xef395a,_0x52cc15._0x450c9b,0x624)](_0x14ce7f)??0x1)+0x1;function _0x2b9039(_0x376c2d,_0x398367,_0xc64685,_0x506f9b){return _0x4d40c0(_0x376c2d-_0x1c062c._0x3b8a96,_0x376c2d-_0x1c062c._0x17dc86,_0xc64685-0x157,_0x506f9b);}return _0x5c36e8[_0x4f263c(_0x52cc15._0x6e6623,_0x52cc15._0x149031,0x3f2,_0x52cc15._0x324cc9)][_0x2b9039(_0x52cc15._0x2d601d,0x5c9,0x4a5,0x5e7)](_0x14ce7f,_0x15d005),_0x15d005;}async function collectClientResults(_0xc2b74a){const _0x4f1425={_0xaa7ca4:0x1a7,_0x411c70:0x2c4},_0x6f7356={_0x33ac3f:0x1d5},_0x25dc6e={_0xbb0054:0x492};function _0x85d262(_0x79bba1,_0x263bfa,_0x11d9e2,_0x479f83){return _0x4d40c0(_0x79bba1-0x82,_0x263bfa-_0x25dc6e._0xbb0054,_0x11d9e2-0x164,_0x479f83);}function _0x27416b(_0x2b22a1,_0x529250,_0x2cb0d8,_0x28ef9c){return _0x4d40c0(_0x2b22a1-0x70,_0x529250-0x3b5,_0x2cb0d8-_0x6f7356._0x33ac3f,_0x28ef9c);}const _0xc1c1a1=await Promise[_0x85d262(_0x4f1425._0xaa7ca4,_0x4f1425._0x411c70,0x334,0x21b)](_0xc2b74a);return _0xc1c1a1['flatMap'](_0x26cd25=>_0x26cd25[_0x85d262(0x400,0x36a,0x432,0x4c0)]===_0x85d262(0x4ab,0x40d,0x3ee,0x42c)?_0x26cd25[_0x27416b(0x210,0x1ba,0x98,0x11a)]:[]);}function createLspService(_0x2e182c={}){const _0x3d0bc8={_0x452217:0x47c,_0x197a8b:0x645,_0x2c3ed8:0x521},_0x4755c4={_0x42f2d7:0x298},_0x371ee0={_0x1c299e:0x1c,_0x357b40:0x77,_0x1871d1:0xa,_0x18bb7e:0x64,_0x270fd8:0xbb,_0x3aa861:0x2c,_0x480158:0x19e,_0x557107:0x127,_0x156747:0xc6,_0x1c6d01:0x1cb,_0x3ea4cd:0x14,_0x56c807:0x7a,_0x65452c:0xee},_0x566321={_0x51c1d0:0x4db,_0x2e64ea:0x3d8},_0x51424c={_0x55dc40:0x217,_0x3d60b1:0x30c},_0x13192d={_0x419b20:0x1da},_0x5d4f7d={_0x2fb87d:0x284},_0x15cebd={_0x5a2102:0x386},_0x568af1={_0x17a9f4:0x5c},_0x3ee293={_0x34f0b3:0x2d0,_0x57fc60:0x42d,_0x4e65e6:0x1ef},_0x2f5a2b={_0x3d95f5:0x85},_0x4911de={_0x143d0e:0x38a,_0x373bda:0x17a,_0x4a13d1:0x28,_0x587af9:0x10a,_0x1db7ec:0x136,_0x4063ca:0x216,_0x261c6d:0x275},_0x3b5d89={_0xc5e79d:0x101},_0x11115e={_0x3dc198:0x570},_0x27ba26={_0x36c559:0x393},_0x54b830={_0x393c22:0x20e},_0xf93762={_0x2e0ee4:0x6cd},_0x416dc3={_0x5d99b0:0x31c},_0x3503d8={_0x1e1c6c:0x478,_0x197678:0x4ca,_0x174d50:0x4cb,_0x465899:0x3eb,_0x527034:0x538},_0xe18843={_0x41e09e:0x19f,_0x25b3f5:0x1da,_0x3f9ef3:0x31a,_0x2be498:0x280,_0x376784:0x1ee},_0x5e9723={_0x5c8bac:0xf4,_0x1abb3d:0x66,_0x51bd7e:0x23},_0x25b97c={_0x166f8c:0x267,_0x45e983:0x386,_0x3c988d:0x134,_0x44b827:0x4ba,_0x8a8b9c:0x423,_0x3ab524:0x61e,_0x246a6e:0x5a7,_0x288f59:0x63c,_0x9b7c4e:0x591,_0x2726a9:0x640,_0x3a1a0f:0x63b,_0x5a265f:0x725,_0x146381:0x36,_0x1dfa17:0x1a8,_0x510ece:0x5ad,_0x34f6fd:0x4f2,_0x1a74f4:0x43a,_0x4d73c7:0x3c7},_0x4d5af9={_0x315c8b:0x5ab,_0x3994b1:0x574,_0x5b6b46:0x7d,_0x39ba77:0x53,_0x1b2075:0x1c5,_0x5ae8f3:0xa6,_0x35d80d:0xe6,_0x5210fa:0x8a,_0x3614ef:0x202,_0x24987a:0x16f,_0x2f2a04:0x15},_0x542848={_0x167029:0x1c3,_0x2b33ab:0x2b3,_0x3a479d:0x259,_0x14b863:0x73,_0x2c9d35:0x107,_0x2a308b:0x8d,_0x5d28d6:0x6f,_0x43e1ff:0x1e6,_0x214fd6:0x33},_0x5bf30a={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x32d049=()=>_0x2e182c['enabled']!==![];async function _0x2ac679(_0x41e406,_0x3587e5){const _0x4100f1={_0x2ea157:0x1c,_0xaf9464:0x39,_0x42c06a:0x68,_0xf10486:0x1a9,_0x14c8d5:0x1e,_0xc6a545:0x184,_0x42f321:0xe8,_0x3e4dbb:0xc4,_0x2d3d21:0xe,_0x9cafba:0x128,_0x2c223a:0xfa,_0x5f179f:0x1c4},_0x4bd8a0={_0x18f612:0x87},_0x1dba5e={_0x4132ed:0x3d7},_0x26c7af=stateKey(_0x41e406,_0x3587e5);function _0x393a6a(_0x55652e,_0x516f34,_0x40eba8,_0x3bb801){return _0x3eab(_0x40eba8- -0x21d,_0x55652e);}const _0xf4dad4=_0x5bf30a['clients'][_0x428208(-0x309,-0x1fb,-0x232,-_0x542848._0x167029)](_0x34723b=>_0x34723b[_0x393a6a(0x9b,-0x11e,0x54,0x13f)]===_0x41e406['id']&&_0x34723b[_0x428208(-0x335,-0x183,-0x282,-0x231)]===_0x3587e5);if(_0xf4dad4)return _0xf4dad4;if(_0x5bf30a[_0x393a6a(-_0x542848._0x2b33ab,-0x260,-0x164,-0x1d9)][_0x428208(-0x32a,-0x387,-0x1f5,-_0x542848._0x3a479d)](_0x26c7af))return void 0x0;const _0x3a178e=_0x5bf30a[_0x393a6a(-_0x542848._0x14b863,-_0x542848._0x2c9d35,-_0x542848._0x2a308b,-_0x542848._0x5d28d6)]['get'](_0x26c7af);function _0x428208(_0x37df87,_0x25fb7a,_0x49e2cb,_0x32560e){return _0x3eab(_0x32560e- -_0x1dba5e._0x4132ed,_0x49e2cb);}if(_0x3a178e)return _0x3a178e;const _0x46baec=((async()=>{const _0x4d853f={_0x76fa0b:0x182};function _0x1987bd(_0x336562,_0xd48957,_0x1606f0,_0x5432a5){return _0x393a6a(_0x336562,_0xd48957-_0x4d853f._0x76fa0b,_0x5432a5-0xa0,_0x5432a5-0x24);}function _0x508694(_0x539cbd,_0x504f27,_0x3bb59d,_0x2bab75){return _0x393a6a(_0x2bab75,_0x504f27-0xb5,_0x504f27-_0x4bd8a0._0x18f612,_0x2bab75-0x1a3);}try{const _0x3a3a5f=await _0x41e406['spawn'](_0x3587e5);if(!_0x3a3a5f)return _0x5bf30a[_0x508694(-_0x4100f1._0x2ea157,-0xdd,-_0x4100f1._0xaf9464,_0x4100f1._0x42c06a)][_0x508694(0x76,-0xf0,-_0x4100f1._0xf10486,0x69)](_0x26c7af),void 0x0;const _0x4ed00b=await createLspClient({'server':_0x41e406,'root':_0x3587e5,'handle':_0x3a3a5f}),_0x523c49=_0x5bf30a['clients']['find'](_0x273234=>_0x273234[_0x1987bd(0x1d5,0x208,0xb0,0xf4)]===_0x41e406['id']&&_0x273234[_0x508694(-0x10c,0x10,-0x65,-0x9d)]===_0x3587e5);if(_0x523c49)return await _0x4ed00b[_0x508694(-0x9a,_0x4100f1._0x14c8d5,-0x67,_0x4100f1._0xc6a545)](),_0x523c49;return _0x5bf30a['clients']['push'](_0x4ed00b),_0x4ed00b;}catch{return _0x5bf30a[_0x1987bd(-_0x4100f1._0x42f321,0x17,0x81,-_0x4100f1._0x3e4dbb)][_0x508694(_0x4100f1._0x2d3d21,-0xf0,-_0x4100f1._0x9cafba,-0x107)](_0x26c7af),void 0x0;}finally{_0x5bf30a[_0x1987bd(-0xb,_0x4100f1._0x2c223a,-0x155,0x13)][_0x508694(-0x1bc,-0xee,-0x215,-_0x4100f1._0x5f179f)](_0x26c7af);}})());return _0x5bf30a['spawning'][_0x428208(-_0x542848._0x43e1ff,_0x542848._0x214fd6,-0xcd,-0x81)](_0x26c7af,_0x46baec),_0x46baec;}async function _0x5a2a3b(_0x45ab8b,_0x226351){const _0x47c86b={_0x159aba:0x1fb};if(!_0x32d049())return[];const _0x3e4c01=[];function _0x2f19db(_0x586085,_0x1c84d1,_0x5c7de1,_0x13a2f7){return _0x3eab(_0x5c7de1-0x383,_0x586085);}function _0x5cb4a5(_0x484a8f,_0xffad4c,_0x31dc63,_0x254edf){return _0x3eab(_0xffad4c- -_0x47c86b._0x159aba,_0x254edf);}for(const _0x495602 of getServersForFile(_0x45ab8b)){const _0x267857=await _0x495602['root'](_0x45ab8b);if(!_0x267857)continue;const _0x14523c=stateKey(_0x495602,_0x267857);if(_0x5bf30a[_0x2f19db(0x4d4,_0x4d5af9._0x315c8b,0x43c,_0x4d5af9._0x3994b1)][_0x5cb4a5(-0x111,-_0x4d5af9._0x5b6b46,0xc2,_0x4d5af9._0x39ba77)](_0x14523c))continue;const _0xfecf68=_0x5bf30a[_0x5cb4a5(-0x84,0xd3,_0x4d5af9._0x1b2075,0x21e)][_0x5cb4a5(_0x4d5af9._0x5ae8f3,0x19,_0x4d5af9._0x35d80d,-_0x4d5af9._0x5210fa)](_0x5293be=>_0x5293be[_0x5cb4a5(0xcf,0x76,0x9f,0x14b)]===_0x495602['id']&&_0x5293be['root']===_0x267857);if(_0xfecf68){_0x3e4c01[_0x5cb4a5(-_0x4d5af9._0x3614ef,-0x8a,-0xe7,-0xd7)](_0xfecf68);continue;}if(!_0x226351)continue;const _0x462a6d=await _0x2ac679(_0x495602,_0x267857);if(_0x462a6d)_0x3e4c01[_0x5cb4a5(-_0x4d5af9._0x24987a,-_0x4d5af9._0x5210fa,-_0x4d5af9._0x2f2a04,-0x1d3)](_0x462a6d);}return _0x3e4c01;}async function _0x6db93d(_0x4c4b5e,_0x45b4e2=![]){const _0x50e8d7={_0x333961:0x153,_0x4d8a43:0x6b4};function _0x14b22d(_0x11d41b,_0x345e86,_0x211e4f,_0x58fb7c){return _0x3eab(_0x211e4f- -0x378,_0x11d41b);}const _0x201c64=await _0x5a2a3b(_0x4c4b5e,!![]);await Promise['all'](_0x201c64[_0x14b22d(_0x5e9723._0x5c8bac,_0x5e9723._0x1abb3d,-_0x5e9723._0x51bd7e,-0x76)](async _0x268cd5=>{const _0x5d5b54={_0x3e97c8:0x29c};!_0x5bf30a[_0x242ab7(_0x25b97c._0x166f8c,0x228,_0x25b97c._0x45e983,_0x25b97c._0x3c988d)][_0x216491(_0x25b97c._0x44b827,_0x25b97c._0x8a8b9c,_0x25b97c._0x3ab524,0x59e)](_0x268cd5[_0x216491(0x5ad,0x530,_0x25b97c._0x246a6e,_0x25b97c._0x288f59)]+':'+_0x268cd5['root']+':'+_0x4c4b5e)&&(await _0x268cd5['notify'][_0x216491(0x688,0x7fe,0x7ac,_0x25b97c._0x9b7c4e)]({'path':_0x4c4b5e}),_0x5bf30a[_0x216491(_0x25b97c._0x2726a9,_0x25b97c._0x3a1a0f,_0x25b97c._0x5a265f,0x637)][_0x242ab7(0xdc,-_0x25b97c._0x146381,0x6b,-_0x25b97c._0x1dfa17)](_0x268cd5[_0x216491(_0x25b97c._0x510ece,0x4b5,0x724,_0x25b97c._0x34f6fd)]+':'+_0x268cd5[_0x216491(0x4e2,0x651,0x438,0x59f)]+':'+_0x4c4b5e));await _0x268cd5['notify']['change']({'path':_0x4c4b5e,'version':nextFileVersion(_0x5bf30a,_0x4c4b5e)});function _0x216491(_0x285c2c,_0x59129c,_0x573358,_0x3560b4){return _0x14b22d(_0x3560b4,_0x59129c-_0x50e8d7._0x333961,_0x285c2c-_0x50e8d7._0x4d8a43,_0x3560b4-0x1d0);}function _0x242ab7(_0x5d1a5c,_0x1ea8e6,_0x1d136c,_0x3da26b){return _0x14b22d(_0x3da26b,_0x1ea8e6-0x50,_0x1ea8e6-_0x5d5b54._0x3e97c8,_0x3da26b-0x142);}if(_0x45b4e2)await _0x268cd5[_0x216491(_0x25b97c._0x1a74f4,0x495,_0x25b97c._0x4d73c7,0x406)]({'path':_0x4c4b5e});}));}async function _0xdc3b48(_0x5b2ed2){return await _0x6db93d(_0x5b2ed2['file'],![]),_0x5a2a3b(_0x5b2ed2['file'],![]);}async function _0x1c0fbf(_0x32a982){const _0x87d4f={_0x5026ac:0x307},_0x57d883=await _0xdc3b48(_0x32a982);function _0x5a173d(_0x4ff193,_0x1e3ce8,_0x1d6d26,_0x5c7496){return _0x3eab(_0x4ff193-_0x87d4f._0x5026ac,_0x1d6d26);}return collectClientResults(_0x57d883['map'](_0x3ef4a6=>_0x3ef4a6['request'][_0x5a173d(0x58c,0x675,0x44c,0x60b)](_0x32a982)));}return{'isEnabled':_0x32d049,async 'hasClients'(_0x470f88){const _0x5d4557={_0x358eb2:0x9b};function _0x170c2b(_0x605020,_0x5eb8b2,_0x247d3f,_0x2fb13b){return _0x3eab(_0x5eb8b2- -0xd0,_0x247d3f);}function _0x33e19c(_0x4e977e,_0x2aaf7e,_0x3b97d6,_0x480104){return _0x3eab(_0x3b97d6- -_0x5d4557._0x358eb2,_0x480104);}return(await _0x5a2a3b(_0x470f88,![]))[_0x33e19c(_0xe18843._0x41e09e,0x331,0x1ee,_0xe18843._0x25b3f5)]>0x0||getServersForFile(_0x470f88)[_0x33e19c(_0xe18843._0x3f9ef3,_0xe18843._0x2be498,_0xe18843._0x376784,0x361)]>0x0;},'touchFile':_0x6db93d,async 'diagnostics'(){const _0x62f936={_0x38bba9:0x3b};function _0x32d605(_0x23432c,_0x33a195,_0x4de5a4,_0x374f9f){return _0x3eab(_0x374f9f-0x1fd,_0x33a195);}function _0x28022f(_0x19bf60,_0x4f7cd1,_0x3dcee6,_0x2c460f){return _0x3eab(_0x2c460f- -_0x62f936._0x38bba9,_0x4f7cd1);}const _0x50ba80={};for(const _0x43a127 of _0x5bf30a[_0x32d605(0x427,_0x3503d8._0x1e1c6c,_0x3503d8._0x197678,_0x3503d8._0x174d50)]){for(const [_0x1671d0,_0x30600a]of _0x43a127[_0x32d605(0x3d6,_0x3503d8._0x465899,0x5b1,_0x3503d8._0x527034)]){_0x50ba80[diagnosticsKeyToPath(_0x1671d0)]=_0x30600a;}}return _0x50ba80;},async 'diagnosticsForFile'(_0x4a8658){await _0x6db93d(_0x4a8658,!![]);function _0x10e37a(_0x5c536c,_0x253ec6,_0x1a391b,_0xede8a8){return _0x3eab(_0x5c536c-_0x416dc3._0x5d99b0,_0xede8a8);}const _0x2ab182=[];for(const _0x27a3fe of await _0x5a2a3b(_0x4a8658,![])){for(const [_0x440b43,_0x15dd78]of _0x27a3fe[_0x10e37a(0x657,0x59e,_0xf93762._0x2e0ee4,0x54e)]){if(diagnosticsKeyToPath(_0x440b43)===_0x4a8658)_0x2ab182['push'](..._0x15dd78);}}return _0x2ab182;},async 'definition'(_0x333a8d){function _0x455b9b(_0x5f37b4,_0x5d1444,_0x48f1cb,_0x50558d){return _0x3eab(_0x50558d-0x5,_0x48f1cb);}function _0x578fb2(_0x38dc7a,_0x463ce2,_0x5911eb,_0x17c426){return _0x3eab(_0x38dc7a- -_0x54b830._0x393c22,_0x17c426);}return collectClientResults((await _0xdc3b48(_0x333a8d))['map'](_0xf70ed2=>_0xf70ed2[_0x578fb2(0x89,0xfd,0xdc,0xb5)][_0x578fb2(0x12e,0x1cc,0x222,0x76)](_0x333a8d)));},async 'references'(_0x151aac){function _0xeb177b(_0x2e7ac8,_0x320060,_0x1f578c,_0x1d9673){return _0x3eab(_0x2e7ac8-_0x27ba26._0x36c559,_0x320060);}return collectClientResults((await _0xdc3b48(_0x151aac))[_0xeb177b(0x6e8,_0x11115e._0x3dc198,0x818,0x63c)](_0x24f229=>_0x24f229['request']['references'](_0x151aac)));},async 'hover'(_0x718d7){function _0x39774b(_0xd42b9c,_0x50175b,_0x506772,_0x2ffe63){return _0x3eab(_0xd42b9c- -0x32d,_0x506772);}function _0x34d6d1(_0x511d95,_0x4b0b55,_0x441068,_0x972eb6){return _0x3eab(_0x441068-_0x3b5d89._0xc5e79d,_0x4b0b55);}const _0x2f1a32=await Promise[_0x34d6d1(0x105,_0x4911de._0x143d0e,0x27c,_0x4911de._0x373bda)]((await _0xdc3b48(_0x718d7))[_0x39774b(_0x4911de._0x4a13d1,_0x4911de._0x587af9,-_0x4911de._0x1db7ec,-0x3a)](_0x4a371c=>_0x4a371c[_0x34d6d1(0x4e9,0x25d,0x398,0x309)][_0x34d6d1(0x334,0x536,0x45f,0x5d2)](_0x718d7)));return _0x2f1a32[_0x34d6d1(_0x4911de._0x4063ca,0x3c8,_0x4911de._0x261c6d,0x23f)](_0x33e4b6=>_0x33e4b6['status']===_0x39774b(-0x69,-0x10a,0x8d,0xca)&&_0x33e4b6[_0x34d6d1(0x19d,0x25a,0x24f,0x2d7)]?[_0x33e4b6[_0x39774b(-0x1df,-0xce,-0x1ef,-0x26b)]]:[]);},async 'documentSymbol'(_0x1cf284){await _0x6db93d(_0x1cf284,![]);function _0x1d6060(_0x1c8a0d,_0x289e09,_0x53eaea,_0x3a8b26){return _0x3eab(_0x289e09- -_0x2f5a2b._0x3d95f5,_0x53eaea);}return collectClientResults((await _0x5a2a3b(_0x1cf284,![]))[_0x1d6060(0x23f,_0x3ee293._0x34f0b3,_0x3ee293._0x57fc60,_0x3ee293._0x4e65e6)](_0x47ec59=>_0x47ec59['request']['documentSymbol'](_0x1cf284)));},async 'workspaceSymbol'(_0x411f13){function _0x5493ad(_0x2f358d,_0x2fac0a,_0x1763b9,_0xab4033){return _0x3eab(_0x2f358d- -_0x568af1._0x17a9f4,_0x2fac0a);}function _0x5ca2f8(_0xd57c8e,_0x3e421e,_0x464ea3,_0x2f31c7){return _0x3eab(_0x2f31c7- -_0x15cebd._0x5a2102,_0x464ea3);}return collectClientResults(_0x5bf30a['clients'][_0x5493ad(0x2f9,0x2d0,_0x5d4f7d._0x2fb87d,0x277)](_0x266cf1=>_0x266cf1[_0x5ca2f8(-0xb2,-0x33,-0x11,-0xef)][_0x5ca2f8(-0x17d,-0x2cc,-0x2cf,-0x1da)](_0x411f13)));},async 'implementation'(_0x245132){const _0x21c007={_0x96b298:0x25e};function _0x275c78(_0x36c13f,_0xb5783e,_0x40321b,_0x2a090c){return _0x3eab(_0x40321b- -0x286,_0x2a090c);}function _0x13e0f1(_0x2bc48f,_0x2aab44,_0x4facd9,_0x574a7f){return _0x3eab(_0x4facd9-_0x21c007._0x96b298,_0x2aab44);}return collectClientResults((await _0xdc3b48(_0x245132))['map'](_0x29fef3=>_0x29fef3[_0x13e0f1(0x669,0x56b,0x4f5,0x66a)][_0x13e0f1(0x55a,0x591,0x47a,0x451)](_0x245132)));},async 'prepareCallHierarchy'(_0x4af214){return _0x1c0fbf(_0x4af214);},async 'incomingCalls'(_0x5d8e86){function _0x161f2e(_0x27ba59,_0x4dd283,_0x5cf79b,_0xc5ca5b){return _0x3eab(_0x4dd283- -0xba,_0x5cf79b);}const _0x3a2805=await _0x1c0fbf(_0x5d8e86),_0x41832a=await _0xdc3b48(_0x5d8e86);function _0x4283f3(_0x4e425e,_0xd0da3,_0x550e08,_0x4e9c82){return _0x3eab(_0x4e425e-_0x13192d._0x419b20,_0xd0da3);}return collectClientResults(_0x41832a[_0x4283f3(0x34e,0x41b,_0x51424c._0x55dc40,_0x51424c._0x3d60b1)](_0x5a8714=>_0x3a2805[_0x4283f3(0x52f,0x684,0x605,0x4ac)](_0x69c796=>_0x5a8714[_0x4283f3(0x471,0x549,0x387,0x4a5)][_0x4283f3(0x48d,0x352,0x511,0x5ec)](_0x69c796))));},async 'outgoingCalls'(_0x5574e8){const _0xd66190={_0x2ab22c:0x367};function _0x52bd12(_0xda4da3,_0x52780c,_0x2b7c59,_0x3edd1a){return _0x3eab(_0x52780c-_0xd66190._0x2ab22c,_0xda4da3);}const _0x57b7e1=await _0x1c0fbf(_0x5574e8),_0x48bd10=await _0xdc3b48(_0x5574e8);return collectClientResults(_0x48bd10[_0x52bd12(0x5b8,_0x566321._0x51c1d0,_0x566321._0x2e64ea,0x632)](_0x5b479f=>_0x57b7e1['map'](_0x573bb6=>_0x5b479f['request']['outgoingCalls'](_0x573bb6))));},async 'shutdown'(){if(_0x5bf30a['shutdownStarted'])return;function _0x4418ad(_0x41eb5d,_0xff61f6,_0x1ef904,_0x4633d0){return _0x3eab(_0x4633d0- -0x1a7,_0x1ef904);}_0x5bf30a[_0x515032(-_0x371ee0._0x1c299e,-_0x371ee0._0x357b40,-0x13f,-_0x371ee0._0x1871d1)]=!![],await Promise[_0x4418ad(_0x371ee0._0x18bb7e,-0x4c,-_0x371ee0._0x270fd8,-_0x371ee0._0x3aa861)](_0x5bf30a[_0x4418ad(0x1f9,0x3b,_0x371ee0._0x480158,_0x371ee0._0x557107)][_0x4418ad(0x9a,_0x371ee0._0x156747,0x4b,0x1ae)](_0xa90f4e=>_0xa90f4e[_0x4418ad(0x8d,0x17f,-0xe8,0xd)]()));function _0x515032(_0x152f5f,_0x1f33c6,_0x2ea6fe,_0x47f715){return _0x3eab(_0x1f33c6- -0x1fe,_0x152f5f);}_0x5bf30a[_0x4418ad(0x230,0x1,_0x371ee0._0x1c6d01,0x127)]=[],_0x5bf30a[_0x515032(-0x16b,-0x6e,0x9b,-0xb0)][_0x515032(0x1,_0x371ee0._0x3ea4cd,0xa,-0x9e)](),_0x5bf30a[_0x4418ad(_0x371ee0._0x56c807,-0x29,-0x236,-_0x371ee0._0x65452c)]['clear'](),_0x5bf30a[_0x515032(0x25f,0xf9,0x30,0x12a)]['clear'](),_0x5bf30a['openFiles']['clear']();},'status'(){function _0x2d2d45(_0x55853b,_0x1a8e25,_0x402fe2,_0x1ccf5a){return _0x3eab(_0x1ccf5a-_0x4755c4._0x42f2d7,_0x55853b);}return{'connectedClients':_0x5bf30a['clients'][_0x2d2d45(_0x3d0bc8._0x452217,0x437,_0x3d0bc8._0x197a8b,_0x3d0bc8._0x2c3ed8)]};}};}function createQuestionId(){const _0x32b831={_0x39bccb:0x791,_0x4def94:0x7a8,_0x3622ec:0x712,_0x26d757:0x4bc,_0xb451d4:0x5d9,_0x22d2c9:0x48f},_0x36309d={_0x2d1de6:0xbc,_0x3525c0:0x153},_0x188279={_0x320bba:0x19d};function _0xf49a3e(_0x1174aa,_0x54bc61,_0x33ee22,_0xc609c0){return _0xf90728(_0x1174aa,_0x54bc61-_0x188279._0x320bba,_0xc609c0-0x354,_0xc609c0-0x151);}function _0x3209e6(_0x4e7be1,_0x52f2e5,_0x415235,_0xf02424){return _0x4d40c0(_0x4e7be1-_0x36309d._0x2d1de6,_0x4e7be1-0x6b1,_0x415235-_0x36309d._0x3525c0,_0x415235);}return _0x3209e6(0x65a,_0x32b831._0x39bccb,0x6a6,_0x32b831._0x4def94)+Date[_0x3209e6(0x690,_0x32b831._0x3622ec,0x546,0x641)]()+'-'+Math[_0xf49a3e(_0x32b831._0x26d757,0x533,_0x32b831._0xb451d4,_0x32b831._0x22d2c9)]()['toString'](0x24)['slice'](0x2,0x9);}function validateInput(_0x8e6081){const _0x4d4726={_0xfec771:0xbf,_0x51bb82:0xb2,_0xcb1965:0x27,_0x5ba475:0x4e,_0x2509e1:0x513,_0x884d01:0x636,_0x3355cd:0x1cb,_0x39f302:0x233,_0x53b095:0xf6,_0x2dd08d:0x4b1,_0x78b289:0x57a,_0x8c18a3:0x591,_0x4355ed:0x49f,_0x4086fe:0x346,_0x55e6d1:0x4dd,_0x49c623:0x7b,_0x5c9940:0xf,_0x26bb9a:0x1ea,_0x31f478:0xf8,_0x293bfe:0x71c,_0x4eff07:0x720,_0x592630:0xc8,_0x3f0a3f:0x89,_0x1fb5ff:0x1a4,_0x3088d6:0xc6,_0x5c2a39:0xc8,_0x53d127:0x54,_0xe5a302:0x58,_0x44c051:0x198,_0x3f11e3:0x11b,_0x257d42:0x1e9,_0x15594b:0x25f,_0x5c2910:0x97,_0x119538:0x1d3,_0x2def80:0x9,_0x4b4b47:0x61b,_0x39e207:0x658,_0x1529b4:0x774,_0x17e6fd:0x44c,_0xaacafb:0x57a,_0xa09c3f:0x6ce,_0x2ab811:0x45f,_0x3bedf7:0x56e,_0x311302:0x470,_0x3465f6:0x352,_0x71e309:0x5d,_0xe6b5bb:0x504,_0x557632:0x475,_0x740ffd:0x4d5,_0x270975:0x5e4,_0x3ad0c5:0x662,_0x5e6409:0x229,_0x12e1c1:0x230,_0x484cc4:0xd1,_0x70540d:0xa1,_0x5e67c3:0xf6,_0x467f10:0x9a,_0x3a4451:0x7b,_0x14f712:0x6ce,_0x5997ec:0x6f6},_0x5abb74={_0x39b6e8:0x13d,_0x1ee709:0x4f4,_0x34bf5b:0x183},_0x3f32fc={_0x584a1a:0x12e,_0x5bab36:0x139};function _0x59c458(_0x5ea963,_0x47f25a,_0x21267c,_0x2be049){return _0xf90728(_0x47f25a,_0x47f25a-_0x3f32fc._0x584a1a,_0x5ea963- -0xde,_0x2be049-_0x3f32fc._0x5bab36);}if(!Array['isArray'](_0x8e6081[_0x59c458(-_0x4d4726._0xfec771,-0x183,_0x4d4726._0x51bb82,_0x4d4726._0xcb1965)])||_0x8e6081['questions'][_0x59c458(-0x58,-_0x4d4726._0x5ba475,-0x186,-0xed)]<0x1||_0x8e6081[_0x493e28(0x41d,0x553,_0x4d4726._0x2509e1,0x3c4)]['length']>0xa)throw new ToolExecutionError(_0x493e28(_0x4d4726._0x884d01,0x56a,0x54f,0x66e),{'error':'invalid_questions'});function _0x493e28(_0xaf3ac0,_0x38e39a,_0x1da6f4,_0x144300){return _0xf90728(_0x38e39a,_0x38e39a-_0x5abb74._0x39b6e8,_0x1da6f4-_0x5abb74._0x1ee709,_0x144300-_0x5abb74._0x34bf5b);}for(let _0x58c0c4=0x0;_0x58c0c4<_0x8e6081[_0x59c458(-0xbf,-_0x4d4726._0x3355cd,-_0x4d4726._0x39f302,-_0x4d4726._0x53b095)][_0x493e28(_0x4d4726._0x2dd08d,0x62f,_0x4d4726._0x78b289,0x47f)];_0x58c0c4+=0x1){const _0x2e7780=_0x8e6081[_0x493e28(0x44e,_0x4d4726._0x8c18a3,_0x4d4726._0x2509e1,_0x4d4726._0x4355ed)][_0x58c0c4];if(!_0x2e7780[_0x493e28(0x47c,0x530,0x46d,_0x4d4726._0x4086fe)]||typeof _0x2e7780[_0x493e28(0x4a0,_0x4d4726._0x55e6d1,0x46d,0x3b5)]!==_0x59c458(-0xb4,0xb4,0xb3,-0x147))throw new ToolExecutionError(_0x59c458(-_0x4d4726._0x49c623,-_0x4d4726._0x5c9940,-_0x4d4726._0x26bb9a,_0x4d4726._0x31f478)+(_0x58c0c4+0x1)+_0x493e28(0x560,_0x4d4726._0x293bfe,0x612,_0x4d4726._0x4eff07));if(!_0x2e7780[_0x59c458(-_0x4d4726._0x592630,-_0x4d4726._0x3f0a3f,-0x1ea,-_0x4d4726._0x1fb5ff)]||typeof _0x2e7780['topic']!==_0x59c458(-0xb4,-0x17,-0xb9,-0x4))throw new ToolExecutionError(_0x59c458(-0x7b,0x98,-_0x4d4726._0x1fb5ff,_0x4d4726._0x3088d6)+(_0x58c0c4+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x2e7780[_0x59c458(-_0x4d4726._0x5c2a39,_0x4d4726._0x53d127,-0x19f,-0x19d)][_0x59c458(-_0x4d4726._0xe5a302,0x9c,-_0x4d4726._0x44c051,-_0x4d4726._0x3f11e3)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x58c0c4+0x1)+_0x59c458(-_0x4d4726._0x257d42,-0x1be,-0x356,-_0x4d4726._0x15594b)+_0x2e7780[_0x59c458(-_0x4d4726._0x5c2a39,_0x4d4726._0x5c2910,-0x99,-_0x4d4726._0x119538)][_0x59c458(-0x58,_0x4d4726._0x2def80,-_0x4d4726._0xe5a302,-0x1a1)]);if(!Array[_0x493e28(0x530,_0x4d4726._0x4b4b47,_0x4d4726._0x39e207,_0x4d4726._0x1529b4)](_0x2e7780['options'])||_0x2e7780['options']['length']<0x2||_0x2e7780['options'][_0x493e28(_0x4d4726._0x17e6fd,0x68b,_0x4d4726._0xaacafb,_0x4d4726._0xa09c3f)]>0x4)throw new ToolExecutionError(_0x493e28(_0x4d4726._0x2ab811,0x678,0x557,0x671)+(_0x58c0c4+0x1)+_0x493e28(0x42c,_0x4d4726._0x3bedf7,_0x4d4726._0x311302,0x386));for(let _0xe91bec=0x0;_0xe91bec<_0x2e7780['options'][_0x493e28(0x5fd,0x6c1,0x57a,0x613)];_0xe91bec+=0x1){const _0x350cc7=_0x2e7780[_0x493e28(0x544,0x503,0x4c2,_0x4d4726._0x3465f6)][_0xe91bec];if(!_0x350cc7[_0x59c458(-0xab,-0xe4,-0x152,_0x4d4726._0x71e309)]||!_0x350cc7['description'])throw new ToolExecutionError('Question\x20'+(_0x58c0c4+0x1)+_0x493e28(_0x4d4726._0xe6b5bb,_0x4d4726._0x557632,_0x4d4726._0x740ffd,0x475)+(_0xe91bec+0x1)+_0x493e28(0x5ae,_0x4d4726._0x270975,_0x4d4726._0x3ad0c5,0x620));}if(typeof _0x2e7780[_0x59c458(-_0x4d4726._0x5e6409,-0xd6,-_0x4d4726._0x12e1c1,-_0x4d4726._0x484cc4)]!==_0x59c458(_0x4d4726._0x70540d,0x5c,_0x4d4726._0x5e67c3,-_0x4d4726._0x467f10))throw new ToolExecutionError(_0x59c458(-_0x4d4726._0x3a4451,0xc8,-0x14f,-0xce)+(_0x58c0c4+0x1)+_0x493e28(_0x4d4726._0x14f712,_0x4d4726._0x5997ec,0x60d,0x6d1));}}function buildQuestions(_0x565b3d){const _0x36dfe0={_0x1e20b0:0x56f},_0x1c4a11={_0x5b474a:0x195,_0x50f3dc:0x723};function _0x4b6bb5(_0x3e5e2e,_0x266963,_0x123fb3,_0x2c7b24){return _0x4d40c0(_0x3e5e2e-_0x1c4a11._0x5b474a,_0x266963-_0x1c4a11._0x50f3dc,_0x123fb3-0x85,_0x3e5e2e);}function _0x30c8a0(_0xce7bcf,_0x2a60b9,_0x4c10ee,_0x829217){return _0x4d40c0(_0xce7bcf-0x92,_0x2a60b9-0x1ec,_0x4c10ee-0x16d,_0x829217);}return _0x565b3d[_0x4b6bb5(_0x36dfe0._0x1e20b0,0x5fc,0x73e,0x5cf)][_0x4b6bb5(0x752,0x72f,0x610,0x674)]((_0x4b4a4f,_0x2099b7)=>({'id':'q'+_0x2099b7,'question':_0x4b4a4f['question'],'topic':_0x4b4a4f[_0x4b6bb5(0x67e,0x5f3,0x700,0x5ee)],'options':_0x4b4a4f['options'],'multiSelect':_0x4b4a4f[_0x4b6bb5(0x4d4,0x492,0x373,0x500)]}));}function createResult(_0x5894b4,_0x3297b9,_0xc99156){const _0x14ab0b={_0x2a8c97:0xe4,_0x2f397d:0x12c,_0x12607a:0xbd,_0xfe247c:0x509,_0x3415e8:0x379,_0x5d2df6:0x499},_0x1de2d3={_0x5df85f:0x1ae},_0x232f45={_0x495530:0x12d,_0x271722:0x143};function _0x2bb470(_0x1b0edf,_0x3c7f27,_0x452e81,_0x184552){return _0x4d40c0(_0x1b0edf-_0x232f45._0x495530,_0x184552-_0x232f45._0x271722,_0x452e81-0x1b8,_0x3c7f27);}const _0x3e7514={'questionId':_0x5894b4,'questionCount':_0x3297b9,'answers':_0xc99156};function _0x252c61(_0x23641f,_0x1b3da6,_0x11ce23,_0x2f6d38){return _0xf90728(_0x23641f,_0x1b3da6-_0x1de2d3._0x5df85f,_0x11ce23-0x3b4,_0x2f6d38-0x197);}return createToolOutput(_0x2bb470(-_0x14ab0b._0x2a8c97,-_0x14ab0b._0x2f397d,-0x200,-_0x14ab0b._0x12607a)+JSON[_0x252c61(_0x14ab0b._0xfe247c,_0x14ab0b._0x3415e8,_0x14ab0b._0x5d2df6,0x5e1)](_0xc99156,null,0x2),_0x3e7514);}function createAskUserTool(){const _0x296aee={_0x2f7ad4:0x7d,_0x1366e0:0x1e1,_0x5f2683:0x84,_0x17f150:0xcf,_0x197927:0x78,_0x1fde8d:0x193,_0x112a78:0x1b7,_0x4c28d4:0x116,_0x4f0770:0x1e2,_0x38c827:0x41c,_0x26ad31:0x620,_0x277909:0x5ef,_0x30e191:0x4ff,_0x5106ce:0x6b5,_0x2540d3:0x6bc,_0x13d0ca:0x50e,_0x589659:0x17c,_0x337f04:0xf8,_0x59b35e:0x20e,_0x2e2044:0x186,_0x509350:0x17d,_0x553963:0xcf,_0x3d1e68:0x1df},_0x56426c={_0x103ead:0x3a7,_0x3c20a6:0x130,_0x3ff74f:0x330,_0x370787:0x296,_0x20b3d7:0xf,_0x3ff0f6:0x12e,_0x5b874c:0x100,_0x24f84e:0x4ca,_0x4b7e59:0x279,_0x3c2c83:0x2c1,_0x5bf013:0x2e0,_0x208a63:0x247,_0x55031b:0x271,_0x1eb862:0x409,_0x2bd956:0x380,_0x18b69d:0x26a,_0x203d5e:0x28b,_0x4d49bb:0x39c,_0x377a73:0x389},_0x4df13f={_0x337763:0x48},_0x2e01a2={_0x470f9b:0x24,_0x3e0183:0xa9},_0x57c057={_0x247312:0xad};function _0x42e81f(_0x432248,_0x7f7a82,_0x4685ac,_0x37b8c5){return _0x4d40c0(_0x432248-0x6,_0x432248-0x6e2,_0x4685ac-_0x57c057._0x247312,_0x37b8c5);}function _0x3cca02(_0x2dd8cf,_0x504028,_0x442883,_0x58026){return _0x4d40c0(_0x2dd8cf-0x8e,_0x504028-_0x2e01a2._0x470f9b,_0x442883-_0x2e01a2._0x3e0183,_0x2dd8cf);}return defineTool({'name':'AskUserTool','description':_0x3cca02(-_0x296aee._0x2f7ad4,-0xda,-0x14b,-_0x296aee._0x1366e0),'inputSchema':{'type':_0x3cca02(_0x296aee._0x5f2683,-_0x296aee._0x17f150,-_0x296aee._0x197927,-_0x296aee._0x1fde8d),'properties':{'questions':{'type':_0x3cca02(-0x205,-_0x296aee._0x112a78,-0x2fc,-0x9d),'items':{'type':'object','properties':{'question':{'type':_0x3cca02(-0x12c,-0xf8,-_0x296aee._0x4c28d4,-_0x296aee._0x4f0770)},'topic':{'type':'string'},'options':{'type':_0x42e81f(0x507,0x41a,_0x296aee._0x38c827,_0x296aee._0x26ad31),'items':{'type':_0x42e81f(_0x296aee._0x277909,0x4d3,0x75f,_0x296aee._0x30e191),'properties':{'label':{'type':_0x42e81f(0x5c6,_0x296aee._0x5106ce,_0x296aee._0x2540d3,_0x296aee._0x13d0ca)},'description':{'type':_0x3cca02(-_0x296aee._0x589659,-_0x296aee._0x337f04,-0x249,0x5e)}},'required':['label',_0x3cca02(-_0x296aee._0x59b35e,-_0x296aee._0x2e2044,-0x196,-0x125)]}},'multiSelect':{'type':'boolean'}},'required':[_0x3cca02(-0x12b,-0x1a9,-0x97,-0x26c),'topic','options','multiSelect']}},'answers':{'type':_0x3cca02(-_0x296aee._0x509350,-_0x296aee._0x553963,-_0x296aee._0x3d1e68,-0x136),'properties':{}}},'required':[_0x3cca02(-0x262,-0x103,-0x63,0x3a)]},async *'execute'(_0x4e587d,_0x1b9673){const _0xd776c7=_0x4e587d;validateInput(_0xd776c7);function _0x2b8ae0(_0x5751be,_0x37c159,_0xf0d25e,_0x5dc3e7){return _0x3cca02(_0x5dc3e7,_0xf0d25e-0x37c,_0xf0d25e-_0x4df13f._0x337763,_0x5dc3e7-0x2a);}const _0x338c5f=_0x1b9673[_0x2b8ae0(_0x56426c._0x103ead,0x3db,0x2ac,0x214)]??createQuestionId();if(_0xd776c7[_0x2487fc(0x247,_0x56426c._0x3c20a6,_0x56426c._0x3ff74f,_0x56426c._0x370787)]&&Object[_0x2b8ae0(0x291,_0x56426c._0x20b3d7,_0x56426c._0x3ff0f6,_0x56426c._0x5b874c)](_0xd776c7['answers'])[_0x2487fc(0x363,_0x56426c._0x24f84e,0x2c9,0x2fc)]>0x0)return createResult(_0x338c5f,_0xd776c7[_0x2b8ae0(0x1e4,0x1cd,_0x56426c._0x4b7e59,0x24d)][_0x2b8ae0(0x184,_0x56426c._0x3c2c83,_0x56426c._0x5bf013,0x1ae)],_0xd776c7[_0x2487fc(_0x56426c._0x208a63,0x16e,0x2b6,_0x56426c._0x55031b)]);if(!_0x1b9673[_0x2487fc(_0x56426c._0x1eb862,0x4bf,_0x56426c._0x2bd956,0x425)])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');function _0x2487fc(_0x16ca09,_0x1235b9,_0x525480,_0x4ed594){return _0x42e81f(_0x16ca09- -0x2bf,_0x1235b9-0x1c7,_0x525480-0xb9,_0x4ed594);}const _0x321a94=buildQuestions(_0xd776c7),_0x53f463=await _0x1b9673['askUser']({'questionId':_0x338c5f,'questions':_0x321a94});yield createResult(_0x338c5f,_0xd776c7[_0x2b8ae0(_0x56426c._0x18b69d,_0x56426c._0x203d5e,0x279,_0x56426c._0x4d49bb)][_0x2b8ae0(_0x56426c._0x377a73,0x27f,0x2e0,0x454)],_0x53f463);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x212a88}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x56de06){return _0x56de06 instanceof Error;}function resolveCarriageReturns(_0x2a3583){const _0x5a62cb={_0x23645c:0x45f},_0x3eebff={_0x3f955c:0xde},_0x36de5e={_0xa83e42:0x106};function _0xc98557(_0x347c03,_0x1b6cc7,_0x2e4d1a,_0x300342){return _0xf90728(_0x2e4d1a,_0x1b6cc7-0x66,_0x347c03-0x38e,_0x300342-0x15c);}return _0x2a3583[_0xc98557(0x43f,0x49d,0x2cf,_0x5a62cb._0x23645c)]('\x0a')['map'](_0x4b0226=>{if(!_0x4b0226[_0xb83104(0x228,0x189,0x364,_0x3eebff._0x3f955c)]('\x0d'))return _0x4b0226;const _0x3997f5=_0x4b0226['split']('\x0d');function _0xb83104(_0x382516,_0x648634,_0x30e19c,_0x55d3de){return _0xc98557(_0x382516- -0x74,_0x648634-_0x36de5e._0xa83e42,_0x55d3de,_0x55d3de-0x9e);}return _0x3997f5[_0x3997f5['length']-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x4e913b){const _0x5cb7d6={_0x5accf4:0x12c,_0x46a290:0xfd,_0x4c4f81:0x77},_0x52a067={_0x2d38f6:0x68,_0x433c14:0x1e2,_0x52619f:0x77},_0xf08924=[];function _0x3387e4(_0x2a3a7d,_0x24be18,_0x59c76f,_0x251a5a){return _0xf90728(_0x24be18,_0x24be18-_0x52a067._0x2d38f6,_0x251a5a- -_0x52a067._0x433c14,_0x251a5a-_0x52a067._0x52619f);}for(const _0x17c594 of Array['from'](_0x4e913b)){_0x17c594==='\x08'?_0xf08924[_0x3387e4(-0xfe,-_0x5cb7d6._0x5accf4,0x26,-0xe2)]():_0xf08924['push'](_0x17c594);}function _0x2d9dab(_0x4d03b1,_0x49e51a,_0x16f13a,_0x223b2e){return _0xf90728(_0x16f13a,_0x49e51a-0x167,_0x223b2e-0x59e,_0x223b2e-0x27);}return _0xf08924[_0x3387e4(-0x1d8,_0x5cb7d6._0x46a290,0x8b,-_0x5cb7d6._0x4c4f81)]('');}function stripAnsiAndControls(_0x4eda6c){const _0x1d4a8e={_0x1a4bde:0xdb,_0x2757f3:0x16d,_0x30e20c:0x16,_0x7ff284:0xbf,_0x242d1b:0x18f,_0x5f0ace:0x1a1,_0x2e3d7c:0x89,_0x168db9:0x23c,_0x45d6ff:0x40,_0x19ce16:0x229,_0x466d1b:0x227,_0x8274f2:0x3a0},_0x209220={_0x4cf7ee:0x18,_0x144739:0x183},_0x2747b1={_0x4b1900:0x131,_0x15c9c3:0x152};_0x4eda6c=resolveCarriageReturns(_0x4eda6c),_0x4eda6c=resolveBackspaces(_0x4eda6c),_0x4eda6c=stripVTControlCharacters(_0x4eda6c);const _0x3b2b8c='\x1b',_0x446321='\x07';function _0x463530(_0x22c37b,_0x19f02a,_0x4febde,_0x30f128){return _0xf90728(_0x30f128,_0x19f02a-_0x2747b1._0x4b1900,_0x22c37b- -_0x2747b1._0x15c9c3,_0x30f128-0xfc);}function _0x3b15ca(_0x42a24a,_0x294bd9,_0x2d318f,_0x310aeb){return _0xf90728(_0x2d318f,_0x294bd9-0x15d,_0x294bd9- -_0x209220._0x4cf7ee,_0x310aeb-_0x209220._0x144739);}return _0x4eda6c=_0x4eda6c[_0x463530(-0x229,-0xfd,-0x34b,-0x279)](new RegExp(_0x3b15ca(0x77,_0x1d4a8e._0x1a4bde,-0x25,_0x1d4a8e._0x2757f3)+_0x446321+_0x463530(-_0x1d4a8e._0x30e20c,-0xa6,-0xb8,_0x1d4a8e._0x7ff284)+_0x446321,'g'),''),_0x4eda6c=_0x4eda6c[_0x463530(-0x229,-0x294,-_0x1d4a8e._0x242d1b,-0x12b)](new RegExp(_0x463530(-0x290,-0x350,-0x221,-0x394)+_0x3b2b8c+'\x5c\x5c','g'),''),_0x4eda6c=_0x4eda6c['replace'](new RegExp(_0x446321,'g'),''),_0x4eda6c=_0x4eda6c['replace'](new RegExp(_0x3b2b8c+_0x463530(-0x24c,-_0x1d4a8e._0x1a4bde,-0x386,-0x24d)+_0x3b2b8c+'\x5c\x5c','g'),''),_0x4eda6c=_0x4eda6c[_0x3b15ca(-_0x1d4a8e._0x5f0ace,-0xef,-0x258,-_0x1d4a8e._0x2e3d7c)](new RegExp(_0x3b2b8c+_0x463530(-0x167,-_0x1d4a8e._0x168db9,-_0x1d4a8e._0x45d6ff,-0x49),'g'),''),_0x4eda6c=_0x4eda6c[_0x463530(-_0x1d4a8e._0x19ce16,-_0x1d4a8e._0x466d1b,-_0x1d4a8e._0x8274f2,-0xe4)](/[\u0080-\u009F]/g,''),_0x4eda6c=_0x4eda6c[_0x463530(-0x229,-0x1fe,-0x325,-0x28a)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x4eda6c=_0x4eda6c[_0x463530(-_0x1d4a8e._0x19ce16,-0x25b,-0x17d,-0x21f)](/[\u23CE\u2424]/g,''),_0x4eda6c;}function killProcessGroup(_0x2ed159,_0x35bd57,_0x1dc35b=_0x4d40c0(-0xa3,-0x7f,-0x10a,0xf7)){const _0x22815d={_0x5dc0cc:0x414,_0xed88b7:0x12f,_0x1984fc:0x418,_0x462044:0x54f,_0x206f99:0x572,_0x516312:0x40f,_0x280197:0x177,_0x39b6ea:0x36f,_0x1464d0:0x5f},_0x5ea9ed={_0x1dc74d:0x3c2,_0x33f2b8:0xbf},_0x5d0753={_0x52690:0x1d7,_0x405b9c:0x322,_0x3c32e4:0x2d};if(!_0x2ed159[_0x812685(0x2e3,0x40f,0x3e8,_0x22815d._0x5dc0cc)])return;if(_0x35bd57)try{_0x212a88(_0xf25f19(0x27b,0x317,0x254,_0x22815d._0xed88b7),[_0x812685(0x326,_0x22815d._0x1984fc,_0x22815d._0x462044,_0x22815d._0x206f99),_0x2ed159[_0x812685(0x525,_0x22815d._0x516312,0x552,0x337)]['toString'](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x2ed159[_0x812685(_0x22815d._0x280197,0x24e,0x153,_0x22815d._0x39b6ea)](_0x1dc35b);return;}function _0x812685(_0x44a7f0,_0x25a502,_0x482e9e,_0x5e4c25){return _0xf90728(_0x44a7f0,_0x25a502-_0x5d0753._0x52690,_0x25a502-_0x5d0753._0x405b9c,_0x5e4c25-_0x5d0753._0x3c32e4);}function _0xf25f19(_0x4fb8b8,_0x32b004,_0x5469e6,_0x36a999){return _0x4d40c0(_0x4fb8b8-0xf6,_0x4fb8b8-_0x5ea9ed._0x1dc74d,_0x5469e6-_0x5ea9ed._0x33f2b8,_0x5469e6);}try{process['kill'](-_0x2ed159[_0x812685(0x562,_0x22815d._0x516312,0x30d,0x579)],_0x1dc35b);}catch{_0x2ed159[_0xf25f19(0x1a8,0xa3,0x4e,_0x22815d._0x1464d0)](_0x1dc35b);}}var BackgroundProcessRegistry=class{[_0xf90728(-0x8,-0x6b,-0x5,0x78)]=new Map();['maxConcurrent'];[_0xf90728(-0x1c3,-0xde,-0xdb,-0x5c)];['capChars'];['counter']=0x0;constructor(_0x2aa9ba={}){const _0x449948={_0x31f08f:0x17d,_0x466893:0x6c,_0x2e7d84:0x13c,_0x1c7946:0xa2,_0x47a1b7:0x87,_0x5b9c54:0x144,_0x335793:0x1fb,_0x418f63:0xad},_0x1e29c7={_0xcd3a7d:0x17f,_0x330eb8:0x177},_0x19e5e0={_0x1f5798:0x87,_0x34cc0d:0x3d9};function _0x8e9e2d(_0x168ed0,_0x4b3c8d,_0x347322,_0x38d9ce){return _0xf90728(_0x168ed0,_0x4b3c8d-_0x19e5e0._0x1f5798,_0x4b3c8d-_0x19e5e0._0x34cc0d,_0x38d9ce-0x11f);}this['maxConcurrent']=_0x2aa9ba[_0x278248(_0x449948._0x31f08f,0x9e,_0x449948._0x466893,_0x449948._0x2e7d84)]??0xa,this[_0x278248(-0x16b,-_0x449948._0x1c7946,-0x9e,0x92)]=_0x2aa9ba[_0x278248(0x47,-0xa2,0x28,-0x16c)]??0x40;function _0x278248(_0x67cf84,_0x11656a,_0x5f7efa,_0x84b0d2){return _0x4d40c0(_0x67cf84-0x5f,_0x11656a-_0x1e29c7._0xcd3a7d,_0x5f7efa-_0x1e29c7._0x330eb8,_0x5f7efa);}this[_0x278248(_0x449948._0x47a1b7,_0x449948._0x5b9c54,_0x449948._0x335793,-0x2b)]=_0x2aa9ba[_0x278248(0x15c,0x144,_0x449948._0x418f63,0xa0)]??0x100000;}[_0x4d40c0(-0x231,-0x150,-0x71,-0x8a)](_0x1003f2){const _0x137116={_0x2acfb3:0x417,_0x36d426:0x376,_0x1217ba:0x3d1,_0x3e7bec:0x281,_0x421796:0x425,_0x28fd94:0x317,_0x30edde:0x33e,_0x695f34:0x31c,_0x48c843:0x436,_0x38dbd0:0x336,_0x124067:0x31d,_0x5dbb15:0x3b6,_0x2dfd51:0x3b5,_0x537d80:0x2e5,_0x10de21:0x404,_0x32e32c:0x521,_0x5daba3:0x2f4,_0x53083c:0x345,_0x4d3b5e:0x1c6,_0x15e06f:0x322,_0xb10664:0x341,_0x7e922b:0x23d,_0x41c0c9:0x2ba,_0x56ca1b:0x29b,_0x2baa20:0x346,_0x467d57:0x3a5,_0x58a452:0x35f,_0x188d49:0x3d2,_0xff6683:0x47e,_0x5ac892:0x4e6,_0xb9a9c3:0x1fd,_0x1eabb9:0x5b6,_0x3eca4d:0x4ca,_0x4567b8:0x567,_0x1e449d:0x429,_0x2498cc:0x50c,_0x46bf0c:0x33c,_0x4ce4fc:0x37b,_0x1ee237:0xa1,_0x2d8a0a:0x3d9,_0x5ae788:0x3c9,_0x158b0f:0x489,_0x3242bc:0x402,_0x42bda0:0x4ea,_0x5a3718:0x495,_0x107c06:0x3bc,_0x846c6f:0x1f8,_0x5caf45:0x229,_0x14cdb8:0x44e,_0x4d2071:0x280,_0x2fb5c9:0x234,_0xd199d6:0x26f,_0x2578e1:0x3c5,_0x2fd8da:0x26a,_0x3bbe2a:0x195,_0x4dc16e:0x161,_0x27574e:0x324,_0x273c3f:0x350,_0x402668:0x3ca,_0x368724:0x389,_0x26eceb:0x28b},_0x30727e={_0x155195:0x12d},_0x2eae7c={_0x1f411c:0x359},_0x2f790f={_0x47c22c:0x5d,_0x48df55:0x1be,_0x1fdcf7:0x149,_0x3eab8a:0x4c,_0x2b1de5:0x28,_0xd23fa5:0x3f,_0x3633d5:0x7a},_0x2e9245={_0x402304:0x56,_0x77282b:0x502,_0x4d89b5:0xf9,_0x2eb396:0x18f,_0x192ea8:0x28c,_0x20fd24:0x657,_0x515da5:0x611,_0x32b894:0x5aa,_0x3d8a7a:0x154,_0x3d98b5:0x1a7,_0x47917a:0xf2,_0x5bcfc0:0x21,_0x115486:0x16c,_0x4c70f1:0x5ec,_0xb479d5:0x697,_0x3bfc85:0x67e},_0x521b73=[...this[_0x220368(_0x137116._0x2acfb3,0x2b3,_0x137116._0x36d426,0x19d)][_0x371eba(_0x137116._0x1217ba,0x28d,0x28b,_0x137116._0x3e7bec)]()][_0x220368(0x33f,0x2b0,0x210,_0x137116._0x421796)](_0xe855e3=>_0xe855e3['status']===_0x220368(0x52b,0x41a,0x391,0x49b))[_0x220368(_0x137116._0x28fd94,_0x137116._0x30edde,0x1cd,_0x137116._0x695f34)];if(_0x521b73>=this[_0x220368(_0x137116._0x48c843,0x31d,_0x137116._0x38dbd0,0x28c)])throw new ToolExecutionError(_0x371eba(_0x137116._0x124067,0x283,_0x137116._0x5dbb15,_0x137116._0x2dfd51)+this[_0x371eba(_0x137116._0x537d80,_0x137116._0x10de21,0x3be,_0x137116._0x32e32c)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this['maxConcurrent']});const _0x5bb29e=_0x371eba(0x56e,0x370,0x434,_0x137116._0x5daba3)+ ++this[_0x371eba(0x46f,_0x137116._0x53083c,0x324,0x459)]+'-'+randomUUID()[_0x371eba(0x30c,0x192,0x2f4,0x1c0)](0x0,0x8),_0x4a0710={'shellId':_0x5bb29e,'command':_0x1003f2[_0x371eba(0x22e,_0x137116._0x4d3b5e,_0x137116._0x15e06f,_0x137116._0xb10664)],'cwd':_0x1003f2['cwd'],'pid':_0x1003f2[_0x371eba(_0x137116._0x7e922b,0x218,_0x137116._0x41c0c9,_0x137116._0x56ca1b)][_0x220368(_0x137116._0x2baa20,_0x137116._0x467d57,_0x137116._0x58a452,0x300)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x371eba(_0x137116._0x188d49,0x388,_0x137116._0xff6683,_0x137116._0x5ac892)](),'child':_0x1003f2[_0x371eba(0x39d,_0x137116._0xb9a9c3,_0x137116._0x41c0c9,0x255)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x371eba(_0x137116._0x1eabb9,0x532,_0x137116._0x3eca4d,0x5f5)),'stderrDecoder':new StringDecoder(_0x220368(_0x137116._0x4567b8,_0x137116._0x1e449d,_0x137116._0x2498cc,_0x137116._0x46bf0c)),'stripAnsi':_0x1003f2[_0x371eba(0x3a8,_0x137116._0x4ce4fc,0x30e,0x313)],'killRequested':![],'processExited':![]};_0x1003f2[_0x220368(0x2e6,0x219,_0x137116._0x1ee237,0x2b9)]['stdout']?.['on']('data',_0x393835=>this[_0x371eba(0x34f,0x2c3,0x21e,0x2f1)](_0x4a0710,_0x4a0710[_0x220368(0x1a6,0x22c,0x135,0xf2)][_0x220368(0x3c5,0x260,0x183,0x2b3)](_0x393835))),_0x1003f2['child'][_0x220368(0x2c9,_0x137116._0x2d8a0a,0x4f8,_0x137116._0x5ae788)]?.['on'](_0x220368(_0x137116._0x158b0f,_0x137116._0x3242bc,_0x137116._0x42bda0,_0x137116._0x5a3718),_0x351198=>this['append'](_0x4a0710,_0x4a0710[_0x371eba(0x260,0x1f4,0x359,0x48e)][_0x371eba(0x343,0x460,0x301,0x348)](_0x351198))),_0x1003f2[_0x371eba(0x399,_0x137116._0x107c06,_0x137116._0x41c0c9,0x3be)][_0x220368(_0x137116._0x846c6f,0x324,_0x137116._0x5caf45,_0x137116._0x14cdb8)](_0x371eba(_0x137116._0x4d2071,0x3a0,0x2bf,_0x137116._0x2fb5c9),()=>{const _0x526a6a={_0x93b379:0x33d,_0x150eb4:0x1ae};function _0x177953(_0x2e2ca4,_0x553848,_0x4d1744,_0x2d8b90){return _0x220368(_0x2e2ca4-0x2b,_0x4d1744- -_0x526a6a._0x93b379,_0x2d8b90,_0x2d8b90-_0x526a6a._0x150eb4);}_0x4a0710[_0x177953(0x135,-0xc4,0x26,0x73)]=!![];}),_0x1003f2['child'][_0x371eba(_0x137116._0xd199d6,0x33c,_0x137116._0x2578e1,_0x137116._0x2fd8da)](_0x371eba(_0x137116._0x3bbe2a,_0x137116._0x4dc16e,0x2b6,0x1a9),(_0x447055,_0x3f6902)=>{const _0x447c3b={_0x511fc2:0x4b},_0x19dccf={_0x4f7ff8:0x223};this[_0xd43859(-_0x2e9245._0x402304,-0x5,-0x70,0x73)](_0x4a0710,_0x4a0710[_0x15dd56(0x532,0x674,_0x2e9245._0x77282b,0x440)]['end']()),this[_0xd43859(0x12f,-0x5,0xe4,_0x2e9245._0x4d89b5)](_0x4a0710,_0x4a0710[_0xd43859(_0x2e9245._0x2eb396,0x136,0x66,_0x2e9245._0x192ea8)][_0x15dd56(_0x2e9245._0x20fd24,_0x2e9245._0x515da5,_0x2e9245._0x32b894,0x646)]());function _0xd43859(_0x52585c,_0x440525,_0x58dbad,_0x534efd){return _0x371eba(_0x52585c-0x199,_0x440525-0x14e,_0x440525- -_0x19dccf._0x4f7ff8,_0x52585c);}_0x4a0710[_0xd43859(0x1ec,_0x2e9245._0x3d8a7a,_0x2e9245._0x3d98b5,_0x2e9245._0x47917a)]=_0x4a0710['killRequested']?_0xd43859(-_0x2e9245._0x5bcfc0,0x0,_0x2e9245._0x115486,0x75):'exited',_0x4a0710[_0x15dd56(0x5ec,0x673,_0x2e9245._0x4c70f1,0x73a)]=_0x447055;function _0x15dd56(_0x2f2930,_0x1af01a,_0x474de1,_0x224711){return _0x371eba(_0x2f2930-0x18e,_0x1af01a-_0x447c3b._0x511fc2,_0x2f2930-0x265,_0x224711);}_0x4a0710[_0x15dd56(0x6b0,_0x2e9245._0xb479d5,0x59b,0x78b)]=_0x3f6902,_0x4a0710[_0x15dd56(0x51f,0x4c5,0x5db,_0x2e9245._0x3bfc85)]=null;}),_0x1003f2[_0x371eba(0x2b7,0x1ee,0x2ba,0x411)][_0x220368(0x2ce,_0x137116._0x27574e,_0x137116._0x273c3f,0x408)](_0x371eba(0x220,_0x137116._0x402668,_0x137116._0x368724,_0x137116._0x26eceb),_0x20db5c=>{const _0x52f8a5={_0x9d6ab8:0xca,_0x5089b7:0x1d7},_0x1bd7a5={_0x22f857:0xd6,_0x5717c7:0x3d4};function _0x1a211a(_0x29e37b,_0x50f46b,_0x2b658a,_0x5e5a27){return _0x371eba(_0x29e37b-_0x1bd7a5._0x22f857,_0x50f46b-0xe2,_0x5e5a27- -_0x1bd7a5._0x5717c7,_0x50f46b);}function _0x3bb5ae(_0x1b7169,_0x29b4c3,_0x2ac7ab,_0x457346){return _0x220368(_0x1b7169-_0x52f8a5._0x9d6ab8,_0x2ac7ab- -0x1c1,_0x457346,_0x457346-_0x52f8a5._0x5089b7);}_0x4a0710[_0x1a211a(-0x127,-0xb,-0x122,-_0x2f790f._0x47c22c)]=_0x3bb5ae(0x1f9,_0x2f790f._0x48df55,0x127,_0x2f790f._0x1fdcf7),_0x4a0710[_0x3bb5ae(0xc7,-0x17,0x127,_0x2f790f._0x3eab8a)]=_0x20db5c[_0x1a211a(_0x2f790f._0x2b1de5,-0x1c1,-_0x2f790f._0xd23fa5,-_0x2f790f._0x3633d5)],_0x4a0710['child']=null;}),this['entries']['set'](_0x5bb29e,_0x4a0710);function _0x371eba(_0x162455,_0x4c82ff,_0x5d8ba7,_0x44c912){return _0xf90728(_0x44c912,_0x4c82ff-0x4c,_0x5d8ba7-_0x2eae7c._0x1f411c,_0x44c912-0x6);}this['evictIfNeeded']();function _0x220368(_0x199e1a,_0x8b533f,_0x5b0b0e,_0x32f9d6){return _0xf90728(_0x5b0b0e,_0x8b533f-0x139,_0x8b533f-0x2b8,_0x32f9d6-_0x30727e._0x155195);}return _0x4a0710;}[_0xf90728(0x127,0x270,0x107,0x1c8)](_0x11fb38,_0xf04ba8){const _0x4bd0ac={_0x56a8fd:0x52c,_0x3fb1c3:0x3ec,_0x3dbd84:0x41c,_0x2c7b97:0x7b1,_0xf72941:0x5c1,_0x1f31c1:0xa3,_0x492f04:0xeb,_0x78ae75:0x204,_0x5a6261:0x69c,_0x268274:0x53e,_0xcfe833:0x557,_0x184d22:0x5ce,_0x4a83a1:0x21,_0x42c47e:0x1,_0x1e6b40:0x63,_0x21a67c:0x50,_0x11b951:0x19e,_0x31f078:0x11,_0x535442:0x7e,_0x191272:0x3ee,_0x2adb71:0x4fd,_0x2c3eb2:0x224,_0x2eb836:0x414,_0x48ce7b:0x577,_0x564065:0x3bd,_0x2a47bb:0x63f,_0x34edf0:0x498,_0x3f1847:0x532,_0x249be0:0x419,_0x41543d:0x29,_0x33e28a:0x202,_0x101d60:0x2a,_0x397d97:0x4cc,_0x56ca82:0x7b,_0x174569:0x12,_0x48574f:0x1d,_0x24b6a7:0xf3,_0x225dd9:0x156,_0x267846:0x3a,_0x47ae19:0xa2,_0x1e9000:0x93,_0x4d7dfc:0xcf,_0x1dad0a:0x71,_0x3b7c57:0x1cf,_0x218aad:0xa8,_0x248c1a:0x495,_0x4b8ee1:0x553,_0x3c293a:0xdc,_0x70df13:0x1be,_0xfb834c:0x2d,_0x21759c:0x689,_0x2a65e0:0x75a},_0x36fbd8={_0x342cb9:0xf},_0x3a5929={_0x273f8c:0x1c0,_0x12e8d2:0x677,_0x5a403e:0x51},_0x42938f=this[_0x3a957c(_0x4bd0ac._0x56a8fd,_0x4bd0ac._0x3fb1c3,_0x4bd0ac._0x3dbd84,0x607)]['get'](_0x11fb38);if(!_0x42938f)throw new ToolExecutionError(_0x3a957c(0x689,_0x4bd0ac._0x2c7b97,_0x4bd0ac._0xf72941,0x5df)+_0x11fb38,{'shellId':_0x11fb38});const _0x4e21d0=_0x42938f[_0x533a34(_0x4bd0ac._0x1f31c1,_0x4bd0ac._0x492f04,_0x4bd0ac._0x78ae75,0x1ac)][_0x3a957c(_0x4bd0ac._0x5a6261,_0x4bd0ac._0x268274,0x760,0x6f9)](''),_0x22bce8=Math['max'](_0x42938f[_0x3a957c(0x4a4,0x60a,0x43c,0x52f)],_0x42938f[_0x3a957c(_0x4bd0ac._0xcfe833,0x444,0x5ec,_0x4bd0ac._0x184d22)]),_0x1f1494=Math[_0x533a34(_0x4bd0ac._0x4a83a1,-_0x4bd0ac._0x42c47e,-_0x4bd0ac._0x1e6b40,0x102)](0x0,_0x42938f[_0x3a957c(0x557,0x562,0x6ce,0x5b4)]-_0x42938f['readCursor']);function _0x3a957c(_0x1539c1,_0x126c76,_0x6e31c,_0x3b1692){return _0x4d40c0(_0x1539c1-_0x3a5929._0x273f8c,_0x1539c1-_0x3a5929._0x12e8d2,_0x6e31c-_0x3a5929._0x5a403e,_0x3b1692);}const _0x4d1511=_0x4e21d0[_0x533a34(-0x7a,-0x185,_0x4bd0ac._0x21a67c,-_0x4bd0ac._0x11b951)](_0x22bce8-_0x42938f[_0x533a34(_0x4bd0ac._0x31f078,0x139,-_0x4bd0ac._0x535442,0xf8)]),_0x6db743=_0x42938f[_0x3a957c(0x54f,_0x4bd0ac._0x191272,0x59e,_0x4bd0ac._0x2adb71)]!==_0x533a34(0x14d,0x2ae,_0x4bd0ac._0x2c3eb2,0x6c);let _0x42c716;const _0x5854fe=_0xf04ba8?.[_0x3a957c(_0x4bd0ac._0x2eb836,0x37c,0x4f0,0x4f7)];function _0x533a34(_0x4889fa,_0x54c520,_0x3cfe52,_0x4864bb){return _0x4d40c0(_0x4889fa-_0x36fbd8._0x342cb9,_0x4889fa-0x131,_0x3cfe52-0xc,_0x4864bb);}if(!_0x5854fe)_0x42c716=_0x4d1511,_0x42938f['readCursor']=_0x42938f[_0x3a957c(0x4f9,_0x4bd0ac._0x48ce7b,0x3e7,_0x4bd0ac._0x564065)];else{let _0x31e14c;try{_0x31e14c=new RegExp(_0x5854fe);}catch(_0x47bc51){throw new ToolExecutionError(_0x3a957c(0x526,0x465,_0x4bd0ac._0x2a47bb,_0x4bd0ac._0x34edf0)+_0x47bc51[_0x3a957c(_0x4bd0ac._0x3f1847,_0x4bd0ac._0x249be0,0x51f,0x449)],{'shellId':_0x11fb38,'regex':_0x5854fe});}let _0x1a03a2=_0x4d1511;if(!_0x6db743){const _0x2d48a5=_0x4d1511[_0x533a34(0x13b,_0x4bd0ac._0x41543d,_0x4bd0ac._0x33e28a,-_0x4bd0ac._0x101d60)]('\x0a');_0x1a03a2=_0x2d48a5>=0x0?_0x4d1511[_0x3a957c(_0x4bd0ac._0x397d97,0x5c8,0x51f,0x635)](0x0,_0x2d48a5+0x1):'';}_0x42c716=_0x1a03a2[_0x533a34(0x9c,-_0x4bd0ac._0x56ca82,-_0x4bd0ac._0x174569,0xdf)]('\x0a')[_0x533a34(-_0x4bd0ac._0x48574f,0x147,-_0x4bd0ac._0x24b6a7,-0xe5)](_0x11dacf=>_0x31e14c[_0x3a957c(0x50b,0x3cd,0x5f3,0x671)](_0x11dacf))[_0x533a34(_0x4bd0ac._0x225dd9,0x13c,0x96,_0x4bd0ac._0x267846)]('\x0a'),_0x42938f[_0x533a34(-_0x4bd0ac._0x47ae19,-_0x4bd0ac._0x1e9000,-0x1df,_0x4bd0ac._0x4d7dfc)]=_0x22bce8+_0x1a03a2[_0x533a34(_0x4bd0ac._0x1dad0a,0x4a,_0x4bd0ac._0x3b7c57,-_0x4bd0ac._0x218aad)];}const _0x100dda=(_0x1f1494>0x0?_0x3a957c(_0x4bd0ac._0x248c1a,0x3ae,_0x4bd0ac._0x4b8ee1,0x417)+_0x1f1494+_0x533a34(0xf5,_0x4bd0ac._0x3c293a,_0x4bd0ac._0x70df13,-_0x4bd0ac._0xfb834c):'')+_0x42c716;return{'output':_0x100dda,'status':_0x42938f['status'],'exitCode':_0x42938f[_0x3a957c(0x55f,0x697,0x4d0,_0x4bd0ac._0x21759c)],'signal':_0x42938f[_0x3a957c(0x623,_0x4bd0ac._0x2a65e0,0x4d6,0x5f4)],'truncated':_0x1f1494>0x0};}[_0x4d40c0(-0x165,-0x16a,-0x1cc,-0x73)](){const _0x1154c3={_0xfa1a43:0x24,_0x1a7890:0xe2,_0x4c8fc9:0x3ef},_0x48fb0c={_0x207f0b:0x42},_0x63506c={_0x4cddbd:0x5b7};function _0x4cf6e7(_0xb5b5e6,_0x17ed54,_0x4718d9,_0x2cf7da){return _0x4d40c0(_0xb5b5e6-0x6e,_0x4718d9-_0x63506c._0x4cddbd,_0x4718d9-0x127,_0xb5b5e6);}function _0x4da8ea(_0x41afaf,_0x5a113c,_0x7258bd,_0x377fd8){return _0x4d40c0(_0x41afaf-0xa1,_0x377fd8-_0x48fb0c._0x207f0b,_0x7258bd-0x1d1,_0x41afaf);}return[...this[_0x4da8ea(-_0x1154c3._0xfa1a43,-_0x1154c3._0x1a7890,-0x176,-0x109)][_0x4cf6e7(_0x1154c3._0x4c8fc9,0x2e4,0x3a3,0x237)]()];}['kill'](_0xef86ca){const _0x2913ba={_0x2468f4:0x1cf,_0x185510:0x7c,_0x539e83:0x172,_0x3278ae:0x27,_0x4da051:0x127,_0x192417:0x29b,_0x48b5f7:0x14f,_0x2ddbdb:0x166,_0x3c40f5:0x55,_0xeafde1:0x33b,_0x580645:0x331,_0x41dc01:0x2ec,_0x57b1e7:0x36f,_0x4a0771:0x280,_0x5fe6d4:0x282,_0x54df81:0x3a4,_0x596cda:0x3c4,_0x3baf08:0x452,_0x153ead:0xdb,_0x15e571:0x484,_0x55f439:0x421,_0x5bf2d9:0x43c,_0x26efd7:0x5e4,_0x1f3aef:0x483},_0x27788d={_0x440c2a:0x40e},_0x39b85c={_0x37f576:0x16d};function _0x20c7d5(_0x3c1795,_0x473689,_0x549df5,_0x25fc0f){return _0xf90728(_0x473689,_0x473689-0x125,_0x25fc0f- -_0x39b85c._0x37f576,_0x25fc0f-0x82);}const _0x3d4dd5=this[_0x20c7d5(-0x17a,-_0x2913ba._0x2468f4,-_0x2913ba._0x185510,-_0x2913ba._0x539e83)]['get'](_0xef86ca);if(!_0x3d4dd5)throw new ToolExecutionError(_0x20c7d5(-0xff,_0x2913ba._0x3278ae,-_0x2913ba._0x4da051,-0x15)+_0xef86ca,{'shellId':_0xef86ca});function _0x2ea36d(_0x20aa95,_0x3c3cce,_0x3129ea,_0xd72d7d){return _0xf90728(_0x3c3cce,_0x3c3cce-0x1f2,_0xd72d7d-_0x27788d._0x440c2a,_0xd72d7d-0x11d);}if(_0x3d4dd5[_0x20c7d5(-_0x2913ba._0x192417,-0xe8,-0x1f3,-_0x2913ba._0x48b5f7)]===_0x20c7d5(0xcc,-_0x2913ba._0x2ddbdb,-_0x2913ba._0x3c40f5,-0xb)&&_0x3d4dd5[_0x2ea36d(0x223,0x423,0x4c2,0x36f)]&&!_0x3d4dd5[_0x2ea36d(0x40d,0x51d,0x5e5,0x4b9)]){_0x3d4dd5[_0x2ea36d(_0x2913ba._0xeafde1,0x44e,0x214,_0x2913ba._0x580645)]=!![];try{killProcessGroup(_0x3d4dd5[_0x2ea36d(0x2b1,_0x2913ba._0x41dc01,0x1fa,_0x2913ba._0x57b1e7)],process[_0x20c7d5(-_0x2913ba._0x4a0771,-0x22e,-0x3be,-_0x2913ba._0x5fe6d4)]===_0x2ea36d(_0x2913ba._0x54df81,_0x2913ba._0x596cda,_0x2913ba._0x3baf08,0x3b9));}catch{}}return{'status':_0x3d4dd5[_0x20c7d5(-0x13e,-0x1a0,-_0x2913ba._0x153ead,-0x14f)],'exitCode':_0x3d4dd5[_0x2ea36d(_0x2913ba._0x15e571,_0x2913ba._0x55f439,0x3c6,_0x2913ba._0x5bf2d9)],'signal':_0x3d4dd5[_0x2ea36d(_0x2913ba._0x26efd7,_0x2913ba._0x1f3aef,0x4d4,0x500)]};}async[_0xf90728(0x43,-0x197,-0x60,-0x1c8)](){const _0x2b080c={_0x51db53:0x14a,_0x557fe2:0x68e,_0x3e97f8:0x6b9,_0x5ee358:0x716,_0x5e6c92:0xe5,_0xea8a80:0x139,_0x100604:0x3a,_0x1ff5fd:0x65f,_0x34e1e8:0x6fb,_0x14e6be:0x579,_0x3a65ee:0x42a,_0x37478b:0x3b0,_0x33754e:0x4d7,_0x5b242c:0x10},_0x4f6e2e={_0x409472:0x4e},_0xd5dfd8={_0x313db0:0x65,_0x1278e8:0x4b};function _0x1bcf86(_0x10ffd9,_0x204e4f,_0x551f85,_0x5c50da){return _0xf90728(_0x10ffd9,_0x204e4f-0x110,_0x551f85-_0xd5dfd8._0x313db0,_0x5c50da-_0xd5dfd8._0x1278e8);}function _0x4e4a77(_0x1f8459,_0x2ba44c,_0x7dbe,_0x5bba3d){return _0xf90728(_0x2ba44c,_0x2ba44c-_0x4f6e2e._0x409472,_0x7dbe-0x5b4,_0x5bba3d-0xd4);}for(const _0x2a2ff4 of this['entries'][_0x4e4a77(0x61a,0x3b3,0x4e6,0x3d2)]()){if(_0x2a2ff4[_0x1bcf86(0xc0,_0x2b080c._0x51db53,0x83,0x188)]===_0x4e4a77(_0x2b080c._0x557fe2,_0x2b080c._0x3e97f8,_0x2b080c._0x5ee358,0x776)&&_0x2a2ff4[_0x1bcf86(_0x2b080c._0x5e6c92,_0x2b080c._0xea8a80,-_0x2b080c._0x100604,0xc8)]&&!_0x2a2ff4[_0x4e4a77(_0x2b080c._0x1ff5fd,_0x2b080c._0x34e1e8,_0x2b080c._0x1ff5fd,_0x2b080c._0x14e6be)]){_0x2a2ff4[_0x4e4a77(_0x2b080c._0x3a65ee,_0x2b080c._0x37478b,_0x2b080c._0x33754e,0x45a)]=!![];try{killProcessGroup(_0x2a2ff4[_0x4e4a77(0x598,0x522,0x515,0x502)],process['platform']===_0x1bcf86(0x121,0x94,_0x2b080c._0x5b242c,-0xd9));}catch{}}}}['append'](_0x8690e9,_0x25807a){const _0x596d8e={_0x11e43e:0x197,_0x47a9b9:0x1d5,_0x333e50:0x305,_0x3d6610:0x142,_0x5cc575:0xd2,_0xef0d63:0x1dc,_0x437cbb:0x3c8,_0x35d019:0x3e6,_0x471641:0x161,_0x357de1:0x4fd,_0x49240b:0x410,_0x1cb00b:0x530,_0x506c6b:0x3a6,_0x3c73bd:0x3f3,_0x5949b0:0x25b,_0x4acf9c:0x343,_0x2ad17b:0x582,_0x10b435:0x49a,_0x22a685:0x1fa,_0x40201b:0x104,_0x17ab2e:0x8b,_0x1fae69:0xa2,_0x3ef96b:0x190,_0x1c8044:0x2d7,_0x54d01e:0x164,_0x5a64e6:0x292,_0x1d3378:0x90,_0x52f1ec:0x30,_0x320634:0x59,_0x4e9d0e:0x4b,_0xdd46b6:0x224,_0x1c7068:0x3d5,_0x654ffd:0x412,_0x1312ac:0x4ac,_0x2cb0d2:0x46f,_0x147cce:0x513},_0x40f4eb={_0x16a655:0x18a,_0x4186c3:0x14b},_0x3cc34f={_0x508b5d:0x477};function _0x4748cb(_0x2f3ae5,_0x18f7e0,_0x41076b,_0x1f40c0){return _0xf90728(_0x41076b,_0x18f7e0-0x19b,_0x18f7e0-_0x3cc34f._0x508b5d,_0x1f40c0-0xb);}function _0x55c01f(_0x531624,_0x44f5c6,_0x4210f6,_0x47563d){return _0xf90728(_0x4210f6,_0x44f5c6-0x157,_0x44f5c6- -_0x40f4eb._0x16a655,_0x47563d-_0x40f4eb._0x4186c3);}const _0x2c1df0=_0x8690e9[_0x55c01f(-_0x596d8e._0x11e43e,-_0x596d8e._0x47a9b9,-0xbd,-_0x596d8e._0x333e50)]?stripAnsiAndControls(_0x25807a):_0x25807a;if(_0x2c1df0['length']===0x0)return;_0x8690e9[_0x55c01f(-_0x596d8e._0x3d6610,-_0x596d8e._0x5cc575,-_0x596d8e._0xef0d63,0x1b)][_0x4748cb(_0x596d8e._0x437cbb,0x3e5,_0x596d8e._0x35d019,0x3f7)](_0x2c1df0),_0x8690e9['bufferChars']+=_0x2c1df0['length'],_0x8690e9[_0x55c01f(-0x144,-0x1c2,-_0x596d8e._0x471641,-0x2ea)]+=_0x2c1df0[_0x4748cb(0x4b7,_0x596d8e._0x357de1,_0x596d8e._0x49240b,_0x596d8e._0x1cb00b)];while(_0x8690e9[_0x4748cb(0x41f,_0x596d8e._0x506c6b,0x2f3,_0x596d8e._0x3c73bd)]>this[_0x55c01f(0xd1,-0x7f,0x7b,-0x13a)]){const _0x17c305=_0x8690e9[_0x55c01f(-0x357,-_0x596d8e._0x5949b0,-_0x596d8e._0x4acf9c,-0x2c7)]-this[_0x4748cb(0x608,_0x596d8e._0x2ad17b,_0x596d8e._0x10b435,0x5c3)],_0xdf351=_0x8690e9[_0x4748cb(0x3e0,0x52f,0x5cc,0x40d)][0x0];_0xdf351[_0x55c01f(-_0x596d8e._0x22a685,-_0x596d8e._0x40201b,-0xad,-0x12d)]<=_0x17c305?(_0x8690e9[_0x55c01f(-_0x596d8e._0x17ab2e,-_0x596d8e._0x5cc575,-_0x596d8e._0x1fae69,-0x1a6)][_0x55c01f(-_0x596d8e._0x3ef96b,-0x159,-0x1ca,-0x2bb)](),_0x8690e9['bufferChars']-=_0xdf351['length'],_0x8690e9[_0x55c01f(-_0x596d8e._0x1c8044,-_0x596d8e._0x54d01e,-_0x596d8e._0x5a64e6,-0x1f8)]+=_0xdf351[_0x55c01f(-_0x596d8e._0x1d3378,-_0x596d8e._0x40201b,-_0x596d8e._0x52f1ec,-0x202)]):(_0x8690e9[_0x55c01f(_0x596d8e._0x320634,-0xd2,-_0x596d8e._0x4e9d0e,-_0x596d8e._0xdd46b6)][0x0]=_0xdf351[_0x4748cb(_0x596d8e._0x1c7068,_0x596d8e._0x654ffd,0x459,_0x596d8e._0x1312ac)](_0x17c305),_0x8690e9[_0x4748cb(_0x596d8e._0x2cb0d2,0x3a6,0x3c7,_0x596d8e._0x147cce)]-=_0x17c305,_0x8690e9['totalDropped']+=_0x17c305);}}['evictIfNeeded'](){const _0x3c0b38={_0x5a7894:0x306,_0x281b9c:0x33e,_0x2de620:0x3cd,_0x1d791c:0x233,_0x1c5e9c:0x450},_0x429721={_0x4f4a1a:0x71},_0x9a7761={_0x2af565:0x70};function _0x12aacb(_0x9291c2,_0x51be66,_0x5310bf,_0x552c51){return _0xf90728(_0x9291c2,_0x51be66-_0x9a7761._0x2af565,_0x552c51-0x54c,_0x552c51-0xf9);}if(this['entries'][_0x3a6ba3(_0x3c0b38._0x5a7894,_0x3c0b38._0x281b9c,_0x3c0b38._0x2de620,0x2ae)]<=this['maxEntries'])return;function _0x3a6ba3(_0x289d21,_0x3e1732,_0x50bc69,_0x978c54){return _0x4d40c0(_0x289d21-_0x429721._0x4f4a1a,_0x50bc69-0x443,_0x50bc69-0x87,_0x289d21);}for(const [_0x4d8cb3,_0x56728c]of this['entries']){if(_0x56728c[_0x3a6ba3(0x35e,0x37d,0x31b,_0x3c0b38._0x1d791c)]!=='running'){this[_0x3a6ba3(_0x3c0b38._0x1c5e9c,0x314,0x2f8,0x358)]['delete'](_0x4d8cb3);return;}}}};function createBashOutputTool(_0xe3eaba){const _0x2a25cf={_0x3d6655:0x10f,_0x426e7c:0x3a,_0x16a130:0x5f,_0x176314:0xf0,_0x23dfa5:0x4d5,_0x45c916:0x540,_0x2dd0e5:0x98},_0x37b0b4={_0x4277e3:0x242,_0x37a3ed:0xfd,_0x3b74cc:0x1f3,_0x327d70:0xa5,_0x13c23f:0x57,_0x1b29c9:0x209,_0x36317a:0x13f,_0x1b2ee8:0x1fc,_0x4d7311:0x238,_0x54df9f:0x286,_0x20c3df:0x18f,_0x16c27e:0x3e2,_0x237fff:0x412,_0x4be1e4:0x315},_0xe8132b={_0x4f1067:0x4b},_0x51375e={_0x587f7e:0x6b,_0x58de34:0x1fd,_0x314bab:0xc9},_0x52abd0={_0xa9befb:0xf4,_0x29b5c3:0x482,_0x625cad:0x14d},{registry:_0x18c72d}=_0xe3eaba;function _0x584754(_0x4e5c75,_0x3634eb,_0x37fd29,_0x58e560){return _0xf90728(_0x3634eb,_0x3634eb-_0x52abd0._0xa9befb,_0x4e5c75-_0x52abd0._0x29b5c3,_0x58e560-_0x52abd0._0x625cad);}function _0x4c8271(_0x485895,_0x24876e,_0x2cc597,_0x5e397b){return _0x4d40c0(_0x485895-_0x51375e._0x587f7e,_0x5e397b-_0x51375e._0x58de34,_0x2cc597-_0x51375e._0x314bab,_0x2cc597);}return defineTool({'name':'BashOutput','description':_0x4c8271(_0x2a25cf._0x3d6655,-_0x2a25cf._0x426e7c,_0x2a25cf._0x16a130,_0x2a25cf._0x176314),'inputSchema':{'type':_0x584754(_0x2a25cf._0x23dfa5,0x41c,0x382,_0x2a25cf._0x45c916),'properties':{'shellId':{'type':'string'},'regex':{'type':'string'}},'required':[_0x4c8271(-0xd,0x20,0xc5,-_0x2a25cf._0x2dd0e5)]},async *'execute'(_0x2439ab){const _0x8be919={_0x20c67b:0x1f4},_0x3a5ab=_0x18c72d['read'](_0x2439ab[_0x2a23df(0x143,_0x37b0b4._0x4277e3,0x1c9,0x13f)],_0x2439ab[_0x416ec8(0x2d,_0x37b0b4._0x37a3ed,0x105,_0x37b0b4._0x3b74cc)]?{'regex':_0x2439ab[_0x416ec8(_0x37b0b4._0x327d70,_0x37b0b4._0x37a3ed,0x186,_0x37b0b4._0x13c23f)]}:void 0x0);function _0x2a23df(_0x32fb97,_0x18ddbd,_0x5c8617,_0x493536){return _0x584754(_0x493536- -_0x8be919._0x20c67b,_0x5c8617,_0x5c8617-0x11e,_0x493536-0x92);}function _0x416ec8(_0xbd9057,_0x4fac30,_0x546934,_0x2139d2){return _0x4c8271(_0xbd9057-_0xe8132b._0x4f1067,_0x4fac30-0x9,_0xbd9057,_0x4fac30-0x163);}return createToolOutput(_0x3a5ab['output'],{'shellId':_0x2439ab[_0x2a23df(0x134,0x279,_0x37b0b4._0x1b29c9,_0x37b0b4._0x36317a)],'status':_0x3a5ab[_0x416ec8(_0x37b0b4._0x1b2ee8,_0x37b0b4._0x4d7311,0x363,_0x37b0b4._0x54df9f)],'exitCode':_0x3a5ab[_0x2a23df(_0x37b0b4._0x20c3df,_0x37b0b4._0x16c27e,0x275,0x2bc)],'signal':_0x3a5ab['signal'],'truncated':_0x3a5ab[_0x2a23df(_0x37b0b4._0x237fff,0x2bc,_0x37b0b4._0x4be1e4,0x34b)]});}});}import{spawn as _0x36db1b}from'child_process';import{statSync}from'fs';import*as _0x397118 from'os';import*as _0x460892 from'path';import{StringDecoder as _0x554971}from'string_decoder';import{stat}from'fs/promises';import*as _0x1cdc21 from'path';function isPathInside(_0x101a40,_0x4b69aa){const _0x4efe89={_0x57063c:0x4c4,_0x672ed9:0x182,_0x16afdd:0x2a2},_0x2f6722={_0x15a9e0:0x271},_0x473282={_0x5bc2d0:0x374,_0x17c840:0x17d},_0x295dd5=_0x1cdc21['resolve'](_0x101a40);function _0x490605(_0x41babe,_0x1ac7ad,_0x56e682,_0x13fed2){return _0xf90728(_0x13fed2,_0x1ac7ad-0x3c,_0x56e682-_0x473282._0x5bc2d0,_0x13fed2-_0x473282._0x17c840);}const _0x19e974=_0x1cdc21[_0x1579b4(0x3b6,0x2f3,0x4f9,_0x4efe89._0x57063c)](_0x295dd5,_0x4b69aa);function _0x1579b4(_0x46131c,_0x6fd206,_0x2bb44e,_0x2f25b2){return _0xf90728(_0x6fd206,_0x6fd206-0x70,_0x46131c-_0x2f6722._0x15a9e0,_0x2f25b2-0x155);}return _0x19e974===''||!_0x19e974['startsWith']('..')&&!_0x1cdc21[_0x490605(0x1e7,_0x4efe89._0x672ed9,_0x4efe89._0x16afdd,0x235)](_0x19e974);}function resolveWorkspacePath(_0x5c26ad,_0x4302f0){return resolveAllowedPath(_0x5c26ad,[],_0x4302f0);}function resolveAllowedPath(_0x2b2ea5,_0x28c9f6,_0x525cbc){const _0x1633a5={_0x4063f2:0x7c,_0xdc3e2f:0x19c,_0x2270a4:0x179,_0x11d696:0x137,_0x1ea739:0x72,_0x23ee97:0x185,_0x135acb:0x1f3,_0x18d959:0xc2},_0x18c0d4={_0x3cdd9e:0x96,_0x37992c:0x44},_0x6ecc9b={_0x5405cf:0xfd,_0x219e62:0x14},_0x1f949a=_0x1cdc21['resolve'](_0x2b2ea5),_0x1c9d89=_0x1cdc21[_0x424ae2(-_0x1633a5._0x4063f2,-_0x1633a5._0xdc3e2f,-0xd4,-_0x1633a5._0x2270a4)](_0x1f949a,_0x525cbc);function _0x39863e(_0x37f1a1,_0x2ba5bc,_0x143fff,_0x59c4b6){return _0xf90728(_0x59c4b6,_0x2ba5bc-0x166,_0x2ba5bc- -_0x6ecc9b._0x5405cf,_0x59c4b6-_0x6ecc9b._0x219e62);}const _0x28ef08=[_0x1f949a,..._0x28c9f6['map'](_0x2a5811=>_0x1cdc21[_0x424ae2(-0x193,-0x77,-0xd4,-0x22b)](_0x2a5811))];function _0x424ae2(_0x41ab01,_0x1d23df,_0x5542b7,_0x388df6){return _0xf90728(_0x1d23df,_0x1d23df-_0x18c0d4._0x3cdd9e,_0x5542b7- -_0x18c0d4._0x37992c,_0x388df6-0x196);}if(_0x28ef08[_0x424ae2(0xd7,-_0x1633a5._0x11d696,-_0x1633a5._0x1ea739,0x54)](_0x3fcffc=>isPathInside(_0x3fcffc,_0x1c9d89)))return _0x1c9d89;throw new ToolExecutionError(_0x424ae2(-_0x1633a5._0x23ee97,-_0x1633a5._0x135acb,-_0x1633a5._0x18d959,-0x17b)+_0x525cbc,{'path':_0x525cbc,'rootDir':_0x1f949a,'allowedDirs':_0x28ef08});}async function assertWorkspaceFile(_0x30865e){const _0x38c12f={_0x2cbe41:0x215,_0x15e00e:0x1de,_0x12f4e3:0x49e},_0x3a7ff8={_0x87938a:0x433,_0x38d0d9:0x179};function _0x3a16e9(_0x4f5d3a,_0x37a8ea,_0x445cc0,_0xe46a2){return _0x4d40c0(_0x4f5d3a-0x125,_0x37a8ea- -0x10,_0x445cc0-0x1cc,_0x4f5d3a);}function _0x1bd5fa(_0x23e016,_0x51842e,_0x55297e,_0x5d19d8){return _0x4d40c0(_0x23e016-0x83,_0x5d19d8-_0x3a7ff8._0x87938a,_0x55297e-_0x3a7ff8._0x38d0d9,_0x55297e);}const _0x404a5e=await stat(_0x30865e);if(!_0x404a5e[_0x1bd5fa(0x122,_0x38c12f._0x2cbe41,0x2bc,_0x38c12f._0x15e00e)]())throw new ToolExecutionError(_0x1bd5fa(0x35f,0x43e,_0x38c12f._0x12f4e3,0x3ea)+_0x30865e,{'path':_0x30865e});}function isProbablyBinary(_0x4f0c7d){const _0x5bb872={_0x13adb4:0xf4,_0x220808:0x21b},_0x1f8c91={_0x57a33e:0x16a,_0xd8951f:0x103};function _0x406b89(_0x58d406,_0x1ad1f9,_0x41c3a8,_0x2ad83b){return _0xf90728(_0x58d406,_0x1ad1f9-_0x1f8c91._0x57a33e,_0x2ad83b-0x30d,_0x2ad83b-_0x1f8c91._0xd8951f);}return _0x4f0c7d[_0x406b89(_0x5bb872._0x13adb4,0x35b,0x22e,_0x5bb872._0x220808)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION='Execute\x20a\x20shell\x20command\x20with\x20timeout\x20protection.\x20Captures\x20stdout\x20and\x20stderr.\x20Do\x20not\x20use\x20for\x20interactive\x20commands\x20that\x20require\x20user\x20input.\x20Do\x20not\x20use\x20for\x20reading\x20files\x20(use\x20FileRead\x20instead).\x20Set\x20runInBackground:true\x20for\x20long-running\x20commands\x20(servers,\x20watchers):\x20it\x20returns\x20a\x20shellId\x20immediately\x20—\x20read\x20output\x20with\x20BashOutput\x20and\x20stop\x20it\x20with\x20KillShell.\x20DO\x20NOT\x20USE\x20BASH\x20TOOL\x20for\x20read\x20file\x20use\x20FileRead.\x20You\x20MUST\x20provide\x20a\x20concise\x20`description`\x20explaining\x20what\x20the\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20(the\x20goal\x20it\x20advances)\x20—\x20it\x20is\x20shown\x20to\x20the\x20user\x20for\x20transparency\x20before\x20execution.\x20The\x20default\x20timeout\x20is\x20'+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x272d45,_0xd1bd73){const _0x3cceb6={_0x4a450d:0x31a,_0x1cc72a:0x331,_0x34c8af:0x14a,_0x5a8280:0x390,_0x214cfd:0x1c0,_0xbb93a2:0x24f,_0x313d74:0x1aa,_0x4d039b:0x1e1,_0x17c2b3:0x2f2},_0x1382e2={_0x4720a1:0xd1},_0x36aaf6={_0xeae64f:0x75},_0x4c089c={...process[_0x25fc71(0x470,0x3d6,0x2a0,_0x3cceb6._0x4a450d)],..._0x272d45??{}};function _0x25fc71(_0xd97c18,_0x172562,_0x1a3ebd,_0x2666fa){return _0xf90728(_0x2666fa,_0x172562-_0x36aaf6._0xeae64f,_0x172562-0x2d1,_0x2666fa-0x8b);}if(_0xd1bd73[_0x5094b9(-0x19f,0x98,-0x4b,0x87)]===0x0)return _0x4c089c;function _0x5094b9(_0x3232af,_0x5903e8,_0x10047f,_0x247b7a){return _0xf90728(_0x3232af,_0x5903e8-0x189,_0x10047f- -_0x1382e2._0x4720a1,_0x247b7a-0xa1);}if(_0x397118[_0x5094b9(-_0x3cceb6._0x1cc72a,-_0x3cceb6._0x34c8af,-0x1e6,-0x20d)]()==='win32'){const _0x4b7144=new Set(_0xd1bd73[_0x25fc71(0x2ff,0x423,0x451,_0x3cceb6._0x5a8280)](_0x360f3a=>_0x360f3a['toLowerCase']()));for(const _0x369d5a of Object[_0x5094b9(-0xd2,-_0x3cceb6._0x214cfd,-0x1fd,-_0x3cceb6._0xbb93a2)](_0x4c089c)){if(_0x4b7144[_0x5094b9(-0x186,-0x197,-0x156,-0x2)](_0x369d5a[_0x25fc71(_0x3cceb6._0x313d74,_0x3cceb6._0x4d039b,_0x3cceb6._0x17c2b3,0x1f6)]()))delete _0x4c089c[_0x369d5a];}}else{for(const _0x51a3ac of _0xd1bd73)delete _0x4c089c[_0x51a3ac];}return _0x4c089c;}function mapSpawnError(_0x4305ca,_0x3832d1){const _0x53c3f7={_0x12a0ae:0x3f6,_0x57c5e5:0x50d,_0x3b3a7f:0x6a,_0x2fd3b4:0x25,_0xcd5e78:0x494,_0x20f02d:0x16b,_0xcb3a2a:0x1bf,_0x2ff55c:0x15a},_0x4e8330={_0x209a82:0x3cb,_0x7d9fb1:0x27},_0x49f184={_0x2fd036:0xa5};function _0x5cdde1(_0x910256,_0x30357a,_0x3a7baf,_0xa242b){return _0x4d40c0(_0x910256-0x2d,_0xa242b-_0x49f184._0x2fd036,_0x3a7baf-0x5,_0x910256);}if(isErrnoException(_0x4305ca)&&_0x4305ca[_0x1b9c9b(0x52e,0x396,_0x53c3f7._0x12a0ae,_0x53c3f7._0x57c5e5)]==='ENOENT')return new ToolExecutionError(_0x5cdde1(_0x53c3f7._0x3b3a7f,0x22,-0xf1,_0x53c3f7._0x2fd3b4)+_0x3832d1[_0x1b9c9b(0x60e,_0x53c3f7._0xcd5e78,0x403,0x4a2)],_0x3832d1);function _0x1b9c9b(_0x3db9b1,_0x3a6890,_0x51c285,_0x6c638b){return _0xf90728(_0x3a6890,_0x3a6890-0x1a9,_0x6c638b-_0x4e8330._0x209a82,_0x6c638b-_0x4e8330._0x7d9fb1);}return new ToolExecutionError(_0x4305ca instanceof Error?_0x4305ca[_0x5cdde1(-_0x53c3f7._0x20f02d,-_0x53c3f7._0xcb3a2a,-_0x53c3f7._0x2ff55c,-0xa0)]:String(_0x4305ca),_0x3832d1);}function shellExists(_0x5d172a){try{const _0x585425=statSync(_0x5d172a);return _0x585425['isFile']()&&(_0x585425['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x11e2c9){const _0x375d21={_0x122c7a:0x25f,_0x3a63ae:0x219,_0x489bae:0x1ff,_0x1c7641:0x29d,_0x3fef49:0x412,_0x13fa58:0x444,_0x1ad4f9:0x305,_0x12024a:0x2e4,_0x129464:0x3f1,_0x6b8322:0x445,_0x27fc67:0x255,_0x68fd82:0x289,_0x273a48:0x5b5,_0x19e652:0x420,_0x36fdb5:0x547,_0x998e70:0x540},_0x59e4b2={_0x419094:0x33f};if(_0x11e2c9)return _0x11e2c9;function _0x106147(_0x53a262,_0x2b0436,_0x43a02e,_0x5b7e4a){return _0xf90728(_0x5b7e4a,_0x2b0436-0xee,_0x53a262-_0x59e4b2._0x419094,_0x5b7e4a-0x29);}if(_0x397118[_0x106147(0x22a,_0x375d21._0x122c7a,_0x375d21._0x3a63ae,0x213)]()===_0x106147(0x2ea,_0x375d21._0x489bae,_0x375d21._0x1c7641,_0x375d21._0x3fef49))return process[_0x106147(_0x375d21._0x13fa58,_0x375d21._0x1ad4f9,0x32f,0x5af)]['ComSpec']||_0x106147(_0x375d21._0x12024a,0x1ca,0x27a,_0x375d21._0x129464);const _0xfe1013=[_0x106147(_0x375d21._0x6b8322,0x3aa,0x2f5,0x56f),'/bin/sh',_0x106147(0x20e,0x313,0x122,_0x375d21._0x27fc67),_0x106147(_0x375d21._0x68fd82,0x1bd,0x16b,0x38a)];function _0x423e1c(_0x40b030,_0x5733b2,_0xa64fc1,_0x4e0696){return _0xf90728(_0x40b030,_0x5733b2-0x8f,_0xa64fc1-0x4e1,_0x4e0696-0x1dc);}for(const _0x5a8d5c of _0xfe1013){if(shellExists(_0x5a8d5c))return _0x5a8d5c;}const _0x44616=process[_0x106147(0x444,_0x375d21._0x273a48,0x457,_0x375d21._0x19e652)]['SHELL'];if(_0x44616&&shellExists(_0x44616))return _0x44616;return _0x106147(0x445,_0x375d21._0x36fdb5,_0x375d21._0x998e70,0x4f8);}function buildShellArgs(_0x4c8d24,_0x5387d4){const _0x5ec52a={_0xe6a0bc:0x8f,_0x715a09:0x16,_0x314376:0x179,_0xc4b2a4:0x344,_0x58e378:0x1e5,_0x461b7f:0x2d4,_0x541f72:0x2b7},_0xcea069={_0x825d8:0x2d,_0xc244ca:0x10},_0x541b56={_0x3245bb:0x380,_0x74720d:0x37};function _0x2e8d40(_0xb39395,_0x5c825d,_0x14b4d7,_0x47c9df){return _0x4d40c0(_0xb39395-0x180,_0x47c9df-_0x541b56._0x3245bb,_0x14b4d7-_0x541b56._0x74720d,_0x14b4d7);}if(_0x397118[_0x58113c(-0x20,-_0x5ec52a._0xe6a0bc,0x14a,-_0x5ec52a._0x715a09)]()===_0x2e8d40(_0x5ec52a._0x314376,0x12e,_0x5ec52a._0xc4b2a4,_0x5ec52a._0x58e378)){const _0x116feb=/cmd(\.exe)?$/i['test'](_0x5387d4);return _0x116feb?['/d','/s','/c',_0x4c8d24]:['-NoLogo',_0x2e8d40(0x2e6,0x299,_0x5ec52a._0x461b7f,_0x5ec52a._0x541f72),'-Command',_0x4c8d24];}function _0x58113c(_0x2ab569,_0x317a43,_0x57006f,_0x1d5520){return _0x4d40c0(_0x2ab569-_0xcea069._0x825d8,_0x2ab569-0x23b,_0x57006f-_0xcea069._0xc244ca,_0x57006f);}return['-c',_0x4c8d24];}function resolveWorkingDirectory(_0x31933b,_0x387682,_0x52738e){const _0x14a8e1={_0x446979:0x5b},_0x58b13a={_0x4a1bd5:0x3},_0x54a745={_0x2e6fcd:0xa5,_0xcc1d3e:0xd3};function _0x27f69e(_0x2c173b,_0xd0c6ab,_0x1835ae,_0x2dd2b0){return _0xf90728(_0x2c173b,_0xd0c6ab-0xc3,_0x1835ae-_0x54a745._0x2e6fcd,_0x2dd2b0-_0x54a745._0xcc1d3e);}const _0x23650f=resolveAllowedPath(_0x387682,_0x52738e,_0x31933b??'.');function _0x2108af(_0x129d86,_0x3dd69a,_0x3b731b,_0x508da5){return _0x4d40c0(_0x129d86-0x137,_0x129d86-0x3d4,_0x3b731b-_0x58b13a._0x4a1bd5,_0x508da5);}try{const _0x40cd87=statSync(_0x23650f);if(!_0x40cd87[_0x2108af(0x34a,0x1e7,0x251,0x34a)]())throw new ToolExecutionError(_0x27f69e(0x5,0x5c,0x143,_0x14a8e1._0x446979)+_0x23650f,{'cwd':_0x23650f});return _0x23650f;}catch(_0x4771ac){if(_0x4771ac instanceof ToolExecutionError)throw _0x4771ac;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x23650f,{'cwd':_0x23650f});}}function appendChunk(_0x5cebeb,_0x3a0a24,_0x5ea55c,_0x57d8af,_0x5790b4){const _0x4a6b85={_0x1a0065:0x8,_0x5560ed:0x6f,_0x51088d:0x143},_0x24744e={_0x4926f3:0x1e0,_0x5368da:0x99},_0x2dce75={_0x390709:0x27d};function _0x5040d6(_0x14ea39,_0x15752b,_0x4ee46d,_0x167590){return _0xf90728(_0x167590,_0x15752b-0x18f,_0x4ee46d-_0x2dce75._0x390709,_0x167590-0x114);}const _0x1ae1d0=_0x57d8af?stripAnsiAndControls(_0x5ea55c):_0x5ea55c;function _0x22b14c(_0x5dcf67,_0x1e45dd,_0x2fa7d3,_0xc17b14){return _0x4d40c0(_0x5dcf67-0x1d5,_0x5dcf67-_0x24744e._0x4926f3,_0x2fa7d3-_0x24744e._0x5368da,_0xc17b14);}if(_0x1ae1d0[_0x22b14c(0x120,0x118,0x1b6,0x276)]===0x0)return;_0x5cebeb['push'](_0x1ae1d0),_0x3a0a24[_0x22b14c(_0x4a6b85._0x1a0065,0x73,_0x4a6b85._0x5560ed,_0x4a6b85._0x51088d)](_0x1ae1d0),_0x5790b4();}function createBashTool(_0x5e60ef={}){const _0x1ed31e={_0x4501f7:0x1a2,_0x2a5558:0x1b0,_0x230847:0x383,_0x4d2e1e:0x2ea,_0x3f242d:0x2c3,_0x48239f:0x560,_0x51cb6c:0x4e2,_0x243c17:0x2ed,_0x5051aa:0x1e7,_0x1f283f:0x28e,_0x126688:0x171,_0x22795b:0x2a6,_0x1b5b67:0x32d,_0x59f991:0x3b6,_0x459920:0x5b3,_0x5a11a5:0x316,_0x5a12c4:0x480,_0x27e00e:0x537,_0x58b7e6:0x50f,_0x3fe33d:0x5b7,_0x1b4cf7:0x559,_0x23ff4e:0x50e,_0x44dce5:0x405,_0x597b7b:0x18d,_0x96b436:0x25c,_0x88ca46:0x480,_0x52d458:0x46c,_0x445ca5:0x3a2},_0x4b0ce9={_0x5c4213:0x288,_0x5aea53:0x39,_0x1f87ed:0xdb,_0x54072d:0x1fc,_0x10dac6:0x273,_0x568532:0x319,_0xe8c7fd:0x203,_0x565a8c:0x147,_0x1013fe:0x56,_0x1e9399:0x2af,_0x443baf:0x1ad,_0xbf8f91:0x90,_0x5f5b2d:0x247,_0x144005:0x1c6,_0x21d5cb:0x1c9,_0x49afde:0x9f,_0x429da6:0x1c8,_0x40c292:0x84,_0x21355b:0x67,_0x1cbd37:0x7d,_0x2d74a1:0x175,_0x479094:0x98,_0x43c4d:0x1c1,_0x406338:0x1fe,_0x3b4f58:0x1a,_0x55e1e9:0x5a,_0x491d91:0x6,_0x45e66a:0xdc,_0xa89c8b:0x6f,_0x3ab886:0x10e,_0x27a7d5:0x1fa,_0x3b5756:0x188,_0x2bd018:0xb5,_0x5c13e6:0x412,_0x31ea16:0x3a9,_0x4277e9:0x29,_0x9c9a6f:0x136,_0x3e3ce0:0x97,_0x5a9a20:0x141,_0x3e0fd3:0xd,_0x3a80f7:0x23e,_0x30dadd:0x262,_0x220e35:0x226,_0x21cf7d:0xda,_0x446692:0x17c,_0x1e2c88:0x126,_0x6edd8e:0x12f,_0xe68e9e:0x1c3,_0x5f1219:0x1b2,_0x35cb1f:0x1db,_0x335763:0x109,_0x2c193f:0x30d,_0x72ac40:0x9d,_0x4fa8ad:0x17,_0x253369:0x59,_0x58c414:0x96,_0x3c6f30:0x14b,_0x42f4f5:0x1ca,_0x5023ae:0x324,_0x10cd2e:0x2b4,_0x3a41aa:0x31e,_0x46a5d9:0xbd,_0x4de1d5:0x240,_0x275be1:0xbc,_0x80fe2c:0x1bb,_0x1b097a:0x106,_0xddf37d:0x21a,_0x350fea:0x345,_0x42bf45:0x46a,_0xea42c1:0x1c8,_0x58d51e:0x1af,_0x589c7e:0x15c,_0x3e5aad:0x28d,_0x2127c1:0x107,_0x58e452:0x46,_0x362571:0x7c,_0x151905:0x3cd,_0x41c3d5:0x30f,_0x105a7f:0xe6,_0x1927fe:0x2ca,_0x48ac29:0x335,_0x42fc36:0x409,_0x4161b4:0x2f5,_0x293fda:0x1ba,_0x18cea7:0x273,_0x3c1eb0:0x237,_0x869df9:0x218,_0x1bb94e:0x25b,_0x370059:0x2f7,_0x184aeb:0x12f,_0x31bbcd:0x18a,_0x4cda6d:0x26f,_0x3af518:0xc6,_0xcf868f:0x326,_0xe19f43:0x1e4,_0x383254:0x174,_0x8d0441:0x17c,_0xc7baac:0x156,_0x23bc60:0xc9,_0x252430:0xae,_0x3f9970:0x60,_0x3045d8:0x1bc},_0x3a534b={_0x5e3c9e:0x24c,_0x705727:0x534,_0x3380c9:0x431,_0x504828:0x406,_0x11a6c2:0x322},_0x321079={_0x2726b9:0x1e9},_0x4477c0={_0x3982f7:0x31},_0x5b15d8={_0x2b67ce:0x3a,_0x4f2903:0x232},_0x3d62ae={_0x8d4ec3:0x4e4,_0x31441e:0x13c},_0x5f321b=_0x460892[_0x7e325d(0x6d,0xf4,_0x1ed31e._0x4501f7,0x193)](_0x5e60ef['defaultCwd']??process[_0x7e325d(_0x1ed31e._0x2a5558,_0x1ed31e._0x230847,0x282,0x243)]()),_0x4180ba=_0x5e60ef[_0x7e325d(_0x1ed31e._0x4d2e1e,0x27d,_0x1ed31e._0x3f242d,0x3e1)]??[],_0x439e4e=_0x5e60ef[_0x14a035(_0x1ed31e._0x48239f,0x597,0x4a2,_0x1ed31e._0x51cb6c)]??DEFAULT_TIMEOUT_MS,_0x1a6a03=_0x5e60ef[_0x7e325d(_0x1ed31e._0x243c17,0x14b,_0x1ed31e._0x5051aa,_0x1ed31e._0x1f283f)]??!![];function _0x14a035(_0x14b86b,_0x4a53b0,_0x4a2d16,_0x87259d){return _0xf90728(_0x14b86b,_0x4a53b0-0x2e,_0x4a53b0-_0x3d62ae._0x8d4ec3,_0x87259d-_0x3d62ae._0x31441e);}const _0x5c9881=_0x5e60ef[_0x7e325d(0x9b,0x2,_0x1ed31e._0x126688,_0x1ed31e._0x22795b)]??_0x14a035(_0x1ed31e._0x1b5b67,_0x1ed31e._0x59f991,0x4ed,0x424);function _0x7e325d(_0xd9166b,_0x173865,_0x3bb357,_0x48ad4c){return _0xf90728(_0x173865,_0x173865-_0x5b15d8._0x2b67ce,_0x3bb357-_0x5b15d8._0x4f2903,_0x48ad4c-0x10a);}const _0x1e84ae=_0x5e60ef[_0x14a035(0x62b,_0x1ed31e._0x459920,0x49d,0x700)]??[],_0x4a7427=_0x5e60ef['backgroundRegistry'];return defineTool({'name':_0x5c9881,'description':_0x5e60ef[_0x14a035(_0x1ed31e._0x5a11a5,_0x1ed31e._0x5a12c4,0x43c,0x3f5)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x14a035(0x462,_0x1ed31e._0x27e00e,_0x1ed31e._0x58b7e6,_0x1ed31e._0x3fe33d),'properties':{'command':{'type':_0x14a035(0x4b0,0x50e,0x46b,_0x1ed31e._0x1b4cf7)},'description':{'type':_0x14a035(0x5b9,_0x1ed31e._0x23ff4e,_0x1ed31e._0x44dce5,0x60e),'description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20execution.\x20Be\x20specific,\x20e.g.\x20\x27Run\x20the\x20auth\x20tests\x20to\x20verify\x20the\x20token-refresh\x20fix\x27\x20rather\x20than\x20\x27run\x20tests\x27.'},'cwd':{'type':_0x7e325d(0x28d,_0x1ed31e._0x597b7b,_0x1ed31e._0x96b436,0x347)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':'boolean'}},'required':['command',_0x14a035(0x428,_0x1ed31e._0x88ca46,_0x1ed31e._0x52d458,_0x1ed31e._0x445ca5)]},async *'execute'(_0x1a13f1,_0x35d387){const _0x4e55a8={_0x292829:0x4c4,_0x3f6b51:0x3e7,_0x29f01d:0x3eb,_0x396e22:0x168,_0x57b07c:0x54a},_0x55bcdb={_0x31c86a:0x2c,_0x2f4349:0xaa},_0x2b9e4e={_0x2e53d7:0x576,_0x51f8ef:0x55f,_0xbb61ed:0x5f0,_0x53ea69:0x477,_0x50e495:0x671,_0x483855:0x58e,_0x505d20:0x45a},_0x77a9ff={_0x39be56:0x40b,_0x5684a2:0x2ac,_0xdfd0d2:0x239},_0x45ac63={_0x314aca:0x60,_0x46749a:0x127},_0x2cf980={_0x41fd69:0xa5},_0x369131={_0x504f6c:0x664,_0x5eade4:0x502,_0x2eabfd:0x50d},_0x1d1cff={_0x354450:0x3b2},_0x926922=_0x1a13f1['timeoutMs']??_0x439e4e;if(!Number[_0x3fecf5(_0x4b0ce9._0x5c4213,_0x4b0ce9._0x5aea53,0x16e,0x191)](_0x926922)||_0x926922<0x1)throw new ToolExecutionError(_0x57c823(-0x82,-0x1b2,_0x4b0ce9._0x1f87ed,0xe7),{'command':_0x1a13f1['command']});function _0x57c823(_0x30704b,_0x5c0eec,_0x2fd2e2,_0x3e6f6c){return _0x7e325d(_0x30704b-_0x4477c0._0x3982f7,_0x5c0eec,_0x30704b- -0x15c,_0x3e6f6c-0x6);}throwIfAborted(_0x35d387[_0x57c823(0x1c8,0x137,0x2cc,0x30c)]);const _0x556f73=resolveWorkingDirectory(_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x54072d,_0x4b0ce9._0x10dac6,_0x4b0ce9._0x568532,_0x4b0ce9._0xe8c7fd)],_0x5f321b,_0x4180ba),_0x311695=_0x1a13f1[_0x57c823(_0x4b0ce9._0x565a8c,_0x4b0ce9._0x1013fe,_0x4b0ce9._0x1e9399,0x12c)]??![],_0x2c84f=resolveDefaultShell(_0x5e60ef[_0x57c823(_0x4b0ce9._0x443baf,_0x4b0ce9._0xbf8f91,_0x4b0ce9._0x5f5b2d,0x243)]),_0x4fe3bb=buildShellArgs(_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x144005,0x2b9,0x2c6,0x17c)],_0x2c84f),_0x3d07cb=_0x397118[_0x3fecf5(0xd7,-0x10,0x82,0x9e)]()===_0x57c823(0x81,0x1e9,_0x4b0ce9._0x21d5cb,0x163);if(_0x1a13f1['runInBackground']){if(!_0x4a7427)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x1a13f1[_0x57c823(_0x4b0ce9._0x49afde,0x1d8,0x50,-0xb)]});throwIfAborted(_0x35d387[_0x57c823(_0x4b0ce9._0x429da6,0x108,0x1f7,0x340)]);let _0x59616e;try{_0x59616e=_0x36db1b(_0x2c84f,_0x4fe3bb,{'cwd':_0x556f73,'env':buildChildEnv(_0x5e60ef['env'],_0x1e84ae),'stdio':[_0x57c823(-_0x4b0ce9._0x40c292,-0x139,0xa7,-_0x4b0ce9._0x21355b),_0x3fecf5(_0x4b0ce9._0x1cbd37,0xeb,0xc5,_0x4b0ce9._0x2d74a1),_0x57c823(_0x4b0ce9._0x479094,0x159,0x1b0,0x193)],'shell':![],'windowsHide':!![],'detached':!_0x3d07cb});}catch(_0x5be893){throw mapSpawnError(_0x5be893,{'command':_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x43c4d,_0x4b0ce9._0x406338,0x2a4,0x17c)],'cwd':_0x556f73,'shellPath':_0x2c84f});}let _0x59c69b;try{_0x59c69b=_0x4a7427['spawn']({'child':_0x59616e,'command':_0x1a13f1[_0x57c823(_0x4b0ce9._0x49afde,_0x4b0ce9._0x3b4f58,_0x4b0ce9._0x55e1e9,_0x4b0ce9._0x491d91)],'cwd':_0x556f73,'stripAnsi':_0x1a6a03});}catch(_0x427656){_0x59616e['once'](_0x3fecf5(_0x4b0ce9._0x2d74a1,0x134,0x13a,0x1e3),()=>{});try{killProcessGroup(_0x59616e,_0x3d07cb);}catch{}throw _0x427656;}return createToolOutput(_0x3fecf5(_0x4b0ce9._0x45e66a,0xb5,_0x4b0ce9._0xa89c8b,0x100)+_0x59c69b[_0x3fecf5(0x7e,0xe6,-_0x4b0ce9._0x3ab886,0x64)]+_0x57c823(-_0x4b0ce9._0xbf8f91,-_0x4b0ce9._0x27a7d5,-_0x4b0ce9._0x3b5756,_0x4b0ce9._0x2bd018)+(_0x59c69b[_0x3fecf5(0x349,_0x4b0ce9._0x5c13e6,_0x4b0ce9._0x31ea16,0x2a0)]??'?')+_0x57c823(_0x4b0ce9._0x4277e9,-_0x4b0ce9._0x9c9a6f,_0x4b0ce9._0x3e3ce0,-_0x4b0ce9._0x5a9a20),{'shellId':_0x59c69b['shellId'],'status':_0x59c69b[_0x57c823(0xf4,-_0x4b0ce9._0x3e0fd3,-_0x4b0ce9._0x1cbd37,_0x4b0ce9._0x3a80f7)],'command':_0x59c69b[_0x3fecf5(_0x4b0ce9._0x30dadd,_0x4b0ce9._0x220e35,_0x4b0ce9._0x21cf7d,_0x4b0ce9._0x446692)],'description':_0x1a13f1[_0x3fecf5(0xf0,0x13,0x252,0x14f)],'cwd':_0x59c69b[_0x57c823(_0x4b0ce9._0x1e2c88,_0x4b0ce9._0x6edd8e,0x1ae,0x92)],'pid':_0x59c69b[_0x57c823(_0x4b0ce9._0xe68e9e,0x22d,0x110,_0x4b0ce9._0x5f1219)]??null});}let _0x59797b;try{_0x59797b=_0x36db1b(_0x2c84f,_0x4fe3bb,{'cwd':_0x556f73,'env':buildChildEnv(_0x5e60ef[_0x57c823(_0x4b0ce9._0x35cb1f,_0x4b0ce9._0x335763,0xf9,_0x4b0ce9._0x2c193f)],_0x1e84ae),'stdio':_0x311695?[_0x3fecf5(0x80,_0x4b0ce9._0x72ac40,-_0x4b0ce9._0x4fa8ad,_0x4b0ce9._0x253369),'ignore',_0x3fecf5(-0x73,-0xa0,0x195,_0x4b0ce9._0x253369)]:[_0x57c823(-_0x4b0ce9._0x40c292,-0x65,-0xf,_0x4b0ce9._0x58c414),_0x57c823(_0x4b0ce9._0x479094,0x27,_0x4b0ce9._0x3c6f30,0xa2),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x3d07cb});}catch(_0x56f00d){throw mapSpawnError(_0x56f00d,{'command':_0x1a13f1['command'],'cwd':_0x556f73,'shellPath':_0x2c84f});}const _0x339b2c=[];function _0x3fecf5(_0x4ebb43,_0x325292,_0xe8bdc6,_0x4b80b7){return _0x14a035(_0x325292,_0x4b80b7- -0x331,_0xe8bdc6-0x12d,_0x4b80b7-_0x321079._0x2726b9);}const _0x504565=[],_0x45b79=new _0x554971(_0x3fecf5(_0x4b0ce9._0x1e9399,_0x4b0ce9._0x42f4f5,0x35e,_0x4b0ce9._0x5023ae)),_0x9b7c86=new _0x554971(_0x3fecf5(0x38c,_0x4b0ce9._0x10cd2e,_0x4b0ce9._0x3a41aa,_0x4b0ce9._0x5023ae));let _0x491b61,_0x5c3100=![],_0x25e01c;const _0x228fb9=()=>{if(!_0x491b61)return;const _0x1d0901=_0x491b61;_0x491b61=void 0x0,_0x1d0901();},_0x54021c=async()=>{if(_0x504565['length']>0x0||_0x5c3100)return;await new Promise(_0x1a0a22=>{_0x491b61=_0x1a0a22;});},_0x2c45d9=_0x1dc748=>{function _0x3be4a3(_0x347b35,_0x2bee55,_0x42bf96,_0x3e99eb){return _0x3fecf5(_0x347b35-0x150,_0x2bee55,_0x42bf96-0x1c,_0x42bf96-_0x1d1cff._0x354450);}appendChunk(_0x339b2c,_0x504565,_0x45b79[_0x3be4a3(_0x369131._0x504f6c,_0x369131._0x5eade4,_0x369131._0x2eabfd,0x59d)](_0x1dc748),_0x1a6a03,_0x228fb9);},_0x3f35cd=_0xa3752b=>{function _0x451a65(_0x1e5d28,_0x38be6b,_0x366748,_0x52835b){return _0x57c823(_0x366748-0x95,_0x38be6b,_0x366748-0x12e,_0x52835b-_0x2cf980._0x41fd69);}appendChunk(_0x339b2c,_0x504565,_0x9b7c86[_0x451a65(-_0x45ac63._0x314aca,0x122,0x113,_0x45ac63._0x46749a)](_0xa3752b),_0x1a6a03,_0x228fb9);};_0x59797b[_0x57c823(0x12d,_0x4b0ce9._0x46a5d9,_0x4b0ce9._0x4de1d5,_0x4b0ce9._0x275be1)]?.['on']('data',_0x2c45d9),_0x59797b[_0x57c823(0x1f7,_0x4b0ce9._0x80fe2c,_0x4b0ce9._0x1b097a,_0x4b0ce9._0xddf37d)]?.['on'](_0x3fecf5(_0x4b0ce9._0x350fea,_0x4b0ce9._0x42bf45,0x280,0x2fd),_0x3f35cd);let _0x31433b=![],_0x94ba99;const _0x3da171=addAbortListener(_0x35d387[_0x57c823(_0x4b0ce9._0xea42c1,0x27e,_0x4b0ce9._0x58d51e,0x1a9)],()=>{const _0x263072={_0x235fc0:0x33a,_0x194384:0x8d};_0x25e01c=toAbortError(_0x35d387['signal'][_0x4170b1(_0x77a9ff._0x39be56,0x2b0,_0x77a9ff._0x5684a2,_0x77a9ff._0xdfd0d2)]);function _0x4170b1(_0x3e9939,_0xdf4156,_0x1965f8,_0x18b3c5){return _0x57c823(_0x1965f8-_0x263072._0x235fc0,_0x3e9939,_0x1965f8-0x5,_0x18b3c5-_0x263072._0x194384);}_0x5c3100=!![],_0x228fb9();try{killProcessGroup(_0x59797b,_0x3d07cb);}catch{}});try{const _0x4afbcb=new Promise((_0x5ce88b,_0x2ece88)=>{const _0x303c57={_0x3fd56b:0x342},_0x47f04e={_0x440e02:0x91,_0x473ce5:0x2c},_0xd7c63d=()=>{const _0x2e78ad={_0x2652ce:0x1e1};_0x94ba99&&(clearTimeout(_0x94ba99),_0x94ba99=void 0x0);_0x59797b[_0x58c70c(_0x2b9e4e._0x2e53d7,0x53d,0x58e,_0x2b9e4e._0x51f8ef)](_0x58c70c(0x6b1,_0x2b9e4e._0xbb61ed,0x540,_0x2b9e4e._0x53ea69),_0xbf7e07);function _0x185325(_0x1c244f,_0x30aee2,_0x24c445,_0xe0c33c){return _0x3eab(_0x1c244f-_0x2e78ad._0x2652ce,_0x24c445);}function _0x58c70c(_0x4176e1,_0x527489,_0x202a65,_0x85a284){return _0x3eab(_0x202a65-0x30d,_0x527489);}_0x59797b[_0x58c70c(_0x2b9e4e._0x50e495,0x69f,_0x2b9e4e._0x483855,0x4bf)](_0x185325(0x341,0x380,0x4a0,_0x2b9e4e._0x505d20),_0x5aab2a);},_0xbf7e07=_0x4a425c=>{_0x5c3100=!![],_0x228fb9(),_0xd7c63d(),_0x2ece88(_0x25e01c??_0x4a425c);},_0x5aab2a=(_0x43c76f,_0x472572)=>{_0x31433b=!![],appendChunk(_0x339b2c,_0x504565,_0x45b79['end'](),_0x1a6a03,_0x228fb9),appendChunk(_0x339b2c,_0x504565,_0x9b7c86['end'](),_0x1a6a03,_0x228fb9),_0x5c3100=!![],_0x228fb9(),_0xd7c63d();if(_0x25e01c){_0x2ece88(_0x25e01c);return;}_0x5ce88b({'code':_0x43c76f,'signal':_0x472572});};function _0x2d00b3(_0x561a21,_0x195765,_0x57b29a,_0x506897){return _0x57c823(_0x506897-0x2ef,_0x561a21,_0x57b29a-_0x55bcdb._0x31c86a,_0x506897-_0x55bcdb._0x2f4349);}function _0x5d8760(_0x33f074,_0xdbfc02,_0x5efc0b,_0xe3a59f){return _0x3fecf5(_0x33f074-0xcd,_0x5efc0b,_0x5efc0b-_0x47f04e._0x440e02,_0xdbfc02- -_0x47f04e._0x473ce5);}_0x94ba99=setTimeout(()=>{function _0x45bb0c(_0x52d1c6,_0x45ca3f,_0x1f2592,_0x54bc86){return _0x3eab(_0x52d1c6-0x36c,_0x1f2592);}_0x5c3100=!![];function _0x17a4a4(_0x5409ce,_0x24e11a,_0x1992e9,_0x8fe5a1){return _0x3eab(_0x1992e9- -_0x303c57._0x3fd56b,_0x24e11a);}_0x228fb9(),_0xd7c63d();try{killProcessGroup(_0x59797b,_0x3d07cb);}catch{}_0x2ece88(new ToolExecutionError(_0x45bb0c(_0x4e55a8._0x292829,_0x4e55a8._0x3f6b51,0x4f5,_0x4e55a8._0x29f01d)+_0x926922+_0x17a4a4(-_0x4e55a8._0x396e22,-0x1d2,-0x204,-0x136),{'command':_0x1a13f1[_0x45bb0c(0x538,0x3e1,0x695,_0x4e55a8._0x57b07c)],'cwd':_0x556f73,'shellPath':_0x2c84f,'timeoutMs':_0x926922,'timedOut':!![]}));},_0x926922),_0x59797b[_0x5d8760(0x16f,0x1f3,0x198,_0x3a534b._0x5e3c9e)](_0x2d00b3(_0x3a534b._0x705727,0x4af,0x525,0x3f5),_0xbf7e07),_0x59797b[_0x2d00b3(0x46b,0x383,0x2ba,_0x3a534b._0x3380c9)](_0x2d00b3(_0x3a534b._0x504828,0x26e,0x2ab,_0x3a534b._0x11a6c2),_0x5aab2a);});while(_0x504565['length']>0x0||!_0x5c3100){if(_0x504565[_0x57c823(_0x4b0ce9._0x589c7e,_0x4b0ce9._0x3e5aad,0x23e,0x25f)]===0x0){await _0x54021c();continue;}const _0x5e7cdd=_0x504565[_0x57c823(_0x4b0ce9._0x2127c1,-_0x4b0ce9._0x58e452,-0x2b,_0x4b0ce9._0x362571)]();_0x5e7cdd!==void 0x0&&(yield _0x5e7cdd);}const _0x29d469=await _0x4afbcb,_0x1b3f68=_0x311695?_0x57c823(0x25c,_0x4b0ce9._0x151905,_0x4b0ce9._0x41c3d5,_0x4b0ce9._0x105a7f)+(_0x29d469[_0x3fecf5(_0x4b0ce9._0x1927fe,_0x4b0ce9._0x48ac29,_0x4b0ce9._0x42fc36,_0x4b0ce9._0x4161b4)]??0x0):_0x339b2c[_0x3fecf5(_0x4b0ce9._0x293fda,0x41d,0x3d2,0x31e)](''),_0x2058a1={'command':_0x1a13f1[_0x3fecf5(0xd1,0x270,0xac,0x17c)],'description':_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x18cea7,0x208,_0x4b0ce9._0x3c1eb0,0x14f)],'cwd':_0x556f73,'exitCode':_0x29d469[_0x57c823(_0x4b0ce9._0x869df9,_0x4b0ce9._0x443baf,_0x4b0ce9._0x1bb94e,0x2a5)]??0x0,'signal':_0x29d469[_0x3fecf5(0x24e,0x249,_0x4b0ce9._0x370059,0x2a5)],'ignoreOutput':_0x311695,'shellPath':_0x2c84f,'timeoutMs':_0x926922};if(_0x29d469[_0x3fecf5(0x464,_0x4b0ce9._0x144005,0x1f3,_0x4b0ce9._0x4161b4)]!==0x0)throw new ToolExecutionError(_0x1b3f68||_0x3fecf5(_0x4b0ce9._0x184aeb,_0x4b0ce9._0x31bbcd,0x48,_0x4b0ce9._0xa89c8b)+(_0x29d469[_0x3fecf5(_0x4b0ce9._0x4cda6d,0x431,0x305,_0x4b0ce9._0x4161b4)]??0x0),_0x2058a1);return createToolOutput(_0x1b3f68,_0x2058a1);}catch(_0x172076){while(_0x504565['length']>0x0){const _0x1bb8d1=_0x504565[_0x3fecf5(_0x4b0ce9._0x3af518,0x1e1,_0x4b0ce9._0xcf868f,_0x4b0ce9._0xe19f43)]();_0x1bb8d1!==void 0x0&&(yield _0x1bb8d1);}if(_0x172076 instanceof ToolExecutionError)throw _0x172076;if(_0x25e01c)throw _0x25e01c;throw mapSpawnError(_0x172076,{'command':_0x1a13f1[_0x3fecf5(0x264,0x29,_0x4b0ce9._0x383254,_0x4b0ce9._0x8d0441)],'cwd':_0x556f73,'shellPath':_0x2c84f});}finally{_0x94ba99&&clearTimeout(_0x94ba99);_0x3da171(),_0x59797b['stdout']?.['off'](_0x57c823(0x220,_0x4b0ce9._0xc7baac,_0x4b0ce9._0x23bc60,0x107),_0x2c45d9),_0x59797b['stderr']?.[_0x57c823(0x154,_0x4b0ce9._0x869df9,0x12f,_0x4b0ce9._0x252430)]('data',_0x3f35cd);if(!_0x31433b&&_0x59797b['pid']&&!_0x59797b[_0x57c823(-_0x4b0ce9._0x3f9970,0x105,-0x16b,-_0x4b0ce9._0x3045d8)])try{killProcessGroup(_0x59797b,_0x3d07cb);}catch{}}}});}function createShellExecTool(_0x5aacba={}){return createBashTool(_0x5aacba);}import{readdir,readFile as _0x369c9a}from'fs/promises';import{extname,join as _0x55d036}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x49f4eb,join,relative as _0x2ddec3,resolve as _0x3bf9f4}from'path';import{readdir as _0x123048,readFile as _0xf5ffa7}from'fs/promises';import{join as _0x5bd6f2,relative as _0x23f949,sep}from'path';import{delimiter}from'path';import{mkdir as _0x1bf2d1,rm,stat as _0x3ef8ab,writeFile}from'fs/promises';import{hostname}from'os';function _0x3eab(_0x4092ce,_0x2c62b1){_0x4092ce=_0x4092ce-0x9a;const _0x1f3186=_0x1f31();let _0x3eab9a=_0x1f3186[_0x4092ce];if(_0x3eab['cxMdWF']===undefined){var _0x5a0d84=function(_0x374bb5){const _0x4c31f7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5c25c7='',_0x5667c4='';for(let _0x23bd57=0x0,_0x5d8c92,_0x2ca407,_0x33d79b=0x0;_0x2ca407=_0x374bb5['charAt'](_0x33d79b++);~_0x2ca407&&(_0x5d8c92=_0x23bd57%0x4?_0x5d8c92*0x40+_0x2ca407:_0x2ca407,_0x23bd57++%0x4)?_0x5c25c7+=String['fromCharCode'](0xff&_0x5d8c92>>(-0x2*_0x23bd57&0x6)):0x0){_0x2ca407=_0x4c31f7['indexOf'](_0x2ca407);}for(let _0x35c0e1=0x0,_0x212a88=_0x5c25c7['length'];_0x35c0e1<_0x212a88;_0x35c0e1++){_0x5667c4+='%'+('00'+_0x5c25c7['charCodeAt'](_0x35c0e1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5667c4);};_0x3eab['sPVRuo']=_0x5a0d84,_0x3eab['gIQSOM']={},_0x3eab['cxMdWF']=!![];}const _0xf472fb=_0x1f3186[0x0],_0x315d06=_0x4092ce+_0xf472fb,_0x27bc5b=_0x3eab['gIQSOM'][_0x315d06];return!_0x27bc5b?(_0x3eab9a=_0x3eab['sPVRuo'](_0x3eab9a),_0x3eab['gIQSOM'][_0x315d06]=_0x3eab9a):_0x3eab9a=_0x27bc5b,_0x3eab9a;}import{dirname as _0x46febd}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x32c21c,rename,rm as _0x549b8d,stat as _0x588b4b,writeFile as _0x3e9352}from'fs/promises';import{homedir as _0x4e76de}from'os';import{dirname as _0x36d647,isAbsolute as _0x9eed09,join as _0x2aa132,resolve as _0x3eb523}from'path';import{parse as _0xb9b56a,stringify as _0x579a8d}from'yaml';import{cp,mkdir as _0x24fdcb,readFile as _0x3684b6,rm as _0x2f3866,writeFile as _0x1cf62e}from'fs/promises';import{homedir}from'os';import{join as _0x2cab66}from'path';import{parse as _0x4f331b,stringify as _0x127a35}from'yaml';import{z}from'zod';import{readdir as _0x246e4a,readFile as _0x21f75f}from'fs/promises';import{join as _0x36155f}from'path';import{randomUUID as _0x4681e4}from'crypto';import{mkdir as _0x1364a8,readdir as _0x43ca0c,readFile as _0x3fcae,rename as _0x21705f,rm as _0x91cda8,writeFile as _0x27ff9f}from'fs/promises';import{homedir as _0x28b09d}from'os';import{basename,isAbsolute as _0x3c6371,join as _0x3bbb06,relative as _0x5bf036,resolve as _0x134144}from'path';import{parse as _0x50441e,stringify as _0x4d5f2c}from'yaml';import{delimiter as _0x5e3bea,resolve as _0x16443d}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x1ee9ae){const _0x315bc3={_0x59c339:0x2af,_0x83c5c7:0x27c,_0x376369:0x279,_0x56f848:0x3b5,_0x8e99b2:0x17c,_0x166f8e:0x423,_0x5ef599:0x4a1,_0x3b066b:0x1f8,_0x51b758:0x377,_0x14d3b4:0x30b,_0x428a09:0x1cc,_0xbe849e:0x2cb,_0x1b9aa4:0x137,_0x5673ec:0x161},_0x507a83={_0x181560:0xfd,_0x47e8d6:0x39d},_0x440f82={_0x43272f:0x1af,_0x41102a:0x1f3,_0x2d4ad4:0x1b9},_0x29e1e0=[];function _0x3291df(_0x748f63,_0x577b63,_0x41205b,_0x55c67c){return _0xf90728(_0x41205b,_0x577b63-_0x440f82._0x43272f,_0x55c67c-_0x440f82._0x41102a,_0x55c67c-_0x440f82._0x2d4ad4);}let _0xee841e='',_0x520493=0x0;while(_0x520493<_0x1ee9ae[_0x3291df(0x27f,_0x315bc3._0x59c339,_0x315bc3._0x83c5c7,_0x315bc3._0x376369)]){const _0x2bc2c1=_0x1ee9ae[_0x520493];if(_0x2bc2c1==='\x5c'&&_0x520493+0x1<_0x1ee9ae[_0x3291df(_0x315bc3._0x56f848,0x21f,_0x315bc3._0x8e99b2,0x279)])_0xee841e+=_0x1ee9ae[_0x520493+0x1],_0x520493+=0x2;else{if(_0x2bc2c1==='\x22'||_0x2bc2c1==='\x27'){const _0x5cb0c8=_0x2bc2c1;_0x520493++;while(_0x520493<_0x1ee9ae[_0x27c8e4(_0x315bc3._0x166f8e,0x44c,_0x315bc3._0x5ef599,0x486)]&&_0x1ee9ae[_0x520493]!==_0x5cb0c8){_0x1ee9ae[_0x520493]==='\x5c'&&_0x520493+0x1<_0x1ee9ae[_0x3291df(_0x315bc3._0x3b066b,0x353,0x1f0,_0x315bc3._0x376369)]?(_0xee841e+=_0x1ee9ae[_0x520493+0x1],_0x520493+=0x2):(_0xee841e+=_0x1ee9ae[_0x520493],_0x520493++);}_0x520493++;}else _0x2bc2c1!==void 0x0&&/\s/[_0x27c8e4(_0x315bc3._0x51b758,0x397,0x4e2,0x3a5)](_0x2bc2c1)?(_0xee841e&&(_0x29e1e0[_0x27c8e4(_0x315bc3._0x14d3b4,_0x315bc3._0x428a09,0x3a5,0x451)](_0xee841e),_0xee841e=''),_0x520493++):(_0xee841e+=_0x2bc2c1,_0x520493++);}}if(_0xee841e)_0x29e1e0[_0x3291df(_0x315bc3._0xbe849e,_0x315bc3._0x1b9aa4,0x142,_0x315bc3._0x5673ec)](_0xee841e);function _0x27c8e4(_0x52547d,_0x3bf58e,_0x38a92a,_0x5c7d5e){return _0xf90728(_0x38a92a,_0x3bf58e-_0x507a83._0x181560,_0x52547d-_0x507a83._0x47e8d6,_0x5c7d5e-0x163);}return _0x29e1e0;}function renderCommandInstructions(_0xe0b82c){const _0x375450={_0x5d632c:0x32,_0x3ffe78:0x2e,_0x1a1fb2:0x90,_0xdc73d1:0x31b,_0x158bad:0x3c4,_0x243fae:0x489,_0x1fa6de:0x82,_0x2b5310:0x26d,_0x18bd11:0x127,_0x4da823:0x12,_0x439054:0x173,_0x254604:0x27b,_0x2925cb:0x31,_0x2eb4c1:0x148,_0x38f7b8:0x5,_0x12f8fd:0x132,_0x4a34d6:0x109,_0x26dbac:0x2d0,_0x18d565:0x38b,_0x5271f5:0x290,_0x53406d:0x3d8,_0x19c496:0x2d0,_0x4dc18d:0x3e7,_0x1d1c1b:0x2be,_0xe733cc:0x3c4,_0x21cda0:0x2d3,_0x57d119:0x382,_0xc3bf3e:0x376,_0x2934c9:0x1ff,_0x5ae875:0x138,_0x24152b:0x1b7},_0x20fcf8={_0x5d9ec5:0x5d2,_0x277f68:0x515},_0x30a532={_0x4c9edd:0x5e,_0x3f81f7:0x85},_0x4c8fef={_0x555871:0xc,_0x30ae46:0x95};function _0x4b797f(_0x2d669e,_0x46aa45,_0x43e36f,_0x366767){return _0xf90728(_0x2d669e,_0x46aa45-_0x4c8fef._0x555871,_0x46aa45-0x24a,_0x366767-_0x4c8fef._0x30ae46);}let _0x5c34c0=_0xe0b82c[_0x2ac8ec(0x13c,_0x375450._0x5d632c,-_0x375450._0x3ffe78,_0x375450._0x1a1fb2)],_0x14e197=![];const _0x175d89=tokenizeCommandArguments(_0xe0b82c[_0x4b797f(_0x375450._0xdc73d1,_0x375450._0x158bad,_0x375450._0x243fae,0x45e)]);_0x5c34c0=_0x5c34c0[_0x4b797f(_0x375450._0x1fa6de,0x173,_0x375450._0x2b5310,_0x375450._0x18bd11)](/\$ARGUMENTS\[(\d+)\]/g,(_0x454037,_0x503e51)=>{return _0x14e197=!![],_0x175d89[Number(_0x503e51)]??'';});function _0x2ac8ec(_0x2a04ca,_0x374623,_0xa3d420,_0x3a9530){return _0xf90728(_0xa3d420,_0x374623-_0x30a532._0x4c9edd,_0x2a04ca-_0x30a532._0x3f81f7,_0x3a9530-0x94);}_0x5c34c0=_0x5c34c0[_0x4b797f(_0x375450._0x4da823,_0x375450._0x439054,_0x375450._0x254604,0x2ac)](/\$ARGUMENTS\b/g,()=>{_0x14e197=!![];function _0x41fc6a(_0x3f4096,_0x3e7ac2,_0x138e83,_0x495fb1){return _0x4b797f(_0x138e83,_0x3f4096-0x20e,_0x138e83-0x186,_0x495fb1-0xc0);}return _0xe0b82c[_0x41fc6a(_0x20fcf8._0x5d9ec5,_0x20fcf8._0x277f68,0x5d3,0x608)];});if(_0xe0b82c[_0x2ac8ec(-0x5,-_0x375450._0x2925cb,_0x375450._0x2eb4c1,-0x9b)]&&_0xe0b82c[_0x2ac8ec(-_0x375450._0x38f7b8,0x8,_0x375450._0x12f8fd,-_0x375450._0x4a34d6)][_0x4b797f(0x418,_0x375450._0x26dbac,_0x375450._0x18d565,0x227)]>0x0)for(let _0xf61d68=0x0;_0xf61d68<_0xe0b82c[_0x4b797f(0xc5,0x1c0,0x124,_0x375450._0x5271f5)][_0x4b797f(_0x375450._0x53406d,_0x375450._0x19c496,0x243,_0x375450._0x4dc18d)];_0xf61d68++){const _0x31defc=_0xe0b82c['argumentNames'][_0xf61d68];if(_0x31defc){const _0x5c10ad=new RegExp('\x5c$'+_0x31defc+'\x5cb','g');_0x5c34c0=_0x5c34c0[_0x4b797f(0xcc,_0x375450._0x439054,0x208,0x1de)](_0x5c10ad,()=>{return _0x14e197=!![],_0x175d89[_0xf61d68]??'';});}}return _0x5c34c0=_0x5c34c0['replace'](/\$(\d+)\b/g,(_0x151e1e,_0x50d135)=>{return _0x14e197=!![],_0x175d89[Number(_0x50d135)]??'';}),!_0x14e197&&_0xe0b82c[_0x4b797f(_0x375450._0x1d1c1b,_0x375450._0xe733cc,_0x375450._0x21cda0,0x29b)][_0x4b797f(0x130,0x23d,_0x375450._0x57d119,_0x375450._0xc3bf3e)]()&&(_0x5c34c0=_0x5c34c0+'\x0a\x0aARGUMENTS:\x20'+_0xe0b82c[_0x2ac8ec(_0x375450._0x2934c9,_0x375450._0x5ae875,_0x375450._0x24152b,0x8e)]),_0x5c34c0;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':'openrouter'},{'env':_0xf90728(-0x287,-0x268,-0x150,-0x228),'provider':_0xf90728(0x11c,0xd1,0x133,0x265)},{'env':_0x4d40c0(-0x1cf,-0x66,0x73,-0x1b0),'provider':_0x4d40c0(0xe1,-0x2e,-0xf7,0x97)},{'env':_0xf90728(-0x2d,-0x1,-0x13c,-0x16d),'provider':'github'},{'env':_0xf90728(-0x40,-0xc0,-0x13a,-0x1bd),'provider':_0x4d40c0(-0x28c,-0x2ab,-0x3c0,-0x3c0)},{'env':_0x4d40c0(0x7a,-0xe0,0x24,0x5c),'provider':_0x4d40c0(-0x2c5,-0x1ac,-0x285,-0x14b)},{'env':_0xf90728(-0x11e,-0xb1,0x20,-0x36),'provider':'zai'},{'env':_0x4d40c0(-0x1fc,-0x299,-0x2dc,-0x382),'provider':_0x4d40c0(-0x1d1,-0x133,-0x72,-0xa7)},{'env':'MINIMAX_API_KEY','provider':_0x4d40c0(-0xc5,-0x6d,-0x1,0x77)},{'env':_0xf90728(-0xa2,0x100,0x80,-0x4f),'provider':'kimi'},{'env':_0x4d40c0(-0xc,-0x166,-0x2aa,-0x96),'provider':_0xf90728(-0x8a,0x38,-0x29,-0x82)},{'env':_0xf90728(0x65,0xe7,0x59,-0xa5),'provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x4d40c0(-0x7b,0xc,0xd9,0x5b)](_0x5e8966=>_0x5e8966[_0x4d40c0(-0x1a3,-0x41,0x68,-0xd9)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY','GOOGLE_CSE_KEY',_0x4d40c0(-0x103,-0x108,-0xa7,0x67)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),_0x4d40c0(-0x8d,-0xae,-0x1b5,-0x15b)]);function prototypeSafeRecord(_0x58a3fa){const _0x41772d={_0x246699:0x4c6,_0x252477:0x3aa,_0x1d8500:0x44f,_0x375581:0x127,_0x9dea8f:0x40,_0x4aea06:0x144,_0x27f14a:0x19a,_0x413db9:0x4f7,_0x92793:0x535,_0xc5790d:0x3ed,_0x381c61:0xed},_0x56272c={_0x21d62a:0x26a,_0x20c149:0x320,_0x46eb81:0x114,_0x34b2df:0x2d1,_0x64228c:0x4b7,_0x430107:0x397,_0x1a2b13:0x47b},_0x1d2d9e={_0x436661:0x102},_0x3492d6={_0x56db18:0x7f,_0x5c7885:0x32a,_0x1301cd:0xae},_0x24b6c9={_0xe64c54:0xd1},_0x415eed={_0x257ad4:0x189,_0x2ae4f2:0x50b};function _0x3397cf(_0x13d55d,_0x8dd00e,_0x17983f,_0x343719){return _0xf90728(_0x17983f,_0x8dd00e-_0x415eed._0x257ad4,_0x8dd00e-_0x415eed._0x2ae4f2,_0x343719-0x1de);}function _0x4e7fc9(_0x18fad5,_0x50c21a,_0x12dd80,_0x5c546a){return _0x4d40c0(_0x18fad5-_0x24b6c9._0xe64c54,_0x18fad5-0xaa,_0x12dd80-0x1b7,_0x50c21a);}return z[_0x3397cf(_0x41772d._0x246699,0x49b,_0x41772d._0x252477,_0x41772d._0x1d8500)](_0x4df5d7=>{if(_0x4df5d7===null||typeof _0x4df5d7!==_0x2e7b79(0x234,_0x56272c._0x21d62a,_0x56272c._0x20c149,0x1df)||Array['isArray'](_0x4df5d7))return null;function _0x2e7b79(_0x2f7fd1,_0x14aa71,_0x458d7b,_0x33a655){return _0x3397cf(_0x2f7fd1-_0x3492d6._0x56db18,_0x2f7fd1- -_0x3492d6._0x5c7885,_0x33a655,_0x33a655-_0x3492d6._0x1301cd);}const _0x553d5f=Object[_0x2e7b79(0x262,_0x56272c._0x46eb81,0x332,_0x56272c._0x34b2df)](_0x4df5d7);function _0x1621d2(_0x16cff2,_0x171ea1,_0xea86ef,_0x469ed2){return _0x3397cf(_0x16cff2-_0x1d2d9e._0x436661,_0x171ea1- -0xec,_0xea86ef,_0x469ed2-0xe3);}if(_0x553d5f!==Object[_0x1621d2(0x4b4,_0x56272c._0x64228c,_0x56272c._0x430107,_0x56272c._0x1a2b13)]&&_0x553d5f!==null)return null;return{'entries':Object['entries'](_0x4df5d7)};},z[_0x4e7fc9(-0x49,-_0x41772d._0x375581,-0x1b4,-_0x41772d._0x9dea8f)]({'entries':z[_0x4e7fc9(-0x131,-0xc1,-0x28b,-0x1e7)](z[_0x4e7fc9(-0x11e,-_0x41772d._0x4aea06,-_0x41772d._0x27f14a,-0xd7)]([z[_0x3397cf(_0x41772d._0x413db9,_0x41772d._0x92793,0x66c,_0x41772d._0xc5790d)](),_0x58a3fa]))}))[_0x4e7fc9(0xe0,0xd5,_0x41772d._0x381c61,0x10a)](({entries:_0x145708})=>Object[_0x4e7fc9(0xb1,0xc1,0x9b,0xbe)](_0x145708));}var chatModelAuthSchemeSchema=z[_0x4d40c0(0x11f,-0x8,0x111,0x7d)]([_0xf90728(-0x1bc,-0x5a,-0x78,-0x135),_0x4d40c0(-0x261,-0x235,-0x30d,-0x1da)]),apiKeyAuthSchema=z['object']({'type':z[_0x4d40c0(-0x2af,-0x15f,-0x2a,-0xb6)]('apiKey'),'apiKey':z[_0xf90728(-0x56,0x98,0x2a,-0x10)](),'authScheme':chatModelAuthSchemeSchema[_0x4d40c0(-0x235,-0x185,-0x7b,-0x2f9)]()})[_0x4d40c0(-0x344,-0x276,-0x19d,-0x2ee)](),oauthAuthSchema=z[_0xf90728(-0xec,0x5d,0x53,-0xcc)]({'type':z[_0x4d40c0(-0x233,-0x15f,-0xea,-0x136)]('oauth'),'access':z['string'](),'refresh':z['string'](),'expires':z[_0x4d40c0(-0x3b6,-0x2a9,-0x158,-0x370)]()[_0xf90728(0x112,-0x1b3,-0x3f,-0x84)](),'authScheme':chatModelAuthSchemeSchema[_0xf90728(0x1b,-0xeb,-0x3f,-0x1e)]()})[_0x4d40c0(-0x299,-0x276,-0x2d3,-0x129)](),finiteNonNegative=z[_0x4d40c0(-0x3f4,-0x2a9,-0x2f9,-0x3cd)]()[_0x4d40c0(0xa7,-0x9d,-0x9f,0x1)]()[_0x4d40c0(-0x19b,-0xf9,-0x15,0x11)](),chatGptAuthSchema=z[_0xf90728(-0x42,0x7a,0x53,-0xf7)]({'type':z['literal'](_0xf90728(0xa,-0x1d3,-0xbb,-0xe9)),'access':z[_0xf90728(-0x9f,0x63,0x2a,0xee)]()['min'](0x1),'refresh':z['string']()[_0xf90728(0x21a,0x91,0x104,0x215)](0x1),'idToken':z[_0xf90728(0xc6,0x174,0x2a,0x7a)]()[_0xf90728(0xe2,0x23b,0x104,0x1b7)](0x1),'accountId':z[_0xf90728(-0xa3,0x21,0x2a,0x143)]()['min'](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x4d40c0(-0x12c,-0x185,-0x135,-0xa8)]()})[_0xf90728(0xf,-0x186,-0x130,-0x26d)](),authMethodSchema=z[_0xf90728(0xbe,0x15e,0x124,0x1ea)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z['object']({'id':z['string'](),'name':z['string']()[_0xf90728(-0x3d,-0x1b6,-0x3f,-0x1ac)]()})[_0x4d40c0(-0x247,-0x276,-0x2b0,-0x2b8)](),modelConfigSchema=z[_0x4d40c0(0xb4,-0x22,-0x1b,-0x115)]([z[_0xf90728(0xb0,0x145,-0x19,0xe)](![]),z[_0x4d40c0(-0xeb,-0x15f,-0x176,-0x238)](!![]),z['string'](),z['array'](z[_0x4d40c0(-0x5b,-0x11c,0x48,-0xc9)]()),z[_0xf90728(0x5a,-0xa5,-0x95,-0x187)](modelDefinitionSchema)]);function _0xf90728(_0x4d8e4c,_0x444471,_0x1e6661,_0x428d67){return _0x3eab(_0x1e6661- -0x203,_0x4d8e4c);}var chatModelSurfaceSchema=z[_0xf90728(0x5a,0x26c,0x13e,0x20e)](['anthropic-messages',_0x4d40c0(-0x13a,-0x92,-0x19c,0x15),_0x4d40c0(-0x33c,-0x1e8,-0xcb,-0x248),_0xf90728(0x12a,-0x90,0xc9,0x120)]),providerConfigSchema=z[_0x4d40c0(-0x20d,-0xf3,-0x128,-0x24c)]({'apiKey':z['string']()[_0x4d40c0(-0x18e,-0x185,-0x269,-0x15)](),'token':z[_0x4d40c0(-0x1f1,-0x11c,-0x176,-0x28b)]()['optional'](),'defaultModel':z[_0xf90728(0x189,-0x81,0x2a,0x63)]()[_0x4d40c0(-0x1c7,-0x185,-0x1ee,-0x262)](),'smallModel':z[_0xf90728(-0xd7,0x62,0x2a,-0x75)]()[_0x4d40c0(-0x5f,-0x185,-0x16,-0x18)](),'currentAuth':z['string']()['optional'](),'auth':z[_0xf90728(-0x8c,-0x29,-0x95,0x11)](authMethodSchema)[_0x4d40c0(-0x82,-0x185,-0x17f,-0x249)](),'surface':chatModelSurfaceSchema[_0xf90728(0x77,-0x185,-0x3f,0x67)](),'baseUrl':z['string']()[_0x4d40c0(-0x1ee,-0x185,-0x177,-0xa5)](),'models':modelConfigSchema[_0x4d40c0(-0x252,-0x185,-0xcf,-0x29d)](),'customHeaders':z[_0xf90728(-0x1a3,-0x22f,-0xe8,-0x1ac)](z[_0xf90728(-0xd0,0x2d,0x2a,0x18e)](),z[_0xf90728(-0x56,-0x40,0x2a,0xbc)]())[_0x4d40c0(-0x1f0,-0x185,-0x1ca,-0x90)]()})[_0xf90728(-0x275,-0x22e,-0x130,-0x1b4)](),mcpServerConfigSchema=z[_0xf90728(-0x103,-0xb7,0x53,-0x4d)]({'command':z[_0xf90728(0x116,0x153,0x2a,0x126)]()[_0xf90728(-0x11a,-0x12c,-0x3f,-0xb4)](),'args':z['array'](z[_0x4d40c0(-0x55,-0x11c,-0x5,-0x1f0)]())[_0x4d40c0(-0x2bb,-0x185,-0x28d,-0x2c4)](),'env':z[_0xf90728(-0x144,-0xe4,-0xe8,0x63)](z[_0xf90728(-0x13e,-0x5,0x2a,-0x26)](),z[_0xf90728(0x94,0xe9,0x2a,0xbc)]())[_0xf90728(-0x4c,-0x48,-0x3f,-0x5f)](),'transport':z['enum'](['stdio',_0x4d40c0(-0x3a1,-0x26c,-0x2f4,-0x22c)])['optional'](),'url':z[_0xf90728(0xe9,-0x15,0x2a,-0xc5)]()[_0x4d40c0(-0x1f8,-0x185,-0x61,-0x2fa)](),'headers':z[_0xf90728(-0x221,-0x111,-0xe8,0x30)](z[_0xf90728(-0x11f,-0x27,0x2a,-0xfb)](),z[_0xf90728(0xf8,0x3e,0x2a,-0x46)]())[_0x4d40c0(-0x48,-0x185,-0x2ee,-0x10a)](),'prefix':z[_0x4d40c0(-0xf9,-0x11c,0x52,-0x14f)]()[_0x4d40c0(-0x2d0,-0x185,-0x27e,-0x11a)](),'timeoutMs':z['number']()[_0x4d40c0(-0x8f,-0x185,-0xed,-0x1b3)](),'enabled':z[_0xf90728(0x113,0x268,0x17f,0x102)]()[_0x4d40c0(-0x2d2,-0x185,-0x163,-0x28)](),'auth':z['object']({'type':z[_0x4d40c0(-0x150,-0x8,-0x180,0xc9)]([_0xf90728(0x1d,0x1b6,0xe9,0x154),_0x4d40c0(-0x1fd,-0x1be,-0x281,-0x115),_0x4d40c0(-0xc9,-0xc2,0x13,0x29)]),'token':z['string']()[_0xf90728(-0xdf,0x31,-0x3f,0x10c)](),'oauth':z[_0xf90728(-0x96,-0xdb,0x53,0x154)]({'clientId':z[_0xf90728(0x161,0x168,0x2a,0x18c)]()[_0xf90728(-0xef,-0x35,-0x3f,-0x34)](),'clientMetadataUrl':z[_0xf90728(0x2e,0x2e,0x2a,0x2a)]()[_0xf90728(-0xc2,-0x18d,-0x3f,0x132)](),'authorizationServer':z[_0x4d40c0(-0x259,-0x11c,-0xf4,-0x28a)]()['optional'](),'scopes':z[_0xf90728(-0x9f,0x6f,-0x95,0x50)](z[_0xf90728(0x144,-0xa1,0x2a,-0x30)]())['optional'](),'tokenStorageKey':z[_0xf90728(0x176,-0xd6,0x2a,0xb4)]()['optional']()})[_0x4d40c0(-0x26d,-0x276,-0x38b,-0x370)]()[_0xf90728(-0x3f,0xc6,-0x3f,0x87)]()})[_0x4d40c0(-0x134,-0x276,-0x3d9,-0x29c)]()[_0xf90728(-0x81,-0x34,-0x3f,-0xef)]()})[_0x4d40c0(-0x2fd,-0x276,-0x267,-0x217)](),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x4d40c0(-0x23c,-0x185,-0x2a2,-0x192)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0xf90728(0x20c,0x2eb,0x17f,0x1a4)]()))[_0x4d40c0(-0x20a,-0x185,-0x269,-0x72)](),'defaultTimeoutMs':z[_0xf90728(-0x24,-0x1e,-0x163,-0x213)]()[_0x4d40c0(-0x20f,-0x185,-0x80,-0x211)]()})[_0xf90728(-0xaf,-0x298,-0x130,-0xa1)](),skillsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x4d40c0(-0x17b,-0x185,-0x11e,-0x183)](),'includeDefaults':z[_0x4d40c0(0xb3,0x39,-0x35,0xda)]()['optional'](),'directories':z[_0x4d40c0(-0x104,-0x1db,-0x208,-0x23d)](z[_0x4d40c0(-0x1b4,-0x11c,0x46,0x45)]())[_0x4d40c0(-0x142,-0x185,-0x110,-0x87)](),'exclude':z[_0x4d40c0(-0x118,-0x1db,-0x2cb,-0x127)](z[_0xf90728(0xab,0xf5,0x2a,0x2c)]())[_0xf90728(-0xa6,-0x113,-0x3f,-0x121)]()})[_0xf90728(-0xbe,0x1a,-0x130,-0xca)](),commandsSettingsSchema=z['object']({'enabled':z[_0xf90728(0x21,0x2a2,0x17f,0x2ec)]()['optional'](),'directories':z[_0x4d40c0(-0x1d0,-0x1db,-0x180,-0x24e)](z[_0xf90728(0x46,0x18,0x2a,0x109)]())[_0xf90728(0x3c,-0x132,-0x3f,0x39)]()})[_0xf90728(-0x260,-0x299,-0x130,-0x102)](),agentsSettingsSchema=z[_0x4d40c0(-0x17a,-0xf3,-0x1f6,-0x18c)]({'enabled':z[_0x4d40c0(0x1c,0x39,0x77,0x188)]()[_0x4d40c0(-0x1a1,-0x185,-0x1d4,-0x7b)](),'includeDefaults':z['boolean']()[_0x4d40c0(-0x1ae,-0x185,-0x290,-0xbb)](),'directories':z['array'](z[_0xf90728(-0x48,0x137,0x2a,-0x1)]())[_0x4d40c0(-0x1b7,-0x185,-0x255,-0x285)]()})['passthrough'](),uiThemeSettingsSchema=z['object']({'mode':z[_0xf90728(0x39,0x158,0x13e,0x1e4)]([_0xf90728(0x19f,0x3d,0x6f,-0xe7),_0x4d40c0(-0x21d,-0xf1,-0x226,0x6),_0x4d40c0(0x39,0x29,-0xdf,-0x128)])[_0x4d40c0(-0x7b,-0x185,-0x247,-0x25)](),'colorLevel':z[_0x4d40c0(-0x36,-0x8,-0x54,-0x6c)]([_0xf90728(0x28,0x55,0x6f,-0x49),_0x4d40c0(0x9c,-0x5d,-0x168,-0x1ba),_0x4d40c0(-0x50,0x35,0x105,0xe8),_0xf90728(0x1ab,0x1d3,0xf5,0x1c6),_0xf90728(0x1d,0xd6,0x15a,0x232)])[_0x4d40c0(-0xed,-0x185,-0x278,-0x200)](),'backgrounds':z[_0xf90728(0x16a,0xc1,0x13e,0x155)]([_0xf90728(0x47,-0x30,0x6f,0xb7),'on','off'])[_0xf90728(-0x1c,-0x24,-0x3f,-0xb9)](),'messageStyle':z[_0x4d40c0(-0x132,-0x8,-0x78,0xb6)]([_0x4d40c0(-0x276,-0x109,-0xef,-0x199),_0x4d40c0(-0x333,-0x22c,-0x2c5,-0x2e7)])[_0x4d40c0(-0x244,-0x185,-0x228,-0x1f9)]()})[_0xf90728(-0x190,-0x5b,-0x130,-0x1c5)](),statuslineSegmentSchema=z[_0x4d40c0(0x133,-0x8,-0xe2,0x17)]([_0xf90728(0x28,0x1ac,0x140,0x147),_0x4d40c0(-0xa5,-0xfc,-0x1de,-0xf),_0x4d40c0(-0x5,0x27,-0xa8,-0x48),_0x4d40c0(-0x251,-0x245,-0x1cc,-0x27c),_0xf90728(0x1,-0x211,-0x129,-0x39),'context','cached',_0x4d40c0(-0x32,-0x111,0x65,-0x172),_0x4d40c0(-0x1be,-0x28c,-0x295,-0x1c0),_0x4d40c0(-0x1c4,-0x27e,-0x3a4,-0x3e6),_0x4d40c0(-0xfe,0x32,0x17a,-0xf8),'gitBranch','keybindings',_0x4d40c0(0x41,-0x16,-0xff,-0x9e),_0x4d40c0(0x152,0xe,-0x89,0x158)]),statuslineItemSchema=z[_0x4d40c0(0x143,-0x22,0x4d,-0x62)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0xf90728(-0x173,-0x1e2,-0x95,0x83)](statuslineItemSchema),statuslineConfigSchema=z[_0xf90728(0xe9,-0x103,0x53,0x71)]({'rows':z[_0xf90728(-0x139,-0x1a3,-0x82,-0x114)]([statuslineRowSchema,statuslineRowSchema])[_0xf90728(-0x3,-0x55,-0x3f,-0x16)]()})[_0x4d40c0(-0x3e9,-0x276,-0x1a5,-0x3e9)](),memorySettingsSchema=z[_0x4d40c0(-0x1d8,-0xf3,-0x169,-0x89)]({'version':z[_0xf90728(-0xe,-0x7c,-0x19,0xef)](0x2)['optional'](),'retrieval':z['object']({'engine':z[_0xf90728(0x152,0xb,-0x19,0xc7)](_0xf90728(0x23,0x27,0x16c,0x1db))[_0x4d40c0(-0x25b,-0x185,-0x179,-0x228)](),'candidateLimit':z[_0x4d40c0(-0x1a8,-0x2a9,-0x379,-0x1d7)]()[_0x4d40c0(-0x264,-0x185,-0x17f,-0x134)](),'activeCandidateLimit':z[_0x4d40c0(-0x314,-0x2a9,-0x1bd,-0x25b)]()[_0xf90728(0x3b,0xe5,-0x3f,-0x107)](),'activeEnabled':z['boolean']()['optional'](),'maxQueriesPerTurn':z[_0x4d40c0(-0x2e6,-0x2a9,-0x3c6,-0x280)]()[_0xf90728(-0xc0,-0x139,-0x3f,0x12e)](),'coreInjectTokenBudget':z[_0x4d40c0(-0x30b,-0x2a9,-0x1a9,-0x3a9)]()[_0xf90728(-0x13a,0xc9,-0x3f,0x25)](),'injectTokenBudget':z[_0x4d40c0(-0x3bd,-0x2a9,-0x240,-0x35c)]()[_0xf90728(-0xfb,0xe5,-0x3f,-0xda)](),'minScore':z[_0x4d40c0(-0x408,-0x2a9,-0x3d8,-0x264)]()[_0xf90728(-0x16e,-0xe0,-0x3f,-0x138)](),'freshnessHalfLifeDays':z[_0xf90728(-0x205,-0x2ca,-0x163,-0x59)]()[_0x4d40c0(-0x95,-0x185,-0x2c8,-0xac)]()})[_0xf90728(-0x1d4,-0x200,-0x130,-0x271)]()[_0xf90728(0x11e,-0x4b,-0x3f,-0x196)](),'extraction':z[_0x4d40c0(-0x19a,-0xf3,-0x16a,-0x1ac)]({'enabled':z[_0x4d40c0(-0x6e,0x39,-0xdd,-0x20)]()[_0xf90728(-0x15c,-0x168,-0x3f,-0x1b3)](),'provider':z[_0xf90728(0x153,0x8e,0x2a,0x196)]()['optional'](),'model':z[_0xf90728(-0x134,0x123,0x2a,-0xa)]()[_0xf90728(0x6f,-0x15e,-0x3f,-0x165)](),'sensitiveFilter':z[_0x4d40c0(-0x6c,0x39,0xbe,-0x4f)]()[_0x4d40c0(-0xc8,-0x185,-0x2bd,-0x272)]()})['passthrough']()[_0xf90728(0x3f,-0x5c,-0x3f,-0xfb)](),'index':z[_0x4d40c0(-0x159,-0xf3,-0x219,-0x48)]({'persisted':z['boolean']()['optional'](),'flushIntervalMs':z['number']()['optional']()})[_0xf90728(-0x241,0x14,-0x130,-0x15b)]()[_0x4d40c0(-0x1eb,-0x185,-0x156,-0xd1)](),'enabled':z[_0xf90728(0x99,0x5a,0x17f,0x187)]()[_0x4d40c0(-0x116,-0x185,-0x1e0,-0x84)](),'saveTool':z[_0x4d40c0(-0xa2,0x39,0x87,0x138)]()[_0xf90728(0x4d,0xc8,-0x3f,0x12)](),'model':z['string']()[_0xf90728(-0x12,0x114,-0x3f,-0x1af)](),'provider':z[_0x4d40c0(-0x11b,-0x11c,-0xc5,0x19)]()['optional'](),'maxInjectionTokens':z[_0xf90728(-0x1ed,-0x39,-0x163,-0x16b)]()[_0x4d40c0(-0x2d5,-0x185,-0x167,-0x175)](),'backgroundExtraction':z[_0x4d40c0(-0x66,0x39,-0x41,0x195)]()[_0x4d40c0(-0x6d,-0x185,-0x17c,-0x2c0)]()})['passthrough'](),recentModelSchema=z[_0x4d40c0(-0xa3,-0xf3,-0x1b5,-0x116)]({'provider':z['string'](),'model':z['string'](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0xf90728(0xa7,0x50,0x53,0x1af)]({'disabled':z[_0xf90728(0x183,0x14f,0x17f,0x23d)]()[_0xf90728(0x137,-0x3b,-0x3f,-0x152)](),'command':z['string']()[_0xf90728(-0x52,0x0,-0x3f,-0x1b7)](),'args':z['array'](z['string']())[_0xf90728(0x1a,-0xee,-0x3f,0x126)](),'rootMarkers':z[_0xf90728(0x2f,-0x140,-0x95,-0x69)](z[_0xf90728(0x3f,-0xca,0x2a,0x1f)]())['optional']()})[_0x4d40c0(-0x3be,-0x276,-0x331,-0x2f3)](),lspConfigSchema=z[_0xf90728(-0x76,0x53,0x53,-0xa1)]({'enabled':z[_0x4d40c0(-0x27,0x39,0x5,-0x2f)]()['optional'](),'servers':z[_0xf90728(-0x1ca,-0x254,-0xe8,-0x1fa)](z[_0xf90728(-0x45,0x7c,0x2a,0x150)](),lspServerEntrySchema)['optional']()})[_0xf90728(-0x21,-0x123,-0x130,-0x183)](),serverEndpointSchema=z[_0x4d40c0(-0x8c,-0xf3,-0x5c,-0xdb)]({'url':z[_0x4d40c0(-0x1cd,-0x11c,-0x11f,-0x22b)](),'token':z[_0xf90728(0x146,-0x8,0x2a,-0xd9)]()[_0xf90728(0x67,-0x72,-0x3f,-0x16b)]()})['passthrough'](),commandHookConfigSchema=z['object']({'type':z[_0x4d40c0(-0x1eb,-0x15f,-0xf8,-0x12f)](_0xf90728(-0xb2,0x62,-0x37,-0xab)),'command':z['string'](),'timeout':z['number']()['optional']()}),hookMatcherGroupSchema=z[_0x4d40c0(-0x109,-0xf3,-0x1d3,-0x184)]({'matcher':z['string']()[_0x4d40c0(-0x1c4,-0x185,-0x166,-0x1fb)](),'hooks':z[_0x4d40c0(-0xf7,-0x1db,-0x163,-0x246)](commandHookConfigSchema)}),hooksConfigSchema=z['object']({'PreToolUse':z[_0xf90728(-0x12,-0x1e2,-0x95,0xc2)](hookMatcherGroupSchema)['optional'](),'PostToolUse':z[_0x4d40c0(-0x2cc,-0x1db,-0x22a,-0x1fb)](hookMatcherGroupSchema)[_0xf90728(-0xb7,-0x142,-0x3f,-0xe1)](),'UserPromptSubmit':z[_0x4d40c0(-0x1b0,-0x1db,-0x231,-0x10b)](hookMatcherGroupSchema)[_0xf90728(-0x3,-0xd6,-0x3f,-0xa5)](),'Stop':z[_0x4d40c0(-0x1c0,-0x1db,-0x259,-0x134)](hookMatcherGroupSchema)[_0xf90728(0xa3,-0x9,-0x3f,-0x1b1)](),'Notification':z[_0xf90728(-0x37,-0xf,-0x95,-0x94)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x4d40c0(-0x155,-0x1db,-0xf2,-0x2d0)](hookMatcherGroupSchema)[_0x4d40c0(-0x2bc,-0x185,-0x212,-0x1a6)](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x4d40c0(-0x1f2,-0x185,-0x2eb,-0x174)](),'SessionEnd':z[_0x4d40c0(-0x14f,-0x1db,-0x11d,-0x292)](hookMatcherGroupSchema)['optional']()}),cliConfigSchema=z[_0xf90728(-0xb2,0x1b8,0x53,0x199)]({'activeProvider':z[_0xf90728(0x32,0x4f,0x2a,-0xd7)]()[_0xf90728(0xa2,-0x15e,-0x3f,-0xba)](),'activeModel':z[_0xf90728(0x3e,-0xa2,0x2a,-0xaa)]()[_0xf90728(0x19,0x136,-0x3f,0x117)](),'apiKey':z[_0xf90728(-0xaf,-0x79,0x2a,-0x2b)]()['optional'](),'providers':z[_0xf90728(0x8,-0x24,-0xe8,-0x12e)](z['string'](),providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0xf90728(-0x26,-0x63,-0x3f,0x10c)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0xf90728(0x109,0x0,-0x3f,0x122)](),'commands':commandsSettingsSchema[_0x4d40c0(-0x231,-0x185,-0x262,-0x1e9)](),'skillsEnabled':z[_0x4d40c0(-0x330,-0x22e,-0x382,-0x2ba)](z[_0xf90728(-0x117,-0x9,0x2a,-0x10f)](),z[_0x4d40c0(0x10b,0x39,0x15e,0x174)]())[_0x4d40c0(-0x1f7,-0x185,-0x90,-0x100)](),'allowedDirs':z[_0xf90728(-0xd0,-0xf4,-0x95,-0x73)](z['string']())[_0x4d40c0(-0xf0,-0x185,-0x222,-0xf9)](),'mcpEnabled':prototypeSafeRecord(z[_0x4d40c0(0x8b,0x39,0x178,-0x12)]())[_0xf90728(-0x96,-0xeb,-0x3f,-0x152)](),'commandsEnabled':z[_0x4d40c0(-0x296,-0x22e,-0x346,-0x3a4)](z[_0x4d40c0(-0x1f3,-0x11c,-0x172,-0x63)](),z[_0xf90728(0x28b,0x199,0x17f,0x224)]())[_0x4d40c0(-0xc8,-0x185,-0x20e,-0x210)](),'memory':memorySettingsSchema['optional'](),'session':z[_0x4d40c0(-0x152,-0xf3,-0x14e,-0x73)]({'memPersist':z['boolean']()[_0x4d40c0(-0x148,-0x185,-0x2e0,-0xc9)](),'persistEventLog':z[_0x4d40c0(0x178,0x39,0x1a1,0x140)]()[_0xf90728(0x51,0x139,-0x3f,-0x13f)](),'persistHttpLog':z[_0xf90728(0x23a,0x15f,0x17f,0x4a)]()[_0x4d40c0(-0x189,-0x185,-0x50,-0x2e5)]()})['passthrough']()['optional'](),'requireToolApproval':z['boolean']()[_0x4d40c0(-0x88,-0x185,-0x16,-0x11f)](),'thinking':z['enum'](['OFF',_0x4d40c0(-0x239,-0x1e1,-0x281,-0x27e),_0xf90728(-0x2a,-0x62,0x3c,-0x105),_0xf90728(0x4b,0x149,0x56,-0xf4)])['optional'](),'streamingChunks':z[_0x4d40c0(0xfc,0x39,0x18,-0x1e)]()[_0x4d40c0(-0x2ef,-0x185,-0x16a,-0x32)](),'agentsEnabled':z['record'](z[_0xf90728(0x15e,-0xd7,0x2a,-0x37)](),z[_0xf90728(0x254,0x1d2,0x17f,0x291)]())['optional'](),'recentModels':z[_0x4d40c0(-0x196,-0x1db,-0x26b,-0xfd)](recentModelSchema)[_0x4d40c0(-0x14,-0x185,-0x51,-0xd)](),'lsp':lspConfigSchema[_0xf90728(0xe,0x84,-0x3f,0x121)](),'servers':z[_0x4d40c0(-0x1b0,-0x22e,-0x2c3,-0x224)](z[_0x4d40c0(-0x133,-0x11c,-0x200,-0xdc)](),serverEndpointSchema)[_0xf90728(-0x25,-0x61,-0x3f,-0x1b3)](),'ui':z[_0xf90728(0x6c,-0xaa,0x53,-0xab)]({'theme':uiThemeSettingsSchema[_0x4d40c0(-0x1a3,-0x185,-0x174,-0x168)](),'statusline':statuslineConfigSchema[_0xf90728(-0x83,-0xe8,-0x3f,-0x146)]()})[_0x4d40c0(-0x1fc,-0x276,-0x225,-0x2d9)]()['optional'](),'tools':z[_0x4d40c0(-0x2bb,-0x22e,-0x342,-0x32e)](z['string'](),z['unknown']())[_0x4d40c0(-0x123,-0x185,-0x2a6,-0x1b8)](),'hooks':hooksConfigSchema[_0x4d40c0(-0x18a,-0x185,-0x164,-0x16b)]()})['passthrough'](),workspaceOverlaySchema=z[_0xf90728(0x16c,0x116,0x53,-0xff)]({'root':z[_0xf90728(0xe,-0xf8,0x2a,-0x131)]()['optional'](),'allowedDirs':z['array'](z[_0xf90728(0xe0,-0x51,0x2a,0x2f)]())[_0x4d40c0(-0x29,-0x185,-0x2ef,-0x127)](),'activeProvider':z[_0x4d40c0(-0xf8,-0x11c,-0x95,-0x1bd)]()['optional'](),'activeModel':z[_0x4d40c0(-0x163,-0x11c,-0x10,-0x1a5)]()['optional'](),'mcp':mcpSettingsSchema[_0xf90728(0xcf,0x9f,-0x3f,-0x15a)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x4d40c0(-0x15d,-0x185,-0xb2,-0x12f)](),'hooks':hooksConfigSchema[_0x4d40c0(-0xc4,-0x185,-0x4d,-0x154)](),'memory':memorySettingsSchema[_0x4d40c0(-0x128,-0x185,-0x1c2,-0x1df)](),'mcpEnabled':prototypeSafeRecord(z[_0x4d40c0(0xae,0x39,-0xf7,-0xe0)]())[_0xf90728(0x70,-0x8b,-0x3f,-0x160)](),'skillsEnabled':z[_0xf90728(0x18,-0x61,-0xe8,-0x1ca)](z[_0x4d40c0(-0xe,-0x11c,-0x227,0x1)](),z[_0xf90728(0xaf,0x220,0x17f,0x194)]())['optional'](),'agentsEnabled':z[_0xf90728(-0x13d,-0x130,-0xe8,-0x230)](z['string'](),z['boolean']())[_0x4d40c0(-0x2b7,-0x185,-0x2b7,-0x1e5)](),'commandsEnabled':z[_0x4d40c0(-0x250,-0x22e,-0x32c,-0x109)](z['string'](),z[_0xf90728(0x50,0x1e4,0x17f,0x74)]())[_0xf90728(-0x6b,-0x73,-0x3f,-0x17a)]()})[_0x4d40c0(-0x156,-0x276,-0x3aa,-0x3c3)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object[_0xf90728(0x10c,-0x20,0x98,-0x3a)]),_0x4d40c0(-0xcc,-0xae,-0x1a9,0x62)]);function buildDescription(_0x5344cb){const _0x2ee986={_0x351284:0xe1,_0xe201ba:0x90,_0x3c2151:0x9d,_0x2f3dd5:0xc6,_0xc17c9f:0xc6,_0x2aaf11:0x1b8,_0x4de339:0xb8,_0x493971:0x161,_0x39725b:0x11e,_0x2f93c8:0x97,_0x4282ba:0xa,_0x490569:0xcf,_0xec033c:0xa7,_0x501534:0x97,_0x1b71f4:0xb0},_0x5951e1={_0x2fc773:0x102,_0x44cfa9:0x53},_0x36f607={_0x449d94:0xb4};if(_0x5344cb[_0x5d677a(0x1c,-0x35,-0x191,-0xc1)]===0x0)return[_0x5d677a(-0x197,-0x129,-_0x2ee986._0x351284,0x20),_0x5d677a(0xbb,-_0x2ee986._0xe201ba,_0x2ee986._0x3c2151,_0x2ee986._0x2f3dd5),'No\x20commands\x20are\x20currently\x20available.'][_0xd4d0a3(0x78,_0x2ee986._0xc17c9f,_0x2ee986._0x2aaf11,-_0x2ee986._0x4de339)]('\x0a');function _0x5d677a(_0x5b511d,_0x564b05,_0x36e51d,_0x4735eb){return _0xf90728(_0x36e51d,_0x564b05-_0x36f607._0x449d94,_0x564b05- -0xbb,_0x4735eb-0x1be);}function _0xd4d0a3(_0x44b67d,_0x4c5d9a,_0x5590a8,_0x141041){return _0x4d40c0(_0x44b67d-_0x5951e1._0x2fc773,_0x44b67d-_0x5951e1._0x44cfa9,_0x5590a8-0x51,_0x4c5d9a);}const _0x2d1066=[_0xd4d0a3(-_0x2ee986._0x493971,-_0x2ee986._0x39725b,-0x25,-0x84),_0x5d677a(-_0x2ee986._0x2f93c8,-_0x2ee986._0xe201ba,-0x1ad,-0x3d),_0x5d677a(_0x2ee986._0x4282ba,-_0x2ee986._0x490569,0x4f,_0x2ee986._0xec033c),..._0x5344cb[_0x5d677a(0x166,_0x2ee986._0x501534,0x6,0x1ff)](_0x1da582=>_0x1da582[_0x5d677a(-0x44,-0xc,-0xc7,-0x3e)]?'-\x20'+_0x1da582[_0x5d677a(-0x151,-0x17c,-0x113,-0x293)]+'\x20'+_0x1da582['argumentHint']+':\x20'+_0x1da582['description']:'-\x20'+_0x1da582[_0x5d677a(-0x22a,-0x17c,-0xfa,-0x107)]+':\x20'+_0x1da582[_0xd4d0a3(-0x157,0x17,-0x1e8,-0x270)])];return _0x2d1066[_0x5d677a(0x13e,_0x2ee986._0x1b71f4,-0xb5,0x1b3)]('\x0a');}function createInvokeCommandTool(_0xc28d7b){const _0x19777d={_0x333290:0x219,_0x34ef93:0x461,_0x10bd49:0x339,_0x42c8e2:0x2f5,_0x3d6bbb:0x239,_0x1a74cc:0x70,_0x50b993:0x1da,_0x199c14:0x85,_0xf8f6:0x37f,_0x35c26d:0x4d2,_0x328c7a:0x11c},_0x1f5401={_0xe11c33:0x211,_0x50254d:0x39d,_0x38e472:0x319,_0x32f861:0x2f1,_0x1bbe9c:0x277,_0x2bf98b:0x3aa,_0x2124ed:0x440,_0x167c87:0x2f9,_0x59691c:0x3f4,_0x1896d4:0x4ff,_0x100b97:0x81,_0x2f24b2:0x2ef,_0x58f9c7:0x2fb,_0x11b3ef:0x37c,_0x247f83:0x1c0,_0x1d4690:0x31c,_0x822729:0x40d,_0x3d53d9:0x3b6,_0x305d64:0x1da,_0x189325:0x427,_0x3e7eec:0x562,_0x24b118:0x325,_0x383cf7:0x473,_0xfb7ac6:0x462,_0x5bc3e2:0x237,_0x2130aa:0x1e8,_0x599b2d:0x38d,_0x2e056f:0x3f6,_0x3157dd:0x31f},_0x18924f={_0x2c8712:0xee},_0x2cf898={_0x106085:0x1dd,_0x1ff845:0xe3},_0x3ba409={_0xa58ee8:0x114,_0x22fad9:0x4e9};function _0x47c748(_0x31cf32,_0x1d0564,_0x205b04,_0x508725){return _0x4d40c0(_0x31cf32-_0x3ba409._0xa58ee8,_0x205b04-_0x3ba409._0x22fad9,_0x205b04-0x1f2,_0x31cf32);}const _0x3f1a70=new Map(_0xc28d7b[_0x47c748(_0x19777d._0x333290,_0x19777d._0x34ef93,_0x19777d._0x10bd49,0x401)][_0x8247f(_0x19777d._0x42c8e2,0x22e,_0x19777d._0x3d6bbb,0x212)](_0x5f3903=>[_0x5f3903['id'],_0x5f3903]));function _0x8247f(_0x4d3120,_0x58c9d3,_0x1905b5,_0x57f67a){return _0x4d40c0(_0x4d3120-_0x2cf898._0x106085,_0x57f67a-0x206,_0x1905b5-_0x2cf898._0x1ff845,_0x1905b5);}const _0x273d71=buildDescription(_0xc28d7b[_0x8247f(-_0x19777d._0x1a74cc,0xd1,0x180,0x56)]);return defineTool({'name':_0x8247f(0x18c,0x1b9,0x75,0xdd),'description':_0x273d71,'inputSchema':{'type':_0x8247f(0xa2,_0x19777d._0x50b993,0x126,0x113),'properties':{'name':{'type':_0x8247f(-_0x19777d._0x199c14,-0x37,0x1b6,0xea)},'args':{'type':_0x47c748(0x27c,_0x19777d._0xf8f6,0x3cd,_0x19777d._0x35c26d)}},'required':[_0x8247f(0x47,0xa8,_0x19777d._0x328c7a,-0x1)]},async *'execute'(_0x5e3354){const _0x2277a0={_0x34f377:0x1e0,_0x3efad0:0x28d},_0x4dc0b3=_0x3f1a70[_0x9f55f4(-0x1af,-0x86,-0x132,-_0x1f5401._0xe11c33)](_0x5e3354[_0x47fb46(0x2a1,0x362,_0x1f5401._0x50254d,0x2fb)]);if(!_0x4dc0b3){const _0x41d96d=Array[_0x9f55f4(-_0x1f5401._0x38e472,-_0x1f5401._0x32f861,-_0x1f5401._0x1bbe9c,-_0x1f5401._0x2bf98b)](_0x3f1a70[_0x9f55f4(-0x260,-_0x1f5401._0x2124ed,-_0x1f5401._0x167c87,-0x199)]())[_0x47fb46(_0x1f5401._0x59691c,0x67d,_0x1f5401._0x1896d4,0x527)](',\x20');throw new ToolExecutionError(_0x9f55f4(-0x76,-0x2dc,-0x16c,-_0x1f5401._0x100b97)+_0x5e3354[_0x47fb46(0x3a4,_0x1f5401._0x2f24b2,0x34e,_0x1f5401._0x58f9c7)]+_0x47fb46(_0x1f5401._0x11b3ef,0x261,_0x1f5401._0x247f83,_0x1f5401._0x1d4690)+_0x41d96d,{'name':_0x5e3354[_0x47fb46(0x3e9,_0x1f5401._0x822729,_0x1f5401._0x3d53d9,_0x1f5401._0x58f9c7)]});}function _0x47fb46(_0x5a7f5e,_0x2cdd4f,_0x4dc886,_0x591383){return _0x47c748(_0x4dc886,_0x2cdd4f-_0x18924f._0x2c8712,_0x591383-0x19,_0x591383-0x90);}function _0x9f55f4(_0x38edf9,_0x33cfb1,_0x3c9af1,_0x57850a){return _0x8247f(_0x38edf9-_0x2277a0._0x34f377,_0x33cfb1-0xca,_0x38edf9,_0x3c9af1- -_0x2277a0._0x3efad0);}const _0x3152fd=await _0xc28d7b[_0x9f55f4(-_0x1f5401._0x305d64,0x1f,-0x145,-0x31)](_0x4dc0b3),_0x4f692a=_0x5e3354['args']??'',_0x7eb55c=renderCommandInstructions({'instructions':_0x3152fd[_0x47fb46(_0x1f5401._0x189325,_0x1f5401._0x3e7eec,_0x1f5401._0x24b118,_0x1f5401._0x383cf7)],'argumentsText':_0x4f692a,'argumentNames':_0x3152fd['arguments']});return yield createToolOutput(_0x7eb55c,{'id':_0x3152fd['id'],'name':_0x3152fd[_0x47fb46(_0x1f5401._0xfb7ac6,_0x1f5401._0x5bc3e2,_0x1f5401._0x2130aa,0x2fb)],'path':_0x4dc0b3['source'][_0x47fb46(_0x1f5401._0x599b2d,0x250,_0x1f5401._0x2e056f,_0x1f5401._0x3157dd)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x1cf2dc,rename as _0x382651,stat as _0xf15680,writeFile as _0x32c25c}from'fs/promises';import*as _0x4c2644 from'path';function detectEol(_0x13ef73){const _0x413a78={_0x263789:0x57,_0x3aff9f:0x1cc,_0x3f9937:0xea,_0x1fed38:0x19,_0x31bdc8:0x1a9,_0x4cb5ee:0x1b9,_0x57d1c7:0x1ba},_0x2fcded={_0x470367:0x1ba,_0xdb1e28:0x131},_0x1a791e={_0x3af6d1:0x1c5,_0x3d9d65:0x18b};function _0x4e8273(_0x75aa20,_0x20be37,_0x38503a,_0x3ff332){return _0x4d40c0(_0x75aa20-_0x1a791e._0x3af6d1,_0x20be37-0x115,_0x38503a-_0x1a791e._0x3d9d65,_0x75aa20);}function _0x504698(_0x28926b,_0x45408c,_0x201859,_0x516938){return _0x4d40c0(_0x28926b-_0x2fcded._0x470367,_0x201859-0x532,_0x201859-_0x2fcded._0xdb1e28,_0x45408c);}return/\r\n/[_0x4e8273(-0x5,-_0x413a78._0x263789,-_0x413a78._0x3aff9f,-0x141)](_0x13ef73[_0x4e8273(-0x182,-0x6a,0x103,_0x413a78._0x3f9937)](_0x4e8273(-_0x413a78._0x1fed38,0x140,0x2b0,_0x413a78._0x31bdc8)))?_0x4e8273(_0x413a78._0x4cb5ee,0xac,0x1b9,_0x413a78._0x57d1c7):'lf';}function normalizeToLf(_0x1fe09e){return _0x1fe09e['replace'](/\r\n/g,'\x0a');}function convertEol(_0xccddfa,_0x32ba78){const _0x5de917={_0x1ef833:0x6ed},_0x1867ec={_0x5c1a25:0x66f,_0x1603c3:0x14};function _0x32d731(_0x1ab05b,_0x1f5310,_0x1a1798,_0x443e88){return _0x4d40c0(_0x1ab05b-0x19f,_0x443e88-_0x1867ec._0x5c1a25,_0x1a1798-_0x1867ec._0x1603c3,_0x1f5310);}return _0x32ba78===_0x32d731(0x55f,0x753,_0x5de917._0x1ef833,0x606)?_0xccddfa['replace'](/\n/g,'\x0d\x0a'):_0xccddfa;}async function atomicWrite(_0x23787a,_0x3ef0ef){const _0x41c705={_0xa29ee3:0x7fb,_0x566d85:0x693,_0x198e6c:0x589,_0x36603e:0x63,_0x43c5f4:0x19,_0x147930:0xfb,_0x370a9c:0x6f,_0x2dd0b0:0x529,_0x5935ae:0x64c,_0x4026f0:0x5f7,_0xa1238a:0x66f,_0x1f2f45:0x51d,_0x58739f:0x9c,_0x5cff74:0x2f,_0x2435f2:0x1f0},_0x562ead={_0x1ca3e6:0x9f,_0x57366d:0xeb},_0x209428={_0x2095e0:0x11b},_0x5a415a=_0x4c2644[_0x3e6eb0(_0x41c705._0xa29ee3,_0x41c705._0x566d85,_0x41c705._0x198e6c,0x667)](_0x23787a),_0x1cb8c9=_0x4c2644['join'](_0x5a415a,_0x42406d(-0x6d,_0x41c705._0x36603e,0xec,-_0x41c705._0x43c5f4)+_0x4c2644[_0x42406d(0x44,_0x41c705._0x147930,-_0x41c705._0x370a9c,0x109)](_0x23787a)+'.'+Date[_0x3e6eb0(_0x41c705._0x2dd0b0,0x659,0x707,_0x41c705._0x5935ae)]()+'.'+Math[_0x3e6eb0(_0x41c705._0x4026f0,_0x41c705._0xa1238a,_0x41c705._0x1f2f45,0x6c9)]()[_0x42406d(_0x41c705._0x58739f,-_0x41c705._0x5cff74,_0x41c705._0x2435f2,0xc6)](0x24)['slice'](0x2));await _0x32c25c(_0x1cb8c9,_0x3ef0ef);function _0x3e6eb0(_0x148310,_0x5d05ae,_0x50edea,_0x5dcbd9){return _0x4d40c0(_0x148310-_0x209428._0x2095e0,_0x5d05ae-0x67a,_0x50edea-0xa3,_0x50edea);}function _0x42406d(_0x574a91,_0x2f9a45,_0x217bc1,_0x3c8de8){return _0x4d40c0(_0x574a91-_0x562ead._0x1ca3e6,_0x574a91-0x21b,_0x217bc1-_0x562ead._0x57366d,_0x2f9a45);}await _0x382651(_0x1cb8c9,_0x23787a);}function sha256(_0x1a97a6){const _0x4978b2={_0x37a97b:0x241,_0x572fc3:0x11c,_0x3d7f0a:0x1a4,_0x41712b:0x153},_0xfa6398={_0x351749:0xbe},_0x1b26ed={_0x31f869:0x149};function _0x3a1caf(_0x53b471,_0x79fe1b,_0x25c0c5,_0xf059c4){return _0x4d40c0(_0x53b471-_0x1b26ed._0x31f869,_0x53b471-0x3e1,_0x25c0c5-0x19c,_0xf059c4);}function _0x4a18f0(_0x2afe57,_0x5aac32,_0xd83dce,_0x54113f){return _0xf90728(_0x5aac32,_0x5aac32-_0xfa6398._0x351749,_0xd83dce- -0xf,_0x54113f-0x1ec);}return createHash('sha256')[_0x3a1caf(_0x4978b2._0x37a97b,0x37c,0xec,_0x4978b2._0x572fc3)](_0x1a97a6)['digest'](_0x3a1caf(0x26f,_0x4978b2._0x3d7f0a,_0x4978b2._0x41712b,0x10e));}function countLines(_0x395b33){const _0x2c4856={_0x5c16e5:0xe5,_0x60f3ac:0xae,_0x56aa2b:0x6,_0x18bac9:0x3d1,_0x5ac483:0x278,_0xf79fa3:0x2b,_0x118e9a:0x49},_0x372a74={_0x7ae598:0x31f},_0x15ea4a={_0x943138:0x1bb,_0x3bbd07:0x53};function _0x5b0d38(_0x3b0c1a,_0x18bb7b,_0x4d1385,_0x159dd1){return _0x4d40c0(_0x3b0c1a-_0x15ea4a._0x943138,_0x4d1385-0x1f1,_0x4d1385-_0x15ea4a._0x3bbd07,_0x159dd1);}const _0x447c8c=_0x395b33[_0x5b0d38(-_0x2c4856._0x5c16e5,-_0x2c4856._0x60f3ac,-0x2c,-_0x2c4856._0x56aa2b)](/\n$/,'');function _0xe055dd(_0x1792af,_0x242900,_0x406c70,_0x26159b){return _0x4d40c0(_0x1792af-0x1c4,_0x26159b-_0x372a74._0x7ae598,_0x406c70-0xeb,_0x406c70);}return _0x447c8c['length']===0x0?0x0:_0x447c8c[_0xe055dd(0x1ab,_0x2c4856._0x18bac9,_0x2c4856._0x5ac483,0x28a)]('\x0a')[_0x5b0d38(0x117,-_0x2c4856._0xf79fa3,0x131,_0x2c4856._0x118e9a)];}function calculateLineNumbers(_0x24679f,_0x4a73a3,_0xe8e751,_0x4a0c01){const _0x478039={_0x54f340:0x412,_0x573339:0x4cc,_0x5ccb49:0x3aa},_0x525a6f={_0x3b1dc9:0x1b4},_0x16bebe=_0x24679f[_0x20a96d(_0x478039._0x54f340,_0x478039._0x573339,_0x478039._0x5ccb49,0x30a)](0x0,_0x4a0c01)['split']('\x0a')['length'];function _0x20a96d(_0x393093,_0x233afb,_0x5a6ff7,_0x5dacd5){return _0xf90728(_0x233afb,_0x233afb-_0x525a6f._0x3b1dc9,_0x393093-0x477,_0x5dacd5-0x134);}const _0x1fe2ce=countLines(_0x4a73a3),_0x46e2ba=countLines(_0xe8e751);return{'oldStartLine':_0x16bebe,'oldEndLine':_0x16bebe+_0x1fe2ce-0x1,'newStartLine':_0x16bebe,'newEndLine':_0x16bebe+_0x46e2ba-0x1,'oldLineCount':_0x1fe2ce,'newLineCount':_0x46e2ba};}function createFileEditTool(_0x54f871={}){const _0x3055d5={_0xefdf7c:0xf5,_0x1cfb27:0xdf,_0x318557:0x88,_0x688588:0xb9,_0x28842b:0x5a,_0x43245a:0x14,_0x5188f5:0x1b9,_0x4d9e56:0xd7,_0x55585f:0x32b,_0x615621:0x1f3,_0x5ab5b:0x30c,_0x460755:0x141,_0x215c1f:0x2db,_0x3af28a:0x28a,_0x526e23:0x2cf,_0xa241a1:0x81,_0x18cdb0:0x147,_0x2606be:0x1ef,_0x2b0111:0x21,_0x2e9724:0x2f,_0x522c72:0x90,_0x13085c:0x3c,_0x19c790:0x151,_0x2a0ecd:0x32,_0x5e8f67:0x5f,_0x102d8d:0x13e,_0x39bfe8:0xa6,_0x351e21:0x1,_0x1ed95a:0x17,_0x190d5f:0x218,_0x2663f9:0x14a},_0x27e9bf={_0x2d9e65:0xc1,_0x52588:0x265,_0x1d14e4:0x387,_0x9ab66:0x119,_0x9377d0:0x190,_0x4fced3:0x2b7,_0x51695b:0x3c3,_0x50eb79:0x268,_0x249aeb:0x1f1,_0x2f7e75:0x117,_0x3dd766:0x4b,_0x99a8d2:0x288,_0x4adbb1:0x132,_0x1275de:0x9c,_0x4400f9:0xec,_0x3fcfc0:0x1d,_0xf4f507:0xfc,_0x31c770:0x340,_0x1c6af3:0x15b,_0x5c75f4:0xc4,_0x4a36de:0x225,_0x3d20ab:0x140,_0x192f67:0x1f,_0x5475b7:0x7f,_0x425f9b:0x19b,_0x276d30:0x141,_0x1ffb1a:0x25e,_0x20cd8a:0x163,_0x28c2da:0x19f,_0x55cc21:0x154,_0x32f3af:0x56,_0x283e2a:0x13,_0x12bc7c:0x30,_0x4ce557:0x111,_0x4331f5:0x78,_0x3518e0:0x8a,_0x433a67:0xab,_0x1ff8cc:0x218,_0x579c3e:0xf5,_0xc55b46:0x11,_0x280eb1:0x4d,_0x1537d6:0x14},_0x3f5b21={_0x11ad4d:0x8},_0x5bbb22={_0x2d040e:0x22},_0x542bf1=_0x4c2644[_0x34049e(-_0x3055d5._0xefdf7c,-0x1bf,-_0x3055d5._0x1cfb27,-_0x3055d5._0x318557)](_0x54f871[_0x34049e(-0x13c,_0x3055d5._0x688588,0x107,-_0x3055d5._0x28842b)]??process[_0x34049e(0x141,-_0x3055d5._0x43245a,_0x3055d5._0x5188f5,0x58)]());function _0x4ec622(_0x35104d,_0x55aff9,_0x2caff7,_0x3d2efb){return _0x4d40c0(_0x35104d-0xe7,_0x3d2efb- -_0x5bbb22._0x2d040e,_0x2caff7-0xc3,_0x35104d);}const _0x3d765d=_0x54f871[_0x4ec622(-0x1ad,-0x218,-0x8b,-_0x3055d5._0x4d9e56)]??[];function _0x34049e(_0x3ec109,_0x157cba,_0x54c67b,_0x5628d4){return _0xf90728(_0x157cba,_0x157cba-0x54,_0x5628d4-_0x3f5b21._0x11ad4d,_0x5628d4-0x1a1);}const _0x294257=_0x54f871[_0x4ec622(-0x226,-_0x3055d5._0x55585f,-_0x3055d5._0x615621,-0x229)]??_0x4ec622(-_0x3055d5._0x5ab5b,-_0x3055d5._0x460755,-_0x3055d5._0x215c1f,-_0x3055d5._0x3af28a);return defineTool({'name':_0x294257,'description':_0x4ec622(-0x2ce,-0x345,-_0x3055d5._0x526e23,-0x265),'inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'description':{'type':_0x34049e(-_0x3055d5._0xa241a1,-0xe2,_0x3055d5._0x18cdb0,0x32),'description':_0x4ec622(-_0x3055d5._0x2606be,_0x3055d5._0x2b0111,-_0x3055d5._0x2e9724,-_0x3055d5._0x522c72)},'oldText':{'type':_0x34049e(-_0x3055d5._0x13085c,_0x3055d5._0x19c790,0x108,_0x3055d5._0x2a0ecd)},'newText':{'type':_0x4ec622(-_0x3055d5._0x5e8f67,-0x1cf,-0x192,-_0x3055d5._0x102d8d)},'dryRun':{'type':_0x4ec622(-_0x3055d5._0x39bfe8,-_0x3055d5._0x351e21,0x39,_0x3055d5._0x1ed95a)}},'required':['filePath',_0x34049e(-0x1ad,-_0x3055d5._0x190d5f,-0x285,-_0x3055d5._0x2663f9),'newText']},async *'execute'(_0x455193){const _0x5af2cb={_0x40d83c:0x31},_0x284d68=resolveAllowedPath(_0x542bf1,_0x3d765d,_0x455193[_0x1b9192(-0x1d,-0x86,_0x27e9bf._0x2d9e65,0xbe)]);await assertWorkspaceFile(_0x284d68);const _0x3befc0=await _0xf15680(_0x284d68),_0x35425a=await _0x1cf2dc(_0x284d68),_0xdc0c1=detectEol(_0x35425a),_0x28f278=normalizeToLf(_0x35425a[_0x1b9192(-0x10c,0x2a,-0x1cf,-_0x27e9bf._0x52588)]('utf8')),_0x3e2430=normalizeToLf(_0x455193[_0x1b9192(-0x225,-_0x27e9bf._0x1d14e4,-_0x27e9bf._0x9ab66,-_0x27e9bf._0x9377d0)]),_0x531d73=normalizeToLf(_0x455193[_0x4fac74(-_0x27e9bf._0x4fced3,-_0x27e9bf._0x51695b,-_0x27e9bf._0x50eb79,-0x182)]),_0x2c9d10=_0x28f278[_0x4fac74(-0x357,-0x1e3,-0x29f,-0x28c)](_0x3e2430);if(_0x2c9d10===-0x1){const _0x22dc3e=_0x3e2430[_0x1b9192(-0x138,-_0x27e9bf._0x249aeb,-_0x27e9bf._0x2f7e75,-0xf4)](0x0,0x64)[_0x1b9192(-0x1aa,-_0x27e9bf._0x3dd766,-0x103,-0xac)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x4fac74(-_0x27e9bf._0x99a8d2,-_0x27e9bf._0x4adbb1,-0x23d,-0xe4)+_0x22dc3e+(_0x3e2430['length']>0x64?_0x4fac74(-_0x27e9bf._0x1275de,-0x87,-_0x27e9bf._0x4400f9,-0x153):'')+'\x22',{'filePath':_0x455193[_0x1b9192(-_0x27e9bf._0x3fcfc0,-0x4d,-_0x27e9bf._0xf4f507,0xe5)]});}const _0x5ad2a4=_0x28f278[_0x4fac74(-_0x27e9bf._0x31c770,-0x1e5,-0x1e0,-0x25f)](0x0,_0x2c9d10)+_0x531d73+_0x28f278[_0x4fac74(-0x73,-0x9e,-0x1e0,-0xd8)](_0x2c9d10+_0x3e2430[_0x4fac74(-_0x27e9bf._0x1c6af3,-0x3,-0xf5,-0x97)]),_0x2614c5=convertEol(_0x5ad2a4,_0xdc0c1);function _0x1b9192(_0x1bb0b8,_0x4c204e,_0x5b69f9,_0x26fd5a){return _0x4ec622(_0x5b69f9,_0x4c204e-0x183,_0x5b69f9-0x1c5,_0x1bb0b8-0x95);}const _0x25980a=Buffer[_0x4fac74(-0x1c3,-_0x27e9bf._0x5c75f4,-_0x27e9bf._0x4a36de,-_0x27e9bf._0x3d20ab)](_0x2614c5,'utf8'),_0x5ab483=sha256(_0x35425a);function _0x4fac74(_0x4f0f88,_0x37f804,_0x4923d4,_0x1ea6ed){return _0x4ec622(_0x1ea6ed,_0x37f804-_0x5af2cb._0x40d83c,_0x4923d4-0x89,_0x4923d4- -0x13);}const _0x4c718f=sha256(_0x25980a),_0x100734=_0x5ab483===_0x4c718f,_0x76614b=_0x455193['dryRun']??![];return!_0x76614b&&!_0x100734&&await atomicWrite(_0x284d68,_0x25980a),yield createToolOutput(_0x100734?_0x1b9192(-0xa6,-0x1b7,-_0x27e9bf._0x192f67,0xc3):_0x76614b?_0x1b9192(-_0x27e9bf._0x5475b7,-_0x27e9bf._0x425f9b,-_0x27e9bf._0x276d30,0x40):_0x1b9192(-0x1fd,-_0x27e9bf._0x1ffb1a,-0xb6,-0x35d),{'filePath':_0x455193[_0x4fac74(-_0x27e9bf._0x20cd8a,-0x8f,-0xc5,-_0x27e9bf._0x28c2da)],'resolvedPath':_0x284d68,'created':_0x3befc0[_0x1b9192(0xae,0x205,_0x27e9bf._0x55cc21,-_0x27e9bf._0x32f3af)][_0x4fac74(-_0x27e9bf._0x283e2a,0xdc,-_0x27e9bf._0x12bc7c,-_0x27e9bf._0x4ce557)](),'modified':_0x3befc0['mtime'][_0x1b9192(_0x27e9bf._0x4331f5,_0x27e9bf._0x5475b7,0xe6,0xc0)](),'size':_0x3befc0[_0x4fac74(-0x17f,_0x27e9bf._0x3518e0,-_0x27e9bf._0x433a67,-0x15)],'eol':_0xdc0c1,'oldTextLength':_0x3e2430[_0x4fac74(-_0x27e9bf._0x1ff8cc,-0x218,-_0x27e9bf._0x579c3e,0x45)],'newTextLength':_0x531d73[_0x1b9192(-0x4d,-0x5,_0x27e9bf._0xc55b46,0xcc)],'bytesWritten':_0x100734||_0x76614b?0x0:_0x25980a[_0x1b9192(-_0x27e9bf._0x280eb1,-0x159,-0xba,_0x27e9bf._0x1537d6)],'beforeSha':_0x5ab483,'afterSha':_0x4c718f,'dryRun':_0x76614b,'noChange':_0x100734,'lineNumbers':calculateLineNumbers(_0x28f278,_0x3e2430,_0x531d73,_0x2c9d10)}),void 0x0;}});}import{mkdir as _0x1e612f,rename as _0x4a2c1c,stat as _0x2da250,writeFile as _0x3851bd}from'fs/promises';import*as _0xd7a308 from'path';async function atomicWrite2(_0x21294f,_0x184386){const _0x12b75f={_0x3244ee:0x3cf,_0x237a71:0x3d9,_0x31375:0x139,_0xd43cfd:0xd8,_0x4fcd71:0x4,_0x5ee1ff:0x33f,_0x3eed2d:0x295,_0x272975:0x1e1,_0x4b9404:0x1ff},_0x1dcd5d={_0x2cd175:0x157,_0x1fb549:0x3aa},_0x4b4c3b={_0x2c09cc:0x1c8},_0x5a8329=_0xd7a308['dirname'](_0x21294f);await _0x1e612f(_0x5a8329,{'recursive':!![]});const _0x268b52=_0xd7a308[_0x280ed8(_0x12b75f._0x3244ee,_0x12b75f._0x237a71,0x294,0x389)](_0x5a8329,_0x5255f4(_0x12b75f._0x31375,-0xb,_0x12b75f._0xd43cfd,-_0x12b75f._0x4fcd71)+_0xd7a308['basename'](_0x21294f)+'.'+Date[_0x5255f4(0x28f,0x474,_0x12b75f._0x5ee1ff,_0x12b75f._0x3eed2d)]()+'.'+Math['random']()[_0x280ed8(0x22b,0x398,_0x12b75f._0x272975,0x1b4)](0x24)[_0x280ed8(_0x12b75f._0x4b9404,0x15f,0x156,0x9f)](0x2));function _0x5255f4(_0x915e0e,_0xd36363,_0x123d25,_0x2c5a8d){return _0xf90728(_0x2c5a8d,_0xd36363-_0x4b4c3b._0x2c09cc,_0x123d25-0x21a,_0x2c5a8d-0x12f);}await _0x3851bd(_0x268b52,_0x184386);function _0x280ed8(_0x22f37e,_0x37af36,_0x49a934,_0x5485b2){return _0x4d40c0(_0x22f37e-_0x1dcd5d._0x2cd175,_0x22f37e-_0x1dcd5d._0x1fb549,_0x49a934-0x147,_0x37af36);}await _0x4a2c1c(_0x268b52,_0x21294f);}function createFileNewTool(_0x35d6ee={}){const _0x5f932f={_0x4f42bd:0x382,_0x99c0f5:0x23f,_0x270342:0x359,_0x54dce2:0x407,_0x460388:0x38c,_0x4149a9:0x37c,_0x5eaa15:0x517,_0x2cc213:0x41f,_0x57dd34:0x514,_0x264e8e:0x576,_0x1aefcc:0x42f,_0x3dadd0:0x2a3,_0x49f86d:0x40e,_0x33bf3e:0x2a5,_0x50de2e:0x48d,_0x59442a:0x3e5,_0x4714ed:0x4b4,_0x58b89a:0x4c7,_0x51007a:0x284,_0x2fcc1e:0x46d,_0x2cffe3:0x306,_0x19ca6c:0x3d6},_0x5e1324={_0x20710f:0x51b,_0x1abca4:0x499,_0x13c7a1:0x324,_0x40629c:0x533,_0x3cc59f:0x451,_0xe20ee9:0x22f,_0x20bc6a:0x2fa,_0x3030a4:0x462,_0xa83727:0x2f6,_0x1ff054:0x373,_0x322962:0x339,_0x47abe7:0x507,_0x2bccee:0x4f9,_0x398d6f:0x554,_0x1e62de:0x375,_0x21f182:0x284,_0x1c20f7:0x24b,_0xf08a23:0x587,_0xa639e5:0x4c5,_0x353d5d:0x43b,_0x4d1807:0x511,_0x1b848e:0x418,_0x4047e1:0x4db,_0xe8a1f6:0x42a,_0x54707f:0x4b7,_0x2761af:0x57a,_0x331e9c:0x5b0,_0x11699e:0x5d0,_0x41f047:0x592},_0x60a11={_0x1b1170:0x55,_0x558aae:0x4fd,_0x160b1d:0x1bf},_0xfc457={_0x516801:0x3bb},_0x1849c4=_0xd7a308['resolve'](_0x35d6ee[_0x31c6f7(0x49a,_0x5f932f._0x4f42bd,_0x5f932f._0x99c0f5,_0x5f932f._0x270342)]??process[_0x2dbea4(_0x5f932f._0x54dce2,0x294,0x366,_0x5f932f._0x460388)]()),_0x5c1277=_0x35d6ee[_0x31c6f7(_0x5f932f._0x4149a9,_0x5f932f._0x5eaa15,_0x5f932f._0x2cc213,0x44c)]??[];function _0x31c6f7(_0x116c0e,_0x4fb389,_0x1402b0,_0x525807){return _0xf90728(_0x1402b0,_0x4fb389-0x1d0,_0x525807-_0xfc457._0x516801,_0x525807-0xf9);}const _0x283320=_0x35d6ee['name']??'FileNew';function _0x2dbea4(_0x310e25,_0x5e8f69,_0x367848,_0x4c5e30){return _0x4d40c0(_0x310e25-_0x60a11._0x1b1170,_0x310e25-_0x60a11._0x558aae,_0x367848-_0x60a11._0x160b1d,_0x5e8f69);}return defineTool({'name':_0x283320,'description':_0x31c6f7(0x50d,0x5de,0x43c,_0x5f932f._0x57dd34),'inputSchema':{'type':_0x31c6f7(_0x5f932f._0x264e8e,_0x5f932f._0x1aefcc,_0x5f932f._0x3dadd0,_0x5f932f._0x49f86d),'properties':{'filePath':{'type':_0x31c6f7(_0x5f932f._0x33bf3e,0x519,_0x5f932f._0x50de2e,_0x5f932f._0x59442a)},'content':{'type':_0x31c6f7(_0x5f932f._0x4714ed,_0x5f932f._0x58b89a,_0x5f932f._0x51007a,0x3e5)}},'required':[_0x2dbea4(_0x5f932f._0x2fcc1e,_0x5f932f._0x2cffe3,0x37f,_0x5f932f._0x19ca6c),'content']},async *'execute'(_0x34fb3c){const _0x5d83b7={_0x2df73e:0x6e,_0x4b982e:0xca,_0x527ad4:0x6f},_0x4e7abe={_0x5cceca:0x21},_0x4072a7=resolveAllowedPath(_0x1849c4,_0x5c1277,_0x34fb3c[_0xdfa01c(_0x5e1324._0x20710f,0x3b9,0x4b3,_0x5e1324._0x1abca4)]),_0x4efbe=await _0x2da250(_0x4072a7)[_0x1bba22(_0x5e1324._0x13c7a1,_0x5e1324._0x40629c,0x3b4,_0x5e1324._0x3cc59f)](()=>!![])[_0x1bba22(_0x5e1324._0xe20ee9,_0x5e1324._0x20bc6a,_0x5e1324._0x3030a4,_0x5e1324._0xa83727)](()=>![]);function _0xdfa01c(_0x1146e5,_0x307de1,_0xd269b3,_0x235375){return _0x31c6f7(_0x1146e5-_0x4e7abe._0x5cceca,_0x307de1-0x8b,_0x1146e5,_0x235375-0x28);}function _0x1bba22(_0x5b9b68,_0x23be02,_0x4ad5b8,_0x339ce5){return _0x2dbea4(_0x339ce5-_0x5d83b7._0x2df73e,_0x23be02,_0x4ad5b8-_0x5d83b7._0x4b982e,_0x339ce5-_0x5d83b7._0x527ad4);}const _0x5b123d=Buffer[_0xdfa01c(0x2d6,_0x5e1324._0x1ff054,0x445,_0x5e1324._0x322962)](_0x34fb3c[_0x1bba22(0x637,_0x5e1324._0x47abe7,0x60d,_0x5e1324._0x2bccee)],_0xdfa01c(0x5ae,0x66c,0x62c,_0x5e1324._0x398d6f));return await atomicWrite2(_0x4072a7,_0x5b123d),yield createToolOutput(_0xdfa01c(_0x5e1324._0x1e62de,_0x5e1324._0x21f182,_0x5e1324._0x1c20f7,0x366)+_0x34fb3c[_0xdfa01c(_0x5e1324._0xf08a23,_0x5e1324._0xa639e5,0x5a7,_0x5e1324._0x1abca4)]+'.',{'filePath':_0x34fb3c[_0x1bba22(_0x5e1324._0x353d5d,_0x5e1324._0x4d1807,_0x5e1324._0x1b848e,_0x5e1324._0x4047e1)],'resolvedPath':_0x4072a7,'bytes':_0x5b123d[_0x1bba22(_0x5e1324._0xe8a1f6,0x485,0x3ec,0x4ab)],'lines':_0x34fb3c[_0xdfa01c(0x3f0,0x3fa,0x5ae,_0x5e1324._0x54707f)][_0xdfa01c(0x339,_0x5e1324._0x2761af,_0x5e1324._0x331e9c,0x494)](/\r?\n/)[_0xdfa01c(_0x5e1324._0x11699e,0x31d,_0x5e1324._0x41f047,0x469)],'created':new Date()['toISOString'](),'overwritten':_0x4efbe}),void 0x0;}});}import{readFile as _0x3676b6,stat as _0x596cb9}from'fs/promises';import*as _0x4e4c8a from'path';function stripUtfBom(_0x2b433b){const _0x20359a={_0x5bd041:0x40},_0x2ffddb={_0x2cb32e:0x9c,_0x3a080d:0x17f};function _0x6b8de3(_0x22f474,_0x39c16c,_0x2aa7a8,_0x41433b){return _0x4d40c0(_0x22f474-_0x2ffddb._0x2cb32e,_0x22f474-_0x2ffddb._0x3a080d,_0x2aa7a8-0x1e0,_0x39c16c);}return _0x2b433b['charCodeAt'](0x0)===0xfeff?_0x2b433b[_0x6b8de3(-0x2c,-0x1a,-0xa7,-_0x20359a._0x5bd041)](0x1):_0x2b433b;}function clampLine(_0x5545a2,_0x250486){const _0x4da39a={_0x52530d:0xb9,_0x413ba0:0xbc,_0x3f9c06:0x1b7,_0x2d7052:0x2fe},_0x3b5bdf={_0x5ca91f:0x191,_0x3cb8e1:0x18e},_0x59d851={_0x46052f:0x9a};function _0x395a67(_0x15f21f,_0x470386,_0x52550c,_0x41d84f){return _0xf90728(_0x470386,_0x470386-0x24,_0x52550c-_0x59d851._0x46052f,_0x41d84f-0x1d9);}if(!Number[_0x27d488(_0x4da39a._0x52530d,_0x4da39a._0x413ba0,_0x4da39a._0x3f9c06,_0x4da39a._0x2d7052)](_0x5545a2))return 0x1;function _0x27d488(_0x40ca8a,_0x3df1bf,_0x5b2af4,_0x3607a8){return _0x4d40c0(_0x40ca8a-_0x3b5bdf._0x5ca91f,_0x5b2af4-0x31f,_0x5b2af4-_0x3b5bdf._0x3cb8e1,_0x40ca8a);}return Math['max'](0x1,Math['min'](Math[_0x27d488(0x292,0x56,0x131,0x1a7)](_0x5545a2),_0x250486));}function createFileReadTool(_0x1d17aa={}){const _0x36bf5c={_0x39a9ce:0x70,_0x325260:0x336,_0x5b1809:0x201,_0x4797bc:0x1f7,_0x4045c9:0x189,_0x1a13cf:0x18a,_0x3f3a4a:0x12a,_0x6ce71c:0x186,_0x5431d5:0x170,_0x2f6ed3:0x111,_0x530559:0x1f4,_0x25f2cb:0x30a,_0x23f259:0x1bd,_0x3487a7:0x143,_0x2f332b:0x46f,_0x20751e:0x31e,_0x507329:0xb6,_0x24a2d7:0x1d5,_0x4c2f22:0x75,_0x9801fb:0x470,_0x32ad29:0x3a6,_0x2c36dc:0x117,_0x5cf49c:0x1f9,_0xc8ea0e:0x204,_0xf91a16:0x104},_0x10fc08={_0xac3c35:0x14a,_0x54fb66:0x20c,_0x3b0ab5:0x2e1,_0x5b1b9d:0x14f,_0x25be19:0x172,_0x35b0d8:0x21e,_0xea69f8:0x89,_0x9b299:0xf9,_0x2d99cb:0xfa,_0xb69088:0x58,_0x1ae0aa:0x43,_0xb46e6e:0xd0,_0x26825c:0xf,_0x447d40:0xc0,_0x3c3b4c:0x37a,_0x19c551:0x37d,_0x199a33:0xfa,_0x484cba:0x7,_0x45aa39:0x69,_0x574772:0x12,_0x401963:0x162,_0x2f3d8d:0x28,_0x4dcb21:0x24,_0x58d34f:0x163,_0x541ad6:0x147,_0x54960f:0x253,_0x57230b:0x2eb,_0x282120:0x48,_0x30441a:0x15a,_0x56b95e:0x119,_0x1f0f8f:0x9f,_0x2ca747:0x60,_0x1f57bb:0x84,_0x5b9f35:0x2,_0x3b331b:0x198,_0x367b73:0x224,_0x5e90fb:0x221,_0x5a9377:0xcd,_0x350f65:0x16d,_0x82753:0x1f2,_0x56a99b:0x155,_0x44acfa:0xe7,_0xbb4712:0xf5,_0x7241b4:0x150,_0x13b3ae:0x209,_0x9d9d18:0xaf,_0x69891b:0x51,_0x2a331f:0xd2,_0x3948b8:0x1ad,_0x5e0fae:0xa4,_0x521216:0x1a0,_0x22699d:0x77,_0x134097:0xff,_0x2e839c:0x4,_0x185eca:0xd3},_0x447177={_0x412064:0x61,_0x47dabe:0x75,_0x4af721:0x15c},_0x41c235={_0x551a4b:0x1e6,_0x3755b9:0x1a1},_0x667fbf=_0x4e4c8a[_0x4c5eb1(0x127,0x111,0x250,_0x36bf5c._0x39a9ce)](_0x1d17aa[_0x54d609(-_0x36bf5c._0x325260,-0x216,-_0x36bf5c._0x5b1809,-0x21d)]??process[_0x4c5eb1(0xb2,0x1f1,_0x36bf5c._0x4797bc,_0x36bf5c._0x4045c9)]());function _0x4c5eb1(_0x241f64,_0x4779c4,_0x3bb889,_0x3b1644){return _0xf90728(_0x241f64,_0x4779c4-_0x41c235._0x551a4b,_0x4779c4-_0x41c235._0x3755b9,_0x3b1644-0x21);}const _0x59e90e=_0x1d17aa[_0x54d609(-_0x36bf5c._0x1a13cf,-0x2a1,-0x24a,-_0x36bf5c._0x3f3a4a)]??[],_0x35a0eb=_0x1d17aa['name']??'FileRead';function _0x54d609(_0x575e5d,_0x134b7c,_0x5a6e9e,_0x1ab6de){return _0x4d40c0(_0x575e5d-_0x447177._0x412064,_0x1ab6de- -_0x447177._0x47dabe,_0x5a6e9e-_0x447177._0x4af721,_0x575e5d);}return defineTool({'name':_0x35a0eb,'description':_0x4c5eb1(0x123,0x87,_0x36bf5c._0x6ce71c,_0x36bf5c._0x5431d5),'inputSchema':{'type':_0x4c5eb1(_0x36bf5c._0x2f6ed3,_0x36bf5c._0x530559,_0x36bf5c._0x25f2cb,0x104),'properties':{'path':{'type':_0x4c5eb1(_0x36bf5c._0x23f259,0x1cb,0x240,_0x36bf5c._0x3487a7)},'lineStart':{'type':_0x54d609(-_0x36bf5c._0x2f332b,-0x3e0,-0x296,-_0x36bf5c._0x20751e),'description':_0x4c5eb1(-0x63,_0x36bf5c._0x507329,_0x36bf5c._0x24a2d7,_0x36bf5c._0x4c2f22)},'lineEnd':{'type':_0x54d609(-_0x36bf5c._0x9801fb,-_0x36bf5c._0x32ad29,-0x467,-0x31e),'description':_0x4c5eb1(0x27f,0x18e,_0x36bf5c._0x2c36dc,_0x36bf5c._0x5cf49c)}},'required':[_0x4c5eb1(_0x36bf5c._0xc8ea0e,_0x36bf5c._0xf91a16,0x158,0x58)]},async *'execute'(_0x3192d2){const _0x569bd0={_0x53b4f5:0xee,_0x38be2d:0xe7,_0x218e59:0x3a},_0x467102=resolveAllowedPath(_0x667fbf,_0x59e90e,_0x3192d2[_0x5d18d1(-0x184,-_0x10fc08._0xac3c35,-_0x10fc08._0x54fb66,-0x110)]);await assertWorkspaceFile(_0x467102);const _0x221131=await _0x596cb9(_0x467102),_0xffca56=await _0x3676b6(_0x467102);if(isProbablyBinary(_0xffca56))throw new ToolExecutionError(_0x1f38b0(-0x2f4,-_0x10fc08._0x3b0ab5,-0x31f,-0x2eb)+_0x3192d2[_0x5d18d1(-_0x10fc08._0x5b1b9d,-0x101,-0x20c,-_0x10fc08._0x25be19)],{'path':_0x3192d2[_0x1f38b0(-0xe1,-_0x10fc08._0x35b0d8,-0xde,-0x112)]});let _0x407240=_0xffca56['toString'](_0x5d18d1(0x2a,-0x11b,0x2,-_0x10fc08._0xea69f8));const _0x515c27=_0x407240[_0x5d18d1(-0x24d,-_0x10fc08._0x9b299,-_0x10fc08._0x2d99cb,_0x10fc08._0xb69088)](0x0)===0xfeff;_0x407240=stripUtfBom(_0x407240);const _0x3a7d04=_0x407240[_0x1f38b0(_0x10fc08._0x1ae0aa,-_0x10fc08._0xb46e6e,-_0x10fc08._0x26825c,-_0x10fc08._0x447d40)](/\r?\n/);function _0x1f38b0(_0x2d18b2,_0x340ae4,_0x5d0ed0,_0x10984f){return _0x54d609(_0x2d18b2,_0x340ae4-_0x569bd0._0x53b4f5,_0x5d0ed0-_0x569bd0._0x38be2d,_0x340ae4-_0x569bd0._0x218e59);}const _0x37066f={'path':_0x3192d2[_0x1f38b0(-_0x10fc08._0x3c3b4c,-_0x10fc08._0x35b0d8,-_0x10fc08._0x19c551,-_0x10fc08._0x199a33)],'resolvedPath':_0x467102,'created':_0x221131[_0x5d18d1(-_0x10fc08._0x484cba,_0x10fc08._0x45aa39,_0x10fc08._0x574772,-_0x10fc08._0x401963)][_0x5d18d1(_0x10fc08._0x2f3d8d,0x3b,-_0x10fc08._0x4dcb21,0x122)](),'modified':_0x221131[_0x5d18d1(-_0x10fc08._0x58d34f,-_0x10fc08._0x541ad6,-_0x10fc08._0x54960f,-_0x10fc08._0x57230b)][_0x5d18d1(0x104,-_0x10fc08._0x282120,-0x24,0x27)](),'size':_0x221131[_0x5d18d1(-_0x10fc08._0x30441a,-_0x10fc08._0x56b95e,-_0x10fc08._0x1f0f8f,0xa3)],'encoding':_0x5d18d1(-_0x10fc08._0x2ca747,-_0x10fc08._0x1f57bb,_0x10fc08._0x5b9f35,-0x102),'bomStripped':_0x515c27,'truncated':![],'totalLines':_0x3a7d04[_0x5d18d1(-_0x10fc08._0x3b331b,-_0x10fc08._0x367b73,-0xe9,-_0x10fc08._0x5e90fb)]};function _0x5d18d1(_0x1498e5,_0x1d4f93,_0x7fdf89,_0x42d1cc){return _0x54d609(_0x42d1cc,_0x1d4f93-0x82,_0x7fdf89-0x177,_0x7fdf89-0x4c);}if(_0x3192d2[_0x5d18d1(-0x1d6,-_0x10fc08._0x5a9377,-_0x10fc08._0x350f65,-_0x10fc08._0x82753)]!==void 0x0||_0x3192d2[_0x1f38b0(-0x232,-0x1f2,-_0x10fc08._0x56a99b,-0x1d8)]!==void 0x0){const _0xe2f492=clampLine(_0x3192d2[_0x5d18d1(-0xfe,-0x7a,-0x16d,-0x17)]??0x1,_0x3a7d04[_0x1f38b0(-_0x10fc08._0x44acfa,-0xfb,-_0x10fc08._0xbb4712,-_0x10fc08._0x7241b4)]),_0x1844be=clampLine(_0x3192d2[_0x5d18d1(-0x143,-0x2d7,-0x1e0,-_0x10fc08._0x13b3ae)]??_0x3a7d04[_0x1f38b0(-_0x10fc08._0x9d9d18,-0xfb,_0x10fc08._0x69891b,-_0x10fc08._0x2a331f)],_0x3a7d04[_0x5d18d1(-0x16a,-_0x10fc08._0x3948b8,-0xe9,-0xc0)]),_0x12bd1f=Math[_0x5d18d1(0x2e,-_0x10fc08._0x5e0fae,-0x6b,-_0x10fc08._0x521216)](_0xe2f492,_0x1844be),_0x22b8e2=Math[_0x1f38b0(-0xb7,-0x14b,-_0x10fc08._0x22699d,-_0x10fc08._0x134097)](_0xe2f492,_0x1844be),_0x5b00ce=_0x3a7d04['slice'](_0x12bd1f-0x1,_0x22b8e2)['map']((_0x5b2036,_0x1e0060)=>_0x12bd1f+_0x1e0060+'|'+_0x5b2036)[_0x5d18d1(-0x12,0xb5,-_0x10fc08._0x2e839c,-_0x10fc08._0x185eca)]('\x0a');return yield createToolOutput(_0x5b00ce,{..._0x37066f,'lineRange':{'lineStart':_0x12bd1f,'lineEnd':_0x22b8e2,'linesTotal':_0x3a7d04['length']}}),void 0x0;}return yield createToolOutput(_0x407240,_0x37066f),void 0x0;}});}import{stat as _0x4ec698}from'fs/promises';import*as _0x46bbba from'path';import{execSync,spawn as _0x36029d}from'child_process';import{existsSync}from'fs';import{stat as _0x21d6b7}from'fs/promises';import*as _0x2b5b8b from'os';import*as _0x45dd36 from'path';import{rgPath as _0x1cde1b}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x4d8e1d={_0xab1f68:0x249,_0x2e03a3:0x202,_0x4f41de:0x291,_0x8546df:0x125,_0x1e1cf2:0x7e,_0x3467c7:0x2fe,_0x21d538:0x83,_0x26deea:0x15b,_0x529e83:0x34e,_0x10d60f:0xa4,_0x4b5f69:0xa6,_0xe60a5e:0x5,_0x524bdf:0x18,_0x15e288:0x15,_0x4db0c7:0x12b,_0xd1cbb8:0x84,_0x5a8a1f:0x12,_0x21667a:0x1a5,_0x3dc484:0x144,_0x53cb85:0x7e,_0x3ae006:0x280,_0x2d7d45:0x210,_0x54800c:0x18f,_0x45d533:0x135,_0x4a66a1:0x182,_0x570e27:0x223,_0x8ebdd1:0xb0,_0x1818b1:0x385,_0x507655:0x373,_0x563c98:0x10f,_0x5f2e21:0x150,_0x311445:0xd3,_0x15f70e:0x36,_0x4becdd:0xc7,_0x2754f5:0x227,_0x5c61af:0x12b,_0x3df80c:0x247,_0x5a13ec:0x356,_0x1b2d5d:0x15e,_0x584e9d:0x1ec,_0x50f559:0xea,_0x3f7f98:0x3c},_0x539b53={_0xd3c207:0x33f},_0x58213b={_0x36f4cc:0x1de},_0x5624c7=_0x2b5b8b[_0x5bfcaf(-0x1de,-_0x4d8e1d._0xab1f68,-_0x4d8e1d._0x2e03a3,-_0x4d8e1d._0x4f41de)]()==='win32',_0x30b55f=_0x5624c7?[_0x45dd36[_0x5bfcaf(_0x4d8e1d._0x8546df,0x7e,_0x4d8e1d._0x1e1cf2,0x17b)](process[_0x5e5b5c(0x36a,0x38b,_0x4d8e1d._0x3467c7,0x223)]['LOCALAPPDATA']||'',_0x5bfcaf(-0x188,-_0x4d8e1d._0x21d538,-0x167,-_0x4d8e1d._0x26deea),_0x5e5b5c(_0x4d8e1d._0x529e83,0x49d,0x34f,0x354),_0x5bfcaf(_0x4d8e1d._0x10d60f,-0x1cf,-_0x4d8e1d._0x4b5f69,0x92)),_0x45dd36['join'](process[_0x5bfcaf(-0x145,-_0x4d8e1d._0xe60a5e,_0x4d8e1d._0x524bdf,_0x4d8e1d._0x15e288)][_0x5bfcaf(-0xf5,-_0x4d8e1d._0x4db0c7,-_0x4d8e1d._0xd1cbb8,0x41)]||'','ripgrep',_0x5bfcaf(0x3,-_0x4d8e1d._0x5a8a1f,0x41,_0x4d8e1d._0x21667a)),_0x45dd36[_0x5bfcaf(_0x4d8e1d._0x3dc484,-0x74,_0x4d8e1d._0x53cb85,-0xd5)](process['env'][_0x5bfcaf(-_0x4d8e1d._0x3ae006,-_0x4d8e1d._0x2d7d45,-0x13e,-0x285)]||'',_0x5bfcaf(-0xa0,-_0x4d8e1d._0x54800c,-_0x4d8e1d._0x45d533,-_0x4d8e1d._0x4a66a1),'rg.exe')]:[_0x5e5b5c(_0x4d8e1d._0x570e27,0xae,_0x4d8e1d._0x8ebdd1,0x33),_0x5e5b5c(_0x4d8e1d._0x1818b1,_0x4d8e1d._0x507655,0x2e9,0x3b6),_0x5e5b5c(0x12f,_0x4d8e1d._0x563c98,0x13d,0x70),'/bin/rg'];for(const _0x270bbe of _0x30b55f){if(existsSync(_0x270bbe))return _0x270bbe;}try{const _0x4f3c22=_0x5624c7?_0x5e5b5c(0x1dc,0x1d0,_0x4d8e1d._0x5f2e21,0x112):_0x5bfcaf(-0x229,0x3f,-_0x4d8e1d._0x311445,_0x4d8e1d._0x15f70e),_0x30dd36=execSync(_0x4f3c22,{'encoding':_0x5bfcaf(0x8f,_0x4d8e1d._0x4becdd,0x84,0x10e),'stdio':['pipe',_0x5bfcaf(-0x159,-_0x4d8e1d._0x2754f5,-_0x4d8e1d._0x5c61af,-0x261),_0x5bfcaf(-0xcf,-0x37d,-_0x4d8e1d._0x3df80c,-_0x4d8e1d._0x5a13ec)]})[_0x5e5b5c(_0x4d8e1d._0x1b2d5d,0x347,_0x4d8e1d._0x584e9d,0x2fc)]()[_0x5bfcaf(_0x4d8e1d._0x524bdf,-_0x4d8e1d._0x50f559,-_0x4d8e1d._0x3f7f98,0x30)](/\r?\n/)[0x0];if(_0x30dd36&&existsSync(_0x30dd36))return _0x30dd36;}catch{return null;}function _0x5bfcaf(_0x238dcb,_0x5638e2,_0x16a1d4,_0x3c286f){return _0xf90728(_0x238dcb,_0x5638e2-_0x58213b._0x36f4cc,_0x16a1d4- -0xed,_0x3c286f-0x100);}function _0x5e5b5c(_0x5946d5,_0xe6d924,_0x17f2f6,_0x558828){return _0x4d40c0(_0x5946d5-0x17f,_0x17f2f6-_0x539b53._0xd3c207,_0x17f2f6-0x1a0,_0x558828);}return null;}async function filepath(){const _0x5d657a={_0x30519a:0x215,_0x40ad87:0xa0,_0x59339e:0x218},_0x54f260={_0x2287f3:0x2b9};if(cachedRgPath)return cachedRgPath;if(_0x1cde1b&&existsSync(_0x1cde1b))return cachedRgPath=_0x1cde1b,_0x1cde1b;const _0x1ea725=findSystemRipgrep();if(!_0x1ea725)throw new Error(_0x1612bf(_0x5d657a._0x30519a,_0x5d657a._0x40ad87,_0x5d657a._0x59339e,0xdc));function _0x1612bf(_0x231fb9,_0x2d8186,_0x5e5dda,_0x2843af){return _0xf90728(_0x231fb9,_0x2d8186-0x12f,_0x5e5dda-_0x54f260._0x2287f3,_0x2843af-0xdd);}return cachedRgPath=_0x1ea725,_0x1ea725;}async function*files(_0x5ba49f){const _0x243f63={_0x43d4a7:0x54d,_0xd7d71d:0x307,_0x2cf4e1:0x2c4,_0x59b774:0x615,_0x149089:0x5d4,_0x1b4c6a:0x1,_0x5dab79:0x1f,_0x1fbf6f:0xd7,_0x145bb8:0x32,_0x40e169:0x352,_0x4b38b4:0x34f,_0x32ba2e:0x9b,_0x40985f:0x32e,_0x359ec5:0x1b8,_0x27959e:0xec,_0x1ca55b:0x1ec,_0x6d673d:0x3bc,_0x1c65c8:0x16a,_0x344470:0x285,_0x33e35b:0x5a,_0x2cff5f:0x15d,_0x95e2cd:0x154,_0x312819:0x61,_0x1a9711:0x95,_0x2cd042:0x6f,_0x315df6:0x17e,_0x43423f:0x82,_0x577df6:0x3b2,_0xece18:0x432,_0x5e7c6c:0x19f,_0x2279fd:0x55,_0x4f8e37:0xc3,_0xfb4688:0x288,_0x2841c9:0x9a,_0x2d1138:0xc7,_0x239e1a:0x4ae,_0x234295:0x15b,_0x3fe1dd:0x2c3,_0x2c4a92:0x1b2,_0x248e12:0xe0,_0x35d77b:0x201,_0x10221f:0x429,_0x405ef2:0x442,_0x29c5d8:0x21d,_0x2919d9:0x2d2,_0x2057a6:0x52c},_0x15f070={_0x4419ff:0x436,_0xb75c91:0xe4},_0x411062={_0x371ecd:0xda},_0x474f45=await filepath(),_0x4001aa=await _0x21d6b7(_0x5ba49f[_0x43f900(0x5e9,0x486,0x4a7,_0x243f63._0x43d4a7)])[_0x43f900(_0x243f63._0xd7d71d,_0x243f63._0xd7d71d,0x206,_0x243f63._0x2cf4e1)](()=>null);if(!_0x4001aa?.[_0x43f900(0x5af,0x4f2,_0x243f63._0x59b774,_0x243f63._0x149089)]())throw Object[_0x54f19b(-_0x243f63._0x1b4c6a,-_0x243f63._0x5dab79,_0x243f63._0x1fbf6f,-_0x243f63._0x145bb8)](new Error(_0x43f900(0x2e9,0x3cf,_0x243f63._0x40e169,_0x243f63._0x4b38b4)+_0x5ba49f['cwd']+'\x27'),{'code':_0x54f19b(-0xf0,-0x5c,_0x243f63._0x32ba2e,0x63)});const _0x20b40e=[_0x54f19b(_0x243f63._0x40985f,_0x243f63._0x359ec5,_0x243f63._0x27959e,_0x243f63._0x1ca55b),_0x54f19b(_0x243f63._0x6d673d,_0x243f63._0x1c65c8,0x345,_0x243f63._0x344470),_0x54f19b(_0x243f63._0x33e35b,_0x243f63._0x2cff5f,_0x243f63._0x95e2cd,0xf2),_0x54f19b(0x7d,_0x243f63._0x312819,0x1da,0x6d)];for(const _0x4a3532 of _0x5ba49f['glob']??[]){_0x20b40e[_0x54f19b(-_0x243f63._0x1a9711,0x119,_0x243f63._0x27959e,_0x243f63._0x2cd042)](_0x54f19b(_0x243f63._0x315df6,0xb4,_0x243f63._0x43423f,0x52)+_0x4a3532);}const _0x41ec64=_0x36029d(_0x474f45,_0x20b40e,{'cwd':_0x5ba49f['cwd'],'stdio':[_0x43f900(_0x243f63._0x577df6,0x2dc,_0x243f63._0xece18,0x3c5),_0x54f19b(0x9a,_0x243f63._0x5e7c6c,-_0x243f63._0x2279fd,0xc3),_0x54f19b(0xce,0xd1,-0x78,_0x243f63._0x4f8e37)]});let _0x1cf859='';for await(const _0x5e579f of _0x41ec64[_0x54f19b(_0x243f63._0xfb4688,_0x243f63._0x2841c9,_0x243f63._0x2d1138,0x158)]??[]){_0x1cf859+=_0x5e579f[_0x43f900(_0x243f63._0x239e1a,0x3fd,0x438,0x4a5)]();const _0x16ab72=_0x1cf859[_0x54f19b(0x275,_0x243f63._0x234295,_0x243f63._0x3fe1dd,_0x243f63._0x2c4a92)](/\r?\n/);_0x1cf859=_0x16ab72[_0x54f19b(_0x243f63._0x248e12,0x1b2,0x1a2,_0x243f63._0x35d77b)]()??'';for(const _0x534d7a of _0x16ab72){if(_0x534d7a['length']>0x0)yield _0x534d7a;}}function _0x54f19b(_0x3dc0d9,_0xf944f2,_0x4ead1d,_0x458312){return _0xf90728(_0xf944f2,_0xf944f2-0x97,_0x458312-0x101,_0x458312-_0x411062._0x371ecd);}function _0x43f900(_0x6540f7,_0xbce081,_0x114d90,_0x1dba49){return _0xf90728(_0x6540f7,_0xbce081-0x19d,_0xbce081-_0x15f070._0x4419ff,_0x1dba49-_0x15f070._0xb75c91);}_0x1cf859[_0x43f900(0x421,_0x243f63._0x10221f,0x4b7,_0x243f63._0x405ef2)]()[_0x54f19b(_0x243f63._0x29c5d8,_0x243f63._0x2919d9,0x8b,0x187)]>0x0&&(yield _0x1cf859[_0x43f900(0x3e0,0x429,0x345,_0x243f63._0x2057a6)]());}function parseMatchLine(_0xb13370,_0x1e6894){const _0x571d6b={_0x20784a:0x39b,_0x547ee2:0x22a,_0x3c82f8:0x3a2,_0x5696de:0x391,_0x286cc2:0x53,_0x17e630:0x29f,_0x16b32a:0x481,_0x5473e8:0x85,_0x1c236e:0x291,_0x44c9cb:0x282,_0x448616:0x332,_0x1dcc4f:0x16e,_0x9b0a77:0x30f},_0xd57db7={_0x2691f5:0x178,_0x43ce34:0x198},_0x62ab5b={_0x11b646:0x91,_0x379323:0x437};function _0x5ba9ff(_0x98d732,_0x336d3d,_0x5020d5,_0x2dfc26){return _0x4d40c0(_0x98d732-_0x62ab5b._0x11b646,_0x5020d5-_0x62ab5b._0x379323,_0x5020d5-0x1ad,_0x336d3d);}if(!_0xb13370||_0xb13370==='--')return null;const _0x5322b2=_0xb13370[_0x5ba9ff(_0x571d6b._0x20784a,_0x571d6b._0x547ee2,_0x571d6b._0x3c82f8,_0x571d6b._0x5696de)]('|');if(_0x1e6894&&_0x5322b2['length']>=0x4&&Number[_0x3c516f(-0x1ba,-0x2e6,-0x139,-_0x571d6b._0x286cc2)](Number[_0x5ba9ff(_0x571d6b._0x17e630,_0x571d6b._0x16b32a,0x3ef,0x2bb)](_0x5322b2[0x2]??'',0xa))){const _0x1e10e9=Number['parseInt'](_0x5322b2[0x1]??'',0xa);if(!Number[_0x3c516f(-0x1ba,-_0x571d6b._0x5473e8,-0x1dd,-_0x571d6b._0x1c236e)](_0x1e10e9)||!_0x5322b2[0x0])return null;return{'filePath':_0x5322b2[0x0],'lineNum':_0x1e10e9,'lineText':_0x5322b2['slice'](0x3)['join']('|')};}function _0x3c516f(_0x115946,_0x5c1420,_0x168b87,_0x14f93c){return _0xf90728(_0x14f93c,_0x5c1420-_0xd57db7._0x2691f5,_0x115946- -_0xd57db7._0x43ce34,_0x14f93c-0x0);}if(_0x5322b2[_0x3c516f(-0x112,0x52,-_0x571d6b._0x44c9cb,-0x26c)]>=0x3){const _0x53a7e7=Number['parseInt'](_0x5322b2[0x1]??'',0xa);if(!Number[_0x5ba9ff(_0x571d6b._0x448616,0x30e,0x2cf,_0x571d6b._0x1dcc4f)](_0x53a7e7)||!_0x5322b2[0x0])return null;return{'filePath':_0x5322b2[0x0],'lineNum':_0x53a7e7,'lineText':_0x5322b2[_0x3c516f(-0x1fd,-0x1e9,-0x159,-_0x571d6b._0x9b0a77)](0x2)['join']('|'),..._0x1e6894?{'isContext':!![]}:{}};}return null;}async function search(_0x4fcaa2){const _0x266efd={_0xd0e804:0x157,_0x5e67a7:0x2a3,_0xbc4125:0x1d0,_0x407665:0x309,_0xabf8c3:0x103,_0x2006dc:0x523,_0x225026:0x61b,_0x3059d8:0x418,_0x5ae5d5:0x52e,_0x513234:0x570,_0x36a3c4:0x560,_0x2fef39:0x3dc,_0x53e41d:0x531,_0x308d93:0x5f7,_0x17a3e5:0x444,_0x4bc6c6:0x342,_0x5bdff5:0x48c,_0x4850b7:0x474,_0x35c60d:0xc2,_0x59bd1b:0x155,_0xc6bfaf:0xe1,_0x405d7d:0x37,_0x4cd6fd:0x37e,_0x2b225f:0x34c,_0x40b028:0x434,_0x5b8ef0:0x3df,_0x2f7495:0x231,_0xe83e6d:0x247,_0x114c37:0x107,_0x128c67:0x326,_0x6bf554:0x312,_0x1a2a56:0x2aa,_0x3ca0f8:0x55c,_0x26c2ea:0x73a,_0xd3d581:0x3e3,_0x2c8a70:0x32f,_0x4aa51a:0x22b,_0x140d88:0x313,_0x2be67f:0xf9,_0x57feb6:0x252,_0x23eef7:0x37c,_0x264068:0x314,_0x348ac8:0x547,_0x4d183c:0x46f,_0x49e55e:0x5e2,_0x2b935e:0x1c9,_0x220cf0:0xab,_0x209b7d:0x43,_0x5c60fb:0xa7,_0x319a30:0x145,_0x4b7ba1:0x4b1,_0x35ad2f:0x681,_0x393b6a:0x3e3,_0x29bd74:0x580,_0x535dfc:0x4db,_0xbd7590:0x4c5,_0xb7e502:0x377,_0x44ef7e:0x42b},_0x3242a2={_0x2bf8aa:0xa5,_0x2b742f:0x302,_0x282039:0x22e,_0x2b0171:0x2e,_0x2e56c6:0x261,_0x30aeb2:0x32e,_0xf3672d:0x113,_0x11793c:0x203,_0x66b21f:0x3fb,_0x15f950:0x365,_0x3e35db:0x39a},_0x10e8f9={_0x2ec762:0x13c,_0xdb84f6:0x12e,_0x46ac97:0x7},_0x376746={_0x5d8418:0x36d,_0x303cf6:0x351,_0x1ca22e:0x212,_0x57fc17:0x393},_0x2cd75d={_0x2dfecf:0x1bd},_0x20e1cd=await filepath();if(_0x4fcaa2['file']){const _0x26f845=await _0x21d6b7(_0x4fcaa2[_0x5c075a(0x144,_0x266efd._0xd0e804,_0x266efd._0x5e67a7,_0x266efd._0xbc4125)])['catch'](()=>null);if(!_0x26f845?.[_0x2bb6e7(0x366,0x432,_0x266efd._0x407665,0x445)]())throw Object[_0x5c075a(-0x82,_0x266efd._0xabf8c3,-0x15,-0x5e)](new Error(_0x2bb6e7(_0x266efd._0x2006dc,_0x266efd._0x225026,_0x266efd._0x3059d8,_0x266efd._0x5ae5d5)+_0x4fcaa2[_0x2bb6e7(_0x266efd._0x513234,0x5d6,_0x266efd._0x36a3c4,0x66e)]+'\x27'),{'code':_0x2bb6e7(0x3d7,0x4fa,0x367,_0x266efd._0x2fef39)});}else{const _0x328e14=await _0x21d6b7(_0x4fcaa2[_0x2bb6e7(0x4c5,0x5ba,0x535,0x372)])['catch'](()=>null);if(!_0x328e14?.[_0x2bb6e7(_0x266efd._0x53e41d,_0x266efd._0x308d93,0x442,_0x266efd._0x17a3e5)]())throw Object[_0x2bb6e7(_0x266efd._0x4bc6c6,0x2ac,_0x266efd._0x5bdff5,0x496)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x4fcaa2[_0x2bb6e7(0x4c5,0x5a4,_0x266efd._0x4850b7,0x600)]+'\x27'),{'code':_0x5c075a(-_0x266efd._0x35c60d,_0x266efd._0x59bd1b,-_0x266efd._0xc6bfaf,_0x266efd._0x405d7d)});}const _0x102e33=['-nH',_0x2bb6e7(0x3c1,0x436,_0x266efd._0x4cd6fd,_0x266efd._0x2b225f),_0x2bb6e7(_0x266efd._0x40b028,0x456,0x343,_0x266efd._0x5b8ef0),_0x5c075a(_0x266efd._0x2f7495,-0x68,_0x266efd._0xe83e6d,_0x266efd._0x114c37),_0x4fcaa2[_0x5c075a(0x1f7,_0x266efd._0x128c67,0x2cd,0x1f2)]],_0x5e5834=typeof _0x4fcaa2['context']===_0x2bb6e7(_0x266efd._0x6bf554,0x3eb,0x451,_0x266efd._0x1a2a56)&&_0x4fcaa2[_0x2bb6e7(0x5f2,0x524,_0x266efd._0x3ca0f8,_0x266efd._0x26c2ea)]>0x0;_0x5e5834&&_0x102e33[_0x2bb6e7(_0x266efd._0xd3d581,0x508,0x4f0,_0x266efd._0x2c8a70)]('-C',String(_0x4fcaa2[_0x5c075a(_0x266efd._0x4aa51a,_0x266efd._0x140d88,_0x266efd._0x2be67f,_0x266efd._0x57feb6)]),_0x2bb6e7(_0x266efd._0x23eef7,_0x266efd._0x264068,0x33d,0x44b));_0x4fcaa2[_0x2bb6e7(_0x266efd._0x348ac8,0x583,_0x266efd._0x4d183c,_0x266efd._0x49e55e)]&&!_0x4fcaa2[_0x5c075a(_0x266efd._0x2b935e,0x252,0x31d,0x1d0)]&&_0x102e33[_0x5c075a(0x64,0x1a8,_0x266efd._0x220cf0,_0x266efd._0x209b7d)](_0x5c075a(0x286,0x1c0,_0x266efd._0x5c60fb,_0x266efd._0x319a30),_0x4fcaa2[_0x2bb6e7(_0x266efd._0x348ac8,_0x266efd._0x4b7ba1,_0x266efd._0x35ad2f,0x611)]);function _0x5c075a(_0x1b2d03,_0x4aa5b9,_0x4d4a58,_0xb1c4f0){return _0xf90728(_0x1b2d03,_0x4aa5b9-0x61,_0xb1c4f0-0xd5,_0xb1c4f0-_0x2cd75d._0x2dfecf);}_0x102e33[_0x2bb6e7(_0x266efd._0x393b6a,0x38f,0x491,0x555)](_0x4fcaa2[_0x2bb6e7(_0x266efd._0x513234,_0x266efd._0x29bd74,0x577,_0x266efd._0x535dfc)]??_0x4fcaa2[_0x2bb6e7(_0x266efd._0xbd7590,0x57b,_0x266efd._0xb7e502,_0x266efd._0x44ef7e)]);function _0x2bb6e7(_0x328bf1,_0x213798,_0x48c553,_0x20441f){return _0xf90728(_0x48c553,_0x213798-0xef,_0x328bf1-0x475,_0x20441f-0x18c);}return await new Promise((_0x202aa8,_0x2a7e71)=>{const _0x371a59={_0x406b5e:0x3a2,_0x524af7:0x134,_0x5bd16e:0x29e,_0x4781fe:0x6f4,_0x37e560:0x540,_0x10f2af:0xe1,_0x1b7b84:0x286,_0x50ed17:0x10a,_0x2e39f4:0xd4},_0x5aa64b={_0x355960:0xab,_0xbc76ae:0x19c},_0x39cddc={_0x44f684:0x176,_0x933c59:0x16a},_0x5c0fb8={_0x2baed9:0x85},_0x3fd7c2={_0x13025a:0x13b};function _0x9cba9a(_0xfd7e3d,_0x1c0439,_0x26b027,_0x59117a){return _0x2bb6e7(_0x59117a- -0x5d5,_0x1c0439-_0x3fd7c2._0x13025a,_0xfd7e3d,_0x59117a-0x1b);}function _0x5825bf(_0x13a0b4,_0x90b56,_0x563f09,_0x26657d){return _0x5c075a(_0x26657d,_0x90b56-0xb0,_0x563f09-_0x5c0fb8._0x2baed9,_0x563f09-0x2a6);}const _0x22392b=_0x36029d(_0x20e1cd,_0x102e33,{'cwd':_0x4fcaa2[_0x9cba9a(-0x3c,-_0x3242a2._0x2bf8aa,-0x192,-0x110)],'stdio':[_0x5825bf(0xd3,_0x3242a2._0x2b742f,0x221,_0x3242a2._0x282039),_0x9cba9a(-_0x3242a2._0x2b0171,-0x20b,-0x207,-0x19e),_0x9cba9a(-0x1a2,-0x166,-_0x3242a2._0x2e56c6,-0x19e)]});let _0x2d6d76='',_0x2d4ba2='';_0x22392b['stdout']?.['on']('data',_0x3117a4=>{function _0x574cc3(_0xda8bb0,_0x1c5d20,_0x35dbc6,_0x2eefe7){return _0x9cba9a(_0x2eefe7,_0x1c5d20-0xa6,_0x35dbc6-0x100,_0x1c5d20-0x4ea);}_0x2d6d76+=_0x3117a4[_0x574cc3(_0x376746._0x5d8418,_0x376746._0x303cf6,_0x376746._0x1ca22e,_0x376746._0x57fc17)]();}),_0x22392b['stderr']?.['on']('data',_0x2a98f9=>{function _0x32c83a(_0x59d240,_0x4d2cd3,_0x4411a1,_0x1c046b){return _0x5825bf(_0x59d240-_0x39cddc._0x44f684,_0x4d2cd3-_0x39cddc._0x933c59,_0x4411a1- -0x470,_0x1c046b);}_0x2d4ba2+=_0x2a98f9[_0x32c83a(-_0x10e8f9._0x2ec762,-0x4c,-_0x10e8f9._0xdb84f6,-_0x10e8f9._0x46ac97)]();}),_0x22392b['on'](_0x9cba9a(-_0x3242a2._0x30aeb2,-_0x3242a2._0xf3672d,-0x153,-_0x3242a2._0x11793c),_0x594bb3=>{const _0x4ba82c={_0x23bb5d:0xe7,_0x1400b5:0x7};if(_0x594bb3===0x1&&_0x2d6d76===''){_0x202aa8([]);return;}function _0x1e6bb5(_0x1fa66e,_0x444be2,_0x226503,_0x2168ed){return _0x5825bf(_0x1fa66e-_0x4ba82c._0x23bb5d,_0x444be2-_0x4ba82c._0x1400b5,_0x1fa66e- -0x215,_0x226503);}if(_0x594bb3!==0x0&&_0x594bb3!==0x1){_0x2a7e71(new Error('ripgrep\x20failed:\x20'+_0x2d4ba2));return;}function _0x11e36e(_0x51e6ad,_0x213d60,_0x3a4667,_0x57f879){return _0x5825bf(_0x51e6ad-0x1a5,_0x213d60-_0x5aa64b._0x355960,_0x213d60-_0x5aa64b._0xbc76ae,_0x57f879);}const _0x491bbc=_0x4fcaa2[_0x1e6bb5(0x25e,_0x371a59._0x406b5e,_0x371a59._0x524af7,_0x371a59._0x5bd16e)]??0x64,_0x181a7b=[];for(const _0xe3c765 of _0x2d6d76[_0x11e36e(_0x371a59._0x4781fe,0x5c8,_0x371a59._0x37e560,0x5f6)](/\r?\n/)){if(_0x181a7b[_0x1e6bb5(0x1ec,_0x371a59._0x10f2af,_0x371a59._0x1b7b84,_0x371a59._0x50ed17)]>=_0x491bbc)break;const _0x1bfe03=parseMatchLine(_0xe3c765,_0x5e5834);if(_0x1bfe03)_0x181a7b[_0x1e6bb5(_0x371a59._0x2e39f4,0x2e,0x1f,0x205)](_0x1bfe03);}_0x202aa8(_0x181a7b);}),_0x22392b['on'](_0x5825bf(_0x3242a2._0x66b21f,_0x3242a2._0x15f950,0x3ab,_0x3242a2._0x3e35db),_0x2a7e71);});}function createGlobTool(_0x28a32d={}){const _0x181759={_0x41ae83:0x251,_0x5ca0de:0x130,_0x388843:0x2f6,_0xc1fbeb:0x35d,_0x29cbfd:0xf,_0x503257:0x101,_0x415ad7:0x114,_0xc69626:0xd8,_0x5307a2:0x91,_0x499c1d:0x29b,_0x59970a:0x2b8,_0x59b44b:0x3fa,_0xa27477:0x3fe,_0x1409da:0x15a,_0x4a8e4a:0x282,_0x2b2eeb:0x1a3,_0x1a6922:0x252,_0xeaf7e7:0xa},_0x21c5c5={_0x4db6d5:0xa,_0x20e2dd:0x5b,_0x1457d2:0x110,_0x40971f:0x66,_0x18dbc5:0x87,_0x4a88e6:0x200,_0x247575:0xb8,_0x560772:0x3,_0x2b4068:0x11b,_0x59fdf0:0x124,_0x5a70b9:0x23,_0x1343b3:0x95,_0x474b09:0x41,_0x578e89:0x1cc,_0x16ba34:0x8a,_0x38e92c:0xdb,_0x271847:0x2e5,_0x2f64e2:0x359,_0x8c9d80:0x24f,_0x56f6ff:0x39b,_0x10b387:0x1ba,_0x379439:0x29d,_0x5e5e4e:0xc7,_0x2a1d8b:0x16d,_0x105f91:0x1dd,_0x26cb31:0x93,_0x380375:0x25f,_0x405a3f:0x11f,_0x1186a4:0x164,_0x3a5843:0x1c1,_0x554810:0x255,_0x3aa38d:0x277,_0x720dc:0x14b,_0x24d03d:0x65,_0x5421e3:0xee},_0x4a40a9={_0x72715b:0x133},_0x33d51d={_0x4547d2:0x1fd,_0x592eb1:0x63,_0x3414e0:0x4d},_0x344507={_0x26c60d:0x11},_0x38a46c={_0x4b5427:0x16c,_0x1b1c37:0x161},_0x258e3a=_0x46bbba[_0x410f9a(0x6e,0x1d5,_0x181759._0x41ae83,_0x181759._0x5ca0de)](_0x28a32d['defaultCwd']??process['cwd']()),_0x444fed=_0x28a32d[_0x410f9a(0x38c,_0x181759._0x388843,0x276,0x36e)]??[],_0x8f08f6=_0x28a32d[_0x410f9a(0x23b,_0x181759._0xc1fbeb,0x242,0x361)]??0x64;function _0x17c61b(_0x584dc6,_0x296257,_0x1b7b39,_0x3665a4){return _0x4d40c0(_0x584dc6-_0x38a46c._0x4b5427,_0x1b7b39-0x106,_0x1b7b39-_0x38a46c._0x1b1c37,_0x296257);}const _0x3ec0e7=_0x28a32d[_0x17c61b(_0x181759._0x29cbfd,-0x158,-_0x181759._0x503257,-0x6e)]??'Glob';function _0x410f9a(_0x1b7d97,_0x2dced2,_0x504e7e,_0x1544c6){return _0xf90728(_0x1b7d97,_0x2dced2-_0x344507._0x26c60d,_0x2dced2-0x265,_0x1544c6-0x1a5);}return defineTool({'name':_0x3ec0e7,'description':_0x17c61b(-0xde,-_0x181759._0x415ad7,-_0x181759._0xc69626,_0x181759._0x5307a2),'inputSchema':{'type':_0x410f9a(_0x181759._0x499c1d,_0x181759._0x59970a,_0x181759._0x59b44b,_0x181759._0xa27477),'properties':{'pattern':{'type':_0x410f9a(0x3e4,0x28f,0x2be,0x1ed)},'path':{'type':_0x410f9a(_0x181759._0x1409da,0x28f,0x19f,0x174)},'limit':{'type':_0x17c61b(-0x2f7,-_0x181759._0x4a8e4a,-_0x181759._0x2b2eeb,-0xb4)}},'required':[_0x17c61b(_0x181759._0x1a6922,0xa3,0xdd,_0x181759._0xeaf7e7)]},async *'execute'(_0x361756){if(_0x361756['pattern'][_0x2c9b1a(0x16b,-_0x21c5c5._0x4db6d5,0x1b7,_0x21c5c5._0x20e2dd)]()[_0x5d7263(_0x21c5c5._0x1457d2,_0x21c5c5._0x40971f,_0x21c5c5._0x18dbc5,0x1b8)]===0x0)throw new ToolExecutionError(_0x2c9b1a(_0x21c5c5._0x4a88e6,-0x4f,0xc1,0xe7),{});function _0x2c9b1a(_0xceed20,_0x3bf96e,_0x1b9187,_0x59735f){return _0x410f9a(_0xceed20,_0x59735f- -_0x33d51d._0x4547d2,_0x1b9187-_0x33d51d._0x592eb1,_0x59735f-_0x33d51d._0x3414e0);}const _0x114f14=resolveAllowedPath(_0x258e3a,_0x444fed,_0x361756[_0x5d7263(0x125,0x153,0x33,0x95)]??'.');function _0x5d7263(_0x59f365,_0x500ede,_0x4ed1b4,_0x4c35df){return _0x410f9a(_0x59f365,_0x4c35df- -_0x4a40a9._0x72715b,_0x4ed1b4-0x1ef,_0x4c35df-0x168);}const _0x48ebb1=await _0x4ec698(_0x114f14)[_0x5d7263(-_0x21c5c5._0x247575,-0xa3,0x131,_0x21c5c5._0x560772)](()=>null);if(!_0x48ebb1?.[_0x2c9b1a(0x24e,0x1fe,_0x21c5c5._0x2b4068,_0x21c5c5._0x59fdf0)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x361756['path']??'.'),{'path':_0x361756[_0x5d7263(_0x21c5c5._0x5a70b9,-0x92,_0x21c5c5._0x59fdf0,_0x21c5c5._0x1343b3)]??'.'});const _0xa87b75=_0x361756[_0x2c9b1a(_0x21c5c5._0x474b09,_0x21c5c5._0x578e89,0x263,0x160)]??_0x8f08f6,_0x3abfd8=Math['max'](0x1,Math[_0x5d7263(-0x4f,0x16f,0x1c5,_0x21c5c5._0x16ba34)](_0xa87b75)),_0x4fa5dc=[];let _0x494da8=![];for await(const _0x2596ab of files({'cwd':_0x114f14,'glob':[_0x361756[_0x5d7263(_0x21c5c5._0x38e92c,_0x21c5c5._0x271847,_0x21c5c5._0x2f64e2,_0x21c5c5._0x8c9d80)]]})){if(_0x4fa5dc['length']>=_0x3abfd8){_0x494da8=!![];break;}const _0x5cab41=await _0x4ec698(_0x46bbba[_0x5d7263(_0x21c5c5._0x56f6ff,0x394,_0x21c5c5._0x10b387,_0x21c5c5._0x379439)](_0x114f14,_0x2596ab))[_0x2c9b1a(-0x5a,0xaa,0x4,-_0x21c5c5._0x5e5e4e)](()=>null);_0x4fa5dc[_0x5d7263(-0x4d,0x137,0x5a,0xa0)]({'path':_0x2596ab,'mtime':_0x5cab41?.[_0x5d7263(0xf8,-0x1,0x1b7,_0x21c5c5._0x2a1d8b)]??0x0});}_0x4fa5dc[_0x2c9b1a(0x2a2,0x146,0x14b,_0x21c5c5._0x105f91)]((_0x59b93a,_0x3a6c26)=>_0x3a6c26[_0x2c9b1a(0x4c,-0x14a,-0x146,-0x7c)]-_0x59b93a[_0x5d7263(-0x6e,0xa7,0x1bc,0x4e)]);const _0x22db2a=_0x4fa5dc['map'](_0x3ee8fb=>_0x3ee8fb[_0x5d7263(-0x8d,-0xdf,-0x40,0x95)]),_0x5326b4=_0x22db2a[_0x5d7263(0xd2,0xb7,_0x21c5c5._0x26cb31,0x1b8)]===0x0?_0x5d7263(0x2f,0x295,_0x21c5c5._0x380375,0x174)+_0x361756[_0x5d7263(_0x21c5c5._0x405a3f,0x34c,_0x21c5c5._0x1186a4,0x24f)]:''+_0x22db2a['join']('\x0a')+(_0x494da8?_0x2c9b1a(0xe3,0x172,0x21f,0xcc):'');return yield createToolOutput(_0x5326b4,{'pattern':_0x361756['pattern'],'searchPath':_0x46bbba[_0x5d7263(0x10d,_0x21c5c5._0x3a5843,_0x21c5c5._0x554810,_0x21c5c5._0x3aa38d)](_0x258e3a,_0x114f14)||'.','matches':_0x22db2a,'count':_0x22db2a[_0x2c9b1a(_0x21c5c5._0x720dc,_0x21c5c5._0x24d03d,0x1a3,_0x21c5c5._0x5421e3)],'truncated':_0x494da8}),void 0x0;}});}import{stat as _0x984547}from'fs/promises';import*as _0x3677e6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x2c11c1={}){const _0x4aef10={_0x1984ad:0x28,_0x388812:0x279,_0x2fa945:0x108,_0x30e87c:0x42,_0x5a762d:0x3f,_0x3a7209:0x482,_0x508ace:0x25a,_0x3d205f:0x490,_0x39bbac:0x379,_0x2745a7:0x26f,_0x34a3be:0x1ac,_0x3a56be:0xe2,_0x160485:0x2e,_0x576d12:0x11,_0x2fb9b5:0x20c},_0x5dc9cb={_0x568395:0x9f,_0x1ce70c:0x399,_0x974235:0x3f7,_0x215c10:0x4ea,_0x28cd71:0x5be,_0x422cce:0x508,_0x297a50:0x618,_0x56f9ea:0x57d,_0x4bbca2:0x576,_0x4601a7:0x45a,_0x25afbb:0x37b,_0x127fbc:0x1ea,_0x31fb56:0x1df,_0x27915d:0x670,_0x23580c:0x4fb,_0x59bfe2:0x5b3,_0x1c103b:0x578,_0x27bdc7:0x573,_0x1be36e:0x421,_0x479d36:0x599,_0x2aa669:0x172,_0xa6142c:0x206,_0x4b760d:0x89,_0x4f1052:0x60,_0x3a6462:0x5be,_0x322158:0x44f,_0x43efeb:0x77,_0x18f675:0xfa,_0x4d888d:0xe0,_0x5a687d:0x88,_0x2d326d:0x14,_0x250ca5:0x72,_0x5782cc:0x81,_0x35764c:0x9c,_0xef118a:0xb3,_0x2e0122:0x27f,_0x1ffeb0:0x3e6,_0x5f547b:0x298,_0xdaba08:0x761,_0x34c9ae:0x55f,_0x42b439:0x578,_0x2c249e:0x5ad,_0x1c26de:0x220,_0x5a3b3a:0x152,_0x4cb245:0x12e,_0x488e20:0x148,_0x13abe3:0xb3,_0x26be51:0x1f3,_0x1dab48:0x245,_0x34db9a:0x3a1,_0x47c402:0x465,_0x51a446:0xa3,_0x196d85:0xc,_0x4ead6f:0x44b,_0x47064c:0x410,_0x12b211:0x57d,_0x5e73a3:0x51,_0x333c06:0x222,_0x2ec1c1:0xef,_0x3481d0:0x4c,_0x25793e:0xda,_0x2d7f7a:0x176,_0x46321f:0x6c,_0xb665b9:0xa5,_0x241c64:0x58d,_0x494607:0x572,_0x281e6b:0x24,_0x5c9cda:0x54a,_0x32060a:0x2a3,_0x25bebf:0x36c,_0x21b91a:0x41b,_0x2df0a6:0x607,_0x24f419:0x55a,_0x206142:0x561,_0x71dd7d:0x6f,_0x2e4a68:0x11a,_0x287fed:0x157,_0x3e5851:0xe3,_0x49a39a:0x6b3,_0x1642f0:0x5c8,_0xa4fd09:0x2e8,_0xc9d49c:0x1d5,_0x511d11:0x545,_0xdf0b74:0x660,_0x48dd8b:0x532,_0x115483:0x586,_0x36da5e:0x74,_0x527ca9:0x5d2,_0x11749c:0x1a0,_0x512fbb:0x106,_0x1130bc:0x105,_0x423014:0x597,_0xa86f1b:0x63c,_0x11a8a5:0x99,_0x46b725:0x49e,_0x5f4276:0x42a,_0xf2a6fd:0x298,_0x59338a:0x310,_0x2acd0e:0x483},_0x1d35e5={_0x59347:0xcb},_0x5f3beb={_0x36804f:0x9b},_0x16fdad={_0x2b5797:0x1d6,_0x3f7144:0x1fe,_0x2c22d5:0x167},_0x366bb6=_0x3677e6[_0x3d72e7(_0x4aef10._0x1984ad,-0xa4,0xbf,0x25)](_0x2c11c1[_0x5db022(0x11f,0x1e3,_0x4aef10._0x388812,0x10f)]??process[_0x3d72e7(_0x4aef10._0x2fa945,-_0x4aef10._0x30e87c,_0x4aef10._0x5a762d,0x7c)]()),_0x280227=_0x2c11c1['allowedDirs']??[],_0x249786=_0x2c11c1[_0x5db022(_0x4aef10._0x3a7209,0x33d,0x2ac,_0x4aef10._0x508ace)]??0x64;function _0x3d72e7(_0x24617d,_0x1de2f6,_0xf049a1,_0x54899b){return _0x4d40c0(_0x24617d-_0x16fdad._0x2b5797,_0x24617d-_0x16fdad._0x3f7144,_0xf049a1-_0x16fdad._0x2c22d5,_0xf049a1);}function _0x5db022(_0x1488e2,_0x1c5259,_0x40380e,_0xb99e49){return _0xf90728(_0xb99e49,_0x1c5259-0x5c,_0x1c5259-0x245,_0xb99e49-_0x5f3beb._0x36804f);}const _0x241e45=_0x2c11c1[_0x5db022(0x266,0x184,0x66,0x78)]??_0x5db022(0x27a,0x344,0x1ee,_0x4aef10._0x3d205f);return defineTool({'name':_0x241e45,'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x5db022(_0x4aef10._0x39bbac,0x298,0x190,0x24d),'properties':{'pattern':{'type':'string'},'path':{'type':_0x5db022(0x294,_0x4aef10._0x2745a7,0x11f,_0x4aef10._0x34a3be)},'include':{'type':_0x5db022(0x180,_0x4aef10._0x2745a7,0x17e,0x171)},'limit':{'type':_0x5db022(0x1ae,_0x4aef10._0x3a56be,-_0x4aef10._0x160485,_0x4aef10._0x576d12)},'context':{'type':'number'}},'required':[_0x5db022(0x2bc,0x362,0x1eb,_0x4aef10._0x2fb9b5)]},async *'execute'(_0x1ff0ac){const _0x227f7c={_0x337dd3:0x69};if(_0x1ff0ac[_0x4a43c7(_0x5dc9cb._0x568395,-0xd7,-0xcd,-0x4c)][_0x5621c8(_0x5dc9cb._0x1ce70c,_0x5dc9cb._0x974235,_0x5dc9cb._0x215c10,0x4ea)]()[_0x5621c8(_0x5dc9cb._0x28cd71,_0x5dc9cb._0x422cce,_0x5dc9cb._0x297a50,_0x5dc9cb._0x56f9ea)]===0x0)throw new ToolExecutionError(_0x5621c8(0x647,0x4ca,0x522,_0x5dc9cb._0x4bbca2),{});function _0x5621c8(_0xfbf392,_0x5789bb,_0x1533ad,_0x5722c1){return _0x3d72e7(_0x5722c1-0x43f,_0x5789bb-_0x227f7c._0x337dd3,_0x5789bb,_0x5722c1-0x158);}const _0x384a04=resolveAllowedPath(_0x366bb6,_0x280227,_0x1ff0ac[_0x5621c8(0x5a2,0x589,0x37e,_0x5dc9cb._0x4601a7)]??'.'),_0x1289c6=await _0x984547(_0x384a04)[_0x4a43c7(-_0x5dc9cb._0x25afbb,-_0x5dc9cb._0x127fbc,-_0x5dc9cb._0x31fb56,-0x298)](()=>null),_0x2d208b=_0x1289c6?.['isFile']()??![],_0x11c365=_0x1289c6?.[_0x5621c8(_0x5dc9cb._0x27915d,_0x5dc9cb._0x23580c,0x4de,_0x5dc9cb._0x59bfe2)]()??![];if(!_0x2d208b&&!_0x11c365)throw new ToolExecutionError(_0x5621c8(_0x5dc9cb._0x1c103b,_0x5dc9cb._0x27bdc7,0x30a,_0x5dc9cb._0x1be36e)+(_0x1ff0ac[_0x5621c8(0x56b,0x441,_0x5dc9cb._0x479d36,0x45a)]??'.'),{'path':_0x1ff0ac[_0x4a43c7(-0x1e6,-0x21c,-_0x5dc9cb._0x2aa669,-_0x5dc9cb._0xa6142c)]??'.'});const _0x58fc12=_0x1ff0ac[_0x4a43c7(0xc8,-_0x5dc9cb._0x4b760d,-_0x5dc9cb._0x4f1052,-0x71)]??_0x249786;function _0x4a43c7(_0x15bf2f,_0x52a57e,_0x33c6ba,_0x21f0db){return _0x3d72e7(_0x21f0db- -0x221,_0x52a57e-_0x1d35e5._0x59347,_0x33c6ba,_0x21f0db-0xfc);}const _0x38a083=Math['max'](0x1,Math[_0x5621c8(0x4be,_0x5dc9cb._0x3a6462,0x5a7,_0x5dc9cb._0x322158)](_0x58fc12)),_0x1d7678=await search({'cwd':_0x11c365?_0x384a04:_0x3677e6['dirname'](_0x384a04),'pattern':_0x1ff0ac[_0x4a43c7(_0x5dc9cb._0x43efeb,-0x1b5,-_0x5dc9cb._0x18f675,-0x4c)],'glob':_0x11c365?_0x1ff0ac[_0x4a43c7(-0x1a1,-0x210,-0x1bf,-0x277)]:void 0x0,'limit':_0x38a083,'file':_0x2d208b?_0x384a04:void 0x0,'context':_0x1ff0ac[_0x4a43c7(-_0x5dc9cb._0x4d888d,-_0x5dc9cb._0x5a687d,-0x15a,_0x5dc9cb._0x2d326d)]}),_0x4efd48=new Map();for(const _0x599146 of _0x1d7678){if(!_0x4efd48['has'](_0x599146['filePath'])){const _0x27dcec=await _0x984547(_0x599146[_0x4a43c7(_0x5dc9cb._0x250ca5,-_0x5dc9cb._0x5782cc,-_0x5dc9cb._0x35764c,-_0x5dc9cb._0xef118a)])[_0x4a43c7(-_0x5dc9cb._0x2e0122,-0x20c,-_0x5dc9cb._0x1ffeb0,-_0x5dc9cb._0x5f547b)](()=>null);_0x4efd48[_0x5621c8(_0x5dc9cb._0xdaba08,_0x5dc9cb._0x34c9ae,0x612,0x64a)](_0x599146[_0x5621c8(0x58d,0x603,_0x5dc9cb._0x42b439,_0x5dc9cb._0x2c249e)],{'matches':[],'mtime':_0x27dcec?.[_0x4a43c7(-_0x5dc9cb._0x1c26de,-_0x5dc9cb._0x5a3b3a,-0x283,-_0x5dc9cb._0x4cb245)]??0x0});}_0x4efd48['get'](_0x599146[_0x4a43c7(-_0x5dc9cb._0x488e20,-0x1ee,_0x5dc9cb._0x4f1052,-_0x5dc9cb._0x13abe3)])?.[_0x4a43c7(-0x188,-0x191,-_0x5dc9cb._0x26be51,-_0x5dc9cb._0x1dab48)][_0x5621c8(0x5cc,_0x5dc9cb._0x34db9a,0x521,_0x5dc9cb._0x47c402)](_0x599146);}const _0x4ed642=[..._0x4efd48[_0x4a43c7(-0x11c,-0x24,-0x9a,-0x16e)]()][_0x4a43c7(-0xdb,-_0x5dc9cb._0x51a446,0x112,_0x5dc9cb._0x196d85)]((_0x5b6659,_0xbd4c29)=>_0xbd4c29[0x1]['mtime']-_0x5b6659[0x1][_0x5621c8(0x4a0,0x3ae,0x2f9,0x413)]),_0x10e111=_0x1d7678['filter'](_0x48d068=>!_0x48d068[_0x4a43c7(-0x144,-0x259,0x5b,-0x109)])[_0x4a43c7(0x6f,-0x17c,-0x98,-0xe3)],_0xad2647=_0x1d7678['length']>=_0x38a083,_0x56c3ab=_0x2d208b?_0x3677e6[_0x5621c8(0x6bc,0x523,0x526,0x656)](_0x384a04):_0x384a04;let _0x2efa81='';if(_0x1d7678[_0x5621c8(_0x5dc9cb._0x4ead6f,_0x5dc9cb._0x47064c,0x6d3,_0x5dc9cb._0x12b211)]===0x0)_0x2efa81=_0x4a43c7(-_0x5dc9cb._0x5e73a3,-_0x5dc9cb._0x333c06,-0x156,-0x10d)+_0x1ff0ac[_0x4a43c7(-0x1b8,-_0x5dc9cb._0x2ec1c1,0x8a,-_0x5dc9cb._0x3481d0)];else{_0x2efa81=_0x4a43c7(-0x73,-_0x5dc9cb._0x25793e,-_0x5dc9cb._0x2d7f7a,-0x129)+_0x10e111+_0x4a43c7(-0x13e,-0xac,_0x5dc9cb._0x46321f,-_0x5dc9cb._0xb665b9)+(_0x10e111===0x1?'':'es')+'\x0a';for(const [_0x55ff0e,_0x4b775e]of _0x4ed642){const _0x32a247=_0x2d208b?_0x3677e6[_0x5621c8(0x3bb,_0x5dc9cb._0x241c64,_0x5dc9cb._0x494607,0x466)](_0x55ff0e):_0x3677e6[_0x4a43c7(-0x196,-0x109,0x106,-_0x5dc9cb._0x281e6b)](_0x56c3ab,_0x55ff0e);_0x2efa81+='\x0a'+_0x32a247+':\x0a';for(const _0x31c36b of _0x4b775e[_0x5621c8(_0x5dc9cb._0x5c9cda,_0x5dc9cb._0x32060a,_0x5dc9cb._0x25bebf,_0x5dc9cb._0x21b91a)]){const _0x13087c=_0x31c36b[_0x5621c8(0x4e5,_0x5dc9cb._0x2df0a6,_0x5dc9cb._0x24f419,_0x5dc9cb._0x206142)][_0x4a43c7(-_0x5dc9cb._0x71dd7d,-_0x5dc9cb._0x2e4a68,-_0x5dc9cb._0x287fed,-_0x5dc9cb._0x3e5851)]>MAX_LINE_LENGTH?_0x31c36b[_0x5621c8(_0x5dc9cb._0x49a39a,0x4ac,_0x5dc9cb._0x1642f0,_0x5dc9cb._0x206142)][_0x4a43c7(-_0x5dc9cb._0xa4fd09,-0xdd,-_0x5dc9cb._0xc9d49c,-0x1ce)](0x0,MAX_LINE_LENGTH)+_0x5621c8(_0x5dc9cb._0x511d11,_0x5dc9cb._0xdf0b74,_0x5dc9cb._0x48dd8b,_0x5dc9cb._0x115483):_0x31c36b[_0x4a43c7(-0x198,-0x220,_0x5dc9cb._0x36da5e,-0xff)],_0x3b63a9=_0x31c36b['isContext']?'\x20\x20':'>\x20';_0x2efa81+=_0x3b63a9+'Line\x20'+_0x31c36b[_0x5621c8(0x57e,_0x5dc9cb._0x527ca9,0x667,0x643)]+':\x20'+_0x13087c+'\x0a';}}_0xad2647&&(_0x2efa81+=_0x4a43c7(-_0x5dc9cb._0x11749c,-0x24b,-_0x5dc9cb._0x512fbb,-_0x5dc9cb._0x1130bc));}const _0x5eddee={'searchPath':_0x3677e6[_0x5621c8(0x511,_0x5dc9cb._0x423014,0x60f,_0x5dc9cb._0xa86f1b)](_0x366bb6,_0x384a04)||'.','pattern':_0x1ff0ac[_0x4a43c7(-0x14e,-0x83,0xc6,-_0x5dc9cb._0x3481d0)],'matchCount':_0x10e111,'fileCount':_0x4efd48[_0x4a43c7(-0xcb,-0x132,-0x148,-_0x5dc9cb._0x11a8a5)],'truncated':_0xad2647};return _0x11c365&&_0x1ff0ac[_0x5621c8(0x410,_0x5dc9cb._0x46b725,_0x5dc9cb._0x5f4276,0x3e9)]!==void 0x0&&(_0x5eddee[_0x4a43c7(-_0x5dc9cb._0xf2a6fd,-0x357,-0x2a1,-0x277)]=_0x1ff0ac[_0x5621c8(_0x5dc9cb._0x59338a,_0x5dc9cb._0x2acd0e,0x36e,0x3e9)]),yield createToolOutput(_0x2efa81[_0x5621c8(0x51e,0x429,0x64f,0x4ea)](),_0x5eddee),void 0x0;}});}function createKillShellTool(_0x53f5a7){const _0x497df8={_0x1f37c5:0x770,_0x587188:0x3b2,_0x1fd414:0x49f,_0x362c05:0x67,_0x234229:0x149,_0xb3f60f:0x294,_0x5aa216:0x1a7,_0x4988c0:0x3f6,_0x27ac57:0x5f2,_0xa6d234:0x490},_0x4a93cc={_0x509275:0x272,_0x370c20:0x5,_0x24859:0x88,_0x592138:0x1f6,_0x3fadf6:0x46,_0x3f4ef4:0x31c,_0xcb9782:0x43c,_0x2d92af:0x25e,_0x31996f:0x3ad,_0x19f2a2:0x22b,_0x590fe6:0x177,_0x5aa94f:0x19f,_0x2de1f8:0x146,_0x32119e:0x2ff,_0xfb093:0x457,_0x1e3e1a:0x3bd},_0xbc8e81={_0x3ec5ba:0x90,_0x19dbc5:0x7ac},_0x541c5d={_0x2923f3:0x5df},_0x407fd5={_0x257ba9:0x1d1};function _0x446918(_0x46a471,_0x558a85,_0x1d3f2e,_0x18e780){return _0xf90728(_0x558a85,_0x558a85-0x8,_0x18e780- -_0x407fd5._0x257ba9,_0x18e780-0x158);}const {registry:_0x405404}=_0x53f5a7;function _0x53d7ff(_0xb744e4,_0x57d9cc,_0x15786d,_0x472d43){return _0xf90728(_0xb744e4,_0x57d9cc-0x163,_0x472d43-_0x541c5d._0x2923f3,_0x472d43-0x2d);}return defineTool({'name':_0x53d7ff(_0x497df8._0x1f37c5,0x62a,0x835,0x6ec),'description':_0x53d7ff(_0x497df8._0x587188,0x57d,0x39c,_0x497df8._0x1fd414),'inputSchema':{'type':_0x446918(-_0x497df8._0x362c05,-_0x497df8._0x234229,-0x258,-0x17e),'properties':{'shellId':{'type':_0x446918(-0x75,-0x223,-_0x497df8._0xb3f60f,-_0x497df8._0x5aa216)}},'required':[_0x53d7ff(0x4d1,_0x497df8._0x4988c0,_0x497df8._0x27ac57,_0x497df8._0xa6d234)]},async *'execute'(_0x5bcab4){const _0x3907e9={_0x5c7a90:0x193};function _0x4b853b(_0x2f9287,_0x5ded3b,_0x1f4736,_0x474acf){return _0x446918(_0x2f9287-_0x3907e9._0x5c7a90,_0x474acf,_0x1f4736-0x1a,_0x2f9287-0x3de);}const _0x449bea=_0x405404[_0x4b853b(0x139,0x147,_0x4a93cc._0x509275,0xb1)](_0x5bcab4[_0x4b853b(0xbe,-_0x4a93cc._0x370c20,-_0x4a93cc._0x24859,_0x4a93cc._0x592138)]);function _0x118bb0(_0x422e87,_0x3643d0,_0x62b8fb,_0x2b640f){return _0x53d7ff(_0x62b8fb,_0x3643d0-0x10e,_0x62b8fb-_0xbc8e81._0x3ec5ba,_0x422e87- -_0xbc8e81._0x19dbc5);}return createToolOutput(_0x118bb0(-0xd3,-0x12a,-_0x4a93cc._0x3fadf6,-0x10d)+_0x5bcab4[_0x118bb0(-_0x4a93cc._0x3f4ef4,-_0x4a93cc._0xcb9782,-_0x4a93cc._0x2d92af,-_0x4a93cc._0x31996f)]+_0x4b853b(0x20b,0x1a5,0x2a5,0x1c3)+_0x449bea['status']+').',{'shellId':_0x5bcab4[_0x118bb0(-0x31c,-0x24a,-0x266,-0x410)],'status':_0x449bea[_0x4b853b(_0x4a93cc._0x19f2a2,0x264,0x33e,_0x4a93cc._0x590fe6)],'exitCode':_0x449bea[_0x118bb0(-_0x4a93cc._0x5aa94f,-0x252,-_0x4a93cc._0x2de1f8,-0x22f)],'signal':_0x449bea[_0x4b853b(_0x4a93cc._0x32119e,_0x4a93cc._0xfb093,0x1df,_0x4a93cc._0x1e3e1a)]});}});}import{readdir as _0x4bdf45,readFile as _0x3edc7f,stat as _0x45b9b5}from'fs/promises';import*as _0x3cdedb from'path';import*as _0x33e08f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x554dbe,_0x6db295){const _0x1688d1={_0x22e9f7:0x479,_0x6c0e:0x47d,_0x319ff7:0x3e9,_0x5e3cf6:0x53b,_0x2280aa:0x70b,_0x485c83:0x571,_0x3a7e64:0x6d5},_0x5c676c={_0x504aa6:0x39d},_0x2ac297={_0x37ddd7:0x22};function _0x2efb10(_0x5ee95d,_0x924af3,_0x37ca7a,_0x205a87){return _0xf90728(_0x205a87,_0x924af3-_0x2ac297._0x37ddd7,_0x924af3-0x5ac,_0x205a87-0x112);}if(_0x6db295>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x42b35d=await _0x3edc7f(_0x554dbe)[_0x2efb10(_0x1688d1._0x22e9f7,_0x1688d1._0x6c0e,_0x1688d1._0x319ff7,0x3d7)](()=>null);if(!_0x42b35d||isProbablyBinary(_0x42b35d))return void 0x0;function _0x1ee405(_0x586b23,_0x51b74d,_0x29bde4,_0x468dc1){return _0xf90728(_0x586b23,_0x51b74d-0x1ac,_0x29bde4-_0x5c676c._0x504aa6,_0x468dc1-0x40);}return _0x42b35d['toString']('utf8')[_0x1ee405(0x449,_0x1688d1._0x5e3cf6,0x44e,0x320)](/\r?\n/)[_0x2efb10(_0x1688d1._0x2280aa,0x632,_0x1688d1._0x485c83,_0x1688d1._0x3a7e64)];}function createLsTool(_0x1058c0={}){const _0x4adb2a={_0x5b6cc1:0x427,_0x280751:0x55a,_0x4cd8f8:0x566,_0x2c6913:0x6a,_0x305125:0x71,_0x2fe15d:0x64d,_0x4dad95:0x4dc,_0x5f3bba:0x64e,_0x550477:0x53c,_0x5ba5d9:0x60f,_0x1aff9a:0x554,_0x177fe3:0x59b,_0xd43c2c:0x67c,_0x4cb6f5:0x42a,_0x52453c:0x344,_0xcafe2d:0x459},_0x1de205={_0x23b539:0x4f,_0x583fc4:0xdf,_0x1ceb83:0xc8,_0x480ec2:0x203,_0x3d0159:0x257,_0x235578:0x2fa,_0x417076:0x412,_0x176b80:0x103,_0x264aa7:0x120,_0x3790dd:0x48f,_0xddbf6e:0x5b6,_0x3a7a14:0x3a5,_0x210101:0x3cf,_0x823b25:0x32a,_0x141776:0x69,_0x2f4471:0x2b2,_0x3be120:0x311,_0x5656b0:0x407,_0x4631e6:0x4e3,_0x1a06f5:0x4a5,_0x8835b4:0x5dc,_0x471efc:0x4aa,_0x4bd67c:0x62b,_0x4625e4:0x517,_0x137632:0x554,_0x4e1944:0x654,_0x31ab81:0x64b,_0x14e305:0x532,_0x214b9e:0x529,_0x2fc01a:0x428,_0x402ca5:0x1a2,_0x2180c4:0x1af,_0x1bc75b:0x2fc,_0x2ee4bc:0x423,_0x2ca14e:0x45d,_0xa7e05c:0x4df,_0x1f13f1:0x575,_0x705708:0x3d8,_0x5f016c:0x470,_0x220f2b:0x60c,_0x28aba2:0x54d,_0x3a2936:0x26b,_0x122fc8:0x313},_0x257460={_0x48981c:0xdb,_0x1acb3e:0x457,_0x1a478d:0x85},_0x28555d={_0xf94419:0x702,_0x43e82c:0x127},_0x50ccea={_0x5b2802:0x22,_0x2ff4bb:0xd8};function _0x10be10(_0x26048a,_0x4867eb,_0x76397a,_0x35f435){return _0xf90728(_0x4867eb,_0x4867eb-0x1d5,_0x26048a- -_0x50ccea._0x5b2802,_0x35f435-_0x50ccea._0x2ff4bb);}const _0xfab87f=_0x3cdedb['resolve'](_0x1058c0[_0xfa74d5(0x5be,_0x4adb2a._0x5b6cc1,_0x4adb2a._0x280751,_0x4adb2a._0x4cd8f8)]??process[_0x10be10(0x2e,-0x1a,-_0x4adb2a._0x2c6913,_0x4adb2a._0x305125)]());function _0xfa74d5(_0x85452b,_0x26d825,_0xf0feb5,_0x3d01e0){return _0x4d40c0(_0x85452b-0x14c,_0xf0feb5-_0x28555d._0xf94419,_0xf0feb5-_0x28555d._0x43e82c,_0x85452b);}const _0x30f8e5=_0x1058c0[_0xfa74d5(0x63e,0x575,_0x4adb2a._0x2fe15d,0x696)]??[],_0x27794d=_0x1058c0['name']??'Ls';return defineTool({'name':_0x27794d,'description':_0xfa74d5(0x41d,0x520,_0x4adb2a._0x4dad95,0x640),'inputSchema':{'type':_0xfa74d5(_0x4adb2a._0x5f3bba,_0x4adb2a._0x550477,_0x4adb2a._0x5ba5d9,0x77f),'properties':{'path':{'type':_0xfa74d5(_0x4adb2a._0x1aff9a,_0x4adb2a._0x177fe3,0x5e6,_0x4adb2a._0xd43c2c)},'limit':{'type':_0xfa74d5(_0x4adb2a._0x4cb6f5,_0x4adb2a._0x52453c,_0x4adb2a._0xcafe2d,0x437)}}},async *'execute'(_0x441ace){const _0xa0b966={_0x1bb49a:0x3d},_0x2b8f26=_0x441ace[_0x350641(-_0x1de205._0x23b539,_0x1de205._0x583fc4,_0x1de205._0x1ceb83,_0x1de205._0x480ec2)]??'.',_0x3f6d9a=resolveAllowedPath(_0xfab87f,_0x30f8e5,_0x2b8f26),_0x1e42c9=await _0x45b9b5(_0x3f6d9a)[_0x3140de(_0x1de205._0x3d0159,_0x1de205._0x235578,0x32a,0x2dc)](()=>null);function _0x350641(_0x2b70cc,_0x164f2b,_0x4f3850,_0x3d3f11){return _0xfa74d5(_0x2b70cc,_0x164f2b-_0x257460._0x48981c,_0x4f3850- -_0x257460._0x1acb3e,_0x3d3f11-_0x257460._0x1a478d);}if(!_0x1e42c9?.[_0x3140de(0x4e4,0x635,0x515,_0x1de205._0x417076)]())throw new ToolExecutionError(_0x350641(_0x1de205._0x176b80,0x1ac,0x170,0x1dc)+_0x2b8f26,{'path':_0x2b8f26});const _0xebeb5d=_0x441ace['limit']??0x3e8,_0x2dbf27=Math[_0x350641(0x142,0x205,0x269,_0x1de205._0x264aa7)](Math[_0x3140de(0x444,0x49a,_0x1de205._0x3790dd,_0x1de205._0xddbf6e)](Math['trunc'](_0xebeb5d),0x1),0x2710),_0x6b11eb=await _0x4bdf45(_0x3f6d9a),_0x414df5=[];for(const _0x25fa6b of _0x6b11eb['slice'](0x0,_0x2dbf27)){const _0x36248d=_0x3cdedb[_0x350641(0x353,_0x1de205._0x3a7a14,0x2d0,0x3b9)](_0x3f6d9a,_0x25fa6b),_0x554682=await _0x45b9b5(_0x36248d)[_0x3140de(_0x1de205._0x210101,0x3b9,_0x1de205._0x823b25,0x35d)](()=>null);if(!_0x554682)continue;let _0x13e03a='other';if(_0x554682[_0x350641(-0x83,0x16b,0x56,-_0x1de205._0x141776)]())_0x13e03a='file';else{if(_0x554682['isDirectory']())_0x13e03a=_0x3140de(_0x1de205._0x2f4471,0x3b2,0x39c,_0x1de205._0x3be120);else{if(_0x554682['isSymbolicLink']())_0x13e03a=_0x3140de(0x405,0x403,0x3f6,_0x1de205._0x5656b0);}}const _0x402faa={'name':_0x25fa6b,'type':_0x13e03a,'size':_0x554682[_0x3140de(0x58b,_0x1de205._0x4631e6,0x529,_0x1de205._0x1a06f5)],'mtime':_0x554682[_0x3140de(_0x1de205._0x8835b4,0x51f,0x494,0x4a1)],'mode':_0x554682[_0x3140de(0x501,_0x1de205._0x471efc,0x565,_0x1de205._0x4bd67c)]},_0x5153ea=_0x13e03a===_0x3140de(0x52a,_0x1de205._0x4625e4,_0x1de205._0x137632,_0x1de205._0x4e1944)?await countTextLines(_0x36248d,_0x554682[_0x3140de(_0x1de205._0x31ab81,_0x1de205._0x14e305,_0x1de205._0x214b9e,0x410)]):void 0x0;if(_0x5153ea!==void 0x0)_0x402faa[_0x3140de(_0x1de205._0x2fc01a,_0x1de205._0x402ca5,0x30c,_0x1de205._0x2180c4)]=_0x5153ea;_0x414df5[_0x350641(-0x89,0x19e,0xd3,0xca)](_0x402faa);}_0x414df5[_0x350641(0x398,0x275,0x2da,_0x1de205._0x1bc75b)]((_0x38fc91,_0x1af1b6)=>_0x38fc91[_0x350641(-0x5b,0x1b7,0xa4,0x190)][_0x350641(0x21c,0x37d,0x29b,0x128)](_0x1af1b6[_0x3140de(0x265,0x2f7,0x398,0x44d)]));function _0x3140de(_0x5905c7,_0x47605c,_0x4b075c,_0x416f67){return _0xfa74d5(_0x416f67,_0x47605c-0x152,_0x4b075c- -0x163,_0x416f67-_0xa0b966._0x1bb49a);}const _0x59275f={'path':_0x2b8f26,'total':_0x414df5[_0x3140de(_0x1de205._0x2ee4bc,_0x1de205._0x2ca14e,_0x1de205._0xa7e05c,_0x1de205._0x1f13f1)],'truncated':_0x6b11eb[_0x3140de(0x5d0,_0x1de205._0x705708,_0x1de205._0xa7e05c,_0x1de205._0x5f016c)]>_0x2dbf27,'entries':_0x414df5};return yield createToolOutput(_0x33e08f['stringify'](_0x59275f,{'indent':0x2,'lineWidth':0x0})[_0x3140de(0x4a2,0x4d2,0x364,0x315)](),{'path':_0x2b8f26,'total':_0x414df5[_0x3140de(_0x1de205._0x220f2b,_0x1de205._0x28aba2,_0x1de205._0xa7e05c,0x47d)],'truncated':_0x6b11eb[_0x350641(_0x1de205._0x3a2936,_0x1de205._0x122fc8,0x1eb,0x1c7)]>_0x2dbf27,'limit':_0x2dbf27,'entries':_0x414df5}),void 0x0;}});}import{stat as _0x3f7604}from'fs/promises';import _0x3a6466 from'path';import{fileURLToPath as _0x52e4d1}from'url';function severityName(_0x19d715){const _0x11fa43={_0x535556:0x258,_0x25bf95:0x440,_0x270464:0x2b0,_0x3590a6:0x294,_0x495652:0x26c,_0x430181:0x2f9,_0x282b06:0x35f,_0x3d098b:0x20e},_0x5ed9c2={_0x3fb05a:0x40,_0x528987:0xe5},_0xde1bd8={_0x45651f:0x421};function _0x1f69d6(_0x5f02a6,_0x5b6523,_0x18257a,_0x9f5f6){return _0x4d40c0(_0x5f02a6-0xa6,_0x9f5f6-_0xde1bd8._0x45651f,_0x18257a-0x1a5,_0x5b6523);}function _0x204f00(_0x5dd6f1,_0x2e5172,_0x8f2c00,_0xb5749d){return _0x4d40c0(_0x5dd6f1-_0x5ed9c2._0x3fb05a,_0x2e5172-0x4ce,_0x8f2c00-_0x5ed9c2._0x528987,_0x8f2c00);}switch(_0x19d715){case 0x1:return'Error';case 0x2:return _0x204f00(_0x11fa43._0x535556,0x308,0x469,_0x11fa43._0x25bf95);case 0x3:return _0x1f69d6(_0x11fa43._0x270464,_0x11fa43._0x3590a6,0x277,0x194);case 0x4:return _0x204f00(0x331,_0x11fa43._0x495652,_0x11fa43._0x430181,0x2b5);default:return _0x1f69d6(_0x11fa43._0x282b06,_0x11fa43._0x3d098b,0x468,0x369);}}function formatSingleHover(_0x40fd46){const _0x4eeecf={_0x1acfeb:0x2b5,_0x5d5be2:0x4a5,_0x428d21:0x195,_0x18ac71:0x47d,_0x499135:0x11,_0x4808cf:0x17f,_0x19c233:0x54,_0xd1e01a:0x492,_0x2c8a74:0x542,_0x5df610:0x14d,_0x41275c:0x2a1,_0x36ef30:0x418,_0xd168b0:0x2cc,_0x5258fa:0x213,_0x3446e2:0x274,_0x239ec4:0x2b8,_0x84a6b5:0x4f3},_0x4341ac={_0x52ee84:0x451,_0x50007b:0x112},_0x5d28f3={_0x2c74a2:0x10b};function _0x441eb1(_0x1eba3f,_0x4bc13d,_0x1fdd46,_0x42bcfd){return _0xf90728(_0x1fdd46,_0x4bc13d-0x9d,_0x42bcfd- -0x1bf,_0x42bcfd-_0x5d28f3._0x2c74a2);}function _0x2f3e33(_0x23a772,_0x58248b,_0x3f6e14,_0x544ab8){return _0xf90728(_0x544ab8,_0x58248b-0xa8,_0x23a772-_0x4341ac._0x52ee84,_0x544ab8-_0x4341ac._0x50007b);}const _0x40dd22=_0x40fd46[_0x2f3e33(0x403,_0x4eeecf._0x1acfeb,_0x4eeecf._0x5d5be2,0x362)];if(typeof _0x40dd22===_0x441eb1(-0xb7,-0x298,-0xcd,-_0x4eeecf._0x428d21))return _0x40dd22;if(Array['isArray'](_0x40dd22))return _0x40dd22[_0x2f3e33(0x5a3,0x4fa,0x62c,_0x4eeecf._0x18ac71)](_0xa3293e=>typeof _0xa3293e===_0x2f3e33(0x47b,0x4d0,0x45e,0x550)?_0xa3293e:_0xa3293e[_0x2f3e33(0x39c,0x4c3,0x48d,0x421)])['filter'](Boolean)[_0x441eb1(-0x1c8,_0x4eeecf._0x499135,-_0x4eeecf._0x4808cf,-_0x4eeecf._0x19c233)]('\x0a\x0a');if(_0x2f3e33(_0x4eeecf._0xd1e01a,0x58f,0x39f,_0x4eeecf._0x2c8a74)in _0x40dd22)return _0x40dd22[_0x441eb1(-_0x4eeecf._0x5df610,-0x1ba,-_0x4eeecf._0x41275c,-0x274)];return _0x40dd22[_0x2f3e33(0x3fd,_0x4eeecf._0x36ef30,_0x4eeecf._0xd168b0,0x2dc)]?_0x441eb1(-0x16c,-0x18e,-0x2bf,-0x23e)+_0x40dd22[_0x441eb1(-0x355,-0x228,-0xba,-_0x4eeecf._0x5258fa)]+'\x0a'+_0x40dd22[_0x441eb1(-0x34c,-0x34f,-0x26b,-_0x4eeecf._0x3446e2)]+'\x0a```':_0x40dd22[_0x2f3e33(0x39c,_0x4eeecf._0x239ec4,_0x4eeecf._0x84a6b5,0x237)];}function formatHover(_0x2b2485){const _0x3ef1f4={_0x62e168:0x27b,_0x1d6722:0x160,_0x27cd82:0x181,_0x39e239:0x56,_0x47dbd7:0xb8,_0x4231a1:0x16e,_0x43c065:0x98,_0x14af72:0xcd},_0xebde8={_0x5d3c54:0x3ac,_0x5ea5f5:0x5b},_0x49ce0c={_0x5b33e8:0x2a,_0x2e0793:0xe6};function _0x1efaa8(_0x177a8f,_0xcd7e1a,_0x50e23f,_0x399ea5){return _0xf90728(_0x399ea5,_0xcd7e1a-_0x49ce0c._0x5b33e8,_0x177a8f-0x2f,_0x399ea5-_0x49ce0c._0x2e0793);}if(_0x2b2485['length']===0x0)return _0x510b0c(_0x3ef1f4._0x62e168,0x3f1,_0x3ef1f4._0x1d6722,0x3b2);function _0x510b0c(_0x346d1b,_0x3c21e9,_0x23465b,_0x38e18d){return _0x4d40c0(_0x346d1b-0x98,_0x346d1b-_0xebde8._0x5d3c54,_0x23465b-_0xebde8._0x5ea5f5,_0x3c21e9);}return _0x2b2485[_0x1efaa8(_0x3ef1f4._0x27cd82,_0x3ef1f4._0x39e239,0x1d8,0xb8)](formatSingleHover)[_0x1efaa8(0x19a,_0x3ef1f4._0x47dbd7,_0x3ef1f4._0x4231a1,0x1fd)](_0x1efaa8(-_0x3ef1f4._0x43c065,-0xb6,_0x3ef1f4._0x14af72,-0x162));}function locationPath(_0x30d319){const _0x2cb289={_0x1fae47:0x1e6,_0xcad117:0xe,_0x292d1c:0xf8},_0x3c0111={_0x4f2685:0x373,_0x426a96:0x140},_0x3d81dc={_0x594f13:0x624,_0x153c39:0xa7};if(!_0x30d319[_0x572d59(_0x2cb289._0x1fae47,0x6f,_0x2cb289._0xcad117,_0x2cb289._0x292d1c)](_0x572d59(0x2b3,0x1ad,0x275,0x2f7)))return _0x30d319;function _0x59b4e9(_0x90bcda,_0x21e2da,_0x5dc444,_0x5ba6b3){return _0x4d40c0(_0x90bcda-0x1ee,_0x21e2da-_0x3d81dc._0x594f13,_0x5dc444-_0x3d81dc._0x153c39,_0x5ba6b3);}function _0x572d59(_0x189149,_0x8ad690,_0x27cdfb,_0x2ea605){return _0x4d40c0(_0x189149-0x166,_0x2ea605-_0x3c0111._0x4f2685,_0x27cdfb-_0x3c0111._0x426a96,_0x27cdfb);}return _0x52e4d1(_0x30d319);}function formatLocations(_0x467e44){const _0x499ef8={_0x355a1f:0x195,_0x402a56:0x1d,_0x5e5742:0x55e,_0x198920:0x61a,_0x4f1190:0x90,_0x2dcdfb:0xc8},_0x2bcacc={_0x554b06:0x1f,_0x3a16c3:0xfe,_0x494e7d:0xa1,_0x39b55e:0x49,_0x39a1d1:0xab,_0x49af37:0x1e1,_0x31a744:0x15c,_0x347ecb:0xfa,_0x29adcf:0xd8},_0x2c0bdb={_0x35d00e:0x18d},_0xa0e838={_0x2dda14:0x1c,_0x463e69:0x60e},_0x513a70={_0x19810b:0xa3,_0x33493d:0xd};if(_0x467e44[_0x5d87a5(-_0x499ef8._0x355a1f,0x10e,-0xbc,-_0x499ef8._0x402a56)]===0x0)return'No\x20locations\x20found';function _0x5d87a5(_0x4c8f1d,_0x5d36e8,_0x4a4b93,_0x731e3c){return _0xf90728(_0x5d36e8,_0x5d36e8-0x135,_0x731e3c- -_0x513a70._0x19810b,_0x731e3c-_0x513a70._0x33493d);}function _0x424ed6(_0x36bd2c,_0x46b702,_0x15cce7,_0x49942e){return _0x4d40c0(_0x36bd2c-_0xa0e838._0x2dda14,_0x46b702-_0xa0e838._0x463e69,_0x15cce7-0xde,_0x49942e);}return _0x467e44[_0x424ed6(_0x499ef8._0x5e5742,_0x499ef8._0x198920,0x633,0x4ce)](_0x28fed1=>{const _0xb20793={_0x511caf:0x55e};function _0x3c6fd7(_0x2d4b1f,_0x118e98,_0x21384d,_0x1739bf){return _0x5d87a5(_0x2d4b1f-0x116,_0x118e98,_0x21384d-0x151,_0x2d4b1f-_0x2c0bdb._0x35d00e);}function _0x3ed308(_0x1247ee,_0x315806,_0x3615d3,_0x5432e6){return _0x424ed6(_0x1247ee-0x80,_0x5432e6- -_0xb20793._0x511caf,_0x3615d3-0xba,_0x3615d3);}const _0x59b415=_0x28fed1[_0x3c6fd7(_0x2bcacc._0x554b06,0x7c,-_0x2bcacc._0x3a16c3,-_0x2bcacc._0x494e7d)][_0x3ed308(-_0x2bcacc._0x39b55e,0x55,-0x23,_0x2bcacc._0x39a1d1)];return locationPath(_0x28fed1[_0x3c6fd7(_0x2bcacc._0x49af37,0x209,_0x2bcacc._0x31a744,0x236)])+':'+(_0x59b415[_0x3c6fd7(_0x2bcacc._0x347ecb,0x1b4,0xa5,_0x2bcacc._0x29adcf)]+0x1)+':'+(_0x59b415['character']+0x1);})[_0x5d87a5(-0x47,_0x499ef8._0x4f1190,0x1c4,_0x499ef8._0x2dcdfb)]('\x0a');}function isDocumentSymbol(_0x122293){const _0x1f49a1={_0x3dbb7b:0x7b,_0x58d024:0x143,_0x4dbefb:0x5f,_0x2aad6d:0x25d,_0x5e0bc2:0x7c},_0x59dd19={_0x3a1a14:0x176},_0x48bbfa={_0x44cfe0:0x1ed,_0x427809:0x270,_0x5746bc:0x142};function _0x4bda48(_0x2811e2,_0x3f657b,_0x4f3cf1,_0x19d0c3){return _0x4d40c0(_0x2811e2-_0x48bbfa._0x44cfe0,_0x19d0c3-_0x48bbfa._0x427809,_0x4f3cf1-_0x48bbfa._0x5746bc,_0x4f3cf1);}function _0x3fc66d(_0x3f2ef9,_0x319f2e,_0x50e671,_0x1b1ec1){return _0x4d40c0(_0x3f2ef9-_0x59dd19._0x3a1a14,_0x3f2ef9-0x22d,_0x50e671-0xac,_0x50e671);}return _0x4bda48(-_0x1f49a1._0x3dbb7b,_0x1f49a1._0x58d024,0xc2,_0x1f49a1._0x4dbefb)in _0x122293&&_0x4bda48(_0x1f49a1._0x2aad6d,0xee,_0x1f49a1._0x5e0bc2,0x1c4)in _0x122293;}function formatSymbols(_0x53041a){const _0x300d9e={_0x2a3887:0x1e6,_0x4d41bc:0x2c1,_0x46545f:0x381,_0x121153:0x3cd,_0x304ca2:0x492,_0x36b806:0x45e,_0x3ff4b6:0x443,_0x1b5aff:0x56c,_0x33f1d6:0x296},_0x574ba4={_0x32ecb1:0x40f,_0x294833:0x599,_0x5d762a:0x333,_0x183b6b:0x526,_0x20ad3c:0x440,_0x457a9c:0x41c,_0xfb8b15:0x3e7,_0x5f1daf:0x6ec,_0x5e4d51:0x4d3,_0x2a6e4f:0x5b6,_0x55dda1:0x47a,_0xd77e50:0x4e1,_0x14c351:0x44b,_0x1f7532:0x4c6,_0x185ff6:0x543,_0x29580d:0x523,_0x1ae7c1:0x565,_0x3a94ab:0x5dc,_0x57f96d:0x6ce,_0x53e956:0x785,_0x555bcc:0x654,_0x10eb1e:0x56f,_0xef0333:0x5cd,_0x2edb7a:0x534,_0x1966f4:0x4c8},_0x35c808={_0x1822ae:0x76,_0x28199d:0x33a},_0xeba282={_0x51da7e:0x222,_0xfc4d92:0x12a,_0x23c4cd:0xb6},_0x59bcd6={_0x344649:0x22,_0x9c189c:0x437},_0x39f841={_0xd5f6de:0x10a};function _0x2f7f13(_0x983ad2,_0x282766,_0x50da5d,_0x2eadb6){return _0x4d40c0(_0x983ad2-0x136,_0x282766-0x2be,_0x50da5d-_0x39f841._0xd5f6de,_0x50da5d);}function _0x518552(_0x2faf84,_0x4af090,_0x20f3c7,_0x4140c0){return _0x4d40c0(_0x2faf84-_0x59bcd6._0x344649,_0x2faf84-_0x59bcd6._0x9c189c,_0x20f3c7-0x8,_0x4af090);}if(_0x53041a[_0x2f7f13(_0x300d9e._0x2a3887,0x1fe,_0x300d9e._0x4d41bc,0x274)]===0x0)return _0x518552(_0x300d9e._0x46545f,_0x300d9e._0x121153,_0x300d9e._0x304ca2,_0x300d9e._0x36b806);return _0x53041a[_0x518552(_0x300d9e._0x3ff4b6,0x2f4,0x36e,_0x300d9e._0x1b5aff)](_0xa516fe=>{if(isDocumentSymbol(_0xa516fe))return _0xa516fe['name']+'\x20('+_0xa516fe[_0x4d503c(0x4f3,_0x574ba4._0x32ecb1,_0x574ba4._0x294833,0x4cc)]+_0x6471f4(_0x574ba4._0x5d762a,_0x574ba4._0x183b6b,_0x574ba4._0x20ad3c,_0x574ba4._0x457a9c)+(_0xa516fe[_0x4d503c(_0x574ba4._0xfb8b15,0x2b3,0x3d8,0x383)][_0x6471f4(0x64a,0x4eb,0x654,_0x574ba4._0x5f1daf)]['line']+0x1)+':'+(_0xa516fe[_0x4d503c(_0x574ba4._0xfb8b15,0x3c7,0x432,0x31c)]['start'][_0x4d503c(_0x574ba4._0x5e4d51,0x5f7,0x4a8,0x4ae)]+0x1)+']';function _0x6471f4(_0x2533f6,_0xd86a15,_0x2bd78b,_0x22af25){return _0x518552(_0x2bd78b-_0xeba282._0x51da7e,_0x22af25,_0x2bd78b-_0xeba282._0xfc4d92,_0x22af25-_0xeba282._0x23c4cd);}function _0x4d503c(_0x41bb08,_0x41ceb0,_0x38a362,_0x7c4c73){return _0x2f7f13(_0x41bb08-_0x35c808._0x1822ae,_0x41bb08-_0x35c808._0x28199d,_0x38a362,_0x7c4c73-0x9c);}return _0xa516fe['name']+'\x20('+_0xa516fe[_0x4d503c(0x4f3,_0x574ba4._0x2a6e4f,0x3d1,0x4ff)]+')\x20'+locationPath(_0xa516fe[_0x4d503c(0x49b,0x574,_0x574ba4._0x55dda1,0x447)]['uri'])+':'+(_0xa516fe[_0x4d503c(0x49b,_0x574ba4._0xd77e50,0x4e1,0x362)][_0x6471f4(0x2fa,0x31b,0x448,_0x574ba4._0x14c351)][_0x4d503c(0x5f3,_0x574ba4._0x1f7532,_0x574ba4._0x185ff6,0x743)][_0x6471f4(0x4cd,0x3c5,_0x574ba4._0x29580d,0x615)]+0x1)+':'+(_0xa516fe[_0x4d503c(0x49b,0x466,_0x574ba4._0x1ae7c1,_0x574ba4._0x3a94ab)]['range'][_0x6471f4(_0x574ba4._0x57f96d,_0x574ba4._0x53e956,_0x574ba4._0x555bcc,0x7ad)][_0x6471f4(_0x574ba4._0x10eb1e,_0x574ba4._0xef0333,_0x574ba4._0x2edb7a,_0x574ba4._0x1966f4)]+0x1);})[_0x2f7f13(_0x300d9e._0x33f1d6,0x2e3,0x39c,0x3a8)]('\x0a');}function formatDiagnostics(_0x4298d9){const _0x103209={_0xe706d1:0x5e5,_0x3eb561:0x6de,_0x815294:0x426,_0x374881:0x523,_0x285510:0x696,_0x383c6c:0x555,_0x510d42:0x620,_0x5996c5:0x593},_0x203b8b={_0x14ee58:0x1bb,_0x2a9de9:0x89,_0x59a4ab:0x53,_0x27cb9c:0x357,_0x3c493c:0x3c7,_0x26ce7b:0x3f1,_0x4c2b32:0x2b9,_0x446701:0x11e,_0x24277b:0x141,_0x3b2c1a:0x24e,_0x4db99d:0x2d1},_0x163ebd={_0x3e2e9f:0xab},_0x5a5370={_0x35e91d:0xb9};if(_0x4298d9[_0x53dfcd(0x49f,0x5ca,_0x103209._0xe706d1,_0x103209._0x3eb561)]===0x0)return _0x34052b(_0x103209._0x815294,0x2fb,0x482,0x3a0);function _0x53dfcd(_0x72d486,_0x5dc4a2,_0x45ed0e,_0x57a974){return _0x4d40c0(_0x72d486-0x1f2,_0x5dc4a2-0x68a,_0x45ed0e-_0x5a5370._0x35e91d,_0x45ed0e);}function _0x34052b(_0x463c88,_0xc77919,_0x349be4,_0x235efa){return _0x4d40c0(_0x463c88-0x119,_0x463c88-0x66d,_0x349be4-_0x163ebd._0x3e2e9f,_0x235efa);}return _0x4298d9[_0x53dfcd(_0x103209._0x374881,0x696,0x7bb,_0x103209._0x285510)](_0x26bb96=>{const _0x54a2ed=_0x26bb96[_0x4c8376(0x8b,_0x203b8b._0x14ee58,_0x203b8b._0x2a9de9,_0x203b8b._0x59a4ab)][_0x4c8376(_0x203b8b._0x27cb9c,_0x203b8b._0x3c493c,_0x203b8b._0x26ce7b,_0x203b8b._0x4c2b32)];function _0x141c5e(_0x160aef,_0x5bf58d,_0xf76163,_0x237da4){return _0x53dfcd(_0x160aef-0x19a,_0x160aef- -0x706,_0x237da4,_0x237da4-0x102);}function _0x4c8376(_0x45a610,_0x54d58e,_0x4ded51,_0x59803b){return _0x53dfcd(_0x45a610-0x135,_0x54d58e- -0x2be,_0x4ded51,_0x59803b-0x1c6);}return severityName(_0x26bb96[_0x141c5e(-_0x203b8b._0x446701,-_0x203b8b._0x24277b,-0x1f2,-_0x203b8b._0x3b2c1a)])+'\x20['+(_0x54a2ed[_0x4c8376(_0x203b8b._0x4db99d,0x296,0x237,0x2e7)]+0x1)+':'+(_0x54a2ed['character']+0x1)+']\x20'+_0x26bb96['message'];})[_0x34052b(0x692,_0x103209._0x383c6c,_0x103209._0x510d42,_0x103209._0x5996c5)]('\x0a');}function formatIncomingCalls(_0x447cfc){const _0x389b86={_0x436efd:0x20d,_0x31ea14:0x25c,_0x2001d0:0x23a,_0x2458f1:0x2f,_0x249487:0x24b,_0x56dfdc:0x2cf,_0x3038f3:0x16c},_0x5a4d1a={_0x22877e:0x103,_0x847f82:0x32},_0x928584={_0x3ae88b:0x196,_0x53ca81:0xc1};function _0x529956(_0x364c86,_0x3e6e77,_0x1662a0,_0x5c8387){return _0xf90728(_0x3e6e77,_0x3e6e77-_0x928584._0x3ae88b,_0x364c86- -0x1c0,_0x5c8387-_0x928584._0x53ca81);}if(_0x447cfc[_0x39e8c4(0x17f,_0x389b86._0x436efd,0x2ea,0x2a1)]===0x0)return _0x529956(-0x14a,-_0x389b86._0x31ea14,-_0x389b86._0x2001d0,-_0x389b86._0x2458f1);function _0x39e8c4(_0x40dcc7,_0x308564,_0x434896,_0xbff325){return _0x4d40c0(_0x40dcc7-_0x5a4d1a._0x22877e,_0x40dcc7-0x23f,_0x434896-_0x5a4d1a._0x847f82,_0xbff325);}return _0x447cfc[_0x39e8c4(_0x389b86._0x249487,0xec,_0x389b86._0x56dfdc,0x20d)](_0x5ee677=>_0x5ee677[_0x529956(-0x26a,-0x2a2,-0x2e0,-0x3ba)][_0x529956(-0x281,-0x3ab,-0x15a,-0x164)])[_0x39e8c4(0x264,0x213,0x241,_0x389b86._0x3038f3)]('\x0a');}function formatOutgoingCalls(_0x17667e){const _0x259058={_0x53b939:0x3d4,_0x15700c:0x56e,_0x2c6ff0:0x527,_0x2bf75e:0x674},_0x19c942={_0x8810a3:0x120,_0x739669:0x45d};function _0x48ce49(_0x63f840,_0x5da238,_0x119861,_0x17236d){return _0x4d40c0(_0x63f840-0x88,_0x5da238-0x576,_0x119861-0x3f,_0x119861);}function _0x434162(_0x4fe3d9,_0x555758,_0x339be1,_0x2a8d02){return _0xf90728(_0x555758,_0x555758-_0x19c942._0x8810a3,_0x339be1-_0x19c942._0x739669,_0x2a8d02-0x57);}if(_0x17667e[_0x434162(0x468,_0x259058._0x53b939,0x4e3,0x476)]===0x0)return'No\x20call\x20hierarchy\x20results';return _0x17667e[_0x434162(_0x259058._0x15700c,_0x259058._0x2c6ff0,0x5af,_0x259058._0x2bf75e)](_0x1ca8b4=>_0x1ca8b4['to'][_0x48ce49(0x258,0x36f,0x4a3,0x338)])['join']('\x0a');}function toStructured(_0x7b92b8){const _0x1b8dd4={_0x4eaa4a:0x5b9,_0x384c0a:0x634,_0x39116c:0x592,_0x1d79de:0x44a,_0x3005f0:0x44f,_0x25e5e2:0x4fe},_0x54c9a3={_0x2310af:0xc2},_0x3c90d8={_0x215c73:0xbb,_0x2a4930:0x419,_0x581d28:0x14e};function _0x39cdcd(_0x1db9ee,_0x1e7392,_0x4d451e,_0x276ab4){return _0xf90728(_0x1e7392,_0x1e7392-_0x3c90d8._0x215c73,_0x276ab4-_0x3c90d8._0x2a4930,_0x276ab4-_0x3c90d8._0x581d28);}function _0x5023d6(_0x1db9c6,_0x704de8,_0x1a5ef2,_0x52a230){return _0xf90728(_0x52a230,_0x704de8-_0x54c9a3._0x2310af,_0x1db9c6-0x306,_0x52a230-0x180);}return JSON[_0x39cdcd(_0x1b8dd4._0x4eaa4a,_0x1b8dd4._0x384c0a,_0x1b8dd4._0x39116c,0x4bc)](JSON[_0x39cdcd(0x5af,_0x1b8dd4._0x1d79de,_0x1b8dd4._0x3005f0,_0x1b8dd4._0x25e5e2)](_0x7b92b8));}async function assertFile(_0x7cb0d9){const _0x19ff15={_0x20241f:0x2a7,_0x45280d:0xa4,_0x58b68a:0xb9},_0x1dc37={_0x2e4b9c:0x100,_0x32c98c:0x1f2},_0x414766={_0x4e6695:0xfb};function _0x3f4b00(_0x2f8778,_0x5a5b58,_0xaa2eef,_0x152255){return _0xf90728(_0xaa2eef,_0x5a5b58-0x1f1,_0x5a5b58- -0x59,_0x152255-_0x414766._0x4e6695);}function _0x2fe8a5(_0x26d426,_0x464387,_0x51747e,_0x2a6203){return _0x4d40c0(_0x26d426-_0x1dc37._0x2e4b9c,_0x464387-0x4db,_0x51747e-_0x1dc37._0x32c98c,_0x26d426);}const _0x4d1cf0=await _0x3f7604(_0x7cb0d9);if(!_0x4d1cf0[_0x2fe8a5(0x3e7,0x286,0x128,_0x19ff15._0x20241f)]())throw new ToolExecutionError(_0x3f4b00(0x156,_0x19ff15._0x45280d,0x7e,_0x19ff15._0x58b68a)+_0x7cb0d9,{'path':_0x7cb0d9});}function validatePosition(_0x1a3a78,_0x15d638){const _0x294711={_0x44dd87:0x1f2,_0x3534f3:0x561,_0x966c22:0x69b,_0x2dc5fe:0x66c},_0xbf4cfe={_0xe61bf3:0x310,_0x1ad4ca:0x33},_0x3d3109={_0x579e3b:0x1b5,_0x261d08:0x5ad,_0xe15dbf:0xd5};if(!Number['isInteger'](_0x1a3a78)||_0x1a3a78<0x1)throw new ToolExecutionError(_0x352233(0x1ba,0x1f5,0x263,0x1e3),{'line':_0x1a3a78});function _0x4440f5(_0x29df06,_0x6966c8,_0xcce970,_0x446ccc){return _0xf90728(_0x6966c8,_0x6966c8-_0x3d3109._0x579e3b,_0x29df06-_0x3d3109._0x261d08,_0x446ccc-_0x3d3109._0xe15dbf);}function _0x352233(_0x1f93be,_0x15444d,_0x6309e2,_0x202fff){return _0xf90728(_0x202fff,_0x15444d-0x1d7,_0x15444d-_0xbf4cfe._0xe61bf3,_0x202fff-_0xbf4cfe._0x1ad4ca);}if(!Number[_0x352233(0x26f,0x25e,_0x294711._0x44dd87,0xef)](_0x15d638)||_0x15d638<0x1)throw new ToolExecutionError(_0x4440f5(0x63a,_0x294711._0x3534f3,_0x294711._0x966c22,_0x294711._0x2dc5fe),{'character':_0x15d638});}function createLspTool(_0x3db72e={}){const _0x496283={_0x3ae607:0x2a5,_0x2a45ad:0x338,_0x574724:0x1fe,_0x4f2a9f:0xd1,_0x49983d:0x107,_0x52e989:0x24e,_0x2d3d5e:0x5a,_0x14ca24:0x77,_0x34d14b:0x29d,_0x30e46d:0x17e,_0x4e0232:0x138,_0xbf5377:0x41c,_0x35362d:0x631,_0x1ef848:0x15d,_0x588cd5:0x114,_0x4d230f:0x3f7,_0x2591a4:0x2ab,_0x11ea9f:0x474,_0x5c18f1:0x4a2,_0x355de2:0x575,_0x591794:0x5c1,_0x4a46ab:0x1a9,_0x11f2aa:0xd5,_0x579dca:0x24c,_0x540dc6:0x20,_0x20cbf5:0x30,_0x1131bf:0x15d,_0xfad7b7:0x1a9,_0x576add:0x2be,_0x38dbfd:0x222,_0x18a2fd:0x154,_0x2a569a:0x23a},_0x4f5ed7={_0x3374a6:0x109,_0x1f23e6:0x165,_0x34ca40:0x27d,_0xd01dda:0x32d,_0xcc282d:0x1d4,_0x28c374:0x16b,_0xbef71d:0x78,_0x4644b6:0xca,_0x1b6c8f:0x68,_0x59955d:0x165,_0x4c624a:0x171,_0x2098e7:0x12b,_0x48c073:0x24c,_0x307c69:0x17e,_0x447b89:0x294,_0x329e4f:0xb7,_0x4b06e4:0x1aa,_0x3124b0:0x168,_0x494a81:0xae,_0x2464fb:0xbf,_0x19c515:0xae,_0x45d013:0xef,_0x2c1baf:0x1d2,_0x42f9c0:0x1fb,_0x14952c:0x1f2,_0x53899e:0x261,_0x5bb491:0x1ba,_0x610af2:0x37a,_0x48b957:0x159,_0x19b45e:0x1b,_0x4420e7:0x96,_0x403531:0x138,_0x6bfe47:0x52,_0x36bf41:0x10a,_0x28b551:0xc0,_0x39ce40:0xf1,_0x2bae20:0x14,_0xc9dbc9:0x1ab,_0x251fb9:0x112,_0x263c1f:0xcf,_0x5a811d:0xe5,_0x403cd1:0x9d,_0x5c5f98:0x23f,_0x484af2:0x1de,_0x3e55f1:0x26b,_0xad5b01:0x3c9,_0x2f65e6:0x2e9,_0x558255:0x1a1,_0xc8fdde:0xd1,_0x1bac9c:0xf0,_0x141a17:0x14e,_0x23201e:0x128,_0x13dca3:0x103,_0x307afa:0x3,_0x598f0b:0x222},_0x286e12={_0x578bee:0x174},_0x28e186={_0x4f8b7d:0x3,_0x2d4df8:0x538,_0x52c2b3:0xbd},_0xda5e95={_0x53d657:0x279,_0x198fe1:0x162};function _0x226624(_0x26bb36,_0x1a6ffc,_0xa590b5,_0x44006b){return _0x4d40c0(_0x26bb36-0x74,_0xa590b5-_0xda5e95._0x53d657,_0xa590b5-_0xda5e95._0x198fe1,_0x44006b);}const _0xced839=_0x3a6466[_0x2303a4(_0x496283._0x3ae607,0x362,_0x496283._0x2a45ad,0x45b)](_0x3db72e[_0x226624(_0x496283._0x574724,0x195,_0x496283._0x4f2a9f,_0x496283._0x49983d)]??process[_0x226624(0x100,0x285,0x183,_0x496283._0x52e989)]()),_0x23ec29=_0x3db72e['allowedDirs']??[];function _0x2303a4(_0x99e38e,_0x16cd6d,_0x38108c,_0x299c10){return _0x4d40c0(_0x99e38e-_0x28e186._0x4f8b7d,_0x16cd6d-_0x28e186._0x2d4df8,_0x38108c-_0x28e186._0x52c2b3,_0x99e38e);}const _0x1368e1=_0x3db72e[_0x226624(0xbf,_0x496283._0x2d3d5e,0x72,_0x496283._0x14ca24)]??'Lsp';return defineTool({'name':_0x1368e1,'description':_0x2303a4(0x2d5,_0x496283._0x34d14b,_0x496283._0x30e46d,_0x496283._0x4e0232),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x2303a4(0x3b1,_0x496283._0xbf5377,0x315,0x478),'enum':[_0x2303a4(0x40c,0x4d5,0x3f7,_0x496283._0x35362d),_0x2303a4(0x3f5,0x435,0x3a0,0x4f7),'hover',_0x226624(_0x496283._0x1ef848,-0x59,0x1b,-_0x496283._0x588cd5),_0x2303a4(0x3b0,0x39b,_0x496283._0x4d230f,_0x496283._0x2591a4),'goToImplementation',_0x2303a4(0x558,_0x496283._0x11ea9f,_0x496283._0x2a45ad,0x3a3),_0x2303a4(0x558,_0x496283._0x5c18f1,_0x496283._0x355de2,_0x496283._0x591794),_0x2303a4(0x39f,0x323,0x20a,0x2cf),'diagnostics']},'filePath':{'type':_0x226624(_0x496283._0x4a46ab,_0x496283._0x11f2aa,0x15d,_0x496283._0x579dca)},'line':{'type':_0x226624(0xe9,_0x496283._0x540dc6,-_0x496283._0x20cbf5,-0x10a)},'character':{'type':'number'},'query':{'type':_0x226624(0x162,0x19a,_0x496283._0x1131bf,0x1)}},'required':[_0x2303a4(_0x496283._0xfad7b7,_0x496283._0x576add,0x407,0x298),_0x226624(_0x496283._0x38dbfd,0x1d8,0x1e9,0x7f),'line',_0x226624(0x27e,0x9a,_0x496283._0x18a2fd,_0x496283._0x2a569a)]},async *'execute'(_0x41c819){const _0x2c5190={_0x2d186c:0x326,_0x231466:0xf3,_0x1754aa:0x20};function _0x49c261(_0x95f06e,_0x290488,_0x5cc931,_0x540ead){return _0x2303a4(_0x5cc931,_0x95f06e- -_0x2c5190._0x2d186c,_0x5cc931-_0x2c5190._0x231466,_0x540ead-_0x2c5190._0x1754aa);}function _0x12097b(_0x95927e,_0x360af7,_0x4c8646,_0x15360b){return _0x2303a4(_0x15360b,_0x360af7- -0x545,_0x4c8646-0xb2,_0x15360b-_0x286e12._0x578bee);}const _0x106cd6=_0x3db72e[_0x12097b(-_0x4f5ed7._0x3374a6,-0x198,-_0x4f5ed7._0x1f23e6,-_0x4f5ed7._0x34ca40)];if(!_0x106cd6)throw new ToolExecutionError(_0x12097b(-_0x4f5ed7._0xd01dda,-_0x4f5ed7._0xcc282d,-0xac,-_0x4f5ed7._0x28c374));if(!_0x106cd6['isEnabled']())throw new ToolExecutionError(_0x12097b(-0xe2,-0xf4,-_0x4f5ed7._0xbef71d,-_0x4f5ed7._0x4644b6));const _0x171895=_0x41c819[_0x49c261(-_0x4f5ed7._0x1b6c8f,0x67,-_0x4f5ed7._0x59955d,-0xc5)];validatePosition(_0x41c819['line'],_0x41c819['character']);if(_0x171895==='workspaceSymbol'){if(!_0x41c819[_0x49c261(_0x4f5ed7._0x4c624a,0x1b7,_0x4f5ed7._0x2098e7,_0x4f5ed7._0x48c073)]?.['trim']())throw new ToolExecutionError(_0x49c261(_0x4f5ed7._0x307c69,0xb9,0x26e,_0x4f5ed7._0x447b89));const _0x4266ad=await _0x106cd6[_0x12097b(-_0x4f5ed7._0x329e4f,-_0x4f5ed7._0x4b06e4,-0x2e7,-_0x4f5ed7._0x3124b0)](_0x41c819[_0x12097b(0x41,-_0x4f5ed7._0x494a81,0x63,0x53)][_0x49c261(_0x4f5ed7._0x2464fb,0x232,-0x91,_0x4f5ed7._0x4b06e4)]());return yield createToolOutput(formatSymbols(_0x4266ad),{'operation':_0x171895,'query':_0x41c819[_0x12097b(-0x1ab,-_0x4f5ed7._0x19c515,-_0x4f5ed7._0x45d013,0x7)],'symbols':_0x4266ad}),void 0x0;}const _0x53d835=resolveAllowedPath(_0xced839,_0x23ec29,_0x41c819[_0x49c261(0x182,0x16f,0x2f7,_0x4f5ed7._0x2c1baf)]);await assertFile(_0x53d835);if(!await _0x106cd6[_0x49c261(_0x4f5ed7._0x42f9c0,0xf7,0x1b8,0x26b)](_0x53d835))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x41c819['filePath'],{'filePath':_0x41c819['filePath']});await _0x106cd6[_0x49c261(_0x4f5ed7._0x14952c,_0x4f5ed7._0x53899e,0x112,0x18c)](_0x53d835,!![]);const _0xf21181={'file':_0x53d835,'line':_0x41c819[_0x12097b(-0xd1,-0x143,0x2e,-0x113)]-0x1,'character':_0x41c819[_0x12097b(-0x1e3,-0x132,-_0x4f5ed7._0x5bb491,-0x20a)]-0x1};switch(_0x171895){case _0x49c261(0x227,_0x4f5ed7._0x610af2,0x2ad,_0x4f5ed7._0x48b957):{const _0x817c07=await _0x106cd6[_0x49c261(0x227,0x104,0x215,0x305)](_0xf21181);return yield createToolOutput(formatHover(_0x817c07),{'operation':_0x171895,'filePath':_0x53d835,'hover':_0x817c07}),void 0x0;}case _0x12097b(-0x161,-_0x4f5ed7._0x19b45e,_0x4f5ed7._0x4420e7,_0x4f5ed7._0x403531):{const _0x43365a=await _0x106cd6[_0x49c261(-_0x4f5ed7._0x6bfe47,-0x9e,0x3f,-_0x4f5ed7._0x36bf41)](_0x53d835);return yield createToolOutput(formatDiagnostics(_0x43365a),{'operation':_0x171895,'filePath':_0x53d835,'diagnostics':_0x43365a}),void 0x0;}case _0x12097b(-_0x4f5ed7._0x28b551,-0x70,_0x4f5ed7._0x39ce40,-0xd0):{const _0x2bf587=await _0x106cd6['definition'](_0xf21181);return yield createToolOutput(formatLocations(_0x2bf587),{'operation':_0x171895,'filePath':_0x53d835,'locations':_0x2bf587}),void 0x0;}case _0x49c261(0x10f,0x18c,-0x1d,_0x4f5ed7._0x2bae20):{const _0x26665c=await _0x106cd6[_0x12097b(-_0x4f5ed7._0xc9dbc9,-0x40,0x8a,-_0x4f5ed7._0x251fb9)](_0xf21181);return yield createToolOutput(formatLocations(_0x26665c),{'operation':_0x171895,'filePath':_0x53d835,'locations':_0x26665c}),void 0x0;}case _0x49c261(0x89,-0x3,0xbf,_0x4f5ed7._0x263c1f):{const _0x7d8951=await _0x106cd6[_0x49c261(_0x4f5ed7._0x5a811d,_0x4f5ed7._0x403cd1,-0x2d,_0x4f5ed7._0x5c5f98)](_0xf21181);return yield createToolOutput(formatLocations(_0x7d8951),{'operation':_0x171895,'filePath':_0x53d835,'locations':_0x7d8951}),void 0x0;}case _0x12097b(-0x1b1,-0x26b,-0x232,-_0x4f5ed7._0x484af2):{const _0x41d52a=await _0x106cd6[_0x12097b(-0x289,-_0x4f5ed7._0x3e55f1,-_0x4f5ed7._0xad5b01,-_0x4f5ed7._0x2f65e6)](_0x53d835);return yield createToolOutput(formatSymbols(_0x41d52a),{'operation':_0x171895,'filePath':_0x53d835,'symbols':_0x41d52a}),void 0x0;}case _0x12097b(-_0x4f5ed7._0x558255,-_0x4f5ed7._0xc8fdde,-0xc7,-_0x4f5ed7._0x1bac9c):{const _0x2f8e35=await _0x106cd6[_0x49c261(_0x4f5ed7._0x141a17,_0x4f5ed7._0x23201e,0xc8,_0x4f5ed7._0x13dca3)](_0xf21181);return yield createToolOutput(formatSymbols(_0x2f8e35),{'operation':_0x171895,'filePath':_0x53d835,'symbols':toStructured(_0x2f8e35)}),void 0x0;}case'incomingCalls':{const _0x26e6e0=await _0x106cd6[_0x12097b(-0x8,-0xa3,0x61,-0x18e)](_0xf21181);return yield createToolOutput(formatIncomingCalls(_0x26e6e0),{'operation':_0x171895,'filePath':_0x53d835,'calls':toStructured(_0x26e6e0)}),void 0x0;}case _0x49c261(-_0x4f5ed7._0x307afa,-0x12b,-0xd2,-0x13a):{const _0x2f728f=await _0x106cd6[_0x12097b(-0x371,-_0x4f5ed7._0x598f0b,-0x28e,-0x269)](_0xf21181);return yield createToolOutput(formatOutgoingCalls(_0x2f728f),{'operation':_0x171895,'filePath':_0x53d835,'calls':toStructured(_0x2f728f)}),void 0x0;}}}});}import{randomUUID as _0xc325aa}from'crypto';import{mkdir as _0x41bfad,readFile as _0x598d96,writeFile as _0x6d7f72}from'fs/promises';import{join as _0x27bce9}from'path';function sanitizeStorageKey(_0x5eb0ab){const _0x2f0209={_0x5489a9:0x39,_0x205e7e:0x88,_0x2b96da:0xc1,_0x353d19:0x4aa,_0x4e3aee:0x413},_0x2228c1={_0x38eb9d:0x85},_0x4ca670={_0x267348:0x1a,_0x358644:0x451};function _0x36df2f(_0x5d585f,_0x2f59e2,_0xc6fd5b,_0x18cb13){return _0x4d40c0(_0x5d585f-_0x4ca670._0x267348,_0x18cb13-_0x4ca670._0x358644,_0xc6fd5b-0xc,_0x2f59e2);}function _0x148b99(_0x5b4ae5,_0x247b14,_0x27f735,_0x372253){return _0x4d40c0(_0x5b4ae5-_0x2228c1._0x38eb9d,_0x5b4ae5-0x1e4,_0x27f735-0xc,_0x27f735);}return _0x5eb0ab[_0x148b99(-_0x2f0209._0x5489a9,_0x2f0209._0x205e7e,-0x9c,_0x2f0209._0x2b96da)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x36df2f(0x4b7,_0x2f0209._0x353d19,_0x2f0209._0x4e3aee,0x44f);}function storagePath(_0x31df66){const _0x43c294={_0x2d4762:0x4ea,_0x5a9b7c:0xdb,_0x204e99:0x146,_0x4cc360:0x7b,_0x5541d6:0x5c2,_0x294e80:0x13a,_0x110e0c:0x1aa,_0x3dac01:0x254},_0x186e00={_0x475609:0x91,_0x3c9c81:0x70e},_0x82f59b={_0x2964d4:0x73};function _0x552743(_0x2fa557,_0x5cfffc,_0x4ba096,_0x3d724a){return _0xf90728(_0x3d724a,_0x5cfffc-0x38,_0x4ba096-_0x82f59b._0x2964d4,_0x3d724a-0x1d2);}function _0x438019(_0xdfc63,_0x507696,_0x26d3c0,_0x30b641){return _0x4d40c0(_0xdfc63-_0x186e00._0x475609,_0x507696-_0x186e00._0x3c9c81,_0x26d3c0-0xae,_0xdfc63);}const _0x99a7eb=sanitizeStorageKey(_0x31df66[_0x438019(0x48c,_0x43c294._0x2d4762,0x3ab,0x3a7)][_0x552743(_0x43c294._0x5a9b7c,0x4e,0xf7,0x1e9)]?.['tokenStorageKey']??_0x31df66[_0x552743(_0x43c294._0x204e99,0x38,0x67,_0x43c294._0x4cc360)]);return _0x27bce9(_0x31df66[_0x438019(0x6ea,0x66f,0x652,_0x43c294._0x5541d6)],_0x99a7eb+_0x552743(0x90,_0x43c294._0x294e80,_0x43c294._0x110e0c,_0x43c294._0x3dac01));}async function readStore(_0x387660){const _0x20f7f9={_0x1b1d4a:0x7b,_0x42491c:0x39,_0x3e416f:0x121,_0x4aaf4b:0x11e,_0x3f5696:0xc,_0x241dd5:0x631,_0x1357dd:0x69f,_0x59b2df:0x346,_0x45ffa4:0x1d0,_0x1205cc:0x1ce},_0x1411c5={_0xce9649:0x130,_0x22d95e:0x4c},_0x3567ba={_0x48c77e:0x55,_0x5533aa:0x6a3};function _0x230a6d(_0x56be92,_0x216600,_0x2125d3,_0x8d5aba){return _0x4d40c0(_0x56be92-_0x3567ba._0x48c77e,_0x2125d3-_0x3567ba._0x5533aa,_0x2125d3-0x32,_0x216600);}function _0x881994(_0x20897f,_0x2a1b75,_0x2f68be,_0x3ec6c5){return _0xf90728(_0x2f68be,_0x2a1b75-0xad,_0x3ec6c5- -_0x1411c5._0xce9649,_0x3ec6c5-_0x1411c5._0x22d95e);}try{return JSON[_0x881994(-_0x20f7f9._0x1b1d4a,-_0x20f7f9._0x42491c,-_0x20f7f9._0x3e416f,-0x8d)](await _0x598d96(_0x387660,_0x881994(-_0x20f7f9._0x4aaf4b,0x136,-_0x20f7f9._0x3f5696,0x41)));}catch(_0xd0d747){if(_0xd0d747 instanceof Error&&_0x230a6d(_0x20f7f9._0x241dd5,0x7bb,_0x20f7f9._0x1357dd,0x6fd)in _0xd0d747&&_0xd0d747[_0x230a6d(0x743,0x551,_0x20f7f9._0x1357dd,0x538)]===_0x881994(-_0x20f7f9._0x59b2df,-0x137,-_0x20f7f9._0x45ffa4,-_0x20f7f9._0x1205cc))return{};throw _0xd0d747;}}async function writeStore(_0x24b4ab,_0x42c736){const _0x1f7cf7={_0x544867:0xfb,_0x29c2ea:0x22,_0x369a5c:0x142,_0x4b73be:0x2d,_0x2bea1e:0x2f1,_0x2d130c:0x14},_0x131307={_0x397831:0xcb,_0x361383:0x16};function _0x4f47c9(_0x26ca36,_0x5a2283,_0x5d3a6e,_0x55a469){return _0xf90728(_0x55a469,_0x5a2283-0x1d3,_0x5d3a6e-0x34d,_0x55a469-0x1b);}function _0x2426df(_0x21745f,_0x247bb6,_0x3327f4,_0x5dea9d){return _0xf90728(_0x5dea9d,_0x247bb6-_0x131307._0x397831,_0x21745f-_0x131307._0x361383,_0x5dea9d-0x33);}await _0x41bfad(_0x27bce9(_0x24b4ab,'..'),{'recursive':!![]}),await _0x6d7f72(_0x24b4ab,JSON[_0x2426df(_0x1f7cf7._0x544867,-_0x1f7cf7._0x29c2ea,_0x1f7cf7._0x369a5c,_0x1f7cf7._0x4b73be)](_0x42c736,null,0x2),_0x2426df(0x187,0x9b,_0x1f7cf7._0x2bea1e,_0x1f7cf7._0x2d130c));}async function updateStore(_0x20346a,_0x52ed61){const _0x2b8cdb=await readStore(_0x20346a);_0x52ed61(_0x2b8cdb),await writeStore(_0x20346a,_0x2b8cdb);}function createMcpOAuthProvider(_0x54af5d){const _0x5e9d5c={_0x48d235:0x97,_0x3ca365:0x19c,_0x57f791:0x4e,_0x1ffc1d:0x1e,_0xb6266a:0x221,_0x5f43a0:0x2f2,_0x2df8d1:0x19e,_0x130639:0xe0,_0x3ba781:0x92,_0x4d26aa:0xec,_0xcb5039:0x29,_0x4caa7c:0x102,_0x27e713:0xb1,_0x348ee5:0x13e,_0x64f4c3:0x97,_0x4dc2ee:0xc6,_0x2ee21e:0x145},_0x1d0eb2={_0x3283af:0x1d2,_0x31b190:0x649,_0x8a4db0:0x4e1,_0x4a1f14:0x39a,_0x21d4f9:0x2c9,_0x2620e8:0x396,_0x18eca7:0x5c0,_0xfe9b6a:0x571,_0x3f1662:0x59d,_0x51a052:0x61c,_0x453fe1:0x329},_0x5e89bd={_0x17c2fa:0x89,_0x4125a6:0x5e,_0xf47637:0x105,_0x549df2:0x4},_0x4bf8a6={_0x2f20de:0x2a,_0x1fd15f:0x19},_0x456053={_0x55a87d:0x3d,_0x3e8a14:0x118,_0x1c79bd:0x54},_0x23956b={_0x2c8ebc:0x291},_0x5beb5f={_0x298da7:0x12a,_0x3486ba:0x169,_0x3515a6:0x286,_0x24eeed:0x1da},_0x1b3685={_0x237a50:0x2b2,_0x206022:0x28b},_0x40ffbc={_0x32cf88:0x71,_0x3b569d:0x16},_0x5b9caa={_0x54049a:0x14a,_0x512dc6:0x18d,_0x49b8aa:0x137},_0x592e43={_0x292acf:0x139},_0x25e82d=storagePath(_0x54af5d);function _0x2dafeb(_0x86980b,_0x133266,_0x5cbadc,_0xf49815){return _0xf90728(_0x5cbadc,_0x133266-0x18b,_0x86980b-0x202,_0xf49815-_0x592e43._0x292acf);}function _0xc0ee62(_0x235926,_0x2a1423,_0x3b7dc8,_0x4f9b96){return _0x4d40c0(_0x235926-_0x5b9caa._0x54049a,_0x235926-_0x5b9caa._0x512dc6,_0x3b7dc8-_0x5b9caa._0x49b8aa,_0x3b7dc8);}const _0x1a5445=_0x54af5d[_0xc0ee62(-_0x5e9d5c._0x48d235,-_0x5e9d5c._0x3ca365,-0x201,_0x5e9d5c._0x57f791)][_0xc0ee62(0xcb,-_0x5e9d5c._0x1ffc1d,-0x63,0xbf)]?.[_0x2dafeb(0x379,0x35f,_0x5e9d5c._0xb6266a,_0x5e9d5c._0x5f43a0)]?.[_0xc0ee62(0x1b2,0xc7,_0x5e9d5c._0x2df8d1,0x1fa)]('\x20'),_0x3aada4={'client_name':'Nuvin','redirect_uris':[_0x54af5d['callbackUrl']],'grant_types':[_0x2dafeb(0x1e5,_0x5e9d5c._0x130639,0x24a,0x13a),_0xc0ee62(-_0x5e9d5c._0x3ba781,0x7c,-_0x5e9d5c._0x4d26aa,-0x1a7)],'response_types':[_0xc0ee62(0x189,0xdb,_0x5e9d5c._0xcb5039,0x132)],'token_endpoint_auth_method':_0xc0ee62(0x5,-_0x5e9d5c._0x4caa7c,_0x5e9d5c._0x27e713,-_0x5e9d5c._0x348ee5),..._0x1a5445?{'scope':_0x1a5445}:{}};return{'clientMetadataUrl':_0x54af5d[_0xc0ee62(-_0x5e9d5c._0x64f4c3,-_0x5e9d5c._0x4dc2ee,-_0x5e9d5c._0x2ee21e,-0x170)]['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){function _0x4fa1bc(_0x1416a4,_0x17b55a,_0x5b56df,_0x3dc360){return _0x2dafeb(_0x1416a4-0x130,_0x17b55a-_0x40ffbc._0x32cf88,_0x5b56df,_0x3dc360-_0x40ffbc._0x3b569d);}return _0x54af5d[_0x4fa1bc(0x2f2,0x1cd,_0x1b3685._0x237a50,_0x1b3685._0x206022)];},get 'clientMetadata'(){return _0x3aada4;},async 'state'(){const _0x445594={_0x4cb480:0xb,_0x1c03b0:0x16f},_0xdbeed7=await readStore(_0x25e82d);if(_0xdbeed7[_0x414bf8(_0x5beb5f._0x298da7,_0x5beb5f._0x3486ba,_0x5beb5f._0x3515a6,_0x5beb5f._0x24eeed)])return _0xdbeed7['state'];const _0x24d8f5=_0xc325aa();function _0x414bf8(_0x306a68,_0x3ef325,_0x274fd8,_0x1d4da4){return _0xc0ee62(_0x1d4da4-0x19c,_0x3ef325-_0x445594._0x4cb480,_0x3ef325,_0x1d4da4-_0x445594._0x1c03b0);}return await updateStore(_0x25e82d,_0x56b564=>{const _0x2ae7e0={_0x5984c8:0x9d};function _0x3d3b7b(_0x203e6e,_0x40b4fe,_0x126fee,_0x30516a){return _0x414bf8(_0x203e6e-0xfb,_0x30516a,_0x126fee-_0x2ae7e0._0x5984c8,_0x203e6e- -0x3d);}_0x56b564[_0x3d3b7b(0x19d,0x13e,0x137,0x1ff)]=_0x24d8f5;}),_0x24d8f5;},async 'clientInformation'(){const _0x3cd318={_0x5e8b4e:0x185};function _0x59f678(_0x4d7ef1,_0x41bd3b,_0x4de6fa,_0x2241e0){return _0xc0ee62(_0x41bd3b-0x1f2,_0x41bd3b-_0x3cd318._0x5e8b4e,_0x4de6fa,_0x2241e0-0x18b);}return(await readStore(_0x25e82d))[_0x59f678(_0x23956b._0x2c8ebc,0x1a0,0x172,0x2b3)];},async 'saveClientInformation'(_0x3b0b57){const _0x310b7e={_0x12bfeb:0x12b,_0x336b8b:0x1a};await updateStore(_0x25e82d,_0x3ad558=>{function _0x2d3eea(_0xdc2fbc,_0x3bf685,_0x1815b6,_0x5ddb9e){return _0x3eab(_0xdc2fbc- -0x3f,_0x5ddb9e);}_0x3ad558[_0x2d3eea(_0x310b7e._0x12bfeb,0x17d,-0x12,_0x310b7e._0x336b8b)]=_0x3b0b57;});},async 'tokens'(){const _0x3f60cc={_0x11715f:0xcf,_0x5a7a87:0x53};function _0x556f97(_0x2cb15a,_0x3da158,_0x268a09,_0x1f68cf){return _0xc0ee62(_0x3da158- -0x36,_0x3da158-_0x3f60cc._0x11715f,_0x2cb15a,_0x1f68cf-_0x3f60cc._0x5a7a87);}return(await readStore(_0x25e82d))[_0x556f97(-_0x456053._0x55a87d,-_0x456053._0x3e8a14,-0x99,_0x456053._0x1c79bd)];},async 'saveTokens'(_0x50e368){const _0x3a8d19={_0x85ebe6:0x1a1,_0x4df93b:0x179,_0x42b41a:0x2d3},_0x39d160={_0x2b75b9:0x27b};await updateStore(_0x25e82d,_0x5a8552=>{function _0x6919aa(_0x5b2e27,_0x3d1f61,_0x3a59aa,_0x4abafb){return _0x3eab(_0x3d1f61- -_0x39d160._0x2b75b9,_0x4abafb);}_0x5a8552[_0x6919aa(-0x2d7,-_0x3a8d19._0x85ebe6,-_0x3a8d19._0x4df93b,-_0x3a8d19._0x42b41a)]=_0x50e368;});},async 'redirectToAuthorization'(_0x549571){const _0x3c5806={_0x4a9bec:0x2f7,_0x21dc2c:0x16c,_0x5babae:0xdd};function _0x4cfcc4(_0x5374fc,_0x4b0088,_0x354ceb,_0x4cc86e){return _0x2dafeb(_0x5374fc- -_0x3c5806._0x4a9bec,_0x4b0088-_0x3c5806._0x21dc2c,_0x4cc86e,_0x4cc86e-_0x3c5806._0x5babae);}await _0x54af5d[_0x4cfcc4(0x69,0x35,_0x4bf8a6._0x2f20de,-_0x4bf8a6._0x1fd15f)](_0x549571);},async 'saveCodeVerifier'(_0x55b638){await updateStore(_0x25e82d,_0x12980b=>{const _0x4b1379={_0x3445e6:0x8c};function _0x47d89f(_0x2da798,_0x479ad4,_0x38da12,_0x335ca1){return _0x3eab(_0x2da798- -_0x4b1379._0x3445e6,_0x38da12);}_0x12980b[_0x47d89f(_0x5e89bd._0x17c2fa,-_0x5e89bd._0x4125a6,_0x5e89bd._0xf47637,-_0x5e89bd._0x549df2)]=_0x55b638;});},async 'codeVerifier'(){const _0x640fc5=(await readStore(_0x25e82d))['codeVerifier'];if(!_0x640fc5)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x640fc5;},async 'invalidateCredentials'(_0x24f13d){const _0x314595={_0x49d69b:0x377};await updateStore(_0x25e82d,_0x5ab141=>{function _0x196d1c(_0x1797aa,_0x4af9ed,_0x525cbb,_0x851de2){return _0x3eab(_0x851de2-_0x314595._0x49d69b,_0x1797aa);}function _0x3d2282(_0x570132,_0x46d1e0,_0x5e0e41,_0x2aac3f){return _0x3eab(_0x5e0e41-0x24,_0x46d1e0);}(_0x24f13d===_0x3d2282(0x334,0x3c3,0x2c9,_0x1d0eb2._0x3283af)||_0x24f13d==='client')&&(_0x5ab141[_0x196d1c(0x4ce,0x4a8,_0x1d0eb2._0x31b190,_0x1d0eb2._0x8a4db0)]=void 0x0),(_0x24f13d==='all'||_0x24f13d==='tokens')&&(_0x5ab141['tokens']=void 0x0),(_0x24f13d===_0x3d2282(_0x1d0eb2._0x4a1f14,0x3bc,_0x1d0eb2._0x21d4f9,0x3c5)||_0x24f13d===_0x3d2282(0x42f,_0x1d0eb2._0x2620e8,0x346,0x3df))&&(_0x5ab141[_0x196d1c(_0x1d0eb2._0x18eca7,0x497,0x3b3,0x48c)]=void 0x0,_0x5ab141[_0x196d1c(0x5ad,0x436,0x47a,_0x1d0eb2._0xfe9b6a)]=void 0x0),(_0x24f13d===_0x196d1c(_0x1d0eb2._0x3f1662,0x770,0x5bf,_0x1d0eb2._0x51a052)||_0x24f13d==='discovery')&&(_0x5ab141[_0x3d2282(_0x1d0eb2._0x453fe1,0x2fc,0x2f8,0x360)]=void 0x0);});},async 'saveDiscoveryState'(_0x1d0470){await updateStore(_0x25e82d,_0x5d402d=>{_0x5d402d['discoveryState']=_0x1d0470;});},async 'discoveryState'(){return(await readStore(_0x25e82d))['discoveryState'];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x9a743e,_0x3ce809){const _0x577423={_0x21f440:0x2fc},_0x1d0bad={_0x308b84:0x378};function _0x44ef90(_0x2810ae,_0x178620,_0x24d009,_0x4983bd){return _0xf90728(_0x4983bd,_0x178620-0x194,_0x24d009-0x2f5,_0x4983bd-0x149);}const _0x5c59ca=_0x554a02=>_0x554a02[_0x44ef90(0x355,0x2b5,0x21e,0x2b0)](/[^a-zA-Z0-9_]+/g,'_')[_0x44ef90(0x228,0x283,0x21e,0x1b4)](/^_+|_+$/g,'');function _0x41849e(_0x4be3cd,_0xeae59d,_0x348bc2,_0x31f36f){return _0x4d40c0(_0x4be3cd-0xcf,_0x4be3cd-_0x1d0bad._0x308b84,_0x348bc2-0x78,_0x348bc2);}return _0x41849e(0x308,_0x577423._0x21f440,0x324,0x349)+_0x5c59ca(_0x9a743e)+'_'+_0x5c59ca(_0x3ce809);}function isObject(_0xa81977){const _0x4679f0={_0x9bc5d9:0x283,_0x12456c:0x2ae},_0x406aa5={_0x114cb5:0xd9,_0x1ae6a7:0x2cd},_0x34899e={_0x435879:0x6b};function _0x3c2d0a(_0x5b3c46,_0x2549a3,_0x74db55,_0x195433){return _0xf90728(_0x74db55,_0x2549a3-_0x34899e._0x435879,_0x5b3c46-0x26a,_0x195433-0x33);}function _0x49b799(_0x5f283d,_0x1f4953,_0x4fc419,_0x1cc55f){return _0xf90728(_0x1f4953,_0x1f4953-_0x406aa5._0x114cb5,_0x5f283d-_0x406aa5._0x1ae6a7,_0x1cc55f-0x14d);}return typeof _0xa81977===_0x3c2d0a(0x2bd,_0x4679f0._0x9bc5d9,_0x4679f0._0x12456c,0x23b)&&_0xa81977!==null&&!Array[_0x3c2d0a(0x3ce,0x2fa,0x331,0x3e8)](_0xa81977);}function toSupportedSchema(_0x526ae3){const _0x47b1db={_0x4534cf:0xc7,_0x3d7822:0xb3,_0x22bc9a:0x189,_0x22e709:0x3,_0x5a78a2:0xb3,_0x25cbd6:0xa,_0x3237d9:0x1a1,_0x1dcfdd:0x5e2,_0x4f0655:0x4f4,_0x51f076:0x5c1,_0x419d88:0x277,_0x31217b:0x3e4,_0x3418f1:0x4f8,_0x44e2b2:0x389,_0x14a8d9:0x58e,_0x47115b:0x596,_0x2f9624:0x7db,_0x43879d:0x7af,_0x811af5:0x60d,_0x415652:0x66a,_0x49611e:0x6c6,_0x22e575:0x36,_0x8a7aa6:0x25,_0x45adc1:0xc,_0x1d6eb0:0x5b},_0x341efc={_0x515139:0x170},_0x1198dd={_0x25c8c1:0xea};if(!isObject(_0x526ae3))return void 0x0;function _0x2297f6(_0xfcdb05,_0x4ad348,_0x13df7f,_0x2affe8){return _0x4d40c0(_0xfcdb05-_0x1198dd._0x25c8c1,_0x13df7f-0x68d,_0x13df7f-0xe,_0x2affe8);}if(_0x526ae3['type']===_0x2930d8(_0x47b1db._0x4534cf,_0x47b1db._0x3d7822,0x100,_0x47b1db._0x22bc9a))return{'type':_0x2930d8(_0x47b1db._0x22e709,_0x47b1db._0x5a78a2,_0x47b1db._0x25cbd6,_0x47b1db._0x3237d9)};if(_0x526ae3[_0x2297f6(0x5b6,_0x47b1db._0x1dcfdd,_0x47b1db._0x4f0655,_0x47b1db._0x51f076)]===_0x2297f6(0x411,_0x47b1db._0x419d88,_0x47b1db._0x31217b,_0x47b1db._0x3418f1)||_0x526ae3['type']==='integer')return{'type':_0x2297f6(0x3f0,_0x47b1db._0x44e2b2,_0x47b1db._0x31217b,0x3ae)};function _0x2930d8(_0xa9f963,_0x2f975c,_0x3d2646,_0x4ffdd0){return _0xf90728(_0x4ffdd0,_0x2f975c-_0x341efc._0x515139,_0x2f975c-0x89,_0x4ffdd0-0x1e5);}if(_0x526ae3[_0x2297f6(_0x47b1db._0x14a8d9,_0x47b1db._0x47115b,0x4f4,0x496)]===_0x2297f6(_0x47b1db._0x2f9624,_0x47b1db._0x43879d,0x6c6,_0x47b1db._0x811af5))return{'type':_0x2297f6(_0x47b1db._0x415652,0x672,_0x47b1db._0x49611e,0x5aa)};if(_0x526ae3[_0x2930d8(0xb5,_0x47b1db._0x22e575,0x109,-0xee)]===_0x2930d8(_0x47b1db._0x8a7aa6,-_0x47b1db._0x45adc1,-0x129,0xf8))return{'type':_0x2930d8(0x7c,-0xc,-0x124,-_0x47b1db._0x1d6eb0),'items':toSupportedSchema(_0x526ae3[_0x2930d8(0xf3,0x8c,0x7c,-0xc8)])??{'type':_0x2297f6(0x6cb,0x546,0x571,0x479)}};if(_0x526ae3['type']==='object')return toNuvinToolSchema(_0x526ae3);return void 0x0;}function toNuvinToolSchema(_0x74bb4f){const _0x38c953={_0x31c9b0:0x38d,_0x2885ca:0x44d,_0x3038c6:0x462,_0x5904a8:0x59d,_0x8b4636:0x49,_0x37ae57:0xc2,_0x55f43e:0x1b2,_0x5dfd7a:0x31f,_0x2b4e31:0x463,_0x5a48a9:0x412,_0xc01eb6:0x16c,_0x973a7c:0x261,_0x2dd9ce:0x435,_0x557eec:0x5ac,_0x2ed3a3:0x93,_0x4b5405:0x42c,_0x2eba61:0x3a9,_0x4eb708:0x3ac,_0x56e17a:0x346,_0x16a71c:0x498,_0x18ac58:0x4dd,_0x7fc479:0x61a,_0x39a86d:0x4f3,_0x23280d:0x658,_0x2f2ec2:0x23,_0x182b2a:0x2e},_0x5f0cf9={_0x35e568:0x4a0,_0x10a385:0x11e},_0x126463={_0x5cd6c8:0xd7,_0x16f336:0x17b};if(!isObject(_0x74bb4f)||_0x74bb4f[_0x44a7ff(_0x38c953._0x31c9b0,_0x38c953._0x2885ca,_0x38c953._0x3038c6,_0x38c953._0x5904a8)]!==_0x29b9d7(-0x149,-_0x38c953._0x8b4636,-0xe2,-_0x38c953._0x37ae57))return{'type':_0x29b9d7(-_0x38c953._0x55f43e,0x5,-0x135,-0xc2),'properties':{}};function _0x29b9d7(_0x51b3e1,_0x3f11b5,_0x1fc1b9,_0x57a3ec){return _0x4d40c0(_0x51b3e1-_0x126463._0x5cd6c8,_0x57a3ec-0x31,_0x1fc1b9-_0x126463._0x16f336,_0x51b3e1);}function _0x44a7ff(_0x1df8dd,_0x21279b,_0x57f215,_0x14af2a){return _0xf90728(_0x14af2a,_0x21279b-0x1a1,_0x21279b-_0x5f0cf9._0x35e568,_0x14af2a-_0x5f0cf9._0x10a385);}const _0x5d5904={},_0x274696=isObject(_0x74bb4f[_0x44a7ff(_0x38c953._0x5dfd7a,_0x38c953._0x2b4e31,_0x38c953._0x5a48a9,0x37a)])?_0x74bb4f[_0x29b9d7(-_0x38c953._0xc01eb6,-0x1b1,-_0x38c953._0x973a7c,-0x152)]:{};for(const [_0x33b5bf,_0x253f78]of Object[_0x44a7ff(_0x38c953._0x2dd9ce,0x49b,0x45c,_0x38c953._0x557eec)](_0x274696)){const _0x1fd7bc=toSupportedSchema(_0x253f78);if(_0x1fd7bc)_0x5d5904[_0x33b5bf]=_0x1fd7bc;}const _0x48640e=Array[_0x29b9d7(-_0x38c953._0x2ed3a3,0x11b,0x30,0x4f)](_0x74bb4f[_0x44a7ff(0x2d5,_0x38c953._0x4b5405,_0x38c953._0x2eba61,_0x38c953._0x4eb708)])?_0x74bb4f[_0x44a7ff(_0x38c953._0x56e17a,0x42c,0x43d,0x4dc)][_0x44a7ff(0x3e2,_0x38c953._0x16a71c,0x3f6,_0x38c953._0x18ac58)](_0x4345b6=>typeof _0x4345b6===_0x44a7ff(0x4d7,0x4ca,0x599,0x620)):void 0x0;return _0x48640e?.[_0x44a7ff(_0x38c953._0x7fc479,0x526,0x49d,0x452)]?{'type':_0x44a7ff(0x410,_0x38c953._0x39a86d,0x65b,_0x38c953._0x23280d),'properties':_0x5d5904,'required':_0x48640e}:{'type':_0x29b9d7(_0x38c953._0x2f2ec2,_0x38c953._0x182b2a,-0x14d,-0xc2),'properties':_0x5d5904};}function _0x1f31(){const _0x3b7052=['tM8GC3vJAcbMAwXLoIaN','yxjNDw1LBNriAw50','Aw5JB21PBMDdywXSCW','C3bSAxq','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','zgvMyxvSDfrPBwvVDxrnCW','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','zMLSzvbHDgG','Aw5ZDhj1y3rPB25Z','yNvMzMvY','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','ywrKrxzLBNrmAxn0zw5LCG','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','AxneAxjLy3rVCNK','Dhj1BMnHDgvK','CMvJzw5JEurHExm','sw52ywXPzcbvuKWGCgfYyw1LDgvY','DxrTx2nHBxbHAwDU','zNvSzMLSBgvK','yxv0Aa','Aw1Hz2u','ig1HDgnO','y29TCgXLDgvK','u2HLBgWGBM90igzVDw5KoIa','u0Lhs0Lmta','DhnJ','B3bLBMfPlxjLC3bVBNnLCY13CW','zMLSztOVlW','y2XPzw50CW','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Aw52ywXPzf90B2rVCW','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','C2nYDwjfBNzlzxLZ','C2L6zq','zgLZy292zxj5u3rHDgu','z2XVyG','C2vZC2LVBKLK','y29UDgvUDa','ywDLBNrjza','BwnWxW','C2HLBgXqyxrO','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','BwLUAw1HEa','lMPWzW','yMCT','zgv0ywLS','y3jSzG','Dgv4DerVy3vTzw50l2rPze9Wzw4','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','r0Lusfvcx0fdq0vtu19ut0TftG','Dg9KB3ncEvnLC3nPB24','Dgf2AwX5qxbPs2v5','z29uB0rLzMLUAxrPB24','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','C3rYAw5NAwz5','DxrTx21LzgL1Bq','yMfZAwm','Aw1Hz2uVCg5N','BM9Uzq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ls1MAwXLCW','mZiXodi5Cgrztfze','CgLK','z29Vz2XLq3nLs2v5','CxvLC3rPB24T','l3vZCI9SB2nHBc9IAw4VCMC','BM9Zy3jPChq','C2LNBMfS','o1TE','zMLSzvzLCNnPB25Z','yw5ZAti1nG','l3bPza','DxjP','BgLTAxq','zg9TywLUCW','s2LSBgvKia','zMLSzq','mc4WlJa','ugf0AcbPCYbUB3qGysbMAwXLoIa','CgfYC2vjBNq','r3jLCa','Cg9W','B3bLBKzPBgvZ','BgLUAW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','BwLU','zw52','l2jPBI9IyxnO','CMvHza','DxrTx3rLCM0','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','ignOyxjZigrYB3bWzwrDcG','y2fWq2HHCNm','Bw9Kzq','s2LSBfnOzwXS','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','A2v5','C2vYDMvYCW','lNDLyNa','yMLUyxj5tMfTzq','CMvMzxjLBMnLCW','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','rMv0y2GGywjVCNrLzcbIEsb1C2vY','qMfZzsbKAxjLy3rVCNK6ia','CM91BMq','z2L0AhvI','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','mtK4lJe4lJaUma','tunqihrVB2WG','ndvAt21lvMq','Cgf0DgvYBG','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','DMvYAwzPzxi','qMvHCMvYia','C3rKzxjY','C2v0vg9KB3m','y2XPzw50','Dw5PB24','BM93','Dg91y2HgAwXL','zMLYC3q','yxnPzgu','Axnoyu4','yxnJAwK','igj5DgvZks4','yxnRvxnLCG','zgLZCg9Zzq','CMCUzxHL','AgfZq2XPzw50CW','BwvTB3j5','Dg9VBc1VDxrWDxqTB2zMBg9Hza','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','yw50AhjVCgLJ','oIbPBNzHBgLKihn0yxr1CW','Dgv4Da','Bg9JywXLq29TCgfYzq','lMPZB24','zgLHz25VC3rPy3m','zgvMAw5PDgLVBG','vg9Vig1HBNKGCMvKAxjLy3rZ','CMfUzg9T','xg5DkJ8','oIbJB250zw50ihjLCxvPCMvK','zw51Bq','C3vIyxjYyxK','Bw9KzwW','C3rHCNq','y29Kzq','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','C2vYDMvY','CMvSyxrPDMu','C3rHCNreAxi','lNbUzW','tunqihnLCNzLCIa','B3bLBG','zgf0yq','Dg9ju09tDhjPBMC','BgLUzu51Bq','zNjVBuvUDhjPzxm','lM51DMLU','zMvUy2vK','BgfZDeLUzgv4t2y','ue9tva','BwfW','C2v0','CNnZ','B2C6DxbKyxrLzf90Aw1L','v2LUr2v0','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','Dhj1zwnVBg9Y','Ag92zxi','B2zMC2v0','AhrTBfnUAxbWzxq','B25szwrPCMvJDa','zgLYBMfTzq','CMvZDwX0','AgvHzgvYCW','CNvUBMLUzW','DxnLCM5HBwu','AxnbCNjHEq','pc9ZExn0zw0TCMvTAw5Kzxi+','yMfZzty0','C291CMnL','Dgf2AwX5','w01duca','DgL0Bgu','AM9PBG','yM0Ynq','DgHPBMTPBMC','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','BgLNAhq','Aw5WDxrty2HLBwe','DxrMoa','mc4WlJaUma','AhjLzG','vMLLD2vKigLTywDLigzPBgu6ia','C29YDa','zxjYB3jZ','C2nVCgvZ','BhnW','igj5DgvZ','yxjNDw1LBNrZvgv4Da','yw5ZAte2','DhjHBNnMB3jT','y29UDgv4Da','Aw52ywXPzf90B2rVx2LK','yM9VBgvHBG','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','yMLYDgH0Aw1L','Ag9ZDg5HBwu','zxzLCNK','ls1MB2XSB3C','B3jPz2LUywW','zxHPDcbJB2rLia','y2XLyw51Ca','vMLLD0zPBgu','Dg9Rzw4','icHWAwqG','z3jVAW','CMvHC29U','BNvTyMvY','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','AgLNAa','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','ywjVCNq','y29UBMvJDa','ywrK','Bwf4qNL0zxm','zgvSzxrL','AwDUB3jL','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','yxjNCW','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','B3jPz2LUvg9VBenHBgXjza','tu9ptLnit1rFqvbjx0Tfwq','B2XKvgv4Da','zxjYB3jnzxnZywDL','qu5usfjpueLdx0fqsv9lrvK','C2HLBgXjza','igzHAwXLzc4','BgLUzxm','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','BxvSDgLtzwXLy3q','yNjVA2vU','l29WDc9OB21LyNjLDY9IAw4VCMC','AMf2yxnJCMLWDhjLywn0','sw5MB3jTyxrPB24','Dg9VBhm','uKLgrG','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vw5RBM93BIb0B29SoIa','lNrTCc4','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','lMXVzW','o1TExg5DkJ8','Aw5JBhvKzv9KB21HAw5Z','r0Lusfvcx1rps0vo','yxbWzw5K','wefjx0fqsv9lrvK','z2v0u3rHDhm','y29ZDa','lMn0CW','A2LSBgvK','C3rHCNrZv2L0Aa','B3bLCMf0Aw9U','yxnZAwDU','mJi0lJaUmc4W','l3vZCI9IAw4VyMfZAa','CgfZC3rOCM91z2G','y2f0y2G','qMfZAa','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','A2v5CW','ywjVCNrLza','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','Dg9Rzw5Z','yxbWBgLJyxrPB24VANnVBG','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Ahr0Ca','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','Aw5KzxHpzG','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','rMLSzuvKAxq','C2vUze5VDgLMAwnHDgLVBG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','zw5HyMXLza','zgLHz25VC3rPy3ngB3jgAwXL','CMvNzxG','sgLUDa','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','Bg9VA3vW','zg9JDw1LBNrtEw1IB2W','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','z2nSAwq','CgXHDgzVCM0','lNrZ','zxH0BMfTzq','ChjVy2vZCW','ywn0AxzL','C25PChbLDa','AxngAwXL','Aw5JBhvKzq','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','z2v0vg9KB3m','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Dw5RBM93BG','D2vI','D2fPDezVCKrPywDUB3n0AwnZ','CMfUAW','B2XSyw1H','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','tM8GzgLHz25VC3rPy3m','lMPZ','C3vKBW','C2nYAxb0','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','CMvTB3zLrxzLBNrmAxn0zw5LCG','w1bFxL1BxhnCu10QpW','ls1JB2X1Bw4','zxf1ywXZ','AxnfCNjVCG','BhnWlxbYB3H5','DhjPBuvUza','DhnZzxj2zxiUANm','yNvUlMXVy2S','Aw5JBhvKzxm','u2TPBgWGjW','Dg9mB3DLCKnHC2u','Ec1HCgKTA2v5','y29KzvzLCMLMAwvY','BMv3vgv4Da','zw5NAw5LCW','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Bwv0yxrHz3m','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','CMvJB3jK','Dg90ywW','yM94zwq','BNbT','BxrPBwu','mJGYnJi1tNDzswrN','lMPZB25J','CgfYzw50u2vZC2LVBKLK','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','mti3lJaUmc4W','y29UzMLN','A2LSBfjLCxvLC3rLza','Bwf0y2HLCW','Bwf4rw50CMLLCW','z2vUzxjHBa','CMvMCMvZAf90B2TLBG','zg5Zl3bYB21PC2vZ','CMvWBgfJzq','ugf0AcbUB3qGzM91BMq6ia','DxrTx2nVBNrLBNq','A2LSBa','ksbB','AxnbyNnVBhv0zq','yNvMzMvYq2HHCNm','Aw52ywXPzf90B2rVx3n0yxr1CW','B3v0z29PBMDdywXSCW','DMfSDwvZ','rMv0y2GGDgLTzwqGB3v0','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CMfUz2u','CgfJA2fNzs1SB2nRlMPZB24','z29Vz2XLlwnZzq','mtKYlJe2oc4WlJa','cGOTls0kcG','CMvZDwX0CW','ig1Z','lMPWzwC','ls1WCMvMAxG','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','BMfTzq','yMLVBwuUANnVBG','y3jLyxrLzef0','DgLTzvTKyxrLDgLTzv0','zgLYzwn0B3j5','l3vZCI9IAw4VCMC','y2HHDgDWDa','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','ie9sia','C2vHCMnOvhLWzq','CMvTB3zL','l3vZCI9IAw4VC2G','DMfSDwu','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','AxnjBNrLz2vY','DxrTx3nVDxjJzq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','ls1NBg9Ipq','DhvYBMrVD24','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','Dg9KB3m','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','zNjVBq','D2HLCMuGCMC','Dhj1BMm','C2vHCMnOugfYyw1Z','zw5NAw5L','mtaUmc4WlJa','CgfJA2fNzu5HBwu','y2XVC2u','B3bLBMfPlxjLC3bVBNnLCW','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','y2HPBgq','ru5pru5u','Cgf0Aa','w291Dhb1Dcb0CNvUy2f0zwq6ia','te9x','zxHPDa','y2XPzw50sw5MB3jTyxrPB24','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','zMXVB3i','yw5ZD2vYCW','yxjYyxK','ls1NBg9IpseUz2L0lYO','igzYB20G','ChvZAa','yMfZzw5HBwu','CMvZB2X2zq','zMXHDe1HCa','y29Uy2f0','CMvHzen1CNnVCG','C3rKB3v0rgvJB2rLCG','Dg9VBfjLC3vSDhm','yxjNDw1LBNroyw1LCW','CNvUswq','ywXSu2v0DgXLza','CxvLC3rPB24','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','AgfZ','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','BgLZDfrVB2XZ','DhvWBgu','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','v2fYBMLUzW','ygbG','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','rMLSzsb3CML0DgvUigf0ia','C2H1DgrVD25tDgfYDgvK','zxH0zw5ZAw9UCW','twLJCM9ZB2z0','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','yMvHCMvY','C3rHDhvZvgv4Da','B25oB3rPzMLJyxrPB24','CgfJA2fNzxm','CMvXDwLYzwq','C3bHD25PBMC','ienHDxnLoIa','BgLUzuvUza','ChjLChjVy2vZCW','Ahr0Chm6','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','CMvNAw9U','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','y29TBwfUzhm','vw50AxrSzwq','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','zgvLCgLUzNjH','C2XPy2u','zgvZy3jPChrPB24','C3LTBgLUAW','zgvMyxvSDen3za','yMLVBwuUANnVBMm','y2XVC2vbBgW','CgvUzgLUzW','C3jJl2fNzw50l2fNzw50lNrZ','CM9VDa','Aw1Hz2uVANbLzW','y21KlMv4zq','DxbKyxrL','nZeWnJq5zeryELvo','D3jPDgu','D29YA3nWywnLu3LTyM9S','vg9KBYa','D2LUmZi','BgfUz3vHz2u','DhLWzq','Aw5PDgLHBgL6zwq','uhjVz3jHBuzPBgvZkhG4nIK','yxr0CG','C2H1DgrVD24','y29UDgvUDhm','Dg9vChbLCKnHC2u','Aw1Hz2vZ','C3rYAxbbBNnP','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','CMLWz3jLCa','DxjS','lM10CW','BhnWu2vYDMLJzq','D29YA3nWywnLl3n5BwjVBa','z29uB0LTCgXLBwvUDgf0Aw9U','y2XPzw50x3nLy3jLDf9WB3n0','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','y2fSBgjHy2TvCMW','B3b0Aw9UywW','CgLWzq','ChjVCgvYDgLLCW','C2L0ztO','AMf2yxnJCMLWDa','ChvIBgLZAgvKqxq','Dg9tDhjPBMC','Dg90ywXqCM9KDwnLza','y29TBwfUza','Dg9VBa','y291BNrLCG','y29UDgvUDc10ExbL','qwDLBNqGCNvUia','B3b0Aw9UCW','mZzgAeLosxa','yMLVBwu','uhvIBgLZAgvKoIa','C29Tzq','Aw52ywXPzf90B2rVx3bYAw9YAxr5','Agv4','Aw1Hz2uVz2LM','nJC3ota2owLMreHKDa','B3bLBMfP','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','BgfUz18','DgvZDa','yxv0AfjLCxvPCMvK','BgLZDa','ANnVBG','AxngAw5PDgu','Cg5WBs1SB2nRlNLHBwW','t1bftKfjx0fqsv9lrvK','lcbpChrPB24G','Aw5FChjVz3jLC3m','yxv0Ag9YAxPHDgLVBL9JB2rL','AhLKCMf0zu1LDge','Dgv4DerVy3vTzw50l2HVDMvY','lMPZEa','BgL0zxjHBa','vw5HDxrOB3jPEMvKrxjYB3i','Bg9JyxrPB24','Bwv0yq','wZ0+nY04kcLD','qxzHAwXHyMXLignVBw1HBMrZoG','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','zMLUywXnzxnZywDLvgv4Da','y29UBMvJDgvK','tM8GCMvZDwX0CYbMB3vUzc4','ls1OAwrKzw4','tg9HzgvKigzYB206ia','DhjPBq','C2vYDMvYtMfTzq','sw52ywXPzcbYzwDLEdOG','C3bHD24','C3rHDgu','zMLSDgvY','Aw1Hz2uVD2vICa','zgvSzwDHDgvKlxj1BI0','zw50CMLLCW','yNvUlMXVy2TI','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','icHZDgf0Dxm6ia','DgfZA2TPBgW','C3rKzxjYrgvJB2rLCG','BwvZC2fNzq','BgLUzvn0yxj0','AxrLBxm','sfruuca','y29UDgv4DeXPBMS','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','AgfUzgXL','z29Vz2XLq3nLq3G','ohvUy1jisW','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','mtaWlJy0lJaUma','BwfYA2rVD24','y2XLyxi','BgLUzq','zMLUza','Bg9HzfnRAwXS','Bw9VBNnOB3q','Aw52ywXPzf90B3bPyW','tM8GAg92zxiGAw5MB3jTyxrPB24','Dg9WAwm','AwzYyw1L','CgfJA2fNzs5QC29U','Aw1WBgvTzw50yxrPB24','D2HPy2GGCMC','y291BNq','ChjVDg9JB2W','sw52B2TLq29TBwfUza','C3rHDhvZ','CxvLC3rPB25Z','wKfjx0fqsv9lrvK','y2HHCMfJDgvY','zMLSBa','zMLUywXnzxnZywDL','DhLWzxnJCMLWDhjLywn0','zNvUy3rPB24','Dg90ywXeCM9WCgvK','BwnFzwLK','yxbPs2v5','yxr4','C3rYAw5N','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','DgHLBG','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','zxHPDenVzgu','zhvWBgLJyxrLx3rVzg9FAwrZ','zxjYB3i','C2HPzNq','ls1YzwDLEha','BgfIzwW','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','CMvXDwvZDhm','Bwf4','mtq2otaXnKHfwNfsDG','y2vPBa','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','CgXHAw50zxH0','BxrPBwvnCW','tuvesvvn','CgXHAw4','r09pr0Xfx0ntrv9dwa','C2vUza','rM91BMqG','A2LUza','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','zMLUzfjLzMvYzw5Jzxm','ne5ZrunWwq','lMjPBG','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','ugfJA2fNzxm','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','yNL0zuXLBMD0Aa','C2vZC2LVBG','ignVBxbSzxrLzc4','ywXSB3DLzfrVB2XZ','BM9UBMvNyxrPDMu','y29UC3rYDwn0B3i','C3jJl3nOyxjLzc90ExbLCY50CW','y3DK','q291BgqGBM90ihjLC29SDMuGAg9ZDa','Dg9VBenHBgXjza','B2jQzwn0','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','zgfYAW','seLhsa','C3rKB3v0','Aw5WDxq','revfufnfruTFqvbjx0Tfwq','ls0T','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','ls1ZDgrPBW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','AxndB250zxH0','q29TBwfUzcaN','BgfUzW','uxvLC3rPB24G','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','Bwf4q29Uy3vYCMvUDa','revfueLorLjbx0fqsv9lrvK','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','mtKYlJaUmc4W','uhjVz3jHBuzPBgvZ','BgLUzvrLEhq','C3jJl2v4yw1WBgvZl2rLBw8UDhm','B25Jzq','C2TPBgXZ','C2vYDMvYswq','yxv0BW','ls1NBg9I','AwDUB3jLt3v0Chv0','y2fSBfrVB2W','DhLWzxnJCMLWDa','phn5C3rLBs1Yzw1PBMrLCJ4','y2HHCKnVzgvbDa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','qgjPB21LANmVyMLVBwu','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','DgfZAW','Aw52ywXPzf90B2rVx2nVBNrLBNq','lu5VuhjVzMLSzq','B2zM','Cgf0DgvYBIbPCYbYzxf1AxjLza','s0Lnsv9bueLFs0vz','z2v0uhjVDg90ExbLt2y','ChjLCgfYzunHBgXiAwvYyxjJAhK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','B2f1DgG','DhjHBNnMB3jTCW','BgvUz3rO','ndG0ntqWAfbuz2jA','Bg9HzenVBw1HBMq','C2fMzq','ChjPB3jPDhK','mZCZoti2BuP4wfLW','ANnJB25MAwCUANnVBG','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','rgLHz25VC3rPyW','lI4U','tM8GC3LTyM9SCYbMB3vUza','ywXSB3DLzerPCNm','BM9Kzv9TB2r1BgvZ','lMDPzG','CMvXDwvZDa','B3v0Chv0','BwvKAxvT','vxbKyxrLvg9WAwm','ChjVDg90ExbL','zw5K','C2vSzwn0Aw9UuMfUz2u','z2v0','Aw5PDgLHBgL6zq','BgLI','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','Cgf0Ag5HBwu','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','Dgv4Dc9ODg1S','ywXS','CgfYC2u','C2v2zxjPDhK','CxvLCNK','y2fSBeLK','C3rVCMfNzurPCG','Dgv4DerVy3vTzw50l2rPzenSB3nL','zMLUAxrL','Ag9ZDa','ChjVy2vZC0v4AxrLza','C2vUzfjLCxvLC3q','lMnQCW'];_0x1f31=function(){return _0x3b7052;};return _0x1f31();}function isJsonObject(_0x1bae99){const _0x23710b={_0x5ba823:0x2a9},_0x3823b3={_0x34429b:0xe6};function _0x13b3d6(_0x2fb942,_0x437138,_0x132547,_0x189bc6){return _0xf90728(_0x132547,_0x437138-0x1,_0x2fb942- -0x1e,_0x189bc6-_0x3823b3._0x34429b);}return typeof _0x1bae99==='object'&&_0x1bae99!==null&&!Array[_0x13b3d6(0x146,0x27a,_0x23710b._0x5ba823,0x105)](_0x1bae99);}function formatMcpContent(_0x155302){const _0x1d826e={_0xe7743c:0x5c7,_0x418754:0x68d,_0x3498e9:0x52d,_0x5e930c:0x6c6,_0x5dc9dc:0x55b,_0x2a91fe:0x680,_0x1f75ca:0x5fd,_0x5cff73:0x5fa,_0x148fa3:0x757},_0x55c294={_0xe1f672:0x4c,_0x56aebd:0x164},_0x2225cf={_0x13a878:0x66,_0x55466b:0x72,_0x316270:0x158,_0x347d6d:0x2ab,_0xfbeb9a:0x416,_0x80127c:0x12c,_0x45cb6:0x2b4,_0x4d8c75:0x115,_0x24abd5:0x4ff,_0x140cee:0x440},_0x37a28d={_0x3476c4:0x1f2,_0x3c121f:0x16a},_0x4c082d=Array['isArray'](_0x155302[_0x55755e(_0x1d826e._0xe7743c,_0x1d826e._0x418754,0x5e9,0x59f)])?_0x155302[_0x55755e(0x6fa,0x697,0x5e9,0x717)]:[];function _0x55755e(_0x46816d,_0x28551c,_0x25e821,_0x44852c){return _0x4d40c0(_0x46816d-_0x37a28d._0x3476c4,_0x25e821-0x65b,_0x25e821-_0x37a28d._0x3c121f,_0x44852c);}const _0x39d037=_0x4c082d[_0x55755e(_0x1d826e._0x3498e9,0x58d,0x667,_0x1d826e._0x5e930c)](_0x3e6c48=>{const _0x50fd99={_0x33b19a:0x129},_0x4e2a8f={_0x3dbb4b:0x45c};function _0x24597c(_0x202515,_0x46aaae,_0x38fe82,_0x3f0b92){return _0x55755e(_0x202515-0x89,_0x46aaae-0x9a,_0x202515- -_0x4e2a8f._0x3dbb4b,_0x3f0b92);}if(!isObject(_0x3e6c48))return'';if(_0x3e6c48[_0x24597c(_0x2225cf._0x13a878,_0x2225cf._0x55466b,0x16a,-0xc)]==='text'&&typeof _0x3e6c48[_0x24597c(0x1ee,_0x2225cf._0x316270,0x30e,0x1f9)]===_0x4a9378(_0x2225cf._0x347d6d,_0x2225cf._0xfbeb9a,0x3eb,0x4b1))return _0x3e6c48[_0x24597c(0x1ee,_0x2225cf._0x80127c,_0x2225cf._0x45cb6,_0x2225cf._0x4d8c75)];function _0x4a9378(_0x528539,_0xec279e,_0x117673,_0x1ff021){return _0x55755e(_0x528539-0x193,_0xec279e-0x1a6,_0xec279e- -_0x50fd99._0x33b19a,_0x117673);}return JSON[_0x4a9378(_0x2225cf._0x24abd5,0x4d1,_0x2225cf._0x140cee,0x55e)](_0x3e6c48);})[_0x55755e(0x67e,0x54a,0x50d,0x4c4)](_0xf44c89=>_0xf44c89['length']>0x0)[_0x55755e(0x624,_0x1d826e._0x5dc9dc,_0x1d826e._0x2a91fe,0x62d)]('\x0a');function _0x1ca497(_0x22cbe1,_0x225bcf,_0x3b8ef7,_0x45974c){return _0xf90728(_0x225bcf,_0x225bcf-0x12,_0x3b8ef7- -_0x55c294._0xe1f672,_0x45974c-_0x55c294._0x56aebd);}if(_0x39d037['length']>0x0)return _0x39d037;return JSON[_0x55755e(_0x1d826e._0x1f75ca,0x64b,_0x1d826e._0x5cff73,_0x1d826e._0x148fa3)](_0x155302,null,0x2);}function createMcpTool(_0xc5c07f){const _0x53071f={_0x16663d:0x302,_0x246961:0x426,_0x316fcb:0x3e5,_0x18144b:0x1a8,_0x81a486:0x24d,_0x5c981c:0x2af,_0x440727:0x41f,_0x297e18:0x5f9,_0x599f38:0x643,_0x15911d:0x2d8,_0x4d9952:0x322,_0x1adb72:0x523,_0x394864:0x3d7,_0x3c177c:0x467,_0x5d18d0:0x5c5,_0x24cce3:0x53c,_0x114f3b:0x51c,_0x485135:0x698},_0x485083={_0x596af0:0x438,_0x4854c7:0x508,_0x40f88d:0x48e,_0x3976bc:0x5fc,_0x3c7186:0x396,_0x5d0a89:0x1d3,_0x501779:0x2bc,_0x36ac45:0x324,_0x27d868:0x294,_0x19c307:0x3fc,_0x14e00a:0x384,_0x30cd91:0x39f,_0x2a05b7:0x3af,_0x2263bd:0x367,_0x2d62ee:0x25e,_0x2ff28a:0x2dc,_0x256e75:0x4b3,_0x48ceb0:0x70,_0x30fe25:0x1d3,_0x365f2d:0x1d3,_0x3312ee:0x36e,_0x5e6280:0x3eb},_0x241518={_0x47625f:0x30e,_0x10bd03:0xb9};function _0xea1f3f(_0x577ada,_0x13fb5f,_0x4151cd,_0x32797a){return _0xf90728(_0x13fb5f,_0x13fb5f-0x1c8,_0x577ada-_0x241518._0x47625f,_0x32797a-_0x241518._0x10bd03);}const _0x11c611=createMcpToolName(_0xc5c07f[_0xea1f3f(_0x53071f._0x16663d,_0x53071f._0x246961,_0x53071f._0x316fcb,_0x53071f._0x18144b)],_0xc5c07f['tool'][_0xea1f3f(_0x53071f._0x81a486,0x1db,_0x53071f._0x5c981c,0x102)]);function _0x28eca6(_0x2f68a7,_0x5f54e0,_0x38be5c,_0x15bc46){return _0xf90728(_0x5f54e0,_0x5f54e0-0x144,_0x38be5c-0x528,_0x15bc46-0x64);}return defineTool({'name':_0x11c611,'description':_0xc5c07f[_0xea1f3f(0x2d8,0x1a7,0x17e,0x276)][_0x28eca6(_0x53071f._0x440727,0x3d8,0x4c4,0x489)]??_0x28eca6(0x5f9,_0x53071f._0x297e18,_0x53071f._0x599f38,0x5c9)+_0xc5c07f[_0xea1f3f(_0x53071f._0x15911d,0x235,0x2c2,_0x53071f._0x4d9952)][_0x28eca6(_0x53071f._0x1adb72,_0x53071f._0x394864,_0x53071f._0x3c177c,0x4f6)]+_0x28eca6(_0x53071f._0x5d18d0,0x43c,0x495,_0x53071f._0x24cce3)+_0xc5c07f[_0x28eca6(0x66e,0x4ab,_0x53071f._0x114f3b,0x41d)],'inputSchema':toNuvinToolSchema(_0xc5c07f[_0x28eca6(0x62c,0x38f,0x4f2,0x3f5)][_0x28eca6(0x764,0x5c6,_0x53071f._0x485135,0x706)]),async *'execute'(_0x4bfa9b){const _0x24a1e1={_0x5521f3:0xfa},_0x3ae077={_0x4433d8:0xd7,_0x771468:0x6b};function _0x13af87(_0x3999c6,_0x15f00e,_0xe1f0c6,_0x5bc856){return _0xea1f3f(_0x15f00e-_0x3ae077._0x4433d8,_0xe1f0c6,_0xe1f0c6-_0x3ae077._0x771468,_0x5bc856-0x56);}const _0x2e4206=await _0xc5c07f[_0x13af87(_0x485083._0x596af0,_0x485083._0x4854c7,_0x485083._0x40f88d,_0x485083._0x3976bc)][_0x13af87(_0x485083._0x3c7186,0x457,0x533,0x55f)]({'name':_0xc5c07f[_0x2b3146(-0xcf,-_0x485083._0x5d0a89,-0x2cc,-_0x485083._0x501779)][_0x13af87(0x3e3,_0x485083._0x36ac45,0x25c,0x32c)],'arguments':isJsonObject(_0x4bfa9b)?_0x4bfa9b:{}});function _0x2b3146(_0x4ff5ac,_0x214aad,_0x43d065,_0x1a1cc3){return _0x28eca6(_0x4ff5ac-0xb5,_0x4ff5ac,_0x214aad- -0x6c5,_0x1a1cc3-_0x24a1e1._0x5521f3);}if(_0x2e4206[_0x2b3146(-0x155,-_0x485083._0x27d868,-_0x485083._0x19c307,-_0x485083._0x14e00a)])throw new ToolExecutionError(formatMcpContent(_0x2e4206),{'serverName':_0xc5c07f['serverName'],'toolName':_0xc5c07f[_0x13af87(_0x485083._0x30cd91,_0x485083._0x2a05b7,_0x485083._0x2263bd,0x35a)][_0x2b3146(-0x2ba,-_0x485083._0x2d62ee,-_0x485083._0x2ff28a,-0x10d)]});return yield createToolOutput(formatMcpContent(_0x2e4206),{'serverName':_0xc5c07f[_0x13af87(0x35a,0x3d9,0x4c6,_0x485083._0x256e75)],'toolName':_0xc5c07f[_0x2b3146(-_0x485083._0x48ceb0,-_0x485083._0x30fe25,-0xf0,-_0x485083._0x365f2d)][_0x13af87(0x3dd,0x324,_0x485083._0x3312ee,_0x485083._0x5e6280)],'result':_0x2e4206}),void 0x0;}});}function resolvePrefix(_0x14f63b,_0x11c196){return _0x11c196['prefix']??_0x14f63b;}function buildMcpHttpHeaders(_0x5e472c){const _0x4d1b08={_0x4374a4:0x20c,_0x1169cd:0xa5,_0x42628b:0x272,_0x1e9d35:0x3b0,_0xb33eed:0x6e,_0x5b5cb8:0x13b,_0x325aff:0x5a1,_0xfbe0f1:0x54b,_0x361e06:0x4c5,_0x6f3c00:0xbc,_0x157c69:0x450,_0x5c87fb:0x614,_0x3e4010:0x523,_0x2369b8:0x55a,_0x51c217:0x36c,_0x55ecdd:0x374,_0x3d50a0:0x29c,_0x361be2:0x167,_0x227108:0x262,_0x8ae24d:0x165,_0x7cc9da:0x385,_0x4e7712:0x5b1,_0x37e72c:0x489},_0x34f16a={_0x11223c:0xab};function _0x59fd4b(_0x18ea16,_0x295ddd,_0x496b91,_0x326997){return _0xf90728(_0x496b91,_0x295ddd-0x5a,_0x18ea16-_0x34f16a._0x11223c,_0x326997-0x12b);}const _0x1a1ce1={..._0x5e472c[_0x59fd4b(_0x4d1b08._0x4374a4,0xc2,0x1a3,_0x4d1b08._0x1169cd)]??{}};function _0xc76961(_0x1716bd,_0x542d97,_0x217fe5,_0x121f7f){return _0xf90728(_0x542d97,_0x542d97-0x12a,_0x121f7f-0x403,_0x121f7f-0x168);}return _0x5e472c[_0x59fd4b(0x16d,0x1b1,0xa3,0x22)]?.[_0xc76961(0x366,0x3ba,_0x4d1b08._0x42628b,_0x4d1b08._0x1e9d35)]===_0x59fd4b(0x33,-_0x4d1b08._0xb33eed,-_0x4d1b08._0x5b5cb8,-0xd0)&&_0x5e472c[_0xc76961(0x513,_0x4d1b08._0x325aff,_0x4d1b08._0xfbe0f1,_0x4d1b08._0x361e06)][_0x59fd4b(-_0x4d1b08._0x6f3c00,-0x142,-0x21e,-0x158)]&&_0x1a1ce1['Authorization']===void 0x0&&(_0x1a1ce1['Authorization']=_0xc76961(_0x4d1b08._0x157c69,0x5ba,_0x4d1b08._0x5c87fb,_0x4d1b08._0x3e4010)+_0x5e472c[_0xc76961(_0x4d1b08._0x2369b8,0x408,_0x4d1b08._0x51c217,_0x4d1b08._0x361e06)][_0xc76961(_0x4d1b08._0x55ecdd,0x1d3,0x1d9,_0x4d1b08._0x3d50a0)]),Object[_0xc76961(_0x4d1b08._0x361be2,_0x4d1b08._0x227108,_0x4d1b08._0x8ae24d,0x2d7)](_0x1a1ce1)[_0xc76961(_0x4d1b08._0x7cc9da,0x576,_0x4d1b08._0x4e7712,_0x4d1b08._0x37e72c)]>0x0?_0x1a1ce1:void 0x0;}function getErrorMessage(_0x59b970){const _0x14ac25={_0x9a792e:0x1c5,_0x380d94:0x2e};function _0x3acd9e(_0x10395a,_0x4eb385,_0x16e6f1,_0x25dc2a){return _0xf90728(_0x4eb385,_0x4eb385-_0x14ac25._0x9a792e,_0x25dc2a-_0x14ac25._0x380d94,_0x25dc2a-0x73);}return _0x59b970 instanceof Error?_0x59b970[_0x3acd9e(0x5c,0x13b,0xe3,0x2f)]:String(_0x59b970);}function isUnauthorizedError(_0x7ba52b){const _0x14e139={_0x4eac5a:0x350,_0x4b0fdb:0x210,_0x475036:0x10c,_0x55e6d5:0x19e},_0x40416d={_0x253915:0x1b6};function _0x2566fb(_0x16d5e6,_0x6fe16b,_0x4329b0,_0x32ad0e){return _0xf90728(_0x16d5e6,_0x6fe16b-0xca,_0x32ad0e-_0x40416d._0x253915,_0x32ad0e-0x8a);}function _0x3ec18e(_0x2a2346,_0x1bc99d,_0x4c1e51,_0x428f92){return _0x4d40c0(_0x2a2346-0xec,_0x1bc99d-0x5b,_0x4c1e51-0x6c,_0x2a2346);}return _0x7ba52b instanceof Error&&_0x7ba52b[_0x2566fb(0x263,_0x14e139._0x4eac5a,0xc3,0x204)][_0x2566fb(0x26a,0x29,0x123,0xf5)]===_0x2566fb(0x2f7,_0x14e139._0x4b0fdb,_0x14e139._0x475036,_0x14e139._0x55e6d5);}async function connectMcpServer(_0x25d49d,_0x228b8f,_0x3d9be2){const _0x15b29b={_0x3552f2:0x434,_0x1c19ef:0x3d1,_0xcf08cd:0x2c6,_0x30b7c3:0x5b9,_0x2aa7a5:0x4de,_0x27ffd4:0xbe,_0x990499:0x80,_0x32bca5:0x3,_0x4e9915:0x3bc,_0x15bda0:0x417,_0x3867cc:0x480,_0x3f31d4:0x484,_0x4563ee:0x58e,_0x54c03f:0x3e6,_0x50d468:0x425,_0x56bd36:0x2fb,_0x351835:0x393,_0x3e8526:0x4b5,_0x52b3bc:0x4da,_0x8ca892:0x42e,_0xb0a400:0x505,_0x4dde3f:0xd3,_0x1c2e3e:0x1ad,_0x3225e0:0x41,_0x2f7e47:0x36,_0x314695:0x3fa,_0x41131d:0x300,_0x1d568e:0x2cc,_0x531b0c:0x3cb,_0x13bee3:0xb2,_0x382265:0x1a1,_0x59f8a1:0x12f,_0x4528aa:0x1da,_0x3ee3df:0x94,_0x10c017:0x301,_0x1c4e8e:0x2e9,_0x20deb2:0x12c,_0x3f2af2:0xa1,_0xbe6693:0x543,_0xad6e63:0x2ee,_0x2d16fe:0x288,_0x51e65d:0x1c8,_0x267684:0xe0,_0x5b47ad:0x12a},_0x4f101d={_0x417591:0x231},_0x416284={_0x33dac2:0x1be},_0x32fff3={_0x5bc7a3:0x16d,_0xa7f3b8:0x212},_0x23e2c9={_0x155527:0x1e6,_0x25345a:0x7f},_0x25aaac={_0x2e32e4:0x1f,_0x96a692:0x176,_0x45f051:0x112,_0x548550:0x72,_0x106533:0x84,_0x4b6763:0x10f,_0x41cf08:0x32,_0x2534f8:0xf6,_0x1560a3:0x19a,_0x5dfdde:0xa1},_0x13470f={_0x5fea1d:0x3da,_0x46b1de:0x12b,_0x443278:0x1be},_0x5dfbf4=new Client({'name':'nuvin','version':_0x1b93d5(_0x15b29b._0x3552f2,0x572,_0x15b29b._0x1c19ef,_0x15b29b._0xcf08cd)});function _0x1b93d5(_0x59d914,_0x35e1b1,_0x4ef93e,_0x58aad9){return _0x4d40c0(_0x59d914-0x167,_0x59d914-0x47e,_0x4ef93e-0xb7,_0x58aad9);}_0x5dfbf4['onerror']=_0x2beed4=>{const _0x4b5162={_0x581e6a:0x1a1};function _0x4af0b3(_0x549257,_0x41a997,_0x4f4108,_0x2b4ab0){return _0x1b93d5(_0x2b4ab0- -_0x13470f._0x5fea1d,_0x41a997-_0x13470f._0x46b1de,_0x4f4108-_0x13470f._0x443278,_0x549257);}function _0x1b2c8e(_0x7d6a31,_0x92ab18,_0x4114f3,_0x41f57c){return _0x1b93d5(_0x7d6a31- -0x41d,_0x92ab18-0x12f,_0x4114f3-_0x4b5162._0x581e6a,_0x4114f3);}console[_0x4af0b3(_0x25aaac._0x2e32e4,-_0x25aaac._0x96a692,-_0x25aaac._0x45f051,-_0x25aaac._0x548550)](_0x1b2c8e(_0x25aaac._0x106533,_0x25aaac._0x4b6763,-0x63,-_0x25aaac._0x41cf08)+_0x25d49d+']\x20transport\x20error:',_0x2beed4[_0x4af0b3(-_0x25aaac._0x2534f8,-_0x25aaac._0x1560a3,-0x64,-_0x25aaac._0x5dfdde)]);};if(_0x228b8f['transport']==='http'||_0x228b8f['url']){if(!_0x228b8f['url'])throw new Error(_0x1b93d5(0x480,_0x15b29b._0x30b7c3,_0x15b29b._0x2aa7a5,0x573)+_0x25d49d+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x228b8f[_0x15273f(_0x15b29b._0x27ffd4,_0x15b29b._0x990499,-0x26,_0x15b29b._0x32bca5)]?.['type']===_0x1b93d5(_0x15b29b._0x4e9915,0x3f5,0x321,0x45c)&&!_0x3d9be2?.[_0x1b93d5(_0x15b29b._0x4e9915,0x3b1,_0x15b29b._0x15bda0,0x312)])throw new Error(_0x1b93d5(_0x15b29b._0x3867cc,0x319,_0x15b29b._0x3f31d4,_0x15b29b._0x4563ee)+_0x25d49d+_0x1b93d5(0x404,_0x15b29b._0x54c03f,0x34c,_0x15b29b._0x50d468));const _0x45dba4=buildMcpHttpHeaders(_0x228b8f),_0x1d774a=_0x228b8f['auth']?.[_0x1b93d5(0x2e5,0x1f6,0x22f,_0x15b29b._0x56bd36)]===_0x15273f(-0x23,0xae,-0x64,0xff)&&_0x3d9be2?.[_0x1b93d5(0x3bc,0x45a,_0x15b29b._0x351835,_0x15b29b._0x3e8526)]?createMcpOAuthProvider({'serverName':_0x25d49d,'callbackUrl':_0x3d9be2[_0x1b93d5(0x3bc,_0x15b29b._0x52b3bc,_0x15b29b._0x8ca892,_0x15b29b._0xb0a400)]['callbackUrl'],'storageDir':_0x3d9be2['oauth'][_0x15273f(_0x15b29b._0x4dde3f,-_0x15b29b._0x1c2e3e,-_0x15b29b._0x3225e0,_0x15b29b._0x2f7e47)],'config':_0x228b8f[_0x1b93d5(_0x15b29b._0x314695,_0x15b29b._0x41131d,_0x15b29b._0x1d568e,_0x15b29b._0x531b0c)],'onRedirect':_0x4dd135=>_0x3d9be2[_0x15273f(0xa5,0xde,-0x64,-0x23)]?.['onRedirect'](_0x25d49d,_0x4dd135)}):void 0x0,_0x4cdaf3=new StreamableHTTPClientTransport(new URL(_0x228b8f[_0x15273f(-_0x15b29b._0x13bee3,-_0x15b29b._0x382265,-_0x15b29b._0x59f8a1,-0xf7)]),{'authProvider':_0x1d774a,'requestInit':_0x45dba4?{'headers':_0x45dba4}:void 0x0});await _0x5dfbf4[_0x1b93d5(_0x15b29b._0x4528aa,_0x15b29b._0x3ee3df,0x2c4,0x89)](_0x4cdaf3);}else{if(!_0x228b8f['command'])throw new Error('MCP\x20server\x20'+_0x25d49d+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x49d3df=new StdioClientTransport({'command':_0x228b8f[_0x1b93d5(_0x15b29b._0x10c017,0x363,_0x15b29b._0x1c4e8e,0x426)],'args':_0x228b8f[_0x1b93d5(0x1e1,_0x15b29b._0x20deb2,_0x15b29b._0x3f2af2,0x10a)]??[],'env':_0x228b8f[_0x1b93d5(0x43d,_0x15b29b._0xbe6693,0x535,0x3ca)],'stderr':_0x1b93d5(0x2fa,_0x15b29b._0xad6e63,_0x15b29b._0x2d16fe,0x39a)});await _0x5dfbf4[_0x1b93d5(0x1da,_0x15b29b._0x51e65d,_0x15b29b._0x267684,_0x15b29b._0x5b47ad)](_0x49d3df);}function _0x15273f(_0x53452c,_0x4f316d,_0x3d2e56,_0x3e75fa){return _0x4d40c0(_0x53452c-_0x23e2c9._0x155527,_0x3d2e56-0x5e,_0x3d2e56-_0x23e2c9._0x25345a,_0x3e75fa);}return{async 'listTools'(){const _0x4395bf={_0xb70d34:0x1b8};function _0x489c86(_0xc07262,_0x2bfc25,_0x78f58a,_0x487e35){return _0x15273f(_0xc07262-_0x4395bf._0xb70d34,_0x2bfc25-0xb6,_0x78f58a-0x37d,_0x2bfc25);}return await _0x5dfbf4[_0x489c86(_0x32fff3._0x5bc7a3,0x250,_0x32fff3._0xa7f3b8,0x203)]();},async 'callTool'(_0x4d7068){return await _0x5dfbf4['request']({'method':'tools/call','params':_0x4d7068},CallToolResultSchema);},async 'close'(){function _0x51d8b6(_0x1e28c8,_0x44625e,_0x1489ed,_0x3b7049){return _0x15273f(_0x1e28c8-_0x416284._0x33dac2,_0x44625e-0x117,_0x3b7049- -0x89,_0x1e28c8);}await _0x5dfbf4[_0x51d8b6(-0x1b3,-_0x4f101d._0x417591,-0xf9,-0x214)]();}};}async function createMcpToolsFromServers(_0x15c34b){const _0x111fdf={_0x26c5bc:0x382,_0x107c6c:0xa4,_0x42ac73:0x13e,_0x3544fa:0x16f,_0x1885a7:0x30,_0x543949:0x12e,_0x56fad3:0x2b,_0x29988b:0x77,_0x4f5cc4:0x3e1,_0x3fb310:0x2e7,_0x12dede:0x384,_0x59be78:0x25f,_0x3dd3d3:0x4d3,_0x5c095d:0x54b,_0x2f2b7e:0x4f2,_0x2ee4e8:0x64,_0x5a4dce:0x5db,_0x28f71f:0x52e,_0x16f4b1:0x46d,_0x2e1566:0x395,_0x7a60d7:0x4d,_0x4d96d2:0x4da,_0x1771b2:0x524,_0x4013d2:0x5b8,_0x2cc865:0x52f},_0x3e4f87={_0xe09cc4:0x83,_0x4090b5:0x20f,_0x17504e:0x61e},_0x5a7587={_0x3612f0:0x24,_0x332af3:0x78},_0x2398e8={_0x2f87b4:0x196},_0x4137e2={_0x457183:0xaf},_0x518495=_0x15c34b[_0xabfc2a(_0x111fdf._0x26c5bc,0x3a1,0x338,0x296)]??connectMcpServer,_0x3e628b=[];function _0xa7b7e2(_0xbe4547,_0x4de1a8,_0x1e4c74,_0x54dd51){return _0xf90728(_0x54dd51,_0x4de1a8-_0x4137e2._0x457183,_0x1e4c74-0x1e,_0x54dd51-0xd0);}const _0xecf48={},_0x518ec9={},_0xba3f1=[];for(const [_0x5e9940,_0x43dd7e]of Object[_0xa7b7e2(-0x127,-_0x111fdf._0x107c6c,0x19,_0x111fdf._0x42ac73)](_0x15c34b[_0xa7b7e2(_0x111fdf._0x3544fa,-_0x111fdf._0x1885a7,_0x111fdf._0x543949,_0x111fdf._0x56fad3)]??{})){if(_0x43dd7e[_0xa7b7e2(_0x111fdf._0x29988b,-0x273,-0x101,-0x1b7)]===![]){_0xecf48[_0x5e9940]={'status':'disabled'};continue;}try{const _0x5688c1=await _0x518495(_0x5e9940,_0x43dd7e,_0x15c34b['connection']);_0x3e628b['push'](_0x5688c1);const _0xa42bdf=await _0x5688c1[_0xabfc2a(0x36f,0x47c,_0x111fdf._0x4f5cc4,0x425)]();let _0x2e830c=0x0;const _0x3b1fa0=[];for(const _0x59a3af of _0xa42bdf[_0xabfc2a(_0x111fdf._0x3fb310,0x3b9,_0x111fdf._0x12dede,_0x111fdf._0x59be78)]){const _0xa49a01=_0x15c34b[_0xabfc2a(_0x111fdf._0x3dd3d3,_0x111fdf._0x5c095d,_0x111fdf._0x2f2b7e,0x4af)]?.[_0x5e9940]?.[_0x59a3af[_0xa7b7e2(0xca,-_0x111fdf._0x2ee4e8,-0xa3,-0x92)]];_0x3b1fa0[_0xabfc2a(0x3b3,0x46d,0x342,_0x111fdf._0x5a4dce)]({'name':_0x59a3af['name'],..._0x59a3af['description']!==void 0x0?{'description':_0x59a3af['description']}:{},..._0x59a3af['inputSchema']!==void 0x0?{'inputSchema':_0x59a3af['inputSchema']}:{}});if(_0xa49a01===![])continue;_0x2e830c+=0x1,_0xba3f1[_0xabfc2a(_0x111fdf._0x28f71f,_0x111fdf._0x16f4b1,_0x111fdf._0x2e1566,0x33b)](createMcpTool({'serverName':resolvePrefix(_0x5e9940,_0x43dd7e),'tool':_0x59a3af,'client':_0x5688c1}));}_0x518ec9[_0x5e9940]=_0x3b1fa0,_0xecf48[_0x5e9940]={'status':_0xa7b7e2(-_0x111fdf._0x7a60d7,-0x35,0xd,-0x92),'toolCount':_0x2e830c};}catch(_0x103c3f){_0xecf48[_0x5e9940]=isUnauthorizedError(_0x103c3f)?{'status':_0xabfc2a(0x3ca,_0x111fdf._0x4d96d2,_0x111fdf._0x1771b2,0x44b),'message':getErrorMessage(_0x103c3f)}:{'status':_0xabfc2a(_0x111fdf._0x4013d2,_0x111fdf._0x2cc865,0x539,0x4d5),'message':getErrorMessage(_0x103c3f)};}}function _0xabfc2a(_0x14aae4,_0x1d0f4e,_0x373d5e,_0x28ee17){return _0xf90728(_0x373d5e,_0x1d0f4e-0x33,_0x1d0f4e-0x4ff,_0x28ee17-_0x2398e8._0x2f87b4);}return{'tools':_0xba3f1,'servers':_0xecf48,'serverTools':_0x518ec9,async 'close'(){const _0x5d2244={_0x342d56:0x152};function _0x3bbd9b(_0x4153cc,_0x1aedfa,_0x195243,_0x4d3621){return _0xabfc2a(_0x4153cc-_0x5d2244._0x342d56,_0x4d3621- -0xd5,_0x195243,_0x4d3621-0x19f);}function _0x4d5bf1(_0x2b11cf,_0x194ffd,_0x2e6810,_0x2b75ad){return _0xa7b7e2(_0x2b11cf-_0x5a7587._0x3612f0,_0x194ffd-0xde,_0x2e6810-_0x5a7587._0x332af3,_0x2b75ad);}await Promise[_0x4d5bf1(_0x3e4f87._0xe09cc4,_0x3e4f87._0x4090b5,0x138,0x271)](_0x3e628b[_0x3bbd9b(0x6bd,_0x3e4f87._0x17504e,0x416,0x57c)](_0x53684d=>_0x53684d[_0x4d5bf1(0x14d,-0x61,-0xd,0xcf)]()));}};}function getCommand(_0x17bc90){const _0x1590e6={_0x3c28e6:0x5e8,_0x2f9028:0x56c,_0x197288:0x1c1,_0x19fd33:0x139,_0x3bd513:0x16b,_0x17f3d1:0x4b3,_0x1817f3:0x50d,_0x47c306:0x26,_0x3f263b:0x7b},_0x439e95={_0x10c717:0x5d,_0x5ef6f9:0x9a},_0x248c26={_0x16c683:0x1a0,_0xe61aff:0x59f};if(_0x17bc90&&typeof _0x17bc90===_0x5268ad(0x3ab,_0x1590e6._0x3c28e6,0x4ac,_0x1590e6._0x2f9028)&&!Array[_0x4e8d27(_0x1590e6._0x197288,_0x1590e6._0x19fd33,_0x1590e6._0x3bd513,0x15b)](_0x17bc90)&&typeof _0x17bc90['command']===_0x5268ad(_0x1590e6._0x17f3d1,0x351,0x483,_0x1590e6._0x1817f3))return _0x17bc90[_0x4e8d27(_0x1590e6._0x47c306,-0x112,_0x1590e6._0x3f263b,0x57)];function _0x5268ad(_0x2d95e8,_0x355f39,_0x3e41aa,_0x3f8aca){return _0x4d40c0(_0x2d95e8-_0x248c26._0x16c683,_0x3e41aa-_0x248c26._0xe61aff,_0x3e41aa-0xe,_0x3f8aca);}function _0x4e8d27(_0x265b1f,_0x58d5f2,_0x3d34cf,_0x219e81){return _0xf90728(_0x3d34cf,_0x58d5f2-0x5,_0x265b1f-_0x439e95._0x10c717,_0x219e81-_0x439e95._0x5ef6f9);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x4d40c0(-0xe3,-0xdf,-0xc9,-0x23e),_0xf90728(-0x6e,-0x1ba,-0x14c,-0x28e),_0x4d40c0(-0x2c9,-0x1f6,-0x25a,-0x122),_0x4d40c0(-0x2d,-0x12e,-0x10b,-0xc),_0x4d40c0(-0x170,-0x1a4,-0x63,-0xde),_0x4d40c0(-0x288,-0x250,-0x122,-0x25c),_0x4d40c0(-0x17c,-0xdb,-0xc5,-0x14a),_0xf90728(-0x89,-0xb8,-0x6b,0xc),_0xf90728(0x171,0x180,0x109,-0x46),_0x4d40c0(-0x102,-0x140,-0x1da,0x29),_0x4d40c0(-0x28d,-0x22f,-0x366,-0x37b),_0x4d40c0(-0x301,-0x212,-0x381,-0x362),_0x4d40c0(-0x140,-0xf7,-0x1c6,-0x5d),_0x4d40c0(-0x278,-0x13f,-0x20a,-0xec),_0x4d40c0(0x3f,-0x38,0x106,0x9a),'src/formats/provider-adapters.test.ts',_0x4d40c0(-0xde,-0xc3,-0xd8,-0x8a)][_0x4d40c0(0x16d,0x25,0xdf,0xe5)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':'Executes\x20a\x20shell\x20command','input_schema':{'type':'object','properties':{'command':{'type':'string'}},'required':[_0xf90728(-0x128,-0x6b,-0x37,-0x13f)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x2638a2){return{'output':_0x2638a2,'structured':{'value':_0x2638a2}};}function createUnknownToolResult(_0x1414be){const _0x4f5d29={_0x42bf12:0x7d,_0xee53fc:0xbd,_0x431bf2:0x8,_0x15e580:0xcd,_0x1f5a57:0x1c,_0x169a73:0x19e,_0x71e560:0x4d,_0x2e24a8:0x3b,_0x185b61:0xa,_0x2e083a:0x28,_0x6a1375:0xa5,_0x52097b:0x24,_0x3b22b8:0x71},_0x51c124={_0x1f1dbb:0x1e3},_0x1d11b1={_0xbe058f:0x17e};function _0x410dce(_0x5d312c,_0x19a159,_0x3f7a73,_0x21c024){return _0xf90728(_0x5d312c,_0x19a159-0x27,_0x3f7a73-_0x1d11b1._0xbe058f,_0x21c024-0x10a);}function _0x119ec6(_0xe87d6a,_0x5c260d,_0x862989,_0x19cfed){return _0x4d40c0(_0xe87d6a-0xaf,_0x862989-_0x51c124._0x1f1dbb,_0x862989-0xd2,_0x19cfed);}return{'callId':_0x1414be['id'],'toolName':_0x1414be[_0x410dce(-_0x4f5d29._0x42bf12,-0x56,_0x4f5d29._0xee53fc,0x110)],'status':_0x119ec6(_0x4f5d29._0x431bf2,0x89,_0x4f5d29._0x15e580,_0x4f5d29._0x1f5a57),'output':_0x410dce(_0x4f5d29._0x169a73,_0x4f5d29._0x71e560,_0x4f5d29._0x2e24a8,-_0x4f5d29._0x185b61)+_0x1414be[_0x119ec6(-_0x4f5d29._0x2e083a,-_0x4f5d29._0x6a1375,-_0x4f5d29._0x52097b,-_0x4f5d29._0x3b22b8)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x4ee06c,_0x3a7002){const _0x1f8655={_0x2a5c2e:0xc7,_0x2b68c2:0x1e,_0x54bde1:0x437,_0x5c58fa:0x3fc},_0x3ab20e={_0x154b66:0xc6},_0x103a2c={_0x58e381:0x88,_0x2afa72:0x61};function _0x797641(_0x1aa4d2,_0x257532,_0x2ff5e9,_0x52d06c){return _0xf90728(_0x2ff5e9,_0x257532-_0x103a2c._0x58e381,_0x52d06c-0xa3,_0x52d06c-_0x103a2c._0x2afa72);}function _0x110135(_0x29d9ac,_0x2f7294,_0x3be9c7,_0x2c4019){return _0xf90728(_0x29d9ac,_0x2f7294-_0x3ab20e._0x154b66,_0x2f7294-0x3df,_0x2c4019-0x1b6);}return{'callId':_0x4ee06c['id'],'toolName':_0x4ee06c[_0x797641(_0x1f8655._0x2a5c2e,0xdc,0x21,-_0x1f8655._0x2b68c2)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x4ee06c[_0x110135(0x502,_0x1f8655._0x54bde1,_0x1f8655._0x5c58fa,0x3e4)]),'exitCode':0x0},'chunks':[_0x3a7002],'meta':createMeta()};}function createMockToolRuntime(){const _0x17646d={_0x513c14:0x5a8},_0x1737fd={_0x2690eb:0x5c,_0x1caf7f:0x159,_0x2a1aa7:0x104,_0x36fe87:0x96,_0x545885:0x29},_0x37337f={_0x5a76e7:0xfe},_0x2051cc=async(_0x3dd83d,_0x458402)=>{if(_0x3dd83d[_0x5b8df2(_0x1737fd._0x2690eb,_0x1737fd._0x1caf7f,-_0x1737fd._0x2a1aa7,0x44)]!==_0x5b8df2(-0x41,-0x1d,-_0x1737fd._0x36fe87,-_0x1737fd._0x545885))return createUnknownToolResult(_0x3dd83d);const _0x2ea2ba=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0xc73aaf(_0x5a1cd0,_0x5a486b,_0x369235,_0x233089){return _0x3eab(_0x233089- -0x13b,_0x5a1cd0);}function _0x5b8df2(_0x3d73c1,_0x2c92a7,_0xc75678,_0x19eae8){return _0x3eab(_0x19eae8- -_0x37337f._0x5a76e7,_0x2c92a7);}return createSuccessToolResult(_0x3dd83d,_0x2ea2ba);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x107a65,_0x393c50){const _0x3c31eb={_0x42d914:0x303};function _0x25b5ad(_0x441147,_0x4e7b6a,_0x57c24b,_0x58b698){return _0x3eab(_0x57c24b-_0x3c31eb._0x42d914,_0x441147);}return await Promise[_0x25b5ad(0x615,0x694,_0x17646d._0x513c14,0x557)](_0x107a65['map'](async _0x4add71=>{return await _0x2051cc(_0x4add71,_0x393c50);}));},async 'execute'(_0x3ad680,_0x2f3001){return await _0x2051cc(_0x3ad680,_0x2f3001);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x58287c={_0x1ef567:0x1cc},_0x599178={_0x41cf32:0x2d2,_0x466a45:0x1a};function _0x50ad35(_0x3d8bda,_0x577faf,_0xddd7dd,_0x2f42ee){return _0xf90728(_0xddd7dd,_0x577faf-0xe9,_0x3d8bda-_0x599178._0x41cf32,_0x2f42ee-_0x599178._0x466a45);}return delegatedRunCounter+=0x1,_0x50ad35(0x2cc,0x435,_0x58287c._0x1ef567,0x31f)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x10b819,_0x279697){const _0x32473f={_0x53fb24:0x59c};function _0x2de90f(_0x1b1456,_0x4c62d9,_0x20f0a8,_0x41ae49){return _0x4d40c0(_0x1b1456-0x1c7,_0x1b1456-0x6bd,_0x20f0a8-0xc8,_0x20f0a8);}return typeof _0x10b819===_0x2de90f(_0x32473f._0x53fb24,0x477,0x491,0x629)?await _0x10b819(_0x279697):_0x10b819;}function getDelegatedAgentDefinition(_0x36c84e,_0x5ab533){return _0x36c84e['agents']?.[_0x5ab533];}function createRunSummary(_0x384662){const _0x42bcf9={_0x2f679e:0x30a,_0x12b873:0x25d,_0x3303e3:0x13e,_0x3fff9d:0x105,_0x5b7cf5:0x1ed,_0x466f5b:0x28d,_0x304263:0x201,_0x2d2676:0x111,_0x32534d:0x183,_0x39d7f3:0x28b,_0xe707ff:0x383,_0x2fb63c:0x1f0,_0x360785:0x1c6,_0x30ac70:0x293,_0xcbf0da:0x271,_0x42e234:0xc2,_0x37f50b:0xfd,_0x5eed91:0x5b,_0x30f5df:0x53,_0x3b4c7a:0xed,_0x4937bc:0xa9},_0x24dd79={_0x30a041:0x199,_0x3e2d84:0x176},_0x23858b={_0x358be6:0x9,_0x2f0540:0x120,_0xd9feec:0x102};function _0x2fe2f0(_0x2d8814,_0x2a842d,_0xa518e4,_0x68ad00){return _0xf90728(_0x2a842d,_0x2a842d-_0x23858b._0x358be6,_0xa518e4- -_0x23858b._0x2f0540,_0x68ad00-_0x23858b._0xd9feec);}function _0x3bd116(_0x3aaab9,_0x99d310,_0x1f3bfb,_0x58fcd5){return _0x4d40c0(_0x3aaab9-_0x24dd79._0x30a041,_0x1f3bfb-0xf,_0x1f3bfb-_0x24dd79._0x3e2d84,_0x3aaab9);}return{'runId':_0x384662[_0x2fe2f0(-_0x42bcf9._0x2f679e,-_0x42bcf9._0x12b873,-0x1a9,-_0x42bcf9._0x3303e3)],'agentId':_0x384662['agentId'],'sessionId':_0x384662['sessionId'],'status':_0x384662[_0x2fe2f0(-0x1ec,-_0x42bcf9._0x3fff9d,-0x102,-_0x42bcf9._0x5b7cf5)],'parentSessionId':_0x384662[_0x2fe2f0(-0x248,-_0x42bcf9._0x466f5b,-_0x42bcf9._0x304263,-0x28a)],..._0x384662[_0x2fe2f0(-_0x42bcf9._0x2d2676,-_0x42bcf9._0x32534d,-0x274,-0x2ed)]!==void 0x0?{'originToolCallId':_0x384662[_0x3bd116(-0x147,-0x3b2,-_0x42bcf9._0x39d7f3,-_0x42bcf9._0xe707ff)]}:{},..._0x384662[_0x2fe2f0(-_0x42bcf9._0x2fb63c,-0x25a,-0x271,-_0x42bcf9._0x360785)]!==void 0x0?{'errorMessage':_0x384662[_0x2fe2f0(-_0x42bcf9._0x30ac70,-0x18e,-_0x42bcf9._0xcbf0da,-0x22a)]}:{},..._0x384662[_0x2fe2f0(-0x11e,_0x42bcf9._0x42e234,0x40,-0x81)]?.[_0x2fe2f0(-0x39,-0x23e,-_0x42bcf9._0x37f50b,_0x42bcf9._0x5eed91)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x384662[_0x2fe2f0(-_0x42bcf9._0x30f5df,-_0x42bcf9._0x3b4c7a,0x40,-_0x42bcf9._0x4937bc)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x1ff4f9,_0x1b2497){const _0x493f39={_0x597248:0x22e,_0x1d6fdf:0x333},_0x3c0315={_0x4a3741:0x91};function _0x3471da(_0x51b828,_0x475422,_0xeb26ab,_0x14602b){return _0xf90728(_0x475422,_0x475422-_0x3c0315._0x4a3741,_0x14602b-0x345,_0x14602b-0x21);}const _0x4fec13=createRunSummary(_0x1ff4f9),_0xf488ff=_0x4fec13[_0x3471da(0x1e2,_0x493f39._0x597248,0x2f4,_0x493f39._0x1d6fdf)];return createToolOutput(typeof _0xf488ff==='string'&&_0xf488ff['length']>0x0?_0xf488ff:_0x1b2497,_0x4fec13);}function getRunTerminalErrorMessage(_0x30de71){const _0x287655={_0x2a9f4a:0x472,_0xf4bc95:0x41d,_0x3452b0:0x166,_0x33ab55:0x14f,_0x155cf0:0x510,_0x3a3586:0x4b5,_0x44883c:0x3c9,_0xa61045:0x467,_0xdd6aa5:0x84,_0x181741:0x62},_0x95411={_0x2d6b69:0x86},_0xfa6e40=_0x30de71?.[_0x92ea94(_0x287655._0x2a9f4a,_0x287655._0xf4bc95,0x3ff,0x469)][_0x92ea94(0x3f0,0x477,0x36f,0x3d6)]['at'](-0x1);if(_0xfa6e40?.[_0x88bb9c(-_0x287655._0x3452b0,-0xd9,-_0x287655._0x33ab55,-0x1fb)]==='error'&&_0xfa6e40[_0x92ea94(_0x287655._0x155cf0,_0x287655._0x3a3586,_0x287655._0x44883c,0x3cf)]['trim']()[_0x92ea94(0x501,0x3a3,0x609,_0x287655._0xa61045)]>0x0)return _0xfa6e40[_0x88bb9c(_0x287655._0xdd6aa5,-_0x287655._0x181741,-0x179,-_0x287655._0x3452b0)];function _0x88bb9c(_0x493293,_0x393732,_0x20c6d2,_0x56595a){return _0xf90728(_0x56595a,_0x393732-0x179,_0x393732- -0xf7,_0x56595a-_0x95411._0x2d6b69);}function _0x92ea94(_0x263b1c,_0x27bb4b,_0x4a81ff,_0x538239){return _0x4d40c0(_0x263b1c-0x127,_0x263b1c-0x5c1,_0x4a81ff-0xeb,_0x538239);}return void 0x0;}function formatAbortedRunMessage(_0x1e9429,_0x2cc5c8){const _0xc73e94={_0x177f18:0xec,_0x3cafe5:0xaf,_0x1aedbe:0xcc,_0x564641:0x1e5,_0xfa511d:0x142,_0x5c3e94:0x388,_0x2180e9:0x215},_0x40d51b={_0x294aea:0x1df,_0x1c0f2c:0xd3},_0x5b09cb={_0x111372:0x96,_0x14982f:0x287};function _0x8b16da(_0x42870,_0x1fcb64,_0x25ee23,_0x494f2b){return _0xf90728(_0x25ee23,_0x1fcb64-_0x5b09cb._0x111372,_0x1fcb64-_0x5b09cb._0x14982f,_0x494f2b-0x63);}const _0x17c86f=_0x10ffc0(-_0xc73e94._0x177f18,_0xc73e94._0x3cafe5,_0xc73e94._0x1aedbe,-0xa6)+_0x1e9429+'\x20was\x20aborted.';if(!_0x2cc5c8||_0x2cc5c8['trim']()[_0x8b16da(0x39f,0x30d,_0xc73e94._0x564641,0x1d9)]===0x0||_0x2cc5c8===_0x17c86f)return _0x17c86f;function _0x10ffc0(_0x50192d,_0x5c443d,_0xde4d5,_0x1edd91){return _0x4d40c0(_0x50192d-_0x40d51b._0x294aea,_0x1edd91-_0x40d51b._0x1c0f2c,_0xde4d5-0x191,_0xde4d5);}return _0x17c86f+_0x8b16da(_0xc73e94._0xfa511d,0x215,_0xc73e94._0x5c3e94,_0xc73e94._0x2180e9)+_0x2cc5c8;}function createAssignTaskTool(_0x3f1930){const _0x40c29e={_0x20b075:0xcf,_0x1284d1:0x165,_0x399a57:0xa0,_0x5c6af2:0x1d4,_0x3e7e3a:0x216,_0x9edd3a:0x384,_0x2011fb:0x167,_0x2dc343:0x236,_0x4afe6b:0x341,_0x5688c8:0x1ed,_0x3bac5f:0x7b,_0x2ad84c:0x6a,_0x32281c:0x1b9,_0x251d03:0xe3,_0x1f7fe8:0x256,_0x3ff8dc:0x14},_0xdd2b31={_0xf55ed8:0x2dd,_0x37f8c3:0x2d4,_0x2bc941:0x352,_0x16688d:0x2db,_0x26f2b7:0x33c,_0x140629:0x444,_0x5986f9:0x49a,_0x16596a:0x43e,_0x30804b:0x36b,_0x1b5057:0x59a,_0x2a9837:0x1bc,_0x7d0c15:0x357,_0x49e25b:0x424,_0x3eee8d:0x2dd,_0x5285b2:0x41f,_0x2dc6fe:0x1da,_0x1717e9:0x2dd,_0x44821e:0x3d5,_0x14c7a1:0x432,_0x3f9c1a:0x51d,_0x2d56ec:0x28c,_0x2a117f:0x36a,_0x3e7d20:0x4bb,_0x599033:0x51b,_0x252da2:0x3b8,_0x4b7995:0x29a,_0x2a340d:0x293,_0x2b66fe:0x14d,_0x31ea36:0x414,_0x316919:0x288,_0x619cd9:0x17f,_0x43c424:0x5a,_0x37776b:0x3a2,_0x5a644a:0x3bf,_0x4a919e:0x2db,_0x47d00f:0x167,_0x1dee12:0x350,_0x5184fd:0x33f,_0x23ed3b:0x4b8,_0x45cf24:0x304,_0x40ab75:0x453,_0x4355c8:0x458,_0x1485e5:0x487,_0x328dc5:0x533,_0x4e2d5d:0x1d7,_0x13babf:0x392,_0x5dfc9c:0x49f,_0x538437:0x50c,_0x3d27cb:0x426,_0x5517a9:0x2cd,_0x1b63d6:0x16d,_0x153c86:0x27f,_0xa35820:0x52f,_0x10dd5e:0x3e6,_0x483bac:0x415,_0x1136b8:0x410,_0x5f20b6:0x28f,_0x22079c:0x9c,_0x1bc3b5:0x44e,_0x34132e:0x493,_0x43726f:0x4f3,_0x2ad614:0x1a7,_0x6102e5:0x323,_0x42dd02:0x1a8,_0x292926:0x5a8,_0x5a5977:0x555,_0x191873:0x515,_0x1b59eb:0x1d6,_0x53d17f:0x31d,_0x5b5e96:0x4e5,_0x44a6cd:0x5a8,_0x1e1068:0x539,_0x43b26d:0x2a,_0x3bd510:0xba,_0x5d108f:0x91},_0x44226b={_0x2d4dc0:0x45},_0xd5f57f={_0x27362e:0x7e};function _0x4e27f0(_0x26af64,_0x3592ae,_0x32a85b,_0x53d43d){return _0xf90728(_0x53d43d,_0x3592ae-0x109,_0x32a85b-0x1c3,_0x53d43d-_0xd5f57f._0x27362e);}function _0x56c2cf(_0x373348,_0x11c828,_0xb02d61,_0x302e46){return _0x4d40c0(_0x373348-0xf8,_0x11c828- -0x18,_0xb02d61-0x1d3,_0xb02d61);}return defineTool({'name':'AssignTask','description':_0x4e27f0(-_0x40c29e._0x20b075,_0x40c29e._0x1284d1,_0x40c29e._0x399a57,0x16a),'inputSchema':{'type':_0x4e27f0(_0x40c29e._0x5c6af2,0x1b6,_0x40c29e._0x3e7e3a,_0x40c29e._0x9edd3a),'properties':{'agentId':{'type':_0x4e27f0(0x99,_0x40c29e._0x2011fb,0x1ed,_0x40c29e._0x2dc343)},'description':{'type':_0x4e27f0(0x352,0x285,0x1ed,0x355)},'nickname':{'type':_0x4e27f0(_0x40c29e._0x4afe6b,0x109,_0x40c29e._0x5688c8,0x171)},'task':{'type':_0x4e27f0(0x182,0x285,_0x40c29e._0x5688c8,_0x40c29e._0x20b075)}},'required':[_0x56c2cf(-_0x40c29e._0x3bac5f,-0x89,-0x10b,_0x40c29e._0x2ad84c),'description',_0x56c2cf(-_0x40c29e._0x32281c,-_0x40c29e._0x251d03,-_0x40c29e._0x1f7fe8,_0x40c29e._0x3ff8dc)]},async *'execute'(_0x297175,_0x4aa4f5){const _0x2eedf6={_0x16ac48:0x2ff},_0x2fec60={_0x1f37e3:0x3a},_0xd79449={_0x3e2814:0x15d,_0x3e72e7:0x5a6,_0x5e9adf:0x152},_0x3d86d3=createDelegatedRunId(),_0x263d55={'agentId':_0x297175[_0x1f0fe7(0x336,_0xdd2b31._0xf55ed8,_0xdd2b31._0x37f8c3,_0xdd2b31._0x2bc941)],'parentSessionId':_0x4aa4f5[_0x1f0fe7(0x203,_0xdd2b31._0x16688d,0x3c6,0x211)],'runId':_0x3d86d3,..._0x4aa4f5[_0x10b45c(_0xdd2b31._0x26f2b7,_0xdd2b31._0x140629,_0xdd2b31._0x5986f9,_0xdd2b31._0x16596a)]!==void 0x0?{'toolCallId':_0x4aa4f5[_0x10b45c(_0xdd2b31._0x30804b,0x518,_0xdd2b31._0x5986f9,_0xdd2b31._0x1b5057)]}:{}},_0x6bc47f=getDelegatedAgentDefinition(_0x3f1930,_0x297175[_0x1f0fe7(0x200,0x2dd,_0xdd2b31._0x2a9837,_0xdd2b31._0x7d0c15)]);if(!_0x6bc47f)throw new ToolExecutionError(_0x10b45c(0x320,_0xdd2b31._0x49e25b,0x321,0x26d)+_0x297175[_0x1f0fe7(0x390,_0xdd2b31._0x3eee8d,0x1ce,_0xdd2b31._0x5285b2)],{'agentId':_0x297175[_0x1f0fe7(_0xdd2b31._0x2dc6fe,_0xdd2b31._0x1717e9,0x43c,_0xdd2b31._0x44821e)]});const _0x3fa6d5=new Agent(await resolveDelegatedAgentOptions(_0x6bc47f,_0x263d55));function _0x1f0fe7(_0x1e72ca,_0x5ee26c,_0x3ca154,_0x1cd65a){return _0x4e27f0(_0x1e72ca-0x195,_0x5ee26c-0x11d,_0x5ee26c-_0x44226b._0x2d4dc0,_0x3ca154);}function _0x10b45c(_0x3261e8,_0x462983,_0x299ac4,_0x536c6d){return _0x56c2cf(_0x3261e8-_0xd79449._0x3e2814,_0x299ac4-_0xd79449._0x3e72e7,_0x3261e8,_0x536c6d-_0xd79449._0x5e9adf);}let _0x39dcbc={'runId':_0x3d86d3,'agentId':_0x297175[_0x10b45c(0x5dc,_0xdd2b31._0x14c7a1,_0xdd2b31._0x3f9c1a,0x612)],'sessionId':_0x3fa6d5[_0x1f0fe7(_0xdd2b31._0x2d56ec,_0xdd2b31._0x16688d,0x1e4,0x401)],'status':_0x1f0fe7(0x2a0,_0xdd2b31._0x2a117f,0x390,0x446),'parentSessionId':_0x4aa4f5[_0x10b45c(_0xdd2b31._0x3e7d20,0x662,_0xdd2b31._0x599033,_0xdd2b31._0x252da2)],..._0x4aa4f5[_0x1f0fe7(0x112,0x25a,_0xdd2b31._0x4b7995,_0xdd2b31._0x2a340d)]!==void 0x0?{'originToolCallId':_0x4aa4f5[_0x1f0fe7(0x32b,0x25a,0x279,_0xdd2b31._0x2b66fe)]}:{}};const _0x35f654=new AbortController(),_0x401367=addAbortListener(_0x4aa4f5[_0x1f0fe7(_0xdd2b31._0x31ea36,0x2fa,0x23a,0x19e)],()=>{const _0x5b9ffc={_0x429248:0x95,_0x2092c4:0x10a,_0x1b649f:0x1e3};function _0x1ad632(_0x552a65,_0x3cea96,_0x2fb3d8,_0x4d0529){return _0x10b45c(_0x4d0529,_0x3cea96-_0x5b9ffc._0x429248,_0x2fb3d8-_0x5b9ffc._0x2092c4,_0x4d0529-_0x5b9ffc._0x1b649f);}function _0x3f7231(_0x9c7063,_0x2ba284,_0x2211d5,_0x3aff71){return _0x1f0fe7(_0x9c7063-_0x2fec60._0x1f37e3,_0x3aff71-0x1c1,_0x2ba284,_0x3aff71-0x14);}_0x35f654[_0x1ad632(_0x2eedf6._0x16ac48,0x45a,0x3f3,0x436)](_0x4aa4f5['signal']?.[_0x1ad632(0x3cc,0x484,0x3ee,0x3bf)]);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x39dcbc[_0x1f0fe7(_0xdd2b31._0x316919,_0xdd2b31._0x619cd9,0x59,_0xdd2b31._0x43c424)]+'.',{'runId':_0x39dcbc[_0x10b45c(_0xdd2b31._0x37776b,0x3dd,_0xdd2b31._0x5a644a,0x497)],'agentId':_0x39dcbc[_0x1f0fe7(0x26b,0x2dd,0x2d0,0x2e7)],'sessionId':_0x39dcbc[_0x1f0fe7(0x3f0,_0xdd2b31._0x4a919e,_0xdd2b31._0x47d00f,_0xdd2b31._0x1dee12)],'status':_0x39dcbc[_0x10b45c(_0xdd2b31._0x5184fd,_0xdd2b31._0x23ed3b,0x466,_0xdd2b31._0x45cf24)]});try{const _0xef2629=await _0x3fa6d5[_0x10b45c(_0xdd2b31._0x40ab75,_0xdd2b31._0x4355c8,_0xdd2b31._0x1485e5,_0xdd2b31._0x328dc5)](_0x297175['task'],{'streaming':!![],'signal':_0x35f654['signal']});_0x39dcbc={..._0x39dcbc,'status':_0xef2629[_0x1f0fe7(_0xdd2b31._0x4e2d5d,0x226,0x121,_0xdd2b31._0x13babf)],'result':_0xef2629};if(_0xef2629[_0x10b45c(0x3f8,_0xdd2b31._0x5dfc9c,0x466,_0xdd2b31._0x538437)]!==_0x1f0fe7(_0xdd2b31._0x3d27cb,_0xdd2b31._0x5517a9,0x180,_0xdd2b31._0x1b63d6)){const _0x21d5b5=getRunTerminalErrorMessage(_0xef2629),_0x568687=formatAbortedRunMessage(_0x39dcbc[_0x1f0fe7(0xa9,0x17f,_0xdd2b31._0x153c86,0x1a4)],_0x21d5b5);throw new ToolExecutionError(_0x568687,{...createRunSummary(_0x39dcbc),'aborted':!![],'errorMessage':_0x568687});}return createRunSummaryOutput(_0x39dcbc,_0x10b45c(_0xdd2b31._0xa35820,_0xdd2b31._0x10dd5e,_0xdd2b31._0x483bac,_0xdd2b31._0x1136b8)+_0x39dcbc[_0x1f0fe7(_0xdd2b31._0x5f20b6,0x17f,_0xdd2b31._0x22079c,0x253)]+_0x10b45c(_0xdd2b31._0x1bc3b5,0x493,_0xdd2b31._0x34132e,_0xdd2b31._0x43726f));}catch(_0x203f3e){if(_0x203f3e instanceof ToolExecutionError)throw _0x203f3e;if(isAbortError(_0x203f3e)||_0x35f654['signal'][_0x1f0fe7(_0xdd2b31._0x2ad614,0xdd,0x7c,0x15)]||_0x4aa4f5['signal'][_0x10b45c(_0xdd2b31._0x6102e5,_0xdd2b31._0x42dd02,0x31d,0x2ff)]){const _0x26677b=getRunTerminalErrorMessage(_0x39dcbc[_0x10b45c(0x60d,0x480,_0xdd2b31._0x292926,_0xdd2b31._0x5a5977)])??(_0x203f3e instanceof Error?_0x203f3e['message']:String(_0x203f3e)),_0x22c39c=formatAbortedRunMessage(_0x39dcbc[_0x10b45c(0x3c2,_0xdd2b31._0x191873,0x3bf,0x34f)],_0x26677b);_0x39dcbc={..._0x39dcbc,'status':_0x10b45c(0x2e7,_0xdd2b31._0x1b59eb,_0xdd2b31._0x53d17f,0x488),'errorMessage':_0x22c39c};throw new ToolExecutionError(_0x22c39c,{...createRunSummary(_0x39dcbc),'aborted':!![],'errorMessage':_0x22c39c});}const _0x2762fc=getRunTerminalErrorMessage(_0x39dcbc[_0x10b45c(0x4da,_0xdd2b31._0x5b5e96,_0xdd2b31._0x44a6cd,0x5b5)])??(_0x203f3e instanceof Error?_0x203f3e['message']:String(_0x203f3e))??_0x10b45c(_0xdd2b31._0x1e1068,0x325,0x415,0x3eb)+_0x39dcbc[_0x10b45c(0x311,0x36d,_0xdd2b31._0x5a644a,0x2f5)]+_0x1f0fe7(_0xdd2b31._0x43b26d,_0xdd2b31._0x3bd510,_0xdd2b31._0x5d108f,-0x78);_0x39dcbc={..._0x39dcbc,'status':'failed','errorMessage':_0x2762fc};throw new ToolExecutionError(_0x2762fc,{...createRunSummary(_0x39dcbc),'errorMessage':_0x2762fc});}finally{_0x401367();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x3937b2){return[createAssignTaskTool(_0x3937b2)];}import*as _0x16d582 from'path';function buildDescription2(_0x121474){const _0xe09aba={_0x242b34:0x130,_0x189d61:0xd2,_0x2ca072:0x6b,_0x44b5bf:0x38,_0x5bae76:0x34a,_0x5d3604:0x24,_0x1a6f64:0x4f,_0x5fd110:0xd5,_0x2b4978:0x317,_0x41bf05:0x3fe,_0x519c08:0x1ce,_0x149d7d:0x79,_0x4b090c:0x1e7},_0x213a12={_0x4f52cf:0x4cc,_0x5cd46b:0xcb};function _0x2061f9(_0x6c0d69,_0xcb2334,_0x99282a,_0x3bed3c){return _0x4d40c0(_0x6c0d69-0x1c,_0x3bed3c-_0x213a12._0x4f52cf,_0x99282a-_0x213a12._0x5cd46b,_0x99282a);}if(_0x121474[_0x3b9ff4(_0xe09aba._0x242b34,_0xe09aba._0x189d61,0x102,_0xe09aba._0x2ca072)]===0x0)return _0x3b9ff4(-0x2a,-0x2c,-0x86,_0xe09aba._0x44b5bf);const _0x4a17b3=[_0x2061f9(0x2fe,0x275,_0xe09aba._0x5bae76,0x33c),_0x3b9ff4(0x97,-_0xe09aba._0x5d3604,-0x9b,-0x1a),_0x3b9ff4(-_0xe09aba._0x1a6f64,_0xe09aba._0x5fd110,0x54,0x11),_0x2061f9(0x306,0x549,_0xe09aba._0x2b4978,_0xe09aba._0x41bf05),..._0x121474[_0x3b9ff4(0x129,0x2b0,_0xe09aba._0x519c08,0xb5)](_0x393064=>'-\x20'+_0x393064[_0x3b9ff4(-0x12c,-0x1a5,-0x45,0x12a)]+':\x20'+_0x393064[_0x3b9ff4(-0x15d,-0x106,0x18,0x60)])];function _0x3b9ff4(_0x1029cd,_0x51838d,_0x47fb0f,_0x1eca61){return _0xf90728(_0x51838d,_0x51838d-0x120,_0x47fb0f-0x7c,_0x1eca61-0x1d0);}return _0x4a17b3[_0x3b9ff4(_0xe09aba._0x149d7d,0x138,_0xe09aba._0x4b090c,0x2f7)]('\x0a');}function createLoadSkillTool(_0x20ca8f){const _0x45a739={_0x1c83b1:0x47b,_0x47d4fc:0x3a0,_0x546308:0x408,_0x517982:0x40b,_0x3b6576:0x3cb,_0x450e4e:0x2f4,_0xded6ec:0x21f},_0x3edf20={_0x22721d:0x2c5,_0x41f6c7:0x2e0,_0x5f4cf7:0x338,_0x1fa661:0x38b,_0x19dd4a:0x168,_0x125df2:0x497,_0x2558fb:0x39e,_0x350420:0x486,_0x50cb71:0xa,_0x26576e:0xf7,_0x2be8ff:0x15d,_0x37091b:0x375,_0x27c329:0xcf,_0x33d807:0x12b,_0xd35187:0xc1,_0x23dd4b:0x34a,_0x4e0838:0x236,_0x357431:0x345,_0x52453b:0x245,_0x23dbb5:0x4c6,_0x31636e:0x27,_0x3020b5:0x2a6,_0x9e5e91:0x387,_0x45eecf:0x2f6,_0x429b8a:0x306,_0x518fc3:0x31d,_0x276392:0x128,_0x396a11:0x172,_0x2dbd4c:0xf5,_0x223f93:0x5c3,_0x4836f6:0x45a,_0x55e80e:0x14c,_0x88e49c:0x3d0,_0x44724e:0x28d,_0xdc9633:0x1a1,_0x4707c0:0x30f,_0x57bbd4:0x241,_0x332f64:0x2c9,_0x29c521:0x196,_0x155f2d:0x206,_0x2e5c25:0x48b,_0x58ac67:0x4b9,_0x4fef37:0x19f,_0x45805e:0x2e2,_0x1bcef:0x3a8,_0x5e3b79:0x68},_0x1e18e8={_0x226632:0x18,_0x34b504:0xce},_0x2bec32={_0x4c36c4:0x7f},_0x4306fe={_0x452909:0x18d},_0x1f9541={_0x4032e0:0x18e,_0x30f6bc:0x5b7};function _0x221369(_0x44e696,_0xd2646,_0x590a2d,_0x43b76d){return _0x4d40c0(_0x44e696-_0x1f9541._0x4032e0,_0xd2646-_0x1f9541._0x30f6bc,_0x590a2d-0x1b8,_0x43b76d);}function _0x33a9ff(_0x10ade9,_0x29fd5c,_0x3d7604,_0x4cef1c){return _0xf90728(_0x10ade9,_0x29fd5c-0x78,_0x3d7604-0x3b5,_0x4cef1c-_0x4306fe._0x452909);}const _0x1276ee=new Map(_0x20ca8f[_0x221369(_0x45a739._0x1c83b1,0x4de,_0x45a739._0x47d4fc,0x3ad)]['map'](_0x53ea56=>[_0x53ea56[_0x221369(0x4fa,0x3b0,0x249,0x469)],_0x53ea56])),_0x3b15fb=buildDescription2(_0x20ca8f[_0x33a9ff(0x4d6,0x53c,0x422,0x576)]);return defineTool({'name':'LoadSkill','description':_0x3b15fb,'inputSchema':{'type':_0x33a9ff(0x2f6,0x2be,_0x45a739._0x546308,_0x45a739._0x517982),'properties':{'name':{'type':_0x33a9ff(0x284,0x393,0x3df,0x501)}},'required':[_0x33a9ff(0x19e,_0x45a739._0x3b6576,_0x45a739._0x450e4e,_0x45a739._0xded6ec)]},async *'execute'(_0x58a6ed){const _0x49b13a=_0x1276ee[_0x1adf1f(0x3fd,0x340,0x2ce,_0x3edf20._0x22721d)](_0x58a6ed[_0x3f5d73(_0x3edf20._0x41f6c7,0x177,0x2e2,0x3a7)]);function _0x1adf1f(_0x57d3f7,_0x4802c7,_0x48b0f1,_0x4ae38d){return _0x221369(_0x57d3f7-0x2a,_0x48b0f1- -0x23e,_0x48b0f1-_0x2bec32._0x4c36c4,_0x57d3f7);}if(!_0x49b13a){const _0x8290c0=Array['from'](_0x1276ee[_0x3f5d73(_0x3edf20._0x5f4cf7,_0x3edf20._0x1fa661,0x277,_0x3edf20._0x19dd4a)]())[_0x1adf1f(0x41b,_0x3edf20._0x125df2,_0x3edf20._0x2558fb,_0x3edf20._0x350420)](',\x20');throw new ToolExecutionError(_0x1adf1f(_0x3edf20._0x50cb71,_0x3edf20._0x26576e,0x142,_0x3edf20._0x2be8ff)+_0x58a6ed[_0x3f5d73(0x268,0x258,0x2e2,_0x3edf20._0x37091b)]+_0x1adf1f(-0x2d,_0x3edf20._0x27c329,_0x3edf20._0x33d807,_0x3edf20._0xd35187)+_0x8290c0,{'name':_0x58a6ed[_0x3f5d73(_0x3edf20._0x23dd4b,_0x3edf20._0x4e0838,0x2e2,0x1c1)]});}const _0x255fc2=await _0x20ca8f[_0x1adf1f(0x341,_0x3edf20._0x357431,_0x3edf20._0x52453b,0x174)](_0x49b13a);function _0x3f5d73(_0x153f80,_0x32036b,_0x2965ad,_0x4b5ac7){return _0x221369(_0x153f80-_0x1e18e8._0x226632,_0x2965ad- -_0x1e18e8._0x34b504,_0x2965ad-0xf7,_0x32036b);}const _0x31f110=_0x49b13a[_0x3f5d73(0x498,_0x3edf20._0x23dbb5,0x50a,0x441)][_0x1adf1f(_0x3edf20._0x31636e,0x23d,0x176,_0x3edf20._0x3020b5)]??_0x16d582[_0x1adf1f(_0x3edf20._0x9e5e91,0x472,0x392,_0x3edf20._0x45eecf)](_0x49b13a[_0x3f5d73(0x5d3,0x62e,0x50a,0x563)][_0x3f5d73(0x32b,0x2be,_0x3edf20._0x429b8a,_0x3edf20._0x518fc3)]),_0x472972=['##\x20Skill:\x20'+_0x255fc2[_0x1adf1f(0x1d9,_0x3edf20._0x276392,_0x3edf20._0x396a11,_0x3edf20._0x2dbd4c)],'',_0x255fc2[_0x3f5d73(_0x3edf20._0x223f93,0x517,_0x3edf20._0x4836f6,0x333)],'',_0x1adf1f(_0x3edf20._0x55e80e,_0x3edf20._0x88e49c,_0x3edf20._0x44724e,_0x3edf20._0xdc9633),_0x1adf1f(0x1c5,_0x3edf20._0x4707c0,0x225,_0x3edf20._0x57bbd4)+_0x49b13a[_0x3f5d73(0x5fc,0x638,0x50a,0x651)][_0x1adf1f(0x1ba,_0x3edf20._0x332f64,_0x3edf20._0x29c521,_0x3edf20._0x155f2d)],_0x3f5d73(_0x3edf20._0x2e5c25,0x3d8,_0x3edf20._0x58ac67,0x540)+_0x31f110]['join']('\x0a');return yield createToolOutput(_0x472972,{'id':_0x255fc2['id'],'name':_0x255fc2[_0x3f5d73(_0x3edf20._0x4fef37,0x18d,_0x3edf20._0x45805e,0x16e)],'path':_0x49b13a[_0x3f5d73(_0x3edf20._0x1bcef,0x4dc,0x50a,0x5e8)][_0x1adf1f(_0x3edf20._0x5e3b79,0x232,_0x3edf20._0x29c521,0x27a)],'baseDirectory':_0x31f110}),void 0x0;}});}var TODO_STATUSES=new Set([_0x4d40c0(-0x20a,-0x1a5,-0x2af,-0x250),_0xf90728(0x6,-0x68,-0x1e,-0xd2),'completed']),TODO_PRIORITIES=new Set([_0xf90728(-0x254,-0x72,-0x161,-0x143),_0x4d40c0(-0x210,-0xb0,0xb7,0x1c),'low']);function isTodoStatus(_0x1ed145){return typeof _0x1ed145==='string'&&TODO_STATUSES['has'](_0x1ed145);}function isTodoPriority(_0x5a9f25){const _0x37b869={_0x33eaa2:0x4e9,_0x337d37:0x3a3},_0x4d6427={_0xdd7181:0x141,_0x586d31:0x379,_0x39884f:0x1d5};function _0x3c87b8(_0x424961,_0x173852,_0x5a8069,_0x191776){return _0xf90728(_0x173852,_0x173852-_0x4d6427._0xdd7181,_0x191776-_0x4d6427._0x586d31,_0x191776-_0x4d6427._0x39884f);}return typeof _0x5a9f25===_0x3c87b8(0x354,0x460,_0x37b869._0x33eaa2,_0x37b869._0x337d37)&&TODO_PRIORITIES['has'](_0x5a9f25);}var TodoStore=class{[_0x4d40c0(-0xe8,-0x65,-0x19b,0xcb)]=new Map();[_0xf90728(-0x13b,-0xda,-0x10c,-0x246)](_0x3d2881){const _0x2f29ac={_0x1b34c8:0xde,_0x2e75e9:0x3d,_0x200cc8:0x44},_0x56f307={_0xe28105:0x67},_0x34a9db={_0xe0b051:0x1ba,_0x4fd1ff:0xdf};function _0x5d357e(_0x29fcdb,_0x27bc05,_0x39f5ac,_0x1056d1){return _0xf90728(_0x1056d1,_0x27bc05-_0x34a9db._0xe0b051,_0x27bc05- -_0x34a9db._0x4fd1ff,_0x1056d1-0xe1);}function _0x36cb62(_0x1eb0e1,_0x1dc586,_0xe65893,_0x278e74){return _0x4d40c0(_0x1eb0e1-0x132,_0xe65893- -_0x56f307._0xe28105,_0xe65893-0x120,_0x1dc586);}return this[_0x5d357e(0xad,0x2,-0x15f,-_0x2f29ac._0x1b34c8)][_0x5d357e(_0x2f29ac._0x2e75e9,-_0x2f29ac._0x200cc8,-0x164,-0xa5)](_0x3d2881)??[];}['setTodos'](_0x361e47,_0x694ca7){const _0xed83b2={_0x10deab:0x16b,_0x117628:0x234,_0x1e1d03:0x49c,_0x42ba21:0x53f},_0x4214b4={_0x3c9bd3:0x1b2},_0x59435b={_0x86e60:0x1ad,_0xe12e13:0x1d0};function _0x5d3ef6(_0x126e4a,_0x3b9b2d,_0x4fa296,_0x40790d){return _0x4d40c0(_0x126e4a-_0x59435b._0x86e60,_0x4fa296-_0x59435b._0xe12e13,_0x4fa296-0x1e1,_0x3b9b2d);}function _0x52ed78(_0x292d6c,_0x1f5d63,_0x3a91a0,_0x3b527d){return _0x4d40c0(_0x292d6c-0x172,_0x3a91a0-0x59c,_0x3a91a0-_0x4214b4._0x3c9bd3,_0x292d6c);}this[_0x5d3ef6(0x22f,0x54,_0xed83b2._0x10deab,_0xed83b2._0x117628)][_0x52ed78(_0xed83b2._0x1e1d03,0x529,0x5a9,_0xed83b2._0x42ba21)](_0x361e47,_0x694ca7);}[_0xf90728(-0x243,-0x212,-0x139,-0x168)](_0x22ad24){const _0x3089e8={_0x5a7957:0x14f,_0x4fc7bb:0x149,_0x2d73b5:0x24c,_0x2bb079:0xe1,_0x52ef42:0x142,_0x9ef636:0x13c,_0x53b771:0xec,_0x23a850:0x1a8,_0x4dc909:0x74,_0x524b16:0x64,_0xcdbee4:0xe9,_0x4786af:0x66,_0x4dd4ed:0x3ec,_0x841d2:0x378},_0x1f34bf={_0xeb223c:0x253,_0x5b9650:0x116};function _0x5d0c90(_0x105a2d,_0x348cdf,_0x11367d,_0x30d080){return _0xf90728(_0x11367d,_0x348cdf-0xc7,_0x348cdf-0xc3,_0x30d080-0xc6);}const _0x5ace47=this['getTodos'](_0x22ad24),_0x344b0f={'total':_0x5ace47[_0x5d0c90(_0x3089e8._0x5a7957,_0x3089e8._0x4fc7bb,0x11c,0x80)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x5bbcea(_0x13ee61,_0x2e9296,_0x344593,_0x47bf0b){return _0xf90728(_0x344593,_0x2e9296-0xe6,_0x2e9296-_0x1f34bf._0xeb223c,_0x47bf0b-_0x1f34bf._0x5b9650);}for(const _0x370281 of _0x5ace47){if(_0x370281[_0x5d0c90(_0x3089e8._0x2d73b5,_0x3089e8._0x2bb079,_0x3089e8._0x52ef42,-0x64)]===_0x5d0c90(_0x3089e8._0x9ef636,0x64,-_0x3089e8._0x53b771,_0x3089e8._0x23a850))_0x344b0f[_0x5d0c90(_0x3089e8._0x4dc909,_0x3089e8._0x524b16,-0x28,-_0x3089e8._0xcdbee4)]+=0x1;else{if(_0x370281[_0x5d0c90(0x117,0xe1,0x1b6,-_0x3089e8._0x4786af)]==='in_progress')_0x344b0f['inProgress']+=0x1;else _0x344b0f[_0x5bbcea(_0x3089e8._0x4dd4ed,0x318,_0x3089e8._0x841d2,0x217)]+=0x1;}}return _0x344b0f;}};function validateTodos(_0x5ef240){const _0x4787aa={_0x235034:0xba,_0x54f395:0x55,_0x2cc673:0x41,_0x2cbc07:0x1e,_0x33028f:0x9f,_0x10eeb3:0x82,_0x38b26a:0xfe,_0xfbcf90:0x179,_0x27a782:0x14d,_0x4c98af:0xf7,_0x1b763c:0x265,_0x32493c:0x261,_0x491c1d:0x2,_0x1cf50e:0x69,_0x168e96:0x72,_0x476e95:0x7d,_0x404530:0x20f,_0x5355af:0x176,_0x1b0451:0x173,_0x3a7c1f:0x1d,_0xf3f1ac:0x192,_0x1b8cbe:0x35,_0x123cf2:0xb8,_0x1b4fb1:0x2c,_0x3f191e:0x15f,_0x27d471:0xd9,_0x54f669:0x1a8,_0x56b6cc:0x1a5,_0x6bceb2:0xe5,_0x2ac66a:0xe6,_0x5320e7:0x6f,_0x448469:0x54,_0x310cca:0x21b,_0x3a8d0b:0xfe,_0x25dc30:0x1b6,_0x57c72f:0x2bb,_0x269609:0x133,_0x437dfa:0x109,_0xe8f2c2:0x1a,_0x2f6be7:0xb8,_0x300ea4:0xac,_0x44919a:0x5a,_0x54be0a:0x167,_0x1549a1:0x16a,_0x36c2ef:0xca,_0x13967f:0x273,_0xfa67ac:0x2e,_0x15ec39:0x1a0,_0x248cc7:0x15e,_0x58019e:0xfc,_0x159934:0xa4,_0x5a72dd:0xa6,_0x5670f2:0x333,_0xc9cc66:0x9d,_0x1d6fe6:0x1f2,_0x521cd6:0x365,_0x1f9340:0x265,_0x4fe599:0x315,_0x48098b:0x260,_0x281ca2:0x219,_0x202400:0xd8,_0x162b81:0x17c,_0x2a79b9:0x1fa,_0x18decb:0x133,_0x5d6e26:0x9f,_0x3bdee1:0x53,_0x518563:0x19c},_0x4b0570={_0x3c271e:0x71,_0x54cfe8:0x73};if(!Array[_0x3b345c(_0x4787aa._0x235034,-_0x4787aa._0x54f395,-_0x4787aa._0x2cc673,-0x134)](_0x5ef240[_0x422032(-_0x4787aa._0x2cbc07,-_0x4787aa._0x33028f,-0x1cf,-_0x4787aa._0x10eeb3)])||_0x5ef240['todos'][_0x3b345c(-0x25d,-0x133,-_0x4787aa._0x38b26a,-0x1db)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x422032(_0x4787aa._0xfbcf90,_0x4787aa._0x27a782,0x176,_0x4787aa._0x4c98af)});function _0x422032(_0x2398c6,_0x45fa74,_0x434f65,_0x5cdf50){return _0x4d40c0(_0x2398c6-0x51,_0x5cdf50-0x170,_0x434f65-0x1a3,_0x2398c6);}for(let _0x741905=0x0;_0x741905<_0x5ef240[_0x422032(-0x6e,0x5e,0x11,-0x82)]['length'];_0x741905+=0x1){const _0x4bfcd0=_0x5ef240[_0x3b345c(-0x288,-_0x4787aa._0x1b763c,-_0x4787aa._0x32493c,-0x391)][_0x741905];if(!_0x4bfcd0||typeof _0x4bfcd0!==_0x422032(-_0x4787aa._0x491c1d,_0x4787aa._0x1cf50e,-_0x4787aa._0x168e96,_0x4787aa._0x476e95))throw new ToolExecutionError(_0x3b345c(-0x9a,-_0x4787aa._0x404530,-0x304,-_0x4787aa._0x5355af)+(_0x741905+0x1)+':\x20todo\x20item\x20is\x20required',{'error':'invalid_todo_item'});if(typeof _0x4bfcd0['id']!=='string'||_0x4bfcd0['id'][_0x422032(-0x12a,-0x11f,_0x4787aa._0x1b0451,_0x4787aa._0x3a7c1f)]()[_0x422032(-0xaf,_0x4787aa._0xf3f1ac,0x39,0xb0)]===0x0)throw new ToolExecutionError(_0x422032(-_0x4787aa._0x1b8cbe,-_0x4787aa._0x123cf2,-0xf,-_0x4787aa._0x1b4fb1)+(_0x741905+0x1)+':\x20id\x20required',{'error':_0x422032(_0x4787aa._0x3f191e,_0x4787aa._0x27d471,0x10f,_0x4787aa._0x54f669)});if(typeof _0x4bfcd0[_0x3b345c(-_0x4787aa._0x56b6cc,-_0x4787aa._0x6bceb2,0x8c,-0x25d)]!==_0x422032(-_0x4787aa._0x2ac66a,0x33,-_0x4787aa._0x5320e7,_0x4787aa._0x448469)||_0x4bfcd0[_0x422032(0x1d4,-0x5c,_0x4787aa._0x310cca,_0x4787aa._0x3a8d0b)][_0x3b345c(-_0x4787aa._0x25dc30,-0x1c6,-0x207,-_0x4787aa._0x57c72f)]()[_0x3b345c(-_0x4787aa._0x3f191e,-_0x4787aa._0x269609,-0x1ca,-_0x4787aa._0x437dfa)]===0x0)throw new ToolExecutionError(_0x422032(0xee,_0x4787aa._0xe8f2c2,_0x4787aa._0x2f6be7,-0x2c)+(_0x741905+0x1)+_0x422032(_0x4787aa._0x300ea4,_0x4787aa._0x44919a,0xef,_0x4787aa._0x54be0a),{'error':_0x3b345c(-_0x4787aa._0x1549a1,-0x13d,-0x16b,-_0x4787aa._0x36c2ef)});if(!isTodoStatus(_0x4bfcd0[_0x3b345c(-_0x4787aa._0x13967f,-0x19b,-0x26,-_0x4787aa._0xfa67ac)]))throw new ToolExecutionError('Todo\x20'+(_0x741905+0x1)+_0x422032(0xf7,_0x4787aa._0x15ec39,0x25d,_0x4787aa._0x248cc7),{'error':_0x422032(-_0x4787aa._0x58019e,-0x69,-_0x4787aa._0x159934,-_0x4787aa._0x5a72dd)});if(!isTodoPriority(_0x4bfcd0['priority']))throw new ToolExecutionError(_0x3b345c(-0x36e,-0x20f,-0x383,-_0x4787aa._0x5670f2)+(_0x741905+0x1)+':\x20invalid\x20priority',{'error':_0x3b345c(-_0x4787aa._0xc9cc66,-0x1e6,-_0x4787aa._0x1d6fe6,-0x12b)});}function _0x3b345c(_0x909aad,_0x5ee961,_0x4ddebf,_0x2dc6f9){return _0x4d40c0(_0x909aad-_0x4b0570._0x3c271e,_0x5ee961- -_0x4b0570._0x54cfe8,_0x4ddebf-0x12b,_0x2dc6f9);}const _0x1e8af3=_0x5ef240[_0x3b345c(-_0x4787aa._0x521cd6,-_0x4787aa._0x1f9340,-_0x4787aa._0x4fe599,-_0x4787aa._0x48098b)][_0x422032(_0x4787aa._0x281ca2,0x24,_0x4787aa._0x202400,_0x4787aa._0x162b81)](_0x182c8b=>_0x182c8b['id']);if(new Set(_0x1e8af3)['size']!==_0x1e8af3[_0x3b345c(-_0x4787aa._0x2a79b9,-_0x4787aa._0x18decb,-0x1bf,-0x226)])throw new ToolExecutionError(_0x3b345c(-_0x4787aa._0x5d6e26,-0xb6,0x6f,-0x201),{'error':_0x422032(-_0x4787aa._0x3bdee1,_0x4787aa._0x518563,-0xf8,0x59)});}function createStatsProgress(_0x1154c6){const _0x2d495a={_0x242374:0x6a,_0x3b59c9:0x111,_0x341bda:0x1d,_0x4cf951:0xd3,_0x3cd315:0x6a},_0xf174a1={_0x2be0e8:0x332,_0x13f204:0x1a},_0x24fe6c={_0x19cfdf:0xae};function _0x4607a4(_0x210a07,_0xb751b4,_0x23aba1,_0x9e530d){return _0x4d40c0(_0x210a07-_0x24fe6c._0x19cfdf,_0x23aba1-0x1c3,_0x23aba1-0x131,_0x210a07);}function _0x3e35b4(_0xb8b093,_0x2a27f2,_0x551a41,_0x52b294){return _0x4d40c0(_0xb8b093-0x160,_0x551a41-_0xf174a1._0x2be0e8,_0x551a41-_0xf174a1._0x13f204,_0x52b294);}return _0x1154c6[_0x4607a4(-0xcc,-0x15b,-_0x2d495a._0x242374,0xc)]>0x0?Math[_0x4607a4(0x148,_0x2d495a._0x3b59c9,0x194,0x254)](_0x1154c6[_0x4607a4(0x122,-_0x2d495a._0x341bda,0x142,_0x2d495a._0x4cf951)]/_0x1154c6[_0x4607a4(-0x1c9,-0x1,-_0x2d495a._0x3cd315,0x5)]*0x64)+'%':'0%';}function createReminderItems(_0x6cca6c){return _0x6cca6c['map'](_0x2b3932=>({'content':_0x2b3932['content'],'status':_0x2b3932['status'],'id':_0x2b3932['id']}));}function createStructuredResult(_0x428f9a,_0x48490c,_0x39d780,_0x48b73a){const _0x304c7a={_0x4efcb6:0x274,_0x3ab118:0x281,_0x2c6f73:0x19e,_0x2da397:0x1ad},_0x174a00={_0x28a795:0xce,_0x5b2f75:0x123},_0x493845={_0x47263c:0x82,_0x2e09be:0x129,_0x5474aa:0x177};function _0xa56276(_0xdd8a56,_0x545f3a,_0x422a04,_0x3b5bd4){return _0xf90728(_0x422a04,_0x545f3a-_0x493845._0x47263c,_0x545f3a-_0x493845._0x2e09be,_0x3b5bd4-_0x493845._0x5474aa);}function _0x5bac6e(_0x52d9ea,_0x229e2f,_0x2a6dee,_0x7d38d6){return _0x4d40c0(_0x52d9ea-_0x174a00._0x28a795,_0x52d9ea-0x341,_0x2a6dee-_0x174a00._0x5b2f75,_0x229e2f);}return{'allCompleted':_0x48b73a,'items':_0x48490c[_0xa56276(0x31b,0x27b,_0x304c7a._0x4efcb6,0x374)](_0x4cda1c=>({'id':_0x4cda1c['id'],'content':_0x4cda1c['content'],'status':_0x4cda1c['status'],'priority':_0x4cda1c[_0xa56276(0x251,0x1b3,0x1a4,0x194)],'createdAt':_0x4cda1c[_0x5bac6e(0x13c,0x1c9,0x1de,0x1b7)]})),'progress':createStatsProgress(_0x39d780),'recentChanges':!![],'sessionId':_0x428f9a,'stats':_0x39d780,'todosWritten':_0x48490c[_0x5bac6e(_0x304c7a._0x3ab118,0x177,_0x304c7a._0x2c6f73,_0x304c7a._0x2da397)]};}function createOutputText(_0x59bd65,_0x2c7eb4){const _0x5e6d64={_0x2d4fea:0x3b3,_0x2548f1:0x186,_0x462de4:0x25e,_0x928968:0x35e,_0x235d04:0x2e4,_0x4e9cc4:0x176,_0x5a8326:0x1cd,_0x2e07c7:0x1e0,_0x36d8c3:0x1f3,_0xe8346d:0x18d},_0x1acb21={_0x138522:0x10c};function _0x480584(_0x2c079e,_0x33f1e4,_0xfad04,_0x32c48a){return _0xf90728(_0x2c079e,_0x33f1e4-0x89,_0xfad04-0x179,_0x32c48a-_0x1acb21._0x138522);}const _0x317f6e=JSON[_0x480584(_0x5e6d64._0x2d4fea,_0x5e6d64._0x2548f1,_0x5e6d64._0x462de4,0x2f8)](createReminderItems(_0x59bd65));function _0x31424c(_0x1b548f,_0x139bc9,_0x3c04e0,_0x4c43b1){return _0x4d40c0(_0x1b548f-0x154,_0x3c04e0-0x41b,_0x3c04e0-0x10f,_0x4c43b1);}if(_0x2c7eb4)return'All\x20'+_0x59bd65[_0x31424c(0x37a,0x2fd,0x35b,0x2ac)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x317f6e+_0x480584(0x351,0x21d,0x1f3,_0x5e6d64._0x928968);return _0x480584(_0x5e6d64._0x235d04,0x14f,_0x5e6d64._0x4e9cc4,0x21c)+_0x317f6e+_0x480584(_0x5e6d64._0x5a8326,_0x5e6d64._0x2e07c7,_0x5e6d64._0x36d8c3,_0x5e6d64._0xe8346d);}function createTodoWriteTool(_0x36e11d=new TodoStore()){const _0x32a3a7={_0x22a6d7:0x1dc,_0x3b9d4f:0x1dd,_0x1b43e0:0x2a7,_0x15e599:0x10e,_0x2b4c3a:0x9c,_0xd9fbc2:0x392,_0x1b2bc7:0x35d,_0x4ff993:0x3e4,_0x177854:0x369,_0x46354d:0x34b,_0x4d1575:0x11e,_0x46dc23:0x15b,_0xb9ae5b:0x473,_0xb2acc5:0x1eb,_0x2cce3d:0x35d,_0x5e3485:0x488,_0x4feb33:0x366,_0xef63fa:0x521,_0x362c56:0x18d,_0xe72a72:0x293,_0x95ddcf:0x1ed},_0x19da23={_0x551ad5:0x302,_0x583020:0x500,_0x5dee67:0x2e0,_0x1b852c:0x3f5,_0xe0dd6b:0x527,_0x483323:0x42d,_0x27bc7b:0x3c8,_0x3cd7f6:0x332,_0x5d303c:0x31b,_0x31824f:0x358,_0x459b15:0x4a2},_0x79c52={_0x554689:0x277},_0x3249f6={_0x52d22d:0x1b9};function _0x43ff28(_0x4bb3ad,_0x4912c1,_0x2f7f9e,_0x462abc){return _0x4d40c0(_0x4bb3ad-0x18a,_0x2f7f9e-0x485,_0x2f7f9e-_0x3249f6._0x52d22d,_0x4bb3ad);}function _0x22b2de(_0x2059e5,_0x23d4ec,_0x3deb8e,_0x3f0d26){return _0x4d40c0(_0x2059e5-0x11,_0x3deb8e-_0x79c52._0x554689,_0x3deb8e-0x16,_0x2059e5);}return defineTool({'name':'TodoWrite','description':_0x43ff28(0x349,_0x32a3a7._0x22a6d7,_0x32a3a7._0x3b9d4f,_0x32a3a7._0x1b43e0),'inputSchema':{'type':'object','properties':{'todos':{'type':_0x22b2de(_0x32a3a7._0x15e599,0x1b5,_0x32a3a7._0x2b4c3a,0x197),'items':{'type':_0x43ff28(0x40c,0x342,_0x32a3a7._0xd9fbc2,_0x32a3a7._0x1b2bc7),'properties':{'content':{'type':'string'},'status':{'type':_0x43ff28(_0x32a3a7._0x4ff993,0x230,_0x32a3a7._0x177854,_0x32a3a7._0x46354d)},'priority':{'type':'string'},'id':{'type':'string'},'createdAt':{'type':_0x22b2de(0x16b,_0x32a3a7._0x4d1575,_0x32a3a7._0x46dc23,0x1ba)}},'required':['content',_0x43ff28(_0x32a3a7._0xb9ae5b,_0x32a3a7._0xb2acc5,_0x32a3a7._0x2cce3d,_0x32a3a7._0x5e3485),_0x43ff28(_0x32a3a7._0x4feb33,_0x32a3a7._0xef63fa,0x3c9,0x362),'id']}}},'required':[_0x43ff28(0x2a7,_0x32a3a7._0x362c56,_0x32a3a7._0xe72a72,_0x32a3a7._0x95ddcf)]},async *'execute'(_0x336086,_0xe304ba){const _0x42ed22={_0x1dde0b:0x55,_0x47b226:0x1da,_0x40f78e:0x2e},_0x58b4ee=_0x336086;function _0x272ed3(_0x21d19d,_0x1a19b2,_0x3de3d4,_0x216652){return _0x22b2de(_0x3de3d4,_0x1a19b2-_0x42ed22._0x1dde0b,_0x21d19d-_0x42ed22._0x47b226,_0x216652-_0x42ed22._0x40f78e);}validateTodos(_0x58b4ee);const _0x24f9bb=_0xe304ba[_0xad7c22(0x45f,0x37e,_0x19da23._0x551ad5,_0x19da23._0x583020)]||'default',_0x95272f=new Date()['toISOString'](),_0x2e01ab=_0x58b4ee[_0xad7c22(_0x19da23._0x5dee67,0x21a,0x37a,0x16b)][_0x272ed3(0x45d,_0x19da23._0x1b852c,_0x19da23._0xe0dd6b,0x5ce)](_0x5cd9d2=>({'id':_0x5cd9d2['id'],'content':_0x5cd9d2[_0xad7c22(0x460,0x4da,0x464,0x345)],'status':_0x5cd9d2[_0x272ed3(0x329,0x238,0x338,0x39e)],'priority':_0x5cd9d2[_0x272ed3(0x395,0x40e,0x46f,0x4eb)],'sessionId':_0x24f9bb,'createdAt':_0x5cd9d2[_0x272ed3(0x24c,0x31f,0x1c8,0x224)]||_0x95272f,'updatedAt':_0x95272f}));function _0xad7c22(_0x595b65,_0x58c144,_0x1e2562,_0x58cb68){return _0x22b2de(_0x58c144,_0x58c144-0xef,_0x595b65-0x25b,_0x58cb68-0xc);}_0x36e11d[_0x272ed3(_0x19da23._0x483323,0x3ad,_0x19da23._0x27bc7b,_0x19da23._0x3cd7f6)](_0x24f9bb,_0x2e01ab);const _0xa169c2=_0x36e11d['getStats'](_0x24f9bb),_0x43fb0e=_0x2e01ab[_0xad7c22(0x412,_0x19da23._0x5d303c,_0x19da23._0x31824f,0x3bf)]>0x0&&_0x2e01ab[_0x272ed3(0x48e,0x53f,_0x19da23._0x459b15,0x425)](_0x43e590=>_0x43e590[_0xad7c22(0x3aa,0x33c,0x4e2,0x24d)]===_0x272ed3(0x3d0,0x503,0x2d1,0x2cb));return createToolOutput(createOutputText(_0x2e01ab,_0x43fb0e),createStructuredResult(_0x24f9bb,_0x2e01ab,_0xa169c2,_0x43fb0e));}});}import{mkdir as _0x481df0,writeFile as _0x4351a5}from'fs/promises';import*as _0x5bfaff from'path';function sanitizeFileName(_0x12e4b6){const _0x1c455b={_0x2f03fe:0x28f,_0x3659ab:0x6e},_0x2f42ef={_0x5e0966:0x1ab};function _0x4b4d8a(_0x3727dc,_0x389fdf,_0x21577b,_0x145e4a){return _0xf90728(_0x21577b,_0x389fdf-_0x2f42ef._0x5e0966,_0x145e4a- -0x64,_0x145e4a-0x110);}return _0x12e4b6[_0x4b4d8a(-_0x1c455b._0x2f03fe,-_0x1c455b._0x2f03fe,-_0x1c455b._0x3659ab,-0x13b)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x44e4b2,_0x2591d9){const _0x41c3bd={_0x4f11ec:0x1b0,_0x1c6214:0x17c,_0x3ec13d:0x1c8,_0x5d6a88:0x319,_0x45eceb:0xbd,_0xd64532:0x13d,_0x38dc2b:0xe6,_0x163fbf:0x72,_0x408655:0x12,_0x368e04:0xce,_0xc2b469:0x9e,_0x5ef501:0x190,_0x4c16c8:0xea,_0x87446:0x44,_0x2f843c:0x61,_0x3f4595:0x36,_0xe6bfbb:0x245,_0x16861e:0xfc,_0x20d68a:0x14b,_0x2c9b09:0x1e9,_0x11c80a:0x12b,_0x4c71c1:0x264,_0x3c8153:0xf4,_0x6e14c0:0xc,_0x2e51e8:0x1ca,_0x2644fa:0x2ad,_0x319262:0xec,_0x22ac26:0x4a,_0x14e0b6:0x6a,_0x1c33d1:0xae,_0x187ac0:0x171,_0x3b65d8:0x2a4,_0x379d63:0x4a,_0xd21e72:0xb0,_0x19f83d:0x217,_0x5ba077:0x16f,_0x217d17:0x1b,_0x4bd429:0x1ed,_0x264888:0x147,_0x27a2a6:0xf7,_0x4845cf:0xc9,_0x576882:0x120,_0x31b397:0x1a0,_0x37677b:0x50,_0x56a605:0x113,_0x143682:0x61,_0x3ddf09:0xce,_0x41bea5:0x1e7},_0x2e8d75={_0x562f04:0x4b},{maxBytes:_0x345ab8,sessionDir:_0x4cfaa2}=_0x2591d9;if(!_0x44e4b2['output']||Buffer[_0x362627(0x139,_0x41c3bd._0x4f11ec,0x2cc,_0x41c3bd._0x1c6214)](_0x44e4b2[_0x362627(0x2b1,0x8a,0x149,_0x41c3bd._0x3ec13d)],_0x362627(0x2a1,_0x41c3bd._0x5d6a88,0x279,0x2a4))<=_0x345ab8)return _0x44e4b2;const _0x485d0d=Buffer['byteLength'](_0x44e4b2[_0x362627(_0x41c3bd._0x45eceb,_0x41c3bd._0xd64532,0x60,_0x41c3bd._0x3ec13d)],_0x52cb27(0xf3,0x126,0x23d,_0x41c3bd._0x38dc2b));if(!_0x4cfaa2){const _0x31762a=_0x44e4b2[_0x362627(0x268,0x279,_0x41c3bd._0x163fbf,0x1c8)][_0x362627(_0x41c3bd._0x408655,0x94,0x7b,_0x41c3bd._0x368e04)](0x0,_0x345ab8);return{..._0x44e4b2,'output':_0x31762a+(_0x362627(0x270,_0x41c3bd._0xc2b469,0x17b,0x1e8)+_0x345ab8+'\x20bytes\x20(original:\x20'+_0x485d0d+_0x362627(_0x41c3bd._0x5ef501,0x202,0x151,_0x41c3bd._0x4c16c8)),'meta':{..._0x44e4b2[_0x52cb27(_0x41c3bd._0x87446,-_0x41c3bd._0x2f843c,-0x4e,_0x41c3bd._0x3f4595)],'truncated':!![],'originalBytes':_0x485d0d,'transforms':[..._0x44e4b2[_0x362627(_0x41c3bd._0xe6bfbb,0x191,_0x41c3bd._0x16861e,0x11d)][_0x362627(_0x41c3bd._0x20d68a,_0x41c3bd._0x2c9b09,0x223,0x1b8)],_0x362627(0x255,0x3a8,_0x41c3bd._0x11c80a,_0x41c3bd._0x4c71c1)]}};}const _0x158628=_0x44e4b2['toolName']+'_'+sanitizeFileName(_0x44e4b2[_0x52cb27(-_0x41c3bd._0x3c8153,0x5b,0x129,-0xf9)])+_0x362627(0xe9,-0x6c,-0x110,-_0x41c3bd._0x6e14c0),_0x5a1e47=_0x5bfaff[_0x362627(0x18f,_0x41c3bd._0x2e51e8,_0x41c3bd._0x2644fa,0x29e)](_0x4cfaa2,_0x158628);await _0x481df0(_0x4cfaa2,{'recursive':!![]}),await _0x4351a5(_0x5a1e47,_0x44e4b2[_0x52cb27(_0x41c3bd._0x319262,_0x41c3bd._0x22ac26,_0x41c3bd._0x14e0b6,-_0x41c3bd._0x1c33d1)],_0x362627(0x3a7,_0x41c3bd._0x187ac0,0x2a6,_0x41c3bd._0x3b65d8));let _0x260414=_0x44e4b2[_0x52cb27(0x1ab,_0x41c3bd._0x379d63,0xdb,-0xa9)]['slice'](0x0,_0x345ab8);const _0x5d9447=_0x260414['lastIndexOf']('\x0a');_0x5d9447>_0x345ab8*0.5&&(_0x260414=_0x260414[_0x52cb27(0x2a,-_0x41c3bd._0xd21e72,-_0x41c3bd._0x19f83d,-_0x41c3bd._0x5ba077)](0x0,_0x5d9447));function _0x52cb27(_0x57bd1d,_0x459791,_0x782f06,_0xac97f1){return _0xf90728(_0x782f06,_0x459791-0x2d,_0x459791- -_0x2e8d75._0x562f04,_0xac97f1-0x2);}function _0x362627(_0x2de03b,_0x53473d,_0xb1877,_0x168ffd){return _0xf90728(_0x53473d,_0x53473d-0x191,_0x168ffd-0x133,_0x168ffd-0x19f);}const _0x7963a=['',_0x362627(0x105,0x19d,0x2cb,0x1a7),_0x52cb27(-0x33,0xf8,_0x41c3bd._0x217d17,0x10e)+_0x345ab8+'\x20bytes\x20(total:\x20'+_0x485d0d+_0x362627(0x301,0x208,0x2f3,0x25e),_0x52cb27(-_0x41c3bd._0x4bd429,-_0x41c3bd._0x264888,-0xc3,-_0x41c3bd._0x27a2a6)+_0x5a1e47,_0x52cb27(-0x177,-0x17,-0xe6,0x9d),_0x52cb27(0x276,0x11a,_0x41c3bd._0x4845cf,0x1c3)][_0x52cb27(_0x41c3bd._0x2c9b09,_0x41c3bd._0x576882,_0x41c3bd._0x31b397,0x2b)]('\x0a');return{..._0x44e4b2,'output':_0x260414+_0x7963a,'meta':{..._0x44e4b2[_0x52cb27(-_0x41c3bd._0x37677b,-0x61,_0x41c3bd._0x56a605,-0x10)],'truncated':!![],'originalBytes':_0x485d0d,'transforms':[..._0x44e4b2[_0x52cb27(0x4a,-_0x41c3bd._0x143682,0x8a,-_0x41c3bd._0x3ddf09)][_0x362627(0xd1,_0x41c3bd._0x41bea5,0x1ea,0x1b8)],'tool-output-offload']}};}function createUpdateTopicTool(){const _0x2d0f76={_0x34d9c3:0x54d,_0x53693a:0x3db,_0xb8d668:0x2c0,_0xf75220:0x26a,_0x2ec1f7:0x36e,_0x467723:0x2ab,_0x347017:0x202,_0x4a28a2:0x2c8,_0x50bd28:0x35a},_0x1213cd={_0xbfd04:0x63f,_0x444b82:0x51a,_0x242287:0x129,_0x3b84a8:0x7,_0x1841b6:0x11f,_0x527be3:0x2a,_0x433f33:0x45d,_0x5ac298:0x5aa,_0xe25ae0:0x504,_0x5f4e86:0x478,_0xa2e250:0x3cb},_0x27dccd={_0x36f1dd:0x17c},_0x14ca14={_0x154a36:0x64},_0x131812={_0x410706:0x1a1,_0x2f1c02:0xc};function _0x4a4b9d(_0x424f65,_0x3c335b,_0x480202,_0x244fd0){return _0x4d40c0(_0x424f65-_0x131812._0x410706,_0x244fd0-0x48a,_0x480202-_0x131812._0x2f1c02,_0x3c335b);}function _0x2fd4e5(_0x36e2df,_0x3693de,_0x53b170,_0x18b53e){return _0xf90728(_0x18b53e,_0x3693de-0xda,_0x53b170- -0x14,_0x18b53e-0x8e);}return defineTool({'name':_0x4a4b9d(_0x2d0f76._0x34d9c3,0x3e2,0x378,_0x2d0f76._0x53693a),'description':'Update\x20the\x20session\x20topic\x20to\x20a\x20concise\x203-6\x20word\x20noun\x20phrase\x20that\x20captures\x20the\x20current\x20subject.\x0a\x0aCall\x20this\x20tool\x20when\x20the\x20session\x27s\x20subject\x20becomes\x20clear\x20or\x20shifts\x20to\x20something\x20clearly\x20different\x20—\x20not\x20for\x20minor\x20tangents\x20or\x20clarifying\x20sub-questions.\x20If\x20nothing\x20has\x20meaningfully\x20changed,\x20do\x20not\x20call\x20it.\x0a\x0aGood\x20topic\x20(noun\x20phrase,\x203-6\x20words):\x0a\x20\x20\x22Debug\x20TS\x20generics\x20error\x22\x0a\x20\x20\x22Refactor\x20auth\x20middleware\x22\x0a\x20\x20\x22Add\x20Stripe\x20webhook\x20handler\x22\x0a\x0aBad\x20topic\x20(full\x20sentence\x20or\x20vague):\x0a\x20\x20\x22The\x20user\x20wants\x20to\x20debug\x20a\x20TypeScript\x20generics\x20error\x20in\x20their\x20project\x22\x0a\x20\x20\x22coding\x22','inputSchema':{'type':'object','properties':{'topic':{'type':_0x4a4b9d(_0x2d0f76._0xb8d668,0x20c,_0x2d0f76._0xf75220,_0x2d0f76._0x2ec1f7)}},'required':[_0x4a4b9d(_0x2d0f76._0x467723,_0x2d0f76._0x347017,_0x2d0f76._0x4a28a2,_0x2d0f76._0x50bd28)]},async *'execute'(_0x11f6b7,_0x54758b){const {topic:_0x3fd1c7}=_0x11f6b7;if(typeof _0x3fd1c7!==_0x566b59(_0x1213cd._0xbfd04,0x559,0x4ad,_0x1213cd._0x444b82)||_0x3fd1c7[_0x10b93b(-0x82,_0x1213cd._0x242287,-_0x1213cd._0x3b84a8,0xd9)]()['length']===0x0)throw new ToolExecutionError(_0x10b93b(-0x1a3,0x47,-_0x1213cd._0x1841b6,-_0x1213cd._0x527be3),{'error':_0x566b59(_0x1213cd._0x433f33,_0x1213cd._0x5ac298,0x64e,_0x1213cd._0xe25ae0)});const _0x34bfe=_0x3fd1c7[_0x566b59(_0x1213cd._0x5f4e86,_0x1213cd._0xa2e250,0x3c7,0x4e3)]();function _0x566b59(_0x55b83d,_0x32ccea,_0x55973a,_0x1bcaa0){return _0x2fd4e5(_0x55b83d-0xaa,_0x32ccea-_0x14ca14._0x154a36,_0x1bcaa0-0x504,_0x55b83d);}function _0x10b93b(_0x3191ca,_0x5e4eec,_0x35ccb5,_0x1c964d){return _0x2fd4e5(_0x3191ca-_0x27dccd._0x36f1dd,_0x5e4eec-0xc3,_0x35ccb5-0x1a,_0x3191ca);}return _0x54758b['setTopic']?.(_0x34bfe),yield createToolOutput('Topic\x20set\x20to\x20\x22'+_0x34bfe+'\x22',{'topic':_0x34bfe}),void 0x0;}});}import{readFile as _0x439bbd,stat as _0x3333a4}from'fs/promises';import*as _0x3dec85 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x4d40c0(-0x177,-0xd7,-0xae,-0x1ad),_0x4d40c0(-0x1f1,-0x2a7,-0x198,-0x340),'low',_0xf90728(0x2c6,0x94,0x185,0x2d8)]),PNG_SIGNATURE=Buffer[_0x4d40c0(-0x117,-0x1f0,-0x1a1,-0xa3)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x26fa7e,_0xb3e073){const _0x59a0b4={_0x149167:0x10f,_0x528ada:0x45,_0x4ee730:0x407,_0x157542:0x39e,_0x2219b2:0xc6,_0x5dabc5:0x19e,_0x1e7dbf:0x503,_0x1fc813:0x3ac,_0x468f0a:0x44b,_0x3549d8:0x166,_0x227957:0x196,_0x5a6ad0:0x5bc,_0x19995f:0x460,_0x3b3685:0x2ce,_0x48078c:0x45e,_0x1cd597:0x3ae,_0x1e1536:0x2e8,_0x4c6873:0xbb,_0xa4b691:0x3cf,_0xc0f0f4:0x21a,_0x514f5e:0x244,_0x31ad09:0x272,_0x10edf7:0x2d5,_0x1529e3:0x9e,_0x4d4268:0x3b2,_0x4a2e63:0x31a,_0x16da60:0x449,_0x8387cf:0x409,_0x32e95d:0x507,_0x5bf114:0x3d0,_0x298958:0x2e0,_0x2f2140:0x2c5,_0x445dac:0x1b4,_0x569099:0x316,_0x3fd687:0x346,_0x349935:0x97,_0x5cf6ca:0xfd},_0x57bc27={_0x1b09a2:0x1a7,_0x270e18:0x1e5,_0x5bb9e8:0x1e8},_0x1cf484={_0x5b80f7:0x81,_0x4fa733:0x467,_0x5252fc:0x1dd};if(_0x26fa7e[_0x529987(-_0x59a0b4._0x149167,-_0x59a0b4._0x528ada,-0xa6,-0x24)](0x0,0x8)[_0x529987(-0x3ad,-0x2ef,-0x2dd,-0x224)](PNG_SIGNATURE))return _0x25e32e(0x497,0x2a5,0x2c9,0x409);if(_0x26fa7e[0x0]===0xff&&_0x26fa7e[0x1]===0xd8&&_0x26fa7e[0x2]===0xff)return _0x25e32e(_0x59a0b4._0x4ee730,_0x59a0b4._0x157542,0x3d8,0x2c5);const _0x258b1a=_0x26fa7e['subarray'](0x0,0x6)[_0x529987(-_0x59a0b4._0x2219b2,-_0x59a0b4._0x5dabc5,-0x21e,-0xf2)](_0x25e32e(0x3c4,_0x59a0b4._0x1e7dbf,_0x59a0b4._0x1fc813,_0x59a0b4._0x468f0a));if(_0x258b1a==='GIF87a'||_0x258b1a==='GIF89a')return _0x529987(-0x1b9,-_0x59a0b4._0x3549d8,-0x210,-_0x59a0b4._0x227957);function _0x25e32e(_0x4a7a65,_0x396924,_0x2d4c14,_0x2d36c2){return _0x4d40c0(_0x4a7a65-_0x1cf484._0x5b80f7,_0x2d36c2-_0x1cf484._0x4fa733,_0x2d4c14-_0x1cf484._0x5252fc,_0x396924);}if(_0x26fa7e[_0x25e32e(_0x59a0b4._0x5a6ad0,0x593,0x4fa,_0x59a0b4._0x19995f)](0x0,0x4)['toString']('ascii')===_0x25e32e(0x29a,0x17c,_0x59a0b4._0x3b3685,0x1dc)&&_0x26fa7e['subarray'](0x8,0xc)[_0x25e32e(_0x59a0b4._0x48078c,_0x59a0b4._0x1cd597,0x383,_0x59a0b4._0x1e1536)](_0x529987(-0x1c,0x6c,-_0x59a0b4._0x4c6873,0x21))==='WEBP')return _0x25e32e(0x1ff,0x427,_0x59a0b4._0xa4b691,0x31a);const _0x36d887=_0x3dec85[_0x25e32e(_0x59a0b4._0xc0f0f4,0x2a4,0xfd,0x20e)](_0xb3e073)[_0x529987(-_0x59a0b4._0x514f5e,-_0x59a0b4._0x31ad09,-_0x59a0b4._0x10edf7,-0x2e1)]();if(_0x36d887===_0x529987(0xc0,-0x1e4,-_0x59a0b4._0x1529e3,-0x44))return _0x25e32e(_0x59a0b4._0x4d4268,_0x59a0b4._0x4a2e63,_0x59a0b4._0x16da60,_0x59a0b4._0x8387cf);if(_0x36d887===_0x25e32e(0x36a,0x4b0,_0x59a0b4._0x32e95d,0x3fb)||_0x36d887===_0x25e32e(0x30f,0x360,_0x59a0b4._0x5bf114,0x25d))return _0x25e32e(0x343,_0x59a0b4._0x298958,0x2a0,_0x59a0b4._0x2f2140);if(_0x36d887===_0x529987(-0x2ac,-0x140,-0x152,-0x266))return _0x529987(-_0x59a0b4._0x445dac,-_0x59a0b4._0x569099,-0x210,-_0x59a0b4._0x3fd687);if(_0x36d887===_0x529987(0x4b,_0x59a0b4._0x349935,-0xd4,-_0x59a0b4._0x5cf6ca))return _0x25e32e(0x31e,0x258,0x264,_0x59a0b4._0x4a2e63);function _0x529987(_0x1503d4,_0x751bd7,_0x43d71e,_0x5d96a0){return _0xf90728(_0x5d96a0,_0x751bd7-_0x57bc27._0x1b09a2,_0x43d71e- -_0x57bc27._0x270e18,_0x5d96a0-_0x57bc27._0x5bb9e8);}return void 0x0;}function normalizeDetail(_0x67f8b2){const _0x132854={_0x5f90da:0x48f,_0x57cc05:0x382,_0x2b59b9:0x20a,_0x3f7060:0xcd},_0x4e4f36={_0x1a4f16:0x146,_0x480d0f:0x19a},_0x1b3c65={_0x2d27e9:0x51e,_0x843ec7:0x16f};if(_0x67f8b2===void 0x0)return void 0x0;const _0x4b687d=_0x67f8b2[_0x31e2eb(0x2f4,0x3cb,_0x132854._0x5f90da,0x325)]()[_0x578065(-0x1a8,-0x164,-0x236,-_0x132854._0x57cc05)]();function _0x31e2eb(_0x2a54f9,_0x5c2151,_0x4cb1c2,_0x9c0b1e){return _0x4d40c0(_0x2a54f9-0x123,_0x5c2151-_0x1b3c65._0x2d27e9,_0x4cb1c2-_0x1b3c65._0x843ec7,_0x4cb1c2);}function _0x578065(_0x325792,_0x52727a,_0x30b7e2,_0x300c2d){return _0xf90728(_0x52727a,_0x52727a-0xc,_0x30b7e2- -_0x4e4f36._0x1a4f16,_0x300c2d-_0x4e4f36._0x480d0f);}if(!SUPPORTED_DETAILS['has'](_0x4b687d))throw new ToolExecutionError(_0x578065(-_0x132854._0x2b59b9,-0x1e0,-_0x132854._0x3f7060,-0xb5)+_0x67f8b2,{'detail':_0x67f8b2});return _0x4b687d;}function createViewFileTool(_0x24af1f={}){const _0x5337bf={_0x48acd3:0x110,_0x17b353:0x50b,_0x37d488:0x243,_0x5349f8:0x224,_0x16e070:0x2a6,_0x3bd15d:0x29f,_0x588a01:0x3fe,_0xc02a5f:0x41,_0x2c4f32:0x1d3,_0x5ad23:0x1a3,_0x3c03bb:0x93,_0x52633c:0x18,_0x474016:0x199,_0x265371:0xd8},_0x3811e5={_0x364ad5:0x302,_0x41afe5:0x317,_0x3be7ef:0x366,_0xf9eca4:0x317,_0x1233b2:0x200,_0x2a407b:0x22d,_0x31c329:0x272,_0x592ad7:0x1aa,_0x31f539:0x48e,_0x219f3a:0x22b,_0x195558:0x2f7,_0x158cc9:0xfd,_0x512c31:0x320,_0x4a82b4:0x580,_0x298902:0x49e,_0x1f3741:0x4a8,_0x1557b1:0x9a,_0x3a7356:0x316,_0x25c25b:0x43d,_0x542acd:0x38e,_0xc5c988:0x67c,_0x4f2f92:0x38,_0x3136a6:0x1aa,_0x2d70a2:0x20a,_0x2e5f81:0x364,_0x3935ae:0x1e3,_0x5473f0:0x38a,_0x37ae9a:0x445,_0x3046f8:0x3c0,_0x50fade:0x45f,_0x3ee2ed:0x569,_0x3790c9:0x54a,_0x9b0d58:0x3cb,_0x36146d:0x1a6,_0x5eb74f:0x30a,_0x54ac4c:0x66e,_0x3cd257:0x60a,_0x2e0a1c:0x55b,_0x39eed8:0x2ad,_0x243f61:0x638,_0x2b9e26:0x679,_0x42c4c7:0x6a1,_0x257426:0x2a1,_0x3157af:0x4d6,_0x1391dc:0x3ad},_0x331de2={_0x1ec947:0x1d6,_0x4c66a8:0x14f,_0xd4223c:0x282},_0x13950f={_0x3c586e:0x528},_0x19fde1={_0x3ebf68:0x605,_0x2747ae:0x6d},_0x45c8bc={_0x12345e:0x10b,_0x4b4f7c:0x73};function _0x5dcd5a(_0x1ad114,_0x2d1581,_0x24b23d,_0x5c558b){return _0x4d40c0(_0x1ad114-0xac,_0x5c558b-_0x45c8bc._0x12345e,_0x24b23d-_0x45c8bc._0x4b4f7c,_0x1ad114);}const _0x1817fd=_0x3dec85[_0x5dcd5a(-_0x5337bf._0x48acd3,-0x2c,-0x1b1,-0xcb)](_0x24af1f['defaultCwd']??process[_0x43e3dc(0x629,_0x5337bf._0x17b353,0x3fc,0x50f)]());function _0x43e3dc(_0x1bb88b,_0x42241e,_0x54cdfb,_0x3187ff){return _0x4d40c0(_0x1bb88b-0xce,_0x3187ff-_0x19fde1._0x3ebf68,_0x54cdfb-_0x19fde1._0x2747ae,_0x54cdfb);}const _0x328527=_0x24af1f['allowedDirs']??[],_0x41e201=_0x24af1f[_0x43e3dc(_0x5337bf._0x37d488,0x406,_0x5337bf._0x5349f8,0x363)]??DEFAULT_MAX_BYTES,_0x37288e=_0x24af1f[_0x43e3dc(_0x5337bf._0x16e070,0x4ab,_0x5337bf._0x3bd15d,_0x5337bf._0x588a01)]??_0x5dcd5a(-_0x5337bf._0xc02a5f,-_0x5337bf._0x2c4f32,-0xac,-_0x5337bf._0x5ad23);return defineTool({'name':_0x37288e,'description':_0x5dcd5a(0x1b4,-_0x5337bf._0x3c03bb,0x20a,0xa4),'inputSchema':{'type':_0x5dcd5a(0x115,-0x82,-0xdc,_0x5337bf._0x52633c),'properties':{'path':{'type':'string'},'detail':{'type':'string'}},'required':[_0x5dcd5a(0x42,-_0x5337bf._0x474016,-0x9d,-_0x5337bf._0x265371)]},async *'execute'(_0x59d2cb){const _0x40d522=resolveAllowedPath(_0x1817fd,_0x328527,_0x59d2cb[_0x1380f8(_0x3811e5._0x364ad5,0x100,0x2cb,0x1aa)]);await assertWorkspaceFile(_0x40d522);const _0x425b05=await _0x3333a4(_0x40d522);if(_0x425b05[_0x1380f8(0x3b9,_0x3811e5._0x41afe5,_0x3811e5._0x3be7ef,_0x3811e5._0xf9eca4)]>_0x41e201)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x59d2cb['path'],{'path':_0x59d2cb[_0x1380f8(_0x3811e5._0x1233b2,_0x3811e5._0x2a407b,_0x3811e5._0x31c329,_0x3811e5._0x592ad7)],'maxBytes':_0x41e201,'size':_0x425b05[_0x1380f8(0x280,_0x3811e5._0x31f539,_0x3811e5._0x219f3a,_0x3811e5._0x41afe5)]});const _0x3e8956=await _0x439bbd(_0x40d522);function _0x1d4799(_0x347e95,_0x270070,_0x36d293,_0x12858f){return _0x5dcd5a(_0x270070,_0x270070-0x45,_0x36d293-0xcd,_0x347e95-_0x13950f._0x3c586e);}function _0x1380f8(_0x1c8d0c,_0x2e8306,_0x1beef3,_0x5ea8ed){return _0x5dcd5a(_0x1beef3,_0x2e8306-_0x331de2._0x1ec947,_0x1beef3-_0x331de2._0x4c66a8,_0x5ea8ed-_0x331de2._0xd4223c);}const _0xea2e4e=detectImageMediaType(_0x3e8956,_0x40d522);if(!_0xea2e4e)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x59d2cb[_0x1d4799(0x450,0x4e2,0x4cb,0x59d)],{'path':_0x59d2cb[_0x1380f8(_0x3811e5._0x195558,_0x3811e5._0x158cc9,_0x3811e5._0x512c31,0x1aa)],'supported':[_0x1d4799(_0x3811e5._0x4a82b4,0x667,_0x3811e5._0x298902,_0x3811e5._0x1f3741),_0x1380f8(0xed,_0x3811e5._0x1557b1,0x27d,0x183),_0x1d4799(0x5c7,0x6e1,0x60c,0x575),_0x1380f8(_0x3811e5._0x3a7356,_0x3811e5._0x25c25b,0x41f,_0x3811e5._0x542acd),_0x1d4799(0x5fe,0x4cc,0x5dc,0x703)]});const _0xb2f3c1=normalizeDetail(_0x59d2cb['detail']),_0x1933e5=[_0x1d4799(0x661,_0x3811e5._0xc5c988,0x5cc,0x6ff)+_0x59d2cb[_0x1380f8(0x217,_0x3811e5._0x4f2f92,0x285,_0x3811e5._0x3136a6)],'MIME:\x20'+_0xea2e4e,'Size:\x20'+_0x425b05[_0x1380f8(_0x3811e5._0x2d70a2,_0x3811e5._0x2e5f81,_0x3811e5._0x3935ae,0x317)]+_0x1380f8(_0x3811e5._0x5473f0,0x2c2,_0x3811e5._0x37ae9a,_0x3811e5._0x3046f8)][_0x1d4799(_0x3811e5._0x50fade,_0x3811e5._0x3ee2ed,0x599,0x54b)](_0xb2f3c1?['Detail:\x20'+_0xb2f3c1]:[])[_0x1d4799(0x658,0x639,0x7bb,_0x3811e5._0x3790c9)]('\x0a'),_0x1454fb=[{'type':_0x1380f8(_0x3811e5._0x9b0d58,_0x3811e5._0x36146d,0x2ec,_0x3811e5._0x5eb74f),'source':{'type':'base64','media_type':_0xea2e4e,'data':_0x3e8956[_0x1380f8(_0x3811e5._0x31c329,0x21b,0x164,0x20e)]('base64')}},{'type':'text','text':_0x1933e5}];return yield createToolOutput(_0x1933e5,{'path':_0x59d2cb[_0x1d4799(0x450,0x3ac,0x33d,0x432)],'resolvedPath':_0x40d522,'created':_0x425b05[_0x1d4799(_0x3811e5._0x54ac4c,_0x3811e5._0x3cd257,0x565,0x663)][_0x1d4799(0x638,0x64b,0x550,_0x3811e5._0x2e0a1c)](),'modified':_0x425b05[_0x1d4799(0x409,0x56b,0x379,_0x3811e5._0x39eed8)][_0x1d4799(_0x3811e5._0x243f61,0x7ac,_0x3811e5._0x2b9e26,_0x3811e5._0x42c4c7)](),'size':_0x425b05[_0x1380f8(0x441,0x1bd,0x1f2,0x317)],'mimeType':_0xea2e4e,'encoding':_0x1380f8(_0x3811e5._0x257426,0x3e4,_0x3811e5._0x3157af,_0x3811e5._0x1391dc),..._0xb2f3c1?{'detail':_0xb2f3c1}:{}},_0x1454fb),void 0x0;}});}import _0xa56966 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x1842ed=>{const _0x450433={_0x2f8d02:0x17f,_0x280102:0x14d},_0x25e633={_0x1dc513:0xe,_0x28242d:0x257},{lookup:_0x511e14}=await import(_0x25c1a0(0x2d5,_0x450433._0x2f8d02,_0x450433._0x280102,0x48));function _0x25c1a0(_0x3fc7b8,_0x156203,_0x59a642,_0x425d25){return _0xf90728(_0x59a642,_0x156203-_0x25e633._0x1dc513,_0x156203-_0x25e633._0x28242d,_0x425d25-0x178);}return _0x511e14(_0x1842ed,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0xc6e880){const _0x3701d9={_0x182c94:0x74},_0x139fe4={_0x2d8b7b:0xd8,_0xb551c9:0x1b7,_0x26da1f:0x25},_0x2e3b10=_0xc6e880['split']('.');if(_0x2e3b10[_0x5644f4(-0x26f,-_0x3701d9._0x182c94,-0x171,-0x131)]!==0x4)return null;function _0x5644f4(_0x207695,_0x215c48,_0x1a60e0,_0x339dc0){return _0xf90728(_0x1a60e0,_0x215c48-_0x139fe4._0x2d8b7b,_0x339dc0- -_0x139fe4._0xb551c9,_0x339dc0-_0x139fe4._0x26da1f);}let _0x1cc09a=0x0;for(const _0x4abd42 of _0x2e3b10){if(!/^\d{1,3}$/['test'](_0x4abd42))return null;const _0x59423d=Number(_0x4abd42);if(_0x59423d>0xff)return null;_0x1cc09a=_0x1cc09a*0x100+_0x59423d;}return _0x1cc09a>>>0x0;}function isBlockedIpv4(_0x4d31aa){const _0x454540={_0x46fb20:0x1fe,_0x46e14d:0x36,_0x460f20:0x5,_0xfa15fd:0x22,_0x15668c:0x154,_0x3b93f8:0xed,_0x41b46f:0x1c5,_0x1ccbe6:0xa2,_0x378bab:0x1bb,_0x110d91:0x54,_0x31b011:0x11a,_0x4a422c:0x3f,_0x47e6b9:0x43,_0xf41e45:0x486,_0x2196c1:0x306},_0x3dba0b={_0xfa9582:0x39,_0x2c9ec0:0xb4},_0x4eef80={_0x5a1605:0x10f},_0x53b121=ipv4ToInt(_0x4d31aa);function _0x4e3f5b(_0x15a3a4,_0x4b92fb,_0x391d35,_0x540f09){return _0x4d40c0(_0x15a3a4-_0x4eef80._0x5a1605,_0x540f09-0x3d9,_0x391d35-0x5e,_0x15a3a4);}if(_0x53b121===null)return!![];const _0x275682=(_0x403281,_0x464801)=>{const _0x4cc8ba=ipv4ToInt(_0x403281);if(_0x4cc8ba===null)return![];const _0x20084b=_0x464801===0x0?0x0:0xffffffff<<0x20-_0x464801>>>0x0;return(_0x53b121&_0x20084b)===(_0x4cc8ba&_0x20084b);};function _0x23e750(_0x12f82f,_0x477674,_0x10b11b,_0x3b253f){return _0x4d40c0(_0x12f82f-_0x3dba0b._0xfa9582,_0x10b11b-0x97,_0x10b11b-_0x3dba0b._0x2c9ec0,_0x12f82f);}return _0x275682(_0x23e750(_0x454540._0x46fb20,-_0x454540._0x46e14d,0xc3,-_0x454540._0x460f20),0x8)||_0x275682(_0x23e750(_0x454540._0xfa15fd,-0x1b6,-_0x454540._0x15668c,-_0x454540._0x3b93f8),0x8)||_0x275682(_0x23e750(-0xa3,-_0x454540._0x41b46f,-_0x454540._0x1ccbe6,-0x4b),0xa)||_0x275682(_0x4e3f5b(_0x454540._0x378bab,_0x454540._0x110d91,0x174,0x1b4),0x8)||_0x275682('169.254.0.0',0x10)||_0x275682('172.16.0.0',0xc)||_0x275682(_0x23e750(_0x454540._0x31b011,-_0x454540._0x4a422c,-0x47,-_0x454540._0x47e6b9),0x18)||_0x275682(_0x4e3f5b(0x1f6,0x1a8,0x2f8,0x1cb),0x10)||_0x275682(_0x4e3f5b(_0x454540._0xf41e45,_0x454540._0x2196c1,0x4d2,0x3ad),0xf)||_0x275682(_0x4e3f5b(0x1a3,0x149,0x1c6,0x161),0x4)||_0x275682('240.0.0.0',0x4);}function expandIpv6(_0xa35ab8){const _0x3cda3e={_0x3f2aa1:0x58b,_0x33a899:0x234,_0x3d5044:0x2ca,_0x292f65:0x80,_0x414ab1:0x1e7,_0x57a834:0x2fe,_0x4f6320:0x2c9,_0x4029ee:0x1ea,_0x7c76cc:0x41c,_0x4f70e0:0x4fa,_0x453f9b:0x41c,_0x2b96bb:0x4ac,_0x19d62f:0x3d5,_0x384bd7:0x4f1,_0x5a8a71:0x242,_0x3f56a1:0x24c,_0x2a2b57:0x2bd,_0x384d88:0x3fc,_0x1896dd:0x348,_0x39cfdf:0x3f7,_0x56ba30:0x2b4},_0x48da97={_0x3d333b:0x1cd,_0x23138a:0xa9},_0x1ca5db={_0x28668d:0x1ab,_0x372c86:0x35e,_0x4a179c:0xa9};let _0x1c702a=_0xa35ab8,_0x4f9249;const _0x4fcf53=_0x1c702a[_0x3ad54b(0x4e6,_0x3cda3e._0x3f2aa1,0x40c,0x5e8)](':');_0x1c702a['slice'](_0x4fcf53+0x1)[_0x3632ea(0xba,0x60,0x126,_0x3cda3e._0x33a899)]('.')&&(_0x4f9249=_0x1c702a[_0x3632ea(_0x3cda3e._0x3d5044,_0x3cda3e._0x292f65,0x1b3,0x310)](_0x4fcf53+0x1),_0x1c702a=_0x1c702a['slice'](0x0,_0x4fcf53+0x1));const _0x2def72=_0x1c702a[_0x3632ea(_0x3cda3e._0x414ab1,_0x3cda3e._0x57a834,_0x3cda3e._0x4f6320,0x439)]('::');if(_0x2def72['length']>0x2)return null;const _0x3f3d52=_0x372688=>_0x372688[_0x3632ea(0x334,0x36e,0x2c9,0x3d1)](':')[_0x3ad54b(0x38e,0x3dd,0x428,0x27f)](_0xabf8ae=>_0xabf8ae['length']>0x0)[_0x3ad54b(0x4e8,0x487,0x5a2,0x37e)](_0x51906e=>Number[_0x3632ea(0x3a0,0x298,0x316,0x2b7)](_0x51906e,0x10));function _0x3632ea(_0x305401,_0x3ceabd,_0x2c16b9,_0x1ee1c8){return _0x4d40c0(_0x305401-_0x1ca5db._0x28668d,_0x2c16b9-_0x1ca5db._0x372c86,_0x2c16b9-_0x1ca5db._0x4a179c,_0x305401);}const _0x1bad4a=_0x2def72[0x0]?_0x3f3d52(_0x2def72[0x0]):[],_0x2cd082=_0x2def72[_0x3632ea(_0x3cda3e._0x4029ee,0x356,0x29e,0x331)]===0x2&&_0x2def72[0x1]?_0x3f3d52(_0x2def72[0x1]):[],_0x220d90=[];if(_0x4f9249){const _0x5c16ab=ipv4ToInt(_0x4f9249);if(_0x5c16ab===null)return null;_0x220d90['push'](_0x5c16ab>>>0x10&0xffff,_0x5c16ab&0xffff);}const _0x1790a0=[..._0x2cd082,..._0x220d90];function _0x3ad54b(_0x54d850,_0x13ec09,_0x2e53b8,_0x36b31f){return _0x4d40c0(_0x54d850-_0x48da97._0x3d333b,_0x54d850-0x4dc,_0x2e53b8-_0x48da97._0x23138a,_0x13ec09);}const _0x551003=0x8-_0x1bad4a[_0x3ad54b(_0x3cda3e._0x7c76cc,_0x3cda3e._0x4f70e0,0x42d,0x376)]-_0x1790a0[_0x3ad54b(_0x3cda3e._0x453f9b,_0x3cda3e._0x2b96bb,_0x3cda3e._0x19d62f,_0x3cda3e._0x384bd7)];if(_0x2def72[_0x3ad54b(0x41c,0x522,0x46e,0x3f0)]===0x1)return _0x1bad4a[_0x3632ea(_0x3cda3e._0x5a8a71,_0x3cda3e._0x3f56a1,0x29e,0x2a5)]+_0x1790a0[_0x3ad54b(0x41c,_0x3cda3e._0x2a2b57,_0x3cda3e._0x384d88,_0x3cda3e._0x1896dd)]===0x8?[..._0x1bad4a,..._0x1790a0]:null;if(_0x551003<0x0)return null;return[..._0x1bad4a,...new Array(_0x551003)[_0x3ad54b(0x3b8,_0x3cda3e._0x39cfdf,_0x3cda3e._0x56ba30,0x290)](0x0),..._0x1790a0];}function isBlockedIpv6(_0x227a0b){const _0x4863f3={_0x59c302:0xc8,_0x45b692:0x12c,_0x490dbe:0x19f,_0x3166d7:0xf7,_0x51f8e2:0x5d6,_0x2ce499:0x4a0,_0x1550a7:0x47b,_0x346ebf:0x11b,_0x7282ac:0x468,_0x39cc5d:0x3d8,_0x26837e:0x1f2,_0xe4948:0x350},_0x42fb38={_0x3b8351:0x2f8,_0x332600:0xd0},_0x22ff9c={_0x2e1ccf:0xe8,_0x3faa3c:0x1cd},_0x23b935=expandIpv6(_0x227a0b);if(!_0x23b935||_0x23b935[_0x34e762(0x1e8,_0x4863f3._0x59c302,_0x4863f3._0x45b692,_0x4863f3._0x490dbe)](_0x5dbc3f=>Number[_0x34e762(0x1dc,0x3da,0x1a2,0x2f6)](_0x5dbc3f)))return!![];const _0x1e973a=_0x23b935[_0x34e762(0x250,_0x4863f3._0x3166d7,0xc1,0x168)](0x0,0x7)[_0x3b77c1(0x5b6,_0x4863f3._0x51f8e2,_0x4863f3._0x2ce499,_0x4863f3._0x1550a7)](_0x54dc3e=>_0x54dc3e===0x0);if(_0x1e973a&&(_0x23b935[0x7]===0x0||_0x23b935[0x7]===0x1))return!![];if(_0x23b935[_0x34e762(0x1d8,0x1c2,_0x4863f3._0x346ebf,0x168)](0x0,0x5)[_0x34e762(_0x4863f3._0x7282ac,_0x4863f3._0x39cc5d,_0x4863f3._0x26837e,_0x4863f3._0xe4948)](_0x2bf5ce=>_0x2bf5ce===0x0)&&(_0x23b935[0x5]===0xffff||_0x23b935[0x5]===0x0)){const _0x367dbe=(_0x23b935[0x6]<<0x10|_0x23b935[0x7])>>>0x0,_0x560778=[_0x367dbe>>>0x18&0xff,_0x367dbe>>>0x10&0xff,_0x367dbe>>>0x8&0xff,_0x367dbe&0xff][_0x34e762(0x1f6,0x2dc,0x1cc,0x338)]('.');return isBlockedIpv4(_0x560778);}const _0x8b3ed1=_0x23b935[0x0];function _0x34e762(_0x1a8460,_0x14d174,_0x420a62,_0x3f6631){return _0xf90728(_0x14d174,_0x14d174-_0x22ff9c._0x2e1ccf,_0x3f6631-_0x22ff9c._0x3faa3c,_0x3f6631-0xe3);}if((_0x8b3ed1&0xff00)===0xfc00||(_0x8b3ed1&0xfe00)===0xfc00)return!![];function _0x3b77c1(_0x3aa8bc,_0x38c4d2,_0x4c19ff,_0x52189a){return _0xf90728(_0x3aa8bc,_0x38c4d2-0xb5,_0x52189a-_0x42fb38._0x3b8351,_0x52189a-_0x42fb38._0x332600);}if((_0x8b3ed1&0xffc0)===0xfe80)return!![];if((_0x8b3ed1&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x25ef54){const _0x5da75a=isIP(_0x25ef54);if(_0x5da75a===0x4)return isBlockedIpv4(_0x25ef54);if(_0x5da75a===0x6)return isBlockedIpv6(_0x25ef54);return!![];}async function assertPublicUrl(_0x29146b,_0x33eea6={}){const _0x5d4fcc={_0x548276:0x173,_0x217e9f:0x14,_0x194ead:0x1d,_0x45adb8:0x50,_0x311a13:0x1f0,_0x324ce3:0x99,_0xe39cc0:0x87,_0x231837:0x18c,_0xed6779:0x38,_0x5e60bf:0x129,_0x149891:0x212,_0x2b9a65:0x14b,_0x157aa1:0x123,_0x2b2101:0x9a,_0x755f9b:0x1ac,_0x3d1a75:0x92,_0x1e96c7:0x17c,_0x40645f:0x15c,_0x103722:0xb7,_0x2b5d59:0x3b,_0x205b4f:0xa8,_0x15fb4e:0x15e,_0x3c6de5:0x6a,_0x480361:0x139,_0x4b60d0:0x39,_0x75c445:0x1e0},_0x1d3eb9={_0x113509:0x73},_0x4dcffd={_0x173acf:0x131};function _0x3b111a(_0x2e84ff,_0x56378c,_0x46648b,_0xdf1db7){return _0x4d40c0(_0x2e84ff-_0x4dcffd._0x173acf,_0xdf1db7-0x12e,_0x46648b-0x1ba,_0x56378c);}let _0x1755f6;try{_0x1755f6=new URL(_0x29146b);}catch{throw new ToolExecutionError(_0x4faf69(0x5f,0x95,-_0x5d4fcc._0x548276,-_0x5d4fcc._0x217e9f),{'url':_0x29146b});}if(_0x1755f6[_0x4faf69(-_0x5d4fcc._0x194ead,-0x13d,-0x74,-0xb7)]!=='http:'&&_0x1755f6['protocol']!==_0x3b111a(-_0x5d4fcc._0x45adb8,-_0x5d4fcc._0x311a13,_0x5d4fcc._0x324ce3,-_0x5d4fcc._0xe39cc0))throw new ToolExecutionError(_0x4faf69(_0x5d4fcc._0x231837,-0xdc,-_0x5d4fcc._0xed6779,0x5f),{'url':_0x29146b});if(_0x1755f6[_0x3b111a(_0x5d4fcc._0x5e60bf,0x1ef,_0x5d4fcc._0x149891,_0x5d4fcc._0x2b9a65)]||_0x1755f6['password'])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x1755f6['protocol']+'//'+_0x1755f6[_0x3b111a(_0x5d4fcc._0x157aa1,_0x5d4fcc._0x2b2101,_0x5d4fcc._0x755f9b,_0x5d4fcc._0x3d1a75)]+_0x1755f6[_0x4faf69(-0x131,-0x32,-0x114,-0x34)]});const _0x1597e4=_0x1755f6[_0x3b111a(0x135,_0x5d4fcc._0x1e96c7,_0x5d4fcc._0x40645f,0x16a)]['replace'](/^\[|\]$/g,'');function _0x4faf69(_0x40e53d,_0x17f4c8,_0xa0a369,_0x4f6487){return _0x4d40c0(_0x40e53d-0x71,_0x4f6487-_0x1d3eb9._0x113509,_0xa0a369-0xb6,_0xa0a369);}const _0x572f1a=_0x1755f6[_0x4faf69(0x52,-0x63,-0xe6,-_0x5d4fcc._0x103722)]+'//'+_0x1755f6[_0x3b111a(0xb0,-0x5b,0x2a,_0x5d4fcc._0x3d1a75)]+_0x1755f6['pathname'];if(isIP(_0x1597e4)){if(isBlockedAddress(_0x1597e4))throw new ToolExecutionError(_0x3b111a(0x16,-0x1c9,_0x5d4fcc._0x2b5d59,-0x84),{'url':_0x572f1a});return _0x1755f6;}const _0x3b463a=_0x33eea6['lookup']??defaultLookup;let _0x5d738b;try{_0x5d738b=await _0x3b463a(_0x1597e4);}catch{throw new ToolExecutionError(_0x3b111a(0xcc,_0x5d4fcc._0x205b4f,_0x5d4fcc._0x15fb4e,0x39),{'url':_0x572f1a});}if(_0x5d738b['length']===0x0)throw new ToolExecutionError(_0x3b111a(_0x5d4fcc._0x3c6de5,-_0x5d4fcc._0x480361,0x2c,_0x5d4fcc._0x4b60d0),{'url':_0x572f1a});for(const {address:_0x5d671d}of _0x5d738b){if(isBlockedAddress(_0x5d671d))throw new ToolExecutionError(_0x4faf69(-0x153,-0x28b,-_0x5d4fcc._0x75c445,-0x214),{'url':_0x572f1a});}return _0x1755f6;}async function safeFetch(_0x320b0e,_0xfd269b={},_0x110565={}){const _0xda3c3b={_0x7c3e96:0x107,_0x3e02f6:0x179,_0x4e2ed3:0x299,_0x2d142e:0x194,_0x51d56a:0xb3,_0x538b01:0x6d,_0xaffe4:0x17c,_0x88b6a7:0x28b,_0x22a35c:0x1ae,_0x45039e:0x298,_0x1a7a55:0x15b,_0x3f2863:0x2c8,_0x1445c4:0x11a,_0x135d4e:0xd6,_0x1f2a6e:0x188},_0x342055={_0x407dce:0xd7};function _0x194912(_0x52e753,_0xed3ea4,_0x2f36e2,_0x234d9f){return _0xf90728(_0xed3ea4,_0xed3ea4-_0x342055._0x407dce,_0x52e753-0x15e,_0x234d9f-0x87);}const _0x13cb8d=_0x110565['fetchImpl']??fetch;function _0x5515a8(_0x2346de,_0x2e577d,_0x54e133,_0x138d3d){return _0xf90728(_0x138d3d,_0x2e577d-0x10f,_0x2346de-0x18,_0x138d3d-0x8d);}const _0x369954=_0x110565['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x263edb=_0x320b0e;for(let _0xa9f6f7=0x0;;_0xa9f6f7+=0x1){const _0x412110=await assertPublicUrl(_0x263edb,_0x110565),_0x350608=await _0x13cb8d(_0x412110[_0x5515a8(-0x21,-0xbf,0x6b,-_0xda3c3b._0x7c3e96)](),{..._0xfd269b,'redirect':'manual'}),_0xb76842=_0x350608[_0x5515a8(_0xda3c3b._0x3e02f6,_0xda3c3b._0x4e2ed3,_0xda3c3b._0x2d142e,0x1d0)][_0x5515a8(_0xda3c3b._0x51d56a,0x175,0xe0,0x1c5)]('location');if(!REDIRECT_STATUSES[_0x5515a8(-_0xda3c3b._0x538b01,0xe9,-0x82,0xe9)](_0x350608[_0x194912(_0xda3c3b._0xaffe4,_0xda3c3b._0x88b6a7,0x22f,_0xda3c3b._0x22a35c)])||!_0xb76842)return _0x350608;if(_0xa9f6f7>=_0x369954)throw new ToolExecutionError(_0x194912(_0xda3c3b._0x45039e,_0xda3c3b._0x1a7a55,0x3e4,_0xda3c3b._0x3f2863),{'url':_0x412110[_0x194912(0x125,_0xda3c3b._0x1445c4,0x20,0x220)]()});_0x263edb=new URL(_0xb76842,_0x412110)[_0x5515a8(-0x21,0xaa,_0xda3c3b._0x135d4e,-_0xda3c3b._0x1f2a6e)]();}}var USER_AGENT=_0x4d40c0(-0x81,-0x1cc,-0x26e,-0x142),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2639bc,_0x423478){const _0x39917e={_0x5bb610:0x15a,_0x19e8e6:0x181,_0x231603:0x23c,_0x2be3b8:0x2a0,_0x19d242:0x271,_0x1d1188:0x7b,_0x3d2795:0x5e,_0xd739a5:0x2cc,_0x32969d:0x24b},_0x55386c={_0x2070ee:0x64,_0x46968d:0x1f3},_0x135e85={_0x5c1dae:0x1da,_0x2c86d3:0x88},_0xc2851a=new AbortController(),_0x37a036=setTimeout(()=>_0xc2851a[_0x3330bf(0x5e,0x193,0x1ce,0x19d)](new Error(_0x38d22f(0x1cf,0x10d,0x18e,0x50))),_0x423478),_0x45c522=()=>_0xc2851a[_0x38d22f(0xdd,0x7b,-0x92,0x1ce)](_0x2639bc[_0x3330bf(0x1a3,0x4f,0xfe,0x198)]);function _0x38d22f(_0x532cf9,_0x27d914,_0x461044,_0xdbe7d4){return _0xf90728(_0x461044,_0x27d914-0x1c1,_0x27d914-_0x135e85._0x5c1dae,_0xdbe7d4-_0x135e85._0x2c86d3);}function _0x3330bf(_0x25858a,_0x575571,_0xc4e73d,_0x1179cf){return _0x4d40c0(_0x25858a-_0x55386c._0x2070ee,_0x1179cf-0x442,_0xc4e73d-_0x55386c._0x46968d,_0xc4e73d);}return _0x2639bc[_0x3330bf(_0x39917e._0x5bb610,_0x39917e._0x19e8e6,_0x39917e._0x231603,0x1d1)]?_0xc2851a['abort'](_0x2639bc['reason']):_0x2639bc[_0x38d22f(_0x39917e._0x2be3b8,0x294,_0x39917e._0x19d242,0x27e)](_0x38d22f(0x1a3,_0x39917e._0x1d1188,_0x39917e._0x3d2795,-0x1),_0x45c522,{'once':!![]}),{'signal':_0xc2851a[_0x38d22f(0x27d,_0x39917e._0xd739a5,_0x39917e._0x19d242,_0x39917e._0x32969d)],'cleanup':()=>{const _0x24fec7={_0x304189:0x5b,_0x576750:0x1a5};clearTimeout(_0x37a036);function _0x1b58d4(_0x3f2377,_0x1f7e72,_0x4feed0,_0x2a243d){return _0x3330bf(_0x3f2377-0xf1,_0x1f7e72-_0x24fec7._0x304189,_0x1f7e72,_0x3f2377- -_0x24fec7._0x576750);}_0x2639bc[_0x1b58d4(0x5c,-0xfd,0x95,-0x2d)]('abort',_0x45c522);}};}function createWebFetchTool(_0x13d0b9={}){const _0x358100={_0x2a60e0:0x25e,_0x945cc7:0x102,_0x276ea4:0x69,_0xae9d91:0x2b,_0x679ad0:0x673,_0x4523ca:0x625,_0x3e8a8f:0x6f2,_0x2b46b1:0x37c,_0x4b47eb:0xec,_0x1b98fc:0x268,_0x54dfac:0x1cd,_0x1dc76d:0xfc,_0x984c0f:0x1e,_0x5e32ad:0x53b,_0x959325:0x42f,_0x6bd996:0x66e,_0x2016d1:0x12a,_0x1a6e58:0x14b,_0x3a6eb8:0xde,_0x2ec1cd:0xa6,_0x394aea:0x2c,_0x44031b:0x6a7},_0x3d6f00={_0xbe28a:0x148,_0x2464ea:0x264,_0x558ad8:0x3a,_0x42bc97:0x26b,_0x5d8972:0x360,_0x3c110e:0x4fd,_0x55af06:0x5b8,_0x38a0ed:0x4ab,_0x42d209:0x11e,_0x4f001d:0x4d,_0x24408e:0x40,_0x1424c1:0x121,_0x5a758f:0x5a,_0xc64c25:0x335,_0x1dc10f:0x250,_0x1c67f9:0x2cc,_0x18e259:0x1e8,_0x1f543c:0x60c,_0x5a84b2:0xa4,_0x29979a:0x362,_0x3b24ba:0x26d,_0x196686:0xa6,_0x373623:0x63b,_0x44a297:0x472,_0x3ae65c:0x13e,_0x30d1c9:0x126,_0x5569f3:0x2b4,_0x3b7a25:0x22d,_0x459f8d:0x155,_0x318da3:0x442,_0x212d06:0x4e1,_0x38a5e3:0x131,_0x1b1c87:0x222,_0x4cdc2c:0x1d5,_0x21971a:0x36f,_0xae03d:0x267,_0x3ee001:0x2dc,_0x30b9ad:0x373,_0x219bf7:0x2c7,_0x1dabc1:0x231,_0x530de8:0x331,_0x69764a:0x35e,_0x4ba5ea:0x437,_0xb27879:0x3ce,_0x2f6ce9:0x45a,_0x29b24d:0x7,_0x47e3c4:0xa,_0x181c0a:0xe6,_0x16bad4:0x2ab},_0x4436b9={_0x27cf55:0x66a},_0x542023={_0x5efb7b:0xc,_0x3b9204:0x148,_0x2e1fff:0xdf},_0xc91233=_0x13d0b9['name']??'WebFetch';function _0x592107(_0x58fc24,_0x20e325,_0x256b7b,_0x309a81){return _0x4d40c0(_0x58fc24-_0x542023._0x5efb7b,_0x309a81-_0x542023._0x3b9204,_0x256b7b-_0x542023._0x2e1fff,_0x20e325);}const _0x218a1f=_0x13d0b9['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x1ba332=_0x13d0b9[_0x592107(-0x206,-0x75,-_0x358100._0x2a60e0,-0x117)];function _0x4e98af(_0x495b61,_0x44df12,_0x19405e,_0x4f2921){return _0x4d40c0(_0x495b61-0x5e,_0x495b61-_0x4436b9._0x27cf55,_0x19405e-0x192,_0x19405e);}const _0x26a548=new _0xa56966({'headingStyle':_0x592107(_0x358100._0x945cc7,_0x358100._0x276ea4,0xe1,_0x358100._0xae9d91),'codeBlockStyle':_0x4e98af(_0x358100._0x679ad0,_0x358100._0x4523ca,0x5a3,_0x358100._0x3e8a8f),'bulletListMarker':'-'});return _0x26a548[_0x4e98af(0x46d,0x547,_0x358100._0x2b46b1,0x40e)]([_0x592107(-_0x358100._0x4b47eb,-_0x358100._0x1b98fc,-_0x358100._0x54dfac,-_0x358100._0x1dc76d),'style',_0x592107(-_0x358100._0x984c0f,-0x33,-0x78,0xf3),_0x4e98af(_0x358100._0x5e32ad,_0x358100._0x959325,0x5b5,_0x358100._0x6bd996),'nav','footer','header',_0x592107(0x15d,0x164,0x243,_0x358100._0x2016d1)]),defineTool({'name':_0xc91233,'description':_0x592107(0x89,_0x358100._0x1a6e58,_0x358100._0x3a6eb8,0xa2),'inputSchema':{'type':_0x592107(0xf3,-0x10a,-0xa1,0x55),'properties':{'description':{'type':_0x592107(-0x58,0x36,_0x358100._0x2ec1cd,_0x358100._0x394aea)},'url':{'type':_0x4e98af(0x54e,0x406,_0x358100._0x44031b,0x587)}},'required':['url']},async *'execute'(_0x5c3408,_0x2d0466){const _0x4ec39d={_0x2aed9b:0x10c},_0x154a7e={_0x5ae887:0x18e},_0x210f9b=(await assertPublicUrl(_0x5c3408[_0x2705b1(-_0x3d6f00._0xbe28a,-_0x3d6f00._0x2464ea,-0x186,-_0x3d6f00._0x558ad8)],{'lookup':_0x1ba332}))['toString']();if(_0x2d0466['signal'][_0x38470b(0x1bd,0x21d,_0x3d6f00._0x42bc97,_0x3d6f00._0x5d8972)])throw new ToolExecutionError(_0x38470b(_0x3d6f00._0x3c110e,_0x3d6f00._0x55af06,_0x3d6f00._0x38a0ed,0x5a2),{'url':_0x210f9b});const _0x21a227=createTimeoutSignal(_0x2d0466[_0x2705b1(-_0x3d6f00._0x42d209,-0xcb,-_0x3d6f00._0x4f001d,_0x3d6f00._0x24408e)],_0x218a1f);let _0x288f44='';function _0x38470b(_0x25bd51,_0x93c774,_0x3f0a31,_0x2fa224){return _0x4e98af(_0x3f0a31- -_0x154a7e._0x5ae887,_0x93c774-0xa,_0x25bd51,_0x2fa224-0xd3);}let _0x23de66=0x0,_0x4123d7;try{const _0x1ec202=await safeFetch(_0x210f9b,{'headers':{'User-Agent':USER_AGENT},'signal':_0x21a227['signal']},{'lookup':_0x1ba332});if(!_0x1ec202['ok'])throw new ToolExecutionError('HTTP\x20'+_0x1ec202[_0x2705b1(-0x1ce,-0x288,-_0x3d6f00._0x1424c1,-_0x3d6f00._0x5a758f)]+'\x20'+_0x1ec202[_0x38470b(_0x3d6f00._0xc64c25,_0x3d6f00._0x1dc10f,0x31f,_0x3d6f00._0x1c67f9)],{'url':_0x210f9b,'statusCode':_0x1ec202[_0x2705b1(-0x86,-_0x3d6f00._0x18e259,-_0x3d6f00._0x1424c1,-0x14b)]});_0x288f44=_0x1ec202[_0x38470b(0x52c,0x4f2,0x4f7,_0x3d6f00._0x1f543c)][_0x2705b1(-0x20,-0x114,-_0x3d6f00._0x5a84b2,0x39)](_0x38470b(0x3b3,0x36c,_0x3d6f00._0x29979a,0x4ce))??'',_0x23de66=_0x1ec202[_0x2705b1(-_0x3d6f00._0x3b24ba,-_0x3d6f00._0x196686,-0x121,-0x115)],_0x4123d7=await _0x1ec202[_0x38470b(_0x3d6f00._0x373623,_0x3d6f00._0x44a297,0x4cb,0x611)]();}catch(_0x2468fd){if(_0x2468fd instanceof ToolExecutionError)throw _0x2468fd;const _0x1a316c=_0x2468fd instanceof Error?_0x2468fd[_0x2705b1(-0xe4,-0x1ba,-_0x3d6f00._0x3ae65c,-0x88)]:String(_0x2468fd);throw new ToolExecutionError(_0x1a316c,{'url':_0x210f9b});}finally{_0x21a227[_0x38470b(_0x3d6f00._0x30d1c9,_0x3d6f00._0x5569f3,_0x3d6f00._0x3b7a25,_0x3d6f00._0x459f8d)]();}const _0x16bb0f=new Date()[_0x38470b(0x3bf,_0x3d6f00._0x318da3,_0x3d6f00._0x212d06,0x478)]();let _0x21bc56,_0x48c88d;function _0x2705b1(_0x53dbe9,_0x485f71,_0x4eda25,_0x41d1e0){return _0x592107(_0x53dbe9-_0x4ec39d._0x2aed9b,_0x485f71,_0x4eda25-0x178,_0x4eda25- -0x141);}if(_0x288f44[_0x38470b(_0x3d6f00._0x38a5e3,0x23c,0x2a4,_0x3d6f00._0x1b1c87)](_0x2705b1(-_0x3d6f00._0x4cdc2c,-_0x3d6f00._0x21971a,-_0x3d6f00._0xae03d,-0x3a3)))_0x21bc56='```json\x0a'+_0x4123d7+'\x0a```',_0x48c88d=_0x38470b(_0x3d6f00._0x3ee001,0x2cc,_0x3d6f00._0x30b9ad,_0x3d6f00._0x219bf7);else _0x288f44[_0x2705b1(-0xca,-0x38d,-_0x3d6f00._0x1dabc1,-_0x3d6f00._0x530de8)](_0x38470b(0x3c0,_0x3d6f00._0x69764a,_0x3d6f00._0x4ba5ea,_0x3d6f00._0xb27879))?(_0x21bc56=_0x26a548[_0x38470b(_0x3d6f00._0x2f6ce9,0x2da,0x2e8,0x2e8)](_0x4123d7),_0x48c88d=_0x2705b1(-0x1f4,_0x3d6f00._0x29b24d,-0x131,-0x291)):(_0x21bc56=_0x4123d7,_0x48c88d=_0x2705b1(-0x100,-0xd6,-_0x3d6f00._0x47e3c4,-_0x3d6f00._0x181c0a));return yield createToolOutput(_0x21bc56,{'url':_0x210f9b,'contentType':_0x288f44,'statusCode':_0x23de66,'format':_0x48c88d,'size':_0x4123d7[_0x38470b(0x34e,_0x3d6f00._0x16bad4,0x41c,0x529)],'fetchedAt':_0x16bb0f}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x4d40c0(-0x65,-0x32,-0xca,0x10b);function normalizeUrl(_0x4c6a10){const _0x1ac1f5={_0xbafeb2:0x3e0,_0x4d696d:0x26f,_0x15f5ed:0x199,_0x2c4cd1:0x3a2,_0x448cb7:0x41b,_0x436c61:0x37c,_0x36088f:0x2e6,_0x370240:0x76,_0x2c095a:0x33,_0x162eb0:0xda,_0x41fb62:0x325,_0x10d214:0x2a9,_0x39c380:0x1e7,_0x3a3722:0x1c4,_0x498f3e:0x2f8,_0x2059ec:0x197,_0x26061f:0x1e9,_0x24347a:0x20e,_0x1a32dd:0x1bb,_0x50984f:0x208,_0x2f8e93:0x3ee,_0x452275:0x33d,_0x24fc32:0x21b},_0x40b7bd={_0x166dc2:0x180,_0x42cb26:0x9c},_0x1e6908={_0x2198d3:0x402};function _0x477a99(_0x430bd4,_0xb4d8c1,_0x4e579a,_0x117d57){return _0x4d40c0(_0x430bd4-0x46,_0x4e579a-_0x1e6908._0x2198d3,_0x4e579a-0x17d,_0xb4d8c1);}function _0x31369b(_0x213343,_0x3165af,_0x4ecdcd,_0x2b314c){return _0x4d40c0(_0x213343-_0x40b7bd._0x166dc2,_0x2b314c- -_0x40b7bd._0x42cb26,_0x4ecdcd-0x19,_0x213343);}try{const _0x464668=new URL(_0x4c6a10);for(const _0x3b02eb of[_0x31369b(-_0x1ac1f5._0xbafeb2,-_0x1ac1f5._0x4d696d,-_0x1ac1f5._0x15f5ed,-0x293),_0x477a99(0x3ad,0x494,_0x1ac1f5._0x2c4cd1,0x4a4),_0x477a99(_0x1ac1f5._0x448cb7,0x2c9,_0x1ac1f5._0x436c61,_0x1ac1f5._0x36088f),_0x31369b(0x7c,-_0x1ac1f5._0x370240,-_0x1ac1f5._0x2c095a,-_0x1ac1f5._0x162eb0),_0x477a99(_0x1ac1f5._0x41fb62,_0x1ac1f5._0x10d214,_0x1ac1f5._0x39c380,_0x1ac1f5._0x3a3722),_0x31369b(-0x453,-0x201,-0x3e5,-_0x1ac1f5._0x498f3e),'fbclid','mc_cid',_0x31369b(-_0x1ac1f5._0x2059ec,-_0x1ac1f5._0x26061f,-_0x1ac1f5._0x24347a,-_0x1ac1f5._0x1a32dd)]){_0x464668[_0x477a99(_0x1ac1f5._0x50984f,0x2e7,0x215,0x375)][_0x31369b(-0x291,-_0x1ac1f5._0x2f8e93,-0x2e6,-_0x1ac1f5._0x452275)](_0x3b02eb);}return _0x464668[_0x31369b(-0x14d,-_0x1ac1f5._0x4d696d,-0x357,-_0x1ac1f5._0x24fc32)]();}catch{return _0x4c6a10;}}function cseDateRestrict(_0x19ff36){const _0x5c1b24={_0x1e8946:0x251,_0x48a4c8:0x184,_0x2bf2ff:0x149,_0x2884ea:0x16a,_0x12f383:0x155,_0x8215b7:0x16},_0x3c2b59={_0xa10a91:0x4d},_0x41e04b={_0xc51230:0x6f,_0x3bc63f:0x21b};function _0x3130c0(_0x24ba21,_0x3b2f8f,_0x3f8618,_0x5c9be6){return _0xf90728(_0x24ba21,_0x3b2f8f-_0x41e04b._0xc51230,_0x3b2f8f-_0x41e04b._0x3bc63f,_0x5c9be6-0x15b);}if(_0x19ff36<=0x0)return void 0x0;if(_0x19ff36<=0x1e)return'd'+Math[_0x3130c0(0x2c4,_0x5c1b24._0x1e8946,0x2cd,0x306)](0x1,Math[_0x3130c0(0x1d4,_0x5c1b24._0x48a4c8,_0x5c1b24._0x2bf2ff,0x47)](_0x19ff36));if(_0x19ff36<=0x16d)return'm'+Math[_0x467d3f(_0x5c1b24._0x2884ea,_0x5c1b24._0x12f383,-0xb3,_0x5c1b24._0x8215b7)](_0x19ff36/0x1e);function _0x467d3f(_0x417ea5,_0x4431ad,_0x199be6,_0x24c410){return _0xf90728(_0x417ea5,_0x4431ad-0x155,_0x24c410- -0x22,_0x24c410-_0x3c2b59._0xa10a91);}return'y'+Math['ceil'](_0x19ff36/0x16d);}function addSiteFilters(_0x3fbb44,_0xcf192a){const _0x3df083={_0x341732:0x170,_0x5c47b4:0x248,_0x35abfd:0x2ac,_0x34e98e:0x27d,_0x591f73:0x23c,_0x288139:0x25b,_0x49cd27:0x134,_0x194dbb:0x36a,_0x5628c9:0x2d3,_0x851c79:0x1f1,_0x20569a:0x35,_0x1c6909:0xdd,_0xb47c2b:0x5f,_0x8037c6:0x1be},_0x14f771={_0x4cbdea:0x10,_0x5e7e3c:0x52};if(_0xcf192a[_0x2328b6(_0x3df083._0x341732,_0x3df083._0x5c47b4,0x191,0xf2)]===0x0)return _0x3fbb44[_0x32750c(0x24f,_0x3df083._0x35abfd,_0x3df083._0x34e98e,0x3ed)]();function _0x32750c(_0x13113f,_0x203362,_0xc4f30a,_0x2aaa67){return _0x4d40c0(_0x13113f-0x34,_0xc4f30a-0x3d0,_0xc4f30a-0x188,_0x203362);}function _0x2328b6(_0x3ade15,_0x2c5bdc,_0x16ab4b,_0x15e16c){return _0xf90728(_0x2c5bdc,_0x2c5bdc-_0x14f771._0x4cbdea,_0x3ade15-0xea,_0x15e16c-_0x14f771._0x5e7e3c);}return(_0x3fbb44+'\x20('+_0xcf192a[_0x2328b6(_0x3df083._0x591f73,0x163,_0x3df083._0x288139,_0x3df083._0x49cd27)](_0x39d3c3=>_0x32750c(0xdd,0x120,0x24e,0x368)+_0x39d3c3)[_0x2328b6(0x255,_0x3df083._0x194dbb,_0x3df083._0x5628c9,_0x3df083._0x851c79)](_0x2328b6(0x31,0xc,0x120,-_0x3df083._0x20569a))+')')[_0x2328b6(_0x3df083._0x1c6909,-_0x3df083._0xb47c2b,_0x3df083._0x8037c6,0x19)]();}function normalizeType(_0x38ea4b){const _0x53d3aa={_0x35934a:0x36e,_0xe53251:0x32b,_0x27d554:0x373},_0x411bac={_0x58b46f:0x6c},_0x16ea43={_0x116044:0xf0};function _0x33d3a6(_0x13c1be,_0x3baefc,_0x198641,_0x51b1ed){return _0x4d40c0(_0x13c1be-_0x16ea43._0x116044,_0x3baefc-0x44d,_0x198641-0x2f,_0x13c1be);}function _0xbfaf8a(_0x2dcdc1,_0x26eeb4,_0x3f9aac,_0x384c15){return _0xf90728(_0x3f9aac,_0x26eeb4-_0x411bac._0x58b46f,_0x2dcdc1- -0x12d,_0x384c15-0xd);}return _0x38ea4b===_0x33d3a6(0x3e2,0x2bb,0x25e,_0x53d3aa._0x35934a)?'images':_0x33d3a6(0x22d,0x201,_0x53d3aa._0xe53251,_0x53d3aa._0x27d554);}async function fetchJson(_0x40a6c2,_0x19bb97,_0x2cc2e8){const _0x387631={_0x2c0d4e:0x1d5,_0x5bafa5:0x99,_0x54537f:0xb2,_0x1939c8:0x16,_0x165e6e:0x4e,_0xf89a15:0x14,_0x349be2:0x14f,_0x1a7164:0xec,_0x300b64:0x174,_0x22f366:0x21a,_0x14da5b:0x175,_0x41c7ce:0x15,_0x2d3068:0x194,_0x5baba9:0x88,_0xd83f3e:0x18b,_0x584551:0xc7,_0x56cc5d:0x68,_0x2bcf28:0xc9,_0x2d6c98:0x1cb,_0x498945:0x17a,_0xfeb240:0x22,_0xcdefd3:0x78,_0x29758f:0x69,_0x1a3e39:0x6c,_0x8e217b:0xaa,_0x3daeb3:0x101,_0x43a094:0xb7,_0x32a359:0xe6},_0x565097={_0x50c902:0x10a,_0xcfcc54:0x99},_0x50b239={_0x48d0a2:0xc1},_0x49da59=await fetch(_0x40a6c2,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x46970c(-0x8f,-0xb5,-0x71,0xe3),..._0x2cc2e8?.[_0x221054(_0x387631._0x2c0d4e,_0x387631._0x5bafa5,-_0x387631._0x54537f,-_0x387631._0x1939c8)]},'signal':_0x19bb97,..._0x2cc2e8});if(!_0x49da59['ok']){let _0x3dd7d4,_0x477b7e;try{_0x3dd7d4=await _0x49da59['text']();const _0x38279=JSON['parse'](_0x3dd7d4),_0x12965c=typeof _0x38279[_0x221054(-_0x387631._0x165e6e,_0x387631._0xf89a15,-0x58,_0x387631._0x349be2)]===_0x46970c(_0x387631._0x1a7164,_0x387631._0x300b64,0xac,_0x387631._0x22f366)?_0x38279[_0x46970c(_0x387631._0x14da5b,_0x387631._0x41c7ce,_0x387631._0x2d3068,0x20)][_0x46970c(0xc9,-_0x387631._0x5baba9,0xb5,0x17)]:void 0x0;_0x477b7e=_0x38279['error']?.[_0x221054(-_0x387631._0xd83f3e,-_0x387631._0x584551,-0x20b,_0x387631._0x56cc5d)]??_0x38279[_0x46970c(_0x387631._0x2bcf28,0x70,-0x6f,0x1e7)]?.[_0x46970c(0x20f,0x1d8,0x1fe,0x1c0)]?.[0x0]?.['message']??_0x12965c;}catch{}const _0x26077c=_0x477b7e?_0x221054(-0xb6,-0xc4,-0x76,-0x20d)+_0x49da59['status']+':\x20'+_0x477b7e:_0x221054(-0x204,-0xc4,0x15,-0x33)+_0x49da59[_0x221054(-0x207,-0xaa,-_0x387631._0x2d6c98,-_0x387631._0x498945)]+'\x20'+_0x49da59[_0x46970c(_0x387631._0xfeb240,-_0x387631._0xcdefd3,_0x387631._0x29758f,-_0x387631._0x1a3e39)];throw new ToolExecutionError(_0x26077c,{'statusCode':_0x49da59[_0x221054(0xa5,-_0x387631._0x8e217b,-_0x387631._0x3daeb3,_0x387631._0x43a094)],..._0x3dd7d4?{'body':_0x3dd7d4}:{}});}function _0x221054(_0x14a932,_0x1b4807,_0xc3b763,_0x127c3c){return _0xf90728(_0x14a932,_0x1b4807-0x1d0,_0x1b4807- -0xc8,_0x127c3c-_0x50b239._0x48d0a2);}function _0x46970c(_0x5e3c31,_0x78fdd,_0x28bf55,_0x53279a){return _0xf90728(_0x53279a,_0x78fdd-_0x565097._0x50c902,_0x5e3c31-_0x565097._0xcfcc54,_0x53279a-0x143);}return await _0x49da59[_0x46970c(0x76,-0x5f,-0xc9,_0x387631._0x32a359)]();}async function hydrateResults(_0x2ea365,_0x3daa3f,_0x17461e,_0x4f178d){const _0x15ba4b={_0xb14773:0xa,_0x1ca3c1:0x138,_0x43adc5:0x10c,_0x250a77:0x6b,_0x5587b3:0xab,_0x568fc3:0x15c},_0x4118b6={_0x2bb83d:0x197,_0x2b31e3:0x10c,_0x4f2d2a:0x1c5},_0x1ec069={_0x56bbaa:0x19e,_0x310bf0:0x9f},_0x4bef2b={_0x3e6413:0x25,_0x46a5c2:0x4a,_0x255e4f:0x2c,_0x1fd23c:0x1bc,_0x5d3a78:0x1f8,_0x716c48:0x317,_0x2b2dec:0x24d,_0x453882:0x17,_0x1dd80d:0x177,_0x7ff4f1:0xcb,_0x4c7a24:0x258,_0x248903:0x146,_0x4d6d81:0xb2,_0x3f3965:0x1bb,_0xfb3816:0xf8,_0xfa9e61:0x7,_0x411984:0x168,_0x43d72f:0x13b,_0x34158c:0x1e8,_0x5cf5:0x9e,_0x1dda09:0x8,_0x2ab625:0x1a,_0x1a09ff:0xff,_0x5b06e4:0x22,_0x2791d6:0x1dc,_0x42eb7b:0x94,_0x408676:0x15c,_0x4fd2d8:0xb6,_0x2d14e4:0x18e,_0x5c045a:0x29,_0x12cd1f:0x198,_0x354f0a:0xb4,_0x37163a:0x18a,_0x57007f:0x9e,_0x5e6d99:0x1fa,_0x3a1523:0x70,_0x377ef5:0x2ec,_0x54f4a1:0x261,_0x5cf8c9:0x267,_0x5cecda:0x162,_0x472fca:0x7f,_0x37c23d:0x7,_0x5a6906:0x132,_0x1ab990:0xc,_0x1540de:0x12,_0x3f5822:0x125,_0xeef525:0x124,_0x220c92:0xc7,_0xf1a98c:0x204,_0x2eae19:0x148},_0x50a839={_0x47d903:0x1f7,_0x2b069f:0x1d7,_0x2543dd:0x1b5},_0x56ed88=await Promise[_0xe6e63d(-0x5,0xea,_0x15ba4b._0xb14773,-_0x15ba4b._0x1ca3c1)](_0x2ea365[_0xe6e63d(-_0x15ba4b._0x43adc5,-0x1e7,-0x13c,-0x80)](0x0,0xa)[_0x4254b4(0x25e,0x243,0x2e5,0x1b2)](async _0x491cde=>{const _0x3e35d4={_0x1bc5e6:0x106};function _0x5432a0(_0x18af17,_0xbcbd2e,_0x5e9590,_0x491126){return _0x4254b4(_0xbcbd2e- -0x1e,_0xbcbd2e-_0x3e35d4._0x1bc5e6,_0x491126,_0x491126-0x186);}function _0x10e725(_0x1082ec,_0x4cecc6,_0x1dd76e,_0x1db102){return _0x4254b4(_0x1082ec- -_0x50a839._0x47d903,_0x4cecc6-_0x50a839._0x2b069f,_0x4cecc6,_0x1db102-_0x50a839._0x2543dd);}try{const _0x548500=await safeFetch(_0x491cde[_0x5432a0(0x1a6,0xa7,-_0x4bef2b._0x3e6413,0x20)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x3daa3f,'Accept':_0x10e725(-_0x4bef2b._0x46a5c2,-_0x4bef2b._0x255e4f,-_0x4bef2b._0x1fd23c,-0x2c)},'signal':_0x17461e},{'lookup':_0x4f178d});if(!_0x548500['ok'])return _0x491cde;const _0x3f15e1=await _0x548500['text'](),_0x5c71e1=load(_0x3f15e1),_0x5c20c0=_0x5c71e1(_0x10e725(-_0x4bef2b._0x5d3a78,-0x367,-_0x4bef2b._0x716c48,-_0x4bef2b._0x2b2dec))[_0x5432a0(0x215,0x9e,0xc1,0x12d)](_0x10e725(-_0x4bef2b._0x453882,0x3c,-_0x4bef2b._0x1dd80d,-_0x4bef2b._0x7ff4f1))||_0x5c71e1(_0x5432a0(0x179,_0x4bef2b._0x4c7a24,0x188,_0x4bef2b._0x248903))[_0x10e725(0x3c,-0xa0,_0x4bef2b._0x4d6d81,0x3b)]()[_0x10e725(_0x4bef2b._0x46a5c2,_0x4bef2b._0x3f3965,0x57,0x90)]()[_0x10e725(-_0x4bef2b._0xfb3816,-0xeb,-0x1dd,-0x10d)](),_0x274b23=_0x5c71e1(_0x10e725(-_0x4bef2b._0xfa9e61,-0x1a,-_0x4bef2b._0x411984,-0x12e))[_0x10e725(-_0x4bef2b._0x43d72f,-_0x4bef2b._0x34158c,-0x206,-0x58)](_0x10e725(-_0x4bef2b._0x453882,-0xea,0x77,-0x31))||_0x5c71e1('meta[property=\x27og:description\x27]')[_0x5432a0(0x38,_0x4bef2b._0x5cf5,_0x4bef2b._0x1dda09,_0x4bef2b._0x2ab625)](_0x5432a0(0x148,0x1c2,0xbc,0x234))||_0x491cde[_0x5432a0(_0x4bef2b._0x1a09ff,-_0x4bef2b._0x5b06e4,-0x14d,-0x83)],_0x3578b1=_0x5c71e1(_0x10e725(0x95,0xc4,_0x4bef2b._0x2791d6,_0x4bef2b._0x42eb7b))[_0x5432a0(-0x64,0x9e,0x5f,_0x4bef2b._0x408676)]('content')||_0x5c71e1(_0x5432a0(0x7c,0x30,0x11e,_0x4bef2b._0x4fd2d8))[_0x5432a0(_0x4bef2b._0x2d14e4,0x9e,_0x4bef2b._0x5c045a,_0x4bef2b._0x12cd1f)]('datetime')||_0x491cde[_0x5432a0(0x138,_0x4bef2b._0x354f0a,0x48,0x7e)],_0x28cf92=_0x5c71e1('link[rel=\x27canonical\x27]')[_0x5432a0(_0x4bef2b._0x37163a,_0x4bef2b._0x57007f,_0x4bef2b._0x5e6d99,_0x4bef2b._0x3a1523)](_0x5432a0(_0x4bef2b._0x377ef5,_0x4bef2b._0x54f4a1,_0x4bef2b._0x5cf8c9,_0x4bef2b._0x5cecda));return{..._0x491cde,'title':_0x5c20c0||_0x491cde[_0x10e725(_0x4bef2b._0x472fca,-0xf5,0x120,_0x4bef2b._0x37c23d)],'snippet':_0x274b23,'url':_0x28cf92?normalizeUrl(new URL(_0x28cf92,_0x491cde[_0x10e725(-_0x4bef2b._0x5a6906,-_0x4bef2b._0x1ab990,_0x4bef2b._0x1540de,-_0x4bef2b._0x3f5822)])[_0x10e725(-_0x4bef2b._0xeef525,-0x29c,-_0x4bef2b._0x220c92,-_0x4bef2b._0x354f0a)]()):_0x491cde[_0x10e725(-0x132,-_0x4bef2b._0xf1a98c,-0x16d,-_0x4bef2b._0x2eae19)],'publishedAt':_0x3578b1};}catch{return _0x491cde;}}));function _0xe6e63d(_0x2af701,_0x1b67d2,_0x494409,_0x1021c1){return _0x4d40c0(_0x2af701-_0x1ec069._0x56bbaa,_0x2af701-_0x1ec069._0x310bf0,_0x494409-0x112,_0x1b67d2);}function _0x4254b4(_0x1acbc7,_0x25153f,_0x58b71e,_0x3dafb4){return _0xf90728(_0x58b71e,_0x25153f-_0x4118b6._0x2bb83d,_0x1acbc7-_0x4118b6._0x2b31e3,_0x3dafb4-_0x4118b6._0x4f2d2a);}const _0x310b05=new Map(_0x2ea365['slice'](0x0,0xa)[_0xe6e63d(0xab,-_0x15ba4b._0x250a77,0xc,0x28)]((_0x43b9a2,_0x4d7ed0)=>[_0x43b9a2[_0xe6e63d(-0xee,-0x206,0x70,0x2a)],_0x56ed88[_0x4d7ed0]]));return _0x2ea365[_0xe6e63d(_0x15ba4b._0x5587b3,_0x15ba4b._0x568fc3,0x75,0x169)](_0x345ea6=>_0x310b05[_0x4254b4(0x1a7,0x252,0x88,0x1ed)](_0x345ea6[_0xe6e63d(-0xee,-0x11a,-0x19d,-0x8a)])??_0x345ea6);}function formatResults(_0x18947e){const _0x58ccb1={_0x208de9:0x49b,_0x851807:0x537,_0xb3c957:0x5d3,_0x59cd7e:0x454,_0x308662:0x593,_0x49e1fe:0x4f7},_0x1713f1={_0x594cf6:0xdd,_0x416193:0x9f,_0x4f1da5:0x603,_0x255434:0x5e7,_0x836cb2:0x141,_0x52fb55:0x4,_0x5db0a0:0x21,_0x31e3ee:0x42c,_0x583a5f:0x337,_0x5ab5be:0x29b,_0x38b91c:0x3d3,_0x4e6947:0x48b,_0x48f980:0x53f,_0x239895:0x486,_0x385c2a:0x57c,_0x30f0d7:0x480,_0x3518df:0x2d3,_0x3e0b07:0xee,_0x24636d:0x137,_0x55cc9c:0x20},_0x406eaf={_0x23df94:0x86},_0x18bcde={_0x1e60cb:0x16b},_0x577d15={_0x32b962:0x13b};function _0x4eb48a(_0x20c664,_0x3d57b8,_0x9bebcf,_0x2c8fe8){return _0xf90728(_0x9bebcf,_0x3d57b8-_0x577d15._0x32b962,_0x2c8fe8-0x4b1,_0x2c8fe8-0x19e);}if(_0x18947e[_0x4eb48a(0x452,_0x58ccb1._0x208de9,0x4c6,_0x58ccb1._0x851807)]===0x0)return _0x3fb796(0x3f0,0x3ca,0x431,0x3de);function _0x3fb796(_0x288aae,_0x46f7e1,_0x945c49,_0x411ca7){return _0xf90728(_0x46f7e1,_0x46f7e1-0x96,_0x945c49-0x441,_0x411ca7-_0x18bcde._0x1e60cb);}return _0x18947e[_0x3fb796(_0x58ccb1._0xb3c957,_0x58ccb1._0x59cd7e,_0x58ccb1._0x308662,0x5f7)](_0x168c30=>{function _0x1cee88(_0x26d5ab,_0x1f58ec,_0x13166f,_0x4f4723){return _0x4eb48a(_0x26d5ab-0x183,_0x1f58ec-0x108,_0x4f4723,_0x26d5ab-0xfa);}function _0x2f5d12(_0x1d25cb,_0xc0d5a1,_0x58c074,_0x5c9d05){return _0x3fb796(_0x1d25cb-0xa1,_0x58c074,_0x5c9d05- -0x5cc,_0x5c9d05-_0x406eaf._0x23df94);}const _0x117b78=[_0x168c30[_0x2f5d12(-_0x1713f1._0x594cf6,0x53,-_0x1713f1._0x416193,-0x24)][_0x1cee88(0x4a7,_0x1713f1._0x4f1da5,0x54d,_0x1713f1._0x255434)]+'.\x20'+_0x168c30[_0x2f5d12(_0x1713f1._0x836cb2,0x75,_0x1713f1._0x52fb55,-_0x1713f1._0x5db0a0)],_0x168c30[_0x1cee88(0x564,0x5ad,0x5ef,_0x1713f1._0x31e3ee)]];if(_0x168c30[_0x2f5d12(-0x368,-_0x1713f1._0x583a5f,-0x1ad,-_0x1713f1._0x5ab5be)])_0x117b78['push'](_0x168c30[_0x1cee88(0x49b,0x56f,_0x1713f1._0x38b91c,_0x1713f1._0x4e6947)]);if(_0x168c30[_0x1cee88(0x571,0x586,_0x1713f1._0x48f980,_0x1713f1._0x239895)])_0x117b78['push'](_0x1cee88(_0x1713f1._0x385c2a,0x529,_0x1713f1._0x30f0d7,0x43a)+_0x168c30[_0x2f5d12(-0x1d5,-0x76,-_0x1713f1._0x3518df,-0x1c5)]);return _0x117b78[_0x2f5d12(-0x6,-_0x1713f1._0x3e0b07,_0x1713f1._0x24636d,-_0x1713f1._0x55cc9c)]('\x0a');})[_0x3fb796(_0x58ccb1._0x49e1fe,0x53c,0x5ac,0x67d)]('\x0a\x0a');}async function searchOllama(_0x282505,_0x49f817,_0x3a7e1f){const _0x4e51f7={_0x5a979d:0x51b,_0x251412:0x514,_0x710cd1:0x519,_0x2feb0a:0x65e,_0x33da69:0x607,_0x43b541:0x7c,_0x23f0f6:0x14a,_0x169a0e:0xfa,_0x309f02:0x2cc,_0x3d1aac:0x3cb,_0x485195:0x2d,_0x1d024e:0x1b8,_0x12f096:0x18d,_0x4c8a3c:0x1b2,_0x5ecad1:0x286,_0x5e06ca:0x18c,_0x5ca86c:0x6ac,_0x169dd4:0x720,_0x2cfa4b:0x4f5},_0x1a1827={_0x19d503:0x13a,_0x33c70f:0x25f,_0x18ac26:0x58,_0x2362e6:0x79,_0x4afa59:0x25d,_0x330610:0x16f,_0x4ed777:0x364},_0x2ebacc={_0x51dd8d:0x6b4},_0x1a9c01={_0x210bcf:0x36,_0x49a977:0x13},_0x1d58da={_0x4ccd72:0xba,_0x4ce119:0x55a,_0x2376e7:0x9},_0x90b496={_0x1cbb10:0xde,_0x55f3ea:0x59,_0x95f7a1:0xa6},_0x383116=Math[_0x3af9b8(_0x4e51f7._0x5a979d,0x51b,0x590,_0x4e51f7._0x251412)](0x1,Math[_0x3af9b8(_0x4e51f7._0x710cd1,0x7ac,_0x4e51f7._0x2feb0a,_0x4e51f7._0x33da69)](0xa,_0x49f817['count']));function _0x43ecfe(_0x3224dc,_0x4a3357,_0x61ea00,_0x580fc3){return _0x4d40c0(_0x3224dc-_0x90b496._0x1cbb10,_0x580fc3- -_0x90b496._0x55f3ea,_0x61ea00-_0x90b496._0x95f7a1,_0x4a3357);}const _0x1f7536=addSiteFilters(_0x49f817[_0x43ecfe(-0x1a9,-_0x4e51f7._0x43b541,-_0x4e51f7._0x23f0f6,-_0x4e51f7._0x169a0e)],_0x49f817['domains']);function _0x3af9b8(_0x417870,_0x5520ab,_0xe0923,_0x456dbc){return _0xf90728(_0x456dbc,_0x5520ab-_0x1d58da._0x4ccd72,_0xe0923-_0x1d58da._0x4ce119,_0x456dbc-_0x1d58da._0x2376e7);}const _0x337345=await fetchJson(_0x43ecfe(-_0x4e51f7._0x309f02,-0x368,-_0x4e51f7._0x3d1aac,-0x2f8),_0x3a7e1f,{'method':_0x43ecfe(-0x16f,-_0x4e51f7._0x485195,-_0x4e51f7._0x1d024e,-0x4e),'headers':{'Authorization':'Bearer\x20'+_0x282505[_0x43ecfe(-_0x4e51f7._0x12f096,-0x1bb,-0x43,-0x177)]},'body':JSON['stringify']({'query':_0x1f7536,'max_results':_0x383116})}),_0x5b59ea=_0x337345[_0x43ecfe(-_0x4e51f7._0x4c8a3c,-_0x4e51f7._0x5ecad1,-_0x4e51f7._0x5e06ca,-0x265)]??[],_0x273f77=_0x5b59ea[_0x3af9b8(0x801,0x6a3,_0x4e51f7._0x5ca86c,_0x4e51f7._0x169dd4)]((_0xa48a48,_0x3df46f)=>{const _0x1a9038=_0xa48a48[_0x41554b(-0x1a1,-_0x1a1827._0x19d503,-0x2c3,-_0x1a1827._0x33c70f)]||'';let _0x141905;function _0x5cf668(_0x39bf91,_0x2f4142,_0x44ccbc,_0x1a6740){return _0x3af9b8(_0x39bf91-_0x1a9c01._0x210bcf,_0x2f4142-_0x1a9c01._0x49a977,_0x44ccbc- -0x547,_0x2f4142);}try{_0x141905=new URL(_0x1a9038)[_0x41554b(-0xb0,-0xd4,_0x1a1827._0x18ac26,-0x201)];}catch{_0x141905=null;}function _0x41554b(_0x46ce21,_0x218ae0,_0x5cdaf4,_0x2c811c){return _0x3af9b8(_0x46ce21-0x1cb,_0x218ae0-0x29,_0x46ce21- -_0x2ebacc._0x51dd8d,_0x2c811c);}return{'title':_0xa48a48['title']||'Untitled','url':normalizeUrl(_0x1a9038),'snippet':_0xa48a48[_0x5cf668(0x1dc,-_0x1a1827._0x2362e6,0xe7,0x142)]??null,'displayUrl':_0x141905,'favicon':null,'publishedAt':null,'source':{'engine':_0x41554b(-_0x1a1827._0x4afa59,-0x39d,-_0x1a1827._0x330610,-_0x1a1827._0x4ed777),'rank':_0x3df46f+0x1}};});return{'items':_0x273f77[_0x3af9b8(0x514,0x3c6,_0x4e51f7._0x2cfa4b,0x524)](0x0,_0x383116),'engine':'ollama'};}async function searchTavily(_0x4d10f3,_0x3b3939,_0x57d4d8){const _0x4912ba={_0x2c4cc5:0x1d5,_0x3e0efb:0x1a,_0x5d5ec1:0x49,_0x1e6f76:0x3f6,_0x25efca:0x4ff,_0x36d4d7:0x192,_0x96f6c8:0x27b,_0x172999:0xf8,_0x398f93:0x20f,_0x5a337b:0x32b,_0x1088ec:0x2d,_0x5401bd:0x378,_0x42b185:0x371,_0x216cf5:0x725,_0xdf3b44:0x605,_0x360f8a:0x5dd,_0x399296:0x5ed,_0x158153:0x4b1,_0x23c5f0:0x428,_0x2a62fd:0x4a4,_0x2c56bb:0x1bb,_0x2d84c0:0xe3,_0x2a7bea:0x64,_0x2d8cb5:0x1d6,_0x2c9483:0x1c2,_0x5ba308:0x191,_0x155caa:0x53a,_0x56cdb5:0x5c6,_0x2a29d7:0x83,_0x500a9a:0x12a,_0x2b0ed8:0x88,_0x50a439:0x17e,_0x2cdff8:0x1ce},_0x431f21={_0x320120:0x62a,_0x1c636b:0x12c},_0x49af28={_0x1c7321:0x2b9,_0x1441bd:0x199,_0x4d8a64:0x41f,_0x1684ce:0x327},_0x356eeb={_0x510bf9:0xcc},_0x1ed410={_0x9e3804:0x1d4},_0x22ef75=Math[_0x50aae8(0x123,_0x4912ba._0x2c4cc5,_0x4912ba._0x3e0efb,_0x4912ba._0x5d5ec1)](0x1,Math['min'](0x14,_0x3b3939[_0x1c42d6(0x481,_0x4912ba._0x1e6f76,0x513,_0x4912ba._0x25efca)])),_0x6a2afd={'query':_0x3b3939[_0x50aae8(_0x4912ba._0x36d4d7,_0x4912ba._0x96f6c8,_0x4912ba._0x172999,_0x4912ba._0x398f93)],'max_results':_0x22ef75,'search_depth':_0x4d10f3['searchDepth']??_0x50aae8(0x1d4,0xe4,_0x4912ba._0x5a337b,0x2c6),'topic':_0x4d10f3[_0x50aae8(0x103,0x146,0x146,-_0x4912ba._0x1088ec)]??_0x1c42d6(0x2a1,_0x4912ba._0x5401bd,_0x4912ba._0x42b185,0x40a)};if(_0x3b3939[_0x1c42d6(_0x4912ba._0x216cf5,_0x4912ba._0xdf3b44,0x5e2,_0x4912ba._0x360f8a)][_0x1c42d6(_0x4912ba._0x399296,_0x4912ba._0x158153,0x5ac,0x56a)]>0x0)_0x6a2afd[_0x1c42d6(_0x4912ba._0x23c5f0,0x3e7,_0x4912ba._0x2a62fd,0x3a7)]=_0x3b3939['domains'];const _0x3d7806=await fetchJson(_0x50aae8(_0x4912ba._0x2c56bb,_0x4912ba._0x2d84c0,_0x4912ba._0x2a7bea,0x22c),_0x57d4d8,{'method':_0x50aae8(0x23e,_0x4912ba._0x2d8cb5,_0x4912ba._0x2c9483,_0x4912ba._0x5ba308),'headers':{'Authorization':_0x1c42d6(0x67c,0x6ba,0x60b,0x604)+_0x4d10f3[_0x1c42d6(0x6ab,0x507,_0x4912ba._0x155caa,_0x4912ba._0x56cdb5)],'Content-Type':_0x50aae8(-0x3b,-_0x4912ba._0x2a29d7,0xbf,-_0x4912ba._0x500a9a)},'body':JSON[_0x50aae8(0x1d2,0x169,0x347,0xd7)](_0x6a2afd)}),_0x1cfdfc=_0x3d7806['results']??[];function _0x50aae8(_0x550293,_0x27ba5b,_0x1841a3,_0x4c9e6e){return _0x4d40c0(_0x550293-0x40,_0x550293-0x233,_0x1841a3-_0x1ed410._0x9e3804,_0x4c9e6e);}const _0x2e6309=_0x1cfdfc['map']((_0x1a88fd,_0x30f106)=>{const _0x1b2ce1={_0x196db2:0x2e3},_0x3ed184=_0x1a88fd['url']||'';let _0x488def;function _0x89f345(_0x275e3b,_0xd2c3c8,_0x52826e,_0x3cdaed){return _0x1c42d6(_0x275e3b-0x12,_0x52826e,_0x52826e-0xb0,_0x3cdaed- -_0x1b2ce1._0x196db2);}try{_0x488def=new URL(_0x3ed184)[_0x89f345(0x41c,_0x49af28._0x1c7321,0x13e,0x2ab)];}catch{_0x488def=null;}function _0x3d4027(_0x5ea092,_0x8dcbe6,_0x5a871b,_0x1ae4e3){return _0x50aae8(_0x5ea092-0x4cc,_0x8dcbe6-_0x356eeb._0x510bf9,_0x5a871b-0x12c,_0x1ae4e3);}return{'title':_0x1a88fd['title']||_0x89f345(0xcf,0x181,_0x49af28._0x1441bd,0x198),'url':normalizeUrl(_0x3ed184),'snippet':_0x1a88fd['content']??null,'displayUrl':_0x488def,'favicon':null,'publishedAt':null,'source':{'engine':_0x89f345(0x2ec,_0x49af28._0x4d8a64,_0x49af28._0x1684ce,0x369),'rank':_0x30f106+0x1}};});function _0x1c42d6(_0x77a8b3,_0x1e7af0,_0x221830,_0x10fc82){return _0x4d40c0(_0x77a8b3-0x2f,_0x10fc82-_0x431f21._0x320120,_0x221830-_0x431f21._0x1c636b,_0x1e7af0);}return{'items':_0x2e6309[_0x50aae8(_0x4912ba._0x2b0ed8,0xdf,0x17f,_0x4912ba._0x50a439)](0x0,_0x22ef75),'engine':_0x50aae8(0x255,0x16c,0x368,_0x4912ba._0x2cdff8)};}async function searchGoogleCse(_0x565fcb,_0x177263,_0x2e3ec4){const _0x562d03={_0x1e92ab:0x104,_0x4011e2:0x70b,_0x24c3bf:0x655,_0xddefcf:0x6c5,_0x2473c9:0x86,_0xd1e3a0:0x189,_0x4d771a:0x739,_0x4565b3:0x69b,_0x59e7a4:0x6e5,_0x426bb5:0x6c2,_0x15362c:0x6d0,_0x2be5b9:0x5,_0x2177ed:0x2c,_0x4fc80b:0x6e1,_0x1210ec:0x620,_0x5c25ef:0x5e0,_0x3480fc:0x5ad,_0x4c407f:0x801,_0x2f6611:0x6ec,_0x3f699e:0x643,_0x4295e1:0x578,_0x13932f:0x151,_0x5abd5b:0x10,_0x3ce281:0x256,_0xc999a6:0x42,_0x75744c:0x185,_0x33417a:0x712,_0x380d70:0x752,_0x3681ac:0x5e6,_0x40aac0:0x751,_0x1f713f:0x68f,_0x184341:0x64a,_0x2b9f92:0x882,_0x1abe46:0x179,_0x46809e:0x24f,_0x4bd038:0x5e3,_0x2816b9:0x7c1,_0x109420:0x120,_0x41b42f:0x730,_0x1709f7:0x71f,_0x28d5b6:0xd5,_0x4c82e5:0x182,_0x43cfe2:0x55,_0x3f11ca:0xec,_0x2b76b3:0x65b,_0x422a43:0x7c7,_0x502874:0x580,_0x5714e8:0x536,_0x264a80:0x699,_0x13a462:0x69,_0xf73eff:0x7c,_0x4575ee:0x131,_0x2f90d8:0x536,_0x5b01b9:0x1b9,_0x4b7e5d:0x108,_0x2c9eab:0x75,_0x414d45:0x63f,_0x56e683:0x548,_0x533818:0x76c,_0x30a434:0x6ca,_0x200598:0x570,_0x3cfbcc:0x49d,_0x8a1d10:0x534,_0x1a1b8c:0x58a,_0x24b266:0x41a,_0x3fa4c4:0x56a,_0x213180:0x629,_0x484c73:0x11e,_0x2d2628:0x12a,_0xb8796:0x231,_0x116b1e:0xf2,_0x299b81:0x126,_0x2e3617:0x2fc,_0x15262c:0x196,_0x582c0c:0x18,_0x52da39:0x244,_0x1b8a6c:0xde,_0x233b3c:0xc2,_0x57a96a:0x75,_0x39c2e3:0x503,_0x411a1b:0x10a,_0x15b4f8:0x101,_0x453565:0x58,_0x3bfeb2:0x58,_0x19be59:0x611,_0x3c7b82:0x687,_0x4c3b02:0x2,_0xe2b2b1:0x51,_0x2d3db9:0xd9,_0x34854b:0x40,_0x287ad5:0x167,_0x21068c:0xb8,_0x5ec09e:0x170,_0x29dcfb:0x1ee,_0x5f1981:0xce,_0x39e360:0x506,_0xd1c0f2:0x3d0,_0x325ef1:0x3c2,_0x3a0bc5:0x498,_0xfce9ac:0x1d,_0x5927b9:0x170,_0x2a1929:0x9f,_0x15f9be:0x145,_0xfe89a5:0x1d8,_0x2e6baf:0x674,_0x191371:0x42c,_0x36d560:0xfd,_0x3f7b6c:0x4b,_0x16739a:0x673,_0x1c3df8:0xee},_0x4bfdfc={_0x4b4fec:0x1f2,_0xeecb4b:0x5dd},_0x3854b5={_0x3e654d:0x1a5},_0x1da933=Math[_0x45a416(-0x1f7,0x29,-0xa8,-_0x562d03._0x1e92ab)](0x1,Math['min'](0x32,_0x177263[_0x1c3a9b(0x5f8,_0x562d03._0x4011e2,_0x562d03._0x24c3bf,_0x562d03._0xddefcf)]));if(_0x177263[_0x45a416(_0x562d03._0x2473c9,_0x562d03._0xd1e3a0,0x7e,0xe8)]+_0x1da933>0x64)throw new ToolExecutionError('Google\x20CSE\x20supports\x20at\x20most\x20the\x20first\x20100\x20results',{'offset':_0x177263[_0x1c3a9b(_0x562d03._0x4d771a,0x740,0x6c8,0x808)],'count':_0x1da933,'maxResults':0x64});const _0x5ca61a=cseDateRestrict(_0x177263[_0x1c3a9b(_0x562d03._0x4565b3,0x6f8,_0x562d03._0x59e7a4,_0x562d03._0x426bb5)]),_0x1e77e6=addSiteFilters(_0x177263[_0x1c3a9b(0x682,_0x562d03._0x15362c,0x77e,0x6c1)],_0x177263[_0x1c3a9b(0x6d6,0x6d9,0x61d,0x785)]);let _0x226464=0x0;function _0x45a416(_0x5b2a8c,_0x316089,_0x13c0f7,_0x51db69){return _0xf90728(_0x5b2a8c,_0x316089-_0x3854b5._0x3e654d,_0x13c0f7- -0xde,_0x51db69-0x152);}function _0x1c3a9b(_0x37b0c8,_0x226fd9,_0x581d00,_0x460ae9){return _0xf90728(_0x581d00,_0x226fd9-_0x4bfdfc._0x4b4fec,_0x37b0c8-_0x4bfdfc._0xeecb4b,_0x460ae9-0x145);}let _0x3955b1=_0x177263[_0x45a416(_0x562d03._0x2be5b9,_0x562d03._0x2177ed,0x7e,0xf3)]+0x1;const _0x329565=[];while(_0x226464<_0x1da933){const _0x4919c2=Math[_0x1c3a9b(_0x562d03._0x4fc80b,_0x562d03._0x1210ec,0x5c0,_0x562d03._0x5c25ef)](0xa,_0x1da933-_0x226464),_0x19d5c2=new URL('https://www.googleapis.com/customsearch/v1');_0x19d5c2[_0x1c3a9b(0x536,0x61c,0x599,_0x562d03._0x3480fc)][_0x1c3a9b(0x730,0x638,0x7b5,_0x562d03._0x4c407f)](_0x1c3a9b(_0x562d03._0x2f6611,_0x562d03._0x4011e2,_0x562d03._0x3f699e,_0x562d03._0x4295e1),_0x565fcb[_0x45a416(0x76,-_0x562d03._0x13932f,_0x562d03._0x5abd5b,-0x58)]),_0x19d5c2[_0x45a416(-_0x562d03._0x3ce281,-_0x562d03._0xc999a6,-_0x562d03._0x75744c,-0x1d4)][_0x1c3a9b(0x730,_0x562d03._0x33417a,_0x562d03._0x380d70,0x84d)]('cx',_0x565fcb[_0x1c3a9b(_0x562d03._0x3681ac,0x650,_0x562d03._0x40aac0,0x5e7)]),_0x19d5c2['searchParams'][_0x1c3a9b(0x730,_0x562d03._0x1f713f,_0x562d03._0x184341,_0x562d03._0x2b9f92)]('q',_0x1e77e6),_0x19d5c2[_0x45a416(-_0x562d03._0x1abe46,-0x10c,-0x185,-0x205)]['set']('num',String(_0x4919c2)),_0x19d5c2[_0x45a416(-_0x562d03._0x46809e,-0x202,-0x185,-0x1b1)][_0x1c3a9b(0x730,_0x562d03._0x4bd038,_0x562d03._0x2816b9,0x751)](_0x45a416(0xd7,0x100,0x63,_0x562d03._0x109420),String(_0x3955b1)),_0x19d5c2[_0x1c3a9b(0x536,0x44b,0x4bb,0x3e0)][_0x1c3a9b(_0x562d03._0x41b42f,0x5c9,_0x562d03._0x1709f7,0x89a)](_0x45a416(0x54,_0x562d03._0x28d5b6,-0x55,-0x27),_0x177263[_0x45a416(-_0x562d03._0x4c82e5,0x5,-_0x562d03._0x43cfe2,-_0x562d03._0x3f11ca)]?_0x1c3a9b(0x4cc,0x571,0x3c9,0x633):_0x1c3a9b(_0x562d03._0x2b76b3,_0x562d03._0x422a43,0x4f4,_0x562d03._0x502874));_0x177263['lang']&&(_0x19d5c2[_0x1c3a9b(_0x562d03._0x5714e8,_0x562d03._0x264a80,0x3de,0x626)]['set']('hl',_0x177263[_0x45a416(_0x562d03._0x13a462,0x50,-_0x562d03._0xf73eff,-_0x562d03._0x4575ee)]),_0x19d5c2[_0x1c3a9b(_0x562d03._0x2f90d8,0x4d7,0x4a5,0x557)][_0x45a416(_0x562d03._0x5b01b9,_0x562d03._0x4b7e5d,_0x562d03._0x2c9eab,0x152)]('lr',_0x1c3a9b(0x5b6,0x4e7,0x53c,0x694)+_0x177263[_0x1c3a9b(_0x562d03._0x414d45,_0x562d03._0x56e683,_0x562d03._0x533818,0x6bd)]));if(_0x177263['region'])_0x19d5c2['searchParams'][_0x1c3a9b(_0x562d03._0x41b42f,0x877,_0x562d03._0x30a434,0x803)]('gl',_0x177263[_0x1c3a9b(_0x562d03._0x200598,_0x562d03._0x3cfbcc,_0x562d03._0x8a1d10,0x694)][_0x1c3a9b(0x590,0x4c4,0x64b,0x4ee)]());if(_0x177263[_0x1c3a9b(_0x562d03._0x1a1b8c,_0x562d03._0x24b266,_0x562d03._0x3fa4c4,_0x562d03._0x213180)]===_0x45a416(-_0x562d03._0x484c73,-0x243,-_0x562d03._0x2d2628,-_0x562d03._0xb8796))_0x19d5c2[_0x45a416(-0x23b,-_0x562d03._0x116b1e,-0x185,-0x150)]['set'](_0x45a416(-_0x562d03._0x299b81,-_0x562d03._0x2e3617,-_0x562d03._0x15262c,-0x2c2),'image');if(_0x5ca61a)_0x19d5c2[_0x45a416(-0x9f,-_0x562d03._0x582c0c,-_0x562d03._0x75744c,-_0x562d03._0x52da39)][_0x45a416(-_0x562d03._0x1b8a6c,_0x562d03._0x233b3c,_0x562d03._0x57a96a,-0x21)]('dateRestrict',_0x5ca61a);const _0x202127=await fetchJson(_0x19d5c2[_0x1c3a9b(0x5a4,0x5c5,0x495,_0x562d03._0x39c2e3)](),_0x2e3ec4),_0x450e22=_0x202127[_0x45a416(-_0x562d03._0x411a1b,0x56,-0xdb,-0x222)]??[];if(_0x450e22[_0x45a416(-0x53,_0x562d03._0x15b4f8,-_0x562d03._0x453565,-_0x562d03._0x233b3c)]===0x0)break;const _0x497a77=_0x226464;for(let _0x22eaa1=0x0;_0x22eaa1<_0x450e22[_0x45a416(-0x13,-0xe3,-_0x562d03._0x3bfeb2,-0xf3)];_0x22eaa1++){const _0x26138a=_0x450e22[_0x22eaa1];if(!_0x26138a)continue;const _0x2fc02c=_0x26138a[_0x1c3a9b(0x6df,_0x562d03._0x19be59,_0x562d03._0x3c7b82,0x744)]||_0x26138a[_0x45a416(-0x45,-_0x562d03._0x4c3b02,-0x1b,_0x562d03._0xe2b2b1)]?.[_0x45a416(-0xc5,-0x83,-_0x562d03._0x2d3db9,_0x562d03._0x34854b)]||'',_0x68db77=_0x26138a[_0x45a416(_0x562d03._0x287ad5,0x1a4,0x8c,0x107)]||_0x26138a[_0x45a416(-0xe,-_0x562d03._0x21068c,-0x1b,-0x128)]?.['title']||_0x45a416(-_0x562d03._0x5ec09e,-0x18f,-0x147,-_0x562d03._0x4575ee),_0x218f52=_0x26138a[_0x45a416(-0x131,-0x177,-_0x562d03._0x29dcfb,-_0x562d03._0x5f1981)]||_0x26138a[_0x45a416(-0x9c,0x1c3,0x7f,-0x8a)]?.[_0x1c3a9b(_0x562d03._0x39e360,0x517,_0x562d03._0xd1c0f2,_0x562d03._0x325ef1)](/<[^>]+>/g,''),_0x5ed8e6=_0x26138a['pagemap']?.[_0x1c3a9b(0x4f3,0x477,0x634,_0x562d03._0x3a0bc5)]?.[0x0]??{};let _0x3cfa13;try{_0x3cfa13=new URL(_0x2fc02c)['host'];}catch{_0x3cfa13=null;}_0x329565[_0x45a416(-0xac,-_0x562d03._0xfce9ac,-_0x562d03._0x5927b9,-_0x562d03._0x2a1929)]({'title':_0x68db77,'url':normalizeUrl(_0x2fc02c),'snippet':_0x218f52??null,'displayUrl':_0x3cfa13,'favicon':null,'publishedAt':_0x5ed8e6[_0x45a416(-0x16f,-0xce,-0x20b,-0x2ef)]||_0x5ed8e6[_0x45a416(_0x562d03._0x15f9be,0xbd,0x77,_0x562d03._0xfe89a5)]||null,'source':{'engine':_0x1c3a9b(0x514,_0x562d03._0x2e6baf,_0x562d03._0x191371,0x55d),'rank':_0x497a77+_0x22eaa1+0x1}});}_0x226464+=_0x450e22[_0x45a416(-_0x562d03._0x36d560,0x9d,-_0x562d03._0x3bfeb2,-_0x562d03._0x3f7b6c)],_0x3955b1+=_0x450e22[_0x1c3a9b(0x663,_0x562d03._0x16739a,0x4f9,0x61a)];if(_0x450e22['length']<_0x4919c2)break;}return _0x329565[_0x45a416(_0x562d03._0x5abd5b,-0x9d,-0x143,-_0x562d03._0x1c3df8)](0x0,_0x1da933);}function isGoogleCseEngine(_0x2a4555){const _0x1a1a14={_0x3e233f:0x35f,_0x32a2ad:0x269},_0x1b7a0a={_0x5abc8b:0x7};function _0x55cbcf(_0x1bc408,_0x461269,_0x39c7d4,_0xf3f1cf){return _0xf90728(_0x1bc408,_0x461269-_0x1b7a0a._0x5abc8b,_0x461269-0x271,_0xf3f1cf-0x185);}return _0x55cbcf(0x39c,_0x1a1a14._0x3e233f,_0x1a1a14._0x32a2ad,0x231)in _0x2a4555;}function isOllamaEngine(_0x46f0aa){const _0x442652={_0x56f235:0xbc},_0x33b52c={_0x3bd185:0x84,_0x2080a8:0x40};function _0x5d42cb(_0x1fd8b3,_0x3df95a,_0x2af213,_0x164d4f){return _0xf90728(_0x3df95a,_0x3df95a-_0x33b52c._0x3bd185,_0x2af213-_0x33b52c._0x2080a8,_0x164d4f-0x146);}return _0x5d42cb(0xf0,0x8f,0x68,-_0x442652._0x56f235)in _0x46f0aa;}function isTavilyEngine(_0x1557ef){const _0x4b046e={_0x4e9ec3:0x542},_0x374065={_0xb2e70c:0xe7};function _0x35295b(_0x11751a,_0x4e0190,_0x26bce9,_0x4644c9){return _0x4d40c0(_0x11751a-_0x374065._0xb2e70c,_0x26bce9-0x5a6,_0x26bce9-0xc8,_0x4e0190);}return _0x35295b(0x411,0x403,_0x4b046e._0x4e9ec3,0x5c1)in _0x1557ef;}function createWebSearchTool(_0x2da61b){const _0x22752a={_0x5aaa90:0x62,_0x3691fa:0x87,_0xc4b2bd:0x278,_0x41dae9:0x252,_0x27d022:0x131,_0x5f3ad0:0x96,_0xe91983:0xa7,_0xf5a4c4:0x15e,_0x2b53ba:0x1cb,_0x2716f7:0x349,_0x3a16be:0x31a,_0x298ffe:0x28a,_0x426d9c:0x1e7,_0xb757fb:0x5e,_0x50194f:0x124,_0x5c8dba:0x25d,_0xe5388c:0x153,_0x2e3140:0x6e,_0x9878db:0x326,_0x24bf21:0x37,_0x234d7c:0x92,_0x31e273:0x1d7,_0x41d8f5:0x92,_0x1ce112:0x279,_0x6263f4:0x15d,_0x5985f0:0x29c,_0x29f072:0x1c1,_0x40cd0f:0x35,_0x11b544:0x92,_0x4bc0fa:0x265,_0x114df0:0xfb,_0x50a3c0:0x12b,_0x4b82e4:0x21c},_0x294a6a={_0x4a9908:0x2e2,_0x26ec06:0x35f,_0x3a94f0:0x190,_0x48b0ff:0x1bc,_0x3aae63:0x391,_0x511e32:0x27f,_0x2ddb56:0x310,_0x5c5734:0x31d,_0x5dc62f:0x2b,_0x1290bb:0x82,_0x5c2529:0x474,_0x4b716c:0x160,_0x39a133:0x22,_0x5023e3:0x91,_0x359ee3:0x421,_0x81a0f9:0x1fb,_0x2770c7:0x1b8,_0x50c5b4:0x19b,_0x57abda:0xf,_0x186151:0x172,_0x1d669e:0xcc,_0x18df34:0x304,_0x5b9805:0x386,_0x46dbb0:0x7c,_0x5128ab:0xee,_0x966f35:0x4d,_0x167edc:0x14d,_0x3b9d58:0x18f,_0x492cf5:0x248,_0x2e8a72:0x267,_0x2fe778:0x2b0,_0x1bd217:0x25c,_0x24e5bb:0x2cb,_0x295dad:0x356,_0x4a1be3:0x316,_0x23b98b:0x2e7,_0x3390d8:0x312,_0x51fe64:0x267,_0x41bfbc:0x137,_0x6c47b6:0x1be,_0x352ef6:0x324,_0x527a04:0x66,_0x45cc7c:0x2a7,_0x6b4e60:0x1d6,_0x445289:0x1bf,_0x452466:0x19d,_0x1b98d5:0x62,_0x2f016e:0x16e,_0x10d200:0x1a1,_0x88195a:0x10d,_0x402ff3:0x127,_0x239c4f:0x1b0,_0x460fbb:0x23d,_0x1e66b6:0x22b,_0x35317d:0x28d,_0x424253:0x7f,_0x5cdd2c:0x131,_0x5d1f91:0x1bd,_0x241993:0x30b,_0x4585fa:0x37a,_0x37768b:0x2d4,_0x10af4d:0x13b,_0x17550a:0x28b,_0xf604ec:0x1e4,_0x510ae5:0x16d,_0xe8955a:0x28a,_0x2a4ce7:0x1cd,_0xe782c8:0x1f7,_0x5b4c29:0x2c1,_0x586661:0x142,_0x55a855:0x1f0,_0x5de2b0:0x19b,_0x34845f:0x162,_0xe39d7e:0x2ce,_0x4e90b3:0x2f2,_0x2a3ef0:0x447,_0x5006d3:0x309,_0x422ee2:0x1b,_0x46f450:0xf,_0x2ef8d7:0x2f,_0x485ab3:0xd,_0x1a5612:0x2e8,_0x1d022f:0x48c,_0x4817bd:0x434,_0x121c85:0x2a6,_0x3e4817:0x1d8,_0x55c667:0x207,_0x533832:0x11d},_0x19eb15={_0x216710:0xd1};if(!_0x2da61b[_0x4bc1e9(-_0x22752a._0x5aaa90,0x106,0x222,0x1ae)]||_0x2da61b[_0x5e8649(-0xe6,0x6b,-_0x22752a._0x3691fa,-0x1b)][_0x4bc1e9(0x13a,_0x22752a._0xc4b2bd,0x2a7,_0x22752a._0x41dae9)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x5e8649(_0x230cbc,_0xfec1b6,_0x173512,_0x158a23){return _0xf90728(_0x230cbc,_0xfec1b6-0x21,_0x158a23-_0x19eb15._0x216710,_0x158a23-0x1da);}const _0x1b0c37=_0x2da61b[_0x4bc1e9(0x262,_0x22752a._0x27d022,_0x22752a._0x5f3ad0,_0x22752a._0xe91983)]??'WebSearch';function _0x4bc1e9(_0x181618,_0x5cda2c,_0x1df46b,_0x1ff5cf){return _0xf90728(_0x1df46b,_0x5cda2c-0x197,_0x5cda2c-0x1f2,_0x1ff5cf-0x107);}const _0x31ea83=_0x2da61b[_0x4bc1e9(_0x22752a._0xf5a4c4,0xd9,0x114,_0x22752a._0x2b53ba)];return defineTool({'name':_0x1b0c37,'description':_0x4bc1e9(0x43c,_0x22752a._0x2716f7,0x454,_0x22752a._0x3a16be),'inputSchema':{'type':_0x5e8649(_0x22752a._0x298ffe,_0x22752a._0x426d9c,_0x22752a._0xb757fb,_0x22752a._0x50194f),'properties':{'description':{'type':_0x5e8649(_0x22752a._0x5c8dba,_0x22752a._0xe5388c,_0x22752a._0x2e3140,0xfb)},'query':{'type':_0x4bc1e9(0x128,0x21c,_0x22752a._0x9878db,0x296)},'count':{'type':_0x5e8649(-0x1c3,_0x22752a._0x24bf21,-0x88,-_0x22752a._0x234d7c)},'offset':{'type':_0x5e8649(-_0x22752a._0x31e273,0x35,0x9,-_0x22752a._0x41d8f5)},'domains':{'type':_0x4bc1e9(_0x22752a._0x1ce112,_0x22752a._0x6263f4,0x252,_0x22752a._0x5985f0),'items':{'type':'string'}},'recencyDays':{'type':_0x5e8649(-_0x22752a._0x29f072,_0x22752a._0x40cd0f,0xc,-_0x22752a._0x11b544)},'lang':{'type':_0x5e8649(_0x22752a._0x4bc0fa,0x26f,0xca,_0x22752a._0x114df0)},'region':{'type':'string'},'safe':{'type':_0x5e8649(0x2dd,0x21e,_0x22752a._0x50a3c0,0x250)},'type':{'type':_0x4bc1e9(0x329,_0x22752a._0x4b82e4,0xf6,0x32c)},'hydrateMeta':{'type':'boolean'}},'required':['query']},async *'execute'(_0x56abfb,_0x35e9c1){const _0x3babb3={_0x25c4c3:0x424,_0xd02b94:0x535,_0x48975f:0x429,_0x5ec4a7:0x352,_0x19e04f:0x3b0,_0x4082cd:0x11,_0x5d4cf1:0xe3},_0x33c9bd=_0x56abfb[_0x433828(_0x294a6a._0x4a9908,_0x294a6a._0x26ec06,0x309,0x23e)]['trim']();if(!_0x33c9bd)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x2fd0e2={'query':_0x33c9bd,'count':Math['max'](0x1,Math[_0x23ab1b(0x2f5,0x206,0x34f,0x23d)](0x32,Math[_0x433828(0x305,_0x294a6a._0x3a94f0,_0x294a6a._0x48b0ff,0x1cd)](_0x56abfb[_0x433828(0x1a5,_0x294a6a._0x3aae63,_0x294a6a._0x511e32,_0x294a6a._0x2ddb56)]??0xa))),'offset':Math[_0x433828(0x3cd,0x357,0x29a,_0x294a6a._0x5c5734)](0x0,Math[_0x23ab1b(0x33,-_0x294a6a._0x5dc62f,-_0x294a6a._0x1290bb,0x91)](_0x56abfb[_0x433828(0x2af,_0x294a6a._0x5c2529,0x3c0,0x44e)]??0x0)),'domains':_0x56abfb[_0x23ab1b(0x2d7,0x277,_0x294a6a._0x4b716c,0x232)]??[],'recencyDays':Math['max'](0x0,Math[_0x23ab1b(0x67,_0x294a6a._0x39a133,-0x2a,_0x294a6a._0x5023e3)](_0x56abfb[_0x433828(0x3ff,_0x294a6a._0x359ee3,0x322,_0x294a6a._0x81a0f9)]??0x0)),'lang':_0x56abfb[_0x23ab1b(0x2cf,_0x294a6a._0x2770c7,0xba,_0x294a6a._0x50c5b4)]??'en','region':_0x56abfb[_0x23ab1b(-0x35,-_0x294a6a._0x57abda,_0x294a6a._0x186151,_0x294a6a._0x1d669e)]??'','safe':_0x56abfb[_0x433828(0x2ac,_0x294a6a._0x18df34,0x2ed,0x2ef)]??!![],'type':normalizeType(_0x56abfb['type']),'hydrateMeta':_0x56abfb[_0x433828(_0x294a6a._0x5b9805,0xe7,0x248,0x288)]??![]};let _0x3ba941=[],_0xaaa9c5=_0x23ab1b(-0x120,-0x123,0x44,0x32);function _0x433828(_0x2e7bc1,_0x59aa6f,_0x48e01d,_0x1ebc06){return _0x5e8649(_0x1ebc06,_0x59aa6f-0xbf,_0x48e01d-0xe3,_0x48e01d-0x193);}for(const _0x3b562a of _0x2da61b[_0x23ab1b(0xfd,_0x294a6a._0x46dbb0,-_0x294a6a._0x5128ab,_0x294a6a._0x966f35)]){try{if(isGoogleCseEngine(_0x3b562a))_0x3ba941=await searchGoogleCse(_0x3b562a,_0x2fd0e2,_0x35e9c1['signal']),_0xaaa9c5='google-cse';else{if(isOllamaEngine(_0x3b562a)){const _0x3ce20b=await searchOllama(_0x3b562a,_0x2fd0e2,_0x35e9c1[_0x23ab1b(_0x294a6a._0x167edc,_0x294a6a._0x3b9d58,_0x294a6a._0x492cf5,0x22b)]);_0x3ba941=_0x3ce20b[_0x433828(0x212,0x2a0,_0x294a6a._0x2e8a72,_0x294a6a._0x2fe778)],_0xaaa9c5=_0x3ce20b['engine'];}else{if(isTavilyEngine(_0x3b562a)){const _0x3a1569=await searchTavily(_0x3b562a,_0x2fd0e2,_0x35e9c1[_0x433828(_0x294a6a._0x1bd217,_0x294a6a._0x24e5bb,_0x294a6a._0x295dad,_0x294a6a._0x4a1be3)]);_0x3ba941=_0x3a1569[_0x433828(_0x294a6a._0x23b98b,_0x294a6a._0x3390d8,_0x294a6a._0x51fe64,_0x294a6a._0x41bfbc)],_0xaaa9c5=_0x3a1569[_0x433828(0x10c,0x1f2,_0x294a6a._0x6c47b6,_0x294a6a._0x352ef6)];}}}if(_0x3ba941[_0x23ab1b(_0x294a6a._0x527a04,_0x294a6a._0x45cc7c,_0x294a6a._0x6b4e60,_0x294a6a._0x445289)]>0x0)break;}catch(_0x18e7a6){if(_0x3b562a===_0x2da61b['engines'][_0x2da61b[_0x23ab1b(_0x294a6a._0x452466,_0x294a6a._0x1b98d5,_0x294a6a._0x2f016e,0x4d)]['length']-0x1])throw _0x18e7a6;}}function _0x23ab1b(_0x1d34db,_0x5e58be,_0xcf1ceb,_0x2db9ec){return _0x4bc1e9(_0x1d34db-0x1e9,_0x2db9ec- -0xb9,_0x1d34db,_0x2db9ec-0x185);}_0x2fd0e2[_0x433828(_0x294a6a._0x10d200,_0x294a6a._0x88195a,_0x294a6a._0x492cf5,_0x294a6a._0x402ff3)]&&_0x3ba941[_0x433828(0x420,0x1e3,0x2ea,0x24f)]>0x0&&(_0x3ba941=await hydrateResults(_0x3ba941,_0x2fd0e2[_0x23ab1b(_0x294a6a._0x239c4f,_0x294a6a._0x460fbb,0x1b5,0x19b)],_0x35e9c1[_0x23ab1b(0x2a0,0x190,0x3a0,_0x294a6a._0x1e66b6)],_0x31ea83));const _0x598474=new Set();_0x3ba941=_0x3ba941[_0x23ab1b(_0x294a6a._0x35317d,0x19b,_0x294a6a._0x424253,_0x294a6a._0x5cdd2c)](_0x4d0dc9=>{const _0x3508ba={_0x18dbcd:0xe6,_0x4c5ba6:0x375};function _0x5484a8(_0x2842e0,_0x1b125c,_0x58f447,_0x11a1cd){return _0x23ab1b(_0x2842e0,_0x1b125c-_0x3508ba._0x18dbcd,_0x58f447-0x186,_0x1b125c-_0x3508ba._0x4c5ba6);}const _0x31da3a=_0x4d0dc9[_0x5484a8(0x46d,0x467,_0x3babb3._0x25c4c3,_0x3babb3._0xd02b94)]['toLowerCase']();function _0x2177a1(_0x293a07,_0xa96cd2,_0x237f27,_0x81ee4d){return _0x23ab1b(_0x293a07,_0xa96cd2-0x143,_0x237f27-0x61,_0x237f27-0x13);}if(!_0x31da3a||_0x598474[_0x5484a8(0x4a7,_0x3babb3._0x48975f,_0x3babb3._0x5ec4a7,_0x3babb3._0x19e04f)](_0x31da3a))return![];return _0x598474[_0x2177a1(0x149,-0xb3,-_0x3babb3._0x4082cd,-_0x3babb3._0x5d4cf1)](_0x31da3a),!![];}),_0x3ba941=_0x3ba941[_0x23ab1b(_0x294a6a._0x5d1f91,_0x294a6a._0x241993,0x3aa,0x28b)]((_0x30f04d,_0x4043ef)=>({..._0x30f04d,'source':{..._0x30f04d[_0x23ab1b(0x30a,0x336,0x221,0x2a0)],'rank':_0x4043ef+0x1}}));const _0x52d677={};if(_0x2fd0e2[_0x433828(0x32b,_0x294a6a._0x4585fa,0x35d,_0x294a6a._0x37768b)][_0x23ab1b(_0x294a6a._0x10af4d,_0x294a6a._0x4a9908,_0x294a6a._0x17550a,0x1bf)]>0x0)_0x52d677['domains']=_0x2fd0e2['domains'];if(_0x2fd0e2[_0x23ab1b(0x94,0x1e4,0x17e,0x1f7)]>0x0)_0x52d677[_0x433828(0x241,_0x294a6a._0xf604ec,0x322,0x353)]=_0x2fd0e2[_0x23ab1b(_0x294a6a._0x510ae5,_0x294a6a._0xe8955a,_0x294a6a._0x2a4ce7,_0x294a6a._0xe782c8)];if(_0x2fd0e2[_0x23ab1b(_0x294a6a._0x5b4c29,_0x294a6a._0x586661,_0x294a6a._0x55a855,_0x294a6a._0x5de2b0)]!=='en')_0x52d677['lang']=_0x2fd0e2[_0x23ab1b(_0x294a6a._0x2a4ce7,_0x294a6a._0x34845f,_0x294a6a._0xe39d7e,_0x294a6a._0x50c5b4)];if(_0x2fd0e2[_0x433828(0x1ec,0x2a2,_0x294a6a._0xe782c8,0x2e5)])_0x52d677['region']=_0x2fd0e2[_0x433828(0x317,0x83,_0x294a6a._0xe782c8,_0x294a6a._0x4e90b3)];return yield createToolOutput(formatResults(_0x3ba941),{'engine':_0xaaa9c5,'count':_0x3ba941['length'],'items':_0x3ba941,'query':_0x2fd0e2[_0x433828(0x3dc,_0x294a6a._0x2a3ef0,_0x294a6a._0x5006d3,0x47d)],...Object[_0x23ab1b(-_0x294a6a._0x422ee2,-_0x294a6a._0x46f450,-_0x294a6a._0x2ef8d7,_0x294a6a._0x485ab3)](_0x52d677)[_0x433828(_0x294a6a._0x1a5612,0x1cb,0x2ea,0x2f4)]>0x0?{'appliedFilters':_0x52d677}:{},'offset':_0x2fd0e2[_0x433828(_0x294a6a._0x1d022f,_0x294a6a._0x4817bd,0x3c0,0x26b)],'totalRequested':_0x2fd0e2[_0x433828(_0x294a6a._0x121c85,0x1d5,_0x294a6a._0x511e32,_0x294a6a._0x3e4817)],'hydrated':_0x2fd0e2[_0x23ab1b(_0x294a6a._0x55c667,-0x36,0xab,_0x294a6a._0x533832)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|
|
1
|
+
(function(_0x341fa2,_0x117ff2){const _0x291f62={_0x23f459:0x25a,_0x59a281:0x291,_0x3130d9:0x294,_0x2a725d:0x38a,_0x25f97d:0x28e,_0x540b88:0x3db,_0x500f87:0x310,_0x17d6d6:0x3ad,_0x4f2a5b:0x405,_0x236f91:0x413,_0x4ce094:0x22f,_0x487d8f:0x50a,_0x1c1f4f:0x2bc,_0x5c5f25:0x332,_0x4bb7f1:0xe1,_0x11d28c:0x478,_0x5b04f3:0x5b9,_0x4c5025:0x412,_0x1effa7:0x3ea},_0x2fd729={_0x38440b:0x173};function _0x5dcd1c(_0x14372b,_0x2804f6,_0x7a6088,_0x16bcea){return _0x59f9(_0x16bcea-0x136,_0x7a6088);}const _0x5d6a00=_0x341fa2();function _0x43791e(_0x29a33e,_0x23a731,_0x58f70f,_0x3aa41e){return _0x59f9(_0x3aa41e-_0x2fd729._0x38440b,_0x23a731);}while(!![]){try{const _0x1d1bc0=-parseInt(_0x5dcd1c(0x1cf,0x2bc,_0x291f62._0x23f459,0x28e))/0x1*(-parseInt(_0x43791e(0x2de,0x118,_0x291f62._0x59a281,_0x291f62._0x3130d9))/0x2)+-parseInt(_0x43791e(0x1c0,0x220,_0x291f62._0x2a725d,_0x291f62._0x25f97d))/0x3*(parseInt(_0x5dcd1c(_0x291f62._0x540b88,_0x291f62._0x500f87,0x25b,_0x291f62._0x17d6d6))/0x4)+parseInt(_0x5dcd1c(0x32f,_0x291f62._0x4f2a5b,0x3b6,_0x291f62._0x236f91))/0x5*(parseInt(_0x5dcd1c(_0x291f62._0x4ce094,0x3a2,0x23c,_0x291f62._0x500f87))/0x6)+parseInt(_0x5dcd1c(_0x291f62._0x487d8f,0x32d,0x36c,0x40b))/0x7+parseInt(_0x5dcd1c(_0x291f62._0x1c1f4f,_0x291f62._0x5c5f25,_0x291f62._0x4bb7f1,0x20b))/0x8+-parseInt(_0x5dcd1c(0x328,0x4cd,0x498,_0x291f62._0x11d28c))/0x9*(-parseInt(_0x5dcd1c(_0x291f62._0x5b04f3,0x598,0x2e3,0x443))/0xa)+-parseInt(_0x5dcd1c(0x401,_0x291f62._0x4c5025,_0x291f62._0x1effa7,0x403))/0xb;if(_0x1d1bc0===_0x117ff2)break;else _0x5d6a00['push'](_0x5d6a00['shift']());}catch(_0x45b902){_0x5d6a00['push'](_0x5d6a00['shift']());}}}(_0x5311,0xb4df9));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-UIXQPCSN.js';import{getTextFromMessage}from'../chunk-YWQXXHHU.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x310533 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x48c1e5(0x410,0x4a8,0x384,0x492),'.tsx':_0x42cde8(0x14c,-0xa,0x25,0x5a),'.js':'javascript','.jsx':'javascriptreact','.mjs':'javascript','.cjs':_0x48c1e5(0x34c,0x20b,0x1e9,0x3ab),'.mts':_0x48c1e5(0x410,0x2fb,0x4d3,0x511),'.cts':'typescript','.json':_0x48c1e5(0x397,0x474,0x347,0x364),'.jsonc':'jsonc'};function getLanguageId(_0x4e4877){const _0x5a3090={_0x5c376c:0x133,_0x10dd39:0xb7},_0x372da3={_0x4e8540:0x4d,_0x1ac60c:0x2c1,_0x59c3ff:0x12c},_0x110aa6={_0xbfce02:0x1da};function _0x242e84(_0x5ead93,_0x2ec19f,_0x543687,_0x3766f3){return _0x42cde8(_0x5ead93-_0x110aa6._0xbfce02,_0x2ec19f-0x20d,_0x543687-0x164,_0x3766f3);}function _0x26d995(_0x1c131f,_0x55b371,_0x19a997,_0x33dc6d){return _0x42cde8(_0x1c131f-_0x372da3._0x4e8540,_0x33dc6d-_0x372da3._0x1ac60c,_0x19a997-_0x372da3._0x59c3ff,_0x55b371);}return EXTENSION_TO_LANGUAGE[_0x310533[_0x242e84(0x6b,_0x5a3090._0x5c376c,0xcf,_0x5a3090._0x10dd39)](_0x4e4877)[_0x242e84(0x290,0x342,0x391,0x247)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0xc443f3){const _0x3f5e76={_0x37f4ed:0x193},_0x2513a5={_0x2185ec:0x11e};function _0x22941f(_0x1a778a,_0x4ca0e3,_0x2a2669,_0x21449d){return _0x42cde8(_0x1a778a-0x61,_0x21449d-0xf2,_0x2a2669-_0x2513a5._0x2185ec,_0x1a778a);}return pathToFileURL(_0xc443f3)[_0x22941f(0x3ae,0x26b,_0x3f5e76._0x37f4ed,0x274)]();}function textDocumentPosition(_0x1ff6eb){const _0x515dd0={_0x408b1c:0x2b,_0x89881:0x19a};function _0x51592a(_0x3f0b5f,_0x4d0fdc,_0x4669de,_0x51c1b8){return _0x42cde8(_0x3f0b5f-0xd9,_0x4669de-0x107,_0x4669de-0x1b7,_0x4d0fdc);}return{'textDocument':{'uri':uriForPath(_0x1ff6eb['file'])},'position':{'line':_0x1ff6eb[_0x51592a(0x1e7,_0x515dd0._0x408b1c,_0x515dd0._0x89881,0x13b)],'character':_0x1ff6eb['character']}};}function normalizeLocations(_0x2f2fed){const _0x12b7e3={_0x52dbd7:0xb2,_0x2b6ac6:0xc6},_0x410211={_0x4c4192:0xcd};function _0x578caa(_0x4842be,_0x3c26c6,_0x35ad1c,_0x2d282f){return _0x42cde8(_0x4842be-0xea,_0x2d282f-_0x410211._0x4c4192,_0x35ad1c-0x13c,_0x3c26c6);}if(!_0x2f2fed)return[];return Array[_0x578caa(-_0x12b7e3._0x52dbd7,0x27,-_0x12b7e3._0x2b6ac6,0xa9)](_0x2f2fed)?_0x2f2fed:[_0x2f2fed];}async function createLspClient(_0x468fa4){const _0x23d57c={_0x496779:0x2f2,_0xa210ae:0x3b5,_0x30d882:0x2ff,_0x17d209:0x467,_0x2cc2c2:0x4b6,_0x5c4e67:0x37e,_0x59fc9e:0x4cd,_0x497502:0x358,_0x19b23b:0x361,_0x3cdefe:0x2d1,_0x1994c2:0x40e,_0x1e45c5:0x60f,_0x476e4e:0x564,_0x121f38:0x41d,_0x36a187:0x447,_0x394d5b:0x578,_0x398e28:0x57c,_0x541629:0x5cd,_0x579e0b:0x5f4,_0x548014:0x4a4,_0x182a58:0x65a,_0xd8cabc:0x585,_0x40191b:0x5cb,_0x394cdc:0x5e8,_0x51cd2d:0x5f1,_0x37fd37:0x2c4,_0x2eb521:0x2be,_0x3d1ff0:0x4b9,_0x44ef11:0x353,_0x540ad4:0x2f5,_0x5e3647:0x300,_0x4e8ea5:0x521,_0x1e77de:0x6dc,_0x12aacc:0x540,_0xaa3f88:0x421,_0x208806:0x43a,_0xe22ce3:0x4d6,_0x47a46a:0x5cb,_0x214b82:0x4bf,_0x460e79:0x330,_0x216a6a:0x415},_0x14a36d={_0x1f09d6:0xa9,_0x1ac8cc:0x22e,_0x3e0020:0x53e,_0x58aa2c:0x465,_0x2d8d9b:0x347,_0x3d38ae:0x51,_0x55ce66:0x1fc,_0x2f6356:0x12d,_0x341861:0x1fe,_0x3584c2:0x1c4},_0x4c9189={_0xf42fd0:0x129},_0x36fbb7={_0x3f6b42:0x1a0},_0x2a48cf={_0x218612:0x5b6,_0x2e0242:0x616,_0x41a4d5:0x53a,_0x29625a:0x576},_0x1928b2={_0x1fddd5:0x155,_0x4c7afe:0x1b9,_0x366d39:0x1e,_0x5de425:0x55},_0x5e5e51={_0x43fb5a:0x130,_0x46eef2:0x127},_0x4e48e1={_0x55364c:0x4fb,_0x1335f6:0x536,_0x42393f:0x436,_0x34e7f9:0x33f},_0x47966b={_0x14e86e:0x70},_0x851011={_0x42210:0x6e,_0xeca667:0xe7,_0x25e527:0x2e,_0x5340a1:0x8d,_0x59cad7:0x14b},_0x2d7eb3={_0xe2f3a9:0x495,_0x5f0571:0x193},_0xf77559={_0x2a2646:0xfd,_0xc95bbb:0x2d1,_0x274b6f:0x11c},_0x4c8c22={_0x1c198d:0x182,_0x1004f2:0x13b,_0x5c1a4d:0x44,_0x1a2f6f:0xe0},_0x36c7fe={_0x4fa87e:0x1c9,_0x191ed0:0x200,_0xd27539:0x1b1,_0x65e78e:0x1d0,_0x32ae02:0x121},_0x5cb3ed={_0x27751a:0xae,_0x49824f:0x1a7},_0x5c39a1={_0x47b9a5:0x38},_0x40454={_0x555611:0xb6},_0x5365f2={_0x46b4ac:0x4d3,_0x8f9fc6:0x50e},_0x3e32d2={_0xf6d42:0x1e3},_0x214ebd={_0x127df9:0xea},_0xa60007={_0x26f4f4:0x4b0,_0x3072c0:0x56a,_0x544313:0x58a,_0x3feb54:0x4c4},_0x1c1e5d={_0x45a84c:0x88,_0x58c526:0x130},_0x5c279b={_0x3a49a1:0xa5,_0x5ae4b3:0xcc,_0x435fe3:0x1a5},_0x1f37a2={_0xdda260:0x1fe,_0x319591:0x3af,_0x4f95a0:0x304,_0x3912e1:0x2b7,_0x810133:0x2da,_0x5c817e:0x2a3},_0x345c5e={_0x3b087e:0x2b4},_0x504cb2={_0x4834bb:0x3b,_0x507b9b:0x278,_0x50d53d:0x192},_0xc380b6={_0x14d956:0x50,_0x32795b:0xad},_0x391faa={_0x59c035:0xa3,_0x95463d:0x38,_0x222b05:0xfe,_0x341041:0x373,_0x58a56d:0x29a},_0x318aca={_0x1c1676:0x1c2,_0x37ddcb:0x162},_0x8622f1={_0x263e12:0x715,_0x333856:0x6e2,_0x5c890a:0x582,_0x33bbe6:0x1d1,_0xae849e:0x1b9,_0x1e7395:0x495,_0x5e0684:0x648,_0x58c1bb:0x458},_0x4ea4d7={_0x4284e8:0x1a2},_0x16eb9f={_0x14baf1:0x182,_0x5948ff:0x1b0,_0x2db474:0x123,_0x3b0ada:0xd4,_0x3887b7:0xee,_0x2ce38b:0x251},_0x6c3a20={_0xb601b:0x1c5},_0x3cfb2b={_0x582738:0x107,_0x27c859:0x1a3},_0x335c8a=_0x468fa4[_0x564b8e(_0x23d57c._0x496779,0x48c,_0x23d57c._0xa210ae,_0x23d57c._0x30d882)][_0x2f8c23(_0x23d57c._0x17d209,0x47d,_0x23d57c._0x2cc2c2,_0x23d57c._0x5c4e67)][_0x564b8e(_0x23d57c._0x59fc9e,_0x23d57c._0x497502,_0x23d57c._0x19b23b,0x328)],_0x5c0984=_0x468fa4[_0x564b8e(_0x23d57c._0x3cdefe,0x4d5,_0x23d57c._0xa210ae,0x270)][_0x2f8c23(_0x23d57c._0x1994c2,0x47d,0x59e,0x510)]['stdin'];if(!_0x335c8a||!_0x5c0984)throw new Error(_0x2f8c23(_0x23d57c._0x1e45c5,_0x23d57c._0x476e4e,_0x23d57c._0x121f38,_0x23d57c._0x36a187));const _0x482e68=createMessageConnection(new StreamMessageReader(_0x335c8a),new StreamMessageWriter(_0x5c0984));function _0x2f8c23(_0x588cab,_0x4d3117,_0x3bbf88,_0x5ee51d){return _0x42cde8(_0x588cab-_0x3cfb2b._0x582738,_0x4d3117-0x43b,_0x3bbf88-_0x3cfb2b._0x27c859,_0x5ee51d);}const _0xc5c089=new Map();function _0x564b8e(_0x483230,_0x53e9f8,_0xc779a1,_0x480e82){return _0x42cde8(_0x483230-0x50,_0xc779a1-0x1cd,_0xc779a1-_0x6c3a20._0xb601b,_0x483230);}const _0x5e81a1=new Map();let _0x24b02d=![];_0x482e68['onNotification'](_0x2f8c23(0x69d,0x5ec,0x6db,_0x23d57c._0x394d5b),_0x1ba426=>{const _0x3546ba={_0x3b231c:0x4cb},_0x23f103={_0x9bdd5d:0x127,_0x3d9dcd:0x64};_0xc5c089['set'](_0x1ba426[_0x52994c(_0x16eb9f._0x14baf1,_0x16eb9f._0x5948ff,0x218,_0x16eb9f._0x2db474)],_0x1ba426[_0x52994c(0xff,0x1ed,_0x16eb9f._0x3b0ada,_0x16eb9f._0x3887b7)]);function _0x18f0f2(_0x35cef0,_0x208ffd,_0xbee970,_0x5c7627){return _0x2f8c23(_0x35cef0-_0x23f103._0x9bdd5d,_0x208ffd- -0x68,_0xbee970-_0x23f103._0x3d9dcd,_0x35cef0);}function _0x52994c(_0x2d9cd8,_0x526138,_0x21903c,_0x1a2d5e){return _0x2f8c23(_0x2d9cd8-0x1ac,_0x1a2d5e- -_0x3546ba._0x3b231c,_0x21903c-0x1f4,_0x21903c);}const _0x4d4bb6=_0x5e81a1['get'](_0x1ba426['uri']);if(!_0x4d4bb6)return;_0x5e81a1['delete'](_0x1ba426[_0x52994c(-0x29,0x224,_0x16eb9f._0x2ce38b,0x123)]);for(const _0x500143 of _0x4d4bb6)_0x500143();}),_0x482e68[_0x564b8e(0x11f,0x16d,0x19c,0x15c)]();const _0x2feaef=await _0x482e68[_0x2f8c23(0x645,_0x23d57c._0x398e28,0x415,0x4ff)]('initialize',{'processId':process[_0x2f8c23(_0x23d57c._0x541629,0x610,0x515,0x771)],'rootUri':uriForPath(_0x468fa4['root']),'workspaceFolders':[{'uri':uriForPath(_0x468fa4[_0x2f8c23(0x73b,_0x23d57c._0x579e0b,_0x23d57c._0x548014,_0x23d57c._0x182a58)]),'name':_0x468fa4[_0x2f8c23(_0x23d57c._0xd8cabc,_0x23d57c._0x40191b,_0x23d57c._0x394cdc,_0x23d57c._0x51cd2d)]['id']}],'initializationOptions':_0x468fa4[_0x564b8e(_0x23d57c._0x37fd37,0x4d8,_0x23d57c._0xa210ae,_0x23d57c._0x2eb521)][_0x2f8c23(_0x23d57c._0x3d1ff0,_0x23d57c._0x44ef11,_0x23d57c._0x540ad4,_0x23d57c._0x5e3647)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown','plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x482e68[_0x2f8c23(_0x23d57c._0x4e8ea5,0x602,_0x23d57c._0x1e77de,_0x23d57c._0x12aacc)](_0x2f8c23(_0x23d57c._0xaa3f88,_0x23d57c._0x208806,0x3fe,0x457),{});const _0x30405b={'serverId':_0x468fa4[_0x2f8c23(_0x23d57c._0xe22ce3,_0x23d57c._0x47a46a,_0x23d57c._0x214b82,0x541)]['id'],'root':_0x468fa4['root'],'connection':_0x482e68,'diagnostics':_0xc5c089,'capabilities':_0x2feaef[_0x564b8e(0x2f2,0x43a,_0x23d57c._0x460e79,_0x23d57c._0x216a6a)]??{},'notify':{async 'open'({path:_0x497fe7}){function _0x465e33(_0x38ee1a,_0x1cded0,_0x4603b7,_0x53eafe){return _0x2f8c23(_0x38ee1a-0x1b1,_0x1cded0- -0x2cb,_0x4603b7-0xb3,_0x53eafe);}function _0x54fd5d(_0x1bdf88,_0x40bee3,_0x37dd62,_0x4a4401){return _0x564b8e(_0x4a4401,_0x40bee3-0xa3,_0x37dd62-0x34e,_0x4a4401-_0x4ea4d7._0x4284e8);}const _0x1b7245=await readFile(_0x497fe7,_0x54fd5d(0x5c3,0x544,0x4d6,0x623));_0x482e68[_0x54fd5d(_0x8622f1._0x263e12,0x67e,_0x8622f1._0x333856,_0x8622f1._0x5c890a)](_0x465e33(_0x8622f1._0x33bbe6,0x141,_0x8622f1._0xae849e,0x26d),{'textDocument':{'uri':uriForPath(_0x497fe7),'languageId':getLanguageId(_0x497fe7)??_0x54fd5d(_0x8622f1._0x1e7395,_0x8622f1._0x5e0684,0x596,_0x8622f1._0x58c1bb),'version':0x1,'text':_0x1b7245}});},async 'change'({path:_0x47d1ef,version:_0x429230}){const _0x1cf9a5={_0x415538:0x12d,_0x1c87f6:0x1c0,_0x575956:0xa8},_0xbdd0d9=await readFile(_0x47d1ef,_0x2d9b54(0xe7,_0x391faa._0x59c035,-_0x391faa._0x95463d,-_0x391faa._0x222b05));function _0x4e2ed9(_0xeb3680,_0x43a474,_0x350da3,_0x21b0e5){return _0x2f8c23(_0xeb3680-_0x318aca._0x1c1676,_0x21b0e5- -0x291,_0x350da3-_0x318aca._0x37ddcb,_0x43a474);}function _0x2d9b54(_0x5dfdf9,_0x13ee5e,_0x2292c6,_0x2a0044){return _0x564b8e(_0x5dfdf9,_0x13ee5e-_0x1cf9a5._0x415538,_0x2292c6- -_0x1cf9a5._0x1c87f6,_0x2a0044-_0x1cf9a5._0x575956);}_0x482e68[_0x4e2ed9(0x327,_0x391faa._0x341041,0x2ea,0x371)](_0x2d9b54(_0x391faa._0x58a56d,0x28a,0x151,0x6a),{'textDocument':{'uri':uriForPath(_0x47d1ef),'version':_0x429230},'contentChanges':[{'text':_0xbdd0d9}]});},async 'close'({path:_0x577000}){const _0xd53140={_0x292aa9:0x32e};function _0x2c67c1(_0x15f597,_0x4a8b53,_0x5408a2,_0xb55db7){return _0x2f8c23(_0x15f597-0x124,_0x4a8b53- -_0xd53140._0x292aa9,_0x5408a2-0x69,_0x15f597);}_0x482e68['sendNotification'](_0x2c67c1(_0xc380b6._0x14d956,0x6f,_0xc380b6._0x32795b,0x49),{'textDocument':{'uri':uriForPath(_0x577000)}});}},'request':{async 'definition'(_0x28b7b0){function _0x5debda(_0x42dbd0,_0x59f370,_0x2019e0,_0x34ce1f){return _0x2f8c23(_0x42dbd0-_0x504cb2._0x4834bb,_0x34ce1f- -_0x504cb2._0x507b9b,_0x2019e0-_0x504cb2._0x50d53d,_0x59f370);}function _0x58f739(_0x481e3a,_0x15fa94,_0x5e2ecb,_0x4efafa){return _0x2f8c23(_0x481e3a-0x152,_0x5e2ecb- -_0x345c5e._0x3b087e,_0x5e2ecb-0x102,_0x4efafa);}return normalizeLocations(await _0x482e68[_0x5debda(_0x1f37a2._0xdda260,_0x1f37a2._0x319591,0x335,_0x1f37a2._0x4f95a0)](_0x5debda(_0x1f37a2._0x3912e1,_0x1f37a2._0x810133,_0x1f37a2._0x5c817e,0x279),textDocumentPosition(_0x28b7b0)));},async 'references'(_0x2f7dfa){function _0x5f0920(_0x5e191d,_0x24f38f,_0x5ca9a7,_0x4996c3){return _0x2f8c23(_0x5e191d-_0x5c279b._0x3a49a1,_0x24f38f- -_0x5c279b._0x5ae4b3,_0x5ca9a7-_0x5c279b._0x435fe3,_0x4996c3);}function _0x4d4107(_0x3a0690,_0x4842b3,_0x4ab861,_0x374534){return _0x564b8e(_0x374534,_0x4842b3-_0x1c1e5d._0x45a84c,_0x4842b3- -0x300,_0x374534-_0x1c1e5d._0x58c526);}return normalizeLocations(await _0x482e68[_0x5f0920(0x47b,_0xa60007._0x26f4f4,_0xa60007._0x3072c0,_0xa60007._0x544313)](_0x5f0920(0x48c,_0xa60007._0x3feb54,0x463,0x626),{...textDocumentPosition(_0x2f7dfa),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x2acacf){const _0x213faf={_0x5e264f:0x115,_0x4341f0:0x5a0};function _0x52c807(_0x15c16f,_0x410699,_0x26793d,_0x25fa6a){return _0x2f8c23(_0x15c16f-_0x213faf._0x5e264f,_0x15c16f- -_0x213faf._0x4341f0,_0x26793d-0x78,_0x410699);}return await _0x482e68[_0x52c807(-0x24,_0x214ebd._0x127df9,-0xcc,0x102)]('textDocument/hover',textDocumentPosition(_0x2acacf))??null;},async 'documentSymbol'(_0xc45c46){function _0x1b09ac(_0x54635e,_0x31d695,_0x16c386,_0x166108){return _0x564b8e(_0x16c386,_0x31d695-_0x3e32d2._0xf6d42,_0x166108-0x1d1,_0x166108-0x7);}return await _0x482e68[_0x1b09ac(0x5de,_0x5365f2._0x46b4ac,_0x5365f2._0x8f9fc6,0x4df)]('textDocument/documentSymbol',{'textDocument':{'uri':uriForPath(_0xc45c46)}})??[];},async 'workspaceSymbol'(_0x4558c6){function _0x44a058(_0x3d186d,_0x682cda,_0x496d30,_0x1ba4c8){return _0x564b8e(_0x1ba4c8,_0x682cda-_0x40454._0x555611,_0x3d186d- -0x21a,_0x1ba4c8-0x177);}return await _0x482e68['sendRequest'](_0x44a058(_0x5c39a1._0x47b9a5,0x45,0x1a3,0x69),{'query':_0x4558c6})??[];},async 'implementation'(_0x30969a){function _0x417378(_0x19275b,_0x6d87f5,_0x29ea89,_0x197f66){return _0x2f8c23(_0x19275b-_0x5cb3ed._0x27751a,_0x29ea89- -0x2b7,_0x29ea89-_0x5cb3ed._0x49824f,_0x19275b);}function _0x4fbab5(_0x4a7f1e,_0x23954d,_0x2bd84c,_0x36f28d){return _0x2f8c23(_0x4a7f1e-0x4b,_0x2bd84c- -0x4ef,_0x2bd84c-0x1e7,_0x36f28d);}return normalizeLocations(await _0x482e68[_0x4fbab5(_0x36c7fe._0x4fa87e,_0x36c7fe._0x191ed0,0x8d,_0x36c7fe._0xd27539)](_0x4fbab5(-_0x36c7fe._0x65e78e,-0xe0,-_0x36c7fe._0x32ae02,-0xd2),textDocumentPosition(_0x30969a)));},async 'prepareCallHierarchy'(_0x28a087){const _0x1ce2f0={_0x4f2893:0x9};function _0x58e8b9(_0x35ddbf,_0x263a04,_0x119e18,_0x1243f4){return _0x2f8c23(_0x35ddbf-_0x1ce2f0._0x4f2893,_0x119e18- -0x538,_0x119e18-0xa0,_0x35ddbf);}return await _0x482e68[_0x58e8b9(_0x4c8c22._0x1c198d,-_0x4c8c22._0x1004f2,_0x4c8c22._0x5c1a4d,_0x4c8c22._0x1a2f6f)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x28a087))??[];},async 'incomingCalls'(_0x69c1c1){function _0x1565ad(_0xfb14f7,_0x2d7fb0,_0x696bd0,_0x55ff3f){return _0x564b8e(_0xfb14f7,_0x2d7fb0-_0xf77559._0x2a2646,_0x55ff3f- -_0xf77559._0xc95bbb,_0x55ff3f-_0xf77559._0x274b6f);}function _0x6f9eb(_0x8db864,_0x8362c6,_0x23334a,_0x5abc0f){return _0x2f8c23(_0x8db864-0x6b,_0x8362c6- -_0x2d7eb3._0xe2f3a9,_0x23334a-_0x2d7eb3._0x5f0571,_0x8db864);}return await _0x482e68[_0x6f9eb(-_0x851011._0x42210,_0x851011._0xeca667,0x12e,0x1f3)](_0x6f9eb(-0x4,_0x851011._0x25e527,-_0x851011._0x5340a1,-_0x851011._0x59cad7),{'item':_0x69c1c1})??[];},async 'outgoingCalls'(_0x1a9a0c){const _0x17c1d5={_0x3c4b1a:0x95,_0x5011f5:0x11f,_0x155591:0x171};function _0xdfbad8(_0x10877e,_0x164e43,_0x11b964,_0x1e4aaf){return _0x564b8e(_0x10877e,_0x164e43-_0x17c1d5._0x3c4b1a,_0x1e4aaf-_0x17c1d5._0x5011f5,_0x1e4aaf-_0x17c1d5._0x155591);}function _0x4323bf(_0x20f749,_0x213392,_0x40c05d,_0x29c67e){return _0x564b8e(_0x213392,_0x213392-_0x47966b._0x14e86e,_0x40c05d- -0xb5,_0x29c67e-0x153);}return await _0x482e68[_0xdfbad8(_0x4e48e1._0x55364c,0x329,0x2ee,0x42d)](_0xdfbad8(_0x4e48e1._0x1335f6,_0x4e48e1._0x42393f,_0x4e48e1._0x34e7f9,0x472),{'item':_0x1a9a0c})??[];}},'waitForDiagnostics'({path:_0xbf1cf5,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x56ed6b={_0x3f0cea:0x4b3,_0x2de636:0x1f4},_0x24f48d={_0x262650:0x46,_0x51d1da:0x67,_0x207998:0xee,_0x3c0828:0xaf,_0x5a0f64:0x16},_0x2661ef={_0x225a71:0x1a};function _0x44b84b(_0x12a70d,_0xb28cb4,_0x262e89,_0x4b628d){return _0x564b8e(_0x4b628d,_0xb28cb4-0x1c5,_0xb28cb4-0x297,_0x4b628d-_0x2661ef._0x225a71);}const _0x5aecb4=uriForPath(_0xbf1cf5);function _0x3599d0(_0x46b22c,_0x452a3e,_0x35ded5,_0x216872){return _0x564b8e(_0x46b22c,_0x452a3e-_0x5e5e51._0x43fb5a,_0x452a3e-0x27b,_0x216872-_0x5e5e51._0x46eef2);}if(_0xc5c089[_0x44b84b(_0x2a48cf._0x218612,_0x2a48cf._0x2e0242,0x4df,_0x2a48cf._0x41a4d5)](_0x5aecb4))return Promise[_0x3599d0(0x421,0x502,0x590,_0x2a48cf._0x29625a)]();return new Promise(_0x327f7f=>{const _0x1e5690={_0x40cf53:0xba},_0x4d1dee={_0x1cec92:0x4a,_0x3b8a2b:0x5a3};function _0x2a8f58(_0x1bb86e,_0x2ad081,_0x3ad464,_0x199a33){return _0x44b84b(_0x1bb86e-_0x4d1dee._0x1cec92,_0x3ad464- -_0x4d1dee._0x3b8a2b,_0x3ad464-0x1c,_0x2ad081);}const _0x44e9ca=setTimeout(()=>{const _0x1d1070=_0x5e81a1['get'](_0x5aecb4);function _0x59e29c(_0x1f24b0,_0x1e9f3a,_0xc33f66,_0x34f523){return _0x59f9(_0x34f523- -0x239,_0xc33f66);}_0x1d1070?.['delete'](_0xa97e57);if(_0x1d1070?.[_0x59e29c(-0x3f,_0x24f48d._0x262650,_0x24f48d._0x51d1da,-_0x24f48d._0x207998)]===0x0)_0x5e81a1[_0x42b8cd(-_0x24f48d._0x3c0828,0x10a,-_0x24f48d._0x5a0f64,0xc3)](_0x5aecb4);function _0x42b8cd(_0x2359ad,_0x201555,_0x592f11,_0x5499fa){return _0x59f9(_0x592f11- -_0x1e5690._0x40cf53,_0x2359ad);}_0x327f7f();},timeoutMs),_0xa97e57=()=>{clearTimeout(_0x44e9ca),_0x327f7f();};function _0x5dbcc5(_0x11945c,_0x52c0de,_0x17d0e6,_0x40c980){return _0x3599d0(_0x52c0de,_0x40c980- -_0x56ed6b._0x3f0cea,_0x17d0e6-0x66,_0x40c980-_0x56ed6b._0x2de636);}const _0x5b72e5=_0x5e81a1[_0x5dbcc5(_0x1928b2._0x1fddd5,0x1df,0x213,0x127)](_0x5aecb4)??new Set();_0x5b72e5[_0x5dbcc5(-0x11d,_0x1928b2._0x4c7afe,_0x1928b2._0x366d39,_0x1928b2._0x5de425)](_0xa97e57),_0x5e81a1['set'](_0x5aecb4,_0x5b72e5);});},async 'shutdown'(){function _0x461ffd(_0x4ebbd1,_0x4131ad,_0x45258e,_0xfe380c){return _0x2f8c23(_0x4ebbd1-0x1ba,_0xfe380c- -0x67b,_0x45258e-_0x36fbb7._0x3f6b42,_0x4ebbd1);}function _0x2f589b(_0x3ee39b,_0x449554,_0x4ba380,_0x72df01){return _0x2f8c23(_0x3ee39b-0x194,_0x4ba380- -0x19d,_0x4ba380-_0x4c9189._0xf42fd0,_0x449554);}if(_0x24b02d)return;_0x24b02d=!![];try{await _0x482e68[_0x461ffd(0x34,-0x127,-0x255,-0xff)](_0x461ffd(-_0x14a36d._0x1f09d6,-_0x14a36d._0x1ac8cc,-0x63,-0x183),null),_0x482e68[_0x2f589b(0x536,_0x14a36d._0x3e0020,_0x14a36d._0x58aa2c,0x3fb)]('exit');}catch{}finally{_0x482e68[_0x2f589b(_0x14a36d._0x2d8d9b,0xa2,0x1cd,_0x14a36d._0x3d38ae)](),_0x468fa4[_0x461ffd(-0x10e,-0x15,0xcd,-0x58)][_0x461ffd(-0x328,-_0x14a36d._0x55ce66,-_0x14a36d._0x2f6356,-_0x14a36d._0x341861)][_0x2f589b(_0x14a36d._0x3584c2,0x215,0x335,0x316)]();}}};return _0x30405b;}import{spawn as _0x29bf57}from'child_process';import{access as _0x2c56ab}from'fs/promises';import _0x40ca83 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x3abcf8 from'os';import _0x41b70d from'path';import _0x356b8a from'which';var installPromises=new Map();function sanitizePackageName(_0x3f547d){const _0x5c045f={_0xc55c1f:0x237,_0xee4291:0x38e,_0x505953:0x675,_0x19bdb3:0x55f},_0x451340={_0x31d544:0x163},_0x13b7bc={_0x206d30:0xfa,_0x2e1791:0xa};function _0x9355f5(_0x94b04,_0x14261e,_0x35aa49,_0x4dd47a){return _0x48c1e5(_0x14261e-_0x13b7bc._0x206d30,_0x14261e-_0x13b7bc._0x2e1791,_0x35aa49,_0x4dd47a-0x8b);}function _0x170833(_0x85a901,_0x53dca5,_0x398ff3,_0x2de112){return _0x42cde8(_0x85a901-0x4b,_0x85a901-_0x451340._0x31d544,_0x398ff3-0x1c,_0x398ff3);}return _0x3f547d[_0x170833(0x312,0x37d,_0x5c045f._0xc55c1f,_0x5c045f._0xee4291)](/^@/,'')[_0x9355f5(_0x5c045f._0x505953,0x574,_0x5c045f._0x19bdb3,0x49d)](/[/]/g,'__');}function binaryNameForPlatform(_0x26104b){const _0x4394b0={_0x28decb:0x1b2,_0x24c7d5:0x311},_0x3888d9={_0x29bdcb:0x221};function _0x1e9531(_0x4ff206,_0x37ce56,_0x5978f7,_0x26bd1b){return _0x48c1e5(_0x37ce56- -_0x3888d9._0x29bdcb,_0x37ce56-0xc5,_0x5978f7,_0x26bd1b-0x72);}return process['platform']==='win32'?_0x26104b+_0x1e9531(0x2b6,_0x4394b0._0x28decb,0xa8,_0x4394b0._0x24c7d5):_0x26104b;}async function exists(_0x49117c){try{return await access(_0x49117c),!![];}catch{return![];}}function runNpmInstall(_0x22e33b,_0x1672bb,_0x10f1bf){const _0xc1c4b8={_0x492fba:0x1c3,_0x3cac9e:0x35d,_0x5e8a70:0x3a5,_0x44e663:0x43b,_0x1ed07f:0x9b},_0x19156f={_0x4c6c22:0x2ca};return new Promise(_0x1b3761=>{const _0x5153a9={_0x288ad3:0x118};function _0x5b4b07(_0x2a834e,_0x5b2e63,_0x15fff7,_0x5c329e){return _0x59f9(_0x5c329e- -_0x19156f._0x4c6c22,_0x2a834e);}const _0x852f6e=spawn(_0x5b4b07(-0x32c,-0x28f,-0x27f,-_0xc1c4b8._0x492fba),[_0x4b9288(0x218,_0xc1c4b8._0x3cac9e,0x46e,_0xc1c4b8._0x5e8a70),_0x4b9288(0x51c,_0xc1c4b8._0x44e663,0x37c,0x3a9),_0x22e33b,_0x1672bb],{'env':_0x10f1bf,'stdio':_0x5b4b07(0xae,0x21a,0x6d,_0xc1c4b8._0x1ed07f)});function _0x4b9288(_0x477bb5,_0x21a3b6,_0x5d5996,_0x3117b0){return _0x59f9(_0x21a3b6-_0x5153a9._0x288ad3,_0x5d5996);}_0x852f6e['on']('error',()=>_0x1b3761(![])),_0x852f6e['on']('close',_0xcd5cbf=>_0x1b3761(_0xcd5cbf===0x0));});}function shouldDisableLspDownload(_0x301953=process['env']){const _0x3409f1={_0x3dfc5b:0x322,_0x8601bd:0x14e,_0x28dfe0:0x1dc,_0x5b5095:0x10},_0x24beef={_0x1f999b:0x2e},_0x3b0386={_0x2aa1b2:0xc5,_0x3f82ec:0x2bf};function _0x26b913(_0x3ab730,_0x2fc6fa,_0x5572d6,_0x343d3d){return _0x42cde8(_0x3ab730-_0x3b0386._0x2aa1b2,_0x2fc6fa-_0x3b0386._0x3f82ec,_0x5572d6-0x177,_0x3ab730);}function _0x279a10(_0x2d1747,_0x29e8ae,_0x3f1c12,_0xa0c0f6){return _0x42cde8(_0x2d1747-_0x24beef._0x1f999b,_0x29e8ae-0xc3,_0x3f1c12-0xd2,_0x2d1747);}const _0xa7214f=_0x301953['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x279a10(0x132,0x1f8,0xf8,_0x3409f1._0x3dfc5b)]();return _0xa7214f===_0x279a10(0x253,_0x3409f1._0x8601bd,_0x3409f1._0x28dfe0,-_0x3409f1._0x5b5095)||_0xa7214f==='1'||_0xa7214f==='yes'||_0xa7214f==='on';}function getLspPackageDir(_0x563bbc){const _0x5260ef={_0x79e0e5:0x307,_0x4d7642:0x32e,_0x1ead56:0x705,_0x9fc122:0x30d,_0x47e724:0x356,_0x52980b:0x40e},_0x542b3a={_0x35d185:0x349},_0x595c4={_0x160906:0x28d,_0x5271e4:0x1e1};function _0x5d622a(_0x54a4b5,_0x389c3d,_0x5b1206,_0x1c89de){return _0x48c1e5(_0x5b1206-_0x595c4._0x160906,_0x389c3d-_0x595c4._0x5271e4,_0x1c89de,_0x1c89de-0x1bc);}function _0x5078d0(_0x12e227,_0x459fb5,_0x8cb8b3,_0xa5c1c2){return _0x42cde8(_0x12e227-0x41,_0x459fb5-_0x542b3a._0x35d185,_0x8cb8b3-0x195,_0x8cb8b3);}return _0x41b70d['join'](_0x3abcf8['homedir'](),_0x5078d0(_0x5260ef._0x79e0e5,0x2bb,_0x5260ef._0x4d7642,0x17a),_0x5d622a(0x695,0x7ba,_0x5260ef._0x1ead56,0x719),_0x5078d0(0x488,_0x5260ef._0x9fc122,_0x5260ef._0x47e724,_0x5260ef._0x52980b),sanitizePackageName(_0x563bbc));}function getLspBinDir(_0x55c8be){const _0x26d2aa={_0x4f2097:0x254,_0x5ead6f:0x289,_0x4bcd7c:0x2c3,_0x188c02:0x171,_0x571afe:0x170,_0x5b2f14:0x1dd,_0x3979b2:0xe5},_0x2002d5={_0x3e12bf:0x12},_0x100f41={_0x568358:0xaf};function _0x6cb28b(_0x16b816,_0x1650e7,_0x2ca8ec,_0x23e44d){return _0x48c1e5(_0x1650e7- -0xe8,_0x1650e7-_0x100f41._0x568358,_0x2ca8ec,_0x23e44d-0x10d);}function _0x143d87(_0x30e5a4,_0x5f3f9c,_0x4aca96,_0x14e9cf){return _0x42cde8(_0x30e5a4-0x4,_0x30e5a4- -0x27,_0x4aca96-_0x2002d5._0x3e12bf,_0x4aca96);}return _0x41b70d[_0x6cb28b(0x275,_0x26d2aa._0x4f2097,_0x26d2aa._0x5ead6f,0x2e0)](getLspPackageDir(_0x55c8be),_0x6cb28b(0x291,0x21b,_0x26d2aa._0x4bcd7c,_0x26d2aa._0x188c02),_0x6cb28b(_0x26d2aa._0x571afe,_0x26d2aa._0x5b2f14,0x352,_0x26d2aa._0x3979b2));}async function findPackageBinary(_0x1e534d,_0x16e769){const _0x450edb={_0x263436:0x490,_0x12f31a:0x3b4,_0x1a8a60:0x3ff,_0x5e7a32:0xe3,_0xdba0d:0xa0,_0x53d76a:0x506,_0x1e7c9f:0x262,_0x36d73e:0x2a0,_0x2a348b:0x191,_0x91a992:0x311},_0x837047={_0x1a0c10:0x10b},_0x4d640b={_0x153002:0x102,_0x576ce5:0x68};function _0x360700(_0x2dc9d5,_0x334161,_0x1d65d9,_0x3e0a32){return _0x42cde8(_0x2dc9d5-_0x4d640b._0x153002,_0x3e0a32-_0x4d640b._0x576ce5,_0x1d65d9-0x54,_0x1d65d9);}function _0x20f8d1(_0x32576f,_0x4ec19b,_0x5ac573,_0x3ca9ca){return _0x48c1e5(_0x4ec19b-_0x837047._0x1a0c10,_0x4ec19b-0xc0,_0x5ac573,_0x3ca9ca-0x1cd);}let _0x117f5d=_0x41b70d[_0x20f8d1(0x51c,_0x450edb._0x263436,_0x450edb._0x12f31a,0x5ce)](_0x16e769);const _0x3c4500=binaryNameForPlatform(_0x1e534d);while(!![]){const _0x12a0ed=_0x41b70d[_0x20f8d1(0x48c,0x447,0x47b,_0x450edb._0x1a8a60)](_0x117f5d,_0x360700(_0x450edb._0x5e7a32,0x128,0x1c5,_0x450edb._0xdba0d),_0x20f8d1(_0x450edb._0x53d76a,0x3d0,_0x450edb._0x1e7c9f,0x320),_0x3c4500);if(await exists(_0x12a0ed))return _0x12a0ed;const _0x3e77d8=_0x41b70d[_0x360700(_0x450edb._0x36d73e,_0x450edb._0x2a348b,_0x450edb._0x91a992,0x198)](_0x117f5d);if(_0x3e77d8===_0x117f5d)return void 0x0;_0x117f5d=_0x3e77d8;}}async function findPathBinary(_0x4965ee,_0x479470){const _0x177981={_0x196d77:0x239,_0x2bbf8a:0x2af,_0x51d1ff:0xb6,_0x5d4dc1:0x5d6,_0x5bae68:0x40e,_0x1cb6f6:0x546,_0x399369:0x13d,_0x2163f9:0x56,_0x32e499:0x1b2,_0x47b48f:0x180,_0x1eb640:0x25a,_0x8b160d:0x92},_0x302fa4={_0x513466:0x157},_0x52b4cf={_0x13eed7:0x112};function _0x304e79(_0x159bd8,_0x4b36b2,_0x3eea30,_0x28f795){return _0x42cde8(_0x159bd8-_0x52b4cf._0x13eed7,_0x3eea30- -0x1b,_0x3eea30-0x189,_0x159bd8);}const _0xe211e5=getLspBinDir(_0x479470);function _0x3591d4(_0x4ee298,_0x155493,_0x2dcbb5,_0x266d96){return _0x48c1e5(_0x266d96-0xf7,_0x155493-0x145,_0x2dcbb5,_0x266d96-_0x302fa4._0x513466);}const _0x2a0386=[_0xe211e5,process[_0x3591d4(_0x177981._0x196d77,_0x177981._0x2bbf8a,0x2ba,0x2e4)][_0x304e79(-_0x177981._0x51d1ff,0xc7,0x23,0x117)]][_0x3591d4(_0x177981._0x5d4dc1,0x692,_0x177981._0x5bae68,_0x177981._0x1cb6f6)](Boolean)[_0x304e79(_0x177981._0x399369,0x159,_0x177981._0x2163f9,_0x177981._0x32e499)](_0x41b70d[_0x304e79(-_0x177981._0x47b48f,-_0x177981._0x1eb640,-0x121,-_0x177981._0x8b160d)]);try{return await _0x356b8a(_0x4965ee,{'path':_0x2a0386});}catch{return void 0x0;}}async function resolvePackageBinary(_0x586c78){const _0xa5eab2={_0x5f22b8:0x4,_0x4c0ca1:0x144,_0x402362:0x2a4,_0x26cc8a:0x321,_0x1ddcf0:0x1c7,_0x28435c:0x39d,_0x2c2625:0x3fa,_0x3f74a9:0x1e,_0x485513:0x142,_0x24b0b4:0xaa,_0x352618:0x155,_0x50f5c3:0x99,_0x4bffe2:0x98},_0x1ae4e0={_0x11937d:0x573,_0x4149e2:0x609,_0x4437a8:0x329,_0x32cfe7:0x407,_0x3c0312:0x344,_0xa8dc85:0x458},_0x4d4068={_0x2baa2f:0x120,_0x9994ef:0x98},_0x28406b={_0x217db8:0x450},_0x20760f={_0x519a78:0x1e4,_0x5432d7:0x140},_0x2ecac3={_0x4ee12a:0x193,_0x5bbbb7:0xa7},_0x915836=_0x586c78[_0x4ee114(-_0xa5eab2._0x5f22b8,-_0xa5eab2._0x4c0ca1,-0x245,-0x19d)]??_0x586c78[_0x4ee114(-0x25e,-_0xa5eab2._0x402362,-0x292,-0x3c6)],_0x339c70=await findPackageBinary(_0x915836,_0x586c78['startDir']);if(_0x339c70)return _0x339c70;const _0x42a089=await findPathBinary(_0x915836,_0x586c78['packageName']);function _0x3403c6(_0x337f6d,_0x7ec22f,_0x1e139c,_0xeb322e){return _0x48c1e5(_0x1e139c- -0x262,_0x7ec22f-_0x2ecac3._0x4ee12a,_0xeb322e,_0xeb322e-_0x2ecac3._0x5bbbb7);}if(_0x42a089)return _0x42a089;const _0x2b0d21=_0x586c78[_0x4ee114(-0x323,-_0xa5eab2._0x26cc8a,-_0xa5eab2._0x1ddcf0,-0x39c)]??process['env'];if(shouldDisableLspDownload(_0x2b0d21))return void 0x0;const _0x5717a9=getLspPackageDir(_0x586c78['packageName']),_0x5e836a=_0x586c78[_0x4ee114(-_0xa5eab2._0x28435c,-0x2a4,-0x3e7,-_0xa5eab2._0x2c2625)]+':'+_0x915836;function _0x4ee114(_0x33241a,_0x1d7f3b,_0x64e1d0,_0x31f3ed){return _0x42cde8(_0x33241a-_0x20760f._0x519a78,_0x1d7f3b- -0x243,_0x64e1d0-_0x20760f._0x5432d7,_0x33241a);}let _0x235ac9=installPromises['get'](_0x5e836a);!_0x235ac9&&(_0x235ac9=((async()=>{await mkdir(_0x5717a9,{'recursive':!![]});function _0x1ef419(_0x57f43b,_0xf817bd,_0x4308b2,_0x302f0e){return _0x3403c6(_0x57f43b-0x140,_0xf817bd-0x1f0,_0x302f0e-_0x28406b._0x217db8,_0x4308b2);}const _0x3ce0ae=await runNpmInstall(_0x5717a9,_0x586c78['packageName'],_0x2b0d21);if(!_0x3ce0ae)return void 0x0;const _0x2b4b2d=_0x41b70d[_0x1ef419(_0x1ae4e0._0x11937d,_0x1ae4e0._0x4149e2,0x6a1,0x52a)](getLspBinDir(_0x586c78[_0x1ef419(_0x1ae4e0._0x4437a8,_0x1ae4e0._0x32cfe7,_0x1ae4e0._0x3c0312,_0x1ae4e0._0xa8dc85)]),binaryNameForPlatform(_0x915836));function _0x97676e(_0x47a32f,_0x16a93a,_0x37e038,_0x25ffdb){return _0x3403c6(_0x47a32f-_0x4d4068._0x2baa2f,_0x16a93a-_0x4d4068._0x9994ef,_0x25ffdb-0x4a6,_0x47a32f);}return await exists(_0x2b4b2d)?_0x2b4b2d:void 0x0;})()),installPromises[_0x3403c6(0x1f7,-_0xa5eab2._0x3f74a9,_0xa5eab2._0x485513,_0xa5eab2._0x24b0b4)](_0x5e836a,_0x235ac9));try{return await _0x235ac9;}catch{return void 0x0;}finally{installPromises[_0x3403c6(-_0xa5eab2._0x352618,-_0xa5eab2._0x50f5c3,-0x96,_0xa5eab2._0x4bffe2)](_0x5e836a);}}var TYPESCRIPT_EXTENSIONS=[_0x42cde8(0x16,0x171,0xe9,0x2df),'.tsx',_0x42cde8(-0xbf,-0x56,0xac,-0xf3),_0x48c1e5(0x372,0x292,0x2d2,0x33d),_0x42cde8(0x28b,0x121,0x65,0x19a),'.cjs',_0x42cde8(0x4f,0x3c,-0xe4,-0x73),_0x42cde8(0xb2,0xb0,0x177,0x111)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x42cde8(-0x8c,-0x37,0x13e,-0xfd)],TYPESCRIPT_ROOT_MARKERS=[_0x48c1e5(0x3e9,0x52d,0x3c4,0x30b),'bun.lockb',_0x48c1e5(0x2f9,0x342,0x42f,0x34f),'pnpm-lock.yaml',_0x48c1e5(0x2ae,0x211,0x27f,0x148),_0x48c1e5(0x437,0x4a5,0x596,0x583),_0x42cde8(0x22,0x63,-0x37,-0xcf),_0x42cde8(0xa1,-0x29,0x85,0xfd)],BIOME_ROOT_MARKERS=[_0x48c1e5(0x474,0x5bd,0x393,0x40b),_0x48c1e5(0x29b,0x131,0x17d,0x241),_0x48c1e5(0x3e9,0x369,0x4ee,0x434),_0x48c1e5(0x4af,0x4bd,0x3cc,0x40d),'bun.lock','pnpm-lock.yaml',_0x48c1e5(0x2ae,0x238,0x1bf,0x41d),_0x48c1e5(0x2a2,0x1ea,0x3e4,0x2ee)];async function exists2(_0x4c545c){try{return await _0x2c56ab(_0x4c545c),!![];}catch{return![];}}async function findUp(_0x3cd0ba,_0x27785c){const _0x30819e={_0x278db8:0x54b,_0x424a2b:0x619,_0x528ea1:0x61b,_0x10e7dc:0x53c,_0x5e94e0:0x6e1},_0x478775={_0x3fbbea:0x201},_0x1a0608={_0x583302:0x13c};let _0x3d1a86=_0x40ca83[_0x435e76(_0x30819e._0x278db8,_0x30819e._0x424a2b,_0x30819e._0x528ea1,_0x30819e._0x10e7dc)](_0x3cd0ba);function _0x435e76(_0x30cabb,_0x1e098d,_0x54f302,_0x236ab4){return _0x42cde8(_0x30cabb-_0x1a0608._0x583302,_0x1e098d-0x55f,_0x54f302-0x1ba,_0x54f302);}const _0x76fe09=_0x40ca83['extname'](_0x3d1a86);if(_0x76fe09)_0x3d1a86=_0x40ca83['dirname'](_0x3d1a86);function _0x68720d(_0x46f3e7,_0x3e9162,_0x449f78,_0x212124){return _0x48c1e5(_0x3e9162- -_0x478775._0x3fbbea,_0x3e9162-0x5e,_0x46f3e7,_0x212124-0x69);}while(!![]){for(const _0x5f11cb of _0x27785c){if(await exists2(_0x40ca83[_0x435e76(0x684,0x5d0,_0x30819e._0x5e94e0,0x504)](_0x3d1a86,_0x5f11cb)))return _0x3d1a86;}const _0x125525=_0x40ca83['dirname'](_0x3d1a86);if(_0x125525===_0x3d1a86)return void 0x0;_0x3d1a86=_0x125525;}}async function hasDenoRoot(_0x1e5785){const _0x42c3fd={_0x855467:0x13b,_0x19578b:0xf8,_0x46c7db:0x1a6,_0x29fc67:0x198,_0x59eef8:0x23d,_0x22a2b2:0x32f,_0x430d61:0x47e,_0x40d7aa:0x336},_0x3488f3={_0x5f2fd0:0x10b},_0x4e425a={_0x1966dd:0x37};function _0x23f881(_0x4bb403,_0x193f31,_0x22f44b,_0x1c6dd0){return _0x48c1e5(_0x1c6dd0- -0x194,_0x193f31-_0x4e425a._0x1966dd,_0x4bb403,_0x1c6dd0-0x16e);}function _0xa4aade(_0x3ce3c6,_0x21ff7e,_0x32b4a2,_0x38817b){return _0x42cde8(_0x3ce3c6-_0x3488f3._0x5f2fd0,_0x21ff7e- -0x169,_0x32b4a2-0xaf,_0x32b4a2);}return await exists2(_0x40ca83[_0xa4aade(-_0x42c3fd._0x855467,-_0x42c3fd._0x19578b,-0x232,0x75)](_0x1e5785,_0x23f881(0x3b2,0x285,_0x42c3fd._0x46c7db,0x246)))||await exists2(_0x40ca83[_0xa4aade(-0xeb,-0xf8,-_0x42c3fd._0x29fc67,-_0x42c3fd._0x59eef8)](_0x1e5785,_0x23f881(_0x42c3fd._0x22a2b2,_0x42c3fd._0x430d61,_0x42c3fd._0x40d7aa,0x313)));}async function resolveTsserverPath(_0x2fa0f6){const _0x340a44={_0x297dc3:0x93,_0x4b361b:0x176,_0x5e9b54:0x434,_0x2a5e16:0x2c6,_0x6e0fa:0x76,_0x38bcca:0x508,_0x485c45:0x64b,_0xe027bc:0x5f9,_0x36e4dc:0x4cd,_0x210cef:0x36f,_0x27a747:0x434,_0x20e910:0x2f9,_0x468f2a:0x56e,_0x1ec259:0x434,_0x37b241:0x1fa,_0x38c8ae:0xeb,_0x4f4c1d:0x6f,_0x2e2770:0x2ef,_0x4881e6:0x2b8,_0x21b772:0x2b2},_0x505f17={_0x3d0f9d:0xfa};function _0x31fede(_0x57c4a7,_0x3565e9,_0x5d293e,_0x19f95c){return _0x42cde8(_0x57c4a7-0xb3,_0x3565e9- -0x230,_0x5d293e-0x11,_0x5d293e);}let _0x7435a2=_0x40ca83[_0x31fede(-_0x340a44._0x297dc3,-_0x340a44._0x4b361b,-0x11c,-0x2bc)](_0x2fa0f6);while(!![]){const _0x38a2c0=_0x40ca83[_0x544f45(_0x340a44._0x5e9b54,0x4ce,0x3aa,0x4dd)](_0x7435a2,'node_modules','typescript',_0x544f45(0x2ef,_0x340a44._0x2a5e16,0x3eb,0x428),_0x31fede(-0x107,-0xc1,0xba,_0x340a44._0x6e0fa));if(await exists2(_0x38a2c0))return _0x38a2c0;const _0x3cfb98=_0x40ca83['dirname'](_0x7435a2);if(_0x3cfb98===_0x7435a2)break;_0x7435a2=_0x3cfb98;}const _0x3586cd=getLspPackageDir(_0x544f45(_0x340a44._0x38bcca,0x591,0x45f,_0x340a44._0x485c45));function _0x544f45(_0x138187,_0x3aaa31,_0x15b62c,_0x1f0e7d){return _0x48c1e5(_0x138187-0xf8,_0x3aaa31-0x16a,_0x1f0e7d,_0x1f0e7d-_0x505f17._0x3d0f9d);}const _0x464646=await resolvePackageBinary({'packageName':_0x544f45(0x508,0x403,_0x340a44._0xe027bc,_0x340a44._0x36e4dc),'binaryName':_0x544f45(0x330,_0x340a44._0x210cef,0x43b,0x23c),'startDir':_0x2fa0f6});if(!_0x464646)return void 0x0;const _0x54b6ca=_0x40ca83[_0x544f45(_0x340a44._0x27a747,_0x340a44._0x20e910,_0x340a44._0x468f2a,_0x340a44._0x1ec259)](_0x3586cd,'node_modules',_0x31fede(-_0x340a44._0x37b241,-_0x340a44._0x38c8ae,-0xcb,_0x340a44._0x4f4c1d),_0x544f45(_0x340a44._0x2e2770,_0x340a44._0x4881e6,0x216,_0x340a44._0x21b772),'tsserver.js');return await exists2(_0x54b6ca)?_0x54b6ca:void 0x0;}var TypeScriptServer={'id':_0x48c1e5(0x410,0x3aa,0x45c,0x294),'name':_0x48c1e5(0x1cb,0x274,0x105,0x16b),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x2d8568){const _0x4f02f0=await findUp(_0x2d8568,TYPESCRIPT_ROOT_MARKERS);if(!_0x4f02f0)return void 0x0;return await hasDenoRoot(_0x4f02f0)?void 0x0:_0x4f02f0;},async 'spawn'(_0x164154){const _0x46a239={_0x334cde:0x418,_0x39d7fe:0x469,_0x573a02:0x4d5},_0x10dff3={_0x46b07e:0x186},_0x7bceb2={_0x1fa480:0x2a,_0x2710c5:0x12b};function _0x576b49(_0x3db4b1,_0x10e2d2,_0x19c2b7,_0x4c842f){return _0x48c1e5(_0x4c842f- -_0x7bceb2._0x1fa480,_0x10e2d2-_0x7bceb2._0x2710c5,_0x19c2b7,_0x4c842f-0x84);}function _0x289333(_0x2ae70b,_0x21992e,_0x323d75,_0x219ba3){return _0x48c1e5(_0x2ae70b-_0x10dff3._0x46b07e,_0x21992e-0x127,_0x323d75,_0x219ba3-0x1af);}const _0xe84cdf=await resolveTsserverPath(_0x164154);if(!_0xe84cdf)return void 0x0;const _0x53eaae=await resolvePackageBinary({'packageName':'typescript-language-server','binaryName':_0x289333(_0x46a239._0x334cde,0x474,_0x46a239._0x39d7fe,_0x46a239._0x573a02),'startDir':_0x164154});if(!_0x53eaae)return void 0x0;return{'process':_0x29bf57(_0x53eaae,['--stdio'],{'cwd':_0x164154,'stdio':_0x576b49(0x270,0x3ca,0x2ab,0x28e)}),'initialization':{'tsserver':{'path':_0xe84cdf}}};}},BiomeServer={'id':_0x48c1e5(0x3a1,0x389,0x416,0x268),'name':_0x48c1e5(0x3db,0x42d,0x312,0x496),'extensions':BIOME_EXTENSIONS,async 'root'(_0x229f4a){return findUp(_0x229f4a,BIOME_ROOT_MARKERS);},async 'spawn'(_0x4c33e1){const _0x401064={_0x5f4d7a:0x2ff,_0x4afc26:0x1bd,_0x5524cf:0x23c,_0xb3e75e:0x211,_0x343d4b:0xa3,_0x32766a:0xc5,_0x3efba7:0xdb,_0x13927c:0x167,_0x244023:0x79,_0x4ebcff:0x18c},_0x5a8fcd={_0x3d94ba:0x444,_0x3c9ab0:0x19f},_0x168f2c={_0x2c4cad:0x168},_0x431d00=await findPackageBinary('biome',_0x4c33e1)??await resolvePackageBinary({'packageName':_0x4c6ab9(_0x401064._0x5f4d7a,_0x401064._0x4afc26,0x428,_0x401064._0x5524cf),'binaryName':_0xbe4281(-_0x401064._0xb3e75e,-_0x401064._0x343d4b,_0x401064._0x32766a,0x4e),'startDir':_0x4c33e1});if(!_0x431d00)return void 0x0;function _0x4c6ab9(_0xeb1634,_0x85c102,_0x5e1b38,_0x164a13){return _0x42cde8(_0xeb1634-_0x168f2c._0x2c4cad,_0xeb1634-0x15f,_0x5e1b38-0x1d6,_0x164a13);}function _0xbe4281(_0x388b6c,_0x1c0d9d,_0x109570,_0x3cdf46){return _0x48c1e5(_0x1c0d9d- -_0x5a8fcd._0x3d94ba,_0x1c0d9d-_0x5a8fcd._0x3c9ab0,_0x3cdf46,_0x3cdf46-0x196);}return{'process':_0x29bf57(_0x431d00,[_0xbe4281(-0x336,-0x1d2,-0x270,-_0x401064._0x3efba7),_0x4c6ab9(0x64,0x112,_0x401064._0x13927c,-_0x401064._0x244023)],{'cwd':_0x4c33e1,'stdio':_0xbe4281(-0xb3,-_0x401064._0x4ebcff,-0x155,-0x16c)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x3294a0){const _0x7d0e32={_0x2f0f4b:0x2ec,_0x11280e:0x2e4,_0x26b42e:0x2ee,_0x46381d:0xdd,_0x5a106a:0x8b,_0x553f1d:0xd,_0x3ffcac:0x1da,_0x4d90c7:0x164},_0x1d5680={_0x3f04e8:0x1a8,_0x3db6ef:0x16a},_0x257b2c={_0x44718f:0x14e};function _0x14ba3d(_0xef0821,_0x5cf099,_0x1424a0,_0x518a88){return _0x48c1e5(_0x518a88- -0x2eb,_0x5cf099-_0x257b2c._0x44718f,_0xef0821,_0x518a88-0x8d);}const _0x1446a2=_0x40ca83[_0x20d512(-_0x7d0e32._0x2f0f4b,-_0x7d0e32._0x11280e,-0x3dc,-_0x7d0e32._0x26b42e)](_0x3294a0)[_0x20d512(-_0x7d0e32._0x46381d,-0x18c,_0x7d0e32._0x5a106a,-0x20a)]();function _0x20d512(_0x5bfaf9,_0x1299e9,_0x2684d1,_0x2ea0e3){return _0x42cde8(_0x5bfaf9-_0x1d5680._0x3f04e8,_0x5bfaf9- -0x212,_0x2684d1-_0x1d5680._0x3db6ef,_0x2ea0e3);}return BUILTIN_LSP_SERVERS[_0x14ba3d(_0x7d0e32._0x553f1d,_0x7d0e32._0x3ffcac,0xbf,_0x7d0e32._0x4d90c7)](_0x1bb74e=>_0x1bb74e[_0x14ba3d(-0x187,-0xc9,-0xfc,-0x84)][_0x20d512(-0x1bf,-0x1ca,-0x9e,-0x74)](_0x1446a2));}function stateKey(_0x523616,_0x2aadc8){return _0x2aadc8+':'+_0x523616['id'];}function diagnosticsKeyToPath(_0x2aa9d1){const _0x10aaf5={_0x47d367:0x476,_0x2d2ab3:0xcb,_0x32940d:0x17},_0x12cbc3={_0x140268:0x2b5},_0x6cdb61={_0x2f8e34:0x4e8,_0x221cec:0x70};function _0x2e55f2(_0x2e6775,_0x1f1145,_0x241cc8,_0x379d09){return _0x42cde8(_0x2e6775-0xce,_0x2e6775-_0x6cdb61._0x2f8e34,_0x241cc8-_0x6cdb61._0x221cec,_0x241cc8);}if(!_0x2aa9d1[_0x2e55f2(_0x10aaf5._0x47d367,0x542,0x3e3,0x5a8)](_0x3ea4ec(-0x10f,_0x10aaf5._0x2d2ab3,-0xed,_0x10aaf5._0x32940d)))return _0x2aa9d1;function _0x3ea4ec(_0xc675cf,_0x44b0bf,_0x3bdf0d,_0x63fab7){return _0x48c1e5(_0x63fab7- -_0x12cbc3._0x140268,_0x44b0bf-0x76,_0x44b0bf,_0x63fab7-0xf4);}return fileURLToPath(_0x2aa9d1);}function nextFileVersion(_0x1219c7,_0x5416a){const _0x5b01c9={_0x3e0f8b:0x144,_0x51df91:0x222,_0x5b115f:0x2aa,_0x111252:0x312,_0x89cd27:0x36b},_0x2abf3a={_0x40b1a6:0x12d},_0x40e3a0={_0x13d722:0x271},_0x11287a=(_0x1219c7[_0x45888a(_0x5b01c9._0x3e0f8b,_0x5b01c9._0x51df91,_0x5b01c9._0x5b115f,_0x5b01c9._0x111252)][_0x490ebf(_0x5b01c9._0x89cd27,0x506,0x403,0x414)](_0x5416a)??0x1)+0x1;function _0x490ebf(_0x2584a1,_0x4441f5,_0x34955c,_0x577278){return _0x42cde8(_0x2584a1-0x9d,_0x34955c-_0x40e3a0._0x13d722,_0x34955c-0x119,_0x2584a1);}function _0x45888a(_0xafb33c,_0xb5da67,_0x3fad20,_0x318cda){return _0x48c1e5(_0x3fad20-0xd8,_0xb5da67-0x141,_0xb5da67,_0x318cda-_0x2abf3a._0x40b1a6);}return _0x1219c7['fileVersions']['set'](_0x5416a,_0x11287a),_0x11287a;}async function collectClientResults(_0x29b3e4){const _0x1f563d={_0x5ab142:0x5cd,_0x567bfa:0x635,_0x23eaff:0x314,_0x47317f:0x366,_0x39b80a:0x181},_0x35e245={_0xefdc8c:0xe8},_0x39994f={_0x20bb93:0x3f},_0x3cb722=await Promise[_0xe50e3d(0x577,_0x1f563d._0x5ab142,0x5e1,_0x1f563d._0x567bfa)](_0x29b3e4);function _0x3a7d7b(_0x2da3b2,_0x124a2c,_0x421346,_0x111a4e){return _0x48c1e5(_0x124a2c-_0x39994f._0x20bb93,_0x124a2c-0x4,_0x111a4e,_0x111a4e-0x1b7);}function _0xe50e3d(_0x4eacad,_0x523cc1,_0x5bb9cf,_0x39d980){return _0x48c1e5(_0x4eacad-0x193,_0x523cc1-_0x35e245._0xefdc8c,_0x39d980,_0x39d980-0x171);}return _0x3cb722[_0x3a7d7b(_0x1f563d._0x23eaff,0x266,_0x1f563d._0x47317f,_0x1f563d._0x39b80a)](_0x3e3baa=>_0x3e3baa['status']===_0xe50e3d(0x4cd,0x549,0x602,0x568)?_0x3e3baa[_0x3a7d7b(0x260,0x35c,0x2ba,0x4c0)]:[]);}function createLspService(_0x498702={}){const _0xd67781={_0x35c93e:0xbe,_0x31dd30:0xb3,_0x4d9e79:0xd6,_0x58bd74:0x6d},_0x595eaa={_0x46b78f:0x12b,_0x2b616d:0x14d},_0x22653f={_0x5ef599:0x4c,_0xb9acf2:0x50,_0x1a24d8:0x1ac,_0x29dec7:0x2d7,_0x5d0039:0x2ac,_0x236cc0:0x4a1,_0x551f88:0x324,_0x387d1a:0x15,_0x4941c5:0x1e,_0x2c91fc:0x12e,_0x440612:0xec,_0xd47608:0x455,_0x585bbf:0x2de,_0x325af0:0x1c3,_0x77f843:0x6f,_0x17a954:0x145,_0x2ce216:0x14e,_0x475301:0xac,_0x55f2d3:0x193,_0x153544:0x1f1,_0x43f277:0x186,_0x4b53d0:0x32d,_0x5d8fba:0x2b4,_0x16d50b:0x3cf,_0xdb95bd:0x491,_0x10558c:0x4c3,_0x63d461:0x2b5},_0x277be4={_0x9b24ee:0xc1,_0x2943a8:0x7,_0x2e754e:0xa2},_0x4fd20f={_0x1ffdc8:0xcd,_0x542e67:0x57},_0x5f0f3d={_0x57b006:0x38,_0x57743f:0x12c},_0x472074={_0x344e1e:0x24c},_0xa990f9={_0x5cc2d1:0x5b3,_0x5d7cf9:0x460},_0x36342a={_0x38dd72:0x5,_0x3de559:0x1e4},_0x4df44e={_0x10e807:0x46e,_0x7d94c:0x580},_0x640993={_0x536820:0xaa},_0xb7aa03={_0xb1be6c:0xba},_0x21df67={_0x239355:0x330,_0x132e1c:0x222,_0x4549ca:0x338,_0x28ae65:0x3ce,_0x58fdac:0x3b0,_0x16b021:0x3db},_0x52a79d={_0x32d864:0x9},_0x318380={_0x20910c:0x312,_0x45140e:0x1d4},_0x5eb396={_0x10fca:0x362,_0x51242c:0x441,_0x37586a:0x313},_0x49b79d={_0x2c432e:0x19c,_0x146f7c:0x275},_0x128cc4={_0x509515:0x14a},_0x55955a={_0x559490:0x33d,_0x3deb55:0x4ac,_0x3fbdc3:0x388},_0x4cbf3e={_0x329730:0x37d},_0x3d090c={_0x221955:0x16e,_0x50e651:0x1a8,_0x4a9597:0x28e,_0x5df9f:0x330,_0xaed468:0x298,_0x2cc414:0x1d6},_0x14ea1d={_0x40fd73:0x1e5,_0x1858c3:0xa6},_0xf4c479={_0x2cfa7f:0x134,_0x1329ad:0x26a},_0xf934ef={_0x43ba5e:0x44c,_0x2693ef:0x89},_0x28d1b8={_0x512837:0xc,_0x3ea692:0x65,_0x5eb246:0x4},_0x5ed273={_0x1b40c0:0x15d},_0x4416f3={_0x1e9a2a:0x47e,_0x5145fc:0x317,_0x54de73:0x44d},_0x39b146={_0x222989:0xc2},_0x2e4d1a={_0x5dc766:0x1d2,_0x5e3c88:0x9b,_0x14adf0:0xf4},_0x5a3055={_0x171faf:0x1d0,_0x360ad2:0x221,_0x4f942a:0x16,_0x124c11:0x156,_0x33203e:0x4f,_0x54a270:0x50,_0xddebf3:0x85,_0x49ec56:0x50,_0x2db17a:0x9,_0x3719c9:0x204,_0x36f507:0x14a,_0x8c9fae:0xe,_0x1749cd:0xb9,_0x45e144:0x5e,_0x1299cc:0xd2,_0x5f4071:0x93,_0x572e80:0x1c0,_0x538159:0x14c,_0x185141:0x139,_0x5adabb:0x17a},_0x4cb8a1={_0x1684e1:0x7f},_0xb829df={_0x2caf2c:0x164,_0x37c2d6:0x186,_0x20399d:0xcb,_0x5ae31f:0x47,_0x2623f9:0x19d},_0x2ac408={_0x1ff4aa:0x2c8,_0x1591d8:0x343,_0x2d7244:0x266,_0x451eeb:0x1f7,_0x138e52:0x90,_0x42dd63:0x21b,_0x1445bd:0x2e0,_0x169056:0xbc,_0x95898c:0xa9,_0x4a647b:0x6b,_0x50c479:0x20e,_0x5901ef:0xb1,_0xbd52cb:0xf1},_0x4b8ed3={_0x857654:0xeb},_0x3e9543={_0x5bd4d3:0x146},_0xc6d5aa={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x3910ba=()=>_0x498702[_0x4f8b6c(-0x171,-0xc2,-0x93,-0x16e)]!==![];function _0x4f8b6c(_0x20fa20,_0x2ee487,_0x12050b,_0x424300){return _0x42cde8(_0x20fa20-_0x3e9543._0x5bd4d3,_0x2ee487- -0x153,_0x12050b-0x109,_0x424300);}async function _0x4cbc20(_0xa5e682,_0x189298){const _0x3c71fd={_0x4f8291:0x48,_0x890c71:0x340,_0x49cff6:0x16e},_0x1f2ab7={_0x5ddde5:0x68,_0xdc4d53:0x91,_0x4f193e:0x96,_0x4b653d:0x13,_0x38420a:0x39,_0x494dc2:0x4d,_0x4ccf06:0x117,_0x3baa3c:0x20,_0x14be09:0x5a,_0x2dc7c5:0xbf},_0x25a232={_0x59392e:0x7f,_0x4268c1:0x1da,_0x5c8c46:0x42},_0x2818fe=stateKey(_0xa5e682,_0x189298),_0x1445fc=_0xc6d5aa[_0x538caa(0x1a5,_0x2ac408._0x1ff4aa,_0x2ac408._0x1591d8,0x304)]['find'](_0x89912f=>_0x89912f[_0x3d52a8(-0x12d,-0x13b,-0x195,-0x57)]===_0xa5e682['id']&&_0x89912f['root']===_0x189298);if(_0x1445fc)return _0x1445fc;function _0x3d52a8(_0xd05617,_0x27a247,_0x48146e,_0x59d729){return _0x4f8b6c(_0xd05617-0x1e3,_0x59d729-0x16b,_0x48146e-_0x4b8ed3._0x857654,_0x27a247);}if(_0xc6d5aa[_0x538caa(_0x2ac408._0x2d7244,_0x2ac408._0x451eeb,0x371,_0x2ac408._0x138e52)]['has'](_0x2818fe))return void 0x0;const _0xfecc=_0xc6d5aa[_0x538caa(_0x2ac408._0x42dd63,0x16a,0xfa,_0x2ac408._0x1445bd)]['get'](_0x2818fe);if(_0xfecc)return _0xfecc;const _0x47a57f=((async()=>{const _0x3f69bb={_0x214a91:0xde};function _0x1b09c1(_0x410c62,_0x43bee3,_0x28324c,_0x201e1d){return _0x538caa(_0x43bee3,_0x201e1d- -0x315,_0x28324c-_0x3f69bb._0x214a91,_0x201e1d-0x11e);}function _0x14a487(_0x58418e,_0x5b6d94,_0x3e1503,_0x54c7b1){return _0x3d52a8(_0x58418e-_0x25a232._0x59392e,_0x3e1503,_0x3e1503-_0x25a232._0x4268c1,_0x58418e- -_0x25a232._0x5c8c46);}try{const _0x5f149c=await _0xa5e682[_0x14a487(-_0x1f2ab7._0x5ddde5,-0x1b6,-_0x1f2ab7._0xdc4d53,-0x149)](_0x189298);if(!_0x5f149c)return _0xc6d5aa['broken'][_0x14a487(_0x1f2ab7._0x4f193e,-0x5b,0x90,_0x1f2ab7._0x4b653d)](_0x2818fe),void 0x0;const _0x1f949a=await createLspClient({'server':_0xa5e682,'root':_0x189298,'handle':_0x5f149c}),_0x4ad940=_0xc6d5aa['clients']['find'](_0xe11ee0=>_0xe11ee0[_0x14a487(-0x99,0x56,-0x194,-0x122)]===_0xa5e682['id']&&_0xe11ee0[_0x14a487(0x18f,0x60,0x56,0x2d4)]===_0x189298);if(_0x4ad940)return await _0x1f949a['shutdown'](),_0x4ad940;return _0xc6d5aa[_0x1b09c1(-0x2e,_0x1f2ab7._0x38420a,0x1b,-_0x1f2ab7._0x494dc2)][_0x1b09c1(-0x279,-0xd,-_0x1f2ab7._0x4ccf06,-0x142)](_0x1f949a),_0x1f949a;}catch{return _0xc6d5aa[_0x14a487(-_0x1f2ab7._0x3baa3c,-_0x1f2ab7._0x14be09,_0x1f2ab7._0x2dc7c5,-0x3d)][_0x1b09c1(-0xa3,-0x1ac,0xd0,-0x68)](_0x2818fe),void 0x0;}finally{_0xc6d5aa['spawning']['delete'](_0x2818fe);}})());_0xc6d5aa[_0x3d52a8(_0x2ac408._0x169056,0xe5,-_0x2ac408._0x95898c,-_0x2ac408._0x4a647b)][_0x3d52a8(_0x2ac408._0x50c479,_0x2ac408._0x5901ef,0x26d,_0x2ac408._0xbd52cb)](_0x2818fe,_0x47a57f);function _0x538caa(_0x57669f,_0x3ef4e6,_0x4a8999,_0x18e441){return _0x4f8b6c(_0x57669f-_0x3c71fd._0x4f8291,_0x3ef4e6-_0x3c71fd._0x890c71,_0x4a8999-_0x3c71fd._0x49cff6,_0x57669f);}return _0x47a57f;}async function _0x612c39(_0x46044a,_0x360e91){const _0x14432b={_0x48b378:0xb,_0xbed70a:0x3d2},_0x54dd74={_0x848ced:0xec,_0x1ace4f:0x162};if(!_0x3910ba())return[];const _0x19d5c7=[];function _0x1e356d(_0x2ff91d,_0x387c42,_0x453ec2,_0x4c25d8){return _0x4f8b6c(_0x2ff91d-_0x54dd74._0x848ced,_0x4c25d8- -0x1b,_0x453ec2-_0x54dd74._0x1ace4f,_0x2ff91d);}function _0x3e649f(_0x5ce1b8,_0x1dac69,_0x2eb6bd,_0x1e6305){return _0x4f8b6c(_0x5ce1b8-_0x14432b._0x48b378,_0x5ce1b8-_0x14432b._0xbed70a,_0x2eb6bd-0x147,_0x1e6305);}for(const _0x23b00d of getServersForFile(_0x46044a)){const _0x52a70f=await _0x23b00d['root'](_0x46044a);if(!_0x52a70f)continue;const _0xc8de1c=stateKey(_0x23b00d,_0x52a70f);if(_0xc6d5aa[_0x1e356d(-0x90,-0x128,-0xbc,-_0xb829df._0x2caf2c)]['has'](_0xc8de1c))continue;const _0x27ebbd=_0xc6d5aa[_0x1e356d(-_0xb829df._0x37c2d6,_0xb829df._0x20399d,_0xb829df._0x5ae31f,-0x93)]['find'](_0x4a3e07=>_0x4a3e07['serverId']===_0x23b00d['id']&&_0x4a3e07[_0x1e356d(-0x20,0x1b5,0x1c5,0x4b)]===_0x52a70f);if(_0x27ebbd){_0x19d5c7['push'](_0x27ebbd);continue;}if(!_0x360e91)continue;const _0x5a1938=await _0x4cbc20(_0x23b00d,_0x52a70f);if(_0x5a1938)_0x19d5c7[_0x1e356d(-_0xb829df._0x2623f9,-0x197,-0x13f,-0x188)](_0x5a1938);}return _0x19d5c7;}async function _0x47fc41(_0x2d191c,_0x5d404f=![]){const _0x458c81={_0x34e6bc:0x148,_0x529c64:0xdc};function _0x197d36(_0xdd81af,_0x1d4315,_0x229766,_0xc259a4){return _0x4f8b6c(_0xdd81af-0xf6,_0x1d4315- -_0x4cb8a1._0x1684e1,_0x229766-0x17c,_0xdd81af);}const _0x1a1d37=await _0x612c39(_0x2d191c,!![]);function _0x3af45d(_0xd980c0,_0xfa5865,_0x1eca74,_0x42e526){return _0x4f8b6c(_0xd980c0-_0x458c81._0x34e6bc,_0xd980c0-0x315,_0x1eca74-_0x458c81._0x529c64,_0x42e526);}await Promise[_0x197d36(-_0x2e4d1a._0x5dc766,-0xd6,-_0x2e4d1a._0x5e3c88,-0x1c0)](_0x1a1d37[_0x197d36(-_0x2e4d1a._0x14adf0,0x1f,-0x87,0x128)](async _0x2156ce=>{const _0xf9b0f8={_0x38fb96:0x290,_0x30abda:0x100},_0x8a01f2={_0x3c234e:0x16f,_0x4e0087:0xe9,_0x4a7e0e:0x67};!_0xc6d5aa[_0x57182f(-0x1d5,-0x160,-0x158,0x4)][_0x3a72d8(_0x5a3055._0x171faf,0x21b,0xbe,0xe4)](_0x2156ce[_0x3a72d8(-0xfc,-_0x5a3055._0x360ad2,0x31,-0x13d)]+':'+_0x2156ce[_0x57182f(0x284,-_0x5a3055._0x4f942a,_0x5a3055._0x124c11,0x18d)]+':'+_0x2d191c)&&(await _0x2156ce[_0x57182f(_0x5a3055._0x33203e,_0x5a3055._0x54a270,_0x5a3055._0xddebf3,-_0x5a3055._0x49ec56)][_0x57182f(-_0x5a3055._0x2db17a,0x12,-0xac,-_0x5a3055._0x3719c9)]({'path':_0x2d191c}),_0xc6d5aa['openFiles'][_0x3a72d8(0x111,-_0x5a3055._0x36f507,0x121,-_0x5a3055._0x8c9fae)](_0x2156ce[_0x57182f(-_0x5a3055._0x1749cd,_0x5a3055._0x45e144,-_0x5a3055._0x1299cc,-_0x5a3055._0x5f4071)]+':'+_0x2156ce[_0x3a72d8(-0x52,_0x5a3055._0x572e80,0x2f,0xeb)]+':'+_0x2d191c));function _0x57182f(_0x57b3ec,_0x117bf3,_0x2bdc8c,_0x51f66b){return _0x197d36(_0x117bf3,_0x2bdc8c-_0x8a01f2._0x3c234e,_0x2bdc8c-_0x8a01f2._0x4e0087,_0x51f66b-_0x8a01f2._0x4a7e0e);}function _0x3a72d8(_0x1ca95b,_0x3c6180,_0x27a8e9,_0x173f04){return _0x3af45d(_0x173f04- -_0xf9b0f8._0x38fb96,_0x3c6180-_0xf9b0f8._0x30abda,_0x27a8e9-0x21,_0x3c6180);}await _0x2156ce[_0x3a72d8(-0xac,-_0x5a3055._0x538159,-_0x5a3055._0x185141,0x1a)]['change']({'path':_0x2d191c,'version':nextFileVersion(_0xc6d5aa,_0x2d191c)});if(_0x5d404f)await _0x2156ce[_0x57182f(0xba,-_0x5a3055._0x5adabb,-0x19,-0x115)]({'path':_0x2d191c});}));}async function _0x468376(_0x394622){await _0x47fc41(_0x394622['file'],![]);function _0x541d1e(_0x17bb0a,_0x44e739,_0x4a0089,_0x5c10fb){return _0x4f8b6c(_0x17bb0a-0x13c,_0x44e739- -_0x39b146._0x222989,_0x4a0089-0x4b,_0x17bb0a);}return _0x612c39(_0x394622[_0x541d1e(-_0x4416f3._0x1e9a2a,-_0x4416f3._0x5145fc,-0x369,-_0x4416f3._0x54de73)],![]);}async function _0x542433(_0x1a07f7){function _0x116142(_0x4e776d,_0x152fcb,_0x9ef1dd,_0x25f6b9){return _0x4f8b6c(_0x4e776d-_0x5ed273._0x1b40c0,_0x25f6b9-0x3d,_0x9ef1dd-0xdb,_0x4e776d);}const _0x15863c=await _0x468376(_0x1a07f7);function _0x1a0a58(_0x4e499c,_0x28fad2,_0x5b7e7d,_0x13c750){return _0x4f8b6c(_0x4e499c-0x10b,_0x5b7e7d-0x67f,_0x5b7e7d-0xbf,_0x28fad2);}return collectClientResults(_0x15863c[_0x116142(-_0x28d1b8._0x512837,_0x28d1b8._0x3ea692,-_0x28d1b8._0x5eb246,0xdb)](_0x14c15e=>_0x14c15e[_0x116142(-0x7a,0xb7,-0xbd,0x30)][_0x1a0a58(0x686,0x7dd,0x697,0x639)](_0x1a07f7)));}return{'isEnabled':_0x3910ba,async 'hasClients'(_0x542ea3){function _0x4a3145(_0x53ebb5,_0x2b1a47,_0x6613b4,_0x2297ed){return _0x4f8b6c(_0x53ebb5-0x113,_0x6613b4-_0xf934ef._0x43ba5e,_0x6613b4-_0xf934ef._0x2693ef,_0x2297ed);}return(await _0x612c39(_0x542ea3,![]))['length']>0x0||getServersForFile(_0x542ea3)[_0x4a3145(_0xf4c479._0x2cfa7f,0xde,0x24b,_0xf4c479._0x1329ad)]>0x0;},'touchFile':_0x47fc41,async 'diagnostics'(){const _0x3c071b={_0x4132c1:0x1ea,_0x490b17:0x10},_0x333b3e={};function _0x192c0c(_0x1bac2d,_0x4faacf,_0x1b6f5f,_0x27eda8){return _0x4f8b6c(_0x1bac2d-_0x3c071b._0x4132c1,_0x1b6f5f-0x220,_0x1b6f5f-_0x3c071b._0x490b17,_0x1bac2d);}for(const _0x5e6ce6 of _0xc6d5aa[_0x192c0c(0x148,_0x3d090c._0x221955,_0x3d090c._0x50e651,0x317)]){for(const [_0x43fa0d,_0x1bc903]of _0x5e6ce6[_0x508418(_0x3d090c._0x4a9597,_0x3d090c._0x5df9f,_0x3d090c._0xaed468,_0x3d090c._0x2cc414)]){_0x333b3e[diagnosticsKeyToPath(_0x43fa0d)]=_0x1bc903;}}function _0x508418(_0x49c81f,_0x48bc62,_0x5e2140,_0x2b4735){return _0x4f8b6c(_0x49c81f-_0x14ea1d._0x40fd73,_0x5e2140-0x26d,_0x5e2140-_0x14ea1d._0x1858c3,_0x2b4735);}return _0x333b3e;},async 'diagnosticsForFile'(_0x542e30){const _0x4069b4={_0x2ed5b4:0x1dd,_0x221bfb:0x31e};function _0x209fd1(_0x8f5485,_0x2b3642,_0x27b3e9,_0x41db41){return _0x4f8b6c(_0x8f5485-_0x4069b4._0x2ed5b4,_0x27b3e9-_0x4069b4._0x221bfb,_0x27b3e9-0xb1,_0x2b3642);}function _0xb02e6f(_0x44aebd,_0x4f081d,_0x4a52fb,_0x48821b){return _0x4f8b6c(_0x44aebd-0x11a,_0x44aebd-_0x4cbf3e._0x329730,_0x4a52fb-0x191,_0x4a52fb);}await _0x47fc41(_0x542e30,!![]);const _0x1b1a52=[];for(const _0x537b0c of await _0x612c39(_0x542e30,![])){for(const [_0x2788e0,_0x19b424]of _0x537b0c[_0xb02e6f(0x3a8,_0x55955a._0x559490,0x22f,_0x55955a._0x3deb55)]){if(diagnosticsKeyToPath(_0x2788e0)===_0x542e30)_0x1b1a52[_0xb02e6f(0x210,0xb4,0x194,_0x55955a._0x3fbdc3)](..._0x19b424);}}return _0x1b1a52;},async 'definition'(_0x278e1b){const _0x648630={_0x2d193a:0x83};function _0x5099d3(_0x655d2f,_0x1a53c0,_0x3ec775,_0x32016d){return _0x4f8b6c(_0x655d2f-0x141,_0x32016d- -_0x648630._0x2d193a,_0x3ec775-0xff,_0x1a53c0);}return collectClientResults((await _0x468376(_0x278e1b))[_0x5099d3(-_0x128cc4._0x509515,0x72,0x12f,0x1b)](_0x26711b=>_0x26711b['request']['definition'](_0x278e1b)));},async 'references'(_0x45a496){const _0x4dede0={_0x14f735:0x1e0,_0x5079e6:0x1e8};function _0x331bb(_0x43504d,_0x3c4942,_0x13d6e9,_0x37e1b7){return _0x4f8b6c(_0x43504d-_0x4dede0._0x14f735,_0x3c4942-0x224,_0x13d6e9-_0x4dede0._0x5079e6,_0x43504d);}function _0x1eb4ad(_0x493092,_0x9eb15a,_0x2613da,_0x33828c){return _0x4f8b6c(_0x493092-_0x49b79d._0x2c432e,_0x33828c-_0x49b79d._0x146f7c,_0x2613da-0x104,_0x2613da);}return collectClientResults((await _0x468376(_0x45a496))[_0x1eb4ad(0x219,_0x5eb396._0x10fca,_0x5eb396._0x51242c,_0x5eb396._0x37586a)](_0x18096c=>_0x18096c['request'][_0x1eb4ad(0x2b9,0x33,0xf9,0x182)](_0x45a496)));},async 'hover'(_0x492c3a){function _0xfb8fde(_0x1ca6b2,_0xc7ea54,_0x16702c,_0x50a035){return _0x4f8b6c(_0x1ca6b2-0x108,_0xc7ea54-_0x318380._0x20910c,_0x16702c-_0x318380._0x45140e,_0x1ca6b2);}const _0x1f5866=await Promise[_0xfb8fde(_0x21df67._0x239355,0x2d8,_0x21df67._0x132e1c,_0x21df67._0x4549ca)]((await _0x468376(_0x492c3a))[_0xfb8fde(_0x21df67._0x28ae65,_0x21df67._0x58fdac,_0x21df67._0x16b021,0x2f2)](_0x5e97f5=>_0x5e97f5['request']['hover'](_0x492c3a)));function _0x49d51c(_0x18c68f,_0x4d8fc8,_0x27c820,_0x14ac34){return _0x4f8b6c(_0x18c68f-_0x52a79d._0x32d864,_0x18c68f-0x1cf,_0x27c820-0x6,_0x27c820);}return _0x1f5866['flatMap'](_0x55f41d=>_0x55f41d['status']===_0x49d51c(0xeb,0x11e,0x265,0x1ab)&&_0x55f41d[_0xfb8fde(0x368,0x211,0x16a,0xb7)]?[_0x55f41d[_0x49d51c(0xce,-0x7e,0x6a,0x18a)]]:[]);},async 'documentSymbol'(_0xfa419e){function _0x10f0fc(_0x2d530c,_0x3b620c,_0x24481d,_0x36a748){return _0x4f8b6c(_0x2d530c-_0xb7aa03._0xb1be6c,_0x36a748-0x545,_0x24481d-0x7e,_0x2d530c);}function _0x5107f9(_0x99e50a,_0x865f7,_0x3a39b3,_0x22d145){return _0x4f8b6c(_0x99e50a-0x106,_0x865f7- -_0x640993._0x536820,_0x3a39b3-0x1b3,_0x99e50a);}return await _0x47fc41(_0xfa419e,![]),collectClientResults((await _0x612c39(_0xfa419e,![]))[_0x10f0fc(0x72a,_0x4df44e._0x10e807,_0x4df44e._0x7d94c,0x5e3)](_0x2c2c0b=>_0x2c2c0b[_0x10f0fc(0x5d1,0x61e,0x513,0x538)][_0x5107f9(-0x233,-0x24e,-0x265,-0x12b)](_0xfa419e)));},async 'workspaceSymbol'(_0x4f613c){const _0x583283={_0x25e10c:0x56};function _0x802ef9(_0x1bf886,_0x30bd67,_0x3a2923,_0x151798){return _0x4f8b6c(_0x1bf886-_0x583283._0x25e10c,_0x1bf886-0x62b,_0x3a2923-0x1b4,_0x30bd67);}function _0x4f7c8d(_0x44ee0b,_0xc51ebd,_0x49207e,_0x5221c0){return _0x4f8b6c(_0x44ee0b-0x29,_0x49207e-_0x36342a._0x38dd72,_0x49207e-_0x36342a._0x3de559,_0x5221c0);}return collectClientResults(_0xc6d5aa[_0x802ef9(_0xa990f9._0x5cc2d1,_0xa990f9._0x5d7cf9,0x5e1,0x510)]['map'](_0x3b4b45=>_0x3b4b45[_0x4f7c8d(-0x12e,0x165,-0x8,0x156)][_0x802ef9(0x42e,0x52e,0x510,0x463)](_0x4f613c)));},async 'implementation'(_0x2bd681){const _0x4025d2={_0x2b4d03:0x17f},_0x4431ee={_0x53616c:0x2f};function _0x31e0e1(_0x2f7204,_0x25eadb,_0x1e016c,_0x4335be){return _0x4f8b6c(_0x2f7204-_0x4431ee._0x53616c,_0x25eadb-0x140,_0x1e016c-0x2,_0x4335be);}function _0xaa7503(_0x53eb72,_0x4221a9,_0xb80abb,_0xd3e631){return _0x4f8b6c(_0x53eb72-_0x4025d2._0x2b4d03,_0x4221a9-0x11f,_0xb80abb-0x53,_0x53eb72);}return collectClientResults((await _0x468376(_0x2bd681))[_0xaa7503(0x232,0x1bd,_0x472074._0x344e1e,0xa5)](_0x145558=>_0x145558[_0x31e0e1(0x102,0x133,0x1ac,0x178)][_0x31e0e1(-0x235,-0xe6,0x73,-0x211)](_0x2bd681)));},async 'prepareCallHierarchy'(_0x288705){return _0x542433(_0x288705);},async 'incomingCalls'(_0x61ccb9){const _0xc02ebe={_0x177f67:0xd6,_0x2f6fa7:0x3d3,_0x20f872:0xc4},_0x1ac90f=await _0x542433(_0x61ccb9);function _0xa4d9b3(_0x2ce3b9,_0xdd9b70,_0x561cbc,_0x502d4f){return _0x4f8b6c(_0x2ce3b9-_0x5f0f3d._0x57b006,_0x561cbc-0x210,_0x561cbc-_0x5f0f3d._0x57743f,_0x2ce3b9);}function _0x512936(_0xbc6937,_0x569d51,_0x1fdaf5,_0x4d4f73){return _0x4f8b6c(_0xbc6937-_0xc02ebe._0x177f67,_0x569d51-_0xc02ebe._0x2f6fa7,_0x1fdaf5-_0xc02ebe._0x20f872,_0x1fdaf5);}const _0x4a8b67=await _0x468376(_0x61ccb9);return collectClientResults(_0x4a8b67['flatMap'](_0x174a2d=>_0x1ac90f[_0x512936(0x458,0x471,0x5e2,0x4b7)](_0x5987e4=>_0x174a2d[_0xa4d9b3(0x28d,0x21c,0x203,0x23f)][_0xa4d9b3(0x221,0x222,0x28b,0x14e)](_0x5987e4))));},async 'outgoingCalls'(_0x1cd1ee){function _0x520b59(_0x572a75,_0x3251ef,_0x3a1fdd,_0x43dc72){return _0x4f8b6c(_0x572a75-_0x4fd20f._0x1ffdc8,_0x3a1fdd-0x351,_0x3a1fdd-_0x4fd20f._0x542e67,_0x572a75);}function _0x1fdff4(_0x10dff8,_0x17c832,_0x1c6663,_0x23fb3b){return _0x4f8b6c(_0x10dff8-0x15f,_0x10dff8-0x2b8,_0x1c6663-0x187,_0x17c832);}const _0x240ef6=await _0x542433(_0x1cd1ee),_0xaf36c2=await _0x468376(_0x1cd1ee);return collectClientResults(_0xaf36c2[_0x1fdff4(_0x277be4._0x9b24ee,-_0x277be4._0x2943a8,_0x277be4._0x2e754e,0x9e)](_0x53230a=>_0x240ef6['map'](_0x21d4f7=>_0x53230a[_0x520b59(0x369,0x2fb,0x344,0x253)][_0x1fdff4(0x1b9,0xdb,0x180,0xf3)](_0x21d4f7))));},async 'shutdown'(){function _0xbbb643(_0x2a4bc1,_0x422fe1,_0x1aec80,_0x388db3){return _0x4f8b6c(_0x2a4bc1-0x5,_0x422fe1-0x1b8,_0x1aec80-0xa3,_0x1aec80);}function _0x52bf61(_0x5253ab,_0x69d63f,_0x257cc0,_0x1213cc){return _0x4f8b6c(_0x5253ab-0x1a5,_0x5253ab-0x4db,_0x257cc0-0x1a7,_0x1213cc);}if(_0xc6d5aa[_0xbbb643(-0x169,-_0x22653f._0x5ef599,_0x22653f._0xb9acf2,-_0x22653f._0x1a24d8)])return;_0xc6d5aa[_0x52bf61(_0x22653f._0x29dec7,0x393,_0x22653f._0x5d0039,0x2cb)]=!![],await Promise[_0x52bf61(_0x22653f._0x236cc0,0x4cb,_0x22653f._0x551f88,0x5f5)](_0xc6d5aa['clients']['map'](_0x5bf3e4=>_0x5bf3e4[_0xbbb643(0x171,0x122,0x132,0x106)]())),_0xc6d5aa['clients']=[],_0xc6d5aa[_0xbbb643(_0x22653f._0x387d1a,-_0x22653f._0x4941c5,_0x22653f._0x2c91fc,_0x22653f._0x440612)][_0x52bf61(0x3cf,_0x22653f._0xd47608,_0x22653f._0x585bbf,0x49c)](),_0xc6d5aa[_0xbbb643(_0x22653f._0x325af0,_0x22653f._0x77f843,_0x22653f._0x17a954,0x174)][_0xbbb643(_0x22653f._0x2ce216,_0x22653f._0x475301,0xa7,-0x60)](),_0xc6d5aa[_0xbbb643(-_0x22653f._0x55f2d3,-0x94,-_0x22653f._0x153544,-_0x22653f._0x43f277)][_0x52bf61(0x3cf,_0x22653f._0x4b53d0,0x4f8,_0x22653f._0x5d8fba)](),_0xc6d5aa['openFiles'][_0x52bf61(_0x22653f._0x16d50b,_0x22653f._0xdb95bd,_0x22653f._0x10558c,_0x22653f._0x63d461)]();},'status'(){const _0xd6a546={_0x22a996:0x3c};function _0x2a1099(_0x1d2989,_0x3d7644,_0x4385cc,_0x2c08a7){return _0x4f8b6c(_0x1d2989-0x1df,_0x2c08a7-_0x595eaa._0x46b78f,_0x4385cc-_0x595eaa._0x2b616d,_0x3d7644);}function _0x3ca09b(_0x5be180,_0xe2b0c9,_0x1e26bb,_0x4447eb){return _0x4f8b6c(_0x5be180-_0xd6a546._0x22a996,_0x1e26bb-0x255,_0x1e26bb-0xb,_0x4447eb);}return{'connectedClients':_0xc6d5aa[_0x2a1099(0x6a,_0xd67781._0x35c93e,0x13b,_0xd67781._0x31dd30)][_0x2a1099(0x27,-_0xd67781._0x4d9e79,-_0xd67781._0x58bd74,-_0xd67781._0x4d9e79)]};}};}function createQuestionId(){const _0x14d6fc={_0x1d9ebe:0x6f8,_0x12d39e:0x70,_0xd0716d:0x63,_0x9ae8f8:0x6c9,_0x3d1ce2:0x753,_0x3675c8:0x6b,_0x2c6660:0xc1,_0xbf15a7:0x372,_0x3072c7:0x108,_0x46c895:0x23e},_0x400405={_0x29ef60:0x75},_0x9b16f0={_0x5ccf5d:0x5a,_0x5eaf21:0x243};function _0xa1fb4c(_0x33d743,_0x53c701,_0x467fe0,_0x2a9868){return _0x42cde8(_0x33d743-_0x9b16f0._0x5ccf5d,_0x2a9868- -_0x9b16f0._0x5eaf21,_0x467fe0-0x103,_0x467fe0);}function _0x83327e(_0x270477,_0x458b2a,_0x4ba9a7,_0x37c781){return _0x48c1e5(_0x458b2a-0x246,_0x458b2a-0x18,_0x270477,_0x37c781-_0x400405._0x29ef60);}return _0x83327e(0x6d3,0x5fa,_0x14d6fc._0x1d9ebe,0x661)+Date[_0xa1fb4c(_0x14d6fc._0x12d39e,-0x3d,-_0x14d6fc._0xd0716d,-0xb2)]()+'-'+Math[_0x83327e(0x629,_0x14d6fc._0x9ae8f8,_0x14d6fc._0x3d1ce2,0x651)]()[_0xa1fb4c(_0x14d6fc._0x3675c8,-0x90,0x53,-_0x14d6fc._0x2c6660)](0x24)[_0xa1fb4c(-_0x14d6fc._0xbf15a7,-0x2b5,-_0x14d6fc._0x3072c7,-_0x14d6fc._0x46c895)](0x2,0x9);}function validateInput(_0x1199ea){const _0x43e9d2={_0x4a6452:0xe3,_0x590597:0x347,_0x211ad4:0x2d4,_0x3b94c1:0x200,_0x57c5c7:0x1fe,_0x51ed69:0x2f1,_0x38a447:0x2f8,_0x427b17:0x21b,_0x38dafd:0x2c9,_0x397019:0x46f,_0x3d7f44:0x2,_0x19d084:0x4e3,_0x36efdf:0x356,_0x365d1a:0x306,_0x21d01e:0x25f,_0x4147d9:0x38d,_0x1b1ecc:0x310,_0x7ea89f:0xe8,_0x34f173:0x23b,_0x1705ce:0x40a,_0x5406a8:0x37b,_0x2ebf97:0x413,_0x1a73a7:0xe7,_0x11956f:0x283,_0xe02d93:0x1e3,_0x523400:0x262,_0x29368a:0x3c9,_0x4bc356:0x434,_0x51e07e:0x52c,_0x4e5059:0x4b6,_0x19bef1:0x337,_0x59481f:0x45a,_0x5f4127:0x505,_0x32a0bd:0x3de,_0x45103f:0x540,_0x260a72:0x4b3,_0x29fb3a:0x4d9,_0x492d09:0x327,_0x1ef884:0x535,_0xe41cc3:0x21c,_0x584386:0x2e6,_0x3f80bf:0x227,_0x53a9dc:0x2b2,_0x373c88:0x230,_0x19b137:0x176,_0x11f569:0x294,_0x30db10:0x378,_0x538486:0x1e0,_0x8c3b99:0x116,_0x3b108e:0x176,_0x5be8dc:0x2d4,_0x3ac46b:0xc1,_0x1500e5:0x181,_0x2f9556:0x227,_0x4d3247:0x339,_0x20f481:0x26c,_0xd47e29:0x34d,_0x1c7bf4:0x2e2,_0x59c62f:0x3e3,_0x40908a:0x2f2,_0x1c5caa:0x30f,_0x159fc4:0xf8,_0x444fca:0x178,_0x265542:0x4ae,_0x10a45f:0x4c2,_0x51a584:0x48e},_0x2930c5={_0x535fca:0x24},_0x290875={_0x44d766:0x51};function _0x62eba5(_0x57234e,_0x2be27f,_0x264746,_0x1be5e9){return _0x48c1e5(_0x1be5e9- -0xa7,_0x2be27f-_0x290875._0x44d766,_0x264746,_0x1be5e9-0x1c5);}if(!Array[_0x62eba5(_0x43e9d2._0x4a6452,_0x43e9d2._0x590597,_0x43e9d2._0x211ad4,_0x43e9d2._0x3b94c1)](_0x1199ea[_0x62eba5(0x1d8,_0x43e9d2._0x57c5c7,0x2b9,0x2f1)])||_0x1199ea[_0x62eba5(0x24d,0x26b,0x394,_0x43e9d2._0x51ed69)]['length']<0x1||_0x1199ea['questions']['length']>0xa)throw new ToolExecutionError(_0x1e90f7(0x29d,0x40e,0x20e,_0x43e9d2._0x38a447),{'error':_0x62eba5(_0x43e9d2._0x427b17,_0x43e9d2._0x38dafd,0x25a,0x324)});function _0x1e90f7(_0x9b762,_0x4ac283,_0x5dcc14,_0x3e7b90){return _0x48c1e5(_0x9b762- -0x1,_0x4ac283-_0x2930c5._0x535fca,_0x5dcc14,_0x3e7b90-0x1aa);}for(let _0x32db20=0x0;_0x32db20<_0x1199ea[_0x1e90f7(0x397,_0x43e9d2._0x397019,0x262,0x496)][_0x62eba5(_0x43e9d2._0x3d7f44,0x156,0x12f,0x176)];_0x32db20+=0x1){const _0x3b3b0f=_0x1199ea[_0x1e90f7(0x397,_0x43e9d2._0x19d084,_0x43e9d2._0x36efdf,_0x43e9d2._0x365d1a)][_0x32db20];if(!_0x3b3b0f[_0x1e90f7(_0x43e9d2._0x21d01e,0x25a,_0x43e9d2._0x4147d9,_0x43e9d2._0x1b1ecc)]||typeof _0x3b3b0f[_0x1e90f7(_0x43e9d2._0x21d01e,_0x43e9d2._0x7ea89f,0x33d,_0x43e9d2._0x34f173)]!==_0x62eba5(_0x43e9d2._0x1705ce,0x269,0x4a3,_0x43e9d2._0x5406a8))throw new ToolExecutionError(_0x1e90f7(0x484,0x4f8,0x412,_0x43e9d2._0x2ebf97)+(_0x32db20+0x1)+_0x62eba5(_0x43e9d2._0x1a73a7,_0x43e9d2._0x11956f,0x21f,_0x43e9d2._0xe02d93));if(!_0x3b3b0f[_0x62eba5(0x4ac,_0x43e9d2._0x523400,0x3bb,_0x43e9d2._0x29368a)]||typeof _0x3b3b0f['topic']!==_0x62eba5(0x40b,_0x43e9d2._0x4bc356,0x3fb,0x37b))throw new ToolExecutionError(_0x62eba5(_0x43e9d2._0x51e07e,_0x43e9d2._0x4e5059,_0x43e9d2._0x19bef1,0x3de)+(_0x32db20+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3b3b0f[_0x62eba5(0x529,_0x43e9d2._0x59481f,0x38b,0x3c9)]['length']>0x1e)throw new ToolExecutionError(_0x62eba5(_0x43e9d2._0x5f4127,0x3c6,0x4d1,_0x43e9d2._0x32a0bd)+(_0x32db20+0x1)+_0x62eba5(_0x43e9d2._0x45103f,_0x43e9d2._0x260a72,_0x43e9d2._0x29fb3a,0x3e8)+_0x3b3b0f[_0x62eba5(_0x43e9d2._0x492d09,0x323,_0x43e9d2._0x1ef884,0x3c9)][_0x1e90f7(_0x43e9d2._0xe41cc3,0x1e5,0x10e,_0x43e9d2._0x584386)]);if(!Array['isArray'](_0x3b3b0f['options'])||_0x3b3b0f[_0x1e90f7(_0x43e9d2._0x3f80bf,_0x43e9d2._0x53a9dc,0x2d5,0x254)][_0x62eba5(0xb8,-0x3,_0x43e9d2._0x373c88,_0x43e9d2._0x19b137)]<0x2||_0x3b3b0f[_0x1e90f7(0x227,_0x43e9d2._0x11f569,_0x43e9d2._0x30db10,0x215)][_0x62eba5(_0x43e9d2._0x538486,_0x43e9d2._0x8c3b99,0x2d2,_0x43e9d2._0x3b108e)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x32db20+0x1)+':\x20must\x20have\x202-4\x20options');for(let _0x5371aa=0x0;_0x5371aa<_0x3b3b0f[_0x62eba5(_0x43e9d2._0x5be8dc,0xeb,_0x43e9d2._0x3ac46b,_0x43e9d2._0x1500e5)]['length'];_0x5371aa+=0x1){const _0x43c950=_0x3b3b0f[_0x1e90f7(_0x43e9d2._0x2f9556,_0x43e9d2._0x365d1a,_0x43e9d2._0x4d3247,0x26b)][_0x5371aa];if(!_0x43c950[_0x1e90f7(_0x43e9d2._0x20f481,0x256,0x24c,0x161)]||!_0x43c950[_0x62eba5(0x259,0x312,_0x43e9d2._0xd47e29,_0x43e9d2._0x1c7bf4)])throw new ToolExecutionError(_0x1e90f7(0x484,0x40e,_0x43e9d2._0x59c62f,0x30b)+(_0x32db20+0x1)+_0x1e90f7(0x253,_0x43e9d2._0x40908a,_0x43e9d2._0x1c5caa,0x258)+(_0x5371aa+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x3b3b0f[_0x62eba5(0xe8,0x28d,_0x43e9d2._0x159fc4,_0x43e9d2._0x444fca)]!=='boolean')throw new ToolExecutionError(_0x1e90f7(0x484,_0x43e9d2._0x265542,_0x43e9d2._0x10a45f,_0x43e9d2._0x51a584)+(_0x32db20+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x48bf41){const _0x4777d6={_0x131fee:0x322,_0x1145c4:0x194},_0x5bd476={_0x3b120a:0x328},_0x4fa0c8={_0x5d7592:0x145};function _0x44fb6a(_0x388fc6,_0x9e9bda,_0x5f2ec5,_0x25cbaa){return _0x48c1e5(_0x388fc6-0xa5,_0x9e9bda-_0x4fa0c8._0x5d7592,_0x25cbaa,_0x25cbaa-0x47);}function _0x294a2e(_0x3e5bd1,_0xa94a8b,_0x2dfa1d,_0x40431b){return _0x48c1e5(_0x40431b- -_0x5bd476._0x3b120a,_0xa94a8b-0x120,_0x3e5bd1,_0x40431b-0x11);}return _0x48bf41[_0x44fb6a(0x43d,0x446,0x483,_0x4777d6._0x131fee)][_0x294a2e(0x298,0x159,0x16,_0x4777d6._0x1145c4)]((_0x226ed3,_0x75182f)=>({'id':'q'+_0x75182f,'question':_0x226ed3[_0x44fb6a(0x305,0x3ca,0x311,0x334)],'topic':_0x226ed3['topic'],'options':_0x226ed3[_0x44fb6a(0x2cd,0x419,0x2f9,0x2a6)],'multiSelect':_0x226ed3[_0x44fb6a(0x2c4,0x266,0x412,0x245)]}));}function createResult(_0x2815f8,_0x4e82fc,_0x499f44){const _0xb0fd87={_0x14772b:0x242,_0x2d08f4:0x300},_0x3c882b={_0x3dbde3:0x112,_0x584570:0x75,_0x3835e9:0x1e8};function _0x2c517b(_0x4fbeb7,_0x5dff56,_0x307c99,_0x10d2bf){return _0x48c1e5(_0x10d2bf- -_0x3c882b._0x3dbde3,_0x5dff56-_0x3c882b._0x584570,_0x5dff56,_0x10d2bf-_0x3c882b._0x3835e9);}const _0x367e3d={'questionId':_0x2815f8,'questionCount':_0x4e82fc,'answers':_0x499f44};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x2c517b(0x2f6,0x3c3,_0xb0fd87._0x14772b,_0xb0fd87._0x2d08f4)](_0x499f44,null,0x2),_0x367e3d);}function createAskUserTool(){const _0x4e87fd={_0x4bb843:0x4ce,_0x27c495:0x4a9,_0x2539cb:0x25f,_0x58b90c:0x390,_0x47d8c6:0x3c7,_0x578387:0x157,_0x1d2582:0x162,_0x46c71b:0x94,_0x5dea5e:0x553,_0x4ef9fb:0x13e,_0x212035:0x14,_0x3ad52a:0x165,_0x2eb2d6:0xe8,_0x19c067:0xcc,_0x5b2af8:0x88,_0x5a9d27:0x161,_0x234d3b:0x1b1,_0x2d4dbf:0x205,_0x4d740f:0x17,_0x14ad6d:0x18a,_0x2c80e1:0x11d,_0x2442c5:0x2df,_0x1f1881:0x409,_0x389cf4:0x50b,_0x10e037:0x4fb,_0x2a3966:0x591,_0x340694:0x50e,_0x180c3e:0xb8,_0x529b9b:0xa5,_0x375dd6:0x3ce,_0x5a96f8:0x39a,_0x4091c4:0x1aa,_0x4bada2:0x49,_0x4657e1:0x669,_0xb99cd7:0x50a},_0x134eae={_0x511929:0x307,_0x350b24:0x332,_0x5076a0:0x12d,_0x24f7b9:0x51,_0x3d40d7:0x38,_0x1019e3:0x1fe,_0x8d1ddc:0x13c,_0x233b9b:0x65,_0x3c63e8:0x72,_0x511e4a:0x154,_0x4abfe0:0x41,_0x2c8c89:0x1f1,_0x5e297e:0x1aa,_0x2928e2:0x9d,_0x2c32ba:0x7f,_0x3a4afd:0xf8,_0x373634:0x85,_0x409f7f:0x51,_0x38ff5b:0x1ed,_0x3bf282:0x181},_0x15e608={_0x354d61:0x1ee,_0x2d2f22:0xc1},_0x1a4cfb={_0x223fb5:0x10f,_0x262b65:0xb6,_0xbbcc06:0x31d},_0x58558c={_0x4ac04a:0xc,_0x27f83c:0x43d},_0x5c1ffd={_0x58439a:0xd1};function _0x246211(_0x5f014f,_0x252f67,_0x5d933e,_0x81f112){return _0x48c1e5(_0x81f112- -0x305,_0x252f67-_0x5c1ffd._0x58439a,_0x5f014f,_0x81f112-0x1ef);}function _0x25679f(_0x3aa1a0,_0x4e022a,_0x14ae0b,_0x2407c0){return _0x42cde8(_0x3aa1a0-_0x58558c._0x4ac04a,_0x2407c0-_0x58558c._0x27f83c,_0x14ae0b-0x65,_0x3aa1a0);}return defineTool({'name':_0x25679f(0x466,0x36a,_0x4e87fd._0x4bb843,_0x4e87fd._0x27c495),'description':_0x25679f(_0x4e87fd._0x2539cb,_0x4e87fd._0x58b90c,0x4ed,_0x4e87fd._0x47d8c6),'inputSchema':{'type':_0x246211(_0x4e87fd._0x578387,_0x4e87fd._0x1d2582,_0x4e87fd._0x46c71b,0x14),'properties':{'questions':{'type':_0x25679f(0x509,_0x4e87fd._0x5dea5e,0x61a,0x543),'items':{'type':_0x246211(-0x119,_0x4e87fd._0x4ef9fb,-0xce,_0x4e87fd._0x212035),'properties':{'question':{'type':_0x25679f(0x63a,0x588,0x51e,0x594)},'topic':{'type':'string'},'options':{'type':_0x246211(_0x4e87fd._0x3ad52a,-0x32,_0x4e87fd._0x2eb2d6,_0x4e87fd._0x19c067),'items':{'type':_0x246211(-0xc5,_0x4e87fd._0x5b2af8,-_0x4e87fd._0x5a9d27,_0x4e87fd._0x212035),'properties':{'label':{'type':_0x246211(0x56,_0x4e87fd._0x234d3b,_0x4e87fd._0x2d4dbf,0x11d)},'description':{'type':_0x246211(-_0x4e87fd._0x4d740f,0x13d,_0x4e87fd._0x14ad6d,_0x4e87fd._0x2c80e1)}},'required':[_0x25679f(_0x4e87fd._0x2442c5,_0x4e87fd._0x1f1881,0x319,0x3df),_0x25679f(0x5eb,_0x4e87fd._0x389cf4,0x50b,_0x4e87fd._0x10e037)]}},'multiSelect':{'type':_0x25679f(0x3a3,0x3d7,_0x4e87fd._0x2a3966,_0x4e87fd._0x340694)}},'required':[_0x246211(-_0x4e87fd._0x180c3e,-0x11f,0x5a,-_0x4e87fd._0x529b9b),'topic',_0x25679f(0x470,_0x4e87fd._0x375dd6,0x270,_0x4e87fd._0x5a96f8),_0x246211(-_0x4e87fd._0x4091c4,-0xca,-0xfb,-0xe6)]}},'answers':{'type':_0x246211(0x6a,_0x4e87fd._0x4bada2,-0xf4,0x14),'properties':{}}},'required':[_0x25679f(0x647,0x675,_0x4e87fd._0x4657e1,_0x4e87fd._0xb99cd7)]},async *'execute'(_0x25da32,_0x4b8a86){const _0xeccce7=_0x25da32;validateInput(_0xeccce7);const _0x4ebf53=_0x4b8a86[_0x471df0(0x440,_0x134eae._0x511929,_0x134eae._0x350b24,0x221)]??createQuestionId();if(_0xeccce7[_0x471df0(_0x134eae._0x5076a0,0x9f,0xac,0x3f)]&&Object[_0x45337c(_0x134eae._0x24f7b9,0xe9,0x6b,-_0x134eae._0x3d40d7)](_0xeccce7[_0x471df0(_0x134eae._0x1019e3,0x9f,0xe4,-0x85)])['length']>0x0)return createResult(_0x4ebf53,_0xeccce7[_0x45337c(0x24,-_0x134eae._0x8d1ddc,-0x6,0x16c)][_0x471df0(_0x134eae._0x233b9b,_0x134eae._0x3c63e8,0x1b2,0x1da)],_0xeccce7[_0x45337c(-0x59,-0x2a2,-_0x134eae._0x511e4a,-_0x134eae._0x4abfe0)]);function _0x471df0(_0x1886d6,_0x291a22,_0xfa40f5,_0x27cc66){return _0x25679f(_0x27cc66,_0x291a22-_0x1a4cfb._0x223fb5,_0xfa40f5-_0x1a4cfb._0x262b65,_0x291a22- -_0x1a4cfb._0xbbcc06);}if(!_0x4b8a86[_0x471df0(_0x134eae._0x2c8c89,_0x134eae._0x5e297e,_0x134eae._0x2928e2,0x19e)])throw new ToolExecutionError(_0x471df0(-_0x134eae._0x2c32ba,_0x134eae._0x3a4afd,_0x134eae._0x373634,-_0x134eae._0x409f7f));const _0x425099=buildQuestions(_0xeccce7),_0x1624a6=await _0x4b8a86['askUser']({'questionId':_0x4ebf53,'questions':_0x425099});function _0x45337c(_0x53ff6e,_0x369ba9,_0x245acb,_0x2efae5){return _0x246211(_0x369ba9,_0x369ba9-_0x15e608._0x354d61,_0x245acb-_0x15e608._0x2d2f22,_0x245acb- -0x99);}yield createResult(_0x4ebf53,_0xeccce7[_0x471df0(0x28a,_0x134eae._0x38ff5b,0x2fc,0x324)][_0x45337c(-0x24c,-0x1f2,-_0x134eae._0x3bf282,-0x19c)],_0x1624a6);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x4cea09}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0xd5d417){return _0xd5d417 instanceof Error;}function resolveCarriageReturns(_0x272b88){const _0x5a697b={_0x357759:0x2b2,_0x35c2d2:0x475},_0x238c17={_0xa77abd:0x186},_0x3e2595={_0x28113d:0x157};function _0x1f2d9e(_0x2fbb66,_0x9a00d6,_0x2069b6,_0x2e5a75){return _0x48c1e5(_0x9a00d6- -0x40,_0x9a00d6-_0x3e2595._0x28113d,_0x2e5a75,_0x2e5a75-0x16a);}return _0x272b88[_0x1f2d9e(_0x5a697b._0x357759,0x3c6,0x3a4,_0x5a697b._0x35c2d2)]('\x0a')['map'](_0x34e537=>{const _0x54e055={_0x36f487:0x43,_0x24e9a9:0x24f};function _0x4a0ff8(_0x57c78e,_0x1282b7,_0x4b0cc3,_0x2959cf){return _0x1f2d9e(_0x57c78e-_0x54e055._0x36f487,_0x57c78e- -_0x54e055._0x24e9a9,_0x4b0cc3-0x34,_0x2959cf);}if(!_0x34e537['includes']('\x0d'))return _0x34e537;function _0x102eca(_0x18ea47,_0x39e248,_0x55baf9,_0x4fee46){return _0x1f2d9e(_0x18ea47-0x1b7,_0x4fee46- -0x3c2,_0x55baf9-0x1cf,_0x18ea47);}const _0x166bd4=_0x34e537[_0x4a0ff8(0x177,0x1fc,0x18e,0x14e)]('\x0d');return _0x166bd4[_0x166bd4[_0x4a0ff8(-0x72,-0xc8,-0x1ae,-_0x238c17._0xa77abd)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x2040a0){const _0x562194={_0x22367c:0x27d,_0x474f5e:0x29a,_0x20b986:0x2b3,_0x312e11:0xa8,_0xb14115:0x58,_0x1604f9:0x36,_0x2dc9f3:0x3dc,_0x7732bc:0x422,_0x31bee7:0x2de,_0x15b7c3:0x1ea,_0x3474d5:0x36e},_0x2bd77a={_0x5b59d6:0x111},_0x4e98e7={_0x35b59c:0x1f1},_0x1cae46=[];for(const _0x3bbcec of Array[_0x189248(-_0x562194._0x22367c,-0x16b,-_0x562194._0x474f5e,-_0x562194._0x20b986)](_0x2040a0)){_0x3bbcec==='\x08'?_0x1cae46[_0x189248(-_0x562194._0x312e11,-_0x562194._0xb14115,_0x562194._0x1604f9,0x190)]():_0x1cae46[_0x3d0427(_0x562194._0x2dc9f3,_0x562194._0x7732bc,_0x562194._0x31bee7,0x1b3)](_0x3bbcec);}function _0x3d0427(_0xfcc5df,_0x5d49d0,_0x4e580c,_0x21ea63){return _0x48c1e5(_0x4e580c-0x2d,_0x5d49d0-0x17f,_0xfcc5df,_0x21ea63-_0x4e98e7._0x35b59c);}function _0x189248(_0x398ceb,_0x2cd507,_0x4e44b8,_0x1daf1d){return _0x48c1e5(_0x4e44b8- -0x461,_0x2cd507-_0x2bd77a._0x5b59d6,_0x398ceb,_0x1daf1d-0xa3);}return _0x1cae46[_0x3d0427(_0x562194._0x15b7c3,_0x562194._0x3474d5,0x369,0x1fc)]('');}function stripAnsiAndControls(_0x51568b){const _0x3b4ef9={_0x52a74a:0x670,_0x3e12dc:0x3b6,_0x4316f5:0x4fb,_0x225502:0x239,_0xdffa8d:0x17b,_0x153abb:0x8e,_0x34eca1:0x4e,_0x565339:0xf2,_0x4cdb40:0x17e,_0x30751c:0xfa,_0x5278b4:0x4b,_0x3fdcd4:0x79,_0x1fdc42:0x382,_0x3cb734:0x4d1,_0x531f3d:0x306,_0x70caa1:0x39e,_0x4122ea:0x43b,_0x4111fd:0x24,_0x1f31fd:0xd7},_0x2a84bd={_0x55f51c:0xb7,_0x143737:0x13f};_0x51568b=resolveCarriageReturns(_0x51568b),_0x51568b=resolveBackspaces(_0x51568b),_0x51568b=stripVTControlCharacters(_0x51568b);const _0x17043b='\x1b',_0x5d2711='\x07';_0x51568b=_0x51568b[_0x4e432f(_0x3b4ef9._0x52a74a,0x589,_0x3b4ef9._0x3e12dc,_0x3b4ef9._0x4316f5)](new RegExp(_0x43fe42(-_0x3b4ef9._0x225502,-0xfa,-_0x3b4ef9._0xdffa8d,-_0x3b4ef9._0x153abb)+_0x5d2711+_0x43fe42(-_0x3b4ef9._0x34eca1,-0x148,-0x1ea,-_0x3b4ef9._0x565339)+_0x5d2711,'g'),''),_0x51568b=_0x51568b[_0x43fe42(_0x3b4ef9._0x4cdb40,0x4b,-_0x3b4ef9._0x30751c,-_0x3b4ef9._0x565339)](new RegExp(_0x43fe42(-0x7f,0x5a,-0xf9,0x100)+_0x17043b+'\x5c\x5c','g'),''),_0x51568b=_0x51568b[_0x43fe42(-0xde,_0x3b4ef9._0x5278b4,_0x3b4ef9._0x3fdcd4,0x1c7)](new RegExp(_0x5d2711,'g'),'');function _0x43fe42(_0x54bb79,_0x8e120a,_0x560757,_0x8b7789){return _0x48c1e5(_0x8e120a- -0x42f,_0x8e120a-_0x2a84bd._0x55f51c,_0x560757,_0x8b7789-_0x2a84bd._0x143737);}_0x51568b=_0x51568b[_0x4e432f(0x42b,0x608,_0x3b4ef9._0x1fdc42,0x4fb)](new RegExp(_0x17043b+_0x4e432f(_0x3b4ef9._0x3cb734,_0x3b4ef9._0x531f3d,0x437,0x433)+_0x17043b+'\x5c\x5c','g'),''),_0x51568b=_0x51568b[_0x4e432f(_0x3b4ef9._0x70caa1,0x597,_0x3b4ef9._0x4122ea,0x4fb)](new RegExp(_0x17043b+_0x43fe42(0x139,-_0x3b4ef9._0x4111fd,-0x13a,-0x119),'g'),''),_0x51568b=_0x51568b[_0x43fe42(_0x3b4ef9._0x1f31fd,_0x3b4ef9._0x5278b4,-0x43,0x158)](/[\u0080-\u009F]/g,'');function _0x4e432f(_0x38035b,_0x190a64,_0x2635d2,_0x5e8c86){return _0x48c1e5(_0x5e8c86-0x81,_0x190a64-0x156,_0x38035b,_0x5e8c86-0x11b);}return _0x51568b=_0x51568b['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x51568b=_0x51568b['replace'](/[\u23CE\u2424]/g,''),_0x51568b;}function killProcessGroup(_0xe2383b,_0x6c1318,_0xc09f56=_0x48c1e5(0x458,0x4c6,0x436,0x4c7)){const _0x35e5b6={_0x3bf614:0x110,_0x5f4310:0x224,_0x50ca25:0x5e0,_0x2229a4:0x124,_0x1e1d3d:0x18,_0x35c271:0x34,_0x10b476:0x106,_0x451c11:0xd3,_0xed27f4:0xb6,_0x2acaf3:0xb3,_0x62b273:0x1bd,_0x5b43da:0x5a4,_0x230e7d:0x390,_0x4f3804:0x5fa,_0x1293f1:0x5db,_0x156764:0x4ba,_0x22d274:0x49d},_0x28140e={_0x4af426:0x13b,_0x4663e4:0x90},_0x5a4ae5={_0x52b93c:0x110,_0x5812ec:0x16a,_0x12be09:0x91};function _0x206597(_0x3b93d1,_0x5d9ef2,_0x445ff0,_0x2259e8){return _0x42cde8(_0x3b93d1-_0x5a4ae5._0x52b93c,_0x3b93d1- -_0x5a4ae5._0x5812ec,_0x445ff0-_0x5a4ae5._0x12be09,_0x445ff0);}function _0x4bfa05(_0x65efa3,_0x315ff6,_0x2d985c,_0x7f5bf6){return _0x48c1e5(_0x7f5bf6-_0x28140e._0x4af426,_0x315ff6-_0x28140e._0x4663e4,_0x315ff6,_0x7f5bf6-0xc7);}if(!_0xe2383b[_0x206597(0x6b,0x13b,0xf3,0xe8)])return;if(_0x6c1318)try{_0x4cea09(_0x206597(-_0x35e5b6._0x3bf614,0x67,-_0x35e5b6._0x5f4310,0x57),[_0x4bfa05(0x4e1,0x56f,_0x35e5b6._0x50ca25,0x562),_0xe2383b[_0x206597(0x6b,-0x73,_0x35e5b6._0x2229a4,0x14f)][_0x206597(_0x35e5b6._0x1e1d3d,_0x35e5b6._0x35c271,-0xf9,-0xfd)](),'/T','/F'],{'stdio':_0x206597(0x58,0x1a7,-0x9c,-_0x35e5b6._0x10b476)});return;}catch{_0xe2383b[_0x206597(-_0x35e5b6._0x451c11,-_0x35e5b6._0xed27f4,-_0x35e5b6._0x2acaf3,-_0x35e5b6._0x62b273)](_0xc09f56);return;}try{process[_0x4bfa05(_0x35e5b6._0x5b43da,_0x35e5b6._0x230e7d,0x5d9,0x49d)](-_0xe2383b[_0x4bfa05(0x570,_0x35e5b6._0x4f3804,0x5a3,_0x35e5b6._0x1293f1)],_0xc09f56);}catch{_0xe2383b[_0x4bfa05(0x48e,_0x35e5b6._0x156764,0x4f4,_0x35e5b6._0x22d274)](_0xc09f56);}}var BackgroundProcessRegistry=class{[_0x48c1e5(0x1e5,0x6d,0x1ef,0x22e)]=new Map();[_0x48c1e5(0x2cb,0x2b8,0x370,0x34d)];[_0x48c1e5(0x494,0x4e0,0x495,0x47c)];['capChars'];[_0x48c1e5(0x31b,0x2be,0x3bc,0x3b3)]=0x0;constructor(_0x7a8291={}){const _0x573aa3={_0x11ce01:0x2f2,_0x5e81db:0x1c4,_0x4073e8:0x1e5,_0x2081ea:0x420,_0x2128e9:0x314,_0x1b6d37:0xaf},_0x53f44f={_0x171afe:0x57};function _0xd997eb(_0x210033,_0x40467,_0x5183c7,_0x29a69a){return _0x48c1e5(_0x29a69a- -0x180,_0x40467-0x60,_0x5183c7,_0x29a69a-0xa0);}function _0x30d4b1(_0x2aa53f,_0x1b1c71,_0x1e3856,_0x1fb3f9){return _0x48c1e5(_0x1e3856- -0x48f,_0x1b1c71-0xf6,_0x1b1c71,_0x1fb3f9-_0x53f44f._0x171afe);}this[_0x30d4b1(-0x276,-_0x573aa3._0x11ce01,-_0x573aa3._0x5e81db,-0x90)]=_0x7a8291[_0xd997eb(0x4f,_0x573aa3._0x4073e8,0xa1,0x14b)]??0xa,this['maxEntries']=_0x7a8291[_0xd997eb(0x281,_0x573aa3._0x2081ea,0x251,_0x573aa3._0x2128e9)]??0x40,this[_0x30d4b1(-_0x573aa3._0x1b6d37,-0xa5,-0x1d8,-0x8a)]=_0x7a8291['capChars']??0x100000;}[_0x48c1e5(0x28d,0x177,0x1ce,0x2c6)](_0x2ba419){const _0x364541={_0x27c00b:0x34c,_0x11482b:0x4a7,_0x421578:0x319,_0x58f5a4:0x3d8,_0x510a11:0x59c,_0x2180cd:0x2b7,_0x1b9c59:0x31d,_0x35491b:0x355,_0x3a6023:0x2bb,_0x40468f:0x35c,_0x4c6ef1:0x3e4,_0x5c3372:0x440,_0x154401:0x4dc,_0x2e2d4b:0x42a,_0x282e51:0x4cb,_0x541434:0x4dd,_0x42b8ab:0x517,_0x44eae3:0x307,_0x478d95:0x3d6,_0x3b1964:0x43b,_0x8d133d:0x39d,_0x28a005:0x428,_0x361bf3:0x2b4,_0x1f4e68:0x5dc,_0x7670b5:0x4a4,_0x2d9857:0x4bd,_0x58495e:0x5d7,_0x38ea03:0x4db,_0x317008:0x649,_0x10c381:0x65b,_0x1f8664:0x6cf,_0x1cc197:0x391,_0x14d682:0x26b,_0xd8a6c4:0x236,_0x4e9bcf:0x2d0,_0x3c14b8:0x383,_0x2865de:0x198,_0x450246:0x26c,_0x5eff50:0x2fc,_0x1a96ec:0x72d,_0xc3fc24:0x5e0},_0x526dd1={_0xefb51c:0x1bf,_0x49c7fe:0xaa},_0x4bd61d={_0x4daec5:0x11,_0x495477:0x139,_0x4f1567:0x16e,_0x26add0:0x23b,_0x35d7aa:0x3f,_0xdd6179:0x121},_0x35c6ac={_0x4e9a05:0x433,_0x15570c:0x10d},_0x6a444d={_0xd4ab48:0x478,_0x168634:0x25,_0x4ef32f:0xbe,_0x61d66:0xb7,_0x407d9b:0x207,_0x402b40:0x15b,_0x341082:0x555,_0x35d70a:0x3a6,_0x454d41:0x461,_0x19700b:0x13e,_0x19b165:0x136},_0x46d300={_0x5a6c23:0x18b,_0x5846a0:0x229},_0x3a9527={_0x35a061:0x121,_0x2da7dd:0x34c},_0x1b8279=[...this['entries']['values']()]['filter'](_0x781d19=>_0x781d19[_0x2fff9a(0x554,0x652,0x438,0x536)]===_0x5b5d03(0x1c5,0x2ac,0x1b4,0x253))['length'];if(_0x1b8279>=this[_0x5b5d03(0x433,_0x364541._0x27c00b,0x3ee,0x2ef)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x2fff9a(_0x364541._0x11482b,_0x364541._0x421578,0x449,0x48a)]+_0x5b5d03(_0x364541._0x58f5a4,0x4f0,_0x364541._0x510a11,0x3d8),{'running':this[_0x5b5d03(0x45f,0x34c,0x465,_0x364541._0x2180cd)]});const _0x404ecd=_0x5b5d03(_0x364541._0x1b9c59,0x3a8,_0x364541._0x35491b,0x2af)+ ++this['counter']+'-'+randomUUID()['slice'](0x0,0x8),_0x29db48={'shellId':_0x404ecd,'command':_0x2ba419[_0x5b5d03(_0x364541._0x3a6023,_0x364541._0x40468f,_0x364541._0x4c6ef1,0x45d)],'cwd':_0x2ba419[_0x2fff9a(0x585,_0x364541._0x5c3372,0x557,0x440)],'pid':_0x2ba419['child'][_0x5b5d03(_0x364541._0x154401,0x521,0x45b,_0x364541._0x2e2d4b)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x5b5d03(_0x364541._0x282e51,_0x364541._0x541434,_0x364541._0x42b8ab,0x580)](),'child':_0x2ba419['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x5b5d03(0x285,0x307,0x2ec,0x1c3)),'stderrDecoder':new StringDecoder(_0x5b5d03(0x3f1,_0x364541._0x44eae3,0x367,_0x364541._0x478d95)),'stripAnsi':_0x2ba419[_0x2fff9a(0x30b,_0x364541._0x3b1964,_0x364541._0x2e2d4b,0x394)],'killRequested':![],'processExited':![]};_0x2ba419[_0x5b5d03(0x40b,_0x364541._0x8d133d,_0x364541._0x28a005,_0x364541._0x361bf3)]['stdout']?.['on'](_0x5b5d03(_0x364541._0x1f4e68,_0x364541._0x7670b5,0x4df,0x530),_0x321c85=>this['append'](_0x29db48,_0x29db48['stdoutDecoder'][_0x5b5d03(0x352,0x2ff,0x1f8,0x25b)](_0x321c85))),_0x2ba419[_0x2fff9a(_0x364541._0x2d9857,_0x364541._0x58495e,0x5a0,_0x364541._0x38ea03)]['stderr']?.['on'](_0x2fff9a(_0x364541._0x317008,_0x364541._0x10c381,_0x364541._0x1f8664,0x5e2),_0x170831=>this[_0x2fff9a(0x424,0x3e4,0x534,0x534)](_0x29db48,_0x29db48[_0x2fff9a(0x47c,0x348,0x2f9,0x3c6)][_0x2fff9a(0x38c,0x30b,0x5a7,0x43d)](_0x170831)));function _0x5b5d03(_0x1026cb,_0x5587f2,_0x5210e8,_0x35dc02){return _0x42cde8(_0x1026cb-_0x3a9527._0x35a061,_0x5587f2-_0x3a9527._0x2da7dd,_0x5210e8-0x23,_0x1026cb);}_0x2ba419[_0x5b5d03(_0x364541._0x1cc197,_0x364541._0x8d133d,0x236,_0x364541._0x14d682)]['once'](_0x5b5d03(0x3a8,0x325,0x398,_0x364541._0xd8a6c4),()=>{const _0x31193f={_0x1168a4:0x22d};function _0x283401(_0x125eb7,_0x1a85f2,_0x3f531f,_0x180abb){return _0x2fff9a(_0x125eb7-0x62,_0x1a85f2-0x55,_0x3f531f,_0x125eb7- -_0x31193f._0x1168a4);}_0x29db48[_0x283401(0x247,0x17c,_0x46d300._0x5a6c23,_0x46d300._0x5846a0)]=!![];}),_0x2ba419['child'][_0x2fff9a(_0x364541._0x4e9bcf,0x301,0x22c,0x3aa)](_0x2fff9a(0x3b0,_0x364541._0x3c14b8,0x313,0x444),(_0x55e567,_0x46a16c)=>{const _0x545480={_0x4f3969:0x185,_0x1212ea:0xd},_0x1fb010={_0x137a60:0x105};this['append'](_0x29db48,_0x29db48[_0x523a0d(0x547,0x529,_0x6a444d._0xd4ab48,0x445)][_0x481047(0x6b,-_0x6a444d._0x168634,-_0x6a444d._0x4ef32f,-0xcf)]());function _0x481047(_0x1773b3,_0xa08e90,_0x1a2d19,_0x511f97){return _0x2fff9a(_0x1773b3-_0x1fb010._0x137a60,_0xa08e90-0x3d,_0x1773b3,_0x511f97- -0x6b3);}this['append'](_0x29db48,_0x29db48[_0x481047(-0x41e,-0x406,-0x195,-0x2ed)]['end']()),_0x29db48['status']=_0x29db48[_0x481047(-0x1c5,-_0x6a444d._0x61d66,-_0x6a444d._0x407d9b,-_0x6a444d._0x402b40)]?_0x523a0d(_0x6a444d._0x341082,_0x6a444d._0x35d70a,0x4c0,_0x6a444d._0x454d41):_0x481047(-0x262,0x2c,-_0x6a444d._0x19700b,-_0x6a444d._0x19b165),_0x29db48['exitCode']=_0x55e567,_0x29db48['signal']=_0x46a16c;function _0x523a0d(_0x68d879,_0x11dc8c,_0x128d8d,_0x4c5668){return _0x2fff9a(_0x68d879-_0x545480._0x4f3969,_0x11dc8c-0x124,_0x11dc8c,_0x128d8d- -_0x545480._0x1212ea);}_0x29db48['child']=null;}),_0x2ba419['child'][_0x5b5d03(_0x364541._0x2865de,_0x364541._0x450246,_0x364541._0x5eff50,0x23c)]('error',_0x4dee08=>{function _0x95b13b(_0x5c580e,_0x2584f9,_0x59b0ed,_0x2de9b8){return _0x2fff9a(_0x5c580e-0x179,_0x2584f9-0xdd,_0x5c580e,_0x59b0ed- -0x6a4);}_0x29db48[_0x95b13b(-_0x4bd61d._0x4daec5,-_0x4bd61d._0x495477,-_0x4bd61d._0x4f1567,-_0x4bd61d._0x26add0)]=_0x95b13b(-0x25e,-0x95,-0x162,-_0x4bd61d._0x495477),_0x29db48['error']=_0x4dee08['message'];function _0x7c539e(_0x24a86a,_0x5abd7a,_0x319b88,_0xb22528){return _0x5b5d03(_0x24a86a,_0x5abd7a- -_0x35c6ac._0x4e9a05,_0x319b88-0x5f,_0xb22528-_0x35c6ac._0x15570c);}_0x29db48[_0x7c539e(-0x200,-0x96,-_0x4bd61d._0x35d7aa,-_0x4bd61d._0xdd6179)]=null;}),this[_0x5b5d03(0x23e,0x266,0x113,0x226)]['set'](_0x404ecd,_0x29db48);function _0x2fff9a(_0x343408,_0x3301b1,_0x31fda7,_0x2c8083){return _0x48c1e5(_0x2c8083-_0x526dd1._0xefb51c,_0x3301b1-0x165,_0x31fda7,_0x2c8083-_0x526dd1._0x49c7fe);}return this[_0x2fff9a(0x4b7,_0x364541._0x1a96ec,_0x364541._0xc3fc24,0x5f7)](),_0x29db48;}[_0x42cde8(0xd,-0x4f,-0x87,0x10)](_0x19c23c,_0x37b132){const _0x1f8ba8={_0x228d19:0x122,_0x41552e:0xae,_0x5cb744:0x26d,_0x4bab57:0x428,_0x308dc7:0x335,_0x3a2cd6:0x2fb,_0x3f980e:0xaf,_0x1e2a05:0x77,_0x254f5e:0x73,_0xdfbefb:0x12b,_0x53582b:0x38,_0x1d9761:0x184,_0x2cbcde:0x225,_0x585b99:0x12f,_0x17e7dc:0x1b1,_0x2475a4:0x55,_0x3ef3e6:0xa9,_0x202725:0xe8,_0xd8140a:0x161,_0xcea228:0x1a6,_0x34cf14:0x176,_0x429e54:0xdf,_0x8480e1:0x75,_0x195fc1:0x1df,_0x2c84a0:0x3b9,_0x1bbdce:0x12f,_0x41f1c6:0x15c,_0x9e9d55:0x186,_0x2db4a2:0x268,_0x39d25a:0x1a8,_0xdba78e:0xc3,_0x50f229:0x7c,_0xd10d6b:0x385,_0x26564d:0x27e,_0x46e9b0:0x380,_0x232062:0xfc},_0x3f5565={_0x76a303:0x1cc,_0x360985:0x121},_0x4b604e=this['entries'][_0x5f0cc1(0x159,_0x1f8ba8._0x228d19,_0x1f8ba8._0x41552e,0x199)](_0x19c23c);if(!_0x4b604e)throw new ToolExecutionError(_0x457652(0x3af,0x43f,_0x1f8ba8._0x5cb744,_0x1f8ba8._0x4bab57)+_0x19c23c,{'shellId':_0x19c23c});const _0x2caacb=_0x4b604e[_0x457652(_0x1f8ba8._0x308dc7,0x1c8,_0x1f8ba8._0x3a2cd6,0x468)][_0x5f0cc1(_0x1f8ba8._0x3f980e,-_0x1f8ba8._0x1e2a05,-_0x1f8ba8._0x254f5e,-_0x1f8ba8._0xdfbefb)](''),_0x567e4d=Math['max'](_0x4b604e['readCursor'],_0x4b604e['totalDropped']);function _0x5f0cc1(_0x2c471e,_0x2856aa,_0x2e35b7,_0x968564){return _0x48c1e5(_0x2e35b7- -0x3af,_0x2856aa-0x14,_0x968564,_0x968564-0x7b);}const _0x1cd0bb=Math['max'](0x0,_0x4b604e['totalDropped']-_0x4b604e['readCursor']),_0x2671b1=_0x2caacb['slice'](_0x567e4d-_0x4b604e['totalDropped']),_0x4899b7=_0x4b604e[_0x5f0cc1(-0x114,-0x1b3,-_0x1f8ba8._0x53582b,0x79)]!==_0x5f0cc1(-0x2e5,-0x249,-_0x1f8ba8._0x1d9761,-_0x1f8ba8._0x2cbcde);let _0x298068;const _0x48bd52=_0x37b132?.['regex'];if(!_0x48bd52)_0x298068=_0x2671b1,_0x4b604e[_0x457652(_0x1f8ba8._0x585b99,_0x1f8ba8._0x17e7dc,_0x1f8ba8._0x2475a4,0x46)]=_0x4b604e[_0x5f0cc1(-0x211,-_0x1f8ba8._0x3ef3e6,-_0x1f8ba8._0x202725,0x1b)];else{let _0xd9382b;try{_0xd9382b=new RegExp(_0x48bd52);}catch(_0x3e2cbe){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x3e2cbe['message'],{'shellId':_0x19c23c,'regex':_0x48bd52});}let _0x35384b=_0x2671b1;if(!_0x4899b7){const _0x145d32=_0x2671b1[_0x5f0cc1(-0xcd,-0x266,-_0x1f8ba8._0xd8140a,-0x2f)]('\x0a');_0x35384b=_0x145d32>=0x0?_0x2671b1[_0x5f0cc1(-_0x1f8ba8._0xcea228,-_0x1f8ba8._0x34cf14,-_0x1f8ba8._0x429e54,-_0x1f8ba8._0x8480e1)](0x0,_0x145d32+0x1):'';}_0x298068=_0x35384b['split']('\x0a')[_0x5f0cc1(_0x1f8ba8._0x195fc1,0x1ea,0xa0,0x62)](_0x5b15b4=>_0xd9382b[_0x457652(0x268,0x31e,0x148,0x3d1)](_0x5b15b4))[_0x457652(0x23d,0x140,0x1ba,_0x1f8ba8._0x2c84a0)]('\x0a'),_0x4b604e[_0x457652(_0x1f8ba8._0x1bbdce,0xd1,_0x1f8ba8._0x41f1c6,0x1df)]=_0x567e4d+_0x35384b[_0x457652(0x11e,_0x1f8ba8._0x9e9d55,0x111,_0x1f8ba8._0x2db4a2)];}const _0x8eb0fd=(_0x1cd0bb>0x0?'[output\x20truncated:\x20'+_0x1cd0bb+_0x5f0cc1(-0x24,-_0x1f8ba8._0x39d25a,-_0x1f8ba8._0xdba78e,_0x1f8ba8._0x50f229):'')+_0x298068;function _0x457652(_0x399593,_0x5ace56,_0xbc3e65,_0x2b8a57){return _0x42cde8(_0x399593-0x186,_0x399593-_0x3f5565._0x76a303,_0xbc3e65-_0x3f5565._0x360985,_0xbc3e65);}return{'output':_0x8eb0fd,'status':_0x4b604e['status'],'exitCode':_0x4b604e[_0x457652(0x368,_0x1f8ba8._0xd10d6b,_0x1f8ba8._0x26564d,_0x1f8ba8._0x46e9b0)],'signal':_0x4b604e[_0x457652(_0x1f8ba8._0x232062,0x249,0x35,0x5f)],'truncated':_0x1cd0bb>0x0};}['list'](){const _0x2e0188={_0xa88fc8:0x20a,_0x47c05d:0xab,_0x378a43:0x25b,_0xa886d4:0x5db,_0x2eb363:0x5b1,_0x2496d3:0x4d7,_0x2f6d98:0x508},_0x17549c={_0x51b7db:0x183,_0x1e1346:0x1c8},_0x158650={_0x290e35:0x2f0};function _0x303cc8(_0x52153c,_0x42e77c,_0x2f0909,_0x715bc0){return _0x42cde8(_0x52153c-0x145,_0x52153c-_0x158650._0x290e35,_0x2f0909-0xbf,_0x2f0909);}function _0xb0a18a(_0x22cab8,_0x259f33,_0x5e8870,_0x2a7283){return _0x48c1e5(_0x5e8870-0x7d,_0x259f33-_0x17549c._0x51b7db,_0x22cab8,_0x2a7283-_0x17549c._0x1e1346);}return[...this[_0x303cc8(_0x2e0188._0xa88fc8,0x168,_0x2e0188._0x47c05d,_0x2e0188._0x378a43)][_0xb0a18a(_0x2e0188._0xa886d4,_0x2e0188._0x2eb363,_0x2e0188._0x2496d3,_0x2e0188._0x2f6d98)]()];}[_0x42cde8(-0x9e,0x97,-0x57,0x139)](_0x2e9e6f){const _0xfa9084={_0x4020e7:0x25a,_0x5eeb86:0x25,_0x2c1dbe:0x6e9,_0x4da8ee:0x7f5,_0x5f04cd:0x6a,_0x5c796a:0xcf,_0xf75c39:0x129,_0x4e6986:0x5e3,_0x533895:0x5a3,_0x5c8f3a:0x57f,_0x39109d:0x2f3,_0x5d63bf:0xe1,_0x556037:0x69,_0x36dc70:0x6e,_0x320fb9:0x5b,_0x148709:0x14,_0x23c9bc:0x132,_0xc67ede:0x58e,_0x4451c3:0x60d,_0x3a0c2e:0x64e,_0x44f6fb:0x405,_0x3ba287:0x637,_0x58b0e3:0x550,_0x4a8d5e:0x6bd,_0x3000c1:0x142,_0xd6c51e:0xe},_0x433039={_0x328d12:0x14c},_0x4224d5={_0xd68e9c:0x5f,_0x3a9eed:0x9a},_0x4dae75=this[_0x140fc5(-_0xfa9084._0x4020e7,-_0xfa9084._0x5eeb86,-0x81,-0x1a0)][_0x569aa9(_0xfa9084._0x2c1dbe,0x6f4,0x689,_0xfa9084._0x4da8ee)](_0x2e9e6f);if(!_0x4dae75)throw new ToolExecutionError(_0x140fc5(0x193,_0xfa9084._0x5f04cd,_0xfa9084._0x5c796a,_0xfa9084._0xf75c39)+_0x2e9e6f,{'shellId':_0x2e9e6f});function _0x569aa9(_0x301aa9,_0x2f57dc,_0x28e0f3,_0x294d45){return _0x42cde8(_0x301aa9-_0x4224d5._0xd68e9c,_0x28e0f3-0x4f7,_0x28e0f3-_0x4224d5._0x3a9eed,_0x301aa9);}function _0x140fc5(_0x2818db,_0x2e4f05,_0x278e52,_0x4e33bc){return _0x42cde8(_0x2818db-0x146,_0x4e33bc- -0xba,_0x278e52-_0x433039._0x328d12,_0x278e52);}if(_0x4dae75[_0x569aa9(_0xfa9084._0x4e6986,0x4f2,_0xfa9084._0x533895,_0xfa9084._0x5c8f3a)]===_0x569aa9(0x467,0x5ac,0x457,_0xfa9084._0x39109d)&&_0x4dae75[_0x140fc5(-_0xfa9084._0x5d63bf,-0x88,0x99,-_0xfa9084._0x556037)]&&!_0x4dae75['processExited']){_0x4dae75[_0x140fc5(-_0xfa9084._0x36dc70,-0x3,_0xfa9084._0x320fb9,_0xfa9084._0x148709)]=!![];try{killProcessGroup(_0x4dae75[_0x140fc5(-0x63,-_0xfa9084._0x23c9bc,-0xa4,-_0xfa9084._0x556037)],process[_0x569aa9(_0xfa9084._0xc67ede,_0xfa9084._0x4451c3,0x6ae,_0xfa9084._0x3a0c2e)]===_0x569aa9(_0xfa9084._0x44f6fb,_0xfa9084._0x3ba287,_0xfa9084._0x58b0e3,_0xfa9084._0x4a8d5e));}catch{}}return{'status':_0x4dae75[_0x140fc5(_0xfa9084._0x3000c1,-0xc3,-0x5e,-_0xfa9084._0xd6c51e)],'exitCode':_0x4dae75[_0x569aa9(0x75e,0x70d,0x693,0x7f0)],'signal':_0x4dae75['signal']};}async[_0x48c1e5(0x2c8,0x2b5,0x1c7,0x239)](){const _0x4419b9={_0x5ea434:0x72a,_0x13d023:0x6a9,_0x57bfca:0x53f,_0x45fdb8:0x112,_0x4aacb9:0x252,_0xc2e1d5:0xf4,_0x2a7d1a:0x72,_0x51eb21:0x99,_0x3daac1:0x319,_0x2c245a:0x216,_0x379ac1:0x1ff,_0x32f6cd:0xa1},_0x3f30df={_0x4f0af4:0x6c};function _0x467128(_0x2e7435,_0x5c3de1,_0x23ad66,_0x545081){return _0x42cde8(_0x2e7435-0xbf,_0x545081-0x48,_0x23ad66-0x1aa,_0x5c3de1);}function _0x34cf80(_0xe8ec10,_0x4f230f,_0x22522c,_0x5eabb8){return _0x42cde8(_0xe8ec10-0x1b1,_0xe8ec10-0x519,_0x22522c-_0x3f30df._0x4f0af4,_0x5eabb8);}for(const _0x2c2377 of this[_0x34cf80(0x433,0x4f6,0x573,0x3a0)][_0x34cf80(0x6a8,_0x4419b9._0x5ea434,_0x4419b9._0x13d023,_0x4419b9._0x57bfca)]()){if(_0x2c2377[_0x467128(_0x4419b9._0x45fdb8,0x1de,_0x4419b9._0x4aacb9,_0x4419b9._0xc2e1d5)]==='running'&&_0x2c2377['child']&&!_0x2c2377['processExited']){_0x2c2377['killRequested']=!![];try{killProcessGroup(_0x2c2377[_0x467128(_0x4419b9._0x2a7d1a,-0xe,0xc7,_0x4419b9._0x51eb21)],process[_0x467128(_0x4419b9._0x3daac1,_0x4419b9._0x2c245a,0x32c,_0x4419b9._0x379ac1)]===_0x467128(0x24,0x1e3,0x19d,_0x4419b9._0x32f6cd));}catch{}}}}[_0x48c1e5(0x375,0x36e,0x346,0x288)](_0x3cfbc7,_0x231a20){const _0x2e400f={_0x799058:0x207,_0xd30ba3:0xc,_0x409fc2:0x15d,_0x41e66c:0xad,_0x545fb5:0x1a6,_0x481565:0x3cc,_0x25d6bf:0x4de,_0x12e422:0x569,_0x1f60b7:0x361,_0x57f9be:0x309,_0x3542a2:0xd8,_0x5367e9:0x6c5,_0x51e807:0x581,_0x30687f:0x41,_0x14ed2a:0xc3,_0x45c83f:0x790,_0x3b9456:0x519,_0x5d3001:0x661,_0x4a2b3a:0x61d,_0x482bc9:0x5d2,_0x230df7:0x746,_0xcb4198:0x69f,_0x59c08e:0x393,_0x15fbd9:0x366,_0x674830:0xe5,_0x34d87f:0x17d,_0x5e39af:0x71,_0x4088ff:0xfa,_0x2c1f69:0x50e,_0xf80a9:0x6c7,_0x52b9ce:0x363,_0x34116d:0x20a},_0xc55cc6={_0x4e155f:0x1bb},_0x3fa69c=_0x3cfbc7[_0x47bcb7(-_0x2e400f._0x799058,-_0x2e400f._0xd30ba3,-0xb9,-_0x2e400f._0x409fc2)]?stripAnsiAndControls(_0x231a20):_0x231a20;function _0x4f8e26(_0x44aa32,_0x2e85a2,_0x397cba,_0x2cd9f0){return _0x42cde8(_0x44aa32-_0xc55cc6._0x4e155f,_0x2e85a2-0x4f8,_0x397cba-0x19c,_0x397cba);}function _0x47bcb7(_0x16b696,_0x458871,_0x499dfb,_0x252561){return _0x42cde8(_0x16b696-0x1d1,_0x499dfb-0x3d,_0x499dfb-0x3d,_0x458871);}if(_0x3fa69c['length']===0x0)return;_0x3cfbc7[_0x47bcb7(_0x2e400f._0x41e66c,0x2a5,_0x2e400f._0x545fb5,0x4a)][_0x4f8e26(_0x2e400f._0x481565,_0x2e400f._0x25d6bf,0x3b0,_0x2e400f._0x12e422)](_0x3fa69c),_0x3cfbc7[_0x47bcb7(0x9d,_0x2e400f._0x1f60b7,0x20a,0xbb)]+=_0x3fa69c[_0x4f8e26(_0x2e400f._0x57f9be,0x44a,0x3e6,0x35d)],_0x3cfbc7['totalProduced']+=_0x3fa69c[_0x47bcb7(_0x2e400f._0x3542a2,-0x26,-0x71,-0xac)];while(_0x3cfbc7[_0x4f8e26(0x767,_0x2e400f._0x5367e9,0x5cf,_0x2e400f._0x51e807)]>this[_0x47bcb7(0x17c,-_0x2e400f._0x30687f,0x29,0x1f)]){const _0x1dd914=_0x3cfbc7[_0x47bcb7(0x2ed,0x315,0x20a,_0x2e400f._0x14ed2a)]-this['capChars'],_0x2254db=_0x3cfbc7[_0x4f8e26(_0x2e400f._0x45c83f,0x661,0x57f,0x6f5)][0x0];_0x2254db[_0x4f8e26(0x39e,0x44a,0x4c3,_0x2e400f._0x3b9456)]<=_0x1dd914?(_0x3cfbc7[_0x4f8e26(0x6ae,_0x2e400f._0x5d3001,0x609,_0x2e400f._0x4a2b3a)][_0x4f8e26(_0x2e400f._0x482bc9,0x609,0x649,_0x2e400f._0x230df7)](),_0x3cfbc7[_0x4f8e26(0x564,_0x2e400f._0x5367e9,_0x2e400f._0xcb4198,0x5b7)]-=_0x2254db[_0x4f8e26(0x46f,0x44a,_0x2e400f._0x59c08e,_0x2e400f._0x15fbd9)],_0x3cfbc7[_0x47bcb7(0x1a,-0x3e,0xd8,-0x24)]+=_0x2254db[_0x47bcb7(_0x2e400f._0x674830,-_0x2e400f._0x34d87f,-_0x2e400f._0x5e39af,_0x2e400f._0x4088ff)]):(_0x3cfbc7[_0x4f8e26(_0x2e400f._0x2c1f69,_0x2e400f._0x5d3001,_0x2e400f._0xf80a9,0x4ef)][0x0]=_0x2254db['slice'](_0x1dd914),_0x3cfbc7[_0x47bcb7(0x2c8,_0x2e400f._0x52b9ce,_0x2e400f._0x34116d,0x37b)]-=_0x1dd914,_0x3cfbc7['totalDropped']+=_0x1dd914);}}[_0x42cde8(0x274,0x16d,0x6d,0xdd)](){const _0x4097e1={_0x333c64:0x34a,_0x4f7ba1:0x485,_0x4bc7a3:0x27b,_0x32aa3d:0x6e0,_0x13d35e:0x494,_0x2bf40b:0x5ea,_0x15e335:0x3a3,_0x15478d:0x68f,_0x2ed6cf:0x65e,_0x37425d:0x527,_0x5d36d4:0x5e7,_0x11e961:0x2aa,_0x335a02:0x3db,_0x3be1c7:0x52e,_0x4724d4:0x395,_0x5b6832:0x331,_0xfcb26b:0x257,_0x3ea1e3:0x3a5,_0x2bdbc7:0x38e},_0x1b7c59={_0x21ddf4:0x1b0,_0x275062:0x93,_0x28e2a5:0x88},_0x58856f={_0x5766c9:0x1e5};if(this[_0x14d7b0(0x2bc,0x353,0x3f9,0x18b)][_0x14d7b0(_0x4097e1._0x333c64,0x46f,_0x4097e1._0x4f7ba1,_0x4097e1._0x4bc7a3)]<=this[_0x14d7b0(0x56b,_0x4097e1._0x32aa3d,_0x4097e1._0x13d35e,_0x4097e1._0x2bf40b)])return;function _0x14d7b0(_0x27f115,_0x4fe143,_0x35dfd4,_0x373b7b){return _0x48c1e5(_0x27f115-0xd7,_0x4fe143-_0x58856f._0x5766c9,_0x35dfd4,_0x373b7b-0x29);}function _0x53d97d(_0x384436,_0x525fd1,_0xce4b0d,_0x4afb42){return _0x48c1e5(_0xce4b0d-_0x1b7c59._0x21ddf4,_0x525fd1-_0x1b7c59._0x275062,_0x384436,_0x4afb42-_0x1b7c59._0x28e2a5);}for(const [_0x52d49f,_0x5a61ad]of this[_0x14d7b0(0x2bc,_0x4097e1._0x15e335,0x1ef,0x23e)]){if(_0x5a61ad[_0x53d97d(_0x4097e1._0x15478d,_0x4097e1._0x2ed6cf,_0x4097e1._0x37425d,_0x4097e1._0x5d36d4)]!==_0x53d97d(0x410,_0x4097e1._0x11e961,_0x4097e1._0x335a02,_0x4097e1._0x3be1c7)){this[_0x53d97d(0x454,0x27b,_0x4097e1._0x4724d4,_0x4097e1._0x5b6832)][_0x53d97d(_0x4097e1._0xfcb26b,_0x4097e1._0x3ea1e3,0x37c,_0x4097e1._0x2bdbc7)](_0x52d49f);return;}}}};function createBashOutputTool(_0x47f2f8){const _0x3df166={_0xd16b23:0x654,_0x298f26:0x689,_0x3f3109:0x62d,_0xa3d559:0x26,_0x39032d:0x169,_0x4849eb:0x62a,_0xb96012:0x651,_0x10b653:0x6bd,_0x5ddeb:0x7bb},_0xda8798={_0x291f44:0x14d,_0x1a02d3:0x1a6,_0x49f1ba:0x173,_0x1fc1b4:0x4f1,_0x4759d5:0x55f,_0x2ed974:0x64,_0x129f36:0x2e,_0x38abb4:0x19e,_0x5d2779:0xcb,_0x5c531d:0x396,_0x5aa246:0x336,_0x5acf42:0x36e},_0x1fe590={_0x440481:0x64,_0x3092d3:0x68f,_0x4be4b3:0x12a},_0x5193b3={_0x3423ce:0x34,_0x2ce5a7:0x299},_0x352ac8={_0x1655ac:0x70,_0x1ee896:0x507,_0x164e3b:0x4};function _0x10424f(_0x2ee92c,_0xf16b8,_0x235484,_0xf889bd){return _0x42cde8(_0x2ee92c-_0x352ac8._0x1655ac,_0xf16b8-_0x352ac8._0x1ee896,_0x235484-_0x352ac8._0x164e3b,_0x235484);}function _0x5a8900(_0x199f84,_0x5b244e,_0x45d3c8,_0x1a7291){return _0x42cde8(_0x199f84-0x122,_0x45d3c8-0x12,_0x45d3c8-0xcd,_0x5b244e);}const {registry:_0x5da9a0}=_0x47f2f8;return defineTool({'name':_0x10424f(_0x3df166._0xd16b23,0x5ed,_0x3df166._0x298f26,0x50e),'description':_0x10424f(0x5c5,0x68a,0x5ec,_0x3df166._0x3f3109),'inputSchema':{'type':_0x10424f(0x62e,0x555,0x553,0x59b),'properties':{'shellId':{'type':_0x5a8900(0x1b2,_0x3df166._0xa3d559,_0x3df166._0x39032d,0x2c6)},'regex':{'type':_0x10424f(0x50d,0x65e,_0x3df166._0x4849eb,0x538)}},'required':[_0x10424f(_0x3df166._0xb96012,_0x3df166._0x10b653,_0x3df166._0x5ddeb,0x70b)]},async *'execute'(_0x13c915){function _0x3496b1(_0x7edb1b,_0x40dd79,_0x57facd,_0x10a163){return _0x10424f(_0x7edb1b-_0x5193b3._0x3423ce,_0x40dd79- -_0x5193b3._0x2ce5a7,_0x57facd,_0x10a163-0x1c5);}function _0x4ef626(_0x48f759,_0x422113,_0x38b2a1,_0x2657ff){return _0x10424f(_0x48f759-_0x1fe590._0x440481,_0x422113- -_0x1fe590._0x3092d3,_0x2657ff,_0x2657ff-_0x1fe590._0x4be4b3);}const _0x21ba40=_0x5da9a0[_0x4ef626(-_0xda8798._0x291f44,-0x1d7,-0x92,-_0xda8798._0x1a02d3)](_0x13c915['shellId'],_0x13c915['regex']?{'regex':_0x13c915[_0x4ef626(-0x6d,-0x81,-_0xda8798._0x49f1ba,-0x5)]}:void 0x0);return createToolOutput(_0x21ba40[_0x3496b1(_0xda8798._0x1fc1b4,0x422,0x4b9,_0xda8798._0x4759d5)],{'shellId':_0x13c915[_0x4ef626(_0xda8798._0x2ed974,_0xda8798._0x129f36,_0xda8798._0x38abb4,-_0xda8798._0x5d2779)],'status':_0x21ba40[_0x3496b1(_0xda8798._0x5c531d,0x31a,_0xda8798._0x5aa246,0x38b)],'exitCode':_0x21ba40['exitCode'],'signal':_0x21ba40['signal'],'truncated':_0x21ba40[_0x3496b1(_0xda8798._0x5acf42,0x396,0x272,0x24b)]});}});}import{spawn as _0x14da27}from'child_process';import{statSync}from'fs';import*as _0x20ec71 from'os';import*as _0x2cf08d from'path';import{StringDecoder as _0x37b053}from'string_decoder';import{stat}from'fs/promises';import*as _0x3c485e from'path';function isPathInside(_0x3d7b42,_0x188f5d){const _0x236224={_0x4377b2:0x224,_0x137928:0x24c,_0x1179e1:0x172,_0x2d3cfb:0xd2,_0x1f729e:0x555,_0x5262fa:0x675,_0x30cc67:0x277,_0x550efe:0x1fe,_0x4e62b8:0x301},_0x4f0949={_0x58cb36:0x10b},_0x37aec8={_0x43a751:0x2b6,_0x19e0ed:0x99};function _0x5ea1f9(_0x1c0c85,_0x408381,_0x3bdcd7,_0x1072ca){return _0x48c1e5(_0x1c0c85-_0x37aec8._0x43a751,_0x408381-0x48,_0x408381,_0x1072ca-_0x37aec8._0x19e0ed);}const _0x403d33=_0x3c485e['resolve'](_0x3d7b42);function _0x4333c4(_0x2aac00,_0x15367e,_0x323c6f,_0x112534){return _0x48c1e5(_0x15367e- -0xf6,_0x15367e-0x28,_0x323c6f,_0x112534-_0x4f0949._0x58cb36);}const _0x2fa1da=_0x3c485e[_0x4333c4(_0x236224._0x4377b2,_0x236224._0x137928,_0x236224._0x1179e1,_0x236224._0x2d3cfb)](_0x403d33,_0x188f5d);return _0x2fa1da===''||!_0x2fa1da[_0x5ea1f9(0x50f,0x636,_0x236224._0x1f729e,_0x236224._0x5262fa)]('..')&&!_0x3c485e[_0x4333c4(_0x236224._0x30cc67,0x230,_0x236224._0x550efe,_0x236224._0x4e62b8)](_0x2fa1da);}function resolveWorkspacePath(_0x21c714,_0xa0fc94){return resolveAllowedPath(_0x21c714,[],_0xa0fc94);}function resolveAllowedPath(_0x5f2835,_0x4addd9,_0x42b9f0){const _0x3211a9={_0x1291bc:0x30b,_0x128d12:0x395,_0x322068:0xd6,_0x11541f:0xd1,_0x5e1670:0x20,_0x586df7:0xf},_0x1b2f79={_0x1ef0ca:0xf8,_0x2b25e6:0xf0},_0x49fcf8=_0x3c485e[_0x80c04a(_0x3211a9._0x1291bc,0x2df,_0x3211a9._0x128d12,0x4a7)](_0x5f2835),_0x229736=_0x3c485e[_0x41b2b4(-_0x3211a9._0x322068,-_0x3211a9._0x11541f,0x49,0x7)](_0x49fcf8,_0x42b9f0);function _0x41b2b4(_0x2a4f6d,_0x5aef35,_0x1e54d1,_0x38f143){return _0x48c1e5(_0x2a4f6d- -0x45b,_0x5aef35-0xff,_0x38f143,_0x38f143-0xf6);}const _0x5cf806=[_0x49fcf8,..._0x4addd9['map'](_0x2e06b0=>_0x3c485e[_0x41b2b4(-0xd6,0x5d,-0x93,0x95)](_0x2e06b0))];if(_0x5cf806[_0x41b2b4(0x4d,0x13b,0x71,0x3e)](_0xbc7313=>isPathInside(_0xbc7313,_0x229736)))return _0x229736;function _0x80c04a(_0x1cf21d,_0x473719,_0x502e1b,_0x411c7e){return _0x42cde8(_0x1cf21d-_0x1b2f79._0x1ef0ca,_0x502e1b-0x2db,_0x502e1b-_0x1b2f79._0x2b25e6,_0x411c7e);}throw new ToolExecutionError(_0x41b2b4(0x5a,-_0x3211a9._0x5e1670,_0x3211a9._0x586df7,0x63)+_0x42b9f0,{'path':_0x42b9f0,'rootDir':_0x49fcf8,'allowedDirs':_0x5cf806});}async function assertWorkspaceFile(_0x253668){const _0x2069fd={_0x15beb6:0x1b1},_0x254d1e={_0x3dfe7d:0x119},_0x52be10=await stat(_0x253668);function _0x1e01fd(_0x54967c,_0x366c2e,_0x594e3a,_0x332a24){return _0x48c1e5(_0x332a24-_0x254d1e._0x3dfe7d,_0x366c2e-0x14d,_0x366c2e,_0x332a24-0x55);}if(!_0x52be10[_0x1e01fd(_0x2069fd._0x15beb6,0x2a9,0x441,0x2f8)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x253668,{'path':_0x253668});}function isProbablyBinary(_0x57282f){const _0x19c3c2={_0x3e9931:0x156,_0x3e2269:0x2c5,_0xf81d1f:0x1ec},_0x3d0cb4={_0x5dcefb:0x1c8};function _0x5e2c60(_0x377ffe,_0x4624c5,_0xdc5d25,_0x4c664b){return _0x48c1e5(_0x377ffe- -_0x3d0cb4._0x5dcefb,_0x4624c5-0xa9,_0x4c664b,_0x4c664b-0x128);}return _0x57282f[_0x5e2c60(_0x19c3c2._0x3e9931,_0x19c3c2._0x3e2269,0xf7,_0x19c3c2._0xf81d1f)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x48c1e5(0x263,0x397,0x2d6,0x1b5)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x456da4,_0xa87d0b){const _0x2e769e={_0x26811d:0x82,_0x493841:0x1b0,_0x11560c:0x120,_0x143c74:0x292,_0x3700e6:0x289,_0x29b052:0x1b7,_0x24e71e:0x16a,_0x258ead:0xba,_0x536809:0xfb,_0xd9f42c:0x1de,_0x2128ab:0x123,_0x3dc82d:0x23b,_0x54fb68:0x6a},_0xe333bb={_0xdd9b14:0xe,_0x41ee43:0x239,_0x3ffcb4:0x1dd},_0x35d5e7={_0x3e490d:0x159,_0x51d365:0xc},_0x412841={...process[_0x4af41c(-0xb2,0xa8,-0x1fe,-0x18f)],..._0x456da4??{}};if(_0xa87d0b[_0x4af41c(-_0x2e769e._0x26811d,-0x160,-_0x2e769e._0x493841,-_0x2e769e._0x11560c)]===0x0)return _0x412841;function _0x4af41c(_0x1378b5,_0x5bb5c0,_0x41962d,_0x3f7ff1){return _0x48c1e5(_0x1378b5- -0x29f,_0x5bb5c0-_0x35d5e7._0x3e490d,_0x3f7ff1,_0x3f7ff1-_0x35d5e7._0x51d365);}if(_0x20ec71[_0x4af41c(0x1e3,0x24c,_0x2e769e._0x143c74,_0x2e769e._0x3700e6)]()==='win32'){const _0xb8b52=new Set(_0xa87d0b['map'](_0x553dc2=>_0x553dc2[_0x4af41c(0x161,0x33,0x132,-0xf)]()));for(const _0x32dd8f of Object[_0x1ec428(-_0x2e769e._0x29b052,-_0x2e769e._0x24e71e,-_0x2e769e._0x258ead,-_0x2e769e._0x536809)](_0x412841)){if(_0xb8b52[_0x4af41c(_0x2e769e._0xd9f42c,_0x2e769e._0x2128ab,_0x2e769e._0x3dc82d,_0x2e769e._0x54fb68)](_0x32dd8f[_0x1ec428(-0x1ba,-0x12a,0x71,-0x104)]()))delete _0x412841[_0x32dd8f];}}else{for(const _0x1c5e68 of _0xa87d0b)delete _0x412841[_0x1c5e68];}function _0x1ec428(_0x392754,_0x2d84b1,_0x41e57b,_0x16924a){return _0x42cde8(_0x392754-_0xe333bb._0xdd9b14,_0x16924a- -_0xe333bb._0x41ee43,_0x41e57b-_0xe333bb._0x3ffcb4,_0x392754);}return _0x412841;}function mapSpawnError(_0x245985,_0x77f751){const _0x4ce9bc={_0x5f18b:0x4b,_0x2b69e1:0xf8,_0x4fcb83:0x149,_0x16fdee:0x1eb,_0x27b573:0x4b4,_0x45a062:0x29a},_0x25a958={_0x9661e6:0x11e,_0x3f871d:0x1e4,_0x284be2:0x139},_0xb1308f={_0x5d3295:0x1f4,_0x21f90a:0x1b4};if(isErrnoException(_0x245985)&&_0x245985[_0x2d2b04(0x2a1,0x242,0x1ce,0x40e)]===_0x2d2b04(_0x4ce9bc._0x5f18b,0x8,-_0x4ce9bc._0x2b69e1,_0x4ce9bc._0x4fcb83))return new ToolExecutionError(_0x321b0d(0x35f,_0x4ce9bc._0x16fdee,_0x4ce9bc._0x27b573,_0x4ce9bc._0x45a062)+_0x77f751['shellPath'],_0x77f751);function _0x2d2b04(_0x165bdc,_0x5ef5a1,_0x3e82f0,_0x434dea){return _0x48c1e5(_0x165bdc- -_0xb1308f._0x5d3295,_0x5ef5a1-_0xb1308f._0x21f90a,_0x5ef5a1,_0x434dea-0x1c0);}function _0x321b0d(_0xb84e68,_0x106a51,_0x5df111,_0x24f0e1){return _0x48c1e5(_0xb84e68-_0x25a958._0x9661e6,_0x106a51-_0x25a958._0x3f871d,_0x24f0e1,_0x24f0e1-_0x25a958._0x284be2);}return new ToolExecutionError(_0x245985 instanceof Error?_0x245985['message']:String(_0x245985),_0x77f751);}function shellExists(_0x2417c4){const _0x5f37f1={_0x520a2a:0x12f},_0x11355d={_0x3f42ff:0x9a,_0x58af5e:0xd9};function _0x1a8de5(_0x45b38c,_0x1fbc69,_0x55c1df,_0x3fbf59){return _0x48c1e5(_0x1fbc69- -0x165,_0x1fbc69-_0x11355d._0x3f42ff,_0x3fbf59,_0x3fbf59-_0x11355d._0x58af5e);}try{const _0x14b813=statSync(_0x2417c4);return _0x14b813['isFile']()&&(_0x14b813[_0x1a8de5(0x12e,0x151,0x289,_0x5f37f1._0x520a2a)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3ff76b){const _0x3c8729={_0x3d4c2c:0xe6,_0x596c5e:0x2ff,_0x1b4118:0x24f,_0x5c2305:0x10b,_0x27cca0:0x12c,_0x2c9a0c:0x69,_0x18af68:0x34,_0x4bb7f7:0x162,_0x2e3e9b:0x2b,_0x4045ff:0x1ab,_0xbc47ec:0x240,_0x5cf1d6:0x1cd,_0x23b847:0x238,_0x2a6a68:0x1bb,_0x556f64:0x24e,_0x545ab0:0x180,_0x372427:0x21d,_0x3bcd8a:0x14b,_0x209723:0x147,_0x4555e8:0x15},_0x4344c7={_0x4252fa:0x13f};if(_0x3ff76b)return _0x3ff76b;if(_0x20ec71['platform']()===_0x58f642(-0x179,-0x3a,-0x136,-_0x3c8729._0x3d4c2c))return process[_0x58f642(-_0x3c8729._0x596c5e,-0x164,-_0x3c8729._0x1b4118,-0x21d)][_0x58f642(-_0x3c8729._0x5c2305,_0x3c8729._0x27cca0,_0x3c8729._0x2c9a0c,-_0x3c8729._0x18af68)]||'cmd.exe';const _0x5d59c8=[_0x58f642(_0x3c8729._0x4bb7f7,-_0x3c8729._0x2e3e9b,-0x105,0x15),_0x58f642(-_0x3c8729._0x4045ff,-0x27c,-0x37a,-_0x3c8729._0xbc47ec),_0x414664(0xe2,_0x3c8729._0x5cf1d6,-0x74,0xda),_0x58f642(-0x24d,-0x216,-_0x3c8729._0x23b847,-_0x3c8729._0x2a6a68)];function _0x414664(_0x2230c8,_0x3d2e44,_0x1063e1,_0x4ecf49){return _0x48c1e5(_0x2230c8- -0x224,_0x3d2e44-0xb2,_0x3d2e44,_0x4ecf49-0x1e0);}for(const _0x1e0efb of _0x5d59c8){if(shellExists(_0x1e0efb))return _0x1e0efb;}const _0x3aac51=process[_0x58f642(-0x104,-_0x3c8729._0x556f64,-_0x3c8729._0x545ab0,-_0x3c8729._0x372427)][_0x58f642(-0x2a0,-0x357,-_0x3c8729._0x3bcd8a,-0x20c)];function _0x58f642(_0x28d1fc,_0x29d47d,_0x1e4b81,_0x448e0f){return _0x42cde8(_0x28d1fc-0x16c,_0x448e0f- -_0x4344c7._0x4252fa,_0x1e4b81-0xe7,_0x1e4b81);}if(_0x3aac51&&shellExists(_0x3aac51))return _0x3aac51;return _0x58f642(_0x3c8729._0x209723,0x2a,0x3b,_0x3c8729._0x4555e8);}function buildShellArgs(_0x21a550,_0x24a312){const _0x184007={_0x1a7eb:0x26d,_0x50f1e0:0x231,_0x49e150:0x21f},_0x959ba2={_0x38a79b:0x1e},_0x2d7af0={_0x6781c9:0x116};function _0x1c7d71(_0x5e6dd3,_0x368d6a,_0x3880d3,_0x251cbb){return _0x42cde8(_0x5e6dd3-_0x2d7af0._0x6781c9,_0x251cbb-0x214,_0x3880d3-0xab,_0x5e6dd3);}if(_0x20ec71['platform']()===_0x1c7d71(0x354,0x1cc,0x368,_0x184007._0x1a7eb)){const _0x441bda=/cmd(\.exe)?$/i[_0x1c7d71(0x42b,0x180,_0x184007._0x50f1e0,0x2b0)](_0x24a312);return _0x441bda?['/d','/s','/c',_0x21a550]:[_0x1c7d71(0x2d8,0x127,0x260,_0x184007._0x49e150),_0x37c92a(0x39c,0x451,0x411,0x4d3),'-Command',_0x21a550];}function _0x37c92a(_0x8f6e41,_0x2156a,_0x47cc27,_0x5eabca){return _0x48c1e5(_0x47cc27-0x32,_0x2156a-_0x959ba2._0x38a79b,_0x2156a,_0x5eabca-0x1db);}return['-c',_0x21a550];}function resolveWorkingDirectory(_0x57df30,_0x31ff95,_0x35ca22){const _0x18632c={_0x1c1df1:0x391,_0x1f82df:0x483,_0x363371:0x93,_0x391c72:0x1b5},_0x3b0245={_0x56f940:0x10d},_0x3a7c3b={_0x18b511:0x433},_0x45caf3=resolveAllowedPath(_0x31ff95,_0x35ca22,_0x57df30??'.');function _0x14e7a2(_0x46affb,_0x31ce5b,_0x1226d7,_0xdad1f5){return _0x42cde8(_0x46affb-0x16d,_0x1226d7-_0x3a7c3b._0x18b511,_0x1226d7-0xad,_0xdad1f5);}function _0x298baa(_0x25a6a1,_0x210dbd,_0x37f057,_0xed87d4){return _0x42cde8(_0x25a6a1-_0x3b0245._0x56f940,_0x37f057- -0x1f2,_0x37f057-0x165,_0xed87d4);}try{const _0x9e3ee4=statSync(_0x45caf3);if(!_0x9e3ee4[_0x14e7a2(0x1e7,_0x18632c._0x1c1df1,0x33b,_0x18632c._0x1f82df)]())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x45caf3,{'cwd':_0x45caf3});return _0x45caf3;}catch(_0x4698dd){if(_0x4698dd instanceof ToolExecutionError)throw _0x4698dd;throw new ToolExecutionError(_0x298baa(-0x1da,-_0x18632c._0x363371,-0xf4,-_0x18632c._0x391c72)+_0x45caf3,{'cwd':_0x45caf3});}}function appendChunk(_0x126af2,_0x976749,_0x40fcee,_0x4217f5,_0x4bf3af){const _0x30119b={_0x431ae2:0x13e,_0x4f1c28:0x19d},_0x14fe53=_0x4217f5?stripAnsiAndControls(_0x40fcee):_0x40fcee;if(_0x14fe53[_0x1a3537(-0xcc,-0x243,-_0x30119b._0x431ae2,-_0x30119b._0x4f1c28)]===0x0)return;_0x126af2['push'](_0x14fe53);function _0x1a3537(_0x1030e1,_0x438bef,_0x505148,_0xbacb63){return _0x48c1e5(_0x1030e1- -0x2e9,_0x438bef-0xf9,_0x438bef,_0xbacb63-0x13);}_0x976749['push'](_0x14fe53),_0x4bf3af();}function createBashTool(_0x18528c={}){const _0x286760={_0x3713fe:0x12e,_0x2bd040:0x1e8,_0x3de510:0x46,_0x30a8b6:0x297,_0x109457:0x1b5,_0x293e96:0xe6,_0x3115e6:0x38,_0x2eb694:0x29,_0x1e3312:0x1e0,_0x3c108a:0x41c,_0x270585:0x68e,_0xe5d9d0:0x115,_0x27e446:0xed,_0x13646c:0xb5,_0x2690a9:0x246,_0x420ab1:0x17c,_0x4505bd:0xb,_0x549f49:0x3b,_0x6e7724:0x3b1,_0x79d49:0x285,_0x33ba71:0x2e2,_0x4b062e:0x661,_0x719575:0x68a,_0x1210dc:0x721,_0x189213:0x7c7,_0x23ae48:0x74f,_0xf7489b:0x2f2,_0x25eb15:0x1a4,_0x351321:0x2e0,_0x380bca:0x2d9,_0x42c0b7:0x26b,_0x2afda4:0x13e,_0x31eeba:0x187},_0x3b3015={_0x32d3d0:0x2ff,_0x503946:0x3e4,_0x198adf:0x380,_0x101456:0x4d0,_0xc4a6be:0x5a5,_0x3d98e7:0x394,_0x4a16c2:0x3da,_0x1f6d91:0x3dd,_0xe33312:0x40a,_0x5806b5:0x274,_0x4c2132:0x36a,_0x5c05f3:0x361,_0x5a0a1e:0x473,_0x136852:0x619,_0x8219ac:0x6c7,_0x82490e:0x7d4,_0x3bad48:0x54b,_0x3b978e:0x47c,_0x176a22:0x3f6,_0x5245d:0x6f8,_0x32cc67:0x4ed,_0x3379cd:0x514,_0x179c34:0x433,_0x3ef99d:0x42b,_0xdadfaa:0x422,_0x24fa83:0x4f5,_0x13e392:0x419,_0xd731a0:0x398,_0x2eb93d:0x43e,_0x4114e6:0x4f6,_0x32c8b0:0x509,_0x15b903:0x6bb,_0x30bce9:0x624,_0x348ba7:0x492,_0x45616f:0x58f,_0x3308e6:0x7fe,_0x4222db:0x6e5,_0x4b097f:0x3f8,_0x3a24e1:0x3d5,_0x698336:0x55f,_0x228b3e:0x4fc,_0x1a064e:0x6bf,_0x2674ed:0x62d,_0x33bdaa:0x613,_0x450be3:0x432,_0x483b7b:0x2cb,_0x3aa09e:0x6bd,_0x58a042:0x740,_0x435d67:0x584,_0x465bc3:0x81c,_0x1c1bb1:0x5bb,_0x48a8d7:0x6d2,_0xd412ad:0x4f4,_0x2fdd93:0x534,_0x33d0ae:0x600,_0xe57ce8:0x4fd,_0x2ff033:0x5b6,_0x30048e:0x607,_0x175e2d:0x3d2,_0x4116d9:0x70c,_0x1b29b1:0x506,_0x325e34:0x4cd,_0x4325fc:0x53d,_0x17be15:0x596,_0x38c491:0x62f,_0x5b43d0:0x36e,_0x5b83fa:0x488,_0x17cdaf:0x532,_0x58fbfb:0x41f,_0x18703c:0x256,_0x1850f7:0x4e5,_0x4f8cf0:0x22e,_0x2a0d9f:0x390,_0x1947eb:0x305,_0x55c018:0x597,_0x342933:0x6da,_0x23bc58:0x480,_0x1a932b:0x582,_0x5cb26b:0x44e,_0x46346e:0x778,_0x229f1c:0x62d,_0xc3d549:0x4b3,_0x47bf50:0x608,_0x4520ab:0x4dd,_0x303b77:0x2e0,_0x30540f:0x453,_0x9fb0a9:0x4e6,_0x5acede:0x621,_0x3bee04:0x5b1,_0x38ac95:0x609,_0x4bec3a:0x59d,_0x557ce8:0x5c6,_0x2f1ad1:0x5fe,_0x2c3a5f:0x377,_0x13222d:0x4c4,_0x4cedc8:0x614,_0x4f7a92:0x556,_0x2e3de3:0x4f2,_0x2a88d2:0x74a,_0x16a877:0x6ab,_0x3fb6e2:0x75b,_0x42a57:0x481},_0x308d74={_0x3cbfe8:0x62e,_0x41531e:0x53d},_0x7d07fa={_0x36ae70:0xe0},_0x5439a9={_0x2d315f:0xed,_0x2a1c04:0x132},_0x40e662=_0x2cf08d[_0xaaa7b5(_0x286760._0x3713fe,_0x286760._0x2bd040,0x169,0x1d5)](_0x18528c[_0xaaa7b5(-_0x286760._0x3de510,0x122,_0x286760._0x30a8b6,0x6)]??process[_0xaaa7b5(0x24b,0xe4,0x15,_0x286760._0x109457)]()),_0x59f286=_0x18528c['allowedDirs']??[];function _0x4d3134(_0x3fa73c,_0x524e51,_0x4fcd6f,_0x45024a){return _0x48c1e5(_0x4fcd6f-0x268,_0x524e51-_0x5439a9._0x2d315f,_0x45024a,_0x45024a-_0x5439a9._0x2a1c04);}const _0x202c17=_0x18528c[_0xaaa7b5(_0x286760._0x293e96,0x10f,0x19c,0x1e5)]??DEFAULT_TIMEOUT_MS,_0x4f9831=_0x18528c[_0xaaa7b5(-0x8a,_0x286760._0x3115e6,-_0x286760._0x2eb694,-0x12a)]??!![];function _0xaaa7b5(_0x10beb6,_0xb0d35c,_0x2fc55a,_0x193e42){return _0x42cde8(_0x10beb6-0x137,_0xb0d35c-0x12e,_0x2fc55a-0x1e9,_0x2fc55a);}const _0x4893e8=_0x18528c['name']??_0xaaa7b5(-0x4,0x69,0x8b,_0x286760._0x1e3312),_0x47d9bc=_0x18528c[_0x4d3134(0x627,_0x286760._0x3c108a,0x544,_0x286760._0x270585)]??[],_0x1b3c45=_0x18528c[_0xaaa7b5(_0x286760._0xe5d9d0,0xc8,_0x286760._0x27e446,0x32)];return defineTool({'name':_0x4893e8,'description':_0x18528c[_0xaaa7b5(0x107,0x1ec,0x22c,_0x286760._0x13646c)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0xaaa7b5(_0x286760._0x2690a9,_0x286760._0x420ab1,_0x286760._0x4505bd,_0x286760._0x549f49),'properties':{'command':{'type':_0xaaa7b5(_0x286760._0x6e7724,_0x286760._0x79d49,0x16c,_0x286760._0x33ba71)},'description':{'type':_0x4d3134(0x7d0,_0x286760._0x4b062e,_0x286760._0x719575,_0x286760._0x1210dc),'description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20execution.\x20Be\x20specific,\x20e.g.\x20\x27Run\x20the\x20auth\x20tests\x20to\x20verify\x20the\x20token-refresh\x20fix\x27\x20rather\x20than\x20\x27run\x20tests\x27.'},'cwd':{'type':_0x4d3134(_0x286760._0x189213,_0x286760._0x23ae48,0x68a,0x514)},'timeoutMs':{'type':_0xaaa7b5(_0x286760._0xf7489b,_0x286760._0x25eb15,_0x286760._0x351321,_0x286760._0x380bca)},'ignoreOutput':{'type':_0xaaa7b5(0x117,0x1ff,0x32a,_0x286760._0x42c0b7)},'runInBackground':{'type':_0x4d3134(0x5f0,0x746,0x604,0x519)}},'required':[_0xaaa7b5(0xa0,_0x286760._0x2afda4,_0x286760._0x31eeba,0x5e),_0x4d3134(0x709,0x608,0x5f1,0x53e)]},async *'execute'(_0x5eacb9,_0xed9c40){const _0x4c0280={_0x2e38cb:0x357,_0x3a0a54:0x315,_0x31fce5:0x436,_0x2cbe50:0x3ee,_0x4c39f0:0x384},_0x49fb7d={_0x19eb16:0x113,_0x4d31db:0xa6,_0x109556:0x5,_0x442125:0xff,_0x2db517:0x172,_0x5b83ed:0x13a},_0x1d3046={_0x1e3e28:0x174,_0x2bff18:0xdd},_0x1a992b={_0x4a4a21:0x1d3,_0x23a3bd:0x147,_0x3e298c:0x129,_0x5827ad:0x167,_0x506c65:0x4b0,_0x55c2b4:0x454,_0x1c785e:0x5a0,_0x48cc6c:0x329,_0x3ea776:0x356,_0x1b9bc5:0x241,_0x10df76:0x283},_0x53f5ea={_0x376840:0xe7,_0x91c885:0x72,_0x4426ae:0x5d,_0x29b45e:0x1a7},_0x1b1fa8={_0x5a0959:0x5f4,_0x43f2cd:0x93},_0x4358ad={_0x35bb41:0x1d7,_0x4be4b4:0x1e8},_0x616176={_0x540062:0x234},_0x3c9524={_0xeda5ee:0x1a5,_0x2a0f51:0x223};function _0xba8854(_0xc25663,_0x1d1a88,_0x2976e8,_0x1b4476){return _0x4d3134(_0xc25663-0x4f,_0x1d1a88-0xa7,_0x2976e8- -0x23,_0xc25663);}const _0x5503a8=_0x5eacb9[_0x2cac2d(0x4e7,_0x3b3015._0x32d3d0,0x2c7,_0x3b3015._0x503946)]??_0x202c17;if(!Number[_0xba8854(0x476,_0x3b3015._0x198adf,_0x3b3015._0x101456,_0x3b3015._0xc4a6be)](_0x5503a8)||_0x5503a8<0x1)throw new ToolExecutionError(_0x2cac2d(_0x3b3015._0x3d98e7,_0x3b3015._0x4a16c2,_0x3b3015._0x1f6d91,0x3ea),{'command':_0x5eacb9[_0x2cac2d(0x343,_0x3b3015._0xe33312,0x59d,0x44e)]});throwIfAborted(_0xed9c40['signal']);const _0x3a4dc2=resolveWorkingDirectory(_0x5eacb9[_0x2cac2d(0x3f2,0x383,0x310,0x3f4)],_0x40e662,_0x59f286),_0x13e780=_0x5eacb9[_0x2cac2d(0x2be,_0x3b3015._0x5806b5,_0x3b3015._0x4c2132,_0x3b3015._0x5c05f3)]??![],_0x2f6dd5=resolveDefaultShell(_0x18528c[_0xba8854(_0x3b3015._0x5a0a1e,0x465,0x4e2,0x48b)]),_0x169b4a=buildShellArgs(_0x5eacb9['command'],_0x2f6dd5),_0x2c6e23=_0x20ec71[_0xba8854(0x5b5,_0x3b3015._0x136852,_0x3b3015._0x8219ac,_0x3b3015._0x82490e)]()===_0x2cac2d(0x466,0x39d,0x5ca,0x497);if(_0x5eacb9[_0xba8854(_0x3b3015._0x3bad48,0x3f9,_0x3b3015._0x3b978e,_0x3b3015._0x176a22)]){if(!_0x1b3c45)throw new ToolExecutionError(_0x2cac2d(0x4d4,_0x3b3015._0x5245d,_0x3b3015._0x32cc67,0x5d8),{'command':_0x5eacb9['command']});throwIfAborted(_0xed9c40[_0x2cac2d(0x4ab,0x288,0x21f,0x36e)]);let _0x40bb19;try{_0x40bb19=_0x14da27(_0x2f6dd5,_0x169b4a,{'cwd':_0x3a4dc2,'env':buildChildEnv(_0x18528c[_0xba8854(_0x3b3015._0x3379cd,0x310,0x432,0x2c2)],_0x47d9bc),'stdio':['ignore','pipe',_0x2cac2d(0x467,_0x3b3015._0x179c34,0x57a,_0x3b3015._0x3ef99d)],'shell':![],'windowsHide':!![],'detached':!_0x2c6e23});}catch(_0x3de447){throw mapSpawnError(_0x3de447,{'command':_0x5eacb9['command'],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5});}let _0x1f97bb;try{_0x1f97bb=_0x1b3c45[_0xba8854(0x54d,_0x3b3015._0xdadfaa,0x4d2,_0x3b3015._0x24fa83)]({'child':_0x40bb19,'command':_0x5eacb9[_0xba8854(0x68d,0x556,0x520,0x61c)],'cwd':_0x3a4dc2,'stripAnsi':_0x4f9831});}catch(_0x57065a){_0x40bb19[_0xba8854(0x390,_0x3b3015._0x13e392,0x430,0x470)](_0x2cac2d(0x500,_0x3b3015._0xd731a0,_0x3b3015._0x2eb93d,_0x3b3015._0x4114e6),()=>{});try{killProcessGroup(_0x40bb19,_0x2c6e23);}catch{}throw _0x57065a;}return createToolOutput(_0xba8854(0x64f,0x4e7,0x5cf,_0x3b3015._0x32c8b0)+_0x1f97bb[_0x2cac2d(_0x3b3015._0x15b903,0x5aa,_0x3b3015._0x30bce9,0x5f4)]+_0x2cac2d(0x4d1,0x6fb,_0x3b3015._0x348ba7,0x588)+(_0x1f97bb[_0xba8854(_0x3b3015._0x45616f,_0x3b3015._0x3308e6,_0x3b3015._0x4222db,0x6a1)]??'?')+_0x2cac2d(0x520,_0x3b3015._0x4b097f,_0x3b3015._0x3a24e1,0x483),{'shellId':_0x1f97bb['shellId'],'status':_0x1f97bb[_0x2cac2d(0x444,_0x3b3015._0x698336,0x493,0x4ea)],'command':_0x1f97bb['command'],'description':_0x5eacb9[_0x2cac2d(0x45c,0x47c,0x386,_0x3b3015._0x228b3e)],'cwd':_0x1f97bb['cwd'],'pid':_0x1f97bb[_0x2cac2d(0x640,_0x3b3015._0x1a064e,_0x3b3015._0x2674ed,_0x3b3015._0x33bdaa)]??null});}let _0x364ee2;try{_0x364ee2=_0x14da27(_0x2f6dd5,_0x169b4a,{'cwd':_0x3a4dc2,'env':buildChildEnv(_0x18528c[_0xba8854(0x488,0x4f3,_0x3b3015._0x450be3,_0x3b3015._0x483b7b)],_0x47d9bc),'stdio':_0x13e780?[_0x2cac2d(0x495,_0x3b3015._0x3aa09e,0x670,0x600),_0x2cac2d(_0x3b3015._0x58a042,0x6c2,_0x3b3015._0x435d67,0x600),_0xba8854(_0x3b3015._0x465bc3,_0x3b3015._0x1c1bb1,_0x3b3015._0x48a8d7,0x6ef)]:[_0x2cac2d(0x6c1,_0x3b3015._0xd412ad,_0x3b3015._0x2fdd93,_0x3b3015._0x33d0ae),'pipe',_0xba8854(0x5ed,0x38c,_0x3b3015._0xe57ce8,_0x3b3015._0x2ff033)],'shell':![],'windowsHide':!![],'detached':!_0x2c6e23});}catch(_0x409d16){throw mapSpawnError(_0x409d16,{'command':_0x5eacb9[_0xba8854(0x4bc,0x469,0x520,_0x3b3015._0x30048e)],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5});}const _0x524c4e=[];function _0x2cac2d(_0x2190e9,_0x36b8e2,_0x1606c7,_0x36990f){return _0x4d3134(_0x2190e9-0x100,_0x36b8e2-_0x7d07fa._0x36ae70,_0x36990f- -0xf5,_0x2190e9);}const _0x425ea5=[],_0x544c42=new _0x37b053(_0x2cac2d(0x45b,_0x3b3015._0x175e2d,0x3ed,0x3f9)),_0x568d07=new _0x37b053('utf8');let _0x2d0413,_0x1d0189=![],_0x2ee27a;const _0x7c69a2=()=>{if(!_0x2d0413)return;const _0x22b1b3=_0x2d0413;_0x2d0413=void 0x0,_0x22b1b3();},_0x421c2e=async()=>{if(_0x425ea5['length']>0x0||_0x1d0189)return;await new Promise(_0x46cbf5=>{_0x2d0413=_0x46cbf5;});},_0x1099ce=_0x41a7f9=>{function _0x37c5ce(_0x4070a9,_0x3e7c37,_0x2698e0,_0xbe5c49){return _0xba8854(_0x4070a9,_0x3e7c37-_0x3c9524._0xeda5ee,_0x2698e0- -_0x3c9524._0x2a0f51,_0xbe5c49-0xee);}appendChunk(_0x524c4e,_0x425ea5,_0x544c42[_0x37c5ce(_0x616176._0x540062,0x160,0x2a0,0x37a)](_0x41a7f9),_0x4f9831,_0x7c69a2);},_0xc82bd8=_0x15936f=>{function _0x5ddbd6(_0x1e5cc6,_0x3a8175,_0x255d41,_0x27125f){return _0x2cac2d(_0x1e5cc6,_0x3a8175-0xcd,_0x255d41-0x38,_0x3a8175- -0x5c8);}appendChunk(_0x524c4e,_0x425ea5,_0x568d07[_0x5ddbd6(-0x31d,-_0x4358ad._0x35bb41,-0x209,-_0x4358ad._0x4be4b4)](_0x15936f),_0x4f9831,_0x7c69a2);};_0x364ee2[_0x2cac2d(_0x3b3015._0x4116d9,_0x3b3015._0x1b29b1,0x6e7,0x5d2)]?.['on'](_0x2cac2d(_0x3b3015._0x325e34,0x6db,_0x3b3015._0x4325fc,_0x3b3015._0x17be15),_0x1099ce),_0x364ee2[_0xba8854(_0x3b3015._0x38c491,0x3a4,0x4c4,0x546)]?.['on']('data',_0xc82bd8);let _0x3c553f=![],_0x40d47a;const _0x586b2a=addAbortListener(_0xed9c40[_0x2cac2d(0x3ba,0x4b2,0x200,_0x3b3015._0x5b43d0)],()=>{const _0x428712={_0x56065b:0x17,_0x2f4106:0x287};_0x2ee27a=toAbortError(_0xed9c40[_0x2c6d5(_0x53f5ea._0x376840,0x42,-_0x53f5ea._0x91c885,_0x53f5ea._0x4426ae)][_0x2c6d5(0x303,_0x53f5ea._0x29b45e,0x313,0x310)]),_0x1d0189=!![];function _0x4ba691(_0xce81e8,_0x5d30a0,_0x41c019,_0x26a2d2){return _0xba8854(_0x41c019,_0x5d30a0-0x56,_0x26a2d2- -_0x1b1fa8._0x5a0959,_0x26a2d2-_0x1b1fa8._0x43f2cd);}_0x7c69a2();function _0x2c6d5(_0x1d2da1,_0x3c1ea6,_0x4b3318,_0x16dd9f){return _0x2cac2d(_0x3c1ea6,_0x3c1ea6-0x1a,_0x4b3318-_0x428712._0x56065b,_0x1d2da1- -_0x428712._0x2f4106);}try{killProcessGroup(_0x364ee2,_0x2c6e23);}catch{}});try{const _0x2d36f6=new Promise((_0x4001d4,_0x33e203)=>{const _0x93dab={_0x5dc1f5:0x1d1},_0x3fa3ff=()=>{const _0xe2c39b={_0x3bee34:0x1f9};_0x40d47a&&(clearTimeout(_0x40d47a),_0x40d47a=void 0x0);function _0x481def(_0x4df116,_0x4c6654,_0x358606,_0x4f2f71){return _0x59f9(_0x4f2f71- -0x1c4,_0x4c6654);}_0x364ee2[_0x481def(_0x1a992b._0x4a4a21,_0x1a992b._0x23a3bd,_0x1a992b._0x3e298c,_0x1a992b._0x5827ad)](_0x4a2d27(_0x1a992b._0x506c65,_0x1a992b._0x55c2b4,_0x1a992b._0x1c785e,_0x1a992b._0x48cc6c),_0x2952bc);function _0x4a2d27(_0x29a46e,_0x388f83,_0x2015ae,_0x2c4c36){return _0x59f9(_0x388f83-_0xe2c39b._0x3bee34,_0x2c4c36);}_0x364ee2['off'](_0x4a2d27(0x33d,_0x1a992b._0x3ea776,_0x1a992b._0x1b9bc5,_0x1a992b._0x10df76),_0xa5be8f);};function _0x219c9e(_0x227f9b,_0x562cb9,_0x2956f7,_0x54f3a5){return _0xba8854(_0x562cb9,_0x562cb9-_0x1d3046._0x1e3e28,_0x227f9b-0x3a,_0x54f3a5-_0x1d3046._0x2bff18);}const _0x2952bc=_0x24d8d9=>{_0x1d0189=!![],_0x7c69a2(),_0x3fa3ff(),_0x33e203(_0x2ee27a??_0x24d8d9);},_0xa5be8f=(_0x19c47d,_0x75b6c8)=>{_0x3c553f=!![],appendChunk(_0x524c4e,_0x425ea5,_0x544c42[_0x1cae1d(-_0x49fb7d._0x19eb16,-_0x49fb7d._0x4d31db,-0x179,_0x49fb7d._0x109556)](),_0x4f9831,_0x7c69a2),appendChunk(_0x524c4e,_0x425ea5,_0x568d07[_0x1cae1d(-_0x49fb7d._0x442125,_0x49fb7d._0x2db517,_0x49fb7d._0x5b83ed,0x5)](),_0x4f9831,_0x7c69a2),_0x1d0189=!![];function _0x1cae1d(_0x35c4cc,_0x1ce988,_0x596272,_0x2eb23f){return _0x59f9(_0x2eb23f- -0x2f8,_0x596272);}_0x7c69a2(),_0x3fa3ff();if(_0x2ee27a){_0x33e203(_0x2ee27a);return;}function _0x252674(_0x2b07fe,_0x83fa82,_0x63aded,_0x35fe63){return _0x59f9(_0x2b07fe- -0x254,_0x63aded);}_0x4001d4({'code':_0x19c47d,'signal':_0x75b6c8});};_0x40d47a=setTimeout(()=>{_0x1d0189=!![],_0x7c69a2();function _0x23e4cc(_0x2b5604,_0x3147e4,_0x14af4e,_0x59a132){return _0x59f9(_0x2b5604-0x28f,_0x59a132);}_0x3fa3ff();try{killProcessGroup(_0x364ee2,_0x2c6e23);}catch{}function _0x39c071(_0x1696f4,_0x24bbd2,_0x16aec3,_0x5540bf){return _0x59f9(_0x24bbd2-_0x93dab._0x5dc1f5,_0x16aec3);}_0x33e203(new ToolExecutionError(_0x39c071(0x36e,0x481,0x41f,_0x4c0280._0x2e38cb)+_0x5503a8+_0x39c071(_0x4c0280._0x3a0a54,_0x4c0280._0x31fce5,0x49a,0x5af),{'command':_0x5eacb9[_0x39c071(_0x4c0280._0x2cbe50,_0x4c0280._0x4c39f0,0x33d,0x429)],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5,'timeoutMs':_0x5503a8,'timedOut':!![]}));},_0x5503a8),_0x364ee2['once']('error',_0x2952bc),_0x364ee2['once'](_0x219c9e(0x504,_0x308d74._0x3cbfe8,_0x308d74._0x41531e,0x516),_0xa5be8f);});while(_0x425ea5[_0xba8854(_0x3b3015._0x5b83fa,_0x3b3015._0x17cdaf,0x462,_0x3b3015._0x58fbfb)]>0x0||!_0x1d0189){if(_0x425ea5[_0x2cac2d(_0x3b3015._0x18703c,_0x3b3015._0x1850f7,_0x3b3015._0x4f8cf0,_0x3b3015._0x2a0d9f)]===0x0){await _0x421c2e();continue;}const _0x42d796=_0x425ea5['shift']();_0x42d796!==void 0x0&&(yield _0x42d796);}const _0x2aca5c=await _0x2d36f6,_0x4f7922=_0x13e780?_0x2cac2d(0x479,0x42d,_0x3b3015._0x1947eb,0x3e2)+(_0x2aca5c[_0xba8854(0x6bd,_0x3b3015._0x55c018,_0x3b3015._0x342933,0x7f4)]??0x0):_0x524c4e['join'](''),_0x9afe10={'command':_0x5eacb9[_0x2cac2d(_0x3b3015._0x23bc58,_0x3b3015._0x1a932b,0x3e0,_0x3b3015._0x5cb26b)],'description':_0x5eacb9['description'],'cwd':_0x3a4dc2,'exitCode':_0x2aca5c[_0xba8854(_0x3b3015._0x46346e,_0x3b3015._0x229f1c,0x6da,0x5ff)]??0x0,'signal':_0x2aca5c['signal'],'ignoreOutput':_0x13e780,'shellPath':_0x2f6dd5,'timeoutMs':_0x5503a8};if(_0x2aca5c[_0x2cac2d(_0x3b3015._0xc3d549,0x728,0x5a7,_0x3b3015._0x47bf50)]!==0x0)throw new ToolExecutionError(_0x4f7922||_0x2cac2d(0x4d9,0x39a,0x549,_0x3b3015._0x4520ab)+(_0x2aca5c['code']??0x0),_0x9afe10);return createToolOutput(_0x4f7922,_0x9afe10);}catch(_0x22942e){while(_0x425ea5[_0x2cac2d(_0x3b3015._0x303b77,_0x3b3015._0x30540f,_0x3b3015._0x9fb0a9,0x390)]>0x0){const _0x1f397c=_0x425ea5[_0xba8854(0x766,0x789,_0x3b3015._0x5acede,_0x3b3015._0x3bee04)]();_0x1f397c!==void 0x0&&(yield _0x1f397c);}if(_0x22942e instanceof ToolExecutionError)throw _0x22942e;if(_0x2ee27a)throw _0x2ee27a;throw mapSpawnError(_0x22942e,{'command':_0x5eacb9['command'],'cwd':_0x3a4dc2,'shellPath':_0x2f6dd5});}finally{_0x40d47a&&clearTimeout(_0x40d47a);_0x586b2a(),_0x364ee2['stdout']?.[_0x2cac2d(_0x3b3015._0x38ac95,0x609,_0x3b3015._0x4bec3a,_0x3b3015._0x557ce8)]('data',_0x1099ce),_0x364ee2[_0xba8854(_0x3b3015._0x2f1ad1,_0x3b3015._0x2c3a5f,_0x3b3015._0x13222d,0x382)]?.[_0x2cac2d(_0x3b3015._0x4cedc8,_0x3b3015._0x4f7a92,0x520,0x5c6)](_0x2cac2d(0x537,0x4d8,_0x3b3015._0x2e3de3,0x596),_0xc82bd8);if(!_0x3c553f&&_0x364ee2[_0xba8854(_0x3b3015._0x2a88d2,_0x3b3015._0x16a877,_0x3b3015._0x4222db,_0x3b3015._0x3fb6e2)]&&!_0x364ee2[_0x2cac2d(0x5a0,0x525,0x336,_0x3b3015._0x42a57)])try{killProcessGroup(_0x364ee2,_0x2c6e23);}catch{}}}});}function createShellExecTool(_0x1f0a01={}){return createBashTool(_0x1f0a01);}import{readdir,readFile as _0x2ee857}from'fs/promises';import{extname,join as _0x57fb47}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0xace2a0,join,relative as _0x11b975,resolve as _0x4e6e97}from'path';import{readdir as _0x429bb6,readFile as _0x4de1b1}from'fs/promises';import{join as _0x111249,relative as _0x1931ed,sep}from'path';import{delimiter}from'path';import{mkdir as _0x224698,rm,stat as _0x47eaa8,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x108f39}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x59216a,rename,rm as _0x3f5c7c,stat as _0x4ebc15,writeFile as _0x1748f1}from'fs/promises';import{homedir as _0x147997}from'os';import{dirname as _0x4e793e,isAbsolute as _0x3bf1a3,join as _0x2233e7,resolve as _0x43a64d}from'path';import{parse as _0x2f415c,stringify as _0x96a9}from'yaml';import{cp,mkdir as _0x5b4d2c,readFile as _0x370770,rm as _0x5bb0d6,writeFile as _0x15124b}from'fs/promises';import{homedir}from'os';import{join as _0x36ff59}from'path';import{parse as _0x14e07f,stringify as _0x3b0314}from'yaml';import{z}from'zod';import{readdir as _0x537df3,readFile as _0x214499}from'fs/promises';import{join as _0x4f14d8}from'path';import{randomUUID as _0x5b2f09}from'crypto';import{mkdir as _0x2ecf57,readdir as _0x3dbd1c,readFile as _0x4ea75d,rename as _0x1de12f,rm as _0x2080c4,writeFile as _0x16277b}from'fs/promises';import{homedir as _0x469f60}from'os';import{basename,isAbsolute as _0x45214b,join as _0x4d5dbf,relative as _0x2ae620,resolve as _0x1d2076}from'path';import{parse as _0x31b4c4,stringify as _0x6337a}from'yaml';import{delimiter as _0x1967c8,resolve as _0x212bc}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0xb25777){const _0x39a0cf={_0x22fc32:0x383,_0x21dc6d:0x2ce,_0x4c91c0:0x1b2,_0x53947f:0x2b2,_0x7adb79:0x150,_0x14d1b2:0x337,_0x218476:0x2b0,_0x5a2259:0x2d9,_0x1a81c1:0x10a,_0x469049:0x183,_0x350643:0x423,_0x36969e:0x56c,_0x1132a3:0x1c0,_0x90f317:0x209},_0x16b822={_0x4cdcfe:0x43d,_0x2b3c76:0x7c},_0x5b9c2e=[];function _0x54e76e(_0x31996e,_0x5105e9,_0xb373ac,_0x1abc1d){return _0x42cde8(_0x31996e-0xb3,_0x31996e-_0x16b822._0x4cdcfe,_0xb373ac-_0x16b822._0x2b3c76,_0x5105e9);}let _0x3de429='',_0x5b74df=0x0;function _0x5751f6(_0x203dd3,_0x23c889,_0x23c993,_0x3fcf51){return _0x42cde8(_0x203dd3-0xb,_0x23c889- -0x1a6,_0x23c993-0x27,_0x203dd3);}while(_0x5b74df<_0xb25777[_0x54e76e(0x38f,0x315,0x2cc,_0x39a0cf._0x22fc32)]){const _0x65df43=_0xb25777[_0x5b74df];if(_0x65df43==='\x5c'&&_0x5b74df+0x1<_0xb25777[_0x5751f6(-_0x39a0cf._0x21dc6d,-0x254,-_0x39a0cf._0x4c91c0,-_0x39a0cf._0x53947f)])_0x3de429+=_0xb25777[_0x5b74df+0x1],_0x5b74df+=0x2;else{if(_0x65df43==='\x22'||_0x65df43==='\x27'){const _0x1de68c=_0x65df43;_0x5b74df++;while(_0x5b74df<_0xb25777[_0x5751f6(-_0x39a0cf._0x7adb79,-0x254,-0x357,-_0x39a0cf._0x14d1b2)]&&_0xb25777[_0x5b74df]!==_0x1de68c){_0xb25777[_0x5b74df]==='\x5c'&&_0x5b74df+0x1<_0xb25777[_0x5751f6(-_0x39a0cf._0x218476,-0x254,-_0x39a0cf._0x5a2259,-0x2c2)]?(_0x3de429+=_0xb25777[_0x5b74df+0x1],_0x5b74df+=0x2):(_0x3de429+=_0xb25777[_0x5b74df],_0x5b74df++);}_0x5b74df++;}else _0x65df43!==void 0x0&&/\s/[_0x5751f6(-0x3f,-_0x39a0cf._0x1a81c1,-_0x39a0cf._0x469049,-0x103)](_0x65df43)?(_0x3de429&&(_0x5b9c2e[_0x54e76e(_0x39a0cf._0x350643,_0x39a0cf._0x36969e,0x3ef,0x592)](_0x3de429),_0x3de429=''),_0x5b74df++):(_0x3de429+=_0x65df43,_0x5b74df++);}}if(_0x3de429)_0x5b9c2e[_0x5751f6(-0x1a3,-_0x39a0cf._0x1132a3,-0xcc,-_0x39a0cf._0x90f317)](_0x3de429);return _0x5b9c2e;}function renderCommandInstructions(_0x568a48){const _0x21c75e={_0x4c9bbb:0x64,_0x513b09:0x115,_0xdc38e7:0x63,_0x55723b:0x76,_0x33edad:0xf4,_0x1c91f4:0x50,_0x1bc5d9:0x11,_0xf72591:0x2a,_0x1242ca:0x10,_0x4e4d46:0x369,_0x445b0e:0x3a8,_0x1ed01d:0x1ee,_0x45d8a7:0xc7,_0x127ff6:0x71,_0x792fac:0x51,_0x522e04:0x10c,_0x26dd39:0xbc,_0x120251:0x8e,_0x16ed46:0x1c6,_0x435c82:0x3f2,_0xbbb49b:0x2f1,_0x4ff514:0x2fd,_0x21e02e:0x2f9,_0x5dcec0:0x28c,_0x5d681d:0x186},_0x394ae1={_0x2a0a80:0x3cb,_0x317a2f:0x4a5},_0x2993d2={_0x543485:0xd,_0x763eea:0x220,_0x15f24a:0x1eb},_0x4dd7f5={_0x24bdaa:0x48a},_0x5031ed={_0x50466c:0x1ba,_0xc25b68:0xb5};let _0x4be836=_0x568a48[_0x2141f6(_0x21c75e._0x4c9bbb,0x71,_0x21c75e._0x513b09,-_0x21c75e._0xdc38e7)],_0xb676b5=![];const _0x3797d3=tokenizeCommandArguments(_0x568a48[_0x2daf1d(_0x21c75e._0x55723b,-0x1c9,-_0x21c75e._0x33edad,-_0x21c75e._0x1c91f4)]);_0x4be836=_0x4be836[_0x2daf1d(_0x21c75e._0x1bc5d9,_0x21c75e._0xf72591,-_0x21c75e._0x1242ca,-0x33)](/\$ARGUMENTS\[(\d+)\]/g,(_0x2f330b,_0x536fff)=>{return _0xb676b5=!![],_0x3797d3[Number(_0x536fff)]??'';});function _0x2141f6(_0x1636c4,_0x55cf38,_0x3d2837,_0x19cf95){return _0x42cde8(_0x1636c4-0x1e9,_0x3d2837-_0x5031ed._0x50466c,_0x3d2837-_0x5031ed._0xc25b68,_0x55cf38);}function _0x2daf1d(_0x294338,_0x3ea85d,_0x324cb8,_0x1dc075){return _0x48c1e5(_0x324cb8- -_0x4dd7f5._0x24bdaa,_0x3ea85d-0x27,_0x1dc075,_0x1dc075-0x8b);}_0x4be836=_0x4be836[_0x2141f6(0x22f,0x25a,_0x21c75e._0x4e4d46,_0x21c75e._0x445b0e)](/\$ARGUMENTS\b/g,()=>{function _0x233fe8(_0x28e2af,_0x7528c3,_0x275684,_0x3eb463){return _0x2141f6(_0x28e2af-_0x2993d2._0x543485,_0x275684,_0x3eb463-_0x2993d2._0x763eea,_0x3eb463-_0x2993d2._0x15f24a);}return _0xb676b5=!![],_0x568a48[_0x233fe8(_0x394ae1._0x2a0a80,0x383,0x4f4,_0x394ae1._0x317a2f)];});if(_0x568a48[_0x2141f6(0x4,_0x21c75e._0x1ed01d,_0x21c75e._0x45d8a7,_0x21c75e._0x127ff6)]&&_0x568a48['argumentNames'][_0x2141f6(_0x21c75e._0x792fac,0x9f,_0x21c75e._0x522e04,_0x21c75e._0x26dd39)]>0x0)for(let _0x2c0948=0x0;_0x2c0948<_0x568a48[_0x2141f6(0x221,_0x21c75e._0x120251,0xc7,_0x21c75e._0x16ed46)]['length'];_0x2c0948++){const _0x41880f=_0x568a48[_0x2daf1d(-0x238,-_0x21c75e._0x435c82,-0x2b2,-0x155)][_0x2c0948];if(_0x41880f){const _0x59eca0=new RegExp('\x5c$'+_0x41880f+'\x5cb','g');_0x4be836=_0x4be836['replace'](_0x59eca0,()=>{return _0xb676b5=!![],_0x3797d3[_0x2c0948]??'';});}}return _0x4be836=_0x4be836[_0x2141f6(_0x21c75e._0xbbb49b,0x31d,0x369,_0x21c75e._0x4ff514)](/\$(\d+)\b/g,(_0xef71f1,_0x2c6316)=>{return _0xb676b5=!![],_0x3797d3[Number(_0x2c6316)]??'';}),!_0xb676b5&&_0x568a48['argumentsText'][_0x2141f6(0x3f8,_0x21c75e._0x21e02e,_0x21c75e._0x5dcec0,_0x21c75e._0x5d681d)]()&&(_0x4be836=_0x4be836+'\x0a\x0aARGUMENTS:\x20'+_0x568a48['argumentsText']),_0x4be836;}var PROVIDER_API_KEY_ENVS=[{'env':_0x42cde8(-0x66,-0x78,-0x191,-0x5b),'provider':_0x42cde8(0x226,0x1e1,0x124,0x105)},{'env':_0x42cde8(0x5b,0xad,-0xb7,-0x52),'provider':_0x48c1e5(0x4a3,0x453,0x483,0x3bc)},{'env':_0x42cde8(0x224,0x166,0x8d,0xe0),'provider':'github'},{'env':_0x48c1e5(0x2c0,0x3d8,0x3b2,0x292),'provider':_0x42cde8(-0xdd,0x15,0x170,-0x6)},{'env':_0x48c1e5(0x1f2,0x264,0x1ea,0x100),'provider':_0x48c1e5(0x2f3,0x30a,0x3de,0x3e0)},{'env':_0x48c1e5(0x1c0,0x2ee,0x291,0x281),'provider':_0x42cde8(-0xcc,-0xeb,-0x122,-0xc3)},{'env':'ZAI_API_KEY','provider':_0x42cde8(-0x6a,0x27,0x127,0x5c)},{'env':_0x48c1e5(0x2f5,0x2b0,0x34c,0x3d3),'provider':'moonshot'},{'env':'MINIMAX_API_KEY','provider':_0x48c1e5(0x37f,0x2eb,0x303,0x35e)},{'env':'KIMI_API_KEY','provider':_0x48c1e5(0x290,0x2fb,0x122,0x287)},{'env':'OPENAI_API_KEY','provider':_0x42cde8(-0x129,-0xd2,-0x23d,-0xe3)},{'env':'DEEPSEEK_API_KEY','provider':_0x48c1e5(0x293,0x36e,0x165,0x147)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x42cde8(0x1b9,0x1f1,0x1f2,0x1d3)](_0x4fc70a=>_0x4fc70a[_0x48c1e5(0x1ed,0x1d6,0x24e,0xb5)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x42cde8(-0x2b,0x83,-0x6e,0x1f2),'GOOGLE_CSE_KEY',_0x42cde8(-0x1b9,-0x9b,-0x12c,0x2b)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x48c1e5(0x487,0x380,0x4f9,0x59e)]),_0x48c1e5(0x487,0x371,0x511,0x4cd)]);function prototypeSafeRecord(_0x182847){const _0xf03eb8={_0x284b39:0x2fd,_0x10c650:0x2f5,_0x4ab4db:0x324,_0x14906c:0xed,_0x3c2efd:0x181,_0x56c235:0x1b8,_0x32b01f:0x70,_0x301bc4:0x65,_0x3e3d6b:0xaf},_0x219a2e={_0x1437f4:0x1ee,_0x3da6f2:0xf2,_0x5360a9:0x1e0,_0x4e10d3:0x1f3,_0x34f1fd:0x325,_0x5d3c99:0x651,_0x1d3404:0x536,_0x28ca28:0x3e3,_0x599842:0x526,_0x591510:0x30f},_0x1c77b8={_0x36f597:0x139},_0x240030={_0x507f6f:0x158},_0x6eb559={_0x2da86d:0x4d1};function _0x5d07e5(_0x39f605,_0x16e49e,_0x54f8b1,_0x318100){return _0x48c1e5(_0x54f8b1- -_0x6eb559._0x2da86d,_0x16e49e-0xd6,_0x39f605,_0x318100-0x119);}function _0x2119d5(_0x15176b,_0x38d4a6,_0x3a3c63,_0x8cc023){return _0x42cde8(_0x15176b-0x92,_0x38d4a6-_0x240030._0x507f6f,_0x3a3c63-0x5e,_0x8cc023);}return z[_0x2119d5(_0xf03eb8._0x284b39,_0xf03eb8._0x10c650,0x2c2,_0xf03eb8._0x4ab4db)](_0x28a12b=>{const _0x4a33e8={_0x524dde:0xac};if(_0x28a12b===null||typeof _0x28a12b!=='object'||Array[_0x2bbf0c(_0x219a2e._0x1437f4,_0x219a2e._0x3da6f2,0x2e5,_0x219a2e._0x5360a9)](_0x28a12b))return null;const _0x2f3b46=Object[_0x2bbf0c(_0x219a2e._0x4e10d3,0x23a,_0x219a2e._0x34f1fd,0x355)](_0x28a12b);function _0x2bbf0c(_0x6d6594,_0x437edb,_0x4948d5,_0x105bd8){return _0x2119d5(_0x6d6594-0xdf,_0x105bd8-_0x4a33e8._0x524dde,_0x4948d5-0x3f,_0x6d6594);}function _0x55b2c5(_0x5cbaaa,_0x8a0c68,_0x5abc20,_0x59ee1b){return _0x2119d5(_0x5cbaaa-0xc4,_0x5abc20-0x33d,_0x5abc20-_0x1c77b8._0x36f597,_0x59ee1b);}if(_0x2f3b46!==Object[_0x55b2c5(0x74c,0x588,_0x219a2e._0x5d3c99,_0x219a2e._0x1d3404)]&&_0x2f3b46!==null)return null;return{'entries':Object[_0x55b2c5(_0x219a2e._0x28ca28,_0x219a2e._0x599842,0x3af,_0x219a2e._0x591510)](_0x28a12b)};},z[_0x5d07e5(-_0xf03eb8._0x14906c,-_0xf03eb8._0x3c2efd,-_0xf03eb8._0x56c235,-_0xf03eb8._0x32b01f)]({'entries':z[_0x5d07e5(-0x191,-0x155,-0x100,-0xb1)](z[_0x2119d5(0x18d,0x71,_0xf03eb8._0x301bc4,0x177)]([z[_0x5d07e5(-0x1e,-0xac,-_0xf03eb8._0x3e3d6b,-0x18c)](),_0x182847]))}))[_0x2119d5(0x2fe,0x28f,0x3cc,0x271)](({entries:_0x301cc0})=>Object['fromEntries'](_0x301cc0));}var chatModelAuthSchemeSchema=z[_0x42cde8(-0xaa,0xcf,-0x46,0x52)]([_0x48c1e5(0x463,0x41f,0x323,0x5a0),_0x48c1e5(0x2bc,0x192,0x2f6,0x41a)]),apiKeyAuthSchema=z[_0x42cde8(-0xaa,0x4e,0x2e,-0x83)]({'type':z['literal'](_0x48c1e5(0x204,0x2e0,0x1fe,0x271)),'apiKey':z[_0x48c1e5(0x422,0x4ae,0x374,0x52b)](),'authScheme':chatModelAuthSchemeSchema[_0x42cde8(-0xe1,0x7f,-0xc8,-0xa4)]()})[_0x42cde8(-0x38,0x39,0x12,0x92)](),oauthAuthSchema=z[_0x42cde8(0xff,0x4e,-0x48,0x125)]({'type':z['literal'](_0x42cde8(0x38,0x8d,-0xdb,0x1f3)),'access':z[_0x42cde8(0x87,0x157,0x249,0x102)](),'refresh':z[_0x48c1e5(0x422,0x390,0x53f,0x360)](),'expires':z[_0x48c1e5(0x341,0x2de,0x39e,0x2ae)]()[_0x42cde8(0x32,0x7f,0x45,0xf4)](),'authScheme':chatModelAuthSchemeSchema[_0x42cde8(-0xa7,0x7f,0x142,-0x88)]()})[_0x42cde8(-0x2c,0x39,-0x129,-0xb1)](),finiteNonNegative=z[_0x48c1e5(0x341,0x34f,0x468,0x4a6)]()[_0x48c1e5(0x2e6,0x2c9,0x43c,0x31a)]()[_0x42cde8(0x167,0x11d,0xd3,0x88)](),chatGptAuthSchema=z['object']({'type':z['literal'](_0x42cde8(0x65,0x89,0x1e9,0x15e)),'access':z[_0x42cde8(0x2bc,0x157,0xee,0x3d)]()[_0x48c1e5(0x268,0x178,0x1f0,0x28e)](0x1),'refresh':z[_0x42cde8(0x229,0x157,0x1ea,0x1d6)]()[_0x48c1e5(0x268,0x285,0x1c4,0x24d)](0x1),'idToken':z['string']()[_0x48c1e5(0x268,0x27c,0x14c,0x2d3)](0x1),'accountId':z['string']()[_0x42cde8(0xc3,-0x63,0x97,-0x18c)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative['optional']()})[_0x42cde8(0x129,0x39,-0x123,-0xde)](),authMethodSchema=z[_0x48c1e5(0x466,0x4ce,0x4d9,0x5a2)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x48c1e5(0x319,0x380,0x2fc,0x491)]({'id':z[_0x48c1e5(0x422,0x3db,0x3f7,0x47b)](),'name':z['string']()[_0x42cde8(0x1bb,0x7f,0x1d1,0x145)]()})['passthrough'](),modelConfigSchema=z['union']([z['literal'](![]),z[_0x48c1e5(0x448,0x55c,0x3c9,0x317)](!![]),z[_0x48c1e5(0x422,0x304,0x52f,0x577)](),z[_0x48c1e5(0x3d1,0x310,0x304,0x3fb)](z[_0x42cde8(-0xe,0x157,0x2c1,0x188)]()),z[_0x48c1e5(0x3d1,0x3f1,0x4f9,0x47c)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x42cde8(0x18,0xcf,0x174,0x98)]([_0x48c1e5(0x234,0x1e1,0x240,0x147),_0x48c1e5(0x210,0x214,0xa8,0x37b),_0x48c1e5(0x220,0x190,0x2db,0x384),_0x48c1e5(0x3e7,0x419,0x3e6,0x4f7)]),providerConfigSchema=z['object']({'apiKey':z[_0x42cde8(0x143,0x157,0x1fc,-0x1c)]()[_0x42cde8(0x3d,0x7f,0xba,0x149)](),'token':z['string']()['optional'](),'defaultModel':z[_0x48c1e5(0x422,0x55f,0x304,0x2fb)]()[_0x48c1e5(0x34a,0x391,0x2b9,0x2aa)](),'smallModel':z[_0x48c1e5(0x422,0x404,0x594,0x4da)]()[_0x42cde8(0x90,0x7f,0x148,-0xdc)](),'currentAuth':z[_0x42cde8(0x1e0,0x157,0x180,-0x19)]()[_0x48c1e5(0x34a,0x2fc,0x236,0x437)](),'auth':z[_0x48c1e5(0x3d1,0x413,0x35f,0x38f)](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x48c1e5(0x34a,0x37e,0x3e8,0x410)](),'baseUrl':z['string']()['optional'](),'models':modelConfigSchema[_0x42cde8(0x157,0x7f,0x183,-0x66)](),'customHeaders':z['record'](z[_0x42cde8(0x1e2,0x157,0xfb,-0x28)](),z[_0x48c1e5(0x422,0x2a6,0x3d6,0x3fd)]())[_0x42cde8(0x12f,0x7f,-0xad,0x1da)]()})[_0x42cde8(0x13c,0x39,0x1b3,0xb5)](),mcpServerConfigSchema=z['object']({'command':z[_0x42cde8(0x26c,0x157,0x2b,0x1cf)]()['optional'](),'args':z['array'](z[_0x48c1e5(0x422,0x2b9,0x2f0,0x57f)]())[_0x48c1e5(0x34a,0x2d0,0x401,0x20a)](),'env':z[_0x48c1e5(0x33d,0x2e1,0x435,0x42e)](z[_0x48c1e5(0x422,0x599,0x537,0x3a6)](),z[_0x48c1e5(0x422,0x32a,0x467,0x553)]())[_0x48c1e5(0x34a,0x370,0x27e,0x35e)](),'transport':z['enum']([_0x48c1e5(0x332,0x1ba,0x3dc,0x311),_0x42cde8(0x5a,0x26,0x3d,-0x77)])[_0x48c1e5(0x34a,0x34b,0x418,0x479)](),'url':z[_0x42cde8(0x249,0x157,0x97,0x279)]()['optional'](),'headers':z[_0x42cde8(-0x38,0x72,0x1dd,0x15e)](z[_0x48c1e5(0x422,0x460,0x59e,0x36b)](),z[_0x48c1e5(0x422,0x41a,0x3ae,0x53e)]())[_0x42cde8(0x87,0x7f,-0xa9,0x1c0)](),'prefix':z[_0x48c1e5(0x422,0x2a8,0x47d,0x3df)]()[_0x48c1e5(0x34a,0x236,0x2b0,0x22e)](),'timeoutMs':z[_0x42cde8(-0x7c,0x76,-0x61,0x93)]()[_0x42cde8(-0xce,0x7f,-0x2a,-0xc7)](),'enabled':z[_0x42cde8(0x9e,0xd1,0x135,0x138)]()[_0x48c1e5(0x34a,0x4a7,0x2e4,0x4bb)](),'auth':z[_0x48c1e5(0x319,0x457,0x445,0x1b4)]({'type':z[_0x48c1e5(0x39a,0x26b,0x28e,0x415)]([_0x48c1e5(0x3c2,0x452,0x470,0x538),_0x42cde8(0x2c9,0x198,0x87,0xa6),_0x48c1e5(0x358,0x387,0x42a,0x491)]),'token':z[_0x42cde8(0x118,0x157,0x27e,0x1f9)]()['optional'](),'oauth':z[_0x48c1e5(0x319,0x451,0x1a9,0x417)]({'clientId':z[_0x42cde8(0x70,0x157,0xc1,0x1d8)]()[_0x48c1e5(0x34a,0x21b,0x31c,0x398)](),'clientMetadataUrl':z[_0x42cde8(0xd,0x157,0x13d,0x82)]()['optional'](),'authorizationServer':z['string']()[_0x42cde8(-0x41,0x7f,0x1e7,0x191)](),'scopes':z['array'](z[_0x48c1e5(0x422,0x3e6,0x475,0x4fa)]())['optional'](),'tokenStorageKey':z['string']()[_0x48c1e5(0x34a,0x1d2,0x290,0x4b4)]()})[_0x42cde8(0x10d,0x39,0x10b,0x193)]()['optional']()})[_0x48c1e5(0x304,0x235,0x294,0x26a)]()[_0x48c1e5(0x34a,0x219,0x43e,0x3cc)]()})['passthrough'](),mcpSettingsSchema=z[_0x42cde8(-0xa3,0x4e,0x115,-0x88)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x48c1e5(0x34a,0x264,0x230,0x317)](),'defaultTimeoutMs':z['number']()['optional']()})[_0x42cde8(0x1c,0x39,-0x41,0xb)](),skillsSettingsSchema=z[_0x48c1e5(0x319,0x2ed,0x22c,0x2bd)]({'enabled':z[_0x48c1e5(0x39c,0x2d8,0x4ce,0x2e0)]()[_0x42cde8(0x140,0x7f,-0x1f,-0xbd)](),'includeDefaults':z[_0x48c1e5(0x39c,0x29e,0x22b,0x493)]()['optional'](),'directories':z[_0x48c1e5(0x3d1,0x44b,0x460,0x38f)](z[_0x48c1e5(0x422,0x34a,0x52c,0x2bf)]())[_0x48c1e5(0x34a,0x3ec,0x30b,0x3d2)](),'exclude':z[_0x48c1e5(0x3d1,0x520,0x377,0x2af)](z[_0x48c1e5(0x422,0x441,0x41c,0x33a)]())[_0x48c1e5(0x34a,0x3d7,0x3c1,0x414)]()})[_0x48c1e5(0x304,0x189,0x26b,0x355)](),commandsSettingsSchema=z[_0x48c1e5(0x319,0x378,0x396,0x48d)]({'enabled':z[_0x48c1e5(0x39c,0x3cc,0x4ba,0x3db)]()[_0x42cde8(0x141,0x7f,0x1b4,0x1e)](),'directories':z[_0x48c1e5(0x3d1,0x317,0x2de,0x397)](z['string']())[_0x42cde8(-0xb0,0x7f,0x11c,-0x15)]()})[_0x42cde8(-0xfa,0x39,0xc4,0x4a)](),agentsSettingsSchema=z[_0x42cde8(0x144,0x4e,-0x9a,0x4f)]({'enabled':z['boolean']()['optional'](),'includeDefaults':z[_0x48c1e5(0x39c,0x3bd,0x25f,0x427)]()['optional'](),'directories':z[_0x42cde8(0x33,0x106,0x70,0x7c)](z[_0x42cde8(0x12e,0x157,0x2c0,0x215)]())[_0x42cde8(-0x41,0x7f,0xa6,-0x3f)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x42cde8(0x63,0x4e,0x14b,0x149)]({'mode':z[_0x48c1e5(0x39a,0x250,0x29a,0x3ca)]([_0x42cde8(0x195,0x7c,-0x5c,0x7e),'dark','light'])[_0x48c1e5(0x34a,0x278,0x241,0x458)](),'colorLevel':z[_0x48c1e5(0x39a,0x27f,0x2e6,0x45d)]([_0x48c1e5(0x347,0x49e,0x20c,0x1cb),_0x42cde8(0x180,0xf7,0x3b,0x267),'ansi16',_0x48c1e5(0x30a,0x1fb,0x2b0,0x1cb),_0x48c1e5(0x2ed,0x1d7,0x2a0,0x240)])[_0x48c1e5(0x34a,0x30b,0x45a,0x2dc)](),'backgrounds':z[_0x48c1e5(0x39a,0x43f,0x2dd,0x265)]([_0x42cde8(0x7e,0x7c,-0x5b,0xeb),'on',_0x42cde8(0xdc,0x188,0xed,0x24c)])[_0x48c1e5(0x34a,0x217,0x251,0x370)](),'messageStyle':z[_0x48c1e5(0x39a,0x3da,0x4d8,0x49e)]([_0x42cde8(-0x118,-0xca,0x57,-0x208),_0x42cde8(0x1d0,0xfb,0x3e,0x155)])[_0x42cde8(-0xc1,0x7f,0x13c,-0xab)]()})[_0x48c1e5(0x304,0x42f,0x37c,0x476)](),statuslineSegmentSchema=z[_0x48c1e5(0x39a,0x28f,0x26c,0x399)](['model',_0x42cde8(0xd1,0x48,0x59,0xe1),_0x42cde8(0x227,0x1c6,0x18d,0x328),'sudo','tokens',_0x48c1e5(0x33f,0x29a,0x451,0x420),'cached',_0x42cde8(0x155,0x25,0x73,-0xd),'tools',_0x42cde8(0xe,0xe5,0x8f,0xf5),'lsp','gitBranch',_0x42cde8(-0x90,-0x9,-0x162,-0x12d),_0x42cde8(0x137,0x1da,0x6f,0x243),_0x42cde8(0x15,0x87,-0x6,0x66)]),statuslineItemSchema=z['union']([statuslineSegmentSchema,z[_0x42cde8(0x1cf,0x17d,0x1b6,0x53)]('|')]),statuslineRowSchema=z[_0x48c1e5(0x3d1,0x3fc,0x461,0x2ff)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z[_0x48c1e5(0x1e4,0x1de,0x2af,0x140)]([statuslineRowSchema,statuslineRowSchema])[_0x42cde8(0x131,0x7f,0x1c4,-0xad)]()})[_0x42cde8(-0x9c,0x39,0x1a0,-0xe1)](),memorySettingsSchema=z['object']({'version':z[_0x42cde8(0x29d,0x17d,0x2c3,0x245)](0x2)[_0x48c1e5(0x34a,0x3ca,0x399,0x3de)](),'retrieval':z[_0x48c1e5(0x319,0x1f6,0x3f4,0x1b2)]({'engine':z[_0x42cde8(0x16f,0x17d,0x1f2,0xad)](_0x48c1e5(0x1da,0xb9,0xb0,0x87))[_0x42cde8(0xf3,0x7f,-0x6f,0x16f)](),'candidateLimit':z[_0x48c1e5(0x341,0x2fb,0x2e1,0x487)]()['optional'](),'activeCandidateLimit':z[_0x48c1e5(0x341,0x3a4,0x1c8,0x2c1)]()[_0x42cde8(-0x41,0x7f,0x4c,0x71)](),'activeEnabled':z[_0x42cde8(0xa1,0xd1,0x11f,-0x81)]()[_0x42cde8(0x8c,0x7f,0x10d,-0x35)](),'maxQueriesPerTurn':z[_0x42cde8(0xc7,0x76,0x147,0x9c)]()[_0x42cde8(-0xc9,0x7f,0x17c,-0xa7)](),'coreInjectTokenBudget':z[_0x42cde8(0x60,0x76,0xbd,-0x7c)]()['optional'](),'injectTokenBudget':z[_0x42cde8(-0x1f,0x76,0x10d,0x1d0)]()[_0x48c1e5(0x34a,0x467,0x263,0x3e4)](),'minScore':z['number']()['optional'](),'freshnessHalfLifeDays':z[_0x42cde8(0x165,0x76,-0xe0,0x10b)]()[_0x42cde8(0xc3,0x7f,-0x1d,0x1bb)]()})[_0x48c1e5(0x304,0x1d6,0x322,0x31e)]()[_0x42cde8(0x13a,0x7f,0x7a,-0x77)](),'extraction':z[_0x48c1e5(0x319,0x2df,0x1aa,0x222)]({'enabled':z[_0x42cde8(0x5,0xd1,-0x87,0x1dd)]()['optional'](),'provider':z[_0x42cde8(0x16,0x157,0x3a,-0x3)]()[_0x42cde8(0x117,0x7f,0x1a6,0x10f)](),'model':z[_0x48c1e5(0x422,0x521,0x3c3,0x546)]()[_0x48c1e5(0x34a,0x498,0x232,0x354)](),'sensitiveFilter':z[_0x42cde8(0xf9,0xd1,0x168,-0x3a)]()[_0x48c1e5(0x34a,0x2a8,0x3c3,0x430)]()})[_0x42cde8(0x181,0x39,0x4d,-0xcf)]()['optional'](),'index':z['object']({'persisted':z[_0x48c1e5(0x39c,0x256,0x4c5,0x351)]()[_0x42cde8(-0x8a,0x7f,0xc6,0x139)](),'flushIntervalMs':z[_0x42cde8(-0x2f,0x76,0x116,-0xd5)]()['optional']()})[_0x48c1e5(0x304,0x250,0x3d2,0x1fd)]()[_0x42cde8(-0x7c,0x7f,0xa9,0x9e)](),'enabled':z['boolean']()[_0x48c1e5(0x34a,0x424,0x46d,0x42d)](),'saveTool':z[_0x42cde8(0x165,0xd1,-0x69,-0x85)]()[_0x48c1e5(0x34a,0x36d,0x4b6,0x48f)](),'model':z['string']()[_0x42cde8(0x2c,0x7f,0x7c,0x1c7)](),'provider':z[_0x48c1e5(0x422,0x4da,0x356,0x4b4)]()[_0x42cde8(0x1f1,0x7f,-0xd7,-0x57)](),'maxInjectionTokens':z['number']()[_0x48c1e5(0x34a,0x373,0x322,0x2e5)](),'backgroundExtraction':z['boolean']()[_0x48c1e5(0x34a,0x340,0x236,0x2c3)]()})[_0x48c1e5(0x304,0x348,0x24e,0x2d0)](),recentModelSchema=z[_0x48c1e5(0x319,0x32b,0x26e,0x486)]({'provider':z[_0x42cde8(0x1d1,0x157,0x154,0x165)](),'model':z[_0x42cde8(0x117,0x157,0x1b1,0xc8)](),'usedAt':z[_0x42cde8(0x4c,0x76,-0x30,0x15a)]()})['passthrough'](),lspServerEntrySchema=z[_0x42cde8(0x1b8,0x4e,0x133,0x172)]({'disabled':z['boolean']()[_0x48c1e5(0x34a,0x36e,0x2e5,0x480)](),'command':z['string']()[_0x48c1e5(0x34a,0x203,0x3d9,0x396)](),'args':z[_0x48c1e5(0x3d1,0x274,0x2cd,0x4f3)](z[_0x42cde8(0x2cd,0x157,0x1c0,0x161)]())[_0x42cde8(0x1ae,0x7f,0x6b,-0xdf)](),'rootMarkers':z['array'](z[_0x42cde8(0x1e2,0x157,0x73,0x1a1)]())['optional']()})['passthrough'](),lspConfigSchema=z[_0x48c1e5(0x319,0x3f0,0x2be,0x434)]({'enabled':z[_0x48c1e5(0x39c,0x2d7,0x40e,0x2f0)]()[_0x48c1e5(0x34a,0x490,0x48f,0x3ca)](),'servers':z[_0x42cde8(0x108,0x72,0x1c7,0x1a8)](z[_0x42cde8(0xd5,0x157,0x2a7,-0x27)](),lspServerEntrySchema)[_0x48c1e5(0x34a,0x39a,0x485,0x392)]()})[_0x42cde8(0x4,0x39,0x7f,0x0)](),serverEndpointSchema=z[_0x48c1e5(0x319,0x3d9,0x301,0x2e9)]({'url':z[_0x42cde8(0x1c0,0x157,0x157,0x21)](),'token':z[_0x42cde8(0x122,0x157,0x27f,0x265)]()[_0x42cde8(0x1d5,0x7f,0xe0,0x18c)]()})[_0x42cde8(0xb5,0x39,-0x41,0x121)](),commandHookConfigSchema=z['object']({'type':z[_0x48c1e5(0x448,0x4cb,0x2d0,0x5bc)](_0x42cde8(0x156,0x10,0x17b,0x147)),'command':z[_0x42cde8(0x2ae,0x157,0x1f1,0x23e)](),'timeout':z[_0x48c1e5(0x341,0x2c9,0x424,0x42d)]()[_0x42cde8(-0x20,0x7f,0x66,0x8)]()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x48c1e5(0x422,0x2c2,0x2fe,0x2c7)]()[_0x42cde8(-0x100,0x7f,0xe8,0x18e)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x42cde8(0xd8,0x4e,-0x53,-0xc9)]({'PreToolUse':z['array'](hookMatcherGroupSchema)[_0x42cde8(0x77,0x7f,0x3e,-0x82)](),'PostToolUse':z[_0x42cde8(0x92,0x106,0x1e1,-0x4)](hookMatcherGroupSchema)[_0x48c1e5(0x34a,0x343,0x476,0x2ca)](),'UserPromptSubmit':z[_0x42cde8(-0x1a,0x106,0x10,-0x2c)](hookMatcherGroupSchema)[_0x48c1e5(0x34a,0x325,0x214,0x34a)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x42cde8(-0xf5,0x7f,-0x38,-0xae)](),'Notification':z[_0x48c1e5(0x3d1,0x311,0x31a,0x279)](hookMatcherGroupSchema)[_0x42cde8(0x145,0x7f,0x189,0x15e)](),'ToolApprovalRequest':z[_0x42cde8(-0x3,0x106,0x22,0x84)](hookMatcherGroupSchema)['optional'](),'SessionStart':z[_0x42cde8(0x29,0x106,0x1ca,0xe0)](hookMatcherGroupSchema)[_0x42cde8(0x7b,0x7f,-0x23,0x1b7)](),'SessionEnd':z[_0x42cde8(0x211,0x106,0x248,0x1b4)](hookMatcherGroupSchema)['optional']()}),providerNameSchema=z[_0x48c1e5(0x422,0x450,0x32b,0x480)]()['min'](0x1,_0x42cde8(0x19,-0xb5,0x32,-0x1cd))[_0x42cde8(0x228,0x148,0x12e,0x184)](_0xfd2318=>!_0xfd2318[_0x48c1e5(0x31e,0x3aa,0x209,0x3ef)](':'),'Provider\x20name\x20cannot\x20contain\x20\x27:\x27'),cliConfigSchema=z[_0x48c1e5(0x319,0x1a5,0x40b,0x27e)]({'activeProvider':providerNameSchema[_0x42cde8(0x15e,0x7f,0x138,0x0)](),'activeModel':z[_0x48c1e5(0x422,0x394,0x439,0x3bb)]()[_0x42cde8(0xa6,0x7f,0x0,-0x70)](),'apiKey':z[_0x48c1e5(0x422,0x3a7,0x570,0x503)]()['optional'](),'providers':z[_0x42cde8(0x11,0x72,-0x43,0x1ed)](providerNameSchema,providerConfigSchema)[_0x42cde8(-0xc0,0x7f,0x75,0x1a4)](),'mcp':mcpSettingsSchema[_0x48c1e5(0x34a,0x389,0x2a7,0x210)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x48c1e5(0x34a,0x1eb,0x283,0x2d1)](),'commands':commandsSettingsSchema[_0x48c1e5(0x34a,0x4c0,0x363,0x327)](),'skillsEnabled':z[_0x48c1e5(0x33d,0x408,0x22d,0x21e)](z['string'](),z[_0x42cde8(-0x4b,0xd1,0x201,0x7d)]())[_0x48c1e5(0x34a,0x2ee,0x46f,0x36a)](),'allowedDirs':z[_0x42cde8(0xc7,0x106,0x1de,0x253)](z['string']())[_0x42cde8(0x7e,0x7f,0x102,0x17e)](),'mcpEnabled':prototypeSafeRecord(z[_0x48c1e5(0x39c,0x4bb,0x38f,0x355)]())[_0x48c1e5(0x34a,0x3df,0x422,0x3ae)](),'commandsEnabled':z[_0x48c1e5(0x33d,0x29f,0x1df,0x34e)](z['string'](),z['boolean']())[_0x42cde8(-0x47,0x7f,0x9,0x130)](),'memory':memorySettingsSchema[_0x48c1e5(0x34a,0x373,0x2a3,0x33d)](),'session':z['object']({'memPersist':z[_0x42cde8(0x224,0xd1,0x248,0x129)]()[_0x48c1e5(0x34a,0x3b2,0x3bf,0x398)](),'persistEventLog':z[_0x48c1e5(0x39c,0x44a,0x346,0x4fb)]()[_0x42cde8(0x1e9,0x7f,-0xf5,0x4e)](),'persistHttpLog':z[_0x48c1e5(0x39c,0x4e5,0x326,0x490)]()[_0x42cde8(-0x9,0x7f,0x6,0x5)]()})['passthrough']()[_0x42cde8(0xdd,0x7f,0x9b,0x39)](),'requireToolApproval':z[_0x48c1e5(0x39c,0x465,0x4ba,0x4d6)]()['optional'](),'thinking':z[_0x48c1e5(0x39a,0x2de,0x517,0x387)](['OFF',_0x48c1e5(0x368,0x3de,0x395,0x3ed),_0x48c1e5(0x23a,0x2a0,0x1c8,0x1e9),_0x48c1e5(0x2ee,0x1c7,0x1e3,0x34d)])[_0x42cde8(0xc3,0x7f,0xde,0x16b)](),'streamingChunks':z['boolean']()['optional'](),'agentsEnabled':z['record'](z['string'](),z[_0x42cde8(0x14d,0xd1,0x112,-0x7b)]())[_0x48c1e5(0x34a,0x3f3,0x370,0x2e9)](),'recentModels':z[_0x42cde8(-0x74,0x106,0x25e,0x53)](recentModelSchema)[_0x48c1e5(0x34a,0x20a,0x360,0x240)](),'lsp':lspConfigSchema[_0x42cde8(0xc7,0x7f,-0x88,0x1d6)](),'servers':z[_0x48c1e5(0x33d,0x263,0x49f,0x35b)](z[_0x42cde8(0x2b7,0x157,0x42,0x1b8)](),serverEndpointSchema)[_0x48c1e5(0x34a,0x1cc,0x496,0x205)](),'ui':z[_0x48c1e5(0x319,0x463,0x455,0x1b0)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema['optional']()})[_0x42cde8(-0x104,0x39,-0xa8,0x189)]()[_0x42cde8(0xe0,0x7f,0x12a,0x58)](),'tools':z[_0x42cde8(0x13c,0x72,-0x39,-0x22)](z['string'](),z[_0x48c1e5(0x2e2,0x21d,0x228,0x1cc)]())[_0x48c1e5(0x34a,0x3b1,0x380,0x24e)](),'hooks':hooksConfigSchema[_0x42cde8(0x119,0x7f,0x5d,0x5)]()})['passthrough'](),workspaceOverlaySchema=z[_0x48c1e5(0x319,0x1d8,0x46a,0x2f5)]({'root':z[_0x42cde8(0x207,0x157,0xc7,-0x9)]()[_0x42cde8(0x1c5,0x7f,-0xb7,-0x51)](),'allowedDirs':z['array'](z[_0x42cde8(0x21d,0x157,0x135,0xea)]())[_0x42cde8(0x1cb,0x7f,0x1a3,0x13f)](),'activeProvider':providerNameSchema[_0x48c1e5(0x34a,0x271,0x30a,0x313)](),'activeModel':z[_0x42cde8(0x120,0x157,0x18b,0x24f)]()[_0x48c1e5(0x34a,0x3d5,0x29b,0x1f8)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x42cde8(0x174,0x7f,0xdf,0xe2)](),'agents':agentsSettingsSchema[_0x42cde8(0xa9,0x7f,-0xb,0x11d)](),'commands':commandsSettingsSchema[_0x42cde8(0xd5,0x7f,0x172,0x93)](),'hooks':hooksConfigSchema[_0x42cde8(0x7a,0x7f,-0x31,-0x9c)](),'memory':memorySettingsSchema[_0x48c1e5(0x34a,0x3d6,0x249,0x297)](),'mcpEnabled':prototypeSafeRecord(z[_0x42cde8(-0x2d,0xd1,-0xd,0x1c6)]())[_0x42cde8(0xaa,0x7f,0x1ba,-0xeb)](),'skillsEnabled':z['record'](z[_0x48c1e5(0x422,0x2e6,0x359,0x4eb)](),z[_0x48c1e5(0x39c,0x321,0x46f,0x30c)]())[_0x42cde8(0x50,0x7f,0x1e1,0x23)](),'agentsEnabled':z[_0x48c1e5(0x33d,0x24f,0x4a9,0x27b)](z[_0x42cde8(0x21e,0x157,-0x3,0xfe)](),z['boolean']())[_0x42cde8(0x1a4,0x7f,0x0,0x26)](),'commandsEnabled':z[_0x48c1e5(0x33d,0x268,0x24c,0x2a3)](z['string'](),z[_0x48c1e5(0x39c,0x474,0x43b,0x25e)]())[_0x42cde8(0x1aa,0x7f,0xb,0x153)]()})[_0x42cde8(0x175,0x39,-0x27,-0xed)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x42cde8(-0x152,-0x11,-0x79,-0x16f)](Object[_0x48c1e5(0x487,0x57d,0x47a,0x575)]),_0x48c1e5(0x487,0x3ed,0x564,0x5df)]);function buildDescription(_0x49a3ee){const _0x306fe2={_0x322dfa:0x1c7,_0x5e3702:0x377,_0x350e65:0x281,_0x21f9d2:0x126,_0x13ec02:0x1ba,_0xf018a4:0xd1,_0x3a8b1b:0xf0,_0x13e5ab:0x1f8,_0x18fef8:0x2fa,_0xa13f57:0x10b,_0x916a96:0x2d2,_0x299e4b:0x22c,_0xa4667e:0x1fd,_0x26a7df:0xf4,_0x2f3483:0x11e,_0x497b9b:0x19},_0x2af9c9={_0x554274:0x60},_0x18bc5e={_0x15fb31:0x1a9};function _0x468dcd(_0x30fb15,_0x1c0216,_0x3b5816,_0x29f3ed){return _0x48c1e5(_0x3b5816- -0x1a9,_0x1c0216-_0x18bc5e._0x15fb31,_0x30fb15,_0x29f3ed-0x1e);}function _0x29a610(_0x172a28,_0x1b151b,_0x50d612,_0x37b45f){return _0x42cde8(_0x172a28-0xd5,_0x50d612- -0x18f,_0x50d612-_0x2af9c9._0x554274,_0x37b45f);}if(_0x49a3ee[_0x468dcd(-0xba,_0x306fe2._0x322dfa,0x74,0x45)]===0x0)return[_0x29a610(-_0x306fe2._0x5e3702,-_0x306fe2._0x350e65,-0x1f8,-_0x306fe2._0x21f9d2),_0x29a610(-0x20a,-0x1f9,-_0x306fe2._0x13ec02,-0xf3),_0x29a610(-_0x306fe2._0xf018a4,-0x196,-0x171,-0x150)]['join']('\x0a');const _0x93181b=[_0x29a610(-0x220,-_0x306fe2._0x3a8b1b,-_0x306fe2._0x13e5ab,-0x2c8),_0x29a610(-_0x306fe2._0x18fef8,-_0x306fe2._0xa13f57,-_0x306fe2._0x13ec02,-_0x306fe2._0x916a96),_0x29a610(-_0x306fe2._0x299e4b,-_0x306fe2._0xa4667e,-0x1df,-_0x306fe2._0x26a7df),..._0x49a3ee['map'](_0x587ec2=>_0x587ec2[_0x29a610(-0x1d8,-0x209,-0x297,-0x2b9)]?'-\x20'+_0x587ec2[_0x29a610(-0x1b1,-0x251,-0x196,-0x15b)]+'\x20'+_0x587ec2[_0x468dcd(-0x140,0xb4,0x1a,-0x144)]+':\x20'+_0x587ec2[_0x468dcd(0x239,0x149,0x1e0,0x1f6)]:'-\x20'+_0x587ec2[_0x29a610(-0x215,-0x28a,-0x196,-0x117)]+':\x20'+_0x587ec2['description'])];return _0x93181b[_0x29a610(-0x19,-0x13e,-_0x306fe2._0x2f3483,-_0x306fe2._0x497b9b)]('\x0a');}function createInvokeCommandTool(_0x18b11b){const _0x1e7a23={_0x549f13:0x1dc,_0x2d5d2f:0x1d5,_0x28cbd0:0x99,_0x3609fc:0x186,_0x1468ba:0x224,_0x2873a2:0x152,_0x522168:0x186,_0x2b87b5:0x20f,_0x106e91:0x16c,_0x112fc6:0x14f,_0x430eb9:0x55,_0x298ed0:0x51,_0x80295e:0x1b0,_0x5debc8:0xec},_0xdc7d32={_0x5347fa:0x243,_0x2d25f9:0xd2,_0x52df72:0x4c,_0x23ba79:0xb9,_0x2c152a:0x55,_0x27c72f:0x142,_0x1df2bb:0x260,_0x2ce066:0x1f5,_0x725176:0x348,_0x2021ce:0x345,_0x302c0c:0x386,_0x52f669:0x27d,_0x52a829:0x2b6,_0x5af386:0x179,_0x232bc3:0x1d6,_0x4118fe:0x1fe,_0x49b8a4:0x90,_0x239a56:0x53,_0x3aebe1:0x39,_0x1d03c0:0x14,_0x4b498b:0x12d},_0x178005={_0x30508b:0xa9,_0x1cafe5:0xf1,_0x54af69:0x1c2},_0x16ecf5={_0x2c3531:0x4e6,_0x4114ae:0xbf},_0xcc5f9a=new Map(_0x18b11b[_0x50ff84(-_0x1e7a23._0x549f13,-_0x1e7a23._0x2d5d2f,-_0x1e7a23._0x28cbd0,-_0x1e7a23._0x3609fc)][_0x498e7c(_0x1e7a23._0x1468ba,_0x1e7a23._0x2873a2,0xeb,0x29)](_0x202682=>[_0x202682['id'],_0x202682]));function _0x498e7c(_0x448dc2,_0x29cf35,_0x4b9fa2,_0x1f47eb){return _0x42cde8(_0x448dc2-0x155,_0x4b9fa2- -0x106,_0x4b9fa2-0x19f,_0x29cf35);}const _0x4576e4=buildDescription(_0x18b11b[_0x50ff84(-0x242,-0x1ca,-0x22d,-_0x1e7a23._0x522168)]);function _0x50ff84(_0x1f8d8c,_0xaf2d8f,_0x34d18b,_0xa9c5ac){return _0x48c1e5(_0xa9c5ac- -_0x16ecf5._0x2c3531,_0xaf2d8f-0x51,_0x1f8d8c,_0xa9c5ac-_0x16ecf5._0x4114ae);}return defineTool({'name':'InvokeCommand','description':_0x4576e4,'inputSchema':{'type':_0x498e7c(-_0x1e7a23._0x2b87b5,-0xfd,-0xb8,-_0x1e7a23._0x106e91),'properties':{'name':{'type':_0x498e7c(_0x1e7a23._0x112fc6,-_0x1e7a23._0x430eb9,_0x1e7a23._0x298ed0,_0x1e7a23._0x80295e)},'args':{'type':'string'}},'required':[_0x50ff84(-0xfc,-0x2fd,-_0x1e7a23._0x5debc8,-0x222)]},async *'execute'(_0x54b0eb){const _0x347c8f=_0xcc5f9a[_0x18200e(0x19e,0x2ab,0x2bc,0x1fe)](_0x54b0eb[_0x59eec9(-0x2dc,-0x270,-_0xdc7d32._0x5347fa,-0x1fe)]);function _0x59eec9(_0x2c4481,_0x7ee1c0,_0x550ada,_0x2c7ea3){return _0x498e7c(_0x2c4481-_0x178005._0x30508b,_0x2c4481,_0x2c7ea3- -_0x178005._0x1cafe5,_0x2c7ea3-_0x178005._0x54af69);}if(!_0x347c8f){const _0x2357c8=Array['from'](_0xcc5f9a[_0x59eec9(-_0xdc7d32._0x2d25f9,-0x1d5,-_0xdc7d32._0x52df72,-_0xdc7d32._0x23ba79)]())[_0x18200e(_0xdc7d32._0x2c152a,_0xdc7d32._0x27c72f,0x21b,0xdd)](',\x20');throw new ToolExecutionError(_0x59eec9(-0x2f6,-0x219,-_0xdc7d32._0x1df2bb,-_0xdc7d32._0x2ce066)+_0x54b0eb[_0x59eec9(-0x141,-_0xdc7d32._0x725176,-0x2b6,-0x1fe)]+_0x59eec9(-_0xdc7d32._0x2021ce,-_0xdc7d32._0x302c0c,-0x3a7,-_0xdc7d32._0x52f669)+_0x2357c8,{'name':_0x54b0eb[_0x59eec9(-_0xdc7d32._0x52a829,-_0xdc7d32._0x5af386,-_0xdc7d32._0x232bc3,-_0xdc7d32._0x4118fe)]});}function _0x18200e(_0x34f0f8,_0x1fed3b,_0x2c8dae,_0x3ee91d){return _0x498e7c(_0x34f0f8-0x194,_0x34f0f8,_0x3ee91d-0x172,_0x3ee91d-0x196);}const _0x401178=await _0x18b11b['loadCommand'](_0x347c8f),_0x1cf204=_0x54b0eb['args']??'',_0x2c1fc6=renderCommandInstructions({'instructions':_0x401178[_0x18200e(_0xdc7d32._0x49b8a4,-0xf7,-_0xdc7d32._0x239a56,-_0xdc7d32._0x3aebe1)],'argumentsText':_0x1cf204,'argumentNames':_0x401178[_0x18200e(-0x6,_0xdc7d32._0x1d03c0,0x108,_0xdc7d32._0x4b498b)]});return yield createToolOutput(_0x2c1fc6,{'id':_0x401178['id'],'name':_0x401178['name'],'path':_0x347c8f['source']['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0xd387fa,rename as _0x5cfd80,stat as _0x17084a,writeFile as _0x323fd3}from'fs/promises';import*as _0x584a5d from'path';function detectEol(_0x346290){const _0x4503df={_0x157e40:0xa1,_0x44cc46:0x1b9,_0x2cfd4b:0x4b,_0x378a12:0xcf},_0x1e1ec0={_0x48d079:0x107,_0x17415c:0x19f},_0x737c09={_0x14fd8a:0xe3,_0x504663:0x1ca};function _0x41045b(_0x57e154,_0x17fb78,_0x1fc32c,_0x3ba0a7){return _0x42cde8(_0x57e154-0x1cb,_0x57e154-_0x737c09._0x14fd8a,_0x1fc32c-_0x737c09._0x504663,_0x1fc32c);}function _0x2a0249(_0x32a59e,_0x246085,_0xf777fe,_0x3f4dab){return _0x42cde8(_0x32a59e-_0x1e1ec0._0x48d079,_0xf777fe- -0x174,_0xf777fe-_0x1e1ec0._0x17415c,_0x32a59e);}return/\r\n/['test'](_0x346290['toString'](_0x2a0249(-_0x4503df._0x157e40,-0x96,-_0x4503df._0x44cc46,-0x29f)))?_0x41045b(0xd1,0x1f2,_0x4503df._0x2cfd4b,_0x4503df._0x378a12):'lf';}function normalizeToLf(_0x2c1065){const _0x9e06e={_0x59d1cd:0x3e8,_0x52e6d2:0x30c,_0x71119f:0x2bc};function _0x95a023(_0x2caccf,_0x448c62,_0x3497da,_0x565494){return _0x48c1e5(_0x448c62- -0x16e,_0x448c62-0x4a,_0x3497da,_0x565494-0xd7);}return _0x2c1065[_0x95a023(_0x9e06e._0x59d1cd,_0x9e06e._0x52e6d2,_0x9e06e._0x71119f,0x1d2)](/\r\n/g,'\x0a');}function convertEol(_0x99c263,_0x13a3b0){const _0x52517b={_0x10c2ed:0x4c7,_0x5ccf4a:0x409,_0x1eaa82:0x406,_0x2e750c:0x23},_0x3b9b4a={_0x369c32:0x4d9,_0x5ee31d:0x1d7},_0x272b32={_0x4a18e5:0x457,_0x149cb7:0x8f,_0x3a8ddf:0x1};function _0x3f18ba(_0x3c278b,_0x532814,_0x25e59b,_0xda4cfd){return _0x48c1e5(_0x3c278b- -_0x272b32._0x4a18e5,_0x532814-_0x272b32._0x149cb7,_0xda4cfd,_0xda4cfd-_0x272b32._0x3a8ddf);}function _0xb03d37(_0x246a30,_0x2dc5b7,_0x2c825c,_0x2682a3){return _0x42cde8(_0x246a30-0xc5,_0x2dc5b7-_0x3b9b4a._0x369c32,_0x2c825c-_0x3b9b4a._0x5ee31d,_0x2c825c);}return _0x13a3b0===_0xb03d37(0x419,_0x52517b._0x10c2ed,_0x52517b._0x5ccf4a,_0x52517b._0x1eaa82)?_0x99c263[_0x3f18ba(_0x52517b._0x2e750c,0x20,-0x3a,-0x12a)](/\n/g,'\x0d\x0a'):_0x99c263;}async function atomicWrite(_0x289d76,_0x64f167){const _0x509ce1={_0x5cdc32:0xc7,_0x4393a6:0x246,_0x36207f:0x1e8,_0x4497b2:0x2d9,_0x3b5d95:0x18,_0x5a5348:0xd9},_0x5592cb={_0x4aa8a0:0x1d7},_0x332d8e=_0x584a5d['dirname'](_0x289d76);function _0x458ab6(_0x3c564f,_0x375f29,_0x595be3,_0xecc277){return _0x48c1e5(_0x595be3- -0x23d,_0x375f29-0x1d6,_0x3c564f,_0xecc277-_0x5592cb._0x4aa8a0);}const _0x1e4fe2=_0x584a5d['join'](_0x332d8e,_0x3f76cf(0x38,0x6c,-_0x509ce1._0x5cdc32,-0x23)+_0x584a5d['basename'](_0x289d76)+'.'+Date[_0x458ab6(0x227,0x1c3,0x21f,0x1de)]()+'.'+Math[_0x458ab6(0x176,0x1fa,_0x509ce1._0x4393a6,0x140)]()[_0x458ab6(_0x509ce1._0x36207f,0x172,0x210,_0x509ce1._0x4497b2)](0x24)[_0x3f76cf(_0x509ce1._0x3b5d95,0x85,-0xe,_0x509ce1._0x5a5348)](0x2));await _0x323fd3(_0x1e4fe2,_0x64f167);function _0x3f76cf(_0x31e5e2,_0x56d5e8,_0x15bf1e,_0x3ca66d){return _0x42cde8(_0x31e5e2-0x15e,_0x3ca66d-0xd4,_0x15bf1e-0x1af,_0x31e5e2);}await _0x5cfd80(_0x1e4fe2,_0x289d76);}function sha256(_0x23faad){const _0x4f9322={_0x16abd3:0x339,_0x9b8bc3:0x1cb,_0xd3236e:0x69,_0x4bf71c:0xd4,_0x41ccec:0x67,_0x249188:0x113,_0x16a5b5:0x10,_0xe01702:0x32a,_0x5cba3f:0x3fc},_0x18095b={_0x5b4979:0x88,_0x11f097:0x1c6,_0x20c328:0x1c9},_0x3f8c7e={_0x3f828d:0xa1,_0x1b3cf6:0x1ad};function _0x33d6e7(_0x26dd96,_0x4ee330,_0x482296,_0x2f0873){return _0x42cde8(_0x26dd96-0x3a,_0x4ee330-_0x3f8c7e._0x3f828d,_0x482296-_0x3f8c7e._0x1b3cf6,_0x2f0873);}function _0x3b44a7(_0x59d537,_0x2a548e,_0x59c08f,_0x20d034){return _0x42cde8(_0x59d537-_0x18095b._0x5b4979,_0x59d537-_0x18095b._0x11f097,_0x59c08f-_0x18095b._0x20c328,_0x2a548e);}return createHash(_0x33d6e7(_0x4f9322._0x16abd3,0x1c8,0x19c,_0x4f9322._0x9b8bc3))[_0x33d6e7(0x154,0x41,-_0x4f9322._0xd3236e,_0x4f9322._0x4bf71c)](_0x23faad)[_0x33d6e7(0x118,_0x4f9322._0x41ccec,_0x4f9322._0x249188,-_0x4f9322._0x16a5b5)](_0x3b44a7(_0x4f9322._0xe01702,_0x4f9322._0x5cba3f,0x265,0x454));}function countLines(_0x373580){const _0x120433={_0x33af19:0x813,_0x5aa242:0x6ab,_0x20280a:0xd3,_0x54871b:0x91,_0x658e00:0x11,_0x30160d:0x185},_0x4d9046={_0x8f8e59:0x231,_0x628f77:0xf6},_0x30e93c={_0x9065c6:0x1e4,_0x340dfe:0xcc,_0x3bec41:0x7};function _0x1647c2(_0x122f9e,_0x4de3b6,_0x57bafe,_0xc4a7ac){return _0x42cde8(_0x122f9e-_0x30e93c._0x9065c6,_0x4de3b6- -_0x30e93c._0x340dfe,_0x57bafe-_0x30e93c._0x3bec41,_0xc4a7ac);}function _0x5916a0(_0x194a77,_0x1e1365,_0x277c5d,_0x3cb45e){return _0x48c1e5(_0x1e1365-_0x4d9046._0x8f8e59,_0x1e1365-_0x4d9046._0x628f77,_0x194a77,_0x3cb45e-0x17e);}const _0x2ec0c7=_0x373580[_0x5916a0(_0x120433._0x33af19,_0x120433._0x5aa242,0x7c4,0x6a5)](/\n$/,'');return _0x2ec0c7[_0x5916a0(0x532,0x44e,0x318,0x4fc)]===0x0?0x0:_0x2ec0c7[_0x1647c2(-_0x120433._0x20280a,0x6f,-_0x120433._0x54871b,-_0x120433._0x658e00)]('\x0a')[_0x1647c2(-0xc9,-0x17a,-_0x120433._0x30160d,-0xe4)];}function calculateLineNumbers(_0x2f0476,_0xa1b994,_0xf6e15e,_0x42baf0){const _0x24e5bf={_0x3cb403:0x2a4,_0x53f1ae:0x129,_0xa361ac:0x1c5,_0x2aedcb:0x99},_0x3d4146={_0x28a536:0xb7},_0x3711fa={_0x2b09be:0x3f9,_0x35f8f3:0x10f,_0x52d1e1:0xa5};function _0x525a77(_0x55d8a2,_0x58d659,_0x5c99bb,_0x479ce5){return _0x48c1e5(_0x479ce5- -_0x3711fa._0x2b09be,_0x58d659-_0x3711fa._0x35f8f3,_0x55d8a2,_0x479ce5-_0x3711fa._0x52d1e1);}const _0x1c0763=_0x2f0476[_0x525a77(-_0x24e5bf._0x3cb403,0xb,-0x16d,-_0x24e5bf._0x53f1ae)](0x0,_0x42baf0)['split']('\x0a')[_0x19c457(_0x24e5bf._0xa361ac,0xcd,_0x24e5bf._0x2aedcb,0x170)],_0x17e794=countLines(_0xa1b994),_0x1fc518=countLines(_0xf6e15e);function _0x19c457(_0x36e522,_0x2a47be,_0x4a5c8c,_0x2790bf){return _0x42cde8(_0x36e522-_0x3d4146._0x28a536,_0x2790bf-0x21e,_0x4a5c8c-0x118,_0x4a5c8c);}return{'oldStartLine':_0x1c0763,'oldEndLine':_0x1c0763+_0x17e794-0x1,'newStartLine':_0x1c0763,'newEndLine':_0x1c0763+_0x1fc518-0x1,'oldLineCount':_0x17e794,'newLineCount':_0x1fc518};}function createFileEditTool(_0xf18804={}){const _0x14a5b4={_0xaa2e86:0x1a,_0x1649e4:0xcd,_0x527df1:0x21a,_0x513d63:0x46,_0x5e1c07:0x1da,_0x5e0d71:0x2ee,_0x534150:0x265,_0x3237b2:0x284,_0x2b9279:0x158,_0x4b6736:0x3b6,_0x5c96a9:0x37c,_0x5d8f64:0x26e,_0xa6254f:0x351,_0x5e62ad:0x483,_0x406ca1:0x11d,_0x58ad89:0x23c,_0x7af77b:0x1c3,_0x106945:0x171},_0x1803f8={_0x2c32fe:0x27c,_0x1dbdc9:0x219,_0x38ebf6:0x203,_0x2e7834:0xc3,_0x1d4337:0xd4,_0x5edde6:0x235,_0x1bfce1:0x2f4,_0x5a7283:0x3d0,_0x170e88:0x46c,_0x4f4e7c:0x31a,_0x3cddf1:0xe0,_0x21e6e3:0x4f,_0x3b217a:0x301,_0x4f7ac1:0x1be,_0x1ce190:0x15b,_0x45636c:0x65,_0x1ebcc3:0x54,_0x344b22:0x126,_0x33d4ad:0x117,_0x2b86eb:0x188,_0x4a50f2:0x4,_0x158cfe:0x158,_0xa921a3:0x12b,_0x557ae8:0x203,_0x34d877:0x1cc,_0x358df5:0x81,_0x45cbba:0x328},_0x583edf={_0x5c83f1:0x56,_0x5c3c41:0x37},_0x4f9548={_0xa18c1e:0x11a},_0x3c1247=_0x584a5d[_0x4936c9(0x39e,0x29b,0x361,0x21c)](_0xf18804['defaultCwd']??process[_0xd356e2(-_0x14a5b4._0xaa2e86,_0x14a5b4._0x1649e4,_0x14a5b4._0x527df1,_0x14a5b4._0x513d63)]());function _0xd356e2(_0x179442,_0x4485b8,_0x5ed9f7,_0x5bba6b){return _0x48c1e5(_0x4485b8- -0x1b4,_0x4485b8-_0x4f9548._0xa18c1e,_0x5ed9f7,_0x5bba6b-0xde);}const _0x87b49c=_0xf18804['allowedDirs']??[],_0x1bc6ab=_0xf18804[_0x4936c9(0x1f4,_0x14a5b4._0x5e1c07,0x322,0xbe)]??_0xd356e2(_0x14a5b4._0x5e0d71,_0x14a5b4._0x534150,_0x14a5b4._0x3237b2,_0x14a5b4._0x2b9279);function _0x4936c9(_0x5c2878,_0x3d0e3b,_0x4919e5,_0x1cf8ca){return _0x48c1e5(_0x3d0e3b- -0xea,_0x3d0e3b-0x1ca,_0x5c2878,_0x1cf8ca-0x1b0);}return defineTool({'name':_0x1bc6ab,'description':_0xd356e2(0x4b,0xc2,0x123,0x196),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x4936c9(0x44f,0x338,_0x14a5b4._0x4b6736,0x2bc)},'description':{'type':_0xd356e2(_0x14a5b4._0x5c96a9,0x26e,_0x14a5b4._0x5d8f64,0x241),'description':_0xd356e2(0x1d8,0x2ad,0x1e1,_0x14a5b4._0xa6254f)},'oldText':{'type':_0x4936c9(_0x14a5b4._0x5e62ad,0x338,0x245,0x3c3)},'newText':{'type':_0xd356e2(_0x14a5b4._0x406ca1,_0x14a5b4._0x5d8f64,0x2fa,_0x14a5b4._0x58ad89)},'dryRun':{'type':_0x4936c9(_0x14a5b4._0x7af77b,0x2b2,_0x14a5b4._0x106945,0x1db)}},'required':['filePath','oldText','newText']},async *'execute'(_0x23df40){const _0x2dbf24={_0x12dd8a:0x277,_0x3a46cd:0x6c},_0x1012c4=resolveAllowedPath(_0x3c1247,_0x87b49c,_0x23df40[_0x3916a8(0x13a,0x2b8,_0x1803f8._0x2c32fe,_0x1803f8._0x1dbdc9)]);await assertWorkspaceFile(_0x1012c4);function _0xca9ddb(_0xcdd7d5,_0x41ecf5,_0x551be8,_0x92cc94){return _0xd356e2(_0xcdd7d5-0x68,_0x92cc94- -_0x2dbf24._0x12dd8a,_0x41ecf5,_0x92cc94-_0x2dbf24._0x3a46cd);}const _0x523b49=await _0x17084a(_0x1012c4),_0xb6e2f8=await _0xd387fa(_0x1012c4),_0x45a507=detectEol(_0xb6e2f8);function _0x3916a8(_0x1e407d,_0x2481d0,_0x3d826d,_0x7463b6){return _0xd356e2(_0x1e407d-_0x583edf._0x5c83f1,_0x7463b6-0x18,_0x2481d0,_0x7463b6-_0x583edf._0x5c3c41);}const _0x19040c=normalizeToLf(_0xb6e2f8['toString'](_0xca9ddb(-_0x1803f8._0x38ebf6,-_0x1803f8._0x2e7834,-0x31f,-0x1a5))),_0x1e4046=normalizeToLf(_0x23df40[_0x3916a8(0x15,-0x8c,-0x8a,_0x1803f8._0x1d4337)]),_0x436910=normalizeToLf(_0x23df40[_0x3916a8(_0x1803f8._0x5edde6,_0x1803f8._0x1bfce1,0x107,0x272)]),_0x182f11=_0x19040c[_0x3916a8(_0x1803f8._0x5a7283,_0x1803f8._0x170e88,0x438,_0x1803f8._0x4f4e7c)](_0x1e4046);if(_0x182f11===-0x1){const _0x19a8f6=_0x1e4046['slice'](0x0,0x64)[_0xca9ddb(_0x1803f8._0x3cddf1,0x9,0x103,_0x1803f8._0x21e6e3)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x3916a8(0x42b,0x3fb,0x232,_0x1803f8._0x3b217a)+_0x19a8f6+(_0x1e4046[_0xca9ddb(-_0x1803f8._0x4f7ac1,-0x14c,-0xa7,-0x20e)]>0x64?'...':'')+'\x22',{'filePath':_0x23df40[_0x3916a8(0x2dd,0x237,0x2fa,0x219)]});}const _0x558320=_0x19040c['slice'](0x0,_0x182f11)+_0x436910+_0x19040c[_0xca9ddb(-0x103,-0xa,-0xed,-_0x1803f8._0x1ce190)](_0x182f11+_0x1e4046[_0xca9ddb(-0x21e,-0x2f4,-0xd1,-0x20e)]),_0x410de2=convertEol(_0x558320,_0x45a507),_0x283e66=Buffer[_0x3916a8(-0xdc,0x35,_0x1803f8._0x45636c,0x2b)](_0x410de2,'utf8'),_0x2611e5=sha256(_0xb6e2f8),_0x3b5754=sha256(_0x283e66),_0x25817b=_0x2611e5===_0x3b5754,_0x1df4c0=_0x23df40[_0xca9ddb(-0x92,-_0x1803f8._0x1ebcc3,-_0x1803f8._0x344b22,-0x2a)]??![];return!_0x1df4c0&&!_0x25817b&&await atomicWrite(_0x1012c4,_0x283e66),yield createToolOutput(_0x25817b?'No\x20changes\x20(content\x20identical).':_0x1df4c0?_0xca9ddb(-0x89,0x2,-0xd6,-0x5f):_0xca9ddb(-0x18d,-0xc7,0x2c,-_0x1803f8._0x33d4ad),{'filePath':_0x23df40['filePath'],'resolvedPath':_0x1012c4,'created':_0x523b49['birthtime'][_0x3916a8(0x106,_0x1803f8._0x2b86eb,_0x1803f8._0x4a50f2,_0x1803f8._0x158cfe)](),'modified':_0x523b49['mtime'][_0x3916a8(0x22c,_0x1803f8._0xa921a3,_0x1803f8._0x557ae8,0x158)](),'size':_0x523b49['size'],'eol':_0x45a507,'oldTextLength':_0x1e4046[_0x3916a8(-0xfe,_0x1803f8._0x34d877,0x88,_0x1803f8._0x358df5)],'newTextLength':_0x436910[_0xca9ddb(-0x130,-_0x1803f8._0x45cbba,-0x14e,-0x20e)],'bytesWritten':_0x25817b||_0x1df4c0?0x0:_0x283e66['length'],'beforeSha':_0x2611e5,'afterSha':_0x3b5754,'dryRun':_0x1df4c0,'noChange':_0x25817b,'lineNumbers':calculateLineNumbers(_0x19040c,_0x1e4046,_0x436910,_0x182f11)}),void 0x0;}});}import{mkdir as _0x1ee7b9,rename as _0xd4a0ad,stat as _0x45ffda,writeFile as _0xa090e8}from'fs/promises';import*as _0x53542e from'path';async function atomicWrite2(_0x53af57,_0x169571){const _0x112a52={_0x31f3f5:0x72f,_0x113804:0x5f9,_0x7e9c31:0x45,_0x44484e:0x6e,_0x502c00:0xd0,_0x378b13:0x391,_0x4de77d:0x5e2,_0x942939:0x568,_0x5afc82:0x54,_0x4e248c:0x74,_0x428358:0x1b1},_0xc08308={_0x3fff4e:0x55e,_0x40e325:0x12e},_0x385982={_0x3d5e85:0x1db};function _0x2bccde(_0x38cc30,_0x1461b1,_0x46209d,_0x4589ac){return _0x48c1e5(_0x4589ac- -0x40c,_0x1461b1-0x1b8,_0x46209d,_0x4589ac-_0x385982._0x3d5e85);}const _0x3442a1=_0x53542e[_0x3ffd57(_0x112a52._0x31f3f5,0x519,0x68e,_0x112a52._0x113804)](_0x53af57);await _0x1ee7b9(_0x3442a1,{'recursive':!![]});const _0x4217d2=_0x53542e[_0x2bccde(-_0x112a52._0x7e9c31,0x8,-_0x112a52._0x44484e,-_0x112a52._0x502c00)](_0x3442a1,_0x2bccde(-_0x112a52._0x378b13,-0x283,-0x30f,-0x238)+_0x53542e[_0x3ffd57(0x50a,_0x112a52._0x4de77d,0x475,_0x112a52._0x942939)](_0x53af57)+'.'+Date['now']()+'.'+Math[_0x2bccde(_0x112a52._0x5afc82,-0x10,-_0x112a52._0x4e248c,0x77)]()['toString'](0x24)[_0x2bccde(0x17,-0xc4,-_0x112a52._0x428358,-0x13c)](0x2));await _0xa090e8(_0x4217d2,_0x169571);function _0x3ffd57(_0x905429,_0x5db48a,_0x54e83f,_0x394623){return _0x42cde8(_0x905429-0x65,_0x54e83f-_0xc08308._0x3fff4e,_0x54e83f-_0xc08308._0x40e325,_0x905429);}await _0xd4a0ad(_0x4217d2,_0x53af57);}function createFileNewTool(_0x287683={}){const _0x2d7ad0={_0x47a372:0x13d,_0x41ee6c:0x263,_0x335d4a:0x155,_0x273932:0x669,_0x257a46:0x551,_0x3c4201:0x3e9,_0x493894:0x548,_0x167a5c:0x513,_0x38fcbf:0x1b8,_0x57d0b3:0x80,_0x27db1c:0x185,_0x18f7dc:0x6aa,_0x27f560:0x524,_0x171d86:0x556,_0x3947f0:0x301,_0x37618b:0x39f,_0x584b3d:0x41b,_0x454349:0x2f9,_0xf1cb12:0x221,_0x2aec04:0x624,_0x4b6c32:0x2d2,_0x251ebb:0x2fb,_0x19eeae:0x28f,_0x3fb9d9:0x2dc,_0x4c2c85:0x16e},_0x596629={_0x1a9bbc:0x2ee,_0x596e48:0x363,_0xf371a7:0x4bd,_0x4c4252:0x81,_0x2df029:0x2ac,_0x31b804:0x3f7,_0x316803:0x4a8,_0x5e35ee:0x87,_0x70b423:0x19a,_0x25123b:0x1cb,_0x2fc2bc:0x250,_0x38767e:0x2d,_0x1afbb5:0x13e},_0x4ad4b0={_0x2c92d5:0xd0},_0x5a47a1={_0x1f8991:0x122,_0x2bdc53:0x10f},_0x48f911=_0x53542e[_0x253afd(_0x2d7ad0._0x47a372,_0x2d7ad0._0x41ee6c,_0x2d7ad0._0x335d4a,_0x2d7ad0._0x47a372)](_0x287683[_0x1f5890(_0x2d7ad0._0x273932,0x635,0x518,_0x2d7ad0._0x257a46)]??process[_0x1f5890(0x4b7,_0x2d7ad0._0x3c4201,_0x2d7ad0._0x493894,_0x2d7ad0._0x167a5c)]()),_0x264457=_0x287683[_0x253afd(0x212,_0x2d7ad0._0x38fcbf,_0x2d7ad0._0x57d0b3,_0x2d7ad0._0x27db1c)]??[];function _0x253afd(_0x5eb9b7,_0x110c17,_0x1f379e,_0x676ce3){return _0x48c1e5(_0x110c17- -_0x5a47a1._0x1f8991,_0x110c17-_0x5a47a1._0x2bdc53,_0x1f379e,_0x676ce3-0xcc);}function _0x1f5890(_0x538fb0,_0x22f231,_0x2ab874,_0x4f8591){return _0x42cde8(_0x538fb0-0x1a7,_0x4f8591-0x55d,_0x2ab874-0x1b6,_0x22f231);}const _0x19a221=_0x287683[_0x1f5890(_0x2d7ad0._0x18f7dc,0x64a,_0x2d7ad0._0x27f560,_0x2d7ad0._0x171d86)]??_0x253afd(_0x2d7ad0._0x3947f0,0x31b,_0x2d7ad0._0x37618b,_0x2d7ad0._0x584b3d);return defineTool({'name':_0x19a221,'description':_0x253afd(_0x2d7ad0._0x454349,0x302,0x19e,_0x2d7ad0._0xf1cb12),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x1f5890(0x7f0,0x817,0x5b4,0x6b4)},'content':{'type':_0x1f5890(0x655,0x5a1,_0x2d7ad0._0x2aec04,0x6b4)}},'required':[_0x253afd(0x236,0x293,_0x2d7ad0._0x4b6c32,_0x2d7ad0._0x251ebb),_0x253afd(_0x2d7ad0._0x19eeae,_0x2d7ad0._0x3fb9d9,_0x2d7ad0._0x4c2c85,0x41b)]},async *'execute'(_0x1e3ac3){const _0x16533d={_0xf1217a:0x1a4,_0x2e8f22:0x1d7};function _0x5d34ff(_0x1becd3,_0x591afc,_0x5ceded,_0x1e8539){return _0x253afd(_0x1becd3-0x186,_0x591afc- -_0x16533d._0xf1217a,_0x1becd3,_0x1e8539-_0x16533d._0x2e8f22);}const _0x293bd1=resolveAllowedPath(_0x48f911,_0x264457,_0x1e3ac3[_0x1fdfe4(_0x596629._0x1a9bbc,0x2e9,_0x596629._0x596e48,_0x596629._0xf371a7)]),_0x41223c=await _0x45ffda(_0x293bd1)['then'](()=>!![])[_0x5d34ff(-0xe9,-0xd3,0x9,-0x88)](()=>![]);function _0x1fdfe4(_0xe42173,_0x4c7331,_0x14c365,_0x243fce){return _0x253afd(_0xe42173-0x1e,_0x14c365-_0x4ad4b0._0x2c92d5,_0x4c7331,_0x243fce-0x17c);}const _0x5534f2=Buffer['from'](_0x1e3ac3[_0x5d34ff(_0x596629._0x4c4252,0x138,0x172,0x186)],_0x5d34ff(0x5c,-0x40,-0xdc,-0x98));return await atomicWrite2(_0x293bd1,_0x5534f2),yield createToolOutput(_0x1fdfe4(_0x596629._0x2df029,_0x596629._0x31b804,0x420,_0x596629._0x316803)+_0x1e3ac3['filePath']+'.',{'filePath':_0x1e3ac3['filePath'],'resolvedPath':_0x293bd1,'bytes':_0x5534f2[_0x1fdfe4(_0x596629._0x5e35ee,_0x596629._0x70b423,_0x596629._0x25123b,0x2d4)],'lines':_0x1e3ac3[_0x5d34ff(_0x596629._0x2fc2bc,0x138,_0x596629._0x38767e,_0x596629._0x1afbb5)]['split'](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x41223c}),void 0x0;}});}import{readFile as _0x329f33,stat as _0x43b044}from'fs/promises';import*as _0x38b3e3 from'path';function stripUtfBom(_0x2bfacb){const _0x164bd5={_0x3a8ff5:0x37e,_0x5eddf5:0x358,_0x2e2a37:0x3b1},_0x58d524={_0x3976d4:0xb7};function _0x4644ee(_0x4dcdbc,_0x5eb7eb,_0x301733,_0x48e03a){return _0x48c1e5(_0x5eb7eb- -0xb5,_0x5eb7eb-0x142,_0x4dcdbc,_0x48e03a-0x1a6);}function _0x43f333(_0x4fd8d6,_0xe6599e,_0x1de538,_0x28c7bf){return _0x48c1e5(_0x4fd8d6-0x156,_0xe6599e-_0x58d524._0x3976d4,_0x1de538,_0x28c7bf-0x1e6);}return _0x2bfacb[_0x4644ee(0x3b0,0x36c,_0x164bd5._0x3a8ff5,_0x164bd5._0x5eddf5)](0x0)===0xfeff?_0x2bfacb[_0x43f333(0x426,0x2cf,0x573,_0x164bd5._0x2e2a37)](0x1):_0x2bfacb;}function clampLine(_0x3bbef9,_0x27a7fb){const _0x2e33ca={_0x2523d0:0x57,_0x22d6db:0x16,_0x5bef0b:0x16c},_0x52f97c={_0x1542d1:0x74,_0x10b0d4:0xd4,_0x47e3ec:0x1bb};function _0x554d4e(_0x1d6622,_0x2dcc6a,_0x55ef6f,_0x4696ad){return _0x42cde8(_0x1d6622-_0x52f97c._0x1542d1,_0x2dcc6a- -_0x52f97c._0x10b0d4,_0x55ef6f-_0x52f97c._0x47e3ec,_0x55ef6f);}function _0x26e88d(_0x2ff57b,_0x4af9dd,_0x1e92d2,_0x5edbf5){return _0x42cde8(_0x2ff57b-0x1cc,_0x5edbf5- -0x119,_0x1e92d2-0x110,_0x2ff57b);}if(!Number['isFinite'](_0x3bbef9))return 0x1;return Math['max'](0x1,Math[_0x26e88d(-_0x2e33ca._0x2523d0,-0x28c,-0x58,-0x17c)](Math[_0x26e88d(-0xee,-0x176,-_0x2e33ca._0x22d6db,-_0x2e33ca._0x5bef0b)](_0x3bbef9),_0x27a7fb));}function createFileReadTool(_0x2cae8c={}){const _0x4afc72={_0x293a6c:0xd2,_0x245863:0xa6,_0x5d2c5b:0x65,_0x61e986:0x20d,_0x3d7475:0x1a8,_0x457d31:0x5,_0x5e79b3:0x1c6,_0x409a9c:0x1af,_0x4b1978:0xea,_0x95e3b6:0x29a,_0x525e4c:0x202,_0x388eae:0x25b,_0x35c034:0x20d,_0x194d1e:0x457,_0x477790:0xb1,_0x5a86de:0x62,_0x2693a9:0x5e,_0x6c0344:0x26d,_0x196fd2:0x21c,_0x1fe094:0xfb,_0xb2ce01:0x82},_0xb8674e={_0xca66da:0x381,_0x22eae6:0x2a7,_0x42af39:0x48e,_0x4bbed3:0x413,_0x487877:0x526,_0x1a00b8:0x296,_0xc94e41:0x13b,_0x373821:0x116,_0x307f6f:0x10,_0x3fc411:0x4e1,_0x58eac8:0x1ad,_0x3b6456:0x24c,_0x88c197:0x7a,_0x19fd64:0x1ae,_0x117758:0x106,_0x16bd64:0x119,_0x470f0a:0x112,_0x498469:0x4bc,_0x25d870:0x566,_0xe87d62:0x2b7,_0x50252d:0x14,_0x1efa22:0x1a1,_0x131ddb:0x28,_0x37730d:0xef,_0x14884d:0x1e1,_0x92911c:0x3c,_0x594cd8:0xed,_0x14e0dc:0xaa,_0x2f68b9:0x38d,_0x3adc21:0x232,_0x279b23:0x382,_0x5502f3:0xe4,_0x5d194b:0xf,_0x1e0ec6:0x73,_0xbd495:0x202,_0x50b12e:0x3b2},_0xa047a3={_0x566c1e:0x41,_0x236858:0x196},_0x31f68a={_0x11b71b:0x16c,_0xf5600d:0x15e},_0x390b5a={_0x1468e8:0x126,_0xddcee4:0x1b4},_0x193a2d=_0x38b3e3[_0x32376e(_0x4afc72._0x293a6c,0xa9,_0x4afc72._0x245863,_0x4afc72._0x5d2c5b)](_0x2cae8c[_0x4c1ba4(_0x4afc72._0x61e986,_0x4afc72._0x3d7475,0x281,0x2bf)]??process[_0x4c1ba4(0x22a,0x16a,0x15,0xf1)]()),_0x2a9ff3=_0x2cae8c[_0x32376e(0xbe,-0x57,-_0x4afc72._0x457d31,0xe3)]??[];function _0x4c1ba4(_0x439557,_0x3d7ec5,_0xf4db62,_0x549c52){return _0x42cde8(_0x439557-_0x390b5a._0x1468e8,_0x3d7ec5-_0x390b5a._0xddcee4,_0xf4db62-0x197,_0x549c52);}function _0x32376e(_0x13088c,_0x2b8252,_0x758ac7,_0x2891ec){return _0x42cde8(_0x13088c-_0x31f68a._0x11b71b,_0x758ac7- -0x14,_0x758ac7-_0x31f68a._0xf5600d,_0x2891ec);}const _0x11213a=_0x2cae8c[_0x4c1ba4(_0x4afc72._0x5e79b3,0x1ad,0x1f3,_0x4afc72._0x409a9c)]??'FileRead';return defineTool({'name':_0x11213a,'description':_0x32376e(0x65,-_0x4afc72._0x4b1978,-0x35,-0xff),'inputSchema':{'type':_0x4c1ba4(_0x4afc72._0x95e3b6,_0x4afc72._0x525e4c,0x23b,_0x4afc72._0x388eae),'properties':{'path':{'type':_0x4c1ba4(_0x4afc72._0x35c034,0x30b,0x1ae,_0x4afc72._0x194d1e)},'lineStart':{'type':_0x32376e(0x156,_0x4afc72._0x477790,_0x4afc72._0x5a86de,_0x4afc72._0x2693a9),'description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':_0x4c1ba4(0x2db,0x22a,0x380,_0x4afc72._0x6c0344),'description':_0x32376e(_0x4afc72._0x196fd2,_0x4afc72._0x1fe094,0xf6,_0x4afc72._0xb2ce01)}},'required':['path']},async *'execute'(_0xbc0d8e){const _0x2408f6=resolveAllowedPath(_0x193a2d,_0x2a9ff3,_0xbc0d8e[_0x5cfbce(0x413,_0xb8674e._0xca66da,0x56c,_0xb8674e._0x22eae6)]);await assertWorkspaceFile(_0x2408f6);const _0x49fcb9=await _0x43b044(_0x2408f6),_0x4a6071=await _0x329f33(_0x2408f6);function _0x591dca(_0xa8626,_0x4b87ad,_0x559f58,_0x2c2e76){return _0x4c1ba4(_0xa8626-0xcb,_0x4b87ad- -0x142,_0x559f58-0x5e,_0x2c2e76);}if(isProbablyBinary(_0x4a6071))throw new ToolExecutionError(_0x5cfbce(0x36e,0x338,0x3e3,_0xb8674e._0x42af39)+_0xbc0d8e[_0x5cfbce(_0xb8674e._0x4bbed3,_0xb8674e._0x487877,0x4a7,_0xb8674e._0x1a00b8)],{'path':_0xbc0d8e[_0x591dca(-0x44,_0xb8674e._0xc94e41,0x160,_0xb8674e._0x373821)]});let _0x403ef9=_0x4a6071[_0x5cfbce(0x4cc,0x352,0x4e6,0x428)](_0x591dca(-0x8e,0x2d,-0x11d,_0xb8674e._0x307f6f));function _0x5cfbce(_0x31ed9a,_0xe8e6b7,_0x278bd6,_0x56163d){return _0x4c1ba4(_0x31ed9a-_0xa047a3._0x566c1e,_0x31ed9a-_0xa047a3._0x236858,_0x278bd6-0x12d,_0xe8e6b7);}const _0x2e4ae7=_0x403ef9[_0x5cfbce(0x4a0,0x449,0x48d,_0xb8674e._0x3fc411)](0x0)===0xfeff;_0x403ef9=stripUtfBom(_0x403ef9);const _0x231fbe=_0x403ef9[_0x591dca(0xe7,_0xb8674e._0x58eac8,_0xb8674e._0x3b6456,_0xb8674e._0x88c197)](/\r?\n/),_0x17438e={'path':_0xbc0d8e['path'],'resolvedPath':_0x2408f6,'created':_0x49fcb9[_0x591dca(_0xb8674e._0x19fd64,_0xb8674e._0x117758,_0xb8674e._0x16bd64,-0x78)][_0x591dca(_0xb8674e._0x470f0a,0x9b,0x20e,0x1f5)](),'modified':_0x49fcb9[_0x5cfbce(0x438,_0xb8674e._0x498469,0x561,_0xb8674e._0x25d870)][_0x5cfbce(0x373,0x414,0x31e,_0xb8674e._0xe87d62)](),'size':_0x49fcb9['size'],'encoding':_0x591dca(-_0xb8674e._0x50252d,0x2d,-0x120,_0xb8674e._0x1efa22),'bomStripped':_0x2e4ae7,'truncated':![],'totalLines':_0x231fbe['length']};if(_0xbc0d8e['lineStart']!==void 0x0||_0xbc0d8e['lineEnd']!==void 0x0){const _0x4e4ba2=clampLine(_0xbc0d8e[_0x591dca(_0xb8674e._0x131ddb,_0xb8674e._0x37730d,_0xb8674e._0x14884d,0x232)]??0x1,_0x231fbe[_0x591dca(-0xc6,-_0xb8674e._0x92911c,-_0xb8674e._0x594cd8,-_0xb8674e._0x14e0dc)]),_0x13a190=clampLine(_0xbc0d8e[_0x591dca(_0xb8674e._0x2f68b9,_0xb8674e._0x3adc21,0x328,_0xb8674e._0x279b23)]??_0x231fbe[_0x591dca(-0x1a4,-_0xb8674e._0x92911c,0x131,-_0xb8674e._0x5502f3)],_0x231fbe['length']),_0x32026d=Math[_0x591dca(0x26,_0xb8674e._0x5d194b,0x132,0x28)](_0x4e4ba2,_0x13a190),_0x3888e3=Math[_0x591dca(0x85,0x5a,0xc5,_0xb8674e._0x1e0ec6)](_0x4e4ba2,_0x13a190),_0x3ca9bc=_0x231fbe['slice'](_0x32026d-0x1,_0x3888e3)[_0x591dca(_0xb8674e._0xbd495,0x263,0x193,_0xb8674e._0x50b12e)]((_0x3dac54,_0x4224d8)=>_0x32026d+_0x4224d8+'|'+_0x3dac54)['join']('\x0a');return yield createToolOutput(_0x3ca9bc,{..._0x17438e,'lineRange':{'lineStart':_0x32026d,'lineEnd':_0x3888e3,'linesTotal':_0x231fbe['length']}}),void 0x0;}return yield createToolOutput(_0x403ef9,_0x17438e),void 0x0;}});}import{stat as _0x28d4c4}from'fs/promises';import*as _0x18b0c7 from'path';import{execSync,spawn as _0x184d33}from'child_process';import{existsSync}from'fs';import{stat as _0x36a9db}from'fs/promises';import*as _0x25f79e from'os';import*as _0x2ffc84 from'path';import{rgPath as _0x113000}from'@vscode/ripgrep';function _0x5311(){const _0x2329e0=['C3jJl2fNzw50l2fNzw50lNrZ','B2f1DgG','Dg90ywW','Dg9Rzw4','zMLUzfjLzMvYzw5Jzxm','zw5HyMXLza','yxnZAwDU','BgLUzq','yMLYDgH0Aw1L','y29TBwfUzhm','BhnWu2vYDMLJzq','A2LSBa','BgLUAW','AxnfCNjVCG','yMfZzty0','Dg90ywXeCM9WCgvK','DgvZDa','te9x','zgvMAw5PDgLVBG','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vw5HDxrOB3jPEMvKrxjYB3i','yNL0zuXLBMD0Aa','Aw5ZDgfSBa','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','zgLYzwn0B3j5','zg9TywLUCW','y2vPBa','lMPZEa','C29YDa','Dg9VBhmVy2fSBa','yxbWzw5K','CMvZDwX0CW','C3rHDhvZ','qu5usfjpueLdx0fqsv9lrvK','ChjPB3jPDhK','A2v5','lMn0CW','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','CgfYC2vjBNq','te9dquXbufbeqvrb','BwLUAw1HEa','zgLZywjSzwq','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','C2fMzq','zxjYB3i','uhjVz3jHBuzPBgvZkhG4nIK','CMvZB2X2zq','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','mtaWlJy0lJaUma','C2H1DgrVD24','zgvZy3jPChrPB24','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','ywrK','yxjNDw1LBNrZ','ig1Z','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zM9VDgvY','BgLUzvrLEhq','C2vYDMvYtMfTzq','Bwf4uMvKAxjLy3rZ','C2vSzwn0Aw9UuMfUz2u','Cgf0Aa','yxr0CG','yxjNDw1LBNrZvgv4Da','ANnVBG','CxvLC3rPB25Z','A2LSBfjLCxvLC3rLza','zw51Bq','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','yM9VBgvHBG','DhjPBq','y29Uy2f0','mta1oti4ngzQBfrcyq','Aw50zwDLCG','yMLVBwu','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','BgLTAxq','C2v0','v2vIrMv0y2G','y2XPzw50CW','Bwv0yxrHz3m','lw5i','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','D2vI','y29UBMvJDgvK','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','ChvIBgLZAgvKqxq','BgLZDfrVB2XZ','y29ZDa','qMfZAe91Dhb1Da','w1bFxL1BxhnCu10QpW','BM90Awz5','CxvLC3rPB24T','zMLSzvbHDgG','B3jPz2LUvg9VBenHBgXjza','y2fSBfrVB2W','r0LgodDH','BxrPBwu','mtCYlJe2lJaUma','l3vZCI9SB2nHBc9IAw4VCMC','v2fYBMLUzW','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','zxHPDgvK','Dg9Rzw5Z','zMfPBgvK','y29UDgvUDc10ExbL','BM9Uzq','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','CgfZC3DVCMq','CgfYC2u','yM94zwq','ywXS','Ag92zxi','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','yMLUyxj5tMfTzq','Aw52ywXPzf9XDwvZDgLVBNm','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','Dg9Rzw5tDg9YywDLs2v5','qMvHCMvYia','ywjVCNq','AgfZq2XPzw50CW','yxjYyxK','CMvNzxG','lMnTza','B25LCNjVCG','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','q29Tu3bLyW','Dgv4Dc9ODg1S','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','y2HHCMfJDgvY','zgvUBY5QC29U','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','C2HPzNq','l3vZCI9IAw4VCMC','BwnFzwLK','lu5VuhjVzMLSzq','yxnJAwK','C2v0vg9KB3m','C3jJl3nOyxjLzc90ExbLCY50CW','mc4WlJaUma','ywXSu2v0DgXLza','vw5RBM93BIb0B29SoIa','Dgv4Da','B3bLBMfPlxjLC3bVBNnLCY13CW','BM9UBMvNyxrPDMu','CgfJA2fNzs1SB2nRlMPZB24','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','lM1QCW','DhjPBuvUza','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','ywrKrxzLBNrmAxn0zw5LCG','ls1NBg9Ipq','Aw52ywXPzf90B2rVx2nVBNrLBNq','C2HHmJu2','Dhj1BMnHDgvK','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','mty3odm4mtfHCgXUzNu','zMvUy2vK','w01duca','vg9KB1DYAxrL','C291CMnL','Bwf4qNL0zxm','zgLYBMfTzq','lMDPzG','mtq1ode5oe93svjyAW','y29UDgvUDa','CgfNzw1HCa','Dg9mB3DLCKnHC2u','zhj5uNvU','DhjHBNnMB3jT','C3rHDgu','zMXVB3i','nZa4ntvbB3z2zM0','C3bSAxq','Aw5JBhvKzq','AxndB250zxH0','A2v5CW','BwnWxW','wZ0+nY04kcLD','C2vUzfjLCxvLC3q','y2XPzw50twv0ywrHDgfvCMW','BMv3vgv4Da','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','DhLWzxnJCMLWDa','CMvXDwvZDa','C3rYAw5NAwz5','CMvMAw5L','C3jJl2v4yw1WBgvZl2rLBw8UDhm','icHWAwqG','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','CMvHC29U','q291BgqGBM90ihjLC29SDMuGAg9ZDa','rMLSzuvKAxq','C2v0vg9WAwm','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','z2v0uhjVDg90ExbLt2y','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','qxv0Ag9YAxPHDgLVBG','l2jPBI9IyxnO','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','y2HHCKnVzgvbDa','C3rYAw5N','zgf0yq','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','zw5K','Aw1Hz2uVCg5N','l3bPza','Dg9KB3ncEvnLC3nPB24','zgLZy292zxj5u3rHDgu','lMPWzwC','tM8GzgLHz25VC3rPy3m','DgfZAW','ywjVCNrLza','y2fWywjPBgL0AwvZ','Agv4','Aw5JBhvKzv9KB21HAw5Z','r0Lusfvcx0fdq0vtu19ut0TftG','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','AxrLBxm','yNvMzMvY','mZm2mtbisNruvuq','ChjLCgfYzunHBgXiAwvYyxjJAhK','DhnJB25MAwCUANnVBG','zxzPy3rjzK5LzwrLza','AxnfBMfIBgvK','DhnZzxj2zxiUANm','C2nVCgvZ','lNrZ','rMLSzu5LDW','CMvJzw5JEurHExm','DxrTx21LzgL1Bq','v0vcua','ChjVCgvYDgLLCW','B25szwrPCMvJDa','z2v0vg9KB3m','AgvHzgvY','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DgLTzvTKyxrLDgLTzv0','C2vUza','BgL0zxjHBa','zgLHz25VC3rPy3m','BxrPBwvnCW','ls1WCMvMAxG','ihDHCYbHyM9YDgvKlG','Dg9tDhjPBMC','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','zMLSDgvY','igzHAwXLzc4','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','B2zM','Aw52ywXPzf90B3bPyW','BgLUzxm','C2vHCMnOvhLWzq','u2L6ztOG','u0Lhs0Lmta','CxvLCNK','DMfSDwvZ','C2vYDMvY','BM93','z2v0','Aw1Hz2uVz2LM','C3rKB3v0','Dg9VBhm','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','C3rHDhvZvgv4Da','yMvHCMvY','tg9HzgvKigzYB206ia','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','Dw5PB24','zxHPDenVzgu','ChjLChjVy2vZCW','y29UBMvJDa','mtyXmxvVwvzRsq','qgjPB21LANmVyMLVBwu','zgv0ywLS','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','BNvT','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','Dg9WAwm','CMvZDwX0','rMLSzsb3CML0DgvUigf0ia','zgLHz25VC3rPy3ngB3jgAwXL','yMLVBwuUANnVBG','vg9KBYa','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','mtK4lJe4lJaUma','BhnW','ygbG','CMvWBgfJzq','Aw52ywXPzf90B2rVx3bYAw9YAxr5','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','AgfZ','DxjP','B3v0Chv0','zMLUywXnzxnZywDL','C2HLBgXjza','CgXHDgzVCM0','CMfUzg9T','CM9VDa','uxvLC3rPB24G','cGOTls0kcG','ChjVDg90ExbL','AhjLzG','o1TExg5DkJ8','B3bLCMf0Aw9U','BgLUzuvUza','vw50AxrSzwq','AwDUB3jL','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','Dgf2AwX5qxbPs2v5','DgHPBMTPBMC','C2vUze5VDgLMAwnHDgLVBG','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','Bwf4rw50CMLLCW','y29Kzq','zMLSBa','Cg9W','yNvMzMvYq2HHCNm','Aw5JB21PBMDdywXSCW','ksbB','BgfUzW','C3rVCMfNzurPCG','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','D2HLCMuGCMC','zMLYC3q','CgLK','xsb0CMfUC3bVCNqGzxjYB3i6','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','yw50AhjVCgLJ','Ag9ZDa','BwvTB3j5','AhLKCMf0zu1LDge','zgvUBY5QC29UyW','C29Tzq','Aw5qCM9NCMvZCW','zw5NAw5LCW','vg9WAwmGC2v0ihrVici','B3bLBNjVDxrLCG','sw5MB3jTyxrPB24','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','yNvUlMXVy2TI','ChjVDg9JB2W','ls1YzwDLEha','Dg9VBenHBgXjza','AgfUzgXL','BwfUDwfS','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','Aw5KzxHpzG','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Aw1Hz2u','Bwf0y2HLCW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ig1HDgnO','BwfW','Bwv0yq','revfueLorLjbx0fqsv9lrvK','Cgf0DgvYBG','CMvTB3zL','yxjNDw1LBNriAw50','Aw52ywXPzf90B2rVx3n0yxr1CW','zgvSAw1PDgvY','sfruuca','zNjVBq','AxnjBNrLz2vY','zMLSzq','l2jPBI9ZAa','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','zgvSzxrL','y2XPzw50sw5MB3jTyxrPB24','C3vIyxjYyxK','mJi0lJaUmc4W','ls1ZDgrPBW','DhjHBNnMB3jTCW','zMLSzvzLCNnPB25Z','AxneAxjLy3rVCNK','lNrTCc4','C3rYAxbbBNnP','B3bLBKzPBgvZ','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','yxjNDw1LBNroyw1LCW','CMfUz2u','yM0Ynq','CMLWz3jLCa','lMPWzW','zxf1ywXZ','C2vZC2LVBKLK','AxngAwXL','zgvLCgLUzNjH','zgvSzwDHDgvKlxj1BI0','yMfZzw5HBwu','Aw5PDgLHBgL6yxrPB24','DhvWBgu','zw50CMLLCW','lMPZB24','BMf2','y29UzMLN','zMv0y2HjBxbS','yxv0Ag9YAxPHDgLVBL9JB2rL','B25Jzq','zw5NAw5L','zw52','AwDUB3jLt3v0Chv0','y2fSBeLK','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','zxH0BMfTzq','wefjx0fqsv9lrvK','y2f0y2G','B2XSyw1H','mc4WlJa','Dg91y2HgAwXL','BgLI','Aw1WBgvTzw50yxrPB24','B3bLBMfP','zgLZCg9Zzq','C2LNBMfS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','ntu3mdK2CwfoyNvT','u0HfteW','mty5lJi1nc4WlJa','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','CgXHAw4','BwnFy2LK','Aw52ywXPzf90B2rVx2LK','yxbPs2v5','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','qMfZAa','C3rKzxjYrgvJB2rLCG','DxrTx2nHBxbHAwDU','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','qxnZAwDUvgfZAW','mtKYlJe2oc4WlJa','Dg9vChbLCKnHC2u','BwvZC2fNzq','y291BNq','Aw1Hz2uVD2vICa','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','ienHDxnLoIa','ugf0AcbPCYbUB3qGysbMAwXLoIa','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','ls1MAwXLCW','Cgf0DgvYBIbPCYbYzxf1AxjLza','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','z29Vz2XLq3nLs2v5','CMvXDwLYzwq','qwDLBNqGCNvUia','C2H1DgrVD25tDgfYDgvK','vxbKyxrLvg9WAwm','AwzYyw1L','BgvUz3rO','CMCUzxHL','BxvSDgLtzwXLy3q','B3bLBMfPlxjLC3bVBNnLCW','D29YA3nWywnLu3LTyM9S','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','B3jPz2LUywW','Aw5ZDhj1y3rPB25Z','zMXHDe1HCa','B3b0Aw9UCW','y3jLyxrLzef0','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','CNvUBMLUzW','zxzLCNK','Dgv4DerVy3vTzw50l2rPzenSB3nL','CMvHzen1CNnVCG','BNbT','r09pr0Xfx0ntrv9dwa','u3rHCNrLzcbHz2vUDcbYDw4G','tgLUzsa','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','yw50AhjVCgLJlw1LC3nHz2vZ','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','ls0T','CNvUsw5cywnRz3jVDw5K','DhnJ','DxjS','tuvesvvn','ywDLBNrZ','DxnLCM5HBwu','lM51DMLU','lNbUzW','ru5pru5u','z2XVyG','u2HLBgWGBM90igzVDw5KoIa','uhvIBgLZAgvKoIa','ovbcvMDsuG','yxbWBgLJyxrPB24VANnVBG','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','C2vHCMnOugfYyw1Z','C3bHD25PBMC','mJCXoti2nKXYv2ffEa','yw5ZD2vYCW','ls1NBg9IpseUz2L0lYO','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','BgfZDeLUzgv4t2y','l3vZCI9IAw4VC2G','C3rHCNq','Aw52ywXPzf90B2rVx2L0zw0','rMv0y2GGywjVCNrLzcbIEsb1C2vY','t1bftLjpvvrfuL9bueLFs0vz','lcbpChrPB24G','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','DxrTx2nVBNrLBNq','y29KzvzLCMLMAwvY','Ahr0Chm6','C3rHCNrZv2L0Aa','twLJCM9ZB2z0','AgLNAa','C2vYDMvYswq','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','lNDLyNa','CxvLC3rPB24','ywDLBNrjza','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','yMfJA2DYB3vUzfjLz2LZDhj5','Aw1Hz2uVANbLzW','zxH0zw5ZAw9UCW','BwLU','DgL0Bgu','CgfJA2fNzu5HBwu','DxbKyxrL','y29UDgv4DeXPBMS','BgfIzwW','DhLWzq','zxHPDcbJB2rLia','B2XKvgv4Da','DgLTzw91De1Z','BhnWlxbYB3H5','C2L6zq','Axnoyu4','lMPZ','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Dhj1BMm','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','zg9JDw1LBNrtEw1IB2W','qxzHAwXHyMXLignVBw1HBMrZoG','CMvHza','B2zMC2v0','D3jPDgu','C3rKzxjY','mxrHu0XtrG','y3DK','B3bLBG','Cgf0Ag5HBwu','CgvUzgLUzW','y2XVC2u','DxrMoa','rM91BMqG','uhjVz3jHBuzPBgvZ','v2LUr2v0','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','AxngAw5PDgu','Aw5FChjVz3jLC3m','C3bHD24','mtaUmc4WlJa','CgfJA2fNzxm','A2LTAq','zgLNzxn0','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','zgvLChnLzwS','lMPZB25J','CMvTB3zLrxzLBNrmAxn0zw5LCG','tM8GC3vJAcbMAwXLoIaN','z29Vz2XLlwnZzq','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ls1JB2X1Bw4','BgLZDgvU','yMLVBwuUANnVBMm','Dgv4DerVy3vTzw50l2rPze9Wzw4','C2HLBgXqyxrO','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','Bg9JyxrPB24','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2vYDMvYCW','CgfJA2fNzs5QC29U','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','zxHPDa','Dg9KB3m','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','AxnbCNjHEq','C25PChbLDa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','tM8GC3LTyM9SCYbMB3vUza','zgvMyxvSDfrPBwvVDxrnCW','mJqWlJaUmc4W','EwfYBI5SB2nR','qwXSia','zxjYB3jnzxnZywDL','ChvZAa','tg9HzfnRAwXS','Bwf4','CNvUswq','ChjVy2vZC0v4AxrLza','Bw9Kzq','y2fWq2HHCNm','CgLWzq','y3jSzG','z2v0t3DUuhjVCgvYDhLoyw1LCW','y2XPzw50x3nLy3jLDf9WB3n0','Ec1HCgKTA2v5','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','zgvMyxvSDen3za','r0Lusfvcx1rps0vo','DhLWzxnJCMLWDhjLywn0','A2v5yMLUzgLUz3m','Bg9JywXLq29TCgfYzq','BMfTzq','lMjPBG','C3rKB3v0rgvJB2rLCG','Dg90ywXqCM9KDwnLza','y2XVC2vbBgW','Aw5WDxrty2HLBwe','Aw5PDgLHBgL6zwq','Bwf4q29Uy3vYCMvUDa','zMLSztOVlW','q29TBwfUzcaN','CMvNAw9U','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','C2XPy2u','oIbPBNzHBgLKihbYAw9YAxr5','Ag9ZDg5HBwu','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','Dgf2AwX5','yNjVA2vU','lu5Vtg9NBW','Bg9HzfnRAwXS','v2vIu2vHCMnO','tM8GBg9JyxrPB25ZigzVDw5K','ywXSB3DLzerPCNm','y29TBwfUza','C2nYDwjfBNzlzxLZ','y29UDgvUDhm','AhrTBfnUAxbWzxq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','z2L0AhvI','zhvWBgLJyxrLx3rVzg9FAwrZ','Dw5RBM93BG','B2C6DxbKyxrLzf90Aw1L','Aw1Hz2vZ','C3r5Bgu','zMLUAxrL','xg5DkJ8','y2XPzw50','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','r0LgodLH','y2fSBgjHy2TvCMW','ignOyxjZigrYB3bWzwrDcG','Dhj1zwnVBg9Y','seLhsa','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','CMvXDwvZDhm','Ahr0Ca','EMfP','z3jVAW','Dg9ju09tDhjPBMC','tu9ptLnit1rFqvbjx0Tfwq','AgvHzgvYCW','zMLUywXnzxnZywDLvgv4Da','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','yNvUlMXVy2S','ue9tva','z2vUzxjHBa','yxv0AfjLCxvPCMvK','zMjJBgLK','oIbPBNzHBgLKihn0yxr1CW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Bg9VA3vW','rxjYB3i','mZq4ufHuz0Hy','BM9Kzv9TB2r1BgvZ','CgfZC3rOCM91z2G','ugf0AcbUB3qGzM91BMq6ia','l3vZCI9IAw4VyMfZAa','lM10CW','zgLZy292zxj5','uefusa','yw5ZAti1nG','zNvUy3rPB24','C2v2zxjPDhK','ChjVy2vZCW','A2LSBgvK','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','A2LUza','y2XLyxi','C2vZC2LVBG','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','D2fPDezVCKrPywDUB3n0AwnZ','y29UC3rYDwn0B3i','yMfZAwm','BgfUz3vHz2u','B2jQzwn0','C2L0ztO','y291BNrLCG','y2HPBgq','DMfSDwu','Aw5JBhvKzxm','B3v0z29PBMDdywXSCW','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','Aw5WDxq','tM8GAg92zxiGAw5MB3jTyxrPB24','yxjNCW','D2LUmZi','DgfZA2TPBgW','AxnbyNnVBhv0zq','yMCT','Dg9VBa','zgf0zxrPBwu','iYmGu2TPBgW6ia','CMvMzxjLBMnLCW','z29uB0rLzMLUAxrPB24','Ahr0CdO','ANnJB25MAwCUANnVBG','ChjLzML4','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','C3rKAw8','y29TCgXLDgvK','y2XLyw51Ca','o1TE','oIbJB250zw50ihjLCxvPCMvK','qxnRvxnLCLrVB2W','rMv0y2GGDgLTzwqGB3v0','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','zNvSzMLSBgvK','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','AM9PBG','CMvJB3jK','DMvYAwzPzxi','y29UDgv4Da','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','BNvTyMvY','CMvSyxrPDMu','mtKYlJaUmc4W','tunqihnLCNzLCIa','ignVBxbSzxrLzc4','CgXHAw50zxH0','yxv0BW','BgLUzvn0yxj0','cMbGya','B3b0Aw9UywW','C2TPBgXZ','AMf2yxnJCMLWDa','r2XVyG','qvbjx0Tfwq','z29uB0LTCgXLBwvUDgf0Aw9U','D29YA3nWywnLl3n5BwjVBa','yxv0Aa','CNnZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','y2HHDgDWDa','yxnRvxnLCG','Dhj1zq'];_0x5311=function(){return _0x2329e0;};return _0x5311();}function _0x59f9(_0xee1e85,_0x5c7dd6){_0xee1e85=_0xee1e85-0x97;const _0x5311c6=_0x5311();let _0x59f946=_0x5311c6[_0xee1e85];if(_0x59f9['cMMGxi']===undefined){var _0x61df29=function(_0x5c2e4a){const _0x36203f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x310533='',_0x29bf57='';for(let _0x2c56ab=0x0,_0x40ca83,_0x3abcf8,_0x41b70d=0x0;_0x3abcf8=_0x5c2e4a['charAt'](_0x41b70d++);~_0x3abcf8&&(_0x40ca83=_0x2c56ab%0x4?_0x40ca83*0x40+_0x3abcf8:_0x3abcf8,_0x2c56ab++%0x4)?_0x310533+=String['fromCharCode'](0xff&_0x40ca83>>(-0x2*_0x2c56ab&0x6)):0x0){_0x3abcf8=_0x36203f['indexOf'](_0x3abcf8);}for(let _0x356b8a=0x0,_0x4cea09=_0x310533['length'];_0x356b8a<_0x4cea09;_0x356b8a++){_0x29bf57+='%'+('00'+_0x310533['charCodeAt'](_0x356b8a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x29bf57);};_0x59f9['emxRwY']=_0x61df29,_0x59f9['hqDaou']={},_0x59f9['cMMGxi']=!![];}const _0x28d789=_0x5311c6[0x0],_0x5a8a2a=_0xee1e85+_0x28d789,_0x16380c=_0x59f9['hqDaou'][_0x5a8a2a];return!_0x16380c?(_0x59f946=_0x59f9['emxRwY'](_0x59f946),_0x59f9['hqDaou'][_0x5a8a2a]=_0x59f946):_0x59f946=_0x16380c,_0x59f946;}var cachedRgPath=null;function findSystemRipgrep(){const _0x36238e={_0x5712a8:0x579,_0x54a4f2:0x311,_0x390422:0x350,_0x4b14ba:0x425,_0x2c47b3:0x244,_0x550f12:0x2c7,_0x350a2e:0x2db,_0x5d59b5:0x30e,_0x1d1d61:0x16d,_0xb3d22e:0xba,_0x335949:0x230,_0x542e16:0x22c,_0x2b6f09:0x85,_0x46fd01:0xd0,_0x1b0333:0x1dc,_0x38ce18:0x18c,_0x3ea833:0x88,_0x4d9d6c:0x1e,_0x238111:0xcd,_0x2b6bcc:0xf1,_0x5a5e17:0x1c4,_0x79f69e:0x45c,_0x3fb76d:0x33b,_0x5ae6fe:0x2ff,_0x237310:0x186,_0x2b06ee:0x119,_0x468288:0x11,_0x4cde8e:0xcf,_0x3f3433:0x17b,_0x44f224:0x35e,_0x4440e6:0x13c,_0x1e2a58:0x2d,_0x5161a5:0x143,_0x23a4f7:0x21d,_0x54ee53:0x125,_0xd20379:0x141,_0x47a8c6:0x3b,_0x50e822:0xf3,_0xd6bd3:0x79,_0x14b6ec:0x1eb,_0x4ee281:0xc1,_0x548c25:0x13b,_0x22b8d3:0x338,_0x42b7b3:0x340,_0x41e21a:0xfa},_0x256ab9={_0x34e678:0x55},_0x24d92b={_0x48d542:0x379,_0x23aae5:0xd5},_0x2534ac=_0x25f79e[_0x5a4df4(_0x36238e._0x5712a8,_0x36238e._0x54a4f2,_0x36238e._0x390422,_0x36238e._0x4b14ba)]()===_0x5a4df4(0x357,_0x36238e._0x2c47b3,0x177,_0x36238e._0x550f12);function _0x1c1685(_0x237649,_0x50ead9,_0x5c82dd,_0x4d32dc){return _0x48c1e5(_0x4d32dc- -_0x24d92b._0x48d542,_0x50ead9-0xc7,_0x50ead9,_0x4d32dc-_0x24d92b._0x23aae5);}function _0x5a4df4(_0x5e300d,_0x41db53,_0x54e52d,_0x2bbf88){return _0x48c1e5(_0x2bbf88- -0x5d,_0x41db53-0x90,_0x54e52d,_0x2bbf88-_0x256ab9._0x34e678);}const _0x243347=_0x2534ac?[_0x2ffc84['join'](process[_0x5a4df4(0xda,_0x36238e._0x350a2e,_0x36238e._0x5d59b5,0x190)][_0x5a4df4(0x3eb,0x2fc,0x309,0x321)]||'',_0x5a4df4(0x82,0x220,_0x36238e._0x1d1d61,0x1fd),_0x5a4df4(0x2c9,_0x36238e._0xb3d22e,_0x36238e._0x335949,_0x36238e._0x542e16),'Packages'),_0x2ffc84[_0x1c1685(-_0x36238e._0x2b6f09,0x137,_0x36238e._0x46fd01,-0x3d)](process[_0x1c1685(-0xa9,-0x296,-_0x36238e._0x1b0333,-_0x36238e._0x38ce18)][_0x1c1685(_0x36238e._0x3ea833,-_0x36238e._0x4d9d6c,-_0x36238e._0x238111,-_0x36238e._0x2b6bcc)]||'','ripgrep','rg.exe'),_0x2ffc84[_0x5a4df4(_0x36238e._0x5a5e17,_0x36238e._0x79f69e,_0x36238e._0x3fb76d,0x2df)](process[_0x1c1685(-0x14f,-0x79,-_0x36238e._0x5ae6fe,-0x18c)][_0x1c1685(_0x36238e._0x237310,_0x36238e._0x2b06ee,-_0x36238e._0x468288,0xb)]||'',_0x1c1685(-0x18f,-_0x36238e._0x4cde8e,-0x3c,-0x19e),_0x1c1685(0x11,-_0x36238e._0x3f3433,-0x2c1,-0x15b))]:['/opt/homebrew/bin/rg',_0x5a4df4(0x247,0x49f,0x4b6,_0x36238e._0x44f224),_0x1c1685(0x109,-0xf0,_0x36238e._0x4440e6,0x64),'/bin/rg'];for(const _0x1fefac of _0x243347){if(existsSync(_0x1fefac))return _0x1fefac;}try{const _0x722cb4=_0x2534ac?_0x1c1685(_0x36238e._0x1e2a58,_0x36238e._0x5161a5,_0x36238e._0x23a4f7,_0x36238e._0x54ee53):'which\x20rg',_0x5ccdb3=execSync(_0x722cb4,{'encoding':_0x1c1685(-_0x36238e._0xd20379,-0x1fb,_0x36238e._0x47a8c6,-_0x36238e._0x50e822),'stdio':[_0x1c1685(-_0x36238e._0xd6bd3,-_0x36238e._0x14b6ec,-0x112,-_0x36238e._0x4ee281),_0x5a4df4(0x1d2,_0x36238e._0x548c25,0x2ab,0x25b),_0x5a4df4(0x317,_0x36238e._0x22b8d3,0x36c,0x430)]})[_0x5a4df4(0x495,0x49a,0x3fb,_0x36238e._0x42b7b3)]()[_0x1c1685(-0xe3,-0x9c,_0x36238e._0x41e21a,0x8d)](/\r?\n/)[0x0];if(_0x5ccdb3&&existsSync(_0x5ccdb3))return _0x5ccdb3;}catch{return null;}return null;}async function filepath(){const _0x517bd0={_0x28e584:0x50,_0x4cacbf:0x48},_0x4a1387={_0x9fb27e:0x1c1,_0x3eaa92:0xfb};if(cachedRgPath)return cachedRgPath;if(_0x113000&&existsSync(_0x113000))return cachedRgPath=_0x113000,_0x113000;const _0x562526=findSystemRipgrep();function _0x46cf29(_0x16b3f0,_0x56611f,_0x161862,_0x15d35f){return _0x42cde8(_0x16b3f0-_0x4a1387._0x9fb27e,_0x15d35f- -0xe1,_0x161862-_0x4a1387._0x3eaa92,_0x161862);}if(!_0x562526)throw new Error(_0x46cf29(-_0x517bd0._0x28e584,-0xe7,-_0x517bd0._0x4cacbf,-0xa));return cachedRgPath=_0x562526,_0x562526;}async function*files(_0x2388af){const _0x139d05={_0x4214eb:0x182,_0x11d37c:0x215,_0x4676be:0x1e6,_0x3aaa53:0xcc,_0x5c9c6b:0x6,_0xd574c1:0x11b,_0x315db3:0xec,_0x1b0061:0x1ce,_0x36495b:0x43a,_0xca9d7f:0x324,_0x3f7b49:0x1e3,_0x4455fa:0xab,_0x52eca5:0x6b,_0x58bff3:0x124,_0x12e1c9:0x74,_0x69b48f:0x1dc,_0x19deda:0x42a,_0x46b80f:0x5d1,_0x186670:0x549,_0xf0ff20:0x2e2,_0x47a137:0x2ea,_0x545e28:0x282,_0xfe5e3:0x1ce,_0xeca6bb:0xd,_0x5ef360:0x13a,_0x247f03:0x176,_0x2ef8ba:0x7,_0x42ab6b:0x129,_0x2f9cc6:0x45b,_0x21bbca:0x49d,_0x4c7953:0x4f2,_0x551ae9:0x2ce,_0x4ab8c4:0x390,_0x1d7dca:0x2b4,_0x414c80:0x389,_0x171ca5:0x19c,_0x298e87:0x26f,_0x1277e9:0x2b4,_0x54693d:0x27,_0x11a6a0:0xf6},_0xd34c46={_0x5632fb:0x106},_0x1cde30=await filepath();function _0x20e892(_0xbe86af,_0x594a63,_0x5736c7,_0x338f06){return _0x48c1e5(_0x338f06- -0x2bf,_0x594a63-_0xd34c46._0x5632fb,_0x5736c7,_0x338f06-0x6b);}const _0x1e9bf8=await _0x36a9db(_0x2388af[_0x20e892(-0xc3,-0x71,-_0x139d05._0x4214eb,-0x3e)])[_0x20e892(-_0x139d05._0x11d37c,-_0x139d05._0x4676be,-_0x139d05._0x3aaa53,-_0x139d05._0x3aaa53)](()=>null);if(!_0x1e9bf8?.[_0x20e892(_0x139d05._0x5c9c6b,-0x22f,-_0x139d05._0xd574c1,-_0x139d05._0x315db3)]())throw Object[_0x20e892(0x7,0x5f,_0x139d05._0x1b0061,0x9e)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x2388af[_0x174ddd(_0x139d05._0x36495b,0x409,_0x139d05._0xca9d7f,0x318)]+'\x27'),{'code':'ENOENT'});const _0x2c3122=[_0x20e892(-0xf7,-_0x139d05._0x3f7b49,-0x1b5,-_0x139d05._0x4455fa),'--follow','--hidden',_0x20e892(-_0x139d05._0x52eca5,-0xea,-_0x139d05._0x58bff3,-_0x139d05._0x12e1c9)];for(const _0x43628d of _0x2388af[_0x174ddd(0x2d1,0x3c0,_0x139d05._0x69b48f,0x2d7)]??[]){_0x2c3122['push'](_0x174ddd(_0x139d05._0x19deda,_0x139d05._0x46b80f,_0x139d05._0x186670,0x487)+_0x43628d);}const _0x1fd8fa=_0x184d33(_0x1cde30,_0x2c3122,{'cwd':_0x2388af['cwd'],'stdio':[_0x20e892(_0x139d05._0xf0ff20,_0x139d05._0x47a137,_0x139d05._0x545e28,_0x139d05._0xfe5e3),_0x20e892(-_0x139d05._0xeca6bb,_0x139d05._0x5ef360,_0x139d05._0x247f03,-_0x139d05._0x2ef8ba),_0x20e892(-_0x139d05._0x42ab6b,0xd0,-0x1d,-0x7)]});let _0x57ffb3='';for await(const _0x59d163 of _0x1fd8fa[_0x174ddd(0x48c,_0x139d05._0x2f9cc6,0x4b5,0x4f6)]??[]){_0x57ffb3+=_0x59d163[_0x174ddd(0x5c9,0x421,0x418,0x4e4)]();const _0x42a3c6=_0x57ffb3[_0x174ddd(0x4a0,0x61b,0x432,_0x139d05._0x21bbca)](/\r?\n/);_0x57ffb3=_0x42a3c6[_0x174ddd(_0x139d05._0x4c7953,0x3f6,0x5f8,0x52e)]()??'';for(const _0x255f9c of _0x42a3c6){if(_0x255f9c[_0x174ddd(_0x139d05._0x551ae9,0x258,_0x139d05._0x4ab8c4,_0x139d05._0x1d7dca)]>0x0)yield _0x255f9c;}}function _0x174ddd(_0x3d1a6b,_0x381e9a,_0xd9bc3e,_0x5c71d6){return _0x42cde8(_0x3d1a6b-0x59,_0x5c71d6-0x362,_0xd9bc3e-0x18,_0x381e9a);}_0x57ffb3[_0x174ddd(_0x139d05._0x414c80,0x382,0x4c6,0x434)]()[_0x174ddd(_0x139d05._0x171ca5,_0x139d05._0x298e87,0x1c0,_0x139d05._0x1277e9)]>0x0&&(yield _0x57ffb3[_0x20e892(_0x139d05._0x54693d,0x1c8,_0x139d05._0x11a6a0,0xde)]());}function parseMatchLine(_0x19265b,_0x16b8a6){const _0x3ded65={_0x1a97bd:0x488,_0xbae1b3:0x5a0,_0xa3267c:0x4a4,_0x1acf31:0x2c3,_0x5ebad9:0x2e5,_0x4cab2a:0x1ce,_0x2e537c:0x413,_0x4a7320:0x517,_0x2570f4:0x10f,_0x5d286d:0x6e,_0x32ee71:0x1eb,_0x2172f6:0x160,_0x15e939:0x3ff,_0x2227b5:0x46a,_0x325e8d:0x41d,_0x528fe0:0x53f,_0x35183c:0x651,_0x33099e:0x644,_0x556fe5:0x3b7,_0x35e9b0:0x50e,_0xdbe67f:0xc0,_0x2b38b2:0x3e,_0x57171a:0x160,_0x18dc60:0x4d6,_0x5aae26:0x464},_0x2caaf6={_0xbdea11:0x97};if(!_0x19265b||_0x19265b==='--')return null;function _0x567e01(_0x10d360,_0x4b92be,_0x59d418,_0x584f90){return _0x48c1e5(_0x4b92be-0x19a,_0x4b92be-_0x2caaf6._0xbdea11,_0x10d360,_0x584f90-0x13a);}const _0xf52297=_0x19265b[_0x567e01(_0x3ded65._0x1a97bd,_0x3ded65._0xbae1b3,_0x3ded65._0xa3267c,0x42d)]('|');function _0x8176fe(_0x35a25b,_0x58e692,_0x2a7e47,_0x304d06){return _0x48c1e5(_0x2a7e47- -0x3eb,_0x58e692-0xe1,_0x58e692,_0x304d06-0xf7);}if(_0x16b8a6&&_0xf52297[_0x8176fe(-_0x3ded65._0x1acf31,-_0x3ded65._0x5ebad9,-_0x3ded65._0x4cab2a,-0x17b)]>=0x4&&Number[_0x567e01(0x556,0x425,0x320,_0x3ded65._0x2e537c)](Number[_0x567e01(0x5b0,_0x3ded65._0x4a7320,0x614,0x4de)](_0xf52297[0x2]??'',0xa))){const _0x33c124=Number[_0x8176fe(_0x3ded65._0x2570f4,-0x11a,-_0x3ded65._0x5d286d,0x4d)](_0xf52297[0x1]??'',0xa);if(!Number[_0x8176fe(-0xa2,-_0x3ded65._0x32ee71,-_0x3ded65._0x2172f6,-0x1ae)](_0x33c124)||!_0xf52297[0x0])return null;return{'filePath':_0xf52297[0x0],'lineNum':_0x33c124,'lineText':_0xf52297[_0x567e01(_0x3ded65._0x15e939,_0x3ded65._0x2227b5,_0x3ded65._0x325e8d,_0x3ded65._0x528fe0)](0x3)[_0x567e01(_0x3ded65._0x35183c,0x4d6,_0x3ded65._0x33099e,0x4d0)]('|')};}if(_0xf52297[_0x567e01(0x383,_0x3ded65._0x556fe5,0x288,_0x3ded65._0x35e9b0)]>=0x3){const _0x404303=Number[_0x8176fe(_0x3ded65._0xdbe67f,0x4e,-0x6e,-0x13f)](_0xf52297[0x1]??'',0xa);if(!Number[_0x8176fe(-0x168,-_0x3ded65._0x2b38b2,-_0x3ded65._0x57171a,-0x2d)](_0x404303)||!_0xf52297[0x0])return null;return{'filePath':_0xf52297[0x0],'lineNum':_0x404303,'lineText':_0xf52297['slice'](0x2)[_0x567e01(0x417,_0x3ded65._0x18dc60,0x3c5,_0x3ded65._0x5aae26)]('|'),..._0x16b8a6?{'isContext':!![]}:{}};}return null;}async function search(_0x288227){const _0x8a5148={_0x273908:0x305,_0x71be2:0x471,_0x59dd0d:0x466,_0xd72954:0x258,_0x39227c:0x18c,_0x1fb602:0x3f5,_0x515457:0x32d,_0x2e19a3:0x3bd,_0x1c8137:0x1d,_0x4d7721:0x224,_0x1d685e:0x1b6,_0x180548:0x50a,_0x3b884b:0x37e,_0x4effee:0x41d,_0x1545a2:0x4cd,_0x56b8c8:0x7c,_0x23cf81:0x2cd,_0x212af5:0x257,_0x183076:0x10d,_0x312acf:0x109,_0x5aedbf:0x5a5,_0x1c3f99:0x4ae,_0x20e9be:0x4ce,_0x24ef7a:0x45f,_0x378b45:0x14f,_0x1de253:0x8c,_0x48f42c:0x29,_0x417055:0x73b,_0x34dccf:0x68f,_0x467245:0x228,_0x35cbef:0x285,_0x2746ff:0xbe,_0x378d92:0x3b,_0x43c3fc:0x11c,_0x549b28:0x19f,_0x369e42:0xd,_0x5d9746:0x66,_0x41109d:0x1d5,_0xd153f7:0xce,_0x425d7e:0x41e,_0x522f88:0x5e,_0x53be4b:0x506,_0x3fcccc:0x55c,_0x250da2:0x451,_0xa72fec:0x250,_0x191038:0x5fd,_0xa31959:0x48f,_0x4773d5:0x2cc,_0x3feb21:0x3eb,_0x5b493e:0x7f,_0x5d47d:0x5b},_0x7a454e={_0x2ff131:0xab,_0x2497e3:0x157,_0x460842:0xa,_0x331711:0x166,_0x241deb:0xad,_0x24cca5:0x340,_0xed49e3:0x216,_0x572876:0x56,_0x45634b:0x41,_0x23317c:0xf1,_0x2d3eb9:0x16f,_0x416fc4:0x14b,_0x38fd6c:0x42,_0xbf6d15:0x1ac,_0x4b8c33:0x2a5},_0x1c52a5={_0x45e016:0x4a9,_0x18b239:0x12d},_0x4241b0={_0x572378:0x87},_0x3884a0=await filepath();function _0x3f6b19(_0xf0b63c,_0x5b58b5,_0x27c400,_0x26bc62){return _0x48c1e5(_0x26bc62- -0x37f,_0x5b58b5-0xf8,_0xf0b63c,_0x26bc62-_0x4241b0._0x572378);}if(_0x288227[_0x3f6b19(-_0x8a5148._0x273908,-0x1b1,-0x189,-0x1b6)]){const _0x452e79=await _0x36a9db(_0x288227[_0x14d269(_0x8a5148._0x71be2,0x4be,_0x8a5148._0x59dd0d,0x3a7)])[_0x3f6b19(-0x252,-_0x8a5148._0xd72954,-0x27f,-_0x8a5148._0x39227c)](()=>null);if(!_0x452e79?.[_0x14d269(0x33e,_0x8a5148._0x1fb602,_0x8a5148._0x515457,_0x8a5148._0x2e19a3)]())throw Object['assign'](new Error(_0x3f6b19(-0x236,-_0x8a5148._0x1c8137,-0x179,-0xe9)+_0x288227[_0x3f6b19(-0x1ad,-0xd3,-_0x8a5148._0x4d7721,-_0x8a5148._0x1d685e)]+'\x27'),{'code':_0x14d269(_0x8a5148._0x180548,0x3d5,_0x8a5148._0x3b884b,_0x8a5148._0x4effee)});}else{const _0x411508=await _0x36a9db(_0x288227['cwd'])[_0x14d269(0x42f,_0x8a5148._0x1545a2,0x4d7,0x3d1)](()=>null);if(!_0x411508?.[_0x3f6b19(-_0x8a5148._0x56b8c8,-_0x8a5148._0x23cf81,-_0x8a5148._0x212af5,-0x1ac)]())throw Object[_0x3f6b19(-0x52,_0x8a5148._0x183076,-_0x8a5148._0x312acf,-0x22)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x288227[_0x14d269(_0x8a5148._0x5aedbf,_0x8a5148._0x1c3f99,_0x8a5148._0x20e9be,_0x8a5148._0x24ef7a)]+'\x27'),{'code':'ENOENT'});}const _0x506a0d=[_0x3f6b19(_0x8a5148._0x378b45,-_0x8a5148._0x1de253,-0xcb,_0x8a5148._0x48f42c),'--field-match-separator=|','--field-context-separator=|',_0x14d269(0x7a3,0x6c8,_0x8a5148._0x417055,_0x8a5148._0x34dccf),_0x288227[_0x3f6b19(-_0x8a5148._0x467245,-_0x8a5148._0x35cbef,-0xe7,-0x1be)]],_0x57ac23=typeof _0x288227[_0x3f6b19(-_0x8a5148._0x2746ff,0x17,_0x8a5148._0x378d92,-0x40)]===_0x3f6b19(-_0x8a5148._0x43c3fc,-0x116,0xb,-0x3e)&&_0x288227[_0x3f6b19(-0x119,-_0x8a5148._0x549b28,-_0x8a5148._0x369e42,-0x40)]>0x0;function _0x14d269(_0x3ad995,_0x3ac093,_0x4f00eb,_0x2047bf){return _0x42cde8(_0x3ad995-0x129,_0x2047bf-_0x1c52a5._0x45e016,_0x4f00eb-_0x1c52a5._0x18b239,_0x3ad995);}return _0x57ac23&&_0x506a0d[_0x3f6b19(_0x8a5148._0x5d9746,0x22,-_0x8a5148._0x41109d,-_0x8a5148._0xd153f7)]('-C',String(_0x288227['context']),_0x14d269(0x5bb,0x3d6,0x4ca,0x477)),_0x288227[_0x14d269(0x378,0x2c5,0x34c,_0x8a5148._0x425d7e)]&&!_0x288227[_0x3f6b19(-_0x8a5148._0x522f88,-0x1c8,-0x94,-0x1b6)]&&_0x506a0d[_0x14d269(_0x8a5148._0x53be4b,_0x8a5148._0x3fcccc,_0x8a5148._0x250da2,0x48f)]('--glob',_0x288227[_0x3f6b19(-0x52,-0x16c,-_0x8a5148._0xa72fec,-0x13f)]),_0x506a0d[_0x14d269(0x5a1,0x354,_0x8a5148._0x191038,_0x8a5148._0xa31959)](_0x288227[_0x14d269(_0x8a5148._0x4773d5,_0x8a5148._0x3feb21,0x384,0x3a7)]??_0x288227[_0x3f6b19(-0x9d,_0x8a5148._0x5b493e,-_0x8a5148._0x5d47d,-0xfe)]),await new Promise((_0x4d2936,_0x15b02f)=>{const _0x34f4ab={_0xe2f1ab:0x2ce,_0x4a8d1c:0x343,_0x3c2256:0x15a,_0x45435e:0x90},_0x38116f={_0x372aa3:0x5c},_0x2be97a={_0x5aa089:0xb5},_0x4cbc77=_0x184d33(_0x3884a0,_0x506a0d,{'cwd':_0x288227[_0x13c401(-_0x7a454e._0x2ff131,_0x7a454e._0x2497e3,-0x30,_0x7a454e._0x460842)],'stdio':[_0x13c401(_0x7a454e._0x331711,_0x7a454e._0x241deb,_0x7a454e._0x24cca5,_0x7a454e._0xed49e3),'pipe',_0x13c401(-_0x7a454e._0x572876,-0xb7,-0x97,_0x7a454e._0x45634b)]});let _0x1ea00d='',_0x43faa4='';_0x4cbc77[_0x3d2ecb(0x84,-0x4d,-_0x7a454e._0x23317c,_0x7a454e._0x2d3eb9)]?.['on'](_0x13c401(0x7d,_0x7a454e._0x416fc4,_0x7a454e._0x38fd6c,_0x7a454e._0xbf6d15),_0x264e17=>{_0x1ea00d+=_0x264e17['toString']();}),_0x4cbc77['stderr']?.['on'](_0x3d2ecb(0x48,0xb,-0x12f,0x62),_0x4d7aed=>{_0x43faa4+=_0x4d7aed['toString']();});function _0x13c401(_0xef02f7,_0x53468f,_0x465ecd,_0x43cbf3){return _0x3f6b19(_0xef02f7,_0x53468f-_0x2be97a._0x5aa089,_0x465ecd-0x108,_0x43cbf3-0x108);}function _0x3d2ecb(_0x285fda,_0x29f31a,_0xff6123,_0x4aebdd){return _0x3f6b19(_0x29f31a,_0x29f31a-0x112,_0xff6123-0x17f,_0x285fda- -_0x38116f._0x372aa3);}_0x4cbc77['on'](_0x3d2ecb(-0x156,-0x6f,-0x18d,-_0x7a454e._0x4b8c33),_0x177839=>{const _0x253c93={_0x879db7:0xb1,_0x52a635:0x79},_0xa91fa3={_0x4e9221:0x58};function _0x2aff89(_0x11466e,_0x18d8d7,_0x54948a,_0x4cc97f){return _0x13c401(_0x4cc97f,_0x18d8d7-0x103,_0x54948a-_0xa91fa3._0x4e9221,_0x54948a-0x1b4);}function _0x12d0fe(_0x1d3b31,_0x295df2,_0x301f1b,_0x244b0f){return _0x3d2ecb(_0x295df2-_0x253c93._0x879db7,_0x244b0f,_0x301f1b-0x78,_0x244b0f-_0x253c93._0x52a635);}if(_0x177839===0x1&&_0x1ea00d===''){_0x4d2936([]);return;}if(_0x177839!==0x0&&_0x177839!==0x1){_0x15b02f(new Error('ripgrep\x20failed:\x20'+_0x43faa4));return;}const _0x3dc96f=_0x288227[_0x2aff89(0x278,_0x34f4ab._0xe2f1ab,0x2e0,0x38e)]??0x64,_0x419727=[];for(const _0xfbfd09 of _0x1ea00d[_0x2aff89(0x2d3,0x25d,_0x34f4ab._0x4a8d1c,0x325)](/\r?\n/)){if(_0x419727[_0x2aff89(0x214,0x10,_0x34f4ab._0x3c2256,_0x34f4ab._0x45435e)]>=_0x3dc96f)break;const _0x3bdf4d=parseMatchLine(_0xfbfd09,_0x57ac23);if(_0x3bdf4d)_0x419727['push'](_0x3bdf4d);}_0x4d2936(_0x419727);}),_0x4cbc77['on']('error',_0x15b02f);});}function createGlobTool(_0x1fc038={}){const _0x400552={_0xf474e2:0x2c7,_0x1d7240:0x345,_0x4b3231:0x1e1,_0x59b573:0x276,_0xf9ecf0:0x364,_0x343edb:0x451,_0x2e441c:0x3a7,_0x496ed1:0x389,_0x3cd258:0x4c6,_0x25c5b5:0x379,_0x40b622:0x3c7,_0x35d852:0x269,_0x1fddda:0x445,_0xc53ebc:0x5db,_0x28eb08:0x5b5,_0x17fb6a:0x217},_0x93bd29={_0xbb7706:0x2dc,_0x462fe2:0x20f,_0x17e26a:0x5ba,_0x32e582:0x6cf,_0x656a41:0x4ce,_0x2c8331:0x432,_0x32ef5d:0x61b,_0x1e02aa:0x626,_0xc1c43b:0x423,_0x3c6edc:0x31f,_0x23b146:0x1fd,_0x95e8fe:0x87,_0x3b5031:0xb3,_0x38c7db:0x2d,_0x3db09f:0x4d0,_0x14a1bb:0x619,_0x50403d:0x48c,_0x47a5e9:0x613,_0x70c2f6:0x3de,_0x558524:0x3f5,_0x1a84eb:0x525,_0x375a15:0x4fb,_0x508d5e:0x43a,_0x54cee5:0x318,_0x173ce5:0xf0,_0x1bf21c:0x42,_0x47f3a2:0x22a,_0x15d24e:0x520,_0x372ca4:0x57d,_0x370ea5:0x59f,_0x51ba24:0x636,_0x3fd874:0x287,_0x37bd44:0x3d,_0xcb007c:0x99,_0xaab93d:0x8e,_0x2fe251:0x124},_0x73f94a={_0x3752ee:0x47e,_0x257ed4:0x158},_0x517599={_0x7319b4:0x8a,_0x22f244:0x131},_0x26e115={_0x25d99d:0xae,_0x45cc2f:0xfb},_0x176ca7=_0x18b0c7['resolve'](_0x1fc038[_0x5e75ea(_0x400552._0xf474e2,0x349,_0x400552._0x1d7240,0x223)]??process[_0x5e75ea(_0x400552._0x4b3231,0x30b,0x430,0x296)]()),_0x1e92ff=_0x1fc038[_0x5e75ea(_0x400552._0x59b573,_0x400552._0xf9ecf0,0x496,0x3fd)]??[],_0x77774f=_0x1fc038[_0x461b5b(_0x400552._0x343edb,_0x400552._0x2e441c,0x36d,_0x400552._0x496ed1)]??0x64,_0x5cc9e9=_0x1fc038[_0x461b5b(0x372,_0x400552._0x3cd258,0x202,0x2a1)]??_0x5e75ea(0x481,0x3d7,0x437,0x35a);function _0x461b5b(_0xf72c19,_0x2d391b,_0x15cf71,_0x395404){return _0x48c1e5(_0xf72c19-_0x26e115._0x25d99d,_0x2d391b-_0x26e115._0x45cc2f,_0x2d391b,_0x395404-0x29);}function _0x5e75ea(_0x293cf9,_0x330b48,_0x3006d7,_0x471eee){return _0x48c1e5(_0x330b48-_0x517599._0x7319b4,_0x330b48-0x1a9,_0x293cf9,_0x471eee-_0x517599._0x22f244);}return defineTool({'name':_0x5cc9e9,'description':_0x5e75ea(0x5d5,0x4dc,0x427,_0x400552._0x25c5b5),'inputSchema':{'type':_0x461b5b(_0x400552._0x40b622,0x497,_0x400552._0x35d852,_0x400552._0x1fddda),'properties':{'pattern':{'type':_0x461b5b(0x4d0,_0x400552._0xc53ebc,0x39b,0x5cc)},'path':{'type':_0x461b5b(0x4d0,0x470,0x53b,_0x400552._0x28eb08)},'limit':{'type':'number'}},'required':[_0x5e75ea(_0x400552._0x17fb6a,0x24b,0x256,0x172)]},async *'execute'(_0x209502){if(_0x209502[_0x13ab55(-0x262,-_0x93bd29._0xbb7706,-_0x93bd29._0x462fe2,-0x25b)][_0x1d4710(_0x93bd29._0x17e26a,_0x93bd29._0x32e582,_0x93bd29._0x656a41,0x713)]()['length']===0x0)throw new ToolExecutionError(_0x1d4710(_0x93bd29._0x2c8331,0x432,0x2ea,0x58a),{});const _0xb843c7=resolveAllowedPath(_0x176ca7,_0x1e92ff,_0x209502[_0x1d4710(0x5b1,_0x93bd29._0x32ef5d,_0x93bd29._0x1e02aa,0x5e6)]??'.'),_0x538d73=await _0x28d4c4(_0xb843c7)[_0x1d4710(0x410,0x345,_0x93bd29._0xc1c43b,_0x93bd29._0x3c6edc)](()=>null);if(!_0x538d73?.[_0x13ab55(-0x145,-0x2f3,-_0x93bd29._0x23b146,-0x19e)]())throw new ToolExecutionError(_0x13ab55(_0x93bd29._0x95e8fe,-_0x93bd29._0x3b5031,0x46,0x1a3)+(_0x209502['path']??'.'),{'path':_0x209502['path']??'.'});function _0x13ab55(_0x15a7c5,_0x422894,_0x555c28,_0x44f70c){return _0x461b5b(_0x555c28- -_0x73f94a._0x3752ee,_0x422894,_0x555c28-_0x73f94a._0x257ed4,_0x44f70c-0xb5);}function _0x1d4710(_0x1b8229,_0x5c742b,_0x3d209b,_0x2933c){return _0x5e75ea(_0x5c742b,_0x1b8229-0x193,_0x3d209b-0x1c5,_0x2933c-0x53);}const _0x54cf4c=_0x209502[_0x13ab55(-0x14c,0xae,-_0x93bd29._0x38c7db,0xf6)]??_0x77774f,_0x3d14c9=Math[_0x1d4710(_0x93bd29._0x3db09f,0x58a,_0x93bd29._0x14a1bb,_0x93bd29._0x50403d)](0x1,Math[_0x1d4710(0x495,_0x93bd29._0x47a5e9,0x53f,0x443)](_0x54cf4c)),_0xca793a=[];let _0x59c04e=![];for await(const _0x2ad189 of files({'cwd':_0xb843c7,'glob':[_0x209502[_0x1d4710(_0x93bd29._0x70c2f6,_0x93bd29._0x558524,_0x93bd29._0x1a84eb,_0x93bd29._0x375a15)]]})){if(_0xca793a[_0x1d4710(_0x93bd29._0x508d5e,0x364,0x2f6,_0x93bd29._0x54cee5)]>=_0x3d14c9){_0x59c04e=!![];break;}const _0xd4d850=await _0x28d4c4(_0x18b0c7[_0x13ab55(-_0x93bd29._0x173ce5,-0x114,-0x94,-0x117)](_0xb843c7,_0x2ad189))['catch'](()=>null);_0xca793a[_0x13ab55(0x1,_0x93bd29._0x1bf21c,-0x11f,-_0x93bd29._0x47f3a2)]({'path':_0x2ad189,'mtime':_0xd4d850?.[_0x1d4710(0x667,_0x93bd29._0x15d24e,0x6f3,0x73d)]??0x0});}_0xca793a[_0x1d4710(0x590,_0x93bd29._0x372ca4,0x6c2,0x4df)]((_0x57bb91,_0x3b7fd7)=>_0x3b7fd7[_0x1d4710(0x5d6,0x471,0x575,0x5b3)]-_0x57bb91[_0x1d4710(0x5d6,0x749,0x49b,0x48d)]);const _0x20e436=_0xca793a['map'](_0xb15f51=>_0xb15f51[_0x13ab55(0xa8,-0x1ad,-0x3c,0x103)]),_0x5aa983=_0x20e436[_0x1d4710(_0x93bd29._0x508d5e,0x47c,0x38c,_0x93bd29._0x370ea5)]===0x0?_0x1d4710(0x4ec,_0x93bd29._0x51ba24,0x42c,0x4f5)+_0x209502['pattern']:''+_0x20e436['join']('\x0a')+(_0x59c04e?_0x13ab55(-_0x93bd29._0x3fd874,_0x93bd29._0x37bd44,-0x113,-0x1e6):'');return yield createToolOutput(_0x5aa983,{'pattern':_0x209502['pattern'],'searchPath':_0x18b0c7[_0x13ab55(-0x12,_0x93bd29._0xcb007c,-_0x93bd29._0xaab93d,-_0x93bd29._0x2fe251)](_0x176ca7,_0xb843c7)||'.','matches':_0x20e436,'count':_0x20e436['length'],'truncated':_0x59c04e}),void 0x0;}});}import{stat as _0x6724f}from'fs/promises';import*as _0x34d1d0 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x15d146={}){const _0x488c58={_0x4c7676:0x1dd,_0x19e856:0xe8,_0x1db73d:0x15f,_0x4cfa43:0x25f,_0x440c67:0x18b,_0x45c63b:0x3b,_0x1b7a1e:0x2a2,_0x625628:0xf4,_0x471f0e:0xc5,_0x5ed284:0x1bd,_0x5caa09:0xbd,_0x5c51c4:0x185,_0x1454f5:0x1c9,_0x267c1c:0x2d0,_0x56dd00:0x38a,_0x1409b6:0x37,_0x1be5cd:0x1ef,_0x4dcfa6:0x34a,_0xbf3cf1:0x31e,_0x5383dc:0xb2,_0x17b65b:0x1d3},_0x1e0588={_0x37f857:0x3ab,_0x3bdac5:0x301,_0x39a9a3:0x45a,_0x2a593d:0x47d,_0x5aca23:0x3bd,_0x223bd0:0x2fa,_0x1ad60b:0xfc,_0x28e981:0x3e7,_0x167e3b:0x430,_0x49d047:0x643,_0x182904:0x565,_0xb8603d:0x6a1,_0x180eeb:0x510,_0x4ff558:0x5f4,_0x50bae0:0x55,_0x1ea15f:0x189,_0x32e443:0x171,_0x1157ea:0x31,_0x5afa0a:0x5c0,_0x111939:0x237,_0x1a7b91:0xf,_0x5df1b6:0x3b,_0x342b37:0xb9,_0x47f7b3:0x142,_0x6c7f2a:0x85,_0x5cef45:0x74,_0x2f0a38:0x1f7,_0x24cf43:0x680,_0x19974a:0x615,_0x39334c:0x25,_0xf551ee:0xb0,_0x4c4565:0x122,_0x45d054:0x6c0,_0x13f1be:0x61f,_0x1e8230:0x604,_0x370565:0x43,_0x51df97:0x19a,_0x347fc0:0x18c,_0x3d9550:0x613,_0x31cd05:0x17f,_0x482ef6:0xbf,_0x315954:0x110,_0x373bd8:0xc1,_0x3e6d6f:0xb,_0x4339cc:0xa,_0x32c5e8:0xbc,_0x69fc52:0x47d,_0x225e97:0x34,_0x564504:0x126,_0x2a19ea:0x1db,_0xe3b7ad:0x25a,_0x2f4752:0x2ec,_0x381a0c:0x421,_0x31cd67:0x265,_0x4fde7b:0x208,_0x388660:0x69d,_0x4d7d22:0x71b,_0xb1eef5:0x166,_0x114016:0xb6,_0x1d7312:0x1eb,_0x146bd0:0x11d,_0x193236:0x145,_0x6d57e9:0xde,_0x3e11ff:0x1f6,_0x50d2ab:0x1b1,_0x3dbd41:0x655,_0x55d1f1:0x749,_0x5e4e26:0x5f0,_0x2fdc12:0x68,_0x3bc9a9:0x5,_0x1b860a:0x1c6,_0x31478b:0x25b,_0x52a121:0x207,_0x4986c5:0xd,_0x3f4174:0xe3,_0x226d42:0x2,_0x2402f9:0x185,_0x5ae202:0x1d7,_0x1777b0:0xf,_0x5dc087:0xb6,_0x81ab97:0xd0,_0x54047d:0xa7,_0x3d8708:0x6c6,_0x5ee754:0x5ea,_0x588fe5:0x6fc,_0x43eb42:0x667,_0x55ebda:0x5b,_0x1b2800:0xcb},_0x3706aa={_0x2460ac:0x36,_0x5b893f:0x15b},_0x1268de={_0x4a63e8:0x1d9},_0x55f852={_0x37956f:0x4f,_0x5ebbe6:0x2e,_0x23c011:0xa6},_0x248ede=_0x34d1d0[_0x15ed71(_0x488c58._0x4c7676,0x36,0xf1,_0x488c58._0x19e856)](_0x15d146['defaultCwd']??process[_0x23d421(0x12f,0x2c,_0x488c58._0x1db73d,_0x488c58._0x4cfa43)]()),_0x5a92f4=_0x15d146[_0x15ed71(0x1a7,_0x488c58._0x440c67,_0x488c58._0x45c63b,0x3d)]??[],_0x9d8448=_0x15d146[_0x23d421(0x251,0x162,_0x488c58._0x1b7a1e,0x2b4)]??0x64;function _0x15ed71(_0x4d3301,_0x8b576e,_0x171bec,_0x4c3ae3){return _0x42cde8(_0x4d3301-_0x55f852._0x37956f,_0x4c3ae3-_0x55f852._0x5ebbe6,_0x171bec-_0x55f852._0x23c011,_0x171bec);}const _0x5e7731=_0x15d146['name']??'Grep';function _0x23d421(_0xe07b52,_0x459e55,_0x2d2ef2,_0x497c70){return _0x48c1e5(_0xe07b52- -0x152,_0x459e55-0xd3,_0x497c70,_0x497c70-_0x1268de._0x4a63e8);}return defineTool({'name':_0x5e7731,'description':_0x23d421(_0x488c58._0x625628,0x247,_0x488c58._0x471f0e,_0x488c58._0x5ed284),'inputSchema':{'type':_0x15ed71(-_0x488c58._0x5caa09,_0x488c58._0x5c51c4,0x18d,0x7c),'properties':{'pattern':{'type':_0x15ed71(0x116,_0x488c58._0x1454f5,0x17d,_0x488c58._0x5c51c4)},'path':{'type':_0x23d421(_0x488c58._0x267c1c,0x2ff,_0x488c58._0x56dd00,0x348)},'include':{'type':_0x15ed71(_0x488c58._0x1409b6,0x18b,0x20c,0x185)},'limit':{'type':_0x23d421(_0x488c58._0x1be5cd,_0x488c58._0x4dcfa6,0x12d,0x114)},'context':{'type':_0x23d421(0x1ef,_0x488c58._0xbf3cf1,0x122,_0x488c58._0x5383dc)}},'required':[_0x15ed71(-0x1f7,-_0x488c58._0x17b65b,-0x233,-0xdc)]},async *'execute'(_0x23a320){const _0x3075ee={_0x45fe51:0x1dc,_0x5dc37a:0x7a,_0x5a0b95:0x4fd};if(_0x23a320[_0x2647d3(-0x237,-0x285,-0x1fb,-_0x1e0588._0x37f857)]['trim']()[_0x58a342(0x33c,_0x1e0588._0x3bdac5,_0x1e0588._0x39a9a3,_0x1e0588._0x2a593d)]===0x0)throw new ToolExecutionError(_0x58a342(0x420,_0x1e0588._0x5aca23,_0x1e0588._0x223bd0,0x475),{});function _0x58a342(_0x66050f,_0x50cf99,_0x5112f9,_0x1e7d73){return _0x15ed71(_0x66050f-_0x3075ee._0x45fe51,_0x50cf99-_0x3075ee._0x5dc37a,_0x66050f,_0x1e7d73-_0x3075ee._0x5a0b95);}const _0x25cd47=resolveAllowedPath(_0x248ede,_0x5a92f4,_0x23a320[_0x2647d3(-0x64,0xa2,_0x1e0588._0x1ad60b,-0x1d8)]??'.'),_0x4a6378=await _0x6724f(_0x25cd47)['catch'](()=>null),_0x3ea3cc=_0x4a6378?.['isFile']()??![];function _0x2647d3(_0x2811b2,_0x438917,_0x18f0e3,_0x1457de){return _0x15ed71(_0x2811b2-_0x3706aa._0x2460ac,_0x438917-0xb0,_0x1457de,_0x2811b2- -_0x3706aa._0x5b893f);}const _0x1a11e9=_0x4a6378?.[_0x58a342(_0x1e0588._0x28e981,0x585,_0x1e0588._0x167e3b,0x433)]()??![];if(!_0x3ea3cc&&!_0x1a11e9)throw new ToolExecutionError(_0x58a342(0x5c0,_0x1e0588._0x49d047,0x4bd,_0x1e0588._0x182904)+(_0x23a320[_0x58a342(0x595,0x62e,_0x1e0588._0xb8603d,0x5f4)]??'.'),{'path':_0x23a320[_0x58a342(0x709,_0x1e0588._0x180eeb,0x534,_0x1e0588._0x4ff558)]??'.'});const _0x5b0ef8=_0x23a320[_0x2647d3(-_0x1e0588._0x50bae0,-0xe,-0x18d,-_0x1e0588._0x1ea15f)]??_0x9d8448,_0x1f63dc=Math[_0x2647d3(-0x145,-_0x1e0588._0x32e443,-0x220,-_0x1e0588._0x1157ea)](0x1,Math[_0x58a342(0x64c,0x450,_0x1e0588._0x5afa0a,0x4d8)](_0x5b0ef8)),_0x56d6d1=await search({'cwd':_0x1a11e9?_0x25cd47:_0x34d1d0[_0x2647d3(0x3,0xa5,0xb,0x50)](_0x25cd47),'pattern':_0x23a320[_0x2647d3(-_0x1e0588._0x111939,-0x29d,-0x112,-0x27f)],'glob':_0x1a11e9?_0x23a320[_0x2647d3(_0x1e0588._0x1a7b91,-_0x1e0588._0x5df1b6,0x22,0xa)]:void 0x0,'limit':_0x1f63dc,'file':_0x3ea3cc?_0x25cd47:void 0x0,'context':_0x23a320[_0x2647d3(-_0x1e0588._0x342b37,-0x1ef,-_0x1e0588._0x47f7b3,-0x33)]}),_0x5249ab=new Map();for(const _0x539816 of _0x56d6d1){if(!_0x5249ab[_0x2647d3(_0x1e0588._0x6c7f2a,0x1e2,_0x1e0588._0x5cef45,_0x1e0588._0x2f0a38)](_0x539816[_0x58a342(0x4db,0x6f2,_0x1e0588._0x24cf43,_0x1e0588._0x19974a)])){const _0x3597db=await _0x6724f(_0x539816[_0x2647d3(-0x43,-0xd,-_0x1e0588._0x39334c,_0x1e0588._0xf551ee)])[_0x2647d3(-0x205,-_0x1e0588._0x4c4565,-0x251,-0x2ac)](()=>null);_0x5249ab[_0x58a342(0x67a,_0x1e0588._0x45d054,_0x1e0588._0x13f1be,_0x1e0588._0x1e8230)](_0x539816[_0x2647d3(-_0x1e0588._0x370565,-0x123,-_0x1e0588._0x51df97,-_0x1e0588._0x347fc0)],{'matches':[],'mtime':_0x3597db?.[_0x58a342(0x57a,_0x1e0588._0x3d9550,0x7e8,0x6aa)]??0x0});}_0x5249ab['get'](_0x539816[_0x2647d3(-_0x1e0588._0x370565,-_0x1e0588._0x31cd05,-_0x1e0588._0x482ef6,-_0x1e0588._0x315954)])?.[_0x2647d3(_0x1e0588._0x373bd8,-_0x1e0588._0x3e6d6f,_0x1e0588._0x4339cc,0x110)]['push'](_0x539816);}const _0x422d99=[..._0x5249ab[_0x2647d3(-0x213,-0x37c,-0xd3,-0x2e8)]()][_0x2647d3(-_0x1e0588._0x6c7f2a,-_0x1e0588._0x32c5e8,-0x1f1,-0x44)]((_0x4247f9,_0x2d7052)=>_0x2d7052[0x1]['mtime']-_0x4247f9[0x1][_0x2647d3(-0x3f,0x11c,-0x4c,0xd4)]),_0x2dbb65=_0x56d6d1['filter'](_0x3afb14=>!_0x3afb14[_0x2647d3(0x10,-0x121,0x69,-0x133)])[_0x58a342(0x387,0x499,0x3bd,_0x1e0588._0x69fc52)],_0x4e6046=_0x56d6d1['length']>=_0x1f63dc,_0x3b11b1=_0x3ea3cc?_0x34d1d0[_0x2647d3(0x3,-0x14a,-_0x1e0588._0x225e97,-_0x1e0588._0x564504)](_0x25cd47):_0x25cd47;let _0x3e30eb='';if(_0x56d6d1[_0x2647d3(-_0x1e0588._0x2a19ea,-_0x1e0588._0xe3b7ad,-0x247,-0x30a)]===0x0)_0x3e30eb='No\x20matches\x20found\x20for\x20pattern:\x20'+_0x23a320[_0x58a342(0x572,0x55c,_0x1e0588._0x2f4752,_0x1e0588._0x381a0c)];else{_0x3e30eb=_0x2647d3(-0x171,-0x17f,-_0x1e0588._0x31cd67,-_0x1e0588._0x4fde7b)+_0x2dbb65+_0x58a342(0x676,0x70e,_0x1e0588._0x388660,_0x1e0588._0x4d7d22)+(_0x2dbb65===0x1?'':'es')+'\x0a';for(const [_0x3f1e9b,_0x4167e4]of _0x422d99){const _0x10749e=_0x3ea3cc?_0x34d1d0[_0x2647d3(-0x216,-0x162,-_0x1e0588._0xb1eef5,-0x195)](_0x3f1e9b):_0x34d1d0[_0x2647d3(-_0x1e0588._0x114016,-_0x1e0588._0x1d7312,-0x98,-0x3d)](_0x3b11b1,_0x3f1e9b);_0x3e30eb+='\x0a'+_0x10749e+':\x0a';for(const _0x36a0a6 of _0x4167e4[_0x2647d3(0xc1,0x1cb,_0x1e0588._0x146bd0,_0x1e0588._0x193236)]){const _0x20a6a7=_0x36a0a6['lineText'][_0x2647d3(-0x1db,-_0x1e0588._0x6d57e9,-_0x1e0588._0x3e11ff,-_0x1e0588._0x50d2ab)]>MAX_LINE_LENGTH?_0x36a0a6[_0x58a342(_0x1e0588._0x3dbd41,_0x1e0588._0x55d1f1,0x4f0,_0x1e0588._0x5e4e26)]['slice'](0x0,MAX_LINE_LENGTH)+'...':_0x36a0a6[_0x2647d3(-_0x1e0588._0x2fdc12,-_0x1e0588._0x3bc9a9,0x103,0xd7)],_0x212c5e=_0x36a0a6['isContext']?'\x20\x20':'>\x20';_0x3e30eb+=_0x212c5e+_0x2647d3(-_0x1e0588._0x1b860a,-0x309,-_0x1e0588._0x31478b,-_0x1e0588._0x52a121)+_0x36a0a6['lineNum']+':\x20'+_0x20a6a7+'\x0a';}}_0x4e6046&&(_0x3e30eb+=_0x2647d3(-0x13b,-0x96,-0xe,-_0x1e0588._0x4986c5));}const _0xd4d4d2={'searchPath':_0x34d1d0[_0x2647d3(-0xb6,-0xb2,-_0x1e0588._0x3f4174,-_0x1e0588._0x226d42)](_0x248ede,_0x25cd47)||'.','pattern':_0x23a320[_0x58a342(0x52f,0x40d,0x51b,0x421)],'matchCount':_0x2dbb65,'fileCount':_0x5249ab[_0x2647d3(-_0x1e0588._0x2402f9,-_0x1e0588._0x5ae202,-0x12c,-0x18b)],'truncated':_0x4e6046};return _0x1a11e9&&_0x23a320[_0x2647d3(_0x1e0588._0x1777b0,-_0x1e0588._0x5dc087,-_0x1e0588._0x81ab97,-_0x1e0588._0x54047d)]!==void 0x0&&(_0xd4d4d2[_0x2647d3(_0x1e0588._0x1a7b91,-0x35,0x112,0xf5)]=_0x23a320[_0x58a342(_0x1e0588._0x3d8708,_0x1e0588._0x5ee754,_0x1e0588._0x588fe5,_0x1e0588._0x43eb42)]),yield createToolOutput(_0x3e30eb[_0x2647d3(-_0x1e0588._0x55ebda,0x55,-0x13f,_0x1e0588._0x1b2800)](),_0xd4d4d2),void 0x0;}});}function createKillShellTool(_0x125c16){const _0x4f4f8b={_0x94539e:0xa7,_0xd58a76:0x109,_0x309549:0x6d,_0x1535b9:0xe2,_0x2dc053:0x1ef,_0x3db50d:0x24a,_0x2ace43:0x1db},_0x1aca66={_0x3cf21a:0x54c,_0x515309:0x692,_0x3b32f3:0x16b,_0x1330a9:0x6f,_0x3502e3:0xdd,_0x4a5ccd:0x663,_0x252bae:0x70f,_0x48b1fe:0x6ea,_0x253754:0x629,_0x41137e:0x785,_0x4f3935:0x835,_0x4c806a:0x346,_0x5d945c:0x3f0},_0x4077dd={_0x2915bb:0x137,_0x1627c1:0x740},_0x5a10a6={_0x540e77:0xca,_0xc82ec9:0x94,_0x4f51b1:0x21},{registry:_0x1eeca1}=_0x125c16;function _0x125702(_0xd939b9,_0x488a7b,_0x241e8,_0x48372d){return _0x42cde8(_0xd939b9-_0x5a10a6._0x540e77,_0x488a7b-_0x5a10a6._0xc82ec9,_0x241e8-_0x5a10a6._0x4f51b1,_0x241e8);}function _0x43a1df(_0x3bd0aa,_0x429928,_0x4b2812,_0x5a070e){return _0x48c1e5(_0x4b2812- -0x4b2,_0x429928-0x106,_0x429928,_0x5a070e-0xd2);}return defineTool({'name':'KillShell','description':_0x125702(_0x4f4f8b._0x94539e,_0x4f4f8b._0xd58a76,0x131,0x223),'inputSchema':{'type':_0x125702(_0x4f4f8b._0x309549,_0x4f4f8b._0x1535b9,0xa1,_0x4f4f8b._0x2dc053),'properties':{'shellId':{'type':'string'}},'required':[_0x125702(0x1f1,_0x4f4f8b._0x3db50d,0x23f,_0x4f4f8b._0x2ace43)]},async *'execute'(_0x273ec6){const _0x477648={_0x2c6909:0x15},_0x15b9a8=_0x1eeca1[_0x37d4e0(0x4f3,0x5f0,_0x1aca66._0x3cf21a,_0x1aca66._0x515309)](_0x273ec6['shellId']);function _0x2367bd(_0x4ca383,_0x22fcf3,_0x1cf918,_0x13ad28){return _0x43a1df(_0x4ca383-_0x477648._0x2c6909,_0x4ca383,_0x22fcf3-0xa0,_0x13ad28-0x27);}function _0x37d4e0(_0x38b331,_0x3f7b71,_0x2bc9fb,_0x3a42ff){return _0x43a1df(_0x38b331-_0x4077dd._0x2915bb,_0x3a42ff,_0x3f7b71-_0x4077dd._0x1627c1,_0x3a42ff-0xb4);}return createToolOutput('Killed\x20'+_0x273ec6[_0x2367bd(_0x1aca66._0x3b32f3,_0x1aca66._0x1330a9,_0x1aca66._0x3502e3,0x16e)]+'\x20(status:\x20'+_0x15b9a8['status']+').',{'shellId':_0x273ec6[_0x37d4e0(_0x1aca66._0x4a5ccd,_0x1aca66._0x252bae,_0x1aca66._0x48b1fe,0x61c)],'status':_0x15b9a8['status'],'exitCode':_0x15b9a8[_0x37d4e0(_0x1aca66._0x253754,0x6f5,_0x1aca66._0x41137e,_0x1aca66._0x4f3935)],'signal':_0x15b9a8[_0x37d4e0(0x566,0x489,_0x1aca66._0x4c806a,_0x1aca66._0x5d945c)]});}});}import{readdir as _0x10f866,readFile as _0x47c828,stat as _0x248887}from'fs/promises';import*as _0x3e6079 from'path';import*as _0xa8faca from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x1ffa76,_0x40dbf8){const _0x5da36a={_0x2e7fed:0x30d,_0x5f5bcf:0x242,_0x53e06e:0xff,_0x5ce57a:0x32,_0x52d129:0x3a0,_0x442de5:0x24a},_0x133dd8={_0x4df3d2:0x19b},_0x212368={_0x44d2cf:0x16b};function _0xbb1f6f(_0x236402,_0x5422fe,_0x7a688b,_0x3b2817){return _0x42cde8(_0x236402-0x1a,_0x7a688b- -0x1ff,_0x7a688b-_0x212368._0x44d2cf,_0x3b2817);}function _0x19f538(_0x5d7f5f,_0x39395e,_0x4942ac,_0x32093e){return _0x42cde8(_0x5d7f5f-_0x133dd8._0x4df3d2,_0x5d7f5f-0x3e5,_0x4942ac-0x110,_0x39395e);}if(_0x40dbf8>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2189c6=await _0x47c828(_0x1ffa76)[_0x19f538(_0x5da36a._0x2e7fed,_0x5da36a._0x5f5bcf,0x40a,0x3d9)](()=>null);if(!_0x2189c6||isProbablyBinary(_0x2189c6))return void 0x0;return _0x2189c6[_0xbb1f6f(_0x5da36a._0x53e06e,0xe3,-0x7d,_0x5da36a._0x5ce57a)](_0x19f538(_0x5da36a._0x52d129,0x30a,_0x5da36a._0x442de5,0x3b1))['split'](/\r?\n/)['length'];}function createLsTool(_0x5d0777={}){const _0x316563={_0x14d360:0x17c,_0x493a95:0x12b,_0x21fa90:0x38d,_0x19b914:0x20e,_0x3b4655:0x19d,_0x4062c3:0x15a,_0x15a69e:0x209,_0xb1d644:0x39d,_0x583496:0x33d,_0x5f35ec:0x2b2,_0x422d82:0x1b4,_0x11e35d:0x1cc,_0xeb560b:0x58,_0x4ef924:0x1f4,_0x5196c9:0xab,_0x92fb55:0x77,_0x4f6601:0x242,_0x4deb85:0x22,_0x4c0c9a:0x1a5},_0x541aa6={_0x50331d:0x68,_0xd666d:0x1f1,_0x487a89:0x72,_0x2e6a38:0x22a,_0x2c3567:0x1d0,_0x109dd8:0x1ef,_0x552d60:0x3a1,_0x4b1220:0x2e9,_0x1e3908:0x10f,_0x14a624:0x2c9,_0x5c35cc:0x14a,_0x38570d:0x33,_0x3d9890:0x1a,_0x3b7a0a:0xf2,_0x86e614:0xd7,_0x548413:0x15b,_0x55a4e6:0x116,_0x4e5717:0x17b,_0x5584f7:0x1e3,_0x18637d:0x295,_0x1ec654:0x1f9,_0xa5b563:0x1d1,_0x45eb91:0x6e,_0x59d0ac:0x2c5,_0xdd1a2b:0x335,_0x1e28bf:0x325,_0x10e1d4:0x2e4,_0xd8dd04:0x3dd,_0xf71490:0x2b4,_0x5a16bd:0x145,_0xc40d8e:0x68,_0x2bc1c4:0x2bf,_0x11ebb2:0x14f,_0x11f7e4:0x455,_0xccb6a6:0x453,_0x7527df:0x37c,_0x23af12:0x42a,_0x549f2e:0x5a,_0x2ff049:0x111,_0x19fc54:0x69,_0x5d9d4d:0x93,_0x59e2ac:0x4f,_0x3f31d5:0x410,_0x2fd077:0x276,_0x14ec78:0x191,_0x2d95bf:0x320,_0x4566c3:0x1c9,_0x2a2931:0xd6,_0x4f6a42:0x157,_0x3ffbb5:0x2d1},_0x4bf2d1={_0x639da5:0x10b},_0x385b21={_0x20d739:0x81},_0x38e16a=_0x3e6079[_0x60d03b(0x2de,_0x316563._0x14d360,0x34f,0x205)](_0x5d0777[_0x387187(-_0x316563._0x493a95,-_0x316563._0x21fa90,-_0x316563._0x19b914,-0x266)]??process['cwd']());function _0x60d03b(_0x500b60,_0x16dccc,_0x10521c,_0x2770ec){return _0x42cde8(_0x500b60-0x9a,_0x2770ec-0x14b,_0x10521c-0xd4,_0x10521c);}function _0x387187(_0x38d2ff,_0x4b8b1f,_0x17e173,_0x31f5d9){return _0x48c1e5(_0x17e173- -0x4cd,_0x4b8b1f-_0x385b21._0x20d739,_0x38d2ff,_0x31f5d9-0x1c8);}const _0x52aa52=_0x5d0777[_0x60d03b(0x105,_0x316563._0x3b4655,0x26c,_0x316563._0x4062c3)]??[],_0x17dd6e=_0x5d0777[_0x387187(-0x2bb,-0x101,-_0x316563._0x15a69e,-0x269)]??'Ls';return defineTool({'name':_0x17dd6e,'description':_0x60d03b(0x37a,_0x316563._0xb1d644,_0x316563._0x583496,0x229),'inputSchema':{'type':_0x387187(-_0x316563._0x5f35ec,-0x261,-_0x316563._0x422d82,-_0x316563._0x11e35d),'properties':{'path':{'type':_0x387187(_0x316563._0xeb560b,-_0x316563._0x4ef924,-_0x316563._0x5196c9,-_0x316563._0x92fb55)},'limit':{'type':_0x387187(-_0x316563._0x4f6601,-_0x316563._0x4deb85,-0x18c,-_0x316563._0x4c0c9a)}}},async *'execute'(_0x478a55){const _0x316e8e={_0x721e3:0xdb,_0x5ee5b3:0xc2},_0x150bd5=_0x478a55[_0x1e0021(-_0x541aa6._0x50331d,-0x16d,0x139,-0x2e)]??'.',_0x31900=resolveAllowedPath(_0x38e16a,_0x52aa52,_0x150bd5),_0x3cbff2=await _0x248887(_0x31900)[_0x4b9b96(0x1b1,_0x541aa6._0xd666d,_0x541aa6._0x487a89,0x339)](()=>null);if(!_0x3cbff2?.[_0x1e0021(-0x367,-_0x541aa6._0x2e6a38,-_0x541aa6._0x2c3567,-_0x541aa6._0x109dd8)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x150bd5,{'path':_0x150bd5});const _0x16a2c3=_0x478a55[_0x4b9b96(0x434,_0x541aa6._0x552d60,_0x541aa6._0x4b1220,0x4f3)]??0x3e8,_0x24b797=Math['min'](Math[_0x1e0021(-0x21f,-0xd1,-0x191,-_0x541aa6._0x1e3908)](Math[_0x1e0021(-0xff,-_0x541aa6._0x14a624,-0x26c,-_0x541aa6._0x5c35cc)](_0x16a2c3),0x1),0x2710);function _0x4b9b96(_0xdf8e3a,_0x39d7d1,_0x3435d6,_0x4e54c1){return _0x387187(_0x3435d6,_0x39d7d1-_0x316e8e._0x721e3,_0x39d7d1-0x4cb,_0x4e54c1-_0x316e8e._0x5ee5b3);}const _0x285da5=await _0x10f866(_0x31900),_0x4cea2d=[];for(const _0x3d36cd of _0x285da5[_0x1e0021(_0x541aa6._0x38570d,_0x541aa6._0x3d9890,-0x1c0,-_0x541aa6._0x3b7a0a)](0x0,_0x24b797)){const _0xb44012=_0x3e6079[_0x1e0021(-_0x541aa6._0x86e614,-0x200,-0x16d,-0x86)](_0x31900,_0x3d36cd),_0x488bbf=await _0x248887(_0xb44012)[_0x1e0021(-0x5a,-_0x541aa6._0x548413,-_0x541aa6._0x55a4e6,-0x1cf)](()=>null);if(!_0x488bbf)continue;let _0x5c572e='other';if(_0x488bbf[_0x1e0021(-_0x541aa6._0x4e5717,-0x1aa,-0xb3,-_0x541aa6._0x5584f7)]())_0x5c572e=_0x1e0021(-0x19e,-0x35c,-_0x541aa6._0x18637d,-_0x541aa6._0x1ec654);else{if(_0x488bbf[_0x4b9b96(0xaa,_0x541aa6._0xa5b563,_0x541aa6._0x45eb91,0x2a7)]())_0x5c572e=_0x4b9b96(_0x541aa6._0x59d0ac,0x36d,0x2f0,0x2fd);else{if(_0x488bbf['isSymbolicLink']())_0x5c572e='symlink';}}const _0x16d2c3={'name':_0x3d36cd,'type':_0x5c572e,'size':_0x488bbf[_0x4b9b96(_0x541aa6._0xdd1a2b,0x271,_0x541aa6._0x1e28bf,0x2e8)],'mtime':_0x488bbf[_0x4b9b96(0x594,0x448,_0x541aa6._0x10e1d4,0x3cd)],'mode':_0x488bbf[_0x4b9b96(_0x541aa6._0xd8dd04,_0x541aa6._0xf71490,0x415,_0x541aa6._0x5a16bd)]},_0x4c917e=_0x5c572e===_0x1e0021(-0x213,-0x296,-0x22f,-0x1f9)?await countTextLines(_0xb44012,_0x488bbf[_0x1e0021(-_0x541aa6._0xc40d8e,-0x289,-_0x541aa6._0x2bc1c4,-_0x541aa6._0x11ebb2)]):void 0x0;if(_0x4c917e!==void 0x0)_0x16d2c3[_0x4b9b96(_0x541aa6._0x11f7e4,_0x541aa6._0xccb6a6,_0x541aa6._0x7527df,_0x541aa6._0x23af12)]=_0x4c917e;_0x4cea2d[_0x1e0021(-0xde,_0x541aa6._0x549f2e,-0x1dd,-_0x541aa6._0x2ff049)](_0x16d2c3);}_0x4cea2d[_0x1e0021(_0x541aa6._0x19fc54,-0x1c6,-_0x541aa6._0x5d9d4d,-_0x541aa6._0x59e2ac)]((_0x7039c2,_0x5ccbbb)=>_0x7039c2[_0x1e0021(-0x1cb,-0x1b8,-0x271,-0xfe)][_0x1e0021(-0x90,-0x23b,-0x22a,-0xff)](_0x5ccbbb[_0x1e0021(-0x236,0x6e,-0xcd,-0xfe)]));function _0x1e0021(_0x24f5b3,_0x1d75c7,_0x2e1c52,_0x2435e3){return _0x387187(_0x2e1c52,_0x1d75c7-0x1d,_0x2435e3-_0x4bf2d1._0x639da5,_0x2435e3-0x130);}const _0x20f894={'path':_0x150bd5,'total':_0x4cea2d['length'],'truncated':_0x285da5['length']>_0x24b797,'entries':_0x4cea2d};return yield createToolOutput(_0xa8faca[_0x4b9b96(0x432,_0x541aa6._0x3f31d5,0x4e7,0x4e8)](_0x20f894,{'indent':0x2,'lineWidth':0x0})[_0x4b9b96(_0x541aa6._0x2fd077,0x3eb,0x4c8,0x44c)](),{'path':_0x150bd5,'total':_0x4cea2d[_0x1e0021(-_0x541aa6._0x14ec78,-_0x541aa6._0x2d95bf,-_0x541aa6._0x4566c3,-0x1a5)],'truncated':_0x285da5[_0x1e0021(-_0x541aa6._0x2a2931,-_0x541aa6._0x4f6a42,-_0x541aa6._0x3ffbb5,-0x1a5)]>_0x24b797,'limit':_0x24b797,'entries':_0x4cea2d}),void 0x0;}});}import{stat as _0x335487}from'fs/promises';import _0x5ef303 from'path';import{fileURLToPath as _0x57ff4a}from'url';function severityName(_0x13a4de){const _0x10708f={_0x540cf8:0x1e7,_0xd11c3c:0xc5,_0x4fcb14:0x1aa,_0x29bd26:0x227,_0x5de893:0x250,_0x247dd0:0x2a1,_0x211ae5:0x318},_0x286920={_0x11c5e8:0xe},_0x542361={_0x5783e6:0x195};function _0x25d6e2(_0x55011d,_0x1004ee,_0x13eaae,_0x1a825c){return _0x48c1e5(_0x13eaae- -_0x542361._0x5783e6,_0x1004ee-0x1df,_0x1004ee,_0x1a825c-0x2);}function _0x4da0a4(_0x3cd20a,_0x2297f1,_0x1f9965,_0x427de9){return _0x42cde8(_0x3cd20a-0x1c3,_0x427de9- -0x97,_0x1f9965-_0x286920._0x11c5e8,_0x1f9965);}switch(_0x13a4de){case 0x1:return _0x25d6e2(0x278,_0x10708f._0x540cf8,0x16c,_0x10708f._0xd11c3c);case 0x2:return _0x25d6e2(0x388,_0x10708f._0x4fcb14,_0x10708f._0x29bd26,0x35e);case 0x3:return _0x25d6e2(_0x10708f._0x5de893,_0x10708f._0x247dd0,_0x10708f._0x211ae5,0x289);case 0x4:return'Hint';default:return'Diagnostic';}}function formatSingleHover(_0x204aed){const _0x56b14c={_0x346651:0xfa,_0x4c5490:0x262,_0x3f70d4:0x137,_0x4a9879:0x201,_0x2d5c63:0x1f4,_0x2ed34a:0x14,_0x37a508:0x12a,_0x3ce0ef:0x1d7,_0x479024:0x93,_0x3c7f0d:0x29,_0x41c618:0xf2,_0x1bfe19:0x116,_0x343966:0x247,_0x5bd6e5:0xb8,_0x20b40a:0xcd,_0x271059:0x127,_0x48b92f:0x23c,_0x28c9b0:0x2c,_0xf27fb9:0x5c,_0x162280:0x44,_0x1918b0:0x16a},_0x5692e3={_0x21f027:0x11c},_0x38cfa6={_0x2ea261:0x81};function _0x364702(_0x565fce,_0x188db2,_0x581603,_0x2745b7){return _0x42cde8(_0x565fce-0x1cd,_0x565fce-0x46,_0x581603-_0x38cfa6._0x2ea261,_0x2745b7);}const _0x26c1a5=_0x204aed[_0x3c5958(-0xc,-0x15e,-_0x56b14c._0x346651,-_0x56b14c._0x4c5490)];if(typeof _0x26c1a5==='string')return _0x26c1a5;function _0x3c5958(_0x2e75cf,_0x1c05fa,_0x8f6096,_0x521874){return _0x42cde8(_0x2e75cf-0x74,_0x1c05fa- -0x170,_0x8f6096-_0x5692e3._0x21f027,_0x521874);}if(Array['isArray'](_0x26c1a5))return _0x26c1a5[_0x364702(0x237,_0x56b14c._0x3f70d4,_0x56b14c._0x4a9879,_0x56b14c._0x2d5c63)](_0x1eaaed=>typeof _0x1eaaed===_0x3c5958(-0x18b,-0x19,0x4c,0x154)?_0x1eaaed:_0x1eaaed[_0x3c5958(-0xd,-0x11e,-0x1ed,-0x171)])[_0x3c5958(-0x13e,_0x56b14c._0x2ed34a,-0x7,-0x11c)](Boolean)['join']('\x0a\x0a');if(_0x3c5958(0x9,-_0x56b14c._0x37a508,-0x166,-_0x56b14c._0x3ce0ef)in _0x26c1a5)return _0x26c1a5[_0x364702(0x98,0x13d,0x42,0x1f1)];return _0x26c1a5[_0x364702(_0x56b14c._0x479024,-_0x56b14c._0x3c7f0d,_0x56b14c._0x41c618,_0x56b14c._0x1bfe19)]?_0x364702(_0x56b14c._0x2d5c63,_0x56b14c._0x343966,_0x56b14c._0x5bd6e5,0xef)+_0x26c1a5[_0x3c5958(-0x121,-0x123,-_0x56b14c._0x20b40a,-_0x56b14c._0x271059)]+'\x0a'+_0x26c1a5[_0x3c5958(-_0x56b14c._0x48b92f,-0x11e,-0x197,0x19)]+_0x3c5958(-0x68,-_0x56b14c._0x41c618,_0x56b14c._0x28c9b0,_0x56b14c._0xf27fb9):_0x26c1a5[_0x3c5958(-_0x56b14c._0x162280,-0x11e,-_0x56b14c._0x1918b0,-0x267)];}function formatHover(_0x3ca931){const _0x3504c8={_0x4009b3:0xef,_0x325275:0x28b,_0x1ed208:0x4b,_0x414b5c:0x137,_0x231f87:0xa,_0x58cd88:0xa0,_0x5e6a08:0x19a,_0x5c8b9c:0x4a2,_0xd26d9a:0x43d,_0xce4ebd:0x47,_0x518c5d:0x2d},_0x5b449c={_0x52b128:0x15e},_0x549173={_0xaa3704:0x459,_0xe174ef:0x17c};function _0x1168f4(_0x2a1f56,_0x72daa5,_0xce0478,_0x28f055){return _0x48c1e5(_0xce0478- -_0x549173._0xaa3704,_0x72daa5-_0x549173._0xe174ef,_0x2a1f56,_0x28f055-0xe9);}if(_0x3ca931[_0x1168f4(-0x357,-_0x3504c8._0x4009b3,-0x23c,-0x253)]===0x0)return _0x1168f4(-_0x3504c8._0x325275,-_0x3504c8._0x1ed208,-_0x3504c8._0x414b5c,_0x3504c8._0x231f87);function _0x4293de(_0x227276,_0x596c7a,_0x131d41,_0x4a904e){return _0x48c1e5(_0x596c7a-0x1fd,_0x596c7a-_0x5b449c._0x52b128,_0x131d41,_0x4a904e-0x98);}return _0x3ca931[_0x1168f4(-_0x3504c8._0x58cd88,0x152,0x63,_0x3504c8._0x5e6a08)](formatSingleHover)[_0x4293de(0x5a0,0x539,_0x3504c8._0x5c8b9c,_0x3504c8._0xd26d9a)](_0x1168f4(0x177,-_0x3504c8._0xce4ebd,_0x3504c8._0x518c5d,-0x86));}function locationPath(_0xbdccaf){const _0x371545={_0x22c649:0x7f,_0x45234a:0x12c,_0x1557da:0x1a0,_0x4be7fd:0x147,_0x43f656:0x231,_0x49d913:0x2a1,_0x4a7f22:0x12d},_0x3f1244={_0x524510:0x1d8},_0x36587b={_0x38010e:0x29e};function _0x4fd423(_0xef5734,_0x2c031e,_0x299e81,_0x1149c7){return _0x48c1e5(_0x1149c7-_0x36587b._0x38010e,_0x2c031e-0x15a,_0x2c031e,_0x1149c7-0xf1);}function _0x299cfd(_0x254636,_0x40d3e9,_0x2dd64b,_0x30efc8){return _0x42cde8(_0x254636-_0x3f1244._0x524510,_0x30efc8- -0x12e,_0x2dd64b-0x131,_0x254636);}if(!_0xbdccaf[_0x299cfd(-_0x371545._0x22c649,-_0x371545._0x45234a,-0xeb,-_0x371545._0x1557da)](_0x299cfd(-_0x371545._0x4be7fd,-_0x371545._0x43f656,-_0x371545._0x49d913,-_0x371545._0x4a7f22)))return _0xbdccaf;return _0x57ff4a(_0xbdccaf);}function formatLocations(_0xfef745){const _0x1da770={_0x3e957c:0xb5,_0x11c52c:0x297,_0x2257e7:0x5e,_0x521635:0x6e,_0x3f922e:0x1e7},_0x25d04f={_0x59c343:0x1df,_0x250b54:0x3d,_0x1488c1:0xc8,_0x4ab642:0x6a,_0x52627d:0x1d2,_0x378fab:0x41},_0x233d3a={_0x431f6e:0x27b,_0x4c8ac9:0xc1},_0x5cb5fb={_0x46d351:0x44c,_0xc2a961:0xc9};function _0x4836b6(_0x18df96,_0x735ddf,_0x269680,_0x23ec51){return _0x48c1e5(_0x735ddf- -_0x5cb5fb._0x46d351,_0x735ddf-_0x5cb5fb._0xc2a961,_0x18df96,_0x23ec51-0x1f2);}function _0x41cef0(_0x4763d3,_0x5b76c1,_0x405f48,_0x92bd){return _0x48c1e5(_0x92bd- -_0x233d3a._0x431f6e,_0x5b76c1-0xdf,_0x4763d3,_0x92bd-_0x233d3a._0x4c8ac9);}if(_0xfef745[_0x4836b6(-_0x1da770._0x3e957c,-0x22f,-0x3a3,-_0x1da770._0x11c52c)]===0x0)return _0x41cef0(0xec,_0x1da770._0x2257e7,-_0x1da770._0x521635,0x5e);return _0xfef745[_0x4836b6(0x64,0x70,_0x1da770._0x3f922e,-0xac)](_0x3e14ca=>{const _0x25e88e={_0x5ab2e9:0x77,_0x377a2b:0x240},_0x68564d=_0x3e14ca[_0x30f344(-0x1c0,-0x3d7,-0x199,-0x2e2)][_0x30f344(-0x376,-_0x25d04f._0x59c343,-0x2b6,-0x26b)];function _0x2c2800(_0x225484,_0x29e9a4,_0x38824d,_0x4ab3ad){return _0x4836b6(_0x29e9a4,_0x38824d-0x158,_0x38824d-0x176,_0x4ab3ad-0xc2);}function _0x30f344(_0x3a0e88,_0x1dee2f,_0x4b03fc,_0x28b4e6){return _0x41cef0(_0x3a0e88,_0x1dee2f-_0x25e88e._0x5ab2e9,_0x4b03fc-0x99,_0x28b4e6- -_0x25e88e._0x377a2b);}return locationPath(_0x3e14ca[_0x30f344(-0x16b,-0x125,0x3e,-_0x25d04f._0x250b54)])+':'+(_0x68564d[_0x2c2800(0x1a4,-_0x25d04f._0x1488c1,_0x25d04f._0x4ab642,_0x25d04f._0x52627d)]+0x1)+':'+(_0x68564d[_0x2c2800(0x11a,0x166,0xe5,_0x25d04f._0x378fab)]+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x590cec){const _0xa04269={_0x5d79ac:0x23d,_0x15e952:0x336,_0x5c28e1:0x2dd,_0xc7489:0x83,_0x1a6f71:0x1d8,_0x305b09:0x190},_0x3f5fa5={_0x769284:0x9e},_0xdb93b2={_0x542fc5:0x1b};function _0x4aee1f(_0x308c0c,_0x5f0cd6,_0x5248b3,_0x17a09b){return _0x42cde8(_0x308c0c-0x80,_0x5248b3-0x535,_0x5248b3-_0xdb93b2._0x542fc5,_0x5f0cd6);}function _0x13ad9e(_0x449923,_0x596c86,_0x48c995,_0x100b15){return _0x48c1e5(_0x449923- -0x416,_0x596c86-0x73,_0x100b15,_0x100b15-_0x3f5fa5._0x769284);}return _0x13ad9e(-_0xa04269._0x5d79ac,-_0xa04269._0x15e952,-0x1d0,-_0xa04269._0x5c28e1)in _0x590cec&&_0x13ad9e(-_0xa04269._0xc7489,-_0xa04269._0x1a6f71,-_0xa04269._0x305b09,0x6)in _0x590cec;}function formatSymbols(_0x2a1e97){const _0x345318={_0x2080cd:0x2f,_0x4736b1:0x26f,_0x44d926:0x169,_0x51e638:0x775},_0xe3a3eb={_0x563317:0x489,_0xc523b8:0x612,_0x20fa00:0x6e8,_0x1f7e52:0x2be,_0x1dd118:0x373,_0x402739:0x4d6,_0x41b52e:0x4b3,_0x20fbdd:0x2be,_0x4da3e9:0x493,_0x489b4b:0x1bd,_0x394481:0x3a9,_0x585275:0x4c3,_0x27f10b:0x244,_0x3e94b0:0x494,_0x4ccb9a:0x42e,_0x52a878:0x357,_0x53691c:0x2c0,_0x1b209f:0x563,_0x3189b9:0x4f3,_0x373977:0x417,_0x183a70:0x4e4,_0x1b3b73:0x32a,_0x37d8d9:0x14b,_0x5dd323:0x50d,_0x2574b2:0x4d6,_0x38c19e:0x617,_0x38de78:0x50d,_0x5ca55c:0x3fd,_0x299781:0x305,_0x54ca15:0x393,_0x3a20ac:0x37f,_0x1a332a:0x2d8,_0x49dabe:0x1db,_0x9b7890:0x630,_0x4ca557:0x512,_0x127647:0x631},_0x1c905a={_0x24f9f6:0x10c},_0x1c471a={_0x557af2:0x88,_0x4b5f92:0x1de},_0x3d6c5a={_0x435df1:0xc8};function _0x323c83(_0x298b01,_0x11bd60,_0x42f5da,_0x42cbd6){return _0x48c1e5(_0x42cbd6-0x1bd,_0x11bd60-0x7b,_0x11bd60,_0x42cbd6-0xaa);}if(_0x2a1e97['length']===0x0)return _0x4b3e31(-_0x345318._0x2080cd,-_0x345318._0x4736b1,-_0x345318._0x44d926,-0x2d5);function _0x4b3e31(_0x22b25e,_0x4da629,_0x391ff1,_0x1ac110){return _0x42cde8(_0x22b25e-0xc1,_0x391ff1- -0x149,_0x391ff1-_0x3d6c5a._0x435df1,_0x1ac110);}return _0x2a1e97[_0x323c83(0x717,0x57f,_0x345318._0x51e638,0x679)](_0x4bbc3f=>{if(isDocumentSymbol(_0x4bbc3f))return _0x4bbc3f['name']+'\x20('+_0x4bbc3f[_0x3f15ce(_0xe3a3eb._0x563317,0x3b5,0x466,0x5de)]+_0x3f15ce(_0xe3a3eb._0xc523b8,0x6fb,0x4fc,_0xe3a3eb._0x20fa00)+(_0x4bbc3f[_0x187c2b(_0xe3a3eb._0x1f7e52,0x2d7,_0xe3a3eb._0x1dd118,0x24c)]['start'][_0x3f15ce(_0xe3a3eb._0x402739,0x534,_0xe3a3eb._0x41b52e,0x5d7)]+0x1)+':'+(_0x4bbc3f[_0x187c2b(_0xe3a3eb._0x20fbdd,0x3ea,0x22a,0x17e)][_0x187c2b(0x335,_0xe3a3eb._0x4da3e9,0x3a0,_0xe3a3eb._0x489b4b)]['character']+0x1)+']';function _0x187c2b(_0x253fd9,_0x1b92e9,_0x269563,_0x584dd3){return _0x323c83(_0x253fd9-_0x1c471a._0x557af2,_0x269563,_0x269563-_0x1c471a._0x4b5f92,_0x253fd9- -0xd8);}function _0x3f15ce(_0xa72995,_0x404b59,_0x253a23,_0x565758){return _0x323c83(_0xa72995-_0x1c905a._0x24f9f6,_0x404b59,_0x253a23-0x168,_0xa72995- -0x45);}return _0x4bbc3f[_0x187c2b(_0xe3a3eb._0x394481,_0xe3a3eb._0x585275,_0xe3a3eb._0x27f10b,_0xe3a3eb._0x3e94b0)]+'\x20('+_0x4bbc3f['kind']+')\x20'+locationPath(_0x4bbc3f[_0x3f15ce(0x417,_0xe3a3eb._0x4ccb9a,_0xe3a3eb._0x52a878,_0xe3a3eb._0x53691c)][_0x187c2b(_0xe3a3eb._0x1b209f,0x6d0,_0xe3a3eb._0x3189b9,0x58b)])+':'+(_0x4bbc3f[_0x3f15ce(_0xe3a3eb._0x373977,_0xe3a3eb._0x183a70,0x29b,0x572)][_0x187c2b(_0xe3a3eb._0x20fbdd,0x299,_0xe3a3eb._0x1b3b73,_0xe3a3eb._0x37d8d9)][_0x3f15ce(0x3c8,_0xe3a3eb._0x5dd323,0x274,0x52f)][_0x3f15ce(_0xe3a3eb._0x2574b2,_0xe3a3eb._0x38c19e,_0xe3a3eb._0x38de78,_0xe3a3eb._0x5ca55c)]+0x1)+':'+(_0x4bbc3f[_0x3f15ce(0x417,_0xe3a3eb._0x299781,0x3ac,0x38a)][_0x187c2b(0x2be,0x27c,_0xe3a3eb._0x54ca15,_0xe3a3eb._0x3a20ac)][_0x187c2b(0x335,0x38a,_0xe3a3eb._0x1a332a,_0xe3a3eb._0x49dabe)][_0x3f15ce(0x551,_0xe3a3eb._0x9b7890,_0xe3a3eb._0x4ca557,_0xe3a3eb._0x127647)]+0x1);})['join']('\x0a');}function formatDiagnostics(_0x3f3b77){const _0x5a3cdf={_0x38d882:0x362,_0x592ea0:0x4c1,_0x3a7bec:0x411,_0x5e38a7:0x2d1,_0x4fdaf6:0xa8},_0x235675={_0x127ab9:0x23a,_0x4db4b5:0x464,_0x37a298:0x374,_0x5267d0:0x441,_0x57cf15:0x615,_0x12a14d:0x4e2,_0x4ba8d8:0x5a4,_0x1c048b:0x527,_0x67e458:0x4fb,_0x4f354a:0x3d8,_0x2a9a25:0x25d},_0x420e65={_0x4f056f:0xd3},_0x3452={_0x78fcb0:0x220,_0x4a46bd:0x129},_0x24a45a={_0x443065:0xaf,_0x465a8c:0x160};function _0x3347f2(_0x295a98,_0x4fb5ce,_0x47bf37,_0x1512de){return _0x42cde8(_0x295a98-_0x24a45a._0x443065,_0x295a98- -0x1c2,_0x47bf37-_0x24a45a._0x465a8c,_0x1512de);}if(_0x3f3b77[_0x3347f2(-0x270,-0x381,-0x1b9,-_0x5a3cdf._0x38d882)]===0x0)return _0x474800(_0x5a3cdf._0x592ea0,0x380,0x2a0,0x4a4);function _0x474800(_0x1553d3,_0x4278b9,_0x563511,_0xdfc0ab){return _0x42cde8(_0x1553d3-0x1bb,_0x4278b9-_0x3452._0x78fcb0,_0x563511-_0x3452._0x4a46bd,_0x1553d3);}return _0x3f3b77[_0x474800(0x543,_0x5a3cdf._0x3a7bec,_0x5a3cdf._0x5e38a7,0x52c)](_0x223d02=>{const _0x3d37e7={_0x3b6e1e:0x658,_0x170711:0x1da};function _0x4ca21c(_0x238a57,_0xa4ca51,_0x502fa4,_0x468871){return _0x3347f2(_0xa4ca51-_0x3d37e7._0x3b6e1e,_0xa4ca51-0xa6,_0x502fa4-_0x3d37e7._0x170711,_0x238a57);}const _0x454c64=_0x223d02[_0x4ca21c(_0x235675._0x127ab9,0x3a4,_0x235675._0x4db4b5,0x3c1)][_0x4ca21c(_0x235675._0x37a298,0x41b,_0x235675._0x5267d0,0x590)];function _0x3d1972(_0x44a385,_0x237830,_0x1f2b33,_0x4c7c1b){return _0x3347f2(_0x237830-0x713,_0x237830-_0x420e65._0x4f056f,_0x1f2b33-0x61,_0x1f2b33);}return severityName(_0x223d02[_0x3d1972(0x6be,0x592,_0x235675._0x57cf15,0x46a)])+'\x20['+(_0x454c64['line']+0x1)+':'+(_0x454c64[_0x4ca21c(_0x235675._0x12a14d,_0x235675._0x4ba8d8,_0x235675._0x1c048b,0x482)]+0x1)+']\x20'+_0x223d02[_0x4ca21c(_0x235675._0x67e458,_0x235675._0x4f354a,_0x235675._0x2a9a25,0x49f)];})[_0x3347f2(-0x151,-0x204,-_0x5a3cdf._0x4fdaf6,0x18)]('\x0a');}function formatIncomingCalls(_0x560fdc){const _0x15b23f={_0x1fa9b1:0x201,_0x4e7954:0x200,_0x4a2dbe:0x1be,_0xdf8755:0x1e3,_0xe1460b:0x8b,_0x3d3aa4:0x306,_0x5da185:0x392,_0x5e9fb5:0x277},_0x1ce1de={_0x3a2558:0x11b};function _0x3b7338(_0x45dfcd,_0x19ec49,_0x255dfd,_0x528d06){return _0x48c1e5(_0x19ec49- -0x409,_0x19ec49-0x30,_0x45dfcd,_0x528d06-_0x1ce1de._0x3a2558);}if(_0x560fdc['length']===0x0)return _0x3b7338(-_0x15b23f._0x1fa9b1,-_0x15b23f._0x4e7954,-0xcf,-_0x15b23f._0x4a2dbe);function _0x510605(_0x2b1185,_0x38cfa7,_0x1b4c8e,_0x123e7e){return _0x42cde8(_0x2b1185-0xb2,_0x123e7e-0x206,_0x1b4c8e-0x71,_0x2b1185);}return _0x560fdc[_0x3b7338(0x160,0xb3,_0x15b23f._0xdf8755,_0x15b23f._0xe1460b)](_0x34d7d7=>_0x34d7d7[_0x3b7338(-0x316,-0x242,-0x1ef,-0x108)][_0x3b7338(-0x1dd,-0x145,-0x214,-0x180)])[_0x510605(0x1b5,_0x15b23f._0x3d3aa4,_0x15b23f._0x5da185,_0x15b23f._0x5e9fb5)]('\x0a');}function formatOutgoingCalls(_0x41d2c5){const _0x5201e8={_0x3dcf3b:0xcd,_0x1adac5:0x12d,_0x4783e8:0x10f,_0x51de7a:0x2f,_0xc18334:0x194,_0x58b13a:0x110,_0x324799:0x33},_0x1eae76={_0x195181:0x147},_0x39b5d3={_0x493b39:0x309,_0x46d9c7:0x11};function _0x29b122(_0x25fbb5,_0x5cc531,_0x238aab,_0x2f44e4){return _0x48c1e5(_0x5cc531- -_0x39b5d3._0x493b39,_0x5cc531-0xef,_0x25fbb5,_0x2f44e4-_0x39b5d3._0x46d9c7);}if(_0x41d2c5[_0x29b122(-_0x5201e8._0x3dcf3b,-0xec,-_0x5201e8._0x1adac5,-_0x5201e8._0x4783e8)]===0x0)return _0xdd78cb(0x8e,0x166,_0x5201e8._0x51de7a,_0x5201e8._0xc18334);function _0xdd78cb(_0x393bf6,_0x49b3ad,_0x3c59bf,_0x1148ac){return _0x42cde8(_0x393bf6-_0x1eae76._0x195181,_0x393bf6-0x150,_0x3c59bf-0x1e4,_0x49b3ad);}return _0x41d2c5['map'](_0x593dfb=>_0x593dfb['to'][_0x29b122(0x11f,-0x45,-0x13f,-0x143)])[_0x29b122(-_0x5201e8._0x58b13a,_0x5201e8._0x324799,-0x14c,0xf0)]('\x0a');}function _0x48c1e5(_0x2d5547,_0x38b400,_0x5442e1,_0x1403d5){const _0x14a884={_0x511bb7:0x128};return _0x59f9(_0x2d5547-_0x14a884._0x511bb7,_0x5442e1);}function toStructured(_0x5c759f){const _0x288d0c={_0x2a5965:0x190,_0xfa261:0x64},_0x5715b9={_0x4cdd9e:0x1cc,_0x365619:0x1a0,_0x59aaf4:0x4};function _0x27cdae(_0x3137e4,_0x4941d2,_0x1487e1,_0x5b36bd){return _0x42cde8(_0x3137e4-_0x5715b9._0x4cdd9e,_0x4941d2- -_0x5715b9._0x365619,_0x1487e1-_0x5715b9._0x59aaf4,_0x1487e1);}function _0x5bda66(_0x153e67,_0x15a72e,_0x58edbc,_0x23f988){return _0x42cde8(_0x153e67-_0x288d0c._0x2a5965,_0x153e67- -0x22f,_0x58edbc-_0x288d0c._0xfa261,_0x58edbc);}return JSON[_0x27cdae(0x26,-0xa6,-0xb6,-0x20a)](JSON[_0x27cdae(-0x96,-0x59,-0xb5,-0x165)](_0x5c759f));}async function assertFile(_0x539d40){const _0x3f3373={_0xed05dd:0x30e},_0x1ccb54={_0x48e026:0x67};function _0x55c615(_0x2fcba8,_0x10b2af,_0x5b60f9,_0x29ebb2){return _0x48c1e5(_0x2fcba8-0x32,_0x10b2af-_0x1ccb54._0x48e026,_0x5b60f9,_0x29ebb2-0xa);}const _0x57390a=await _0x335487(_0x539d40);if(!_0x57390a['isFile']())throw new ToolExecutionError(_0x55c615(0x244,_0x3f3373._0xed05dd,0x306,0x299)+_0x539d40,{'path':_0x539d40});}function validatePosition(_0x3e1b78,_0x4c3fc3){const _0x310e08={_0x1af23f:0x4b5,_0x10698a:0x54b,_0x4038a0:0x4f0,_0x182c17:0x4fb,_0x7041db:0x33e,_0x5434c6:0x2e7,_0x1e67d3:0x1ad},_0x30ecce={_0x2b161f:0x18f,_0x2fa389:0x53e},_0x339486={_0x5b3e1c:0x12e};if(!Number[_0x57d6ef(0x4e2,0x3ce,0x43b,_0x310e08._0x1af23f)](_0x3e1b78)||_0x3e1b78<0x1)throw new ToolExecutionError(_0x57d6ef(0x59f,_0x310e08._0x10698a,0x636,_0x310e08._0x4038a0),{'line':_0x3e1b78});function _0x12f2b3(_0x356fbd,_0x4e7cf1,_0x32d852,_0x36912a){return _0x42cde8(_0x356fbd-_0x339486._0x5b3e1c,_0x36912a- -0x137,_0x32d852-0xfa,_0x32d852);}function _0x57d6ef(_0x49a60f,_0x356856,_0x450c40,_0x337757){return _0x42cde8(_0x49a60f-_0x30ecce._0x2b161f,_0x450c40-_0x30ecce._0x2fa389,_0x450c40-0x11f,_0x337757);}if(!Number[_0x57d6ef(_0x310e08._0x182c17,_0x310e08._0x7041db,0x43b,0x356)](_0x4c3fc3)||_0x4c3fc3<0x1)throw new ToolExecutionError(_0x12f2b3(-_0x310e08._0x5434c6,-_0x310e08._0x1e67d3,-0x2e1,-0x189),{'character':_0x4c3fc3});}function createLspTool(_0x596ae0={}){const _0x23cffb={_0x16b1db:0x578,_0x2d4018:0x589,_0x27182f:0x242,_0x3e4401:0x1b3,_0x307639:0x263,_0x5bfc67:0x499,_0x57457b:0x4f5,_0x51c664:0x536,_0x241c70:0x201,_0x592721:0x213,_0x47e327:0x311,_0x16d1c1:0x1f0,_0x157457:0x21b,_0x2ba892:0x24a,_0x5891eb:0x2b7,_0x2f9cc2:0x69,_0x2bd5d7:0x24,_0x131077:0x11d,_0x243eaf:0x3b6,_0x40f3f7:0x6ef,_0x3dd8ba:0x6de,_0x12a4df:0x5c1,_0x4c51e5:0x604,_0x3c14dd:0x875,_0x169b13:0x5d8,_0x59ea49:0x6e3,_0x539342:0x5fa,_0x249c8c:0x737,_0xe9a33a:0x5b0,_0x6e51de:0x617},_0x4e84e4={_0x1ca5e1:0x26d,_0x5f3bd5:0x1b1,_0x14ad80:0x92,_0x415e70:0x1d1,_0x43b999:0xe8,_0x31976f:0x131,_0x284ee4:0x16b,_0x453888:0xad,_0x42b75b:0x1ae,_0x4be9a1:0x303,_0xff5d1e:0x1bf,_0x332c61:0x90,_0xc34fb:0x9,_0x47b7d0:0x71,_0x18f3e5:0x404,_0x25baab:0x1ca,_0x4a97b6:0x14d,_0x4428d0:0x194,_0x1212b8:0x53,_0x394830:0x188,_0x4cb2c3:0xce,_0xff1047:0x3c7,_0x396088:0x2a9,_0xdb52cc:0x3aa,_0x548602:0x212,_0x2845d9:0x303,_0x4a58fd:0x205,_0x4558e8:0x2d7,_0xe9352:0x174,_0x3b9196:0x3f,_0x4d1106:0x102,_0x42b035:0x16d,_0x3ff87f:0x2e4,_0x8c56d1:0x2ee,_0x3c63c8:0x205,_0x3ed4e2:0x207,_0x3e87b5:0x205,_0x4252fd:0x203,_0x40414b:0xfb,_0xbb9c53:0x20d,_0x262278:0x232,_0x1d5628:0xe7,_0x551aab:0x2da,_0x4a01ee:0x20c,_0x1aea40:0x1b9,_0x36fe67:0xb3,_0x490bc8:0x48,_0x5e0d4e:0x5b,_0x4e5aed:0x54,_0x6bf1c8:0x12c,_0x31ce2a:0x60,_0x1994ea:0x286,_0x3d6a1c:0x3bc,_0x559c46:0x298,_0x4a1f2c:0x166,_0xca4cf6:0x1cb,_0x12df71:0x7e,_0x246bd1:0x84,_0x1c0345:0xd1,_0x3a66c:0x51,_0x16067a:0x230,_0x3e3951:0x16f},_0x7123ac={_0x596e58:0x9f,_0x299a0d:0x43},_0x5627e7={_0x1df18b:0x2b9,_0x2b58bd:0xdc},_0x2449bb={_0x2e1dbe:0x119},_0x2d3025=_0x5ef303['resolve'](_0x596ae0[_0x5eeec1(0x6c7,_0x23cffb._0x16b1db,_0x23cffb._0x2d4018,0x622)]??process['cwd']());function _0x177686(_0x133060,_0x2afa62,_0x4db9ca,_0x31b1f3){return _0x48c1e5(_0x4db9ca- -0x111,_0x2afa62-0x26,_0x2afa62,_0x31b1f3-_0x2449bb._0x2e1dbe);}const _0x526454=_0x596ae0['allowedDirs']??[];function _0x5eeec1(_0x1a340d,_0x4b17e1,_0x1a3610,_0x5af767){return _0x48c1e5(_0x4b17e1-_0x5627e7._0x1df18b,_0x4b17e1-0xe0,_0x1a340d,_0x5af767-_0x5627e7._0x2b58bd);}const _0x147dd9=_0x596ae0[_0x177686(_0x23cffb._0x27182f,0xcc,_0x23cffb._0x3e4401,_0x23cffb._0x307639)]??'Lsp';return defineTool({'name':_0x147dd9,'description':_0x5eeec1(_0x23cffb._0x5bfc67,0x4e3,_0x23cffb._0x57457b,_0x23cffb._0x51c664),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x177686(_0x23cffb._0x241c70,_0x23cffb._0x592721,_0x23cffb._0x47e327,0x2b3),'enum':[_0x177686(0x364,_0x23cffb._0x16d1c1,_0x23cffb._0x157457,0x379),_0x177686(0x306,0x2f9,_0x23cffb._0x2ba892,0x1a9),_0x177686(0x2e5,0x2d9,_0x23cffb._0x5891eb,0x2ec),_0x177686(0x19f,0x12,0x169,-0x15),_0x177686(0x12f,-_0x23cffb._0x2f9cc2,0x110,_0x23cffb._0x2bd5d7),_0x177686(_0x23cffb._0x131077,0xc3,0x23e,_0x23cffb._0x243eaf),_0x5eeec1(0x705,_0x23cffb._0x40f3f7,_0x23cffb._0x3dd8ba,_0x23cffb._0x12a4df),_0x5eeec1(0x6c2,0x752,_0x23cffb._0x4c51e5,_0x23cffb._0x3c14dd),_0x5eeec1(0x5cf,_0x23cffb._0x169b13,0x553,_0x23cffb._0x59ea49),'diagnostics']},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':_0x5eeec1(0x597,_0x23cffb._0x539342,0x4a7,0x751)},'query':{'type':'string'}},'required':['operation',_0x5eeec1(_0x23cffb._0x249c8c,0x66e,0x68d,_0x23cffb._0xe9a33a),_0x5eeec1(0x52f,_0x23cffb._0x6e51de,0x732,0x520),'character']},async *'execute'(_0x189663){const _0x1fd86a={_0x500d00:0x1bd},_0x10714f=_0x596ae0[_0x2fd279(0x308,_0x4e84e4._0x1ca5e1,_0x4e84e4._0x5f3bd5,0x13a)];if(!_0x10714f)throw new ToolExecutionError(_0x2fd279(_0x4e84e4._0x14ad80,_0x4e84e4._0x415e70,_0x4e84e4._0x43b999,_0x4e84e4._0x31976f));if(!_0x10714f[_0x25eadd(0x1a9,0x105,_0x4e84e4._0x284ee4,_0x4e84e4._0x453888)]())throw new ToolExecutionError(_0x25eadd(0x76,0x31e,0x1c5,_0x4e84e4._0x42b75b));const _0x2b2a2e=_0x189663[_0x25eadd(0x52,0x28d,0x1bc,_0x4e84e4._0x4be9a1)];validatePosition(_0x189663[_0x25eadd(0x8e,_0x4e84e4._0xff5d1e,_0x4e84e4._0x332c61,-_0x4e84e4._0xc34fb)],_0x189663['character']);if(_0x2b2a2e===_0x2fd279(0x74,-0xa2,_0x4e84e4._0x47b7d0,-0x9e)){if(!_0x189663[_0x2fd279(0x1fd,_0x4e84e4._0x18f3e5,0x2a9,_0x4e84e4._0x25baab)]?.[_0x25eadd(_0x4e84e4._0x4a97b6,0x7,0xcf,_0x4e84e4._0x4428d0)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x4e4214=await _0x10714f[_0x2fd279(0x13,-_0x4e84e4._0x1212b8,0x71,-0x79)](_0x189663[_0x25eadd(0x81,0x230,0x18b,_0x4e84e4._0x394830)][_0x25eadd(-0x6d,_0x4e84e4._0x4cb2c3,0xcf,0x1e4)]());return yield createToolOutput(formatSymbols(_0x4e4214),{'operation':_0x2b2a2e,'query':_0x189663[_0x2fd279(_0x4e84e4._0xff1047,0x388,_0x4e84e4._0x396088,_0x4e84e4._0xdb52cc)],'symbols':_0x4e4214}),void 0x0;}const _0x5cda8d=resolveAllowedPath(_0x2d3025,_0x526454,_0x189663[_0x2fd279(_0x4e84e4._0x548602,_0x4e84e4._0x2845d9,_0x4e84e4._0x4a58fd,_0x4e84e4._0x4558e8)]);await assertFile(_0x5cda8d);function _0x2fd279(_0x45cf27,_0x2799be,_0x208bcc,_0x3ef3da){return _0x177686(_0x45cf27-0x16d,_0x45cf27,_0x208bcc- -_0x7123ac._0x596e58,_0x3ef3da-_0x7123ac._0x299a0d);}if(!await _0x10714f[_0x25eadd(_0x4e84e4._0xe9352,_0x4e84e4._0x3b9196,_0x4e84e4._0x4d1106,_0x4e84e4._0x42b035)](_0x5cda8d))throw new ToolExecutionError(_0x25eadd(0xef,0x227,0x1c0,_0x4e84e4._0x3ff87f)+_0x189663[_0x2fd279(_0x4e84e4._0x8c56d1,0x352,_0x4e84e4._0x3c63c8,0x214)],{'filePath':_0x189663[_0x2fd279(_0x4e84e4._0x3ed4e2,0x338,_0x4e84e4._0x3e87b5,_0x4e84e4._0x4252fd)]});function _0x25eadd(_0x12dc35,_0x10908e,_0x4d2912,_0x1d56bd){return _0x177686(_0x12dc35-0x13b,_0x10908e,_0x4d2912- -_0x1fd86a._0x500d00,_0x1d56bd-0x4);}await _0x10714f[_0x2fd279(-0x8b,-0x8b,0x46,-_0x4e84e4._0x40414b)](_0x5cda8d,!![]);const _0x910c05={'file':_0x5cda8d,'line':_0x189663[_0x25eadd(0x99,0x1ae,0x90,0x15e)]-0x1,'character':_0x189663['character']-0x1};switch(_0x2b2a2e){case _0x25eadd(0xd6,_0x4e84e4._0xbb9c53,0xfa,_0x4e84e4._0x262278):{const _0x3f5281=await _0x10714f['hover'](_0x910c05);return yield createToolOutput(formatHover(_0x3f5281),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'hover':_0x3f5281}),void 0x0;}case _0x25eadd(0xc9,0x1fd,0x17b,_0x4e84e4._0x1d5628):{const _0x3f5628=await _0x10714f[_0x25eadd(0x2f,_0x4e84e4._0x551aab,0x1a5,_0x4e84e4._0x4a01ee)](_0x5cda8d);return yield createToolOutput(formatDiagnostics(_0x3f5628),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'diagnostics':_0x3f5628}),void 0x0;}case _0x25eadd(0x12d,0x10f,0x5e,0x123):{const _0x1e675a=await _0x10714f[_0x2fd279(0x1b0,0x1d1,_0x4e84e4._0x1aea40,0x211)](_0x910c05);return yield createToolOutput(formatLocations(_0x1e675a),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'locations':_0x1e675a}),void 0x0;}case _0x2fd279(_0x4e84e4._0x36fe67,0x1e9,0x1ab,0x2db):{const _0x431986=await _0x10714f['references'](_0x910c05);return yield createToolOutput(formatLocations(_0x431986),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'locations':_0x431986}),void 0x0;}case _0x2fd279(0x3a,0x2d7,0x19f,0x1da):{const _0x589167=await _0x10714f[_0x2fd279(0x87,0x18d,_0x4e84e4._0x490bc8,0x20)](_0x910c05);return yield createToolOutput(formatLocations(_0x589167),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'locations':_0x589167}),void 0x0;}case _0x25eadd(0x38,_0x4e84e4._0x5e0d4e,-_0x4e84e4._0x4e5aed,0x49):{const _0x2207c5=await _0x10714f[_0x25eadd(-_0x4e84e4._0x6bf1c8,-0x1ad,-0x54,-_0x4e84e4._0x31ce2a)](_0x5cda8d);return yield createToolOutput(formatSymbols(_0x2207c5),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'symbols':_0x2207c5}),void 0x0;}case'prepareCallHierarchy':{const _0x1a7902=await _0x10714f[_0x2fd279(0x345,0x285,_0x4e84e4._0x1994ea,_0x4e84e4._0x3d6a1c)](_0x910c05);return yield createToolOutput(formatSymbols(_0x1a7902),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'symbols':toStructured(_0x1a7902)}),void 0x0;}case _0x25eadd(_0x4e84e4._0x559c46,_0x4e84e4._0x4a1f2c,_0x4e84e4._0xca4cf6,0x2fd):{const _0x5a5c93=await _0x10714f[_0x25eadd(_0x4e84e4._0x12df71,_0x4e84e4._0x246bd1,_0x4e84e4._0xca4cf6,0x77)](_0x910c05);return yield createToolOutput(formatIncomingCalls(_0x5a5c93),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'calls':toStructured(_0x5a5c93)}),void 0x0;}case _0x25eadd(_0x4e84e4._0x1c0345,-0x41,_0x4e84e4._0x3a66c,0x74):{const _0x4632b4=await _0x10714f[_0x2fd279(0x2a4,_0x4e84e4._0x16067a,_0x4e84e4._0x3e3951,-0x9)](_0x910c05);return yield createToolOutput(formatOutgoingCalls(_0x4632b4),{'operation':_0x2b2a2e,'filePath':_0x5cda8d,'calls':toStructured(_0x4632b4)}),void 0x0;}}}});}import{randomUUID as _0x2d459f}from'crypto';import{mkdir as _0x46f8a2,readFile as _0x2e8ce0,writeFile as _0x9fc916}from'fs/promises';import{join as _0x4aeb1b}from'path';function sanitizeStorageKey(_0x1feb4c){const _0x2c3e05={_0x36e53e:0x7e4,_0x54876a:0x625,_0x103c66:0x5b0,_0x1399c7:0x561,_0x112c90:0x591,_0x47e607:0x63f,_0x563e2e:0x52f};function _0xb352e8(_0x269c83,_0x3372e4,_0x238799,_0x362783){return _0x42cde8(_0x269c83-0xd0,_0x269c83-0x401,_0x238799-0x14b,_0x362783);}function _0xdfba27(_0x2be820,_0x554306,_0x54a502,_0x4b9ee5){return _0x42cde8(_0x2be820-0x196,_0x554306-0x521,_0x54a502-0x169,_0x54a502);}return _0x1feb4c[_0xdfba27(0x84d,0x6d0,_0x2c3e05._0x36e53e,_0x2c3e05._0x54876a)](/[^a-zA-Z0-9_]+/g,'_')[_0xb352e8(_0x2c3e05._0x103c66,0x6ab,_0x2c3e05._0x1399c7,0x4dc)](/^_+|_+$/g,'')||_0xb352e8(_0x2c3e05._0x112c90,_0x2c3e05._0x47e607,_0x2c3e05._0x563e2e,0x58a);}function storagePath(_0x18e6ff){const _0x125361={_0x4201d4:0xbb,_0xe76948:0x7b,_0x1093e2:0x6e,_0x83ba19:0x653,_0xbf2111:0x625,_0x9a99a0:0x5de,_0x233166:0x565,_0x32b955:0x63c,_0x49adf3:0x13,_0x465ec9:0x78,_0x2770f4:0x1ed,_0xea2e83:0x159,_0x46995e:0x245},_0x4052bc={_0x2b3e25:0x121,_0x7b3485:0x108,_0x212863:0x61},_0x1e77a3={_0x5ab1ab:0x198,_0x3b3b70:0x142},_0x26fae1=sanitizeStorageKey(_0x18e6ff['config'][_0x5d31e4(-_0x125361._0x4201d4,-_0x125361._0xe76948,0x5e,-_0x125361._0x1093e2)]?.[_0x26b7ae(_0x125361._0x83ba19,_0x125361._0xbf2111,_0x125361._0x9a99a0,_0x125361._0x233166)]??_0x18e6ff[_0x26b7ae(0x42f,0x42a,_0x125361._0x32b955,0x529)]);function _0x26b7ae(_0x1c0f7a,_0x316a16,_0x364aa5,_0x334dd6){return _0x48c1e5(_0x334dd6-_0x1e77a3._0x5ab1ab,_0x316a16-0x66,_0x364aa5,_0x334dd6-_0x1e77a3._0x3b3b70);}function _0x5d31e4(_0x5520b2,_0x287d53,_0x448e1f,_0x35b309){return _0x42cde8(_0x5520b2-_0x4052bc._0x2b3e25,_0x287d53- -_0x4052bc._0x7b3485,_0x448e1f-_0x4052bc._0x212863,_0x5520b2);}return _0x4aeb1b(_0x18e6ff[_0x5d31e4(0xd2,0xc9,_0x125361._0x49adf3,0x6c)],_0x26fae1+_0x5d31e4(-_0x125361._0x465ec9,-_0x125361._0x2770f4,-_0x125361._0xea2e83,-_0x125361._0x46995e));}async function readStore(_0x5041f5){const _0x32c075={_0x2b38e2:0x273,_0x1c8a31:0x1f2,_0x49d1cf:0x757,_0x115957:0x54a,_0x3dc8dd:0x73f,_0x38cf8d:0x578,_0x27ff1b:0x5d8},_0x161a80={_0x7a5383:0x4f},_0xc16eec={_0x2d966c:0x163};function _0x4d1519(_0x46cd96,_0x18ffb0,_0x4f81b8,_0x56c158){return _0x42cde8(_0x46cd96-_0xc16eec._0x2d966c,_0x56c158-0xf8,_0x4f81b8-0x94,_0x4f81b8);}function _0x363062(_0x4b5a47,_0x229598,_0x58c30d,_0xfc4028){return _0x48c1e5(_0x58c30d-0x1fa,_0x229598-_0x161a80._0x7a5383,_0x229598,_0xfc4028-0xde);}try{return JSON[_0x4d1519(0x92,0x2ea,_0x32c075._0x2b38e2,_0x32c075._0x1c8a31)](await _0x2e8ce0(_0x5041f5,'utf8'));}catch(_0xc249e4){if(_0xc249e4 instanceof Error&&_0x363062(_0x32c075._0x49d1cf,_0x32c075._0x115957,0x68f,_0x32c075._0x3dc8dd)in _0xc249e4&&_0xc249e4[_0x363062(_0x32c075._0x38cf8d,0x67b,0x68f,_0x32c075._0x27ff1b)]==='ENOENT')return{};throw _0xc249e4;}}async function writeStore(_0x57cab7,_0x1463ba){const _0x3b518a={_0xf60fb:0x3b0,_0x578eb3:0x32c,_0x2d0b64:0x2c6,_0x11cc22:0x204,_0x31e765:0x352,_0x4079f2:0x213},_0x45f908={_0x33da4e:0x2f,_0x3bba5d:0x31d},_0x2b3458={_0x2459f7:0x73,_0x9bbcff:0x118,_0xb8d826:0x13b};function _0x5872cb(_0x5e8277,_0x596ac6,_0x1185ff,_0x4115b7){return _0x48c1e5(_0x4115b7- -_0x2b3458._0x2459f7,_0x596ac6-_0x2b3458._0x9bbcff,_0x596ac6,_0x4115b7-_0x2b3458._0xb8d826);}await _0x46f8a2(_0x4aeb1b(_0x57cab7,'..'),{'recursive':!![]});function _0x2ec764(_0x23a878,_0x326d7b,_0x8e629a,_0x5d3a6f){return _0x42cde8(_0x23a878-_0x45f908._0x33da4e,_0x23a878-_0x45f908._0x3bba5d,_0x8e629a-0x5c,_0x5d3a6f);}await _0x9fc916(_0x57cab7,JSON[_0x5872cb(0x3af,_0x3b518a._0xf60fb,_0x3b518a._0x578eb3,0x39f)](_0x1463ba,null,0x2),_0x5872cb(_0x3b518a._0x2d0b64,_0x3b518a._0x11cc22,_0x3b518a._0x31e765,_0x3b518a._0x4079f2));}async function updateStore(_0x4d74aa,_0x2f3bd3){const _0x70782=await readStore(_0x4d74aa);_0x2f3bd3(_0x70782),await writeStore(_0x4d74aa,_0x70782);}function createMcpOAuthProvider(_0x2b7dad){const _0x1c81e3={_0x309d38:0x34e,_0x4c81f9:0x3bf,_0x55c2bb:0x3ef,_0x241f8a:0x38f,_0xbfb78:0xd1,_0x363bc6:0x75,_0x3c7f7b:0x229,_0x52c74f:0x22f,_0x28c013:0x2e,_0x366c8c:0xe8,_0x3234a7:0x7f,_0x11a8dd:0x198,_0x54e8c6:0x1bd,_0x57837d:0x239,_0x1562f1:0x236,_0x306b2c:0xd,_0xca8403:0x27,_0x42c7ca:0x421,_0x328466:0x4d5,_0x5ac4f3:0x357,_0x32d099:0x1eb,_0x369328:0x42b,_0x15c92e:0x3d8,_0x4101c1:0x45b,_0x33999d:0xf7},_0x29d8ea={_0x25886e:0x5e0,_0x2a42e7:0x5d0,_0x3015e3:0x45e},_0x160cd9={_0x2a52e1:0x480,_0x27eeb1:0x376},_0x317b7e={_0x31b93e:0x65b},_0x48ac52={_0x28c48c:0x1fe,_0x11c687:0x483,_0x5efc4d:0x32e,_0x9554e0:0x24b},_0x17c26a={_0x1a4a04:0x1c6,_0xff693:0x80,_0x45af74:0x1d},_0x10d29e={_0x3c1418:0x2b3},_0x48c33c={_0x11e279:0xfe,_0x1d3737:0x151,_0x4ea642:0x48,_0x221afe:0x186},_0x47c823={_0x2a1060:0x11e,_0x18832a:0x56,_0x6d9d4a:0x296},_0xf1e3bd={_0x4d20d1:0x3a,_0x1ebd3f:0x10e},_0x361c45={_0x1b3956:0x5b8,_0x442beb:0x432,_0x3d42ae:0x450},_0x1b7d61={_0x4cd358:0x36a,_0x2b556b:0xb},_0x9cde4f={_0x187851:0x13e,_0x9f2454:0x3f},_0x43c586=storagePath(_0x2b7dad),_0x23a57d=_0x2b7dad[_0x2f190d(_0x1c81e3._0x309d38,0x2d7,0x486,_0x1c81e3._0x4c81f9)][_0x2f190d(0x4be,_0x1c81e3._0x55c2bb,0x5c4,_0x1c81e3._0x241f8a)]?.[_0x55c2f0(_0x1c81e3._0xbfb78,-_0x1c81e3._0x363bc6,_0x1c81e3._0x3c7f7b,_0x1c81e3._0x52c74f)]?.[_0x55c2f0(-_0x1c81e3._0x28c013,-_0x1c81e3._0x366c8c,-0xd5,0xee)]('\x20');function _0x2f190d(_0x424835,_0x4e9fb2,_0x28d49b,_0x10ac81){return _0x42cde8(_0x424835-_0x9cde4f._0x187851,_0x424835-0x431,_0x28d49b-_0x9cde4f._0x9f2454,_0x28d49b);}function _0x55c2f0(_0x4b9958,_0x398b4f,_0x24580b,_0x3716cc){return _0x48c1e5(_0x4b9958- -_0x1b7d61._0x4cd358,_0x398b4f-0xcb,_0x398b4f,_0x3716cc-_0x1b7d61._0x2b556b);}const _0x5d6b19={'client_name':'Nuvin','redirect_uris':[_0x2b7dad[_0x55c2f0(-_0x1c81e3._0x3234a7,-0x61,-_0x1c81e3._0x11a8dd,-_0x1c81e3._0x54e8c6)]],'grant_types':[_0x55c2f0(-0x180,-0x111,-_0x1c81e3._0x57837d,-_0x1c81e3._0x1562f1),'refresh_token'],'response_types':[_0x55c2f0(0x12b,0x195,_0x1c81e3._0x306b2c,_0x1c81e3._0xca8403)],'token_endpoint_auth_method':_0x2f190d(_0x1c81e3._0x42c7ca,0x394,_0x1c81e3._0x328466,_0x1c81e3._0x5ac4f3),..._0x23a57d?{'scope':_0x23a57d}:{}};return{'clientMetadataUrl':_0x2b7dad[_0x2f190d(0x34e,_0x1c81e3._0x32d099,_0x1c81e3._0x369328,0x415)][_0x2f190d(0x4be,_0x1c81e3._0x15c92e,_0x1c81e3._0x4101c1,0x360)]?.[_0x55c2f0(0xa3,_0x1c81e3._0x33999d,0x12e,-0x70)],get 'redirectUrl'(){const _0x590bd6={_0x20c173:0x86,_0x2763d1:0x1af,_0x1745d4:0x195};function _0x342ed6(_0x49927e,_0x2f8d38,_0x5f0c6b,_0x444293){return _0x2f190d(_0x49927e-_0x590bd6._0x20c173,_0x2f8d38-_0x590bd6._0x2763d1,_0x5f0c6b,_0x444293-_0x590bd6._0x1745d4);}return _0x2b7dad[_0x342ed6(0x4d7,_0x361c45._0x1b3956,_0x361c45._0x442beb,_0x361c45._0x3d42ae)];},get 'clientMetadata'(){return _0x5d6b19;},async 'state'(){const _0xba2df2={_0x408054:0x32b},_0x34de9c={_0x381785:0xe1,_0xfd08d5:0x171};function _0x157d37(_0x470d98,_0x2b8ab0,_0x2f2619,_0x599753){return _0x2f190d(_0x2b8ab0- -0x120,_0x2b8ab0-_0xf1e3bd._0x4d20d1,_0x599753,_0x599753-_0xf1e3bd._0x1ebd3f);}const _0x54e80f=await readStore(_0x43c586);function _0x5ab7d7(_0x3ce79c,_0x3b45fe,_0x5a4562,_0x2c3498){return _0x55c2f0(_0x2c3498- -_0x34de9c._0x381785,_0x3b45fe,_0x5a4562-_0x34de9c._0xfd08d5,_0x2c3498-0x110);}if(_0x54e80f[_0x5ab7d7(-_0x48c33c._0x11e279,-_0x48c33c._0x1d3737,0xd6,-_0x48c33c._0x4ea642)])return _0x54e80f[_0x5ab7d7(-_0x48c33c._0x221afe,-0x42,-0x136,-0x48)];const _0x58db37=_0x2d459f();return await updateStore(_0x43c586,_0x2784f5=>{function _0x43fcea(_0x16d78d,_0x25ae89,_0x2c2d94,_0x5c0795){return _0x157d37(_0x16d78d-0x1bb,_0x25ae89- -_0xba2df2._0x408054,_0x2c2d94-0x1a8,_0x16d78d);}_0x2784f5[_0x43fcea(0x1f6,_0x47c823._0x2a1060,-_0x47c823._0x18832a,_0x47c823._0x6d9d4a)]=_0x58db37;}),_0x58db37;},async 'clientInformation'(){function _0x4c29c6(_0x143afd,_0x325485,_0x15f96c,_0x752ab2){return _0x2f190d(_0x15f96c- -_0x10d29e._0x3c1418,_0x325485-0xca,_0x143afd,_0x752ab2-0x97);}return(await readStore(_0x43c586))[_0x4c29c6(-0x2d,_0x17c26a._0x1a4a04,_0x17c26a._0xff693,-_0x17c26a._0x45af74)];},async 'saveClientInformation'(_0x1a32cc){await updateStore(_0x43c586,_0x1a9eb7=>{const _0x15fa64={_0x456568:0x289};function _0x5137e0(_0x5bcebd,_0x3a0705,_0x32dd39,_0x3f5418){return _0x59f9(_0x32dd39-_0x15fa64._0x456568,_0x5bcebd);}_0x1a9eb7[_0x5137e0(_0x48ac52._0x28c48c,_0x48ac52._0x11c687,_0x48ac52._0x5efc4d,_0x48ac52._0x9554e0)]=_0x1a32cc;});},async 'tokens'(){return(await readStore(_0x43c586))['tokens'];},async 'saveTokens'(_0x5cce44){const _0x25cc1e={_0x1286a3:0x32};await updateStore(_0x43c586,_0x3800ff=>{function _0x521698(_0x450e80,_0x724f4e,_0x1f86cf,_0x1dd6c2){return _0x59f9(_0x724f4e- -0x171,_0x1f86cf);}_0x3800ff[_0x521698(0xb3,0x126,_0x25cc1e._0x1286a3,0x163)]=_0x5cce44;});},async 'redirectToAuthorization'(_0x12868a){const _0x380079={_0x6e891:0x583,_0x488466:0x92};function _0x277dd2(_0x213036,_0x36ae55,_0x5512ce,_0xc36ea1){return _0x55c2f0(_0x213036-_0x380079._0x6e891,_0xc36ea1,_0x5512ce-_0x380079._0x488466,_0xc36ea1-0x9c);}await _0x2b7dad[_0x277dd2(_0x317b7e._0x31b93e,0x6de,0x651,0x6c6)](_0x12868a);},async 'saveCodeVerifier'(_0x3f9a1a){const _0x4a7cd2={_0x5b265e:0x132,_0x967606:0x1f8,_0x5dce24:0x340};await updateStore(_0x43c586,_0x2f8c9a=>{function _0x28543b(_0x1da53e,_0x51266d,_0x3df7ec,_0x4b77fb){return _0x59f9(_0x3df7ec-0xc9,_0x4b77fb);}_0x2f8c9a[_0x28543b(0x2af,_0x4a7cd2._0x5b265e,_0x4a7cd2._0x967606,_0x4a7cd2._0x5dce24)]=_0x3f9a1a;});},async 'codeVerifier'(){const _0x3cfe4d={_0x38c703:0x5f1};function _0x75efea(_0x1c72e7,_0x17f661,_0x4099e7,_0x4a9cb7){return _0x55c2f0(_0x4a9cb7-_0x3cfe4d._0x38c703,_0x4099e7,_0x4099e7-0x8e,_0x4a9cb7-0x152);}const _0x485f31=(await readStore(_0x43c586))[_0x75efea(_0x160cd9._0x2a52e1,_0x160cd9._0x27eeb1,0x5b0,0x4de)];if(!_0x485f31)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x485f31;},async 'invalidateCredentials'(_0xf91992){const _0x414a8c={_0x158ba5:0x262,_0xa71ad6:0x2e0,_0x45c95a:0x249,_0x12a186:0x2b3,_0x697b2c:0x61a,_0x39ebb7:0x627,_0xe0d5dd:0x1e9,_0x272bbe:0x26e,_0x4eaa12:0x4f6,_0x2518e9:0x1f9,_0xfb8e6c:0x300,_0x5b1721:0x3f5,_0x5959a0:0x67d,_0x44a459:0x62f,_0x1ef9db:0x5f4};await updateStore(_0x43c586,_0x371a64=>{function _0x4d4832(_0x25bef5,_0x57ab03,_0x3875ca,_0x110b09){return _0x59f9(_0x57ab03-0x32e,_0x3875ca);}(_0xf91992===_0x7a118e(0x271,0x3a6,0x3bf,0x4da)||_0xf91992===_0x7a118e(_0x414a8c._0x158ba5,0x230,_0x414a8c._0xa71ad6,_0x414a8c._0x45c95a))&&(_0x371a64[_0x4d4832(_0x414a8c._0x12a186,0x3d3,0x430,0x35c)]=void 0x0);(_0xf91992===_0x7a118e(0x444,0x26e,0x3bf,0x3ae)||_0xf91992===_0x4d4832(_0x414a8c._0x697b2c,0x5c5,0x4c5,0x6d7))&&(_0x371a64['tokens']=void 0x0);(_0xf91992===_0x4d4832(0x48b,0x5cd,_0x414a8c._0x39ebb7,0x49f)||_0xf91992===_0x7a118e(_0x414a8c._0xe0d5dd,_0x414a8c._0x272bbe,0x336,0x291))&&(_0x371a64['codeVerifier']=void 0x0,_0x371a64[_0x7a118e(0x509,0x515,0x3fb,0x432)]=void 0x0);function _0x7a118e(_0x5bb049,_0x2be59c,_0x35862d,_0x322211){return _0x59f9(_0x35862d-0x120,_0x5bb049);}(_0xf91992===_0x7a118e(0x400,0x519,0x3bf,_0x414a8c._0x4eaa12)||_0xf91992===_0x7a118e(0x330,_0x414a8c._0x2518e9,_0x414a8c._0xfb8e6c,_0x414a8c._0x5b1721))&&(_0x371a64[_0x4d4832(_0x414a8c._0x5959a0,_0x414a8c._0x44a459,_0x414a8c._0x1ef9db,0x4fa)]=void 0x0);});},async 'saveDiscoveryState'(_0x53338f){await updateStore(_0x43c586,_0x2ab7c7=>{function _0x52b4c4(_0x5df095,_0x5f76f0,_0x41bacf,_0x1a86d2){return _0x59f9(_0x5f76f0-0x2cf,_0x5df095);}_0x2ab7c7[_0x52b4c4(_0x29d8ea._0x25886e,_0x29d8ea._0x2a42e7,0x5e4,_0x29d8ea._0x3015e3)]=_0x53338f;});},async 'discoveryState'(){return(await readStore(_0x43c586))['discoveryState'];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x17c51d,_0x4d2ed8){const _0x49805a={_0x5d84a1:0xd,_0x279058:0x166},_0x2c40c0={_0x276366:0x1cd};function _0x43a88c(_0x2db5b4,_0x1cc800,_0x4592bf,_0x56bc5d){return _0x48c1e5(_0x1cc800- -0x3f7,_0x1cc800-_0x2c40c0._0x276366,_0x4592bf,_0x56bc5d-0x48);}const _0x111923=_0x12b3b0=>_0x12b3b0[_0x54ebb1(0x2dc,0x2fd,0x397,0x237)](/[^a-zA-Z0-9_]+/g,'_')[_0x43a88c(0x131,0x83,0xf5,0x93)](/^_+|_+$/g,'');function _0x54ebb1(_0x43a78e,_0x420e01,_0x504935,_0x24ec1f){return _0x42cde8(_0x43a78e-0x1a0,_0x24ec1f-0x88,_0x504935-0x17b,_0x504935);}return _0x43a88c(-_0x49805a._0x5d84a1,0x13,_0x49805a._0x279058,0x52)+_0x111923(_0x17c51d)+'_'+_0x111923(_0x4d2ed8);}function isObject(_0x59511d){return typeof _0x59511d==='object'&&_0x59511d!==null&&!Array['isArray'](_0x59511d);}function toSupportedSchema(_0x484181){const _0x691638={_0x4039b5:0x5a0,_0x466627:0x6ed,_0x38fc5d:0x1a0,_0x288416:0x6c,_0x4b953e:0x33d,_0x495b19:0x95,_0x33e332:0xb4,_0x2bbf0a:0x4bd,_0x13693d:0x5db,_0x36b19f:0x1bc,_0x31bca5:0x2e5,_0x5984b6:0xff,_0xf14e14:0xf1,_0x93b7f3:0x1f8,_0x1734f3:0x3d9,_0x2d420b:0x61b,_0x56c7f7:0xfb,_0x70a5f1:0x1aa,_0x37efb5:0x142},_0x18e9f9={_0x475f7b:0x4d,_0x2f19c2:0x51a},_0x5ab54b={_0x406a77:0x1e0,_0x4d0054:0x127,_0x3042d4:0xa3};function _0x1a17ae(_0x58695c,_0x1c0d17,_0x28e642,_0x3f8aa2){return _0x48c1e5(_0x58695c- -_0x5ab54b._0x406a77,_0x1c0d17-_0x5ab54b._0x4d0054,_0x1c0d17,_0x3f8aa2-_0x5ab54b._0x3042d4);}if(!isObject(_0x484181))return void 0x0;if(_0x484181[_0x33cc3f(_0x691638._0x4039b5,0x4bd,0x564,0x567)]===_0x33cc3f(0x577,0x671,0x5d3,0x624))return{'type':_0x33cc3f(0x651,0x671,0x65c,_0x691638._0x466627)};if(_0x484181[_0x1a17ae(0x8e,0xeb,-0x60,_0x691638._0x38fc5d)]==='number'||_0x484181['type']===_0x1a17ae(0x1c0,_0x691638._0x288416,_0x691638._0x4b953e,0x19b))return{'type':_0x1a17ae(0x161,_0x691638._0x495b19,_0x691638._0x33e332,0x9b)};if(_0x484181[_0x33cc3f(0x4a8,_0x691638._0x2bbf0a,0x47d,_0x691638._0x13693d)]===_0x1a17ae(_0x691638._0x36b19f,_0x691638._0x31bca5,_0x691638._0x5984b6,0x30d))return{'type':_0x1a17ae(0x1bc,_0x691638._0xf14e14,0x241,_0x691638._0x93b7f3)};if(_0x484181[_0x33cc3f(_0x691638._0x1734f3,0x4bd,_0x691638._0x2d420b,0x3c7)]==='array')return{'type':_0x1a17ae(0x1f1,_0x691638._0x56c7f7,_0x691638._0x70a5f1,_0x691638._0x37efb5),'items':toSupportedSchema(_0x484181['items'])??{'type':_0x1a17ae(0x242,0x33e,0x1a0,0x15e)}};if(_0x484181[_0x33cc3f(0x44a,0x4bd,0x518,0x57a)]==='object')return toNuvinToolSchema(_0x484181);function _0x33cc3f(_0x24c063,_0xc99c71,_0x503330,_0x4fe40a){return _0x42cde8(_0x24c063-_0x18e9f9._0x475f7b,_0xc99c71-_0x18e9f9._0x2f19c2,_0x503330-0x6f,_0x503330);}return void 0x0;}function toNuvinToolSchema(_0x100f26){const _0x324c2f={_0x1a02ee:0x55c,_0x1a4ef8:0x6,_0x2cc46e:0x1c8,_0x482af5:0x130,_0x40d7f7:0x5ce,_0x842c96:0x67b,_0x3e1de8:0x573,_0x3d01d3:0x2ff,_0x580857:0x5a3,_0x2a65d0:0x55c,_0x2fefdf:0x57c,_0x5c74de:0x23,_0x4ecd3b:0xf1,_0x2d0666:0x103},_0x39daaa={_0x393b53:0xb5,_0x15d4aa:0x12f},_0x19c5e2={_0x1f1041:0x50};if(!isObject(_0x100f26)||_0x100f26['type']!==_0x564e5c(0x5a1,0x5b1,_0x324c2f._0x1a02ee,0x57e))return{'type':_0xa0efdc(0x10f,-_0x324c2f._0x1a4ef8,_0x324c2f._0x2cc46e,0x103),'properties':{}};function _0x564e5c(_0x16c247,_0x16f643,_0x224372,_0x5c498b){return _0x48c1e5(_0x224372-0x243,_0x16f643-_0x19c5e2._0x1f1041,_0x5c498b,_0x5c498b-0x1d3);}const _0x762f96={};function _0xa0efdc(_0x15f476,_0x3010b0,_0xa1a1f1,_0x554641){return _0x42cde8(_0x15f476-0x1e9,_0x554641-_0x39daaa._0x393b53,_0xa1a1f1-_0x39daaa._0x15d4aa,_0xa1a1f1);}const _0x5c52e1=isObject(_0x100f26[_0xa0efdc(0x39c,0x347,_0x324c2f._0x482af5,0x22b)])?_0x100f26[_0x564e5c(_0x324c2f._0x40d7f7,0x7d4,0x684,_0x324c2f._0x842c96)]:{};for(const [_0x1a0d37,_0x1c596a]of Object['entries'](_0x5c52e1)){const _0x33c9d5=toSupportedSchema(_0x1c596a);if(_0x33c9d5)_0x762f96[_0x1a0d37]=_0x33c9d5;}const _0x5901ec=Array[_0x564e5c(0x65e,_0x324c2f._0x3e1de8,0x4ea,0x5c5)](_0x100f26[_0x564e5c(_0x324c2f._0x3d01d3,_0x324c2f._0x580857,0x45b,0x3fd)])?_0x100f26['required']['filter'](_0x1df2a0=>typeof _0x1df2a0==='string'):void 0x0;return _0x5901ec?.['length']?{'type':_0x564e5c(0x6a7,0x605,_0x324c2f._0x2a65d0,_0x324c2f._0x2fefdf),'properties':_0x762f96,'required':_0x5901ec}:{'type':_0xa0efdc(-_0x324c2f._0x5c74de,_0x324c2f._0x4ecd3b,0xb6,_0x324c2f._0x2d0666),'properties':_0x762f96};}function isJsonObject(_0x2c4661){const _0x18ebbe={_0x22fc83:0xb0,_0xd67fcb:0x13b},_0x4e3426={_0x40021c:0x357,_0x1a5be3:0x70};function _0x3c5952(_0x40ece3,_0x16e9a5,_0x4fe1c4,_0x4be3a6){return _0x48c1e5(_0x4fe1c4- -_0x4e3426._0x40021c,_0x16e9a5-_0x4e3426._0x1a5be3,_0x16e9a5,_0x4be3a6-0x55);}return typeof _0x2c4661==='object'&&_0x2c4661!==null&&!Array[_0x3c5952(-0xb5,-0x1c2,-_0x18ebbe._0x22fc83,-_0x18ebbe._0xd67fcb)](_0x2c4661);}function formatMcpContent(_0xd505de){const _0xb50834={_0x4858c3:0x97,_0x4602a:0x2ea,_0x442555:0xb4,_0x3210b9:0x169,_0x54e4f0:0x96,_0x350a73:0x15,_0x28a0b6:0xd5,_0x5f0cc3:0x52,_0x64f4fb:0x96,_0x50d8af:0xaa,_0x418a02:0x290,_0x5b6ece:0x361,_0x5117fc:0xed},_0x445386={_0x226c2e:0x17b},_0x2a2ea4={_0x21f0a4:0x125,_0x44e1c9:0x110,_0x37d0c8:0x253,_0x4816ab:0xd2,_0x1b95e3:0x163,_0x2dfce4:0xba,_0x47220f:0x4c,_0x124a35:0x13c,_0x9d50b6:0x16c,_0x1f1811:0x2ad},_0x2cdcdd={_0x141896:0x37,_0x2de6c4:0x4df},_0x164ab8={_0x58ff15:0x378};function _0x226a9a(_0x839ea2,_0x29bbc9,_0x2181aa,_0x321166){return _0x42cde8(_0x839ea2-0x19e,_0x321166-_0x164ab8._0x58ff15,_0x2181aa-0x14,_0x29bbc9);}const _0x1b7f33=Array[_0x101fbf(-_0xb50834._0x4858c3,-0x2e7,-0x1ed,-_0xb50834._0x4602a)](_0xd505de[_0x101fbf(-_0xb50834._0x442555,-_0xb50834._0x3210b9,-_0xb50834._0x54e4f0,-_0xb50834._0x350a73)])?_0xd505de[_0x101fbf(-_0xb50834._0x28a0b6,-_0xb50834._0x5f0cc3,-_0xb50834._0x64f4fb,-0x4a)]:[],_0x9e5224=_0x1b7f33['map'](_0x465b95=>{function _0x55923f(_0x3c40d6,_0x2c04d8,_0x538881,_0x2e13f4){return _0x226a9a(_0x3c40d6-0x11f,_0x3c40d6,_0x538881-_0x2cdcdd._0x141896,_0x2e13f4- -_0x2cdcdd._0x2de6c4);}if(!isObject(_0x465b95))return'';if(_0x465b95[_0x55923f(-0x28f,-0xf7,-_0x2a2ea4._0x21f0a4,-0x1c4)]==='text'&&typeof _0x465b95[_0x1932de(_0x2a2ea4._0x44e1c9,_0x2a2ea4._0x37d0c8,0x8e,0x109)]===_0x55923f(_0x2a2ea4._0x4816ab,-_0x2a2ea4._0x1b95e3,0x10e,-0x10))return _0x465b95[_0x55923f(_0x2a2ea4._0x2dfce4,-0xd9,-0xad,-_0x2a2ea4._0x47220f)];function _0x1932de(_0x7fe2d9,_0x33e0bf,_0x59356b,_0x17aff8){return _0x226a9a(_0x7fe2d9-0x180,_0x17aff8,_0x59356b-0x2b,_0x7fe2d9- -0x383);}return JSON[_0x1932de(_0x2a2ea4._0x124a35,_0x2a2ea4._0x9d50b6,0xcb,_0x2a2ea4._0x1f1811)](_0x465b95);})['filter'](_0x3a5c10=>_0x3a5c10[_0x226a9a(0x2cd,0x2e1,0x3b7,0x2ca)]>0x0)[_0x101fbf(-_0xb50834._0x50d8af,-_0xb50834._0x418a02,-0x158,-0x1bb)]('\x0a');if(_0x9e5224[_0x101fbf(-0x28f,-_0xb50834._0x5b6ece,-0x277,-0x237)]>0x0)return _0x9e5224;function _0x101fbf(_0x50688c,_0x3a0247,_0x4f7788,_0x584df0){return _0x48c1e5(_0x4f7788- -0x494,_0x3a0247-0xca,_0x3a0247,_0x584df0-_0x445386._0x226c2e);}return JSON[_0x101fbf(-0x19d,_0xb50834._0x5117fc,-0x82,-0x26)](_0xd505de,null,0x2);}function createMcpTool(_0x24f50d){const _0x3aa0f0={_0x59c596:0x4b1,_0x26b2e5:0x4b6,_0x58fcb3:0x31e,_0x120cb4:0x48f,_0x257524:0x5a6,_0x2d9f68:0x59a,_0x4f2bfe:0x5ce,_0x1c9ba7:0x5b5,_0x5194e9:0x3f7,_0x128fab:0x37e,_0x58ef62:0x4c3,_0x5813d6:0x2af,_0xe87221:0x3e4,_0x293255:0x344,_0x5c31c6:0x26b,_0x849d20:0x4b1,_0x264941:0x339,_0x8c307d:0x3c9,_0x3c8feb:0x4a1,_0x3a96ff:0x430},_0x2b883b={_0x144ae4:0x72e,_0x21393a:0x6cd,_0x173ec8:0x40a,_0x3007c6:0x4b2,_0x2dafb6:0x5af,_0x3b680c:0x4a3,_0x2898fd:0x722,_0x1a6bdd:0x717,_0x4cdaee:0x1ca,_0xbcd29d:0x176},_0x37d8d3={_0x320937:0xf4,_0x46868c:0x3eb,_0x5e7399:0x104};function _0x54cc39(_0x558512,_0x158d7f,_0xa0ad7a,_0x58f540){return _0x48c1e5(_0xa0ad7a-0x167,_0x158d7f-0x101,_0x58f540,_0x58f540-0x162);}function _0x4f4523(_0x5273a7,_0x5a6b93,_0x1105a4,_0x26d791){return _0x42cde8(_0x5273a7-_0x37d8d3._0x320937,_0x5a6b93-_0x37d8d3._0x46868c,_0x1105a4-_0x37d8d3._0x5e7399,_0x5273a7);}const _0x261f8a=createMcpToolName(_0x24f50d[_0x4f4523(0x453,_0x3aa0f0._0x59c596,_0x3aa0f0._0x26b2e5,0x42f)],_0x24f50d[_0x54cc39(_0x3aa0f0._0x58fcb3,0x452,_0x3aa0f0._0x120cb4,0x407)]['name']);return defineTool({'name':_0x261f8a,'description':_0x24f50d[_0x54cc39(_0x3aa0f0._0x257524,_0x3aa0f0._0x2d9f68,0x48f,_0x3aa0f0._0x4f2bfe)][_0x4f4523(_0x3aa0f0._0x1c9ba7,0x4a9,0x549,_0x3aa0f0._0x5194e9)]??'MCP\x20tool\x20'+_0x24f50d[_0x54cc39(0x34a,_0x3aa0f0._0x128fab,_0x3aa0f0._0x120cb4,_0x3aa0f0._0x58ef62)][_0x4f4523(_0x3aa0f0._0x5813d6,_0x3aa0f0._0xe87221,_0x3aa0f0._0x293255,_0x3aa0f0._0x5c31c6)]+'\x20from\x20'+_0x24f50d[_0x4f4523(0x62d,_0x3aa0f0._0x849d20,0x5fb,_0x3aa0f0._0x264941)],'inputSchema':toNuvinToolSchema(_0x24f50d['tool'][_0x54cc39(_0x3aa0f0._0x8c307d,_0x3aa0f0._0x3c8feb,_0x3aa0f0._0x3a96ff,0x368)]),async *'execute'(_0x2f6da6){const _0x2b52be={_0x5de2c5:0xf,_0x56e5c2:0x121,_0x3d63fe:0x60d},_0x2790c9=await _0x24f50d[_0x455e70(0x685,0x533,0x63a,0x475)][_0x455e70(0x686,0x602,0x6a6,_0x2b883b._0x144ae4)]({'name':_0x24f50d[_0x455e70(_0x2b883b._0x21393a,0x573,_0x2b883b._0x173ec8,0x44a)]['name'],'arguments':isJsonObject(_0x2f6da6)?_0x2f6da6:{}});if(_0x2790c9[_0x455e70(_0x2b883b._0x3007c6,_0x2b883b._0x2dafb6,_0x2b883b._0x3b680c,_0x2b883b._0x2898fd)])throw new ToolExecutionError(formatMcpContent(_0x2790c9),{'serverName':_0x24f50d[_0x455e70(0x61e,0x5dc,0x580,_0x2b883b._0x1a6bdd)],'toolName':_0x24f50d[_0x43ea9d(-0x17e,-_0x2b883b._0x4cdaee,-0x3c,-_0x2b883b._0xbcd29d)]['name']});function _0x43ea9d(_0x534fe9,_0x13fe89,_0x3807a5,_0x26c11a){return _0x54cc39(_0x534fe9-_0x2b52be._0x5de2c5,_0x13fe89-_0x2b52be._0x56e5c2,_0x534fe9- -_0x2b52be._0x3d63fe,_0x13fe89);}yield createToolOutput(formatMcpContent(_0x2790c9),{'serverName':_0x24f50d[_0x455e70(0x602,0x5dc,0x63b,0x4e3)],'toolName':_0x24f50d['tool']['name'],'result':_0x2790c9});function _0x455e70(_0x313425,_0x1575fe,_0x232337,_0x1862e9){return _0x54cc39(_0x313425-0x7,_0x1575fe-0x46,_0x1575fe-0xe4,_0x1862e9);}return void 0x0;}});}function resolvePrefix(_0x2f9d3e,_0x47d748){const _0x26dff1={_0x40d38c:0xdf,_0x49f677:0x24b},_0x48b510={_0x12ad8f:0x17e,_0x514a34:0x1e7,_0x9edc26:0x7d};function _0x4c8fda(_0x2f8ac2,_0x4e0766,_0x1d2af5,_0x4009d8){return _0x42cde8(_0x2f8ac2-_0x48b510._0x12ad8f,_0x4009d8-_0x48b510._0x514a34,_0x1d2af5-_0x48b510._0x9edc26,_0x1d2af5);}return _0x47d748[_0x4c8fda(_0x26dff1._0x40d38c,0x367,0x202,_0x26dff1._0x49f677)]??_0x2f9d3e;}function buildMcpHttpHeaders(_0x3c58f2){const _0x24d4f5={_0x1932d9:0x233,_0x3ee8be:0x14d,_0x2024bf:0x173,_0x23d1b9:0x502,_0x16af59:0x4ef,_0x5242d0:0x4d0,_0x4b31b0:0x508,_0x5888bd:0x40a,_0x1f3bd4:0x26b,_0x50e402:0x275,_0x38db6d:0x6c4,_0x21fea2:0x5d5,_0x5e6c61:0x6fb,_0x594f41:0x454,_0x4608e0:0x683,_0x293522:0x4a4,_0x2b649e:0x45f,_0x23f49a:0x255},_0xe3127f={_0x205c06:0x1a9,_0x2c4dca:0x1a7},_0x503726={_0x291c14:0xd2};function _0x3c4274(_0x19da3a,_0x20f781,_0x53ace5,_0xf3b78){return _0x42cde8(_0x19da3a-_0x503726._0x291c14,_0x53ace5-0x482,_0x53ace5-0x193,_0x20f781);}function _0x36048e(_0x2d9b57,_0x29221b,_0x246638,_0xce262e){return _0x48c1e5(_0x246638- -_0xe3127f._0x205c06,_0x29221b-0x42,_0x2d9b57,_0xce262e-_0xe3127f._0x2c4dca);}const _0x593072={..._0x3c58f2[_0x36048e(0x2aa,_0x24d4f5._0x1932d9,_0x24d4f5._0x3ee8be,_0x24d4f5._0x2024bf)]??{}};return _0x3c58f2[_0x3c4274(_0x24d4f5._0x23d1b9,0x521,0x508,_0x24d4f5._0x16af59)]?.[_0x3c4274(0x3bd,0x4b1,0x425,0x34b)]==='bearer'&&_0x3c58f2[_0x3c4274(0x532,_0x24d4f5._0x5242d0,_0x24d4f5._0x4b31b0,_0x24d4f5._0x5888bd)][_0x3c4274(0x5ff,0x549,0x511,0x5d4)]&&_0x593072[_0x36048e(_0x24d4f5._0x1f3bd4,0x163,_0x24d4f5._0x50e402,0x164)]===void 0x0&&(_0x593072[_0x3c4274(0x4fd,_0x24d4f5._0x38db6d,_0x24d4f5._0x21fea2,0x6db)]=_0x3c4274(_0x24d4f5._0x5e6c61,0x48f,0x585,_0x24d4f5._0x594f41)+_0x3c58f2[_0x3c4274(0x652,_0x24d4f5._0x4608e0,0x508,_0x24d4f5._0x293522)]['token']),Object[_0x3c4274(0x6ee,0x4ae,0x5c0,0x68c)](_0x593072)[_0x3c4274(0x50c,_0x24d4f5._0x2b649e,0x3d4,_0x24d4f5._0x23f49a)]>0x0?_0x593072:void 0x0;}function getErrorMessage(_0x540daf){return _0x540daf instanceof Error?_0x540daf['message']:String(_0x540daf);}function isUnauthorizedError(_0x20a715){const _0x407af3={_0x18ebc6:0xa1,_0x582f68:0x260},_0x328a5d={_0x4a58b9:0x60},_0x2bd6db={_0x2677bc:0x6e,_0x43a82b:0x92};function _0xf96bf6(_0x512bf9,_0x4a3c59,_0x42c449,_0x1347f5){return _0x48c1e5(_0x42c449-_0x2bd6db._0x2677bc,_0x4a3c59-_0x2bd6db._0x43a82b,_0x4a3c59,_0x1347f5-0x12b);}function _0x46c454(_0x2835bf,_0x12d150,_0x1d67c2,_0x32ec8a){return _0x42cde8(_0x2835bf-0x174,_0x1d67c2-0x1cb,_0x1d67c2-_0x328a5d._0x4a58b9,_0x2835bf);}return _0x20a715 instanceof Error&&_0x20a715[_0x46c454(0xe9,_0x407af3._0x18ebc6,0x216,_0x407af3._0x582f68)]['name']===_0xf96bf6(0x4f0,0x296,0x3d9,0x491);}async function connectMcpServer(_0x30c7a0,_0x532c0c,_0x38b95c){const _0x3afed7={_0x8ff092:0x2d1,_0xe51025:0x2e3,_0xa2eb15:0x2b3,_0x41541e:0x200,_0x4ab30e:0x1cc,_0x451ca9:0x141,_0x44f296:0x1c7,_0x3dc303:0x1cc,_0x2701ae:0x167,_0xe4de86:0x34a,_0x3c6c83:0x253,_0x129fde:0x22d,_0xaf972e:0xfe,_0x548923:0x274,_0x4e9f2f:0xe7,_0x52e181:0x267,_0x5ea4d9:0x196,_0x4b0d8f:0x234,_0x12dbfc:0x18,_0x17df6c:0x182,_0x12c35c:0x2a2,_0x50c94b:0x24b,_0x478181:0x102,_0x1d45b0:0xed,_0x41c463:0x258,_0x1ed4ce:0x1b2,_0x208922:0x1da,_0x1f9242:0x2c9,_0x9b8e2:0x8a,_0x40cf24:0x16e,_0x572d0e:0x2b4,_0x4d1b44:0x19a,_0x151c8d:0x22b,_0x172323:0x1c1,_0xb3e7dc:0x105,_0x17f892:0x200,_0x20003e:0x106,_0x1124e9:0x378,_0x3eb012:0x273,_0x1e402a:0x427,_0x9409fc:0x248,_0x49002e:0x362,_0x3a89c:0x232,_0x31dd42:0x1ac,_0x511157:0x18d,_0x1cded7:0x5d,_0x496a07:0x7f},_0x3841cd={_0x106c45:0x470,_0x370bd6:0x65e,_0x16ac1f:0x562,_0xe2b15b:0x50a,_0x541ec0:0x56e},_0x5cbe10={_0x262253:0x38c,_0x2f5a27:0x4ee,_0x3fcf4d:0x4d7},_0x255a22={_0xf6e154:0x5c6,_0x383ac5:0x593,_0x265e33:0x720,_0x890e8e:0x4f9,_0x3aa848:0x538,_0x463125:0x460,_0x3428d3:0x450,_0x56bfac:0x2ee},_0x17f9d0={_0x2d0d2f:0xf1,_0x11f9e8:0x6f,_0x3f82c2:0x107},_0x5e992d={_0x45339c:0x11a},_0x25d608=new Client({'name':'nuvin','version':_0xfcab47(-0x1e9,-_0x3afed7._0x8ff092,-0x344,-0x3bd)});function _0xfcab47(_0x24ff72,_0xc58108,_0x53ed7f,_0x471db1){return _0x48c1e5(_0xc58108- -0x4c6,_0xc58108-_0x5e992d._0x45339c,_0x24ff72,_0x471db1-0x16e);}function _0x382e18(_0x565197,_0x1c7ccd,_0x44b062,_0x218f55){return _0x48c1e5(_0x565197- -_0x17f9d0._0x2d0d2f,_0x1c7ccd-_0x17f9d0._0x11f9e8,_0x1c7ccd,_0x218f55-_0x17f9d0._0x3f82c2);}_0x25d608[_0x382e18(_0x3afed7._0xe51025,0x3ac,0x1b5,_0x3afed7._0xa2eb15)]=_0xea25d6=>{const _0x5c5195={_0xf4289a:0x104},_0x5caad9={_0x713d06:0x334};function _0x3ab7f5(_0x36b9b3,_0x39a175,_0x217eb5,_0x138a74){return _0x382e18(_0x36b9b3-_0x5caad9._0x713d06,_0x217eb5,_0x217eb5-0x1a9,_0x138a74-0x152);}function _0x21f5d1(_0x5e6ff5,_0x50e4a9,_0xbac40f,_0x24b97f){return _0x382e18(_0xbac40f-0x188,_0x24b97f,_0xbac40f-0x1bb,_0x24b97f-_0x5c5195._0xf4289a);}console[_0x3ab7f5(_0x255a22._0xf6e154,0x448,_0x255a22._0x383ac5,0x615)](_0x3ab7f5(0x63a,0x528,_0x255a22._0x265e33,0x780)+_0x30c7a0+_0x21f5d1(_0x255a22._0x890e8e,0x5de,_0x255a22._0x3aa848,_0x255a22._0x463125),_0xea25d6[_0x3ab7f5(_0x255a22._0x3428d3,_0x255a22._0x56bfac,0x4ad,0x486)]);};if(_0x532c0c['transport']===_0x382e18(_0x3afed7._0x41541e,_0x3afed7._0x4ab30e,0x16f,_0x3afed7._0x451ca9)||_0x532c0c[_0x382e18(0x148,-0x14,_0x3afed7._0x44f296,_0x3afed7._0x3dc303)]){if(!_0x532c0c[_0xfcab47(-_0x3afed7._0x2701ae,-0x28d,-0x3d9,-_0x3afed7._0xe4de86)])throw new Error(_0x382e18(_0x3afed7._0x3c6c83,0x35c,_0x3afed7._0x129fde,_0x3afed7._0xaf972e)+_0x30c7a0+_0x382e18(0x3c6,_0x3afed7._0x548923,0x4c2,0x512));if(_0x532c0c[_0x382e18(0x260,0x3d0,_0x3afed7._0x4e9f2f,_0x3afed7._0x3c6c83)]?.[_0xfcab47(-0x3c2,-0x258,-0x132,-0x234)]===_0x382e18(_0x3afed7._0x52e181,_0x3afed7._0x5ea4d9,_0x3afed7._0x4b0d8f,0x236)&&!_0x38b95c?.['oauth'])throw new Error(_0xfcab47(-_0x3afed7._0x12dbfc,-_0x3afed7._0x17df6c,-0x1a9,-0x17a)+_0x30c7a0+_0xfcab47(-0x14c,-_0x3afed7._0x12c35c,-_0x3afed7._0x50c94b,-0x1ca));const _0x199b48=buildMcpHttpHeaders(_0x532c0c),_0x28994a=_0x532c0c[_0xfcab47(-_0x3afed7._0x478181,-0x175,-_0x3afed7._0x1d45b0,-0xd7)]?.[_0xfcab47(-0x38f,-_0x3afed7._0x41c463,-_0x3afed7._0x1ed4ce,-0x195)]===_0x382e18(0x267,0x376,_0x3afed7._0x208922,_0x3afed7._0x1f9242)&&_0x38b95c?.[_0xfcab47(-0x13a,-0x16e,-_0x3afed7._0x9b8e2,-0x7)]?createMcpOAuthProvider({'serverName':_0x30c7a0,'callbackUrl':_0x38b95c[_0xfcab47(-0x2e0,-_0x3afed7._0x40cf24,-0xb0,-0x1d4)][_0xfcab47(-_0x3afed7._0x572d0e,-0x1db,-_0x3afed7._0x4d1b44,-_0x3afed7._0x151c8d)],'storageDir':_0x38b95c[_0x382e18(0x267,0x3ab,_0x3afed7._0x172323,_0x3afed7._0xb3e7dc)]['storageDir'],'config':_0x532c0c[_0x382e18(0x260,_0x3afed7._0x17f892,_0x3afed7._0x20003e,0x15b)],'onRedirect':_0x5030e9=>_0x38b95c[_0x382e18(0x267,0x27a,0x293,0x24f)]?.['onRedirect'](_0x30c7a0,_0x5030e9)}):void 0x0,_0x42c3b2=new StreamableHTTPClientTransport(new URL(_0x532c0c['url']),{'authProvider':_0x28994a,'requestInit':_0x199b48?{'headers':_0x199b48}:void 0x0});await _0x25d608[_0x382e18(_0x3afed7._0x1124e9,_0x3afed7._0x3eb012,0x432,_0x3afed7._0x1e402a)](_0x42c3b2);}else{if(!_0x532c0c['command'])throw new Error('MCP\x20server\x20'+_0x30c7a0+_0xfcab47(-0x1ba,-0x291,-0x22a,-_0x3afed7._0x9409fc));const _0x38445d=new StdioClientTransport({'command':_0x532c0c[_0x382e18(0x1ea,0x1f0,_0x3afed7._0x49002e,_0x3afed7._0x40cf24)],'args':_0x532c0c[_0x382e18(_0x3afed7._0x3a89c,_0x3afed7._0x31dd42,0x10f,0x2ea)]??[],'env':_0x532c0c['env'],'stderr':'pipe'});await _0x25d608[_0xfcab47(-_0x3afed7._0x511157,-_0x3afed7._0x1cded7,_0x3afed7._0x496a07,-0x9e)](_0x38445d);}return{async 'listTools'(){function _0x48e66f(_0x34c264,_0x3e90f5,_0x439398,_0x396995){return _0xfcab47(_0x439398,_0x3e90f5-0x4a3,_0x439398-0x1da,_0x396995-0xdf);}return await _0x25d608[_0x48e66f(0x26e,_0x5cbe10._0x262253,_0x5cbe10._0x2f5a27,_0x5cbe10._0x3fcf4d)]();},async 'callTool'(_0x40e41c){const _0x62b245={_0x4145cc:0x193,_0x4f96ce:0xe6};function _0xf47a32(_0x4c4165,_0x2fe4f6,_0x1887f4,_0x2188b1){return _0xfcab47(_0x2fe4f6,_0x1887f4-0x617,_0x1887f4-0x181,_0x2188b1-0x1cc);}function _0x1450c4(_0x5150d7,_0x30aa1,_0x45b6e8,_0x1267c7){return _0x382e18(_0x45b6e8- -_0x62b245._0x4145cc,_0x30aa1,_0x45b6e8-_0x62b245._0x4f96ce,_0x1267c7-0x6a);}return await _0x25d608[_0xf47a32(_0x3841cd._0x106c45,_0x3841cd._0x370bd6,_0x3841cd._0x16ac1f,0x524)]({'method':_0xf47a32(_0x3841cd._0xe2b15b,0x588,0x4c5,_0x3841cd._0x541ec0),'params':_0x40e41c},CallToolResultSchema);},async 'close'(){await _0x25d608['close']();}};}async function createMcpToolsFromServers(_0xa2c1c7){const _0x49db92={_0x32f653:0x120,_0x70eed5:0x21,_0x4d80d4:0x38b,_0x35c4ba:0x307,_0x233b8a:0x12e,_0xa52c45:0x27,_0x44701a:0x16d,_0x48a80a:0x25d,_0x2dd37a:0x197,_0x5bc0e4:0x67,_0xc42fd0:0xdb,_0x264c0a:0x2ed,_0x384513:0x411,_0x404cbb:0x5f,_0x3baad3:0x286,_0x92a141:0x33b,_0x26dfc6:0x1d9,_0xa44fb3:0x22d,_0x282dae:0x211,_0x1e787a:0x281,_0x6849a5:0x1c6,_0x5d9c9c:0x32,_0x2a15cd:0xb0,_0x43053c:0x21c,_0x5e41bd:0x101,_0x40b67d:0x216,_0x437b8d:0x22f,_0xb6d8cf:0x2d1,_0x2f34df:0x6e,_0x2b05d6:0x15e,_0x305341:0x1c1,_0x32d6fd:0x163,_0x3002aa:0x70,_0x1770a0:0x1f8,_0x285bfc:0x249,_0x4344e7:0x268,_0x36a448:0x102},_0x10a710={_0x42b100:0x421,_0xb302a4:0x4d7,_0x1bb4f7:0x5e4},_0x44fea6={_0x55c357:0x1f1},_0x2488d3={_0x272d1a:0x43,_0xcd098a:0x1bf},_0xc93364={_0x143c7a:0x158,_0x198aea:0x2},_0x4e862a=_0xa2c1c7[_0x3db2cc(_0x49db92._0x32f653,0x51,-0x4f,-_0x49db92._0x70eed5)]??connectMcpServer,_0x22d046=[],_0x4a8374={};function _0x573c06(_0x51750a,_0x27c60e,_0x1ec0fe,_0xa99e43){return _0x42cde8(_0x51750a-0x1f0,_0x27c60e-_0xc93364._0x143c7a,_0x1ec0fe-_0xc93364._0x198aea,_0x51750a);}const _0x2c0c55={},_0x56f3f1=[];for(const [_0x584572,_0x3d920c]of Object[_0x3db2cc(-_0x49db92._0x4d80d4,-0x30f,-_0x49db92._0x35c4ba,-0x2a5)](_0xa2c1c7[_0x573c06(0x5a,_0x49db92._0x233b8a,0x1bb,-_0x49db92._0xa52c45)]??{})){if(_0x3d920c[_0x573c06(_0x49db92._0x44701a,0x1e9,0x208,0x315)]===![]){_0x4a8374[_0x584572]={'status':_0x573c06(0xa5,0x20d,0x388,_0x49db92._0x48a80a)};continue;}try{const _0x4bd435=await _0x4e862a(_0x584572,_0x3d920c,_0xa2c1c7['connection']);_0x22d046['push'](_0x4bd435);const _0x5b80af=await _0x4bd435[_0x3db2cc(-_0x49db92._0x2dd37a,-0xd5,-_0x49db92._0x5bc0e4,-_0x49db92._0xc42fd0)]();let _0xe0802a=0x0;const _0x1edee9=[];for(const _0x336531 of _0x5b80af[_0x573c06(0x1b9,_0x49db92._0x264c0a,_0x49db92._0x384513,0x30b)]){const _0x88129f=_0xa2c1c7['allowedTools']?.[_0x584572]?.[_0x336531[_0x573c06(_0x49db92._0x404cbb,0x151,0x1ab,0xd8)]];_0x1edee9[_0x3db2cc(-_0x49db92._0x3baad3,-0x224,-_0x49db92._0x92a141,-_0x49db92._0x26dfc6)]({'name':_0x336531[_0x3db2cc(-_0x49db92._0xa44fb3,-_0x49db92._0x282dae,-_0x49db92._0x1e787a,-_0x49db92._0x6849a5)],..._0x336531[_0x3db2cc(_0x49db92._0x5d9c9c,-_0x49db92._0x2a15cd,-_0x49db92._0x43053c,-_0x49db92._0x5e41bd)]!==void 0x0?{'description':_0x336531[_0x573c06(0x22e,_0x49db92._0x40b67d,0x38b,_0x49db92._0x437b8d)]}:{},..._0x336531[_0x3db2cc(-_0x49db92._0xb6d8cf,-_0x49db92._0x2f34df,-_0x49db92._0x2b05d6,-_0x49db92._0x305341)]!==void 0x0?{'inputSchema':_0x336531[_0x3db2cc(-_0x49db92._0x32d6fd,-0x1d1,-_0x49db92._0x3002aa,-0x1c1)]}:{}});if(_0x88129f===![])continue;_0xe0802a+=0x1,_0x56f3f1[_0x3db2cc(-0x30d,-0x312,-_0x49db92._0x1770a0,-_0x49db92._0x26dfc6)](createMcpTool({'serverName':resolvePrefix(_0x584572,_0x3d920c),'tool':_0x336531,'client':_0x4bd435}));}_0x2c0c55[_0x584572]=_0x1edee9,_0x4a8374[_0x584572]={'status':_0x573c06(_0x49db92._0x285bfc,0x239,0xc7,0x2a4),'toolCount':_0xe0802a};}catch(_0x153da2){_0x4a8374[_0x584572]=isUnauthorizedError(_0x153da2)?{'status':_0x573c06(0x1ef,0x189,_0x49db92._0x4344e7,_0x49db92._0x36a448),'message':getErrorMessage(_0x153da2)}:{'status':'error','message':getErrorMessage(_0x153da2)};}}function _0x3db2cc(_0x5cba7a,_0x1db243,_0x286a7d,_0x4b4d1f){return _0x42cde8(_0x5cba7a-_0x2488d3._0x272d1a,_0x4b4d1f- -_0x2488d3._0xcd098a,_0x286a7d-0xb9,_0x1db243);}return{'tools':_0x56f3f1,'servers':_0x4a8374,'serverTools':_0x2c0c55,async 'close'(){function _0x26e8f8(_0x5f208c,_0x12492b,_0xe7daa0,_0x39831c){return _0x573c06(_0xe7daa0,_0x12492b-0x25b,_0xe7daa0-0x142,_0x39831c-0x83);}function _0x20fbfb(_0x39cfb1,_0x414d67,_0x3d9c39,_0xcf1d27){return _0x573c06(_0x414d67,_0x3d9c39-0x29b,_0x3d9c39-0x1ab,_0xcf1d27-_0x44fea6._0x55c357);}await Promise[_0x26e8f8(_0x10a710._0x42b100,0x4af,_0x10a710._0xb302a4,0x4a7)](_0x22d046[_0x20fbfb(0x4bc,0x544,_0x10a710._0x1bb4f7,0x5eb)](_0x2c900e=>_0x2c900e[_0x20fbfb(0x2b4,0x273,0x3ad,0x508)]()));}};}function getCommand(_0x4fd5ba){const _0x5dc30a={_0x48d87f:0x2f3,_0x5d925f:0x323,_0x108ff8:0x339},_0x4f9ad3={_0x1a042c:0x11a,_0x1a0877:0xb3};function _0x4c9d59(_0x36aad,_0x26f620,_0x4f099a,_0x2ba2d1){return _0x48c1e5(_0x4f099a-0x188,_0x26f620-_0x4f9ad3._0x1a042c,_0x26f620,_0x2ba2d1-_0x4f9ad3._0x1a0877);}if(_0x4fd5ba&&typeof _0x4fd5ba==='object'&&!Array[_0x2b0cfc(0x16c,0x238,0x2f1,0x178)](_0x4fd5ba)&&typeof _0x4fd5ba[_0x4c9d59(0x3b5,0x55b,0x463,0x3c8)]===_0x2b0cfc(0x330,0x29c,0x362,_0x5dc30a._0x48d87f))return _0x4fd5ba[_0x4c9d59(_0x5dc30a._0x5d925f,0x44c,0x463,_0x5dc30a._0x108ff8)];function _0x2b0cfc(_0x2d7600,_0x2b0845,_0x25adcd,_0x53bb69){return _0x42cde8(_0x2d7600-0x1c8,_0x53bb69-0x19c,_0x25adcd-0x6b,_0x25adcd);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x42cde8(-0x241,-0xcf,-0x249,-0x1c),'docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x48c1e5(0x233,0x1f6,0x362,0x169),_0x42cde8(-0x110,-0x29,-0xa5,0x23),_0x42cde8(-0x29,0x8c,0x22,0x1a7),'src/formats/message-format.ts',_0x48c1e5(0x414,0x505,0x449,0x580),_0x48c1e5(0x41b,0x587,0x30a,0x3e8),_0x48c1e5(0x2d3,0x39e,0x3cc,0x161),_0x42cde8(-0x1a3,-0xa9,-0x110,0xb5),_0x48c1e5(0x1f0,0x301,0x242,0x319),'src/agent/turn-engine.ts',_0x48c1e5(0x3e2,0x44c,0x4e3,0x3ec),_0x42cde8(0x14f,0x6e,0x6f,0x9),_0x42cde8(0x30,0xb1,-0xe,0x17f),_0x48c1e5(0x24d,0x290,0xf7,0x26c),_0x42cde8(0xbc,0x1d7,0xde,0x31a)][_0x42cde8(0x141,0x71,0xe0,-0x5)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x48c1e5(0x206,0x134,0xb8,0x2d4),'description':_0x42cde8(0x170,0x1a2,0x19d,0x15d),'input_schema':{'type':_0x42cde8(0xae,0x4e,0x1cb,0xbb),'properties':{'command':{'type':_0x42cde8(0x6a,0x157,-0x25,-0x10)}},'required':[_0x48c1e5(0x2db,0x228,0x2d4,0x18d)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x2a86fd){return{'output':_0x2a86fd,'structured':{'value':_0x2a86fd}};}function createUnknownToolResult(_0x3f79a7){const _0x513903={_0x524d39:0xfe,_0x21a860:0x35,_0x4282b0:0x1a,_0x39d775:0x4f},_0x439e68={_0x351fb5:0x19a,_0x1e1a0a:0x46},_0x4de4b0={_0x28234a:0x3f1,_0x67d4ec:0x11f,_0x595de1:0x181};function _0x38916a(_0x364614,_0x403fd5,_0x77af59,_0x18aeda){return _0x48c1e5(_0x364614- -_0x4de4b0._0x28234a,_0x403fd5-_0x4de4b0._0x67d4ec,_0x77af59,_0x18aeda-_0x4de4b0._0x595de1);}function _0x4c2282(_0x228221,_0x534ed0,_0x531f50,_0x3357d9){return _0x42cde8(_0x228221-_0x439e68._0x351fb5,_0x228221-_0x439e68._0x1e1a0a,_0x531f50-0x9e,_0x531f50);}return{'callId':_0x3f79a7['id'],'toolName':_0x3f79a7['name'],'status':_0x4c2282(_0x513903._0x524d39,-_0x513903._0x21a860,_0x513903._0x4282b0,0x7f),'output':_0x38916a(-0xc,_0x513903._0x39d775,-0xac,-0x2)+_0x3f79a7['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0xa9e49e,_0x26d2e5){const _0x3275b2={_0x1de869:0x67,_0x7e13c:0x8b,_0x35c39b:0x99};function _0x1d5b87(_0x12ba84,_0xc5a96c,_0x4b174a,_0x4fff9f){return _0x42cde8(_0x12ba84-0x8b,_0xc5a96c- -0xe1,_0x4b174a-0x42,_0x4fff9f);}return{'callId':_0xa9e49e['id'],'toolName':_0xa9e49e['name'],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0xa9e49e[_0x1d5b87(_0x3275b2._0x1de869,-_0x3275b2._0x7e13c,-0xdc,-_0x3275b2._0x35c39b)]),'exitCode':0x0},'chunks':[_0x26d2e5],'meta':createMeta()};}function createMockToolRuntime(){const _0x5cf0a7=async(_0x4b6646,_0x51a2cd)=>{function _0x3430b4(_0x3b48e2,_0x373557,_0x7b299d,_0x15ac65){return _0x59f9(_0x15ac65-0x203,_0x3b48e2);}if(_0x4b6646[_0x3430b4(0x339,0x2f6,0x3ac,0x39f)]!=='Bash')return createUnknownToolResult(_0x4b6646);const _0x76e3c8=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x4b6646,_0x76e3c8);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x53a57f,_0x5549c9){function _0x5f0d65(_0x20cf0c,_0x46616f,_0x1a1548,_0x284d24){return _0x59f9(_0x1a1548-0xd2,_0x20cf0c);}return await Promise['all'](_0x53a57f[_0x5f0d65(0x54d,0x39c,0x466,0x3a5)](async _0x22fa3e=>{return await _0x5cf0a7(_0x22fa3e,_0x5549c9);}));},async 'execute'(_0x5b390b,_0x30c782){return await _0x5cf0a7(_0x5b390b,_0x30c782);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x2ae923={_0x3c8361:0x332};delegatedRunCounter+=0x1;function _0x2e63f3(_0x2aad0b,_0x497d83,_0x1774df,_0x384802){return _0x48c1e5(_0x2aad0b- -0x3a8,_0x497d83-0x126,_0x384802,_0x384802-0xca);}return _0x2e63f3(-0x1c7,-_0x2ae923._0x3c8361,-0x24e,-0x345)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x383a2e,_0x4f6a43){const _0x511dba={_0x58daf6:0x6f},_0x164fe0={_0x5e4104:0x18b};function _0x1bb75f(_0x3b0686,_0x36eb62,_0x460548,_0x360544){return _0x48c1e5(_0x460548- -0x280,_0x36eb62-0x18,_0x36eb62,_0x360544-_0x164fe0._0x5e4104);}return typeof _0x383a2e===_0x1bb75f(-_0x511dba._0x58daf6,0x139,0x8b,-0x59)?await _0x383a2e(_0x4f6a43):_0x383a2e;}function getDelegatedAgentDefinition(_0x5426a6,_0x501ae7){const _0xe94e27={_0x2efa66:0x373,_0x4d0c9d:0x543},_0x29fe61={_0x3b17ec:0x1a0};function _0x330a38(_0x5ed23e,_0x201c4c,_0xea480c,_0xb75ef){return _0x48c1e5(_0x201c4c-_0x29fe61._0x3b17ec,_0x201c4c-0x179,_0xea480c,_0xb75ef-0x1a5);}return _0x5426a6[_0x330a38(_0xe94e27._0x2efa66,0x3db,_0xe94e27._0x4d0c9d,0x42d)]?.[_0x501ae7];}function createRunSummary(_0x38fea5){const _0x2c0590={_0x1b8cd3:0x186,_0xd48fd2:0x2e7,_0x293f3e:0x2c9,_0x16996e:0x286,_0x26bb70:0x294,_0x32cfa9:0x13e,_0x4584da:0x1c4,_0x16ac5a:0x2e6,_0x40480d:0x3aa,_0x4d116f:0x244,_0x1ddf5e:0x409,_0x2991cb:0x392,_0x28477a:0x3e9,_0x41846c:0x3a1,_0x2a3d62:0x2b8,_0x4ef2c1:0x229,_0x12b122:0x17c,_0x2ea7bd:0x2e3,_0x5baa43:0x185,_0x2b8b92:0x459,_0x778c79:0x3f9,_0x5e60c7:0x3bd,_0x5ecd9b:0x3ea,_0x9c65f9:0x49c},_0x3a4607={_0x2ba36e:0x1d1,_0x39967d:0x2b};function _0x4c2c3e(_0x129a17,_0x3a76a3,_0x57ba7c,_0x140594){return _0x48c1e5(_0x3a76a3-0x33,_0x3a76a3-0x176,_0x57ba7c,_0x140594-0x7c);}function _0x3331a9(_0x36da3f,_0xd2eeca,_0x279bfb,_0x78329c){return _0x42cde8(_0x36da3f-_0x3a4607._0x2ba36e,_0x279bfb-0x244,_0x279bfb-_0x3a4607._0x39967d,_0x78329c);}return{'runId':_0x38fea5[_0x4c2c3e(_0x2c0590._0x1b8cd3,_0x2c0590._0xd48fd2,_0x2c0590._0x293f3e,_0x2c0590._0x16996e)],'agentId':_0x38fea5[_0x4c2c3e(0x119,_0x2c0590._0x26bb70,_0x2c0590._0x32cfa9,_0x2c0590._0x4584da)],'sessionId':_0x38fea5['sessionId'],'status':_0x38fea5[_0x4c2c3e(_0x2c0590._0x16ac5a,_0x2c0590._0x40480d,_0x2c0590._0x4d116f,_0x2c0590._0x1ddf5e)],'parentSessionId':_0x38fea5['parentSessionId'],..._0x38fea5[_0x4c2c3e(_0x2c0590._0x2991cb,_0x2c0590._0x28477a,0x50a,0x458)]!==void 0x0?{'originToolCallId':_0x38fea5[_0x4c2c3e(0x3c3,_0x2c0590._0x28477a,_0x2c0590._0x41846c,0x3fc)]}:{},..._0x38fea5[_0x3331a9(_0x2c0590._0x2a3d62,0x298,_0x2c0590._0x4ef2c1,_0x2c0590._0x12b122)]!==void 0x0?{'errorMessage':_0x38fea5[_0x4c2c3e(0x325,_0x2c0590._0x2ea7bd,0x233,_0x2c0590._0x5baa43)]}:{},..._0x38fea5['result']?.[_0x3331a9(_0x2c0590._0x2b8b92,0x3b8,_0x2c0590._0x778c79,_0x2c0590._0x5e60c7)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x38fea5[_0x3331a9(0x467,0x419,_0x2c0590._0x5ecd9b,0x37c)][_0x3331a9(0x317,0x4d7,_0x2c0590._0x778c79,_0x2c0590._0x9c65f9)])}:{}};}function createRunSummaryOutput(_0x3b5dd4,_0x163f0d){const _0x2ce920={_0x274113:0x31,_0x2162ca:0x59,_0x3e4c6a:0x11f,_0x55c326:0x7c,_0x44c447:0xbe,_0x1e55e4:0x10b},_0x3192df={_0x1f39db:0x1a3,_0x357474:0xe5},_0x2fd50d={_0x4f5d28:0x5d};function _0x3f2c51(_0x327342,_0x4e2aee,_0x124032,_0x2c08c8){return _0x42cde8(_0x327342-0x30,_0x2c08c8- -_0x2fd50d._0x4f5d28,_0x124032-0xdb,_0x4e2aee);}const _0xfc12ae=createRunSummary(_0x3b5dd4);function _0x3a1618(_0x5f1c35,_0xba0d6f,_0x375c88,_0x58aaee){return _0x48c1e5(_0x5f1c35-0x19a,_0xba0d6f-_0x3192df._0x1f39db,_0x58aaee,_0x58aaee-_0x3192df._0x357474);}const _0x2f273e=_0xfc12ae[_0x3f2c51(0x13f,-0x82,-0xf7,-_0x2ce920._0x274113)];return createToolOutput(typeof _0x2f273e===_0x3f2c51(-_0x2ce920._0x2162ca,_0x2ce920._0x3e4c6a,0x21b,0xfa)&&_0x2f273e[_0x3f2c51(-_0x2ce920._0x55c326,-0x1d9,-_0x2ce920._0x44c447,-_0x2ce920._0x1e55e4)]>0x0?_0x2f273e:_0x163f0d,_0xfc12ae);}function getRunTerminalErrorMessage(_0x2104f9){const _0x518469={_0x19d48b:0x428,_0x4aef5f:0x405,_0x535699:0x4a4,_0x142e83:0x54b,_0x221b66:0x43d,_0x582c4f:0x32a,_0x59e9b7:0x4ad,_0x4906fc:0x4aa,_0x37a4b0:0x5d2,_0x2c7ca4:0x4fc,_0x16a8bb:0x610},_0x40db43={_0x4a1d13:0x11c},_0x2a6e48={_0x4ae5ea:0x11a,_0x4feeff:0x3e1,_0x3d1ddd:0x17f},_0x1c4ec6=_0x2104f9?.[_0x4268f9(0x384,0x36c,_0x518469._0x19d48b,0x320)]['toolResults']['at'](-0x1);function _0x4a3af2(_0x2385cf,_0x505e16,_0x50c292,_0x2c8d7c){return _0x42cde8(_0x2385cf-_0x2a6e48._0x4ae5ea,_0x50c292-_0x2a6e48._0x4feeff,_0x50c292-_0x2a6e48._0x3d1ddd,_0x2c8d7c);}if(_0x1c4ec6?.[_0x4268f9(0x45e,0x4e8,0x39c,0x39b)]==='error'&&_0x1c4ec6[_0x4268f9(_0x518469._0x4aef5f,0x49c,_0x518469._0x535699,0x4cf)][_0x4a3af2(0x355,_0x518469._0x142e83,0x4b3,_0x518469._0x221b66)]()[_0x4a3af2(_0x518469._0x582c4f,_0x518469._0x59e9b7,0x333,_0x518469._0x4906fc)]>0x0)return _0x1c4ec6[_0x4a3af2(_0x518469._0x37a4b0,_0x518469._0x2c7ca4,0x595,_0x518469._0x16a8bb)];function _0x4268f9(_0x50766e,_0x47de59,_0x40cba8,_0x375d70){return _0x48c1e5(_0x40cba8-0x25,_0x47de59-_0x40db43._0x4a1d13,_0x47de59,_0x375d70-0x156);}return void 0x0;}function formatAbortedRunMessage(_0x19521e,_0x5e0d9e){const _0x3fde86={_0x2acaef:0x141,_0x1e27d9:0xc,_0x59734c:0xc8,_0x585a94:0x2b5,_0x1d24e4:0x227,_0x3d0189:0x39c,_0x4d1608:0x84,_0x36c205:0x1c2},_0xeea768={_0x26220c:0x48},_0x1b0d91={_0x4a152c:0xc0,_0x264809:0x1bc},_0x362690=_0x23792d(0xd3,_0x3fde86._0x2acaef,-_0x3fde86._0x1e27d9,_0x3fde86._0x59734c)+_0x19521e+_0x23792d(_0x3fde86._0x585a94,0xde,_0x3fde86._0x1d24e4,_0x3fde86._0x3d0189);if(!_0x5e0d9e||_0x5e0d9e['trim']()[_0x23792d(0xd5,-0x2b,-0x8,-_0x3fde86._0x4d1608)]===0x0||_0x5e0d9e===_0x362690)return _0x362690;function _0x4840b3(_0x19d416,_0xf01e69,_0x3219e6,_0x4104eb){return _0x42cde8(_0x19d416-_0x1b0d91._0x4a152c,_0x19d416-_0x1b0d91._0x264809,_0x3219e6-0x18f,_0x3219e6);}function _0x23792d(_0xc4f6f5,_0x5c6ca8,_0x1978a5,_0x35dfb1){return _0x48c1e5(_0x1978a5- -0x225,_0x5c6ca8-_0xeea768._0x26220c,_0x35dfb1,_0x35dfb1-0x1a1);}return _0x362690+_0x4840b3(0x102,0x66,0x13b,_0x3fde86._0x36c205)+_0x5e0d9e;}function createAssignTaskTool(_0x9a1561){const _0x5c0fae={_0x367253:0x63,_0x44d1f6:0x177,_0x51ffe7:0x220,_0x24c775:0xbf,_0x69aeaa:0x2,_0x4b2212:0xbf,_0x20f2d3:0xc3,_0x57c772:0x16c,_0x4e3e02:0x1d9,_0x11e726:0x28a,_0x140803:0x2dd,_0x229654:0x2cf},_0x554388={_0xa93473:0x129,_0x37a91:0x261,_0xdd40e2:0xf9,_0x107727:0x155,_0x186706:0x204,_0x27c78e:0x470,_0x4fada6:0x3ee,_0x3b1da4:0x4fd,_0x51ffc0:0x3ee,_0x22eef2:0x21e,_0x3327e4:0x29e,_0x39c99a:0x1ae,_0x433a62:0x122,_0x364f87:0x261,_0x5a091a:0x28a,_0x4f351f:0x2ba,_0x535b95:0x31b,_0x1fe841:0x167,_0x199301:0x149,_0x4dea44:0x101,_0x240365:0x52c,_0x2838bb:0x3ee,_0x4ab8bd:0x350,_0x58b54f:0x3ee,_0x57bcab:0x1e7,_0x1c097c:0x49,_0x5e2c17:0x404,_0xd4d8d1:0x310,_0x1c3005:0x1f0,_0x1ce2f3:0x2a7,_0x4ab12b:0x214,_0xeb0824:0x78,_0x52dbb8:0x137,_0x2dd184:0x65,_0x24ce7d:0x3a8,_0x22520e:0x4ab,_0x5bbc0b:0x137,_0x48304e:0x23b,_0x188c5b:0x2b3,_0x42754a:0x2e8,_0x1e5c32:0x156,_0x4a1f3f:0x416,_0x1fc434:0x207,_0x27d402:0x377,_0x261d71:0x26f,_0x4247b8:0x36c,_0x17cfb4:0x3db,_0x24b680:0x218,_0x5bea98:0x259,_0x1b3409:0x2b4,_0x2402a1:0x1cc,_0x7ff82e:0x2d2,_0x2d08d1:0x345,_0x4b2fd2:0x313,_0x3fe37b:0x46c,_0x7a1589:0x3ad,_0x14e76b:0x499,_0x5bfb11:0x4f5,_0x3c2577:0x206,_0x3f7b92:0x20d,_0x5763a1:0x124,_0x4e2658:0x1bb,_0x52e430:0x1f0,_0x331003:0x56a,_0x55e741:0x372,_0x4626d7:0x3ad,_0x8a0e3d:0x35f,_0x53017f:0x18f,_0x1f7c91:0x292,_0x4e44ca:0x1ff,_0x370593:0x448,_0x4697dc:0x450,_0x1f935c:0x3e0,_0x35fa43:0x20e,_0x4758f2:0x3c1},_0x46f96f={_0x44e94c:0x6e,_0x4cd1c0:0x4a,_0x236724:0x137,_0x251da0:0x105,_0x1577ea:0x2a4,_0x52f691:0x2d3,_0x2cb3fe:0x26,_0x5b9d2d:0xd7,_0x3355be:0x118},_0x3d3a0b={_0x3b2d78:0x1a2,_0x214245:0xbc},_0x51bb45={_0x5a224e:0x1b0,_0x3002ce:0x136};function _0x50b7e4(_0x188e91,_0x3b5107,_0x353289,_0x5135a1){return _0x48c1e5(_0x5135a1- -_0x51bb45._0x5a224e,_0x3b5107-_0x51bb45._0x3002ce,_0x3b5107,_0x5135a1-0x18a);}function _0x2d4526(_0x5ad9e3,_0x401d1b,_0x2bec36,_0x59de74){return _0x48c1e5(_0x401d1b- -_0x3d3a0b._0x3b2d78,_0x401d1b-0x1b3,_0x2bec36,_0x59de74-_0x3d3a0b._0x214245);}return defineTool({'name':_0x50b7e4(_0x5c0fae._0x367253,-0x63,-0x29,0x5a),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion','inputSchema':{'type':_0x2d4526(0x62,_0x5c0fae._0x44d1f6,_0x5c0fae._0x51ffe7,0x26e),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':'string'},'task':{'type':'string'}},'required':[_0x2d4526(0x1c0,_0x5c0fae._0x24c775,-_0x5c0fae._0x69aeaa,_0x5c0fae._0x4b2212),_0x50b7e4(_0x5c0fae._0x20f2d3,_0x5c0fae._0x57c772,0x16e,_0x5c0fae._0x4e3e02),_0x2d4526(0x11d,_0x5c0fae._0x11e726,_0x5c0fae._0x140803,_0x5c0fae._0x229654)]},async *'execute'(_0x5c680f,_0x4b5e78){const _0x5d34b9=createDelegatedRunId(),_0x3eb40f={'agentId':_0x5c680f[_0x1cc630(_0x554388._0xa93473,0x2b2,_0x554388._0x37a91,_0x554388._0xdd40e2)],'parentSessionId':_0x4b5e78[_0x1cc630(0x129,_0x554388._0x107727,0x1de,_0x554388._0x186706)],'runId':_0x5d34b9,..._0x4b5e78[_0x373806(_0x554388._0x27c78e,_0x554388._0x4fada6,0x319,0x2e9)]!==void 0x0?{'toolCallId':_0x4b5e78[_0x373806(_0x554388._0x3b1da4,_0x554388._0x51ffc0,0x401,0x4d8)]}:{}},_0x3cdd97=getDelegatedAgentDefinition(_0x9a1561,_0x5c680f[_0x1cc630(_0x554388._0x22eef2,0x328,0x261,0x23f)]);if(!_0x3cdd97)throw new ToolExecutionError(_0x1cc630(0x216,0x332,0x2ff,_0x554388._0x3327e4)+_0x5c680f['agentId'],{'agentId':_0x5c680f[_0x1cc630(_0x554388._0x39c99a,_0x554388._0x433a62,_0x554388._0x364f87,0x3df)]});function _0x1cc630(_0x3ecfcd,_0x1ce7ed,_0x17d0f8,_0x4aa9c7){return _0x2d4526(_0x3ecfcd-0xbc,_0x17d0f8-0x1a2,_0x4aa9c7,_0x4aa9c7-0x150);}const _0x548813=new Agent(await resolveDelegatedAgentOptions(_0x3cdd97,_0x3eb40f));let _0x1b58d1={'runId':_0x5d34b9,'agentId':_0x5c680f[_0x373806(_0x554388._0x5a091a,0x19d,_0x554388._0x4f351f,_0x554388._0x535b95)],'sessionId':_0x548813['sessionId'],'status':_0x373806(0x24a,_0x554388._0x1fe841,_0x554388._0x199301,_0x554388._0x4dea44),'parentSessionId':_0x4b5e78['sessionId'],..._0x4b5e78[_0x373806(_0x554388._0x240365,_0x554388._0x2838bb,0x3c9,_0x554388._0x4ab8bd)]!==void 0x0?{'originToolCallId':_0x4b5e78[_0x373806(0x48f,_0x554388._0x58b54f,0x358,0x33d)]}:{}};const _0x3e39fd=new AbortController(),_0x42c4de=addAbortListener(_0x4b5e78['signal'],()=>{const _0x15b708={_0x47a1f5:0x379},_0x44954b={_0x54ad25:0xf3,_0x5f1060:0x4ce};function _0x3bdb46(_0x1232bd,_0x45ef6e,_0x5cf2be,_0x3ae703){return _0x1cc630(_0x1232bd-_0x44954b._0x54ad25,_0x45ef6e-0xe9,_0x3ae703- -_0x44954b._0x5f1060,_0x1232bd);}function _0x2c4eaf(_0x3b095e,_0x5c58ee,_0x5134d3,_0x791ac0){return _0x373806(_0x3b095e-0x46,_0x3b095e- -_0x15b708._0x47a1f5,_0x5134d3-0xd6,_0x5c58ee);}_0x3e39fd[_0x2c4eaf(-_0x46f96f._0x44e94c,_0x46f96f._0x4cd1c0,-_0x46f96f._0x236724,_0x46f96f._0x251da0)](_0x4b5e78[_0x3bdb46(-0x333,-_0x46f96f._0x1577ea,-0x160,-_0x46f96f._0x52f691)]?.[_0x2c4eaf(-_0x46f96f._0x2cb3fe,-0x3d,_0x46f96f._0x5b9d2d,_0x46f96f._0x3355be)]);});function _0x373806(_0x33f1cd,_0xb504f,_0x33bddd,_0x3d1654){return _0x2d4526(_0x33f1cd-0x64,_0xb504f-0xde,_0x3d1654,_0x3d1654-0x19a);}yield createToolOutput(_0x373806(_0x554388._0x57bcab,0x16d,0x1f9,_0x554388._0x1c097c)+_0x1b58d1[_0x1cc630(_0x554388._0x5e2c17,0x2a3,0x2b4,_0x554388._0xd4d8d1)]+'.',{'runId':_0x1b58d1[_0x1cc630(_0x554388._0x1c3005,_0x554388._0x1ce2f3,0x2b4,_0x554388._0x4ab12b)],'agentId':_0x1b58d1[_0x373806(0x2e5,0x19d,0x4c,0x2c3)],'sessionId':_0x1b58d1[_0x1cc630(_0x554388._0xeb0824,_0x554388._0x52dbb8,0x1de,_0x554388._0x2dd184)],'status':_0x1b58d1[_0x1cc630(_0x554388._0x24ce7d,_0x554388._0x3327e4,0x377,_0x554388._0x22520e)]});try{const _0xbc81a0=await _0x548813[_0x1cc630(0x359,0x353,0x447,0x2e1)](_0x5c680f['task'],{'streaming':!![],'signal':_0x3e39fd[_0x373806(0x1ed,_0x554388._0x5bbc0b,_0x554388._0x48304e,0x38)]});_0x1b58d1={..._0x1b58d1,'status':_0xbc81a0[_0x373806(0x171,_0x554388._0x188c5b,_0x554388._0x42754a,_0x554388._0x1e5c32)],'result':_0xbc81a0};if(_0xbc81a0[_0x1cc630(_0x554388._0x4a1f3f,_0x554388._0x1fc434,_0x554388._0x27d402,0x253)]!==_0x373806(0x379,_0x554388._0x261d71,_0x554388._0x4247b8,_0x554388._0x17cfb4)){const _0x4ba6a6=getRunTerminalErrorMessage(_0xbc81a0),_0xf5b43d=formatAbortedRunMessage(_0x1b58d1['runId'],_0x4ba6a6);throw new ToolExecutionError(_0xf5b43d,{...createRunSummary(_0x1b58d1),'aborted':!![],'errorMessage':_0xf5b43d});}return createRunSummaryOutput(_0x1b58d1,_0x1cc630(0x225,0x28d,0x219,_0x554388._0x24b680)+_0x1b58d1[_0x1cc630(_0x554388._0x5bea98,0x150,_0x554388._0x1b3409,_0x554388._0x2402a1)]+_0x1cc630(_0x554388._0x7ff82e,0x37e,_0x554388._0x2d08d1,0x460));}catch(_0x1282f5){if(_0x1282f5 instanceof ToolExecutionError)throw _0x1282f5;if(isAbortError(_0x1282f5)||_0x3e39fd['signal'][_0x373806(_0x554388._0x4b2fd2,0x369,0x34a,0x473)]||_0x4b5e78['signal']['aborted']){const _0xb01345=getRunTerminalErrorMessage(_0x1b58d1[_0x373806(_0x554388._0x3fe37b,_0x554388._0x7a1589,_0x554388._0x14e76b,_0x554388._0x5bfb11)])??(_0x1282f5 instanceof Error?_0x1282f5[_0x1cc630(_0x554388._0x3c2577,0x271,_0x554388._0x3f7b92,_0x554388._0x5763a1)]:String(_0x1282f5)),_0x8f3101=formatAbortedRunMessage(_0x1b58d1[_0x373806(_0x554388._0x4e2658,_0x554388._0x52e430,0x361,0xae)],_0xb01345);_0x1b58d1={..._0x1b58d1,'status':_0x1cc630(_0x554388._0x331003,0x478,0x42d,_0x554388._0x55e741),'errorMessage':_0x8f3101};throw new ToolExecutionError(_0x8f3101,{...createRunSummary(_0x1b58d1),'aborted':!![],'errorMessage':_0x8f3101});}const _0x587085=getRunTerminalErrorMessage(_0x1b58d1[_0x373806(0x22e,_0x554388._0x4626d7,0x253,_0x554388._0x8a0e3d)])??(_0x1282f5 instanceof Error?_0x1282f5[_0x373806(_0x554388._0x53017f,_0x554388._0x199301,0x71,_0x554388._0x1f7c91)]:String(_0x1282f5))??_0x373806(0x25,_0x554388._0x107727,0x116,_0x554388._0x4e44ca)+_0x1b58d1['runId']+_0x1cc630(_0x554388._0x370593,0x542,_0x554388._0x4697dc,0x539);_0x1b58d1={..._0x1b58d1,'status':_0x373806(_0x554388._0x1f935c,0x2fc,_0x554388._0x35fa43,_0x554388._0x4758f2),'errorMessage':_0x587085};throw new ToolExecutionError(_0x587085,{...createRunSummary(_0x1b58d1),'errorMessage':_0x587085});}finally{_0x42c4de();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x30b3d1){return[createAssignTaskTool(_0x30b3d1)];}import*as _0x2b779e from'path';function buildDescription2(_0x3e7182){const _0x1aa5b9={_0x314d22:0x46a,_0x3ae57d:0x47e,_0x1817d6:0x508,_0x3fd6c8:0x45e,_0x3dc49d:0x475,_0x525def:0x5dc,_0x2449f5:0x50c,_0xcc7b79:0x56a,_0x2876df:0x470,_0x2bbd69:0x510,_0x5a7c30:0x5f0,_0x421256:0x710,_0x50da39:0x7e1,_0x4369c2:0x6fd},_0x43a85a={_0x549179:0x26,_0x104f3f:0x3f0,_0xa1d761:0x55},_0x5585ca={_0x547bc2:0x1c8,_0x3874c0:0x50c,_0x37ed39:0x10a};if(_0x3e7182[_0x5e3ef3(_0x1aa5b9._0x314d22,_0x1aa5b9._0x3ae57d,_0x1aa5b9._0x1817d6,_0x1aa5b9._0x3fd6c8)]===0x0)return _0x2cd193(_0x1aa5b9._0x3dc49d,_0x1aa5b9._0x525def,_0x1aa5b9._0x2449f5,_0x1aa5b9._0xcc7b79);function _0x5e3ef3(_0x1005e8,_0x1c0e3c,_0x14535f,_0x2ac440){return _0x42cde8(_0x1005e8-_0x5585ca._0x547bc2,_0x2ac440-_0x5585ca._0x3874c0,_0x14535f-_0x5585ca._0x37ed39,_0x1005e8);}const _0x514548=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x5e3ef3(0x6f3,_0x1aa5b9._0x2876df,0x62e,0x5ee),'Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0x5e3ef3(0x683,_0x1aa5b9._0x2bbd69,_0x1aa5b9._0x5a7c30,0x62c),..._0x3e7182[_0x5e3ef3(_0x1aa5b9._0x421256,0x678,_0x1aa5b9._0x50da39,_0x1aa5b9._0x4369c2)](_0x2a90ac=>'-\x20'+_0x2a90ac[_0x5e3ef3(0x44a,0x635,0x4ea,0x505)]+':\x20'+_0x2a90ac['description'])];function _0x2cd193(_0x465e32,_0x550760,_0x331b95,_0x154bfc){return _0x42cde8(_0x465e32-_0x43a85a._0x549179,_0x154bfc-_0x43a85a._0x104f3f,_0x331b95-_0x43a85a._0xa1d761,_0x465e32);}return _0x514548['join']('\x0a');}function createLoadSkillTool(_0x565513){const _0x44c10e={_0x514d0c:0x596,_0x154874:0x738,_0xb715a4:0x4f0,_0x51e923:0x5d4,_0x1bcd81:0x5ff,_0x2e3017:0x336,_0x55c16a:0x431,_0x2af1cd:0x3b2},_0x517fed={_0x395863:0x57f,_0x25628e:0x855,_0x46ff41:0x6fa,_0x45b5ea:0x28c,_0x121009:0x535,_0x59a231:0x55f,_0x43decc:0x74b,_0x198a88:0x808,_0x21e474:0x6a6,_0x4282b8:0x768,_0x1b0646:0x503,_0x530465:0x446,_0x3b7079:0x252,_0x3b99ed:0x296,_0x37029f:0x319,_0x5101cf:0x6ab,_0x43129b:0x696,_0x262a49:0x5c9,_0x5bb04a:0x698,_0xdc1470:0x58e,_0x4ee596:0x581,_0x41e946:0x5c7,_0x4f3521:0x1e5,_0x43502e:0x117,_0x3b7e7b:0x154,_0x25ae64:0x423,_0x2478d7:0x580,_0x2ce78b:0x4a6,_0x184739:0x3b8,_0x2df5cd:0x258,_0x50fe7a:0x629,_0x2b0832:0x72b,_0x5eb661:0x283,_0x5db02a:0x17f,_0x281237:0x4de,_0x1458c5:0x345},_0x1aaffc={_0x173fbc:0x138,_0x5589a4:0x2e},_0x4ef832={_0x1587b9:0x53a,_0x189f5d:0x1d9},_0x2728dc={_0x53f985:0x114,_0x47ae50:0x135},_0x3d125d=new Map(_0x565513[_0x3caf59(_0x44c10e._0x514d0c,0x5ba,_0x44c10e._0x154874,_0x44c10e._0xb715a4)][_0x2ce27c(0x514,0x4fb,_0x44c10e._0x51e923,0x4dc)](_0x470bd0=>[_0x470bd0[_0x3caf59(0x640,0x533,0x3d6,0x41e)],_0x470bd0]));function _0x2ce27c(_0x15eb61,_0x1ed2c4,_0xc5348,_0x18911e){return _0x42cde8(_0x15eb61-_0x2728dc._0x53f985,_0xc5348-0x3e3,_0xc5348-_0x2728dc._0x47ae50,_0x1ed2c4);}const _0xf59f16=buildDescription2(_0x565513['skills']);function _0x3caf59(_0x2662a6,_0x13e8d1,_0x270cca,_0x385e54){return _0x42cde8(_0x2662a6-0xce,_0x13e8d1-_0x4ef832._0x1587b9,_0x270cca-_0x4ef832._0x189f5d,_0x385e54);}return defineTool({'name':_0x3caf59(_0x44c10e._0x1bcd81,0x521,0x545,0x3a8),'description':_0xf59f16,'inputSchema':{'type':_0x2ce27c(0x2c0,_0x44c10e._0x2e3017,_0x44c10e._0x55c16a,0x2dc),'properties':{'name':{'type':_0x2ce27c(0x650,0x4ec,0x53a,0x4f0)}},'required':[_0x2ce27c(_0x44c10e._0x2af1cd,0x368,0x3dc,0x470)]},async *'execute'(_0x3e931b){const _0xf4fb6d={_0x517c59:0x165,_0x315396:0x159},_0x5405cc=_0x3d125d[_0x2b8f67(_0x517fed._0x395863,_0x517fed._0x25628e,_0x517fed._0x46ff41,0x5c1)](_0x3e931b[_0x281806(_0x517fed._0x45b5ea,0x283,0x11b,0x32b)]);if(!_0x5405cc){const _0x348dd7=Array[_0x2b8f67(_0x517fed._0x121009,0x342,0x464,_0x517fed._0x59a231)](_0x3d125d[_0x2b8f67(_0x517fed._0x43decc,_0x517fed._0x198a88,_0x517fed._0x21e474,_0x517fed._0x4282b8)]())['join'](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x3e931b['name']+_0x2b8f67(0x7b6,_0x517fed._0x1b0646,0x638,0x63b)+_0x348dd7,{'name':_0x3e931b[_0x2b8f67(_0x517fed._0x530465,0x479,0x561,0x4f8)]});}const _0x1bd1da=await _0x565513[_0x281806(_0x517fed._0x3b7079,_0x517fed._0x3b99ed,0x351,_0x517fed._0x37029f)](_0x5405cc);function _0x281806(_0x8bb550,_0x34c81d,_0x26457c,_0x3c1765){return _0x2ce27c(_0x8bb550-_0xf4fb6d._0x517c59,_0x26457c,_0x34c81d- -_0xf4fb6d._0x315396,_0x3c1765-0x10d);}function _0x2b8f67(_0x166e50,_0x523e81,_0x140553,_0x2842ed){return _0x3caf59(_0x166e50-_0x1aaffc._0x173fbc,_0x140553-_0x1aaffc._0x5589a4,_0x140553-0x1ec,_0x523e81);}const _0x244658=_0x5405cc[_0x2b8f67(_0x517fed._0x5101cf,0x634,_0x517fed._0x43129b,_0x517fed._0x262a49)]['directory']??_0x2b779e[_0x2b8f67(0x76c,0x561,_0x517fed._0x5bb04a,_0x517fed._0xdc1470)](_0x5405cc['source'][_0x2b8f67(0x59d,0x76a,0x631,_0x517fed._0x4ee596)]),_0x3b2fa4=[_0x2b8f67(0x4a5,0x67d,_0x517fed._0x41e946,0x596)+_0x1bd1da['name'],'',_0x1bd1da[_0x281806(0x89,_0x517fed._0x4f3521,0x166,0xd1)],'',_0x281806(_0x517fed._0x43502e,0x1f5,0x270,_0x517fed._0x3b7e7b),_0x281806(0x3e0,_0x517fed._0x25ae64,_0x517fed._0x2478d7,_0x517fed._0x2ce78b)+_0x5405cc[_0x281806(0x26d,_0x517fed._0x184739,_0x517fed._0x2df5cd,0x35d)]['path'],'Base\x20directory:\x20'+_0x244658][_0x2b8f67(0x536,_0x517fed._0x50fe7a,0x5d9,_0x517fed._0x2b0832)]('\x0a');return yield createToolOutput(_0x3b2fa4,{'id':_0x1bd1da['id'],'name':_0x1bd1da[_0x281806(0x3b9,_0x517fed._0x5eb661,_0x517fed._0x5db02a,0x139)],'path':_0x5405cc[_0x281806(_0x517fed._0x281237,0x3b8,0x46c,0x38a)][_0x281806(0x431,0x353,_0x517fed._0x1458c5,0x3e7)],'baseDirectory':_0x244658}),void 0x0;}});}var TODO_STATUSES=new Set([_0x42cde8(-0xef,-0x47,-0x11b,-0x85),_0x48c1e5(0x28c,0x2aa,0x346,0x350),_0x42cde8(-0xad,0x68,-0x103,0x1c3)]),TODO_PRIORITIES=new Set([_0x48c1e5(0x25b,0x251,0x258,0x2b9),'medium','low']);function isTodoStatus(_0x3ebfce){const _0x3a5d9c={_0x55c2ee:0x291,_0x46264c:0x3f5,_0x539669:0x4fa,_0x2cbc59:0x3de,_0x40735c:0x173,_0x1cee14:0x84},_0xd43458={_0x32fcb4:0x2d,_0x27594c:0x43,_0x17c642:0xf},_0x5d1257={_0x57b968:0xec,_0x51486d:0xcc};function _0x23a7ef(_0x3f80b7,_0x281396,_0x1722bc,_0x3fcfc0){return _0x42cde8(_0x3f80b7-_0x5d1257._0x57b968,_0x1722bc- -_0x5d1257._0x51486d,_0x1722bc-0x185,_0x281396);}function _0x23978d(_0x4e7a95,_0x549c0a,_0x2d7959,_0x2a887d){return _0x48c1e5(_0x549c0a- -_0xd43458._0x32fcb4,_0x549c0a-_0xd43458._0x27594c,_0x2d7959,_0x2a887d-_0xd43458._0x17c642);}return typeof _0x3ebfce===_0x23978d(_0x3a5d9c._0x55c2ee,_0x3a5d9c._0x46264c,_0x3a5d9c._0x539669,_0x3a5d9c._0x2cbc59)&&TODO_STATUSES[_0x23a7ef(_0x3a5d9c._0x40735c,0xb6,0xe6,-_0x3a5d9c._0x1cee14)](_0x3ebfce);}function isTodoPriority(_0x2d9ee1){const _0x37e774={_0x511820:0x683,_0x2444ef:0x748,_0xa08d9f:0x631,_0x1a7266:0x78e,_0x46b202:0x209,_0x197761:0x1b8,_0x1c027d:0x109,_0x4a3607:0x1db},_0x233273={_0x50f6ab:0x44,_0x651649:0x123},_0x414f60={_0x108c00:0x2c5};function _0x4ae1d6(_0x4e1c1c,_0x3b947e,_0x454cd4,_0x4b7a58){return _0x48c1e5(_0x3b947e- -_0x414f60._0x108c00,_0x3b947e-0xd7,_0x4b7a58,_0x4b7a58-0x9f);}function _0x7c9fb8(_0x450ab1,_0x3249e5,_0x322813,_0x2ca302){return _0x42cde8(_0x450ab1-_0x233273._0x50f6ab,_0x450ab1-0x52c,_0x322813-_0x233273._0x651649,_0x322813);}return typeof _0x2d9ee1===_0x7c9fb8(_0x37e774._0x511820,_0x37e774._0x2444ef,_0x37e774._0xa08d9f,_0x37e774._0x1a7266)&&TODO_PRIORITIES[_0x4ae1d6(_0x37e774._0x46b202,_0x37e774._0x197761,_0x37e774._0x1c027d,_0x37e774._0x4a3607)](_0x2d9ee1);}var TodoStore=class{[_0x48c1e5(0x428,0x3d5,0x42d,0x4e5)]=new Map();[_0x48c1e5(0x443,0x307,0x452,0x365)](_0x96d3d7){const _0x286413={_0x4186e7:0x603,_0x21d3fd:0x589},_0x1f30b7={_0x39c968:0x1b};function _0x1c673c(_0x52b967,_0x548d92,_0x1dac30,_0x1586b9){return _0x42cde8(_0x52b967-_0x1f30b7._0x39c968,_0x548d92-0x44c,_0x1dac30-0xff,_0x1586b9);}return this[_0x1c673c(0x48c,0x5a9,_0x286413._0x4186e7,_0x286413._0x21d3fd)]['get'](_0x96d3d7)??[];}[_0x42cde8(0x161,0x116,0x272,0x74)](_0x2fe35b,_0x94d983){const _0x41e472={_0x2034f6:0x5c9,_0x17417b:0x6b0,_0x173b4d:0x5f9,_0x1aed43:0x5ab,_0x55fcde:0x444,_0x1d6099:0x5a7},_0x3e737a={_0x4f7eee:0x4d2,_0x26cdd4:0x54},_0x21f13a={_0x1fd5b1:0x1fc};function _0x3eea4a(_0x56996a,_0xceba48,_0x1a7980,_0x44cbc7){return _0x48c1e5(_0x44cbc7-_0x21f13a._0x1fd5b1,_0xceba48-0x11e,_0x1a7980,_0x44cbc7-0x5f);}function _0x14e514(_0x25c097,_0x2de812,_0x470a98,_0x50e025){return _0x42cde8(_0x25c097-0x1a9,_0x2de812-_0x3e737a._0x4f7eee,_0x470a98-_0x3e737a._0x26cdd4,_0x25c097);}this[_0x3eea4a(0x5a7,_0x41e472._0x2034f6,_0x41e472._0x17417b,0x624)][_0x14e514(_0x41e472._0x173b4d,_0x41e472._0x1aed43,_0x41e472._0x55fcde,_0x41e472._0x1d6099)](_0x2fe35b,_0x94d983);}['getStats'](_0x1edecc){const _0x1b2b4f={_0x5a181c:0x1ee,_0x5f0968:0x23b,_0x5d8f96:0x1b2,_0x48b80e:0x2bd,_0x33f9ec:0xce,_0x325ecb:0x42,_0x5adc8b:0x25,_0x4d5a58:0x11f,_0x2921d8:0x5e7,_0xdd89a2:0x42a,_0x17f06c:0x3cf,_0x31960e:0x2bf,_0x375a78:0x25d,_0x22444e:0x3d3},_0x2fe8b5={_0x275ee7:0x22,_0x54ad5f:0x5},_0x463990={_0x735571:0xa0,_0x3484c3:0x108,_0x1bf46a:0x93},_0x1dfb01=this[_0x30ba4a(0x1a4,0x13f,0x19a,0x25d)](_0x1edecc);function _0x24b696(_0x8b5625,_0x3bcce9,_0x11a9a7,_0x372302){return _0x48c1e5(_0x372302-_0x463990._0x735571,_0x3bcce9-_0x463990._0x3484c3,_0x3bcce9,_0x372302-_0x463990._0x1bf46a);}const _0x16f9b2={'total':_0x1dfb01[_0x24b696(_0x1b2b4f._0x5a181c,_0x1b2b4f._0x5f0968,_0x1b2b4f._0x5d8f96,_0x1b2b4f._0x48b80e)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x30ba4a(_0x8f2e79,_0x10db75,_0x163fee,_0x5a2527){return _0x42cde8(_0x8f2e79-0xf4,_0x163fee-_0x2fe8b5._0x275ee7,_0x163fee-_0x2fe8b5._0x54ad5f,_0x8f2e79);}for(const _0x28ec57 of _0x1dfb01){if(_0x28ec57[_0x30ba4a(0xcb,0xf0,_0x1b2b4f._0x33f9ec,0xae)]===_0x30ba4a(0x114,0x13f,-0x25,-0xc4))_0x16f9b2[_0x30ba4a(0xed,-_0x1b2b4f._0x325ecb,-_0x1b2b4f._0x5adc8b,_0x1b2b4f._0x4d5a58)]+=0x1;else{if(_0x28ec57[_0x24b696(0x2ea,0x547,0x4cf,0x417)]==='in_progress')_0x16f9b2[_0x24b696(_0x1b2b4f._0x2921d8,_0x1b2b4f._0xdd89a2,_0x1b2b4f._0x17f06c,0x549)]+=0x1;else _0x16f9b2[_0x24b696(_0x1b2b4f._0x31960e,_0x1b2b4f._0x375a78,0x2f3,_0x1b2b4f._0x22444e)]+=0x1;}}return _0x16f9b2;}};function validateTodos(_0x5ec01f){const _0x6d43df={_0x5288d0:0x13b,_0x4cb1de:0xf4,_0x1ef5cc:0x12c,_0x5d5069:0x3c3,_0x279bad:0x392,_0x2258f3:0x62,_0x31be1e:0x91,_0x35b279:0x15d,_0x37497d:0x1c9,_0x1ea688:0x21,_0x55c9d1:0xbd,_0x45309f:0x27,_0x1351b6:0x1d1,_0x3292fc:0x171,_0x413159:0x94,_0x3cd265:0xbd,_0xfed19e:0x142,_0x1fb9a8:0x18f,_0x12ba25:0x49,_0x491d58:0x15f,_0x3460a4:0x19,_0x44c3a9:0xd0,_0x49c226:0x59,_0x59615d:0x83,_0x132638:0x478,_0x22fbea:0x36f,_0x308153:0x1f,_0xca31da:0x134,_0x1521de:0xc0,_0x5d0d71:0x5be,_0x2c2443:0x344,_0xe26290:0x4a5,_0x20c6d5:0x30d,_0x548703:0x321,_0x53607c:0x36c,_0x5641a6:0x250,_0x1aafd9:0x9c,_0x53f695:0x131,_0x140a3c:0x12b,_0x322a97:0x51c,_0x387983:0x494,_0x561577:0x470,_0x2c7413:0x593,_0x112d66:0x41a,_0x3768c1:0x477,_0x42dacd:0x70,_0x19fded:0x8f,_0x3ca6aa:0x3c7,_0x250aa4:0x5f6,_0xb3d800:0x446,_0x2a5c36:0x593,_0x384454:0x6ca,_0x3ff4cd:0x8a,_0x209c54:0xdc,_0xc7386b:0x2a9,_0x431378:0x87,_0x1dd232:0x19e,_0x4ce031:0x4d7,_0x50160d:0x3e,_0x58d17c:0x14d,_0xd0557b:0x97,_0x24d3ec:0x3c3,_0x3a84e6:0x28c,_0x4528b5:0x33b,_0x1bd8e7:0x45c,_0xbfe83:0x551,_0x89b00d:0x4c4},_0x401917={_0x4922db:0x174},_0x5d6dd4={_0x2045eb:0x3e9};function _0x59b49c(_0x2a30f2,_0xd19f8f,_0x5f3575,_0x3315e7){return _0x42cde8(_0x2a30f2-0xeb,_0xd19f8f-_0x5d6dd4._0x2045eb,_0x5f3575-0x163,_0x5f3575);}if(!Array[_0x114202(-_0x6d43df._0x5288d0,-_0x6d43df._0x4cb1de,-_0x6d43df._0x1ef5cc,-0xbb)](_0x5ec01f[_0x59b49c(0x2e8,_0x6d43df._0x5d5069,_0x6d43df._0x279bad,0x2ef)])||_0x5ec01f[_0x114202(_0x6d43df._0x2258f3,0x41,-_0x6d43df._0x31be1e,-0xbd)][_0x59b49c(0x4b2,0x33b,0x49e,0x3a2)]===0x0)throw new ToolExecutionError(_0x114202(-0x274,-0x92,-0x45,-_0x6d43df._0x35b279),{'error':'invalid_todos'});for(let _0x2c79e9=0x0;_0x2c79e9<_0x5ec01f[_0x114202(-_0x6d43df._0x37497d,-_0x6d43df._0x1ea688,-0x19c,-_0x6d43df._0x55c9d1)][_0x114202(-_0x6d43df._0x45309f,-_0x6d43df._0x1351b6,-0x293,-0x145)];_0x2c79e9+=0x1){const _0x53e5eb=_0x5ec01f[_0x114202(-_0x6d43df._0x3292fc,0x44,_0x6d43df._0x413159,-_0x6d43df._0x3cd265)][_0x2c79e9];if(!_0x53e5eb||typeof _0x53e5eb!==_0x114202(-0x3a,-_0x6d43df._0xfed19e,-_0x6d43df._0x1fb9a8,-_0x6d43df._0x12ba25))throw new ToolExecutionError(_0x114202(0x7b,0x2b,_0x6d43df._0x491d58,0x113)+(_0x2c79e9+0x1)+_0x114202(-_0x6d43df._0x3460a4,-_0x6d43df._0x44c3a9,-_0x6d43df._0x49c226,-_0x6d43df._0x59615d),{'error':_0x59b49c(_0x6d43df._0x132638,_0x6d43df._0x22fbea,0x3b9,0x307)});if(typeof _0x53e5eb['id']!==_0x114202(-_0x6d43df._0x308153,0x100,_0x6d43df._0xca31da,_0x6d43df._0x1521de)||_0x53e5eb['id'][_0x59b49c(0x4a8,0x4bb,_0x6d43df._0x5d0d71,_0x6d43df._0x2c2443)]()[_0x59b49c(_0x6d43df._0xe26290,0x33b,0x40a,0x365)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x2c79e9+0x1)+':\x20id\x20required',{'error':_0x59b49c(_0x6d43df._0x20c6d5,_0x6d43df._0x548703,_0x6d43df._0x53607c,_0x6d43df._0x5641a6)});if(typeof _0x53e5eb[_0x114202(0x2f,-0xa2,-0xcf,_0x6d43df._0x1aafd9)]!==_0x114202(_0x6d43df._0x53f695,_0x6d43df._0x140a3c,0x1e,0xc0)||_0x53e5eb[_0x59b49c(0x3df,_0x6d43df._0x322a97,0x4f4,0x5c0)]['trim']()[_0x59b49c(0x487,0x33b,_0x6d43df._0x387983,0x2a3)]===0x0)throw new ToolExecutionError(_0x59b49c(_0x6d43df._0x561577,_0x6d43df._0x2c7413,_0x6d43df._0x112d66,_0x6d43df._0x3768c1)+(_0x2c79e9+0x1)+_0x114202(0x139,0x6,-0x1a7,-0x2c),{'error':_0x114202(0x1a9,-0x7c,-_0x6d43df._0x42dacd,_0x6d43df._0x19fded)});if(!isTodoStatus(_0x53e5eb[_0x59b49c(_0x6d43df._0x3ca6aa,0x495,_0x6d43df._0x250aa4,_0x6d43df._0xb3d800)]))throw new ToolExecutionError(_0x59b49c(0x69f,_0x6d43df._0x2a5c36,_0x6d43df._0x384454,0x598)+(_0x2c79e9+0x1)+_0x114202(-_0x6d43df._0x59615d,-_0x6d43df._0x3ff4cd,-0x1d3,-0x64),{'error':_0x114202(-_0x6d43df._0x209c54,-_0x6d43df._0xc7386b,-_0x6d43df._0x431378,-_0x6d43df._0x1dd232)});if(!isTodoPriority(_0x53e5eb[_0x59b49c(0x41a,0x497,0x5a3,_0x6d43df._0x4ce031)]))throw new ToolExecutionError(_0x114202(0x12,-_0x6d43df._0x50160d,0x121,0x113)+(_0x2c79e9+0x1)+_0x114202(-0x6b,-_0x6d43df._0x58d17c,_0x6d43df._0xd0557b,-0x91),{'error':_0x59b49c(0x705,0x599,0x5da,0x487)});}const _0x210e34=_0x5ec01f[_0x59b49c(0x25c,_0x6d43df._0x24d3ec,0x266,0x390)]['map'](_0x4c355d=>_0x4c355d['id']);function _0x114202(_0x2bd050,_0x3db17e,_0x545b74,_0xbfb200){return _0x42cde8(_0x2bd050-_0x401917._0x4922db,_0xbfb200- -0x97,_0x545b74-0x19d,_0x2bd050);}if(new Set(_0x210e34)[_0x59b49c(0x3e8,0x391,_0x6d43df._0x3a84e6,0x216)]!==_0x210e34[_0x59b49c(0x253,_0x6d43df._0x4528b5,0x3e0,_0x6d43df._0x1bd8e7)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x59b49c(_0x6d43df._0xbfe83,0x3ff,0x57a,_0x6d43df._0x89b00d)});}function createStatsProgress(_0x3950df){const _0x2aaf0c={_0x14f21b:0x4fa,_0x37635d:0x473,_0x1d4b4c:0x5ac},_0x24a1e3={_0x42dff0:0x140,_0x4fdc04:0x146},_0x11f495={_0x53cd03:0x1ae};function _0x333236(_0x3ddb15,_0x12cad1,_0x4b0eed,_0x396ba0){return _0x42cde8(_0x3ddb15-_0x11f495._0x53cd03,_0x3ddb15-0x51e,_0x4b0eed-0x1b4,_0x12cad1);}function _0x41d430(_0x3a39d1,_0x3a7d1b,_0x4620a8,_0x2c2470){return _0x48c1e5(_0x4620a8-_0x24a1e3._0x42dff0,_0x3a7d1b-_0x24a1e3._0x4fdc04,_0x2c2470,_0x2c2470-0x1d0);}return _0x3950df['total']>0x0?Math['round'](_0x3950df[_0x41d430(0x374,_0x2aaf0c._0x14f21b,_0x2aaf0c._0x37635d,0x413)]/_0x3950df[_0x333236(_0x2aaf0c._0x1d4b4c,0x4f2,0x612,0x47a)]*0x64)+'%':'0%';}function createReminderItems(_0x51fad0){const _0x3b2b4b={_0x126ff0:0x3dd,_0x577109:0x14e};function _0x490e7a(_0x117363,_0x5a9a00,_0x486775,_0x59c303){return _0x48c1e5(_0x59c303- -_0x3b2b4b._0x126ff0,_0x5a9a00-0x10a,_0x5a9a00,_0x59c303-_0x3b2b4b._0x577109);}return _0x51fad0['map'](_0x10359a=>({'content':_0x10359a[_0x490e7a(-0x58,-0xc3,-0x11b,0x21)],'status':_0x10359a['status'],'id':_0x10359a['id']}));}function createStructuredResult(_0x352a98,_0x37c828,_0x49becf,_0x277821){const _0x37371e={_0x243381:0x282,_0x2aff39:0x24d,_0x148dc2:0x2d4},_0x2507c4={_0x5c738f:0x226};function _0x30a6e7(_0x5f409e,_0x1db087,_0x5cfb74,_0x46b04c){return _0x48c1e5(_0x46b04c- -0x109,_0x1db087-0x16d,_0x5cfb74,_0x46b04c-0x14d);}function _0x378f56(_0x433152,_0x4cf6c5,_0x1ab0b4,_0x150b55){return _0x42cde8(_0x433152-0x102,_0x150b55- -_0x2507c4._0x5c738f,_0x1ab0b4-0x141,_0x4cf6c5);}return{'allCompleted':_0x277821,'items':_0x37c828['map'](_0x406cc2=>({'id':_0x406cc2['id'],'content':_0x406cc2[_0x378f56(-0x259,-0x14,-0x1c1,-0xf3)],'status':_0x406cc2[_0x378f56(-0x279,-0x282,-0x26,-0x17a)],'priority':_0x406cc2['priority'],'createdAt':_0x406cc2[_0x378f56(-0x1fc,-0x161,-0x315,-0x2c8)]})),'progress':createStatsProgress(_0x49becf),'recentChanges':!![],'sessionId':_0x352a98,'stats':_0x49becf,'todosWritten':_0x37c828[_0x378f56(-0x2d0,-_0x37371e._0x243381,-_0x37371e._0x2aff39,-_0x37371e._0x148dc2)]};}function createOutputText(_0x180f47,_0xf88cc4){const _0x3c4e3b={_0x3cebb9:0x2a5,_0x43346b:0x255,_0x17b6a7:0x159,_0x1fe00f:0x422,_0x4347ce:0x2dd,_0x3da53e:0x25a,_0x25cc59:0x370,_0x19fcc6:0x27d,_0x138371:0x120,_0x1d871a:0x5c2,_0x50f877:0x4e0,_0x20a006:0x73d,_0xdf416:0x571},_0x179ab5={_0x27fc16:0x5f,_0x29975e:0x94},_0xd3564c={_0x3eab25:0x7d,_0x368237:0x4d0,_0x1fa55e:0x11d};function _0x397545(_0x4a2d97,_0x4106fd,_0xe7e400,_0x2b233b){return _0x42cde8(_0x4a2d97-_0xd3564c._0x3eab25,_0x4a2d97-_0xd3564c._0x368237,_0xe7e400-_0xd3564c._0x1fa55e,_0xe7e400);}function _0x507bc3(_0x1ae64b,_0x3df9d6,_0x233198,_0x2cac51){return _0x48c1e5(_0x3df9d6- -0xa,_0x3df9d6-_0x179ab5._0x27fc16,_0x233198,_0x2cac51-_0x179ab5._0x29975e);}const _0x5c4578=JSON[_0x507bc3(0x543,0x408,0x53c,0x3fd)](createReminderItems(_0x180f47));if(_0xf88cc4)return _0x507bc3(0x142,_0x3c4e3b._0x3cebb9,_0x3c4e3b._0x43346b,_0x3c4e3b._0x17b6a7)+_0x180f47[_0x397545(_0x3c4e3b._0x1fe00f,_0x3c4e3b._0x4347ce,0x2f6,0x402)]+_0x507bc3(0x207,0x219,_0x3c4e3b._0x3da53e,0x2dd)+_0x5c4578+_0x507bc3(0x523,0x3b3,0x28b,_0x3c4e3b._0x25cc59);return _0x507bc3(0x1a7,0x1f6,_0x3c4e3b._0x19fcc6,_0x3c4e3b._0x138371)+_0x5c4578+_0x397545(_0x3c4e3b._0x1d871a,_0x3c4e3b._0x50f877,_0x3c4e3b._0x20a006,_0x3c4e3b._0xdf416);}function createTodoWriteTool(_0x2d08bf=new TodoStore()){const _0x4f685e={_0x5b3806:0x77,_0x48fb26:0xfa,_0x1c3a85:0x14c,_0xf8ad9a:0x1e4,_0x484da7:0xec,_0x1be545:0x10f,_0xfefc56:0x1ac,_0x3d2cf8:0xcf,_0x211bae:0x1d9,_0x3eadd4:0xc8,_0x51b219:0xd2,_0x201dc4:0x1d1,_0x3d98c5:0x5f,_0x143050:0xd0,_0x4d166f:0x83,_0x5073fa:0x181,_0x57bbe4:0xbe,_0x1aff17:0x8b,_0xd00556:0x58,_0x5556ef:0x25f,_0x4fc168:0x1a2,_0x4c0f66:0x24d},_0x4e6c86={_0x4f78ab:0x23,_0x55f667:0x4a,_0x288d97:0x4dc,_0x5c0595:0x5e0,_0x3ea302:0x692,_0x515e3f:0x649,_0x469007:0x405,_0x430d9f:0x4f3},_0x13f87c={_0x3a91cf:0xf8,_0x319e4c:0x215,_0x4dad12:0x94},_0x43a6ce={_0xe7348c:0x227};function _0x4647f4(_0x3eb613,_0x581ad6,_0x1814a9,_0x20dd53){return _0x42cde8(_0x3eb613-0xcd,_0x1814a9- -_0x43a6ce._0xe7348c,_0x1814a9-0x2b,_0x20dd53);}function _0x12d0e9(_0x426a40,_0x4f65e1,_0x57c85f,_0x2ac911){return _0x42cde8(_0x426a40-_0x13f87c._0x3a91cf,_0x4f65e1- -_0x13f87c._0x319e4c,_0x57c85f-_0x13f87c._0x4dad12,_0x57c85f);}return defineTool({'name':_0x4647f4(0x7f,_0x4f685e._0x5b3806,-_0x4f685e._0x48fb26,0x1e),'description':_0x4647f4(-0x310,-_0x4f685e._0x1c3a85,-0x24c,-0x248),'inputSchema':{'type':_0x4647f4(-_0x4f685e._0xf8ad9a,-0x1e5,-0x1d9,-_0x4f685e._0x484da7),'properties':{'todos':{'type':_0x12d0e9(-0x21b,-_0x4f685e._0x1be545,-_0x4f685e._0xfefc56,-0x230),'items':{'type':_0x4647f4(-_0x4f685e._0x3d2cf8,-0xe2,-_0x4f685e._0x211bae,-0x18b),'properties':{'content':{'type':_0x4647f4(-_0x4f685e._0x3eadd4,-0x30,-0xd0,-_0x4f685e._0x51b219)},'status':{'type':_0x12d0e9(-0x208,-0xbe,-0xfc,0x22)},'priority':{'type':'string'},'id':{'type':_0x4647f4(-_0x4f685e._0x201dc4,_0x4f685e._0x3d98c5,-_0x4f685e._0x143050,-_0x4f685e._0x4d166f)},'createdAt':{'type':_0x12d0e9(-_0x4f685e._0x5073fa,-_0x4f685e._0x57bbe4,-0x6c,-_0x4f685e._0x1aff17)}},'required':[_0x4647f4(-0x96,-_0x4f685e._0xd00556,-0xf4,-_0x4f685e._0x5556ef),_0x4647f4(-_0x4f685e._0x4fc168,-0x3d,-0x17b,-0x103),_0x12d0e9(-0xcd,-0x167,-0xc1,-0x290),'id']}}},'required':[_0x4647f4(-0x2cd,-0x353,-_0x4f685e._0x4c0f66,-0x15a)]},async *'execute'(_0x194cbc,_0x3d26a9){const _0x40a45d={_0x44ce2e:0x13e,_0x36b730:0x23,_0x4b7649:0x234},_0x5212a1={_0x463680:0xad,_0x542014:0x9c},_0xea4c5b=_0x194cbc;validateTodos(_0xea4c5b);const _0x2f0efa=_0x3d26a9[_0x256bdf(_0x4e6c86._0x4f78ab,_0x4e6c86._0x55f667,-0xe0,0x64)]||'default',_0x1dd022=new Date()[_0x4999ca(_0x4e6c86._0x288d97,0x556,_0x4e6c86._0x5c0595,0x60c)]();function _0x4999ca(_0x184793,_0x5da512,_0x26cfa1,_0x135000){return _0x12d0e9(_0x184793-_0x5212a1._0x463680,_0x184793-0x6c8,_0x135000,_0x135000-_0x5212a1._0x542014);}const _0x3a5e65=_0xea4c5b['todos'][_0x4999ca(0x6a4,0x697,_0x4e6c86._0x3ea302,_0x4e6c86._0x515e3f)](_0x1b866c=>({'id':_0x1b866c['id'],'content':_0x1b866c['content'],'status':_0x1b866c[_0x256bdf(0x111,-0x69,0xb9,-0x7a)],'priority':_0x1b866c[_0x4999ca(0x561,0x4e1,0x4f7,0x5dd)],'sessionId':_0x2f0efa,'createdAt':_0x1b866c[_0x4999ca(0x411,0x557,0x560,0x37f)]||_0x1dd022,'updatedAt':_0x1dd022}));_0x2d08bf['setTodos'](_0x2f0efa,_0x3a5e65);const _0x37d59b=_0x2d08bf['getStats'](_0x2f0efa);function _0x256bdf(_0x5a90cc,_0x1d48ff,_0x41b15c,_0x1c5bbe){return _0x4647f4(_0x5a90cc-_0x40a45d._0x44ce2e,_0x1d48ff-_0x40a45d._0x36b730,_0x41b15c-_0x40a45d._0x4b7649,_0x1c5bbe);}const _0x27ae76=_0x3a5e65[_0x4999ca(_0x4e6c86._0x469007,0x537,_0x4e6c86._0x430d9f,0x38e)]>0x0&&_0x3a5e65['every'](_0x4a2bd6=>_0x4a2bd6['status']===_0x4999ca(0x51b,0x4f7,0x3d5,0x643));return createToolOutput(createOutputText(_0x3a5e65,_0x27ae76),createStructuredResult(_0x2f0efa,_0x3a5e65,_0x37d59b,_0x27ae76));}});}import{mkdir as _0x36067a,writeFile as _0x4093b7}from'fs/promises';import*as _0x3afb6d from'path';function sanitizeFileName(_0x568dc2){return _0x568dc2['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4decb6,_0xbdd608){const _0xbda2a3={_0x11ec8b:0x3dc,_0x18720c:0x445,_0x50a074:0x472,_0x5b90fb:0x413,_0xcc1b77:0x681,_0x32aefc:0x585,_0x2d81b6:0x478,_0x8ef14c:0x39c,_0x3f1626:0x436,_0x80831c:0x26a,_0x3db046:0x35e,_0x195011:0x95,_0x17161c:0x252,_0x3f57fe:0x11c,_0x5be001:0x4d1,_0x2a5391:0x417,_0x46024f:0x1b8,_0x46e5c2:0x27,_0x59e871:0x3e,_0x56b059:0x134,_0x172e05:0x299,_0x4a3775:0x6cf,_0x13df16:0x585,_0x20568c:0x662,_0x62f85:0xf2,_0x28e6cd:0x2e0,_0x245b1d:0x2d1,_0x59ebc2:0x3d6,_0x41e383:0x4ed,_0x21a030:0x50f,_0x50a325:0x2be,_0xef8780:0x354,_0x1a8330:0x3b2,_0x1cba29:0x27f,_0x8bd66a:0x4d7,_0x38d66a:0x206,_0x15bca1:0x167,_0x56b6d6:0x3bc,_0x3f7d04:0x3f8,_0x29eed5:0x5c,_0x4d9e38:0x230,_0x367fe7:0xc4,_0x5a8fa2:0x12e},_0x583fd8={_0x2c44c6:0xa3},_0x166515={_0x52a374:0x1d3};function _0x4dc4e4(_0x2a34c3,_0x114188,_0x313467,_0x582067){return _0x42cde8(_0x2a34c3-0x2a,_0x114188-0x3d1,_0x313467-_0x166515._0x52a374,_0x313467);}const {maxBytes:_0x806383,sessionDir:_0x718de2}=_0xbdd608;if(!_0x4decb6[_0x139f2b(0x530,_0xbda2a3._0x11ec8b,0x352,0x2dd)]||Buffer[_0x4dc4e4(_0xbda2a3._0x18720c,_0xbda2a3._0x50a074,0x4b2,_0xbda2a3._0x5b90fb)](_0x4decb6[_0x4dc4e4(_0xbda2a3._0xcc1b77,_0xbda2a3._0x32aefc,_0xbda2a3._0x2d81b6,0x414)],'utf8')<=_0x806383)return _0x4decb6;const _0x27b011=Buffer[_0x139f2b(0x23c,0x2c9,_0xbda2a3._0x8ef14c,0x1a1)](_0x4decb6[_0x139f2b(0x26b,0x3dc,0x3c5,_0xbda2a3._0x3f1626)],_0x139f2b(0x2a4,0x1e3,0x26a,_0xbda2a3._0x80831c));if(!_0x718de2){const _0xf76853=_0x4decb6['output'][_0x4dc4e4(_0xbda2a3._0x3db046,0x3d6,0x533,0x2de)](0x0,_0x806383);return{..._0x4decb6,'output':_0xf76853+(_0x139f2b(_0xbda2a3._0x195011,0x1ba,0x9f,_0xbda2a3._0x17161c)+_0x806383+'\x20bytes\x20(original:\x20'+_0x27b011+_0x4dc4e4(0x439,0x4b0,0x4d2,0x422)),'meta':{..._0x4decb6['meta'],'truncated':!![],'originalBytes':_0x27b011,'transforms':[..._0x4decb6[_0x139f2b(-0x48,_0xbda2a3._0x3f57fe,0xe7,0x1)]['transforms'],_0x139f2b(_0xbda2a3._0x5be001,_0xbda2a3._0x2a5391,0x2f1,0x38e)]}};}const _0x2cfeb1=_0x4decb6['toolName']+'_'+sanitizeFileName(_0x4decb6[_0x139f2b(_0xbda2a3._0x46024f,0x14c,_0xbda2a3._0x46e5c2,_0xbda2a3._0x59e871)])+'.log',_0x410345=_0x3afb6d[_0x139f2b(_0xbda2a3._0x56b059,_0xbda2a3._0x172e05,0x382,0x313)](_0x718de2,_0x2cfeb1);function _0x139f2b(_0x47de3a,_0x59cb7f,_0x1d27d6,_0x979900){return _0x48c1e5(_0x59cb7f- -_0x583fd8._0x2c44c6,_0x59cb7f-0x1d8,_0x979900,_0x979900-0x1e0);}await _0x36067a(_0x718de2,{'recursive':!![]}),await _0x4093b7(_0x410345,_0x4decb6[_0x4dc4e4(_0xbda2a3._0x4a3775,_0xbda2a3._0x13df16,_0xbda2a3._0x20568c,0x438)],_0x139f2b(0x19d,0x1e3,_0xbda2a3._0x62f85,_0xbda2a3._0x28e6cd));let _0x11cc0c=_0x4decb6[_0x139f2b(_0xbda2a3._0x245b1d,0x3dc,0x36f,0x3c1)][_0x4dc4e4(0x51c,_0xbda2a3._0x59ebc2,_0xbda2a3._0x41e383,_0xbda2a3._0x21a030)](0x0,_0x806383);const _0x39eab4=_0x11cc0c[_0x4dc4e4(_0xbda2a3._0x50a325,_0xbda2a3._0xef8780,_0xbda2a3._0x1a8330,_0xbda2a3._0x1cba29)]('\x0a');_0x39eab4>_0x806383*0.5&&(_0x11cc0c=_0x11cc0c['slice'](0x0,_0x39eab4));const _0xbb1e18=['','<system-reminder>','Tool\x20output\x20was\x20truncated\x20at\x20'+_0x806383+'\x20bytes\x20(total:\x20'+_0x27b011+'\x20bytes).',_0x4dc4e4(0x4e1,0x474,_0xbda2a3._0x8bd66a,0x316)+_0x410345,_0x139f2b(0x356,_0xbda2a3._0x38d66a,_0xbda2a3._0x15bca1,0x1aa),'</system-reminder>'][_0x139f2b(0x411,0x299,_0xbda2a3._0x56b6d6,_0xbda2a3._0x3f7d04)]('\x0a');return{..._0x4decb6,'output':_0x11cc0c+_0xbb1e18,'meta':{..._0x4decb6['meta'],'truncated':!![],'originalBytes':_0x27b011,'transforms':[..._0x4decb6[_0x139f2b(-_0xbda2a3._0x29eed5,0x11c,_0xbda2a3._0x4d9e38,_0xbda2a3._0x367fe7)][_0x139f2b(0xa3,_0xbda2a3._0x5a8fa2,0x21d,0x1e6)],'tool-output-offload']}};}function createUpdateTopicTool(){const _0x2ab46d={_0x181e56:0x51e,_0x22c370:0x373,_0x43a806:0x2d1,_0x5013a5:0x1cf,_0x1276dd:0x4d5,_0x4e7f15:0x37e,_0x3709c6:0x305,_0x41912b:0x353},_0x20886c={_0x18ccf8:0x18,_0x4a1e88:0xf,_0x5c38fe:0x41,_0x46801c:0x151,_0x4d06f4:0x7f,_0x4b9028:0x122,_0x6cfcf4:0xce,_0x4eb243:0x7a,_0x487272:0x3a,_0x134204:0x85,_0x55a3d0:0xa,_0x39d609:0x293,_0x3935ba:0x2c3,_0x5de52e:0x79,_0x3670d4:0x123,_0x48e85d:0x23},_0x264a1d={_0xa76d55:0x12f,_0x21c5fd:0xef},_0x4e9773={_0x56bd3f:0x169},_0x38b736={_0x3c80a4:0x1db};function _0x3ae409(_0x405dad,_0x2993d4,_0x40af05,_0x455f90){return _0x42cde8(_0x405dad-_0x38b736._0x3c80a4,_0x40af05-0x1ae,_0x40af05-0x13,_0x2993d4);}function _0x181532(_0x5dcb3e,_0x54e771,_0x189de7,_0x55ef91){return _0x48c1e5(_0x189de7-0x205,_0x54e771-_0x4e9773._0x56bd3f,_0x55ef91,_0x55ef91-0x76);}return defineTool({'name':_0x181532(_0x2ab46d._0x181e56,0x520,0x420,0x543),'description':_0x3ae409(0x215,_0x2ab46d._0x22c370,_0x2ab46d._0x43a806,_0x2ab46d._0x5013a5),'inputSchema':{'type':_0x181532(_0x2ab46d._0x1276dd,0x63d,_0x2ab46d._0x181e56,0x4c6),'properties':{'topic':{'type':_0x3ae409(_0x2ab46d._0x4e7f15,0x3ae,_0x2ab46d._0x3709c6,0x22e)}},'required':[_0x3ae409(0x2e2,0x3d5,_0x2ab46d._0x41912b,0x48a)]},async *'execute'(_0x10103f,_0x3da025){const _0x548c4a={_0x16cb6d:0x142};function _0x400ba3(_0x2defb4,_0x443817,_0xef9d9c,_0x19cec0){return _0x3ae409(_0x2defb4-0x116,_0x2defb4,_0x19cec0- -_0x264a1d._0xa76d55,_0x19cec0-_0x264a1d._0x21c5fd);}const {topic:_0x4cccb6}=_0x10103f;if(typeof _0x4cccb6!=='string'||_0x4cccb6[_0x400ba3(-_0x20886c._0x18ccf8,_0x20886c._0x4a1e88,_0x20886c._0x5c38fe,_0x20886c._0x46801c)]()[_0x400ba3(0x25,-0xb6,_0x20886c._0x4d06f4,-0x2f)]===0x0)throw new ToolExecutionError(_0x400ba3(0xaf,-_0x20886c._0x4b9028,_0x20886c._0x6cfcf4,_0x20886c._0x18ccf8),{'error':_0x25313b(0xd4,-_0x20886c._0x4eb243,-_0x20886c._0x487272,_0x20886c._0x134204)});const _0x5224f2=_0x4cccb6[_0x400ba3(-_0x20886c._0x55a3d0,_0x20886c._0x39d609,0x27d,0x151)]();function _0x25313b(_0x159a34,_0x44a627,_0x38c356,_0xb07b0a){return _0x3ae409(_0x159a34-_0x548c4a._0x16cb6d,_0xb07b0a,_0x44a627- -0x3b1,_0xb07b0a-0x164);}return _0x3da025[_0x400ba3(_0x20886c._0x3935ba,_0x20886c._0x5de52e,_0x20886c._0x3670d4,0x1ce)]?.(_0x5224f2),yield createToolOutput(_0x25313b(0xe3,-_0x20886c._0x48e85d,0xc6,0xae)+_0x5224f2+'\x22',{'topic':_0x5224f2}),void 0x0;}});}import{readFile as _0x2c477d,stat as _0x42a39a}from'fs/promises';import*as _0x25ce27 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x42cde8(0xac,0x7c,-0x26,0xa4),'high','low',_0x48c1e5(0x225,0x1c6,0x353,0x13d)]),PNG_SIGNATURE=Buffer[_0x42cde8(0x3e,-0x104,0x7,-0x36)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x13d540,_0x373066){const _0x2af7dd={_0x12893f:0x313,_0x29c173:0xb7,_0x2ac48f:0x67,_0xb46f65:0x2e7,_0x29babe:0x1e4,_0x47fd47:0x4ef,_0x1f09a8:0x230,_0x551ef9:0x3a7,_0x596056:0x2a9,_0x3db255:0x1c7,_0x2c4604:0x427,_0x8a4d:0x1d9,_0x1d06e3:0x2d9,_0x3d08cc:0x197,_0x3006d4:0x140,_0x53bcaf:0x2cd,_0x531b3e:0x3e2,_0x1222fc:0x378,_0x461760:0x3a9,_0x509a1f:0x10c,_0x50f8cf:0x58,_0x30ba7a:0x13,_0x2be24e:0x0,_0x4c09a9:0x467,_0xa29eda:0x52f,_0x2c488b:0x36c,_0x332b76:0x2c8,_0x7770bb:0x22a,_0x602245:0xad,_0x531952:0xcf,_0xf799f5:0x20,_0x48e961:0x132,_0x14c1c3:0x2e6,_0x1fd7a8:0x3c5,_0x51deda:0x23f,_0x41e14e:0x262,_0x1032fa:0xe0,_0xd69466:0x50,_0x2441f1:0x63,_0x4786a8:0x1e6,_0x35e038:0x334,_0x5dbc11:0x1d8},_0xb7dfb1={_0xcb89e2:0x10c,_0x38c6e8:0x1af},_0x52de7b={_0x2ad2d7:0x1fc,_0x471f09:0xa0};if(_0x13d540[_0xb378a0(0x2f1,0x306,0x284,0x197)](0x0,0x8)[_0xb378a0(_0x2af7dd._0x12893f,0x14b,0x18f,0x1a6)](PNG_SIGNATURE))return'image/png';if(_0x13d540[0x0]===0xff&&_0x13d540[0x1]===0xd8&&_0x13d540[0x2]===0xff)return _0x393840(-0x9f,_0x2af7dd._0x29c173,0x6a,_0x2af7dd._0x2ac48f);function _0x393840(_0x413cb7,_0x265944,_0x47b7ee,_0x50ebb1){return _0x48c1e5(_0x47b7ee- -_0x52de7b._0x2ad2d7,_0x265944-_0x52de7b._0x471f09,_0x50ebb1,_0x50ebb1-0xa8);}const _0x345a82=_0x13d540['subarray'](0x0,0x6)[_0xb378a0(0x494,0x4d5,0x2ce,0x416)](_0x393840(_0x2af7dd._0xb46f65,0xe8,_0x2af7dd._0x29babe,0x184));if(_0x345a82===_0xb378a0(_0x2af7dd._0x47fd47,_0x2af7dd._0x1f09a8,_0x2af7dd._0x551ef9,0x381)||_0x345a82===_0xb378a0(_0x2af7dd._0x596056,0x356,_0x2af7dd._0x3db255,0x2b3))return _0xb378a0(0x436,0x595,0x320,_0x2af7dd._0x2c4604);if(_0x13d540[_0xb378a0(_0x2af7dd._0x8a4d,0x30,_0x2af7dd._0x1d06e3,_0x2af7dd._0x3d08cc)](0x0,0x4)[_0x393840(0x1a1,_0x2af7dd._0x3006d4,0x251,0x230)]('ascii')==='RIFF'&&_0x13d540[_0xb378a0(0x121,_0x2af7dd._0x53bcaf,0x90,_0x2af7dd._0x3d08cc)](0x8,0xc)[_0xb378a0(0x577,_0x2af7dd._0x531b3e,0x51f,0x416)](_0xb378a0(_0x2af7dd._0x1222fc,0x470,0x4b3,_0x2af7dd._0x461760))===_0xb378a0(0x4d9,0x2a1,0x3a7,0x409))return _0x393840(_0x2af7dd._0x509a1f,-_0x2af7dd._0x50f8cf,_0x2af7dd._0x30ba7a,_0x2af7dd._0x2be24e);const _0x3cbc9b=_0x25ce27['extname'](_0x373066)[_0xb378a0(_0x2af7dd._0x4c09a9,_0x2af7dd._0xa29eda,_0x2af7dd._0x2c488b,0x3c9)]();if(_0x3cbc9b===_0x393840(0xbb,-0x9b,0x42,-0x6c))return _0x393840(0x21d,_0x2af7dd._0x332b76,_0x2af7dd._0x7770bb,0x197);if(_0x3cbc9b===_0x393840(_0x2af7dd._0x602245,-_0x2af7dd._0x531952,-_0x2af7dd._0xf799f5,_0x2af7dd._0x48e961)||_0x3cbc9b==='.jpeg')return'image/jpeg';if(_0x3cbc9b===_0xb378a0(_0x2af7dd._0x14c1c3,0x2ab,0x50c,_0x2af7dd._0x1fd7a8))return _0x393840(_0x2af7dd._0x51deda,0x32e,_0x2af7dd._0x41e14e,0x273);function _0xb378a0(_0x348e5a,_0x3db1d2,_0x303734,_0x54b378){return _0x48c1e5(_0x54b378- -0x37,_0x3db1d2-_0xb7dfb1._0xcb89e2,_0x3db1d2,_0x54b378-_0xb7dfb1._0x38c6e8);}if(_0x3cbc9b===_0x393840(-_0x2af7dd._0x1032fa,_0x2af7dd._0xd69466,_0x2af7dd._0x2441f1,0x8))return _0xb378a0(_0x2af7dd._0x4786a8,0x104,_0x2af7dd._0x35e038,_0x2af7dd._0x5dbc11);return void 0x0;}function normalizeDetail(_0x253d16){const _0x344f48={_0x5e1c28:0x52a,_0x2f8aab:0x3e3,_0x2d18e9:0x42a,_0x373e6c:0x358,_0x523989:0x460,_0x4aee9e:0x5c9},_0x271f65={_0x11a4b5:0x78},_0x15ceb4={_0x1acd28:0x131,_0x40aade:0x2ae};function _0x4b19bb(_0x29119f,_0x316f1a,_0x1359a5,_0xe318e4){return _0x42cde8(_0x29119f-_0x15ceb4._0x1acd28,_0x316f1a-_0x15ceb4._0x40aade,_0x1359a5-0x85,_0xe318e4);}if(_0x253d16===void 0x0)return void 0x0;const _0x3cdc03=_0x253d16['trim']()[_0x4b19bb(_0x344f48._0x5e1c28,_0x344f48._0x2f8aab,_0x344f48._0x2d18e9,0x4d2)]();if(!SUPPORTED_DETAILS[_0x4b19bb(_0x344f48._0x373e6c,_0x344f48._0x523989,0x56d,_0x344f48._0x4aee9e)](_0x3cdc03))throw new ToolExecutionError(_0x4b19bb(0x312,0x1f6,0x332,0xb7)+_0x253d16,{'detail':_0x253d16});function _0x117fa8(_0x2c25c7,_0xc6d387,_0xac5bc9,_0x1f07f1){return _0x48c1e5(_0x2c25c7-0x1de,_0xc6d387-_0x271f65._0x11a4b5,_0xac5bc9,_0x1f07f1-0x17f);}return _0x3cdc03;}function createViewFileTool(_0x3ebd99={}){const _0x27206c={_0x4e71ec:0x434,_0xb9fb72:0x8f,_0x57ab6f:0x2e8,_0x304cf7:0x299,_0x3922e6:0x40a,_0x25511a:0x409,_0x22fb78:0x4c6,_0x2aa521:0x500,_0x5f23d2:0x385,_0x12180a:0x650,_0x3bcca8:0x670},_0x441461={_0x2d98d0:0x174,_0x34f2a4:0x10d,_0x228a55:0x40,_0x38ea35:0x169,_0x3d0063:0x298,_0x40465e:0x390,_0x5a33b1:0x2fc,_0x423e94:0x307,_0x1eb112:0x60,_0x4f5f75:0x33,_0x495fc3:0x130,_0x2afd7b:0x13f,_0x2a5839:0xb2,_0x135a71:0xae,_0x512325:0x116,_0x18df00:0x57,_0x48628e:0x132,_0x285c56:0x146,_0x4dba17:0x4b,_0x9b7388:0x93,_0x3490dd:0x12e,_0x524606:0x194,_0x100622:0x16b,_0x2ecd82:0xf0,_0x37bb51:0x159,_0x518897:0x25e,_0x3ab584:0x25b,_0x6806dd:0xdc,_0x2c1a81:0x86,_0x37563e:0xc3,_0x216e41:0x73,_0x1ff3bf:0xed,_0x226f75:0x3d,_0x3591e0:0x3d,_0x2d1785:0x12c,_0x3afce3:0x22e,_0x36a0ee:0x1df,_0x34a343:0xea,_0x3d9029:0x269,_0x5e2366:0x350,_0xfeb7b0:0x123,_0x4e8c4d:0xdd},_0x37a6f3={_0x1ab1b5:0xd2},_0x113811={_0x421961:0x182},_0x200516={_0x293f0b:0xd4,_0x1f1d24:0x16a,_0x4cb31c:0x197};function _0x4d18a7(_0x4666a8,_0x1ef6e6,_0x565884,_0x181266){return _0x42cde8(_0x4666a8-_0x200516._0x293f0b,_0x1ef6e6-_0x200516._0x1f1d24,_0x565884-_0x200516._0x4cb31c,_0x565884);}const _0xf65bc3=_0x25ce27[_0x33c7d7(0x463,0x4b0,_0x27206c._0x4e71ec,0x598)](_0x3ebd99[_0x4d18a7(0x1f0,0x15e,_0x27206c._0xb9fb72,0x2d0)]??process[_0x33c7d7(0x35f,_0x27206c._0x57ab6f,0x2ab,0x308)]()),_0x350037=_0x3ebd99[_0x33c7d7(0x3b8,0x4a5,0x4e0,0x2a2)]??[],_0x1606d1=_0x3ebd99[_0x4d18a7(0x3e5,_0x27206c._0x304cf7,0x39d,0x132)]??DEFAULT_MAX_BYTES;function _0x33c7d7(_0x1d693f,_0x32d388,_0x15c35a,_0x5a3e28){return _0x42cde8(_0x1d693f-0x1bc,_0x1d693f-0x3a9,_0x15c35a-0xee,_0x5a3e28);}const _0x5f4d41=_0x3ebd99['name']??'ViewFile';return defineTool({'name':_0x5f4d41,'description':_0x33c7d7(0x3fe,_0x27206c._0x3922e6,_0x27206c._0x25511a,_0x27206c._0x22fb78),'inputSchema':{'type':'object','properties':{'path':{'type':_0x33c7d7(_0x27206c._0x2aa521,0x519,0x5d5,_0x27206c._0x5f23d2)},'detail':{'type':_0x33c7d7(0x500,_0x27206c._0x12180a,_0x27206c._0x3bcca8,0x533)}},'required':['path']},async *'execute'(_0x81f18f){const _0x3ba543=resolveAllowedPath(_0xf65bc3,_0x350037,_0x81f18f[_0xaa0887(0x13,-_0x441461._0x2d98d0,-0x13f,-0x1eb)]);await assertWorkspaceFile(_0x3ba543);const _0xa3cb45=await _0x42a39a(_0x3ba543);if(_0xa3cb45[_0x26c913(0xec,_0x441461._0x34f2a4,_0x441461._0x228a55,_0x441461._0x38ea35)]>_0x1606d1)throw new ToolExecutionError(_0xaa0887(-_0x441461._0x3d0063,-_0x441461._0x40465e,-_0x441461._0x5a33b1,-_0x441461._0x423e94)+_0x81f18f['path'],{'path':_0x81f18f[_0xaa0887(-_0x441461._0x1eb112,-_0x441461._0x4f5f75,-0x13f,-0xad)],'maxBytes':_0x1606d1,'size':_0xa3cb45['size']});function _0xaa0887(_0xeef1ad,_0xe3549e,_0x2fba9e,_0x402b13){return _0x4d18a7(_0xeef1ad-_0x113811._0x421961,_0x2fba9e- -0x372,_0x402b13,_0x402b13-0x7f);}const _0x27b3f0=await _0x2c477d(_0x3ba543),_0x27c0cd=detectImageMediaType(_0x27b3f0,_0x3ba543);if(!_0x27c0cd)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x81f18f[_0xaa0887(-0x31,-_0x441461._0x495fc3,-_0x441461._0x2afd7b,-_0x441461._0x2a5839)],{'path':_0x81f18f['path'],'supported':[_0x26c913(_0x441461._0x2d98d0,0x29d,0x1c9,0x27b),_0xaa0887(-0x1e0,-0x21a,-0xa9,-_0x441461._0x135a71),_0x26c913(0x36,_0x441461._0x512325,-_0x441461._0x18df00,-_0x441461._0x48628e),_0x26c913(_0x441461._0x285c56,-_0x441461._0x4dba17,0xb,-0x48),_0x26c913(0x132,-_0x441461._0x9b7388,0x2c,0x39)]});const _0x1e0df6=normalizeDetail(_0x81f18f['detail']),_0x220e55=['Viewed\x20image\x20file:\x20'+_0x81f18f['path'],'MIME:\x20'+_0x27c0cd,_0x26c913(0x335,0x228,0x224,_0x441461._0x3490dd)+_0xa3cb45['size']+'\x20bytes'][_0x26c913(_0x441461._0x524606,0x272,_0x441461._0x100622,0x61)](_0x1e0df6?['Detail:\x20'+_0x1e0df6]:[])['join']('\x0a');function _0x26c913(_0x24d564,_0x35e03f,_0x241b6e,_0x5768cc){return _0x4d18a7(_0x24d564-0x9f,_0x241b6e- -_0x37a6f3._0x1ab1b5,_0x35e03f,_0x5768cc-0x10e);}const _0xb0058=[{'type':_0xaa0887(-_0x441461._0x2ecd82,_0x441461._0x37bb51,-0x1b,-0x197),'source':{'type':_0x26c913(-0x39,_0x441461._0x518897,0x132,_0x441461._0x3ab584),'media_type':_0x27c0cd,'data':_0x27b3f0[_0xaa0887(-0xd2,-_0x441461._0x6806dd,-_0x441461._0x2c1a81,-0xc2)](_0x26c913(0x241,_0x441461._0x37563e,0x132,0x1d))}},{'type':_0xaa0887(_0x441461._0x216e41,-0x4e,-_0x441461._0x1ff3bf,-0x267),'text':_0x220e55}];return yield createToolOutput(_0x220e55,{'path':_0x81f18f['path'],'resolvedPath':_0x3ba543,'created':_0xa3cb45[_0x26c913(_0x441461._0x226f75,_0x441461._0x3591e0,_0x441461._0x2d1785,_0x441461._0x3afce3)][_0xaa0887(-0xb8,-0x22c,-_0x441461._0x36a0ee,-_0x441461._0x34a343)](),'modified':_0xa3cb45[_0x26c913(_0x441461._0x3d9029,0x80,0x186,0xbf)][_0xaa0887(-_0x441461._0x5e2366,-0xd2,-0x1df,-0x10d)](),'size':_0xa3cb45[_0x26c913(-_0x441461._0xfeb7b0,-_0x441461._0x48628e,_0x441461._0x228a55,0x153)],'mimeType':_0x27c0cd,'encoding':_0x26c913(-_0x441461._0x4f5f75,_0x441461._0x4e8c4d,0x132,0x298),..._0x1e0df6?{'detail':_0x1e0df6}:{}},_0xb0058),void 0x0;}});}import _0x411ddd from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x1299a9=>{const {lookup:_0x2fe6d3}=await import('dns/promises');return _0x2fe6d3(_0x1299a9,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x1794a1){const _0x469ac6=_0x1794a1['split']('.');if(_0x469ac6['length']!==0x4)return null;let _0x4ce0cb=0x0;for(const _0x27513a of _0x469ac6){if(!/^\d{1,3}$/['test'](_0x27513a))return null;const _0x332a14=Number(_0x27513a);if(_0x332a14>0xff)return null;_0x4ce0cb=_0x4ce0cb*0x100+_0x332a14;}return _0x4ce0cb>>>0x0;}function isBlockedIpv4(_0x2ad763){const _0x2b2fa0={_0x390dc0:0x19d,_0x3da653:0x228,_0x37b5c5:0x133,_0x53dc63:0x173,_0x20023a:0x121,_0x1d6206:0xf1,_0x50fe32:0x10f,_0x558f7d:0x27d,_0x4e188b:0x1e9,_0x4cbe7d:0x50,_0x523330:0x79,_0x3372fc:0xad,_0x1c3b96:0x3e,_0x350049:0xc5,_0x594b6c:0x203,_0x516c02:0x8b,_0x21cb72:0x199,_0x10e193:0x1e1,_0x5f17d2:0x105,_0x422636:0x5e,_0x1a88b1:0x17},_0x1cbaa7={_0x5de555:0x296};function _0x23cd12(_0x22b23c,_0x1d32c4,_0x3270b9,_0x5095cf){return _0x48c1e5(_0x5095cf- -_0x1cbaa7._0x5de555,_0x1d32c4-0x1ab,_0x22b23c,_0x5095cf-0x145);}function _0x23ead5(_0xd77df5,_0xbc091,_0x289ee5,_0x49c2d3){return _0x42cde8(_0xd77df5-0x1f2,_0x49c2d3-0x10c,_0x289ee5-0x1a7,_0xd77df5);}const _0x362bef=ipv4ToInt(_0x2ad763);if(_0x362bef===null)return!![];const _0x3736d4=(_0x16987f,_0xe6135d)=>{const _0x218851=ipv4ToInt(_0x16987f);if(_0x218851===null)return![];const _0x3eb334=_0xe6135d===0x0?0x0:0xffffffff<<0x20-_0xe6135d>>>0x0;return(_0x362bef&_0x3eb334)===(_0x218851&_0x3eb334);};return _0x3736d4(_0x23ead5(_0x2b2fa0._0x390dc0,0x176,_0x2b2fa0._0x3da653,0x224),0x8)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x37b5c5,-_0x2b2fa0._0x53dc63,-0x5e,-0x8),0x8)||_0x3736d4(_0x23cd12(-0x72,0x193,_0x2b2fa0._0x20023a,_0x2b2fa0._0x1d6206),0xa)||_0x3736d4('127.0.0.0',0x8)||_0x3736d4(_0x23ead5(-0xc1,0x74,-_0x2b2fa0._0x50fe32,0x40),0x10)||_0x3736d4(_0x23cd12(-0xe,_0x2b2fa0._0x558f7d,0x27e,0x124),0xc)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x4e188b,-_0x2b2fa0._0x4cbe7d,-_0x2b2fa0._0x523330,_0x2b2fa0._0x3372fc),0x18)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x1c3b96,_0x2b2fa0._0x350049,-_0x2b2fa0._0x594b6c,-_0x2b2fa0._0x516c02),0x10)||_0x3736d4(_0x23cd12(0x2ed,_0x2b2fa0._0x21cb72,0x30a,_0x2b2fa0._0x10e193),0xf)||_0x3736d4(_0x23ead5(_0x2b2fa0._0x5f17d2,0x187,-0x13f,0x10),0x4)||_0x3736d4(_0x23cd12(_0x2b2fa0._0x422636,-0x127,0x192,_0x2b2fa0._0x1a88b1),0x4);}function expandIpv6(_0x4cfd50){const _0x41b36f={_0x2813fd:0x5f,_0xae1393:0x1de,_0x2190d6:0x2d2,_0x1b233b:0x14b,_0x678844:0xd2,_0x4faeef:0x42,_0x3c88df:0x42,_0x3217e5:0x2c,_0x14091f:0xcc,_0x1ee217:0x71,_0x4b9858:0x2de,_0x325c58:0x6a,_0x2b6310:0x1ad,_0x3d95d5:0x258,_0x55fec0:0x1ad,_0x3eb8ba:0xa2,_0x4190d4:0xe2,_0x58abef:0xa0,_0x4411a8:0x120,_0x460ab9:0x1ea,_0x4aad5e:0x154,_0xbf9ab9:0x278,_0xd6f893:0x321},_0x2042e6={_0x37ae43:0x96},_0xcd9154={_0x2177fe:0x2d,_0x4d364e:0x3d};let _0x5339cb=_0x4cfd50,_0x22f2fa;const _0x1c722e=_0x5339cb[_0xe289f7(0x34d,0x7f,_0x41b36f._0x2813fd,_0x41b36f._0xae1393)](':');_0x5339cb['slice'](_0x1c722e+0x1)[_0xe289f7(0x1c1,_0x41b36f._0x2190d6,0x3f6,0x2ae)]('.')&&(_0x22f2fa=_0x5339cb[_0x15c795(_0x41b36f._0x1b233b,_0x41b36f._0x678844,0x12b,_0x41b36f._0x4faeef)](_0x1c722e+0x1),_0x5339cb=_0x5339cb[_0x15c795(-0x98,0x1bd,0x76,_0x41b36f._0x3c88df)](0x0,_0x1c722e+0x1));const _0x1ddbd4=_0x5339cb['split']('::');function _0x15c795(_0x5023c2,_0x2225e5,_0x20e178,_0x1c9077){return _0x42cde8(_0x5023c2-_0xcd9154._0x2177fe,_0x1c9077-_0xcd9154._0x4d364e,_0x20e178-0x9c,_0x20e178);}if(_0x1ddbd4['length']>0x2)return null;const _0x5a04da=_0x104c2e=>_0x104c2e[_0xe289f7(0x2ea,0x3f7,0x2af,0x396)](':')['filter'](_0x8606bd=>_0x8606bd[_0xe289f7(0x221,0x21c,0x1d4,0x1ad)]>0x0)['map'](_0x498dd1=>Number[_0xe289f7(0x402,0x48c,0x1f6,0x30d)](_0x498dd1,0x10)),_0x335c54=_0x1ddbd4[0x0]?_0x5a04da(_0x1ddbd4[0x0]):[],_0x104fb2=_0x1ddbd4[_0xe289f7(0x50,0x189,0xc1,0x1ad)]===0x2&&_0x1ddbd4[0x1]?_0x5a04da(_0x1ddbd4[0x1]):[],_0x4950e7=[];function _0xe289f7(_0x59bc50,_0x45b81e,_0x118246,_0x108c18){return _0x42cde8(_0x59bc50-_0x2042e6._0x37ae43,_0x108c18-0x25b,_0x118246-0xa8,_0x59bc50);}if(_0x22f2fa){const _0x2c2226=ipv4ToInt(_0x22f2fa);if(_0x2c2226===null)return null;_0x4950e7[_0x15c795(0x129,-0xa4,0xee,0x23)](_0x2c2226>>>0x10&0xffff,_0x2c2226&0xffff);}const _0x5dbcb1=[..._0x104fb2,..._0x4950e7],_0x456fef=0x8-_0x335c54[_0x15c795(_0x41b36f._0x3217e5,-0x1ba,_0x41b36f._0x14091f,-_0x41b36f._0x1ee217)]-_0x5dbcb1[_0xe289f7(_0x41b36f._0x4b9858,_0x41b36f._0x325c58,0x2e,_0x41b36f._0x2b6310)];if(_0x1ddbd4[_0xe289f7(_0x41b36f._0x3d95d5,0x202,0x1e3,_0x41b36f._0x55fec0)]===0x1)return _0x335c54[_0x15c795(-_0x41b36f._0x3eb8ba,_0x41b36f._0x4190d4,-_0x41b36f._0x58abef,-_0x41b36f._0x1ee217)]+_0x5dbcb1[_0xe289f7(_0x41b36f._0x4411a8,_0x41b36f._0x460ab9,0x63,0x1ad)]===0x8?[..._0x335c54,..._0x5dbcb1]:null;if(_0x456fef<0x0)return null;return[..._0x335c54,...new Array(_0x456fef)[_0x15c795(_0x41b36f._0x4aad5e,_0x41b36f._0xbf9ab9,_0x41b36f._0xd6f893,0x208)](0x0),..._0x5dbcb1];}function isBlockedIpv6(_0x2917cc){const _0xce2e58={_0x71020c:0x1da,_0x9090e4:0x33a,_0x33a3be:0x46f,_0x3d3159:0x31b,_0x4a3f15:0x2bd,_0x55269f:0x229,_0x2b046b:0x4b7},_0x13bab2={_0x49096a:0xb1},_0x45e8d9={_0x9183c3:0x6a,_0x21adae:0x43},_0x50374d=expandIpv6(_0x2917cc);if(!_0x50374d||_0x50374d['some'](_0x7c0dcc=>Number[_0x1cd2eb(0x371,0x3c4,0x20e,0x271)](_0x7c0dcc)))return!![];const _0x4d32a0=_0x50374d[_0x1cd2eb(0x20a,0x2fa,_0xce2e58._0x71020c,0x2cd)](0x0,0x7)['every'](_0x11b83d=>_0x11b83d===0x0);if(_0x4d32a0&&(_0x50374d[0x7]===0x0||_0x50374d[0x7]===0x1))return!![];if(_0x50374d[_0x938bff(0x464,_0xce2e58._0x9090e4,_0xce2e58._0x33a3be,_0xce2e58._0x3d3159)](0x0,0x5)[_0x1cd2eb(0x312,0x372,_0xce2e58._0x4a3f15,_0xce2e58._0x55269f)](_0x2ac811=>_0x2ac811===0x0)&&(_0x50374d[0x5]===0xffff||_0x50374d[0x5]===0x0)){const _0x4a0c31=(_0x50374d[0x6]<<0x10|_0x50374d[0x7])>>>0x0,_0xfb1199=[_0x4a0c31>>>0x18&0xff,_0x4a0c31>>>0x10&0xff,_0x4a0c31>>>0x8&0xff,_0x4a0c31&0xff][_0x1cd2eb(_0xce2e58._0x2b046b,0x473,0x1c1,0x339)]('.');return isBlockedIpv4(_0xfb1199);}function _0x938bff(_0x311326,_0x2fbd04,_0xe799df,_0x14a72c){return _0x48c1e5(_0x2fbd04-_0x45e8d9._0x9183c3,_0x2fbd04-_0x45e8d9._0x21adae,_0x14a72c,_0x14a72c-0x119);}const _0x314c05=_0x50374d[0x0];function _0x1cd2eb(_0x1e2fe1,_0x4f9a97,_0x1aa95f,_0x5d7e1a){return _0x48c1e5(_0x5d7e1a- -0x3,_0x4f9a97-0x5b,_0x1aa95f,_0x5d7e1a-_0x13bab2._0x49096a);}if((_0x314c05&0xff00)===0xfc00||(_0x314c05&0xfe00)===0xfc00)return!![];if((_0x314c05&0xffc0)===0xfe80)return!![];if((_0x314c05&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x537bc5){const _0x48def3=isIP(_0x537bc5);if(_0x48def3===0x4)return isBlockedIpv4(_0x537bc5);if(_0x48def3===0x6)return isBlockedIpv6(_0x537bc5);return!![];}async function assertPublicUrl(_0x3fc872,_0x47c258={}){const _0x486ad9={_0x2e5c19:0x244,_0x2800e5:0x275,_0xd5a822:0xe6,_0x125a9a:0x139,_0x1f3ac5:0x134,_0x3dcd56:0x2a7,_0x7a92fe:0x4f,_0x2e14eb:0xe0,_0x1948b3:0x38,_0x26314e:0x58,_0x4f6b4d:0x1bb,_0x11a6fa:0xc5,_0x5f933f:0x60e,_0x3f57eb:0x50e,_0x1c0ef7:0x6b1,_0x789971:0x59e,_0x5e9373:0x25c,_0x1b968e:0x366,_0xad149:0x5dd,_0x25af1e:0x4a7,_0x5bc7bd:0xc9,_0x51f1a9:0x569,_0x3ba6ac:0x6f7,_0x5ad679:0x218,_0x1b6bd1:0x357,_0x282423:0x190,_0x4a6b3f:0x7a,_0x44a056:0x210,_0x2cfe58:0xf7,_0x5604f9:0x22a,_0xccf1ae:0x115,_0x13bf1b:0x20f,_0x1f27ac:0x180,_0x39cd5f:0x1f2,_0x265d8c:0x4d6},_0x5ae3d4={_0x2bfa93:0x12b},_0x3c0ba6={_0x3d9dd6:0x1c9,_0x2036d2:0x4ef,_0x165dd8:0xdd};let _0x52e841;function _0x1f885c(_0xe8c775,_0x753a63,_0x1b4523,_0x1dd948){return _0x42cde8(_0xe8c775-_0x3c0ba6._0x3d9dd6,_0x753a63-_0x3c0ba6._0x2036d2,_0x1b4523-_0x3c0ba6._0x165dd8,_0x1b4523);}try{_0x52e841=new URL(_0x3fc872);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x3fc872});}if(_0x52e841[_0x2c4a6a(_0x486ad9._0x2e5c19,0x2a7,0x424,_0x486ad9._0x2800e5)]!==_0x2c4a6a(_0x486ad9._0xd5a822,0x124,_0x486ad9._0x125a9a,0x1e3)&&_0x52e841[_0x2c4a6a(_0x486ad9._0x1f3ac5,_0x486ad9._0x3dcd56,0x290,0x3f3)]!==_0x2c4a6a(0x15e,_0x486ad9._0x7a92fe,-0xb7,-_0x486ad9._0x2e14eb))throw new ToolExecutionError(_0x2c4a6a(0x33,0x128,0x1f7,0xc5),{'url':_0x3fc872});if(_0x52e841[_0x2c4a6a(-_0x486ad9._0x1948b3,0x33,-0x36,-0x107)]||_0x52e841[_0x2c4a6a(_0x486ad9._0x26314e,_0x486ad9._0x4f6b4d,0x1c7,_0x486ad9._0x11a6fa)])throw new ToolExecutionError(_0x1f885c(0x74e,_0x486ad9._0x5f933f,0x5f4,_0x486ad9._0x3f57eb),{'url':_0x52e841[_0x1f885c(_0x486ad9._0x1c0ef7,0x6d4,_0x486ad9._0x789971,0x845)]+'//'+_0x52e841[_0x2c4a6a(_0x486ad9._0x5e9373,0x29b,_0x486ad9._0x1b968e,0x18a)]+_0x52e841[_0x1f885c(_0x486ad9._0xad149,_0x486ad9._0x25af1e,0x585,0x605)]});const _0x56521f=_0x52e841[_0x2c4a6a(0x1bf,_0x486ad9._0x5bc7bd,-0x9c,0x84)]['replace'](/^\[|\]$/g,''),_0x451eba=_0x52e841[_0x1f885c(_0x486ad9._0x51f1a9,0x6d4,0x7d4,_0x486ad9._0x3ba6ac)]+'//'+_0x52e841[_0x2c4a6a(_0x486ad9._0x5ad679,0x29b,_0x486ad9._0x1b6bd1,0x3a0)]+_0x52e841[_0x2c4a6a(_0x486ad9._0x282423,_0x486ad9._0x4a6b3f,-0x8f,-0xa2)];if(isIP(_0x56521f)){if(isBlockedAddress(_0x56521f))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x451eba});return _0x52e841;}const _0x4b1fc8=_0x47c258[_0x2c4a6a(_0x486ad9._0x44a056,_0x486ad9._0x2cfe58,_0x486ad9._0x5604f9,-0x86)]??defaultLookup;let _0x4863e9;function _0x2c4a6a(_0x2e26cb,_0x2e2e0a,_0x489133,_0x1e0419){return _0x42cde8(_0x2e26cb-0x156,_0x2e2e0a-0xc2,_0x489133-_0x5ae3d4._0x2bfa93,_0x2e26cb);}try{_0x4863e9=await _0x4b1fc8(_0x56521f);}catch{throw new ToolExecutionError(_0x2c4a6a(_0x486ad9._0xccf1ae,_0x486ad9._0x13bf1b,_0x486ad9._0x1f27ac,_0x486ad9._0x39cd5f),{'url':_0x451eba});}if(_0x4863e9[_0x1f885c(_0x486ad9._0x265d8c,0x441,0x3f9,0x3aa)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x451eba});for(const {address:_0x245e8a}of _0x4863e9){if(isBlockedAddress(_0x245e8a))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x451eba});}return _0x52e841;}async function safeFetch(_0x4193af,_0x460117={},_0x607d3e={}){const _0x412d3a={_0xd7a885:0x1ca,_0x346e90:0x38f,_0x265013:0x25f,_0x18567e:0x3fb,_0x4ff46a:0x350,_0xc8ef43:0x3ae,_0x17ee4e:0x355,_0x171b07:0x5fe,_0x4db641:0x46a,_0x3ba239:0x31e,_0x47faac:0x413,_0x3fa83a:0x3bd,_0x2a3d4b:0x34c,_0x3aefc6:0x2ee,_0x2b6bee:0x5b4,_0x4b438a:0x4b6,_0x4fd29a:0x354},_0x1dd656={_0x2d9f1e:0x1b};function _0x59ee7a(_0x4e6da2,_0x56be3e,_0x2b7815,_0x5dd514){return _0x42cde8(_0x4e6da2-0x1dd,_0x2b7815-0x16c,_0x2b7815-0xba,_0x5dd514);}const _0x30a800=_0x607d3e[_0x2e1d20(_0x412d3a._0xd7a885,0x252,_0x412d3a._0x346e90,_0x412d3a._0x265013)]??fetch,_0x465d8c=_0x607d3e[_0x2e1d20(0x2f0,_0x412d3a._0x18567e,0x3dc,_0x412d3a._0x4ff46a)]??DEFAULT_MAX_REDIRECTS;let _0x1792da=_0x4193af;function _0x2e1d20(_0x50ab36,_0x1e3f46,_0x2af078,_0x37a2a6){return _0x48c1e5(_0x1e3f46-0x69,_0x1e3f46-_0x1dd656._0x2d9f1e,_0x37a2a6,_0x37a2a6-0x1a8);}for(let _0x437527=0x0;;_0x437527+=0x1){const _0x1ca73b=await assertPublicUrl(_0x1792da,_0x607d3e),_0x2561ef=await _0x30a800(_0x1ca73b[_0x59ee7a(0x380,0x437,0x2ee,0x290)](),{..._0x460117,'redirect':_0x59ee7a(_0x412d3a._0xc8ef43,0x3a4,_0x412d3a._0x17ee4e,0x47e)}),_0xa94665=_0x2561ef['headers'][_0x2e1d20(0x5a9,0x4c6,_0x412d3a._0x171b07,0x5b4)](_0x59ee7a(0x132,0x249,0x140,0x208));if(!REDIRECT_STATUSES[_0x59ee7a(_0x412d3a._0x4db641,0x34f,_0x412d3a._0x3ba239,_0x412d3a._0x47faac)](_0x2561ef['status'])||!_0xa94665)return _0x2561ef;if(_0x437527>=_0x465d8c)throw new ToolExecutionError('Too\x20many\x20redirects',{'url':_0x1ca73b[_0x59ee7a(_0x412d3a._0x3fa83a,_0x412d3a._0x2a3d4b,_0x412d3a._0x3aefc6,0x33b)]()});_0x1792da=new URL(_0xa94665,_0x1ca73b)[_0x2e1d20(_0x412d3a._0x2b6bee,_0x412d3a._0x4b438a,_0x412d3a._0x4fd29a,0x501)]();}}var USER_AGENT=_0x48c1e5(0x476,0x3ae,0x5b6,0x46f),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2a086f,_0x59e0ef){const _0x40daae={_0x2cacbd:0x4ae,_0x3c3c81:0x447,_0x1f5351:0x430,_0x39ae94:0x2ea,_0x2b8bc3:0x288,_0x2ad5e5:0x4e8,_0x50443c:0x50d,_0x6cd9bb:0x2d7,_0x55a910:0x366,_0x36b091:0x42c,_0x502bd1:0x1d8,_0x12c85f:0x25c},_0x40c814={_0x3f0810:0x59,_0x278802:0x249,_0xccd51f:0xd6},_0x3d7d21={_0x12e6de:0x34,_0x4269d3:0x19},_0x3cb0bc={_0x3fe931:0x1cf,_0x40784f:0x3b},_0x25ee20={_0xa681d6:0x23,_0x5b3857:0x1e7};function _0x25f876(_0x439d53,_0x2caf59,_0x9f52cf,_0x14a044){return _0x48c1e5(_0x439d53- -_0x25ee20._0xa681d6,_0x2caf59-_0x25ee20._0x5b3857,_0x9f52cf,_0x14a044-0x165);}const _0x12f61c=new AbortController(),_0x40fa97=setTimeout(()=>_0x12f61c[_0x2dd8fe(0x36b,0x3e9,0x2ab,0x44a)](new Error(_0x2dd8fe(0x48a,0x352,0x222,0x36f))),_0x59e0ef);function _0x2dd8fe(_0x22751a,_0x4a49fb,_0x4a6ab9,_0x150e1b){return _0x42cde8(_0x22751a-_0x3cb0bc._0x3fe931,_0x4a49fb-0x2e5,_0x4a6ab9-_0x3cb0bc._0x40784f,_0x22751a);}const _0x53f676=()=>_0x12f61c['abort'](_0x2a086f['reason']);return _0x2a086f[_0x2dd8fe(_0x40daae._0x2cacbd,_0x40daae._0x3c3c81,0x4a1,0x4f3)]?_0x12f61c[_0x2dd8fe(_0x40daae._0x1f5351,0x3e9,_0x40daae._0x39ae94,0x2e6)](_0x2a086f[_0x2dd8fe(0x3cd,0x431,0x447,0x513)]):_0x2a086f[_0x25f876(0x3cc,_0x40daae._0x2b8bc3,_0x40daae._0x2ad5e5,_0x40daae._0x50443c)](_0x2dd8fe(_0x40daae._0x6cd9bb,0x3e9,_0x40daae._0x55a910,_0x40daae._0x36b091),_0x53f676,{'once':!![]}),{'signal':_0x12f61c[_0x25f876(_0x40daae._0x502bd1,0x2a5,_0x40daae._0x12c85f,0x24c)],'cleanup':()=>{function _0x2a12bf(_0x5ee538,_0x2f0038,_0x5431cb,_0x8fa63f){return _0x2dd8fe(_0x8fa63f,_0x5431cb- -0x1a0,_0x5431cb-_0x3d7d21._0x12e6de,_0x8fa63f-_0x3d7d21._0x4269d3);}clearTimeout(_0x40fa97);function _0xd82873(_0x193586,_0x275073,_0x3ce504,_0x493922){return _0x25f876(_0x275073- -0x219,_0x275073-0x1b0,_0x3ce504,_0x493922-0x7a);}_0x2a086f[_0xd82873(0x12,_0x40c814._0x3f0810,0x1a0,-0xa3)](_0x2a12bf(0x28c,0x1bc,_0x40c814._0x278802,_0x40c814._0xccd51f),_0x53f676);}};}function createWebFetchTool(_0x2beb3f={}){const _0x5da741={_0x5aa11e:0x296,_0x3ce0a2:0x408,_0x4127b9:0x395,_0x4419ec:0x493,_0x8b8ab7:0x4eb,_0xe4be29:0x465,_0x2f8b11:0x3a5,_0x174d93:0x444,_0x1cca0f:0x4dc,_0x53b123:0x53d,_0x42c570:0x454,_0x1c3154:0x306,_0x8e0634:0x247,_0xa1de54:0x393,_0x32b5e0:0x2e,_0x530be7:0x1c8,_0x46afa2:0x216,_0x393b74:0x245,_0x5e915d:0xf4,_0x1ec4a8:0xa8,_0x5d430b:0x205,_0x48b072:0x19d,_0x1694b3:0xe7,_0x5dd0bd:0x5e,_0x56e8ce:0x10,_0x3604b2:0x86,_0x57d9a3:0x1c,_0x1b8528:0x538},_0x6a702f={_0x226757:0x1b6,_0x6783de:0x15e,_0x1aa8ef:0x36,_0x1b94b5:0x17c,_0x59627f:0x89,_0x56f1e4:0x21,_0x16bb98:0x6f,_0x28a662:0x7f,_0x58d211:0x53,_0x2b6748:0x362,_0xf801fb:0x7b,_0x427c08:0x9,_0x51a4aa:0x73,_0x32e41e:0x27,_0x4c41d4:0x12f,_0x348156:0x1a,_0x479e2f:0x6e,_0x948af5:0x93,_0x18e99f:0x56,_0x226897:0x63,_0x1dbf42:0x11,_0x23627d:0x15b,_0x136197:0x2bd,_0x23ae78:0x2a1,_0x275eeb:0x9,_0x19d91f:0xf,_0x584743:0x54,_0x338b7f:0x16e,_0x1f7a4c:0x179,_0x3dc8c8:0x56,_0x25af16:0xbb,_0x38d17a:0x25c,_0x16682a:0xfb,_0x1efc3d:0x96,_0x530b87:0xd1,_0x2b28f2:0x1e5,_0x2cc041:0x32,_0x48f5aa:0x185,_0x296146:0x9d,_0x5bdab9:0x51,_0x2cb5ca:0x1bc,_0xc0436d:0x34,_0x173f9e:0x2ac,_0x33e568:0x172},_0x460a85={_0x5e1dd2:0x533,_0x164817:0x190,_0x3bfe49:0x1e7},_0x2db6a2={_0x27fc1e:0x360},_0x1bfd50={_0x31cdeb:0x40f},_0x495d5e={_0x3ed36a:0xd1};function _0x295113(_0xe297ef,_0x1d56a0,_0x1ac4ac,_0x48edfd){return _0x42cde8(_0xe297ef-0x104,_0xe297ef- -_0x495d5e._0x3ed36a,_0x1ac4ac-0x8,_0x48edfd);}const _0x4f00dd=_0x2beb3f[_0x16b34c(_0x5da741._0x5aa11e,_0x5da741._0x3ce0a2,_0x5da741._0x4127b9,0x4c5)]??_0x16b34c(_0x5da741._0x4419ec,0x4e9,_0x5da741._0x8b8ab7,_0x5da741._0xe4be29),_0x368d3a=_0x2beb3f[_0x295113(-0x12b,-0x12,-0x129,0x4c)]??DEFAULT_TIMEOUT_MS2,_0x322c42=_0x2beb3f[_0x16b34c(_0x5da741._0x2f8b11,_0x5da741._0x174d93,_0x5da741._0x1cca0f,_0x5da741._0x53b123)],_0x21450d=new _0x411ddd({'headingStyle':'atx','codeBlockStyle':_0x16b34c(_0x5da741._0x42c570,0x53a,0x6a0,0x617),'bulletListMarker':'-'});function _0x16b34c(_0x1b490e,_0x51a63e,_0x4afdc7,_0x57f331){return _0x42cde8(_0x1b490e-0x93,_0x51a63e-_0x1bfd50._0x31cdeb,_0x4afdc7-0xec,_0x1b490e);}return _0x21450d[_0x16b34c(0x454,_0x5da741._0x1c3154,_0x5da741._0x8e0634,_0x5da741._0xa1de54)](['script',_0x295113(-0xb7,-_0x5da741._0x32b5e0,-0xcd,-_0x5da741._0x530be7),'noscript',_0x295113(-0x180,-0xf,-0x299,-0x261),_0x295113(-0x1b5,-_0x5da741._0x46afa2,-_0x5da741._0x393b74,-0x30b),_0x295113(-0xd,0x88,_0x5da741._0x5e915d,0x6e),_0x295113(_0x5da741._0x1ec4a8,_0x5da741._0x5d430b,_0x5da741._0x48b072,_0x5da741._0x1694b3),'aside']),defineTool({'name':_0x4f00dd,'description':_0x295113(-0xde,_0x5da741._0x5dd0bd,-0x1f6,_0x5da741._0x56e8ce),'inputSchema':{'type':'object','properties':{'description':{'type':_0x295113(_0x5da741._0x3604b2,0x1a0,-0x6e,_0x5da741._0x57d9a3)},'url':{'type':_0x16b34c(0x4c2,0x566,0x63e,_0x5da741._0x1b8528)}},'required':['url']},async *'execute'(_0x597de0,_0x317b29){const _0x379e63=(await assertPublicUrl(_0x597de0[_0xdeea54(-0x268,-0x2e2,-_0x6a702f._0x226757,-_0x6a702f._0x6783de)],{'lookup':_0x322c42}))['toString']();function _0x536690(_0x5f2cd5,_0x553698,_0x48d0c5,_0x1f0e97){return _0x16b34c(_0x1f0e97,_0x5f2cd5- -_0x2db6a2._0x27fc1e,_0x48d0c5-0x154,_0x1f0e97-0xa4);}if(_0x317b29['signal']['aborted'])throw new ToolExecutionError(_0x536690(_0x6a702f._0x1aa8ef,_0x6a702f._0x1b94b5,0x2f,_0x6a702f._0x59627f),{'url':_0x379e63});const _0x56b20c=createTimeoutSignal(_0x317b29['signal'],_0x368d3a);let _0x5bfa5a='',_0x5b45cf=0x0,_0x2f0893;try{const _0x2d550d=await safeFetch(_0x379e63,{'headers':{'User-Agent':USER_AGENT},'signal':_0x56b20c[_0x536690(-_0x6a702f._0x56f1e4,_0x6a702f._0x16bb98,-_0x6a702f._0x28a662,_0x6a702f._0x58d211)]},{'lookup':_0x322c42});if(!_0x2d550d['ok'])throw new ToolExecutionError(_0xdeea54(-0x307,-0xcb,-0x229,-_0x6a702f._0x2b6748)+_0x2d550d['status']+'\x20'+_0x2d550d[_0xdeea54(-_0x6a702f._0xf801fb,-_0x6a702f._0x427c08,_0x6a702f._0x51a4aa,-_0x6a702f._0x32e41e)],{'url':_0x379e63,'statusCode':_0x2d550d['status']});_0x5bfa5a=_0x2d550d['headers'][_0xdeea54(_0x6a702f._0x4c41d4,-_0x6a702f._0x348156,_0x6a702f._0x479e2f,_0x6a702f._0x948af5)](_0xdeea54(-_0x6a702f._0x18e99f,_0x6a702f._0x226897,-0x2e,-_0x6a702f._0x1dbf42))??'',_0x5b45cf=_0x2d550d[_0x536690(_0x6a702f._0x23627d,_0x6a702f._0x136197,_0x6a702f._0x23ae78,0x123)],_0x2f0893=await _0x2d550d[_0xdeea54(-0x121,-0x14c,-_0x6a702f._0x275eeb,0xc7)]();}catch(_0x4de38a){if(_0x4de38a instanceof ToolExecutionError)throw _0x4de38a;const _0x483317=_0x4de38a instanceof Error?_0x4de38a[_0x536690(-_0x6a702f._0x19d91f,-_0x6a702f._0x584743,_0x6a702f._0x338b7f,-_0x6a702f._0x1f7a4c)]:String(_0x4de38a);throw new ToolExecutionError(_0x483317,{'url':_0x379e63});}finally{_0x56b20c[_0xdeea54(-_0x6a702f._0x3dc8c8,0x9b,-_0x6a702f._0x25af16,0x3f)]();}const _0x12fe5c=new Date()[_0xdeea54(-_0x6a702f._0x38d17a,-0x22b,-_0x6a702f._0x16682a,-0x1d0)]();let _0x7d574,_0x370253;if(_0x5bfa5a[_0xdeea54(-0x30,-_0x6a702f._0x1efc3d,-_0x6a702f._0x530b87,-_0x6a702f._0x2b28f2)](_0x536690(0x28,-0x131,0xe2,-0x25)))_0x7d574='```json\x0a'+_0x2f0893+_0x536690(0x12d,_0x6a702f._0x2cc041,_0x6a702f._0x48f5aa,0x271),_0x370253=_0xdeea54(-_0x6a702f._0x296146,_0x6a702f._0x5bdab9,-0x58,0xb3);else _0x5bfa5a[_0x536690(0x102,_0x6a702f._0x2cb5ca,0x21f,_0x6a702f._0xc0436d)]('text/html')?(_0x7d574=_0x21450d['turndown'](_0x2f0893),_0x370253='markdown'):(_0x7d574=_0x2f0893,_0x370253='text');function _0xdeea54(_0x3a36a2,_0x165839,_0x38f063,_0x3af077){return _0x16b34c(_0x3af077,_0x38f063- -_0x460a85._0x5e1dd2,_0x38f063-_0x460a85._0x164817,_0x3af077-_0x460a85._0x3bfe49);}return yield createToolOutput(_0x7d574,{'url':_0x379e63,'contentType':_0x5bfa5a,'statusCode':_0x5b45cf,'format':_0x370253,'size':_0x2f0893[_0xdeea54(-_0x6a702f._0x173f9e,-_0x6a702f._0x33e568,-0x1d2,-0x2ce)],'fetchedAt':_0x12fe5c}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x48c1e5(0x41d,0x3aa,0x2bd,0x47e);function normalizeUrl(_0x22e768){const _0x3d3653={_0x4068e7:0x40b,_0x5c8ff3:0x2f0,_0x251877:0x318,_0x45f144:0x181,_0x5241a8:0x208,_0x363126:0x332,_0x12e019:0x27c,_0x1f3f65:0x12c,_0x12800f:0x8c,_0x20b775:0x41,_0x4c9013:0x1ce,_0x548443:0x6a,_0x1731aa:0x1af,_0x2b5adb:0x3aa,_0x5e8e85:0xfa},_0x3967ee={_0x43863d:0x67},_0x2cfdb0={_0x31a9c6:0xbe};function _0x469514(_0x2de5e5,_0xb8f524,_0x5b0378,_0x59020d){return _0x42cde8(_0x2de5e5-0x17f,_0xb8f524- -_0x2cfdb0._0x31a9c6,_0x5b0378-0x1dc,_0x5b0378);}function _0x3d8da5(_0xd4c0fc,_0x44bf6b,_0x394bfd,_0x17a220){return _0x48c1e5(_0xd4c0fc- -0x34,_0x44bf6b-0x45,_0x17a220,_0x17a220-_0x3967ee._0x43863d);}try{const _0x2cdef3=new URL(_0x22e768);for(const _0x109884 of['utm_source',_0x3d8da5(0x40b,_0x3d3653._0x4068e7,_0x3d3653._0x5c8ff3,_0x3d3653._0x251877),_0x469514(-0x1a,-_0x3d3653._0x45f144,-_0x3d3653._0x5241a8,-0x274),'utm_term',_0x3d8da5(0x222,0x1a2,_0x3d3653._0x363126,_0x3d3653._0x12e019),'gclid',_0x469514(-_0x3d3653._0x1f3f65,-_0x3d3653._0x12800f,-0x2c,_0x3d3653._0x20b775),_0x3d8da5(_0x3d3653._0x4c9013,_0x3d3653._0x548443,0x140,_0x3d3653._0x1731aa),_0x3d8da5(_0x3d3653._0x2b5adb,0x34e,0x477,0x260)]){_0x2cdef3['searchParams'][_0x469514(-0x232,-0x1bd,-_0x3d3653._0x5e8e85,-0x2a8)](_0x109884);}return _0x2cdef3['toString']();}catch{return _0x22e768;}}function cseDateRestrict(_0x25913d){const _0x394d58={_0x367dff:0x191,_0x3c7ba8:0x577,_0x4464a4:0x6f5,_0x9e1811:0x479,_0x348ab2:0x4e4,_0x41c860:0xf7,_0x44a87c:0x309},_0x3ca4eb={_0x322965:0x1db,_0x1d86ba:0xb3,_0x3eb376:0x112},_0x57d869={_0x2e44ee:0xbb,_0x482a4b:0x134};function _0x3d6e52(_0x444f6d,_0x2b1390,_0x5bae93,_0x4db71b){return _0x48c1e5(_0x444f6d-0x173,_0x2b1390-_0x57d869._0x2e44ee,_0x5bae93,_0x4db71b-_0x57d869._0x482a4b);}function _0x399889(_0x2698a9,_0x2f20f1,_0x2f5508,_0x23f27f){return _0x48c1e5(_0x23f27f- -_0x3ca4eb._0x322965,_0x2f20f1-_0x3ca4eb._0x1d86ba,_0x2f20f1,_0x23f27f-_0x3ca4eb._0x3eb376);}if(_0x25913d<=0x0)return void 0x0;if(_0x25913d<=0x1e)return'd'+Math[_0x399889(_0x394d58._0x367dff,0x1b9,0x168,0xd8)](0x1,Math[_0x3d6e52(_0x394d58._0x3c7ba8,_0x394d58._0x4464a4,_0x394d58._0x9e1811,0x691)](_0x25913d));if(_0x25913d<=0x16d)return'm'+Math[_0x3d6e52(_0x394d58._0x348ab2,0x4a7,0x49c,0x3a3)](_0x25913d/0x1e);return'y'+Math[_0x399889(0x22e,_0x394d58._0x41c860,_0x394d58._0x44a87c,0x196)](_0x25913d/0x16d);}function addSiteFilters(_0x57a1a3,_0x40bcbe){const _0x4f93bc={_0x4b5550:0x220,_0x3980b7:0x1ce,_0x458b93:0x5d4,_0x3742b4:0x4bf,_0x44179f:0xe,_0x3b61c3:0x149,_0x5611e0:0x33,_0x10716b:0x33d,_0x28b854:0x26b},_0x55aac4={_0x3069bc:0x11d,_0x3e924c:0x180},_0x2b8153={_0x4829dd:0x1ba,_0x482085:0x106};function _0xc50588(_0x2a3b67,_0xba550a,_0x2562cb,_0x8a0d1d){return _0x42cde8(_0x2a3b67-0x83,_0xba550a- -_0x2b8153._0x4829dd,_0x2562cb-_0x2b8153._0x482085,_0x2a3b67);}function _0x589e5f(_0x472bf9,_0x5405ae,_0x28ff9a,_0x2e0c57){return _0x42cde8(_0x472bf9-_0x55aac4._0x3069bc,_0x2e0c57-0x2ce,_0x28ff9a-_0x55aac4._0x3e924c,_0x28ff9a);}if(_0x40bcbe[_0x589e5f(0x280,0x15a,0x159,_0x4f93bc._0x4b5550)]===0x0)return _0x57a1a3[_0xc50588(-0x34,-0xe8,-_0x4f93bc._0x3980b7,-0x3e)]();return(_0x57a1a3+'\x20('+_0x40bcbe[_0x589e5f(_0x4f93bc._0x458b93,0x4e0,0x442,_0x4f93bc._0x3742b4)](_0x3902d0=>_0xc50588(-0x85,-0x16b,-0x1b1,-0x2e7)+_0x3902d0)[_0xc50588(_0x4f93bc._0x44179f,-_0x4f93bc._0x3b61c3,-0x2b5,_0x4f93bc._0x5611e0)]('\x20OR\x20')+')')[_0x589e5f(_0x4f93bc._0x10716b,_0x4f93bc._0x28b854,0x245,0x3a0)]();}function normalizeType(_0x28af79){const _0x2990f2={_0x4f5dab:0x400,_0x54e9d3:0x2a0,_0x1e4f5e:0x39f,_0x28ee71:0x405},_0x277e07={_0xcede84:0x91,_0xb05386:0x179},_0x2ac2d8={_0x1aad5f:0x32};function _0x109074(_0x4e02a2,_0x513f0d,_0x4ce363,_0x1a04f2){return _0x42cde8(_0x4e02a2-_0x2ac2d8._0x1aad5f,_0x4ce363-0x2bf,_0x4ce363-0x3b,_0x4e02a2);}function _0x36fd12(_0x26349f,_0x5371fa,_0x2269d3,_0x216284){return _0x48c1e5(_0x26349f- -0x7a,_0x5371fa-_0x277e07._0xcede84,_0x5371fa,_0x216284-_0x277e07._0xb05386);}return _0x28af79===_0x109074(0x3cc,0x42d,0x2d8,_0x2990f2._0x4f5dab)?_0x36fd12(0x26a,0x35a,0xfa,0x196):_0x109074(_0x2990f2._0x54e9d3,0x33d,_0x2990f2._0x1e4f5e,_0x2990f2._0x28ee71);}function _0x42cde8(_0x42024e,_0x20b8cc,_0x5e8d6e,_0x2da2b2){return _0x59f9(_0x20b8cc- -0x1a3,_0x2da2b2);}async function fetchJson(_0x38ae75,_0x4c0986,_0x7ba886){const _0x925ac7={_0x507a8c:0x3f1,_0x18796e:0x360,_0x5a5832:0x4bc,_0x462c1f:0x4a3,_0x1fd245:0x33c,_0x45706d:0x6be,_0x5e36a0:0x60b,_0x48f81c:0x50f,_0x47eb9c:0x5d4,_0x2a305b:0x4f7,_0x12a53e:0x302,_0x1e0ced:0x364,_0x3f8fc0:0x525,_0x27e368:0x734,_0x5cfd2e:0x433,_0x34c4f5:0x568,_0x201ab6:0x530,_0xc56dba:0x544,_0x3208b0:0x584,_0x1d5063:0x3da,_0x3600b2:0x5a9,_0x119548:0x325,_0x3d318d:0x3b0,_0x4983ef:0x524,_0x2f78a0:0x63f,_0xf625a2:0x527,_0x58699f:0x589,_0x1c3c16:0x373,_0x42e12d:0x4c2,_0x23f880:0x3e7,_0x477643:0x67e,_0xa0e254:0x456,_0x254d1f:0x4bf,_0x49d25c:0x356},_0x1588da={_0x148b3f:0x1ad},_0x1d27b3={_0x588913:0xb0,_0x3db080:0x41};function _0x5f003f(_0x42c7c1,_0x2de29f,_0x51eabc,_0x455f4){return _0x48c1e5(_0x2de29f-_0x1d27b3._0x588913,_0x2de29f-_0x1d27b3._0x3db080,_0x42c7c1,_0x455f4-0x143);}function _0x49925f(_0x52e754,_0x56979b,_0x16b940,_0x1f7ef9){return _0x48c1e5(_0x52e754-_0x1588da._0x148b3f,_0x56979b-0x7b,_0x16b940,_0x1f7ef9-0x2f);}const _0x1e3f57=await fetch(_0x38ae75,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x49925f(_0x925ac7._0x507a8c,_0x925ac7._0x507a8c,_0x925ac7._0x18796e,_0x925ac7._0x5a5832),..._0x7ba886?.[_0x49925f(_0x925ac7._0x462c1f,0x5d1,_0x925ac7._0x1fd245,0x5f5)]},'signal':_0x4c0986,..._0x7ba886});if(!_0x1e3f57['ok']){let _0x1fc1dc,_0x2d4a53;try{_0x1fc1dc=await _0x1e3f57[_0x49925f(0x593,_0x925ac7._0x45706d,0x44d,_0x925ac7._0x5e36a0)]();const _0x1fd935=JSON[_0x49925f(0x572,_0x925ac7._0x48f81c,0x4dd,_0x925ac7._0x47eb9c)](_0x1fc1dc),_0x592b28=typeof _0x1fd935[_0x49925f(0x619,0x74f,_0x925ac7._0x2a305b,0x4e0)]===_0x5f003f(_0x925ac7._0x12a53e,0x3c9,0x486,_0x925ac7._0x1e0ced)?_0x1fd935[_0x49925f(0x619,_0x925ac7._0x3f8fc0,0x586,_0x925ac7._0x27e368)][_0x5f003f(0x398,_0x925ac7._0x5cfd2e,_0x925ac7._0x34c4f5,0x46a)]:void 0x0;_0x2d4a53=_0x1fd935[_0x49925f(_0x925ac7._0x201ab6,_0x925ac7._0xc56dba,_0x925ac7._0x3208b0,0x643)]?.['message']??_0x1fd935[_0x5f003f(0x532,0x433,_0x925ac7._0x1d5063,_0x925ac7._0x3600b2)]?.['errors']?.[0x0]?.['message']??_0x592b28;}catch{}const _0x2b88e4=_0x2d4a53?_0x5f003f(_0x925ac7._0x119548,0x276,_0x925ac7._0x3d318d,0x32a)+_0x1e3f57[_0x49925f(_0x925ac7._0x4983ef,_0x925ac7._0x2f78a0,_0x925ac7._0xf625a2,_0x925ac7._0x58699f)]+':\x20'+_0x2d4a53:_0x49925f(_0x925ac7._0x1c3c16,0x260,_0x925ac7._0x42e12d,0x2f9)+_0x1e3f57[_0x5f003f(0x488,0x427,0x35e,_0x925ac7._0x23f880)]+'\x20'+_0x1e3f57[_0x5f003f(_0x925ac7._0x477643,0x512,_0x925ac7._0xa0e254,0x58e)];throw new ToolExecutionError(_0x2b88e4,{'statusCode':_0x1e3f57[_0x5f003f(_0x925ac7._0x254d1f,0x427,_0x925ac7._0x49d25c,0x396)],..._0x1fc1dc?{'body':_0x1fc1dc}:{}});}return await _0x1e3f57[_0x49925f(_0x925ac7._0xc56dba,0x579,0x5b9,0x413)]();}async function hydrateResults(_0x225559,_0x5a2950,_0x1410ee,_0x5b0620){const _0x9af93c={_0x400d17:0x19a,_0x277fca:0x88,_0x178231:0xd4,_0x547dc1:0xf7,_0x286288:0xb0,_0x259ed4:0x64},_0x52c40a={_0x346e60:0x195,_0x4e3879:0x53},_0x45a3d8={_0x5ab648:0x253,_0x569c12:0x33b,_0x5843b8:0x5cc,_0x2b8843:0x45e,_0x2d9b20:0x3c3,_0x35e39b:0x21,_0x1a520c:0xe7,_0xf5faa0:0x3c,_0x12b594:0x48d,_0xc5b271:0x2d,_0x2e5ef7:0x496,_0x2476bd:0x432,_0x32afb1:0x5a1,_0x5d605f:0xed,_0x5a5b02:0xfb,_0x1328ab:0x5a9,_0x45cb02:0x66,_0x5f0610:0xe9,_0x3e7ab5:0x67,_0x35e20e:0x499,_0xa9e5c9:0x436,_0x7144d3:0x500,_0x445524:0xc7,_0x50b347:0x8b,_0x462fc5:0x4,_0x5f1eba:0x9,_0x4cf860:0x40c,_0x47f8cc:0x4fd,_0x3977aa:0x497,_0x3de294:0x430,_0x2411d0:0x3e7,_0x335d75:0x55a,_0x553f83:0x634,_0x40b5f4:0x548,_0x3770d2:0x2df,_0x1ea643:0x37c,_0x717777:0x38a,_0x1fd0a2:0x4f9,_0x166fd1:0x4b0,_0x35094b:0x55f,_0x54c8bc:0x548,_0x12ceab:0x47f,_0x436545:0x178,_0x3f0960:0xe2,_0x249ca1:0x43,_0x3fa278:0x153,_0x535fee:0x464,_0x212beb:0x650,_0x59ac6b:0x14e,_0x120971:0xa},_0x4eb746={_0x127764:0x14b},_0x5cdad2={_0x3d33a4:0x19f,_0x34129e:0x1d0},_0xf753ab={_0x3d0f33:0x13b};function _0x3c2840(_0x1e7a25,_0x11eac1,_0x2c112a,_0x457a77){return _0x48c1e5(_0x1e7a25- -0x434,_0x11eac1-0xfe,_0x2c112a,_0x457a77-_0xf753ab._0x3d0f33);}const _0x5424bb=await Promise['all'](_0x225559[_0x47b5ba(0x171,0x316,0x16a,_0x9af93c._0x400d17)](0x0,0xa)[_0x3c2840(_0x9af93c._0x277fca,-_0x9af93c._0x178231,-_0x9af93c._0x547dc1,-_0x9af93c._0x286288)](async _0x5c7115=>{function _0x31c8e9(_0x3a340a,_0x53ac29,_0x1f8bc4,_0x184886){return _0x47b5ba(_0x3a340a-_0x5cdad2._0x3d33a4,_0x53ac29-_0x5cdad2._0x34129e,_0x1f8bc4,_0x184886-0x238);}function _0x4db65c(_0x1c2029,_0x175948,_0x4e259f,_0x1d610f){return _0x3c2840(_0x4e259f-0x188,_0x175948-0x199,_0x1d610f,_0x1d610f-_0x4eb746._0x127764);}try{const _0x371b0b=await safeFetch(_0x5c7115[_0x31c8e9(0x1cd,_0x45a3d8._0x5ab648,0x1e9,_0x45a3d8._0x569c12)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x5a2950,'Accept':_0x31c8e9(_0x45a3d8._0x5843b8,_0x45a3d8._0x2b8843,_0x45a3d8._0x2d9b20,0x4d9)},'signal':_0x1410ee},{'lookup':_0x5b0620});if(!_0x371b0b['ok'])return _0x5c7115;const _0x3468b6=await _0x371b0b[_0x4db65c(-0x3a,0x20e,0x13a,_0x45a3d8._0x35e39b)](),_0x5c6e0c=load(_0x3468b6),_0x50c8e6=_0x5c6e0c(_0x4db65c(0xeb,-_0x45a3d8._0x1a520c,0x8f,-_0x45a3d8._0xf5faa0))['attr'](_0x31c8e9(_0x45a3d8._0x12b594,0x5e9,0x402,0x500))||_0x5c6e0c(_0x4db65c(0x49,-_0x45a3d8._0xc5b271,-0x43,-0x134))[_0x31c8e9(_0x45a3d8._0x2e5ef7,0x46b,_0x45a3d8._0x2476bd,_0x45a3d8._0x32afb1)]()['text']()['trim'](),_0x465ab0=_0x5c6e0c('meta[name=\x27description\x27]')['attr'](_0x4db65c(0x117,_0x45a3d8._0x5d605f,0x152,_0x45a3d8._0x5a5b02))||_0x5c6e0c(_0x31c8e9(0x426,0x489,_0x45a3d8._0x1328ab,0x534))[_0x4db65c(0x14,-_0x45a3d8._0x45cb02,_0x45a3d8._0x5f0610,-_0x45a3d8._0x3e7ab5)](_0x31c8e9(0x5f5,_0x45a3d8._0x35e20e,_0x45a3d8._0xa9e5c9,_0x45a3d8._0x7144d3))||_0x5c7115[_0x4db65c(_0x45a3d8._0x445524,_0x45a3d8._0x50b347,-_0x45a3d8._0x462fc5,_0x45a3d8._0x5f1eba)],_0xdfe149=_0x5c6e0c('meta[property=\x27article:published_time\x27]')[_0x31c8e9(_0x45a3d8._0x4cf860,_0x45a3d8._0x47f8cc,0x59a,_0x45a3d8._0x3977aa)](_0x31c8e9(_0x45a3d8._0x3de294,_0x45a3d8._0x2411d0,_0x45a3d8._0x335d75,0x500))||_0x5c6e0c(_0x31c8e9(0x415,0x621,_0x45a3d8._0x553f83,_0x45a3d8._0x40b5f4))[_0x31c8e9(_0x45a3d8._0x1328ab,0x3f3,0x540,0x497)](_0x31c8e9(_0x45a3d8._0x3770d2,_0x45a3d8._0x1ea643,_0x45a3d8._0x717777,0x42b))||_0x5c7115[_0x31c8e9(0x41c,0x51d,_0x45a3d8._0x1fd0a2,_0x45a3d8._0x166fd1)],_0x208788=_0x5c6e0c(_0x31c8e9(_0x45a3d8._0x35094b,0x2e2,_0x45a3d8._0x54c8bc,0x432))[_0x31c8e9(0x4a5,_0x45a3d8._0x12ceab,0x4ae,0x497)](_0x4db65c(0x20c,_0x45a3d8._0x436545,0x1dc,_0x45a3d8._0x3f0960));return{..._0x5c7115,'title':_0x50c8e6||_0x5c7115[_0x4db65c(-0x198,0x3,-_0x45a3d8._0x249ca1,-_0x45a3d8._0x3fa278)],'snippet':_0x465ab0,'url':_0x208788?normalizeUrl(new URL(_0x208788,_0x5c7115['url'])[_0x31c8e9(0x3ec,_0x45a3d8._0x535fee,_0x45a3d8._0x212beb,0x54f)]()):_0x5c7115[_0x4db65c(0xe7,-_0x45a3d8._0x59ac6b,-0x73,_0x45a3d8._0x120971)],'publishedAt':_0xdfe149};}catch{return _0x5c7115;}}));function _0x47b5ba(_0xb82f20,_0x12cb31,_0x2a603c,_0x578296){return _0x42cde8(_0xb82f20-0xc0,_0x578296-_0x52c40a._0x346e60,_0x2a603c-_0x52c40a._0x4e3879,_0x2a603c);}const _0x321b8c=new Map(_0x225559['slice'](0x0,0xa)['map']((_0x36cc00,_0x7f697b)=>[_0x36cc00[_0x3c2840(-0x1fb,-0x21a,-0x192,-0x2c2)],_0x5424bb[_0x7f697b]]));return _0x225559[_0x3c2840(0x88,_0x9af93c._0x259ed4,-0xf3,-0x60)](_0x1340d8=>_0x321b8c[_0x3c2840(0x29,-0xd4,0xdc,-0xbd)](_0x1340d8[_0x47b5ba(0xcb,0x1c8,0x241,0x103)])??_0x1340d8);}function formatResults(_0x512185){const _0x32b483={_0x2313dd:0x31d,_0x26ef56:0x471},_0x49f39c={_0x4017b1:0xd4,_0x35574b:0x1ab,_0x427828:0x23a,_0x4c2159:0x1da,_0x38a82c:0xec,_0x16ace0:0xf6,_0x34f9fc:0x29,_0x2c7dca:0xa7,_0xe70871:0xe5,_0x1b4b42:0x32,_0x2c4592:0x9f,_0x1295f2:0x155,_0x202e12:0x210,_0x40e313:0x29,_0x2442c0:0x62,_0x57547b:0x1d2,_0x84d75b:0x15c,_0x30e71c:0xd8,_0x16d870:0x251},_0x5940fb={_0x2b9cef:0x514,_0x29d759:0x177},_0x248688={_0xd84d34:0xae},_0x4853ef={_0xa911be:0x100,_0x503a2c:0x1b,_0x1b7842:0x74};if(_0x512185[_0x4ad3d0(_0x32b483._0x2313dd,0x20f,_0x32b483._0x26ef56,0x36c)]===0x0)return'No\x20results\x20found.';function _0x4ad3d0(_0x5d838e,_0x30ad3d,_0xdaa221,_0x4b6402){return _0x48c1e5(_0x5d838e-_0x4853ef._0xa911be,_0x30ad3d-_0x4853ef._0x503a2c,_0x30ad3d,_0x4b6402-_0x4853ef._0x1b7842);}return _0x512185['map'](_0x53834c=>{function _0x507ee0(_0x28f837,_0x3c9ae7,_0x3da21b,_0x510e31){return _0x4ad3d0(_0x3da21b- -0x3da,_0x3c9ae7,_0x3da21b-0x196,_0x510e31-_0x248688._0xd84d34);}const _0x25f092=[_0x53834c[_0x17fae4(-0x1b,_0x49f39c._0x4017b1,-0xf4,0xa9)]['rank']+'.\x20'+_0x53834c[_0x17fae4(-_0x49f39c._0x35574b,-_0x49f39c._0x427828,-_0x49f39c._0x4c2159,-0x8b)],_0x53834c['url']];function _0x17fae4(_0x2e7e7d,_0xd9e6de,_0x3e0cca,_0x515de1){return _0x4ad3d0(_0x2e7e7d- -_0x5940fb._0x2b9cef,_0x515de1,_0x3e0cca-0x42,_0x515de1-_0x5940fb._0x29d759);}if(_0x53834c[_0x507ee0(0xba,-_0x49f39c._0x38a82c,-0x32,_0x49f39c._0x16ace0)])_0x25f092[_0x507ee0(0x8a,0x73,-_0x49f39c._0x34f9fc,-_0x49f39c._0x2c7dca)](_0x53834c[_0x507ee0(-0x1a6,-_0x49f39c._0xe70871,-_0x49f39c._0x1b4b42,-0x10e)]);if(_0x53834c[_0x507ee0(-_0x49f39c._0x2c4592,_0x49f39c._0x1295f2,0xd4,_0x49f39c._0x202e12)])_0x25f092[_0x507ee0(0x5a,-0x114,-_0x49f39c._0x40e313,-_0x49f39c._0x2442c0)](_0x17fae4(-_0x49f39c._0x57547b,-0x129,-0x88,-_0x49f39c._0x84d75b)+_0x53834c['publishedAt']);return _0x25f092[_0x17fae4(-_0x49f39c._0x30e71c,-0xbb,-0x28,-_0x49f39c._0x16d870)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x20b8e7,_0x18fef9,_0x581052){const _0x3d3e32={_0x3a5dde:0x101,_0x4df40b:0x1df,_0x277218:0x271,_0x28bb01:0x2d5,_0x5c9e07:0x10f,_0x464e79:0x1a3,_0xc5be87:0x185,_0x476a7d:0x292,_0x1c4872:0xa,_0x4e5f2b:0x27b,_0x4553d8:0x184,_0x2b5346:0x109,_0x3b3b7d:0x91,_0x551cc8:0x25,_0x460480:0x1e0,_0x425ecc:0x13c,_0x1e91e4:0x28b,_0x142930:0x367},_0x1d3d14={_0x30d28c:0x2d0,_0x4a4d6f:0x259,_0x164fa0:0x388,_0x316deb:0x480,_0x2e8a56:0x14d,_0x2c4d3d:0x21f,_0x2a91bf:0xd8,_0x49bf09:0x63},_0x4a66e7={_0xfb1c78:0x16,_0x550527:0x363},_0x5d5761={_0x1d1b75:0x47f,_0x584782:0x10f,_0x8a871b:0xda},_0x1c3db3={_0x50f0d2:0xeb,_0x390901:0x1e5},_0xdf9493=Math[_0x81242d(-_0x3d3e32._0x3a5dde,-0x1cc,-0x1f1,-0x27b)](0x1,Math['min'](0xa,_0x18fef9[_0x81242d(-_0x3d3e32._0x4df40b,-_0x3d3e32._0x277218,-_0x3d3e32._0x28bb01,-0x1ce)])),_0x49d557=addSiteFilters(_0x18fef9['query'],_0x18fef9[_0x81242d(-0x233,-_0x3d3e32._0x5c9e07,-0x3b,-0x227)]);function _0x2cb600(_0x4411f6,_0xc4d229,_0x3bb022,_0x4c3269){return _0x42cde8(_0x4411f6-_0x1c3db3._0x50f0d2,_0x4411f6- -_0x1c3db3._0x390901,_0x3bb022-0xca,_0x3bb022);}function _0x81242d(_0x283d1d,_0x56bfae,_0x3e6bf3,_0x1fd4d5){return _0x48c1e5(_0x56bfae- -_0x5d5761._0x1d1b75,_0x56bfae-_0x5d5761._0x584782,_0x1fd4d5,_0x1fd4d5-_0x5d5761._0x8a871b);}const _0x1c7a93=await fetchJson('https://ollama.com/api/web_search',_0x581052,{'method':_0x81242d(-_0x3d3e32._0x464e79,-_0x3d3e32._0xc5be87,-_0x3d3e32._0x476a7d,-_0x3d3e32._0x1c4872),'headers':{'Authorization':_0x2cb600(-0xe2,-0x18a,-0x67,-0x1c4)+_0x20b8e7[_0x81242d(-0x30b,-_0x3d3e32._0x4e5f2b,-0x345,-0x3de)]},'body':JSON[_0x81242d(-_0x3d3e32._0x4553d8,-0x6d,0x78,0xc6)]({'query':_0x49d557,'max_results':_0xdf9493})}),_0x2b9220=_0x1c7a93[_0x81242d(0x25,-_0x3d3e32._0x2b5346,-0x156,0x6)]??[],_0x522c95=_0x2b9220[_0x2cb600(0xc,-_0x3d3e32._0x3b3b7d,-_0x3d3e32._0x551cc8,-0x2d)]((_0x3b9972,_0x48f31a)=>{const _0x15dd9a=_0x3b9972[_0x5dd056(0x3b6,_0x1d3d14._0x30d28c,_0x1d3d14._0x4a4d6f,0x388)]||'';function _0x5dd056(_0x152359,_0x512f0b,_0x251568,_0x548c03){return _0x2cb600(_0x548c03-0x5ff,_0x512f0b-0x1d6,_0x251568,_0x548c03-0xb6);}let _0x156d10;try{_0x156d10=new URL(_0x15dd9a)[_0x33cce(_0x1d3d14._0x164fa0,_0x1d3d14._0x316deb,0x477,0x469)];}catch{_0x156d10=null;}function _0x33cce(_0x30df7d,_0x1ec6e8,_0x2d941e,_0x21132a){return _0x81242d(_0x30df7d-_0x4a66e7._0xfb1c78,_0x30df7d-_0x4a66e7._0x550527,_0x2d941e-0xcd,_0x1ec6e8);}return{'title':_0x3b9972[_0x33cce(_0x1d3d14._0x2e8a56,0x2b9,0x1d3,_0x1d3d14._0x2c4d3d)]||'Untitled','url':normalizeUrl(_0x15dd9a),'snippet':_0x3b9972['content']??null,'displayUrl':_0x156d10,'favicon':null,'publishedAt':null,'source':{'engine':_0x33cce(_0x1d3d14._0x2a91bf,0x70,0x150,_0x1d3d14._0x49bf09),'rank':_0x48f31a+0x1}};});return{'items':_0x522c95[_0x2cb600(-_0x3d3e32._0x460480,-0x234,-_0x3d3e32._0x425ecc,-0xf9)](0x0,_0xdf9493),'engine':_0x81242d(-0x18b,-_0x3d3e32._0x1e91e4,-_0x3d3e32._0x142930,-0x24b)};}async function searchTavily(_0x4dc5f4,_0x3f7e22,_0x16207c){const _0x421819={_0x578275:0x81,_0x5913aa:0x213,_0x27d1e8:0xd3,_0x3f6e72:0x3aa,_0x22a64e:0x31e,_0x5b2fb3:0x3d2,_0x47b4a2:0x273,_0x2fc8eb:0x389,_0x487efb:0x126,_0x34dc33:0x171,_0x3ff0dd:0x20e,_0x244b1b:0xee,_0x220a5f:0x10a,_0x41cf01:0x4c7,_0x366042:0x3ee,_0x10206e:0x180,_0x52931d:0x20c,_0x35ef53:0x2dc,_0x360029:0x17e,_0x57b6b1:0x2e7,_0xbb27c9:0x3fd,_0x474339:0x2a0,_0x37d15c:0x283,_0x5b2856:0x412,_0x319e14:0x22f,_0x21f41b:0x1f4,_0x4717b1:0x35a,_0x3573dd:0x3a5,_0x12e5ee:0x23b,_0x47dfdf:0x30e,_0x5137ce:0x5e,_0x39af35:0x229},_0x4198fb={_0x43501f:0x12c,_0x357f0:0x1a5,_0x2dcf0a:0x460,_0x1ad029:0x3b6,_0x5066dc:0x39f,_0x59658f:0x35,_0x4b61ee:0x36,_0xe1af43:0xe6,_0x2c33c5:0x1ad},_0x43fb12={_0x3e4aae:0x223,_0x2afda0:0x5a},_0x44bd60={_0x139def:0x1e4,_0x2036c6:0x138},_0x4b372f={_0x358f88:0x1d7,_0x8ba50a:0x190,_0x1d4281:0x1e9};function _0x1e190e(_0x1d0f43,_0x2bf21e,_0x1b6f3b,_0x53a8bd){return _0x42cde8(_0x1d0f43-_0x4b372f._0x358f88,_0x1b6f3b-_0x4b372f._0x8ba50a,_0x1b6f3b-_0x4b372f._0x1d4281,_0x1d0f43);}const _0x4dec6c=Math['max'](0x1,Math[_0x1e190e(0x1b3,0xa6,0x12d,0x16a)](0x14,_0x3f7e22[_0x1e190e(_0x421819._0x578275,_0x421819._0x5913aa,_0x421819._0x27d1e8,0x223)])),_0x4466b0={'query':_0x3f7e22[_0x1e190e(0x461,_0x421819._0x3f6e72,_0x421819._0x22a64e,_0x421819._0x5b2fb3)],'max_results':_0x4dec6c,'search_depth':_0x4dc5f4['searchDepth']??_0x5108db(0x176,0x230,_0x421819._0x47b4a2,0xfc),'topic':_0x4dc5f4[_0x5108db(0x265,_0x421819._0x2fc8eb,0x37a,0x3b8)]??_0x1e190e(0x33d,_0x421819._0x487efb,0x1c0,_0x421819._0x34dc33)};if(_0x3f7e22[_0x1e190e(_0x421819._0x3ff0dd,_0x421819._0x244b1b,0x235,_0x421819._0x220a5f)]['length']>0x0)_0x4466b0[_0x5108db(_0x421819._0x41cf01,0x349,_0x421819._0x366042,0x46f)]=_0x3f7e22['domains'];const _0x3a68a8=await fetchJson(_0x1e190e(_0x421819._0x10206e,_0x421819._0x52931d,0x24b,0x204),_0x16207c,{'method':_0x1e190e(_0x421819._0x35ef53,0x323,0x1bf,_0x421819._0x360029),'headers':{'Authorization':_0x5108db(0x3ab,_0x421819._0x57b6b1,_0x421819._0xbb27c9,0x23b)+_0x4dc5f4[_0x1e190e(_0x421819._0x474339,_0x421819._0x37d15c,0x355,_0x421819._0x5b2856)],'Content-Type':_0x5108db(0xf6,0x15d,0x24e,0x20c)},'body':JSON[_0x1e190e(_0x421819._0x319e14,0x360,0x2d7,_0x421819._0x21f41b)](_0x4466b0)}),_0x17bca4=_0x3a68a8[_0x1e190e(_0x421819._0x4717b1,_0x421819._0x3573dd,_0x421819._0x12e5ee,_0x421819._0x47dfdf)]??[];function _0x5108db(_0x36d7c6,_0x46081f,_0x4e89c3,_0x5e09ec){return _0x42cde8(_0x36d7c6-0x193,_0x46081f-_0x44bd60._0x139def,_0x4e89c3-_0x44bd60._0x2036c6,_0x36d7c6);}const _0x5e1d3b=_0x17bca4['map']((_0xf61240,_0x587108)=>{const _0xe4b01f={_0x13202f:0x9e},_0x1ce9ff=_0xf61240[_0x2db00f(-0xd1,-_0x4198fb._0x43501f,-_0x4198fb._0x357f0,0x69)]||'';function _0x2db00f(_0x624a62,_0x21b86a,_0x31b954,_0x1fd74a){return _0x5108db(_0x1fd74a,_0x624a62- -_0x43fb12._0x3e4aae,_0x31b954-0xe0,_0x1fd74a-_0x43fb12._0x2afda0);}let _0xf1cec9;function _0x558a03(_0x4c55c8,_0x282204,_0x47b6a7,_0x298304){return _0x5108db(_0x282204,_0x4c55c8-0x5f,_0x47b6a7-_0xe4b01f._0x13202f,_0x298304-0x41);}try{_0xf1cec9=new URL(_0x1ce9ff)[_0x558a03(0x41c,_0x4198fb._0x2dcf0a,_0x4198fb._0x1ad029,_0x4198fb._0x5066dc)];}catch{_0xf1cec9=null;}return{'title':_0xf61240['title']||_0x2db00f(0x182,0x227,0x4b,_0x4198fb._0x59658f),'url':normalizeUrl(_0x1ce9ff),'snippet':_0xf61240['content']??null,'displayUrl':_0xf1cec9,'favicon':null,'publishedAt':null,'source':{'engine':_0x2db00f(-_0x4198fb._0x4b61ee,-_0x4198fb._0xe1af43,0x77,-_0x4198fb._0x2c33c5),'rank':_0x587108+0x1}};});return{'items':_0x5e1d3b['slice'](0x0,_0x4dec6c),'engine':_0x1e190e(0x9b,_0x421819._0x5137ce,0x199,_0x421819._0x39af35)};}async function searchGoogleCse(_0x58a082,_0x3d6879,_0x2c1a9c){const _0x447c1a={_0x3d3135:0x45c,_0x1c0321:0x457,_0x56d3a6:0x50d,_0x308e42:0x29f,_0x5339d9:0x317,_0x3c1f17:0x49f,_0x23e315:0x497,_0x57ad30:0x229,_0x37cce4:0x386,_0x24fa3a:0x34e,_0xaee629:0x468,_0x33c830:0x6f1,_0x251155:0x545,_0x66b027:0x602,_0x3b5513:0x52d,_0x164a3c:0x599,_0x458cb8:0x519,_0x17933c:0x5d2,_0x1b629d:0x39a,_0x40f79b:0x601,_0x3fa4d9:0x353,_0x5c80f3:0x40b,_0x2415f2:0x401,_0x330efc:0x609,_0x8dd779:0x5cd,_0xa50338:0x3c0,_0x56020e:0x460,_0x347080:0x350,_0x2f06c4:0x440,_0x27839f:0x617,_0x396a1a:0x629,_0x2daacb:0x5dc,_0x3b0846:0x4e0,_0x69c94c:0x350,_0x4941f2:0x54d,_0x2f2ca0:0x3d9,_0x16f7c5:0x3ab,_0x434630:0x359,_0x23a6e1:0x29c,_0x13bac8:0x551,_0x4907f2:0x503,_0x3bafef:0x54d,_0x217fc0:0x3eb,_0x1dc274:0x4a5,_0x34be49:0x52b,_0x805738:0x687,_0x52264c:0x417,_0xb86f57:0x6ed,_0x4407ae:0x4cb,_0x2f4d76:0x4c3,_0x29a2db:0x41b,_0x5398a0:0x681,_0x556b0a:0x350,_0x51926d:0x2e7,_0x216a45:0x4ad,_0x2bfc07:0x60a,_0x1f686f:0x477,_0x1d107b:0x326,_0x5d130a:0x362,_0x5f3311:0x466,_0x92e220:0x56a,_0x2d9b5:0x477,_0x421ea4:0x57a,_0x556856:0x42c,_0xdb3d9:0x367,_0x2ffb41:0x375,_0x4e2a88:0x346,_0x92b26f:0x3b3,_0xec2afd:0x6a3,_0x51fa48:0x475,_0x46a8b8:0x413,_0x4fdeeb:0x3f0,_0x48f35b:0x2e0,_0x154fd6:0x54d,_0x2dd2ff:0x5dc,_0x304b46:0x326,_0x30f1f3:0x3f2,_0x4c03e3:0x469,_0x3d72c3:0x4ed,_0x4f94ea:0x46c,_0x49619:0x30f,_0x61292b:0x661,_0x339983:0x75d,_0x2dcbe8:0x5e2,_0x42e608:0x480,_0x69a0d9:0x616,_0x532c97:0x549,_0xbf9b20:0x4cc,_0x4a28f1:0x635,_0x3b37fc:0x765,_0x353081:0x4f7,_0x3363b5:0x451,_0x52ef00:0x2fb,_0x220d57:0x3cf,_0x354e64:0x487,_0x2faddb:0x4cb,_0x41b7e5:0x352,_0x389396:0x4d0,_0x46f5d6:0x6f4,_0x41721b:0x6a5,_0x5058ab:0x564,_0x5b4ee9:0x4ff,_0x2d16b5:0x515,_0x1a7590:0x4b0,_0x214b9e:0x3f7,_0x1af6d4:0x608,_0x5bb23e:0x5ad,_0x4e7796:0x58d,_0x3df145:0x5f9,_0x216086:0x54b,_0x582ca:0x3ec,_0xcf9a5d:0x3df,_0x5ac6d1:0x326,_0x2f6f4b:0x462,_0x583d3c:0x3ff,_0x43f25e:0x3c6,_0xe3b544:0x542,_0x571bdc:0x25e},_0x2726c6={_0x28537b:0xb0},_0x32fd8e={_0x5c259c:0x3d4},_0x3ef36e=Math[_0x59b62e(_0x447c1a._0x3d3135,0x48c,_0x447c1a._0x1c0321,_0x447c1a._0x56d3a6)](0x1,Math[_0x59b62e(0x411,0x587,0x301,0x3b4)](0x32,_0x3d6879[_0x4a0030(_0x447c1a._0x308e42,_0x447c1a._0x5339d9,0x2ef,0x3a4)]));if(_0x3d6879[_0x59b62e(0x426,0x54b,_0x447c1a._0x3c1f17,0x476)]+_0x3ef36e>0x64)throw new ToolExecutionError(_0x59b62e(0x4b8,_0x447c1a._0x23e315,0x437,0x35c),{'offset':_0x3d6879[_0x4a0030(_0x447c1a._0x57ad30,_0x447c1a._0x37cce4,0x20c,_0x447c1a._0x24fa3a)],'count':_0x3ef36e,'maxResults':0x64});const _0x35732a=cseDateRestrict(_0x3d6879[_0x59b62e(0x5e7,_0x447c1a._0xaee629,_0x447c1a._0x33c830,_0x447c1a._0x251155)]),_0x57cba1=addSiteFilters(_0x3d6879[_0x59b62e(_0x447c1a._0x66b027,_0x447c1a._0x3b5513,0x5fb,_0x447c1a._0x164a3c)],_0x3d6879[_0x59b62e(_0x447c1a._0x458cb8,_0x447c1a._0x17933c,_0x447c1a._0x1b629d,_0x447c1a._0x40f79b)]);function _0x4a0030(_0xeb6abf,_0x384e00,_0x4b28b9,_0x229d10){return _0x42cde8(_0xeb6abf-0x166,_0x384e00-_0x32fd8e._0x5c259c,_0x4b28b9-0xa0,_0xeb6abf);}let _0x274ee1=0x0,_0x5d36c3=_0x3d6879['offset']+0x1;const _0x385c38=[];while(_0x274ee1<_0x3ef36e){const _0x4f3a1d=Math[_0x4a0030(0x2dc,0x371,0x217,_0x447c1a._0x3fa4d9)](0xa,_0x3ef36e-_0x274ee1),_0xda4083=new URL(_0x4a0030(_0x447c1a._0x5c80f3,_0x447c1a._0x2415f2,0x492,0x54e));_0xda4083['searchParams'][_0x4a0030(_0x447c1a._0x330efc,0x4ad,0x3e5,0x5b1)](_0x59b62e(0x523,_0x447c1a._0x8dd779,0x636,0x681),_0x58a082[_0x59b62e(_0x447c1a._0xa50338,0x2eb,_0x447c1a._0x56020e,0x2b9)]),_0xda4083['searchParams']['set']('cx',_0x58a082['googleCseCx']),_0xda4083['searchParams']['set']('q',_0x57cba1),_0xda4083[_0x4a0030(0x2c2,_0x447c1a._0x347080,_0x447c1a._0x2f06c4,0x40c)]['set'](_0x59b62e(_0x447c1a._0x27839f,_0x447c1a._0x396a1a,_0x447c1a._0x2daacb,_0x447c1a._0x3b0846),String(_0x4f3a1d)),_0xda4083[_0x4a0030(0x346,_0x447c1a._0x69c94c,0x476,0x483)][_0x59b62e(_0x447c1a._0x4941f2,0x42a,0x433,_0x447c1a._0x2f2ca0)](_0x4a0030(_0x447c1a._0x16f7c5,_0x447c1a._0x434630,_0x447c1a._0x23a6e1,0x3cb),String(_0x5d36c3)),_0xda4083[_0x59b62e(0x3f0,0x2fb,_0x447c1a._0x13bac8,_0x447c1a._0x4907f2)][_0x59b62e(_0x447c1a._0x3bafef,_0x447c1a._0x217fc0,_0x447c1a._0x1dc274,0x449)](_0x59b62e(_0x447c1a._0x34be49,_0x447c1a._0x805738,0x66c,0x5cc),_0x3d6879[_0x4a0030(0x4c8,0x48b,_0x447c1a._0x52264c,0x348)]?'active':_0x4a0030(0x6b8,0x55c,0x3fb,0x4c2));_0x3d6879[_0x59b62e(0x644,_0x447c1a._0xb86f57,_0x447c1a._0x4407ae,0x57d)]&&(_0xda4083[_0x59b62e(0x3f0,_0x447c1a._0x2f4d76,0x3e7,0x27e)][_0x59b62e(0x54d,_0x447c1a._0x29a2db,0x653,0x635)]('hl',_0x3d6879[_0x4a0030(_0x447c1a._0x5398a0,0x5a4,0x70b,0x62e)]),_0xda4083[_0x4a0030(0x377,_0x447c1a._0x556b0a,_0x447c1a._0x51926d,0x427)][_0x4a0030(0x3be,_0x447c1a._0x216a45,_0x447c1a._0x2bfc07,0x40b)]('lr','lang_'+_0x3d6879['lang']));if(_0x3d6879[_0x59b62e(_0x447c1a._0x1f686f,0x329,0x3f4,_0x447c1a._0x1d107b)])_0xda4083[_0x59b62e(0x3f0,0x3fe,0x34c,_0x447c1a._0x5d130a)][_0x4a0030(0x486,0x4ad,_0x447c1a._0x5f3311,_0x447c1a._0x92e220)]('gl',_0x3d6879[_0x59b62e(_0x447c1a._0x2d9b5,_0x447c1a._0x421ea4,0x500,_0x447c1a._0x556856)][_0x4a0030(0x3db,0x315,_0x447c1a._0xdb3d9,0x45d)]());if(_0x3d6879[_0x59b62e(0x417,0x42f,0x3a1,_0x447c1a._0x2ffb41)]===_0x59b62e(0x48d,0x490,_0x447c1a._0x4e2a88,_0x447c1a._0x92b26f))_0xda4083['searchParams']['set'](_0x4a0030(_0x447c1a._0xec2afd,0x55f,_0x447c1a._0x51fa48,_0x447c1a._0x46a8b8),_0x59b62e(0x661,0x74d,0x642,0x669));if(_0x35732a)_0xda4083[_0x59b62e(_0x447c1a._0x4fdeeb,_0x447c1a._0x48f35b,0x323,0x40c)][_0x59b62e(_0x447c1a._0x154fd6,0x521,0x4b6,0x3d9)]('dateRestrict',_0x35732a);const _0x4b0fbe=await fetchJson(_0xda4083['toString'](),_0x2c1a9c),_0x2a362c=_0x4b0fbe[_0x59b62e(_0x447c1a._0x2dd2ff,0x721,0x484,_0x447c1a._0xaee629)]??[];if(_0x2a362c['length']===0x0)break;const _0x2d096d=_0x274ee1;for(let _0x329068=0x0;_0x329068<_0x2a362c[_0x4a0030(0x406,_0x447c1a._0x304b46,_0x447c1a._0x30f1f3,_0x447c1a._0x4c03e3)];_0x329068++){const _0x1eade3=_0x2a362c[_0x329068];if(!_0x1eade3)continue;const _0x16af18=_0x1eade3[_0x4a0030(_0x447c1a._0x3d72c3,_0x447c1a._0x4f94ea,_0x447c1a._0x49619,0x5b9)]||_0x1eade3[_0x59b62e(_0x447c1a._0x61292b,0x6b1,_0x447c1a._0x339983,_0x447c1a._0x2dcbe8)]?.[_0x59b62e(0x415,0x4e7,_0x447c1a._0x42e608,0x354)]||'',_0x5c2b78=_0x1eade3['title']||_0x1eade3[_0x4a0030(0x53e,0x5c1,0x722,_0x447c1a._0x69a0d9)]?.[_0x59b62e(0x412,_0x447c1a._0x532c97,_0x447c1a._0xbf9b20,0x2c3)]||_0x59b62e(_0x447c1a._0x4a28f1,_0x447c1a._0x3b37fc,0x74c,_0x447c1a._0x353081),_0x319083=_0x1eade3[_0x59b62e(_0x447c1a._0x3363b5,_0x447c1a._0x52ef00,0x571,_0x447c1a._0x220d57)]||_0x1eade3[_0x59b62e(_0x447c1a._0x354e64,_0x447c1a._0x2faddb,0x58a,_0x447c1a._0x41b7e5)]?.[_0x59b62e(0x623,_0x447c1a._0x389396,_0x447c1a._0x46f5d6,_0x447c1a._0x41721b)](/<[^>]+>/g,''),_0x3d98eb=_0x1eade3[_0x59b62e(0x5a8,_0x447c1a._0x5058ab,0x515,_0x447c1a._0x5b4ee9)]?.[_0x4a0030(_0x447c1a._0x2d16b5,_0x447c1a._0x1a7590,_0x447c1a._0x251155,_0x447c1a._0x214b9e)]?.[0x0]??{};let _0xdff7e;try{_0xdff7e=new URL(_0x16af18)[_0x4a0030(_0x447c1a._0x1af6d4,_0x447c1a._0x5bb23e,0x4cd,_0x447c1a._0x4e7796)];}catch{_0xdff7e=null;}_0x385c38['push']({'title':_0x5c2b78,'url':normalizeUrl(_0x16af18),'snippet':_0x319083??null,'displayUrl':_0xdff7e,'favicon':null,'publishedAt':_0x3d98eb[_0x4a0030(_0x447c1a._0x3df145,0x497,0x330,_0x447c1a._0x216086)]||_0x3d98eb[_0x4a0030(0x47b,_0x447c1a._0x582ca,_0x447c1a._0x4907f2,0x289)]||null,'source':{'engine':'google-cse','rank':_0x2d096d+_0x329068+0x1}});}_0x274ee1+=_0x2a362c[_0x59b62e(0x3c6,0x4f5,_0x447c1a._0xcf9a5d,0x266)],_0x5d36c3+=_0x2a362c[_0x4a0030(0x2c2,_0x447c1a._0x5ac6d1,_0x447c1a._0x2f6f4b,_0x447c1a._0x583d3c)];if(_0x2a362c[_0x59b62e(_0x447c1a._0x43f25e,_0x447c1a._0xe3b544,0x406,0x273)]<_0x4f3a1d)break;}function _0x59b62e(_0x17c0da,_0x174555,_0x458cab,_0x22511e){return _0x42cde8(_0x17c0da-_0x2726c6._0x28537b,_0x17c0da-0x474,_0x458cab-0xfa,_0x22511e);}return _0x385c38[_0x4a0030(_0x447c1a._0x571bdc,0x3d9,0x472,0x4fe)](0x0,_0x3ef36e);}function isGoogleCseEngine(_0x2b3442){const _0x2c42ee={_0xce2d1e:0xe6},_0x2db3fb={_0x5c41d7:0x9b,_0x2036dd:0xd9};function _0x5f18ee(_0x271653,_0x46e55f,_0x2ead7e,_0x43cc70){return _0x42cde8(_0x271653-0x82,_0x46e55f- -_0x2db3fb._0x5c41d7,_0x2ead7e-_0x2db3fb._0x2036dd,_0x271653);}return _0x5f18ee(-0x106,-0x14f,-_0x2c42ee._0xce2d1e,-0x156)in _0x2b3442;}function isOllamaEngine(_0x4d18d9){const _0x4fe299={_0x5eb189:0x18d,_0x49feb8:0x58},_0x23b00f={_0x4bb35b:0xa8,_0x517b0e:0x254,_0x40e97d:0x199};function _0x2966e0(_0x55e486,_0x25405f,_0x3344d9,_0x551ebf){return _0x42cde8(_0x55e486-_0x23b00f._0x4bb35b,_0x3344d9-_0x23b00f._0x517b0e,_0x3344d9-_0x23b00f._0x40e97d,_0x25405f);}return _0x2966e0(0x17b,0x28d,_0x4fe299._0x5eb189,_0x4fe299._0x49feb8)in _0x4d18d9;}function isTavilyEngine(_0x174393){const _0x5ab3a8={_0x4a7074:0x1bd,_0x4dbdf3:0x2b4,_0x4dbd87:0xdf,_0x5be756:0x331},_0x76ff97={_0x12ddc4:0x2d3};function _0x489f57(_0x3826da,_0x1061db,_0x4e55ba,_0x2918a7){return _0x48c1e5(_0x3826da- -_0x76ff97._0x12ddc4,_0x1061db-0x13,_0x2918a7,_0x2918a7-0xae);}return _0x489f57(_0x5ab3a8._0x4a7074,_0x5ab3a8._0x4dbdf3,_0x5ab3a8._0x4dbd87,_0x5ab3a8._0x5be756)in _0x174393;}function createWebSearchTool(_0x477007){const _0x536e2b={_0x434e37:0x10d,_0x18f38f:0x4b,_0x431c39:0x78,_0x3d5d2e:0xa6,_0x38c8be:0x66,_0x1d8082:0x29a,_0x2e1490:0x2e0,_0x406b07:0x1bb,_0x1b4131:0x40d,_0x26a968:0x51f,_0x153de0:0x321,_0x429490:0x2ad,_0x4e6dc8:0x2a9,_0x12a3a6:0x38c,_0x3e74f5:0x1e3,_0xad56e2:0x1b4,_0x128b87:0x237,_0x5430db:0x557,_0x477e9b:0x430,_0x5ebafe:0x3f4,_0x430f77:0x8f,_0x9f5f7f:0xc3,_0x3e2057:0x557,_0x325399:0x454,_0x1b3b9e:0x58e,_0x3842ca:0x159,_0x23becf:0x26b,_0x59db41:0x557,_0x48bae5:0x613,_0x158c34:0x4fe,_0x21b01f:0x4d1,_0x5acdad:0x643,_0x4f19a3:0x413,_0x36121e:0x4f,_0x2125a3:0x9c,_0x352104:0x128,_0x2186e6:0x1ac},_0xd792bc={_0x578589:0x3fd,_0x262fdb:0x330,_0x471aff:0x418,_0x3cedad:0x23f,_0xf81d6b:0x270,_0x1bc47d:0x36b,_0x4c2ebb:0x358,_0x5ad63c:0x29b,_0x1d9b6f:0x419,_0x4cdffc:0x232,_0x1eac8d:0x201,_0x5d9340:0x231,_0xbb734e:0x189,_0xb5077f:0x392,_0x3151ee:0x21d,_0x4f12ae:0x41a,_0x2def97:0x393,_0x477a6f:0x355,_0x371fcc:0x374,_0x559b15:0x333,_0x4d0830:0x2f2,_0x52e79b:0x28b,_0x1b38dc:0x32a,_0x420035:0x1ee,_0x4d8673:0x369,_0x1a5cbe:0x457,_0x377003:0x4c9,_0x621de4:0x397,_0x48f6a2:0x191,_0x3e6d39:0x208,_0x4e9b64:0x2aa,_0x2fedb0:0x2ba,_0x3321ed:0x1e8,_0x30d6d9:0x3e5,_0x325ea5:0x456,_0x4c4187:0x326,_0x479d46:0x1a9,_0x28239e:0x2dd,_0x1227b9:0xdf,_0x21bd60:0x457,_0x77d221:0x5bc,_0xb1dd20:0x456,_0x81bf32:0x3bd,_0x5863d3:0x187,_0x239a39:0x1e1,_0x4f2392:0x240,_0x1e73cc:0x1cf,_0x1fc942:0x595,_0x43170b:0x3f3,_0x516857:0x1da,_0xc12f2b:0x4ef,_0x13574d:0x430,_0x5b327a:0x1b8,_0x54a227:0x31a,_0x97d24b:0x52c,_0xdc733b:0x40c,_0x4e9176:0x459,_0x51ea9f:0x118,_0x1a7865:0x23f,_0x3e7867:0x240,_0x3e22d4:0x385,_0x12f518:0x2d9,_0x550285:0x25a,_0x11f496:0x3c8,_0x5aaf62:0x3e0,_0x334a46:0x5cf,_0x2660c6:0x2ef,_0x28ffec:0x3fb,_0x2c50fd:0x403,_0x5048ec:0x490,_0x2a9c8e:0x4be,_0xf61cbb:0x501,_0x3d9f33:0x45e,_0x74055c:0x2f1,_0x241468:0x19f,_0x486384:0x32d,_0x47ef73:0x182,_0x1b6df6:0x365,_0x3b20e5:0x481,_0x1efa13:0x88,_0x5bda32:0x72,_0x49cc0f:0x2a4,_0x5f10f8:0x2b0,_0x4086ed:0x2a0,_0x481a43:0x14f,_0x38c752:0x4f3,_0x2572b6:0x647,_0x8225cb:0x55b},_0x3208e6={_0xb27dbe:0x58,_0x1691af:0x143},_0x56438b={_0x23e91b:0x191},_0x418fc9={_0x14e2b9:0x135,_0x56ae1c:0x183},_0x1a16ef={_0x50a778:0x4f5};if(!_0x477007[_0xdbd89c(_0x536e2b._0x434e37,-_0x536e2b._0x18f38f,_0x536e2b._0x431c39,0xf9)]||_0x477007[_0xdbd89c(0xda,-0x4b,_0x536e2b._0x3d5d2e,-_0x536e2b._0x38c8be)][_0x21bdd1(0x352,0x3b8,0x43e,_0x536e2b._0x1d8082)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0xdbd89c(_0x593779,_0x51dff4,_0x27a603,_0x36ef2a){return _0x48c1e5(_0x51dff4- -_0x1a16ef._0x50a778,_0x51dff4-0xa6,_0x593779,_0x36ef2a-0x17f);}const _0x254678=_0x477007[_0xdbd89c(-_0x536e2b._0x2e1490,-0x231,-0x17c,-_0x536e2b._0x406b07)]??_0x21bdd1(_0x536e2b._0x1b4131,0x512,_0x536e2b._0x26a968,0x411);function _0x21bdd1(_0x5cba06,_0x268cb4,_0x1c8e4e,_0x4e4987){return _0x48c1e5(_0x5cba06-_0x418fc9._0x14e2b9,_0x268cb4-0x9a,_0x1c8e4e,_0x4e4987-_0x418fc9._0x56ae1c);}const _0x37dac9=_0x477007[_0xdbd89c(-_0x536e2b._0x153de0,-0x1f5,-0x340,-0x25b)];return defineTool({'name':_0x254678,'description':_0xdbd89c(-_0x536e2b._0x429490,-_0x536e2b._0x4e6dc8,-_0x536e2b._0x12a3a6,-0x284),'inputSchema':{'type':'object','properties':{'description':{'type':'string'},'query':{'type':'string'},'count':{'type':'number'},'offset':{'type':_0xdbd89c(-_0x536e2b._0x3e74f5,-_0x536e2b._0xad56e2,-0xc9,-0x31e)},'domains':{'type':_0xdbd89c(-_0x536e2b._0x128b87,-0x124,-0x4,-0x17c),'items':{'type':_0x21bdd1(_0x536e2b._0x5430db,_0x536e2b._0x477e9b,0x6bc,_0x536e2b._0x5ebafe)}},'recencyDays':{'type':_0xdbd89c(-0x10e,-0x1b4,-_0x536e2b._0x430f77,-_0x536e2b._0x9f5f7f)},'lang':{'type':_0x21bdd1(_0x536e2b._0x3e2057,0x51c,_0x536e2b._0x325399,_0x536e2b._0x1b3b9e)},'region':{'type':_0x21bdd1(_0x536e2b._0x3e2057,0x628,0x4e2,0x3e1)},'safe':{'type':_0xdbd89c(-0x42,-_0x536e2b._0x3842ca,0x2,-_0x536e2b._0x23becf)},'type':{'type':_0x21bdd1(_0x536e2b._0x59db41,_0x536e2b._0x48bae5,_0x536e2b._0x158c34,0x588)},'hydrateMeta':{'type':_0x21bdd1(_0x536e2b._0x21b01f,0x647,_0x536e2b._0x5acdad,_0x536e2b._0x4f19a3)}},'required':[_0xdbd89c(-_0x536e2b._0x36121e,-_0x536e2b._0x2125a3,-_0x536e2b._0x352104,-_0x536e2b._0x2186e6)]},async *'execute'(_0x33abad,_0x3bcdb5){const _0x176aa0={_0x2a61ce:0xcd,_0xccf07b:0x1a9,_0x1ed98f:0x65,_0x306d84:0x285,_0x5d3db0:0x3af},_0x318566={_0x5ab3d7:0x190,_0x576616:0x26e},_0x26f9ad=_0x33abad[_0x479288(_0xd792bc._0x578589,0x416,0x2d8,0x3b6)][_0x479288(_0xd792bc._0x262fdb,0x35a,_0xd792bc._0x471aff,0x21d)]();if(!_0x26f9ad)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x2be1b8={'query':_0x26f9ad,'count':Math[_0x479288(_0xd792bc._0x3cedad,_0xd792bc._0xf81d6b,_0xd792bc._0x1bc47d,0x32c)](0x1,Math[_0x479288(0x101,0x225,0x2bc,0x19d)](0x32,Math[_0x7e202f(_0xd792bc._0x4c2ebb,0x1ce,_0xd792bc._0x5ad63c,_0xd792bc._0x1d9b6f)](_0x33abad[_0x7e202f(_0xd792bc._0x4cdffc,_0xd792bc._0x1eac8d,_0xd792bc._0x5d9340,0x30d)]??0xa))),'offset':Math['max'](0x0,Math[_0x7e202f(0x3a2,_0xd792bc._0xbb734e,0x29b,0x1fb)](_0x33abad[_0x479288(0x127,0x23a,_0xd792bc._0xb5077f,_0xd792bc._0x3151ee)]??0x0)),'domains':_0x33abad[_0x7e202f(0x299,_0xd792bc._0x4f12ae,_0xd792bc._0x2def97,_0xd792bc._0x477a6f)]??[],'recencyDays':Math[_0x479288(0x304,0x270,_0xd792bc._0x371fcc,_0xd792bc._0x559b15)](0x0,Math['trunc'](_0x33abad['recencyDays']??0x0)),'lang':_0x33abad[_0x479288(0x5a3,0x458,0x57d,_0xd792bc._0x4d0830)]??'en','region':_0x33abad[_0x479288(0x2ef,_0xd792bc._0x52e79b,_0xd792bc._0x1b38dc,_0xd792bc._0x420035)]??'','safe':_0x33abad[_0x7e202f(0x494,_0xd792bc._0x4d8673,0x3a5,_0xd792bc._0x1a5cbe)]??!![],'type':normalizeType(_0x33abad['type']),'hydrateMeta':_0x33abad[_0x7e202f(0x433,0x529,_0xd792bc._0x377003,0x446)]??![]};let _0x6303a9=[];function _0x7e202f(_0x41d47f,_0x3c4e59,_0x23ba0b,_0x4420bd){return _0xdbd89c(_0x41d47f,_0x23ba0b-0x518,_0x23ba0b-0xb6,_0x4420bd-_0x56438b._0x23e91b);}let _0x1d4f5e=_0x7e202f(_0xd792bc._0x621de4,_0xd792bc._0x48f6a2,0x305,0x24d);for(const _0x510f51 of _0x477007[_0x7e202f(0x5ac,0x353,0x4cd,_0xd792bc._0x477a6f)]){try{if(isGoogleCseEngine(_0x510f51))_0x6303a9=await searchGoogleCse(_0x510f51,_0x2be1b8,_0x3bcdb5['signal']),_0x1d4f5e=_0x7e202f(_0xd792bc._0x3e6d39,_0xd792bc._0x4e9b64,_0xd792bc._0x2fedb0,_0xd792bc._0x3321ed);else{if(isOllamaEngine(_0x510f51)){const _0x10fb0c=await searchOllama(_0x510f51,_0x2be1b8,_0x3bcdb5['signal']);_0x6303a9=_0x10fb0c[_0x7e202f(_0xd792bc._0x30d6d9,0x3f0,_0xd792bc._0x325ea5,0x3fe)],_0x1d4f5e=_0x10fb0c[_0x479288(_0xd792bc._0x4c4187,_0xd792bc._0x479d46,0x19d,0xbb)];}else{if(isTavilyEngine(_0x510f51)){const _0x16f7a8=await searchTavily(_0x510f51,_0x2be1b8,_0x3bcdb5[_0x479288(_0xd792bc._0x28239e,0x1b8,_0xd792bc._0x1227b9,0x261)]);_0x6303a9=_0x16f7a8[_0x7e202f(_0xd792bc._0x21bd60,_0xd792bc._0x77d221,_0xd792bc._0xb1dd20,_0xd792bc._0x81bf32)],_0x1d4f5e=_0x16f7a8['engine'];}}}if(_0x6303a9[_0x7e202f(_0xd792bc._0x5863d3,_0xd792bc._0x239a39,_0xd792bc._0x4f2392,_0xd792bc._0x1e73cc)]>0x0)break;}catch(_0x5ad464){if(_0x510f51===_0x477007[_0x479288(_0xd792bc._0x1fc942,0x467,_0xd792bc._0x43170b,0x46d)][_0x477007['engines'][_0x479288(0xd6,_0xd792bc._0x516857,0xd2,0x26d)]-0x1])throw _0x5ad464;}}function _0x479288(_0x214041,_0x35f63e,_0x711df8,_0x2e8524){return _0x21bdd1(_0x35f63e- -0x178,_0x35f63e-_0x3208e6._0xb27dbe,_0x2e8524,_0x2e8524-_0x3208e6._0x1691af);}_0x2be1b8[_0x7e202f(0x5a7,_0xd792bc._0xc12f2b,0x4c9,_0xd792bc._0x13574d)]&&_0x6303a9['length']>0x0&&(_0x6303a9=await hydrateResults(_0x6303a9,_0x2be1b8['lang'],_0x3bcdb5[_0x479288(0x188,_0xd792bc._0x5b327a,_0xd792bc._0x54a227,0xf2)],_0x37dac9));const _0x958342=new Set();_0x6303a9=_0x6303a9[_0x479288(_0xd792bc._0x97d24b,_0xd792bc._0xdc733b,0x4a6,0x4f3)](_0xd5ccaf=>{const _0x4c59a1=_0xd5ccaf[_0x5d6413(_0x176aa0._0x2a61ce,_0x176aa0._0xccf07b,-_0x176aa0._0x1ed98f,0xd6)][_0x5d6413(0x1dc,_0x176aa0._0x306d84,0x357,0x29d)]();function _0x5d6413(_0x5155b9,_0x169334,_0x46196d,_0x28a109){return _0x479288(_0x5155b9-0x189,_0x28a109- -0x120,_0x46196d-0x2e,_0x46196d);}function _0x3cce17(_0x5cd3fa,_0x131d08,_0x109e41,_0x4a3edc){return _0x7e202f(_0x109e41,_0x131d08-_0x318566._0x5ab3d7,_0x4a3edc- -_0x318566._0x576616,_0x4a3edc-0x156);}if(!_0x4c59a1||_0x958342[_0x5d6413(0x273,_0x176aa0._0x5d3db0,0x3c6,0x31a)](_0x4c59a1))return![];return _0x958342['add'](_0x4c59a1),!![];}),_0x6303a9=_0x6303a9[_0x7e202f(0x5de,0x3ad,0x4df,0x5ee)]((_0x2824bd,_0x3cf9b6)=>({..._0x2824bd,'source':{..._0x2824bd[_0x7e202f(0x305,0x455,0x41c,0x3b4)],'rank':_0x3cf9b6+0x1}}));const _0x24c9f1={};if(_0x2be1b8[_0x7e202f(0x225,_0xd792bc._0x4e9176,0x393,0x28a)][_0x7e202f(_0xd792bc._0x51ea9f,_0xd792bc._0x1a7865,_0xd792bc._0x3e7867,_0xd792bc._0x3e22d4)]>0x0)_0x24c9f1['domains']=_0x2be1b8[_0x479288(_0xd792bc._0x12f518,0x32d,_0xd792bc._0x550285,_0xd792bc._0x11f496)];if(_0x2be1b8[_0x7e202f(_0xd792bc._0x5aaf62,_0xd792bc._0x334a46,0x461,_0xd792bc._0x2660c6)]>0x0)_0x24c9f1[_0x479288(0x3ce,_0xd792bc._0x28ffec,0x517,_0xd792bc._0x2c50fd)]=_0x2be1b8[_0x7e202f(_0xd792bc._0x5048ec,0x4cf,0x461,0x30c)];if(_0x2be1b8['lang']!=='en')_0x24c9f1[_0x7e202f(0x5eb,0x4af,_0xd792bc._0x2a9c8e,_0xd792bc._0xf61cbb)]=_0x2be1b8['lang'];if(_0x2be1b8[_0x7e202f(0x391,_0xd792bc._0x3d9f33,_0xd792bc._0x74055c,_0xd792bc._0x241468)])_0x24c9f1[_0x479288(_0xd792bc._0x486384,_0xd792bc._0x52e79b,_0xd792bc._0x47ef73,_0xd792bc._0x1b6df6)]=_0x2be1b8['region'];return yield createToolOutput(formatResults(_0x6303a9),{'engine':_0x1d4f5e,'count':_0x6303a9['length'],'items':_0x6303a9,'query':_0x2be1b8['query'],...Object[_0x7e202f(0x410,_0xd792bc._0x3b20e5,0x42c,0x39b)](_0x24c9f1)[_0x479288(_0xd792bc._0x1efa13,0x1da,_0xd792bc._0x5bda32,_0xd792bc._0x49cc0f)]>0x0?{'appliedFilters':_0x24c9f1}:{},'offset':_0x2be1b8[_0x7e202f(_0xd792bc._0x5f10f8,0x38a,_0xd792bc._0x4086ed,_0xd792bc._0x481a43)],'totalRequested':_0x2be1b8['count'],'hydrated':_0x2be1b8[_0x7e202f(_0xd792bc._0x38c752,_0xd792bc._0x2572b6,_0xd792bc._0x377003,_0xd792bc._0x8225cb)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|