@nuvin/agent-core 0.1.0-rc.9 → 0.1.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-BLGBVFVX.js +1 -0
- package/dist/chunk-D5IVWJHX.js +1 -0
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-NYZR4XKO.js +1 -1
- package/dist/chunk-UIXQPCSN.js +1 -0
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YWQXXHHU.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/chat-model.d.ts +3 -1
- package/dist/models/index.js +1 -1
- package/dist/models/mock-model.d.ts +2 -0
- package/dist/models/openai-model.d.ts +4 -0
- package/dist/models/openai-surfaces.d.ts +3 -0
- package/dist/models/routed-model.d.ts +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 +8 -0
- package/dist/tools/bash-tool.d.ts +11 -0
- package/dist/tools/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-LIJXXCAA.js +0 -1
- package/dist/chunk-MO47BDD7.js +0 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5cd5bf,_0x1e1858){const _0x2feadc={_0x3ddda9:0x42f,_0x2d7c06:0x23a,_0x237f18:0x19d,_0x8b326a:0x279,_0x482291:0x37f,_0x5647b4:0x40f,_0x478135:0x200,_0x459ff2:0x30b,_0x5d22ef:0x304,_0x1a98f1:0x448,_0x5ef89a:0x316,_0x51231d:0x243,_0x1de341:0x350,_0x52ef8e:0x578,_0x1b31ae:0x422,_0x2a30c6:0x2c0,_0x43f57f:0x20e,_0x1b566e:0x27f,_0x44c9f0:0x38a,_0x3b7740:0x20d},_0x335709={_0x6295cc:0x6};function _0x456a6a(_0x4ea1bd,_0x4755d1,_0x524e28,_0x1c0bc9){return _0x5a72(_0x524e28- -0x26,_0x1c0bc9);}const _0x4a4ce1=_0x5cd5bf();function _0x1b3a5e(_0x1e010b,_0x416556,_0x2c863c,_0x539809){return _0x5a72(_0x1e010b- -_0x335709._0x6295cc,_0x539809);}while(!![]){try{const _0x90159b=parseInt(_0x456a6a(0x4a3,_0x2feadc._0x3ddda9,0x335,_0x2feadc._0x2d7c06))/0x1+parseInt(_0x456a6a(0x2dd,_0x2feadc._0x237f18,_0x2feadc._0x8b326a,0x1d7))/0x2*(-parseInt(_0x456a6a(0x335,_0x2feadc._0x482291,0x353,_0x2feadc._0x5647b4))/0x3)+parseInt(_0x1b3a5e(0x29e,0x3b6,0x280,0x2c9))/0x4+parseInt(_0x456a6a(_0x2feadc._0x478135,0x36a,_0x2feadc._0x459ff2,0x3c2))/0x5*(parseInt(_0x1b3a5e(0x395,_0x2feadc._0x5d22ef,_0x2feadc._0x1a98f1,_0x2feadc._0x5ef89a))/0x6)+parseInt(_0x1b3a5e(_0x2feadc._0x51231d,_0x2feadc._0x1de341,0x11e,0x312))/0x7+-parseInt(_0x1b3a5e(0x3ff,0x2c9,_0x2feadc._0x52ef8e,_0x2feadc._0x1b31ae))/0x8*(parseInt(_0x456a6a(0x16d,_0x2feadc._0x2a30c6,0x20d,_0x2feadc._0x43f57f))/0x9)+-parseInt(_0x1b3a5e(_0x2feadc._0x1b566e,0x2a9,_0x2feadc._0x44c9f0,_0x2feadc._0x3b7740))/0xa;if(_0x90159b===_0x1e1858)break;else _0x4a4ce1['push'](_0x4a4ce1['shift']());}catch(_0x4e51a){_0x4a4ce1['push'](_0x4a4ce1['shift']());}}}(_0x4a4c,0xd06b4));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';function _0x4ab00a(_0x2e408e,_0x350ba4,_0x1bf4ad,_0x142130){const _0x4b1492={_0x593e63:0x1d7};return _0x5a72(_0x142130-_0x4b1492._0x593e63,_0x1bf4ad);}import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x126110 from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x1932a3(0x5da,0x4cc,0x540,0x4cc),'.js':_0x1932a3(0x32b,0x13e,0x2a8,0x207),'.jsx':_0x4ab00a(0x635,0x528,0x744,0x5d5),'.mjs':_0x1932a3(0x1c8,0x17c,0x2a8,0x2f3),'.cjs':'javascript','.mts':_0x1932a3(0x296,0x17b,0x2da,0x369),'.cts':_0x4ab00a(0x305,0x391,0x51a,0x3d1),'.json':_0x1932a3(0x473,0x419,0x3c4,0x250),'.jsonc':_0x4ab00a(0x678,0x57c,0x61a,0x5c2)};function getLanguageId(_0x3f13cc){const _0x33da4e={_0x58a593:0x338,_0x231848:0x346,_0x29031f:0x277},_0x5150f6={_0x322c30:0x19f},_0x43dcb7={_0x217e57:0x154,_0x533422:0x292,_0x2d00c3:0x55};function _0x22d20b(_0x49cf9e,_0x273b82,_0x1c9406,_0x1ee37b){return _0x1932a3(_0x273b82,_0x273b82-_0x43dcb7._0x217e57,_0x1c9406-_0x43dcb7._0x533422,_0x1ee37b-_0x43dcb7._0x2d00c3);}function _0x1f2774(_0x2dafd7,_0x4f388b,_0x5f3f7b,_0x51e53b){return _0x1932a3(_0x2dafd7,_0x4f388b-_0x5150f6._0x322c30,_0x4f388b- -0x1f6,_0x51e53b-0x14a);}return EXTENSION_TO_LANGUAGE[_0x126110[_0x1f2774(0x425,_0x33da4e._0x58a593,_0x33da4e._0x231848,_0x33da4e._0x29031f)](_0x3f13cc)[_0x1f2774(0x248,0x120,0x15a,0xa0)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x42971b){const _0x3752db={_0x575721:0x57c,_0xbf60ee:0x5c4},_0x277e92={_0x4e5d7f:0x7f,_0x3c9015:0x2c1,_0x501e46:0x4c};function _0x12f005(_0x11a221,_0x5b404f,_0x488c3f,_0x46491c){return _0x1932a3(_0x11a221,_0x5b404f-_0x277e92._0x4e5d7f,_0x488c3f-_0x277e92._0x3c9015,_0x46491c-_0x277e92._0x501e46);}return pathToFileURL(_0x42971b)[_0x12f005(0x4f1,_0x3752db._0x575721,_0x3752db._0xbf60ee,0x559)]();}function textDocumentPosition(_0x420387){const _0xe3e903={_0x33bba3:0x298,_0x5decb0:0x130,_0x345c35:0x3ac,_0x5143f4:0x4ad,_0x6426d5:0x351,_0x5444e5:0x289},_0x2f4d6d={_0x105bf9:0x1e9};function _0x2d3395(_0x2622ac,_0x4fec0b,_0x1ace61,_0x26823d){return _0x1932a3(_0x26823d,_0x4fec0b-0x44,_0x1ace61- -0x140,_0x26823d-_0x2f4d6d._0x105bf9);}function _0x10411e(_0x49a165,_0x4cabab,_0x215d6b,_0xcee4dc){return _0x1932a3(_0x4cabab,_0x4cabab-0x14,_0x49a165- -0x291,_0xcee4dc-0x77);}return{'textDocument':{'uri':uriForPath(_0x420387[_0x2d3395(_0xe3e903._0x33bba3,_0xe3e903._0x5decb0,0x154,0x1df)])},'position':{'line':_0x420387[_0x2d3395(0x4bd,0x2f1,_0xe3e903._0x345c35,_0xe3e903._0x5143f4)],'character':_0x420387[_0x2d3395(0x2d0,_0xe3e903._0x6426d5,_0xe3e903._0x5444e5,0x311)]}};}function normalizeLocations(_0x2f0029){const _0x4e2a74={_0x585828:0x1c,_0x37c1dc:0x4a,_0x2f82db:0x21,_0x2b95fd:0x199},_0x5e7185={_0x5bbbf2:0x422};if(!_0x2f0029)return[];function _0x7d7988(_0x55545e,_0x181bf4,_0x10240e,_0x52e851){return _0x4ab00a(_0x55545e-0x19d,_0x181bf4-0x135,_0x52e851,_0x181bf4- -_0x5e7185._0x5bbbf2);}return Array[_0x7d7988(-_0x4e2a74._0x585828,_0x4e2a74._0x37c1dc,-_0x4e2a74._0x2f82db,_0x4e2a74._0x2b95fd)](_0x2f0029)?_0x2f0029:[_0x2f0029];}async function createLspClient(_0x1c4f18){const _0x29f27b={_0xaf7c1c:0x6a,_0x26bd62:0x57e,_0x2c03ce:0x2e0,_0x30aeab:0xd9,_0x475507:0x20c,_0x4c0821:0x687,_0x2dc02a:0x732,_0x584820:0x5f3,_0x4bdcee:0x694,_0x47158d:0x57c,_0x5c6b54:0x1a2,_0x413ed5:0x88,_0x32fb5e:0x2e3,_0x27d7d3:0x405,_0x5c7251:0x3af,_0x580102:0x266,_0x29a991:0xed,_0x5c65bb:0x145,_0x1174f7:0x21c,_0x4b5855:0x162,_0x5e998e:0x84,_0x43206f:0x653,_0xb68406:0x6c3,_0x16e63c:0x5f3,_0x5c6e45:0xea,_0x3d83c0:0x122,_0x5b585a:0x12d,_0x3106c6:0x122,_0x300fac:0x1a7,_0x5005c3:0xa9,_0x12517b:0x206,_0x1b4c3b:0xc6,_0x52d558:0x1c7,_0x4c925f:0x1cd,_0x2eca13:0x2b2,_0x13e104:0x2d1,_0x1e4572:0x3ca,_0xe9b186:0x45a,_0x1f25a5:0x505,_0x45b061:0x468,_0x5e3c33:0x476,_0x26c49a:0x3ae},_0x1c22f0={_0x3052f9:0x1b7,_0x192225:0x27b,_0x5674e3:0x27e,_0x58470c:0x44f,_0xed662d:0x396,_0x504a56:0x480,_0x123378:0x3ca,_0x4d0c0b:0x519,_0x410635:0x525,_0x3255bd:0x407},_0x4ae921={_0x3d365e:0x67,_0x59468c:0x15},_0x343c49={_0x17a53c:0x435,_0x31879d:0x526},_0x592385={_0x1d2de6:0xf4,_0x4b8703:0x560},_0x2bcba3={_0x56fa63:0x434,_0x2ad796:0x52c,_0x256d6c:0x27d,_0x5903ca:0x3f0},_0x28aff2={_0x2de59:0x1e2},_0x42713a={_0x3e4bb1:0x3b8,_0x2c7061:0x381,_0x4d599c:0x3fb},_0x58cfb9={_0xd7fd9a:0x79,_0x471bf3:0x62},_0x547dd9={_0x221e26:0x111,_0x1c9067:0x10a},_0x5d9cab={_0x4de6be:0x180,_0x4b682c:0x183},_0x2b49a2={_0x350ca:0x48b,_0x2e9269:0x49e,_0x5d49fc:0x4dc,_0x24deb7:0x3f4},_0x42246d={_0x29af25:0x584},_0x432146={_0x209e45:0xb6},_0x442cf9={_0x2d3d2a:0x3fd,_0x4a0d5c:0x370,_0x325c77:0x5d5,_0x2ea160:0x591,_0xd0a72b:0x546},_0xfe4a67={_0x1188ba:0xbf,_0x258b4f:0x177,_0x3c7a92:0x5d1},_0x526e11={_0x291055:0x268,_0xb0691:0x219,_0x962c2c:0x160,_0x575c13:0x1de},_0x39481e={_0x10fdb1:0x18e,_0x5e112a:0x15c},_0x5baef6={_0x1d7da2:0xba,_0x421f29:0x96,_0x14d42b:0x428},_0x15d4f7={_0x11a9af:0x3c9},_0x1127c2={_0x502ec9:0x5ae,_0x5c9b43:0x57b,_0x3ec992:0x503,_0x199be3:0x67d,_0x3f30c8:0x59b,_0x3a699b:0x5af},_0x173715={_0x5b26b2:0x2bf,_0x2e26ba:0x3c1,_0x3a3186:0x13d,_0xca0e3:0x1ce,_0xd557f3:0x2a7},_0x2e3f75={_0x2edb7e:0x2b4,_0x283b9e:0x416,_0x5acad2:0x2be,_0x44ad24:0x28b,_0x12e395:0x138},_0x107872={_0xf35c06:0xbe,_0x2d25aa:0x14b},_0x293eed={_0x333bea:0x16f,_0x1a4622:0x91},_0x3ba860={_0x12b945:0x82f,_0x4fde66:0x8dd,_0x2b262a:0xba,_0x52ac51:0x1cb,_0x323762:0x177,_0x3113c4:0x28d,_0x271775:0x25f,_0x3676ed:0x26e,_0x9a3cf0:0x301,_0x242014:0x21d},_0x4e6447={_0x226011:0x35,_0x3b3aa5:0x4bd,_0x19636c:0x197},_0x2bdcc1=_0x1c4f18[_0x4210b7(0x7c,0x20a,-_0x29f27b._0xaf7c1c,0xa5)][_0x1a7d3a(0x637,_0x29f27b._0x26bd62,0x530,0x517)][_0x4210b7(-0x1c7,-_0x29f27b._0x2c03ce,-_0x29f27b._0x30aeab,-_0x29f27b._0x475507)],_0x231807=_0x1c4f18[_0x1a7d3a(_0x29f27b._0x4c0821,_0x29f27b._0x2dc02a,_0x29f27b._0x584820,0x495)][_0x1a7d3a(_0x29f27b._0x4bdcee,0x5e7,0x530,_0x29f27b._0x47158d)][_0x4210b7(-0x16f,-_0x29f27b._0x5c6b54,_0x29f27b._0x413ed5,-0x4c)];if(!_0x2bdcc1||!_0x231807)throw new Error(_0x1a7d3a(0x2e2,_0x29f27b._0x32fb5e,_0x29f27b._0x27d7d3,0x2f1));const _0x5ccf37=createMessageConnection(new StreamMessageReader(_0x2bdcc1),new StreamMessageWriter(_0x231807)),_0x33abea=new Map();function _0x4210b7(_0x5524cc,_0x347e48,_0x345adf,_0x9c3477){return _0x1932a3(_0x345adf,_0x347e48-_0x4e6447._0x226011,_0x9c3477- -_0x4e6447._0x3b3aa5,_0x9c3477-_0x4e6447._0x19636c);}const _0x4a8c49=new Map();let _0x3a512a=![];_0x5ccf37[_0x1a7d3a(0x44a,0x40c,_0x29f27b._0x5c7251,_0x29f27b._0x580102)]('textDocument/publishDiagnostics',_0x5ad95c=>{const _0x2b855e={_0x125390:0xa1,_0x422d3f:0x299};_0x33abea[_0x3e7db7(_0x3ba860._0x12b945,0x7b3,0x832,_0x3ba860._0x4fde66)](_0x5ad95c[_0x524497(0x10b,_0x3ba860._0x2b262a,0x21e,0x317)],_0x5ad95c[_0x524497(_0x3ba860._0x52ac51,_0x3ba860._0x323762,_0x3ba860._0x3113c4,0x1e0)]);function _0x524497(_0xaf90bc,_0x14c6c6,_0xb353bf,_0x585a8c){return _0x1a7d3a(_0xaf90bc-_0x2b855e._0x125390,_0xaf90bc,_0xb353bf- -_0x2b855e._0x422d3f,_0x585a8c-0x61);}const _0x4ea4d5=_0x4a8c49[_0x524497(_0x3ba860._0x271775,_0x3ba860._0x3676ed,_0x3ba860._0x9a3cf0,_0x3ba860._0x242014)](_0x5ad95c['uri']);if(!_0x4ea4d5)return;function _0x3e7db7(_0x57c1f7,_0x11f120,_0x2a99cc,_0x55876c){return _0x1a7d3a(_0x57c1f7-0x1b,_0x2a99cc,_0x11f120-0x21d,_0x55876c-0x191);}_0x4a8c49[_0x3e7db7(0x630,0x54e,0x57a,0x5ac)](_0x5ad95c['uri']);for(const _0x169f2b of _0x4ea4d5)_0x169f2b();}),_0x5ccf37[_0x4210b7(-_0x29f27b._0x29a991,-0x1a5,0x1e,-0x10a)]();function _0x1a7d3a(_0x504a3a,_0xeec7ae,_0x2100c3,_0xa993d3){return _0x1932a3(_0xeec7ae,_0xeec7ae-_0x293eed._0x333bea,_0x2100c3-_0x293eed._0x1a4622,_0xa993d3-0x113);}const _0x9ba87c=await _0x5ccf37[_0x4210b7(-_0x29f27b._0x5c65bb,-0x27d,-0x257,-0x23f)](_0x1a7d3a(_0x29f27b._0x1174f7,0x3ba,0x374,0x381),{'processId':process['pid'],'rootUri':uriForPath(_0x1c4f18[_0x4210b7(0x99,-_0x29f27b._0x4b5855,_0x29f27b._0x5e998e,-0x49)]),'workspaceFolders':[{'uri':uriForPath(_0x1c4f18['root']),'name':_0x1c4f18['server']['id']}],'initializationOptions':_0x1c4f18[_0x1a7d3a(_0x29f27b._0x43206f,_0x29f27b._0xb68406,_0x29f27b._0x16e63c,0x4a8)][_0x4210b7(-_0x29f27b._0x5c6e45,-_0x29f27b._0x3d83c0,-_0x29f27b._0x5b585a,-_0x29f27b._0x3106c6)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x4210b7(_0x29f27b._0x300fac,-0x58,0xb9,_0x29f27b._0x5005c3),'plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x5ccf37[_0x4210b7(-0x291,-_0x29f27b._0x12517b,-_0x29f27b._0x1b4c3b,-_0x29f27b._0x52d558)](_0x4210b7(-0x2f,-0xf5,-_0x29f27b._0x4c925f,-0x7e),{});const _0x4997cf={'serverId':_0x1c4f18[_0x1a7d3a(_0x29f27b._0x2eca13,0x2cc,0x348,_0x29f27b._0x13e104)]['id'],'root':_0x1c4f18[_0x1a7d3a(_0x29f27b._0x1e4572,_0x29f27b._0xe9b186,_0x29f27b._0x1f25a5,0x4e9)],'connection':_0x5ccf37,'diagnostics':_0x33abea,'capabilities':_0x9ba87c[_0x1a7d3a(_0x29f27b._0x45b061,_0x29f27b._0x5e3c33,_0x29f27b._0x26c49a,0x3ef)]??{},'notify':{async 'open'({path:_0x4bebe5}){const _0x273695=await readFile(_0x4bebe5,_0x457475(0x33d,_0x2e3f75._0x2edb7e,0x2a4,0x3b9));function _0x244f7c(_0x5aba55,_0xb01ec4,_0x2d2424,_0x513287){return _0x4210b7(_0x5aba55-_0x107872._0xf35c06,_0xb01ec4-_0x107872._0x2d25aa,_0x2d2424,_0x513287-0xce);}function _0x457475(_0x54d806,_0x2f820a,_0xcd0c05,_0x296b22){return _0x1a7d3a(_0x54d806-0x151,_0x2f820a,_0x296b22- -0xa4,_0x296b22-0x197);}_0x5ccf37[_0x457475(_0x2e3f75._0x283b9e,_0x2e3f75._0x5acad2,0x34d,0x2e3)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x4bebe5),'languageId':getLanguageId(_0x4bebe5)??_0x244f7c(-0x1,0x4f,_0x2e3f75._0x44ad24,_0x2e3f75._0x12e395),'version':0x1,'text':_0x273695}});},async 'change'({path:_0x349749,version:_0x4384fb}){const _0x45e8d4={_0x2cb38c:0x16f,_0x228fe7:0x395},_0x36d913=await readFile(_0x349749,_0x164162(_0x173715._0x5b26b2,0x2a4,_0x173715._0x2e26ba,_0x173715._0x3a3186));function _0x581600(_0x4698f0,_0x506471,_0x1a0408,_0xa51215){return _0x1a7d3a(_0x4698f0-0xe2,_0xa51215,_0x4698f0-0x17e,_0xa51215-0x1ea);}function _0x164162(_0x52402f,_0x360f07,_0x3c3314,_0x5c4f7d){return _0x4210b7(_0x52402f-0xce,_0x360f07-_0x45e8d4._0x2cb38c,_0x52402f,_0x360f07-_0x45e8d4._0x228fe7);}_0x5ccf37[_0x164162(0xd1,_0x173715._0xca0e3,0x193,_0x173715._0xd557f3)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x349749),'version':_0x4384fb},'contentChanges':[{'text':_0x36d913}]});},async 'close'({path:_0x8c4cbd}){const _0x379474={_0x4f78f9:0x9d,_0x5cb150:0x775};function _0x1a7a41(_0x4a8ef6,_0x23aad5,_0x53304a,_0xaba5ea){return _0x4210b7(_0x4a8ef6-0xd1,_0x23aad5-_0x379474._0x4f78f9,_0xaba5ea,_0x4a8ef6-_0x379474._0x5cb150);}function _0x32f4bb(_0x382474,_0x5c818c,_0x5f1372,_0x304015){return _0x1a7d3a(_0x382474-0x13a,_0x304015,_0x5f1372- -0x455,_0x304015-0x15b);}_0x5ccf37[_0x1a7a41(_0x1127c2._0x502ec9,0x6ea,_0x1127c2._0x5c9b43,_0x1127c2._0x3ec992)](_0x1a7a41(_0x1127c2._0x199be3,_0x1127c2._0x3f30c8,0x556,_0x1127c2._0x3a699b),{'textDocument':{'uri':uriForPath(_0x8c4cbd)}});}},'request':{async 'definition'(_0xc3bda3){const _0x51ae2f={_0x42f457:0x122};function _0x4b2a35(_0x18284b,_0x378b1d,_0x519b11,_0x2cd6a5){return _0x4210b7(_0x18284b-_0x51ae2f._0x42f457,_0x378b1d-0x2f,_0x18284b,_0x519b11-0x383);}function _0x2d3b82(_0xb09116,_0x24b338,_0xf44d50,_0x513c34){return _0x1a7d3a(_0xb09116-0x1b6,_0x24b338,_0xb09116- -_0x15d4f7._0x11a9af,_0x513c34-0x192);}return normalizeLocations(await _0x5ccf37[_0x2d3b82(-_0x5baef6._0x1d7da2,_0x5baef6._0x421f29,-0x177,-0x24)](_0x4b2a35(0x471,_0x5baef6._0x14d42b,0x2fd,0x41e),textDocumentPosition(_0xc3bda3)));},async 'references'(_0x5f2711){const _0x18c02e={_0x2996db:0x190};function _0x23859e(_0x335e72,_0x52557d,_0x2b6c55,_0x336203){return _0x1a7d3a(_0x335e72-_0x18c02e._0x2996db,_0x52557d,_0x335e72- -0x49d,_0x336203-0x26);}function _0x32cf72(_0x98642e,_0x354fdd,_0x2413f1,_0xb4258b){return _0x4210b7(_0x98642e-_0x39481e._0x10fdb1,_0x354fdd-_0x39481e._0x5e112a,_0x98642e,_0x2413f1-0x39f);}return normalizeLocations(await _0x5ccf37[_0x32cf72(_0x526e11._0x291055,_0x526e11._0xb0691,_0x526e11._0x962c2c,_0x526e11._0x575c13)](_0x32cf72(0x428,0x2d3,0x394,0x26d),{...textDocumentPosition(_0x5f2711),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x94bab8){const _0x2a744c={_0x3710f0:0xc6};function _0xc443de(_0x1655c1,_0x32bd3b,_0x38ef9a,_0x101043){return _0x4210b7(_0x1655c1-_0xfe4a67._0x1188ba,_0x32bd3b-_0xfe4a67._0x258b4f,_0x101043,_0x1655c1-_0xfe4a67._0x3c7a92);}function _0x3e94da(_0x557ef2,_0x229a2e,_0x3fc11e,_0x2f84d4){return _0x1a7d3a(_0x557ef2-0x26,_0x3fc11e,_0x557ef2-0x160,_0x2f84d4-_0x2a744c._0x3710f0);}return await _0x5ccf37[_0x3e94da(0x46f,_0x442cf9._0x2d3d2a,_0x442cf9._0x4a0d5c,_0x442cf9._0x325c77)](_0xc443de(0x5f1,_0x442cf9._0x2ea160,0x5b5,_0x442cf9._0xd0a72b),textDocumentPosition(_0x94bab8))??null;},async 'documentSymbol'(_0x3bd2a1){function _0x44f64a(_0x584283,_0x50518e,_0x1a58d9,_0x2812ef){return _0x1a7d3a(_0x584283-0x117,_0x2812ef,_0x50518e-0x18f,_0x2812ef-_0x432146._0x209e45);}function _0xda2474(_0x28e4bc,_0x2b4a40,_0x235e21,_0xa046e1){return _0x4210b7(_0x28e4bc-0x15a,_0x2b4a40-0x1a3,_0x2b4a40,_0x28e4bc-_0x42246d._0x29af25);}return await _0x5ccf37[_0x44f64a(_0x2b49a2._0x350ca,_0x2b49a2._0x2e9269,_0x2b49a2._0x5d49fc,_0x2b49a2._0x24deb7)](_0xda2474(0x625,0x53d,0x688,0x5e2),{'textDocument':{'uri':uriForPath(_0x3bd2a1)}})??[];},async 'workspaceSymbol'(_0x14d14d){function _0x235393(_0x202f17,_0x311a4a,_0x1a8035,_0xb610ff){return _0x4210b7(_0x202f17-0x1ae,_0x311a4a-_0x5d9cab._0x4de6be,_0x1a8035,_0xb610ff-_0x5d9cab._0x4b682c);}function _0xc46be6(_0x4abd66,_0x21b287,_0xf318b5,_0xbd9cce){return _0x1a7d3a(_0x4abd66-_0x547dd9._0x221e26,_0xf318b5,_0xbd9cce-_0x547dd9._0x1c9067,_0xbd9cce-0xa2);}return await _0x5ccf37[_0x235393(_0x58cfb9._0xd7fd9a,-_0x58cfb9._0x471bf3,-0x155,-0xbc)](_0x235393(0x140,0x6a,0x14a,0x62),{'query':_0x14d14d})??[];},async 'implementation'(_0x2a5623){return normalizeLocations(await _0x5ccf37['sendRequest']('textDocument/implementation',textDocumentPosition(_0x2a5623)));},async 'prepareCallHierarchy'(_0xc4559f){const _0x3b9c3c={_0x3d9ddf:0x119,_0x3b3070:0xe6,_0x5f29c4:0x630},_0x43b09a={_0x48bdd7:0x18f,_0xead725:0x3e3};function _0x2feaaa(_0x2202cb,_0x4a3bc8,_0xfe0d04,_0x51b3ac){return _0x1a7d3a(_0x2202cb-_0x43b09a._0x48bdd7,_0x2202cb,_0x51b3ac- -_0x43b09a._0xead725,_0x51b3ac-0x175);}function _0x58a70(_0x570ef8,_0x356aca,_0x36cbad,_0x5da468){return _0x4210b7(_0x570ef8-_0x3b9c3c._0x3d9ddf,_0x356aca-_0x3b9c3c._0x3b3070,_0x356aca,_0x570ef8-_0x3b9c3c._0x5f29c4);}return await _0x5ccf37[_0x58a70(0x3f1,0x515,0x35d,_0x42713a._0x3e4bb1)](_0x58a70(0x47d,_0x42713a._0x2c7061,0x3d5,_0x42713a._0x4d599c),textDocumentPosition(_0xc4559f))??[];},async 'incomingCalls'(_0x141a24){const _0x308205={_0x46f7f2:0xa5};function _0x3bcbc6(_0x11d6e0,_0x3d41d4,_0x1a6388,_0x3f05e8){return _0x4210b7(_0x11d6e0-_0x308205._0x46f7f2,_0x3d41d4-0x8d,_0x3f05e8,_0x11d6e0-0x91);}return await _0x5ccf37[_0x3bcbc6(-0x1ae,-0xab,-_0x28aff2._0x2de59,-0xfc)]('callHierarchy/incomingCalls',{'item':_0x141a24})??[];},async 'outgoingCalls'(_0x51b694){const _0x107c66={_0x185e8d:0x14};function _0x1493c7(_0x267875,_0x335fb3,_0x53d20f,_0x4d1c73){return _0x4210b7(_0x267875-_0x107c66._0x185e8d,_0x335fb3-0xbe,_0x335fb3,_0x4d1c73-0x502);}return await _0x5ccf37['sendRequest'](_0x1493c7(_0x2bcba3._0x56fa63,_0x2bcba3._0x2ad796,_0x2bcba3._0x256d6c,_0x2bcba3._0x5903ca),{'item':_0x51b694})??[];}},'waitForDiagnostics'({path:_0x4cf68d,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x517cef={_0x1243f5:0xf2,_0x3295a0:0x292,_0x4d521b:0x1f3,_0x2dc7ae:0x87,_0x66b7bd:0x246},_0x5f04ba={_0x40f3e7:0x3f5,_0x5b410d:0xc1,_0x202859:0x1c5},_0x46290a=uriForPath(_0x4cf68d);if(_0x33abea['has'](_0x46290a))return Promise[_0x3b2085(_0x343c49._0x17a53c,_0x343c49._0x31879d,0x434,0x3c9)]();function _0x3b2085(_0x1e7cf0,_0x3466f6,_0x52e48e,_0x5f1e91){return _0x4210b7(_0x1e7cf0-0xd7,_0x3466f6-_0x592385._0x1d2de6,_0x52e48e,_0x1e7cf0-_0x592385._0x4b8703);}return new Promise(_0x38590d=>{const _0x305299={_0x8e879e:0x19f},_0x353bc5={_0x43a94d:0x6ef,_0x5c8574:0x791,_0x129741:0x618,_0x16f201:0x5db,_0x2c35c2:0x486,_0x391944:0x404,_0x340416:0x1b5,_0x511f7f:0x17c,_0x2df01e:0xc1,_0x18956e:0x26},_0x589a85=setTimeout(()=>{function _0x14a98a(_0x16e2e6,_0x5de532,_0x427c6b,_0x40f00f){return _0x5a72(_0x427c6b- -0x124,_0x5de532);}const _0x8e4ec0=_0x4a8c49[_0x8a34d4(_0x353bc5._0x43a94d,_0x353bc5._0x5c8574,_0x353bc5._0x129741,_0x353bc5._0x16f201)](_0x46290a);function _0x8a34d4(_0x43644e,_0x8bbe06,_0x1f34a4,_0x567239){return _0x5a72(_0x43644e-0x2c6,_0x1f34a4);}_0x8e4ec0?.[_0x8a34d4(_0x353bc5._0x2c35c2,_0x353bc5._0x391944,0x5a6,0x35e)](_0x8d71e4);if(_0x8e4ec0?.[_0x14a98a(_0x353bc5._0x340416,_0x353bc5._0x511f7f,_0x353bc5._0x2df01e,-_0x353bc5._0x18956e)]===0x0)_0x4a8c49['delete'](_0x46290a);_0x38590d();},timeoutMs),_0x8d71e4=()=>{clearTimeout(_0x589a85),_0x38590d();},_0x20ab19=_0x4a8c49['get'](_0x46290a)??new Set();function _0x3d8300(_0x250b6f,_0x2ad17a,_0x5a28d5,_0xd1433b){return _0x3b2085(_0x5a28d5- -_0x5f04ba._0x40f3e7,_0x2ad17a-_0x5f04ba._0x5b410d,_0x250b6f,_0xd1433b-_0x5f04ba._0x202859);}_0x20ab19[_0x3d8300(_0x517cef._0x1243f5,_0x517cef._0x3295a0,0x1bd,0x2e1)](_0x8d71e4);function _0x1d9aeb(_0xdf65b7,_0x258329,_0x2bfe20,_0x2c1af0){return _0x3b2085(_0x2c1af0- -0x327,_0x258329-_0x305299._0x8e879e,_0x2bfe20,_0x2c1af0-0x2);}_0x4a8c49[_0x3d8300(_0x517cef._0x4d521b,_0x517cef._0x2dc7ae,0x1b3,_0x517cef._0x66b7bd)](_0x46290a,_0x20ab19);});},async 'shutdown'(){const _0x71b90={_0x1809c3:0x190,_0x1845a0:0x14f,_0x1e926a:0x73d};if(_0x3a512a)return;_0x3a512a=!![];function _0x5547b3(_0x24ee3f,_0x24a37f,_0xfa057f,_0x5097be){return _0x4210b7(_0x24ee3f-_0x71b90._0x1809c3,_0x24a37f-_0x71b90._0x1845a0,_0x24ee3f,_0x24a37f-_0x71b90._0x1e926a);}function _0x1e052d(_0x149bda,_0x19451c,_0xe023b,_0x15ae5d){return _0x4210b7(_0x149bda-_0x4ae921._0x3d365e,_0x19451c-_0x4ae921._0x59468c,_0x19451c,_0x15ae5d-0x4b4);}try{await _0x5ccf37['sendRequest'](_0x1e052d(0x338,_0x1c22f0._0x3052f9,_0x1c22f0._0x192225,_0x1c22f0._0x5674e3),null),_0x5ccf37[_0x1e052d(_0x1c22f0._0x58470c,0x43e,_0x1c22f0._0xed662d,0x2ed)](_0x1e052d(0x451,_0x1c22f0._0x504a56,0x433,_0x1c22f0._0x123378));}catch{}finally{_0x5ccf37['dispose'](),_0x1c4f18[_0x1e052d(_0x1c22f0._0x4d0c0b,_0x1c22f0._0x410635,0x53c,0x559)]['process'][_0x1e052d(0x311,0x329,_0x1c22f0._0x3255bd,0x332)]();}}};return _0x4997cf;}import{spawn as _0x4982e0}from'child_process';import{access as _0x461961}from'fs/promises';import _0x4577a3 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x33e815 from'os';import _0x2bba96 from'path';import _0x1cebcf from'which';var installPromises=new Map();function sanitizePackageName(_0x47a194){const _0x4f34db={_0xea1b3f:0x19e,_0x23c523:0x27e,_0x5bc4d7:0x9c,_0x2c5e1e:0x1b2},_0x106d97={_0x4d9e98:0x1d9,_0x13e786:0x273};function _0x476743(_0xbf367f,_0x470b75,_0x515e08,_0x3319dc){return _0x1932a3(_0x3319dc,_0x470b75-0xd1,_0x515e08- -0x27e,_0x3319dc-0x10f);}function _0x4fa90b(_0x86234d,_0x348fa1,_0x579c86,_0x499026){return _0x4ab00a(_0x86234d-0x19a,_0x348fa1-_0x106d97._0x4d9e98,_0x348fa1,_0x86234d- -_0x106d97._0x13e786);}return _0x47a194[_0x4fa90b(_0x4f34db._0xea1b3f,_0x4f34db._0x23c523,0x8d,0x110)](/^@/,'')[_0x476743(0xe7,0xfa,_0x4f34db._0x5bc4d7,_0x4f34db._0x2c5e1e)](/[/]/g,'__');}function binaryNameForPlatform(_0x132d59){const _0x2a57a8={_0x1ec26c:0xe5,_0x4b9bb2:0x51,_0x2e17a8:0x6b1},_0x119291={_0x5ebc6f:0x114,_0x1a5f35:0xc9},_0x585e6e={_0x3f1e33:0x125};function _0x2bec6a(_0x4c253c,_0x485d70,_0x251404,_0x522bb6){return _0x4ab00a(_0x4c253c-_0x585e6e._0x3f1e33,_0x485d70-0x105,_0x251404,_0x485d70- -0x418);}function _0x8fa8a5(_0x38669b,_0x57e4e2,_0x399c32,_0xaddd31){return _0x4ab00a(_0x38669b-0x11c,_0x57e4e2-_0x119291._0x5ebc6f,_0xaddd31,_0x399c32-_0x119291._0x1a5f35);}return process['platform']===_0x2bec6a(-_0x2a57a8._0x1ec26c,-0x63,-0x125,-_0x2a57a8._0x4b9bb2)?_0x132d59+_0x8fa8a5(_0x2a57a8._0x2e17a8,0x720,0x628,0x4d6):_0x132d59;}async function exists(_0x4dda8b){try{return await access(_0x4dda8b),!![];}catch{return![];}}function runNpmInstall(_0x2942ca,_0x4b7b41,_0x26b84a){const _0x468963={_0x2fc1fe:0x5af,_0x4af489:0x309,_0x2eda46:0x443,_0x2075ba:0x388,_0x42c1c6:0x55a,_0x28d987:0x3ce,_0x33b8de:0x3b2};return new Promise(_0x3da569=>{const _0x12306e={_0x193397:0x4f},_0x2962ef=spawn(_0x5cb375(_0x468963._0x2fc1fe,_0x468963._0x4af489,_0x468963._0x2eda46,_0x468963._0x2075ba),['install','--prefix',_0x2942ca,_0x4b7b41],{'env':_0x26b84a,'stdio':_0x5ec84c(0x47a,_0x468963._0x42c1c6,0x51f,0x4f6)});function _0x5ec84c(_0x2b92ee,_0x3a3535,_0x26c5ed,_0x306517){return _0x5a72(_0x2b92ee-0xd,_0x3a3535);}function _0x5cb375(_0x172df1,_0x4402c8,_0x25b482,_0x518bb2){return _0x5a72(_0x25b482-_0x12306e._0x193397,_0x4402c8);}_0x2962ef['on'](_0x5ec84c(0x37f,0x4a3,0x270,_0x468963._0x28d987),()=>_0x3da569(![])),_0x2962ef['on'](_0x5cb375(0x4b4,0x3db,_0x468963._0x33b8de,0x271),_0x13206a=>_0x3da569(_0x13206a===0x0));});}function shouldDisableLspDownload(_0x24e621=process[_0x1932a3(0x237,0x267,0x29b,0x251)]){const _0x449e44={_0x3561e0:0x479,_0x608b8:0x371,_0x27941d:0x24f,_0x1ab1ef:0x4c5,_0x49518b:0x607,_0x3fcef7:0x4e8,_0x4de6d7:0x5a7,_0x2ce000:0x4fd},_0xe60f24={_0x1ebe3a:0xe5,_0x3b0049:0x1be},_0x15cf47={_0x2ecbff:0x115,_0x22d300:0x6b};function _0x41270b(_0x543474,_0x41c485,_0x10a656,_0x20f85d){return _0x1932a3(_0x20f85d,_0x41c485-_0x15cf47._0x2ecbff,_0x543474-_0x15cf47._0x22d300,_0x20f85d-0x78);}const _0x1a44f7=_0x24e621[_0x870297(0x2f7,_0x449e44._0x3561e0,0x22f,_0x449e44._0x608b8)]?.[_0x870297(0x193,0x2d1,0x3c0,_0x449e44._0x27941d)]();function _0x870297(_0x735e92,_0x3dc1dd,_0x44a082,_0x53410d){return _0x4ab00a(_0x735e92-0x128,_0x3dc1dd-_0xe60f24._0x1ebe3a,_0x3dc1dd,_0x53410d- -_0xe60f24._0x3b0049);}return _0x1a44f7===_0x41270b(_0x449e44._0x1ab1ef,_0x449e44._0x49518b,_0x449e44._0x3fcef7,_0x449e44._0x4de6d7)||_0x1a44f7==='1'||_0x1a44f7===_0x41270b(_0x449e44._0x2ce000,0x42c,0x471,0x58b)||_0x1a44f7==='on';}function getLspPackageDir(_0x1581f7){const _0x5c9be6={_0x20aa7b:0x599,_0x1c1d60:0x499,_0x26e014:0x432,_0x210a4a:0x4f3,_0x30376f:0x53f,_0x23790d:0x62a,_0xd9882b:0x4fd},_0x221f66={_0x528cc1:0x2e2};function _0x29deea(_0x53c03c,_0x1ad6a7,_0x2898be,_0x1847aa){return _0x4ab00a(_0x53c03c-0x114,_0x1ad6a7-0x64,_0x53c03c,_0x1847aa- -0xd0);}function _0x1b31f7(_0x2b037b,_0x181713,_0x122a7d,_0x5ad552){return _0x1932a3(_0x5ad552,_0x181713-0xf5,_0x122a7d-_0x221f66._0x528cc1,_0x5ad552-0xa0);}return _0x2bba96[_0x29deea(_0x5c9be6._0x20aa7b,0x5d0,0x4cf,0x521)](_0x33e815[_0x29deea(0x312,0x435,_0x5c9be6._0x1c1d60,_0x5c9be6._0x26e014)](),'.nuvin',_0x29deea(0x5bd,0x3b0,0x5fd,_0x5c9be6._0x210a4a),_0x1b31f7(0x4d0,_0x5c9be6._0x30376f,_0x5c9be6._0x23790d,_0x5c9be6._0xd9882b),sanitizePackageName(_0x1581f7));}function getLspBinDir(_0x282f62){const _0x71fcce={_0x20b8df:0x75e,_0x152969:0x387,_0x13fb8d:0x49b,_0x44e74b:0x59d},_0x244656={_0x561ea7:0x1a2,_0x543796:0x10b,_0x2f3ac5:0x102},_0x3f74e3={_0x39f6fe:0x68,_0x41d0da:0x13f};function _0x6e218f(_0x3f1afb,_0x30e53b,_0x3a5a5a,_0x2df0ce){return _0x4ab00a(_0x3f1afb-_0x3f74e3._0x39f6fe,_0x30e53b-_0x3f74e3._0x41d0da,_0x3f1afb,_0x2df0ce-0x1e6);}function _0x127378(_0x5302b6,_0x3d5942,_0x1b81c5,_0x2e44cf){return _0x1932a3(_0x5302b6,_0x3d5942-_0x244656._0x561ea7,_0x1b81c5-_0x244656._0x543796,_0x2e44cf-_0x244656._0x2f3ac5);}return _0x2bba96[_0x6e218f(_0x71fcce._0x20b8df,0x74c,0x7a1,0x7d7)](getLspPackageDir(_0x282f62),_0x127378(_0x71fcce._0x152969,0x3a9,0x3e4,_0x71fcce._0x13fb8d),_0x6e218f(0x424,0x4f7,_0x71fcce._0x44e74b,0x553));}async function findPackageBinary(_0x4fa81c,_0x10521a){const _0x53b4de={_0xa5bf02:0xc4,_0x3ddb99:0x20f,_0x2c67e8:0x136,_0xb10eee:0x306,_0x36dcbe:0x1a7,_0x577dab:0x1ad,_0x30a851:0x13c,_0x271397:0x117,_0x2c2987:0x37},_0x40ddf2={_0x39eba1:0x199,_0x2acc67:0x3b3},_0x1f13b5={_0x319ee1:0x1d4};function _0x4b642d(_0x1446ab,_0x432e4f,_0x5c5180,_0xaf9112){return _0x1932a3(_0x432e4f,_0x432e4f-_0x1f13b5._0x319ee1,_0xaf9112- -0x25c,_0xaf9112-0x1ad);}let _0x1787df=_0x2bba96[_0x4b642d(0xa1,_0x53b4de._0xa5bf02,_0x53b4de._0x3ddb99,_0x53b4de._0x2c67e8)](_0x10521a);const _0x2290a7=binaryNameForPlatform(_0x4fa81c);function _0x23c1a3(_0x3f7cb3,_0x2b17cf,_0x3472fe,_0x4c1a02){return _0x4ab00a(_0x3f7cb3-0x1d1,_0x2b17cf-_0x40ddf2._0x39eba1,_0x4c1a02,_0x3472fe- -_0x40ddf2._0x2acc67);}while(!![]){const _0x382519=_0x2bba96[_0x4b642d(_0x53b4de._0xb10eee,0x236,0x37b,0x29e)](_0x1787df,'node_modules',_0x23c1a3(-_0x53b4de._0x36dcbe,-_0x53b4de._0x577dab,-0x46,-_0x53b4de._0x30a851),_0x2290a7);if(await exists(_0x382519))return _0x382519;const _0x1e85f5=_0x2bba96[_0x4b642d(0x139,-0x8a,_0x53b4de._0x271397,_0x53b4de._0x2c2987)](_0x1787df);if(_0x1e85f5===_0x1787df)return void 0x0;_0x1787df=_0x1e85f5;}}async function findPathBinary(_0x220ad8,_0x3fa4d5){const _0x35001a={_0x3c269d:0xe3,_0x53c8f6:0x22f,_0x114f0f:0x138},_0x130d9d={_0x5b4e6c:0x461,_0x15d810:0xca};function _0x1dd666(_0x22b0cf,_0xf89dde,_0x1c568f,_0x3f51bb){return _0x1932a3(_0x3f51bb,_0xf89dde-0x1ee,_0x22b0cf- -_0x130d9d._0x5b4e6c,_0x3f51bb-_0x130d9d._0x15d810);}const _0x19ce2d=getLspBinDir(_0x3fa4d5),_0x4a04a4=[_0x19ce2d,process['env']['PATH']][_0x1dd666(_0x35001a._0x3c269d,_0x35001a._0x53c8f6,_0x35001a._0x114f0f,0x217)](Boolean)['join'](_0x2bba96['delimiter']);try{return await _0x1cebcf(_0x220ad8,{'path':_0x4a04a4});}catch{return void 0x0;}}async function resolvePackageBinary(_0x32aa06){const _0x14e7c2={_0xed94c6:0x4f1,_0x3d8100:0x4be,_0x46ca35:0x190,_0x3d17bc:0x3c6,_0x4e8a5a:0x2f4,_0x181934:0x124,_0x54f06a:0x1ee,_0x22a155:0x12,_0x9ea14:0x105,_0x12d1a7:0xe8,_0x569c05:0x4ab,_0x163de7:0x518,_0x20eec6:0x1ca,_0x114f0a:0x132,_0x3cf2bc:0x7d},_0x32906b={_0x24fb92:0x415,_0x16a4d2:0x3fd,_0x343541:0x168,_0x24a3b7:0x45b,_0x355fe2:0x3c1},_0x3faf47={_0x1b14c3:0xd9,_0x10226a:0x4e,_0x20db0c:0x31a},_0x2f1dc0={_0x33d788:0x1ce,_0x202cd6:0x1b9},_0x2bc8c9=_0x32aa06[_0x167156(0x626,_0x14e7c2._0xed94c6,_0x14e7c2._0x3d8100,0x6e8)]??_0x32aa06[_0x167156(0x436,0x55e,0x5a0,0x449)],_0x4a5a30=await findPackageBinary(_0x2bc8c9,_0x32aa06[_0x7a34e9(_0x14e7c2._0x46ca35,0x86,0x1db,0x13c)]);function _0x167156(_0x172198,_0x23d432,_0x25873b,_0x4e52ab){return _0x1932a3(_0x23d432,_0x23d432-_0x2f1dc0._0x33d788,_0x172198-0x12b,_0x4e52ab-_0x2f1dc0._0x202cd6);}if(_0x4a5a30)return _0x4a5a30;const _0x3436ab=await findPathBinary(_0x2bc8c9,_0x32aa06['packageName']);if(_0x3436ab)return _0x3436ab;const _0x2a2e1f=_0x32aa06[_0x167156(_0x14e7c2._0x3d17bc,0x3d9,0x4cc,_0x14e7c2._0x4e8a5a)]??process[_0x7a34e9(_0x14e7c2._0x181934,_0x14e7c2._0x54f06a,_0x14e7c2._0x22a155,0x78)];if(shouldDisableLspDownload(_0x2a2e1f))return void 0x0;const _0x4d2062=getLspPackageDir(_0x32aa06[_0x7a34e9(_0x14e7c2._0x9ea14,0xdb,0x19c,_0x14e7c2._0x12d1a7)]),_0x55970d=_0x32aa06[_0x167156(0x436,0x3f7,_0x14e7c2._0x569c05,0x53a)]+':'+_0x2bc8c9;let _0x169c31=installPromises['get'](_0x55970d);function _0x7a34e9(_0x169c4f,_0x8c807d,_0x5df780,_0x8c1e2e){return _0x4ab00a(_0x169c4f-_0x3faf47._0x1b14c3,_0x8c807d-_0x3faf47._0x10226a,_0x169c4f,_0x8c1e2e- -_0x3faf47._0x20db0c);}!_0x169c31&&(_0x169c31=((async()=>{const _0x24f279={_0x3b2957:0x1},_0x2170ad={_0x372fa7:0x1a8};await mkdir(_0x4d2062,{'recursive':!![]});const _0x4851a2=await runNpmInstall(_0x4d2062,_0x32aa06[_0x35529c(0x2bf,0x472,_0x32906b._0x24fb92,_0x32906b._0x16a4d2)],_0x2a2e1f);if(!_0x4851a2)return void 0x0;function _0x37aea5(_0x5d3cee,_0x292bc5,_0xf2b9b5,_0x1fda11){return _0x7a34e9(_0x1fda11,_0x292bc5-0x5,_0xf2b9b5-_0x2170ad._0x372fa7,_0x292bc5- -0xc2);}const _0x10071a=_0x2bba96[_0x37aea5(0x2fd,0x215,0x168,_0x32906b._0x343541)](getLspBinDir(_0x32aa06[_0x35529c(_0x32906b._0x24a3b7,_0x32906b._0x355fe2,0x56e,0x3fd)]),binaryNameForPlatform(_0x2bc8c9));function _0x35529c(_0x647052,_0xe3377f,_0x5144d9,_0x3c9256){return _0x167156(_0x3c9256- -0x39,_0x5144d9,_0x5144d9-_0x24f279._0x3b2957,_0x3c9256-0x156);}return await exists(_0x10071a)?_0x10071a:void 0x0;})()),installPromises[_0x167156(0x630,0x559,_0x14e7c2._0x163de7,0x71c)](_0x55970d,_0x169c31));try{return await _0x169c31;}catch{return void 0x0;}finally{installPromises[_0x7a34e9(_0x14e7c2._0x20eec6,-0x29,_0x14e7c2._0x114f0a,_0x14e7c2._0x3cf2bc)](_0x55970d);}}var TYPESCRIPT_EXTENSIONS=[_0x4ab00a(0x5d6,0x595,0x47c,0x518),_0x1932a3(0x291,0x3e3,0x3a5,0x3f5),_0x1932a3(0x48c,0x273,0x3c2,0x50f),_0x1932a3(0x3d0,0x549,0x3fa,0x4ab),'.mjs',_0x1932a3(0x263,0x1cd,0x328,0x221),_0x4ab00a(0x471,0x2b4,0x3af,0x3d4),_0x1932a3(0x5bf,0x63d,0x4c7,0x490)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x4ab00a(0x4cf,0x430,0x485,0x59a)],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0x1932a3(0x363,0x372,0x3af,0x3e3),_0x4ab00a(0x37d,0x572,0x556,0x4a7),_0x4ab00a(0x540,0x51b,0x626,0x62e),'yarn.lock',_0x1932a3(0x19e,0x157,0x2cf,0x3cb),'jsconfig.json',_0x4ab00a(0x5da,0x568,0x690,0x5b6)],BIOME_ROOT_MARKERS=['biome.json',_0x4ab00a(0x219,0x377,0x43a,0x383),_0x4ab00a(0x4ff,0x4fe,0x494,0x592),_0x1932a3(0x4dc,0x2c6,0x3af,0x340),'bun.lock',_0x4ab00a(0x6ed,0x55c,0x700,0x62e),_0x4ab00a(0x2fc,0x506,0x339,0x3c7),_0x1932a3(0x494,0x4ad,0x4bf,0x3b7)];async function exists2(_0x19c88b){try{return await _0x461961(_0x19c88b),!![];}catch{return![];}}async function findUp(_0x21744d,_0x5bd9e9){const _0x1650b7={_0x1c47d9:0x53c,_0x4f9b10:0x4dd,_0x2739fd:0x7e,_0x1aedf7:0x21e,_0x472099:0x223,_0x56e27e:0x28b},_0x1a6688={_0x538ba0:0xec},_0x20be5c={_0x3dac:0xc0,_0x189a1e:0x54};function _0x1eecb6(_0x356595,_0x154a1d,_0x56b1b3,_0x4aa6d3){return _0x4ab00a(_0x356595-0x1c4,_0x154a1d-_0x20be5c._0x3dac,_0x154a1d,_0x4aa6d3-_0x20be5c._0x189a1e);}let _0x2e43cf=_0x4577a3[_0x1eecb6(0x526,0x626,_0x1650b7._0x1c47d9,_0x1650b7._0x4f9b10)](_0x21744d);function _0x4f82d1(_0x369197,_0x31f584,_0x464daa,_0x2750f2){return _0x1932a3(_0x369197,_0x31f584-0x3a,_0x464daa- -0x38b,_0x2750f2-_0x1a6688._0x538ba0);}const _0xc0f9a9=_0x4577a3[_0x4f82d1(_0x1650b7._0x2739fd,0x29a,0x1a3,_0x1650b7._0x1aedf7)](_0x2e43cf);if(_0xc0f9a9)_0x2e43cf=_0x4577a3[_0x1eecb6(0x2a1,0x2ad,0x4e6,0x3de)](_0x2e43cf);while(!![]){for(const _0x23de4c of _0x5bd9e9){if(await exists2(_0x4577a3[_0x4f82d1(0x1f5,_0x1650b7._0x472099,0x16f,_0x1650b7._0x56e27e)](_0x2e43cf,_0x23de4c)))return _0x2e43cf;}const _0x29f325=_0x4577a3['dirname'](_0x2e43cf);if(_0x29f325===_0x2e43cf)return void 0x0;_0x2e43cf=_0x29f325;}}async function hasDenoRoot(_0x4fa556){const _0x1978b1={_0x379a74:0x436,_0x3059b2:0x491,_0x38847f:0x14d,_0x3eaff4:0x5b2,_0x460830:0x529,_0x114490:0x483},_0x509a2b={_0x3abf3f:0x137,_0x5f4b00:0x103},_0x18eb62={_0x5316ef:0x1ad,_0x466ade:0x1};function _0x3c4b05(_0x521b5a,_0x2066e0,_0x337eb1,_0x581136){return _0x4ab00a(_0x521b5a-_0x18eb62._0x5316ef,_0x2066e0-_0x18eb62._0x466ade,_0x2066e0,_0x337eb1- -0x2cb);}function _0x413163(_0x456d2e,_0x13c9c7,_0x28043c,_0x363d89){return _0x4ab00a(_0x456d2e-_0x509a2b._0x3abf3f,_0x13c9c7-_0x509a2b._0x5f4b00,_0x13c9c7,_0x28043c- -0x3f);}return await exists2(_0x4577a3[_0x3c4b05(0x43a,_0x1978b1._0x379a74,0x326,_0x1978b1._0x3059b2)](_0x4fa556,_0x3c4b05(0xc,-0x1c,_0x1978b1._0x38847f,0x189)))||await exists2(_0x4577a3[_0x413163(0x4f5,0x641,_0x1978b1._0x3eaff4,0x51a)](_0x4fa556,_0x413163(_0x1978b1._0x460830,_0x1978b1._0x114490,0x4b3,0x449)));}async function resolveTsserverPath(_0x5e672e){const _0x1cb20e={_0x140f18:0x52c,_0x491c17:0x661,_0x9402a5:0x694,_0x5bd9ed:0x690,_0x1eb9b4:0x473,_0x46bb4a:0x365,_0x51cdae:0x36e,_0x1cf89b:0x49d,_0xd57c31:0x670,_0x43a305:0x693,_0x2da8bc:0x630,_0x248db3:0x6ae,_0x20218d:0x6cc,_0x89fd15:0x6c9,_0xd0c14e:0x60c,_0x1f80d6:0x6ea,_0x414cb3:0x6b5,_0x350cbc:0x474,_0x35168a:0x490,_0x4b21ae:0x921,_0x2c8dde:0x933,_0x5a11d0:0x84e,_0x4d6705:0x5da,_0x5ec605:0x84d,_0x37fd04:0x706},_0x1e459d={_0x5ec558:0x1c6},_0x44f3d2={_0x16ed66:0x169,_0x3ec94d:0xa3};function _0x5c6588(_0x1b92df,_0x37b683,_0x2a2212,_0x4946bf){return _0x4ab00a(_0x1b92df-0xcc,_0x37b683-_0x44f3d2._0x16ed66,_0x4946bf,_0x1b92df-_0x44f3d2._0x3ec94d);}let _0x428123=_0x4577a3[_0x5c6588(_0x1cb20e._0x140f18,0x6a0,_0x1cb20e._0x491c17,0x3c5)](_0x5e672e);while(!![]){const _0x46c6dd=_0x4577a3[_0x5c6588(_0x1cb20e._0x9402a5,_0x1cb20e._0x5bd9ed,0x609,0x627)](_0x428123,_0x5c6588(_0x1cb20e._0x1eb9b4,0x5b7,_0x1cb20e._0x46bb4a,0x4f2),_0x5c6588(0x474,_0x1cb20e._0x51cdae,_0x1cb20e._0x1cf89b,0x46e),_0x5c6588(0x575,_0x1cb20e._0xd57c31,_0x1cb20e._0x43a305,_0x1cb20e._0x2da8bc),_0x283f75(_0x1cb20e._0x248db3,_0x1cb20e._0x20218d,_0x1cb20e._0x89fd15,_0x1cb20e._0xd0c14e));if(await exists2(_0x46c6dd))return _0x46c6dd;const _0x35d5ff=_0x4577a3[_0x283f75(_0x1cb20e._0x1f80d6,_0x1cb20e._0x414cb3,0x4d7,0x590)](_0x428123);if(_0x35d5ff===_0x428123)break;_0x428123=_0x35d5ff;}const _0x3352ff=getLspPackageDir(_0x5c6588(_0x1cb20e._0x350cbc,0x33c,0x52f,_0x1cb20e._0x35168a)),_0xa6b70c=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x283f75(0x907,_0x1cb20e._0x4b21ae,_0x1cb20e._0x2c8dde,_0x1cb20e._0x5a11d0),'startDir':_0x5e672e});if(!_0xa6b70c)return void 0x0;const _0x8f45e4=_0x4577a3['join'](_0x3352ff,_0x283f75(_0x1cb20e._0x4d6705,0x4cc,0x645,0x5d6),'typescript',_0x283f75(0x60a,_0x1cb20e._0x5ec605,_0x1cb20e._0x37fd04,0x6d8),_0x283f75(0x52c,0x578,0x54c,_0x1cb20e._0xd0c14e));function _0x283f75(_0x408bb1,_0x51a9de,_0x4643fa,_0xe55ccb){return _0x1932a3(_0x51a9de,_0x51a9de-0x1b0,_0xe55ccb-0x2fd,_0xe55ccb-_0x1e459d._0x5ec558);}return await exists2(_0x8f45e4)?_0x8f45e4:void 0x0;}var TypeScriptServer={'id':_0x4ab00a(0x40d,0x437,0x490,0x3d1),'name':_0x4ab00a(0x5d6,0x6ee,0x5aa,0x612),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x87461b){const _0x3a7024=await findUp(_0x87461b,TYPESCRIPT_ROOT_MARKERS);if(!_0x3a7024)return void 0x0;return await hasDenoRoot(_0x3a7024)?void 0x0:_0x3a7024;},async 'spawn'(_0x2358a4){const _0x4c4518={_0x3238cd:0x1bf,_0x24673b:0x7b,_0x33d42a:0x1e4,_0x43fcbc:0x1a5,_0x36d448:0xbd},_0x3618e5={_0xabe253:0x1d},_0x48b6b8={_0x2282a1:0x133,_0x2b80b4:0x1d3,_0x379943:0x3f};function _0x1961cb(_0x210ef1,_0x44fbad,_0x224f66,_0x3a61f9){return _0x4ab00a(_0x210ef1-_0x48b6b8._0x2282a1,_0x44fbad-_0x48b6b8._0x2b80b4,_0x224f66,_0x210ef1-_0x48b6b8._0x379943);}function _0x190925(_0x20943d,_0x1a65cc,_0x50146f,_0x584843){return _0x4ab00a(_0x20943d-0x72,_0x1a65cc-_0x3618e5._0xabe253,_0x20943d,_0x584843- -0x56e);}const _0x3245ac=await resolveTsserverPath(_0x2358a4);if(!_0x3245ac)return void 0x0;const _0x2d891c=await resolvePackageBinary({'packageName':_0x190925(-_0x4c4518._0x3238cd,-0xe0,-_0x4c4518._0x24673b,-0x1d2),'binaryName':_0x190925(-_0x4c4518._0x33d42a,-0x300,-_0x4c4518._0x43fcbc,-0x1d2),'startDir':_0x2358a4});if(!_0x2d891c)return void 0x0;return{'process':_0x4982e0(_0x2d891c,['--stdio'],{'cwd':_0x2358a4,'stdio':_0x190925(_0x4c4518._0x36d448,-0xd1,-0x17f,-0xb0)}),'initialization':{'tsserver':{'path':_0x3245ac}}};}},BiomeServer={'id':'biome','name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x4e9226){return findUp(_0x4e9226,BIOME_ROOT_MARKERS);},async 'spawn'(_0x489d8a){const _0x4dca5f={_0x54822d:0x5ce,_0x1e97cb:0x536,_0x1c67b6:0x5d7,_0x547a8c:0x6f5,_0x35149e:0x5e7,_0x44fba9:0x493,_0x14596c:0x65f,_0x3fd2d:0x4bc,_0x50a260:0x522,_0x2fc3e6:0x3e4,_0x4fe480:0x5d5,_0xe36804:0x571},_0x3ae2ee={_0x1621c7:0x1bb},_0x2599ab={_0x45f8e2:0x93,_0x2b6402:0x18};function _0xca5d08(_0x1f7456,_0x1afb48,_0x5cafd5,_0x28b672){return _0x4ab00a(_0x1f7456-_0x2599ab._0x45f8e2,_0x1afb48-_0x2599ab._0x2b6402,_0x1afb48,_0x1f7456-0x117);}const _0x3b7fd3=await findPackageBinary(_0xca5d08(_0x4dca5f._0x54822d,0x46b,_0x4dca5f._0x1e97cb,0x619),_0x489d8a)??await resolvePackageBinary({'packageName':_0xca5d08(0x513,_0x4dca5f._0x1c67b6,0x4bb,0x622),'binaryName':_0xca5d08(0x5ce,_0x4dca5f._0x547a8c,_0x4dca5f._0x35149e,_0x4dca5f._0x44fba9),'startDir':_0x489d8a});if(!_0x3b7fd3)return void 0x0;function _0x554a52(_0x2ce5e2,_0x53e757,_0x5e0a7d,_0x1c63cc){return _0x4ab00a(_0x2ce5e2-0x1dc,_0x53e757-0x80,_0x1c63cc,_0x53e757-_0x3ae2ee._0x1621c7);}return{'process':_0x4982e0(_0x3b7fd3,[_0xca5d08(0x6d4,_0x4dca5f._0x14596c,0x813,0x60e),_0xca5d08(_0x4dca5f._0x3fd2d,0x387,_0x4dca5f._0x50a260,_0x4dca5f._0x2fc3e6)],{'cwd':_0x489d8a,'stdio':_0xca5d08(_0x4dca5f._0x4fe480,_0x4dca5f._0xe36804,0x68a,0x4fc)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x317624){const _0x2cee44={_0x6434be:0x739,_0x2c37f2:0x82f,_0x1ebdd2:0x72d,_0x2b29e2:0x3ab,_0xc2f0c6:0x684,_0x5660a6:0x2b5,_0x568785:0x1b4},_0x3e7a50={_0x24376c:0x1b3},_0x3d5662={_0x375e23:0xfe,_0x53ac15:0x12d,_0x3cf773:0x108};function _0x66fab8(_0x4d654f,_0x4ec116,_0x1f3759,_0x44ff53){return _0x4ab00a(_0x4d654f-_0x3d5662._0x375e23,_0x4ec116-_0x3d5662._0x53ac15,_0x4d654f,_0x44ff53-_0x3d5662._0x3cf773);}function _0x4cb4d2(_0x1332c3,_0x5438b2,_0x3a1b31,_0x1f3e47){return _0x4ab00a(_0x1332c3-_0x3e7a50._0x24376c,_0x5438b2-0x42,_0x1f3e47,_0x3a1b31- -0x4d4);}const _0x422b20=_0x4577a3[_0x66fab8(_0x2cee44._0x6434be,_0x2cee44._0x2c37f2,0x672,_0x2cee44._0x1ebdd2)](_0x317624)[_0x66fab8(_0x2cee44._0x2b29e2,0x575,_0x2cee44._0xc2f0c6,0x515)]();return BUILTIN_LSP_SERVERS[_0x4cb4d2(_0x2cee44._0x5660a6,0x2bb,0x167,_0x2cee44._0x568785)](_0x8dbce5=>_0x8dbce5[_0x66fab8(0x5f6,0x543,0x3f9,0x49d)][_0x4cb4d2(0x50,0xb2,-0x87,-0x129)](_0x422b20));}function stateKey(_0x5cedb8,_0x349ef5){return _0x349ef5+':'+_0x5cedb8['id'];}function diagnosticsKeyToPath(_0x259939){const _0x2387a0={_0x425091:0x17a,_0x5593f7:0x4a},_0x24e084={_0xb2bfff:0xeb},_0x5ba878={_0x29414b:0x48,_0x34a675:0xb6};if(!_0x259939[_0x3e28cf(0x573,0x409,0x44b,0x3ce)](_0x5a268a(-_0x2387a0._0x425091,-_0x2387a0._0x5593f7,0xfb,0xac)))return _0x259939;function _0x3e28cf(_0x33fbc0,_0x4fe205,_0x3ac006,_0x1c6fea){return _0x4ab00a(_0x33fbc0-_0x5ba878._0x29414b,_0x4fe205-0xbc,_0x1c6fea,_0x3ac006- -_0x5ba878._0x34a675);}function _0x5a268a(_0x4a2472,_0xe26e2e,_0x42a0c0,_0x4fab0a){return _0x4ab00a(_0x4a2472-0xa4,_0xe26e2e-_0x24e084._0xb2bfff,_0x4a2472,_0xe26e2e- -0x5b6);}return fileURLToPath(_0x259939);}function nextFileVersion(_0x4f0391,_0x3b67d6){const _0x4873b5={_0x4d9f40:0x99,_0x47dee2:0xd,_0x42a9e3:0x297,_0x4f9458:0x1e7,_0x3ae987:0x1ce,_0x1aafee:0x326},_0x3d86e1={_0x108d3c:0x5bc},_0x2c3537={_0x6cee32:0x1a2,_0x57c604:0x337},_0x4e3bb9=(_0x4f0391[_0x4f1709(0xa8,-_0x4873b5._0x4d9f40,0xb,_0x4873b5._0x47dee2)][_0x2a22c2(0x337,0x1d2,0x152,_0x4873b5._0x42a9e3)](_0x3b67d6)??0x1)+0x1;function _0x2a22c2(_0x163688,_0x200655,_0x495b42,_0x374d49){return _0x1932a3(_0x163688,_0x200655-_0x2c3537._0x6cee32,_0x200655- -_0x2c3537._0x57c604,_0x374d49-0xa3);}_0x4f0391[_0x2a22c2(_0x4873b5._0x4f9458,0xf5,0x94,0xa0)][_0x2a22c2(0x9b,_0x4873b5._0x3ae987,_0x4873b5._0x1aafee,0x195)](_0x3b67d6,_0x4e3bb9);function _0x4f1709(_0x47cb5b,_0x7820b2,_0x2c2ed3,_0x5c965d){return _0x4ab00a(_0x47cb5b-0x6a,_0x7820b2-0x29,_0x5c965d,_0x7820b2- -_0x3d86e1._0x108d3c);}return _0x4e3bb9;}async function collectClientResults(_0x4a368e){const _0x1bdc4e={_0x330f54:0x32a,_0x168dee:0x28e,_0x314d84:0x476,_0x418fb8:0x508,_0x27aedc:0x4a9},_0x2aaa0e={_0xdcb003:0xa6},_0x400f2c={_0x50e9a2:0xfd},_0x24c753=await Promise[_0x23c055(0x34e,_0x1bdc4e._0x330f54,_0x1bdc4e._0x168dee,_0x1bdc4e._0x314d84)](_0x4a368e);function _0x23c055(_0x5e4730,_0x5f0f61,_0x59f2a5,_0x469ab4){return _0x1932a3(_0x5e4730,_0x5f0f61-0xd8,_0x5f0f61-0x61,_0x469ab4-_0x400f2c._0x50e9a2);}function _0x44d267(_0x59891b,_0x578caa,_0x5a68e7,_0x20182e){return _0x1932a3(_0x5a68e7,_0x578caa-0x103,_0x20182e-0x11c,_0x20182e-_0x2aaa0e._0xdcb003);}return _0x24c753[_0x44d267(_0x1bdc4e._0x418fb8,0x530,0x4b2,_0x1bdc4e._0x27aedc)](_0x170efd=>_0x170efd[_0x23c055(0x1c0,0x2e0,0x435,0x2c1)]===_0x44d267(0x5c3,0x60f,0x653,0x58f)?_0x170efd[_0x23c055(0x526,0x59e,0x605,0x6d2)]:[]);}function createLspService(_0x3fa06a={}){const _0x251777={_0x595bb3:0x66d,_0x50a788:0x448},_0x1b3d44={_0x518278:0x70b,_0x115f0a:0x2a,_0x167b69:0xc2,_0x4ffbbd:0x151,_0x5d4e59:0x452,_0xdd3ca1:0x4a4,_0x165e45:0x112,_0x5ac667:0x64,_0xc41db:0x54,_0x4ff667:0xe6,_0x3a1a85:0x3c,_0x5766c3:0x6a1,_0x38853e:0x5aa,_0xfb167f:0x5de,_0x1e0126:0x699,_0x43ace3:0x52c,_0xd398c3:0x59,_0x471132:0xed,_0x561580:0x6a3,_0x2c2d96:0x591,_0xb65770:0x6c8,_0x8eb3c0:0x669},_0x5848b0={_0x84dee:0x7f,_0x33a9c6:0x16b},_0x5911eb={_0x4a9baf:0x3e5,_0x3e215f:0x473,_0x131ffc:0x4b7},_0x36ee58={_0x4cac9e:0xe0,_0x22cd04:0x59},_0x5ce95e={_0xee82e5:0x7a,_0x2135f0:0x37d},_0x4ab813={_0x583ac0:0x92,_0x3deea4:0x315,_0x181cb7:0x54},_0x51a64f={_0x475a43:0x118,_0x28b486:0xc2},_0x481114={_0x532fcd:0x382,_0x2dbc4b:0x561},_0x460af6={_0x14efc6:0xdb},_0x32f7bd={_0x26bbdf:0x1e1,_0x9819b9:0x124,_0x267c8a:0xb0},_0x50223a={_0x2cf17b:0x2dd,_0x10a180:0x124,_0x254ba8:0x31f,_0x27a88d:0x2dc,_0x23e4a0:0x244,_0x3b0cab:0x247,_0x6632dc:0x339},_0x50ded4={_0x3f107e:0xab,_0x1b11a0:0x99},_0x1ff51f={_0x53dc11:0x9f},_0x24914a={_0x49f9da:0x1dd,_0x2eaa08:0x381,_0x4d7e4f:0x171},_0x273fde={_0x3a0b27:0x59a},_0x3e605e={_0x1f5154:0x60,_0x489e6a:0x261,_0x3adbc2:0x161},_0x50d692={_0x1c504f:0x44e,_0x1ee6d3:0x390,_0x44455a:0x473},_0x3481ed={_0x1514df:0xcc,_0x2116e8:0xa6},_0x438ff1={_0x58ba86:0x15c,_0x15591e:0x1c8},_0x39a4bd={_0x332880:0x153,_0x18d263:0xea,_0x4c84a1:0x77,_0x5c369e:0x64,_0x4181c9:0x28d,_0x2fbc4e:0x1ed},_0x3788cb={_0xacd7df:0x113,_0x1035f4:0x40},_0x1a287d={_0x292687:0x4f,_0x2d0bb5:0x4f,_0x1ce546:0xe9,_0x10af68:0xe9,_0x4fae12:0x66},_0x44a3dc={_0x2e7392:0x54,_0x28fbdd:0x1a9},_0x2c06cf={_0x1a919c:0x95},_0x5d2246={_0x29e4de:0x154,_0x3b8df7:0x1be},_0x2081ea={_0x3ed5fd:0x460,_0x1054d:0x350},_0xeffaf5={_0x14fabf:0x132},_0x85cfd7={_0x59fd38:0x74,_0x59c30b:0x3f,_0x11873b:0x52,_0x492593:0x1c9},_0x47e0cd={_0x2e4496:0x453,_0x4be27e:0x182,_0x2c6ee8:0x2d4,_0x432f19:0x342,_0x59ecf6:0x385,_0x4875d8:0x3b9,_0x318e0b:0x4b7,_0x194413:0x1de,_0x267846:0x1e7,_0x4012fe:0x5de,_0x2693d7:0x5d2},_0x41a21d={_0xdb7c4e:0x1a6,_0x56a2e5:0x7d},_0x153c31={_0xf9a24a:0x209,_0x310abc:0x163,_0x1f2f30:0x17f,_0x5cab6a:0x169,_0xd748e7:0x170,_0x4af310:0x5d,_0x492adb:0x6c,_0x411dc7:0x2af,_0x2aa995:0x13f,_0x1c0193:0x19e,_0x111571:0x2b,_0x20ceb2:0x1fc,_0x35d242:0x2dd,_0x236f32:0x478},_0x3ab0f5={_0x5748ff:0x51a,_0x47e7cf:0x42e,_0x4c7c9a:0x8b8,_0x127e6b:0x849,_0xbd376e:0x4e9,_0x2fbe89:0x425,_0x379f79:0x720,_0x17ad93:0x5cd,_0x504c35:0x5ec,_0x401d35:0x53f,_0x18c1a1:0x633,_0x3e66db:0x4e1,_0x2a5cbd:0x487,_0x40326f:0x60c,_0x23772d:0x458,_0x39f7e7:0x485,_0x52eae4:0x32c,_0x1cd684:0x28c,_0x7ff686:0x824,_0x4eff05:0x784,_0x59ee49:0x660,_0x39f9ea:0x898,_0x4d7ee4:0x7d0,_0x744f46:0x7b4,_0x36f773:0x138,_0x5e5677:0x14b},_0x135151={_0x14a52d:0x2e},_0x2d4e33={_0x5064ad:0x3},_0xb2f5f={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1f9468=()=>_0x3fa06a[_0x106950(0x1ff,0x31c,0x264,0x1b5)]!==![];function _0x106950(_0x1b3d2a,_0x527657,_0x2c03ab,_0x49040f){return _0x4ab00a(_0x1b3d2a-0x11c,_0x527657-_0x2d4e33._0x5064ad,_0x527657,_0x2c03ab- -0x115);}async function _0x5db323(_0x54a040,_0x457921){const _0x3ed8b4={_0x5cfd47:0x1ca},_0x1d7b53={_0x400156:0x18b},_0x1e1228=stateKey(_0x54a040,_0x457921),_0x3e7929=_0xb2f5f[_0x936c44(_0x153c31._0xf9a24a,_0x153c31._0x310abc,0x2cf,_0x153c31._0x1f2f30)][_0x936c44(_0x153c31._0x5cab6a,0x1c9,_0x153c31._0xd748e7,0x215)](_0x24b446=>_0x24b446[_0x936c44(0x242,0x3b7,0x26d,0x4ec)]===_0x54a040['id']&&_0x24b446[_0x936c44(0x161,0x2cb,0x30f,0x239)]===_0x457921);if(_0x3e7929)return _0x3e7929;if(_0xb2f5f['broken'][_0x39ba85(-0x15,_0x153c31._0x4af310,-0x30,-_0x153c31._0x492adb)](_0x1e1228))return void 0x0;const _0x443679=_0xb2f5f[_0x936c44(0x2a0,_0x153c31._0x411dc7,0x377,_0x153c31._0x2aa995)][_0x39ba85(0xfe,_0x153c31._0x1c0193,0x176,_0x153c31._0x111571)](_0x1e1228);function _0x936c44(_0x376b30,_0x401c47,_0x56b01c,_0x321467){return _0x106950(_0x376b30-0xce,_0x56b01c,_0x401c47- -_0x1d7b53._0x400156,_0x321467-0x88);}if(_0x443679)return _0x443679;function _0x39ba85(_0xa35445,_0x50852e,_0x17d62e,_0x4b7b92){return _0x106950(_0xa35445-_0x135151._0x14a52d,_0xa35445,_0x17d62e- -0x375,_0x4b7b92-0xba);}const _0x4d0305=((async()=>{function _0x2942f3(_0x4b3c08,_0x5b36bd,_0x5b5f68,_0x2dcbb1){return _0x39ba85(_0x5b5f68,_0x5b36bd-0x65,_0x4b3c08-0x22b,_0x2dcbb1-_0x3ed8b4._0x5cfd47);}function _0x4b86b9(_0x3ac79a,_0x354d2c,_0x102308,_0x50074a){return _0x39ba85(_0x354d2c,_0x354d2c-0xf0,_0x102308-0x654,_0x50074a-0x150);}try{const _0x8556d1=await _0x54a040[_0x4b86b9(0x480,_0x3ab0f5._0x5748ff,0x598,_0x3ab0f5._0x47e7cf)](_0x457921);if(!_0x8556d1)return _0xb2f5f[_0x4b86b9(_0x3ab0f5._0x4c7c9a,_0x3ab0f5._0x127e6b,0x784,0x825)][_0x2942f3(0x3a7,_0x3ab0f5._0xbd376e,_0x3ab0f5._0x2fbe89,0x4ec)](_0x1e1228),void 0x0;const _0x2b1c00=await createLspClient({'server':_0x54a040,'root':_0x457921,'handle':_0x8556d1}),_0x1a126b=_0xb2f5f[_0x4b86b9(0x721,_0x3ab0f5._0x379f79,_0x3ab0f5._0x17ad93,_0x3ab0f5._0x504c35)][_0x4b86b9(_0x3ab0f5._0x401d35,0x62d,_0x3ab0f5._0x18c1a1,_0x3ab0f5._0x3e66db)](_0x5dd414=>_0x5dd414['serverId']===_0x54a040['id']&&_0x5dd414[_0x2942f3(0x30c,0x1a8,0x40a,0x21f)]===_0x457921);if(_0x1a126b)return await _0x2b1c00[_0x4b86b9(_0x3ab0f5._0x2a5cbd,_0x3ab0f5._0x40326f,0x548,_0x3ab0f5._0x23772d)](),_0x1a126b;return _0xb2f5f[_0x4b86b9(0x6f3,_0x3ab0f5._0x39f7e7,_0x3ab0f5._0x17ad93,0x612)][_0x2942f3(_0x3ab0f5._0x52eae4,0x23e,_0x3ab0f5._0x1cd684,0x34a)](_0x2b1c00),_0x2b1c00;}catch{return _0xb2f5f[_0x4b86b9(0x8ee,_0x3ab0f5._0x7ff686,_0x3ab0f5._0x4eff05,_0x3ab0f5._0x59ee49)][_0x4b86b9(0x923,_0x3ab0f5._0x39f9ea,_0x3ab0f5._0x4d7ee4,0x6b5)](_0x1e1228),void 0x0;}finally{_0xb2f5f[_0x4b86b9(0x6b9,_0x3ab0f5._0x744f46,0x719,0x698)][_0x2942f3(_0x3ab0f5._0x36f773,_0x3ab0f5._0x5e5677,0xb5,0xa6)](_0x1e1228);}})());return _0xb2f5f['spawning'][_0x936c44(_0x153c31._0x20ceb2,0x35c,_0x153c31._0x35d242,_0x153c31._0x236f32)](_0x1e1228,_0x4d0305),_0x4d0305;}async function _0x5cfcba(_0x491b5c,_0x4a9a8a){const _0x5acc04={_0x4b48a9:0x1a6,_0x10e7f3:0x323};if(!_0x1f9468())return[];function _0x35f93d(_0x12d3b4,_0x643a8e,_0x313978,_0x47144b){return _0x106950(_0x12d3b4-_0x41a21d._0xdb7c4e,_0x643a8e,_0x12d3b4- -0x3,_0x47144b-_0x41a21d._0x56a2e5);}function _0x10e0fc(_0x5d839c,_0x5a34b0,_0x2afff0,_0x5b88da){return _0x106950(_0x5d839c-_0x5acc04._0x4b48a9,_0x5a34b0,_0x2afff0- -_0x5acc04._0x10e7f3,_0x5b88da-0x56);}const _0x23d4de=[];for(const _0x16d9b2 of getServersForFile(_0x491b5c)){const _0x48f5d1=await _0x16d9b2[_0x35f93d(_0x47e0cd._0x2e4496,0x3f4,0x4d2,0x56b)](_0x491b5c);if(!_0x48f5d1)continue;const _0x1ba974=stateKey(_0x16d9b2,_0x48f5d1);if(_0xb2f5f[_0x10e0fc(0x225,0x24a,_0x47e0cd._0x4be27e,_0x47e0cd._0x2c6ee8)][_0x35f93d(_0x47e0cd._0x432f19,_0x47e0cd._0x59ecf6,_0x47e0cd._0x4875d8,_0x47e0cd._0x318e0b)](_0x1ba974))continue;const _0x5631af=_0xb2f5f['clients'][_0x35f93d(0x351,_0x47e0cd._0x194413,_0x47e0cd._0x267846,0x1f2)](_0x3b5567=>_0x3b5567[_0x10e0fc(0x243,0x2dd,0x21f,0x304)]===_0x16d9b2['id']&&_0x3b5567['root']===_0x48f5d1);if(_0x5631af){_0x23d4de['push'](_0x5631af);continue;}if(!_0x4a9a8a)continue;const _0x3a6a16=await _0x5db323(_0x16d9b2,_0x48f5d1);if(_0x3a6a16)_0x23d4de[_0x35f93d(0x473,_0x47e0cd._0x4012fe,_0x47e0cd._0x2693d7,0x31a)](_0x3a6a16);}return _0x23d4de;}async function _0xb2945b(_0xdddd75,_0x4ddc37=![]){const _0x249631={_0x31c7f2:0x79e,_0x4020a4:0x703,_0x479e91:0x529,_0x1b7820:0x5b4,_0x26f2da:0x75e,_0x3355ef:0x532,_0x1dfd74:0x610,_0xf6df84:0x84c,_0x5ba5b7:0x680,_0x1b57e2:0x5f9,_0x49f57d:0x698,_0x136440:0x543},_0x51a159={_0x3ec603:0x62},_0x5ce277={_0xd18854:0x16c,_0x37daba:0x298,_0x1b8ddc:0xb9},_0x4c8c57={_0x29a160:0x44d,_0x543bd8:0x32};function _0x3572e2(_0x34ceb4,_0x58a9b5,_0x28b3e0,_0x913465){return _0x106950(_0x34ceb4-0x50,_0x913465,_0x58a9b5- -_0x4c8c57._0x29a160,_0x913465-_0x4c8c57._0x543bd8);}const _0x21b004=await _0x5cfcba(_0xdddd75,!![]);function _0x3b5904(_0xe6c6bf,_0x7e7438,_0x19b15e,_0xb9510c){return _0x106950(_0xe6c6bf-_0x5ce277._0xd18854,_0xe6c6bf,_0xb9510c-_0x5ce277._0x37daba,_0xb9510c-_0x5ce277._0x1b8ddc);}await Promise[_0x3572e2(-0x33,-_0x85cfd7._0x59fd38,_0x85cfd7._0x59c30b,-_0x85cfd7._0x11873b)](_0x21b004[_0x3572e2(0x29,-0x11c,-0x8a,-_0x85cfd7._0x492593)](async _0x182324=>{!_0xb2f5f['openFiles']['has'](_0x182324['serverId']+':'+_0x182324[_0x3d060d(0x68c,_0x249631._0x31c7f2,_0x249631._0x4020a4,0x6aa)]+':'+_0xdddd75)&&(await _0x182324['notify']['open']({'path':_0xdddd75}),_0xb2f5f[_0x192ac4(_0x249631._0x479e91,0x71d,0x67b,_0x249631._0x1b7820)]['add'](_0x182324['serverId']+':'+_0x182324[_0x192ac4(_0x249631._0x26f2da,0x727,_0x249631._0x3355ef,0x649)]+':'+_0xdddd75));function _0x3d060d(_0x299962,_0x4409a0,_0x3e943b,_0x4de610){return _0x3b5904(_0x4de610,_0x4409a0-0x1d4,_0x3e943b-0xf,_0x299962- -_0x51a159._0x3ec603);}function _0x192ac4(_0xf9a5c4,_0x41b722,_0xdf79fb,_0x5907a4){return _0x3b5904(_0x41b722,_0x41b722-0xfa,_0xdf79fb-0x28,_0x5907a4- -0xa5);}await _0x182324[_0x3d060d(0x752,_0x249631._0x1dfd74,_0x249631._0xf6df84,_0x249631._0x5ba5b7)][_0x3d060d(0x740,0x7ae,0x65b,_0x249631._0x1b57e2)]({'path':_0xdddd75,'version':nextFileVersion(_0xb2f5f,_0xdddd75)});if(_0x4ddc37)await _0x182324[_0x192ac4(0x603,0x49a,_0x249631._0x49f57d,_0x249631._0x136440)]({'path':_0xdddd75});}));}async function _0x2715f(_0x3f5698){const _0x4daeee={_0x515c28:0xe7,_0x365000:0x144};function _0x326ec8(_0x30bbc7,_0x2533bd,_0x267940,_0x4b9f45){return _0x106950(_0x30bbc7-0x39,_0x267940,_0x30bbc7-_0xeffaf5._0x14fabf,_0x4b9f45-0x53);}await _0xb2945b(_0x3f5698[_0x326ec8(0x3a8,0x3a3,_0x2081ea._0x3ed5fd,0x406)],![]);function _0x1ba9b5(_0x3196b3,_0x137370,_0x151efa,_0x5c9b74){return _0x106950(_0x3196b3-0xdb,_0x151efa,_0x137370-_0x4daeee._0x515c28,_0x5c9b74-_0x4daeee._0x365000);}return _0x5cfcba(_0x3f5698[_0x326ec8(0x3a8,0x3ea,_0x2081ea._0x1054d,0x398)],![]);}async function _0x5733b9(_0x1fa629){const _0x3016ee={_0x1d2dd6:0x52,_0x180483:0x457,_0x1e2f60:0x1ed};function _0x2b32ea(_0x4a7c6f,_0x47d5f2,_0x48707d,_0x11ad83){return _0x106950(_0x4a7c6f-_0x3016ee._0x1d2dd6,_0x47d5f2,_0x48707d- -_0x3016ee._0x180483,_0x11ad83-_0x3016ee._0x1e2f60);}function _0x28258d(_0x559720,_0x1c0c76,_0x418a10,_0x4439ca){return _0x106950(_0x559720-_0x5d2246._0x29e4de,_0x4439ca,_0x418a10-0x51,_0x4439ca-_0x5d2246._0x3b8df7);}const _0xed9969=await _0x2715f(_0x1fa629);return collectClientResults(_0xed9969[_0x2b32ea(-0x5b,-0x1b7,-0x126,-_0x2c06cf._0x1a919c)](_0x7dcfae=>_0x7dcfae['request'][_0x28258d(0x5db,0x4b9,0x55d,0x55a)](_0x1fa629)));}return{'isEnabled':_0x1f9468,async 'hasClients'(_0xd121bc){const _0x30e101={_0x434d67:0x14a,_0x44ee5e:0x1a1};function _0x297459(_0x457280,_0x3ff295,_0x84a883,_0x5a2d49){return _0x106950(_0x457280-_0x44a3dc._0x2e7392,_0x457280,_0x84a883- -0x33a,_0x5a2d49-_0x44a3dc._0x28fbdd);}function _0x471f33(_0x593a43,_0x27f6d4,_0x5e4a12,_0x133933){return _0x106950(_0x593a43-_0x30e101._0x434d67,_0x593a43,_0x5e4a12-0x10a,_0x133933-_0x30e101._0x44ee5e);}return(await _0x5cfcba(_0xd121bc,![]))[_0x297459(-_0x1a287d._0x292687,-_0x1a287d._0x2d0bb5,_0x1a287d._0x1ce546,0x65)]>0x0||getServersForFile(_0xd121bc)[_0x297459(0x160,0x47,_0x1a287d._0x10af68,-_0x1a287d._0x4fae12)]>0x0;},'touchFile':_0xb2945b,async 'diagnostics'(){const _0x1d2ec1={_0x39bac1:0x5c,_0x686e7c:0x19a},_0x3fe0e9={};function _0x5ffbc6(_0x3eedfc,_0x14cb1,_0x5bbe47,_0x14370e){return _0x106950(_0x3eedfc-_0x3788cb._0xacd7df,_0x14cb1,_0x14370e- -0x28a,_0x14370e-_0x3788cb._0x1035f4);}function _0x18b408(_0x51ab41,_0x2cae50,_0x415a08,_0x22ebf2){return _0x106950(_0x51ab41-_0x1d2ec1._0x39bac1,_0x22ebf2,_0x2cae50-0x190,_0x22ebf2-_0x1d2ec1._0x686e7c);}for(const _0x2bcadd of _0xb2f5f[_0x5ffbc6(_0x39a4bd._0x332880,-_0x39a4bd._0x18d263,_0x39a4bd._0x4c84a1,_0x39a4bd._0x5c369e)]){for(const [_0x3e6ad5,_0x168bdd]of _0x2bcadd[_0x5ffbc6(0x2dd,_0x39a4bd._0x4181c9,0x158,_0x39a4bd._0x2fbc4e)]){_0x3fe0e9[diagnosticsKeyToPath(_0x3e6ad5)]=_0x168bdd;}}return _0x3fe0e9;},async 'diagnosticsForFile'(_0x3db271){function _0xb48f9f(_0x3b21c6,_0x42c1c1,_0x1938ef,_0x34ae89){return _0x106950(_0x3b21c6-_0x438ff1._0x58ba86,_0x1938ef,_0x3b21c6- -0x428,_0x34ae89-_0x438ff1._0x15591e);}await _0xb2945b(_0x3db271,!![]);function _0xe8a886(_0x359dfb,_0x600a7c,_0x5095f1,_0xabf77){return _0x106950(_0x359dfb-0x50,_0x600a7c,_0xabf77- -_0x3481ed._0x1514df,_0xabf77-_0x3481ed._0x2116e8);}const _0x426093=[];for(const _0x4cb3e7 of await _0x5cfcba(_0x3db271,![])){for(const [_0x574b99,_0x4fc227]of _0x4cb3e7[_0xe8a886(0x344,0x46b,0x3b8,0x3ab)]){if(diagnosticsKeyToPath(_0x574b99)===_0x3db271)_0x426093[_0xe8a886(_0x50d692._0x1c504f,_0x50d692._0x1ee6d3,_0x50d692._0x44455a,0x3aa)](..._0x4fc227);}}return _0x426093;},async 'definition'(_0x4d2ab8){const _0x271880={_0x564dab:0x76};function _0x38134b(_0x49cd55,_0x277034,_0x75e8d9,_0x5c2aeb){return _0x106950(_0x49cd55-_0x271880._0x564dab,_0x277034,_0x5c2aeb-0x269,_0x5c2aeb-0x159);}function _0xeae3eb(_0x3bd2ce,_0x46d779,_0x16b9bb,_0x1f0b95){return _0x106950(_0x3bd2ce-_0x3e605e._0x1f5154,_0x16b9bb,_0x3bd2ce-_0x3e605e._0x489e6a,_0x1f0b95-_0x3e605e._0x3adbc2);}return collectClientResults((await _0x2715f(_0x4d2ab8))[_0x38134b(0x50a,0x6fd,0x602,_0x273fde._0x3a0b27)](_0x4f9f93=>_0x4f9f93[_0x38134b(0x71e,0x67a,0x83a,0x6e3)][_0xeae3eb(0x5ed,0x619,0x647,0x529)](_0x4d2ab8)));},async 'references'(_0x29f131){const _0x2e2f5f={_0xed04f3:0x86,_0x17385e:0xca};function _0x4495cb(_0x21beb0,_0x3dd0e3,_0x5a7982,_0x502d58){return _0x106950(_0x21beb0-0x14e,_0x5a7982,_0x502d58-_0x2e2f5f._0xed04f3,_0x502d58-_0x2e2f5f._0x17385e);}function _0x24fce1(_0x1905df,_0x4739e0,_0xa68c4,_0x8eb02f){return _0x106950(_0x1905df-_0x24914a._0x49f9da,_0xa68c4,_0x8eb02f- -_0x24914a._0x2eaa08,_0x8eb02f-_0x24914a._0x4d7e4f);}return collectClientResults((await _0x2715f(_0x29f131))[_0x24fce1(-_0x1ff51f._0x53dc11,-0x1c4,0x84,-0x50)](_0x181ef8=>_0x181ef8[_0x4495cb(0x630,0x4b1,0x610,0x500)][_0x24fce1(0x1c4,0x85,0x102,0x152)](_0x29f131)));},async 'hover'(_0x3feddf){const _0x580573={_0xb73ffe:0x1df,_0x7b9aa5:0x1ae},_0x4a8218=await Promise[_0x139c25(_0x50223a._0x2cf17b,0x1cf,0x344,0x36b)]((await _0x2715f(_0x3feddf))[_0x4b6b6b(0x206,_0x50223a._0x10a180,_0x50223a._0x254ba8,_0x50223a._0x27a88d)](_0x4da8b8=>_0x4da8b8['request'][_0x139c25(0x453,0x621,0x5b4,0x4d9)](_0x3feddf)));function _0x139c25(_0x3c830c,_0x1db3e3,_0x4a4264,_0x114aeb){return _0x106950(_0x3c830c-_0x50ded4._0x3f107e,_0x3c830c,_0x4a4264-_0x50ded4._0x1b11a0,_0x114aeb-0xf1);}function _0x4b6b6b(_0x2963e9,_0x22c1c0,_0x5ce09e,_0x53eae3){return _0x106950(_0x2963e9-_0x580573._0xb73ffe,_0x53eae3,_0x2963e9- -0x12b,_0x53eae3-_0x580573._0x7b9aa5);}return _0x4a8218[_0x4b6b6b(_0x50223a._0x23e4a0,_0x50223a._0x3b0cab,_0x50223a._0x6632dc,0xed)](_0x573746=>_0x573746[_0x139c25(0x356,0x27d,0x2fa,0x20c)]===_0x4b6b6b(0x32a,0x21f,0x216,0x23b)&&_0x573746[_0x4b6b6b(0x3f4,0x37e,0x311,0x432)]?[_0x573746[_0x4b6b6b(0x3f4,0x4b9,0x35b,0x2c0)]]:[]);},async 'documentSymbol'(_0x2ffde6){await _0xb2945b(_0x2ffde6,![]);function _0x137443(_0x9ebb84,_0x1317ac,_0xd62a9c,_0x59d622){return _0x106950(_0x9ebb84-_0x32f7bd._0x26bbdf,_0x9ebb84,_0x59d622- -_0x32f7bd._0x9819b9,_0x59d622-_0x32f7bd._0x267c8a);}function _0x479d6c(_0x41d5a2,_0x3550b7,_0x498d3d,_0x4e6329){return _0x106950(_0x41d5a2-0x15d,_0x4e6329,_0x3550b7-_0x460af6._0x14efc6,_0x4e6329-0x36);}return collectClientResults((await _0x5cfcba(_0x2ffde6,![]))[_0x479d6c(_0x481114._0x532fcd,0x40c,_0x481114._0x2dbc4b,0x3cc)](_0x3da333=>_0x3da333['request'][_0x479d6c(0x4df,0x38f,0x40a,0x2e4)](_0x2ffde6)));},async 'workspaceSymbol'(_0x33627e){const _0x18d26e={_0x113cd7:0xe0};function _0x7769cb(_0x14ba27,_0x56d594,_0x4df5a0,_0x17fc6c){return _0x106950(_0x14ba27-0x175,_0x56d594,_0x4df5a0- -0x80,_0x17fc6c-_0x18d26e._0x113cd7);}function _0x4e2fea(_0x54c750,_0x549b8f,_0x2c2d62,_0x252afc){return _0x106950(_0x54c750-0x144,_0x252afc,_0x2c2d62- -0x289,_0x252afc-0x2a);}return collectClientResults(_0xb2f5f[_0x4e2fea(0x55,_0x51a64f._0x475a43,0x65,0xf5)][_0x4e2fea(_0x51a64f._0x28b486,-0x25,0xa8,-0x33)](_0x233ecc=>_0x233ecc['request'][_0x7769cb(0x274,0x376,0x333,0x1cf)](_0x33627e)));},async 'implementation'(_0xa532ff){function _0x50d114(_0x436fdd,_0x24b802,_0x3fd022,_0x3223e5){return _0x106950(_0x436fdd-0x1ca,_0x436fdd,_0x24b802-0x314,_0x3223e5-0x1ec);}function _0x315111(_0xc8677d,_0x578502,_0x20f32e,_0x38bf23){return _0x106950(_0xc8677d-_0x4ab813._0x583ac0,_0x578502,_0x38bf23- -_0x4ab813._0x3deea4,_0x38bf23-_0x4ab813._0x181cb7);}return collectClientResults((await _0x2715f(_0xa532ff))['map'](_0x249064=>_0x249064[_0x315111(0x183,0x19f,0x45,0x165)][_0x50d114(0x802,0x7a7,0x75c,0x632)](_0xa532ff)));},async 'prepareCallHierarchy'(_0x2c2e93){return _0x5733b9(_0x2c2e93);},async 'incomingCalls'(_0x360a7e){function _0x285e67(_0x5c26ba,_0x53b033,_0xbb568f,_0x365a7b){return _0x106950(_0x5c26ba-_0x5ce95e._0xee82e5,_0x365a7b,_0x53b033- -_0x5ce95e._0x2135f0,_0x365a7b-0x1b0);}const _0xa1a204=await _0x5733b9(_0x360a7e);function _0x4507d3(_0x591598,_0x7663cf,_0x1b1da8,_0x2d9aeb){return _0x106950(_0x591598-_0x36ee58._0x4cac9e,_0x7663cf,_0x1b1da8- -0x1f,_0x2d9aeb-_0x36ee58._0x22cd04);}const _0x4ff0e3=await _0x2715f(_0x360a7e);return collectClientResults(_0x4ff0e3[_0x4507d3(_0x5911eb._0x4a9baf,_0x5911eb._0x3e215f,0x350,_0x5911eb._0x131ffc)](_0x5c6ba9=>_0xa1a204[_0x285e67(0xb2,-0x4c,-0xf5,0x120)](_0x154e38=>_0x5c6ba9[_0x4507d3(0x381,0x318,0x45b,0x5d0)][_0x285e67(-0x144,-0x20,0x66,0x9f)](_0x154e38))));},async 'outgoingCalls'(_0x2e1d05){const _0x5b15f9={_0x5e7936:0x1d9,_0x4fc089:0x67},_0x2f553a={_0x24db56:0xaa,_0x46f871:0x3b},_0x23f1d8=await _0x5733b9(_0x2e1d05);function _0x2ce073(_0x5a636a,_0x1c76e6,_0x55cabe,_0xf7b01){return _0x106950(_0x5a636a-_0x2f553a._0x24db56,_0x5a636a,_0xf7b01- -0x262,_0xf7b01-_0x2f553a._0x46f871);}const _0x513436=await _0x2715f(_0x2e1d05);function _0x3bca09(_0x1d3c37,_0x377bca,_0xad2d6c,_0x429c43){return _0x106950(_0x1d3c37-0x1db,_0xad2d6c,_0x429c43-_0x5b15f9._0x5e7936,_0x429c43-_0x5b15f9._0x4fc089);}return collectClientResults(_0x513436[_0x2ce073(_0x5848b0._0x84dee,_0x5848b0._0x33a9c6,0x17e,0x10d)](_0x56bfc8=>_0x23f1d8['map'](_0x56fede=>_0x56bfc8[_0x3bca09(0x72a,0x5e7,0x59d,0x653)]['outgoingCalls'](_0x56fede))));},async 'shutdown'(){const _0x4d383d={_0x225fb1:0x1f2,_0x5673ec:0x1d0};function _0x28bc6c(_0x371a94,_0x474019,_0x4e6d5e,_0x29054f){return _0x106950(_0x371a94-_0x4d383d._0x225fb1,_0x4e6d5e,_0x474019-_0x4d383d._0x5673ec,_0x29054f-0x14b);}if(_0xb2f5f[_0x28bc6c(_0x1b3d44._0x518278,0x59d,0x6bf,0x4ff)])return;_0xb2f5f[_0x32168f(-0x66,0x33,-0xe8,-_0x1b3d44._0x115f0a)]=!![],await Promise['allSettled'](_0xb2f5f[_0x32168f(-0x145,-0x1d0,-_0x1b3d44._0x167b69,-_0x1b3d44._0x4ffbbd)]['map'](_0x35f7a7=>_0x35f7a7[_0x28bc6c(0x5b1,0x439,0x4d2,0x3a6)]())),_0xb2f5f[_0x28bc6c(_0x1b3d44._0x5d4e59,0x4be,_0x1b3d44._0xdd3ca1,0x5fb)]=[];function _0x32168f(_0x368e73,_0x375ca0,_0x4071d6,_0x328297){return _0x106950(_0x368e73-0x6,_0x4071d6,_0x368e73- -0x433,_0x328297-0xc2);}_0xb2f5f['spawning'][_0x32168f(-0x59,_0x1b3d44._0x165e45,-_0x1b3d44._0x5ac667,_0x1b3d44._0xc41db)](),_0xb2f5f[_0x32168f(0x72,_0x1b3d44._0x4ff667,_0x1b3d44._0x3a1a85,-0x46)][_0x28bc6c(_0x1b3d44._0x5766c3,_0x1b3d44._0x38853e,0x4f7,0x653)](),_0xb2f5f[_0x28bc6c(0x6b1,_0x1b3d44._0xfb167f,_0x1b3d44._0x1e0126,_0x1b3d44._0x43ace3)][_0x32168f(-_0x1b3d44._0xd398c3,0x73,_0x1b3d44._0x471132,0x3)](),_0xb2f5f[_0x28bc6c(_0x1b3d44._0x561580,_0x1b3d44._0x2c2d96,0x5ad,_0x1b3d44._0xb65770)][_0x28bc6c(0x5be,_0x1b3d44._0x38853e,0x68a,_0x1b3d44._0x8eb3c0)]();},'status'(){const _0x5af7aa={_0x289a5b:0xe5,_0x374b35:0x9f};function _0x388df1(_0x4d237e,_0xbf7160,_0x2c1625,_0x2a5f44){return _0x106950(_0x4d237e-0x58,_0x4d237e,_0x2a5f44-_0x5af7aa._0x289a5b,_0x2a5f44-_0x5af7aa._0x374b35);}return{'connectedClients':_0xb2f5f['clients'][_0x388df1(_0x251777._0x595bb3,0x4c9,_0x251777._0x50a788,0x508)]};}};}function createQuestionId(){const _0xd3db2d={_0x170f47:0x119,_0x3c37d3:0x499,_0x661fbd:0x5c3,_0xf16a7f:0x16,_0x191614:0x4b,_0x50a2bf:0x4ae},_0x54c4f2={_0x5876de:0x103,_0x3cee74:0x565};function _0x382b3c(_0x35ead2,_0x2364c1,_0x205df9,_0xd13d5c){return _0x4ab00a(_0x35ead2-_0x54c4f2._0x5876de,_0x2364c1-0x66,_0x2364c1,_0x35ead2- -_0x54c4f2._0x3cee74);}function _0x471e07(_0x2cc159,_0x5d4caf,_0x178858,_0xf19b21){return _0x4ab00a(_0x2cc159-0xd6,_0x5d4caf-0x1ac,_0xf19b21,_0x2cc159-0xb4);}return _0x382b3c(0x39,_0xd3db2d._0x170f47,0xa4,-0xef)+Date[_0x471e07(_0xd3db2d._0x3c37d3,0x597,_0xd3db2d._0x661fbd,0x51c)]()+'-'+Math[_0x382b3c(0x4b,_0xd3db2d._0xf16a7f,-_0xd3db2d._0x191614,-0x108)]()[_0x471e07(_0xd3db2d._0x50a2bf,0x3e9,0x341,0x505)](0x24)['slice'](0x2,0x9);}function validateInput(_0x5c23a5){const _0x3a0e46={_0x474c95:0x65e,_0x5b6158:0x55a,_0x2e7721:0x632,_0x411c84:0x27f,_0x4bdfdc:0x3fa,_0xc8d290:0x325,_0x471671:0x601,_0x359522:0x651,_0x4faa11:0x48b,_0x504e80:0x350,_0x7acb06:0x2b7,_0x5e37e8:0x3aa,_0x10f5da:0x402,_0x141e0d:0x38f,_0x1c6fcc:0x2fe,_0x51f598:0x2c0,_0x2e098b:0x462,_0xc245d4:0x3d3,_0x2d4d12:0x239,_0x938fb1:0x296,_0x8473e7:0x817,_0x435cd6:0x65a,_0x12d26:0x421,_0x3c61b2:0x44f,_0x2f9923:0x31a,_0xcb8572:0x367,_0x214230:0x3b0,_0x4fe632:0x377,_0x2dce9b:0x1d2,_0x23b8d7:0x319,_0xa8c5ca:0x26a,_0x4b7862:0x317,_0x43fcc9:0x1a2,_0x2a9d1c:0x760,_0x258ca3:0x6d2,_0x4a188b:0x77e,_0x27a4c0:0x56a,_0x4c52d5:0x68e,_0x5aaf6a:0x4c2,_0x1ed106:0x26b,_0x668529:0x787,_0x376cea:0x7e5,_0x7109f0:0x68e,_0x497e07:0x27e,_0x4ff690:0x3aa,_0x4b2768:0x315,_0x1ca1e6:0x2de,_0x421a85:0x676,_0x23e690:0x62c,_0x1d25d4:0x721,_0x5668a8:0x6e5,_0x5c9e97:0x5e0,_0x25f5c4:0x654,_0x38ee6b:0x56f,_0x277cc2:0x692,_0x3410fd:0x83c,_0x2db342:0x85e,_0x1d42b4:0x461,_0x3ece88:0x43a,_0xe5dfad:0x544,_0x4febda:0x549,_0x23fc47:0x140,_0x474d41:0x890,_0x4df3e5:0x612},_0x270b03={_0x513c1f:0x69,_0x2b4673:0x99,_0x11db3c:0x1e9},_0x1f7149={_0x5d684c:0x1f3,_0x2c01b3:0xc7};function _0x3adaff(_0x520cec,_0x20436f,_0x42ece1,_0x2345d7){return _0x1932a3(_0x20436f,_0x20436f-_0x1f7149._0x5d684c,_0x2345d7- -0x97,_0x2345d7-_0x1f7149._0x2c01b3);}function _0x187169(_0x74cbaa,_0x595745,_0x18dd62,_0x5c81d1){return _0x4ab00a(_0x74cbaa-_0x270b03._0x513c1f,_0x595745-_0x270b03._0x2b4673,_0x74cbaa,_0x5c81d1-_0x270b03._0x11db3c);}if(!Array[_0x187169(_0x3a0e46._0x474c95,_0x3a0e46._0x5b6158,_0x3a0e46._0x2e7721,0x655)](_0x5c23a5[_0x3adaff(0x2cf,_0x3a0e46._0x411c84,_0x3a0e46._0x4bdfdc,_0x3a0e46._0xc8d290)])||_0x5c23a5[_0x187169(0x537,_0x3a0e46._0x471671,0x7a4,0x69c)]['length']<0x1||_0x5c23a5[_0x187169(0x751,_0x3a0e46._0x359522,0x64d,0x69c)][_0x3adaff(_0x3a0e46._0x4faa11,_0x3a0e46._0x504e80,_0x3a0e46._0x7acb06,_0x3a0e46._0x5e37e8)]>0xa)throw new ToolExecutionError(_0x3adaff(_0x3a0e46._0x10f5da,_0x3a0e46._0x141e0d,_0x3a0e46._0x1c6fcc,_0x3a0e46._0x51f598),{'error':_0x3adaff(0x260,_0x3a0e46._0x2e098b,0x25a,_0x3a0e46._0xc245d4)});for(let _0x1d1edc=0x0;_0x1d1edc<_0x5c23a5[_0x187169(0x63e,0x64c,0x614,0x69c)][_0x3adaff(_0x3a0e46._0x2d4d12,0x3d8,_0x3a0e46._0x938fb1,0x3aa)];_0x1d1edc+=0x1){const _0x23a551=_0x5c23a5['questions'][_0x1d1edc];if(!_0x23a551[_0x187169(_0x3a0e46._0x8473e7,0x738,_0x3a0e46._0x435cd6,0x759)]||typeof _0x23a551[_0x3adaff(_0x3a0e46._0x12d26,_0x3a0e46._0x3c61b2,_0x3a0e46._0x2f9923,0x3e2)]!==_0x3adaff(_0x3a0e46._0xcb8572,_0x3a0e46._0x214230,_0x3a0e46._0x4fe632,0x35b))throw new ToolExecutionError('Question\x20'+(_0x1d1edc+0x1)+_0x3adaff(_0x3a0e46._0x2dce9b,0x39c,_0x3a0e46._0x23b8d7,0x343));if(!_0x23a551[_0x3adaff(0x2b0,_0x3a0e46._0xa8c5ca,0x3dd,_0x3a0e46._0x4b7862)]||typeof _0x23a551[_0x3adaff(_0x3a0e46._0x43fcc9,0x3f1,0x47c,0x317)]!==_0x187169(0x829,_0x3a0e46._0x2a9d1c,0x65b,_0x3a0e46._0x258ca3))throw new ToolExecutionError(_0x3adaff(0x182,0x325,0x366,0x269)+(_0x1d1edc+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x23a551[_0x187169(0x6d1,_0x3a0e46._0x4a188b,_0x3a0e46._0x27a4c0,_0x3a0e46._0x4c52d5)][_0x3adaff(0x324,_0x3a0e46._0x5aaf6a,0x269,0x3aa)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x1d1edc+0x1)+_0x3adaff(0x369,_0x3a0e46._0x1ed106,0x2c0,0x32a)+_0x23a551[_0x187169(_0x3a0e46._0x668529,_0x3a0e46._0x376cea,0x7d0,_0x3a0e46._0x7109f0)][_0x3adaff(0x3e4,_0x3a0e46._0x497e07,0x43a,_0x3a0e46._0x4ff690)]);if(!Array[_0x3adaff(0x454,0x321,_0x3a0e46._0x4b2768,_0x3a0e46._0x1ca1e6)](_0x23a551['options'])||_0x23a551['options'][_0x187169(_0x3a0e46._0x421a85,0x866,_0x3a0e46._0x23e690,_0x3a0e46._0x1d25d4)]<0x2||_0x23a551['options'][_0x3adaff(0x280,0x4b7,0x2f0,_0x3a0e46._0x5e37e8)]>0x4)throw new ToolExecutionError(_0x187169(_0x3a0e46._0x5668a8,0x5b8,0x4af,_0x3a0e46._0x5c9e97)+(_0x1d1edc+0x1)+_0x187169(_0x3a0e46._0x25f5c4,_0x3a0e46._0x38ee6b,0x7d7,_0x3a0e46._0x277cc2));for(let _0x224bee=0x0;_0x224bee<_0x23a551['options'][_0x187169(_0x3a0e46._0x3410fd,0x629,_0x3a0e46._0x2db342,_0x3a0e46._0x1d25d4)];_0x224bee+=0x1){const _0x5c9d54=_0x23a551[_0x3adaff(_0x3a0e46._0x1d42b4,_0x3a0e46._0x3ece88,0x240,0x341)][_0x224bee];if(!_0x5c9d54[_0x187169(_0x3a0e46._0xe5dfad,_0x3a0e46._0x12d26,_0x3a0e46._0x4febda,0x564)]||!_0x5c9d54['description'])throw new ToolExecutionError(_0x3adaff(0x11b,_0x3a0e46._0x23fc47,0x222,0x269)+(_0x1d1edc+0x1)+_0x187169(_0x3a0e46._0x474d41,_0x3a0e46._0x4df3e5,0x5ba,0x720)+(_0x224bee+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x23a551[_0x187169(0x827,0x566,0x773,0x6c6)]!=='boolean')throw new ToolExecutionError('Question\x20'+(_0x1d1edc+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x3b5a90){const _0x559550={_0x269038:0x53b,_0x19afee:0x563,_0x1c0435:0x5a4},_0x5f0950={_0x25dee9:0x1cb},_0x245d40={_0x2fa27a:0x1c7,_0x2c8867:0x282,_0x4e2d1:0x184};function _0x987fd3(_0x1459ea,_0x564e45,_0x1afdb2,_0x2c71e6){return _0x1932a3(_0x564e45,_0x564e45-_0x245d40._0x2fa27a,_0x1459ea-_0x245d40._0x2c8867,_0x2c71e6-_0x245d40._0x4e2d1);}function _0x5d077b(_0x435ad0,_0x7ce22c,_0x29eee8,_0x4570af){return _0x4ab00a(_0x435ad0-0x148,_0x7ce22c-0x121,_0x29eee8,_0x7ce22c- -_0x5f0950._0x25dee9);}return _0x3b5a90[_0x987fd3(0x63e,0x55f,_0x559550._0x269038,0x749)][_0x987fd3(0x5d1,_0x559550._0x19afee,_0x559550._0x1c0435,0x461)]((_0x4b4f81,_0x2c052d)=>({'id':'q'+_0x2c052d,'question':_0x4b4f81[_0x5d077b(0x47a,0x3a5,0x4e8,0x45c)],'topic':_0x4b4f81['topic'],'options':_0x4b4f81['options'],'multiSelect':_0x4b4f81[_0x987fd3(0x668,0x6da,0x531,0x509)]}));}function createResult(_0x31ed0c,_0x492240,_0x146b22){const _0x1e8a95={_0xdf76cd:0x5ff,_0x3ceb91:0x620,_0x4a97cc:0x573,_0x27f880:0x550,_0x568137:0x357},_0x1409a3={_0x124cf4:0x1c8},_0x5b48b1={_0x13d3d5:0xc0};function _0x29d36a(_0xff429e,_0x3a3901,_0x256033,_0x2c4a67){return _0x1932a3(_0x3a3901,_0x3a3901-0x1c6,_0x2c4a67-0xf4,_0x2c4a67-_0x5b48b1._0x13d3d5);}function _0x2a05d0(_0x9ff903,_0x1116c7,_0x322f4e,_0x49036c){return _0x1932a3(_0x1116c7,_0x1116c7-0x13c,_0x322f4e- -0xf9,_0x49036c-_0x1409a3._0x124cf4);}const _0x59c09a={'questionId':_0x31ed0c,'questionCount':_0x492240,'answers':_0x146b22};return createToolOutput(_0x29d36a(0x42a,_0x1e8a95._0xdf76cd,_0x1e8a95._0x3ceb91,0x56c)+JSON[_0x29d36a(_0x1e8a95._0x4a97cc,_0x1e8a95._0x27f880,_0x1e8a95._0x568137,0x455)](_0x146b22,null,0x2),_0x59c09a);}function createAskUserTool(){const _0x48b167={_0x4a5a25:0x20,_0x163c16:0x2,_0x44833c:0xb9,_0x55fdc1:0x2a,_0x53b457:0xc2,_0x419644:0x52,_0x2aa977:0x14,_0x35b524:0x3a,_0x57ff7e:0x53,_0x4944d4:0x4a,_0x3a0aee:0xd8,_0x304565:0x12d,_0x53890e:0x53,_0x1c0a49:0x78,_0x5a8a21:0x78,_0x4f606b:0x8f,_0x324be2:0xbf,_0xe8fda3:0x109,_0x256ca9:0x1e7,_0x17db66:0x294,_0x2134f2:0x1bd,_0x46116f:0x17b,_0x41f0d7:0x98,_0x5d7646:0xb7,_0x146a32:0xdc,_0x594bc9:0x18e,_0x4922cb:0xe8,_0x3cdd2e:0xf5,_0x6d9c4b:0xde},_0x534949={_0x13646f:0x345,_0x3727fc:0x38d,_0x4da527:0x2eb,_0x3e6041:0x2d3,_0x126b22:0x38e,_0x5d3a6e:0x504,_0x195c34:0x32a,_0x266ed6:0x1a5,_0xd1b46:0x3b7,_0x4a57f1:0x3a1,_0x5e3cfa:0x1a5,_0x33eab9:0x3b,_0x214d9a:0xe0},_0x59634a={_0x5186a2:0x53c},_0x504720={_0x1750d5:0xeb};function _0x15cac0(_0x111f29,_0x11f5c0,_0x3c4871,_0x13b340){return _0x1932a3(_0x3c4871,_0x11f5c0-0x16b,_0x11f5c0- -0x4b1,_0x13b340-_0x504720._0x1750d5);}function _0x34b4f3(_0x4b3257,_0x44d9d4,_0x43e83e,_0x1c71f6){return _0x4ab00a(_0x4b3257-0x1ee,_0x44d9d4-0x10a,_0x44d9d4,_0x4b3257- -_0x59634a._0x5186a2);}return defineTool({'name':_0x15cac0(-0x1a4,-0x42,0xb0,_0x48b167._0x4a5a25),'description':_0x34b4f3(_0x48b167._0x163c16,_0x48b167._0x44833c,0xbd,-0x95),'inputSchema':{'type':_0x15cac0(0x10c,0x3a,-0x138,-_0x48b167._0x55fdc1),'properties':{'questions':{'type':_0x15cac0(0x57,0x78,_0x48b167._0x53b457,-_0x48b167._0x419644),'items':{'type':_0x15cac0(_0x48b167._0x2aa977,_0x48b167._0x35b524,-0x68,0x16a),'properties':{'question':{'type':_0x34b4f3(-_0x48b167._0x57ff7e,_0x48b167._0x4944d4,_0x48b167._0x3a0aee,-_0x48b167._0x304565)},'topic':{'type':_0x34b4f3(-_0x48b167._0x53890e,-0x67,0x5e,-0x153)},'options':{'type':_0x15cac0(-0x9f,_0x48b167._0x1c0a49,0xda,-0xa5),'items':{'type':_0x15cac0(0x2,_0x48b167._0x35b524,0x93,_0x48b167._0x5a8a21),'properties':{'label':{'type':'string'},'description':{'type':_0x15cac0(-_0x48b167._0x4f606b,-_0x48b167._0x324be2,-0x1ae,-0xa9)}},'required':[_0x34b4f3(-0x1c1,-_0x48b167._0xe8fda3,-_0x48b167._0x256ca9,-0x96),'description']}},'multiSelect':{'type':_0x15cac0(-_0x48b167._0x17db66,-_0x48b167._0x2134f2,-0x1e0,-_0x48b167._0x46116f)}},'required':['question',_0x34b4f3(-0x97,-_0x48b167._0x41f0d7,0x8e,-_0x48b167._0x5d7646),'options',_0x34b4f3(-0x5f,0xa7,-_0x48b167._0x146a32,-_0x48b167._0x594bc9)]}},'answers':{'type':_0x34b4f3(0xa6,0x109,0xd7,_0x48b167._0x4922cb),'properties':{}}},'required':[_0x15cac0(-0x21c,-_0x48b167._0x3cdd2e,-_0x48b167._0x6d9c4b,-0xe4)]},async *'execute'(_0x4f4602,_0x547419){const _0x37343d={_0x58db06:0x17,_0x100d82:0x461,_0x338906:0x16},_0x10e7b8={_0x29734e:0x60,_0x1995c9:0x75,_0x4581be:0x111},_0x36625a=_0x4f4602;function _0x3d3b72(_0x5d9fe4,_0xafc54b,_0x2bdb09,_0x1758e7){return _0x15cac0(_0x5d9fe4-_0x10e7b8._0x29734e,_0x5d9fe4-_0x10e7b8._0x1995c9,_0x1758e7,_0x1758e7-_0x10e7b8._0x4581be);}validateInput(_0x36625a);const _0x570e06=_0x547419['toolCallId']??createQuestionId();if(_0x36625a[_0x3e31ae(_0x534949._0x13646f,_0x534949._0x3727fc,0x35e,_0x534949._0x4da527)]&&Object['keys'](_0x36625a['answers'])[_0x3e31ae(0x502,0x3f1,_0x534949._0x3e6041,_0x534949._0x126b22)]>0x0)return createResult(_0x570e06,_0x36625a['questions'][_0x3e31ae(_0x534949._0x5d3a6e,0x3f1,0x565,_0x534949._0x195c34)],_0x36625a['answers']);function _0x3e31ae(_0x596a66,_0x55119d,_0x5d36b1,_0x3f2da1){return _0x15cac0(_0x596a66-_0x37343d._0x58db06,_0x55119d-_0x37343d._0x100d82,_0x3f2da1,_0x3f2da1-_0x37343d._0x338906);}if(!_0x547419[_0x3d3b72(-_0x534949._0x266ed6,-0x9f,-0x2b2,-0x224)])throw new ToolExecutionError(_0x3e31ae(_0x534949._0xd1b46,_0x534949._0x4a57f1,0x45a,0x4a1));const _0x278982=buildQuestions(_0x36625a),_0x1a3660=await _0x547419[_0x3d3b72(-_0x534949._0x5e3cfa,-0x2ce,-0x5f,-_0x534949._0x33eab9)]({'questionId':_0x570e06,'questions':_0x278982});yield createResult(_0x570e06,_0x36625a[_0x3d3b72(-0x80,-0x165,_0x534949._0x214d9a,0xd5)]['length'],_0x1a3660);}});}import{randomUUID}from'crypto';function _0x4a4c(){const _0x2e275e=['DhLWzq','DMvYAwzPzxi','nJmZndyYmgfbEgzZvG','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','yMLYDgH0Aw1L','DgHPBMTPBMC','phn5C3rLBs1Yzw1PBMrLCJ4','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','Ahr0Ca','zw5NAw5L','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','zMXHDe1HCa','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','yNL0zuXLBMD0Aa','pc9ZExn0zw0TCMvTAw5Kzxi+','A2LUza','CMvZB2X2zq','Ag9ZDa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','BxrPBwu','Ahr0Chm6','rMv0y2GGDgLTzwqGB3v0','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','yM0Ynq','DxjS','Aw5PDgLHBgL6yxrPB24','D29YA3nWywnLl3n5BwjVBa','y2fSBgjHy2TvCMW','yxjNDw1LBNrZ','uKLgrG','y291BNrLCG','CgfYzw50u2vZC2LVBKLK','l3vZCI9IAw4VC2G','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','C3bSAxq','lNrZEa','Dg9KB3m','yxv0AfjLCxvPCMvK','Ec1HCgKTA2v5','DgfZAW','zgvMAw5PDgLVBG','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Dg9Rzw5Z','z3jVAW','Dg9WAwm','yNvUlMXVy2TI','yNvUlMXVy2S','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','BgLZDgvU','ChjVy2vZC0v4AxrLza','r0LgodDH','AxndB250zxH0','y3jSzG','yxbWzw5K','CMvMCMvZAf90B2TLBG','Bg9HzfnRAwXS','rxjYB3i','CxvLC3rPB25Z','tg9HzfnRAwXS','ls1OAwrKzw4','ChjLzML4','yMLVBwu','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','lMPZ','Dg9VBenHBgXjza','ANnVBG','Dgv4DerVy3vTzw50l2rPzenSB3nL','z2L0AhvI','CgLWzq','iYmGu2TPBgW6ia','y2HHCMfJDgvY','zgLZywjSzwq','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','DxrMoa','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','y29Uy2f0','z29uB0rLzMLUAxrPB24','Dgf2AwX5','D29YA3nWywnLu3LTyM9S','zgLZy292zxj5','zxHPDa','Dg9VBc1VDxrWDxqTB2zMBg9Hza','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','v2LUr2v0','Aw52ywXPzf90B2rVx2LK','B3b0Aw9UCW','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BgLI','lunVBw1HBMq','yw5ZD2vYCW','Bwv0yq','B3bLBKzPBgvZ','v2vIu2vHCMnO','lMPWzwC','Aw50zwDLCG','Aw5FChjVz3jLC3m','Aw1Hz2uVANbLzW','yMfZzty0','BxvSDgLtzwXLy3q','BM9Uzq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','tM8GAg92zxiGAw5MB3jTyxrPB24','yxjNDw1LBNroyw1LCW','C2H1DgrVD25tDgfYDgvK','uhvIBgLZAgvKoIa','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','y2XPzw50x3nLy3jLDf9WB3n0','yMvHCMvY','zgfYAW','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','C3rYAw5N','C2XPy2u','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Bwf0y2HLCW','tuLnrtOG','ywXS','y2XLyxi','rMLSzuvKAxq','lMPZEa','zgvUBY5QC29UyW','CMvJzw5JEurHExm','z2nSAwq','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','l3vZCI9SB2nHBc9IAw4VCMC','igj5DgvZicHVCMLNAw5HBdOG','zgLHz25VC3rPy3ngB3jgAwXL','rM91BMqG','Cgf0DgvYBIbPCYbYzxf1AxjLza','Dw5PB24','DgfZA2TPBgW','zhj5uNvU','y2XPzw50sw5MB3jTyxrPB24','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','zxHPDcbJB2rLia','C3rHCNrZv2L0Aa','Ag9TzwrPCG','CgfNzw1HCa','revfueLorLjbx0fqsv9lrvK','B3v0z29PBMDdywXSCW','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','tgLUzsa','nZC3mty4nu1SqLLcsG','qvbjx0Tfwq','y29UBMvJDa','CxvLCNK','mJi0lJaUmc4W','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','yw5ZAte2','C2vYDMvYtMfTzq','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','DgHLBG','yxr0CG','AwzYyw1L','ihDHCYbHyM9YDgvKlG','te9x','C2HLBgXqyxrO','lNrZ','C2vUza','ls1NBg9IpseUz2L0lYO','qxzHAwXHyMXLignVBw1HBMrZoG','Dg9VBhm','DxjP','A2v5','vg9WAwmGC2v0ihrVici','AxngAwXL','z29uB0LTCgXLBwvUDgf0Aw9U','C2HPzNq','zMLSzvzLCNnPB25Z','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','z2vUzxjHBa','zhvWBgLJyxrLx3rVzg9FAwrZ','sw5MB3jTyxrPB24','sfruuca','mJqWlJaUmc4W','AwDUB3jLt3v0Chv0','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','wZ0+nY04kcLD','C2LNBMfS','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','B25Jzq','Bw9VBNnOB3q','mtu2mtC0mNbvteLTDG','C3rKAw8','zw51Bq','zw5NAw5LCW','Aw5PDgLHBgL6zwq','lcbpChrPB24G','BgvUz3rO','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','y2XVC2u','BMf2','igj5DgvZks4','ls1NBg9Ipq','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','vMLLD0zPBgu','ChjVCgvYDgLLCW','Aw1Hz2uVD2vICa','C3rHCNq','CMCUzxHL','rMLSzvjLywq','yMfZzw5HBwu','Bwf4','zxHPDgvK','AxrLBxm','zxjYB3i','B2XKvgv4Da','zxHPDenVzgu','y29ZDa','ls0T','zg9TywLUCW','C3bHD25PBMC','mtyZmJaWr3bhEMXS','Dhj1zq','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','qxv0Ag9YAxPHDgLVBG','DhjHBNnMB3jTCW','Dg9VBfjLC3vSDhm','Cgf0Aa','v0vcua','z2L0qNjHBMnO','y2fWq2HHCNm','C25PChbLDa','DxrTx2nVBNrLBNq','oIbPBNzHBgLKihbYAw9YAxr5','z2v0t3DUuhjVCgvYDhLoyw1LCW','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','lMnTza','yxjNDw1LBNrZvgv4Da','Aw52ywXPzf9XDwvZDgLVBNm','C2nYAxb0','l2jPBI9YzW','ls1MB2XSB3C','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','qxnRvxnLCLrVB2W','ywjVCNq','C3rKAw4','DgvZDa','zNvSzMLSBgvK','CM9VDa','zMLSztOVlW','Dg9VBa','v2fYBMLUzW','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','CxvLC3rPB24','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','nKX1twXszW','sgLUDa','Aw5WDxq','lMPZB24','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','yxjNDw1LBNriAw50','C2vHCMnOugfYyw1Z','tM8GC3vJAcbMAwXLoIaN','BxrPBwvnCW','Aw1Hz2u','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','rgv0ywLSoIa','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','y3DK','rMv0y2GGywjVCNrLzcbIEsb1C2vY','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','ignOyxjZigrYB3bWzwrDcG','l3vZCI9IAw4VyMfZAa','mtaWlJy0lJaUma','rMLSzu5LDW','zNjVBuvUDhjPzxm','B3v0Chv0','EwvZ','yxjNCW','ChvZAa','zgLHz25VC3rPy3m','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','CMvXDwvZDa','Aw5WDxrty2HLBwe','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','CgfJA2fNzs1SB2nRlMPZB24','C3rYAxbbBNnP','zM9VDgvY','ChjPB3jPDhK','ChjVy2vZCW','sw52ywXPzcbYzwDLEdOG','rMLSzsb3CML0DgvUigf0ia','u3rHCNrLzcbHz2vUDcbYDw4G','lMPZB25J','C2nYDwjfBNzlzxLZ','CNnZ','BNvT','CxvLC3rPB24T','BwfUDwfS','ChjLChjVy2vZCW','zMLUywXnzxnZywDLvgv4Da','AhLKCMf0zu1LDge','B2f1DgG','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','r2XVyG','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','Aw1WBgvTzw50yxrPB24','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','C2HLBgXjza','qMvHCMvYia','r3jLCa','CMfUz2u','tNv2Aw4','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','CMfUzg9T','C29YDa','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','CNvUsw5cywnRz3jVDw5K','ygbGANnVBGO','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','CgfJA2fNzs5QC29U','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','ygbG','A2v5CW','yNjVA2vU','zw50CMLLCW','r0Lusfvcx0fdq0vtu19ut0TftG','BhnWlxbYB3H5','lMn0CW','DgLTzw91De1Z','zxzLCNK','y2XPzw50twv0ywrHDgfvCMW','ANnVBMm','BhnW','q29TBwfUzcaN','BgLUzu51Bq','cMbGya','B3bLBNjVDxrLCG','lNbUzW','DgL0Bgu','B3rOzxi','BNbT','lu5VuhjVzMLSzq','CMvXDwvZDhm','z29Vz2XLq3nLq3G','Dg90ywXeCM9WCgvK','zMLUzfjLzMvYzw5Jzxm','Cgf0DgvYBG','yxv0BW','Ahr0CdO','Dgv4DerVy3vTzw50l2HVDMvY','AMf2yxnJCMLWDhjLywn0','zgLZy292zxj5u3rHDgu','Dg9VBhmVy2fSBa','C3rKzxjYrgvJB2rLCG','yw5ZAti1nG','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','Dhj1BMnHDgvK','mte4neTvwNDcwG','r09pr0Xfx0ntrv9lrvK','y29UzMLN','l29WDc9OB21LyNjLDY9IAw4VCMC','BMv3vgv4Da','Dg9KB3ncEvnLC3nPB24','B2jQzwn0','BgLUzq','Dw5RBM93BG','y29TCgXLDgvK','C3rHDgu','y29TBwfUza','CMvMzxjLBMnLCW','Aw1Hz2vZ','yxbWBgLJyxrPB24VANnVBG','r0Lusfvcx1rps0vo','D3jPDgu','C3rHDhvZvgv4Da','C3jJl2fNzw50l2fNzw50lNrZ','igj5DgvZicH0B3rHBdOG','Bw9KzwW','AM9PBG','yMLUyxj5tMfTzq','CMLWz3jLCcbMywLSzwq6ia','lMXVzW','zMLUywXnzxnZywDL','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','Cgf0Ag5HBwu','tg9HzgvKigzYB206ia','y29UBMvJDgLVBG','CNvUswq','oIbJB250zw50ihjLCxvPCMvK','C2v0','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','tM8GBg9JyxrPB25ZigzVDw5K','ChjVDg9JB2W','z2v0','C2vZC2LVBG','mtK4lJe4lJaUma','l2jPBI9ZAa','zgLYzwn0B3j5','Aw5JBhvKzq','ywrK','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','B2zMC2v0','yM94zwq','Bwf4rw50CMLLCW','BgfZDeLUzgv4t2y','AgvHzgvY','C291CMnL','Dhj1zwnVBg9Y','t1bftKfjx0fqsv9lrvK','sw52B2TLq29TBwfUza','y29KzvzLCMLMAwvY','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','ywXSB3DLzerPCNm','yNvMzMvYq2HHCNm','AxntEw1IB2XPy0XPBMS','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','qxnZAwDUvgfZAW','Dg9VBe5HBwu','y29UDgv4Da','yMfJA2DYB3vUzfjLz2LZDhj5','v2vIrMv0y2G','zMfPBgvK','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','CgXHAw50zxH0','y2HHBMDL','yxjYyxK','ChjLCgfYzunHBgXiAwvYyxjJAhK','A2LSBfjLCxvLC3rLza','EMfP','C2v0vg9KB3m','zxH0BMfTzq','DhjHBNnWB3j0','B2XSyw1H','Dgv4Da','y2HHCKnVzgvbDa','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','xg5DkJ8','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','B2zM','Cg5WBs1SB2nRlNLHBwW','y2XLyw51Ca','Ag92zxi','BM90Awz5','y2f0y2G','BgLUAW','DMfSDwu','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','CMvZDwX0CW','DhLWzxnJCMLWDhjLywn0','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','y2fSBeLK','vw5HDxrOB3jPEMvKrxjYB3i','zMLSDgvY','AxnjBNrLz2vY','qwDLBNqGCNvUia','Bwf4qNL0zxm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','q291BgqGBM90ihjLC29SDMuGAg9ZDa','Aw1Hz2uVCg5N','vMLLD2vKigLTywDLigzPBgu6ia','ywrKrxzLBNrmAxn0zw5LCG','AwDUB3jL','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','AxngAw5PDgu','lMDPzG','DhnJ','qwXSia','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','C2nVCgvZ','BgLZDfrVB2XZ','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','ywDLBNrjza','Aw52ywXPzf90B2rVx2nVBNrLBNq','lMPWzW','u2L6ztOG','Dg90ywXqCM9KDwnLza','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','mc4WlJaUma','C2vYDMvYswq','zMLSzvbHDgG','AgfUzgXL','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','yxnJAwK','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','BwfYA2rVD24','CMvNzxG','lMjPBG','DxrTx21LzgL1Bq','CMvTB3zLrxzLBNrmAxn0zw5LCG','C2vZC2LVBKLK','y3jLyxrLzef0','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','y2vPBa','CgfYC2vjBNq','C2vUzfjLCxvLC3q','C3rHDhvZ','AxnbyNnVBhv0zq','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','zw5HyMXLza','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','BgfIzwW','B25LCNjVCG','C2TPBgXZ','C2H1DgrVD24','zNjVBq','r0LgodLH','CgfYC2u','B3bLCMf0Aw9U','yMLVBwuUANnVBMm','CMvHC29U','lNrTCc4','zxf1ywXZ','yNvMzMvY','B3jPz2LUywW','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','zgLYBMfTzq','zMLSzq','zw5K','B25szwrPCMvJDa','yxnRvxnLCG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','zw52','Dgf2AwX5qxbPs2v5','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','zxH0zw5ZAw9UCW','y29Kzq','zgvSzxrL','ugf0AcbPCYbUB3qGysbMAwXLoIa','Dg9Rzw4','Aw52ywXPzf90B2rVCW','l2jPBI9IyxnO','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','BgLUzxm','CgXHAw4','AMf2yxnJCMLWDa','tM8GC3LTyM9SCYbMB3vUza','B3b0Aw9UywW','l3vZCI9IAw4VCMC','qMfZzsbKAxjLy3rVCNK6ia','ywXSB3DLzfrVB2XZ','ls1ZDgrPBW','C2v0vg9WAwm','lNDLyNa','C3rKB3v0','ig1Z','CMvHzen1CNnVCG','C2HHmJu2','zgvMyxvSDen3za','zMLSBa','C2vYDMvY','BwLUAw1HEa','zgvZy3jPChrPB24','CMvHza','C29Tzq','CMvNAw9U','q29Tu3bLyW','D2LUmZi','igzHAwXLzc4','BM9Zy3jPChq','Bg9VA3vW','seLhsa','C2vSzwn0Aw9UuMfUz2u','y2XPzw50','C2L6zq','u0Lhs0Lmta','C3rKB3v0rgvJB2rLCG','tunqihrVB2WG','ywXSu2v0DgXLza','ugfJA2fNzxm','y29UC3rYDwn0B3i','qMfZAe91Dhb1Da','A2LTAq','CM91BMq','DhnJB25MAwCUANnVBG','EwfYBI5SB2nR','AgLNAa','zg9JDw1LBNrtEw1IB2W','l3bPza','rgLHz25VC3rPyW','igzYB20G','twLJCM9ZB2z0','C3bHD24','y291BNq','BM9Kzv9TB2r1BgvZ','DhLWzxnJCMLWDa','Dg9Rzw5tDg9YywDLs2v5','A2LSBgvK','lM10CW','BgLUzvrLEhq','Aw52ywXPzf90B2rVx3n0yxr1CW','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','y2HPBgq','Bg9JyxrPB24','Aw5PDgLHBgL6zq','BgLUzuvUza','CgXHDgzVCM0','C3r5Bgu','Aw5ZDhj1y3rPB25Z','BgLZDa','BwLU','mtKYlJe2oc4WlJa','C2vHCMnOrgvWDgG','zgv0ywLS','y2XVC2vbBgW','BM93','CNvUBMLUzW','Dhj1BMm','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','ru5pru5u','tunqihnLCNzLCIa','yM9VBgvHBG','CMvSyxrPDMu','C2vUze5VDgLMAwnHDgLVBG','yxnZAwDU','z29Vz2XLlwnZzq','mtKYlJaUmc4W','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','DxrTx3nVDxjJzq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','BwnFy2LK','C3LTBgLUAW','oIbPBNzHBgLKihn0yxr1CW','uxvLC3rPB24G','Bwf4uMvKAxjLy3rZ','BhmGlwXH','Dg9tDhjPBMC','Agv4','qgjPB21LANmVyMLVBwu','CMvXDwLYzwq','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Cg9W','C3rKzxjY','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CgfJA2fNzu5HBwu','y2XPzw50CW','o1TExg5DkJ8','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','DhnZzxj2zxiUANm','wKfjx0fqsv9lrvK','CgfZC3rOCM91z2G','zxjYB3jnzxnZywDL','mte4odLNre5SAum','AhjLzG','BNv2Aw4','Dg9mB3DLCKnHC2u','BwvTB3j5','u2HLBgWGBM90igzVDw5KoIa','zMLYC3q','CMvWBgfJzq','CMvZDwX0','DhjPBuvUza','y2fWywjPBgL0AwvZ','B25oB3rPzMLJyxrPB24','zgf0yq','C3vIyxjYyxK','zgvUBY5QC29U','ue9tva','t0zg','Dgv4Dc9ODg1S','z2v0vg9KB3m','ywjVCNrLza','yxv0Aa','lMnQCW','ntqXnZe0nKrfr2vruq','BNvTyMvY','s0Lnsv9bueLFs0vz','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','AgvHzgvYCW','CgvUzgLUzW','zxjYB3jZ','ChvIBgLZAgvKqxq','u0HfteW','cGPbuKDvtuvovfm6ia','y2fJAgvK','DhjPBq','C2fMzq','Bg93','DMfSDwvZ','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','C3rVCMfNzurPCG','mc4WlJa','A2LSBa','zNvUy3rPB24','lu5Vtg9NBW','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','cGOTls0kcG','ugf0AcbUB3qGzM91BMq6ia','AxnfBMfIBgvK','AxneAxjLy3rVCNK','BgLUzvn0yxj0','Bwf4q29Uy3vYCMvUDa','Bwv0yxrHz3m','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','z2XVyG','CgfJA2fNzxm','BgLTAxq','B3jPz2LUvg9VBenHBgXjza','vw50AxrSzwq','CMvJB3jK','qMfZAa','D2HLCMuGCMC','BwfW','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','BwvZC2fNzq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','Axnoyu4','Dg9ju09tDhjPBMC','Bw9Kzq','Aw5JBhvKzxm','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','CMLWz3jLCa','z29Vz2XLq3nLs2v5','CMfUAW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','ls1MAwXLCW','CMvTB3zL','C3rHCNreAxi','uhjVz3jHBuzPBgvZkhG4nIK','C3rYAw5NAwz5','BMfTzq','AgfZ','vg9KBYa','mZyWodqYmdbNwhLOr04','u2TPBgWGjW','BgL0zxjHBa','BgfUzW','y29TBwfUzhm','ChjVDg90ExbL','wefjx0fqsv9lrvK','z2v0u3rHDhm','BwvKAxvT','D2fPDezVCKrPywDUB3n0AwnZ','C2vYDMvYCW','ksbB','yw50AhjVCgLJ','zMLUza','mtaUmc4WlJa','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','AxnbCNjHEq','vxbKyxrLvg9WAwm','Aw5JBhvKzv9KB21HAw5Z','y29UDgvUDa','Aw5KzxHpzG','Aw52ywXPzf90B2rVx2L0zw0','Aw5JB21PBMDdywXSCW','CgLK','y29UBMvJDgvK','zgvMyxvSDfrPBwvVDxrnCW','mZbZu3DHEhC','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3jJl3nOyxjLzc90ExbLCY50CW'];_0x4a4c=function(){return _0x2e275e;};return _0x4a4c();}import{StringDecoder}from'string_decoder';import{spawn as _0x2c3e93}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0xb03fec){return _0xb03fec instanceof Error;}function resolveCarriageReturns(_0x333b90){const _0x515a10={_0x21ef2c:0x17a},_0x29c7f1={_0x3c737e:0x2ff,_0x2a3773:0x2da,_0x303538:0x283},_0x51edeb={_0x4aa429:0x2da},_0x32a56c={_0x4bc616:0xa6,_0x237440:0x1c2};function _0x3bbed1(_0xfb7b0,_0x1e579e,_0x498ed8,_0x3d64ff){return _0x4ab00a(_0xfb7b0-_0x32a56c._0x4bc616,_0x1e579e-_0x32a56c._0x237440,_0x3d64ff,_0x498ed8- -0x4ee);}return _0x333b90['split']('\x0a')['map'](_0x2166d2=>{const _0x59727c={_0x30f779:0x3b};function _0x4fc174(_0x22b983,_0x1ad575,_0x5284e4,_0xcd2fa5){return _0x5a72(_0x22b983-_0x59727c._0x30f779,_0xcd2fa5);}if(!_0x2166d2['includes']('\x0d'))return _0x2166d2;const _0x3a9cb0=_0x2166d2[_0x4fc174(_0x29c7f1._0x3c737e,0x441,_0x29c7f1._0x2a3773,0x24a)]('\x0d');function _0x285723(_0x451027,_0xa43856,_0xc79068,_0x1eb088){return _0x5a72(_0x1eb088-_0x51edeb._0x4aa429,_0x451027);}return _0x3a9cb0[_0x3a9cb0[_0x4fc174(0x39c,0x28e,_0x29c7f1._0x303538,0x254)]-0x1]??'';})[_0x3bbed1(0x16e,_0x515a10._0x21ef2c,0x103,0x149)]('\x0a');}function resolveBackspaces(_0x44af5a){const _0x186bd1={_0x40c536:0x14a,_0x3b9b2a:0x2d5,_0xe12e44:0x396,_0x4e75cd:0x338,_0x39445f:0x4c4,_0x5a652a:0x52a,_0xc3f553:0x49a},_0x24286f={_0x2ff019:0x1ff},_0x21b296={_0x5a6f37:0xcc,_0x6c14dc:0x176},_0x2c6dbc=[];function _0x39be01(_0x5e8c78,_0x1cd651,_0x2cf9d1,_0x3598c6){return _0x1932a3(_0x3598c6,_0x1cd651-_0x21b296._0x5a6f37,_0x5e8c78-0x30,_0x3598c6-_0x21b296._0x6c14dc);}function _0x2c6814(_0x253b26,_0x2410e8,_0x500a34,_0x194ff8){return _0x4ab00a(_0x253b26-0xb2,_0x2410e8-0x87,_0x253b26,_0x194ff8-_0x24286f._0x2ff019);}for(const _0x1074a7 of Array[_0x39be01(0x2b8,_0x186bd1._0x40c536,_0x186bd1._0x3b9b2a,_0x186bd1._0xe12e44)](_0x44af5a)){_0x1074a7==='\x08'?_0x2c6dbc[_0x39be01(_0x186bd1._0x4e75cd,0x3b0,0x3bc,0x471)]():_0x2c6dbc[_0x39be01(_0x186bd1._0x39445f,_0x186bd1._0x5a652a,0x544,0x422)](_0x1074a7);}return _0x2c6dbc[_0x39be01(0x52a,0x57e,0x653,_0x186bd1._0xc3f553)]('');}function stripAnsiAndControls(_0x393dc4){const _0x3695cd={_0x3d928b:0xa,_0x273a39:0x63,_0x2c9aea:0x1b7,_0x253776:0x1ae,_0x3b392c:0xda,_0x2e7efa:0x307,_0x2e0d28:0x26b,_0xbb891b:0x2c,_0x3d7cb9:0xb8,_0x2c1ad3:0x3b3,_0x2f253e:0x26b,_0x65a24:0x32a,_0xa1235c:0x26b,_0x493c87:0x1ca,_0x11a0cd:0x63,_0x4b5da3:0xd5},_0x3fe4d6={_0x32009d:0x186},_0xb26037={_0x454f01:0x190,_0x29bd4a:0x474};_0x393dc4=resolveCarriageReturns(_0x393dc4),_0x393dc4=resolveBackspaces(_0x393dc4),_0x393dc4=stripVTControlCharacters(_0x393dc4);const _0x37985d='\x1b',_0x5a7da9='\x07';_0x393dc4=_0x393dc4[_0xc399e(0xbb,-_0x3695cd._0x3d928b,-_0x3695cd._0x273a39,-0xf)](new RegExp(';[^'+_0x5a7da9+_0xc399e(0x1d2,0x2ed,_0x3695cd._0x2c9aea,_0x3695cd._0x253776)+_0x5a7da9,'g'),''),_0x393dc4=_0x393dc4['replace'](new RegExp(_0xc399e(-_0x3695cd._0x3b392c,0x85,-0x70,-0x1aa)+_0x37985d+'\x5c\x5c','g'),'');function _0xc399e(_0x38cc00,_0x4f5045,_0x7b89f9,_0x4b534d){return _0x4ab00a(_0x38cc00-_0xb26037._0x454f01,_0x4f5045-0x1b7,_0x4f5045,_0x7b89f9- -_0xb26037._0x29bd4a);}_0x393dc4=_0x393dc4[_0x11b979(0x122,_0x3695cd._0x2e7efa,0x39c,_0x3695cd._0x2e0d28)](new RegExp(_0x5a7da9,'g'),''),_0x393dc4=_0x393dc4['replace'](new RegExp(_0x37985d+'[P_^][\x5cs\x5cS]*?'+_0x37985d+'\x5c\x5c','g'),'');function _0x11b979(_0x538750,_0x27e9fd,_0x2d5ae9,_0x122257){return _0x1932a3(_0x2d5ae9,_0x27e9fd-0x1a5,_0x122257- -0xaf,_0x122257-_0x3fe4d6._0x32009d);}return _0x393dc4=_0x393dc4['replace'](new RegExp(_0x37985d+_0xc399e(0xb5,_0x3695cd._0xbb891b,_0x3695cd._0x3d7cb9,0x18e),'g'),''),_0x393dc4=_0x393dc4[_0x11b979(0x3a3,_0x3695cd._0x2c1ad3,0x18f,_0x3695cd._0x2f253e)](/[\u0080-\u009F]/g,''),_0x393dc4=_0x393dc4[_0x11b979(0x2c0,0x23f,_0x3695cd._0x65a24,_0x3695cd._0xa1235c)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x393dc4=_0x393dc4[_0xc399e(-_0x3695cd._0x493c87,-0x5b,-_0x3695cd._0x11a0cd,-_0x3695cd._0x4b5da3)](/[\u23CE\u2424]/g,''),_0x393dc4;}function killProcessGroup(_0x54d00f,_0x27471a,_0x4e0763=_0x4ab00a(0x380,0x4c1,0x3f4,0x3bd)){const _0x802877={_0x368e13:0x311,_0x527e01:0x44d,_0x3c2d32:0x165,_0x32e984:0x4f,_0x4c50ce:0xdf,_0x4b7403:0x406,_0x555f3a:0x18d,_0x134d37:0x25d,_0x41de06:0x26f,_0x1981c8:0x383,_0x28a2af:0x4f7,_0x1c151b:0x53d,_0xb8e732:0x3c4,_0x14ee5a:0x517,_0x3806dc:0x13a,_0x2ec250:0x184,_0x5e07b9:0x185,_0x35868d:0xb7},_0x545a40={_0x47b4d5:0x194,_0x220680:0x37b};function _0x151d1f(_0x1844f0,_0x477a06,_0x344af3,_0x2d89ef){return _0x4ab00a(_0x1844f0-_0x545a40._0x47b4d5,_0x477a06-0x13f,_0x344af3,_0x2d89ef- -_0x545a40._0x220680);}function _0x1be7d6(_0x4efb00,_0x4d454f,_0x12d0ec,_0x5480c4){return _0x1932a3(_0x4efb00,_0x4d454f-0x1a2,_0x12d0ec-0x48,_0x5480c4-0xd2);}if(!_0x54d00f[_0x1be7d6(0x3fb,_0x802877._0x368e13,0x3c4,0x418)])return;if(_0x27471a)try{_0x2c3e93(_0x1be7d6(0x4c1,0x513,_0x802877._0x527e01,0x375),[_0x151d1f(-0x4f,_0x802877._0x3c2d32,0x135,_0x802877._0x32e984),_0x54d00f[_0x151d1f(0xe3,0x100,_0x802877._0x4c50ce,0xf8)]['toString'](),'/T','/F'],{'stdio':_0x151d1f(_0x802877._0x4b7403,_0x802877._0x555f3a,_0x802877._0x134d37,0x2c9)});return;}catch{_0x54d00f['kill'](_0x4e0763);return;}try{process[_0x1be7d6(_0x802877._0x41de06,0x2b4,_0x802877._0x1981c8,_0x802877._0x28a2af)](-_0x54d00f[_0x1be7d6(_0x802877._0x1c151b,0x4ad,_0x802877._0xb8e732,_0x802877._0x14ee5a)],_0x4e0763);}catch{_0x54d00f[_0x151d1f(_0x802877._0x3806dc,_0x802877._0x2ec250,_0x802877._0x5e07b9,_0x802877._0x35868d)](_0x4e0763);}}var BackgroundProcessRegistry=class{[_0x4ab00a(0x6c6,0x5a2,0x622,0x5bb)]=new Map();[_0x4ab00a(0x573,0x4b5,0x43b,0x43b)];[_0x4ab00a(0x750,0x70f,0x501,0x60a)];[_0x4ab00a(0x639,0x426,0x639,0x559)];[_0x1932a3(0x4c2,0x36b,0x3a0,0x272)]=0x0;constructor(_0x2a4fe9={}){const _0x5857fc={_0x53f4ea:0x2c0,_0x4f5150:0x2e8,_0x525ea6:0x248,_0x4c4d67:0x35a,_0x46d933:0x1ed,_0x1b2731:0x2ce,_0x7a280d:0x5f2,_0x1738bc:0x55f,_0x42722f:0x58c,_0x3aba85:0x3de,_0x1da8d3:0x3b0,_0x32f5df:0x286},_0x172e42={_0x27c146:0x9e,_0x3aafa8:0x79},_0x4b3a1d={_0x2cd16c:0x47};this[_0x66495c(_0x5857fc._0x53f4ea,_0x5857fc._0x4f5150,_0x5857fc._0x525ea6,_0x5857fc._0x4c4d67)]=_0x2a4fe9[_0x66495c(0x2c0,_0x5857fc._0x46d933,_0x5857fc._0x1b2731,0x1bb)]??0xa;function _0x66495c(_0x388785,_0x133c4a,_0x152577,_0x55f222){return _0x4ab00a(_0x388785-_0x4b3a1d._0x2cd16c,_0x133c4a-0xfb,_0x152577,_0x388785- -0x17b);}this['maxEntries']=_0x2a4fe9[_0x9a8214(_0x5857fc._0x7a280d,_0x5857fc._0x1738bc,0x545,_0x5857fc._0x42722f)]??0x40;function _0x9a8214(_0x342c68,_0xace467,_0x3a0245,_0x44bd71){return _0x1932a3(_0xace467,_0xace467-_0x172e42._0x27c146,_0x44bd71-_0x172e42._0x3aafa8,_0x44bd71-0x1dd);}this[_0x66495c(_0x5857fc._0x3aba85,0x54e,_0x5857fc._0x1da8d3,_0x5857fc._0x32f5df)]=_0x2a4fe9['capChars']??0x100000;}['spawn'](_0x52ed04){const _0x5f2fa6={_0x3e9c1a:0x369,_0x160b50:0x363,_0x36166e:0x271,_0x43e77d:0x36d,_0x643847:0x1dc,_0x1b55c7:0x7b7,_0x5ebd16:0x791,_0x2f7c68:0x2e6,_0x308cec:0x43e,_0x5c52e2:0x1e9,_0x47c702:0xdf,_0x2b9958:0x2e8,_0x38d6af:0x36b,_0x1f17ed:0x381,_0x2096d1:0x1e9,_0xc776a4:0x95,_0x373ac3:0x9f,_0x703357:0x263,_0x1eec5e:0x344,_0x2bfb43:0x64f,_0x3de91a:0x6c5,_0x4abf27:0x186,_0x30b7fc:0x2eb,_0x2f216d:0x2db,_0x3493bb:0x2e1,_0x5445c0:0x44d,_0x52bbbb:0x3fa,_0x3a191b:0x52b,_0x131369:0x557,_0x135d21:0x405,_0x39bee2:0x577,_0x1e9878:0x6df,_0x1df110:0x519,_0x2594cb:0x1ca,_0x37375b:0x156,_0x2a5aa3:0x78,_0x56608d:0x47e,_0x32d3ae:0x437,_0x31f304:0x45c,_0x5a5399:0x468,_0x303aa7:0x440,_0xb96aca:0x514,_0xea221b:0x517,_0x40b610:0x199,_0xc9156c:0x532,_0x53914b:0x454,_0x2193d0:0x699,_0xb2201a:0x682,_0x237999:0x3cd,_0x598d61:0x40a,_0x4ea689:0x3be,_0x358a29:0x6bc,_0x5d390d:0x48c,_0x308f85:0x2e8,_0x421897:0x266,_0x2eb18f:0x440,_0x5b5582:0x2f7,_0x47b393:0x46f,_0x27aa04:0x2ef,_0x31ccd4:0x664},_0x2d02c1={_0x570eda:0x33,_0x28b6c6:0x1f1},_0x44a706={_0x297b77:0x180,_0x5c200c:0x15b},_0x1eabce={_0x58eb99:0x1d0,_0x14c45f:0x2c7,_0x1451e6:0x2a5,_0x2806de:0x2ba,_0x3d589b:0x4cd,_0x166762:0x2f4,_0x53e060:0x3cb,_0x89f36f:0x48b},_0x52fa2d={_0x49d0e1:0x19},_0x48928e={_0x5c48e9:0x2a7,_0xa6fded:0x45f,_0x4fe66b:0x2c8,_0x51f1b5:0x28c,_0x3aba3e:0x15f,_0x11931b:0xf6,_0x4ae8d8:0x241,_0x69b99f:0x24c,_0x3fb6ba:0x364,_0x6a5ae6:0x236,_0x56d9d8:0x40c,_0x465ef7:0x314,_0x186fa1:0x48d,_0x5bc6cf:0x598,_0x53afb6:0xc8,_0x15389d:0x30c,_0x1c9b20:0x1e4,_0x59d0c2:0x286,_0x561112:0x249,_0x5d1889:0x2fb,_0x3930af:0x3c3,_0x32ccce:0x306,_0x150835:0x331,_0xaf332c:0x109,_0x15c52b:0x117,_0xc3f0da:0x1ec},_0x4a78ee={_0x17d5e6:0x107},_0x29ff56={_0x4306d0:0x4a6,_0x30efa6:0x185},_0x5be5d0={_0x393d66:0xe0,_0x56afa0:0x6d,_0x59ebdc:0x18e},_0x57a6a0=[...this[_0x49b795(_0x5f2fa6._0x3e9c1a,_0x5f2fa6._0x160b50,_0x5f2fa6._0x36166e,_0x5f2fa6._0x43e77d)][_0x49b795(_0x5f2fa6._0x643847,0x196,0x248,0x281)]()][_0x27c7ec(0x6a3,0x668,_0x5f2fa6._0x1b55c7,_0x5f2fa6._0x5ebd16)](_0x2592dc=>_0x2592dc[_0x49b795(0x124,0x16,0x214,0x255)]==='running')[_0x49b795(_0x5f2fa6._0x2f7c68,0x189,0x2b0,_0x5f2fa6._0x308cec)];if(_0x57a6a0>=this['maxConcurrent'])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x49b795(_0x5f2fa6._0x5c52e2,0x23d,_0x5f2fa6._0x47c702,_0x5f2fa6._0x2b9958)]+_0x49b795(0x233,0x1b3,_0x5f2fa6._0x38d6af,_0x5f2fa6._0x1f17ed),{'running':this[_0x49b795(_0x5f2fa6._0x2096d1,_0x5f2fa6._0xc776a4,_0x5f2fa6._0x373ac3,_0x5f2fa6._0x703357)]});const _0x79d1de='bg-'+ ++this[_0x49b795(0x245,_0x5f2fa6._0x1eec5e,0x17d,0x361)]+'-'+randomUUID()['slice'](0x0,0x8),_0x4c01fd={'shellId':_0x79d1de,'command':_0x52ed04[_0x27c7ec(_0x5f2fa6._0x2bfb43,0x574,_0x5f2fa6._0x3de91a,0x795)],'cwd':_0x52ed04['cwd'],'pid':_0x52ed04[_0x49b795(_0x5f2fa6._0x4abf27,_0x5f2fa6._0x30b7fc,_0x5f2fa6._0x2f216d,0x247)][_0x49b795(0x221,0xbe,_0x5f2fa6._0x3493bb,0x339)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x27c7ec(_0x5f2fa6._0x5445c0,_0x5f2fa6._0x52bbbb,0x598,0x56e)](),'child':_0x52ed04['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x27c7ec(_0x5f2fa6._0x3a191b,_0x5f2fa6._0x131369,_0x5f2fa6._0x135d21,_0x5f2fa6._0x39bee2)),'stderrDecoder':new StringDecoder('utf8'),'stripAnsi':_0x52ed04[_0x27c7ec(0x5fb,_0x5f2fa6._0x1e9878,_0x5f2fa6._0x1df110,0x570)],'killRequested':![],'processExited':![]};_0x52ed04[_0x49b795(0x186,0x122,_0x5f2fa6._0x2594cb,0xe9)][_0x49b795(_0x5f2fa6._0x37375b,0x53,_0x5f2fa6._0x2a5aa3,0x231)]?.['on'](_0x27c7ec(_0x5f2fa6._0x56608d,0x3d3,_0x5f2fa6._0x32d3ae,0x587),_0x3d7db5=>this[_0x49b795(0x25d,0x394,0x1f1,0x13a)](_0x4c01fd,_0x4c01fd['stdoutDecoder'][_0x27c7ec(0x654,0x6ed,0x6b5,0x6e0)](_0x3d7db5))),_0x52ed04[_0x27c7ec(0x440,0x305,_0x5f2fa6._0x31f304,0x591)][_0x27c7ec(_0x5f2fa6._0x5a5399,0x3b9,0x310,0x444)]?.['on']('data',_0x33f961=>this[_0x27c7ec(0x517,0x40f,0x5f2,0x63c)](_0x4c01fd,_0x4c01fd[_0x49b795(0x386,0x336,0x47d,0x2fe)][_0x27c7ec(0x654,0x5d9,0x6e3,0x68f)](_0x33f961))),_0x52ed04[_0x27c7ec(_0x5f2fa6._0x303aa7,_0x5f2fa6._0xb96aca,0x2d0,_0x5f2fa6._0xea221b)][_0x49b795(0x2de,0x3c2,_0x5f2fa6._0x40b610,_0x5f2fa6._0x303aa7)](_0x27c7ec(_0x5f2fa6._0xc9156c,_0x5f2fa6._0x53914b,_0x5f2fa6._0x2193d0,_0x5f2fa6._0xb2201a),()=>{const _0x10b26c={_0x2d1e3a:0xcd,_0x3f1c8c:0x139};function _0x1c34b4(_0x3280f5,_0x376652,_0x5d28e4,_0x286912){return _0x49b795(_0x286912- -_0x10b26c._0x2d1e3a,_0x376652-_0x10b26c._0x3f1c8c,_0x5d28e4-0x12c,_0x5d28e4);}_0x4c01fd[_0x1c34b4(_0x5be5d0._0x393d66,_0x5be5d0._0x56afa0,_0x5be5d0._0x59ebdc,0x18c)]=!![];}),_0x52ed04[_0x27c7ec(_0x5f2fa6._0x303aa7,_0x5f2fa6._0x237999,_0x5f2fa6._0x598d61,_0x5f2fa6._0x4ea689)][_0x27c7ec(0x598,0x672,_0x5f2fa6._0x358a29,_0x5f2fa6._0x5d390d)](_0x49b795(_0x5f2fa6._0x308f85,0x276,0x263,_0x5f2fa6._0x421897),(_0x53595a,_0x4f893c)=>{function _0x3659ee(_0x2bf468,_0x224fc2,_0xf5c89b,_0x40d4d5){return _0x27c7ec(_0x2bf468- -_0x29ff56._0x4306d0,_0x224fc2-_0x29ff56._0x30efa6,_0xf5c89b,_0x40d4d5-0x5d);}this[_0x2caa9e(_0x48928e._0x5c48e9,_0x48928e._0xa6fded,0x364,_0x48928e._0x4fe66b)](_0x4c01fd,_0x4c01fd[_0x2caa9e(_0x48928e._0x51f1b5,0x227,0x273,_0x48928e._0x3aba3e)][_0x2caa9e(_0x48928e._0x11931b,0x3a3,_0x48928e._0x4ae8d8,0x108)]()),this[_0x2caa9e(_0x48928e._0x69b99f,0x29f,_0x48928e._0x3fb6ba,_0x48928e._0x6a5ae6)](_0x4c01fd,_0x4c01fd[_0x2caa9e(_0x48928e._0x56d9d8,_0x48928e._0x465ef7,_0x48928e._0x186fa1,_0x48928e._0x5bc6cf)][_0x2caa9e(_0x48928e._0x53afb6,0x167,_0x48928e._0x4ae8d8,0x159)]()),_0x4c01fd[_0x2caa9e(0x38a,_0x48928e._0x15389d,0x22b,_0x48928e._0x15389d)]=_0x4c01fd[_0x3659ee(_0x48928e._0x1c9b20,_0x48928e._0x59d0c2,_0x48928e._0x561112,_0x48928e._0x5d1889)]?_0x2caa9e(_0x48928e._0x3930af,_0x48928e._0x32ccce,0x288,_0x48928e._0x150835):_0x3659ee(_0x48928e._0xaf332c,-0x2b,_0x48928e._0x15c52b,0x1bb),_0x4c01fd[_0x3659ee(0x10d,0x21b,0x14e,_0x48928e._0xc3f0da)]=_0x53595a,_0x4c01fd['signal']=_0x4f893c;function _0x2caa9e(_0xcfaac9,_0x325b67,_0x13e2ce,_0x43ba75){return _0x49b795(_0x13e2ce-_0x4a78ee._0x17d5e6,_0x325b67-0x177,_0x13e2ce-0x15f,_0x325b67);}_0x4c01fd['child']=null;}),_0x52ed04[_0x27c7ec(_0x5f2fa6._0x2eb18f,0x3d5,0x429,0x4a4)]['once'](_0x49b795(_0x5f2fa6._0x5b5582,0x3c4,0x3d7,_0x5f2fa6._0x47b393),_0x357a2b=>{const _0x312b7d={_0x71ecf1:0x13f};_0x4c01fd[_0x5cbd06(_0x1eabce._0x58eb99,_0x1eabce._0x14c45f,_0x1eabce._0x1451e6,_0x1eabce._0x2806de)]=_0x269ef2(0x53c,_0x1eabce._0x3d589b,0x560,0x408);function _0x269ef2(_0x52c179,_0x5a8b98,_0x4d874e,_0x585583){return _0x27c7ec(_0x52c179- -0x75,_0x5a8b98-_0x52fa2d._0x49d0e1,_0x4d874e,_0x585583-0x7f);}_0x4c01fd[_0x5cbd06(0x3a3,_0x1eabce._0x166762,0x455,0x428)]=_0x357a2b['message'];function _0x5cbd06(_0x35b531,_0x246d9c,_0xe26a78,_0x3c5e60){return _0x49b795(_0x35b531-0xac,_0x246d9c-_0x312b7d._0x71ecf1,_0xe26a78-0xfd,_0x3c5e60);}_0x4c01fd[_0x269ef2(_0x1eabce._0x53e060,0x3b9,0x4ee,_0x1eabce._0x89f36f)]=null;});function _0x49b795(_0x87dfaf,_0x3341ff,_0x3efd73,_0xb3db7){return _0x1932a3(_0xb3db7,_0x3341ff-_0x44a706._0x297b77,_0x87dfaf- -_0x44a706._0x5c200c,_0xb3db7-0xc1);}this[_0x49b795(0x369,0x499,_0x5f2fa6._0x27aa04,0x232)][_0x27c7ec(_0x5f2fa6._0x31ccd4,0x545,0x682,0x617)](_0x79d1de,_0x4c01fd);function _0x27c7ec(_0x21a30f,_0x2d029b,_0x57998a,_0x3d33c6){return _0x4ab00a(_0x21a30f-_0x2d02c1._0x570eda,_0x2d029b-_0x2d02c1._0x28b6c6,_0x57998a,_0x21a30f-0x68);}return this['evictIfNeeded'](),_0x4c01fd;}[_0x4ab00a(0x2b0,0x270,0x462,0x3b1)](_0x495894,_0x378181){const _0x310993={_0x51445c:0x49a,_0x7325f4:0x428,_0x2c7c09:0x3ee,_0xc2ab1:0x3b8,_0x2d04aa:0x308,_0xe24813:0x23d,_0x289af5:0x244,_0x590764:0x3bd,_0x2371cb:0x44f,_0x2d940a:0x220,_0x27a61e:0x1ee,_0x116390:0x217,_0x7964e0:0x586,_0x1c56e6:0x3b3,_0x3728d5:0x477,_0xcb35d:0x492,_0xc0cce5:0x369,_0x5a28c4:0x4a9,_0x274f84:0x357,_0x5cda9a:0x645,_0x311be1:0x561,_0x3c429a:0x688,_0x527154:0x6fb,_0x463970:0x579,_0x461fcd:0x4df,_0x269050:0x4e3,_0x21ce69:0x14b,_0x38d0f1:0x359,_0x41f686:0x459,_0x1d52a4:0x5f7,_0x11e42a:0x664,_0x56aac6:0x650,_0x14b872:0x72e,_0x9aaeee:0x2b5,_0x162320:0x641,_0x5b1c17:0x568,_0x5e1a66:0x5b8,_0x98c5b2:0x6a6,_0x1a9c56:0x7e9,_0x49fee4:0x5c2,_0x43ea79:0x7ae,_0x4cc0cc:0x307,_0x3dd946:0x29b,_0x12483c:0x449,_0x5c4672:0x159,_0x2d0154:0x3ed,_0xd1dbf7:0x44d,_0x27e5af:0x4f9,_0x866f50:0x48a,_0x11c512:0x5e6,_0x13a035:0x605},_0x10c98e={_0x3bb801:0xc8,_0x4ccf48:0x1a},_0x55fa54={_0x4ecc11:0x8f},_0x3f0e1d=this[_0x38e207(0x3cb,_0x310993._0x51445c,0x540,_0x310993._0x7325f4)][_0x38e207(_0x310993._0x2c7c09,0x5b7,0x497,0x46d)](_0x495894);function _0x376dc4(_0x303651,_0x3f034d,_0x4d7152,_0x2fc9ea){return _0x4ab00a(_0x303651-0x9a,_0x3f034d-_0x55fa54._0x4ecc11,_0x2fc9ea,_0x4d7152-0xb9);}if(!_0x3f0e1d)throw new ToolExecutionError(_0x38e207(_0x310993._0xc2ab1,_0x310993._0x2d04aa,_0x310993._0xe24813,_0x310993._0x289af5)+_0x495894,{'shellId':_0x495894});const _0x1d9abe=_0x3f0e1d['buffer'][_0x38e207(_0x310993._0x590764,0x5d7,0x589,0x45e)](''),_0x3d6366=Math[_0x38e207(_0x310993._0x2371cb,0x473,0x3f2,0x3b3)](_0x3f0e1d[_0x38e207(_0x310993._0x2d940a,0x1c8,_0x310993._0x27a61e,_0x310993._0x116390)],_0x3f0e1d[_0x376dc4(_0x310993._0x7964e0,0x6f3,0x688,0x7c6)]),_0x5318d6=Math[_0x38e207(0x3f7,0x467,0x346,_0x310993._0x1c56e6)](0x0,_0x3f0e1d['totalDropped']-_0x3f0e1d[_0x376dc4(_0x310993._0x3728d5,_0x310993._0xcb35d,0x463,_0x310993._0xcb35d)]),_0x560343=_0x1d9abe[_0x38e207(0x3cf,_0x310993._0xc0cce5,_0x310993._0x5a28c4,_0x310993._0x274f84)](_0x3d6366-_0x3f0e1d[_0x376dc4(_0x310993._0x5cda9a,_0x310993._0x311be1,_0x310993._0x3c429a,_0x310993._0x527154)]),_0x941d79=_0x3f0e1d[_0x376dc4(0x3f9,_0x310993._0x463970,0x42f,_0x310993._0x461fcd)]!=='running';let _0x3a3dac;function _0x38e207(_0x4a996f,_0x231b9d,_0x3cd667,_0x179dda){return _0x1932a3(_0x231b9d,_0x231b9d-_0x10c98e._0x3bb801,_0x179dda- -0x9c,_0x179dda-_0x10c98e._0x4ccf48);}const _0x36d9f2=_0x378181?.[_0x38e207(0x5b5,_0x310993._0x269050,0x4e3,0x4cb)];if(!_0x36d9f2)_0x3a3dac=_0x560343,_0x3f0e1d[_0x38e207(_0x310993._0x21ce69,0x233,0x175,0x217)]=_0x3f0e1d[_0x38e207(_0x310993._0x38d0f1,_0x310993._0x41f686,_0x310993._0x1d52a4,0x4c1)];else{let _0xf1c1e9;try{_0xf1c1e9=new RegExp(_0x36d9f2);}catch(_0x178dd5){throw new ToolExecutionError(_0x376dc4(0x605,_0x310993._0x11e42a,_0x310993._0x56aac6,_0x310993._0x14b872)+_0x178dd5[_0x38e207(0x39f,0x426,0x146,_0x310993._0x9aaeee)],{'shellId':_0x495894,'regex':_0x36d9f2});}let _0x2ca606=_0x560343;if(!_0x941d79){const _0x8ad587=_0x560343[_0x376dc4(_0x310993._0x162320,_0x310993._0x5b1c17,0x6c4,_0x310993._0x5e1a66)]('\x0a');_0x2ca606=_0x8ad587>=0x0?_0x560343[_0x376dc4(0x71b,0x583,0x5a3,_0x310993._0x98c5b2)](0x0,_0x8ad587+0x1):'';}_0x3a3dac=_0x2ca606['split']('\x0a')[_0x376dc4(_0x310993._0x1a9c56,0x5fe,0x6f4,0x5af)](_0x487c75=>_0xf1c1e9[_0x376dc4(0x639,0x563,0x622,0x6e3)](_0x487c75))[_0x376dc4(_0x310993._0x49fee4,_0x310993._0x43ea79,0x6aa,0x579)]('\x0a'),_0x3f0e1d['readCursor']=_0x3d6366+_0x2ca606[_0x38e207(0x2e5,0x40e,_0x310993._0x4cc0cc,0x3a5)];}const _0x5ab9b7=(_0x5318d6>0x0?'[output\x20truncated:\x20'+_0x5318d6+_0x38e207(0x569,_0x310993._0x3dd946,_0x310993._0x12483c,0x3f0):'')+_0x3a3dac;return{'output':_0x5ab9b7,'status':_0x3f0e1d[_0x38e207(_0x310993._0x5c4672,0x146,0x313,0x1e3)],'exitCode':_0x3f0e1d[_0x38e207(_0x310993._0x2d0154,0x32a,_0x310993._0xd1dbf7,_0x310993._0xc2ab1)],'signal':_0x3f0e1d[_0x376dc4(_0x310993._0x27e5af,_0x310993._0x866f50,_0x310993._0x11c512,_0x310993._0x13a035)],'truncated':_0x5318d6>0x0};}[_0x1932a3(0x1ee,0x40f,0x2e8,0x447)](){const _0x39f519={_0x1f06aa:0x29a,_0x5586b8:0x15b},_0x50f781={_0x5d8d99:0x1be,_0x3e8278:0x492};function _0x5011d6(_0x434cf7,_0x17ea4a,_0x4e3742,_0x1a29e9){return _0x1932a3(_0x434cf7,_0x17ea4a-_0x50f781._0x5d8d99,_0x17ea4a- -_0x50f781._0x3e8278,_0x1a29e9-0x1c6);}return[...this['entries'][_0x5011d6(-_0x39f519._0x1f06aa,-_0x39f519._0x5586b8,-0x15b,-0x166)]()];}[_0x1932a3(0x3a2,0x1e7,0x33b,0x45e)](_0x56f994){const _0xe1f511={_0x4d318a:0x388,_0x1d9102:0x2b4,_0x5e5fbe:0x211,_0x1c0548:0x296,_0x392d2d:0x2d0,_0x4e0f6c:0x302,_0x261f49:0x1a4,_0x2537bc:0xd,_0x444c99:0xd0,_0x35e4c8:0x27c,_0x148b17:0x238,_0x1d530a:0x424,_0x1ae697:0x278,_0x429b5d:0x259,_0x36c5ab:0x3d5,_0x4ea029:0x2e1,_0x4243cc:0x5b2,_0x25ba30:0x574,_0x1844b6:0x2d3,_0x70f4e1:0x89,_0x2b8887:0x25d,_0x461a3b:0x3b9,_0x2ff340:0x2e2,_0x26b1bc:0x182,_0x509ecf:0x16e,_0x5b34fa:0x3c,_0x59d288:0x4db},_0x5132b2={_0x5f5aa8:0x70},_0x68a58e={_0x1e4614:0x9c},_0x795ba1=this[_0x42007c(_0xe1f511._0x4d318a,_0xe1f511._0x1d9102,_0xe1f511._0x5e5fbe,_0xe1f511._0x1c0548)][_0x42007c(0x3cd,_0xe1f511._0x392d2d,0x50a,_0xe1f511._0x4e0f6c)](_0x56f994);if(!_0x795ba1)throw new ToolExecutionError(_0x42007c(_0xe1f511._0x261f49,0x271,0x29b,0x266)+_0x56f994,{'shellId':_0x56f994});function _0x42007c(_0x5e1291,_0x4a60c9,_0x21401a,_0x728542){return _0x1932a3(_0x21401a,_0x4a60c9-0x153,_0x5e1291- -0x13c,_0x728542-_0x68a58e._0x1e4614);}function _0x3efd99(_0x530b84,_0x9ee726,_0x27c792,_0x8fbd64){return _0x4ab00a(_0x530b84-0xcf,_0x9ee726-0xcd,_0x8fbd64,_0x27c792- -_0x5132b2._0x5f5aa8);}if(_0x795ba1[_0x42007c(0x143,0x214,-_0xe1f511._0x2537bc,_0xe1f511._0x444c99)]===_0x3efd99(_0xe1f511._0x35e4c8,_0xe1f511._0x148b17,0x376,_0xe1f511._0x1d530a)&&_0x795ba1['child']&&!_0x795ba1[_0x42007c(_0xe1f511._0x1ae697,_0xe1f511._0x429b5d,_0xe1f511._0x36c5ab,_0xe1f511._0x4ea029)]){_0x795ba1[_0x3efd99(0x657,0x5c7,_0xe1f511._0x4243cc,_0xe1f511._0x25ba30)]=!![];try{killProcessGroup(_0x795ba1[_0x42007c(0x1a5,0x2d8,_0xe1f511._0x1844b6,_0xe1f511._0x70f4e1)],process[_0x3efd99(_0xe1f511._0x2b8887,_0xe1f511._0x461a3b,0x36c,_0xe1f511._0x2ff340)]===_0x42007c(_0xe1f511._0x26b1bc,_0xe1f511._0x509ecf,_0xe1f511._0x5b34fa,0x111));}catch{}}return{'status':_0x795ba1['status'],'exitCode':_0x795ba1[_0x3efd99(0x5e6,0x558,_0xe1f511._0x59d288,0x5e3)],'signal':_0x795ba1['signal']};}async[_0x1932a3(0x307,0x334,0x2ed,0x2d3)](){const _0x2b10fb={_0x39edf6:0x41,_0x487008:0xe5,_0x5e9c91:0x1c0,_0xe0b28a:0xdc,_0x3c9354:0xc8,_0x3217ad:0x1c4,_0x794b97:0x110,_0x17ce75:0x269,_0x9b2517:0x4b,_0x1e947f:0xb9,_0x2be51a:0x9b,_0x1d2890:0x279,_0x25a761:0x11a,_0x4d62d3:0x216,_0xd21b8f:0x3d,_0x187f07:0x141},_0x51b03c={_0x48a577:0x192,_0x22a797:0x3ff,_0x58a088:0xd4},_0x282306={_0x20d14b:0x11b};function _0x578cc9(_0x262349,_0x2086fa,_0x34d1c6,_0x460adf){return _0x1932a3(_0x460adf,_0x2086fa-_0x282306._0x20d14b,_0x2086fa- -0x3df,_0x460adf-0x5a);}function _0xc6a760(_0x38de08,_0x8b96d,_0x39cf59,_0x11687d){return _0x1932a3(_0x39cf59,_0x8b96d-_0x51b03c._0x48a577,_0x8b96d- -_0x51b03c._0x22a797,_0x11687d-_0x51b03c._0x58a088);}for(const _0xd30002 of this[_0x578cc9(_0x2b10fb._0x39edf6,_0x2b10fb._0x487008,0x12c,_0x2b10fb._0x5e9c91)][_0xc6a760(-_0x2b10fb._0xe0b28a,-_0x2b10fb._0x3c9354,0x7e,-0x16b)]()){if(_0xd30002['status']===_0xc6a760(-_0x2b10fb._0x3217ad,-_0x2b10fb._0x794b97,-0x225,-_0x2b10fb._0x17ce75)&&_0xd30002['child']&&!_0xd30002[_0xc6a760(-0x5e,-_0x2b10fb._0x9b2517,-_0x2b10fb._0x1e947f,-0x1c0)]){_0xd30002[_0xc6a760(_0x2b10fb._0x2be51a,0x12c,0x79,_0x2b10fb._0x1d2890)]=!![];try{killProcessGroup(_0xd30002['child'],process[_0xc6a760(0x15,-_0x2b10fb._0x25a761,-0x91,-_0x2b10fb._0x4d62d3)]===_0xc6a760(-_0x2b10fb._0xd21b8f,-_0x2b10fb._0x187f07,-0x25e,-0x70));}catch{}}}}[_0x1932a3(0x384,0x4dd,0x3b8,0x47c)](_0x3a38a6,_0xecd0e1){const _0x27029e={_0x45725b:0x55d,_0x462e1f:0x5ca,_0x5657ef:0x7c1,_0x3baa81:0x7e9,_0x35c737:0x43c,_0x27905f:0x46d,_0x56bbea:0x342,_0x2f06e9:0x47b,_0x1f0106:0x73e,_0x58448d:0x512,_0x4d50ec:0x662,_0x468531:0x7f7,_0x57712e:0x61c,_0x260893:0x761,_0x53bf6e:0x78e,_0x87e047:0x61e,_0x29b0a4:0x73a,_0xb868dc:0x711,_0x37c82c:0x74e,_0x38c4d3:0x7a4,_0x344224:0x80c,_0x508dd3:0x6fa,_0x2f75fa:0x333,_0x51e1d8:0x587,_0x3b1a53:0x552,_0x31a375:0x61e,_0x4154c0:0x5a3,_0x491157:0x5ba,_0x3d4013:0x7d6,_0x2ba8a5:0x74e},_0x5e11f4={_0x42dc93:0x136,_0x51dcad:0x158},_0x3e80d8={_0x15142c:0x105,_0x4e9c55:0x1dd};function _0x607a5b(_0x3fa09b,_0x56e5cd,_0x5685ef,_0x3c8deb){return _0x1932a3(_0x3fa09b,_0x56e5cd-_0x3e80d8._0x15142c,_0x56e5cd-_0x3e80d8._0x4e9c55,_0x3c8deb-0xcb);}const _0x1b3f3a=_0x3a38a6[_0x607a5b(0x749,0x679,_0x27029e._0x45725b,_0x27029e._0x462e1f)]?stripAnsiAndControls(_0xecd0e1):_0xecd0e1;if(_0x1b3f3a[_0x2722f5(0x62e,_0x27029e._0x5657ef,_0x27029e._0x3baa81,0x672)]===0x0)return;_0x3a38a6[_0x607a5b(_0x27029e._0x35c737,_0x27029e._0x27905f,_0x27029e._0x56bbea,_0x27029e._0x2f06e9)][_0x607a5b(_0x27029e._0x1f0106,0x671,_0x27029e._0x58448d,_0x27029e._0x4d50ec)](_0x1b3f3a),_0x3a38a6[_0x2722f5(0x846,_0x27029e._0x468531,_0x27029e._0x57712e,0x74e)]+=_0x1b3f3a['length'];function _0x2722f5(_0xda5cd1,_0x9c8077,_0x478634,_0x23284f){return _0x1932a3(_0x478634,_0x9c8077-_0x5e11f4._0x42dc93,_0x23284f-0x231,_0x23284f-_0x5e11f4._0x51dcad);}_0x3a38a6[_0x2722f5(0x7bf,0x83d,_0x27029e._0x260893,_0x27029e._0x53bf6e)]+=_0x1b3f3a[_0x607a5b(0x597,_0x27029e._0x87e047,0x6ab,_0x27029e._0x29b0a4)];while(_0x3a38a6[_0x2722f5(_0x27029e._0xb868dc,0x782,0x79f,_0x27029e._0x37c82c)]>this[_0x607a5b(_0x27029e._0x38c4d3,0x63f,0x62e,0x6d6)]){const _0x7474d5=_0x3a38a6[_0x607a5b(_0x27029e._0x344224,_0x27029e._0x508dd3,0x7cc,0x7fe)]-this[_0x607a5b(0x789,0x63f,0x668,0x6ad)],_0x40be30=_0x3a38a6[_0x607a5b(_0x27029e._0x2f75fa,_0x27029e._0x27905f,_0x27029e._0x51e1d8,_0x27029e._0x3b1a53)][0x0];_0x40be30[_0x2722f5(0x637,0x570,0x6d8,0x672)]<=_0x7474d5?(_0x3a38a6['buffer']['shift'](),_0x3a38a6['bufferChars']-=_0x40be30[_0x607a5b(0x4ef,_0x27029e._0x31a375,0x513,0x6f5)],_0x3a38a6['totalDropped']+=_0x40be30['length']):(_0x3a38a6[_0x607a5b(0x303,0x46d,0x349,_0x27029e._0x4154c0)][0x0]=_0x40be30[_0x607a5b(0x5f4,0x5d0,0x601,_0x27029e._0x491157)](_0x7474d5),_0x3a38a6[_0x2722f5(_0x27029e._0x3d4013,0x612,0x7e4,_0x27029e._0x2ba8a5)]-=_0x7474d5,_0x3a38a6['totalDropped']+=_0x7474d5);}}['evictIfNeeded'](){const _0x557304={_0x510f09:0x425,_0x25d741:0x2f7,_0x1411ce:0x6a8,_0x438cad:0x756,_0x2e5052:0x659,_0x510172:0x779,_0x1a3599:0x598,_0x365bbc:0x515,_0x2086d1:0x659,_0x4383e8:0x702,_0x2ab0fa:0x6d2,_0x5d7d19:0x534,_0x10a921:0x2c2},_0x140476={_0x3b80b1:0x195},_0x25ea5d={_0x54dd4e:0x196};function _0x177ee4(_0x5258b6,_0xe48253,_0x423757,_0x2e1594){return _0x4ab00a(_0x5258b6-0x15,_0xe48253-0x56,_0x2e1594,_0x5258b6- -_0x25ea5d._0x54dd4e);}if(this[_0x177ee4(_0x557304._0x510f09,0x42b,_0x557304._0x25d741,0x416)]['size']<=this[_0x333265(_0x557304._0x1411ce,0x7fd,0x613,_0x557304._0x438cad)])return;function _0x333265(_0x19acc8,_0x2ea37d,_0x5877b2,_0x584983){return _0x1932a3(_0x5877b2,_0x2ea37d-0x104,_0x19acc8-_0x140476._0x3b80b1,_0x584983-0x18a);}for(const [_0x331d4d,_0x372c66]of this[_0x333265(_0x557304._0x2e5052,0x5e7,_0x557304._0x510172,_0x557304._0x1a3599)]){if(_0x372c66['status']!==_0x333265(0x484,_0x557304._0x365bbc,0x5f3,0x3b3)){this[_0x333265(_0x557304._0x2086d1,0x5c2,_0x557304._0x4383e8,_0x557304._0x2ab0fa)][_0x333265(0x435,0x431,_0x557304._0x5d7d19,_0x557304._0x10a921)](_0x331d4d);return;}}}};function createBashOutputTool(_0x4aa884){const _0x25f906={_0xc953f3:0x3d4,_0x1a44c5:0x732,_0x2e7525:0x880,_0x1768cb:0x64b,_0x565bbc:0x7bf,_0x24e410:0x821},_0x5a94b7={_0x11d69f:0x8f,_0x53fa3c:0xe8,_0x3a5d25:0x273,_0x2fe112:0xce,_0x2cd1cd:0xc6,_0x474759:0xb4,_0x254871:0x150,_0x27bb93:0x280,_0x12fc68:0x77,_0x2dc7ad:0x5d,_0x2cb42e:0x17d,_0x2c9a38:0x28c,_0x2d8a4c:0x273,_0xaa01df:0x26a},_0x4b1fc2={_0x432498:0x160,_0x3c155e:0x8a},_0x2b18f1={_0x5a6046:0x1e};function _0x287669(_0x19b321,_0x5b8a83,_0x2fdda7,_0x35c300){return _0x4ab00a(_0x19b321-0xc0,_0x5b8a83-_0x2b18f1._0x5a6046,_0x5b8a83,_0x2fdda7-0x1dd);}const {registry:_0x6c6254}=_0x4aa884;function _0x5a1a7b(_0x4cf3c4,_0x587c8b,_0x5155d2,_0x4e8f8e){return _0x4ab00a(_0x4cf3c4-_0x4b1fc2._0x432498,_0x587c8b-_0x4b1fc2._0x3c155e,_0x4e8f8e,_0x4cf3c4-0x11c);}return defineTool({'name':_0x5a1a7b(0x4df,0x540,_0x25f906._0xc953f3,0x5fa),'description':_0x5a1a7b(_0x25f906._0x1a44c5,_0x25f906._0x2e7525,_0x25f906._0x1768cb,0x86b),'inputSchema':{'type':_0x287669(0x713,0x84f,_0x25f906._0x565bbc,0x8c3),'properties':{'shellId':{'type':'string'},'regex':{'type':_0x5a1a7b(0x605,0x626,0x49c,0x4a7)}},'required':[_0x5a1a7b(0x6c6,0x65f,0x61f,_0x25f906._0x24e410)]},async *'execute'(_0x4dfa5a){const _0x55eb77={_0x48b02e:0x5b5,_0xe40bf0:0x5b},_0x5e9d62={_0x4a9728:0x15e,_0xe2b99b:0x497,_0x48d0b3:0x198};function _0xa88879(_0x11c4e7,_0x2c7f9a,_0x3ddabb,_0x539dc9){return _0x287669(_0x11c4e7-_0x5e9d62._0x4a9728,_0x539dc9,_0x3ddabb- -_0x5e9d62._0xe2b99b,_0x539dc9-_0x5e9d62._0x48d0b3);}const _0x5371cc=_0x6c6254[_0x4730d0(-0x23a,-0x64,_0x5a94b7._0x11d69f,-_0x5a94b7._0x53fa3c)](_0x4dfa5a['shellId'],_0x4dfa5a['regex']?{'regex':_0x4dfa5a[_0x4730d0(0x1a1,_0x5a94b7._0x3a5d25,0x65,0x1c5)]}:void 0x0);function _0x4730d0(_0x363e3a,_0x2323ea,_0x563216,_0x105faf){return _0x5a1a7b(_0x105faf- -_0x55eb77._0x48b02e,_0x2323ea-_0x55eb77._0xe40bf0,_0x563216-0x1e9,_0x2323ea);}return createToolOutput(_0x5371cc[_0x4730d0(_0x5a94b7._0x2fe112,_0x5a94b7._0x2cd1cd,_0x5a94b7._0x474759,0xef)],{'shellId':_0x4dfa5a[_0x4730d0(_0x5a94b7._0x254871,_0x5a94b7._0x27bb93,0x20f,0x111)],'status':_0x5371cc[_0xa88879(_0x5a94b7._0x12fc68,_0x5a94b7._0x2dc7ad,0xbc,0x213)],'exitCode':_0x5371cc[_0x4730d0(-0x5e,0x1fd,_0x5a94b7._0x2cb42e,0xb2)],'signal':_0x5371cc[_0xa88879(_0x5a94b7._0x2c9a38,0xfa,_0x5a94b7._0x2d8a4c,_0x5a94b7._0xaa01df)],'truncated':_0x5371cc[_0x4730d0(0x1a0,0xc1,0x184,0x142)]});}});}import{spawn as _0x483eaf}from'child_process';import{statSync}from'fs';import*as _0x143743 from'os';import*as _0x16fedc from'path';import{StringDecoder as _0x454315}from'string_decoder';import{stat}from'fs/promises';import*as _0x45d45e from'path';function isPathInside(_0x550f12,_0x36f82e){const _0x4babda={_0x588a80:0x1e0,_0x2e2faa:0x17,_0x15a9b2:0x11a,_0x1782ce:0x1a9},_0x36a12d={_0x248c30:0x77},_0x896de4={_0x42020d:0x37},_0x574637=_0x45d45e['resolve'](_0x550f12);function _0x2bb49d(_0x260eac,_0x52fb73,_0x23ff54,_0x293228){return _0x1932a3(_0x52fb73,_0x52fb73-0x4f,_0x23ff54- -0x181,_0x293228-_0x896de4._0x42020d);}function _0x3093ef(_0x49db80,_0x208b7b,_0x3fe5ee,_0x6abf21){return _0x4ab00a(_0x49db80-0x7e,_0x208b7b-_0x36a12d._0x248c30,_0x3fe5ee,_0x6abf21- -0x280);}const _0x5a9824=_0x45d45e[_0x3093ef(0x11e,0x14c,0x26a,0x16c)](_0x574637,_0x36f82e);return _0x5a9824===''||!_0x5a9824[_0x3093ef(_0x4babda._0x588a80,0x24b,0x149,0x281)]('..')&&!_0x45d45e[_0x3093ef(_0x4babda._0x2e2faa,_0x4babda._0x15a9b2,_0x4babda._0x1782ce,0xf7)](_0x5a9824);}function resolveWorkspacePath(_0x35ec03,_0x45c57a){return resolveAllowedPath(_0x35ec03,[],_0x45c57a);}function resolveAllowedPath(_0x575115,_0x22156f,_0x4e19f4){const _0x210f84={_0x210524:0x178,_0x351cd4:0xdc,_0x156447:0x170,_0x23a151:0x2c7,_0x2b6ff6:0x9a,_0x1e2eeb:0x3e,_0x2f2fe7:0x34,_0x48e04b:0x82},_0x155c4c={_0x1801a6:0x1c2,_0x3a89ad:0x192,_0x35e89a:0x311},_0x3fa870=_0x45d45e[_0x29c4da(_0x210f84._0x210524,_0x210f84._0x351cd4,0x210,0x1e)](_0x575115),_0x240632=_0x45d45e['resolve'](_0x3fa870,_0x4e19f4),_0x366aa8=[_0x3fa870,..._0x22156f[_0x55fc04(-0x296,-0x2c8,-_0x210f84._0x156447,-_0x210f84._0x23a151)](_0x26e5d7=>_0x45d45e[_0x55fc04(-0x1c8,-0x263,-0x12d,-0x21f)](_0x26e5d7))];function _0x29c4da(_0x129a63,_0x7b2cb7,_0xb9311d,_0x2bb4c7){return _0x4ab00a(_0x129a63-_0x155c4c._0x1801a6,_0x7b2cb7-_0x155c4c._0x3a89ad,_0x2bb4c7,_0x129a63- -_0x155c4c._0x35e89a);}function _0x55fc04(_0x39cabd,_0x4ef1ba,_0x5ce45b,_0x3a2fa0){return _0x4ab00a(_0x39cabd-0x1eb,_0x4ef1ba-0xc7,_0x3a2fa0,_0x5ce45b- -0x5b6);}if(_0x366aa8[_0x29c4da(0xa1,-0x13,_0x210f84._0x2b6ff6,-_0x210f84._0x1e2eeb)](_0xec9510=>isPathInside(_0xec9510,_0x240632)))return _0x240632;throw new ToolExecutionError(_0x55fc04(0x2f,_0x210f84._0x2f2fe7,_0x210f84._0x48e04b,-0x75)+_0x4e19f4,{'path':_0x4e19f4,'rootDir':_0x3fa870,'allowedDirs':_0x366aa8});}async function assertWorkspaceFile(_0x2f12d5){const _0x4d854a=await stat(_0x2f12d5);if(!_0x4d854a['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x2f12d5,{'path':_0x2f12d5});}function isProbablyBinary(_0x11da38){return _0x11da38['includes'](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x1932a3(0x609,0x3a9,0x510,0x42b)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0xb2a87e,_0x1aa89b){const _0x180b7b={_0xfb9d7:0x299,_0x5cba0f:0x289,_0x1cd332:0x15c,_0x17c6dd:0x2a6,_0x5b10bd:0x38,_0x395001:0xc8,_0x47fd66:0x68,_0x2be4a3:0xf8},_0x882c2b={_0x270887:0x60,_0x24171c:0x109};function _0x20c61e(_0x240231,_0x21079,_0x3400a0,_0x39b5d0){return _0x1932a3(_0x21079,_0x21079-0x126,_0x39b5d0- -0x21e,_0x39b5d0-0x5a);}const _0x3542fd={...process[_0x28847d(_0x180b7b._0xfb9d7,0x17b,_0x180b7b._0x5cba0f,0x139)],..._0xb2a87e??{}};if(_0x1aa89b[_0x20c61e(_0x180b7b._0x1cd332,0x339,0x386,0x223)]===0x0)return _0x3542fd;function _0x28847d(_0x5cba39,_0x141f50,_0x491f12,_0x59e8ff){return _0x4ab00a(_0x5cba39-_0x882c2b._0x270887,_0x141f50-0x47,_0x141f50,_0x491f12- -_0x882c2b._0x24171c);}if(_0x143743['platform']()==='win32'){const _0x4b9143=new Set(_0x1aa89b['map'](_0x65b8=>_0x65b8['toLowerCase']()));for(const _0x454393 of Object['keys'](_0x3542fd)){if(_0x4b9143[_0x28847d(0x3d0,_0x180b7b._0x17c6dd,0x351,0x291)](_0x454393[_0x20c61e(_0x180b7b._0x5b10bd,_0x180b7b._0x395001,-_0x180b7b._0x47fd66,_0x180b7b._0x2be4a3)]()))delete _0x3542fd[_0x454393];}}else{for(const _0x5d465a of _0x1aa89b)delete _0x3542fd[_0x5d465a];}return _0x3542fd;}function mapSpawnError(_0x3fb134,_0x5c6252){const _0x40a2db={_0x3b11b6:0x98,_0x203d4a:0xd,_0xcd015d:0x6c,_0x1ba3db:0xff,_0x7ce0ee:0x121,_0x347014:0x1fc,_0x2b951c:0x4b},_0x4e4dbd={_0x11d164:0x287,_0x5e5bbd:0x40},_0x35651a={_0x3c6bda:0x1d};if(isErrnoException(_0x3fb134)&&_0x3fb134[_0x1fd533(-0x60,-0x1ab,_0x40a2db._0x3b11b6,-0x55)]===_0x1fd533(-_0x40a2db._0x203d4a,0x13c,-_0x40a2db._0xcd015d,0x104))return new ToolExecutionError(_0x1fd533(0x19,0xbc,_0x40a2db._0x1ba3db,-0x9d)+_0x5c6252[_0x1fd533(_0x40a2db._0x7ce0ee,_0x40a2db._0x347014,_0x40a2db._0x2b951c,0x23)],_0x5c6252);function _0x1fd533(_0x1182b6,_0x92cf50,_0x52b59a,_0x4e88a7){return _0x1932a3(_0x52b59a,_0x92cf50-_0x35651a._0x3c6bda,_0x1182b6- -0x2ff,_0x4e88a7-0xce);}function _0x11304a(_0x4ed6e2,_0x89f1b4,_0xbe7a3,_0x41c068){return _0x1932a3(_0x89f1b4,_0x89f1b4-0x1e2,_0x4ed6e2-_0x4e4dbd._0x11d164,_0x41c068-_0x4e4dbd._0x5e5bbd);}return new ToolExecutionError(_0x3fb134 instanceof Error?_0x3fb134['message']:String(_0x3fb134),_0x5c6252);}function shellExists(_0x27f34f){const _0xe5a3da={_0x37640a:0x6cf},_0x1e1d34={_0x243a1e:0x300,_0x1c12cc:0x118};function _0x2339bd(_0x12b111,_0x355402,_0x2970c8,_0x482f46){return _0x1932a3(_0x12b111,_0x355402-0x192,_0x2970c8-_0x1e1d34._0x243a1e,_0x482f46-_0x1e1d34._0x1c12cc);}try{const _0x35f4f0=statSync(_0x27f34f);return _0x35f4f0[_0x2339bd(0x892,0x6ed,0x729,_0xe5a3da._0x37640a)]()&&(_0x35f4f0['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4ec37c){const _0x448c16={_0x41ae00:0x420,_0x103354:0x3f3,_0x558778:0x3cc,_0x2b96f7:0x43e,_0x17d941:0x425,_0x48fdf9:0x3cb,_0x5b54ab:0x3fb,_0x36eb20:0x4a7,_0x436c29:0x3e8,_0x5ecf37:0x68e,_0x599dd3:0x701,_0x138aab:0x54b,_0x2c52a4:0x2d,_0x449948:0x143,_0x3e1b8c:0x104,_0x276175:0x44,_0x3c2a99:0x79,_0x20cfb5:0x7e},_0x4eafe9={_0x14f232:0x10e,_0x530c1a:0xb0};if(_0x4ec37c)return _0x4ec37c;function _0x1ad7ba(_0x3bf711,_0x200273,_0x3e4d99,_0x289624){return _0x1932a3(_0x200273,_0x200273-0x70,_0x3e4d99- -0x375,_0x289624-0x5);}if(_0x143743[_0x1a2a7c(_0x448c16._0x41ae00,0x2c4,_0x448c16._0x103354,0x4f2)]()===_0x1a2a7c(0x4db,0x486,_0x448c16._0x558778,0x34c))return process['env'][_0x1a2a7c(_0x448c16._0x2b96f7,_0x448c16._0x17d941,_0x448c16._0x48fdf9,_0x448c16._0x5b54ab)]||'cmd.exe';const _0x4934e0=[_0x1a2a7c(0x31e,_0x448c16._0x36eb20,0x3b2,_0x448c16._0x436c29),_0x1a2a7c(_0x448c16._0x5ecf37,0x676,0x61a,_0x448c16._0x599dd3),_0x1a2a7c(0x695,0x4ab,0x59b,_0x448c16._0x138aab),_0x1ad7ba(0xbf,-0xf7,_0x448c16._0x2c52a4,-_0x448c16._0x449948)];for(const _0x29ea17 of _0x4934e0){if(shellExists(_0x29ea17))return _0x29ea17;}function _0x1a2a7c(_0x5ebb32,_0x5e2f55,_0xde86fa,_0x3b93c0){return _0x1932a3(_0x5e2f55,_0x5e2f55-0x13c,_0xde86fa-_0x4eafe9._0x14f232,_0x3b93c0-_0x4eafe9._0x530c1a);}const _0x5ef66a=process['env'][_0x1ad7ba(0x46,_0x448c16._0x3e1b8c,-_0x448c16._0x276175,0x94)];if(_0x5ef66a&&shellExists(_0x5ef66a))return _0x5ef66a;return _0x1ad7ba(_0x448c16._0x3c2a99,-0x83,-0xd1,-_0x448c16._0x20cfb5);}function buildShellArgs(_0x1e6060,_0x519851){const _0x409bcd={_0x5de95e:0x46d,_0x22aa60:0x4cf,_0x2335bb:0x448,_0x4bc99e:0x3ec,_0x5e663f:0x175,_0x2cd33b:0xe9,_0x281030:0x271,_0x281449:0x40,_0x3d435c:0xc7,_0xfc202a:0xa3,_0x5d72ba:0x55a,_0x5e56f4:0xdf,_0x1231cd:0x1a},_0x4f16d7={_0x11385a:0xb0,_0x385f3a:0x136};if(_0x143743[_0x2d1aad(0x4fa,0x57c,_0x409bcd._0x5de95e,_0x409bcd._0x22aa60)]()===_0x2d1aad(_0x409bcd._0x2335bb,_0x409bcd._0x4bc99e,0x527,0x4a8)){const _0x510668=/cmd(\.exe)?$/i[_0x42fbf9(_0x409bcd._0x5e663f,0x77,_0x409bcd._0x2cd33b,_0x409bcd._0x281030)](_0x519851);return _0x510668?['/d','/s','/c',_0x1e6060]:[_0x42fbf9(_0x409bcd._0x281449,0xcc,-_0x409bcd._0x3d435c,-_0x409bcd._0xfc202a),_0x2d1aad(_0x409bcd._0x5d72ba,0x79f,0x7eb,0x6bf),_0x42fbf9(_0x409bcd._0x5e56f4,-0x62,0x1a9,_0x409bcd._0x1231cd),_0x1e6060];}function _0x2d1aad(_0x4f4a8a,_0x15be70,_0x4f2d46,_0xccb1cf){return _0x4ab00a(_0x4f4a8a-_0x4f16d7._0x11385a,_0x15be70-_0x4f16d7._0x385f3a,_0x4f4a8a,_0xccb1cf-0xf3);}function _0x42fbf9(_0x3a4354,_0x102ef2,_0x35e2d7,_0x416d8b){return _0x1932a3(_0x416d8b,_0x102ef2-0x19e,_0x3a4354- -0x2fd,_0x416d8b-0x8f);}return['-c',_0x1e6060];}function resolveWorkingDirectory(_0x19e9a2,_0x57832a,_0x27e868){const _0x4ae831={_0x58575c:0x6f7,_0x2d3db3:0x75b,_0x8a7118:0x3fa,_0x3e0d79:0x3c7},_0x8fd658={_0x74e80c:0x126},_0x583dcf={_0x9dc1fa:0x1e0};function _0x5fad22(_0x2aad4a,_0x2289dd,_0x329076,_0x49e332){return _0x4ab00a(_0x2aad4a-0x18b,_0x2289dd-0x17b,_0x2aad4a,_0x329076- -_0x583dcf._0x9dc1fa);}function _0x263f4a(_0x219d47,_0x57204b,_0x21a4e6,_0x5078d5){return _0x4ab00a(_0x219d47-0x106,_0x57204b-0xf8,_0x5078d5,_0x21a4e6-_0x8fd658._0x74e80c);}const _0x4348c2=resolveAllowedPath(_0x57832a,_0x27e868,_0x19e9a2??'.');try{const _0x14442e=statSync(_0x4348c2);if(!_0x14442e['isDirectory']())throw new ToolExecutionError(_0x263f4a(0x857,_0x4ae831._0x58575c,_0x4ae831._0x2d3db3,0x6bc)+_0x4348c2,{'cwd':_0x4348c2});return _0x4348c2;}catch(_0x231571){if(_0x231571 instanceof ToolExecutionError)throw _0x231571;throw new ToolExecutionError(_0x5fad22(0x3b3,0x48c,_0x4ae831._0x8a7118,_0x4ae831._0x3e0d79)+_0x4348c2,{'cwd':_0x4348c2});}}function appendChunk(_0x8f6724,_0x10a7fc,_0x50c886,_0x167b43,_0xa7aef1){const _0x29f9cb={_0x12a31e:0x15f,_0x3f2be5:0xbe,_0x5c0cce:0x2a5,_0x3b8ee8:0x2b1,_0x1cc3e8:0x4c6,_0x23b164:0x1b2,_0x2a1f5c:0x90,_0x11b3ed:0x2b5,_0x188dd4:0x5e},_0x4d0ab3={_0x5c255a:0x58},_0x4cfa1a={_0x5a38da:0x1af},_0x5b17f0=_0x167b43?stripAnsiAndControls(_0x50c886):_0x50c886;if(_0x5b17f0[_0x49a9d3(_0x29f9cb._0x12a31e,_0x29f9cb._0x3f2be5,_0x29f9cb._0x5c0cce,_0x29f9cb._0x3b8ee8)]===0x0)return;function _0xbfb526(_0x49f4dd,_0x5842f4,_0xf1deb0,_0x427b97){return _0x4ab00a(_0x49f4dd-_0x4cfa1a._0x5a38da,_0x5842f4-0x13c,_0x5842f4,_0xf1deb0- -0xf8);}function _0x49a9d3(_0x1ed5a9,_0x5713a3,_0x33980e,_0xa8be4f){return _0x4ab00a(_0x1ed5a9-_0x4d0ab3._0x5c255a,_0x5713a3-0x1b1,_0xa8be4f,_0x1ed5a9- -0x3d9);}_0x8f6724[_0xbfb526(0x43c,_0x29f9cb._0x1cc3e8,0x493,0x37d)](_0x5b17f0),_0x10a7fc[_0x49a9d3(_0x29f9cb._0x23b164,_0x29f9cb._0x2a1f5c,_0x29f9cb._0x11b3ed,_0x29f9cb._0x188dd4)](_0x5b17f0),_0xa7aef1();}function createBashTool(_0xbf7afa={}){const _0x5b757b={_0x2c55af:0xb5,_0x36d902:0x254,_0xadf54c:0x75b,_0x4d81fa:0x575,_0x1aca0d:0x10e,_0x265190:0x267,_0x2ff658:0x75,_0x4930b9:0x8d,_0x44d073:0x36,_0x1a91c9:0x1da,_0x1259b8:0x731,_0x390799:0x75d,_0x1732da:0x6ca,_0x149e94:0x2ee,_0x1a7930:0x2fe,_0x477c98:0x5a1,_0x311686:0x5f0,_0x5c1d1e:0x2b6,_0x4714e4:0x186,_0x558cf9:0x187,_0x50d1a0:0x326,_0x32cec6:0x2e0,_0x43efc1:0x6bc,_0x174b74:0x4ba,_0x40c392:0x697,_0x15b8dd:0x4f2,_0x358fea:0xbf,_0xbdd036:0x11,_0x41b471:0x598,_0x37d86c:0x7a9,_0xe08c8e:0x73c,_0x59528c:0x1c,_0x63ee52:0xf8,_0x59c097:0x14c},_0x2de8f1={_0x525be9:0x5be,_0x3f4541:0x4e7,_0x42856a:0x59d,_0x5d3b5c:0x4bf,_0xd61cc9:0x6de,_0x93ac4d:0x57f,_0x3c7a98:0x57c,_0x73b585:0x459,_0x209976:0x57d,_0x5973d8:0x81f,_0x3c3f67:0x729,_0x365941:0x849,_0x5c1d54:0x485,_0x3dac0a:0x569,_0xa96cd:0x6c6,_0x5182f9:0x639,_0x5e0a6b:0x608,_0x339bc5:0x4c0,_0x87c172:0x4dc,_0x163633:0x6e1,_0x550743:0x4ff,_0x4a8b10:0x53c,_0xa7f8ec:0x31a,_0x1cad60:0x572,_0x2bf25d:0x639,_0x30b7d6:0x582,_0x3dee7b:0x41b,_0x1c3a9a:0x571,_0x30711c:0x83e,_0xa289b8:0x4c5,_0x242fcd:0x405,_0x1c90ec:0x504,_0x5f515a:0x659,_0x5d90bd:0x56c,_0x54769c:0x548,_0x264c1f:0x741,_0x5d0d1b:0x5b0,_0x5cbf11:0x3db,_0x19e2b9:0x4c5,_0x2acb4e:0x528,_0x5df739:0x628,_0x214464:0x6d3,_0x4227b1:0x5ad,_0x5758a6:0x736,_0x4d8bc9:0x78c,_0x266fb7:0x64c,_0x279509:0x585,_0x130d3b:0x5d2,_0x44b3f9:0x627,_0x453d08:0x4c4,_0x5bc93d:0x546,_0x83d586:0x95b,_0xa3fa03:0x6f1,_0x3503d8:0x73f,_0x4b3fc6:0x642,_0x5b115a:0x4a0,_0x285060:0x62f,_0x296577:0x510,_0x1b12a7:0x67c,_0x2fdb51:0x5f0,_0x242ef0:0x515,_0x70e9ac:0x3c4,_0x25d152:0x495,_0x37070e:0x50d,_0x49a706:0x5ca,_0x32f40c:0x700,_0xc154e1:0x463,_0x4130fd:0x58a,_0x6c5e33:0x5f5,_0x108dab:0x792,_0x4ee5d8:0x77c,_0x3e2249:0x6ec,_0x5d6a54:0x6cf,_0xbf5fa5:0x5d5,_0x19f859:0x552,_0x304520:0x6b6,_0x340e25:0x54a,_0x432189:0x69a,_0x3ea8bd:0x701,_0x42ed9f:0x79b,_0x1bfb37:0x892,_0x13fb81:0x429,_0x46d06e:0x3e8,_0x2d1909:0x540,_0x1a56b:0x516,_0xee5f87:0x69e,_0x2c4121:0x57f,_0x7a7f87:0x3cd,_0x227c9c:0x3e8,_0x112ff0:0x683,_0x14a331:0x3d6,_0x557114:0x4f4,_0x5be860:0x4fe,_0x4c2424:0x453,_0x2c512e:0x917,_0x735c21:0x5ca,_0x2240be:0x583,_0x3df090:0x5f5,_0x7e2e2a:0x753,_0x31e3d5:0x55e,_0x564239:0x587,_0x33c7be:0x481},_0x5cd373={_0x4f63dc:0x446,_0x10227b:0x3f3},_0xc64850={_0x11a335:0x5fe,_0x40bbdd:0x515},_0xae8847={_0x546cab:0xf9,_0x4bfac5:0x1c},_0x95cf07={_0x1cec2b:0x33},_0x103243=_0x16fedc['resolve'](_0xbf7afa[_0x55a4d7(0xb7,0x80,_0x5b757b._0x2c55af,0x32)]??process[_0x55a4d7(0x1a5,_0x5b757b._0x36d902,0x116,0x14e)]()),_0x15a29a=_0xbf7afa['allowedDirs']??[];function _0x55a4d7(_0x3b382a,_0x5c1bcb,_0x4d4e68,_0x8205c){return _0x4ab00a(_0x3b382a-0x19f,_0x5c1bcb-_0x95cf07._0x1cec2b,_0x4d4e68,_0x5c1bcb- -0x32c);}const _0x10d460=_0xbf7afa[_0x39926d(_0x5b757b._0xadf54c,0x637,0x6e6,_0x5b757b._0x4d81fa)]??DEFAULT_TIMEOUT_MS,_0x3f06be=_0xbf7afa[_0x55a4d7(_0x5b757b._0x1aca0d,_0x5b757b._0x265190,0x17c,0x1a8)]??!![],_0x70b9e2=_0xbf7afa[_0x55a4d7(_0x5b757b._0x2ff658,0x12d,_0x5b757b._0x4930b9,_0x5b757b._0x44d073)]??_0x55a4d7(0x235,0x118,_0x5b757b._0x1a91c9,0x211);function _0x39926d(_0x514c74,_0x726426,_0x16708d,_0x5e2a76){return _0x4ab00a(_0x514c74-_0xae8847._0x546cab,_0x726426-_0xae8847._0x4bfac5,_0x514c74,_0x726426-0x1c2);}const _0x1f33fb=_0xbf7afa[_0x39926d(_0x5b757b._0x1259b8,_0x5b757b._0x390799,_0x5b757b._0x1732da,0x600)]??[],_0x213a89=_0xbf7afa[_0x55a4d7(0x291,_0x5b757b._0x149e94,0x28c,_0x5b757b._0x1a7930)];return defineTool({'name':_0x70b9e2,'description':_0xbf7afa[_0x39926d(_0x5b757b._0x477c98,0x572,_0x5b757b._0x311686,0x4c8)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x55a4d7(0x1cb,_0x5b757b._0x5c1d1e,_0x5b757b._0x4714e4,_0x5b757b._0x558cf9),'properties':{'command':{'type':_0x55a4d7(0x2c2,0x1bd,_0x5b757b._0x50d1a0,_0x5b757b._0x32cec6)},'description':{'type':'string','description':_0x39926d(0x733,0x60b,_0x5b757b._0x43efc1,0x54a)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x39926d(_0x5b757b._0x174b74,0x5e3,_0x5b757b._0x40c392,_0x5b757b._0x15b8dd)},'ignoreOutput':{'type':_0x55a4d7(-0x61,_0x5b757b._0x358fea,0x9d,_0x5b757b._0xbdd036)},'runInBackground':{'type':_0x39926d(_0x5b757b._0x41b471,0x5ad,0x629,0x5db)}},'required':[_0x39926d(0x6dd,_0x5b757b._0x37d86c,_0x5b757b._0xe08c8e,0x63f),_0x55a4d7(-_0x5b757b._0x59528c,0x84,_0x5b757b._0x63ee52,_0x5b757b._0x59c097)]},async *'execute'(_0x4e4ccd,_0xcdeca3){const _0x3404f4={_0x46d110:0x304,_0x141479:0x18c,_0x55bbf7:0x392,_0x2f5fb2:0x304,_0x5790e6:0x447,_0x4eff84:0x1b9,_0x2b6dd3:0x31d,_0x1c111d:0x30e,_0x48a8b7:0x2a0,_0x1b0c5d:0x377,_0x2cc197:0x3a2},_0x2bb72e={_0x537ada:0x476,_0x173559:0x4a9,_0x5d11d1:0x517,_0x5b416b:0x5e9,_0x7344d0:0x4d3,_0x3d5f21:0x322,_0xf68e4f:0x3e0},_0x4e354e={_0x12bc72:0x562,_0x419006:0x6a6,_0x46a1da:0x654},_0x10cfdc={_0x778135:0x177,_0x460e4e:0x123},_0x75eeaf={_0x5048ac:0xe},_0x344b7b={_0x1ecfd7:0x1d6,_0x271ce8:0x1f8},_0x314859={_0x5e1cc4:0x74},_0x5483f2={_0xabb8ee:0x1ef},_0x467765=_0x4e4ccd[_0x5175af(_0x2de8f1._0x525be9,_0x2de8f1._0x3f4541,0x611,_0x2de8f1._0x42856a)]??_0x10d460;if(!Number[_0x4dad5a(0x8e9,0x82d,0x7fa,0x942)](_0x467765)||_0x467765<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x4e4ccd['command']});throwIfAborted(_0xcdeca3[_0x5175af(_0x2de8f1._0x5d3b5c,_0x2de8f1._0xd61cc9,_0x2de8f1._0x93ac4d,_0x2de8f1._0x3c7a98)]);const _0x5e89ce=resolveWorkingDirectory(_0x4e4ccd[_0x5175af(0x609,_0x2de8f1._0x73b585,0x5d2,_0x2de8f1._0x209976)],_0x103243,_0x15a29a),_0x228771=_0x4e4ccd[_0x4dad5a(_0x2de8f1._0x5973d8,_0x2de8f1._0x3c3f67,0x6de,_0x2de8f1._0x365941)]??![],_0x17a395=resolveDefaultShell(_0xbf7afa[_0x5175af(0x5ca,_0x2de8f1._0x5c1d54,_0x2de8f1._0x3dac0a,0x64c)]),_0x59b3ba=buildShellArgs(_0x4e4ccd[_0x5175af(_0x2de8f1._0xa96cd,0x578,_0x2de8f1._0x5182f9,_0x2de8f1._0x5e0a6b)],_0x17a395),_0x107289=_0x143743[_0x5175af(0x440,_0x2de8f1._0x339bc5,0x42e,_0x2de8f1._0x87c172)]()==='win32';if(_0x4e4ccd[_0x5175af(0x6f5,0x6b8,0x605,0x49e)]){if(!_0x213a89)throw new ToolExecutionError(_0x4dad5a(0x634,0x86e,0x758,0x78d),{'command':_0x4e4ccd[_0x5175af(0x5be,_0x2de8f1._0x163633,0x639,_0x2de8f1._0x550743)]});throwIfAborted(_0xcdeca3['signal']);let _0x177cb2;try{_0x177cb2=_0x483eaf(_0x17a395,_0x59b3ba,{'cwd':_0x5e89ce,'env':buildChildEnv(_0xbf7afa[_0x5175af(0x42d,_0x2de8f1._0x4a8b10,0x3e4,_0x2de8f1._0xa7f8ec)],_0x1f33fb),'stdio':['ignore','pipe',_0x5175af(0x64e,_0x2de8f1._0x1cad60,0x510,0x47d)],'shell':![],'windowsHide':!![],'detached':!_0x107289});}catch(_0x1e7331){throw mapSpawnError(_0x1e7331,{'command':_0x4e4ccd[_0x5175af(0x5ae,0x6e6,_0x2de8f1._0x2bf25d,0x770)],'cwd':_0x5e89ce,'shellPath':_0x17a395});}let _0x2313f7;try{_0x2313f7=_0x213a89[_0x4dad5a(0x459,0x69a,_0x2de8f1._0x30b7d6,_0x2de8f1._0x3dee7b)]({'child':_0x177cb2,'command':_0x4e4ccd[_0x5175af(0x791,_0x2de8f1._0x1c3a9a,0x639,0x4cc)],'cwd':_0x5e89ce,'stripAnsi':_0x3f06be});}catch(_0x1665cb){_0x177cb2[_0x4dad5a(0x57e,_0x2de8f1._0x30711c,0x6e4,0x644)](_0x5175af(_0x2de8f1._0xa289b8,0x691,0x59b,0x5d8),()=>{});try{killProcessGroup(_0x177cb2,_0x107289);}catch{}throw _0x1665cb;}return createToolOutput(_0x4dad5a(_0x2de8f1._0x242fcd,_0x2de8f1._0x1c90ec,0x544,_0x2de8f1._0x5f515a)+_0x2313f7[_0x5175af(_0x2de8f1._0x5d90bd,_0x2de8f1._0x54769c,0x5fc,_0x2de8f1._0x264c1f)]+'\x20(pid\x20'+(_0x2313f7[_0x5175af(_0x2de8f1._0x5d0d1b,_0x2de8f1._0x5cbf11,_0x2de8f1._0x19e2b9,_0x2de8f1._0x2acb4e)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x2313f7[_0x5175af(_0x2de8f1._0x5df739,_0x2de8f1._0x214464,0x5fc,_0x2de8f1._0x4227b1)],'status':_0x2313f7['status'],'command':_0x2313f7[_0x4dad5a(_0x2de8f1._0x5758a6,_0x2de8f1._0x4d8bc9,0x79b,0x6c3)],'description':_0x4e4ccd['description'],'cwd':_0x2313f7[_0x5175af(_0x2de8f1._0x266fb7,_0x2de8f1._0x279509,_0x2de8f1._0x130d3b,0x64f)],'pid':_0x2313f7[_0x4dad5a(0x749,0x78d,_0x2de8f1._0x44b3f9,0x504)]??null});}let _0x3a78b6;try{_0x3a78b6=_0x483eaf(_0x17a395,_0x59b3ba,{'cwd':_0x5e89ce,'env':buildChildEnv(_0xbf7afa[_0x4dad5a(_0x2de8f1._0x453d08,0x40f,_0x2de8f1._0x5bc93d,0x5b5)],_0x1f33fb),'stdio':_0x228771?[_0x4dad5a(_0x2de8f1._0x83d586,_0x2de8f1._0xa3fa03,0x7f8,_0x2de8f1._0x3503d8),'ignore',_0x5175af(0x667,0x520,0x696,_0x2de8f1._0x4b3fc6)]:[_0x5175af(0x7d6,0x648,0x696,0x538),_0x5175af(_0x2de8f1._0x5b115a,0x4eb,0x510,0x3ac),_0x5175af(0x39a,_0x2de8f1._0x285060,_0x2de8f1._0x296577,0x4e9)],'shell':![],'windowsHide':!![],'detached':!_0x107289});}catch(_0x4c2eb8){throw mapSpawnError(_0x4c2eb8,{'command':_0x4e4ccd['command'],'cwd':_0x5e89ce,'shellPath':_0x17a395});}const _0x5495ef=[],_0x3fe14f=[];function _0x5175af(_0x50e579,_0x55a632,_0x3c3f9f,_0x5d0aee){return _0x39926d(_0x50e579,_0x3c3f9f- -0x170,_0x3c3f9f-0x1f0,_0x5d0aee-_0x5483f2._0xabb8ee);}const _0x419880=new _0x454315(_0x5175af(_0x2de8f1._0x1b12a7,_0x2de8f1._0x2fdb51,_0x2de8f1._0x242ef0,_0x2de8f1._0x70e9ac)),_0x51b764=new _0x454315(_0x5175af(0x3fe,0x525,_0x2de8f1._0x242ef0,_0x2de8f1._0x25d152));let _0xc7e687,_0x56d17b=![],_0x582024;const _0x21133c=()=>{if(!_0xc7e687)return;const _0x1a5774=_0xc7e687;_0xc7e687=void 0x0,_0x1a5774();},_0xe4bcec=async()=>{function _0x495b00(_0x2689de,_0x1d48da,_0xecf00,_0x55752f){return _0x5175af(_0xecf00,_0x1d48da-0x52,_0x2689de-_0x314859._0x5e1cc4,_0x55752f-0xaf);}if(_0x3fe14f[_0x495b00(_0xc64850._0x11a335,0x5fb,_0xc64850._0x40bbdd,0x6c1)]>0x0||_0x56d17b)return;await new Promise(_0x350bd2=>{_0xc7e687=_0x350bd2;});},_0x33bedd=_0xb45dbe=>{const _0x2930d0={_0x4793e9:0x39,_0x26dc30:0x626,_0x13a268:0x8e};function _0x4937d2(_0x55a0b1,_0x397c45,_0x4b9610,_0x58c1f4){return _0x4dad5a(_0x55a0b1-_0x2930d0._0x4793e9,_0x4b9610,_0x55a0b1- -_0x2930d0._0x26dc30,_0x58c1f4-_0x2930d0._0x13a268);}appendChunk(_0x5495ef,_0x3fe14f,_0x419880[_0x4937d2(0x17a,0x1dd,0x2a4,0x2b9)](_0xb45dbe),_0x3f06be,_0x21133c);},_0x505dfe=_0x2d3d88=>{function _0x1b27c7(_0x20e318,_0x81c60e,_0x4bd1f2,_0x17aeb2){return _0x5175af(_0x4bd1f2,_0x81c60e-_0x344b7b._0x1ecfd7,_0x20e318- -_0x344b7b._0x271ce8,_0x17aeb2-0xe3);}appendChunk(_0x5495ef,_0x3fe14f,_0x51b764[_0x1b27c7(_0x5cd373._0x4f63dc,_0x5cd373._0x10227b,0x3dc,0x58c)](_0x2d3d88),_0x3f06be,_0x21133c);};_0x3a78b6['stdout']?.['on'](_0x4dad5a(0x60b,_0x2de8f1._0x37070e,_0x2de8f1._0x49a706,_0x2de8f1._0x32f40c),_0x33bedd),_0x3a78b6['stderr']?.['on'](_0x5175af(0x50e,0x351,0x468,_0x2de8f1._0xc154e1),_0x505dfe);let _0x401808=![],_0x5cb192;function _0x4dad5a(_0x2f8537,_0x262632,_0x366c03,_0x946052){return _0x39926d(_0x262632,_0x366c03- -_0x75eeaf._0x5048ac,_0x366c03-0x126,_0x946052-0x85);}const _0x1016af=addAbortListener(_0xcdeca3[_0x4dad5a(_0x2de8f1._0x4130fd,_0x2de8f1._0x6c5e33,0x6e1,0x64a)],()=>{function _0x52f272(_0x367e4e,_0x24d6c1,_0x58af24,_0x18fa27){return _0x5175af(_0x24d6c1,_0x24d6c1-0xb4,_0x367e4e-_0x10cfdc._0x778135,_0x18fa27-_0x10cfdc._0x460e4e);}_0x582024=toAbortError(_0xcdeca3[_0x2206a0(0x657,_0x4e354e._0x12bc72,0x5f4,_0x4e354e._0x419006)][_0x52f272(0x54d,0x56e,_0x4e354e._0x46a1da,0x5cb)]),_0x56d17b=!![];function _0x2206a0(_0x3535a1,_0x2194e3,_0x1747fb,_0x247be2){return _0x5175af(_0x2194e3,_0x2194e3-0xc9,_0x1747fb-0x75,_0x247be2-0x10e);}_0x21133c();try{killProcessGroup(_0x3a78b6,_0x107289);}catch{}});try{const _0xa60e75=new Promise((_0x47e237,_0x34c072)=>{const _0x18752b={_0x5b4074:0x282,_0x21fcbf:0x96,_0x3874d4:0x333,_0x4c7803:0x210,_0x4a82f4:0x16f,_0xefae0e:0x285},_0x2cfbb6={_0x993aec:0x1b5},_0x3e056c={_0x47b8bc:0x3e2},_0x3f220c={_0x28a6d1:0x1bc},_0x59ce93={_0x255342:0xec},_0x13e836={_0x2a1196:0x2d},_0x4e7fc6=()=>{function _0x362420(_0x4360b5,_0x438964,_0x327d15,_0x120906){return _0x5a72(_0x120906-0x242,_0x327d15);}_0x5cb192&&(clearTimeout(_0x5cb192),_0x5cb192=void 0x0);_0x3a78b6['off'](_0x362420(0x484,_0x2bb72e._0x537ada,_0x2bb72e._0x173559,0x5b4),_0x58f9fd);function _0x4a3cba(_0x233e3b,_0x2a195d,_0x4b1bd1,_0x4ce638){return _0x5a72(_0x4ce638-0x7d,_0x2a195d);}_0x3a78b6[_0x4a3cba(_0x2bb72e._0x5d11d1,_0x2bb72e._0x5b416b,0x59f,_0x2bb72e._0x7344d0)](_0x4a3cba(0x483,_0x2bb72e._0x3d5f21,0x3a2,_0x2bb72e._0xf68e4f),_0x10f9d7);};function _0x5c443b(_0x168e77,_0x292c5a,_0x28f1dc,_0x4aeef8){return _0x4dad5a(_0x168e77-_0x13e836._0x2a1196,_0x28f1dc,_0x168e77- -0x3e0,_0x4aeef8-0x49);}const _0x58f9fd=_0x2a8512=>{_0x56d17b=!![],_0x21133c(),_0x4e7fc6(),_0x34c072(_0x582024??_0x2a8512);},_0x10f9d7=(_0x5453f7,_0x7df357)=>{_0x401808=!![],appendChunk(_0x5495ef,_0x3fe14f,_0x419880[_0x369a80(0x1df,0x3d5,0x3e5,0x2a1)](),_0x3f06be,_0x21133c);function _0x369a80(_0x22d9e9,_0x51203e,_0x4f0136,_0x10df26){return _0x5a72(_0x10df26-_0x59ce93._0x255342,_0x4f0136);}appendChunk(_0x5495ef,_0x3fe14f,_0x51b764['end'](),_0x3f06be,_0x21133c),_0x56d17b=!![],_0x21133c(),_0x4e7fc6();if(_0x582024){_0x34c072(_0x582024);return;}_0x47e237({'code':_0x5453f7,'signal':_0x7df357});};function _0x1ab054(_0x2024e5,_0x5ba6dd,_0x225c9c,_0x37e45a){return _0x5175af(_0x5ba6dd,_0x5ba6dd-0x1b3,_0x37e45a- -_0x3f220c._0x28a6d1,_0x37e45a-0x8b);}_0x5cb192=setTimeout(()=>{_0x56d17b=!![],_0x21133c();function _0x2753e1(_0x4855de,_0x1353f4,_0x49db64,_0x15190a){return _0x5a72(_0x49db64- -_0x3e056c._0x47b8bc,_0x15190a);}_0x4e7fc6();function _0x186d79(_0x47ad71,_0x2b8de8,_0x3b345a,_0xc3a098){return _0x5a72(_0x2b8de8- -_0x2cfbb6._0x993aec,_0xc3a098);}try{killProcessGroup(_0x3a78b6,_0x107289);}catch{}_0x34c072(new ToolExecutionError(_0x186d79(_0x18752b._0x5b4074,0x1d9,0x1d2,_0x18752b._0x21fcbf)+_0x467765+_0x2753e1(-0x11b,-_0x18752b._0x3874d4,-_0x18752b._0x4c7803,-_0x18752b._0x4a82f4),{'command':_0x4e4ccd[_0x186d79(_0x18752b._0xefae0e,0x25b,0xfd,0x3d0)],'cwd':_0x5e89ce,'shellPath':_0x17a395,'timeoutMs':_0x467765,'timedOut':!![]}));},_0x467765),_0x3a78b6[_0x5c443b(_0x3404f4._0x46d110,0x453,_0x3404f4._0x141479,0x1e7)](_0x5c443b(0x31d,0x276,0x284,_0x3404f4._0x55bbf7),_0x58f9fd),_0x3a78b6[_0x5c443b(_0x3404f4._0x2f5fb2,_0x3404f4._0x5790e6,_0x3404f4._0x4eff84,_0x3404f4._0x2b6dd3)](_0x5c443b(_0x3404f4._0x1c111d,_0x3404f4._0x48a8b7,_0x3404f4._0x1b0c5d,_0x3404f4._0x2cc197),_0x10f9d7);});while(_0x3fe14f['length']>0x0||!_0x56d17b){if(_0x3fe14f[_0x4dad5a(_0x2de8f1._0x108dab,_0x2de8f1._0x4ee5d8,_0x2de8f1._0x3e2249,0x846)]===0x0){await _0xe4bcec();continue;}const _0x5beaa7=_0x3fe14f[_0x5175af(_0x2de8f1._0x5d6a54,0x536,0x574,_0x2de8f1._0xbf5fa5)]();_0x5beaa7!==void 0x0&&(yield _0x5beaa7);}const _0x41e740=await _0xa60e75,_0x5b4f17=_0x228771?_0x5175af(0x6b1,0x6be,_0x2de8f1._0x19f859,0x5c7)+(_0x41e740[_0x4dad5a(_0x2de8f1._0x304520,0x696,_0x2de8f1._0x340e25,0x505)]??0x0):_0x5495ef['join'](''),_0xb39b5f={'command':_0x4e4ccd[_0x4dad5a(_0x2de8f1._0x432189,_0x2de8f1._0x3ea8bd,_0x2de8f1._0x42ed9f,_0x2de8f1._0x1bfb37)],'description':_0x4e4ccd[_0x4dad5a(0x663,_0x2de8f1._0x13fb81,0x564,_0x2de8f1._0x5bc93d)],'cwd':_0x5e89ce,'exitCode':_0x41e740[_0x5175af(0x4b5,0x3cf,_0x2de8f1._0x46d06e,_0x2de8f1._0x2d1909)]??0x0,'signal':_0x41e740[_0x5175af(_0x2de8f1._0x1a56b,_0x2de8f1._0xee5f87,_0x2de8f1._0x2c4121,0x43a)],'ignoreOutput':_0x228771,'shellPath':_0x17a395,'timeoutMs':_0x467765};if(_0x41e740[_0x5175af(_0x2de8f1._0x7a7f87,0x513,_0x2de8f1._0x227c9c,0x520)]!==0x0)throw new ToolExecutionError(_0x5b4f17||'Command\x20exited\x20with\x20code\x20'+(_0x41e740[_0x4dad5a(_0x2de8f1._0x112ff0,_0x2de8f1._0x14a331,0x54a,0x62a)]??0x0),_0xb39b5f);return createToolOutput(_0x5b4f17,_0xb39b5f);}catch(_0x102cd0){while(_0x3fe14f[_0x4dad5a(_0x2de8f1._0x3e2249,0x7d1,_0x2de8f1._0x3e2249,0x826)]>0x0){const _0x1f116=_0x3fe14f[_0x5175af(0x427,_0x2de8f1._0x557114,0x574,0x694)]();_0x1f116!==void 0x0&&(yield _0x1f116);}if(_0x102cd0 instanceof ToolExecutionError)throw _0x102cd0;if(_0x582024)throw _0x582024;throw mapSpawnError(_0x102cd0,{'command':_0x4e4ccd['command'],'cwd':_0x5e89ce,'shellPath':_0x17a395});}finally{_0x5cb192&&clearTimeout(_0x5cb192);_0x1016af(),_0x3a78b6[_0x4dad5a(_0x2de8f1._0x5be860,_0x2de8f1._0x4c2424,0x55c,0x51a)]?.[_0x4dad5a(0x806,0x79e,0x7e1,_0x2de8f1._0x2c512e)](_0x4dad5a(0x5fa,0x674,_0x2de8f1._0x735c21,0x647),_0x33bedd),_0x3a78b6['stderr']?.[_0x5175af(0x6a8,0x712,0x67f,_0x2de8f1._0x2240be)]('data',_0x505dfe);if(!_0x401808&&_0x3a78b6[_0x4dad5a(_0x2de8f1._0x3df090,_0x2de8f1._0x7e2e2a,0x627,0x4c1)]&&!_0x3a78b6[_0x4dad5a(_0x2de8f1._0x31e3d5,0x4d7,_0x2de8f1._0x564239,_0x2de8f1._0x33c7be)])try{killProcessGroup(_0x3a78b6,_0x107289);}catch{}}}});}function createShellExecTool(_0x5b80d4={}){return createBashTool(_0x5b80d4);}import{readdir,readFile as _0x3900dc}from'fs/promises';import{extname,join as _0x2fa182}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x4ea17c,join,relative as _0x2fa298,resolve as _0x20cdae}from'path';import{readdir as _0x364d88,readFile as _0x11ca68}from'fs/promises';import{join as _0x696bc7,relative as _0x88dd1c,sep}from'path';import{delimiter}from'path';import{mkdir as _0x139e88,rm,stat as _0x7410af,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x5c629e}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x3529a1,rename,rm as _0x4fcae5,stat as _0x4df480,writeFile as _0x26b49c}from'fs/promises';import{homedir as _0x2c9900}from'os';import{dirname as _0x16ae01,isAbsolute as _0x53e5ec,join as _0x4d8a8d,resolve as _0x346cd5}from'path';import{parse as _0x55bb7d,stringify as _0x491464}from'yaml';import{cp,mkdir as _0x2d8d4a,readFile as _0x2f4513,rm as _0x107e43,writeFile as _0x1043c9}from'fs/promises';import{homedir}from'os';import{join as _0x54353f}from'path';import{parse as _0x2deefe,stringify as _0x455e4e}from'yaml';import{z}from'zod';import{readdir as _0x3f7cf4,readFile as _0x321ded}from'fs/promises';import{join as _0x48985f}from'path';import{randomUUID as _0x2de0f7}from'crypto';import{mkdir as _0x2ace7c,readdir as _0x4f1ef7,readFile as _0x1c229c,rename as _0x436fc7,rm as _0x47df12,writeFile as _0x10ef6e}from'fs/promises';import{homedir as _0x53c917}from'os';import{basename,isAbsolute as _0x13c8eb,join as _0x127265,relative as _0x3dd370,resolve as _0x416521}from'path';import{parse as _0x259ac9,stringify as _0x1538c4}from'yaml';import{delimiter as _0x500ced,resolve as _0x5dd027}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x34bdbf){const _0x414d38={_0x537d97:0x6a1,_0x2a0264:0x4b9,_0x5d63ab:0x686,_0x23e8ec:0x59f,_0x2d1044:0x5b3,_0x38602c:0x61e,_0xa29998:0x43b,_0x78655a:0x775,_0x46d626:0x6db},_0x2f0eb9={_0x15bd10:0x12e,_0x585fb8:0x7b},_0x44e973={_0xd81c1f:0x4b,_0x43d773:0x1a5},_0x2c08d8=[];function _0x32b58d(_0x10c9c1,_0x2d6c9b,_0x219570,_0x13e31d){return _0x1932a3(_0x2d6c9b,_0x2d6c9b-_0x44e973._0xd81c1f,_0x10c9c1- -0xa1,_0x13e31d-_0x44e973._0x43d773);}let _0x17c5b6='';function _0x173760(_0x5e5d9e,_0x4d049e,_0x304a6d,_0x2358b2){return _0x4ab00a(_0x5e5d9e-0x1b6,_0x4d049e-_0x2f0eb9._0x15bd10,_0x5e5d9e,_0x304a6d-_0x2f0eb9._0x585fb8);}let _0x3fb4a6=0x0;while(_0x3fb4a6<_0x34bdbf[_0x173760(_0x414d38._0x537d97,_0x414d38._0x2a0264,0x5b3,_0x414d38._0x5d63ab)]){const _0x63c3a6=_0x34bdbf[_0x3fb4a6];if(_0x63c3a6==='\x5c'&&_0x3fb4a6+0x1<_0x34bdbf[_0x173760(_0x414d38._0x23e8ec,0x4da,_0x414d38._0x2d1044,_0x414d38._0x38602c)])_0x17c5b6+=_0x34bdbf[_0x3fb4a6+0x1],_0x3fb4a6+=0x2;else{if(_0x63c3a6==='\x22'||_0x63c3a6==='\x27'){const _0x4fea6b=_0x63c3a6;_0x3fb4a6++;while(_0x3fb4a6<_0x34bdbf['length']&&_0x34bdbf[_0x3fb4a6]!==_0x4fea6b){_0x34bdbf[_0x3fb4a6]==='\x5c'&&_0x3fb4a6+0x1<_0x34bdbf[_0x173760(0x50d,0x6a2,0x5b3,_0x414d38._0xa29998)]?(_0x17c5b6+=_0x34bdbf[_0x3fb4a6+0x1],_0x3fb4a6+=0x2):(_0x17c5b6+=_0x34bdbf[_0x3fb4a6],_0x3fb4a6++);}_0x3fb4a6++;}else _0x63c3a6!==void 0x0&&/\s/['test'](_0x63c3a6)?(_0x17c5b6&&(_0x2c08d8[_0x173760(0x4a6,_0x414d38._0x78655a,0x606,_0x414d38._0x46d626)](_0x17c5b6),_0x17c5b6=''),_0x3fb4a6++):(_0x17c5b6+=_0x63c3a6,_0x3fb4a6++);}}if(_0x17c5b6)_0x2c08d8['push'](_0x17c5b6);return _0x2c08d8;}function renderCommandInstructions(_0x4c204b){const _0x50a51a={_0x88919f:0x467,_0x4a4616:0x5df,_0x4c7f8e:0x6c9,_0x4431a4:0x5e9,_0x24db61:0x5de,_0x236e74:0x505,_0x4636a1:0x49a,_0x5a9bec:0x346,_0xe43520:0x400,_0x10823e:0x4e5,_0x22461b:0x4b8,_0x28ccd2:0x4ee,_0x232e4b:0x6c2,_0x4675ad:0x50f,_0x5975e6:0x4ad,_0x4d8f68:0x509,_0x5a8eac:0x596,_0x566310:0x4ff,_0x2224d6:0x3dd},_0x33f240={_0x39ea57:0x5b,_0x10e57a:0x1cb,_0x234804:0x1bd},_0x1fb10e={_0x3a9743:0x3};let _0x26e00e=_0x4c204b[_0x4d214f(0x4c0,0x36e,_0x50a51a._0x88919f,_0x50a51a._0x4a4616)];function _0x4d214f(_0x258997,_0x597afd,_0x4ff341,_0x1d39f5){return _0x1932a3(_0x597afd,_0x597afd-_0x1fb10e._0x3a9743,_0x4ff341-0x180,_0x1d39f5-0xcb);}let _0x3e794d=![];function _0x13ce61(_0x33108f,_0x45e614,_0x1fa58f,_0x334806){return _0x1932a3(_0x33108f,_0x45e614-_0x33f240._0x39ea57,_0x334806-_0x33f240._0x10e57a,_0x334806-_0x33f240._0x234804);}const _0x288d99=tokenizeCommandArguments(_0x4c204b[_0x4d214f(0x711,_0x50a51a._0x4c7f8e,_0x50a51a._0x4431a4,_0x50a51a._0x24db61)]);_0x26e00e=_0x26e00e[_0x4d214f(_0x50a51a._0x236e74,0x60c,_0x50a51a._0x4636a1,_0x50a51a._0x5a9bec)](/\$ARGUMENTS\[(\d+)\]/g,(_0x256ce2,_0x23c661)=>{return _0x3e794d=!![],_0x288d99[Number(_0x23c661)]??'';}),_0x26e00e=_0x26e00e[_0x13ce61(0x4e2,_0x50a51a._0xe43520,0x4ed,_0x50a51a._0x10823e)](/\$ARGUMENTS\b/g,()=>{return _0x3e794d=!![],_0x4c204b['argumentsText'];});if(_0x4c204b['argumentNames']&&_0x4c204b['argumentNames']['length']>0x0)for(let _0x449fdf=0x0;_0x449fdf<_0x4c204b[_0x4d214f(_0x50a51a._0x22461b,_0x50a51a._0x28ccd2,0x56a,_0x50a51a._0x232e4b)]['length'];_0x449fdf++){const _0x68e85c=_0x4c204b[_0x13ce61(0x6dd,_0x50a51a._0x4675ad,0x52e,0x5b5)][_0x449fdf];if(_0x68e85c){const _0xab55a0=new RegExp('\x5c$'+_0x68e85c+'\x5cb','g');_0x26e00e=_0x26e00e['replace'](_0xab55a0,()=>{return _0x3e794d=!![],_0x288d99[_0x449fdf]??'';});}}return _0x26e00e=_0x26e00e[_0x13ce61(_0x50a51a._0x5975e6,0x50f,0x3b3,_0x50a51a._0x10823e)](/\$(\d+)\b/g,(_0x25475c,_0x205a14)=>{return _0x3e794d=!![],_0x288d99[Number(_0x205a14)]??'';}),!_0x3e794d&&_0x4c204b[_0x13ce61(0x4bd,_0x50a51a._0x4d8f68,0x594,0x634)][_0x13ce61(0x526,0x4e2,_0x50a51a._0x5a8eac,_0x50a51a._0x566310)]()&&(_0x26e00e=_0x26e00e+_0x4d214f(0x4ce,0x3fe,0x4b2,_0x50a51a._0x2224d6)+_0x4c204b['argumentsText']),_0x26e00e;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x1932a3(0x484,0x4f9,0x4d0,0x557)},{'env':'ANTHROPIC_API_KEY','provider':_0x4ab00a(0x2fa,0x2ef,0x426,0x468)},{'env':_0x1932a3(0x4c1,0x46d,0x4c5,0x49b),'provider':_0x1932a3(0x423,0x528,0x3c6,0x35c)},{'env':_0x4ab00a(0x4fb,0x510,0x535,0x5eb),'provider':_0x4ab00a(0x5aa,0x5be,0x519,0x4bd)},{'env':_0x1932a3(0x3cd,0x206,0x36b,0x31a),'provider':_0x1932a3(0x3cc,0x39c,0x3ad,0x32b)},{'env':_0x1932a3(0x31d,0x2a8,0x40d,0x4d4),'provider':'deepinfra'},{'env':_0x4ab00a(0x2f1,0x2e3,0x542,0x407),'provider':_0x4ab00a(0x769,0x72e,0x743,0x623)},{'env':'MOONSHOT_API_KEY','provider':_0x4ab00a(0x5c3,0x4ba,0x42e,0x531)},{'env':'MINIMAX_API_KEY','provider':_0x4ab00a(0x32c,0x4b0,0x419,0x3af)},{'env':_0x4ab00a(0x3c4,0x3ee,0x340,0x422),'provider':_0x1932a3(0x330,0x2a1,0x2cd,0x3af)},{'env':_0x4ab00a(0x6d6,0x638,0x4e9,0x60f),'provider':'openai'},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x4ab00a(0x54f,0x2d1,0x487,0x446)](_0x34f1a1=>_0x34f1a1['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x4ab00a(0x60f,0x49b,0x4e0,0x509),_0x4ab00a(0x528,0x591,0x46b,0x5dd),'GOOGLE_CSE_CX'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x4ab00a(0x4d1,0x6af,0x5e1,0x55d)](Object[_0x1932a3(0x29f,0x370,0x36a,0x26e)]),_0x1932a3(0x323,0x3a1,0x36a,0x26d)]);function prototypeSafeRecord(_0x45ea2e){const _0x579cd5={_0x39ace0:0x66a,_0x1c5e40:0x4fe,_0x43605c:0x458,_0x4a90e8:0x635,_0x44b0b6:0x4cc,_0x465121:0x4c6,_0x1f4058:0x632},_0x2c5ac5={_0x1dc000:0x60e,_0x5c5b62:0x506,_0x7c99b8:0x486,_0x21100b:0x4e0,_0x5abdc1:0x55f,_0xf51d5a:0x453,_0x555487:0x611,_0x45cc49:0x50a,_0x595aa3:0x4df,_0x4c515b:0x5e3},_0x30ae2e={_0x3fbd39:0x190,_0x56afe9:0x62},_0x5539f0={_0xc222f:0x1d},_0x83cf25={_0x40c3f1:0x197};function _0x2ba422(_0x23bcb9,_0x528bd9,_0x3e4841,_0x589bbe){return _0x4ab00a(_0x23bcb9-_0x83cf25._0x40c3f1,_0x528bd9-0x1d2,_0x23bcb9,_0x3e4841-0xca);}function _0x506ae3(_0x51ee5d,_0x2b1de3,_0x549a5c,_0x5f5abb){return _0x4ab00a(_0x51ee5d-0x1cc,_0x2b1de3-0x99,_0x549a5c,_0x2b1de3- -_0x5539f0._0xc222f);}return z[_0x2ba422(0x650,0x686,_0x579cd5._0x39ace0,0x51d)](_0x3c063a=>{const _0x297366={_0x2d516d:0xf0};if(_0x3c063a===null||typeof _0x3c063a!==_0x8c41b3(_0x2c5ac5._0x1dc000,_0x2c5ac5._0x5c5b62,0x525,0x54e)||Array[_0x43a629(0x598,_0x2c5ac5._0x7c99b8,_0x2c5ac5._0x21100b,_0x2c5ac5._0x5abdc1)](_0x3c063a))return null;const _0x1e1324=Object['getPrototypeOf'](_0x3c063a);if(_0x1e1324!==Object[_0x43a629(0x58d,0x6f4,_0x2c5ac5._0xf51d5a,_0x2c5ac5._0x555487)]&&_0x1e1324!==null)return null;function _0x43a629(_0x71d047,_0x51d705,_0x525fb6,_0x10197b){return _0x2ba422(_0x51d705,_0x51d705-_0x30ae2e._0x3fbd39,_0x71d047-_0x30ae2e._0x56afe9,_0x10197b-0xa7);}function _0x8c41b3(_0x31a8cd,_0x79adbc,_0x4bd45a,_0x553e49){return _0x2ba422(_0x31a8cd,_0x79adbc-0x175,_0x79adbc- -0x1a6,_0x553e49-_0x297366._0x2d516d);}return{'entries':Object[_0x8c41b3(_0x2c5ac5._0x45cc49,_0x2c5ac5._0x595aa3,0x529,_0x2c5ac5._0x4c515b)](_0x3c063a)};},z[_0x506ae3(0x534,0x5c5,_0x579cd5._0x1c5e40,_0x579cd5._0x43605c)]({'entries':z['array'](z['tuple']([z[_0x506ae3(_0x579cd5._0x4a90e8,_0x579cd5._0x44b0b6,_0x579cd5._0x465121,_0x579cd5._0x1f4058)](),_0x45ea2e]))}))['transform'](({entries:_0x2f8557})=>Object[_0x506ae3(0x5a7,0x56a,0x5b3,0x4ea)](_0x2f8557));}var chatModelAuthSchemeSchema=z[_0x1932a3(0x389,0x312,0x43d,0x383)]([_0x1932a3(0x330,0x4d1,0x3ef,0x54b),_0x1932a3(0x2dc,0x4b7,0x3a8,0x3cf)]),apiKeyAuthSchema=z[_0x4ab00a(0x58f,0x57b,0x716,0x5e2)]({'type':z[_0x4ab00a(0x33e,0x434,0x475,0x45e)]('apiKey'),'apiKey':z[_0x1932a3(0x492,0x335,0x3f2,0x370)](),'authScheme':chatModelAuthSchemeSchema[_0x1932a3(0x3f8,0x1df,0x2aa,0x365)]()})[_0x4ab00a(0x4a4,0x3ad,0x427,0x408)](),oauthAuthSchema=z[_0x1932a3(0x561,0x3d3,0x4eb,0x410)]({'type':z['literal']('oauth'),'access':z[_0x1932a3(0x2fe,0x50f,0x3f2,0x398)](),'refresh':z['string'](),'expires':z[_0x4ab00a(0x403,0x326,0x40a,0x421)]()[_0x4ab00a(0x277,0x4fb,0x488,0x3a1)](),'authScheme':chatModelAuthSchemeSchema[_0x1932a3(0x164,0x309,0x2aa,0x1d9)]()})[_0x1932a3(0x288,0x43a,0x311,0x296)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z['object']({'id':z['string'](),'name':z['string']()[_0x1932a3(0x276,0x181,0x2aa,0x166)]()})['passthrough'](),modelConfigSchema=z[_0x1932a3(0x500,0x37d,0x404,0x540)]([z['literal'](![]),z[_0x4ab00a(0x2ff,0x4b8,0x4d8,0x45e)](!![]),z[_0x4ab00a(0x5db,0x39e,0x3cc,0x4e9)](),z[_0x4ab00a(0x62d,0x50e,0x54f,0x620)](z['string']()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum'](['anthropic-messages',_0x1932a3(0x2bd,0x4fd,0x38c,0x276),'openai-responses','openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x1932a3(0x31f,0x391,0x3f2,0x284)]()['optional'](),'token':z[_0x4ab00a(0x3b1,0x4c7,0x3e5,0x4e9)]()[_0x1932a3(0x2d3,0x421,0x2aa,0x161)](),'defaultModel':z[_0x1932a3(0x3c0,0x3c9,0x3f2,0x318)]()[_0x4ab00a(0x373,0x2e6,0x297,0x3a1)](),'smallModel':z[_0x4ab00a(0x37c,0x42f,0x500,0x4e9)]()[_0x4ab00a(0x36f,0x475,0x389,0x3a1)](),'currentAuth':z[_0x1932a3(0x372,0x3a8,0x3f2,0x371)]()[_0x4ab00a(0x41c,0x448,0x4c5,0x3a1)](),'auth':z[_0x4ab00a(0x6c1,0x564,0x682,0x620)](authMethodSchema)[_0x1932a3(0x175,0x24d,0x2aa,0x25b)](),'surface':chatModelSurfaceSchema[_0x4ab00a(0x4e9,0x4d5,0x40c,0x3a1)](),'baseUrl':z[_0x1932a3(0x40d,0x47b,0x3f2,0x540)]()[_0x1932a3(0x21b,0x3ef,0x2aa,0x373)](),'models':modelConfigSchema[_0x4ab00a(0x33d,0x460,0x453,0x3a1)](),'customHeaders':z[_0x4ab00a(0x422,0x40e,0x4de,0x443)](z['string'](),z[_0x1932a3(0x418,0x438,0x3f2,0x430)]())[_0x1932a3(0x2b5,0x16a,0x2aa,0x2c0)]()})[_0x4ab00a(0x37b,0x46d,0x535,0x408)](),mcpServerConfigSchema=z[_0x1932a3(0x49a,0x3e2,0x4eb,0x3ac)]({'command':z[_0x4ab00a(0x58d,0x4e4,0x3c1,0x4e9)]()[_0x4ab00a(0x3ac,0x298,0x4ce,0x3a1)](),'args':z[_0x4ab00a(0x723,0x75f,0x4de,0x620)](z[_0x4ab00a(0x641,0x46b,0x636,0x4e9)]())[_0x1932a3(0x2ca,0x313,0x2aa,0x41d)](),'env':z[_0x4ab00a(0x5b7,0x378,0x309,0x443)](z[_0x4ab00a(0x4bf,0x503,0x64c,0x4e9)](),z['string']())[_0x1932a3(0x3be,0x2b1,0x2aa,0x3a4)](),'transport':z['enum']([_0x4ab00a(0x3ca,0x533,0x64a,0x533),_0x1932a3(0x31b,0x41d,0x38a,0x4c6)])[_0x4ab00a(0x438,0x30c,0x38f,0x3a1)](),'url':z['string']()[_0x4ab00a(0x3a7,0x47a,0x4d8,0x3a1)](),'headers':z[_0x1932a3(0x327,0x46f,0x34c,0x35d)](z['string'](),z['string']())['optional'](),'prefix':z[_0x1932a3(0x4a1,0x4b6,0x3f2,0x335)]()[_0x4ab00a(0x278,0x3fe,0x2ac,0x3a1)](),'timeoutMs':z[_0x1932a3(0x432,0x371,0x32a,0x253)]()[_0x1932a3(0x358,0x225,0x2aa,0x3ce)](),'enabled':z[_0x1932a3(0x3c7,0x44d,0x2f4,0x39b)]()['optional'](),'auth':z[_0x4ab00a(0x515,0x74d,0x73d,0x5e2)]({'type':z[_0x1932a3(0x40d,0x47e,0x43d,0x50d)]([_0x4ab00a(0x548,0x38c,0x56e,0x4de),'bearer',_0x4ab00a(0x6d2,0x569,0x59b,0x5a3)]),'token':z[_0x1932a3(0x531,0x394,0x3f2,0x3b5)]()[_0x1932a3(0x1ed,0x3da,0x2aa,0x2b2)](),'oauth':z[_0x4ab00a(0x631,0x646,0x741,0x5e2)]({'clientId':z[_0x1932a3(0x565,0x480,0x3f2,0x4c0)]()['optional'](),'clientMetadataUrl':z[_0x4ab00a(0x5d6,0x5dd,0x5c9,0x4e9)]()[_0x4ab00a(0x41d,0x357,0x494,0x3a1)](),'authorizationServer':z[_0x1932a3(0x3b9,0x4ad,0x3f2,0x2a3)]()[_0x4ab00a(0x29f,0x287,0x2be,0x3a1)](),'scopes':z[_0x1932a3(0x42e,0x3ca,0x529,0x572)](z[_0x4ab00a(0x5fd,0x449,0x653,0x4e9)]())[_0x4ab00a(0x27a,0x375,0x36f,0x3a1)](),'tokenStorageKey':z[_0x1932a3(0x534,0x339,0x3f2,0x4e0)]()[_0x4ab00a(0x30c,0x318,0x424,0x3a1)]()})[_0x1932a3(0x333,0x1f3,0x311,0x3a9)]()['optional']()})['passthrough']()[_0x1932a3(0x3c6,0x304,0x2aa,0x25f)]()})[_0x1932a3(0x27c,0x2f6,0x311,0x1ba)](),mcpSettingsSchema=z[_0x1932a3(0x449,0x4e8,0x4eb,0x5d6)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x4ab00a(0x436,0x356,0x4a2,0x3eb)]()))[_0x1932a3(0x373,0x147,0x2aa,0x3ee)](),'defaultTimeoutMs':z[_0x1932a3(0x475,0x444,0x32a,0x281)]()[_0x1932a3(0x1c7,0x171,0x2aa,0x2cf)]()})['passthrough'](),skillsSettingsSchema=z[_0x1932a3(0x64b,0x5e4,0x4eb,0x5fe)]({'enabled':z[_0x1932a3(0x31a,0x2fc,0x2f4,0x1c3)]()[_0x1932a3(0x290,0x23b,0x2aa,0x319)](),'includeDefaults':z[_0x4ab00a(0x476,0x302,0x325,0x3eb)]()['optional'](),'directories':z[_0x1932a3(0x450,0x55e,0x529,0x463)](z[_0x4ab00a(0x632,0x383,0x4f8,0x4e9)]())[_0x4ab00a(0x321,0x253,0x4d7,0x3a1)](),'exclude':z['array'](z[_0x1932a3(0x49e,0x34c,0x3f2,0x39b)]())[_0x4ab00a(0x404,0x4a3,0x29b,0x3a1)]()})['passthrough'](),commandsSettingsSchema=z[_0x4ab00a(0x6fb,0x62c,0x4af,0x5e2)]({'enabled':z[_0x1932a3(0x317,0x224,0x2f4,0x38d)]()[_0x4ab00a(0x42c,0x4ac,0x2ee,0x3a1)](),'directories':z['array'](z['string']())[_0x4ab00a(0x3b9,0x491,0x30e,0x3a1)]()})['passthrough'](),agentsSettingsSchema=z[_0x4ab00a(0x624,0x6a8,0x4c6,0x5e2)]({'enabled':z[_0x4ab00a(0x310,0x38e,0x3df,0x3eb)]()[_0x1932a3(0x227,0x331,0x2aa,0x286)](),'includeDefaults':z['boolean']()['optional'](),'directories':z[_0x1932a3(0x4c2,0x5f6,0x529,0x5ab)](z[_0x4ab00a(0x5ee,0x47f,0x640,0x4e9)]())[_0x4ab00a(0x341,0x2c7,0x341,0x3a1)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x1932a3(0x58c,0x440,0x4eb,0x58f)]({'mode':z[_0x4ab00a(0x3df,0x592,0x4f9,0x534)]([_0x4ab00a(0x6e5,0x72d,0x6de,0x5d2),_0x1932a3(0x359,0x3ae,0x3f0,0x427),'light'])[_0x4ab00a(0x308,0x50b,0x4db,0x3a1)](),'colorLevel':z['enum']([_0x4ab00a(0x5c7,0x73a,0x6e5,0x5d2),'none',_0x1932a3(0x2c8,0x3da,0x418,0x553),_0x4ab00a(0x72f,0x5bf,0x6de,0x5d9),_0x1932a3(0x670,0x5c2,0x517,0x555)])[_0x4ab00a(0x2da,0x2b1,0x38c,0x3a1)](),'backgrounds':z[_0x4ab00a(0x670,0x467,0x46a,0x534)](['auto','on',_0x4ab00a(0x73d,0x684,0x6f4,0x62d)])[_0x4ab00a(0x2d3,0x22e,0x3d7,0x3a1)](),'messageStyle':z[_0x4ab00a(0x5d7,0x435,0x5b6,0x534)]([_0x1932a3(0x397,0x284,0x2a7,0x25f),_0x4ab00a(0x6a5,0x780,0x4b2,0x609)])[_0x4ab00a(0x348,0x267,0x26a,0x3a1)]()})['passthrough'](),statuslineSegmentSchema=z['enum']([_0x1932a3(0x54a,0x39c,0x4f9,0x418),_0x4ab00a(0x5fd,0x672,0x5d2,0x601),_0x4ab00a(0x3b2,0x586,0x30e,0x47e),'sudo',_0x1932a3(0x44f,0x287,0x3ac,0x248),_0x1932a3(0x53a,0x5ab,0x522,0x652),_0x4ab00a(0x47d,0x410,0x333,0x42a),_0x1932a3(0x628,0x4ea,0x4d6,0x437),'tools',_0x4ab00a(0x58b,0x573,0x624,0x54c),_0x1932a3(0x61c,0x4c3,0x4cc,0x4d9),_0x4ab00a(0x4f0,0x5ab,0x449,0x558),'keybindings',_0x4ab00a(0x4c4,0x391,0x450,0x40e),_0x1932a3(0x4d8,0x4aa,0x4a5,0x439)]),statuslineItemSchema=z[_0x4ab00a(0x5f7,0x4c7,0x429,0x4fb)]([statuslineSegmentSchema,z[_0x4ab00a(0x541,0x5c1,0x3b1,0x45e)]('|')]),statuslineRowSchema=z[_0x1932a3(0x631,0x418,0x529,0x51b)](statuslineItemSchema),statuslineConfigSchema=z[_0x4ab00a(0x6be,0x6de,0x660,0x5e2)]({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x4ab00a(0x329,0x24f,0x3b2,0x3a1)]()})[_0x4ab00a(0x46c,0x2d9,0x370,0x408)](),memorySettingsSchema=z['object']({'version':z[_0x1932a3(0x45b,0x2df,0x367,0x43f)](0x2)[_0x4ab00a(0x42c,0x4ae,0x35c,0x3a1)](),'retrieval':z['object']({'engine':z[_0x1932a3(0x327,0x3bd,0x367,0x246)](_0x4ab00a(0x51d,0x39b,0x602,0x490))[_0x4ab00a(0x2d0,0x4e4,0x2b4,0x3a1)](),'candidateLimit':z[_0x1932a3(0x2c6,0x2a7,0x32a,0x3b4)]()['optional'](),'activeCandidateLimit':z[_0x4ab00a(0x408,0x499,0x51a,0x421)]()[_0x4ab00a(0x2b8,0x432,0x33c,0x3a1)](),'activeEnabled':z[_0x1932a3(0x17c,0x345,0x2f4,0x3d8)]()[_0x4ab00a(0x392,0x426,0x382,0x3a1)](),'maxQueriesPerTurn':z[_0x4ab00a(0x2c2,0x475,0x3ed,0x421)]()[_0x1932a3(0x2de,0x30b,0x2aa,0x399)](),'coreInjectTokenBudget':z[_0x4ab00a(0x30b,0x557,0x3cd,0x421)]()[_0x1932a3(0x24a,0x1af,0x2aa,0x39f)](),'injectTokenBudget':z[_0x1932a3(0x42c,0x2d9,0x32a,0x236)]()[_0x4ab00a(0x28f,0x357,0x278,0x3a1)](),'minScore':z[_0x4ab00a(0x3b1,0x2d4,0x39b,0x421)]()[_0x1932a3(0x401,0x21c,0x2aa,0x192)](),'freshnessHalfLifeDays':z[_0x1932a3(0x252,0x2b6,0x32a,0x1bc)]()[_0x4ab00a(0x3e3,0x365,0x2a0,0x3a1)]()})[_0x1932a3(0x33f,0x458,0x311,0x331)]()['optional'](),'extraction':z[_0x1932a3(0x46b,0x5e7,0x4eb,0x56d)]({'enabled':z[_0x1932a3(0x303,0x26a,0x2f4,0x3e5)]()[_0x1932a3(0x279,0x195,0x2aa,0x26a)](),'provider':z[_0x4ab00a(0x4ff,0x435,0x637,0x4e9)]()['optional'](),'model':z[_0x1932a3(0x4f8,0x2a9,0x3f2,0x492)]()['optional'](),'sensitiveFilter':z[_0x4ab00a(0x331,0x543,0x497,0x3eb)]()[_0x4ab00a(0x493,0x3aa,0x24a,0x3a1)]()})[_0x1932a3(0x415,0x275,0x311,0x3b5)]()['optional'](),'index':z['object']({'persisted':z[_0x4ab00a(0x3c3,0x2b3,0x517,0x3eb)]()['optional'](),'flushIntervalMs':z[_0x4ab00a(0x2e5,0x472,0x4e4,0x421)]()[_0x4ab00a(0x3ac,0x423,0x252,0x3a1)]()})[_0x4ab00a(0x40c,0x524,0x40e,0x408)]()[_0x4ab00a(0x44a,0x25e,0x4c3,0x3a1)](),'enabled':z['boolean']()[_0x1932a3(0x3f7,0x170,0x2aa,0x387)](),'saveTool':z[_0x4ab00a(0x37d,0x426,0x340,0x3eb)]()[_0x1932a3(0x2d5,0x399,0x2aa,0x35e)](),'model':z['string']()['optional'](),'provider':z[_0x4ab00a(0x3ef,0x3ef,0x406,0x4e9)]()[_0x1932a3(0x1b6,0x21b,0x2aa,0x2a4)](),'maxInjectionTokens':z[_0x4ab00a(0x42a,0x556,0x38b,0x421)]()['optional'](),'backgroundExtraction':z[_0x4ab00a(0x3e5,0x460,0x458,0x3eb)]()[_0x1932a3(0x1e1,0x3cb,0x2aa,0x23b)]()})[_0x1932a3(0x447,0x1de,0x311,0x380)](),recentModelSchema=z[_0x4ab00a(0x48c,0x584,0x661,0x5e2)]({'provider':z[_0x1932a3(0x46a,0x494,0x3f2,0x42b)](),'model':z[_0x1932a3(0x3ef,0x3a8,0x3f2,0x351)](),'usedAt':z[_0x1932a3(0x2d3,0x345,0x32a,0x2fe)]()})[_0x4ab00a(0x531,0x4ac,0x2f9,0x408)](),lspServerEntrySchema=z[_0x4ab00a(0x6f0,0x5ba,0x683,0x5e2)]({'disabled':z[_0x4ab00a(0x428,0x395,0x2d6,0x3eb)]()[_0x4ab00a(0x290,0x32f,0x39a,0x3a1)](),'command':z[_0x4ab00a(0x45e,0x506,0x42f,0x4e9)]()['optional'](),'args':z[_0x1932a3(0x4d3,0x444,0x529,0x5f1)](z['string']())[_0x4ab00a(0x4a1,0x26f,0x3a8,0x3a1)](),'rootMarkers':z[_0x1932a3(0x4bc,0x44d,0x529,0x485)](z[_0x1932a3(0x39a,0x289,0x3f2,0x450)]())[_0x1932a3(0x164,0x34c,0x2aa,0x329)]()})['passthrough'](),lspConfigSchema=z['object']({'enabled':z[_0x4ab00a(0x527,0x4fb,0x4ab,0x3eb)]()[_0x1932a3(0x212,0x3fc,0x2aa,0x220)](),'servers':z[_0x1932a3(0x285,0x1ee,0x34c,0x2ed)](z[_0x4ab00a(0x44d,0x614,0x5fc,0x4e9)](),lspServerEntrySchema)[_0x4ab00a(0x487,0x45a,0x3ae,0x3a1)]()})[_0x1932a3(0x372,0x45c,0x311,0x201)](),serverEndpointSchema=z[_0x1932a3(0x659,0x4cd,0x4eb,0x550)]({'url':z[_0x1932a3(0x425,0x3f0,0x3f2,0x4ee)](),'token':z['string']()[_0x4ab00a(0x424,0x425,0x317,0x3a1)]()})[_0x1932a3(0x1a7,0x303,0x311,0x28a)](),commandHookConfigSchema=z[_0x1932a3(0x4f4,0x4f5,0x4eb,0x3f6)]({'type':z[_0x4ab00a(0x435,0x42d,0x57b,0x45e)](_0x4ab00a(0x515,0x733,0x58e,0x5e7)),'command':z[_0x4ab00a(0x525,0x585,0x51a,0x4e9)](),'timeout':z[_0x4ab00a(0x3be,0x34b,0x462,0x421)]()[_0x4ab00a(0x289,0x2a2,0x2ff,0x3a1)]()}),hookMatcherGroupSchema=z[_0x1932a3(0x51c,0x610,0x4eb,0x4ca)]({'matcher':z['string']()[_0x4ab00a(0x242,0x48f,0x516,0x3a1)](),'hooks':z['array'](commandHookConfigSchema)});function _0x1932a3(_0x32debc,_0x368038,_0x2d2417,_0x4a0388){const _0x17287d={_0x1fb67e:0xe0};return _0x5a72(_0x2d2417-_0x17287d._0x1fb67e,_0x32debc);}var hooksConfigSchema=z[_0x4ab00a(0x526,0x575,0x72f,0x5e2)]({'PreToolUse':z[_0x4ab00a(0x4fa,0x60f,0x6ee,0x620)](hookMatcherGroupSchema)[_0x4ab00a(0x4c8,0x418,0x2c7,0x3a1)](),'PostToolUse':z[_0x1932a3(0x4ee,0x42e,0x529,0x4af)](hookMatcherGroupSchema)[_0x1932a3(0x1cb,0x2bb,0x2aa,0x395)](),'UserPromptSubmit':z[_0x1932a3(0x611,0x4bc,0x529,0x583)](hookMatcherGroupSchema)['optional'](),'Stop':z['array'](hookMatcherGroupSchema)['optional'](),'Notification':z[_0x4ab00a(0x691,0x5e2,0x514,0x620)](hookMatcherGroupSchema)[_0x4ab00a(0x3ae,0x40e,0x303,0x3a1)](),'ToolApprovalRequest':z[_0x4ab00a(0x4c4,0x62a,0x4db,0x620)](hookMatcherGroupSchema)[_0x1932a3(0x37a,0x193,0x2aa,0x2fb)](),'SessionStart':z['array'](hookMatcherGroupSchema)['optional'](),'SessionEnd':z[_0x4ab00a(0x753,0x570,0x4df,0x620)](hookMatcherGroupSchema)[_0x4ab00a(0x2b3,0x3f1,0x335,0x3a1)]()}),cliConfigSchema=z[_0x1932a3(0x453,0x63c,0x4eb,0x5d1)]({'activeProvider':z[_0x1932a3(0x53c,0x35b,0x3f2,0x388)]()[_0x1932a3(0x217,0x33a,0x2aa,0x3ea)](),'activeModel':z[_0x4ab00a(0x4cf,0x39f,0x458,0x4e9)]()[_0x4ab00a(0x34c,0x239,0x36c,0x3a1)](),'apiKey':z[_0x4ab00a(0x543,0x4b7,0x37f,0x4e9)]()[_0x1932a3(0x2d6,0x28d,0x2aa,0x26a)](),'providers':z['record'](z['string'](),providerConfigSchema)[_0x4ab00a(0x2b1,0x4d4,0x4c3,0x3a1)](),'mcp':mcpSettingsSchema[_0x1932a3(0x244,0x256,0x2aa,0x3e8)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x4ab00a(0x510,0x247,0x387,0x3a1)](),'commands':commandsSettingsSchema[_0x1932a3(0x3cc,0x23c,0x2aa,0x1d0)](),'skillsEnabled':z[_0x1932a3(0x44b,0x421,0x34c,0x3a8)](z[_0x4ab00a(0x592,0x5f3,0x498,0x4e9)](),z[_0x1932a3(0x3ca,0x335,0x2f4,0x429)]())['optional'](),'allowedDirs':z['array'](z[_0x1932a3(0x2b1,0x3e3,0x3f2,0x3f2)]())[_0x4ab00a(0x4db,0x294,0x489,0x3a1)](),'mcpEnabled':prototypeSafeRecord(z[_0x1932a3(0x42c,0x411,0x2f4,0x40e)]())[_0x4ab00a(0x278,0x4f0,0x4d1,0x3a1)](),'commandsEnabled':z[_0x4ab00a(0x37d,0x2d3,0x331,0x443)](z[_0x4ab00a(0x533,0x4c4,0x613,0x4e9)](),z[_0x4ab00a(0x3dd,0x48f,0x4e5,0x3eb)]())['optional'](),'memory':memorySettingsSchema[_0x4ab00a(0x2cc,0x3c3,0x390,0x3a1)](),'session':z[_0x4ab00a(0x482,0x46a,0x679,0x5e2)]({'memPersist':z['boolean']()[_0x1932a3(0x1b6,0x30f,0x2aa,0x26a)](),'persistEventLog':z['boolean']()[_0x4ab00a(0x507,0x450,0x4e2,0x3a1)](),'persistHttpLog':z[_0x4ab00a(0x3b7,0x4a5,0x30a,0x3eb)]()[_0x4ab00a(0x515,0x26c,0x2b5,0x3a1)]()})['passthrough']()[_0x1932a3(0x2af,0x1d0,0x2aa,0x1cb)](),'requireToolApproval':z['boolean']()[_0x1932a3(0x347,0x239,0x2aa,0x148)](),'thinking':z['enum']([_0x1932a3(0x301,0x29b,0x323,0x48c),_0x4ab00a(0x59d,0x53b,0x4c9,0x516),'MEDIUM',_0x4ab00a(0x380,0x24f,0x4af,0x3b9)])[_0x4ab00a(0x235,0x379,0x42d,0x3a1)](),'streamingChunks':z[_0x4ab00a(0x3c6,0x4e3,0x55a,0x3eb)]()['optional'](),'agentsEnabled':z[_0x4ab00a(0x4f7,0x3c5,0x371,0x443)](z[_0x4ab00a(0x50a,0x61f,0x51a,0x4e9)](),z['boolean']())[_0x1932a3(0x333,0x278,0x2aa,0x2de)](),'recentModels':z[_0x1932a3(0x459,0x537,0x529,0x498)](recentModelSchema)[_0x4ab00a(0x26e,0x34f,0x3a1,0x3a1)](),'lsp':lspConfigSchema[_0x4ab00a(0x22c,0x354,0x2b7,0x3a1)](),'servers':z['record'](z[_0x4ab00a(0x53b,0x4f0,0x5be,0x4e9)](),serverEndpointSchema)[_0x4ab00a(0x252,0x460,0x3c2,0x3a1)](),'ui':z[_0x4ab00a(0x4c3,0x53a,0x64a,0x5e2)]({'theme':uiThemeSettingsSchema[_0x4ab00a(0x4cd,0x4a0,0x50d,0x3a1)](),'statusline':statuslineConfigSchema[_0x1932a3(0x333,0x34a,0x2aa,0x274)]()})[_0x1932a3(0x24c,0x239,0x311,0x38b)]()[_0x4ab00a(0x368,0x416,0x4eb,0x3a1)](),'tools':z[_0x4ab00a(0x433,0x58c,0x3f2,0x443)](z[_0x4ab00a(0x3b8,0x58e,0x652,0x4e9)](),z['unknown']())['optional'](),'hooks':hooksConfigSchema[_0x4ab00a(0x3dc,0x388,0x3ae,0x3a1)]()})[_0x4ab00a(0x560,0x38a,0x534,0x408)](),workspaceOverlaySchema=z[_0x1932a3(0x617,0x46b,0x4eb,0x52c)]({'root':z['string']()['optional'](),'allowedDirs':z[_0x4ab00a(0x586,0x631,0x6de,0x620)](z['string']())['optional'](),'activeProvider':z[_0x1932a3(0x362,0x377,0x3f2,0x3b1)]()[_0x1932a3(0x15e,0x2fb,0x2aa,0x179)](),'activeModel':z[_0x4ab00a(0x550,0x4a8,0x651,0x4e9)]()[_0x1932a3(0x184,0x3c9,0x2aa,0x14c)](),'mcp':mcpSettingsSchema[_0x1932a3(0x31f,0x249,0x2aa,0x161)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x4ab00a(0x292,0x3d0,0x4f7,0x3a1)](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z['boolean']())['optional'](),'skillsEnabled':z['record'](z['string'](),z['boolean']())[_0x4ab00a(0x37d,0x4d1,0x377,0x3a1)](),'agentsEnabled':z[_0x4ab00a(0x312,0x331,0x323,0x443)](z[_0x1932a3(0x394,0x337,0x3f2,0x4f6)](),z['boolean']())[_0x4ab00a(0x28d,0x43e,0x399,0x3a1)](),'commandsEnabled':z['record'](z['string'](),z[_0x1932a3(0x2fc,0x361,0x2f4,0x423)]())[_0x1932a3(0x1f7,0x259,0x2aa,0x26c)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x1932a3(0x5c4,0x5ce,0x466,0x520)](Object['prototype']),_0x1932a3(0x340,0x37b,0x36a,0x233)]);function buildDescription(_0x5e9fb8){const _0x34ef21={_0x1cc0e9:0x15f,_0x790445:0x19e,_0x43b68e:0x1d2,_0x9debcd:0x2ca,_0x429610:0x180,_0x3273d7:0x1aa,_0xc7a286:0x241,_0x38175d:0x252,_0x4eb63b:0x2d8,_0x4ec78f:0x2bd,_0x17b686:0x2bc,_0x2aa0e7:0xca,_0x205d1f:0xff,_0x3b6731:0x107,_0x11a600:0xf7},_0x279146={_0x1a7b04:0x1db},_0x1b81b1={_0x5b9ae0:0x248};if(_0x5e9fb8['length']===0x0)return[_0x7a8b1f(_0x34ef21._0x1cc0e9,0x278,0x2fe,_0x34ef21._0x790445),_0x7a8b1f(0x232,_0x34ef21._0x43b68e,_0x34ef21._0x9debcd,_0x34ef21._0x429610),_0x7a8b1f(0x35a,0x23e,_0x34ef21._0x3273d7,0x12c)][_0x57e5bc(0x23f,0x16a,_0x34ef21._0xc7a286,0x367)]('\x0a');function _0x7a8b1f(_0x2c93eb,_0x5a20a1,_0x363fc9,_0x3e75d9){return _0x1932a3(_0x2c93eb,_0x5a20a1-0x1ca,_0x5a20a1- -_0x1b81b1._0x5b9ae0,_0x3e75d9-0x4b);}const _0x3a8959=[_0x57e5bc(0x205,_0x34ef21._0x38175d,0x254,0x20b),_0x7a8b1f(0x17b,0x1d2,_0x34ef21._0x4eb63b,_0x34ef21._0x4ec78f),_0x7a8b1f(_0x34ef21._0x17b686,0x1dc,_0x34ef21._0x2aa0e7,0x325),..._0x5e9fb8[_0x7a8b1f(_0x34ef21._0x205d1f,_0x34ef21._0x3b6731,0x160,_0x34ef21._0x11a600)](_0x267124=>_0x267124[_0x7a8b1f(0x361,0x238,0x14c,0x177)]?'-\x20'+_0x267124[_0x7a8b1f(0x293,0x11a,0x235,0x27a)]+'\x20'+_0x267124[_0x57e5bc(0x1c5,0x82,0x1ba,0x320)]+':\x20'+_0x267124['description']:'-\x20'+_0x267124['name']+':\x20'+_0x267124['description'])];function _0x57e5bc(_0x5d1183,_0x58c893,_0x3c351d,_0x5d3dcb){return _0x1932a3(_0x58c893,_0x58c893-_0x279146._0x1a7b04,_0x5d1183- -0x2bb,_0x5d3dcb-0x53);}return _0x3a8959['join']('\x0a');}function createInvokeCommandTool(_0x3039e0){const _0x8ee933={_0x3efcbf:0x27b,_0x563b8d:0x251,_0x131d56:0x180,_0x3dd191:0x144,_0x32cc9f:0x388,_0x2221c8:0x252,_0x4ee89a:0x42b,_0x62f904:0x302,_0x5dd9c1:0x3eb,_0x28426f:0x6d5,_0x153a9c:0x7c4,_0x28faaa:0x611,_0x4df687:0x756,_0x464898:0x645},_0x2f1b6c={_0x43a7cf:0x3c8,_0x69bb5f:0x4ff,_0x4eb514:0x51c,_0x1dd17d:0x236,_0x29bc00:0x153,_0xe0aacc:0x381,_0x28e2d1:0x20b,_0x22c4ed:0x42d,_0x3d443c:0x219,_0x5a6140:0x2e1,_0x4b450d:0x1fe,_0x48273d:0x2be,_0x39b0ac:0x1d9,_0x335a75:0x12a,_0x1b4ebe:0x153,_0x203775:0x438,_0x5cfcf1:0x2a5,_0x4b395f:0x299,_0xd9eb53:0x3a,_0x2c24f1:0x1c4,_0x16d736:0x2a9,_0x48528f:0x307},_0x22abe1={_0x31dc14:0xc0},_0x59435d={_0x2d796d:0xee},_0x3c0375=new Map(_0x3039e0[_0x4bb9c0(_0x8ee933._0x3efcbf,0x36d,_0x8ee933._0x563b8d,_0x8ee933._0x131d56)][_0x4bb9c0(0x261,_0x8ee933._0x3dd191,_0x8ee933._0x32cc9f,0x256)](_0x23c05b=>[_0x23c05b['id'],_0x23c05b])),_0x382257=buildDescription(_0x3039e0[_0x4bb9c0(_0x8ee933._0x3efcbf,0x28b,_0x8ee933._0x2221c8,0x203)]);function _0x4bb9c0(_0x53d840,_0xdacc3e,_0x662531,_0x3708e7){return _0x1932a3(_0x662531,_0xdacc3e-0xa,_0x53d840- -_0x59435d._0x2d796d,_0x3708e7-0xc0);}function _0x146f4b(_0x3f5bcc,_0x5133ae,_0x21b601,_0x540c6f){return _0x1932a3(_0x540c6f,_0x5133ae-_0x22abe1._0x31dc14,_0x21b601-0x2e3,_0x540c6f-0x108);}return defineTool({'name':_0x4bb9c0(_0x8ee933._0x4ee89a,_0x8ee933._0x62f904,0x4a1,_0x8ee933._0x5dd9c1),'description':_0x382257,'inputSchema':{'type':_0x146f4b(0x768,0x8e8,0x7ce,0x8a9),'properties':{'name':{'type':_0x146f4b(0x69f,0x81e,_0x8ee933._0x28426f,0x7c6)},'args':{'type':_0x146f4b(_0x8ee933._0x153a9c,0x606,_0x8ee933._0x28426f,_0x8ee933._0x28faaa)}},'required':[_0x146f4b(0x63b,_0x8ee933._0x4df687,_0x8ee933._0x464898,0x768)]},async *'execute'(_0x52e4cf){const _0x5a4a4c={_0x392eac:0x53},_0x6af43={_0x5ea19c:0x4f2},_0x40c29b=_0x3c0375[_0x4d63cb(_0x2f1b6c._0x43a7cf,0x3d4,_0x2f1b6c._0x69bb5f,_0x2f1b6c._0x4eb514)](_0x52e4cf[_0x238afa(0xb7,0x6e,_0x2f1b6c._0x1dd17d,_0x2f1b6c._0x29bc00)]);if(!_0x40c29b){const _0xb5b9cf=Array['from'](_0x3c0375[_0x4d63cb(_0x2f1b6c._0xe0aacc,_0x2f1b6c._0x28e2d1,_0x2f1b6c._0x22c4ed,_0x2f1b6c._0x3d443c)]())['join'](',\x20');throw new ToolExecutionError(_0x238afa(_0x2f1b6c._0x5a6140,0x170,_0x2f1b6c._0x4b450d,_0x2f1b6c._0x48273d)+_0x52e4cf['name']+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0xb5b9cf,{'name':_0x52e4cf[_0x238afa(_0x2f1b6c._0x39b0ac,_0x2f1b6c._0x335a75,0x88,_0x2f1b6c._0x1b4ebe)]});}const _0x3d1299=await _0x3039e0['loadCommand'](_0x40c29b),_0x556865=_0x52e4cf[_0x4d63cb(0x352,_0x2f1b6c._0x203775,0x32b,_0x2f1b6c._0x5cfcf1)]??'';function _0x238afa(_0x1d41e7,_0x416cb7,_0xcb68d5,_0x1724a8){return _0x146f4b(_0x1d41e7-0x52,_0x416cb7-0x183,_0x1724a8- -_0x6af43._0x5ea19c,_0x416cb7);}function _0x4d63cb(_0x2bd233,_0x2e96cf,_0x281a27,_0x192c6d){return _0x4bb9c0(_0x2bd233- -_0x5a4a4c._0x392eac,_0x2e96cf-0xed,_0x2e96cf,_0x192c6d-0x5f);}const _0x455f9a=renderCommandInstructions({'instructions':_0x3d1299['instructions'],'argumentsText':_0x556865,'argumentNames':_0x3d1299[_0x238afa(0x278,_0x2f1b6c._0x4b395f,_0x2f1b6c._0xd9eb53,0x18f)]});return yield createToolOutput(_0x455f9a,{'id':_0x3d1299['id'],'name':_0x3d1299[_0x238afa(0x123,0x180,_0x2f1b6c._0x2c24f1,0x153)],'path':_0x40c29b[_0x238afa(0x318,0x3db,_0x2f1b6c._0x16d736,_0x2f1b6c._0x48528f)]['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x2f3284,rename as _0x1f125d,stat as _0x1407aa,writeFile as _0x3f15a0}from'fs/promises';import*as _0x3a4dee from'path';function detectEol(_0x1582eb){const _0x5801c6={_0x471463:0x2f7,_0x53b6f1:0x49f,_0x538b13:0x3cd,_0x12b81a:0x2ce,_0x237511:0x2cb,_0x4eee22:0x2cb,_0x6b84f3:0x269,_0x5c3d3b:0x3c7},_0x1ac63e={_0x44603a:0x82,_0x11216d:0x76};function _0x365173(_0x2cb5dc,_0x448fac,_0x51b2a3,_0x3db65e){return _0x4ab00a(_0x2cb5dc-0x179,_0x448fac-_0x1ac63e._0x44603a,_0x2cb5dc,_0x448fac- -_0x1ac63e._0x11216d);}function _0x223d67(_0x2c88eb,_0x34b19e,_0x517a0f,_0x12452b){return _0x4ab00a(_0x2c88eb-0x1ed,_0x34b19e-0x130,_0x34b19e,_0x2c88eb- -0x12c);}return/\r\n/[_0x223d67(0x43d,_0x5801c6._0x471463,_0x5801c6._0x53b6f1,_0x5801c6._0x538b13)](_0x1582eb[_0x223d67(_0x5801c6._0x12b81a,_0x5801c6._0x237511,_0x5801c6._0x4eee22,_0x5801c6._0x6b84f3)]('utf8'))?_0x223d67(0x382,0x237,0x3c2,_0x5801c6._0x5c3d3b):'lf';}function normalizeToLf(_0x7a1a6b){const _0x2a81c8={_0x1fdf88:0x1a6,_0x300a93:0xfb,_0x20b94d:0x15c},_0x53818e={_0x2a1a22:0x58};function _0x28d85e(_0x478c30,_0x45f6ac,_0x128212,_0x21d3bb){return _0x4ab00a(_0x478c30-_0x53818e._0x2a1a22,_0x45f6ac-0x198,_0x21d3bb,_0x128212- -0x316);}return _0x7a1a6b[_0x28d85e(0x10b,_0x2a81c8._0x1fdf88,_0x2a81c8._0x300a93,_0x2a81c8._0x20b94d)](/\r\n/g,'\x0a');}function convertEol(_0x3d5363,_0x58801a){const _0x50e966={_0x1ac93c:0x12,_0x461fc5:0xcc,_0x7a0175:0x154,_0x53f36a:0x14e,_0xd62592:0x8b,_0x462f9:0xad},_0x3674f7={_0x23b49a:0x12a,_0x3e511e:0x50,_0x9682d0:0x49c},_0x484790={_0x8eb281:0xbb,_0x2cfbab:0x135};function _0x581c46(_0x3ac9d6,_0x23882f,_0x4640a9,_0xbc278c){return _0x4ab00a(_0x3ac9d6-_0x484790._0x8eb281,_0x23882f-_0x484790._0x2cfbab,_0xbc278c,_0x3ac9d6-0x162);}function _0x2c1258(_0x3843de,_0x2d36f7,_0x2e3f0a,_0x192270){return _0x4ab00a(_0x3843de-_0x3674f7._0x23b49a,_0x2d36f7-_0x3674f7._0x3e511e,_0x2e3f0a,_0x3843de- -_0x3674f7._0x9682d0);}return _0x58801a===_0x2c1258(_0x50e966._0x1ac93c,_0x50e966._0x461fc5,-_0x50e966._0x7a0175,_0x50e966._0x53f36a)?_0x3d5363[_0x2c1258(-_0x50e966._0xd62592,-0x146,-_0x50e966._0x462f9,0x29)](/\n/g,'\x0d\x0a'):_0x3d5363;}async function atomicWrite(_0x26dd69,_0x3ccab2){const _0x20716a={_0x354167:0x2a,_0x536c43:0x5b5,_0x2aee1f:0x446,_0x1f4c0c:0x29d,_0x30181e:0x31,_0x23fbc7:0x11e},_0x2fd8cd={_0x2f8960:0xb0},_0x3a4c63=_0x3a4dee[_0x6b3519(-0x12a,-0x5,0x2a,-_0x20716a._0x354167)](_0x26dd69);function _0x6b3519(_0x1c3542,_0xecc5fc,_0xf0bcd3,_0x59c4f0){return _0x1932a3(_0x1c3542,_0xecc5fc-0x3d,_0x59c4f0- -0x2bd,_0x59c4f0-_0x2fd8cd._0x2f8960);}const _0x4d1237=_0x3a4dee[_0x5e620b(0x4db,0x491,_0x20716a._0x536c43,_0x20716a._0x2aee1f)](_0x3a4c63,_0x5e620b(0x1ea,_0x20716a._0x1f4c0c,0x11d,0x1da)+_0x3a4dee['basename'](_0x26dd69)+'.'+Date[_0x6b3519(0xc0,-0x77,-0x3d,_0x20716a._0x30181e)]()+'.'+Math[_0x5e620b(0x36e,0x2f2,0x46a,0x405)]()[_0x6b3519(0xe5,0x4d,_0x20716a._0x23fbc7,0x46)](0x24)['slice'](0x2));await _0x3f15a0(_0x4d1237,_0x3ccab2);function _0x5e620b(_0x304e73,_0x1a91ad,_0x3b3059,_0xeeb6fe){return _0x4ab00a(_0x304e73-0xdd,_0x1a91ad-0x154,_0x304e73,_0xeeb6fe- -0x1ab);}await _0x1f125d(_0x4d1237,_0x26dd69);}function sha256(_0x172919){const _0x2c4c0f={_0x1bdc36:0x1b2,_0x489d78:0x184,_0x16ff54:0x1,_0xed8c7b:0x12f},_0xc7475c={_0x256085:0x33,_0x338a62:0x367},_0x482ad3={_0x3864c7:0x1b2,_0x423003:0xc1};function _0x26a710(_0x5cdd4b,_0x207187,_0xefb908,_0x94e277){return _0x4ab00a(_0x5cdd4b-_0x482ad3._0x3864c7,_0x207187-_0x482ad3._0x423003,_0xefb908,_0x207187- -0x89);}function _0x37a7a5(_0x1dcca3,_0x26e817,_0x2a3357,_0x4ad350){return _0x4ab00a(_0x1dcca3-0x14e,_0x26e817-_0xc7475c._0x256085,_0x4ad350,_0x1dcca3- -_0xc7475c._0x338a62);}return createHash(_0x37a7a5(0x44,-0x117,_0x2c4c0f._0x1bdc36,_0x2c4c0f._0x489d78))['update'](_0x172919)['digest'](_0x37a7a5(0x94,0xa9,-_0x2c4c0f._0x16ff54,_0x2c4c0f._0xed8c7b));}function countLines(_0x11b662){const _0x5ce366={_0x3c6364:0x2a7},_0x40416d={_0x430f03:0xe1,_0x4a1004:0x1ae,_0x3ed5b6:0x345};function _0x2b00b2(_0x3c17d0,_0x7317ae,_0x29cf36,_0x147775){return _0x4ab00a(_0x3c17d0-_0x40416d._0x430f03,_0x7317ae-_0x40416d._0x4a1004,_0x29cf36,_0x147775- -_0x40416d._0x3ed5b6);}const _0x4c8525=_0x11b662['replace'](/\n$/,'');return _0x4c8525['length']===0x0?0x0:_0x4c8525['split']('\x0a')[_0x2b00b2(0x20e,0x1d3,_0x5ce366._0x3c6364,0x1f3)];}function calculateLineNumbers(_0x1ed7e3,_0x4609ad,_0x297ec0,_0x2213d1){const _0x350841={_0x3c59ad:0x124,_0x5e69af:0x5b,_0x103635:0x63,_0x1c6500:0x10d,_0x1165d4:0x35,_0x19d994:0x25d,_0x1aa76d:0x1df,_0x3e1efe:0x65,_0x3150ba:0x15},_0x867fae={_0x5481a6:0x171,_0x4946a0:0xc,_0x37eb15:0x5b7},_0x38802f={_0x2f1d70:0x54d},_0x51f9bd=_0x1ed7e3[_0x3b1d88(-_0x350841._0x3c59ad,-_0x350841._0x5e69af,-_0x350841._0x103635,_0x350841._0x1c6500)](0x0,_0x2213d1)[_0x226cef(-_0x350841._0x1165d4,-0x11c,-_0x350841._0x19d994,-_0x350841._0x1aa76d)]('\x0a')[_0x3b1d88(_0x350841._0x3e1efe,-0x13c,-_0x350841._0x3150ba,-0x157)];function _0x3b1d88(_0x380fee,_0x170182,_0x2ce03a,_0x467893){return _0x4ab00a(_0x380fee-0x5f,_0x170182-0x17e,_0x170182,_0x2ce03a- -_0x38802f._0x2f1d70);}const _0x505211=countLines(_0x4609ad);function _0x226cef(_0x3dd114,_0x1c4bf3,_0x30890b,_0x8bb159){return _0x4ab00a(_0x3dd114-_0x867fae._0x5481a6,_0x1c4bf3-_0x867fae._0x4946a0,_0x30890b,_0x1c4bf3- -_0x867fae._0x37eb15);}const _0x4d43f5=countLines(_0x297ec0);return{'oldStartLine':_0x51f9bd,'oldEndLine':_0x51f9bd+_0x505211-0x1,'newStartLine':_0x51f9bd,'newEndLine':_0x51f9bd+_0x4d43f5-0x1,'oldLineCount':_0x505211,'newLineCount':_0x4d43f5};}function createFileEditTool(_0x4932f3={}){const _0x1d47c0={_0x5fcdc:0x19a,_0x5cef7f:0x14f,_0x52b1d9:0x643,_0x422425:0x33a,_0x4b7e73:0x348,_0x2e8198:0x442,_0x3a6272:0x515,_0x5d59a3:0x4d9,_0x212991:0x2cd,_0x201a63:0x39b,_0x4fd545:0x222,_0x48691a:0x179,_0x29b120:0x1d2,_0x4384b9:0x1da,_0x2fc843:0x443,_0x2c02f9:0x4d2,_0x3a2a48:0x47e,_0x52702d:0x3d4,_0x87121b:0x43e,_0x303d3e:0x5d6,_0x34f982:0x3fd,_0xde7d7d:0x5a9,_0x5d9238:0x676},_0x511973={_0x3f8883:0x4d,_0x46dd41:0x183,_0x522ab0:0x590,_0xea4241:0x7f7,_0x519d4c:0x1fb,_0xb1c41a:0x216,_0x241cf1:0x679,_0x5db5f2:0x5b7,_0x48ebf2:0x5d3,_0x13f4d4:0x8d,_0x534ae0:0x12b,_0x1b9194:0x5b7,_0x40d778:0x4d8,_0xc223b2:0x2b0,_0x36f195:0x283,_0x2963c4:0x6fd,_0x5dfd2:0x737,_0x1ce179:0x28c,_0x1454a7:0x1b9,_0x14be79:0x2ee,_0x555f38:0x71c,_0x4148b0:0x719,_0x41d7b3:0x5f5,_0x10697e:0x60e,_0x5bb4bd:0x1f1,_0x8a42de:0x231,_0x22b2a5:0x5cb,_0x3f89a1:0x366,_0x5dc8b2:0x32a,_0x26bc3a:0x232,_0x2420d1:0x337,_0x5e5589:0x1b7,_0x43b1f9:0x147},_0x2e00b7={_0x2c18e9:0x98,_0x376e74:0x132,_0x58f149:0xe4},_0x45cd55={_0x12caa8:0x67,_0x31f24b:0xe0,_0x2efdbe:0x12a},_0x46294a={_0x13b583:0x148,_0x1f2aeb:0xfe},_0x225f7b=_0x3a4dee['resolve'](_0x4932f3[_0xddee47(0x1b7,_0x1d47c0._0x5fcdc,_0x1d47c0._0x5cef7f,0x57)]??process[_0x463b79(_0x1d47c0._0x52b1d9,0x691,0x532,0x569)]()),_0x3c615d=_0x4932f3[_0xddee47(0x41e,_0x1d47c0._0x422425,0x4b2,0x4e3)]??[],_0x54128e=_0x4932f3[_0x463b79(0x57e,_0x1d47c0._0x4b7e73,0x478,_0x1d47c0._0x2e8198)]??_0x463b79(0x40c,0x5f3,_0x1d47c0._0x3a6272,_0x1d47c0._0x5d59a3);function _0xddee47(_0x27526e,_0x3d35e0,_0x4073af,_0x2a9e68){return _0x1932a3(_0x4073af,_0x3d35e0-_0x46294a._0x13b583,_0x27526e- -_0x46294a._0x1f2aeb,_0x2a9e68-0x13d);}function _0x463b79(_0x224ea9,_0x2acd37,_0x29c276,_0x80b53f){return _0x1932a3(_0x224ea9,_0x2acd37-_0x45cd55._0x12caa8,_0x80b53f-_0x45cd55._0x31f24b,_0x80b53f-_0x45cd55._0x2efdbe);}return defineTool({'name':_0x54128e,'description':_0xddee47(_0x1d47c0._0x212991,_0x1d47c0._0x201a63,_0x1d47c0._0x4fd545,_0x1d47c0._0x48691a),'inputSchema':{'type':_0x463b79(0x53a,0x4e8,0x5f4,0x5cb),'properties':{'filePath':{'type':'string'},'description':{'type':_0xddee47(0x2f4,_0x1d47c0._0x29b120,0x318,_0x1d47c0._0x4384b9),'description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20edit\x20changes\x20and\x20why\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20the\x20change\x20is\x20applied.\x20Be\x20specific,\x20e.g.\x20\x27Fix\x20the\x20token-refresh\x20race\x20in\x20the\x20auth\x20client\x27\x20rather\x20than\x20\x27edit\x20file\x27.'},'oldText':{'type':_0xddee47(0x2f4,0x1dc,0x280,0x392)},'newText':{'type':_0x463b79(_0x1d47c0._0x2fc843,0x539,0x514,_0x1d47c0._0x2c02f9)},'dryRun':{'type':_0x463b79(0x424,0x3c5,_0x1d47c0._0x3a2a48,_0x1d47c0._0x52702d)}},'required':['filePath',_0x463b79(_0x1d47c0._0x87121b,_0x1d47c0._0x303d3e,_0x1d47c0._0x34f982,0x533),_0x463b79(_0x1d47c0._0xde7d7d,0x586,_0x1d47c0._0x5d9238,0x5c9)]},async *'execute'(_0x177094){const _0xa5c086={_0x3f7d42:0x3b,_0x1ae918:0x146},_0x4e6e09=resolveAllowedPath(_0x225f7b,_0x3c615d,_0x177094['filePath']);await assertWorkspaceFile(_0x4e6e09);const _0x2ca4c1=await _0x1407aa(_0x4e6e09),_0x1aeb59=await _0x2f3284(_0x4e6e09),_0x20590c=detectEol(_0x1aeb59),_0x3965ad=normalizeToLf(_0x1aeb59[_0x4d78fb(0x18,_0x511973._0x3f8883,0xf4,_0x511973._0x46dd41)](_0x578311(0x6b8,_0x511973._0x522ab0,0x47a,0x4e2))),_0x2f7fc6=normalizeToLf(_0x177094['oldText']),_0x38877a=normalizeToLf(_0x177094[_0x578311(0x649,0x6ad,0x809,_0x511973._0xea4241)]),_0x5f4ae0=_0x3965ad[_0x4d78fb(_0x511973._0x519d4c,_0x511973._0xb1c41a,0x16a,0x1d8)](_0x2f7fc6);if(_0x5f4ae0===-0x1){const _0x1a6723=_0x2f7fc6[_0x578311(_0x511973._0x241cf1,_0x511973._0x5db5f2,0x68f,_0x511973._0x48ebf2)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x4d78fb(0xba,_0x511973._0x13f4d4,0x1be,_0x511973._0x534ae0)+_0x1a6723+(_0x2f7fc6[_0x4d78fb(0x21b,0x2b2,0x232,0x1f0)]>0x64?'...':'')+'\x22',{'filePath':_0x177094['filePath']});}function _0x578311(_0x417882,_0x2e34b0,_0x3c063c,_0x2cf22f){return _0x463b79(_0x3c063c,_0x2e34b0-_0x2e00b7._0x2c18e9,_0x3c063c-_0x2e00b7._0x376e74,_0x2e34b0-_0x2e00b7._0x58f149);}const _0x1c29d7=_0x3965ad['slice'](0x0,_0x5f4ae0)+_0x38877a+_0x3965ad[_0x578311(0x618,_0x511973._0x1b9194,_0x511973._0x40d778,0x6b2)](_0x5f4ae0+_0x2f7fc6[_0x4d78fb(_0x511973._0xc223b2,_0x511973._0x36f195,0x232,0x2c4)]),_0x28d131=convertEol(_0x1c29d7,_0x20590c),_0x32baf8=Buffer['from'](_0x28d131,'utf8'),_0xa52bae=sha256(_0x1aeb59),_0x1a71dd=sha256(_0x32baf8),_0x4ee1b3=_0xa52bae===_0x1a71dd,_0xe91116=_0x177094[_0x578311(0x6ed,0x5ca,_0x511973._0x2963c4,0x4f3)]??![];!_0xe91116&&!_0x4ee1b3&&await atomicWrite(_0x4e6e09,_0x32baf8);function _0x4d78fb(_0x312703,_0x27a656,_0x46cc7f,_0x3038dd){return _0xddee47(_0x46cc7f- -0x111,_0x27a656-_0xa5c086._0x3f7d42,_0x3038dd,_0x3038dd-_0xa5c086._0x1ae918);}return yield createToolOutput(_0x4ee1b3?_0x578311(_0x511973._0x5dfd2,0x729,0x6a6,0x69f):_0xe91116?_0x4d78fb(_0x511973._0x1ce179,_0x511973._0x1454a7,0x233,_0x511973._0x14be79):_0x578311(_0x511973._0x555f38,_0x511973._0x4148b0,0x878,0x883),{'filePath':_0x177094[_0x578311(_0x511973._0x41d7b3,0x725,0x799,0x84e)],'resolvedPath':_0x4e6e09,'created':_0x2ca4c1[_0x578311(0x4b7,0x54a,_0x511973._0x10697e,0x496)][_0x4d78fb(0x11e,_0x511973._0x5bb4bd,0x145,_0x511973._0x8a42de)](),'modified':_0x2ca4c1[_0x578311(0x512,0x559,0x681,0x5f4)][_0x578311(0x617,0x518,_0x511973._0x22b2a5,0x479)](),'size':_0x2ca4c1[_0x578311(_0x511973._0x3f89a1,0x489,0x44d,_0x511973._0x5dc8b2)],'eol':_0x20590c,'oldTextLength':_0x2f7fc6[_0x4d78fb(0x372,0x300,_0x511973._0x26bc3a,0x35a)],'newTextLength':_0x38877a[_0x4d78fb(_0x511973._0x2420d1,0x20e,0x232,0x348)],'bytesWritten':_0x4ee1b3||_0xe91116?0x0:_0x32baf8[_0x4d78fb(_0x511973._0x5e5589,_0x511973._0x43b1f9,_0x511973._0x26bc3a,0x1e1)],'beforeSha':_0xa52bae,'afterSha':_0x1a71dd,'dryRun':_0xe91116,'noChange':_0x4ee1b3,'lineNumbers':calculateLineNumbers(_0x3965ad,_0x2f7fc6,_0x38877a,_0x5f4ae0)}),void 0x0;}});}import{mkdir as _0x25badd,rename as _0x44c22e,stat as _0x29f176,writeFile as _0x13bf4e}from'fs/promises';import*as _0x5f017f from'path';async function atomicWrite2(_0x238361,_0x1c2f64){const _0x15adfd={_0x32fe4d:0x132,_0x1f7aba:0x6a7,_0x45abca:0x5d1,_0x4cd21c:0x57a,_0x489890:0x10d,_0x43f97c:0x9c,_0x57f469:0x9b,_0x134a71:0x96,_0x4e51c4:0x662,_0x1c3be0:0x525,_0x3b9352:0x584,_0x1e59de:0x429,_0x4f2cdc:0x50d,_0x4701ab:0x4ad,_0x5a4c18:0x4c0,_0x489573:0x590,_0x3b4b45:0x6e2,_0x443581:0x7c,_0x2bb899:0x59,_0x5573e3:0xcf},_0x427bfd={_0xc5cafa:0xd7,_0x1abdc8:0x1db},_0x580b87={_0x450961:0x47},_0x3746c4=_0x5f017f[_0x352fe8(-0x72,-0x124,-_0x15adfd._0x32fe4d,-0x91)](_0x238361);await _0x25badd(_0x3746c4,{'recursive':!![]});const _0x35a2fd=_0x5f017f[_0x2d86d5(_0x15adfd._0x1f7aba,_0x15adfd._0x45abca,0x64b,_0x15adfd._0x4cd21c)](_0x3746c4,_0x352fe8(-_0x15adfd._0x489890,_0x15adfd._0x43f97c,_0x15adfd._0x57f469,-_0x15adfd._0x134a71)+_0x5f017f[_0x2d86d5(_0x15adfd._0x4e51c4,_0x15adfd._0x1c3be0,_0x15adfd._0x3b9352,_0x15adfd._0x1e59de)](_0x238361)+'.'+Date[_0x2d86d5(_0x15adfd._0x4f2cdc,0x3c5,0x31d,_0x15adfd._0x4701ab)]()+'.'+Math[_0x2d86d5(_0x15adfd._0x5a4c18,_0x15adfd._0x489573,_0x15adfd._0x3b4b45,0x68a)]()[_0x2d86d5(0x296,0x3da,0x406,0x37f)](0x24)[_0x352fe8(-0x8d,_0x15adfd._0x443581,_0x15adfd._0x2bb899,_0x15adfd._0x5573e3)](0x2));function _0x352fe8(_0x463c7e,_0x3e16b6,_0x36e123,_0x2d384f){return _0x4ab00a(_0x463c7e-_0x580b87._0x450961,_0x3e16b6-0x17,_0x3e16b6,_0x2d384f- -0x41b);}function _0x2d86d5(_0x5e0cd9,_0x746241,_0x4dda97,_0x400957){return _0x1932a3(_0x5e0cd9,_0x746241-0x9f,_0x746241-_0x427bfd._0xc5cafa,_0x400957-_0x427bfd._0x1abdc8);}await _0x13bf4e(_0x35a2fd,_0x1c2f64),await _0x44c22e(_0x35a2fd,_0x238361);}function createFileNewTool(_0x438335={}){const _0x16af5a={_0x2b4ec5:0x558,_0x111192:0x457,_0x293196:0x6f,_0x42d78f:0xaf,_0x4d0bfd:0xce,_0x4dd5e8:0x135,_0x43c771:0x12a,_0x4e2587:0xe,_0x575e70:0xb4,_0x25c9f5:0xc7,_0x498a72:0xf8,_0x6559a7:0xd1,_0x5b4164:0x7e,_0x3abf7e:0x1a1,_0x58db18:0x49},_0x43fbd5={_0x435edf:0x314,_0x4ebe20:0x6ea,_0x18b26d:0x786,_0x35950a:0x4e3,_0x2cfe4b:0x59b,_0x301bae:0x413,_0x5d0ab7:0x289,_0x47fd7a:0x6ab,_0x2a9d2c:0x47b,_0x1773bd:0x24b,_0x6669a9:0x429,_0x33a6cb:0x7f3,_0x29d0ab:0x89d,_0x592b47:0x737,_0xd68155:0x5d3,_0xd4eb8:0x5a5,_0x38b224:0x69c},_0x44f678={_0x55d1e4:0xaa},_0x3a2373={_0x2fd465:0x119,_0xf3ab30:0x1dd};function _0x53a131(_0x216ee5,_0x43f8b6,_0x56cc31,_0x212c1b){return _0x1932a3(_0x216ee5,_0x43f8b6-0xb,_0x212c1b- -0x3c1,_0x212c1b-0x114);}const _0x635658=_0x5f017f['resolve'](_0x438335[_0xf041d9(0x3ce,0x4dd,0x443,0x30c)]??process['cwd']()),_0x1a5e9c=_0x438335[_0xf041d9(0x635,_0x16af5a._0x2b4ec5,0x5f9,0x6df)]??[];function _0xf041d9(_0x2b1c25,_0x1f645a,_0x4cdd91,_0xa4cc9a){return _0x1932a3(_0x1f645a,_0x1f645a-0x65,_0x2b1c25-_0x3a2373._0x2fd465,_0xa4cc9a-_0x3a2373._0xf3ab30);}const _0x16d7ff=_0x438335[_0xf041d9(0x47b,_0x16af5a._0x111192,0x591,0x35b)]??_0x53a131(_0x16af5a._0x293196,0x1ec,_0x16af5a._0x42d78f,_0x16af5a._0x4d0bfd);return defineTool({'name':_0x16d7ff,'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x53a131(_0x16af5a._0x4dd5e8,0x17d,-0x31,_0x16af5a._0x43c771),'properties':{'filePath':{'type':_0x53a131(-0x112,-_0x16af5a._0x4e2587,-_0x16af5a._0x575e70,0x31)},'content':{'type':_0x53a131(0x1aa,_0x16af5a._0x25c9f5,-_0x16af5a._0x498a72,0x31)}},'required':['filePath',_0x53a131(_0x16af5a._0x6559a7,_0x16af5a._0x5b4164,-_0x16af5a._0x3abf7e,-_0x16af5a._0x58db18)]},async *'execute'(_0x51456b){const _0x32a2b4={_0x583d99:0x173,_0x53c20a:0x8d,_0xb33a43:0x61c},_0x43f891=resolveAllowedPath(_0x635658,_0x1a5e9c,_0x51456b[_0x97838e(0x3c7,0x20a,_0x43fbd5._0x435edf,0x2c9)]),_0x971a6d=await _0x29f176(_0x43f891)[_0x47b964(_0x43fbd5._0x4ebe20,0x676,0x6a2,0x5bd)](()=>!![])[_0x47b964(0x7f6,0x796,0x648,_0x43fbd5._0x18b26d)](()=>![]),_0x3ec361=Buffer[_0x47b964(0x429,_0x43fbd5._0x35950a,_0x43fbd5._0x2cfe4b,_0x43fbd5._0x301bae)](_0x51456b['content'],_0x97838e(0x36,0x26,0x17f,_0x43fbd5._0x5d0ab7));function _0x97838e(_0x299462,_0x38566f,_0x2433cb,_0x2e6d12){return _0x53a131(_0x38566f,_0x38566f-_0x44f678._0x55d1e4,_0x2433cb-0x83,_0x2433cb-0x174);}await atomicWrite2(_0x43f891,_0x3ec361),yield createToolOutput(_0x47b964(0x857,0x6fc,_0x43fbd5._0x47fd7a,0x77f)+_0x51456b[_0x97838e(_0x43fbd5._0x2a9d2c,_0x43fbd5._0x1773bd,0x314,_0x43fbd5._0x6669a9)]+'.',{'filePath':_0x51456b[_0x47b964(_0x43fbd5._0x33a6cb,0x7bc,_0x43fbd5._0x29d0ab,_0x43fbd5._0x592b47)],'resolvedPath':_0x43f891,'bytes':_0x3ec361['length'],'lines':_0x51456b[_0x47b964(0x565,_0x43fbd5._0xd68155,_0x43fbd5._0xd4eb8,0x578)]['split'](/\r?\n/)[_0x47b964(0x580,_0x43fbd5._0x38b224,0x5ed,0x5c4)],'created':new Date()['toISOString'](),'overwritten':_0x971a6d});function _0x47b964(_0x20ae93,_0x13946e,_0x3725a1,_0x2acbb5){return _0x53a131(_0x2acbb5,_0x13946e-_0x32a2b4._0x583d99,_0x3725a1-_0x32a2b4._0x53c20a,_0x13946e-_0x32a2b4._0xb33a43);}return void 0x0;}});}import{readFile as _0xb15a68,stat as _0x4781f2}from'fs/promises';import*as _0x275131 from'path';function stripUtfBom(_0x7c54bd){const _0x15dea2={_0x16ec02:0x574,_0x347202:0x548},_0x31ff6d={_0x278038:0x2b,_0x613c12:0x35},_0x5a8e0a={_0x2acf20:0x171};function _0x2155c7(_0x228ef1,_0xd72f79,_0x1244f1,_0x13e244){return _0x1932a3(_0x228ef1,_0xd72f79-0x9b,_0xd72f79-0x4b,_0x13e244-_0x5a8e0a._0x2acf20);}function _0x4a7d1b(_0x13009f,_0x4ad35b,_0x50b367,_0x108a70){return _0x4ab00a(_0x13009f-_0x31ff6d._0x278038,_0x4ad35b-0x199,_0x50b367,_0x13009f- -_0x31ff6d._0x613c12);}return _0x7c54bd[_0x2155c7(0x4e0,0x57d,0x569,_0x15dea2._0x16ec02)](0x0)===0xfeff?_0x7c54bd[_0x4a7d1b(0x4b5,_0x15dea2._0x347202,0x3c8,0x569)](0x1):_0x7c54bd;}function clampLine(_0x4d76ba,_0x12be83){const _0x338398={_0x57c0c9:0x11e,_0x435dbb:0xd6,_0x34fb07:0x10b,_0x596e2f:0x1d},_0xc30f13={_0x36b943:0x4b6,_0x148ce3:0x1b9},_0x56c70a={_0x180b00:0x19a};function _0x3cd906(_0x70cb80,_0x163310,_0x361346,_0x199e30){return _0x4ab00a(_0x70cb80-_0x56c70a._0x180b00,_0x163310-0x177,_0x163310,_0x361346- -0x4eb);}function _0x4716fd(_0x25c059,_0x179be7,_0x43124c,_0x2e7a39){return _0x1932a3(_0x25c059,_0x179be7-0x67,_0x2e7a39- -_0xc30f13._0x36b943,_0x2e7a39-_0xc30f13._0x148ce3);}if(!Number[_0x4716fd(_0x338398._0x57c0c9,0x1ec,_0x338398._0x435dbb,0x99)](_0x4d76ba))return 0x1;return Math[_0x3cd906(0xa1,-0x117,0x5b,0x19c)](0x1,Math[_0x3cd906(-0x4,0x69,-_0x338398._0x34fb07,-0x8a)](Math[_0x3cd906(_0x338398._0x596e2f,-0x106,-0x104,-0xd2)](_0x4d76ba),_0x12be83));}function createFileReadTool(_0x43221b={}){const _0x42297d={_0x651de0:0x134,_0x231fbe:0xb1,_0x187719:0x6a,_0x5ced79:0x2c,_0x4ef0b3:0xa2,_0x5214f1:0x2,_0x579a81:0x1a5,_0x35aaf7:0x397,_0x2b094c:0x23b,_0xb7c2e3:0x36c,_0x387d5d:0x1f9,_0x462005:0x21e,_0xe566af:0x175,_0x14c047:0xfd,_0x1a9aa2:0x17b,_0x518be4:0x110,_0x4737e4:0x228,_0x3511ff:0x2bc,_0x2a9c60:0x260,_0x10899f:0x1a4,_0x2ad564:0x338,_0x3e4694:0x2f5,_0x5223c8:0x49,_0x7ea634:0x53,_0x1bafaa:0x4c,_0x1ec7cf:0x84,_0x9c374c:0x77,_0x199077:0x181,_0x183264:0x106,_0x13e399:0xc1},_0x407ecb={_0x5895d0:0x4b1,_0x1e9505:0x670,_0x3d42e0:0x66e,_0x28d80a:0x523,_0x6b7b93:0x3e7,_0x31a1b1:0x637,_0x465935:0x6a1,_0x521219:0x6df,_0x1953af:0x544,_0xa8e69f:0x3c7,_0x3df1b9:0x26f,_0x3f073f:0x5a4,_0x1728bd:0x5a0,_0x3051f4:0x563,_0x3ef18e:0x5c1,_0x3f1153:0x577,_0x3d3b1e:0x455,_0x388d66:0x3bc,_0x2d75b3:0x50a,_0x346f84:0x6d2,_0x574366:0x56d,_0x32aa39:0x565,_0x2a9a5f:0x613,_0x5ab5d0:0x5a4,_0x452477:0x6b9,_0x48ff80:0x5bf,_0x45499a:0x407,_0xce239c:0x44b,_0x1e1d65:0x4d2,_0x149c20:0x778,_0x4da77b:0x60e,_0x3b1809:0x619,_0x56410c:0x4a3,_0x2cb685:0x4b8,_0x593b5e:0x49b},_0x562abd={_0x1c4880:0x13d,_0x29de25:0x181},_0x178e1a={_0x13573:0x150};function _0xee431d(_0x14b0f0,_0x4e9370,_0x1b7c55,_0x27ba02){return _0x4ab00a(_0x14b0f0-_0x178e1a._0x13573,_0x4e9370-0xe2,_0x1b7c55,_0x14b0f0- -0x326);}const _0x4fe57a=_0x275131[_0x5142b3(_0x42297d._0x651de0,_0x42297d._0x231fbe,0x7e,_0x42297d._0x187719)](_0x43221b[_0x5142b3(0x3c,-_0x42297d._0x5ced79,-_0x42297d._0x4ef0b3,-_0x42297d._0x5214f1)]??process[_0xee431d(0x25a,0x166,0x327,_0x42297d._0x579a81)]()),_0x25b3f3=_0x43221b[_0x5142b3(_0x42297d._0x35aaf7,_0x42297d._0x2b094c,_0x42297d._0xb7c2e3,_0x42297d._0x387d5d)]??[];function _0x5142b3(_0x272e06,_0x51a589,_0x4a70e5,_0x5471cf){return _0x1932a3(_0x5471cf,_0x51a589-_0x562abd._0x1c4880,_0x51a589- -0x2e1,_0x5471cf-_0x562abd._0x29de25);}const _0x4f7349=_0x43221b['name']??_0xee431d(_0x42297d._0x462005,_0x42297d._0xe566af,_0x42297d._0x14c047,_0x42297d._0x1a9aa2);return defineTool({'name':_0x4f7349,'description':_0xee431d(0x151,_0x42297d._0x518be4,_0x42297d._0x4737e4,0x16e),'inputSchema':{'type':_0xee431d(_0x42297d._0x3511ff,_0x42297d._0x2a9c60,_0x42297d._0x10899f,0x176),'properties':{'path':{'type':_0xee431d(0x1c3,_0x42297d._0x2ad564,_0x42297d._0x3e4694,0x2e4)},'lineStart':{'type':_0x5142b3(0xd8,_0x42297d._0x5223c8,_0x42297d._0x7ea634,_0x42297d._0x1bafaa),'description':_0x5142b3(_0x42297d._0x1ec7cf,_0x42297d._0x9c374c,0x29,0x1e0)},'lineEnd':{'type':'number','description':_0xee431d(0x1aa,_0x42297d._0x199077,0x195,_0x42297d._0x183264)}},'required':[_0xee431d(0x230,0x388,_0x42297d._0x13e399,0x371)]},async *'execute'(_0x37b7eb){const _0x4ab43f=resolveAllowedPath(_0x4fe57a,_0x25b3f3,_0x37b7eb[_0x3f3d5c(0x523,0x58c,_0x407ecb._0x5895d0,_0x407ecb._0x1e9505)]);function _0x3f3d5c(_0x385d05,_0x5bced4,_0x3392c9,_0x3274a0){return _0x5142b3(_0x385d05-0x76,_0x385d05-0x3a5,_0x3392c9-0x99,_0x5bced4);}await assertWorkspaceFile(_0x4ab43f);const _0x63d751=await _0x4781f2(_0x4ab43f),_0x3e884e=await _0xb15a68(_0x4ab43f);if(isProbablyBinary(_0x3e884e))throw new ToolExecutionError(_0x142b9c(0x60c,0x671,0x5cb,_0x407ecb._0x3d42e0)+_0x37b7eb[_0x3f3d5c(_0x407ecb._0x28d80a,0x3ff,_0x407ecb._0x6b7b93,0x69a)],{'path':_0x37b7eb[_0x142b9c(_0x407ecb._0x31a1b1,_0x407ecb._0x465935,_0x407ecb._0x521219,_0x407ecb._0x1953af)]});let _0x124c75=_0x3e884e[_0x3f3d5c(_0x407ecb._0xa8e69f,_0x407ecb._0x3df1b9,0x490,0x348)](_0x142b9c(_0x407ecb._0x3f073f,0x6d4,0x699,_0x407ecb._0x1728bd));function _0x142b9c(_0x34ff76,_0x4df447,_0x5eff8d,_0x418b9b){return _0xee431d(_0x34ff76-0x407,_0x4df447-0x11b,_0x5eff8d,_0x418b9b-0x184);}const _0x2c40a0=_0x124c75[_0x3f3d5c(0x5f6,_0x407ecb._0x3051f4,_0x407ecb._0x3ef18e,_0x407ecb._0x3f1153)](0x0)===0xfeff;_0x124c75=stripUtfBom(_0x124c75);const _0x4c5f97=_0x124c75['split'](/\r?\n/),_0x22ae12={'path':_0x37b7eb[_0x3f3d5c(0x523,_0x407ecb._0x3d3b1e,_0x407ecb._0x388d66,0x489)],'resolvedPath':_0x4ab43f,'created':_0x63d751[_0x142b9c(0x55e,_0x407ecb._0x2d75b3,0x4a7,_0x407ecb._0x346f84)]['toISOString'](),'modified':_0x63d751[_0x142b9c(_0x407ecb._0x574366,0x507,0x6a4,0x43c)]['toISOString'](),'size':_0x63d751[_0x142b9c(0x49d,_0x407ecb._0x32aa39,0x424,_0x407ecb._0x2a9a5f)],'encoding':_0x142b9c(_0x407ecb._0x5ab5d0,_0x407ecb._0x452477,0x5ad,0x5ba),'bomStripped':_0x2c40a0,'truncated':![],'totalLines':_0x4c5f97[_0x142b9c(0x619,0x6d0,0x554,0x769)]};if(_0x37b7eb['lineStart']!==void 0x0||_0x37b7eb[_0x142b9c(0x4bc,0x432,0x388,_0x407ecb._0x48ff80)]!==void 0x0){const _0x4cb292=clampLine(_0x37b7eb[_0x3f3d5c(_0x407ecb._0x45499a,0x4b3,0x4de,_0x407ecb._0xce239c)]??0x1,_0x4c5f97[_0x142b9c(0x619,_0x407ecb._0x1e1d65,_0x407ecb._0x149c20,_0x407ecb._0x4da77b)]),_0x1333a4=clampLine(_0x37b7eb['lineEnd']??_0x4c5f97['length'],_0x4c5f97[_0x142b9c(_0x407ecb._0x3b1809,0x648,_0x407ecb._0x56410c,_0x407ecb._0x2cb685)]),_0x3859dd=Math[_0x3f3d5c(0x3ad,_0x407ecb._0x593b5e,0x244,0x2ef)](_0x4cb292,_0x1333a4),_0x27c59f=Math[_0x142b9c(0x627,0x78d,0x534,_0x407ecb._0x521219)](_0x4cb292,_0x1333a4),_0x52e5a9=_0x4c5f97['slice'](_0x3859dd-0x1,_0x27c59f)['map']((_0x1aa310,_0x4c68cf)=>_0x3859dd+_0x4c68cf+'|'+_0x1aa310)['join']('\x0a');return yield createToolOutput(_0x52e5a9,{..._0x22ae12,'lineRange':{'lineStart':_0x3859dd,'lineEnd':_0x27c59f,'linesTotal':_0x4c5f97[_0x142b9c(_0x407ecb._0x3b1809,0x766,0x639,0x646)]}}),void 0x0;}return yield createToolOutput(_0x124c75,_0x22ae12),void 0x0;}});}import{stat as _0x3f4317}from'fs/promises';import*as _0x50f29a from'path';import{execSync,spawn as _0x542955}from'child_process';import{existsSync}from'fs';import{stat as _0x58305b}from'fs/promises';import*as _0x23a905 from'os';import*as _0x47b600 from'path';import{rgPath as _0x1568de}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x1ea8cc={_0x4a684d:0x20c,_0x4132a8:0x17c,_0x5326f0:0x1c7,_0xe5119d:0x359,_0x22e631:0x394,_0x3ca359:0x3f9,_0x4f8dd2:0x2df,_0xc25243:0x220,_0x3499f4:0x4dd,_0x3fec8c:0x54b,_0x5dd647:0xcf,_0x5b7873:0x230,_0x42c573:0x4a5,_0x2b8e05:0x3df,_0x4b436e:0x4eb,_0x56696d:0x59b,_0x1afda8:0x1fc,_0x48dc60:0x355,_0x489927:0x547,_0x3dba17:0x535,_0x2f54da:0x418,_0x19ef9f:0x375,_0xd18776:0x376,_0x506268:0x623,_0x186701:0x4f2,_0x5a4d18:0x4d0,_0x272408:0x318,_0x120dc1:0x3f1,_0xe91d4:0x4a8,_0x54aec4:0x6c3,_0x2b42bd:0x5b0,_0x345d24:0x43d,_0x4016ce:0x33f,_0x51293d:0x4db,_0x5c9359:0x3f0,_0x47e7dd:0x4e0,_0xe9a625:0x564,_0x11d1bd:0x2d5,_0x51542c:0x447,_0x4c8377:0x2d0,_0x2daa35:0x697,_0x468de3:0x145,_0x543765:0x23d},_0x5a4574={_0x8d7e90:0xf7},_0x16476f={_0x12057f:0xb1,_0x20f607:0x192,_0xdd7779:0x84},_0x1d4cb3=_0x23a905['platform']()===_0x44572a(_0x1ea8cc._0x4a684d,_0x1ea8cc._0x4132a8,0x153,_0x1ea8cc._0x5326f0),_0x47cf35=_0x1d4cb3?[_0x47b600['join'](process[_0x34c4be(0x406,_0x1ea8cc._0xe5119d,0x42d,_0x1ea8cc._0x22e631)]['LOCALAPPDATA']||'',_0x34c4be(0x45b,_0x1ea8cc._0x3ca359,0x468,0x3a4),_0x44572a(0x341,0x1b7,0x422,_0x1ea8cc._0x4f8dd2),_0x44572a(_0x1ea8cc._0xc25243,0x254,0x80,0x1d3)),_0x47b600[_0x44572a(_0x1ea8cc._0x3499f4,_0x1ea8cc._0x3fec8c,0x36b,0x403)](process[_0x44572a(_0x1ea8cc._0x5dd647,0x2df,_0x1ea8cc._0x5b7873,0x1a4)]['ProgramFiles']||'',_0x34c4be(_0x1ea8cc._0x42c573,_0x1ea8cc._0x2b8e05,_0x1ea8cc._0x4b436e,_0x1ea8cc._0x56696d),_0x44572a(0x2ae,0x48d,_0x1ea8cc._0x1afda8,_0x1ea8cc._0x48dc60)),_0x47b600[_0x34c4be(_0x1ea8cc._0x489927,0x6b5,0x68c,_0x1ea8cc._0x3dba17)](process[_0x34c4be(_0x1ea8cc._0x2f54da,_0x1ea8cc._0x19ef9f,0x42d,_0x1ea8cc._0xd18776)][_0x34c4be(_0x1ea8cc._0x506268,0x434,_0x1ea8cc._0x186701,0x5f6)]||'',_0x34c4be(_0x1ea8cc._0x5a4d18,0x529,_0x1ea8cc._0x4b436e,0x4b8),_0x44572a(0x2b5,0x1f4,_0x1ea8cc._0x272408,0x355))]:[_0x44572a(0x289,0x49b,0x35b,_0x1ea8cc._0x120dc1),_0x34c4be(_0x1ea8cc._0xe91d4,0x6a8,0x591,_0x1ea8cc._0x54aec4),_0x34c4be(_0x1ea8cc._0x2b42bd,0x51e,_0x1ea8cc._0x345d24,0x3fd),_0x44572a(0x413,_0x1ea8cc._0x4016ce,_0x1ea8cc._0x51293d,0x375)];for(const _0x3e94f9 of _0x47cf35){if(existsSync(_0x3e94f9))return _0x3e94f9;}function _0x34c4be(_0x1e2921,_0x33d2a5,_0x50ff6d,_0x10fb0b){return _0x1932a3(_0x1e2921,_0x33d2a5-_0x16476f._0x12057f,_0x50ff6d-_0x16476f._0x20f607,_0x10fb0b-_0x16476f._0xdd7779);}try{const _0x4241af=_0x1d4cb3?_0x34c4be(0x4f0,_0x1ea8cc._0x5c9359,_0x1ea8cc._0x47e7dd,_0x1ea8cc._0xe9a625):'which\x20rg',_0x2544f3=execSync(_0x4241af,{'encoding':_0x44572a(0x336,0x2d2,0x1ba,_0x1ea8cc._0x11d1bd),'stdio':['pipe',_0x44572a(0x1fa,0x2e2,_0x1ea8cc._0x51542c,_0x1ea8cc._0x4c8377),_0x34c4be(0x74e,_0x1ea8cc._0x2daa35,0x6df,0x70c)]})[_0x44572a(0x2b4,0x17f,_0x1ea8cc._0x468de3,_0x1ea8cc._0x543765)]()['split'](/\r?\n/)[0x0];if(_0x2544f3&&existsSync(_0x2544f3))return _0x2544f3;}catch{return null;}function _0x44572a(_0x86a00c,_0x2f76fd,_0x30307b,_0x417c8b){return _0x1932a3(_0x30307b,_0x2f76fd-0x40,_0x417c8b- -_0x5a4574._0x8d7e90,_0x417c8b-0x8d);}return null;}async function filepath(){if(cachedRgPath)return cachedRgPath;if(_0x1568de&&existsSync(_0x1568de))return cachedRgPath=_0x1568de,_0x1568de;const _0xaf8ff1=findSystemRipgrep();if(!_0xaf8ff1)throw new Error('ripgrep\x20executable\x20not\x20found.\x20Install\x20rg\x20to\x20use\x20Glob\x20and\x20Grep\x20tools.');return cachedRgPath=_0xaf8ff1,_0xaf8ff1;}async function*files(_0x50aa1a){const _0x569783={_0x440031:0x66e,_0x41cfe5:0x74b,_0x51129b:0x529,_0x31662a:0x599,_0x2261be:0x345,_0x214ebb:0x422,_0x446586:0x26e,_0x455fbc:0x587,_0x3b8c04:0x544,_0x2b36c5:0x46c,_0x1d369b:0x403,_0x4c7aad:0x4ca,_0x55b1c8:0x481,_0x258d0b:0x4bc,_0x568f76:0x5b3,_0x1f06d5:0x47c,_0x5850ba:0x42a,_0x4ba881:0x3a4,_0x3c1662:0x2d7,_0x2de1bd:0x595,_0x520cb3:0x52d,_0x4a0fa6:0x62d,_0x4da6bf:0x7be,_0x432691:0x7c1,_0x3c7111:0x670,_0x3d4eb8:0x5aa,_0x1f6c1e:0x5ae,_0x10c1f9:0x424,_0x31a938:0x358,_0x9a1e99:0x360,_0x5c5e52:0x441,_0x3288c5:0x505,_0x19f9de:0x3fc,_0x42c732:0x3c3,_0x3da02f:0x3aa,_0x5e68f2:0x3c4,_0x14be2a:0x391,_0x43c659:0x471,_0x234c29:0x2f2,_0x21c285:0x2b8},_0x3f62e7={_0x26167f:0x1e2,_0x1b8e5b:0x1e7},_0x5c7126=await filepath(),_0x3109e6=await _0x58305b(_0x50aa1a[_0x338c4d(0x778,_0x569783._0x440031,0x670,_0x569783._0x41cfe5)])['catch'](()=>null);if(!_0x3109e6?.[_0x338c4d(0x4cf,0x68f,_0x569783._0x51129b,0x3f7)]())throw Object['assign'](new Error(_0xa29204(_0x569783._0x31662a,0x4b2,0x474,_0x569783._0x2261be)+_0x50aa1a['cwd']+'\x27'),{'code':_0xa29204(_0x569783._0x214ebb,_0x569783._0x446586,0x34f,0x36d)});const _0x577191=[_0x338c4d(0x459,_0x569783._0x455fbc,_0x569783._0x3b8c04,0x64e),_0xa29204(_0x569783._0x2b36c5,_0x569783._0x1d369b,_0x569783._0x4c7aad,_0x569783._0x55b1c8),_0x338c4d(_0x569783._0x258d0b,0x4cc,0x5a5,_0x569783._0x568f76),_0xa29204(0x414,_0x569783._0x1f06d5,0x480,0x331)];function _0x338c4d(_0x51e5c6,_0x4a029f,_0x40f766,_0x3d2da4){return _0x1932a3(_0x3d2da4,_0x4a029f-_0x3f62e7._0x26167f,_0x40f766-_0x3f62e7._0x1b8e5b,_0x3d2da4-0x167);}for(const _0xdb3c75 of _0x50aa1a[_0xa29204(_0x569783._0x5850ba,0x49e,_0x569783._0x4ba881,_0x569783._0x3c1662)]??[]){_0x577191['push'](_0x338c4d(_0x569783._0x2de1bd,_0x569783._0x520cb3,_0x569783._0x4a0fa6,0x65c)+_0xdb3c75);}const _0x14557c=_0x542955(_0x5c7126,_0x577191,{'cwd':_0x50aa1a[_0x338c4d(_0x569783._0x4da6bf,_0x569783._0x432691,_0x569783._0x3c7111,0x606)],'stdio':[_0xa29204(0x495,0x5c5,_0x569783._0x3d4eb8,0x4e7),_0x338c4d(0x69c,0x46e,_0x569783._0x1f6c1e,0x463),_0xa29204(0x4b6,0x38b,_0x569783._0x10c1f9,0x559)]});function _0xa29204(_0x1825e8,_0x2e4a27,_0x1fcfd4,_0x387a64){return _0x4ab00a(_0x1825e8-0x168,_0x2e4a27-0x1c4,_0x2e4a27,_0x1fcfd4- -0x9a);}let _0x3da8cb='';for await(const _0x5af354 of _0x14557c['stdout']??[]){_0x3da8cb+=_0x5af354[_0xa29204(_0x569783._0x31a938,0x380,_0x569783._0x9a1e99,0x405)]();const _0x226c5e=_0x3da8cb['split'](/\r?\n/);_0x3da8cb=_0x226c5e[_0x338c4d(_0x569783._0x5c5e52,_0x569783._0x3288c5,0x4ef,_0x569783._0x19f9de)]()??'';for(const _0x1b952a of _0x226c5e){if(_0x1b952a[_0xa29204(0x403,_0x569783._0x42c732,0x49e,_0x569783._0x3da02f)]>0x0)yield _0x1b952a;}}_0x3da8cb[_0xa29204(0x2b8,_0x569783._0x5e68f2,_0x569783._0x14be2a,_0x569783._0x43c659)]()['length']>0x0&&(yield _0x3da8cb[_0xa29204(_0x569783._0x234c29,0x446,_0x569783._0x14be2a,_0x569783._0x21c285)]());}function parseMatchLine(_0x13dc06,_0x64e55a){const _0x41d341={_0x1f63c8:0x555,_0x4e3d99:0x52c,_0x5153ff:0xf1,_0x3ea2c3:0xac,_0x122429:0x7a,_0xe93183:0x1ff,_0x50104c:0x100,_0x415882:0x456,_0x3bd1e5:0x4b0,_0x22188a:0x5d6,_0xd93c47:0x3fb,_0x52a8a9:0x571,_0x5593c3:0x4ea,_0x1a7cf7:0x5ef,_0x5258c1:0x121,_0x39e9e5:0x5f8,_0x5d6033:0xa3,_0x124016:0x68,_0x4343c5:0x5a3},_0xa9a215={_0x298bb5:0x88},_0x26ed45={_0x1d30f1:0x161};if(!_0x13dc06||_0x13dc06==='--')return null;const _0x3ddc34=_0x13dc06[_0x3865f3(0x353,_0x41d341._0x1f63c8,0x44d,_0x41d341._0x4e3d99)]('|');function _0x339e57(_0x1bdd8f,_0x27f833,_0x5192f8,_0xe5f4ab){return _0x4ab00a(_0x1bdd8f-_0x26ed45._0x1d30f1,_0x27f833-0x11b,_0x5192f8,_0x1bdd8f- -0x447);}function _0x3865f3(_0x4ac797,_0x315bac,_0xdf803d,_0x144721){return _0x4ab00a(_0x4ac797-0xe9,_0x315bac-_0xa9a215._0x298bb5,_0x4ac797,_0xdf803d- -0x4e);}if(_0x64e55a&&_0x3ddc34[_0x339e57(_0x41d341._0x5153ff,_0x41d341._0x3ea2c3,0x46,-_0x41d341._0x122429)]>=0x4&&Number['isFinite'](Number['parseInt'](_0x3ddc34[0x2]??'',0xa))){const _0x29927b=Number['parseInt'](_0x3ddc34[0x1]??'',0xa);if(!Number[_0x339e57(_0x41d341._0xe93183,_0x41d341._0x50104c,0x343,0x1e3)](_0x29927b)||!_0x3ddc34[0x0])return null;return{'filePath':_0x3ddc34[0x0],'lineNum':_0x29927b,'lineText':_0x3ddc34[_0x3865f3(0x457,_0x41d341._0x415882,0x49c,0x550)](0x3)[_0x3865f3(_0x41d341._0x3bd1e5,_0x41d341._0x22188a,0x5a3,0x6aa)]('|')};}if(_0x3ddc34[_0x3865f3(_0x41d341._0xd93c47,_0x41d341._0x52a8a9,_0x41d341._0x5593c3,_0x41d341._0x1a7cf7)]>=0x3){const _0x53f807=Number[_0x339e57(-0xd3,-0xad,-0xa0,-_0x41d341._0x5258c1)](_0x3ddc34[0x1]??'',0xa);if(!Number[_0x3865f3(0x623,0x480,_0x41d341._0x39e9e5,0x67b)](_0x53f807)||!_0x3ddc34[0x0])return null;return{'filePath':_0x3ddc34[0x0],'lineNum':_0x53f807,'lineText':_0x3ddc34[_0x339e57(_0x41d341._0x5d6033,0x4b,0xa0,_0x41d341._0x124016)](0x2)[_0x3865f3(0x64d,0x4b8,_0x41d341._0x4343c5,0x55b)]('|'),..._0x64e55a?{'isContext':!![]}:{}};}return null;}async function search(_0x12f50e){const _0x57f740={_0x554c0a:0x32,_0x205206:0x294,_0x138600:0x20,_0x5e9569:0x830,_0x5018e5:0x690,_0x327b87:0x634,_0x116814:0x5e7,_0xbc7281:0x55b,_0x234402:0x4b5,_0x52b639:0x254,_0x3e3cf2:0x212,_0x437de3:0x434,_0x2efd24:0x354,_0x25e67b:0x391,_0x23cecc:0x452,_0x2e8cb0:0x4bd,_0x30f66a:0x3ef,_0x10e549:0x31e,_0xe4789c:0x2cf,_0x429979:0x1b8,_0x80dedc:0x1c9,_0x5aae83:0x3a6,_0x1159ac:0x383,_0x11401c:0x1be,_0x3ff8bd:0x2e9,_0x6cf5e9:0x47b,_0x31e2c6:0x4b0,_0x5b5e1c:0x73c,_0xfe7e01:0x733,_0xd25808:0x698,_0x5cab9f:0x68e,_0x53e279:0x6f4,_0xca4783:0x3bf,_0x19c403:0x4e0,_0x143098:0x42a,_0x1d584a:0x4e8,_0x3b7ff7:0x7d2,_0x437147:0x84a,_0x3f1723:0x7df,_0x59d4d9:0x5bc,_0x1fbef6:0x784,_0x232d7a:0x5e4,_0x4ebff7:0x5f1,_0x2214c0:0x28f,_0x58f8a6:0x3ac,_0x1f210c:0x3f9,_0x20e527:0x5b3,_0x3f1990:0x647,_0x213e9a:0x6b5,_0x367d04:0x715},_0x4ce2a3={_0x17f66b:0x7a,_0x302790:0x2d,_0x370a57:0x8b,_0xe51ea1:0x135,_0x17bc4a:0x45,_0x39c0a5:0x1e3,_0x25535d:0x2b8,_0x4a71c8:0x133,_0x614c8d:0x228,_0x9cb32c:0x307,_0x53b066:0x347,_0x18c88c:0x91},_0x36e495={_0x3740bd:0x674,_0x132de9:0x7d9,_0x14695b:0x215,_0x5b07ae:0x36d,_0x165c09:0x6b7,_0x35178c:0x6e0,_0x504568:0x5dd,_0x37cd04:0x7af,_0x480e4c:0x6a2},_0x4394f8={_0x623a78:0x610,_0x164861:0xdc},_0x6b421c={_0x4d8310:0x1ed,_0x156ae5:0x146},_0x457d75={_0x53df64:0x1be};function _0x396f76(_0x162ba9,_0x3411e0,_0xf2352d,_0x4b7011){return _0x1932a3(_0xf2352d,_0x3411e0-0x75,_0x3411e0-_0x457d75._0x53df64,_0x4b7011-0x1ef);}const _0x2c24aa=await filepath();if(_0x12f50e[_0x5a8f43(_0x57f740._0x554c0a,_0x57f740._0x205206,_0x57f740._0x138600,0x166)]){const _0x19375f=await _0x58305b(_0x12f50e[_0x5a8f43(0x2c7,0x25c,0x19c,0x166)])[_0x396f76(_0x57f740._0x5e9569,0x6f9,_0x57f740._0x5018e5,_0x57f740._0x327b87)](()=>null);if(!_0x19375f?.[_0x396f76(0x6a6,_0x57f740._0x116814,_0x57f740._0xbc7281,0x66b)]())throw Object[_0x396f76(0x474,_0x57f740._0x234402,0x4e6,0x4cc)](new Error(_0x5a8f43(_0x57f740._0x52b639,_0x57f740._0x3e3cf2,_0x57f740._0x437de3,_0x57f740._0x2efd24)+_0x12f50e[_0x396f76(_0x57f740._0x25e67b,_0x57f740._0x23cecc,_0x57f740._0x2e8cb0,_0x57f740._0x30f66a)]+'\x27'),{'code':'ENOENT'});}else{const _0x2e03a9=await _0x58305b(_0x12f50e['cwd'])['catch'](()=>null);if(!_0x2e03a9?.['isDirectory']())throw Object[_0x5a8f43(_0x57f740._0x10e549,_0x57f740._0xe4789c,_0x57f740._0x429979,_0x57f740._0x80dedc)](new Error(_0x5a8f43(_0x57f740._0x5aae83,_0x57f740._0x1159ac,_0x57f740._0x11401c,_0x57f740._0x3ff8bd)+_0x12f50e['cwd']+'\x27'),{'code':_0x396f76(_0x57f740._0x6cf5e9,_0x57f740._0x31e2c6,0x41e,0x605)});}const _0x14dd43=['-nH','--field-match-separator=|',_0x396f76(0x648,0x5d4,_0x57f740._0x5b5e1c,_0x57f740._0xfe7e01),'--regexp',_0x12f50e[_0x396f76(0x80d,_0x57f740._0xd25808,_0x57f740._0x5cab9f,_0x57f740._0x53e279)]],_0x42105e=typeof _0x12f50e[_0x5a8f43(_0x57f740._0xca4783,0x406,_0x57f740._0x19c403,0x3f4)]===_0x396f76(_0x57f740._0x143098,_0x57f740._0x1d584a,0x5ff,0x40d)&&_0x12f50e[_0x396f76(_0x57f740._0x3b7ff7,0x6e0,_0x57f740._0x437147,_0x57f740._0x3f1723)]>0x0;_0x42105e&&_0x14dd43[_0x396f76(_0x57f740._0x59d4d9,0x652,_0x57f740._0x1fbef6,0x5a5)]('-C',String(_0x12f50e[_0x396f76(_0x57f740._0x232d7a,0x6e0,0x6fd,_0x57f740._0x4ebff7)]),'--column');_0x12f50e['glob']&&!_0x12f50e[_0x396f76(0x40d,0x452,0x378,_0x57f740._0x437de3)]&&_0x14dd43['push']('--glob',_0x12f50e['glob']);_0x14dd43[_0x5a8f43(_0x57f740._0x2214c0,0x434,_0x57f740._0x58f8a6,0x366)](_0x12f50e[_0x396f76(_0x57f740._0x1f210c,_0x57f740._0x23cecc,_0x57f740._0x20e527,0x300)]??_0x12f50e[_0x396f76(0x544,_0x57f740._0x3f1990,_0x57f740._0x213e9a,_0x57f740._0x367d04)]);function _0x5a8f43(_0x17015c,_0x57a68a,_0x17d5c2,_0x5e8875){return _0x4ab00a(_0x17015c-_0x6b421c._0x4d8310,_0x57a68a-_0x6b421c._0x156ae5,_0x17d5c2,_0x5e8875- -0x225);}return await new Promise((_0x374e6f,_0x4fca62)=>{const _0x3ce846={_0xa4bc61:0x120},_0x19533b=_0x542955(_0x2c24aa,_0x14dd43,{'cwd':_0x12f50e['cwd'],'stdio':[_0x15dc35(_0x4ce2a3._0x17f66b,0xfb,-_0x4ce2a3._0x302790,0x134),'pipe',_0x15dc35(-0x72,-_0x4ce2a3._0x370a57,-_0x4ce2a3._0xe51ea1,-_0x4ce2a3._0x17bc4a)]});function _0xa0997(_0x4b1f64,_0x53ed24,_0x2549d2,_0x4b4e42){return _0x396f76(_0x4b1f64-0x11,_0x53ed24- -0x2fa,_0x4b1f64,_0x4b4e42-_0x3ce846._0xa4bc61);}let _0x4da8d9='';function _0x15dc35(_0x5eb139,_0x3a8ff4,_0x112fe6,_0x517980){return _0x396f76(_0x5eb139-0x136,_0x3a8ff4- -_0x4394f8._0x623a78,_0x5eb139,_0x517980-_0x4394f8._0x164861);}let _0x2bec1e='';_0x19533b['stdout']?.['on'](_0xa0997(0x1ba,_0x4ce2a3._0x39c0a5,_0x4ce2a3._0x25535d,0x1cf),_0x3180bf=>{_0x4da8d9+=_0x3180bf['toString']();}),_0x19533b['stderr']?.['on'](_0x15dc35(-0x1e4,-_0x4ce2a3._0x4a71c8,-0x228,-_0x4ce2a3._0x614c8d),_0x2f7504=>{_0x2bec1e+=_0x2f7504['toString']();}),_0x19533b['on'](_0xa0997(0x1c4,_0x4ce2a3._0x9cb32c,_0x4ce2a3._0x53b066,0x223),_0x833d68=>{const _0x33d36a={_0x473d0f:0x31e,_0x5ebf2d:0x110};if(_0x833d68===0x1&&_0x4da8d9===''){_0x374e6f([]);return;}function _0xdf5119(_0x287473,_0x5b3b80,_0x341139,_0x3de979){return _0x15dc35(_0x287473,_0x341139-0x68b,_0x341139-0xda,_0x3de979-0x111);}if(_0x833d68!==0x0&&_0x833d68!==0x1){_0x4fca62(new Error(_0xdf5119(_0x36e495._0x3740bd,0x661,0x735,_0x36e495._0x132de9)+_0x2bec1e));return;}const _0x3f25e3=_0x12f50e[_0x5afce2(_0x36e495._0x14695b,0x260,0x10d,_0x36e495._0x5b07ae)]??0x64,_0x3660a8=[];function _0x5afce2(_0xd8d739,_0x4d35d1,_0x4eea1c,_0x2c59b2){return _0x15dc35(_0x4d35d1,_0xd8d739-_0x33d36a._0x473d0f,_0x4eea1c-0x1ba,_0x2c59b2-_0x33d36a._0x5ebf2d);}for(const _0x5e1cbf of _0x4da8d9[_0xdf5119(_0x36e495._0x165c09,_0x36e495._0x35178c,_0x36e495._0x504568,0x495)](/\r?\n/)){if(_0x3660a8[_0xdf5119(0x53d,_0x36e495._0x37cd04,0x67a,_0x36e495._0x480e4c)]>=_0x3f25e3)break;const _0x32e055=parseMatchLine(_0x5e1cbf,_0x42105e);if(_0x32e055)_0x3660a8['push'](_0x32e055);}_0x374e6f(_0x3660a8);}),_0x19533b['on'](_0x15dc35(-0x101,0x0,0xe1,_0x4ce2a3._0x18c88c),_0x4fca62);});}function createGlobTool(_0x505e53={}){const _0x131170={_0x177743:0x4ab,_0x7b8cde:0x48a,_0x5f3948:0x565,_0x391786:0x56b,_0x24c0c7:0x5d3,_0x1a0da8:0x7b5,_0x47e035:0x536,_0x18d964:0x5d6},_0x1b211b={_0x18c43f:0x345,_0x761c58:0x12b,_0x1cf92b:0x37d,_0x5ee441:0x29d,_0x37ee7b:0x138,_0xea5833:0x254,_0xc436a:0x166,_0x2229ae:0x214,_0x1f66b0:0xb9,_0x5069f4:0xbe,_0x349bad:0xd4,_0x4a0cae:0x170,_0x1043ed:0x47,_0x4588ee:0x48b,_0xf8920f:0x40d,_0x7af6ad:0x6,_0x5bc4c8:0x22,_0x37857a:0x3c9,_0x2b636f:0x347,_0x843ccc:0xd6,_0x37ef02:0x3bb,_0x4ee735:0x2ee,_0x5d2925:0x277,_0x55388f:0x1d3,_0x3fc994:0x4b5,_0x29b9b1:0x3c3,_0x52fbfe:0x3ef,_0x3d3b02:0x48d,_0x2bcbe5:0x193,_0x42c2e1:0x1fa,_0x3845f7:0x2c9,_0x4ee9c0:0x257,_0x31cc5d:0x48b,_0x53d568:0x4dd,_0x7d48d2:0x454,_0x371fce:0x3c3,_0x1a008c:0x302,_0x362d4c:0x1c4,_0x174281:0x179,_0x170cae:0x11a},_0x3c610d={_0x548fbd:0x179},_0x5dc317=_0x50f29a[_0x177f47(_0x131170._0x177743,0x552,0x5e6,_0x131170._0x7b8cde)](_0x505e53['defaultCwd']??process[_0x2c3bb6(0x898,0x786,0x8b1,0x803)]()),_0x4e1b9a=_0x505e53[_0x2c3bb6(0x8c7,0x819,0x85b,0x710)]??[];function _0x2c3bb6(_0x572ee2,_0x2b15b0,_0x4c0ae7,_0x752e8b){return _0x1932a3(_0x752e8b,_0x2b15b0-0x130,_0x2b15b0-0x2fd,_0x752e8b-0x55);}const _0x41cc53=_0x505e53['limit']??0x64,_0xd05406=_0x505e53[_0x177f47(_0x131170._0x5f3948,_0x131170._0x391786,_0x131170._0x24c0c7,0x45a)]??_0x2c3bb6(_0x131170._0x1a0da8,0x7ac,0x8c0,0x8bb);function _0x177f47(_0x59fdbf,_0x4e9234,_0x5cca14,_0x1ddfc0){return _0x1932a3(_0x4e9234,_0x4e9234-0x35,_0x1ddfc0-0xf8,_0x1ddfc0-_0x3c610d._0x548fbd);}return defineTool({'name':_0xd05406,'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x177f47(_0x131170._0x47e035,_0x131170._0x18d964,0x6cf,0x5e3),'properties':{'pattern':{'type':'string'},'path':{'type':_0x177f47(0x624,0x4fa,0x399,0x4ea)},'limit':{'type':_0x177f47(0x46a,0x408,0x4b0,0x422)}},'required':['pattern']},async *'execute'(_0x288130){const _0x22b30d={_0x339d40:0x624};if(_0x288130[_0x54e8f3(0x454,_0x1b211b._0x18c43f,0x2e0,0x417)][_0xb97f5d(-_0x1b211b._0x761c58,0xd,-0x160,0x180)]()['length']===0x0)throw new ToolExecutionError(_0x54e8f3(_0x1b211b._0x1cf92b,_0x1b211b._0x5ee441,0x29a,0x395),{});const _0x8dc82=resolveAllowedPath(_0x5dc317,_0x4e1b9a,_0x288130[_0xb97f5d(0x199,_0x1b211b._0x37ee7b,0x13a,_0x1b211b._0xea5833)]??'.'),_0x362fe4=await _0x3f4317(_0x8dc82)[_0xb97f5d(_0x1b211b._0xc436a,_0x1b211b._0x2229ae,0x2d9,_0x1b211b._0x1f66b0)](()=>null);if(!_0x362fe4?.[_0xb97f5d(0x52,0x1b,0x16,_0x1b211b._0x5069f4)]())throw new ToolExecutionError(_0xb97f5d(_0x1b211b._0x349bad,_0x1b211b._0x4a0cae,_0x1b211b._0x1043ed,0x126)+(_0x288130['path']??'.'),{'path':_0x288130[_0x54e8f3(0x3d9,0x43c,_0x1b211b._0x4588ee,_0x1b211b._0xf8920f)]??'.'});function _0x54e8f3(_0x32aac1,_0x14ed16,_0x4a0953,_0xea2a3e){return _0x2c3bb6(_0x32aac1-0xca,_0x32aac1- -0x383,_0x4a0953-0x145,_0x4a0953);}const _0x4ab850=_0x288130[_0xb97f5d(-_0x1b211b._0x7af6ad,_0x1b211b._0x5bc4c8,-0x137,0xfc)]??_0x41cc53,_0x2fa021=Math[_0x54e8f3(_0x1b211b._0x37857a,0x499,0x3ef,_0x1b211b._0x2b636f)](0x1,Math[_0xb97f5d(_0x1b211b._0x843ccc,-0x37,0xf3,0x75)](_0x4ab850)),_0x1ec95a=[];let _0x365854=![];for await(const _0x1421ae of files({'cwd':_0x8dc82,'glob':[_0x288130['pattern']]})){if(_0x1ec95a[_0x54e8f3(_0x1b211b._0x37ef02,0x3c2,0x50d,_0x1b211b._0x4ee735)]>=_0x2fa021){_0x365854=!![];break;}const _0x49cb9a=await _0x3f4317(_0x50f29a[_0xb97f5d(_0x1b211b._0x5d2925,_0x1b211b._0x55388f,0x26d,0x152)](_0x8dc82,_0x1421ae))[_0x54e8f3(_0x1b211b._0x3fc994,_0x1b211b._0x29b9b1,_0x1b211b._0x52fbfe,_0x1b211b._0x3d3b02)](()=>null);_0x1ec95a['push']({'path':_0x1421ae,'mtime':_0x49cb9a?.['mtimeMs']??0x0});}_0x1ec95a[_0xb97f5d(0x303,_0x1b211b._0x2bcbe5,0x1c6,_0x1b211b._0x42c2e1)]((_0x38fe95,_0x16f809)=>_0x16f809[_0xb97f5d(-0x100,0x6e,0xfa,-0x57)]-_0x38fe95[_0xb97f5d(-0xdb,0x6e,-0xfe,0x52)]);const _0x17957d=_0x1ec95a[_0x54e8f3(_0x1b211b._0x3845f7,0x1c1,0x27a,_0x1b211b._0x4ee9c0)](_0x601d38=>_0x601d38[_0x54e8f3(0x3d9,0x495,0x500,0x4d8)]);function _0xb97f5d(_0x26b8fa,_0x3a1f31,_0x3e61d1,_0x45e884){return _0x2c3bb6(_0x26b8fa-0x16,_0x3a1f31- -_0x22b30d._0x339d40,_0x3e61d1-0x19d,_0x3e61d1);}const _0x4bcb87=_0x17957d['length']===0x0?_0x54e8f3(0x4cd,0x3b5,_0x1b211b._0x31cc5d,_0x1b211b._0x53d568)+_0x288130['pattern']:''+_0x17957d[_0xb97f5d(0x19c,0x1d3,0x271,0xa9)]('\x0a')+(_0x365854?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');return yield createToolOutput(_0x4bcb87,{'pattern':_0x288130[_0x54e8f3(_0x1b211b._0x7d48d2,_0x1b211b._0x371fce,_0x1b211b._0x1a008c,0x59f)],'searchPath':_0x50f29a[_0x54e8f3(0x26f,_0x1b211b._0x362d4c,0x21d,_0x1b211b._0x174281)](_0x5dc317,_0x8dc82)||'.','matches':_0x17957d,'count':_0x17957d[_0xb97f5d(-0x9,_0x1b211b._0x170cae,0x1fa,0x282)],'truncated':_0x365854}),void 0x0;}});}import{stat as _0xee18ac}from'fs/promises';import*as _0x1fb0f8 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x789327={}){const _0x4c3fa3={_0x223411:0xa9,_0x1d8142:0x17,_0x882ebd:0xbd,_0x503756:0x60,_0x30cead:0xa,_0x4f8111:0x313,_0xe4490:0x1a1,_0x2542f9:0x78,_0x27985b:0x1f1,_0xa0beb:0x46,_0x3039ab:0x1c,_0x5ad6f5:0xc4,_0x3a162f:0xef,_0x23401c:0x16c,_0x3e368a:0xef,_0x689957:0x5f,_0x467e61:0x3f},_0x5b328c={_0x50f1f4:0x71e,_0x1c781b:0x787,_0x2768bd:0x67b,_0x1662b5:0x6cf,_0x2ce569:0x3,_0x1f8bd1:0xc,_0x15f773:0x30,_0x2bade9:0x32,_0x536e5f:0x767,_0x65ef5d:0x24b,_0x595d9f:0x10b,_0x15dcae:0x51,_0x47aae1:0xe6,_0x4c872b:0x584,_0x256f18:0x53d,_0x522e9b:0x6f4,_0x2b6a9f:0x7e0,_0x1251fa:0x6a3,_0xcbecb0:0x60d,_0x3067c5:0x6b2,_0xc88924:0x253,_0x263fe6:0x104,_0x40584c:0x69,_0x2dea37:0x2,_0x47e6c1:0x6d6,_0x898a38:0xa2,_0x410255:0x1d1,_0x34bdbe:0x766,_0x5338af:0x8ae,_0x38a282:0x898,_0x100f6c:0x897,_0x46abbc:0x7a5,_0x4de3fa:0x904,_0x3b9ea6:0xee,_0x42e1f1:0x260,_0x276743:0x4c,_0x43fdf0:0x2b,_0x5a6f33:0x114,_0x2ea777:0x6d,_0x171b1e:0x587,_0x34fa9e:0x6d8,_0x479026:0x6aa,_0x82bc86:0x5e4,_0x1a5eba:0x598,_0x669e59:0x77,_0x358b60:0x1b6,_0x4f8077:0x6fe,_0x2e4b5d:0x7c6,_0x55bc46:0x724,_0x4adcb0:0x4d7,_0x273317:0x448,_0x5767bb:0x5a2,_0x370bd2:0x5cd,_0x432023:0x599,_0x476423:0x201,_0x36ce82:0x196,_0x4488a3:0x24,_0x1bc5b2:0x4b,_0x437395:0x13c,_0x36bb83:0x5a,_0x5587bc:0x128,_0x5b082a:0xa7,_0x1d8a1d:0x52,_0x57c658:0x16f,_0x28ab7e:0x106,_0x141221:0x14,_0x4c950c:0x5a,_0x2a9ab3:0x20,_0x81a9c9:0x82,_0xb8caf4:0x20a,_0x4643ef:0x2e8,_0xe81a3e:0x654,_0x30b08f:0x6ee,_0x50dc90:0x5a9,_0x2f4e1e:0x712,_0x206093:0x1cc,_0x2f2e3e:0x158,_0x37cfb0:0x75,_0x3f239f:0x4e,_0x82c01c:0x3c,_0x46ff74:0x8d,_0x48443d:0x1bd,_0x509dbc:0xe8,_0x2c1504:0x1a5,_0xd9748d:0xc1},_0xabbe97={_0x92867d:0x37b};function _0x4ca250(_0x50f94a,_0xbae9c,_0x4af517,_0x354e84){return _0x1932a3(_0x4af517,_0xbae9c-0x196,_0xbae9c- -_0xabbe97._0x92867d,_0x354e84-0x1f2);}const _0x57f4d5=_0x1fb0f8[_0x4ca250(_0x4c3fa3._0x223411,_0x4c3fa3._0x1d8142,_0x4c3fa3._0x882ebd,_0x4c3fa3._0x503756)](_0x789327[_0x4ca250(0x13,-0xc6,-0x78,-_0x4c3fa3._0x30cead)]??process['cwd']()),_0x4c71d4=_0x789327[_0x4ca250(_0x4c3fa3._0x4f8111,_0x4c3fa3._0xe4490,_0x4c3fa3._0x2542f9,_0x4c3fa3._0x27985b)]??[];function _0x3ddb2d(_0xe5085b,_0x2db19a,_0x142e21,_0x5a4849){return _0x4ab00a(_0xe5085b-0x8a,_0x2db19a-0x135,_0x2db19a,_0xe5085b- -0x3fa);}const _0x3cad51=_0x789327[_0x3ddb2d(_0x4c3fa3._0xa0beb,0x14e,-0x102,_0x4c3fa3._0x3039ab)]??0x64,_0x58ffee=_0x789327['name']??_0x4ca250(0xe1,0x13a,_0x4c3fa3._0x5ad6f5,0x1c9);return defineTool({'name':_0x58ffee,'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':'object','properties':{'pattern':{'type':_0x3ddb2d(_0x4c3fa3._0x3a162f,_0x4c3fa3._0x23401c,-0x3f,_0x4c3fa3._0x30cead)},'path':{'type':_0x3ddb2d(_0x4c3fa3._0x3e368a,_0x4c3fa3._0x689957,0x1a5,-0x59)},'include':{'type':_0x4ca250(-_0x4c3fa3._0x467e61,0x77,0x165,-0x2c)},'limit':{'type':'number'},'context':{'type':'number'}},'required':['pattern']},async *'execute'(_0x14994c){const _0x3c5feb={_0x300917:0x1c5},_0x498ec7={_0x3808ae:0x16a,_0x3bba76:0xd2};if(_0x14994c[_0x2bd67e(_0x5b328c._0x50f1f4,_0x5b328c._0x1c781b,_0x5b328c._0x2768bd,_0x5b328c._0x1662b5)][_0x1bef2d(-0x11b,-0x119,-_0x5b328c._0x2ce569,-0x198)]()[_0x1bef2d(0xbc,-_0x5b328c._0x1f8bd1,0x44,-_0x5b328c._0x15f773)]===0x0)throw new ToolExecutionError(_0x1bef2d(_0x5b328c._0x2bade9,-0x4a,-0x12b,-0x19),{});const _0x36eb30=resolveAllowedPath(_0x57f4d5,_0x4c71d4,_0x14994c['path']??'.'),_0x2f6e59=await _0xee18ac(_0x36eb30)[_0x2bd67e(0x77f,0x82a,_0x5b328c._0x536e5f,0x65e)](()=>null),_0xbfa1ae=_0x2f6e59?.['isFile']()??![],_0x3427cb=_0x2f6e59?.[_0x1bef2d(-_0x5b328c._0x65ef5d,-_0x5b328c._0x595d9f,-_0x5b328c._0x15dcae,-_0x5b328c._0x47aae1)]()??![];function _0x1bef2d(_0x4a2010,_0x20c420,_0x115cb8,_0xcf186b){return _0x4ca250(_0x4a2010-_0x498ec7._0x3808ae,_0x20c420- -_0x498ec7._0x3bba76,_0x4a2010,_0xcf186b-0x50);}if(!_0xbfa1ae&&!_0x3427cb)throw new ToolExecutionError(_0x2bd67e(_0x5b328c._0x4c872b,_0x5b328c._0x256f18,0x5e2,0x65c)+(_0x14994c[_0x2bd67e(0x6a3,0x7c8,_0x5b328c._0x522e9b,_0x5b328c._0x2b6a9f)]??'.'),{'path':_0x14994c[_0x2bd67e(_0x5b328c._0x1251fa,_0x5b328c._0xcbecb0,0x5dd,_0x5b328c._0x3067c5)]??'.'});const _0x3fdc0f=_0x14994c[_0x1bef2d(-_0x5b328c._0xc88924,-_0x5b328c._0x263fe6,-0xbb,_0x5b328c._0x40584c)]??_0x3cad51;function _0x2bd67e(_0x314ba0,_0x1adc0c,_0x1adb17,_0x220284){return _0x3ddb2d(_0x314ba0-0x547,_0x1adb17,_0x1adb17-0x2d,_0x220284-_0x3c5feb._0x300917);}const _0x4ea2f6=Math[_0x1bef2d(0xf8,_0x5b328c._0x2dea37,0x96,0xf5)](0x1,Math['trunc'](_0x3fdc0f)),_0x1a5d96=await search({'cwd':_0x3427cb?_0x36eb30:_0x1fb0f8['dirname'](_0x36eb30),'pattern':_0x14994c[_0x2bd67e(0x71e,0x5b7,_0x5b328c._0x47e6c1,0x7b3)],'glob':_0x3427cb?_0x14994c[_0x1bef2d(-_0x5b328c._0x898a38,0xc1,0x9e,_0x5b328c._0x410255)]:void 0x0,'limit':_0x4ea2f6,'file':_0xbfa1ae?_0x36eb30:void 0x0,'context':_0x14994c[_0x2bd67e(_0x5b328c._0x34bdbe,0x8c5,0x63e,_0x5b328c._0x5338af)]}),_0x2af526=new Map();for(const _0x359a60 of _0x1a5d96){if(!_0x2af526['has'](_0x359a60[_0x2bd67e(0x7a5,_0x5b328c._0x38a282,0x770,_0x5b328c._0x100f6c)])){const _0x3c607d=await _0xee18ac(_0x359a60[_0x2bd67e(_0x5b328c._0x46abbc,_0x5b328c._0x4de3fa,0x678,0x907)])[_0x1bef2d(-0x5b,_0x5b328c._0x3b9ea6,_0x5b328c._0x42e1f1,-_0x5b328c._0x276743)](()=>null);_0x2af526['set'](_0x359a60[_0x1bef2d(0xc9,0x114,0x14e,0x141)],{'matches':[],'mtime':_0x3c607d?.['mtimeMs']??0x0});}_0x2af526['get'](_0x359a60[_0x1bef2d(_0x5b328c._0x43fdf0,_0x5b328c._0x5a6f33,0x22b,_0x5b328c._0x2ea777)])?.[_0x2bd67e(0x639,0x5c3,0x609,_0x5b328c._0x171b1e)][_0x2bd67e(_0x5b328c._0x34fa9e,_0x5b328c._0x479026,_0x5b328c._0x82bc86,_0x5b328c._0x1a5eba)](_0x359a60);}const _0xa8e64a=[..._0x2af526[_0x1bef2d(-0x3a,_0x5b328c._0x669e59,-0xe7,_0x5b328c._0x358b60)]()][_0x2bd67e(_0x5b328c._0x4f8077,0x614,_0x5b328c._0x2e4b5d,_0x5b328c._0x55bc46)]((_0x81ea4,_0x37edf9)=>_0x37edf9[0x1][_0x1bef2d(-0x21f,-0xb8,-0x63,-0xf6)]-_0x81ea4[0x1][_0x2bd67e(0x5d9,0x4f7,0x4f7,0x722)]),_0x3799ca=_0x1a5d96['filter'](_0x40132a=>!_0x40132a[_0x1bef2d(-0x19a,-0x97,0x95,0xb4)])['length'],_0x483678=_0x1a5d96[_0x1bef2d(0xc1,-0xc,-0xc8,-0x173)]>=_0x4ea2f6,_0x3fa61a=_0xbfa1ae?_0x1fb0f8[_0x2bd67e(_0x5b328c._0x4adcb0,0x548,_0x5b328c._0x273317,_0x5b328c._0x5767bb)](_0x36eb30):_0x36eb30;let _0xb38384='';if(_0x1a5d96['length']===0x0)_0xb38384=_0x2bd67e(_0x5b328c._0x370bd2,_0x5b328c._0x432023,0x595,0x645)+_0x14994c[_0x1bef2d(_0x5b328c._0x476423,0x8d,_0x5b328c._0x36ce82,-0xa7)];else{_0xb38384=_0x1bef2d(-_0x5b328c._0x4488a3,-_0x5b328c._0x1bc5b2,-0x72,-0x119)+_0x3799ca+'\x20match'+(_0x3799ca===0x1?'':'es')+'\x0a';for(const [_0x50eea7,_0x3713b1]of _0xa8e64a){const _0xfe4c27=_0xbfa1ae?_0x1fb0f8['basename'](_0x50eea7):_0x1fb0f8[_0x1bef2d(-_0x5b328c._0x437395,-0x158,-0x58,-0x14e)](_0x3fa61a,_0x50eea7);_0xb38384+='\x0a'+_0xfe4c27+':\x0a';for(const _0x15a9c7 of _0x3713b1[_0x1bef2d(_0x5b328c._0x36bb83,-0x58,-0xea,-0xd3)]){const _0x4a4159=_0x15a9c7['lineText'][_0x1bef2d(-0x67,-0xc,-_0x5b328c._0x5587bc,-_0x5b328c._0x5b082a)]>MAX_LINE_LENGTH?_0x15a9c7[_0x1bef2d(-_0x5b328c._0x1d8a1d,-_0x5b328c._0x57c658,-_0x5b328c._0x28ab7e,-_0x5b328c._0x141221)][_0x1bef2d(-0x178,-_0x5b328c._0x4c950c,-_0x5b328c._0x2a9ab3,-_0x5b328c._0x81a9c9)](0x0,MAX_LINE_LENGTH)+'...':_0x15a9c7[_0x1bef2d(-_0x5b328c._0xb8caf4,-0x16f,-0x1f0,-_0x5b328c._0x4643ef)],_0x3a9005=_0x15a9c7['isContext']?'\x20\x20':'>\x20';_0xb38384+=_0x3a9005+_0x2bd67e(_0x5b328c._0xe81a3e,_0x5b328c._0x30b08f,0x5f1,_0x5b328c._0x50dc90)+_0x15a9c7[_0x2bd67e(_0x5b328c._0x2f4e1e,_0x5b328c._0x34fa9e,0x5d9,0x6e8)]+':\x20'+_0x4a4159+'\x0a';}}_0x483678&&(_0xb38384+=_0x1bef2d(-0x1e2,-_0x5b328c._0x206093,-0x206,-0x22f));}const _0x1318fc={'searchPath':_0x1fb0f8[_0x1bef2d(-0x295,-_0x5b328c._0x2f2e3e,-_0x5b328c._0x37cfb0,-_0x5b328c._0x3f239f)](_0x57f4d5,_0x36eb30)||'.','pattern':_0x14994c[_0x1bef2d(-_0x5b328c._0x82c01c,_0x5b328c._0x46ff74,_0x5b328c._0x48443d,-0xd9)],'matchCount':_0x3799ca,'fileCount':_0x2af526[_0x1bef2d(-0x14b,-0x188,-0x219,-_0x5b328c._0x509dbc)],'truncated':_0x483678};return _0x3427cb&&_0x14994c['include']!==void 0x0&&(_0x1318fc[_0x1bef2d(_0x5b328c._0x2c1504,_0x5b328c._0xd9748d,0x159,0x1de)]=_0x14994c['include']),yield createToolOutput(_0xb38384['trim'](),_0x1318fc),void 0x0;}});}function createKillShellTool(_0x1e2ddb){const _0x1544f6={_0x2334e9:0x113,_0x4f0271:0x153,_0x29889e:0x256,_0x53ed00:0x25e,_0x26ef62:0xdb,_0x18e06c:0x180},_0x3b14e8={_0x5bd412:0x1c0,_0x2d30ab:0x1a5,_0x2d0e3b:0x66,_0x1def41:0x6b,_0x45caf7:0x18c,_0x50a52d:0x16a,_0x23211c:0x208,_0x4ab09d:0x42,_0x5b4153:0x246,_0x5ca33a:0xa8,_0x2c6cdc:0x3a,_0x959d61:0x18a,_0x2e45a1:0x14c,_0x408955:0x1b2,_0x41e787:0x7c},_0x3d2140={_0x1d7b83:0x115,_0xbf6e6f:0x457,_0x2ceea1:0x1c9},{registry:_0x5dc3c8}=_0x1e2ddb;function _0x4de59f(_0x12bbd7,_0x9a790d,_0x52c055,_0x5d816e){return _0x1932a3(_0x9a790d,_0x9a790d-0x59,_0x5d816e- -0x28d,_0x5d816e-0x185);}function _0x1f0b05(_0x269e71,_0x15f043,_0x28c68d,_0x1dd492){return _0x1932a3(_0x269e71,_0x15f043-_0x3d2140._0x1d7b83,_0x28c68d- -_0x3d2140._0xbf6e6f,_0x1dd492-_0x3d2140._0x2ceea1);}return defineTool({'name':'KillShell','description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x4de59f(_0x1544f6._0x2334e9,_0x1544f6._0x4f0271,_0x1544f6._0x29889e,_0x1544f6._0x53ed00),'properties':{'shellId':{'type':'string'}},'required':[_0x1f0b05(_0x1544f6._0x26ef62,-0xfd,0x5c,_0x1544f6._0x18e06c)]},async *'execute'(_0x2164dd){const _0x51f8c6={_0x509960:0xd3,_0x304de9:0x23},_0x2cc111={_0x874764:0x54,_0x5bfcf7:0x124},_0x50aa53=_0x5dc3c8[_0x52f42e(-_0x3b14e8._0x5bd412,-_0x3b14e8._0x2d30ab,-_0x3b14e8._0x2d0e3b,-0x76)](_0x2164dd[_0x52f42e(0x16b,-0x4a,0xed,0x102)]);function _0x52f42e(_0x117355,_0x38f57b,_0x193338,_0x6031ed){return _0x4de59f(_0x117355-_0x2cc111._0x874764,_0x38f57b,_0x193338-0x1e5,_0x6031ed- -_0x2cc111._0x5bfcf7);}function _0x1cd1b4(_0x442839,_0x29da53,_0x444dbb,_0x5a4783){return _0x4de59f(_0x442839-_0x51f8c6._0x509960,_0x5a4783,_0x444dbb-_0x51f8c6._0x304de9,_0x29da53- -0x9a);}return createToolOutput('Killed\x20'+_0x2164dd[_0x1cd1b4(_0x3b14e8._0x1def41,_0x3b14e8._0x45caf7,_0x3b14e8._0x50a52d,_0x3b14e8._0x23211c)]+'\x20(status:\x20'+_0x50aa53['status']+').',{'shellId':_0x2164dd[_0x1cd1b4(0x154,_0x3b14e8._0x45caf7,_0x3b14e8._0x4ab09d,_0x3b14e8._0x5b4153)],'status':_0x50aa53[_0x1cd1b4(0x32,-_0x3b14e8._0x5ca33a,-_0x3b14e8._0x2c6cdc,-0x88)],'exitCode':_0x50aa53[_0x52f42e(_0x3b14e8._0x959d61,_0x3b14e8._0x2e45a1,_0x3b14e8._0x408955,0xa3)],'signal':_0x50aa53[_0x52f42e(-_0x3b14e8._0x41e787,0x170,0x1d2,0x85)]});}});}import{readdir as _0x2a1ef3,readFile as _0x2a4846,stat as _0x129e05}from'fs/promises';import*as _0x164b63 from'path';import*as _0x2ac6f9 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x33c88b,_0x1cd7e1){const _0x51f7cc={_0x19dda1:0x51f,_0x2dbc94:0x3a0,_0x2202ae:0x31f,_0x5b934f:0x422,_0x36b9ac:0x363},_0x4d2a70={_0x485059:0x3b},_0x46fa50={_0x138dd2:0x134};if(_0x1cd7e1>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x1e7e9a(_0x155027,_0x44f74e,_0x132c00,_0x4b2974){return _0x1932a3(_0x155027,_0x44f74e-_0x46fa50._0x138dd2,_0x44f74e-0x10c,_0x4b2974-0x1c9);}const _0x27c4da=await _0x2a4846(_0x33c88b)[_0x1e7e9a(0x546,0x647,_0x51f7cc._0x19dda1,0x69f)](()=>null);function _0x428c7f(_0x5c2655,_0x342753,_0x2a7771,_0x28a61c){return _0x4ab00a(_0x5c2655-_0x4d2a70._0x485059,_0x342753-0x160,_0x2a7771,_0x342753- -0x5a);}if(!_0x27c4da||isProbablyBinary(_0x27c4da))return void 0x0;return _0x27c4da[_0x428c7f(0x35e,_0x51f7cc._0x2dbc94,_0x51f7cc._0x2202ae,_0x51f7cc._0x5b934f)](_0x1e7e9a(0x3d7,0x4d8,_0x51f7cc._0x36b9ac,0x411))['split'](/\r?\n/)['length'];}function createLsTool(_0x577ee4={}){const _0x137b2b={_0x67df49:0x3a4,_0x8e4c0d:0x444,_0x584bc9:0x3fa,_0x91ae05:0x542,_0x373e11:0x535,_0x23c11b:0x53b,_0x1ac3e9:0x5b3,_0x12ee84:0x54f,_0x16d512:0x5ce,_0x214c4d:0x11,_0x365e4f:0x30,_0x25f38c:0x6d6,_0x145225:0x9b,_0x99be3e:0x7f,_0x4704b7:0xdc,_0x336fae:0x3a7,_0x5703aa:0x3cf},_0xe4abf6={_0x483228:0x7f6,_0x4cf433:0x657,_0x566ded:0x4e9,_0xcb1b40:0x531,_0x362a55:0x4ce,_0x3da364:0x74a,_0x553f61:0x674,_0x12d607:0x70a,_0x43db83:0x581,_0x51defd:0x492,_0x4f637a:0x6af,_0x1f6868:0x581,_0x2efd3d:0x79a,_0x265777:0x8c1,_0x3c8d7c:0x65a,_0x1f2690:0x675,_0x3c02e9:0x821,_0x332836:0x760,_0x4f3e52:0x5a2,_0x14f1ce:0x5ba,_0x35283c:0x684,_0x1a8897:0x51d,_0x39f1c1:0x3e4,_0x3166f9:0x49e,_0x348083:0x507,_0x530202:0x782,_0x4a59e8:0x5a3,_0x235e82:0x786,_0x583200:0x44c,_0x1f5c18:0x653,_0x22ad4b:0x4ca,_0x47e1d5:0x3c3,_0x2354d9:0x631,_0x14d88a:0x40b,_0x1dca98:0x721,_0x1d2eae:0x74c,_0x48db6d:0x6d6,_0x41311e:0x642,_0x3cc54a:0x8c3,_0x41edb1:0x776,_0x224cd1:0x6fd,_0x4c3534:0x60f,_0x38dc10:0x61d,_0x18cbbc:0x6e6,_0x1753ef:0x5fe,_0x2195ab:0x7dd,_0x12ce8d:0x548},_0x581fd4={_0x39314b:0x1b2},_0x52dcf5={_0x31d838:0xaf,_0x3a9ea6:0x30},_0x35e198={_0x550f5e:0x17e,_0x118e63:0x7f};function _0x2ee67e(_0x142b99,_0x3ff3cb,_0x1fe2de,_0x570ff8){return _0x4ab00a(_0x142b99-_0x35e198._0x550f5e,_0x3ff3cb-_0x35e198._0x118e63,_0x570ff8,_0x3ff3cb- -0x45);}const _0x27a8a0=_0x164b63[_0x2ee67e(_0x137b2b._0x67df49,_0x137b2b._0x8e4c0d,_0x137b2b._0x584bc9,_0x137b2b._0x91ae05)](_0x577ee4['defaultCwd']??process[_0x2ee67e(_0x137b2b._0x373e11,_0x137b2b._0x23c11b,_0x137b2b._0x1ac3e9,0x601)]()),_0x4aaf0b=_0x577ee4[_0x2ee67e(_0x137b2b._0x12ee84,_0x137b2b._0x16d512,0x6b3,0x64f)]??[];function _0x1c2ab2(_0x2a59c8,_0xba23e7,_0x9e2c49,_0x2b7d45){return _0x1932a3(_0xba23e7,_0xba23e7-_0x52dcf5._0x31d838,_0x9e2c49- -0x373,_0x2b7d45-_0x52dcf5._0x3a9ea6);}const _0x3a7002=_0x577ee4[_0x1c2ab2(0x65,0x19,-_0x137b2b._0x214c4d,_0x137b2b._0x365e4f)]??'Ls';return defineTool({'name':_0x3a7002,'description':_0x2ee67e(0x40f,0x56a,_0x137b2b._0x25f38c,0x422),'inputSchema':{'type':_0x1c2ab2(0xc5,_0x137b2b._0x145225,0x178,0x111),'properties':{'path':{'type':_0x1c2ab2(0x177,0x23,_0x137b2b._0x99be3e,-_0x137b2b._0x4704b7)},'limit':{'type':_0x2ee67e(_0x137b2b._0x336fae,0x3dc,_0x137b2b._0x5703aa,0x4e7)}}},async *'execute'(_0x37150c){const _0x356044={_0x340c17:0x70},_0x2ede57=_0x37150c[_0x5e6f29(_0xe4abf6._0x483228,_0xe4abf6._0x4cf433,0x71b,0x878)]??'.',_0x43d6fe=resolveAllowedPath(_0x27a8a0,_0x4aaf0b,_0x2ede57),_0x3b341b=await _0x129e05(_0x43d6fe)['catch'](()=>null);if(!_0x3b341b?.[_0x5e6f29(_0xe4abf6._0x566ded,_0xe4abf6._0xcb1b40,0x5fe,_0xe4abf6._0x362a55)]())throw new ToolExecutionError(_0x5b7320(0x763,0x6ef,_0xe4abf6._0x3da364,0x6d9)+_0x2ede57,{'path':_0x2ede57});function _0x5e6f29(_0x177468,_0x5c54b4,_0x421723,_0x2c3722){return _0x1c2ab2(_0x177468-_0x581fd4._0x39314b,_0x177468,_0x421723-0x62f,_0x2c3722-0xa3);}const _0x1a9405=_0x37150c['limit']??0x3e8,_0x4ec64a=Math[_0x5b7320(0x69f,0x612,_0xe4abf6._0x553f61,0x52b)](Math[_0x5b7320(0x582,_0xe4abf6._0x12d607,_0xe4abf6._0x43db83,0x691)](Math[_0x5e6f29(0x6ca,0x492,0x5ac,_0xe4abf6._0x51defd)](_0x1a9405),0x1),0x2710),_0x596a40=await _0x2a1ef3(_0x43d6fe);function _0x5b7320(_0x193ca2,_0x1e89ea,_0x4d3012,_0x4c1ae0){return _0x1c2ab2(_0x193ca2-0x3b,_0x1e89ea,_0x4c1ae0-0x5b5,_0x4c1ae0-_0x356044._0x340c17);}const _0xf0c27c=[];for(const _0x3e9e8c of _0x596a40[_0x5e6f29(0x816,0x803,_0xe4abf6._0x4f637a,_0xe4abf6._0x1f6868)](0x0,_0x4ec64a)){const _0x5af7ae=_0x164b63['join'](_0x43d6fe,_0x3e9e8c),_0x427e88=await _0x129e05(_0x5af7ae)[_0x5e6f29(_0xe4abf6._0x2efd3d,_0xe4abf6._0x265777,0x7f7,0x8ed)](()=>null);if(!_0x427e88)continue;let _0x4ff718=_0x5b7320(_0xe4abf6._0x3c8d7c,0x7ac,0x6a1,0x715);if(_0x427e88['isFile']())_0x4ff718='file';else{if(_0x427e88[_0x5e6f29(0x4b2,0x6e3,0x5fe,_0xe4abf6._0x1f2690)]())_0x4ff718='directory';else{if(_0x427e88[_0x5b7320(0x668,_0xe4abf6._0x3c02e9,0x883,_0xe4abf6._0x332836)]())_0x4ff718=_0x5e6f29(_0xe4abf6._0x4f3e52,0x72b,_0xe4abf6._0x14f1ce,_0xe4abf6._0x35283c);}}const _0x4695f3={'name':_0x3e9e8c,'type':_0x4ff718,'size':_0x427e88[_0x5b7320(_0xe4abf6._0x1a8897,_0xe4abf6._0x39f1c1,_0xe4abf6._0x3166f9,_0xe4abf6._0x348083)],'mtime':_0x427e88[_0x5b7320(_0xe4abf6._0x530202,_0xe4abf6._0x4a59e8,_0xe4abf6._0x235e82,0x6c5)],'mode':_0x427e88[_0x5b7320(_0xe4abf6._0x583200,0x682,_0xe4abf6._0x1f5c18,0x597)]},_0x5cdd58=_0x4ff718===_0x5b7320(_0xe4abf6._0x22ad4b,_0xe4abf6._0x47e1d5,_0xe4abf6._0x2354d9,0x4d6)?await countTextLines(_0x5af7ae,_0x427e88['size']):void 0x0;if(_0x5cdd58!==void 0x0)_0x4695f3[_0x5b7320(0x4c9,0x5c5,_0xe4abf6._0x14d88a,0x4e8)]=_0x5cdd58;_0xf0c27c[_0x5b7320(_0xe4abf6._0x1dca98,_0xe4abf6._0x1d2eae,0x7e2,_0xe4abf6._0x48db6d)](_0x4695f3);}_0xf0c27c[_0x5e6f29(_0xe4abf6._0x41311e,_0xe4abf6._0x3cc54a,_0xe4abf6._0x41edb1,0x862)]((_0x5c5879,_0x2a2a6a)=>_0x5c5879[_0x5b7320(0x564,0x4f5,0x6f9,0x5a4)]['localeCompare'](_0x2a2a6a[_0x5e6f29(0x518,0x6c6,0x61e,0x563)]));const _0x26d410={'path':_0x2ede57,'total':_0xf0c27c['length'],'truncated':_0x596a40[_0x5e6f29(0x584,0x5d7,_0xe4abf6._0x224cd1,_0xe4abf6._0x4c3534)]>_0x4ec64a,'entries':_0xf0c27c};return yield createToolOutput(_0x2ac6f9[_0x5e6f29(0x52c,0x6ff,_0xe4abf6._0x38dc10,_0xe4abf6._0x18cbbc)](_0x26d410,{'indent':0x2,'lineWidth':0x0})[_0x5b7320(0x513,_0xe4abf6._0x1753ef,0x5f1,0x55e)](),{'path':_0x2ede57,'total':_0xf0c27c['length'],'truncated':_0x596a40[_0x5b7320(_0xe4abf6._0x2195ab,0x607,_0xe4abf6._0x12ce8d,0x683)]>_0x4ec64a,'limit':_0x4ec64a,'entries':_0xf0c27c}),void 0x0;}});}import{stat as _0x263bc4}from'fs/promises';import _0x9640f0 from'path';import{fileURLToPath as _0x15763c}from'url';function severityName(_0x5654d4){const _0x2c0b19={_0x1abd96:0x61d,_0x5ab03d:0x670,_0x389365:0x213,_0x41918c:0x1d0,_0x3277e2:0x66e,_0x315c7a:0x524},_0x560c87={_0x2ee9af:0x16d,_0x2cc256:0x102},_0x2f53d7={_0x43d996:0x1a1,_0x171f83:0x260,_0x1befbf:0x19b};function _0xb6b95(_0x1461f4,_0x597c67,_0x31b8a2,_0x394f6f){return _0x1932a3(_0x394f6f,_0x597c67-_0x2f53d7._0x43d996,_0x597c67- -_0x2f53d7._0x171f83,_0x394f6f-_0x2f53d7._0x1befbf);}function _0x2404d5(_0xe83e96,_0x110de0,_0x591acb,_0x5c47f1){return _0x4ab00a(_0xe83e96-_0x560c87._0x2ee9af,_0x110de0-0x9f,_0x110de0,_0x591acb-_0x560c87._0x2cc256);}switch(_0x5654d4){case 0x1:return _0xb6b95(0x142,0x15b,0x1e9,0xd7);case 0x2:return _0x2404d5(0x703,_0x2c0b19._0x1abd96,_0x2c0b19._0x5ab03d,0x693);case 0x3:return _0xb6b95(_0x2c0b19._0x389365,_0x2c0b19._0x41918c,0x316,0x133);case 0x4:return _0x2404d5(0x7a7,_0x2c0b19._0x3277e2,0x675,_0x2c0b19._0x315c7a);default:return _0xb6b95(0x13a,0x74,0x36,0x140);}}function formatSingleHover(_0x27dda9){const _0x31e4e1={_0x5d2894:0x4bb,_0x454326:0x2d4,_0x179a72:0x3e6,_0x14c398:0x40f,_0x4f36dd:0x426,_0x5f08d9:0x321,_0x2bac23:0x442,_0xf1fadc:0x460,_0x4dcdf3:0x417,_0x4a68b1:0x4b5,_0x2ee014:0x3d6,_0x3899cf:0x317,_0x36e3fd:0x696,_0x2e0121:0x5d7,_0x4a7dba:0x550,_0x4db4a2:0x4bf,_0x35ebdf:0x4fc,_0x42cec0:0x569,_0x15b745:0x50d,_0x50521a:0x4f1,_0x52cbf2:0x582,_0xc9dda6:0x656,_0x2751ed:0x5b8,_0x5b2ed5:0x6c3},_0x38c15b={_0x211845:0x6d},_0x439528=_0x27dda9['contents'];function _0x311181(_0xe173ec,_0x36f968,_0x20baca,_0x5c2ac5){return _0x1932a3(_0x20baca,_0x36f968-0x154,_0xe173ec-0x45,_0x5c2ac5-_0x38c15b._0x211845);}function _0x415b36(_0x1c43b6,_0x4128c2,_0x44a391,_0x481ef1){return _0x1932a3(_0x1c43b6,_0x4128c2-0x75,_0x4128c2-0x9a,_0x481ef1-0x22);}if(typeof _0x439528===_0x311181(0x437,0x468,_0x31e4e1._0x5d2894,_0x31e4e1._0x454326))return _0x439528;if(Array[_0x415b36(_0x31e4e1._0x179a72,_0x31e4e1._0x14c398,0x2bf,_0x31e4e1._0x4f36dd)](_0x439528))return _0x439528[_0x311181(0x394,_0x31e4e1._0x5f08d9,0x264,_0x31e4e1._0x2bac23)](_0x50c752=>typeof _0x50c752===_0x415b36(0x573,0x48c,0x412,0x322)?_0x50c752:_0x50c752[_0x415b36(0x4c0,0x5d7,0x522,0x598)])[_0x311181(0x589,_0x31e4e1._0xf1fadc,0x491,0x63f)](Boolean)[_0x311181(0x53f,0x4b4,_0x31e4e1._0x4dcdf3,_0x31e4e1._0x4a68b1)]('\x0a\x0a');if(_0x311181(_0x31e4e1._0x2ee014,_0x31e4e1._0x3899cf,0x489,0x2a2)in _0x439528)return _0x439528[_0x415b36(_0x31e4e1._0x36e3fd,_0x31e4e1._0x2e0121,0x59a,0x4b3)];return _0x439528['language']?_0x415b36(_0x31e4e1._0x4a7dba,0x55b,_0x31e4e1._0x4db4a2,_0x31e4e1._0x35ebdf)+_0x439528['language']+'\x0a'+_0x439528['value']+_0x415b36(0x5f2,_0x31e4e1._0x42cec0,_0x31e4e1._0x15b745,_0x31e4e1._0x50521a):_0x439528[_0x311181(_0x31e4e1._0x52cbf2,_0x31e4e1._0xc9dda6,_0x31e4e1._0x2751ed,_0x31e4e1._0x5b2ed5)];}function formatHover(_0x1588b5){const _0x1623ac={_0x349868:0x462,_0x1d9ca7:0x38e,_0x2e60ed:0x426,_0x514187:0x1e8,_0x2de45e:0x28f,_0x2368d2:0xda,_0x4ebcb9:0x199},_0x3ea911={_0x58deb4:0x1ca},_0xff5cba={_0x13dd49:0x29};function _0x24060b(_0x23e8d7,_0x198af2,_0x59c790,_0x3289fe){return _0x1932a3(_0x198af2,_0x198af2-0x68,_0x3289fe- -0x13c,_0x3289fe-_0xff5cba._0x13dd49);}if(_0x1588b5['length']===0x0)return _0x1c4f46(0x51c,_0x1623ac._0x349868,_0x1623ac._0x1d9ca7,_0x1623ac._0x2e60ed);function _0x1c4f46(_0x123f18,_0x23a2ac,_0x37c0da,_0x55e38b){return _0x1932a3(_0x55e38b,_0x23a2ac-0x1dc,_0x23a2ac-0x79,_0x55e38b-_0x3ea911._0x58deb4);}return _0x1588b5[_0x24060b(_0x1623ac._0x514187,_0x1623ac._0x2de45e,_0x1623ac._0x2368d2,0x213)](formatSingleHover)['join'](_0x24060b(0x19c,_0x1623ac._0x4ebcb9,0x34d,0x203));}function locationPath(_0x287fa1){const _0x3497cc={_0x10ff2e:0x3da,_0x1472f3:0x3ae,_0xba8e:0x51f},_0x3b374f={_0x85ebfe:0x27,_0x2c5610:0xc7};if(!_0x287fa1['startsWith'](_0x1b3f40(0x34b,_0x3497cc._0x10ff2e,_0x3497cc._0x1472f3,_0x3497cc._0xba8e)))return _0x287fa1;function _0x1b3f40(_0x360dd3,_0x332b2c,_0xd9861a,_0x875e67){return _0x1932a3(_0x360dd3,_0x332b2c-_0x3b374f._0x85ebfe,_0xd9861a- -_0x3b374f._0x2c5610,_0x875e67-0x185);}return _0x15763c(_0x287fa1);}function formatLocations(_0x388a17){const _0x1d5a84={_0x560e27:0x4c8,_0x238e83:0x1b2,_0x276419:0x35f,_0x310986:0x3da,_0xd0dcb8:0x43c},_0x1d94ba={_0x51ab55:0x18,_0x3a6d60:0x9a,_0x2594ff:0x57,_0x559134:0x616,_0x33848a:0x6a1,_0x5e6534:0x78,_0x2586b9:0x153,_0x48ebd6:0x10c,_0x1caf33:0x119,_0x116f75:0xb,_0x58099e:0xd5,_0x524e41:0x1bb},_0x360992={_0x2a6095:0x5be,_0x43bc3f:0x18d},_0x43e3fd={_0x30808c:0x16e},_0x53e0dc={_0x2d6a0c:0x73,_0x4e4aae:0x168};function _0x4e270f(_0xd414ad,_0x78cc76,_0x621e0b,_0x486afd){return _0x1932a3(_0x486afd,_0x78cc76-_0x53e0dc._0x2d6a0c,_0x78cc76- -0x120,_0x486afd-_0x53e0dc._0x4e4aae);}if(_0x388a17['length']===0x0)return _0x4e270f(_0x1d5a84._0x560e27,0x3e7,0x42a,0x422);function _0x53a622(_0x29dc21,_0x1ba162,_0x4b37bd,_0x4ea056){return _0x4ab00a(_0x29dc21-_0x43e3fd._0x30808c,_0x1ba162-0x180,_0x4ea056,_0x29dc21-0x29);}return _0x388a17[_0x4e270f(_0x1d5a84._0x238e83,0x22f,0x166,0x157)](_0x32bb08=>{const _0x1d6af8={_0x2a056c:0xab,_0x2184e9:0x156};function _0x2a0170(_0x46e425,_0x4298e1,_0x51596d,_0x36efed){return _0x53a622(_0x4298e1-_0x1d6af8._0x2a056c,_0x4298e1-_0x1d6af8._0x2184e9,_0x51596d-0x8c,_0x51596d);}const _0x630663=_0x32bb08[_0x5bb7cc(-0x136,_0x1d94ba._0x51ab55,-_0x1d94ba._0x3a6d60,-_0x1d94ba._0x2594ff)][_0x2a0170(0x4a1,_0x1d94ba._0x559134,_0x1d94ba._0x33848a,0x51c)];function _0x5bb7cc(_0x31e46c,_0x4788c7,_0x2b77b3,_0x5bab26){return _0x53a622(_0x4788c7- -_0x360992._0x2a6095,_0x4788c7-0xd9,_0x2b77b3-_0x360992._0x43bc3f,_0x2b77b3);}return locationPath(_0x32bb08[_0x5bb7cc(0xdb,-_0x1d94ba._0x5e6534,-_0x1d94ba._0x2586b9,0x60)])+':'+(_0x630663[_0x5bb7cc(_0x1d94ba._0x48ebd6,0x4e,_0x1d94ba._0x1caf33,_0x1d94ba._0x116f75)]+0x1)+':'+(_0x630663[_0x5bb7cc(-0x1ba,-_0x1d94ba._0x58099e,-_0x1d94ba._0x524e41,-0x1a9)]+0x1);})[_0x4e270f(_0x1d5a84._0x276419,_0x1d5a84._0x310986,_0x1d5a84._0xd0dcb8,0x2f8)]('\x0a');}function isDocumentSymbol(_0xad236){const _0xf1f3a8={_0x1b5d94:0x3c0,_0x136928:0x133,_0x56b7ec:0x1cd},_0x491b28={_0xfa3e5d:0x145},_0x328a98={_0x9c3c8b:0xc1,_0x3fb560:0x1ed};function _0x422ed1(_0x76d3d2,_0x3586d2,_0x4529a6,_0x286f29){return _0x4ab00a(_0x76d3d2-_0x328a98._0x9c3c8b,_0x3586d2-0x1b3,_0x286f29,_0x4529a6- -_0x328a98._0x3fb560);}function _0x507fda(_0x36aa9b,_0x1c047c,_0x55f102,_0x19470a){return _0x1932a3(_0x19470a,_0x1c047c-_0x491b28._0xfa3e5d,_0x55f102-0xf9,_0x19470a-0x11d);}return _0x422ed1(0x4ed,0x4eb,_0xf1f3a8._0x1b5d94,0x317)in _0xad236&&_0x422ed1(0x2bb,_0xf1f3a8._0x136928,_0xf1f3a8._0x56b7ec,0xfe)in _0xad236;}function formatSymbols(_0x69eea4){const _0x3b2dee={_0x549e9e:0x57a,_0x579c9a:0x4df,_0x244ccf:0x61d,_0x1e08e2:0x7cb,_0x268a99:0x6bc},_0xc39ef5={_0x92f837:0x27e,_0xaf4dbb:0x8e,_0x1270ff:0x13b,_0x5cb8f9:0x5a,_0x1924b4:0x19e,_0x546e73:0x3e,_0x128915:0x8c,_0x67aea2:0xf3,_0x32a13b:0x18d,_0x2d94c5:0x14a,_0x467f20:0x1f5,_0x2099be:0x2cc,_0x3f93c2:0x2fb,_0x3693f0:0x1ba,_0x31702f:0x2be,_0x29335e:0x1a3,_0xd91003:0x2a2,_0x58bc99:0x119,_0x1072d8:0x135,_0x68fce8:0x4f,_0x1f2678:0xaa,_0x5f218e:0x97,_0x2ab809:0x1ae,_0xb5e9d:0x45,_0x285d65:0x10c,_0x221de1:0x28,_0x2ed85b:0x19f,_0x3d79fa:0xd7,_0x30df7b:0x1d0,_0x726e61:0x172,_0x5416c9:0x27,_0x14469f:0x198,_0x509852:0x260,_0x37062e:0x14,_0x413e51:0xcb,_0x32cf1c:0x1ba,_0x2c021c:0xb6,_0x4d7c5b:0x284,_0x5809c4:0x50,_0x59b746:0x55,_0x59b596:0xfe,_0x468520:0x2cd,_0x2e910f:0x1ca},_0x397049={_0x5a4773:0x603},_0x56b683={_0x2cf5a5:0x527,_0x474298:0x19f,_0x178822:0xf},_0x2a988f={_0xe71340:0x1d9,_0x5542b3:0x1b3},_0x115907={_0x44da63:0x103,_0x59d4ab:0x2d1};function _0x5db8c5(_0x5c5ec9,_0x4d2802,_0x4ef5c3,_0x15d5c2){return _0x1932a3(_0x4ef5c3,_0x4d2802-_0x115907._0x44da63,_0x5c5ec9-_0x115907._0x59d4ab,_0x15d5c2-0xf7);}if(_0x69eea4['length']===0x0)return _0x5db8c5(_0x3b2dee._0x549e9e,_0x3b2dee._0x579c9a,0x5d2,_0x3b2dee._0x244ccf);function _0x2b86dc(_0x26cc94,_0x5bd881,_0x3818b2,_0x2354d0){return _0x1932a3(_0x26cc94,_0x5bd881-_0x2a988f._0xe71340,_0x5bd881- -_0x2a988f._0x5542b3,_0x2354d0-0x1ef);}return _0x69eea4['map'](_0x2bd629=>{function _0x54a409(_0x1f47ce,_0x22c939,_0x20c2ec,_0xac3f){return _0x5db8c5(_0x1f47ce- -_0x56b683._0x2cf5a5,_0x22c939-_0x56b683._0x474298,_0x22c939,_0xac3f-_0x56b683._0x178822);}function _0x3fc132(_0x43089d,_0x111a63,_0x5dd9a3,_0x313b85){return _0x5db8c5(_0x43089d- -_0x397049._0x5a4773,_0x111a63-0xae,_0x313b85,_0x313b85-0x21);}if(isDocumentSymbol(_0x2bd629))return _0x2bd629[_0x54a409(0x10c,_0xc39ef5._0x92f837,_0xc39ef5._0xaf4dbb,0x183)]+'\x20('+_0x2bd629[_0x54a409(_0xc39ef5._0x1270ff,0x37,_0xc39ef5._0x5cb8f9,_0xc39ef5._0x1924b4)]+_0x3fc132(_0xc39ef5._0x546e73,_0xc39ef5._0x128915,_0xc39ef5._0x1270ff,-_0xc39ef5._0x67aea2)+(_0x2bd629[_0x54a409(0x260,_0xc39ef5._0x32a13b,0x153,_0xc39ef5._0x2d94c5)][_0x54a409(_0xc39ef5._0x467f20,0x1ff,_0xc39ef5._0x2099be,_0xc39ef5._0x3f93c2)][_0x3fc132(_0xc39ef5._0x3693f0,0x96,_0xc39ef5._0x31702f,0x1d4)]+0x1)+':'+(_0x2bd629[_0x54a409(0x260,0x3bb,_0xc39ef5._0x29335e,_0xc39ef5._0xd91003)][_0x3fc132(_0xc39ef5._0x58bc99,_0xc39ef5._0x1072d8,-_0xc39ef5._0x68fce8,_0xc39ef5._0x1f2678)][_0x3fc132(_0xc39ef5._0x5f218e,_0xc39ef5._0x2ab809,0x81,_0xc39ef5._0xb5e9d)]+0x1)+']';return _0x2bd629[_0x54a409(_0xc39ef5._0x285d65,-_0xc39ef5._0x221de1,0x57,-0x11)]+'\x20('+_0x2bd629[_0x54a409(0x13b,_0xc39ef5._0x2ed85b,0x14f,0x14c)]+')\x20'+locationPath(_0x2bd629[_0x54a409(0x8c,_0xc39ef5._0x3d79fa,0x148,0x88)][_0x54a409(_0xc39ef5._0x30df7b,_0xc39ef5._0x726e61,0x251,0x280)])+':'+(_0x2bd629[_0x3fc132(-0x50,_0xc39ef5._0x5416c9,-0x13b,-_0xc39ef5._0x14469f)][_0x54a409(_0xc39ef5._0x509852,0x3a9,0x267,0x278)][_0x3fc132(0x119,_0xc39ef5._0x37062e,_0xc39ef5._0x413e51,0xa6)][_0x3fc132(_0xc39ef5._0x32cf1c,_0xc39ef5._0x3693f0,_0xc39ef5._0x2c021c,_0xc39ef5._0x4d7c5b)]+0x1)+':'+(_0x2bd629[_0x3fc132(-_0xc39ef5._0x5809c4,-0x15a,_0xc39ef5._0x59b746,-_0xc39ef5._0x59b596)][_0x54a409(0x260,_0xc39ef5._0x468520,0x1b0,_0xc39ef5._0x2e910f)]['start'][_0x54a409(0x173,0x50,0x172,0x156)]+0x1);})[_0x5db8c5(_0x3b2dee._0x1e08e2,0x6af,_0x3b2dee._0x268a99,0x6d4)]('\x0a');}function formatDiagnostics(_0x506817){const _0x496bac={_0x563988:0x617,_0x41ea42:0x6b8,_0x2111ee:0x5d6,_0x124e1a:0x62b,_0x5d7168:0x6c8,_0x17e573:0x7e1},_0x281075={_0x72ad21:0x681,_0x5b1ec0:0x655,_0x1201d3:0x65c,_0x11878c:0x6b7,_0x438730:0x54c,_0x32b2ea:0x42d,_0x718290:0x43f,_0x5a4c75:0x3b5},_0x2a0ca6={_0x3b5f37:0x18a,_0x5cb1cb:0xa0,_0x2f7a36:0x1f3},_0x2616d0={_0x951250:0x2a},_0x4723d2={_0x1d6258:0x2d},_0x373639={_0x40948a:0xc5,_0x496fa8:0x190};if(_0x506817[_0x110f29(_0x496bac._0x563988,0x545,0x3de,0x486)]===0x0)return'No\x20diagnostics';function _0x5af3b7(_0x13d602,_0x202cd9,_0x568416,_0x3e2368){return _0x4ab00a(_0x13d602-0xbe,_0x202cd9-_0x373639._0x40948a,_0x13d602,_0x568416-_0x373639._0x496fa8);}function _0x110f29(_0x6ba55d,_0x2726c1,_0x5d47cf,_0x2a9bde){return _0x4ab00a(_0x6ba55d-_0x4723d2._0x1d6258,_0x2726c1-0x1d1,_0x2a9bde,_0x2726c1-0xd);}return _0x506817[_0x5af3b7(_0x496bac._0x41ea42,0x4b4,_0x496bac._0x2111ee,_0x496bac._0x124e1a)](_0x2f0bf4=>{function _0x235b39(_0x1b6751,_0x55e30d,_0x4bbb6c,_0x4a0ea5){return _0x5af3b7(_0x4a0ea5,_0x55e30d-_0x2616d0._0x951250,_0x55e30d- -0xbc,_0x4a0ea5-0x7a);}const _0x4b91e6=_0x2f0bf4[_0x235b39(0x546,_0x281075._0x72ad21,0x6d5,0x647)][_0x235b39(0x5fe,0x616,0x698,_0x281075._0x5b1ec0)];function _0x129d46(_0x4db417,_0x1f931f,_0x25c643,_0x183a5b){return _0x110f29(_0x4db417-_0x2a0ca6._0x3b5f37,_0x183a5b- -_0x2a0ca6._0x5cb1cb,_0x25c643-_0x2a0ca6._0x2f7a36,_0x1f931f);}return severityName(_0x2f0bf4['severity'])+'\x20['+(_0x4b91e6[_0x235b39(_0x281075._0x1201d3,_0x281075._0x11878c,0x75f,0x59a)]+0x1)+':'+(_0x4b91e6[_0x129d46(_0x281075._0x438730,0x2f2,0x4c1,_0x281075._0x32b2ea)]+0x1)+']\x20'+_0x2f0bf4[_0x129d46(_0x281075._0x718290,0x2f5,0x391,_0x281075._0x5a4c75)];})[_0x5af3b7(_0x496bac._0x5d7168,0x72c,0x781,_0x496bac._0x17e573)]('\x0a');}function formatIncomingCalls(_0x386483){const _0x47a3e8={_0x245f19:0x784,_0x4654a4:0x8ad,_0x186664:0x615,_0x5453a5:0x653,_0x507850:0x706},_0x1cc572={_0x3de57e:0xbf,_0x516ed9:0x13d},_0x391b4e={_0x197d2a:0x151,_0xe5a739:0x5b};if(_0x386483[_0x41880d(0x707,0x73a,0x871,0x7e6)]===0x0)return _0x41880d(_0x47a3e8._0x245f19,0x734,0x8e8,_0x47a3e8._0x4654a4);function _0x41880d(_0x52a19c,_0x115505,_0x3eb69a,_0x36feea){return _0x1932a3(_0x36feea,_0x115505-_0x391b4e._0x197d2a,_0x52a19c-0x2c6,_0x36feea-_0x391b4e._0xe5a739);}function _0x3ab235(_0x3c5dc9,_0x4ab3c6,_0x5711ee,_0x36162c){return _0x1932a3(_0x5711ee,_0x4ab3c6-_0x1cc572._0x3de57e,_0x3c5dc9- -_0x1cc572._0x516ed9,_0x36162c-0xb9);}return _0x386483[_0x41880d(_0x47a3e8._0x186664,_0x47a3e8._0x5453a5,0x65f,_0x47a3e8._0x507850)](_0x338ab8=>_0x338ab8[_0x3ab235(0x14b,0x9f,0x1c,0x2af)]['name'])['join']('\x0a');}function formatOutgoingCalls(_0x52d95c){const _0x164585={_0x1e7336:0x5,_0x1c2641:0x189,_0x35bdf3:0x71,_0xffbba2:0x36,_0x39b684:0x252,_0x1cefa8:0x175},_0x29ffba={_0x36a3ed:0x32},_0x991d09={_0x121d63:0x1db};if(_0x52d95c[_0x4e47a5(0x77,_0x164585._0x1e7336,0x59,0xbc)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x4e47a5(_0x397b63,_0x12a325,_0x17fd0b,_0x18e5bd){return _0x4ab00a(_0x397b63-_0x991d09._0x121d63,_0x12a325-0x167,_0x397b63,_0x18e5bd- -0x47c);}function _0x5ebefb(_0x3e4555,_0x4739be,_0x54a3d7,_0x419031){return _0x1932a3(_0x4739be,_0x4739be-0xcd,_0x419031- -0x48f,_0x419031-_0x29ffba._0x36a3ed);}return _0x52d95c[_0x4e47a5(-_0x164585._0x1c2641,-0x1e,-_0x164585._0x35bdf3,-_0x164585._0xffbba2)](_0x1159d7=>_0x1159d7['to'][_0x5ebefb(-0xbf,-0xf7,-0xf8,-0x12d)])[_0x4e47a5(0x171,0xe2,_0x164585._0x39b684,_0x164585._0x1cefa8)]('\x0a');}function toStructured(_0x16cc51){const _0x34216d={_0x37afee:0xbe,_0x323fb2:0xb0},_0x373ece={_0x488f37:0x2fe};function _0x204b28(_0x17ba35,_0x15c9b1,_0x5d6689,_0x34079b){return _0x1932a3(_0x17ba35,_0x15c9b1-0x5b,_0x34079b- -_0x373ece._0x488f37,_0x34079b-0xda);}return JSON['parse'](JSON[_0x204b28(0xae,_0x34216d._0x37afee,_0x34216d._0x323fb2,0x63)](_0x16cc51));}async function assertFile(_0x1ca3d7){const _0x7d75b5={_0x7ca18:0x369,_0x59dc79:0x419},_0x1ef817={_0x1b152e:0x1de,_0x1f6820:0x76};function _0x58ac53(_0x83b252,_0x3da263,_0x5dd4a9,_0x21d281){return _0x1932a3(_0x21d281,_0x3da263-_0x1ef817._0x1b152e,_0x3da263-0x192,_0x21d281-_0x1ef817._0x1f6820);}const _0x353ce3=await _0x263bc4(_0x1ca3d7);if(!_0x353ce3['isFile']())throw new ToolExecutionError(_0x58ac53(0x5ab,0x433,_0x7d75b5._0x7ca18,_0x7d75b5._0x59dc79)+_0x1ca3d7,{'path':_0x1ca3d7});}function validatePosition(_0x4a8489,_0x46df44){const _0x196049={_0x243dbf:0x428,_0x2ce998:0x394,_0x155a65:0x3db,_0x48feb7:0x45c,_0x337df8:0x387},_0xd85259={_0xc4bfff:0x49},_0x5a540c={_0x447278:0x214};if(!Number[_0x5a427a(_0x196049._0x243dbf,_0x196049._0x2ce998,0x590,_0x196049._0x155a65)](_0x4a8489)||_0x4a8489<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x4a8489});function _0x5a427a(_0xeeb321,_0x113357,_0x4cc6ef,_0x1c748a){return _0x4ab00a(_0xeeb321-0x53,_0x113357-0xbb,_0x1c748a,_0xeeb321- -_0x5a540c._0x447278);}function _0x5d5f74(_0x493bd9,_0x356e69,_0x2c6be4,_0x29f920){return _0x1932a3(_0x2c6be4,_0x356e69-_0xd85259._0xc4bfff,_0x356e69- -0x374,_0x29f920-0x1a9);}if(!Number[_0x5a427a(0x428,_0x196049._0x48feb7,0x4f5,_0x196049._0x337df8)](_0x46df44)||_0x46df44<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x46df44});}function createLspTool(_0x137178={}){const _0x4a12dc={_0x5d2f81:0x599,_0x3b7798:0x4c5,_0x417d5f:0x6a3,_0x1f6b22:0x6d2,_0x3cc587:0x346,_0xe09e86:0x270,_0x1fc86f:0x3ce,_0x819d12:0x375,_0x42c34e:0x21a,_0x1828f6:0x15d,_0x1fa6cb:0x1bb,_0x3e633e:0x4f9,_0x1d26ad:0x4d5,_0x134a73:0x450,_0x48ae34:0x4f6,_0x5ba23f:0x696,_0x2d00f6:0x365,_0xd01610:0x36a,_0x2ed718:0x3a8,_0x523863:0x38d,_0x391df6:0x1b7,_0x3b63d1:0x12b,_0x28ddb3:0x39c,_0x16b417:0x143,_0x1c8663:0x22a,_0x1543a1:0x484,_0x9c4fe9:0x532,_0x4942c5:0x55d,_0x446216:0x5d8,_0x5f26e8:0x626,_0x40cd99:0x443,_0x484425:0x605,_0x59f7a5:0x5e7,_0x448554:0x3e7,_0x5b1b61:0x40d,_0x399399:0x408,_0x16fc4a:0x2ee,_0x445362:0x66f,_0x2f9282:0x526,_0x4e5180:0x525,_0x391d99:0x562,_0x143c70:0x45d,_0x40c044:0x5b3,_0x462833:0x4da,_0x51611a:0x45d,_0x408d44:0x361,_0x15d9b9:0x247,_0x3eafa3:0x24b,_0x3ffec4:0x163,_0x580c85:0x10e,_0x3643cd:0xe4,_0x1e3120:0x306},_0x2fc763={_0x3c11cf:0x71d,_0x508681:0x4b,_0x1acb9d:0x12,_0x401eb2:0xd3,_0x12bf75:0xa4,_0x1bcc33:0x1c4,_0x52edd0:0x5f,_0x34301d:0x168,_0x431ebf:0x7e,_0x20f3c2:0x5b6,_0x5a1d62:0x6f,_0x39d041:0x70,_0x238521:0xe5,_0x309720:0xe9,_0xea8df2:0x86,_0x374070:0x6b5,_0x176e1d:0x6d2,_0x19d36a:0x676,_0x604dd4:0x74f,_0x8ea040:0x715,_0x910d59:0x682,_0x141fc7:0x635,_0x4d34be:0x750,_0x101676:0x4f1,_0x4226f3:0x25b,_0x18c64f:0x232,_0x2eee93:0x382,_0x24525d:0x862,_0x3404f7:0x944,_0x3e985c:0x782,_0x23fd76:0x7fa,_0x17dd9a:0x9c6,_0x2d69da:0x768,_0xf99044:0x784,_0x5e3f19:0x829,_0x438435:0x20a,_0x1eb1af:0x806,_0x23b34a:0x875,_0x1317b8:0x746,_0x28511d:0x4e,_0x3afd91:0xba,_0x48d649:0x7da,_0x278c08:0x8be,_0x1fbe73:0x127,_0x208a4c:0x5d,_0x25f988:0xc,_0x5dfeda:0x6b7,_0x2420a3:0x133,_0x118a0b:0x1fb,_0x211e26:0x21c,_0x5357ee:0x1ac,_0x40f272:0x1c8,_0x28ddba:0x11f},_0x2f3735={_0x555896:0x195},_0x5f08b0={_0x283fa6:0xfd,_0x43b833:0x8b},_0x4de17a={_0xc8892e:0x174,_0x3e618c:0x3c};function _0x4815f3(_0x5f189e,_0x39e046,_0x33587c,_0x3cc15b){return _0x4ab00a(_0x5f189e-0x4e,_0x39e046-_0x4de17a._0xc8892e,_0x39e046,_0x3cc15b-_0x4de17a._0x3e618c);}const _0x1960c2=_0x9640f0[_0x4815f3(0x3fa,_0x4a12dc._0x5d2f81,0x546,_0x4a12dc._0x3b7798)](_0x137178['defaultCwd']??process[_0x4815f3(0x5c1,_0x4a12dc._0x417d5f,_0x4a12dc._0x1f6b22,0x5bc)]()),_0xaa9fc7=_0x137178[_0x2777f0(_0x4a12dc._0x3cc587,_0x4a12dc._0xe09e86,_0x4a12dc._0x1fc86f,_0x4a12dc._0x819d12)]??[];function _0x2777f0(_0x4ee4ec,_0x457ef4,_0x3daf4f,_0x49b911){return _0x4ab00a(_0x4ee4ec-_0x5f08b0._0x283fa6,_0x457ef4-_0x5f08b0._0x43b833,_0x3daf4f,_0x49b911- -0x29e);}const _0x4e127d=_0x137178[_0x2777f0(0x31c,_0x4a12dc._0x42c34e,_0x4a12dc._0x1828f6,_0x4a12dc._0x1fa6cb)]??'Lsp';return defineTool({'name':_0x4e127d,'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x4815f3(_0x4a12dc._0x3e633e,_0x4a12dc._0x1d26ad,0x507,0x61e),'properties':{'operation':{'type':_0x4815f3(_0x4a12dc._0x134a73,_0x4a12dc._0x48ae34,_0x4a12dc._0x5ba23f,0x525),'enum':[_0x2777f0(_0x4a12dc._0x2d00f6,0x2cc,0xc2,0x228),_0x2777f0(_0x4a12dc._0xd01610,0x1d5,0x30b,0x332),_0x2777f0(0x3a4,_0x4a12dc._0x2ed718,_0x4a12dc._0x523863,0x392),_0x2777f0(_0x4a12dc._0x391df6,0x49,0x55,_0x4a12dc._0x3b63d1),_0x2777f0(0x139,_0x4a12dc._0x28ddb3,_0x4a12dc._0x16b417,_0x4a12dc._0x1c8663),_0x4815f3(_0x4a12dc._0x1543a1,_0x4a12dc._0x9c4fe9,0x61e,_0x4a12dc._0x4942c5),'prepareCallHierarchy',_0x4815f3(_0x4a12dc._0x446216,_0x4a12dc._0x5f26e8,_0x4a12dc._0x40cd99,0x4ae),_0x4815f3(_0x4a12dc._0x484425,_0x4a12dc._0x59f7a5,_0x4a12dc._0x448554,0x541),_0x2777f0(0x3eb,_0x4a12dc._0x5b1b61,_0x4a12dc._0x399399,_0x4a12dc._0x16fc4a)]},'filePath':{'type':_0x4815f3(_0x4a12dc._0x445362,_0x4a12dc._0x2f9282,0x3c2,_0x4a12dc._0x4e5180)},'line':{'type':_0x4815f3(_0x4a12dc._0x391d99,0x544,0x463,_0x4a12dc._0x143c70)},'character':{'type':_0x4815f3(0x576,_0x4a12dc._0x40c044,_0x4a12dc._0x462833,_0x4a12dc._0x51611a)},'query':{'type':_0x2777f0(_0x4a12dc._0x408d44,_0x4a12dc._0x15d9b9,0x2b7,_0x4a12dc._0x3eafa3)}},'required':[_0x2777f0(_0x4a12dc._0x3ffec4,_0x4a12dc._0x580c85,-0x4c,_0x4a12dc._0x3643cd),'filePath',_0x2777f0(_0x4a12dc._0x1e3120,0x251,0x2a4,0x345),'character']},async *'execute'(_0x5d788e){const _0x5ad994={_0x1e09d1:0xd3,_0x6cc20b:0x4a8},_0x2b2891=_0x137178['lspService'];if(!_0x2b2891)throw new ToolExecutionError(_0x11a58f(0x849,0x6da,0x727,_0x2fc763._0x3c11cf));if(!_0x2b2891[_0x1cdfeb(-_0x2fc763._0x508681,_0x2fc763._0x1acb9d,-0x26,0xb7)]())throw new ToolExecutionError(_0x1cdfeb(_0x2fc763._0x401eb2,0x206,0x1f3,0x12b));const _0x2f3ad7=_0x5d788e[_0x1cdfeb(0x8f,-_0x2fc763._0x12bf75,-_0x2fc763._0x1bcc33,-_0x2fc763._0x52edd0)];validatePosition(_0x5d788e[_0x1cdfeb(_0x2fc763._0x34301d,0x1bd,0x135,_0x2fc763._0x431ebf)],_0x5d788e[_0x11a58f(0x6ca,_0x2fc763._0x20f3c2,0x818,0x6c2)]);if(_0x2f3ad7===_0x1cdfeb(0x107,0xa2,-0x6f,-_0x2fc763._0x5a1d62)){if(!_0x5d788e[_0x1cdfeb(-_0x2fc763._0x39d041,_0x2fc763._0x238521,0x14a,-0x5d)]?.[_0x1cdfeb(_0x2fc763._0x309720,0x5,0xd1,-_0x2fc763._0xea8df2)]())throw new ToolExecutionError(_0x11a58f(0x768,0x5fc,_0x2fc763._0x374070,0x829));const _0x3b55d8=await _0x2b2891[_0x11a58f(_0x2fc763._0x176e1d,_0x2fc763._0x19d36a,0x683,_0x2fc763._0x604dd4)](_0x5d788e[_0x11a58f(_0x2fc763._0x8ea040,_0x2fc763._0x910d59,0x74b,0x750)][_0x11a58f(_0x2fc763._0x141fc7,0x5f3,_0x2fc763._0x4d34be,_0x2fc763._0x101676)]());return yield createToolOutput(formatSymbols(_0x3b55d8),{'operation':_0x2f3ad7,'query':_0x5d788e['query'],'symbols':_0x3b55d8}),void 0x0;}function _0x11a58f(_0x1d7e3e,_0x6c36b3,_0x4cd215,_0x56ce40){return _0x2777f0(_0x1d7e3e-0x1a1,_0x6c36b3-_0x5ad994._0x1e09d1,_0x4cd215,_0x1d7e3e-_0x5ad994._0x6cc20b);}const _0xf26dda=resolveAllowedPath(_0x1960c2,_0xaa9fc7,_0x5d788e[_0x1cdfeb(_0x2fc763._0x4226f3,_0x2fc763._0x18c64f,_0x2fc763._0x2eee93,0x13b)]);await assertFile(_0xf26dda);if(!await _0x2b2891['hasClients'](_0xf26dda))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x5d788e[_0x11a58f(_0x2fc763._0x24525d,_0x2fc763._0x3404f7,0x745,_0x2fc763._0x3e985c)],{'filePath':_0x5d788e[_0x11a58f(0x862,0x8a9,_0x2fc763._0x23fd76,_0x2fc763._0x17dd9a)]});await _0x2b2891['touchFile'](_0xf26dda,!![]);const _0x528bb2={'file':_0xf26dda,'line':_0x5d788e['line']-0x1,'character':_0x5d788e[_0x11a58f(0x6ca,_0x2fc763._0x2d69da,_0x2fc763._0xf99044,_0x2fc763._0x5e3f19)]-0x1};function _0x1cdfeb(_0x5b8f0c,_0x200d4c,_0x5c5526,_0x3c37a9){return _0x2777f0(_0x5b8f0c-0x174,_0x200d4c-_0x2f3735._0x555896,_0x3c37a9,_0x200d4c- -0x188);}switch(_0x2f3ad7){case _0x1cdfeb(0x319,_0x2fc763._0x438435,0x201,0x14a):{const _0x25686f=await _0x2b2891['hover'](_0x528bb2);return yield createToolOutput(formatHover(_0x25686f),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'hover':_0x25686f}),void 0x0;}case _0x11a58f(0x796,_0x2fc763._0x1eb1af,0x6cc,_0x2fc763._0x23b34a):{const _0xbe1ad0=await _0x2b2891[_0x11a58f(0x702,_0x2fc763._0x1317b8,0x72f,0x870)](_0xf26dda);return yield createToolOutput(formatDiagnostics(_0xbe1ad0),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'diagnostics':_0xbe1ad0}),void 0x0;}case _0x1cdfeb(0x187,0xa0,-_0x2fc763._0x28511d,0x20):{const _0x34f136=await _0x2b2891[_0x1cdfeb(-0x8f,0x7b,_0x2fc763._0x3afd91,0x1c8)](_0x528bb2);return yield createToolOutput(formatLocations(_0x34f136),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'locations':_0x34f136}),void 0x0;}case _0x11a58f(_0x2fc763._0x48d649,_0x2fc763._0x278c08,0x8a8,0x858):{const _0x4e3e76=await _0x2b2891['references'](_0x528bb2);return yield createToolOutput(formatLocations(_0x4e3e76),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'locations':_0x4e3e76}),void 0x0;}case'goToImplementation':{const _0x5af2c7=await _0x2b2891['implementation'](_0x528bb2);return yield createToolOutput(formatLocations(_0x5af2c7),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'locations':_0x5af2c7}),void 0x0;}case _0x1cdfeb(-0xa,-0x5d,-0x108,-_0x2fc763._0x1fbe73):{const _0x75fac8=await _0x2b2891[_0x1cdfeb(0xab,-_0x2fc763._0x208a4c,-_0x2fc763._0x25f988,-0x9e)](_0xf26dda);return yield createToolOutput(formatSymbols(_0x75fac8),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'symbols':_0x75fac8}),void 0x0;}case _0x11a58f(0x82b,0x8c6,0x745,_0x2fc763._0x5dfeda):{const _0x53c29d=await _0x2b2891[_0x1cdfeb(_0x2fc763._0x2420a3,_0x2fc763._0x118a0b,0x244,_0x2fc763._0x211e26)](_0x528bb2);return yield createToolOutput(formatSymbols(_0x53c29d),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'symbols':toStructured(_0x53c29d)}),void 0x0;}case _0x1cdfeb(0x116,0x4c,0xb5,0xbb):{const _0x341aea=await _0x2b2891[_0x1cdfeb(_0x2fc763._0x5357ee,0x4c,0xd2,-0x92)](_0x528bb2);return yield createToolOutput(formatIncomingCalls(_0x341aea),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'calls':toStructured(_0x341aea)}),void 0x0;}case _0x1cdfeb(_0x2fc763._0x40f272,0xdf,_0x2fc763._0x28ddba,-0x93):{const _0x5862d9=await _0x2b2891[_0x11a58f(0x70f,0x5b4,0x617,0x7cb)](_0x528bb2);return yield createToolOutput(formatOutgoingCalls(_0x5862d9),{'operation':_0x2f3ad7,'filePath':_0xf26dda,'calls':toStructured(_0x5862d9)}),void 0x0;}}}});}import{randomUUID as _0x1caf1a}from'crypto';import{mkdir as _0x3bd76a,readFile as _0xc049df,writeFile as _0x44a96c}from'fs/promises';import{join as _0x4ec4c8}from'path';function sanitizeStorageKey(_0x13a6f1){const _0xda04a4={_0x11020c:0x21e,_0xaddc7a:0xf5,_0x1029f1:0x21e,_0x544de9:0x391,_0x53c141:0x131},_0x26576b={_0x2b5dac:0x7f,_0x161d9b:0x1f3},_0x15abd5={_0x1bc19b:0x2cc,_0x4d9735:0x33};function _0x46cebe(_0x2113e5,_0x156af5,_0x32a45c,_0xf96d6a){return _0x1932a3(_0x32a45c,_0x156af5-0x160,_0x2113e5- -_0x15abd5._0x1bc19b,_0xf96d6a-_0x15abd5._0x4d9735);}function _0x1b2337(_0x4649be,_0x28eba4,_0x495539,_0x128a50){return _0x4ab00a(_0x4649be-_0x26576b._0x2b5dac,_0x28eba4-0xd3,_0x28eba4,_0x4649be- -_0x26576b._0x161d9b);}return _0x13a6f1[_0x1b2337(_0xda04a4._0x11020c,_0xda04a4._0xaddc7a,0x354,0x266)](/[^a-zA-Z0-9_]+/g,'_')[_0x1b2337(_0xda04a4._0x1029f1,_0xda04a4._0x544de9,0x137,0x36d)](/^_+|_+$/g,'')||_0x46cebe(-0x15,-0x157,_0xda04a4._0x53c141,-0x16b);}function storagePath(_0x4541c0){const _0x5d2711={_0x293265:0x609,_0x68af37:0x5c0,_0xa5a093:0x492,_0x1b66df:0x49f,_0x34124d:0x2e,_0x2ad666:0x80,_0xc5b1d4:0x172,_0xca7937:0x481},_0x1c136c={_0x475280:0x83,_0x611743:0x1e},_0x1cddcd={_0xdf6420:0x1da,_0x3a2ba2:0x2d9},_0x47c365=sanitizeStorageKey(_0x4541c0[_0x103cbe(0x6ba,_0x5d2711._0x293265,0x584,_0x5d2711._0x68af37)][_0x103cbe(0x597,_0x5d2711._0xa5a093,_0x5d2711._0x1b66df,0x585)]?.[_0xdb28f8(0x2,0x37,0x172,-_0x5d2711._0x34124d)]??_0x4541c0['serverName']);function _0xdb28f8(_0x5a0bca,_0x28f1f7,_0x1ca04c,_0x8e0d06){return _0x1932a3(_0x8e0d06,_0x28f1f7-_0x1cddcd._0xdf6420,_0x5a0bca- -_0x1cddcd._0x3a2ba2,_0x8e0d06-0x51);}function _0x103cbe(_0x113689,_0x2ab3b3,_0x5f48c1,_0x2319b2){return _0x4ab00a(_0x113689-0x120,_0x2ab3b3-_0x1c136c._0x475280,_0x2ab3b3,_0x2319b2- -_0x1c136c._0x611743);}return _0x4ec4c8(_0x4541c0[_0xdb28f8(0x60,0x1f,_0x5d2711._0x2ad666,_0x5d2711._0xc5b1d4)],_0x47c365+_0x103cbe(0x3f2,_0x5d2711._0xca7937,0x51c,0x557));}async function readStore(_0x17c46c){const _0x42ac1f={_0x1f1ebd:0xd0,_0x25d1e3:0x1d,_0x50aa3c:0x11e};function _0x3946f6(_0x50c2ee,_0x584cad,_0x41dfbd,_0x34d8a7){return _0x1932a3(_0x41dfbd,_0x584cad-0xa,_0x584cad- -0x2e9,_0x34d8a7-0xed);}function _0x5595f7(_0x397eb0,_0x4314ad,_0x155d2c,_0x80a536){return _0x1932a3(_0x155d2c,_0x4314ad-0x1a,_0x4314ad- -0x26b,_0x80a536-0x13e);}try{return JSON['parse'](await _0xc049df(_0x17c46c,'utf8'));}catch(_0x4665bb){if(_0x4665bb instanceof Error&&'code'in _0x4665bb&&_0x4665bb[_0x3946f6(_0x42ac1f._0x1f1ebd,-0x4a,-_0x42ac1f._0x25d1e3,-0xa4)]===_0x3946f6(-0x123,0x9,-_0x42ac1f._0x50aa3c,0x118))return{};throw _0x4665bb;}}async function writeStore(_0x440698,_0x26c315){await _0x3bd76a(_0x4ec4c8(_0x440698,'..'),{'recursive':!![]}),await _0x44a96c(_0x440698,JSON['stringify'](_0x26c315,null,0x2),'utf8');}async function updateStore(_0x30c8cf,_0x542bd3){const _0x3a2394=await readStore(_0x30c8cf);_0x542bd3(_0x3a2394),await writeStore(_0x30c8cf,_0x3a2394);}function createMcpOAuthProvider(_0x8f8906){const _0x2bb9f4={_0x37f435:0x7eb,_0x14285e:0x62b,_0x3b63dc:0x795,_0x29eddf:0x7be,_0x3eabdc:0x19,_0x306092:0xe0,_0x21c979:0x9f,_0x1e631e:0x15c,_0x112354:0x135,_0x1740e5:0x25,_0x3eba54:0x43,_0x47453e:0x80,_0x12a4a8:0x816,_0x38ae41:0x744,_0xaf212e:0x63b,_0x3e1e24:0x646,_0x5d92af:0x236,_0x103f66:0x176,_0x19cfae:0x22e,_0x553839:0x89,_0x5854ec:0x83e,_0x134838:0x774,_0x5e1c75:0x13,_0x58f74d:0xe7,_0x587fca:0xb,_0x3fdd12:0xce,_0x17a6cd:0x109},_0xd5ba9b={_0x16e913:0xc9,_0x32f0c4:0x232,_0xf4ef79:0x160,_0x1673da:0x37f},_0x266782={_0x18c631:0x1ab,_0x49819e:0xdd,_0x3be1b2:0x53a},_0x3d89ed={_0x1a599c:0x741,_0x90d28f:0x6fd,_0x4664f9:0x396,_0x2594d:0x2fd,_0x3c7986:0x2a0,_0x5b866c:0x4fa,_0x927418:0x43c,_0x449df6:0x4c9,_0x393020:0x596,_0x52d7b4:0x47e,_0x49b418:0x3ab,_0x1ee7f5:0x5ef,_0x14a627:0x51f,_0x235421:0x65f,_0x5ac8a5:0x846,_0x50a9b4:0x56c,_0x4b2747:0x716,_0x5ef81f:0x8d2,_0x59cbbe:0x6d8,_0x3497fe:0x71c},_0x286b52={_0x3dc528:0x2b6,_0x3d569d:0x44d},_0x427f4b={_0xdc2933:0x17,_0x103126:0x6f,_0x4727a5:0x3a6},_0x3076d1={_0x73b9c2:0xf9,_0x196c79:0x132,_0x2a394c:0xfe},_0x10d68e={_0x1dfe16:0x2e2},_0x5a877b={_0x1346a5:0x2ee,_0x2b03c8:0x2dd},_0x482f5f={_0x506590:0x3e7,_0x7601e9:0x338,_0x98f28b:0x41c},_0xc4c214={_0x167caa:0x1b9,_0x5662a3:0x119},_0x4edcd4={_0x49b9b2:0x1ea,_0x1a8c38:0x196};function _0xdd8ef6(_0x2d1529,_0x19a862,_0x45275d,_0x2f1802){return _0x4ab00a(_0x2d1529-0x1e0,_0x19a862-_0x4edcd4._0x49b9b2,_0x2f1802,_0x45275d-_0x4edcd4._0x1a8c38);}function _0x40a360(_0xa647ce,_0x250439,_0x3ccc0e,_0x51c411){return _0x4ab00a(_0xa647ce-0x180,_0x250439-0xc7,_0x51c411,_0x3ccc0e- -0x5ae);}const _0x2bb956=storagePath(_0x8f8906),_0x33ebe5=_0x8f8906[_0xdd8ef6(0x698,_0x2bb9f4._0x37f435,0x774,0x7f9)][_0xdd8ef6(_0x2bb9f4._0x14285e,_0x2bb9f4._0x3b63dc,0x739,_0x2bb9f4._0x29eddf)]?.[_0x40a360(-_0x2bb9f4._0x3eabdc,_0x2bb9f4._0x306092,_0x2bb9f4._0x21c979,_0x2bb9f4._0x1e631e)]?.[_0x40a360(_0x2bb9f4._0x112354,_0x2bb9f4._0x1740e5,_0x2bb9f4._0x3eba54,-_0x2bb9f4._0x47453e)]('\x20'),_0x4e308f={'client_name':_0xdd8ef6(_0x2bb9f4._0x12a4a8,0x75c,_0x2bb9f4._0x38ae41,0x89b),'redirect_uris':[_0x8f8906[_0xdd8ef6(0x695,0x703,0x62a,_0x2bb9f4._0xaf212e)]],'grant_types':['authorization_code',_0xdd8ef6(0x78b,0x7ac,_0x2bb9f4._0x3e1e24,0x748)],'response_types':[_0x40a360(-0x1d2,-_0x2bb9f4._0x5d92af,-0x218,-0x2a4)],'token_endpoint_auth_method':_0x40a360(-_0x2bb9f4._0x103f66,-_0x2bb9f4._0x19cfae,-0xc9,_0x2bb9f4._0x553839),..._0x33ebe5?{'scope':_0x33ebe5}:{}};return{'clientMetadataUrl':_0x8f8906[_0xdd8ef6(0x669,_0x2bb9f4._0x5854ec,_0x2bb9f4._0x134838,0x7b1)][_0x40a360(-_0x2bb9f4._0x5e1c75,_0x2bb9f4._0x58f74d,-_0x2bb9f4._0x587fca,-0x16a)]?.[_0x40a360(_0x2bb9f4._0x3fdd12,-_0x2bb9f4._0x17a6cd,0x13,-0x123)],get 'redirectUrl'(){return _0x8f8906['callbackUrl'];},get 'clientMetadata'(){return _0x4e308f;},async 'state'(){const _0x586491={_0x7dad20:0x532,_0x58d6e3:0x3df,_0x47b50b:0x536},_0x2bce56={_0x35d441:0x16,_0x4f0ceb:0x116};function _0x5360fe(_0x6ce456,_0x48cd02,_0x1273bf,_0x375ab3){return _0x40a360(_0x6ce456-_0xc4c214._0x167caa,_0x48cd02-_0xc4c214._0x5662a3,_0x1273bf-0x391,_0x6ce456);}const _0x5e100b=await readStore(_0x2bb956);if(_0x5e100b['state'])return _0x5e100b[_0x5360fe(_0x482f5f._0x506590,_0x482f5f._0x7601e9,0x3c9,_0x482f5f._0x98f28b)];const _0x2c88d0=_0x1caf1a();return await updateStore(_0x2bb956,_0xd880aa=>{function _0x1b02e8(_0x487ad4,_0x30fa52,_0x504597,_0x1b3991){return _0x5360fe(_0x1b3991,_0x30fa52-0x36,_0x30fa52-_0x2bce56._0x35d441,_0x1b3991-_0x2bce56._0x4f0ceb);}_0xd880aa[_0x1b02e8(_0x586491._0x7dad20,_0x586491._0x58d6e3,_0x586491._0x47b50b,0x2da)]=_0x2c88d0;}),_0x2c88d0;},async 'clientInformation'(){const _0x29ad24={_0x29507e:0xf4,_0x1210a0:0x38d};function _0x24e2d9(_0x14201f,_0xb4936e,_0x143cc5,_0x5e97f6){return _0x40a360(_0x14201f-0x18,_0xb4936e-_0x29ad24._0x29507e,_0x143cc5-_0x29ad24._0x1210a0,_0x14201f);}return(await readStore(_0x2bb956))[_0x24e2d9(0x30c,_0x5a877b._0x1346a5,_0x5a877b._0x2b03c8,0x431)];},async 'saveClientInformation'(_0x4ac6ff){await updateStore(_0x2bb956,_0xac4ecb=>{function _0x5a0d82(_0x19b158,_0x171d04,_0x5c18d0,_0x6a6ad){return _0x5a72(_0x171d04- -0x161,_0x19b158);}_0xac4ecb[_0x5a0d82(0x182,0x1c6,_0x10d68e._0x1dfe16,0x211)]=_0x4ac6ff;});},async 'tokens'(){return(await readStore(_0x2bb956))['tokens'];},async 'saveTokens'(_0x3ad486){await updateStore(_0x2bb956,_0x4578b7=>{_0x4578b7['tokens']=_0x3ad486;});},async 'redirectToAuthorization'(_0x2b152b){await _0x8f8906['onRedirect'](_0x2b152b);},async 'saveCodeVerifier'(_0x473a07){const _0x39afb9={_0xb1c4f1:0x1a0,_0x52b3fe:0x307,_0x5de2b9:0x1a7};await updateStore(_0x2bb956,_0x1e4aef=>{function _0xb06897(_0x429bcb,_0x13df29,_0x5d26c8,_0x2645f1){return _0x5a72(_0x2645f1- -0x293,_0x429bcb);}_0x1e4aef[_0xb06897(0xe9,_0x39afb9._0xb1c4f1,_0x39afb9._0x52b3fe,_0x39afb9._0x5de2b9)]=_0x473a07;});},async 'codeVerifier'(){const _0x40086a=(await readStore(_0x2bb956))[_0x76b90a(0x401,0x318,_0x286b52._0x3dc528,_0x286b52._0x3d569d)];function _0x293e3f(_0x64a042,_0xcd1015,_0x4a1ee4,_0x4709b5){return _0x40a360(_0x64a042-_0x3076d1._0x73b9c2,_0xcd1015-_0x3076d1._0x196c79,_0xcd1015-_0x3076d1._0x2a394c,_0x4709b5);}if(!_0x40086a)throw new Error(_0x76b90a(0x372,0x42a,0x2ab,0x39d));function _0x76b90a(_0x32c076,_0x4d648f,_0x22d63e,_0x203d0f){return _0xdd8ef6(_0x32c076-_0x427f4b._0xdc2933,_0x4d648f-_0x427f4b._0x103126,_0x32c076- -_0x427f4b._0x4727a5,_0x203d0f);}return _0x40086a;},async 'invalidateCredentials'(_0x359f3e){await updateStore(_0x2bb956,_0xe655ea=>{const _0x1b07e6={_0x280f49:0x1b2};function _0x18b2e7(_0x598277,_0x3b6340,_0x3c331e,_0x4e8a93){return _0x5a72(_0x598277-_0x1b07e6._0x280f49,_0x4e8a93);}(_0x359f3e===_0xb7da3b(0x84a,_0x3d89ed._0x1a599c,_0x3d89ed._0x90d28f,0x628)||_0x359f3e===_0x18b2e7(_0x3d89ed._0x4664f9,_0x3d89ed._0x2594d,0x4a6,_0x3d89ed._0x3c7986))&&(_0xe655ea[_0x18b2e7(0x4d9,_0x3d89ed._0x5b866c,_0x3d89ed._0x927418,0x499)]=void 0x0);(_0x359f3e===_0x18b2e7(_0x3d89ed._0x449df6,0x435,0x4b4,_0x3d89ed._0x393020)||_0x359f3e===_0x18b2e7(_0x3d89ed._0x52d7b4,0x5d6,_0x3d89ed._0x49b418,_0x3d89ed._0x1ee7f5))&&(_0xe655ea[_0x18b2e7(_0x3d89ed._0x52d7b4,0x5a8,0x556,_0x3d89ed._0x14a627)]=void 0x0);function _0xb7da3b(_0x585c94,_0x3dad80,_0x492824,_0x2b25f8){return _0x5a72(_0x492824-0x3e6,_0x585c94);}(_0x359f3e===_0xb7da3b(0x6ba,_0x3d89ed._0x235421,0x6fd,_0x3d89ed._0x5ac8a5)||_0x359f3e===_0xb7da3b(0x755,_0x3d89ed._0x50a9b4,0x689,0x682))&&(_0xe655ea[_0xb7da3b(_0x3d89ed._0x4b2747,0x6b8,0x820,_0x3d89ed._0x5ef81f)]=void 0x0,_0xe655ea['state']=void 0x0),(_0x359f3e==='all'||_0x359f3e===_0xb7da3b(0x7b0,0x636,_0x3d89ed._0x59cbbe,0x5e7))&&(_0xe655ea[_0x18b2e7(0x5b1,_0x3d89ed._0x3497fe,0x6a9,0x516)]=void 0x0);});},async 'saveDiscoveryState'(_0x2dc97b){await updateStore(_0x2bb956,_0x474c62=>{_0x474c62['discoveryState']=_0x2dc97b;});},async 'discoveryState'(){function _0x463530(_0x3a315f,_0x4e0a73,_0x6527d5,_0x2115bc){return _0xdd8ef6(_0x3a315f-_0x266782._0x18c631,_0x4e0a73-_0x266782._0x49819e,_0x4e0a73- -_0x266782._0x3be1b2,_0x2115bc);}return(await readStore(_0x2bb956))[_0x463530(_0xd5ba9b._0x16e913,_0xd5ba9b._0x32f0c4,_0xd5ba9b._0xf4ef79,_0xd5ba9b._0x1673da)];}};}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(_0x2f7932,_0x4b0742){const _0xad74e3={_0x177168:0x1b7,_0x2b858b:0xc0,_0xee9bb6:0x178};function _0x447288(_0x251a04,_0x34223c,_0x3e58e1,_0x23b3d9){return _0x4ab00a(_0x251a04-_0xad74e3._0x177168,_0x34223c-_0xad74e3._0x2b858b,_0x34223c,_0x23b3d9-_0xad74e3._0xee9bb6);}function _0x29db7d(_0x38d5ab,_0x410fa9,_0x319656,_0x32a0d8){return _0x4ab00a(_0x38d5ab-0x14e,_0x410fa9-0x83,_0x410fa9,_0x38d5ab- -0x506);}const _0x439cee=_0x30c11a=>_0x30c11a[_0x29db7d(-0xf5,-0x2c,-0x45,-0x228)](/[^a-zA-Z0-9_]+/g,'_')[_0x29db7d(-0xf5,0x55,0x62,0x21)](/^_+|_+$/g,'');return'mcp_'+_0x439cee(_0x2f7932)+'_'+_0x439cee(_0x4b0742);}function isObject(_0x5aca25){const _0x8ad532={_0x2bc0d4:0x72,_0x3b5bc6:0x147},_0x802a2f={_0x1263dc:0x8b,_0x54c815:0xcc},_0x3e8da0={_0x1bc7f1:0x570};function _0x4bd21e(_0x590338,_0x3566d4,_0x288247,_0x3adc77){return _0x4ab00a(_0x590338-0xc6,_0x3566d4-0x153,_0x3566d4,_0x590338- -_0x3e8da0._0x1bc7f1);}function _0x3e82db(_0xed7550,_0x498f76,_0x2420cb,_0x1ff215){return _0x1932a3(_0x498f76,_0x498f76-_0x802a2f._0x1263dc,_0x2420cb-_0x802a2f._0x54c815,_0x1ff215-0x18c);}return typeof _0x5aca25===_0x4bd21e(_0x8ad532._0x2bc0d4,_0x8ad532._0x3b5bc6,0x81,0x8c)&&_0x5aca25!==null&&!Array[_0x3e82db(0x2da,0x3f2,0x441,0x373)](_0x5aca25);}function toSupportedSchema(_0x333bb4){const _0x4a94bd={_0x4a0d3a:0xad,_0x4e4f1c:0x2c,_0x2be03:0x132,_0x295f30:0x2,_0x5ec427:0x50,_0x4f17ef:0x2c,_0x290466:0x88,_0x355bac:0x76,_0xbde687:0xa5,_0xc7598b:0x142,_0x42c908:0x2c,_0x3bfcdb:0x8e,_0x455ca3:0xb7,_0x67bb5c:0x102,_0x4bab9a:0x1ed,_0x12b28c:0x6b,_0x5f2a49:0x26},_0x225e78={_0x318361:0x11b,_0x2a836f:0x3ae,_0x3f1a31:0x11c},_0xc77915={_0x45e2dc:0x4a9,_0x59eada:0x1e3};if(!isObject(_0x333bb4))return void 0x0;if(_0x333bb4[_0x440ff2(-0xa4,-0xfe,_0x4a94bd._0x4a0d3a,-_0x4a94bd._0x4e4f1c)]==='string')return{'type':_0x440ff2(-_0x4a94bd._0x2be03,-0x88,_0x4a94bd._0x295f30,0x44)};if(_0x333bb4[_0x440ff2(_0x4a94bd._0x5ec427,-0xf9,-0x18b,-_0x4a94bd._0x4f17ef)]==='number'||_0x333bb4[_0x3f458a(-0x127,-0x4d,-0x18d,-0x21f)]===_0x440ff2(-0xf2,_0x4a94bd._0x290466,_0x4a94bd._0x355bac,0x34))return{'type':'number'};if(_0x333bb4[_0x440ff2(-_0x4a94bd._0xbde687,-_0x4a94bd._0xc7598b,-0xba,-_0x4a94bd._0x42c908)]==='boolean')return{'type':'boolean'};function _0x3f458a(_0x3f8772,_0xe3576e,_0x2ee437,_0x392123){return _0x1932a3(_0x2ee437,_0xe3576e-0x74,_0x3f8772- -_0xc77915._0x45e2dc,_0x392123-_0xc77915._0x59eada);}if(_0x333bb4[_0x440ff2(-0x19c,-0xb7,-0x174,-_0x4a94bd._0x4f17ef)]==='array')return{'type':_0x440ff2(0x17e,0x271,_0x4a94bd._0x3bfcdb,0x17b),'items':toSupportedSchema(_0x333bb4[_0x3f458a(-0x58,0x5,-0x93,0x112)])??{'type':_0x3f458a(-_0x4a94bd._0x455ca3,-0x20e,-_0x4a94bd._0x67bb5c,-_0x4a94bd._0x4bab9a)}};function _0x440ff2(_0x109bca,_0x511a2f,_0x4b3d1d,_0x4cccc2){return _0x1932a3(_0x4b3d1d,_0x511a2f-_0x225e78._0x318361,_0x4cccc2- -_0x225e78._0x2a836f,_0x4cccc2-_0x225e78._0x3f1a31);}if(_0x333bb4[_0x3f458a(-0x127,-0xca,-0x261,-0x111)]===_0x440ff2(_0x4a94bd._0x12b28c,-_0x4a94bd._0x5f2a49,0x143,0x13d))return toNuvinToolSchema(_0x333bb4);return void 0x0;}function toNuvinToolSchema(_0x1b9102){const _0x33f3d5={_0x4ef113:0x34,_0x416948:0x1f5,_0x2dfbe6:0x125,_0x599589:0x586,_0x59d87e:0x50a,_0x21ed90:0x520,_0xfcb2ef:0x5e,_0x2de1e7:0x8d,_0x2d0c4a:0x13,_0x3c8671:0x55f,_0x586af5:0x4e2,_0x5daf78:0x4e7,_0x174c91:0x2ba,_0x12afdd:0xa7,_0x46d76e:0x86,_0x2778ae:0x1a1,_0x480ac0:0x3a1,_0x16a802:0x266,_0x390e06:0x3c8,_0x10c795:0x642,_0x24061b:0x6c3,_0x14ac2c:0x4ea,_0x2e5191:0x6b,_0x49e7db:0x44},_0x3da723={_0x48de13:0x1ae},_0x50beae={_0x27ecc4:0x171};function _0x5825a9(_0x2c9bb9,_0x514b11,_0x59c220,_0x2c8c91){return _0x1932a3(_0x2c8c91,_0x514b11-_0x50beae._0x27ecc4,_0x2c9bb9-0x9b,_0x2c8c91-0xd8);}if(!isObject(_0x1b9102)||_0x1b9102[_0x5395a4(_0x33f3d5._0x4ef113,-0x3,-_0x33f3d5._0x416948,-_0x33f3d5._0x2dfbe6)]!=='object')return{'type':_0x5825a9(_0x33f3d5._0x599589,0x682,_0x33f3d5._0x59d87e,_0x33f3d5._0x21ed90),'properties':{}};const _0x20efc1={},_0x1f466e=isObject(_0x1b9102[_0x5395a4(0x5a,-0x1a,-0x155,-_0x33f3d5._0xfcb2ef)])?_0x1b9102[_0x5395a4(_0x33f3d5._0x2de1e7,-0x65,-_0x33f3d5._0x2d0c4a,-0x5e)]:{};for(const [_0x114c47,_0x3f3c5f]of Object[_0x5825a9(_0x33f3d5._0x3c8671,_0x33f3d5._0x586af5,0x568,_0x33f3d5._0x5daf78)](_0x1f466e)){const _0x3a5428=toSupportedSchema(_0x3f3c5f);if(_0x3a5428)_0x20efc1[_0x114c47]=_0x3a5428;}const _0x55333a=Array['isArray'](_0x1b9102[_0x5395a4(-_0x33f3d5._0x174c91,-_0x33f3d5._0x12afdd,-_0x33f3d5._0x46d76e,-_0x33f3d5._0x2778ae)])?_0x1b9102[_0x5825a9(_0x33f3d5._0x480ac0,_0x33f3d5._0x16a802,0x236,0x460)]['filter'](_0x9271bf=>typeof _0x9271bf===_0x5825a9(0x48d,0x3df,0x367,0x39c)):void 0x0;function _0x5395a4(_0x2676db,_0x39d8e6,_0x32ff03,_0x2449f4){return _0x4ab00a(_0x2676db-0x1a6,_0x39d8e6-_0x3da723._0x48de13,_0x39d8e6,_0x2449f4- -0x59e);}return _0x55333a?.[_0x5825a9(0x4dc,0x647,_0x33f3d5._0x390e06,0x5e3)]?{'type':_0x5825a9(_0x33f3d5._0x599589,_0x33f3d5._0x10c795,_0x33f3d5._0x24061b,_0x33f3d5._0x14ac2c),'properties':_0x20efc1,'required':_0x55333a}:{'type':_0x5395a4(-0x4c,_0x33f3d5._0x2e5191,0x4,_0x33f3d5._0x49e7db),'properties':_0x20efc1};}function isJsonObject(_0x21ba8d){const _0x13d68a={_0x3f535d:0xbc,_0x1e5ff1:0x80},_0x4d4292={_0x100353:0x17e,_0x2a1d6a:0x2f5};function _0x412bcf(_0x6ed372,_0x50465c,_0x544041,_0x2b5b8d){return _0x1932a3(_0x2b5b8d,_0x50465c-_0x4d4292._0x100353,_0x544041- -_0x4d4292._0x2a1d6a,_0x2b5b8d-0x19a);}return typeof _0x21ba8d==='object'&&_0x21ba8d!==null&&!Array[_0x412bcf(0x1ac,-_0x13d68a._0x3f535d,_0x13d68a._0x1e5ff1,0x13d)](_0x21ba8d);}function formatMcpContent(_0x3ee233){const _0x1ed4f8={_0x19d37d:0x51b,_0x1436dc:0x56b,_0x5b9869:0x625,_0x5b4110:0x4f6,_0x104680:0x60d,_0x38464b:0x5e3,_0x2d1eda:0x700,_0x35416b:0x628,_0x5a90a7:0x6d8,_0x1e7500:0x7b5,_0x36aa3e:0x42a,_0x53a3f2:0x4c8,_0x196ff1:0x46e},_0x27a44a={_0x55c9b6:0x121,_0x28df8b:0x2e},_0x2d8f11={_0xd6e32e:0x654,_0x5049ee:0x5dd,_0x47c503:0x679,_0x5b2a8b:0x47e,_0x4853c2:0xe0,_0x39e2a5:0x281,_0x523c67:0x78c,_0x268f44:0x64d,_0x5d6d80:0x95},_0x139695={_0x5cc318:0xe5},_0x2cb417={_0x124da7:0x192,_0x2cbf57:0x1bf},_0xa60865={_0x233fb1:0x1df},_0x516b6e=Array[_0x41f05f(_0x1ed4f8._0x19d37d,0x64b,0x596,0x54b)](_0x3ee233['content'])?_0x3ee233['content']:[];function _0x41f05f(_0x233020,_0x590f8e,_0x1dec1e,_0x158157){return _0x4ab00a(_0x233020-0xfe,_0x590f8e-0x4e,_0x1dec1e,_0x590f8e-_0xa60865._0x233fb1);}const _0x46abae=_0x516b6e[_0x41f05f(_0x1ed4f8._0x1436dc,_0x1ed4f8._0x5b9869,0x77f,_0x1ed4f8._0x5b4110)](_0x1c2cb1=>{if(!isObject(_0x1c2cb1))return'';function _0x280d73(_0x193cd9,_0x4e5cd6,_0x153d48,_0x1d7346){return _0x3573db(_0x193cd9-0x5,_0x4e5cd6-_0x2cb417._0x124da7,_0x153d48-_0x2cb417._0x2cbf57,_0x153d48);}function _0xfc7de7(_0x5651cd,_0xd32010,_0x430f76,_0x5c950a){return _0x41f05f(_0x5651cd-_0x139695._0x5cc318,_0x5651cd- -0x6cc,_0xd32010,_0x5c950a-0x6d);}if(_0x1c2cb1[_0x280d73(_0x2d8f11._0xd6e32e,_0x2d8f11._0x5049ee,_0x2d8f11._0x47c503,_0x2d8f11._0x5b2a8b)]===_0xfc7de7(0x13b,_0x2d8f11._0x4853c2,0x21c,_0x2d8f11._0x39e2a5)&&typeof _0x1c2cb1[_0x280d73(0x83b,_0x2d8f11._0x523c67,0x902,0x724)]===_0x280d73(0x6c5,_0x2d8f11._0x268f44,0x78e,0x544))return _0x1c2cb1['text'];return JSON[_0xfc7de7(-_0x2d8f11._0x5d6d80,0x6b,0x6c,0x23)](_0x1c2cb1);})[_0x3573db(0x575,_0x1ed4f8._0x104680,0x687,_0x1ed4f8._0x38464b)](_0x1d5391=>_0x1d5391['length']>0x0)[_0x41f05f(_0x1ed4f8._0x2d1eda,0x7d0,0x6a1,0x6d4)]('\x0a');function _0x3573db(_0x4ad1cd,_0x1adc00,_0x8686e5,_0x12a480){return _0x4ab00a(_0x4ad1cd-_0x27a44a._0x55c9b6,_0x1adc00-0x130,_0x12a480,_0x1adc00- -_0x27a44a._0x28df8b);}if(_0x46abae[_0x41f05f(_0x1ed4f8._0x35416b,0x717,_0x1ed4f8._0x5a90a7,_0x1ed4f8._0x1e7500)]>0x0)return _0x46abae;return JSON[_0x3573db(0x4c5,_0x1ed4f8._0x36aa3e,_0x1ed4f8._0x53a3f2,_0x1ed4f8._0x196ff1)](_0x3ee233,null,0x2);}function createMcpTool(_0x1d4b5b){const _0x275019={_0x4e3bc7:0x4,_0x51bca8:0x41,_0x3dcfca:0x5ed,_0x224ff7:0x4d7,_0x5e7387:0x6b0,_0x1be132:0x143,_0x4f2b6a:0x76,_0x4a2e6f:0x3d,_0x59352d:0x316,_0x181e4c:0x412,_0x348991:0x13,_0x3bd19b:0x105,_0x366a79:0x110,_0x211f89:0xe3,_0x40238a:0x1c7,_0x4e52f4:0xda,_0x1104b0:0x45b,_0x4cf3b0:0x419,_0x49e7f1:0x5ed,_0x1738cd:0x70a,_0x5b94ad:0x633,_0x21dd26:0x5e4,_0x3211a6:0x584},_0x4b325c={_0xc5ebc0:0x3b5,_0x4edc36:0x40d,_0x1a11be:0x317,_0x52970b:0x61a,_0x199f1e:0x598,_0x4a0d1b:0x4e4,_0xcb35a4:0x609,_0x1bdb92:0x4f0,_0x26bb98:0x3c6},_0x4d69df={_0x3f592c:0xe6,_0x50425b:0x138},_0x2d8ae1={_0x2afd45:0x3b},_0x2308cd={_0x1cb6d1:0x3d8},_0x5cbf58={_0x1e8d20:0x110,_0xa54e12:0xf3};function _0x533b19(_0x2ad5e2,_0x11d9e4,_0x506499,_0x3741bd){return _0x1932a3(_0x506499,_0x11d9e4-_0x5cbf58._0x1e8d20,_0x2ad5e2-0x177,_0x3741bd-_0x5cbf58._0xa54e12);}function _0x368d45(_0x481b62,_0x5e45cd,_0xbfde61,_0x345017){return _0x1932a3(_0x5e45cd,_0x5e45cd-0x141,_0x345017- -_0x2308cd._0x1cb6d1,_0x345017-0x121);}const _0x5d81ae=createMcpToolName(_0x1d4b5b[_0x368d45(-0xd8,0x43,-_0x275019._0x4e3bc7,_0x275019._0x51bca8)],_0x1d4b5b[_0x533b19(_0x275019._0x3dcfca,_0x275019._0x224ff7,_0x275019._0x5e7387,0x5e9)][_0x368d45(-_0x275019._0x1be132,-0x1da,0xd,-_0x275019._0x4f2b6a)]);return defineTool({'name':_0x5d81ae,'description':_0x1d4b5b[_0x368d45(0xcf,-_0x275019._0x4a2e6f,-0xa0,0x9e)][_0x533b19(0x430,_0x275019._0x59352d,_0x275019._0x181e4c,0x3cc)]??_0x368d45(_0x275019._0x348991,-0x1ba,-_0x275019._0x3bd19b,-_0x275019._0x366a79)+_0x1d4b5b['tool'][_0x368d45(_0x275019._0x211f89,-_0x275019._0x40238a,-_0x275019._0x4e52f4,-0x76)]+_0x533b19(0x44c,0x49b,_0x275019._0x1104b0,_0x275019._0x4cf3b0)+_0x1d4b5b['serverName'],'inputSchema':toNuvinToolSchema(_0x1d4b5b[_0x533b19(_0x275019._0x49e7f1,_0x275019._0x1738cd,_0x275019._0x5b94ad,_0x275019._0x21dd26)][_0x533b19(0x610,0x5e0,_0x275019._0x3211a6,0x547)]),async *'execute'(_0x1a9644){const _0x2f6cbc=await _0x1d4b5b[_0x4cc5b9(0x58a,0x535,0x41c,0x577)]['callTool']({'name':_0x1d4b5b['tool'][_0x4ec9ad(_0x4b325c._0xc5ebc0,_0x4b325c._0x4edc36,0x463,_0x4b325c._0x1a11be)],'arguments':isJsonObject(_0x1a9644)?_0x1a9644:{}});if(_0x2f6cbc['isError'])throw new ToolExecutionError(formatMcpContent(_0x2f6cbc),{'serverName':_0x1d4b5b[_0x4ec9ad(0x55b,0x4c4,_0x4b325c._0x52970b,0x3a6)],'toolName':_0x1d4b5b[_0x4ec9ad(_0x4b325c._0x199f1e,0x521,0x549,0x426)][_0x4ec9ad(0x486,0x40d,0x3b4,_0x4b325c._0x4a0d1b)]});function _0x4cc5b9(_0x2611af,_0x11acc9,_0x327906,_0x5d6d6b){return _0x533b19(_0x327906- -0x1f,_0x11acc9-_0x2d8ae1._0x2afd45,_0x5d6d6b,_0x5d6d6b-0xb9);}function _0x4ec9ad(_0x17d073,_0x14f50d,_0xb950f2,_0x403dcb){return _0x533b19(_0x14f50d- -0xcc,_0x14f50d-_0x4d69df._0x3f592c,_0x403dcb,_0x403dcb-_0x4d69df._0x50425b);}return yield createToolOutput(formatMcpContent(_0x2f6cbc),{'serverName':_0x1d4b5b[_0x4ec9ad(0x36a,0x4c4,0x3ef,0x3ca)],'toolName':_0x1d4b5b['tool'][_0x4cc5b9(_0x4b325c._0xcb35a4,_0x4b325c._0x1bdb92,0x4ba,_0x4b325c._0x26bb98)],'result':_0x2f6cbc}),void 0x0;}});}function resolvePrefix(_0x4b46cb,_0x2c4624){const _0x235b03={_0x49ce2a:0xe2,_0x333e07:0x7a,_0x105dfe:0x1a3},_0x5aaf45={_0x564ef2:0xfa,_0x275abb:0x408};function _0x3beef8(_0x3bc96b,_0x396f5b,_0x3b2e00,_0x2fef6d){return _0x4ab00a(_0x3bc96b-0x9f,_0x396f5b-_0x5aaf45._0x564ef2,_0x2fef6d,_0x396f5b- -_0x5aaf45._0x275abb);}return _0x2c4624[_0x3beef8(_0x235b03._0x49ce2a,0xae,-_0x235b03._0x333e07,_0x235b03._0x105dfe)]??_0x4b46cb;}function buildMcpHttpHeaders(_0x45967b){const _0x5e2fa1={_0x49e13f:0x1b1,_0x2ced56:0x103,_0x3d761e:0x283,_0x77ad1d:0x158,_0xcd11ee:0xf5,_0x4f412f:0x9f,_0x509ed8:0x1c3,_0x2c5e59:0x78,_0x1230be:0x232,_0x11bf07:0x1ba,_0x49aed3:0x3c,_0x1ceb48:0x1b8,_0x275e48:0xde,_0x5c7141:0x16b},_0x267c19={_0x5aa7e7:0x90},_0x4af1ee={_0x23533f:0x5d,_0x5d05b6:0x22a};function _0x2b3655(_0x153730,_0x31f78a,_0x5f4647,_0x15e668){return _0x1932a3(_0x31f78a,_0x31f78a-_0x4af1ee._0x23533f,_0x5f4647- -_0x4af1ee._0x5d05b6,_0x15e668-0x1cd);}function _0x3e68a5(_0x412b81,_0x209138,_0x5432f4,_0x374969){return _0x4ab00a(_0x412b81-0x28,_0x209138-_0x267c19._0x5aa7e7,_0x5432f4,_0x209138- -0x4db);}const _0x444364={..._0x45967b[_0x2b3655(_0x5e2fa1._0x49e13f,0x268,_0x5e2fa1._0x2ced56,0x10c)]??{}};return _0x45967b['auth']?.[_0x2b3655(0x19c,_0x5e2fa1._0x3d761e,_0x5e2fa1._0x77ad1d,_0x5e2fa1._0xcd11ee)]==='bearer'&&_0x45967b['auth'][_0x2b3655(_0x5e2fa1._0x4f412f,_0x5e2fa1._0x509ed8,_0x5e2fa1._0x2c5e59,0x145)]&&_0x444364['Authorization']===void 0x0&&(_0x444364[_0x2b3655(0x39a,0x1c4,_0x5e2fa1._0x1230be,0x1ea)]=_0x3e68a5(_0x5e2fa1._0x11bf07,0xd0,0x8,-0x3e)+_0x45967b['auth'][_0x2b3655(0x14a,_0x5e2fa1._0x49aed3,_0x5e2fa1._0x2c5e59,0xd6)]),Object[_0x3e68a5(_0x5e2fa1._0x1ceb48,_0x5e2fa1._0x275e48,0x14c,_0x5e2fa1._0x5c7141)](_0x444364)['length']>0x0?_0x444364:void 0x0;}function getErrorMessage(_0x23839d){const _0x3b196d={_0x4a44b0:0x186},_0x340301={_0x34fe75:0x490};function _0x4bdae0(_0x3e56f6,_0x56072b,_0xbcfc0b,_0x2733a5){return _0x4ab00a(_0x3e56f6-0x6f,_0x56072b-0x73,_0x56072b,_0x2733a5- -_0x340301._0x34fe75);}return _0x23839d instanceof Error?_0x23839d[_0x4bdae0(0x125,-_0x3b196d._0x4a44b0,-0x1b0,-0x48)]:String(_0x23839d);}function isUnauthorizedError(_0x239975){const _0x51883b={_0x344509:0x3c,_0x316af9:0x42,_0x4e7938:0x62,_0x36cbdb:0xd3,_0x335972:0x126,_0x66f65c:0x92,_0x5ab3af:0x37e,_0x19e88d:0x4e7},_0xd06e81={_0x47a735:0x49},_0x25f41d={_0x332ea2:0x17e,_0x57f54d:0xba,_0x20df02:0x152};function _0x45cc4a(_0x13bce4,_0xd6878,_0x2d6ea3,_0x41934a){return _0x1932a3(_0x2d6ea3,_0xd6878-_0x25f41d._0x332ea2,_0x41934a- -_0x25f41d._0x57f54d,_0x41934a-_0x25f41d._0x20df02);}function _0x9865e6(_0x30e8bd,_0x471337,_0x43e540,_0x1f542c){return _0x1932a3(_0x1f542c,_0x471337-0x126,_0x30e8bd- -0x28f,_0x1f542c-_0xd06e81._0x47a735);}return _0x239975 instanceof Error&&_0x239975[_0x9865e6(_0x51883b._0x344509,-_0x51883b._0x316af9,0xda,_0x51883b._0x4e7938)][_0x9865e6(_0x51883b._0x36cbdb,_0x51883b._0x335972,-_0x51883b._0x66f65c,0x16c)]===_0x45cc4a(_0x51883b._0x5ab3af,_0x51883b._0x19e88d,0x593,0x489);}async function connectMcpServer(_0x292b98,_0x5282f0,_0x5a4cba){const _0x310e5f={_0x4e3ccb:0x59,_0x34fd42:0x111,_0x192c47:0x24,_0x42d3dc:0x4d,_0x34dbe4:0x102,_0x4d21de:0x309,_0xc73119:0x3c0,_0x21872b:0x5c5,_0x2be82a:0x157,_0x1bd8a8:0x51,_0x4fda2b:0xbd,_0xff6ce4:0x4ee,_0x402c52:0x8a,_0x2908c9:0x46,_0x45406c:0x2a,_0x2872b2:0x9a,_0x49b8c4:0x5c,_0x314cc6:0x12b,_0xe861c:0x493,_0x395afb:0x4b1,_0x155c3a:0x197,_0x4c4652:0x1,_0x400536:0x59e,_0x239f48:0x3a0,_0x5259fb:0x193,_0x4bc970:0x173,_0xcd3ca7:0x25d,_0x5d385f:0x417,_0x4eb8e2:0x4b1,_0x24b975:0x2bc,_0xfc0eae:0x483,_0xebe4ba:0x2bd,_0x2ed3e3:0x39f,_0x4d85b1:0x40c,_0x43ae7f:0x418,_0x4eeff3:0x10a,_0x58987e:0x1b7,_0x4ab1ef:0x1b1,_0x5272b6:0x474,_0x23d9da:0x45c,_0x570f0c:0x657,_0x358382:0x460,_0x3be24e:0x4e9,_0x50cedc:0x4f5,_0x3d1aa0:0x8f,_0x38ae0d:0x15a,_0x2a96f7:0x3b4,_0x142163:0x2e0,_0x2c90a8:0xd7,_0x4ceb06:0x8e,_0x19d0e5:0xca,_0x3126c8:0xc7,_0x1c1a4e:0xda,_0x1d56f0:0x21},_0x4f175f={_0x252193:0x241},_0x2a76bc={_0x87a048:0x63e,_0x30cb49:0x658,_0x244472:0x810},_0x185095={_0x8037e8:0x40,_0x5be4d7:0x1bb},_0x23e63f={_0x33f19d:0x1e8},_0x5ae3ce={_0x3c34a0:0x339,_0x1422a2:0x17c};function _0x5c7257(_0x16ff7d,_0xcccb62,_0x333e7c,_0x17800c){return _0x1932a3(_0x17800c,_0xcccb62-0x1d4,_0x333e7c- -_0x5ae3ce._0x3c34a0,_0x17800c-_0x5ae3ce._0x1422a2);}const _0x436538=new Client({'name':_0x5c7257(-_0x310e5f._0x4e3ccb,-_0x310e5f._0x34fd42,-_0x310e5f._0x192c47,0xbe),'version':_0x5c7257(0xb9,_0x310e5f._0x42d3dc,0x1,_0x310e5f._0x34dbe4)});_0x436538[_0x12ea16(0x297,_0x310e5f._0x4d21de,_0x310e5f._0xc73119,0x28a)]=_0x16407b=>{const _0x2a094c={_0x4ffd3d:0x180};function _0x4b7846(_0x78e033,_0xf86651,_0x426baa,_0x43a2cb){return _0x12ea16(_0x78e033-_0x2a094c._0x4ffd3d,_0xf86651-0x198,_0x426baa,_0x43a2cb- -0x24b);}console['error']('[MCP\x20'+_0x292b98+']\x20transport\x20error:',_0x16407b[_0x4b7846(0x1d2,-0x24,0x2c,0x10b)]);};if(_0x5282f0[_0x12ea16(_0x310e5f._0x21872b,0x58b,0x62a,0x534)]===_0x5c7257(_0x310e5f._0x2be82a,-0x82,_0x310e5f._0x1bd8a8,-_0x310e5f._0x4fda2b)||_0x5282f0['url']){if(!_0x5282f0[_0x12ea16(_0x310e5f._0xff6ce4,0x278,0x4ca,0x39f)])throw new Error(_0x5c7257(-0x16d,-_0x310e5f._0x402c52,-_0x310e5f._0x2908c9,-_0x310e5f._0x45406c)+_0x292b98+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x5282f0[_0x5c7257(-0x126,0xb5,-0x12,-_0x310e5f._0x2872b2)]?.[_0x5c7257(-_0x310e5f._0x49b8c4,_0x310e5f._0x314cc6,0x49,-0x68)]===_0x12ea16(_0x310e5f._0xe861c,0x439,0x56f,_0x310e5f._0x395afb)&&!_0x5a4cba?.[_0x5c7257(_0x310e5f._0x155c3a,0x5b,0x173,-_0x310e5f._0x4c4652)])throw new Error('MCP\x20server\x20'+_0x292b98+'\x20requires\x20OAuth\x20connection\x20options');const _0x32a2fd=buildMcpHttpHeaders(_0x5282f0),_0x455fe8=_0x5282f0['auth']?.[_0x12ea16(0x4d0,0x3ce,0x2da,0x387)]===_0x12ea16(0x5b0,_0x310e5f._0x400536,_0x310e5f._0x239f48,0x4b1)&&_0x5a4cba?.['oauth']?createMcpOAuthProvider({'serverName':_0x292b98,'callbackUrl':_0x5a4cba[_0x5c7257(_0x310e5f._0x5259fb,0x2eb,_0x310e5f._0x4bc970,_0x310e5f._0xcd3ca7)]['callbackUrl'],'storageDir':_0x5a4cba[_0x12ea16(0x3f3,0x508,_0x310e5f._0x5d385f,_0x310e5f._0x4eb8e2)]['storageDir'],'config':_0x5282f0['auth'],'onRedirect':_0x4bc1ae=>_0x5a4cba['oauth']?.[_0x5c7257(-0x1a1,-0x2c,-0xa3,0x94)](_0x292b98,_0x4bc1ae)}):void 0x0,_0x527c0b=new StreamableHTTPClientTransport(new URL(_0x5282f0[_0x12ea16(_0x310e5f._0x24b975,_0x310e5f._0xfc0eae,_0x310e5f._0xebe4ba,_0x310e5f._0x2ed3e3)]),{'authProvider':_0x455fe8,'requestInit':_0x32a2fd?{'headers':_0x32a2fd}:void 0x0});await _0x436538[_0x12ea16(_0x310e5f._0x4d85b1,0x567,0x376,_0x310e5f._0x43ae7f)](_0x527c0b);}else{if(!_0x5282f0[_0x5c7257(_0x310e5f._0x4eeff3,0x321,_0x310e5f._0x58987e,_0x310e5f._0x4ab1ef)])throw new Error('MCP\x20server\x20'+_0x292b98+_0x12ea16(_0x310e5f._0x5272b6,0x2d1,_0x310e5f._0x23d9da,0x432));const _0x3fd51d=new StdioClientTransport({'command':_0x5282f0[_0x12ea16(_0x310e5f._0x570f0c,_0x310e5f._0x358382,_0x310e5f._0x3be24e,_0x310e5f._0x50cedc)],'args':_0x5282f0[_0x5c7257(_0x310e5f._0x3d1aa0,0x1bb,_0x310e5f._0x38ae0d,0x56)]??[],'env':_0x5282f0[_0x12ea16(_0x310e5f._0x2a96f7,_0x310e5f._0x142163,0x360,0x2a0)],'stderr':_0x5c7257(0x114,-_0x310e5f._0x2c90a8,_0x310e5f._0x4ceb06,0x16a)});await _0x436538[_0x5c7257(_0x310e5f._0x19d0e5,_0x310e5f._0x3126c8,_0x310e5f._0x1c1a4e,_0x310e5f._0x1d56f0)](_0x3fd51d);}function _0x12ea16(_0x1e4477,_0x36d05f,_0x4408ac,_0xc35326){return _0x4ab00a(_0x1e4477-0xce,_0x36d05f-_0x23e63f._0x33f19d,_0x4408ac,_0xc35326- -0xf2);}return{async 'listTools'(){return await _0x436538['listTools']();},async 'callTool'(_0xb712d5){function _0x42fe01(_0x2f7fff,_0x77952e,_0x4c4127,_0x54a4b1){return _0x12ea16(_0x2f7fff-0x98,_0x77952e-0x99,_0x77952e,_0x54a4b1- -0x3ed);}function _0x56006d(_0x465b04,_0x17b84c,_0x4b6dd9,_0x17137a){return _0x12ea16(_0x465b04-0x149,_0x17b84c-_0x185095._0x8037e8,_0x17b84c,_0x17137a-_0x185095._0x5be4d7);}return await _0x436538[_0x56006d(_0x2a76bc._0x87a048,0x59d,0x75b,_0x2a76bc._0x30cb49)]({'method':_0x56006d(0x60b,_0x2a76bc._0x244472,0x60d,0x6a0),'params':_0xb712d5},CallToolResultSchema);},async 'close'(){function _0x801a98(_0x340437,_0x2a05f7,_0x19036f,_0x193a31){return _0x12ea16(_0x340437-0x42,_0x2a05f7-0x1c4,_0x19036f,_0x340437-_0x4f175f._0x252193);}await _0x436538[_0x801a98(0x689,0x79d,0x7b1,0x7d9)]();}};}async function createMcpToolsFromServers(_0x260abf){const _0x492b8b={_0x377de6:0x169,_0x25d218:0x16c,_0x179f53:0x202,_0x58886f:0x36e,_0x555519:0x8a9,_0x3ef4d3:0x632,_0x1bf4e7:0x63a,_0xae7cc1:0x827,_0x3c83ea:0x83e,_0x2594cd:0x646,_0x4ff6a9:0x64b,_0x46a1eb:0x1e7,_0x3eeaac:0x1e2,_0x4dd9e1:0x390,_0x1a23d3:0x748,_0x93db50:0x649,_0x1e32e7:0x1a0,_0xb0326c:0xc9,_0x4dc9e9:0x1fe,_0x233b14:0x710,_0x2643e5:0x5a0,_0x9f929e:0x878,_0x5bb955:0x22e,_0x3157fb:0x28e,_0x446832:0x2ec,_0x3f388b:0x3c9,_0x1950cf:0x8ab},_0x24f008={_0x5610a6:0x311,_0x5b857f:0x376,_0x2470e3:0x4a1},_0x352ed0={_0x8eff30:0xa3},_0x914a53={_0x57bb69:0xb0,_0x131d1d:0x24},_0x147961={_0xea395b:0x1c7,_0x35183d:0x119,_0x247082:0x88},_0x87c0b1=_0x260abf['connect']??connectMcpServer;function _0x260e72(_0x1b44bf,_0x2e8f6a,_0x285ec6,_0x2c5386){return _0x1932a3(_0x2e8f6a,_0x2e8f6a-_0x147961._0xea395b,_0x1b44bf- -_0x147961._0x35183d,_0x2c5386-_0x147961._0x247082);}const _0x16a818=[],_0x143f5f={},_0x4394f9={},_0xa21eb9=[];function _0x2bebdc(_0x4025e8,_0x409f78,_0x54eb1c,_0x1db0f3){return _0x4ab00a(_0x4025e8-0x15a,_0x409f78-0x1cd,_0x4025e8,_0x1db0f3-0x1f0);}for(const [_0x4dacc3,_0x53c115]of Object['entries'](_0x260abf[_0x260e72(0x256,0x1e3,0x120,0x206)]??{})){if(_0x53c115[_0x260e72(_0x492b8b._0x377de6,_0x492b8b._0x25d218,0x1e1,0xbd)]===![]){_0x143f5f[_0x4dacc3]={'status':_0x260e72(0x2b1,_0x492b8b._0x179f53,0x374,_0x492b8b._0x58886f)};continue;}try{const _0x5ecdb6=await _0x87c0b1(_0x4dacc3,_0x53c115,_0x260abf[_0x2bebdc(0x7e8,0x92d,_0x492b8b._0x555519,0x7e9)]);_0x16a818[_0x2bebdc(_0x492b8b._0x3ef4d3,_0x492b8b._0x1bf4e7,0x676,0x77b)](_0x5ecdb6);const _0x30a886=await _0x5ecdb6[_0x2bebdc(_0x492b8b._0xae7cc1,0x85d,0x775,_0x492b8b._0x3c83ea)]();let _0x400168=0x0;const _0x5f644=[];for(const _0x21caf3 of _0x30a886[_0x260e72(0x30c,0x389,0x329,0x35c)]){const _0x5e3341=_0x260abf[_0x2bebdc(_0x492b8b._0x2594cd,_0x492b8b._0x4ff6a9,0x615,0x594)]?.[_0x4dacc3]?.[_0x21caf3[_0x260e72(0x249,_0x492b8b._0x46a1eb,0x251,_0x492b8b._0x3eeaac)]];_0x5f644[_0x260e72(0x37b,0x395,_0x492b8b._0x4dd9e1,0x376)]({'name':_0x21caf3[_0x2bebdc(0x524,0x682,_0x492b8b._0x1a23d3,_0x492b8b._0x93db50)],..._0x21caf3[_0x260e72(_0x492b8b._0x1e32e7,_0x492b8b._0xb0326c,0x18a,_0x492b8b._0x4dc9e9)]!==void 0x0?{'description':_0x21caf3[_0x2bebdc(0x67f,_0x492b8b._0x233b14,0x42d,_0x492b8b._0x2643e5)]}:{},..._0x21caf3[_0x2bebdc(0x71c,0x711,_0x492b8b._0x9f929e,0x780)]!==void 0x0?{'inputSchema':_0x21caf3[_0x2bebdc(0x677,0x62d,0x63c,0x780)]}:{}});if(_0x5e3341===![])continue;_0x400168+=0x1,_0xa21eb9['push'](createMcpTool({'serverName':resolvePrefix(_0x4dacc3,_0x53c115),'tool':_0x21caf3,'client':_0x5ecdb6}));}_0x4394f9[_0x4dacc3]=_0x5f644,_0x143f5f[_0x4dacc3]={'status':_0x260e72(0x264,0x39c,0x2e5,_0x492b8b._0x5bb955),'toolCount':_0x400168};}catch(_0x2337a5){_0x143f5f[_0x4dacc3]=isUnauthorizedError(_0x2337a5)?{'status':_0x260e72(_0x492b8b._0x3157fb,_0x492b8b._0x446832,0x3a2,_0x492b8b._0x3f388b),'message':getErrorMessage(_0x2337a5)}:{'status':_0x2bebdc(_0x492b8b._0x1950cf,0x7bd,0x6f9,0x739),'message':getErrorMessage(_0x2337a5)};}}return{'tools':_0xa21eb9,'servers':_0x143f5f,'serverTools':_0x4394f9,async 'close'(){function _0x352f49(_0x476472,_0x404eaf,_0x513398,_0x4d1e7d){return _0x260e72(_0x4d1e7d-_0x914a53._0x57bb69,_0x513398,_0x513398-_0x914a53._0x131d1d,_0x4d1e7d-0x133);}function _0x4a0aef(_0x1b5dd4,_0x27e37c,_0x4d55ac,_0x2e0bf1){return _0x260e72(_0x27e37c-0x139,_0x2e0bf1,_0x4d55ac-_0x352ed0._0x8eff30,_0x2e0bf1-0x2c);}await Promise['all'](_0x16a818[_0x4a0aef(_0x24f008._0x5610a6,0x36f,_0x24f008._0x5b857f,_0x24f008._0x2470e3)](_0x39a8a9=>_0x39a8a9[_0x4a0aef(0x340,0x463,0x3f6,0x50b)]()));}};}function getCommand(_0x363f6a){const _0x2eb75d={_0x303bf0:0x5b7,_0x36cedd:0x79b,_0x36e569:0x693,_0x485fac:0x51d,_0x58e8a2:0x5cf,_0x2cef92:0x619,_0x40ea56:0x6cd,_0x59858b:0x630,_0x155a39:0x4df},_0x22bd3c={_0x541820:0x1f2,_0x3ee357:0x528},_0x20b2ef={_0x37fc0c:0xec,_0x4c8105:0x1c8,_0x2bfa35:0xe6};function _0x1d9969(_0x3ac187,_0x1e0c29,_0x170298,_0x42ac9){return _0x4ab00a(_0x3ac187-_0x20b2ef._0x37fc0c,_0x1e0c29-_0x20b2ef._0x4c8105,_0x170298,_0x42ac9-_0x20b2ef._0x2bfa35);}if(_0x363f6a&&typeof _0x363f6a==='object'&&!Array['isArray'](_0x363f6a)&&typeof _0x363f6a[_0x1d9969(_0x2eb75d._0x303bf0,_0x2eb75d._0x36cedd,_0x2eb75d._0x36e569,0x6cd)]===_0x1d9969(0x4f5,0x6a6,_0x2eb75d._0x485fac,_0x2eb75d._0x58e8a2))return _0x363f6a[_0x1d9969(_0x2eb75d._0x2cef92,0x583,0x5b0,_0x2eb75d._0x40ea56)];function _0x4d4f9c(_0x272db7,_0x3bbfa,_0x4e44f0,_0x372008){return _0x4ab00a(_0x272db7-0xb6,_0x3bbfa-_0x22bd3c._0x541820,_0x4e44f0,_0x372008- -_0x22bd3c._0x3ee357);}return _0x1d9969(_0x2eb75d._0x59858b,0x5c0,0x36c,_0x2eb75d._0x155a39);}var MOCK_WORKSPACE_LISTING=[_0x1932a3(0x463,0x436,0x30e,0x1fb),_0x1932a3(0x4c0,0x52a,0x47f,0x57c),_0x4ab00a(0x3e5,0x515,0x63e,0x4cc),'package.json',_0x4ab00a(0x4f7,0x64c,0x676,0x5ee),_0x1932a3(0x49c,0x420,0x47a,0x37f),'src/examples/demo.ts',_0x4ab00a(0x3f4,0x2ba,0x2d9,0x389),_0x4ab00a(0x540,0x43c,0x5bd,0x5a7),'src/tools/mock-tool-runtime.ts',_0x1932a3(0x4bc,0x24a,0x3b1,0x404),_0x1932a3(0x360,0x2df,0x2fa,0x3ea),_0x4ab00a(0x3c3,0x3a9,0x455,0x478),_0x4ab00a(0x686,0x5ed,0x56f,0x58d),'src/models/anthropic-model.ts',_0x1932a3(0x4e9,0x472,0x533,0x424),_0x1932a3(0x35d,0x34e,0x4ae,0x4a7)][_0x1932a3(0x66f,0x4dc,0x4fa,0x392)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x4ab00a(0x469,0x368,0x4eb,0x444),'description':_0x4ab00a(0x56a,0x429,0x659,0x4e4),'input_schema':{'type':_0x1932a3(0x645,0x3fb,0x4eb,0x516),'properties':{'command':{'type':_0x1932a3(0x4d1,0x306,0x3f2,0x447)}},'required':[_0x4ab00a(0x6da,0x646,0x5b0,0x5e7)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x47bca2){return{'output':_0x47bca2,'structured':{'value':_0x47bca2}};}function createUnknownToolResult(_0x479356){const _0x3dbea9={_0x45669c:0x11,_0x241c86:0xf5,_0x9a20f0:0x127,_0x1df809:0xd4,_0x424170:0x85},_0x584562={_0x204ab1:0x16,_0x1a42c1:0x2fc};function _0x2388cf(_0x165448,_0x4a56ee,_0x2e990a,_0x41c630){return _0x4ab00a(_0x165448-_0x584562._0x204ab1,_0x4a56ee-0xce,_0x2e990a,_0x4a56ee- -_0x584562._0x1a42c1);}function _0x558de6(_0x5cebb1,_0x18f5c7,_0x34a33b,_0x373ffd){return _0x1932a3(_0x373ffd,_0x18f5c7-0x3f,_0x34a33b- -0x35d,_0x373ffd-0xc9);}return{'callId':_0x479356['id'],'toolName':_0x479356['name'],'status':_0x558de6(0x128,_0x3dbea9._0x45669c,_0x3dbea9._0x241c86,_0x3dbea9._0x9a20f0),'output':'Unknown\x20tool:\x20'+_0x479356[_0x558de6(-0x67,_0x3dbea9._0x1df809,0x5,-_0x3dbea9._0x424170)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x55225d,_0x4759cb){const _0x284a0f={_0x292d71:0x6a2,_0x25be48:0x537,_0x7ac572:0x4b9,_0x3f4577:0x5a6},_0x19932c={_0x29f123:0x3f},_0x117682={_0x19ea93:0xef};function _0x575162(_0xaca5d,_0x55d4a8,_0x15cbda,_0x3afbae){return _0x1932a3(_0x55d4a8,_0x55d4a8-0x168,_0x15cbda-_0x117682._0x19ea93,_0x3afbae-0x11b);}function _0x398794(_0x24ce4b,_0x5c04fa,_0x17e27c,_0x412d8e){return _0x1932a3(_0x17e27c,_0x5c04fa-_0x19932c._0x29f123,_0x24ce4b-0x295,_0x412d8e-0x10c);}return{'callId':_0x55225d['id'],'toolName':_0x55225d[_0x398794(0x5f7,_0x284a0f._0x292d71,_0x284a0f._0x25be48,_0x284a0f._0x7ac572)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x55225d[_0x398794(0x712,0x7a7,0x79e,_0x284a0f._0x3f4577)]),'exitCode':0x0},'chunks':[_0x4759cb],'meta':createMeta()};}function createMockToolRuntime(){const _0x395d20={_0x1bf85d:0xf,_0x44b0a9:0x726,_0x434dc3:0x695},_0xfe8a10={_0xde469a:0x2a2,_0x5d5c22:0x17f},_0x3f7ee8=async(_0x516178,_0x270ccc)=>{function _0x2c3725(_0x19fa08,_0x5e9894,_0x255793,_0x20b716){return _0x5a72(_0x5e9894- -0x113,_0x19fa08);}if(_0x516178[_0x2c3725(0xaa,0x16f,_0xfe8a10._0xde469a,0x29)]!==_0x2560d1(0x206,-0x81,0xb8,_0xfe8a10._0x5d5c22))return createUnknownToolResult(_0x516178);function _0x2560d1(_0x442b89,_0x2cc6da,_0x15cdb7,_0x4b4c54){return _0x5a72(_0x15cdb7- -0x1b5,_0x2cc6da);}const _0x3c7da2=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x516178,_0x3c7da2);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x34bdee,_0x33a5a8){const _0x4a69b7={_0x26310d:0x33b};function _0x1ba3dd(_0xe5da51,_0x2cec49,_0x385b63,_0x584f48){return _0x5a72(_0x385b63- -_0x4a69b7._0x26310d,_0x584f48);}function _0x973479(_0x55884e,_0x4b9516,_0xa62d28,_0x1a3b7b){return _0x5a72(_0xa62d28-0x3b2,_0x4b9516);}return await Promise[_0x1ba3dd(_0x395d20._0x1bf85d,0x3e,-0x24,0xd6)](_0x34bdee[_0x973479(_0x395d20._0x44b0a9,0x594,0x621,_0x395d20._0x434dc3)](async _0x220bb0=>{return await _0x3f7ee8(_0x220bb0,_0x33a5a8);}));},async 'execute'(_0x366bd2,_0x39276b){return await _0x3f7ee8(_0x366bd2,_0x39276b);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){return delegatedRunCounter+=0x1,'delegated-run-'+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x21ebbb,_0x48e57d){const _0x5bccd4={_0x53af37:0x1e9},_0x392231={_0x204a22:0x127,_0x3078ce:0x3ac};function _0x2019e8(_0x19717f,_0x541678,_0x3f2b39,_0x4afc67){return _0x4ab00a(_0x19717f-0x16f,_0x541678-_0x392231._0x204a22,_0x19717f,_0x3f2b39- -_0x392231._0x3078ce);}return typeof _0x21ebbb===_0x2019e8(-0xea,_0x5bccd4._0x53af37,0x87,0x140)?await _0x21ebbb(_0x48e57d):_0x21ebbb;}function getDelegatedAgentDefinition(_0x3f08b0,_0x528f73){return _0x3f08b0['agents']?.[_0x528f73];}function createRunSummary(_0x4e5ece){const _0x13173e={_0x2555da:0x665,_0x280250:0x764,_0x8ff50e:0x82a,_0x762945:0x2a0,_0x5bd048:0x1f3,_0x3bedd2:0x1a8,_0x1828d8:0x21b,_0x263397:0x18,_0x4bd2b0:0x5bc,_0x57d56c:0x498,_0x460f91:0x30,_0x6be076:0xfc,_0xf53457:0x1c,_0x19cdb4:0x179,_0x42a4bc:0xea,_0x1e9b74:0x581,_0x722545:0x4ae,_0x59cb02:0x862,_0x1a2379:0x68d,_0x35e34c:0x75f,_0x30ed6e:0x8a8},_0x5704f3={_0x3e83d8:0x128,_0x58b506:0x45d},_0x323f2e={_0x1a9ecc:0x261,_0x11b62c:0x14};function _0x415726(_0x546366,_0x22a242,_0x53449b,_0x1724aa){return _0x1932a3(_0x546366,_0x22a242-0x174,_0x53449b-_0x323f2e._0x1a9ecc,_0x1724aa-_0x323f2e._0x11b62c);}function _0xa209bd(_0x2ec97f,_0x5506c1,_0xa2600f,_0x22c7f7){return _0x4ab00a(_0x2ec97f-0x6f,_0x5506c1-_0x5704f3._0x3e83d8,_0x22c7f7,_0x5506c1- -_0x5704f3._0x58b506);}return{'runId':_0x4e5ece[_0x415726(_0x13173e._0x2555da,0x7d9,_0x13173e._0x280250,_0x13173e._0x8ff50e)],'agentId':_0x4e5ece[_0xa209bd(_0x13173e._0x762945,_0x13173e._0x5bd048,_0x13173e._0x3bedd2,_0x13173e._0x1828d8)],'sessionId':_0x4e5ece[_0xa209bd(0x56,-0xed,-0x187,_0x13173e._0x263397)],'status':_0x4e5ece['status'],'parentSessionId':_0x4e5ece[_0x415726(_0x13173e._0x4bd2b0,_0x13173e._0x57d56c,0x602,0x744)],..._0x4e5ece[_0xa209bd(-0xa,-0x1c,_0x13173e._0x460f91,-0x92)]!==void 0x0?{'originToolCallId':_0x4e5ece[_0xa209bd(_0x13173e._0x6be076,-_0x13173e._0xf53457,-_0x13173e._0x19cdb4,-_0x13173e._0x42a4bc)]}:{},..._0x4e5ece['errorMessage']!==void 0x0?{'errorMessage':_0x4e5ece[_0x415726(0x465,_0x13173e._0x1e9b74,0x573,0x5a4)]}:{},..._0x4e5ece['result']?.['finalMessage']!==void 0x0?{'finalMessageText':getTextFromMessage(_0x4e5ece[_0x415726(_0x13173e._0x722545,0x43b,0x57c,0x502)][_0x415726(_0x13173e._0x59cb02,_0x13173e._0x1a2379,_0x13173e._0x35e34c,_0x13173e._0x30ed6e)])}:{}};}function createRunSummaryOutput(_0x2746c2,_0x18483b){const _0x289b71={_0x2f557c:0xe2,_0x12b496:0x6b,_0xab08d7:0x65,_0x28199f:0x2a,_0x275ceb:0x125,_0x322cd9:0x18d,_0x4bba2d:0x1c2},_0x57da64={_0x155760:0x133,_0x1d0be1:0x6,_0x3e60fd:0x4bf},_0x140893={_0x418dd6:0x1e9,_0x24af6d:0x29c},_0x3d3bb2=createRunSummary(_0x2746c2),_0x50ced4=_0x3d3bb2[_0x5140db(-0x5e,_0x289b71._0x2f557c,0x228,-_0x289b71._0x12b496)];function _0x47cf10(_0x120ff7,_0x474a7f,_0x22eb8,_0x47c867){return _0x4ab00a(_0x120ff7-0x1,_0x474a7f-_0x140893._0x418dd6,_0x474a7f,_0x47c867- -_0x140893._0x24af6d);}function _0x5140db(_0x4984ee,_0x549c33,_0x5b52d4,_0x561990){return _0x4ab00a(_0x4984ee-_0x57da64._0x155760,_0x549c33-_0x57da64._0x1d0be1,_0x5b52d4,_0x549c33- -_0x57da64._0x3e60fd);}return createToolOutput(typeof _0x50ced4===_0x5140db(-_0x289b71._0xab08d7,_0x289b71._0x28199f,_0x289b71._0x275ceb,_0x289b71._0x322cd9)&&_0x50ced4[_0x5140db(_0x289b71._0x4bba2d,0x79,-0xed,-_0x289b71._0x28199f)]>0x0?_0x50ced4:_0x18483b,_0x3d3bb2);}function getRunTerminalErrorMessage(_0x959b67){const _0x45b7bd={_0x5399f3:0x118,_0x1b6bdc:0x18b,_0x24bc6b:0x1b1,_0x369662:0x1e0,_0x4e8e17:0x77,_0x537639:0x1d5,_0x150185:0x4a5,_0x254764:0x4ec,_0x2bcd6d:0x579,_0x2da9a3:0x6ab},_0x41716b={_0x1d3238:0x9e},_0xda9309={_0x4b3502:0x40a};function _0x5a638f(_0x13f447,_0x34b782,_0x4518f4,_0xa19a9b){return _0x1932a3(_0x13f447,_0x34b782-0x88,_0x4518f4- -_0xda9309._0x4b3502,_0xa19a9b-0x17a);}const _0x4738d1=_0x959b67?.['state'][_0x5a638f(0x1b0,-0x28,0x54,_0x45b7bd._0x5399f3)]['at'](-0x1);function _0x39ccb9(_0x54dd41,_0x3e8a1b,_0x523b8a,_0x22f2e4){return _0x1932a3(_0x22f2e4,_0x3e8a1b-_0x41716b._0x1d3238,_0x523b8a-0xe8,_0x22f2e4-0x74);}if(_0x4738d1?.[_0x5a638f(-0x1c9,-0x1e2,-_0x45b7bd._0x1b6bdc,-0xa1)]===_0x5a638f(0x37,_0x45b7bd._0x24bc6b,0x48,-0xb3)&&_0x4738d1[_0x5a638f(_0x45b7bd._0x369662,0x56,0x87,0xd4)][_0x5a638f(-_0x45b7bd._0x4e8e17,-0xe1,-0xd6,-_0x45b7bd._0x537639)]()[_0x39ccb9(_0x45b7bd._0x150185,0x507,0x529,_0x45b7bd._0x254764)]>0x0)return _0x4738d1[_0x39ccb9(0x5e1,0x5b2,_0x45b7bd._0x2bcd6d,_0x45b7bd._0x2da9a3)];return void 0x0;}function formatAbortedRunMessage(_0x3f585f,_0x2c0101){const _0x3b9d71={_0x351591:0x38c,_0x1d8494:0x40e,_0x4db0ca:0x49,_0x1e1bba:0x133,_0x45de17:0x2a6,_0x5eee0b:0xd},_0x2b121a={_0x2d6735:0x149},_0x57dc72={_0x3ee205:0x12f,_0x5af33e:0x158},_0x5c0cfa=_0x34d675(_0x3b9d71._0x351591,0x49f,_0x3b9d71._0x1d8494,0x3ee)+_0x3f585f+_0x4bd9df(-_0x3b9d71._0x4db0ca,-0x1f,-0x6a,0xa1);if(!_0x2c0101||_0x2c0101[_0x4bd9df(-_0x3b9d71._0x1e1bba,-_0x3b9d71._0x45de17,_0x3b9d71._0x5eee0b,-0x26b)]()['length']===0x0||_0x2c0101===_0x5c0cfa)return _0x5c0cfa;function _0x34d675(_0x2cb955,_0x51cb66,_0x30bef0,_0x2ca2f0){return _0x1932a3(_0x30bef0,_0x51cb66-_0x57dc72._0x3ee205,_0x2ca2f0- -_0x57dc72._0x5af33e,_0x2ca2f0-0xac);}function _0x4bd9df(_0x22d112,_0x593513,_0x44b3e4,_0x1b7f57){return _0x1932a3(_0x1b7f57,_0x593513-_0x2b121a._0x2d6735,_0x22d112- -0x467,_0x1b7f57-0x2d);}return _0x5c0cfa+'\x20Cause:\x20'+_0x2c0101;}function createAssignTaskTool(_0x324651){const _0x27b49e={_0x34faf9:0x39f,_0x1e5e3f:0x3a8,_0x58b4b1:0x5a3,_0x120670:0x3f6,_0x4f7b03:0x4eb,_0x568100:0x383,_0x5abdb7:0x42d,_0x3958ab:0x356},_0x2cb54b={_0xbf80a:0x11f,_0x8ee9d9:0x2b1,_0x1798b6:0x193,_0x36c4d7:0x4cb,_0x5dbcc0:0x2e2,_0xca5b65:0x538,_0xa0f846:0x9,_0x57b0b3:0x3,_0x532aad:0x19,_0x46788c:0x8a,_0x493765:0x2e,_0x59b71a:0x844,_0x3f2a78:0x782,_0x333a6b:0x766,_0x5e0342:0x754,_0x57415b:0x29a,_0x462ae7:0x1d2,_0x233ac7:0x18d,_0x48572c:0x16f,_0x5b6cea:0x206,_0x260d27:0xd8,_0xac5810:0xf,_0x51e561:0x22c,_0x54ff33:0xa4,_0xef7c9f:0x14d,_0x174ef9:0xa,_0x22804f:0x66,_0x6198fd:0x1c,_0x1f1e94:0x5e0,_0x4f2c96:0x66b,_0x5e20ed:0x64f,_0x23b47b:0x5f7,_0x5b33b1:0xdc,_0x471b58:0x731,_0x220768:0x6c4,_0x1bc045:0x649,_0x2bec2c:0x257,_0x49bdf6:0x270,_0x4138ee:0x3a2,_0x2551aa:0x43a,_0x56703b:0x3a0,_0x1fc8c8:0x440,_0x2e7bd2:0x36,_0x34e560:0xd7,_0x22d737:0x5c,_0xc02ec4:0x3f8,_0x221182:0x56a,_0x1af2c5:0x4e8,_0xe180a:0x3d,_0x3dba29:0x6af,_0x55b81d:0x748,_0x3a29d0:0x16,_0x35636c:0x13d,_0x4ae232:0x78c,_0x5eec98:0x173,_0x3f64f5:0x70,_0x33208f:0xa1,_0x538810:0x75,_0x3bc549:0x83b,_0x26fdaf:0x606,_0x19fefe:0x5a7,_0x38d929:0x27b,_0x4a5679:0x47c,_0x4c5780:0x480,_0x41c6eb:0x85c},_0x3c3f47={_0x570064:0x482,_0x4ebd4d:0x334,_0x3fb74d:0x3da,_0x4ec9c1:0x13d,_0x56796c:0x122},_0x360bdf={_0x25b4f5:0x339,_0xc260c6:0x1bc,_0x283a53:0x83},_0x105f7c={_0x38afb6:0xf1},_0x1362ac={_0x30cf6d:0x4c};function _0x4fe80d(_0x55b041,_0x9ea2b7,_0x163235,_0x28237d){return _0x4ab00a(_0x55b041-_0x1362ac._0x30cf6d,_0x9ea2b7-0x6e,_0x9ea2b7,_0x55b041-0x8c);}function _0x11420c(_0x4dbf42,_0x14e0ec,_0x337d51,_0x2b2933){return _0x4ab00a(_0x4dbf42-_0x105f7c._0x38afb6,_0x14e0ec-0x109,_0x4dbf42,_0x14e0ec- -0x26f);}return defineTool({'name':_0x11420c(_0x27b49e._0x34faf9,_0x27b49e._0x1e5e3f,0x230,0x383),'description':_0x4fe80d(0x47f,_0x27b49e._0x58b4b1,0x417,_0x27b49e._0x120670),'inputSchema':{'type':'object','properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':'string'},'task':{'type':'string'}},'required':['agentId',_0x4fe80d(0x43c,_0x27b49e._0x4f7b03,_0x27b49e._0x568100,_0x27b49e._0x5abdb7),_0x11420c(0x33d,0x231,_0x27b49e._0x3958ab,0x1ee)]},async *'execute'(_0x54bc08,_0x18b2a4){const _0x22d081={_0x338923:0x187,_0x543f4b:0x1e3,_0x1052e3:0x25b},_0x5afad2={_0x150357:0x12a},_0x126d32=createDelegatedRunId(),_0x268dc={'agentId':_0x54bc08[_0x17e9d2(_0x2cb54b._0xbf80a,0x6a,_0x2cb54b._0x8ee9d9,_0x2cb54b._0x1798b6)],'parentSessionId':_0x18b2a4[_0x271f35(_0x2cb54b._0x36c4d7,0x43a,_0x2cb54b._0x5dbcc0,_0x2cb54b._0xca5b65)],'runId':_0x126d32,..._0x18b2a4[_0x17e9d2(_0x2cb54b._0xa0f846,-0x2d,-0x51,-_0x2cb54b._0x57b0b3)]!==void 0x0?{'toolCallId':_0x18b2a4['toolCallId']}:{}};function _0x17e9d2(_0x46e54e,_0x35d585,_0x5f8b42,_0x3100c2){return _0x11420c(_0x5f8b42,_0x3100c2- -0x24e,_0x5f8b42-_0x5afad2._0x150357,_0x3100c2-0xe);}function _0x271f35(_0x5bc90f,_0x57c7ad,_0x1bb166,_0x8b4972){return _0x11420c(_0x1bb166,_0x57c7ad-_0x360bdf._0x25b4f5,_0x1bb166-_0x360bdf._0xc260c6,_0x8b4972-_0x360bdf._0x283a53);}const _0x52705b=getDelegatedAgentDefinition(_0x324651,_0x54bc08['agentId']);if(!_0x52705b)throw new ToolExecutionError(_0x17e9d2(-_0x2cb54b._0x532aad,-0x6b,_0x2cb54b._0x46788c,_0x2cb54b._0x493765)+_0x54bc08[_0x271f35(0x751,0x71a,0x5a4,_0x2cb54b._0x59b71a)],{'agentId':_0x54bc08[_0x271f35(_0x2cb54b._0x3f2a78,0x71a,_0x2cb54b._0x333a6b,_0x2cb54b._0x5e0342)]});const _0x16316d=new Agent(await resolveDelegatedAgentOptions(_0x52705b,_0x268dc));let _0x20ef59={'runId':_0x126d32,'agentId':_0x54bc08[_0x17e9d2(_0x2cb54b._0x57415b,0x1b3,0x235,0x193)],'sessionId':_0x16316d[_0x17e9d2(-_0x2cb54b._0x462ae7,-_0x2cb54b._0x233ac7,-_0x2cb54b._0x48572c,-0x14d)],'status':_0x17e9d2(-_0x2cb54b._0x5b6cea,-_0x2cb54b._0x260d27,-_0x2cb54b._0xac5810,-0xd7),'parentSessionId':_0x18b2a4[_0x17e9d2(-_0x2cb54b._0x51e561,-_0x2cb54b._0x54ff33,-0xeb,-_0x2cb54b._0xef7c9f)],..._0x18b2a4[_0x17e9d2(-_0x2cb54b._0x174ef9,-_0x2cb54b._0x22804f,-_0x2cb54b._0x6198fd,-0x3)]!==void 0x0?{'originToolCallId':_0x18b2a4[_0x271f35(_0x2cb54b._0x1f1e94,0x584,_0x2cb54b._0x4f2c96,0x5cd)]}:{}};const _0xd1e29e=new AbortController(),_0x2a798e=addAbortListener(_0x18b2a4[_0x271f35(_0x2cb54b._0x5e20ed,_0x2cb54b._0x23b47b,0x6cb,0x566)],()=>{const _0x166241={_0x38bd7b:0x196};function _0x51d17e(_0x4fc67c,_0x13d7b2,_0x4e6792,_0x2b7717){return _0x271f35(_0x4fc67c-_0x166241._0x38bd7b,_0x4e6792- -0x2c3,_0x2b7717,_0x2b7717-0x14d);}function _0x170675(_0x20accb,_0x19288e,_0x3e1e73,_0x42d7f5){return _0x17e9d2(_0x20accb-_0x22d081._0x338923,_0x19288e-_0x22d081._0x543f4b,_0x20accb,_0x42d7f5-_0x22d081._0x1052e3);}_0xd1e29e['abort'](_0x18b2a4[_0x51d17e(0x32c,_0x3c3f47._0x570064,_0x3c3f47._0x4ebd4d,_0x3c3f47._0x3fb74d)]?.[_0x170675(0x126,0x1b1,_0x3c3f47._0x4ec9c1,_0x3c3f47._0x56796c)]);});yield createToolOutput(_0x17e9d2(-0x1d,0x16b,0x20e,_0x2cb54b._0x5b33b1)+_0x20ef59[_0x271f35(_0x2cb54b._0x471b58,_0x2cb54b._0x220768,_0x2cb54b._0x1bc045,0x612)]+'.',{'runId':_0x20ef59[_0x17e9d2(_0x2cb54b._0x2bec2c,_0x2cb54b._0x49bdf6,0xbe,0x13d)],'agentId':_0x20ef59['agentId'],'sessionId':_0x20ef59[_0x271f35(_0x2cb54b._0x4138ee,_0x2cb54b._0x2551aa,0x3d8,0x41c)],'status':_0x20ef59[_0x271f35(_0x2cb54b._0x56703b,_0x2cb54b._0x1fc8c8,0x512,0x319)]});try{const _0x25b022=await _0x16316d[_0x17e9d2(0x19f,-_0x2cb54b._0x2e7bd2,-_0x2cb54b._0x34e560,_0x2cb54b._0x22d737)](_0x54bc08[_0x271f35(_0x2cb54b._0xc02ec4,_0x2cb54b._0x221182,0x57e,_0x2cb54b._0x1af2c5)],{'signal':_0xd1e29e[_0x17e9d2(-_0x2cb54b._0xe180a,0x33,0x16f,0x70)]});_0x20ef59={..._0x20ef59,'status':_0x25b022['status'],'result':_0x25b022};if(_0x25b022['status']!==_0x271f35(0x629,_0x2cb54b._0x3dba29,0x5ca,_0x2cb54b._0x55b81d)){const _0xbfd494=getRunTerminalErrorMessage(_0x25b022),_0x15eb90=formatAbortedRunMessage(_0x20ef59[_0x17e9d2(-0x38,0x189,-_0x2cb54b._0x3a29d0,_0x2cb54b._0x35636c)],_0xbfd494);throw new ToolExecutionError(_0x15eb90,{...createRunSummary(_0x20ef59),'aborted':!![],'errorMessage':_0x15eb90});}return createRunSummaryOutput(_0x20ef59,'Agent\x20run\x20'+_0x20ef59[_0x271f35(0x617,0x6c4,_0x2cb54b._0x4ae232,0x706)]+'\x20completed.');}catch(_0x23ed4a){if(_0x23ed4a instanceof ToolExecutionError)throw _0x23ed4a;if(isAbortError(_0x23ed4a)||_0xd1e29e['signal']['aborted']||_0x18b2a4[_0x17e9d2(_0x2cb54b._0x5eec98,0x1d9,0x111,_0x2cb54b._0x3f64f5)][_0x17e9d2(-_0x2cb54b._0x33208f,-_0x2cb54b._0x46788c,0x3f,-0xa0)]){const _0x12c646=getRunTerminalErrorMessage(_0x20ef59['result'])??(_0x23ed4a instanceof Error?_0x23ed4a[_0x17e9d2(0xb9,-0xcb,0xe7,-_0x2cb54b._0x538810)]:String(_0x23ed4a)),_0x26ca1e=formatAbortedRunMessage(_0x20ef59[_0x271f35(_0x2cb54b._0x3bc549,0x6c4,_0x2cb54b._0x26fdaf,0x676)],_0x12c646);_0x20ef59={..._0x20ef59,'status':'aborted','errorMessage':_0x26ca1e};throw new ToolExecutionError(_0x26ca1e,{...createRunSummary(_0x20ef59),'aborted':!![],'errorMessage':_0x26ca1e});}const _0x2250f5=getRunTerminalErrorMessage(_0x20ef59['result'])??(_0x23ed4a instanceof Error?_0x23ed4a['message']:String(_0x23ed4a))??_0x271f35(0x77b,0x707,0x60f,_0x2cb54b._0x19fefe)+_0x20ef59[_0x17e9d2(0xed,0x124,_0x2cb54b._0x38d929,_0x2cb54b._0x35636c)]+_0x271f35(_0x2cb54b._0x4a5679,_0x2cb54b._0x4c5780,0x3e0,0x37a);_0x20ef59={..._0x20ef59,'status':_0x271f35(0x7a7,0x6e6,0x6dd,_0x2cb54b._0x41c6eb),'errorMessage':_0x2250f5};throw new ToolExecutionError(_0x2250f5,{...createRunSummary(_0x20ef59),'errorMessage':_0x2250f5});}finally{_0x2a798e();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x55553d){return[createAssignTaskTool(_0x55553d)];}import*as _0x5c6f58 from'path';function buildDescription2(_0x29cbac){const _0x1270d0={_0x5d4f1a:0x44,_0x470126:0x8,_0x3394c1:0xb6,_0x2506b2:0x95,_0x387fd9:0x10d,_0x312e5d:0x159,_0x8b93fd:0x59,_0xc3f588:0x261,_0x132b42:0x37b,_0x4f104d:0x242,_0x536be9:0x28a,_0x4e8398:0xb8,_0x97cf8f:0x9e,_0xfddbc6:0x1f8,_0x1eb8a3:0x1ea},_0x43d138={_0x1cdc03:0xa0},_0x50f58c={_0x1cb40a:0x57,_0x2e872b:0x31,_0x38a944:0x3e0};if(_0x29cbac['length']===0x0)return _0x24dca5(_0x1270d0._0x5d4f1a,-_0x1270d0._0x470126,_0x1270d0._0x3394c1,-_0x1270d0._0x2506b2);const _0x3d4962=[_0x24dca5(_0x1270d0._0x387fd9,_0x1270d0._0x312e5d,-0x4c,_0x1270d0._0x8b93fd),_0x24dca5(_0x1270d0._0xc3f588,0x137,_0x1270d0._0x132b42,0x128),_0x4dd15c(0x350,_0x1270d0._0x4f104d,_0x1270d0._0x536be9,0x26b),'Available\x20skills\x20(skill_name:\x20description):',..._0x29cbac[_0x24dca5(0x4d,0x120,-_0x1270d0._0x4e8398,-_0x1270d0._0x97cf8f)](_0x482b40=>'-\x20'+_0x482b40['name']+':\x20'+_0x482b40[_0x4dd15c(0xd3,-0x6d,-0x18b,-0x30)])];function _0x4dd15c(_0x4ee875,_0x49f004,_0x1d9eda,_0x29be3b){return _0x4ab00a(_0x4ee875-_0x50f58c._0x1cb40a,_0x49f004-_0x50f58c._0x2e872b,_0x49f004,_0x29be3b- -_0x50f58c._0x38a944);}function _0x24dca5(_0x550759,_0x3963d0,_0x1fbd41,_0x3b1f84){return _0x4ab00a(_0x550759-0x1d8,_0x3963d0-_0x43d138._0x1cdc03,_0x3b1f84,_0x550759- -0x3f9);}return _0x3d4962[_0x24dca5(_0x1270d0._0xfddbc6,_0x1270d0._0x1eb8a3,0x17b,0x1b8)]('\x0a');}function createLoadSkillTool(_0x1df4bd){const _0x56af5e={_0x2bc640:0x3b7,_0x1c4dcd:0x3c2,_0x219699:0x357,_0x5e682b:0x503,_0x155e38:0x59b,_0x2ddfdf:0x516,_0x1a469b:0x3e4,_0x2ce8f0:0x51a,_0x14b699:0x40f,_0x4872ac:0x4d6,_0x1fa831:0x325,_0x9ea40a:0x389,_0x189e03:0x224,_0x3383e8:0x35c,_0x49aa52:0x4e,_0x541970:0x2e,_0x5d5390:0x29,_0x65ad22:0x9b,_0x2bd6ef:0x21},_0x39c0db={_0x53697f:0x3dc,_0x5ef55a:0x7c,_0x26cce6:0x155,_0x1e084b:0x4d8,_0x30cb20:0x3e6,_0x47260f:0x321,_0x16c36b:0x205,_0x19b3c5:0x1eb,_0x49198f:0x23c,_0x166f30:0x193,_0x82a43a:0x217,_0x23bf59:0x1fa,_0x740719:0x33d,_0x4f18d7:0x200,_0x50727c:0x366,_0x5d187a:0x283,_0x10875d:0x175,_0x11ba1e:0x3e7,_0x2a4dd2:0x256,_0x14467e:0x273,_0x3d17a8:0x1cc,_0x31d0dd:0x1ad,_0x36d259:0x185,_0x8c420d:0x330,_0x19e50f:0xd0,_0x55e35f:0x23a,_0x3123b8:0x37f,_0x583c4f:0x23c,_0x177e15:0x1c3,_0x5c37f0:0x305,_0x51aef8:0x3db,_0x6b88f3:0x3eb,_0xc0d7f0:0x3f0,_0x4a8561:0x411,_0x2554e6:0x304,_0x586e9d:0x339,_0x58d53e:0x19,_0x2eefe0:0xdf,_0x4b90cc:0xcf,_0x21580f:0x13,_0x523183:0x15,_0x75cae6:0x521},_0x5368aa={_0x183eec:0x131,_0x569bb1:0x198},_0x259a0a={_0x11f408:0x39},_0x172433=new Map(_0x1df4bd[_0x155852(_0x56af5e._0x2bc640,_0x56af5e._0x1c4dcd,_0x56af5e._0x219699,_0x56af5e._0x5e682b)][_0x155852(0x480,0x4a9,0x598,_0x56af5e._0x155e38)](_0x57cd5c=>[_0x57cd5c[_0x187aa3(0x196,-0x49,0x9b,0x208)],_0x57cd5c]));function _0x187aa3(_0x12452d,_0x23a42c,_0x5e0076,_0x18af47){return _0x1932a3(_0x23a42c,_0x23a42c-0x1cb,_0x5e0076- -0x2c7,_0x18af47-_0x259a0a._0x11f408);}function _0x155852(_0x585df5,_0x2a35ba,_0x161d2e,_0x4c8eb6){return _0x1932a3(_0x161d2e,_0x2a35ba-0x38,_0x585df5-_0x5368aa._0x183eec,_0x4c8eb6-_0x5368aa._0x569bb1);}const _0x57f222=buildDescription2(_0x1df4bd[_0x155852(0x3b7,_0x56af5e._0x2ddfdf,0x294,_0x56af5e._0x1a469b)]);return defineTool({'name':_0x155852(0x4ee,_0x56af5e._0x2ce8f0,_0x56af5e._0x14b699,_0x56af5e._0x4872ac),'description':_0x57f222,'inputSchema':{'type':_0x187aa3(_0x56af5e._0x1fa831,_0x56af5e._0x9ea40a,_0x56af5e._0x189e03,_0x56af5e._0x3383e8),'properties':{'name':{'type':_0x187aa3(0x239,0xd0,0x12b,-_0x56af5e._0x49aa52)}},'required':[_0x187aa3(-_0x56af5e._0x541970,-_0x56af5e._0x5d5390,_0x56af5e._0x65ad22,_0x56af5e._0x2bd6ef)]},async *'execute'(_0xe6f0fa){const _0x2fedf5={_0x18fadb:0xc8};function _0x5d49ba(_0x9fc46b,_0x5cd429,_0x55f79c,_0x28e5b1){return _0x187aa3(_0x9fc46b-0x1f2,_0x9fc46b,_0x55f79c-0x1a1,_0x28e5b1-0x11b);}const _0x3f9e15=_0x172433[_0x5d49ba(0x444,_0x39c0db._0x53697f,0x3e3,0x324)](_0xe6f0fa['name']);if(!_0x3f9e15){const _0x116d72=Array[_0x2831ef(-0xb,_0x39c0db._0x5ef55a,0xa6,_0x39c0db._0x26cce6)](_0x172433[_0x2831ef(0x22f,0x2fb,0x275,0x36e)]())[_0x5d49ba(_0x39c0db._0x1e084b,_0x39c0db._0x30cb20,0x3d4,_0x39c0db._0x47260f)](',\x20');throw new ToolExecutionError(_0x2831ef(0xd3,-0x10,_0x39c0db._0x16c36b,_0x39c0db._0x19b3c5)+_0xe6f0fa[_0x5d49ba(0xee,0x2d5,_0x39c0db._0x49198f,_0x39c0db._0x166f30)]+_0x2831ef(0xab,_0x39c0db._0x82a43a,0x1b9,_0x39c0db._0x23bf59)+_0x116d72,{'name':_0xe6f0fa[_0x5d49ba(_0x39c0db._0x740719,0x110,0x23c,0x173)]});}const _0x508b8c=await _0x1df4bd[_0x5d49ba(_0x39c0db._0x4f18d7,0x1ee,0x294,_0x39c0db._0x50727c)](_0x3f9e15),_0x498654=_0x3f9e15[_0x2831ef(_0x39c0db._0x5d187a,_0x39c0db._0x10875d,0x357,0x368)][_0x5d49ba(0x4da,0x4bc,_0x39c0db._0x11ba1e,0x32c)]??_0x5c6f58[_0x5d49ba(0x24b,0x2d9,0x16d,0x6a)](_0x3f9e15[_0x2831ef(0x283,_0x39c0db._0x2a4dd2,0x22a,_0x39c0db._0x14467e)][_0x2831ef(_0x39c0db._0x3d17a8,_0x39c0db._0x31d0dd,_0x39c0db._0x36d259,_0x39c0db._0x8c420d)]),_0x321f43=[_0x2831ef(0x135,_0x39c0db._0x19e50f,0x20c,_0x39c0db._0x55e35f)+_0x508b8c[_0x5d49ba(_0x39c0db._0x3123b8,0x2f4,_0x39c0db._0x583c4f,0x20e)],'',_0x508b8c[_0x5d49ba(0x312,0x328,0x1c1,0x1b8)],'',_0x2831ef(_0x39c0db._0x177e15,0x6c,_0x39c0db._0x5c37f0,0x222),_0x5d49ba(0x4cd,0x27c,_0x39c0db._0x51aef8,_0x39c0db._0x6b88f3)+_0x3f9e15[_0x5d49ba(0x2a5,0x503,_0x39c0db._0xc0d7f0,_0x39c0db._0x4a8561)][_0x5d49ba(_0x39c0db._0x2554e6,0x3ab,_0x39c0db._0x586e9d,0x47c)],_0x2831ef(_0x39c0db._0x58d53e,-0xde,0x158,_0x39c0db._0x2eefe0)+_0x498654]['join']('\x0a');function _0x2831ef(_0x2de8a2,_0x394133,_0x81fbfc,_0x343046){return _0x187aa3(_0x2de8a2-0xfd,_0x343046,_0x2de8a2-0x34,_0x343046-_0x2fedf5._0x18fadb);}return yield createToolOutput(_0x321f43,{'id':_0x508b8c['id'],'name':_0x508b8c[_0x2831ef(_0x39c0db._0x4b90cc,_0x39c0db._0x21580f,-_0x39c0db._0x523183,0x1bd)],'path':_0x3f9e15[_0x5d49ba(_0x39c0db._0x75cae6,0x518,_0x39c0db._0xc0d7f0,0x38a)]['path'],'baseDirectory':_0x498654}),void 0x0;}});}var TODO_STATUSES=new Set([_0x4ab00a(0x30c,0x426,0x4c7,0x425),'in_progress','completed']),TODO_PRIORITIES=new Set(['high',_0x1932a3(0x2f1,0x24f,0x36d,0x3fd),_0x1932a3(0x1f8,0x285,0x336,0x36d)]);function isTodoStatus(_0x357248){const _0x48f3cd={_0x2434a7:0x40b,_0x38a395:0x3f6},_0x9ade50={_0x3ca977:0x4};function _0x30ef81(_0x844872,_0x540ff8,_0x58972f,_0x285a81){return _0x1932a3(_0x540ff8,_0x540ff8-0x10b,_0x58972f-_0x9ade50._0x3ca977,_0x285a81-0x28);}return typeof _0x357248===_0x30ef81(_0x48f3cd._0x2434a7,0x48b,_0x48f3cd._0x38a395,0x522)&&TODO_STATUSES['has'](_0x357248);}function isTodoPriority(_0x59decc){const _0x209fbe={_0x44560a:0x60,_0x435669:0x8b,_0x547a9c:0x19},_0x4fd82b={_0x587d30:0x22c},_0x4e83aa={_0x2e82c9:0x185};function _0x41dd1c(_0x331f91,_0xde0242,_0x1f3045,_0x25ee55){return _0x4ab00a(_0x331f91-_0x4e83aa._0x2e82c9,_0xde0242-0x93,_0xde0242,_0x331f91- -0x47e);}function _0x298fbf(_0x5c1b8c,_0x50f71b,_0x1def9d,_0x501006){return _0x1932a3(_0x501006,_0x50f71b-0x87,_0x5c1b8c-_0x4fd82b._0x587d30,_0x501006-0x11d);}return typeof _0x59decc===_0x41dd1c(0x6b,_0x209fbe._0x44560a,-0xc0,0x106)&&TODO_PRIORITIES[_0x41dd1c(-0x24,-_0x209fbe._0x435669,-_0x209fbe._0x547a9c,-0x134)](_0x59decc);}var TodoStore=class{[_0x1932a3(0x5a9,0x63b,0x4ea,0x3cc)]=new Map();[_0x4ab00a(0x397,0x47d,0x57f,0x41c)](_0x7be3a6){const _0x55b52c={_0x72b004:0x67e,_0x43e48d:0x620,_0x347e46:0x8ac,_0x2beab6:0x89b},_0x58fd02={_0x532b32:0xdc,_0x28dd50:0x231};function _0x42871d(_0x20e048,_0x1278a7,_0x2677ba,_0x43c857){return _0x4ab00a(_0x20e048-0x1bd,_0x1278a7-0x1c9,_0x20e048,_0x2677ba- -0xf7);}function _0x50bb90(_0x4cc2c0,_0x17b596,_0x43ff28,_0x3e5f81){return _0x1932a3(_0x17b596,_0x17b596-_0x58fd02._0x532b32,_0x4cc2c0-_0x58fd02._0x28dd50,_0x3e5f81-0xc7);}return this[_0x50bb90(0x71b,_0x55b52c._0x72b004,0x74b,_0x55b52c._0x43e48d)][_0x50bb90(0x73a,0x5fe,_0x55b52c._0x347e46,_0x55b52c._0x2beab6)](_0x7be3a6)??[];}[_0x1932a3(0x692,0x666,0x52d,0x4c4)](_0x294b48,_0xf64aa7){const _0x561ded={_0x1d4950:0x76b,_0x5c5e4f:0x60f,_0x5a9672:0x49d,_0x299fbf:0x39b},_0x78e12c={_0x53ab68:0xf},_0x30dd10={_0x4cbca7:0x74};function _0x178e8e(_0x50e612,_0x2a339a,_0x56dc95,_0x4e11a1){return _0x1932a3(_0x4e11a1,_0x2a339a-0x17,_0x56dc95- -0x68,_0x4e11a1-_0x30dd10._0x4cbca7);}function _0x102fdd(_0x262743,_0x42fea9,_0x4da530,_0x50d355){return _0x4ab00a(_0x262743-_0x78e12c._0x53ab68,_0x42fea9-0x117,_0x4da530,_0x42fea9-0x12e);}this[_0x102fdd(0x77e,0x70f,_0x561ded._0x1d4950,0x87d)][_0x178e8e(0x3cc,_0x561ded._0x5c5e4f,_0x561ded._0x5a9672,_0x561ded._0x299fbf)](_0x294b48,_0xf64aa7);}[_0x1932a3(0x46b,0x399,0x36c,0x38a)](_0x2dee61){const _0x4ee3a1={_0x185197:0x426,_0x5442bf:0x38a,_0x4cee44:0x1f8,_0x4400d6:0x421,_0x106708:0x2d4,_0x594eae:0x3f1,_0x590cd4:0x352,_0x262087:0x4e4,_0x397794:0x4f2,_0x245383:0x5ef,_0x214ba9:0x727,_0x1e24a7:0x752},_0x263f68={_0x549e35:0x11a,_0x276fa1:0x110},_0x9e372c={_0x278459:0xb,_0x20e35f:0x1f3,_0x4f9ad4:0x84},_0xe22afb=this[_0x37bbe9(_0x4ee3a1._0x185197,0x585,0x575,_0x4ee3a1._0x5442bf)](_0x2dee61),_0x6a6c37={'total':_0xe22afb['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x3adfc4(_0x483cd4,_0x413147,_0x2c4b52,_0x312fca){return _0x4ab00a(_0x483cd4-_0x9e372c._0x278459,_0x413147-_0x9e372c._0x20e35f,_0x413147,_0x312fca- -_0x9e372c._0x4f9ad4);}function _0x37bbe9(_0x53bfe7,_0x321f75,_0x548c65,_0x42d577){return _0x4ab00a(_0x53bfe7-_0x263f68._0x549e35,_0x321f75-_0x263f68._0x276fa1,_0x548c65,_0x53bfe7-0xa);}for(const _0x511330 of _0xe22afb){if(_0x511330[_0x3adfc4(_0x4ee3a1._0x4cee44,0x2b9,0x276,0x2f2)]==='pending')_0x6a6c37[_0x3adfc4(_0x4ee3a1._0x4400d6,_0x4ee3a1._0x106708,0x2cb,0x3a1)]+=0x1;else{if(_0x511330[_0x37bbe9(0x380,_0x4ee3a1._0x594eae,_0x4ee3a1._0x590cd4,0x3f2)]===_0x37bbe9(_0x4ee3a1._0x262087,_0x4ee3a1._0x397794,0x48a,0x47b))_0x6a6c37['inProgress']+=0x1;else _0x6a6c37[_0x37bbe9(_0x4ee3a1._0x245383,0x6c8,_0x4ee3a1._0x214ba9,_0x4ee3a1._0x1e24a7)]+=0x1;}}return _0x6a6c37;}};function validateTodos(_0x52cefb){const _0x54bd65={_0x19d67e:0x21d,_0x3e0aa3:0x1a4,_0x372484:0x285,_0x473d03:0x246,_0x5ca99c:0x178,_0x26ec20:0x47,_0x150e9e:0x51,_0x57cf97:0x8b,_0x7e152e:0x1a4,_0x4175f8:0x7,_0x5c8968:0xd7,_0x18fa5e:0x118,_0x288485:0x59,_0x2c2288:0x10d,_0x26f42a:0x1d0,_0x445d4c:0x196,_0x261d67:0xfc,_0x15f126:0x3e,_0x371d28:0x240,_0x5b9339:0x155,_0x3af65d:0x1ca,_0x444c6e:0x27d,_0x3c4aac:0xf4,_0x1033c7:0xaa,_0x139e84:0x53,_0x481fb0:0xf9,_0x2254ad:0xe0,_0x32b9ad:0x97,_0x32d64c:0xe4,_0x4b127f:0x18a,_0x59a9a1:0x5,_0x3012a8:0x17b,_0x206b24:0xe9,_0x282e7f:0x245,_0x27f124:0x1a,_0x43081c:0xfb,_0x333837:0xc7,_0x4abc75:0x172,_0x5f551b:0xf5,_0x3effc5:0x2b5,_0x5525f9:0x166,_0x331fc2:0x192,_0x2d7bd1:0x254,_0x27829e:0x2d,_0x23a621:0x43,_0x568112:0x279,_0x479077:0x10d,_0x3dfd46:0xb,_0x4178ce:0x54,_0x4ba39b:0x2ec,_0x1af313:0x263,_0x83e0a7:0xf7,_0x288587:0x109,_0x1064f5:0x62,_0x472c75:0x17c,_0x36b67b:0xb2,_0x481f6c:0xeb,_0x350d35:0x133,_0x196d2f:0x10e},_0x423153={_0x4e561b:0x471,_0x4380b4:0x9},_0x1cf845={_0x1c5251:0x29d};if(!Array['isArray'](_0x52cefb[_0x2efef4(0x166,0x109,0x137,0x13f)])||_0x52cefb[_0x3de914(0xae,-0xcb,-0x3b,-_0x54bd65._0x19d67e)][_0x2efef4(0x11c,_0x54bd65._0x3e0aa3,0x1de,_0x54bd65._0x372484)]===0x0)throw new ToolExecutionError(_0x3de914(-_0x54bd65._0x473d03,-0x121,-0x96,-_0x54bd65._0x5ca99c),{'error':_0x2efef4(-_0x54bd65._0x26ec20,0x6,-0xd0,_0x54bd65._0x150e9e)});function _0x2efef4(_0x47e971,_0x5b5c07,_0x583a61,_0x4c41db){return _0x1932a3(_0x4c41db,_0x5b5c07-0xe1,_0x5b5c07- -_0x1cf845._0x1c5251,_0x4c41db-0x104);}for(let _0x527573=0x0;_0x527573<_0x52cefb[_0x3de914(-_0x54bd65._0x57cf97,-0xcb,-0x1c1,-0x174)][_0x2efef4(0x291,_0x54bd65._0x7e152e,0x14a,0x56)];_0x527573+=0x1){const _0x55444b=_0x52cefb[_0x3de914(-_0x54bd65._0x4175f8,-0xcb,-_0x54bd65._0x5c8968,-_0x54bd65._0x18fa5e)][_0x527573];if(!_0x55444b||typeof _0x55444b!=='object')throw new ToolExecutionError(_0x3de914(_0x54bd65._0x288485,-_0x54bd65._0x2c2288,-_0x54bd65._0x26f42a,-_0x54bd65._0x445d4c)+(_0x527573+0x1)+_0x3de914(0xe5,0x29,-0xb,_0x54bd65._0x261d67),{'error':_0x2efef4(_0x54bd65._0x15f126,0xdd,0x5b,_0x54bd65._0x371d28)});if(typeof _0x55444b['id']!==_0x2efef4(0x2a8,_0x54bd65._0x5b9339,0x2,0xd2)||_0x55444b['id']['trim']()[_0x2efef4(_0x54bd65._0x3af65d,0x1a4,_0x54bd65._0x444c6e,0x9f)]===0x0)throw new ToolExecutionError(_0x3de914(-0x1b1,-0x10d,-0x140,-_0x54bd65._0x3c4aac)+(_0x527573+0x1)+':\x20id\x20required',{'error':_0x3de914(-0x103,-0x9a,0x4,_0x54bd65._0x1033c7)});if(typeof _0x55444b[_0x3de914(-_0x54bd65._0x139e84,-_0x54bd65._0x481fb0,-0x2d,-0xf0)]!=='string'||_0x55444b[_0x3de914(-_0x54bd65._0x2254ad,-_0x54bd65._0x481fb0,-0xa2,-0x149)][_0x2efef4(0x152,_0x54bd65._0x32b9ad,_0x54bd65._0x32d64c,-0xb0)]()['length']===0x0)throw new ToolExecutionError('Todo\x20'+(_0x527573+0x1)+_0x3de914(_0x54bd65._0x4b127f,0x93,_0x54bd65._0x59a9a1,_0x54bd65._0x3012a8),{'error':_0x3de914(0x1a8,_0x54bd65._0x206b24,_0x54bd65._0x282e7f,0x1c2)});if(!isTodoStatus(_0x55444b[_0x2efef4(-_0x54bd65._0x27f124,-0x1e,-_0x54bd65._0x43081c,-0x21)]))throw new ToolExecutionError(_0x2efef4(0x203,_0x54bd65._0x333837,0x86,0xd6)+(_0x527573+0x1)+_0x3de914(-0x1f0,-_0x54bd65._0x4abc75,-_0x54bd65._0x5f551b,-_0x54bd65._0x3effc5),{'error':_0x3de914(-_0x54bd65._0x5525f9,-_0x54bd65._0x331fc2,-_0x54bd65._0x5f551b,-_0x54bd65._0x2d7bd1)});if(!isTodoPriority(_0x55444b[_0x3de914(0x41,_0x54bd65._0x27829e,0x68,_0x54bd65._0x23a621)]))throw new ToolExecutionError(_0x3de914(-_0x54bd65._0x568112,-_0x54bd65._0x479077,_0x54bd65._0x3dfd46,_0x54bd65._0x4178ce)+(_0x527573+0x1)+_0x2efef4(_0x54bd65._0x4ba39b,0x1c8,_0x54bd65._0x1af313,0xbb),{'error':'invalid_todo_priority'});}const _0x4c8c9a=_0x52cefb[_0x2efef4(_0x54bd65._0x83e0a7,_0x54bd65._0x288587,-0x60,_0x54bd65._0x1064f5)][_0x2efef4(_0x54bd65._0x472c75,_0x54bd65._0x36b67b,0x13e,_0x54bd65._0x481f6c)](_0x139e1c=>_0x139e1c['id']);function _0x3de914(_0x2ecb60,_0x3e2ed3,_0x5989e2,_0x9cc11a){return _0x1932a3(_0x9cc11a,_0x3e2ed3-0x1e,_0x3e2ed3- -_0x423153._0x4e561b,_0x9cc11a-_0x423153._0x4380b4);}if(new Set(_0x4c8c9a)[_0x3de914(-0x6f,-0x1ac,-0x1cd,-_0x54bd65._0x350d35)]!==_0x4c8c9a[_0x2efef4(0xfd,0x1a4,_0x54bd65._0x19d67e,0xb3)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x3de914(-0x1c,-0x42,-_0x54bd65._0x196d2f,0xf8)});}function createStatsProgress(_0xa44c8e){const _0x3968f3={_0x179c7a:0x10c,_0x5e2ced:0xd4,_0xef6ab:0x209},_0x526c32={_0x511115:0x19b,_0xeeb49:0x2e5},_0x50cf69={_0x5c5c2b:0x164};function _0x39fcbb(_0x42e29d,_0x12eb9a,_0x5bfbf3,_0x50ee68){return _0x1932a3(_0x42e29d,_0x12eb9a-0x15f,_0x50ee68- -_0x50cf69._0x5c5c2b,_0x50ee68-0xb5);}function _0x2cde52(_0x6e2f9b,_0x7ade87,_0x25c3aa,_0x3c5c19){return _0x1932a3(_0x25c3aa,_0x7ade87-_0x526c32._0x511115,_0x3c5c19- -_0x526c32._0xeeb49,_0x3c5c19-0x1bd);}return _0xa44c8e['total']>0x0?Math[_0x39fcbb(0xe0,0x17f,_0x3968f3._0x179c7a,0x16a)](_0xa44c8e[_0x2cde52(0x17f,_0x3968f3._0x5e2ced,0x345,_0x3968f3._0xef6ab)]/_0xa44c8e['total']*0x64)+'%':'0%';}function createReminderItems(_0x5295a6){const _0x1eaf4b={_0x593fb8:0x7c,_0x5b55e6:0xa6,_0xf3610b:0xde};function _0x255992(_0x51b15b,_0x2933be,_0x373b86,_0x317d02){return _0x1932a3(_0x373b86,_0x2933be-_0x1eaf4b._0x593fb8,_0x317d02- -_0x1eaf4b._0x5b55e6,_0x317d02-_0x1eaf4b._0xf3610b);}return _0x5295a6['map'](_0x55517a=>({'content':_0x55517a['content'],'status':_0x55517a[_0x255992(0x1bf,0x111,0x24f,0x1d9)],'id':_0x55517a['id']}));}function createStructuredResult(_0x37a1a8,_0x4e3e79,_0xe69d2d,_0x56a9ec){const _0x44273d={_0x279b82:0x42f,_0x361c50:0x5e4},_0x5b6139={_0x230425:0xe5,_0x29dc04:0x17};function _0x2bcfd7(_0x4001ea,_0xd796a8,_0x553306,_0xdcc479){return _0x4ab00a(_0x4001ea-0x171,_0xd796a8-_0x5b6139._0x230425,_0x4001ea,_0x553306- -_0x5b6139._0x29dc04);}function _0x1e3d0c(_0x3bd555,_0x455721,_0x51bdbc,_0x3fe4eb){return _0x4ab00a(_0x3bd555-0x170,_0x455721-0xd8,_0x51bdbc,_0x455721-0xac);}return{'allCompleted':_0x56a9ec,'items':_0x4e3e79[_0x2bcfd7(0x397,0x309,_0x44273d._0x279b82,0x3de)](_0x3a8ec0=>({'id':_0x3a8ec0['id'],'content':_0x3a8ec0[_0x1e3d0c(0x3bd,0x51b,0x4fb,0x496)],'status':_0x3a8ec0[_0x2bcfd7(0x320,0x407,0x35f,0x49e)],'priority':_0x3a8ec0[_0x1e3d0c(0x5cb,0x641,0x734,0x755)],'createdAt':_0x3a8ec0[_0x1e3d0c(0x477,0x41d,0x4a8,0x36c)]})),'progress':createStatsProgress(_0xe69d2d),'recentChanges':!![],'sessionId':_0x37a1a8,'stats':_0xe69d2d,'todosWritten':_0x4e3e79[_0x1e3d0c(0x59e,_0x44273d._0x361c50,0x717,0x5e3)]};}function createOutputText(_0x3af103,_0x222215){const _0x31753a={_0x21f594:0x12c,_0x189834:0x4ea,_0x1d670f:0x5db,_0xa9bf6:0x4cb,_0x5b8ec9:0x1a1,_0x224f86:0x4d8,_0x32e016:0x42f,_0x2224fd:0x471,_0x573d43:0x3d0,_0x5d29c4:0x206,_0x1007e6:0x6d,_0x2b69f5:0x3a,_0x18ded0:0xc1,_0x3b48ce:0x48a,_0xd16ed8:0x40c},_0x48c393={_0x836378:0x584},_0x100f6b=JSON[_0x925633(-0x240,-0x299,-0x8f,-_0x31753a._0x21f594)](createReminderItems(_0x3af103));function _0x925633(_0x5dd476,_0x4a66f8,_0x63fae4,_0x1965c4){return _0x4ab00a(_0x5dd476-0x1d5,_0x4a66f8-0x169,_0x63fae4,_0x1965c4- -_0x48c393._0x836378);}function _0x5402a3(_0x46c097,_0x3672dc,_0x7f4902,_0x4f316e){return _0x1932a3(_0x46c097,_0x3672dc-0x10e,_0x7f4902-0x89,_0x4f316e-0x12c);}if(_0x222215)return _0x5402a3(0x586,_0x31753a._0x189834,_0x31753a._0x1d670f,_0x31753a._0xa9bf6)+_0x3af103['length']+_0x925633(0x1a8,0x16a,_0x31753a._0x5b8ec9,0x99)+_0x100f6b+_0x5402a3(_0x31753a._0x224f86,_0x31753a._0x32e016,_0x31753a._0x2224fd,_0x31753a._0x573d43);return _0x925633(_0x31753a._0x5d29c4,_0x31753a._0x1007e6,_0x31753a._0x2b69f5,_0x31753a._0x18ded0)+_0x100f6b+_0x5402a3(0x530,_0x31753a._0x3b48ce,_0x31753a._0x2224fd,_0x31753a._0xd16ed8);}function createTodoWriteTool(_0x542031=new TodoStore()){const _0x315519={_0x373931:0x57b,_0x33392:0x314,_0x3d6c02:0x2c4,_0x4a2865:0x2c7,_0x21be33:0x285,_0x51e531:0x484,_0x37a821:0x2a0,_0x37ab5c:0x271,_0x20a604:0xec,_0x331317:0xab,_0x3c27c7:0xc8,_0x1adf4c:0x88,_0x3da45f:0x31a,_0x13108c:0x19d,_0x4c7fa3:0x1d1,_0x2fc1d3:0x1c1,_0x393f69:0x12f,_0x4eb46b:0xd9},_0x48ab5d={_0x1ef190:0x149,_0xe3bc45:0x16a,_0x1f17fa:0x24b,_0x4caca1:0x18c,_0x3fd112:0x3d,_0x556455:0xa2,_0x31a301:0x23e,_0x1c753b:0x31c,_0x268251:0x1c6,_0x13dd32:0x3e5,_0x42843e:0x1ea,_0x10fb29:0x77},_0xc0763d={_0x19a32e:0x2cd};function _0x2a2acd(_0x50905f,_0x598d82,_0x50f038,_0x75e165){return _0x1932a3(_0x50905f,_0x598d82-0x85,_0x598d82- -_0xc0763d._0x19a32e,_0x75e165-0x192);}function _0x40e565(_0x4eae2d,_0x21d0ae,_0x4b98ee,_0x9b7795){return _0x4ab00a(_0x4eae2d-0x92,_0x21d0ae-0xd1,_0x4eae2d,_0x21d0ae- -0x1ce);}return defineTool({'name':'TodoWrite','description':'Use\x20this\x20tool\x20to\x20create\x20and\x20manage\x20a\x20structured\x20task\x20list\x20for\x20your\x20current\x20coding\x20session.\x20This\x20helps\x20you\x20track\x20progress,\x20organize\x20complex\x20tasks,\x20and\x20demonstrate\x20thoroughness\x20to\x20the\x20user.\x0aIt\x20also\x20helps\x20the\x20user\x20understand\x20the\x20progress\x20of\x20the\x20task\x20and\x20overall\x20progress\x20of\x20their\x20requests.\x0a\x0a##\x20When\x20to\x20Use\x20This\x20Tool\x0aUse\x20this\x20tool\x20proactively\x20in\x20these\x20scenarios:\x0a\x0a1.\x20Complex\x20multi-step\x20tasks\x20-\x20When\x20a\x20task\x20requires\x203\x20or\x20more\x20distinct\x20steps\x20or\x20actions\x0a2.\x20Non-trivial\x20and\x20complex\x20tasks\x20-\x20Tasks\x20that\x20require\x20careful\x20planning\x20or\x20multiple\x20operations\x0a3.\x20User\x20explicitly\x20requests\x20todo\x20list\x20-\x20When\x20the\x20user\x20directly\x20asks\x20you\x20to\x20use\x20the\x20todo\x20list\x0a4.\x20User\x20provides\x20multiple\x20tasks\x20-\x20When\x20users\x20provide\x20a\x20list\x20of\x20things\x20to\x20be\x20done\x20(numbered\x20or\x20comma-separated)\x0a5.\x20After\x20receiving\x20new\x20instructions\x20-\x20Immediately\x20capture\x20user\x20requirements\x20as\x20todos\x0a6.\x20When\x20you\x20start\x20working\x20on\x20a\x20task\x20-\x20Mark\x20it\x20as\x20in_progress\x20BEFORE\x20beginning\x20work.\x20Ideally\x20you\x20should\x20only\x20have\x20one\x20todo\x20as\x20in_progress\x20at\x20a\x20time\x0a7.\x20After\x20completing\x20a\x20task\x20-\x20Mark\x20it\x20as\x20completed\x20and\x20add\x20any\x20new\x20follow-up\x20tasks\x20discovered\x20during\x20implementation\x0a\x0a##\x20When\x20NOT\x20to\x20Use\x20This\x20Tool\x0a\x0aSkip\x20using\x20this\x20tool\x20when:\x0a1.\x20There\x20is\x20only\x20a\x20single,\x20straightforward\x20task\x0a2.\x20The\x20task\x20is\x20trivial\x20and\x20tracking\x20it\x20provides\x20no\x20organizational\x20benefit\x0a3.\x20The\x20task\x20can\x20be\x20completed\x20in\x20less\x20than\x203\x20trivial\x20steps\x0a4.\x20The\x20task\x20is\x20purely\x20conversational\x20or\x20informational\x0a\x0aNOTE\x20that\x20you\x20should\x20not\x20use\x20this\x20tool\x20if\x20there\x20is\x20only\x20one\x20trivial\x20task\x20to\x20do.\x20In\x20this\x20case\x20you\x20are\x20better\x20off\x20just\x20doing\x20the\x20task\x20directly.\x0a\x0a##\x20Task\x20States\x20and\x20Management\x0a\x0a1.\x20**Task\x20States**:\x20Use\x20these\x20states\x20to\x20track\x20progress:\x0a-\x20pending:\x20Task\x20not\x20yet\x20started\x0a-\x20in_progress:\x20Currently\x20working\x20on\x20(limit\x20to\x20ONE\x20task\x20at\x20a\x20time)\x0a-\x20completed:\x20Task\x20finished\x20successfully\x0a\x0a2.\x20**Task\x20Management**:\x0a-\x20Update\x20task\x20status\x20in\x20real-time\x20as\x20you\x20work\x0a-\x20Mark\x20tasks\x20complete\x20IMMEDIATELY\x20after\x20finishing\x20(don\x27t\x20batch\x20completions)\x0a-\x20Only\x20have\x20ONE\x20task\x20in_progress\x20at\x20any\x20time\x0a-\x20Complete\x20current\x20tasks\x20before\x20starting\x20new\x20ones\x0a-\x20Remove\x20tasks\x20that\x20are\x20no\x20longer\x20relevant\x20from\x20the\x20list\x20entirely\x0a\x0a3.\x20**Task\x20Completion\x20Requirements**:\x0a-\x20ONLY\x20mark\x20a\x20task\x20as\x20completed\x20when\x20you\x20have\x20FULLY\x20accomplished\x20it\x0a-\x20If\x20you\x20encounter\x20errors,\x20blockers,\x20or\x20cannot\x20finish,\x20keep\x20the\x20task\x20as\x20in_progress\x0a-\x20When\x20blocked,\x20create\x20a\x20new\x20task\x20describing\x20what\x20needs\x20to\x20be\x20resolved\x0a-\x20Never\x20mark\x20a\x20task\x20as\x20completed\x20if:\x0a-\x20Tests\x20are\x20failing\x0a-\x20Implementation\x20is\x20partial\x0a-\x20You\x20encountered\x20unresolved\x20errors\x0a-\x20You\x20couldn\x27t\x20find\x20necessary\x20files\x20or\x20dependencies\x0a\x0a4.\x20**Task\x20Breakdown**:\x0a-\x20Create\x20specific,\x20actionable\x20items\x0a-\x20Break\x20complex\x20tasks\x20into\x20smaller,\x20manageable\x20steps\x0a-\x20Use\x20clear,\x20descriptive\x20task\x20names\x0a\x0aWhen\x20in\x20doubt,\x20use\x20this\x20tool.\x20Being\x20proactive\x20with\x20task\x20management\x20demonstrates\x20attentiveness\x20and\x20ensures\x20you\x20complete\x20all\x20requirements\x20successfully.','inputSchema':{'type':'object','properties':{'todos':{'type':_0x2a2acd(0x149,0x25c,0x288,0x388),'items':{'type':_0x40e565(_0x315519._0x373931,0x414,_0x315519._0x33392,_0x315519._0x3d6c02),'properties':{'content':{'type':_0x40e565(_0x315519._0x4a2865,0x31b,_0x315519._0x21be33,_0x315519._0x51e531)},'status':{'type':'string'},'priority':{'type':_0x40e565(_0x315519._0x37a821,0x31b,_0x315519._0x37ab5c,0x213)},'id':{'type':_0x2a2acd(-0x40,0x125,_0x315519._0x20a604,0x297)},'createdAt':{'type':'string'}},'required':[_0x2a2acd(0x113,_0x315519._0x331317,_0x315519._0x3c27c7,-_0x315519._0x1adf4c),_0x40e565(_0x315519._0x3da45f,0x1a8,_0x315519._0x13108c,0x28c),_0x2a2acd(0x8c,_0x315519._0x4c7fa3,0x2a4,_0x315519._0x2fc1d3),'id']}}},'required':[_0x2a2acd(_0x315519._0x393f69,_0x315519._0x4eb46b,0x16b,0x0)]},async *'execute'(_0x4cf32b,_0x3b5dd6){const _0x587fed={_0x4d56ea:0x29a,_0x551313:0x1e1},_0x252f0c={_0x4a5196:0x30c},_0x4558be=_0x4cf32b;validateTodos(_0x4558be);const _0x4a97a0=_0x3b5dd6[_0x524305(-_0x48ab5d._0x1ef190,-0x1b2,-_0x48ab5d._0xe3bc45,-_0x48ab5d._0x1f17fa)]||'default',_0xdabe86=new Date()['toISOString']();function _0x524305(_0x570e60,_0x3cdfd9,_0x13e445,_0x24df9e){return _0x40e565(_0x570e60,_0x13e445- -_0x252f0c._0x4a5196,_0x13e445-0x58,_0x24df9e-0x1dd);}function _0x3826b2(_0x466a4c,_0x293c3b,_0x18d3fc,_0x279c0c){return _0x2a2acd(_0x466a4c,_0x293c3b-_0x587fed._0x4d56ea,_0x18d3fc-0x1ea,_0x279c0c-_0x587fed._0x551313);}const _0xb27f23=_0x4558be[_0x524305(-_0x48ab5d._0x4caca1,-0x2f,-_0x48ab5d._0x3fd112,_0x48ab5d._0x556455)][_0x3826b2(_0x48ab5d._0x31a301,_0x48ab5d._0x1c753b,_0x48ab5d._0x268251,_0x48ab5d._0x13dd32)](_0x5f0290=>({'id':_0x5f0290['id'],'content':_0x5f0290[_0x524305(-0x123,0x55,-0x6b,-0x166)],'status':_0x5f0290['status'],'priority':_0x5f0290[_0x3826b2(0x58d,0x46b,0x393,0x5b7)],'sessionId':_0x4a97a0,'createdAt':_0x5f0290[_0x524305(-0x280,-0x7c,-0x169,-0x197)]||_0xdabe86,'updatedAt':_0xdabe86}));_0x542031['setTodos'](_0x4a97a0,_0xb27f23);const _0x481c17=_0x542031[_0x524305(0x6a,-_0x48ab5d._0x42843e,-_0x48ab5d._0x10fb29,-0x15a)](_0x4a97a0),_0x334d3b=_0xb27f23['length']>0x0&&_0xb27f23['every'](_0x18e04c=>_0x18e04c[_0x524305(-0x2a5,-0x149,-0x164,-0x7d)]==='completed');return createToolOutput(createOutputText(_0xb27f23,_0x334d3b),createStructuredResult(_0x4a97a0,_0xb27f23,_0x481c17,_0x334d3b));}});}import{mkdir as _0x2f7be4,writeFile as _0x48d75f}from'fs/promises';import*as _0x17a2e4 from'path';function sanitizeFileName(_0x4e163c){return _0x4e163c['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x5a96b2,_0x338119){const _0x40b295={_0x179575:0x6d7,_0x5c0d95:0x817,_0x50bae5:0x4ad,_0x41014d:0x7e2,_0xfc95a8:0x736,_0x32638d:0x77f,_0x8e5199:0x706,_0xfe378a:0x69f,_0x345e38:0x612,_0x158523:0x698,_0x5751ef:0x7ab,_0x5c47bd:0x5b1,_0x5c432e:0x6ba,_0x44a6ba:0x5f0,_0x141fb4:0x646,_0xe3eae3:0x713,_0x47f87f:0x6dd,_0x5e3110:0x63a,_0x188d9a:0x730,_0x179bfc:0x551,_0x1b327a:0x80f,_0x4523df:0x767,_0x304f78:0x82b,_0x58292c:0x7ed,_0x5343ec:0x788,_0x4a5050:0x6ef,_0x2d8c0f:0x743,_0x1fa470:0x8fc,_0x134d30:0x784,_0x445747:0x7ec,_0xcd72b3:0x813,_0x3a13e6:0x71b,_0xe526d2:0x732,_0x321c49:0x540,_0x525a0d:0x815,_0x5e7b1c:0x782,_0x3b7305:0x682,_0x439c7b:0x79e,_0x22afe6:0x73c,_0x3b3bc2:0x5e4,_0x4a97b4:0x67d,_0x967161:0x7a3,_0x2d803b:0x76f,_0x556b09:0x612,_0x554907:0x71f,_0x14cfd1:0x6a5,_0x923ca7:0x614,_0x3739c6:0x644,_0x6e11bc:0x73e,_0x4c9be2:0x5a1,_0x2f8427:0x6cf,_0x28ca0a:0x77c,_0x49d34a:0x89b,_0x365856:0x745,_0x211af0:0x725,_0x16a8e0:0x67a,_0x1f4e32:0x5ff,_0xcfa982:0x5c0,_0x9da161:0x61a,_0x3f9370:0x58e,_0x1b0ef6:0x83b,_0x5d1aa4:0x748,_0x330532:0x73e,_0x55790e:0x5eb,_0x295c7a:0x71f,_0x4d63db:0x5e7,_0x32923e:0x555},_0x49f471={_0x972c83:0x1ce,_0x528157:0x42},_0x554d76={_0x3d8025:0x1b7},{maxBytes:_0x585c97,sessionDir:_0x443372}=_0x338119;if(!_0x5a96b2[_0x11b4ca(0x699,0x74d,_0x40b295._0x179575,_0x40b295._0x5c0d95)]||Buffer[_0x11b4ca(0x488,_0x40b295._0x50bae5,0x5d5,0x522)](_0x5a96b2[_0x72331c(_0x40b295._0x41014d,_0x40b295._0xfc95a8,0x71b,0x7a9)],_0x72331c(_0x40b295._0x32638d,_0x40b295._0x8e5199,0x656,0x5aa))<=_0x585c97)return _0x5a96b2;const _0x1519c9=Buffer['byteLength'](_0x5a96b2['output'],_0x11b4ca(0x728,_0x40b295._0xfe378a,_0x40b295._0x345e38,_0x40b295._0x158523));if(!_0x443372){const _0x1a5e27=_0x5a96b2[_0x11b4ca(_0x40b295._0x5751ef,_0x40b295._0x5c47bd,0x6d7,0x72a)]['slice'](0x0,_0x585c97);return{..._0x5a96b2,'output':_0x1a5e27+(_0x72331c(_0x40b295._0x5c432e,0x6f4,0x745,0x62f)+_0x585c97+_0x11b4ca(_0x40b295._0x44a6ba,0x6f5,_0x40b295._0x141fb4,_0x40b295._0xe3eae3)+_0x1519c9+_0x11b4ca(0x5a6,0x6d9,0x6cb,_0x40b295._0x47f87f)),'meta':{..._0x5a96b2[_0x11b4ca(0x4d3,0x673,0x624,_0x40b295._0x5e3110)],'truncated':!![],'originalBytes':_0x1519c9,'transforms':[..._0x5a96b2['meta']['transforms'],_0x72331c(_0x40b295._0x188d9a,_0x40b295._0x179bfc,0x65e,0x6ec)]}};}const _0x16d198=_0x5a96b2[_0x11b4ca(_0x40b295._0x1b327a,0x6ff,_0x40b295._0x4523df,_0x40b295._0x304f78)]+'_'+sanitizeFileName(_0x5a96b2[_0x11b4ca(_0x40b295._0x58292c,0x8cb,_0x40b295._0x5343ec,_0x40b295._0x4a5050)])+_0x11b4ca(0x7ce,0x6bb,_0x40b295._0x2d8c0f,0x71e),_0x17f00b=_0x17a2e4[_0x72331c(_0x40b295._0x1fa470,0x706,_0x40b295._0x134d30,0x7c1)](_0x443372,_0x16d198);function _0x72331c(_0x17c912,_0x38d175,_0x59a2f3,_0x3e1594){return _0x1932a3(_0x3e1594,_0x38d175-0x1b8,_0x59a2f3-0x28a,_0x3e1594-_0x554d76._0x3d8025);}function _0x11b4ca(_0x122fee,_0x1f2aa2,_0xf0c01c,_0x419755){return _0x1932a3(_0x419755,_0x1f2aa2-_0x49f471._0x972c83,_0xf0c01c-0x246,_0x419755-_0x49f471._0x528157);}await _0x2f7be4(_0x443372,{'recursive':!![]}),await _0x48d75f(_0x17f00b,_0x5a96b2[_0x72331c(_0x40b295._0x445747,_0x40b295._0xcd72b3,_0x40b295._0x3a13e6,0x785)],_0x11b4ca(_0x40b295._0xe526d2,_0x40b295._0x321c49,_0x40b295._0x345e38,0x631));let _0x3d70ee=_0x5a96b2[_0x11b4ca(_0x40b295._0x525a0d,_0x40b295._0x5e7b1c,0x6d7,_0x40b295._0x3b7305)]['slice'](0x0,_0x585c97);const _0x565e41=_0x3d70ee[_0x72331c(0x6c2,0x74a,_0x40b295._0x439c7b,_0x40b295._0x22afe6)]('\x0a');_0x565e41>_0x585c97*0.5&&(_0x3d70ee=_0x3d70ee[_0x72331c(0x74d,_0x40b295._0x3b3bc2,_0x40b295._0x4a97b4,_0x40b295._0x967161)](0x0,_0x565e41));const _0x312ea8=['',_0x72331c(_0x40b295._0x2d803b,0x4f2,_0x40b295._0x556b09,_0x40b295._0x554907),_0x11b4ca(_0x40b295._0x14cfd1,_0x40b295._0x923ca7,_0x40b295._0x3739c6,0x5c3)+_0x585c97+_0x11b4ca(0x64a,0x834,_0x40b295._0x6e11bc,0x6b3)+_0x1519c9+_0x72331c(_0x40b295._0x4c9be2,0x6fe,_0x40b295._0x2f8427,0x72f),_0x11b4ca(_0x40b295._0x28ca0a,_0x40b295._0x49d34a,_0x40b295._0x365856,_0x40b295._0x211af0)+_0x17f00b,_0x11b4ca(_0x40b295._0x16a8e0,_0x40b295._0x1f4e32,0x5da,0x515),_0x72331c(_0x40b295._0xcfa982,0x713,_0x40b295._0x9da161,_0x40b295._0x3f9370)][_0x72331c(_0x40b295._0x1b0ef6,0x794,0x784,_0x40b295._0x5d1aa4)]('\x0a');return{..._0x5a96b2,'output':_0x3d70ee+_0x312ea8,'meta':{..._0x5a96b2[_0x11b4ca(_0x40b295._0x330532,_0x40b295._0x55790e,0x624,0x741)],'truncated':!![],'originalBytes':_0x1519c9,'transforms':[..._0x5a96b2['meta'][_0x72331c(0x858,0x794,0x6e7,_0x40b295._0x295c7a)],_0x72331c(_0x40b295._0x4d63db,0x7c3,0x65e,_0x40b295._0x32923e)]}};}function createUpdateTopicTool(){const _0x2895c0={_0x23f520:0x16c,_0x447503:0x7b,_0x2f35b1:0x155,_0xb2836:0x10d,_0x40eadf:0x33,_0x46f19a:0x28e,_0xdaa804:0x1f0,_0x436d2a:0x81},_0x165eae={_0x8e154d:0x370,_0x2da094:0x63b,_0x2312c2:0x535,_0x1fc076:0x710,_0xdd0b64:0x41f,_0x49dd98:0x331,_0x5c5424:0x23d,_0x237010:0x571,_0x3c9dcf:0x4ed,_0x36b86a:0x1fa,_0x49086e:0x128,_0x419a56:0x248,_0x2579f0:0x665,_0x381164:0x519,_0x57c1d2:0x5b3},_0x4275b4={_0x1f4c97:0x1c8,_0x959033:0x538},_0x277126={_0x3e4628:0x294},_0x255b48={_0x16d30d:0x3e},_0x3a58fc={_0x96ded0:0x1,_0x1756b9:0x3f2};function _0x42dfb4(_0x4e13b6,_0x30810e,_0x36d88c,_0x3cc61f){return _0x4ab00a(_0x4e13b6-0x178,_0x30810e-_0x3a58fc._0x96ded0,_0x3cc61f,_0x36d88c- -_0x3a58fc._0x1756b9);}function _0x2eee24(_0x54ab32,_0x137a32,_0x568279,_0x5249df){return _0x4ab00a(_0x54ab32-_0x255b48._0x16d30d,_0x137a32-0x148,_0x568279,_0x54ab32- -0x580);}return defineTool({'name':_0x42dfb4(_0x2895c0._0x23f520,0x1e1,_0x2895c0._0x447503,-0x29),'description':_0x42dfb4(0x260,_0x2895c0._0x2f35b1,_0x2895c0._0xb2836,-_0x2895c0._0x40eadf),'inputSchema':{'type':_0x42dfb4(0x9e,_0x2895c0._0x46f19a,_0x2895c0._0xdaa804,0x1c5),'properties':{'topic':{'type':'string'}},'required':[_0x2eee24(-0xdb,0xf,-_0x2895c0._0x436d2a,-0x12b)]},async *'execute'(_0x5008c6,_0x477e16){const {topic:_0x267e16}=_0x5008c6;if(typeof _0x267e16!==_0x2fcb10(_0x165eae._0x8e154d,0x49f,0x38b,0x438)||_0x267e16['trim']()[_0x3f3bf8(0x67e,_0x165eae._0x2da094,_0x165eae._0x2312c2,_0x165eae._0x1fc076)]===0x0)throw new ToolExecutionError(_0x2fcb10(0x349,_0x165eae._0xdd0b64,_0x165eae._0x49dd98,_0x165eae._0x5c5424),{'error':'invalid_topic'});const _0x4e952c=_0x267e16[_0x3f3bf8(_0x165eae._0x237010,_0x165eae._0x3c9dcf,0x5db,0x44f)]();function _0x2fcb10(_0x2c80b8,_0x1c4ba0,_0x268989,_0x2e6692){return _0x42dfb4(_0x2c80b8-0xb3,_0x1c4ba0-0x14e,_0x268989-_0x277126._0x3e4628,_0x2e6692);}_0x477e16[_0x2fcb10(_0x165eae._0x36b86a,_0x165eae._0x49086e,_0x165eae._0x419a56,0x317)]?.(_0x4e952c);function _0x3f3bf8(_0x44fab4,_0x1a2d33,_0x4228a1,_0x19275c){return _0x42dfb4(_0x44fab4-_0x4275b4._0x1f4c97,_0x1a2d33-0x140,_0x44fab4-_0x4275b4._0x959033,_0x1a2d33);}return yield createToolOutput(_0x3f3bf8(_0x165eae._0x2579f0,_0x165eae._0x381164,_0x165eae._0x57c1d2,0x515)+_0x4e952c+'\x22',{'topic':_0x4e952c}),void 0x0;}});}import{readFile as _0x4a7404,stat as _0x57fcd1}from'fs/promises';import*as _0x50998d from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x4ab00a(0x325,0x33b,0x404,0x3c8),_0x1932a3(0x27b,0x34e,0x336,0x373),_0x4ab00a(0x2d0,0x30c,0x46d,0x388)]),PNG_SIGNATURE=Buffer[_0x1932a3(0x3b4,0x15f,0x288,0x3d2)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x19b178,_0x6bb874){const _0x107fa1={_0x15afc2:0x10a,_0x491507:0x4a4,_0x65dd2:0x26b,_0x45e546:0x2fd,_0x5cdf96:0x5d,_0x1d6d35:0x5a,_0x410b0c:0x11a,_0x3dae12:0x155,_0x2d0a10:0x37b,_0x31662b:0x390,_0x28a19c:0x308,_0x44e40c:0x28d,_0x314c78:0x25e,_0x5f039d:0xf2,_0x3abfe2:0x2b,_0x265f67:0x1a4,_0x14aa0f:0xb4,_0x538f26:0x29,_0x156a00:0xf,_0x2e9a5b:0x61,_0x3a246b:0xd3,_0xc35c86:0x94,_0x56c96d:0x121,_0x36ed28:0x48,_0xde18c1:0x5d,_0x75c04c:0x181,_0x1572f5:0x19d,_0x2f9af2:0x12f,_0x6d3011:0x2f8,_0x25edf1:0x20a,_0x417f40:0x1be,_0x110cf0:0x27e,_0x13eebe:0x20e,_0x36180d:0x2bb,_0x4c0eb6:0x295,_0x21d339:0x372,_0x29bcc7:0x345,_0x56883c:0x302,_0x59440f:0xf0,_0x3c1c24:0x128,_0x3c0ca3:0x261,_0x5c93e4:0x1da,_0x9aa4c1:0x28d,_0x1c5f6a:0x405,_0x2b9d9c:0x31e,_0x53b9e6:0x1fa},_0x39ba24={_0x2be693:0xcc,_0xdacf02:0x1e9,_0x1560ed:0x123},_0x145e38={_0x41fe71:0x19b,_0x5841d5:0x18,_0x1f5ab4:0x3ba};if(_0x19b178[_0x41db48(_0x107fa1._0x15afc2,0x5d,0x129,0x127)](0x0,0x8)[_0x41db48(-0x166,-0x34,-0xea,-0xf2)](PNG_SIGNATURE))return _0x82ca5b(0x361,_0x107fa1._0x491507,_0x107fa1._0x65dd2,_0x107fa1._0x45e546);if(_0x19b178[0x0]===0xff&&_0x19b178[0x1]===0xd8&&_0x19b178[0x2]===0xff)return'image/jpeg';const _0x3d280c=_0x19b178[_0x41db48(-0xfa,_0x107fa1._0x5cdf96,0x77,_0x107fa1._0x1d6d35)](0x0,0x6)[_0x82ca5b(_0x107fa1._0x410b0c,0xd5,_0x107fa1._0x3dae12,0x1db)](_0x82ca5b(_0x107fa1._0x2d0a10,_0x107fa1._0x31662b,_0x107fa1._0x28a19c,_0x107fa1._0x44e40c));function _0x41db48(_0x2db320,_0x238b15,_0x2473b4,_0x5a5596){return _0x4ab00a(_0x2db320-_0x145e38._0x41fe71,_0x238b15-_0x145e38._0x5841d5,_0x5a5596,_0x238b15- -_0x145e38._0x1f5ab4);}if(_0x3d280c===_0x41db48(_0x107fa1._0x314c78,_0x107fa1._0x5f039d,_0x107fa1._0x3abfe2,_0x107fa1._0x265f67)||_0x3d280c===_0x41db48(-0x181,-0x3a,_0x107fa1._0x14aa0f,-_0x107fa1._0x538f26))return'image/gif';if(_0x19b178[_0x41db48(_0x107fa1._0x156a00,_0x107fa1._0x5cdf96,-_0x107fa1._0x2e9a5b,_0x107fa1._0x3a246b)](0x0,0x4)[_0x41db48(-_0x107fa1._0xc35c86,0x40,-_0x107fa1._0x56c96d,-_0x107fa1._0x36ed28)]('ascii')===_0x82ca5b(0x1b6,0x2a7,0x1f6,0x267)&&_0x19b178[_0x41db48(0x1d1,_0x107fa1._0xde18c1,0x11,-0x19)](0x8,0xc)['toString']('ascii')===_0x41db48(_0x107fa1._0x75c04c,_0x107fa1._0x1572f5,_0x107fa1._0x2f9af2,0x61))return _0x82ca5b(0x261,_0x107fa1._0x6d3011,_0x107fa1._0x25edf1,0x1fa);const _0x24d626=_0x50998d['extname'](_0x6bb874)[_0x82ca5b(0x12d,0x18c,_0x107fa1._0x417f40,_0x107fa1._0x110cf0)]();function _0x82ca5b(_0x507a94,_0x36c1a6,_0x68f28e,_0x40ad60){return _0x1932a3(_0x36c1a6,_0x36c1a6-_0x39ba24._0x2be693,_0x507a94- -_0x39ba24._0xdacf02,_0x40ad60-_0x39ba24._0x1560ed);}if(_0x24d626===_0x41db48(0x200,_0x107fa1._0x13eebe,0x1d2,_0x107fa1._0x36180d))return _0x41db48(0x2b1,0x287,0x3eb,_0x107fa1._0x4c0eb6);if(_0x24d626===_0x82ca5b(_0x107fa1._0x21d339,_0x107fa1._0x29bcc7,0x320,0x3b2)||_0x24d626===_0x82ca5b(0x1f8,_0x107fa1._0x56883c,_0x107fa1._0x59440f,_0x107fa1._0x3c1c24))return _0x41db48(0xf3,0x121,_0x107fa1._0x3c0ca3,_0x107fa1._0x5c93e4);if(_0x24d626===_0x41db48(0x29d,_0x107fa1._0x9aa4c1,_0x107fa1._0x1c5f6a,_0x107fa1._0x2b9d9c))return'image/gif';if(_0x24d626===_0x82ca5b(0xc7,0x7e,-0x44,_0x107fa1._0x53b9e6))return'image/webp';return void 0x0;}function normalizeDetail(_0x2e35f0){const _0x21303a={_0x4ebe1b:0x2ba,_0x26e01b:0x292,_0x37aba9:0x3b7,_0x3731ca:0x3e7,_0x5ab1f8:0x3ac,_0x216804:0x355,_0x36a047:0x435,_0xd0fcff:0x356,_0x1d3f29:0x4af},_0x53c55d={_0x4352c7:0x72,_0x1cf873:0xc7},_0x40d511={_0x3c0882:0x37};if(_0x2e35f0===void 0x0)return void 0x0;const _0x388781=_0x2e35f0[_0xf39c1e(_0x21303a._0x4ebe1b,0x405,_0x21303a._0x26e01b,0x56b)]()[_0xf39c1e(_0x21303a._0x37aba9,_0x21303a._0x3731ca,_0x21303a._0x5ab1f8,0x320)]();function _0xf39c1e(_0x362db0,_0x408770,_0xaefb4b,_0x592f3e){return _0x4ab00a(_0x362db0-_0x40d511._0x3c0882,_0x408770-0xa6,_0x592f3e,_0x408770- -0x26);}if(!SUPPORTED_DETAILS[_0xf39c1e(0x2be,0x434,0x3b8,_0x21303a._0x216804)](_0x388781))throw new ToolExecutionError(_0x7b8cd0(0x4de,_0x21303a._0x36a047,_0x21303a._0xd0fcff,_0x21303a._0x1d3f29)+_0x2e35f0,{'detail':_0x2e35f0});function _0x7b8cd0(_0x17e3a3,_0xcced1f,_0x16c6c7,_0x24e090){return _0x4ab00a(_0x17e3a3-_0x53c55d._0x4352c7,_0xcced1f-0x2b,_0x17e3a3,_0x24e090-_0x53c55d._0x1cf873);}return _0x388781;}function createViewFileTool(_0x5ed491={}){const _0x5dd102={_0x15661c:0xa1,_0x35fd1f:0x1ac,_0x54e564:0xc2,_0x1dc2ca:0x28d,_0x4b15e4:0x18a,_0x5c709c:0x51,_0x13a071:0x35,_0x5ddac2:0x14b,_0x254f7f:0x7f,_0x32d754:0x22,_0x56ee57:0x19f,_0x2eba88:0xf3,_0x201699:0x6c,_0x39d271:0x247,_0x2b5ef0:0x9,_0x2e42cf:0x1c,_0x1cada3:0x1c1,_0x51c0b3:0x5d,_0x4e1f08:0x5b},_0x48581d={_0x468eb8:0x37e,_0x280372:0x3ca,_0x5cd609:0x35c,_0x5643aa:0x1f6,_0x4677a5:0x464,_0x3de1c1:0x2d1,_0x5391b4:0x4f5,_0x338df8:0x46f,_0x32cfc3:0x592,_0x50bfd1:0x384,_0x3c0040:0x588,_0x47cd62:0x3db,_0x37b189:0x231,_0x88b4ee:0x374,_0x1c6da2:0x32b,_0x28fd05:0x674,_0xe8b428:0x60f,_0x3c7422:0x52c,_0x1a1899:0x4dc,_0xc7dd53:0x5b5,_0x37f6a4:0x4ba,_0x2c91e6:0x19b,_0x1370a3:0x88,_0x59d75a:0x2ed,_0x4c02e8:0x441,_0x44a3f0:0x37d,_0x4a26c3:0x493,_0x3453e8:0x54b,_0x4789a0:0x4dd,_0x67da6f:0x5bb,_0x585eb1:0x67d,_0x4252dc:0x5be,_0x315484:0x63a,_0x1e9a73:0x243,_0x5ec3a5:0x401,_0x2a056f:0x229,_0x486fa5:0x230,_0x53b3fd:0x3c7,_0x31c1f0:0x4fb,_0x1376f3:0x611,_0x549355:0x4af,_0x4633f3:0x4db,_0x424f49:0x37e,_0x3f9e68:0x39e,_0x25a501:0x48d,_0x2b2c90:0x2a5,_0x3a64f7:0x244,_0x55c25b:0x2cf,_0x305e2e:0x273,_0x1a683d:0x37c,_0x455e33:0x452,_0x560a27:0x3a6},_0x359d08={_0x2e7724:0x16c,_0x5679ca:0x1c7},_0x487f98={_0x54338c:0xdd,_0x160f19:0xc4},_0x1bc84c=_0x50998d[_0x3fe041(_0x5dd102._0x15661c,-0x13c,-_0x5dd102._0x35fd1f,-_0x5dd102._0x54e564)](_0x5ed491[_0x225410(-_0x5dd102._0x1dc2ca,-0x289,-0x155,-_0x5dd102._0x4b15e4)]??process[_0x3fe041(0x49,-_0x5dd102._0x5c709c,0x1a7,_0x5dd102._0x13a071)]());function _0x3fe041(_0x5b180f,_0x11148c,_0x2db3f4,_0x1a5244){return _0x1932a3(_0x5b180f,_0x11148c-_0x487f98._0x54338c,_0x1a5244- -0x454,_0x1a5244-_0x487f98._0x160f19);}const _0x2fe839=_0x5ed491[_0x225410(_0x5dd102._0x5ddac2,_0x5dd102._0x254f7f,_0x5dd102._0x32d754,0xdd)]??[],_0x5d08b6=_0x5ed491[_0x3fe041(-0x41,_0x5dd102._0x56ee57,0x152,_0x5dd102._0x2eba88)]??DEFAULT_MAX_BYTES,_0x4f818f=_0x5ed491[_0x3fe041(-0x1cb,_0x5dd102._0x201699,-_0x5dd102._0x39d271,-0xf2)]??_0x225410(0x10,-0x118,-0x61,_0x5dd102._0x2b5ef0);function _0x225410(_0x7852b2,_0x5bb68b,_0x41e814,_0x12bf59){return _0x1932a3(_0x5bb68b,_0x5bb68b-_0x359d08._0x2e7724,_0x12bf59- -0x43f,_0x12bf59-_0x359d08._0x5679ca);}return defineTool({'name':_0x4f818f,'description':_0x225410(-0x1e5,-0x212,-0x14b,-0x1a2),'inputSchema':{'type':'object','properties':{'path':{'type':_0x225410(-0xbd,_0x5dd102._0x2e42cf,0x2b,-0x4d)},'detail':{'type':_0x3fe041(-0xdb,-_0x5dd102._0x1cada3,-0x24,-0x62)}},'required':[_0x225410(0x0,-_0x5dd102._0x51c0b3,_0x5dd102._0x4e1f08,0x20)]},async *'execute'(_0x500fb4){const _0x5ce620={_0x37a980:0xc3,_0x254b6e:0x35e},_0x1660bf={_0x63c79e:0x9c,_0x369959:0x503},_0x167313=resolveAllowedPath(_0x1bc84c,_0x2fe839,_0x500fb4[_0xbbe92b(_0x48581d._0x468eb8,0x240,0x2d5,0x438)]);await assertWorkspaceFile(_0x167313);function _0x19f225(_0x4270b2,_0x2dcaf2,_0x5bcb60,_0x21078a){return _0x225410(_0x4270b2-_0x1660bf._0x63c79e,_0x2dcaf2,_0x5bcb60-0x11f,_0x5bcb60-_0x1660bf._0x369959);}const _0x4f2e6a=await _0x57fcd1(_0x167313);if(_0x4f2e6a[_0xbbe92b(0x1e4,0x23e,0x244,0x30a)]>_0x5d08b6)throw new ToolExecutionError(_0x19f225(0x490,_0x48581d._0x280372,_0x48581d._0x5cd609,0x35b)+_0x500fb4['path'],{'path':_0x500fb4['path'],'maxBytes':_0x5d08b6,'size':_0x4f2e6a[_0xbbe92b(0x1e4,0x21d,0x1ca,_0x48581d._0x5643aa)]});const _0x35d453=await _0x4a7404(_0x167313);function _0xbbe92b(_0x659214,_0x25e65e,_0x20d0a4,_0x191ed5){return _0x225410(_0x659214-_0x5ce620._0x37a980,_0x20d0a4,_0x20d0a4-0x1e9,_0x659214-_0x5ce620._0x254b6e);}const _0x78ef24=detectImageMediaType(_0x35d453,_0x167313);if(!_0x78ef24)throw new ToolExecutionError(_0x19f225(_0x48581d._0x4677a5,0x1d4,0x33f,_0x48581d._0x3de1c1)+_0x500fb4[_0xbbe92b(_0x48581d._0x468eb8,0x394,_0x48581d._0x5391b4,0x31a)],{'path':_0x500fb4[_0xbbe92b(0x37e,0x215,0x28f,0x48d)],'supported':[_0xbbe92b(_0x48581d._0x338df8,_0x48581d._0x32cfc3,0x551,_0x48581d._0x50bfd1),'.jpeg',_0x19f225(_0x48581d._0x3c0040,0x5b1,0x61f,0x512),'.png',_0x19f225(_0x48581d._0x47cd62,_0x48581d._0x37b189,_0x48581d._0x88b4ee,_0x48581d._0x1c6da2)]});const _0x5042c8=normalizeDetail(_0x500fb4[_0xbbe92b(0x20b,0x230,0x1e1,0x160)]),_0x9c9d2d=[_0x19f225(0x51d,_0x48581d._0x28fd05,_0x48581d._0xe8b428,_0x48581d._0x3c7422)+_0x500fb4[_0x19f225(_0x48581d._0x5391b4,_0x48581d._0x1a1899,0x523,0x408)],_0x19f225(_0x48581d._0xc7dd53,0x5cc,_0x48581d._0x37f6a4,0x44f)+_0x78ef24,_0x19f225(0x5e5,0x53a,0x620,0x745)+_0x4f2e6a[_0xbbe92b(0x1e4,_0x48581d._0x2c91e6,_0x48581d._0x1370a3,0x225)]+'\x20bytes'][_0xbbe92b(_0x48581d._0x59d75a,_0x48581d._0x4c02e8,0x228,_0x48581d._0x44a3f0)](_0x5042c8?[_0x19f225(_0x48581d._0x4a26c3,0x42b,_0x48581d._0x3453e8,_0x48581d._0x4789a0)+_0x5042c8]:[])[_0x19f225(_0x48581d._0x67da6f,_0x48581d._0x585eb1,_0x48581d._0x4252dc,_0x48581d._0x315484)]('\x0a'),_0x165360=[{'type':_0xbbe92b(0x3a3,_0x48581d._0x1e9a73,_0x48581d._0x5ec3a5,0x32e),'source':{'type':_0xbbe92b(0x304,0x2e4,_0x48581d._0x2a056f,_0x48581d._0x486fa5),'media_type':_0x78ef24,'data':_0x35d453[_0x19f225(0x4a6,0x293,_0x48581d._0x53b3fd,_0x48581d._0x31c1f0)]('base64')}},{'type':_0x19f225(_0x48581d._0x1376f3,_0x48581d._0x549355,0x5f5,_0x48581d._0x4633f3),'text':_0x9c9d2d}];return yield createToolOutput(_0x9c9d2d,{'path':_0x500fb4[_0xbbe92b(_0x48581d._0x424f49,_0x48581d._0x3f9e68,0x23f,_0x48581d._0x25a501)],'resolvedPath':_0x167313,'created':_0x4f2e6a[_0xbbe92b(_0x48581d._0x2b2c90,_0x48581d._0x3a64f7,0x237,_0x48581d._0x55c25b)]['toISOString'](),'modified':_0x4f2e6a['mtime'][_0xbbe92b(_0x48581d._0x305e2e,0x384,0x2b8,_0x48581d._0x1a683d)](),'size':_0x4f2e6a[_0x19f225(_0x48581d._0x455e33,0x4b6,0x389,_0x48581d._0x560a27)],'mimeType':_0x78ef24,'encoding':_0x19f225(0x420,0x4c5,0x4a9,0x41c),..._0x5042c8?{'detail':_0x5042c8}:{}},_0x165360),void 0x0;}});}import _0x82d368 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x3c3ad9=>{const {lookup:_0x45993d}=await import('dns/promises');return _0x45993d(_0x3c3ad9,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x5114b7){const _0x4d19d={_0x314bee:0x205,_0x265f80:0x40b,_0x5bb2f4:0x621,_0x439666:0x50b,_0xf09ea:0x53c,_0x6d0973:0x616},_0xd9cff2={_0x509067:0x15a,_0x1ccfa3:0xca},_0x53fb2c={_0x1ff8d9:0x159},_0x9e18ac=_0x5114b7[_0x163fdf(_0x4d19d._0x314bee,0x12c,0x312,0x1c1)]('.');function _0x163fdf(_0x372710,_0x22359a,_0xd8e97e,_0x9f19c){return _0x1932a3(_0x22359a,_0x22359a-_0x53fb2c._0x1ff8d9,_0x372710- -0x19f,_0x9f19c-0xf4);}if(_0x9e18ac[_0x2ffaa9(_0x4d19d._0x265f80,_0x4d19d._0x5bb2f4,_0x4d19d._0x439666,0x4aa)]!==0x4)return null;let _0x4bca39=0x0;for(const _0x3a5457 of _0x9e18ac){if(!/^\d{1,3}$/[_0x2ffaa9(0x5ad,0x60b,_0x4d19d._0xf09ea,_0x4d19d._0x6d0973)](_0x3a5457))return null;const _0x575ce3=Number(_0x3a5457);if(_0x575ce3>0xff)return null;_0x4bca39=_0x4bca39*0x100+_0x575ce3;}function _0x2ffaa9(_0xf6e1d7,_0x43db8d,_0x27c9ce,_0x41a8f5){return _0x1932a3(_0x41a8f5,_0x43db8d-_0xd9cff2._0x509067,_0x27c9ce-_0xd9cff2._0x1ccfa3,_0x41a8f5-0x1de);}return _0x4bca39>>>0x0;}function isBlockedIpv4(_0x442705){const _0xe92b83={_0x1f3386:0x147,_0x56117e:0xb6,_0x2fd49d:0x37,_0x596846:0x4e3,_0x2a609a:0x12c,_0x1e1a57:0x1b0,_0x4fcd1a:0x133,_0x445793:0x45a,_0x3ddd52:0x3c3,_0x183ad2:0x1c1,_0x301152:0x443,_0x11e15c:0x548,_0x6bd816:0x5da},_0x47c7b6={_0x233b1e:0x1ca,_0x537c00:0x128},_0x363973={_0x239c37:0x5e},_0x33fb37=ipv4ToInt(_0x442705);if(_0x33fb37===null)return!![];function _0x486d50(_0x46188e,_0x9c572e,_0xfb2535,_0x57cec8){return _0x1932a3(_0xfb2535,_0x9c572e-0xf8,_0x46188e-0x170,_0x57cec8-_0x363973._0x239c37);}const _0x2fb7df=(_0x22ac0c,_0x59e8e7)=>{const _0x2064f2=ipv4ToInt(_0x22ac0c);if(_0x2064f2===null)return![];const _0x53271d=_0x59e8e7===0x0?0x0:0xffffffff<<0x20-_0x59e8e7>>>0x0;return(_0x33fb37&_0x53271d)===(_0x2064f2&_0x53271d);};function _0x148967(_0x46822d,_0x5a99a5,_0x32d679,_0x5d42f1){return _0x1932a3(_0x46822d,_0x5a99a5-_0x47c7b6._0x233b1e,_0x32d679- -0x4a9,_0x5d42f1-_0x47c7b6._0x537c00);}return _0x2fb7df(_0x148967(0xf3,_0xe92b83._0x1f3386,_0xe92b83._0x56117e,-_0xe92b83._0x2fd49d),0x8)||_0x2fb7df(_0x486d50(_0xe92b83._0x596846,0x595,0x3b7,0x463),0x8)||_0x2fb7df(_0x148967(-0x157,-0x84,-0x1b,-_0xe92b83._0x2a609a),0xa)||_0x2fb7df('127.0.0.0',0x8)||_0x2fb7df('169.254.0.0',0x10)||_0x2fb7df('172.16.0.0',0xc)||_0x2fb7df(_0x148967(-0x10c,-0x67,-_0xe92b83._0x1e1a57,-_0xe92b83._0x4fcd1a),0x18)||_0x2fb7df(_0x486d50(_0xe92b83._0x445793,_0xe92b83._0x3ddd52,0x3da,0x4ba),0x10)||_0x2fb7df(_0x148967(0x149,0x1b,0x62,_0xe92b83._0x183ad2),0xf)||_0x2fb7df(_0x486d50(0x585,0x585,0x49d,_0xe92b83._0x301152),0x4)||_0x2fb7df(_0x486d50(0x5a2,0x5f0,_0xe92b83._0x11e15c,_0xe92b83._0x6bd816),0x4);}function expandIpv6(_0x412493){const _0x4fa71e={_0x229e4b:0x270,_0x4e76cd:0x2bd,_0x427ae5:0x18c,_0x2b93da:0x1a2,_0xc75b9b:0x220,_0x747fef:0x10c,_0x537cff:0x15f,_0x176157:0x310,_0x35e3ad:0x14c,_0x16d94b:0x635,_0x4b99b2:0x5df,_0xa35acb:0x688,_0x89237:0x42b,_0x2b5b72:0x1a2,_0x178ac8:0x30b,_0x4bbf1c:0x70c,_0x18063f:0x781,_0x393a99:0x1ef,_0x11578e:0x34c},_0x4d4a5c={_0x1263e3:0x8a,_0x5cfb08:0x1d9},_0x4fcb8a={_0x9fc10a:0xfd};function _0x22792c(_0x4e0b29,_0x11ea1b,_0x1e913f,_0xd84597){return _0x4ab00a(_0x4e0b29-0x126,_0x11ea1b-0x55,_0x11ea1b,_0x1e913f-_0x4fcb8a._0x9fc10a);}let _0x5ca3bc=_0x412493,_0x17174e;const _0x4cce05=_0x5ca3bc[_0x13be59(0x3f9,0x3bb,0x3de,_0x4fa71e._0x229e4b)](':');_0x5ca3bc[_0x13be59(0x312,0x344,_0x4fa71e._0x4e76cd,_0x4fa71e._0x427ae5)](_0x4cce05+0x1)[_0x13be59(_0x4fa71e._0x2b93da,0xe8,_0x4fa71e._0xc75b9b,_0x4fa71e._0x747fef)]('.')&&(_0x17174e=_0x5ca3bc[_0x13be59(0x147,0x428,_0x4fa71e._0x4e76cd,_0x4fa71e._0x537cff)](_0x4cce05+0x1),_0x5ca3bc=_0x5ca3bc[_0x13be59(0x3d5,0x28c,0x2bd,0x1cf)](0x0,_0x4cce05+0x1));function _0x13be59(_0x5d9c3e,_0x40a66b,_0x55ce30,_0x2a04b5){return _0x4ab00a(_0x5d9c3e-_0x4d4a5c._0x1263e3,_0x40a66b-_0x4d4a5c._0x5cfb08,_0x40a66b,_0x55ce30- -0x22d);}const _0x1f4d76=_0x5ca3bc[_0x13be59(_0x4fa71e._0x176157,0xff,0x26e,_0x4fa71e._0x35e3ad)]('::');if(_0x1f4d76[_0x22792c(0x75e,0x4f5,_0x4fa71e._0x16d94b,_0x4fa71e._0x4b99b2)]>0x2)return null;const _0x27ea41=_0x3ffed3=>_0x3ffed3[_0x13be59(0x39e,0x21e,0x26e,0x29a)](':')['filter'](_0x2dd70f=>_0x2dd70f[_0x13be59(0x27a,0x2ed,0x30b,0x1ab)]>0x0)[_0x13be59(0x26c,0x362,0x219,0xc7)](_0x177a47=>Number[_0x13be59(0x160,0x271,0x147,0x2a9)](_0x177a47,0x10)),_0x248b88=_0x1f4d76[0x0]?_0x27ea41(_0x1f4d76[0x0]):[],_0x4bb45a=_0x1f4d76['length']===0x2&&_0x1f4d76[0x1]?_0x27ea41(_0x1f4d76[0x1]):[],_0x470599=[];if(_0x17174e){const _0x24be2f=ipv4ToInt(_0x17174e);if(_0x24be2f===null)return null;_0x470599[_0x22792c(0x7f3,0x7c6,_0x4fa71e._0xa35acb,0x6ee)](_0x24be2f>>>0x10&0xffff,_0x24be2f&0xffff);}const _0x53ce69=[..._0x4bb45a,..._0x470599],_0x2f24e9=0x8-_0x248b88['length']-_0x53ce69[_0x13be59(0x3bd,_0x4fa71e._0x89237,0x30b,_0x4fa71e._0x2b5b72)];if(_0x1f4d76[_0x13be59(0x1b6,0x1c0,_0x4fa71e._0x178ac8,0x26a)]===0x1)return _0x248b88[_0x22792c(_0x4fa71e._0x4bbf1c,0x59c,0x635,_0x4fa71e._0x18063f)]+_0x53ce69[_0x13be59(_0x4fa71e._0x393a99,0x453,0x30b,0x456)]===0x8?[..._0x248b88,..._0x53ce69]:null;if(_0x2f24e9<0x0)return null;return[..._0x248b88,...new Array(_0x2f24e9)[_0x22792c(_0x4fa71e._0x11578e,0x3fe,0x4aa,0x4be)](0x0),..._0x53ce69];}function isBlockedIpv6(_0x31a3bc){const _0x4768b4={_0x51f775:0x5c1,_0x2f8857:0x620,_0x1a7139:0x868,_0x5b8802:0x8cd,_0x3241c2:0x7c7,_0x56c57e:0x615,_0x49c467:0x722,_0x3a2ee5:0x7bd,_0x1b2975:0x6a3},_0x215b9f=expandIpv6(_0x31a3bc);if(!_0x215b9f||_0x215b9f[_0x281356(_0x4768b4._0x51f775,0x4e2,0x574,_0x4768b4._0x2f8857)](_0x25235f=>Number[_0xa910c(0x57b,0x4a8,0x4a4,0x611)](_0x25235f)))return!![];const _0x23b612=_0x215b9f['slice'](0x0,0x7)[_0x281356(0x7cf,_0x4768b4._0x1a7139,_0x4768b4._0x5b8802,0x69e)](_0x209a78=>_0x209a78===0x0);function _0x281356(_0x312542,_0x2a47f2,_0xcbc4fb,_0x467f69){return _0x4ab00a(_0x312542-0x44,_0x2a47f2-0x5d,_0x2a47f2,_0x312542-0x20f);}if(_0x23b612&&(_0x215b9f[0x7]===0x0||_0x215b9f[0x7]===0x1))return!![];if(_0x215b9f['slice'](0x0,0x5)[_0xa910c(0x6f1,_0x4768b4._0x3241c2,_0x4768b4._0x56c57e,0x768)](_0x14fd78=>_0x14fd78===0x0)&&(_0x215b9f[0x5]===0xffff||_0x215b9f[0x5]===0x0)){const _0x5e41a6=(_0x215b9f[0x6]<<0x10|_0x215b9f[0x7])>>>0x0,_0x21461a=[_0x5e41a6>>>0x18&0xff,_0x5e41a6>>>0x10&0xff,_0x5e41a6>>>0x8&0xff,_0x5e41a6&0xff][_0xa910c(_0x4768b4._0x49c467,_0x4768b4._0x3a2ee5,0x707,_0x4768b4._0x1b2975)]('.');return isBlockedIpv4(_0x21461a);}const _0x13fdcb=_0x215b9f[0x0];if((_0x13fdcb&0xff00)===0xfc00||(_0x13fdcb&0xfe00)===0xfc00)return!![];if((_0x13fdcb&0xffc0)===0xfe80)return!![];if((_0x13fdcb&0xff00)===0xff00)return!![];function _0xa910c(_0x5e6eb9,_0x1aa1ba,_0x963734,_0x2616e9){return _0x1932a3(_0x963734,_0x1aa1ba-0xb9,_0x5e6eb9-0x228,_0x2616e9-0xc9);}return![];}function isBlockedAddress(_0x1402a4){const _0x371560=isIP(_0x1402a4);if(_0x371560===0x4)return isBlockedIpv4(_0x1402a4);if(_0x371560===0x6)return isBlockedIpv6(_0x1402a4);return!![];}async function assertPublicUrl(_0x3d13cc,_0x23d605={}){const _0x8c2607={_0x4c492a:0x57f,_0x3bb277:0x618,_0xb95117:0x6ee,_0x4902fc:0x4ed,_0x2d290c:0x631,_0x2d17ec:0x4f6,_0x1b0bf8:0x6e7,_0x30330e:0x6d6,_0x4e9740:0x442,_0x20140b:0x59e,_0x3d8fc4:0x644,_0x18cef9:0x3b2,_0x532ea2:0x625,_0x4eafcf:0x50b,_0x5e13cd:0x634,_0x327dd8:0x746,_0x255f87:0x443,_0x199a8d:0x631,_0x483284:0x4f3,_0x1e5843:0x4cf,_0x195964:0x4b6,_0xcc68d6:0x731,_0x569255:0x685,_0x3d92a0:0x582,_0x4d4988:0x678,_0x3ba02c:0x4b1,_0x5a2bbc:0x5ca,_0xebb7ef:0x77b,_0x43fbef:0x6e0,_0x461ae9:0x5ee,_0x203d98:0x3ac,_0x2c7b51:0x3a6,_0x1faddc:0x406,_0x5f4c3f:0x412},_0x2b258e={_0x23065e:0x12e,_0x543768:0x32},_0x330a2a={_0x123bf7:0x1cb};let _0x47f05f;try{_0x47f05f=new URL(_0x3d13cc);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x3d13cc});}if(_0x47f05f['protocol']!==_0x47c3f3(_0x8c2607._0x4c492a,_0x8c2607._0x3bb277,_0x8c2607._0xb95117,_0x8c2607._0x4902fc)&&_0x47f05f[_0x5da786(_0x8c2607._0x2d290c,0x557,0x58d,0x791)]!==_0x5da786(0x4bf,0x394,_0x8c2607._0x2d17ec,0x507))throw new ToolExecutionError(_0x5da786(0x5b1,_0x8c2607._0x1b0bf8,_0x8c2607._0x30330e,_0x8c2607._0x4e9740),{'url':_0x3d13cc});if(_0x47f05f['username']||_0x47f05f['password'])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x47f05f[_0x47c3f3(_0x8c2607._0x20140b,_0x8c2607._0x3d8fc4,0x4ef,0x656)]+'//'+_0x47f05f[_0x47c3f3(0x5ee,0x4cf,_0x8c2607._0x18cef9,_0x8c2607._0x532ea2)]+_0x47f05f[_0x5da786(0x629,_0x8c2607._0x4eafcf,_0x8c2607._0x5e13cd,_0x8c2607._0x327dd8)]});function _0x47c3f3(_0x3f1115,_0x38fa5c,_0x3f1953,_0x3dca91){return _0x4ab00a(_0x3f1115-_0x330a2a._0x123bf7,_0x38fa5c-0x4c,_0x3f1115,_0x38fa5c-0x45);}const _0x23dd2a=_0x47f05f['hostname'][_0x5da786(_0x8c2607._0x255f87,0x43c,_0x8c2607._0x20140b,0x36b)](/^\[|\]$/g,''),_0x12fe56=_0x47f05f[_0x5da786(_0x8c2607._0x199a8d,0x75f,_0x8c2607._0x483284,0x660)]+'//'+_0x47f05f[_0x47c3f3(0x5b2,_0x8c2607._0x1e5843,_0x8c2607._0x195964,0x550)]+_0x47f05f['pathname'];if(isIP(_0x23dd2a)){if(isBlockedAddress(_0x23dd2a))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x12fe56});return _0x47f05f;}const _0x798b6=_0x23d605['lookup']??defaultLookup;function _0x5da786(_0x4445c4,_0x432c78,_0x3ecaca,_0x4f0084){return _0x4ab00a(_0x4445c4-_0x2b258e._0x23065e,_0x432c78-0xcf,_0x3ecaca,_0x4445c4-_0x2b258e._0x543768);}let _0x286c1e;try{_0x286c1e=await _0x798b6(_0x23dd2a);}catch{throw new ToolExecutionError(_0x47c3f3(_0x8c2607._0xcc68d6,_0x8c2607._0x569255,0x6e8,_0x8c2607._0x3d92a0),{'url':_0x12fe56});}if(_0x286c1e[_0x5da786(0x56a,_0x8c2607._0x4d4988,_0x8c2607._0x3ba02c,_0x8c2607._0x5a2bbc)]===0x0)throw new ToolExecutionError(_0x47c3f3(_0x8c2607._0xebb7ef,_0x8c2607._0x569255,_0x8c2607._0x43fbef,_0x8c2607._0x461ae9),{'url':_0x12fe56});for(const {address:_0x495a48}of _0x286c1e){if(isBlockedAddress(_0x495a48))throw new ToolExecutionError(_0x5da786(_0x8c2607._0x203d98,_0x8c2607._0x2c7b51,_0x8c2607._0x1faddc,_0x8c2607._0x5f4c3f),{'url':_0x12fe56});}return _0x47f05f;}async function safeFetch(_0x2d6770,_0x146ea2={},_0x383d9e={}){const _0x3fa3ac={_0x25ee4b:0x47c,_0x23247a:0x4b2,_0x2418c2:0x3c3,_0x52981a:0x34b,_0x135bdf:0x28c,_0xaf25aa:0x44a,_0xfa3ebd:0x5c6,_0x3848e8:0x608,_0x3cd344:0x7a2,_0x2f1c6c:0x855,_0x292361:0x5c9,_0x59d03c:0x46c,_0x2f2e59:0x4fc,_0x42d710:0x2a8,_0x379f53:0x694,_0x1f9d73:0x6b4},_0x34bbd4={_0xb35b82:0x1dc,_0x5150fc:0xf5},_0x7161b2={_0x3bd39b:0x2f};function _0x24a106(_0x4d474a,_0x23da92,_0xce5f39,_0x49b1c0){return _0x1932a3(_0x23da92,_0x23da92-0x143,_0x4d474a-0x299,_0x49b1c0-_0x7161b2._0x3bd39b);}function _0x47437e(_0x54e51c,_0x3361ec,_0x1c64e5,_0x105812){return _0x1932a3(_0x3361ec,_0x3361ec-_0x34bbd4._0xb35b82,_0x54e51c-_0x34bbd4._0x5150fc,_0x105812-0x143);}const _0x475f29=_0x383d9e['fetchImpl']??fetch,_0x57a139=_0x383d9e[_0x47437e(0x3f6,_0x3fa3ac._0x25ee4b,_0x3fa3ac._0x23247a,_0x3fa3ac._0x2418c2)]??DEFAULT_MAX_REDIRECTS;let _0x370364=_0x2d6770;for(let _0x5726dc=0x0;;_0x5726dc+=0x1){const _0x2194ac=await assertPublicUrl(_0x370364,_0x383d9e),_0x1a7b1b=await _0x475f29(_0x2194ac[_0x47437e(0x3f8,_0x3fa3ac._0x52981a,0x3ac,_0x3fa3ac._0x135bdf)](),{..._0x146ea2,'redirect':_0x47437e(0x59d,0x6d9,0x5e0,_0x3fa3ac._0xaf25aa)}),_0x43cab0=_0x1a7b1b[_0x24a106(_0x3fa3ac._0xfa3ebd,_0x3fa3ac._0x3848e8,0x47f,0x48e)][_0x24a106(_0x3fa3ac._0x3cd344,0x72b,_0x3fa3ac._0x2f1c6c,0x8ed)]('location');if(!REDIRECT_STATUSES['has'](_0x1a7b1b[_0x24a106(0x518,_0x3fa3ac._0x292361,_0x3fa3ac._0x59d03c,_0x3fa3ac._0x2f2e59)])||!_0x43cab0)return _0x1a7b1b;if(_0x5726dc>=_0x57a139)throw new ToolExecutionError('Too\x20many\x20redirects',{'url':_0x2194ac[_0x47437e(0x3f8,0x3e0,_0x3fa3ac._0x42d710,0x329)]()});_0x370364=new URL(_0x43cab0,_0x2194ac)[_0x24a106(0x59c,_0x3fa3ac._0x379f53,_0x3fa3ac._0x1f9d73,0x477)]();}}var USER_AGENT=_0x4ab00a(0x640,0x702,0x6c5,0x5fd),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x41d7eb,_0x3a263a){const _0x716da8={_0x4123e3:0xd1,_0x46e81b:0x48,_0x539306:0xa4,_0x2248d2:0x149,_0x6f706:0x2aa,_0x3e4abb:0x26f,_0x1d8764:0x155,_0x5df380:0x1e6,_0xcab1ba:0x28c,_0x2abb1d:0x57b},_0x18e71f={_0x718ea5:0x45,_0x23d5ec:0x108,_0x387078:0x1a7,_0x27b9f5:0x2ae,_0x1d1b41:0x1fb},_0x12b544={_0x82ccd7:0x41},_0x257d5b={_0x5d95d5:0x4b,_0x28b5ae:0x12e,_0x2f32b4:0x4ee},_0x3441a8={_0x524ad0:0x1b8},_0x2e9d75=new AbortController(),_0x5c775e=setTimeout(()=>_0x2e9d75['abort'](new Error(_0x8da7ac(0x11,-0x60,0x8,-0x111))),_0x3a263a),_0x195555=()=>_0x2e9d75[_0xb279da(0x55d,0x326,0x468,0x452)](_0x41d7eb[_0x8da7ac(-0x74,-0x16a,-0x255,-0x284)]);function _0xb279da(_0xaf7371,_0x549870,_0x5922b2,_0x61aebb){return _0x1932a3(_0xaf7371,_0x549870-_0x3441a8._0x524ad0,_0x61aebb- -0x1e,_0x61aebb-0x121);}_0x41d7eb[_0x8da7ac(-0x1b4,-_0x716da8._0x4123e3,-_0x716da8._0x46e81b,-0x190)]?_0x2e9d75[_0x8da7ac(-_0x716da8._0x539306,0x79,0x16d,-0x6f)](_0x41d7eb[_0xb279da(0x15e,_0x716da8._0x2248d2,_0x716da8._0x6f706,_0x716da8._0x3e4abb)]):_0x41d7eb[_0x8da7ac(0x7c,_0x716da8._0x1d8764,_0x716da8._0x5df380,_0x716da8._0xcab1ba)](_0xb279da(0x3d3,0x337,_0x716da8._0x2abb1d,0x452),_0x195555,{'once':!![]});function _0x8da7ac(_0x448d4a,_0x2c0aee,_0x3983a3,_0x13dc79){return _0x4ab00a(_0x448d4a-_0x257d5b._0x5d95d5,_0x2c0aee-_0x257d5b._0x28b5ae,_0x448d4a,_0x2c0aee- -_0x257d5b._0x2f32b4);}return{'signal':_0x2e9d75['signal'],'cleanup':()=>{const _0x4a4a7d={_0x3e2c42:0x115,_0x13983f:0x1e1};clearTimeout(_0x5c775e);function _0x49860c(_0x2e893b,_0x1cd8f2,_0x81894b,_0x20e9dc){return _0x8da7ac(_0x2e893b,_0x1cd8f2-0x12e,_0x81894b-_0x12b544._0x82ccd7,_0x20e9dc-0xf3);}function _0x5604d1(_0x5c6b6d,_0x93e31b,_0xf0e7f4,_0x2e7449){return _0xb279da(_0x2e7449,_0x93e31b-0x1a8,_0xf0e7f4-_0x4a4a7d._0x3e2c42,_0x5c6b6d-_0x4a4a7d._0x13983f);}_0x41d7eb[_0x49860c(_0x18e71f._0x718ea5,-0x51,0x94,-_0x18e71f._0x23d5ec)](_0x49860c(0x259,_0x18e71f._0x387078,_0x18e71f._0x27b9f5,_0x18e71f._0x1d1b41),_0x195555);}};}function createWebFetchTool(_0x3a4bf0={}){const _0x2f465c={_0x3e989a:0x350,_0x5496ce:0x17d,_0x5390f9:0x229,_0x37396f:0x390,_0x2f966e:0x63d,_0xe107da:0x618,_0x225dc1:0x225,_0x28dca9:0x17d,_0x34ff68:0x255,_0x16e65b:0x1cf,_0x232c04:0x4a5,_0x6746a4:0x272,_0x222d6e:0x1ad,_0x1c2101:0x547,_0x283b09:0x618,_0x2ef0b8:0x4fb,_0x573ea3:0x7bf,_0x56d0e1:0x748,_0xc60b2e:0x30e,_0x5cae5e:0x399,_0x59f26f:0x28f,_0x34e4c5:0x364,_0x1ee328:0x2dc,_0x38fcf0:0x479,_0x159b13:0x367,_0x593bf1:0x363,_0x3a367d:0x322,_0x23d6e5:0x387,_0x1283b8:0x2b9,_0x43d714:0x5b1,_0x5d20cf:0x55c,_0x3b1b2e:0x5ad},_0x4a5111={_0x3714c8:0x491,_0x3e5dcf:0x3ab,_0x261b09:0x39d,_0x270dd3:0x26c,_0x25fdc9:0x477,_0x4121a1:0x330,_0x1b9ce1:0x28b,_0x121520:0x163,_0x210c97:0x248,_0x41e32d:0x4ad,_0x179a3e:0x586,_0x2d80a3:0x2d7,_0x4e84ce:0x1be,_0x24b467:0x1bc,_0x1a9f4d:0x2e2,_0x5b3e0a:0x227,_0x2a9daa:0x295,_0x22e985:0x290,_0x1290f6:0x3d7,_0x5be261:0x398,_0x285275:0x535,_0x3fab14:0x396,_0x4148ce:0xb9,_0x40de1a:0x580,_0x3cdad6:0x549,_0x48f917:0x6b5,_0x85434d:0x499,_0x1a8816:0x2ad,_0x58fd88:0x13c,_0x4988f1:0x3e4,_0x43ea33:0x498,_0x19660d:0x336,_0x5dca53:0x327,_0x36c2c3:0x1ca,_0x42eb2c:0x2a6,_0x40f608:0x40c},_0x4be509={_0x3e5f0e:0x151,_0x39b6e4:0xd,_0x32bc8b:0x3a6},_0x147f04={_0xd6941e:0x78},_0x26a898={_0x592cdb:0x1c6,_0xc511a0:0x155},_0x4ffe15=_0x3a4bf0[_0x5d476a(_0x2f465c._0x3e989a,_0x2f465c._0x5496ce,_0x2f465c._0x5390f9,_0x2f465c._0x37396f)]??_0xd013d5(_0x2f465c._0x2f966e,0x6fb,0x770,_0x2f465c._0xe107da);function _0xd013d5(_0x54da5f,_0x433b58,_0x11393d,_0x32c1c9){return _0x4ab00a(_0x54da5f-0x14e,_0x433b58-_0x26a898._0x592cdb,_0x32c1c9,_0x11393d-_0x26a898._0xc511a0);}function _0x5d476a(_0x4b8c21,_0x3f6054,_0x5ed7f1,_0x1f1df5){return _0x1932a3(_0x3f6054,_0x3f6054-_0x147f04._0xd6941e,_0x5ed7f1- -0x139,_0x1f1df5-0x12f);}const _0x52ca22=_0x3a4bf0['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x4a9c09=_0x3a4bf0[_0xd013d5(0x646,0x586,0x50d,0x5bb)],_0x51eb55=new _0x82d368({'headingStyle':'atx','codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x51eb55[_0x5d476a(0x261,0x2e6,_0x2f465c._0x225dc1,_0x2f465c._0x28dca9)]([_0x5d476a(_0x2f465c._0x34ff68,_0x2f465c._0x16e65b,0x332,_0x2f465c._0x232c04),_0x5d476a(_0x2f465c._0x6746a4,0xb8,_0x2f465c._0x222d6e,0x266),_0xd013d5(_0x2f465c._0x1c2101,_0x2f465c._0x283b09,0x50c,_0x2f465c._0x2ef0b8),_0xd013d5(0x784,_0x2f465c._0x573ea3,0x669,_0x2f465c._0x56d0e1),_0x5d476a(0x26d,_0x2f465c._0xc60b2e,0x30b,_0x2f465c._0x5cae5e),_0x5d476a(0x314,_0x2f465c._0x59f26f,_0x2f465c._0x34e4c5,0x221),_0x5d476a(_0x2f465c._0x1ee328,_0x2f465c._0x38fcf0,0x3dc,_0x2f465c._0x159b13),'aside']),defineTool({'name':_0x4ffe15,'description':_0x5d476a(0x237,_0x2f465c._0x593bf1,_0x2f465c._0x3a367d,_0x2f465c._0x23d6e5),'inputSchema':{'type':'object','properties':{'description':{'type':_0x5d476a(0x37b,0x389,_0x2f465c._0x1283b8,0x411)},'url':{'type':_0xd013d5(_0x2f465c._0x43d714,_0x2f465c._0x5d20cf,0x63e,_0x2f465c._0x3b1b2e)}},'required':['url']},async *'execute'(_0x46cf34,_0x9ef148){const _0x69f29f={_0x122d91:0xc2},_0x3f7ef6=(await assertPublicUrl(_0x46cf34[_0x1583db(_0x4a5111._0x3714c8,_0x4a5111._0x3e5dcf,0x499,_0x4a5111._0x261b09)],{'lookup':_0x4a9c09}))[_0x1583db(_0x4a5111._0x270dd3,0x314,_0x4a5111._0x25fdc9,0x2ff)]();function _0x1583db(_0x551537,_0x591c5b,_0x3c7b39,_0x2d786d){return _0x5d476a(_0x551537-_0x69f29f._0x122d91,_0x3c7b39,_0x591c5b-0x14a,_0x2d786d-0x19c);}if(_0x9ef148['signal']['aborted'])throw new ToolExecutionError(_0x393f92(_0x4a5111._0x4121a1,0x3c8,0x242,0x3bc),{'url':_0x3f7ef6});const _0x47f5bf=createTimeoutSignal(_0x9ef148[_0x393f92(0x2dc,_0x4a5111._0x1b9ce1,_0x4a5111._0x121520,_0x4a5111._0x210c97)],_0x52ca22);let _0x4db81c='',_0x5a53b9=0x0,_0x1f3927;try{const _0x242107=await safeFetch(_0x3f7ef6,{'headers':{'User-Agent':USER_AGENT},'signal':_0x47f5bf[_0x1583db(_0x4a5111._0x41e32d,0x447,_0x4a5111._0x179a3e,0x34d)]},{'lookup':_0x4a9c09});if(!_0x242107['ok'])throw new ToolExecutionError(_0x393f92(_0x4a5111._0x2d80a3,0x3e9,_0x4a5111._0x4e84ce,0x3e2)+_0x242107['status']+'\x20'+_0x242107['statusText'],{'url':_0x3f7ef6,'statusCode':_0x242107[_0x1583db(_0x4a5111._0x24b467,0x290,_0x4a5111._0x1a9f4d,_0x4a5111._0x5b3e0a)]});_0x4db81c=_0x242107['headers']['get']('content-type')??'',_0x5a53b9=_0x242107[_0x1583db(_0x4a5111._0x2a9daa,_0x4a5111._0x22e985,0x2dc,0x2de)],_0x1f3927=await _0x242107[_0x393f92(_0x4a5111._0x1290f6,_0x4a5111._0x5be261,_0x4a5111._0x285275,_0x4a5111._0x3fab14)]();}catch(_0x330c78){if(_0x330c78 instanceof ToolExecutionError)throw _0x330c78;const _0x3dd02c=_0x330c78 instanceof Error?_0x330c78[_0x393f92(0x1f7,_0x4a5111._0x4148ce,0x91,0xb8)]:String(_0x330c78);throw new ToolExecutionError(_0x3dd02c,{'url':_0x3f7ef6});}finally{_0x47f5bf[_0x1583db(_0x4a5111._0x40de1a,_0x4a5111._0x3cdad6,_0x4a5111._0x48f917,0x515)]();}const _0x1b5b8e=new Date()[_0x1583db(0x4b0,0x365,0x2c5,_0x4a5111._0x85434d)]();let _0x3d97c7,_0x358ad0;function _0x393f92(_0x5de401,_0xea377d,_0x199abc,_0x500bd5){return _0xd013d5(_0x5de401-_0x4be509._0x3e5f0e,_0xea377d-_0x4be509._0x39b6e4,_0x5de401- -_0x4be509._0x32bc8b,_0x500bd5);}if(_0x4db81c[_0x393f92(0x1fc,_0x4a5111._0x1a8816,0x24b,_0x4a5111._0x58fd88)](_0x393f92(0x399,0x27b,0x27b,0x42a)))_0x3d97c7=_0x1583db(0x3d4,0x4ce,_0x4a5111._0x4988f1,0x4b1)+_0x1f3927+_0x1583db(0x546,0x4e0,0x649,0x547),_0x358ad0=_0x1583db(_0x4a5111._0x43ea33,0x3d5,0x26a,_0x4a5111._0x19660d);else _0x4db81c[_0x1583db(0x3b0,0x367,_0x4a5111._0x5dca53,0x456)](_0x393f92(_0x4a5111._0x36c2c3,0x338,_0x4a5111._0x42eb2c,0x2ef))?(_0x3d97c7=_0x51eb55['turndown'](_0x1f3927),_0x358ad0=_0x393f92(_0x4a5111._0x40f608,0x415,0x533,0x37b)):(_0x3d97c7=_0x1f3927,_0x358ad0='text');return yield createToolOutput(_0x3d97c7,{'url':_0x3f7ef6,'contentType':_0x4db81c,'statusCode':_0x5a53b9,'format':_0x358ad0,'size':_0x1f3927['length'],'fetchedAt':_0x1b5b8e}),void 0x0;}});}import{load}from'cheerio';function _0x5a72(_0x3cec94,_0x1eb275){_0x3cec94=_0x3cec94-0x196;const _0x4a4c28=_0x4a4c();let _0x5a7222=_0x4a4c28[_0x3cec94];if(_0x5a72['SpOEgV']===undefined){var _0x393fcd=function(_0x5b827c){const _0x3dc033='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x126110='',_0x4982e0='';for(let _0x461961=0x0,_0x4577a3,_0x33e815,_0x2bba96=0x0;_0x33e815=_0x5b827c['charAt'](_0x2bba96++);~_0x33e815&&(_0x4577a3=_0x461961%0x4?_0x4577a3*0x40+_0x33e815:_0x33e815,_0x461961++%0x4)?_0x126110+=String['fromCharCode'](0xff&_0x4577a3>>(-0x2*_0x461961&0x6)):0x0){_0x33e815=_0x3dc033['indexOf'](_0x33e815);}for(let _0x1cebcf=0x0,_0x2c3e93=_0x126110['length'];_0x1cebcf<_0x2c3e93;_0x1cebcf++){_0x4982e0+='%'+('00'+_0x126110['charCodeAt'](_0x1cebcf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4982e0);};_0x5a72['mJZReu']=_0x393fcd,_0x5a72['KocWHy']={},_0x5a72['SpOEgV']=!![];}const _0x1304aa=_0x4a4c28[0x0],_0x56b780=_0x3cec94+_0x1304aa,_0x44cee4=_0x5a72['KocWHy'][_0x56b780];return!_0x44cee4?(_0x5a7222=_0x5a72['mJZReu'](_0x5a7222),_0x5a72['KocWHy'][_0x56b780]=_0x5a7222):_0x5a7222=_0x44cee4,_0x5a7222;}var USER_AGENT2=_0x1932a3(0x1b6,0x39d,0x29a,0x22e);function normalizeUrl(_0xb3d654){const _0x33cf78={_0x22fa54:0x57d,_0x51994d:0x5d7,_0x23faa5:0x536,_0x33a984:0x59b,_0x2860c2:0x5e0,_0x30ee51:0x7e6,_0x4eb633:0x740,_0x40dca7:0x5f9,_0x39153c:0x5e9,_0x33de38:0x48a,_0x252eb9:0x247,_0x329c98:0x8cc,_0x51aa12:0x75d,_0x581fa1:0x53e,_0x1e5ca9:0x57c,_0x1a3adb:0x354},_0xeed263={_0x40908d:0x149},_0x2cb603={_0x34dd89:0x1b1,_0x556db6:0x146,_0x373a37:0x1e5};function _0xa255bd(_0x20a38d,_0x4c3662,_0xfb3268,_0x54522a){return _0x4ab00a(_0x20a38d-_0x2cb603._0x34dd89,_0x4c3662-_0x2cb603._0x556db6,_0x54522a,_0xfb3268-_0x2cb603._0x373a37);}function _0x597b66(_0x415383,_0x22c34d,_0x11c964,_0x30e05a){return _0x4ab00a(_0x415383-_0xeed263._0x40908d,_0x22c34d-0x13e,_0x415383,_0x11c964- -0xa6);}try{const _0x43c9ff=new URL(_0xb3d654);for(const _0x4b54c9 of[_0xa255bd(0x702,_0x33cf78._0x22fa54,_0x33cf78._0x51994d,_0x33cf78._0x23faa5),_0xa255bd(0x47f,_0x33cf78._0x33a984,0x553,_0x33cf78._0x2860c2),'utm_campaign','utm_term',_0xa255bd(0x616,_0x33cf78._0x30ee51,_0x33cf78._0x4eb633,_0x33cf78._0x40dca7),_0xa255bd(0x7a3,0x742,0x6d9,_0x33cf78._0x39153c),'fbclid',_0x597b66(_0x33cf78._0x33de38,0x4b8,0x34e,_0x33cf78._0x252eb9),'mc_eid']){_0x43c9ff[_0xa255bd(0x82f,_0x33cf78._0x329c98,_0x33cf78._0x51aa12,0x7f1)][_0xa255bd(0x65f,_0x33cf78._0x581fa1,_0x33cf78._0x1e5ca9,0x587)](_0x4b54c9);}return _0x43c9ff[_0x597b66(0x2cb,0x49e,_0x33cf78._0x1a3adb,0x341)]();}catch{return _0xb3d654;}}function cseDateRestrict(_0x50ae71){const _0x69944b={_0x34b5fb:0x1a6,_0xadb747:0x210,_0x701d29:0x321,_0x2b57d4:0xaf},_0x2548b5={_0x1fbdaa:0x6a,_0x50e984:0x1a7,_0x3d7963:0x12a},_0x695d6f={_0xe59c1a:0x1a2};if(_0x50ae71<=0x0)return void 0x0;function _0x27cf18(_0x45e5de,_0x33b5dd,_0x211677,_0x2225de){return _0x1932a3(_0x2225de,_0x33b5dd-_0x695d6f._0xe59c1a,_0x33b5dd- -0x23f,_0x2225de-0x1cd);}function _0x1dd89c(_0x10e151,_0xa64e59,_0x28d049,_0x2cee3a){return _0x1932a3(_0x2cee3a,_0xa64e59-_0x2548b5._0x1fbdaa,_0x10e151-_0x2548b5._0x50e984,_0x2cee3a-_0x2548b5._0x3d7963);}if(_0x50ae71<=0x1e)return'd'+Math[_0x27cf18(_0x69944b._0x34b5fb,_0x69944b._0xadb747,0xff,_0x69944b._0x701d29)](0x1,Math['floor'](_0x50ae71));if(_0x50ae71<=0x16d)return'm'+Math['ceil'](_0x50ae71/0x1e);return'y'+Math[_0x27cf18(-_0x69944b._0x2b57d4,0x3d,0x4,0x19c)](_0x50ae71/0x16d);}function addSiteFilters(_0x5cdd5a,_0x151e9e){const _0x42202d={_0x598c6b:0x1c0,_0x2b73ce:0x294,_0x5047a9:0x2f8,_0x436e2f:0x284,_0x53656d:0x3b2,_0x5e21aa:0x2e0},_0x2e09cc={_0x5f275f:0xc7,_0xbec87e:0x14e},_0x3baff9={_0x12b240:0x12b,_0x5cfd92:0x15};if(_0x151e9e['length']===0x0)return _0x5cdd5a['trim']();function _0x2c855d(_0x274882,_0x510878,_0x2fba9d,_0x17f137){return _0x4ab00a(_0x274882-_0x3baff9._0x12b240,_0x510878-_0x3baff9._0x5cfd92,_0x2fba9d,_0x510878- -0x36d);}function _0x2c7b61(_0x4095ea,_0x19f05c,_0x53aa79,_0x1efa52){return _0x4ab00a(_0x4095ea-_0x2e09cc._0x5f275f,_0x19f05c-0x1eb,_0x53aa79,_0x1efa52- -_0x2e09cc._0xbec87e);}return(_0x5cdd5a+'\x20('+_0x151e9e[_0x2c7b61(0x1ce,_0x42202d._0x598c6b,_0x42202d._0x2b73ce,_0x42202d._0x5047a9)](_0x901f19=>'site:'+_0x901f19)[_0x2c855d(0x291,_0x42202d._0x436e2f,_0x42202d._0x53656d,_0x42202d._0x5e21aa)]('\x20OR\x20')+')')['trim']();}function normalizeType(_0x291298){const _0x29b2cb={_0x1a0398:0x50e,_0x3c9d90:0x36c,_0x4c7e0d:0x3a9,_0x232b15:0x4cc},_0xdcffa8={_0x3cb42e:0x17f,_0x1e8ebf:0x4f6},_0x1d5094={_0x22a189:0x76,_0x1558a5:0x11d};function _0x41c537(_0x22bd8b,_0x2b7e86,_0x3d91e7,_0x4f86e8){return _0x4ab00a(_0x22bd8b-_0x1d5094._0x22a189,_0x2b7e86-0x1ba,_0x4f86e8,_0x3d91e7- -_0x1d5094._0x1558a5);}function _0xe6554f(_0x280351,_0x301800,_0x11c3ce,_0x1a38de){return _0x4ab00a(_0x280351-_0xdcffa8._0x3cb42e,_0x301800-0x60,_0x11c3ce,_0x280351- -_0xdcffa8._0x1e8ebf);}return _0x291298===_0x41c537(0x497,_0x29b2cb._0x1a0398,0x4cc,0x635)?_0x41c537(_0x29b2cb._0x3c9d90,_0x29b2cb._0x4c7e0d,_0x29b2cb._0x232b15,0x44a):'web';}async function fetchJson(_0x4c450f,_0x4735a2,_0x282235){const _0x1abbd7={_0x5a9c3b:0xc3,_0x419862:0xcf,_0x5bd08a:0x2f7,_0x5a40ed:0x1a4,_0x587795:0x306,_0x3e41a7:0x2d0,_0x13896e:0x429,_0x47c790:0x24c,_0x361d6f:0x46c,_0x1d5c8b:0x59b,_0x2875ea:0x32c,_0x3df995:0x3d6,_0x5a08cb:0x3ce,_0x289dc1:0x349,_0x402956:0x486,_0x3cc5a1:0x381,_0xb303a2:0x36f,_0x80061a:0x8,_0x3c8bb9:0x5b,_0x1baf36:0x13a,_0x46db46:0x36,_0x31e0e9:0x7b,_0x472eb0:0x20b,_0x34f201:0x30a,_0x4e3e93:0x300,_0x26dc2b:0x578,_0x1dbe39:0x299,_0x5c83ae:0x510,_0x4896fa:0x553,_0x567789:0x46c},_0xfc6e46={_0x44329b:0x24},_0x1e293f={_0x456d5b:0x9f};function _0x2d4dee(_0x5a89bc,_0x3eecc7,_0x281ec3,_0xc03964){return _0x4ab00a(_0x5a89bc-0x1b9,_0x3eecc7-_0x1e293f._0x456d5b,_0x281ec3,_0x5a89bc- -0xdd);}const _0x56f3c3=await fetch(_0x4c450f,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x282235?.[_0x47f4b8(-0x2c,0x19,_0x1abbd7._0x5a9c3b,-0x11e)]},'signal':_0x4735a2,..._0x282235});function _0x47f4b8(_0x4140df,_0x12c6b3,_0xf27ff7,_0xaddf05){return _0x4ab00a(_0x4140df-_0xfc6e46._0x44329b,_0x12c6b3-0x15a,_0xaddf05,_0x4140df- -0x450);}if(!_0x56f3c3['ok']){let _0x101aa6,_0x3fdce2;try{_0x101aa6=await _0x56f3c3[_0x47f4b8(0x1d8,0x294,0x288,0x155)]();const _0x2c7c08=JSON[_0x47f4b8(-_0x1abbd7._0x419862,-0x206,0x3c,-0x2c)](_0x101aa6),_0x5d7b1b=typeof _0x2c7c08[_0x2d4dee(0x306,0x29d,_0x1abbd7._0x5bd08a,0x287)]===_0x47f4b8(0x192,0xe9,0x170,_0x1abbd7._0x5a40ed)?_0x2c7c08[_0x2d4dee(_0x1abbd7._0x587795,_0x1abbd7._0x3e41a7,0x3e6,_0x1abbd7._0x13896e)][_0x47f4b8(0xf9,0x26b,0xb7,_0x1abbd7._0x47c790)]:void 0x0;_0x3fdce2=_0x2c7c08[_0x2d4dee(_0x1abbd7._0x361d6f,0x35f,_0x1abbd7._0x1d5c8b,_0x1abbd7._0x2875ea)]?.['message']??_0x2c7c08[_0x2d4dee(_0x1abbd7._0x361d6f,0x547,_0x1abbd7._0x3df995,_0x1abbd7._0x5a08cb)]?.[_0x2d4dee(_0x1abbd7._0x289dc1,_0x1abbd7._0x402956,_0x1abbd7._0x3cc5a1,_0x1abbd7._0xb303a2)]?.[0x0]?.[_0x47f4b8(-_0x1abbd7._0x80061a,-_0x1abbd7._0x3c8bb9,_0x1abbd7._0x1baf36,0xb2)]??_0x5d7b1b;}catch{}const _0x5513aa=_0x3fdce2?_0x47f4b8(0xd8,-_0x1abbd7._0x46db46,_0x1abbd7._0x31e0e9,_0x1abbd7._0x472eb0)+_0x56f3c3[_0x2d4dee(0x299,0x401,_0x1abbd7._0x34f201,_0x1abbd7._0x4e3e93)]+':\x20'+_0x3fdce2:_0x2d4dee(0x44b,0x536,_0x1abbd7._0x26dc2b,0x414)+_0x56f3c3[_0x2d4dee(_0x1abbd7._0x1dbe39,0x1fd,0x2be,0x2db)]+'\x20'+_0x56f3c3[_0x2d4dee(_0x1abbd7._0x5c83ae,_0x1abbd7._0x4896fa,0x5a9,0x647)];throw new ToolExecutionError(_0x5513aa,{'statusCode':_0x56f3c3[_0x2d4dee(_0x1abbd7._0x1dbe39,0x2ef,0x340,0x300)],..._0x101aa6?{'body':_0x101aa6}:{}});}return await _0x56f3c3[_0x2d4dee(0x3de,_0x1abbd7._0x567789,0x3c4,0x4d8)]();}async function hydrateResults(_0x352a5e,_0x111f1f,_0x22f322,_0xdf8462){const _0x509d42={_0x55dc69:0x17a,_0x1dae02:0x5,_0x2175ee:0x2c5,_0x4dd88d:0x16a,_0x20e7fd:0x3df,_0x509ccc:0x464,_0x3ebb37:0x385},_0x5032a6={_0x210693:0x1c0},_0x258c63={_0x30fd6f:0x658,_0x223dc2:0x750,_0x41f2a4:0x816,_0x454ac8:0x8af,_0x4fd25b:0x98d,_0x865c53:0x104,_0x54d3ea:0x1e1,_0x3ffba1:0x636,_0x5cb373:0x621,_0x215619:0x4be,_0x50c912:0x5d7,_0x569ac1:0x65f,_0x2adb86:0x6b4,_0x2a122f:0x7ef,_0xa222f2:0x77e,_0x12d3f1:0x217,_0x538bb0:0x263,_0x97fcd7:0x217,_0x432c33:0x343,_0x3db4a5:0x516,_0x46616f:0x7c4,_0x20e412:0x6b7,_0x1826ea:0x133,_0x1ea47f:0x7f,_0x26c736:0x28,_0x5f29a8:0x6da,_0x33f7f6:0x590,_0x2b2fa0:0x5fd,_0x4518eb:0x1a,_0x204fc9:0xf3,_0x364d79:0xfe,_0x266768:0x12c,_0x19602b:0x16a,_0x2e9752:0x178,_0x495bf1:0x6da,_0x29b714:0x565,_0x298335:0x59d,_0x43e4d2:0x6cf,_0x2ef7d9:0x2cd,_0x412dd0:0x177,_0x1ef9c1:0x11c,_0x327130:0x195,_0x4b9ef1:0x251,_0x46fffc:0x283,_0x1a3b51:0x91,_0x4bf0ee:0x658},_0x396728={_0xdb1fb0:0x547},_0x135c91=await Promise[_0x47f6fc(_0x509d42._0x55dc69,_0x509d42._0x1dae02,0x16e,0xc2)](_0x352a5e[_0x47f6fc(0xed,_0x509d42._0x2175ee,_0x509d42._0x4dd88d,0xf9)](0x0,0xa)['map'](async _0x5bb31f=>{function _0x31eddf(_0x5d26b7,_0xec6844,_0x1ef19b,_0x2b1759){return _0x47f6fc(_0xec6844,_0xec6844-0xfa,_0x5d26b7-_0x396728._0xdb1fb0,_0x2b1759-0x1d3);}function _0x2af600(_0x544a82,_0x5abe8d,_0x54b849,_0x2d21d6){return _0x47f6fc(_0x54b849,_0x5abe8d-0xc7,_0x5abe8d-0x84,_0x2d21d6-0x198);}try{const _0x26e784=await safeFetch(_0x5bb31f[_0x31eddf(_0x258c63._0x30fd6f,_0x258c63._0x30fd6f,0x533,_0x258c63._0x223dc2)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x111f1f,'Accept':'text/html'},'signal':_0x22f322},{'lookup':_0xdf8462});if(!_0x26e784['ok'])return _0x5bb31f;const _0x492aa6=await _0x26e784['text'](),_0x391333=load(_0x492aa6),_0x1fbeef=_0x391333(_0x31eddf(_0x258c63._0x41f2a4,_0x258c63._0x454ac8,_0x258c63._0x4fd25b,0x6b0))[_0x2af600(_0x258c63._0x865c53,0x217,_0x258c63._0x54d3ea,0x1b0)](_0x31eddf(_0x258c63._0x3ffba1,_0x258c63._0x5cb373,_0x258c63._0x215619,0x63d))||_0x391333('title')[_0x31eddf(_0x258c63._0x50c912,_0x258c63._0x569ac1,0x4ba,_0x258c63._0x2adb86)]()[_0x31eddf(_0x258c63._0x2a122f,_0x258c63._0xa222f2,0x702,0x7ee)]()[_0x31eddf(0x5f2,0x4ca,0x4b9,0x60e)](),_0x27c216=_0x391333('meta[name=\x27description\x27]')[_0x2af600(0x13b,_0x258c63._0x12d3f1,0x384,0x1f2)]('content')||_0x391333('meta[property=\x27og:description\x27]')[_0x2af600(_0x258c63._0x538bb0,_0x258c63._0x97fcd7,_0x258c63._0x432c33,0x2f6)](_0x31eddf(0x636,0x500,0x72f,_0x258c63._0x3db4a5))||_0x5bb31f[_0x31eddf(0x721,_0x258c63._0x46616f,0x751,_0x258c63._0x20e412)],_0x23e3ce=_0x391333(_0x2af600(0xc7,_0x258c63._0x1826ea,_0x258c63._0x1ea47f,_0x258c63._0x26c736))[_0x31eddf(_0x258c63._0x5f29a8,0x6cd,_0x258c63._0x33f7f6,_0x258c63._0x2b2fa0)](_0x2af600(0x241,0x173,0x158,_0x258c63._0x4518eb))||_0x391333('time[datetime]')[_0x2af600(_0x258c63._0x204fc9,_0x258c63._0x12d3f1,0x2c5,_0x258c63._0x364d79)]('datetime')||_0x5bb31f[_0x2af600(_0x258c63._0x266768,0x12b,_0x258c63._0x19602b,_0x258c63._0x2e9752)],_0x5edc62=_0x391333('link[rel=\x27canonical\x27]')[_0x31eddf(_0x258c63._0x495bf1,_0x258c63._0x29b714,0x834,_0x258c63._0x298335)](_0x31eddf(0x5d2,0x4f1,_0x258c63._0x43e4d2,0x565));return{..._0x5bb31f,'title':_0x1fbeef||_0x5bb31f[_0x2af600(0x392,_0x258c63._0x2ef7d9,0x188,_0x258c63._0x412dd0)],'snippet':_0x27c216,'url':_0x5edc62?normalizeUrl(new URL(_0x5edc62,_0x5bb31f[_0x2af600(_0x258c63._0x1ef9c1,_0x258c63._0x327130,_0x258c63._0x4b9ef1,_0x258c63._0x46fffc)])[_0x2af600(0x79,_0x258c63._0x364d79,_0x258c63._0x1a3b51,0xf1)]()):_0x5bb31f[_0x31eddf(_0x258c63._0x4bf0ee,0x6d4,0x6aa,0x743)],'publishedAt':_0x23e3ce};}catch{return _0x5bb31f;}})),_0x1b96b4=new Map(_0x352a5e[_0x5fb01d(_0x509d42._0x20e7fd,_0x509d42._0x509ccc,_0x509d42._0x3ebb37,0x399)](0x0,0xa)['map']((_0x1e9cdb,_0x12a9ce)=>[_0x1e9cdb[_0x47f6fc(0xcf,0xd4,0x111,0x10)],_0x135c91[_0x12a9ce]]));function _0x5fb01d(_0xeaa9c6,_0x153aee,_0x2e413a,_0x1841cc){return _0x4ab00a(_0xeaa9c6-0x69,_0x153aee-0x87,_0xeaa9c6,_0x153aee- -0x86);}function _0x47f6fc(_0x1f3904,_0x535522,_0x40c38c,_0x2763ff){return _0x1932a3(_0x1f3904,_0x535522-0x10f,_0x40c38c- -0x289,_0x2763ff-_0x5032a6._0x210693);}return _0x352a5e['map'](_0x2aed9c=>_0x1b96b4[_0x5fb01d(0x607,0x57a,0x441,0x6c9)](_0x2aed9c[_0x47f6fc(0x69,0xa7,0x111,0x1b5)])??_0x2aed9c);}function formatResults(_0xf81cda){const _0x1ef83e={_0x11fd47:0x19,_0x535cc8:0x46,_0x561a30:0x112,_0x9472fe:0x3,_0x30dc05:0xee,_0x1ab4ab:0x11f},_0x3fef7c={_0x2adddb:0x195,_0x32a01e:0x422,_0x7a7192:0xe9,_0x13110f:0x353,_0x1f095c:0x431,_0x40f786:0x34f,_0x5a68c4:0x33d,_0x43754c:0x221,_0x50de4d:0x2cb,_0x5ce15c:0x1f0,_0x3d3b5d:0xd0,_0x18efc8:0x130,_0xd6ab65:0x25c,_0x3d7739:0x1dd,_0x4df141:0x383,_0x10c9bb:0x50b,_0x4a9c1f:0x179,_0x345c5a:0x274,_0x5bc45a:0x298,_0x3d222f:0x2d3,_0xe62616:0x348,_0x197bce:0x57a,_0x2a7285:0x49d},_0x14f210={_0x275b07:0x2d},_0x5e3a5d={_0x1a5fc2:0x4b},_0x207e24={_0x3ef6ef:0x3db,_0x53f8e8:0x12c};if(_0xf81cda[_0x28bee0(-_0x1ef83e._0x11fd47,-_0x1ef83e._0x535cc8,0x66,-_0x1ef83e._0x561a30)]===0x0)return'No\x20results\x20found.';function _0x28bee0(_0x55c585,_0x4650a9,_0x429cce,_0x1686b3){return _0x1932a3(_0x1686b3,_0x4650a9-0x1c2,_0x429cce- -_0x207e24._0x3ef6ef,_0x1686b3-_0x207e24._0x53f8e8);}function _0x59d275(_0x1a74b9,_0x37b75f,_0x5ba3c2,_0x3f8d36){return _0x4ab00a(_0x1a74b9-0x5,_0x37b75f-0x1f4,_0x37b75f,_0x3f8d36- -_0x5e3a5d._0x1a5fc2);}return _0xf81cda['map'](_0x275527=>{const _0x82557e=[_0x275527[_0x11867a(0x2a3,0x14a,0x23a,0x340)][_0x200413(0x2c4,_0x3fef7c._0x2adddb,_0x3fef7c._0x32a01e,0x2fe)]+'.\x20'+_0x275527[_0x11867a(0x25f,_0x3fef7c._0x7a7192,_0x3fef7c._0x13110f,0xf7)],_0x275527[_0x200413(0x466,_0x3fef7c._0x1f095c,_0x3fef7c._0x40f786,_0x3fef7c._0x5a68c4)]];function _0x200413(_0x1c3328,_0x2d7f67,_0x3cfb92,_0x149ef3){return _0x28bee0(_0x1c3328-0xaf,_0x2d7f67-_0x14f210._0x275b07,_0x149ef3-0x37e,_0x2d7f67);}if(_0x275527['snippet'])_0x82557e[_0x11867a(_0x3fef7c._0x43754c,0x1a8,_0x3fef7c._0x50de4d,0x183)](_0x275527[_0x11867a(_0x3fef7c._0x5ce15c,_0x3fef7c._0x3d3b5d,_0x3fef7c._0x18efc8,_0x3fef7c._0xd6ab65)]);if(_0x275527[_0x200413(0x1a2,_0x3fef7c._0x3d7739,0x1d6,0x2d3)])_0x82557e[_0x200413(_0x3fef7c._0x4df141,0x485,_0x3fef7c._0x10c9bb,0x437)](_0x11867a(_0x3fef7c._0x4a9c1f,0x1f1,_0x3fef7c._0x345c5a,0x18a)+_0x275527[_0x200413(_0x3fef7c._0x5bc45a,0x431,0x412,_0x3fef7c._0x3d222f)]);function _0x11867a(_0x294fed,_0x4c6ab1,_0x390fb4,_0x997ac6){return _0x28bee0(_0x294fed-0x174,_0x4c6ab1-0x6d,_0x294fed-0x168,_0x997ac6);}return _0x82557e[_0x200413(_0x3fef7c._0xe62616,0x5ae,_0x3fef7c._0x197bce,_0x3fef7c._0x2a7285)]('\x0a');})[_0x28bee0(_0x1ef83e._0x9472fe,_0x1ef83e._0x30dc05,_0x1ef83e._0x1ab4ab,0x1cb)]('\x0a\x0a');}async function searchOllama(_0x1130f1,_0x39237d,_0x2aef7b){const _0x35f4cf={_0x2c4a52:0x588,_0x55d3d0:0x5e4,_0x47114e:0x7a2,_0x100caf:0x1e3,_0x55509e:0xad,_0xf845a:0x201,_0x76d40a:0x227,_0x4a8aa3:0x54a,_0x178d19:0x30e,_0x21b7d5:0x3d3,_0x49b2f4:0x5e8,_0x2850be:0x520,_0x520e26:0x507,_0x11b584:0x37f,_0x421ad3:0x5e3,_0x5b1d2a:0x45a,_0x407fe5:0x43c,_0x316d86:0x5b2,_0x5b474b:0x69d,_0xf6824b:0x2ee,_0x464279:0x395},_0x5aa757={_0x1a08a3:0x58,_0x25c72b:0x106,_0x19e341:0x13e},_0x4816b4={_0x3680f8:0x649,_0x15c251:0x768,_0x36480b:0x68b,_0x4e50e8:0x69d,_0x221b39:0x560,_0x2d028a:0x53c,_0x38d720:0x651},_0xa7b7ee={_0x586d9e:0x166,_0x233abb:0x16e},_0x307d11={_0x254ba7:0x16c};function _0x5778dc(_0x46fbd4,_0x14af4a,_0x1b0180,_0x7f8667){return _0x4ab00a(_0x46fbd4-0x7,_0x14af4a-0xda,_0x46fbd4,_0x1b0180-_0x307d11._0x254ba7);}const _0x35f0eb=Math[_0x5778dc(_0x35f4cf._0x2c4a52,_0x35f4cf._0x55d3d0,0x6b2,_0x35f4cf._0x47114e)](0x1,Math[_0x44ecd0(_0x35f4cf._0x100caf,_0x35f4cf._0x55509e,_0x35f4cf._0xf845a,_0x35f4cf._0x76d40a)](0xa,_0x39237d[_0x5778dc(0x537,0x544,0x53b,_0x35f4cf._0x4a8aa3)])),_0x5cccc2=addSiteFilters(_0x39237d[_0x44ecd0(_0x35f4cf._0x178d19,_0x35f4cf._0x21b7d5,0x2a1,0x269)],_0x39237d['domains']),_0x3d8b56=await fetchJson(_0x5778dc(0x6f1,0x4b4,_0x35f4cf._0x49b2f4,0x491),_0x2aef7b,{'method':_0x5778dc(0x519,_0x35f4cf._0x2850be,0x585,_0x35f4cf._0x520e26),'headers':{'Authorization':_0x44ecd0(0x3ae,0x3a3,0x4e2,_0x35f4cf._0x11b584)+_0x1130f1['apiKey']},'body':JSON[_0x5778dc(_0x35f4cf._0x421ad3,0x5b8,0x5c4,0x57b)]({'query':_0x5cccc2,'max_results':_0x35f0eb})}),_0x5416c3=_0x3d8b56['results']??[],_0x1a95a9=_0x5416c3[_0x5778dc(_0x35f4cf._0x5b1d2a,_0x35f4cf._0x407fe5,_0x35f4cf._0x316d86,_0x35f4cf._0x5b474b)]((_0x3c99b3,_0x3378c8)=>{const _0x2d2c02=_0x3c99b3[_0x4be3a4(0x7b9,0x76e,_0x4816b4._0x3680f8,0x673)]||'';let _0xdca75a;try{_0xdca75a=new URL(_0x2d2c02)['host'];}catch{_0xdca75a=null;}function _0x4be3a4(_0x31d73e,_0x1aad4b,_0x16771a,_0x519757){return _0x44ecd0(_0x519757-0x3df,_0x1aad4b-_0xa7b7ee._0x586d9e,_0x16771a-_0xa7b7ee._0x233abb,_0x16771a);}function _0x43ad27(_0x2ea8f8,_0x17854d,_0x726480,_0x504f99){return _0x5778dc(_0x504f99,_0x17854d-0x7d,_0x726480-0x1a,_0x504f99-0x157);}return{'title':_0x3c99b3['title']||_0x4be3a4(_0x4816b4._0x15c251,_0x4816b4._0x36480b,0x56f,0x624),'url':normalizeUrl(_0x2d2c02),'snippet':_0x3c99b3[_0x4be3a4(_0x4816b4._0x4e50e8,_0x4816b4._0x221b39,_0x4816b4._0x2d028a,_0x4816b4._0x38d720)]??null,'displayUrl':_0xdca75a,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x3378c8+0x1}};});function _0x44ecd0(_0xb3b5f2,_0x240590,_0x49feee,_0x489f84){return _0x1932a3(_0x489f84,_0x240590-_0x5aa757._0x1a08a3,_0xb3b5f2- -_0x5aa757._0x25c72b,_0x489f84-_0x5aa757._0x19e341);}return{'items':_0x1a95a9['slice'](0x0,_0x35f0eb),'engine':_0x44ecd0(0x42a,_0x35f4cf._0xf6824b,_0x35f4cf._0x464279,0x431)};}async function searchTavily(_0x136079,_0x1075cc,_0x182ea1){const _0x17c85c={_0x276ccd:0x6bc,_0x16fb55:0x5b6,_0x176d78:0x670,_0x3e351c:0x249,_0x7b8097:0x426,_0x4517c4:0x449,_0x5d1167:0x4bd,_0x55c16a:0x4bc,_0x285096:0x442,_0x433c0d:0x4c7,_0x20ddd9:0x56f,_0x4dfef1:0x731,_0xd060be:0x5a1,_0x615924:0x54c,_0x46ac2a:0x608,_0x43b518:0x6eb,_0x25d7d8:0x5bd,_0x118faf:0x4ea,_0x4cad63:0x4b0,_0x4c9eab:0x396,_0x518d74:0x413,_0x5663d1:0x65c,_0xc64663:0x678,_0x1d915d:0x542,_0x5075b8:0x7ac,_0x72653:0x6d5,_0x156a59:0x468,_0x396efd:0x477,_0x2119d4:0x5f3,_0x4b8f10:0x5cd,_0x3fe0d5:0x44e,_0x9d8929:0x5e8,_0x376a2b:0x708,_0x45d0aa:0x5eb,_0x43b4a4:0x5f1},_0x54eaad={_0xad5c76:0x71},_0x166815={_0x52d5a2:0x31e,_0x964f2d:0x138,_0x302b97:0x6f,_0xc2c5fd:0x34f,_0x140cf7:0x13a,_0x1da310:0x360,_0x511085:0x318,_0x3c41a2:0x2e3,_0x5239c8:0x447,_0x39f071:0x196,_0xc47667:0xb8,_0x4025af:0x33},_0x2c06f3={_0x509773:0xa3},_0x283750=Math[_0x234c47(_0x17c85c._0x276ccd,0x6f8,_0x17c85c._0x16fb55,_0x17c85c._0x176d78)](0x1,Math[_0x4dc810(_0x17c85c._0x3e351c,0x392,0x4a0,_0x17c85c._0x7b8097)](0x14,_0x1075cc[_0x234c47(0x4f0,0x60d,0x4b6,0x4f9)])),_0x23c64d={'query':_0x1075cc[_0x4dc810(_0x17c85c._0x4517c4,_0x17c85c._0x5d1167,0x50a,_0x17c85c._0x55c16a)],'max_results':_0x283750,'search_depth':_0x136079[_0x234c47(_0x17c85c._0x285096,_0x17c85c._0x433c0d,_0x17c85c._0x20ddd9,0x50c)]??'basic','topic':_0x136079[_0x234c47(_0x17c85c._0x4dfef1,_0x17c85c._0xd060be,_0x17c85c._0x615924,0x5cf)]??_0x234c47(0x7c3,_0x17c85c._0x46ac2a,_0x17c85c._0x43b518,0x64f)};if(_0x1075cc[_0x234c47(0x7df,0x6ee,_0x17c85c._0x25d7d8,0x678)][_0x4dc810(0x623,_0x17c85c._0x118faf,_0x17c85c._0x4cad63,0x3fc)]>0x0)_0x23c64d[_0x4dc810(_0x17c85c._0x4c9eab,0x420,_0x17c85c._0x518d74,0x573)]=_0x1075cc[_0x234c47(0x56e,_0x17c85c._0x5663d1,0x601,_0x17c85c._0xc64663)];const _0x53fe15=await fetchJson(_0x234c47(0x662,0x543,0x651,0x528),_0x182ea1,{'method':_0x4dc810(0x308,0x3cb,_0x17c85c._0x1d915d,0x3ce),'headers':{'Authorization':_0x234c47(0x834,0x812,_0x17c85c._0x5075b8,_0x17c85c._0x72653)+_0x136079[_0x234c47(_0x17c85c._0x156a59,_0x17c85c._0x396efd,_0x17c85c._0x2119d4,0x4bd)],'Content-Type':_0x4dc810(_0x17c85c._0x4b8f10,0x59c,_0x17c85c._0x3fe0d5,0x4bd)},'body':JSON[_0x4dc810(0x348,0x40a,0x360,0x2a9)](_0x23c64d)});function _0x234c47(_0x41bd00,_0x4064fe,_0x2052c7,_0x3d55d4){return _0x1932a3(_0x4064fe,_0x4064fe-0x146,_0x3d55d4-0x221,_0x3d55d4-_0x2c06f3._0x509773);}const _0x514165=_0x53fe15[_0x4dc810(0x488,_0x17c85c._0x9d8929,0x72c,0x656)]??[],_0x2ebaac=_0x514165['map']((_0x5c87d3,_0x37c2ab)=>{const _0x3a9043={_0x3d6cfb:0x263},_0x4da51d={_0x160bd3:0x1ef},_0x4c269c=_0x5c87d3[_0x20fe75(_0x166815._0x52d5a2,0x1e0,_0x166815._0x964f2d,_0x166815._0x302b97)]||'';let _0x47f1ad;function _0x2b8729(_0x5df483,_0x48b9c7,_0x1c4712,_0x52fc4d){return _0x4dc810(_0x5df483-_0x4da51d._0x160bd3,_0x1c4712- -0x4ac,_0x1c4712-0x1b0,_0x52fc4d);}try{_0x47f1ad=new URL(_0x4c269c)[_0x20fe75(_0x166815._0xc2c5fd,0x1d9,0x1ff,_0x166815._0x140cf7)];}catch{_0x47f1ad=null;}function _0x20fe75(_0x4e1e67,_0x528b81,_0x3631dd,_0x3b1734){return _0x4dc810(_0x4e1e67-0x3f,_0x528b81- -_0x3a9043._0x3d6cfb,_0x3631dd-0x14,_0x3b1734);}return{'title':_0x5c87d3[_0x20fe75(_0x166815._0x1da310,_0x166815._0x511085,_0x166815._0x3c41a2,_0x166815._0x5239c8)]||_0x2b8729(-_0x166815._0x39f071,-0x21c,-_0x166815._0xc47667,-0x91),'url':normalizeUrl(_0x4c269c),'snippet':_0x5c87d3['content']??null,'displayUrl':_0x47f1ad,'favicon':null,'publishedAt':null,'source':{'engine':_0x2b8729(-0x14a,0x110,-_0x166815._0x4025af,-0x186),'rank':_0x37c2ab+0x1}};});function _0x4dc810(_0x41ceb7,_0x51e885,_0x4a8d51,_0x14dcc7){return _0x4ab00a(_0x41ceb7-_0x54eaad._0xad5c76,_0x51e885-0x18e,_0x14dcc7,_0x51e885- -0x4e);}return{'items':_0x2ebaac[_0x234c47(0x628,0x684,0x50a,0x614)](0x0,_0x283750),'engine':_0x234c47(0x4a2,_0x17c85c._0x376a2b,_0x17c85c._0x45d0aa,_0x17c85c._0x43b4a4)};}async function searchGoogleCse(_0x26de3d,_0x81e11b,_0x1f5a66){const _0x354fdc={_0x3ed305:0xb7,_0x306742:0xd2,_0x3e5123:0xa6,_0x29c616:0x1de,_0x3aca8a:0x38f,_0x566409:0x2df,_0x3cbf49:0x186,_0xf643c7:0x266,_0x3b18ed:0x12a,_0xabe2ef:0x1c4,_0x50fb78:0xec,_0x2d8cfb:0x136,_0x4ebf95:0x249,_0x140081:0x19e,_0x42871f:0x2fa,_0xa30a6b:0x3,_0x4a9b28:0xe0,_0x422819:0x171,_0x4c722d:0x35f,_0x4fa649:0x420,_0x244ffa:0x33b,_0x2aba8d:0x2d3,_0x12f17d:0x1b3,_0x5a05f6:0x1ce,_0x220937:0x26a,_0x103628:0x2bf,_0x58c0fe:0x3c4,_0x1fc42f:0x21a,_0x55ca30:0x24f,_0x28d156:0x531,_0x25a184:0x5b4,_0x2d5b8e:0x5c7,_0x37a02b:0x612,_0x9816d3:0x500,_0x361be0:0x5c4,_0x3c8413:0x44b,_0x13fce2:0x1a9,_0x2772d3:0x4a5,_0x242ccf:0x378,_0x287ee8:0x594,_0x757833:0x3da,_0x3e80dc:0x38f,_0x1f72fa:0x267,_0x417d71:0x1ad,_0x44769f:0x215,_0x398bdd:0x455,_0x3702a9:0x427,_0xee9ea3:0x3c9,_0x11ac83:0x4db,_0x33e433:0x472,_0x3dd371:0x5a7,_0x4cb9f5:0x1e7,_0x5df7e1:0x136,_0x299946:0x1a4,_0x479b66:0x1c9,_0x3692e5:0x669,_0x23d85f:0x2cf,_0x3159fa:0x316,_0x542ee5:0x398,_0x5af09e:0x347,_0x2fad93:0x74,_0x12cea4:0x150,_0x2ff64f:0x34d,_0x668142:0x3b7,_0x4df663:0x24f,_0x3dbe8e:0x584,_0x12b475:0x4de,_0xe9395e:0x567,_0x5f0894:0x438,_0x45a12f:0x55f,_0x277f32:0x634,_0x1924a2:0x559,_0x3fda31:0x35d,_0x5dec73:0x332,_0x2a3aa6:0x20f,_0x4235b7:0x2d4,_0x535915:0x30c,_0x273797:0x15f,_0x146d68:0x596,_0x13c19e:0x630,_0x44d291:0x608,_0x189b2f:0x36f,_0x244119:0x47,_0x420152:0xe5,_0x5b37fb:0x119,_0x188b22:0x1fe,_0x1e1cea:0x23c,_0x413f41:0x231,_0x40da0a:0x317,_0x15b1c9:0x44d,_0x17c948:0x23a,_0x209fee:0x2bd,_0x177e4d:0x141,_0x2e03e9:0x1f9,_0x49a86d:0x44,_0x12b3f8:0x113,_0x341406:0x4ee,_0x5d5a19:0x55d,_0x2b0bb4:0x53c,_0xb43034:0x3b6,_0x259574:0x386,_0xf18733:0x218,_0x176972:0x33d,_0x228e89:0x33c,_0x4f6bce:0x30a,_0x296692:0x20f,_0x52966f:0x475},_0x4497f4={_0x2cebf9:0xe3},_0x5a80a4={_0x4b91b5:0x18e,_0x31e5da:0x195},_0xa6424f=Math['max'](0x1,Math[_0x3cc919(0x160,0x1ad,-0x2b,_0x354fdc._0x3ed305)](0x32,_0x81e11b[_0x3cc919(-0x4f,-0x2d,-_0x354fdc._0x306742,_0x354fdc._0x3e5123)]));function _0x210770(_0x1c691f,_0x4cf29a,_0x47597b,_0x3cf97d){return _0x1932a3(_0x1c691f,_0x4cf29a-_0x5a80a4._0x4b91b5,_0x4cf29a-0x5a,_0x3cf97d-_0x5a80a4._0x31e5da);}if(_0x81e11b[_0x3cc919(_0x354fdc._0x29c616,_0x354fdc._0x3aca8a,0x2aa,_0x354fdc._0x566409)]+_0xa6424f>0x64)throw new ToolExecutionError(_0x3cc919(0x92,_0x354fdc._0x3cbf49,_0x354fdc._0xf643c7,_0x354fdc._0x3b18ed),{'offset':_0x81e11b['offset'],'count':_0xa6424f,'maxResults':0x64});const _0x37b24a=cseDateRestrict(_0x81e11b[_0x3cc919(0x176,_0x354fdc._0xabe2ef,_0x354fdc._0x50fb78,0x1ca)]),_0x34c63c=addSiteFilters(_0x81e11b[_0x3cc919(_0x354fdc._0x2d8cfb,_0x354fdc._0x4ebf95,_0x354fdc._0x140081,0x1e2)],_0x81e11b[_0x3cc919(0x18c,_0x354fdc._0x42871f,0x1d2,0x225)]);let _0xba7a96=0x0,_0x50d82f=_0x81e11b[_0x210770(0x427,0x56b,0x435,0x4d3)]+0x1;const _0x45ced0=[];while(_0xba7a96<_0xa6424f){const _0x3e5fb6=Math['min'](0xa,_0xa6424f-_0xba7a96),_0x155ed3=new URL(_0x3cc919(-_0x354fdc._0xa30a6b,_0x354fdc._0x4a9b28,0xb9,_0x354fdc._0x422819));_0x155ed3['searchParams'][_0x3cc919(_0x354fdc._0x4c722d,_0x354fdc._0x4fa649,_0x354fdc._0x244ffa,_0x354fdc._0x2aba8d)](_0x3cc919(_0x354fdc._0x12f17d,_0x354fdc._0x5a05f6,_0x354fdc._0x220937,0x1f5),_0x26de3d[_0x3cc919(0x100,0x1b5,0x1a8,0x128)]),_0x155ed3[_0x3cc919(_0x354fdc._0x103628,_0x354fdc._0x58c0fe,_0x354fdc._0x1fc42f,_0x354fdc._0x55ca30)]['set']('cx',_0x26de3d[_0x210770(0x54f,_0x354fdc._0x28d156,_0x354fdc._0x25a184,0x3d9)]),_0x155ed3['searchParams']['set']('q',_0x34c63c),_0x155ed3[_0x210770(_0x354fdc._0x2d5b8e,0x4db,_0x354fdc._0x37a02b,0x39c)]['set'](_0x210770(0x401,_0x354fdc._0x9816d3,_0x354fdc._0x3aca8a,_0x354fdc._0x361be0),String(_0x3e5fb6)),_0x155ed3[_0x210770(0x37e,0x4db,0x513,_0x354fdc._0x3c8413)][_0x3cc919(0x42a,_0x354fdc._0x13fce2,0x30b,0x2d3)](_0x210770(0x5ab,_0x354fdc._0x2772d3,_0x354fdc._0x242ccf,0x35b),String(_0x50d82f)),_0x155ed3['searchParams'][_0x210770(_0x354fdc._0x287ee8,0x55f,0x51b,0x610)]('safe',_0x81e11b[_0x210770(_0x354fdc._0x757833,_0x354fdc._0x3e80dc,0x2fc,_0x354fdc._0x1f72fa)]?'active':_0x3cc919(_0x354fdc._0x417d71,_0x354fdc._0x44769f,_0x354fdc._0x398bdd,0x304));_0x81e11b[_0x210770(0x478,0x3c2,0x45c,_0x354fdc._0x3702a9)]&&(_0x155ed3[_0x3cc919(0x202,0x25d,0x28d,0x24f)][_0x3cc919(0x303,0x1a3,_0x354fdc._0xee9ea3,0x2d3)]('hl',_0x81e11b[_0x3cc919(0x171,0x64,0x0,0x136)]),_0x155ed3[_0x210770(0x530,_0x354fdc._0x11ac83,_0x354fdc._0x33e433,_0x354fdc._0x3dd371)][_0x3cc919(0x216,0x279,0x1c5,0x2d3)]('lr','lang_'+_0x81e11b[_0x3cc919(_0x354fdc._0x4cb9f5,0x17b,0xb0,_0x354fdc._0x5df7e1)]));if(_0x81e11b[_0x3cc919(_0x354fdc._0x299946,-0x12,_0x354fdc._0x479b66,0x8a)])_0x155ed3[_0x210770(0x3f6,0x4db,0x4b3,0x638)][_0x210770(_0x354fdc._0x3692e5,0x55f,0x61a,0x4d5)]('gl',_0x81e11b[_0x210770(_0x354fdc._0x23d85f,_0x354fdc._0x3159fa,_0x354fdc._0x542ee5,_0x354fdc._0x5af09e)]['toUpperCase']());if(_0x81e11b[_0x3cc919(_0x354fdc._0x306742,_0x354fdc._0x2fad93,0x15b,_0x354fdc._0x12cea4)]===_0x3cc919(0x3cb,0x26e,_0x354fdc._0x2ff64f,0x2c0))_0x155ed3[_0x3cc919(0x16d,0x2ca,_0x354fdc._0x668142,_0x354fdc._0x4df663)]['set']('searchType',_0x210770(_0x354fdc._0x3dbe8e,_0x354fdc._0x12b475,_0x354fdc._0xe9395e,_0x354fdc._0x5f0894));if(_0x37b24a)_0x155ed3['searchParams'][_0x210770(0x4ea,_0x354fdc._0x45a12f,_0x354fdc._0x277f32,_0x354fdc._0x1924a2)]('dateRestrict',_0x37b24a);const _0x36efb2=await fetchJson(_0x155ed3[_0x210770(0x244,_0x354fdc._0x3fda31,0x468,0x3aa)](),_0x1f5a66),_0x3bb4ff=_0x36efb2['items']??[];if(_0x3bb4ff[_0x3cc919(0x199,0x1d8,_0x354fdc._0x5dec73,_0x354fdc._0x2a3aa6)]===0x0)break;const _0x5e84c0=_0xba7a96;for(let _0x2b0b87=0x0;_0x2b0b87<_0x3bb4ff[_0x3cc919(_0x354fdc._0x4235b7,_0x354fdc._0x535915,_0x354fdc._0x273797,_0x354fdc._0x2a3aa6)];_0x2b0b87++){const _0x52c315=_0x3bb4ff[_0x2b0b87];if(!_0x52c315)continue;const _0xa03304=_0x52c315[_0x210770(0x673,_0x354fdc._0x146d68,0x41d,_0x354fdc._0x13c19e)]||_0x52c315['image']?.['contextLink']||'',_0x404c3b=_0x52c315['title']||_0x52c315[_0x210770(0x5eb,0x4de,_0x354fdc._0x44d291,_0x354fdc._0x189b2f)]?.[_0x3cc919(0x1de,0x3ae,0x330,0x2a0)]||_0x3cc919(0x187,-_0x354fdc._0x244119,_0x354fdc._0x420152,_0x354fdc._0x5b37fb),_0x1365d6=_0x52c315[_0x3cc919(_0x354fdc._0x188b22,_0x354fdc._0x1e1cea,0x2ca,_0x354fdc._0x413f41)]||_0x52c315['htmlSnippet']?.[_0x210770(0x3e8,0x374,_0x354fdc._0x40da0a,_0x354fdc._0x15b1c9)](/<[^>]+>/g,''),_0x534c69=_0x52c315[_0x3cc919(_0x354fdc._0x17c948,_0x354fdc._0x209fee,_0x354fdc._0x177e4d,0x1da)]?.[_0x3cc919(_0x354fdc._0x2e03e9,_0x354fdc._0x49a86d,0x1c4,_0x354fdc._0x12b3f8)]?.[0x0]??{};let _0x2e99c2;try{_0x2e99c2=new URL(_0xa03304)['host'];}catch{_0x2e99c2=null;}_0x45ced0[_0x210770(0x550,_0x354fdc._0x341406,_0x354fdc._0x5d5a19,_0x354fdc._0x2b0bb4)]({'title':_0x404c3b,'url':normalizeUrl(_0xa03304),'snippet':_0x1365d6??null,'displayUrl':_0x2e99c2,'favicon':null,'publishedAt':_0x534c69[_0x210770(_0x354fdc._0xb43034,_0x354fdc._0x259574,_0x354fdc._0xf18733,0x43a)]||_0x534c69['og:updated_time']||null,'source':{'engine':'google-cse','rank':_0x5e84c0+_0x2b0b87+0x1}});}_0xba7a96+=_0x3bb4ff[_0x210770(0x4ef,0x49b,0x4d8,_0x354fdc._0x176972)],_0x50d82f+=_0x3bb4ff['length'];if(_0x3bb4ff[_0x3cc919(0x2c2,_0x354fdc._0x228e89,_0x354fdc._0x4f6bce,_0x354fdc._0x296692)]<_0x3e5fb6)break;}function _0x3cc919(_0x4bae25,_0x227d07,_0x3c1489,_0x5aa905){return _0x4ab00a(_0x4bae25-0x1d5,_0x227d07-_0x4497f4._0x2cebf9,_0x227d07,_0x5aa905- -0x329);}return _0x45ced0[_0x210770(_0x354fdc._0x52966f,0x44d,0x3f7,0x5b8)](0x0,_0xa6424f);}function isGoogleCseEngine(_0x4a1e1a){const _0x23bcfd={_0x25ba56:0x152,_0x541141:0xeb};function _0x35d118(_0x146573,_0x460026,_0x3be975,_0x20fc95){return _0x4ab00a(_0x146573-_0x23bcfd._0x25ba56,_0x460026-_0x23bcfd._0x541141,_0x20fc95,_0x460026- -0x433);}return _0x35d118(0xed,0x1e,0x61,-0x2a)in _0x4a1e1a;}function isOllamaEngine(_0x1da9d8){return'apiKey'in _0x1da9d8;}function isTavilyEngine(_0x2046b7){const _0x3975f2={_0x16ee23:0x20};function _0x3b5699(_0xabfdef,_0xbcb280,_0x32eeaf,_0x351fcb){return _0x4ab00a(_0xabfdef-0x1c7,_0xbcb280-_0x3975f2._0x16ee23,_0xabfdef,_0xbcb280- -0xad);}return _0x3b5699(0x261,0x2e6,0x359,0x1dd)in _0x2046b7;}function createWebSearchTool(_0x3d5d5d){const _0x162132={_0x466008:0x265,_0x858b14:0x3e2,_0x2c8e37:0x17d,_0x147da2:0x146,_0x2715f4:0x138,_0x3ab4fa:0xbe,_0x925c20:0x37a,_0x182e3d:0x10f,_0x4e6348:0x1c8,_0x527f9f:0x278,_0x2fd497:0x81,_0x21c148:0x1ad,_0x153368:0x372,_0x45a255:0x31e,_0xd7ba5d:0x35d,_0x39e78d:0x21d,_0x262956:0x5,_0x1076fb:0x213,_0x21da83:0x133,_0x2df269:0xb5,_0x527e3b:0x1a3,_0x447897:0x1cc},_0x4c85d8={_0x32d648:0x3c3,_0x3e5ec6:0x634,_0x29fff4:0x4c6,_0x25cf47:0x4f5,_0x5cbbba:0x112,_0x1fc24e:0x1c9,_0x18072c:0x218,_0x87ee12:0x54,_0xb7c5fa:0x206,_0x38a4d1:0x588,_0x1300db:0x548,_0x2271ff:0xa7,_0x1db891:0x1a6,_0x563396:0x9d,_0x50e2d4:0x24d,_0x374bf6:0x3ae,_0x4fecbb:0x5b7,_0xba8e48:0x9e,_0x23a258:0x2d8,_0xbdbbb8:0x3ac,_0x28673d:0x317,_0x4408e7:0x29d,_0xa23c39:0x3f9,_0x47fadc:0x352,_0x3a30bb:0xf2,_0x1e645d:0x20f,_0x1c6c06:0x43,_0x20908b:0x39,_0x3d29c8:0x5d3,_0x580ca1:0x3f3,_0x8e8ddb:0x4ab,_0x4a4b4d:0x4c8,_0x23f294:0x277,_0x3ceb61:0x4ad,_0x172c82:0x463,_0x31eeea:0x4cf,_0x427e38:0x56,_0x4e92b4:0x189,_0x210787:0x116,_0x19f740:0x52d,_0x233ff1:0x50f,_0x1f7f5e:0x400,_0x1ba0ae:0xd8,_0x35dd37:0x29,_0xa04e0a:0x402,_0x176ab4:0x3d6,_0x380c3f:0x2bd,_0x1fdf46:0x4b5,_0x267ef5:0x41b,_0x581b8f:0x9b,_0x15d220:0x2e,_0x9a3cc9:0x46,_0x45e7e3:0x7d,_0x5cfd58:0xb0,_0x298919:0x177,_0x4b4a33:0x44,_0x13b661:0x379,_0x500d67:0x47c,_0x5076ce:0x6bb,_0x37f514:0x10f,_0x5ec8de:0xd2,_0x36dc8a:0x46,_0x220ce6:0xe1,_0x4ed067:0x5c,_0x5423ac:0xf5,_0xb599a5:0x4a,_0x5e3c1b:0x1,_0xe49e5c:0x93,_0x217b8b:0xf0,_0x14314f:0x65,_0x37b585:0x99,_0x5784ab:0x333,_0x541c35:0x33c,_0x57bbad:0x13f,_0x560ee3:0xa8,_0x202de4:0x340,_0x194fc7:0x4b4,_0x4ad0cd:0x560,_0x45deb8:0x48b,_0x2963dc:0x464,_0x57969e:0x4b8,_0x2d9258:0x41c,_0xfc8b6b:0x346},_0x1e52df={_0x4f5a0d:0x195},_0x3881c8={_0x360ed9:0x105},_0x43a5fe={_0x2e82a0:0x120},_0x337576={_0x3832f0:0x2b,_0x57175a:0x321};function _0x45fe12(_0x4a323c,_0x2e889c,_0x3cd174,_0x71b0fb){return _0x4ab00a(_0x4a323c-0x13c,_0x2e889c-_0x337576._0x3832f0,_0x3cd174,_0x2e889c- -_0x337576._0x57175a);}function _0x126881(_0x13df80,_0x2e69ce,_0x5aa633,_0x4f5715){return _0x1932a3(_0x2e69ce,_0x2e69ce-0x42,_0x4f5715- -0x1d5,_0x4f5715-_0x43a5fe._0x2e82a0);}if(!_0x3d5d5d['engines']||_0x3d5d5d[_0x126881(_0x162132._0x466008,0x178,0x281,0x269)][_0x126881(_0x162132._0x858b14,_0x162132._0x2c8e37,_0x162132._0x147da2,0x26c)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');const _0x4aec04=_0x3d5d5d[_0x45fe12(0xcb,_0x162132._0x2715f4,0xd3,0x5a)]??_0x126881(_0x162132._0x3ab4fa,_0x162132._0x925c20,_0x162132._0x182e3d,0x20b),_0x392adb=_0x3d5d5d['lookup'];return defineTool({'name':_0x4aec04,'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x45fe12(0x1a9,0x2c1,0x3d3,0x29a),'properties':{'description':{'type':_0x45fe12(0x16e,_0x162132._0x4e6348,0xad,0x2fa)},'query':{'type':_0x126881(0x34b,_0x162132._0x527f9f,0x31a,0x21d)},'count':{'type':'number'},'offset':{'type':_0x45fe12(0x83,0x100,_0x162132._0x2fd497,_0x162132._0x21c148)},'domains':{'type':_0x126881(_0x162132._0x153368,_0x162132._0x45a255,0x261,0x354),'items':{'type':_0x126881(_0x162132._0xd7ba5d,0x2fa,0x38c,_0x162132._0x39e78d)}},'recencyDays':{'type':_0x45fe12(_0x162132._0x262956,0x100,0x1b5,-0x6f)},'lang':{'type':'string'},'region':{'type':_0x126881(_0x162132._0x1076fb,_0x162132._0x21da83,0x34f,0x21d)},'safe':{'type':'boolean'},'type':{'type':_0x126881(_0x162132._0x182e3d,0x2bb,_0x162132._0x2df269,0x21d)},'hydrateMeta':{'type':_0x126881(_0x162132._0x527e3b,0x25e,_0x162132._0x447897,0x11f)}},'required':['query']},async *'execute'(_0x1866d7,_0x59f00b){const _0x497f82={_0x7b2c6d:0x645,_0x320f3f:0x534,_0x56e3e3:0x4f1,_0x5462bc:0x53c,_0x2f7772:0x5ad},_0x2c6845=_0x1866d7['query'][_0x5097b6(_0x4c85d8._0x32d648,0x3ab,0x3df,0x430)]();if(!_0x2c6845)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x224ab3={'query':_0x2c6845,'count':Math[_0x5097b6(_0x4c85d8._0x3e5ec6,_0x4c85d8._0x29fff4,_0x4c85d8._0x25cf47,0x518)](0x1,Math[_0x144226(-_0x4c85d8._0x5cbbba,-0x26a,-_0x4c85d8._0x1fc24e,-_0x4c85d8._0x18072c)](0x32,Math[_0x144226(-0x10b,-0x13f,-0x1d4,-0x26a)](_0x1866d7[_0x5097b6(0x2a0,0x34f,0x3ce,0x370)]??0xa))),'offset':Math[_0x144226(_0x4c85d8._0x87ee12,-0x1a,0xdd,0x144)](0x0,Math[_0x144226(-0x10b,-0x45,-0xbf,-_0x4c85d8._0xb7c5fa)](_0x1866d7[_0x5097b6(0x414,_0x4c85d8._0x38a4d1,_0x4c85d8._0x1300db,0x615)]??0x0)),'domains':_0x1866d7[_0x144226(0x5c,0x8a,-0x1f,0x41)]??[],'recencyDays':Math[_0x144226(0x54,-_0x4c85d8._0x2271ff,_0x4c85d8._0x1db891,-_0x4c85d8._0x563396)](0x0,Math[_0x5097b6(_0x4c85d8._0x50e2d4,0x367,_0x4c85d8._0x374bf6,0x405)](_0x1866d7[_0x5097b6(0x594,0x473,0x572,_0x4c85d8._0x4fecbb)]??0x0)),'lang':_0x1866d7[_0x144226(-0x93,-0x6,-0xd0,-_0x4c85d8._0xba8e48)]??'en','region':_0x1866d7['region']??'','safe':_0x1866d7[_0x5097b6(_0x4c85d8._0x23a258,_0x4c85d8._0xbdbbb8,_0x4c85d8._0x28673d,0x520)]??!![],'type':normalizeType(_0x1866d7[_0x5097b6(_0x4c85d8._0x4408e7,_0x4c85d8._0xa23c39,_0x4c85d8._0x47fadc,0x412)]),'hydrateMeta':_0x1866d7['hydrateMeta']??![]};let _0x3dc9bd=[],_0x2a0cf2=_0x144226(_0x4c85d8._0x3a30bb,-0x4a,_0x4c85d8._0x1e645d,0x1d1);for(const _0x4ac981 of _0x3d5d5d[_0x144226(_0x4c85d8._0x1c6c06,0x10e,_0x4c85d8._0x5cbbba,-_0x4c85d8._0x20908b)]){try{if(isGoogleCseEngine(_0x4ac981))_0x3dc9bd=await searchGoogleCse(_0x4ac981,_0x224ab3,_0x59f00b[_0x5097b6(_0x4c85d8._0x3d29c8,0x4ad,_0x4c85d8._0x580ca1,_0x4c85d8._0x8e8ddb)]),_0x2a0cf2=_0x5097b6(_0x4c85d8._0x4a4b4d,0x36f,_0x4c85d8._0x23f294,0x32c);else{if(isOllamaEngine(_0x4ac981)){const _0x297b0d=await searchOllama(_0x4ac981,_0x224ab3,_0x59f00b[_0x5097b6(0x3f3,_0x4c85d8._0x3ceb61,_0x4c85d8._0x172c82,_0x4c85d8._0x31eeea)]);_0x3dc9bd=_0x297b0d[_0x144226(_0x4c85d8._0x427e38,-0xfe,_0x4c85d8._0x4e92b4,_0x4c85d8._0x210787)],_0x2a0cf2=_0x297b0d[_0x5097b6(0x33a,0x402,_0x4c85d8._0x19f740,0x4b5)];}else{if(isTavilyEngine(_0x4ac981)){const _0x30021c=await searchTavily(_0x4ac981,_0x224ab3,_0x59f00b[_0x5097b6(0x4ff,0x4ad,_0x4c85d8._0x233ff1,_0x4c85d8._0x1f7f5e)]);_0x3dc9bd=_0x30021c[_0x144226(_0x4c85d8._0x427e38,-_0x4c85d8._0x1ba0ae,-0x103,_0x4c85d8._0x35dd37)],_0x2a0cf2=_0x30021c[_0x5097b6(0x29c,_0x4c85d8._0xa04e0a,_0x4c85d8._0x176ab4,_0x4c85d8._0x380c3f)];}}}if(_0x3dc9bd[_0x144226(0x46,0xf5,0x26,0x12f)]>0x0)break;}catch(_0xdbb02d){if(_0x4ac981===_0x3d5d5d[_0x5097b6(0x418,_0x4c85d8._0x1fdf46,0x347,_0x4c85d8._0x267ef5)][_0x3d5d5d[_0x144226(_0x4c85d8._0x1c6c06,_0x4c85d8._0x581b8f,_0x4c85d8._0x15d220,-0x11a)][_0x144226(_0x4c85d8._0x9a3cc9,-_0x4c85d8._0x45e7e3,-0x21,-0xc1)]-0x1])throw _0xdbb02d;}}_0x224ab3[_0x144226(_0x4c85d8._0x5cfd58,_0x4c85d8._0x298919,_0x4c85d8._0x4b4a33,0x7c)]&&_0x3dc9bd['length']>0x0&&(_0x3dc9bd=await hydrateResults(_0x3dc9bd,_0x224ab3[_0x5097b6(0x379,0x3df,0x31e,0x3e1)],_0x59f00b[_0x5097b6(0x5c3,0x4ad,_0x4c85d8._0x13b661,_0x4c85d8._0x172c82)],_0x392adb));const _0x4f32ec=new Set();_0x3dc9bd=_0x3dc9bd[_0x5097b6(_0x4c85d8._0x500d67,0x5bb,_0x4c85d8._0x5076ce,0x451)](_0x7dd443=>{const _0x46992e={_0x18b7e4:0x5d6,_0x4f5b68:0x4};function _0x36a26c(_0x5c8c41,_0x1bccd4,_0x16e7ac,_0x471e43){return _0x144226(_0x471e43-0x1c2,_0x1bccd4-0x1e9,_0x16e7ac-0x15a,_0x5c8c41);}const _0x53d70c=_0x7dd443['url'][_0x3a6506(0x5ad,_0x497f82._0x7b2c6d,_0x497f82._0x320f3f,_0x497f82._0x56e3e3)]();function _0x3a6506(_0x1ef9a1,_0x56c44e,_0x295984,_0x384615){return _0x144226(_0x384615-_0x46992e._0x18b7e4,_0x56c44e-0xfa,_0x295984-_0x46992e._0x4f5b68,_0x56c44e);}if(!_0x53d70c||_0x4f32ec[_0x3a6506(_0x497f82._0x5462bc,0x5c4,_0x497f82._0x2f7772,0x53e)](_0x53d70c))return![];return _0x4f32ec['add'](_0x53d70c),!![];});function _0x144226(_0x51f78c,_0xc4d8b3,_0x51286f,_0x4578a0){return _0x45fe12(_0x51f78c-_0x3881c8._0x360ed9,_0x51f78c- -0x1d1,_0x4578a0,_0x4578a0-0xd7);}_0x3dc9bd=_0x3dc9bd['map']((_0x228420,_0x26d9aa)=>({..._0x228420,'source':{..._0x228420[_0x5097b6(0x43c,0x58d,0x446,0x6bb)],'rank':_0x26d9aa+0x1}}));const _0x336e93={};if(_0x224ab3[_0x144226(0x5c,-_0x4c85d8._0x37f514,0x18c,-_0x4c85d8._0x5ec8de)][_0x144226(_0x4c85d8._0x36dc8a,-0xfb,-_0x4c85d8._0x220ce6,-0xd9)]>0x0)_0x336e93[_0x144226(_0x4c85d8._0x4ed067,-_0x4c85d8._0x5423ac,_0x4c85d8._0xb599a5,0x5f)]=_0x224ab3[_0x144226(0x5c,0x142,-0x10d,0x173)];if(_0x224ab3['recencyDays']>0x0)_0x336e93['recencyDays']=_0x224ab3[_0x144226(_0x4c85d8._0x5e3c1b,0x16e,_0x4c85d8._0x220ce6,0xf3)];if(_0x224ab3[_0x144226(-_0x4c85d8._0xe49e5c,-0xd9,0x1,-0x1b3)]!=='en')_0x336e93['lang']=_0x224ab3[_0x144226(-_0x4c85d8._0xe49e5c,-_0x4c85d8._0x217b8b,_0x4c85d8._0x14314f,-_0x4c85d8._0x37b585)];function _0x5097b6(_0xbd2a3b,_0x1a16a9,_0x50c8fa,_0x59a99f){return _0x45fe12(_0xbd2a3b-0x53,_0x1a16a9-0x2a1,_0x50c8fa,_0x59a99f-_0x1e52df._0x4f5a0d);}if(_0x224ab3[_0x5097b6(0x2e7,_0x4c85d8._0x5784ab,0x409,_0x4c85d8._0x541c35)])_0x336e93['region']=_0x224ab3[_0x144226(-_0x4c85d8._0x57bbad,-_0x4c85d8._0x560ee3,_0x4c85d8._0x15d220,-0x156)];return yield createToolOutput(formatResults(_0x3dc9bd),{'engine':_0x2a0cf2,'count':_0x3dc9bd[_0x5097b6(_0x4c85d8._0x202de4,0x4b8,_0x4c85d8._0x194fc7,_0x4c85d8._0x4ad0cd)],'items':_0x3dc9bd,'query':_0x224ab3[_0x5097b6(0x54a,_0x4c85d8._0x45deb8,_0x4c85d8._0x2963dc,0x514)],...Object['keys'](_0x336e93)[_0x5097b6(0x4e8,_0x4c85d8._0x57969e,_0x4c85d8._0x2d9258,_0x4c85d8._0xfc8b6b)]>0x0?{'appliedFilters':_0x336e93}:{},'offset':_0x224ab3['offset'],'totalRequested':_0x224ab3['count'],'hydrated':_0x224ab3['hydrateMeta']}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,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(_0x15a9de,_0x3ab1e8){const _0x5406d4={_0x2e9d36:0x15a,_0x3ce1d2:0x251,_0x46aa52:0x323,_0x2eec70:0x103,_0x37373f:0x3ec,_0x17dfb0:0x130,_0x2135c8:0x222,_0xaeadd7:0xd2,_0xb2059d:0x2a4,_0x354668:0x15b,_0x47a8cc:0x2b,_0x3573ff:0x149,_0x25f12d:0xca},_0x1cc54b={_0x115f58:0x2be};function _0x5ba36b(_0x4c1ffa,_0x2ae2e6,_0x3e0413,_0x2a3609){return _0x4a14(_0x4c1ffa- -_0x1cc54b._0x115f58,_0x2ae2e6);}const _0x45b8e6=_0x15a9de();function _0x407b6b(_0x5e53a4,_0x263d65,_0x3b0219,_0x29da64){return _0x4a14(_0x263d65- -0x152,_0x29da64);}while(!![]){try{const _0x2d863b=parseInt(_0x407b6b(_0x5406d4._0x2e9d36,_0x5406d4._0x3ce1d2,0x1fc,_0x5406d4._0x46aa52))/0x1+parseInt(_0x5ba36b(-0x7a,-_0x5406d4._0x2eec70,-0x7c,-0x15b))/0x2+parseInt(_0x407b6b(_0x5406d4._0x37373f,0x2a5,0x1c8,_0x5406d4._0x17dfb0))/0x3+parseInt(_0x407b6b(_0x5406d4._0x2135c8,0xa6,0x1ab,-_0x5406d4._0xaeadd7))/0x4+-parseInt(_0x407b6b(0x2d9,0x15c,0x14,_0x5406d4._0xb2059d))/0x5+-parseInt(_0x5ba36b(-0x55,-_0x5406d4._0x354668,-0x34,-0x1f))/0x6*(-parseInt(_0x5ba36b(-_0x5406d4._0x47a8cc,-0x151,-0x26,0x3c))/0x7)+-parseInt(_0x5ba36b(-0xd7,-_0x5406d4._0x3573ff,-_0x5406d4._0x25f12d,0x6b))/0x8;if(_0x2d863b===_0x3ab1e8)break;else _0x45b8e6['push'](_0x45b8e6['shift']());}catch(_0x401393){_0x45b8e6['push'](_0x45b8e6['shift']());}}}(_0x551f,0x97a9a));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 _0x1f882c from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x475ba1(0x15f,0x61,-0x9c,0x1c1),'.js':_0x511d68(0x66d,0x6e7,0x652,0x679),'.jsx':_0x511d68(0x574,0x5ed,0x735,0x5e1),'.mjs':'javascript','.cjs':_0x475ba1(0x3db,0x29a,0x2fc,0x3d2),'.mts':'typescript','.cts':_0x511d68(0x660,0x54e,0x642,0x6c8),'.json':_0x511d68(0x59c,0x4c0,0x61d,0x501),'.jsonc':_0x511d68(0x6be,0x54c,0x66b,0x65a)};function getLanguageId(_0x4eccdf){const _0x1b40cc={_0x2aa8e7:0x155,_0x48c894:0x242,_0x32b56a:0x2d2},_0x32ea05={_0x15892e:0x190,_0x2ee48d:0x13a},_0x54f15c={_0x5708f4:0x536,_0x30c46:0x1c9};function _0x12eb37(_0x4bd384,_0x2c3d21,_0x20124b,_0x4faf54){return _0x475ba1(_0x2c3d21,_0x4bd384-_0x54f15c._0x5708f4,_0x20124b-0x144,_0x4faf54-_0x54f15c._0x30c46);}function _0x3aeac7(_0x229467,_0x18af09,_0x50fb40,_0x97a02c){return _0x511d68(_0x229467-_0x32ea05._0x15892e,_0x97a02c- -0x3de,_0x50fb40-_0x32ea05._0x2ee48d,_0x229467);}return EXTENSION_TO_LANGUAGE[_0x1f882c[_0x3aeac7(_0x1b40cc._0x2aa8e7,0x2fa,0x2f4,_0x1b40cc._0x48c894)](_0x4eccdf)[_0x3aeac7(0x3bf,0x36d,_0x1b40cc._0x32b56a,0x24e)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4c685d){const _0x587f72={_0x190fce:0x484,_0x21b9d9:0x3dc},_0x55b4ea={_0x5c0626:0xb9};function _0x3dcb44(_0x4fd571,_0x374f85,_0x2cb938,_0x5c19ac){return _0x475ba1(_0x4fd571,_0x5c19ac-0x1bf,_0x2cb938-_0x55b4ea._0x5c0626,_0x5c19ac-0x150);}return pathToFileURL(_0x4c685d)[_0x3dcb44(_0x587f72._0x190fce,0x485,_0x587f72._0x21b9d9,0x30b)]();}function textDocumentPosition(_0x11724a){const _0x4ec095={_0xe02736:0x759,_0x635463:0x57a,_0x4d7300:0x6f2,_0x4721d1:0xe6,_0x461b01:0x1f4,_0x28adf5:0x5d,_0x391c97:0x8},_0x72c392={_0x3c8808:0x1db,_0x503ef3:0x3e7,_0x32250d:0x37},_0x2b023f={_0x37c14e:0x1b4};function _0x29c0fc(_0x55c580,_0x785e15,_0x40b480,_0x558efa){return _0x511d68(_0x55c580-0xd,_0x558efa-0xbf,_0x40b480-_0x2b023f._0x37c14e,_0x785e15);}function _0x5382ad(_0xd36f8,_0x43033f,_0x22dca9,_0x353129){return _0x511d68(_0xd36f8-_0x72c392._0x3c8808,_0xd36f8- -_0x72c392._0x503ef3,_0x22dca9-_0x72c392._0x32250d,_0x43033f);}return{'textDocument':{'uri':uriForPath(_0x11724a[_0x29c0fc(_0x4ec095._0xe02736,_0x4ec095._0x635463,0x6a4,_0x4ec095._0x4d7300)])},'position':{'line':_0x11724a[_0x5382ad(_0x4ec095._0x4721d1,0x25d,0x58,_0x4ec095._0x461b01)],'character':_0x11724a[_0x5382ad(_0x4ec095._0x28adf5,-_0x4ec095._0x391c97,0x167,0xf0)]}};}function normalizeLocations(_0x5bd57d){const _0x4c69ff={_0x2b14ab:0x7a1},_0x4d7ad9={_0x497028:0x2f};function _0x443ded(_0x11f055,_0xfe96c4,_0x599287,_0xa4fe97){return _0x475ba1(_0x599287,_0x11f055-0x5bb,_0x599287-_0x4d7ad9._0x497028,_0xa4fe97-0x8f);}if(!_0x5bd57d)return[];return Array[_0x443ded(0x6a7,_0x4c69ff._0x2b14ab,0x6d8,0x68a)](_0x5bd57d)?_0x5bd57d:[_0x5bd57d];}async function createLspClient(_0x440c72){const _0x24006d={_0x2a3012:0x4a0,_0xdc73b5:0x442,_0x424d90:0x605,_0x29ecba:0x1bd,_0x32e03a:0xd9,_0x3c51e3:0x35a,_0x49a22e:0xd8,_0xfb8ba:0x20e,_0x313baf:0x63c,_0x1f6d58:0x55d,_0x42c60e:0x703,_0x71666b:0x399,_0x9ac9fb:0x2dd,_0x3b54f8:0x7a0,_0x11fc24:0x706,_0x5a0ba7:0x293,_0x247a42:0x1c8,_0x364692:0x23d,_0x3e6b28:0x2ad,_0x5cc9bf:0x2da,_0x2c7d3f:0x404,_0x29ce1e:0x554,_0x19f42f:0x508,_0x76bc00:0x572,_0x1bd764:0x608,_0xa9ee29:0x6c3,_0x2123b4:0x6b,_0xe1271c:0x645,_0x3ce7a4:0x2d4,_0x22eab9:0x51e,_0x49b40d:0x57d,_0x43cd1f:0x5cc,_0x213d67:0x8a,_0x49f647:0x266,_0x37c7e7:0x486,_0x108c52:0x312,_0x2625a9:0x539,_0x6b5939:0x150,_0x15c46:0x248},_0xfc637a={_0x104d85:0x585,_0x22ce3b:0x6dc,_0x4046ea:0x7bb,_0x39397c:0x13e,_0x305d8b:0x73d,_0x200176:0x894,_0x246fd8:0x7dc,_0x1d4733:0x889,_0x3b318b:0x2fb,_0x387973:0x2a6,_0x360a53:0x2c2,_0x2dc251:0x5b,_0x3d8b6e:0x43,_0x3e2fc8:0x118,_0x9fabcf:0x50,_0x4c74eb:0x11},_0x1c6e50={_0x2ba999:0x184,_0x2d8c2e:0xb9},_0x5d6365={_0x3a5008:0x15},_0x5c0b5e={_0x2da84b:0x66,_0x19fb4d:0x1bf,_0x35b402:0x140},_0x1b9a89={_0x16082e:0x1df},_0x7de321={_0x14c1be:0x2c9,_0x20d4c3:0x27a},_0x2de85c={_0x32af44:0x196,_0x3d8242:0x5a},_0x343ee2={_0x37bfdb:0x5e0,_0x2548a0:0x3a0,_0x1e11ba:0x4ff,_0x123850:0x309,_0x4e22e6:0x2cd,_0x725ef8:0x307,_0x37ca6a:0x2ec},_0x4a23ac={_0x477d16:0x6a,_0x557369:0x13b},_0x4c62e8={_0x3781a2:0x70,_0x403c1a:0xda,_0x3e6fd:0x20,_0x288094:0x3bf,_0x2d39be:0x4ff,_0x5cb410:0x308},_0x4948cf={_0x25ebc1:0x2da,_0x160158:0xfa},_0x1c5411={_0xbdcf86:0xae,_0x3450c4:0x614,_0x22a676:0x5f3,_0x4f7a2f:0x51a},_0x5360c5={_0x4d3cfa:0x72,_0x203c41:0x51,_0x597bf1:0x7f,_0xd9c3c4:0xa8,_0x1ac6fe:0x1e},_0x7fa1b7={_0x3dfc27:0x4a},_0x4c4166={_0x5846ac:0x588,_0x9a27b2:0x69e,_0x30d4df:0x4a9,_0x275d3e:0x62c},_0x581bc2={_0x1abf34:0xba,_0x11704f:0x1a6},_0xa0f194={_0x586718:0x11a,_0xe9c33f:0x82,_0x1e8a72:0x19d,_0x217d24:0x21},_0x10bc7e={_0x43c3dc:0x7d2,_0x51e989:0x76b,_0x11e0e9:0x699,_0x4003aa:0x472,_0x3f2d63:0x4c9},_0x56a581={_0x2590b8:0x117,_0x54f1e2:0x1a9},_0xa6d4a3={_0x39798a:0x55a},_0x6192e3={_0x53e66a:0x40c,_0x1a05d2:0x2f3,_0x5d2a30:0x24b,_0x39a792:0x625,_0x315dc9:0x355,_0x476536:0x4d0},_0x38d630={_0x177fe7:0xfe},_0x20607c={_0x5b5a87:0x18e},_0x3a28ca={_0x35a517:0x24e,_0x5809ad:0x3a2,_0x3bc69d:0x2de,_0x5532b2:0x3f0,_0x4c4fcb:0x44a,_0x4c3ef8:0x4e3,_0x2965b1:0x3ac},_0x182be0={_0x4588b9:0x77,_0x1bf685:0x39},_0x476aa9={_0xa645ca:0x96b,_0x46ecf2:0x87b,_0x6e3aa9:0x986,_0x5a9c50:0x10b,_0x298c70:0x1e8,_0x36a004:0x272,_0x175abd:0x1e0,_0x4876c2:0x434,_0x254ec7:0x2d8,_0x17634f:0x202,_0x37e52a:0x89a,_0x19e060:0x81f},_0x1f298f={_0x373f53:0x114,_0x20dac9:0x56},_0x4a14bc={_0x3db31d:0x44},_0xfb2035={_0x2f19c3:0x16},_0x288a2b={_0x4e6e4d:0xce,_0x5b99f3:0xa,_0x443eb4:0xaf},_0x5cbbd8=_0x440c72[_0x5c06d6(_0x24006d._0x2a3012,_0x24006d._0xdc73b5,0x3b8,_0x24006d._0x424d90)][_0x36c30e(_0x24006d._0x29ecba,0x333,0x274,0x342)][_0x36c30e(_0x24006d._0x32e03a,0x141,0x244,_0x24006d._0x3c51e3)],_0x59e50a=_0x440c72[_0x36c30e(-0x8f,0x15d,_0x24006d._0x49a22e,_0x24006d._0xfb8ba)][_0x5c06d6(_0x24006d._0x313baf,_0x24006d._0x1f6d58,_0x24006d._0x42c60e,0x759)][_0x36c30e(_0x24006d._0x71666b,0x27c,_0x24006d._0x9ac9fb,0x18b)];if(!_0x5cbbd8||!_0x59e50a)throw new Error(_0x5c06d6(0x6b9,0x835,_0x24006d._0x3b54f8,_0x24006d._0x11fc24));const _0x709f12=createMessageConnection(new StreamMessageReader(_0x5cbbd8),new StreamMessageWriter(_0x59e50a)),_0x5a7bb0=new Map();function _0x5c06d6(_0x5439cf,_0x46995d,_0x3ef940,_0x3ab102){return _0x511d68(_0x5439cf-_0x288a2b._0x4e6e4d,_0x5439cf- -_0x288a2b._0x5b99f3,_0x3ef940-_0x288a2b._0x443eb4,_0x46995d);}const _0x24c55d=new Map();let _0x456caa=![];function _0x36c30e(_0x532d88,_0x256f05,_0x55945f,_0x52ff24){return _0x511d68(_0x532d88-0x1b4,_0x55945f- -0x3d2,_0x55945f-_0xfb2035._0x2f19c3,_0x52ff24);}_0x709f12[_0x36c30e(0x1ea,_0x24006d._0x5a0ba7,_0x24006d._0x247a42,_0x24006d._0x364692)](_0x36c30e(0x1f1,_0x24006d._0x3e6b28,_0x24006d._0x5cc9bf,0x37c),_0x392867=>{_0x5a7bb0[_0x324e3f(0x7f1,_0x476aa9._0xa645ca,_0x476aa9._0x46ecf2,_0x476aa9._0x6e3aa9)](_0x392867['uri'],_0x392867[_0x13bdde(0x3f2,0x360,0x234,0x334)]);const _0x499f73=_0x24c55d[_0x13bdde(_0x476aa9._0x5a9c50,_0x476aa9._0x298c70,_0x476aa9._0x36a004,_0x476aa9._0x175abd)](_0x392867[_0x13bdde(_0x476aa9._0x4876c2,_0x476aa9._0x254ec7,0x17b,_0x476aa9._0x17634f)]);function _0x13bdde(_0x464a15,_0xfbff6,_0x24848d,_0x3f0b53){return _0x36c30e(_0x464a15-0xb6,_0xfbff6-0x1db,_0xfbff6-_0x4a14bc._0x3db31d,_0x3f0b53);}function _0x324e3f(_0x59f78e,_0x5a4043,_0x4f5fc,_0x4c7157){return _0x5c06d6(_0x4f5fc-0x19a,_0x4c7157,_0x4f5fc-_0x1f298f._0x373f53,_0x4c7157-_0x1f298f._0x20dac9);}if(!_0x499f73)return;_0x24c55d[_0x324e3f(0x9a0,_0x476aa9._0x37e52a,_0x476aa9._0x19e060,0x82a)](_0x392867['uri']);for(const _0x375f7d of _0x499f73)_0x375f7d();}),_0x709f12[_0x5c06d6(_0x24006d._0x2c7d3f,_0x24006d._0x29ce1e,_0x24006d._0x19f42f,0x45d)]();const _0x2e6093=await _0x709f12[_0x5c06d6(_0x24006d._0x76bc00,0x6bb,0x50e,_0x24006d._0x1bd764)](_0x5c06d6(0x5c3,0x567,_0x24006d._0xa9ee29,0x568),{'processId':process[_0x36c30e(0x87,0x15c,0xe3,_0x24006d._0x2123b4)],'rootUri':uriForPath(_0x440c72[_0x5c06d6(_0x24006d._0xe1271c,0x6f4,0x5c5,0x7b6)]),'workspaceFolders':[{'uri':uriForPath(_0x440c72[_0x36c30e(_0x24006d._0x3ce7a4,0xff,0x27d,0x308)]),'name':_0x440c72[_0x5c06d6(0x45f,_0x24006d._0x22eab9,0x4d0,_0x24006d._0x49b40d)]['id']}],'initializationOptions':_0x440c72[_0x5c06d6(0x4a0,_0x24006d._0x43cd1f,0x3a3,0x408)][_0x36c30e(_0x24006d._0x213d67,0x1b7,0x1fc,0x33d)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0x36c30e(0x141,0x10c,_0x24006d._0x49f647,0x3e1)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x709f12['sendNotification'](_0x5c06d6(_0x24006d._0x37c7e7,_0x24006d._0x108c52,0x39f,_0x24006d._0x2625a9),{});const _0x74ee0f={'serverId':_0x440c72[_0x5c06d6(0x45f,0x568,0x3b3,0x4be)]['id'],'root':_0x440c72['root'],'connection':_0x709f12,'diagnostics':_0x5a7bb0,'capabilities':_0x2e6093[_0x36c30e(_0x24006d._0x6b5939,_0x24006d._0x15c46,0x18f,0x307)]??{},'notify':{async 'open'({path:_0x45a1fe}){function _0x3fea82(_0x4a8bcc,_0x431be6,_0xc132fe,_0x1f56b7){return _0x36c30e(_0x4a8bcc-0x100,_0x431be6-_0x182be0._0x4588b9,_0x431be6-_0x182be0._0x1bf685,_0x4a8bcc);}function _0x42e1ee(_0x216f0e,_0xd99dd8,_0x17fbce,_0x29edd3){return _0x36c30e(_0x216f0e-0xe8,_0xd99dd8-0x1cd,_0x17fbce-0x146,_0xd99dd8);}const _0x5940bf=await readFile(_0x45a1fe,_0x42e1ee(_0x3a28ca._0x35a517,0x3a1,_0x3a28ca._0x5809ad,0x37c));_0x709f12[_0x42e1ee(0x46b,_0x3a28ca._0x3bc69d,_0x3a28ca._0x5532b2,0x2a6)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x45a1fe),'languageId':getLanguageId(_0x45a1fe)??_0x42e1ee(_0x3a28ca._0x4c4fcb,_0x3a28ca._0x4c3ef8,_0x3a28ca._0x2965b1,0x35b),'version':0x1,'text':_0x5940bf}});},async 'change'({path:_0x19c838,version:_0x2d071b}){const _0x4435b4=await readFile(_0x19c838,_0x4c9cce(_0x6192e3._0x53e66a,0x2a5,0x2f1,0x3f7));function _0x51becb(_0x23c55f,_0x4be281,_0x345611,_0x20212e){return _0x36c30e(_0x23c55f-_0x20607c._0x5b5a87,_0x4be281-0xc0,_0x20212e-0x445,_0x23c55f);}function _0x4c9cce(_0x2f09ca,_0x392133,_0x381388,_0x3ad5aa){return _0x36c30e(_0x2f09ca-0x132,_0x392133-_0x38d630._0x177fe7,_0x392133-0x49,_0x2f09ca);}_0x709f12[_0x4c9cce(0x244,_0x6192e3._0x1a05d2,0x179,_0x6192e3._0x5d2a30)](_0x51becb(_0x6192e3._0x39a792,_0x6192e3._0x315dc9,0x640,_0x6192e3._0x476536),{'textDocument':{'uri':uriForPath(_0x19c838),'version':_0x2d071b},'contentChanges':[{'text':_0x4435b4}]});},async 'close'({path:_0x122e7a}){const _0x91e347={_0x24c8ed:0x11e};function _0x26b294(_0x336403,_0x1391d8,_0xd1cb9,_0x14b579){return _0x5c06d6(_0x14b579-0x7d,_0xd1cb9,_0xd1cb9-0x1a7,_0x14b579-0x126);}function _0x3d91a8(_0xfa03a1,_0x51c0ba,_0x362b86,_0x58c6d1){return _0x36c30e(_0xfa03a1-0x16a,_0x51c0ba-0x1a3,_0xfa03a1- -_0x91e347._0x24c8ed,_0x58c6d1);}_0x709f12[_0x3d91a8(0x18c,0x246,0x1d8,0xaf)](_0x26b294(0x639,0x4c8,_0xa6d4a3._0x39798a,0x5be),{'textDocument':{'uri':uriForPath(_0x122e7a)}});}},'request':{async 'definition'(_0x4c43ae){const _0x536c01={_0x1787ea:0x7d,_0x444d1c:0xe2};function _0x10420b(_0x210663,_0x1e5c3c,_0x556693,_0x5a42c1){return _0x5c06d6(_0x5a42c1-_0x536c01._0x1787ea,_0x556693,_0x556693-_0x536c01._0x444d1c,_0x5a42c1-0x66);}function _0x3297bd(_0x3f7f1e,_0x16a31,_0xb65e4f,_0x1ab099){return _0x36c30e(_0x3f7f1e-_0x56a581._0x2590b8,_0x16a31-_0x56a581._0x54f1e2,_0xb65e4f-0x4ac,_0x16a31);}return normalizeLocations(await _0x709f12[_0x3297bd(_0x10bc7e._0x43c3dc,_0x10bc7e._0x51e989,0x656,_0x10bc7e._0x11e0e9)](_0x3297bd(_0x10bc7e._0x4003aa,_0x10bc7e._0x3f2d63,0x5c8,0x48d),textDocumentPosition(_0x4c43ae)));},async 'references'(_0x2361d1){const _0x10cdc5={_0x16da97:0x191,_0x4fafed:0x84},_0x2d1c35={_0xd890e1:0x8,_0x52b291:0xe4};function _0x11aa5d(_0x507d63,_0x1640c8,_0x2d8a7a,_0x1cef65){return _0x36c30e(_0x507d63-_0x2d1c35._0xd890e1,_0x1640c8-_0x2d1c35._0x52b291,_0x1cef65- -0x90,_0x1640c8);}function _0x1ffcf8(_0x3a7051,_0x5d3b57,_0x56f3f4,_0x3e83a8){return _0x36c30e(_0x3a7051-_0x10cdc5._0x16da97,_0x5d3b57-0x12,_0x3a7051-_0x10cdc5._0x4fafed,_0x5d3b57);}return normalizeLocations(await _0x709f12[_0x11aa5d(0x21f,0xdb,0x212,_0xa0f194._0x586718)](_0x11aa5d(_0xa0f194._0xe9c33f,-0x50,_0xa0f194._0x1e8a72,_0xa0f194._0x217d24),{...textDocumentPosition(_0x2361d1),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x23b047){function _0x4dab73(_0x17e987,_0x44351d,_0x544077,_0x4d3050){return _0x5c06d6(_0x4d3050-_0x581bc2._0x1abf34,_0x44351d,_0x544077-_0x581bc2._0x11704f,_0x4d3050-0x66);}return await _0x709f12[_0x4dab73(_0x4c4166._0x5846ac,_0x4c4166._0x9a27b2,_0x4c4166._0x30d4df,_0x4c4166._0x275d3e)]('textDocument/hover',textDocumentPosition(_0x23b047))??null;},async 'documentSymbol'(_0x1219c9){const _0x1b9721={_0x166563:0x16c,_0x51b567:0x138};function _0x2e6e73(_0x5ae319,_0x19d0a0,_0x26c6bd,_0x542d7){return _0x36c30e(_0x5ae319-0x187,_0x19d0a0-_0x7fa1b7._0x3dfc27,_0x19d0a0-0x407,_0x542d7);}function _0x256088(_0x35bb7f,_0x461030,_0x15a9a3,_0x2f5834){return _0x36c30e(_0x35bb7f-0x4,_0x461030-_0x1b9721._0x166563,_0x461030- -_0x1b9721._0x51b567,_0x2f5834);}return await _0x709f12[_0x256088(0x110,_0x5360c5._0x4d3cfa,-0xb8,_0x5360c5._0x203c41)](_0x256088(_0x5360c5._0x597bf1,0xa1,_0x5360c5._0xd9c3c4,_0x5360c5._0x1ac6fe),{'textDocument':{'uri':uriForPath(_0x1219c9)}})??[];},async 'workspaceSymbol'(_0x3f523b){const _0x5861be={_0x5e3813:0xc3};function _0x52e9d6(_0x222755,_0xb126c6,_0x5a547c,_0x57d0f6){return _0x5c06d6(_0xb126c6- -0x4b6,_0x57d0f6,_0x5a547c-0x1ed,_0x57d0f6-0x170);}function _0x1e5a11(_0x47f6b5,_0x886af,_0x10378d,_0x4a1ea8){return _0x5c06d6(_0x10378d- -0x102,_0x886af,_0x10378d-0x51,_0x4a1ea8-_0x5861be._0x5e3813);}return await _0x709f12[_0x52e9d6(0x12c,0xbc,_0x1c5411._0xbdcf86,0x6a)](_0x1e5a11(_0x1c5411._0x3450c4,_0x1c5411._0x22a676,_0x1c5411._0x4f7a2f,0x43d),{'query':_0x3f523b})??[];},async 'implementation'(_0x505631){function _0x4ce209(_0xa08acc,_0x277aa0,_0x599e6a,_0x1386dd){return _0x36c30e(_0xa08acc-0x9a,_0x277aa0-0x179,_0x1386dd- -0x1ca,_0x277aa0);}function _0x438e09(_0xe870f4,_0x200d90,_0x510fdf,_0x25d8e0){return _0x5c06d6(_0xe870f4- -_0x4948cf._0x25ebc1,_0x510fdf,_0x510fdf-0x163,_0x25d8e0-_0x4948cf._0x160158);}return normalizeLocations(await _0x709f12[_0x4ce209(-_0x4c62e8._0x3781a2,_0x4c62e8._0x403c1a,0x10e,-_0x4c62e8._0x3e6fd)](_0x438e09(_0x4c62e8._0x288094,_0x4c62e8._0x2d39be,0x33b,_0x4c62e8._0x5cb410),textDocumentPosition(_0x505631)));},async 'prepareCallHierarchy'(_0x4dc05b){const _0x4ee91e={_0x5ce451:0x56c,_0x1eda12:0x1d9,_0x1b904b:0x1b};function _0x1658d8(_0x136e2c,_0xb65343,_0x515f93,_0x250bc2){return _0x5c06d6(_0x515f93- -_0x4ee91e._0x5ce451,_0x250bc2,_0x515f93-_0x4ee91e._0x1eda12,_0x250bc2-_0x4ee91e._0x1b904b);}return await _0x709f12[_0x1658d8(_0x4a23ac._0x477d16,_0x4a23ac._0x557369,0x6,0x106)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x4dc05b))??[];},async 'incomingCalls'(_0x59932d){const _0x73d6f5={_0xeda3db:0xd2,_0x33306c:0x1cb,_0xbe388c:0x4e5};function _0xd364fd(_0x175d5a,_0x4c7744,_0x29c19f,_0x3de711){return _0x36c30e(_0x175d5a-_0x73d6f5._0xeda3db,_0x4c7744-_0x73d6f5._0x33306c,_0x3de711-_0x73d6f5._0xbe388c,_0x4c7744);}function _0x31b682(_0x43e286,_0x599dab,_0x522a61,_0x2869cf){return _0x5c06d6(_0x43e286- -0x115,_0x2869cf,_0x522a61-0x1bd,_0x2869cf-0x118);}return await _0x709f12[_0x31b682(0x45d,_0x343ee2._0x37bfdb,_0x343ee2._0x2548a0,_0x343ee2._0x1e11ba)](_0x31b682(_0x343ee2._0x123850,_0x343ee2._0x4e22e6,_0x343ee2._0x725ef8,_0x343ee2._0x37ca6a),{'item':_0x59932d})??[];},async 'outgoingCalls'(_0x46bc97){function _0x203c83(_0x468007,_0x3b1f89,_0x248fab,_0x57d2fd){return _0x36c30e(_0x468007-0x136,_0x3b1f89-_0x2de85c._0x32af44,_0x468007-_0x2de85c._0x3d8242,_0x248fab);}return await _0x709f12[_0x203c83(0x204,_0x7de321._0x14c1be,_0x7de321._0x20d4c3,0x162)]('callHierarchy/outgoingCalls',{'item':_0x46bc97})??[];}},'waitForDiagnostics'({path:_0x2e3e77,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x1fe447={_0x319d1d:0x2b5,_0x160faf:0x36e},_0x3722e0={_0x425794:0x1b1,_0x1263dc:0x1ae,_0x4e1cda:0x71};function _0xae1b17(_0x2b8565,_0x2b1911,_0x34b9de,_0x42341f){return _0x5c06d6(_0x34b9de- -_0x3722e0._0x425794,_0x42341f,_0x34b9de-_0x3722e0._0x1263dc,_0x42341f-_0x3722e0._0x4e1cda);}function _0xb2f274(_0x136fdc,_0x556f8e,_0x3eba3f,_0x32c013){return _0x5c06d6(_0x3eba3f- -0x54c,_0x32c013,_0x3eba3f-0x77,_0x32c013-_0x1b9a89._0x16082e);}const _0x1fb4a6=uriForPath(_0x2e3e77);if(_0x5a7bb0[_0xb2f274(0x1b7,-0x88,_0x5c0b5e._0x2da84b,-0x4e)](_0x1fb4a6))return Promise[_0xb2f274(-_0x5c0b5e._0x19fb4d,-0x34,-_0x5c0b5e._0x35b402,-0x1fa)]();return new Promise(_0x132c66=>{const _0x5e520e={_0x222b43:0x4b},_0x10e9c2={_0x4b27e1:0x116,_0x2cd9d9:0x8c},_0x2de99c={_0x4b43d3:0x4b8,_0x18d67c:0x619,_0x3f4894:0x5ca,_0x5ec1e9:0x4a3,_0x3e83c2:0x347,_0x53e5bb:0x3f8,_0xe7a8e4:0x71f,_0x40a7ac:0x601,_0x563c88:0x72e},_0x1fc449={_0x3afc44:0x45},_0x384b44=setTimeout(()=>{function _0x559f7d(_0x4098ca,_0x25ec80,_0x2f25d1,_0xa98330){return _0x4a14(_0x2f25d1-0x2a6,_0x4098ca);}function _0x5cec5a(_0x2d411a,_0x13fd16,_0x1c3d33,_0x3019c2){return _0x4a14(_0x3019c2- -_0x1fc449._0x3afc44,_0x1c3d33);}const _0x521018=_0x24c55d[_0x559f7d(_0x2de99c._0x4b43d3,_0x2de99c._0x18d67c,_0x2de99c._0x3f4894,0x482)](_0x1fb4a6);_0x521018?.[_0x5cec5a(_0x2de99c._0x5ec1e9,_0x2de99c._0x3e83c2,0x472,_0x2de99c._0x53e5bb)](_0x3b1655);if(_0x521018?.[_0x559f7d(_0x2de99c._0xe7a8e4,_0x2de99c._0x40a7ac,_0x2de99c._0x563c88,0x662)]===0x0)_0x24c55d[_0x559f7d(0x65f,0x7a5,0x6e3,0x741)](_0x1fb4a6);_0x132c66();},timeoutMs),_0x3b1655=()=>{clearTimeout(_0x384b44),_0x132c66();};function _0x31b8b2(_0x2c1d46,_0x450173,_0x4c7ae1,_0x501477){return _0xae1b17(_0x2c1d46-_0x10e9c2._0x4b27e1,_0x450173-_0x10e9c2._0x2cd9d9,_0x2c1d46- -0x106,_0x4c7ae1);}const _0x4d7b5d=_0x24c55d[_0x31b8b2(_0x1fe447._0x319d1d,0x2b6,0x24a,0x17f)](_0x1fb4a6)??new Set();_0x4d7b5d[_0x31b8b2(0x2b4,0x18e,0x158,0x359)](_0x3b1655);function _0x26997f(_0xddaf26,_0x1e8e7a,_0x4b0d9e,_0x6dd149){return _0xae1b17(_0xddaf26-0x64,_0x1e8e7a-0x19f,_0x1e8e7a- -_0x5e520e._0x222b43,_0x6dd149);}_0x24c55d[_0x31b8b2(0x42a,0x4c2,_0x1fe447._0x160faf,0x2c5)](_0x1fb4a6,_0x4d7b5d);});},async 'shutdown'(){if(_0x456caa)return;_0x456caa=!![];function _0x1527d8(_0x24d68d,_0x3c01b6,_0x195fe2,_0x5d0041){return _0x36c30e(_0x24d68d-0x158,_0x3c01b6-_0x5d6365._0x3a5008,_0x5d0041- -0x41,_0x3c01b6);}function _0x25485c(_0x43ab07,_0x534f8d,_0x4e78e2,_0x2083e9){return _0x36c30e(_0x43ab07-_0x1c6e50._0x2ba999,_0x534f8d-_0x1c6e50._0x2d8c2e,_0x4e78e2-0x532,_0x43ab07);}try{await _0x709f12[_0x25485c(0x760,_0xfc637a._0x104d85,_0xfc637a._0x22ce3b,_0xfc637a._0x4046ea)](_0x1527d8(0x208,0xa6,_0xfc637a._0x39397c,0x86),null),_0x709f12[_0x25485c(_0xfc637a._0x305d8b,_0xfc637a._0x200176,_0xfc637a._0x246fd8,_0xfc637a._0x1d4733)]('exit');}catch{}finally{_0x709f12[_0x1527d8(_0xfc637a._0x3b318b,_0xfc637a._0x387973,0x2f8,_0xfc637a._0x360a53)](),_0x440c72[_0x1527d8(0x1f4,_0xfc637a._0x2dc251,-_0xfc637a._0x3d8b6e,0x97)][_0x1527d8(0x366,0x309,0x12a,0x233)][_0x1527d8(_0xfc637a._0x3e2fc8,-0x5b,_0xfc637a._0x9fabcf,-_0xfc637a._0x4c74eb)]();}}};return _0x74ee0f;}import{spawn as _0x321521}from'child_process';import{access as _0x4770d3}from'fs/promises';import _0x3c9408 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x482b2d from'os';import _0x24af4c from'path';import _0x1a869a from'which';var installPromises=new Map();function sanitizePackageName(_0x4e5fea){const _0x27ad5d={_0x1cb1de:0x40a,_0x4bea41:0x571,_0xe96d4e:0x36e,_0x4f2961:0x2c8},_0x4cfb6d={_0x434b01:0x162},_0x41772f={_0x2dfa36:0xc9,_0x2b7d06:0x34,_0x22e6e8:0x73};function _0x5b6da9(_0x530df7,_0x544901,_0x58ba9d,_0x3cf334){return _0x511d68(_0x530df7-_0x41772f._0x2dfa36,_0x530df7- -_0x41772f._0x2b7d06,_0x58ba9d-_0x41772f._0x22e6e8,_0x544901);}function _0xa50d8(_0x1a1c7a,_0x2a33de,_0x53dec4,_0x5e91fa){return _0x475ba1(_0x2a33de,_0x53dec4-_0x4cfb6d._0x434b01,_0x53dec4-0x2b,_0x5e91fa-0xa);}return _0x4e5fea[_0x5b6da9(_0x27ad5d._0x1cb1de,_0x27ad5d._0x4bea41,0x490,0x576)](/^@/,'')[_0x5b6da9(0x40a,_0x27ad5d._0xe96d4e,_0x27ad5d._0x4f2961,0x2d6)](/[/]/g,'__');}function binaryNameForPlatform(_0x3cd23c){const _0x132a56={_0x580fbe:0x537,_0x2bd3fd:0x3b2,_0x57e69b:0x455,_0x3cb470:0x3ee,_0x5ca62e:0x3f1,_0x3ffb0a:0x3a7,_0x1ab9ba:0x3a8,_0x57d627:0x3b6,_0x305532:0x4d6},_0x34baab={_0x76390a:0x3ca},_0x1bde2c={_0x4e56f9:0x81};function _0x80536b(_0x37372f,_0xb45021,_0x4d143a,_0x33334b){return _0x511d68(_0x37372f-_0x1bde2c._0x4e56f9,_0x4d143a-0xf7,_0x4d143a-0xea,_0x33334b);}function _0x1da361(_0x27500b,_0x4159d7,_0x25ed76,_0x21c35c){return _0x475ba1(_0x4159d7,_0x25ed76-_0x34baab._0x76390a,_0x25ed76-0x1c5,_0x21c35c-0x1a0);}return process[_0x1da361(_0x132a56._0x580fbe,_0x132a56._0x2bd3fd,_0x132a56._0x57e69b,_0x132a56._0x3cb470)]===_0x1da361(0x2a2,_0x132a56._0x5ca62e,_0x132a56._0x3ffb0a,0x2ff)?_0x3cd23c+_0x80536b(_0x132a56._0x1ab9ba,_0x132a56._0x57d627,0x50b,_0x132a56._0x305532):_0x3cd23c;}async function exists(_0x531757){try{return await access(_0x531757),!![];}catch{return![];}}function runNpmInstall(_0x1496ae,_0x5ccda7,_0x196813){const _0x4bd3a8={_0x4068c4:0xe3,_0xdeebe4:0x4b,_0x31f57d:0x1de,_0x1dfdf8:0xe0,_0x5a6760:0x315,_0x3c84ff:0x1e6,_0x11490b:0x241,_0x2a4ad8:0x17b};return new Promise(_0x3fd79a=>{const _0x11ab5b=spawn(_0x5b18a5(-0x13e,-0x7f,-_0x4bd3a8._0x4068c4,-_0x4bd3a8._0xdeebe4),[_0x5b18a5(-0x2e9,-0x180,-0x1c5,-0xb0),_0x3a6cb2(-0x8d,0x26,_0x4bd3a8._0x31f57d,_0x4bd3a8._0x1dfdf8),_0x1496ae,_0x5ccda7],{'env':_0x196813,'stdio':_0x3a6cb2(-0x1c6,-0x91,-_0x4bd3a8._0x5a6760,-_0x4bd3a8._0x3c84ff)});function _0x3a6cb2(_0x435037,_0x39254f,_0x842810,_0x3da821){return _0x4a14(_0x3da821- -0x3ae,_0x842810);}function _0x5b18a5(_0x377cf2,_0x35910c,_0x334508,_0x49c91e){return _0x4a14(_0x35910c- -0x35b,_0x49c91e);}_0x11ab5b['on']('error',()=>_0x3fd79a(![])),_0x11ab5b['on'](_0x3a6cb2(-0x286,-0x166,-_0x4bd3a8._0x11490b,-_0x4bd3a8._0x2a4ad8),_0x138d58=>_0x3fd79a(_0x138d58===0x0));});}function shouldDisableLspDownload(_0x3a8c6d=process['env']){const _0x48e59a={_0x5990c2:0x49b,_0xb1df1e:0x373,_0x378dfb:0x4f2,_0x166edc:0x58e},_0x453fd8={_0x4a6117:0x13d,_0x2f897a:0xec},_0x4398c0={_0x2a6e3a:0xaa,_0x346d03:0xbb};function _0x105909(_0xdf2c17,_0x366582,_0x4f7068,_0x3178e7){return _0x475ba1(_0x366582,_0x4f7068-0x267,_0x4f7068-_0x4398c0._0x2a6e3a,_0x3178e7-_0x4398c0._0x346d03);}function _0x5cc968(_0x3b8fb1,_0xc4103c,_0x2e85f2,_0x17f7c8){return _0x475ba1(_0x3b8fb1,_0x2e85f2-0x514,_0x2e85f2-_0x453fd8._0x4a6117,_0x17f7c8-_0x453fd8._0x2f897a);}const _0x35fc67=_0x3a8c6d[_0x5cc968(0x435,0x6af,0x5b2,_0x48e59a._0x5990c2)]?.[_0x105909(0x2fd,0x3d2,0x446,0x539)]();return _0x35fc67===_0x5cc968(0x5ac,_0x48e59a._0xb1df1e,_0x48e59a._0x378dfb,0x3b1)||_0x35fc67==='1'||_0x35fc67===_0x5cc968(0x433,0x623,_0x48e59a._0x166edc,0x59f)||_0x35fc67==='on';}function getLspPackageDir(_0x9dff9e){const _0x25e62e={_0x185986:0x1ba,_0x295d3a:0x170,_0x3046dd:0x1ce,_0x3674b2:0x1f7,_0x431736:0x15f,_0x1371e6:0x221,_0x15947b:0x147},_0x47b025={_0x2dfd15:0x128};function _0x49656e(_0x20dd1f,_0x4702db,_0x3d078d,_0x396b20){return _0x511d68(_0x20dd1f-_0x47b025._0x2dfd15,_0x20dd1f- -0x4d7,_0x3d078d-0xe0,_0x396b20);}function _0xd1a242(_0x383541,_0x5b4ef3,_0x59789b,_0x4fafae){return _0x475ba1(_0x4fafae,_0x59789b- -0x17,_0x59789b-0x12d,_0x4fafae-0x124);}return _0x24af4c['join'](_0x482b2d['homedir'](),_0xd1a242(_0x25e62e._0x185986,0x2dc,_0x25e62e._0x295d3a,_0x25e62e._0x3046dd),_0x49656e(0x1fb,_0x25e62e._0x3674b2,0x280,_0x25e62e._0x431736),_0x49656e(_0x25e62e._0x1371e6,_0x25e62e._0x15947b,0xca,0x352),sanitizePackageName(_0x9dff9e));}function getLspBinDir(_0xe3f788){const _0x3b1e2f={_0x386fb8:0x4dd,_0x2dee75:0x369},_0x4ce0b0={_0x18bd2c:0xcc},_0x49b509={_0x5e5743:0x165,_0x1ddb37:0x3d};function _0x42e664(_0x578bcf,_0x338269,_0x4df5e1,_0x58efbe){return _0x475ba1(_0x338269,_0x578bcf- -0x88,_0x4df5e1-_0x49b509._0x5e5743,_0x58efbe-_0x49b509._0x1ddb37);}function _0x4390da(_0x1341ef,_0x418bf7,_0x148280,_0x3463fd){return _0x475ba1(_0x418bf7,_0x3463fd-_0x4ce0b0._0x18bd2c,_0x148280-0x5a,_0x3463fd-0xa9);}return _0x24af4c[_0x42e664(0x221,0xe5,0x2d1,0x255)](getLspPackageDir(_0xe3f788),_0x4390da(_0x3b1e2f._0x386fb8,0x1e6,0x448,_0x3b1e2f._0x2dee75),'.bin');}async function findPackageBinary(_0x17532a,_0x26d3fd){const _0x50fd75={_0x3ff747:0x9,_0x4c4f57:0x9e,_0x1aaeab:0x53,_0x31f38e:0x7c6,_0x1d0b26:0x7da,_0x4c951f:0x6b8,_0x28ec13:0x759},_0x2d6ffa={_0x16c001:0x1c5},_0xcbb7b6={_0x28e3c0:0x529,_0x747474:0xce,_0xc29891:0x20};let _0x3edffc=_0x24af4c[_0x58f853(_0x50fd75._0x3ff747,-0x39,-_0x50fd75._0x4c4f57,_0x50fd75._0x1aaeab)](_0x26d3fd);function _0x4eb76a(_0x9be4d0,_0x3d39f4,_0x2c0719,_0xe38c19){return _0x475ba1(_0x2c0719,_0x3d39f4-_0xcbb7b6._0x28e3c0,_0x2c0719-_0xcbb7b6._0x747474,_0xe38c19-_0xcbb7b6._0xc29891);}const _0x22e3e3=binaryNameForPlatform(_0x17532a);function _0x58f853(_0x4ef492,_0x2e5426,_0x36f4cd,_0x4f5135){return _0x511d68(_0x4ef492-_0x2d6ffa._0x16c001,_0x36f4cd- -0x4b4,_0x36f4cd-0x137,_0x4ef492);}while(!![]){const _0x4b42bd=_0x24af4c['join'](_0x3edffc,_0x4eb76a(0x64b,_0x50fd75._0x31f38e,_0x50fd75._0x1d0b26,0x6f5),'.bin',_0x22e3e3);if(await exists(_0x4b42bd))return _0x4b42bd;const _0xefb4bd=_0x24af4c[_0x4eb76a(_0x50fd75._0x4c951f,_0x50fd75._0x28ec13,0x706,0x7ed)](_0x3edffc);if(_0xefb4bd===_0x3edffc)return void 0x0;_0x3edffc=_0xefb4bd;}}function _0x4a14(_0x45ffbf,_0x1b8f85){_0x45ffbf=_0x45ffbf-0x1b0;const _0x551f38=_0x551f();let _0x4a14fe=_0x551f38[_0x45ffbf];if(_0x4a14['SkTiAN']===undefined){var _0x5f742b=function(_0x5e9c05){const _0x406d2a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f882c='',_0x321521='';for(let _0x4770d3=0x0,_0x3c9408,_0x482b2d,_0x24af4c=0x0;_0x482b2d=_0x5e9c05['charAt'](_0x24af4c++);~_0x482b2d&&(_0x3c9408=_0x4770d3%0x4?_0x3c9408*0x40+_0x482b2d:_0x482b2d,_0x4770d3++%0x4)?_0x1f882c+=String['fromCharCode'](0xff&_0x3c9408>>(-0x2*_0x4770d3&0x6)):0x0){_0x482b2d=_0x406d2a['indexOf'](_0x482b2d);}for(let _0x1a869a=0x0,_0x45659e=_0x1f882c['length'];_0x1a869a<_0x45659e;_0x1a869a++){_0x321521+='%'+('00'+_0x1f882c['charCodeAt'](_0x1a869a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x321521);};_0x4a14['hDorEw']=_0x5f742b,_0x4a14['flROLv']={},_0x4a14['SkTiAN']=!![];}const _0x1de0d7=_0x551f38[0x0],_0x4a9211=_0x45ffbf+_0x1de0d7,_0x209453=_0x4a14['flROLv'][_0x4a9211];return!_0x209453?(_0x4a14fe=_0x4a14['hDorEw'](_0x4a14fe),_0x4a14['flROLv'][_0x4a9211]=_0x4a14fe):_0x4a14fe=_0x209453,_0x4a14fe;}async function findPathBinary(_0x2269ac,_0x28dfb1){const _0x321417={_0x2fecca:0x6f6,_0x588a6b:0x57d,_0x5117c7:0x68e,_0x2f1902:0x6f7,_0x2180e6:0x655,_0x24b4ce:0x499,_0x2b427d:0x605,_0x41e207:0xc8,_0x12c3e3:0x102,_0xdf38be:0x141},_0x3baadd={_0x50a1a0:0x105,_0x3b72bb:0x176},_0x8339fc={_0x50a56b:0x152};function _0xce6f5(_0x28487e,_0x3888d6,_0x556860,_0x16c369){return _0x475ba1(_0x16c369,_0x28487e-0x56d,_0x556860-_0x8339fc._0x50a56b,_0x16c369-0x90);}const _0x2f9382=getLspBinDir(_0x28dfb1);function _0x4a53d4(_0x48e6e9,_0x2a4320,_0x5a92e0,_0x169792){return _0x475ba1(_0x169792,_0x5a92e0- -0x89,_0x5a92e0-_0x3baadd._0x50a1a0,_0x169792-_0x3baadd._0x3b72bb);}const _0x3d4355=[_0x2f9382,process[_0xce6f5(0x63b,_0x321417._0x2fecca,_0x321417._0x588a6b,0x4fc)][_0xce6f5(_0x321417._0x5117c7,_0x321417._0x2f1902,_0x321417._0x2180e6,0x62c)]][_0xce6f5(0x5ea,_0x321417._0x24b4ce,_0x321417._0x2b427d,0x5bc)](Boolean)['join'](_0x24af4c[_0x4a53d4(_0x321417._0x41e207,_0x321417._0x12c3e3,0x1ad,_0x321417._0xdf38be)]);try{return await _0x1a869a(_0x2269ac,{'path':_0x3d4355});}catch{return void 0x0;}}async function resolvePackageBinary(_0x1b81ec){const _0x7f5500={_0x246925:0x12e,_0x36c15b:0x1db,_0x43340f:0x6fe,_0xbfe8f6:0x5ff,_0x25f2ea:0x50a,_0x33a60c:0x32,_0x11f387:0x25d,_0x237eec:0x18d,_0x3b616c:0x112,_0x25cce8:0x15c,_0x3399d1:0x192,_0x57eced:0x128,_0x27875d:0x60c,_0x54a8bd:0x48c,_0x3019ce:0x88f,_0x1e0bc9:0x7b9,_0x5c87ed:0x821,_0x21f1ac:0x75d,_0x355528:0x5ec},_0x2b6a26={_0x53e465:0x48,_0x7e1aa7:0x116,_0x33d6bb:0xb4,_0x47951f:0x699,_0x4d170a:0x779,_0x1abc3a:0x7f7,_0x22c64d:0x803,_0x57539c:0x5c0,_0x4ca170:0x67d},_0xefd88b={_0x2485d6:0x4e9,_0x39daba:0xd8},_0x4d9ba4={_0x38f5da:0x163,_0x18183e:0xce,_0x5aee37:0x1c3},_0x58a6e4={_0x1a1d0f:0x44,_0x509bb7:0x3b},_0x330aef=_0x1b81ec[_0x32ec2b(0x349,_0x7f5500._0x246925,0x24f,_0x7f5500._0x36c15b)]??_0x1b81ec[_0xabf9ec(_0x7f5500._0x43340f,_0x7f5500._0xbfe8f6,0x601,_0x7f5500._0x25f2ea)],_0x3bb47f=await findPackageBinary(_0x330aef,_0x1b81ec[_0x32ec2b(0x15c,_0x7f5500._0x33a60c,0x1c5,0x8f)]);if(_0x3bb47f)return _0x3bb47f;function _0x32ec2b(_0x1e80b4,_0x5262c5,_0x44bb75,_0x3834b4){return _0x475ba1(_0x44bb75,_0x3834b4-_0x58a6e4._0x1a1d0f,_0x44bb75-0x68,_0x3834b4-_0x58a6e4._0x509bb7);}const _0x3e86a2=await findPathBinary(_0x330aef,_0x1b81ec['packageName']);function _0xabf9ec(_0x413563,_0x145969,_0x2ab382,_0x3b9380){return _0x511d68(_0x413563-_0x4d9ba4._0x38f5da,_0x145969-_0x4d9ba4._0x18183e,_0x2ab382-_0x4d9ba4._0x5aee37,_0x3b9380);}if(_0x3e86a2)return _0x3e86a2;const _0x253478=_0x1b81ec[_0x32ec2b(_0x7f5500._0x11f387,_0x7f5500._0x237eec,-0x29,_0x7f5500._0x3b616c)]??process['env'];if(shouldDisableLspDownload(_0x253478))return void 0x0;const _0x42e88b=getLspPackageDir(_0x1b81ec[_0x32ec2b(_0x7f5500._0x25cce8,-0x3c,_0x7f5500._0x3399d1,_0x7f5500._0x57eced)]),_0x4aead0=_0x1b81ec[_0xabf9ec(0x59b,_0x7f5500._0xbfe8f6,_0x7f5500._0x27875d,_0x7f5500._0x54a8bd)]+':'+_0x330aef;let _0x48b600=installPromises['get'](_0x4aead0);!_0x48b600&&(_0x48b600=((async()=>{function _0x39ae2f(_0x31dd85,_0x30062c,_0x71f819,_0x42a3d7){return _0xabf9ec(_0x31dd85-0x31,_0x30062c- -_0xefd88b._0x2485d6,_0x71f819-_0xefd88b._0x39daba,_0x31dd85);}await mkdir(_0x42e88b,{'recursive':!![]});function _0x2ea996(_0x3095dd,_0x25e765,_0x53c6c0,_0x44e372){return _0x32ec2b(_0x3095dd-0x1ab,_0x25e765-0x163,_0x44e372,_0x53c6c0-0x50a);}const _0x42df4b=await runNpmInstall(_0x42e88b,_0x1b81ec[_0x39ae2f(-_0x2b6a26._0x53e465,_0x2b6a26._0x7e1aa7,_0x2b6a26._0x33d6bb,0x141)],_0x253478);if(!_0x42df4b)return void 0x0;const _0x289ca0=_0x24af4c[_0x2ea996(_0x2b6a26._0x47951f,_0x2b6a26._0x4d170a,_0x2b6a26._0x1abc3a,_0x2b6a26._0x22c64d)](getLspBinDir(_0x1b81ec[_0x2ea996(_0x2b6a26._0x57539c,0x4b5,0x632,_0x2b6a26._0x4ca170)]),binaryNameForPlatform(_0x330aef));return await exists(_0x289ca0)?_0x289ca0:void 0x0;})()),installPromises[_0xabf9ec(_0x7f5500._0x3019ce,_0x7f5500._0x1e0bc9,0x8c3,0x6f6)](_0x4aead0,_0x48b600));try{return await _0x48b600;}catch{return void 0x0;}finally{installPromises[_0xabf9ec(_0x7f5500._0x5c87ed,_0x7f5500._0x21f1ac,0x6c0,_0x7f5500._0x355528)](_0x4aead0);}}var TYPESCRIPT_EXTENSIONS=[_0x475ba1(0x137,0x1a,-0xd5,-0x10b),_0x475ba1(0xf1,0xdf,0xe0,0xe3),_0x475ba1(0x6f,-0x30,0x52,0x68),_0x511d68(0x421,0x55b,0x3f4,0x3f4),_0x475ba1(0x268,0x2ad,0x420,0x26e),'.cjs',_0x511d68(0x5cb,0x4d0,0x588,0x49d),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x511d68(0x80b,0x689,0x7b3,0x652),_0x475ba1(0x9c,0x74,0x12b,0x69)],TYPESCRIPT_ROOT_MARKERS=[_0x511d68(0x317,0x49b,0x552,0x5a6),_0x511d68(0x3a9,0x4e6,0x3d8,0x62a),'bun.lock',_0x511d68(0x79e,0x687,0x725,0x59d),_0x511d68(0x6f8,0x6fe,0x668,0x833),'tsconfig.json','jsconfig.json',_0x511d68(0x4fb,0x4a4,0x34d,0x5c0)],BIOME_ROOT_MARKERS=[_0x475ba1(0x7f,0x82,-0xf7,-0x35),_0x511d68(0x4e2,0x48e,0x550,0x3c1),_0x475ba1(-0xda,0x4e,0x164,0x74),_0x475ba1(-0xa6,0x99,-0x84,0xb0),_0x511d68(0x66f,0x5b0,0x69d,0x509),_0x511d68(0x7e2,0x687,0x5bb,0x771),_0x511d68(0x611,0x6fe,0x618,0x757),_0x475ba1(0x193,0x57,-0x11f,0x19b)];async function exists2(_0x5ac77a){try{return await _0x4770d3(_0x5ac77a),!![];}catch{return![];}}async function findUp(_0x40bcf5,_0x3905e7){const _0x444765={_0x36b94b:0x675,_0x416a03:0x56d,_0x28177b:0x461,_0x167e97:0x5e5,_0x11d16c:0xe},_0xc98020={_0x4e981c:0x1b2},_0x581171={_0x22a4bb:0x27,_0x798659:0x6d};let _0x50a434=_0x3c9408['resolve'](_0x40bcf5);const _0x2c8bfb=_0x3c9408['extname'](_0x50a434);function _0x4e926a(_0x6de684,_0x545047,_0x35ee24,_0x41898b){return _0x475ba1(_0x6de684,_0x41898b- -0xcf,_0x35ee24-_0x581171._0x22a4bb,_0x41898b-_0x581171._0x798659);}function _0x6dd857(_0x31223b,_0x28dda0,_0x30d8d4,_0x4f758d){return _0x511d68(_0x31223b-0x3a,_0x4f758d- -0x98,_0x30d8d4-_0xc98020._0x4e981c,_0x30d8d4);}if(_0x2c8bfb)_0x50a434=_0x3c9408[_0x6dd857(_0x444765._0x36b94b,_0x444765._0x416a03,_0x444765._0x28177b,_0x444765._0x167e97)](_0x50a434);while(!![]){for(const _0x452df5 of _0x3905e7){if(await exists2(_0x3c9408['join'](_0x50a434,_0x452df5)))return _0x50a434;}const _0x180d56=_0x3c9408[_0x4e926a(_0x444765._0x11d16c,0x1de,0x2d8,0x161)](_0x50a434);if(_0x180d56===_0x50a434)return void 0x0;_0x50a434=_0x180d56;}}async function hasDenoRoot(_0x453cdb){const _0x4daf03={_0x36db51:0xa1,_0x26629c:0x895,_0x22fe63:0x69d,_0x3106b4:0x6ba},_0x2f22b1={_0x52896c:0x91},_0x459fb2={_0x203fb8:0x600};function _0x5b6da3(_0x22a70f,_0x490926,_0x185143,_0x25a416){return _0x511d68(_0x22a70f-0x186,_0x185143- -_0x459fb2._0x203fb8,_0x185143-0xa5,_0x25a416);}function _0x6279(_0x435081,_0x157d50,_0x49ce77,_0x5361db){return _0x511d68(_0x435081-0x13b,_0x435081-_0x2f22b1._0x52896c,_0x49ce77-0x11d,_0x49ce77);}return await exists2(_0x3c9408['join'](_0x453cdb,_0x5b6da3(_0x4daf03._0x36db51,-0x5b,0x71,-0x87)))||await exists2(_0x3c9408[_0x6279(0x787,0x726,0x707,_0x4daf03._0x26629c)](_0x453cdb,_0x6279(0x68c,0x566,_0x4daf03._0x22fe63,_0x4daf03._0x3106b4)));}async function resolveTsserverPath(_0x34008a){const _0x45fd85={_0x14c228:0x275,_0x599885:0x2f7,_0x3230f9:0x5b5,_0x1f4627:0x4a5,_0xcd4d0e:0x488,_0x18e5b1:0x1d5,_0x1b123f:0x2cd,_0x3d2cd0:0x491,_0x18a930:0x24c,_0xf0256a:0x39e,_0x1694cd:0x485,_0xefa2d3:0x39e,_0x4ec73a:0x3d6,_0x3ac5e6:0x39f,_0xefa9c6:0x37d,_0x51375d:0x439,_0x5eb1fb:0xfa,_0x369d48:0x21e,_0x4ec263:0x26a,_0x1f34cb:0x3cf},_0x14f930={_0x5659a4:0x10a},_0x1abcf1={_0x1cbdf8:0x1ca};let _0x5ac106=_0x3c9408['resolve'](_0x34008a);while(!![]){const _0x5a673c=_0x3c9408[_0x2b4f10(0x37d,0x28e,_0x45fd85._0x14c228,_0x45fd85._0x599885)](_0x5ac106,_0x205843(0x5aa,_0x45fd85._0x3230f9,_0x45fd85._0x1f4627,_0x45fd85._0xcd4d0e),_0x2b4f10(_0x45fd85._0x18e5b1,0x325,0x25c,_0x45fd85._0x1b123f),_0x205843(0x2bc,_0x45fd85._0x3d2cd0,0x3b8,0x49d),_0x205843(_0x45fd85._0x18a930,0x2ce,_0x45fd85._0xf0256a,_0x45fd85._0x1694cd));if(await exists2(_0x5a673c))return _0x5a673c;const _0x9b358f=_0x3c9408['dirname'](_0x5ac106);if(_0x9b358f===_0x5ac106)break;_0x5ac106=_0x9b358f;}const _0x3568f4=getLspPackageDir('typescript');function _0x205843(_0x215853,_0x5b0f26,_0x135989,_0x440c8e){return _0x475ba1(_0x5b0f26,_0x135989-0x208,_0x135989-_0x1abcf1._0x1cbdf8,_0x440c8e-0xd1);}function _0x2b4f10(_0x456796,_0x2ff98,_0x4fbfa6,_0xf723f8){return _0x511d68(_0x456796-_0x14f930._0x5659a4,_0x456796- -0x379,_0x4fbfa6-0x1,_0xf723f8);}const _0x4e5750=await resolvePackageBinary({'packageName':_0x205843(_0x45fd85._0xefa2d3,_0x45fd85._0x4ec73a,0x309,_0x45fd85._0x3ac5e6),'binaryName':'tsc','startDir':_0x34008a});if(!_0x4e5750)return void 0x0;const _0x258520=_0x3c9408[_0x2b4f10(_0x45fd85._0xefa9c6,0x203,0x426,_0x45fd85._0x51375d)](_0x3568f4,'node_modules',_0x2b4f10(_0x45fd85._0x18e5b1,0x2fa,_0x45fd85._0x5eb1fb,_0x45fd85._0x369d48),'lib',_0x2b4f10(_0x45fd85._0x4ec263,0x168,_0x45fd85._0x1f34cb,0x2fd));return await exists2(_0x258520)?_0x258520:void 0x0;}var TypeScriptServer={'id':_0x475ba1(0x14c,0x101,0x216,-0x1a),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x51db74){const _0x295d4b=await findUp(_0x51db74,TYPESCRIPT_ROOT_MARKERS);if(!_0x295d4b)return void 0x0;return await hasDenoRoot(_0x295d4b)?void 0x0:_0x295d4b;},async 'spawn'(_0x13f0a1){const _0x7c0853={_0x19394f:0x38c,_0x410546:0x4b5,_0x211628:0x432,_0x9ec0c4:0x61f,_0x45de4c:0x52d,_0x12cd5e:0x442,_0x54808c:0x2e1},_0x23e5fe={_0x480d5b:0x8d},_0x41cdf1={_0x4e0e11:0x148,_0x16e3b3:0xaf},_0x3aaa7f=await resolveTsserverPath(_0x13f0a1);function _0x1d3a41(_0x8a8d2a,_0x53f298,_0x2d3268,_0x58ca9d){return _0x511d68(_0x8a8d2a-_0x41cdf1._0x4e0e11,_0x53f298- -0x7f,_0x2d3268-_0x41cdf1._0x16e3b3,_0x2d3268);}if(!_0x3aaa7f)return void 0x0;const _0x3d11da=await resolvePackageBinary({'packageName':_0x1d3a41(_0x7c0853._0x19394f,_0x7c0853._0x410546,0x439,0x5c5),'binaryName':_0x1d3a41(_0x7c0853._0x211628,0x4b5,_0x7c0853._0x9ec0c4,_0x7c0853._0x45de4c),'startDir':_0x13f0a1});function _0x164b8e(_0x211271,_0x586c38,_0x4d3b19,_0x1da628){return _0x475ba1(_0x4d3b19,_0x1da628-_0x23e5fe._0x480d5b,_0x4d3b19-0xed,_0x1da628-0x146);}if(!_0x3d11da)return void 0x0;return{'process':_0x321521(_0x3d11da,[_0x1d3a41(_0x7c0853._0x12cd5e,0x3c1,0x35b,_0x7c0853._0x54808c)],{'cwd':_0x13f0a1,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x3aaa7f}}};}},BiomeServer={'id':_0x475ba1(0x128,-0xa,0x10e,0x117),'name':_0x475ba1(0xec,0x94,0x1fa,0x10),'extensions':BIOME_EXTENSIONS,async 'root'(_0x102a14){return findUp(_0x102a14,BIOME_ROOT_MARKERS);},async 'spawn'(_0x21444b){const _0xbaa57b={_0x46de94:0xb9,_0x532f6d:0x237,_0x5b799b:0x24,_0x5a7845:0x1fa,_0x1a8513:0x352,_0x2ee88f:0x173,_0x2cf9d8:0x41,_0x550cad:0x142,_0x1a97a0:0x16f},_0x12a92b={_0x55cb25:0x3ff},_0x2764cf={_0x64d9ed:0x102},_0x423769=await findPackageBinary('biome',_0x21444b)??await resolvePackageBinary({'packageName':_0x48d972(_0xbaa57b._0x46de94,0x83,_0xbaa57b._0x532f6d,_0xbaa57b._0x5b799b),'binaryName':_0x48d972(0x44,-0x9b,0x1b5,0x68),'startDir':_0x21444b});function _0x31f9b7(_0x321101,_0x5a54f3,_0x1a2450,_0x5b5ee9){return _0x475ba1(_0x5b5ee9,_0x1a2450-0x149,_0x1a2450-0x116,_0x5b5ee9-_0x2764cf._0x64d9ed);}function _0x48d972(_0x4d98c1,_0x169c04,_0x2c8c24,_0x34ec9a){return _0x511d68(_0x4d98c1-0x140,_0x4d98c1- -_0x12a92b._0x55cb25,_0x2c8c24-0x1c0,_0x34ec9a);}if(!_0x423769)return void 0x0;return{'process':_0x321521(_0x423769,[_0x48d972(_0xbaa57b._0x5a7845,0x25b,_0xbaa57b._0x1a8513,_0xbaa57b._0x2ee88f),_0x48d972(_0xbaa57b._0x2cf9d8,0xa0,_0xbaa57b._0x550cad,_0xbaa57b._0x1a97a0)],{'cwd':_0x21444b,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x594847){const _0x217032={_0x1c7d58:0x1a8,_0x131cd9:0x261,_0x530354:0x2f9,_0x2687dc:0xf2,_0x222937:0x197,_0x4ad9f5:0x17b},_0x360e5d={_0x429a0d:0xc4},_0x349f93={_0x5e262d:0x119},_0x2044fc=_0x3c9408[_0x3258a9(_0x217032._0x1c7d58,-0x40,0x10f,0x120)](_0x594847)[_0x1c897c(_0x217032._0x131cd9,0x442,_0x217032._0x530354,0x439)]();function _0x1c897c(_0x539fd4,_0x4becc0,_0xdbb065,_0x49f5cc){return _0x475ba1(_0x539fd4,_0xdbb065-0x11a,_0xdbb065-_0x349f93._0x5e262d,_0x49f5cc-0x138);}function _0x3258a9(_0x4bfb9b,_0x369cbb,_0x44a4f4,_0x1d8a61){return _0x475ba1(_0x1d8a61,_0x44a4f4- -_0x360e5d._0x429a0d,_0x44a4f4-0x1ca,_0x1d8a61-0x96);}return BUILTIN_LSP_SERVERS[_0x1c897c(_0x217032._0x2687dc,0x14,_0x217032._0x222937,_0x217032._0x4ad9f5)](_0x451920=>_0x451920['extensions'][_0x3258a9(-0x133,-0x1b9,-0x9a,-0xd9)](_0x2044fc));}function stateKey(_0x436418,_0x46e2d7){return _0x46e2d7+':'+_0x436418['id'];}function diagnosticsKeyToPath(_0x4dd2e4){const _0x222175={_0x530998:0x2e8,_0x5bc0da:0x1e1},_0x503759={_0x5980b1:0x2da,_0x5c8f2b:0x2e};function _0x562288(_0x5220fb,_0x92cdab,_0x267189,_0x291ba0){return _0x475ba1(_0x291ba0,_0x92cdab-_0x503759._0x5980b1,_0x267189-_0x503759._0x5c8f2b,_0x291ba0-0x28);}if(!_0x4dd2e4[_0x562288(0x2c4,0x31f,_0x222175._0x530998,_0x222175._0x5bc0da)]('file://'))return _0x4dd2e4;return fileURLToPath(_0x4dd2e4);}function nextFileVersion(_0x41741e,_0x35713a){const _0x4f0dce={_0x2e269b:0x320,_0x4e1493:0x381,_0x33baf9:0x31d,_0x22feef:0x242,_0x9c732e:0x20e,_0x3ac523:0x164,_0xe3ad80:0x156},_0x2eef3d={_0x3d19f2:0x539},_0x5799a5={_0x51aaf6:0x1dd,_0x451346:0x368},_0x271271=(_0x41741e[_0x5187c2(_0x4f0dce._0x2e269b,_0x4f0dce._0x4e1493,0x22b,_0x4f0dce._0x33baf9)][_0x5187c2(0x2ef,_0x4f0dce._0x22feef,_0x4f0dce._0x9c732e,0x119)](_0x35713a)??0x1)+0x1;function _0x5187c2(_0x403d5e,_0x2dd438,_0xd5809d,_0x30e867){return _0x511d68(_0x403d5e-_0x5799a5._0x51aaf6,_0xd5809d- -_0x5799a5._0x451346,_0xd5809d-0x10c,_0x30e867);}function _0x442a7f(_0x1342e0,_0x13b63c,_0x5ec821,_0x305dd1){return _0x475ba1(_0x13b63c,_0x1342e0-_0x2eef3d._0x3d19f2,_0x5ec821-0x19a,_0x305dd1-0x144);}return _0x41741e[_0x5187c2(_0x4f0dce._0x3ac523,0x2aa,0x22b,_0x4f0dce._0xe3ad80)]['set'](_0x35713a,_0x271271),_0x271271;}async function collectClientResults(_0x5ea9c0){const _0x4d8b6f={_0x3c1548:0x737,_0x442eeb:0x741,_0x3fbd90:0x659},_0x36f47a={_0x3801a2:0x2,_0x35c0ff:0xa2,_0x1d8a11:0x115};function _0x357a78(_0x4cd4dc,_0x3700a1,_0x1d4b98,_0x418f9d){return _0x511d68(_0x4cd4dc-0x6d,_0x1d4b98-0x179,_0x1d4b98-0xde,_0x4cd4dc);}const _0x2d3295=await Promise[_0x357a78(0x5e9,_0x4d8b6f._0x3c1548,0x723,0x7ca)](_0x5ea9c0);function _0xcaeab2(_0x3267f1,_0x3138a1,_0x592ca7,_0x4019da){return _0x511d68(_0x3267f1-_0x36f47a._0x3801a2,_0x4019da-_0x36f47a._0x35c0ff,_0x592ca7-_0x36f47a._0x1d8a11,_0x592ca7);}return _0x2d3295[_0x357a78(0x6f0,_0x4d8b6f._0x442eeb,_0x4d8b6f._0x3fbd90,0x67b)](_0x19fe1f=>_0x19fe1f[_0x357a78(0x6d6,0x635,0x777,0x8c2)]===_0xcaeab2(0x823,0x7d7,0x65b,0x6cd)?_0x19fe1f[_0x357a78(0x859,0x68b,0x72c,0x807)]:[]);}function createLspService(_0x4e105b={}){const _0x22bfc4={_0x13ea21:0x219,_0x11ea09:0xe8},_0xe026b5={_0x1c382a:0x361,_0x184da6:0x1e8,_0x10607c:0x9b,_0x39a7d4:0x27e,_0x158d28:0x1a7,_0x4639a7:0xbf,_0x5a23ed:0x18d,_0x50edd5:0x88,_0xe37380:0x12e,_0x34463d:0x48,_0x4df360:0x5d4,_0x112c0b:0x36,_0x18cf64:0x128,_0xa7640b:0xdc,_0x1c8711:0x1a8,_0xc36040:0x8b,_0x405f74:0x2ba,_0x1fbe61:0x26e,_0x212fa7:0x13f,_0x411bc5:0x62,_0x537cc9:0xf6},_0x1c7935={_0x29c68f:0x2b5,_0x22fa7c:0x36c,_0x49eefe:0x343},_0x1e2f80={_0x45495c:0x24d,_0x46d362:0x17d},_0x41cc50={_0x1f716d:0x41},_0x47e7b7={_0x4d7a62:0x475,_0x14f9cd:0x5b8},_0x305698={_0x2ce816:0x2cf},_0x26a2be={_0x5d6f33:0x627,_0x239875:0x4ec,_0xb58ff:0x72b},_0x196ba2={_0x53b515:0x2b0},_0x4eda17={_0x46ad68:0xc8},_0x35a3d4={_0x59d11c:0x115,_0x29ff21:0x264,_0x3d1eb4:0x29c,_0x13c2f9:0x118},_0x58efab={_0x202ced:0x9d},_0x4ebd82={_0x4276b0:0x42f,_0x421665:0x396,_0x228bbe:0x63a,_0x1b9d3e:0x42e,_0x2ae0d7:0x196,_0x227f3c:0x244},_0x5974a9={_0x4db870:0x6f7},_0x4dbe51={_0x2a9430:0xd9,_0x31dd6f:0xa,_0x51205f:0x127},_0x50356d={_0x4013ae:0x2e5,_0x12eb90:0xff},_0x153c74={_0x3a399a:0x3b9,_0x2d51ae:0x520},_0x4e9b4b={_0x5078fe:0x1d7,_0x2b768c:0x250,_0x1c7e78:0xf4,_0x316914:0xdc,_0x1aaf99:0x16a},_0x334fe3={_0x23f544:0x94},_0x2befa8={_0x7db4c8:0x3b0},_0x1e5c1c={_0x273146:0x28,_0x1a29d7:0x190},_0x4266ad={_0x2128bb:0x30a},_0x20e18e={_0x4998b7:0x560,_0x44bcb9:0x5f3,_0x3e56c1:0x658},_0xe98afb={_0x124e54:0x44,_0x4c2ce9:0x9f,_0x40aa5d:0xd7,_0x48b5ed:0xe,_0x599f80:0x10b,_0x47ec88:0x42,_0x239d4c:0x2c,_0x180a02:0xb0,_0x313bfe:0xd7,_0x4a40d2:0xae,_0x4ab4ad:0x9e,_0x4723d2:0x8,_0x1b4655:0x17f,_0x4f7442:0x260,_0x40c759:0x163,_0xd65451:0xee,_0x328380:0x46,_0x7ff1f6:0x8f,_0x5cc0dc:0xba},_0x4d6cb3={_0x3845b8:0x357},_0xaa3d1f={_0x173509:0x1ef,_0x290d44:0xa7,_0x6b1c35:0x2f2,_0x4f7099:0x4e3,_0x2a3e4e:0x3aa,_0x7e8dad:0x2b2,_0x15d30c:0x2ff,_0x1e3f74:0xd1,_0x191eb9:0x28c,_0x5a3794:0x88,_0x3e5b32:0xeb,_0x2b2f9d:0x4b,_0x56ac31:0x448,_0xb877c8:0x296,_0x4abb50:0x497,_0x1acace:0x31c},_0x403ab9={_0x19de04:0x157},_0x31ace1={_0x27e8f6:0x118,_0x2f2a0a:0x1c7,_0x5e5be8:0x7d,_0x593707:0x55,_0x119e61:0x719,_0x270dd9:0x7f1,_0x3241df:0x897,_0x3a8cbd:0x7fa,_0x44eff6:0x79d,_0x517088:0x60a,_0x1c5ff2:0x7e1,_0x5311da:0x283,_0x5bb79a:0xe4},_0x4ba4c0={_0x30d8bb:0x2a8,_0x4197ac:0x49f,_0x4c5220:0x328,_0x460257:0x3ef,_0x3f9bf7:0x38,_0x3bac5f:0x30,_0x6afb6d:0x7,_0x50bc1a:0xe8,_0x672eef:0x4de,_0x5177d6:0x334,_0x368f03:0x41f,_0x563f2c:0x585,_0x405ad2:0x2d1,_0x7df3f0:0x30,_0x3b540c:0xa2,_0x5be02d:0x27a,_0x5b82b8:0x12b,_0x40985c:0x117,_0x87c4f0:0xf1,_0xeba7b1:0x3f3,_0x520410:0x3e0,_0x454800:0x101,_0x2074fb:0x12c},_0x12d967={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1a1459=()=>_0x4e105b['enabled']!==![];async function _0x48943a(_0x3fbc2b,_0x4903f9){const _0x304818={_0xeb8aa2:0x17f},_0x163e41={_0x1d6426:0x1ee},_0x3ebe62={_0x8ad340:0x264},_0x4464c3={_0x2bbdf2:0x2ff},_0x42dc9f=stateKey(_0x3fbc2b,_0x4903f9),_0x4b4474=_0x12d967[_0x5d7d0e(_0x31ace1._0x27e8f6,_0x31ace1._0x2f2a0a,_0x31ace1._0x5e5be8,_0x31ace1._0x593707)][_0x12a389(0x63c,0x872,_0x31ace1._0x119e61,_0x31ace1._0x270dd9)](_0x1e995d=>_0x1e995d[_0x5d7d0e(0x17a,0xbb,0x241,0x207)]===_0x3fbc2b['id']&&_0x1e995d['root']===_0x4903f9);if(_0x4b4474)return _0x4b4474;function _0x12a389(_0xc7b9ab,_0x216af2,_0x2af6bb,_0x542802){return _0x4a14(_0x2af6bb-_0x4464c3._0x2bbdf2,_0xc7b9ab);}function _0x5d7d0e(_0x540b0d,_0x46954e,_0x2b9f25,_0x1f23fb){return _0x4a14(_0x2b9f25- -_0x3ebe62._0x8ad340,_0x540b0d);}if(_0x12d967[_0x12a389(_0x31ace1._0x3241df,0x7f2,0x73b,_0x31ace1._0x3a8cbd)][_0x12a389(_0x31ace1._0x44eff6,_0x31ace1._0x517088,0x669,_0x31ace1._0x1c5ff2)](_0x42dc9f))return void 0x0;const _0x47c954=_0x12d967[_0x5d7d0e(_0x31ace1._0x5311da,0x24d,0x177,0x85)][_0x12a389(0x780,0x5ef,0x623,0x72a)](_0x42dc9f);if(_0x47c954)return _0x47c954;const _0x14be7a=((async()=>{function _0x58914e(_0x12549d,_0x3b13b5,_0x53a8be,_0x31c7c9){return _0x5d7d0e(_0x12549d,_0x3b13b5-0x96,_0x3b13b5- -0xad,_0x31c7c9-_0x163e41._0x1d6426);}function _0x561496(_0x293dd8,_0x5ed884,_0x521dcc,_0x49d51d){return _0x5d7d0e(_0x293dd8,_0x5ed884-_0x304818._0xeb8aa2,_0x521dcc-0x269,_0x49d51d-0x159);}try{const _0xb20498=await _0x3fbc2b['spawn'](_0x4903f9);if(!_0xb20498)return _0x12d967['broken'][_0x561496(_0x4ba4c0._0x30d8bb,_0x4ba4c0._0x4197ac,_0x4ba4c0._0x4c5220,_0x4ba4c0._0x460257)](_0x42dc9f),void 0x0;const _0x3096bc=await createLspClient({'server':_0x3fbc2b,'root':_0x4903f9,'handle':_0xb20498}),_0x321587=_0x12d967[_0x58914e(_0x4ba4c0._0x3f9bf7,-_0x4ba4c0._0x3bac5f,-_0x4ba4c0._0x6afb6d,-_0x4ba4c0._0x50bc1a)][_0x561496(_0x4ba4c0._0x672eef,_0x4ba4c0._0x5177d6,_0x4ba4c0._0x368f03,_0x4ba4c0._0x563f2c)](_0x2191a1=>_0x2191a1[_0x561496(0x33a,0x358,0x4aa,0x32c)]===_0x3fbc2b['id']&&_0x2191a1[_0x58914e(0x32,0xec,0x121,-0x92)]===_0x4903f9);if(_0x321587)return await _0x3096bc[_0x561496(0x368,_0x4ba4c0._0x405ad2,0x24c,0x145)](),_0x321587;return _0x12d967[_0x58914e(-0x61,-_0x4ba4c0._0x7df3f0,-0x144,_0x4ba4c0._0x3b540c)]['push'](_0x3096bc),_0x3096bc;}catch{return _0x12d967[_0x58914e(_0x4ba4c0._0x5be02d,_0x4ba4c0._0x5b82b8,0x21,_0x4ba4c0._0x40985c)][_0x58914e(-_0x4ba4c0._0x87c4f0,0x12,0x131,-0x41)](_0x42dc9f),void 0x0;}finally{_0x12d967[_0x561496(0x435,_0x4ba4c0._0xeba7b1,_0x4ba4c0._0x520410,0x3dc)][_0x58914e(_0x4ba4c0._0x454800,_0x4ba4c0._0x2074fb,0xf4,0xa1)](_0x42dc9f);}})());return _0x12d967[_0x5d7d0e(_0x31ace1._0x5bb79a,0x1df,0x177,0x26c)]['set'](_0x42dc9f,_0x14be7a),_0x14be7a;}async function _0x4726df(_0x48c9a5,_0x2cc3c5){const _0x5ef1a2={_0x22b502:0x24d};if(!_0x1a1459())return[];const _0x2f55b2=[];function _0xefaa9d(_0x572acf,_0x55d748,_0xda488b,_0x2a2c66){return _0x4a14(_0x572acf- -_0x5ef1a2._0x22b502,_0x55d748);}function _0x96c24(_0x2ade7b,_0x4ca509,_0x3b8e90,_0x1560c8){return _0x4a14(_0x1560c8-_0x403ab9._0x19de04,_0x2ade7b);}for(const _0x3b8a34 of getServersForFile(_0x48c9a5)){const _0x2336a8=await _0x3b8a34['root'](_0x48c9a5);if(!_0x2336a8)continue;const _0x13d4a5=stateKey(_0x3b8a34,_0x2336a8);if(_0x12d967[_0xefaa9d(_0xaa3d1f._0x173509,0x1d1,_0xaa3d1f._0x290d44,_0xaa3d1f._0x6b1c35)][_0x96c24(_0xaa3d1f._0x4f7099,0x57f,0x5ed,0x4c1)](_0x13d4a5))continue;const _0x171641=_0x12d967[_0x96c24(_0xaa3d1f._0x2a3e4e,_0xaa3d1f._0x7e8dad,_0xaa3d1f._0x15d30c,0x438)][_0xefaa9d(0x1cd,_0xaa3d1f._0x1e3f74,0x134,_0xaa3d1f._0x191eb9)](_0x1e1abf=>_0x1e1abf[_0xefaa9d(0x258,0x1ef,0x22e,0x196)]===_0x3b8a34['id']&&_0x1e1abf[_0x96c24(0x4eb,0x69a,0x415,0x554)]===_0x2336a8);if(_0x171641){_0x2f55b2[_0xefaa9d(-_0xaa3d1f._0x5a3794,-0xfe,-_0xaa3d1f._0x3e5b32,_0xaa3d1f._0x2b2f9d)](_0x171641);continue;}if(!_0x2cc3c5)continue;const _0x2bdd85=await _0x48943a(_0x3b8a34,_0x2336a8);if(_0x2bdd85)_0x2f55b2[_0x96c24(_0xaa3d1f._0x56ac31,_0xaa3d1f._0xb877c8,_0xaa3d1f._0x4abb50,_0xaa3d1f._0x1acace)](_0x2bdd85);}return _0x2f55b2;}async function _0x590a2a(_0x24798a,_0x59e57c=![]){const _0x598f1a={_0xca8893:0x74};function _0x19fc58(_0x3e33e4,_0x18fa4a,_0x34e064,_0x5effe4){return _0x4a14(_0x3e33e4-0x309,_0x18fa4a);}function _0x35e280(_0x3e7843,_0x46ae55,_0x525389,_0x1e4e9e){return _0x4a14(_0x525389-_0x4d6cb3._0x3845b8,_0x3e7843);}const _0xa93bbf=await _0x4726df(_0x24798a,!![]);await Promise[_0x19fc58(_0x20e18e._0x4998b7,0x69d,0x602,_0x20e18e._0x44bcb9)](_0xa93bbf[_0x35e280(0x60a,0x61c,_0x20e18e._0x3e56c1,0x56a)](async _0x5e4ebb=>{const _0x555faa={_0x1c795a:0x88};!_0x12d967[_0x1cc920(0x188,0xb2,0xf7,-0xae)][_0x1cc920(-0xee,_0xe98afb._0x124e54,0x90,-0x12b)](_0x5e4ebb[_0x1cc920(0x113,0x17f,0x217,_0xe98afb._0x4c2ce9)]+':'+_0x5e4ebb[_0x1cc920(0xda,_0xe98afb._0x40aa5d,-_0xe98afb._0x48b5ed,_0xe98afb._0x599f80)]+':'+_0x24798a)&&(await _0x5e4ebb[_0x1cc920(-_0xe98afb._0x47ec88,0x46,0x1aa,-0xf7)][_0x1cc920(_0xe98afb._0x239d4c,-0x3a,-0x151,-_0xe98afb._0x180a02)]({'path':_0x24798a}),_0x12d967[_0x4ca0cf(_0xe98afb._0x313bfe,_0xe98afb._0x4a40d2,_0xe98afb._0x4ab4ad,_0xe98afb._0x4723d2)]['add'](_0x5e4ebb[_0x1cc920(0xd3,_0xe98afb._0x1b4655,_0xe98afb._0x4f7442,0x2ee)]+':'+_0x5e4ebb[_0x4ca0cf(0x6f,_0xe98afb._0x40c759,0xc3,-0x8e)]+':'+_0x24798a));function _0x1cc920(_0x28d418,_0x4d526c,_0x722a84,_0xebb2de){return _0x35e280(_0xebb2de,_0x4d526c-0x61,_0x4d526c- -0x67d,_0xebb2de-_0x598f1a._0xca8893);}function _0x4ca0cf(_0x4d300e,_0x18b725,_0x254012,_0x22b177){return _0x19fc58(_0x254012- -0x643,_0x22b177,_0x254012-_0x555faa._0x1c795a,_0x22b177-0x79);}await _0x5e4ebb[_0x1cc920(_0xe98afb._0xd65451,_0xe98afb._0x328380,-_0xe98afb._0x7ff1f6,-0x12a)][_0x4ca0cf(-_0xe98afb._0x5cc0dc,-0x11a,-0x22,0x117)]({'path':_0x24798a,'version':nextFileVersion(_0x12d967,_0x24798a)});if(_0x59e57c)await _0x5e4ebb['waitForDiagnostics']({'path':_0x24798a});}));}async function _0x17086f(_0x300c90){function _0x187c33(_0x42a15c,_0x8bedc2,_0x1ff696,_0x3268f2){return _0x4a14(_0x1ff696- -_0x4266ad._0x2128bb,_0x3268f2);}await _0x590a2a(_0x300c90[_0x187c33(-_0x1e5c1c._0x273146,-0x72,0xd7,-0x61)],![]);function _0x3b524c(_0x27bc26,_0x14b228,_0x5dd922,_0x51a6c1){return _0x4a14(_0x5dd922-0xea,_0x51a6c1);}return _0x4726df(_0x300c90[_0x187c33(0x95,_0x1e5c1c._0x1a29d7,0xd7,0x255)],![]);}async function _0x2c6ad6(_0x557611){const _0x4272b1={_0x37e2c8:0x8a},_0x2e367b=await _0x17086f(_0x557611);function _0x115279(_0x1487b7,_0x3b2d09,_0xc9c590,_0x8c1e9){return _0x4a14(_0x1487b7-0x38e,_0x3b2d09);}function _0x230fea(_0x2fe52d,_0x416c7f,_0xf96e7f,_0xc9ce16){return _0x4a14(_0x416c7f- -_0x4272b1._0x37e2c8,_0xc9ce16);}return collectClientResults(_0x2e367b[_0x230fea(0x3fc,0x277,0x1f8,0x3af)](_0x3c3461=>_0x3c3461[_0x115279(0x75f,0x765,0x73b,0x6bf)][_0x115279(0x761,0x81e,0x6b4,0x735)](_0x557611)));}return{'isEnabled':_0x1a1459,async 'hasClients'(_0x127c03){function _0x3990d5(_0x33916b,_0xd59264,_0x3d4748,_0x228b77){return _0x4a14(_0x33916b- -_0x2befa8._0x7db4c8,_0x228b77);}function _0x2f6abb(_0x598af0,_0x47a635,_0x2a21c1,_0x2610ee){return _0x4a14(_0x47a635-_0x334fe3._0x23f544,_0x598af0);}return(await _0x4726df(_0x127c03,![]))[_0x3990d5(-0xf4,-_0x4e9b4b._0x5078fe,-_0x4e9b4b._0x2b768c,-0x1ac)]>0x0||getServersForFile(_0x127c03)[_0x3990d5(-_0x4e9b4b._0x1c7e78,-_0x4e9b4b._0x316914,-_0x4e9b4b._0x1aaf99,0x87)]>0x0;},'touchFile':_0x590a2a,async 'diagnostics'(){const _0x57da46={};function _0x2b577d(_0x2f1eef,_0x4e7203,_0x52b138,_0x13749d){return _0x4a14(_0x13749d-0x84,_0x4e7203);}for(const _0x14cf2f of _0x12d967['clients']){for(const [_0x16c602,_0x2b8778]of _0x14cf2f[_0x2b577d(0x3d5,_0x153c74._0x3a399a,0x54d,_0x153c74._0x2d51ae)]){_0x57da46[diagnosticsKeyToPath(_0x16c602)]=_0x2b8778;}}return _0x57da46;},async 'diagnosticsForFile'(_0x185caf){await _0x590a2a(_0x185caf,!![]);function _0x1da3b2(_0x3a0a9c,_0x5ca54a,_0x12035b,_0x1cf937){return _0x4a14(_0x3a0a9c- -0x247,_0x12035b);}const _0x1a73c0=[];for(const _0x1d446f of await _0x4726df(_0x185caf,![])){for(const [_0x268cbd,_0x2aee79]of _0x1d446f[_0x1da3b2(0x255,0x2b0,_0x50356d._0x4013ae,_0x50356d._0x12eb90)]){if(diagnosticsKeyToPath(_0x268cbd)===_0x185caf)_0x1a73c0['push'](..._0x2aee79);}}return _0x1a73c0;},async 'definition'(_0x4f52ca){const _0x4c7c65={_0x5c99b1:0x2f1};function _0x508290(_0x1dcc3b,_0x5a99f5,_0x4841fa,_0x168aae){return _0x4a14(_0x1dcc3b- -_0x4c7c65._0x5c99b1,_0x4841fa);}function _0x5e4eb3(_0x458978,_0x5f2165,_0x58f449,_0x54d8b5){return _0x4a14(_0x5f2165- -0x54,_0x458978);}return collectClientResults((await _0x17086f(_0x4f52ca))[_0x508290(0x10,_0x4dbe51._0x2a9430,-_0x4dbe51._0x31dd6f,-_0x4dbe51._0x51205f)](_0x3cc2d8=>_0x3cc2d8['request'][_0x508290(0xd7,-0xa6,0x1c1,-0xa0)](_0x4f52ca)));},async 'references'(_0x2cdd84){const _0x1c0d78={_0x3805da:0x3e4};function _0x5d8225(_0x5ce6a7,_0x12bc11,_0x5abbbf,_0x1a70df){return _0x4a14(_0x5ce6a7-_0x1c0d78._0x3805da,_0x12bc11);}function _0x3a8f29(_0x381c26,_0x2f91a9,_0x4c3d95,_0x381caf){return _0x4a14(_0x2f91a9-0xe8,_0x4c3d95);}return collectClientResults((await _0x17086f(_0x2cdd84))[_0x5d8225(0x6e5,_0x5974a9._0x4db870,0x579,0x77c)](_0x15fb70=>_0x15fb70[_0x5d8225(0x7b5,0x639,0x76e,0x6e3)]['references'](_0x2cdd84)));},async 'hover'(_0x2efd91){const _0x3bfa97={_0xad7c42:0x1be},_0x5189b3=await Promise[_0x2f8557(0x4f9,0x546,_0x4ebd82._0x4276b0,0x4cc)]((await _0x17086f(_0x2efd91))[_0x2f8557(_0x4ebd82._0x421665,0x4ef,_0x4ebd82._0x228bbe,_0x4ebd82._0x1b9d3e)](_0x13bef6=>_0x13bef6[_0x2f8557(0x563,0x5bf,0x4ec,0x475)][_0x21fc5c(0xcc,0x73,-0x11b,0x36)](_0x2efd91)));function _0x2f8557(_0x106412,_0x4165b9,_0x372ce0,_0x567d7d){return _0x4a14(_0x4165b9-0x1ee,_0x106412);}function _0x21fc5c(_0x40e5b8,_0x10af67,_0x499dd2,_0x2b0385){return _0x4a14(_0x2b0385- -_0x3bfa97._0xad7c42,_0x10af67);}return _0x5189b3[_0x21fc5c(_0x4ebd82._0x2ae0d7,0xd4,_0x4ebd82._0x227f3c,0xd0)](_0xcfb88f=>_0xcfb88f[_0x2f8557(0x6bf,0x59a,0x651,0x60a)]==='fulfilled'&&_0xcfb88f[_0x21fc5c(0x4b,0x2ec,0x2ad,0x1a3)]?[_0xcfb88f[_0x2f8557(0x5c1,0x54f,0x3d6,0x519)]]:[]);},async 'documentSymbol'(_0x373360){const _0x2631de={_0x5e161e:0xcf};await _0x590a2a(_0x373360,![]);function _0x5ccf67(_0x26b97f,_0x3db6d7,_0x579c47,_0x2db234){return _0x4a14(_0x3db6d7- -_0x58efab._0x202ced,_0x26b97f);}function _0x57ee11(_0x357884,_0x160bb0,_0x28a0f3,_0x3b271d){return _0x4a14(_0x28a0f3- -_0x2631de._0x5e161e,_0x3b271d);}return collectClientResults((await _0x4726df(_0x373360,![]))[_0x5ccf67(_0x35a3d4._0x59d11c,_0x35a3d4._0x29ff21,_0x35a3d4._0x3d1eb4,_0x35a3d4._0x13c2f9)](_0x369cc8=>_0x369cc8[_0x57ee11(0x1a5,0x371,0x302,0x35f)][_0x57ee11(0x35d,0x1ac,0x220,0x287)](_0x373360)));},async 'workspaceSymbol'(_0x476dc1){function _0x301524(_0x364156,_0x2e9735,_0x270737,_0x481dd3){return _0x4a14(_0x2e9735-_0x4eda17._0x46ad68,_0x364156);}function _0x1bf7a1(_0x425e64,_0x2a65e5,_0x1547d3,_0x1dfaea){return _0x4a14(_0x2a65e5-_0x196ba2._0x53b515,_0x1547d3);}return collectClientResults(_0x12d967[_0x301524(0x283,0x3a9,0x312,0x28d)][_0x1bf7a1(_0x26a2be._0x5d6f33,0x5b1,_0x26a2be._0x239875,_0x26a2be._0xb58ff)](_0x1cc242=>_0x1cc242[_0x1bf7a1(0x54b,0x681,0x786,0x7fa)]['workspaceSymbol'](_0x476dc1)));},async 'implementation'(_0x439271){const _0x169a89={_0x2bd1ba:0x2e6};function _0x93a573(_0x44b216,_0x34804a,_0x4b0591,_0x355305){return _0x4a14(_0x355305-_0x305698._0x2ce816,_0x4b0591);}function _0x4306b7(_0x5419f7,_0xf13491,_0x2a4110,_0x1c6029){return _0x4a14(_0x5419f7- -_0x169a89._0x2bd1ba,_0x2a4110);}return collectClientResults((await _0x17086f(_0x439271))[_0x93a573(0x603,_0x47e7b7._0x4d7a62,_0x47e7b7._0x14f9cd,0x5d0)](_0x3a1f42=>_0x3a1f42[_0x4306b7(0xeb,0x218,0x98,0x69)][_0x93a573(0x3e6,0x5b5,0x600,0x542)](_0x439271)));},async 'prepareCallHierarchy'(_0xdc98a6){return _0x2c6ad6(_0xdc98a6);},async 'incomingCalls'(_0x55a9f5){const _0xe479b5={_0x3a6f62:0x237};function _0x43256b(_0x26b3ee,_0x22561f,_0x188d8a,_0x23b35f){return _0x4a14(_0x22561f- -_0x41cc50._0x1f716d,_0x26b3ee);}function _0x19ef8d(_0x27a51a,_0xd40fa1,_0x51db01,_0x447417){return _0x4a14(_0x27a51a-_0xe479b5._0x3a6f62,_0xd40fa1);}const _0x743baa=await _0x2c6ad6(_0x55a9f5),_0x38b9a2=await _0x17086f(_0x55a9f5);return collectClientResults(_0x38b9a2[_0x43256b(0x344,_0x1e2f80._0x45495c,_0x1e2f80._0x46d362,0x289)](_0xebe5f0=>_0x743baa['map'](_0x454b02=>_0xebe5f0[_0x19ef8d(0x608,0x5db,0x6a1,0x4a4)][_0x43256b(0x243,0x2ec,0x39e,0x220)](_0x454b02))));},async 'outgoingCalls'(_0x3565cc){function _0x281c2e(_0x45d0e6,_0x483e98,_0x36554c,_0x5ae462){return _0x4a14(_0x45d0e6-0x70,_0x36554c);}function _0x313672(_0x38d38a,_0x3581f3,_0x38a6bc,_0x3f6288){return _0x4a14(_0x3f6288-0xb5,_0x38a6bc);}const _0x2c8ab6=await _0x2c6ad6(_0x3565cc),_0x228086=await _0x17086f(_0x3565cc);return collectClientResults(_0x228086[_0x313672(0x264,_0x1c7935._0x29c68f,_0x1c7935._0x22fa7c,_0x1c7935._0x49eefe)](_0x1d9d1a=>_0x2c8ab6[_0x281c2e(0x371,0x344,0x470,0x471)](_0x410e19=>_0x1d9d1a[_0x313672(0x314,0x316,0x551,0x486)]['outgoingCalls'](_0x410e19))));},async 'shutdown'(){const _0x47da60={_0x494388:0x2c2};if(_0x12d967[_0x328242(0x227,_0xe026b5._0x1c382a,0x1d9,_0xe026b5._0x184da6)])return;_0x12d967[_0x328242(_0xe026b5._0x10607c,0x80,_0xe026b5._0x39a7d4,0x1e8)]=!![],await Promise[_0x328242(_0xe026b5._0x158d28,0x34,0x214,_0xe026b5._0x4639a7)](_0x12d967[_0x328242(_0xe026b5._0x5a23ed,0x176,-_0xe026b5._0x50edd5,0x48)][_0x328242(-0x35,_0xe026b5._0xe37380,-0x82,0x68)](_0x5b8601=>_0x5b8601[_0x2df986(0x500,0x509,0x3ba,0x441)]())),_0x12d967[_0x328242(-0xff,0xf5,-0xc2,_0xe026b5._0x34463d)]=[],_0x12d967['spawning'][_0x2df986(0x78b,0x637,_0xe026b5._0x4df360,0x6cd)]();function _0x328242(_0x46661f,_0x22b1eb,_0x3c01c7,_0x4ff2da){return _0x4a14(_0x4ff2da- -0x299,_0x46661f);}function _0x2df986(_0x3a3075,_0x127089,_0x29f94f,_0x42669a){return _0x4a14(_0x127089-_0x47da60._0x494388,_0x29f94f);}_0x12d967['broken'][_0x328242(_0xe026b5._0x112c0b,_0xe026b5._0x18cf64,0x6,_0xe026b5._0xa7640b)](),_0x12d967[_0x328242(0x132,_0xe026b5._0x1c8711,_0xe026b5._0xc36040,0xa8)]['clear'](),_0x12d967[_0x328242(_0xe026b5._0x405f74,0x221,_0xe026b5._0x1fbe61,_0xe026b5._0x212fa7)][_0x328242(-_0xe026b5._0x411bc5,_0xe026b5._0x537cc9,0x1d9,_0xe026b5._0xa7640b)]();},'status'(){function _0x1fcdd5(_0x4dfcbf,_0x2dd567,_0x14e7c8,_0x771c6e){return _0x4a14(_0x14e7c8- -0xc8,_0x2dd567);}return{'connectedClients':_0x12d967[_0x1fcdd5(0x36f,0x354,_0x22bfc4._0x13ea21,_0x22bfc4._0x11ea09)]['length']};}};}function createQuestionId(){const _0x5c4b1a={_0x5e288c:0x49a,_0x1ebba7:0x49c,_0x5df24d:0x5eb,_0x4b3625:0x465,_0x40324b:0x375,_0xdbc8d6:0x43e,_0x308052:0x344,_0x416c31:0x460,_0x25e30d:0x532},_0x4c1a98={_0x2c15bc:0x90},_0x5501a8={_0x2b23d3:0x15,_0x554174:0xde};function _0x5b118f(_0x1a332c,_0x4bc243,_0x3f37e1,_0x1ffa12){return _0x511d68(_0x1a332c-0x1c9,_0x4bc243-_0x5501a8._0x2b23d3,_0x3f37e1-_0x5501a8._0x554174,_0x3f37e1);}function _0x67aa73(_0x4f3a67,_0xa7cc8c,_0x5d9bbb,_0x4be4d8){return _0x511d68(_0x4f3a67-_0x4c1a98._0x2c15bc,_0x5d9bbb- -0x139,_0x5d9bbb-0xa9,_0xa7cc8c);}return _0x5b118f(0x645,0x581,_0x5c4b1a._0x5e288c,0x476)+Date[_0x5b118f(_0x5c4b1a._0x1ebba7,0x5f6,0x76a,0x4c6)]()+'-'+Math[_0x5b118f(_0x5c4b1a._0x5df24d,_0x5c4b1a._0x4b3625,_0x5c4b1a._0x40324b,_0x5c4b1a._0xdbc8d6)]()[_0x67aa73(0x34c,_0x5c4b1a._0x308052,_0x5c4b1a._0x416c31,_0x5c4b1a._0x25e30d)](0x24)['slice'](0x2,0x9);}function validateInput(_0x5b28ea){const _0x10fde1={_0x2fabf4:0x187,_0x5cf43f:0x42d,_0xd975d6:0x308,_0x51891b:0x3c5,_0x1a1af9:0x2f9,_0x3bab8f:0x3c5,_0x49449:0x23c,_0x55bb36:0x2a1,_0x2dcf26:0x2cf,_0x4148b2:0x279,_0x46a4c3:0x47f,_0xea8020:0x506,_0x2209fa:0x3bb,_0x2c2b43:0x317,_0x436100:0x36c,_0x5488e3:0x2f9,_0x30f446:0x2a2,_0x5a0fdf:0x49e,_0x3222d6:0x460,_0x2393d2:0x392,_0x4c8335:0x27c,_0x1a6e3f:0x306,_0x3860dc:0x397,_0x4cdfd3:0xad,_0xe01e8e:0x1a4,_0x22a4f0:0xc1,_0x4dad06:0x1e7,_0x4c1dd0:0x37a,_0x1e5d0e:0x28a,_0x2ca5d6:0x459,_0x3f6b1f:0x32b,_0x2c4b9e:0x30f,_0xa2b416:0x397,_0x5866f9:0x273,_0x140c72:0x8a,_0x592335:0x467,_0x749d2:0x529,_0x4bf208:0x436,_0x36fc8c:0x2db,_0x49be7a:0x2b9,_0x79c6e6:0x1c0,_0x386054:0x439,_0xad34b2:0x480,_0x5272c7:0x467,_0x506c55:0x5e2,_0x1dc5dc:0x3c8,_0x4e0feb:0x39d,_0x14688c:0x532,_0xa7eb8f:0x316,_0x5edf47:0x438,_0x2bdbc7:0x2d7,_0x2aa95b:0x204,_0x50e213:0x28e,_0x536527:0x204,_0x3d9a9f:0x23d,_0x523a06:0x1ac,_0x3b9213:0xf4,_0x3ac8a7:0x357,_0x369131:0x448,_0x19c027:0x35d,_0x4224fc:0x2da,_0x46fcab:0x3d4,_0x1b9591:0x268,_0x51353f:0x2e7,_0xfbd048:0x40c,_0x21b794:0x3ac,_0x2b7c99:0x31e,_0x132811:0x500,_0x587299:0x2b8,_0x2f6379:0x6a3,_0x991100:0x4cf,_0x46d9cd:0x3fd},_0x444ed7={_0x33aae3:0x171,_0x7bb5c8:0x175},_0x3bd84e={_0x21c27b:0x1,_0x521def:0x169};function _0x4e5c82(_0x171edd,_0x1c93ff,_0x34c991,_0xb052bf){return _0x475ba1(_0x171edd,_0xb052bf-0xff,_0x34c991-_0x3bd84e._0x21c27b,_0xb052bf-_0x3bd84e._0x521def);}function _0x165c78(_0x2e5f27,_0x19addb,_0xa6213c,_0x2b1770){return _0x511d68(_0x2e5f27-0xca,_0x2e5f27- -_0x444ed7._0x33aae3,_0xa6213c-_0x444ed7._0x7bb5c8,_0x2b1770);}if(!Array[_0x4e5c82(_0x10fde1._0x2fabf4,0x2e1,0x12a,0x1eb)](_0x5b28ea['questions'])||_0x5b28ea['questions'][_0x165c78(0x39d,_0x10fde1._0x5cf43f,_0x10fde1._0xd975d6,_0x10fde1._0x51891b)]<0x1||_0x5b28ea[_0x165c78(_0x10fde1._0x1a1af9,_0x10fde1._0x3bab8f,_0x10fde1._0x49449,0x325)][_0x165c78(0x39d,_0x10fde1._0x55bb36,_0x10fde1._0x2dcf26,_0x10fde1._0x4148b2)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x165c78(0x4eb,_0x10fde1._0x46a4c3,0x3e7,_0x10fde1._0xea8020)});for(let _0x4780fb=0x0;_0x4780fb<_0x5b28ea[_0x165c78(0x2f9,0x2c0,0x3f7,0x43e)][_0x165c78(0x39d,_0x10fde1._0x2209fa,_0x10fde1._0x2c2b43,_0x10fde1._0x436100)];_0x4780fb+=0x1){const _0x5ea323=_0x5b28ea[_0x165c78(_0x10fde1._0x5488e3,_0x10fde1._0x30f446,0x344,0x2c2)][_0x4780fb];if(!_0x5ea323[_0x165c78(0x3bc,_0x10fde1._0x5a0fdf,0x49e,0x26c)]||typeof _0x5ea323[_0x165c78(0x3bc,_0x10fde1._0x3222d6,0x2b3,_0x10fde1._0x2393d2)]!==_0x4e5c82(0x2d4,0x3a4,0x1b8,_0x10fde1._0x4c8335))throw new ToolExecutionError(_0x4e5c82(0x3dc,_0x10fde1._0x1a6e3f,0x2f6,_0x10fde1._0x3860dc)+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x4cdfd3,_0x10fde1._0xe01e8e,-0x8d,_0x10fde1._0x22a4f0));if(!_0x5ea323[_0x4e5c82(_0x10fde1._0x4dad06,_0x10fde1._0x4c1dd0,0x3a0,_0x10fde1._0x1e5d0e)]||typeof _0x5ea323['topic']!==_0x165c78(_0x10fde1._0x2ca5d6,0x4df,0x432,_0x10fde1._0x3f6b1f))throw new ToolExecutionError(_0x4e5c82(0x31a,_0x10fde1._0x2c4b9e,0x37c,_0x10fde1._0xa2b416)+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x5866f9,0x2ea,_0x10fde1._0x140c72,0x1bf));if(_0x5ea323[_0x165c78(_0x10fde1._0x592335,_0x10fde1._0x749d2,_0x10fde1._0x4bf208,0x3cb)][_0x4e5c82(_0x10fde1._0x36fc8c,0x21a,_0x10fde1._0x49be7a,_0x10fde1._0x79c6e6)]>0x1e)throw new ToolExecutionError(_0x4e5c82(0x237,_0x10fde1._0x386054,_0x10fde1._0xad34b2,0x397)+(_0x4780fb+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x5ea323[_0x165c78(_0x10fde1._0x5272c7,_0x10fde1._0x506c55,0x5b3,_0x10fde1._0x1dc5dc)][_0x165c78(_0x10fde1._0x4e0feb,0x39c,0x51e,0x259)]);if(!Array[_0x165c78(0x3c8,_0x10fde1._0x14688c,_0x10fde1._0xa7eb8f,_0x10fde1._0x5edf47)](_0x5ea323[_0x4e5c82(0x18a,0x2d5,_0x10fde1._0x2bdbc7,_0x10fde1._0x2aa95b)])||_0x5ea323[_0x4e5c82(0x113,_0x10fde1._0x50e213,0x285,_0x10fde1._0x536527)]['length']<0x2||_0x5ea323[_0x4e5c82(_0x10fde1._0x3d9a9f,_0x10fde1._0x523a06,_0x10fde1._0x3b9213,0x204)][_0x165c78(_0x10fde1._0x4e0feb,0x398,_0x10fde1._0x3ac8a7,0x2a4)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x369131,0x1d8,0x3df,_0x10fde1._0x19c027));for(let _0x3eb3cb=0x0;_0x3eb3cb<_0x5ea323[_0x165c78(0x3e1,_0x10fde1._0x4224fc,0x3ac,_0x10fde1._0x46fcab)][_0x165c78(0x39d,0x2a2,0x2a5,0x3f3)];_0x3eb3cb+=0x1){const _0x4fd715=_0x5ea323[_0x4e5c82(0x158,_0x10fde1._0x1b9591,_0x10fde1._0x51353f,0x204)][_0x3eb3cb];if(!_0x4fd715[_0x4e5c82(_0x10fde1._0xfbd048,0x4a3,_0x10fde1._0x3bab8f,0x349)]||!_0x4fd715[_0x165c78(0x300,0x319,_0x10fde1._0x21b794,0x1d4)])throw new ToolExecutionError('Question\x20'+(_0x4780fb+0x1)+_0x165c78(0x34c,0x302,0x2f7,0x385)+(_0x3eb3cb+0x1)+_0x165c78(0x2dc,_0x10fde1._0x2b7c99,0x1b7,0x162));}if(typeof _0x5ea323[_0x165c78(0x54b,_0x10fde1._0x132811,0x56e,0x6b3)]!==_0x4e5c82(0x140,0x1bd,0x18f,_0x10fde1._0x587299))throw new ToolExecutionError(_0x165c78(0x574,0x465,_0x10fde1._0x2f6379,_0x10fde1._0x991100)+(_0x4780fb+0x1)+_0x165c78(0x3a2,_0x10fde1._0x46d9cd,0x33a,0x515));}}function buildQuestions(_0x1d9aa7){const _0x25d086={_0x5a5a30:0x437,_0x103342:0x2a4,_0x529f08:0x13,_0x3a0fd1:0xf9},_0xa7b2ff={_0x132569:0x1d7,_0x4c03f1:0x41d,_0x1174d0:0x116},_0x158946={_0x124dcb:0x512,_0x2e5caf:0xfa};function _0x9a6df3(_0x2362c0,_0x3c11c5,_0x3984be,_0x2114b7){return _0x475ba1(_0x2114b7,_0x3984be-_0x158946._0x124dcb,_0x3984be-_0x158946._0x2e5caf,_0x2114b7-0x8a);}function _0x3125f1(_0x362071,_0x246d8a,_0x3e1a7f,_0x2c674b){return _0x511d68(_0x362071-_0xa7b2ff._0x132569,_0x3e1a7f- -_0xa7b2ff._0x4c03f1,_0x3e1a7f-_0xa7b2ff._0x1174d0,_0x246d8a);}return _0x1d9aa7[_0x9a6df3(_0x25d086._0x5a5a30,0x3c3,0x52f,0x55f)][_0x3125f1(_0x25d086._0x103342,_0x25d086._0x529f08,0x136,_0x25d086._0x3a0fd1)]((_0x45b44b,_0x21307f)=>({'id':'q'+_0x21307f,'question':_0x45b44b['question'],'topic':_0x45b44b[_0x3125f1(0x103,0x13f,0x1bb,0x9f)],'options':_0x45b44b[_0x3125f1(0x227,0x1df,0x135,0x0)],'multiSelect':_0x45b44b[_0x9a6df3(0x828,0x725,0x781,0x740)]}));}function createResult(_0x41b1d6,_0x51898e,_0x30736b){const _0x115617={_0x21f43c:0x6f1,_0x1d1307:0x537,_0x4fac66:0x634},_0x36ca62={_0x1c449c:0x122,_0x358757:0x135},_0x56aedb={'questionId':_0x41b1d6,'questionCount':_0x51898e,'answers':_0x30736b};function _0x144a0c(_0x296d16,_0x3d507,_0x1c4684,_0x57045b){return _0x511d68(_0x296d16-_0x36ca62._0x1c449c,_0x57045b-_0x36ca62._0x358757,_0x1c4684-0x79,_0x3d507);}return createToolOutput(_0x144a0c(0x610,_0x115617._0x21f43c,_0x115617._0x1d1307,_0x115617._0x4fac66)+JSON['stringify'](_0x30736b,null,0x2),_0x56aedb);}function createAskUserTool(){const _0x500119={_0x3d3e37:0x49e,_0x41eed2:0x5c2,_0x1c15bd:0x386,_0x440519:0x235,_0x17165b:0x559,_0x104bea:0x442,_0x954cbb:0x668,_0xf8b901:0x250,_0x5908e8:0x109,_0x463030:0x1d7,_0x2f0d53:0x235,_0x69a16d:0x6fa,_0x4f52da:0x175,_0x1b8a63:0x271,_0x5c4a18:0x324,_0x3a0189:0x1c8,_0xaf530e:0x198,_0x1108da:0x243,_0x3ac5df:0x1c7,_0x766e49:0xff},_0x47ff8c={_0x5dcf20:0x8b,_0x31c51c:0x2f,_0x42bb8a:0x7b,_0x1e1658:0xaa,_0x3a409b:0x5e,_0x2bd136:0xc7,_0x136c25:0x1a4,_0x45fbcd:0xd0,_0x38fe37:0x3d,_0x38422b:0x50,_0x1d2c1e:0x2f,_0x325387:0x16e,_0x223958:0x18f,_0x24ef06:0x10,_0x26b143:0x15c,_0x5d4644:0x67,_0x5a2e5f:0x137,_0x4c8af6:0x154,_0x49b2c6:0x254,_0x3ab729:0x179,_0x2ba382:0x94,_0x11ad3e:0x6d,_0x59e305:0x51,_0x2f9a47:0xdd},_0x510525={_0x4e78f5:0x1f1,_0x5d0add:0x484},_0x5d4b2e={_0x293d03:0xb8,_0x370050:0x15d,_0x518ee6:0x174},_0x266f6d={_0x41163c:0x1d};function _0x1cebf9(_0x4b509c,_0x350de0,_0x548c68,_0x21c351){return _0x511d68(_0x4b509c-0x121,_0x548c68- -_0x266f6d._0x41163c,_0x548c68-0x1b4,_0x4b509c);}function _0x2710e2(_0x28e126,_0x4bfc27,_0x48d7bb,_0x23d39a){return _0x475ba1(_0x23d39a,_0x4bfc27-_0x5d4b2e._0x293d03,_0x48d7bb-_0x5d4b2e._0x370050,_0x23d39a-_0x5d4b2e._0x518ee6);}return defineTool({'name':'AskUserTool','description':_0x1cebf9(_0x500119._0x3d3e37,0x59b,0x4b7,_0x500119._0x41eed2),'inputSchema':{'type':'object','properties':{'questions':{'type':'array','items':{'type':'object','properties':{'question':{'type':_0x2710e2(_0x500119._0x1c15bd,_0x500119._0x440519,0x337,0x3a8)},'topic':{'type':_0x1cebf9(_0x500119._0x17165b,_0x500119._0x104bea,0x5ad,_0x500119._0x954cbb)},'options':{'type':_0x2710e2(0x38c,_0x500119._0xf8b901,_0x500119._0x5908e8,0x379),'items':{'type':'object','properties':{'label':{'type':_0x2710e2(_0x500119._0x463030,_0x500119._0x2f0d53,0x258,0x127)},'description':{'type':'string'}},'required':[_0x1cebf9(0x591,_0x500119._0x69a16d,0x67a,0x538),_0x2710e2(0x36,0xdc,0x146,0x25)]}},'multiSelect':{'type':_0x2710e2(_0x500119._0x4f52da,_0x500119._0x1b8a63,_0x500119._0x5c4a18,_0x500119._0x3a0189)}},'required':[_0x2710e2(0x2c4,_0x500119._0xaf530e,0x142,0x98),_0x2710e2(0x2c5,_0x500119._0x1108da,_0x500119._0x3ac5df,0x2a2),_0x2710e2(0x116,0x1bd,0x1de,0x1ae),'multiSelect']}},'answers':{'type':_0x2710e2(0x1bc,0x27e,0x38b,_0x500119._0x766e49),'properties':{}}},'required':['questions']},async *'execute'(_0x56e0d6,_0x4e1c44){const _0x519b28={_0x587f30:0x11b,_0x27b369:0x16};function _0x159814(_0x1aac5d,_0x3c36c7,_0x16b4c5,_0x5de037){return _0x2710e2(_0x1aac5d-0x108,_0x3c36c7- -_0x519b28._0x587f30,_0x16b4c5-_0x519b28._0x27b369,_0x16b4c5);}const _0x35bd59=_0x56e0d6;validateInput(_0x35bd59);const _0x2c288d=_0x4e1c44[_0x159814(_0x47ff8c._0x5dcf20,0xe5,0x157,-0x86)]??createQuestionId();if(_0x35bd59[_0x159814(0xa5,-_0x47ff8c._0x31c51c,-0x67,0x9f)]&&Object['keys'](_0x35bd59[_0x159814(_0x47ff8c._0x42bb8a,-0x2f,_0x47ff8c._0x1e1658,-0x16e)])[_0x159814(0x150,_0x47ff8c._0x3a409b,_0x47ff8c._0x2bd136,_0x47ff8c._0x136c25)]>0x0)return createResult(_0x2c288d,_0x35bd59['questions'][_0x159814(-_0x47ff8c._0x45fbcd,_0x47ff8c._0x3a409b,-_0x47ff8c._0x38fe37,_0x47ff8c._0x38422b)],_0x35bd59[_0x159814(0x88,-_0x47ff8c._0x1d2c1e,-_0x47ff8c._0x325387,-_0x47ff8c._0x223958)]);if(!_0x4e1c44[_0xe47741(_0x47ff8c._0x24ef06,-_0x47ff8c._0x26b143,_0x47ff8c._0x5d4644,-_0x47ff8c._0x5a2e5f)])throw new ToolExecutionError(_0x159814(0x297,_0x47ff8c._0x4c8af6,_0x47ff8c._0x49b2c6,_0x47ff8c._0x3ab729));const _0x341231=buildQuestions(_0x35bd59),_0x2d9e95=await _0x4e1c44[_0x159814(-0xdb,0x1,_0x47ff8c._0x2ba382,-0x112)]({'questionId':_0x2c288d,'questions':_0x341231});function _0xe47741(_0x19b201,_0x9bb0a1,_0x436803,_0x29521c){return _0x1cebf9(_0x436803,_0x9bb0a1-_0x510525._0x4e78f5,_0x19b201- -_0x510525._0x5d0add,_0x29521c-0x17f);}yield createResult(_0x2c288d,_0x35bd59['questions'][_0xe47741(_0x47ff8c._0x11ad3e,-_0x47ff8c._0x59e305,-0x89,-_0x47ff8c._0x2f9a47)],_0x2d9e95);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x45659e}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x4e6b8c){return _0x4e6b8c instanceof Error;}function resolveCarriageReturns(_0x270306){const _0x1b7fe1={_0x51c5b7:0x3d3,_0x17d1a8:0x5e3,_0x4dc1e1:0x425,_0x85f005:0x2f7},_0x387540={_0x22aa36:0x153,_0x4bcd12:0x74,_0x523dc1:0x137,_0x16e36a:0x433,_0x47f81f:0x58,_0x6e0fb:0x23,_0x20910e:0x171},_0x238fe8={_0x519756:0x163},_0x5d9c72={_0x9e94d3:0x21};function _0x207652(_0x4bc4f4,_0xb73948,_0x3bf4bb,_0x441fe0){return _0x511d68(_0x4bc4f4-0x137,_0x441fe0- -0x6a,_0x3bf4bb-_0x5d9c72._0x9e94d3,_0x4bc4f4);}function _0x3f9749(_0x212ba5,_0x3b4d5a,_0x957a74,_0x275a3c){return _0x475ba1(_0x957a74,_0x212ba5-0x2a0,_0x957a74-_0x238fe8._0x519756,_0x275a3c-0x64);}return _0x270306[_0x3f9749(0x4d5,_0x1b7fe1._0x51c5b7,_0x1b7fe1._0x17d1a8,_0x1b7fe1._0x4dc1e1)]('\x0a')[_0x3f9749(0x3a6,0x367,0x3a3,_0x1b7fe1._0x85f005)](_0x2f3219=>{const _0x207de1={_0x3084f0:0x111,_0x51d6b6:0x159},_0x247dec={_0x446fe7:0x19c,_0x40920e:0x3,_0x2c6d00:0x1ff};function _0x1095d3(_0x2c95b0,_0xd337f0,_0x38b691,_0x17bb27){return _0x207652(_0xd337f0,_0xd337f0-_0x247dec._0x446fe7,_0x38b691-_0x247dec._0x40920e,_0x2c95b0- -_0x247dec._0x2c6d00);}if(!_0x2f3219[_0x12a3bd(-0x125,-_0x387540._0x22aa36,-_0x387540._0x4bcd12,-_0x387540._0x523dc1)]('\x0d'))return _0x2f3219;const _0x4a7dbe=_0x2f3219[_0x1095d3(0x419,0x3eb,_0x387540._0x16e36a,0x4fe)]('\x0d');function _0x12a3bd(_0x2d1348,_0x94502d,_0x3bf81f,_0x466517){return _0x207652(_0x2d1348,_0x94502d-_0x207de1._0x3084f0,_0x3bf81f-_0x207de1._0x51d6b6,_0x3bf81f- -0x481);}return _0x4a7dbe[_0x4a7dbe[_0x12a3bd(_0x387540._0x47f81f,0xd4,_0x387540._0x6e0fb,_0x387540._0x20910e)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x4731da){const _0x2ec9f6={_0xbc1da:0x482,_0x24cf34:0x528,_0x53b5c3:0x5b5,_0xaaec8d:0x4d2,_0x89a951:0x5f2,_0x330b31:0x64b,_0x8a4ce2:0x28b,_0x4ad08e:0x41c,_0x592060:0x7bd},_0x20742e={_0x201ca8:0x3e0};function _0x45f929(_0x49416a,_0x461664,_0x3b5b95,_0x384a8d){return _0x475ba1(_0x384a8d,_0x3b5b95-0x3a5,_0x3b5b95-0x191,_0x384a8d-0xb1);}const _0x4c6ac2=[];for(const _0x416664 of Array[_0x45f929(_0x2ec9f6._0xbc1da,_0x2ec9f6._0x24cf34,_0x2ec9f6._0x53b5c3,0x4e3)](_0x4731da)){_0x416664==='\x08'?_0x4c6ac2[_0x45f929(_0x2ec9f6._0xaaec8d,_0x2ec9f6._0x89a951,_0x2ec9f6._0x330b31,0x51b)]():_0x4c6ac2[_0x3d3a09(_0x2ec9f6._0x8a4ce2,_0x2ec9f6._0x4ad08e,0x3a0,0x3aa)](_0x416664);}function _0x3d3a09(_0x3cadd9,_0x3235aa,_0x39d92a,_0x28195f){return _0x475ba1(_0x3cadd9,_0x28195f-_0x20742e._0x201ca8,_0x39d92a-0x96,_0x28195f-0x1ec);}return _0x4c6ac2[_0x45f929(_0x2ec9f6._0x592060,0x546,0x64e,0x648)]('');}function stripAnsiAndControls(_0x120d5a){const _0x34a0dc={_0x4ee422:0x1e1,_0x5a530f:0x13e,_0x21432d:0x35,_0x589ad9:0x29c,_0x4bd4ea:0x488,_0x40e6b6:0x3b8,_0x294c90:0x2f7,_0x14c6b3:0x1ff,_0x33a176:0xda,_0x387077:0x2e0,_0x53dc84:0x131,_0x4c6e0d:0x31,_0x17adad:0x19a,_0x20a503:0x51,_0x1be635:0xcf,_0x9c053d:0x31,_0x174451:0x12c,_0x25007b:0xbd,_0x43b5c4:0x188,_0x20093e:0x31,_0xe0ae74:0x98},_0x405b3b={_0x5aea19:0x1b,_0x217fd9:0x5c},_0x7f1c16={_0x48ab5c:0xbf};_0x120d5a=resolveCarriageReturns(_0x120d5a),_0x120d5a=resolveBackspaces(_0x120d5a),_0x120d5a=stripVTControlCharacters(_0x120d5a);function _0x674f6c(_0x8f6b6c,_0x2d1b93,_0x30dd82,_0xcac1d6){return _0x511d68(_0x8f6b6c-0x195,_0x2d1b93- -0x40d,_0x30dd82-_0x7f1c16._0x48ab5c,_0x8f6b6c);}const _0x4e3e5a='\x1b',_0x4df7d8='\x07';_0x120d5a=_0x120d5a[_0x3291a4(_0x34a0dc._0x4ee422,0x146,_0x34a0dc._0x5a530f,-_0x34a0dc._0x21432d)](new RegExp(_0x3291a4(_0x34a0dc._0x589ad9,_0x34a0dc._0x4bd4ea,_0x34a0dc._0x40e6b6,0x289)+_0x4df7d8+_0x674f6c(_0x34a0dc._0x294c90,_0x34a0dc._0x14c6b3,_0x34a0dc._0x33a176,_0x34a0dc._0x387077)+_0x4df7d8,'g'),''),_0x120d5a=_0x120d5a['replace'](new RegExp(';[^\x5cn]*?'+_0x4e3e5a+'\x5c\x5c','g'),''),_0x120d5a=_0x120d5a[_0x674f6c(-_0x34a0dc._0x53dc84,_0x34a0dc._0x4c6e0d,-0x41,0x60)](new RegExp(_0x4df7d8,'g'),''),_0x120d5a=_0x120d5a[_0x674f6c(-0x153,0x31,0xd,_0x34a0dc._0x17adad)](new RegExp(_0x4e3e5a+_0x674f6c(0x225,0xa2,-0xb2,-_0x34a0dc._0x20a503)+_0x4e3e5a+'\x5c\x5c','g'),''),_0x120d5a=_0x120d5a['replace'](new RegExp(_0x4e3e5a+'[=>7-8()]','g'),''),_0x120d5a=_0x120d5a[_0x674f6c(_0x34a0dc._0x1be635,_0x34a0dc._0x9c053d,_0x34a0dc._0x174451,_0x34a0dc._0x25007b)](/[\u0080-\u009F]/g,''),_0x120d5a=_0x120d5a[_0x674f6c(_0x34a0dc._0x43b5c4,_0x34a0dc._0x20093e,0xa1,_0x34a0dc._0xe0ae74)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,'');function _0x3291a4(_0x1bb63a,_0x106dcf,_0x3049e1,_0x5e0b82){return _0x475ba1(_0x106dcf,_0x3049e1-0x14d,_0x3049e1-_0x405b3b._0x5aea19,_0x5e0b82-_0x405b3b._0x217fd9);}return _0x120d5a=_0x120d5a[_0x674f6c(0x11,0x31,-0xca,-0x153)](/[\u23CE\u2424]/g,''),_0x120d5a;}function killProcessGroup(_0x189752,_0x3dda26,_0x391cd9=_0x511d68(0x681,0x5cb,0x508,0x449)){const _0x28ae8d={_0x4a17dc:0x75,_0x2f37ba:0x9c,_0x593647:0x6f,_0x3d9018:0x157,_0x2e47dd:0x2de,_0x4878ca:0x180,_0x514cc:0x220,_0x56a451:0x17e,_0x26446c:0x4a,_0x4942de:0x69,_0x39dde6:0x78,_0x5996aa:0x6e,_0x626b20:0x83,_0x576120:0x4a,_0x4ef3aa:0x1c3,_0x42ca9e:0x55},_0xcd3877={_0x160566:0x95,_0x293d1c:0x13f};if(!_0x189752[_0x19c558(-_0x28ae8d._0x4a17dc,_0x28ae8d._0x2f37ba,0x164,0x211)])return;function _0x4241c6(_0xc526e2,_0x5745be,_0x3ad79a,_0x4ed430){return _0x475ba1(_0x5745be,_0xc526e2-_0xcd3877._0x160566,_0x3ad79a-_0xcd3877._0x293d1c,_0x4ed430-0x1e4);}if(_0x3dda26)try{_0x45659e(_0x19c558(_0x28ae8d._0x593647,0xb5,0x85,_0x28ae8d._0x3d9018),[_0x4241c6(0x2fb,0x20c,_0x28ae8d._0x2e47dd,0x414),_0x189752['pid'][_0x19c558(0xe,_0x28ae8d._0x4878ca,_0x28ae8d._0x514cc,_0x28ae8d._0x56a451)](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x189752[_0x4241c6(_0x28ae8d._0x26446c,-_0x28ae8d._0x4942de,-_0x28ae8d._0x39dde6,0x17d)](_0x391cd9);return;}function _0x19c558(_0x59b7fd,_0x2f5e24,_0x1effee,_0x40873f){return _0x511d68(_0x59b7fd-0x13f,_0x2f5e24- -0x419,_0x1effee-0x1e6,_0x40873f);}try{process['kill'](-_0x189752[_0x4241c6(0xfd,0xca,_0x28ae8d._0x5996aa,_0x28ae8d._0x626b20)],_0x391cd9);}catch{_0x189752[_0x4241c6(_0x28ae8d._0x576120,0x1af,_0x28ae8d._0x4ef3aa,_0x28ae8d._0x42ca9e)](_0x391cd9);}}var BackgroundProcessRegistry=class{[_0x475ba1(0xda,0x15b,0x2b8,0xb9)]=new Map();[_0x475ba1(0x2e1,0x1e5,0x1fb,0x1bb)];[_0x475ba1(0x344,0x20d,0xbf,0x237)];[_0x475ba1(0x2b3,0x1a1,0x98,0x2fe)];['counter']=0x0;constructor(_0x8a5c5e={}){const _0x16df69={_0x4a33c6:0x6e8,_0xffb35c:0x662,_0x499335:0x578,_0x556fc6:0x51e,_0x333f80:0x710,_0x37d1db:0x572,_0x10e468:0x50c,_0x5eb3a6:0x3da},_0x56f508={_0x5c5828:0x503},_0x588912={_0x37ed6b:0x36b};function _0x15f197(_0x53cd5e,_0x2187b2,_0x5ad474,_0x2631a4){return _0x475ba1(_0x2187b2,_0x5ad474-_0x588912._0x37ed6b,_0x5ad474-0x1d0,_0x2631a4-0x1aa);}this[_0xccb188(0x832,0x847,_0x16df69._0x4a33c6,_0x16df69._0xffb35c)]=_0x8a5c5e['maxConcurrent']??0xa;function _0xccb188(_0x179dc2,_0x2cb00a,_0x1d81bc,_0x5c8494){return _0x475ba1(_0x2cb00a,_0x1d81bc-_0x56f508._0x5c5828,_0x1d81bc-0xb1,_0x5c8494-0x3b);}this[_0x15f197(0x4c4,0x617,_0x16df69._0x499335,_0x16df69._0x556fc6)]=_0x8a5c5e[_0xccb188(0x837,0x7f9,_0x16df69._0x333f80,0x60b)]??0x40,this[_0x15f197(0x46d,_0x16df69._0x37d1db,_0x16df69._0x10e468,_0x16df69._0x5eb3a6)]=_0x8a5c5e[_0xccb188(0x7da,0x69c,0x6a4,0x7a3)]??0x100000;}[_0x475ba1(0xfc,0x136,0xa3,-0x23)](_0x54b80a){const _0x3a9fb1={_0x8e1cc9:0x79f,_0x50fd1a:0x587,_0x1ea480:0x612,_0x510238:0x61b,_0x1210b0:0x3be,_0x1515e7:0x5fe,_0x4d36ca:0x54f,_0x2f4c97:0x442,_0x3eb240:0x45c,_0x2c425f:0x465,_0x2fbe24:0x38f,_0x372dc4:0x364,_0x264a04:0x15f,_0x45be8d:0x498,_0x4ae2b1:0x4f0,_0x538419:0x598,_0x50ad60:0x4d3,_0x4583e1:0x35e,_0x1e83c3:0x561,_0x43b0d8:0x4e5,_0x57d6d0:0x57a,_0x224644:0x65b,_0x99a476:0x651,_0xd1ca7f:0x591,_0x2ef521:0x5e3,_0x293076:0x33d,_0x21b5d4:0x371,_0x2941e8:0x250,_0x4c3590:0x634,_0x2cd5a2:0x3f3,_0x200636:0x56d,_0x2f56d6:0x47c,_0x16021d:0x42f,_0xd099ce:0x395,_0x5a4e93:0x2d1,_0x6cc6f3:0x609,_0x4031f4:0x86d,_0x4a101b:0x59e,_0x2c8900:0x51b,_0x94c859:0x496,_0x39d957:0x72b,_0x5c5039:0x577,_0x31f090:0x658,_0x206280:0x6d8,_0x335df5:0x6ba,_0x5c5dd3:0x623,_0x51f9dc:0x5fc,_0x518e56:0x76a,_0x1382d1:0x699,_0x501ee0:0x436,_0x3e39c9:0x68e,_0xedc366:0x46d,_0x5acfaa:0x3c2,_0xeed76b:0x2e6,_0x30f224:0x419,_0x403620:0x4f7,_0x419442:0x7b2,_0x2d4263:0x63f,_0x1eaa6f:0x694,_0x2d8aad:0x575},_0x2b0398={_0x31c69e:0x514,_0x470c81:0x1a8},_0x2ce0e1={_0x598d86:0x2d,_0xf5a336:0xe2,_0x3e602:0x7c,_0xde171c:0x379,_0x5b7dd4:0x333,_0x4da795:0x428,_0x31c882:0x44f,_0x38004e:0x41c,_0x3ccfb5:0x318,_0x469b01:0x49c,_0x4f3e2d:0x2a7,_0x14e317:0x1f8},_0x31ef1a={_0x39b39a:0xa7,_0x2c6f5a:0x9e},_0x48517c={_0x17504a:0x2e7,_0x3978f9:0x240,_0x4e655c:0x1c5,_0x5c4d2a:0x1f6,_0x1b83bd:0x258,_0x3301bd:0x49d,_0xcda191:0x37a,_0x309774:0x0,_0x2983d4:0x2b2,_0x32d313:0x95,_0x2f7043:0xd4,_0x57ff8f:0xc,_0x312dc9:0x1dc,_0x4fd407:0x27b,_0x3f8c89:0x2f4,_0x48c411:0x184},_0x7aacc8={_0x480cfc:0x16,_0xb8adb1:0x15a},_0x48669c={_0x21bf2f:0x2b3,_0x577e4e:0x1a1},_0x1c0428=[...this[_0x4f3748(0x66f,0x60a,_0x3a9fb1._0x8e1cc9,_0x3a9fb1._0x50fd1a)]['values']()][_0x4f3748(0x591,0x564,_0x3a9fb1._0x1ea480,_0x3a9fb1._0x510238)](_0x1020c7=>_0x1020c7['status']===_0x4c76be(0x39d,0x477,0x408,0x4a9))[_0x4f3748(0x5d5,0x655,0x48b,0x534)];function _0x4c76be(_0x125e9e,_0x4cea2b,_0x336460,_0x52eec4){return _0x475ba1(_0x4cea2b,_0x125e9e-_0x48669c._0x21bf2f,_0x336460-0x108,_0x52eec4-_0x48669c._0x577e4e);}if(_0x1c0428>=this[_0x4c76be(0x498,_0x3a9fb1._0x1210b0,0x33c,_0x3a9fb1._0x1515e7)])throw new ToolExecutionError(_0x4c76be(0x49c,_0x3a9fb1._0x4d36ca,_0x3a9fb1._0x2f4c97,_0x3a9fb1._0x3eb240)+this[_0x4c76be(0x498,0x50c,0x56e,_0x3a9fb1._0x2c425f)]+_0x4c76be(0x287,_0x3a9fb1._0x2fbe24,_0x3a9fb1._0x372dc4,_0x3a9fb1._0x264a04),{'running':this[_0x4c76be(_0x3a9fb1._0x45be8d,_0x3a9fb1._0x4ae2b1,_0x3a9fb1._0x538419,0x53a)]});const _0x1580de='bg-'+ ++this[_0x4c76be(_0x3a9fb1._0x50ad60,_0x3a9fb1._0x4583e1,0x5a4,0x51a)]+'-'+randomUUID()[_0x4f3748(_0x3a9fb1._0x1e83c3,_0x3a9fb1._0x43b0d8,_0x3a9fb1._0x57d6d0,_0x3a9fb1._0x224644)](0x0,0x8),_0x28b589={'shellId':_0x1580de,'command':_0x54b80a['command'],'cwd':_0x54b80a[_0x4c76be(_0x3a9fb1._0x4ae2b1,_0x3a9fb1._0x99a476,_0x3a9fb1._0xd1ca7f,_0x3a9fb1._0x2ef521)],'pid':_0x54b80a['child']['pid'],'status':'running','exitCode':null,'signal':null,'startedAt':Date['now'](),'child':_0x54b80a[_0x4c76be(_0x3a9fb1._0x293076,0x40b,_0x3a9fb1._0x21b5d4,_0x3a9fb1._0x2941e8)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x4f3748(0x6f5,_0x3a9fb1._0x4c3590,0x676,0x6e1)),'stripAnsi':_0x54b80a[_0x4c76be(_0x3a9fb1._0x2cd5a2,0x42d,0x4ce,_0x3a9fb1._0x200636)],'killRequested':![],'processExited':![]};_0x54b80a['child'][_0x4c76be(_0x3a9fb1._0x2f56d6,0x453,0x3b5,0x5df)]?.['on'](_0x4c76be(_0x3a9fb1._0x16021d,0x4a0,_0x3a9fb1._0xd099ce,0x541),_0x2e7751=>this[_0x4f3748(0x541,0x568,0x6a8,0x68a)](_0x28b589,_0x28b589['stdoutDecoder']['write'](_0x2e7751))),_0x54b80a[_0x4c76be(0x33d,_0x3a9fb1._0x5a4e93,0x243,0x2d9)][_0x4f3748(0x774,0x8b8,_0x3a9fb1._0x6cc6f3,_0x3a9fb1._0x4031f4)]?.['on'](_0x4c76be(_0x3a9fb1._0x16021d,0x4cc,0x354,0x35a),_0x76d776=>this['append'](_0x28b589,_0x28b589['stderrDecoder'][_0x4f3748(0x655,0x6db,0x67c,0x747)](_0x76d776))),_0x54b80a[_0x4f3748(_0x3a9fb1._0x4a101b,_0x3a9fb1._0x2c8900,_0x3a9fb1._0x94c859,0x681)][_0x4f3748(0x623,_0x3a9fb1._0x39d957,0x6af,_0x3a9fb1._0x5c5039)](_0x4f3748(_0x3a9fb1._0x31f090,_0x3a9fb1._0x206280,0x79c,0x4f7),()=>{function _0x388961(_0x1973e1,_0x2a54af,_0x585c61,_0x4ea168){return _0x4c76be(_0x4ea168- -0x82,_0x585c61,_0x585c61-0x2a,_0x4ea168-0x25);}_0x28b589[_0x388961(0x452,0x372,0x483,0x321)]=!![];}),_0x54b80a[_0x4f3748(0x59e,0x68e,_0x3a9fb1._0x335df5,0x6aa)][_0x4f3748(_0x3a9fb1._0x5c5dd3,_0x3a9fb1._0x51f9dc,_0x3a9fb1._0x518e56,0x4a7)](_0x4f3748(0x54c,_0x3a9fb1._0x1382d1,_0x3a9fb1._0x501ee0,_0x3a9fb1._0x3e39c9),(_0x183883,_0x29a876)=>{const _0x184301={_0x30da20:0xf0};this['append'](_0x28b589,_0x28b589[_0x1dd36a(_0x48517c._0x17504a,0x251,0x287,0x12a)][_0x1e6bd6(0x317,_0x48517c._0x3978f9,0x1a5,0x1d8)]()),this[_0x1dd36a(0x318,_0x48517c._0x4e655c,_0x48517c._0x5c4d2a,_0x48517c._0x1b83bd)](_0x28b589,_0x28b589['stderrDecoder']['end']()),_0x28b589[_0x1dd36a(_0x48517c._0x3301bd,0x33b,_0x48517c._0xcda191,0x3d5)]=_0x28b589[_0x1e6bd6(0xc4,_0x48517c._0x309774,-0xf6,-0x82)]?_0x1e6bd6(0x222,0x238,_0x48517c._0x2983d4,0x34f):_0x1e6bd6(-_0x48517c._0x32d313,_0x48517c._0x2f7043,0x1c,0x19c);function _0x1dd36a(_0x3ddbb0,_0x50d691,_0x17c98d,_0x2b45ba){return _0x4f3748(_0x17c98d- -0x34b,_0x50d691-_0x184301._0x30da20,_0x17c98d-0x1c1,_0x50d691);}_0x28b589[_0x1e6bd6(0x7d,-_0x48517c._0x57ff8f,-0x14e,-0x57)]=_0x183883;function _0x1e6bd6(_0x47f0af,_0x35f360,_0x3d39cc,_0x51a4e1){return _0x4f3748(_0x35f360- -0x4e6,_0x35f360-_0x7aacc8._0x480cfc,_0x3d39cc-_0x7aacc8._0xb8adb1,_0x3d39cc);}_0x28b589[_0x1e6bd6(_0x48517c._0x312dc9,_0x48517c._0x4fd407,_0x48517c._0x3f8c89,_0x48517c._0x48c411)]=_0x29a876,_0x28b589['child']=null;}),_0x54b80a[_0x4f3748(_0x3a9fb1._0x4a101b,0x551,0x486,_0x3a9fb1._0xedc366)][_0x4c76be(_0x3a9fb1._0x5acfaa,_0x3a9fb1._0xeed76b,0x33a,_0x3a9fb1._0x30f224)]('error',_0x14280d=>{const _0x30c06a={_0x3b6c52:0x698,_0x4ab2a5:0x117};_0x28b589[_0x27f30b(_0x2ce0e1._0x598d86,-0x4e,-_0x2ce0e1._0xf5a336,-_0x2ce0e1._0x3e602)]=_0x64a2f7(_0x2ce0e1._0xde171c,_0x2ce0e1._0x5b7dd4,_0x2ce0e1._0x4da795,0x4b5),_0x28b589[_0x27f30b(0x98,0x1ec,-0xb7,-0x58)]=_0x14280d[_0x64a2f7(_0x2ce0e1._0x31c882,_0x2ce0e1._0x38004e,_0x2ce0e1._0x3ccfb5,_0x2ce0e1._0x469b01)];function _0x64a2f7(_0x31f4b0,_0x18bcf7,_0x160468,_0x4863af){return _0x4c76be(_0x160468- -_0x31ef1a._0x39b39a,_0x31f4b0,_0x160468-0xfb,_0x4863af-_0x31ef1a._0x2c6f5a);}function _0x27f30b(_0x5370d2,_0x650adb,_0x51c07d,_0x52ffc5){return _0x4f3748(_0x5370d2- -_0x30c06a._0x3b6c52,_0x650adb-0x156,_0x51c07d-_0x30c06a._0x4ab2a5,_0x52ffc5);}_0x28b589[_0x64a2f7(_0x2ce0e1._0x4f3e2d,0x397,0x296,_0x2ce0e1._0x14e317)]=null;});function _0x4f3748(_0x22c49e,_0x169983,_0xd74e6d,_0x518e4b){return _0x475ba1(_0x518e4b,_0x22c49e-_0x2b0398._0x31c69e,_0xd74e6d-0x2d,_0x518e4b-_0x2b0398._0x470c81);}return this[_0x4c76be(0x40e,0x3ff,_0x3a9fb1._0x403620,0x376)][_0x4f3748(_0x3a9fb1._0x419442,_0x3a9fb1._0x2d4263,0x89a,0x69d)](_0x1580de,_0x28b589),this[_0x4f3748(0x51f,_0x3a9fb1._0x1eaa6f,0x61f,_0x3a9fb1._0x2d8aad)](),_0x28b589;}[_0x511d68(0x5f5,0x543,0x3f3,0x499)](_0x146846,_0x32aebd){const _0x2ac9d6={_0x2afdd8:0x543,_0x4655d8:0x69a,_0x1fad78:0x752,_0xa85513:0x73b,_0x5aa8b8:0x60b,_0x11bbcd:0x5b9,_0x4d4871:0x76e,_0x1a3d7d:0x6b1,_0x4cb312:0x741,_0x5d39be:0x849,_0x3d0e3d:0x737,_0xdb35a7:0x78c,_0x5ca7fd:0x5d1,_0x49a07f:0x51a,_0x3d63e7:0x8d0,_0xc5c36e:0x6d2,_0x455bf4:0x755,_0x586146:0x601,_0x12788f:0x49a,_0x272b76:0x3ec,_0x459fae:0x537,_0x287b75:0x730,_0x4765ab:0x5a3,_0xf893e9:0x753,_0x1fede6:0x558,_0x4175f0:0x67c,_0x26be65:0x71c,_0x553d3:0x84a,_0x2c809d:0x724,_0x4fdd07:0x64c,_0x5e4e48:0x848,_0x88c21b:0x6ba,_0x536e4a:0x777,_0x7ac6f4:0x7da,_0x17c403:0x2d8,_0x3b7dd7:0x55b,_0x45bc23:0x805,_0x27262d:0x89f,_0x131b52:0x791,_0x314a33:0x5d7,_0x2d6d8f:0x6c3,_0x20874a:0x696,_0x25a124:0x6c8},_0x5a7897={_0x20bf14:0x171},_0x3df575={_0x895c5:0x105,_0x3f1708:0x145,_0x4f6d19:0xe0},_0x2efeba=this[_0xd1fbf8(0x6f1,0x5d6,0x61e,_0x2ac9d6._0x2afdd8)][_0xd1fbf8(0x60f,0x5a4,0x55e,0x71b)](_0x146846);if(!_0x2efeba)throw new ToolExecutionError(_0x566531(0x52b,_0x2ac9d6._0x4655d8,0x539,_0x2ac9d6._0x1fad78)+_0x146846,{'shellId':_0x146846});const _0xecbde7=_0x2efeba['buffer'][_0xd1fbf8(_0x2ac9d6._0xa85513,0x724,_0x2ac9d6._0x5aa8b8,_0x2ac9d6._0x11bbcd)]('');function _0x566531(_0x5ce286,_0x4960ae,_0x26bbd7,_0x28b1ad){return _0x511d68(_0x5ce286-_0x3df575._0x895c5,_0x4960ae-_0x3df575._0x3f1708,_0x26bbd7-_0x3df575._0x4f6d19,_0x5ce286);}const _0x5a4e16=Math['max'](_0x2efeba[_0x566531(0x693,_0x2ac9d6._0x4d4871,0x688,_0x2ac9d6._0x1a3d7d)],_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x4cb312,0x620,0x55c,0x68f)]),_0x461b73=Math[_0xd1fbf8(0x4a3,0x507,0x5e7,0x3b5)](0x0,_0x2efeba[_0x566531(_0x2ac9d6._0x5d39be,_0x2ac9d6._0x3d0e3d,0x85b,0x626)]-_0x2efeba['readCursor']),_0x2b95ec=_0xecbde7['slice'](_0x5a4e16-_0x2efeba[_0xd1fbf8(_0x2ac9d6._0xdb35a7,0x620,0x69d,0x698)]),_0x1d5d3f=_0x2efeba['status']!=='running';let _0x5d3e17;const _0x32fabb=_0x32aebd?.[_0x566531(0x4b1,0x5c2,_0x2ac9d6._0x5ca7fd,_0x2ac9d6._0x49a07f)];if(!_0x32fabb)_0x5d3e17=_0x2b95ec,_0x2efeba[_0x566531(_0x2ac9d6._0x3d63e7,0x76e,_0x2ac9d6._0xc5c36e,_0x2ac9d6._0x455bf4)]=_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x586146,_0x2ac9d6._0x12788f,0x4df,_0x2ac9d6._0x272b76)];else{let _0x59e548;try{_0x59e548=new RegExp(_0x32fabb);}catch(_0x416ce7){throw new ToolExecutionError(_0xd1fbf8(_0x2ac9d6._0x459fae,0x683,_0x2ac9d6._0x287b75,_0x2ac9d6._0x4765ab)+_0x416ce7[_0x566531(0x6c1,0x69e,_0x2ac9d6._0xf893e9,0x787)],{'shellId':_0x146846,'regex':_0x32fabb});}let _0x42f877=_0x2b95ec;if(!_0x1d5d3f){const _0x425c91=_0x2b95ec[_0xd1fbf8(_0x2ac9d6._0x1fede6,0x596,0x4bf,0x529)]('\x0a');_0x42f877=_0x425c91>=0x0?_0x2b95ec[_0xd1fbf8(_0x2ac9d6._0x2afdd8,0x4c8,0x44a,0x556)](0x0,_0x425c91+0x1):'';}_0x5d3e17=_0x42f877[_0xd1fbf8(_0x2ac9d6._0x4175f0,0x6b0,0x836,_0x2ac9d6._0x26be65)]('\x0a')['filter'](_0x3ec5e4=>_0x59e548['test'](_0x3ec5e4))[_0xd1fbf8(_0x2ac9d6._0x553d3,_0x2ac9d6._0x2c809d,_0x2ac9d6._0x4fdd07,_0x2ac9d6._0x5e4e48)]('\x0a'),_0x2efeba[_0x566531(_0x2ac9d6._0x88c21b,_0x2ac9d6._0x4d4871,_0x2ac9d6._0x536e4a,_0x2ac9d6._0x7ac6f4)]=_0x5a4e16+_0x42f877['length'];}const _0x4e3e62=(_0x461b73>0x0?_0xd1fbf8(_0x2ac9d6._0x17c403,0x438,0x330,_0x2ac9d6._0x3b7dd7)+_0x461b73+_0x566531(0x761,_0x2ac9d6._0x45bc23,0x6a6,_0x2ac9d6._0x27262d):'')+_0x5d3e17;function _0xd1fbf8(_0x37904d,_0x897fd0,_0x19f36d,_0x54f941){return _0x511d68(_0x37904d-0x10d,_0x897fd0-0x2e,_0x19f36d-_0x5a7897._0x20bf14,_0x54f941);}return{'output':_0x4e3e62,'status':_0x2efeba[_0xd1fbf8(0x6b3,0x62c,0x4b0,_0x2ac9d6._0x131b52)],'exitCode':_0x2efeba[_0x566531(_0x2ac9d6._0x314a33,0x558,_0x2ac9d6._0x2d6d8f,0x647)],'signal':_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x20874a,_0x2ac9d6._0x25a124,0x769,0x745)],'truncated':_0x461b73>0x0};}[_0x511d68(0x520,0x5ef,0x5b0,0x4b9)](){const _0x445f89={_0x11c3a6:0x404,_0x4047b4:0x485,_0x3c1c27:0x44f},_0x34a2e0={_0x1d77ac:0x1a,_0x514f5d:0x159,_0x431cde:0x1ed},_0x142f68={_0xbb701c:0x10f,_0x190b24:0x4d};function _0x744ded(_0x2841ee,_0x230d54,_0x58fea3,_0x223b1e){return _0x475ba1(_0x58fea3,_0x223b1e-0x1ba,_0x58fea3-_0x142f68._0xbb701c,_0x223b1e-_0x142f68._0x190b24);}function _0x536647(_0x44ebc3,_0x297cda,_0x546192,_0x3b3eda){return _0x511d68(_0x44ebc3-_0x34a2e0._0x1d77ac,_0x3b3eda- -_0x34a2e0._0x514f5d,_0x546192-_0x34a2e0._0x431cde,_0x44ebc3);}return[...this[_0x536647(0x5a8,_0x445f89._0x11c3a6,_0x445f89._0x4047b4,_0x445f89._0x3c1c27)][_0x744ded(0x478,0x42e,0x2c6,0x41f)]()];}[_0x511d68(0x4ab,0x402,0x4d8,0x29c)](_0x260949){const _0x2d49d4={_0x552abc:0x82,_0x26dbd6:0x284,_0x1a4f2c:0x1da,_0x34e749:0x183,_0x1ec7d2:0xb1,_0x37a627:0x18d,_0x29edb2:0x172,_0x4202cd:0x22c,_0x5d33c1:0x1d1,_0xb17d00:0x5fc,_0x154f82:0x581,_0xff797e:0x626,_0xb4d94c:0x740,_0x45690a:0x6d6,_0x138c1a:0x54f,_0x5ac114:0x5f0,_0x3766a9:0x41},_0x853a1a={_0xa30391:0x35,_0xaeec3b:0x125,_0x2f3fe5:0x11e},_0x3d0f26={_0x1e8bd8:0x163},_0x26e63d=this[_0x567cba(0x1d6,0x255,0x1e1,_0x2d49d4._0x552abc)][_0x567cba(0x1a4,0x25d,_0x2d49d4._0x26dbd6,_0x2d49d4._0x1a4f2c)](_0x260949);if(!_0x26e63d)throw new ToolExecutionError(_0x567cba(_0x2d49d4._0x34e749,_0x2d49d4._0x1ec7d2,_0x2d49d4._0x37a627,_0x2d49d4._0x29edb2)+_0x260949,{'shellId':_0x260949});if(_0x26e63d[_0x567cba(_0x2d49d4._0x4202cd,0xd3,0x11c,_0x2d49d4._0x5d33c1)]===_0x567cba(0x165,0x259,0x1df,0x2b9)&&_0x26e63d[_0x269fb6(_0x2d49d4._0xb17d00,0x539,0x677,0x752)]&&!_0x26e63d['processExited']){_0x26e63d['killRequested']=!![];try{killProcessGroup(_0x26e63d[_0x269fb6(0x5fc,0x6bf,_0x2d49d4._0x154f82,_0x2d49d4._0xff797e)],process[_0x269fb6(0x5fd,_0x2d49d4._0xb4d94c,_0x2d49d4._0x45690a,0x56a)]===_0x269fb6(_0x2d49d4._0x138c1a,_0x2d49d4._0x5ac114,0x3cf,0x640));}catch{}}function _0x567cba(_0x3c50cc,_0x514722,_0x207d2a,_0x568a99){return _0x475ba1(_0x568a99,_0x3c50cc-0x7b,_0x207d2a-0xf2,_0x568a99-_0x3d0f26._0x1e8bd8);}function _0x269fb6(_0x288371,_0x4847cd,_0x55e742,_0x333ca6){return _0x511d68(_0x288371-_0x853a1a._0xa30391,_0x288371-_0x853a1a._0xaeec3b,_0x55e742-_0x853a1a._0x2f3fe5,_0x333ca6);}return{'status':_0x26e63d[_0x567cba(0x22c,0xfd,0xdb,0x1b7)],'exitCode':_0x26e63d[_0x567cba(_0x2d49d4._0x3766a9,0x9b,0x1a7,-0x108)],'signal':_0x26e63d['signal']};}async[_0x511d68(0x679,0x670,0x52e,0x57e)](){const _0x5bbf38={_0xb7cc19:0x122,_0x3f2d19:0x6d,_0x3c5c73:0x6c0,_0x3762a7:0x5f9,_0x18f263:0x65c,_0x1df036:0x521,_0x27029e:0x599,_0x4e608a:0x62e,_0x328cc8:0x708,_0x526a3e:0x10b,_0x3df48f:0xd8,_0x3f2fe8:0x4e1,_0x9f4541:0x44f,_0x347b85:0x64e,_0x4bf0d3:0x6d4,_0x1ac469:0x59a,_0x296e72:0x592,_0x42a086:0x340,_0x2122c8:0x1eb},_0x45c312={_0x5ceb7d:0xf7,_0x46fd09:0xc2,_0x1c9621:0x145},_0x290f92={_0x39227b:0x615};function _0x165f17(_0x3e171d,_0x20ae43,_0x424c28,_0x49fae2){return _0x511d68(_0x3e171d-0x15c,_0x49fae2- -_0x290f92._0x39227b,_0x424c28-0x20,_0x20ae43);}function _0x75d84d(_0x1cd511,_0xf16c79,_0x301bb4,_0x541537){return _0x511d68(_0x1cd511-_0x45c312._0x5ceb7d,_0x1cd511-_0x45c312._0x46fd09,_0x301bb4-_0x45c312._0x1c9621,_0xf16c79);}for(const _0x4a6ea7 of this[_0x165f17(-0x82,0xf6,-_0x5bbf38._0xb7cc19,-_0x5bbf38._0x3f2d19)]['values']()){if(_0x4a6ea7[_0x75d84d(_0x5bbf38._0x3c5c73,0x64b,0x802,0x666)]===_0x75d84d(_0x5bbf38._0x3762a7,0x57b,_0x5bbf38._0x18f263,_0x5bbf38._0x1df036)&&_0x4a6ea7[_0x75d84d(_0x5bbf38._0x27029e,_0x5bbf38._0x4e608a,0x464,_0x5bbf38._0x328cc8)]&&!_0x4a6ea7[_0x165f17(-0xe0,-0x227,-_0x5bbf38._0x526a3e,-_0x5bbf38._0x3df48f)]){_0x4a6ea7[_0x75d84d(_0x5bbf38._0x3f2fe8,0x5de,_0x5bbf38._0x9f4541,_0x5bbf38._0x347b85)]=!![];try{killProcessGroup(_0x4a6ea7[_0x75d84d(_0x5bbf38._0x27029e,0x4ed,_0x5bbf38._0x4bf0d3,0x6c2)],process[_0x75d84d(_0x5bbf38._0x1ac469,0x430,0x428,_0x5bbf38._0x296e72)]===_0x165f17(-0x19c,-0x253,-_0x5bbf38._0x42a086,-_0x5bbf38._0x2122c8));}catch{}}}}[_0x511d68(0x3ac,0x47a,0x4ab,0x55b)](_0x61851b,_0x463fb8){const _0xcf9b27={_0x1eb754:0x1a9,_0x81e924:0x2cd,_0x5aac2e:0x1e7,_0x5ea7b3:0x138,_0xfeacc3:0xa8,_0x2b1954:0x249,_0x131c1a:0x114,_0x4e800d:0x29,_0x440f32:0x58,_0x3593ba:0x20b,_0x154991:0x1b1,_0x5abe9c:0x20,_0xf0846f:0x210,_0x24d919:0x138,_0x1c23e6:0x2c5,_0x506bc3:0x295,_0x200502:0xf9,_0x207ffa:0xec,_0x354289:0x168,_0x5714bc:0xff,_0x558d08:0x218,_0x53a755:0x314,_0x4d65c0:0x84,_0xfc2592:0x48,_0x594267:0x1cd,_0x56705d:0x1b8,_0x2b3053:0x13c,_0x492885:0x233,_0x43d25b:0xf8,_0x4625ec:0x2bc,_0x4f2d6c:0x13,_0x37e56b:0xec,_0x53259e:0xf4,_0x3b9d86:0x243,_0xb1f647:0x2cd},_0x47e56f={_0xcab5fd:0xaa},_0x1bdd90={_0x5d103f:0x69,_0x13d5ea:0x1e7},_0x2ae986=_0x61851b[_0x212b1b(0x1e7,_0xcf9b27._0x1eb754,_0xcf9b27._0x81e924,_0xcf9b27._0x5aac2e)]?stripAnsiAndControls(_0x463fb8):_0x463fb8;function _0x284e53(_0x44d600,_0x4d0ba7,_0x357482,_0x1b8f0d){return _0x475ba1(_0x4d0ba7,_0x1b8f0d- -_0x1bdd90._0x5d103f,_0x357482-0x111,_0x1b8f0d-_0x1bdd90._0x13d5ea);}function _0x212b1b(_0x5c332a,_0x19c344,_0x5a8153,_0x459590){return _0x475ba1(_0x5a8153,_0x459590-0xa7,_0x5a8153-_0x47e56f._0xcab5fd,_0x459590-0x3a);}if(_0x2ae986['length']===0x0)return;_0x61851b[_0x212b1b(_0xcf9b27._0x5ea7b3,0x2c8,0x354,0x1fc)][_0x212b1b(-_0xcf9b27._0xfeacc3,0x3b,0x13,0x71)](_0x2ae986),_0x61851b[_0x212b1b(_0xcf9b27._0x2b1954,0x229,0x156,0x2c5)]+=_0x2ae986[_0x284e53(_0xcf9b27._0x131c1a,0x4c,-_0xcf9b27._0x4e800d,_0xcf9b27._0x440f32)],_0x61851b[_0x212b1b(_0xcf9b27._0x3593ba,_0xcf9b27._0x154991,0x16b,0xc6)]+=_0x2ae986['length'];while(_0x61851b[_0x284e53(0x60,0x6f,0x129,0x1b5)]>this[_0x284e53(_0xcf9b27._0x5abe9c,0x176,_0xcf9b27._0xf0846f,_0xcf9b27._0x24d919)]){const _0x2f76e4=_0x61851b[_0x212b1b(0x3ab,0x27e,0x238,_0xcf9b27._0x1c23e6)]-this[_0x284e53(_0xcf9b27._0x506bc3,0x2a3,0x21a,0x138)],_0x4f7656=_0x61851b[_0x284e53(_0xcf9b27._0x200502,0xc5,0x85,_0xcf9b27._0x207ffa)][0x0];_0x4f7656[_0x212b1b(0x55,0x1e6,0x1f6,_0xcf9b27._0x354289)]<=_0x2f76e4?(_0x61851b[_0x284e53(0x48,0x22b,_0xcf9b27._0x5714bc,0xec)][_0x284e53(0x134,_0xcf9b27._0x558d08,_0xcf9b27._0x53a755,0x200)](),_0x61851b[_0x284e53(0x1e2,0x2f1,0xc8,0x1b5)]-=_0x4f7656[_0x212b1b(_0xcf9b27._0x4d65c0,_0xcf9b27._0xfc2592,0x37,_0xcf9b27._0x354289)],_0x61851b[_0x284e53(_0xcf9b27._0x594267,_0xcf9b27._0x56705d,0x174,_0xcf9b27._0x2b3053)]+=_0x4f7656[_0x212b1b(_0xcf9b27._0x492885,_0xcf9b27._0x43d25b,_0xcf9b27._0x4625ec,_0xcf9b27._0x354289)]):(_0x61851b[_0x284e53(0x213,-0x5c,-_0xcf9b27._0x4f2d6c,_0xcf9b27._0x37e56b)][0x0]=_0x4f7656[_0x212b1b(0x204,0xf1,0x1a,_0xcf9b27._0x53259e)](_0x2f76e4),_0x61851b[_0x284e53(_0xcf9b27._0x3b9d86,0x121,_0xcf9b27._0xb1f647,0x1b5)]-=_0x2f76e4,_0x61851b['totalDropped']+=_0x2f76e4);}}['evictIfNeeded'](){const _0x31f7e4={_0x30a004:0x4d8,_0x20b82b:0x6b5,_0x19a7a7:0x7d6,_0x5b6112:0x579,_0x51a901:0x2dc,_0x2a1fad:0x280,_0x223eab:0x3d0,_0x3144f8:0x1ca},_0x190053={_0x593cf4:0x37e,_0x30df7f:0x132};function _0x56e97b(_0x31152,_0x6b0657,_0x264958,_0x1b68ec){return _0x475ba1(_0x1b68ec,_0x31152-0x428,_0x264958-0x16,_0x1b68ec-0x85);}if(this[_0x56e97b(0x583,0x482,_0x31f7e4._0x30a004,0x678)][_0x56e97b(_0x31f7e4._0x20b82b,0x616,_0x31f7e4._0x19a7a7,_0x31f7e4._0x5b6112)]<=this[_0x492047(0x36a,_0x31f7e4._0x51a901,0x29c,0x1d2)])return;function _0x492047(_0x51b668,_0x998e0a,_0x122af0,_0x49292d){return _0x511d68(_0x51b668-0x98,_0x998e0a- -_0x190053._0x593cf4,_0x122af0-_0x190053._0x30df7f,_0x51b668);}for(const [_0x1977eb,_0x39fdbd]of this['entries']){if(_0x39fdbd[_0x492047(0x161,_0x31f7e4._0x2a1fad,_0x31f7e4._0x223eab,_0x31f7e4._0x3144f8)]!=='running'){this['entries']['delete'](_0x1977eb);return;}}}};function createBashOutputTool(_0x4537bf){const _0x1bc9ba={_0x2ed10f:0x7c5,_0x24a332:0x66c,_0x49c212:0x773,_0x1c231c:0x858,_0x252f60:0x4cd},_0x34424e={_0x37028c:0x6c,_0xaa5dd4:0x58,_0x51aa80:0x9,_0xd1bc64:0xbf,_0x563214:0x4bb,_0x3abbc7:0x3eb,_0x5805ae:0x3fe,_0x429b27:0x3c2,_0x14f4e6:0x551,_0x445236:0x28,_0x103489:0x3a,_0x4d8118:0xc5,_0x512353:0x19c},_0x130711={_0x50406e:0x61},_0x52aca={_0x3fa243:0xb7,_0x379591:0xeb};function _0x20dcc6(_0x191f99,_0x4affe9,_0x3c9f57,_0x1677aa){return _0x475ba1(_0x191f99,_0x4affe9-0x353,_0x3c9f57-_0x52aca._0x3fa243,_0x1677aa-_0x52aca._0x379591);}function _0x69a887(_0x4f51f9,_0x74d564,_0x2cd2b7,_0x19dba9){return _0x475ba1(_0x4f51f9,_0x19dba9-0x5d9,_0x2cd2b7-_0x130711._0x50406e,_0x19dba9-0x155);}const {registry:_0x76e605}=_0x4537bf;return defineTool({'name':_0x69a887(0x8cf,0x653,0x762,_0x1bc9ba._0x2ed10f),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':_0x69a887(_0x1bc9ba._0x24a332,_0x1bc9ba._0x49c212,_0x1bc9ba._0x1c231c,0x79f),'properties':{'shellId':{'type':_0x20dcc6(_0x1bc9ba._0x252f60,0x4d0,0x4e1,0x628)},'regex':{'type':'string'}},'required':['shellId']},async *'execute'(_0x3deced){const _0x46df68={_0x5fbbfe:0xf3},_0xab41ce={_0x2cef9d:0x182};function _0xfeeee0(_0x3c4e6a,_0x58affc,_0xc0546d,_0x1f3cba){return _0x20dcc6(_0x3c4e6a,_0xc0546d-0xf4,_0xc0546d-_0xab41ce._0x2cef9d,_0x1f3cba-0x5);}const _0x48e3f6=_0x76e605[_0x3ee1f8(-_0x34424e._0x37028c,-_0x34424e._0xaa5dd4,-_0x34424e._0x51aa80,-_0x34424e._0xd1bc64)](_0x3deced['shellId'],_0x3deced[_0xfeeee0(_0x34424e._0x563214,_0x34424e._0x3abbc7,0x477,_0x34424e._0x5805ae)]?{'regex':_0x3deced[_0xfeeee0(_0x34424e._0x429b27,_0x34424e._0x14f4e6,0x477,0x36d)]}:void 0x0);function _0x3ee1f8(_0x1731f2,_0x3cf79a,_0x5329e1,_0x2936fe){return _0x69a887(_0x3cf79a,_0x3cf79a-_0x46df68._0x5fbbfe,_0x5329e1-0xf3,_0x1731f2- -0x73b);}return createToolOutput(_0x48e3f6[_0x3ee1f8(-0xad,-_0x34424e._0x445236,-0x12f,-_0x34424e._0x103489)],{'shellId':_0x3deced['shellId'],'status':_0x48e3f6[_0x3ee1f8(0x4f,0x5f,_0x34424e._0x4d8118,0xb6)],'exitCode':_0x48e3f6[_0x3ee1f8(-_0x34424e._0x512353,-0x20f,-0x129,-0x196)],'signal':_0x48e3f6['signal'],'truncated':_0x48e3f6['truncated']});}});}import{spawn as _0x4a3f08}from'child_process';import{statSync}from'fs';import*as _0x355e6d from'os';import*as _0x2cb0b5 from'path';import{StringDecoder as _0x559f10}from'string_decoder';import{stat}from'fs/promises';import*as _0x4ea1c5 from'path';function isPathInside(_0x2224d6,_0x479faf){const _0x360fd6={_0x4954e0:0x575,_0x9ddc09:0x5a4},_0x4628b5={_0x5bc040:0x33},_0x308774=_0x4ea1c5[_0x110a4c(0x44e,0x488,_0x360fd6._0x4954e0,_0x360fd6._0x9ddc09)](_0x2224d6);function _0x110a4c(_0x445099,_0x2e4511,_0x226fa4,_0x497dd0){return _0x475ba1(_0x497dd0,_0x226fa4-0x5ac,_0x226fa4-_0x4628b5._0x5bc040,_0x497dd0-0xa4);}const _0x2e57a3=_0x4ea1c5['relative'](_0x308774,_0x479faf);return _0x2e57a3===''||!_0x2e57a3['startsWith']('..')&&!_0x4ea1c5['isAbsolute'](_0x2e57a3);}function resolveWorkspacePath(_0x520442,_0x336764){return resolveAllowedPath(_0x520442,[],_0x336764);}function resolveAllowedPath(_0x1f15f4,_0x4adeff,_0x545501){const _0x490bcf={_0x33ef1e:0x172,_0x38850e:0x14a,_0x5aceb7:0x1d2,_0xca205e:0xd1,_0x22c1c0:0x55},_0x6fea17={_0x4a64d4:0x113},_0x534ec1={_0x5d2ac4:0x13c},_0x163d6b=_0x4ea1c5[_0x3e1a33(-_0x490bcf._0x33ef1e,-_0x490bcf._0x38850e,-0x29e,-0xae)](_0x1f15f4);function _0x2fb492(_0xc63024,_0x463945,_0x368635,_0x4682a7){return _0x475ba1(_0xc63024,_0x4682a7- -0x17c,_0x368635-_0x534ec1._0x5d2ac4,_0x4682a7-0x167);}function _0x3e1a33(_0x1b5c78,_0x3bc8d9,_0x3313d7,_0xc46b9c){return _0x475ba1(_0xc46b9c,_0x3bc8d9- -_0x6fea17._0x4a64d4,_0x3313d7-0x1d0,_0xc46b9c-0x7d);}const _0x271181=_0x4ea1c5[_0x3e1a33(-_0x490bcf._0x5aceb7,-_0x490bcf._0x38850e,-_0x490bcf._0xca205e,-_0x490bcf._0x22c1c0)](_0x163d6b,_0x545501),_0x2351c1=[_0x163d6b,..._0x4adeff['map'](_0x53f86e=>_0x4ea1c5[_0x3e1a33(-0xdd,-0x14a,-0x264,-0x1a2)](_0x53f86e))];if(_0x2351c1['some'](_0x52e782=>isPathInside(_0x52e782,_0x271181)))return _0x271181;throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x545501,{'path':_0x545501,'rootDir':_0x163d6b,'allowedDirs':_0x2351c1});}async function assertWorkspaceFile(_0x3a5cc1){const _0x3a14dc={_0x4ce8c5:0x101},_0x12343d=await stat(_0x3a5cc1);function _0x46e389(_0x1aca4a,_0x154900,_0x4318c5,_0x12c99b){return _0x475ba1(_0x154900,_0x12c99b-0x1df,_0x4318c5-0x1be,_0x12c99b-_0x3a14dc._0x4ce8c5);}if(!_0x12343d['isFile']())throw new ToolExecutionError(_0x46e389(0x29f,0x37f,0xe5,0x24c)+_0x3a5cc1,{'path':_0x3a5cc1});}function isProbablyBinary(_0x166802){const _0x2f5217={_0x26fc0a:0x351,_0x33102e:0x3e3,_0x4a3887:0x2fa},_0xf390fb={_0xb22378:0xb3};function _0x47263e(_0x51a8dd,_0x55beeb,_0x208cf8,_0x4efc5c){return _0x475ba1(_0x55beeb,_0x51a8dd-0x382,_0x208cf8-_0xf390fb._0xb22378,_0x4efc5c-0x122);}return _0x166802[_0x47263e(0x3ac,_0x2f5217._0x26fc0a,_0x2f5217._0x33102e,_0x2f5217._0x4a3887)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x475ba1(0xaf,0x123,0x47,0x25)+DEFAULT_TIMEOUT_MS+_0x475ba1(0x2b7,0x149,0x2b7,0x18f);function buildChildEnv(_0x3006f6,_0x21742b){const _0x195586={_0x280131:0x50a,_0x4bca32:0x5f4,_0x20de06:0x59d,_0x18d4df:0x4a1,_0xb5dbda:0x204,_0x183e04:0x2be,_0x2ce89d:0x3f8,_0x3c3af5:0x278,_0x1506e6:0x4bc,_0x3b40d9:0x6c2,_0x1c9951:0x6a2,_0x42b567:0x4a7,_0x3f8630:0x40a},_0x5c3d46={_0x558ed0:0x533,_0x472290:0x7e,_0x18c637:0xa7},_0x2da219={_0x3d9f09:0x150,_0x2dcd69:0x1e3},_0x444abb={...process['env'],..._0x3006f6??{}};function _0x3f4ece(_0x2c5236,_0x2a4852,_0x153b1c,_0x1cc047){return _0x475ba1(_0x2a4852,_0x2c5236-_0x2da219._0x3d9f09,_0x153b1c-0x11,_0x1cc047-_0x2da219._0x2dcd69);}if(_0x21742b[_0x39fd4f(_0x195586._0x280131,0x73e,_0x195586._0x4bca32,0x72d)]===0x0)return _0x444abb;if(_0x355e6d['platform']()===_0x39fd4f(0x4e2,_0x195586._0x20de06,0x510,_0x195586._0x18d4df)){const _0x38a158=new Set(_0x21742b[_0x3f4ece(0x256,_0x195586._0xb5dbda,_0x195586._0x183e04,0x1bb)](_0x4c90a4=>_0x4c90a4[_0x39fd4f(0x80a,0x72a,0x712,0x7e7)]()));for(const _0x259197 of Object[_0x3f4ece(_0x195586._0x2ce89d,_0x195586._0x3c3af5,0x385,_0x195586._0x1506e6)](_0x444abb)){if(_0x38a158[_0x39fd4f(_0x195586._0x3b40d9,0x57c,_0x195586._0x1c9951,0x6a8)](_0x259197[_0x3f4ece(0x32f,_0x195586._0x42b567,0x37d,_0x195586._0x3f8630)]()))delete _0x444abb[_0x259197];}}else{for(const _0x4d04ee of _0x21742b)delete _0x444abb[_0x4d04ee];}function _0x39fd4f(_0x2246af,_0x47102a,_0x1b54fe,_0x1b105a){return _0x475ba1(_0x2246af,_0x1b54fe-_0x5c3d46._0x558ed0,_0x1b54fe-_0x5c3d46._0x472290,_0x1b105a-_0x5c3d46._0x18c637);}return _0x444abb;}function mapSpawnError(_0x3c3d27,_0x871a9e){const _0x5d6976={_0x37ad07:0x1f9,_0x2a7963:0x1ca,_0x75b42a:0xc4,_0x41b69d:0x26d},_0x4ac0d1={_0x5ac30c:0x2cd,_0x586045:0x26},_0x5b190b={_0x544ff9:0x64};if(isErrnoException(_0x3c3d27)&&_0x3c3d27[_0x3fde2b(_0x5d6976._0x37ad07,0x1de,_0x5d6976._0x2a7963,0x86)]==='ENOENT')return new ToolExecutionError(_0x3fde2b(0xfb,0x1d0,0x317,_0x5d6976._0x75b42a)+_0x871a9e[_0x3fde2b(_0x5d6976._0x41b69d,0x1a2,0x51,0x2fc)],_0x871a9e);function _0x568828(_0x4df1c3,_0x119cbf,_0x2ab534,_0x5cc339){return _0x511d68(_0x4df1c3-_0x5b190b._0x544ff9,_0x2ab534- -0x5b,_0x2ab534-0xba,_0x119cbf);}function _0x3fde2b(_0x3de185,_0x3e8b86,_0x143447,_0x11a4f6){return _0x511d68(_0x3de185-0x1d0,_0x3e8b86- -_0x4ac0d1._0x5ac30c,_0x143447-_0x4ac0d1._0x586045,_0x11a4f6);}return new ToolExecutionError(_0x3c3d27 instanceof Error?_0x3c3d27['message']:String(_0x3c3d27),_0x871a9e);}function shellExists(_0x2a4dc6){const _0x6b4440={_0x279d3c:0x520,_0x3f5bf2:0x42f,_0x55de93:0x541},_0x2da019={_0xe03398:0x192,_0x3fab69:0x54};function _0x496ee1(_0x5b0a67,_0x5b90a9,_0x1c62a7,_0x2361b3){return _0x511d68(_0x5b0a67-_0x2da019._0xe03398,_0x5b0a67-_0x2da019._0x3fab69,_0x1c62a7-0x14e,_0x1c62a7);}try{const _0x8d7fab=statSync(_0x2a4dc6);return _0x8d7fab['isFile']()&&(_0x8d7fab[_0x496ee1(_0x6b4440._0x279d3c,_0x6b4440._0x3f5bf2,0x44b,_0x6b4440._0x55de93)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x25a2c7){const _0x14d192={_0x489b5e:0x1be,_0x234549:0x7b,_0x5e1a17:0x185,_0xebce:0x152,_0x324a22:0x1ac,_0x2fb0a0:0x1fe,_0x2eae08:0x48e,_0x2d2d12:0x36b,_0x18cff5:0x35d,_0x246dfc:0x477,_0x94951f:0x6db,_0x297445:0x678,_0x8528e1:0x2b,_0x1b2647:0x61,_0x10a6bb:0xe3,_0x17c1ce:0x15b},_0x2ea956={_0x3eec15:0x4ab,_0x1502f6:0x151,_0x2e8445:0x1e1},_0x28e7ec={_0x3a464f:0x7a};function _0x4c1dce(_0x3087f4,_0x20e94e,_0x23149b,_0x3ce86d){return _0x511d68(_0x3087f4-0x3f,_0x23149b- -0x57c,_0x23149b-_0x28e7ec._0x3a464f,_0x3087f4);}if(_0x25a2c7)return _0x25a2c7;function _0x271beb(_0x1b6b28,_0x6d81b1,_0x2f0338,_0x4fedb4){return _0x475ba1(_0x6d81b1,_0x4fedb4-_0x2ea956._0x3eec15,_0x2f0338-_0x2ea956._0x1502f6,_0x4fedb4-_0x2ea956._0x2e8445);}if(_0x355e6d[_0x4c1dce(-_0x14d192._0x489b5e,-0x1b0,-0xa4,-0x109)]()===_0x4c1dce(-_0x14d192._0x234549,-_0x14d192._0x5e1a17,-_0x14d192._0xebce,-0x244))return process['env'][_0x4c1dce(0xf7,0x88,0x128,_0x14d192._0x324a22)]||'cmd.exe';const _0x1aa365=[_0x4c1dce(0x179,_0x14d192._0x2fb0a0,0x15b,0x21d),_0x271beb(_0x14d192._0x2eae08,_0x14d192._0x2d2d12,_0x14d192._0x18cff5,_0x14d192._0x246dfc),'/usr/bin/bash',_0x271beb(_0x14d192._0x94951f,_0x14d192._0x297445,0x7ae,0x6a6)];for(const _0x29fc5a of _0x1aa365){if(shellExists(_0x29fc5a))return _0x29fc5a;}const _0x5c3df5=process[_0x4c1dce(-0x14,-_0x14d192._0x8528e1,-_0x14d192._0x1b2647,-_0x14d192._0x10a6bb)]['SHELL'];if(_0x5c3df5&&shellExists(_0x5c3df5))return _0x5c3df5;return _0x4c1dce(0x7c,0x1ca,_0x14d192._0x17c1ce,0x213);}function buildShellArgs(_0x60bd1d,_0x1d5a52){const _0x4c4dbe={_0xe9cf5f:0x592,_0x54a3f1:0x3a3,_0x5e5af9:0x2be,_0x343d78:0x442,_0x291a2c:0x2dc,_0x321f5f:0x2b3,_0x3ef39d:0x225,_0x4ade88:0x343,_0x2dfacd:0x3a7},_0xe399d={_0x256253:0x44,_0x9cda8f:0x2bb,_0x8ff064:0x188};function _0x66881c(_0x84a1d9,_0x1bd5be,_0x5efd08,_0x7ed18a){return _0x511d68(_0x84a1d9-_0xe399d._0x256253,_0x7ed18a- -_0xe399d._0x9cda8f,_0x5efd08-_0xe399d._0x8ff064,_0x5efd08);}if(_0x355e6d[_0x66881c(0x1e8,0x2e0,0xc5,0x21d)]()===_0x66881c(0x200,0x195,0x1b1,0x16f)){const _0x13edeb=/cmd(\.exe)?$/i[_0x66881c(_0x4c4dbe._0xe9cf5f,_0x4c4dbe._0x54a3f1,_0x4c4dbe._0x5e5af9,_0x4c4dbe._0x343d78)](_0x1d5a52);return _0x13edeb?['/d','/s','/c',_0x60bd1d]:[_0x3f37c6(0x3b5,_0x4c4dbe._0x291a2c,_0x4c4dbe._0x321f5f,_0x4c4dbe._0x3ef39d),_0x66881c(_0x4c4dbe._0x4ade88,0x2af,0x4eb,_0x4c4dbe._0x2dfacd),_0x3f37c6(0x1ba,0xde,0x14d,0xec),_0x60bd1d];}function _0x3f37c6(_0x43dcb4,_0x8df14c,_0x438cd9,_0xb78aa7){return _0x475ba1(_0x43dcb4,_0x438cd9-0x171,_0x438cd9-0x151,_0xb78aa7-0x1ca);}return['-c',_0x60bd1d];}function resolveWorkingDirectory(_0x4d0eb4,_0x50a5e8,_0x43e5eb){const _0x35fa8d={_0x3ee3b3:0x4aa,_0x5714e6:0x536},_0x539522={_0x35a018:0x2a6};function _0x422de9(_0x25b8d6,_0x30951b,_0x19a4b4,_0x205175){return _0x475ba1(_0x205175,_0x19a4b4-_0x539522._0x35a018,_0x19a4b4-0x2b,_0x205175-0x1de);}const _0x685439=resolveAllowedPath(_0x50a5e8,_0x43e5eb,_0x4d0eb4??'.');try{const _0x49a25e=statSync(_0x685439);if(!_0x49a25e['isDirectory']())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x685439,{'cwd':_0x685439});return _0x685439;}catch(_0x45a456){if(_0x45a456 instanceof ToolExecutionError)throw _0x45a456;throw new ToolExecutionError(_0x422de9(_0x35fa8d._0x3ee3b3,0x559,_0x35fa8d._0x5714e6,0x46e)+_0x685439,{'cwd':_0x685439});}}function emitChunk(_0x2caa57,_0x3553c9,_0x1f2285,_0x5ecc61){const _0x56d538={_0x47ee32:0x7b,_0x303851:0x10a,_0x5e1a70:0xde},_0x19aeba={_0x2ab5a9:0x15c},_0x4677e0={_0xd4b9e8:0x6d,_0x2b9186:0x593};_0x2caa57[_0x23af39(-0x17c,-0x9e,-0x170,-0xe1)](_0x1f2285);function _0x23af39(_0x5ac155,_0x4f5571,_0x265e56,_0x51b9f1){return _0x511d68(_0x5ac155-_0x4677e0._0xd4b9e8,_0x5ac155- -_0x4677e0._0x2b9186,_0x265e56-0x100,_0x4f5571);}_0x3553c9[_0x258cec(_0x56d538._0x47ee32,-_0x56d538._0x303851,0xdd,_0x56d538._0x5e1a70)](_0x1f2285);function _0x258cec(_0x295892,_0x450c81,_0x2f6ebe,_0x565fe0){return _0x511d68(_0x295892-0x14f,_0x295892- -0x39c,_0x2f6ebe-_0x19aeba._0x2ab5a9,_0x565fe0);}_0x5ecc61();}function appendChunk(_0x4ba739,_0x43ec90,_0x114b0c,_0x784aa1,_0x5201bf,_0x1ab07c){const _0xb384e4={_0x183828:0x9,_0xbd217a:0x76,_0x531e51:0x1e1,_0x1aab77:0xae,_0x456850:0x53,_0x27a570:0x1da,_0x29cfe0:0x241,_0x15edde:0x84,_0x304412:0xee,_0x1aa15f:0x21a,_0x5bb98e:0x31,_0x4987dd:0x1f1,_0x1fb67e:0x284,_0x5b3170:0xe5,_0xd67510:0x32b,_0x3f9783:0x50,_0x33c615:0x1c4,_0x507437:0x1f8,_0x51773b:0x92,_0x145db7:0x48,_0x42f850:0xe9,_0x348281:0x217,_0x207293:0x14f,_0x2fc0ce:0x135,_0x2559d1:0x6b,_0x3cdea9:0x17c},_0x60bd2a={_0x471ebb:0xd0},_0x1cc7e7={_0x45453c:0x2d},_0x15abf8=_0x784aa1?stripAnsiAndControls(_0x114b0c):_0x114b0c;if(_0x15abf8[_0x1a7e39(_0xb384e4._0x183828,0x122,0x25,0x12)]===0x0)return;if(!_0x1ab07c){emitChunk(_0x4ba739,_0x43ec90,_0x15abf8,_0x5201bf);return;}function _0x1df4d1(_0x76f567,_0x4bcc6b,_0xb686e2,_0x11c9b3){return _0x511d68(_0x76f567-0x120,_0x4bcc6b- -0x425,_0xb686e2-_0x1cc7e7._0x45453c,_0xb686e2);}function _0x1a7e39(_0x5487d8,_0x3e0e1f,_0x4463d5,_0x9eac27){return _0x475ba1(_0x3e0e1f,_0x5487d8- -0xb8,_0x4463d5-0x10e,_0x9eac27-_0x60bd2a._0x471ebb);}let _0x5acf37=0x0,_0x3634d8=_0x15abf8[_0x1a7e39(-_0xb384e4._0xbd217a,-_0xb384e4._0x531e51,-_0xb384e4._0x1aab77,-_0xb384e4._0x456850)]('\x0a');while(_0x3634d8>=0x0){_0x1ab07c[_0x1a7e39(_0xb384e4._0x27a570,_0xb384e4._0x29cfe0,_0xb384e4._0x15edde,0x19c)][_0x1a7e39(-_0xb384e4._0x304412,-0x213,-0x81,-_0xb384e4._0x1aa15f)](_0x15abf8[_0x1df4d1(_0xb384e4._0x5bb98e,0x75,0x1d1,0x115)](_0x5acf37,_0x3634d8));const _0x524075=_0x1ab07c['trailingChunks'][_0x1a7e39(_0xb384e4._0x4987dd,_0xb384e4._0x1fb67e,0x2aa,_0xb384e4._0x5b3170)]('');_0x1ab07c[_0x1a7e39(_0xb384e4._0x27a570,0x68,0x182,_0xb384e4._0xd67510)][_0x1df4d1(-0x29,0xe9,-_0xb384e4._0x3f9783,0x25c)]=0x0,_0x1ab07c[_0x1a7e39(-0x88,-_0xb384e4._0x33c615,-0x1fd,0xfc)][_0x1a7e39(_0xb384e4._0x507437,0x286,_0xb384e4._0x51773b,0x2c2)](_0x524075)&&emitChunk(_0x4ba739,_0x43ec90,_0x524075+'\x0a',_0x5201bf),_0x5acf37=_0x3634d8+0x1,_0x3634d8=_0x15abf8['indexOf']('\x0a',_0x5acf37);}_0x5acf37<_0x15abf8[_0x1df4d1(_0xb384e4._0x145db7,_0xb384e4._0x42f850,_0xb384e4._0x348281,_0xb384e4._0x207293)]&&_0x1ab07c['trailingChunks'][_0x1a7e39(-_0xb384e4._0x304412,-_0xb384e4._0x2fc0ce,0x9,-0x1d7)](_0x15abf8[_0x1a7e39(-_0xb384e4._0x2559d1,0x8e,-_0xb384e4._0x3cdea9,-0xdb)](_0x5acf37));}function flushOutputRegex(_0x42e7fb,_0x29e8f9,_0x34c6b0,_0x19ee83){const _0x34a397={_0x39ddd6:0x6e4,_0x337443:0x7ef,_0x25f414:0x835,_0x3dd416:0x118,_0x5a84ea:0x724,_0x1b9532:0x76c,_0x1e3492:0x7c8,_0x21c641:0x86a,_0x2c5275:0x8f3,_0x5d159d:0x7b2,_0x5679eb:0x7c8,_0x1de09a:0xf9,_0x258d8b:0x37a,_0x4febbf:0x4c6,_0x35054f:0x566,_0x4a383f:0x451,_0x5c4fd7:0x700},_0x3340b3={_0x413a7d:0x1c5},_0xb327e0={_0x15eddc:0x11f,_0x5b8fe9:0xe9};function _0x51fb93(_0x59cd99,_0x696ea,_0x427bcd,_0x3bf92d){return _0x511d68(_0x59cd99-_0xb327e0._0x15eddc,_0x427bcd-_0xb327e0._0x5b8fe9,_0x427bcd-0xef,_0x3bf92d);}if(!_0x34c6b0||_0x34c6b0[_0x51fb93(_0x34a397._0x39ddd6,_0x34a397._0x337443,0x7c8,_0x34a397._0x25f414)][_0x2ba8c5(0x189,0x93,0x1ff,_0x34a397._0x3dd416)]===0x0)return;const _0xd98abe=_0x34c6b0[_0x51fb93(_0x34a397._0x5a84ea,_0x34a397._0x1b9532,_0x34a397._0x1e3492,0x6eb)][_0x51fb93(0x7f9,_0x34a397._0x21c641,0x7df,_0x34a397._0x2c5275)]('');_0x34c6b0[_0x51fb93(0x6ef,_0x34a397._0x5d159d,_0x34a397._0x5679eb,0x882)][_0x2ba8c5(_0x34a397._0x1de09a,_0x34a397._0x258d8b,0x1ff,0x23a)]=0x0;function _0x2ba8c5(_0x3b15e7,_0x59ae0e,_0x29c9c9,_0x516e89){return _0x511d68(_0x3b15e7-0x118,_0x29c9c9- -0x30f,_0x29c9c9-_0x3340b3._0x413a7d,_0x3b15e7);}_0x34c6b0[_0x51fb93(_0x34a397._0x4febbf,0x48f,_0x34a397._0x35054f,_0x34a397._0x4a383f)][_0x51fb93(0x963,_0x34a397._0x5c4fd7,0x7e6,0x71b)](_0xd98abe)&&emitChunk(_0x42e7fb,_0x29e8f9,_0xd98abe,_0x19ee83);}function createBashTool(_0x4ccb5c={}){const _0x7431d5={_0x4e94f4:0x49c,_0x27eea6:0x513,_0x5df1fb:0x43b,_0x2b837a:0x3ca,_0x358d44:0x3f8,_0x51c80a:0x456,_0x1dd7c8:0x651,_0x136717:0x743,_0x45fb3c:0x75d,_0x37cf9d:0x5ec,_0x483929:0x5a7,_0x3fcad9:0x731,_0x3d2172:0x7a1,_0x53c4e1:0x775,_0x403b2b:0x5c5,_0x3e76eb:0x676,_0x58cf2a:0x73a,_0x95d2a:0x79d,_0x587fb2:0x88b,_0x5d1034:0x4a6,_0x38289b:0x3fe,_0x20478d:0x3ed,_0x4da310:0x673,_0x195833:0x61c,_0x4da737:0x6f2,_0x351b17:0x5ff,_0x514a21:0x4a3,_0x43d3d5:0x698,_0x2f93e5:0x6f1,_0xce5ae0:0x643,_0x53e69f:0x702,_0x28a823:0x6d0,_0x48e93c:0x63b,_0x198929:0x730,_0x3beb9f:0x5be,_0x37a6a3:0x532,_0x2aead6:0x729,_0x53a4f7:0x646,_0xd4ee1c:0x5c9,_0x2d3869:0x3c8,_0x3eaba6:0x5a9},_0x2ff680={_0x49b6a8:0x612,_0x226ae6:0x69c,_0x1f742b:0x670,_0x2e74cc:0x51d,_0x43b80d:0x5ce,_0x43236d:0x3e4,_0x5cb998:0x506,_0x1eb6ab:0x810,_0x1fce4f:0x78d,_0x47c132:0x786,_0x5ac59e:0x6b1,_0x15f742:0x49c,_0x3c0ee5:0x4a4,_0x19a7ec:0x39e,_0x7d5cdc:0x54a,_0x552856:0x538,_0x12fc06:0x50d,_0x34558c:0x3fc,_0x17bdb2:0x3b2,_0x53093f:0x492,_0x524310:0x596,_0x25cdc9:0x449,_0x16f1f7:0x506,_0x45e42f:0x65d,_0x44e883:0x718,_0x6edbc5:0x650,_0x4cc438:0x7e9,_0x4bc7f3:0x60c,_0x207f79:0x50d,_0x36038c:0x588,_0xd72063:0x63b,_0x506f11:0x590,_0x48ba02:0x4ee,_0x2adc83:0x6bd,_0x3d748f:0x607,_0xb684cb:0x740,_0x40f292:0x67e,_0x5896d8:0x4f9,_0x5e79c8:0x652,_0x5831b5:0x709,_0x1814e3:0x46e,_0x3ad1b1:0x535,_0x496e6f:0x58f,_0x2764d4:0x598,_0x21107d:0x5b9,_0x4ded25:0x6b2,_0x4164b2:0x4fc,_0x74aced:0x699,_0x52c3ed:0x3e9,_0x416efc:0x573,_0x25dc20:0x44f,_0x2e2aeb:0x343,_0x1afdd4:0x44f,_0x458bf0:0x391,_0xb23915:0x315,_0x581ec3:0x49a,_0x1b2998:0x394,_0x104da9:0x8ba,_0x27f0c4:0x809,_0x2b1dee:0x74a,_0x45d2ab:0x568,_0x4f93eb:0x4f7,_0x3645c4:0x636,_0x26b864:0x59c,_0x26cb30:0x6e2,_0x1ceac3:0x564,_0x1ccf5d:0x4be,_0x54e045:0x677,_0x55f15d:0x5fe,_0x532f48:0x69d,_0x4fe795:0x543,_0x53259b:0x57b,_0x5d6a16:0x58e,_0x37d107:0x69d,_0x29a8ed:0x703,_0x28fba6:0x614,_0x59f0fd:0x77e,_0x35fab9:0x4d6,_0x3a4e09:0x618,_0xfab3d7:0x71b,_0x4afa1b:0x5e9,_0x16a75e:0x4e0,_0x47cf16:0x638,_0x4377a9:0x8aa,_0x1b1cd0:0x776,_0x2fa8fe:0x70a,_0x2e48f5:0x5b2,_0x43320a:0x61b,_0x31e0ef:0x71a,_0x5a6c21:0x669,_0x432e7c:0x53d,_0x4022f8:0x499,_0x18b6b6:0x3f5,_0x270231:0x5c1,_0x274e55:0x67e,_0x53c2ae:0x50e,_0x42699a:0x676,_0x7c47a8:0x5fe,_0x58e159:0x5d8,_0x6e2bfb:0x5e7,_0x57a202:0x3ad,_0x5ce7de:0x742},_0x23b258={_0x4d5180:0x512,_0x2812bb:0x5b2,_0x5df263:0x612,_0x11e38b:0x5fc,_0x55dc8c:0x607,_0x4f14d1:0x777,_0x572cf1:0x116,_0x53d3d8:0x43,_0x3fed41:0x3b},_0x195676={_0xf7ca87:0x876,_0x39e209:0x7a5},_0x23050b={_0x1169ad:0x352,_0x985256:0x5e0},_0x15e40a={_0x41b208:0x4b,_0x2b8f34:0x16e},_0x433473={_0xc125b3:0x482,_0x2ca472:0x70,_0x3ae9ce:0x130},_0x8a7613={_0x382803:0x1bc},_0x48dba0=_0x2cb0b5[_0x108b15(0x54e,_0x7431d5._0x4e94f4,0x6c1,_0x7431d5._0x27eea6)](_0x4ccb5c[_0x42f30a(_0x7431d5._0x5df1fb,_0x7431d5._0x2b837a,_0x7431d5._0x358d44,_0x7431d5._0x51c80a)]??process[_0x108b15(0x7c2,0x64b,0x828,_0x7431d5._0x1dd7c8)]()),_0x4c5005=_0x4ccb5c[_0x108b15(0x6ac,_0x7431d5._0x136717,0x800,_0x7431d5._0x45fb3c)]??[],_0x5c5816=_0x4ccb5c[_0x108b15(_0x7431d5._0x37cf9d,_0x7431d5._0x483929,0x73a,0x5d4)]??DEFAULT_TIMEOUT_MS,_0xb0de4e=_0x4ccb5c['stripAnsi']??!![],_0x54254c=_0x4ccb5c[_0x108b15(0x6a7,0x593,0x74c,0x53f)]??_0x42f30a(_0x7431d5._0x3fcad9,0x702,_0x7431d5._0x3d2172,_0x7431d5._0x53c4e1);function _0x108b15(_0x3334a4,_0x22f562,_0x1f5f85,_0xb19424){return _0x511d68(_0x3334a4-_0x8a7613._0x382803,_0x3334a4-0x138,_0x1f5f85-0xfc,_0xb19424);}function _0x42f30a(_0x25fb4d,_0x1058ac,_0x258647,_0x2617a8){return _0x475ba1(_0x2617a8,_0x25fb4d-_0x433473._0xc125b3,_0x258647-_0x433473._0x2ca472,_0x2617a8-_0x433473._0x3ae9ce);}const _0x15fb45=_0x4ccb5c[_0x108b15(_0x7431d5._0x403b2b,0x665,_0x7431d5._0x3e76eb,_0x7431d5._0x58cf2a)]??[],_0x3d7ba2=_0x4ccb5c[_0x108b15(_0x7431d5._0x95d2a,_0x7431d5._0x587fb2,0x87b,0x6b3)];return defineTool({'name':_0x54254c,'description':_0x4ccb5c[_0x42f30a(_0x7431d5._0x5d1034,_0x7431d5._0x38289b,0x36f,_0x7431d5._0x20478d)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x108b15(0x74b,0x688,0x725,0x842),'properties':{'command':{'type':_0x108b15(0x702,_0x7431d5._0x4da310,_0x7431d5._0x195833,_0x7431d5._0x4da737)},'description':{'type':_0x42f30a(_0x7431d5._0x351b17,_0x7431d5._0x514a21,_0x7431d5._0x43d3d5,_0x7431d5._0x2f93e5),'description':_0x108b15(0x778,_0x7431d5._0xce5ae0,_0x7431d5._0x4da310,0x8cd)},'cwd':{'type':_0x108b15(_0x7431d5._0x53e69f,_0x7431d5._0x28a823,0x810,0x761)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':_0x42f30a(_0x7431d5._0x48e93c,0x4c1,_0x7431d5._0x198929,_0x7431d5._0x3beb9f)},'outputRegex':{'type':_0x42f30a(_0x7431d5._0x351b17,0x571,0x764,_0x7431d5._0x37a6a3),'description':_0x42f30a(_0x7431d5._0x2aead6,_0x7431d5._0x53a4f7,0x801,_0x7431d5._0xd4ee1c)},'runInBackground':{'type':'boolean'}},'required':[_0x42f30a(0x4bb,0x5dd,0x39b,_0x7431d5._0x2d3869),_0x108b15(_0x7431d5._0x3eaba6,0x718,0x607,0x475)]},async *'execute'(_0x18cc09,_0x41d119){const _0x5447a6={_0x120016:0x100,_0x5c5b7f:0x27,_0x55d6a8:0xa1,_0x5b7268:0x1aa,_0x3478ce:0x257,_0x344a2e:0x13a,_0x216be3:0x6a2,_0x2c86d1:0x4f4,_0x31d795:0x473},_0xe3d976={_0x11ec3e:0x7f3,_0x55cc81:0x77e},_0x730a9f={_0x4e5dfe:0x188,_0x541b7f:0x95,_0x4faa59:0x13d},_0x2848d1={_0x129b39:0x2e3,_0x1df5a6:0x335},_0x23d87e={_0x15f995:0x103,_0x404da0:0x1a3,_0x5e57c4:0x12},_0x4a2cbf=_0x18cc09[_0x36762a(0x6eb,0x563,_0x2ff680._0x49b6a8,_0x2ff680._0x226ae6)]??_0x5c5816;function _0x36762a(_0x6e464a,_0x13fd31,_0x1e5e57,_0x577058){return _0x108b15(_0x1e5e57- -_0x23d87e._0x15f995,_0x13fd31-_0x23d87e._0x404da0,_0x1e5e57-_0x23d87e._0x5e57c4,_0x6e464a);}if(!Number[_0x36762a(0x34f,0x604,0x4b9,0x3e9)](_0x4a2cbf)||_0x4a2cbf<0x1)throw new ToolExecutionError(_0x36762a(_0x2ff680._0x1f742b,0x5ec,_0x2ff680._0x2e74cc,_0x2ff680._0x43b80d),{'command':_0x18cc09[_0x2db62e(0x3d4,_0x2ff680._0x43236d,_0x2ff680._0x5cb998,0x549)]});throwIfAborted(_0x41d119[_0x2db62e(0x62a,_0x2ff680._0x1eb6ab,0x71a,_0x2ff680._0x1fce4f)]);const _0x3e08f4=resolveWorkingDirectory(_0x18cc09[_0x2db62e(0x6ba,_0x2ff680._0x47c132,0x70a,_0x2ff680._0x5ac59e)],_0x48dba0,_0x4c5005),_0x24c9dd=_0x18cc09['ignoreOutput']??![],_0x72acee=resolveDefaultShell(_0x4ccb5c[_0x36762a(_0x2ff680._0x15f742,0x477,_0x2ff680._0x3c0ee5,_0x2ff680._0x19a7ec)]),_0x4784ee=buildShellArgs(_0x18cc09[_0x2db62e(_0x2ff680._0x7d5cdc,_0x2ff680._0x552856,_0x2ff680._0x5cb998,0x57c)],_0x72acee),_0x56237d=_0x355e6d[_0x36762a(0x57d,0x3f5,_0x2ff680._0x12fc06,_0x2ff680._0x34558c)]()==='win32';if(_0x18cc09[_0x2db62e(0x497,_0x2ff680._0x17bdb2,_0x2ff680._0x53093f,0x5db)]){if(!_0x3d7ba2)throw new ToolExecutionError(_0x36762a(_0x2ff680._0x524310,0x768,0x6fa,0x606),{'command':_0x18cc09[_0x2db62e(_0x2ff680._0x25cdc9,0x40c,_0x2ff680._0x16f1f7,_0x2ff680._0x45e42f)]});throwIfAborted(_0x41d119[_0x36762a(_0x2ff680._0x44e883,0x74b,0x6cf,0x676)]);let _0x48de2d;try{_0x48de2d=_0x4a3f08(_0x72acee,_0x4784ee,{'cwd':_0x3e08f4,'env':buildChildEnv(_0x4ccb5c['env'],_0x15fb45),'stdio':['ignore','pipe',_0x36762a(_0x2ff680._0x6edbc5,0x631,0x6ff,_0x2ff680._0x4cc438)],'shell':![],'windowsHide':!![],'detached':!_0x56237d});}catch(_0x16f107){throw mapSpawnError(_0x16f107,{'command':_0x18cc09['command'],'cwd':_0x3e08f4,'shellPath':_0x72acee});}let _0x274126;try{_0x274126=_0x3d7ba2[_0x36762a(_0x2ff680._0x4bc7f3,0x47c,0x5b8,0x506)]({'child':_0x48de2d,'command':_0x18cc09[_0x2db62e(_0x2ff680._0x207f79,_0x2ff680._0x36038c,0x506,0x4ab)],'cwd':_0x3e08f4,'stripAnsi':_0xb0de4e});}catch(_0x2f2221){_0x48de2d['once'](_0x36762a(0x649,0x6c0,0x69e,_0x2ff680._0xd72063),()=>{});try{killProcessGroup(_0x48de2d,_0x56237d);}catch{}throw _0x2f2221;}return createToolOutput('Started\x20background\x20process\x20'+_0x274126[_0x36762a(_0x2ff680._0x506f11,_0x2ff680._0x48ba02,0x607,0x5d1)]+_0x36762a(0x654,0x6e6,_0x2ff680._0x2adc83,0x633)+(_0x274126['pid']??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x274126[_0x36762a(0x704,0x71e,_0x2ff680._0x3d748f,0x5ab)],'status':_0x274126[_0x2db62e(0x62d,_0x2ff680._0xb684cb,_0x2ff680._0x40f292,_0x2ff680._0x5896d8)],'command':_0x274126['command'],'description':_0x18cc09[_0x36762a(0x53b,0x402,0x4a6,0x4a5)],'cwd':_0x274126[_0x36762a(0x6a0,_0x2ff680._0x5e79c8,0x6bf,_0x2ff680._0x5831b5)],'pid':_0x274126[_0x2db62e(0x4eb,_0x2ff680._0x1814e3,_0x2ff680._0x3ad1b1,_0x2ff680._0x496e6f)]??null});}let _0x56a9dd,_0x595bcc;if(_0x18cc09[_0x2db62e(0x4da,0x5a2,_0x2ff680._0x2764d4,0x54e)]!==void 0x0)try{const _0x46fde7=new RegExp(_0x18cc09[_0x36762a(_0x2ff680._0x21107d,_0x2ff680._0x4ded25,0x54d,_0x2ff680._0x4164b2)]);_0x56a9dd={'regex':_0x46fde7,'trailingChunks':[]},_0x595bcc={'regex':_0x46fde7,'trailingChunks':[]};}catch(_0x58cd37){throw new ToolExecutionError(_0x2db62e(0x5ab,0x73d,_0x2ff680._0x74aced,0x7c5)+(_0x58cd37 instanceof Error?_0x58cd37['message']:String(_0x58cd37)),{'command':_0x18cc09['command'],'outputRegex':_0x18cc09['outputRegex']});}let _0x1ccf7f;try{_0x1ccf7f=_0x4a3f08(_0x72acee,_0x4784ee,{'cwd':_0x3e08f4,'env':buildChildEnv(_0x4ccb5c[_0x36762a(0x537,0x61a,0x550,_0x2ff680._0x52c3ed)],_0x15fb45),'stdio':_0x24c9dd?[_0x36762a(0x3ad,_0x2ff680._0x416efc,_0x2ff680._0x25dc20,_0x2ff680._0x2e2aeb),_0x36762a(_0x2ff680._0x3c0ee5,0x572,_0x2ff680._0x1afdd4,0x4de),'ignore']:[_0x2db62e(_0x2ff680._0x458bf0,_0x2ff680._0xb23915,_0x2ff680._0x581ec3,_0x2ff680._0x1b2998),_0x2db62e(_0x2ff680._0x104da9,_0x2ff680._0x27f0c4,_0x2ff680._0x2b1dee,0x641),_0x2db62e(0x604,0x681,0x74a,0x700)],'shell':![],'windowsHide':!![],'detached':!_0x56237d});}catch(_0x48c09b){throw mapSpawnError(_0x48c09b,{'command':_0x18cc09[_0x36762a(0x5b4,0x35d,0x4bb,0x578)],'cwd':_0x3e08f4,'shellPath':_0x72acee});}const _0x107fb7=[],_0x31d4e8=[];function _0x2db62e(_0x172083,_0x4544a7,_0x4f7055,_0x3b9cd0){return _0x42f30a(_0x4f7055-_0x15e40a._0x41b208,_0x4544a7-0x19f,_0x4f7055-_0x15e40a._0x2b8f34,_0x3b9cd0);}const _0x5adc17=new _0x559f10(_0x36762a(0x5bf,0x537,0x663,_0x2ff680._0x45d2ab)),_0x310ee1=new _0x559f10('utf8');let _0x319cf3,_0x273f9f=![],_0x45714e;const _0x36397a=()=>{if(!_0x319cf3)return;const _0x4f301b=_0x319cf3;_0x319cf3=void 0x0,_0x4f301b();},_0x2b7564=async()=>{const _0x753dba={_0x57b6c8:0x20e,_0x2edca9:0xad};function _0x570b60(_0x20d9d0,_0x161348,_0x55085c,_0x1419c){return _0x36762a(_0x161348,_0x161348-0x5a,_0x1419c- -_0x753dba._0x57b6c8,_0x1419c-_0x753dba._0x2edca9);}if(_0x31d4e8[_0x570b60(0x29c,_0x2848d1._0x129b39,0x288,_0x2848d1._0x1df5a6)]>0x0||_0x273f9f)return;await new Promise(_0x58b10f=>{_0x319cf3=_0x58b10f;});},_0x1ae659=_0x8584c7=>{function _0x33f08e(_0x303c12,_0x421eab,_0x1e2048,_0x2c4a22){return _0x2db62e(_0x303c12-0xfd,_0x421eab-0x1cc,_0x1e2048-0x10c,_0x303c12);}appendChunk(_0x107fb7,_0x31d4e8,_0x5adc17[_0x33f08e(0x6cb,0x5d4,0x71a,0x765)](_0x8584c7),_0xb0de4e,_0x36397a,_0x56a9dd);},_0x2b18a7=_0x142aa3=>{function _0x493aa5(_0x61df8c,_0x206683,_0xeda94f,_0x73fa20){return _0x2db62e(_0x61df8c-_0x730a9f._0x4e5dfe,_0x206683-_0x730a9f._0x541b7f,_0x73fa20- -_0x730a9f._0x4faa59,_0x206683);}appendChunk(_0x107fb7,_0x31d4e8,_0x310ee1[_0x493aa5(_0x23050b._0x1169ad,_0x23050b._0x985256,0x471,0x4d1)](_0x142aa3),_0xb0de4e,_0x36397a,_0x595bcc);};_0x1ccf7f[_0x36762a(_0x2ff680._0x4f93eb,0x708,0x64b,_0x2ff680._0x3645c4)]?.['on'](_0x2db62e(0x77e,0x5f9,0x649,0x659),_0x1ae659),_0x1ccf7f[_0x36762a(0x633,_0x2ff680._0x26b864,_0x2ff680._0x26cb30,_0x2ff680._0x1ceac3)]?.['on'](_0x36762a(_0x2ff680._0x1ccf5d,_0x2ff680._0x54e045,_0x2ff680._0x55f15d,_0x2ff680._0x532f48),_0x2b18a7);let _0x459c09=![],_0x3a0756;const _0x37ce68=addAbortListener(_0x41d119['signal'],()=>{const _0x27b762={_0x4d61af:0x175,_0x37d30d:0x8b};function _0x48f935(_0xd0502,_0x4dda3b,_0x3e6dfc,_0x171ca3){return _0x2db62e(_0xd0502-_0x27b762._0x4d61af,_0x4dda3b-0x1ac,_0x4dda3b-_0x27b762._0x37d30d,_0x171ca3);}_0x45714e=toAbortError(_0x41d119[_0x48f935(_0x195676._0xf7ca87,_0x195676._0x39e209,0x6a1,0x658)]['reason']),_0x273f9f=!![],_0x36397a();try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}});try{const _0x10241e=new Promise((_0x2a81b9,_0x229559)=>{const _0xc8d7b5={_0x106615:0x185,_0x18c165:0x164,_0x6316c6:0x2a},_0x30b818={_0x4e6a07:0x3bf},_0x4999d4={_0x2b8165:0x1d2,_0x769c8c:0x332,_0x36221d:0x25b,_0x24942b:0x16e,_0x39db16:0x627,_0x54e94e:0x631,_0x142c1e:0x178},_0x1ae7fb={_0x20f5e1:0x199},_0x5343c2={_0xef52ec:0x599};function _0x29c625(_0xe386ae,_0x105e79,_0x1b60fa,_0x502f96){return _0x2db62e(_0xe386ae-0x171,_0x105e79-0x136,_0x502f96- -_0x5343c2._0xef52ec,_0x1b60fa);}const _0x41373b=()=>{_0x3a0756&&(clearTimeout(_0x3a0756),_0x3a0756=void 0x0);function _0x11eecf(_0xe6afb4,_0x54e42a,_0x261354,_0x167be7){return _0x4a14(_0x54e42a- -_0x1ae7fb._0x20f5e1,_0x167be7);}function _0x3463d3(_0x1d2877,_0x465a7c,_0x231f0f,_0x1bff14){return _0x4a14(_0x231f0f-0x3b8,_0x1bff14);}_0x1ccf7f[_0x11eecf(0x1e6,_0x4999d4._0x2b8165,_0x4999d4._0x769c8c,0xad)](_0x11eecf(_0x4999d4._0x36221d,0x27e,_0x4999d4._0x24942b,0x1b3),_0x1c4c66),_0x1ccf7f[_0x3463d3(_0x4999d4._0x39db16,0x76f,0x723,_0x4999d4._0x54e94e)](_0x11eecf(_0x4999d4._0x142c1e,0x9a,0x1fc,0x1b6),_0x13f153);},_0x1c4c66=_0x19b36d=>{_0x273f9f=!![],_0x36397a(),_0x41373b(),_0x229559(_0x45714e??_0x19b36d);},_0x13f153=(_0x47226a,_0x1574ef)=>{_0x459c09=!![],appendChunk(_0x107fb7,_0x31d4e8,_0x5adc17[_0xb12b9a(_0xe3d976._0x11ec3e,0x8d2,_0xe3d976._0x55cc81,0x775)](),_0xb0de4e,_0x36397a,_0x56a9dd),appendChunk(_0x107fb7,_0x31d4e8,_0x310ee1['end'](),_0xb0de4e,_0x36397a,_0x595bcc),flushOutputRegex(_0x107fb7,_0x31d4e8,_0x56a9dd,_0x36397a);function _0xb12b9a(_0x16f696,_0x1b9144,_0x37b44b,_0xbad45f){return _0x4a14(_0x37b44b-0x371,_0x16f696);}flushOutputRegex(_0x107fb7,_0x31d4e8,_0x595bcc,_0x36397a),_0x273f9f=!![],_0x36397a(),_0x41373b();if(_0x45714e){_0x229559(_0x45714e);return;}_0x2a81b9({'code':_0x47226a,'signal':_0x1574ef});};_0x3a0756=setTimeout(()=>{_0x273f9f=!![],_0x36397a();function _0x3e1161(_0x18d9fc,_0xda1c65,_0x53e128,_0x2c9440){return _0x4a14(_0x2c9440- -0x2c6,_0xda1c65);}_0x41373b();function _0x51dc9e(_0x219016,_0x4900fb,_0xefc5c8,_0x376692){return _0x4a14(_0x4900fb-_0x30b818._0x4e6a07,_0x219016);}try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}_0x229559(new ToolExecutionError(_0x3e1161(-0x69,0xc6,_0x5447a6._0x120016,-_0x5447a6._0x5c5b7f)+_0x4a2cbf+_0x3e1161(_0x5447a6._0x55d6a8,_0x5447a6._0x5b7268,_0x5447a6._0x3478ce,_0x5447a6._0x344a2e),{'command':_0x18cc09[_0x51dc9e(_0x5447a6._0x216be3,0x5f3,_0x5447a6._0x2c86d1,_0x5447a6._0x31d795)],'cwd':_0x3e08f4,'shellPath':_0x72acee,'timeoutMs':_0x4a2cbf,'timedOut':!![]}));},_0x4a2cbf),_0x1ccf7f[_0x29a202(_0x23b258._0x4d5180,_0x23b258._0x2812bb,_0x23b258._0x5df263,_0x23b258._0x11e38b)](_0x29a202(_0x23b258._0x55dc8c,0x6bf,_0x23b258._0x4f14d1,0x70f),_0x1c4c66);function _0x29a202(_0x162be4,_0x49d618,_0x2f0964,_0x4a8fea){return _0x2db62e(_0x162be4-_0xc8d7b5._0x106615,_0x49d618-_0xc8d7b5._0x18c165,_0x49d618- -_0xc8d7b5._0x6316c6,_0x162be4);}_0x1ccf7f[_0x29c625(0x168,-0xe8,_0x23b258._0x572cf1,_0x23b258._0x53d3d8)](_0x29c625(-_0x23b258._0x3fed41,0x51,-0x7b,-0x94),_0x13f153);});while(_0x31d4e8[_0x36762a(0x693,0x656,_0x2ff680._0x4fe795,0x3f4)]>0x0||!_0x273f9f){if(_0x31d4e8[_0x2db62e(0x68e,_0x2ff680._0x53259b,_0x2ff680._0x5d6a16,_0x2ff680._0x37d107)]===0x0){await _0x2b7564();continue;}const _0x12fe45=_0x31d4e8[_0x36762a(_0x2ff680._0x29a8ed,0x5a2,0x6eb,_0x2ff680._0x28fba6)]();_0x12fe45!==void 0x0&&(yield _0x12fe45);}const _0x2f81ce=await _0x10241e,_0x42ac4b=_0x24c9dd?_0x2db62e(_0x2ff680._0x59f0fd,_0x2ff680._0x35fab9,_0x2ff680._0x3a4e09,_0x2ff680._0xfab3d7)+(_0x2f81ce[_0x36762a(_0x2ff680._0x4afa1b,0x466,_0x2ff680._0x16a75e,_0x2ff680._0x47cf16)]??0x0):_0x107fb7[_0x2db62e(_0x2ff680._0x4377a9,0x70d,_0x2ff680._0x1b1cd0,_0x2ff680._0x2fa8fe)](''),_0xa74131={'command':_0x18cc09['command'],'description':_0x18cc09['description'],'cwd':_0x3e08f4,'exitCode':_0x2f81ce[_0x36762a(_0x2ff680._0x2e48f5,0x45c,0x4e0,0x407)]??0x0,'signal':_0x2f81ce[_0x2db62e(0x604,_0x2ff680._0x43320a,_0x2ff680._0x31e0ef,0x83f)],'ignoreOutput':_0x24c9dd,'outputRegex':_0x18cc09[_0x36762a(0x612,0x66f,0x54d,_0x2ff680._0x5a6c21)]??null,'shellPath':_0x72acee,'timeoutMs':_0x4a2cbf};if(_0x2f81ce[_0x2db62e(0x476,0x431,0x52b,0x53f)]!==0x0)throw new ToolExecutionError(_0x42ac4b||_0x2db62e(0x61d,_0x2ff680._0x432e7c,0x4ed,_0x2ff680._0x4022f8)+(_0x2f81ce['code']??0x0),_0xa74131);return createToolOutput(_0x42ac4b,_0xa74131);}catch(_0x47d6c8){while(_0x31d4e8[_0x36762a(_0x2ff680._0x18b6b6,0x669,_0x2ff680._0x4fe795,0x622)]>0x0){const _0x244949=_0x31d4e8['shift']();_0x244949!==void 0x0&&(yield _0x244949);}if(_0x47d6c8 instanceof ToolExecutionError)throw _0x47d6c8;if(_0x45714e)throw _0x45714e;throw mapSpawnError(_0x47d6c8,{'command':_0x18cc09['command'],'cwd':_0x3e08f4,'shellPath':_0x72acee});}finally{_0x3a0756&&clearTimeout(_0x3a0756);_0x37ce68(),_0x1ccf7f[_0x2db62e(0x6c7,_0x2ff680._0x270231,0x696,_0x2ff680._0x274e55)]?.[_0x2db62e(_0x2ff680._0x53c2ae,0x5f8,0x63d,_0x2ff680._0x42699a)](_0x36762a(0x54d,0x653,_0x2ff680._0x7c47a8,0x59d),_0x1ae659),_0x1ccf7f[_0x2db62e(_0x2ff680._0x58e159,0x6fb,0x72d,0x736)]?.['off'](_0x2db62e(0x765,0x4d7,0x649,_0x2ff680._0x6e2bfb),_0x2b18a7);if(!_0x459c09&&_0x1ccf7f[_0x36762a(0x5de,_0x2ff680._0x57a202,0x4ea,0x3b8)]&&!_0x1ccf7f[_0x2db62e(_0x2ff680._0x5ce7de,0x849,0x6d7,0x63e)])try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}}}});}function createShellExecTool(_0x16a68e={}){return createBashTool(_0x16a68e);}import{readdir,readFile as _0x569e80}from'fs/promises';import{extname,join as _0x289518}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x436741,join,relative as _0x4413a7,resolve as _0x531ba8}from'path';import{readdir as _0x37a3cc,readFile as _0x2406e9}from'fs/promises';import{join as _0x9971a6,relative as _0x458362,sep}from'path';import{delimiter}from'path';import{mkdir as _0x29112b,rm,stat as _0x25940d,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x4848f2}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x2055f6,rename,rm as _0x547dd9,stat as _0xc51cc0,writeFile as _0x5410f3}from'fs/promises';import{homedir as _0x1f016e}from'os';import{dirname as _0x182282,isAbsolute as _0x4d0fa5,join as _0xfce796,resolve as _0x3da694}from'path';import{parse as _0x50a967,stringify as _0x19d727}from'yaml';import{cp,mkdir as _0x127569,readFile as _0x56fc0b,rm as _0x161486,writeFile as _0x575bec}from'fs/promises';function _0x475ba1(_0x375ccd,_0x3d63e3,_0x5e4358,_0x1154df){const _0x3f6194={_0x453bf1:0x1fb};return _0x4a14(_0x3d63e3- -_0x3f6194._0x453bf1,_0x375ccd);}import{homedir}from'os';import{join as _0x7b3611}from'path';import{parse as _0x2f1979,stringify as _0xdcc55f}from'yaml';import{z}from'zod';import{readdir as _0x35d837,readFile as _0x4a0aa5}from'fs/promises';import{join as _0x19b901}from'path';import{randomUUID as _0x4af404}from'crypto';import{mkdir as _0x11761e,readdir as _0x1112d0,readFile as _0xa1263a,rename as _0x3dcec3,rm as _0x289fd8,writeFile as _0x2d4057}from'fs/promises';import{homedir as _0x936dba}from'os';import{basename,isAbsolute as _0x6eb3f6,join as _0x4dcf59,relative as _0x17f61c,resolve as _0x1b3cf2}from'path';import{parse as _0x3e2864,stringify as _0x2bec3d}from'yaml';import{delimiter as _0x3cff86,resolve as _0x545544}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x4264e5){const _0x3f2f79={_0x59bdd7:0x1bc,_0x421717:0x1d4,_0x4cfd25:0x292,_0x41e776:0x33d,_0x10e499:0x5f,_0x21b2c2:0x100,_0x28538b:0x83,_0x20a5d7:0xdd},_0x20f0ea={_0x5615e2:0xc7},_0x2a596c={_0x1eb406:0x1a3,_0x8039de:0x33a},_0x20a6d6=[];function _0x43d51c(_0x24819d,_0x520c06,_0x1d1d8e,_0x3b7436){return _0x511d68(_0x24819d-_0x2a596c._0x1eb406,_0x3b7436- -_0x2a596c._0x8039de,_0x1d1d8e-0x86,_0x520c06);}let _0x346294='',_0x196f37=0x0;while(_0x196f37<_0x4264e5[_0x350246(0x253,0x2d7,0x3a4,0x3ae)]){const _0x1e68af=_0x4264e5[_0x196f37];if(_0x1e68af==='\x5c'&&_0x196f37+0x1<_0x4264e5[_0x43d51c(0x2b4,_0x3f2f79._0x59bdd7,0xed,_0x3f2f79._0x421717)])_0x346294+=_0x4264e5[_0x196f37+0x1],_0x196f37+=0x2;else{if(_0x1e68af==='\x22'||_0x1e68af==='\x27'){const _0x59dbe6=_0x1e68af;_0x196f37++;while(_0x196f37<_0x4264e5['length']&&_0x4264e5[_0x196f37]!==_0x59dbe6){_0x4264e5[_0x196f37]==='\x5c'&&_0x196f37+0x1<_0x4264e5[_0x43d51c(_0x3f2f79._0x4cfd25,_0x3f2f79._0x41e776,0x2e3,0x1d4)]?(_0x346294+=_0x4264e5[_0x196f37+0x1],_0x196f37+=0x2):(_0x346294+=_0x4264e5[_0x196f37],_0x196f37++);}_0x196f37++;}else _0x1e68af!==void 0x0&&/\s/['test'](_0x1e68af)?(_0x346294&&(_0x20a6d6[_0x350246(0x15c,0x1f8,_0x3f2f79._0x10e499,_0x3f2f79._0x21b2c2)](_0x346294),_0x346294=''),_0x196f37++):(_0x346294+=_0x1e68af,_0x196f37++);}}function _0x350246(_0x2736c0,_0x53056f,_0x3ef74f,_0x510a3f){return _0x475ba1(_0x510a3f,_0x2736c0-0x192,_0x3ef74f-_0x20f0ea._0x5615e2,_0x510a3f-0xab);}if(_0x346294)_0x20a6d6[_0x43d51c(-0x18,_0x3f2f79._0x28538b,0xef,_0x3f2f79._0x20a5d7)](_0x346294);return _0x20a6d6;}function renderCommandInstructions(_0x539fcc){const _0x21788c={_0x24a071:0xe4,_0x2e5db7:0x2a4,_0x11c926:0xfa,_0x551f0f:0x1bb,_0x140466:0x3a3,_0x425c74:0x180,_0x476ca6:0x2ae,_0x31c0cb:0x4b,_0x2ba0c7:0x203,_0x17a506:0x18c,_0x219bfa:0x3d8,_0x482925:0xeb,_0x284258:0x29c,_0x4268fd:0x2ae,_0x14f263:0x1c6,_0x4727e4:0x1ee,_0x258773:0x18e,_0xc82cdd:0x207,_0x45a807:0x246,_0x11ca01:0x339,_0xe1e13a:0x2e5,_0x1e18fb:0x282,_0x25d839:0x54},_0x38b834={_0x535e23:0x509,_0x247a94:0x515,_0x2ee68c:0x637},_0x18487a={_0x57d6b1:0xb8,_0x2528f6:0x202},_0x4e2ac4={_0x5dc2a8:0xe2},_0x72c246={_0x29b91e:0x1ac,_0x40f412:0xbb};let _0x5a8772=_0x539fcc['instructions'],_0x31e8ae=![];function _0x4a5fd1(_0x4af6b4,_0x13622b,_0x35e2af,_0x198b68){return _0x475ba1(_0x4af6b4,_0x198b68- -_0x72c246._0x29b91e,_0x35e2af-0x120,_0x198b68-_0x72c246._0x40f412);}function _0x4411dc(_0x2e870b,_0x92c7c6,_0x1973e8,_0x51a58f){return _0x475ba1(_0x92c7c6,_0x1973e8-0x19d,_0x1973e8-0x3f,_0x51a58f-_0x4e2ac4._0x5dc2a8);}const _0x35346a=tokenizeCommandArguments(_0x539fcc[_0x4a5fd1(-0x18b,-_0x21788c._0x24a071,0x11c,-0x42)]);_0x5a8772=_0x5a8772[_0x4411dc(0x17d,0x14a,0x18e,_0x21788c._0x2e5db7)](/\$ARGUMENTS\[(\d+)\]/g,(_0x340dfe,_0x4e7050)=>{return _0x31e8ae=!![],_0x35346a[Number(_0x4e7050)]??'';}),_0x5a8772=_0x5a8772[_0x4a5fd1(-_0x21788c._0x11c926,-0x1a5,-0x18a,-_0x21788c._0x551f0f)](/\$ARGUMENTS\b/g,()=>{function _0x15f8e3(_0x505b43,_0xb66b64,_0x577309,_0x5e522d){return _0x4411dc(_0x505b43-_0x18487a._0x57d6b1,_0x5e522d,_0x505b43-_0x18487a._0x2528f6,_0x5e522d-0x78);}return _0x31e8ae=!![],_0x539fcc[_0x15f8e3(_0x38b834._0x535e23,0x43f,_0x38b834._0x247a94,_0x38b834._0x2ee68c)];});if(_0x539fcc[_0x4411dc(_0x21788c._0x140466,_0x21788c._0x425c74,_0x21788c._0x476ca6,0x2be)]&&_0x539fcc[_0x4a5fd1(-_0x21788c._0x31c0cb,-_0x21788c._0x2ba0c7,-0x11d,-0x9b)][_0x4411dc(_0x21788c._0x17a506,0x162,0x25e,_0x21788c._0x219bfa)]>0x0)for(let _0x26d17e=0x0;_0x26d17e<_0x539fcc['argumentNames'][_0x4a5fd1(-0x216,0x4b,-0x155,-_0x21788c._0x482925)];_0x26d17e++){const _0x4b1e4a=_0x539fcc[_0x4411dc(_0x21788c._0x284258,0x20b,_0x21788c._0x4268fd,0x3ff)][_0x26d17e];if(_0x4b1e4a){const _0x58eacf=new RegExp('\x5c$'+_0x4b1e4a+'\x5cb','g');_0x5a8772=_0x5a8772[_0x4411dc(_0x21788c._0x14f263,_0x21788c._0x4727e4,_0x21788c._0x258773,0xa3)](_0x58eacf,()=>{return _0x31e8ae=!![],_0x35346a[_0x26d17e]??'';});}}return _0x5a8772=_0x5a8772[_0x4a5fd1(-_0x21788c._0xc82cdd,-_0x21788c._0x45a807,-_0x21788c._0x11ca01,-0x1bb)](/\$(\d+)\b/g,(_0xc868f2,_0x18c04a)=>{return _0x31e8ae=!![],_0x35346a[Number(_0x18c04a)]??'';}),!_0x31e8ae&&_0x539fcc['argumentsText'][_0x4411dc(_0x21788c._0xe1e13a,0x27c,0x2c3,_0x21788c._0x1e18fb)]()&&(_0x5a8772=_0x5a8772+_0x4411dc(0x38,0x1b3,0x16c,_0x21788c._0x25d839)+_0x539fcc['argumentsText']),_0x5a8772;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x511d68(0x5b4,0x5ff,0x5b7,0x775)},{'env':_0x511d68(0x3ed,0x460,0x3b3,0x337),'provider':_0x511d68(0x5b9,0x63e,0x62a,0x6ec)},{'env':_0x475ba1(0xf3,-0x27,0xf9,-0x141),'provider':_0x511d68(0x5ca,0x556,0x5e5,0x49a)},{'env':_0x511d68(0x6ed,0x6b0,0x768,0x78d),'provider':'github'},{'env':_0x475ba1(-0xe1,-0x44,0x130,-0xb2),'provider':_0x511d68(0x3b7,0x487,0x577,0x602)},{'env':_0x475ba1(0x1e0,0x211,0x128,0x2d8),'provider':_0x475ba1(-0x11,0xdc,-0xa9,-0xa1)},{'env':'ZAI_API_KEY','provider':_0x511d68(0x5a6,0x634,0x559,0x61a)},{'env':_0x475ba1(0x166,0x25d,0x2b1,0x1a6),'provider':_0x475ba1(0x208,0x156,0xb2,0x26e)},{'env':_0x511d68(0x538,0x53c,0x5fa,0x46e),'provider':'minimax'},{'env':_0x511d68(0x56a,0x6c7,0x738,0x834),'provider':'kimi'},{'env':'OPENAI_API_KEY','provider':_0x475ba1(0x1ad,0x28,0x9b,-0x100)},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x475ba1(-0x5c,0x106,0x1f1,0x135)](_0x37373d=>_0x37373d[_0x511d68(0x402,0x51b,0x680,0x3b4)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x475ba1(0x1c1,0x207,0x324,0x2cb),'GOOGLE_CSE_KEY','GOOGLE_CSE_CX'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x475ba1(-0x54,0x8f,-0x99,0x1e2)]),'prototype']);function prototypeSafeRecord(_0x30a4f6){const _0x3576f4={_0x2f62e0:0x2e,_0x4e9633:0x1a2,_0x2c1cb8:0x1e9,_0x58875b:0x2c7,_0x539dc0:0x417,_0x1ba8c0:0x3ee,_0xf1a3a2:0x3af,_0x337ae6:0x25,_0x41843b:0xa5,_0x464bab:0x53},_0x60644f={_0x565a53:0x26d,_0x516760:0x3ff,_0x36075f:0x295,_0x127577:0x83,_0x41d30b:0x171},_0x394240={_0x20b268:0x44c,_0x402f28:0x1a2,_0x287f31:0x49},_0x573e78={_0x9ac731:0x191},_0x5bffa0={_0x57e92d:0x51};function _0x21e2b9(_0x2ff346,_0x3e6d23,_0x5f221d,_0x552669){return _0x475ba1(_0x3e6d23,_0x552669-0x12f,_0x5f221d-0x154,_0x552669-_0x5bffa0._0x57e92d);}function _0x21f61b(_0x4eb5dd,_0x11d289,_0x295ca5,_0x134114){return _0x475ba1(_0x11d289,_0x4eb5dd- -_0x573e78._0x9ac731,_0x295ca5-0xbe,_0x134114-0x7);}return z[_0x21f61b(-0x1ab,-0x231,-_0x3576f4._0x2f62e0,-_0x3576f4._0x4e9633)](_0x2f6606=>{const _0x368742={_0x5977aa:0x32,_0x4e67c0:0x64,_0x3a9722:0x23};function _0x4da935(_0x4a4d76,_0x55000f,_0x4977e0,_0x431455){return _0x21f61b(_0x55000f-_0x368742._0x5977aa,_0x431455,_0x4977e0-_0x368742._0x4e67c0,_0x431455-_0x368742._0x3a9722);}if(_0x2f6606===null||typeof _0x2f6606!=='object'||Array[_0xb63ca6(_0x60644f._0x565a53,0x3a7,0x266,0x40f)](_0x2f6606))return null;const _0x21b18c=Object['getPrototypeOf'](_0x2f6606);function _0xb63ca6(_0x279a09,_0x5753f9,_0x33e18c,_0x442e42){return _0x21f61b(_0x5753f9-_0x394240._0x20b268,_0x279a09,_0x33e18c-_0x394240._0x402f28,_0x442e42-_0x394240._0x287f31);}if(_0x21b18c!==Object[_0xb63ca6(0x347,0x34a,_0x60644f._0x516760,_0x60644f._0x36075f)]&&_0x21b18c!==null)return null;return{'entries':Object[_0x4da935(-0x6d,-0x4,-_0x60644f._0x127577,_0x60644f._0x41d30b)](_0x2f6606)};},z['object']({'entries':z[_0x21e2b9(_0x3576f4._0x2c1cb8,0x3f4,0x419,_0x3576f4._0x58875b)](z[_0x21e2b9(0x23c,_0x3576f4._0x539dc0,_0x3576f4._0x1ba8c0,_0x3576f4._0xf1a3a2)]([z[_0x21f61b(-0x14,-_0x3576f4._0x337ae6,_0x3576f4._0x41843b,-0x180)](),_0x30a4f6]))}))[_0x21f61b(-0x8f,-0xf9,0x25,_0x3576f4._0x464bab)](({entries:_0x3ab7e0})=>Object[_0x21e2b9(0x276,0x127,0x232,0x24d)](_0x3ab7e0));}var chatModelAuthSchemeSchema=z[_0x475ba1(0x179,0xb8,0x1e9,-0xa2)]([_0x475ba1(0x187,0xa,-0x5b,-0x91),_0x511d68(0x5ab,0x57b,0x5aa,0x3f6)]),apiKeyAuthSchema=z['object']({'type':z[_0x475ba1(0x186,0x16d,0x83,0x18a)](_0x511d68(0x5f1,0x6d1,0x6fd,0x708)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x475ba1(0x1d8,0x12a,0x174,-0x45)]()})['passthrough'](),oauthAuthSchema=z['object']({'type':z[_0x511d68(0x6c4,0x5ba,0x4ed,0x604)](_0x475ba1(0x329,0x22d,0x2b9,0x2fc)),'access':z[_0x511d68(0x5c7,0x5ca,0x547,0x51a)](),'refresh':z['string'](),'expires':z[_0x475ba1(0x112,0x19b,0x262,0x15f)]()[_0x475ba1(0x9d,0x12a,0x13a,0x131)](),'authScheme':chatModelAuthSchemeSchema['optional']()})['passthrough'](),finiteNonNegative=z[_0x511d68(0x67d,0x5e8,0x707,0x4e1)]()['finite']()[_0x511d68(0x531,0x451,0x581,0x4bc)](),chatGptAuthSchema=z[_0x511d68(0x633,0x613,0x69d,0x668)]({'type':z[_0x511d68(0x628,0x5ba,0x669,0x58f)](_0x475ba1(0x390,0x21a,0x1ce,0x1a3)),'access':z['string']()[_0x511d68(0x5bf,0x57d,0x421,0x6df)](0x1),'refresh':z[_0x475ba1(0x2b7,0x17d,0x2b7,0x253)]()[_0x511d68(0x4c6,0x57d,0x5da,0x563)](0x1),'idToken':z[_0x511d68(0x5ad,0x5ca,0x628,0x650)]()[_0x475ba1(0x135,0x130,0x281,0xd8)](0x1),'accountId':z[_0x511d68(0x4ab,0x5ca,0x483,0x579)]()[_0x475ba1(0x115,0x130,0x29e,0x198)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x475ba1(0xb1,0x12a,0x284,0x26f)]()})['passthrough'](),authMethodSchema=z[_0x511d68(0x773,0x603,0x687,0x548)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z['object']({'id':z[_0x475ba1(0x216,0x17d,0xa,0x1f5)](),'name':z[_0x511d68(0x675,0x5ca,0x661,0x6d2)]()['optional']()})['passthrough'](),modelConfigSchema=z[_0x475ba1(0x14f,0x1b6,0x1b8,0x106)]([z[_0x511d68(0x6f5,0x5ba,0x439,0x6a5)](![]),z[_0x475ba1(0x1f3,0x16d,0x1ed,0x1ea)](!![]),z[_0x511d68(0x52c,0x5ca,0x6ff,0x72c)](),z[_0x511d68(0x6d8,0x5e5,0x49f,0x5e1)](z[_0x511d68(0x5b1,0x5ca,0x45a,0x529)]()),z[_0x475ba1(0xcc,0x198,0x242,0x6e)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x475ba1(0x23d,0xb8,-0x33,0x5b)]([_0x475ba1(0x1bb,0x13e,0x4a,0x1a0),_0x475ba1(0x244,0x20e,0x129,0x157),_0x475ba1(-0xb0,0x9d,0x20f,0xa8),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x511d68(0x6bd,0x5ca,0x6a0,0x4de)]()[_0x475ba1(0x29c,0x12a,0x101,0x12b)](),'token':z[_0x475ba1(0x26d,0x17d,0x1b3,0x103)]()[_0x511d68(0x4ea,0x577,0x590,0x6f3)](),'defaultModel':z[_0x475ba1(0x25c,0x17d,0x7e,0x1fe)]()[_0x511d68(0x6ad,0x577,0x637,0x5f6)](),'smallModel':z[_0x511d68(0x57b,0x5ca,0x619,0x69a)]()[_0x511d68(0x5c5,0x577,0x5d8,0x6b7)](),'currentAuth':z[_0x511d68(0x6fc,0x5ca,0x6a5,0x484)]()['optional'](),'auth':z[_0x475ba1(0x24a,0x198,0x2d6,0x22)](authMethodSchema)[_0x511d68(0x59b,0x577,0x530,0x511)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z[_0x475ba1(0x63,0x17d,0x204,0x174)]()[_0x511d68(0x6d8,0x577,0x6db,0x541)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x475ba1(-0x4,-0x2b,0x155,0x145)](z[_0x511d68(0x728,0x5ca,0x664,0x458)](),z[_0x511d68(0x618,0x5ca,0x4e9,0x544)]())[_0x511d68(0x555,0x577,0x43b,0x558)]()})[_0x511d68(0x658,0x6cc,0x65e,0x7bd)](),mcpServerConfigSchema=z[_0x511d68(0x4b7,0x613,0x596,0x4d6)]({'command':z[_0x511d68(0x5f6,0x5ca,0x50a,0x60c)]()[_0x475ba1(0xd9,0x12a,-0x4d,0x3)](),'args':z[_0x511d68(0x764,0x5e5,0x533,0x57e)](z[_0x475ba1(0x168,0x17d,0x32,0x1b2)]())[_0x475ba1(0x187,0x12a,0x201,0x225)](),'env':z[_0x475ba1(0x10c,-0x2b,0xca,0xed)](z[_0x475ba1(0xe5,0x17d,0x15c,0x1b9)](),z['string']())[_0x511d68(0x4b2,0x577,0x597,0x55c)](),'transport':z['enum']([_0x511d68(0x4f6,0x536,0x5ce,0x4af),'http'])[_0x511d68(0x50d,0x577,0x619,0x597)](),'url':z[_0x511d68(0x44d,0x5ca,0x6b0,0x743)]()[_0x511d68(0x5a2,0x577,0x4b1,0x443)](),'headers':z[_0x511d68(0x44a,0x422,0x4af,0x55b)](z[_0x511d68(0x6e7,0x5ca,0x67c,0x74c)](),z[_0x475ba1(0x31,0x17d,0x35,0x29a)]())[_0x511d68(0x6b5,0x577,0x649,0x624)](),'prefix':z[_0x511d68(0x533,0x5ca,0x737,0x5b8)]()[_0x475ba1(0x238,0x12a,0x129,0x1a)](),'timeoutMs':z[_0x511d68(0x6b1,0x5e8,0x587,0x69d)]()['optional'](),'enabled':z['boolean']()[_0x511d68(0x5ee,0x577,0x62f,0x4b2)](),'auth':z[_0x511d68(0x4f9,0x613,0x4fb,0x6fc)]({'type':z['enum']([_0x511d68(0x376,0x4fc,0x576,0x44c),_0x475ba1(-0xe9,0xa,0xbe,0x161),'oauth']),'token':z['string']()['optional'](),'oauth':z[_0x511d68(0x4da,0x613,0x701,0x65f)]({'clientId':z[_0x475ba1(0x150,0x17d,0x2be,0x2e7)]()[_0x511d68(0x69d,0x577,0x51a,0x547)](),'clientMetadataUrl':z['string']()[_0x475ba1(0x109,0x12a,0x40,0xfc)](),'authorizationServer':z[_0x511d68(0x6ed,0x5ca,0x626,0x552)]()['optional'](),'scopes':z[_0x511d68(0x655,0x5e5,0x6b6,0x658)](z[_0x511d68(0x508,0x5ca,0x491,0x4a8)]())[_0x511d68(0x5ff,0x577,0x54f,0x522)](),'tokenStorageKey':z[_0x511d68(0x526,0x5ca,0x467,0x6d8)]()[_0x511d68(0x3f3,0x577,0x53c,0x694)]()})['passthrough']()[_0x475ba1(0x29a,0x12a,0x17a,0x3a)]()})['passthrough']()[_0x475ba1(0x222,0x12a,0x1ef,0x90)]()})[_0x475ba1(0x2b4,0x27f,0x215,0x39b)](),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x511d68(0x4c7,0x606,0x6e0,0x56f)]()))[_0x511d68(0x4c9,0x577,0x455,0x526)](),'defaultTimeoutMs':z[_0x511d68(0x5d5,0x5e8,0x722,0x73e)]()['optional']()})[_0x511d68(0x5b9,0x6cc,0x5ad,0x62f)](),skillsSettingsSchema=z[_0x511d68(0x771,0x613,0x656,0x636)]({'enabled':z[_0x475ba1(0x2b2,0x1b9,0x1d4,0x123)]()['optional'](),'includeDefaults':z[_0x511d68(0x52b,0x606,0x724,0x5e6)]()[_0x475ba1(0x252,0x12a,-0xc,-0x12)](),'directories':z[_0x511d68(0x565,0x5e5,0x658,0x534)](z['string']())[_0x475ba1(0x118,0x12a,0x28,0x2f)](),'exclude':z[_0x475ba1(0xfa,0x198,0x2b1,0x16e)](z[_0x511d68(0x66c,0x5ca,0x538,0x707)]())[_0x511d68(0x3fe,0x577,0x4fe,0x5d6)]()})['passthrough'](),commandsSettingsSchema=z[_0x511d68(0x499,0x613,0x5c0,0x638)]({'enabled':z[_0x475ba1(0xf6,0x1b9,0xcc,0x1e4)]()[_0x511d68(0x593,0x577,0x616,0x6b9)](),'directories':z[_0x511d68(0x605,0x5e5,0x544,0x69f)](z[_0x511d68(0x5c5,0x5ca,0x6e6,0x6f1)]())[_0x511d68(0x4bb,0x577,0x49c,0x516)]()})[_0x511d68(0x617,0x6cc,0x62b,0x71a)](),agentsSettingsSchema=z[_0x511d68(0x62e,0x613,0x613,0x678)]({'enabled':z['boolean']()[_0x475ba1(0x22f,0x12a,0x2ad,0x24c)](),'includeDefaults':z[_0x511d68(0x62b,0x606,0x564,0x48c)]()[_0x475ba1(-0x13,0x12a,0x1ba,0x122)](),'directories':z[_0x511d68(0x572,0x5e5,0x49a,0x6c8)](z['string']())['optional']()})[_0x475ba1(0x3c6,0x27f,0x205,0x323)](),uiThemeSettingsSchema=z[_0x511d68(0x500,0x613,0x4d9,0x56a)]({'mode':z['enum']([_0x511d68(0x60b,0x5b8,0x6e3,0x69e),_0x511d68(0x62e,0x6db,0x623,0x67a),'light'])[_0x511d68(0x57c,0x577,0x644,0x514)](),'colorLevel':z[_0x511d68(0x590,0x505,0x3b4,0x580)]([_0x511d68(0x6c7,0x5b8,0x4c0,0x6ac),_0x511d68(0x4e4,0x4fc,0x5fb,0x5fb),_0x475ba1(0xf1,0x47,0x116,0x82),_0x475ba1(0x116,0x1f4,0xae,0x249),_0x511d68(0x3f5,0x431,0x465,0x2cd)])[_0x511d68(0x6d5,0x577,0x511,0x4fd)](),'backgrounds':z['enum']([_0x475ba1(0x65,0x16b,0x230,0x1ef),'on','off'])['optional'](),'messageStyle':z[_0x475ba1(0xb1,0xb8,0x1ea,0x233)]([_0x511d68(0x3cb,0x473,0x4fa,0x45a),'boxed'])[_0x511d68(0x4c4,0x577,0x5b5,0x6f5)]()})['passthrough'](),statuslineSegmentSchema=z[_0x511d68(0x461,0x505,0x4da,0x3af)]([_0x511d68(0x4b5,0x60e,0x651,0x497),'session',_0x475ba1(0x197,0x1ab,0x221,0x2e9),'sudo',_0x475ba1(0x38,0x193,0x259,0x14),_0x511d68(0x824,0x6a1,0x7ec,0x824),_0x511d68(0x523,0x693,0x72b,0x5bc),_0x511d68(0x723,0x5df,0x493,0x6a8),_0x511d68(0x509,0x4f0,0x39b,0x541),'cost',_0x475ba1(0x2d6,0x285,0x22f,0x17d),_0x511d68(0x45f,0x521,0x60d,0x3eb),'keybindings',_0x475ba1(0x1a3,0x182,0x25b,0x58),'rss']),statuslineItemSchema=z[_0x511d68(0x4df,0x603,0x4ef,0x67e)]([statuslineSegmentSchema,z[_0x511d68(0x4f9,0x5ba,0x558,0x5e9)]('|')]),statuslineRowSchema=z[_0x511d68(0x763,0x5e5,0x573,0x6a2)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x511d68(0x4bb,0x577,0x4ba,0x627)]()})['passthrough'](),memorySettingsSchema=z[_0x511d68(0x712,0x613,0x573,0x524)]({'version':z['literal'](0x2)[_0x511d68(0x628,0x577,0x51b,0x6a3)](),'retrieval':z[_0x511d68(0x691,0x613,0x4f8,0x619)]({'engine':z[_0x475ba1(0xf7,0x16d,0xc8,0x251)](_0x475ba1(0xf2,0x177,0x124,0x161))[_0x475ba1(0xc8,0x12a,0xec,0x23f)](),'candidateLimit':z[_0x511d68(0x56d,0x5e8,0x5cd,0x6e7)]()[_0x475ba1(0xd8,0x12a,0x254,0x140)](),'activeCandidateLimit':z[_0x475ba1(0x175,0x19b,0x200,0x2d7)]()['optional'](),'activeEnabled':z[_0x511d68(0x4ac,0x606,0x57f,0x74f)]()[_0x475ba1(0x2e,0x12a,0xaf,0x48)](),'maxQueriesPerTurn':z[_0x511d68(0x6e5,0x5e8,0x5e9,0x4f7)]()[_0x511d68(0x40a,0x577,0x51d,0x516)](),'coreInjectTokenBudget':z[_0x475ba1(0x192,0x19b,0x193,0x302)]()['optional'](),'injectTokenBudget':z['number']()['optional'](),'minScore':z[_0x511d68(0x629,0x5e8,0x640,0x6a1)]()['optional'](),'freshnessHalfLifeDays':z[_0x475ba1(0x39,0x19b,0x168,0x11d)]()['optional']()})['passthrough']()[_0x511d68(0x579,0x577,0x462,0x4b1)](),'extraction':z[_0x511d68(0x5f4,0x613,0x5eb,0x677)]({'enabled':z[_0x511d68(0x762,0x606,0x550,0x58f)]()[_0x511d68(0x503,0x577,0x657,0x625)](),'provider':z[_0x511d68(0x480,0x5ca,0x4ed,0x6cd)]()[_0x475ba1(0x25c,0x12a,0x1e9,0xe1)](),'model':z[_0x511d68(0x5c3,0x5ca,0x498,0x5c4)]()['optional'](),'sensitiveFilter':z[_0x511d68(0x553,0x606,0x688,0x55c)]()[_0x511d68(0x62e,0x577,0x6f9,0x4e9)]()})[_0x511d68(0x5a8,0x6cc,0x703,0x6b6)]()[_0x475ba1(0x79,0x12a,-0x3e,0x261)](),'index':z[_0x511d68(0x778,0x613,0x76d,0x58f)]({'persisted':z[_0x475ba1(0x1a1,0x1b9,0x3c,0x12b)]()[_0x475ba1(0x26f,0x12a,0x168,0x113)](),'flushIntervalMs':z[_0x475ba1(0x19,0x19b,0x23c,0x167)]()[_0x475ba1(0x27,0x12a,0x106,0x1a3)]()})[_0x511d68(0x659,0x6cc,0x63b,0x71e)]()[_0x511d68(0x577,0x577,0x40e,0x601)](),'enabled':z['boolean']()[_0x475ba1(0xf5,0x12a,0x28f,0x29b)](),'saveTool':z[_0x475ba1(0x1af,0x1b9,0xa7,0x288)]()[_0x511d68(0x509,0x577,0x575,0x54e)](),'model':z['string']()[_0x475ba1(0x5,0x12a,0x1e0,0x3)](),'provider':z['string']()['optional'](),'maxInjectionTokens':z[_0x511d68(0x717,0x5e8,0x760,0x46f)]()[_0x511d68(0x4a3,0x577,0x680,0x600)](),'backgroundExtraction':z['boolean']()['optional']()})['passthrough'](),recentModelSchema=z['object']({'provider':z[_0x511d68(0x65a,0x5ca,0x5b2,0x46b)](),'model':z[_0x475ba1(0x2ee,0x17d,0x6f,0x110)](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0x475ba1(0x2b4,0x1c6,0x337,0x27f)]({'disabled':z[_0x511d68(0x5f1,0x606,0x5fb,0x5e8)]()[_0x511d68(0x59b,0x577,0x645,0x545)](),'command':z['string']()[_0x475ba1(0x21d,0x12a,0x172,0x209)](),'args':z[_0x475ba1(0x1b0,0x198,0x293,0x311)](z[_0x511d68(0x473,0x5ca,0x60e,0x69f)]())['optional'](),'rootMarkers':z['array'](z[_0x511d68(0x4e8,0x5ca,0x690,0x5fb)]())[_0x475ba1(0x261,0x12a,0x19e,0x1ab)]()})['passthrough'](),lspConfigSchema=z[_0x475ba1(0x220,0x1c6,0x245,0x286)]({'enabled':z[_0x475ba1(0x156,0x1b9,0x23a,0xd4)]()[_0x475ba1(0x48,0x12a,0x2a0,0x210)](),'servers':z[_0x475ba1(-0x102,-0x2b,0x35,0x52)](z[_0x511d68(0x6dd,0x5ca,0x6ee,0x479)](),lspServerEntrySchema)['optional']()})[_0x511d68(0x729,0x6cc,0x80a,0x7b7)](),serverEndpointSchema=z['object']({'url':z[_0x511d68(0x70b,0x5ca,0x663,0x661)](),'token':z[_0x475ba1(0x2e,0x17d,0x1b7,0x77)]()['optional']()})[_0x511d68(0x685,0x6cc,0x566,0x5aa)](),commandHookConfigSchema=z[_0x475ba1(0x2a1,0x1c6,0x5f,0x294)]({'type':z[_0x475ba1(0x118,0x16d,-0xc,0x2bd)](_0x511d68(0x4dd,0x486,0x4d5,0x332)),'command':z['string'](),'timeout':z[_0x511d68(0x704,0x5e8,0x5db,0x593)]()[_0x511d68(0x454,0x577,0x423,0x6e5)]()}),hookMatcherGroupSchema=z[_0x475ba1(0x32f,0x1c6,0x132,0x186)]({'matcher':z[_0x511d68(0x553,0x5ca,0x5a7,0x57b)]()['optional'](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x475ba1(0x2a7,0x1c6,0xc5,0x177)]({'PreToolUse':z[_0x475ba1(0x147,0x198,0x2ce,0x23c)](hookMatcherGroupSchema)[_0x511d68(0x47c,0x577,0x4b9,0x6f7)](),'PostToolUse':z[_0x475ba1(0x126,0x198,0x51,0x2db)](hookMatcherGroupSchema)[_0x475ba1(0x1dd,0x12a,0x17c,0x5f)](),'UserPromptSubmit':z[_0x475ba1(0x59,0x198,0x136,0x108)](hookMatcherGroupSchema)[_0x475ba1(0x212,0x12a,0x5,0x255)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x511d68(0x4ae,0x577,0x444,0x698)](),'Notification':z[_0x511d68(0x563,0x5e5,0x537,0x48a)](hookMatcherGroupSchema)[_0x511d68(0x424,0x577,0x5e1,0x412)](),'ToolApprovalRequest':z[_0x475ba1(0x116,0x198,0x216,0x2b8)](hookMatcherGroupSchema)[_0x475ba1(0x216,0x12a,0x14c,0x2aa)](),'SessionStart':z[_0x475ba1(0x2e7,0x198,0x270,0x115)](hookMatcherGroupSchema)[_0x475ba1(0x151,0x12a,0x256,0x213)](),'SessionEnd':z[_0x475ba1(0x247,0x198,0x130,0xb2)](hookMatcherGroupSchema)[_0x511d68(0x64c,0x577,0x4f5,0x5ae)]()}),providerNameSchema=z['string']()[_0x511d68(0x615,0x57d,0x640,0x64c)](0x1,_0x511d68(0x4e9,0x5ad,0x63e,0x542))[_0x511d68(0x55a,0x696,0x54f,0x60d)](_0x28c13e=>!_0x28c13e[_0x511d68(0x48f,0x477,0x5e1,0x4b1)](':'),_0x511d68(0x5c6,0x674,0x55d,0x73c)),cliConfigSchema=z[_0x511d68(0x5f3,0x613,0x5da,0x689)]({'activeProvider':providerNameSchema[_0x475ba1(0x275,0x12a,0x20b,-0xd)](),'activeModel':z['string']()[_0x511d68(0x4bc,0x577,0x484,0x573)](),'apiKey':z[_0x511d68(0x446,0x5ca,0x5df,0x6ff)]()[_0x475ba1(0x299,0x12a,0x17,0xb4)](),'providers':z[_0x475ba1(-0x2e,-0x2b,0x14c,0xc5)](providerNameSchema,providerConfigSchema)[_0x511d68(0x588,0x577,0x61e,0x6bb)](),'mcp':mcpSettingsSchema[_0x475ba1(0x1df,0x12a,0x1ec,0x77)](),'skills':skillsSettingsSchema[_0x475ba1(0x1ed,0x12a,0xdb,0x234)](),'agents':agentsSettingsSchema[_0x475ba1(0x19a,0x12a,-0x31,0xaf)](),'commands':commandsSettingsSchema[_0x511d68(0x4f9,0x577,0x42d,0x546)](),'skillsEnabled':z[_0x475ba1(-0x52,-0x2b,-0xfe,0x8e)](z[_0x475ba1(0x190,0x17d,0x2,0x286)](),z['boolean']())[_0x475ba1(0x89,0x12a,0xdf,0x225)](),'allowedDirs':z[_0x475ba1(0x2ac,0x198,0x1ba,0x296)](z[_0x475ba1(0x24e,0x17d,0x38,0x15a)]())[_0x511d68(0x501,0x577,0x4e9,0x56c)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x511d68(0x542,0x577,0x5d9,0x654)](),'commandsEnabled':z[_0x475ba1(-0x138,-0x2b,-0xda,-0x181)](z[_0x511d68(0x4ee,0x5ca,0x6de,0x480)](),z['boolean']())[_0x511d68(0x565,0x577,0x642,0x3f8)](),'memory':memorySettingsSchema[_0x475ba1(0x17b,0x12a,0x239,0x28)](),'session':z[_0x511d68(0x4dc,0x613,0x75a,0x567)]({'memPersist':z['boolean']()[_0x475ba1(0x94,0x12a,0x150,0x80)](),'persistEventLog':z[_0x475ba1(0x2ff,0x1b9,0x2e4,0x56)]()['optional'](),'persistHttpLog':z[_0x475ba1(0x321,0x1b9,0x25c,0x32a)]()[_0x475ba1(0x1ad,0x12a,0x181,0x17e)]()})[_0x511d68(0x6b2,0x6cc,0x756,0x777)]()['optional'](),'requireToolApproval':z[_0x511d68(0x6c3,0x606,0x4f2,0x6d7)]()['optional'](),'thinking':z[_0x475ba1(-0xc9,0xb8,0x198,0x6d)]([_0x475ba1(-0x97,0xb4,0x157,0x1e3),_0x475ba1(-0x8,0xc,0x178,0x8c),'MEDIUM',_0x511d68(0x4ab,0x48a,0x557,0x4b4)])['optional'](),'streamingChunks':z['boolean']()[_0x475ba1(0x173,0x12a,0x69,0x1d0)](),'agentsEnabled':z[_0x511d68(0x461,0x422,0x43b,0x584)](z[_0x511d68(0x46f,0x5ca,0x68a,0x746)](),z[_0x475ba1(0x213,0x1b9,0x92,0x173)]())['optional'](),'recentModels':z[_0x475ba1(0xa6,0x198,0x30a,0x15a)](recentModelSchema)[_0x475ba1(0x20c,0x12a,0x156,0x27e)](),'lsp':lspConfigSchema[_0x475ba1(0xca,0x12a,0x67,0x142)](),'servers':z[_0x475ba1(0x75,-0x2b,-0x19e,-0x13f)](z[_0x475ba1(0x22a,0x17d,0x8,0x1b8)](),serverEndpointSchema)[_0x475ba1(-0xe,0x12a,0xef,0x9a)](),'ui':z[_0x475ba1(0x2a4,0x1c6,0x186,0x160)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x475ba1(0x1af,0x12a,0x17e,0x81)]()})[_0x511d68(0x5c1,0x6cc,0x754,0x5a0)]()[_0x511d68(0x441,0x577,0x4aa,0x57b)](),'tools':z['record'](z[_0x511d68(0x47a,0x5ca,0x67d,0x4b5)](),z['unknown']())[_0x511d68(0x42a,0x577,0x4ea,0x6a3)](),'hooks':hooksConfigSchema['optional']()})[_0x475ba1(0x1cc,0x27f,0x3b2,0x3cf)](),workspaceOverlaySchema=z[_0x511d68(0x5ca,0x613,0x68c,0x4d5)]({'root':z[_0x475ba1(0x39,0x17d,0x120,0x142)]()[_0x475ba1(0x11,0x12a,0xe6,0x39)](),'allowedDirs':z[_0x475ba1(0x1d7,0x198,0x13c,0x3d)](z['string']())[_0x511d68(0x4f6,0x577,0x55a,0x514)](),'activeProvider':providerNameSchema[_0x475ba1(0x1a9,0x12a,0x1b1,-0x9)](),'activeModel':z['string']()[_0x475ba1(0x263,0x12a,0x297,0x7c)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x511d68(0x6dc,0x577,0x5dd,0x6e1)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0x511d68(0x6f0,0x577,0x4b4,0x60a)](),'mcpEnabled':prototypeSafeRecord(z[_0x511d68(0x59c,0x606,0x524,0x752)]())[_0x475ba1(0x222,0x12a,0x241,0x19a)](),'skillsEnabled':z[_0x475ba1(0x48,-0x2b,0xaf,0xa5)](z[_0x511d68(0x525,0x5ca,0x662,0x590)](),z[_0x475ba1(0xec,0x1b9,0x138,0x1b4)]())[_0x511d68(0x563,0x577,0x49f,0x51f)](),'agentsEnabled':z[_0x511d68(0x571,0x422,0x492,0x438)](z[_0x511d68(0x65c,0x5ca,0x60d,0x716)](),z['boolean']())[_0x475ba1(0x123,0x12a,0xfb,0x34)](),'commandsEnabled':z['record'](z[_0x475ba1(0x22b,0x17d,0x10f,0x14e)](),z['boolean']())[_0x475ba1(0x2a8,0x12a,0x6f,0x185)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']);function buildDescription(_0x279d2d){const _0x1abe66={_0xf0924:0x56a,_0xb848c8:0x429,_0x4e5df0:0x2f7,_0x2ac651:0x471,_0x222378:0x611,_0x381d2d:0x227,_0x46cc0c:0x2bd,_0x3ac1dc:0x750,_0x1fd6df:0x61f,_0x511fc0:0x3e2,_0x277623:0x431,_0x5b5a30:0x1b2,_0x4659bd:0x2c0,_0xd4579b:0x38a,_0x50b7d0:0x30a},_0x2dc42a={_0x3b29df:0x15e},_0x4759d1={_0x17321e:0x1ba,_0x18240d:0x30};if(_0x279d2d[_0x3839b6(_0x1abe66._0xf0924,_0x1abe66._0xb848c8,0x565,0x3fa)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x2643e2(_0x1abe66._0x4e5df0,0x395,0x36a,_0x1abe66._0x2ac651),_0x2643e2(0x472,0x3ff,0x2b8,0x32c)][_0x3839b6(0x643,_0x1abe66._0x222378,0x74e,0x50f)]('\x0a');function _0x2643e2(_0x217a06,_0x349532,_0x326497,_0x3cc39c){return _0x475ba1(_0x326497,_0x3cc39c-_0x4759d1._0x17321e,_0x326497-_0x4759d1._0x18240d,_0x3cc39c-0x1bf);}function _0x3839b6(_0x5ee238,_0x4efe60,_0x3608af,_0x216510){return _0x475ba1(_0x3608af,_0x4efe60-0x368,_0x3608af-_0x2dc42a._0x3b29df,_0x216510-0x1d3);}const _0x573cb7=[_0x2643e2(0x28b,_0x1abe66._0x381d2d,_0x1abe66._0x46cc0c,0x215),_0x3839b6(_0x1abe66._0x3ac1dc,_0x1abe66._0x1fd6df,0x643,0x6e3),_0x3839b6(_0x1abe66._0x511fc0,_0x1abe66._0x277623,0x3cb,0x2b5),..._0x279d2d[_0x2643e2(0x2aa,0x17e,_0x1abe66._0x5b5a30,_0x1abe66._0x4659bd)](_0x4d3993=>_0x4d3993[_0x3839b6(0x32d,0x3ba,0x340,0x538)]?'-\x20'+_0x4d3993[_0x2643e2(0x271,0x25e,0x3da,0x2dc)]+'\x20'+_0x4d3993[_0x2643e2(0x12e,0x32d,0x34f,0x20c)]+':\x20'+_0x4d3993['description']:'-\x20'+_0x4d3993['name']+':\x20'+_0x4d3993[_0x3839b6(0x2aa,0x38c,0x20d,0x450)])];return _0x573cb7[_0x2643e2(_0x1abe66._0xd4579b,_0x1abe66._0x50b7d0,0x3dc,0x463)]('\x0a');}function createInvokeCommandTool(_0x258acb){const _0xb8e286={_0x10d9f0:0x13a,_0x57725f:0x20f,_0x25b57f:0x2c,_0x282d2b:0xc4,_0x3bcf28:0xc9,_0x1531fb:0x9e,_0x1e1106:0x11,_0x2e418c:0x7a,_0x11f022:0x1b6,_0xe88b52:0x142,_0x5a8acb:0x68b,_0x221afd:0x701,_0x4cf13a:0x6d7},_0x1aa60b={_0x50d836:0x100,_0x53ee33:0x1aa,_0x4deba4:0xf9,_0x299c62:0x13e,_0x3f4de6:0x61b,_0x98011:0x89c,_0x2ef9e1:0x792,_0x1a8567:0x3ce,_0x4e8046:0x27f,_0x5e2fad:0x91b,_0x930093:0x82b,_0x106692:0x561,_0xc5ad52:0x659,_0x36e2d1:0x809,_0x5e6807:0x756,_0x2162d8:0x6a4,_0x21ded2:0xbb,_0x4e47fd:0x1ee,_0x4cf60f:0xb2,_0x23898c:0x744,_0x4a9ee8:0x6fe,_0x1659a5:0x7c6,_0x124b0c:0x87b,_0x472ca5:0x32,_0x2dee85:0x635,_0x236818:0x548,_0xcd0b1d:0x6a4,_0x347c4d:0x54e,_0x58cbbc:0x6b7,_0x363906:0x7e6,_0x1cc2fa:0x7f2,_0x19bff7:0x7d3,_0x441512:0x8a0},_0x284861={_0x2b7a82:0xda},_0x35c05b={_0x228383:0x550},_0x5bf9ac={_0x11633f:0x5df,_0x2d421:0x95},_0x2cb83a=new Map(_0x258acb[_0x5d6c71(-_0xb8e286._0x10d9f0,-_0xb8e286._0x57725f,-0xc4,-0x1b6)]['map'](_0x4489b4=>[_0x4489b4['id'],_0x4489b4])),_0x5f5211=buildDescription(_0x258acb[_0x5d6c71(0xb4,_0xb8e286._0x25b57f,-_0xb8e286._0x282d2b,-_0xb8e286._0x3bcf28)]);function _0x144725(_0x3e5bd6,_0x201862,_0x58cca7,_0x449f42){return _0x475ba1(_0x201862,_0x58cca7-_0x5bf9ac._0x11633f,_0x58cca7-_0x5bf9ac._0x2d421,_0x449f42-0x6d);}function _0x5d6c71(_0x1dfac3,_0x45c84f,_0x8f16fe,_0x2481fc){return _0x511d68(_0x1dfac3-0x1b9,_0x8f16fe- -_0x35c05b._0x228383,_0x8f16fe-0xa6,_0x2481fc);}return defineTool({'name':'InvokeCommand','description':_0x5f5211,'inputSchema':{'type':_0x144725(0x7e1,0x638,0x7a5,0x685),'properties':{'name':{'type':_0x5d6c71(_0xb8e286._0x1531fb,-_0xb8e286._0x1e1106,_0xb8e286._0x2e418c,-0xe2)},'args':{'type':_0x5d6c71(_0xb8e286._0x11f022,-0x8d,_0xb8e286._0x2e418c,_0xb8e286._0xe88b52)}},'required':[_0x144725(0x725,_0xb8e286._0x5a8acb,_0xb8e286._0x221afd,_0xb8e286._0x4cf13a)]},async *'execute'(_0xc08c03){const _0x754139={_0x2cd4f6:0x24,_0xacac8f:0x5d};function _0x11c908(_0x36d886,_0x4bdd63,_0x383381,_0x48b3fa){return _0x5d6c71(_0x36d886-0x118,_0x4bdd63-0x118,_0x383381-_0x284861._0x2b7a82,_0x48b3fa);}const _0x47a7a4=_0x2cb83a[_0x11c908(0x156,0x47,_0x1aa60b._0x50d836,0x24b)](_0xc08c03[_0x11c908(0x1ca,_0x1aa60b._0x53ee33,_0x1aa60b._0x4deba4,_0x1aa60b._0x299c62)]);function _0x3ff5c7(_0x4a5ce0,_0x59a9bc,_0xa93f8d,_0x402751){return _0x144725(_0x4a5ce0-_0x754139._0x2cd4f6,_0x4a5ce0,_0xa93f8d- -_0x754139._0xacac8f,_0x402751-0x164);}if(!_0x47a7a4){const _0x28c473=Array[_0x3ff5c7(_0x1aa60b._0x3f4de6,_0x1aa60b._0x98011,_0x1aa60b._0x2ef9e1,0x783)](_0x2cb83a[_0x11c908(_0x1aa60b._0x1a8567,0x105,_0x1aa60b._0x4e8046,0x29c)]())[_0x3ff5c7(0x97f,_0x1aa60b._0x5e2fad,_0x1aa60b._0x930093,0x92b)](',\x20');throw new ToolExecutionError(_0x3ff5c7(0x68e,_0x1aa60b._0x106692,_0x1aa60b._0xc5ad52,0x6e4)+_0xc08c03[_0x3ff5c7(_0x1aa60b._0x36e2d1,_0x1aa60b._0x5e6807,_0x1aa60b._0x2162d8,0x786)]+_0x11c908(_0x1aa60b._0x21ded2,0x25e,_0x1aa60b._0x4e47fd,_0x1aa60b._0x4cf60f)+_0x28c473,{'name':_0xc08c03['name']});}const _0x333326=await _0x258acb[_0x3ff5c7(0x69a,0x599,0x5f9,_0x1aa60b._0x23898c)](_0x47a7a4),_0x294237=_0xc08c03['args']??'',_0x270f18=renderCommandInstructions({'instructions':_0x333326[_0x3ff5c7(_0x1aa60b._0x4a9ee8,_0x1aa60b._0x1659a5,0x779,_0x1aa60b._0x124b0c)],'argumentsText':_0x294237,'argumentNames':_0x333326[_0x11c908(0x14f,_0x1aa60b._0x472ca5,0xaa,0x58)]});return yield createToolOutput(_0x270f18,{'id':_0x333326['id'],'name':_0x333326[_0x3ff5c7(_0x1aa60b._0x2dee85,_0x1aa60b._0x236818,_0x1aa60b._0xcd0b1d,_0x1aa60b._0x347c4d)],'path':_0x47a7a4[_0x3ff5c7(0x858,_0x1aa60b._0x58cbbc,0x73e,_0x1aa60b._0x363906)][_0x3ff5c7(0x728,_0x1aa60b._0x1cc2fa,_0x1aa60b._0x19bff7,_0x1aa60b._0x441512)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x4ebb33,rename as _0x3f45db,stat as _0x50e6ac,writeFile as _0x5dcf61}from'fs/promises';import*as _0x3569ed from'path';function detectEol(_0x495593){const _0x52754d={_0xea63e0:0xf0,_0x2544d1:0x19e,_0x197e8d:0x4e,_0x53f701:0x99,_0x47ab8c:0x3f,_0x468012:0x148,_0x39935b:0xf},_0x2cc9e9={_0x49a48d:0x1b9,_0x2aaecf:0xec,_0x262ba2:0x174},_0x2af7b9={_0x4969f3:0x82,_0x429404:0x54b};function _0x7565a6(_0xd1634a,_0x542539,_0x452229,_0x19b58){return _0x511d68(_0xd1634a-_0x2af7b9._0x4969f3,_0x542539- -_0x2af7b9._0x429404,_0x452229-0x89,_0xd1634a);}function _0x536a76(_0x41801c,_0x38bcfa,_0x2a39dc,_0x10be5e){return _0x475ba1(_0x10be5e,_0x38bcfa- -_0x2cc9e9._0x49a48d,_0x2a39dc-_0x2cc9e9._0x2aaecf,_0x10be5e-_0x2cc9e9._0x262ba2);}return/\r\n/[_0x536a76(0x21b,0xf7,0x20,_0x52754d._0xea63e0)](_0x495593[_0x7565a6(_0x52754d._0x2544d1,_0x52754d._0x197e8d,0x52,0xd0)](_0x536a76(0x173,0x28,_0x52754d._0x53f701,0x10f)))?_0x7565a6(-_0x52754d._0x47ab8c,-0xc,-_0x52754d._0x468012,-_0x52754d._0x39935b):'lf';}function normalizeToLf(_0x4c7a41){const _0x56eab7={_0x6d6bfc:0x178,_0x31d2a2:0xdd},_0x42449b={_0x3f6598:0xce,_0x46d4c2:0x1ac,_0x1e2760:0x29};function _0xb52454(_0x1ecadd,_0x2d39a2,_0x57e98c,_0x164f9c){return _0x475ba1(_0x164f9c,_0x2d39a2- -_0x42449b._0x3f6598,_0x57e98c-_0x42449b._0x46d4c2,_0x164f9c-_0x42449b._0x1e2760);}return _0x4c7a41[_0xb52454(-_0x56eab7._0x6d6bfc,-_0x56eab7._0x31d2a2,-0x22e,-0x1f5)](/\r\n/g,'\x0a');}function convertEol(_0x2d2ec3,_0x438c10){const _0x1a0611={_0x26a4db:0x5b3,_0xbbb671:0x2c,_0x3ff731:0x11d},_0x2f213a={_0x537b3a:0x13c,_0x16eb80:0x131},_0x2f8e5d={_0x322616:0x6d};function _0x34ba58(_0x5a48ee,_0x7d4fec,_0x1e78d3,_0x3b0e44){return _0x511d68(_0x5a48ee-_0x2f8e5d._0x322616,_0x3b0e44- -0x55b,_0x1e78d3-0x144,_0x5a48ee);}function _0x2cbbbd(_0x29cc8a,_0x28c4d0,_0x55080d,_0x5209b3){return _0x511d68(_0x29cc8a-_0x2f213a._0x537b3a,_0x55080d-_0x2f213a._0x16eb80,_0x55080d-0x1e1,_0x28c4d0);}return _0x438c10===_0x2cbbbd(0x7a4,0x76c,0x670,_0x1a0611._0x26a4db)?_0x2d2ec3[_0x34ba58(-0x1dd,-0x20f,-_0x1a0611._0xbbb671,-_0x1a0611._0x3ff731)](/\n/g,'\x0d\x0a'):_0x2d2ec3;}async function atomicWrite(_0x934751,_0x593f18){const _0x2bda36={_0x1d5482:0x21c,_0x24af17:0x2c,_0x1e580c:0xf5,_0x433923:0xb8,_0x419648:0x160,_0x230c80:0x19d,_0x88d1fc:0xd,_0x1c8224:0x28},_0x599af1={_0x3b2327:0x58,_0x129026:0x1a8},_0x529f25={_0x120976:0x14,_0x3653c9:0xfa,_0x472f5b:0x1b5};function _0x580225(_0x1550b0,_0x32b6ee,_0x3e9324,_0x398573){return _0x475ba1(_0x3e9324,_0x1550b0-_0x529f25._0x120976,_0x3e9324-_0x529f25._0x3653c9,_0x398573-_0x529f25._0x472f5b);}const _0x2cf523=_0x3569ed['dirname'](_0x934751);function _0x5a7bf3(_0x5b2907,_0x4d73f7,_0x127b0e,_0x588375){return _0x475ba1(_0x4d73f7,_0x5b2907- -0xa9,_0x127b0e-_0x599af1._0x3b2327,_0x588375-_0x599af1._0x129026);}const _0x48244b=_0x3569ed['join'](_0x2cf523,_0x580225(0x114,_0x2bda36._0x1d5482,_0x2bda36._0x24af17,_0x2bda36._0x1e580c)+_0x3569ed['basename'](_0x934751)+'.'+Date['now']()+'.'+Math[_0x580225(0x17,0x15d,-0x16,_0x2bda36._0x433923)]()[_0x580225(_0x2bda36._0x419648,0x1b8,0x205,_0x2bda36._0x230c80)](0x24)[_0x5a7bf3(-0x5c,_0x2bda36._0x88d1fc,-_0x2bda36._0x1c8224,-0x142)](0x2));await _0x5dcf61(_0x48244b,_0x593f18),await _0x3f45db(_0x48244b,_0x934751);}function sha256(_0x285b40){const _0x25d62e={_0x3034d3:0x340,_0x5321b1:0x216,_0x4a25aa:0x49,_0xf9f266:0x177},_0x3e400d={_0x468b3d:0x28a,_0x58447c:0x196};function _0x4c6853(_0x398d36,_0x31b8fa,_0x2c98d1,_0x48e6d1){return _0x475ba1(_0x2c98d1,_0x398d36-_0x3e400d._0x468b3d,_0x2c98d1-0x16,_0x48e6d1-_0x3e400d._0x58447c);}function _0x10a9de(_0x1b1857,_0x484224,_0x431ec3,_0x170011){return _0x511d68(_0x1b1857-0xbf,_0x431ec3- -0x30f,_0x431ec3-0xfd,_0x1b1857);}return createHash(_0x10a9de(0x21b,_0x25d62e._0x3034d3,0x1bc,0x72))[_0x10a9de(_0x25d62e._0x5321b1,_0x25d62e._0x4a25aa,0x196,_0x25d62e._0xf9f266)](_0x285b40)['digest']('hex');}function countLines(_0x47bce5){const _0x20d011={_0x402b34:0x67,_0x15b417:0x1c1,_0x1c6dfc:0x69,_0x3d1603:0x78,_0x4ef827:0x1eb,_0x3e1379:0x2c9,_0x164b90:0x2bc,_0x386021:0xb9,_0x3cbb52:0x191},_0x190108={_0xdf357e:0x1f4,_0x18db2d:0x5b6,_0x46dfbb:0x13f},_0x288c86={_0x4ab7ed:0x58},_0x2a5ad9=_0x47bce5[_0x4ed7d7(-_0x20d011._0x402b34,-0x114,-_0x20d011._0x15b417,-0x8)](/\n$/,'');function _0x4ed7d7(_0x2fcfd1,_0x543f24,_0x3e138a,_0x27bc2d){return _0x475ba1(_0x3e138a,_0x2fcfd1- -_0x288c86._0x4ab7ed,_0x3e138a-0x0,_0x27bc2d-0x10f);}function _0x28055b(_0x5285bf,_0x3d177d,_0x26f031,_0x33d9e3){return _0x511d68(_0x5285bf-_0x190108._0xdf357e,_0x3d177d- -_0x190108._0x18db2d,_0x26f031-_0x190108._0x46dfbb,_0x33d9e3);}return _0x2a5ad9[_0x4ed7d7(_0x20d011._0x1c6dfc,0x128,_0x20d011._0x3d1603,_0x20d011._0x4ef827)]===0x0?0x0:_0x2a5ad9[_0x4ed7d7(0x1dd,_0x20d011._0x3e1379,0xa9,_0x20d011._0x164b90)]('\x0a')[_0x4ed7d7(0x69,_0x20d011._0x386021,_0x20d011._0x3cbb52,0x11c)];}function calculateLineNumbers(_0x45b641,_0x5eedba,_0x4ac8ac,_0x60fd8b){const _0x2388a5={_0x352448:0x82,_0x3fd8ac:0xa7,_0x54eb2a:0xf1,_0x5ef154:0x84,_0xf6befc:0x1d1},_0x2a4fe9={_0x7f1592:0x19e,_0x17ea77:0x15f},_0x2d6a7b={_0x5b72b4:0x45f,_0x5458e1:0x1a2};function _0x1babfa(_0x363615,_0x3b25b2,_0x384b00,_0x54a60f){return _0x511d68(_0x363615-0x177,_0x384b00- -_0x2d6a7b._0x5b72b4,_0x384b00-_0x2d6a7b._0x5458e1,_0x54a60f);}const _0x3e131d=_0x45b641[_0x1babfa(_0x2388a5._0x352448,_0x2388a5._0x3fd8ac,0x3b,0xa5)](0x0,_0x60fd8b)[_0x1babfa(0x1e6,_0x2388a5._0x54eb2a,0x223,0x23e)]('\x0a')[_0x1babfa(0x187,_0x2388a5._0x5ef154,0xaf,_0x2388a5._0xf6befc)],_0x5e0cf2=countLines(_0x5eedba);function _0x264dfb(_0xb296de,_0x5314d8,_0x1eb31a,_0x3d0a39){return _0x511d68(_0xb296de-_0x2a4fe9._0x7f1592,_0x1eb31a- -0x509,_0x1eb31a-_0x2a4fe9._0x17ea77,_0xb296de);}const _0xb59cf7=countLines(_0x4ac8ac);return{'oldStartLine':_0x3e131d,'oldEndLine':_0x3e131d+_0x5e0cf2-0x1,'newStartLine':_0x3e131d,'newEndLine':_0x3e131d+_0xb59cf7-0x1,'oldLineCount':_0x5e0cf2,'newLineCount':_0xb59cf7};}function createFileEditTool(_0x1197d7={}){const _0x7458f3={_0x17f3e4:0x555,_0x47c92b:0x5c2,_0xf45531:0x594,_0x30c468:0x5c0,_0x12f998:0x477,_0x1e088c:0x67a,_0x14f07d:0x4ff,_0x483cea:0x6ee,_0x30c2e8:0x651,_0x483aec:0x652,_0x24ebc4:0x6b0,_0x376198:0x65f,_0x2bba45:0x61a,_0x2e6267:0x797,_0x4e7372:0x725,_0x5dc6d2:0x6c5,_0x31e995:0x706,_0x12efc9:0x858,_0x3dfcce:0x781,_0x5d762f:0x6f0,_0x5ea287:0x700,_0x57b99b:0x934,_0x5c11c6:0x801,_0x781585:0x859,_0x2eaacd:0x616,_0x446b58:0x4d8,_0x5b1347:0x4ce,_0x2b431e:0x59c,_0x187db0:0x542,_0xae1f75:0x70f,_0x594e22:0x838,_0x29592c:0x742,_0x490f0b:0x88f,_0x4c3525:0x65e,_0x388da3:0x7f1},_0x18621f={_0x5508fb:0x5eb,_0x4993ab:0x51a,_0x5e2fce:0x793,_0x30d2f9:0x8fc,_0x2ce992:0x84c,_0x230be0:0x805,_0x1f9a2b:0x84f,_0x5dcbc7:0x67f,_0x2dedf4:0x618,_0x232fc6:0x592,_0x2e63f0:0x7a4,_0xb2b52c:0x86a,_0x24c50e:0x914,_0xffa248:0x643,_0x16f765:0x68f,_0x4fc218:0x7f6,_0x2c47da:0x533,_0x45b8ac:0x79e,_0x4b06f0:0x8e2,_0x247e56:0x76c,_0x1ab6a0:0x292,_0x24a07a:0x38d,_0x1a1609:0x314,_0x870270:0x348,_0x3d0aba:0x39e,_0x2c31d5:0x314,_0xd43a6f:0x411,_0x39fc53:0x405,_0xb9ebc9:0x436,_0x2b13c8:0x4e6,_0x3e3c4e:0x4a8,_0x5cb5ec:0x81d,_0x47e604:0x80d,_0xb3b494:0x872,_0x4a93d5:0x968,_0x40e823:0x24e,_0x2f93db:0x852,_0x414047:0x24d,_0x170115:0x2bf,_0x565c06:0x827,_0x1170ac:0x48a,_0x354468:0x64f,_0x5100e9:0x4e9,_0x3dbe6c:0x554,_0x594bd2:0x724,_0x2bc6af:0x4e1,_0x7e7b51:0x343,_0x5efea9:0x372,_0x4eb1b2:0x2cf,_0x7adfa3:0x388},_0x580507={_0x40824b:0x309,_0x15729e:0xcc,_0x3a7d12:0xe},_0x1ed422={_0x144f31:0xef,_0x14a886:0x183},_0x2ed80c=_0x3569ed[_0x3d03cb(0x462,_0x7458f3._0x17f3e4,0x47e,_0x7458f3._0x47c92b)](_0x1197d7['defaultCwd']??process[_0x3d03cb(0x6d6,0x6e8,_0x7458f3._0xf45531,0x728)]());function _0x5950d4(_0x4023c2,_0xfe1829,_0x4edf3d,_0x189b85){return _0x511d68(_0x4023c2-_0x1ed422._0x144f31,_0xfe1829-_0x1ed422._0x14a886,_0x4edf3d-0x69,_0x4023c2);}const _0x4d13b7=_0x1197d7[_0x3d03cb(_0x7458f3._0x30c468,0x633,0x5db,_0x7458f3._0x12f998)]??[];function _0x3d03cb(_0xc1db11,_0x42d402,_0x52bd65,_0x13c70b){return _0x511d68(_0xc1db11-0x10a,_0xc1db11-0x4c,_0x52bd65-0x1ea,_0x52bd65);}const _0x29b83f=_0x1197d7[_0x3d03cb(0x5bb,0x5dd,_0x7458f3._0x1e088c,_0x7458f3._0x14f07d)]??_0x3d03cb(_0x7458f3._0x483cea,0x85e,_0x7458f3._0x30c2e8,_0x7458f3._0x483aec);return defineTool({'name':_0x29b83f,'description':_0x5950d4(_0x7458f3._0x24ebc4,0x687,0x55d,0x5b7),'inputSchema':{'type':_0x3d03cb(_0x7458f3._0x376198,_0x7458f3._0x2bba45,_0x7458f3._0x2e6267,_0x7458f3._0x4e7372),'properties':{'filePath':{'type':_0x5950d4(_0x7458f3._0x5dc6d2,0x74d,_0x7458f3._0x31e995,_0x7458f3._0x12efc9)},'description':{'type':_0x5950d4(_0x7458f3._0x3dfcce,0x74d,_0x7458f3._0x5d762f,_0x7458f3._0x5ea287),'description':_0x5950d4(_0x7458f3._0x57b99b,_0x7458f3._0x5c11c6,_0x7458f3._0x781585,0x81d)},'oldText':{'type':_0x3d03cb(_0x7458f3._0x2eaacd,_0x7458f3._0x446b58,_0x7458f3._0x5b1347,_0x7458f3._0x2b431e)},'newText':{'type':_0x3d03cb(0x616,_0x7458f3._0x187db0,_0x7458f3._0xae1f75,0x49f)},'dryRun':{'type':_0x5950d4(_0x7458f3._0x594e22,0x789,0x6df,0x89c)}},'required':[_0x5950d4(_0x7458f3._0x29592c,0x76e,0x742,_0x7458f3._0x490f0b),_0x3d03cb(0x71a,_0x7458f3._0x4c3525,_0x7458f3._0x388da3,0x5d2),_0x3d03cb(0x54a,0x580,0x5ba,_0x7458f3._0x2b431e)]},async *'execute'(_0x44bbcb){const _0x476969={_0x3cfb9e:0xc},_0x324e47=resolveAllowedPath(_0x2ed80c,_0x4d13b7,_0x44bbcb[_0x1983d4(_0x18621f._0x5508fb,0x440,_0x18621f._0x4993ab,0x465)]);await assertWorkspaceFile(_0x324e47);const _0x40ccd1=await _0x50e6ac(_0x324e47);function _0x1983d4(_0xa5c52,_0x4ab546,_0x40e3a2,_0x47d93b){return _0x5950d4(_0x4ab546,_0x47d93b- -_0x580507._0x40824b,_0x40e3a2-_0x580507._0x15729e,_0x47d93b-_0x580507._0x3a7d12);}const _0x168113=await _0x4ebb33(_0x324e47),_0x4e5404=detectEol(_0x168113),_0x982572=normalizeToLf(_0x168113['toString'](_0x1a2921(_0x18621f._0x5e2fce,0x7af,_0x18621f._0x30d2f9,_0x18621f._0x2ce992))),_0x348924=normalizeToLf(_0x44bbcb[_0x1a2921(_0x18621f._0x230be0,_0x18621f._0x1f9a2b,0x6ca,0x748)]),_0xc369bd=normalizeToLf(_0x44bbcb[_0x1a2921(0x5c5,_0x18621f._0x5dcbc7,0x61f,0x655)]),_0x3dbc93=_0x982572[_0x1a2921(_0x18621f._0x2dedf4,0x610,0x52f,0x4fa)](_0x348924);if(_0x3dbc93===-0x1){const _0x1169d6=_0x348924[_0x1a2921(0x4ba,0x61b,_0x18621f._0x232fc6,0x5c1)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1a2921(_0x18621f._0x2e63f0,_0x18621f._0xb2b52c,0x954,_0x18621f._0x24c50e)+_0x1169d6+(_0x348924[_0x1a2921(_0x18621f._0xffa248,_0x18621f._0x16f765,_0x18621f._0x4fc218,_0x18621f._0x2c47da)]>0x64?_0x1a2921(_0x18621f._0x45b8ac,0x82f,0x6bd,_0x18621f._0x4b06f0):'')+'\x22',{'filePath':_0x44bbcb[_0x1a2921(0x73b,_0x18621f._0x247e56,0x853,0x744)]});}const _0x51ecf7=_0x982572[_0x1983d4(_0x18621f._0x1ab6a0,0x338,_0x18621f._0x24a07a,_0x18621f._0x1a1609)](0x0,_0x3dbc93)+_0xc369bd+_0x982572[_0x1983d4(0x449,_0x18621f._0x870270,_0x18621f._0x3d0aba,_0x18621f._0x2c31d5)](_0x3dbc93+_0x348924[_0x1983d4(0x462,_0x18621f._0xd43a6f,0x2c1,0x388)]),_0x5f4cb2=convertEol(_0x51ecf7,_0x4e5404),_0x7930bc=Buffer['from'](_0x5f4cb2,_0x1983d4(_0x18621f._0x39fc53,_0x18621f._0xb9ebc9,_0x18621f._0x2b13c8,_0x18621f._0x3e3c4e)),_0x2d73f8=sha256(_0x168113),_0x51ecbf=sha256(_0x7930bc),_0x5aabb0=_0x2d73f8===_0x51ecbf,_0x357382=_0x44bbcb[_0x1a2921(_0x18621f._0x5cb5ec,_0x18621f._0x47e604,0x833,0x6b1)]??![];!_0x357382&&!_0x5aabb0&&await atomicWrite(_0x324e47,_0x7930bc);yield createToolOutput(_0x5aabb0?'No\x20changes\x20(content\x20identical).':_0x357382?_0x1a2921(0x80a,_0x18621f._0xb3b494,0x7a0,_0x18621f._0x4a93d5):_0x1983d4(0x3be,0x1f4,_0x18621f._0x40e823,0x2b2),{'filePath':_0x44bbcb['filePath'],'resolvedPath':_0x324e47,'created':_0x40ccd1['birthtime'][_0x1a2921(0x8ea,0x827,_0x18621f._0x2f93db,0x920)](),'modified':_0x40ccd1[_0x1983d4(0x33b,_0x18621f._0x414047,0x1c7,_0x18621f._0x170115)][_0x1a2921(0x78c,_0x18621f._0x565c06,0x6b2,0x970)](),'size':_0x40ccd1[_0x1983d4(_0x18621f._0x1170ac,_0x18621f._0x354468,_0x18621f._0x5100e9,_0x18621f._0x3dbe6c)],'eol':_0x4e5404,'oldTextLength':_0x348924[_0x1a2921(0x649,0x68f,0x530,_0x18621f._0x594bd2)],'newTextLength':_0xc369bd[_0x1983d4(_0x18621f._0x2bc6af,_0x18621f._0x7e7b51,_0x18621f._0x5efea9,0x388)],'bytesWritten':_0x5aabb0||_0x357382?0x0:_0x7930bc[_0x1983d4(_0x18621f._0x4eb1b2,0x224,0x444,_0x18621f._0x7adfa3)],'beforeSha':_0x2d73f8,'afterSha':_0x51ecbf,'dryRun':_0x357382,'noChange':_0x5aabb0,'lineNumbers':calculateLineNumbers(_0x982572,_0x348924,_0xc369bd,_0x3dbc93)});function _0x1a2921(_0x3f4862,_0x55490c,_0x3635d0,_0x50a42e){return _0x3d03cb(_0x55490c-0x135,_0x55490c-_0x476969._0x3cfb9e,_0x3f4862,_0x50a42e-0x118);}return void 0x0;}});}import{mkdir as _0x36eb96,rename as _0x28fd58,stat as _0x31fe46,writeFile as _0x31da0a}from'fs/promises';import*as _0xee5a2a from'path';async function atomicWrite2(_0x1fc692,_0x4b8c75){const _0x4897fd={_0x333e88:0x772,_0x29f979:0x914,_0x3cd0a5:0x637,_0x1f8e8d:0x4f2,_0x3882b5:0x564,_0x42fa30:0x330,_0x376a35:0x238,_0x57790a:0x3d6,_0x18461b:0x4a6,_0x4bafeb:0x3a4,_0x5e5022:0x430,_0x132dce:0x401},_0x398542={_0x4827a1:0x66},_0x431ee7={_0x31325f:0x132,_0x4c3aa6:0xf3};function _0x411267(_0x170b56,_0x184534,_0x33694b,_0x2405e0){return _0x511d68(_0x170b56-_0x431ee7._0x31325f,_0x170b56- -_0x431ee7._0x4c3aa6,_0x33694b-0x1b9,_0x184534);}const _0x4bbbaf=_0xee5a2a[_0x3e929b(0x71b,0x6e2,0x664,_0x4897fd._0x333e88)](_0x1fc692);await _0x36eb96(_0x4bbbaf,{'recursive':!![]});function _0x3e929b(_0x2e4f9f,_0x2d3c8b,_0x1cad29,_0x41e260){return _0x475ba1(_0x41e260,_0x2e4f9f-0x4eb,_0x1cad29-_0x398542._0x4827a1,_0x41e260-0x8);}const _0x2892ce=_0xee5a2a[_0x3e929b(0x794,0x791,_0x4897fd._0x29f979,_0x4897fd._0x3cd0a5)](_0x4bbbaf,_0x3e929b(0x5eb,_0x4897fd._0x1f8e8d,0x522,_0x4897fd._0x3882b5)+_0xee5a2a[_0x411267(_0x4897fd._0x42fa30,0x257,0x33d,_0x4897fd._0x376a35)](_0x1fc692)+'.'+Date[_0x411267(0x4ee,0x40c,0x53b,0x3bb)]()+'.'+Math[_0x3e929b(0x4ee,_0x4897fd._0x57790a,0x61f,0x5e1)]()[_0x411267(_0x4897fd._0x18461b,0x38d,_0x4897fd._0x4bafeb,0x3e2)](0x24)[_0x3e929b(0x538,0x46e,_0x4897fd._0x5e5022,_0x4897fd._0x132dce)](0x2));await _0x31da0a(_0x2892ce,_0x4b8c75),await _0x28fd58(_0x2892ce,_0x1fc692);}function createFileNewTool(_0x3f6c0a={}){const _0x772e55={_0x52802c:0x100,_0x5bcce9:0x376,_0x55ef53:0x413,_0x34569c:0x3d5,_0x502c04:0x3aa,_0x40aa1f:0x424,_0x250d5c:0x1a2,_0x239c23:0x165,_0x5daec2:0x1b9,_0x44800f:0x417,_0x328e9f:0x2fd,_0x21380a:0x3ad,_0x57b265:0x42b,_0x339fce:0x318,_0x1f1f90:0x331,_0x41a3ae:0x4df,_0x190faa:0x186,_0x2df9a1:0x22a,_0x464b85:0x1cc},_0x5a2e70={_0x1a15f1:0x5fb,_0x18a3e7:0x499,_0x2871b3:0x4f6,_0x4c266d:0x5a0,_0x516baa:0x531,_0x4f535f:0x41d,_0x5c186f:0x30c,_0x25bf70:0x498,_0x338a0a:0x3cb,_0x1ee60a:0x6ab,_0x6e8078:0x3fb,_0x11785b:0x36d,_0x155b03:0x1f3,_0x4ce04b:0x212,_0x5576ad:0x2f7,_0x4589ee:0x2fc,_0x283288:0x415,_0x5e59d4:0x3ed},_0xf0f552={_0x44534f:0xaa},_0x1366b9={_0x5aace9:0x1dd},_0x4e2296={_0x26e584:0x2ae,_0x2f4a26:0xa5},_0x4608c5=_0xee5a2a[_0x48235b(0xdf,0xa5,0x266,_0x772e55._0x52802c)](_0x3f6c0a[_0x597aab(0x3cf,_0x772e55._0x5bcce9,0x267,0x272)]??process['cwd']()),_0xa8b82d=_0x3f6c0a[_0x597aab(_0x772e55._0x55ef53,0x2f5,_0x772e55._0x34569c,0x41e)]??[];function _0x597aab(_0x12ce11,_0x505652,_0x4ba93e,_0x37f1e4){return _0x475ba1(_0x37f1e4,_0x4ba93e-_0x4e2296._0x26e584,_0x4ba93e-0x38,_0x37f1e4-_0x4e2296._0x2f4a26);}function _0x48235b(_0x4df962,_0x294787,_0xf4d96a,_0x5e82fe){return _0x475ba1(_0x4df962,_0x5e82fe-0x137,_0xf4d96a-0xec,_0x5e82fe-_0x1366b9._0x5aace9);}const _0x1d89da=_0x3f6c0a[_0x597aab(0x401,_0x772e55._0x502c04,0x3d0,_0x772e55._0x40aa1f)]??'FileNew';return defineTool({'name':_0x1d89da,'description':_0x48235b(0xbb,_0x772e55._0x250d5c,0x112,_0x772e55._0x239c23),'inputSchema':{'type':_0x48235b(_0x772e55._0x5daec2,_0x772e55._0x44800f,0x47f,_0x772e55._0x328e9f),'properties':{'filePath':{'type':_0x597aab(0x35f,_0x772e55._0x21380a,_0x772e55._0x57b265,_0x772e55._0x339fce)},'content':{'type':_0x597aab(_0x772e55._0x1f1f90,0x4ea,0x42b,_0x772e55._0x41a3ae)}},'required':['filePath',_0x48235b(_0x772e55._0x190faa,_0x772e55._0x2df9a1,0x4a,_0x772e55._0x464b85)]},async *'execute'(_0x76fc23){const _0x15c43d={_0x548448:0x2a,_0x2e2749:0x23a};function _0x1440a8(_0x39cea2,_0x42d676,_0x261b82,_0x18a332){return _0x597aab(_0x39cea2-_0x15c43d._0x548448,_0x42d676-0x18b,_0x42d676- -_0x15c43d._0x2e2749,_0x39cea2);}const _0x2ebc99=resolveAllowedPath(_0x4608c5,_0xa8b82d,_0x76fc23[_0x50e7ed(0x4d8,_0x5a2e70._0x1a15f1,_0x5a2e70._0x18a3e7,_0x5a2e70._0x2871b3)]);function _0x50e7ed(_0xd13550,_0x123f82,_0x25da2f,_0x22422b){return _0x597aab(_0xd13550-0x8b,_0x123f82-0x90,_0x22422b-_0xf0f552._0x44534f,_0xd13550);}const _0x52d4e1=await _0x31fe46(_0x2ebc99)[_0x50e7ed(_0x5a2e70._0x4c266d,_0x5a2e70._0x516baa,_0x5a2e70._0x4f535f,0x561)](()=>!![])['catch'](()=>![]),_0x2b4d41=Buffer['from'](_0x76fc23[_0x50e7ed(_0x5a2e70._0x5c186f,_0x5a2e70._0x25bf70,_0x5a2e70._0x338a0a,0x3ed)],_0x50e7ed(_0x5a2e70._0x1ee60a,_0x5a2e70._0x6e8078,0x625,0x539));return await atomicWrite2(_0x2ebc99,_0x2b4d41),yield createToolOutput(_0x50e7ed(_0x5a2e70._0x11785b,0x1e5,_0x5a2e70._0x155b03,0x337)+_0x76fc23[_0x50e7ed(0x50e,0x65b,0x48a,_0x5a2e70._0x2871b3)]+'.',{'filePath':_0x76fc23[_0x1440a8(0x195,_0x5a2e70._0x4ce04b,0x165,_0x5a2e70._0x5576ad)],'resolvedPath':_0x2ebc99,'bytes':_0x2b4d41[_0x50e7ed(_0x5a2e70._0x4589ee,_0x5a2e70._0x283288,0x4ca,0x419)],'lines':_0x76fc23[_0x50e7ed(0x4f7,0x4cf,0x4e5,_0x5a2e70._0x5e59d4)]['split'](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x52d4e1}),void 0x0;}});}import{readFile as _0x48b8aa,stat as _0x4da994}from'fs/promises';import*as _0x1eb065 from'path';function stripUtfBom(_0x12748c){const _0x3af1a9={_0x9263a1:0x268,_0x1345f6:0x96},_0x123362={_0x150e32:0x9d,_0xc03834:0x101,_0x1069d1:0xe1};function _0x23b2d7(_0x4d4ee7,_0x321f43,_0x5ca8bf,_0x31eeff){return _0x475ba1(_0x321f43,_0x31eeff-_0x123362._0x150e32,_0x5ca8bf-_0x123362._0xc03834,_0x31eeff-_0x123362._0x1069d1);}function _0x1eb9ee(_0x184272,_0x93298,_0x504f86,_0x495837){return _0x511d68(_0x184272-0x67,_0x495837- -0x530,_0x504f86-0x182,_0x184272);}return _0x12748c[_0x23b2d7(_0x3af1a9._0x9263a1,0x39f,0x370,0x2d6)](0x0)===0xfeff?_0x12748c[_0x1eb9ee(0x1e,0x88,-0x49,-_0x3af1a9._0x1345f6)](0x1):_0x12748c;}function clampLine(_0xbea7fa,_0x161135){const _0xaadd6b={_0x16e32a:0x567,_0x58fc50:0x562,_0x1639e6:0x3d5,_0xa11568:0x466},_0x468329={_0x23e028:0x6d},_0x40a22e={_0x5d9749:0x1f0,_0x401a9b:0x9b};function _0x197baa(_0x555631,_0x5baa45,_0x15abbf,_0x33f9ff){return _0x511d68(_0x555631-_0x40a22e._0x5d9749,_0x5baa45- -_0x40a22e._0x401a9b,_0x15abbf-0x114,_0x15abbf);}function _0x2c59fa(_0x40691d,_0x45ee39,_0x1937f9,_0x5309f9){return _0x511d68(_0x40691d-_0x468329._0x23e028,_0x5309f9-0x10d,_0x1937f9-0x1c5,_0x40691d);}if(!Number[_0x2c59fa(_0xaadd6b._0x16e32a,_0xaadd6b._0x58fc50,0x5c9,0x591)](_0xbea7fa))return 0x1;return Math['max'](0x1,Math['min'](Math[_0x2c59fa(0x429,_0xaadd6b._0x1639e6,_0xaadd6b._0xa11568,0x53b)](_0xbea7fa),_0x161135));}function createFileReadTool(_0x56eba8={}){const _0x2d207b={_0x547da5:0x29c,_0x4a5f30:0x189,_0x17cfec:0x28a,_0x41b100:0x129,_0x33c90b:0x12,_0x33e9b2:0x1c9,_0x26b1fd:0x1b9,_0x1ae649:0x170,_0x6ea9bf:0x13b,_0x3ccf99:0x105,_0x1c2518:0x227,_0x57bab9:0x25f,_0x199afe:0x30f,_0xa3df44:0xb2,_0xec819a:0x212,_0x1725d9:0x482,_0x1dc2af:0x335,_0x17b966:0x87,_0x55e804:0x110,_0x1b7eaf:0xe4,_0x31e887:0x3ac,_0x4045f0:0x43d,_0x895643:0x3bb},_0x4611de={_0xf4a789:0x4e8,_0x22ed97:0x482,_0x22dd48:0x4e8,_0x381b1c:0x3d8,_0x242b3e:0x54a,_0x4c20b9:0x5a7,_0x3c10c6:0x612,_0x539c00:0x516,_0x40e8a1:0x4cc,_0x492e19:0x5d5,_0x253b2c:0xd5,_0x7f4b9a:0x227,_0x3b34e0:0xcd,_0xd6a30c:0xdd,_0x1d1d33:0x80,_0x28bc6d:0x524,_0x57c538:0x52d,_0x182d97:0x54b,_0x12eeb4:0x18b,_0x2d5885:0x1d7,_0x4b2f21:0xbb,_0x12b13c:0x691,_0x411a3d:0x40f,_0x43f80b:0x1a,_0x52c7ea:0x11f,_0x4dde78:0x358,_0x4b45db:0x24e,_0x5de9ef:0xed,_0x145a11:0x20,_0x3e1537:0x10c,_0x10ca5e:0x58,_0x5b73f3:0x3c6,_0x7ea367:0xf0,_0x1bc6cd:0x344,_0x3c3669:0x4d,_0x414126:0x76,_0x476636:0x2a,_0x49220f:0x4f5,_0x2759b0:0x4fd,_0x1198c4:0x528,_0x1dc579:0x80},_0x575064={_0x58cf1d:0x7b,_0x5c6820:0xdf},_0x146220={_0x5acc52:0x114,_0x13f3d6:0xcb};function _0x5abe3b(_0x5014ae,_0x41e603,_0x32a68a,_0x2a3f2c){return _0x475ba1(_0x32a68a,_0x2a3f2c-0x1b8,_0x32a68a-0x11c,_0x2a3f2c-0x16);}const _0x3b394d=_0x1eb065[_0xbff5f8(-0x14b,-0x2ab,-_0x2d207b._0x547da5,-_0x2d207b._0x4a5f30)](_0x56eba8[_0xbff5f8(-0x15b,-0x282,-0x1c1,-_0x2d207b._0x17cfec)]??process[_0xbff5f8(_0x2d207b._0x41b100,0x1a8,-_0x2d207b._0x33c90b,_0x2d207b._0x33e9b2)]()),_0x422c23=_0x56eba8[_0x5abe3b(_0x2d207b._0x26b1fd,0x2c4,_0x2d207b._0x1ae649,0x2df)]??[],_0x32ec79=_0x56eba8[_0xbff5f8(0xe,0xd6,_0x2d207b._0x6ea9bf,-_0x2d207b._0x3ccf99)]??_0x5abe3b(_0x2d207b._0x1c2518,0x2ee,_0x2d207b._0x57bab9,_0x2d207b._0x199afe);function _0xbff5f8(_0x373cda,_0x13268a,_0x584dfc,_0x34345a){return _0x475ba1(_0x584dfc,_0x373cda- -_0x146220._0x5acc52,_0x584dfc-0x153,_0x34345a-_0x146220._0x13f3d6);}return defineTool({'name':_0x32ec79,'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0xbff5f8(_0x2d207b._0xa3df44,0x1d,_0x2d207b._0xec819a,0x10e),'properties':{'path':{'type':_0x5abe3b(_0x2d207b._0x1725d9,0x42d,0x212,_0x2d207b._0x1dc2af)},'lineStart':{'type':_0xbff5f8(_0x2d207b._0x17b966,_0x2d207b._0x55e804,0x6a,-_0x2d207b._0x1b7eaf),'description':_0x5abe3b(0x4a2,_0x2d207b._0x31e887,_0x2d207b._0x4045f0,_0x2d207b._0x895643)},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':['path']},async *'execute'(_0x57627b){const _0x27f648={_0x5824e7:0x1e7},_0x516e6f=resolveAllowedPath(_0x3b394d,_0x422c23,_0x57627b[_0x29fcf9(_0x4611de._0xf4a789,0x543,0x452,_0x4611de._0x22ed97)]);await assertWorkspaceFile(_0x516e6f);function _0x29fcf9(_0xfcec27,_0x83cbf1,_0x2f86f1,_0x248502){return _0x5abe3b(_0xfcec27-_0x575064._0x58cf1d,_0x83cbf1-0xab,_0x248502,_0xfcec27-_0x575064._0x5c6820);}const _0xcc55c7=await _0x4da994(_0x516e6f),_0x45e3be=await _0x48b8aa(_0x516e6f);function _0x29209b(_0x1cf18b,_0x4ad1b5,_0x33d59e,_0x556af4){return _0xbff5f8(_0x4ad1b5- -0x68,_0x4ad1b5-_0x27f648._0x5824e7,_0x1cf18b,_0x556af4-0x18d);}if(isProbablyBinary(_0x45e3be))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x57627b[_0x29fcf9(_0x4611de._0x22dd48,_0x4611de._0x381b1c,0x44d,_0x4611de._0x242b3e)],{'path':_0x57627b[_0x29fcf9(0x4e8,0x519,0x5e8,0x39b)]});let _0x3acfb8=_0x45e3be['toString'](_0x29fcf9(0x478,0x418,_0x4611de._0x4c20b9,0x323));const _0x4ea145=_0x3acfb8[_0x29fcf9(0x4d0,0x4f5,_0x4611de._0x3c10c6,_0x4611de._0x539c00)](0x0)===0xfeff;_0x3acfb8=stripUtfBom(_0x3acfb8);const _0x5349fc=_0x3acfb8[_0x29fcf9(_0x4611de._0x40e8a1,_0x4611de._0x492e19,0x36d,0x4dc)](/\r?\n/),_0xae29c1={'path':_0x57627b[_0x29209b(0xb4,_0x4611de._0x253b2c,0x145,_0x4611de._0x7f4b9a)],'resolvedPath':_0x516e6f,'created':_0xcc55c7['birthtime'][_0x29209b(_0x4611de._0x3b34e0,_0x4611de._0xd6a30c,_0x4611de._0x1d1d33,0x20c)](),'modified':_0xcc55c7['mtime']['toISOString'](),'size':_0xcc55c7[_0x29fcf9(_0x4611de._0x28bc6d,_0x4611de._0x57c538,0x680,_0x4611de._0x182d97)],'encoding':_0x29209b(_0x4611de._0x12eeb4,0x65,_0x4611de._0x2d5885,-0x87),'bomStripped':_0x4ea145,'truncated':![],'totalLines':_0x5349fc[_0x29209b(0x8d,-_0x4611de._0x4b2f21,-0x41,-0x1f5)]};if(_0x57627b[_0x29fcf9(0x532,_0x4611de._0x12b13c,0x5ad,_0x4611de._0x411a3d)]!==void 0x0||_0x57627b[_0x29209b(-0xee,0x20,0x164,0x186)]!==void 0x0){const _0x4c0e13=clampLine(_0x57627b[_0x29209b(_0x4611de._0x43f80b,_0x4611de._0x52c7ea,0x51,0x27e)]??0x1,_0x5349fc[_0x29fcf9(_0x4611de._0x4dde78,_0x4611de._0x4b45db,0x355,0x1de)]),_0x4175d2=clampLine(_0x57627b[_0x29209b(_0x4611de._0x5de9ef,_0x4611de._0x145a11,_0x4611de._0x3e1537,-0x2e)]??_0x5349fc[_0x29209b(-_0x4611de._0x10ca5e,-0xbb,0x84,0x6f)],_0x5349fc['length']),_0x2157ed=Math[_0x29fcf9(0x3c7,0x49a,0x273,_0x4611de._0x5b73f3)](_0x4c0e13,_0x4175d2),_0x3ea5b5=Math[_0x29209b(-0x102,-_0x4611de._0x7ea367,-0x16,-0x112)](_0x4c0e13,_0x4175d2),_0x5d2bd5=_0x5349fc[_0x29fcf9(0x2e4,0x1c2,_0x4611de._0x1bc6cd,0x2af)](_0x2157ed-0x1,_0x3ea5b5)[_0x29209b(_0x4611de._0x3c3669,-_0x4611de._0x414126,-0x87,-_0x4611de._0x476636)]((_0x47ac43,_0x4de527)=>_0x2157ed+_0x4de527+'|'+_0x47ac43)[_0x29fcf9(0x540,_0x4611de._0x49220f,_0x4611de._0x2759b0,_0x4611de._0x1198c4)]('\x0a');return yield createToolOutput(_0x5d2bd5,{..._0xae29c1,'lineRange':{'lineStart':_0x2157ed,'lineEnd':_0x3ea5b5,'linesTotal':_0x5349fc[_0x29209b(_0x4611de._0x1dc579,-0xbb,0x34,-0x1f8)]}}),void 0x0;}return yield createToolOutput(_0x3acfb8,_0xae29c1),void 0x0;}});}import{stat as _0x2f6682}from'fs/promises';import*as _0x3a2798 from'path';import{execSync,spawn as _0x188f33}from'child_process';import{existsSync}from'fs';import{stat as _0x249f3e}from'fs/promises';import*as _0x2581ef from'os';import*as _0xc571ff from'path';import{rgPath as _0x13a3d9}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x36739b={_0x2368a5:0x5b3,_0x2b4b59:0x5b7,_0x47a905:0x3d3,_0xa11f4e:0x483,_0x162670:0x549,_0x524c6c:0x409,_0x30967c:0x69e,_0x4c1504:0x5bb,_0x166bc7:0x66,_0x3b0ad7:0xf0,_0x21df87:0x248,_0x32f94a:0x381,_0x261f89:0x278,_0x5131cf:0x331,_0xe59cde:0x4c4,_0x26406b:0x527,_0x46dbde:0x5d3,_0xd68266:0x540,_0x49589d:0x3ce,_0x11fd02:0x95,_0x19c543:0x1ce,_0x3908b6:0x237,_0x385443:0x1e5,_0x2b1948:0x69f,_0x39b7d8:0x786,_0x538877:0x70e,_0x27da1a:0x47e,_0x4a1083:0x562,_0x112fbb:0x68d,_0x2e447b:0x5e7,_0x5ce2fc:0x10a,_0x348765:0x2af,_0x12ced6:0x107,_0x52ff0d:0x321,_0x57e423:0x53a,_0xfb353b:0x695,_0x3368cf:0x640,_0x1fd0bb:0x648,_0x32a1b8:0x191,_0x45e874:0xd9,_0x4d9eeb:0x5d7,_0x10c0f9:0x666,_0x34d75b:0x6a0,_0x384834:0x7ac,_0x2fe4cc:0x67b,_0x3a3ea4:0x6d,_0x5c73be:0x102,_0x23ca29:0x5d0,_0x2654f0:0x433,_0x5ea742:0x318},_0x240d08={_0xa69f4:0x3f6,_0x1f96e3:0xd5},_0x1924b1={_0x2f1907:0x8},_0x3481c3=_0x2581ef[_0x111b98(0x481,_0x36739b._0x2368a5,_0x36739b._0x2b4b59,0x2fd)]()===_0x111b98(_0x36739b._0x47a905,0x4bd,_0x36739b._0xa11f4e,_0x36739b._0x162670),_0x428f9f=_0x3481c3?[_0xc571ff['join'](process['env'][_0x111b98(0x548,_0x36739b._0x524c6c,_0x36739b._0x30967c,_0x36739b._0x4c1504)]||'',_0x389ee2(0xe7,0x3,_0x36739b._0x166bc7,_0x36739b._0x3b0ad7),_0x389ee2(0x38c,0x1b9,_0x36739b._0x21df87,0x347),'Packages'),_0xc571ff[_0x389ee2(0x10e,_0x36739b._0x32f94a,_0x36739b._0x261f89,_0x36739b._0x5131cf)](process[_0x111b98(_0x36739b._0xe59cde,0x572,_0x36739b._0x26406b,_0x36739b._0x46dbde)][_0x111b98(0x535,_0x36739b._0xd68266,0x431,_0x36739b._0x49589d)]||'',_0x389ee2(_0x36739b._0x11fd02,0x2e8,_0x36739b._0x19c543,_0x36739b._0x3908b6),_0x389ee2(0x351,0x64,_0x36739b._0x385443,0x1cf)),_0xc571ff[_0x111b98(_0x36739b._0x2b1948,0x53a,_0x36739b._0x39b7d8,_0x36739b._0x538877)](process['env'][_0x111b98(0x5b9,_0x36739b._0x162670,0x4e6,_0x36739b._0x27da1a)]||'','ripgrep','rg.exe')]:[_0x111b98(_0x36739b._0x4a1083,_0x36739b._0x112fbb,_0x36739b._0x2e447b,0x671),_0x389ee2(_0x36739b._0x5ce2fc,_0x36739b._0x348765,0x23d,_0x36739b._0x12ced6),_0x389ee2(0x73,_0x36739b._0x52ff0d,0x1f4,0x28f),_0x111b98(0x6b4,_0x36739b._0x57e423,_0x36739b._0xfb353b,0x5db)];for(const _0x11bbbd of _0x428f9f){if(existsSync(_0x11bbbd))return _0x11bbbd;}try{const _0x3048f4=_0x3481c3?_0x111b98(0x65a,_0x36739b._0x3368cf,_0x36739b._0x1fd0bb,0x691):_0x389ee2(-_0x36739b._0x32a1b8,-0x14,-0x32,-_0x36739b._0x45e874),_0x5d014f=execSync(_0x3048f4,{'encoding':_0x111b98(_0x36739b._0x4d9eeb,_0x36739b._0x10c0f9,_0x36739b._0x34d75b,0x475),'stdio':['pipe',_0x111b98(0x673,0x5ee,_0x36739b._0x384834,_0x36739b._0x2fe4cc),_0x389ee2(0xf5,_0x36739b._0x3a3ea4,-0x64,-_0x36739b._0x5c73be)]})[_0x111b98(0x51c,0x51e,_0x36739b._0x23ca29,_0x36739b._0x2654f0)]()[_0x389ee2(_0x36739b._0x5ea742,0xa6,0x204,0x93)](/\r?\n/)[0x0];if(_0x5d014f&&existsSync(_0x5d014f))return _0x5d014f;}catch{return null;}function _0x389ee2(_0x1b00a8,_0x2d7658,_0x29a00f,_0x10e759){return _0x475ba1(_0x1b00a8,_0x29a00f- -0x31,_0x29a00f-0x151,_0x10e759-_0x1924b1._0x2f1907);}function _0x111b98(_0x407e27,_0x54a198,_0x33593d,_0x5bf812){return _0x475ba1(_0x33593d,_0x407e27-_0x240d08._0xa69f4,_0x33593d-_0x240d08._0x1f96e3,_0x5bf812-0x154);}return null;}async function filepath(){const _0x5c6ff8={_0x4a44b3:0x9c,_0xd45bdc:0x40,_0x51c8dc:0x56,_0x335ad7:0xc6},_0x2786e0={_0x3fd977:0x6,_0x9e6a61:0x129};if(cachedRgPath)return cachedRgPath;function _0x40b67b(_0x2d1f30,_0x15f4c9,_0x1de678,_0x4026f6){return _0x475ba1(_0x2d1f30,_0x4026f6- -_0x2786e0._0x3fd977,_0x1de678-0x172,_0x4026f6-_0x2786e0._0x9e6a61);}if(_0x13a3d9&&existsSync(_0x13a3d9))return cachedRgPath=_0x13a3d9,_0x13a3d9;const _0x5a5b18=findSystemRipgrep();if(!_0x5a5b18)throw new Error(_0x40b67b(-_0x5c6ff8._0x4a44b3,-_0x5c6ff8._0xd45bdc,-_0x5c6ff8._0x51c8dc,_0x5c6ff8._0x335ad7));return cachedRgPath=_0x5a5b18,_0x5a5b18;}async function*files(_0x3b214b){const _0x5271dd={_0x583db1:0x758,_0x28c194:0x707,_0x4d6efa:0x915,_0x364179:0x6a5,_0x41c8b9:0x89f,_0xa5c8ff:0x782,_0x2048ab:0x891,_0x5eab1d:0x745,_0xf45d2a:0x302,_0x1485cf:0xde,_0xe6bca4:0x405,_0xcb5669:0x348,_0x209e10:0x6e0,_0x5e8d4b:0x5ea,_0x26c5dc:0x454,_0x570536:0x378,_0x1c0b65:0x40d,_0x2548d3:0x2e0,_0x196558:0x4e0,_0x37df1e:0x226,_0x2d0104:0x4aa,_0x5d9c52:0x1b9,_0x2b8aeb:0x32f,_0x5366ff:0x3a7,_0x5e131f:0x4a2,_0x44c805:0x418,_0x5c207a:0x3dd,_0x1da1cf:0x2a4,_0x280eae:0x375,_0x971937:0x641,_0x3b2932:0x5da,_0x5a15bb:0x21b,_0x368f27:0x2a4,_0x82470e:0x380},_0x47d77f={_0x2dc51a:0x8d,_0x2849cc:0xce},_0xf8ef4e={_0x2bd1eb:0x4e},_0x220675=await filepath(),_0x4734de=await _0x249f3e(_0x3b214b[_0x455942(0x7d5,_0x5271dd._0x583db1,_0x5271dd._0x28c194,0x805)])['catch'](()=>null);function _0x411467(_0x38a400,_0x3f0f85,_0x21bd28,_0x2550ea){return _0x511d68(_0x38a400-0x97,_0x21bd28- -0x26a,_0x21bd28-_0xf8ef4e._0x2bd1eb,_0x38a400);}if(!_0x4734de?.[_0x455942(0x72e,0x7bb,_0x5271dd._0x4d6efa,_0x5271dd._0x364179)]())throw Object[_0x455942(_0x5271dd._0x41c8b9,_0x5271dd._0xa5c8ff,0x6fb,_0x5271dd._0x2048ab)](new Error(_0x455942(_0x5271dd._0x5eab1d,0x657,0x728,0x58b)+_0x3b214b['cwd']+'\x27'),{'code':_0x411467(0x317,_0x5271dd._0xf45d2a,0x1ab,_0x5271dd._0x1485cf)});const _0x5ad8cf=['--files',_0x411467(0x381,_0x5271dd._0xe6bca4,0x318,_0x5271dd._0xcb5669),_0x455942(0x592,_0x5271dd._0x209e10,_0x5271dd._0x5e8d4b,0x5b8),_0x411467(0x411,_0x5271dd._0x26c5dc,0x496,_0x5271dd._0x570536)];for(const _0x5064bc of _0x3b214b['glob']??[]){_0x5ad8cf['push'](_0x411467(_0x5271dd._0x1c0b65,0x3a2,0x2c0,_0x5271dd._0x2548d3)+_0x5064bc);}const _0x21af56=_0x188f33(_0x220675,_0x5ad8cf,{'cwd':_0x3b214b[_0x411467(_0x5271dd._0x196558,0x577,0x420,0x582)],'stdio':['ignore','pipe','pipe']});let _0x4512bc='';function _0x455942(_0x292aa4,_0x539859,_0x2b7dc1,_0x57cab4){return _0x511d68(_0x292aa4-_0x47d77f._0x2dc51a,_0x539859-_0x47d77f._0x2849cc,_0x2b7dc1-0x3e,_0x292aa4);}for await(const _0x9207c of _0x21af56[_0x411467(0x45d,_0x5271dd._0x37df1e,0x3ac,_0x5271dd._0x2d0104)]??[]){_0x4512bc+=_0x9207c[_0x411467(_0x5271dd._0x5d9c52,0x30b,_0x5271dd._0x2b8aeb,0x3e2)]();const _0x2e981d=_0x4512bc[_0x411467(_0x5271dd._0x5366ff,_0x5271dd._0x5e131f,_0x5271dd._0x44c805,0x4ca)](/\r?\n/);_0x4512bc=_0x2e981d['pop']()??'';for(const _0x4e7139 of _0x2e981d){if(_0x4e7139[_0x411467(_0x5271dd._0x5c207a,0x1ec,_0x5271dd._0x1da1cf,_0x5271dd._0x280eae)]>0x0)yield _0x4e7139;}}_0x4512bc[_0x455942(0x724,_0x5271dd._0x971937,_0x5271dd._0x3b2932,0x75a)]()[_0x411467(_0x5271dd._0x5a15bb,0x169,_0x5271dd._0x368f27,_0x5271dd._0x82470e)]>0x0&&(yield _0x4512bc['trim']());}function parseMatchLine(_0x42a789,_0x45abe0){const _0x5bccaf={_0x58a431:0x5cd,_0x25aacc:0x5a1,_0x1c74d4:0x2fb,_0x81d2ff:0x310,_0x221371:0x4d5,_0x537e78:0x54f,_0x202aa3:0x315,_0x1708b3:0x5bc,_0x2bb9e0:0x448,_0x41fd32:0x7cc,_0x47448e:0x63c,_0x21c173:0x48e,_0x22484b:0x4c4,_0x1826ef:0x219,_0x1a812d:0x351,_0x48ee7d:0x42b,_0x4c75bf:0x212,_0x326e09:0x6b4},_0x30b403={_0x1d8ef1:0x175};function _0x327a07(_0x6bf6b4,_0x47913c,_0x5134b6,_0x48c9f7){return _0x511d68(_0x6bf6b4-_0x30b403._0x1d8ef1,_0x48c9f7- -0x52,_0x5134b6-0x159,_0x47913c);}if(!_0x42a789||_0x42a789==='--')return null;const _0x5244d6=_0x42a789['split']('|');if(_0x45abe0&&_0x5244d6[_0x53f6b1(0x3db,0x342,0x324,0x2ad)]>=0x4&&Number['isFinite'](Number[_0x327a07(_0x5bccaf._0x58a431,_0x5bccaf._0x25aacc,_0x5bccaf._0x1c74d4,0x46a)](_0x5244d6[0x2]??'',0xa))){const _0x35d2e7=Number[_0x327a07(0x56b,_0x5bccaf._0x81d2ff,_0x5bccaf._0x221371,0x46a)](_0x5244d6[0x1]??'',0xa);if(!Number[_0x327a07(_0x5bccaf._0x537e78,0x3f1,0x459,0x432)](_0x35d2e7)||!_0x5244d6[0x0])return null;return{'filePath':_0x5244d6[0x0],'lineNum':_0x35d2e7,'lineText':_0x5244d6[_0x327a07(_0x5bccaf._0x202aa3,_0x5bccaf._0x1708b3,0x36f,_0x5bccaf._0x2bb9e0)](0x3)[_0x327a07(_0x5bccaf._0x41fd32,0x7e4,0x6d1,0x6a4)]('|')};}if(_0x5244d6[_0x327a07(_0x5bccaf._0x47448e,_0x5bccaf._0x21c173,0x5cf,0x4bc)]>=0x3){const _0x4b1287=Number[_0x53f6b1(0x389,0x340,_0x5bccaf._0x22484b,_0x5bccaf._0x1826ef)](_0x5244d6[0x1]??'',0xa);if(!Number[_0x53f6b1(_0x5bccaf._0x1a812d,_0x5bccaf._0x48ee7d,_0x5bccaf._0x4c75bf,0x259)](_0x4b1287)||!_0x5244d6[0x0])return null;return{'filePath':_0x5244d6[0x0],'lineNum':_0x4b1287,'lineText':_0x5244d6[_0x327a07(0x4a9,0x2e5,0x5ac,0x448)](0x2)[_0x327a07(0x613,_0x5bccaf._0x326e09,0x72b,0x6a4)]('|'),..._0x45abe0?{'isContext':!![]}:{}};}function _0x53f6b1(_0x4d6178,_0x3e08f2,_0x31ba1a,_0x79570d){return _0x475ba1(_0x3e08f2,_0x4d6178-0x31a,_0x31ba1a-0xae,_0x79570d-0xf3);}return null;}async function search(_0x18541a){const _0x3f0120={_0xcf1777:0x755,_0x43a234:0x89e,_0x4d542a:0x840,_0x5cb7b4:0x7c0,_0xd3edec:0x7cc,_0x2064da:0x837,_0x4b0b41:0x643,_0x5c8024:0x53a,_0x24e578:0x46d,_0x1b66d4:0x136,_0x5a3e68:0x1c7,_0x4cd7ca:0x688,_0x398e16:0x7fd,_0x18c9ac:0x7ef,_0x1b51a1:0x81f,_0x44a117:0x76c,_0x372735:0x8c3,_0x5f0fb3:0x116,_0x5f172a:0x6c,_0x41beb7:0x260,_0x24f38f:0x6a6,_0x4072ec:0xae,_0x4b37f0:0x2f,_0x41c716:0x151,_0x35a62c:0x2a7,_0x5c2d76:0x5c3,_0x3d5dc5:0x6f1,_0x315f27:0x6b1,_0x4b3226:0x47,_0x17223d:0x178,_0x133fff:0x23,_0x409a24:0x107,_0x1ea16d:0x14e,_0x171a3c:0x126,_0x234395:0x14d,_0x346fd8:0x6cf,_0xf90a41:0x64a,_0x36c59b:0x5ee,_0x3bd149:0x1df,_0x2a7dcc:0x756,_0x3348d4:0x844,_0xc16097:0xd8,_0x1e508f:0x21c,_0x54002b:0xb2,_0x3f9f3c:0xdf,_0x1cbaf4:0x258,_0x1189f4:0x167,_0x542ee2:0x1fe,_0x3954a6:0x13d,_0x5514f6:0x1b1,_0x3e8ed7:0x3a,_0x4e7047:0x69b,_0x4ea83d:0x669,_0xb53d73:0x47c,_0x395edd:0x6b4,_0x5397c5:0x758,_0x5b61b5:0x709},_0x5a8449={_0x2d313d:0x343,_0x3fa951:0x187,_0x5de59d:0xd3,_0x4ce954:0x11f,_0x17641d:0x3a6,_0x2f2cb5:0x388,_0x8fde88:0x3fd,_0x22955c:0x446,_0x467015:0x47f,_0x29f5ca:0x1f4,_0x305b53:0x366,_0x5aebe8:0x1c1,_0x22a325:0x63},_0x169ec1={_0x38a3ec:0x129,_0x1b3fac:0xcf,_0x1625f0:0x5e9,_0x4352d3:0x707,_0x2d4544:0x6be,_0x5eeb58:0x82},_0xb7e441={_0x3986fe:0x125},_0x15a740={_0x3530d4:0x60,_0x1aa0f1:0x16b},_0x4e0ed6=await filepath();function _0x2b45f7(_0x278971,_0xeb2f97,_0x5339b1,_0x4e25c7){return _0x475ba1(_0x4e25c7,_0x278971- -0x107,_0x5339b1-_0x15a740._0x3530d4,_0x4e25c7-_0x15a740._0x1aa0f1);}if(_0x18541a['file']){const _0x5ed4d4=await _0x249f3e(_0x18541a['file'])['catch'](()=>null);if(!_0x5ed4d4?.['isFile']())throw Object[_0x4bfbde(_0x3f0120._0xcf1777,0x7d9,0x7a2,_0x3f0120._0x43a234)](new Error(_0x4bfbde(_0x3f0120._0x4d542a,_0x3f0120._0x5cb7b4,0x64c,0x71a)+_0x18541a[_0x4bfbde(_0x3f0120._0xd3edec,0x758,0x8b7,_0x3f0120._0x2064da)]+'\x27'),{'code':_0x4bfbde(_0x3f0120._0x4b0b41,_0x3f0120._0x5c8024,0x4cb,_0x3f0120._0x24e578)});}else{const _0x479f7b=await _0x249f3e(_0x18541a[_0x2b45f7(_0x3f0120._0x1b66d4,0x21e,-0x1,_0x3f0120._0x5a3e68)])[_0x4bfbde(_0x3f0120._0x4cd7ca,_0x3f0120._0x398e16,0x6b7,0x751)](()=>null);if(!_0x479f7b?.[_0x4bfbde(_0x3f0120._0x18c9ac,0x812,_0x3f0120._0x1b51a1,_0x3f0120._0x44a117)]())throw Object[_0x4bfbde(0x78e,0x7d9,0x698,_0x3f0120._0x372735)](new Error(_0x2b45f7(0x35,-0x14d,_0x3f0120._0x5f0fb3,-_0x3f0120._0x5f172a)+_0x18541a[_0x2b45f7(0x136,_0x3f0120._0x41beb7,0x2a3,0x1f)]+'\x27'),{'code':_0x4bfbde(0x4b1,0x53a,0x62a,_0x3f0120._0x24f38f)});}const _0x10b153=[_0x2b45f7(0x71,_0x3f0120._0x4072ec,-_0x3f0120._0x4b37f0,-0x4),_0x2b45f7(-_0x3f0120._0x41c716,-_0x3f0120._0x35a62c,-0x7f,-0xdb),_0x4bfbde(_0x3f0120._0x5c2d76,0x5eb,_0x3f0120._0x3d5dc5,_0x3f0120._0x315f27),_0x2b45f7(_0x3f0120._0x4b3226,_0x3f0120._0x17223d,0xd6,_0x3f0120._0x133fff),_0x18541a[_0x2b45f7(-0x3a,-_0x3f0120._0x409a24,-_0x3f0120._0x1ea16d,-_0x3f0120._0x171a3c)]],_0x5d6c12=typeof _0x18541a[_0x2b45f7(_0x3f0120._0x234395,0x43,0x249,0x16e)]==='number'&&_0x18541a[_0x4bfbde(0x66f,0x7c6,0x8b6,_0x3f0120._0x346fd8)]>0x0;_0x5d6c12&&_0x10b153[_0x4bfbde(_0x3f0120._0xf90a41,0x53c,_0x3f0120._0x36c59b,0x63b)]('-C',String(_0x18541a[_0x2b45f7(_0x3f0120._0x234395,_0x3f0120._0x3bd149,0x16e,-0x37)]),_0x4bfbde(0x66f,_0x3f0120._0x2a7dcc,_0x3f0120._0x3348d4,0x6a4));_0x18541a[_0x2b45f7(-_0x3f0120._0xc16097,-_0x3f0120._0x1e508f,-_0x3f0120._0x54002b,0x45)]&&!_0x18541a[_0x2b45f7(_0x3f0120._0x3f9f3c,_0x3f0120._0x1cbaf4,_0x3f0120._0x1189f4,_0x3f0120._0x542ee2)]&&_0x10b153[_0x2b45f7(-_0x3f0120._0x3954a6,-0x1cf,-_0x3f0120._0x5514f6,-0x12)]('--glob',_0x18541a[_0x2b45f7(-0xd8,-0x13d,_0x3f0120._0x3e8ed7,-0x151)]);function _0x4bfbde(_0x53ef8b,_0x3a917b,_0x5b3b90,_0x24cbf2){return _0x511d68(_0x53ef8b-0x8e,_0x3a917b-_0xb7e441._0x3986fe,_0x5b3b90-0x115,_0x53ef8b);}return _0x10b153[_0x4bfbde(_0x3f0120._0x4e7047,0x53c,_0x3f0120._0x4ea83d,_0x3f0120._0xb53d73)](_0x18541a[_0x4bfbde(_0x3f0120._0x395edd,_0x3f0120._0x5397c5,_0x3f0120._0x5b61b5,0x5da)]??_0x18541a[_0x2b45f7(_0x3f0120._0x1b66d4,0x155,0x12e,0x133)]),await new Promise((_0x303000,_0x450e05)=>{const _0x17c381={_0x57bd7a:0xb1,_0x43fcc1:0x88},_0x510565={_0x17e92f:0x13},_0x3646c9={_0x47c7c7:0x2c7,_0x1ad853:0x2ef,_0x30d751:0x1a3},_0x523dfb={_0x3cc1a5:0xd3},_0x2da402={_0x5ddb83:0x46c,_0x1f0aa6:0x16},_0x52f214=_0x188f33(_0x4e0ed6,_0x10b153,{'cwd':_0x18541a[_0x2792e6(0x3b7,_0x5a8449._0x2d313d,0x29b,0x309)],'stdio':[_0x2792e6(_0x5a8449._0x3fa951,_0x5a8449._0x5de59d,_0x5a8449._0x4ce954,0x1b2),_0x2792e6(_0x5a8449._0x17641d,0x383,_0x5a8449._0x2f2cb5,_0x5a8449._0x8fde88),_0x2792e6(0x471,0x383,_0x5a8449._0x22955c,_0x5a8449._0x467015)]});function _0x2792e6(_0x4621ca,_0x303bf5,_0x416963,_0x38c323){return _0x4bfbde(_0x416963,_0x303bf5- -_0x2da402._0x5ddb83,_0x416963-_0x2da402._0x1f0aa6,_0x38c323-0x154);}function _0x464a08(_0x5d52c2,_0x24378e,_0xbbc0f3,_0x2508b0){return _0x2b45f7(_0xbbc0f3-0x132,_0x24378e-_0x523dfb._0x3cc1a5,_0xbbc0f3-0x4,_0x5d52c2);}let _0x2239af='',_0x3fcda5='';_0x52f214[_0x464a08(0x278,0x2db,_0x5a8449._0x29f5ca,0x297)]?.['on']('data',_0x1be80e=>{const _0x27d056={_0x5d3601:0x11};function _0x1164b7(_0xef64eb,_0x51fcef,_0x9d27a3,_0x5c2746){return _0x2792e6(_0xef64eb-0xb5,_0x5c2746- -0xdf,_0x9d27a3,_0x5c2746-_0x27d056._0x5d3601);}_0x2239af+=_0x1be80e[_0x1164b7(_0x3646c9._0x47c7c7,_0x3646c9._0x1ad853,_0x3646c9._0x30d751,0x173)]();}),_0x52f214[_0x2792e6(0x2bd,_0x5a8449._0x305b53,0x260,0x263)]?.['on'](_0x2792e6(_0x5a8449._0x5aebe8,0x282,0x1b1,0x23b),_0x2c5e78=>{const _0x487b48={_0x111b45:0x193};function _0x536ed5(_0x241c27,_0x5a90ef,_0x5c00c3,_0xf4af50){return _0x2792e6(_0x241c27-0x11d,_0x241c27- -_0x487b48._0x111b45,_0x5a90ef,_0xf4af50-0x1aa);}_0x3fcda5+=_0x2c5e78[_0x536ed5(0xbf,_0x510565._0x17e92f,0x207,-0x6f)]();}),_0x52f214['on'](_0x464a08(0x6b,-0xc9,_0x5a8449._0x22a325,0x4d),_0xde3e78=>{const _0x1caec4={_0xf955cb:0x383,_0x4f377e:0x46};if(_0xde3e78===0x1&&_0x2239af===''){_0x303000([]);return;}if(_0xde3e78!==0x0&&_0xde3e78!==0x1){_0x450e05(new Error('ripgrep\x20failed:\x20'+_0x3fcda5));return;}function _0x2cb93b(_0xc61d0f,_0x5145fc,_0x53c6a1,_0x50d4a8){return _0x2792e6(_0xc61d0f-0x1c2,_0x50d4a8-_0x1caec4._0xf955cb,_0x53c6a1,_0x50d4a8-_0x1caec4._0x4f377e);}const _0x20f666=_0x18541a[_0x49e970(0x26,-_0x169ec1._0x38a3ec,-0x86,-_0x169ec1._0x1b3fac)]??0x64,_0x140313=[];for(const _0x15986c of _0x2239af[_0x2cb93b(_0x169ec1._0x1625f0,_0x169ec1._0x4352d3,0x7eb,_0x169ec1._0x2d4544)](/\r?\n/)){if(_0x140313['length']>=_0x20f666)break;const _0x15dd90=parseMatchLine(_0x15986c,_0x5d6c12);if(_0x15dd90)_0x140313[_0x49e970(-0xbc,-_0x169ec1._0x5eeb58,_0x169ec1._0x5eeb58,-0xf9)](_0x15dd90);}function _0x49e970(_0x50cd92,_0x1cb5b6,_0x42030a,_0x453a8d){return _0x2792e6(_0x50cd92-_0x17c381._0x57bd7a,_0x453a8d- -0x1c9,_0x42030a,_0x453a8d-_0x17c381._0x43fcc1);}_0x303000(_0x140313);}),_0x52f214['on']('error',_0x450e05);});}function createGlobTool(_0x28634f={}){const _0x50354d={_0x456c10:0x2c7,_0x355112:0x1e3,_0x44d543:0x117,_0x374213:0x478,_0x57005b:0x420,_0x5641b4:0x4b8,_0x36feff:0x316,_0xc4360f:0x301,_0x3804f9:0x12c,_0x12409c:0x2bf,_0x419233:0x1a6,_0x2de217:0x3ec,_0x3a7502:0x1be,_0x56324a:0x31e,_0x15ca22:0x145,_0x1b7927:0xaa},_0xaa15b2={_0x58e8cf:0x53,_0x390753:0x35,_0x36a5f8:0x94,_0x3b838a:0x53f,_0x20a317:0x437,_0x195343:0x18c,_0x38053b:0x63,_0x182a59:0xec,_0x4bebe1:0x14e,_0x1dbd42:0x1ec,_0x3c0b60:0x51,_0x1e1bbd:0x452,_0x553ce1:0x3ad,_0x3ee58f:0x3a7,_0x49d39f:0x357,_0x196c2b:0x472,_0x246290:0x4,_0x3794eb:0xfa,_0x41b9fb:0x390,_0xc39a73:0x2d6,_0x46e682:0x4c9,_0x153b72:0x34b,_0x127ceb:0x621,_0x5a113a:0x71f,_0x22239f:0x6ba,_0x36c9c7:0x4cc,_0x27fdc8:0x39d,_0x289193:0x66f,_0x201f3e:0x5c8,_0x26169e:0x72e,_0x4343c8:0x583,_0x16c094:0x6ed,_0x2ead72:0x5df},_0x30e69b={_0x24ef89:0xa3},_0x5064c4={_0x4ba1b1:0xc3},_0x46c1c6={_0x1fd5b9:0x15e};function _0x42562c(_0x6fa797,_0x4a4ab9,_0x2ac54a,_0x5f5288){return _0x475ba1(_0x2ac54a,_0x6fa797-0x2fe,_0x2ac54a-0x124,_0x5f5288-0x19c);}function _0x30078a(_0x5e1b8e,_0x50906a,_0x2ebf74,_0x436ad9){return _0x475ba1(_0x5e1b8e,_0x436ad9-_0x46c1c6._0x1fd5b9,_0x2ebf74-0x157,_0x436ad9-0x14f);}const _0x376e05=_0x3a2798[_0x42562c(_0x50354d._0x456c10,0x3ca,0x286,0x2e9)](_0x28634f[_0x30078a(0x231,_0x50354d._0x355112,0x98,_0x50354d._0x44d543)]??process[_0x30078a(_0x50354d._0x374213,0x2bb,0x372,0x39b)]()),_0x3d7387=_0x28634f['allowedDirs']??[],_0x21e3d4=_0x28634f['limit']??0x64,_0x420ac7=_0x28634f[_0x42562c(_0x50354d._0x57005b,_0x50354d._0x5641b4,_0x50354d._0x5641b4,0x53e)]??_0x30078a(0x1c1,0x286,_0x50354d._0x36feff,_0x50354d._0xc4360f);return defineTool({'name':_0x420ac7,'description':_0x30078a(0xa6,_0x50354d._0x3804f9,_0x50354d._0x12409c,_0x50354d._0x419233),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x30078a(_0x50354d._0x2de217,0x3fe,0x3e1,0x2db)},'path':{'type':_0x30078a(_0x50354d._0x3a7502,0x366,_0x50354d._0x56324a,0x2db)},'limit':{'type':'number'}},'required':[_0x30078a(_0x50354d._0x15ca22,_0x50354d._0x1b7927,0x34d,0x22b)]},async *'execute'(_0x571cbd){if(_0x571cbd['pattern'][_0x255f69(0x61,_0xaa15b2._0x58e8cf,0x165,-0x4)]()[_0x255f69(-0x4,-0x15c,_0xaa15b2._0x390753,-_0xaa15b2._0x36a5f8)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x431d5e=resolveAllowedPath(_0x376e05,_0x3d7387,_0x571cbd[_0x255f69(0x18c,0x3e,0x49,0xf1)]??'.');function _0x144189(_0x3fd313,_0x10d948,_0x5cc4ee,_0x116ebb){return _0x42562c(_0x3fd313-0xc8,_0x10d948-0x2,_0x116ebb,_0x116ebb-_0x5064c4._0x4ba1b1);}function _0x255f69(_0x14c390,_0x39b42e,_0xe4de2a,_0xf33304){return _0x30078a(_0xf33304,_0x39b42e-_0x30e69b._0x24ef89,_0xe4de2a-0x14c,_0x14c390- -0x223);}const _0x10d4dd=await _0x2f6682(_0x431d5e)['catch'](()=>null);if(!_0x10d4dd?.['isDirectory']())throw new ToolExecutionError(_0x144189(_0xaa15b2._0x3b838a,0x3eb,0x51d,_0xaa15b2._0x20a317)+(_0x571cbd[_0x255f69(_0xaa15b2._0x195343,_0xaa15b2._0x38053b,_0xaa15b2._0x182a59,_0xaa15b2._0x4bebe1)]??'.'),{'path':_0x571cbd['path']??'.'});const _0x3274da=_0x571cbd[_0x255f69(-0xd1,-_0xaa15b2._0x1dbd42,-_0xaa15b2._0x3c0b60,-0x63)]??_0x21e3d4,_0x51e3a3=Math[_0x144189(_0xaa15b2._0x1e1bbd,0x4ea,0x332,_0xaa15b2._0x553ce1)](0x1,Math[_0x144189(_0xaa15b2._0x3ee58f,0x48e,_0xaa15b2._0x49d39f,0x272)](_0x3274da)),_0x428681=[];let _0x583f2f=![];for await(const _0x274a06 of files({'cwd':_0x431d5e,'glob':[_0x571cbd[_0x144189(0x493,0x578,0x48e,_0xaa15b2._0x196c2b)]]})){if(_0x428681[_0x255f69(-_0xaa15b2._0x246290,0x20,_0xaa15b2._0x3794eb,-0x4)]>=_0x51e3a3){_0x583f2f=!![];break;}const _0xbc0009=await _0x2f6682(_0x3a2798[_0x144189(0x66f,0x697,0x7c9,0x79a)](_0x431d5e,_0x274a06))['catch'](()=>null);_0x428681[_0x144189(_0xaa15b2._0x41b9fb,_0xaa15b2._0xc39a73,_0xaa15b2._0x46e682,_0xaa15b2._0x153b72)]({'path':_0x274a06,'mtime':_0xbc0009?.[_0x144189(0x636,0x4b2,0x64a,_0xaa15b2._0x127ceb)]??0x0});}_0x428681[_0x144189(0x611,_0xaa15b2._0x5a113a,0x4f1,_0xaa15b2._0x22239f)]((_0x270c4e,_0x4f1e94)=>_0x4f1e94[_0x144189(0x3be,0x343,0x3a8,0x3ea)]-_0x270c4e[_0x144189(0x3be,0x335,0x532,0x301)]);const _0x501829=_0x428681[_0x144189(_0xaa15b2._0x36c9c7,0x3cb,0x377,0x43f)](_0x184dfa=>_0x184dfa[_0x144189(0x617,0x588,0x6b8,0x5a9)]),_0x5a0d14=_0x501829['length']===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x571cbd[_0x144189(0x493,_0xaa15b2._0x27fdc8,0x406,0x57a)]:''+_0x501829[_0x144189(_0xaa15b2._0x289193,0x4ed,_0xaa15b2._0x201f3e,0x698)]('\x0a')+(_0x583f2f?_0x144189(0x5ef,_0xaa15b2._0x26169e,_0xaa15b2._0x5a113a,_0xaa15b2._0x4343c8):'');return yield createToolOutput(_0x5a0d14,{'pattern':_0x571cbd['pattern'],'searchPath':_0x3a2798[_0x144189(0x58d,_0xaa15b2._0x16c094,_0xaa15b2._0x2ead72,0x4e4)](_0x376e05,_0x431d5e)||'.','matches':_0x501829,'count':_0x501829[_0x255f69(-0x4,0x70,-0x1c,-0x102)],'truncated':_0x583f2f}),void 0x0;}});}import{stat as _0x1d25c1}from'fs/promises';import*as _0x3e13d6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x1d357c={}){const _0x23681c={_0x263cd4:0x693,_0x40f1f5:0x4e4,_0x1d705d:0x516,_0xfd4e80:0x2a2,_0x316fc7:0x63b,_0x2c9ec1:0x5b7,_0x53ca40:0x5b1,_0x152ef3:0x3f2,_0x418f8f:0x42e,_0x44c4c5:0x5c4,_0x3f4492:0x4e1,_0x3e8eb2:0x64d,_0x41453e:0x490,_0x24a98c:0x4a8,_0x37b12f:0x8ca,_0x1c1164:0x870,_0x3c59f0:0x75d,_0xcced98:0x860,_0x1fb63d:0x5bb,_0x20a384:0x663,_0x5c0429:0x89c,_0x243540:0x584,_0x381763:0x463,_0x49d96b:0x3e3,_0x52d997:0x3fb},_0x8b2fcd={_0xf90fd0:0x46,_0x40f6a6:0xc,_0x1690f5:0xcc,_0x55e5cd:0x41,_0x130747:0x8e,_0x4fbc24:0x175,_0x36b7d2:0x808,_0x3b75e4:0x6bd,_0x3e2eb2:0x806,_0x1b232e:0x9d9,_0x278b6f:0x7fd,_0x38f411:0x7f7,_0xaffe9:0x747,_0x57d9b8:0x7f,_0x19e789:0x16c,_0x20da86:0x1fa,_0x16a650:0x1f5,_0x3150d2:0xf1,_0x532416:0x1e4,_0x2030d6:0x59,_0x80ca35:0x4a3,_0x389557:0x24f,_0x36d86e:0x1d,_0x9611f6:0x723,_0x31d2d5:0x685,_0x329bd8:0x16f,_0x46e450:0x5e,_0x306cf9:0x105,_0x519d9b:0x7f2,_0xe69705:0x628,_0x3368e4:0x1a6,_0x228f76:0x235,_0x422e69:0x52,_0x1beeb8:0x1b9,_0x1d006c:0xd7,_0x558b12:0x17e,_0x3ecbe:0x82e,_0x2ad96a:0x7a0,_0x17f9b3:0x723,_0x1160d7:0x7cc,_0x42e23a:0x6b7,_0x558f18:0x44,_0x1f13a0:0x54,_0x48416c:0x6d1,_0x343161:0x679,_0x2ffc19:0x76,_0x388a2c:0x16b,_0x378849:0x6d8,_0xa26fdc:0x6c8,_0x363428:0x670,_0x464d6b:0x5d3,_0xda4b0a:0x74d,_0x24576c:0x24,_0x3ea9f6:0x91,_0x33e8a6:0x14c,_0x157d90:0x155,_0x10a17d:0x608,_0x3c3cff:0x509,_0x2cf90e:0x7e7,_0x5c12c1:0x8bf,_0x63031a:0x99,_0x300d94:0x4f,_0x4e907a:0x105,_0x488ea0:0x49,_0x31bb10:0x63,_0x5f2243:0x4dc,_0x18cdf6:0x72b,_0x48b09d:0x718,_0x13c2d0:0x6c2,_0x475657:0x5cd,_0x488cd3:0x6fb,_0x33ff39:0x45d,_0x201f44:0x35,_0x2be329:0x9d,_0x3deb5d:0x152,_0x49f8f3:0x6cc,_0x15d2dd:0x79a,_0x5203ca:0x687,_0x431b53:0x5d2,_0x4c4fd4:0x4a3,_0x56a6a7:0x79b,_0x162163:0x77e,_0x5c0edd:0x7c6,_0x981119:0xc5,_0x1341d3:0x844,_0x5dc46d:0x89b,_0xdce220:0x1,_0x46fa:0x1b,_0x5ecde8:0x5fc,_0x4ec708:0x4ab,_0x30f58c:0x4eb,_0x4a68d1:0x659},_0x159019={_0x1413db:0x112,_0xab1ede:0x9f},_0x17ccc3={_0x4d1443:0x14a,_0x59716e:0x3};function _0x287f45(_0x13785d,_0x3f7d9c,_0x861bb9,_0x3be917){return _0x511d68(_0x13785d-0x166,_0x3be917-_0x17ccc3._0x4d1443,_0x861bb9-_0x17ccc3._0x59716e,_0x861bb9);}const _0x2ee821=_0x3e13d6[_0x287f45(_0x23681c._0x263cd4,_0x23681c._0x40f1f5,_0x23681c._0x1d705d,0x560)](_0x1d357c[_0xf856d(_0x23681c._0xfd4e80,0x3b7,0x25b,0x3f6)]??process[_0xf856d(0x619,_0x23681c._0x316fc7,_0x23681c._0x2c9ec1,_0x23681c._0x53ca40)]()),_0x1588c3=_0x1d357c['allowedDirs']??[];function _0xf856d(_0x13e0ba,_0x57ff32,_0x4b20ea,_0x3448b6){return _0x511d68(_0x13e0ba-_0x159019._0x1413db,_0x57ff32- -0x4f,_0x4b20ea-_0x159019._0xab1ede,_0x13e0ba);}const _0x2a1087=_0x1d357c[_0xf856d(0x387,_0x23681c._0x152ef3,_0x23681c._0x418f8f,0x301)]??0x64,_0x8cb0fb=_0x1d357c[_0xf856d(0x46c,0x520,_0x23681c._0x44c4c5,0x3da)]??_0xf856d(_0x23681c._0x3f4492,_0x23681c._0x3e8eb2,0x50a,0x730);return defineTool({'name':_0x8cb0fb,'description':_0xf856d(0x4dc,_0x23681c._0x41453e,0x36e,_0x23681c._0x24a98c),'inputSchema':{'type':_0x287f45(0x7fe,_0x23681c._0x37b12f,_0x23681c._0x1c1164,_0x23681c._0x3c59f0),'properties':{'pattern':{'type':_0x287f45(_0x23681c._0xcced98,_0x23681c._0x1fb63d,_0x23681c._0x20a384,0x714)},'path':{'type':'string'},'include':{'type':'string'},'limit':{'type':_0x287f45(0x871,0x6a1,_0x23681c._0x5c0429,0x732)},'context':{'type':_0xf856d(_0x23681c._0x243540,0x599,0x595,0x483)}},'required':[_0xf856d(_0x23681c._0x381763,0x4cb,_0x23681c._0x49d96b,_0x23681c._0x52d997)]},async *'execute'(_0x314a0e){const _0x507920={_0x2d4d22:0x1b9,_0x1e99d6:0x39,_0x3135c5:0x5d},_0x46c705={_0x255ca1:0x3a};if(_0x314a0e[_0x241eb5(-0x18,-_0x8b2fcd._0xf90fd0,-_0x8b2fcd._0x40f6a6,_0x8b2fcd._0x1690f5)][_0x241eb5(_0x8b2fcd._0x55e5cd,-_0x8b2fcd._0x130747,0x12a,_0x8b2fcd._0x4fbc24)]()['length']===0x0)throw new ToolExecutionError(_0x241eb5(0x105,0x212,0x16e,0x67),{});const _0x2c911a=resolveAllowedPath(_0x2ee821,_0x1588c3,_0x314a0e[_0x5e80b6(0x696,_0x8b2fcd._0x36b7d2,_0x8b2fcd._0x3b75e4,_0x8b2fcd._0x3e2eb2)]??'.'),_0x923407=await _0x1d25c1(_0x2c911a)['catch'](()=>null),_0xcdacbe=_0x923407?.['isFile']()??![],_0x208298=_0x923407?.[_0x5e80b6(_0x8b2fcd._0x1b232e,0x857,_0x8b2fcd._0x278b6f,0x80b)]()??![];if(!_0xcdacbe&&!_0x208298)throw new ToolExecutionError(_0x5e80b6(0x6d5,_0x8b2fcd._0x38f411,_0x8b2fcd._0xaffe9,0x8ae)+(_0x314a0e[_0x241eb5(0x16c,_0x8b2fcd._0x57d9b8,0xde,0x8e)]??'.'),{'path':_0x314a0e[_0x241eb5(_0x8b2fcd._0x19e789,_0x8b2fcd._0x20da86,_0x8b2fcd._0x16a650,0x239)]??'.'});const _0x1177d6=_0x314a0e[_0x241eb5(-_0x8b2fcd._0x3150d2,-_0x8b2fcd._0x532416,-0x91,-0x100)]??_0x2a1087,_0x233176=Math[_0x241eb5(-_0x8b2fcd._0x2030d6,0x18,-0x4b,0x28)](0x1,Math[_0x5e80b6(0x4c6,0x598,_0x8b2fcd._0x80ca35,0x718)](_0x1177d6)),_0x2161fa=await search({'cwd':_0x208298?_0x2c911a:_0x3e13d6[_0x241eb5(0x14b,0xff,_0x8b2fcd._0x389557,-_0x8b2fcd._0x36d86e)](_0x2c911a),'pattern':_0x314a0e[_0x5e80b6(_0x8b2fcd._0x9611f6,0x684,0x623,0x772)],'glob':_0x208298?_0x314a0e[_0x5e80b6(0x4ef,0x5a7,_0x8b2fcd._0x31d2d5,0x54d)]:void 0x0,'limit':_0x233176,'file':_0xcdacbe?_0x2c911a:void 0x0,'context':_0x314a0e[_0x241eb5(_0x8b2fcd._0x329bd8,_0x8b2fcd._0x46e450,0xf0,_0x8b2fcd._0x306cf9)]}),_0x53b753=new Map();for(const _0x533d06 of _0x2161fa){if(!_0x53b753['has'](_0x533d06[_0x5e80b6(0x605,0x755,_0x8b2fcd._0x519d9b,_0x8b2fcd._0xe69705)])){const _0x1fb654=await _0x1d25c1(_0x533d06['filePath'])[_0x241eb5(_0x8b2fcd._0x3368e4,_0x8b2fcd._0x228f76,_0x8b2fcd._0x422e69,0xdb)](()=>null);_0x53b753[_0x241eb5(_0x8b2fcd._0x1beeb8,_0x8b2fcd._0x1d006c,_0x8b2fcd._0x558b12,0x8f)](_0x533d06[_0x5e80b6(0x8cf,0x755,_0x8b2fcd._0x3ecbe,_0x8b2fcd._0x2ad96a)],{'matches':[],'mtime':_0x1fb654?.[_0x5e80b6(_0x8b2fcd._0x17f9b3,0x827,_0x8b2fcd._0x1160d7,_0x8b2fcd._0x42e23a)]??0x0});}_0x53b753[_0x241eb5(_0x8b2fcd._0x558f18,0x93,-_0x8b2fcd._0x1f13a0,_0x8b2fcd._0x1d006c)](_0x533d06[_0x241eb5(0xb9,0x16,0x14e,-0x53)])?.['matches'][_0x5e80b6(_0x8b2fcd._0x48416c,0x581,_0x8b2fcd._0x343161,0x5e3)](_0x533d06);}const _0x5080b9=[..._0x53b753[_0x241eb5(_0x8b2fcd._0x2ffc19,0x199,_0x8b2fcd._0x388a2c,0x14b)]()][_0x5e80b6(0x765,0x802,_0x8b2fcd._0x378849,_0x8b2fcd._0xa26fdc)]((_0x2a6ad3,_0x375c9f)=>_0x375c9f[0x1][_0x5e80b6(0x6c1,0x5af,0x655,0x434)]-_0x2a6ad3[0x1][_0x5e80b6(0x64f,0x5af,0x6fd,0x46b)]),_0x17a867=_0x2161fa[_0x5e80b6(_0x8b2fcd._0x363428,0x634,_0x8b2fcd._0x464d6b,_0x8b2fcd._0xda4b0a)](_0x186754=>!_0x186754['isContext'])[_0x241eb5(-_0x8b2fcd._0x24576c,-_0x8b2fcd._0x3ea9f6,-_0x8b2fcd._0x33e8a6,_0x8b2fcd._0x157d90)],_0x588c72=_0x2161fa[_0x5e80b6(0x533,0x678,_0x8b2fcd._0x10a17d,_0x8b2fcd._0x3c3cff)]>=_0x233176,_0x28d38b=_0xcdacbe?_0x3e13d6[_0x5e80b6(0x941,_0x8b2fcd._0x2cf90e,_0x8b2fcd._0x5c12c1,0x923)](_0x2c911a):_0x2c911a;let _0x13084b='';function _0x241eb5(_0x2bd1ab,_0x5e1afc,_0x529b77,_0x339c5a){return _0xf856d(_0x339c5a,_0x2bd1ab- -0x4e3,_0x529b77-0x1ac,_0x339c5a-_0x46c705._0x255ca1);}function _0x5e80b6(_0x137640,_0x197801,_0xcff2f8,_0x1dde17){return _0xf856d(_0x137640,_0x197801-_0x507920._0x2d4d22,_0xcff2f8-_0x507920._0x1e99d6,_0x1dde17-_0x507920._0x3135c5);}if(_0x2161fa['length']===0x0)_0x13084b=_0x241eb5(0xa3,0x1a7,_0x8b2fcd._0x63031a,_0x8b2fcd._0x300d94)+_0x314a0e[_0x241eb5(-0x18,0x54,-_0x8b2fcd._0x4e907a,0x13e)];else{_0x13084b=_0x241eb5(0xd0,0x1aa,0x17a,0x95)+_0x17a867+_0x241eb5(-_0x8b2fcd._0x488ea0,-_0x8b2fcd._0x31bb10,-0x194,0x29)+(_0x17a867===0x1?'':'es')+'\x0a';for(const [_0xcec116,_0x5e97fa]of _0x5080b9){const _0x76db75=_0xcdacbe?_0x3e13d6[_0x5e80b6(_0x8b2fcd._0x5f2243,0x58d,0x5cb,0x5fa)](_0xcec116):_0x3e13d6['relative'](_0x28d38b,_0xcec116);_0x13084b+='\x0a'+_0x76db75+':\x0a';for(const _0x5a23ff of _0x5e97fa[_0x5e80b6(_0x8b2fcd._0x18cdf6,_0x8b2fcd._0x48b09d,0x88c,_0x8b2fcd._0x13c2d0)]){const _0x86823=_0x5a23ff[_0x5e80b6(0x6f3,_0x8b2fcd._0x475657,_0x8b2fcd._0x488cd3,_0x8b2fcd._0x33ff39)][_0x241eb5(-0x24,-0x103,-_0x8b2fcd._0x201f44,-0xc4)]>MAX_LINE_LENGTH?_0x5a23ff[_0x5e80b6(0x6a5,0x5cd,0x4fe,0x4cd)][_0x241eb5(-0x98,-_0x8b2fcd._0x2be329,-_0x8b2fcd._0x3deb5d,0xbc)](0x0,MAX_LINE_LENGTH)+'...':_0x5a23ff[_0x5e80b6(_0x8b2fcd._0x49f8f3,0x5cd,0x711,0x460)],_0xf9127b=_0x5a23ff[_0x5e80b6(0x73d,0x835,0x7e7,0x969)]?'\x20\x20':'>\x20';_0x13084b+=_0xf9127b+_0x5e80b6(0x8ec,_0x8b2fcd._0x15d2dd,_0x8b2fcd._0x5203ca,0x72a)+_0x5a23ff[_0x5e80b6(0x702,_0x8b2fcd._0x431b53,0x482,_0x8b2fcd._0x4c4fd4)]+':\x20'+_0x86823+'\x0a';}}_0x588c72&&(_0x13084b+=_0x5e80b6(0x813,0x7e0,0x79b,_0x8b2fcd._0x56a6a7));}const _0x228d5e={'searchPath':_0x3e13d6[_0x5e80b6(0x87b,_0x8b2fcd._0x162163,0x76c,_0x8b2fcd._0x5c0edd)](_0x2ee821,_0x2c911a)||'.','pattern':_0x314a0e[_0x241eb5(-0x18,-_0x8b2fcd._0x31bb10,_0x8b2fcd._0x981119,_0x8b2fcd._0x19e789)],'matchCount':_0x17a867,'fileCount':_0x53b753[_0x5e80b6(0x7c6,_0x8b2fcd._0x1341d3,_0x8b2fcd._0x5dc46d,0x851)],'truncated':_0x588c72};return _0x208298&&_0x314a0e[_0x241eb5(-0xf5,-_0x8b2fcd._0xdce220,_0x8b2fcd._0x46fa,0x8c)]!==void 0x0&&(_0x228d5e[_0x5e80b6(_0x8b2fcd._0x5ecde8,0x5a7,0x691,_0x8b2fcd._0x4ec708)]=_0x314a0e[_0x5e80b6(_0x8b2fcd._0x30f58c,0x5a7,0x568,_0x8b2fcd._0x4a68d1)]),yield createToolOutput(_0x13084b['trim'](),_0x228d5e),void 0x0;}});}function createKillShellTool(_0x31e3af){const _0x337e4d={_0x451456:0x43a,_0x2dfd5e:0x49f,_0x46a6aa:0x3d0,_0x2f824d:0x585,_0x26a386:0x58b,_0x5735b9:0x53c,_0x3182c0:0x457,_0x24b0ec:0x544},_0x9e80da={_0x3d9c71:0x15c,_0x4bdb26:0x3e1,_0x2c2bb4:0x2bf,_0x32549f:0x295,_0xb7f210:0x2dd,_0x6ac9bd:0x1ee,_0x3e8715:0x2a9,_0x535835:0x1d8,_0x5563c5:0x3c1,_0x4cec83:0x346,_0x5dd9d2:0x26a},_0x2218ba={_0x29ee77:0x13d,_0x2ab97c:0x19c},_0x3f941f={_0x5241fd:0xb9,_0xddc4ff:0x76},_0x96f223={_0x89f048:0x8c,_0x302745:0x8e};function _0x2ca46a(_0x14cace,_0x3047c1,_0x2dadba,_0x37e91e){return _0x511d68(_0x14cace-_0x96f223._0x89f048,_0x14cace- -_0x96f223._0x302745,_0x2dadba-0x3e,_0x2dadba);}function _0x18a982(_0x22516c,_0xae0b07,_0x3b8a73,_0x3fd012){return _0x475ba1(_0xae0b07,_0x22516c-_0x3f941f._0x5241fd,_0x3b8a73-_0x3f941f._0xddc4ff,_0x3fd012-0x1c9);}const {registry:_0x33ac49}=_0x31e3af;return defineTool({'name':_0x2ca46a(_0x337e4d._0x451456,_0x337e4d._0x2dfd5e,0x2d5,_0x337e4d._0x46a6aa),'description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x2ca46a(_0x337e4d._0x2f824d,_0x337e4d._0x26a386,0x554,0x4c1),'properties':{'shellId':{'type':_0x2ca46a(_0x337e4d._0x5735b9,0x4fb,_0x337e4d._0x3182c0,0x528)}},'required':[_0x2ca46a(_0x337e4d._0x24b0ec,0x546,0x5db,0x64f)]},async *'execute'(_0x2451c3){const _0x41ccd6={_0x30e282:0x107},_0x18218b=_0x33ac49[_0x47570a(0x1c4,_0x9e80da._0x3d9c71,0xe8,0xbd)](_0x2451c3[_0x47570a(_0x9e80da._0x4bdb26,0x165,0x1c5,0x28d)]);function _0x20d51c(_0x467b25,_0x1fee9c,_0xd6a68a,_0x1b2539){return _0x2ca46a(_0x1b2539- -0x305,_0x1fee9c-0xb4,_0x1fee9c,_0x1b2539-_0x41ccd6._0x30e282);}function _0x47570a(_0x4453a2,_0x5bcfdf,_0x46c99a,_0x4584b5){return _0x18a982(_0x4584b5-0x4f,_0x5bcfdf,_0x46c99a-_0x2218ba._0x29ee77,_0x4584b5-_0x2218ba._0x2ab97c);}return createToolOutput('Killed\x20'+_0x2451c3['shellId']+'\x20(status:\x20'+_0x18218b[_0x47570a(_0x9e80da._0x2c2bb4,_0x9e80da._0x32549f,_0x9e80da._0xb7f210,0x2b9)]+').',{'shellId':_0x2451c3['shellId'],'status':_0x18218b[_0x47570a(_0x9e80da._0x6ac9bd,0x3a5,_0x9e80da._0x3e8715,0x2b9)],'exitCode':_0x18218b[_0x20d51c(_0x9e80da._0x535835,0x109,0xbb,0x80)],'signal':_0x18218b[_0x20d51c(_0x9e80da._0x5563c5,_0x9e80da._0x4cec83,_0x9e80da._0x5dd9d2,0x307)]});}});}import{readdir as _0x1799e2,readFile as _0x4dcd1d,stat as _0x18d03a}from'fs/promises';import*as _0x2c1dc2 from'path';import*as _0x52bee2 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x551ecf,_0x454bd3){const _0x24d091={_0x93ae49:0x3e4,_0x2a1c50:0x66f,_0x5e70a1:0x5a4,_0x5c4bd3:0x65a,_0x1511f7:0x778,_0x4ac840:0x6bc,_0x4635f8:0x4bf,_0x2084f5:0x3f2},_0x1a6c92={_0x39490d:0x55,_0x184939:0x11};if(_0x454bd3>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x20fbed=await _0x4dcd1d(_0x551ecf)[_0x1e400b(0x485,0x485,0x471,_0x24d091._0x93ae49)](()=>null);function _0x1e400b(_0x296cbe,_0x64407e,_0x22496a,_0x2a4c68){return _0x475ba1(_0x22496a,_0x2a4c68-0x159,_0x22496a-0xc1,_0x2a4c68-0x1db);}if(!_0x20fbed||isProbablyBinary(_0x20fbed))return void 0x0;function _0x343635(_0x5148a5,_0x28223c,_0x383963,_0x3ffbff){return _0x511d68(_0x5148a5-0x120,_0x5148a5- -_0x1a6c92._0x39490d,_0x383963-_0x1a6c92._0x184939,_0x383963);}return _0x20fbed[_0x343635(0x544,_0x24d091._0x2a1c50,0x4d9,0x5af)](_0x343635(0x5d9,0x70c,_0x24d091._0x5e70a1,_0x24d091._0x5c4bd3))[_0x343635(0x62d,_0x24d091._0x1511f7,_0x24d091._0x4ac840,_0x24d091._0x4635f8)](/\r?\n/)[_0x343635(0x4b9,_0x24d091._0x2084f5,0x378,0x5a0)];}function createLsTool(_0x1f4dde={}){const _0x1244f2={_0x4d177b:0x1d6,_0x2e1629:0x30e,_0x51132a:0x2a5,_0x1a035d:0x17d,_0x2849f0:0x295,_0x2f5afa:0xd3,_0x164ec6:0x51e,_0x38ae21:0x3ad,_0x425144:0x4e5,_0x1be8ab:0x2d9,_0xb9a53b:0x1a2,_0x19576b:0x34c,_0x5d6116:0x3b8,_0x2da1d7:0xc5,_0x2a23e9:0x24a,_0x350c22:0x3d,_0x3595c3:0xbe,_0x330352:0x4,_0x4f6c25:0xae,_0x895ca3:0x188},_0x49b889={_0x2d1087:0x14e,_0x40fb0c:0x1e1,_0x171675:0x647,_0x55f834:0x5f6,_0x3f3d2b:0x148,_0x27d5e0:0x124,_0x243954:0x1f1,_0x5e3230:0x445,_0x33e576:0x410,_0x593aa3:0x31b,_0x2c9635:0xf7,_0x4d6213:0x35a,_0x25c9a9:0x448,_0x3b5de3:0x5ce,_0x406976:0x3f8,_0x280e83:0x39d,_0x421f4a:0x237,_0x341387:0x316,_0x305fce:0x203,_0x3dd293:0x29a,_0x39e13b:0x3e3,_0x326fb2:0x25a,_0x147401:0x180,_0x3b22e4:0x4e5,_0x5514e0:0x5ee,_0x141681:0x764,_0x3832d4:0x6e4,_0x1896d3:0x7c5,_0x2f2c14:0x8b,_0x4f4ce5:0x716,_0x35a142:0x649,_0x420910:0x62c,_0xaf832c:0x4c9,_0xdc3803:0x5f0,_0x551bef:0x4e,_0x22269a:0x6fb,_0x40854f:0x617,_0x1a9619:0x25c,_0x63fa3a:0x303,_0x3c0e59:0x5ea,_0x4af67c:0x67,_0x3e67ce:0x47d,_0x5df522:0x5f9,_0x2cd2af:0x55f,_0x318fda:0x5fd,_0x19fd58:0x41b,_0x2e2dc4:0x47d,_0x2283c5:0x352,_0x47e95d:0xbb,_0x158350:0xb8},_0x5c543b={_0x211a34:0x5b0};function _0x5d08ac(_0x4b8590,_0x4030d7,_0x50e8de,_0x4c5e25){return _0x475ba1(_0x4030d7,_0x4b8590-0x1c4,_0x50e8de-0x198,_0x4c5e25-0x1be);}function _0x70de78(_0x408ffa,_0x30d665,_0x25d72b,_0x4999a1){return _0x511d68(_0x408ffa-0x65,_0x30d665- -_0x5c543b._0x211a34,_0x25d72b-0x45,_0x4999a1);}const _0x14ac08=_0x2c1dc2[_0x5d08ac(0x18d,_0x1244f2._0x4d177b,_0x1244f2._0x2e1629,_0x1244f2._0x51132a)](_0x1f4dde[_0x5d08ac(_0x1244f2._0x1a035d,_0x1244f2._0x2849f0,_0x1244f2._0x2f5afa,0x247)]??process[_0x5d08ac(0x401,_0x1244f2._0x164ec6,_0x1244f2._0x38ae21,_0x1244f2._0x425144)]()),_0x4c934b=_0x1f4dde[_0x5d08ac(0x2eb,0x207,_0x1244f2._0x1be8ab,0x1b9)]??[],_0x3a5e84=_0x1f4dde[_0x5d08ac(0x2e6,_0x1244f2._0xb9a53b,_0x1244f2._0x19576b,_0x1244f2._0x5d6116)]??'Ls';return defineTool({'name':_0x3a5e84,'description':_0x70de78(0x101,_0x1244f2._0x2da1d7,_0x1244f2._0x2a23e9,0x12),'inputSchema':{'type':_0x70de78(-0x85,0x63,-_0x1244f2._0x350c22,0x1),'properties':{'path':{'type':_0x70de78(_0x1244f2._0x3595c3,0x1a,_0x1244f2._0x330352,_0x1244f2._0x4f6c25)},'limit':{'type':_0x70de78(0xba,0x38,_0x1244f2._0x895ca3,-0x3)}}},async *'execute'(_0x19fd10){const _0x376223={_0x3d3826:0x132,_0x6725ad:0x128},_0x369d4b=_0x19fd10[_0x4ed8c6(0x220,0x264,_0x49b889._0x2d1087,_0x49b889._0x40fb0c)]??'.';function _0x4ed8c6(_0x414da5,_0x101032,_0x375969,_0x52ed0f){return _0x70de78(_0x414da5-0x29,_0x414da5-_0x376223._0x3d3826,_0x375969-_0x376223._0x6725ad,_0x375969);}const _0x4e0bfc=resolveAllowedPath(_0x14ac08,_0x4c934b,_0x369d4b),_0x3b1f53=await _0x18d03a(_0x4e0bfc)[_0x41aa34(0x6a5,_0x49b889._0x171675,0x51e,_0x49b889._0x55f834)](()=>null);if(!_0x3b1f53?.['isDirectory']())throw new ToolExecutionError(_0x4ed8c6(_0x49b889._0x3f3d2b,0x296,_0x49b889._0x27d5e0,_0x49b889._0x243954)+_0x369d4b,{'path':_0x369d4b});const _0x28dae2=_0x19fd10[_0x41aa34(_0x49b889._0x5e3230,0x3b0,_0x49b889._0x33e576,_0x49b889._0x593aa3)]??0x3e8,_0x8b63dd=Math[_0x4ed8c6(0xff,0x6b,0x1a1,_0x49b889._0x2c9635)](Math[_0x41aa34(_0x49b889._0x4d6213,_0x49b889._0x25c9a9,_0x49b889._0x3b5de3,_0x49b889._0x406976)](Math[_0x41aa34(0x33b,_0x49b889._0x280e83,_0x49b889._0x421f4a,0x492)](_0x28dae2),0x1),0x2710),_0x4e4463=await _0x1799e2(_0x4e0bfc),_0x32bd30=[];for(const _0x196444 of _0x4e4463[_0x41aa34(0x2fb,0x409,_0x49b889._0x341387,0x393)](0x0,_0x8b63dd)){const _0x2f774d=_0x2c1dc2[_0x4ed8c6(0x278,_0x49b889._0x305fce,_0x49b889._0x3dd293,_0x49b889._0x39e13b)](_0x4e0bfc,_0x196444),_0x37c58c=await _0x18d03a(_0x2f774d)[_0x4ed8c6(_0x49b889._0x326fb2,0x224,0x2b8,_0x49b889._0x147401)](()=>null);if(!_0x37c58c)continue;let _0x4d3d57='other';if(_0x37c58c[_0x41aa34(_0x49b889._0x3b22e4,_0x49b889._0x5514e0,_0x49b889._0x141681,_0x49b889._0x3832d4)]())_0x4d3d57='file';else{if(_0x37c58c[_0x41aa34(_0x49b889._0x1896d3,0x65c,0x74d,0x523)]())_0x4d3d57='directory';else{if(_0x37c58c[_0x4ed8c6(-0x33,-0x15e,-0x15a,-_0x49b889._0x2f2c14)]())_0x4d3d57=_0x4ed8c6(-0x66,0x112,0xc7,0x82);}}const _0x4cfc40={'name':_0x196444,'type':_0x4d3d57,'size':_0x37c58c[_0x41aa34(_0x49b889._0x4f4ce5,_0x49b889._0x35a142,_0x49b889._0x420910,_0x49b889._0xaf832c)],'mtime':_0x37c58c[_0x41aa34(_0x49b889._0xdc3803,_0x49b889._0x420910,0x733,0x71b)],'mode':_0x37c58c[_0x4ed8c6(_0x49b889._0x551bef,0x193,0x91,-0x103)]},_0x5d7292=_0x4d3d57===_0x41aa34(_0x49b889._0x22269a,0x5a2,0x68b,_0x49b889._0x40854f)?await countTextLines(_0x2f774d,_0x37c58c[_0x4ed8c6(_0x49b889._0x1a9619,0x29c,_0x49b889._0x63fa3a,0x217)]):void 0x0;if(_0x5d7292!==void 0x0)_0x4cfc40[_0x41aa34(0x6d4,0x5b1,_0x49b889._0x3c0e59,0x47d)]=_0x5d7292;_0x32bd30[_0x4ed8c6(-_0x49b889._0x4af67c,-0xf7,-0x35,0xd)](_0x4cfc40);}_0x32bd30['sort']((_0x2692a0,_0x225659)=>_0x2692a0[_0x4ed8c6(0xf1,0x171,0x79,-0x23)][_0x41aa34(0x4b2,0x3ab,0x339,0x28d)](_0x225659['name']));const _0x3abfee={'path':_0x369d4b,'total':_0x32bd30[_0x41aa34(0x565,_0x49b889._0x3e67ce,0x5b0,_0x49b889._0x5df522)],'truncated':_0x4e4463['length']>_0x8b63dd,'entries':_0x32bd30};yield createToolOutput(_0x52bee2[_0x41aa34(_0x49b889._0x2cd2af,0x5d0,_0x49b889._0x318fda,0x69f)](_0x3abfee,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x369d4b,'total':_0x32bd30[_0x41aa34(_0x49b889._0x19fd58,_0x49b889._0x2e2dc4,0x47b,_0x49b889._0x2283c5)],'truncated':_0x4e4463[_0x4ed8c6(0x90,0x1c6,-_0x49b889._0x47e95d,_0x49b889._0x158350)]>_0x8b63dd,'limit':_0x8b63dd,'entries':_0x32bd30});function _0x41aa34(_0x4a110f,_0x4b736e,_0x505640,_0x1a1b98){return _0x5d08ac(_0x4b736e-0x1f8,_0x1a1b98,_0x505640-0x175,_0x1a1b98-0x49);}return void 0x0;}});}import{stat as _0x279d76}from'fs/promises';import _0x42386 from'path';import{fileURLToPath as _0xd46e29}from'url';function severityName(_0x202bbd){const _0x171f73={_0x1ba743:0x2f5,_0x5f22db:0x25b,_0x4968b0:0x49b,_0x536b26:0x475,_0x365bbd:0x365,_0x55d72d:0x4c2,_0x3c9709:0x279,_0x521e91:0x49d,_0x25cdde:0x32b,_0x5b6555:0x23b},_0x52ccdf={_0x58624e:0x191,_0x1de585:0x160},_0x59eb04={_0xdeda5a:0x1e1};function _0x2e35a4(_0x3919b5,_0x22847b,_0x2a9a2d,_0x345ee2){return _0x475ba1(_0x22847b,_0x2a9a2d-_0x59eb04._0xdeda5a,_0x2a9a2d-0x18a,_0x345ee2-0x89);}function _0xdf2398(_0x32dd75,_0x1255ff,_0x1748e5,_0x44c8cb){return _0x475ba1(_0x1255ff,_0x1748e5-_0x52ccdf._0x58624e,_0x1748e5-0x120,_0x44c8cb-_0x52ccdf._0x1de585);}switch(_0x202bbd){case 0x1:return _0xdf2398(0x1c4,_0x171f73._0x1ba743,_0x171f73._0x5f22db,0x25c);case 0x2:return _0xdf2398(0x50d,0x3fb,0x3ac,0x24b);case 0x3:return _0x2e35a4(_0x171f73._0x4968b0,_0x171f73._0x536b26,_0x171f73._0x365bbd,_0x171f73._0x55d72d);case 0x4:return _0xdf2398(0x320,0x287,0x381,_0x171f73._0x3c9709);default:return _0xdf2398(0x441,_0x171f73._0x521e91,_0x171f73._0x25cdde,_0x171f73._0x5b6555);}}function formatSingleHover(_0x418b92){const _0x52b251={_0x429409:0x373,_0xd253b3:0x48c,_0x41da16:0x4c8,_0xadb410:0x3d6,_0x25e004:0x7d6,_0x5e9513:0x743,_0x49b59b:0x3d7,_0x43a379:0x4d8,_0x217775:0x606,_0x502b79:0x758,_0x370cbd:0x755,_0x52bfac:0x8c4,_0x3684a5:0x7d4,_0x538ec3:0x51a,_0x7883bc:0x3bb,_0x2271c3:0x4b1,_0x3449e1:0x62c},_0x234b3c={_0x4c4eac:0x1a1,_0x3f2239:0x8},_0xcb046c={_0x107e5d:0x5dd,_0x57d478:0x1b5};function _0x141320(_0xdd3da4,_0x52318e,_0x4c0683,_0x36dae7){return _0x475ba1(_0x36dae7,_0xdd3da4-_0xcb046c._0x107e5d,_0x4c0683-_0xcb046c._0x57d478,_0x36dae7-0x1b6);}const _0x515752=_0x418b92[_0x5264ef(_0x52b251._0x429409,0x402,0x29d,0x380)];if(typeof _0x515752===_0x5264ef(0x3f1,_0x52b251._0xd253b3,0x3b0,_0x52b251._0x41da16))return _0x515752;if(Array['isArray'](_0x515752))return _0x515752[_0x141320(0x6e3,0x71d,0x766,0x654)](_0x3c106d=>typeof _0x3c106d===_0x141320(0x75a,0x688,0x804,0x67e)?_0x3c106d:_0x3c106d[_0x5264ef(0x3ec,0x3a0,0x5a1,0x4b1)])[_0x5264ef(0x479,_0x52b251._0xadb410,0x53f,0x3c8)](Boolean)[_0x141320(0x886,0x8ea,0x94b,0x80a)]('\x0a\x0a');if(_0x141320(0x809,0x8e5,0x847,_0x52b251._0x25e004)in _0x515752)return _0x515752[_0x141320(_0x52b251._0x5e9513,0x5c2,0x831,0x742)];function _0x5264ef(_0x14785d,_0x27c823,_0x18f03,_0x2303a4){return _0x511d68(_0x14785d-_0x234b3c._0x4c4eac,_0x2303a4- -0x102,_0x18f03-_0x234b3c._0x3f2239,_0x18f03);}return _0x515752[_0x5264ef(0x3e4,_0x52b251._0x49b59b,0x44c,_0x52b251._0x43a379)]?_0x141320(_0x52b251._0x217775,_0x52b251._0x502b79,_0x52b251._0x370cbd,0x73b)+_0x515752[_0x141320(0x76a,_0x52b251._0x52bfac,_0x52b251._0x3684a5,0x740)]+'\x0a'+_0x515752[_0x5264ef(_0x52b251._0x538ec3,0x4ac,_0x52b251._0x7883bc,_0x52b251._0x2271c3)]+_0x5264ef(0x577,0x4c8,_0x52b251._0x3449e1,0x4dc):_0x515752['value'];}function formatHover(_0xdee82d){const _0x43f0fd={_0x56763d:0x8a,_0x5f5b7a:0x2c,_0x20c940:0xb5,_0x2aa13d:0x85,_0x40aa06:0x3a,_0x360289:0x2dd,_0x1c5f3d:0x266,_0x4493a8:0x3d},_0x3ec609={_0x29f4ce:0x3f8};if(_0xdee82d[_0x30f3b1(0x64,-0x100,-0x120,-_0x43f0fd._0x56763d)]===0x0)return _0x30f3b1(-0x2f,-0x192,-_0x43f0fd._0x5f5b7a,-_0x43f0fd._0x20c940);function _0x2fbc20(_0x22ae1a,_0x224c49,_0x4a3017,_0x471d74){return _0x511d68(_0x22ae1a-0x83,_0x4a3017- -_0x3ec609._0x29f4ce,_0x4a3017-0x186,_0x471d74);}function _0x30f3b1(_0xf3f9ae,_0x1e1784,_0x5d6d77,_0x16348d){return _0x475ba1(_0x5d6d77,_0x16348d- -0x14b,_0x5d6d77-0x11c,_0x16348d-0x1ce);}return _0xdee82d[_0x30f3b1(_0x43f0fd._0x2aa13d,-0x1ab,-_0x43f0fd._0x40aa06,-0x45)](formatSingleHover)[_0x30f3b1(_0x43f0fd._0x360289,_0x43f0fd._0x1c5f3d,_0x43f0fd._0x4493a8,0x15e)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x567bb3){const _0x1f9e1c={_0x2f81e5:0x377,_0x17de63:0x202,_0x2cc394:0x2c0,_0x3c0baf:0xd2},_0x14ec19={_0x3152ce:0x1bd};function _0x12718a(_0x3e8b7e,_0x55e046,_0x2a1f3d,_0x205b57){return _0x475ba1(_0x3e8b7e,_0x55e046-_0x14ec19._0x3152ce,_0x2a1f3d-0x73,_0x205b57-0x4a);}if(!_0x567bb3[_0x12718a(_0x1f9e1c._0x2f81e5,_0x1f9e1c._0x17de63,_0x1f9e1c._0x2cc394,_0x1f9e1c._0x3c0baf)]('file://'))return _0x567bb3;return _0xd46e29(_0x567bb3);}function formatLocations(_0x48b89b){const _0x5a8fca={_0x20c649:0x5fe,_0x4677db:0x656,_0x5b93cf:0x498,_0x38bcea:0x32c,_0x1d80d9:0x35e,_0x5894b6:0x618,_0x335d9b:0x4a6,_0x37541c:0x724},_0x5157bf={_0x31989c:0x4f2,_0x2ea156:0x4b7,_0x2e9fb6:0x241,_0x5b5978:0x44c,_0x316c2e:0x517},_0x46fe4e={_0x2f29b9:0x14c,_0x45aaf3:0x13d},_0xaefc1={_0x88e26b:0x9a,_0x4502d0:0x168};if(_0x48b89b[_0x3f75b3(0x55e,_0x5a8fca._0x20c649,0x635,_0x5a8fca._0x4677db)]===0x0)return _0x3f75b3(_0x5a8fca._0x5b93cf,_0x5a8fca._0x38bcea,0x3e6,_0x5a8fca._0x1d80d9);function _0x5d7bbd(_0x2faedc,_0x8a22a7,_0x276159,_0x2b1ba7){return _0x511d68(_0x2faedc-0x5f,_0x276159- -_0xaefc1._0x88e26b,_0x276159-_0xaefc1._0x4502d0,_0x2faedc);}function _0x3f75b3(_0x249f91,_0x31a770,_0x45f47f,_0xf818eb){return _0x511d68(_0x249f91-0x16,_0x249f91-0x50,_0x45f47f-0x2d,_0xf818eb);}return _0x48b89b[_0x5d7bbd(0x420,_0x5a8fca._0x5894b6,0x4b9,_0x5a8fca._0x335d9b)](_0x110108=>{const _0x256488={_0xd3a3a5:0x26a,_0xa92363:0xdc};function _0x1b120d(_0x3ba616,_0x1cde2b,_0x44afa2,_0x4ea50a){return _0x3f75b3(_0x3ba616- -_0x256488._0xd3a3a5,_0x1cde2b-0xe1,_0x44afa2-_0x256488._0xa92363,_0x1cde2b);}function _0x25c0b4(_0x6bdecb,_0x569749,_0x3b476f,_0x4f6814){return _0x5d7bbd(_0x4f6814,_0x569749-_0x46fe4e._0x2f29b9,_0x6bdecb-0xd3,_0x4f6814-_0x46fe4e._0x45aaf3);}const _0x48a728=_0x110108[_0x25c0b4(_0x5157bf._0x31989c,_0x5157bf._0x2ea156,0x3fd,0x58f)][_0x1b120d(0x206,_0x5157bf._0x2e9fb6,0x1c1,0x350)];return locationPath(_0x110108[_0x1b120d(_0x5157bf._0x5b5978,0x409,0x41e,_0x5157bf._0x316c2e)])+':'+(_0x48a728['line']+0x1)+':'+(_0x48a728['character']+0x1);})[_0x3f75b3(0x746,0x5f7,_0x5a8fca._0x37541c,0x779)]('\x0a');}function isDocumentSymbol(_0x16986a){const _0x7596bf={_0x12c85b:0x368},_0x3053af={_0x5a0009:0x2af,_0x402ece:0x175};function _0x49bfa5(_0x277914,_0x5bf05f,_0x996b,_0x54c5dc){return _0x475ba1(_0x54c5dc,_0x277914-_0x3053af._0x5a0009,_0x996b-_0x3053af._0x402ece,_0x54c5dc-0x60);}return _0x49bfa5(0x31b,0x3f7,_0x7596bf._0x12c85b,0x448)in _0x16986a&&'selectionRange'in _0x16986a;}function formatSymbols(_0x12d25e){const _0x494ded={_0x206af4:0x26f,_0x26b834:0x240,_0x338c6e:0xad,_0x2d0f0e:0x24c,_0x529988:0x4c0,_0x48333b:0x4b6,_0xc48ac1:0x373},_0x25c7e9={_0x561d1e:0x5ec,_0x446d3d:0x691,_0x1011c7:0x656,_0x327a85:0x3f5,_0x1aaaff:0x511,_0x5db354:0x6b0,_0x222f0f:0x474,_0x4937e5:0x4b7,_0x3679a2:0x5cb,_0x136625:0x4d1,_0x3f54dd:0x37b,_0x3f44a1:0x50f,_0x5ba194:0x33d,_0x4073b1:0x4bd,_0x1e7307:0x448,_0x9b4c08:0x625,_0x357147:0x4db,_0x1366e0:0x60e,_0x3463af:0x4c4,_0x5d7c58:0x6aa,_0x43b401:0x6b7,_0x341c0e:0x614,_0x44f218:0x4c1,_0x1b7cec:0x41e,_0x139d32:0x45c,_0x49de4c:0x2e2},_0x276732={_0x5ce3ce:0x1e7,_0x3ad7ea:0x383},_0x202345={_0x1eed07:0x461};if(_0x12d25e['length']===0x0)return _0x732561(_0x494ded._0x206af4,_0x494ded._0x26b834,0x2e4,0x359);function _0x51a65d(_0x194eb4,_0x2920c8,_0xd0716b,_0x280f0e){return _0x475ba1(_0x194eb4,_0x280f0e-_0x202345._0x1eed07,_0xd0716b-0x123,_0x280f0e-0x1e7);}function _0x732561(_0x536acb,_0x58e737,_0x23609a,_0x582171){return _0x511d68(_0x536acb-_0x276732._0x5ce3ce,_0x582171- -_0x276732._0x3ad7ea,_0x23609a-0x175,_0x58e737);}return _0x12d25e[_0x732561(_0x494ded._0x338c6e,_0x494ded._0x2d0f0e,0x85,0x1d0)](_0x4b525b=>{const _0x51af2={_0x5122ca:0x68,_0x15f105:0x4},_0x141ef4={_0x22f38a:0x41a};function _0x43bebc(_0x1ad9f3,_0x39efd4,_0x2945a7,_0x106a5d){return _0x732561(_0x1ad9f3-0x186,_0x39efd4,_0x2945a7-0x1ee,_0x106a5d-_0x141ef4._0x22f38a);}if(isDocumentSymbol(_0x4b525b))return _0x4b525b['name']+'\x20('+_0x4b525b[_0x37812e(_0x25c7e9._0x561d1e,_0x25c7e9._0x446d3d,_0x25c7e9._0x1011c7,0x7f9)]+_0x37812e(0x46e,0x53a,0x4d0,0x3ca)+(_0x4b525b[_0x43bebc(_0x25c7e9._0x327a85,_0x25c7e9._0x1aaaff,_0x25c7e9._0x5db354,0x550)][_0x43bebc(0x366,0x529,_0x25c7e9._0x222f0f,_0x25c7e9._0x4937e5)]['line']+0x1)+':'+(_0x4b525b[_0x37812e(_0x25c7e9._0x3679a2,_0x25c7e9._0x136625,0x413,_0x25c7e9._0x3f54dd)][_0x37812e(_0x25c7e9._0x3f44a1,0x438,_0x25c7e9._0x5ba194,0x461)][_0x43bebc(_0x25c7e9._0x4073b1,_0x25c7e9._0x1e7307,_0x25c7e9._0x9b4c08,_0x25c7e9._0x357147)]+0x1)+']';function _0x37812e(_0x1ae083,_0x12828e,_0x1538ea,_0x25737f){return _0x51a65d(_0x1538ea,_0x12828e-_0x51af2._0x5122ca,_0x1538ea-0x179,_0x12828e-_0x51af2._0x15f105);}return _0x4b525b[_0x37812e(_0x25c7e9._0x1366e0,0x587,_0x25c7e9._0x3463af,0x58b)]+'\x20('+_0x4b525b[_0x43bebc(0x855,0x732,_0x25c7e9._0x5d7c58,0x710)]+')\x20'+locationPath(_0x4b525b['location']['uri'])+':'+(_0x4b525b['location']['range']['start']['line']+0x1)+':'+(_0x4b525b[_0x37812e(0x302,0x41d,0x2a7,0x4f3)][_0x43bebc(_0x25c7e9._0x43b401,_0x25c7e9._0x341c0e,_0x25c7e9._0x44f218,0x550)]['start'][_0x37812e(_0x25c7e9._0x1b7cec,_0x25c7e9._0x139d32,_0x25c7e9._0x49de4c,0x307)]+0x1);})[_0x732561(0x1f8,_0x494ded._0x529988,_0x494ded._0x48333b,_0x494ded._0xc48ac1)]('\x0a');}function formatDiagnostics(_0x1450fd){const _0x45d8fe={_0x5bfc08:0x2d2,_0x182d9a:0x57b,_0x22dd8e:0x69d,_0x4b800a:0x41d},_0x1eac64={_0x3b5c20:0x3dd,_0x4586f6:0x2d9,_0x10db99:0xf9,_0xd6b505:0x1c7,_0x1a5891:0x210,_0x42f4f1:0x264,_0x2febb0:0x3e1,_0x107ceb:0x1db,_0x25b44b:0x1b7,_0x30a7cc:0x2f0,_0x192ef4:0x441,_0x2ef955:0x36a},_0x42e130={_0x432e3a:0xe2},_0x51c79c={_0x173613:0x181,_0x3ce64e:0x187},_0x1915dc={_0x4761d0:0xd6};if(_0x1450fd[_0x49a2bb(0x3ea,_0x45d8fe._0x5bfc08,0x38a,0x387)]===0x0)return'No\x20diagnostics';function _0x24d31a(_0x500854,_0x236b8b,_0x22669a,_0xe010b1){return _0x475ba1(_0x500854,_0x236b8b- -0x93,_0x22669a-_0x1915dc._0x4761d0,_0xe010b1-0x43);}function _0x49a2bb(_0xc8b5b7,_0x15a490,_0x45eaa6,_0x57e894){return _0x511d68(_0xc8b5b7-_0x51c79c._0x173613,_0x57e894- -_0x51c79c._0x3ce64e,_0x45eaa6-0x194,_0x45eaa6);}return _0x1450fd['map'](_0x3caf1c=>{const _0x5b5c35={_0x27ecf9:0x154};function _0x31b702(_0x19e1bc,_0x5418d1,_0x131f5c,_0x13fc16){return _0x49a2bb(_0x19e1bc-_0x5b5c35._0x27ecf9,_0x5418d1-0x104,_0x19e1bc,_0x5418d1- -0x59);}const _0x299aeb=_0x3caf1c[_0x31b702(_0x1eac64._0x3b5c20,_0x1eac64._0x4586f6,0x23a,0x351)]['start'];function _0x17727c(_0x2c55fb,_0x30b9fb,_0x534bcf,_0x43a37b){return _0x49a2bb(_0x2c55fb-0xf9,_0x30b9fb-0x1be,_0x2c55fb,_0x30b9fb- -_0x42e130._0x432e3a);}return severityName(_0x3caf1c[_0x17727c(_0x1eac64._0x10db99,_0x1eac64._0xd6b505,_0x1eac64._0x1a5891,0x1af)])+'\x20['+(_0x299aeb[_0x17727c(0x105,_0x1eac64._0x42f4f1,0x290,_0x1eac64._0x2febb0)]+0x1)+':'+(_0x299aeb[_0x17727c(0x1d7,_0x1eac64._0x107ceb,_0x1eac64._0x25b44b,0x15d)]+0x1)+']\x20'+_0x3caf1c[_0x17727c(0x457,_0x1eac64._0x30a7cc,_0x1eac64._0x192ef4,_0x1eac64._0x2ef955)];})[_0x49a2bb(_0x45d8fe._0x182d9a,_0x45d8fe._0x22dd8e,_0x45d8fe._0x4b800a,0x56f)]('\x0a');}function formatIncomingCalls(_0x39b890){const _0x431fce={_0x5de126:0x51f,_0x28a91a:0x587,_0x2aabaf:0x635,_0x1bc576:0x7b2},_0x137ea9={_0x1ac3a2:0x1b},_0x5c1502={_0x46cdfa:0x3d6,_0xd458a8:0x135};function _0xda3653(_0x3c8779,_0x480a5d,_0x56d333,_0x130307){return _0x475ba1(_0x480a5d,_0x56d333-_0x5c1502._0x46cdfa,_0x56d333-0x135,_0x130307-_0x5c1502._0xd458a8);}function _0x1c49b1(_0x3b7cd1,_0x5c96c7,_0x140076,_0x45883a){return _0x511d68(_0x3b7cd1-0x157,_0x140076- -_0x137ea9._0x1ac3a2,_0x140076-0xd0,_0x5c96c7);}if(_0x39b890[_0x1c49b1(_0x431fce._0x5de126,_0x431fce._0x28a91a,0x4f3,0x536)]===0x0)return'No\x20call\x20hierarchy\x20results';return _0x39b890['map'](_0x514072=>_0x514072[_0x1c49b1(0x62b,0x7b1,0x642,0x650)][_0xda3653(0x3fb,0x5f7,0x4f8,0x5a1)])[_0x1c49b1(_0x431fce._0x2aabaf,0x74a,0x6db,_0x431fce._0x1bc576)]('\x0a');}function formatOutgoingCalls(_0x5ed2ae){const _0x1b3233={_0x4eeee0:0x4c2,_0x2670d5:0x33d,_0x5c1db6:0x638,_0x311b2e:0x6e7,_0x5926d0:0x623},_0x2ce34f={_0x3d9181:0x580,_0x52af8e:0x1c5,_0x57d4a8:0x171},_0x1283a1={_0x235201:0xf6,_0x553e6f:0xfc};function _0x52856f(_0x54af74,_0xf60b55,_0x21cd66,_0x1a647a){return _0x475ba1(_0x1a647a,_0x21cd66-0x462,_0x21cd66-_0x1283a1._0x235201,_0x1a647a-_0x1283a1._0x553e6f);}function _0x1ee69e(_0x1ae7f5,_0x352f8d,_0x4f5ebd,_0xc8b146){return _0x475ba1(_0x1ae7f5,_0x352f8d-_0x2ce34f._0x3d9181,_0x4f5ebd-_0x2ce34f._0x52af8e,_0xc8b146-_0x2ce34f._0x57d4a8);}if(_0x5ed2ae['length']===0x0)return _0x52856f(0x3f8,0x412,_0x1b3233._0x4eeee0,_0x1b3233._0x2670d5);return _0x5ed2ae[_0x52856f(_0x1b3233._0x5c1db6,_0x1b3233._0x311b2e,0x568,_0x1b3233._0x5926d0)](_0x421e29=>_0x421e29['to'][_0x1ee69e(0x5d0,0x6a2,0x7fd,0x528)])['join']('\x0a');}function toStructured(_0xcb8032){const _0x656a03={_0x35f0ba:0xc1,_0x188e29:0x2a4,_0x17c4e8:0x190},_0x5ac2b9={_0x21ac4d:0x1cb,_0x8d7844:0x5e},_0x4b904e={_0x16d42e:0x5f};function _0x25c0f3(_0x3c59ea,_0x2b608d,_0x2333b2,_0x4d55ad){return _0x475ba1(_0x4d55ad,_0x3c59ea-0x90,_0x2333b2-_0x4b904e._0x16d42e,_0x4d55ad-0x1bd);}function _0x53ef07(_0x44b441,_0x3519a8,_0x5ee425,_0x2717ba){return _0x475ba1(_0x44b441,_0x2717ba- -_0x5ac2b9._0x21ac4d,_0x5ee425-0x18c,_0x2717ba-_0x5ac2b9._0x8d7844);}return JSON[_0x53ef07(0x114,0x5f,-0x93,_0x656a03._0x35f0ba)](JSON[_0x25c0f3(_0x656a03._0x188e29,0x177,_0x656a03._0x17c4e8,0x3d4)](_0xcb8032));}async function assertFile(_0x16c8d2){const _0x2846a4={_0x4041cd:0x49e,_0x195b48:0x36c,_0x17a5a1:0x296,_0x8881e0:0x42f,_0x785169:0x1a7,_0x5d2ab5:0x1f8},_0x1ff64d={_0x59bb86:0x4e,_0x2e0eda:0x5cc,_0x2de4c7:0x18c},_0x26c16d={_0xc31ced:0x13a,_0x4f2cfe:0x87},_0x5c6cc5=await _0x279d76(_0x16c8d2);function _0x30c8c6(_0x26cd1c,_0x2d1858,_0x340f87,_0x57ac5c){return _0x475ba1(_0x26cd1c,_0x2d1858-_0x26c16d._0xc31ced,_0x340f87-_0x26c16d._0x4f2cfe,_0x57ac5c-0x1cb);}function _0x2c0b56(_0x500bfa,_0x53f4e6,_0x5cddb1,_0x3e2bf0){return _0x511d68(_0x500bfa-_0x1ff64d._0x59bb86,_0x5cddb1- -_0x1ff64d._0x2e0eda,_0x5cddb1-_0x1ff64d._0x2de4c7,_0x500bfa);}if(!_0x5c6cc5[_0x30c8c6(_0x2846a4._0x4041cd,_0x2846a4._0x195b48,_0x2846a4._0x17a5a1,_0x2846a4._0x8881e0)]())throw new ToolExecutionError(_0x30c8c6(0x85,_0x2846a4._0x785169,0x7e,_0x2846a4._0x5d2ab5)+_0x16c8d2,{'path':_0x16c8d2});}function validatePosition(_0x1b6a89,_0x52dda0){const _0x557677={_0x362770:0x801,_0x16a655:0x80c,_0x15ec8a:0x710,_0x40d7a7:0x84b,_0x4ef8d1:0x489,_0x54ae03:0x480,_0x19f8f9:0x4cc},_0x451b38={_0x5d20b3:0x5d8},_0x378151={_0x36ba4c:0xf6,_0x1f5466:0x14};function _0x512525(_0x308c15,_0x2e0097,_0x30a78a,_0x3ad428){return _0x511d68(_0x308c15-0x147,_0x3ad428- -_0x378151._0x36ba4c,_0x30a78a-_0x378151._0x1f5466,_0x308c15);}if(!Number['isInteger'](_0x1b6a89)||_0x1b6a89<0x1)throw new ToolExecutionError(_0x1e6526(_0x557677._0x362770,0x7e4,0x689,_0x557677._0x16a655),{'line':_0x1b6a89});function _0x1e6526(_0x5ce403,_0x19be01,_0x585555,_0x1b4eb9){return _0x475ba1(_0x585555,_0x1b4eb9-_0x451b38._0x5d20b3,_0x585555-0xf2,_0x1b4eb9-0x1e1);}if(!Number[_0x1e6526(0x842,_0x557677._0x15ec8a,_0x557677._0x40d7a7,0x833)](_0x52dda0)||_0x52dda0<0x1)throw new ToolExecutionError(_0x512525(0x61e,_0x557677._0x4ef8d1,_0x557677._0x54ae03,_0x557677._0x19f8f9),{'character':_0x52dda0});}function createLspTool(_0x189b7a={}){const _0x2fc9c3={_0x567eb2:0x3cd,_0xcfe267:0x14b,_0x3c3b20:0x149,_0x4f8217:0x2c4,_0x177fd0:0x9,_0x5e6d2a:0xd1,_0x3627ef:0xa6,_0x37c2dc:0x135,_0x55a09e:0x249,_0x3d91bd:0x50,_0x375cba:0x2,_0xa04886:0x145,_0x31534c:0x26c,_0x5af64a:0x3ff,_0x5b56e4:0x440,_0x9fada7:0x2de,_0x274b42:0x3b8,_0x28edcc:0x2a8,_0xaf72eb:0x192,_0x34f357:0x15d,_0x20c4a7:0x1ba,_0x1971d1:0xbd,_0x18d0ec:0xb,_0x4049d8:0x15,_0x382402:0x41,_0x411d03:0x9b,_0x4a6aa3:0x7c,_0x6a4e75:0x82,_0x1ed23b:0x32,_0x4e2c4e:0x32,_0x213e32:0x161,_0x4585cf:0x146,_0x28e36e:0x50,_0x3a059e:0xcc,_0x4a28f0:0x3c,_0xb3451b:0x3f5,_0x5191f5:0x3fb,_0x5624ba:0x365,_0xec57a0:0x292},_0x2328b9={_0x1d5d93:0x2ba,_0x271299:0x170,_0x495004:0x52,_0x4bf00b:0x28,_0x577bcd:0x5dd,_0x1c1c0f:0x71e,_0x2b058b:0x5cc,_0x3bc57d:0x138,_0xd5bdaa:0x256,_0x4b7424:0x75f,_0x49e223:0x4b6,_0x28afe3:0x6bb,_0x1b8646:0x712,_0x1de9c8:0x6eb,_0x1e9afe:0x5f1,_0x2ec49f:0x1b4,_0x487ae1:0x1ec,_0x1cd5d8:0x7dd,_0x2c3460:0x589,_0xb6a7a5:0x173,_0x526dc4:0x120,_0x7ca52:0x49d,_0x1829bc:0x4d9,_0x5b3734:0x602,_0x53dbf1:0x4cd,_0x2f9886:0x11a,_0x29d7b3:0x26,_0x57ddf6:0x38,_0xb443c1:0x203,_0x2427a2:0x62,_0x1d118f:0x161,_0x53d8e3:0x46f,_0x1068f5:0x7e8,_0x323424:0x156,_0x3a5196:0xa3,_0x18263f:0xbc,_0xb6c681:0x9,_0x20dfd9:0x45f,_0x1440ce:0x4da,_0x3c4209:0x519,_0x2ca663:0x7c6,_0xf2e567:0x514,_0x1d99d5:0x5f8,_0x52a660:0x58f,_0x5bb737:0x5c6,_0x188857:0x5d3,_0x346fa8:0x26,_0x1c558c:0x2,_0x4c708e:0x626,_0x241552:0x1c0,_0x533abd:0x18c,_0xba01e0:0xf,_0x2e7d2b:0x694},_0x1767cc={_0x1eb403:0xc8,_0x319df7:0x146,_0x49c5c0:0x471},_0x2e7d6e={_0x117b11:0x78,_0x3ba2c7:0x200},_0x26817e={_0x49d985:0x29b},_0x3e0bf8={_0x20b8bf:0xee},_0x44befe=_0x42386[_0x2d9822(0x1cb,0x3cb,_0x2fc9c3._0x567eb2,0x264)](_0x189b7a[_0x2d9822(_0x2fc9c3._0xcfe267,_0x2fc9c3._0x3c3b20,_0x2fc9c3._0x4f8217,0x254)]??process[_0x5cb59e(0x70,_0x2fc9c3._0x177fd0,-_0x2fc9c3._0x5e6d2a,-_0x2fc9c3._0x177fd0)]());function _0x5cb59e(_0xe6c3ee,_0xdc1a09,_0x31ae58,_0x485832){return _0x511d68(_0xe6c3ee-0x1e5,_0xe6c3ee- -0x61a,_0x31ae58-_0x3e0bf8._0x20b8bf,_0xdc1a09);}const _0x376f0f=_0x189b7a[_0x5cb59e(-_0x2fc9c3._0x3627ef,-0xf4,-_0x2fc9c3._0x37c2dc,0x70)]??[];function _0x2d9822(_0x1f79ae,_0x22d53c,_0x10c426,_0x6f762f){return _0x475ba1(_0x22d53c,_0x6f762f-_0x26817e._0x49d985,_0x10c426-0x1d6,_0x6f762f-0x1dc);}const _0x5bfa0f=_0x189b7a['name']??'Lsp';return defineTool({'name':_0x5bfa0f,'description':_0x2d9822(0x4e2,0x4f1,_0x2fc9c3._0x55a09e,0x3a6),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x5cb59e(-_0x2fc9c3._0x3d91bd,-0x148,-0x6d,-_0x2fc9c3._0x375cba),'enum':['goToDefinition',_0x5cb59e(-_0x2fc9c3._0xa04886,-0x1a2,-_0x2fc9c3._0x31534c,0x1c),'hover',_0x2d9822(_0x2fc9c3._0x5af64a,_0x2fc9c3._0x5b56e4,_0x2fc9c3._0x9fada7,0x38f),_0x2d9822(_0x2fc9c3._0x274b42,0x565,_0x2fc9c3._0x28edcc,0x3e2),_0x5cb59e(-_0x2fc9c3._0xaf72eb,-_0x2fc9c3._0x34f357,-_0x2fc9c3._0x20c4a7,-_0x2fc9c3._0x1971d1),_0x5cb59e(_0x2fc9c3._0x18d0ec,_0x2fc9c3._0x4049d8,0xc6,_0x2fc9c3._0x382402),_0x5cb59e(-_0x2fc9c3._0x411d03,0xde,_0x2fc9c3._0x4a6aa3,0x2b),'outgoingCalls','diagnostics']},'filePath':{'type':_0x5cb59e(-0x50,0xba,-0x40,_0x2fc9c3._0x6a4e75)},'line':{'type':_0x5cb59e(-_0x2fc9c3._0x1ed23b,-0x152,-0x119,0xb7)},'character':{'type':_0x5cb59e(-_0x2fc9c3._0x4e2c4e,-_0x2fc9c3._0x213e32,-0x1a5,-_0x2fc9c3._0x4585cf)},'query':{'type':_0x5cb59e(-_0x2fc9c3._0x28e36e,0x33,-_0x2fc9c3._0x3a059e,_0x2fc9c3._0x4a28f0)}},'required':[_0x5cb59e(-0x9c,-0x1,-0x96,0xc0),'filePath',_0x2d9822(0x417,_0x2fc9c3._0xb3451b,_0x2fc9c3._0x5191f5,0x31b),_0x2d9822(0x383,_0x2fc9c3._0x5624ba,0x3e2,_0x2fc9c3._0xec57a0)]},async *'execute'(_0x3fc2a0){const _0x187684=_0x189b7a['lspService'];if(!_0x187684)throw new ToolExecutionError(_0x1015d6(-_0x2328b9._0x1d5d93,-_0x2328b9._0x271299,-0x1fc,-0x1a3));if(!_0x187684[_0x1015d6(_0x2328b9._0x495004,0x85,-0x82,_0x2328b9._0x4bf00b)]())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x3f121d=_0x3fc2a0[_0x183dd(0x4d3,_0x2328b9._0x577bcd,_0x2328b9._0x1c1c0f,_0x2328b9._0x2b058b)];validatePosition(_0x3fc2a0[_0x1015d6(-_0x2328b9._0x3bc57d,-0x171,-_0x2328b9._0xd5bdaa,-0x156)],_0x3fc2a0['character']);if(_0x3f121d===_0x183dd(_0x2328b9._0x4b7424,0x6bc,_0x2328b9._0x49e223,0x5e2)){if(!_0x3fc2a0[_0x183dd(_0x2328b9._0x28afe3,_0x2328b9._0x1b8646,0x74b,_0x2328b9._0x1de9c8)]?.[_0x183dd(0x67f,_0x2328b9._0x1e9afe,0x4ac,0x5c1)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x433509=await _0x187684[_0x1015d6(-_0x2328b9._0x2ec49f,0x94,-_0x2328b9._0x487ae1,-0x8f)](_0x3fc2a0[_0x183dd(0x621,0x6d6,_0x2328b9._0x1cd5d8,0x6eb)][_0x183dd(_0x2328b9._0x2c3460,0x5f3,0x69a,0x5c1)]());return yield createToolOutput(formatSymbols(_0x433509),{'operation':_0x3f121d,'query':_0x3fc2a0[_0x1015d6(0x19d,_0x2328b9._0xb6a7a5,0x72,0x7a)],'symbols':_0x433509}),void 0x0;}const _0x245a84=resolveAllowedPath(_0x44befe,_0x376f0f,_0x3fc2a0[_0x1015d6(-_0x2328b9._0x526dc4,0xb5,-0xef,-0x38)]);function _0x183dd(_0x5a53c7,_0xa029f9,_0x164285,_0x2a5632){return _0x2d9822(_0x5a53c7-_0x2e7d6e._0x117b11,_0x164285,_0x164285-0x1bb,_0x2a5632-_0x2e7d6e._0x3ba2c7);}await assertFile(_0x245a84);if(!await _0x187684[_0x183dd(0x73b,_0x2328b9._0x7ca52,_0x2328b9._0x1829bc,_0x2328b9._0x5b3734)](_0x245a84))throw new ToolExecutionError(_0x183dd(0x61d,_0x2328b9._0x53dbf1,0x55a,0x648)+_0x3fc2a0['filePath'],{'filePath':_0x3fc2a0[_0x1015d6(-_0x2328b9._0x2f9886,-0x52,_0x2328b9._0x29d7b3,-_0x2328b9._0x57ddf6)]});function _0x1015d6(_0x41bbc0,_0xdd548c,_0xdce94a,_0x542a49){return _0x2d9822(_0x41bbc0-_0x1767cc._0x1eb403,_0x41bbc0,_0xdce94a-_0x1767cc._0x319df7,_0x542a49- -_0x1767cc._0x49c5c0);}await _0x187684['touchFile'](_0x245a84,!![]);const _0xc12566={'file':_0x245a84,'line':_0x3fc2a0[_0x1015d6(-_0x2328b9._0xb443c1,-0x275,-0x168,-0x156)]-0x1,'character':_0x3fc2a0[_0x1015d6(-0x7c,-0xe1,-_0x2328b9._0x2427a2,-0x1df)]-0x1};switch(_0x3f121d){case'hover':{const _0xebef98=await _0x187684[_0x1015d6(-0x212,-_0x2328b9._0x1d118f,-0x30e,-0x1dd)](_0xc12566);return yield createToolOutput(formatHover(_0xebef98),{'operation':_0x3f121d,'filePath':_0x245a84,'hover':_0xebef98}),void 0x0;}case'diagnostics':{const _0x7f37aa=await _0x187684[_0x183dd(_0x2328b9._0x53d8e3,0x5c7,0x5a9,0x455)](_0x245a84);return yield createToolOutput(formatDiagnostics(_0x7f37aa),{'operation':_0x3f121d,'filePath':_0x245a84,'diagnostics':_0x7f37aa}),void 0x0;}case _0x183dd(0x5bb,_0x2328b9._0x1068f5,0x5cd,0x676):{const _0x5378b2=await _0x187684[_0x1015d6(-_0x2328b9._0x323424,-_0x2328b9._0x3a5196,-_0x2328b9._0x18263f,-_0x2328b9._0xb6c681)](_0xc12566);return yield createToolOutput(formatLocations(_0x5378b2),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x5378b2}),void 0x0;}case _0x183dd(_0x2328b9._0x20dfd9,0x5fe,_0x2328b9._0x1440ce,0x523):{const _0x413071=await _0x187684[_0x183dd(_0x2328b9._0x3c4209,0x5cb,_0x2328b9._0x2ca663,0x64a)](_0xc12566);return yield createToolOutput(formatLocations(_0x413071),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x413071}),void 0x0;}case'goToImplementation':{const _0x4738b9=await _0x187684['implementation'](_0xc12566);return yield createToolOutput(formatLocations(_0x4738b9),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x4738b9}),void 0x0;}case _0x183dd(_0x2328b9._0xf2e567,_0x2328b9._0x1d99d5,0x57d,_0x2328b9._0x52a660):{const _0x16abfd=await _0x187684[_0x183dd(_0x2328b9._0x5bb737,0x5f2,_0x2328b9._0x188857,0x58f)](_0x245a84);return yield createToolOutput(formatSymbols(_0x16abfd),{'operation':_0x3f121d,'filePath':_0x245a84,'symbols':_0x16abfd}),void 0x0;}case _0x1015d6(-0x106,_0x2328b9._0x346fa8,0x14a,0x2):{const _0x2dd3cb=await _0x187684[_0x1015d6(0x14,0x2d,-0x90,_0x2328b9._0x1c558c)](_0xc12566);return yield createToolOutput(formatSymbols(_0x2dd3cb),{'operation':_0x3f121d,'filePath':_0x245a84,'symbols':toStructured(_0x2dd3cb)}),void 0x0;}case _0x183dd(0x647,_0x2328b9._0x4c708e,0x4ad,0x5cd):{const _0x420656=await _0x187684[_0x1015d6(0xb8,-_0x2328b9._0x241552,-0x202,-0xa4)](_0xc12566);return yield createToolOutput(formatIncomingCalls(_0x420656),{'operation':_0x3f121d,'filePath':_0x245a84,'calls':toStructured(_0x420656)}),void 0x0;}case _0x1015d6(-0x10b,_0x2328b9._0x533abd,_0x2328b9._0xba01e0,0x6e):{const _0x16c7ac=await _0x187684[_0x183dd(0x863,_0x2328b9._0x2e7d2b,0x6b2,0x6df)](_0xc12566);return yield createToolOutput(formatOutgoingCalls(_0x16c7ac),{'operation':_0x3f121d,'filePath':_0x245a84,'calls':toStructured(_0x16c7ac)}),void 0x0;}}}});}import{randomUUID as _0x311310}from'crypto';import{mkdir as _0x26bc97,readFile as _0x4d9f92,writeFile as _0x545c63}from'fs/promises';import{join as _0x2e1fbf}from'path';function sanitizeStorageKey(_0x57407a){const _0x1cf4ff={_0x341954:0x574,_0xc9b95c:0x517,_0x1c60d3:0x39e,_0x3581eb:0x35d,_0x269edc:0x408},_0x6dc13c={_0x152153:0xff};function _0x21f88b(_0x243506,_0x40d20f,_0x29facf,_0x3fda61){return _0x511d68(_0x243506-0xc2,_0x29facf- -0x83,_0x29facf-_0x6dc13c._0x152153,_0x40d20f);}function _0x49eff1(_0x1e295a,_0x3680a6,_0x247f8b,_0xb57d15){return _0x475ba1(_0x3680a6,_0x1e295a-0x4ae,_0x247f8b-0x1da,_0xb57d15-0x44);}return _0x57407a[_0x49eff1(0x49f,0x4bd,_0x1cf4ff._0x341954,0x32d)](/[^a-zA-Z0-9_]+/g,'_')[_0x21f88b(0x41d,_0x1cf4ff._0xc9b95c,0x3bb,_0x1cf4ff._0x1c60d3)](/^_+|_+$/g,'')||_0x49eff1(0x4ca,_0x1cf4ff._0x3581eb,0x627,_0x1cf4ff._0x269edc);}function storagePath(_0x415bf9){const _0x4fe508={_0x3fd877:0x231,_0x28a648:0x2f0,_0x5289b9:0x18e,_0x211825:0x3c4,_0xb77bcc:0x111,_0x40804e:0x122,_0x28eb60:0x68,_0x1b63d7:0x312,_0x5dc711:0x352},_0x1a8d0d={_0x409f8b:0xc9},_0x4fdf3c={_0x575eb3:0x4d2,_0x5bf641:0x1bb};function _0x4c9ffe(_0x6c8085,_0x44f70b,_0x21a55a,_0x4382fb){return _0x511d68(_0x6c8085-0x154,_0x4382fb- -_0x4fdf3c._0x575eb3,_0x21a55a-_0x4fdf3c._0x5bf641,_0x6c8085);}function _0x2e8e02(_0x43e617,_0x217590,_0x173b09,_0x10bac9){return _0x475ba1(_0x217590,_0x10bac9-0x197,_0x173b09-0x10a,_0x10bac9-_0x1a8d0d._0x409f8b);}const _0x24edd6=sanitizeStorageKey(_0x415bf9[_0x4c9ffe(0x251,_0x4fe508._0x3fd877,_0x4fe508._0x28a648,_0x4fe508._0x5289b9)][_0x2e8e02(0x48f,0x3b4,0x374,_0x4fe508._0x211825)]?.[_0x4c9ffe(_0x4fe508._0xb77bcc,_0x4fe508._0x40804e,0x91,_0x4fe508._0x28eb60)]??_0x415bf9['serverName']);return _0x2e1fbf(_0x415bf9[_0x2e8e02(0x252,0x1ed,0x2e9,_0x4fe508._0x1b63d7)],_0x24edd6+_0x2e8e02(_0x4fe508._0x5dc711,0x49d,0x514,0x3d3));}async function readStore(_0xc6cabb){const _0x46b7e8={_0x8f851:0x126,_0x5e34aa:0x356,_0x75dfbd:0x50,_0x25da44:0xf,_0x3ca604:0x10e,_0x670133:0x1b2,_0x2e18db:0x2,_0x3e8723:0x74},_0x3a7a0d={_0x4ce584:0x25,_0x17f766:0x3a1},_0x107d67={_0x4377ad:0x81};function _0x47a901(_0x446e1e,_0x39ccdd,_0x547aa7,_0x3a88f6){return _0x475ba1(_0x446e1e,_0x3a88f6- -_0x107d67._0x4377ad,_0x547aa7-0xb7,_0x3a88f6-0x162);}function _0x5a4899(_0x278675,_0xf7b8a4,_0x524c97,_0x3faf4f){return _0x511d68(_0x278675-_0x3a7a0d._0x4ce584,_0x3faf4f- -_0x3a7a0d._0x17f766,_0x524c97-0xb8,_0x278675);}try{return JSON[_0x47a901(0x170,_0x46b7e8._0x8f851,_0x46b7e8._0x5e34aa,0x20b)](await _0x4d9f92(_0xc6cabb,'utf8'));}catch(_0x50ae5a){if(_0x50ae5a instanceof Error&&'code'in _0x50ae5a&&_0x50ae5a[_0x47a901(-_0x46b7e8._0x75dfbd,-_0x46b7e8._0x25da44,-_0x46b7e8._0x3ca604,-0x23)]===_0x5a4899(_0x46b7e8._0x670133,_0x46b7e8._0x2e18db,0x57,_0x46b7e8._0x3e8723))return{};throw _0x50ae5a;}}async function writeStore(_0x58a05c,_0x35b173){const _0x5a1aff={_0x55c91c:0x385};function _0x3f36ba(_0x51ee35,_0x135c0e,_0x1df163,_0x11b5ec){return _0x475ba1(_0x1df163,_0x11b5ec-0x1e8,_0x1df163-0x176,_0x11b5ec-0x1a6);}await _0x26bc97(_0x2e1fbf(_0x58a05c,'..'),{'recursive':!![]}),await _0x545c63(_0x58a05c,JSON['stringify'](_0x35b173,null,0x2),_0x3f36ba(0x248,0x2df,_0x5a1aff._0x55c91c,0x3c9));}async function updateStore(_0x146938,_0x13b6af){const _0x4dbe11=await readStore(_0x146938);_0x13b6af(_0x4dbe11),await writeStore(_0x146938,_0x4dbe11);}function createMcpOAuthProvider(_0x2ab74e){const _0x106b15={_0x1f7a4f:0x30,_0x2588bf:0x114,_0x15ee41:0x31a,_0x952811:0x2bf,_0x38bb59:0x2b4,_0x32bc93:0x19b,_0x3c653f:0x2ab,_0x396c6a:0x20c,_0x455b2e:0x1a3,_0x16b21e:0x1aa,_0x288878:0x5a,_0x21b206:0x1cd,_0x11a5b1:0xd3,_0x439202:0xa1},_0x42a9e4={_0x586c45:0x401},_0x5b3dd4={_0xe593d8:0x437,_0x6eb44e:0x5fa,_0x1301ef:0x6aa,_0x5782c1:0x220,_0x2ee1be:0x112,_0x132e6f:0x170,_0x5ba993:0x14,_0x32e46a:0x2a5,_0x2cbb00:0x1c7,_0x42dbc8:0x1f6,_0x3e5710:0x51,_0x1e0eac:0x48,_0x35f015:0x6c9,_0x12c2ad:0x3ef,_0x31c7e9:0x55a,_0xe542a4:0x2d2,_0x421e3b:0x371,_0x2be9de:0x275},_0x41f4eb={_0x2e24d6:0x1f1,_0x5b5ccf:0x230,_0x385237:0x2c9},_0x2d3293={_0x2c3b98:0x187,_0x2649ef:0x16d,_0x47a4e7:0x267},_0x38e704={_0x482a2b:0x4a9,_0x3879e9:0x501},_0x389fac={_0x20e250:0x5b9,_0x13f9a1:0x538},_0x5ef74a={_0x5a5bad:0x123},_0x41a28a={_0x1df836:0x57c},_0x3be9fd={_0x4cdf83:0x1e2,_0x557531:0x100},_0x39d744={_0xb98dbd:0xae,_0x65104d:0x182},_0xa8b67={_0xab2bce:0x1be},_0x2921f8={_0x22c86c:0x2af,_0x41e5cc:0xf6},_0x51102b={_0x5e1f7b:0x1d9,_0x3933ab:0x22a,_0x3199ef:0x322},_0x2f6204={_0x554b9d:0x54c,_0x2048ce:0x1ab},_0x2a3a2d={_0x51c6ad:0x45,_0x14b9ef:0x360};function _0x1fe42a(_0xec83bd,_0x5926c5,_0x11d83c,_0x527889){return _0x511d68(_0xec83bd-_0x2a3a2d._0x51c6ad,_0xec83bd- -_0x2a3a2d._0x14b9ef,_0x11d83c-0xc0,_0x5926c5);}const _0x5e9762=storagePath(_0x2ab74e),_0x200287=_0x2ab74e[_0x389ed3(0x190,-_0x106b15._0x1f7a4f,0x2e,_0x106b15._0x2588bf)][_0x1fe42a(_0x106b15._0x15ee41,0x49c,_0x106b15._0x952811,_0x106b15._0x38bb59)]?.[_0x1fe42a(_0x106b15._0x32bc93,0xcc,_0x106b15._0x3c653f,0x129)]?.[_0x389ed3(0x21a,_0x106b15._0x396c6a,_0x106b15._0x455b2e,_0x106b15._0x16b21e)]('\x20');function _0x389ed3(_0xe863c,_0x63aeb9,_0x3fda52,_0x27028c){return _0x511d68(_0xe863c-0xe8,_0x27028c- -_0x2f6204._0x554b9d,_0x3fda52-_0x2f6204._0x2048ce,_0x63aeb9);}const _0x5bbfdc={'client_name':'Nuvin','redirect_uris':[_0x2ab74e[_0x389ed3(-0xe0,-0xbf,0x196,_0x106b15._0x288878)]],'grant_types':['authorization_code','refresh_token'],'response_types':[_0x389ed3(-_0x106b15._0x21b206,-_0x106b15._0x11a5b1,-0x133,-_0x106b15._0x439202)],'token_endpoint_auth_method':_0x1fe42a(0x294,0x13b,0x3fd,0x1f2),..._0x200287?{'scope':_0x200287}:{}};return{'clientMetadataUrl':_0x2ab74e['config']['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){return _0x2ab74e['callbackUrl'];},get 'clientMetadata'(){return _0x5bbfdc;},async 'state'(){const _0x42ff76={_0x1faaa4:0xd7,_0x29d0dc:0x84,_0x1bfe27:0x1ed},_0x2c8f2b=await readStore(_0x5e9762);if(_0x2c8f2b['state'])return _0x2c8f2b[_0x5e3216(_0x51102b._0x5e1f7b,_0x51102b._0x3933ab,0x1e1,_0x51102b._0x3199ef)];function _0x5e3216(_0x4bcfee,_0x415d48,_0x3812c8,_0x16f925){return _0x1fe42a(_0x3812c8- -_0x42ff76._0x1faaa4,_0x4bcfee,_0x3812c8-_0x42ff76._0x29d0dc,_0x16f925-_0x42ff76._0x1bfe27);}const _0x3ce0a9=_0x311310();return await updateStore(_0x5e9762,_0x2b3a99=>{_0x2b3a99['state']=_0x3ce0a9;}),_0x3ce0a9;},async 'clientInformation'(){function _0x7166e0(_0x7bfaf6,_0x2774df,_0x34d832,_0x3b8bea){return _0x1fe42a(_0x2774df- -_0x2921f8._0x22c86c,_0x3b8bea,_0x34d832-_0x2921f8._0x41e5cc,_0x3b8bea-0x33);}return(await readStore(_0x5e9762))[_0x7166e0(-_0xa8b67._0xab2bce,-0x4e,0xbd,-0xc2)];},async 'saveClientInformation'(_0x3313fb){await updateStore(_0x5e9762,_0x5a7c03=>{function _0x5e6ef7(_0x6817c4,_0x3503d4,_0x19e179,_0x38a8fd){return _0x4a14(_0x3503d4- -0x2c1,_0x19e179);}_0x5a7c03[_0x5e6ef7(-0x3a,_0x39d744._0xb98dbd,_0x39d744._0x65104d,0x1c9)]=_0x3313fb;});},async 'tokens'(){function _0x30e6f7(_0x9adc2e,_0x51d3b5,_0x59363c,_0x696e2b){return _0x389ed3(_0x9adc2e-_0x3be9fd._0x4cdf83,_0x51d3b5,_0x59363c-_0x3be9fd._0x557531,_0x9adc2e-0x3f6);}return(await readStore(_0x5e9762))[_0x30e6f7(0x48a,0x4e2,0x550,_0x41a28a._0x1df836)];},async 'saveTokens'(_0x29420c){const _0x4800bb={_0x2d3a41:0x8b,_0x104b9c:0x60};await updateStore(_0x5e9762,_0x448585=>{const _0x16bf97={_0x7f7658:0x303};function _0x24d377(_0x3a0ee8,_0x298531,_0x1604b6,_0x25dfe3){return _0x4a14(_0x3a0ee8- -_0x16bf97._0x7f7658,_0x1604b6);}_0x448585[_0x24d377(_0x4800bb._0x2d3a41,0x1a0,-0x6b,_0x4800bb._0x104b9c)]=_0x29420c;});},async 'redirectToAuthorization'(_0x19a081){function _0x35269d(_0x462c90,_0xd72047,_0x53a766,_0x43db63){return _0x389ed3(_0x462c90-0xae,_0x462c90,_0x53a766-_0x5ef74a._0x5a5bad,_0x43db63-0x37c);}await _0x2ab74e[_0x35269d(_0x389fac._0x20e250,0x5a2,0x583,_0x389fac._0x13f9a1)](_0x19a081);},async 'saveCodeVerifier'(_0x345bf5){await updateStore(_0x5e9762,_0x1893a4=>{function _0x49c84e(_0x4bd4ce,_0x4f25e9,_0x1e727e,_0x1a6979){return _0x4a14(_0x1e727e-0x389,_0x1a6979);}_0x1893a4[_0x49c84e(_0x38e704._0x482a2b,_0x38e704._0x3879e9,0x5ed,0x728)]=_0x345bf5;});},async 'codeVerifier'(){const _0x33c0cc={_0x47d328:0x191,_0x45b766:0x287},_0x24c6e6=(await readStore(_0x5e9762))[_0x3085fe(0xe3,_0x41f4eb._0x2e24d6,0x2a7,0x12e)];function _0x16a344(_0x88a4af,_0x268402,_0x4caa4d,_0x4f25d9){return _0x389ed3(_0x88a4af-_0x2d3293._0x2c3b98,_0x88a4af,_0x4caa4d-_0x2d3293._0x2649ef,_0x4f25d9-_0x2d3293._0x47a4e7);}function _0x3085fe(_0x3ea4f9,_0x8ff66,_0x359980,_0x52ebe3){return _0x389ed3(_0x3ea4f9-_0x33c0cc._0x47d328,_0x359980,_0x359980-0x181,_0x8ff66-_0x33c0cc._0x45b766);}if(!_0x24c6e6)throw new Error(_0x3085fe(0x121,_0x41f4eb._0x5b5ccf,_0x41f4eb._0x385237,0x20c));return _0x24c6e6;},async 'invalidateCredentials'(_0x239c4d){await updateStore(_0x5e9762,_0x5c4e7c=>{(_0x239c4d===_0x2092af(0x4c2,0x562,0x55a,_0x5b3dd4._0xe593d8)||_0x239c4d===_0x2092af(_0x5b3dd4._0x6eb44e,0x51e,0x58c,_0x5b3dd4._0x1301ef))&&(_0x5c4e7c[_0x21a6b6(0x1db,0xb6,0x12c,_0x5b3dd4._0x5782c1)]=void 0x0);(_0x239c4d===_0x21a6b6(-_0x5b3dd4._0x2ee1be,_0x5b3dd4._0x132e6f,_0x5b3dd4._0x5ba993,-0xf4)||_0x239c4d===_0x21a6b6(0x1bf,_0x5b3dd4._0x32e46a,0x14b,0x277))&&(_0x5c4e7c['tokens']=void 0x0);function _0x21a6b6(_0x2f4f7b,_0xd00dbb,_0x1a1777,_0x347a7a){return _0x4a14(_0x1a1777- -0x243,_0x2f4f7b);}function _0x2092af(_0x412340,_0x1cab71,_0x4f7a18,_0x53bef4){return _0x4a14(_0x4f7a18-0x303,_0x412340);}(_0x239c4d===_0x2092af(0x594,0x48f,0x55a,0x591)||_0x239c4d===_0x21a6b6(_0x5b3dd4._0x2cbb00,0x12b,_0x5b3dd4._0x42dbc8,0x2f5))&&(_0x5c4e7c[_0x21a6b6(0x92,-_0x5b3dd4._0x3e5710,0x21,-_0x5b3dd4._0x1e0eac)]=void 0x0,_0x5c4e7c[_0x2092af(0x66b,0x7c9,_0x5b3dd4._0x35f015,0x6a8)]=void 0x0),(_0x239c4d===_0x2092af(_0x5b3dd4._0x12c2ad,0x4e5,_0x5b3dd4._0x31c7e9,0x448)||_0x239c4d===_0x21a6b6(_0x5b3dd4._0xe542a4,_0x5b3dd4._0x421e3b,_0x5b3dd4._0x2be9de,0x1a7))&&(_0x5c4e7c[_0x2092af(0x46f,0x41a,0x584,0x52c)]=void 0x0);});},async 'saveDiscoveryState'(_0x32d882){const _0x44a27f={_0x150098:0x17d};await updateStore(_0x5e9762,_0x1ca06e=>{function _0xd72bd8(_0x2f7390,_0x1061c3,_0x76da32,_0x481085){return _0x4a14(_0x1061c3- -0x218,_0x76da32);}_0x1ca06e[_0xd72bd8(0x1ab,0x69,_0x44a27f._0x150098,0x168)]=_0x32d882;});},async 'discoveryState'(){const _0x2ccb6b={_0xa253ea:0xcd};function _0x4f1285(_0x5db514,_0x148a25,_0x462fd8,_0x274311){return _0x389ed3(_0x5db514-_0x2ccb6b._0xa253ea,_0x462fd8,_0x462fd8-0xf9,_0x5db514-0x3d6);}return(await readStore(_0x5e9762))[_0x4f1285(0x35d,_0x42a9e4._0x586c45,0x2dc,0x389)];}};}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(_0x3333e0,_0x15c8b5){const _0x49cdee={_0xfe194f:0x2cb,_0x236bda:0x3a3},_0x5a2baa={_0x5373f4:0x79},_0xd7a735={_0x3d7a8d:0x150,_0x46f408:0x413,_0x46c4f9:0x129};function _0x598803(_0x4a848d,_0x1a22de,_0x3ace9f,_0xbddaaf){return _0x511d68(_0x4a848d-_0xd7a735._0x3d7a8d,_0x4a848d- -_0xd7a735._0x46f408,_0x3ace9f-_0xd7a735._0x46c4f9,_0x1a22de);}const _0x33c91e=_0x1290e1=>_0x1290e1['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x598803(0x2b,-0xe,0x17f,-0x6f)](/^_+|_+$/g,'');function _0x37d8ed(_0x435552,_0x327263,_0x343ab0,_0x30b800){return _0x475ba1(_0x327263,_0x30b800-0x64,_0x343ab0-0xa7,_0x30b800-_0x5a2baa._0x5373f4);}return _0x598803(_0x49cdee._0xfe194f,0x30c,0x32a,_0x49cdee._0x236bda)+_0x33c91e(_0x3333e0)+'_'+_0x33c91e(_0x15c8b5);}function isObject(_0x53e660){const _0x579fd7={_0x380896:0x31,_0x7ad5cf:0x10c,_0x5ec4f9:0x14b},_0x14caf3={_0x2a13ac:0xbb,_0x5044c8:0x155};function _0xb104b1(_0x3cda7c,_0x27ade7,_0x49e4be,_0x117885){return _0x475ba1(_0x49e4be,_0x3cda7c- -_0x14caf3._0x2a13ac,_0x49e4be-_0x14caf3._0x5044c8,_0x117885-0x132);}return typeof _0x53e660==='object'&&_0x53e660!==null&&!Array[_0xb104b1(_0x579fd7._0x380896,_0x579fd7._0x7ad5cf,0x54,-_0x579fd7._0x5ec4f9)](_0x53e660);}function toSupportedSchema(_0x3baa58){const _0x14f99f={_0x4843e2:0x113,_0x575cc0:0x31c,_0x3fb433:0x1f4,_0x5a9c55:0x66e,_0x552c62:0x6be,_0x352f51:0x27f,_0x21d348:0x1b7,_0x4ae9f5:0x207,_0x187989:0x2b9,_0x5a45bd:0x24f,_0x5c2b43:0x4b9,_0x5e35ca:0x426,_0x3cc559:0x3ba,_0x23263b:0x301,_0x2889c4:0x20d,_0x4d3e14:0x3aa,_0x494f7e:0x29d,_0x54dd28:0x3e4,_0x2974ea:0x34b,_0x42c015:0x363,_0x140171:0x145,_0x58f101:0x2b3,_0x87ab8:0x26a,_0x2c0dad:0x489,_0x6abc73:0x5df,_0x449cd3:0x706,_0x291daa:0x3dd,_0x2759db:0x658},_0x1df6e2={_0x9a4dce:0x447,_0x578cdd:0x1bf},_0x1d0f8d={_0x2006cd:0xe4,_0x4119b3:0x112,_0x2885b7:0x1cf};if(!isObject(_0x3baa58))return void 0x0;if(_0x3baa58['type']===_0x555cfb(0x261,_0x14f99f._0x4843e2,_0x14f99f._0x575cc0,_0x14f99f._0x3fb433))return{'type':'string'};if(_0x3baa58[_0xe811cc(0x61c,_0x14f99f._0x5a9c55,_0x14f99f._0x552c62,0x4a4)]===_0x555cfb(_0x14f99f._0x352f51,_0x14f99f._0x21d348,_0x14f99f._0x4ae9f5,0x342)||_0x3baa58[_0x555cfb(_0x14f99f._0x187989,0x1c1,_0x14f99f._0x5a45bd,0x2a5)]===_0xe811cc(_0x14f99f._0x5c2b43,_0x14f99f._0x5e35ca,0x431,_0x14f99f._0x3cc559))return{'type':_0x555cfb(_0x14f99f._0x352f51,_0x14f99f._0x23263b,_0x14f99f._0x2889c4,_0x14f99f._0x4d3e14)};function _0x555cfb(_0x14593b,_0x8cd7eb,_0xc97079,_0x4c9157){return _0x475ba1(_0xc97079,_0x14593b-_0x1d0f8d._0x2006cd,_0xc97079-_0x1d0f8d._0x4119b3,_0x4c9157-_0x1d0f8d._0x2885b7);}if(_0x3baa58['type']===_0x555cfb(_0x14f99f._0x494f7e,_0x14f99f._0x54dd28,_0x14f99f._0x2974ea,_0x14f99f._0x42c015))return{'type':'boolean'};function _0xe811cc(_0x26499e,_0x44349e,_0x2c3f44,_0x1242fd){return _0x475ba1(_0x1242fd,_0x26499e-_0x1df6e2._0x9a4dce,_0x2c3f44-0x2e,_0x1242fd-_0x1df6e2._0x578cdd);}if(_0x3baa58['type']===_0x555cfb(0x27c,_0x14f99f._0x140171,0x24d,0x274))return{'type':'array','items':toSupportedSchema(_0x3baa58[_0x555cfb(_0x14f99f._0x58f101,0x161,0x282,_0x14f99f._0x87ab8)])??{'type':_0xe811cc(0x5c4,_0x14f99f._0x2c0dad,_0x14f99f._0x6abc73,_0x14f99f._0x449cd3)}};if(_0x3baa58[_0x555cfb(0x2b9,0x30b,0x40e,_0x14f99f._0x291daa)]===_0xe811cc(0x60d,_0x14f99f._0x2759db,0x4f1,0x607))return toNuvinToolSchema(_0x3baa58);return void 0x0;}function toNuvinToolSchema(_0x608ab3){const _0x167400={_0x52acfc:0x2cf,_0x702c1c:0x414,_0x3e8259:0x34c,_0x453067:0x405,_0x3b8823:0x590,_0x39fd86:0x4c1,_0x44cb07:0x3d3,_0x307f01:0x482,_0x4bd2e1:0x3e3,_0x1976e6:0x56e,_0x273fb1:0x4b4,_0x410cf6:0x24f,_0x1b8f8b:0x3be,_0x5da62c:0x3d0,_0x26f54b:0x2b8,_0x8fe9e5:0x4d0,_0x540b60:0x36e,_0x1cc877:0x581,_0xba2012:0x51e,_0x25fd87:0x4d5},_0x1e1195={_0x581a71:0x109},_0x24d53c={_0x59604:0x13f};if(!isObject(_0x608ab3)||_0x608ab3[_0x29e97d(_0x167400._0x52acfc,0x3a1,0x2d5,_0x167400._0x702c1c)]!==_0x29e97d(_0x167400._0x3e8259,0x28f,0x55c,_0x167400._0x453067))return{'type':'object','properties':{}};const _0x2b3bbb={},_0x416f91=isObject(_0x608ab3[_0x55a698(_0x167400._0x3b8823,0x6a1,0x552,0x44a)])?_0x608ab3[_0x55a698(0x3d3,_0x167400._0x39fd86,0x552,0x408)]:{};for(const [_0x402be6,_0xfd1d59]of Object[_0x55a698(0x375,0x523,0x46a,_0x167400._0x44cb07)](_0x416f91)){const _0x142a27=toSupportedSchema(_0xfd1d59);if(_0x142a27)_0x2b3bbb[_0x402be6]=_0x142a27;}function _0x55a698(_0x4cc86f,_0x43340c,_0xd75324,_0x256a7a){return _0x475ba1(_0x43340c,_0xd75324-0x30f,_0xd75324-_0x24d53c._0x59604,_0x256a7a-0x19b);}const _0x1992b5=Array['isArray'](_0x608ab3[_0x55a698(0x4af,_0x167400._0x307f01,0x584,0x476)])?_0x608ab3[_0x29e97d(0x455,_0x167400._0x4bd2e1,_0x167400._0x1976e6,_0x167400._0x273fb1)]['filter'](_0xf21b0b=>typeof _0xf21b0b===_0x29e97d(0x47e,0x488,0x3d0,0x3bc)):void 0x0;function _0x29e97d(_0x5023b6,_0x1752ef,_0x272046,_0x3cc6fe){return _0x475ba1(_0x5023b6,_0x3cc6fe-0x23f,_0x272046-0x6,_0x3cc6fe-_0x1e1195._0x581a71);}return _0x1992b5?.[_0x55a698(_0x167400._0x410cf6,_0x167400._0x1b8f8b,_0x167400._0x5da62c,_0x167400._0x26f54b)]?{'type':_0x55a698(_0x167400._0x8fe9e5,_0x167400._0x540b60,0x4d5,0x3a7),'properties':_0x2b3bbb,'required':_0x1992b5}:{'type':_0x55a698(_0x167400._0x1cc877,_0x167400._0xba2012,_0x167400._0x25fd87,0x436),'properties':_0x2b3bbb};}function isJsonObject(_0x215a7e){const _0x1c2e07={_0x1cafde:0x17a},_0x59592f={_0x5e7f5b:0x1b6,_0x40d776:0xf};function _0xd57a43(_0x3bb615,_0x45e586,_0xbf5bd,_0x31d701){return _0x511d68(_0x3bb615-_0x59592f._0x5e7f5b,_0xbf5bd- -0x32c,_0xbf5bd-_0x59592f._0x40d776,_0x31d701);}return typeof _0x215a7e===_0xd57a43(0x1e2,_0x1c2e07._0x1cafde,0x2e7,0x18f)&&_0x215a7e!==null&&!Array['isArray'](_0x215a7e);}function formatMcpContent(_0x4479be){const _0x4f1118={_0x52ccdc:0x2b0,_0x2d72d5:0x83,_0x790d90:0x325,_0x74a9d8:0x15b,_0x185487:0x1ff,_0xb8856b:0x2a0,_0x14ef80:0x2b7,_0x15fa4a:0x362,_0x2d9d1e:0x3fc},_0x2cbf5c={_0x3ba26f:0x2e3,_0x2d0367:0x150},_0x40d620={_0x2c5156:0x32f,_0x59c0fd:0x497,_0x543e72:0x299,_0x146af7:0x14d,_0x1a2a54:0x391,_0x576c7b:0x38b,_0x5272bb:0x2fe,_0x57410e:0x3d7,_0x406721:0x28e,_0x8b1a3f:0x269},_0x1d96d0={_0x3643e3:0xee,_0x2a8919:0xed,_0x168703:0x1b9},_0x4559d1={_0x8b61c9:0x32e},_0x5b878a=Array['isArray'](_0x4479be[_0x1aa696(_0x4f1118._0x52ccdc,0x1ff,_0x4f1118._0x2d72d5,_0x4f1118._0x790d90)])?_0x4479be[_0x1aa696(_0x4f1118._0x74a9d8,_0x4f1118._0x185487,0x1e5,0x18c)]:[];function _0x1897a8(_0x3ddabd,_0x20cd5c,_0x1afc60,_0x500ada){return _0x475ba1(_0x1afc60,_0x3ddabd-_0x4559d1._0x8b61c9,_0x1afc60-0x160,_0x500ada-0xde);}const _0x4e4c23=_0x5b878a['map'](_0x242eb7=>{function _0x36508e(_0x11ce27,_0x19fcc6,_0x3ca501,_0xe2504d){return _0x1aa696(_0x11ce27-0x6f,_0x11ce27- -0xb5,_0x3ca501-0x160,_0x3ca501);}function _0x5356cc(_0x53b185,_0x32b3dc,_0x53f45c,_0x3768dc){return _0x1897a8(_0x32b3dc- -_0x1d96d0._0x3643e3,_0x32b3dc-_0x1d96d0._0x2a8919,_0x53b185,_0x3768dc-_0x1d96d0._0x168703);}if(!isObject(_0x242eb7))return'';if(_0x242eb7[_0x5356cc(_0x40d620._0x2c5156,0x415,_0x40d620._0x59c0fd,_0x40d620._0x543e72)]===_0x5356cc(0x4b3,0x3a5,0x3dc,0x454)&&typeof _0x242eb7[_0x36508e(0x21a,_0x40d620._0x146af7,_0x40d620._0x1a2a54,_0x40d620._0x576c7b)]===_0x36508e(0x232,0x1bc,0x20a,_0x40d620._0x5272bb))return _0x242eb7[_0x5356cc(_0x40d620._0x57410e,0x3a5,0x3bd,_0x40d620._0x406721)];return JSON[_0x36508e(0x2c9,_0x40d620._0x8b1a3f,0x419,0x17c)](_0x242eb7);})['filter'](_0x4b3837=>_0x4b3837[_0x1897a8(0x3ef,0x554,0x281,0x547)]>0x0)[_0x1aa696(0x40d,0x413,_0x4f1118._0xb8856b,_0x4f1118._0x14ef80)]('\x0a');function _0x1aa696(_0x4d733d,_0x56af92,_0x589868,_0x31b166){return _0x511d68(_0x4d733d-0x99,_0x56af92- -_0x2cbf5c._0x3ba26f,_0x589868-_0x2cbf5c._0x2d0367,_0x31b166);}if(_0x4e4c23['length']>0x0)return _0x4e4c23;return JSON[_0x1aa696(_0x4f1118._0x15fa4a,0x37e,0x444,_0x4f1118._0x2d9d1e)](_0x4479be,null,0x2);}function createMcpTool(_0x571a99){const _0x34cbc2={_0x3b2e66:0x526,_0x213768:0x572,_0x14c1d8:0x2f6,_0x4932ca:0x1ac,_0x27d03b:0x2b5,_0x4a54cd:0x3c8,_0x15cf01:0x2ca,_0x44d8ac:0x3b1,_0x4a13ee:0x473,_0x534254:0x649,_0x71d7a3:0x850,_0x1fa03e:0x8e8,_0x387f9d:0x850},_0x64f7e9={_0x4c3e6f:0x1cc,_0x475839:0x108,_0x4c3564:0x543,_0x3a4839:0x3f5,_0x3260c0:0x508,_0x37150f:0x438,_0x2061a3:0x159,_0x5965b7:0xc4,_0x227475:0xcb,_0x55fb97:0x6c,_0x225774:0x1,_0x39729e:0x3da,_0x591072:0x432,_0x1d9fd9:0x2c5,_0x209b7d:0x10b,_0x393cf2:0x452,_0x40d258:0x3e0},_0x1da581={_0x3c6c71:0xb0,_0x2e9d32:0x131,_0x54ae51:0x434},_0x4431c6={_0x294183:0xfa},_0x48f4eb={_0x5a8f59:0xd3};function _0x22433f(_0x19bf82,_0x3ae2a0,_0x2fdd39,_0x3f7b1c){return _0x511d68(_0x19bf82-0x39,_0x2fdd39- -0x1bc,_0x2fdd39-0x1aa,_0x3f7b1c);}const _0x8811b0=createMcpToolName(_0x571a99['serverName'],_0x571a99[_0x22433f(0x3ee,0x47e,_0x34cbc2._0x3b2e66,_0x34cbc2._0x213768)][_0x22433f(0x29d,_0x34cbc2._0x14c1d8,0x3b3,0x4d8)]);function _0x3428ff(_0x426f83,_0x294a5b,_0x45a903,_0xbab510){return _0x475ba1(_0x426f83,_0xbab510-0x5d7,_0x45a903-0xab,_0xbab510-_0x48f4eb._0x5a8f59);}return defineTool({'name':_0x8811b0,'description':_0x571a99['tool'][_0x22433f(0x37e,_0x34cbc2._0x4932ca,_0x34cbc2._0x27d03b,0x1a1)]??_0x22433f(_0x34cbc2._0x4a54cd,_0x34cbc2._0x15cf01,_0x34cbc2._0x44d8ac,0x4c4)+_0x571a99[_0x22433f(_0x34cbc2._0x4a13ee,_0x34cbc2._0x534254,_0x34cbc2._0x3b2e66,0x596)]['name']+'\x20from\x20'+_0x571a99[_0x3428ff(_0x34cbc2._0x71d7a3,0x7da,0x88f,0x831)],'inputSchema':toNuvinToolSchema(_0x571a99[_0x3428ff(_0x34cbc2._0x1fa03e,_0x34cbc2._0x387f9d,0x7de,0x86c)]['inputSchema']),async *'execute'(_0x3433f4){function _0x41d9c3(_0x355320,_0x52611a,_0xc56970,_0x438c8a){return _0x22433f(_0x355320-0x156,_0x52611a-_0x4431c6._0x294183,_0x355320- -0x3e0,_0x438c8a);}const _0x1f5dd2=await _0x571a99[_0x41d9c3(-0xc1,-_0x64f7e9._0x4c3e6f,-_0x64f7e9._0x475839,-0x23d)][_0x47d238(_0x64f7e9._0x4c3564,0x40f,0x388,_0x64f7e9._0x3a4839)]({'name':_0x571a99[_0x47d238(_0x64f7e9._0x3260c0,0x52d,0x3c5,_0x64f7e9._0x37150f)][_0x41d9c3(-0x2d,-_0x64f7e9._0x2061a3,-_0x64f7e9._0x5965b7,-0x104)],'arguments':isJsonObject(_0x3433f4)?_0x3433f4:{}});function _0x47d238(_0x23ccf8,_0x58abe1,_0x448d0e,_0x24e34d){return _0x3428ff(_0x448d0e,_0x58abe1-_0x1da581._0x3c6c71,_0x448d0e-_0x1da581._0x2e9d32,_0x24e34d- -_0x1da581._0x54ae51);}if(_0x1f5dd2[_0x41d9c3(0x75,0x1b5,_0x64f7e9._0x227475,-_0x64f7e9._0x55fb97)])throw new ToolExecutionError(formatMcpContent(_0x1f5dd2),{'serverName':_0x571a99['serverName'],'toolName':_0x571a99[_0x41d9c3(0x146,_0x64f7e9._0x225774,0x15f,0x1fb)][_0x47d238(0x1b1,_0x64f7e9._0x39729e,_0x64f7e9._0x591072,_0x64f7e9._0x1d9fd9)]});return yield createToolOutput(formatMcpContent(_0x1f5dd2),{'serverName':_0x571a99[_0x41d9c3(_0x64f7e9._0x209b7d,0x1ae,0xb8,0xf9)],'toolName':_0x571a99[_0x47d238(_0x64f7e9._0x393cf2,0x2e7,_0x64f7e9._0x40d258,0x438)]['name'],'result':_0x1f5dd2}),void 0x0;}});}function resolvePrefix(_0x1c9c7e,_0x5c4b0a){const _0x566b38={_0x116830:0x3bb,_0x3bcd22:0x27f,_0x5d0d15:0x2bf};function _0x29ead0(_0xd99314,_0x2413b2,_0x3ba01d,_0x4b1716){return _0x475ba1(_0x4b1716,_0x3ba01d-0x232,_0x3ba01d-0x22,_0x4b1716-0xe8);}return _0x5c4b0a[_0x29ead0(_0x566b38._0x116830,_0x566b38._0x3bcd22,_0x566b38._0x5d0d15,0x31b)]??_0x1c9c7e;}function buildMcpHttpHeaders(_0x5935da){const _0x3abef0={_0x43746e:0x3d4,_0x163295:0x618,_0x59899b:0x535,_0x564221:0x64b,_0xf8c006:0x689,_0x3cdbf2:0x416,_0xcf163e:0x565,_0x36b3c1:0x59d,_0x1d4cd4:0x514,_0x30e3b:0x611,_0x5914f6:0x5bb,_0x15d4b5:0x790,_0x25fab6:0x833,_0xda1ca3:0x65f,_0x52d81a:0x64f,_0x2183b9:0x63a,_0x103383:0x64f,_0x15c3a7:0x3f6,_0x110af2:0x57a,_0x3e3764:0x6cb,_0x49efea:0x6de,_0x237d86:0x64d,_0x11c886:0x66f,_0x7745e9:0x6d8},_0x7a2ad={_0x33d4f2:0xec},_0x5afea7={..._0x5935da[_0x39ec77(_0x3abef0._0x43746e,0x54d,_0x3abef0._0x163295,0x699)]??{}};function _0x39ec77(_0x262e2c,_0x143e2f,_0x1c4b41,_0x4cbd19){return _0x511d68(_0x262e2c-_0x7a2ad._0x33d4f2,_0x143e2f-0x45,_0x1c4b41-0x18c,_0x1c4b41);}_0x5935da[_0x5c29ae(0x5c6,_0x3abef0._0x59899b,_0x3abef0._0x564221,_0x3abef0._0xf8c006)]?.['type']===_0x5c29ae(_0x3abef0._0x3cdbf2,_0x3abef0._0xcf163e,_0x3abef0._0x36b3c1,_0x3abef0._0x1d4cd4)&&_0x5935da[_0x39ec77(0x660,_0x3abef0._0x30e3b,_0x3abef0._0x5914f6,_0x3abef0._0x15d4b5)][_0x5c29ae(0x7cb,0x788,_0x3abef0._0x25fab6,0x6d8)]&&_0x5afea7[_0x39ec77(_0x3abef0._0xda1ca3,_0x3abef0._0x52d81a,0x53f,0x758)]===void 0x0&&(_0x5afea7[_0x39ec77(_0x3abef0._0x2183b9,_0x3abef0._0x103383,0x61b,0x797)]=_0x39ec77(_0x3abef0._0x15c3a7,_0x3abef0._0x110af2,0x4de,_0x3abef0._0x3e3764)+_0x5935da[_0x5c29ae(0x6ef,0x510,0x7d7,0x689)][_0x5c29ae(_0x3abef0._0x49efea,_0x3abef0._0x237d86,_0x3abef0._0x11c886,_0x3abef0._0x7745e9)]);function _0x5c29ae(_0x3986f2,_0x395ca4,_0x72b485,_0x42ed23){return _0x475ba1(_0x3986f2,_0x42ed23-0x50a,_0x72b485-0xcf,_0x42ed23-0x140);}return Object['keys'](_0x5afea7)['length']>0x0?_0x5afea7:void 0x0;}function getErrorMessage(_0xf4d637){const _0x6f24e3={_0x5537eb:0x563},_0x3a6475={_0x2a1dc9:0x2e7,_0x3cbe9b:0x152};function _0x37742d(_0x13a91c,_0x52eb05,_0x5b4278,_0x95ec27){return _0x475ba1(_0x5b4278,_0x52eb05-_0x3a6475._0x2a1dc9,_0x5b4278-0x12c,_0x95ec27-_0x3a6475._0x3cbe9b);}return _0xf4d637 instanceof Error?_0xf4d637[_0x37742d(0x349,0x3f3,0x2b9,_0x6f24e3._0x5537eb)]:String(_0xf4d637);}function isUnauthorizedError(_0x2220d3){const _0x3650d5={_0x2d4bc3:0x765,_0x7c9f2c:0x606},_0x73cb65={_0x4fff88:0x51f,_0x3b3ac4:0xb6},_0x2daf8e={_0xfc6b8d:0x5e2,_0x172a1d:0x1ae};function _0xcbca6f(_0x122c7c,_0x18ecdc,_0x295f04,_0x5b982c){return _0x475ba1(_0x18ecdc,_0x295f04-_0x2daf8e._0xfc6b8d,_0x295f04-0x155,_0x5b982c-_0x2daf8e._0x172a1d);}function _0x2e786e(_0x20dc0b,_0x4b2ea4,_0x32565b,_0x449f89){return _0x511d68(_0x20dc0b-0x18b,_0x32565b- -_0x73cb65._0x4fff88,_0x32565b-_0x73cb65._0x3b3ac4,_0x4b2ea4);}return _0x2220d3 instanceof Error&&_0x2220d3['constructor'][_0xcbca6f(0x5bb,0x6d6,0x704,0x6d6)]===_0xcbca6f(0x83b,0x836,_0x3650d5._0x2d4bc3,_0x3650d5._0x7c9f2c);}async function connectMcpServer(_0x3e5a7d,_0x54c4ae,_0x3d52c7){const _0x3712f0={_0x35b608:0x628,_0x23913c:0x677,_0x19115e:0x3f4,_0x25b71:0x472,_0x451099:0x4b8,_0x375c59:0x45d,_0x15be74:0x544,_0xd24def:0x4f7,_0x49d214:0x519,_0x56554c:0x35d,_0x5ae886:0x331,_0x5c6d3c:0x3a5,_0x4fb046:0x4dd,_0x50d3a3:0x6d7,_0x970538:0x61c,_0xdbe929:0x7d8,_0x33def4:0x4ef,_0x1000b7:0x50d,_0x4323fc:0x6c2,_0x115fb3:0x48e,_0x115247:0x716,_0x440174:0x598,_0x18ea3b:0x7aa,_0xb651b0:0x7a1,_0x3747d9:0x4ea,_0xef3962:0x51d,_0xa84a21:0x6fc,_0xe655db:0x600,_0x479332:0x64a,_0xdd61fc:0x615,_0xc8aa2d:0x7aa,_0x510838:0x7c2,_0x57804a:0x52e,_0x4d5148:0x5c5,_0x24b15a:0x6d6,_0x51563b:0x855,_0x3d56bf:0x6d3,_0x5aebbe:0x6f8,_0x985910:0x5e2,_0x47ceae:0x5aa,_0x13e2fd:0x815,_0x3f9d8a:0x407,_0x4f7575:0x5f3,_0x2a909a:0x3bb,_0x36dcc2:0x3fd,_0x4d1160:0x56e,_0x3371e1:0x5d0,_0x8f4cf0:0x44d,_0x233ffa:0x4ca,_0x5ee11a:0x59a,_0x16f42e:0x4b7,_0x2c8bd3:0x64b,_0x2190d3:0x50f,_0x3c81f3:0x589,_0x259b42:0x90e},_0x5c3af4={_0x32ab1f:0x1d6,_0x47b5c7:0x72},_0x33f9f1={_0x142649:0x109},_0x12c495={_0x3b1c6b:0x1bc},_0x3920f0={_0xc51d5f:0x38a,_0x57f9ea:0x1a6},_0x2ac5f4={_0x4ca1d3:0xca},_0x3756a1={_0x3de186:0x45e,_0x5378e4:0x3d2,_0x4610fa:0x484,_0x4b5854:0x3ec,_0x10481e:0x46f,_0x23b37f:0x4eb,_0x284bb4:0x618,_0x1cf1c4:0x621,_0x4568d0:0x37c,_0x4643cc:0x3a2,_0x41210a:0x31e},_0x547c94={_0xf93719:0x1fb,_0x237a48:0x53},_0x338157=new Client({'name':_0x6699e3(_0x3712f0._0x35b608,0x63f,0x72d,_0x3712f0._0x23913c),'version':'0.0.0'});_0x338157[_0x59b57d(_0x3712f0._0x19115e,0x2b8,0x3e1,_0x3712f0._0x25b71)]=_0x12c27d=>{const _0x1090b0={_0x1d2413:0x9e};function _0x4372ca(_0x13b0d2,_0x1248d3,_0x3f8cea,_0x4bb35e){return _0x59b57d(_0x13b0d2-_0x1090b0._0x1d2413,_0x1248d3-0x106,_0x3f8cea- -0x1b1,_0x1248d3);}function _0x2eadfa(_0x2701a8,_0x16665c,_0x214c2e,_0x32fccb){return _0x6699e3(_0x32fccb- -_0x547c94._0xf93719,_0x16665c-0x98,_0x214c2e-_0x547c94._0x237a48,_0x16665c);}console[_0x4372ca(_0x3756a1._0x3de186,_0x3756a1._0x5378e4,0x42e,_0x3756a1._0x4610fa)](_0x2eadfa(_0x3756a1._0x4b5854,0x57d,_0x3756a1._0x10481e,0x535)+_0x3e5a7d+_0x2eadfa(_0x3756a1._0x23b37f,0x79e,_0x3756a1._0x284bb4,_0x3756a1._0x1cf1c4),_0x12c27d[_0x4372ca(_0x3756a1._0x4568d0,_0x3756a1._0x4643cc,_0x3756a1._0x41210a,0x2d7)]);};function _0x6699e3(_0x28eb13,_0x2f1a53,_0x51ce44,_0x5de93f){return _0x511d68(_0x28eb13-0x193,_0x28eb13-0x130,_0x51ce44-0xed,_0x5de93f);}if(_0x54c4ae['transport']===_0x59b57d(0x46c,_0x3712f0._0x451099,_0x3712f0._0x375c59,_0x3712f0._0x15be74)||_0x54c4ae[_0x59b57d(_0x3712f0._0xd24def,0x3d5,0x3a5,_0x3712f0._0x49d214)]){if(!_0x54c4ae[_0x59b57d(_0x3712f0._0x56554c,_0x3712f0._0x5ae886,_0x3712f0._0x5c6d3c,_0x3712f0._0x4fb046)])throw new Error(_0x6699e3(_0x3712f0._0x50d3a3,_0x3712f0._0x970538,_0x3712f0._0xdbe929,0x7d3)+_0x3e5a7d+_0x59b57d(0x3f4,_0x3712f0._0x33def4,0x51b,_0x3712f0._0x1000b7));if(_0x54c4ae[_0x6699e3(0x6fc,_0x3712f0._0x4323fc,0x75b,0x6ce)]?.[_0x59b57d(_0x3712f0._0x115fb3,_0x3712f0._0x115247,_0x3712f0._0x440174,0x6bd)]===_0x6699e3(_0x3712f0._0x18ea3b,0x8af,_0x3712f0._0xb651b0,0x81a)&&!_0x3d52c7?.[_0x59b57d(0x647,0x4c9,0x5f0,0x608)])throw new Error(_0x59b57d(_0x3712f0._0x3747d9,0x579,_0x3712f0._0xef3962,0x3e9)+_0x3e5a7d+'\x20requires\x20OAuth\x20connection\x20options');const _0x50e5e7=buildMcpHttpHeaders(_0x54c4ae),_0x56ccfd=_0x54c4ae[_0x6699e3(_0x3712f0._0xa84a21,0x69d,0x769,0x74a)]?.[_0x6699e3(0x752,_0x3712f0._0xe655db,_0x3712f0._0x479332,_0x3712f0._0xdd61fc)]===_0x6699e3(_0x3712f0._0xc8aa2d,_0x3712f0._0x510838,0x67b,0x880)&&_0x3d52c7?.[_0x59b57d(_0x3712f0._0x57804a,_0x3712f0._0x4d5148,0x5f0,0x5e1)]?createMcpOAuthProvider({'serverName':_0x3e5a7d,'callbackUrl':_0x3d52c7['oauth'][_0x6699e3(_0x3712f0._0x24b15a,0x770,0x737,0x6f1)],'storageDir':_0x3d52c7[_0x6699e3(_0x3712f0._0x18ea3b,_0x3712f0._0x51563b,0x891,_0x3712f0._0x3d56bf)][_0x6699e3(_0x3712f0._0x5aebbe,_0x3712f0._0x985910,0x84f,_0x3712f0._0x47ceae)],'config':_0x54c4ae[_0x6699e3(_0x3712f0._0xa84a21,0x739,_0x3712f0._0x13e2fd,0x5f6)],'onRedirect':_0x5e381d=>_0x3d52c7[_0x59b57d(0x546,0x675,0x5f0,0x51f)]?.[_0x6699e3(0x838,0x9a1,0x736,0x941)](_0x3e5a7d,_0x5e381d)}):void 0x0,_0x59c0ed=new StreamableHTTPClientTransport(new URL(_0x54c4ae[_0x6699e3(0x55f,0x628,_0x3712f0._0x3f9d8a,0x4c2)]),{'authProvider':_0x56ccfd,'requestInit':_0x50e5e7?{'headers':_0x50e5e7}:void 0x0});await _0x338157[_0x59b57d(_0x3712f0._0x4f7575,0x6a2,0x67f,0x76e)](_0x59c0ed);}else{if(!_0x54c4ae[_0x59b57d(_0x3712f0._0x2a909a,0x3fe,0x3fc,_0x3712f0._0x36dcc2)])throw new Error(_0x59b57d(0x50c,_0x3712f0._0x4d1160,_0x3712f0._0xef3962,_0x3712f0._0x3371e1)+_0x3e5a7d+_0x6699e3(0x595,_0x3712f0._0x8f4cf0,0x621,_0x3712f0._0x233ffa));const _0x5b467c=new StdioClientTransport({'command':_0x54c4ae['command'],'args':_0x54c4ae[_0x59b57d(0x571,_0x3712f0._0x5ee11a,0x47d,_0x3712f0._0x16f42e)]??[],'env':_0x54c4ae[_0x6699e3(_0x3712f0._0x2c8bd3,0x70b,_0x3712f0._0x2190d3,_0x3712f0._0x3c81f3)],'stderr':_0x6699e3(0x7fa,0x834,_0x3712f0._0x259b42,0x7f1)});await _0x338157[_0x6699e3(0x839,0x71c,0x7a5,0x7e1)](_0x5b467c);}function _0x59b57d(_0x3bc00b,_0x5c7036,_0x4d1eed,_0x461c8d){return _0x511d68(_0x3bc00b-_0x2ac5f4._0x4ca1d3,_0x4d1eed- -0x8a,_0x4d1eed-0x44,_0x461c8d);}return{async 'listTools'(){const _0x3c5a09={_0x5274b5:0xf7,_0x4c3e81:0xbf};function _0x33b0e8(_0x3997e8,_0x389bfe,_0x2ce420,_0x451b7d){return _0x59b57d(_0x3997e8-0xd5,_0x389bfe-_0x3c5a09._0x5274b5,_0x389bfe- -_0x3c5a09._0x4c3e81,_0x3997e8);}return await _0x338157[_0x33b0e8(0x3c8,0x32b,_0x3920f0._0xc51d5f,_0x3920f0._0x57f9ea)]();},async 'callTool'(_0x3c9f3e){function _0x1161da(_0x3e710c,_0x6c45af,_0xfeedc5,_0xc3615a){return _0x6699e3(_0x6c45af- -0x6e7,_0x6c45af-0x11d,_0xfeedc5-_0x12c495._0x3b1c6b,_0xfeedc5);}return await _0x338157[_0x1161da(0xc6,0x6c,0x1,_0x33f9f1._0x142649)]({'method':'tools/call','params':_0x3c9f3e},CallToolResultSchema);},async 'close'(){const _0x3e8b6b={_0x21bc4d:0x126,_0x25fd80:0x159};function _0x544482(_0x1c2e15,_0x39419d,_0x757fde,_0x43948e){return _0x6699e3(_0x39419d- -0x627,_0x39419d-_0x3e8b6b._0x21bc4d,_0x757fde-_0x3e8b6b._0x25fd80,_0x1c2e15);}await _0x338157[_0x544482(-_0x5c3af4._0x32ab1f,-_0x5c3af4._0x47b5c7,-0x1ef,0xb2)]();}};}async function createMcpToolsFromServers(_0x19a918){const _0x5a536d={_0x9ba87a:0x2fd,_0x28a10d:0x3e3,_0x2dbde7:0x2f5,_0x3b5199:0x321,_0x1db118:0x52,_0x11b420:0x139,_0x19c4a1:0x1ae,_0x4e5d87:0x275,_0x502078:0x3a0,_0x4981f4:0x343,_0x55eab8:0x91,_0x37c33f:0x1ed,_0x1f4713:0x3ec,_0x1d39c:0x19f,_0x474ecb:0x47,_0x40ac32:0xb9,_0x1f6d3d:0x2f5,_0x3ae283:0x75,_0x11297f:0x1ea,_0x23e663:0x1aa,_0x17b1e0:0x3fc,_0x40f032:0x16,_0x3c4b22:0x13b,_0x5df74f:0x23c,_0x546400:0x1db,_0x12243b:0xb5,_0x510d9e:0x49d,_0x2babb4:0x236,_0x425047:0x489,_0x534763:0x6f,_0x2d997c:0x11c,_0x4635c5:0x89,_0xe5682d:0x25f,_0x1b11aa:0x27b,_0x3b094e:0x3e2,_0x1256b2:0x285},_0x1a93d2={_0x3bfb74:0x3e4,_0x44fb87:0x2ec,_0xaad28d:0xa9,_0x3351b8:0x245,_0x322f34:0x212},_0x1531b4={_0x186142:0x107},_0x25e8d8=_0x19a918[_0x27456a(_0x5a536d._0x9ba87a,0x339,0x3e5,0x400)]??connectMcpServer;function _0x27456a(_0x57342d,_0x29ca8c,_0x50515c,_0xa1174f){return _0x475ba1(_0x57342d,_0x29ca8c-0x7d,_0x50515c-0x16a,_0xa1174f-_0x1531b4._0x186142);}const _0x37d8c0=[],_0x2dd449={};function _0x598ae9(_0x2130e7,_0x753b9c,_0x2eef65,_0x25efe6){return _0x475ba1(_0x25efe6,_0x2eef65-0x1c6,_0x2eef65-0x12e,_0x25efe6-0x37);}const _0x57e8a6={},_0x31cbdb=[];for(const [_0x12eba8,_0x2e54ab]of Object[_0x598ae9(_0x5a536d._0x28a10d,_0x5a536d._0x2dbde7,_0x5a536d._0x3b5199,0x3ab)](_0x19a918['servers']??{})){if(_0x2e54ab['enabled']===![]){_0x2dd449[_0x12eba8]={'status':_0x27456a(_0x5a536d._0x1db118,_0x5a536d._0x11b420,0x152,0xdc)};continue;}try{const _0x47a587=await _0x25e8d8(_0x12eba8,_0x2e54ab,_0x19a918[_0x27456a(_0x5a536d._0x19c4a1,_0x5a536d._0x4e5d87,_0x5a536d._0x502078,0x12a)]);_0x37d8c0['push'](_0x47a587);const _0x540607=await _0x47a587[_0x598ae9(_0x5a536d._0x4981f4,_0x5a536d._0x55eab8,_0x5a536d._0x37c33f,0x15b)]();let _0x253ef5=0x0;const _0x2e07ab=[];for(const _0x508df3 of _0x540607[_0x598ae9(_0x5a536d._0x1f4713,0x23f,0x269,0x2cb)]){const _0x21c9f5=_0x19a918['allowedTools']?.[_0x12eba8]?.[_0x508df3[_0x27456a(0xba,_0x5a536d._0x1d39c,0x259,0xc4)]];_0x2e07ab[_0x27456a(0xfc,_0x5a536d._0x474ecb,-0x67,-_0x5a536d._0x40ac32)]({'name':_0x508df3['name'],..._0x508df3['description']!==void 0x0?{'description':_0x508df3[_0x598ae9(_0x5a536d._0x1f6d3d,_0x5a536d._0x3ae283,_0x5a536d._0x11297f,_0x5a536d._0x23e663)]}:{},..._0x508df3[_0x598ae9(_0x5a536d._0x17b1e0,0x30d,0x2d3,0x442)]!==void 0x0?{'inputSchema':_0x508df3[_0x27456a(_0x5a536d._0x3ae283,0x18a,_0x5a536d._0x40f032,_0x5a536d._0x3c4b22)]}:{}});if(_0x21c9f5===![])continue;_0x253ef5+=0x1,_0x31cbdb[_0x598ae9(_0x5a536d._0x5df74f,_0x5a536d._0x546400,0x190,_0x5a536d._0x12243b)](createMcpTool({'serverName':resolvePrefix(_0x12eba8,_0x2e54ab),'tool':_0x508df3,'client':_0x47a587}));}_0x57e8a6[_0x12eba8]=_0x2e07ab,_0x2dd449[_0x12eba8]={'status':_0x598ae9(_0x5a536d._0x510d9e,_0x5a536d._0x2babb4,0x37a,_0x5a536d._0x425047),'toolCount':_0x253ef5};}catch(_0x5b2f07){_0x2dd449[_0x12eba8]=isUnauthorizedError(_0x5b2f07)?{'status':_0x27456a(0x1d,_0x5a536d._0x534763,_0x5a536d._0x2d997c,_0x5a536d._0x4635c5),'message':getErrorMessage(_0x5b2f07)}:{'status':_0x598ae9(_0x5a536d._0xe5682d,_0x5a536d._0x1b11aa,_0x5a536d._0x3b094e,_0x5a536d._0x1256b2),'message':getErrorMessage(_0x5b2f07)};}}return{'tools':_0x31cbdb,'servers':_0x2dd449,'serverTools':_0x57e8a6,async 'close'(){const _0x19f7e2={_0x464279:0x1c1};function _0x4ee3fa(_0x470d94,_0x1c33fc,_0x2e6e29,_0x36ba23){return _0x598ae9(_0x470d94-0x63,_0x1c33fc-0xc2,_0x470d94-0x1c2,_0x2e6e29);}function _0x3281b2(_0x36978b,_0x24ebae,_0x3a069a,_0x30b48e){return _0x598ae9(_0x36978b-0x18,_0x24ebae-_0x19f7e2._0x464279,_0x36978b- -0xe1,_0x3a069a);}await Promise[_0x4ee3fa(_0x1a93d2._0x3bfb74,0x2c6,0x266,_0x1a93d2._0x44fb87)](_0x37d8c0[_0x3281b2(0x1eb,_0x1a93d2._0xaad28d,_0x1a93d2._0x3351b8,_0x1a93d2._0x322f34)](_0xd7b5de=>_0xd7b5de[_0x4ee3fa(0x3c0,0x2e9,0x393,0x4e7)]()));}};}function getCommand(_0x176318){const _0x5624e0={_0x5a5288:0x6a,_0x40742e:0x4f,_0x22ba3d:0x177,_0x39221f:0x26e,_0x69b472:0x239,_0xa1e7b6:0x16a,_0x3afd33:0x17c,_0x465c21:0xea,_0x4b6ae7:0x1c0,_0x213aa5:0x70},_0x542e8a={_0x1cbc7a:0x2cb,_0x4d4101:0x1ac};if(_0x176318&&typeof _0x176318===_0x20569e(_0x5624e0._0x5a5288,0x191,_0x5624e0._0x40742e,_0x5624e0._0x22ba3d)&&!Array[_0x55846c(_0x5624e0._0x39221f,0x3ad,_0x5624e0._0x69b472,_0x5624e0._0xa1e7b6)](_0x176318)&&typeof _0x176318['command']===_0x20569e(0x21,_0x5624e0._0x3afd33,-0x1c,-_0x5624e0._0x465c21))return _0x176318['command'];function _0x55846c(_0x586a45,_0x2dfecd,_0x30e5a0,_0x5d25d8){return _0x511d68(_0x586a45-0x124,_0x586a45- -_0x542e8a._0x1cbc7a,_0x30e5a0-_0x542e8a._0x4d4101,_0x30e5a0);}function _0x20569e(_0x13ef73,_0xc724f3,_0x49005b,_0x50fe9c){return _0x511d68(_0x13ef73-0x194,_0x13ef73- -0x5a9,_0x49005b-0x154,_0x50fe9c);}return _0x55846c(_0x5624e0._0x4b6ae7,0x271,_0x5624e0._0x213aa5,0xdd);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x511d68(0x4af,0x627,0x540,0x659),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0x475ba1(0x3d,0x57,0x1ae,-0x6d),_0x475ba1(-0x16,0x5,0x55,-0x47),_0x475ba1(0x3cc,0x2b6,0x1fd,0x393),_0x475ba1(-0x52,0x12d,-0x33,0x1f6),_0x511d68(0x60a,0x528,0x5f2,0x56b),'src/models/mock-model.ts','src/tools/mock-tool-runtime.ts',_0x511d68(0x638,0x511,0x63a,0x647),_0x511d68(0x797,0x692,0x7bc,0x6d6),_0x475ba1(0x286,0x253,0x396,0x1b4),_0x475ba1(0x4,0x143,0x189,-0x3),_0x511d68(0x52f,0x678,0x594,0x563),_0x475ba1(0x122,0xc3,0xba,0x1ac),_0x475ba1(-0x3a,0xf,0xc4,-0xf0)][_0x511d68(0x75a,0x6f6,0x6bf,0x71f)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x511d68(0x5b3,0x6fc,0x809,0x6f8),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':'object','properties':{'command':{'type':_0x475ba1(0x280,0x17d,0x9a,0x152)}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x341704){return{'output':_0x341704,'structured':{'value':_0x341704}};}function createUnknownToolResult(_0x131750){const _0x3eca43={_0x240a42:0x3f3,_0x1d390e:0x540,_0x2cffee:0x4ea,_0x1e43dd:0x46e,_0x39f292:0x306,_0x1d2810:0x120,_0x2c685d:0x1d8},_0x5402ed={_0x14bcc5:0x66,_0x205275:0x7b},_0x2c02e5={_0x36c8ec:0x95};function _0x5ced30(_0x229394,_0x59338d,_0x5a45d1,_0x5c4ab9){return _0x511d68(_0x229394-0x2d,_0x5c4ab9- -_0x2c02e5._0x36c8ec,_0x5a45d1-0x1ca,_0x229394);}function _0x5edc27(_0x36e0fe,_0x426737,_0x15f016,_0x5c78d3){return _0x475ba1(_0x5c78d3,_0x36e0fe-_0x5402ed._0x14bcc5,_0x15f016-_0x5402ed._0x205275,_0x5c78d3-0xdb);}return{'callId':_0x131750['id'],'toolName':_0x131750[_0x5ced30(_0x3eca43._0x240a42,_0x3eca43._0x1d390e,0x52a,0x4da)],'status':_0x5edc27(0x282,0x326,0x38c,0x352),'output':_0x5ced30(0x2f9,0x473,_0x3eca43._0x2cffee,_0x3eca43._0x1e43dd)+_0x131750[_0x5edc27(0x188,_0x3eca43._0x39f292,_0x3eca43._0x1d2810,_0x3eca43._0x2c685d)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x514a34,_0x1ba222){const _0x48a1ba={_0x3e513a:0x147,_0x336d8d:0x319},_0x3baaf9={_0x40e276:0x87,_0x1ef262:0x409,_0x15b532:0x23},_0x3794ad={_0x48d102:0x1a};function _0x3a914f(_0x3d8aa7,_0x56f5b5,_0x1070f8,_0x53caf1){return _0x475ba1(_0x1070f8,_0x53caf1-0x119,_0x1070f8-0x39,_0x53caf1-_0x3794ad._0x48d102);}function _0x1dcd80(_0x10ceed,_0x32584b,_0x5394cf,_0x3804d9){return _0x511d68(_0x10ceed-_0x3baaf9._0x40e276,_0x5394cf- -_0x3baaf9._0x1ef262,_0x5394cf-_0x3baaf9._0x15b532,_0x10ceed);}return{'callId':_0x514a34['id'],'toolName':_0x514a34[_0x1dcd80(0xba,0x62,0x166,_0x48a1ba._0x3e513a)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x514a34[_0x3a914f(0x35e,0x2f6,0x324,_0x48a1ba._0x336d8d)]),'exitCode':0x0},'chunks':[_0x1ba222],'meta':createMeta()};}function createMockToolRuntime(){const _0x24f21a={_0x303392:0x5b,_0x2161a3:0x1d3,_0xa1e0ea:0x2fa,_0x2cee2d:0x1b8,_0x2514a2:0x312,_0x50b6ea:0x3b6,_0x5f26dd:0x262},_0x5a715a={_0x535622:0x9f},_0x5620cd={_0x302b6e:0x4da,_0x59e2cc:0x609},_0x244be9={_0x534b59:0x244},_0x4da553=async(_0x5e8017,_0x4b83ed)=>{if(_0x5e8017[_0x59727d(_0x5620cd._0x302b6e,0x480,_0x5620cd._0x59e2cc,0x561)]!=='Bash')return createUnknownToolResult(_0x5e8017);function _0x59727d(_0x472fcb,_0x2d9703,_0x3105e6,_0x4ab7d7){return _0x4a14(_0x4ab7d7-_0x244be9._0x534b59,_0x3105e6);}const _0x748056=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x5e8017,_0x748056);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x17fad8,_0x4a436e){const _0x50950c={_0x59f597:0x2ea};function _0x1acc48(_0x438b32,_0x2b23d8,_0xe7372b,_0x164096){return _0x4a14(_0x164096- -_0x50950c._0x59f597,_0xe7372b);}function _0x24cfc8(_0x1ab142,_0x86b5dc,_0x491453,_0x55c65b){return _0x4a14(_0x55c65b- -_0x5a715a._0x535622,_0x491453);}return await Promise[_0x24cfc8(_0x24f21a._0x303392,_0x24f21a._0x2161a3,_0x24f21a._0xa1e0ea,_0x24f21a._0x2cee2d)](_0x17fad8[_0x24cfc8(_0x24f21a._0x2514a2,0x331,_0x24f21a._0x50b6ea,_0x24f21a._0x5f26dd)](async _0x505eb5=>{return await _0x4da553(_0x505eb5,_0x4a436e);}));},async 'execute'(_0x3edf59,_0x39b649){return await _0x4da553(_0x3edf59,_0x39b649);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x110251={_0x4a5d75:0x623,_0x5575b5:0x635},_0x3e253b={_0x29a2db:0x7d};delegatedRunCounter+=0x1;function _0x1dbba0(_0x3460fe,_0x45f2b6,_0x44c904,_0x11b0e7){return _0x475ba1(_0x11b0e7,_0x44c904-0x551,_0x44c904-_0x3e253b._0x29a2db,_0x11b0e7-0x12e);}return _0x1dbba0(0x608,0x590,_0x110251._0x4a5d75,_0x110251._0x5575b5)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x310177,_0x4bb98d){return typeof _0x310177==='function'?await _0x310177(_0x4bb98d):_0x310177;}function getDelegatedAgentDefinition(_0x339380,_0x185c29){const _0xc62295={_0xb65ff9:0x39e,_0x59d596:0x2f3},_0x1972a8={_0x190b15:0x251,_0x5855dc:0x13f};function _0x4a0910(_0x224c6d,_0x1ee504,_0x33684b,_0x5033fd){return _0x475ba1(_0x224c6d,_0x5033fd-_0x1972a8._0x190b15,_0x33684b-_0x1972a8._0x5855dc,_0x5033fd-0x31);}return _0x339380[_0x4a0910(_0xc62295._0xb65ff9,0x2e9,0x206,_0xc62295._0x59d596)]?.[_0x185c29];}function createRunSummary(_0x5066b2){const _0x405c4c={_0x1d8a5f:0x3c5,_0x3d17b2:0x1b2,_0x31f7a1:0x336,_0x1e5fb4:0x3ae,_0xbca9be:0x111,_0x241cc4:0x68e,_0x276415:0x5b4,_0xa5b7a2:0x184,_0x5f158f:0x43f,_0x36af52:0x527,_0x12048c:0x497,_0x2cdf3c:0x470},_0x3c8078={_0x473c95:0x1d6,_0x119163:0x1b,_0x8f2847:0x140},_0x1f4f98={_0x5bd71c:0xac,_0x19576c:0x78};function _0xcb08be(_0x4a6a30,_0x1ec3f5,_0x511bdf,_0x52b1f2){return _0x475ba1(_0x52b1f2,_0x4a6a30-0x213,_0x511bdf-_0x1f4f98._0x5bd71c,_0x52b1f2-_0x1f4f98._0x19576c);}function _0x324dad(_0x2d9daa,_0x1964f8,_0x620d2d,_0x3e3cac){return _0x511d68(_0x2d9daa-_0x3c8078._0x473c95,_0x2d9daa- -_0x3c8078._0x119163,_0x620d2d-_0x3c8078._0x8f2847,_0x1964f8);}return{'runId':_0x5066b2[_0x324dad(0x5d8,0x5a3,0x5aa,0x707)],'agentId':_0x5066b2['agentId'],'sessionId':_0x5066b2['sessionId'],'status':_0x5066b2['status'],'parentSessionId':_0x5066b2[_0xcb08be(0x30a,_0x405c4c._0x1d8a5f,0x3c6,0x1ac)],..._0x5066b2[_0xcb08be(0x23f,_0x405c4c._0x3d17b2,_0x405c4c._0x31f7a1,_0x405c4c._0x1e5fb4)]!==void 0x0?{'originToolCallId':_0x5066b2[_0xcb08be(0x23f,0x1a9,0x105,_0x405c4c._0xbca9be)]}:{},..._0x5066b2[_0x324dad(_0x405c4c._0x241cc4,_0x405c4c._0x276415,0x65f,0x7f4)]!==void 0x0?{'errorMessage':_0x5066b2['errorMessage']}:{},..._0x5066b2['result']?.[_0xcb08be(0x278,_0x405c4c._0xa5b7a2,0x277,0x254)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x5066b2[_0x324dad(_0x405c4c._0x5f158f,_0x405c4c._0x36af52,0x3cb,0x51b)][_0x324dad(_0x405c4c._0x12048c,0x517,_0x405c4c._0x2cdf3c,0x47b)])}:{}};}function createRunSummaryOutput(_0x33dbae,_0x3f97ed){const _0x2ff908={_0x4c03c9:0x1ac,_0x44ad2f:0xc9,_0x1d3d5a:0xd,_0x346f94:0x24b,_0x54d592:0x268,_0x336e14:0x1b5,_0x112fce:0x1d7};function _0x209016(_0x3902ff,_0x20a162,_0x14dfcd,_0x20a99d){return _0x475ba1(_0x14dfcd,_0x20a99d-0x14d,_0x14dfcd-0xae,_0x20a99d-0x18e);}const _0x58eb02=createRunSummary(_0x33dbae),_0x1a9249=_0x58eb02[_0x42424d(0x50,_0x2ff908._0x4c03c9,_0x2ff908._0x44ad2f,_0x2ff908._0x1d3d5a)];function _0x42424d(_0x34ff6e,_0x41786d,_0x207cb5,_0x1b4e3d){return _0x511d68(_0x34ff6e-0x1ae,_0x207cb5- -0x415,_0x207cb5-0xb7,_0x41786d);}return createToolOutput(typeof _0x1a9249===_0x42424d(_0x2ff908._0x346f94,_0x2ff908._0x54d592,_0x2ff908._0x336e14,0x1df)&&_0x1a9249[_0x42424d(0x153,0x17b,0xf9,_0x2ff908._0x112fce)]>0x0?_0x1a9249:_0x3f97ed,_0x58eb02);}function getRunTerminalErrorMessage(_0x572434){const _0x1eefe5={_0x1a8ac3:0x2a5,_0x2b6fbb:0x1e3,_0x1f08d7:0xb6,_0x163e5f:0xbe,_0x3f7237:0xc6,_0x1e99db:0xb9,_0x41b8aa:0x2a,_0x44dd54:0xba,_0x4161b5:0xc0,_0x4f29c1:0x100,_0x4b2c45:0x112,_0x2db451:0x7f,_0x48cea5:0x5e,_0x365fdf:0x2},_0xadb2ad={_0x20276f:0x103,_0x51427a:0x628,_0x730d9f:0xa6},_0x3fb509={_0x245bb6:0x10b,_0x1bb18e:0x123,_0x4820e2:0x6a},_0x4d256b=_0x572434?.[_0x241aeb(0x2d6,0x211,_0x1eefe5._0x1a8ac3,_0x1eefe5._0x2b6fbb)][_0x5e9d32(-_0x1eefe5._0x1f08d7,_0x1eefe5._0x163e5f,-_0x1eefe5._0x3f7237,-0x5)]['at'](-0x1);function _0x241aeb(_0x5d8cf9,_0x108c62,_0x299d13,_0x4b9a59){return _0x475ba1(_0x108c62,_0x5d8cf9-_0x3fb509._0x245bb6,_0x299d13-_0x3fb509._0x1bb18e,_0x4b9a59-_0x3fb509._0x4820e2);}function _0x5e9d32(_0x1fddf4,_0x4196bd,_0x5d9c59,_0x26fedc){return _0x511d68(_0x1fddf4-_0xadb2ad._0x20276f,_0x5d9c59- -_0xadb2ad._0x51427a,_0x5d9c59-_0xadb2ad._0x730d9f,_0x4196bd);}if(_0x4d256b?.[_0x5e9d32(-0xdc,_0x1eefe5._0x1e99db,-_0x1eefe5._0x41b8aa,_0x1eefe5._0x44dd54)]===_0x5e9d32(0x99,-_0x1eefe5._0x4161b5,0x41,_0x1eefe5._0x4f29c1)&&_0x4d256b[_0x241aeb(0x1c0,_0x1eefe5._0x4b2c45,0x29a,_0x1eefe5._0x2db451)]['trim']()['length']>0x0)return _0x4d256b[_0x5e9d32(_0x1eefe5._0x48cea5,-_0x1eefe5._0x365fdf,-0x126,-0x175)];return void 0x0;}function formatAbortedRunMessage(_0x2a602f,_0x253321){const _0x59acb8={_0x4dd4bd:0xbf,_0x4aa778:0x18,_0x3cec98:0x57,_0x16137e:0x7f,_0x1e758c:0x41,_0x2bcedb:0xa7,_0x388ae1:0x4fd,_0xf78755:0x305},_0x1c6db7={_0x5c951e:0x2ba,_0xcfc08d:0x62,_0x1334ba:0x99};function _0x9f86fb(_0xbf2efd,_0x5953f0,_0x4dae9f,_0x48b70a){return _0x475ba1(_0x5953f0,_0x4dae9f-_0x1c6db7._0x5c951e,_0x4dae9f-_0x1c6db7._0xcfc08d,_0x48b70a-_0x1c6db7._0x1334ba);}const _0xf9554e=_0x9f86fb(0x47a,0x3b4,0x40d,0x428)+_0x2a602f+_0x5b61a9(0x23e,0x187,_0x59acb8._0x4dd4bd,0x12d);function _0x5b61a9(_0x393c39,_0x2464c4,_0x3ce8a4,_0x866944){return _0x475ba1(_0x2464c4,_0x3ce8a4- -0x1a,_0x3ce8a4-0x3e,_0x866944-0x59);}if(!_0x253321||_0x253321[_0x5b61a9(_0x59acb8._0x4aa778,-_0x59acb8._0x3cec98,0x10c,0xe0)]()[_0x5b61a9(-_0x59acb8._0x16137e,_0x59acb8._0x1e758c,_0x59acb8._0x2bcedb,0x136)]===0x0||_0x253321===_0xf9554e)return _0xf9554e;return _0xf9554e+_0x9f86fb(_0x59acb8._0x388ae1,_0x59acb8._0xf78755,0x443,0x537)+_0x253321;}function createAssignTaskTool(_0x49efc3){const _0x1cd458={_0x45852a:0x83,_0x3f3bb0:0x244,_0x415f59:0x29f,_0xfdd649:0x1bb,_0x2cd9e1:0x196,_0x3aa9a2:0x2cd,_0x484f56:0x185,_0x2439e4:0x14f,_0x585656:0x112,_0x39d98a:0x1c,_0x13ce43:0x12a,_0x1032ac:0x80,_0x249e08:0x3},_0x422c2f={_0x3846a4:0x544,_0x7cd472:0x621,_0x375595:0x252,_0x14ad68:0xf7,_0x5d1da5:0x1dd,_0x1cbd07:0x184,_0x3a0106:0x14b,_0x202f0e:0xe9,_0x122abb:0x20,_0x214dc3:0xe1,_0x40cbd3:0x550,_0x9157ac:0x4da,_0x32e3d5:0x634,_0x2ae740:0x63,_0x1939b5:0x55b,_0x565bc1:0x55a,_0x3c03ae:0x535,_0x3f1a9f:0x123,_0x19c8c4:0x289,_0x52821d:0x4f,_0x1e9945:0x122,_0x1a7085:0x58e,_0x3e5afa:0x4c0,_0x1ca276:0x27d,_0x46f627:0x33,_0x135fb3:0x4e5,_0x182d7a:0x354,_0x1e341f:0x10f,_0x6347c3:0x1ab,_0x10f6ec:0x6a,_0x386e30:0x128,_0x4fe9d7:0x162,_0x515997:0x679,_0x12a81b:0x185,_0xb198a2:0x174,_0x3d4888:0x456,_0x31fb37:0x26,_0x2d0d63:0x256,_0x15ecce:0x64d,_0x2c9581:0x5e7,_0x5d74c4:0x25d,_0xf9ef2e:0x4d7,_0x1d2b21:0x62f,_0x4626a9:0x23d,_0xb213ec:0xc2,_0x4ebee9:0x183,_0x130b96:0x11a,_0x9b089d:0x3d,_0x595a33:0xe,_0x1bc0cc:0x429,_0x208d2b:0xd,_0x48a709:0x16a,_0x20dff1:0xc8,_0x36f7df:0x1ba,_0x3e62d9:0x129,_0x2edf5b:0x5b8,_0xb94c9c:0x629,_0x14d141:0x6c2,_0x13870f:0x6c9,_0x25835a:0x5f5,_0x55c1d7:0xc1},_0x4bbdc6={_0x33d13e:0xdb,_0x39e3fa:0xd9},_0x36ad4d={_0xde134:0x1e3,_0x5dec34:0x14a};function _0x12bc70(_0x22a033,_0x5a891b,_0x1f11fc,_0x10af6e){return _0x475ba1(_0x10af6e,_0x1f11fc- -0xd9,_0x1f11fc-_0x36ad4d._0xde134,_0x10af6e-_0x36ad4d._0x5dec34);}function _0x167f69(_0x89c42a,_0x413614,_0x4ea404,_0x375622){return _0x475ba1(_0x375622,_0x4ea404-0x19,_0x4ea404-_0x4bbdc6._0x33d13e,_0x375622-_0x4bbdc6._0x39e3fa);}return defineTool({'name':_0x12bc70(0xf3,-0x3f,0x7b,_0x1cd458._0x45852a),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion','inputSchema':{'type':_0x167f69(_0x1cd458._0x3f3bb0,_0x1cd458._0x415f59,0x1df,_0x1cd458._0xfdd649),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x167f69(0xc0,0x1f8,_0x1cd458._0x2cd9e1,_0x1cd458._0x3aa9a2)},'task':{'type':_0x12bc70(-0xd6,_0x1cd458._0x484f56,0xa4,0x11d)}},'required':[_0x167f69(_0x1cd458._0x2439e4,-_0x1cd458._0x585656,-0xf,-0x190),_0x167f69(-_0x1cd458._0x39d98a,_0x1cd458._0x13ce43,0x3d,-0x129),_0x167f69(-0x14a,-_0x1cd458._0x1032ac,_0x1cd458._0x249e08,-0x158)]},async *'execute'(_0x23c2b0,_0x28b2b4){const _0x4198b2={_0x2acebe:0x12c,_0x532f57:0x108,_0x15ee2b:0xa},_0x56d4b1={_0x23936f:0xf1,_0x11ca35:0x3d,_0x68008c:0x1e,_0x5e814b:0x4c},_0x57a8c2={_0x3f78e8:0x5fa,_0xf66683:0x20},_0x416df2={_0x8874ef:0x1d6},_0x5939db=createDelegatedRunId();function _0x53a867(_0x45b857,_0x3363d6,_0x5669f0,_0x5d978a){return _0x12bc70(_0x45b857-0x16e,_0x3363d6-_0x416df2._0x8874ef,_0x3363d6-0x4eb,_0x45b857);}const _0x37dedc={'agentId':_0x23c2b0['agentId'],'parentSessionId':_0x28b2b4[_0x53a867(_0x422c2f._0x3846a4,0x4da,_0x422c2f._0x7cd472,0x587)],'runId':_0x5939db,..._0x28b2b4['toolCallId']!==void 0x0?{'toolCallId':_0x28b2b4['toolCallId']}:{}},_0x433b58=getDelegatedAgentDefinition(_0x49efc3,_0x23c2b0[_0x26284f(-_0x422c2f._0x375595,0x32,-_0x422c2f._0x14ad68,-_0x422c2f._0x5d1da5)]);if(!_0x433b58)throw new ToolExecutionError('Unknown\x20delegated\x20agent:\x20'+_0x23c2b0['agentId'],{'agentId':_0x23c2b0[_0x26284f(-_0x422c2f._0x1cbd07,-_0x422c2f._0x3a0106,-_0x422c2f._0x14ad68,-_0x422c2f._0x202f0e)]});const _0x4740f7=new Agent(await resolveDelegatedAgentOptions(_0x433b58,_0x37dedc));let _0x26b84d={'runId':_0x5939db,'agentId':_0x23c2b0[_0x26284f(-_0x422c2f._0x122abb,-0x196,-0xf7,-_0x422c2f._0x214dc3)],'sessionId':_0x4740f7[_0x53a867(_0x422c2f._0x40cbd3,_0x422c2f._0x9157ac,_0x422c2f._0x32e3d5,0x4ad)],'status':_0x26284f(-0x159,_0x422c2f._0x2ae740,0x1b,0x36),'parentSessionId':_0x28b2b4['sessionId'],..._0x28b2b4[_0x53a867(_0x422c2f._0x1939b5,_0x422c2f._0x565bc1,0x4af,_0x422c2f._0x3c03ae)]!==void 0x0?{'originToolCallId':_0x28b2b4['toolCallId']}:{}};const _0x28f974=new AbortController(),_0x1cfef1=addAbortListener(_0x28b2b4[_0x26284f(_0x422c2f._0x3f1a9f,_0x422c2f._0x19c8c4,0x17e,0x117)],()=>{function _0xf33e4c(_0xda317,_0x3420c2,_0x5799b9,_0x5075d3){return _0x26284f(_0xda317-0x17a,_0x3420c2,_0xda317- -0x8d,_0x5075d3-0x1ca);}function _0x470120(_0x542509,_0x17ed21,_0xa8ab19,_0x4d1e72){return _0x53a867(_0x4d1e72,_0xa8ab19- -_0x57a8c2._0x3f78e8,_0xa8ab19-_0x57a8c2._0xf66683,_0x4d1e72-0x100);}_0x28f974['abort'](_0x28b2b4[_0xf33e4c(_0x56d4b1._0x23936f,_0x56d4b1._0x11ca35,0x1df,-0x2e)]?.[_0xf33e4c(-0x182,-0x146,-_0x56d4b1._0x68008c,-_0x56d4b1._0x5e814b)]);});function _0x26284f(_0x48abe4,_0x46cdbe,_0x3a4c90,_0x1994b7){return _0x12bc70(_0x48abe4-_0x4198b2._0x2acebe,_0x46cdbe-_0x4198b2._0x532f57,_0x3a4c90-_0x4198b2._0x15ee2b,_0x46cdbe);}yield createToolOutput(_0x26284f(-0x11f,0xc8,-0x8b,-0x1ad)+_0x26b84d[_0x26284f(-_0x422c2f._0x52821d,-0x86,0xd7,_0x422c2f._0x1e9945)]+'.',{'runId':_0x26b84d['runId'],'agentId':_0x26b84d['agentId'],'sessionId':_0x26b84d['sessionId'],'status':_0x26b84d[_0x53a867(0x68f,0x5c3,_0x422c2f._0x1a7085,_0x422c2f._0x3e5afa)]});try{const _0x59961e=await _0x4740f7[_0x26284f(-_0x422c2f._0x1ca276,0x17,-0x114,-_0x422c2f._0x46f627)](_0x23c2b0[_0x53a867(0x484,0x3fc,_0x422c2f._0x135fb3,_0x422c2f._0x182d7a)],{'streaming':!![],'signal':_0x28f974['signal']});_0x26b84d={..._0x26b84d,'status':_0x59961e[_0x26284f(0x35,_0x422c2f._0x1e341f,0xe2,_0x422c2f._0x6347c3)],'result':_0x59961e};if(_0x59961e[_0x26284f(0xc1,_0x422c2f._0x10f6ec,0xe2,0x21e)]!==_0x26284f(0xa4,_0x422c2f._0x386e30,-0x28,-_0x422c2f._0x4fe9d7)){const _0xf55627=getRunTerminalErrorMessage(_0x59961e),_0x46e606=formatAbortedRunMessage(_0x26b84d[_0x53a867(0x601,0x5b8,_0x422c2f._0x515997,0x590)],_0xf55627);throw new ToolExecutionError(_0x46e606,{...createRunSummary(_0x26b84d),'aborted':!![],'errorMessage':_0x46e606});}return createRunSummaryOutput(_0x26b84d,'Agent\x20run\x20'+_0x26b84d[_0x26284f(-0x37,_0x422c2f._0x12a81b,0xd7,_0x422c2f._0xb198a2)]+_0x53a867(_0x422c2f._0x3d4888,0x3d5,0x3fb,0x543));}catch(_0x12af81){if(_0x12af81 instanceof ToolExecutionError)throw _0x12af81;if(isAbortError(_0x12af81)||_0x28f974[_0x26284f(0x1a,_0x422c2f._0x31fb37,0x17e,_0x422c2f._0x2d0d63)][_0x53a867(0x567,0x4d7,_0x422c2f._0x15ecce,_0x422c2f._0x2c9581)]||_0x28b2b4[_0x26284f(0x2b4,0xe8,0x17e,_0x422c2f._0x5d74c4)][_0x53a867(0x3b2,_0x422c2f._0xf9ef2e,_0x422c2f._0x1d2b21,0x454)]){const _0x1a2d93=getRunTerminalErrorMessage(_0x26b84d[_0x26284f(-_0x422c2f._0x4626a9,-0xfe,-_0x422c2f._0xb213ec,-_0x422c2f._0x4ebee9)])??(_0x12af81 instanceof Error?_0x12af81[_0x26284f(_0x422c2f._0x130b96,0x6b,_0x422c2f._0x9b089d,-0x114)]:String(_0x12af81)),_0x118269=formatAbortedRunMessage(_0x26b84d[_0x26284f(_0x422c2f._0x595a33,0x247,0xd7,0x14e)],_0x1a2d93);_0x26b84d={..._0x26b84d,'status':_0x53a867(0x476,_0x422c2f._0xf9ef2e,_0x422c2f._0x1bc0cc,0x572),'errorMessage':_0x118269};throw new ToolExecutionError(_0x118269,{...createRunSummary(_0x26b84d),'aborted':!![],'errorMessage':_0x118269});}const _0x4e248e=getRunTerminalErrorMessage(_0x26b84d['result'])??(_0x12af81 instanceof Error?_0x12af81[_0x26284f(_0x422c2f._0x208d2b,_0x422c2f._0x48a709,0x3d,_0x422c2f._0x20dff1)]:String(_0x12af81))??_0x26284f(0xa1,_0x422c2f._0x36f7df,0x84,_0x422c2f._0x3e62d9)+_0x26b84d[_0x53a867(0x465,_0x422c2f._0x2edf5b,_0x422c2f._0xb94c9c,_0x422c2f._0x14d141)]+_0x53a867(_0x422c2f._0x13870f,0x6b5,_0x422c2f._0x25835a,0x6a7);_0x26b84d={..._0x26b84d,'status':_0x26284f(_0x422c2f._0x55c1d7,0x10,0x64,0x151),'errorMessage':_0x4e248e};throw new ToolExecutionError(_0x4e248e,{...createRunSummary(_0x26b84d),'errorMessage':_0x4e248e});}finally{_0x1cfef1();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x28a544){return[createAssignTaskTool(_0x28a544)];}import*as _0x32699d from'path';function buildDescription2(_0x3cfc01){const _0x39d070={_0x3f36f3:0x474,_0x198964:0x3b6,_0x1f351c:0x244,_0x3e5798:0x2c5,_0x29a2e0:0x43b,_0xd6b21d:0x35d,_0x3f4427:0x356,_0x2ffea9:0x529,_0xafe140:0x508,_0x39496f:0x353},_0x19030e={_0x176b09:0x12e};if(_0x3cfc01['length']===0x0)return _0xc2e364(_0x39d070._0x3f36f3,_0x39d070._0x198964,_0x39d070._0x1f351c,0x4b0);function _0x426b3f(_0x1b3ccf,_0x340d6c,_0x462361,_0x5efc6f){return _0x511d68(_0x1b3ccf-0x113,_0x462361- -_0x19030e._0x176b09,_0x462361-0x71,_0x340d6c);}const _0x548901=[_0x426b3f(0x4c3,_0x39d070._0x3e5798,_0x39d070._0x29a2e0,0x3ac),_0xc2e364(0x446,0x41f,0x49f,0x588),_0xc2e364(0x3b6,_0x39d070._0xd6b21d,0x237,0x41f),_0xc2e364(_0x39d070._0x3f4427,0x40f,_0x39d070._0x2ffea9,_0x39d070._0xafe140),..._0x3cfc01[_0xc2e364(0x2c1,_0x39d070._0x39496f,0x268,0x38d)](_0x1384c8=>'-\x20'+_0x1384c8[_0x426b3f(0x578,0x51e,0x441,0x30c)]+':\x20'+_0x1384c8['description'])];function _0xc2e364(_0x455925,_0x29f1bd,_0x2c476a,_0x18e254){return _0x475ba1(_0x18e254,_0x29f1bd-0x24d,_0x2c476a-0xc6,_0x18e254-0x1b);}return _0x548901['join']('\x0a');}function _0x511d68(_0x4f9ed9,_0x2aaddf,_0x236ce3,_0x17e50e){return _0x4a14(_0x2aaddf-0x252,_0x17e50e);}function createLoadSkillTool(_0x593027){const _0x3d1913={_0x56fe82:0x69c,_0x224e64:0x47d,_0x3f8f62:0x4dd,_0x35799f:0x474,_0x3fb38f:0x68c,_0x116291:0x4ca,_0x52eac5:0x7b1,_0xc7421a:0x6fa,_0x227d3f:0x760,_0x5be4d8:0x6b3},_0x5c5720={_0x1c65a7:0x2a2,_0x397a78:0x32e,_0x10c5a5:0x1ef,_0x137edc:0x26b,_0x300c96:0x211,_0x3c53d3:0x3b5,_0x55f5a5:0x334,_0x22a2cd:0x318,_0x16d010:0x45f,_0xa6d49c:0x475,_0x46ec57:0x489,_0x283492:0x2b7,_0x29f78a:0x4c,_0x198be5:0x297,_0x1efa38:0x22a,_0xbfe2d5:0x304,_0x5dbea5:0x285,_0x1466ab:0x34b,_0x5ec52a:0x23d,_0xd896e3:0x289,_0x37f43c:0x30e,_0x2d042e:0x10d,_0x2a03a8:0xec,_0x5db30e:0x1b1,_0x57d1a6:0x584,_0x3c09b8:0x2cf,_0x12063e:0x3e8,_0xf46bde:0x145,_0x50807d:0x195,_0xd4d31:0x377,_0x1ab070:0x3f3,_0x396bc4:0x464,_0x14e062:0x24f,_0x18dc90:0x2ab,_0x1186f2:0x1ae,_0x195089:0x4b9,_0x543185:0x4bd,_0x21681c:0x3b6,_0x50720f:0x499,_0x23057b:0x431,_0x174e3f:0x2dc,_0x52a1da:0x376,_0x11484c:0x387,_0x8a2dd2:0x2f8,_0x146ace:0x10e,_0x2cbda9:0x35f,_0x2bf0c3:0x1b9,_0x43456c:0x31e,_0x5eca63:0x3a7,_0xe3ff06:0x359},_0x1bdcc8={_0x3f1909:0x17,_0x5705bd:0x1f7},_0x3c3c2f={_0x120dfe:0x128,_0x2386bc:0xd9,_0x251b18:0x4c4},_0x49c995={_0x4bb99f:0xf7,_0x31aa69:0x76},_0x198b8e={_0x3346c2:0x144};function _0x2380f2(_0x1fe43b,_0x4252e3,_0x5a6b53,_0x49664f){return _0x511d68(_0x1fe43b-0x78,_0x5a6b53-_0x198b8e._0x3346c2,_0x5a6b53-0xab,_0x49664f);}const _0x1a03cb=new Map(_0x593027[_0x46cc42(0x530,0x5ff,0x5a1,_0x3d1913._0x56fe82)][_0x46cc42(0x3b6,_0x3d1913._0x224e64,_0x3d1913._0x3f8f62,_0x3d1913._0x35799f)](_0x90bc96=>[_0x90bc96[_0x46cc42(0x3bf,0x4f8,0x4f9,0x525)],_0x90bc96])),_0x2751a5=buildDescription2(_0x593027[_0x2380f2(_0x3d1913._0x3fb38f,0x876,0x75b,0x5f1)]);function _0x46cc42(_0x6af1c4,_0x1a72e1,_0x226cc5,_0x3fe02e){return _0x511d68(_0x6af1c4-_0x49c995._0x4bb99f,_0x226cc5- -_0x49c995._0x31aa69,_0x226cc5-0x1ee,_0x1a72e1);}return defineTool({'name':_0x46cc42(0x625,_0x3d1913._0x116291,0x561,0x524),'description':_0x2751a5,'inputSchema':{'type':_0x2380f2(_0x3d1913._0x52eac5,0x71a,0x757,_0x3d1913._0xc7421a),'properties':{'name':{'type':'string'}},'required':[_0x2380f2(0x80f,_0x3d1913._0x227d3f,_0x3d1913._0x5be4d8,0x71e)]},async *'execute'(_0x1c6a1a){function _0x463232(_0x26c321,_0x236e2d,_0x5cc3e5,_0xa39149){return _0x2380f2(_0x26c321-_0x3c3c2f._0x120dfe,_0x236e2d-_0x3c3c2f._0x2386bc,_0x236e2d- -_0x3c3c2f._0x251b18,_0x26c321);}const _0x18589a=_0x1a03cb[_0x463232(0x2ce,0x1f6,0x24c,_0x5c5720._0x1c65a7)](_0x1c6a1a[_0x463232(_0x5c5720._0x397a78,_0x5c5720._0x10c5a5,0x1d2,0x21c)]);if(!_0x18589a){const _0x488542=Array[_0x463232(_0x5c5720._0x137edc,0x2dd,_0x5c5720._0x300c96,0x43f)](_0x1a03cb[_0x5cc88f(_0x5c5720._0x3c53d3,_0x5c5720._0x55f5a5,_0x5c5720._0x22a2cd,0x488)]())[_0x5cc88f(_0x5c5720._0x16d010,_0x5c5720._0xa6d49c,0x512,_0x5c5720._0x46ec57)](',\x20');throw new ToolExecutionError(_0x463232(_0x5c5720._0x283492,0x194,_0x5c5720._0x29f78a,_0x5c5720._0x198be5)+_0x1c6a1a['name']+_0x5cc88f(0x462,_0x5c5720._0x1efa38,0x3f0,_0x5c5720._0xbfe2d5)+_0x488542,{'name':_0x1c6a1a[_0x463232(0x206,0x1ef,0x31c,_0x5c5720._0x5dbea5)]});}const _0x594a86=await _0x593027[_0x5cc88f(_0x5c5720._0x1466ab,0x1fa,0x2e4,0x2f3)](_0x18589a);function _0x5cc88f(_0x2403f8,_0x35f34d,_0x459f25,_0x41d68c){return _0x46cc42(_0x2403f8-_0x1bdcc8._0x3f1909,_0x2403f8,_0x41d68c- -_0x1bdcc8._0x5705bd,_0x41d68c-0x1ea);}const _0x3c1b38=_0x18589a[_0x463232(_0x5c5720._0x5ec52a,_0x5c5720._0xd896e3,_0x5c5720._0x37f43c,0x3df)][_0x463232(_0x5c5720._0x2d042e,0x259,_0x5c5720._0x2a03a8,_0x5c5720._0x5db30e)]??_0x32699d[_0x5cc88f(_0x5c5720._0x57d1a6,_0x5c5720._0x3c09b8,_0x5c5720._0x12063e,0x410)](_0x18589a[_0x463232(0x254,0x289,_0x5c5720._0xf46bde,_0x5c5720._0x50807d)][_0x463232(_0x5c5720._0xd4d31,0x31e,_0x5c5720._0x1ab070,0x2ce)]),_0x4c84a6=['##\x20Skill:\x20'+_0x594a86[_0x5cc88f(_0x5c5720._0x396bc4,_0x5c5720._0x14e062,0x317,0x302)],'',_0x594a86[_0x463232(0x400,0x2c4,0x3e0,0x356)],'','---',_0x5cc88f(0x1a3,_0x5c5720._0x18dc90,0x227,_0x5c5720._0x1186f2)+_0x18589a[_0x5cc88f(0x4bc,_0x5c5720._0x195089,_0x5c5720._0x543185,0x39c)][_0x5cc88f(_0x5c5720._0x21681c,0x3f3,_0x5c5720._0x50720f,_0x5c5720._0x23057b)],_0x463232(0x1c9,0x2ca,_0x5c5720._0x174e3f,0x17b)+_0x3c1b38][_0x463232(0x482,_0x5c5720._0x52a1da,_0x5c5720._0x11484c,_0x5c5720._0x8a2dd2)]('\x0a');return yield createToolOutput(_0x4c84a6,{'id':_0x594a86['id'],'name':_0x594a86[_0x463232(_0x5c5720._0x146ace,0x1ef,_0x5c5720._0x2cbda9,0xec)],'path':_0x18589a['source'][_0x463232(_0x5c5720._0x2bf0c3,_0x5c5720._0x43456c,_0x5c5720._0x5eca63,_0x5c5720._0xe3ff06)],'baseDirectory':_0x3c1b38}),void 0x0;}});}var TODO_STATUSES=new Set([_0x475ba1(0xb,0x5a,0xa8,0x16b),_0x475ba1(0x15a,0x277,0x1f1,0x376),'completed']),TODO_PRIORITIES=new Set([_0x511d68(0x6c0,0x5ec,0x511,0x595),_0x475ba1(0x37c,0x238,0xff,0x2f8),_0x475ba1(0x17b,0x297,0x35d,0x1b3)]);function isTodoStatus(_0x48ffe3){const _0x163092={_0x3aa6ba:0x134,_0x1850ed:0xb0,_0x1eec32:0x12d},_0x2e180c={_0x231e7d:0x176,_0x5a2b7d:0x1f1},_0x3fcd71={_0x31b9e9:0xb3,_0x355e6e:0xbb};function _0xea8a80(_0x138ef3,_0x2b4e0a,_0x10a0f6,_0xbff18a){return _0x511d68(_0x138ef3-0xbc,_0x2b4e0a- -_0x3fcd71._0x31b9e9,_0x10a0f6-_0x3fcd71._0x355e6e,_0x138ef3);}function _0x4eb041(_0x2fd383,_0x30317c,_0x2ce332,_0x233963){return _0x511d68(_0x2fd383-_0x2e180c._0x231e7d,_0x2fd383- -0x58f,_0x2ce332-_0x2e180c._0x5a2b7d,_0x2ce332);}return typeof _0x48ffe3===_0x4eb041(0x3b,-0x8a,_0x163092._0x3aa6ba,-_0x163092._0x1850ed)&&TODO_STATUSES[_0x4eb041(0x2d,0x19a,_0x163092._0x1eec32,0xd9)](_0x48ffe3);}function isTodoPriority(_0x4be58c){const _0x5ba454={_0x13cc59:0x1b3,_0x5df089:0x135,_0x568edd:0x212},_0x560f33={_0x4da874:0x331},_0x4ce5d3={_0xee2a55:0x454,_0x57c3fa:0x31};function _0x25b707(_0xf9ce76,_0x397d30,_0x260207,_0x173785){return _0x475ba1(_0xf9ce76,_0x173785-_0x4ce5d3._0xee2a55,_0x260207-_0x4ce5d3._0x57c3fa,_0x173785-0x1e1);}function _0x168ec6(_0x3a8dc2,_0x4a155c,_0x1a7f6d,_0x19948){return _0x511d68(_0x3a8dc2-0x97,_0x3a8dc2- -_0x560f33._0x4da874,_0x1a7f6d-0x1e9,_0x1a7f6d);}return typeof _0x4be58c===_0x168ec6(0x299,0x306,_0x5ba454._0x13cc59,_0x5ba454._0x5df089)&&TODO_PRIORITIES[_0x168ec6(0x28b,0x251,0x2dc,_0x5ba454._0x568edd)](_0x4be58c);}var TodoStore=class{[_0x475ba1(0x7f,0x8,-0x10b,0x72)]=new Map();['getTodos'](_0x114ed4){const _0x162c1a={_0x76a1b1:0x1f0,_0x3dd1a5:0xce,_0x473282:0x65,_0x285ef6:0x53,_0x36c840:0x1bd},_0xc1bb5a={_0x98aac1:0xb8},_0x39a9a2={_0xba44bf:0x154,_0x46b8cc:0x11};function _0x1e257d(_0x1e01c6,_0xdbcf6b,_0x43d9a3,_0x3188ef){return _0x511d68(_0x1e01c6-_0x39a9a2._0xba44bf,_0x43d9a3- -0x523,_0x43d9a3-_0x39a9a2._0x46b8cc,_0x1e01c6);}function _0x171e4b(_0x541029,_0x379f9a,_0x553230,_0x5dfcf8){return _0x511d68(_0x541029-0xa2,_0x379f9a- -0x458,_0x553230-_0xc1bb5a._0x98aac1,_0x553230);}return this[_0x1e257d(-_0x162c1a._0x76a1b1,-0x187,-_0x162c1a._0x3dd1a5,-0x143)][_0x1e257d(-_0x162c1a._0x473282,0x69,_0x162c1a._0x285ef6,_0x162c1a._0x36c840)](_0x114ed4)??[];}[_0x511d68(0x481,0x587,0x63e,0x695)](_0x2fa0f4,_0x3eba42){const _0x1c26da={_0xd0a8ff:0x121,_0x3f1dff:0xf6,_0x51b3ff:0x1e6},_0x32450e={_0x4191b3:0xb8,_0x4fcc25:0xf2,_0x304c8c:0x1c3},_0x2b6044={_0x2e2e07:0x171};function _0x29e3cc(_0x30d636,_0x4a4d77,_0x36be18,_0x1c9ee6){return _0x475ba1(_0x1c9ee6,_0x36be18-0x124,_0x36be18-0x7f,_0x1c9ee6-_0x2b6044._0x2e2e07);}function _0x506cb4(_0x8bb190,_0xca0ebe,_0x2d0e8e,_0x3fb8df){return _0x475ba1(_0x8bb190,_0x2d0e8e- -_0x32450e._0x4191b3,_0x2d0e8e-_0x32450e._0x4fcc25,_0x3fb8df-_0x32450e._0x304c8c);}this[_0x29e3cc(_0x1c26da._0xd0a8ff,_0x1c26da._0x3f1dff,0x12c,0x3c)][_0x506cb4(0x174,0x1ce,_0x1c26da._0x51b3ff,0x338)](_0x2fa0f4,_0x3eba42);}[_0x511d68(0x6c0,0x6b7,0x762,0x6af)](_0x4cd2b4){const _0x97b17c={_0x1336bc:0x408,_0x52c231:0x64f,_0x48e06c:0x55a,_0x36eccd:0x4a0,_0x2ca2b8:0x45,_0x400fa8:0x169,_0x502896:0x25,_0xab8c1b:0x97,_0xd92232:0x35,_0x59a7de:0x82,_0x43df28:0x54a,_0x126b33:0x599,_0x5e68e4:0x5d4,_0x227187:0x45d},_0x298832={_0x593912:0x3b,_0x14bd13:0x97},_0x7cbc75={_0x122a40:0x4ee};function _0x3b2d66(_0x5eb9f5,_0x4d256f,_0x1b6a7d,_0x5c24df){return _0x511d68(_0x5eb9f5-0x111,_0x4d256f- -_0x7cbc75._0x122a40,_0x1b6a7d-0x61,_0x1b6a7d);}const _0x310d7f=this[_0x4a24fc(_0x97b17c._0x1336bc,_0x97b17c._0x52c231,0x68d,_0x97b17c._0x48e06c)](_0x4cd2b4),_0x285023={'total':_0x310d7f[_0x4a24fc(0x552,0x5c8,_0x97b17c._0x36eccd,0x477)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x198552 of _0x310d7f){if(_0x198552[_0x3b2d66(0x44,0x110,_0x97b17c._0x2ca2b8,_0x97b17c._0x400fa8)]===_0x3b2d66(-0x65,-0x47,0x92,-_0x97b17c._0x502896))_0x285023['pending']+=0x1;else{if(_0x198552[_0x3b2d66(_0x97b17c._0xab8c1b,0x110,-_0x97b17c._0xd92232,_0x97b17c._0x59a7de)]==='in_progress')_0x285023['inProgress']+=0x1;else _0x285023[_0x4a24fc(_0x97b17c._0x43df28,_0x97b17c._0x126b33,_0x97b17c._0x5e68e4,_0x97b17c._0x227187)]+=0x1;}}function _0x4a24fc(_0x493214,_0x34537a,_0x156d83,_0x420f85){return _0x511d68(_0x493214-_0x298832._0x593912,_0x420f85- -_0x298832._0x14bd13,_0x156d83-0x1f0,_0x34537a);}return _0x285023;}};function validateTodos(_0x7291d5){const _0x38d87c={_0x1e43d6:0x29a,_0x343f8f:0x322,_0x451f1b:0x3a1,_0x5627e2:0x512,_0x26f519:0x4f4,_0x4bab0d:0x5c9,_0x155e13:0x44f,_0x55ba5c:0x292,_0x293f9e:0x12b,_0x460378:0x442,_0xcb471f:0x547,_0x5c3729:0x523,_0x12e8d1:0x261,_0x317150:0x232,_0x4abde5:0x412,_0x4f869c:0x3ac,_0x438912:0x38a,_0x583b48:0x3d8,_0x4848c8:0x397,_0x492ac3:0x21d,_0x4b9a20:0x271,_0x41f379:0x237,_0x483c35:0x2d7,_0x556edd:0x614,_0x2ebb3a:0x398,_0x5df312:0x3fc,_0xe1effe:0x208,_0x16e520:0x25f,_0x384177:0x3e0,_0x3aca27:0x2d9,_0x120597:0x1f1,_0x1e022d:0x266,_0x4afd1b:0x207,_0x5ad685:0x26d,_0x317421:0x254,_0x5f5e0d:0x3ac,_0x3dd81e:0x27f,_0x583c88:0x154,_0x294f13:0x28e,_0x1a1dc4:0x387,_0x23b8dd:0x464,_0x4ea88e:0x342,_0x4ae342:0x388,_0x5ad531:0x32d,_0x43a3af:0x1e8,_0x4dd186:0x81,_0x16fb0d:0x2db,_0x4492ee:0x331,_0x9e0bb2:0x213,_0x1307c3:0x200,_0x18b75a:0x13a,_0x14f3ba:0x1ef,_0x283922:0x33e,_0x52aa80:0x3a3,_0x1f6344:0x4fb,_0x212d8b:0x377,_0x5c707e:0x264,_0x22b5b0:0x474,_0x249b11:0x5d6,_0x420a6d:0x5ff,_0x13c96c:0x4aa,_0x1977a6:0x50c,_0x10b1a1:0x23a,_0x22193f:0x46b,_0x5acf4e:0x29e,_0x23759b:0x1a2,_0x1dbb82:0x293,_0xc04af4:0x2b0},_0x3e8da5={_0x398e38:0x1b4};if(!Array[_0x59814b(_0x38d87c._0x1e43d6,0x3d4,_0x38d87c._0x343f8f,0x36b)](_0x7291d5[_0x2c764b(_0x38d87c._0x451f1b,_0x38d87c._0x5627e2,0x244,_0x38d87c._0x26f519)])||_0x7291d5[_0x59814b(0x57f,0x41a,_0x38d87c._0x4bab0d,_0x38d87c._0x155e13)][_0x2c764b(_0x38d87c._0x55ba5c,_0x38d87c._0x293f9e,0x3e4,0x36d)]===0x0)throw new ToolExecutionError(_0x2c764b(_0x38d87c._0x460378,_0x38d87c._0xcb471f,_0x38d87c._0x5c3729,0x4b0),{'error':_0x59814b(_0x38d87c._0x12e8d1,_0x38d87c._0x317150,_0x38d87c._0x4abde5,0x2a2)});function _0x2c764b(_0x393e37,_0x4715ee,_0xd2a3c9,_0x50811f){return _0x475ba1(_0x50811f,_0x393e37-0x1d1,_0xd2a3c9-_0x3e8da5._0x398e38,_0x50811f-0x9a);}function _0x59814b(_0xa8723b,_0xaa00c4,_0x5d015d,_0x1bd874){return _0x511d68(_0xa8723b-0x11a,_0x1bd874- -0x1ce,_0x5d015d-0x134,_0xa8723b);}for(let _0x4bb368=0x0;_0x4bb368<_0x7291d5['todos'][_0x2c764b(0x292,_0x38d87c._0x4f869c,0x2dc,0x3e3)];_0x4bb368+=0x1){const _0x4bed41=_0x7291d5[_0x59814b(_0x38d87c._0x438912,_0x38d87c._0x583b48,0x5bf,0x44f)][_0x4bb368];if(!_0x4bed41||typeof _0x4bed41!==_0x2c764b(_0x38d87c._0x4848c8,0x4ff,0x2d6,_0x38d87c._0x492ac3))throw new ToolExecutionError(_0x59814b(0x243,0x414,_0x38d87c._0x4b9a20,0x2a0)+(_0x4bb368+0x1)+_0x2c764b(_0x38d87c._0x41f379,0x1cc,0x1ac,_0x38d87c._0x483c35),{'error':_0x59814b(0x368,_0x38d87c._0x556edd,0x3f0,0x4c7)});if(typeof _0x4bed41['id']!==_0x59814b(0x46b,0x325,_0x38d87c._0x2ebb3a,_0x38d87c._0x5df312)||_0x4bed41['id']['trim']()[_0x2c764b(_0x38d87c._0x55ba5c,0x1c5,_0x38d87c._0xe1effe,_0x38d87c._0x16e520)]===0x0)throw new ToolExecutionError(_0x59814b(0x2f9,0x19f,_0x38d87c._0x384177,0x2a0)+(_0x4bb368+0x1)+_0x59814b(0x365,0x2ea,_0x38d87c._0x3aca27,0x32c),{'error':_0x2c764b(0x28a,_0x38d87c._0x120597,0x34d,0x3d1)});if(typeof _0x4bed41[_0x2c764b(_0x38d87c._0x1e022d,0x2f7,0x306,0x236)]!==_0x2c764b(0x34e,0x450,_0x38d87c._0x4afd1b,_0x38d87c._0x5ad685)||_0x4bed41[_0x2c764b(_0x38d87c._0x1e022d,_0x38d87c._0x317421,_0x38d87c._0x5f5e0d,0x320)][_0x59814b(0x507,_0x38d87c._0x3dd81e,0x339,0x3a5)]()['length']===0x0)throw new ToolExecutionError(_0x59814b(_0x38d87c._0x583c88,_0x38d87c._0x294f13,_0x38d87c._0x1a1dc4,0x2a0)+(_0x4bb368+0x1)+_0x2c764b(0x48a,_0x38d87c._0x23b8dd,0x599,_0x38d87c._0x4ea88e),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4bed41['status']))throw new ToolExecutionError(_0x59814b(_0x38d87c._0x4ae342,_0x38d87c._0x5ad531,0x2b3,0x2a0)+(_0x4bb368+0x1)+':\x20invalid\x20status',{'error':_0x2c764b(_0x38d87c._0x43a3af,_0x38d87c._0x4dd186,_0x38d87c._0x16fb0d,_0x38d87c._0x4492ee)});if(!isTodoPriority(_0x4bed41[_0x2c764b(0x23b,_0x38d87c._0x9e0bb2,_0x38d87c._0x1307c3,0x2e6)]))throw new ToolExecutionError(_0x2c764b(0x1f2,_0x38d87c._0x18b75a,0x1b3,_0x38d87c._0x14f3ba)+(_0x4bb368+0x1)+_0x59814b(_0x38d87c._0x283922,_0x38d87c._0x52aa80,_0x38d87c._0x1f6344,0x43a),{'error':_0x59814b(0x2e0,0x119,_0x38d87c._0x212d8b,_0x38d87c._0x5c707e)});}const _0x5d5d30=_0x7291d5[_0x2c764b(0x3a1,0x338,_0x38d87c._0x22b5b0,0x222)][_0x2c764b(0x2d7,0x23b,0x390,0x44b)](_0x5f2672=>_0x5f2672['id']);if(new Set(_0x5d5d30)[_0x59814b(_0x38d87c._0x249b11,_0x38d87c._0x420a6d,_0x38d87c._0x13c96c,_0x38d87c._0x1977a6)]!==_0x5d5d30['length'])throw new ToolExecutionError(_0x59814b(_0x38d87c._0x10b1a1,_0x38d87c._0x22193f,_0x38d87c._0x5acf4e,0x37c),{'error':_0x2c764b(_0x38d87c._0x23759b,0x27b,_0x38d87c._0x1dbb82,_0x38d87c._0xc04af4)});}function createStatsProgress(_0x2cdb73){const _0x2b5bc0={_0x1c6bf7:0x4a0,_0x30614e:0x12a,_0x476aa4:0x19f,_0x212747:0x213},_0x518b42={_0x1a478d:0xd5},_0x4ae1a8={_0x1f6c66:0x0,_0x4a72a6:0xe1};function _0x4dd548(_0x133139,_0x183626,_0x238134,_0x59f7c2){return _0x475ba1(_0x59f7c2,_0x133139-0x3a5,_0x238134-_0x4ae1a8._0x1f6c66,_0x59f7c2-_0x4ae1a8._0x4a72a6);}function _0x13de53(_0x204f86,_0x4352a7,_0x24ae4b,_0x436fec){return _0x475ba1(_0x4352a7,_0x204f86-_0x518b42._0x1a478d,_0x24ae4b-0xc2,_0x436fec-0x1d);}return _0x2cdb73[_0x4dd548(0x3fa,_0x2b5bc0._0x1c6bf7,0x444,0x3bd)]>0x0?Math['round'](_0x2cdb73['completed']/_0x2cdb73[_0x13de53(_0x2b5bc0._0x30614e,-0x23,_0x2b5bc0._0x476aa4,_0x2b5bc0._0x212747)]*0x64)+'%':'0%';}function createReminderItems(_0x145037){const _0x3ede49={_0x583aa8:0x1a9,_0xb2769e:0xab},_0x510639={_0x3eb85b:0x1d0,_0x19bcb6:0x55e,_0x4dd6a0:0x168},_0x22cf5c={_0x1da133:0x6e,_0x3571c7:0x1c6};function _0x261c64(_0x7f0385,_0x252e82,_0x335fe3,_0x2ed51c){return _0x511d68(_0x7f0385-_0x22cf5c._0x1da133,_0x2ed51c- -0x4a8,_0x335fe3-_0x22cf5c._0x3571c7,_0x252e82);}function _0x52ba2c(_0x281a01,_0x1d5c7a,_0x1a3097,_0x294701){return _0x511d68(_0x281a01-_0x510639._0x3eb85b,_0x294701- -_0x510639._0x19bcb6,_0x1a3097-_0x510639._0x4dd6a0,_0x1a3097);}return _0x145037[_0x261c64(0xcb,_0x3ede49._0x583aa8,0x1e1,_0x3ede49._0xb2769e)](_0x2a0974=>({'content':_0x2a0974['content'],'status':_0x2a0974[_0x52ba2c(0x117,0x1aa,-0x76,0xa0)],'id':_0x2a0974['id']}));}function createStructuredResult(_0x5bdcc4,_0x1b0ac9,_0x5a10e9,_0x1d8f55){const _0x197d75={_0x1304a8:0xa9,_0x22e440:0x2f4,_0x1a3877:0x21c,_0x53bd8a:0x484},_0x390945={_0x1813ef:0xaf};function _0x1c1674(_0xd963c5,_0x2d632f,_0x51ea64,_0x5f20c4){return _0x511d68(_0xd963c5-_0x390945._0x1813ef,_0x51ea64- -0x4c,_0x51ea64-0x102,_0x2d632f);}function _0x74eb3e(_0x510012,_0xaaeb3d,_0x516d52,_0x5a60b6){return _0x475ba1(_0x5a60b6,_0x516d52-0x116,_0x516d52-0xda,_0x5a60b6-0x167);}return{'allCompleted':_0x1d8f55,'items':_0x1b0ac9[_0x74eb3e(_0x197d75._0x1304a8,_0x197d75._0x22e440,_0x197d75._0x1a3877,0x110)](_0x3381c1=>({'id':_0x3381c1['id'],'content':_0x3381c1[_0x74eb3e(0x285,0x14d,0x1ab,0x9e)],'status':_0x3381c1[_0x74eb3e(0x42e,0x25e,0x2c7,0x3d2)],'priority':_0x3381c1[_0x1c1674(0x3e3,0x3cb,0x46b,0x316)],'createdAt':_0x3381c1[_0x1c1674(0x280,0x33d,0x3c1,0x2e1)]})),'progress':createStatsProgress(_0x5a10e9),'recentChanges':!![],'sessionId':_0x5bdcc4,'stats':_0x5a10e9,'todosWritten':_0x1b0ac9[_0x1c1674(0x4da,0x48e,0x4c2,_0x197d75._0x53bd8a)]};}function createOutputText(_0x416626,_0x7dbd7){const _0x2cf482={_0x5b00f1:0x225,_0x284331:0xd7,_0x627096:0xdb,_0x23b500:0x10b,_0x794968:0x11e,_0x3e87b3:0x17,_0x41fe36:0x2e,_0x4011d8:0x124,_0x39986e:0xe2,_0x33f2fa:0x194,_0x3722d7:0x262,_0x3b0c48:0x18d},_0x3315c6={_0x5bc39a:0x193,_0x1be2a0:0x62},_0x37c4b8={_0x2ff80c:0xef,_0x1a3d17:0x10a},_0x4e96cd=JSON[_0xfcdc91(0x125,_0x2cf482._0x5b00f1,0x1b2,_0x2cf482._0x284331)](createReminderItems(_0x416626));function _0xfcdc91(_0xa94d36,_0x3570ee,_0x5841c5,_0x189a5a){return _0x475ba1(_0x5841c5,_0xa94d36- -_0x37c4b8._0x2ff80c,_0x5841c5-0x1af,_0x189a5a-_0x37c4b8._0x1a3d17);}function _0x2dcacb(_0x5e0b3d,_0x2854e6,_0x21d54a,_0x4ee724){return _0x475ba1(_0x5e0b3d,_0x21d54a- -_0x3315c6._0x5bc39a,_0x21d54a-_0x3315c6._0x1be2a0,_0x4ee724-0x1b6);}if(_0x7dbd7)return _0x2dcacb(-_0x2cf482._0x627096,-_0x2cf482._0x23b500,-_0x2cf482._0x794968,-_0x2cf482._0x3e87b3)+_0x416626[_0xfcdc91(-_0x2cf482._0x41fe36,-_0x2cf482._0x4011d8,-_0x2cf482._0x39986e,-_0x2cf482._0x33f2fa)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x4e96cd+_0x2dcacb(-0x14c,-_0x2cf482._0x3722d7,-_0x2cf482._0x3b0c48,-0x2f9);return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x4e96cd+_0x2dcacb(-0x1fa,-0x22b,-0x18d,-0xfb);}function createTodoWriteTool(_0x4ab18e=new TodoStore()){const _0x90b465={_0x49b310:0x67a,_0x27ddcf:0x48b,_0x400907:0x5c8,_0xecba9d:0x1dd,_0x25c61b:0x2e0,_0x15739c:0x314,_0xd85a88:0x3cb,_0x2789bb:0x639,_0x19e7d9:0x742,_0x2ac509:0x479,_0x3f3eab:0x60c,_0x275edf:0x2ad,_0x3c432d:0x360,_0x58713a:0x23e,_0x1c3191:0x5ac,_0x1adf48:0x3a,_0xddf74b:0x16f,_0x4bfe8f:0x156,_0x190f9d:0x1d7,_0x396b1e:0x2f7,_0x46fda6:0x31e},_0x5c8e2c={_0x10778d:0x161,_0x6c2a33:0x175,_0x4566d9:0x2bb,_0x4152ac:0x157,_0x479fea:0x89,_0xd8fd13:0x241,_0x4c77c6:0x3c2,_0x1ca996:0x43c,_0x1cfe32:0x113,_0x122dfd:0xfe,_0x5c5266:0x147,_0x579852:0x79,_0xb41f36:0x100,_0x52a978:0x14c,_0x2c09e0:0x2c5,_0xd55b24:0x3fe,_0x5b2c21:0x2bb},_0x20c5ac={_0x4632ad:0x70},_0x4e35ee={_0x2815f2:0x16c,_0x2ce792:0x24},_0x5579bd={_0x2209d1:0x10e,_0x5c5dc4:0x111};function _0x31f907(_0x30ba1a,_0x1ee6ed,_0x3cf5d7,_0x1d4fc9){return _0x475ba1(_0x1d4fc9,_0x3cf5d7-0x42f,_0x3cf5d7-_0x5579bd._0x2209d1,_0x1d4fc9-_0x5579bd._0x5c5dc4);}function _0x4402bc(_0x375a3f,_0x2a5fd3,_0x37cf27,_0x57d1c7){return _0x511d68(_0x375a3f-_0x4e35ee._0x2815f2,_0x57d1c7- -0x38c,_0x37cf27-_0x4e35ee._0x2ce792,_0x37cf27);}return defineTool({'name':_0x31f907(_0x90b465._0x49b310,_0x90b465._0x27ddcf,_0x90b465._0x400907,0x5c6),'description':_0x4402bc(0x1bf,_0x90b465._0xecba9d,0x1e7,0x132),'inputSchema':{'type':_0x4402bc(_0x90b465._0x25c61b,0x35a,0x283,0x287),'properties':{'todos':{'type':_0x4402bc(0x23c,_0x90b465._0x15739c,_0x90b465._0xd85a88,0x259),'items':{'type':_0x31f907(_0x90b465._0x2789bb,0x545,0x5f5,_0x90b465._0x19e7d9),'properties':{'content':{'type':_0x31f907(0x4e0,_0x90b465._0x2ac509,0x5ac,_0x90b465._0x3f3eab)},'status':{'type':_0x4402bc(_0x90b465._0x275edf,_0x90b465._0x3c432d,0x1ad,_0x90b465._0x58713a)},'priority':{'type':'string'},'id':{'type':'string'},'createdAt':{'type':_0x31f907(0x6de,0x545,_0x90b465._0x1c3191,0x44a)}},'required':[_0x4402bc(_0x90b465._0x1adf48,_0x90b465._0xddf74b,0x2cb,_0x90b465._0x4bfe8f),_0x4402bc(_0x90b465._0x190f9d,_0x90b465._0x396b1e,_0x90b465._0x46fda6,0x272),'priority','id']}}},'required':[_0x31f907(0x693,0x767,0x5ff,0x6d0)]},async *'execute'(_0x19e4c6,_0x4c9a6c){const _0x4f56c5={_0x48346a:0x10d,_0x4aedd8:0x107};function _0x46e2a7(_0x4bcee7,_0x60034e,_0xbcdd58,_0x1bb1d8){return _0x31f907(_0x4bcee7-_0x4f56c5._0x48346a,_0x60034e-_0x4f56c5._0x4aedd8,_0x4bcee7- -0x422,_0x1bb1d8);}const _0x34ed6e=_0x19e4c6;validateTodos(_0x34ed6e);const _0x1ec4eb=_0x4c9a6c[_0x2d9b8f(_0x5c8e2c._0x10778d,_0x5c8e2c._0x6c2a33,_0x5c8e2c._0x4566d9,0x31f)]||_0x46e2a7(_0x5c8e2c._0x4152ac,_0x5c8e2c._0x479fea,0x7c,0x162),_0x55c31b=new Date()[_0x46e2a7(0x266,_0x5c8e2c._0xd8fd13,0x3dc,_0x5c8e2c._0x4c77c6)](),_0x35fe6c=_0x34ed6e[_0x2d9b8f(_0x5c8e2c._0x1ca996,0x4ff,0x3c3,0x50e)][_0x46e2a7(_0x5c8e2c._0x1cfe32,0x244,_0x5c8e2c._0x122dfd,-0x3d)](_0x3a3184=>({'id':_0x3a3184['id'],'content':_0x3a3184['content'],'status':_0x3a3184[_0x46e2a7(0x1be,0x8c,0x2c6,0x1c2)],'priority':_0x3a3184[_0x46e2a7(0x77,0x13e,0x58,0x170)],'sessionId':_0x1ec4eb,'createdAt':_0x3a3184[_0x2d9b8f(0xc7,0xdc,0x1b3,0x8b)]||_0x55c31b,'updatedAt':_0x55c31b}));_0x4ab18e[_0x46e2a7(_0x5c8e2c._0x5c5266,_0x5c8e2c._0x579852,_0x5c8e2c._0xb41f36,0x135)](_0x1ec4eb,_0x35fe6c);function _0x2d9b8f(_0x273e6f,_0x1824f8,_0x1feeab,_0x2a5b60){return _0x4402bc(_0x273e6f-_0x20c5ac._0x4632ad,_0x1824f8-0x14e,_0x273e6f,_0x1feeab-0x132);}const _0x3becf6=_0x4ab18e[_0x46e2a7(0x277,0x318,0x3c7,0x3dd)](_0x1ec4eb),_0xac894c=_0x35fe6c[_0x2d9b8f(_0x5c8e2c._0x52a978,0x149,0x2b4,_0x5c8e2c._0x2c09e0)]>0x0&&_0x35fe6c[_0x2d9b8f(0x31a,0x3a4,_0x5c8e2c._0xd55b24,_0x5c8e2c._0x5b2c21)](_0x37c48c=>_0x37c48c[_0x46e2a7(0x1be,0x32c,0x2ed,0x82)]==='completed');return createToolOutput(createOutputText(_0x35fe6c,_0xac894c),createStructuredResult(_0x1ec4eb,_0x35fe6c,_0x3becf6,_0xac894c));}});}import{mkdir as _0x1121be,writeFile as _0x5dd3d3}from'fs/promises';import*as _0x44b94d from'path';function sanitizeFileName(_0x1dd172){const _0x166c9a={_0x169692:0x30a,_0x3f36d1:0x2d0,_0x4ac691:0x16a},_0x1e4957={_0x50808b:0x36,_0x88e675:0x122};function _0x4562fb(_0x4ab316,_0x1c464a,_0x193a16,_0x153fcb){return _0x511d68(_0x4ab316-_0x1e4957._0x50808b,_0x1c464a- -0x16e,_0x193a16-_0x1e4957._0x88e675,_0x153fcb);}return _0x1dd172[_0x4562fb(_0x166c9a._0x169692,_0x166c9a._0x3f36d1,0x323,_0x166c9a._0x4ac691)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x974b6a,_0x1f757e){const _0x260878={_0x110ecf:0x40f,_0x11b1b5:0x5a2,_0x485517:0x349,_0x301f36:0x446,_0x2b8c04:0x48b,_0x3b37db:0x56b,_0xa34b5f:0x40e,_0x48326a:0x2eb,_0x691e3e:0x108,_0x5b40d6:0x2b8,_0xa34d7c:0x24a,_0x5d6482:0x43d,_0x318b33:0x606,_0x3e7009:0x5fe,_0xa4cae2:0x135,_0x2038e6:0x25f,_0x57901d:0x3a,_0x511b4a:0x183,_0x5418d5:0x1cf,_0x264bb8:0x29e,_0x1c4eb2:0x517,_0x5e6e79:0x4f8,_0x23551a:0x39a,_0x3b4371:0x263,_0x4e3e74:0x37b,_0x385920:0x540,_0x105b43:0x2f2,_0x4a944d:0x2be,_0x103bfb:0x13c,_0x6059d0:0x38a,_0x574ded:0x13b,_0x18a56b:0x3a0,_0x2a0381:0x4aa,_0x19b77c:0x39,_0x33819c:0x135,_0x562833:0x3f,_0x1d2249:0x4ac,_0x46bdfd:0x3f4,_0x51c831:0x1f4,_0x3076bf:0xc7,_0xa1bf3b:0x33c,_0x48a375:0x4b,_0x453414:0x7c,_0x21bf49:0xe7,_0x2f7c99:0xf9,_0x864b0c:0x11d,_0x1ed875:0x4db,_0x419b70:0x298,_0x1f77a3:0x3ee,_0x41b979:0x274,_0x3ae691:0x26e,_0x2ee83c:0x729,_0x5297cc:0x5fe,_0x1be31b:0x219,_0x56698a:0x1ba,_0x435628:0x165,_0x5f296e:0x6a7},_0x1064e6={_0x55c06f:0x12c,_0x55d300:0x45b},_0xe6a7a4={_0x1d8796:0x1};function _0x3a6806(_0x14c4d6,_0x2ee58f,_0x46de39,_0x1d3c5b){return _0x511d68(_0x14c4d6-_0xe6a7a4._0x1d8796,_0x2ee58f- -0xbc,_0x46de39-0x1cc,_0x14c4d6);}const {maxBytes:_0x2521c1,sessionDir:_0x634d37}=_0x1f757e;if(!_0x974b6a[_0x3a6806(_0x260878._0x110ecf,0x446,0x342,_0x260878._0x11b1b5)]||Buffer['byteLength'](_0x974b6a[_0x3a6806(_0x260878._0x485517,_0x260878._0x301f36,_0x260878._0x2b8c04,_0x260878._0x3b37db)],_0x20746c(0x7b,0x7a,0xd5,0x1d3))<=_0x2521c1)return _0x974b6a;const _0x2ca57a=Buffer[_0x3a6806(_0x260878._0xa34b5f,0x4c5,0x3dd,0x442)](_0x974b6a['output'],'utf8');if(!_0x634d37){const _0x39c8f4=_0x974b6a[_0x3a6806(0x5ba,0x446,_0x260878._0x48326a,0x2df)][_0x3a6806(0x342,0x3de,0x414,0x3d3)](0x0,_0x2521c1);return{..._0x974b6a,'output':_0x39c8f4+(_0x20746c(0x2a2,_0x260878._0x691e3e,_0x260878._0x5b40d6,_0x260878._0xa34d7c)+_0x2521c1+'\x20bytes\x20(original:\x20'+_0x2ca57a+_0x3a6806(0x423,_0x260878._0x5d6482,0x332,0x4ce)),'meta':{..._0x974b6a[_0x3a6806(_0x260878._0x318b33,_0x260878._0x3e7009,0x584,0x711)],'truncated':!![],'originalBytes':_0x2ca57a,'transforms':[..._0x974b6a[_0x20746c(0x356,_0x260878._0xa4cae2,0x364,_0x260878._0x2038e6)][_0x20746c(_0x260878._0x57901d,0x82,0x221,0x165)],_0x20746c(_0x260878._0x511b4a,_0x260878._0x5418d5,0x16b,_0x260878._0x264bb8)]}};}const _0x236a09=_0x974b6a[_0x3a6806(0x407,_0x260878._0x1c4eb2,_0x260878._0x5e6e79,0x50c)]+'_'+sanitizeFileName(_0x974b6a[_0x3a6806(0x319,_0x260878._0x23551a,_0x260878._0x3b4371,_0x260878._0x4e3e74)])+_0x3a6806(_0x260878._0x385920,0x407,_0x260878._0x105b43,_0x260878._0x4a944d),_0x2d73ac=_0x44b94d[_0x20746c(_0x260878._0x103bfb,_0x260878._0x6059d0,_0x260878._0x574ded,0x29b)](_0x634d37,_0x236a09);await _0x1121be(_0x634d37,{'recursive':!![]});function _0x20746c(_0x5e0877,_0x236d49,_0x4b5b1d,_0xfa71b8){return _0x511d68(_0x5e0877-_0x1064e6._0x55c06f,_0xfa71b8- -_0x1064e6._0x55d300,_0x4b5b1d-0xea,_0x4b5b1d);}await _0x5dd3d3(_0x2d73ac,_0x974b6a[_0x3a6806(0x308,0x446,_0x260878._0x18a56b,_0x260878._0x2a0381)],'utf8');let _0x2d6b21=_0x974b6a['output'][_0x20746c(_0x260878._0x19b77c,-0x54,-_0x260878._0x33819c,_0x260878._0x562833)](0x0,_0x2521c1);const _0x2d942e=_0x2d6b21[_0x3a6806(0x377,_0x260878._0x1d2249,_0x260878._0x46bdfd,0x4f0)]('\x0a');_0x2d942e>_0x2521c1*0.5&&(_0x2d6b21=_0x2d6b21['slice'](0x0,_0x2d942e));const _0x4d8388=['',_0x20746c(_0x260878._0x51c831,_0x260878._0x3076bf,_0x260878._0xa1bf3b,0x1f8),_0x20746c(_0x260878._0x48a375,-_0x260878._0x453414,_0x260878._0x21bf49,-0x12)+_0x2521c1+_0x20746c(0x25e,_0x260878._0x2f7c99,0x189,_0x260878._0x864b0c)+_0x2ca57a+'\x20bytes).',_0x3a6806(_0x260878._0x1ed875,0x3a6,0x48e,_0x260878._0x419b70)+_0x2d73ac,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x20746c(_0x260878._0x1f77a3,_0x260878._0x41b979,0x324,_0x260878._0x3ae691)]['join']('\x0a');return{..._0x974b6a,'output':_0x2d6b21+_0x4d8388,'meta':{..._0x974b6a[_0x3a6806(_0x260878._0x2ee83c,_0x260878._0x5297cc,0x49d,0x6fe)],'truncated':!![],'originalBytes':_0x2ca57a,'transforms':[..._0x974b6a['meta'][_0x20746c(_0x260878._0x1be31b,_0x260878._0x56698a,0x23b,_0x260878._0x435628)],_0x3a6806(0x5f6,0x63d,0x679,_0x260878._0x5f296e)]}};}function createUpdateTopicTool(){const _0x528720={_0x592f10:0x11,_0x2e434c:0x6b,_0x364d6b:0x164,_0x5a192d:0x219,_0x3523f5:0x1f6,_0x220b20:0x2dd,_0x2d93cf:0x3bb,_0x686e8e:0x570,_0x5069a7:0x31e,_0x37cc54:0x1ae,_0x576d0d:0x195,_0x4cfeac:0x4c0,_0x4f0e23:0x3cd,_0x44a171:0x443},_0x47d556={_0x58870f:0x635,_0x50275d:0x57e,_0x2464e7:0x741,_0x20ca31:0x607,_0x307e86:0x82,_0x1de918:0x26c,_0x64d0df:0x625,_0x25d8ae:0x4d2,_0x3a96fb:0x626,_0x990aea:0x122,_0x76c163:0xdd,_0x26e0cc:0x173,_0x1da339:0x4b},_0x326935={_0x18f41e:0x2e,_0xf861c8:0x118},_0x31b55a={_0x366272:0x46},_0x58055b={_0x476277:0x4f,_0x4af21f:0x72,_0x3e4788:0x61};function _0x3312ef(_0x592f41,_0xd839a7,_0x40fe3e,_0x2951c0){return _0x475ba1(_0x40fe3e,_0x2951c0- -_0x58055b._0x476277,_0x40fe3e-_0x58055b._0x4af21f,_0x2951c0-_0x58055b._0x3e4788);}function _0x57a0a6(_0x554fde,_0x48b0bd,_0x272c95,_0x8f964f){return _0x475ba1(_0x554fde,_0x8f964f-0x2b8,_0x272c95-0x1a9,_0x8f964f-_0x31b55a._0x366272);}return defineTool({'name':_0x3312ef(-_0x528720._0x592f10,_0x528720._0x2e434c,-_0x528720._0x364d6b,-0x2a),'description':_0x57a0a6(_0x528720._0x5a192d,_0x528720._0x3523f5,_0x528720._0x220b20,0x30e),'inputSchema':{'type':_0x57a0a6(_0x528720._0x2d93cf,_0x528720._0x686e8e,_0x528720._0x5069a7,0x47e),'properties':{'topic':{'type':_0x3312ef(0x6b,_0x528720._0x37cc54,_0x528720._0x576d0d,0x12e)}},'required':[_0x57a0a6(_0x528720._0x4cfeac,0x5b7,_0x528720._0x4f0e23,_0x528720._0x44a171)]},async *'execute'(_0x2f5c7f,_0x143c94){const _0x2ce6aa={_0x462305:0x55e};function _0x53bcfd(_0x45c976,_0x3425a9,_0x5daf25,_0x1b347e){return _0x3312ef(_0x45c976-0x1cd,_0x3425a9-0x189,_0x1b347e,_0x45c976-_0x2ce6aa._0x462305);}const {topic:_0x113948}=_0x2f5c7f;if(typeof _0x113948!==_0x2c5471(0x2ef,0x236,0x246,0x1c0)||_0x113948[_0x53bcfd(_0x47d556._0x58870f,_0x47d556._0x50275d,_0x47d556._0x2464e7,_0x47d556._0x20ca31)]()[_0x2c5471(_0x47d556._0x307e86,0x260,0x18a,_0x47d556._0x1de918)]===0x0)throw new ToolExecutionError(_0x53bcfd(_0x47d556._0x64d0df,0x533,_0x47d556._0x25d8ae,0x62f),{'error':'invalid_topic'});const _0x10c3c4=_0x113948['trim']();function _0x2c5471(_0x3cd9cf,_0x3e5f6f,_0x13a9ce,_0x529fb1){return _0x3312ef(_0x3cd9cf-_0x326935._0x18f41e,_0x3e5f6f-0x55,_0x3cd9cf,_0x13a9ce-_0x326935._0xf861c8);}return _0x143c94[_0x53bcfd(_0x47d556._0x3a96fb,0x713,0x4d6,0x720)]?.(_0x10c3c4),yield createToolOutput(_0x2c5471(_0x47d556._0x990aea,_0x47d556._0x76c163,_0x47d556._0x26e0cc,_0x47d556._0x1da339)+_0x10c3c4+'\x22',{'topic':_0x10c3c4}),void 0x0;}});}import{readFile as _0x114984,stat as _0x1be9c6}from'fs/promises';import*as _0x35de26 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x475ba1(0xa5,0x19f,0x1bb,0x1e2),_0x511d68(0x80d,0x6e4,0x80e,0x833),_0x475ba1(0x2,0x4a,-0x4f,0x74)]),PNG_SIGNATURE=Buffer[_0x475ba1(0x2d7,0x210,0x9e,0xbd)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x2ff3ab,_0x8d6093){const _0x2fb211={_0x5d4714:0x28e,_0x536e22:0x517,_0x4c7d35:0x720,_0x4018e3:0x626,_0xbcd5ba:0x2e2,_0x11e2e3:0x2dd,_0x40e59a:0x1fa,_0x4b88e5:0x1cf,_0x5c257:0x1ef,_0x3d94c6:0x2ae,_0x5e8715:0x476,_0x32f491:0x58a,_0x531d38:0x550,_0x3c103e:0x3fa,_0x1c8ba7:0x1f5,_0x5d50a7:0x2f4,_0x3ac8c2:0x654,_0x23c5bd:0x550,_0x5abd1b:0x1af,_0x2e6a54:0x1cf,_0x2ad567:0x2d9,_0x5d4252:0x3f1,_0x45389e:0x508,_0xa7d285:0x553,_0x19d46a:0x381,_0x52c942:0x223,_0x4ca0f6:0x39b,_0x5a382a:0x24c,_0x3750ee:0x2e1,_0x1ea41:0x45c,_0x318f72:0x465,_0x149584:0x4b6,_0x4d735f:0x5ff,_0x480819:0x4fc,_0x1bc0c4:0x401,_0x446406:0x345,_0x24b32e:0x595},_0x640802={_0x276fdf:0x404,_0x3a6e0c:0x11a};if(_0x2ff3ab['subarray'](0x0,0x8)[_0x256fac(0xb0,0x161,0x19f,_0x2fb211._0x5d4714)](PNG_SIGNATURE))return _0x451ede(_0x2fb211._0x536e22,0x6a9,_0x2fb211._0x4c7d35,_0x2fb211._0x4018e3);if(_0x2ff3ab[0x0]===0xff&&_0x2ff3ab[0x1]===0xd8&&_0x2ff3ab[0x2]===0xff)return _0x256fac(_0x2fb211._0xbcd5ba,0x162,0x1bd,0x2df);const _0x3d458c=_0x2ff3ab[_0x451ede(0x4a6,0x43b,0x3ae,0x41d)](0x0,0x6)[_0x256fac(0x2d6,_0x2fb211._0x11e2e3,0x314,0x433)](_0x256fac(_0x2fb211._0x40e59a,0x13a,_0x2fb211._0x4b88e5,0x188));if(_0x3d458c==='GIF87a'||_0x3d458c===_0x256fac(_0x2fb211._0x5c257,0x2d2,0x2a6,_0x2fb211._0x3d94c6))return _0x256fac(0x31b,0x462,_0x2fb211._0x5e8715,0x4a7);function _0x451ede(_0x5cf38a,_0x209787,_0x43c338,_0x325539){return _0x475ba1(_0x5cf38a,_0x325539-_0x640802._0x276fdf,_0x43c338-0x4f,_0x325539-_0x640802._0x3a6e0c);}if(_0x2ff3ab['subarray'](0x0,0x4)[_0x451ede(0x536,_0x2fb211._0x32f491,0x5db,_0x2fb211._0x531d38)](_0x451ede(_0x2fb211._0x3c103e,0x43e,0x313,0x40b))===_0x256fac(0x31c,_0x2fb211._0x1c8ba7,_0x2fb211._0x5d50a7,0x363)&&_0x2ff3ab['subarray'](0x8,0xc)[_0x451ede(0x68a,0x520,_0x2fb211._0x3ac8c2,_0x2fb211._0x23c5bd)](_0x256fac(_0x2fb211._0x5abd1b,0x122,_0x2fb211._0x2e6a54,_0x2fb211._0x2ad567))===_0x256fac(_0x2fb211._0x5d4252,0x1a8,0x324,0x2ae))return _0x451ede(0x5d2,0x418,_0x2fb211._0x45389e,_0x2fb211._0xa7d285);const _0x15330e=_0x35de26[_0x256fac(_0x2fb211._0x19d46a,_0x2fb211._0x52c942,_0x2fb211._0x4ca0f6,_0x2fb211._0x5a382a)](_0x8d6093)['toLowerCase']();if(_0x15330e===_0x256fac(0x43a,_0x2fb211._0x3750ee,_0x2fb211._0x1ea41,0x3d1))return _0x256fac(0x4f6,0x3c8,0x3ea,_0x2fb211._0x318f72);if(_0x15330e===_0x451ede(_0x2fb211._0x149584,0x534,_0x2fb211._0x4d735f,0x500)||_0x15330e===_0x451ede(_0x2fb211._0x480819,0x482,_0x2fb211._0x1bc0c4,0x467))return _0x451ede(0x43f,0x533,0x4f7,0x3f9);if(_0x15330e==='.gif')return _0x256fac(_0x2fb211._0x446406,_0x2fb211._0x24b32e,0x476,0x5d9);if(_0x15330e==='.webp')return'image/webp';function _0x256fac(_0x2c4ea5,_0x3498a6,_0x1519a9,_0x685e35){return _0x511d68(_0x2c4ea5-0xcd,_0x1519a9- -0x285,_0x1519a9-0xe3,_0x3498a6);}return void 0x0;}function normalizeDetail(_0x85a0f7){const _0x20c42a={_0xf129c7:0x360,_0x5ccf52:0x13f,_0xcdfe47:0x13b,_0x3cf59f:0x16c,_0x501889:0x274,_0x404ef5:0x36d,_0x53eeec:0x198,_0x56ee10:0x273,_0x173da1:0x2f5},_0x232166={_0x3bf614:0x5e},_0x3820cf={_0x43f78a:0x105};if(_0x85a0f7===void 0x0)return void 0x0;const _0x1d54ba=_0x85a0f7[_0x3c3ed5(_0x20c42a._0xf129c7,_0x20c42a._0x5ccf52,0x22b,0x213)]()['toLowerCase']();if(!SUPPORTED_DETAILS[_0x3c3ed5(_0x20c42a._0xcdfe47,_0x20c42a._0x3cf59f,_0x20c42a._0x501889,_0x20c42a._0x404ef5)](_0x1d54ba))throw new ToolExecutionError(_0x3c3ed5(0x1e5,_0x20c42a._0x53eeec,_0x20c42a._0x56ee10,_0x20c42a._0x173da1)+_0x85a0f7,{'detail':_0x85a0f7});function _0x3c3ed5(_0xfd69c0,_0x10aa5c,_0x31efec,_0x13f71d){return _0x475ba1(_0x13f71d,_0x31efec-_0x3820cf._0x43f78a,_0x31efec-0x95,_0x13f71d-0x4f);}function _0x4d973d(_0x1b1629,_0x5d6493,_0x5a0238,_0x49a21d){return _0x475ba1(_0x5d6493,_0x5a0238- -0x19b,_0x5a0238-_0x232166._0x3bf614,_0x49a21d-0xc7);}return _0x1d54ba;}function createViewFileTool(_0x5b5ac3={}){const _0x33fcd9={_0x15e434:0x1e8,_0x23006a:0x85,_0x6c4c10:0x104,_0x105187:0x4f5,_0x26deac:0x388,_0x17360c:0x25e,_0x410b7c:0x289,_0x42290d:0x283,_0x3a09b5:0x29f,_0x46ab4c:0x2fd,_0xe7425c:0x45e,_0x4e2313:0x184},_0x57a580={_0x5249fe:0x576,_0x2e5fae:0x4b6,_0x506d2e:0x419,_0x455492:0x2fd,_0x582486:0x41d,_0x40f912:0x4bb,_0x3f2a9d:0x407,_0x629e67:0x538,_0x3b1467:0x682,_0x27ad34:0x359,_0x1dc571:0x576,_0x360652:0x6dc,_0xb45cfe:0x45f,_0x2b9d23:0x31a,_0x395db7:0x4a4,_0x447a0d:0x3ad,_0x25748f:0x2d6,_0x3bbe59:0x435,_0x4b9549:0x2b0,_0x43907c:0x356,_0x478d96:0x285,_0x5819bf:0x4e0,_0x1c0cfd:0x44a,_0x62518e:0x4a7,_0x5dfba6:0x4ef,_0x125925:0x56a,_0x2bb3c7:0x322,_0x3edd1f:0x537,_0x4702e8:0x323,_0x1ff6cd:0x3e3,_0x54d470:0x444,_0x4de05b:0x2f8,_0x9e3576:0x351,_0x282114:0x3f6,_0x45dc98:0x306,_0x3d6a9f:0x1b6,_0xa8248:0x38a,_0x5e6184:0x47c,_0x845110:0x1af,_0x261793:0x47b,_0x1779f5:0x302,_0x1a1408:0x5bb,_0x4625df:0x64e,_0xbd76b1:0x508,_0xc4cda6:0x49c,_0x32f6db:0x56f,_0x2b5c54:0x42d,_0xdf21e6:0x398,_0x4a7981:0x4c8,_0x5d0237:0x57e,_0x3065b9:0x673,_0x371c53:0x49b,_0x5f250b:0xa0,_0x5d2c22:0x2fc,_0x294df0:0x168,_0x3495ab:0x2d1,_0x12b432:0x44a,_0x4d8a57:0x443,_0xcb1cb3:0x6f2,_0x21dbe1:0x4f9},_0x5b7869={_0x582e39:0x1b},_0x2b55c5={_0x55fce6:0x19b},_0x5ccba8={_0x2a85fe:0xf2};function _0x52178c(_0x46f01e,_0xfac6cb,_0x41374f,_0x2ffc6e){return _0x511d68(_0x46f01e-0x1c3,_0x46f01e- -0x28f,_0x41374f-_0x5ccba8._0x2a85fe,_0xfac6cb);}const _0x1ae245=_0x35de26[_0x12b2d1(0x100,_0x33fcd9._0x15e434,0x16d,0x5e)](_0x5b5ac3[_0x12b2d1(0xf0,-_0x33fcd9._0x23006a,0x1df,_0x33fcd9._0x6c4c10)]??process[_0x52178c(0x3fb,0x29d,_0x33fcd9._0x105187,_0x33fcd9._0x26deac)]()),_0x5e64fb=_0x5b5ac3[_0x12b2d1(_0x33fcd9._0x17360c,_0x33fcd9._0x410b7c,0x2f4,0x320)]??[];function _0x12b2d1(_0x45ec29,_0x458ebc,_0xf8fa34,_0x225cb6){return _0x475ba1(_0xf8fa34,_0x45ec29-0x137,_0xf8fa34-0x1a,_0x225cb6-_0x2b55c5._0x55fce6);}const _0x2565e3=_0x5b5ac3['maxBytes']??DEFAULT_MAX_BYTES,_0x7c1c73=_0x5b5ac3['name']??_0x12b2d1(0x3f6,0x420,_0x33fcd9._0x42290d,0x45d);return defineTool({'name':_0x7c1c73,'description':_0x12b2d1(_0x33fcd9._0x3a09b5,0x37f,0x3bc,0x405),'inputSchema':{'type':_0x12b2d1(_0x33fcd9._0x46ab4c,_0x33fcd9._0xe7425c,_0x33fcd9._0x4e2313,0x1bc),'properties':{'path':{'type':_0x12b2d1(0x2b4,0x1c6,0x2ab,0x402)},'detail':{'type':_0x52178c(0x33b,_0x33fcd9._0xe7425c,0x49d,0x303)}},'required':['path']},async *'execute'(_0x43ebd9){const _0x518630={_0x20f8d8:0x6c},_0x39c3a3=resolveAllowedPath(_0x1ae245,_0x5e64fb,_0x43ebd9[_0x105da7(_0x57a580._0x5249fe,0x4ba,_0x57a580._0x2e5fae,0x60f)]);await assertWorkspaceFile(_0x39c3a3);const _0xa461fd=await _0x1be9c6(_0x39c3a3);if(_0xa461fd['size']>_0x2565e3)throw new ToolExecutionError(_0x47b492(0x2ed,0x234,_0x57a580._0x506d2e,0x370)+_0x43ebd9[_0x47b492(_0x57a580._0x455492,_0x57a580._0x582486,_0x57a580._0x40f912,_0x57a580._0x3f2a9d)],{'path':_0x43ebd9[_0x105da7(_0x57a580._0x5249fe,_0x57a580._0x629e67,_0x57a580._0x3b1467,0x488)],'maxBytes':_0x2565e3,'size':_0xa461fd['size']});const _0x36872b=await _0x114984(_0x39c3a3),_0x5aaa6f=detectImageMediaType(_0x36872b,_0x39c3a3);function _0x105da7(_0xaf6572,_0x4e00d3,_0x397ffd,_0x3431d0){return _0x52178c(_0xaf6572-0x167,_0x3431d0,_0x397ffd-0x3f,_0x3431d0-_0x518630._0x20f8d8);}if(!_0x5aaa6f)throw new ToolExecutionError(_0x105da7(0x2e4,0x2ad,_0x57a580._0x27ad34,0x1ba)+_0x43ebd9['path'],{'path':_0x43ebd9[_0x105da7(_0x57a580._0x1dc571,_0x57a580._0x360652,0x4a5,_0x57a580._0xb45cfe)],'supported':[_0x47b492(0x39f,0x1c5,0x23c,_0x57a580._0x2b9d23),_0x105da7(0x388,_0x57a580._0x395db7,0x401,_0x57a580._0x447a0d),_0x47b492(_0x57a580._0x25748f,0x160,_0x57a580._0x3bbe59,0x2b2),_0x105da7(0x5b9,0x48c,0x577,0x474),'.webp']});const _0x534f3b=normalizeDetail(_0x43ebd9[_0x105da7(0x384,_0x57a580._0x4b9549,0x233,_0x57a580._0x25748f)]),_0x2a0465=[_0x47b492(_0x57a580._0x43907c,_0x57a580._0x478d96,0x267,0x1fc)+_0x43ebd9[_0x105da7(0x576,_0x57a580._0x5819bf,_0x57a580._0x1c0cfd,_0x57a580._0x62518e)],_0x105da7(0x5ca,_0x57a580._0x5dfba6,_0x57a580._0x125925,0x600)+_0x5aaa6f,_0x47b492(0x54a,0x367,0x462,0x3ed)+_0xa461fd[_0x47b492(_0x57a580._0x2bb3c7,0x31d,_0x57a580._0x3edd1f,0x443)]+'\x20bytes'][_0x47b492(_0x57a580._0x4702e8,0x21b,0x332,0x256)](_0x534f3b?[_0x105da7(0x3e4,_0x57a580._0x1ff6cd,_0x57a580._0x54d470,_0x57a580._0x4de05b)+_0x534f3b]:[])[_0x47b492(_0x57a580._0x9e3576,0x395,0x410,0x45f)]('\x0a');function _0x47b492(_0x332979,_0x503003,_0x25f0cd,_0x2dab5e){return _0x52178c(_0x2dab5e- -0x8,_0x332979,_0x25f0cd-_0x5b7869._0x582e39,_0x2dab5e-0xf6);}const _0x36101f=[{'type':_0x47b492(_0x57a580._0x282114,_0x57a580._0x45dc98,_0x57a580._0x3d6a9f,0x2a9),'source':{'type':_0x47b492(_0x57a580._0xa8248,0x3bb,0x37d,0x44c),'media_type':_0x5aaa6f,'data':_0x36872b[_0x47b492(_0x57a580._0x5e6184,_0x57a580._0x845110,_0x57a580._0x261793,_0x57a580._0x1779f5)](_0x105da7(_0x57a580._0x1a1408,_0x57a580._0x4625df,_0x57a580._0xbd76b1,0x51a))}},{'type':_0x105da7(0x48a,_0x57a580._0xc4cda6,0x4d7,_0x57a580._0x32f6db),'text':_0x2a0465}];return yield createToolOutput(_0x2a0465,{'path':_0x43ebd9[_0x47b492(0x53f,_0x57a580._0x2b5c54,_0x57a580._0xdf21e6,0x407)],'resolvedPath':_0x39c3a3,'created':_0xa461fd[_0x105da7(0x54f,0x46b,_0x57a580._0x4a7981,0x59c)][_0x105da7(_0x57a580._0x5d0237,_0x57a580._0x3065b9,_0x57a580._0x371c53,0x66d)](),'modified':_0xa461fd[_0x47b492(_0x57a580._0x5f250b,_0x57a580._0x5d2c22,_0x57a580._0x294df0,0x1ae)][_0x47b492(0x510,_0x57a580._0x3495ab,0x53d,0x40f)](),'size':_0xa461fd[_0x47b492(0x509,_0x57a580._0x12b432,0x599,_0x57a580._0x4d8a57)],'mimeType':_0x5aaa6f,'encoding':_0x105da7(0x5bb,_0x57a580._0xcb1cb3,0x5a9,_0x57a580._0x21dbe1),..._0x534f3b?{'detail':_0x534f3b}:{}},_0x36101f),void 0x0;}});}import _0x4327c5 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x5a3668=>{const _0x1df9c5={_0x175758:0x3ef,_0x49157d:0x3b4},{lookup:_0x722564}=await import(_0x27e53c(_0x1df9c5._0x175758,0x22f,_0x1df9c5._0x49157d,0x2cd));function _0x27e53c(_0xbf3074,_0x3e8f1c,_0x5b922a,_0x1d7d5c){return _0x475ba1(_0xbf3074,_0x5b922a-0x2bf,_0x5b922a-0x12d,_0x1d7d5c-0x59);}return _0x722564(_0x5a3668,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x1a2381){const _0x4a0838={_0x1e4539:0x351,_0x6b8ced:0xb2,_0x2dc213:0x3ee,_0x47e616:0x3ae,_0x2e70f4:0x34e,_0x34d898:0x288},_0x30cf8c={_0xf90840:0xfe,_0x185206:0xd5},_0x48fe7a={_0x3e52cc:0x1a9,_0x2dd933:0x169},_0x1a888e=_0x1a2381[_0x2292af(0x3e1,0x4ba,0x3e0,_0x4a0838._0x1e4539)]('.');if(_0x1a888e[_0x559880(0x46,0x1bf,_0x4a0838._0x6b8ced,0x290)]!==0x4)return null;function _0x2292af(_0x2f927f,_0x4b9fe2,_0x2011c9,_0x38a3da){return _0x475ba1(_0x2f927f,_0x4b9fe2-0x285,_0x2011c9-_0x48fe7a._0x3e52cc,_0x38a3da-_0x48fe7a._0x2dd933);}function _0x559880(_0x1b5af7,_0x286598,_0xb2f672,_0x478dea){return _0x475ba1(_0x1b5af7,_0x286598-_0x30cf8c._0xf90840,_0xb2f672-_0x30cf8c._0x185206,_0x478dea-0x56);}let _0x519d3e=0x0;for(const _0x2b146c of _0x1a888e){if(!/^\d{1,3}$/[_0x559880(_0x4a0838._0x2dc213,_0x4a0838._0x47e616,_0x4a0838._0x2e70f4,_0x4a0838._0x34d898)](_0x2b146c))return null;const _0x5503a9=Number(_0x2b146c);if(_0x5503a9>0xff)return null;_0x519d3e=_0x519d3e*0x100+_0x5503a9;}return _0x519d3e>>>0x0;}function isBlockedIpv4(_0x3d9993){const _0x3be628={_0x1def54:0x2ce,_0x4a55d7:0x3ce,_0x36b730:0x60,_0x385c95:0x1,_0x2db390:0x23e,_0x57301a:0x6f,_0x40bf46:0x3a1,_0xe9c5f6:0x27a,_0x4e5b08:0x141,_0x110a80:0x381,_0x41c938:0x304,_0x28a970:0x299,_0x6f1098:0x34d},_0x4f9e6f={_0x15cb46:0x573,_0x1e5ac2:0x16e},_0x29209e={_0x208f49:0x5e,_0x29ba34:0x2ce,_0x59fb83:0x141},_0x4e48ec=ipv4ToInt(_0x3d9993);function _0x366516(_0x186869,_0x29e577,_0xb6f479,_0x25c042){return _0x511d68(_0x186869-_0x29209e._0x208f49,_0x29e577- -_0x29209e._0x29ba34,_0xb6f479-_0x29209e._0x59fb83,_0xb6f479);}if(_0x4e48ec===null)return!![];function _0x2be8ff(_0x2d3db4,_0x456e94,_0x1ac259,_0x5d35ae){return _0x511d68(_0x2d3db4-0x65,_0x1ac259- -_0x4f9e6f._0x15cb46,_0x1ac259-_0x4f9e6f._0x1e5ac2,_0x2d3db4);}const _0x268802=(_0x915ca4,_0x2ec056)=>{const _0xbfe12a=ipv4ToInt(_0x915ca4);if(_0xbfe12a===null)return![];const _0x201f50=_0x2ec056===0x0?0x0:0xffffffff<<0x20-_0x2ec056>>>0x0;return(_0x4e48ec&_0x201f50)===(_0xbfe12a&_0x201f50);};return _0x268802('0.0.0.0',0x8)||_0x268802(_0x366516(_0x3be628._0x1def54,0x402,0x533,_0x3be628._0x4a55d7),0x8)||_0x268802(_0x2be8ff(0x125,_0x3be628._0x36b730,-_0x3be628._0x385c95,-0x176),0xa)||_0x268802(_0x2be8ff(0x28b,_0x3be628._0x2db390,0x17c,0x19),0x8)||_0x268802(_0x2be8ff(0x7e,0x4b,_0x3be628._0x57301a,-0x51),0x10)||_0x268802('172.16.0.0',0xc)||_0x268802(_0x366516(_0x3be628._0x40bf46,_0x3be628._0xe9c5f6,_0x3be628._0x4e5b08,_0x3be628._0x110a80),0x18)||_0x268802('192.168.0.0',0x10)||_0x268802(_0x366516(0xc2,0x203,0xb2,_0x3be628._0x41c938),0xf)||_0x268802(_0x366516(0x3e1,_0x3be628._0x28a970,0x144,_0x3be628._0x6f1098),0x4)||_0x268802('240.0.0.0',0x4);}function expandIpv6(_0x9b8cd){const _0x3c11c8={_0x33b58e:0x31f,_0x4f0620:0x3ff,_0x9d6243:0x40f,_0x445e0f:0x247,_0x468d0f:0x24a,_0x2e5198:0x507,_0x3bc444:0x641,_0x94067:0x3e3,_0x51ae18:0x2a4,_0x5a99a0:0x4fa,_0x3bb1d1:0x38d,_0x225caa:0x29c,_0x2639f4:0x23a,_0x3a0bde:0x384,_0x48873b:0x2f4,_0x1ffa52:0x393,_0x16047f:0x404,_0x111e0d:0x2c5,_0x1baf49:0x4a1,_0x3fbad4:0x47d,_0x306702:0x2c3,_0x267a7d:0x38d,_0x1b6354:0x3d3},_0x3ce0fa={_0x5eed4a:0x36},_0x174ac9={_0x54c115:0x2d2,_0x3eb6c5:0x4e};let _0x537512=_0x9b8cd,_0x4df873;const _0x48a69a=_0x537512['lastIndexOf'](':');_0x537512[_0x33ad27(_0x3c11c8._0x33b58e,0x35a,0x471,_0x3c11c8._0x4f0620)](_0x48a69a+0x1)[_0x33ad27(0x2fc,_0x3c11c8._0x9d6243,_0x3c11c8._0x445e0f,0x1cf)]('.')&&(_0x4df873=_0x537512[_0x318a00(0x214,0x3ff,_0x3c11c8._0x468d0f,0x319)](_0x48a69a+0x1),_0x537512=_0x537512['slice'](0x0,_0x48a69a+0x1));const _0x561bf5=_0x537512[_0x33ad27(_0x3c11c8._0x2e5198,0x50f,_0x3c11c8._0x3bc444,0x535)]('::');if(_0x561bf5[_0x33ad27(0x393,_0x3c11c8._0x94067,0x4ef,0x450)]>0x2)return null;const _0x1e741d=_0x3fe739=>_0x3fe739['split'](':')[_0x318a00(0x235,0x2dc,0x2e6,0x349)](_0x1c687b=>_0x1c687b['length']>0x0)[_0x318a00(0x374,0x2a4,0x4b1,0x3d2)](_0x568615=>Number[_0x33ad27(0x341,0x438,0x1e7,0x23e)](_0x568615,0x10)),_0x34808c=_0x561bf5[0x0]?_0x1e741d(_0x561bf5[0x0]):[],_0x4ce719=_0x561bf5[_0x318a00(_0x3c11c8._0x51ae18,_0x3c11c8._0x5a99a0,0x443,_0x3c11c8._0x3bb1d1)]===0x2&&_0x561bf5[0x1]?_0x1e741d(_0x561bf5[0x1]):[],_0x31d048=[];if(_0x4df873){const _0x5aa906=ipv4ToInt(_0x4df873);if(_0x5aa906===null)return null;_0x31d048[_0x33ad27(_0x3c11c8._0x225caa,_0x3c11c8._0x2639f4,_0x3c11c8._0x3a0bde,_0x3c11c8._0x48873b)](_0x5aa906>>>0x10&0xffff,_0x5aa906&0xffff);}const _0x6d99b5=[..._0x4ce719,..._0x31d048];function _0x33ad27(_0xd81432,_0x51dc8a,_0xcc2303,_0x25bfea){return _0x475ba1(_0x25bfea,_0xd81432-_0x174ac9._0x54c115,_0xcc2303-_0x174ac9._0x3eb6c5,_0x25bfea-0x169);}function _0x318a00(_0x227994,_0x324d19,_0x1f56b5,_0x57788a){return _0x511d68(_0x227994-_0x3ce0fa._0x5eed4a,_0x57788a- -0x181,_0x1f56b5-0x1ab,_0x1f56b5);}const _0x2f33ca=0x8-_0x34808c['length']-_0x6d99b5['length'];if(_0x561bf5[_0x33ad27(_0x3c11c8._0x1ffa52,0x3a2,_0x3c11c8._0x16047f,_0x3c11c8._0x111e0d)]===0x1)return _0x34808c[_0x33ad27(_0x3c11c8._0x1ffa52,0x36a,_0x3c11c8._0x1baf49,_0x3c11c8._0x3fbad4)]+_0x6d99b5[_0x318a00(0x249,0x512,_0x3c11c8._0x306702,_0x3c11c8._0x267a7d)]===0x8?[..._0x34808c,..._0x6d99b5]:null;if(_0x2f33ca<0x0)return null;return[..._0x34808c,...new Array(_0x2f33ca)[_0x318a00(0x44c,_0x3c11c8._0x1b6354,0x283,0x31b)](0x0),..._0x6d99b5];}function isBlockedIpv6(_0x4d3bf7){const _0x1b8361={_0x5e00bc:0x255,_0x86f881:0x92,_0x1fcbfa:0x362,_0xbc745b:0x339,_0x590a8d:0x227,_0x537a7e:0x178,_0x47d4c5:0x28e,_0x5d9a14:0x2a2},_0x227551={_0x535a75:0x11c,_0xad3cbd:0x408,_0x43fafa:0x1d1},_0x442002=expandIpv6(_0x4d3bf7);if(!_0x442002||_0x442002[_0x47a9be(0x257,0xc7,0x21c,_0x1b8361._0x5e00bc)](_0x37fbb0=>Number[_0x3802e6(-0x65,-0x120,0x16,-0x1f7)](_0x37fbb0)))return!![];const _0x9ef9c3=_0x442002[_0x47a9be(0x1bb,-0x9a,_0x1b8361._0x86f881,0x169)](0x0,0x7)['every'](_0x47e220=>_0x47e220===0x0);if(_0x9ef9c3&&(_0x442002[0x7]===0x0||_0x442002[0x7]===0x1))return!![];if(_0x442002['slice'](0x0,0x5)[_0x47a9be(_0x1b8361._0x1fcbfa,0x2bf,0x250,_0x1b8361._0xbc745b)](_0x15f014=>_0x15f014===0x0)&&(_0x442002[0x5]===0xffff||_0x442002[0x5]===0x0)){const _0x315d6f=(_0x442002[0x6]<<0x10|_0x442002[0x7])>>>0x0,_0x36d386=[_0x315d6f>>>0x18&0xff,_0x315d6f>>>0x10&0xff,_0x315d6f>>>0x8&0xff,_0x315d6f&0xff][_0x3802e6(_0x1b8361._0x590a8d,_0x1b8361._0x537a7e,_0x1b8361._0x47d4c5,_0x1b8361._0x5d9a14)]('.');return isBlockedIpv4(_0x36d386);}function _0x47a9be(_0x362bb0,_0x272f0b,_0x2c3217,_0x4d2f8e){return _0x511d68(_0x362bb0-_0x227551._0x535a75,_0x2c3217- -_0x227551._0xad3cbd,_0x2c3217-_0x227551._0x43fafa,_0x272f0b);}function _0x3802e6(_0x413970,_0x1256f1,_0x2e1ed5,_0x9c8018){return _0x475ba1(_0x413970,_0x1256f1- -0x131,_0x2e1ed5-0x1e1,_0x9c8018-0x1bd);}const _0x592e5e=_0x442002[0x0];if((_0x592e5e&0xff00)===0xfc00||(_0x592e5e&0xfe00)===0xfc00)return!![];if((_0x592e5e&0xffc0)===0xfe80)return!![];if((_0x592e5e&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x72c637){const _0x1c954d=isIP(_0x72c637);if(_0x1c954d===0x4)return isBlockedIpv4(_0x72c637);if(_0x1c954d===0x6)return isBlockedIpv6(_0x72c637);return!![];}async function assertPublicUrl(_0x53ece6,_0x3f4041={}){const _0x2af81c={_0x5e9cb9:0x193,_0x5266ce:0x438,_0x547be1:0x546,_0x53430d:0x438,_0x2b1a15:0x400,_0x4db185:0x431,_0x4204d5:0x3fd,_0x41b262:0x422,_0x5cef86:0x2ef,_0x1a15e8:0x3ee,_0x534d20:0x432,_0x1e7849:0x3a9,_0x2dac21:0x41b,_0x3458bd:0x55d,_0x242b47:0x5fa,_0x114d8d:0x683,_0x12b1e1:0x51a,_0x334db2:0x513,_0x31ba4b:0x4f0,_0x2500ae:0x5ff,_0x5ac3d0:0x4a3,_0x31af63:0x37e,_0x200eaf:0x359,_0x3d672a:0x2cd,_0x2ef8b4:0x306,_0x1cecb8:0x3cf,_0x4977e2:0x43a,_0x588a52:0x3c4,_0x12def3:0x4fc,_0x5d63e7:0x403,_0x30107f:0x392},_0x548a8d={_0x187ae2:0x7c,_0x250d14:0x14e},_0x301dab={_0x265d44:0x30e,_0x27ace1:0x1df};let _0x47d670;try{_0x47d670=new URL(_0x53ece6);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x53ece6});}if(_0x47d670['protocol']!==_0x2a656a(0x30f,_0x2af81c._0x5e9cb9,_0x2af81c._0x5266ce,0x3d8)&&_0x47d670[_0x68810(0x53c,_0x2af81c._0x547be1,_0x2af81c._0x53430d,_0x2af81c._0x2b1a15)]!==_0x2a656a(0x580,_0x2af81c._0x4db185,0x5cc,_0x2af81c._0x4204d5))throw new ToolExecutionError(_0x68810(0x333,0x448,_0x2af81c._0x41b262,_0x2af81c._0x5cef86),{'url':_0x53ece6});if(_0x47d670[_0x68810(_0x2af81c._0x1a15e8,0x1e3,0x32f,_0x2af81c._0x534d20)]||_0x47d670[_0x2a656a(0x35f,0x383,0x2cd,_0x2af81c._0x1e7849)])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x47d670[_0x68810(0x2ba,_0x2af81c._0x2dac21,0x438,0x3b8)]+'//'+_0x47d670[_0x2a656a(0x4f0,0x4f7,_0x2af81c._0x3458bd,_0x2af81c._0x242b47)]+_0x47d670['pathname']});const _0x1fed1c=_0x47d670[_0x2a656a(0x508,_0x2af81c._0x114d8d,0x47d,0x663)]['replace'](/^\[|\]$/g,'');function _0x2a656a(_0x18269e,_0x2f0f19,_0x3ff3d6,_0x6d7ed1){return _0x475ba1(_0x2f0f19,_0x18269e-_0x301dab._0x265d44,_0x3ff3d6-_0x301dab._0x27ace1,_0x6d7ed1-0x26);}function _0x68810(_0x42f41f,_0xe3180f,_0x143b90,_0x4adde4){return _0x475ba1(_0xe3180f,_0x143b90-0x22c,_0x143b90-_0x548a8d._0x187ae2,_0x4adde4-_0x548a8d._0x250d14);}const _0x4e55da=_0x47d670[_0x2a656a(_0x2af81c._0x12b1e1,0x654,0x409,_0x2af81c._0x334db2)]+'//'+_0x47d670[_0x2a656a(_0x2af81c._0x31ba4b,_0x2af81c._0x2500ae,_0x2af81c._0x5ac3d0,_0x2af81c._0x31af63)]+_0x47d670['pathname'];if(isIP(_0x1fed1c)){if(isBlockedAddress(_0x1fed1c))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x4e55da});return _0x47d670;}const _0x31314b=_0x3f4041['lookup']??defaultLookup;let _0x46d5f5;try{_0x46d5f5=await _0x31314b(_0x1fed1c);}catch{throw new ToolExecutionError(_0x68810(_0x2af81c._0x200eaf,_0x2af81c._0x3d672a,0x41a,_0x2af81c._0x2ef8b4),{'url':_0x4e55da});}if(_0x46d5f5[_0x2a656a(_0x2af81c._0x1cecb8,_0x2af81c._0x4977e2,0x383,_0x2af81c._0x588a52)]===0x0)throw new ToolExecutionError(_0x2a656a(_0x2af81c._0x12def3,0x4c7,0x379,0x490),{'url':_0x4e55da});for(const {address:_0x1adb38}of _0x46d5f5){if(isBlockedAddress(_0x1adb38))throw new ToolExecutionError(_0x68810(_0x2af81c._0x5d63e7,0x387,0x364,_0x2af81c._0x30107f),{'url':_0x4e55da});}return _0x47d670;}async function safeFetch(_0x32ca79,_0x24ca30={},_0x3eb7dc={}){const _0x18852d={_0x2e975f:0x25a,_0x37a23c:0x3de,_0x3599c5:0x349,_0x461a27:0x282,_0x3733a5:0x3c5,_0x30cca0:0x25b,_0x3c299f:0x2b6,_0x3d69ec:0x377,_0xbb776c:0x2ec,_0x53ea86:0x19a,_0xe9fa18:0x1c4,_0x49c01e:0x37a,_0x39a44d:0x24a,_0x5e8e14:0x3b4},_0x1772bb={_0x1f107b:0x2d0,_0x2174d3:0x125};function _0x12e7de(_0x1c5026,_0x176ce4,_0x18780b,_0x349796){return _0x511d68(_0x1c5026-0x1c0,_0x349796- -_0x1772bb._0x1f107b,_0x18780b-_0x1772bb._0x2174d3,_0x176ce4);}const _0x365d35=_0x3eb7dc[_0x250524(0x42c,_0x18852d._0x2e975f,0x3b9,0x366)]??fetch,_0xbc6191=_0x3eb7dc[_0x250524(_0x18852d._0x37a23c,_0x18852d._0x3599c5,_0x18852d._0x461a27,0x1ee)]??DEFAULT_MAX_REDIRECTS;let _0x345a65=_0x32ca79;function _0x250524(_0x210171,_0x1cfac3,_0x36abc0,_0x3bd897){return _0x511d68(_0x210171-0x1b4,_0x36abc0- -0x31b,_0x36abc0-0x7a,_0x3bd897);}for(let _0x223ff0=0x0;;_0x223ff0+=0x1){const _0x294096=await assertPublicUrl(_0x345a65,_0x3eb7dc),_0x18c75a=await _0x365d35(_0x294096['toString'](),{..._0x24ca30,'redirect':'manual'}),_0x2d933e=_0x18c75a['headers'][_0x250524(_0x18852d._0x3733a5,0x1a4,_0x18852d._0x30cca0,0x17d)]('location');if(!REDIRECT_STATUSES[_0x12e7de(0x20e,_0x18852d._0x3c299f,_0x18852d._0x3d69ec,_0x18852d._0xbb776c)](_0x18c75a[_0x250524(_0x18852d._0x53ea86,_0x18852d._0xe9fa18,0x2e3,0x1c1)])||!_0x2d933e)return _0x18c75a;if(_0x223ff0>=_0xbc6191)throw new ToolExecutionError(_0x250524(0x228,_0x18852d._0x49c01e,_0x18852d._0x39a44d,_0x18852d._0x5e8e14),{'url':_0x294096['toString']()});_0x345a65=new URL(_0x2d933e,_0x294096)['toString']();}}var USER_AGENT=_0x511d68(0x6c1,0x6b9,0x707,0x676),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x30eee9,_0x5627ae){const _0x2fda96={_0x14c5b8:0x2d9,_0x249518:0x279,_0x3cde1c:0x3f3,_0xf27cf4:0x33b,_0x393fbc:0x1e3,_0x2f2e56:0x69,_0x4c28e3:0x21c,_0x50d61d:0x3eb,_0x14272e:0x444,_0x1538d9:0xbf,_0x529db7:0xd9},_0xff5891={_0x2c70bd:0x1f,_0x26a189:0x17,_0x5d54ef:0x52,_0x4b5478:0x11e,_0x39bd41:0x4fb,_0x5664cc:0x3ce},_0x1c8dea={_0x4a4033:0xbe,_0x3c0328:0x239},_0x2af84a={_0x40e853:0x46,_0x107a84:0x3a2,_0x498301:0xbc};function _0xe6c055(_0x21a7ab,_0x349523,_0x204a64,_0x3f14d4){return _0x511d68(_0x21a7ab-_0x2af84a._0x40e853,_0x349523- -_0x2af84a._0x107a84,_0x204a64-_0x2af84a._0x498301,_0x204a64);}const _0x1d120a=new AbortController(),_0x3a7799=setTimeout(()=>_0x1d120a[_0x59e247(0x228,0x1dd,0x1ed,0x28c)](new Error(_0xe6c055(-0x2e,0xe7,0xe,0x20e))),_0x5627ae);function _0x59e247(_0x243c04,_0x1b7366,_0x32b16f,_0x2ba50e){return _0x511d68(_0x243c04-_0x1c8dea._0x4a4033,_0x243c04- -_0x1c8dea._0x3c0328,_0x32b16f-0x25,_0x2ba50e);}const _0x21ee30=()=>_0x1d120a['abort'](_0x30eee9[_0xe6c055(0x1c8,0x85,0x5c,0x101)]);return _0x30eee9[_0x59e247(_0x2fda96._0x14c5b8,_0x2fda96._0x249518,_0x2fda96._0x3cde1c,_0x2fda96._0xf27cf4)]?_0x1d120a[_0x59e247(0x228,0xf9,0x214,_0x2fda96._0x393fbc)](_0x30eee9[_0x59e247(0x1ee,_0x2fda96._0x2f2e56,0x193,_0x2fda96._0x4c28e3)]):_0x30eee9[_0xe6c055(_0x2fda96._0x50d61d,0x32d,_0x2fda96._0x14272e,0x3d5)](_0xe6c055(-0x4c,_0x2fda96._0x1538d9,0xd,_0x2fda96._0x529db7),_0x21ee30,{'once':!![]}),{'signal':_0x1d120a['signal'],'cleanup':()=>{const _0x80524f={_0x35d9c4:0x12c,_0x536a4b:0x91},_0x5400b2={_0x55d926:0x180,_0x397f93:0x1e0};clearTimeout(_0x3a7799);function _0x67c93a(_0x3c8bf6,_0x487abc,_0x372176,_0x1327a5){return _0x59e247(_0x372176- -_0x5400b2._0x55d926,_0x487abc-0x153,_0x372176-_0x5400b2._0x397f93,_0x3c8bf6);}function _0x55de9f(_0xafdfda,_0x56b2de,_0xa1694f,_0x13e421){return _0xe6c055(_0xafdfda-_0x80524f._0x35d9c4,_0x56b2de-0x43c,_0xa1694f,_0x13e421-_0x80524f._0x536a4b);}_0x30eee9[_0x67c93a(-_0xff5891._0x2c70bd,-_0xff5891._0x26a189,_0xff5891._0x5d54ef,-_0xff5891._0x4b5478)](_0x55de9f(0x662,_0xff5891._0x39bd41,_0xff5891._0x5664cc,0x45a),_0x21ee30);}};}function _0x551f(){const _0x269a79=['BM9Zy3jPChq','Aw1Hz2uVCg5N','y2XVC2vbBgW','zgvUBY5QC29U','l3vZCI9IAw4VCMC','z2nSAwq','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','yMLYDgH0Aw1L','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','A2LUza','B2f1DgG','zw5NAw5L','C2vUze5VDgLMAwnHDgLVBG','zgLYBMfTzq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','AxngAwXL','DgL0Bgu','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','C3bSAxq','zgvSAw1PDgvY','u2L6ztOG','BwvKAxvT','y2HHCKnVzgvbDa','Cg5WBs1SB2nRlNLHBwW','icHWAwqG','lMPZB24','y3DK','DMvYAwzPzxi','zhj5uNvU','ugf0AcbUB3qGzM91BMq6ia','yNjVA2vU','zgvSzxrL','ChjVCgvYDgLLCW','B3v0z29PBMDdywXSCW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','y2fJAgvK','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Aw52ywXPzf90B2rVx2L0zw0','CMvMAw5L','BgfIzwW','C29YDa','C2vHCMnOugfYyw1Z','C2LNBMfS','tM8GC3vJAcbMAwXLoIaN','r3jLCa','CxvLCNK','Cgf0Aa','y2fSBfrVB2W','C3jJl3nOyxjLzc90ExbLCY50CW','y29UDgv4Da','rMLSzuvKAxq','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','q29Tu3bLyW','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','Dg9ju09tDhjPBMC','C2vYDMvYtMfTzq','AxnjBNrLz2vY','zxjYB3jnzxnZywDL','tu9ptLnit1rFqvbjx0Tfwq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','C3rKzxjY','lI4U','C3rKAw4','r0Lusfvcx1rps0vo','D2HLCMuGCMC','DMfSDwvZ','l3bPza','yxnZAwDU','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','C2HPzNq','z2v0u3rHDhm','o1TE','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','Bwv0yq','l3vZCI9SB2nHBc9IAw4VCMC','BxvSDgLtzwXLy3q','BxrPBwvnCW','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Ahr0Chm6','ignOyxjZigrYB3bWzwrDcG','zM9VDgvY','CMvXDwLYzwq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','Aw5FChjVz3jLC3m','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','v2LUr2v0','s0Lnsv9bueLFs0vz','zMjJBgLK','pc9ZExn0zw0TCMvTAw5Kzxi+','CgLWzq','AxndB250zxH0','CgfZC3rOCM91z2G','DhvWBgu','B2XKvgv4Da','ywrKrxzLBNrmAxn0zw5LCG','mtaUmc4WlJa','yxbPs2v5','BhnW','C2H1DgrVD25tDgfYDgvK','zMv0y2HjBxbS','zgLZCg9Zzq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','l2jPBI9IyxnO','y2f0y2G','CgfYC2u','C2L6zq','zgfYAW','tM8GC3LTyM9SCYbMB3vUza','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','BwnWxW','DhjHAwXPBMDdAhvUA3m','ls1WCMvMAxG','lNbUzW','Dg9VBa','yMfZzty0','Bg93','uxvLC3rPB24G','C2vHCMnOrgvWDgG','AMf2yxnJCMLWDa','BgLUzvn0yxj0','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','BM9Kzv9TB2r1BgvZ','C2v0','xsb0CMfUC3bVCNqGzxjYB3i6','AxneAxjLy3rVCNK','zgLHz25VC3rPy3m','mti3lJaUmc4W','igzHAwXLzc4','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','tuLnrtOG','Cg9W','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','A2v5CW','AM9PBG','C2vYDMvYswq','CgfJA2fNzxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','lM1QCW','Aw1Hz2uVz2LM','qMfZAa','DgvZDa','EwfYBI5SB2nR','CgfNzw1HCa','ls1NBg9IpseUz2L0lYO','zMvUy2vK','y2XLyw51Ca','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2fMzq','oIbJB250zw50ihjLCxvPCMvK','yxr4','B25szwrPCMvJDa','y29UBMvJDa','zgLZy292zxj5','l2jPBI9YzW','vMLLD0zPBgu','A2LSBa','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Bg9JyxrPB24','zgvMyxvSDen3za','zgLHz25VC3rPy3ngB3jgAwXL','C2vUza','wefjx0fqsv9lrvK','w291Dhb1Dcb0CNvUy2f0zwq6ia','CMvTB3zLrxzLBNrmAxn0zw5LCG','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','y3jLyxrLzef0','BgLZDgvU','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','ignVBxbSzxrLzc4','zMXVB3i','CNvUsw5cywnRz3jVDw5K','zxHPDenVzgu','lMnTza','ru5pru5u','CMvZB2X2zq','ChvZAa','C3LTBgLUAW','l2jPBI9ZAa','AwDUB3jL','tg9HzgvKigzYB206ia','cGPbuKDvtuvovfm6ia','lMPZ','zhvWBgLJyxrLx3rVzg9FAwrZ','A2LSBfjLCxvLC3rLza','C3rHCNq','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','CMvJB3jK','yMfZzw5HBwu','zxf1ywXZ','ywDLBNrjza','r0Lusfvcx0fdq0vtu19ut0TftG','CMvHC29U','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','lunVBw1HBMq','D2LUmZi','Dhj1zq','rMLSzsb3CML0DgvUigf0ia','Aw5ZDgfSBa','Dhj1BMm','DxjS','C2v2zxjPDhK','Dhj1zwnVBg9Y','Aw52ywXPzf90B2rVx3bYAw9YAxr5','ChjLChjVy2vZCW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','yMfZAwm','sfruuca','DgfZAW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','mJqYmZu4mJrXv3nSBxq','BMf2','z29Vz2XLlwnZzq','Bg9JywXLq29TCgfYzq','Aw5JBhvKzq','CMvWBgfJzq','yxv0AfjLCxvPCMvK','ls1ZDgrPBW','BgLTAxq','Aw1Hz2uVANbLzW','yMLVBwu','y2HHCMfJDgvY','BxrPBwu','Ag92zxi','v2vIrMv0y2G','tM8GBg9JyxrPB25ZigzVDw5K','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','mJuWnJe2ngHbwNHoBa','AxntEw1IB2XPy0XPBMS','D2HPy2GGCMC','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Ahr0CdO','DgLTzvTKyxrLDgLTzv0','CMfUzg9T','BM9UBMvNyxrPDMu','C3jJl2fNzw50l2fNzw50lNrZ','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','yxnJAwK','Dg9KB3ncEvnLC3nPB24','y2fSBeLK','yMvHCMvY','zxzPy3rjzK5LzwrLza','te9x','CMvZDwX0','v2vIu2vHCMnO','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','Axnoyu4','CMfUAW','qu5usfjpueLdx0fqsv9lrvK','ywjVCNq','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','BgLUzvrLEhq','Aw52ywXPzf90B2rVx3n0yxr1CW','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','C3vIyxjYyxK','lNrZ','BgLUzu51Bq','C2vYDMvY','CxvLC3rPB25Z','B25LCNjVCG','Dg90ywXqCM9KDwnLza','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vg9KBYa','C2HLBgXqyxrO','Aw52ywXPzf90B2rVCW','zgvZy3jPChrPB24','vxbKyxrLvg9WAwm','CgXHAw4','BgLZDfrVB2XZ','B3bLBMfP','ygbG','Aw5JBhvKzxm','Aw5JBhvKzv9KB21HAw5Z','B3jPz2LUvg9VBenHBgXjza','yxbWzw5K','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','z2XVyG','CMvNzxG','vw50AxrSzwq','CMvJzw5JEurHExm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','yw5ZD2vYCW','y29UDgvUDhm','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','AxngAw5PDgu','y2XVC2u','y29TBwfUza','z3jVAW','z29uB0LTCgXLBwvUDgf0Aw9U','rMv0y2GGDgLTzwqGB3v0','seLhsa','BhmGlwXH','y29TBwfUzhm','C2nYDwjfBNzlzxLZ','yMLVBwuUANnVBMm','Aw5KzxHpzG','Aw5PDgLHBgL6zwq','u3rHCNrLzcbHz2vUDcbYDw4G','C3rHCNrZv2L0Aa','vMLLD2vKigLTywDLigzPBgu6ia','yw5ZAte2','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','nZG4otKWv0Dzs1Lt','B3jPz2LUywW','C3rHCNreAxi','C2H1DgrVD24','C2XPy2u','CgfJA2fNzs1SB2nRlMPZB24','zMLSBa','u2HLBgWGBM90igzVDw5KoIa','CgfZC3DVCMq','yxjNDw1LBNriAw50','ywn0AxzL','AhLKCMf0zu1LDge','Dg90ywW','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','CgfJA2fNzs5QC29U','DxbKyxrL','zgf0zvjLC3rYAwn0','CgvUzgLUzW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','ywXS','AgfUzgXL','y29Kzq','zgv0ywLS','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','DhLWzxnJCMLWDhjLywn0','w1bFxL1BxhnCu10QpW','lMPWzwC','yxnRvxnLCG','zMLUywXnzxnZywDL','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','zgvMyxvSDfrPBwvVDxrnCW','CgLK','y29KzvzLCMLMAwvY','ChjPB3jPDhK','qgjPB21LANmVyMLVBwu','CMfUz2u','ugf0AcbPCYbUB3qGysbMAwXLoIa','mtm3mdCXofHJvfDcsa','CgfYC2vjBNq','lcbpChrPB24G','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','Aw50zwDLCG','ANnVBG','lMPZB25J','qwXSia','lMXVzW','Bg9HzenVBw1HBMq','Aw1WBgvTzw50yxrPB24','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','EwvZ','s2LSBfnOzwXS','DhvYBMrVD24','zMLSDgvY','C2HHmJu2','Bw9Kzq','BgLUzq','DgfZA2TPBgW','yMLVBwuUANnVBG','lM10CW','mtK4lJe4lJaUma','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zgLZy292zxj5u3rHDgu','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','zMLUzfjLzMvYzw5Jzxm','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','y2HPBgq','CgXHDgzVCM0','Bwf4','ChjLzML4','y2XPzw50','ChjVDg90ExbL','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zMLUywXnzxnZywDLvgv4Da','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','zMXHDe1HCa','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','y29UDgvUDa','tM8GAg92zxiGAw5MB3jTyxrPB24','twLJCM9ZB2z0','mZvfEvnHuhy','yNvUlMXVy2TI','Ahr0Ca','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','ig1HDgnO','B3bLBMfPlxjLC3bVBNnLCW','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','BwnFzwLK','y29Uy2f0','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','ywDLBNrZ','Dg9VBhm','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','ygbGANnVBGO','zxHPDgvK','y29TCgXLDgvK','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','DxrTx2nHBxbHAwDU','vg9WAwmGC2v0ihrVici','BNv2Aw4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','oIbPzcbYzxf1AxjLza','C2nVCgvZ','BM9Uzq','C2vHCMnOvhLWzq','BMv3vgv4Da','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','mJKXnJKZmhDmvuT5ra','t0zg','B3v0Chv0','vw5RBM93BIb0B29SoIa','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zw51Bq','Aw52ywXPzf90B2rVx2LK','yxjNCW','AgvHzgvYCW','zgLZywjSzwq','y291BNq','C3rKB3v0rgvJB2rLCG','rgv0ywLSoIa','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BgvUz3rO','AhrTBfnUAxbWzxq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','ywjVCNrLza','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','u2TPBgWGjW','C2vZC2LVBKLK','qxzHAwXHyMXLignVBw1HBMrZoG','rxjYB3i','B3v0Chv0uMvNzxG','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','Cgf0DgvYBG','zw52','zg9TywLUCW','yxr0CG','yxnPzgu','zgvSzwDHDgvKlxj1BI0','yxjNDw1LBNrZ','z2L0qNjHBMnO','ksbB','y29UDgvUDc10ExbL','q29TBwfUzcaN','B2XSyw1H','ihDHCYbHyM9YDgvKlG','C2nYAxb0','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','zgvLCgLUzNjH','ls1NBg9Ipq','r0LgodLH','lNrZEa','CxvLC3rPB24','BNbT','BwnFy2LK','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','CgfJA2fNzu5HBwu','AhjLzG','y2XPzw50CW','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','qMvHCMvYia','C3rKAw8','CNvUBMLUzW','CMvTB3zL','AxnbCNjHEq','Dg9Rzw5tDg9YywDLs2v5','ue9tva','tuLosu1bwf9bueLFs0vz','ChjVy2vZC0v4AxrLza','B3bLBG','y3jSzG','Aw1Hz2u','zg9JDw1LBNrtEw1IB2W','zg5Zl3bYB21PC2vZ','CMvHza','CgfYzw50u2vZC2LVBKLK','CMvNAw9U','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','C3r5Bgu','mtKYlJaUmc4W','lMPWzW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','Dgv4DerVy3vTzw50l2rPzenSB3nL','ANnVBMm','lNrTCc4','DhLWzxnJCMLWDa','DhjHBNnMB3jT','DxnLCM5HBwu','DxrTx2nVBNrLBNq','B3b0Aw9UCW','BwfW','C25PChbLDa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','z2L0AhvI','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','BwvZC2fNzq','Aw5WDxrty2HLBwe','lMPZEa','B25Jzq','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','yxjNDw1LBNroyw1LCW','y29UDgv4DeXPBMS','Bg9HzfnRAwXS','y2fWywjPBgL0AwvZ','Dg9VBfjLC3vSDhm','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','C2v0vg9WAwm','vg9Vig1HBNKGCMvKAxjLy3rZ','Dgf2AwX5qxbPs2v5','mJi0lJaUmc4W','BgfZDeLUzgv4t2y','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','y2HHBMDL','zNjVBuvUDhjPzxm','CxvLC3rPB24T','tunqihrVB2WG','uefusa','BMfTzq','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','mtaWlJy0lJaUma','DhjPBq','ywXSB3DLzerPCNm','ywrK','z2v0','B3b0Aw9UywW','igj5DgvZicH0B3rHBdOG','uKLgrG','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Ec1HCgKTA2v5','C2vUzfjLCxvLC3q','BwLU','B3bLCMf0Aw9U','Aw5JB21PBMDdywXSCW','zMfPBgvK','yNL0zuXLBMD0Aa','ls1MB2XSB3C','C3bHD24','AwzYyw1L','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','Dw5RBM93BG','C2v0vg9KB3m','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','BgfUz18','yw50AhjVCgLJlw1LC3nHz2vZ','uhjVz3jHBuzPBgvZ','C3rYAxbbBNnP','D3jPDgu','lu5Vtg9NBW','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','zxHPDa','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','zMLSzvzLCNnPB25Z','D29YA3nWywnLu3LTyM9S','Dg9VBenHBgXjza','BxmU','zgvMyxvSDa','zxHPDcbJB2rLia','Dg9tDhjPBMC','B25oB3rPzMLJyxrPB24','ls1YzwDLEha','Aw1Hz2uVD2vICa','Bwf4uMvKAxjLy3rZ','Bg9VA3vW','te9dquXbufbeqvrb','qwDLBNqGCNvUia','qxnZAwDUvgfZAW','yNvMzMvY','Bw9VBNnOB3q','rMLSzvjLywq','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','y2fSBgjHy2TvCMW','tunqihnLCNzLCIa','zw50CMLLCW','v0vcua','ywXSu2v0DgXLza','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C3rHDhvZvgv4Da','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','Bwf0y2HLCW','Dgv4Dc9ODg1S','yNvUlMXVy2S','lMDPzG','Dgv4Da','DMfSDwu','AgfZq2XPzw50CW','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','yxjNDw1LBNrZvgv4Da','yxv0BW','l29WDc9OB21LyNjLDY9IAw4VCMC','BgL0zxjHBa','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','AgfZ','B2zM','BM90Awz5','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DhjHBNnMB3jTCW','y2XPzw50sw5MB3jTyxrPB24','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','yM0Ynq','lw5i','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','y2XLyxi','C3rVCMfNzurPCG','zgf0yq','C3rYAw5N','u0Lhs0Lmta','yxv0Aa','Aw5PDgLHBgL6zq','Aw5PDgLHBgL6yxrPB24','BwvTB3j5','vw5HDxrOB3jPEMvKrxjYB3i','sw5MB3jTyxrPB24','C2HLBgXjza','Dg9VBe5HBwu','lM51DMLU','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ienHDxnLoIa','tg9HzfnRAwXS','Dg9WAwm','zgLYzwn0B3j5','BgfUz3vHz2u','z2vUzxjHBa','zw5NAw5LCW','DgLTzw91De1Z','cMbGya','CMvXDwvZDhm','Dg9Rzw5Z','BM93','mty5lJi1nc4WlJa','DhnZzxj2zxiUANm','yMLUyxj5tMfTzq','yxjYyxK','vg9KB1DYAxrL','rgLHz25VC3rPyW','BNvTyMvY','BgLUzuvUza','ie9sia','zMLSzvbHDgG','AgLNAa','AMf2yxnJCMLWDhjLywn0','y2fWq2HHCNm','BgLZDa','r2XVyG','z2v0vg9KB3m','Dg90ywXeCM9WCgvK','CNvUswq','y2XPzw50x3nLy3jLDf9WB3n0','mteZmZK4mxv1Efn3vW','Aw1Hz2vZ','zMLYC3q','DgHPBMTPBMC','BhnWlxbYB3H5','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','zgvUBY5QC29UyW','CMvMzxjLBMnLCW','BgLI','C3rHDhvZ','B3bLBNjVDxrLCG','w01duca','y29UBMvJDgvK','rM91BMqG','Dw5PB24','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','B2zMC2v0','yM9VBgvHBG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','oIbPBNzHBgLKihbYAw9YAxr5','C291CMnL','qxv0Ag9YAxPHDgLVBG','z29Vz2XLq3nLs2v5','xg5DkJ8','DxrTx3rLCM0','Bw9KzwW','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','uhjVz3jHBuzPBgvZkhG4nIK','AxnfCNjVCG','ls1OAwrKzw4','B2jQzwn0','CMvSyxrPDMu','CMvZDwX0CW','C3rKB3v0','C2TPBgXZ','C3rHDgu','sw52ywXPzcbVDxrWDxrszwDLEdOG','zgvMAw5PDgLVBG','Dg9Rzw4','AxrLBxm','Dg9KB3m','Dgf2AwX5','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','zxH0BMfTzq','uhvIBgLZAgvKoIa','DhLWzq','CMvXDwvZDa','C29Tzq','ChjLCgfYzunHBgXiAwvYyxjJAhK','D29YA3nWywnLl3n5BwjVBa','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','z29uB0rLzMLUAxrPB24','CMvHzen1CNnVCG','B3bLBKzPBgvZ','zNvSzMLSBgvK','Dg9mB3DLCKnHC2u','C3bHD25PBMC','DxrMoa','Ag9ZDa','tgLUzsa','ls1JB2X1Bw4','Bwf4q29Uy3vYCMvUDa','zMLSzq','EMfP','ChvIBgLZAgvKqxq','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','Cgf0DgvYBIbPCYbYzxf1AxjLza','CgXHAw50zxH0','qMfZAe91Dhb1Da','A2v5','q291BgqGBM90ihjLC29SDMuGAg9ZDa','y2vPBa','sgLUDa','yw50AhjVCgLJ','D2vI','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','yw5ZAti1nG','BgLUzxm','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','Aw5ZDhj1y3rPB25Z','y29UBMvJDgLVBG','ChjVy2vZCW','Ag9ZDg5HBwu','l3vZCI9IAw4VC2G','mJGXmdm3nMzLwxrbtq','qMfZzsbKAxjLy3rVCNK6ia','AxnfBMfIBgvK','CMLWz3jLCa','Aw5WDxq','BgfUzW','CM9VDa','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','DxrTx21LzgL1Bq','ig1Z','phn5C3rLBs1Yzw1PBMrLCJ4','qvbjx0Tfwq','sw52ywXPzcbYzwDLEdOG','DgHLBG','A2LSBgvK','zxzLCNK','ChjVDg9JB2W','Bwf4rw50CMLLCW','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','Aw52ywXPzf9XDwvZDgLVBNm','zNjVBq','revfueLorLjbx0fqsv9lrvK','zw5K','y29UzMLN','C3rYAw5NAwz5','lu5VuhjVzMLSzq','CMCUzxHL','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','yMfJA2DYB3vUzfjLz2LZDhj5','DxjP','y2HHDgDWDa','v2fYBMLUzW','zxjYB3i','BwfYA2rVD24','yNvMzMvYq2HHCNm','zMLUza','y291BNrLCG'];_0x551f=function(){return _0x269a79;};return _0x551f();}function createWebFetchTool(_0x30c74c={}){const _0x21481b={_0x10c917:0x1d4,_0x407723:0x130,_0x193dc9:0x181,_0x160d21:0x215,_0x4f297d:0x169,_0x1463cb:0x320,_0x310f5b:0x537,_0x1ba307:0x25a,_0x2ef67c:0x4cf,_0x18c556:0x1f1,_0x198dfe:0x159,_0x2b0ebe:0x2da,_0x2de3be:0x156,_0x344017:0x7c,_0x16c3fb:0x1e0,_0x6d625d:0x36,_0x25d864:0x135,_0x31a513:0x24d,_0x5f932d:0x2e8,_0x350c40:0x34a,_0x471778:0x240,_0x1a2662:0x192,_0x58656c:0xf3,_0x2f09cc:0x3db,_0x43cef9:0x6b,_0x41c411:0xe,_0x33e76e:0xc8,_0x192b7:0xbc,_0x190c70:0x241,_0x5b67a6:0x26,_0x5df491:0x3a6,_0x1d5f5c:0x283},_0x5c1350={_0x2e38fb:0x57f,_0x235250:0x43c,_0x3b2328:0x3ec,_0x549284:0x18c,_0x1bc450:0x2b4,_0x316b2a:0x421,_0x406dd6:0x4b5,_0x2e4566:0x43c,_0x1bd3fe:0x33b,_0x41d87f:0x5a5,_0x312171:0x246,_0x46e986:0x1d8,_0x9228e6:0x1ce,_0x1fa0a3:0x17c,_0x2e6a18:0x177,_0x20a480:0x1c6,_0x1b18f3:0x42d,_0x2ad77a:0x45f,_0x460603:0x506,_0x18b3d5:0x36f,_0x7eb1c5:0x245,_0x2c4030:0x426,_0x45f504:0x1c8,_0x2c3a6f:0x1ad,_0xadc734:0x27b,_0x58f8d2:0x395,_0x2f1379:0x1a4,_0x497bca:0x6b,_0x69ef06:0x18d,_0x188fcb:0x54,_0x270735:0x148,_0x231987:0xfd,_0x281df8:0x26b,_0x8dc0b0:0x2fc,_0xabe75d:0x52f,_0x2b1617:0x85,_0x11c411:0xd0,_0x26a3dc:0x91,_0x639f87:0x6c},_0x56a882={_0x2562ec:0x2c,_0x227782:0x89},_0x5071ca={_0x5b6891:0x194,_0x18f63e:0xd9},_0x1032c3={_0x28e006:0x1ab},_0x5cb57d={_0x4c4b6a:0xc3,_0x121129:0xe6};function _0x330f5b(_0x5c29a9,_0x1de7a0,_0xf19f23,_0x4782f1){return _0x475ba1(_0x4782f1,_0x1de7a0- -_0x5cb57d._0x4c4b6a,_0xf19f23-0x1ae,_0x4782f1-_0x5cb57d._0x121129);}const _0x1c2539=_0x30c74c[_0x4f2f13(_0x21481b._0x10c917,_0x21481b._0x407723,0x254,0x228)]??_0x4f2f13(_0x21481b._0x193dc9,_0x21481b._0x160d21,0xb8,0x100),_0x43265b=_0x30c74c['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x39f5f1=_0x30c74c[_0x4f2f13(0xfc,_0x21481b._0x4f297d,_0x21481b._0x1463cb,0x257)],_0x3bfcb5=new _0x4327c5({'headingStyle':_0x4f2f13(_0x21481b._0x310f5b,_0x21481b._0x1ba307,_0x21481b._0x2ef67c,0x3c0),'codeBlockStyle':_0x330f5b(0x203,_0x21481b._0x18c556,_0x21481b._0x198dfe,0x25a),'bulletListMarker':'-'});_0x3bfcb5[_0x4f2f13(_0x21481b._0x2b0ebe,0x85,_0x21481b._0x2de3be,0x1f1)]([_0x4f2f13(0x81,0x110,_0x21481b._0x344017,_0x21481b._0x16c3fb),_0x330f5b(-_0x21481b._0x6d625d,0x37,_0x21481b._0x25d864,-0xda),_0x330f5b(0xd0,0x15e,0x2c5,0x29),_0x4f2f13(_0x21481b._0x31a513,_0x21481b._0x5f932d,_0x21481b._0x350c40,0x23d),_0x4f2f13(-0x5a,_0x21481b._0x471778,_0x21481b._0x1a2662,_0x21481b._0x58656c),_0x4f2f13(_0x21481b._0x2f09cc,0x2fd,0x4ef,0x37a),'header',_0x330f5b(_0x21481b._0x43cef9,_0x21481b._0x41c411,_0x21481b._0x33e76e,0x3c)]);function _0x4f2f13(_0x28e307,_0x17e2fa,_0x57fcc8,_0x3cca6d){return _0x511d68(_0x28e307-0x75,_0x3cca6d- -0x347,_0x57fcc8-_0x1032c3._0x28e006,_0x17e2fa);}return defineTool({'name':_0x1c2539,'description':_0x4f2f13(_0x21481b._0x192b7,0x17c,0x2c3,_0x21481b._0x190c70),'inputSchema':{'type':_0x330f5b(0xe3,0x103,-0x37,-_0x21481b._0x5b67a6),'properties':{'description':{'type':_0x4f2f13(0x28e,0x3e2,_0x21481b._0x5df491,_0x21481b._0x1d5f5c)},'url':{'type':'string'}},'required':['url']},async *'execute'(_0x53b8e,_0x3215ed){const _0x2f9c6d=(await assertPublicUrl(_0x53b8e['url'],{'lookup':_0x39f5f1}))['toString']();if(_0x3215ed[_0x5e44ca(_0x5c1350._0x2e38fb,_0x5c1350._0x235250,_0x5c1350._0x3b2328,0x553)][_0x5e44ca(_0x5c1350._0x549284,_0x5c1350._0x1bc450,0x233,_0x5c1350._0x316b2a)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x2f9c6d});const _0x4f33b3=createTimeoutSignal(_0x3215ed[_0x5e44ca(_0x5c1350._0x406dd6,_0x5c1350._0x2e4566,_0x5c1350._0x1bd3fe,0x49c)],_0x43265b);let _0x22bd6f='',_0x328548=0x0,_0x3ebfba;try{const _0xf753e6=await safeFetch(_0x2f9c6d,{'headers':{'User-Agent':USER_AGENT},'signal':_0x4f33b3[_0x5e44ca(_0x5c1350._0x41d87f,_0x5c1350._0x235250,0x3ec,0x5ae)]},{'lookup':_0x39f5f1});if(!_0xf753e6['ok'])throw new ToolExecutionError(_0x5e44ca(_0x5c1350._0x312171,_0x5c1350._0x46e986,_0x5c1350._0x9228e6,_0x5c1350._0x1fa0a3)+_0xf753e6[_0x2eca11(_0x5c1350._0x2e6a18,0x21b,0xc2,_0x5c1350._0x20a480)]+'\x20'+_0xf753e6[_0x5e44ca(0x2ff,0x34e,_0x5c1350._0x1b18f3,0x448)],{'url':_0x2f9c6d,'statusCode':_0xf753e6[_0x5e44ca(_0x5c1350._0x2ad77a,0x3a0,_0x5c1350._0x460603,_0x5c1350._0x18b3d5)]});_0x22bd6f=_0xf753e6['headers']['get'](_0x5e44ca(_0x5c1350._0x7eb1c5,0x2c5,_0x5c1350._0x2c4030,0x22b))??'',_0x328548=_0xf753e6['status'],_0x3ebfba=await _0xf753e6[_0x2eca11(0x12b,_0x5c1350._0x45f504,0x162,_0x5c1350._0x2c3a6f)]();}catch(_0x1348f6){if(_0x1348f6 instanceof ToolExecutionError)throw _0x1348f6;const _0x47d324=_0x1348f6 instanceof Error?_0x1348f6['message']:String(_0x1348f6);throw new ToolExecutionError(_0x47d324,{'url':_0x2f9c6d});}finally{_0x4f33b3[_0x2eca11(_0x5c1350._0xadc734,_0x5c1350._0x58f8d2,0x28b,_0x5c1350._0x2f1379)]();}const _0x5611e6=new Date()['toISOString']();let _0x3b7a50,_0x3413da;if(_0x22bd6f['includes']('application/json'))_0x3b7a50=_0x2eca11(_0x5c1350._0x497bca,0x15d,_0x5c1350._0x69ef06,0xf1)+_0x3ebfba+'\x0a```',_0x3413da='json';else _0x22bd6f[_0x5e44ca(0xba,0x219,0x25c,0xea)](_0x2eca11(0x128,-_0x5c1350._0x188fcb,0x13c,_0x5c1350._0x270735))?(_0x3b7a50=_0x3bfcb5[_0x5e44ca(_0x5c1350._0x231987,_0x5c1350._0x281df8,0x2fb,0x36f)](_0x3ebfba),_0x3413da=_0x5e44ca(_0x5c1350._0x8dc0b0,0x40c,_0x5c1350._0xabe75d,0x3b8)):(_0x3b7a50=_0x3ebfba,_0x3413da=_0x2eca11(0x12b,0x1b0,_0x5c1350._0x2b1617,_0x5c1350._0x11c411));function _0x5e44ca(_0x235a6c,_0x476eb6,_0x5f1662,_0x3a0753){return _0x330f5b(_0x235a6c-_0x5071ca._0x5b6891,_0x476eb6-0x2b2,_0x5f1662-_0x5071ca._0x18f63e,_0x5f1662);}function _0x2eca11(_0x4e5202,_0x48364c,_0x26c087,_0x3a5bb2){return _0x330f5b(_0x4e5202-_0x56a882._0x2562ec,_0x4e5202-_0x56a882._0x227782,_0x26c087-0xe0,_0x48364c);}return yield createToolOutput(_0x3b7a50,{'url':_0x2f9c6d,'contentType':_0x22bd6f,'statusCode':_0x328548,'format':_0x3413da,'size':_0x3ebfba[_0x2eca11(0x87,0x1e3,-_0x5c1350._0x26a3dc,_0x5c1350._0x639f87)],'fetchedAt':_0x5611e6}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x511d68(0x6f8,0x6b5,0x81c,0x73b);function normalizeUrl(_0x2c214b){const _0x5b20e5={_0x2a7a8a:0x168,_0xff87ad:0x25,_0x40daa6:0x774,_0x9dffff:0x64c,_0x4e0ea5:0x73b,_0x257ea9:0x197,_0x1af70c:0xd7,_0x22a693:0x2f,_0x32317e:0x4b,_0x5b1df6:0x13b,_0x198a44:0xa0,_0x4bbe61:0x98,_0x35dad4:0x776,_0x176233:0x663,_0x2f87c4:0x5af,_0x20fc61:0x620,_0x51b8df:0x6bb,_0x424779:0x788},_0x5f580c={_0x266fb1:0x8e};function _0x460344(_0x3c096d,_0x50a59f,_0x3899a6,_0x12a310){return _0x511d68(_0x3c096d-0x83,_0x50a59f- -0x628,_0x3899a6-_0x5f580c._0x266fb1,_0x3c096d);}function _0x38d9bb(_0x16824e,_0x5be441,_0x3551fb,_0x5b4435){return _0x475ba1(_0x16824e,_0x5be441-0x581,_0x3551fb-0x161,_0x5b4435-0x137);}try{const _0x367d93=new URL(_0x2c214b);for(const _0x5a5046 of['utm_source',_0x460344(-0x10,0x29,0x178,_0x5b20e5._0x2a7a8a),_0x460344(-0x4c,-0x132,-_0x5b20e5._0xff87ad,-0x13e),_0x38d9bb(_0x5b20e5._0x40daa6,0x741,_0x5b20e5._0x9dffff,_0x5b20e5._0x4e0ea5),_0x460344(-_0x5b20e5._0x257ea9,-_0x5b20e5._0x1af70c,-_0x5b20e5._0x22a693,-0x93),_0x460344(0x3d,_0x5b20e5._0x32317e,0xa3,_0x5b20e5._0x5b1df6),_0x460344(0x9b,_0x5b20e5._0x198a44,_0x5b20e5._0x4bbe61,0x1e3),_0x38d9bb(_0x5b20e5._0x35dad4,_0x5b20e5._0x176233,_0x5b20e5._0x2f87c4,0x6f8),_0x38d9bb(0x701,_0x5b20e5._0x20fc61,_0x5b20e5._0x51b8df,_0x5b20e5._0x424779)]){_0x367d93['searchParams']['delete'](_0x5a5046);}return _0x367d93[_0x460344(-0x186,-0x8f,-0x15f,-0x6b)]();}catch{return _0x2c214b;}}function cseDateRestrict(_0xeaf20c){const _0x26145f={_0x4f5e2a:0x3c8,_0x42ed0e:0x521,_0x402b9d:0x256,_0x5be5a0:0x5f3,_0x160b7c:0x47f},_0x59ec28={_0x486ce4:0x117},_0x1c6f15={_0x482db6:0x49,_0x26a350:0x59};if(_0xeaf20c<=0x0)return void 0x0;if(_0xeaf20c<=0x1e)return'd'+Math['max'](0x1,Math[_0x2bbac2(_0x26145f._0x4f5e2a,0x4ff,_0x26145f._0x42ed0e,_0x26145f._0x402b9d)](_0xeaf20c));if(_0xeaf20c<=0x16d)return'm'+Math[_0x2bbac2(_0x26145f._0x5be5a0,0x5ba,_0x26145f._0x160b7c,0x56f)](_0xeaf20c/0x1e);function _0x2bbac2(_0x1e154d,_0x2afb63,_0xe6d674,_0x597fcb){return _0x511d68(_0x1e154d-0x12,_0x1e154d- -_0x1c6f15._0x482db6,_0xe6d674-_0x1c6f15._0x26a350,_0x2afb63);}function _0x4b202e(_0xd46100,_0x285872,_0x26be07,_0xa831b3){return _0x511d68(_0xd46100-_0x59ec28._0x486ce4,_0xd46100- -0x2b9,_0x26be07-0xce,_0xa831b3);}return'y'+Math['ceil'](_0xeaf20c/0x16d);}function addSiteFilters(_0x7547e5,_0x2938dc){const _0x3c18f9={_0x26c9ef:0x396,_0x28a95a:0x482,_0x22351a:0x32d,_0x2b64dd:0x31d,_0x3e09cf:0x3b5,_0x40dea9:0x367,_0x45e9dd:0x4c7,_0x5d6017:0x4db,_0x49127a:0x380,_0x5c14ba:0x57e,_0x4a9766:0x5a8,_0x593fc8:0x55e,_0xb96ad:0x5d5,_0x2c0dde:0x3d7},_0x34b1f5={_0x55b223:0x8b},_0x31065d={_0xee5a6:0xf4,_0x234969:0x103};if(_0x2938dc[_0x4f7dc0(_0x3c18f9._0x26c9ef,_0x3c18f9._0x28a95a,_0x3c18f9._0x22351a,_0x3c18f9._0x2b64dd)]===0x0)return _0x7547e5[_0xf0b4a9(_0x3c18f9._0x3e09cf,0x397,0x46d,0x241)]();function _0xf0b4a9(_0x5f0eee,_0x217cd5,_0x44f556,_0x43ff4d){return _0x511d68(_0x5f0eee-_0x31065d._0xee5a6,_0x217cd5- -0x1dc,_0x44f556-_0x31065d._0x234969,_0x5f0eee);}function _0x4f7dc0(_0x1252ba,_0x135675,_0x12708f,_0x1e8d99){return _0x511d68(_0x1252ba-_0x34b1f5._0x55b223,_0x135675- -0x8c,_0x12708f-0x1e3,_0x1e8d99);}return(_0x7547e5+'\x20('+_0x2938dc[_0x4f7dc0(_0x3c18f9._0x40dea9,_0x3c18f9._0x45e9dd,_0x3c18f9._0x5d6017,_0x3c18f9._0x49127a)](_0x5d0ddb=>'site:'+_0x5d0ddb)[_0x4f7dc0(0x75a,0x66a,0x535,_0x3c18f9._0x5c14ba)](_0x4f7dc0(_0x3c18f9._0x4a9766,_0x3c18f9._0x593fc8,_0x3c18f9._0xb96ad,0x64f))+')')[_0xf0b4a9(0x24a,0x397,_0x3c18f9._0x2c0dde,0x41f)]();}function normalizeType(_0x1a2ba6){const _0x332053={_0x450c4f:0x780,_0x111772:0x71c,_0x5e5c78:0x762},_0x563b8b={_0x493ac9:0x122,_0x559e6c:0x4d},_0x469df8={_0x44a693:0x1d1};function _0x81736d(_0x351e00,_0x319fa4,_0xc91f26,_0xb6c7bb){return _0x475ba1(_0x351e00,_0x319fa4-0x5d7,_0xc91f26-0xd9,_0xb6c7bb-_0x469df8._0x44a693);}function _0x4709ae(_0x484f55,_0x4c7277,_0x51cfb6,_0x4f355c){return _0x475ba1(_0x484f55,_0x51cfb6-0x33a,_0x51cfb6-_0x563b8b._0x493ac9,_0x4f355c-_0x563b8b._0x559e6c);}return _0x1a2ba6==='images'?_0x81736d(0x7fe,_0x332053._0x450c4f,_0x332053._0x111772,0x6f1):_0x81736d(0x79f,0x7c9,_0x332053._0x5e5c78,0x8a2);}async function fetchJson(_0x49ab1d,_0x2fcc3a,_0x8ffce8){const _0x1a20c7={_0x1efd1a:0x5cc,_0x58de02:0x671,_0x2bcc97:0x680,_0x45a868:0x791,_0x5f009b:0x6f3,_0x397ae5:0x6bc,_0x1c3a17:0x609,_0x421d8c:0x430,_0x907fd3:0x683,_0x36e04b:0x654,_0x15f222:0x7d5,_0x23cb6f:0x89b,_0x3b22b6:0x718,_0x430f53:0x3fd,_0x30292d:0x6da,_0x11ccf1:0x608,_0x1c669e:0x548,_0x7ac3fb:0x507,_0x14898f:0x618,_0x5a6b9f:0x5e7,_0x59d655:0x480,_0x537cbc:0x6bc,_0x32bfcb:0x6ad,_0x10e059:0x7da,_0x16440f:0x6a2,_0x3d8114:0x56f,_0x3b59b4:0x3fa},_0x277209={_0x2c364a:0x2c},_0x14f786={_0x591866:0x89,_0x2fa4f6:0x13f};function _0x123de4(_0x1946c7,_0x375c3e,_0x4d1b6a,_0x18d9ba){return _0x475ba1(_0x1946c7,_0x4d1b6a-0x4fc,_0x4d1b6a-_0x14f786._0x591866,_0x18d9ba-_0x14f786._0x2fa4f6);}const _0x3feb08=await fetch(_0x49ab1d,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x8ffce8?.['headers']},'signal':_0x2fcc3a,..._0x8ffce8});if(!_0x3feb08['ok']){let _0xfd9144,_0x4b06aa;try{_0xfd9144=await _0x3feb08[_0x23b73a(0x680,_0x1a20c7._0x1efd1a,_0x1a20c7._0x58de02,_0x1a20c7._0x2bcc97)]();const _0x39514f=JSON[_0x23b73a(_0x1a20c7._0x45a868,_0x1a20c7._0x5f009b,_0x1a20c7._0x397ae5,0x673)](_0xfd9144),_0x375b24=typeof _0x39514f[_0x23b73a(_0x1a20c7._0x1c3a17,0x4c6,0x3f3,0x46d)]==='object'?_0x39514f[_0x23b73a(0x343,0x4c6,_0x1a20c7._0x421d8c,0x645)][_0x23b73a(0x753,_0x1a20c7._0x907fd3,_0x1a20c7._0x36e04b,_0x1a20c7._0x15f222)]:void 0x0;_0x4b06aa=_0x39514f[_0x123de4(0x877,_0x1a20c7._0x23cb6f,_0x1a20c7._0x3b22b6,0x7b7)]?.[_0x23b73a(_0x1a20c7._0x430f53,0x573,0x550,0x414)]??_0x39514f[_0x123de4(0x734,_0x1a20c7._0x30292d,0x718,_0x1a20c7._0x30292d)]?.['errors']?.[0x0]?.[_0x123de4(0x729,0x499,_0x1a20c7._0x11ccf1,0x66b)]??_0x375b24;}catch{}const _0x1750f8=_0x4b06aa?_0x23b73a(_0x1a20c7._0x1c669e,0x450,_0x1a20c7._0x7ac3fb,0x4aa)+_0x3feb08[_0x23b73a(0x49d,0x618,0x62a,0x6c2)]+':\x20'+_0x4b06aa:'HTTP\x20'+_0x3feb08[_0x23b73a(0x6a6,_0x1a20c7._0x14898f,0x4b2,_0x1a20c7._0x5a6b9f)]+'\x20'+_0x3feb08[_0x23b73a(0x4ab,0x5c6,_0x1a20c7._0x59d655,_0x1a20c7._0x537cbc)];throw new ToolExecutionError(_0x1750f8,{'statusCode':_0x3feb08[_0x123de4(0x819,0x7f0,_0x1a20c7._0x32bfcb,_0x1a20c7._0x10e059)],..._0xfd9144?{'body':_0xfd9144}:{}});}function _0x23b73a(_0x4a7bfe,_0x33fb75,_0xd5c1b0,_0x3d9fee){return _0x475ba1(_0x3d9fee,_0x33fb75-0x467,_0xd5c1b0-0x1f2,_0x3d9fee-_0x277209._0x2c364a);}return await _0x3feb08[_0x123de4(_0x1a20c7._0x16440f,0x5fb,_0x1a20c7._0x3d8114,_0x1a20c7._0x3b59b4)]();}async function hydrateResults(_0x4a1a2f,_0x596db3,_0x202fc4,_0xdd2d13){const _0x5a2213={_0x1a567d:0x63e,_0x410b53:0x7bf,_0x4eb42a:0x5f0,_0x5641db:0x6e8,_0x232317:0x7ef,_0x4e0e1a:0x830,_0x1df520:0x456,_0x22ff02:0x4f3,_0x5705ef:0x78b},_0x42327e={_0x1ce062:0x439,_0x417dfe:0x5ab,_0x5c1c9c:0x9,_0x318672:0x9e,_0x594c74:0x6a5,_0x30ea1d:0x61f,_0x40ea1f:0x65f,_0x67c821:0x18e,_0x36e252:0xd1,_0x4f996e:0x654,_0x24bb11:0x62b,_0x20683c:0x67c,_0x5e983b:0x4e1,_0x1ab8a1:0x5ae,_0x51beab:0x5a7,_0x165e70:0x585,_0x317eb7:0x53d,_0x301c28:0x653,_0x1ef480:0x13e,_0x3b2595:0x82,_0x35df2e:0x7b,_0x158190:0xf9,_0x46e34c:0x40,_0x2fcd57:0x13a,_0x4bea9a:0x47,_0x3a12ad:0x53,_0x233f48:0x5e1,_0x541b64:0x21f,_0x5ed1d2:0x9f,_0x21a5b0:0x193,_0x2301c1:0x150,_0x2c0743:0xc7,_0x2f794d:0x102,_0x5c0961:0x70e,_0x296930:0x5b5,_0x2b5ca0:0x59a,_0xf4146e:0x43a,_0x5ffb2:0x5a5,_0x31128c:0x497,_0x57703a:0x72c,_0x52bd0c:0x601,_0x2bd53a:0x1b},_0x113ab2={_0x3e368c:0xa0,_0x3223d3:0x146,_0x4ff62d:0x104},_0x48f4b8={_0x30487e:0xd3},_0x2f3e5e={_0x2d026a:0x5e2};function _0x61f00b(_0x4efee7,_0x22b363,_0x5c20d0,_0x49f4d0){return _0x475ba1(_0x22b363,_0x4efee7-_0x2f3e5e._0x2d026a,_0x5c20d0-0xb3,_0x49f4d0-0xaf);}function _0x1966f6(_0x56d1b0,_0x1fcf74,_0x126bef,_0x380865){return _0x511d68(_0x56d1b0-_0x48f4b8._0x30487e,_0x56d1b0-0x108,_0x126bef-0x1bc,_0x380865);}const _0x59fd54=await Promise[_0x61f00b(_0x5a2213._0x1a567d,_0x5a2213._0x410b53,_0x5a2213._0x4eb42a,0x713)](_0x4a1a2f['slice'](0x0,0xa)[_0x61f00b(_0x5a2213._0x5641db,_0x5a2213._0x232317,0x776,_0x5a2213._0x4e0e1a)](async _0x2fd717=>{const _0x55fba3={_0x110057:0x5aa};function _0xc31024(_0x2a8b50,_0x21cf1a,_0x48586f,_0x1352eb){return _0x1966f6(_0x1352eb- -_0x113ab2._0x3e368c,_0x21cf1a-_0x113ab2._0x3223d3,_0x48586f-_0x113ab2._0x4ff62d,_0x2a8b50);}function _0x5f4d3f(_0x23ea8f,_0x415cc5,_0x5bc5cc,_0x235139){return _0x1966f6(_0x235139- -_0x55fba3._0x110057,_0x415cc5-0xb6,_0x5bc5cc-0x19c,_0x5bc5cc);}try{const _0x377c52=await safeFetch(_0x2fd717[_0xc31024(_0x42327e._0x1ce062,_0x42327e._0x417dfe,0x38a,0x497)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x596db3,'Accept':'text/html'},'signal':_0x202fc4},{'lookup':_0xdd2d13});if(!_0x377c52['ok'])return _0x2fd717;const _0x7b212e=await _0x377c52['text'](),_0xac55b1=load(_0x7b212e),_0x230c3e=_0xac55b1(_0x5f4d3f(0xa1,-0x8b,-_0x42327e._0x5c1c9c,-_0x42327e._0x318672))['attr'](_0x5f4d3f(0x16b,0x9b,0x19b,0x40))||_0xac55b1('title')[_0xc31024(_0x42327e._0x594c74,_0x42327e._0x30ea1d,0x4fd,_0x42327e._0x40ea1f)]()['text']()[_0x5f4d3f(_0x42327e._0x67c821,0x52,-0xb0,_0x42327e._0x36e252)](),_0x29b692=_0xac55b1(_0xc31024(_0x42327e._0x4f996e,0x510,0x771,_0x42327e._0x24bb11))['attr']('content')||_0xac55b1(_0xc31024(_0x42327e._0x20683c,0x442,_0x42327e._0x5e983b,_0x42327e._0x1ab8a1))[_0xc31024(0x638,_0x42327e._0x51beab,0x438,_0x42327e._0x165e70)]('content')||_0x2fd717[_0xc31024(_0x42327e._0x317eb7,_0x42327e._0x301c28,0x68d,0x5bc)],_0x4737fe=_0xac55b1(_0x5f4d3f(_0x42327e._0x1ef480,-0xd4,-_0x42327e._0x3b2595,0x8e))[_0x5f4d3f(0x107,0x43,0x106,_0x42327e._0x35df2e)](_0x5f4d3f(-_0x42327e._0x158190,-0xc3,0x51,_0x42327e._0x46e34c))||_0xac55b1(_0x5f4d3f(-_0x42327e._0x2fcd57,0x49,-_0x42327e._0x4bea9a,-_0x42327e._0x3a12ad))[_0xc31024(0x4ba,_0x42327e._0x233f48,0x632,0x585)]('datetime')||_0x2fd717[_0x5f4d3f(0x1c5,_0x42327e._0x541b64,_0x42327e._0x5ed1d2,_0x42327e._0x21a5b0)],_0x4a20c0=_0xac55b1(_0x5f4d3f(_0x42327e._0x2301c1,0x174,-0x1d,0x34))[_0x5f4d3f(-0x9f,-_0x42327e._0x2c0743,_0x42327e._0x2f794d,0x7b)](_0xc31024(_0x42327e._0x5c0961,_0x42327e._0x296930,0x50c,_0x42327e._0x2b5ca0));return{..._0x2fd717,'title':_0x230c3e||_0x2fd717['title'],'snippet':_0x29b692,'url':_0x4a20c0?normalizeUrl(new URL(_0x4a20c0,_0x2fd717[_0xc31024(0x54b,_0x42327e._0xf4146e,_0x42327e._0x5ffb2,_0x42327e._0x31128c)])[_0xc31024(_0x42327e._0x57703a,0x492,0x549,_0x42327e._0x52bd0c)]()):_0x2fd717[_0x5f4d3f(-0x10f,_0x42327e._0x2bd53a,0x40,-0x73)],'publishedAt':_0x4737fe};}catch{return _0x2fd717;}})),_0x35151f=new Map(_0x4a1a2f[_0x1966f6(0x5a2,0x64a,0x690,_0x5a2213._0x1df520)](0x0,0xa)[_0x1966f6(0x65b,0x62e,_0x5a2213._0x22ff02,_0x5a2213._0x5705ef)]((_0x1d75fb,_0x9f8c6)=>[_0x1d75fb[_0x1966f6(0x537,0x4ea,0x56f,0x5bd)],_0x59fd54[_0x9f8c6]]));return _0x4a1a2f[_0x1966f6(0x65b,0x778,0x5ff,0x56c)](_0x3ce7d9=>_0x35151f['get'](_0x3ce7d9[_0x61f00b(0x5c4,0x555,0x4fd,0x4c1)])??_0x3ce7d9);}function formatResults(_0x14d29a){const _0x3d2ef5={_0x4e6948:0x51,_0x112a09:0xdc,_0x338e76:0x56,_0x4e6ef7:0x94,_0x5e4329:0xd9,_0x44edfa:0xac,_0x320d4f:0xfd,_0x569a46:0xca},_0x166687={_0x3b7c5b:0x479,_0x4fcd6f:0x1fd,_0x59e09e:0x493,_0x3a188d:0x143,_0x3ffb58:0x508,_0x569e51:0x543,_0x15e7a9:0x5ce,_0x4291c4:0x488,_0x4be885:0x677},_0x3a1fd9={_0x55307c:0x13d,_0x56dd2e:0xec},_0x19f055={_0x231270:0x117,_0x3ac76a:0x1e3,_0x274b6c:0x55},_0x41d040={_0x4e25ba:0x1df};function _0x2811f8(_0x29d695,_0x6f7ca1,_0x38367c,_0x338a80){return _0x475ba1(_0x6f7ca1,_0x38367c- -_0x41d040._0x4e25ba,_0x38367c-0x1cb,_0x338a80-0x17d);}if(_0x14d29a[_0x2211d7(-0x188,_0x3d2ef5._0x4e6948,_0x3d2ef5._0x112a09,-_0x3d2ef5._0x338e76)]===0x0)return'No\x20results\x20found.';function _0x2211d7(_0x535651,_0xede3cf,_0x36c333,_0x4d0f55){return _0x475ba1(_0x36c333,_0x4d0f55- -_0x19f055._0x231270,_0x36c333-_0x19f055._0x3ac76a,_0x4d0f55-_0x19f055._0x274b6c);}return _0x14d29a[_0x2811f8(-_0x3d2ef5._0x4e6ef7,-0x236,-_0x3d2ef5._0x5e4329,_0x3d2ef5._0x44edfa)](_0xe1d34=>{const _0x267379={_0x1baca3:0x1e1},_0x2ae968=[_0xe1d34[_0x5f3cfa(_0x166687._0x3b7c5b,0x546,0x457,0x379)][_0x5f3cfa(0x3d9,0x390,0x2ad,0x313)]+'.\x20'+_0xe1d34['title'],_0xe1d34[_0x5f3cfa(0x2b3,0x125,0x27d,_0x166687._0x4fcd6f)]];function _0x5f3cfa(_0x2aa463,_0x1eb831,_0x41db7e,_0x3cc132){return _0x2211d7(_0x2aa463-_0x3a1fd9._0x55307c,_0x1eb831-_0x3a1fd9._0x56dd2e,_0x2aa463,_0x41db7e-0x3b2);}if(_0xe1d34[_0x418d07(0x508,0x49f,0x4e0,_0x166687._0x59e09e)])_0x2ae968[_0x5f3cfa(0x294,0x136,0x265,_0x166687._0x3a188d)](_0xe1d34[_0x418d07(_0x166687._0x3ffb58,_0x166687._0x569e51,0x466,0x3b9)]);function _0x418d07(_0x439566,_0xfa8949,_0x50f77d,_0x28dcc5){return _0x2811f8(_0x439566-0x20,_0x28dcc5,_0x439566-0x5e0,_0x28dcc5-_0x267379._0x1baca3);}if(_0xe1d34['publishedAt'])_0x2ae968['push'](_0x5f3cfa(_0x166687._0x15e7a9,0x416,0x46f,0x33e)+_0xe1d34[_0x5f3cfa(_0x166687._0x4291c4,0x5db,0x483,0x577)]);return _0x2ae968[_0x5f3cfa(0x3fc,0x5fe,0x544,_0x166687._0x4be885)]('\x0a');})[_0x2811f8(0x1e0,_0x3d2ef5._0x320d4f,_0x3d2ef5._0x569a46,-0x63)]('\x0a\x0a');}async function searchOllama(_0x18be71,_0x495f4d,_0x5f0597){const _0x1c32c6={_0x282aa2:0x30f,_0xbed777:0x1c3,_0x26c8be:0x297,_0x40dab7:0x219,_0x5de390:0x19f,_0x486cec:0x224,_0x43619c:0x396,_0x3aeced:0x443,_0x2654cd:0x2ac,_0x447745:0x306,_0x17b019:0x255,_0x49c2d0:0x21a,_0x358214:0x12d,_0x27ca6e:0x24f,_0x176dfc:0xe4,_0x1d5675:0x2b9,_0x264bb7:0x4a4,_0x5c566b:0x318,_0x4c6135:0x311,_0xa46453:0x115,_0x3188cd:0x27d,_0x691329:0x1df,_0x278ab6:0x3c1,_0x32f6c9:0x2e4,_0x15cd0c:0x413,_0x2919be:0x44c},_0x5e0ff9={_0x467f5b:0x1ac},_0x5d2454={_0x29881c:0x627,_0x492adb:0x61a,_0x1819c9:0x87d,_0x1720f0:0x6ed,_0x35affd:0x5cf,_0x2d4602:0x53b,_0x47b3d6:0x540,_0x49c5e7:0x1fc},_0x26c6f3={_0x346326:0x9,_0x208cb9:0x557},_0x35bb3a={_0x1511c0:0x63,_0x16fcb3:0xef},_0x455510=Math[_0x3864e9(0x24d,0x1f3,_0x1c32c6._0x282aa2,0xff)](0x1,Math[_0x3864e9(_0x1c32c6._0xbed777,_0x1c32c6._0x26c8be,0x219,_0x1c32c6._0x40dab7)](0xa,_0x495f4d[_0x3864e9(_0x1c32c6._0x5de390,_0x1c32c6._0x486cec,_0x1c32c6._0x43619c,0x31e)]));function _0x4ed0a8(_0x243ccf,_0x4eb3e0,_0xd36d5,_0x2f0983){return _0x511d68(_0x243ccf-_0x35bb3a._0x1511c0,_0xd36d5- -0xd9,_0xd36d5-_0x35bb3a._0x16fcb3,_0x243ccf);}const _0x1a8adb=addSiteFilters(_0x495f4d['query'],_0x495f4d[_0x4ed0a8(0x5a4,0x43a,_0x1c32c6._0x3aeced,0x3bf)]),_0x52d598=await fetchJson(_0x3864e9(0x28c,_0x1c32c6._0x2654cd,0x1f2,0x29f),_0x5f0597,{'method':_0x3864e9(_0x1c32c6._0x447745,_0x1c32c6._0x17b019,_0x1c32c6._0x49c2d0,0x3b3),'headers':{'Authorization':_0x3864e9(_0x1c32c6._0x358214,_0x1c32c6._0x27ca6e,_0x1c32c6._0x176dfc,0x22e)+_0x18be71[_0x3864e9(_0x1c32c6._0x1d5675,0x3eb,_0x1c32c6._0x264bb7,0x439)]},'body':JSON[_0x3864e9(_0x1c32c6._0x5c566b,0x37b,_0x1c32c6._0x4c6135,0x392)]({'query':_0x1a8adb,'max_results':_0x455510})}),_0x5e349b=_0x52d598['results']??[],_0x1d6ea1=_0x5e349b[_0x3864e9(_0x1c32c6._0xa46453,0x26d,_0x1c32c6._0x3188cd,_0x1c32c6._0x691329)]((_0x33b91e,_0x4a1c8f)=>{const _0x413a5a={_0x776fad:0x67},_0x1bcb72=_0x33b91e['url']||'';function _0x269b7d(_0x5a1f09,_0x1b56a8,_0x2ef5d9,_0xe5ef7f){return _0x4ed0a8(_0x2ef5d9,_0x1b56a8-_0x413a5a._0x776fad,_0xe5ef7f-0x196,_0xe5ef7f-0x111);}let _0x11821e;try{_0x11821e=new URL(_0x1bcb72)[_0x269b7d(_0x5d2454._0x29881c,0x59c,0x65f,0x6ec)];}catch{_0x11821e=null;}function _0x2303cf(_0x28e433,_0x419222,_0x2b34bf,_0x207f64){return _0x4ed0a8(_0x28e433,_0x419222-_0x26c6f3._0x346326,_0x2b34bf- -_0x26c6f3._0x208cb9,_0x207f64-0xfa);}return{'title':_0x33b91e[_0x269b7d(_0x5d2454._0x492adb,_0x5d2454._0x1819c9,_0x5d2454._0x1720f0,0x73d)]||_0x269b7d(0x62a,_0x5d2454._0x35affd,0x584,_0x5d2454._0x2d4602),'url':normalizeUrl(_0x1bcb72),'snippet':_0x33b91e[_0x269b7d(0x539,0x5d7,_0x5d2454._0x47b3d6,0x59f)]??null,'displayUrl':_0x11821e,'favicon':null,'publishedAt':null,'source':{'engine':_0x2303cf(-_0x5d2454._0x49c5e7,-0x212,-0x10b,-0x39),'rank':_0x4a1c8f+0x1}};});function _0x3864e9(_0x576fb5,_0x14e3aa,_0x569b17,_0x20c15b){return _0x475ba1(_0x569b17,_0x14e3aa-0x167,_0x569b17-_0x5e0ff9._0x467f5b,_0x20c15b-0x198);}return{'items':_0x1d6ea1[_0x4ed0a8(0x2c0,0x45a,_0x1c32c6._0x278ab6,_0x1c32c6._0x32f6c9)](0x0,_0x455510),'engine':_0x4ed0a8(_0x1c32c6._0x15cd0c,0x428,_0x1c32c6._0x2919be,0x5ab)};}async function searchTavily(_0xb41a25,_0x1add7e,_0x47ea41){const _0x3b52cc={_0x41a8c5:0x288,_0x5196ab:0x143,_0x8a9bda:0xa9,_0x582f81:0x94,_0x33e0d4:0x51a,_0x51f7ca:0x57e,_0x232ff3:0x1e4,_0x3a2637:0x142,_0x38d28a:0xca,_0xf3c163:0x15f,_0x4e5547:0x1f1,_0x56f411:0x7a,_0x124bf0:0x166,_0x3bedbd:0xf0,_0x148be7:0x44,_0x484955:0xcf,_0x49ff6d:0x72c,_0x2eab4d:0x69a,_0x3ed61b:0x71a,_0x40dbf1:0x5e5,_0x409c19:0x525,_0x1148dc:0x1a4,_0x59d235:0x181,_0x1410bc:0x53c,_0x3f1e96:0x69a,_0x4b2ae8:0x59c,_0x511bce:0x68f,_0x4dd826:0xe1,_0x5eb3dd:0x58b,_0x269b4d:0x599,_0x19117f:0x194,_0x1bdbad:0xfd,_0x25b5d7:0xf3,_0x2d1099:0x793,_0x3de500:0x892,_0x30a090:0x618,_0x43a50e:0x721},_0x1a3634={_0x5e6fc9:0x2ef},_0x4d529c={_0x12a53c:0x1ec},_0x3e7857={_0x82c7f8:0x1cf,_0x52fac1:0x1a4},_0x1ef792={_0x43b05e:0x17b,_0x2b670f:0xba},_0x493185=Math[_0x3e3986(-0x11d,-_0x3b52cc._0x41a8c5,-_0x3b52cc._0x5196ab,-0x12c)](0x1,Math[_0x3e3986(-_0x3b52cc._0x8a9bda,0xd3,-0x9f,-_0x3b52cc._0x582f81)](0x14,_0x1add7e[_0xfba433(0x7a7,0x688,_0x3b52cc._0x33e0d4,_0x3b52cc._0x51f7ca)])),_0x4811bd={'query':_0x1add7e['query'],'max_results':_0x493185,'search_depth':_0xb41a25[_0x3e3986(_0x3b52cc._0x232ff3,_0x3b52cc._0x3a2637,_0x3b52cc._0x38d28a,_0x3b52cc._0xf3c163)]??_0x3e3986(-_0x3b52cc._0x4e5547,-_0x3b52cc._0x56f411,-0x1e7,-_0x3b52cc._0x124bf0),'topic':_0xb41a25[_0x3e3986(0xb,-_0x3b52cc._0x3bedbd,-_0x3b52cc._0x148be7,_0x3b52cc._0x484955)]??_0xfba433(_0x3b52cc._0x49ff6d,0x759,0x80a,0x865)};if(_0x1add7e[_0xfba433(0x625,_0x3b52cc._0x2eab4d,_0x3b52cc._0x3ed61b,_0x3b52cc._0x40dbf1)][_0xfba433(0x511,0x68c,_0x3b52cc._0x409c19,0x621)]>0x0)_0x4811bd[_0x3e3986(-0x30e,-0xbd,-_0x3b52cc._0x1148dc,-_0x3b52cc._0x59d235)]=_0x1add7e[_0xfba433(_0x3b52cc._0x1410bc,_0x3b52cc._0x3f1e96,_0x3b52cc._0x4b2ae8,_0x3b52cc._0x511bce)];const _0x39adfb=await fetchJson('https://api.tavily.com/search',_0x47ea41,{'method':_0x3e3986(-0x211,0x4,-_0x3b52cc._0x4dd826,-0x23f),'headers':{'Authorization':_0xfba433(_0x3b52cc._0x5eb3dd,0x6b3,0x81f,_0x3b52cc._0x269b4d)+_0xb41a25['tavilyApiKey'],'Content-Type':'application/json'},'body':JSON[_0x3e3986(_0x3b52cc._0x19117f,_0x3b52cc._0x1bdbad,0x45,_0x3b52cc._0x25b5d7)](_0x4811bd)});function _0xfba433(_0x44d36d,_0x46843a,_0x444149,_0x2f8482){return _0x511d68(_0x44d36d-_0x1ef792._0x43b05e,_0x46843a-0x17e,_0x444149-_0x1ef792._0x2b670f,_0x44d36d);}function _0x3e3986(_0x2873fe,_0x3413a4,_0x59f44e,_0x395506){return _0x475ba1(_0x2873fe,_0x59f44e- -_0x3e7857._0x82c7f8,_0x59f44e-_0x3e7857._0x52fac1,_0x395506-0x140);}const _0x290d01=_0x39adfb[_0xfba433(0x84f,_0x3b52cc._0x2d1099,_0x3b52cc._0x3de500,0x72c)]??[],_0x5bfefd=_0x290d01[_0x3e3986(-0x1ac,-0xc0,-0xc9,0x69)]((_0x2c941f,_0x2c5b9a)=>{const _0x2e8ac4={_0x433ea2:0x58};function _0x473f38(_0x3b7181,_0x4a9a43,_0x388b82,_0x4d67a9){return _0x3e3986(_0x388b82,_0x4a9a43-0xe,_0x4a9a43-0x2ed,_0x4d67a9-_0x4d529c._0x12a53c);}const _0x15bd2e=_0x2c941f['url']||'';let _0x423715;function _0x427fba(_0x242ea1,_0x171210,_0x201515,_0x111384){return _0xfba433(_0x171210,_0x111384- -0x6bb,_0x201515-_0x2e8ac4._0x433ea2,_0x111384-0x159);}try{_0x423715=new URL(_0x15bd2e)['host'];}catch{_0x423715=null;}return{'title':_0x2c941f['title']||_0x473f38(0x2d2,0x14f,0x24c,0x1bc),'url':normalizeUrl(_0x15bd2e),'snippet':_0x2c941f['content']??null,'displayUrl':_0x423715,'favicon':null,'publishedAt':null,'source':{'engine':_0x473f38(0x1ec,_0x1a3634._0x5e6fc9,0x220,0x198),'rank':_0x2c5b9a+0x1}};});return{'items':_0x5bfefd[_0xfba433(0x5f5,_0x3b52cc._0x30a090,0x5c1,_0x3b52cc._0x43a50e)](0x0,_0x493185),'engine':'tavily'};}async function searchGoogleCse(_0x5a354e,_0x50d113,_0x588cd8){const _0x39a61b={_0x4e001f:0x12,_0x5d52f4:0x27,_0x1b3fca:0x4fc,_0x8ca894:0x510,_0x4d6ec2:0x1d0,_0x36c1b1:0x7c,_0x2ef4a0:0x58,_0x114e69:0x5d4,_0x178d51:0x5ef,_0x2943f7:0x4cd,_0x117def:0x434,_0x240c4:0x745,_0x2859fd:0x6b2,_0x506e40:0x5f4,_0x3e2bcc:0x5cb,_0x4be6ea:0x4b3,_0x274581:0xf1,_0x27f365:0xfb,_0x2c6d6d:0xa5,_0x540231:0x82d,_0x4885e3:0x688,_0x28d527:0x5f5,_0x5849eb:0x29f,_0xfd43f5:0x1f7,_0x3db22e:0x6e7,_0x2443c2:0x75e,_0x4206c0:0x716,_0x153dab:0x239,_0x5e5cbf:0x163,_0xa0a0a1:0x68,_0x45c28f:0x896,_0x4eb8d4:0x810,_0x3dabe4:0x855,_0x330088:0x7c6,_0x5259ac:0x667,_0xce02e:0x81e,_0x72269c:0x359,_0x30b146:0x193,_0x3b9a58:0xc6,_0x4739e3:0x92,_0x2b9792:0x92,_0x1d489a:0x700,_0x394333:0x682,_0x54db81:0x60a,_0x24f9a0:0x651,_0x2aac0c:0x69c,_0x2d10d9:0x630,_0xeeade2:0x719,_0x210829:0x638,_0x3caefd:0x70d,_0x24d3ae:0x47c,_0x45a4aa:0x5d8,_0x1b8bee:0x721,_0x3f0a8d:0x1de,_0x5e47a6:0x521,_0x145596:0x593,_0xa5c0dc:0x68d,_0x580274:0x637,_0x35c073:0x5a4,_0x15d7cb:0x6dd,_0x357333:0x621,_0x2ce0a5:0x711,_0x4b2b08:0x670,_0xeec4a3:0x66c,_0xcd159d:0x275,_0x4751b0:0x144,_0x5c05d4:0x2bd,_0x431c11:0x1e7,_0x11a3c6:0x2a0,_0x44b993:0x98,_0x4f11ac:0x4b,_0x4e6966:0x8e,_0x1c1a95:0x739,_0xb827f3:0x7c0,_0x328bb2:0x634,_0x400576:0x7e7,_0x220a36:0x55c,_0x118c86:0x564,_0x40619f:0x524,_0x2ed47b:0x58e,_0x5a7247:0x437,_0x2f2072:0x56a,_0x4f970f:0x5ad,_0x400fec:0x10f,_0x157f85:0x1ce,_0x5321ad:0x5b8,_0xca1166:0x83a,_0x4e1ef2:0x6e6,_0x164f87:0x80,_0x205fff:0xf8,_0x3761a1:0x34,_0x19489e:0x602,_0x2c3a8d:0x613,_0x416b0d:0x5a8,_0x51bd66:0x4af,_0x59558f:0x2f6,_0x52d1c9:0x13c,_0x243556:0x24d,_0x10005f:0x51,_0x40f04f:0x6,_0x23722e:0x74,_0x1e3eba:0x9b,_0x53d1bc:0x18b,_0x326312:0x20,_0x24dedb:0x40f,_0x54c426:0x47a,_0x5888db:0x4de,_0x204577:0xce,_0x4e8a8b:0x5c,_0x564ec6:0x428},_0x41f93a={_0x244c3f:0x49b,_0xc84fa2:0x7a},_0x1cba82={_0x481438:0x6},_0x42c0ff=Math[_0x4d8ccf(-_0x39a61b._0x4e001f,-0x14a,0x2c,_0x39a61b._0x5d52f4)](0x1,Math[_0x27432e(_0x39a61b._0x1b3fca,0x5cb,0x6ef,_0x39a61b._0x8ca894)](0x32,_0x50d113[_0x4d8ccf(_0x39a61b._0x4d6ec2,_0x39a61b._0x36c1b1,-0x12c,_0x39a61b._0x2ef4a0)]));if(_0x50d113[_0x27432e(0x4eb,0x653,0x760,0x5bb)]+_0x42c0ff>0x64)throw new ToolExecutionError(_0x27432e(_0x39a61b._0x114e69,0x6e2,_0x39a61b._0x178d51,0x757),{'offset':_0x50d113['offset'],'count':_0x42c0ff,'maxResults':0x64});const _0x3cab75=cseDateRestrict(_0x50d113[_0x27432e(0x34a,_0x39a61b._0x2943f7,0x42e,_0x39a61b._0x117def)]);function _0x4d8ccf(_0x303e95,_0x8756e0,_0x2264af,_0x527d7b){return _0x475ba1(_0x303e95,_0x527d7b- -0x65,_0x2264af-0x15e,_0x527d7b-_0x1cba82._0x481438);}const _0x2898bc=addSiteFilters(_0x50d113[_0x27432e(0x57b,0x6eb,_0x39a61b._0x240c4,0x6b4)],_0x50d113[_0x27432e(_0x39a61b._0x2859fd,0x56a,0x419,0x565)]);let _0x234b18=0x0,_0x5bd7f0=_0x50d113['offset']+0x1;function _0x27432e(_0x4b7e25,_0x3bba7f,_0x4fe338,_0x1eb53c){return _0x475ba1(_0x1eb53c,_0x3bba7f-_0x41f93a._0x244c3f,_0x4fe338-0x1e5,_0x1eb53c-_0x41f93a._0xc84fa2);}const _0x54cf0f=[];while(_0x234b18<_0x42c0ff){const _0x2dd520=Math[_0x27432e(_0x39a61b._0x506e40,_0x39a61b._0x3e2bcc,_0x39a61b._0x4be6ea,0x73f)](0xa,_0x42c0ff-_0x234b18),_0x4e2595=new URL(_0x4d8ccf(_0x39a61b._0x274581,_0x39a61b._0x27f365,0xe4,_0x39a61b._0x2c6d6d));_0x4e2595[_0x4d8ccf(0x75,0x228,0x91,0x1e7)][_0x27432e(0x6d0,0x739,_0x39a61b._0x540231,0x61f)](_0x27432e(0x62d,_0x39a61b._0x4885e3,_0x39a61b._0x28d527,0x565),_0x5a354e[_0x4d8ccf(_0x39a61b._0x5849eb,0x11f,_0x39a61b._0xfd43f5,0x159)]),_0x4e2595[_0x27432e(0x740,_0x39a61b._0x3db22e,_0x39a61b._0x2443c2,_0x39a61b._0x4206c0)][_0x4d8ccf(0x158,0x1cc,0x1e1,_0x39a61b._0x153dab)]('cx',_0x5a354e['googleCseCx']),_0x4e2595[_0x4d8ccf(_0x39a61b._0x5e5cbf,0x9b,_0x39a61b._0xa0a0a1,0x1e7)][_0x27432e(_0x39a61b._0x45c28f,0x739,0x663,_0x39a61b._0x4eb8d4)]('q',_0x2898bc),_0x4e2595[_0x27432e(_0x39a61b._0x3dabe4,0x6e7,_0x39a61b._0x330088,_0x39a61b._0x5259ac)][_0x27432e(0x82d,0x739,_0x39a61b._0xce02e,0x5b6)]('num',String(_0x2dd520)),_0x4e2595[_0x4d8ccf(_0x39a61b._0x72269c,_0x39a61b._0x30b146,0x203,0x1e7)][_0x4d8ccf(0x2ba,0x153,0x2de,0x239)](_0x4d8ccf(_0x39a61b._0x3b9a58,-_0x39a61b._0x4739e3,-0x65,-_0x39a61b._0x2b9792),String(_0x5bd7f0)),_0x4e2595[_0x27432e(_0x39a61b._0x1d489a,_0x39a61b._0x3db22e,0x5c7,_0x39a61b._0x394333)]['set']('safe',_0x50d113['safe']?_0x27432e(_0x39a61b._0x54db81,0x4ee,_0x39a61b._0x24f9a0,0x50f):'off');_0x50d113[_0x27432e(0x6c9,_0x39a61b._0x2aac0c,0x6e7,_0x39a61b._0x2d10d9)]&&(_0x4e2595['searchParams'][_0x4d8ccf(0x150,0x230,0x38a,0x239)]('hl',_0x50d113[_0x27432e(_0x39a61b._0xeeade2,0x69c,_0x39a61b._0x210829,_0x39a61b._0x3caefd)]),_0x4e2595['searchParams']['set']('lr',_0x27432e(_0x39a61b._0x24d3ae,_0x39a61b._0x45a4aa,_0x39a61b._0x1b8bee,0x53a)+_0x50d113[_0x4d8ccf(0x62,_0x39a61b._0x3f0a8d,0x19b,0x19c)]));if(_0x50d113[_0x27432e(_0x39a61b._0x5e47a6,_0x39a61b._0x145596,0x6a4,0x66f)])_0x4e2595[_0x27432e(_0x39a61b._0xa5c0dc,0x6e7,_0x39a61b._0x580274,_0x39a61b._0x35c073)][_0x27432e(0x6be,0x739,0x5d7,0x746)]('gl',_0x50d113[_0x27432e(_0x39a61b._0x15d7cb,_0x39a61b._0x145596,_0x39a61b._0x357333,0x555)]['toUpperCase']());if(_0x50d113[_0x27432e(_0x39a61b._0x2ce0a5,_0x39a61b._0x4b2b08,0x686,_0x39a61b._0xeec4a3)]===_0x4d8ccf(_0x39a61b._0xcd159d,0x63,-0xd,_0x39a61b._0x4751b0))_0x4e2595[_0x4d8ccf(_0x39a61b._0x5c05d4,0x1b3,0x2e0,_0x39a61b._0x431c11)][_0x4d8ccf(0x251,0xd7,_0x39a61b._0x11a3c6,_0x39a61b._0x153dab)](_0x4d8ccf(0x118,-_0x39a61b._0x44b993,0x1a,_0x39a61b._0x4f11ac),_0x4d8ccf(0x112,_0x39a61b._0x2c6d6d,0xfc,_0x39a61b._0x4e6966));if(_0x3cab75)_0x4e2595['searchParams'][_0x27432e(0x71e,_0x39a61b._0x1c1a95,_0x39a61b._0xb827f3,_0x39a61b._0x328bb2)](_0x27432e(0x3e0,0x4f4,0x522,0x5fd),_0x3cab75);const _0x148ffa=await fetchJson(_0x4e2595[_0x27432e(0x5da,0x5e7,0x545,0x46a)](),_0x588cd8),_0x37bffa=_0x148ffa[_0x27432e(0x5fd,0x66a,_0x39a61b._0x400576,0x69d)]??[];if(_0x37bffa[_0x27432e(0x519,_0x39a61b._0x220a36,0x698,0x507)]===0x0)break;const _0x238993=_0x234b18;for(let _0x46312b=0x0;_0x46312b<_0x37bffa[_0x27432e(0x4b1,0x55c,_0x39a61b._0x118c86,_0x39a61b._0x40619f)];_0x46312b++){const _0x2ff98e=_0x37bffa[_0x46312b];if(!_0x2ff98e)continue;const _0x511d19=_0x2ff98e['link']||_0x2ff98e[_0x27432e(0x47c,_0x39a61b._0x2ed47b,_0x39a61b._0x5a7247,0x59e)]?.[_0x27432e(_0x39a61b._0x2f2072,_0x39a61b._0x4f970f,0x6a0,0x568)]||'',_0x422878=_0x2ff98e[_0x4d8ccf(0xe1,0x25a,_0x39a61b._0x400fec,_0x39a61b._0x157f85)]||_0x2ff98e[_0x27432e(0x47f,0x58e,_0x39a61b._0x5321ad,0x45d)]?.[_0x27432e(0x5fc,0x6ce,_0x39a61b._0xca1166,_0x39a61b._0x4e1ef2)]||_0x4d8ccf(-_0x39a61b._0x164f87,-0x133,-_0x39a61b._0x205fff,-_0x39a61b._0x3761a1),_0x3d8201=_0x2ff98e[_0x27432e(0x715,0x5a2,_0x39a61b._0x19489e,_0x39a61b._0x2c3a8d)]||_0x2ff98e[_0x27432e(_0x39a61b._0x416b0d,0x55d,0x4c4,0x6ad)]?.[_0x27432e(0x518,0x48c,0x5e3,_0x39a61b._0x51bd66)](/<[^>]+>/g,''),_0x2160ca=_0x2ff98e[_0x4d8ccf(0x1cb,_0x39a61b._0x59558f,_0x39a61b._0x52d1c9,_0x39a61b._0x243556)]?.['metatags']?.[0x0]??{};let _0x324f39;try{_0x324f39=new URL(_0x511d19)['host'];}catch{_0x324f39=null;}_0x54cf0f[_0x4d8ccf(_0x39a61b._0x10005f,-_0x39a61b._0x40f04f,_0x39a61b._0x23722e,-_0x39a61b._0x1e3eba)]({'title':_0x422878,'url':normalizeUrl(_0x511d19),'snippet':_0x3d8201??null,'displayUrl':_0x324f39,'favicon':null,'publishedAt':_0x2160ca[_0x4d8ccf(_0x39a61b._0x53d1bc,-0x40,-0xed,_0x39a61b._0x326312)]||_0x2160ca['og:updated_time']||null,'source':{'engine':_0x4d8ccf(-0xd4,0x82,-0x6a,-0x77),'rank':_0x238993+_0x46312b+0x1}});}_0x234b18+=_0x37bffa[_0x27432e(_0x39a61b._0x24dedb,0x55c,_0x39a61b._0x54c426,_0x39a61b._0x5888db)],_0x5bd7f0+=_0x37bffa['length'];if(_0x37bffa[_0x4d8ccf(0x101,-_0x39a61b._0x204577,0x7c,_0x39a61b._0x4e8a8b)]<_0x2dd520)break;}return _0x54cf0f[_0x27432e(0x3b2,0x4e8,0x63c,_0x39a61b._0x564ec6)](0x0,_0x42c0ff);}function isGoogleCseEngine(_0x4bddf0){const _0x2580c2={_0x27b022:0x61f},_0x2d97db={_0xe6cc01:0x589,_0x593c5a:0x1db};function _0x28ad63(_0x19a63a,_0xdcca0d,_0x2ce264,_0x2274f0){return _0x475ba1(_0xdcca0d,_0x19a63a-_0x2d97db._0xe6cc01,_0x2ce264-_0x2d97db._0x593c5a,_0x2274f0-0x1d6);}return _0x28ad63(0x747,_0x2580c2._0x27b022,0x665,0x774)in _0x4bddf0;}function isOllamaEngine(_0x39bdba){const _0x47e7e5={_0x554a07:0x246},_0x3f0f78={_0x4137c2:0x1cf};function _0x3954fd(_0x4e4d0f,_0x45bf5f,_0x3d5193,_0x2006c4){return _0x511d68(_0x4e4d0f-0x6b,_0x3d5193- -0x586,_0x3d5193-_0x3f0f78._0x4137c2,_0x4e4d0f);}return _0x3954fd(0x271,_0x47e7e5._0x554a07,0x14b,0x243)in _0x39bdba;}function isTavilyEngine(_0x19cd6e){function _0x2fbd82(_0x1ea0a3,_0x141d42,_0x3af58a,_0x27adf7){return _0x511d68(_0x1ea0a3-0x126,_0x141d42- -0x7c,_0x3af58a-0x1e1,_0x27adf7);}return _0x2fbd82(0x3a2,0x4ea,0x3d8,0x483)in _0x19cd6e;}function createWebSearchTool(_0xc28a09){const _0x15337c={_0x5affee:0x603,_0x32499e:0x73e,_0x1beb38:0x410,_0x2db4bc:0x58d,_0x1e5334:0x4e3,_0x394f53:0x697,_0x2e2f22:0x5c1,_0x146281:0x6a9,_0x1f16a8:0x7c1,_0xc75692:0x3e5,_0x43d213:0x44c,_0x1914f1:0x505,_0x3bdd6c:0x576,_0xa55e10:0x530,_0x1ff21c:0x57b,_0x4ec21d:0x539,_0x43a391:0x7c4,_0x2ee20c:0x73a,_0x199d70:0x6d8,_0xddd87:0x71f,_0x55eb06:0x668,_0x27b2a7:0x81d,_0x3f5bd4:0x4f9,_0x12fc0a:0x732},_0x5e45a7={_0x437ef1:0x15e,_0x2f27f4:0x82,_0x518ad0:0x8f,_0x37aad8:0xf9,_0x987539:0x1c,_0x5c6e45:0x2cc,_0x57ff33:0x3f,_0x5c7ba6:0x1c4,_0x2fdd11:0x21b,_0x5777ca:0xa,_0x41811e:0x34,_0x4a309b:0xe0,_0x584451:0xd1,_0x4ba235:0x12e,_0xe92c50:0x163,_0xc5a203:0x1d3,_0x494518:0x75,_0xab8bb6:0x4f,_0x210c9a:0xe0,_0x4ecc17:0x27,_0x1cc875:0x1e2,_0x31a3a9:0x1c,_0x4f4590:0xc0,_0x58c45c:0x180,_0x3dbd9d:0x1a6,_0x1836e1:0x2e,_0x40adda:0xc9,_0x1eade9:0x54,_0x169599:0x1e3,_0x585abf:0x27,_0x3ffbf2:0x14d,_0x55d362:0xe,_0x37ca1a:0x138,_0x47dbd3:0x15f,_0x25e0ed:0x3d6,_0x239453:0x2a4,_0x3dcbc1:0x2e1,_0x5eba26:0x23e,_0x1ad761:0x1af,_0x132a6b:0x393,_0x1a628e:0x2b9,_0x5a8c98:0xbd,_0x453ad2:0x8f,_0x4fe635:0x14b,_0x58eee1:0x43b,_0x2f6fe4:0x262,_0x3b1916:0x2e1,_0x433f5d:0x1c8,_0x21ab70:0x17b,_0x34710a:0x263,_0x4f99c0:0x274,_0xc383ff:0x2ba,_0x3bb3a8:0x4,_0x103c57:0x11a,_0x19209d:0x223,_0x339541:0x1f2,_0x59279b:0x292,_0x4b2321:0x181,_0x1898cd:0x3c,_0x467742:0x1ba,_0x29ab11:0xe8,_0x349b8e:0x84,_0x56bea3:0xd2,_0x295dda:0xef,_0x115a09:0x13b,_0x339307:0x25d,_0xacc9fa:0x22,_0x3ff835:0x120,_0x1d3000:0xe2,_0x52985c:0x43,_0x169402:0x1ad,_0x2289ba:0x10c,_0x35f4af:0x197,_0x29349e:0x1f9,_0x238498:0xdb,_0x2591e9:0x43,_0x201240:0xa6,_0x5f103b:0x2c,_0x364c16:0x2dd,_0x28d03d:0x15b,_0x58c3ac:0x59,_0x1deebb:0x163,_0x5bae98:0x153,_0x546aee:0xb4,_0x22ee20:0xc6,_0x1573e3:0x3ad,_0x414a5f:0x295,_0x2985b7:0x0,_0x4a531e:0x1ad,_0x3f44da:0x4e,_0x5abd8d:0x22b,_0x5d1286:0xc7,_0x4e240b:0x71,_0x5e0433:0x18c,_0x1e456f:0x70,_0x5042d3:0x1a,_0x5e3d5f:0x8,_0x37b675:0x29f,_0x24cea0:0x155,_0xd0c372:0x16d,_0x16678e:0x1bc,_0x3760f7:0x2e4,_0x2bfe01:0x46e,_0x2138c3:0x487,_0xdd24d4:0x5,_0x1e5c07:0x9e,_0x250dbf:0xe1,_0x4baba9:0x344,_0x3cb4f0:0xeb,_0x36e553:0x24c,_0x43eef5:0x55,_0x3614f6:0x6e,_0x43d3cd:0xae},_0x4a7c26={_0x486ed5:0x116,_0x255522:0x510},_0x499612={_0xaee2be:0x1d7},_0xdfdb3f={_0x38e3dc:0x1ca};if(!_0xc28a09[_0x4365a3(0x58e,0x713,_0x15337c._0x5affee,_0x15337c._0x32499e)]||_0xc28a09[_0x52cd79(0x557,_0x15337c._0x1beb38,_0x15337c._0x2db4bc,_0x15337c._0x1e5334)]['length']===0x0)throw new Error(_0x4365a3(0x977,0x80d,0x968,0x930));function _0x52cd79(_0x30293b,_0x389cb5,_0x9e2e12,_0x468b5f){return _0x475ba1(_0x468b5f,_0x9e2e12-0x3fe,_0x9e2e12-_0xdfdb3f._0x38e3dc,_0x468b5f-0x1ab);}const _0x5da3bc=_0xc28a09['name']??_0x4365a3(_0x15337c._0x394f53,0x592,_0x15337c._0x2e2f22,_0x15337c._0x146281);function _0x4365a3(_0x54e793,_0x2c9979,_0x145122,_0x239805){return _0x475ba1(_0x54e793,_0x2c9979-0x584,_0x145122-0x14b,_0x239805-0x17a);}const _0x45e2c0=_0xc28a09[_0x4365a3(0x5a9,0x6d5,0x77d,_0x15337c._0x1f16a8)];return defineTool({'name':_0x5da3bc,'description':_0x52cd79(0x27c,0x295,_0x15337c._0xc75692,_0x15337c._0x43d213),'inputSchema':{'type':_0x52cd79(_0x15337c._0x1914f1,0x6a5,0x5c4,_0x15337c._0x3bdd6c),'properties':{'description':{'type':_0x52cd79(_0x15337c._0xa55e10,0x5cd,_0x15337c._0x1ff21c,0x411)},'query':{'type':_0x52cd79(_0x15337c._0x4ec21d,0x579,_0x15337c._0x1ff21c,0x6b0)},'count':{'type':_0x4365a3(_0x15337c._0x43a391,0x71f,_0x15337c._0x2ee20c,_0x15337c._0x199d70)},'offset':{'type':_0x4365a3(0x66d,_0x15337c._0xddd87,0x852,_0x15337c._0x55eb06)},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x4365a3(0x6b0,_0x15337c._0xddd87,0x662,_0x15337c._0x27b2a7)},'lang':{'type':'string'},'region':{'type':_0x52cd79(0x429,0x691,0x57b,0x4b5)},'safe':{'type':'boolean'},'type':{'type':'string'},'hydrateMeta':{'type':_0x52cd79(0x70a,_0x15337c._0x3f5bd4,0x5b7,0x564)}},'required':[_0x4365a3(_0x15337c._0x12fc0a,0x7d4,0x7ac,0x7ba)]},async *'execute'(_0x557a94,_0x4de193){const _0x3e26a6={_0x10f906:0x1ce,_0xdf355:0x3b,_0x22fb91:0x89,_0x33727a:0x2da,_0x3008e1:0x286,_0x3fef98:0x2b3,_0x557ae5:0x421,_0x2dafdf:0x486},_0x359e69={_0x32396c:0x1b9,_0x4ad913:0x3},_0x145c79=_0x557a94['query']['trim']();if(!_0x145c79)throw new ToolExecutionError(_0x3e646c(-_0x5e45a7._0x437ef1,-_0x5e45a7._0x2f27f4,_0x5e45a7._0x518ad0,-0x1e5));const _0x5c73d0={'query':_0x145c79,'count':Math[_0x26e014(_0x5e45a7._0x37aad8,0x179,_0x5e45a7._0x987539,0x120)](0x1,Math[_0x26e014(_0x5e45a7._0x5c6e45,0xec,_0x5e45a7._0x57ff33,_0x5e45a7._0x5c7ba6)](0x32,Math[_0x3e646c(-_0x5e45a7._0x2fdd11,-0x131,-0xf5,-_0x5e45a7._0x5777ca)](_0x557a94[_0x3e646c(-_0x5e45a7._0x41811e,-0x55,0xe3,-0xa4)]??0xa))),'offset':Math['max'](0x0,Math[_0x3e646c(0x6,-0x131,-_0x5e45a7._0x4a309b,-_0x5e45a7._0x584451)](_0x557a94['offset']??0x0)),'domains':_0x557a94[_0x26e014(_0x5e45a7._0x5777ca,0x29c,_0x5e45a7._0x4ba235,_0x5e45a7._0xe92c50)]??[],'recencyDays':Math['max'](0x0,Math[_0x26e014(0x80,_0x5e45a7._0xc5a203,0x171,_0x5e45a7._0x494518)](_0x557a94[_0x3e646c(-_0x5e45a7._0xab8bb6,-_0x5e45a7._0x210c9a,-_0x5e45a7._0x4ecc17,-_0x5e45a7._0x1cc875)]??0x0)),'lang':_0x557a94['lang']??'en','region':_0x557a94[_0x3e646c(_0x5e45a7._0x31a3a9,-0x1a,-_0x5e45a7._0x4f4590,-_0x5e45a7._0x58c45c)]??'','safe':_0x557a94[_0x3e646c(0x327,_0x5e45a7._0x3dbd9d,0x9f,0x27c)]??!![],'type':normalizeType(_0x557a94[_0x3e646c(0x125,0xc3,-_0x5e45a7._0x1836e1,_0x5e45a7._0x40adda)]),'hydrateMeta':_0x557a94[_0x26e014(-0x2,-_0x5e45a7._0x1eade9,_0x5e45a7._0x169599,0xe8)]??![]};let _0x1dfe14=[],_0x4de9a5=_0x3e646c(0x17c,_0x5e45a7._0x585abf,-_0x5e45a7._0x3ffbf2,-0x86);for(const _0x2bd1f2 of _0xc28a09[_0x3e646c(-_0x5e45a7._0x55d362,0x7d,_0x5e45a7._0x37ca1a,-0xa8)]){try{if(isGoogleCseEngine(_0x2bd1f2))_0x1dfe14=await searchGoogleCse(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(_0x5e45a7._0x47dbd3,_0x5e45a7._0x25e0ed,_0x5e45a7._0x239453,_0x5e45a7._0x3dcbc1)]),_0x4de9a5=_0x3e646c(-_0x5e45a7._0x5eba26,-0x124,-0x20d,-_0x5e45a7._0x1ad761);else{if(isOllamaEngine(_0x2bd1f2)){const _0x4a4e61=await searchOllama(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(0x35c,_0x5e45a7._0x132a6b,_0x5e45a7._0x1a628e,0x2e1)]);_0x1dfe14=_0x4a4e61[_0x3e646c(0x3c,_0x5e45a7._0x5a8c98,0x70,_0x5e45a7._0x453ad2)],_0x4de9a5=_0x4a4e61[_0x26e014(_0x5e45a7._0x4fe635,0x17a,_0x5e45a7._0x58eee1,0x2c2)];}else{if(isTavilyEngine(_0x2bd1f2)){const _0x397de6=await searchTavily(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(0x21c,_0x5e45a7._0x2f6fe4,0x234,_0x5e45a7._0x3b1916)]);_0x1dfe14=_0x397de6[_0x26e014(0x2cb,_0x5e45a7._0x433f5d,_0x5e45a7._0x21ab70,_0x5e45a7._0x34710a)],_0x4de9a5=_0x397de6[_0x26e014(_0x5e45a7._0x4f99c0,_0x5e45a7._0xc383ff,0x19e,0x2c2)];}}}if(_0x1dfe14[_0x3e646c(_0x5e45a7._0x3bb3a8,-0x51,_0x5e45a7._0x103c57,0x12d)]>0x0)break;}catch(_0x2d4370){if(_0x2bd1f2===_0xc28a09[_0x26e014(0x188,0x172,0x223,_0x5e45a7._0x19209d)][_0xc28a09[_0x26e014(_0x5e45a7._0x339541,_0x5e45a7._0x59279b,_0x5e45a7._0x4b2321,_0x5e45a7._0x19209d)]['length']-0x1])throw _0x2d4370;}}_0x5c73d0[_0x26e014(-_0x5e45a7._0x1898cd,0x19c,_0x5e45a7._0x467742,_0x5e45a7._0x29ab11)]&&_0x1dfe14[_0x3e646c(-_0x5e45a7._0x349b8e,-0x51,-_0x5e45a7._0x56bea3,0x4)]>0x0&&(_0x1dfe14=await hydrateResults(_0x1dfe14,_0x5c73d0[_0x3e646c(0x79,_0x5e45a7._0x295dda,0x212,-0x59)],_0x4de193[_0x3e646c(0xe7,_0x5e45a7._0x115a09,0x112,_0x5e45a7._0x339307)],_0x45e2c0));const _0x26d84b=new Set();_0x1dfe14=_0x1dfe14[_0x3e646c(-_0x5e45a7._0x2f27f4,-0x95,-0x1ef,_0x5e45a7._0xacc9fa)](_0x3356d6=>{function _0x1b69a5(_0x4a14d5,_0x5c693d,_0x255975,_0x40f960){return _0x3e646c(_0x4a14d5,_0x255975-0x378,_0x255975-0x1b1,_0x40f960-0xcf);}const _0x868b44=_0x3356d6[_0x36a4dc(_0x3e26a6._0x10f906,-_0x3e26a6._0xdf355,_0x3e26a6._0x22fb91,0x7b)][_0x36a4dc(0x245,_0x3e26a6._0x33727a,_0x3e26a6._0x3008e1,0x321)]();if(!_0x868b44||_0x26d84b[_0x1b69a5(0x3dd,_0x3e26a6._0x3fef98,0x3d5,_0x3e26a6._0x557ae5)](_0x868b44))return![];function _0x36a4dc(_0x26d214,_0x2a8956,_0x3044ac,_0x33c767){return _0x3e646c(_0x33c767,_0x3044ac-_0x359e69._0x32396c,_0x3044ac-_0x359e69._0x4ad913,_0x33c767-0xb0);}return _0x26d84b[_0x1b69a5(0x483,_0x3e26a6._0x2dafdf,0x38e,0x24c)](_0x868b44),!![];}),_0x1dfe14=_0x1dfe14[_0x3e646c(_0x5e45a7._0x3ff835,-0xc,-0x15b,_0x5e45a7._0x1d3000)]((_0x49b375,_0x576e2a)=>({..._0x49b375,'source':{..._0x49b375['source'],'rank':_0x576e2a+0x1}}));const _0x740a67={};if(_0x5c73d0[_0x3e646c(-0xd3,-_0x5e45a7._0x52985c,-0x1b4,-_0x5e45a7._0x169402)][_0x26e014(_0x5e45a7._0x2289ba,_0x5e45a7._0x35f4af,_0x5e45a7._0x29349e,0x155)]>0x0)_0x740a67[_0x3e646c(_0x5e45a7._0x238498,-_0x5e45a7._0x2591e9,-_0x5e45a7._0x201240,_0x5e45a7._0x5f103b)]=_0x5c73d0[_0x26e014(_0x5e45a7._0x364c16,_0x5e45a7._0x28d03d,_0x5e45a7._0x58c3ac,_0x5e45a7._0x1deebb)];if(_0x5c73d0['recencyDays']>0x0)_0x740a67[_0x26e014(_0x5e45a7._0x5bae98,0x4,_0x5e45a7._0x546aee,_0x5e45a7._0x22ee20)]=_0x5c73d0['recencyDays'];if(_0x5c73d0[_0x26e014(_0x5e45a7._0x1573e3,0x252,0x331,_0x5e45a7._0x414a5f)]!=='en')_0x740a67[_0x3e646c(-0x2c,_0x5e45a7._0x295dda,_0x5e45a7._0x2985b7,_0x5e45a7._0x4a531e)]=_0x5c73d0[_0x3e646c(_0x5e45a7._0x3f44da,0xef,_0x5e45a7._0x5abd8d,_0x5e45a7._0x5d1286)];function _0x26e014(_0x50abe5,_0x2cff4e,_0x18d0ea,_0xa0e04c){return _0x4365a3(_0x18d0ea,_0xa0e04c- -0x4f0,_0x18d0ea-_0x499612._0xaee2be,_0xa0e04c-0x16e);}if(_0x5c73d0[_0x26e014(_0x5e45a7._0x4e240b,0x184,0x65,0x18c)])_0x740a67[_0x26e014(0x25,0x2d9,_0x5e45a7._0x546aee,_0x5e45a7._0x5e0433)]=_0x5c73d0[_0x3e646c(-_0x5e45a7._0x1e456f,-_0x5e45a7._0x5042d3,-0xe1,0x1c)];yield createToolOutput(formatResults(_0x1dfe14),{'engine':_0x4de9a5,'count':_0x1dfe14[_0x26e014(0x26b,-_0x5e45a7._0x5e3d5f,_0x5e45a7._0x37b675,_0x5e45a7._0x24cea0)],'items':_0x1dfe14,'query':_0x5c73d0[_0x26e014(_0x5e45a7._0xd0c372,_0x5e45a7._0x16678e,0x21d,_0x5e45a7._0x3760f7)],...Object[_0x26e014(_0x5e45a7._0x2bfe01,0x259,_0x5e45a7._0x2138c3,0x33c)](_0x740a67)[_0x3e646c(_0x5e45a7._0xdd24d4,-0x51,_0x5e45a7._0x1e5c07,_0x5e45a7._0x250dbf)]>0x0?{'appliedFilters':_0x740a67}:{},'offset':_0x5c73d0[_0x26e014(_0x5e45a7._0x4baba9,0x2f1,_0x5e45a7._0x3cb4f0,_0x5e45a7._0x36e553)],'totalRequested':_0x5c73d0[_0x3e646c(-0x7a,-_0x5e45a7._0x43eef5,0x8f,-0x1aa)],'hydrated':_0x5c73d0[_0x26e014(-_0x5e45a7._0x3614f6,_0x5e45a7._0x43d3cd,0x11d,0xe8)]});function _0x3e646c(_0x4a16e3,_0x3f9e65,_0x4d8064,_0x3d1880){return _0x52cd79(_0x4a16e3-0x1ea,_0x3f9e65-_0x4a7c26._0x486ed5,_0x3f9e65- -_0x4a7c26._0x255522,_0x4a16e3);}return void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|