@nuvin/agent-core 0.2.0-rc.10 → 0.2.0-rc.12
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-D5IVWJHX.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-KIIEBXJF.js +1 -0
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +11 -2
- package/dist/tools/core/runtime-manager-tools.d.ts +47 -2
- package/dist/tools/index.js +1 -1
- package/dist/tools/session/ask-user-tool.d.ts +2 -2
- package/package.json +2 -2
- package/dist/chunk-ZHE3E26D.js +0 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2e8025,_0x125705){const _0x5b103c={_0x140d5c:0x4f0,_0x3833da:0x39d,_0x3be5a4:0x30d,_0x9c18a9:0xc2,_0x2c695a:0x173,_0x5a525d:0x3e,_0xbc1c93:0x3e8,_0x3d085c:0x51e,_0x423d95:0x3ed,_0x3ccda5:0x4a4,_0x38a756:0x5f1,_0x217ab9:0x426,_0x41ceb9:0x4d,_0x487888:0x240,_0x104bc3:0x2a4,_0x1daba2:0x31b,_0x5c5855:0x295,_0x56904d:0x87,_0x3c22fc:0x28b,_0x54a1d1:0x2fe},_0x3d4026={_0x4d79dd:0x31e};function _0x5c7300(_0x1613e6,_0x36cb1e,_0x4dd202,_0x480ba9){return _0x678a(_0x36cb1e- -_0x3d4026._0x4d79dd,_0x4dd202);}const _0x248be6=_0x2e8025();function _0x18877c(_0x1ca3c5,_0x1c40a7,_0x88ca5f,_0x44a4e7){return _0x678a(_0x88ca5f-0xd9,_0x44a4e7);}while(!![]){try{const _0x31da2b=-parseInt(_0x18877c(_0x5b103c._0x140d5c,_0x5b103c._0x3833da,_0x5b103c._0x3be5a4,0x358))/0x1*(parseInt(_0x5c7300(0x2b6,_0x5b103c._0x9c18a9,0x9f,0x1bb))/0x2)+parseInt(_0x5c7300(0x3fb,0x27c,0x2d2,_0x5b103c._0x2c695a))/0x3+parseInt(_0x5c7300(0x134,0x1b5,-_0x5b103c._0x5a525d,-0x12))/0x4+-parseInt(_0x18877c(0x502,_0x5b103c._0xbc1c93,0x59d,_0x5b103c._0x3d085c))/0x5*(-parseInt(_0x18877c(_0x5b103c._0x423d95,_0x5b103c._0x3ccda5,_0x5b103c._0x38a756,_0x5b103c._0x217ab9))/0x6)+-parseInt(_0x5c7300(-0x17a,_0x5b103c._0x41ceb9,0xa9,_0x5b103c._0x487888))/0x7+-parseInt(_0x5c7300(0x211,0x41,-0x15c,0x132))/0x8+-parseInt(_0x18877c(_0x5b103c._0x104bc3,_0x5b103c._0x1daba2,_0x5b103c._0x5c5855,_0x5b103c._0x56904d))/0x9*(-parseInt(_0x5c7300(0x19c,_0x5b103c._0x3c22fc,_0x5b103c._0x54a1d1,0x467))/0xa);if(_0x31da2b===_0x125705)break;else _0x248be6['push'](_0x248be6['shift']());}catch(_0x1fa441){_0x248be6['push'](_0x248be6['shift']());}}}(_0x3ec8,0x48bec));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-ZHE3E26D.js';import'../chunk-GAZGO6N7.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x2eee78 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x47b891(0x352,0x44b,0x5b1,0x641),'.tsx':_0x47b891(0x576,0x720,0x8d6,0x524),'.js':'javascript','.jsx':_0xe18bb0(-0x10,0xf1,-0xb5,0x150),'.mjs':_0xe18bb0(0x177,0x27d,0x22d,0x353),'.cjs':_0x47b891(0x661,0x70e,0x752,0x56c),'.mts':_0x47b891(0x65b,0x44b,0x2a7,0x30d),'.cts':_0xe18bb0(0x17e,-0x46,0x17e,0x3a),'.json':_0x47b891(0x708,0x6d9,0x810,0x565),'.jsonc':_0xe18bb0(0x2bb,0x2c2,0x330,0x3eb)};function getLanguageId(_0xe265bd){const _0xfd817={_0x1a73bf:0x370,_0x4c9cf7:0xa9,_0x7b0ffa:0x93,_0x27c48a:0x13e,_0xb9f32a:0x33},_0x4c2b6a={_0x8a7b96:0xb0,_0x351008:0x1be},_0x58ed54={_0x31afbd:0x335};function _0x456678(_0x2ea069,_0x6a0157,_0x8547cf,_0x16857f){return _0x47b891(_0x2ea069,_0x6a0157- -_0x58ed54._0x31afbd,_0x8547cf-0x1b6,_0x16857f-0x0);}function _0x38442d(_0x4b2d6e,_0x5b567f,_0x53e988,_0x2f5e9b){return _0xe18bb0(_0x2f5e9b,_0x5b567f- -_0x4c2b6a._0x8a7b96,_0x53e988-0x93,_0x2f5e9b-_0x4c2b6a._0x351008);}return EXTENSION_TO_LANGUAGE[_0x2eee78[_0x38442d(_0xfd817._0x1a73bf,0x1be,0xa8,_0xfd817._0x4c9cf7)](_0xe265bd)[_0x38442d(-_0xfd817._0x7b0ffa,_0xfd817._0x27c48a,-0xb6,-_0xfd817._0xb9f32a)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0xee31a1){const _0x2087af={_0x108ffd:0x4be};function _0x441ba8(_0xf1b2ce,_0x5667c9,_0x416cdc,_0x3b2ba1){return _0xe18bb0(_0xf1b2ce,_0x416cdc-0x1c6,_0x416cdc-0x99,_0x3b2ba1-0x1a3);}return pathToFileURL(_0xee31a1)[_0x441ba8(0x3f3,0x3b9,_0x2087af._0x108ffd,0x37f)]();}function textDocumentPosition(_0x1b9319){const _0x224cd7={_0x917d69:0x234,_0x1727ff:0x308,_0x3f5b9a:0x15,_0x14f744:0x5d5,_0x35872e:0x873},_0x5ce2f7={_0x18106a:0xe3,_0x2839ae:0x12,_0x4e9de3:0xbd};function _0x4cecb0(_0x385355,_0x43a2cd,_0x7eb15,_0x5aa6b7){return _0xe18bb0(_0x43a2cd,_0x7eb15- -_0x5ce2f7._0x18106a,_0x7eb15-_0x5ce2f7._0x2839ae,_0x5aa6b7-_0x5ce2f7._0x4e9de3);}function _0x2e4c1e(_0x3b05e4,_0x1af3ac,_0xb81e0,_0x4c6bb4){return _0xe18bb0(_0x1af3ac,_0x4c6bb4-0x4d5,_0xb81e0-0xd4,_0x4c6bb4-0x8e);}return{'textDocument':{'uri':uriForPath(_0x1b9319[_0x4cecb0(-_0x224cd7._0x917d69,-_0x224cd7._0x1727ff,-0x185,_0x224cd7._0x3f5b9a)])},'position':{'line':_0x1b9319[_0x4cecb0(-0x294,-0x190,-0x16b,-0x271)],'character':_0x1b9319[_0x2e4c1e(_0x224cd7._0x14f744,0x6b0,_0x224cd7._0x35872e,0x7be)]}};}function normalizeLocations(_0xf9ed9c){const _0x2c9f29={_0xe7f2d7:0x113,_0x2cd255:0x254,_0xe683fe:0x6d,_0x4b2095:0x46},_0x3d11bb={_0x27a874:0x4d4};function _0x400fb5(_0x5e4bff,_0x31c4a4,_0x17d31e,_0x3303f6){return _0x47b891(_0x3303f6,_0x17d31e- -_0x3d11bb._0x27a874,_0x17d31e-0x18c,_0x3303f6-0x12b);}if(!_0xf9ed9c)return[];return Array[_0x400fb5(_0x2c9f29._0xe7f2d7,_0x2c9f29._0x2cd255,_0x2c9f29._0xe683fe,-_0x2c9f29._0x4b2095)](_0xf9ed9c)?_0xf9ed9c:[_0xf9ed9c];}async function withLspTimeout(_0x1f5941,_0x3c6efd,_0x2fbe63){const _0x5d7540={_0x343414:0x47b,_0x5f09b4:0xd6,_0x2dee6b:0x46,_0x1c98d9:0x193,_0x4a90fd:0x364},_0x4b7470={_0x5835b3:0x734,_0x2a2189:0xd9,_0x4ddd11:0x29},_0x4a5df3={_0x23ade0:0x1e7},_0x145a29={_0x4656c8:0x589,_0x431058:0x13e};if(!Number[_0x260fb(0x30e,0x315,0x4b5,_0x5d7540._0x343414)](_0x3c6efd)||_0x3c6efd<0x1)throw new Error(_0x23959b(_0x5d7540._0x5f09b4,-_0x5d7540._0x2dee6b,-0x1,0x18c)+_0x2fbe63+':\x20expected\x20a\x20positive\x20number');let _0x485d61;function _0x23959b(_0x30c0f0,_0x415746,_0x19b7b3,_0x329164){return _0x47b891(_0x329164,_0x19b7b3- -_0x145a29._0x4656c8,_0x19b7b3-_0x145a29._0x431058,_0x329164-0xe1);}function _0x260fb(_0x3fcad1,_0x458a0d,_0x16e2bc,_0x26523b){return _0x47b891(_0x3fcad1,_0x16e2bc- -0x1a4,_0x16e2bc-0x113,_0x26523b-_0x4a5df3._0x23ade0);}try{return await Promise[_0x260fb(0x545,_0x5d7540._0x1c98d9,_0x5d7540._0x4a90fd,0x1dc)]([_0x1f5941,new Promise((_0x3fb623,_0x26c986)=>{_0x485d61=setTimeout(()=>{function _0xadfb50(_0x4c152e,_0x38b1a0,_0x45f2ef,_0x443fa6){return _0x678a(_0x38b1a0- -0x371,_0x443fa6);}function _0x5e95b3(_0x2947c7,_0x2d4045,_0x53e801,_0x5635b7){return _0x678a(_0x2d4045-0x37d,_0x53e801);}_0x26c986(new Error('LSP\x20'+_0x2fbe63+_0x5e95b3(0x680,0x6f2,_0x4b7470._0x5835b3,0x598)+_0x3c6efd+_0xadfb50(_0x4b7470._0x2a2189,-_0x4b7470._0x4ddd11,0xf7,0x1d0)));},_0x3c6efd);})]);}finally{if(_0x485d61!==void 0x0)clearTimeout(_0x485d61);}}async function createLspClient(_0x87cc84){const _0x129b2f={_0x13f8ad:0x3fc,_0x6edd93:0x1d8,_0x2c4dc5:0xb1,_0xcbfed9:0x369,_0x34f2e4:0x68d,_0x2fa987:0x54,_0x57d8a3:0x225,_0x2b3041:0x11d,_0x1d33b7:0x888,_0x4b0e8f:0x762,_0x3f30eb:0x61b,_0x49ea13:0x5a9,_0x13e9ab:0x8b1,_0x5600fc:0x7b5,_0x2502e9:0x6d9,_0x5a23fa:0x6c8,_0x41ab6c:0x5a,_0x1c264f:0x171,_0x58482a:0x200,_0x311848:0x1e2,_0x3e21cc:0x22e,_0x58e10c:0x150,_0x28ecfd:0x388,_0x6f43d7:0x57e,_0x2f3ae5:0x67d,_0x2cdf86:0x584,_0x2b4937:0x62d,_0x4eb0b1:0x45a,_0x36f97f:0x16b,_0x4fff84:0x871,_0x4bc1b2:0x11e,_0x26298c:0x11c,_0xce19ea:0xd8,_0x4f4224:0x300,_0x32a021:0x1b,_0x32a057:0x184,_0x59d7bf:0x1db,_0x5012ae:0x1e2},_0x38261c={_0x146d00:0x57f},_0x4a2a8f={_0x351e35:0x364,_0x3adc82:0x2dc,_0x1d6fb8:0x308,_0x4bda14:0x10b,_0x174aa7:0x2e2,_0x5bc756:0x6d,_0x362cc3:0x227,_0x4f2ee:0x7d,_0x2b54e7:0x96,_0x4d51a7:0x27e,_0x4a71f9:0x7f,_0x4bffa6:0x128,_0x1e9890:0x121,_0x5d0a97:0x31d},_0x4af8ea={_0x284ef5:0x14d},_0x50b4fa={_0x3d8769:0xc1},_0x372f03={_0x461183:0x5a9,_0x1ee15a:0x2dd,_0x334ddb:0x13c,_0x266d58:0x1ba},_0x511543={_0x3aede5:0x199},_0x2dee4f={_0x184708:0x7f9,_0x2f5356:0x742,_0x406f23:0x77b},_0x38bb82={_0x34d3db:0x10c,_0x354378:0x1ac},_0x4d8f27={_0x4dc4ac:0x174},_0x30043a={_0x581e93:0x62,_0x559f12:0x1,_0x136889:0x35},_0x17a923={_0x5c1e99:0x219,_0x2e6e20:0x601},_0x549870={_0x5f1261:0x191,_0x21a48e:0x33c},_0x2b72e4={_0x375352:0x35},_0x13d7f5={_0x56be64:0x14b},_0x60ef0d={_0x50777d:0x3a4},_0x49d165={_0x3b6590:0x872,_0x5229b0:0x930,_0x1cae3e:0x776,_0xc68703:0x536,_0x34c6ff:0x3aa},_0x51cd15={_0x262374:0x2a1,_0x4950f3:0x473,_0x42fbcc:0x489,_0x405545:0x547,_0x3f7fc0:0x426},_0x41f2cd={_0x120c55:0x76a,_0x6bb204:0x72b,_0x52bb84:0x8ba},_0x1c1c2b={_0x472a46:0x74,_0xb0a13f:0x47,_0x94886b:0x63a},_0x4e8ab7={_0x52f4d9:0x1a1},_0x57d8f0={_0x4d27b3:0x295,_0x5263c5:0x38d,_0x20e0b5:0x10c,_0xe9600b:0x282,_0x89a06a:0xd5},_0x127772={_0x3732f9:0x152},_0x413654=_0x87cc84[_0x4c9bb0(_0x129b2f._0x13f8ad,0x429,0x25c,0x445)][_0x3c4595(-_0x129b2f._0x6edd93,_0x129b2f._0x2c4dc5,-0x54,-0x17d)]['stdout'],_0x239f52=_0x87cc84[_0x3c4595(-0x3a4,-_0x129b2f._0xcbfed9,-0x1f2,-0xd4)][_0x4c9bb0(0x639,_0x129b2f._0x34f2e4,0x7bd,0x5e3)][_0x3c4595(_0x129b2f._0x2fa987,-_0x129b2f._0x57d8a3,-_0x129b2f._0x2b3041,-0x173)];if(!_0x413654||!_0x239f52)throw new Error(_0x4c9bb0(_0x129b2f._0x1d33b7,0x6ee,_0x129b2f._0x4b0e8f,0x68b));const _0xabbef1=_0x87cc84[_0x4c9bb0(_0x129b2f._0x3f30eb,0x605,0x472,_0x129b2f._0x49ea13)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x58831b=createMessageConnection(new StreamMessageReader(_0x413654),new StreamMessageWriter(_0x239f52)),_0x5e5233=new Map(),_0x129a9c=new Map();let _0x5d3934=![];const _0x4aecfe=async(_0x5ed0cf,_0x138781)=>{function _0x48481e(_0x5baec5,_0x5c83e7,_0x93927f,_0x27fc07){return _0x4c9bb0(_0x5baec5-0x59,_0x5c83e7-0xc0,_0x5c83e7,_0x93927f-0x116);}return withLspTimeout(_0x58831b[_0x48481e(0x4ed,0x3da,0x555,0x3da)](_0x5ed0cf,_0x138781),_0xabbef1,_0x5ed0cf);};_0x58831b[_0x4c9bb0(_0x129b2f._0x13e9ab,0x5fd,0x6b8,_0x129b2f._0x5600fc)]('textDocument/publishDiagnostics',_0x166f8d=>{const _0x1ebcdc={_0x3d94c7:0x196};_0x5e5233['set'](_0x166f8d['uri'],_0x166f8d[_0x42dd2b(0x47b,0x567,0x327,0x35a)]);const _0x19217d=_0x129a9c[_0x42dd2b(_0x57d8f0._0x4d27b3,0x3dd,_0x57d8f0._0x5263c5,0x2f8)](_0x166f8d[_0x55a100(0x52,_0x57d8f0._0x20e0b5,_0x57d8f0._0xe9600b,0x248)]);if(!_0x19217d)return;_0x129a9c['delete'](_0x166f8d[_0x42dd2b(0x185,-0x6a,0x107,_0x57d8f0._0x89a06a)]);function _0x55a100(_0x5cba00,_0x318e1f,_0x2a349f,_0x53e84b){return _0x4c9bb0(_0x5cba00-_0x127772._0x3732f9,_0x318e1f-0x1a1,_0x2a349f,_0x318e1f- -0x3c9);}function _0x42dd2b(_0x1bd76b,_0x1ca778,_0x43ecfa,_0xa10786){return _0x4c9bb0(_0x1bd76b-_0x1ebcdc._0x3d94c7,_0x1ca778-0x6b,_0xa10786,_0x1bd76b- -0x350);}for(const _0x546f61 of _0x19217d)_0x546f61();}),_0x58831b[_0x4c9bb0(_0x129b2f._0x2502e9,0x671,_0x129b2f._0x5a23fa,0x6b3)]();let _0xe4b8ad;try{_0xe4b8ad=await _0x4aecfe('initialize',{'processId':process[_0x3c4595(-0x125,0xd4,-0x1c,_0x129b2f._0x41ab6c)],'rootUri':uriForPath(_0x87cc84['root']),'workspaceFolders':[{'uri':uriForPath(_0x87cc84[_0x3c4595(_0x129b2f._0x1c264f,_0x129b2f._0x58482a,_0x129b2f._0x311848,0x66)]),'name':_0x87cc84['server']['id']}],'initializationOptions':_0x87cc84[_0x3c4595(-_0x129b2f._0x3e21cc,-_0x129b2f._0x58e10c,-0x1f2,-_0x129b2f._0x28ecfd)][_0x4c9bb0(_0x129b2f._0x6f43d7,0x6fd,0x888,_0x129b2f._0x2f3ae5)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x4c9bb0(_0x129b2f._0x2cdf86,0x497,_0x129b2f._0x2b4937,_0x129b2f._0x4eb0b1),_0x3c4595(0x49,_0x129b2f._0x36f97f,0xcb,0x25a)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1cf002){_0x58831b[_0x4c9bb0(_0x129b2f._0x4fff84,0x69c,0x54b,0x6e6)](),_0x87cc84[_0x3c4595(-0x287,-0xd7,-0x1f2,-_0x129b2f._0x4bc1b2)]['process'][_0x3c4595(-0x167,-_0x129b2f._0x26298c,-0xca,-_0x129b2f._0xce19ea)]();throw _0x1cf002;}function _0x4c9bb0(_0x596028,_0x306def,_0x4536d2,_0x559a6c){return _0x47b891(_0x4536d2,_0x559a6c-0xb8,_0x4536d2-0xfc,_0x559a6c-_0x4e8ab7._0x52f4d9);}_0x58831b['sendNotification'](_0x4c9bb0(0x302,_0x129b2f._0x4f4224,0x5ae,0x45e),{});const _0x2ae15e={'serverId':_0x87cc84[_0x3c4595(-_0x129b2f._0x32a021,_0x129b2f._0x32a057,_0x129b2f._0x59d7bf,0x3d4)]['id'],'root':_0x87cc84[_0x3c4595(0xd2,0x21c,_0x129b2f._0x5012ae,0x17a)],'connection':_0x58831b,'diagnostics':_0x5e5233,'capabilities':_0xe4b8ad['capabilities']??{},'notify':{async 'open'({path:_0x34755e}){function _0x5ebf29(_0x11f230,_0x15c218,_0x3ab51b,_0x10bff5){return _0x3c4595(_0x11f230-_0x1c1c2b._0x472a46,_0x15c218-_0x1c1c2b._0xb0a13f,_0x3ab51b-_0x1c1c2b._0x94886b,_0x10bff5);}const _0x2112c2=await readFile(_0x34755e,'utf8');_0x58831b[_0x5ebf29(0x7be,_0x41f2cd._0x120c55,_0x41f2cd._0x6bb204,_0x41f2cd._0x52bb84)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x34755e),'languageId':getLanguageId(_0x34755e)??'plaintext','version':0x1,'text':_0x2112c2}});},async 'change'({path:_0x19c019,version:_0x5a01a7}){const _0xf45b10={_0x4265e2:0x179},_0x1767b3={_0x33873c:0x1c0,_0xe2f142:0x445},_0x1a3186=await readFile(_0x19c019,_0x224e54(_0x51cd15._0x262374,_0x51cd15._0x4950f3,0x612,_0x51cd15._0x42fbcc));function _0x556576(_0x44c3c5,_0x9f41e7,_0x42fd07,_0x4090e5){return _0x3c4595(_0x44c3c5-0x121,_0x9f41e7-_0x1767b3._0x33873c,_0x4090e5-_0x1767b3._0xe2f142,_0x44c3c5);}function _0x224e54(_0x557450,_0x92348e,_0x3186bd,_0x780da8){return _0x4c9bb0(_0x557450-0x8a,_0x92348e-_0xf45b10._0x4265e2,_0x557450,_0x92348e- -0x2d2);}_0x58831b[_0x224e54(_0x51cd15._0x405545,0x456,0x33a,_0x51cd15._0x3f7fc0)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x19c019),'version':_0x5a01a7},'contentChanges':[{'text':_0x1a3186}]});},async 'close'({path:_0x3f2c35}){const _0x31c897={_0x40f0fc:0x125,_0x30027a:0x3f6};function _0x8586af(_0x3ae5e9,_0xc530d1,_0x1cdb27,_0xac913a){return _0x4c9bb0(_0x3ae5e9-0x7a,_0xc530d1-_0x31c897._0x40f0fc,_0x1cdb27,_0x3ae5e9- -_0x31c897._0x30027a);}function _0x5c1ee4(_0x20b3c3,_0x32ba85,_0x5c4379,_0x20f6f6){return _0x3c4595(_0x20b3c3-0x102,_0x32ba85-0x88,_0x20f6f6-0x685,_0x20b3c3);}_0x58831b[_0x5c1ee4(_0x49d165._0x3b6590,0x8b2,_0x49d165._0x5229b0,_0x49d165._0x1cae3e)](_0x8586af(0x3e4,_0x49d165._0xc68703,0x212,_0x49d165._0x34c6ff),{'textDocument':{'uri':uriForPath(_0x3f2c35)}});}},'request':{async 'definition'(_0x40a6f6){const _0x519d08={_0x3aea83:0x155,_0x50ae6b:0x3e9};function _0x1fabdf(_0x26210a,_0x262de5,_0x2fac26,_0x264436){return _0x3c4595(_0x26210a-0x182,_0x262de5-_0x519d08._0x3aea83,_0x264436-_0x519d08._0x50ae6b,_0x262de5);}return normalizeLocations(await _0x4aecfe(_0x1fabdf(_0x60ef0d._0x50777d,0x3bf,0x4ef,0x38b),textDocumentPosition(_0x40a6f6)));},async 'references'(_0x9f4daa){function _0x1875fd(_0x1a4fec,_0x152739,_0x4580c9,_0x3c381e){return _0x4c9bb0(_0x1a4fec-_0x13d7f5._0x56be64,_0x152739-0xc5,_0x3c381e,_0x4580c9- -0x4b0);}return normalizeLocations(await _0x4aecfe(_0x1875fd(0x4b,-0x129,0xc3,-_0x2b72e4._0x375352),{...textDocumentPosition(_0x9f4daa),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x41a016){return await _0x4aecfe('textDocument/hover',textDocumentPosition(_0x41a016))??null;},async 'documentSymbol'(_0x35743c){function _0x3cae2c(_0x2cf378,_0x8274b2,_0x49fbb7,_0x55e68d){return _0x4c9bb0(_0x2cf378-_0x549870._0x5f1261,_0x8274b2-0x13e,_0x2cf378,_0x8274b2- -_0x549870._0x21a48e);}return await _0x4aecfe(_0x3cae2c(_0x17a923._0x5c1e99,0x422,_0x17a923._0x2e6e20,0x33b),{'textDocument':{'uri':uriForPath(_0x35743c)}})??[];},async 'workspaceSymbol'(_0x3bf571){const _0x36daf9={_0x1cae4c:0x1de,_0x281f97:0x111};function _0x123de3(_0x4b9630,_0x9a0d55,_0x5e8b64,_0x597be8){return _0x3c4595(_0x4b9630-_0x36daf9._0x1cae4c,_0x9a0d55-0x163,_0x4b9630-_0x36daf9._0x281f97,_0x5e8b64);}return await _0x4aecfe(_0x123de3(_0x30043a._0x581e93,-_0x30043a._0x559f12,_0x30043a._0x136889,0xaf),{'query':_0x3bf571})??[];},async 'implementation'(_0x3d87a7){return normalizeLocations(await _0x4aecfe('textDocument/implementation',textDocumentPosition(_0x3d87a7)));},async 'prepareCallHierarchy'(_0x19d1c6){function _0x145b62(_0x1bd71d,_0x5dcb46,_0x8e9984,_0x586854){return _0x3c4595(_0x1bd71d-_0x4d8f27._0x4dc4ac,_0x5dcb46-0x147,_0x586854-0x2fd,_0x5dcb46);}return await _0x4aecfe(_0x145b62(_0x38bb82._0x34d3db,-0x38,0x51,_0x38bb82._0x354378),textDocumentPosition(_0x19d1c6))??[];},async 'incomingCalls'(_0x199a6a){const _0x2fe144={_0x166ac3:0xb,_0x1d6c57:0x174,_0x12993e:0x753};function _0x542b99(_0x486267,_0x3f7329,_0x32a9b6,_0x15bfac){return _0x3c4595(_0x486267-_0x2fe144._0x166ac3,_0x3f7329-_0x2fe144._0x1d6c57,_0x32a9b6-_0x2fe144._0x12993e,_0x486267);}return await _0x4aecfe(_0x542b99(_0x2dee4f._0x184708,_0x2dee4f._0x2f5356,_0x2dee4f._0x406f23,0x904),{'item':_0x199a6a})??[];},async 'outgoingCalls'(_0x286c65){return await _0x4aecfe('callHierarchy/outgoingCalls',{'item':_0x286c65})??[];}},'waitForDiagnostics'({path:_0x4b5866,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x43c523={_0x6a7d97:0x985,_0x39e4dc:0x868,_0x4ca0ab:0x9ce},_0x2ce284=uriForPath(_0x4b5866);function _0x461ae9(_0x260461,_0x342a3c,_0x49fafa,_0x32070a){return _0x4c9bb0(_0x260461-0xa1,_0x342a3c-0x162,_0x342a3c,_0x49fafa-0xee);}if(_0x5e5233[_0x437b3a(_0x372f03._0x461183,0x3a4,0x5f8,0x595)](_0x2ce284))return Promise[_0x437b3a(_0x372f03._0x1ee15a,_0x372f03._0x334ddb,_0x372f03._0x266d58,0x26f)]();function _0x437b3a(_0x5b053e,_0x51e747,_0x2d15f9,_0x39e740){return _0x4c9bb0(_0x5b053e-_0x511543._0x3aede5,_0x51e747-0x141,_0x2d15f9,_0x5b053e- -0x20d);}return new Promise(_0x2300a8=>{const _0x5675cb={_0x3c615e:0x4dd,_0x5cc740:0x2a2,_0x51e308:0x187,_0x3c5b56:0x3ab,_0x23a45d:0x575},_0x7fccde={_0x5bad69:0x145},_0x284ec3={_0x5f1ede:0x52};function _0x77f6a(_0x53be2b,_0x44fd52,_0x37fc5b,_0x36440d){return _0x437b3a(_0x44fd52-0x29f,_0x44fd52-0x4a,_0x53be2b,_0x36440d-0xe7);}const _0x385e18=setTimeout(()=>{function _0xb05c4(_0x5bd5b,_0x9df9b2,_0x4d6882,_0x3e12cc){return _0x678a(_0x9df9b2- -_0x284ec3._0x5f1ede,_0x5bd5b);}const _0x1712ff=_0x129a9c[_0xb05c4(_0x5675cb._0x3c615e,0x2fa,_0x5675cb._0x5cc740,_0x5675cb._0x51e308)](_0x2ce284);function _0x15a2d7(_0x5b2abc,_0x5741b8,_0x4063e2,_0x388863){return _0x678a(_0x5741b8-_0x7fccde._0x5bad69,_0x5b2abc);}_0x1712ff?.['delete'](_0x4394c6);if(_0x1712ff?.[_0xb05c4(0x56d,0x407,0x508,0x488)]===0x0)_0x129a9c[_0xb05c4(0x551,_0x5675cb._0x3c5b56,_0x5675cb._0x23a45d,0x24f)](_0x2ce284);_0x2300a8();},timeoutMs),_0x4394c6=()=>{clearTimeout(_0x385e18),_0x2300a8();},_0x53698f=_0x129a9c['get'](_0x2ce284)??new Set();_0x53698f[_0x77f6a(_0x43c523._0x6a7d97,_0x43c523._0x39e4dc,0x690,_0x43c523._0x4ca0ab)](_0x4394c6),_0x129a9c['set'](_0x2ce284,_0x53698f);});},async 'shutdown'(){function _0x40cab5(_0x48c994,_0x1323d7,_0x739b33,_0x2db444){return _0x4c9bb0(_0x48c994-_0x50b4fa._0x3d8769,_0x1323d7-0x1f0,_0x48c994,_0x739b33- -0x44c);}if(_0x5d3934)return;_0x5d3934=!![];function _0x28f8b3(_0x2abd3c,_0x4a4e5c,_0x67d437,_0x138934){return _0x4c9bb0(_0x2abd3c-_0x4af8ea._0x284ef5,_0x4a4e5c-0x18f,_0x67d437,_0x2abd3c- -0x679);}try{await _0x4aecfe(_0x40cab5(0x186,-0x35,0x137,-0xcf),null),_0x58831b[_0x40cab5(0x4b2,_0x4a2a8f._0x351e35,_0x4a2a8f._0x3adc82,0x29c)](_0x40cab5(_0x4a2a8f._0x1d6fb8,_0x4a2a8f._0x4bda14,0x318,_0x4a2a8f._0x174aa7));}catch{}finally{_0x58831b[_0x28f8b3(_0x4a2a8f._0x5bc756,0x19,_0x4a2a8f._0x362cc3,-_0x4a2a8f._0x4f2ee)](),_0x87cc84['handle'][_0x28f8b3(-_0x4a2a8f._0x2b54e7,0xd6,-_0x4a2a8f._0x4d51a7,-0xe1)][_0x40cab5(-_0x4a2a8f._0x4a71f9,_0x4a2a8f._0x4bffa6,_0x4a2a8f._0x1e9890,_0x4a2a8f._0x5d0a97)]();}}};function _0x3c4595(_0x5c2b7e,_0x47c3d1,_0x3bc787,_0xe4b125){return _0x47b891(_0xe4b125,_0x3bc787- -_0x38261c._0x146d00,_0x3bc787-0xad,_0xe4b125-0xd2);}return _0x2ae15e;}import{spawn as _0xe573a8}from'child_process';import{access as _0x1bc8ac}from'fs/promises';import _0x546c96 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xc6783e from'os';import _0x70b777 from'path';import _0x466031 from'which';var installPromises=new Map();function sanitizePackageName(_0x1547bb){const _0x544339={_0x1591f2:0x266,_0x17073d:0x86e},_0x2a8fdd={_0x3d9361:0x198},_0x1d537b={_0x487e2c:0x4ee,_0x1e89f0:0xe3,_0x1af64f:0x1d};function _0x244f6e(_0x5d0ed1,_0x22aeb2,_0x3315d8,_0x3bbdeb){return _0x47b891(_0x22aeb2,_0x3bbdeb- -_0x1d537b._0x487e2c,_0x3315d8-_0x1d537b._0x1e89f0,_0x3bbdeb-_0x1d537b._0x1af64f);}function _0x293337(_0x5452b6,_0x444cd0,_0x4ce025,_0x1e203f){return _0xe18bb0(_0x444cd0,_0x1e203f-0x4c2,_0x4ce025-_0x2a8fdd._0x3d9361,_0x1e203f-0x13);}return _0x1547bb[_0x244f6e(0x2ec,0x3e8,0x1f6,_0x544339._0x1591f2)](/^@/,'')[_0x293337(0x898,_0x544339._0x17073d,0x941,0x785)](/[/]/g,'__');}function binaryNameForPlatform(_0x28e73d){const _0x3ba3ce={_0x46a0fe:0x630,_0x4d864c:0x461,_0x239e05:0x604,_0x638ab9:0x491,_0x569223:0x668,_0x52db34:0x4e3,_0x399212:0x494},_0x20db1e={_0x2a2308:0x9c,_0x44ab99:0x111};function _0x20e163(_0x535720,_0x827be7,_0x2ae6dc,_0x53fb4d){return _0x47b891(_0x827be7,_0x53fb4d- -_0x20db1e._0x2a2308,_0x2ae6dc-_0x20db1e._0x44ab99,_0x53fb4d-0x1b3);}function _0x590944(_0x12ba4d,_0x2ad4c1,_0x342824,_0x455802){return _0x47b891(_0x2ad4c1,_0x342824-0x84,_0x342824-0x5d,_0x455802-0xdc);}return process[_0x590944(0x845,0x721,0x7ad,_0x3ba3ce._0x46a0fe)]===_0x590944(_0x3ba3ce._0x4d864c,0x67d,_0x3ba3ce._0x239e05,0x402)?_0x28e73d+_0x590944(_0x3ba3ce._0x638ab9,_0x3ba3ce._0x569223,_0x3ba3ce._0x52db34,_0x3ba3ce._0x399212):_0x28e73d;}async function exists(_0x45d518){try{return await access(_0x45d518),!![];}catch{return![];}}function runNpmInstall(_0x13f095,_0x56fde1,_0x13c8bb){const _0x48ace6={_0x10abe8:0x2e2,_0x4bdb93:0x305,_0x1644ab:0x1e0,_0x453a00:0x351,_0x17ade3:0x1a9,_0x135119:0x1c6},_0x1e844d={_0x37ede3:0x179};return new Promise(_0x57adc1=>{const _0x5c46f3={_0x15b3fe:0x1fd},_0x179b48=spawn(_0x3155c0(_0x48ace6._0x10abe8,_0x48ace6._0x4bdb93,_0x48ace6._0x1644ab,_0x48ace6._0x453a00),['install','--prefix',_0x13f095,_0x56fde1],{'env':_0x13c8bb,'stdio':_0x3155c0(0x193,0x1e1,0x7d,0x17a)});function _0x3155c0(_0x2c670f,_0x1f3b26,_0x5c55bc,_0x44f303){return _0x678a(_0x1f3b26- -_0x1e844d._0x37ede3,_0x5c55bc);}_0x179b48['on'](_0x3155c0(_0x48ace6._0x17ade3,0x5d,0xb9,_0x48ace6._0x135119),()=>_0x57adc1(![]));function _0x477f2e(_0x237e0f,_0xbb36,_0x3e00f9,_0x11b575){return _0x678a(_0x3e00f9-_0x5c46f3._0x15b3fe,_0xbb36);}_0x179b48['on']('close',_0x1190bf=>_0x57adc1(_0x1190bf===0x0));});}function shouldDisableLspDownload(_0x2cb354=process[_0xe18bb0(0x143,0x168,0x314,-0x7b)]){const _0x2fb236={_0x238451:0x1c,_0x1280b2:0x37f,_0x55d834:0x3b1,_0x5df751:0x48c,_0x1f48be:0x2f6},_0x3b40ee={_0x519289:0x471,_0x14b99d:0xad,_0x2ac3b9:0xe5},_0x6ded5a={_0x1525a0:0x300,_0x419be2:0xdd},_0x135adb=_0x2cb354[_0x196683(0x2f,-_0x2fb236._0x238451,0x2d8,0x19a)]?.[_0x19028c(0x489,_0x2fb236._0x1280b2,_0x2fb236._0x55d834,0x32f)]();function _0x19028c(_0x13cb5c,_0x3f7942,_0x321dd6,_0x2e1d6d){return _0x47b891(_0x13cb5c,_0x3f7942- -_0x6ded5a._0x1525a0,_0x321dd6-0x25,_0x2e1d6d-_0x6ded5a._0x419be2);}function _0x196683(_0x54b6f8,_0x567ff3,_0xc93036,_0x150a72){return _0x47b891(_0xc93036,_0x150a72- -_0x3b40ee._0x519289,_0xc93036-_0x3b40ee._0x14b99d,_0x150a72-_0x3b40ee._0x2ac3b9);}return _0x135adb==='true'||_0x135adb==='1'||_0x135adb===_0x19028c(0x27c,_0x2fb236._0x5df751,0x370,_0x2fb236._0x1f48be)||_0x135adb==='on';}function getLspPackageDir(_0x54e6a0){const _0x1d8cd2={_0x207a0a:0x642,_0x203381:0x637,_0x156f89:0x6bf,_0x94ecd3:0x569,_0x1d37b4:0x2f6,_0x1d3523:0x5b8,_0x526aa2:0x6ca,_0x111803:0x65d},_0x5420c3={_0x24b507:0x1a3},_0x257cc8={_0x2c2687:0x124};function _0x3c211f(_0x18985d,_0x282f1c,_0x3b72aa,_0xc72d00){return _0xe18bb0(_0x18985d,_0x282f1c-0x3d5,_0x3b72aa-0x72,_0xc72d00-_0x257cc8._0x2c2687);}function _0x3b86c8(_0x2e57af,_0x1c2b9e,_0x89c3f1,_0x234935){return _0xe18bb0(_0x89c3f1,_0x2e57af-_0x5420c3._0x24b507,_0x89c3f1-0x2d,_0x234935-0x109);}return _0x70b777[_0x3b86c8(0x285,0x1e3,0x18a,0x1cc)](_0xc6783e[_0x3c211f(_0x1d8cd2._0x207a0a,_0x1d8cd2._0x203381,_0x1d8cd2._0x156f89,0x5e1)](),_0x3b86c8(0x49d,0x29d,_0x1d8cd2._0x94ecd3,_0x1d8cd2._0x1d37b4),'lsp',_0x3c211f(_0x1d8cd2._0x1d3523,0x5ba,_0x1d8cd2._0x526aa2,_0x1d8cd2._0x111803),sanitizePackageName(_0x54e6a0));}function getLspBinDir(_0x3ac2c6){const _0x1cb86d={_0x9b96d7:0x116,_0x2b619f:0x203,_0x1377bc:0x49c,_0x567526:0x476,_0x32d266:0x152,_0x29cc90:0x24d,_0x375aad:0xa4},_0x309513={_0x5e5d64:0x2e9,_0x29cd0d:0x44},_0x24d40f={_0x3fb8f6:0x15d};function _0x44093b(_0x73cc2c,_0x483271,_0x10d06b,_0x301285){return _0xe18bb0(_0x73cc2c,_0x301285- -0x5d,_0x10d06b-0x151,_0x301285-_0x24d40f._0x3fb8f6);}function _0x1e1334(_0x11e726,_0x2cd037,_0x4226af,_0x2cefbd){return _0xe18bb0(_0x2cefbd,_0x11e726-_0x309513._0x5e5d64,_0x4226af-0x8d,_0x2cefbd-_0x309513._0x29cd0d);}return _0x70b777[_0x44093b(-0x89,-_0x1cb86d._0x9b96d7,_0x1cb86d._0x2b619f,0x85)](getLspPackageDir(_0x3ac2c6),_0x1e1334(_0x1cb86d._0x1377bc,0x35d,0x4f0,_0x1cb86d._0x567526),_0x44093b(-_0x1cb86d._0x32d266,0x2a4,_0x1cb86d._0x29cc90,_0x1cb86d._0x375aad));}async function findPackageBinary(_0x50ee7d,_0x59e1e0){const _0xa28b4d={_0x174ec5:0x101,_0xd9dc5b:0x641,_0x1f3eb1:0x67d,_0x41e940:0x728,_0x55d86a:0x4ea},_0xca206a={_0x3d9a04:0x555,_0x406518:0x1bf},_0x46bb90={_0x275034:0x106};let _0x31988a=_0x70b777['resolve'](_0x59e1e0);function _0x5bc2cb(_0x2d8982,_0x11f0dc,_0x32be54,_0x5d61db){return _0x47b891(_0x11f0dc,_0x2d8982-0xaf,_0x32be54-0x102,_0x5d61db-_0x46bb90._0x275034);}const _0x3a94d7=binaryNameForPlatform(_0x50ee7d);function _0x4580c8(_0x3c9b38,_0x4ba2ce,_0x1a981b,_0x315d28){return _0x47b891(_0x4ba2ce,_0x1a981b- -_0xca206a._0x3d9a04,_0x1a981b-0x2,_0x315d28-_0xca206a._0x406518);}while(!![]){const _0x391665=_0x70b777[_0x4580c8(0x180,-0x151,0x1e,_0xa28b4d._0x174ec5)](_0x31988a,'node_modules',_0x5bc2cb(_0xa28b4d._0xd9dc5b,_0xa28b4d._0x1f3eb1,_0xa28b4d._0x41e940,0x517),_0x3a94d7);if(await exists(_0x391665))return _0x391665;const _0x295d88=_0x70b777[_0x5bc2cb(_0xa28b4d._0x55d86a,0x2de,0x31d,0x5d0)](_0x31988a);if(_0x295d88===_0x31988a)return void 0x0;_0x31988a=_0x295d88;}}async function findPathBinary(_0x2b5ecc,_0x49ce22){const _0x3a6e98={_0x57b490:0x3e,_0x4161e6:0xa5,_0x4b9ad2:0x7f5,_0x3f95ba:0x85f},_0x567046={_0x204422:0x19e},_0x4ca2e9={_0x513315:0xea};function _0x377d93(_0x71f792,_0x590b53,_0x2c53e5,_0x2a9602){return _0xe18bb0(_0x2a9602,_0x2c53e5-0x606,_0x2c53e5-0x5b,_0x2a9602-_0x4ca2e9._0x513315);}function _0x5515c3(_0x3e966e,_0x24ac94,_0x5cb382,_0x44eaaf){return _0xe18bb0(_0x5cb382,_0x3e966e- -0x1f,_0x5cb382-_0x567046._0x204422,_0x44eaaf-0x125);}const _0x353003=getLspBinDir(_0x49ce22),_0x13315b=[_0x353003,process[_0x5515c3(0x149,0x1c8,0x29f,-0x13)][_0x5515c3(_0x3a6e98._0x57b490,0x83,0x138,-_0x3a6e98._0x4161e6)]][_0x377d93(_0x3a6e98._0x4b9ad2,0x840,_0x3a6e98._0x3f95ba,0x84e)](Boolean)['join'](_0x70b777['delimiter']);try{return await _0x466031(_0x2b5ecc,{'path':_0x13315b});}catch{return void 0x0;}}async function resolvePackageBinary(_0x5e273a){const _0x58bdcf={_0x180ca0:0x5a1,_0x55e361:0x537,_0x21b327:0x160,_0x2403ff:0x35b,_0x4f53e3:0x40e,_0x254fa2:0x2a0,_0x3eec22:0x1cb,_0x296c75:0x37c,_0x85bf0e:0x2cd,_0x5044e1:0x453,_0x22240a:0x1f8,_0x36dc2e:0x2a0,_0x443a1b:0x335,_0x23f69c:0x3f,_0x581a64:0x125,_0x230856:0xb8,_0x4e4dc4:0x31c,_0x3c0452:0x1d6,_0x50c475:0x32b,_0xc8298a:0x57c},_0x187932={_0x1cc172:0x16c,_0x240810:0x19d,_0x414379:0x1fe,_0xf8c275:0x7b,_0x369af4:0x106},_0x351397={_0x4ef700:0x3e2,_0x2eee06:0x93},_0x23c209={_0x251b53:0x3ad,_0x5d4324:0x108},_0x8b512=_0x5e273a[_0x3e205e(_0x58bdcf._0x180ca0,0x7ae,0x523,_0x58bdcf._0x55e361)]??_0x5e273a[_0x447d7f(_0x58bdcf._0x21b327,_0x58bdcf._0x2403ff,_0x58bdcf._0x4f53e3,_0x58bdcf._0x254fa2)],_0x4234a6=await findPackageBinary(_0x8b512,_0x5e273a[_0x447d7f(-0xc5,0x20c,_0x58bdcf._0x3eec22,0xff)]);if(_0x4234a6)return _0x4234a6;const _0xaebdac=await findPathBinary(_0x8b512,_0x5e273a[_0x447d7f(_0x58bdcf._0x296c75,0x1ca,0x230,0x2a0)]);if(_0xaebdac)return _0xaebdac;const _0x430bb0=_0x5e273a['env']??process[_0x447d7f(0x45a,0x25a,0x151,_0x58bdcf._0x85bf0e)];function _0x3e205e(_0x5129c8,_0x4338e3,_0x2b9bd2,_0x24d143){return _0xe18bb0(_0x4338e3,_0x5129c8-_0x23c209._0x251b53,_0x2b9bd2-0x1ba,_0x24d143-_0x23c209._0x5d4324);}if(shouldDisableLspDownload(_0x430bb0))return void 0x0;const _0x1b04e9=getLspPackageDir(_0x5e273a[_0x447d7f(_0x58bdcf._0x5044e1,0x19c,_0x58bdcf._0x22240a,_0x58bdcf._0x36dc2e)]),_0xe36243=_0x5e273a[_0x3e205e(0x4e8,0x3c4,_0x58bdcf._0x443a1b,0x3fd)]+':'+_0x8b512;function _0x447d7f(_0x178e03,_0x109232,_0xe33302,_0x1294f7){return _0xe18bb0(_0x178e03,_0x1294f7-0x165,_0xe33302-0x183,_0x1294f7-0x1f3);}let _0x32960f=installPromises[_0x447d7f(_0x58bdcf._0x23f69c,_0x58bdcf._0x581a64,_0x58bdcf._0x230856,0x201)](_0xe36243);!_0x32960f&&(_0x32960f=((async()=>{const _0x24242c={_0x288a8c:0x14a};await mkdir(_0x1b04e9,{'recursive':!![]});const _0x2c7fa8=await runNpmInstall(_0x1b04e9,_0x5e273a[_0x562d2c(0x2ac,0x106,_0x187932._0x1cc172,_0x187932._0x240810)],_0x430bb0);function _0x562d2c(_0x5c29d2,_0x448fed,_0x2ac42c,_0x1cb67b){return _0x3e205e(_0x448fed- -_0x351397._0x4ef700,_0x5c29d2,_0x2ac42c-_0x351397._0x2eee06,_0x1cb67b-0x1e8);}function _0x3e083e(_0x2be0e0,_0xeb3045,_0x57c3a5,_0x1a57f3){return _0x447d7f(_0x2be0e0,_0xeb3045-_0x24242c._0x288a8c,_0x57c3a5-0x12b,_0xeb3045- -0x29d);}if(!_0x2c7fa8)return void 0x0;const _0x227b7c=_0x70b777[_0x3e083e(-_0x187932._0x414379,-0x56,0x7e,-_0x187932._0xf8c275)](getLspBinDir(_0x5e273a[_0x562d2c(0x276,_0x187932._0x369af4,0x1fb,-0xc7)]),binaryNameForPlatform(_0x8b512));return await exists(_0x227b7c)?_0x227b7c:void 0x0;})()),installPromises[_0x3e205e(_0x58bdcf._0x4e4dc4,0x38c,0x49c,_0x58bdcf._0x3c0452)](_0xe36243,_0x32960f));try{return await _0x32960f;}catch{return void 0x0;}finally{installPromises[_0x3e205e(0x4fa,_0x58bdcf._0x50c475,_0x58bdcf._0xc8298a,0x3e9)](_0xe36243);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0x47b891(0x761,0x6c8,0x74d,0x817),_0xe18bb0(0xaa,-0x98,-0x145,0x15f),_0x47b891(0x5ef,0x69d,0x855,0x51b),_0xe18bb0(-0x7e,0x59,-0x83,-0x9),_0x47b891(0x652,0x5e1,0x721,0x3e6),_0x47b891(0x588,0x77d,0x6d2,0x62b),_0x47b891(0x7cd,0x5dd,0x6e6,0x7dd)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x47b891(0x601,0x67b,0x4df,0x68e),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0xe18bb0(-0x1c9,0x43,-0xe1,0x243),_0xe18bb0(-0x40,-0xc5,-0xe3,-0x1b6),_0x47b891(0x5e1,0x492,0x62e,0x5aa),_0x47b891(0x6bc,0x5f7,0x551,0x4fb),_0x47b891(0x559,0x737,0x8f9,0x560),'jsconfig.json','package.json'],BIOME_ROOT_MARKERS=[_0xe18bb0(-0xa8,-0x8c,-0xe1,-0x287),_0x47b891(0x1cd,0x3bb,0x31e,0x412),'package-lock.json','bun.lockb',_0x47b891(0x1cd,0x3cc,0x31d,0x3aa),_0x47b891(0x4bc,0x492,0x62d,0x677),_0x47b891(0x6a4,0x5f7,0x7e4,0x45c),_0xe18bb0(0x20f,0xc1,0x12e,-0xbc)];async function exists2(_0x1e7adf){try{return await _0x1bc8ac(_0x1e7adf),!![];}catch{return![];}}async function findUp(_0x1f531b,_0x39a4ad){const _0x912a3d={_0x4729c6:0x219,_0x4632ee:0x17,_0xdd44f0:0x13a,_0x2a6ac9:0xe,_0x21d5a1:0x247,_0x3ba48f:0x77,_0xafaf38:0x53,_0x3cb798:0x11f},_0x197339={_0x958df5:0xfd},_0x4e8662={_0x3265aa:0x6e};function _0x59a1bc(_0x545171,_0xbe7965,_0x1b3c15,_0x1802fd){return _0x47b891(_0x1802fd,_0x545171- -0x3ec,_0x1b3c15-_0x4e8662._0x3265aa,_0x1802fd-0x48);}function _0x267394(_0x2d53af,_0x4b7f36,_0x5ee7c2,_0x369f77){return _0x47b891(_0x2d53af,_0x4b7f36- -0x449,_0x5ee7c2-0x1e2,_0x369f77-_0x197339._0x958df5);}let _0x408956=_0x546c96[_0x267394(-_0x912a3d._0x4729c6,-_0x912a3d._0x4632ee,_0x912a3d._0xdd44f0,0xc7)](_0x1f531b);const _0x170c32=_0x546c96['extname'](_0x408956);if(_0x170c32)_0x408956=_0x546c96[_0x267394(-0xa6,-_0x912a3d._0x2a6ac9,-0x102,-0x142)](_0x408956);while(!![]){for(const _0xdce3e1 of _0x39a4ad){if(await exists2(_0x546c96[_0x59a1bc(0x187,_0x912a3d._0x21d5a1,0x350,_0x912a3d._0x3ba48f)](_0x408956,_0xdce3e1)))return _0x408956;}const _0x6d0035=_0x546c96[_0x59a1bc(0x4f,-0x1d,-_0x912a3d._0xafaf38,_0x912a3d._0x3cb798)](_0x408956);if(_0x6d0035===_0x408956)return void 0x0;_0x408956=_0x6d0035;}}async function hasDenoRoot(_0x408f44){const _0x510d27={_0x547ccd:0x602,_0x2b071a:0x46f,_0xf42d24:0x4bf,_0x373a32:0x66c,_0x3a476b:0x6a0},_0x54154c={_0x1544a9:0x38d},_0x3183c1={_0x566bf8:0x44,_0x4c97fc:0xff};function _0x49419d(_0x1aceb4,_0x2e69a9,_0x250d3a,_0x158df9){return _0xe18bb0(_0x158df9,_0x250d3a- -_0x3183c1._0x566bf8,_0x250d3a-0xe,_0x158df9-_0x3183c1._0x4c97fc);}function _0x168522(_0xe78798,_0x118d5d,_0x3bb3f8,_0x5ac918){return _0xe18bb0(_0x5ac918,_0x118d5d-_0x54154c._0x1544a9,_0x3bb3f8-0x13a,_0x5ac918-0x3);}return await exists2(_0x546c96['join'](_0x408f44,'deno.json'))||await exists2(_0x546c96[_0x168522(_0x510d27._0x547ccd,_0x510d27._0x2b071a,_0x510d27._0xf42d24,0x402)](_0x408f44,_0x168522(0x7d4,_0x510d27._0x373a32,_0x510d27._0x3a476b,0x774)));}async function resolveTsserverPath(_0x1b179d){const _0x2d3497={_0x5dcb6f:0x54c,_0x4d16c2:0x615,_0x13fde9:0x45a,_0x453923:0x324,_0x2cf3d8:0x538,_0x24b3b8:0x4f2,_0x38b102:0x247,_0x24ff8f:0x24e,_0x8252d1:0x6df,_0x103232:0x3ad,_0x57d202:0x527,_0x5165ce:0x333,_0x47dd3e:0x40c,_0x321c73:0x46d,_0x632678:0x405,_0x330c93:0x42b,_0x5ba3d3:0x574,_0x320e3a:0x83a,_0x221c75:0x1df,_0x3cc8d7:0x2e7,_0x156666:0x1bc,_0x123194:0x4b6},_0x5c7bfe={_0x4e76af:0x19,_0x4e3da0:0x1c2},_0x2af3c8={_0x438350:0x121};let _0x1a696b=_0x546c96['resolve'](_0x1b179d);function _0x3f25da(_0x17bd04,_0x30e182,_0x5ef80c,_0x5cd2bc){return _0xe18bb0(_0x5cd2bc,_0x30e182-0x32d,_0x5ef80c-_0x2af3c8._0x438350,_0x5cd2bc-0x184);}function _0x127c27(_0x4c9d61,_0x241162,_0x5702aa,_0xedf33f){return _0x47b891(_0xedf33f,_0x5702aa- -_0x5c7bfe._0x4e76af,_0x5702aa-0x14c,_0xedf33f-_0x5c7bfe._0x4e3da0);}while(!![]){const _0x5769db=_0x546c96[_0x3f25da(_0x2d3497._0x5dcb6f,0x40f,0x359,_0x2d3497._0x4d16c2)](_0x1a696b,_0x3f25da(_0x2d3497._0x13fde9,0x4e0,_0x2d3497._0x453923,_0x2d3497._0x2cf3d8),_0x127c27(0x290,_0x2d3497._0x24b3b8,0x432,0x416),_0x3f25da(_0x2d3497._0x38b102,_0x2d3497._0x24ff8f,0x3bf,0x272),_0x127c27(_0x2d3497._0x8252d1,_0x2d3497._0x103232,0x4e7,0x361));if(await exists2(_0x5769db))return _0x5769db;const _0xad308a=_0x546c96['dirname'](_0x1a696b);if(_0xad308a===_0x1a696b)break;_0x1a696b=_0xad308a;}const _0x3d1792=getLspPackageDir(_0x127c27(_0x2d3497._0x57d202,0x405,0x432,0x561)),_0x3a1aca=await resolvePackageBinary({'packageName':_0x3f25da(0x27c,0x2e7,0x442,0x10c),'binaryName':_0x127c27(0x509,_0x2d3497._0x5165ce,_0x2d3497._0x47dd3e,_0x2d3497._0x321c73),'startDir':_0x1b179d});if(!_0x3a1aca)return void 0x0;const _0x1c9fdb=_0x546c96[_0x3f25da(_0x2d3497._0x632678,0x40f,0x301,0x49d)](_0x3d1792,_0x127c27(_0x2d3497._0x330c93,_0x2d3497._0x5ba3d3,0x62b,_0x2d3497._0x320e3a),_0x3f25da(_0x2d3497._0x221c75,_0x2d3497._0x3cc8d7,0x2e7,_0x2d3497._0x156666),'lib',_0x3f25da(0x504,0x39c,_0x2d3497._0x123194,0x418));return await exists2(_0x1c9fdb)?_0x1c9fdb:void 0x0;}var TypeScriptServer={'id':_0xe18bb0(0x19b,-0x46,0xd8,0x1c6),'name':_0xe18bb0(0x1dc,0x5b,0x1fd,-0x182),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x52ce34){const _0x1fc703=await findUp(_0x52ce34,TYPESCRIPT_ROOT_MARKERS);if(!_0x1fc703)return void 0x0;return await hasDenoRoot(_0x1fc703)?void 0x0:_0x1fc703;},async 'spawn'(_0x2b1d8e){const _0x52b087={_0x435f16:0x37e,_0x1afb91:0x213,_0x153e96:0x2fb,_0x522415:0x3b1,_0x5c4653:0x3e7,_0x4de664:0x3a7,_0x234a58:0x300,_0x11a8ad:0x28f},_0x395805={_0x3f347c:0x165},_0x264503=await resolveTsserverPath(_0x2b1d8e);if(!_0x264503)return void 0x0;function _0x21e6a2(_0x4be849,_0xe5482e,_0x444fbd,_0x5d5d3b){return _0x47b891(_0xe5482e,_0x4be849- -0x234,_0x444fbd-0x1,_0x5d5d3b-0x1e7);}function _0x4ba99c(_0x3615f0,_0x308f44,_0x127640,_0x4d7638){return _0x47b891(_0x127640,_0x308f44- -0x2b7,_0x127640-0x165,_0x4d7638-_0x395805._0x3f347c);}const _0xc4dccf=await resolvePackageBinary({'packageName':_0x21e6a2(_0x52b087._0x435f16,0x305,_0x52b087._0x1afb91,0x28a),'binaryName':_0x4ba99c(0x371,_0x52b087._0x153e96,_0x52b087._0x522415,0x233),'startDir':_0x2b1d8e});if(!_0xc4dccf)return void 0x0;return{'process':_0xe573a8(_0xc4dccf,['--stdio'],{'cwd':_0x2b1d8e,'stdio':_0x21e6a2(_0x52b087._0x5c4653,_0x52b087._0x4de664,_0x52b087._0x234a58,_0x52b087._0x11a8ad)}),'initialization':{'tsserver':{'path':_0x264503}}};}},BiomeServer={'id':_0xe18bb0(-0xd7,0x93,0x29c,-0x104),'name':_0xe18bb0(0x1ee,0x1ae,0x321,0x16f),'extensions':BIOME_EXTENSIONS,async 'root'(_0x400bfd){return findUp(_0x400bfd,BIOME_ROOT_MARKERS);},async 'spawn'(_0x294bab){const _0x372570={_0x8aa48a:0x467,_0x164bfe:0x37a,_0x150336:0x621,_0x3ded49:0x81,_0x69dcc0:0xbb},_0x4eef2b={_0x28bb1e:0x12e},_0x3d523c={_0x3caa28:0x11b,_0x594107:0x1cb};function _0x1118cb(_0x14147e,_0xf2bc08,_0x46a3ef,_0x16d5b1){return _0xe18bb0(_0x16d5b1,_0x46a3ef- -_0x3d523c._0x3caa28,_0x46a3ef-_0x3d523c._0x594107,_0x16d5b1-0x2f);}const _0x950eaa=await findPackageBinary('biome',_0x294bab)??await resolvePackageBinary({'packageName':_0x4c4125(_0x372570._0x8aa48a,0x471,0x27c,0x2d2),'binaryName':_0x4c4125(0x525,_0x372570._0x164bfe,0x4fc,_0x372570._0x150336),'startDir':_0x294bab});function _0x4c4125(_0x1b5851,_0x551472,_0x284263,_0x4c0dfe){return _0xe18bb0(_0x551472,_0x1b5851-0x492,_0x284263-_0x4eef2b._0x28bb1e,_0x4c0dfe-0x1a8);}if(!_0x950eaa)return void 0x0;return{'process':_0xe573a8(_0x950eaa,[_0x1118cb(0x279,_0x372570._0x3ded49,_0x372570._0x69dcc0,0xc0),'--stdio'],{'cwd':_0x294bab,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x32cc91){const _0x46c3f7={_0x3fc27b:0x464,_0x5b845b:0x570,_0x3c0ee8:0x415,_0x3e6397:0x2d1,_0x38143f:0x38e,_0x22cc9b:0x25b},_0x7526af={_0x2dfbc7:0x152},_0x1c6560={_0x12355:0x41},_0x52e15a=_0x546c96[_0x444b41(_0x46c3f7._0x3fc27b,_0x46c3f7._0x5b845b,_0x46c3f7._0x3c0ee8,0x3f7)](_0x32cc91)[_0x444b41(0x348,_0x46c3f7._0x3e6397,_0x46c3f7._0x38143f,0x377)]();function _0x444b41(_0x5f1b56,_0x259cf3,_0x1639ba,_0x3a0449){return _0xe18bb0(_0x1639ba,_0x3a0449-0x189,_0x1639ba-0x54,_0x3a0449-_0x1c6560._0x12355);}function _0x1cba48(_0x3da147,_0x24b952,_0x2106d2,_0x3a9435){return _0x47b891(_0x3a9435,_0x2106d2- -0x298,_0x2106d2-_0x7526af._0x2dfbc7,_0x3a9435-0xa9);}return BUILTIN_LSP_SERVERS[_0x444b41(0x1d5,0x503,_0x46c3f7._0x22cc9b,0x3e2)](_0x27a8ba=>_0x27a8ba[_0x1cba48(0x32e,0x271,0x2a7,0x97)][_0x1cba48(0x4aa,0x18f,0x2f5,0x42c)](_0x52e15a));}function stateKey(_0x151fcd,_0x894de2){return _0x894de2+':'+_0x151fcd['id'];}function diagnosticsKeyToPath(_0x57e187){const _0x218662={_0x2a9b15:0x5ef,_0x1e9855:0x713,_0x134d61:0x705},_0x54b2a0={_0x3aef36:0x106};if(!_0x57e187['startsWith'](_0x32873d(_0x218662._0x2a9b15,_0x218662._0x1e9855,0x526,_0x218662._0x134d61)))return _0x57e187;function _0x32873d(_0x26223a,_0x235bd6,_0x37436e,_0xa13d){return _0x47b891(_0x37436e,_0x235bd6- -0x70,_0x37436e-_0x54b2a0._0x3aef36,_0xa13d-0x50);}return fileURLToPath(_0x57e187);}function nextFileVersion(_0x45960c,_0x23a312){const _0xed3c92={_0x2b39f8:0x22c},_0x122700={_0x48835b:0x353,_0x22ccea:0x162,_0x160739:0x5e},_0x46ebe6=(_0x45960c[_0x5e0934(0xc6,0x72,0x2d0,_0xed3c92._0x2b39f8)]['get'](_0x23a312)??0x1)+0x1;function _0x5e0934(_0x157bcc,_0x2a1e7d,_0x20c775,_0x3ff82f){return _0x47b891(_0x20c775,_0x157bcc- -_0x122700._0x48835b,_0x20c775-_0x122700._0x22ccea,_0x3ff82f-_0x122700._0x160739);}return _0x45960c['fileVersions']['set'](_0x23a312,_0x46ebe6),_0x46ebe6;}async function collectClientResults(_0x13b1f5){const _0xb025c5={_0x547873:0x8c},_0x111ab3={_0x5066d4:0x54,_0x1f3c54:0x1d8},_0x170981={_0x3574ea:0x238,_0x429353:0x96},_0x5e40a5=await Promise['allSettled'](_0x13b1f5);function _0x4c3cc6(_0x5e376b,_0x3245c7,_0x21ef0f,_0xab039b){return _0x47b891(_0x3245c7,_0x21ef0f- -_0x170981._0x3574ea,_0x21ef0f-0x127,_0xab039b-_0x170981._0x429353);}function _0x2b48bd(_0x480be5,_0x5df480,_0x14aa8a,_0x1059a9){return _0xe18bb0(_0x5df480,_0x1059a9-0x479,_0x14aa8a-_0x111ab3._0x5066d4,_0x1059a9-_0x111ab3._0x1f3c54);}return _0x5e40a5[_0x4c3cc6(_0xb025c5._0x547873,0x394,0x287,0x119)](_0xa65054=>_0xa65054[_0x2b48bd(0x6b8,0x7e4,0x60f,0x691)]==='fulfilled'?_0xa65054[_0x2b48bd(0x4e5,0x6ef,0x577,0x5ee)]:[]);}function createLspService(_0x55a334={}){const _0x5de231={_0x540d46:0x1c3},_0xe9fccf={_0xdaf665:0x85,_0x37e7e3:0xa9},_0x25a535={_0x4ffa0b:0x4b1,_0x2b4802:0x460,_0x2929de:0x210,_0x156ab2:0x2d2,_0x46641d:0xe0,_0x10d3aa:0x3f5,_0xcd5a96:0x4f9,_0x162f2e:0x487,_0x703fc0:0x40d,_0x5962df:0x2d2,_0x334a92:0x329,_0x10f036:0x33e,_0x5b55b2:0x2c5,_0x539077:0x2fb,_0x5e68a3:0xc3,_0x40ae0d:0x1de,_0xb6c028:0x231,_0x2b0e2b:0x351,_0x45cbd3:0x1de,_0x31f02b:0x1b8,_0x511e58:0x727,_0x38876a:0x616},_0x4e302f={_0xed909a:0x5f,_0x158b2f:0xa2},_0x982f22={_0x320188:0x1ff,_0x3537e3:0x3e6},_0x2aa466={_0x523210:0x153,_0x162a3e:0x33c},_0x3e6bc7={_0xfb8e75:0x84},_0x575c22={_0x2e4fc4:0x201,_0x27ece6:0x47,_0x4a0edd:0xa4},_0x586d55={_0x18e147:0x19f,_0xe7fa80:0x102},_0x27f89d={_0x58d120:0x1e8},_0x4bf48c={_0x157bad:0x587,_0x4f908a:0x329},_0x1ce54a={_0x177bd5:0x441},_0x24ade0={_0x45d32e:0xf6,_0x4c508d:0x308},_0x407f53={_0x815e6f:0x364,_0x4c97e5:0x32d},_0x3e3b={_0x294141:0x4a7,_0x16728c:0x4b2,_0x26c59f:0x4cc},_0x11201d={_0x4f4452:0x165,_0x174f18:0x2c8},_0x4d2990={_0x3ac37b:0x5be},_0x1d3148={_0x41061f:0xd2,_0x2a3f46:0x1f0},_0x19bb8d={_0x17a11d:0xf9,_0x3eb28e:0xe9},_0x2d897a={_0x37d072:0xcb},_0x3a3e8a={_0x8e6b5f:0x2dc},_0x4af2da={_0x3dec5b:0x153,_0x1bbf71:0x2e5,_0x946180:0x184},_0x44fdf6={_0x560d5d:0x141},_0x25c56d={_0x1e2bd3:0x3ba,_0x4ac70d:0x5c9,_0x1dbefc:0x325,_0x568139:0x50a,_0x4c9a00:0x40f,_0x265471:0x5ee,_0x5343f7:0x5ef},_0x350fa9={_0x4eb67e:0x1a7},_0x56230b={_0x510b19:0x2d5,_0x528cac:0xed,_0x2081b1:0x1b6},_0x4b201c={_0xd69e4e:0x7d0,_0x53c3d3:0x705},_0x53cf8b={_0x2b1cf8:0x33c,_0x57168b:0x4b9,_0x320e05:0x470},_0x4fff2d={_0xff1b5f:0x636,_0x4cce42:0x73b,_0x4ac84b:0x771},_0x116b46={_0x12919f:0x606,_0x3553a5:0x58b,_0x43c3a3:0x69f,_0x2efc8d:0x3b7,_0x5379de:0x94e,_0x44fa16:0x5c0,_0x27ad4b:0x3b8,_0x293604:0x246,_0x41486a:0x42c,_0x36e1da:0x2e6,_0x25f2e9:0x3d9,_0x2bf3e1:0x2db,_0x409fe7:0x558,_0xa4637c:0x44f},_0x89f28e={_0x543fa6:0x56},_0x424c74={_0xe55f4a:0x11,_0x2c4075:0x16},_0x109806={_0x10c4e8:0x1f7,_0x57cfb6:0x8a,_0x4cbf24:0xac,_0x27ca0a:0x4bf,_0x5e72b5:0x63b,_0x10fc2e:0xe1,_0x52e827:0x20f,_0x5fc882:0x230,_0x4bbef6:0x442,_0x4896ea:0x2c3,_0x474f1d:0x1f6,_0xe42d4c:0x11c},_0x5e69e2={_0x5c2b5a:0x156,_0x499566:0x177},_0x3ae672={_0x582040:0x411,_0x1ae8cf:0x6b1,_0x33f643:0x6ae,_0x460df:0x868,_0x5b94c1:0x4d6,_0x56f061:0x612,_0x1ee980:0x767,_0x5e0493:0x8e7,_0x48a634:0x5cf,_0x4efb91:0x5d8,_0x5b1f65:0x74b,_0x2e6fc2:0x612,_0x357278:0x8c6,_0x465461:0x825,_0x2af66c:0x82f,_0x3c1dcd:0x87a,_0x63c126:0x82b,_0x6dc9a8:0x8e0,_0x95567b:0x779,_0x27f020:0x9b4},_0x36d68b={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1c305a=()=>_0x55a334[_0x2f6c36(0x21e,0x2d8,0x53d,0x32e)]!==![];async function _0x36682c(_0x44de57,_0x1ee854){const _0x1e8f58={_0x2a25c6:0x15b,_0xcfc89f:0x189},_0x599e37={_0x2ff89c:0x135,_0xb50c02:0x559},_0x3399b5=stateKey(_0x44de57,_0x1ee854),_0x983df3=_0x36d68b[_0x6d8368(-0x149,_0x109806._0x10c4e8,0xb9,0xd4)][_0x37cc2c(0x36e,0x355,0x303,0x528)](_0x52a327=>_0x52a327['serverId']===_0x44de57['id']&&_0x52a327[_0x6d8368(0x411,0x25a,0x315,0x388)]===_0x1ee854);if(_0x983df3)return _0x983df3;if(_0x36d68b[_0x6d8368(-_0x109806._0x57cfb6,0x1a9,_0x109806._0x4cbf24,0x3b)]['has'](_0x3399b5))return void 0x0;const _0x3b28aa=_0x36d68b[_0x37cc2c(0x502,_0x109806._0x27ca0a,_0x109806._0x5e72b5,0x400)][_0x6d8368(0xdb,0x147,_0x109806._0x10fc2e,_0x109806._0x52e827)](_0x3399b5);if(_0x3b28aa)return _0x3b28aa;const _0x514edf=((async()=>{const _0x5a9d51={_0xd99b04:0x60e,_0x52d0dd:0x147};function _0x25fe1c(_0x4a23b0,_0x5b3c5c,_0x5eb9fd,_0x4e5aeb){return _0x6d8368(_0x4a23b0-_0x599e37._0x2ff89c,_0x4a23b0,_0x5eb9fd-_0x599e37._0xb50c02,_0x4e5aeb-0x124);}function _0x1d748d(_0x5ed3e9,_0x2a43d7,_0x308b73,_0x4c3dbf){return _0x6d8368(_0x5ed3e9-0xc3,_0x308b73,_0x5ed3e9-_0x5a9d51._0xd99b04,_0x4c3dbf-_0x5a9d51._0x52d0dd);}try{const _0x30f473=await _0x44de57['spawn'](_0x1ee854);if(!_0x30f473)return _0x36d68b[_0x25fe1c(_0x3ae672._0x582040,_0x3ae672._0x1ae8cf,0x605,0x495)][_0x25fe1c(0x670,_0x3ae672._0x33f643,0x82b,_0x3ae672._0x460df)](_0x3399b5),void 0x0;const _0x26d700=await createLspClient({'server':_0x44de57,'root':_0x1ee854,'handle':_0x30f473}),_0x3f7317=_0x36d68b[_0x25fe1c(_0x3ae672._0x5b94c1,0x5f6,_0x3ae672._0x56f061,0x4dd)][_0x1d748d(_0x3ae672._0x1ee980,0x5d0,_0x3ae672._0x5e0493,0x7f8)](_0x27477d=>_0x27477d[_0x1d748d(0x7b2,0x5d2,0x6e6,0x82e)]===_0x44de57['id']&&_0x27477d[_0x25fe1c(0x81a,0x823,0x86e,0x8c7)]===_0x1ee854);if(_0x3f7317)return await _0x26d700[_0x25fe1c(_0x3ae672._0x48a634,0x71b,_0x3ae672._0x4efb91,0x4a1)](),_0x3f7317;return _0x36d68b[_0x25fe1c(0x618,_0x3ae672._0x5b1f65,_0x3ae672._0x2e6fc2,0x5bc)][_0x1d748d(0x57e,0x6bd,0x6fa,0x381)](_0x26d700),_0x26d700;}catch{return _0x36d68b[_0x1d748d(0x6ba,_0x3ae672._0x357278,_0x3ae672._0x465461,0x755)][_0x25fe1c(_0x3ae672._0x2af66c,_0x3ae672._0x3c1dcd,_0x3ae672._0x63c126,_0x3ae672._0x6dc9a8)](_0x3399b5),void 0x0;}finally{_0x36d68b[_0x25fe1c(_0x3ae672._0x95567b,0x8d3,0x81c,_0x3ae672._0x27f020)]['delete'](_0x3399b5);}})());_0x36d68b[_0x6d8368(_0x109806._0x5fc882,_0x109806._0x4bbef6,_0x109806._0x4896ea,0x48d)][_0x37cc2c(_0x109806._0x474f1d,0x1b0,_0x109806._0xe42d4c,0x2e2)](_0x3399b5,_0x514edf);function _0x37cc2c(_0x397c5f,_0x61ff75,_0xa83a94,_0x12d9a2){return _0x2f6c36(_0x397c5f,_0x61ff75-_0x1e8f58._0x2a25c6,_0xa83a94-_0x1e8f58._0xcfc89f,_0x61ff75-0x85);}function _0x6d8368(_0x4553df,_0x38ef36,_0x4f5627,_0xc235ac){return _0x2f6c36(_0x38ef36,_0x38ef36-0x1,_0x4f5627-_0x5e69e2._0x5c2b5a,_0x4f5627- -_0x5e69e2._0x499566);}return _0x514edf;}async function _0x217881(_0x1315e4,_0x350b5c){if(!_0x1c305a())return[];const _0x1bbf16=[];function _0x94a21d(_0x5a025c,_0x5db59b,_0x3ae64e,_0x490886){return _0x2f6c36(_0x3ae64e,_0x5db59b-0xc8,_0x3ae64e-_0x424c74._0xe55f4a,_0x5db59b-_0x424c74._0x2c4075);}function _0x135e34(_0x158256,_0x317140,_0x312723,_0x23c265){return _0x2f6c36(_0x23c265,_0x317140-0x87,_0x312723-_0x89f28e._0x543fa6,_0x317140-0x368);}for(const _0x98b740 of getServersForFile(_0x1315e4)){const _0xacc382=await _0x98b740[_0x94a21d(0x44e,0x4a2,0x643,0x38f)](_0x1315e4);if(!_0xacc382)continue;const _0x4dd213=stateKey(_0x98b740,_0xacc382);if(_0x36d68b[_0x135e34(_0x116b46._0x12919f,_0x116b46._0x3553a5,_0x116b46._0x43c3a3,_0x116b46._0x2efc8d)][_0x135e34(_0x116b46._0x5379de,0x791,0x89a,_0x116b46._0x44fa16)](_0x4dd213))continue;const _0x144b61=_0x36d68b[_0x94a21d(_0x116b46._0x27ad4b,_0x116b46._0x293604,0x2c7,_0x116b46._0x41486a)][_0x94a21d(0x450,_0x116b46._0x36e1da,_0x116b46._0x25f2e9,_0x116b46._0x2bf3e1)](_0x306ee0=>_0x306ee0['serverId']===_0x98b740['id']&&_0x306ee0[_0x94a21d(0x29b,0x4a2,0x34f,0x363)]===_0xacc382);if(_0x144b61){_0x1bbf16[_0x135e34(_0x116b46._0x409fe7,_0x116b46._0xa4637c,0x267,0x626)](_0x144b61);continue;}if(!_0x350b5c)continue;const _0x53ff60=await _0x36682c(_0x98b740,_0xacc382);if(_0x53ff60)_0x1bbf16['push'](_0x53ff60);}return _0x1bbf16;}async function _0x7d4db5(_0x228ec7,_0x45420f=![]){const _0x3ae9aa={_0x1c9aa9:0x26e,_0x367f77:0x11f,_0x418da6:0x1dc,_0x17bdb1:0x2a5,_0x321f0f:0x3be,_0x28130e:0xce,_0x448e9f:0x168,_0x4f0b71:0x2ae,_0x23e5c5:0x28d,_0x22c9c0:0x1de,_0x50ca88:0x484,_0x5c18e9:0x3c2,_0x206f75:0x598,_0x4145f1:0x275,_0x21a5ae:0x13a,_0x168693:0x286,_0x1ecae4:0x2fc,_0x224653:0x278,_0x462563:0x465,_0x370feb:0x3a6,_0x15233f:0xe7,_0x12f490:0xa6,_0x9c65bd:0x194},_0x37b13c={_0x2a2c85:0x1bc},_0x143e79={_0x31fb7d:0xba};function _0x4e8339(_0x464380,_0x401936,_0x521da2,_0x3afa37){return _0x2f6c36(_0x3afa37,_0x401936-0x91,_0x521da2-0x1e8,_0x464380-_0x143e79._0x31fb7d);}function _0x2d4b03(_0x561291,_0x5ab368,_0x2a0b6c,_0x5e4169){return _0x2f6c36(_0x5e4169,_0x5ab368-0x15d,_0x2a0b6c-0x1c7,_0x5ab368-0x3ab);}const _0x1cf8e6=await _0x217881(_0x228ec7,!![]);await Promise[_0x2d4b03(_0x4fff2d._0xff1b5f,_0x4fff2d._0x4cce42,_0x4fff2d._0x4ac84b,0x836)](_0x1cf8e6[_0x2d4b03(0x89b,0x6d7,0x59e,0x76e)](async _0x4a833e=>{function _0x118308(_0x5c2b86,_0x486e58,_0x5b9c3f,_0x738827){return _0x4e8339(_0x738827-0x95,_0x486e58-0x2d,_0x5b9c3f-0x33,_0x5c2b86);}!_0x36d68b[_0x3e55dc(_0x3ae9aa._0x1c9aa9,0x232,0x416,_0x3ae9aa._0x367f77)][_0x3e55dc(_0x3ae9aa._0x418da6,_0x3ae9aa._0x17bdb1,_0x3ae9aa._0x321f0f,0x394)](_0x4a833e[_0x3e55dc(_0x3ae9aa._0x28130e,_0x3ae9aa._0x448e9f,-0x7e,_0x3ae9aa._0x4f0b71)]+':'+_0x4a833e['root']+':'+_0x228ec7)&&(await _0x4a833e[_0x118308(0x63f,0x78b,0x671,0x614)][_0x3e55dc(0x195,0xc2,0x250,0x4c)]({'path':_0x228ec7}),_0x36d68b[_0x3e55dc(0x26e,0x12b,_0x3ae9aa._0x23e5c5,_0x3ae9aa._0x22c9c0)][_0x118308(0x411,_0x3ae9aa._0x50ca88,_0x3ae9aa._0x5c18e9,_0x3ae9aa._0x206f75)](_0x4a833e[_0x3e55dc(_0x3ae9aa._0x28130e,-0xe0,_0x3ae9aa._0x4145f1,_0x3ae9aa._0x21a5ae)]+':'+_0x4a833e[_0x3e55dc(0x23f,_0x3ae9aa._0x168693,_0x3ae9aa._0x1ecae4,0x219)]+':'+_0x228ec7));await _0x4a833e[_0x3e55dc(_0x3ae9aa._0x224653,0x3d7,_0x3ae9aa._0x462563,_0x3ae9aa._0x370feb)]['change']({'path':_0x228ec7,'version':nextFileVersion(_0x36d68b,_0x228ec7)});function _0x3e55dc(_0x7514c0,_0x2028d3,_0x49268f,_0x38542e){return _0x4e8339(_0x7514c0- -0x307,_0x2028d3-0xe1,_0x49268f-_0x37b13c._0x2a2c85,_0x49268f);}if(_0x45420f)await _0x4a833e[_0x3e55dc(_0x3ae9aa._0x15233f,-_0x3ae9aa._0x12f490,_0x3ae9aa._0x9c65bd,0x149)]({'path':_0x228ec7});}));}async function _0x30ef4c(_0x489805){const _0x3ee646={_0x245e4c:0x4e,_0x11d6fa:0x2e,_0x2cfd9c:0x222};function _0x4064a0(_0x52eb5f,_0x4f5542,_0xc744ef,_0x181cd8){return _0x2f6c36(_0xc744ef,_0x4f5542-_0x3ee646._0x245e4c,_0xc744ef-_0x3ee646._0x11d6fa,_0x52eb5f-_0x3ee646._0x2cfd9c);}return await _0x7d4db5(_0x489805[_0x4064a0(_0x53cf8b._0x2b1cf8,_0x53cf8b._0x57168b,0x53a,_0x53cf8b._0x320e05)],![]),_0x217881(_0x489805['file'],![]);}async function _0xa8652d(_0x17ee0f){const _0x507ca1={_0x2c31e8:0xf3};function _0x568555(_0x34e3b2,_0x19d212,_0x263c88,_0x50eedf){return _0x2f6c36(_0x263c88,_0x19d212-0x166,_0x263c88-0x27,_0x19d212- -0x152);}const _0x1354f2=await _0x30ef4c(_0x17ee0f);function _0x4e666b(_0x38a4df,_0x3aface,_0x3f95fe,_0x3274ed){return _0x2f6c36(_0x3aface,_0x3aface-0x10a,_0x3f95fe-_0x507ca1._0x2c31e8,_0x3274ed-0x3d9);}return collectClientResults(_0x1354f2[_0x4e666b(0x58f,_0x4b201c._0xd69e4e,0x73f,_0x4b201c._0x53c3d3)](_0x5a62a3=>_0x5a62a3[_0x4e666b(0x88a,0x805,0x931,0x829)]['prepareCallHierarchy'](_0x17ee0f)));}function _0x2f6c36(_0x4d94a7,_0x34e7c9,_0x116096,_0x4e375c){return _0x47b891(_0x4d94a7,_0x4e375c- -_0x56230b._0x510b19,_0x116096-_0x56230b._0x528cac,_0x4e375c-_0x56230b._0x2081b1);}return{'isEnabled':_0x1c305a,async 'hasClients'(_0x3ae549){const _0x4a9f0a={_0x2f2052:0x4c9};function _0x5b7f77(_0x4cdd38,_0x298cf5,_0x97c08c,_0x77f131){return _0x2f6c36(_0x77f131,_0x298cf5-0x74,_0x97c08c-0x110,_0x4cdd38-_0x4a9f0a._0x2f2052);}function _0x5a0b5f(_0x2f1ce5,_0x568652,_0x2f8352,_0x39ac80){return _0x2f6c36(_0x2f1ce5,_0x568652-0x41,_0x2f8352-0x157,_0x39ac80-_0x350fa9._0x4eb67e);}return(await _0x217881(_0x3ae549,![]))[_0x5a0b5f(_0x25c56d._0x1e2bd3,_0x25c56d._0x4ac70d,_0x25c56d._0x1dbefc,_0x25c56d._0x568139)]>0x0||getServersForFile(_0x3ae549)[_0x5a0b5f(_0x25c56d._0x4c9a00,_0x25c56d._0x265471,_0x25c56d._0x5343f7,_0x25c56d._0x568139)]>0x0;},'touchFile':_0x7d4db5,async 'diagnostics'(){const _0x1248ce={_0xc8b4c3:0xd4,_0x3422fc:0x1c9,_0x404d75:0xb5},_0x58d98a={};function _0x957f0d(_0x4f56f3,_0x5c75fe,_0x52ddaf,_0x47855c){return _0x2f6c36(_0x4f56f3,_0x5c75fe-_0x1248ce._0xc8b4c3,_0x52ddaf-_0x1248ce._0x3422fc,_0x52ddaf-_0x1248ce._0x404d75);}for(const _0x366232 of _0x36d68b[_0x957f0d(0x25e,_0x4af2da._0x3dec5b,_0x4af2da._0x1bbf71,_0x4af2da._0x946180)]){for(const [_0x4fa91d,_0x200a73]of _0x366232[_0x957f0d(0x553,0x2f0,0x4f3,0x3fd)]){_0x58d98a[diagnosticsKeyToPath(_0x4fa91d)]=_0x200a73;}}function _0x30a588(_0x6fa949,_0x5e139e,_0x796268,_0x179cbb){return _0x2f6c36(_0x179cbb,_0x5e139e-0x162,_0x796268-0x1a1,_0x5e139e- -_0x44fdf6._0x560d5d);}return _0x58d98a;},async 'diagnosticsForFile'(_0x51e567){await _0x7d4db5(_0x51e567,!![]);const _0x4e453d=[];for(const _0x1c149d of await _0x217881(_0x51e567,![])){for(const [_0xb90dae,_0x1ba3f6]of _0x1c149d[_0x4f8dc3(0x162,_0x2d897a._0x37d072,0x13c,0x168)]){if(diagnosticsKeyToPath(_0xb90dae)===_0x51e567)_0x4e453d['push'](..._0x1ba3f6);}}function _0x4f8dc3(_0x401992,_0xb19ed,_0x413285,_0x3f57de){return _0x2f6c36(_0x413285,_0xb19ed-0x152,_0x413285-0x87,_0x401992- -_0x3a3e8a._0x8e6b5f);}return _0x4e453d;},async 'definition'(_0x292116){const _0x1b6b85={_0x4640cd:0x76,_0x1e8073:0x1f6},_0x40b586={_0x3b9db4:0x7,_0x33e44f:0x65};function _0x103ca6(_0x4e0161,_0x596d4e,_0x499327,_0x299f66){return _0x2f6c36(_0x4e0161,_0x596d4e-_0x40b586._0x3b9db4,_0x499327-_0x40b586._0x33e44f,_0x299f66- -0x243);}function _0x355035(_0x526732,_0x53b4a6,_0xed46a1,_0x5cd1a2){return _0x2f6c36(_0x53b4a6,_0x53b4a6-_0x1b6b85._0x4640cd,_0xed46a1-0x117,_0x5cd1a2- -_0x1b6b85._0x1e8073);}return collectClientResults((await _0x30ef4c(_0x292116))[_0x103ca6(_0x19bb8d._0x17a11d,0x14c,0xf0,_0x19bb8d._0x3eb28e)](_0x5f1b97=>_0x5f1b97[_0x355035(0x79,0x1d4,0x1e8,0x25a)][_0x355035(0x3c4,0x31d,0x127,0x24f)](_0x292116)));},async 'references'(_0x1a44f7){const _0x3e3fea={_0x72fab:0x9f,_0x33e588:0x18f};function _0x27aca4(_0x58f027,_0x2b5b31,_0x195c6c,_0xc5c1e0){return _0x2f6c36(_0x2b5b31,_0x2b5b31-0xff,_0x195c6c-_0x3e3fea._0x72fab,_0x195c6c-_0x3e3fea._0x33e588);}function _0x271160(_0x27528b,_0x5ad6fe,_0x58a308,_0x30110e){return _0x2f6c36(_0x27528b,_0x5ad6fe-0x42,_0x58a308-_0x1d3148._0x41061f,_0x58a308-_0x1d3148._0x2a3f46);}return collectClientResults((await _0x30ef4c(_0x1a44f7))[_0x27aca4(0x587,_0x4d2990._0x3ac37b,0x4bb,0x6a5)](_0x53c657=>_0x53c657['request'][_0x271160(0x511,0x523,0x67e,0x80b)](_0x1a44f7)));},async 'hover'(_0x5003c9){const _0x81f573={_0x1a2b3e:0x4b,_0x4535f1:0x114};function _0x560e59(_0x187da8,_0xa90ea0,_0xe6c372,_0x510565){return _0x2f6c36(_0xa90ea0,_0xa90ea0-0x9,_0xe6c372-_0x81f573._0x1a2b3e,_0xe6c372-_0x81f573._0x4535f1);}function _0x5ad832(_0xbd5ddc,_0x40bd6d,_0x58f656,_0x29c1c9){return _0x2f6c36(_0xbd5ddc,_0x40bd6d-0x1ca,_0x58f656-_0x11201d._0x4f4452,_0x40bd6d-_0x11201d._0x174f18);}const _0x28bb9e=await Promise['allSettled']((await _0x30ef4c(_0x5003c9))['map'](_0x12f623=>_0x12f623[_0x560e59(0x604,0x476,0x564,0x753)][_0x5ad832(0x5fa,0x717,0x8d3,0x55c)](_0x5003c9)));return _0x28bb9e[_0x5ad832(_0x3e3b._0x294141,_0x3e3b._0x16728c,_0x3e3b._0x26c59f,0x508)](_0x2be16f=>_0x2be16f[_0x560e59(0x4a1,0x538,0x4e8,0x352)]===_0x5ad832(0x254,0x40e,0x433,0x580)&&_0x2be16f['value']?[_0x2be16f['value']]:[]);},async 'documentSymbol'(_0x3c33fd){const _0x26ed57={_0x4516d6:0x11};function _0x4b6113(_0x29adb3,_0x49fc76,_0x22016f,_0x1fe5af){return _0x2f6c36(_0x1fe5af,_0x49fc76-0x19b,_0x22016f-0x17b,_0x29adb3- -0x28);}function _0x584519(_0x461836,_0x4abc05,_0x44d38a,_0x1e26f9){return _0x2f6c36(_0x1e26f9,_0x4abc05-_0x26ed57._0x4516d6,_0x44d38a-0x1c4,_0x461836-0x38);}return await _0x7d4db5(_0x3c33fd,![]),collectClientResults((await _0x217881(_0x3c33fd,![]))[_0x584519(_0x407f53._0x815e6f,0x1f6,0x52e,_0x407f53._0x4c97e5)](_0x19b52e=>_0x19b52e[_0x584519(0x488,0x664,0x299,0x517)][_0x4b6113(0x3ee,0x365,0x324,0x393)](_0x3c33fd)));},async 'workspaceSymbol'(_0x5d7029){function _0x20485c(_0x1d09b1,_0xf1b25e,_0x45b171,_0x29f071){return _0x2f6c36(_0x29f071,_0xf1b25e-0x4,_0x45b171-0xc,_0x1d09b1-0xd0);}function _0x151802(_0x4f1d51,_0x276040,_0x328c97,_0x236dd6){return _0x2f6c36(_0x276040,_0x276040-_0x24ade0._0x45d32e,_0x328c97-0x1f1,_0x4f1d51-_0x24ade0._0x4c508d);}return collectClientResults(_0x36d68b[_0x20485c(0x300,_0x1ce54a._0x177bd5,0x4d0,0x225)]['map'](_0x2c14bd=>_0x2c14bd['request'][_0x151802(0x525,0x404,0x4b5,0x3e3)](_0x5d7029)));},async 'implementation'(_0x4c8d83){const _0x4a33b0={_0x45d548:0xd6,_0x3a46c9:0x192,_0x211c44:0x244},_0x568735={_0x116d59:0x18c};function _0x22b390(_0x54026e,_0x58b555,_0x27d19b,_0x242df5){return _0x2f6c36(_0x27d19b,_0x58b555-0x11b,_0x27d19b-0x13a,_0x58b555-_0x568735._0x116d59);}function _0x383f8b(_0x4a1570,_0x3acee2,_0x18300a,_0x7b9567){return _0x2f6c36(_0x3acee2,_0x3acee2-_0x4a33b0._0x45d548,_0x18300a-_0x4a33b0._0x3a46c9,_0x18300a- -_0x4a33b0._0x211c44);}return collectClientResults((await _0x30ef4c(_0x4c8d83))[_0x22b390(0x3d1,0x4b8,_0x4bf48c._0x157bad,_0x4bf48c._0x4f908a)](_0x413b88=>_0x413b88[_0x383f8b(0xb5,0x309,0x20c,0x12e)]['implementation'](_0x4c8d83)));},async 'prepareCallHierarchy'(_0x81d7c1){return _0xa8652d(_0x81d7c1);},async 'incomingCalls'(_0x31fd46){const _0x55bf19=await _0xa8652d(_0x31fd46);function _0x5405f6(_0x366a97,_0x5612c5,_0x4ec53,_0x453be7){return _0x2f6c36(_0x5612c5,_0x5612c5-_0x27f89d._0x58d120,_0x4ec53-0xc6,_0x366a97-0xda);}const _0x537595=await _0x30ef4c(_0x31fd46);function _0x3ed378(_0x18dbde,_0x56e363,_0x11c59b,_0x4d19e8){return _0x2f6c36(_0x4d19e8,_0x56e363-0x1b4,_0x11c59b-_0x586d55._0x18e147,_0x18dbde- -_0x586d55._0xe7fa80);}return collectClientResults(_0x537595[_0x3ed378(0xe8,_0x575c22._0x2e4fc4,-_0x575c22._0x27ece6,_0x575c22._0x4a0edd)](_0x2deabb=>_0x55bf19[_0x3ed378(0x22a,0x4e,0x182,0x366)](_0x3918da=>_0x2deabb['request'][_0x5405f6(0x26d,0x2f5,0xd9,0x99)](_0x3918da))));},async 'outgoingCalls'(_0x5ef3e5){function _0x25e130(_0x3ed4cf,_0x5ad2bc,_0x5278fb,_0x5503f1){return _0x2f6c36(_0x3ed4cf,_0x5ad2bc-0x1aa,_0x5278fb-_0x3e6bc7._0xfb8e75,_0x5503f1-0x1fc);}function _0x492f4c(_0x596fe5,_0x2dd3c5,_0x5cd2be,_0xab0a94){return _0x2f6c36(_0x2dd3c5,_0x2dd3c5-_0x2aa466._0x523210,_0x5cd2be-0x12e,_0x5cd2be-_0x2aa466._0x162a3e);}const _0x57f73f=await _0xa8652d(_0x5ef3e5),_0x217970=await _0x30ef4c(_0x5ef3e5);return collectClientResults(_0x217970[_0x25e130(0x4fd,0x58a,_0x982f22._0x320188,_0x982f22._0x3537e3)](_0x49f3a4=>_0x57f73f[_0x25e130(0x516,0x368,0x57f,0x528)](_0xb2631=>_0x49f3a4[_0x492f4c(0x631,0x831,0x78c,0x68a)][_0x25e130(0x711,0x691,0x41a,0x521)](_0xb2631))));},async 'shutdown'(){if(_0x36d68b['shutdownStarted'])return;_0x36d68b['shutdownStarted']=!![],await Promise[_0xfd216a(0x44d,0x2c4,_0x25a535._0x4ffa0b,0x534)](_0x36d68b[_0x1704c0(_0x25a535._0x2b4802,_0x25a535._0x2929de,_0x25a535._0x156ab2,_0x25a535._0x46641d)][_0xfd216a(_0x25a535._0x10d3aa,_0x25a535._0xcd5a96,_0x25a535._0x162f2e,0x68c)](_0x54ebc1=>_0x54ebc1[_0x1704c0(0x2e4,0x1eb,0x298,0x3d4)]())),_0x36d68b[_0x1704c0(_0x25a535._0x703fc0,0x14e,_0x25a535._0x5962df,0xe5)]=[];function _0xfd216a(_0x53ef73,_0x188636,_0x5a7a80,_0x5daa19){return _0x2f6c36(_0x53ef73,_0x188636-0x9e,_0x5a7a80-0xde,_0x5a7a80-0x15b);}_0x36d68b['spawning'][_0x1704c0(0x3b9,_0x25a535._0x334a92,0x1de,0x2ef)](),_0x36d68b[_0x1704c0(0x355,_0x25a535._0x10f036,_0x25a535._0x5b55b2,0x487)][_0x1704c0(_0x25a535._0x539077,_0x25a535._0x5e68a3,0x1de,_0x25a535._0x40ae0d)](),_0x36d68b[_0x1704c0(_0x25a535._0xb6c028,0x2b4,0x1e6,0x298)][_0x1704c0(0x23,_0x25a535._0x2b0e2b,_0x25a535._0x45cbd3,_0x25a535._0x31f02b)]();function _0x1704c0(_0x17bd41,_0x3b6feb,_0x4589f6,_0x35ddf4){return _0x2f6c36(_0x3b6feb,_0x3b6feb-_0x4e302f._0xed909a,_0x4589f6-0x12f,_0x4589f6-_0x4e302f._0x158b2f);}_0x36d68b[_0xfd216a(_0x25a535._0x511e58,0x501,_0x25a535._0x38876a,0x492)]['clear']();},'status'(){function _0x3d4cfc(_0x3cd15d,_0x34151e,_0x95738c,_0x1efe1d){return _0x2f6c36(_0x95738c,_0x34151e-0xa7,_0x95738c-_0xe9fccf._0xdaf665,_0x1efe1d- -_0xe9fccf._0x37e7e3);}return{'connectedClients':_0x36d68b['clients'][_0x3d4cfc(0xd0,_0x5de231._0x540d46,0x42a,0x2ba)]};}};}function getCommand(_0x5ec745){const _0x33ca03={_0x1eeec4:0x1c7,_0x44edf9:0x10b,_0x4c5f19:0x5d1,_0x398d2b:0x628,_0x2c13ad:0x3f9,_0x1f30bd:0x707,_0x2724b2:0x4d5},_0x56cf4a={_0x170b8e:0x269},_0x41555a={_0x1e555d:0x519};function _0x46208d(_0x2840fb,_0x49c292,_0x136a74,_0x1407ce){return _0x47b891(_0x136a74,_0x2840fb- -_0x41555a._0x1e555d,_0x136a74-0x3b,_0x1407ce-0x1bd);}function _0x18b2b9(_0x1a1d2d,_0x228492,_0x33e1ff,_0x32d561){return _0xe18bb0(_0x1a1d2d,_0x228492-_0x56cf4a._0x170b8e,_0x33e1ff-0xcf,_0x32d561-0x1aa);}if(_0x5ec745&&typeof _0x5ec745===_0x46208d(_0x33ca03._0x1eeec4,_0x33ca03._0x44edf9,0x1c5,0x398)&&!Array['isArray'](_0x5ec745)&&typeof _0x5ec745[_0x18b2b9(_0x33ca03._0x4c5f19,0x53d,_0x33ca03._0x398d2b,_0x33ca03._0x2c13ad)]==='string')return _0x5ec745[_0x18b2b9(_0x33ca03._0x1f30bd,0x53d,_0x33ca03._0x2724b2,0x3b0)];return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0xe18bb0(0x118,0x183,0x1b5,0x255),_0x47b891(0x624,0x489,0x378,0x38a),_0xe18bb0(0x123,0xc1,0x2f,0x13c),_0xe18bb0(-0x23b,-0x95,-0x198,-0x244),_0x47b891(0x339,0x403,0x3d1,0x441),_0xe18bb0(0x2d3,0xca,-0xf2,-0x11c),_0xe18bb0(0x249,0x64,-0x11,-0x10a),_0x47b891(0x490,0x4f0,0x4ae,0x5d1),_0xe18bb0(0x2e6,0x16d,0x1bb,0x37a),_0xe18bb0(-0x16,0x9e,-0x154,-0xeb),_0xe18bb0(-0x71,0x15,-0x5e,0xdd),_0xe18bb0(0x43a,0x29b,0x26a,0x142),'src/agent/agent.test.ts',_0xe18bb0(0x3c8,0x25b,0x111,0x17d),'src/formats/provider-adapters.test.ts',_0xe18bb0(-0x2a5,-0x107,-0x147,-0x260)][_0x47b891(0x3bb,0x573,0x5a1,0x740)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x47b891(0x3c7,0x3a8,0x311,0x4dd),'description':_0xe18bb0(-0x21e,-0x2d,-0xfb,-0xf6),'input_schema':{'type':_0xe18bb0(0x259,0x24f,0x1eb,0x336),'properties':{'command':{'type':'string'}},'required':[_0x47b891(0x80c,0x765,0x91f,0x69a)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0xd24a9d){return{'output':_0xd24a9d,'structured':{'value':_0xd24a9d}};}function createUnknownToolResult(_0x336533){const _0x4bac9b={_0x224add:0x2e0,_0x5d1af2:0x3e7,_0x2112fd:0x25c,_0x3af441:0x3d1,_0x2e7db9:0x2cc,_0x2c0b31:0x41c,_0x43b5fb:0x3f9,_0x4a8609:0x15a,_0x40e2ef:0x139,_0x509b4e:0x20a},_0x488b20={_0x360d05:0x4ab,_0x1d59a6:0x11b},_0x39d947={_0x4324be:0x19d};function _0x145c32(_0x33ce24,_0x54f5c5,_0x10b0af,_0x303c8c){return _0x47b891(_0x33ce24,_0x303c8c- -0x1dd,_0x10b0af-_0x39d947._0x4324be,_0x303c8c-0x139);}function _0x187223(_0x2b257d,_0x28da53,_0x13c34e,_0x13f632){return _0xe18bb0(_0x28da53,_0x13c34e-_0x488b20._0x360d05,_0x13c34e-0xdb,_0x13f632-_0x488b20._0x1d59a6);}return{'callId':_0x336533['id'],'toolName':_0x336533[_0x187223(_0x4bac9b._0x224add,0x24a,0x401,_0x4bac9b._0x5d1af2)],'status':_0x187223(0x358,_0x4bac9b._0x2112fd,_0x4bac9b._0x3af441,_0x4bac9b._0x2e7db9),'output':_0x145c32(0x2e0,0x5f3,_0x4bac9b._0x2c0b31,_0x4bac9b._0x43b5fb)+_0x336533[_0x145c32(_0x4bac9b._0x4a8609,_0x4bac9b._0x40e2ef,0x4c,_0x4bac9b._0x509b4e)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x1d1249,_0x482000){const _0x1d2e04={_0x8ba36b:0x19e,_0x2ffb2a:0x36c,_0x2fc423:0x53f,_0x3e2132:0x610},_0x44cb93={_0x49b9e5:0x1b5},_0x34c44c={_0x2bbda9:0xa0,_0x137c2b:0x12d};function _0x814134(_0x2b5c1f,_0x3d5e66,_0x385b83,_0x236cfd){return _0xe18bb0(_0x2b5c1f,_0x385b83-0x320,_0x385b83-_0x34c44c._0x2bbda9,_0x236cfd-_0x34c44c._0x137c2b);}function _0x2b1059(_0x254ed2,_0x5b64af,_0x17d139,_0xcdf35e){return _0xe18bb0(_0x254ed2,_0xcdf35e-0x549,_0x17d139-0x1d1,_0xcdf35e-_0x44cb93._0x49b9e5);}return{'callId':_0x1d1249['id'],'toolName':_0x1d1249[_0x814134(_0x1d2e04._0x8ba36b,_0x1d2e04._0x2ffb2a,0x276,0xbf)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x1d1249[_0x2b1059(_0x1d2e04._0x2fc423,0x56f,_0x1d2e04._0x3e2132,0x4ee)]),'exitCode':0x0},'chunks':[_0x482000],'meta':createMeta()};}function createMockToolRuntime(){const _0x3d2fa0={_0x295448:0x142,_0xe2b54f:0xe9,_0x23c457:0x31d,_0x5508cb:0x3ed},_0x3b16c0={_0x54e9d4:0x249,_0x5f0a3a:0xca},_0x535c00=async(_0x3390da,_0x1b2318)=>{function _0x9cf348(_0x33f911,_0x3293f8,_0x141333,_0xf7801c){return _0x678a(_0x141333- -0x2e9,_0x3293f8);}function _0x32ec96(_0x6a8b20,_0x1ecba9,_0x5bead8,_0x5e2eca){return _0x678a(_0x1ecba9-0x221,_0x6a8b20);}if(_0x3390da[_0x32ec96(0x33a,0x427,_0x3b16c0._0x54e9d4,0x3a2)]!==_0x9cf348(-0x7a,0x60,-0x122,-_0x3b16c0._0x5f0a3a))return createUnknownToolResult(_0x3390da);const _0x55b96b=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x3390da,_0x55b96b);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x399dde,_0x4de35b){const _0x29e3a5={_0x29caaa:0x1e6};function _0xdbe74d(_0x58928e,_0x2c5a68,_0x238706,_0x1f9b7e){return _0x678a(_0x58928e- -_0x29e3a5._0x29caaa,_0x238706);}function _0x1b9e5f(_0x13c623,_0x50e99c,_0x1c2c62,_0xd0134){return _0x678a(_0xd0134-0x23,_0x13c623);}return await Promise[_0xdbe74d(0x29e,0x257,_0x3d2fa0._0x295448,_0x3d2fa0._0xe2b54f)](_0x399dde[_0xdbe74d(0x23a,_0x3d2fa0._0x23c457,0x3da,_0x3d2fa0._0x5508cb)](async _0x41a8bf=>{return await _0x535c00(_0x41a8bf,_0x4de35b);}));},async 'execute'(_0x3909f8,_0x49520e){return await _0x535c00(_0x3909f8,_0x49520e);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x232551={_0x56fdd3:0x647,_0x28fd3a:0x443,_0x189e9b:0x430,_0x42708c:0x501},_0x2985c3={_0x1a8f4c:0xaf};delegatedRunCounter+=0x1;function _0x234981(_0x57f906,_0x57c157,_0x2050fa,_0x5cf00b){return _0x47b891(_0x2050fa,_0x5cf00b- -_0x2985c3._0x1a8f4c,_0x2050fa-0x89,_0x5cf00b-0x9c);}return _0x234981(_0x232551._0x56fdd3,_0x232551._0x28fd3a,_0x232551._0x189e9b,_0x232551._0x42708c)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3cf506,_0x12a144){const _0x594f28={_0xcc098e:0x1ef,_0x51a98a:0x6b};function _0xabcc0f(_0x1603df,_0x51df8a,_0x18a2e1,_0x29d37a){return _0xe18bb0(_0x51df8a,_0x1603df-0x3c0,_0x18a2e1-_0x594f28._0xcc098e,_0x29d37a-_0x594f28._0x51a98a);}return typeof _0x3cf506===_0xabcc0f(0x3a8,0x335,0x5af,0x3f8)?await _0x3cf506(_0x12a144):_0x3cf506;}function awaitWithAbort(_0x27edb1,_0xc8b9b4){const _0x4942c0={_0x474629:0x6d2,_0x5b0964:0x77d,_0x27838a:0x5f3};return throwIfAborted(_0xc8b9b4),new Promise((_0x26f4fe,_0x215101)=>{const _0x17926f={_0x4b97f6:0x2f2};function _0x23eac7(_0x46650e,_0x165999,_0x21ea09,_0x390613){return _0x678a(_0x165999-_0x17926f._0x4b97f6,_0x46650e);}let _0x32451d=![];const _0x3f6d70=addAbortListener(_0xc8b9b4,()=>{if(_0x32451d)return;_0x32451d=!![],_0x215101(toAbortError(_0xc8b9b4['reason']));});_0x27edb1[_0x23eac7(_0x4942c0._0x474629,_0x4942c0._0x5b0964,0x848,_0x4942c0._0x27838a)](_0x185bab=>{if(_0x32451d)return;_0x32451d=!![],_0x3f6d70(),_0x26f4fe(_0x185bab);},_0x2bd04a=>{if(_0x32451d)return;_0x32451d=!![],_0x3f6d70(),_0x215101(_0x2bd04a);});});}function getDelegatedAgentDefinition(_0x10ef22,_0xb5c7cb){const _0x11034e={_0x3e03fc:0x326,_0x5b782d:0x312},_0x180b66={_0x50288e:0x2d2,_0x5f3129:0x18d};function _0x13213e(_0x7200c1,_0x18b04c,_0x1b30c0,_0x497a2b){return _0x47b891(_0x18b04c,_0x7200c1- -_0x180b66._0x50288e,_0x1b30c0-_0x180b66._0x5f3129,_0x497a2b-0x13f);}return _0x10ef22[_0x13213e(0x246,_0x11034e._0x3e03fc,_0x11034e._0x5b782d,0x35)]?.[_0xb5c7cb];}function createRunSummary(_0x588909){const _0x2a5d53={_0x28a738:0x53,_0x2ff3e0:0x2f,_0x6d180a:0x3f9,_0x34a355:0x4dc,_0x10d4e1:0x4fe,_0x39f74b:0x609,_0x577e89:0x50c,_0xa54dcc:0x4e3,_0x1e9a60:0xa4,_0x31ff00:0x6a,_0x197760:0x1f8,_0x1668f2:0xd6,_0x160d7b:0x1b4,_0x4bddce:0x245,_0x97c110:0x3cb,_0x414103:0x270,_0x51bc2d:0x1b6,_0x5b4563:0x348},_0x3d068f={_0x367ce6:0x88};function _0x145e00(_0x219b35,_0x4a74c2,_0x5897ff,_0x177740){return _0xe18bb0(_0x177740,_0x5897ff-0x2f,_0x5897ff-0xf2,_0x177740-0xe9);}function _0x1063d8(_0x597ab3,_0x1346fe,_0x218763,_0xf8ddcb){return _0xe18bb0(_0x218763,_0x597ab3-0x3f1,_0x218763-0x9f,_0xf8ddcb-_0x3d068f._0x367ce6);}return{'runId':_0x588909[_0x145e00(_0x2a5d53._0x28a738,-0x11a,-_0x2a5d53._0x2ff3e0,-0x221)],'agentId':_0x588909[_0x1063d8(0x556,0x6d6,0x52e,_0x2a5d53._0x6d180a)],..._0x588909[_0x1063d8(0x4dc,0x6a6,0x352,0x3d3)]!==void 0x0?{'sessionId':_0x588909[_0x1063d8(_0x2a5d53._0x34a355,_0x2a5d53._0x10d4e1,0x3a7,0x6a2)]}:{},'status':_0x588909[_0x1063d8(_0x2a5d53._0x39f74b,_0x2a5d53._0x577e89,0x6e1,_0x2a5d53._0xa54dcc)],'parentSessionId':_0x588909['parentSessionId'],..._0x588909[_0x1063d8(0x391,0x2fa,0x1a7,0x465)]!==void 0x0?{'originToolCallId':_0x588909['originToolCallId']}:{},..._0x588909[_0x145e00(-_0x2a5d53._0x1e9a60,0x4d,_0x2a5d53._0x31ff00,_0x2a5d53._0x197760)]!==void 0x0?{'errorMessage':_0x588909[_0x145e00(_0x2a5d53._0x1668f2,_0x2a5d53._0x160d7b,_0x2a5d53._0x31ff00,_0x2a5d53._0x4bddce)]}:{},..._0x588909['result']?.[_0x145e00(0x434,_0x2a5d53._0x97c110,_0x2a5d53._0x414103,_0x2a5d53._0x51bc2d)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x588909[_0x1063d8(_0x2a5d53._0x5b4563,0x22d,0x3d1,0x46f)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x4994b0,_0x35879f){const _0x5d72b6={_0xb24d5f:0x2ec,_0x4506b0:0x4eb},_0x3a0670={_0x3da2f4:0x96},_0x1e60a9=createRunSummary(_0x4994b0);function _0x30033b(_0x53184b,_0x189750,_0x4dd245,_0x2c0e15){return _0x47b891(_0x189750,_0x53184b- -0x34c,_0x4dd245-_0x3a0670._0x3da2f4,_0x2c0e15-0xa0);}const _0x162cbc=_0x1e60a9['finalMessageText'];return createToolOutput(typeof _0x162cbc==='string'&&_0x162cbc[_0x30033b(_0x5d72b6._0xb24d5f,0xf4,0x2b1,_0x5d72b6._0x4506b0)]>0x0?_0x162cbc:_0x35879f,_0x1e60a9);}function getRunTerminalErrorMessage(_0x3ec318){const _0x21bbb5={_0x1bb6a1:0x190,_0x2d51b2:0x200,_0x49e999:0xbe,_0x59efd9:0xb3,_0x56f6e5:0x4ab,_0x4158c0:0x20c,_0xcd342f:0x11c,_0x1a575e:0x287},_0x127375={_0x27c08b:0x42c,_0x5d37a4:0x6c},_0x37cc0d={_0xbd5888:0x1c5},_0x5b1987=_0x3ec318?.[_0x45e4ef(0x70,_0x21bbb5._0x1bb6a1,_0x21bbb5._0x2d51b2,0x2f8)][_0x29a3a9(0xa1,-_0x21bbb5._0x49e999,_0x21bbb5._0x59efd9,-0x85)]['at'](-0x1);if(_0x5b1987?.['status']===_0x29a3a9(-0x75,0x143,0x12b,-0x11f)&&_0x5b1987[_0x45e4ef(_0x21bbb5._0x56f6e5,0x476,0x37c,0x460)]['trim']()[_0x29a3a9(_0x21bbb5._0x4158c0,_0x21bbb5._0x49e999,0x1f1,_0x21bbb5._0xcd342f)]>0x0)return _0x5b1987[_0x29a3a9(_0x21bbb5._0x1a575e,0x243,0x341,0x228)];function _0x45e4ef(_0x18de0d,_0x3700fd,_0x2e1aeb,_0x135650){return _0xe18bb0(_0x18de0d,_0x2e1aeb-0x15a,_0x2e1aeb-0x155,_0x135650-_0x37cc0d._0xbd5888);}function _0x29a3a9(_0x3634e1,_0x51d6da,_0x3b7eea,_0x2790db){return _0x47b891(_0x51d6da,_0x3634e1- -_0x127375._0x27c08b,_0x3b7eea-_0x127375._0x5d37a4,_0x2790db-0x1d5);}return void 0x0;}function formatAbortedRunMessage(_0xe00397,_0x475da3){const _0x13da4a={_0x53a240:0x29b,_0x33249f:0x302,_0x4b98a3:0x406,_0x55b95c:0x2c0,_0x42c929:0x427,_0x445493:0x111,_0x27673a:0x37c},_0x46a4f4={_0x41991a:0x378,_0x352af2:0xc8};function _0x329c33(_0x5512c3,_0x593a2a,_0x397c78,_0x581c7e){return _0x47b891(_0x593a2a,_0x397c78- -_0x46a4f4._0x41991a,_0x397c78-_0x46a4f4._0x352af2,_0x581c7e-0x6);}function _0x3b8d36(_0x334978,_0x430b0a,_0x316c2d,_0xc44fc5){return _0x47b891(_0xc44fc5,_0x430b0a- -0x106,_0x316c2d-0x136,_0xc44fc5-0x1c4);}const _0x33b95d=_0x329c33(_0x13da4a._0x53a240,0x10b,_0x13da4a._0x33249f,0x3b7)+_0xe00397+'\x20was\x20aborted.';if(!_0x475da3||_0x475da3['trim']()[_0x329c33(_0x13da4a._0x4b98a3,0xf6,_0x13da4a._0x55b95c,_0x13da4a._0x42c929)]===0x0||_0x475da3===_0x33b95d)return _0x33b95d;return _0x33b95d+_0x329c33(0x382,_0x13da4a._0x445493,0x2a8,_0x13da4a._0x27673a)+_0x475da3;}function createAssignTaskTool(_0x267c06){const _0x5aa9e6={_0x2982f4:0x37c,_0x1699b0:0x5a2,_0x1c21b9:0x4be,_0x42cfdc:0x5c8,_0x400b40:0x5b5,_0x37dfc8:0x271,_0x53db9d:0x426,_0x18b817:0x18f,_0x3f2e5d:0x97,_0x2bd166:0x2b3,_0x447298:0x422,_0x21a385:0x40c,_0x4e0584:0x60f,_0x4ca3c5:0x3f1,_0xffea25:0x497,_0x1e3b32:0x76,_0x5773dc:0x196,_0x43892f:0x10,_0x139e1b:0x261,_0x59f16e:0x100,_0xc4ac1e:0x6d},_0x5b43c4={_0x269080:0x59d,_0x2f31e7:0x6de,_0x41d1e9:0x816,_0x14175e:0x5b1,_0xb7d047:0x5ea,_0xfd9d3e:0x885,_0x302988:0x6a2,_0x8df865:0x650,_0x4ce478:0x706,_0x48939f:0x72b,_0x5de76d:0x8f1,_0x5dd486:0x8d4,_0x69f0d0:0x6de,_0x4a0813:0x27a,_0x4328dd:0x470,_0x6f8b35:0x5a1,_0xe7fe5d:0x4d9,_0x192e4:0x715,_0x1c0644:0x5d0,_0x3235a7:0x5a0,_0x5b737c:0x7c5,_0x3de2cb:0x725,_0x6b7f5b:0x8ea,_0x4d1856:0x873,_0x288a5f:0x7d8,_0x18cf8d:0x6da,_0x31952e:0x68a,_0x19a4f4:0x5b6,_0x4a62b8:0x606,_0x4ba9e6:0x71d,_0x17c192:0x4b7,_0x52ddaa:0x509,_0x2c288a:0x664,_0x897ce6:0x67f,_0x177445:0x3dc,_0x575b2e:0x37f,_0x230b34:0x56b,_0x11a5d3:0x35a,_0x5a7e7d:0x292,_0x1257a0:0x59a,_0x162d4f:0x237,_0x5a91e0:0x321,_0x54cab7:0x3d4,_0x14c0ae:0x4b7,_0x5bd23c:0x470,_0x23dc97:0x523,_0x28d242:0x658,_0x40e0ae:0x6b4,_0x1cd6b4:0x909,_0x388003:0x6ad,_0x20dc3f:0x791,_0x5da4d1:0x62a,_0x594491:0x339,_0x2e34a9:0x1fc,_0x586eeb:0x28f,_0x5360d9:0x6cf,_0x46693c:0x4f4,_0x3a30f:0x554,_0x5c046d:0x487,_0x2e118d:0x910,_0x392418:0x53f,_0x2fb37a:0x9e4,_0x33d208:0x75f,_0x3d5462:0x809,_0x35ff09:0x61e,_0x54f453:0x7a1,_0x37a2c9:0x91b,_0x451334:0x730,_0x1432ea:0x64a,_0x4928d0:0x5a8,_0x3ebc8b:0x4da,_0x27016b:0x4fb,_0x3e917e:0x5f3,_0x3afb0b:0x582,_0x53577b:0x270,_0x2b5a55:0x54f,_0xe9f56a:0x648,_0x391597:0x762,_0x33ccb5:0xfb,_0x154747:0x127,_0x121675:0x2ad,_0x52c7f4:0x5a9},_0x234e55={_0x528b5c:0x49},_0x3f655b={_0x5794d4:0x5c8,_0x3706fd:0x703,_0x9c73c3:0x581,_0x5dff45:0x584,_0x4102f8:0x747,_0x11eda5:0x5fd},_0x59ef0c={_0xbb6d88:0x8c};function _0x28732e(_0x49be5d,_0x5ec34c,_0x1529cc,_0x10e175){return _0x47b891(_0x1529cc,_0x5ec34c- -0x12b,_0x1529cc-0x1cb,_0x10e175-_0x59ef0c._0xbb6d88);}function _0x14162c(_0x261ed1,_0x44df67,_0x5b6798,_0x4d536e){return _0x47b891(_0x4d536e,_0x44df67- -0x460,_0x5b6798-0x62,_0x4d536e-0x2);}return defineTool({'name':'AssignTask','permissionClass':_0x14162c(_0x5aa9e6._0x2982f4,0x2de,0x290,0x128),'description':_0x28732e(_0x5aa9e6._0x1699b0,0x401,0x27d,_0x5aa9e6._0x1c21b9),'inputSchema':{'type':_0x28732e(_0x5aa9e6._0x42cfdc,_0x5aa9e6._0x400b40,0x44e,0x696),'properties':{'agentId':{'type':_0x14162c(_0x5aa9e6._0x37dfc8,0x157,0x289,0x30d),'description':_0x28732e(0x3c0,0x552,0x66c,_0x5aa9e6._0x53db9d)},'description':{'type':_0x14162c(_0x5aa9e6._0x18b817,0x157,_0x5aa9e6._0x3f2e5d,0xb4),'description':_0x28732e(_0x5aa9e6._0x2bd166,_0x5aa9e6._0x447298,_0x5aa9e6._0x21a385,_0x5aa9e6._0x4e0584)},'nickname':{'type':_0x28732e(0x4c5,0x48c,_0x5aa9e6._0x4ca3c5,0x5d7),'description':'Optional\x20short\x20display\x20name\x20for\x20this\x20delegated\x20run.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'task':{'type':'string','description':_0x28732e(0x540,_0x5aa9e6._0xffea25,0x3f0,0x5bb)}},'required':[_0x14162c(_0x5aa9e6._0x1e3b32,_0x5aa9e6._0x5773dc,0x13b,_0x5aa9e6._0x43892f),_0x14162c(-_0x5aa9e6._0x139e1b,-0xd1,_0x5aa9e6._0x59f16e,-_0x5aa9e6._0xc4ac1e),'task']},async *'execute'(_0x3c8d4d,_0x4bfb86){const _0x18cc6e={_0x5b0fb4:0x142,_0xbe0bd2:0x2da},_0x305841=createDelegatedRunId();function _0x418ba2(_0x5b5f8d,_0x1de188,_0x2b475c,_0x3f9a06){return _0x14162c(_0x5b5f8d-_0x18cc6e._0x5b0fb4,_0x2b475c-_0x18cc6e._0xbe0bd2,_0x2b475c-0x1b6,_0x5b5f8d);}const _0x1035b6=new AbortController(),_0x35995a={'agentId':_0x3c8d4d[_0x475451(0x753,_0x5b43c4._0x269080,_0x5b43c4._0x2f31e7,0x6a5)],'parentSessionId':_0x4bfb86[_0x475451(_0x5b43c4._0x41d1e9,0x873,0x664,_0x5b43c4._0x14175e)],'runId':_0x305841,'signal':_0x1035b6['signal'],..._0x4bfb86[_0x475451(_0x5b43c4._0xb7d047,0x892,0x6a2,0x653)]!==void 0x0?{'toolCallId':_0x4bfb86[_0x475451(0x623,_0x5b43c4._0xfd9d3e,_0x5b43c4._0x302988,0x60b)]}:{}},_0x13851d=getDelegatedAgentDefinition(_0x267c06,_0x3c8d4d[_0x475451(0x616,_0x5b43c4._0x8df865,_0x5b43c4._0x2f31e7,0x868)]);if(!_0x13851d)throw new ToolExecutionError(_0x475451(_0x5b43c4._0x4ce478,0x7db,_0x5b43c4._0x48939f,_0x5b43c4._0x5de76d)+_0x3c8d4d['agentId'],{'agentId':_0x3c8d4d[_0x475451(_0x5b43c4._0x5dd486,0x60d,_0x5b43c4._0x69f0d0,0x820)]});let _0x1ef949={'runId':_0x305841,'agentId':_0x3c8d4d[_0x418ba2(0x3ec,_0x5b43c4._0x4a0813,_0x5b43c4._0x4328dd,_0x5b43c4._0x6f8b35)],'status':_0x475451(_0x5b43c4._0xe7fe5d,_0x5b43c4._0x192e4,0x660,_0x5b43c4._0x1c0644),'parentSessionId':_0x4bfb86['sessionId'],..._0x4bfb86[_0x475451(0x677,_0x5b43c4._0x3235a7,_0x5b43c4._0x302988,0x79e)]!==void 0x0?{'originToolCallId':_0x4bfb86[_0x475451(0x5a2,_0x5b43c4._0x5b737c,0x6a2,0x829)]}:{}};const _0x4a9e86=addAbortListener(_0x4bfb86[_0x475451(0x8d6,0x92e,_0x5b43c4._0x3de2cb,_0x5b43c4._0x6b7f5b)],()=>{const _0x4c161c={_0xa200db:0x123,_0x51823c:0x2d};function _0x59c973(_0x284768,_0x2fe5cf,_0x59726a,_0x39398e){return _0x418ba2(_0x284768,_0x2fe5cf-_0x4c161c._0xa200db,_0x39398e-0x31,_0x39398e-_0x4c161c._0x51823c);}function _0x99bbd7(_0x4c58a4,_0x569383,_0x1a0aaa,_0x25d09a){return _0x418ba2(_0x4c58a4,_0x569383-0x15,_0x25d09a-0x138,_0x25d09a-0xb7);}_0x1035b6[_0x59c973(_0x3f655b._0x5794d4,0x593,_0x3f655b._0x3706fd,_0x3f655b._0x9c73c3)](_0x4bfb86[_0x99bbd7(0x4b7,_0x3f655b._0x5dff45,_0x3f655b._0x4102f8,0x5ef)][_0x59c973(_0x3f655b._0x11eda5,0x49f,0x571,0x644)]);});let _0x8abd74,_0x28a4f2;function _0x475451(_0x5e7635,_0x156472,_0xcc9dcb,_0x246db9){return _0x28732e(_0x5e7635-_0x234e55._0x528b5c,_0xcc9dcb-0x213,_0x5e7635,_0x246db9-0x125);}let _0x5eea5a,_0x3a2824;try{_0x267c06[_0x475451(_0x5b43c4._0x4d1856,_0x5b43c4._0x288a5f,_0x5b43c4._0x18cf8d,0x7bc)]!==void 0x0&&(_0x8abd74=await _0x267c06['semaphore'][_0x475451(0x4da,0x84d,_0x5b43c4._0x31952e,0x7f6)](_0x1035b6['signal']));throwIfAborted(_0x1035b6[_0x475451(0x7ff,_0x5b43c4._0x19a4f4,0x725,_0x5b43c4._0x4a62b8)]);const _0x10f930=await awaitWithAbort(resolveDelegatedAgentOptions(_0x13851d,_0x35995a),_0x1035b6[_0x475451(0x7af,_0x5b43c4._0x4ba9e6,0x725,0x53a)]);throwIfAborted(_0x1035b6[_0x418ba2(0x6be,0x59d,_0x5b43c4._0x17c192,0x4f1)]);const _0x267538=_0x267c06[_0x418ba2(0x43c,0x1cb,0x332,_0x5b43c4._0x52ddaa)]!==void 0x0&&_0x10f930[_0x418ba2(0x63f,_0x5b43c4._0x2c288a,0x502,0x6ad)]!==void 0x0?{..._0x10f930,'systemPrompt':_0x267c06[_0x475451(_0x5b43c4._0x897ce6,0x64a,_0x5b43c4._0x3235a7,0x741)](_0x10f930['systemPrompt'])}:_0x10f930;throwIfAborted(_0x1035b6[_0x418ba2(0x6ab,0x56f,_0x5b43c4._0x17c192,_0x5b43c4._0x177445)]);const _0x3c99fa=new Agent(_0x267538);_0x1ef949={..._0x1ef949,'sessionId':_0x3c99fa['sessionId']},_0x28a4f2=_0x267c06[_0x418ba2(_0x5b43c4._0x575b2e,_0x5b43c4._0x230b34,_0x5b43c4._0x11a5d3,0x3f1)]?.(_0x3c99fa,_0x35995a);const _0x498250=new Promise(_0x21ea5f=>{_0x3a2824=_0x21ea5f;});_0x5eea5a=_0x267c06[_0x475451(_0x5b43c4._0x5a7e7d,0x486,0x49b,_0x5b43c4._0x1257a0)]?.({'runId':_0x305841,'abortController':_0x1035b6,'completion':_0x498250}),yield createToolOutput('Started\x20agent\x20run\x20'+_0x1ef949[_0x418ba2(_0x5b43c4._0x162d4f,0x4b0,0x2ad,_0x5b43c4._0x5a91e0)]+'.',{'runId':_0x1ef949['runId'],'agentId':_0x1ef949[_0x418ba2(_0x5b43c4._0x54cab7,_0x5b43c4._0x14c0ae,_0x5b43c4._0x5bd23c,0x5aa)],'sessionId':_0x3c99fa['sessionId'],'status':_0x1ef949[_0x418ba2(0x37d,0x403,_0x5b43c4._0x23dc97,_0x5b43c4._0x69f0d0)]}),throwIfAborted(_0x1035b6['signal']);const _0xfffe13=await _0x3c99fa[_0x418ba2(0x6ca,0x321,0x50d,0x633)](_0x3c8d4d[_0x475451(0x50d,_0x5b43c4._0x28d242,0x6ff,0x6a4)],{'streaming':!![],'signal':_0x1035b6[_0x475451(_0x5b43c4._0x40e0ae,_0x5b43c4._0x1cd6b4,0x725,0x6fc)]});_0x1ef949={..._0x1ef949,'status':_0xfffe13[_0x475451(_0x5b43c4._0x388003,0x863,_0x5b43c4._0x20dc3f,0x69b)],'result':_0xfffe13};if(_0xfffe13[_0x475451(_0x5b43c4._0x5da4d1,0x714,0x791,0x5f1)]!==_0x418ba2(_0x5b43c4._0x594491,0x4b4,0x2fc,0x11c)){const _0x4bb5d4=getRunTerminalErrorMessage(_0xfffe13),_0x16abdd=formatAbortedRunMessage(_0x1ef949[_0x418ba2(0x24e,_0x5b43c4._0x2e34a9,0x2ad,_0x5b43c4._0x586eeb)],_0x4bb5d4);throw new ToolExecutionError(_0x16abdd,{...createRunSummary(_0x1ef949),'aborted':!![],'errorMessage':_0x16abdd});}return createRunSummaryOutput(_0x1ef949,_0x418ba2(0x4f9,_0x5b43c4._0x5360d9,_0x5b43c4._0x46693c,0x6e1)+_0x1ef949['runId']+_0x475451(0x81e,_0x5b43c4._0x3a30f,0x684,_0x5b43c4._0x5c046d));}catch(_0x22c520){if(_0x22c520 instanceof ToolExecutionError)throw _0x22c520;if(isAbortError(_0x22c520)||_0x1035b6[_0x475451(_0x5b43c4._0x2e118d,_0x5b43c4._0x392418,0x725,0x692)][_0x475451(0x8b0,_0x5b43c4._0x2fb37a,0x861,_0x5b43c4._0x33d208)]||_0x4bfb86[_0x475451(_0x5b43c4._0x3d5462,0x5e0,0x725,_0x5b43c4._0x35ff09)][_0x418ba2(0x636,_0x5b43c4._0x54f453,0x5f3,0x505)]){const _0x19f435=getRunTerminalErrorMessage(_0x1ef949[_0x418ba2(0x402,0x256,0x262,0x35c)])??(_0x22c520 instanceof Error?_0x22c520[_0x475451(_0x5b43c4._0x37a2c9,0x9be,0x7ce,_0x5b43c4._0x451334)]:String(_0x22c520)),_0x2bb848=formatAbortedRunMessage(_0x1ef949[_0x475451(_0x5b43c4._0x1432ea,_0x5b43c4._0x4928d0,0x51b,_0x5b43c4._0x3ebc8b)],_0x19f435);_0x1ef949={..._0x1ef949,'status':_0x418ba2(_0x5b43c4._0x27016b,0x7de,_0x5b43c4._0x3e917e,_0x5b43c4._0x3afb0b),'errorMessage':_0x2bb848};throw new ToolExecutionError(_0x2bb848,{...createRunSummary(_0x1ef949),'aborted':!![],'errorMessage':_0x2bb848});}const _0x2353da=getRunTerminalErrorMessage(_0x1ef949[_0x418ba2(0xc4,_0x5b43c4._0x53577b,0x262,0x200)])??(_0x22c520 instanceof Error?_0x22c520[_0x418ba2(0x738,0x404,0x560,_0x5b43c4._0x2b5a55)]:String(_0x22c520))??_0x475451(_0x5b43c4._0xe9f56a,0x8bd,_0x5b43c4._0x391597,0x80f)+_0x1ef949[_0x418ba2(_0x5b43c4._0x33ccb5,_0x5b43c4._0x154747,_0x5b43c4._0x121675,0x267)]+'\x20failed.';_0x1ef949={..._0x1ef949,'status':'failed','errorMessage':_0x2353da};throw new ToolExecutionError(_0x2353da,{...createRunSummary(_0x1ef949),'errorMessage':_0x2353da});}finally{_0x267c06[_0x475451(0x2fa,0x3a6,0x49c,_0x5b43c4._0x52c7f4)]?.(_0x35995a),_0x3a2824?.(),_0x5eea5a?.(),_0x28a4f2?.(),_0x8abd74?.(),_0x4a9e86();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x5c2eb0){return[createAssignTaskTool(_0x5c2eb0)];}import{mkdir as _0x2c18c4,writeFile}from'fs/promises';import*as _0x1d9a72 from'path';function sanitizeFileName(_0x16b3c7){const _0x4a3282={_0x2501fd:0x5e5,_0x2d41cc:0x54c},_0x308f84={_0xf661ed:0x117};function _0x2b6a01(_0x223061,_0x4383d0,_0x3c75fe,_0x337bc5){return _0xe18bb0(_0x3c75fe,_0x4383d0-0x135,_0x3c75fe-0x11f,_0x337bc5-_0x308f84._0xf661ed);}return _0x16b3c7[_0x2b6a01(0x321,0x3f8,_0x4a3282._0x2501fd,_0x4a3282._0x2d41cc)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x264866,_0x509c04){const _0x5d8037={_0x201111:0x1d4,_0x5a87a8:0x2cf,_0x223790:0x535,_0x134aba:0x556,_0x59175c:0x47e,_0x5ea57c:0x7cf,_0x50646f:0x46b,_0x44da39:0x62a,_0x49740d:0x5a5,_0xd514c1:0x400,_0x10a2d5:0x47b,_0x254028:0x448,_0x5c6273:0x318,_0x33d16e:0x4fe,_0x49c063:0x4a5,_0x536e55:0x25c,_0x1452fd:0x165,_0x5e2cb9:0x3e6,_0x490918:0x43b,_0x2b5241:0x35b,_0x34b765:0x15f,_0x44cabc:0x43,_0x5068d2:0x84,_0x5ee4df:0x368,_0x5442d8:0x32b,_0x4b3316:0x280,_0x43d14e:0x368,_0x581692:0x1f8,_0x541328:0x48,_0x32a63c:0x32,_0x1c6553:0x5b5,_0x33db1b:0x570,_0x1af469:0x4c7,_0x237383:0x6bb,_0x4721c3:0x65a,_0x3765d8:0x652,_0x175bdf:0x720,_0x57d468:0x534,_0x313deb:0x32c,_0x5bf22d:0x18f,_0x1066fd:0x1e,_0x587612:0x7c,_0x2724ab:0x4c,_0x1a52e2:0x175,_0x409835:0x4ef,_0x1e5371:0x6c5,_0x2662fd:0x42,_0x39e121:0xe0,_0x2f66db:0x298},{maxBytes:_0x178fbd,sessionDir:_0x13bef7}=_0x509c04;if(!_0x264866[_0x28d431(_0x5d8037._0x201111,_0x5d8037._0x5a87a8,0x405,0x1a5)]||Buffer[_0x29d6a4(_0x5d8037._0x223790,_0x5d8037._0x134aba,0x47c,0x4bf)](_0x264866[_0x29d6a4(_0x5d8037._0x59175c,_0x5d8037._0x5ea57c,_0x5d8037._0x50646f,_0x5d8037._0x44da39)],_0x29d6a4(0x5ba,0x4d6,_0x5d8037._0x49740d,0x604))<=_0x178fbd)return _0x264866;const _0x104a52=Buffer[_0x28d431(0x22b,0x164,0x35b,0x1bc)](_0x264866[_0x28d431(0xe3,_0x5d8037._0x5a87a8,_0x5d8037._0xd514c1,0x226)],'utf8');if(!_0x13bef7){const _0x7de0a9=_0x264866['output'][_0x29d6a4(0x25d,_0x5d8037._0x10a2d5,_0x5d8037._0x254028,_0x5d8037._0x5c6273)](0x0,_0x178fbd);return{..._0x264866,'output':_0x7de0a9+(_0x29d6a4(0x536,0x4bb,_0x5d8037._0x33d16e,_0x5d8037._0x49c063)+_0x178fbd+_0x28d431(0x12f,0xaf,_0x5d8037._0x536e55,_0x5d8037._0x1452fd)+_0x104a52+_0x28d431(0x22,0x7d,0x211,0x122)),'meta':{..._0x264866['meta'],'truncated':!![],'originalBytes':_0x104a52,'transforms':[..._0x264866[_0x29d6a4(0x1c5,0x55b,0x5ae,0x3a7)][_0x28d431(0xdb,0x1d7,0xe4,_0x5d8037._0x5e2cb9)],_0x29d6a4(0x362,0x631,0x2e7,_0x5d8037._0x490918)]}};}function _0x29d6a4(_0x1b682f,_0xb9c3cb,_0x354bea,_0x57da80){return _0x47b891(_0x354bea,_0x57da80- -0x89,_0x354bea-0x157,_0x57da80-0xdb);}const _0x39afc1=_0x264866['toolName']+'_'+sanitizeFileName(_0x264866[_0x29d6a4(0x203,0x50f,0x473,_0x5d8037._0x2b5241)])+'.log',_0x6c25ae=_0x1d9a72['join'](_0x13bef7,_0x39afc1);function _0x28d431(_0xaaaf7c,_0x1a75b2,_0x5832f0,_0x38714b){return _0x47b891(_0xaaaf7c,_0x1a75b2- -0x3e4,_0x5832f0-0x1ea,_0x38714b-0x13d);}await _0x2c18c4(_0x13bef7,{'recursive':!![]}),await writeFile(_0x6c25ae,_0x264866['output'],'utf8');let _0x162a7b=_0x264866['output'][_0x28d431(_0x5d8037._0x34b765,-_0x5d8037._0x44cabc,0x5c,_0x5d8037._0x5068d2)](0x0,_0x178fbd);const _0x1fcb67=_0x162a7b[_0x28d431(0xc7,0x1b5,_0x5d8037._0x5ee4df,0x1f2)]('\x0a');_0x1fcb67>_0x178fbd*0.5&&(_0x162a7b=_0x162a7b[_0x29d6a4(_0x5d8037._0x5442d8,0x156,_0x5d8037._0x4b3316,0x318)](0x0,_0x1fcb67));const _0x1ed39c=['',_0x28d431(_0x5d8037._0x43d14e,0x189,0x1a7,_0x5d8037._0x581692),_0x28d431(-_0x5d8037._0x541328,_0x5d8037._0x32a63c,-0x103,0x1b4)+_0x178fbd+_0x29d6a4(0x619,0x687,0x4fb,_0x5d8037._0x1c6553)+_0x104a52+'\x20bytes).',_0x29d6a4(_0x5d8037._0x33db1b,_0x5d8037._0x1af469,_0x5d8037._0x237383,_0x5d8037._0x4721c3)+_0x6c25ae,_0x29d6a4(_0x5d8037._0x3765d8,_0x5d8037._0x175bdf,0x4d0,_0x5d8037._0x57d468),_0x28d431(0x185,0x236,_0x5d8037._0x313deb,0x1b0)][_0x28d431(0x178,_0x5d8037._0x5bf22d,_0x5d8037._0x1066fd,_0x5d8037._0x587612)]('\x0a');return{..._0x264866,'output':_0x162a7b+_0x1ed39c,'meta':{..._0x264866[_0x28d431(0x1a8,_0x5d8037._0x2724ab,-0x183,0xd1)],'truncated':!![],'originalBytes':_0x104a52,'transforms':[..._0x264866[_0x28d431(_0x5d8037._0x1a52e2,0x4c,0xcb,-0x181)][_0x29d6a4(_0x5d8037._0x409835,0x372,_0x5d8037._0x1e5371,0x532)],_0x28d431(-_0x5d8037._0x2662fd,_0x5d8037._0x39e121,_0x5d8037._0x2f66db,0x31)]}};}import{readFile as _0x31666b,stat as _0x5249bb}from'fs/promises';function createAnchoredFileError(_0x4863b7,_0x5fe8b8,_0x5140ee){return new ToolExecutionError(_0x5fe8b8,{'error':_0x4863b7,..._0x5140ee});}import{createHash}from'crypto';function sha256Bytes(_0xaea80f){const _0x51bfcc={_0xa70ffa:0x1c6,_0x59f54c:0x60,_0x2ed899:0xa2,_0x241693:0x43a,_0x49553b:0x287},_0x2f97f8={_0x5d0b8f:0x41c,_0x2b70:0xd9},_0x591732={_0x1fd28a:0x520,_0x5c9c86:0x1be,_0x4fb4af:0x9c};function _0x18c1fb(_0x3124da,_0x3f2a03,_0x49b80e,_0x1c70d3){return _0x47b891(_0x1c70d3,_0x3124da- -_0x591732._0x1fd28a,_0x49b80e-_0x591732._0x5c9c86,_0x1c70d3-_0x591732._0x4fb4af);}function _0x2a600f(_0x54f670,_0x3ac3db,_0x3b5beb,_0x2d6d7b){return _0xe18bb0(_0x54f670,_0x3b5beb-_0x2f97f8._0x5d0b8f,_0x3b5beb-0x4e,_0x2d6d7b-_0x2f97f8._0x2b70);}return createHash(_0x18c1fb(-0x31,-0x14d,_0x51bfcc._0xa70ffa,0x39))[_0x18c1fb(0x138,0xa,-_0x51bfcc._0x59f54c,-_0x51bfcc._0x2ed899)](_0xaea80f)[_0x2a600f(0x5ab,0x2c0,_0x51bfcc._0x241693,_0x51bfcc._0x49553b)]('hex');}function countLines(_0x552c42){const _0x482d4d={_0x261280:0x511,_0x528811:0x6d3,_0x342e21:0x594,_0x5e0371:0x535,_0x558bdc:0x443,_0x199aa5:0x165,_0x3c2ac9:0x14},_0x2d17eb={_0x4fbf58:0x342},_0x54de2b={_0x926e98:0x29};function _0x286722(_0x5a3691,_0x848ec9,_0x4c3d6f,_0x1fa4ad){return _0x47b891(_0x5a3691,_0x4c3d6f- -0x414,_0x4c3d6f-_0x54de2b._0x926e98,_0x1fa4ad-0x99);}const _0x4d2967=_0x552c42[_0x4c4748(_0x482d4d._0x261280,0x605,_0x482d4d._0x528811,_0x482d4d._0x342e21)](/\n$/,'');function _0x4c4748(_0x3d83f5,_0x25e102,_0x5770be,_0x47cd9b){return _0xe18bb0(_0x47cd9b,_0x25e102-_0x2d17eb._0x4fbf58,_0x5770be-0x35,_0x47cd9b-0x127);}return _0x4d2967[_0x4c4748(_0x482d4d._0x5e0371,0x4e9,_0x482d4d._0x558bdc,0x317)]===0x0?0x0:_0x4d2967[_0x286722(-_0x482d4d._0x199aa5,0xcd,_0x482d4d._0x3c2ac9,0x1e)]('\x0a')['length'];}function replaceFirstExact(_0x5a1efd,_0x248f7c,_0x41be65){const _0x7602a4={_0x52cacf:0x9a4,_0x450980:0x757,_0x2e7f53:0x7ba,_0x33744d:0x621,_0x3ea393:0x4c5,_0x5c2afe:0x5f5,_0x3a074c:0x557,_0x212710:0x50e,_0x13986e:0x976,_0x3734b8:0x6c7},_0x108468={_0x79e402:0x68a,_0x27fede:0x1c8},_0x19c9d5={_0x379af4:0x1b6,_0x58816d:0xe7},_0xd672b2=_0x5a1efd[_0x782a25(_0x7602a4._0x52cacf,0x85e,0x948,0x7ef)](_0x248f7c);if(_0xd672b2===-0x1)return void 0x0;const _0x5182b0=_0x5a1efd[_0x782a25(0x5d5,_0x7602a4._0x450980,0x557,0x464)](0x0,_0xd672b2)[_0x8e8de7(0x495,_0x7602a4._0x2e7f53,_0x7602a4._0x33744d,0x555)]('\x0a')['length'],_0x2750a9=countLines(_0x248f7c);function _0x782a25(_0x418de1,_0x373d55,_0x541b92,_0x247a9a){return _0x47b891(_0x418de1,_0x541b92-_0x19c9d5._0x379af4,_0x541b92-_0x19c9d5._0x58816d,_0x247a9a-0xdb);}const _0x597a25=countLines(_0x41be65);function _0x8e8de7(_0x4383f9,_0x3326a5,_0x3ad47f,_0x1e816c){return _0xe18bb0(_0x4383f9,_0x3ad47f-_0x108468._0x79e402,_0x3ad47f-_0x108468._0x27fede,_0x1e816c-0x9b);}return{'before':_0x5a1efd,'after':_0x5a1efd[_0x782a25(_0x7602a4._0x3ea393,_0x7602a4._0x5c2afe,_0x7602a4._0x3a074c,_0x7602a4._0x212710)](0x0,_0xd672b2)+_0x41be65+_0x5a1efd['slice'](_0xd672b2+_0x248f7c[_0x782a25(0x893,_0x7602a4._0x13986e,0x7ee,_0x7602a4._0x3734b8)]),'lineNumbers':{'oldStartLine':_0x5182b0,'oldEndLine':_0x5182b0+_0x2750a9-0x1,'newStartLine':_0x5182b0,'newEndLine':_0x5182b0+_0x597a25-0x1,'oldLineCount':_0x2750a9,'newLineCount':_0x597a25}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0xaf9085){const _0xb7b5b8={_0x1a6ff5:0x585,_0x45c62b:0x3a1,_0x32f366:0x4b1,_0x51ad9c:0x3e7},_0x661832={_0x4252a8:0x63,_0x59cecb:0x7b},_0x383ad3={_0x2bb46f:0xa7};function _0x122e34(_0x5c239a,_0x158608,_0x10a9b6,_0x22cd4d){return _0x47b891(_0x5c239a,_0x10a9b6- -0x40d,_0x10a9b6-0x176,_0x22cd4d-_0x383ad3._0x2bb46f);}function _0x5c3704(_0x6f8e71,_0x34f432,_0x4b4639,_0x43a2b3){return _0x47b891(_0x6f8e71,_0x4b4639- -_0x661832._0x4252a8,_0x4b4639-_0x661832._0x59cecb,_0x43a2b3-0xf1);}if(!Number[_0x5c3704(0x1f4,_0xb7b5b8._0x1a6ff5,_0xb7b5b8._0x45c62b,0x3ab)](_0xaf9085)||_0xaf9085<0x1)throw createAnchoredFileError(_0x5c3704(_0xb7b5b8._0x32f366,_0xb7b5b8._0x51ad9c,0x40d,0x234),'Line\x20numbers\x20must\x20be\x20positive\x20safe\x20integers;\x20got\x20'+String(_0xaf9085)+'.');}function rangeLines(_0x40a3a8,_0x5ec194){const _0x2ea8fa={_0x16d7d7:0x28,_0xce7f3b:0x167,_0x4dbd37:0x197},_0x2834c3={_0x484244:0x3e4,_0x154ebc:0x1a9},_0x5dcfe5=[];for(let _0x56dddf=_0x40a3a8;_0x56dddf<=_0x5ec194;_0x56dddf+=0x1){_0x5dcfe5[_0x10df1b(-_0x2ea8fa._0x16d7d7,_0x2ea8fa._0xce7f3b,-0xba,_0x2ea8fa._0x4dbd37)](_0x56dddf);}function _0x10df1b(_0x30a6f4,_0x4159cc,_0x3e8e9e,_0x1f2e46){return _0x47b891(_0x4159cc,_0x30a6f4- -_0x2834c3._0x484244,_0x3e8e9e-_0x2834c3._0x154ebc,_0x1f2e46-0x1e8);}return _0x5dcfe5;}function normalizeContent(_0x4354ed){const _0x321739={_0x434789:0x88,_0x4cc135:0x39,_0x56ff0d:0xfc};function _0x1c32eb(_0x45ebac,_0x18764a,_0x469c4c,_0x1e561b){return _0x47b891(_0x469c4c,_0x45ebac-_0x321739._0x434789,_0x469c4c-_0x321739._0x4cc135,_0x1e561b-_0x321739._0x56ff0d);}return _0x4354ed[_0x1c32eb(0x7dc,0x86d,0x7ef,0x601)](/\r\n/g,'\x0a')['split']('\x0a');}function planOperations(_0x280356,_0x3a21ab){const _0x110660={_0xfc6cac:0x779,_0x33b437:0x7a2,_0x5b8b22:0x6d5,_0x37c977:0x89b,_0x2da652:0x88,_0x3fdaa9:0x76b,_0x515d34:0x465,_0x4dff75:0x47c,_0x47be7b:0x672,_0x144b67:0x67a,_0x3105d2:0x29d,_0x97a766:0x4bd,_0x242630:0x34b},_0x1a7de0={_0x6d8fe9:0x229,_0x44b981:0x1ae,_0x18b79b:0x1f9,_0x53e6fe:0x1fd,_0x3bcd1f:0x3a3,_0x365ebc:0x262,_0x473264:0xde,_0x1b6991:0x5c,_0x6ceca:0xf5,_0x51e202:0xf8,_0x599aa9:0x3c,_0x23b309:0x19b,_0x26c8dc:0x2bd,_0x36e26c:0x1e4,_0x54987b:0xb2,_0x495a0a:0xf0,_0x4ec370:0x4a,_0x2d9001:0x57,_0x587065:0x24b,_0x2fb9f3:0xd2,_0x3c81b3:0x221,_0x28ac62:0x245,_0x5a1bd5:0x25a,_0x530c53:0x45a,_0x4a6235:0x8,_0x12bb57:0x93,_0x15c959:0x5c,_0x36a54e:0x107,_0x76f5fa:0x207,_0x4e98b5:0x42b,_0x533b30:0xd9,_0x21e029:0x1f7,_0xb0dc9:0xf0,_0x2631b5:0x8,_0x4dfa8c:0x1f,_0x2450d2:0x331,_0x300e91:0x3a6,_0x18a7e8:0x1af,_0x2a7cea:0x295,_0x34a2fe:0x1ba,_0x599547:0x35e,_0x3d7263:0x2b3,_0x20a70e:0x3e3,_0x1ee7d3:0x245,_0x54d46e:0x13f,_0x3d1acc:0x1b7,_0x33de9c:0x23d,_0x5d7bb7:0x1bf,_0x26e08e:0xd8,_0x2834b3:0xee,_0x1af507:0x317,_0xad2f43:0x117,_0x4045e0:0x136,_0x17e43e:0x262,_0x1c62c9:0x20f,_0xe26a15:0x3a6,_0x35bc7d:0x20d,_0x270e98:0x236,_0x21aca2:0x195,_0x46f59a:0xb9,_0x2dafbf:0x262,_0xe6d086:0x43a,_0x405714:0x171,_0x505d4f:0x145,_0x28155c:0x37,_0x1478e4:0x23d,_0xe217c0:0x138,_0x5db509:0x39d,_0xf4243d:0xd9,_0x765e77:0x10f,_0x2d009a:0x89,_0x2c58de:0x313,_0x43ee36:0x204,_0x93464:0x101,_0x3b45cc:0x34,_0x368182:0x191,_0x431e91:0x146,_0x7a73fc:0xd4,_0x3821b1:0x219,_0x417641:0x237,_0x5dd710:0x53,_0x4fd716:0x245,_0x2dc510:0x216,_0x236c40:0x39,_0x146c26:0x16e,_0x4e4685:0x88,_0x435499:0xaf,_0xd06b32:0xdc,_0xdc389b:0x43,_0x389725:0xe5,_0x1304ab:0x13,_0x4e290b:0xe8,_0x2c24f6:0x20c,_0xf24692:0x53,_0x2ffc3b:0x110,_0x5a3c71:0xcf,_0x1e24d4:0x2dc,_0xe4d062:0x106,_0x13f4d6:0x238,_0x1f38d3:0xf8,_0x5f5096:0x1a1,_0x222113:0xbe,_0x557a05:0xdc,_0x33477e:0x12b,_0x13f420:0xab,_0x5d6af7:0x112,_0x395082:0x26e,_0x291776:0x157,_0x30b4de:0xc5,_0x4fba0c:0x1d4,_0x48c05a:0xee,_0x19d371:0x41,_0x439d57:0x1f4,_0x41b18d:0x82,_0x3dce29:0x156,_0x312a0e:0x179,_0x24fc09:0x2f0,_0x1aedbc:0x246,_0x2b7e1f:0xd4,_0x32e184:0xcd,_0x5b3fa8:0xb4,_0x4e6224:0xed,_0x5228a6:0x7b,_0x3530a1:0x20c,_0x407198:0x1e0,_0x2587cb:0xb6,_0xcc4e68:0x149,_0x13615b:0xe4,_0x14788b:0xfc,_0x56945d:0x2c,_0x13c030:0x48,_0x284e58:0x21,_0x1a0dfb:0x53,_0xfb03c2:0x49,_0xffe850:0x69,_0x5e37cf:0xb3,_0xeb9433:0x22d,_0x22f84e:0x23f},_0x281544={_0x47827c:0x171,_0x43f4c0:0x58},_0x109183={_0x44ca13:0x141,_0x4df257:0xeb,_0x158038:0x128};function _0x187f94(_0x20a7c6,_0x29f18b,_0x4eb08e,_0x345e3a){return _0x47b891(_0x345e3a,_0x4eb08e-_0x109183._0x44ca13,_0x4eb08e-_0x109183._0x4df257,_0x345e3a-_0x109183._0x158038);}if(_0x3a21ab[_0x187f94(0x686,0x89e,_0x110660._0xfc6cac,0x96b)]===0x0)throw createAnchoredFileError('invalid_range',_0x187f94(_0x110660._0x33b437,0x7b4,_0x110660._0x5b8b22,0x5fa));if(_0x3a21ab[_0x187f94(0x873,_0x110660._0x37c977,_0x110660._0xfc6cac,0x8ae)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x1dbbe9(0x258,0x86,_0x110660._0x2da652,0x73),_0x187f94(0x66d,0x8b4,0x86b,_0x110660._0x3fdaa9)+MAX_OPERATIONS+_0x187f94(0x511,0x711,0x65b,_0x110660._0x515d34));if(_0x280356[_0x187f94(0x468,0x4f0,0x555,_0x110660._0x4dff75)][_0x187f94(_0x110660._0x47be7b,0x76b,0x779,_0x110660._0x144b67)]===0x0)throw createAnchoredFileError('invalid_range',_0x1dbbe9(0x2d4,_0x110660._0x3105d2,_0x110660._0x97a766,_0x110660._0x242630));function _0x1dbbe9(_0x1be9fe,_0x5002cf,_0x1a6122,_0x12bd18){return _0xe18bb0(_0x5002cf,_0x12bd18-0x94,_0x1a6122-_0x281544._0x47827c,_0x12bd18-_0x281544._0x43f4c0);}return _0x3a21ab[_0x1dbbe9(0x288,0x37b,0x2fb,0x204)](_0x2b151e=>{const _0xe0ffb3={_0x426f14:0x116,_0xb94b0b:0x178},_0x2c2841={_0x3b3ef9:0x1ae,_0x3e556b:0x600};function _0x4d882b(_0x540c14,_0x3736ab,_0x4a6813,_0x233f39){return _0x187f94(_0x540c14-_0x2c2841._0x3b3ef9,_0x3736ab-0x3,_0x540c14- -_0x2c2841._0x3e556b,_0x233f39);}function _0xf4d422(_0x365292,_0x4ab330,_0x564a84,_0x2b2298){return _0x187f94(_0x365292-_0xe0ffb3._0x426f14,_0x4ab330-_0xe0ffb3._0xb94b0b,_0x365292- -0x608,_0x2b2298);}switch(_0x2b151e[_0x4d882b(0x20f,_0x1a7de0._0x6d8fe9,0x3dc,_0x1a7de0._0x44b981)]){case _0x4d882b(0x295,0x36a,_0x1a7de0._0x18b79b,_0x1a7de0._0x53e6fe):{requireValidAnchorLine(_0x2b151e[_0xf4d422(0x23d,_0x1a7de0._0x3bcd1f,0x179,0x67)]),requireValidAnchorLine(_0x2b151e['endLine']);if(_0x2b151e['startLine']>_0x2b151e[_0x4d882b(_0x1a7de0._0x365ebc,0x3dd,0x3f1,0x339)])throw createAnchoredFileError(_0x4d882b(-0x4f,-_0x1a7de0._0x473264,-_0x1a7de0._0x1b6991,-_0x1a7de0._0x6ceca),_0xf4d422(_0x1a7de0._0x51e202,0x180,-_0x1a7de0._0x599aa9,_0x1a7de0._0x23b309));if(typeof _0x2b151e[_0xf4d422(0xc7,_0x1a7de0._0x26c8dc,_0x1a7de0._0x36e26c,-_0x1a7de0._0x54987b)]!==_0xf4d422(_0x1a7de0._0x495a0a,-0x2c,_0x1a7de0._0x4ec370,0x157))throw createAnchoredFileError(_0xf4d422(-_0x1a7de0._0x2d9001,-_0x1a7de0._0x587065,0x57,0x15a),_0xf4d422(-_0x1a7de0._0x2fb9f3,-_0x1a7de0._0x3c81b3,0xae,-_0x1a7de0._0x28ac62));if(_0x2b151e[_0xf4d422(_0x1a7de0._0x5a1bd5,0x257,_0x1a7de0._0x530c53,0x43a)]>_0x280356[_0x4d882b(-0xab,-0x193,-0x290,_0x1a7de0._0x4a6235)][_0x4d882b(0x179,-_0x1a7de0._0x12bb57,0x2f6,0x2ab)])throw createAnchoredFileError('invalid_range',_0xf4d422(0x40,_0x1a7de0._0x15c959,_0x1a7de0._0x36a54e,-0xd6)+_0x2b151e['startLine']+',\x20'+_0x2b151e[_0x4d882b(0x262,_0x1a7de0._0x76f5fa,_0x1a7de0._0x4e98b5,0x2fc)]+_0xf4d422(-_0x1a7de0._0x533b30,-_0x1a7de0._0x21e029,-0x22c,-_0x1a7de0._0xb0dc9)+_0x280356[_0x4d882b(-0xab,-_0x1a7de0._0x2631b5,_0x1a7de0._0x4dfa8c,-0x183)]['length']+_0xf4d422(0x244,0x36b,_0x1a7de0._0x2450d2,_0x1a7de0._0x300e91));const _0x30326c=normalizeContent(_0x2b151e[_0x4d882b(0xcf,_0x1a7de0._0x18a7e8,-0x110,0x19f)]);return{'kind':'replace','canonical':{'operation':_0x4d882b(_0x1a7de0._0x2a7cea,0x268,0x248,0x180),'startLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x28ac62,_0x1a7de0._0x34a2fe,_0x1a7de0._0x599547,_0x1a7de0._0x3d7263)],'endLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x365ebc,0x405,0x1ae,_0x1a7de0._0x20a70e)],'content':_0x30326c['join']('\x0a')},'spliceIndex':_0x2b151e[_0x4d882b(_0x1a7de0._0x1ee7d3,0x27c,0x11f,0x23b)]-0x1,'deleteCount':_0x2b151e[_0xf4d422(0x25a,0x3d4,_0x1a7de0._0x54d46e,_0x1a7de0._0x3d1acc)]-_0x2b151e[_0xf4d422(_0x1a7de0._0x33de9c,_0x1a7de0._0x5d7bb7,0xc5,_0x1a7de0._0x26e08e)]+0x1,'rows':_0x30326c,'sourceStart':_0x2b151e[_0x4d882b(0x245,_0x1a7de0._0x2834b3,0x162,0x3c5)],'sourceEnd':_0x2b151e['endLine'],'requiredLines':rangeLines(_0x2b151e[_0xf4d422(0x23d,_0x1a7de0._0x1af507,0x106,0x2ab)],_0x2b151e['endLine'])};}case _0xf4d422(_0x1a7de0._0xad2f43,0x31b,0x2c9,_0x1a7de0._0x4045e0):{requireValidAnchorLine(_0x2b151e['startLine']),requireValidAnchorLine(_0x2b151e[_0x4d882b(_0x1a7de0._0x17e43e,0x39d,_0x1a7de0._0x1c62c9,0x231)]);if(_0x2b151e['startLine']>_0x2b151e[_0x4d882b(0x262,0x2b3,0x198,_0x1a7de0._0xe26a15)])throw createAnchoredFileError(_0x4d882b(-0x4f,-_0x1a7de0._0x35bc7d,-_0x1a7de0._0x270e98,0x13),_0xf4d422(0xc5,_0x1a7de0._0x21aca2,-_0x1a7de0._0x46f59a,0x21));if(_0x2b151e[_0x4d882b(_0x1a7de0._0x2dafbf,_0x1a7de0._0xe6d086,0x153,0xc0)]>_0x280356['lines'][_0xf4d422(_0x1a7de0._0x405714,-0x41,0x17a,-0x98)])throw createAnchoredFileError('invalid_range',_0x4d882b(_0x1a7de0._0x505d4f,0x17d,-0x13,-_0x1a7de0._0x28155c)+_0x2b151e[_0xf4d422(_0x1a7de0._0x1478e4,_0x1a7de0._0xe217c0,_0x1a7de0._0x5db509,0x67)]+',\x20'+_0x2b151e[_0x4d882b(_0x1a7de0._0x2dafbf,0x3ad,0x253,0x1ad)]+_0xf4d422(-_0x1a7de0._0xf4243d,0x7f,_0x1a7de0._0x765e77,0xf5)+_0x280356['lines'][_0x4d882b(0x179,_0x1a7de0._0x2d009a,0x25f,_0x1a7de0._0x2c58de)]+_0xf4d422(0x244,_0x1a7de0._0x43ee36,_0x1a7de0._0x93464,0xe7));return{'kind':_0xf4d422(0x117,0xf8,-_0x1a7de0._0x3b45cc,0xbd),'canonical':{'operation':_0xf4d422(0x117,_0x1a7de0._0x368182,-0xb6,_0x1a7de0._0x431e91),'startLine':_0x2b151e[_0xf4d422(_0x1a7de0._0x33de9c,0x1c2,0x2ab,_0x1a7de0._0x7a73fc)],'endLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x17e43e,0x372,_0x1a7de0._0x3821b1,_0x1a7de0._0x417641)]},'spliceIndex':_0x2b151e[_0xf4d422(0x23d,0x90,0x2f,_0x1a7de0._0x5dd710)]-0x1,'deleteCount':_0x2b151e['endLine']-_0x2b151e[_0x4d882b(_0x1a7de0._0x4fd716,_0x1a7de0._0x2dc510,0x2ab,_0x1a7de0._0x5db509)]+0x1,'rows':[],'sourceStart':_0x2b151e[_0xf4d422(_0x1a7de0._0x1478e4,_0x1a7de0._0x236c40,_0x1a7de0._0x146c26,0xe1)],'sourceEnd':_0x2b151e[_0xf4d422(0x25a,0x2d0,0x23b,0x6e)],'requiredLines':rangeLines(_0x2b151e[_0x4d882b(_0x1a7de0._0x4fd716,_0x1a7de0._0x4e4685,_0x1a7de0._0x435499,0x44f)],_0x2b151e[_0xf4d422(0x25a,0x315,0x12a,0x14f)])};}case _0xf4d422(_0x1a7de0._0xd06b32,-0x11b,0x36,-_0x1a7de0._0xdc389b):{requireValidAnchorLine(_0x2b151e['line']);if(_0x2b151e[_0xf4d422(_0x1a7de0._0x389725,_0x1a7de0._0x1304ab,-_0x1a7de0._0x4e290b,-0x110)]!==_0xf4d422(_0x1a7de0._0x2c24f6,0x216,0x3f1,_0x1a7de0._0xf24692)&&_0x2b151e['position']!==_0x4d882b(_0x1a7de0._0x2ffc3b,-0x55,-0xe0,_0x1a7de0._0x3d7263))throw createAnchoredFileError('invalid_range','insert\x20position\x20must\x20be\x20\x27before\x27\x20or\x20\x27after\x27.');if(typeof _0x2b151e[_0x4d882b(_0x1a7de0._0x5a3c71,_0x1a7de0._0x1e24d4,-_0x1a7de0._0xe4d062,_0x1a7de0._0x13f4d6)]!==_0x4d882b(_0x1a7de0._0x1f38d3,-0x2,0x153,-0x38))throw createAnchoredFileError('invalid_range',_0xf4d422(0x107,0x2d6,0x210,_0x1a7de0._0x5f5096));if(_0x2b151e[_0xf4d422(-_0x1a7de0._0x222113,-_0x1a7de0._0x557a05,_0x1a7de0._0x33477e,-0x16a)]>_0x280356[_0x4d882b(-_0x1a7de0._0x13f420,-_0x1a7de0._0x5d6af7,-0x1b5,-_0x1a7de0._0x395082)]['length'])throw createAnchoredFileError(_0xf4d422(-0x57,-0x29,_0x1a7de0._0x291776,-0x191),_0x4d882b(_0x1a7de0._0x30b4de,_0x1a7de0._0x4fba0c,_0x1a7de0._0x48c05a,0xdb)+_0x2b151e['line']+_0x4d882b(0x168,_0x1a7de0._0x19d371,_0x1a7de0._0x439d57,-_0x1a7de0._0x41b18d)+_0x280356[_0x4d882b(-0xab,0xc5,0x10e,_0x1a7de0._0x3dce29)][_0x4d882b(_0x1a7de0._0x312a0e,0x30,0x83,0x2e1)]+_0xf4d422(0x244,_0x1a7de0._0x24fc09,_0x1a7de0._0x1aedbc,0x3e6));const _0x4971b0=normalizeContent(_0x2b151e[_0xf4d422(0xc7,_0x1a7de0._0x2b7e1f,-_0x1a7de0._0x32e184,_0x1a7de0._0x5b3fa8)]),_0x3269fe=_0x2b151e[_0x4d882b(_0x1a7de0._0x4e6224,-_0x1a7de0._0x5228a6,0x197,_0x1a7de0._0x5f5096)]===_0xf4d422(_0x1a7de0._0x3530a1,0x20b,_0x1a7de0._0x407198,0x2eb)?_0x2b151e[_0xf4d422(-_0x1a7de0._0x222113,-0x17a,-0x237,-0x2a7)]-0x1:_0x2b151e[_0x4d882b(-_0x1a7de0._0x2587cb,0x142,-_0x1a7de0._0xcc4e68,0x7d)];return{'kind':'insert','canonical':{'operation':_0x4d882b(_0x1a7de0._0x13615b,-0x69,0x150,0xa3),'position':_0x2b151e[_0xf4d422(0xe5,0x242,-_0x1a7de0._0x14788b,0x89)],'line':_0x2b151e[_0x4d882b(-_0x1a7de0._0x2587cb,-0x1fb,-0x91,-0x2a2)],'content':_0x4971b0[_0x4d882b(_0x1a7de0._0x5b3fa8,-_0x1a7de0._0x56945d,-_0x1a7de0._0x13c030,-_0x1a7de0._0x284e58)]('\x0a')},'spliceIndex':_0x3269fe,'deleteCount':0x0,'rows':_0x4971b0,'gap':_0x3269fe,'requiredLines':[_0x2b151e[_0xf4d422(-0xbe,-_0x1a7de0._0x1a0dfb,0x39,-_0x1a7de0._0xfb03c2)]]};}default:{const _0x4c1597=_0x2b151e;throw createAnchoredFileError('invalid_range',_0x4d882b(-_0x1a7de0._0xffe850,_0x1a7de0._0x5e37cf,-0x1dd,-_0x1a7de0._0xeb9433)+String(_0x4c1597[_0x4d882b(0x20f,_0x1a7de0._0x22f84e,0x128,0x153)])+'\x27.');}}});}function assertNoOverlaps(_0x52299b){const _0x46a55c={_0x59e592:0x3f2,_0x1a4cb8:0x22a,_0x38f8ca:0x389,_0x39b119:0x320,_0x584c82:0x1ea,_0x50dc03:0x461,_0x3505f3:0x272,_0x45477e:0x14a,_0x38864a:0x302,_0x4d1864:0x21f,_0xeffbd5:0x310,_0x2fcda4:0x229,_0x5bee50:0x3,_0x30f4c9:0x1d8,_0x22edc1:0x24b,_0x43340e:0x170,_0x28da6a:0x311,_0x406805:0xd4,_0x326241:0x266,_0x5764c5:0x2ce,_0x54dac7:0x1b2,_0x2b7be8:0x4b8,_0x1681ca:0x203,_0x721b84:0x381,_0x272bb1:0x395,_0x18efd7:0x229,_0x540e26:0x309,_0x18732c:0xc7,_0x2b9709:0xad,_0x5b6370:0xb6,_0x3494d6:0x268},_0x1bdc59={_0x5c37c7:0xcb,_0x272682:0x182},_0x391512={_0x170b30:0x4c8,_0x4be169:0xcb},_0x8f96b7=_0x52299b[_0x54cbd8(_0x46a55c._0x59e592,0x32f,0x478,0x324)](_0x44c69f=>_0x44c69f[_0x54cbd8(0x1b9,0x460,0x37c,0x351)]==='replace'||_0x44c69f[_0x28b598(0x24f,0x337,0x2d6,0xbb)]===_0x28b598(0x116,-0x13,-0x25,0x28f));function _0x28b598(_0x4dd2ee,_0x2647d8,_0x8bbb7,_0x1cddbe){return _0x47b891(_0x1cddbe,_0x4dd2ee- -_0x391512._0x170b30,_0x8bbb7-0x8f,_0x1cddbe-_0x391512._0x4be169);}const _0x5a7ef1=_0x52299b[_0x28b598(0x222,_0x46a55c._0x1a4cb8,0x3cb,_0x46a55c._0x38f8ca)](_0x1b9c07=>_0x1b9c07[_0x54cbd8(0x231,0x180,0x2ab,0x351)]===_0x54cbd8(0x2ad,0x4,0x2cd,0x1dd));for(let _0x563d4a=0x0;_0x563d4a<_0x8f96b7[_0x28b598(0x170,0x196,0xe0,_0x46a55c._0x39b119)];_0x563d4a+=0x1){for(let _0x447c64=_0x563d4a+0x1;_0x447c64<_0x8f96b7[_0x54cbd8(_0x46a55c._0x584c82,0xc2,_0x46a55c._0x50dc03,_0x46a55c._0x3505f3)];_0x447c64+=0x1){const _0x4adb2e=_0x8f96b7[_0x563d4a],_0x45c740=_0x8f96b7[_0x447c64];if(Math[_0x28b598(-_0x46a55c._0x45477e,-0x1fd,-0x226,-0xe)](_0x4adb2e['sourceStart'],_0x45c740[_0x54cbd8(_0x46a55c._0x38864a,_0x46a55c._0x4d1864,_0x46a55c._0xeffbd5,_0x46a55c._0x2fcda4)])<=Math['min'](_0x4adb2e[_0x54cbd8(-_0x46a55c._0x5bee50,0x1b1,0x4c,0x1c9)],_0x45c740['sourceEnd']))throw createAnchoredFileError(_0x54cbd8(0x26f,_0x46a55c._0x30f4c9,_0x46a55c._0x22edc1,0x29d),'Anchored\x20replace/delete\x20source\x20ranges\x20overlap.');}}function _0x54cbd8(_0x34ce0d,_0x5f3854,_0x5c9951,_0x31e2e6){return _0xe18bb0(_0x5c9951,_0x31e2e6-_0x1bdc59._0x5c37c7,_0x5c9951-_0x1bdc59._0x272682,_0x31e2e6-0x73);}for(let _0x2b5f36=0x0;_0x2b5f36<_0x5a7ef1[_0x28b598(_0x46a55c._0x43340e,_0x46a55c._0x28da6a,_0x46a55c._0x406805,0x299)];_0x2b5f36+=0x1){for(let _0xe9f82e=_0x2b5f36+0x1;_0xe9f82e<_0x5a7ef1['length'];_0xe9f82e+=0x1){if(_0x5a7ef1[_0x2b5f36][_0x28b598(0x27f,_0x46a55c._0x326241,_0x46a55c._0x5764c5,_0x46a55c._0x54dac7)]===_0x5a7ef1[_0xe9f82e][_0x54cbd8(_0x46a55c._0x2b7be8,0x22e,0x53f,0x381)])throw createAnchoredFileError('overlapping_operations','Multiple\x20insertions\x20target\x20the\x20same\x20line\x20gap.');}}for(const _0xc42773 of _0x5a7ef1){for(const _0x2a9fb8 of _0x8f96b7){if(_0xc42773[_0x54cbd8(0x3f9,_0x46a55c._0x1681ca,0x476,_0x46a55c._0x721b84)]>=_0x2a9fb8[_0x54cbd8(_0x46a55c._0x272bb1,0x1c8,0x37f,_0x46a55c._0x18efd7)]&&_0xc42773[_0x54cbd8(0x262,_0x46a55c._0x540e26,0x1ac,0x381)]<=_0x2a9fb8[_0x28b598(_0x46a55c._0x18732c,0x2b1,-_0x46a55c._0x2b9709,-_0x46a55c._0x5b6370)]-0x1)throw createAnchoredFileError('overlapping_operations',_0x28b598(0x1fb,0x226,_0x46a55c._0x3494d6,0x2d1));}}}function assertLinesObserved(_0x531901,_0x41f84a){const _0x57d6ab={_0x31614a:0x31f,_0xc7e8b1:0xcb,_0xc2be9e:0x150,_0x1ef3ea:0x1c6},_0x462c71={_0x15e67a:0x47c,_0x18f56f:0x63},_0x260862={_0x163f9d:0x9,_0x4f5c53:0x161},_0x506c46=new Set();for(const _0x38b531 of _0x531901){for(const _0x53697b of _0x38b531['requiredLines']){_0x506c46[_0x15dd53(_0x57d6ab._0x31614a,_0x57d6ab._0xc7e8b1,0x237,0x2a2)](_0x53697b);}}function _0x1c36b7(_0x22ea55,_0x3f7719,_0x1d9efb,_0x3fd303){return _0xe18bb0(_0x3fd303,_0x22ea55-_0x260862._0x163f9d,_0x1d9efb-0x2a,_0x3fd303-_0x260862._0x4f5c53);}const _0x5ce162=[..._0x506c46][_0x1c36b7(_0x57d6ab._0xc2be9e,_0x57d6ab._0x1ef3ea,0xc5,-0x95)]((_0x5e1284,_0x1f1448)=>_0x5e1284-_0x1f1448);function _0x15dd53(_0x3cfd8d,_0x58ebd2,_0x114a83,_0x3c6b4d){return _0x47b891(_0x114a83,_0x3c6b4d- -_0x462c71._0x15e67a,_0x114a83-_0x462c71._0x18f56f,_0x3c6b4d-0x17d);}for(const _0x5c41aa of _0x5ce162){if(!_0x41f84a[_0x1c36b7(0x276,0x419,0x1df,0x413)](_0x5c41aa))throw createAnchoredFileError(_0x15dd53(0x19a,0x23d,0x420,0x225),'Line\x20'+_0x5c41aa+'\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20it\x20can\x20be\x20used\x20as\x20an\x20edit\x20anchor.',{'requiredLines':_0x5ce162});}return _0x5ce162;}function applyOperations(_0x4e099a,_0x248eee){const _0x4097cd={_0x4c358d:0x362,_0xdfaee3:0x427,_0x596e14:0x333,_0x1a7380:0x33b,_0x256a5d:0x1fd,_0x4089f8:0x3bf,_0x50f577:0x36a,_0x3edc10:0x209,_0x2cd6cc:0x26f,_0x226b41:0x59b,_0x4a588f:0x539,_0x373b43:0x136,_0x178e76:0x22b,_0x9b7c73:0x41b,_0x272f1e:0x436,_0x36860a:0x407,_0xbbd28b:0x569,_0x463187:0x3b4,_0x18199a:0x5fa,_0xd86d47:0x434,_0x2083c1:0x448},_0x164514={_0x94a235:0x1f4,_0x54191e:0x3e},_0x4f024c={_0x27120d:0x61b,_0x423307:0x4b9,_0x47200c:0x61b,_0x1d7405:0x558,_0x4b6183:0x734,_0x327382:0x30e,_0x5559da:0x581,_0x361a1e:0x5dd,_0xa42599:0x739,_0x57c0f0:0x684,_0x52bf66:0x89f,_0x24ed82:0x767,_0x2f9a77:0x589,_0x438e9c:0x6e4},_0x2ef18e={_0x2ec59b:0x182},_0xe966b2={_0x435d2b:0x1b2,_0x557ef1:0x29},_0x2d6227={_0x5f198d:0x2d2,_0x4d83c6:0x68,_0x4e49b2:0x58},_0x422a50=[..._0x4e099a[_0x1d2998(_0x4097cd._0x4c358d,0x274,_0x4097cd._0xdfaee3,0x255)]];function _0x1d2998(_0x5269f7,_0x1af6a1,_0x3e3601,_0x32e76e){return _0xe18bb0(_0x1af6a1,_0x32e76e-_0x2d6227._0x5f198d,_0x3e3601-_0x2d6227._0x4d83c6,_0x32e76e-_0x2d6227._0x4e49b2);}const _0x2ecb1b=[..._0x248eee][_0x301a5c(0x1ca,_0x4097cd._0x596e14,_0x4097cd._0x1a7380,0x501)]((_0x17a3af,_0x4ccfca)=>{if(_0x17a3af[_0x292e12(_0x4f024c._0x27120d,_0x4f024c._0x423307,0x680,0x7cb)]!==_0x4ccfca[_0x292e12(_0x4f024c._0x47200c,_0x4f024c._0x1d7405,_0x4f024c._0x4b6183,0x476)])return _0x4ccfca[_0x19ff07(0x49f,0x43a,_0x4f024c._0x327382,0x3f4)]-_0x17a3af['spliceIndex'];const _0x2a0d14=_0x17a3af[_0x19ff07(_0x4f024c._0x5559da,_0x4f024c._0x361a1e,0x503,_0x4f024c._0xa42599)]===_0x292e12(0x589,_0x4f024c._0x57c0f0,0x578,0x41b);function _0x19ff07(_0x191d61,_0x52e052,_0xde3f7c,_0xa0324e){return _0x1d2998(_0x191d61-0x60,_0xde3f7c,_0xde3f7c-_0xe966b2._0x435d2b,_0x191d61-_0xe966b2._0x557ef1);}const _0x5e51c1=_0x4ccfca[_0x292e12(0x6fd,0x62f,_0x4f024c._0x52bf66,_0x4f024c._0x24ed82)]===_0x292e12(_0x4f024c._0x2f9a77,_0x4f024c._0x438e9c,0x5ae,0x45d);if(_0x2a0d14!==_0x5e51c1)return _0x2a0d14?0x1:-0x1;function _0x292e12(_0x440021,_0x1b2d41,_0x2198b3,_0xf4c617){return _0x1d2998(_0x440021-0x39,_0xf4c617,_0x2198b3-_0x2ef18e._0x2ec59b,_0x440021-0x1a5);}return 0x0;});for(const _0x30b8f2 of _0x2ecb1b){_0x422a50[_0x301a5c(_0x4097cd._0x256a5d,_0x4097cd._0x4089f8,_0x4097cd._0x50f577,_0x4097cd._0x3edc10)](_0x30b8f2[_0x301a5c(_0x4097cd._0x2cd6cc,0x2c7,0x398,_0x4097cd._0x226b41)],_0x30b8f2[_0x1d2998(0x3ae,0x25f,_0x4097cd._0x4a588f,0x3aa)],..._0x30b8f2[_0x1d2998(_0x4097cd._0x373b43,_0x4097cd._0x178e76,_0x4097cd._0x9b7c73,0x280)]);}if(_0x422a50[_0x301a5c(0x419,_0x4097cd._0x272f1e,0x39b,0x52e)]===0x0)return'';function _0x301a5c(_0x4effab,_0xa2951b,_0x3b6ff7,_0x234f82){return _0xe18bb0(_0x234f82,_0x3b6ff7-_0x164514._0x94a235,_0x3b6ff7-_0x164514._0x54191e,_0x234f82-0xf8);}const _0x23746f=_0x422a50[_0x1d2998(_0x4097cd._0x36860a,_0x4097cd._0xbbd28b,0x32d,_0x4097cd._0x463187)]('\x0a');return _0x4e099a[_0x301a5c(_0x4097cd._0x18199a,_0x4097cd._0xd86d47,_0x4097cd._0x2083c1,0x24f)]?_0x23746f+'\x0a':_0x23746f;}function operationRowDelta(_0x1411a5){const _0x78dbd5={_0xe18650:0x721,_0x507e84:0x654,_0x119e47:0x915};function _0xd3d148(_0x14b56f,_0x2826bd,_0x4589ea,_0xbed679){return _0x47b891(_0x14b56f,_0x2826bd-0x1b8,_0x4589ea-0x5c,_0xbed679-0x88);}return _0x1411a5['rows']['length']-_0x1411a5[_0xd3d148(0x70e,_0x78dbd5._0xe18650,_0x78dbd5._0x507e84,_0x78dbd5._0x119e47)];}function finalFileOrder(_0x487148){const _0x5f54a6={_0x53b449:0x163,_0xa89205:0x4f3,_0x362f72:0x2ec},_0x1976dc={_0x9a128d:0x246,_0x1b5aee:0x418,_0x31bfc7:0x4be,_0x2531e3:0x246,_0x36e31f:0x108,_0x138a79:0x5b7,_0x307c78:0x49d,_0x2f2ad5:0x3c7,_0xc31768:0x1b4,_0xf9b224:0x301},_0x4161a7={_0x4837e1:0x59,_0x242aa3:0xc0},_0x21fee9={_0x49c2c3:0x2ec,_0x10328f:0x6a};function _0x3a4cbe(_0x8b17c2,_0x1f039a,_0x1bca58,_0x17339c){return _0x47b891(_0x17339c,_0x1bca58- -_0x21fee9._0x49c2c3,_0x1bca58-_0x21fee9._0x10328f,_0x17339c-0x7);}return[..._0x487148][_0x3a4cbe(_0x5f54a6._0x53b449,_0x5f54a6._0xa89205,_0x5f54a6._0x362f72,0x343)]((_0xf9880b,_0x381ca9)=>{if(_0xf9880b[_0x2e4e8f(_0x1976dc._0x9a128d,0x25a,_0x1976dc._0x1b5aee,0x137)]!==_0x381ca9[_0x4ce5ef(_0x1976dc._0x31bfc7,0x19a,0x2e5,0x28b)])return _0xf9880b['spliceIndex']-_0x381ca9[_0x2e4e8f(_0x1976dc._0x2531e3,_0x1976dc._0x36e31f,0x16e,0x1f1)];const _0xfe3e80=_0xf9880b[_0x4ce5ef(_0x1976dc._0x138a79,_0x1976dc._0x307c78,0x3c7,0x2b4)]===_0x2e4e8f(0x1b4,0x380,-0x1e,0x220);function _0x4ce5ef(_0x1c8180,_0x28f8de,_0x3cf7ee,_0x1f5848){return _0x3a4cbe(_0x1c8180-_0x4161a7._0x4837e1,_0x28f8de-_0x4161a7._0x242aa3,_0x3cf7ee- -0x64,_0x28f8de);}const _0x4e827a=_0x381ca9[_0x4ce5ef(0x3c1,0x4b6,_0x1976dc._0x2f2ad5,0x5c4)]===_0x2e4e8f(_0x1976dc._0xc31768,0x181,_0x1976dc._0xf9b224,0x3a0);function _0x2e4e8f(_0x274390,_0x12b959,_0x5754c0,_0x44823a){return _0x3a4cbe(_0x274390-0x13c,_0x12b959-0x18,_0x274390- -0x103,_0x44823a);}if(_0xfe3e80!==_0x4e827a)return _0xfe3e80?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x376acb){const _0x511fe5={_0xc390e:0x775,_0x3efa81:0x66b,_0x56490f:0x785,_0x1bb7ab:0x5d9,_0x5c421d:0x76e,_0x3cfb4a:0x6ce,_0x584ad6:0x154,_0x593452:0x26,_0x1f1670:0x142,_0x40e59f:0x234,_0xe81187:0xb,_0x18e773:0x3b,_0x8fbcab:0x182,_0x4ac339:0x725,_0x695dfc:0x6ce,_0x22bfab:0x4b5,_0x53bb0:0x69,_0x5e7142:0x34,_0xf34423:0xa5,_0x728a64:0x76c,_0x4b0e88:0x8cd,_0x5c2425:0x74a,_0x195d99:0x47b,_0x17fbe0:0x611,_0x4e32ab:0x26c,_0x5daec8:0x472,_0xd2f0ae:0x4aa,_0x259d26:0x681},_0x15c358={_0x429f4f:0xf4,_0x4b8c21:0x148},_0xfbe692={_0x1a8a18:0x103},_0x2bc9f8=new Array(_0x376acb[_0x2265a6(0x4cc,0x7e1,_0x511fe5._0xc390e,_0x511fe5._0x3efa81)]);let _0x317986=0x0;for(const _0x4c8cde of finalFileOrder(_0x376acb)){const _0x2a482b=_0x4c8cde[_0x2265a6(0x746,0x8a0,0x6cc,0x74a)]===_0x2265a6(0x52d,_0x511fe5._0x56490f,_0x511fe5._0x1bb7ab,0x5d6)?_0x4c8cde[_0x2265a6(_0x511fe5._0x5c421d,0x7ed,0x80c,_0x511fe5._0x3cfb4a)][_0x1021e9(-_0x511fe5._0x584ad6,_0x511fe5._0x593452,_0x511fe5._0x1f1670,_0x511fe5._0x40e59f)]===_0x1021e9(_0x511fe5._0xe81187,0x14d,_0x511fe5._0x18e773,_0x511fe5._0x8fbcab)?_0x4c8cde[_0x2265a6(_0x511fe5._0x4ac339,0x752,0x74d,_0x511fe5._0x695dfc)]['line']:_0x4c8cde['canonical'][_0x2265a6(0x270,0x4cd,_0x511fe5._0x22bfab,0x43c)]+0x1:_0x4c8cde[_0x1021e9(0x259,_0x511fe5._0x53bb0,_0x511fe5._0x5e7142,_0x511fe5._0xf34423)],_0xc02c3d=_0x2a482b+_0x317986,_0x2c35dd=_0x4c8cde[_0x2265a6(_0x511fe5._0x728a64,0x82e,_0x511fe5._0x4b0e88,_0x511fe5._0x5c2425)]===_0x2265a6(0x46a,0x5c2,_0x511fe5._0x195d99,_0x511fe5._0x17fbe0)?0x0:_0x4c8cde[_0x2265a6(0x32e,0x603,_0x511fe5._0x4e32ab,_0x511fe5._0x5daec8)][_0x2265a6(_0x511fe5._0xd2f0ae,_0x511fe5._0x259d26,0x5d2,0x66b)];_0x2bc9f8[_0x376acb['indexOf'](_0x4c8cde)]={'newStartLine':_0xc02c3d,'newEndLine':_0xc02c3d+_0x2c35dd-0x1},_0x317986+=operationRowDelta(_0x4c8cde);}function _0x2265a6(_0x3b7b62,_0x5142d8,_0x11c30f,_0x2a94b8){return _0xe18bb0(_0x5142d8,_0x2a94b8-0x4c4,_0x11c30f-0x6d,_0x2a94b8-_0xfbe692._0x1a8a18);}function _0x1021e9(_0xe04e01,_0x31edcf,_0x3d708f,_0x3d310e){return _0xe18bb0(_0xe04e01,_0x31edcf- -0xf5,_0x3d708f-_0x15c358._0x429f4f,_0x3d310e-_0x15c358._0x4b8c21);}return _0x2bc9f8;}function buildBlock(_0x126957,_0x271730,_0x378ca8,_0x46863b){const _0x1da3bb={_0xf84dba:0x5e1,_0x2c7575:0x567,_0x1eff4f:0x4c1,_0x325217:0x65b,_0x540b83:0x7d9,_0x227aaa:0x465,_0x4d0a16:0x39c,_0x5405ea:0x55c,_0x5593cc:0x502,_0x2719b2:0x3fa,_0x4ac378:0x53f,_0x7b20eb:0x41a,_0x232401:0x4b9,_0x4c7028:0x4c4,_0x5ba990:0x459,_0x1a9f4c:0x356,_0x349901:0x650,_0x4ebf9b:0x6bc,_0x5c5ced:0x7b8,_0x6cd5d3:0x311,_0x442dec:0x74a,_0x7d5306:0x4b9,_0x5cccdd:0x6bb,_0xfd94dc:0x577,_0x598b44:0x2b2,_0x2bb86e:0x4b3,_0x204428:0x624,_0x325cd9:0x4e2,_0x49c355:0x346,_0x3f5bb3:0x2f5,_0x27f7e7:0x309,_0x269d81:0x65e,_0x4194d4:0x6b6},_0x364f7e={_0x68981e:0x108,_0x19bb84:0x173},_0x164005={_0x409c36:0x35b,_0x27e418:0xf9,_0x5cb90a:0x27};function _0x29707c(_0x52eb33,_0xa7363c,_0x15028b,_0x5c72fa){return _0xe18bb0(_0xa7363c,_0x52eb33-_0x164005._0x409c36,_0x15028b-_0x164005._0x27e418,_0x5c72fa-_0x164005._0x5cb90a);}if(_0x271730[_0x29707c(_0x1da3bb._0xf84dba,0x56f,_0x1da3bb._0x2c7575,0x681)]==='insert'){const {line:_0x165b86,position:_0x1c515d}=_0x271730[_0x2b598b(0x6c1,_0x1da3bb._0x1eff4f,_0x1da3bb._0x325217,_0x1da3bb._0x540b83)],_0x3be697=_0x1c515d==='before'?_0x165b86:_0x165b86+0x1;return{'oldText':'','newText':_0x271730['rows']['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x3be697,'oldEndLine':_0x3be697-0x1,'newStartLine':_0x378ca8,'newEndLine':_0x46863b,'oldLineCount':0x0,'newLineCount':_0x271730[_0x2b598b(_0x1da3bb._0x227aaa,_0x1da3bb._0x4d0a16,_0x1da3bb._0x5405ea,0x666)][_0x29707c(_0x1da3bb._0x5593cc,_0x1da3bb._0x2719b2,0x461,_0x1da3bb._0x4ac378)]}};}const _0x472be6=_0x126957['lines'][_0x29707c(0x26b,_0x1da3bb._0x7b20eb,0x2bd,0x2b3)](_0x271730[_0x29707c(_0x1da3bb._0x232401,0x54b,_0x1da3bb._0x4c7028,0x543)]-0x1,_0x271730[_0x29707c(_0x1da3bb._0x5ba990,0x5ba,_0x1da3bb._0x1a9f4c,_0x1da3bb._0x349901)])['join']('\x0a'),_0x12a15d=_0x271730[_0x2b598b(0x5b5,0x670,_0x1da3bb._0x4ebf9b,_0x1da3bb._0x5c5ced)]-_0x271730[_0x29707c(0x4b9,_0x1da3bb._0x6cd5d3,0x55d,0x4e7)]+0x1;if(_0x271730[_0x29707c(0x5e1,0x749,0x60d,_0x1da3bb._0x442dec)]===_0x29707c(0x4a8,0x363,0x3df,0x5ab))return{'oldText':_0x472be6,'newText':'','lineNumbers':{'oldStartLine':_0x271730[_0x29707c(_0x1da3bb._0x7d5306,0x437,_0x1da3bb._0x5cccdd,_0x1da3bb._0xfd94dc)],'oldEndLine':_0x271730[_0x29707c(0x459,0x5c9,0x26b,_0x1da3bb._0x598b44)],'newStartLine':_0x378ca8,'newEndLine':_0x378ca8-0x1,'oldLineCount':_0x12a15d,'newLineCount':0x0}};function _0x2b598b(_0x567490,_0x3f97eb,_0x7c6125,_0x5cd455){return _0xe18bb0(_0x5cd455,_0x567490-0x4b7,_0x7c6125-_0x364f7e._0x68981e,_0x5cd455-_0x364f7e._0x19bb84);}return{'oldText':_0x472be6,'newText':_0x271730[_0x29707c(0x309,0x133,0x2eb,_0x1da3bb._0x2bb86e)][_0x29707c(0x43d,_0x1da3bb._0x204428,_0x1da3bb._0x325cd9,0x639)]('\x0a'),'lineNumbers':{'oldStartLine':_0x271730[_0x29707c(0x4b9,_0x1da3bb._0x49c355,0x345,_0x1da3bb._0x3f5bb3)],'oldEndLine':_0x271730['sourceEnd'],'newStartLine':_0x378ca8,'newEndLine':_0x46863b,'oldLineCount':_0x12a15d,'newLineCount':_0x271730[_0x29707c(_0x1da3bb._0x27f7e7,0x2e8,0x2e5,0x4f0)][_0x2b598b(_0x1da3bb._0x269d81,0x5b6,_0x1da3bb._0x4194d4,0x7ea)]}};}function stableStringify(_0x34c0e0){const _0x5da12b={_0x164ed8:0x5d0,_0x47c39a:0x7a6,_0x24a512:0x69d,_0x129adb:0x82d,_0x563dcb:0x681,_0x3626c1:0x5c6,_0xbea7a0:0x71b,_0x42ec6c:0x537,_0x3ef99d:0x542,_0xbd256f:0x4ff,_0x453af0:0x718,_0x364d73:0x5f3,_0x41f22c:0x6fb,_0xdc65b0:0x71d,_0x3e4b16:0x468},_0x214973={_0x465641:0x5ed,_0x20a07:0x1c,_0x2a931c:0x1c6},_0x2d6cb4={_0x56ad17:0x2e};function _0x3270c5(_0x575e50,_0x225ce3,_0x5b46a7,_0x557245){return _0xe18bb0(_0x557245,_0x225ce3-0x511,_0x5b46a7-_0x2d6cb4._0x56ad17,_0x557245-0x21);}if(Array[_0x365ab2(_0x5da12b._0x164ed8,0x846,_0x5da12b._0x47c39a,_0x5da12b._0x24a512)](_0x34c0e0))return'['+_0x34c0e0[_0x3270c5(_0x5da12b._0x129adb,_0x5da12b._0x563dcb,_0x5da12b._0x3626c1,_0x5da12b._0xbea7a0)](stableStringify)[_0x3270c5(0x6a3,0x5f3,0x76e,_0x5da12b._0x42ec6c)](',')+']';if(_0x34c0e0!==null&&typeof _0x34c0e0==='object'){const _0x5574b4=_0x34c0e0;return'{'+Object[_0x3270c5(_0x5da12b._0x3ef99d,_0x5da12b._0xbd256f,0x364,0x2f8)](_0x5574b4)['sort']()['map'](_0x3f777c=>JSON[_0x365ab2(0x6bc,0x89e,0x69f,0x709)](_0x3f777c)+':'+stableStringify(_0x5574b4[_0x3f777c]))[_0x3270c5(_0x5da12b._0x453af0,_0x5da12b._0x364d73,_0x5da12b._0x41f22c,_0x5da12b._0xdc65b0)](',')+'}';}function _0x365ab2(_0x388d13,_0x157146,_0x21b1da,_0x25c169){return _0xe18bb0(_0x157146,_0x25c169-_0x214973._0x465641,_0x21b1da-_0x214973._0x20a07,_0x25c169-_0x214973._0x2a931c);}return JSON[_0x3270c5(_0x5da12b._0x3e4b16,0x62d,0x673,0x746)](_0x34c0e0);}function _0x3ec8(){const _0x2e6c39=['AgvHzgvYCW','B3bLBG','yxr0ywnO','Dg90ywW','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','yMXVy2TZ','ugf0AcbPCYbUB3qGysbMAwXLoIa','zw5KC1DPDgG','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','Aw5FChjVz3jLC3m','z2v0t3DUuhjVCgvYDhLoyw1LCW','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','DgfNrM9YrgLNzxn0','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','Aw1Hz2uVCg5N','qMfZAe91Dhb1Da','ls1YzwDLEha','BM90lwzVDw5K','lNrZEa','B2XKu3rHCNrmAw5L','vMLLD0zPBgu','oIbJB250zw50ihjLCxvPCMvK','B3bLBMfPlxjLC3bVBNnLCW','ig1HDgnO','B3bLCMf0Aw9U','uMvHzcbHifvurI04ihrLEhqGzMLSzsbHCYbHihnUyxbZAg90lwfUy2HVCMvKifTWyxrOi3rHz10GAgvHzgvYihbSDxmGtJP0zxH0ihjVD3mUifrOzsb0ywCGAwrLBNrPzMLLCYb0AguGD2HVBguGzMLSzsWGC28GCMvHzcbVBMX5ihrOzsbSAw5LCYb5B3uGBMvLzcb3AxrOigXPBMvtDgfYDc9SAw5Lrw5KiokaLcb0AguGDgfNihn0yxLZihzHBgLKigzVCIbHihjHBMDLihjLywqUievTChr5igzPBgvZigHHDMuGBM8GzwrPDgfIBguGBgLUzs4GtwL4zwqGteyVq1jmrIWGtLvmlcbHBMqGAw52ywXPzcbvveyTocbHCMuGCMvQzwn0zwq7ihvZzsbLEgfJDcbgAwXLrwrPDcbPBNn0zwfKlG','C2vYDMvYtMfTzq','DgvZDa','zMLUywXnzxnZywDL','yMvMB3jL','u2TPBgWGjW','CMvHze9UBhLiAw50','ywjVCNq','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','y2fUB25Py2fSugf0Aa','ANnVBG','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','oIbPBNzHBgLKihbYAw9YAxr5','yNL0zxncEurPz2vZDa','ywXYzwfKEs10zxjTAw5HBa','yxjNDw1LBNrZvgv4Da','w1bFxL1BxhnCu10QpW','B2jQzwn0','ywnXDwLYzuj5DgvZ','sw52ywXPzcbvuKWGCgfYyw1LDgvY','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','zMLUywXozxDSAw5L','BwvZC2fNzq','lNbUzW','CMvHza','zMfPBgvK','zMLSDgvY','zg9JDw1LBNrtEw1IB2W','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','CMvUyw1L','ru5w','Cgf0Ag5HBwu','BM9dAgfUz2vdB3vUDgvYCW','Aw1WBgvTzw50yxrPB24','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','Ag9TzwrPCG','ihrVB2WGy2fSBcbMywLSzwq','y29UDgv4Da','zMLUzfjLzMvYzw5Jzxm','CMvWBgfJzsbZDgfYDeXPBMu','CxvLCNK','mtuZnZG2quj0Bej0','tM8GCMvZDwX0CYbMB3vUzc4','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','z3jHy2vMDwW','B25oB3rPzMLJyxrPB24','AgfZ','zxH0BMfTzq','r0Lusfvcx0fdq0vtu19ut0TftG','rMLSzsa','qKftse9qvfm','Aw1Hz2uVz2LM','C3rHCNrmAw5L','mJi0lJaUmc4W','y29UDgv4DeXPBMvZ','Dg91y2HqyxrO','C3rYAwn0','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','zw5K','lwXPBMuGC25HChnOB3qU','yM9T','u0HfteXpufrt','AMf2yxnJCMLWDa','C3bHD25PBMC','qMvHCMvYia','vg9KB1DYAxrL','zgv0ywLS','zgLHz25VC3rPy3m','y2fWq2HHCNm','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','vMfSAwrHDgvKia','A2LUza','BM9Uzq','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','zgvMAw5PDgLVBG','C3rYAxbbBNnP','s0Lnsv9bueLFs0vz','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','ywrK','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','DhLWzxnJCMLWDhjLywn0','zw5KtgLUzq','Dgv4DerVy3vTzw50l2rPzenSB3nL','AxnfBMfIBgvK','Ag92zxi','CMvXDwvZDa','lMDPzG','zxjYB3jZ','ywrKrxzLBNrmAxn0zw5LCG','CgXHDgzVCM0','qxqGBw9ZDca','zMLSzxm','C3jJl3nOyxjLzc90ExbLCY50CW','CMCUzxHL','C2vHCMnOrgvWDgG','y2XPzw50','ygbGANnVBGO','BwnWlwf1DgGTCMvXDwLYzwq','yxjNCW','sfruuca','CMvHzezPBgu','BwnWlxjLCxvLC3qTDgLTzw91Da','DhLWzq','DhnJB25MAwCUANnVBG','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','B25Jzq','A2v5','CgfYC2u','ignVBM5Ly3rPB24GDgLTzwqGB3v0','ywX3yxLZlwnVBMzPCM0','DgvYBwLUyxrPB25tzxr0BgvK','zw5NAw5LCW','yxbWBgLJyxrPB24VANnVBG','rMLSzu5LDW','Dg9VBhmVy2fSBa','yM9VBgvHBG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','zhj5uNvU','z2fW','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','D2vI','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','BgfUz3vHz2u','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','Ahr0CdO','C3rKzxjYtM9YBwfSAxPLCG','C2HLBgXqyxrO','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','tNv2Aw4','ANnVBMm','CMvWBgfJzq','A2v5yMLUzgLUz3m','C3rKB3v0tM9YBwfSAxPLCG','DgfN','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','C2vYDMvY','BwnWlwnSB3nLlwzHAwXLza','igLZihvUA25VD24GzM9Yia','y29Uy2f0','yNvKz2v0vg9Rzw5Z','B2C6DxbKyxrLzf90Aw1L','l3vZCI9IAw4VC2G','CM9VDa','zgvSzxrLlNn0yxj0tgLUzq','CMvMzxjLBMnLCW','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','y29TBwfUza','ugf0AcbUB3qGzM91BMq6ia','Aw5JBhvKzq','rMLSzvjLywq','Dg91y2HgAwXL','BxrPBwu','uxvLC3rPB24G','Aw52ywXPzf9WyxrJAa','CMLWz3jLCcbMywLSzwq6ia','CgXHAw4','Cgf0DgvYBIbPCYbYzxf1AxjLza','zgvUBY5QC29UyW','C3rYzwfTC0zSDxnOzwq','Bwf4vMvYC2LVBNnqzxjqyxrO','uhjVz3jHBuzPBgvZ','y29UBMvJDgLVBG','CgvUzgLUzW','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','BxrPBwvnCW','ywjVCNrLza','y2HHCMfJDgvY','mtCXnJKYmu1kuvvTzW','BhnWu2vYDMLJzq','lM10CW','Dw5PB24','zxzLCNK','DgfPBhm','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','zMLSztOVlW','zgf0zvjLC3rYAwn0','DhjPBq','rgLHz25VC3rPyW','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','mJqWlJaUmc4W','Dg9tDhjPBMC','mtaZmgnnr1HhqW','lM51DMLUlwnVzgu','EwvZ','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','l3vZCI9IAw4VyMfZAa','B3bLBKzPBgvZ','Aw52ywXPzf9Yyw5NztOGDgHLigvKAxqNCYbZB3vYy2uTzgvYAxzLzcbWCMv2Awv3ihrLEhqGAxmG','Aw5KzxHpzG','B3bLBNjVDxrLCG','zxzPy3rjzK5LzwrLza','rMLSzsb3CML0DgvUigf0ia','q29Tu3bLyW','zgvMyxvSDfrPBwvVDxrnCW','CMvZDwX0CW','CMvHC29U','BM90Awz5','qMfZzsbKAxjLy3rVCNK6ia','Dg9VBhm','CMfUz2u','CgfZC3rOCM91z2G','B25JBg9Zzq','Bwf4','Cg9ZDf93CML0zv9KCMLMDa','CMvNAw9U','C3vWzxjszwzPBMu','CxvLC3rPB24T','C25PChbLDa','Bwv0yxrHz3m','yMfZzw5HBwu','y2HPBgq','C2vUzfjLCxvLC3q','C3vIyxjYyxK','DgLTzw91DfnVDxjJzq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','ChjVDg9JB2W','CMvSyxrPDMu','AgfUzgXL','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','zgvZy3jPChrPB24','yxr0CG','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','zg5Zl3bYB21PC2vZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','CM91BMq','C2nYDwjfBNzlzxLZ','y2HTB2q','DhjHAwXPBMDdAhvUA3m','yw5ZAte2','zgvJB2rL','lu5VuhjVzMLSzq','C2nYDwjfBNzqCMvMAxHLCW','zwrPDa','mJqYmJHYwKjRBfy','AxneAxjLy3rVCNK','yMfJA2DYB3vUzfjLz2LZDhj5','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','C2XPy2u','BwfYA2rVD24','Axnoyu4','ls0T','CMvZzxq','Aw5PDgLHBgL6zwq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','qMfZAa','yw50AhjVCgLJlw1LC3nHz2vZ','Dw5RBM93BL9ZBMfWC2HVDa','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','yMfZAwm','zgLZy292zxi','yxjNDw1LBNriAw50','CMv0AxjL','rMLSzuvKAxq','BgLI','CMvNAxn0zxjby3rPDMvsDw4','CMvSzwfZzufNzw50uMvZB3vYy2vZ','yxv0BW','AgfZAgXPBMu','zxjYB3i','u25HChnOB3qGzM9Yia','zgvUEq','zxnJyxbL','yMLVBwuUANnVBMm','ChvZAa','y2fSBfrVB2W','igj5DguTAwrLBNrPy2fSlG','qxv0Ag9YAxPHDgLVBG','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','z29Vz2XLq3nLq3G','iYmGu2TPBgW6ia','C3rHCNq','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','uKLgrG','l3bPza','C2vSzwn0Aw9UuMfUz2u','D3jPDgvgAwXL','Bwf4u25HChnOB3rcExrLCW','y291BNrLCG','zw50CMLLCW','yNvUlMXVy2S','C2v2zxjPDhK','wKfjx0fqsv9lrvK','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','DgvYBwLUyxrL','u25HChnOB3qGDgfNia','l2jPBI9ZAa','ygbG','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','ywrKsxnZDwu','r09pr0Xfx0ntrv9dwa','BNvTyMvY','ugfJA2fNzxm','y29ZDa','zNjVBq','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','D2LUzg93CW','B25uzxjTAw5HBevYCM9Y','vg9KBYa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','Dhj1BMm','yxnJAwK','igzHAwXLzcb0BYbJBg9Zzq','y2fSBeLK','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','BMfTzq','CMvZDwX0','BgfUzW','Bw9KzwW','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','vxbKyxrLvg9WAwm','AgLNAa','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','zMLSzq','ls1QC29U','rMv0y2GGDgLTzwqGB3v0','Bxv0yxrPB25Z','zgLZy292zxj5u3rHDgu','BgLTAxrZ','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','ihDHCYbYzwfKlG','z2XVyG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','lMPZ','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','mtaWlJy0lJaUma','C3jJl2fNzw50l2fNzw50lNrZ','BgLNAhq','zgf0zxrPBwu','z2v0vg9KB3m','C2v0','BgLZDa','yNvMzMvY','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','AxntywzLsw50zwDLCG','yMLVBwuUANnVBG','BM9Fy2HHBMDL','y3DK','CxvLC3rPB25Z','BgLUzq','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','ChjVy2vZC0DYB3vWswq','Dw1HC2S','AxnjBNrLz2vY','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','Aw5WDxrty2HLBwe','yw50AhjVCgLJ','y2XLyxi','te9dquXbufbeqvrb','BM9UBMvNyxrPDMu','BgLUzxm','mJq1CejQshDK','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','y2XVC2vbBgW','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','zMLSzvzLCNnPB25Z','igLZia','zNvSzMLSBgvK','AhLKCMf0zu1LDge','DxjP','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','DMvYC2LVBNncEvbHDgG','BwvKAxvT','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','DxrMoej5DgvZ','zgvSzxrLihn0yxj0tgLUzq','CgfYC2vjBNq','DhnJ','C25HChnOB3q','CgvYBwLZC2LVBKnSyxnZ','C3bSAxq','DhvYBMrVD24','CMfUzg9T','C3rHCNreAxi','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','zhvWBgLJyxrLx3rVzg9FAwrZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','mtaUmc4WlJa','Bwv0yq','B3jPz2LUvg9VBenHBgXjza','CMvZB2X2zq','CNvUswq','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','Aw5WDxq','yxjNDw1LBNrZ','zgvMyxvSDe9WDgLVBG','qwXSia','yNL0zxm','zgLYBMfTzq','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','AxntEw1IB2XPy0XPBMS','B2XSyw1H','CM93CW','yw55lwfSBg93zwq','C2TPBgXZ','D2fPDezVCLrLCM1PBMfS','v2vIu2vHCMnO','yMLYDgH0Aw1L','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','zgf0yq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','icHWAwqG','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','CMvKDwnL','DhLWzxnJCMLWDa','C2HLBgXjza','Aw5qCM9NCMvZCW','Cgf0DgvYBG','Dg9vChbLCKnHC2u','Ag9ZDa','BMv3rw5KtgLUzq','zMX1C2HtDhjLyw1Z','ru5pru5u','CNvUrxHJBhvZAxzL','twLJCM9ZB2z0','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','zw5NAw5L','rxjYB3i','CNvUsw5cywnRz3jVDw5K','z2L0qNjHBMnO','DgL0Bgu','yxbWzw5KrgvJB2rLza','sw52ywXPzcbVDxrWDxrszwDLEdOG','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','lMnTza','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','C3rKAw4','BhnW','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','zgvMyxvSDen3za','qgjPB21LANmVyMLVBwu','zMLUAxrL','Aw5JB21PBMDdywXSCW','lMPWzW','DMvYAwz5rxHLy3v0Aw9U','CxvLC3rPB24','y2fSBgjHy2TvCMW','zgLZCgXHEwvKtgLUzxm','zxHHy3q','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Aw52ywXPzf9Yyw5Nzq','Dg9Rzw4','Aw52ywXPzf90B2rVx2nVBNrLBNq','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','C3rHDhvZvgv4Da','vg9Vig1HBNKGCMvKAxjLy3rZ','B2zMC2v0','ChvIBgLZAgvKqxq','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zNvUy3rPB24','Aw5ZDhj1y3rPB25Z','AwzYyw1L','yMvHCMvY','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C2HPzNq','A2v5CW','uhjVy2vZCYa','l2jPBI9IyxnO','y29TCgXLDgvK','o1TExg5DkJ8','DgLTzvTKyxrLDgLTzv0','DwX0CMe','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','zgfZAa','tg9HzfnRAwXS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zgLYzwn0B3j5','l3vZCI9SB2nHBc9IAw4VCMC','ls1NBg9I','AxnfCNjVCG','lMPWzwC','yMLUzfnLC3nPB24','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','ywz0zxjuzxH0','Cg5WBs1SB2nRlNLHBwW','igj5DgvZicHVCMLNAw5HBdOG','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','zxHPDgvK','zgfYAW','C3rYDwn0DxjLza','y291BNq','r2XVyG','C2v0vg9WAwm','BgLUzuvUza','C3rKzxjYrgvJB2rLCG','Aw50zwDLCG','A2LSBfjLCxvLC3rLza','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','y2HHDgDWDa','C3rHCNrLzef0','lNDLyNa','Aw5Zzxj0igXPBMu','tM8GAg92zxiGAw5MB3jTyxrPB24','DxnLCM5HBwu','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CMvZzxj2zq','B2XKvgv4Da','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','l1bjra','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','zMLUywXSEq','yMfZzty0','CMvWBgfJzsbLBMrmAw5L','zgLNzxn0','lcbpChrPB24G','ChjVDg90ExbL','z3jHy2vMDwXszxf1zxn0zwq','Cg9W','C3rHDa','A2LSBa','BwnFy2LK','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','CMvUzgvYu3LZDgvTuhjVBxb0','BwfUDwfS','BMv3vgv4Da','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','ChjPB3jPDhK','B3b0Aw9UywW','z29Vz2XLq3nLs2v5','zMXHDe1HCa','CMvXDwLYzwq','zgvMyxvSDa','ywn0AxzL','AxrLBxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','zNjLzxPL','D2fYBG','C2nYAxb0','CMvSzwfZzq','C2H1DgrVD24','zxjYB3jnzxnZywDL','Dg9VBfjLC3vSDhm','Dgv4Dc9ODg1S','Aw5Zzxj0lMXPBMu','D29YA3nWywnLl3n5BwjVBa','DgHPBMTPBMC','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','yNvUlMXVy2TI','y29KzvzLCMLMAwvY','BwLUAw1HBa','qxnRvxnLCLrVB2W','Dg90ywXeCM9WCgvK','C3rHBgvFC25HChnOB3q6iezPBguG','vMLLD2vKigLTywDLigzPBgu6ia','ignOyxjZigrYB3bWzwrDcG','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','DgfZA2TPBgW','yxnR','yxv0Aa','CMvNAxn0zxjby3rPDMvbz2vUDa','C3vKBW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','B3b0Aw9UCW','y2f0y2G','BwnWlxnKAY1JBgLLBNqTzxjYB3i','zgvLCgLUzNjH','igLZig5VDcb2ywXPzcbvveyToc4','ChjLCgfYzunHBgXiAwvYyxjJAhK','B3bLBMfPlxjLC3bVBNnLCY13CW','lM1QCW','zgvSzxrLigvUzeXPBMu','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','uefusa','C2HHmJu2','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','CMvXDwvZDfrPBwvVDxrnCW','D29YA3nWywnLu3LTyM9S','tuLosu1bwf9bueLFs0vz','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','CMvNzxG','ig9WzxjHDgLVBNmU','yNjVA2vU','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','Aw1Hz2u','yxnPzgu','BMv3tgLUzunVDw50','B3nJ','A2LSBgvK','AxndB250zxH0','DhnZzxj2zxiUANm','l29WDc9OB21LyNjLDY9IAw4VCMC','ignVBNrHAw5Zie5vtcbIExrLCY4','uhjVz3jHBuzPBgvZkhG4nIK','DMvYAwzPzxi','y2XPzw50CW','DhvWBgu','CMvWBgfJzsbYyw5NzsbB','CMfJzq','C3rHBgvFC25HChnOB3q','ignOyxjHy3rLCNm','ls1MB2XSB3C','ig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYihbHDgnOlG','BgfUz18','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','DxrTx21LzgL1Bq','BM93','Dg9Rzw5Z','thnW','zw51Bq','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','qxbWBgLLzca','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','cMbGya','ywDLBNrZ','B3bLBMnVzguTz28','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','D3jPDgu','CMvZzxj2yxrPB25Z','CMvXDwLYzwrmAw5LCW','y29UDgv4DeXPBMS','CMLWz3jLCa','z2L0AhvI','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','Dg9KB3ncEvnLC3nPB24','yxbWzw5K','yMLVBwu','y29Kzq','DxrTx3nVDxjJzq','cGOTls0kcG','zgLZy292zxj5','ig1Z','y29UzMLYBwvK','ChjVy2vZCW','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','z2v0','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','B2zM','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','ywXSB3DLzerPCNm','BwnWxW','A2LTAq','Bg9VA3vW','zM9Yy2u','C3rHDgu','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','vw5HyMXLihrVihjLywqG','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','AwDUB3jL','ue9tva','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','zMLSzunVDw50','zxH0zw5ZAw9UCW','ndCXnZiXnLL6sg5KBW','AxnbCNjHEq','y2XPzw50twv0ywrHDgfvCMW','C3rKzxjY','Dg9VBa','BgfIzwW','Dg9ju09tDhjPBMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','yNL0zuXLBMD0Aa','y2XPzw50sw5MB3jTyxrPB24','y2XVC2u','ywXSB3DLzfrVB2XZ','mty1nJm4mNDtrKTMrW','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','BMv4DeXPBMvtDgfYDa','CgfJA2fNzs5QC29U','CMvWBgfJzs5ZDgfYDeXPBMu','zMXVB3i','C3bHD24','ihrPBwvKig91DcbHzNrLCIa','Aw1Hz2uVANbLzW','ie9sia','z29uB0rLzMLUAxrPB24','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Aw52ywXPzf90B3bPyW','zxHLyW','B3rOzxi','C2vHCMnOugfYyw1Z','y2fJAgvK','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','CgLK','B3v0Chv0qNvKz2v0qNL0zxm','v0vcua','B25szwrPCMvJDa','Dgf2AwX5','zMLSBa','zgvSzxrLq291BNq','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','u0Lhs0Lmta','t1bftLjpvvrfuL9bueLFs0vz','phn5C3rLBs1Yzw1PBMrLCJ4','r3jLCa','r09pr0Xfx0ntrv9lrvK','zw5JB2rL','Bw9Kzq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','AM9PBG','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','q0rqqvri','lI4U','CMvJzw5JEurHExm','CNvUBMLUzW','Ahr0Chm6','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','C2vZC2LVBKLK','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','B2jZzxj2yxrPB25Z','AxngAwXL','D2LUmZi','uMvHC29UAw5NigrLzMf1BhqGiG','AMf2yxnJCMLWDhjLywn0','tM8GzgLHz25VC3rPy3m','Aw5Zzxj0igXPBMuG','B3bLCMf0Aw9UCW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','ywrHChrPDMu','zgvSzxrLlMvUzeXPBMu','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','Aw5JBhvKzxm','y29UDgvUDa','C291CMnLrw5K','Aw50zxjUywXmAwzLy3LJBgu','y3jLyxrLzef0','lMjPBG','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','y3nP','Dg9VBfbLCM1PC3nPB25Z','Dg9Rzw5tDg9YywDLs2v5','DgLTzw91De1Z','BgfZDeLUzgv4t2y','Bwf4q29Uy3vYCMvUDa','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','ignVBxbSzxrLzc4','CMvJzw5JEq','C3rKB3v0','vw50AxrSzwq','ls1NBg9Ipq','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','ywnXDwLYzq','Aw5Zzxj0','Cg9ZAxG','zMLUza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Dhj1BMnHDgvK','Bwf4ugf0Ahm','B3v0y29Tzq','Cg9ZAxrPB24','C3rYAw5NAwz5','CMvHzen1CNnVCG','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','zgvSzwDHDgvKlxj1BI0','Ahr0Ca','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','CMvJB3jK','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','igzYB20G','tM8GC3vJAcbMAwXLoIaN','C3rYAw5N','Ec1HCgKTA2v5','BNv2Aw4','Dg9VBenHBgXjza','DhjHBNnMB3jTCW','Bwf0y2HdB3vUDa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','y29UzMLN','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','zgvZy3jPChrVCNm','mJiYnNn5DfvoyW','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','C2v0DgXLvgvYBwLUywW','yxjYyxK','Aw5PDgLHBgL6yxrPB24','BgLMzwn5y2XL','yxnZAwDU','yxbPs2v5','vg9WAwmGC2v0ihrVici','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','BwLU','CgfJA2fNzu5HBwu','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','ywz0zxi','BgLUzvrLEhq','DgvYBwLUyxrPB25qCM9TAxnL','CM9VDfbPza','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','C2LNBMfSqwrHChrLCG','uhvIBgLZAgvKoIa','vw5RBM93BIb0B29SoIa','Dg90ywXcExrLCW','C29YDa','CgfNzw1HCa','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','CMvWBgfJzs5LBMrmAw5L','AgvHzgvY','lMn0CW','zgvSzxrL','C2v0vg9KB3m','Aw1Hz2vZ','lMnQCW','C3rVCMfNzurPCG','CMvXDwvZDhm','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','DgvYBwLUywXtzxr0BgvK','Dg9WAwm','z29Vz2XLlwnZzq','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','z2v0u3rHDhm','y2HHCKnVzgvbDa','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','CMvMAw5L','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','Bg93','C291CMnLu3rHCNq','C2vYDMvYswq','lu5Vtg9NBW','C2vTyxbOB3jL','D29YA3nWywnL','CMvJB3jKtM9dAgfUz2u','z3jVAW','ywDLBNrjza','EwfYBI5SB2nR','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zw52','B3v0z29PBMDdywXSCW','BgLZDgvU','y29TBwfUzhm','Dg9KB3m','C3jJl3rVB2XZl2nVCMuVBw9JAY10B29Slxj1BNrPBwuUDhm','y2fUrgLZywjSzq','D2HLCMuGCMC','BwfW','Dw5RBM93BG','zw5HyMXLza','zgvSzxrLihjHBMDLifS','xqPgAwXLihDYAxr0zw4GyxqG','DMfSDwu','C3bSAwnL','Cgf0Aa','D2fPDezVCKrPywDUB3n0AwnZ','zw9S','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','EMfP','Bgv4AwnHBfbHDgG','yNvMzMvYq2HHCNm','Bg9JyxrPB24','y3vZDg9T','mtCYlJe2lJaUma','BgLUzu51BwjLCNm','zMv0y2HjBxbS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','zg9TywLUCW','DgfZAW','Bg9HzenVBw1HBMq','B2f1DgG','pc9ZExn0zw0TCMvTAw5Kzxi+','CgLWzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','r0LgodLH','y21KlMv4zq','y29KzvbVAw50qxq','ienHDxnLoIa','mtKYlJaUmc4W','zxf1ywXZ','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','Bw9VBNnOB3q','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','v2vIrMv0y2G','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','BgL0zxjHBa','v2fYBMLUzW','igj5DgvZlG','ywXSu2v0DgXLza','Aw52ywXPzf90B2rVx3n0yxr1CW','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','zgLZCg9Zzq','y3jSzG','sgLUDa','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','DxrTx2nVBNrLBNq','CNnZ','igj5DgvZ','C3bSAwnLsw5KzxG','rM91BMqG','mty5lJi1nc4WlJa','BgvUz3rO','Dg9VBenHBgW','C2L6zq','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','C2LNBMfS','igj5DgvZicH0B3rHBdOG','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','ksbB','yxrVBwLJv3jPDgu','y29UBMvJDa','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','BM9Kzv9TB2r1BgvZ','z29uB0LTCgXLBwvUDgf0Aw9U','BM9Zy3jPChq','BgLUzvn0yxj0','Dgf2AwX5qxbPs2v5','Cgf0y2G','CgXHAw50zxH0','yM94zwq','revfufnfruTFqvbjx0Tfwq','C3LTBgLUAW','BgLTAxq','u0HfteW','tunqihnLCNzLCIa','Dgv4Da','Aw1Hz2uVD2vICa','Aw50','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','lunVBw1HBMq','yxr4','zxHPDcbJB2rLia','DxbKyxrL','AxngAw5PDgu','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','BxvSDgLtzwXLy3q','BMv3u3rHCNrmAw5L','Aw52ywXPzf90B2rVx2LK','BNbT','BgLUzu51Bq','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','o1TE','ywXS','zM9Yy2vszxf1zxn0zwq','BhnWlxbYB3H5','rvnsq0G','yw5UB3rHDgLVBNm','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','BwnWlxrVB2WTy2fSBc1MywLSzwq','DgHLBG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zNjVBuvUDhjPzxm','zMLSzvbHDgG','C2vUze5VDgLMAwnHDgLVBG','C3rKAw8','B25LCNjVCG','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','s2LSBgvKia','qKftsf9ftLy','CgfJA2fNzxm','BgLZDfrVB2XZ','C3rHCNrZv2L0Aa','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','qwDLBNqGCNvUia','lMPZB24','y2XPzw50x3nLy3jLDf9WB3n0','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','C29Tzq','Dg9mB3DLCKnHC2u','yxnRvxnLCG','CMvZzxroB0nOyw5Nzq','DMfSDwvZ','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','C2fMzq','yMLUyxj5tMfTzq','yw5ZD2vYCW','zwzMB3j0','C3LZDgvTuhjVBxb0','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','CMvMCMvZAf90B2TLBG','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','mtKYlJe2oc4WlJa','DxrMoa','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','l2jPBI9YzW','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','BwvTB3j5','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','C2vUza','Aw52ywXPzf90B2rVx2L0zw0','AxnbyNnVBhv0zq','AgfZt3DU','DgvYBwLUywXqCM9TAxnL','D3jPDgvFzMfPBgvK','B2XKtgLUzunVDw50','Dg90ywXqCM9KDwnLza','y2fUB25Py2fS','B2jZzxj2zwrmAw5LCW','lMPZEa','DxrTx2nHBxbHAwDU','t1bftKnprevFqvbjx0Tfwq','s2LSBfnOzwXS','Dw5ZzwvUx2XPBMvZ','C291CMnL','mc4WlJa','zxHPDenVzgu','mJvzwM5ur2G','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','B2XKrw5KtgLUzq','C3rHDhvZ','zgnZ','DxjS','zxHPDa','B3v0Chv0uMvNzxG','uMvHC29UAw5Nig9WDgLVBIaI','C3rKB3v0rgvJB2rLCG','yxjNDw1LBNroyw1LCW','yMfZAa','Bg9HzfnRAwXS','B3v0Chv0','mty3nJC1nKXvuufeDW','DgvYBwLUyxrPBMC'];_0x3ec8=function(){return _0x2e6c39;};return _0x3ec8();}function prepareCanonicalFileEdit(_0x9e69ed,_0x125dd1,_0x497036){const _0x3f5ebc={_0x575f39:0x21d,_0x2d51fd:0xfd,_0xc0621b:0x590,_0x3f8489:0x4e2,_0x5b2012:0x6d1,_0x288a71:0x988,_0x22b82c:0x779,_0x2cf036:0x94d,_0x57e2f3:0x781},_0x5d7aa8={_0x382663:0x1a8},_0x26bdf1={_0x56a61f:0x1e9,_0x31b9e0:0x3},_0x13fbed=planOperations(_0x9e69ed,_0x497036);assertNoOverlaps(_0x13fbed);const _0x28db16=assertLinesObserved(_0x13fbed,_0x125dd1),_0x96168c=applyOperations(_0x9e69ed,_0x13fbed);if(_0x96168c===_0x9e69ed['text'])throw createAnchoredFileError(_0x55032a(0x234,_0x3f5ebc._0x575f39,0x5d,_0x3f5ebc._0x2d51fd),_0x4212b6(0x6fc,_0x3f5ebc._0xc0621b,_0x3f5ebc._0x3f8489,_0x3f5ebc._0x5b2012));function _0x55032a(_0x40d5f1,_0x5adc12,_0x495502,_0x47cc78){return _0x47b891(_0x40d5f1,_0x5adc12- -_0x26bdf1._0x56a61f,_0x495502-0x183,_0x47cc78-_0x26bdf1._0x31b9e0);}function _0x4212b6(_0x595c27,_0x5e0b2d,_0x5923a1,_0x191c06){return _0xe18bb0(_0x5923a1,_0x5e0b2d-0x609,_0x5923a1-_0x5d7aa8._0x382663,_0x191c06-0x1c3);}const _0xa15ea3=_0x13fbed[_0x4212b6(_0x3f5ebc._0x288a71,_0x3f5ebc._0x22b82c,_0x3f5ebc._0x2cf036,_0x3f5ebc._0x57e2f3)](_0x53fdaf=>_0x53fdaf['canonical']),_0x3da19f=computeFinalFileNewSideLines(_0x13fbed);return{'afterText':_0x96168c,'operations':_0xa15ea3,'blocks':_0x13fbed[_0x4212b6(0x6e5,_0x3f5ebc._0x22b82c,0x58b,0x665)]((_0x45ccff,_0x15602)=>{const {newStartLine:_0xac46f4,newEndLine:_0x3ccf77}=_0x3da19f[_0x15602];return buildBlock(_0x9e69ed,_0x45ccff,_0xac46f4,_0x3ccf77);}),'requiredLines':_0x28db16,'payloadDigest':sha256Bytes(stableStringify(_0xa15ea3))};}import _0x56c308 from'string-width';var EMPTY_FILE_MESSAGE=_0x47b891(0x4a7,0x445,0x549,0x4a6);function clampLine(_0x1920e3,_0x5c3556){const _0x2c6854={_0x421b4d:0x28e,_0x2fbf54:0x33f,_0x586cd4:0x327,_0x38e7e4:0x1e7},_0x5c7edb={_0x113c9f:0x13},_0x25f4ae={_0x4b474a:0x332};if(!Number[_0x3f64d7(_0x2c6854._0x421b4d,0x343,_0x2c6854._0x2fbf54,_0x2c6854._0x586cd4)](_0x1920e3))return 0x1;function _0x3f64d7(_0x265a8c,_0x413c47,_0x1461bb,_0x35dcd0){return _0x47b891(_0x1461bb,_0x35dcd0- -_0x25f4ae._0x4b474a,_0x1461bb-0x12a,_0x35dcd0-0x179);}function _0x47168e(_0x2757bc,_0x337406,_0xefca25,_0x484a47){return _0xe18bb0(_0x2757bc,_0x337406- -_0x5c7edb._0x113c9f,_0xefca25-0x9a,_0x484a47-0x16b);}return Math['max'](0x1,Math[_0x3f64d7(_0x2c6854._0x38e7e4,0x245,0x2ce,0x299)](Math['trunc'](_0x1920e3),_0x5c3556));}function formatAnchoredFileRead(_0x3d7852){const _0x129dee={_0x23f0e6:0x414,_0x4385cf:0x76c,_0x2b1137:0x748,_0x25cc46:0x869,_0x56c2a1:0x463,_0x5a7b5e:0x412,_0x350f50:0x4b2,_0x5c5cf3:0x542,_0x23c2fd:0x1ff,_0x4e451f:0x3a7,_0x59efea:0x3af,_0x6f7bba:0x153,_0x3cc1a5:0x29f,_0x3c8dbd:0x132,_0x3d1b92:0x277,_0x2f4010:0x1ae,_0x3eb93d:0x370,_0x24def3:0x11e,_0x3b4cd7:0x373,_0x64a133:0x820,_0x20003f:0x919,_0xf787a3:0x134,_0x4e6a88:0x1f8,_0x4c085a:0x3bd,_0x518f73:0x2d3,_0x375449:0xf6,_0x5034d6:0x11c,_0x3776c1:0x66,_0x4ec031:0x9a,_0x3e7408:0x7da},_0x5c1984={_0x49574b:0xd8},_0x2cd775={_0x173e0a:0xb},{displayPath:_0x5a597d,snapshot:_0x263119,maxBytes:_0x173299}=_0x3d7852;function _0x33abe5(_0x4c9e80,_0x44786b,_0x4d9d14,_0x2c7825){return _0x47b891(_0x4d9d14,_0x44786b- -0x2a0,_0x4d9d14-_0x2cd775._0x173e0a,_0x2c7825-0x156);}const _0x1650e9=_0x263119[_0x3478e7(0x5dd,0x5a7,_0x129dee._0x23f0e6,_0x129dee._0x4385cf)][_0x3478e7(_0x129dee._0x2b1137,0x7cb,_0x129dee._0x25cc46,0x7b0)],_0x28f003='['+_0x5a597d+'#'+_0x263119[_0x33abe5(0x473,0x4b7,0x3f8,_0x129dee._0x56c2a1)]+']\x0a',_0x30625d=Buffer[_0x33abe5(0x3ea,0x2a8,_0x129dee._0x5a7b5e,_0x129dee._0x350f50)](_0x28f003,_0x33abe5(0x5b6,0x3ed,_0x129dee._0x5c5cf3,0x4ae));if(_0x1650e9===0x0){const _0x157931=''+_0x28f003+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x157931,'displayedLines':[],'truncated':![]};}const _0x33e1d8=clampLine(_0x3d7852[_0x33abe5(_0x129dee._0x23c2fd,_0x129dee._0x4e451f,_0x129dee._0x59efea,0x461)]??0x1,_0x1650e9);function _0x3478e7(_0x2a954f,_0x33fb54,_0x313954,_0x52de54){return _0x47b891(_0x52de54,_0x33fb54-0x193,_0x313954-_0x5c1984._0x49574b,_0x52de54-0xc1);}const _0x36dd74=clampLine(_0x3d7852['lineEnd']??_0x1650e9,_0x1650e9),_0x454860=Math[_0x33abe5(0x268,0x32b,_0x129dee._0x6f7bba,_0x129dee._0x3cc1a5)](_0x33e1d8,_0x36dd74),_0x3aafdd=Math[_0x33abe5(-_0x129dee._0x3c8dbd,0xde,_0x129dee._0x3d1b92,_0x129dee._0x2f4010)](_0x33e1d8,_0x36dd74),_0x4b62e0=[],_0x5639b9=[];let _0x280c9b=_0x30625d;for(let _0x1c05e8=_0x454860;_0x1c05e8<=_0x3aafdd;_0x1c05e8+=0x1){const _0x2834a2=_0x1c05e8+':'+_0x263119['lines'][_0x1c05e8-0x1]+'\x0a',_0x460dcd=Buffer[_0x33abe5(_0x129dee._0x3eb93d,0x2a8,_0x129dee._0x24def3,_0x129dee._0x3b4cd7)](_0x2834a2,_0x3478e7(0x951,_0x129dee._0x64a133,0xa2f,_0x129dee._0x20003f)),_0x509859=_0x1c05e8+0x1,_0xcb67b1=Buffer['byteLength'](_0x33abe5(-0xa1,_0x129dee._0xf787a3,_0x129dee._0x4e6a88,0x1b4)+_0x509859+'.\x0a',_0x33abe5(_0x129dee._0x4c085a,0x3ed,0x5b2,0x42c));if(_0x280c9b+_0x460dcd+_0xcb67b1>_0x173299){const _0x3518e1='Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x1c05e8+'.\x0a';return{'output':''+_0x28f003+_0x4b62e0[_0x33abe5(0x25b,_0x129dee._0x518f73,_0x129dee._0x375449,0x3a1)]('')+_0x3518e1,'displayedLines':_0x5639b9,'lineStart':_0x454860,'lineEnd':_0x5639b9[_0x5639b9['length']-0x1],'truncated':!![],'nextLineStart':_0x1c05e8};}_0x4b62e0[_0x33abe5(0x1d9,_0x129dee._0x5034d6,-_0x129dee._0x3776c1,_0x129dee._0x4ec031)](_0x2834a2),_0x5639b9['push'](_0x1c05e8),_0x280c9b+=_0x460dcd;}return{'output':''+_0x28f003+_0x4b62e0[_0x3478e7(0x7b4,0x706,0x728,_0x129dee._0x3e7408)](''),'displayedLines':_0x5639b9,'lineStart':_0x454860,'lineEnd':_0x3aafdd,'truncated':![]};}function isWithinDisplayColumns(_0x9c1909,_0x57c969){return _0x56c308(_0x9c1909)<=_0x57c969;}import{randomUUID}from'crypto';import{chmod,rename,rm,writeFile as _0x43ca5e}from'fs/promises';import*as _0x234993 from'path';var defaultFileSystem={'writeFile':_0x43ca5e,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x596e67,_0x4a80d4,_0x573a14,_0x55b687){const _0x4c04cb={_0x3871e8:0x4f,_0x11cb56:0x4a5,_0x84ffb2:0x315,_0x3eed37:0x2c0,_0x4b1131:0x28a,_0x1aec3c:0x29b,_0x50bd78:0x3fd,_0x185f9f:0x380,_0x36f7b2:0x22f,_0x2457eb:0x5f4},_0x1972ec={_0x21f822:0x10d},_0x9140c8={_0x500d00:0x145,_0x133054:0x108};function _0x2f41e2(_0x36905e,_0x5da02d,_0x3e9e8e,_0x27eb69){return _0xe18bb0(_0x5da02d,_0x36905e-0x396,_0x3e9e8e-_0x9140c8._0x500d00,_0x27eb69-_0x9140c8._0x133054);}const _0x1d8240=_0x55b687??defaultFileSystem;function _0x570caa(_0x1efdc2,_0x2169b2,_0x2f92ef,_0x1776ff){return _0xe18bb0(_0x2169b2,_0x1efdc2-0x215,_0x2f92ef-0x1b2,_0x1776ff-_0x1972ec._0x21f822);}const _0x5c4efc=_0x234993[_0x570caa(0x1bf,-_0x4c04cb._0x3871e8,0x2f3,0x39)](_0x596e67),_0x1b6ed7=_0x234993[_0x2f41e2(0x478,_0x4c04cb._0x11cb56,_0x4c04cb._0x84ffb2,_0x4c04cb._0x3eed37)](_0x5c4efc,'.tmp.'+_0x234993[_0x2f41e2(_0x4c04cb._0x4b1131,0x248,0x252,0x354)](_0x596e67)+'.'+randomUUID()),_0xba1f1d=_0x573a14&0xfff;try{await _0x1d8240[_0x570caa(0x14c,0x46,-0xa7,0x29)](_0x1b6ed7,_0x4a80d4,{'mode':_0xba1f1d}),await _0x1d8240[_0x2f41e2(_0x4c04cb._0x1aec3c,_0x4c04cb._0x50bd78,_0x4c04cb._0x185f9f,_0x4c04cb._0x36f7b2)](_0x1b6ed7,_0xba1f1d),await _0x1d8240[_0x2f41e2(0x5f2,_0x4c04cb._0x2457eb,0x707,0x5f8)](_0x1b6ed7,_0x596e67);}finally{await _0x1d8240['rm'](_0x1b6ed7,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x4fe6c3,_0x2c0e42){const _0x27f925={_0xcb69ba:0x9e,_0x305dc0:0x8,_0x39f788:0x1bd},_0x361301={_0x10f7ec:0x8b},_0x216737={_0x1571bc:0x51b,_0x3c65f3:0x31};function _0x13f734(_0x3a8d50,_0x1a0974,_0x21e9cf,_0x11093a){return _0xe18bb0(_0x1a0974,_0x11093a-_0x216737._0x1571bc,_0x21e9cf-_0x216737._0x3c65f3,_0x11093a-0x107);}function _0x24010a(_0x315d22,_0x2e1fe0,_0x1de8c1,_0xc4f0cb){return _0x47b891(_0x315d22,_0x2e1fe0- -0x3a2,_0x1de8c1-0x140,_0xc4f0cb-_0x361301._0x10f7ec);}throw createAnchoredFileError(_0x24010a(-_0x27f925._0xcb69ba,_0x27f925._0x305dc0,-0x135,0x1f),_0x2c0e42+'\x20'+_0x4fe6c3+_0x24010a(0x454,0x3af,_0x27f925._0x39f788,0x2f2),{'path':_0x4fe6c3});}function createNormalizedFileSnapshot(_0x3861d4,_0x35ea86,_0x1e2857){const _0x4e60c1={_0x458caf:0x4d,_0x15b80e:0x7e,_0x5df3b1:0x5b5,_0xda79aa:0x55a,_0x207321:0x3a5,_0x4fa3bc:0x346,_0xd1b6df:0x2ea,_0x103491:0x29,_0xbfde4c:0x3d,_0x40de65:0x1fe,_0x296930:0x331,_0x40cef8:0x744,_0x2f7ccf:0x4ae,_0x4e3291:0x5a1,_0x4fe747:0xf5,_0x12b090:0x45,_0x4087ae:0x5e1,_0x410117:0x468,_0xdae077:0x40a,_0x5d8887:0x544,_0x3357b6:0x54d,_0x53044f:0x5ef,_0x508741:0x697,_0x1a2d06:0x6b8,_0x332961:0x102,_0x559d9d:0x364,_0x14d961:0x2ba,_0x30d1bc:0x2f1,_0x121abb:0x343,_0x57e425:0x4d3,_0x1e9cd0:0x555,_0x23b29e:0x48a,_0x436fdc:0x361,_0x1f31ad:0x37,_0x30c606:0x18d,_0x2cabbf:0x24a,_0x4a011e:0x181,_0x546210:0xf3,_0xc3ff8a:0x1ec,_0x357d2b:0x22d,_0x11654a:0x16b,_0x14046a:0x28b,_0xe58d02:0x1b4},_0x381801={_0x12ddaa:0x448},_0x57eaf8={_0x325c67:0x1c8};Buffer[_0x32a3b2(-0xfe,0x1f,_0x4e60c1._0x458caf,_0x4e60c1._0x15b80e)](_0x35ea86)['includes'](0x0)&&exactReplacementGuidance(_0x3861d4,_0x32a3b2(_0x4e60c1._0x5df3b1,_0x4e60c1._0xda79aa,0x40e,_0x4e60c1._0x207321)+_0x3861d4+_0x32a3b2(_0x4e60c1._0x4fa3bc,_0x4e60c1._0xd1b6df,0x24b,0x1a6));let _0x304956;function _0x32a3b2(_0x3ac969,_0x1b331d,_0x1d8397,_0x237b1d){return _0x47b891(_0x3ac969,_0x237b1d- -0x35c,_0x1d8397-_0x57eaf8._0x325c67,_0x237b1d-0x1c1);}try{_0x304956=utf8Decoder[_0x32a3b2(_0x4e60c1._0x103491,-0x1d2,-0x16,_0x4e60c1._0xbfde4c)](_0x35ea86);}catch{exactReplacementGuidance(_0x3861d4,_0x32a3b2(_0x4e60c1._0x40de65,0x336,0x3c4,0x3a5)+_0x3861d4+_0x32a3b2(0x382,0x24b,_0x4e60c1._0x296930,0x18b));}const _0x3cd2d6=_0x304956[_0x565338(_0x4e60c1._0x40cef8,_0x4e60c1._0x2f7ccf,0x62e,_0x4e60c1._0x4e3291)](0x0)===0xfeff;if(_0x3cd2d6)_0x304956=_0x304956[_0x32a3b2(-0x190,0xa,_0x4e60c1._0x4fe747,_0x4e60c1._0x12b090)](0x1);const _0x1d1fac=_0x304956[_0x565338(_0x4e60c1._0x4087ae,_0x4e60c1._0x410117,_0x4e60c1._0xdae077,_0x4e60c1._0x5d8887)]('\x0d\x0a'),_0x10c54a=/(?<!\r)\n/[_0x565338(0x539,_0x4e60c1._0x3357b6,0x510,0x688)](_0x304956);_0x1d1fac&&_0x10c54a&&exactReplacementGuidance(_0x3861d4,_0x565338(0x678,_0x4e60c1._0x53044f,_0x4e60c1._0x508741,_0x4e60c1._0x1a2d06)+_0x3861d4+_0x32a3b2(_0x4e60c1._0x332961,_0x4e60c1._0x559d9d,_0x4e60c1._0x14d961,0x253));const _0x2c027f=_0x1d1fac?_0x32a3b2(_0x4e60c1._0x30d1bc,0x4ac,0x304,0x2d3):'lf',_0x43077d=_0x1d1fac?_0x304956[_0x32a3b2(0x4d2,_0x4e60c1._0x121abb,0x537,0x3f8)](/\r\n/g,'\x0a'):_0x304956,_0x1fd5ae=_0x43077d[_0x32a3b2(_0x4e60c1._0x57e425,_0x4e60c1._0x1e9cd0,_0x4e60c1._0x23b29e,_0x4e60c1._0x436fdc)]('\x0a'),_0x551411=_0x43077d===''?[]:_0x43077d['split']('\x0a')[_0x32a3b2(_0x4e60c1._0x1f31ad,-_0x4e60c1._0x30c606,0x151,0x45)](0x0,_0x1fd5ae?-0x1:void 0x0),_0x23c9ce=sha256Bytes(_0x43077d);function _0x565338(_0xed65bd,_0x1ac0c0,_0x3f2d34,_0x5aa6dd){return _0xe18bb0(_0x1ac0c0,_0x5aa6dd-_0x381801._0x12ddaa,_0x3f2d34-0x142,_0x5aa6dd-0x16d);}const _0x2bd683=_0x23c9ce['slice'](0x0,0xc)[_0x32a3b2(0x2ea,_0x4e60c1._0x2cabbf,_0x4e60c1._0x4a011e,_0x4e60c1._0x546210)]();return{'canonicalPath':_0x3861d4,'text':_0x43077d,'lines':_0x551411,'finalNewline':_0x1fd5ae,'bom':_0x3cd2d6,'eol':_0x2c027f,'digest':_0x23c9ce,'tag':_0x2bd683,'utf8Bytes':Buffer[_0x32a3b2(0x18c,0x39,-0xb,_0x4e60c1._0xc3ff8a)](_0x43077d,'utf8'),'recordedAt':_0x1e2857??Date[_0x32a3b2(_0x4e60c1._0x357d2b,_0x4e60c1._0x11654a,_0x4e60c1._0x14046a,_0x4e60c1._0xe58d02)]()};}function serializeNormalizedFile(_0x3399f0,_0x5ce23f){const _0x56156b={_0x106d84:0x7b,_0x372a23:0x3f,_0x2d8098:0x11,_0x158821:0x2c1,_0x274d1c:0x315,_0x4eaa69:0xdc,_0x4901ba:0x1da,_0x185606:0x15e,_0x30b7e8:0x24e,_0x118e37:0x158,_0x2a7e2b:0x217,_0x28482c:0x31e},_0x2df19b={_0x2c5ffd:0xb5},_0x18005b=_0x5ce23f[_0x54c128(_0x56156b._0x106d84,-_0x56156b._0x372a23,-_0x56156b._0x2d8098,0x255)]==='crlf'?_0x3399f0[_0x4defdc(_0x56156b._0x158821,0x1f7,_0x56156b._0x274d1c,0x4cd)](/\n/g,'\x0d\x0a'):_0x3399f0;function _0x54c128(_0x445504,_0x2cbc69,_0x271585,_0xc1e7c9){return _0xe18bb0(_0xc1e7c9,_0x445504- -0xfe,_0x271585-0xe6,_0xc1e7c9-0x18f);}function _0x4defdc(_0x51ddcc,_0x29227d,_0x3d8504,_0x5a08ae){return _0x47b891(_0x29227d,_0x3d8504- -0x43f,_0x3d8504-0x1a6,_0x5a08ae-_0x2df19b._0x2c5ffd);}const _0x172986=Buffer[_0x4defdc(-_0x56156b._0x4eaa69,0x181,-0x65,0x3d)](_0x18005b,_0x4defdc(_0x56156b._0x4901ba,_0x56156b._0x185606,_0x56156b._0x30b7e8,_0x56156b._0x118e37));return _0x5ce23f['bom']?Buffer[_0x4defdc(0x1ee,_0x56156b._0x2a7e2b,_0x56156b._0x28482c,0x279)]([Buffer['from']([0xef,0xbb,0xbf]),_0x172986]):_0x172986;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x41ddcc){const _0x3aaf9d={_0x541571:0x615,_0x5a7e3f:0x55b,_0x1bb9d2:0x585,_0x14d242:0x4c2},_0x1e6c6e={_0xd8e8fa:0x536,_0xe94edc:0x1b1,_0x3b1b61:0xd4};function _0x92d568(_0x58842f,_0x4e5a3c,_0x367399,_0x113f5c){return _0xe18bb0(_0x367399,_0x113f5c-0x4a5,_0x367399-0x107,_0x113f5c-0x1d);}function _0x329a27(_0x476c90,_0x15255e,_0x351457,_0x36094d){return _0xe18bb0(_0x476c90,_0x36094d-_0x1e6c6e._0xd8e8fa,_0x351457-_0x1e6c6e._0xe94edc,_0x36094d-_0x1e6c6e._0x3b1b61);}return textEncoder[_0x329a27(0x818,0x80a,0x63b,_0x3aaf9d._0x541571)](_0x41ddcc)[_0x92d568(_0x3aaf9d._0x5a7e3f,_0x3aaf9d._0x1bb9d2,_0x3aaf9d._0x14d242,0x64c)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x47b891(0x50e,0x6e0,0x708,0x8b5),'properties':{'operation':{'type':'string','enum':[_0xe18bb0(0x38b,0x2c3,0xbd,0x384)]},'startLine':{'type':_0x47b891(0x442,0x3d7,0x21a,0x32a)},'endLine':{'type':_0xe18bb0(0x1e,-0xba,-0xec,-0x110)},'content':{'type':_0x47b891(0x59e,0x5b7,0x3cc,0x52c)}},'required':[_0xe18bb0(0x1cc,0x23d,0x73,0x38),_0x47b891(0x69b,0x704,0x569,0x50a),'endLine','content'],'additionalProperties':![]},deleteOperationSchema={'type':'object','properties':{'operation':{'type':'string','enum':[_0xe18bb0(0x1bb,0x14d,0x1c4,0x249)]},'startLine':{'type':_0x47b891(0x455,0x3d7,0x1d8,0x4ce)},'endLine':{'type':_0xe18bb0(-0x25e,-0xba,-0x248,-0x220)}},'required':['operation','startLine','endLine'],'additionalProperties':![]},insertOperationSchema={'type':_0xe18bb0(0x35b,0x24f,0x3e5,0x2c3),'properties':{'operation':{'type':_0xe18bb0(0x304,0x126,0x256,-0x50),'enum':[_0xe18bb0(0x5e,0x112,0x1ff,0x204)]},'position':{'type':_0x47b891(0x573,0x5b7,0x4df,0x6b3),'enum':['before',_0xe18bb0(0x1cc,0x13e,0x159,-0x36)]},'line':{'type':_0x47b891(0x47f,0x3d7,0x336,0x4f5)},'content':{'type':_0xe18bb0(0x12,0x126,0xe9,0x112)}},'required':[_0xe18bb0(0x427,0x23d,0x2a2,0x237),_0x47b891(0x431,0x5ac,0x73e,0x717),_0xe18bb0(0xc2,-0x88,0x45,-0x289),'content'],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x47b891(0x899,0x6e0,0x577,0x5c7),'properties':{'filePath':{'type':'string'},'tag':{'type':_0x47b891(0x654,0x5b7,0x40d,0x7c4)},'description':{'type':_0x47b891(0x55f,0x5b7,0x697,0x4a6)},'operations':{'type':_0x47b891(0x6fc,0x5c4,0x6dd,0x765),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x47b891(0x73d,0x744,0x772,0x87a)}},'required':[_0x47b891(0x4d0,0x66f,0x47f,0x6fd),'tag','operations'],'additionalProperties':![]};function requireValidLineNumber(_0x769d32,_0x237d56){const _0xe7aa99={_0x5c2670:0x890,_0x9af2e8:0x976};function _0x4dc9e4(_0x568b47,_0x468f61,_0x5c6f1e,_0xa699a6){return _0xe18bb0(_0x468f61,_0x568b47-0x496,_0x5c6f1e-0x17a,_0xa699a6-0x138);}function _0x2201b6(_0x58fd9f,_0x40c659,_0x155635,_0x48fef1){return _0xe18bb0(_0x48fef1,_0x155635-0x45,_0x155635-0x146,_0x48fef1-0x141);}if(!Number['isSafeInteger'](_0x769d32)||_0x769d32<0x1)throw createAnchoredFileError(_0x4dc9e4(0x771,0x8ef,_0xe7aa99._0x5c2670,_0xe7aa99._0x9af2e8),_0x237d56+_0x2201b6(0xfd,-0x87,0xec,0x285)+String(_0x769d32)+'.');}function parseStructuredFileEditInput(_0x1f75ae){const _0x5586d8={_0x21eeab:0xe4,_0x17951d:0x9b,_0x43db66:0xa3,_0x27c318:0x13,_0x4ff094:0x21c,_0x312952:0x178,_0x4fff50:0x13,_0x48b18a:0x283,_0x32109b:0x348,_0x536878:0x49d,_0x1180b6:0x4f2,_0x325e8f:0x43a,_0x278a80:0x5dd,_0x519ce2:0xe,_0x422ef8:0x6a,_0x418dca:0x178,_0x228ba4:0x509,_0x2d2bd5:0x28a,_0x215b92:0x23,_0x192b88:0x11e,_0x125c41:0x1e5,_0x240dd5:0x2a,_0x3495e6:0x2fc,_0x112f83:0x3b0,_0x52a955:0x467,_0x4ad066:0x4fe,_0x422078:0x83,_0x5f5d0c:0x25,_0x2a5f61:0x12b,_0x4381ed:0x23d,_0x1aa60d:0x8b,_0x4b2dfb:0xa7,_0x1b0509:0x58,_0x5c58d4:0x1b0,_0x38a368:0xc6,_0x11a2ad:0x284,_0x11a2dc:0x3de,_0x32201c:0x298,_0x43574e:0x363,_0x377eec:0x374,_0x303d8f:0x263,_0xcd6089:0x394,_0x3e135e:0x431,_0x876395:0x3e7,_0x48a0b2:0xd6,_0x540f74:0x69,_0x326e29:0xd7,_0x557f5a:0x1d7,_0x123299:0x21d,_0x5c1ad1:0x160,_0x2d034f:0xb8,_0x45b4cc:0x3d7,_0x4ac277:0xe,_0x7cd9af:0x6c,_0x1e2bc7:0x20d,_0x1cea0f:0x431,_0x571756:0x29a,_0x5670bb:0x32a,_0x292634:0x414,_0x4235e8:0xce,_0x5c24b7:0x15a,_0x6154b5:0x9d,_0x4e8bc3:0x1a,_0x5ba225:0xcc,_0x9a8af4:0xa3,_0xd18259:0x60,_0x3d54cf:0x3bb,_0x1971c5:0x1cf,_0x5cc400:0x17f,_0x3a2f1a:0x103,_0x52c3da:0xb8,_0x2acdc8:0x210,_0x35a70b:0x3a,_0x5825ea:0x71,_0x66cd9d:0x3cf,_0x1350af:0x3d7,_0x506d84:0x29e,_0x492030:0x249,_0xa82002:0x32,_0x4ad979:0xf1,_0x4ba71b:0xfd,_0x91b157:0x467,_0x272a34:0x42d,_0x3f6809:0x1bd,_0x129d58:0x67,_0x3de505:0x8f,_0x146f6f:0x1e3},_0x2d9731={_0x126110:0x1a1,_0x355666:0xf9,_0x48065b:0x68},_0x451598={_0x20b4cd:0xe1,_0x4ac486:0x73},_0x1a9f01=_0x1f75ae;if(_0x1a9f01!==null&&typeof _0x1a9f01===_0x5cf1c1(0x14a,0x6d,_0x5586d8._0x21eeab,0x16e)&&!Array['isArray'](_0x1a9f01)&&Array['isArray'](_0x1a9f01[_0x5cf1c1(0x1ed,_0x5586d8._0x17951d,-_0x5586d8._0x43db66,_0x5586d8._0x27c318)])&&_0x1a9f01[_0x5cf1c1(-0x171,_0x5586d8._0x4ff094,_0x5586d8._0x312952,_0x5586d8._0x4fff50)][_0x1e8aaa(0x32d,_0x5586d8._0x48b18a,_0x5586d8._0x32109b,0x4d5)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x1e8aaa(0x344,_0x5586d8._0x536878,0x47c,0x538),_0x1e8aaa(0x58f,_0x5586d8._0x1180b6,_0x5586d8._0x325e8f,0x527)+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x469927;try{_0x469927=validateToolInput(_0x1f75ae,structuredFileEditInputSchema);}catch(_0x442cb3){const _0xd5237e=_0x442cb3 instanceof Error?_0x442cb3['message']:String(_0x442cb3);throw createAnchoredFileError(_0x1e8aaa(0x68a,_0x5586d8._0x278a80,0x47c,0x422),_0x5cf1c1(-_0x5586d8._0x519ce2,_0x5586d8._0x422ef8,-0x96,-_0x5586d8._0x418dca)+_0xd5237e);}function _0x5cf1c1(_0x43df11,_0x4e66ce,_0x375f27,_0x370ba7){return _0xe18bb0(_0x375f27,_0x370ba7- -_0x451598._0x20b4cd,_0x375f27-0xe1,_0x370ba7-_0x451598._0x4ac486);}if(!TAG_PATTERN[_0x1e8aaa(_0x5586d8._0x228ba4,0x2c5,0x3e1,0x226)](_0x469927[_0x5cf1c1(_0x5586d8._0x2d2bd5,-_0x5586d8._0x215b92,_0x5586d8._0x192b88,_0x5586d8._0x125c41)]))throw createAnchoredFileError('invalid_patch',_0x5cf1c1(_0x5586d8._0x240dd5,0xe5,_0x5586d8._0x3495e6,0x204)+_0x469927[_0x1e8aaa(_0x5586d8._0x112f83,0x4e8,_0x5586d8._0x52a955,_0x5586d8._0x4ad066)]+'\x27.');if(_0x469927['operations'][_0x5cf1c1(_0x5586d8._0x422078,-0x112,-_0x5586d8._0x5f5d0c,0xc6)]===0x0)throw createAnchoredFileError(_0x5cf1c1(_0x5586d8._0x2a5f61,0x3cb,_0x5586d8._0x4381ed,0x1fa),'At\x20least\x20one\x20anchored\x20operation\x20is\x20required.');function _0x1e8aaa(_0x584310,_0xc0b4b,_0x138c21,_0x3904c0){return _0xe18bb0(_0xc0b4b,_0x138c21-_0x2d9731._0x126110,_0x138c21-_0x2d9731._0x355666,_0x3904c0-_0x2d9731._0x48065b);}if(_0x469927[_0x5cf1c1(_0x5586d8._0x1aa60d,0x118,_0x5586d8._0x4b2dfb,0x13)][_0x5cf1c1(_0x5586d8._0x1b0509,_0x5586d8._0x5c58d4,0x199,_0x5586d8._0x38a368)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError('invalid_patch','At\x20most\x20'+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x12d3ef=0x0;const _0xacb6fc=[];for(const _0x4d8b5e of _0x469927[_0x1e8aaa(0xad,0x1ac,0x295,_0x5586d8._0x11a2ad)]){switch(_0x4d8b5e[_0x1e8aaa(0x1eb,0x439,_0x5586d8._0x11a2dc,0x55b)]){case'replace':{requireValidLineNumber(_0x4d8b5e[_0x5cf1c1(_0x5586d8._0x32201c,0x1bc,0x21b,0x192)],_0x1e8aaa(_0x5586d8._0x43574e,_0x5586d8._0x377eec,_0x5586d8._0x303d8f,0x20d)),requireValidLineNumber(_0x4d8b5e[_0x1e8aaa(0x220,_0x5586d8._0xcd6089,_0x5586d8._0x3e135e,_0x5586d8._0x876395)],_0x5cf1c1(-_0x5586d8._0x48a0b2,0x111,-0x13b,_0x5586d8._0x540f74));if(_0x4d8b5e['startLine']>_0x4d8b5e['endLine'])throw createAnchoredFileError(_0x5cf1c1(0x1a7,0xe5,0x146,0x1fa),_0x5cf1c1(_0x5586d8._0x1b0509,-_0x5586d8._0x326e29,_0x5586d8._0x557f5a,0x4d));_0x12d3ef+=utf8Bytes(_0x4d8b5e[_0x1e8aaa(0x177,0x3d0,0x29e,0x15e)]);if(_0x12d3ef>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x5cf1c1(0x26f,_0x5586d8._0x123299,0x122,0xca)+MAX_ANCHORED_CONTENT_BYTES+_0x5cf1c1(0x1cf,0x1d3,_0x5586d8._0x5c1ad1,_0x5586d8._0x2d034f));_0xacb6fc['push']({'operation':'replace','startLine':_0x4d8b5e['startLine'],'endLine':_0x4d8b5e[_0x1e8aaa(0x543,_0x5586d8._0x45b4cc,0x431,0x32f)],'content':_0x4d8b5e[_0x5cf1c1(-_0x5586d8._0x4ac277,-0x73,0x1a8,0x1c)]});break;}case _0x5cf1c1(-0x3d,-0x77,-0x6,_0x5586d8._0x7cd9af):{requireValidLineNumber(_0x4d8b5e['startLine'],_0x5cf1c1(_0x5586d8._0x1e2bc7,_0x5586d8._0x4ac277,0x3ad,0x1f0)),requireValidLineNumber(_0x4d8b5e[_0x1e8aaa(0x259,0x433,_0x5586d8._0x1cea0f,0x50c)],_0x1e8aaa(0x253,0x8a,_0x5586d8._0x571756,_0x5586d8._0x5670bb));if(_0x4d8b5e[_0x1e8aaa(0x4ac,0x3b8,_0x5586d8._0x292634,0x4f1)]>_0x4d8b5e['endLine'])throw createAnchoredFileError(_0x1e8aaa(0x542,0x5e6,0x47c,0x432),_0x5cf1c1(_0x5586d8._0x4235e8,_0x5586d8._0x5c24b7,_0x5586d8._0x6154b5,_0x5586d8._0x4e8bc3));_0xacb6fc[_0x1e8aaa(0x1f1,-0x56,_0x5586d8._0x5ba225,-0x8d)]({'operation':_0x1e8aaa(0x33f,0x3e3,0x2ee,0x204),'startLine':_0x4d8b5e['startLine'],'endLine':_0x4d8b5e['endLine']});break;}case'insert':{requireValidLineNumber(_0x4d8b5e['line'],_0x5cf1c1(-0x218,-0xe0,0x134,-_0x5586d8._0x9a8af4)),_0x12d3ef+=utf8Bytes(_0x4d8b5e[_0x5cf1c1(0xd,-_0x5586d8._0xd18259,-0x38,0x1c)]);if(_0x12d3ef>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x1e8aaa(0x2d8,0x649,0x47c,_0x5586d8._0x3d54cf),_0x5cf1c1(_0x5586d8._0x1971c5,-0x56,-0x134,0xca)+MAX_ANCHORED_CONTENT_BYTES+_0x5cf1c1(-0x11e,_0x5586d8._0x5cc400,-_0x5586d8._0x3a2f1a,_0x5586d8._0x52c3da));_0xacb6fc['push']({'operation':'insert','position':_0x4d8b5e[_0x5cf1c1(0x51,_0x5586d8._0x2acdc8,0x131,_0x5586d8._0x35a70b)],'line':_0x4d8b5e[_0x5cf1c1(-0x174,-0xb2,-_0x5586d8._0x5825ea,-0x169)],'content':_0x4d8b5e[_0x1e8aaa(_0x5586d8._0x66cd9d,_0x5586d8._0x1350af,_0x5586d8._0x506d84,0x38c)]});break;}}}return{'filePath':_0x469927[_0x5cf1c1(_0x5586d8._0x492030,_0x5586d8._0xa82002,-_0x5586d8._0x4ad979,_0x5586d8._0x4ba71b)],'tag':_0x469927[_0x1e8aaa(0x49c,0x37f,_0x5586d8._0x91b157,_0x5586d8._0x272a34)],'operations':_0xacb6fc,'dryRun':_0x469927[_0x5cf1c1(0x399,_0x5586d8._0x3f6809,-0x34,0x1d4)]??![],..._0x469927[_0x5cf1c1(-0x2d8,0x9,-0x392,-0x1e3)]!==void 0x0?{'description':_0x469927[_0x5cf1c1(-_0x5586d8._0x129d58,-0x219,-_0x5586d8._0x3de505,-_0x5586d8._0x146f6f)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/,REPLACE=/^PUT ([1-9]\d*)\.=([1-9]\d*):$/,INSERT=/^PUT ([<>])([1-9]\d*):$/,DELETE=/^CUT ([1-9]\d*)\.=([1-9]\d*)$/,textEncoder2=new TextEncoder();function utf8Bytes2(_0x444f67){const _0x36584f={_0x4bd115:0x75d,_0x5d2746:0x8bd},_0xcb5f9a={_0x2434a8:0x8e};function _0x46a93d(_0x134bee,_0x57dc58,_0x4d4973,_0x2b0cc3){return _0xe18bb0(_0x4d4973,_0x134bee-0x5b6,_0x4d4973-0x1ab,_0x2b0cc3-_0xcb5f9a._0x2434a8);}return textEncoder2['encode'](_0x444f67)[_0x46a93d(_0x36584f._0x4bd115,0x6ed,_0x36584f._0x5d2746,0x788)];}function preview(_0x57fbe0){const _0x121086={_0x4f953d:0x49b,_0x5b537c:0x30b,_0x451565:0x3a1,_0x49b954:0x406},_0x7a65ad={_0x4b69e5:0x100},_0x4d7bb9={_0x248626:0x491};function _0x334d35(_0x20f229,_0x4ae3a5,_0x533a30,_0x534af3){return _0xe18bb0(_0x533a30,_0x534af3-_0x4d7bb9._0x248626,_0x533a30-0x25,_0x534af3-0xe);}function _0x15ceae(_0x33a5c2,_0x571998,_0x56f74d,_0x5c108a){return _0xe18bb0(_0x56f74d,_0x33a5c2-0x186,_0x56f74d-0x12c,_0x5c108a-_0x7a65ad._0x4b69e5);}return _0x57fbe0['length']>0x3c?_0x57fbe0[_0x334d35(_0x121086._0x4f953d,0x397,_0x121086._0x5b537c,_0x121086._0x451565)](0x0,0x3c)+_0x334d35(0x4b6,0x53f,_0x121086._0x49b954,0x576):_0x57fbe0;}var hashlineFileEditInputSchema={'type':_0xe18bb0(0x24a,0x24f,0x33b,0x31b),'properties':{'patch':{'type':_0xe18bb0(0x252,0x126,0x2af,0x330)},'description':{'type':'string'},'dryRun':{'type':_0x47b891(0x6f0,0x744,0x871,0x6ac)}},'required':[_0xe18bb0(0x90,0x1b8,0x315,0x10b)],'additionalProperties':![]};function requireLineNumber(_0x5298d1,_0x4397c6){const _0xe3da85={_0x192e5a:0x899,_0x47fe51:0x7ab,_0x3d6ebf:0x627,_0x1bcf3c:0x745,_0x30b143:0x55c,_0x528412:0x62d},_0x366912={_0x33a62b:0x69,_0x4316b5:0x3e};function _0x3374d5(_0x5a8299,_0x4e9d6b,_0x56037d,_0x485a59){return _0x47b891(_0x4e9d6b,_0x56037d-0x1c1,_0x56037d-0x18b,_0x485a59-0x1c);}if(_0x5298d1[_0x1acea5(0x6ad,_0xe3da85._0x192e5a,_0xe3da85._0x47fe51,0x6a1)]>0x10)throw createAnchoredFileError(_0x1acea5(_0xe3da85._0x3d6ebf,_0xe3da85._0x1bcf3c,0x9b6,0x7d5),_0x4397c6+'\x20exceeds\x20the\x20safe-integer\x20range.');function _0x1acea5(_0x16ded8,_0x22254e,_0x4e6df0,_0x42c313){return _0x47b891(_0x16ded8,_0x42c313-_0x366912._0x33a62b,_0x4e6df0-0x2d,_0x42c313-_0x366912._0x4316b5);}const _0x52fb64=Number(_0x5298d1);if(!Number[_0x1acea5(_0xe3da85._0x30b143,0x471,0x42c,0x46d)](_0x52fb64)||_0x52fb64<0x1)throw createAnchoredFileError('invalid_patch',_0x4397c6+_0x3374d5(0x832,_0xe3da85._0x528412,0x6f9,0x4f6)+_0x5298d1+'.');return _0x52fb64;}function parseHashlineFileEditInput(_0x3cb3e9){const _0x2a22c1={_0x3e72d5:0x202,_0x186336:0x4fb,_0x5ac882:0x380,_0x52d34d:0x411,_0x50f7c1:0x387,_0x14774d:0x3d8,_0x1cdd6a:0x448,_0x5b9f2f:0x5c7,_0xf7156d:0x18d,_0x19d5d6:0x33b,_0x574360:0x4ff,_0x20db38:0x333,_0x2ee111:0x245,_0x40bba5:0x1bb,_0x51ff2c:0x1f7,_0x3f6c0f:0x280,_0x5c729a:0x1d,_0x139dd4:0x3e3,_0x4ea477:0x120,_0x46b4f9:0x24c,_0x3893d3:0x510,_0x3eac3c:0x426,_0x41a860:0x5c6,_0x2c1ea3:0x2f2,_0x45cbb0:0x25a,_0x557bb0:0x14f,_0x2f5deb:0x51a,_0x47755b:0x555,_0x23e009:0x2df,_0x19d404:0x2bb,_0x1d0217:0x402,_0x5e4040:0x30b,_0x5670c0:0x25c,_0x2107c8:0x66e,_0x4dfca3:0x51a,_0xeef651:0x47d,_0x1a5413:0x308,_0x281764:0x83,_0x2bd931:0x291,_0x5eb0f4:0xb7,_0x52681f:0x14e,_0x4eedea:0x35,_0x46abf3:0x1b7,_0x45a5bb:0x2e7,_0x1b13f0:0x2c8,_0x3470d9:0x3aa,_0x45964a:0x1e1,_0x4f738d:0x2f5,_0x366945:0x11a,_0x2a0772:0x1d1,_0x2ec4ce:0x2e8,_0x54477e:0x284,_0x76626e:0xff,_0x4a0c1e:0x9c,_0x210597:0x4c3,_0x4204bf:0x33a,_0x1ce006:0x29e,_0x49c788:0x1df,_0x2c2f36:0x12,_0xa9407a:0x1f2,_0x18fd68:0x3cb,_0xad49c6:0x51a,_0x20bcd2:0x5f5,_0x15d7df:0x337,_0x149353:0x2ee,_0x38a9e0:0x551,_0x9281bd:0x520,_0x6bd36a:0x51a,_0x33e452:0x16a,_0x3df9cb:0x332,_0x2412bc:0x155,_0x1776bf:0x151,_0x5698bd:0x5d,_0x166e97:0xb8},_0x115b6a={_0x2cfb93:0x252,_0x1a96b1:0xc4,_0x4b2089:0x111},_0x369459={_0x52772e:0x9e,_0x49edd9:0x1d2,_0x41c209:0x26,_0x3814ca:0x218,_0x5ea930:0x69,_0x3b6ecd:0x1ba,_0x3ca409:0x1fc,_0x179246:0x19d,_0x2b7575:0x188,_0x45b887:0x281,_0x265193:0x9,_0x5179b8:0xb9,_0x319242:0xf7},_0x3d9433={_0x39d179:0x162},_0x1f3a83={_0x28dbdd:0x1cd,_0x169fd6:0x2a9},_0x579d6b={_0x2a5d60:0x944,_0x21be62:0x84b,_0x395bb8:0x16b,_0x35a58a:0x226,_0x368ad3:0x5f,_0x160db1:0x24d,_0x370f77:0x32b},_0x1c7559={_0x19ef04:0x195};let _0x5656c5;function _0x47ffa9(_0x4e963b,_0x3acd28,_0x3e7471,_0x2b8057){return _0xe18bb0(_0x4e963b,_0x3e7471-0xa5,_0x3e7471-_0x1c7559._0x19ef04,_0x2b8057-0xc1);}try{_0x5656c5=validateToolInput(_0x3cb3e9,hashlineFileEditInputSchema);}catch(_0x13b419){const _0x507907=_0x13b419 instanceof Error?_0x13b419['message']:String(_0x13b419);throw createAnchoredFileError(_0x47ffa9(_0x2a22c1._0x3e72d5,0x3e5,0x380,_0x2a22c1._0x186336),'Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x507907);}const {patch:_0x27ced0}=_0x5656c5;if(utf8Bytes2(_0x27ced0)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x47ffa9(0x230,0x1e1,_0x2a22c1._0x5ac882,0x3b0),_0x47ffa9(_0x2a22c1._0x52d34d,_0x2a22c1._0x50f7c1,0x3a1,0x586)+MAX_ANCHORED_CONTENT_BYTES+_0x55e0fc(0x589,_0x2a22c1._0x14774d,_0x2a22c1._0x1cdd6a,_0x2a22c1._0x5b9f2f));if(_0x27ced0[_0x55e0fc(_0x2a22c1._0xf7156d,_0x2a22c1._0x19d5d6,0x318,0x321)]('\x0d'))throw createAnchoredFileError(_0x47ffa9(_0x2a22c1._0x574360,_0x2a22c1._0x20db38,0x380,0x1f4),_0x47ffa9(0x25e,0x381,_0x2a22c1._0x2ee111,_0x2a22c1._0x40bba5));const _0xc5b105=_0x27ced0[_0x55e0fc(_0x2a22c1._0x51ff2c,0x1d6,_0x2a22c1._0x3f6c0f,_0x2a22c1._0x5c729a)]('\x0a'),_0x1137d6=[],_0x3e671b=_0x454ee8=>{const _0x435c4a={_0x4f8792:0xbf,_0x5b697b:0x42a},_0x563a35={_0x5935d4:0x29f,_0x3bb40f:0x4b};function _0x3ad1ad(_0x10edc4,_0x18799c,_0x2f15fe,_0x5a622d){return _0x55e0fc(_0x10edc4-0xa6,_0x10edc4- -_0x563a35._0x5935d4,_0x2f15fe-_0x563a35._0x3bb40f,_0x5a622d);}function _0x422825(_0x13fbb2,_0x5ebb91,_0x26a3f5,_0x335995){return _0x55e0fc(_0x13fbb2-_0x435c4a._0x4f8792,_0x26a3f5-_0x435c4a._0x5b697b,_0x26a3f5-0x28,_0x5ebb91);}if(_0x1137d6['length']>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x422825(0x79c,0x7d6,_0x579d6b._0x2a5d60,_0x579d6b._0x21be62),_0x3ad1ad(0x239,0x437,0x407,_0x579d6b._0x395bb8)+MAX_ANCHORED_OPERATIONS+_0x3ad1ad(0x1b,_0x579d6b._0x35a58a,-0xb1,_0x579d6b._0x368ad3));_0x1137d6[_0x3ad1ad(-0x135,-_0x579d6b._0x160db1,-0xa5,-_0x579d6b._0x370f77)](_0x454ee8);};let _0x5f48a0,_0x71ada7,_0x8788a5=![],_0x191ebc=![],_0x4ed639,_0x2cf23f,_0x2af456=0x0,_0x3dbad6=0x0,_0x24e896=[];const _0x2b8212=()=>{if(!_0x191ebc)return;function _0x354d20(_0x1fd733,_0x42ddea,_0x41673b,_0x49c239){return _0x55e0fc(_0x1fd733-_0x1f3a83._0x28dbdd,_0x49c239-_0x1f3a83._0x169fd6,_0x41673b-0x11f,_0x41673b);}function _0x4b0524(_0x31db46,_0x58dbc8,_0x49580d,_0x34ecae){return _0x47ffa9(_0x34ecae,_0x58dbc8-0x78,_0x31db46- -0x1ae,_0x34ecae-_0x3d9433._0x39d179);}if(_0x24e896[_0x4b0524(_0x369459._0x52772e,0x1c,0x219,-0x7)]===0x0)throw createAnchoredFileError(_0x4b0524(_0x369459._0x49edd9,_0x369459._0x41c209,_0x369459._0x3814ca,0x1cf),_0x4b0524(-0xd5,-0x182,-_0x369459._0x5ea930,-0x59));const _0x520384=_0x24e896['join']('\x0a');_0x4ed639===_0x4b0524(_0x369459._0x3b6ecd,_0x369459._0x3ca409,_0x369459._0x179246,_0x369459._0x2b7575)?_0x3e671b({'operation':_0x4b0524(0x1ba,0xac,_0x369459._0x45b887,0x1c7),'startLine':_0x2af456,'endLine':_0x3dbad6,'content':_0x520384}):_0x3e671b({'operation':_0x4b0524(_0x369459._0x265193,-_0x369459._0x5179b8,0xcb,_0x369459._0x319242),'position':_0x2cf23f,'line':_0x2af456,'content':_0x520384}),_0x191ebc=![],_0x24e896=[];};for(const _0x516bef of _0xc5b105){if(_0x516bef[_0x47ffa9(_0x2a22c1._0x139dd4,_0x2a22c1._0x4ea477,_0x2a22c1._0x46b4f9,0x8e)]===0x0)continue;if(_0x191ebc&&_0x516bef[_0x55e0fc(_0x2a22c1._0x3893d3,_0x2a22c1._0x3eac3c,_0x2a22c1._0x41a860,_0x2a22c1._0x2c1ea3)]('+')){_0x24e896[_0x55e0fc(0x24d,0x16a,0x5b,0x95)](_0x516bef[_0x55e0fc(_0x2a22c1._0x45cbb0,_0x2a22c1._0x557bb0,0x10d,0x14a)](0x1));continue;}_0x2b8212();if(!_0x8788a5){const _0x5e6b63=HEADER['exec'](_0x516bef);if(_0x5e6b63===null)throw createAnchoredFileError(_0x55e0fc(0x5db,_0x2a22c1._0x2f5deb,0x41b,_0x2a22c1._0x47755b),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');_0x5f48a0=_0x5e6b63[0x1],_0x71ada7=_0x5e6b63[0x2],_0x8788a5=!![];continue;}const _0x296cfa=REPLACE[_0x55e0fc(0x25e,0x30b,_0x2a22c1._0x23e009,_0x2a22c1._0x19d404)](_0x516bef);if(_0x296cfa!==null){const _0x3beb2d=requireLineNumber(_0x296cfa[0x1],_0x47ffa9(_0x2a22c1._0x1d0217,0x31d,_0x2a22c1._0x5e4040,0x124)),_0x58305b=requireLineNumber(_0x296cfa[0x2],_0x55e0fc(0x3f1,_0x2a22c1._0x5670c0,0x18e,_0x2a22c1._0x46b4f9));if(_0x3beb2d>_0x58305b)throw createAnchoredFileError(_0x55e0fc(_0x2a22c1._0x2107c8,_0x2a22c1._0x4dfca3,0x458,_0x2a22c1._0xeef651),_0x47ffa9(_0x2a22c1._0x1a5413,_0x2a22c1._0x281764,0x1d3,0x2d));_0x191ebc=!![],_0x4ed639='replace',_0x2af456=_0x3beb2d,_0x3dbad6=_0x58305b,_0x24e896=[];continue;}const _0x5b1ff4=INSERT['exec'](_0x516bef);if(_0x5b1ff4!==null){const _0x14ddf8=requireLineNumber(_0x5b1ff4[0x2],_0x47ffa9(0x6a,_0x2a22c1._0x2bd931,_0x2a22c1._0x5eb0f4,_0x2a22c1._0x52681f));_0x191ebc=!![],_0x4ed639=_0x47ffa9(0x3c1,-_0x2a22c1._0x4eedea,_0x2a22c1._0x46abf3,0x314),_0x2cf23f=_0x5b1ff4[0x1]==='<'?_0x47ffa9(0x17f,0x4c5,_0x2a22c1._0x45a5bb,_0x2a22c1._0x1b13f0):'after',_0x2af456=_0x14ddf8,_0x24e896=[];continue;}const _0x3adca0=DELETE[_0x55e0fc(_0x2a22c1._0x3470d9,_0x2a22c1._0x5e4040,_0x2a22c1._0x45964a,_0x2a22c1._0x4f738d)](_0x516bef);if(_0x3adca0!==null){const _0x1b84fb=requireLineNumber(_0x3adca0[0x1],_0x55e0fc(_0x2a22c1._0x366945,_0x2a22c1._0x2a0772,_0x2a22c1._0x2ec4ce,0x1f2)),_0x1fbfb7=requireLineNumber(_0x3adca0[0x2],_0x47ffa9(0x238,_0x2a22c1._0x54477e,_0x2a22c1._0x76626e,_0x2a22c1._0x4a0c1e));if(_0x1b84fb>_0x1fbfb7)throw createAnchoredFileError(_0x47ffa9(0x57a,0x22a,_0x2a22c1._0x5ac882,0x4dd),_0x55e0fc(_0x2a22c1._0x210597,_0x2a22c1._0x4204bf,0x1ac,_0x2a22c1._0x1ce006));_0x3e671b({'operation':_0x47ffa9(_0x2a22c1._0x49c788,_0x2a22c1._0x2c2f36,_0x2a22c1._0xa9407a,_0x2a22c1._0x18fd68),'startLine':_0x1b84fb,'endLine':_0x1fbfb7});continue;}throw createAnchoredFileError(_0x55e0fc(0x3a8,_0x2a22c1._0xad49c6,_0x2a22c1._0x20bcd2,_0x2a22c1._0x15d7df),'Unsupported\x20Hashline\x20row:\x20'+preview(_0x516bef));}_0x2b8212();if(!_0x8788a5)throw createAnchoredFileError(_0x47ffa9(0x411,_0x2a22c1._0x149353,0x380,0x358),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0x1137d6[_0x55e0fc(0x464,0x3e6,0x50f,_0x2a22c1._0x38a9e0)]===0x0)throw createAnchoredFileError(_0x55e0fc(_0x2a22c1._0x9281bd,_0x2a22c1._0x6bd36a,0x366,0x507),_0x55e0fc(_0x2a22c1._0x33e452,0x29b,0x458,0x472));function _0x55e0fc(_0x29d8f1,_0x48784c,_0x1fd084,_0x2ad0fc){return _0x47b891(_0x2ad0fc,_0x48784c- -_0x115b6a._0x2cfb93,_0x1fd084-_0x115b6a._0x1a96b1,_0x2ad0fc-_0x115b6a._0x4b2089);}return{'filePath':_0x5f48a0,'tag':_0x71ada7,'operations':_0x1137d6,'dryRun':_0x5656c5['dryRun']??![],..._0x5656c5[_0x55e0fc(-0x41,0x13d,_0x2a22c1._0x3df9cb,0xa1)]!==void 0x0?{'description':_0x5656c5[_0x47ffa9(-_0x2a22c1._0x2412bc,_0x2a22c1._0x1776bf,-_0x2a22c1._0x5698bd,-_0x2a22c1._0x166e97)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x3f477e from'path';function isPathInside(_0x182b1f,_0x3c8c86){const _0x2b88ed={_0x4b4b7f:0xf5,_0x5301cb:0x1e9,_0x14efe2:0x1c9,_0x25ac4c:0x5ac,_0x14338c:0x66d,_0x128b5e:0x84b,_0x4a7bc1:0x606,_0x10021e:0x76b},_0x4b6941={_0x4aeba3:0xe},_0x5eb488={_0x42ebce:0xda};function _0x2f398f(_0x26e76f,_0x1c0bab,_0x4efbe2,_0x61e4fc){return _0xe18bb0(_0x26e76f,_0x61e4fc-0x567,_0x4efbe2-0x18f,_0x61e4fc-_0x5eb488._0x42ebce);}function _0x1c2a9b(_0x484c3f,_0x4fa786,_0x449f8a,_0xdf9005){return _0x47b891(_0xdf9005,_0x484c3f- -0x33d,_0x449f8a-0x1c,_0xdf9005-_0x4b6941._0x4aeba3);}const _0x58f306=_0x3f477e[_0x1c2a9b(_0x2b88ed._0x4b4b7f,0x2e5,_0x2b88ed._0x5301cb,_0x2b88ed._0x14efe2)](_0x182b1f),_0x15db97=_0x3f477e[_0x2f398f(0x450,_0x2b88ed._0x25ac4c,_0x2b88ed._0x14338c,0x462)](_0x58f306,_0x3c8c86);return _0x15db97===''||!_0x15db97['startsWith']('..')&&!_0x3f477e[_0x2f398f(_0x2b88ed._0x128b5e,_0x2b88ed._0x4a7bc1,0x8be,_0x2b88ed._0x10021e)](_0x15db97);}function resolveWorkspacePath(_0x1e1407,_0x3efca2){return resolveAllowedPath(_0x1e1407,[],_0x3efca2);}function resolveAllowedPath(_0xadf469,_0x11cc20,_0x26fd62){const _0x3b53b6={_0x50caff:0x4b2,_0xd075a2:0x5e7,_0x5ab118:0x5bb,_0x3b4138:0x48d,_0x24ee45:0xfc,_0x246950:0x100,_0x2303cf:0xb3,_0x636cac:0x110,_0x4daa0b:0x130,_0x1b3029:0x58e,_0x311ef9:0x52d,_0x3cdf49:0x75d},_0x27ba7a={_0x5317e5:0x54e,_0x208780:0x142,_0x326a9e:0x103},_0x47ea52={_0x1efa5b:0x511},_0x2b9ca5=_0x3f477e[_0x48807d(_0x3b53b6._0x50caff,0x539,_0x3b53b6._0xd075a2,_0x3b53b6._0x5ab118)](_0xadf469),_0x22043e=_0x3f477e[_0x48807d(0x4b2,0x5ce,_0x3b53b6._0x3b4138,0x561)](_0x2b9ca5,_0x26fd62);function _0x48807d(_0x227fd3,_0x906aa2,_0x539eb1,_0x554bca){return _0xe18bb0(_0x539eb1,_0x227fd3-_0x47ea52._0x1efa5b,_0x539eb1-0x117,_0x554bca-0x8c);}const _0x33b3e2=[_0x2b9ca5,..._0x11cc20[_0xf6677b(0x257,_0x3b53b6._0x24ee45,_0x3b53b6._0x246950,_0x3b53b6._0x2303cf)](_0x4d0477=>_0x3f477e[_0x48807d(0x4b2,0x337,0x638,0x483)](_0x4d0477))];if(_0x33b3e2[_0xf6677b(_0x3b53b6._0x636cac,0x2ab,0x1e0,_0x3b53b6._0x4daa0b)](_0x20e746=>isPathInside(_0x20e746,_0x22043e)))return _0x22043e;function _0xf6677b(_0x1f2289,_0x595bba,_0x1ee290,_0x2ab760){return _0x47b891(_0x595bba,_0x2ab760- -_0x27ba7a._0x5317e5,_0x1ee290-_0x27ba7a._0x208780,_0x2ab760-_0x27ba7a._0x326a9e);}throw new ToolExecutionError(_0x48807d(_0x3b53b6._0x1b3029,_0x3b53b6._0x311ef9,_0x3b53b6._0x3cdf49,0x385)+_0x26fd62,{'path':_0x26fd62,'rootDir':_0x2b9ca5,'allowedDirs':_0x33b3e2});}async function resolveCanonicalAllowedFile(_0x1481df,_0x469617,_0x5f1725){const _0x4bb793={_0x5184d6:0x2a3,_0x151e65:0x368,_0xcd3a49:0x243,_0x1b3c12:0x100,_0x5675fc:0x2ef,_0x33be69:0xc9,_0x1d2f1a:0x281,_0x3fa58c:0x41b},_0xdd539e={_0x22154e:0x104,_0x43f92a:0xdc};function _0x14720f(_0x2d3f06,_0x32bc7d,_0x4bf6d6,_0x3b5d84){return _0x47b891(_0x32bc7d,_0x2d3f06- -0x43b,_0x4bf6d6-0x18d,_0x3b5d84-0xf7);}const _0x3bc3c8=resolveAllowedPath(_0x1481df,_0x469617,_0x5f1725),_0xbfe98e=await realpath(_0x3bc3c8),_0xea14d1=[];for(const _0xe4f00 of[_0x1481df,..._0x469617]){try{_0xea14d1[_0x24edd9(-_0x4bb793._0x5184d6,-0x1d9,-0x1a5,-_0x4bb793._0x151e65)](await realpath(_0xe4f00));}catch{}}if(!_0xea14d1[_0x14720f(_0x4bb793._0xcd3a49,_0x4bb793._0x1b3c12,0x1f6,_0x4bb793._0x5675fc)](_0x268aa5=>isPathInside(_0x268aa5,_0xbfe98e)))throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x5f1725,{'path':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e,'allowedDirs':_0xea14d1});const _0x3d6bc8=await stat(_0xbfe98e);if(!_0x3d6bc8[_0x14720f(0x144,0x84,-_0x4bb793._0x33be69,-0x1d)]())throw new ToolExecutionError(_0x14720f(_0x4bb793._0x1d2f1a,_0x4bb793._0x3fa58c,0x19f,0x73)+_0x5f1725,{'path':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e});function _0x24edd9(_0x1a3f3b,_0x4d7a54,_0x1fa95f,_0x46c2e9){return _0xe18bb0(_0x1fa95f,_0x4d7a54- -_0xdd539e._0x22154e,_0x1fa95f-_0xdd539e._0x43f92a,_0x46c2e9-0xb0);}return{'authoredPath':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e};}async function assertWorkspaceFile(_0x509213){const _0x3cda57={_0xa897:0xaf,_0x79bb87:0x14d,_0x5d1e2e:0xff,_0x168755:0x76a},_0x32d92d={_0x18a8a2:0xae,_0x1b87a6:0xd0};function _0x5374c1(_0x4e9d0d,_0x4bdc6c,_0x3e9ba9,_0x2b10f5){return _0x47b891(_0x4e9d0d,_0x2b10f5- -0x480,_0x3e9ba9-0x4b,_0x2b10f5-0x114);}function _0x4d7564(_0x2b055e,_0x51b411,_0x4a393b,_0x1544ea){return _0x47b891(_0x4a393b,_0x1544ea-_0x32d92d._0x18a8a2,_0x4a393b-_0x32d92d._0x1b87a6,_0x1544ea-0x113);}const _0x430667=await stat(_0x509213);if(!_0x430667[_0x5374c1(_0x3cda57._0xa897,_0x3cda57._0x79bb87,-0x15,_0x3cda57._0x5d1e2e)]())throw new ToolExecutionError(_0x4d7564(0x770,0x75f,0x7ff,_0x3cda57._0x168755)+_0x509213,{'path':_0x509213});}function isProbablyBinary(_0x4edbae){const _0x3f3a2d={_0x539f0e:0x696},_0x298926={_0x4e2fa0:0x59a,_0x332716:0xd1,_0x25089e:0x14f};function _0x511610(_0x2ae6af,_0x3c1d62,_0xdfad00,_0x287558){return _0xe18bb0(_0x2ae6af,_0x3c1d62-_0x298926._0x4e2fa0,_0xdfad00-_0x298926._0x332716,_0x287558-_0x298926._0x25089e);}return _0x4edbae[_0x511610(0x71f,_0x3f3a2d._0x539f0e,0x72a,0x4d5)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x7e5d1b=>_0x31666b(_0x7e5d1b),'stat':_0x55eef6=>_0x5249bb(_0x55eef6),'atomicWrite':(_0x35d3fc,_0x86e0d0,_0x494136)=>atomicReplaceFile(_0x35d3fc,_0x86e0d0,_0x494136)};function parseAnchoredInput(_0x32f512,_0x317e8f){const _0x3fd1fb={_0x4467e6:0x22,_0xc49ed:0xef,_0x594809:0x13a},_0x28c0a5={_0x1757fa:0x174};if(_0x32f512===_0xeef59f(-0xa0,-_0x3fd1fb._0x4467e6,_0x3fd1fb._0xc49ed,-_0x3fd1fb._0x594809))return parseHashlineFileEditInput(_0x317e8f);function _0xeef59f(_0x4e5778,_0x537c8f,_0x127251,_0x403dcc){return _0x47b891(_0x127251,_0x4e5778- -0x456,_0x127251-0x12d,_0x403dcc-_0x28c0a5._0x1757fa);}return parseStructuredFileEditInput(_0x317e8f);}function stableStringify2(_0x3e9fb0){const _0x2c3121={_0x5b5869:0x1b8,_0x3fbe59:0x2bc,_0x5dc276:0xf,_0x23fe53:0xe2,_0x3aff32:0xa1},_0x3b3e77={_0x135282:0x1c1},_0x4ea568={_0x20aa3d:0xea};function _0x217ee3(_0x2fb21b,_0x4668d2,_0x5e5a1a,_0x36f37c){return _0xe18bb0(_0x4668d2,_0x2fb21b- -0x97,_0x5e5a1a-0xb4,_0x36f37c-_0x4ea568._0x20aa3d);}if(Array['isArray'](_0x3e9fb0))return'['+_0x3e9fb0[_0x217ee3(0xd9,0x219,-0x4b,0x14e)](stableStringify2)['join'](',')+']';function _0x38b0d0(_0x594c82,_0x451b4c,_0x5b3da6,_0x5536bc){return _0x47b891(_0x5b3da6,_0x451b4c- -0x24,_0x5b3da6-0x1c8,_0x5536bc-_0x3b3e77._0x135282);}if(_0x3e9fb0!==null&&typeof _0x3e9fb0===_0x217ee3(_0x2c3121._0x5b5869,_0x2c3121._0x3fbe59,0x3b0,0x261)){const _0x1448a9=_0x3e9fb0;return'{'+Object[_0x217ee3(-0xa9,_0x2c3121._0x5dc276,-0x118,-_0x2c3121._0x23fe53)](_0x1448a9)['sort']()['map'](_0x4abb04=>JSON[_0x217ee3(0x85,-0xe8,-0x87,0xaa)](_0x4abb04)+':'+stableStringify2(_0x1448a9[_0x4abb04]))['join'](',')+'}';}return JSON[_0x217ee3(0x85,_0x2c3121._0x3aff32,0x9,0xdf)](_0x3e9fb0);}function normalizeOperationContent(_0xb52200){const _0x533bb3={_0x500233:0x401,_0x4e7653:0x481,_0x54f962:0x180,_0x924c81:0x1b5,_0x15266a:0xf0,_0x5716f0:0x208,_0x217c66:0x2e4,_0x3d68b5:0x2ad,_0x464843:0x15c,_0x1255bb:0x4,_0x1f589e:0x163,_0x21abda:0x243,_0x554ec3:0x23,_0x3a8db2:0x10c,_0x229a7e:0x282},_0x3c870a={_0x15a283:0x1c4,_0x2c4482:0x11b,_0x43e720:0x1b3},_0x38b84e={_0x8c7bda:0x1e2,_0x11d0f5:0xf5};function _0x5aef5b(_0x1ec0ae,_0xcea63a,_0x2cabfc,_0x2f208d){return _0xe18bb0(_0x2f208d,_0x2cabfc- -0x10e,_0x2cabfc-_0x38b84e._0x8c7bda,_0x2f208d-_0x38b84e._0x11d0f5);}if(_0xb52200[_0x39ac64(0x318,0x2e9,_0x533bb3._0x500233,_0x533bb3._0x4e7653)]===_0x5aef5b(_0x533bb3._0x54f962,0x254,_0x533bb3._0x924c81,_0x533bb3._0x15266a)||_0xb52200[_0x39ac64(_0x533bb3._0x5716f0,_0x533bb3._0x217c66,0x401,_0x533bb3._0x3d68b5)]===_0x5aef5b(-0x1e7,_0x533bb3._0x464843,_0x533bb3._0x1255bb,-0xea))return{..._0xb52200,'content':_0xb52200[_0x39ac64(0x1c0,_0x533bb3._0x1f589e,0x2c1,_0x533bb3._0x21abda)][_0x5aef5b(-_0x533bb3._0x554ec3,_0x533bb3._0x3a8db2,0x1b5,_0x533bb3._0x229a7e)](/\r\n/g,'\x0a')};function _0x39ac64(_0x3a445c,_0x4668a3,_0x214f73,_0x731cfa){return _0xe18bb0(_0x731cfa,_0x214f73-_0x3c870a._0x15a283,_0x214f73-_0x3c870a._0x2c4482,_0x731cfa-_0x3c870a._0x43e720);}return _0xb52200;}function computePayloadDigest(_0x162739){const _0x48d2c9={_0x2d4fbf:0x251,_0x58e554:0x2da,_0x2823a1:0x554},_0x5a2740={_0x25dc80:0x260,_0x22e6f9:0xf0};function _0x3fcd05(_0x46f455,_0x1dba45,_0x3bd98f,_0x18bbbd){return _0x47b891(_0x3bd98f,_0x46f455- -_0x5a2740._0x25dc80,_0x3bd98f-_0x5a2740._0x22e6f9,_0x18bbbd-0x79);}return sha256Bytes(stableStringify2(_0x162739[_0x3fcd05(0x3a1,_0x48d2c9._0x2d4fbf,_0x48d2c9._0x58e554,_0x48d2c9._0x2823a1)](normalizeOperationContent)));}function collectRequiredLines(_0x4824a9){const _0x5decb8={_0x114e4d:0x493,_0x5f04c0:0x5fc,_0x141279:0x509,_0x15db26:0x78d,_0x8dcdc9:0x84b,_0x14649e:0x478,_0x3574b5:0x3b4,_0x884f0d:0x3ad,_0x32c538:0x4fe,_0xb47196:0x78d,_0x4c2536:0x966,_0x1a13ad:0x8cf,_0x4ed22c:0x7e5},_0x4e650d={_0x4d42f1:0x6f,_0x31c4e1:0xde};function _0x1ea87f(_0x486574,_0x35db60,_0x32f0c4,_0x3a6c79){return _0x47b891(_0x35db60,_0x486574-_0x4e650d._0x4d42f1,_0x32f0c4-_0x4e650d._0x31c4e1,_0x3a6c79-0x175);}const _0x1a9ddf=new Set();for(const _0xfc7fc3 of _0x4824a9){if(_0xfc7fc3['operation']===_0x204d9f(_0x5decb8._0x114e4d,0x39b,_0x5decb8._0x5f04c0,_0x5decb8._0x141279))_0x1a9ddf[_0x1ea87f(_0x5decb8._0x15db26,_0x5decb8._0x8dcdc9,0x5e9,0x6f1)](_0xfc7fc3[_0x1ea87f(_0x5decb8._0x14649e,_0x5decb8._0x3574b5,0x649,_0x5decb8._0x884f0d)]);else for(let _0x5a6dce=_0xfc7fc3['startLine'];_0x5a6dce<=_0xfc7fc3[_0x204d9f(0x611,0x68c,0x70a,_0x5decb8._0x32c538)];_0x5a6dce+=0x1){_0x1a9ddf[_0x1ea87f(_0x5decb8._0xb47196,_0x5decb8._0x4c2536,_0x5decb8._0x1a13ad,_0x5decb8._0x4ed22c)](_0x5a6dce);}}function _0x204d9f(_0x3a73f0,_0x2d9828,_0x19cc36,_0x2b4299){return _0xe18bb0(_0x2d9828,_0x3a73f0-0x381,_0x19cc36-0x1d4,_0x2b4299-0xdb);}return[..._0x1a9ddf]['sort']((_0x6fa6ed,_0x44ebf8)=>_0x6fa6ed-_0x44ebf8);}async function resolveEditTarget(_0x521411,_0x2f32db,_0x142f1b){const _0x3eef21={_0x4cc668:0x8e5,_0x1f8872:0x91f,_0x50488e:0x85c,_0x35385d:0x7a0,_0xdd00f0:0x8b1},_0x518630={_0x542912:0x690},_0x2f7b98={_0x5ae8fe:0x1a1};function _0x199799(_0x66efbf,_0x223b19,_0x402590,_0x1b5ead){return _0xe18bb0(_0x66efbf,_0x223b19-0x135,_0x402590-_0x2f7b98._0x5ae8fe,_0x1b5ead-0x194);}function _0x5e5c35(_0x485e67,_0x3c530a,_0x2a5e63,_0x51e521){return _0xe18bb0(_0x51e521,_0x485e67-_0x518630._0x542912,_0x2a5e63-0x8f,_0x51e521-0x169);}try{return await resolveCanonicalAllowedFile(_0x521411,_0x2f32db,_0x142f1b);}catch(_0x3d5de2){if(_0x3d5de2 instanceof ToolExecutionError)throw _0x3d5de2;const _0x1896c2=_0x3d5de2 instanceof Error?_0x3d5de2[_0x5e5c35(_0x3eef21._0x4cc668,_0x3eef21._0x1f8872,0xa36,_0x3eef21._0x50488e)]:String(_0x3d5de2);throw createAnchoredFileError(_0x5e5c35(0x5a9,0x440,0x5e8,_0x3eef21._0x35385d),'unknown_snapshot:\x20Unable\x20to\x20read\x20'+_0x142f1b+_0x5e5c35(0x773,0x6b8,_0x3eef21._0xdd00f0,0x94d)+_0x1896c2+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x142f1b});}}async function readLiveSnapshot(_0x589f07,_0x57e8df){const _0x3ae256={_0x1c6cc4:0x43b,_0x3c4818:0x439,_0x139fb8:0x3b5,_0x3c479f:0x26f},_0x4b3096={_0x5cf5ec:0x494},_0x9cd32c={_0x67e141:0x2ab,_0x24663f:0x63,_0x313d51:0x1de};let _0x33b513;try{_0x33b513=await _0x31666b(_0x589f07);}catch(_0x3c8fc4){const _0x336004=_0x3c8fc4 instanceof Error?_0x3c8fc4[_0x1fd604(_0x3ae256._0x1c6cc4,0x3e9,0x45c,_0x3ae256._0x3c4818)]:String(_0x3c8fc4);throw createAnchoredFileError('unknown_snapshot',_0x1fd604(0x2f0,0x4b6,_0x3ae256._0x139fb8,_0x3ae256._0x3c479f)+_0x57e8df+'\x20for\x20an\x20anchored\x20snapshot\x20('+_0x336004+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x57e8df});}function _0x1fd604(_0x34e5a5,_0x6a227d,_0x3499bb,_0x594a9d){return _0x47b891(_0x6a227d,_0x34e5a5- -_0x9cd32c._0x67e141,_0x3499bb-_0x9cd32c._0x24663f,_0x594a9d-_0x9cd32c._0x313d51);}function _0x52ecbd(_0x9bdfeb,_0x75d2ea,_0x427253,_0x1058ea){return _0xe18bb0(_0x75d2ea,_0x9bdfeb-_0x4b3096._0x5cf5ec,_0x427253-0x7,_0x1058ea-0x76);}return createNormalizedFileSnapshot(_0x589f07,_0x33b513);}function staleSnapshotMessageText(_0x20a222,_0x5b8c28){const _0x12f269={_0x543614:0x3b3,_0x167da6:0x493,_0x4c4056:0x13,_0x4381dd:0x363,_0x5b24b4:0x44,_0x2cb5b4:0x1a9},_0x5df6f2={_0x437d36:0x1be},_0x4a3358={_0x2f2781:0x28f,_0x2069f0:0x66,_0x562dc3:0x194};function _0x20fda4(_0x35eeda,_0x30a82d,_0x31af38,_0x476a86){return _0xe18bb0(_0x31af38,_0x476a86-_0x4a3358._0x2f2781,_0x31af38-_0x4a3358._0x2069f0,_0x476a86-_0x4a3358._0x562dc3);}function _0x281ecc(_0x2678b8,_0x3d0616,_0xeadf85,_0x4f2ac1){return _0xe18bb0(_0x3d0616,_0xeadf85-0x259,_0xeadf85-0xd4,_0x4f2ac1-_0x5df6f2._0x437d36);}return{'reasonLine':_0x281ecc(_0x12f269._0x543614,_0x12f269._0x167da6,0x317,0x495)+_0x5b8c28+_0x281ecc(-_0x12f269._0x4c4056,_0x12f269._0x4381dd,0x1be,-_0x12f269._0x5b24b4),'guidance':'File\x20'+_0x20a222+_0x281ecc(0xf2,_0x12f269._0x2cb5b4,0x1fc,0x22d)};}function unseenLinesMessageText(){const _0x525829={_0x3afb9d:0x50c},_0x3d7fed={_0x462790:0x2cb,_0xc47a97:0x3c};function _0x24ba9b(_0x616b4a,_0x26e7f5,_0x27329a,_0xd7dfdc){return _0xe18bb0(_0x26e7f5,_0xd7dfdc-_0x3d7fed._0x462790,_0x27329a-_0x3d7fed._0xc47a97,_0xd7dfdc-0x8b);}function _0x5433ae(_0x4a450a,_0x4feaa7,_0x2651ef,_0x3c92a5){return _0xe18bb0(_0x4a450a,_0x2651ef-0x197,_0x2651ef-0x127,_0x3c92a5-0x79);}return{'reasonLine':_0x24ba9b(0x4e7,0x367,_0x525829._0x3afb9d,0x3db),'guidance':_0x24ba9b(0x2b2,0x542,0x5ce,0x425)};}function noChangeMessageText(_0x1425c2,_0x159edc){const _0x168508={_0x4e796e:0x366,_0x1bc36f:0x2a6,_0x34c246:0x3e2,_0x19439e:0x1dd,_0x4adff9:0x56d,_0x24f76d:0x423,_0x310241:0x23c,_0x1b4f35:0x3e9},_0xdd10a={_0x13a8c0:0xde,_0x9cc944:0x1b0},_0x11da30={_0x596c10:0xb3};function _0x313e51(_0x13bef0,_0x8ab392,_0x24f9d3,_0x256bfc){return _0xe18bb0(_0x8ab392,_0x13bef0-0x447,_0x24f9d3-_0x11da30._0x596c10,_0x256bfc-0x2b);}function _0x5bb7a6(_0x16a12f,_0x36ce4e,_0x285974,_0x5e07f5){return _0xe18bb0(_0x16a12f,_0x285974-0x23f,_0x285974-_0xdd10a._0x13a8c0,_0x5e07f5-_0xdd10a._0x9cc944);}const _0xb827c0=_0x159edc>=0x3;return{'reasonLine':_0x5bb7a6(_0x168508._0x4e796e,0x399,0x402,0x53c)+_0x1425c2+_0x313e51(0x374,_0x168508._0x1bc36f,_0x168508._0x34c246,_0x168508._0x19439e),'guidance':_0xb827c0?_0x313e51(0x416,0x3be,_0x168508._0x4adff9,_0x168508._0x24f76d):_0x5bb7a6(_0x168508._0x310241,0x562,_0x168508._0x1b4f35,0x55f)};}function buildRecoveryContext(_0x3aacc4,_0x30e250,_0xe7c062,_0x50e2b6,_0x4c9ec6,_0x5e3a2c){const _0x57d97d={_0x5d2c64:0x37d,_0x2a8573:0x58d,_0x3c7c38:0x4ed,_0x7398fa:0x3b6,_0x2932aa:0x4fd,_0x4f1e69:0x1e5,_0x3c02d5:0x126,_0xcbe7fb:0x420,_0x4f469a:0x246,_0x568f78:0x3de,_0x5ed011:0x3fb,_0x2e5d25:0x3a0,_0x214832:0x361,_0xfef30e:0x480,_0x58076b:0x38c,_0x1e6096:0x25b,_0x2c2a65:0x32f,_0x2de007:0x564,_0x19f1d2:0x41d,_0xf6b364:0x49b,_0x506e33:0x230,_0x40a450:0x56b,_0x3d1851:0x3ce,_0x2480bb:0x4ea,_0x33e158:0x30a,_0x105030:0x8e,_0x13e765:0x1ca,_0x283538:0x63f,_0x8cab90:0x29d,_0x3c394e:0x34b,_0x357c63:0x433,_0x33a7f3:0x630,_0x4a167b:0x2fd,_0xbb4b8a:0xa6},_0xe4faa1={_0x404234:0xdf},_0x10e273='['+_0x3aacc4+'#'+_0x30e250[_0xe7047b(_0x57d97d._0x5d2c64,_0x57d97d._0x2a8573,0x53f,_0x57d97d._0x3c7c38)]+']';function _0x3437a1(_0x1dc94d,_0xf98d85,_0x2a0a64,_0x40f52d){return _0x47b891(_0xf98d85,_0x2a0a64- -0x25a,_0x2a0a64-0x1a6,_0x40f52d-0x104);}const _0x24e6e7={'tag':_0x30e250[_0x3437a1(_0x57d97d._0x7398fa,0x322,_0x57d97d._0x2932aa,0x39c)],'digest':_0x30e250[_0x3437a1(_0x57d97d._0x4f1e69,_0x57d97d._0x3c02d5,0x255,0x401)],'contextLines':[],'output':_0x4c9ec6+'\x0a'+_0x10e273+'\x0a'+_0x5e3a2c},_0x34b926=_0x30e250['lines'][_0x3437a1(_0x57d97d._0xcbe7fb,_0x57d97d._0x4f469a,_0x57d97d._0x568f78,_0x57d97d._0x5ed011)],_0x2486a3=[...new Set(_0xe7c062[_0xe7047b(_0x57d97d._0x2e5d25,0x44c,_0x57d97d._0x214832,_0x57d97d._0xfef30e)](_0x11a27d=>Number['isSafeInteger'](_0x11a27d)&&_0x11a27d>=0x1&&_0x11a27d<=_0x34b926))][_0x3437a1(0x3ac,_0x57d97d._0x58076b,0x37e,_0x57d97d._0x1e6096)]((_0x569065,_0x317ba7)=>_0x569065-_0x317ba7);if(_0x2486a3[_0x3437a1(0x4f8,_0x57d97d._0x2c2a65,0x3de,_0x57d97d._0x2de007)]===0x0)return _0x24e6e7;const _0x315016=_0x2486a3[_0x2486a3[_0xe7047b(_0x57d97d._0x19f1d2,_0x57d97d._0xf6b364,0x321,0x3ce)]-0x1]-_0x2486a3[0x0]+0x1;if(_0x315016>0x14)return _0x24e6e7;for(const _0x1932b1 of _0x2486a3){if(!isWithinDisplayColumns(_0x30e250[_0x3437a1(0x1e,0x2f4,0x1ba,0x63)][_0x1932b1-0x1],0x200))return _0x24e6e7;}const _0x40fccf=formatAnchoredFileRead({'displayPath':_0x3aacc4,'snapshot':_0x30e250,'lineStart':_0x2486a3[0x0],'lineEnd':_0x2486a3[_0x2486a3[_0xe7047b(_0x57d97d._0x506e33,_0x57d97d._0x40a450,0x3a9,_0x57d97d._0x3d1851)]-0x1],'maxBytes':_0x50e2b6});if(_0x40fccf[_0xe7047b(_0x57d97d._0x2480bb,0x2f6,0x412,0x33f)]||_0x40fccf[_0x3437a1(_0x57d97d._0x33e158,_0x57d97d._0x105030,0x213,_0x57d97d._0x13e765)]['length']===0x0)return _0x24e6e7;function _0xe7047b(_0x1fb1a8,_0xb8b2a2,_0x1b6b88,_0xf114dc){return _0xe18bb0(_0xb8b2a2,_0xf114dc-0x227,_0x1b6b88-0x1cc,_0xf114dc-_0xe4faa1._0x404234);}const _0xfb5928=_0x4c9ec6+'\x0a'+_0x40fccf[_0x3437a1(0x48b,_0x57d97d._0x283538,0x459,0x2e8)]['trimEnd']()+'\x0a'+_0x5e3a2c;if(Buffer['byteLength'](_0xfb5928,_0x3437a1(_0x57d97d._0x8cab90,_0x57d97d._0x3c394e,_0x57d97d._0x357c63,0x3b5))>_0x50e2b6)return _0x24e6e7;return{'tag':_0x30e250[_0xe7047b(_0x57d97d._0x33a7f3,_0x57d97d._0x4a167b,0x673,0x4ed)],'digest':_0x30e250[_0x3437a1(0x214,_0x57d97d._0xbb4b8a,0x255,0x3cb)],'contextLines':[..._0x40fccf[_0xe7047b(0x27d,0x388,0x33c,0x203)]],'output':_0xfb5928};}function assertPreviewWithinBounds(_0x98c1f9,_0x550ce2,_0x227838){const _0x19493b={_0x23bca5:0x65b,_0x310fcd:0x455,_0xe7193d:0x54d,_0x38abfc:0x5ae,_0x4a62aa:0x838,_0x3c8bc6:0x5df,_0x21e142:0x6d6,_0x90016c:0x8eb},_0x592ed5={_0x3440d0:0x4ae,_0x2404d8:0xb4},_0x308e7a={_0x724c86:0x4b},_0x35f1d5=_0x98c1f9[_0x4ab2d8(0x4d9,_0x19493b._0x23bca5,_0x19493b._0x310fcd,_0x19493b._0xe7193d)]((_0x1c325b,_0x1ab92c)=>_0x1c325b+Buffer['byteLength'](_0x1ab92c['oldText'],_0x4ab2d8(0x71c,0x8ac,0x857,0x5ec))+Buffer[_0x4ab2d8(0x5d7,0x691,0x62d,0x45e)](_0x1ab92c[_0x2d89e7(0x2c9,0x69e,0x4d7,0x363)],_0x4ab2d8(0x71c,0x8fe,0x678,0x7f5)),0x0);function _0x4ab2d8(_0x36143c,_0x30b958,_0x4f3e7c,_0x30fbd5){return _0xe18bb0(_0x30fbd5,_0x36143c-0x520,_0x4f3e7c-_0x308e7a._0x724c86,_0x30fbd5-0x42);}function _0x2d89e7(_0x30bf07,_0x332796,_0x12f78c,_0x5b22ee){return _0xe18bb0(_0x332796,_0x12f78c-_0x592ed5._0x3440d0,_0x12f78c-_0x592ed5._0x2404d8,_0x5b22ee-0x146);}if(_0x35f1d5>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x2d89e7(0x46f,0x2f2,0x48d,_0x19493b._0x38abfc),_0x4ab2d8(0x820,_0x19493b._0x4a62aa,0x68d,0x779)+_0x35f1d5+_0x4ab2d8(_0x19493b._0x3c8bc6,0x7c2,0x63a,_0x19493b._0x21e142)+MAX_ANCHORED_PREVIEW_BYTES+_0x4ab2d8(0x6f1,0x632,0x7a3,_0x19493b._0x90016c),{'path':_0x227838,'canonicalPath':_0x550ce2,'previewBytes':_0x35f1d5});}function buildPreview(_0x4f1b1d,_0x521362,_0x5523a1,_0xedd458,_0x4a3e97){const _0x10f193={_0x442253:0x37e,_0x4ee6e0:0x482,_0x4e3b24:0x254,_0x3377fc:0x2b0,_0x27bc19:0x1bf,_0x234a2d:0x424,_0x432746:0x3d5},_0x274adf={_0x2a6cb0:0x17a},_0xa6a186={_0x597ce5:0x5de,_0x181b60:0x21};function _0x32bfe4(_0x3a8b33,_0x15c852,_0x2eefdd,_0x513a63){return _0xe18bb0(_0x2eefdd,_0x3a8b33-_0xa6a186._0x597ce5,_0x2eefdd-_0xa6a186._0x181b60,_0x513a63-0xff);}function _0x2a180d(_0x4311ff,_0x25c281,_0xabc5e9,_0x3cd844){return _0x47b891(_0x4311ff,_0x25c281- -0x383,_0xabc5e9-0x112,_0x3cd844-_0x274adf._0x2a6cb0);}return{'mode':_0x4f1b1d,'filePath':_0x521362[_0x2a180d(0x244,0x2ec,_0x10f193._0x442253,0x2f3)],'canonicalPath':_0x5523a1['canonicalPath'],'tag':_0x521362['tag'],'digest':_0xedd458['snapshot'][_0x32bfe4(0x5fc,0x546,_0x10f193._0x4ee6e0,0x49a)],'operationCount':_0x4a3e97['operations'][_0x2a180d(0x147,0x2b5,0x1a6,_0x10f193._0x4e3b24)],'operations':_0x4a3e97[_0x2a180d(0x371,0x202,_0x10f193._0x3377fc,_0x10f193._0x27bc19)],'blocks':_0x4a3e97[_0x2a180d(_0x10f193._0x234a2d,0x338,_0x10f193._0x432746,0x4b5)]};}function buildResultText(_0x7be36c,_0x4d6b4d,_0x20e94c,_0x13005d,_0x2cbcf2){const _0x1fc689={_0x3fc493:0x3ab,_0x44ca51:0x4ea,_0x3c4fc4:0x3ec,_0x5e940e:0x7fe,_0x16100e:0x62f,_0x5c8626:0x56d,_0x5a74d4:0x3b6,_0x3b4211:0x4e3,_0x3fc05c:0x796,_0x21ce48:0x706,_0x415f6a:0x5ed,_0x3c56ff:0x427,_0x53be0d:0x20e},_0x193696={_0x394fae:0x1f2},_0x4267f1={_0x45cdd3:0xa0,_0x23b4e1:0xc1,_0x215d32:0x1bc},_0x13b5ca='['+_0x7be36c+'#'+_0x4d6b4d['tag']+']\x0a'+_0x2cbcf2+'\x0a';let _0x1521ad=Buffer[_0x3d5bf7(0x514,_0x1fc689._0x3fc493,_0x1fc689._0x44ca51,_0x1fc689._0x3c4fc4)](_0x13b5ca,_0x3d5bf7(_0x1fc689._0x5e940e,0x565,_0x1fc689._0x16100e,0x7d9));const _0xe3f116=[],_0x143c06=[];for(const _0x29d5f3 of _0x20e94c){const _0x119970=_0x29d5f3+':'+(_0x4d6b4d[_0x3d5bf7(0x414,_0x1fc689._0x5c8626,_0x1fc689._0x5a74d4,0x235)][_0x29d5f3-0x1]??'')+'\x0a',_0xecad94=Buffer[_0x3d5bf7(_0x1fc689._0x3b4211,0x6da,_0x1fc689._0x44ca51,0x48d)](_0x119970,_0x1e83ac(_0x1fc689._0x3fc05c,_0x1fc689._0x21ce48,_0x1fc689._0x415f6a,_0x1fc689._0x3c56ff));if(_0x1521ad+_0xecad94>_0x13005d)break;_0xe3f116['push'](_0x119970),_0x143c06[_0x1e83ac(0x121,0x30e,0x31c,_0x1fc689._0x53be0d)](_0x29d5f3),_0x1521ad+=_0xecad94;}function _0x1e83ac(_0x9c721,_0x16dfd2,_0x22daef,_0x5a7cae){return _0x47b891(_0x16dfd2,_0x22daef- -_0x4267f1._0x45cdd3,_0x22daef-_0x4267f1._0x23b4e1,_0x5a7cae-_0x4267f1._0x215d32);}function _0x3d5bf7(_0xe2fdb6,_0x3c93e6,_0x207016,_0x3851ab){return _0x47b891(_0x3851ab,_0x207016- -0x5e,_0x207016-0x14e,_0x3851ab-_0x193696._0x394fae);}return{'output':''+_0x13b5ca+_0xe3f116['join'](''),'observedLines':_0x143c06};}function selectChangedContextLines(_0x49510b,_0x1e5098,_0xc1cbe3){const _0x9f6b84={_0x5dc853:0x7d6,_0x20a1e2:0x747,_0x3f0399:0x883,_0x17cc6f:0x567,_0x1c5568:0x3f8,_0x78946a:0x4ab,_0x4dbcaa:0x586,_0x303686:0x3fb,_0x2ef0db:0x534,_0x1f2b3c:0x853,_0x27ef65:0x706,_0x28b980:0x66c,_0x4dcf20:0x358,_0x30b47a:0x3a8,_0x4115b3:0x6bf,_0x59a0ed:0x534,_0x5c22d3:0x6f7,_0x94cfd5:0x720,_0xbf5942:0x559,_0x11fee9:0x63a,_0x6bb4f3:0x426,_0x4346b5:0x595,_0x5bc500:0x779,_0x340c4f:0x418,_0x3fbb78:0x44e,_0x3a4b59:0x355,_0x564dd3:0x85d,_0x4a1f4f:0xa63,_0x5055e7:0x53a,_0x284c62:0x6ab,_0x4a1c62:0x11f,_0x19f47e:0x6b9,_0x22ab5f:0x7c5,_0x206d3f:0x7c5,_0x52c2b3:0x685,_0x55501b:0x29b,_0x539033:0x29d},_0x4adc49={_0x541f0c:0x135,_0x47b7ab:0x18b},_0x595abe={_0x342aa9:0x60,_0x3c7e7a:0x193};function _0x5f3289(_0x50de9f,_0xbb066e,_0x28c11a,_0x3ac2b7){return _0x47b891(_0xbb066e,_0x3ac2b7- -0x104,_0x28c11a-_0x595abe._0x342aa9,_0x3ac2b7-_0x595abe._0x3c7e7a);}const _0x7bb572=new Set();function _0x4ad9f2(_0x23763d,_0x1728da,_0xe76686,_0x2c5a8a){return _0x47b891(_0xe76686,_0x2c5a8a-_0x4adc49._0x541f0c,_0xe76686-0x103,_0x2c5a8a-_0x4adc49._0x47b7ab);}for(const _0x1f49d8 of _0x49510b){const _0x1cc0d4=_0x1f49d8[_0x4ad9f2(0x7f1,0x568,_0x9f6b84._0x5dc853,_0x9f6b84._0x20a1e2)];if(_0xc1cbe3===_0x4ad9f2(0x8b2,_0x9f6b84._0x3f0399,_0x9f6b84._0x17cc6f,0x704)){if(_0x1cc0d4[_0x5f3289(0x28b,0x216,0x2a0,_0x9f6b84._0x1c5568)]>0x0)for(let _0xa70828=_0x1cc0d4['newStartLine'];_0xa70828<=_0x1cc0d4[_0x4ad9f2(_0x9f6b84._0x78946a,0x716,0x600,_0x9f6b84._0x4dbcaa)]&&_0xa70828<=_0x1e5098['lines'][_0x5f3289(_0x9f6b84._0x303686,0x5fa,0x3bf,_0x9f6b84._0x2ef0db)];_0xa70828+=0x1){_0x7bb572[_0x4ad9f2(0x8d2,0xa53,0x645,_0x9f6b84._0x1f2b3c)](_0xa70828);}else _0x1cc0d4['newStartLine']>=0x1&&_0x1cc0d4[_0x5f3289(_0x9f6b84._0x27ef65,0x409,_0x9f6b84._0x28b980,0x559)]<=_0x1e5098['lines'][_0x5f3289(_0x9f6b84._0x4dcf20,_0x9f6b84._0x30b47a,_0x9f6b84._0x4115b3,_0x9f6b84._0x59a0ed)]&&_0x7bb572['add'](_0x1cc0d4[_0x5f3289(_0x9f6b84._0x5c22d3,0x673,_0x9f6b84._0x94cfd5,_0x9f6b84._0xbf5942)]);}else{if(_0x1cc0d4[_0x5f3289(_0x9f6b84._0x11fee9,_0x9f6b84._0x6bb4f3,0x5da,_0x9f6b84._0x4346b5)]>0x0)for(let _0xca9af1=_0x1cc0d4['oldStartLine'];_0xca9af1<=_0x1cc0d4[_0x4ad9f2(0x5fe,0x96c,_0x9f6b84._0x5bc500,0x7dd)]&&_0xca9af1<=_0x1e5098[_0x5f3289(_0x9f6b84._0x340c4f,_0x9f6b84._0x3fbb78,_0x9f6b84._0x3a4b59,0x310)][_0x4ad9f2(0x89e,0x6b7,_0x9f6b84._0x564dd3,0x76d)];_0xca9af1+=0x1){_0x7bb572[_0x4ad9f2(0x94c,_0x9f6b84._0x4a1f4f,0x6ef,0x853)](_0xca9af1);}else _0x1cc0d4[_0x5f3289(_0x9f6b84._0x5055e7,0x459,_0x9f6b84._0x284c62,0x5c5)]>=0x1&&_0x1cc0d4['oldStartLine']<=_0x1e5098[_0x5f3289(0x4f2,0x231,_0x9f6b84._0x4a1c62,0x310)]['length']&&_0x7bb572[_0x4ad9f2(_0x9f6b84._0x19f47e,_0x9f6b84._0x22ab5f,_0x9f6b84._0x206d3f,0x853)](_0x1cc0d4[_0x5f3289(0x5cd,0x4b9,0x721,0x5c5)]);}}return[..._0x7bb572][_0x4ad9f2(0x848,_0x9f6b84._0x52c2b3,0x824,0x70d)]((_0x2fde87,_0x27f038)=>_0x2fde87-_0x27f038)[_0x5f3289(0x2e7,_0x9f6b84._0x55501b,0x48c,_0x9f6b84._0x539033)](0x0,0x14);}function throwStaleSnapshot(_0x4462c3,_0x1a2b2b,_0x3ebdea,_0x42513e){const _0x243a99={_0x1e7c35:0xf3,_0x18a1b4:0x414,_0x206be8:0x8bd,_0xeaa552:0x70c,_0x24a8f2:0xde,_0xb0d7be:0x26a,_0x478b5e:0x7a7,_0x1bb313:0x8a1,_0x1ca821:0x51f,_0x8784d1:0x78b,_0x17cea3:0x87f,_0x3c4b11:0x6bb};function _0x59288e(_0x4c76e7,_0x392070,_0x1726fd,_0x24b19e){return _0x47b891(_0x24b19e,_0x4c76e7- -0x3d1,_0x1726fd-0x93,_0x24b19e-0x1df);}function _0x548b26(_0x1faa78,_0x26efe3,_0x16c595,_0x12a860){return _0x47b891(_0x1faa78,_0x12a860- -0x4b,_0x16c595-0x14a,_0x12a860-0x66);}throw createAnchoredFileError('stale_snapshot',_0x42513e[_0x59288e(0x2e2,0x408,_0x243a99._0x1e7c35,_0x243a99._0x18a1b4)],{'path':_0x4462c3,'canonicalPath':_0x1a2b2b,'tag':_0x3ebdea[_0x548b26(0x6b2,_0x243a99._0x206be8,0x8da,_0x243a99._0xeaa552)],'digest':_0x3ebdea[_0x59288e(_0x243a99._0x24a8f2,-0x8a,_0x243a99._0xb0d7be,0x5f)],..._0x42513e[_0x548b26(0x6ef,_0x243a99._0x478b5e,_0x243a99._0x1bb313,0x6bb)][_0x548b26(0x7b8,_0x243a99._0x1ca821,_0x243a99._0x8784d1,0x5ed)]>0x0?{'contextLines':[..._0x42513e[_0x548b26(0x563,0x7e7,_0x243a99._0x17cea3,_0x243a99._0x3c4b11)]]}:{}});}function throwUnseenLines(_0x4d7209,_0x5aa943,_0x1c37a6,_0x4f3992,_0x66a11c){const _0x10f3b2={_0x5a5c49:0x2e1,_0x57eff6:0x456,_0x10982a:0x30d,_0x6a677c:0x53f,_0xce490a:0x3f3,_0x5933d9:0x20c,_0x1af48e:0x7eb},_0x4621ae={_0x47e886:0x98},_0x4a00f3={_0x545277:0x47};function _0x24edb9(_0x50c82a,_0x575765,_0x5381e5,_0x2a7a90){return _0x47b891(_0x5381e5,_0x2a7a90- -0xbc,_0x5381e5-0x1ad,_0x2a7a90-_0x4a00f3._0x545277);}function _0x5d6a02(_0x1da675,_0x4c6b75,_0x2d6b07,_0xd9bdc6){return _0xe18bb0(_0x4c6b75,_0xd9bdc6-0x47,_0x2d6b07-_0x4621ae._0x47e886,_0xd9bdc6-0x37);}throw createAnchoredFileError('unseen_lines',_0x66a11c[_0x24edb9(0x47f,0x7c8,0x771,0x5f7)],{'path':_0x4d7209,'canonicalPath':_0x5aa943,'tag':_0x1c37a6[_0x5d6a02(_0x10f3b2._0x5a5c49,_0x10f3b2._0x57eff6,0x4bc,_0x10f3b2._0x10982a)],'digest':_0x1c37a6[_0x24edb9(_0x10f3b2._0x6a677c,0x604,0x456,_0x10f3b2._0xce490a)],'requiredLines':[..._0x4f3992],..._0x66a11c['contextLines'][_0x5d6a02(_0x10f3b2._0x5933d9,0x3a3,0x17b,0x1ee)]>0x0?{'contextLines':[..._0x66a11c[_0x24edb9(0x5f5,_0x10f3b2._0x1af48e,0x7b2,0x64a)]]}:{}});}function throwNoChange(_0x55d8bb,_0x3b3b02,_0xf117d9,_0x467125,_0x25485f){const _0x6a4876={_0x398dfe:0x43f,_0x9137d3:0x36c,_0x1c655f:0x1f5,_0x58b0bf:0x177,_0x3ae07b:0xa0,_0x13e7a8:0x409,_0x1a3cef:0x4ed},_0x1a9611={_0xcae6da:0x41,_0x32a451:0x8f},_0xba6aa6={_0x348fc2:0x1d};function _0x2fe478(_0x53da0a,_0x3a5f6e,_0x11fc61,_0x52b357){return _0xe18bb0(_0x52b357,_0x11fc61-0x3bc,_0x11fc61-0x1e8,_0x52b357-_0xba6aa6._0x348fc2);}function _0x27e919(_0x307bca,_0x3f50ef,_0x13312d,_0x625f7d){return _0x47b891(_0x625f7d,_0x13312d- -0x338,_0x13312d-_0x1a9611._0xcae6da,_0x625f7d-_0x1a9611._0x32a451);}throw createAnchoredFileError(_0x2fe478(0x333,_0x6a4876._0x398dfe,0x331,_0x6a4876._0x9137d3),_0x467125['output'],{'path':_0x55d8bb,'canonicalPath':_0x3b3b02,'tag':_0xf117d9['tag'],'digest':_0xf117d9[_0x27e919(0x247,_0x6a4876._0x1c655f,_0x6a4876._0x58b0bf,_0x6a4876._0x3ae07b)],'attemptCount':_0x25485f,..._0x467125['contextLines'][_0x27e919(_0x6a4876._0x13e7a8,0x153,0x300,0x40f)]>0x0?{'contextLines':[..._0x467125[_0x27e919(0x410,_0x6a4876._0x1a3cef,0x3ce,0x2b8)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x40f67f,_0x250ed5,_0x457dd4,_0x35bf09){const _0x540340={_0x403735:0x47c,_0x206e96:0x4f1,_0x4f98b1:0x595,_0x1df3b4:0x62e,_0x2a4fd1:0x6a4,_0x298d07:0x650,_0x386612:0x44e,_0x48d701:0x560,_0x4a4a79:0x214,_0x24a73b:0x240,_0x282ec9:0x7b6,_0x4bd1a1:0x716,_0x1c16d4:0x697,_0x5f8230:0x813,_0xa33b68:0x32,_0x389131:0xf2,_0x35945b:0x4b2,_0x17d5a9:0x3e5,_0x1aab4e:0x4,_0x30e26f:0x1bb,_0x32d462:0x55f,_0x213e39:0x73c,_0x3374c0:0x921,_0x4c3913:0xa0,_0x37911b:0x2d,_0x242868:0xa1,_0xc053f:0x11c,_0x3f690d:0x272,_0x188c2d:0x32e,_0x516542:0x214,_0x1539e3:0x2a6,_0x4c9fc2:0xef,_0x2643c8:0x8f,_0x29c726:0x2e1,_0x590c59:0x49b,_0x2564d3:0x7af,_0x46487e:0x5bd,_0x120945:0x13c,_0x57cf16:0x60,_0x37efbc:0x1af,_0x432e7e:0x2a8,_0x57d43e:0xc1,_0x1f2410:0x2c9,_0x1283c1:0xbf,_0x728c67:0x63,_0x41d70c:0x242,_0x233570:0x1d3,_0x8cd8f0:0x67d,_0x2bd077:0x500,_0x227d22:0x226,_0xd67706:0x106,_0x5b1e94:0x436,_0x5934d1:0x376,_0x4bd4ab:0x1eb,_0x154d32:0x597,_0x517fbd:0x79b,_0x31a854:0x78e,_0x40588f:0x5b3,_0x37fc9d:0xd0,_0x3ed859:0x164,_0x26936b:0x780,_0x5c7845:0x4ca,_0x1fdb2c:0x62e,_0x5eafd1:0x120,_0x49aa73:0x301,_0x4c3028:0xc1,_0x1a77d3:0x7f3,_0x50c8ce:0x6c5,_0x105d3c:0x3e9,_0x4c5ba3:0x749,_0x1dbf57:0x667,_0x18b9fa:0x7e5,_0x2ca00f:0x7c2},_0x3dfac5={_0x385eb8:0xb9},_0x5698ea={_0x38f949:0x132};function _0xf877a9(_0x2bb7c8,_0x37b954,_0x2d9c27,_0x4bb4d1){return _0xe18bb0(_0x37b954,_0x2d9c27-0x450,_0x2d9c27-_0x5698ea._0x38f949,_0x4bb4d1-0x1a6);}const _0x1e7782=parseAnchoredInput(_0x40f67f,_0x250ed5),_0x489774=await resolveEditTarget(_0x35bf09[_0xf877a9(0x33f,_0x540340._0x403735,0x424,0x40a)],_0x35bf09[_0xf877a9(0x3a1,0x532,_0x540340._0x206e96,0x6f7)],_0x1e7782[_0xf877a9(_0x540340._0x4f98b1,0x7c3,_0x540340._0x1df3b4,_0x540340._0x2a4fd1)]);function _0x4db359(_0x397f1d,_0x5117a3,_0x327ca6,_0x175e3a){return _0x47b891(_0x397f1d,_0x327ca6- -0x4c4,_0x327ca6-0x2a,_0x175e3a-_0x3dfac5._0x385eb8);}const {observations:_0x3c65ed}=_0x35bf09;_0x3c65ed[_0xf877a9(0x4ae,_0x540340._0x298d07,_0x540340._0x386612,_0x540340._0x48d701)](_0x457dd4);const _0x454ce7=_0x3c65ed[_0x4db359(-0x100,0x160,-0x92,-0x182)](_0x489774[_0x4db359(0x260,0x2c5,_0x540340._0x4a4a79,_0x540340._0x24a73b)],_0x1e7782[_0xf877a9(_0x540340._0x282ec9,0x689,_0x540340._0x4bd1a1,0x5d0)]),_0x2fcd69=await readLiveSnapshot(_0x489774[_0xf877a9(0x57b,0x706,_0x540340._0x1c16d4,_0x540340._0x5f8230)],_0x1e7782['filePath']),_0xb58bd0=computePayloadDigest(_0x1e7782['operations']);if(_0x2fcd69[_0x4db359(-_0x540340._0xa33b68,_0x540340._0x389131,-0x15,0x123)]!==_0x454ce7[_0xf877a9(_0x540340._0x35945b,0x228,_0x540340._0x17d5a9,0x59b)][_0x4db359(_0x540340._0x1aab4e,-_0x540340._0x30e26f,-0x15,0x7e)]){const {reasonLine:_0x568287,guidance:_0x332143}=staleSnapshotMessageText(_0x1e7782['filePath'],_0x1e7782[_0xf877a9(_0x540340._0x32d462,_0x540340._0x213e39,0x716,_0x540340._0x3374c0)]),_0x2a3ea0=buildRecoveryContext(_0x1e7782['filePath'],_0x2fcd69,collectRequiredLines(_0x1e7782['operations']),_0x35bf09[_0x4db359(-0x69,-0x87,_0x540340._0x4c3913,_0x540340._0x37911b)],_0x568287,_0x332143);_0x3c65ed['record'](_0x2fcd69,_0x2a3ea0[_0x4db359(_0x540340._0x242868,_0x540340._0xc053f,0x242,_0x540340._0x3f690d)]),throwStaleSnapshot(_0x1e7782['filePath'],_0x489774[_0x4db359(_0x540340._0x188c2d,0x2cf,_0x540340._0x516542,0x6e)],_0x2fcd69,_0x2a3ea0);}let _0x8e628f;try{_0x8e628f=prepareCanonicalFileEdit(_0x454ce7['snapshot'],_0x454ce7[_0x4db359(_0x540340._0x1539e3,0x237,0x1d8,_0x540340._0x4c9fc2)],_0x1e7782['operations']);}catch(_0x5c199d){if(_0x5c199d instanceof ToolExecutionError&&_0x5c199d[_0x4db359(0xc1,-_0x540340._0x2643c8,-0x2d,-0x179)][_0xf877a9(_0x540340._0x29c726,_0x540340._0x590c59,0x376,0x45b)]===_0xf877a9(0x866,_0x540340._0x2564d3,0x660,_0x540340._0x46487e)){const _0x2552cd=_0x5c199d[_0x4db359(-0x169,-_0x540340._0x120945,-0x2d,0x11e)][_0x4db359(_0x540340._0x57cf16,_0x540340._0x37efbc,0x59,-0x1ae)]??collectRequiredLines(_0x1e7782[_0x4db359(0x152,_0x540340._0x432e7e,_0x540340._0x57d43e,_0x540340._0x1f2410)]),{reasonLine:_0x4046d6,guidance:_0x425842}=unseenLinesMessageText(),_0x2f7dec=buildRecoveryContext(_0x1e7782[_0x4db359(-0x2b,0x1b7,0x1ab,0x1af)],_0x2fcd69,_0x2552cd,_0x35bf09['outputBudgetBytes'],_0x4046d6,_0x425842);_0x3c65ed[_0x4db359(0x219,_0x540340._0x1283c1,_0x540340._0x4c9fc2,0xc6)](_0x2fcd69,_0x2f7dec[_0x4db359(0x432,_0x540340._0x728c67,_0x540340._0x41d70c,_0x540340._0x233570)]),throwUnseenLines(_0x1e7782[_0xf877a9(_0x540340._0x8cd8f0,_0x540340._0x2bd077,0x62e,0x463)],_0x489774[_0x4db359(_0x540340._0x227d22,_0x540340._0xd67706,_0x540340._0x516542,0x11b)],_0x2fcd69,_0x2552cd,_0x2f7dec);}if(_0x5c199d instanceof ToolExecutionError&&_0x5c199d['structured'][_0xf877a9(_0x540340._0x5b1e94,0x308,_0x540340._0x5934d1,_0x540340._0x4bd4ab)]===_0xf877a9(0x411,_0x540340._0x154d32,0x3c5,0x24e)){const _0x52b21d=_0x3c65ed[_0xf877a9(_0x540340._0x517fbd,_0x540340._0x31a854,_0x540340._0x40588f,0x60f)](_0x489774[_0x4db359(_0x540340._0x37fc9d,_0x540340._0x3ed859,0x214,0x30e)],_0xb58bd0),{reasonLine:_0x37f190,guidance:_0x12e033}=noChangeMessageText(_0x1e7782[_0xf877a9(_0x540340._0x26936b,_0x540340._0x5c7845,_0x540340._0x1fdb2c,0x596)],_0x52b21d),_0x3dd029=buildRecoveryContext(_0x1e7782[_0x4db359(_0x540340._0x5eafd1,_0x540340._0x49aa73,0x1ab,-0xa)],_0x2fcd69,collectRequiredLines(_0x1e7782['operations']),_0x35bf09[_0x4db359(0x158,0x217,_0x540340._0x4c3913,-_0x540340._0x4c3028)],_0x37f190,_0x12e033);_0x3c65ed['record'](_0x2fcd69,_0x3dd029[_0xf877a9(_0x540340._0x1a77d3,0x502,_0x540340._0x50c8ce,0x539)]),throwNoChange(_0x1e7782[_0x4db359(0x5b,0x18d,0x1ab,0x227)],_0x489774[_0x4db359(_0x540340._0x105d3c,0x387,0x214,0x3b2)],_0x2fcd69,_0x3dd029,_0x52b21d);}throw _0x5c199d;}return assertPreviewWithinBounds(_0x8e628f[_0xf877a9(0x5ae,0x535,0x67a,0x794)],_0x489774[_0xf877a9(0x551,_0x540340._0x4c5ba3,0x697,_0x540340._0x1dbf57)],_0x1e7782[_0xf877a9(_0x540340._0x18b9fa,0x5d2,_0x540340._0x1fdb2c,_0x540340._0x2ca00f)]),buildPreview(_0x40f67f,_0x1e7782,_0x489774,_0x454ce7,_0x8e628f);}async function reResolveUnderLock(_0x39aea9,_0x3d59d1,_0x42f7f2,_0x339417){const _0x33c2cc={_0x14049e:0x314,_0x48cb57:0x24b,_0x310e8d:0x4d,_0x497ed4:0x85,_0x44ba5a:0x1,_0x101ba7:0x50d,_0x50bd82:0x532,_0x1e8de4:0x2bd,_0x14651f:0x19e,_0xd64144:0x6ca,_0x4de563:0x69f,_0x2a45c2:0x6af,_0x4ece5f:0x5d2,_0x18a43d:0x13e,_0x24cc0d:0xa4,_0x2b122:0x646,_0x37f552:0x471,_0x1071fe:0x46f,_0x1d9bab:0x4c9,_0x403f90:0x688},_0x4e130d={_0x22c8fb:0x1a6};let _0x493ea2;try{_0x493ea2=await resolveCanonicalAllowedFile(_0x39aea9,_0x3d59d1,_0x42f7f2[_0x28ed0c(0x267,0x111,_0x33c2cc._0x14049e,_0x33c2cc._0x48cb57)]);}catch(_0x57f0f9){if(_0x57f0f9 instanceof ToolExecutionError)throw _0x57f0f9;const _0x3c214d=_0x57f0f9 instanceof Error?_0x57f0f9['message']:String(_0x57f0f9);throw createAnchoredFileError(_0x28ed0c(_0x33c2cc._0x310e8d,_0x33c2cc._0x497ed4,0x1ae,-_0x33c2cc._0x44ba5a),_0x581bc1(0x4b0,0x47b,0x482,0x602)+_0x42f7f2[_0x28ed0c(0x3d7,0x49a,0x314,_0x33c2cc._0x101ba7)]+_0x28ed0c(0x329,_0x33c2cc._0x50bd82,0x42c,0x355)+_0x3c214d+_0x28ed0c(0x28b,_0x33c2cc._0x1e8de4,_0x33c2cc._0x14651f,0x1e6),{'path':_0x42f7f2[_0x581bc1(0x646,0x576,_0x33c2cc._0xd64144,_0x33c2cc._0x4de563)]});}function _0x581bc1(_0x4b0ff1,_0x48ff0c,_0x560b96,_0x5722ed){return _0xe18bb0(_0x5722ed,_0x4b0ff1-0x468,_0x560b96-_0x4e130d._0x22c8fb,_0x5722ed-0x13c);}function _0x28ed0c(_0x4d484c,_0x4295b7,_0x313835,_0x1e8647){return _0x47b891(_0x1e8647,_0x313835- -0x35b,_0x313835-0x12b,_0x1e8647-0x19c);}if(_0x493ea2[_0x581bc1(_0x33c2cc._0x2a45c2,0x4b4,0x874,0x767)]!==_0x339417)throw createAnchoredFileError(_0x581bc1(0x4e0,_0x33c2cc._0x4ece5f,0x4b8,0x2dd),_0x28ed0c(_0x33c2cc._0x18a43d,-0x37,0x17e,_0x33c2cc._0x24cc0d)+_0x42f7f2[_0x581bc1(_0x33c2cc._0x2b122,0x48a,0x7e2,_0x33c2cc._0x37f552)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x42f7f2[_0x581bc1(_0x33c2cc._0x2b122,_0x33c2cc._0x1071fe,0x554,_0x33c2cc._0x1d9bab)],'canonicalPath':_0x493ea2[_0x581bc1(0x6af,0x7b2,0x571,_0x33c2cc._0x403f90)]});return _0x493ea2;}async function executeAnchoredFileEdit(_0x300af4,_0x5419dd,_0x205279,_0x9b42d2,_0x257dd6=defaultFileSystem2){const _0x15ccd3={_0xdc7b96:0x697,_0x338e46:0x49d,_0x48bafe:0x744,_0xfc938a:0x5fc,_0x1a7121:0x3e1,_0x5b2ab0:0x376,_0x2b5e5c:0x51e,_0x3401bc:0x44a,_0x1c1e91:0x355,_0x16beab:0x4f5,_0x231210:0x802,_0x308a1b:0x660,_0x435d7a:0x707},_0x979661={_0x21dcac:0x300,_0x29b0ac:0x208,_0x20f39c:0x47b,_0x3a654e:0x45d,_0x4dfa3b:0x78f,_0x1e604d:0x600,_0x526811:0x1e4,_0x12aa60:0x232,_0x468e8c:0x395,_0x1d60fd:0x48a,_0x295cad:0x31f,_0xcce7d8:0x17d,_0x3c998c:0x4e9,_0x46227c:0x61f,_0x387621:0x8b5,_0x213884:0x373,_0x2efc11:0x4a9,_0x46297b:0x4fa,_0x252a8b:0x679,_0x10b797:0x71c,_0x1bfa4a:0x7ff,_0x2018bc:0x7ef,_0x10a223:0x1a4,_0x531c83:0x6ad,_0x193c0d:0x6d9,_0x1c53aa:0x3da,_0x2ce1e6:0x489,_0x1d61f0:0x436,_0x3c2074:0x2ac,_0x3afef2:0x260,_0x1abd51:0x57d,_0x2a2078:0x5ff,_0x2206d2:0x74d,_0x1333a6:0x34e,_0x26006d:0x14f,_0xc60caf:0x5b0,_0x3c5646:0x60a,_0x167330:0x537,_0x393480:0x412,_0x506959:0x4e7,_0x212be3:0x331,_0x5b7572:0x252,_0x50bf93:0x62f,_0x674e00:0x630,_0x84d6:0x726,_0x4294f2:0x7e3,_0x4a33ad:0x8f2,_0x21c683:0x22b,_0x175672:0x307,_0x1941ee:0x382,_0x1a41a4:0x7bd,_0xabcd9d:0x5a1,_0x36faac:0x597,_0x3f715e:0x7c8,_0x32948a:0x2eb,_0x347662:0x5d2,_0x97bf7c:0x43f,_0xc4d4cb:0x63c,_0x173e6d:0x541,_0x21ae33:0x5ae,_0x5df125:0x54e,_0x2f540d:0x698,_0x37d946:0x387,_0x4f8b67:0x553,_0x456e3e:0x45f,_0x93cd17:0x758,_0x4431e4:0x8f6,_0xb641cb:0xb9,_0x3353ae:0x376,_0x9af634:0x23a,_0x5be08a:0x199,_0x4ae973:0x356,_0x149f34:0x1f5,_0x4e7de4:0x5b6,_0x1013f5:0x71e,_0x1c9624:0x72c,_0x2c8564:0x254,_0x1df3cb:0x7f9,_0x14374c:0x926,_0x1b8b30:0x520,_0xa8f075:0x61b,_0x2e65c8:0x647,_0x30194c:0x55f,_0x22b79a:0x66a,_0x2f2dcb:0x769,_0x44f1da:0x4c4,_0x48e914:0x853,_0x430454:0x6ee,_0x3a417e:0x6cb,_0x1ef6b5:0x828,_0x47cb6a:0x28a,_0x45857e:0x296,_0x2c23a2:0x248,_0x212b2b:0x417,_0x4bf61d:0x548,_0x3d8dab:0x4b6,_0x5b5918:0x4af,_0x39080e:0x447,_0x316480:0x13f,_0x16e76e:0x314,_0x27c263:0x46c,_0x39d8a7:0x7fd,_0x6713e8:0x7f0,_0x3fa535:0x6d4,_0x5c4f20:0x4e3,_0x18ace1:0x435,_0x47b054:0x772,_0x56f11c:0x742,_0x196219:0x504,_0x2d30dc:0x476,_0x3fddb3:0x126,_0x5f33c8:0x365,_0x55597b:0x5fb,_0xb028b9:0x437,_0x57a62d:0x507,_0x5144f6:0x50d,_0x387489:0x79a,_0x576f7f:0x138,_0x416759:0x2e9,_0xcb77ea:0x34f,_0x3ca705:0x3ae,_0x350666:0x4fa,_0x4d43f5:0x307,_0x2257ae:0x58f,_0x367f12:0x453,_0x406ace:0x4e6,_0xeb020d:0x274,_0xddbdf0:0x342,_0x15ba8e:0x76a,_0x1bce18:0x73f,_0x17c836:0x6a2,_0x440e9d:0x47b,_0x1c4337:0x496,_0x7111c9:0x749,_0x51fb94:0x6be,_0x32f3bb:0x726,_0x3235f4:0x6a6,_0x1e6308:0x149,_0x1200f1:0x34,_0x872685:0x189,_0x1c33f3:0x2fe,_0x4422f3:0x409,_0x18474e:0x3e4,_0x52a50c:0x514,_0x203e3c:0x47a,_0x2bd47c:0x5aa,_0x16f5b9:0x455,_0x299640:0x56b,_0x33c573:0x380,_0x189ea3:0x61a,_0x138ec1:0x41d,_0x495bb8:0x79d,_0x4f54cd:0x663,_0x4912ff:0x436,_0x59bb75:0x419,_0x283b3f:0x271,_0x2c8f50:0x36b,_0x309805:0x412,_0x276f10:0x3d8,_0x5ae861:0x47b,_0x30a602:0x305,_0x217662:0x8e0,_0x2cb714:0x853,_0x2176da:0x44f,_0x5b868a:0x464,_0x151ed5:0x3da,_0x23b33c:0x47b,_0x293684:0x55e,_0x9e0e20:0x5bc,_0x127e11:0x5df,_0x441287:0x56d,_0x53eb85:0x5f2,_0x4457b8:0x4f6,_0x205433:0x45e,_0x2d02e7:0x54a,_0x4e9643:0x686,_0xfb55b7:0x755,_0x20af62:0x2e2,_0x1860f2:0x2d1,_0xd1ba1a:0x5dd,_0x1ad29e:0x25b,_0x3c80d6:0x2b1,_0x4a80a0:0x76a,_0xc67c0b:0x829,_0x269bba:0x7bd,_0x19ff22:0x717,_0x4b1c62:0x80e,_0x5b9089:0x8bc,_0xd91e8:0x566,_0x128694:0x636,_0x3421c4:0x406,_0x4293b2:0x3a6,_0x399343:0x5a4,_0x349182:0x294,_0x2a9c46:0x6e6,_0x44eee3:0x326,_0x4c6708:0x4e8,_0x22a1f7:0x372,_0x29fe69:0x463,_0x26c35a:0x2fc,_0x55a5fb:0x2a7,_0x367023:0x29a,_0x3f885e:0x119,_0x360799:0x5a6,_0x62ed5:0x5e2,_0x2fd448:0x6f9,_0x5cfe2d:0x6cc,_0x1c821f:0x322,_0x50cd96:0x2e9,_0x380635:0x6f7,_0x340732:0x6a8,_0x3ad386:0x616,_0x36bb23:0x6f1},_0x1d50aa={_0x5f39fc:0x1b8},_0x2ac88f={_0x3d040f:0xd1},_0x209546={_0x1288d6:0x203,_0x128d0f:0x140};function _0x575ef2(_0x4af977,_0x2460d7,_0x216704,_0xb5be67){return _0xe18bb0(_0x2460d7,_0x4af977-_0x209546._0x1288d6,_0x216704-_0x209546._0x128d0f,_0xb5be67-0xbd);}const _0x58cc73=parseAnchoredInput(_0x300af4,_0x5419dd);function _0x25831a(_0x5243c1,_0x330c34,_0x2637ab,_0x39e8a9){return _0xe18bb0(_0x2637ab,_0x39e8a9-0x55b,_0x2637ab-0x1c7,_0x39e8a9-_0x2ac88f._0x3d040f);}const _0x20bb12=await resolveEditTarget(_0x9b42d2[_0x575ef2(0x1d7,0x45,0x33b,0x113)],_0x9b42d2[_0x25831a(_0x15ccd3._0xdc7b96,_0x15ccd3._0x338e46,_0x15ccd3._0x48bafe,_0x15ccd3._0xfc938a)],_0x58cc73[_0x575ef2(_0x15ccd3._0x1a7121,0x415,_0x15ccd3._0x5b2ab0,0x3d7)]);return _0x9b42d2['mutations'][_0x25831a(0x4ad,0x3e2,0x6cf,_0x15ccd3._0x2b5e5c)](_0x20bb12[_0x575ef2(_0x15ccd3._0x3401bc,_0x15ccd3._0x1c1e91,_0x15ccd3._0x16beab,0x528)],_0x205279[_0x25831a(0x86f,_0x15ccd3._0x231210,_0x15ccd3._0x308a1b,_0x15ccd3._0x435d7a)],async()=>{const _0x3c04c1={_0x5ed30d:0x194,_0x17fe8e:0x327},_0x33746b=await reResolveUnderLock(_0x9b42d2[_0x30d340(_0x979661._0x21dcac,0x1d4,_0x979661._0x29b0ac,0x84)],_0x9b42d2[_0x30d340(0x2b4,_0x979661._0x20f39c,0x2d5,_0x979661._0x3a654e)],_0x58cc73,_0x20bb12[_0x184f91(_0x979661._0x4dfa3b,0x5c2,0x789,_0x979661._0x1e604d)]),{observations:_0x2a9aeb}=_0x9b42d2;_0x2a9aeb[_0x30d340(0x1e4,_0x979661._0x526811,_0x979661._0x12aa60,_0x979661._0x468e8c)](_0x205279[_0x30d340(_0x979661._0x1d60fd,0x1bd,_0x979661._0x295cad,_0x979661._0xcce7d8)]);const _0x319f0f=_0x2a9aeb[_0x184f91(_0x979661._0x3c998c,0x428,0x67d,0x58d)](_0x33746b[_0x184f91(0x78f,_0x979661._0x46227c,0x8bc,_0x979661._0x387621)],_0x58cc73[_0x30d340(_0x979661._0x213884,_0x979661._0x2efc11,_0x979661._0x46297b,_0x979661._0x252a8b)]);let _0x4d4177,_0x56c7a4;function _0x30d340(_0x4dbbc9,_0x39cc96,_0x836873,_0x363d27){return _0x25831a(_0x4dbbc9-_0x3c04c1._0x5ed30d,_0x39cc96-0x3d,_0x39cc96,_0x836873- -_0x3c04c1._0x17fe8e);}try{[_0x4d4177,_0x56c7a4]=await Promise[_0x184f91(_0x979661._0x10b797,0x91b,0x61a,0x5aa)]([_0x257dd6['readFile'](_0x33746b[_0x184f91(0x78f,_0x979661._0x1bfa4a,0x85c,_0x979661._0x2018bc)]),_0x257dd6[_0x30d340(0x456,0x428,0x257,_0x979661._0x10a223)](_0x33746b[_0x184f91(0x78f,_0x979661._0x531c83,_0x979661._0x193c0d,0x7d1)])]);}catch(_0xec2649){const _0x3a3775=_0xec2649 instanceof Error?_0xec2649[_0x30d340(0x671,_0x979661._0x1c53aa,_0x979661._0x2ce1e6,0x2a3)]:String(_0xec2649);throw createAnchoredFileError(_0x30d340(_0x979661._0x1d61f0,0x126,_0x979661._0x3c2074,_0x979661._0x3afef2),_0x184f91(0x619,_0x979661._0x1abd51,0x4a7,0x7b5)+_0x58cc73[_0x184f91(0x726,0x8f5,_0x979661._0x2a2078,_0x979661._0x2206d2)]+_0x30d340(_0x979661._0x1333a6,0x2c1,_0x979661._0x26006d,0x291)+_0x3a3775+_0x184f91(_0x979661._0xc60caf,_0x979661._0x3c5646,0x71a,_0x979661._0x167330),{'path':_0x58cc73[_0x30d340(0x50c,0x570,_0x979661._0x393480,_0x979661._0x506959)]});}const _0x1015fb=createNormalizedFileSnapshot(_0x33746b['canonicalPath'],_0x4d4177);if(_0x1015fb[_0x30d340(0x1d1,_0x979661._0x212be3,_0x979661._0x5b7572,0x407)]!==_0x319f0f[_0x184f91(0x4dd,_0x979661._0x50bf93,_0x979661._0x674e00,0x680)]['digest']){const {reasonLine:_0x275681,guidance:_0x41e92e}=staleSnapshotMessageText(_0x58cc73[_0x184f91(_0x979661._0x84d6,0x766,_0x979661._0x4294f2,0x53c)],_0x58cc73['tag']),_0x2188ca=buildRecoveryContext(_0x58cc73[_0x184f91(_0x979661._0x84d6,0x6f5,_0x979661._0x4a33ad,0x852)],_0x1015fb,collectRequiredLines(_0x58cc73['operations']),_0x9b42d2[_0x30d340(0x3b9,_0x979661._0x21c683,_0x979661._0x175672,_0x979661._0x1941ee)],_0x275681,_0x41e92e);_0x2a9aeb['record'](_0x1015fb,_0x2188ca[_0x184f91(_0x979661._0x1a41a4,0x5fe,0x80a,0x61a)]),throwStaleSnapshot(_0x58cc73['filePath'],_0x33746b[_0x184f91(_0x979661._0x4dfa3b,_0x979661._0xabcd9d,_0x979661._0x36faac,_0x979661._0x3f715e)],_0x1015fb,_0x2188ca);}let _0x24795e;function _0x184f91(_0x5c5a6c,_0x1c5707,_0x4882ba,_0x5d7046){return _0x25831a(_0x5c5a6c-0x7e,_0x1c5707-_0x1d50aa._0x5f39fc,_0x1c5707,_0x5c5a6c- -0x13);}try{_0x24795e=prepareCanonicalFileEdit(_0x319f0f[_0x30d340(-0x20,0xe5,0x1c9,_0x979661._0x32948a)],_0x319f0f[_0x30d340(0x343,_0x979661._0x347662,_0x979661._0x97bf7c,0x39f)],_0x58cc73[_0x184f91(_0x979661._0xc4d4cb,_0x979661._0x173e6d,_0x979661._0x21ae33,0x518)]);}catch(_0x290cac){if(_0x290cac instanceof ToolExecutionError&&_0x290cac[_0x184f91(_0x979661._0x5df125,0x69a,_0x979661._0x2f540d,_0x979661._0x37d946)][_0x184f91(0x46e,0x29f,_0x979661._0x4f8b67,_0x979661._0x456e3e)]===_0x184f91(_0x979661._0x93cd17,0x599,_0x979661._0x4431e4,0x5b2)){const _0x53f0e2=_0x290cac[_0x30d340(_0x979661._0xb641cb,_0x979661._0x3353ae,_0x979661._0x9af634,0x349)]['requiredLines']??collectRequiredLines(_0x58cc73[_0x30d340(_0x979661._0x5be08a,0x16b,0x328,0x1b1)]),{reasonLine:_0x3f2816,guidance:_0x9278e8}=unseenLinesMessageText(),_0x1dc8b7=buildRecoveryContext(_0x58cc73['filePath'],_0x1015fb,_0x53f0e2,_0x9b42d2['outputBudgetBytes'],_0x3f2816,_0x9278e8);_0x2a9aeb[_0x30d340(0x4f2,0x3bb,_0x979661._0x4ae973,_0x979661._0x149f34)](_0x1015fb,_0x1dc8b7[_0x30d340(0x428,0x53a,_0x979661._0x2efc11,_0x979661._0x4e7de4)]),throwUnseenLines(_0x58cc73[_0x184f91(_0x979661._0x84d6,_0x979661._0x1013f5,0x576,_0x979661._0x1c9624)],_0x33746b['canonicalPath'],_0x1015fb,_0x53f0e2,_0x1dc8b7);}if(_0x290cac instanceof ToolExecutionError&&_0x290cac['structured'][_0x30d340(_0x979661._0x2c8564,-0x41,0x15a,0x84)]==='no_change'){const {reasonLine:_0x37580d,guidance:_0x8b78c6}=noChangeMessageText(_0x58cc73[_0x184f91(_0x979661._0x84d6,_0x979661._0x1df3cb,_0x979661._0x14374c,0x58a)],0x1),_0x5484d9=buildRecoveryContext(_0x58cc73[_0x30d340(0x3c0,0x2bc,0x412,0x344)],_0x1015fb,collectRequiredLines(_0x58cc73[_0x30d340(0x369,_0x979661._0x1b8b30,0x328,0x4fb)]),_0x9b42d2[_0x184f91(_0x979661._0xa8f075,_0x979661._0x2e65c8,_0x979661._0x30194c,0x4fa)],_0x37580d,_0x8b78c6);_0x2a9aeb[_0x184f91(_0x979661._0x22b79a,0x515,_0x979661._0x2f2dcb,_0x979661._0x44f1da)](_0x1015fb,_0x5484d9['contextLines']),throwNoChange(_0x58cc73[_0x184f91(0x726,0x823,_0x979661._0x10b797,_0x979661._0x48e914)],_0x33746b[_0x184f91(0x78f,_0x979661._0x430454,_0x979661._0x3a417e,_0x979661._0x1ef6b5)],_0x1015fb,_0x5484d9,0x1);}throw _0x290cac;}assertPreviewWithinBounds(_0x24795e['blocks'],_0x33746b[_0x30d340(0x479,0x439,0x47b,0x5f9)],_0x58cc73[_0x30d340(_0x979661._0x47cb6a,0x4ae,0x412,0x336)]);const _0x30fa1d=_0x24795e[_0x30d340(_0x979661._0x45857e,_0x979661._0x2c23a2,0x328,0x37b)][_0x30d340(0x578,_0x979661._0x212b2b,0x3db,0x3e9)],_0x27595d=serializeNormalizedFile(_0x24795e[_0x184f91(_0x979661._0x4bf61d,_0x979661._0x3d8dab,0x714,0x739)],{'bom':_0x1015fb[_0x30d340(0x2f3,0x349,_0x979661._0x5b5918,_0x979661._0x39080e)],'eol':_0x1015fb['eol']}),_0x3d8cd3=_0x56c7a4[_0x30d340(_0x979661._0x316480,0x27d,_0x979661._0x16e76e,_0x979661._0x27c263)];if(_0x58cc73[_0x184f91(_0x979661._0x39d8a7,0x7c2,_0x979661._0x6713e8,_0x979661._0x3fa535)]){const _0x5d2dd0=buildResultText(_0x58cc73[_0x30d340(0x370,_0x979661._0x5c4f20,0x412,_0x979661._0x18ace1)],_0x1015fb,selectChangedContextLines(_0x24795e[_0x184f91(_0x979661._0x47b054,0x874,_0x979661._0x56f11c,0x7dc)],_0x1015fb,_0x30d340(0x539,_0x979661._0x196219,_0x979661._0x2d30dc,0x27a)),_0x9b42d2[_0x30d340(_0x979661._0x3fddb3,0x4cb,0x307,_0x979661._0x5f33c8)],_0x184f91(0x7cd,0x836,_0x979661._0x55597b,0x8fa)+_0x30fa1d+_0x30d340(0x493,_0x979661._0xb028b9,_0x979661._0x57a62d,0x340));_0x2a9aeb[_0x184f91(_0x979661._0x22b79a,_0x979661._0x5144f6,_0x979661._0x387489,0x483)](_0x1015fb,_0x5d2dd0[_0x30d340(0x53b,0x48e,0x43f,0x3d6)]);const _0x56d9bc={'preview':buildPreview(_0x300af4,_0x58cc73,_0x33746b,_0x319f0f,_0x24795e),'beforeDigest':_0x319f0f[_0x30d340(0x19a,-0x9,0x1c9,0x1f1)]['digest'],'afterDigest':_0x1015fb[_0x30d340(_0x979661._0x576f7f,_0x979661._0x416759,0x252,_0x979661._0xcb77ea)],'beforeTag':_0x58cc73[_0x30d340(0x63c,_0x979661._0x3ca705,_0x979661._0x350666,0x354)],'afterTag':_0x1015fb[_0x30d340(_0x979661._0x4d43f5,0x61e,_0x979661._0x46297b,_0x979661._0x2257ae)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x30fa1d,'tokenClassification':_0x184f91(_0x979661._0x367f12,_0x979661._0x406ace,_0x979661._0xeb020d,_0x979661._0xddbdf0)};return createToolOutput(_0x5d2dd0[_0x184f91(_0x979661._0x15ba8e,0x953,0x898,_0x979661._0x1bce18)],_0x56d9bc);}try{await _0x257dd6[_0x184f91(0x6f8,0x69a,0x867,_0x979661._0x17c836)](_0x33746b[_0x30d340(0x61d,0x400,_0x979661._0x440e9d,0x659)],_0x27595d,_0x3d8cd3);}catch(_0x39547a){const _0x31b802=_0x39547a instanceof Error?_0x39547a[_0x30d340(0x3fe,0x459,0x489,0x510)]:String(_0x39547a);throw createAnchoredFileError(_0x30d340(_0x979661._0x1c4337,0x50c,0x43b,0x5ae),_0x184f91(_0x979661._0x7111c9,_0x979661._0x51fb94,0x8c4,0x813)+_0x58cc73[_0x184f91(_0x979661._0x32f3bb,0x7c2,_0x979661._0x3235f4,0x615)]+':\x20'+_0x31b802+_0x30d340(_0x979661._0x1e6308,-_0x979661._0x1200f1,_0x979661._0x872685,_0x979661._0x1c33f3),{'path':_0x58cc73[_0x30d340(0x4c2,0x468,0x412,_0x979661._0x4422f3)],'canonicalPath':_0x33746b[_0x30d340(_0x979661._0x18474e,_0x979661._0x52a50c,0x47b,_0x979661._0x203e3c)]});}let _0x32ea21,_0x4ccd05;try{[_0x32ea21,_0x4ccd05]=await Promise[_0x184f91(0x71c,0x76b,0x7ce,_0x979661._0x2bd47c)]([_0x257dd6[_0x184f91(0x7eb,0x94a,0x9e6,0x6a4)](_0x33746b[_0x30d340(0x3ba,_0x979661._0x16f5b9,_0x979661._0x20f39c,0x440)]),_0x257dd6[_0x184f91(_0x979661._0x299640,_0x979661._0x33c573,_0x979661._0x189ea3,_0x979661._0x138ec1)](_0x33746b['canonicalPath'])]);}catch(_0x273f07){const _0x370eda=_0x273f07 instanceof Error?_0x273f07[_0x184f91(_0x979661._0x495bb8,0x7ff,0x90b,_0x979661._0x4f54cd)]:String(_0x273f07);throw createAnchoredFileError(_0x184f91(_0x979661._0x4912ff,_0x979661._0x59bb75,0x3d0,0x2be),'post_write_drift:\x20Failed\x20to\x20verify\x20'+_0x58cc73[_0x30d340(0x315,0x333,0x412,_0x979661._0x283b3f)]+'\x20after\x20writing\x20('+_0x370eda+');\x20no\x20rollback\x20was\x20performed.\x20Re-read\x20with\x20FileRead\x20first.',{'path':_0x58cc73[_0x30d340(_0x979661._0x2c8f50,0x61e,_0x979661._0x309805,0x5a7)],'canonicalPath':_0x33746b[_0x30d340(_0x979661._0x276f10,0x2c8,_0x979661._0x5ae861,_0x979661._0x30a602)]});}if(!_0x32ea21[_0x184f91(0x6d9,0x5c5,_0x979661._0x217662,_0x979661._0x2cb714)](_0x27595d)||(_0x4ccd05['mode']&0x1ff)!==(_0x3d8cd3&0x1ff)){const _0x583046='post_write_drift:\x20'+_0x58cc73['filePath']+_0x184f91(0x5e8,0x660,_0x979661._0x193c0d,_0x979661._0x2176da),_0x232736=_0x30d340(0x2a4,0x55f,_0x979661._0x5b868a,_0x979661._0x151ed5);let _0x1be49d;try{_0x1be49d=createNormalizedFileSnapshot(_0x33746b[_0x30d340(0x4c6,0x63a,_0x979661._0x23b33c,_0x979661._0x293684)],_0x32ea21);}catch{_0x1be49d=void 0x0;}let _0x26a73d;_0x1be49d!==void 0x0?(_0x26a73d=buildRecoveryContext(_0x58cc73[_0x184f91(0x726,_0x979661._0x9e0e20,_0x979661._0x127e11,_0x979661._0x441287)],_0x1be49d,selectChangedContextLines(_0x24795e[_0x30d340(_0x979661._0x53eb85,_0x979661._0x4457b8,_0x979661._0x205433,_0x979661._0x2d02e7)],_0x1be49d,_0x184f91(_0x979661._0x4e9643,_0x979661._0xfb55b7,0x499,0x55a)),_0x9b42d2['outputBudgetBytes'],_0x583046,_0x232736),_0x2a9aeb['record'](_0x1be49d,_0x26a73d[_0x30d340(_0x979661._0x20af62,_0x979661._0x1860f2,0x4a9,_0x979661._0xd1ba1a)])):_0x26a73d={'tag':'','digest':'','contextLines':[],'output':_0x583046+'\x0a'+_0x232736};throw createAnchoredFileError(_0x184f91(_0x979661._0x4912ff,_0x979661._0x1ad29e,_0x979661._0x3c80d6,0x5cc),_0x26a73d[_0x184f91(_0x979661._0x4a80a0,_0x979661._0xc67c0b,0x80f,0x834)],{'path':_0x58cc73['filePath'],'canonicalPath':_0x33746b[_0x184f91(_0x979661._0x4dfa3b,_0x979661._0x269bba,0x5f6,_0x979661._0x19ff22)],..._0x1be49d!==void 0x0?{'tag':_0x1be49d[_0x184f91(_0x979661._0x4b1c62,0x6e9,_0x979661._0x5b9089,0x93c)],'digest':_0x1be49d[_0x184f91(_0x979661._0xd91e8,_0x979661._0x128694,_0x979661._0x3421c4,_0x979661._0x193c0d)]}:{},..._0x26a73d['contextLines'][_0x30d340(_0x979661._0x4293b2,_0x979661._0x399343,0x3db,_0x979661._0x349182)]>0x0?{'contextLines':[..._0x26a73d[_0x184f91(_0x979661._0x269bba,0x8d8,0x953,_0x979661._0x2a9c46)]]}:{}});}const _0x41ac6a=createNormalizedFileSnapshot(_0x33746b[_0x184f91(0x78f,0x826,0x5ec,0x837)],_0x32ea21),_0x18adaf=buildResultText(_0x58cc73[_0x184f91(_0x979661._0x32f3bb,0x7c9,0x6a3,0x901)],_0x41ac6a,selectChangedContextLines(_0x24795e['blocks'],_0x41ac6a,_0x30d340(_0x979661._0x44eee3,_0x979661._0x4c6708,_0x979661._0x22a1f7,_0x979661._0x29fe69)),_0x9b42d2['outputBudgetBytes'],_0x30d340(_0x979661._0x26c35a,0x292,0x2b8,0x24c)+_0x30fa1d+_0x30d340(0x2ad,_0x979661._0x55a5fb,_0x979661._0x367023,_0x979661._0x3f885e));_0x2a9aeb['record'](_0x41ac6a,_0x18adaf[_0x184f91(0x753,0x7eb,_0x979661._0x360799,0x90e)]),_0x2a9aeb[_0x184f91(0x738,0x639,_0x979661._0x62ed5,0x75d)](_0x33746b[_0x184f91(0x78f,0x646,0x615,_0x979661._0x2fd448)]);const _0x2e54bb={'preview':buildPreview(_0x300af4,_0x58cc73,_0x33746b,_0x319f0f,_0x24795e),'beforeDigest':_0x319f0f[_0x184f91(0x4dd,0x4aa,_0x979661._0x5cfe2d,0x662)][_0x30d340(0x181,0x437,0x252,0x26f)],'afterDigest':_0x41ac6a[_0x30d340(_0x979661._0x1c821f,_0x979661._0x50cd96,0x252,0x1aa)],'beforeTag':_0x58cc73[_0x30d340(0x5c0,0x5ab,_0x979661._0x46297b,0x612)],'afterTag':_0x41ac6a[_0x184f91(0x80e,_0x979661._0x380635,_0x979661._0x340732,0x83a)],'bytesWritten':_0x27595d[_0x184f91(0x6ef,_0x979661._0x3ad386,_0x979661._0x36bb23,0x6ea)],'dryRun':![],'operationCount':_0x30fa1d,'tokenClassification':'edit'};return createToolOutput(_0x18adaf['output'],_0x2e54bb);});}import{readFile as _0x4005c7,stat as _0x59dfef}from'fs/promises';import*as _0x215c7d from'path';function detectEol(_0x241177){const _0x31e82a={_0x254312:0x5d5,_0x47071b:0x5e8,_0x4b6186:0x5b9,_0x3b21e8:0x430},_0x269658={_0x3f43bd:0x76},_0x152cf2={_0x1a9fb8:0xa5,_0x16ea09:0x2d,_0xc3d79c:0x44};function _0x136c3f(_0x25dace,_0x2ae078,_0x8cca0d,_0x203bb3){return _0x47b891(_0x25dace,_0x203bb3- -_0x152cf2._0x1a9fb8,_0x8cca0d-_0x152cf2._0x16ea09,_0x203bb3-_0x152cf2._0xc3d79c);}function _0x501733(_0x5be876,_0x110b7e,_0x23ee8d,_0x4c979e){return _0x47b891(_0x23ee8d,_0x5be876- -_0x269658._0x3f43bd,_0x23ee8d-0x182,_0x4c979e-0x138);}return/\r\n/['test'](_0x241177['toString'](_0x136c3f(_0x31e82a._0x254312,0x5c3,0x628,_0x31e82a._0x47071b)))?_0x501733(_0x31e82a._0x4b6186,0x59b,0x420,_0x31e82a._0x3b21e8):'lf';}function normalizeToLf(_0x264a01){const _0x17f462={_0x119b52:0x5f5,_0x2f909:0x542,_0x3d1ab1:0x697,_0x575413:0x6b6},_0x597f94={_0x4c9ddc:0x332,_0x20125a:0xcb};function _0x1487f2(_0x3171cc,_0x3498eb,_0x488c9f,_0x5ef55c){return _0xe18bb0(_0x488c9f,_0x3171cc-_0x597f94._0x4c9ddc,_0x488c9f-0xc,_0x5ef55c-_0x597f94._0x20125a);}return _0x264a01[_0x1487f2(_0x17f462._0x119b52,_0x17f462._0x2f909,_0x17f462._0x3d1ab1,_0x17f462._0x575413)](/\r\n/g,'\x0a');}function convertEol(_0x14e367,_0x2e46d7){const _0x2410dd={_0x388a04:0x144,_0x12d2ac:0x106,_0x15d61c:0x93,_0x5042a3:0x22b},_0x245458={_0x3d5491:0xf8},_0x2b1553={_0xef8092:0xbd,_0x13e912:0x22};function _0x2c77b9(_0x275bec,_0x1eab4b,_0x3dc292,_0xd45358){return _0xe18bb0(_0x3dc292,_0xd45358-_0x2b1553._0xef8092,_0x3dc292-_0x2b1553._0x13e912,_0xd45358-0x93);}function _0x2d5988(_0x36a99f,_0x429e9a,_0x18ea00,_0x336516){return _0x47b891(_0x429e9a,_0x336516- -0x529,_0x18ea00-0x1de,_0x336516-_0x245458._0x3d5491);}return _0x2e46d7===_0x2d5988(_0x2410dd._0x388a04,0x2e0,0x198,_0x2410dd._0x12d2ac)?_0x14e367[_0x2d5988(_0x2410dd._0x15d61c,0xeb,0xc2,_0x2410dd._0x5042a3)](/\n/g,'\x0d\x0a'):_0x14e367;}function resolveAnchoredEditTarget(_0x1892d0,_0x16e2fd,_0x3873d4,_0x3e380e){const _0x52490f={_0xc98ad6:0x249,_0x43a102:0x1d4,_0x348f7e:0x204,_0x37900d:0xb6,_0x414ddb:0x4d,_0x187a21:0x180,_0x5ca283:0xd5,_0x5503e0:0x6e,_0x230d18:0x10,_0x5aa682:0x1b1,_0x517847:0x286,_0xf0e69e:0x289,_0x50d295:0x161,_0x2d57fe:0x156,_0x15f0e1:0xd2,_0x40d98b:0x9e,_0x5653c6:0x120},_0x130de2={_0x3417c7:0x402},_0x59d873={_0x3e79fa:0x118},_0x59f24c=_0x1892d0[_0x268ff1(0x134,0x2b9,0x16f,_0x52490f._0xc98ad6)]??_0x42ea66(_0x52490f._0x43a102,0x132,0x24d,_0x52490f._0x348f7e);if(_0x59f24c==='exact')return void 0x0;const _0x3f5566=_0x1892d0['observations'],_0x343da0=_0x1892d0[_0x42ea66(0x27,_0x52490f._0x37900d,-0x115,-0xd3)],_0x51c1ba=_0x1892d0[_0x268ff1(-_0x52490f._0x414ddb,_0x52490f._0x187a21,0x162,_0x52490f._0x5ca283)];if(_0x3f5566===void 0x0||_0x343da0===void 0x0||_0x51c1ba===void 0x0){const _0x5af97f=[_0x3f5566===void 0x0?'observations':void 0x0,_0x343da0===void 0x0?_0x268ff1(0x10a,_0x52490f._0x5503e0,-_0x52490f._0x230d18,_0x52490f._0x5aa682):void 0x0,_0x51c1ba===void 0x0?'outputBudgetBytes':void 0x0][_0x42ea66(_0x52490f._0x517847,0x3ae,_0x52490f._0xf0e69e,0x334)](_0x3dfe10=>_0x3dfe10!==void 0x0)['join'](',\x20');throw new Error(_0x16e2fd+'\x20'+_0x59f24c+_0x268ff1(0x1,_0x52490f._0x50d295,0x2a,-0x151)+_0x5af97f+_0x42ea66(_0x52490f._0x2d57fe,_0x52490f._0x15f0e1,-_0x52490f._0x40d98b,_0x52490f._0x5653c6));}function _0x42ea66(_0x17b0b4,_0x3a80d0,_0x151cff,_0x5ebcb1){return _0xe18bb0(_0x17b0b4,_0x3a80d0-0x155,_0x151cff-_0x59d873._0x3e79fa,_0x5ebcb1-0x32);}function _0x268ff1(_0x1d478d,_0x15354f,_0x110d56,_0x56c5e2){return _0x47b891(_0x15354f,_0x110d56- -_0x130de2._0x3417c7,_0x110d56-0x1d7,_0x56c5e2-0x197);}return{'mode':_0x59f24c,'environment':{'defaultCwd':_0x3873d4,'allowedDirs':_0x3e380e,'observations':_0x3f5566,'mutations':_0x343da0,'outputBudgetBytes':_0x51c1ba}};}function createFileEditTool(_0xee878a={}){const _0x43ce44={_0x21145d:0x433,_0x1ca54e:0x53a,_0x578cb3:0xd1,_0x251aec:0x19,_0x586998:0x66,_0x3a63ad:0x408,_0x39f91c:0x533,_0x121843:0x1d4,_0x39a379:0xea,_0x1e81b3:0x96,_0x106fbd:0x82,_0x1edb24:0x41d,_0x31332f:0x51c,_0xd3e230:0x517,_0xd73ba9:0x540,_0x39f3b1:0x52,_0x2f393f:0x53,_0x1c2323:0x120,_0x1cf29d:0x66,_0x7bccfd:0x15d,_0x920f22:0xe8,_0x4d5fa8:0x270,_0x1827f0:0x373,_0x1809d7:0x5e6,_0x37fa6c:0x38a,_0x232f4d:0x2de,_0x1503e1:0x2ad,_0x4ce9d0:0x130,_0x2dcceb:0x16a,_0x2777cd:0x374,_0xc438:0x23a,_0x569f62:0x570,_0x21d928:0x184,_0xa0595f:0x314,_0x37f06f:0x311,_0x2b8b19:0x179,_0x22cb5d:0x159,_0x12f373:0x87},_0x2b6ca1={_0x4b7f11:0x6e5,_0x4feb13:0x7e6,_0x564d9b:0x7f1,_0x2e4f3d:0x3cf,_0x7fff9c:0x406,_0x22d0f6:0x279,_0x10987f:0x488,_0x21b83d:0x5fe,_0x52c1ff:0x7d9,_0x5b901e:0x7ee,_0x2a3bde:0x915,_0x73f410:0x70a,_0x2bff2e:0x8e7,_0x3821d2:0x81e,_0x227f90:0x712,_0x43590f:0x8c9,_0x35fd88:0x720,_0x5321aa:0x51a,_0x19ef14:0x76b,_0x2b3dc6:0x8d3,_0x450077:0x645,_0x440e3b:0x8ae,_0x3dd035:0x75b,_0x185259:0x675,_0x51fb5d:0x633,_0x126f85:0x70c,_0x322a96:0x7de,_0x49793d:0x9f9,_0x403f7b:0x807,_0x2d2c28:0x6e7,_0x38a45c:0x831,_0x1a0b40:0x737,_0x163710:0x6ea,_0x1fea37:0x77e,_0x3a0ceb:0x619,_0x258608:0x6bc},_0x5e3926={_0xb31364:0x1a0},_0x501536={_0x445f6e:0xa8,_0x5321ae:0x57},_0x9be332={_0x16c1cc:0x123,_0x3f6f5a:0x45},_0x1cc4a6={_0x52f537:0x433,_0x1d222a:0x1af,_0x187ae1:0xc};function _0x2f79d3(_0x45abb9,_0x4aa669,_0x3587ba,_0x4439a9){return _0x47b891(_0x4aa669,_0x4439a9- -_0x1cc4a6._0x52f537,_0x3587ba-_0x1cc4a6._0x1d222a,_0x4439a9-_0x1cc4a6._0x187ae1);}const _0x4956fc=_0x215c7d[_0x540847(0x496,_0x43ce44._0x21145d,0x236,_0x43ce44._0x1ca54e)](_0xee878a[_0x2f79d3(-_0x43ce44._0x578cb3,_0x43ce44._0x251aec,_0x43ce44._0x586998,0x32)]??process[_0x540847(0x447,_0x43ce44._0x3a63ad,0x3c2,0x230)]()),_0x4437b3=_0xee878a[_0x540847(0x3ab,_0x43ce44._0x39f91c,0x470,0x376)]??[];function _0x540847(_0x5266db,_0x112963,_0x438a19,_0x315acc){return _0xe18bb0(_0x438a19,_0x112963-0x492,_0x438a19-_0x9be332._0x16c1cc,_0x315acc-_0x9be332._0x3f6f5a);}const _0x34cfb7=_0xee878a['name']??_0x2f79d3(-_0x43ce44._0x121843,_0x43ce44._0x39a379,_0x43ce44._0x1e81b3,-_0x43ce44._0x106fbd),_0x161434=resolveAnchoredEditTarget(_0xee878a,_0x34cfb7,_0x4956fc,_0x4437b3);if(_0x161434!==void 0x0){const {mode:_0x55b701,environment:_0x362be7}=_0x161434;return defineTool({'name':_0x34cfb7,'permissionClass':_0x540847(_0x43ce44._0x1edb24,_0x43ce44._0x31332f,_0x43ce44._0xd3e230,_0x43ce44._0xd73ba9),'description':_0x55b701==='hashline'?'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20applying\x20a\x20snapshot-anchored\x20Hashline\x20patch.':_0x2f79d3(-0xba,_0x43ce44._0x39f3b1,0x195,-_0x43ce44._0x2f393f),'inputSchema':_0x55b701===_0x2f79d3(-_0x43ce44._0x1c2323,-0x24e,-_0x43ce44._0x1cf29d,-0x7d)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x1bfa9e,_0x12ad0f){return yield await executeAnchoredFileEdit(_0x55b701,_0x1bfa9e,_0x12ad0f,_0x362be7),void 0x0;}});}return defineTool({'name':_0x34cfb7,'permissionClass':_0x2f79d3(0x66,0x18a,_0x43ce44._0x7bccfd,_0x43ce44._0x920f22),'description':_0x540847(_0x43ce44._0x4d5fa8,0x479,_0x43ce44._0x1827f0,_0x43ce44._0x1809d7),'inputSchema':{'type':_0x2f79d3(_0x43ce44._0x37fa6c,_0x43ce44._0x232f4d,0x23c,_0x43ce44._0x1503e1),'properties':{'filePath':{'type':_0x2f79d3(0x176,-0x36,0x2ba,0x184)},'description':{'type':'string','description':_0x2f79d3(_0x43ce44._0x4ce9d0,_0x43ce44._0x2dcceb,_0x43ce44._0x2777cd,_0x43ce44._0xc438)},'oldText':{'type':_0x540847(0x638,0x5b8,0x4ea,_0x43ce44._0x569f62)},'newText':{'type':_0x2f79d3(0x6d,0x59,_0x43ce44._0x39a379,_0x43ce44._0x21d928)},'dryRun':{'type':_0x2f79d3(0x37a,_0x43ce44._0xa0595f,0x40c,_0x43ce44._0x37f06f)}},'required':['filePath',_0x2f79d3(0x17c,0x245,-0x173,0x75),_0x2f79d3(_0x43ce44._0x2b8b19,-0x13f,_0x43ce44._0x22cb5d,_0x43ce44._0x12f373)]},async *'execute'(_0x319e56){const _0xbb63ed=resolveAllowedPath(_0x4956fc,_0x4437b3,_0x319e56[_0xe43ea8(0x8c6,0x50e,_0x2b6ca1._0x4b7f11,0x70c)]);await assertWorkspaceFile(_0xbb63ed);const _0x8c3dd=await _0x59dfef(_0xbb63ed),_0x3f1eaa=await _0x4005c7(_0xbb63ed),_0x39785d=detectEol(_0x3f1eaa),_0x35ddd9=normalizeToLf(_0x3f1eaa[_0xe43ea8(_0x2b6ca1._0x4feb13,0x6e7,0x9b9,0x826)]('utf8')),_0x41929b=normalizeToLf(_0x319e56[_0x23347e(0x6b0,0x649,0x82c,0x706)]),_0x544818=normalizeToLf(_0x319e56['newText']),_0x1758fd=replaceFirstExact(_0x35ddd9,_0x41929b,_0x544818);if(_0x1758fd===void 0x0){const _0x49b380=_0x41929b['slice'](0x0,0x64)[_0xe43ea8(0x9f6,0x7ec,0x6be,_0x2b6ca1._0x564d9b)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xe43ea8(_0x2b6ca1._0x2e4f3d,_0x2b6ca1._0x7fff9c,_0x2b6ca1._0x22d0f6,_0x2b6ca1._0x10987f)+_0x49b380+(_0x41929b[_0x23347e(_0x2b6ca1._0x21b83d,_0x2b6ca1._0x52c1ff,_0x2b6ca1._0x5b901e,0x6ca)]>0x64?_0x23347e(_0x2b6ca1._0x564d9b,0x717,0x595,0x7be):'')+'\x22',{'filePath':_0x319e56['filePath']});}const _0x329960=convertEol(_0x1758fd['after'],_0x39785d),_0x58c282=Buffer['from'](_0x329960,_0xe43ea8(0x5d4,0x59c,_0x2b6ca1._0x2a3bde,0x72a)),_0x3f8525=sha256Bytes(_0x3f1eaa),_0x185c09=sha256Bytes(_0x58c282);function _0xe43ea8(_0x4f8794,_0x403868,_0x1502d7,_0x2eec9f){return _0x540847(_0x4f8794-_0x501536._0x445f6e,_0x2eec9f-0x9c,_0x4f8794,_0x2eec9f-_0x501536._0x5321ae);}const _0xf4dd0=_0x3f8525===_0x185c09;function _0x23347e(_0xb76c5,_0x10b510,_0x1af131,_0x3448dd){return _0x540847(_0xb76c5-0x1b5,_0x10b510-_0x5e3926._0xb31364,_0x3448dd,_0x3448dd-0xdc);}const _0x5ad043=_0x319e56[_0x23347e(_0x2b6ca1._0x73f410,_0x2b6ca1._0x2bff2e,_0x2b6ca1._0x3821d2,_0x2b6ca1._0x5b901e)]??![];return!_0x5ad043&&!_0xf4dd0&&await atomicReplaceFile(_0xbb63ed,_0x58c282,_0x8c3dd[_0x23347e(0x85d,_0x2b6ca1._0x227f90,0x511,_0x2b6ca1._0x43590f)]),yield createToolOutput(_0xf4dd0?_0xe43ea8(_0x2b6ca1._0x35fd88,0x356,0x659,_0x2b6ca1._0x5321aa):_0x5ad043?_0x23347e(0x965,_0x2b6ca1._0x19ef14,_0x2b6ca1._0x2b3dc6,_0x2b6ca1._0x450077):_0xe43ea8(_0x2b6ca1._0x440e3b,0x73d,0x55b,_0x2b6ca1._0x3dd035),{'filePath':_0x319e56[_0xe43ea8(_0x2b6ca1._0x185259,_0x2b6ca1._0x51fb5d,0x72f,_0x2b6ca1._0x126f85)],'resolvedPath':_0xbb63ed,'created':_0x8c3dd['birthtime'][_0xe43ea8(_0x2b6ca1._0x322a96,0x7b8,0x5dd,0x5e3)](),'modified':_0x8c3dd[_0xe43ea8(0x905,0x60d,_0x2b6ca1._0x49793d,_0x2b6ca1._0x403f7b)][_0x23347e(0x8e5,_0x2b6ca1._0x2d2c28,0x69f,0x846)](),'size':_0x8c3dd[_0xe43ea8(_0x2b6ca1._0x38a45c,_0x2b6ca1._0x1a0b40,0x796,0x6d7)],'eol':_0x39785d,'oldTextLength':_0x41929b[_0xe43ea8(0x82c,0x7e0,_0x2b6ca1._0x163710,0x6d5)],'newTextLength':_0x544818[_0xe43ea8(_0x2b6ca1._0x1fea37,0x8e2,_0x2b6ca1._0x3a0ceb,0x6d5)],'bytesWritten':_0xf4dd0||_0x5ad043?0x0:_0x58c282[_0x23347e(0x748,0x7d9,_0x2b6ca1._0x258608,0x80b)],'beforeSha':_0x3f8525,'afterSha':_0x185c09,'dryRun':_0x5ad043,'noChange':_0xf4dd0,'lineNumbers':_0x1758fd['lineNumbers']}),void 0x0;}});}var FileMutationCoordinator=class{[_0xe18bb0(0x2c5,0x2ef,0x21e,0x1e0)]=new Map();async[_0xe18bb0(-0x1b2,-0x3d,-0x55,-0x1ca)](_0x2cd0c6,_0x43af15,_0x17e87e){const _0x1c436e={_0x416ef4:0x1cd,_0x211634:0x304,_0x575274:0x4f8,_0x1afd60:0x47e,_0x398345:0x326,_0x232891:0x121,_0x51df2a:0x772,_0x4e1fed:0x652,_0x1b519a:0x4ba,_0xe9aca5:0x16,_0x4e4d77:0x12c,_0x8eba2:0x15,_0x2e2c35:0x3fc},_0x3bd410={_0x1d4bf4:0x5b8,_0x49b730:0x688,_0x4f15f3:0x2f4,_0x2a87c0:0x416,_0x7bed82:0x444},_0x539e95={_0xc4dd52:0x133};function _0x1c0a93(_0x5db82d,_0xa9bdda,_0x167f00,_0x12d9b1){return _0xe18bb0(_0x167f00,_0x12d9b1-0x7c,_0x167f00-0x106,_0x12d9b1-0x1b6);}throwIfAborted(_0x43af15);const _0x5590a9=this['tails']['get'](_0x2cd0c6)??Promise[_0x17150e(_0x1c436e._0x416ef4,_0x1c436e._0x211634,_0x1c436e._0x575274,_0x1c436e._0x1afd60)](),_0x2b6ab9=_0x5590a9[_0x1c0a93(_0x1c436e._0x398345,_0x1c436e._0x232891,0xb2,0x257)](async()=>{return throwIfAborted(_0x43af15),_0x17e87e();}),_0x174c74=_0x2b6ab9['then'](()=>void 0x0,()=>void 0x0);this[_0x17150e(_0x1c436e._0x51df2a,_0x1c436e._0x4e1fed,0x607,_0x1c436e._0x1b519a)][_0x1c0a93(0x120,_0x1c436e._0xe9aca5,-_0x1c436e._0x4e4d77,-_0x1c436e._0x8eba2)](_0x2cd0c6,_0x174c74);function _0x17150e(_0x2c2243,_0x2cacca,_0x47e095,_0x4ee09b){return _0xe18bb0(_0x47e095,_0x2cacca-0x363,_0x47e095-0x131,_0x4ee09b-0x1f);}return void _0x174c74[_0x17150e(0x274,0x37e,_0x1c436e._0x2e2c35,0x4ab)](()=>{const _0x4bf3c2={_0x158140:0x1ac,_0x109ad1:0x1b3};function _0x582476(_0x520949,_0xae716,_0x35b19f,_0x301536){return _0x17150e(_0x520949-_0x4bf3c2._0x158140,_0x520949- -0x9a,_0x35b19f,_0x301536-_0x4bf3c2._0x109ad1);}function _0x2e75ea(_0x3c65c9,_0x349366,_0x41cd53,_0x16da0c){return _0x17150e(_0x3c65c9-_0x539e95._0xc4dd52,_0x3c65c9- -0x9a,_0x349366,_0x16da0c-0x141);}this[_0x2e75ea(_0x3bd410._0x1d4bf4,0x4aa,_0x3bd410._0x49b730,0x66a)][_0x582476(0x365,_0x3bd410._0x4f15f3,0x39b,0x1e4)](_0x2cd0c6)===_0x174c74&&this[_0x2e75ea(0x5b8,0x750,0x3e7,0x5cb)][_0x2e75ea(_0x3bd410._0x2a87c0,0x218,0x5f9,_0x3bd410._0x7bed82)](_0x2cd0c6);}),_0x2b6ab9;}};import{mkdir as _0x363f05,stat as _0x461720}from'fs/promises';import*as _0x4a4b86 from'path';function createFileNewTool(_0x1db193={}){const _0x268139={_0x4dc760:0x18d,_0x84da65:0x1a3,_0x1b814a:0x2ad,_0x5d3797:0x232,_0x50a6dc:0x19,_0x5a77cc:0x178,_0x38fbf0:0x157,_0x51845a:0x1d6,_0x45a5f9:0x158,_0xd5dc20:0x35a,_0x31088f:0x2a,_0x431b6b:0x9a,_0xaec13e:0xe1,_0x32eb57:0x228,_0x1720f7:0xb0,_0x184899:0x1e4,_0x16b735:0x42c,_0x1bd87f:0x328,_0x1c6ad9:0x44b,_0x3f9acd:0x1f7,_0x4acae2:0x103,_0x3ed0b9:0x45b,_0x9c6cf3:0x152,_0x568d13:0x1fb},_0x3fb3d8={_0x50b52c:0x2ba,_0x4eca7d:0x4ad,_0x118d96:0x77,_0x2cfb71:0x396,_0x14742a:0x297,_0x238773:0x2e8,_0x55fd57:0x192,_0x2e57ec:0x27d,_0x22e782:0x2cb,_0x1c1676:0x15d,_0x2c6ddc:0x41f,_0x22fa8c:0x48f,_0x55a639:0x37a,_0x3208ca:0x547,_0x1a313b:0x5f0,_0x2952cd:0x550,_0xac224:0x3eb,_0xd39d32:0x432,_0xacf1d6:0x412,_0x4417ff:0x42c,_0x43cbfa:0x5ea,_0x177a6f:0x45d,_0x12a31a:0x5c0,_0x7ddcf1:0x5b3,_0x298d34:0x30e,_0x5911e7:0x35b,_0x5b095c:0x4ef,_0x15e39a:0x377,_0x43d11d:0x3cd,_0x1204d7:0x67c,_0x20617b:0x613,_0x3dd852:0x6ef,_0x131567:0x496,_0x3525ca:0x695,_0x2e54ec:0x417,_0x2e696e:0x550,_0x4ed179:0x52c,_0x48d67a:0x691,_0x3d1643:0x519,_0x466d17:0x46f,_0x282d9d:0x329,_0x3a835d:0x309},_0x1d9004={_0x277e72:0xec},_0x4fda9b={_0x40da26:0x1a2},_0x530a70=_0x4a4b86[_0x132201(_0x268139._0x4dc760,_0x268139._0x84da65,0x48,-0x25)](_0x1db193[_0x132201(0x2c,0x1d6,_0x268139._0x1b814a,_0x268139._0x5d3797)]??process[_0x132201(-_0x268139._0x50a6dc,_0x268139._0x5a77cc,-0xe,0x19b)]()),_0x5a7a15=_0x1db193[_0x22afae(0x116,_0x268139._0x38fbf0,-0x154,-0x3a)]??[],_0x3addb5=_0x1db193[_0x132201(_0x268139._0x51845a,_0x268139._0x45a5f9,0x23a,0xd8)]??_0x22afae(_0x268139._0xd5dc20,0x356,-_0x268139._0x31088f,_0x268139._0x51845a);function _0x22afae(_0xe7dbeb,_0x273ded,_0x49f913,_0x239523){return _0xe18bb0(_0xe7dbeb,_0x239523- -0xdb,_0x49f913-0x126,_0x239523-_0x4fda9b._0x40da26);}function _0x132201(_0x598300,_0x5cb892,_0x1f99e8,_0x50414b){return _0xe18bb0(_0x1f99e8,_0x5cb892-0x202,_0x1f99e8-0x162,_0x50414b-_0x1d9004._0x277e72);}const {observations:_0x8705f4,anchored:anchored=![]}=_0x1db193;return defineTool({'name':_0x3addb5,'permissionClass':_0x22afae(_0x268139._0x431b6b,-_0x268139._0xaec13e,0xde,-0x51),'description':_0x132201(0x141,_0x268139._0x32eb57,_0x268139._0x1720f7,_0x268139._0x184899),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x132201(_0x268139._0x16b735,_0x268139._0x1bd87f,0x2ea,_0x268139._0x1c6ad9)},'content':{'type':_0x132201(0x4b7,0x328,0x305,_0x268139._0x32eb57)}},'required':[_0x22afae(-0x28,_0x268139._0x3f9acd,-0x77,_0x268139._0x4acae2),_0x132201(_0x268139._0x3ed0b9,0x2ff,_0x268139._0x9c6cf3,_0x268139._0x568d13)]},async *'execute'(_0xba381d,_0x45b77b){const _0x20d798={_0x3888aa:0x17},_0x27c38b=resolveAllowedPath(_0x530a70,_0x5a7a15,_0xba381d[_0x46028d(0x3c9,_0x3fb3d8._0x50b52c,_0x3fb3d8._0x4eca7d,0x368)]),_0x255eb4=await _0x461720(_0x27c38b)[_0x46028d(0x23e,_0x3fb3d8._0x118d96,_0x3fb3d8._0x2cfb71,_0x3fb3d8._0x14742a)](()=>void 0x0);function _0x2062cc(_0x38a8d2,_0x1c238a,_0x62ea52,_0x53dbc1){return _0x132201(_0x38a8d2-0x1,_0x62ea52-0x170,_0x1c238a,_0x53dbc1-0x10e);}function _0x46028d(_0x54fd50,_0x3d1746,_0x4d8fba,_0x6d9775){return _0x132201(_0x54fd50-0x86,_0x54fd50- -_0x20d798._0x3888aa,_0x3d1746,_0x6d9775-0x161);}const _0x1b9b9b=_0x255eb4!==void 0x0,_0x6e6dd7=Buffer['from'](_0xba381d[_0x46028d(_0x3fb3d8._0x238773,_0x3fb3d8._0x55fd57,_0x3fb3d8._0x2e57ec,0x290)],'utf8'),_0x3954ee=_0x255eb4!==void 0x0?_0x255eb4[_0x46028d(_0x3fb3d8._0x22e782,0x1f2,_0x3fb3d8._0x1c1676,0x322)]&0xfff:0x1b6&~process[_0x2062cc(_0x3fb3d8._0x2c6ddc,_0x3fb3d8._0x22fa8c,0x2ed,_0x3fb3d8._0x55a639)]();let _0xc7b4d9;anchored&&_0x8705f4!==void 0x0&&(_0xc7b4d9=createNormalizedFileSnapshot(_0x27c38b,_0x6e6dd7)[_0x46028d(0x4b1,_0x3fb3d8._0x3208ca,_0x3fb3d8._0x1a313b,0x60a)]);await _0x363f05(_0x4a4b86['dirname'](_0x27c38b),{'recursive':!![]}),await atomicReplaceFile(_0x27c38b,_0x6e6dd7,_0x3954ee);if(_0xc7b4d9!==void 0x0&&_0x8705f4!==void 0x0){const _0x4fcd3d=await resolveCanonicalAllowedFile(_0x530a70,_0x5a7a15,_0xba381d[_0x2062cc(0x701,0x436,_0x3fb3d8._0x2952cd,_0x3fb3d8._0xac224)]),_0x10dc32=createNormalizedFileSnapshot(_0x4fcd3d[_0x46028d(_0x3fb3d8._0xd39d32,0x3a1,_0x3fb3d8._0xacf1d6,0x50a)],_0x6e6dd7);_0x8705f4['bindSession'](_0x45b77b[_0x2062cc(_0x3fb3d8._0x4417ff,_0x3fb3d8._0x43cbfa,_0x3fb3d8._0x177a6f,_0x3fb3d8._0x12a31a)]),_0x8705f4[_0x2062cc(0x434,_0x3fb3d8._0x7ddcf1,0x494,0x49f)](_0x10dc32,_0x10dc32[_0x2062cc(_0x3fb3d8._0x298d34,0x19d,0x2f5,0x3e3)][_0x46028d(_0x3fb3d8._0x5911e7,0x3f9,0x43d,0x360)]((_0x4fb893,_0x4459d6)=>_0x4459d6+0x1));}return yield createToolOutput(_0xc7b4d9===void 0x0?_0x46028d(_0x3fb3d8._0x5b095c,_0x3fb3d8._0x15e39a,_0x3fb3d8._0x43d11d,_0x3fb3d8._0x1204d7)+_0xba381d['filePath']+'.':'['+_0xba381d[_0x2062cc(0x59d,0x443,0x550,_0x3fb3d8._0x20617b)]+'#'+_0xc7b4d9+_0x2062cc(0x60b,_0x3fb3d8._0x3dd852,0x4e6,_0x3fb3d8._0x131567)+_0xba381d[_0x2062cc(_0x3fb3d8._0x3525ca,0x64c,_0x3fb3d8._0x2952cd,0x608)]+'.',{'filePath':_0xba381d[_0x2062cc(_0x3fb3d8._0x2e54ec,0x3fa,_0x3fb3d8._0x2e696e,_0x3fb3d8._0x4ed179)],'resolvedPath':_0x27c38b,'bytes':_0x6e6dd7[_0x2062cc(0x37f,_0x3fb3d8._0x48d67a,_0x3fb3d8._0x3d1643,0x632)],'lines':_0xba381d[_0x2062cc(0x27a,0x5b2,_0x3fb3d8._0x466d17,0x4b6)][_0x2062cc(_0x3fb3d8._0x282d9d,0x2ef,_0x3fb3d8._0x3a835d,0x48d)](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x1b9b9b,..._0xc7b4d9===void 0x0?{}:{'tag':_0xc7b4d9}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x47b891(0x5f9,0x3f4,0x1e6,0x557)];['tagForDigest'];['sessionId'];['versionsByPath']=new Map();[_0x47b891(0x784,0x59d,0x70f,0x75e)]=[];[_0xe18bb0(0x78,0x146,0x9c,0x17c)]=0x0;['bytesByDigest']=new Map();[_0xe18bb0(0xb5,0x25f,0x173,0x38d)]=new Map();constructor(_0x3eeea8={}){const _0x1c4108={_0x210a4b:0x1d6,_0x2358e7:0x1f1,_0x3a283e:0x30e,_0x420fc4:0x6a8,_0x221525:0x437,_0x116ade:0x538},_0x468b76={_0x2c73a3:0x31f,_0x42ea62:0x182},_0x1293c0={_0x86f250:0x28e,_0x53bc81:0x14e,_0x4db13d:0xd1};this[_0x304d73(_0x1c4108._0x210a4b,_0x1c4108._0x2358e7,0x315,_0x1c4108._0x3a283e)]={...FILE_OBSERVATION_LIMITS,..._0x3eeea8['limits']};function _0x304d73(_0x10674d,_0x4be759,_0x10a37a,_0x2e30ad){return _0xe18bb0(_0x10a37a,_0x4be759-_0x1293c0._0x86f250,_0x10a37a-_0x1293c0._0x53bc81,_0x2e30ad-_0x1293c0._0x4db13d);}function _0xf7130e(_0x352dd1,_0x18bdd0,_0x46d65e,_0x1b42e4){return _0x47b891(_0x18bdd0,_0x1b42e4- -_0x468b76._0x2c73a3,_0x46d65e-_0x468b76._0x42ea62,_0x1b42e4-0x187);}this[_0x304d73(_0x1c4108._0x420fc4,0x4bf,0x44e,0x3fe)]=_0x3eeea8[_0xf7130e(_0x1c4108._0x221525,_0x1c4108._0x116ade,0x1f6,0x3a3)];}[_0xe18bb0(-0x148,-0x2,0x1af,-0xb1)](_0x535a10){const _0x4f3d06={_0x1920e9:0x134,_0x3d4d41:0x215,_0x34b6f6:0x3f,_0x1b1283:0x143,_0x112a1f:0x1e8},_0x22f03c={_0x20f3f6:0x53d},_0x3626b8={_0x2e7fa0:0x448,_0x50bf9f:0x10e};if(this[_0x5a4fce(_0x4f3d06._0x1920e9,0x7f,0x192,0x20d)]===_0x535a10)return;function _0x5a4fce(_0x2b3991,_0x53c20e,_0x159d18,_0x8db01e){return _0x47b891(_0x53c20e,_0x2b3991- -_0x3626b8._0x2e7fa0,_0x159d18-_0x3626b8._0x50bf9f,_0x8db01e-0x30);}function _0x46f151(_0x29a46f,_0x3f98f2,_0x5b68c7,_0x56f94c){return _0x47b891(_0x3f98f2,_0x29a46f- -_0x22f03c._0x20f3f6,_0x5b68c7-0x56,_0x56f94c-0xdf);}this[_0x46f151(-0x12c,0x8e,-_0x4f3d06._0x3d4d41,0x71)](),this[_0x46f151(_0x4f3d06._0x34b6f6,_0x4f3d06._0x1b1283,_0x4f3d06._0x112a1f,0x1ff)]=_0x535a10;}['record'](_0x26d1fd,_0x40449d){const _0x5cbe68={_0x1a5988:0x45,_0x1e1059:0x8c,_0x478516:0x184,_0x26b810:0x163,_0x2abb23:0x5e,_0xc8dacb:0x181,_0x32db10:0x2e6,_0x91e2b7:0x1e1,_0x3e6feb:0x3b,_0x4cad55:0x31c,_0x440d16:0x764,_0x4e081e:0x63c,_0x31ec85:0x1bc,_0x37b113:0x84,_0x25d3d4:0x152,_0x3cc99f:0x8c,_0x43e642:0x61,_0x4a6e46:0x6bc,_0x56f932:0x6c2,_0x142fb2:0x361,_0x387836:0x309,_0x2ad512:0x1a3,_0x1b0191:0x33,_0x3cb7d3:0x90,_0x213b57:0x466,_0x26c358:0x42c,_0x31d936:0x3f8,_0x2eafc5:0x4b1,_0x36e8fe:0x7f3,_0x43a107:0x63c,_0x406a33:0x1fc,_0x200a95:0x1dd,_0x347f03:0x540,_0x1083b4:0x386,_0x179430:0x26e,_0x11fa5a:0x206,_0x145012:0x4cf,_0x34c7da:0x7ab,_0x140c87:0x6bb,_0x506278:0x266,_0x5e024b:0x1bb,_0x256d1f:0x383,_0xabea9e:0x226,_0x33bec9:0x197,_0x53aa8e:0xc,_0x4464b7:0x137,_0x4e65f7:0x267,_0x2b9101:0xd7,_0x520296:0x4cc,_0x511dc6:0x664,_0x51e714:0x26d,_0x4a9e64:0x89,_0x3f951b:0x1d,_0x9bdcd8:0x61,_0x4a1e31:0x3dc,_0x2730b1:0x529,_0x11cf19:0x124,_0x2a931d:0x119,_0x58a83b:0x2dd,_0x53b5da:0xc9,_0x4bf441:0x51a,_0x56229b:0x34b,_0x43031a:0x4b7,_0x3ab36b:0x296,_0x2c1abb:0x2a1,_0x44d7b3:0x29a,_0x453db1:0x386,_0x1f4a1c:0x78a,_0x34246d:0x4da,_0x427d65:0x63c,_0x34e664:0x3d6,_0x5cdd5d:0x3a5,_0x15e625:0x545,_0x62dd9a:0x16f,_0x119a51:0x150,_0x4c050b:0x358,_0x50d095:0x46d,_0x5c0387:0x35a,_0x48d7df:0x60d,_0x464f14:0x59c,_0x64e465:0x6d3,_0x5db044:0x793,_0x196df8:0x5ce},_0xb73400={_0x3f996a:0x122,_0x1e2990:0x103},_0xd38b0f={_0x133715:0xfb,_0x1a06d4:0x8d,_0xa22b0a:0x83};if(_0x26d1fd[_0x19abf5(_0x5cbe68._0x1a5988,_0x5cbe68._0x1e1059,-_0x5cbe68._0x478516,-_0x5cbe68._0x26b810)]>this[_0x19abf5(0xfb,_0x5cbe68._0x2abb23,-0x33,_0x5cbe68._0xc8dacb)][_0x25aaa8(0x4d1,_0x5cbe68._0x32db10,_0x5cbe68._0x91e2b7,0x32d)])throw createAnchoredFileError(_0x19abf5(0xc0,0x14,-0x57,-_0x5cbe68._0x3e6feb),_0x25aaa8(0x45a,0x304,0x529,_0x5cbe68._0x4cad55)+_0x26d1fd[_0x25aaa8(0x528,0x6fe,_0x5cbe68._0x440d16,_0x5cbe68._0x4e081e)]+_0x19abf5(_0x5cbe68._0x31ec85,_0x5cbe68._0x37b113,-0x181,0xff)+_0x26d1fd[_0x19abf5(-_0x5cbe68._0x25d3d4,_0x5cbe68._0x3cc99f,0x211,-_0x5cbe68._0x43e642)]+_0x25aaa8(_0x5cbe68._0x4a6e46,0x543,_0x5cbe68._0x56f932,0x656)+this[_0x25aaa8(_0x5cbe68._0x142fb2,0x463,_0x5cbe68._0x387836,0x358)][_0x19abf5(-_0x5cbe68._0x2ad512,_0x5cbe68._0x1b0191,0x242,_0x5cbe68._0x3cb7d3)]+_0x25aaa8(0x271,_0x5cbe68._0x213b57,_0x5cbe68._0x26c358,_0x5cbe68._0x31d936),{'path':_0x26d1fd[_0x25aaa8(_0x5cbe68._0x2eafc5,0x76c,_0x5cbe68._0x36e8fe,_0x5cbe68._0x43a107)],'size':_0x26d1fd[_0x25aaa8(_0x5cbe68._0x406a33,_0x5cbe68._0x200a95,_0x5cbe68._0x347f03,_0x5cbe68._0x1083b4)]});const _0x368710=this['tagForDigest']?this[_0x19abf5(_0x5cbe68._0x179430,0x32c,0x3ae,_0x5cbe68._0x11fa5a)](_0x26d1fd['digest']):_0x26d1fd[_0x25aaa8(_0x5cbe68._0x145012,0x737,_0x5cbe68._0x34c7da,_0x5cbe68._0x140c87)],_0x4b43ca=this[_0x25aaa8(0x24d,_0x5cbe68._0x506278,_0x5cbe68._0x5e024b,_0x5cbe68._0x256d1f)][_0x19abf5(_0x5cbe68._0xabea9e,_0x5cbe68._0x33bec9,_0x5cbe68._0x53aa8e,_0x5cbe68._0x4464b7)](_0x26d1fd[_0x19abf5(0x1b9,0x342,_0x5cbe68._0x4e65f7,0x394)]),_0x1086f3=_0x4b43ca?.[_0x19abf5(0x168,0x20f,0x62,_0x5cbe68._0x2b9101)](_0x2d15a3=>_0x2d15a3[_0x19abf5(-0x91,0x90,0x1ed,-0xbf)][_0x19abf5(0x10a,0x119,0x162,0xb1)]===_0x26d1fd[_0x25aaa8(0x252,0x345,0x2bf,0x413)]);let _0x2b9c42;function _0x19abf5(_0x46d2f3,_0x1b5d5e,_0x5ec089,_0x101f86){return _0xe18bb0(_0x101f86,_0x1b5d5e-_0xd38b0f._0x133715,_0x5ec089-_0xd38b0f._0x1a06d4,_0x101f86-_0xd38b0f._0xa22b0a);}if(_0x1086f3){for(const _0x4f8dae of _0x40449d)_0x1086f3[_0x25aaa8(0x78d,0x76a,0x5a8,0x600)][_0x25aaa8(_0x5cbe68._0x520296,0x489,_0x5cbe68._0x511dc6,0x682)](_0x4f8dae);_0x2b9c42=_0x1086f3;}else{_0x2b9c42={'snapshot':_0x26d1fd,'tag':_0x368710,'observedLines':new Set(_0x40449d)};if(!_0x4b43ca)this[_0x19abf5(_0x5cbe68._0x51e714,_0x5cbe68._0x4a9e64,_0x5cbe68._0x3f951b,0x207)][_0x19abf5(0x147,0x6a,-_0x5cbe68._0x9bdcd8,0x45)](_0x26d1fd['canonicalPath'],[_0x2b9c42]);else{if(_0x4b43ca['length']>=this['limits'][_0x19abf5(0x481,_0x5cbe68._0x4a1e31,_0x5cbe68._0x2730b1,0x4a6)]){const _0x7d4a10=_0x4b43ca[_0x19abf5(0x163,0xe8,0x274,0x22b)]();if(_0x7d4a10)this['releaseBytes'](_0x7d4a10[_0x25aaa8(0x442,0x57a,0x2ee,0x38a)][_0x19abf5(_0x5cbe68._0x11cf19,_0x5cbe68._0x2a931d,_0x5cbe68._0x58a83b,_0x5cbe68._0x53b5da)]);}_0x4b43ca['push'](_0x2b9c42);}this[_0x19abf5(_0x5cbe68._0x4bf441,_0x5cbe68._0x56229b,_0x5cbe68._0x43031a,_0x5cbe68._0x3ab36b)](_0x26d1fd['digest'],_0x26d1fd[_0x25aaa8(_0x5cbe68._0x2c1abb,_0x5cbe68._0x44d7b3,0x333,_0x5cbe68._0x453db1)]);}this['touchPath'](_0x26d1fd[_0x25aaa8(_0x5cbe68._0x1f4a1c,0x795,_0x5cbe68._0x34246d,_0x5cbe68._0x427d65)]);function _0x25aaa8(_0x1432ed,_0x86b446,_0x9d3f04,_0x4abc61){return _0x47b891(_0x1432ed,_0x4abc61- -0x9c,_0x9d3f04-_0xb73400._0x3f996a,_0x4abc61-_0xb73400._0x1e2990);}while(this['versionsByPath'][_0x25aaa8(_0x5cbe68._0x34e664,_0x5cbe68._0x5cdd5d,0x6db,0x59e)]>this[_0x25aaa8(0x463,_0x5cbe68._0x15e625,_0x5cbe68._0x62dd9a,0x358)][_0x19abf5(0x2c9,0x214,0x2e0,0x30c)]){this['evictLeastRecentlyUsedPath']();}while(this['totalBytes']>this[_0x25aaa8(0x1a5,0x28f,_0x5cbe68._0x119a51,_0x5cbe68._0x4c050b)][_0x19abf5(0xde,_0x5cbe68._0x1b0191,-0x77,0xe1)]&&this[_0x25aaa8(_0x5cbe68._0x50d095,_0x5cbe68._0x5c0387,_0x5cbe68._0x48d7df,0x501)][_0x25aaa8(0x572,0x44e,0x4b1,_0x5cbe68._0x464f14)]>0x1){this[_0x25aaa8(_0x5cbe68._0x64e465,_0x5cbe68._0x5db044,0x502,0x5d7)]();}return{'snapshot':_0x2b9c42['snapshot'],'observedLines':new Set(_0x2b9c42[_0x25aaa8(0x41c,_0x5cbe68._0x196df8,0x723,0x600)])};}['resolve'](_0x4971c3,_0x13186c){const _0x1961af={_0xa92de5:0x205,_0x5f4dcd:0x250,_0x40ebea:0x120,_0x4eaf3f:0x1c3,_0x3fdec4:0x8d,_0x52feec:0x147,_0x27560a:0xd7,_0xe0a862:0x263,_0x1d4b9f:0x4d2,_0x10d2ea:0x67b,_0x4a95ea:0x4c2,_0x238bdd:0x69b,_0x49d5ee:0x649,_0x1e5296:0x5df,_0x434226:0x3ff,_0x3c14ba:0x626,_0x32e73c:0x40b,_0x13d882:0x4d2,_0x4c1fe5:0x35a,_0x3489f6:0x1bc,_0x5f24fe:0x3df,_0x5723fd:0x28a,_0x16ef84:0x1d4,_0x4028ef:0x295,_0x4e496b:0x43,_0x2fd6ff:0x156},_0x26cd72={_0x4c465d:0x10b,_0x20451c:0x104,_0xe08c0c:0x1cd},_0x209213={_0x81c054:0x1ce,_0x2f85c2:0xc2},_0x1290d9=this[_0xd58b67(_0x1961af._0xa92de5,_0x1961af._0x5f4dcd,0x314,0x21d)]['get'](_0x4971c3);if(!_0x1290d9)throw createAnchoredFileError(_0x21d6cb(_0x1961af._0x40ebea,0x139,_0x1961af._0x4eaf3f,-_0x1961af._0x3fdec4),_0x21d6cb(_0x1961af._0x52feec,0x21b,_0x1961af._0x27560a,_0x1961af._0xe0a862)+_0x13186c+_0x21d6cb(_0x1961af._0x1d4b9f,_0x1961af._0x10d2ea,_0x1961af._0x4a95ea,_0x1961af._0x238bdd)+_0x4971c3+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x4971c3,'tag':_0x13186c});function _0x21d6cb(_0x38c892,_0x28dd8c,_0x27a00b,_0xa9b0f4){return _0x47b891(_0x27a00b,_0x38c892- -0x28a,_0x27a00b-_0x209213._0x81c054,_0xa9b0f4-_0x209213._0x2f85c2);}const _0x472c3e=_0x1290d9[_0xd58b67(0x57a,_0x1961af._0x49d5ee,_0x1961af._0x1e5296,_0x1961af._0x434226)](_0x242b9a=>_0x242b9a[_0xd58b67(0x591,0x477,0x64c,0x640)]===_0x13186c);if(_0x472c3e[_0xd58b67(_0x1961af._0x3c14ba,_0x1961af._0x32e73c,0x52d,0x5b0)]===0x0)throw createAnchoredFileError('unknown_snapshot','Snapshot\x20tag\x20'+_0x13186c+_0x21d6cb(_0x1961af._0x13d882,0x3e8,0x64c,0x2ce)+_0x4971c3+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x4971c3,'tag':_0x13186c});if(_0x472c3e['length']>0x1)throw createAnchoredFileError(_0x21d6cb(_0x1961af._0x4c1fe5,_0x1961af._0x3489f6,0x32e,_0x1961af._0x5f24fe),_0xd58b67(0x154,_0x1961af._0x5723fd,0x2c6,0x463)+_0x13186c+'\x20is\x20ambiguous\x20for\x20'+_0x4971c3+_0x21d6cb(_0x1961af._0x16ef84,_0x1961af._0x4028ef,0x25,0x12d),{'path':_0x4971c3,'tag':_0x13186c});this['touchPath'](_0x4971c3);function _0xd58b67(_0x54530f,_0x5b7057,_0x3e1ea8,_0x3428e8){return _0x47b891(_0x5b7057,_0x3e1ea8- -_0x26cd72._0x4c465d,_0x3e1ea8-_0x26cd72._0x20451c,_0x3428e8-_0x26cd72._0xe08c0c);}return{'snapshot':_0x472c3e[0x0][_0x21d6cb(0x19c,_0x1961af._0x4e496b,_0x1961af._0x2fd6ff,0x1a9)],'observedLines':new Set(_0x472c3e[0x0]['observedLines'])};}[_0xe18bb0(0x2ac,0x163,0xe2,0x2d2)](_0x24b899,_0x4478ff){const _0x14be24={_0x32c11e:0x3c3,_0x2c58b9:0x559,_0x303d46:0x5aa,_0x3dcc4f:0x63e,_0x3bb409:0x2b7,_0x15b1cd:0x177,_0x4485ef:0x36,_0x50ce53:0xd4},_0x1412f4={_0x15956a:0x4d4,_0xae67ca:0x12d},_0x5b7b92={_0x384217:0x4bd,_0x26c346:0x1af,_0xb37d8e:0x198};function _0x14336e(_0x2182f5,_0x5cc86e,_0x2d3164,_0x177aa2){return _0xe18bb0(_0x5cc86e,_0x2182f5-_0x5b7b92._0x384217,_0x2d3164-_0x5b7b92._0x26c346,_0x177aa2-_0x5b7b92._0xb37d8e);}function _0xea38d8(_0x193ba3,_0x5c48ca,_0x2a910e,_0x48dd97){return _0x47b891(_0x2a910e,_0x48dd97- -_0x1412f4._0x15956a,_0x2a910e-0xb6,_0x48dd97-_0x1412f4._0xae67ca);}const _0x92bcc=_0x24b899+'\x00'+_0x4478ff,_0x1908dd=(this[_0xea38d8(0x80,_0x14be24._0x32c11e,0x232,0x21c)][_0x14336e(_0x14be24._0x2c58b9,0x6bb,_0x14be24._0x303d46,_0x14be24._0x3dcc4f)](_0x92bcc)??0x0)+0x1;return this[_0xea38d8(_0x14be24._0x3bb409,0x12e,0x291,0x21c)][_0xea38d8(0x25,-_0x14be24._0x15b1cd,_0x14be24._0x4485ef,-_0x14be24._0x50ce53)](_0x92bcc,_0x1908dd),_0x1908dd;}[_0xe18bb0(0x214,0x1f0,0x100,0x39d)](_0x4246f9){const _0x4d4944={_0x3c5760:0xa5b,_0x53d4eb:0x91d,_0x1ef4e5:0x816,_0x410892:0x96d,_0x461f27:0x800},_0xb26e83={_0x3d3bc0:0x1aa,_0x576910:0x111};function _0x8f7b6a(_0xcf2cc5,_0xc9e086,_0x44d251,_0x5dc63d){return _0x47b891(_0x44d251,_0x5dc63d-_0xb26e83._0x3d3bc0,_0x44d251-_0xb26e83._0x576910,_0x5dc63d-0xc2);}const _0x23cd5c=_0x4246f9+'\x00';function _0x21a933(_0x8effe0,_0x38c6a0,_0x39b39b,_0x44a5a7){return _0x47b891(_0x8effe0,_0x39b39b- -0x19f,_0x39b39b-0x82,_0x44a5a7-0x1e);}for(const _0x40275f of[...this[_0x8f7b6a(_0x4d4944._0x3c5760,_0x4d4944._0x53d4eb,_0x4d4944._0x1ef4e5,0x89a)]['keys']()]){if(_0x40275f[_0x8f7b6a(_0x4d4944._0x410892,0x7c8,_0x4d4944._0x461f27,0x822)](_0x23cd5c))this['noChangeCounters']['delete'](_0x40275f);}}['clear'](){const _0x3d82f7={_0x705499:0x386,_0x54871b:0x3f7,_0x156332:0x6c4,_0x8b9997:0x6c6,_0x5b21bf:0x656,_0x14a051:0x7e4,_0x2ee1a1:0x805,_0x487867:0x8cf,_0x5ec066:0x619,_0x2a5d2f:0x53a,_0x459f65:0x5b6,_0x1ee3c1:0x421,_0x1e136f:0x396,_0x8aff49:0x819,_0x3be810:0x8c8,_0x12a3ed:0x5d2},_0x1e1910={_0x24565e:0x71},_0x51e9d8={_0x2893f5:0x14e};this[_0x5a3514(0x412,_0x3d82f7._0x705499,0x479,_0x3d82f7._0x54871b)][_0x3475fb(0x53a,0x4b2,0x47b,_0x3d82f7._0x156332)]();function _0x3475fb(_0x5da464,_0x27cf59,_0x48c2f0,_0x4053c8){return _0x47b891(_0x27cf59,_0x5da464-0x129,_0x48c2f0-0xb1,_0x4053c8-_0x51e9d8._0x2893f5);}function _0x5a3514(_0x2b5ef7,_0x37df47,_0x3c60f7,_0x4699ae){return _0x47b891(_0x2b5ef7,_0x4699ae- -0x28,_0x3c60f7-0x1b3,_0x4699ae-_0x1e1910._0x24565e);}this[_0x3475fb(_0x3d82f7._0x8b9997,_0x3d82f7._0x5b21bf,0x4db,_0x3d82f7._0x14a051)]=[],this['totalBytes']=0x0,this[_0x3475fb(_0x3d82f7._0x2ee1a1,_0x3d82f7._0x487867,0x7d8,_0x3d82f7._0x5ec066)][_0x3475fb(_0x3d82f7._0x2a5d2f,_0x3d82f7._0x459f65,_0x3d82f7._0x1ee3c1,_0x3d82f7._0x1e136f)](),this[_0x3475fb(_0x3d82f7._0x8aff49,_0x3d82f7._0x3be810,0x764,0x9fd)][_0x3475fb(0x53a,0x462,_0x3d82f7._0x12a3ed,0x4a5)]();}[_0xe18bb0(0x470,0x276,0x465,0x19d)](_0x5780a5){const _0x2bce63={_0x54bd06:0x48f,_0x32a17c:0x4c6,_0x724228:0x9f1,_0x501de2:0x951,_0x34d19c:0x886,_0x291d61:0x115,_0x223069:0x1af,_0x1575be:0x15d,_0x144636:0xcd,_0x3e105e:0x219,_0x1d9402:0x14c,_0x4e644d:0x4c9},_0x57bb73={_0x350ebb:0x29},_0x5c332c={_0x321203:0x585,_0x4e6da9:0xc3};function _0xc96ee(_0x1b77e4,_0x4386e6,_0x222a76,_0x427fe3){return _0xe18bb0(_0x4386e6,_0x427fe3-_0x5c332c._0x321203,_0x222a76-_0x5c332c._0x4e6da9,_0x427fe3-0x1e0);}const _0x5d05d5=this[_0xc96ee(0x570,_0x2bce63._0x54bd06,_0x2bce63._0x32a17c,0x691)][_0xc96ee(_0x2bce63._0x724228,_0x2bce63._0x501de2,0x982,_0x2bce63._0x34d19c)](_0x5780a5);function _0x55ac01(_0x4e7a0d,_0x5b29c2,_0x3ef7d9,_0x1ae5ef){return _0x47b891(_0x3ef7d9,_0x5b29c2- -0x3ee,_0x3ef7d9-0x61,_0x1ae5ef-_0x57bb73._0x350ebb);}if(_0x5d05d5!==-0x1)this[_0x55ac01(_0x2bce63._0x291d61,_0x2bce63._0x223069,0x4f,_0x2bce63._0x1575be)][_0x55ac01(_0x2bce63._0x144636,_0x2bce63._0x3e105e,0x1de,_0x2bce63._0x1d9402)](_0x5d05d5,0x1);this['recency'][_0xc96ee(0x491,0x463,_0x2bce63._0x4e644d,0x4b0)](_0x5780a5);}[_0x47b891(0x701,0x673,0x637,0x517)](){const _0x55d875={_0x4c1d22:0x1a2,_0xf5725a:0xf5,_0x1a1073:0x156,_0xdc492d:0x270,_0x43d056:0x97,_0x19c7bf:0x140,_0x26ece6:0xf,_0x245547:0x46,_0x345ff1:0x19b,_0x3795f9:0x135,_0x52a427:0x4d,_0xbce326:0x14d,_0x4edf56:0xa3,_0x93b20:0x1c2},_0xa14490={_0x2bdc86:0x573,_0x4447d7:0x84},_0x5166c2={_0x226a5b:0x21c,_0x198dde:0x24},_0xa13586=this[_0x1a8b26(0x2a,_0x55d875._0x4c1d22,0x223,-0x59)][_0x1a8b26(-_0x55d875._0xf5725a,-_0x55d875._0x1a1073,-0x4f,-_0x55d875._0xdc492d)]();function _0x185964(_0x42d312,_0x5ed14c,_0x86240a,_0x3743fb){return _0xe18bb0(_0x5ed14c,_0x86240a-_0x5166c2._0x226a5b,_0x86240a-0x51,_0x3743fb-_0x5166c2._0x198dde);}if(_0xa13586===void 0x0)return;function _0x1a8b26(_0x2d834b,_0x5df4d3,_0x53fa72,_0x5406f1){return _0x47b891(_0x5406f1,_0x2d834b- -_0xa14490._0x2bdc86,_0x53fa72-0xb0,_0x5406f1-_0xa14490._0x4447d7);}const _0x32d7d6=this[_0x185964(_0x55d875._0x43d056,_0x55d875._0x19c7bf,0x1aa,_0x55d875._0x26ece6)][_0x1a8b26(-_0x55d875._0x245547,-0x14c,0x17b,-_0x55d875._0x345ff1)](_0xa13586);this[_0x185964(0x237,_0x55d875._0x3795f9,0x1aa,_0x55d875._0x52a427)]['delete'](_0xa13586);if(_0x32d7d6){for(const _0x224bde of _0x32d7d6)this['releaseBytes'](_0x224bde[_0x1a8b26(-_0x55d875._0xbce326,_0x55d875._0x4edf56,0x4a,-0x20f)][_0x185964(0x162,_0x55d875._0x93b20,0x23a,0x143)]);}}[_0xe18bb0(0x191,0x250,0x351,0xbd)](_0x1bdb9f,_0x385b84){const _0x14db75={_0x46e4fd:0x813,_0x4d267e:0x632,_0x425949:0x2d9,_0x56dd80:0x615,_0x343920:0x6ca,_0x475d05:0x50b},_0x28acd9={_0x31fda0:0xc1},_0x1befdd={_0x29dbd8:0x15d,_0x5e5b76:0x1d4};function _0x248379(_0x3c3c8c,_0x554df6,_0x2c3c02,_0x1a16de){return _0xe18bb0(_0x3c3c8c,_0x2c3c02-0x3c5,_0x2c3c02-_0x1befdd._0x29dbd8,_0x1a16de-_0x1befdd._0x5e5b76);}function _0x5c2afb(_0x52ff3c,_0x18d80d,_0x144a16,_0x49b143){return _0xe18bb0(_0x52ff3c,_0x18d80d-0x540,_0x144a16-0x179,_0x49b143-_0x28acd9._0x31fda0);}!this[_0x248379(0x613,0x543,0x610,0x817)][_0x248379(0x4f7,_0x14db75._0x46e4fd,_0x14db75._0x4d267e,0x5a1)](_0x1bdb9f)&&(this['bytesByDigest'][_0x5c2afb(_0x14db75._0x425949,0x4af,0x44e,0x58c)](_0x1bdb9f,_0x385b84),this[_0x248379(_0x14db75._0x56dd80,_0x14db75._0x343920,_0x14db75._0x475d05,0x3a2)]+=_0x385b84);}['releaseBytes'](_0x3e3fa7){const _0x3dc687={_0x2bd38b:0x4ad,_0x2ac6a7:0x691,_0x58b8f3:0x6b3,_0x1da7cd:0x60f,_0x220dff:0x332,_0x4b239e:0x637,_0x25aa59:0x7ba,_0x31c6b1:0x161,_0x243563:0x29a,_0x11150e:0x691,_0x230134:0x504,_0x34dcb9:0x4e2,_0x31a577:0x5e4,_0x1c22cc:0x31d,_0x31b646:0x409,_0x95a53e:0x4c9},_0x3dc12f={_0x4940c2:0x58f,_0x178852:0x1c9},_0x157e45={_0x258435:0x4b,_0x346cf7:0x7f};function _0x3eca9c(_0x4b0cd4,_0x5b4ca8,_0x120a61,_0x282c4c){return _0x47b891(_0x4b0cd4,_0x5b4ca8- -_0x157e45._0x258435,_0x120a61-0x108,_0x282c4c-_0x157e45._0x346cf7);}if(!this[_0x3eca9c(_0x3dc687._0x2bd38b,_0x3dc687._0x2ac6a7,0x488,0x835)][_0x3eca9c(0x5f4,_0x3dc687._0x58b8f3,_0x3dc687._0x1da7cd,0x79c)](_0x3e3fa7))return;const _0x14e164=[...this[_0x3eca9c(0x5cd,0x3d4,_0x3dc687._0x220dff,0x53c)][_0x3eca9c(0x6ca,_0x3dc687._0x4b239e,_0x3dc687._0x25aa59,0x5ac)]()][_0x12aa55(_0x3dc687._0x31c6b1,_0x3dc687._0x243563,0xef,0x227)](_0x2652d7=>_0x2652d7[_0x3eca9c(0x6a3,0x633,0x55b,0x74d)](_0x1a26f0=>_0x1a26f0[_0x12aa55(-0x1fe,-0x2b5,-0x169,-0xc3)][_0x3eca9c(0x4e3,0x464,0x51b,0x520)]===_0x3e3fa7));function _0x12aa55(_0x5b9992,_0x12e705,_0x6137a5,_0x2383a6){return _0x47b891(_0x5b9992,_0x6137a5- -_0x3dc12f._0x4940c2,_0x6137a5-0x15b,_0x2383a6-_0x3dc12f._0x178852);}!_0x14e164&&(this[_0x3eca9c(0x743,0x58c,0x3e8,0x587)]-=this[_0x3eca9c(0x68a,_0x3dc687._0x11150e,0x77f,_0x3dc687._0x230134)][_0x3eca9c(0x52a,_0x3dc687._0x34dcb9,0x49a,_0x3dc687._0x31a577)](_0x3e3fa7)??0x0,this[_0x12aa55(_0x3dc687._0x1c22cc,0x17a,0x14d,0x2d9)][_0x3eca9c(_0x3dc687._0x31b646,0x593,0x72b,_0x3dc687._0x95a53e)](_0x3e3fa7));}};import{readFile as _0xe1f2ba,stat as _0x5c7d85}from'fs/promises';import*as _0x51ee06 from'path';function stripUtfBom(_0x38f1a4){const _0x3e07b9={_0x35f67a:0x93d,_0xe142ad:0x7e6,_0x2a2857:0x237,_0x274d7e:0xe9,_0x17df9f:0x1de},_0x2b98c3={_0x157bb0:0x17e},_0x49df7b={_0x7a5be3:0x327,_0x120a43:0x84};function _0x4457ac(_0x1333ab,_0x48b3b1,_0x41f0e6,_0x18e6a0){return _0xe18bb0(_0x1333ab,_0x48b3b1-_0x49df7b._0x7a5be3,_0x41f0e6-0x33,_0x18e6a0-_0x49df7b._0x120a43);}function _0x4c01b6(_0x29f501,_0x1bc45a,_0x419ec4,_0x5c9543){return _0xe18bb0(_0x1bc45a,_0x5c9543-0x68d,_0x419ec4-0x1ac,_0x5c9543-_0x2b98c3._0x157bb0);}return _0x38f1a4[_0x4c01b6(0x7a2,0x984,_0x3e07b9._0x35f67a,_0x3e07b9._0xe142ad)](0x0)===0xfeff?_0x38f1a4[_0x4457ac(0x326,_0x3e07b9._0x2a2857,_0x3e07b9._0x274d7e,_0x3e07b9._0x17df9f)](0x1):_0x38f1a4;}function clampLine2(_0x52cda8,_0x5a8502){if(!Number['isFinite'](_0x52cda8))return 0x1;return Math['max'](0x1,Math['min'](Math['trunc'](_0x52cda8),_0x5a8502));}function resolveAnchoredTarget(_0x57431f){const _0x2e338e={_0x4dc539:0x493,_0x53ee7e:0x5a3,_0xc3c767:0x3cb,_0x3a02b7:0x4cb,_0x1d5c6f:0x908,_0x313eaf:0x8e7,_0x5e278f:0x5ff,_0x46867f:0x61f,_0x518895:0x51b,_0x41bc9c:0x4c6,_0x5d7335:0x673,_0x497af4:0x471,_0x26450d:0x306,_0x43816a:0x2f3,_0x5009e2:0x6aa,_0x416784:0x675,_0x2942d4:0x32f,_0x2c8dfd:0x55d,_0x4020f0:0x421,_0x448269:0x328,_0x2fe1d4:0x42a,_0x155737:0x5ab,_0x342392:0x3db,_0x20716e:0x471},_0x3d31af={_0x26944a:0xf3,_0x2e0df1:0x1f1},_0x1c2ea3=_0x57431f['mode']??_0x498029(_0x2e338e._0x4dc539,0x352,0x4e0,0x4f9);function _0x498029(_0x4efc3a,_0x18668a,_0x1369f4,_0x50660f){return _0xe18bb0(_0x18668a,_0x4efc3a-0x4b6,_0x1369f4-0x1c1,_0x50660f-0x26);}function _0x5280cf(_0x4bf54c,_0x3ccd52,_0x1f2953,_0x4c233c){return _0x47b891(_0x1f2953,_0x4c233c- -_0x3d31af._0x26944a,_0x1f2953-0x67,_0x4c233c-_0x3d31af._0x2e0df1);}if(_0x1c2ea3==='exact')return void 0x0;if(_0x57431f[_0x498029(_0x2e338e._0x53ee7e,0x701,_0x2e338e._0xc3c767,_0x2e338e._0x3a02b7)]===void 0x0)throw new Error((_0x57431f[_0x498029(0x40c,0x2b0,0x5b9,0x391)]??_0x498029(0x78d,_0x2e338e._0x1d5c6f,0x8c5,_0x2e338e._0x313eaf))+_0x498029(_0x2e338e._0x5e278f,_0x2e338e._0x46867f,_0x2e338e._0x518895,0x512));if(_0x57431f[_0x5280cf(_0x2e338e._0x41bc9c,0x2dc,_0x2e338e._0x5d7335,_0x2e338e._0x497af4)]===void 0x0)throw new Error((_0x57431f[_0x498029(0x40c,_0x2e338e._0x26450d,0x258,_0x2e338e._0x43816a)]??_0x5280cf(_0x2e338e._0x5009e2,0x51c,0x48e,_0x2e338e._0x416784))+_0x5280cf(_0x2e338e._0x2942d4,_0x2e338e._0x2c8dfd,0x301,_0x2e338e._0x4020f0));return{'mode':_0x1c2ea3,'observations':_0x57431f[_0x5280cf(_0x2e338e._0x448269,0x3c8,_0x2e338e._0x2fe1d4,0x48b)],'outputBudgetBytes':_0x57431f[_0x5280cf(_0x2e338e._0x155737,_0x2e338e._0x342392,0x3b3,_0x2e338e._0x20716e)]};}function isErrnoException(_0x439487){const _0x104fef={_0x1c0e33:0x107,_0x4289c6:0x12f,_0x35b6d5:0xd},_0x3f91b5={_0x1defc4:0x190},_0x161e29={_0x37a419:0x1be};function _0x379ef4(_0x3935d4,_0x5436e9,_0x6d3b5a,_0x1c02e7){return _0xe18bb0(_0x6d3b5a,_0x1c02e7-0x399,_0x6d3b5a-0xe,_0x1c02e7-_0x161e29._0x37a419);}function _0x5b74f0(_0x299dab,_0x39f87a,_0x331466,_0x12451c){return _0x47b891(_0x331466,_0x39f87a- -0x542,_0x331466-_0x3f91b5._0x1defc4,_0x12451c-0xb0);}return _0x439487 instanceof Error&&_0x5b74f0(-0x1b4,-0x1d,-0x95,-_0x104fef._0x1c0e33)in _0x439487&&typeof _0x439487[_0x5b74f0(_0x104fef._0x4289c6,-0x1d,0x66,0x2a)]===_0x5b74f0(-0x3a,0x75,_0x104fef._0x35b6d5,0x147);}function wrapAnchoredFsError(_0x581a7f,_0x1d66b6){const _0x2ad0d0={_0x5ea126:0x1f1,_0x172252:0x1d4,_0x2a5c7e:0x377,_0x18fadf:0x42f,_0x111415:0x563,_0x32e803:0x52d,_0x1a5209:0x5c7,_0x55cc0f:0x6ff},_0x26ee33={_0x48486f:0x4a3},_0x195f02={_0x5e7732:0xc0,_0x2a7be4:0x1c0};function _0x1f372f(_0x5f41ed,_0x79004c,_0x280afc,_0x1a76df){return _0xe18bb0(_0x79004c,_0x5f41ed-0x2d8,_0x280afc-_0x195f02._0x5e7732,_0x1a76df-_0x195f02._0x2a7be4);}if(_0x581a7f instanceof ToolExecutionError)throw _0x581a7f;if(!isErrnoException(_0x581a7f))throw _0x581a7f;function _0x32ac5e(_0xbf8edc,_0xb090d1,_0x6a06e8,_0x325721){return _0x47b891(_0xbf8edc,_0x6a06e8- -_0x26ee33._0x48486f,_0x6a06e8-0x90,_0x325721-0x1d7);}throw createAnchoredFileError(_0x1f372f(_0x2ad0d0._0x5ea126,0x142,_0x2ad0d0._0x172252,_0x2ad0d0._0x2a5c7e),_0x1f372f(0x380,0x416,0x416,0x444)+_0x1d66b6+_0x1f372f(_0x2ad0d0._0x18fadf,_0x2ad0d0._0x111415,0x38b,0x586)+_0x581a7f[_0x1f372f(_0x2ad0d0._0x32e803,0x699,_0x2ad0d0._0x1a5209,_0x2ad0d0._0x55cc0f)]+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x1d66b6});}async function executeAnchoredRead(_0x6879ec,_0x225beb,_0x48b0ff,_0xa75ee0,_0x51a856,_0x4df92c,_0x7ece69){const _0x47868a={_0x4178cc:0x728,_0x13a366:0x542,_0xf84a4c:0x1e9,_0x3c89c2:0x25b,_0x3b929e:0x93,_0xefa6c9:0x6cc,_0x3b5635:0x604,_0x2f388f:0x631,_0xd404a9:0x54e,_0xd85b7f:0x394,_0x16e415:0x306,_0x3573f6:0x12c,_0x467327:0x3d1,_0x43e073:0x412,_0x47de16:0x240,_0x17841f:0x37a,_0x2ed719:0x562,_0x1fbef8:0x166,_0x154e45:0x19b,_0x32e3b4:0x2b6,_0x84eb96:0x492,_0x436c56:0x65c,_0x579cbc:0x78c,_0x2fc576:0x6c2,_0x50da32:0x24a,_0x30aba7:0x132,_0x319f41:0x30d},_0x4f5a8c={_0xeca96c:0x62},_0x4a45cf={_0x17e968:0x544,_0xbff026:0x14f};let _0x28d058;try{_0x28d058=await resolveCanonicalAllowedFile(_0x225beb,_0x48b0ff,_0xa75ee0);}catch(_0x714100){wrapAnchoredFsError(_0x714100,_0xa75ee0);}let _0x570171;function _0x22a46d(_0x3a7dbf,_0x1e1441,_0x203dd7,_0x3ed167){return _0xe18bb0(_0x3a7dbf,_0x203dd7-_0x4a45cf._0x17e968,_0x203dd7-0x1bd,_0x3ed167-_0x4a45cf._0xbff026);}try{_0x570171=await _0xe1f2ba(_0x28d058[_0x22a46d(0x680,_0x47868a._0x4178cc,0x78b,0x770)]);}catch(_0x3b86b5){wrapAnchoredFsError(_0x3b86b5,_0xa75ee0);}const _0x493169=createNormalizedFileSnapshot(_0x28d058['canonicalPath'],_0x570171);function _0x2b0541(_0x404a3a,_0x36a57a,_0x135de1,_0x4903ca){return _0x47b891(_0x4903ca,_0x404a3a- -0x307,_0x135de1-_0x4f5a8c._0xeca96c,_0x4903ca-0x1a7);}_0x6879ec['observations'][_0x22a46d(0x5a9,0x668,_0x47868a._0x13a366,0x3b2)](_0x7ece69);const _0x3b3c2c=formatAnchoredFileRead({'displayPath':_0xa75ee0,'snapshot':_0x493169,'lineStart':_0x51a856,'lineEnd':_0x4df92c,'maxBytes':_0x6879ec[_0x2b0541(0x25d,_0x47868a._0xf84a4c,_0x47868a._0x3c89c2,_0x47868a._0x3b929e)]});return _0x6879ec[_0x22a46d(_0x47868a._0xefa6c9,_0x47868a._0x3b5635,_0x47868a._0x2f388f,_0x47868a._0xd404a9)][_0x2b0541(0x2ac,0xa7,0x2e5,0x2f1)](_0x493169,_0x3b3c2c[_0x22a46d(0x4c7,0x404,0x520,_0x47868a._0xd85b7f)]),createToolOutput(_0x3b3c2c['output'],{'mode':_0x6879ec['mode'],'path':_0xa75ee0,'resolvedPath':_0x28d058[_0x2b0541(_0x47868a._0x16e415,_0x47868a._0x3573f6,0x231,0x37b)],'canonicalPath':_0x28d058[_0x2b0541(_0x47868a._0x467327,_0x47868a._0x43e073,_0x47868a._0x47de16,0x53e)],'tag':_0x493169['tag'],'digest':_0x493169[_0x22a46d(_0x47868a._0x17841f,0x465,_0x47868a._0x2ed719,0x622)],'displayedLines':[..._0x3b3c2c[_0x2b0541(_0x47868a._0x1fbef8,_0x47868a._0x154e45,0x33,_0x47868a._0x32e3b4)]],'truncated':_0x3b3c2c[_0x22a46d(0x4a4,_0x47868a._0x84eb96,_0x47868a._0x436c56,_0x47868a._0x579cbc)],..._0x3b3c2c[_0x22a46d(0x6a9,0x7fd,0x604,_0x47868a._0x2fc576)]!==void 0x0?{'nextLineStart':_0x3b3c2c[_0x2b0541(_0x47868a._0x50da32,_0x47868a._0x30aba7,_0x47868a._0x319f41,0x2cd)]}:{}});}function createFileReadTool(_0x291ed6={}){const _0x5841a4={_0x36f5e5:0x100,_0x13231c:0x110,_0x48157a:0x1c8,_0x39cfbc:0x81,_0x1a5b82:0x200,_0x3fb2db:0x19a,_0x547843:0x436,_0x524d89:0x3be,_0x58590b:0x4ff,_0x5bc737:0x42c,_0x9937f3:0x3ae,_0x2e2672:0x22e,_0x7222b2:0x54b,_0x5e28a7:0x10b,_0x14709e:0xbf,_0x5eee59:0x1dd,_0x1362d2:0x393,_0x38ebd3:0xd8,_0x3536e3:0xa5,_0x2f8470:0x282,_0x41af0f:0x2fa,_0x101ce0:0x26c},_0x3c7361={_0x3db2ca:0x3c2,_0x588782:0x922,_0x306725:0x7c5,_0x1d7afd:0x943,_0x437b4c:0x35d,_0x466269:0x567,_0x2a1923:0x4c0,_0x49343d:0x532,_0x5c9b48:0x361,_0x28cf03:0x9e4,_0x5de692:0x94d,_0x537563:0x9e2,_0x5170c9:0x252,_0x1beadb:0x67c,_0x21d7ee:0x82a,_0x29f99f:0x730,_0xee3bc0:0x3e6,_0x4f88ca:0x3dd,_0x4e9c34:0x255,_0x17c603:0x2c9,_0xad27ba:0x2fc,_0x4b7c4d:0x875,_0xaf3641:0x81b,_0x3231aa:0x85e,_0x3769dc:0x339,_0x4764e5:0x3bb,_0xb11642:0x17c,_0x46b4ac:0x501,_0x5c2faf:0x201,_0x3efe4d:0x2bd,_0x454a0c:0x3f2,_0x4523a8:0x235,_0x10a067:0x49d,_0x48a7de:0x5b1,_0x381042:0x786,_0x350a06:0x82a,_0x232711:0x84a,_0x355266:0x7d6,_0x23240c:0x67e},_0x5a7f54={_0x25f842:0x24,_0xff0b68:0xd0},_0x41d965={_0x52b934:0x10b,_0x1f07d7:0x1da},_0x4ea973={_0xa7c146:0x15f};function _0x23befd(_0x4b2de6,_0x3f2099,_0x432c4a,_0x3045c8){return _0xe18bb0(_0x3045c8,_0x4b2de6-_0x4ea973._0xa7c146,_0x432c4a-0x63,_0x3045c8-0xf9);}const _0x5743c5=_0x51ee06[_0x23befd(_0x5841a4._0x36f5e5,0x18e,_0x5841a4._0x13231c,0x5e)](_0x291ed6['defaultCwd']??process[_0x9cb602(_0x5841a4._0x48157a,_0x5841a4._0x39cfbc,-0x16d,0x271)]()),_0x11eb90=_0x291ed6[_0x23befd(_0x5841a4._0x1a5b82,0x2a0,0x1db,_0x5841a4._0x3fb2db)]??[],_0x17d0da=_0x291ed6['name']??_0x23befd(_0x5841a4._0x547843,_0x5841a4._0x524d89,0x4e9,_0x5841a4._0x58590b),_0x3a3b5b=resolveAnchoredTarget(_0x291ed6);function _0x9cb602(_0x41423d,_0x54031d,_0x3fdc88,_0x54938c){return _0xe18bb0(_0x3fdc88,_0x54031d-_0x41d965._0x52b934,_0x3fdc88-_0x41d965._0x1f07d7,_0x54938c-0x59);}return defineTool({'name':_0x17d0da,'permissionClass':'read','description':_0x3a3b5b===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':_0x23befd(0x39d,0x53a,0x526,_0x5841a4._0x5bc737),'inputSchema':{'type':_0x23befd(_0x5841a4._0x9937f3,0x2e2,_0x5841a4._0x2e2672,_0x5841a4._0x7222b2),'properties':{'path':{'type':'string'},'lineStart':{'type':_0x23befd(0xa5,-_0x5841a4._0x5e28a7,-_0x5841a4._0x14709e,0x16a),'description':_0x23befd(0x1e4,_0x5841a4._0x5eee59,0x2c1,_0x5841a4._0x1362d2)},'lineEnd':{'type':'number','description':_0x23befd(0x79,0x8b,-_0x5841a4._0x38ebd3,0x1d6)}},'required':[_0x9cb602(_0x5841a4._0x3536e3,_0x5841a4._0x2f8470,_0x5841a4._0x41af0f,_0x5841a4._0x101ce0)]},async *'execute'(_0x53500a,_0x4f7adb){const _0x1b3014={_0x3a9093:0x1da,_0x2119d3:0x140},_0x1eaa18=resolveAllowedPath(_0x5743c5,_0x11eb90,_0x53500a['path']);if(_0x3a3b5b===void 0x0){await assertWorkspaceFile(_0x1eaa18);const _0x4cfb66=await _0x5c7d85(_0x1eaa18),_0x5bea2f=await _0xe1f2ba(_0x1eaa18);if(isProbablyBinary(_0x5bea2f))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x53500a[_0x2afb5c(0x331,_0x3c7361._0x3db2ca,0x54d,0x57c)],{'path':_0x53500a[_0x182691(_0x3c7361._0x588782,_0x3c7361._0x306725,0x7eb,_0x3c7361._0x1d7afd)]});let _0x392bb8=_0x5bea2f['toString'](_0x2afb5c(0x450,0x447,_0x3c7361._0x437b4c,0x28e));const _0x445db8=_0x392bb8['charCodeAt'](0x0)===0xfeff;_0x392bb8=stripUtfBom(_0x392bb8);const _0x673aec=_0x392bb8[_0x182691(0x660,0x44f,0x60b,_0x3c7361._0x466269)](/\r?\n/),_0x3a54eb={'path':_0x53500a[_0x2afb5c(_0x3c7361._0x2a1923,0x3c2,_0x3c7361._0x49343d,0x22e)],'resolvedPath':_0x1eaa18,'created':_0x4cfb66[_0x2afb5c(0xa3,0x1fe,_0x3c7361._0x5c9b48,0x314)]['toISOString'](),'modified':_0x4cfb66[_0x182691(0x954,_0x3c7361._0x28cf03,_0x3c7361._0x5de692,_0x3c7361._0x537563)]['toISOString'](),'size':_0x4cfb66['size'],'encoding':_0x182691(0x9f5,0x9ab,0x870,0x78e),'bomStripped':_0x445db8,'truncated':![],'totalLines':_0x673aec[_0x2afb5c(0x410,0x3f2,_0x3c7361._0x5170c9,0x498)]};if(_0x53500a[_0x182691(0x77a,_0x3c7361._0x1beadb,_0x3c7361._0x21d7ee,_0x3c7361._0x29f99f)]!==void 0x0||_0x53500a[_0x2afb5c(0x1ca,0x255,_0x3c7361._0xee3bc0,0x230)]!==void 0x0){const _0x203242=clampLine2(_0x53500a['lineStart']??0x1,_0x673aec['length']),_0x29397c=clampLine2(_0x53500a[_0x2afb5c(_0x3c7361._0x4f88ca,_0x3c7361._0x4e9c34,_0x3c7361._0x17c603,_0x3c7361._0xad27ba)]??_0x673aec['length'],_0x673aec[_0x182691(_0x3c7361._0x4b7c4d,0x737,_0x3c7361._0xaf3641,0x90d)]),_0x42f597=Math[_0x182691(0x711,0x79f,0x7ae,_0x3c7361._0x3231aa)](_0x203242,_0x29397c),_0x4325b6=Math[_0x182691(0x6e2,0x6d5,0x561,0x50b)](_0x203242,_0x29397c),_0x360337=_0x673aec['slice'](_0x42f597-0x1,_0x4325b6)[_0x2afb5c(_0x3c7361._0x3769dc,_0x3c7361._0x4764e5,0x252,0x4da)]((_0x23b2d2,_0x46e0d0)=>_0x42f597+_0x46e0d0+'|'+_0x23b2d2)[_0x2afb5c(_0x3c7361._0xb11642,0x32d,_0x3c7361._0x46b4ac,_0x3c7361._0x5c2faf)]('\x0a');return yield createToolOutput(_0x360337,{..._0x3a54eb,'lineRange':{'lineStart':_0x42f597,'lineEnd':_0x4325b6,'linesTotal':_0x673aec[_0x2afb5c(_0x3c7361._0x3efe4d,_0x3c7361._0x454a0c,_0x3c7361._0x4523a8,0x1f0)]}}),void 0x0;}return yield createToolOutput(_0x392bb8,_0x3a54eb),void 0x0;}yield await executeAnchoredRead(_0x3a3b5b,_0x5743c5,_0x11eb90,_0x53500a[_0x2afb5c(_0x3c7361._0x10a067,0x3c2,0x3fb,_0x3c7361._0x48a7de)],_0x53500a[_0x182691(_0x3c7361._0x381042,0x715,_0x3c7361._0x350a06,0x6cd)],_0x53500a[_0x182691(_0x3c7361._0x232711,_0x3c7361._0x355266,_0x3c7361._0x23240c,0x5eb)],_0x4f7adb['sessionId']);function _0x182691(_0x3f3c80,_0x22664d,_0x1a8810,_0x59d496){return _0x23befd(_0x1a8810-0x515,_0x22664d-_0x5a7f54._0x25f842,_0x1a8810-_0x5a7f54._0xff0b68,_0x59d496);}function _0x2afb5c(_0x217f25,_0xf1be3f,_0x3a2cb3,_0x48b5a0){return _0x9cb602(_0x217f25-_0x1b3014._0x3a9093,_0xf1be3f-_0x1b3014._0x2119d3,_0x48b5a0,_0x48b5a0-0x188);}return void 0x0;}});}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';import{randomUUID as _0x4b251f}from'crypto';import{mkdir as _0x4afc43,readFile as _0x37381c,writeFile as _0x190b6a}from'fs/promises';import{join as _0x135fdf}from'path';function sanitizeStorageKey(_0x2637f4){const _0x5a8e12={_0x435af2:0x407,_0xa83600:0x245,_0x168a89:0x3c7,_0x5c7e2c:0x48d},_0x44cc9f={_0x3bb872:0x40,_0x5b653a:0x38},_0xab667={_0xa4ecbd:0x177,_0x3cc5fe:0x137};function _0x4c15b1(_0x672086,_0x5a0783,_0x468e91,_0x4b4071){return _0xe18bb0(_0x4b4071,_0x5a0783-_0xab667._0xa4ecbd,_0x468e91-0x1b5,_0x4b4071-_0xab667._0x3cc5fe);}function _0xdfc255(_0x59c264,_0x49f961,_0x3a5aca,_0x377465){return _0xe18bb0(_0x3a5aca,_0x377465-_0x44cc9f._0x3bb872,_0x3a5aca-_0x44cc9f._0x5b653a,_0x377465-0x12e);}return _0x2637f4[_0x4c15b1(_0x5a8e12._0x435af2,0x43a,0x48d,_0x5a8e12._0xa83600)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0xdfc255(_0x5a8e12._0x168a89,0x2e2,_0x5a8e12._0x5c7e2c,0x309);}function storagePath(_0x5600bc){const _0x39ce3c={_0x3b8bcd:0x42c,_0x30485e:0x19e,_0x31dfec:0x426,_0x3dab38:0x2cf,_0xc5e63c:0x581,_0x2de97b:0x45d,_0x15e53:0x437,_0x39a8ba:0x36f,_0x5f169f:0x381},_0x1857b6={_0x218941:0x1b0},_0x3d114b=sanitizeStorageKey(_0x5600bc[_0x4e4f0f(_0x39ce3c._0x3b8bcd,0x560,0x4cb,0x642)]['oauth']?.[_0x369871(_0x39ce3c._0x30485e,0x324,_0x39ce3c._0x31dfec,_0x39ce3c._0x3dab38)]??_0x5600bc[_0x369871(_0x39ce3c._0xc5e63c,_0x39ce3c._0x2de97b,0x66d,0x4e2)]);function _0x4e4f0f(_0x4f11c2,_0x29226b,_0x5f1f68,_0xb005f0){return _0xe18bb0(_0xb005f0,_0x5f1f68-0x39e,_0x5f1f68-0x1bf,_0xb005f0-0x18);}function _0x369871(_0x29c048,_0x5e123a,_0x3cdbb8,_0x31f7fb){return _0xe18bb0(_0x3cdbb8,_0x5e123a-0x21e,_0x3cdbb8-_0x1857b6._0x218941,_0x31f7fb-0x7c);}return _0x135fdf(_0x5600bc[_0x369871(_0x39ce3c._0x15e53,_0x39ce3c._0x39a8ba,_0x39ce3c._0x5f169f,0x270)],_0x3d114b+_0x4e4f0f(0x775,0x41e,0x588,0x38a));}async function readStore(_0x576359){const _0x1ca482={_0x2c5bdd:0x601,_0x3d3027:0x380,_0x1e2252:0x286,_0x4f8317:0x2e0,_0x30be6d:0x478,_0x4fc828:0x35a,_0x59faa0:0x14a,_0x5a88bd:0x28b,_0x4871a6:0x17f,_0x2af3a4:0x25c},_0x24657b={_0xf740d7:0x1eb};function _0x3ded22(_0x1d80ab,_0x52c58d,_0x7726cf,_0x549112){return _0x47b891(_0x52c58d,_0x549112- -0x1f7,_0x7726cf-0xea,_0x549112-0xa4);}function _0x5cd97e(_0x314a3f,_0x128ee4,_0x59a456,_0x4de6a8){return _0x47b891(_0x128ee4,_0x4de6a8- -0x255,_0x59a456-0x197,_0x4de6a8-_0x24657b._0xf740d7);}try{return JSON[_0x5cd97e(_0x1ca482._0x2c5bdd,0x33e,0x622,0x4e7)](await _0x37381c(_0x576359,_0x5cd97e(_0x1ca482._0x3d3027,_0x1ca482._0x1e2252,0x5af,0x438)));}catch(_0x122cd9){if(_0x122cd9 instanceof Error&&_0x5cd97e(_0x1ca482._0x4f8317,_0x1ca482._0x30be6d,_0x1ca482._0x4fc828,0x2d0)in _0x122cd9&&_0x122cd9[_0x5cd97e(0x272,0x118,_0x1ca482._0x59faa0,0x2d0)]===_0x3ded22(_0x1ca482._0x5a88bd,0x27e,_0x1ca482._0x4871a6,_0x1ca482._0x2af3a4))return{};throw _0x122cd9;}}async function writeStore(_0x252fc8,_0x2fdd8c){const _0x194cac={_0x44df62:0x3f1,_0x1d226d:0x1e2,_0x2913a7:0x9e9,_0x2424cb:0x7fb},_0x4fd10a={_0x51b01b:0x2d5},_0x4c8e56={_0x14b19c:0x16e,_0x214d0e:0x1f2};function _0x3d901c(_0x1cc1ed,_0x1df078,_0x194ecb,_0x49efc9){return _0x47b891(_0x194ecb,_0x49efc9-_0x4c8e56._0x14b19c,_0x194ecb-_0x4c8e56._0x214d0e,_0x49efc9-0x172);}await _0x4afc43(_0x135fdf(_0x252fc8,'..'),{'recursive':!![]});function _0x3ad61a(_0x418d48,_0x483755,_0x12c4ff,_0x9cd027){return _0xe18bb0(_0x9cd027,_0x418d48-_0x4fd10a._0x51b01b,_0x12c4ff-0x61,_0x9cd027-0x128);}await _0x190b6a(_0x252fc8,JSON[_0x3ad61a(_0x194cac._0x44df62,0x3ae,_0x194cac._0x1d226d,0x5cd)](_0x2fdd8c,null,0x2),_0x3d901c(0x991,0x715,_0x194cac._0x2913a7,_0x194cac._0x2424cb));}async function updateStore(_0x39ada4,_0x8abfe8){const _0x141d36=await readStore(_0x39ada4);_0x8abfe8(_0x141d36),await writeStore(_0x39ada4,_0x141d36);}function createMcpOAuthProvider(_0x2156ac){const _0x34ea28={_0x49cb51:0xc9,_0x1970ef:0x2f4,_0x229439:0xb0,_0x1cfed8:0x41b,_0x396169:0x55d,_0x1eece5:0x141,_0x5996ca:0x103,_0x477c98:0x195,_0x48d331:0xd0,_0x5825e7:0x445,_0x4d1dbb:0x6c0,_0x51df56:0x62b,_0x34393c:0x15d},_0x624190={_0x1cf473:0x4d0,_0x232c3a:0x628,_0xd9a819:0x5e2},_0x2e7300={_0x5154bc:0x115,_0x272714:0x18e,_0x472ccf:0x20c,_0x16ca19:0x1b3,_0x312e9d:0x83},_0x4d99ea={_0x224318:0x94,_0x3c19d1:0xf4},_0x14c2a1={_0x54461d:0x676,_0x2c1108:0x706},_0x583a4b={_0x4a80ad:0x607},_0x324f00={_0x5d142f:0x19b,_0x4f0f5c:0x122},_0x59a917={_0x2af223:0x6d4,_0x3dea85:0x4f3,_0x348b74:0x586},_0x67a3d3={_0x389fd4:0x2ad,_0x2a0141:0xba,_0x4f9a85:0x1a},_0x4732f8={_0xf53587:0x63,_0x40c9cf:0x50,_0x3b85e3:0x89,_0xeb8ffc:0x802,_0x3284c0:0x6e0,_0x513b39:0x6e6},_0x42cf3f={_0x840bba:0x179,_0x3c6234:0x92},_0x5d7710={_0x345458:0x657,_0x1b24d7:0x458},_0x4837dd={_0x317bc2:0xde},_0x44b879={_0x3b20f8:0x94},_0x4df7a9={_0x418503:0x64};function _0x13910e(_0x1b0b43,_0x48d5d0,_0x7e04aa,_0x1c26cd){return _0xe18bb0(_0x48d5d0,_0x1c26cd- -_0x4df7a9._0x418503,_0x7e04aa-0x1f2,_0x1c26cd-0x19e);}function _0x265d63(_0x522876,_0xf7c728,_0x3a6fcb,_0x2629d9){return _0x47b891(_0x522876,_0x3a6fcb- -0x40,_0x3a6fcb-_0x44b879._0x3b20f8,_0x2629d9-0x18);}const _0x3e7eff=storagePath(_0x2156ac),_0x1b09fd=_0x2156ac[_0x13910e(0x1c0,0xf8,0x251,_0x34ea28._0x49cb51)][_0x13910e(_0x34ea28._0x1970ef,0x219,_0x34ea28._0x229439,0x124)]?.['scopes']?.[_0x265d63(_0x34ea28._0x1cfed8,0x73c,0x533,_0x34ea28._0x396169)]('\x20'),_0x14ebcd={'client_name':_0x13910e(0x1f4,0x246,0x367,0x25d),'redirect_uris':[_0x2156ac['callbackUrl']],'grant_types':['authorization_code',_0x13910e(_0x34ea28._0x1eece5,_0x34ea28._0x5996ca,0x111,_0x34ea28._0x477c98)],'response_types':[_0x13910e(-0x19,0x1e5,_0x34ea28._0x48d331,0x30)],'token_endpoint_auth_method':_0x265d63(_0x34ea28._0x5825e7,_0x34ea28._0x4d1dbb,0x63c,_0x34ea28._0x51df56),..._0x1b09fd?{'scope':_0x1b09fd}:{}};return{'clientMetadataUrl':_0x2156ac['config']['oauth']?.[_0x13910e(0xcb,_0x34ea28._0x34393c,-0x14a,0x4d)],get 'redirectUrl'(){function _0x4f0d2b(_0x142da5,_0x17aa8d,_0x57acb2,_0x4c88e6){return _0x265d63(_0x4c88e6,_0x17aa8d-_0x4837dd._0x317bc2,_0x57acb2-0x102,_0x4c88e6-0xff);}return _0x2156ac[_0x4f0d2b(0x537,_0x5d7710._0x345458,0x52e,_0x5d7710._0x1b24d7)];},get 'clientMetadata'(){return _0x14ebcd;},async 'state'(){const _0xdd1518={_0xc89c99:0x3eb,_0x6e1597:0x518},_0x2c7264={_0x561626:0x22};function _0x57f489(_0x1e9a73,_0x44f76d,_0x10baf7,_0x4b35f0){return _0x13910e(_0x1e9a73-0x7a,_0x4b35f0,_0x10baf7-_0x2c7264._0x561626,_0x10baf7-0x69e);}const _0x231654=await readStore(_0x3e7eff);function _0x4dcf55(_0x29137a,_0x2a6b2c,_0x43c24e,_0x59e82b){return _0x13910e(_0x29137a-0x157,_0x2a6b2c,_0x43c24e-_0x42cf3f._0x840bba,_0x43c24e- -_0x42cf3f._0x3c6234);}if(_0x231654[_0x4dcf55(-_0x4732f8._0xf53587,-0x25e,-_0x4732f8._0x40c9cf,_0x4732f8._0x3b85e3)])return _0x231654[_0x57f489(0x740,_0x4732f8._0xeb8ffc,_0x4732f8._0x3284c0,_0x4732f8._0x513b39)];const _0xdbdcd6=_0x4b251f();return await updateStore(_0x3e7eff,_0x2d502f=>{const _0x421baa={_0x5ce48b:0x112,_0x3691e0:0x282};function _0x32e407(_0x561a82,_0x2b424d,_0x5d8a22,_0x280088){return _0x57f489(_0x561a82-0x1cf,_0x2b424d-_0x421baa._0x5ce48b,_0x2b424d- -_0x421baa._0x3691e0,_0x280088);}_0x2d502f[_0x32e407(_0xdd1518._0xc89c99,0x45e,_0xdd1518._0x6e1597,0x502)]=_0xdbdcd6;}),_0xdbdcd6;},async 'clientInformation'(){const _0x4069c1={_0x5b756d:0x45b,_0x1f3e9d:0x19b};function _0x158623(_0x2be3b2,_0x250c48,_0x45da15,_0x4729d0){return _0x265d63(_0x4729d0,_0x250c48-0x1b5,_0x250c48- -_0x4069c1._0x5b756d,_0x4729d0-_0x4069c1._0x1f3e9d);}return(await readStore(_0x3e7eff))[_0x158623(_0x67a3d3._0x389fd4,0xae,_0x67a3d3._0x2a0141,-_0x67a3d3._0x4f9a85)];},async 'saveClientInformation'(_0x1a29f7){await updateStore(_0x3e7eff,_0x5e3f1e=>{function _0x4bdf6d(_0x250a00,_0x3944db,_0x495998,_0xccc03d){return _0x678a(_0x495998-0x18b,_0x3944db);}_0x5e3f1e[_0x4bdf6d(_0x59a917._0x2af223,0x334,_0x59a917._0x3dea85,_0x59a917._0x348b74)]=_0x1a29f7;});},async 'tokens'(){function _0x410917(_0x3350e2,_0x19b2c8,_0x37fbc1,_0x5809c){return _0x265d63(_0x5809c,_0x19b2c8-_0x324f00._0x5d142f,_0x19b2c8- -0x83,_0x5809c-_0x324f00._0x4f0f5c);}return(await readStore(_0x3e7eff))[_0x410917(0x304,0x44e,0x63e,_0x583a4b._0x4a80ad)];},async 'saveTokens'(_0x42f290){await updateStore(_0x3e7eff,_0xd772ca=>{function _0x22072d(_0xbd2832,_0x46f7be,_0x5ac3df,_0x31d7aa){return _0x678a(_0x5ac3df-0x3d6,_0xbd2832);}_0xd772ca[_0x22072d(_0x14c2a1._0x54461d,0x567,_0x14c2a1._0x2c1108,0x584)]=_0x42f290;});},async 'redirectToAuthorization'(_0x28b612){await _0x2156ac['onRedirect'](_0x28b612);},async 'saveCodeVerifier'(_0x2b6616){const _0x4ff7bc={_0x5f39f5:0x64a,_0xb71de0:0x5d7};await updateStore(_0x3e7eff,_0x2852f3=>{function _0xda2956(_0x18b229,_0x213d5b,_0xe38c45,_0xdaea6a){return _0x678a(_0x213d5b-0x182,_0xe38c45);}_0x2852f3[_0xda2956(_0x4ff7bc._0x5f39f5,0x476,_0x4ff7bc._0xb71de0,0x3fe)]=_0x2b6616;});},async 'codeVerifier'(){const _0x5e46aa={_0x44b6d9:0xee,_0x2d6053:0x1c3},_0x3c8d09=(await readStore(_0x3e7eff))[_0x57097c(_0x2e7300._0x5154bc,0x1a3,_0x2e7300._0x272714,_0x2e7300._0x472ccf)];function _0x58ae02(_0x23ea19,_0x1b47c3,_0x47a995,_0x11d5b3){return _0x13910e(_0x23ea19-0x10a,_0x1b47c3,_0x47a995-_0x4d99ea._0x224318,_0x23ea19-_0x4d99ea._0x3c19d1);}if(!_0x3c8d09)throw new Error(_0x58ae02(_0x2e7300._0x16ca19,-0x3d,_0x2e7300._0x312e9d,0xe4));function _0x57097c(_0x3a926b,_0x11e1f1,_0x3d856a,_0x46d288){return _0x13910e(_0x3a926b-0x101,_0x46d288,_0x3d856a-_0x5e46aa._0x44b6d9,_0x11e1f1-_0x5e46aa._0x2d6053);}return _0x3c8d09;},async 'invalidateCredentials'(_0x2fbfb9){const _0x579d94={_0x311e6a:0xf6,_0x54d1bb:0x1f9,_0x5b8208:0x607,_0x4a2dc8:0x705,_0x5a0930:0x716,_0x8e7abc:0x7a7,_0x319933:0x589,_0x346487:0x74,_0x2cfc68:0x2d1,_0x470c9a:0x29b,_0x53bbfd:0x15a,_0x7baca2:0x16,_0x574a86:0x88a,_0x23e69f:0x6e7,_0x2dbcc3:0x151,_0xcf17a1:0x8a,_0x22e2a7:0x78f,_0x36ca38:0x438,_0x2311ab:0x7c5,_0x304776:0x5e7};await updateStore(_0x3e7eff,_0x1c38e7=>{function _0x5c5951(_0x19b023,_0x7c3b6b,_0x446fe8,_0xf4bca6){return _0x678a(_0xf4bca6-0x3d5,_0x19b023);}(_0x2fbfb9===_0x3b4381(_0x579d94._0x311e6a,_0x579d94._0x54d1bb,0x152,0x165)||_0x2fbfb9==='client')&&(_0x1c38e7['clientInformation']=void 0x0);(_0x2fbfb9==='all'||_0x2fbfb9===_0x5c5951(0x770,_0x579d94._0x5b8208,0x582,_0x579d94._0x4a2dc8))&&(_0x1c38e7[_0x5c5951(_0x579d94._0x5a0930,_0x579d94._0x8e7abc,_0x579d94._0x319933,0x705)]=void 0x0);function _0x3b4381(_0x224110,_0x4141ad,_0x4d5bde,_0x5ee7d4){return _0x678a(_0x4141ad- -0x28b,_0x224110);}(_0x2fbfb9===_0x3b4381(_0x579d94._0x346487,_0x579d94._0x54d1bb,_0x579d94._0x2cfc68,_0x579d94._0x470c9a)||_0x2fbfb9===_0x3b4381(-_0x579d94._0x53bbfd,0x98,_0x579d94._0x7baca2,0x128))&&(_0x1c38e7['codeVerifier']=void 0x0,_0x1c38e7[_0x5c5951(0x784,_0x579d94._0x574a86,_0x579d94._0x23e69f,0x72b)]=void 0x0),(_0x2fbfb9==='all'||_0x2fbfb9===_0x3b4381(-_0x579d94._0x2dbcc3,0xbc,_0x579d94._0xcf17a1,0x172))&&(_0x1c38e7[_0x5c5951(_0x579d94._0x22e2a7,_0x579d94._0x36ca38,_0x579d94._0x2311ab,_0x579d94._0x304776)]=void 0x0);});},async 'saveDiscoveryState'(_0xf68b58){const _0xb2ffa3={_0x4165a6:0x91};await updateStore(_0x3e7eff,_0xd48ff4=>{function _0x272391(_0x43a90e,_0x447bbd,_0x218176,_0x566ae4){return _0x678a(_0x43a90e- -_0xb2ffa3._0x4165a6,_0x218176);}_0xd48ff4[_0x272391(0x181,0x229,0xa8,0x242)]=_0xf68b58;});},async 'discoveryState'(){const _0x54e1a5={_0x1edbbf:0x74,_0x22ccf4:0x193};function _0x252bc6(_0x98385f,_0x310c8d,_0x45872,_0x34c564){return _0x13910e(_0x98385f-_0x54e1a5._0x1edbbf,_0x45872,_0x45872-_0x54e1a5._0x22ccf4,_0x310c8d-0x5d2);}return(await readStore(_0x3e7eff))[_0x252bc6(0x4e6,_0x624190._0x1cf473,_0x624190._0x232c3a,_0x624190._0xd9a819)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x47b891(0x824,0x75b,0x95c,0x902),'message':_0x1b0a67=>_0xe18bb0(0x9d,0x1bf,0x2e2,0x119)+_0x1b0a67+_0xe18bb0(-0x1cd,-0xae,-0x4a,-0x1b6)},'connect':{'code':'mcp-connect-failed','message':_0x5ab14d=>'MCP\x20server\x20'+_0x5ab14d+'\x20failed\x20to\x20connect'},'discover':{'code':'mcp-discovery-failed','message':_0x2c24a9=>_0x47b891(0x738,0x650,0x50a,0x80e)+_0x2c24a9+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':_0xe18bb0(0x180,0x1da,0x14f,0xaf),'message':_0x45e9bc=>'MCP\x20server\x20'+_0x45e9bc+_0x47b891(0x64b,0x6f4,0x8df,0x832)}},timeoutMessageByOperation={'close':_0x11f7e9=>_0xe18bb0(0x26f,0x1bf,0x259,0x2a9)+_0x11f7e9+'\x20close\x20timed\x20out','connect':_0x2a6aed=>'MCP\x20server\x20'+_0x2a6aed+_0xe18bb0(0x39e,0x2ac,0xb9,0x4a5),'discover':_0x175343=>_0xe18bb0(0xb2,0x1bf,0x2b0,0xd7)+_0x175343+_0x47b891(0x496,0x393,0x3ae,0x332),'toolCall':_0x21fd48=>'MCP\x20server\x20'+_0x21fd48+'\x20tool\x20call\x20timed\x20out'};function toMcpSafeError(_0x10c196){const _0x398622={_0x4f3a07:0x630,_0x870cae:0x46d,_0x2ad869:0x5e0,_0x4c9642:0x5d6,_0x250f15:0x71c,_0x2ca090:0x716,_0x155096:0x634,_0xac012f:0x683,_0x3fba6f:0x755,_0x31702f:0x7df,_0x19ab32:0x424,_0x116ac2:0x553,_0x38ab8a:0x4c6,_0x30829b:0x484,_0x266651:0x5db,_0x5c3f23:0x634,_0x13121e:0x79f,_0x8b4583:0x13b,_0x3f76a7:0x2fe,_0x4d26af:0x735,_0x2cb662:0x340,_0x587a51:0x153,_0x4459bf:0x263,_0x57f6ca:0x2f6,_0x3bc82a:0x6bb,_0x3a511c:0x815},_0xf7d74a={_0x48a9c4:0x593,_0x3c25cd:0x33},_0x3873bf={_0x52266a:0x91};function _0x1bf4cf(_0x3ea4d8,_0x14cc6d,_0x257872,_0x5ac142){return _0x47b891(_0x257872,_0x5ac142-0x10f,_0x257872-0x177,_0x5ac142-_0x3873bf._0x52266a);}function _0x416e82(_0x5f0dce,_0x2fcb5b,_0x13c57a,_0x18893a){return _0x47b891(_0x13c57a,_0x5f0dce- -_0xf7d74a._0x48a9c4,_0x13c57a-_0xf7d74a._0x3c25cd,_0x18893a-0xc);}if(_0x10c196['error']instanceof UnauthorizedError)return Object[_0x1bf4cf(_0x398622._0x4f3a07,_0x398622._0x870cae,_0x398622._0x2ad869,_0x398622._0x4c9642)]({'code':_0x1bf4cf(0x866,_0x398622._0x250f15,_0x398622._0x2ca090,0x840),'message':_0x1bf4cf(0x756,0x75a,0x6bb,0x75f)+_0x10c196[_0x1bf4cf(_0x398622._0x155096,_0x398622._0xac012f,_0x398622._0x3fba6f,_0x398622._0x31702f)]+_0x416e82(-0xf4,0xa6,-0xb2,-0x216)});if(_0x10c196[_0x1bf4cf(0x3b7,_0x398622._0x19ab32,_0x398622._0x116ac2,_0x398622._0x38ab8a)]instanceof McpError&&_0x10c196['error'][_0x1bf4cf(0x4a8,_0x398622._0x30829b,_0x398622._0x266651,_0x398622._0x5c3f23)]===ErrorCode['RequestTimeout'])return Object['freeze']({'code':_0x1bf4cf(0x7f5,0x86f,_0x398622._0x13121e,0x844),'message':timeoutMessageByOperation[_0x10c196[_0x416e82(_0x398622._0x8b4583,0x210,_0x398622._0x3f76a7,-0x84)]](_0x10c196[_0x1bf4cf(0x904,_0x398622._0x4d26af,0x936,0x7df)])});const _0x31442a=failureByOperation[_0x10c196[_0x416e82(0x13b,0x295,_0x398622._0x2cb662,0xc8)]];return Object[_0x1bf4cf(0x3d5,0x756,0x3f1,_0x398622._0x4c9642)]({'code':_0x31442a['code'],'message':_0x31442a[_0x416e82(_0x398622._0x587a51,_0x398622._0x4459bf,_0x398622._0x57f6ca,0x22d)](_0x10c196[_0x1bf4cf(0x61b,_0x398622._0x3bc82a,_0x398622._0x3a511c,0x7df)])});}function redactMcpDiagnostic(_0x57a035,_0x18a166){const _0x566825={_0x95b128:0x718,_0xeb4a40:0x8ba,_0x71a221:0x779,_0x1ddfbf:0x7de,_0x14648c:0x6e6,_0x5de9bf:0x85c,_0x19ec0d:0x730,_0x715894:0x79f},_0x557ae2={_0x4238ae:0x5d2,_0x26b433:0x1a4},_0x7afc66={_0x49ce60:0x5cd},_0x4fc759=[...new Set(_0x18a166[_0xbd7b56(0x826,0x7f7,0x8dc,_0x566825._0x95b128)](_0x14ff7f=>_0x14ff7f[_0x18ce2c(0x586,0x798,0x779,0x89c)]>0x0))]['sort']((_0x724e2f,_0x5ba010)=>_0x5ba010[_0xbd7b56(0x774,0x570,0x7fb,0x579)]-_0x724e2f[_0xbd7b56(0x774,0x80b,0x84e,0x903)]);if(_0x57a035['length']===0x0||_0x4fc759[_0x18ce2c(0x94c,0x747,0x779,0x770)]===0x0)return _0x57a035;function _0xbd7b56(_0x1c17fa,_0x1dc283,_0x3271cd,_0x1965b9){return _0xe18bb0(_0x3271cd,_0x1c17fa-_0x7afc66._0x49ce60,_0x3271cd-0x4c,_0x1965b9-0x1da);}let _0x1b3b99='',_0x5ee310=0x0;while(_0x5ee310<_0x57a035[_0x18ce2c(_0x566825._0xeb4a40,0x85b,_0x566825._0x71a221,0x645)]){const _0x17a5c1=_0x4fc759[_0x18ce2c(0x731,_0x566825._0x1ddfbf,_0x566825._0x14648c,_0x566825._0x5de9bf)](_0x2cc724=>_0x57a035[_0xbd7b56(0x7b4,0x6fd,0x64f,0x7a9)](_0x2cc724,_0x5ee310));_0x17a5c1?(_0x1b3b99+='[REDACTED]',_0x5ee310+=_0x17a5c1[_0x18ce2c(0x7e0,_0x566825._0x19ec0d,0x779,_0x566825._0x715894)]):(_0x1b3b99+=_0x57a035[_0x5ee310],_0x5ee310+=0x1);}function _0x18ce2c(_0x462aae,_0x30a5f7,_0x1e8698,_0x27ff49){return _0xe18bb0(_0x30a5f7,_0x1e8698-_0x557ae2._0x4238ae,_0x1e8698-_0x557ae2._0x26b433,_0x27ff49-0x116);}return _0x1b3b99;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x44c850){return typeof _0x44c850==='object'&&_0x44c850!==null||typeof _0x44c850==='function';}function createOwnedMcpSafeError(_0x1b5e5e){const _0x321561={_0x2a2594:0x41c,_0x4af848:0x4f1,_0x320336:0x3cb,_0x4ebb9d:0x4bb,_0x378eb2:0x1f9,_0x11a9cd:0x63,_0x2b2bd8:0x199},_0x512970={_0x46e03e:0x1bb,_0x520dbb:0x19a},_0x320992={_0x4121ce:0x207,_0x50ea5a:0xd9},_0x41dfb8=toMcpSafeError(_0x1b5e5e),_0x3c495e=Object[_0x185515(0x2ff,_0x321561._0x2a2594,_0x321561._0x4af848,_0x321561._0x320336)]({'code':_0x41dfb8[_0x185515(_0x321561._0x4ebb9d,0x4f0,0x54f,0x3cb)],'message':_0x41dfb8[_0x185515(0x523,0x73c,0x710,0x580)]});ownedMcpSafeErrors[_0x16b140(_0x321561._0x378eb2,0x17a,_0x321561._0x11a9cd,_0x321561._0x2b2bd8)](_0x41dfb8,_0x3c495e);function _0x16b140(_0x5869ee,_0x599b1b,_0x2e59e3,_0xdb0d43){return _0x47b891(_0xdb0d43,_0x5869ee- -_0x320992._0x4121ce,_0x2e59e3-0x111,_0xdb0d43-_0x320992._0x50ea5a);}function _0x185515(_0x3eff39,_0x10679d,_0x1cdbfb,_0x433c32){return _0x47b891(_0x3eff39,_0x1cdbfb-0x2a,_0x1cdbfb-_0x512970._0x46e03e,_0x433c32-_0x512970._0x520dbb);}return _0x41dfb8;}function extractOwnedMcpSafeError(_0x26240a){const _0x5d8b5f={_0x301f91:0x3cf,_0x8854ad:0x33d,_0x596e3f:0x35e,_0x15b042:0x335,_0x1b6380:0x86e,_0x221013:0x730,_0x1d9191:0x6df,_0x3416c0:0x3cc,_0x537a4c:0x3f9,_0x37c7f9:0x263},_0x4190a3={_0x27badd:0x80},_0x4ccc50={_0x39f8e9:0x2a1,_0x4c7da5:0x14d};if(!isWeakMapKey(_0x26240a))return void 0x0;const _0x44a292=ownedMcpSafeErrors[_0x224631(_0x5d8b5f._0x301f91,0x22c,_0x5d8b5f._0x8854ad,0x132)](_0x26240a);function _0x224631(_0x533f62,_0x16b564,_0x9c988c,_0x4b86f9){return _0xe18bb0(_0x16b564,_0x9c988c-_0x4ccc50._0x39f8e9,_0x9c988c-_0x4ccc50._0x4c7da5,_0x4b86f9-0xcf);}function _0x29b6e0(_0x1e64f3,_0x5f1c34,_0x52e072,_0x5e8bbe){return _0x47b891(_0x5e8bbe,_0x52e072- -0x7,_0x52e072-_0x4190a3._0x27badd,_0x5e8bbe-0x9f);}if(!_0x44a292)return void 0x0;const _0x225c71=Object['freeze']({'code':_0x44a292[_0x224631(_0x5d8b5f._0x596e3f,0x356,_0x5d8b5f._0x15b042,0x4e0)],'message':_0x44a292[_0x29b6e0(_0x5d8b5f._0x1b6380,_0x5d8b5f._0x221013,_0x5d8b5f._0x1d9191,0x7cc)]});return ownedMcpSafeErrors[_0x29b6e0(_0x5d8b5f._0x3416c0,0x494,_0x5d8b5f._0x537a4c,_0x5d8b5f._0x37c7f9)](_0x225c71,_0x44a292),_0x225c71;}function ownValue(_0x1f0894,_0x2f86ca){const _0x170d2c={_0x41526f:0x866,_0x46be0:0x5a6},_0x44488b={_0x524371:0x4f4,_0x14c301:0x30,_0x90cdf3:0x17a};function _0x1e6d16(_0x328e3a,_0x438db5,_0x47a8b0,_0x493ccb){return _0xe18bb0(_0x438db5,_0x493ccb-_0x44488b._0x524371,_0x47a8b0-_0x44488b._0x14c301,_0x493ccb-_0x44488b._0x90cdf3);}return _0x1f0894&&Object[_0x1e6d16(_0x170d2c._0x41526f,_0x170d2c._0x46be0,0x876,0x6f9)](_0x1f0894,_0x2f86ca)?_0x1f0894[_0x2f86ca]:void 0x0;}function isToolPermissionClass(_0x52f075){const _0x552179={_0x42612e:0x364,_0x359434:0x2c7,_0x447397:0x327},_0x47e5a8={_0x42266b:0xcf,_0x16855d:0x15b},_0x52d11e={_0x959fad:0x417};function _0x6e0bbb(_0x17b1c1,_0x331133,_0x387a7c,_0x1ff011){return _0x47b891(_0x387a7c,_0x1ff011- -_0x52d11e._0x959fad,_0x387a7c-0xcd,_0x1ff011-0xb0);}function _0x141e0a(_0x9076c9,_0x3635a3,_0x1fccb5,_0x52dd40){return _0x47b891(_0x1fccb5,_0x3635a3- -0x2e8,_0x1fccb5-_0x47e5a8._0x42266b,_0x52dd40-_0x47e5a8._0x16855d);}return _0x52f075==='read'||_0x52f075===_0x6e0bbb(0x257,0x13e,0x8b,0x104)||_0x52f075===_0x6e0bbb(_0x552179._0x42612e,_0x552179._0x359434,0x1a2,_0x552179._0x447397);}function suggestedPermissionClass(_0x474260){const _0x288c04={_0x4659c0:0x767,_0x1406a8:0x32f,_0x1aed19:0x292,_0x3deebf:0x191,_0x2a1868:0x6},_0x3ab802={_0x5b8271:0x627,_0x506026:0x1db},_0x1db582={_0x128a88:0x4e,_0x1952b8:0x71,_0x17a787:0xcf},_0x314517=_0x474260[_0x18c844(0x7ff,0x988,0x97f,_0x288c04._0x4659c0)]?.[_0x41de64(0x12d,0x159,_0x288c04._0x1406a8,_0x288c04._0x1aed19)];if(_0x314517===!![])return _0x18c844(0x87e,0x9b6,0x8fd,0xa7f);function _0x41de64(_0x326723,_0x4c751c,_0x123a35,_0x423a4f){return _0xe18bb0(_0x4c751c,_0x423a4f-_0x1db582._0x128a88,_0x123a35-_0x1db582._0x1952b8,_0x423a4f-_0x1db582._0x17a787);}function _0x18c844(_0x1d4172,_0x130056,_0x108a13,_0x18ffb4){return _0xe18bb0(_0x130056,_0x1d4172-_0x3ab802._0x5b8271,_0x108a13-_0x3ab802._0x506026,_0x18ffb4-0x37);}if(_0x314517===![])return _0x41de64(_0x288c04._0x3deebf,0xfa,_0x288c04._0x2a1868,0xd8);return void 0x0;}function isJsonValue(_0x38a130){const _0x25d795={_0x35d791:0x775,_0x3ab6c7:0x3ed,_0x592269:0x3fd,_0x3274cd:0x604,_0x23882f:0x76b,_0x151ba3:0x5c5},_0x43b197={_0x36f8c1:0x4da,_0x518d07:0x1a7},_0xf1facb={_0x4e512d:0x3b};if(_0x38a130===null||typeof _0x38a130===_0x4852be(_0x25d795._0x35d791,0x5a3,_0x25d795._0x3ab6c7,0x7a5)||typeof _0x38a130===_0x14a2d2(0x338,_0x25d795._0x592269,0x420,0x525)||typeof _0x38a130===_0x14a2d2(_0x25d795._0x3274cd,0x79d,0x78d,0x8f5))return!![];function _0x4852be(_0x5136a1,_0x1e6b87,_0x344a13,_0x3127c0){return _0xe18bb0(_0x5136a1,_0x1e6b87-0x47d,_0x344a13-0x43,_0x3127c0-_0xf1facb._0x4e512d);}function _0x14a2d2(_0x5ba0b3,_0x3686cc,_0x5045be,_0x24e378){return _0xe18bb0(_0x24e378,_0x5045be-_0x43b197._0x36f8c1,_0x5045be-0x173,_0x24e378-_0x43b197._0x518d07);}if(Array['isArray'](_0x38a130))return _0x38a130[_0x4852be(0x8fb,_0x25d795._0x23882f,_0x25d795._0x151ba3,0x6f4)](isJsonValue);if(!isObject(_0x38a130))return![];return Object['values'](_0x38a130)['every'](isJsonValue);}function projectMcpTools(_0x6155a2){const _0x3bf098={_0x47ca1f:0x371,_0x5536df:0x37a,_0x47a971:0x17c,_0x5ef3b9:0x18b,_0x552f5d:0x63,_0x2ad484:0x152,_0x2aeb91:0x32,_0x55686a:0xa,_0x4b936e:0x7d5,_0x56a6ad:0xdf,_0x1a065f:0x243,_0x261417:0x583,_0x2a79e0:0x84,_0x19dd9f:0x115,_0x115f1b:0x3bd,_0x6033cb:0x399,_0x19de03:0x22b,_0x2c42c1:0x88,_0x46b991:0x35,_0x5a0b9d:0x67d,_0xe35b87:0x474,_0xf33a12:0x7bc,_0x2959a5:0x34f,_0x14418c:0x28c,_0x5543d9:0x65d,_0xaf02c8:0x5d5},_0x4662fc={_0x231985:0x4d},_0x2e4288={_0x34b4e0:0x4},_0x11f41f=[],_0x1abbc1=[];function _0x48eafd(_0x19d743,_0x12b924,_0x3d2cd3,_0x4c4342){return _0xe18bb0(_0x3d2cd3,_0x19d743-0x528,_0x3d2cd3-0xf2,_0x4c4342-_0x2e4288._0x34b4e0);}for(const _0x361632 of _0x6155a2[_0x4c7ce5(_0x3bf098._0x47ca1f,_0x3bf098._0x5536df,0xfb,_0x3bf098._0x47a971)]){const _0x564478=ownValue(_0x6155a2[_0x4c7ce5(0x2d4,_0x3bf098._0x5ef3b9,-_0x3bf098._0x552f5d,_0x3bf098._0x2ad484)],_0x361632[_0x4c7ce5(_0x3bf098._0x2aeb91,-0x1fa,-_0x3bf098._0x55686a,-0x5d)]),_0x284b5f=isToolPermissionClass(_0x564478)?_0x564478:void 0x0,_0x13a098=_0x284b5f??_0x48eafd(_0x3bf098._0x4b936e,0x923,0x701,0x69d),_0x4ecf0c=suggestedPermissionClass(_0x361632);_0x1abbc1[_0x4c7ce5(-_0x3bf098._0x56a6ad,-_0x3bf098._0x1a065f,0xb8,-0x88)]({'name':_0x361632[_0x48eafd(0x47e,0x4fd,0x419,_0x3bf098._0x261417)],..._0x361632[_0x4c7ce5(_0x3bf098._0x2a79e0,_0x3bf098._0x19dd9f,0xbf,-0xb5)]!==void 0x0?{'description':_0x361632['description']}:{},...isJsonValue(_0x361632[_0x48eafd(0x4a6,_0x3bf098._0x115f1b,0x488,_0x3bf098._0x6033cb)])?{'inputSchema':_0x361632[_0x4c7ce5(-_0x3bf098._0x19de03,-0xc4,-_0x3bf098._0x2c42c1,-_0x3bf098._0x46b991)]}:{},'permissionClass':_0x13a098,'permissionConfigured':_0x284b5f!==void 0x0,..._0x4ecf0c!==void 0x0?{'suggestedPermissionClass':_0x4ecf0c}:{}});if(ownValue(_0x6155a2[_0x48eafd(0x5e2,_0x3bf098._0x5a0b9d,_0x3bf098._0xe35b87,_0x3bf098._0xf33a12)],_0x361632[_0x4c7ce5(-0x1af,-_0x3bf098._0x19de03,0x9,-0x5d)])===![])continue;_0x11f41f['push'](createMcpTool({'serverName':_0x6155a2['prefix']??_0x6155a2[_0x4c7ce5(0x440,0x220,_0x3bf098._0x2959a5,_0x3bf098._0x14418c)],'tool':_0x361632,'client':_0x6155a2[_0x48eafd(0x7c6,0x91e,0x776,0x6be)],'permissionClass':_0x13a098,'internalLifecycle':_0x6155a2[_0x48eafd(_0x3bf098._0x5543d9,0x853,_0x3bf098._0xaf02c8,0x592)]}));}function _0x4c7ce5(_0x3e81fb,_0x2c0f39,_0x481fa4,_0x5895a1){return _0xe18bb0(_0x3e81fb,_0x5895a1-_0x4662fc._0x231985,_0x481fa4-0x61,_0x5895a1-0xe0);}return{'tools':_0x11f41f,'descriptors':_0x1abbc1};}function createMcpToolName(_0x1b4bfe,_0x28760e){const _0x2a6005={_0x363444:0x5f,_0x3183a8:0xd5,_0x320e08:0x11d,_0x23fd06:0x130},_0x48159a={_0x35a22b:0x33},_0x38823e={_0x27a6c2:0x184};function _0x406e6f(_0x2d22ab,_0x56c556,_0x33bf26,_0x4f8944){return _0xe18bb0(_0x2d22ab,_0x33bf26-0x13e,_0x33bf26-_0x38823e._0x27a6c2,_0x4f8944-0x11c);}function _0x1864bc(_0x1003c7,_0x1ca6be,_0x218ce4,_0x3125cd){return _0xe18bb0(_0x3125cd,_0x1ca6be-_0x48159a._0x35a22b,_0x218ce4-0x24,_0x3125cd-0x19d);}const _0x5cd5d1=_0x24c208=>_0x24c208['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x1864bc(0x363,0x2f6,0x3bf,0x3da)](/^_+|_+$/g,'');return _0x1864bc(-_0x2a6005._0x363444,_0x2a6005._0x3183a8,_0x2a6005._0x320e08,_0x2a6005._0x23fd06)+_0x5cd5d1(_0x1b4bfe)+'_'+_0x5cd5d1(_0x28760e);}function isObject(_0x4027f3){const _0x3bd73b={_0x4535fa:0x286,_0x3d346f:0xfb,_0x20b184:0x627,_0x356f57:0x37a,_0x4ac211:0x5cb},_0x51eac2={_0x489cc3:0x37,_0x1dac35:0x136,_0x48d068:0x1c0},_0x554170={_0x6ca812:0x137};function _0x4cb272(_0x4406ec,_0x8e574c,_0x143c8d,_0x1a626f){return _0x47b891(_0x8e574c,_0x143c8d- -0x77,_0x143c8d-_0x554170._0x6ca812,_0x1a626f-0x1c4);}function _0xf5bb91(_0x47d892,_0x25319c,_0x2632bb,_0x1fe555){return _0xe18bb0(_0x1fe555,_0x47d892-_0x51eac2._0x489cc3,_0x2632bb-_0x51eac2._0x1dac35,_0x1fe555-_0x51eac2._0x48d068);}return typeof _0x4027f3===_0xf5bb91(_0x3bd73b._0x4535fa,_0x3bd73b._0x3d346f,0xa8,0x11d)&&_0x4027f3!==null&&!Array[_0x4cb272(_0x3bd73b._0x20b184,_0x3bd73b._0x356f57,0x4ca,_0x3bd73b._0x4ac211)](_0x4027f3);}function toSupportedSchema(_0x50d80e){const _0x160d3e={_0x9f1832:0x6cd,_0x115c0b:0x4dc,_0x1e04c7:0x63d,_0x2e0c11:0x36e,_0x12118a:0x54e,_0x2ca25b:0x300,_0x23f472:0x260,_0x238cf4:0x36e,_0x51cf6f:0x404,_0x390b2e:0x6cd,_0x3f2c06:0xad,_0x38c3d3:0x4c,_0x24f1da:0x112,_0x1d30b5:0x2f6,_0x35878c:0x427,_0x3ab7cd:0xee,_0x21f17f:0x25b,_0x5f1b8f:0x130,_0x1753fa:0x44e,_0x54d26d:0x24d,_0x1e278a:0x628,_0x399d83:0x55b,_0x49c394:0x55,_0x4810fd:0x102,_0x21b31c:0x45a,_0x58404d:0x302,_0xbd1320:0x3ff,_0x2ff5ae:0x6f9,_0x460e7e:0xa0,_0x33a104:0xdc,_0x4e22f8:0x332,_0x2b4308:0x1f7},_0x2d6b9d={_0x5615e3:0x428},_0x4bd922={_0x5f03ee:0x1be,_0x569b9f:0x162};if(!isObject(_0x50d80e))return void 0x0;if(_0x50d80e[_0x50b581(_0x160d3e._0x9f1832,_0x160d3e._0x115c0b,0x6cd,0x8d1)]==='string')return{'type':_0x50b581(_0x160d3e._0x1e04c7,_0x160d3e._0x2e0c11,_0x160d3e._0x12118a,0x701)};if(_0x50d80e[_0x5c458a(_0x160d3e._0x2ca25b,_0x160d3e._0x23f472,0x447,0x24d)]===_0x50b581(0x296,0x276,_0x160d3e._0x238cf4,_0x160d3e._0x51cf6f)||_0x50d80e[_0x50b581(0x540,0x572,_0x160d3e._0x390b2e,0x681)]===_0x5c458a(0x7,_0x160d3e._0x3f2c06,-0x7c,-_0x160d3e._0x38c3d3))return{'type':_0x5c458a(0x27,-0x1a1,-0x1f4,-_0x160d3e._0x24f1da)};if(_0x50d80e['type']===_0x5c458a(0x1d1,0x88,_0x160d3e._0x1d30b5,0x25b))return{'type':_0x5c458a(_0x160d3e._0x35878c,0x404,_0x160d3e._0x3ab7cd,_0x160d3e._0x21f17f)};if(_0x50d80e[_0x5c458a(_0x160d3e._0x5f1b8f,0x333,_0x160d3e._0x1753fa,_0x160d3e._0x54d26d)]===_0x50b581(0x460,_0x160d3e._0x1e278a,_0x160d3e._0x399d83,0x518))return{'type':_0x5c458a(_0x160d3e._0x49c394,-_0x160d3e._0x4810fd,0x1a2,0xdb),'items':toSupportedSchema(_0x50d80e[_0x50b581(0x36b,0x4c0,_0x160d3e._0x21b31c,_0x160d3e._0x58404d)])??{'type':_0x50b581(0x3d4,_0x160d3e._0xbd1320,_0x160d3e._0x12118a,_0x160d3e._0x2ff5ae)}};if(_0x50d80e[_0x5c458a(_0x160d3e._0x460e7e,0x14f,0x31a,0x24d)]===_0x5c458a(_0x160d3e._0x33a104,0x68,_0x160d3e._0x4e22f8,_0x160d3e._0x2b4308))return toNuvinToolSchema(_0x50d80e);function _0x5c458a(_0x342d95,_0x331aca,_0x51ab80,_0x56cc89){return _0x47b891(_0x51ab80,_0x56cc89- -0x4e9,_0x51ab80-_0x4bd922._0x5f03ee,_0x56cc89-_0x4bd922._0x569b9f);}function _0x50b581(_0x413e82,_0x46cad1,_0x1b7c8d,_0x493343){return _0xe18bb0(_0x46cad1,_0x1b7c8d-_0x2d6b9d._0x5615e3,_0x1b7c8d-0xd5,_0x493343-0x99);}return void 0x0;}function toNuvinToolSchema(_0x302d54){const _0x4b6738={_0x3297f6:0x4e1,_0x1c2f15:0x4f8,_0x3452c4:0x31b,_0x2df1db:0x1b9,_0x18d45d:0x467,_0x30f1b5:0x491,_0x1e2aeb:0x2d6,_0x19a263:0x10b,_0x1c3c19:0x3bc,_0x153b9c:0x28e,_0x3140b8:0x435,_0x386d65:0x1d8,_0x49efe2:0x246,_0x14f946:0x40e,_0x39bd15:0x385,_0x1247f4:0x646,_0x1d9119:0x35b,_0x1f8e41:0x4ae},_0x52e3c9={_0x3d0f63:0x1cc,_0x38c8e0:0x32},_0x1bdc25={_0xa34527:0x1eb,_0x57ba88:0x1d8};if(!isObject(_0x302d54)||_0x302d54[_0x5d8b40(_0x4b6738._0x3297f6,0x42f,_0x4b6738._0x1c2f15,0x504)]!=='object')return{'type':'object','properties':{}};function _0x33c5f6(_0x9f055d,_0x420447,_0x3e0dd6,_0x303c01){return _0xe18bb0(_0x303c01,_0x9f055d-0x3e1,_0x3e0dd6-_0x1bdc25._0xa34527,_0x303c01-_0x1bdc25._0x57ba88);}function _0x5d8b40(_0x200ff2,_0x598112,_0x3776ae,_0x18e0e2){return _0x47b891(_0x3776ae,_0x18e0e2- -0x232,_0x3776ae-_0x52e3c9._0x3d0f63,_0x18e0e2-_0x52e3c9._0x38c8e0);}const _0x4cb8f3={},_0xb49af=isObject(_0x302d54['properties'])?_0x302d54['properties']:{};for(const [_0xfa4153,_0x482f32]of Object[_0x33c5f6(_0x4b6738._0x3452c4,0x14d,_0x4b6738._0x2df1db,_0x4b6738._0x18d45d)](_0xb49af)){const _0x2b5ba2=toSupportedSchema(_0x482f32);if(_0x2b5ba2)_0x4cb8f3[_0xfa4153]=_0x2b5ba2;}const _0xc301ec=Array[_0x33c5f6(_0x4b6738._0x30f1b5,_0x4b6738._0x1e2aeb,0x521,0x39b)](_0x302d54[_0x5d8b40(0x317,_0x4b6738._0x19a263,_0x4b6738._0x1c3c19,_0x4b6738._0x153b9c)])?_0x302d54[_0x5d8b40(_0x4b6738._0x3140b8,_0x4b6738._0x386d65,_0x4b6738._0x49efe2,0x28e)]['filter'](_0x17eded=>typeof _0x17eded==='string'):void 0x0;return _0xc301ec?.['length']?{'type':_0x5d8b40(_0x4b6738._0x14f946,_0x4b6738._0x39bd15,_0x4b6738._0x1247f4,0x4ae),'properties':_0x4cb8f3,'required':_0xc301ec}:{'type':_0x5d8b40(0x529,0x335,_0x4b6738._0x1d9119,_0x4b6738._0x1f8e41),'properties':_0x4cb8f3};}function isJsonObject(_0x3112d0){const _0x396f2e={_0x1a6ab2:0x6d8,_0x498614:0x5a6},_0x4d43e6={_0x1b5db3:0x357,_0x4c14bf:0x141};function _0x3fc40c(_0x375096,_0x5c4816,_0x14fd36,_0x240895){return _0xe18bb0(_0x14fd36,_0x240895-_0x4d43e6._0x1b5db3,_0x14fd36-0x98,_0x240895-_0x4d43e6._0x4c14bf);}return typeof _0x3112d0===_0x3fc40c(_0x396f2e._0x1a6ab2,0x503,0x412,_0x396f2e._0x498614)&&_0x3112d0!==null&&!Array['isArray'](_0x3112d0);}function formatMcpContent(_0x4dad72){const _0x48e3e5={_0x3fe002:0x1c,_0xcd5e86:0x1a5,_0x33a274:0x177,_0x3899da:0x19a,_0x69439a:0x241,_0x59a8dc:0x4c,_0x61d567:0x56d,_0x2b8dc9:0x4c7},_0x3d4b2d={_0x51a6eb:0x89},_0x229d54={_0x2e53a9:0xea,_0x5f1d47:0x8a,_0x131699:0xd2,_0x3c6d0d:0x224,_0x56da88:0x3e9,_0x16d524:0x553},_0x19c8f7={_0x246c9e:0x337},_0x549288={_0x21fec6:0x12c};function _0x25ae3d(_0xb0b7f9,_0x240d0a,_0x57cc44,_0x54427f){return _0xe18bb0(_0x240d0a,_0x57cc44-0x205,_0x57cc44-0x1ea,_0x54427f-_0x549288._0x21fec6);}const _0x598066=Array[_0x407a5d(0x337,_0x48e3e5._0x3fe002,_0x48e3e5._0xcd5e86,_0x48e3e5._0x33a274)](_0x4dad72[_0x25ae3d(_0x48e3e5._0x3899da,0x317,0x302,_0x48e3e5._0x69439a)])?_0x4dad72['content']:[],_0xcddd24=_0x598066['map'](_0x384052=>{const _0x20c2c6={_0x411e45:0x150};function _0x516cbd(_0x2ea7bf,_0x31e536,_0x4b0a04,_0x2def50){return _0x407a5d(_0x2ea7bf,_0x31e536-0xf9,_0x4b0a04-0x99,_0x31e536-_0x19c8f7._0x246c9e);}if(!isObject(_0x384052))return'';function _0x3473ac(_0x4ecf23,_0x59d294,_0x7e9c45,_0x39f6a3){return _0x407a5d(_0x39f6a3,_0x59d294-0x29,_0x7e9c45-_0x20c2c6._0x411e45,_0x7e9c45- -0x1d9);}if(_0x384052['type']==='text'&&typeof _0x384052[_0x3473ac(_0x229d54._0x2e53a9,0x22,0xae,_0x229d54._0x5f1d47)]==='string')return _0x384052[_0x3473ac(-0x21,_0x229d54._0x131699,0xae,_0x229d54._0x3c6d0d)];return JSON[_0x516cbd(_0x229d54._0x56da88,0x51a,_0x229d54._0x16d524,0x6a7)](_0x384052);})['filter'](_0x481867=>_0x481867[_0x407a5d(0x2de,0x25f,0x2bf,0x26e)]>0x0)[_0x407a5d(_0x48e3e5._0x59a8dc,0x37f,0x1da,0x1a9)]('\x0a');if(_0xcddd24[_0x25ae3d(_0x48e3e5._0x61d567,_0x48e3e5._0x2b8dc9,0x3ac,0x2b2)]>0x0)return _0xcddd24;function _0x407a5d(_0x27072b,_0x383fe4,_0x123db4,_0x36cb21){return _0xe18bb0(_0x27072b,_0x36cb21-0xc7,_0x123db4-0x82,_0x36cb21-_0x3d4b2d._0x51a6eb);}return JSON['stringify'](_0x4dad72,null,0x2);}function createMcpTool(_0x27a6ac){const _0x19aa9d={_0xef2f7d:0x195,_0x261ef6:0x2ff,_0xe4a7bb:0x1c2,_0xf77e95:0x19,_0x44f168:0x101,_0x3b3653:0x111,_0x26570a:0x308,_0x3f9e8e:0x441,_0x12f98b:0x504,_0x2a5d43:0x59e,_0x393369:0x441,_0x34ed26:0x331,_0x521bd3:0x408,_0x3fdcac:0x1d2,_0x2ecd53:0x240,_0x5e40f8:0x337,_0x2e5bee:0x1c2,_0x58716e:0x25,_0xb326c9:0x314,_0x23af96:0x466,_0x2a5f7e:0x2f0,_0xd89c93:0x2de,_0x265536:0x4ee,_0x4209d7:0xe9,_0x42fde5:0x33b,_0x4e7584:0xf},_0x115f6b={_0x4f5185:0x5a3,_0x171ca7:0x463,_0x2cfe97:0x137,_0x30440c:0x203,_0x45844f:0xf1,_0x33e7a9:0x23d,_0x3bd4e2:0x3ce,_0x1f2dcd:0x1c1,_0x171767:0x3a6,_0x238102:0x391,_0xd07a7b:0x404,_0x568489:0x858,_0x5af104:0x937,_0x348677:0x862,_0x24294a:0x906,_0x51a73f:0x84b,_0x5ef5a3:0x5c7,_0x2089cc:0x601,_0x281f7d:0x404,_0x469364:0x2cb,_0x41f65b:0xac,_0x12e564:0x278},_0x4fdb8d={_0x140189:0x18d},_0x26744c={_0xd3f58e:0xb},_0x2a637d={_0x33b4d2:0x1cc},_0x3afcc2={_0x58e61a:0x2d};function _0x25ee8d(_0x552b7d,_0x38daa6,_0x41e834,_0x4ceaa5){return _0xe18bb0(_0x552b7d,_0x4ceaa5-0x342,_0x41e834-_0x3afcc2._0x58e61a,_0x4ceaa5-0x109);}const _0x1e936c=createMcpToolName(_0x27a6ac[_0x8d13a(0x321,0x34e,0x434,_0x19aa9d._0xef2f7d)],_0x27a6ac[_0x8d13a(_0x19aa9d._0x261ef6,_0x19aa9d._0xe4a7bb,0x2eb,-_0x19aa9d._0xf77e95)]['name']);function _0x8d13a(_0x11b75a,_0x3232ad,_0x1be807,_0x388215){return _0x47b891(_0x1be807,_0x3232ad- -0x382,_0x1be807-0x13c,_0x388215-_0x2a637d._0x33b4d2);}return defineTool({'name':_0x1e936c,'permissionClass':_0x27a6ac[_0x8d13a(0x237,0xa5,_0x19aa9d._0x44f168,-_0x19aa9d._0x3b3653)],..._0x27a6ac[_0x25ee8d(0x5be,_0x19aa9d._0x26570a,0x390,_0x19aa9d._0x3f9e8e)]!==void 0x0?{'internalLifecycle':_0x27a6ac[_0x25ee8d(_0x19aa9d._0x12f98b,0x314,_0x19aa9d._0x2a5d43,_0x19aa9d._0x393369)]}:{},'description':_0x27a6ac['tool'][_0x25ee8d(_0x19aa9d._0x34ed26,_0x19aa9d._0x521bd3,_0x19aa9d._0x3fdcac,_0x19aa9d._0x2ecd53)]??'MCP\x20tool\x20'+_0x27a6ac[_0x8d13a(_0x19aa9d._0x5e40f8,_0x19aa9d._0x2e5bee,0xc9,_0x19aa9d._0x58716e)]['name']+_0x25ee8d(0x3fd,_0x19aa9d._0xb326c9,0x439,_0x19aa9d._0x23af96)+_0x27a6ac[_0x8d13a(_0x19aa9d._0x2a5f7e,0x34e,_0x19aa9d._0xd89c93,_0x19aa9d._0x265536)],'inputSchema':toNuvinToolSchema(_0x27a6ac[_0x8d13a(_0x19aa9d._0x4209d7,_0x19aa9d._0xe4a7bb,_0x19aa9d._0x42fde5,-_0x19aa9d._0x4e7584)][_0x8d13a(-0x143,0x8d,-0x14a,0x170)]),async *'execute'(_0xca1c45){let _0x45187e;function _0x1c3567(_0x3614c3,_0x3406bc,_0x57588b,_0x212403){return _0x25ee8d(_0x57588b,_0x3406bc-_0x26744c._0xd3f58e,_0x57588b-0x4d,_0x212403-0x2fb);}try{_0x45187e=await _0x27a6ac[_0x117bd8(0x5cd,0x282,_0x115f6b._0x4f5185,_0x115f6b._0x171ca7)][_0x117bd8(_0x115f6b._0x2cfe97,0x1e0,_0x115f6b._0x30440c,_0x115f6b._0x45844f)]({'name':_0x27a6ac[_0x1c3567(0x819,0x54e,0x577,0x6f0)]['name'],'arguments':isJsonObject(_0xca1c45)?_0xca1c45:{}});if(_0x45187e[_0x117bd8(0x1be,_0x115f6b._0x33e7a9,_0x115f6b._0x3bd4e2,_0x115f6b._0x1f2dcd)])throw toMcpSafeError({'serverName':_0x27a6ac[_0x117bd8(_0x115f6b._0x171767,0x2af,_0x115f6b._0x238102,_0x115f6b._0xd07a7b)],'operation':_0x1c3567(_0x115f6b._0x568489,0x80b,_0x115f6b._0x5af104,0x7e5),'error':_0x45187e});}catch(_0x506a46){throw extractOwnedMcpSafeError(_0x506a46)??toMcpSafeError({'serverName':_0x27a6ac[_0x1c3567(_0x115f6b._0x348677,0x6da,0x7bf,0x87c)],'operation':_0x1c3567(0x86c,_0x115f6b._0x24294a,_0x115f6b._0x51a73f,0x7e5),'error':_0x506a46});}function _0x117bd8(_0x295414,_0x1c2d9c,_0x5c4f8d,_0x122946){return _0x25ee8d(_0x295414,_0x1c2d9c-0xc5,_0x5c4f8d-_0x4fdb8d._0x140189,_0x122946- -0x17d);}return yield createToolOutput(formatMcpContent(_0x45187e),{'serverName':_0x27a6ac[_0x117bd8(0x5d2,_0x115f6b._0x5ef5a3,_0x115f6b._0x2089cc,_0x115f6b._0x281f7d)],'toolName':_0x27a6ac[_0x117bd8(_0x115f6b._0x469364,0x1c3,_0x115f6b._0x41f65b,_0x115f6b._0x12e564)]['name'],'result':_0x45187e}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x5bb876){let _0x3b8edf=_0x5bb876;return{'get'(){return _0x3b8edf;},'set'(_0x37cecc){_0x3b8edf=_0x37cecc;}};}function resolveMcpTimeoutMs(_0x5d9913,_0x3f1bbf){const _0x165846={_0x3ca6b1:0x353,_0x54c592:0x54a,_0x357c42:0x45c},_0x11fc6b={_0x380db5:0x355,_0x2e9dec:0x1be};function _0x41a4e4(_0x410926,_0x3454bd,_0x28edb0,_0x1394d5){return _0xe18bb0(_0x410926,_0x1394d5-_0x11fc6b._0x380db5,_0x28edb0-0x1a6,_0x1394d5-_0x11fc6b._0x2e9dec);}return _0x5d9913[_0x41a4e4(0x2ac,_0x165846._0x3ca6b1,_0x165846._0x54c592,_0x165846._0x357c42)]??_0x3f1bbf??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x304725,_0x4a792d){const _0x4e43eb={_0x22e874:0x17a},_0x5e4b5={_0x5c8d82:0x15,_0x14aef5:0x182};function _0x42d46b(_0x117298,_0x1d6e06,_0x23df44,_0x5a7a3a){return _0x47b891(_0x117298,_0x23df44- -0x23d,_0x23df44-_0x5e4b5._0x5c8d82,_0x5a7a3a-_0x5e4b5._0x14aef5);}return(_0x4a792d?extractOwnedMcpSafeError(_0x304725[_0x42d46b(-0x39,0x147,_0x4e43eb._0x22e874,0xe7)]):void 0x0)??createOwnedMcpSafeError(_0x304725);}function createMcpGenerationLifecycle(_0x4c8f83){const _0xa984be={_0x19322f:0x134,_0x514741:0xb4,_0xd2b7a4:0x1f4,_0x2342b3:0x106,_0x35c073:0x68,_0x52b1f0:0x27c,_0x4c622b:0x166,_0x2a14d1:0x17d},_0x35ef84={_0x37905a:0x325},_0x3107bb={_0x5187a7:0x385};let _0x532dfa=0x0,_0x3616dd=![],_0x41210c=![],_0x494310,_0x35cf2e,_0x283f56;const _0x2f8ef4=()=>{if(!_0x3616dd||_0x532dfa!==0x0||_0x41210c)return;_0x41210c=!![];function _0x347080(_0x5db7a6,_0x48b498,_0x33ee9d,_0x35ad7d){return _0x678a(_0x48b498- -_0x3107bb._0x5187a7,_0x35ad7d);}function _0x3cb3dc(_0xe75bc7,_0x171a94,_0x4df3ce,_0xf5e026){return _0x678a(_0xe75bc7- -_0x35ef84._0x37905a,_0x171a94);}void Promise[_0x347080(-0x142,-_0xa984be._0x19322f,_0xa984be._0x514741,-_0xa984be._0xd2b7a4)]()[_0x347080(-0xe0,_0xa984be._0x2342b3,-_0xa984be._0x35c073,_0xa984be._0x52b1f0)](_0x4c8f83)[_0x3cb3dc(_0xa984be._0x4c622b,0x31,_0xa984be._0x2a14d1,0x1b3)](_0x35cf2e,_0x283f56);};return{'acquire'(){if(_0x3616dd)throw new Error('Cannot\x20acquire\x20a\x20retired\x20MCP\x20connection\x20generation');_0x532dfa+=0x1;let _0x2da4c3=![];return()=>{if(_0x2da4c3)return;_0x2da4c3=!![],_0x532dfa-=0x1,_0x2f8ef4();};},'retire'(){return!_0x494310&&(_0x494310=new Promise((_0x47df11,_0x2688c2)=>{_0x35cf2e=_0x47df11,_0x283f56=_0x2688c2;})),_0x3616dd=!![],_0x2f8ef4(),_0x494310;}};}function buildMcpHttpHeaders(_0x5e789a){const _0x395092={_0xef6caa:0x4d2,_0x1c2c2c:0x73f,_0x11cc74:0x72f,_0x2f8aa9:0x0,_0x472483:0x97,_0x1db694:0x11d,_0x1163d9:0x352,_0x5c7b5f:0x36a,_0x41e1ec:0x296,_0x33f564:0x4bd,_0x455da6:0x2e4,_0x17d83e:0x446,_0x13b4a8:0x32e,_0x50bae8:0x3d,_0x47adc0:0x240,_0x52444c:0x583,_0xe79212:0x5ba,_0x3aec33:0x530,_0x5b4941:0x112,_0x3e67f6:0x4ab,_0x2b09d3:0x300,_0x120909:0x610},_0x3745fd={_0x4848a7:0x304},_0x4fd74e={_0x8da234:0x35f},_0x286bf1={..._0x5e789a['headers']??{}};function _0x20ec5c(_0x50a10b,_0x2326d4,_0x3e6d91,_0x34f4a2){return _0x47b891(_0x3e6d91,_0x34f4a2- -_0x4fd74e._0x8da234,_0x3e6d91-0xcf,_0x34f4a2-0x16d);}_0x5e789a[_0x268c7d(0x352,0x501,0x34b,_0x395092._0xef6caa)]?.[_0x268c7d(0x5a9,_0x395092._0x1c2c2c,_0x395092._0x11cc74,0x420)]===_0x20ec5c(_0x395092._0x2f8aa9,-_0x395092._0x472483,-0xa1,_0x395092._0x1db694)&&_0x5e789a[_0x268c7d(_0x395092._0x1163d9,_0x395092._0x5c7b5f,_0x395092._0x41e1ec,_0x395092._0x33f564)][_0x268c7d(_0x395092._0x455da6,_0x395092._0x17d83e,0x476,_0x395092._0x13b4a8)]&&_0x286bf1[_0x20ec5c(0x259,-0x72,-0x63,0x60)]===void 0x0&&(_0x286bf1[_0x20ec5c(_0x395092._0x50bae8,_0x395092._0x47adc0,0xcd,0x60)]=_0x268c7d(_0x395092._0x52444c,_0x395092._0xe79212,0x63f,0x742)+_0x5e789a[_0x268c7d(0x352,0x457,_0x395092._0x3aec33,0x32c)][_0x20ec5c(0x2cc,0x2be,0x262,_0x395092._0x5b4941)]);function _0x268c7d(_0x2fbdda,_0x53aa5a,_0x396ce1,_0xbf1fc0){return _0xe18bb0(_0xbf1fc0,_0x2fbdda-_0x3745fd._0x4848a7,_0x396ce1-0xa2,_0xbf1fc0-0x67);}return Object['keys'](_0x286bf1)[_0x268c7d(_0x395092._0x3e67f6,_0x395092._0x2b09d3,_0x395092._0x120909,0x2cd)]>0x0?_0x286bf1:void 0x0;}async function connectMcpServer(_0x4d7ff3,_0x48bfb6,_0x1fb782){const _0x7a00c={_0x59ffc2:0x666,_0x13c224:0x585,_0x42913b:0x8b7,_0x5de15e:0x61f,_0x28d08b:0x683,_0x437d12:0x71f,_0x324369:0x73d,_0x5063ea:0x758,_0x2b60a5:0x558,_0x3654b2:0x893,_0x11bb02:0x79d,_0x5e4c7f:0x7c9,_0x29d402:0x64f,_0x45c23c:0x7d2,_0x44838e:0x842,_0x5d3c3f:0x727,_0x304f3f:0x6ba,_0x3496b4:0x84d,_0x55f03d:0x472,_0x28fb91:0x824,_0x305a98:0x515,_0x2079c5:0x4a4,_0x452f91:0x482,_0x2417c0:0x4de,_0x1a7a9b:0x6c6,_0x316590:0x4f6,_0xfa4367:0x6c1,_0x56032c:0x7b5,_0x1c2659:0x37f,_0x3b21ae:0x6be,_0x3709a:0x54b,_0x3039ac:0x618,_0x360453:0x859,_0x433a34:0x6d7,_0xa646cf:0x3c4,_0x33dc49:0x641,_0x1abf1f:0x6d0,_0x405b73:0x5da,_0x51c2fe:0x69e,_0x4343ab:0x884,_0x5f2773:0x622,_0x4e3dcc:0x7f2,_0x386930:0x6b0,_0x1e8c49:0x715,_0x7cd534:0x68c,_0x197a94:0x5f8,_0x578782:0x7f7,_0x2dfe65:0x73a,_0x103afc:0x61a,_0x2f7503:0x724,_0x181a02:0x7c9,_0x9095a7:0x4c8,_0x1f15c2:0x52c,_0x20760e:0x59a,_0x4add4d:0x63c,_0x5bc772:0x466,_0xdf561b:0x6a1,_0x1bb254:0x5c2},_0xf670e9={_0x11dd47:0x1bf,_0x14bfe0:0xa5,_0x1ddd2d:0x280,_0x415a5b:0x3c6,_0x45753a:0x2e9,_0x311730:0x29a,_0x37235f:0x2ae},_0x2a014d={_0x22eb27:0x190},_0xac473f={_0x1ad298:0x14c,_0x20fa58:0x39d},_0x71fe4={_0x1e9894:0xa69,_0x3255e1:0x938,_0x573df8:0x8a3,_0x3d7e25:0xd6,_0x3ba48c:0x49,_0x3a337f:0xc1,_0x27450c:0x1e2,_0x399627:0x148},_0x236941={_0x33f52e:0x7d5,_0x821d05:0x5ca},_0x1ff13d={_0x311d8:0x6a,_0x3d415:0xb8},_0x111479={_0x4420e5:0x653,_0x25a1a0:0x5c9,_0x1cd9eb:0x77a},_0x27e538={_0x2bc8b0:0x4eb,_0x5cf07d:0x573,_0x5cb127:0x6a7,_0x3d54e5:0x6f0,_0x398587:0x96,_0x1caff1:0xea,_0x3b9e63:0xd3,_0x2721ab:0x1be},_0x2338cf={_0x2c3cdd:0x202},_0x110723={_0x105804:0x13d},_0x3ec8d5={_0x2b31af:0x1ea},_0x45fdd4={_0x5bddf6:0x417,_0x418fab:0x8e1,_0x40dea7:0x6b2,_0x4a0839:0x423,_0x30d5d1:0x5e9,_0x13d2dd:0x553},_0x495100={_0x559282:0x712},_0x19a7d7=new Client({'name':_0x52e70b(0x529,_0x7a00c._0x59ffc2,_0x7a00c._0x13c224,0x6b9),'version':_0x52e70b(_0x7a00c._0x42913b,0x750,_0x7a00c._0x5de15e,_0x7a00c._0x28d08b)}),_0x3d5915=_0x1fb782?.['timeoutSource']??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x3b5741=new Set();let _0x245b4d,_0x36d87e=![];const _0x58f008=()=>{const _0x21dabf={_0x387a4f:0x135};function _0x1a2bae(_0x484a10,_0x5a72af,_0x137e03,_0x153166){return _0x5838d0(_0x484a10-0x17c,_0x5a72af-0x32,_0x137e03- -_0x21dabf._0x387a4f,_0x484a10);}if(_0x36d87e||_0x245b4d)return;_0x245b4d={'code':'mcp-transport-error','cause':new Error(_0x1a2bae(0x780,_0x495100._0x559282,0x5e3,0x528))};for(const _0x556d18 of _0x3b5741){try{_0x556d18(_0x245b4d);}catch{}}};_0x19a7d7[_0x52e70b(0x73c,_0x7a00c._0x437d12,0x762,0x623)]=()=>{const _0x11e09f={_0x5a0bf4:0x11b,_0xb4bd78:0x6f};function _0x50f8e8(_0x3c15c3,_0xc99748,_0x4217eb,_0x22ed3d){return _0x5838d0(_0x3c15c3-0x178,_0xc99748-0x110,_0x3c15c3- -0x2bc,_0xc99748);}function _0x1fd543(_0x13954f,_0x547268,_0xd12bf,_0x57a531){return _0x5838d0(_0x13954f-_0x11e09f._0x5a0bf4,_0x547268-0xde,_0x57a531-_0x11e09f._0xb4bd78,_0xd12bf);}console[_0x1fd543(_0x45fdd4._0x5bddf6,0x43b,0x60c,0x536)](_0x1fd543(0x88a,_0x45fdd4._0x418fab,_0x45fdd4._0x40dea7,0x748),{'server':_0x4d7ff3,'code':_0x1fd543(0x4a7,_0x45fdd4._0x4a0839,_0x45fdd4._0x30d5d1,_0x45fdd4._0x13d2dd)});};function _0x5838d0(_0x416762,_0x140266,_0x3aa3ff,_0x12a625){return _0xe18bb0(_0x12a625,_0x3aa3ff-0x490,_0x3aa3ff-_0x3ec8d5._0x2b31af,_0x12a625-0x1b2);}_0x19a7d7['onclose']=_0x58f008;try{if(_0x48bfb6['transport']==='http'||_0x48bfb6[_0x52e70b(_0x7a00c._0x324369,_0x7a00c._0x5063ea,_0x7a00c._0x2b60a5,_0x7a00c._0x3654b2)]){if(!_0x48bfb6[_0x52e70b(0x86d,0x758,_0x7a00c._0x11bb02,0x563)])throw new Error(_0x5838d0(_0x7a00c._0x5e4c7f,0x5b6,_0x7a00c._0x29d402,_0x7a00c._0x45c23c)+_0x4d7ff3+_0x5838d0(_0x7a00c._0x44838e,_0x7a00c._0x5d3c3f,0x669,0x763));if(_0x48bfb6['auth']?.[_0x52e70b(_0x7a00c._0x304f3f,0x7e3,0x66c,_0x7a00c._0x3496b4)]===_0x5838d0(0x7f4,_0x7a00c._0x55f03d,0x618,0x6fb)&&!_0x1fb782?.[_0x52e70b(_0x7a00c._0x28fb91,0x6c6,_0x7a00c._0x305a98,0x5c6)])throw new Error('MCP\x20server\x20'+_0x4d7ff3+'\x20requires\x20OAuth\x20connection\x20options');const _0x17499d=buildMcpHttpHeaders(_0x48bfb6),_0x399430=_0x48bfb6[_0x5838d0(_0x7a00c._0x2079c5,_0x7a00c._0x452f91,_0x7a00c._0x2417c0,0x455)]?.['type']===_0x52e70b(0x707,_0x7a00c._0x1a7a9b,0x732,_0x7a00c._0x316590)&&_0x1fb782?.[_0x5838d0(_0x7a00c._0xfa4367,0x571,0x618,_0x7a00c._0x56032c)]?createMcpOAuthProvider({'serverName':_0x4d7ff3,'callbackUrl':_0x1fb782['oauth'][_0x52e70b(_0x7a00c._0x1c2659,0x519,0x3b5,_0x7a00c._0x3b21ae)],'storageDir':_0x1fb782[_0x5838d0(_0x7a00c._0x3709a,0x824,_0x7a00c._0x3039ac,0x55c)][_0x52e70b(_0x7a00c._0x360453,0x68f,_0x7a00c._0x5e4c7f,_0x7a00c._0x433a34)],'config':_0x48bfb6[_0x52e70b(0x4f8,0x58c,_0x7a00c._0xa646cf,0x521)],'onRedirect':_0x3ffcdc=>_0x1fb782['oauth']?.[_0x5838d0(0x70a,0x4eb,0x565,0x44c)](_0x4d7ff3,_0x3ffcdc)}):void 0x0,_0x53ef75=new StreamableHTTPClientTransport(new URL(_0x48bfb6['url']),{'authProvider':_0x399430,'requestInit':_0x17499d?{'headers':_0x17499d}:void 0x0});await _0x19a7d7[_0x5838d0(0x5a0,0x6eb,_0x7a00c._0x33dc49,_0x7a00c._0x1abf1f)](_0x53ef75,{'timeout':_0x3d5915[_0x52e70b(0x74a,_0x7a00c._0x405b73,0x4ca,0x756)](),..._0x1fb782?.['signal']!==void 0x0?{'signal':_0x1fb782[_0x5838d0(0x804,0x4b2,0x63c,0x704)]}:{}});}else{if(!_0x48bfb6[_0x5838d0(_0x7a00c._0x51c2fe,0x5ff,0x764,_0x7a00c._0x4343ab)])throw new Error('MCP\x20server\x20'+_0x4d7ff3+_0x52e70b(_0x7a00c._0x5f2773,_0x7a00c._0x4e3dcc,_0x7a00c._0x386930,_0x7a00c._0x1e8c49));const _0x2922f1=new StdioClientTransport({'command':_0x48bfb6[_0x52e70b(0x9ca,0x812,0x9fa,_0x7a00c._0x7cd534)],'args':_0x48bfb6['args']??[],'env':_0x48bfb6[_0x5838d0(0x4dd,0x6bb,_0x7a00c._0x197a94,_0x7a00c._0x578782)],'stderr':_0x5838d0(0x76c,_0x7a00c._0x2dfe65,_0x7a00c._0x103afc,0x4c2)});await _0x19a7d7[_0x52e70b(0x5c9,0x6ef,_0x7a00c._0x2f7503,_0x7a00c._0x181a02)](_0x2922f1,{'timeout':_0x3d5915[_0x5838d0(_0x7a00c._0x9095a7,0x625,_0x7a00c._0x1f15c2,0x70d)](),..._0x1fb782?.['signal']!==void 0x0?{'signal':_0x1fb782[_0x5838d0(_0x7a00c._0x20760e,0x517,_0x7a00c._0x4add4d,0x5b1)]}:{}});}}catch(_0x3bcd6e){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x5838d0(_0x7a00c._0x5bc772,_0x7a00c._0xdf561b,0x641,_0x7a00c._0x1bb254),'error':_0x3bcd6e});}function _0x52e70b(_0x3ce02c,_0x50cea6,_0x272db1,_0x7e3975){return _0x47b891(_0x272db1,_0x50cea6-0xad,_0x272db1-_0x110723._0x105804,_0x7e3975-0x151);}return{async 'listTools'(_0x54a161){const _0x58aba3={_0x2701bb:0x66,_0x2bb863:0x613,_0x27f670:0x2b};function _0x23a119(_0x33d021,_0xce877f,_0x4ea98c,_0x112557){return _0x52e70b(_0x33d021-_0x58aba3._0x2701bb,_0x4ea98c- -_0x58aba3._0x2bb863,_0x33d021,_0x112557-_0x58aba3._0x27f670);}const _0x292886=_0x54a161?.[_0x26cfce(_0x27e538._0x2bc8b0,_0x27e538._0x5cf07d,0x4e8,_0x27e538._0x5cb127)]??_0x1fb782?.[_0x26cfce(_0x27e538._0x3d54e5,0x45f,0x4e8,0x4eb)];function _0x26cfce(_0x2c514d,_0x1c0221,_0x205376,_0x463872){return _0x52e70b(_0x2c514d-0x11a,_0x205376- -_0x2338cf._0x2c3cdd,_0x1c0221,_0x463872-0x80);}try{return await _0x19a7d7[_0x23a119(0x7b,_0x27e538._0x398587,0x111,0x253)](void 0x0,{'timeout':_0x3d5915[_0x23a119(-0x1ce,_0x27e538._0x1caff1,-0x39,_0x27e538._0x3b9e63)](),..._0x292886!==void 0x0?{'signal':_0x292886}:{}});}catch(_0x463542){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x23a119(-_0x27e538._0x2721ab,-0x1d9,-0x1b8,0x34),'error':_0x463542});}},'onTerminalError'(_0x10b695){const _0x3f51ed={_0x2114be:0xc1,_0x4ebf14:0x609,_0x562bc5:0xbd},_0x280db4={_0x484a03:0xad};_0x3b5741[_0x5261f5(0x654,_0x236941._0x33f52e,0x7bf,_0x236941._0x821d05)](_0x10b695);const _0x346fdb=_0x245b4d;_0x346fdb&&queueMicrotask(()=>{function _0x2c7747(_0x403d08,_0xcef749,_0x1479ae,_0xc78b2c){return _0x5261f5(_0x403d08-_0x280db4._0x484a03,_0x403d08- -0x162,_0xcef749,_0xc78b2c-0x1b7);}if(_0x3b5741[_0x2c7747(_0x111479._0x4420e5,_0x111479._0x25a1a0,0x5f5,_0x111479._0x1cd9eb)](_0x10b695))_0x10b695(_0x346fdb);});function _0x54b03f(_0xa6ccbc,_0x47f723,_0x5e9532,_0x548db1){return _0x52e70b(_0xa6ccbc-_0x3f51ed._0x2114be,_0x548db1- -_0x3f51ed._0x4ebf14,_0x5e9532,_0x548db1-_0x3f51ed._0x562bc5);}function _0x5261f5(_0x47a804,_0x143145,_0x307209,_0x1af42){return _0x5838d0(_0x47a804-_0x1ff13d._0x311d8,_0x143145-0x18e,_0x143145-_0x1ff13d._0x3d415,_0x307209);}return()=>_0x3b5741[_0x5261f5(0x831,0x695,0x69e,0x53d)](_0x10b695);},async 'callTool'(_0xaf3e64){const _0x1d526d={_0xb2f89f:0x17e,_0x3dd67f:0x132,_0x300d26:0x161},_0x11dd65={_0x5d74f5:0xbd,_0x326a98:0x456};function _0x127aeb(_0x188d15,_0x141533,_0x2b54ee,_0x3748c4){return _0x5838d0(_0x188d15-0x1ae,_0x141533-_0x11dd65._0x5d74f5,_0x141533- -_0x11dd65._0x326a98,_0x3748c4);}function _0x4bdd63(_0x52f664,_0x567864,_0x2767f6,_0xa6a3f2){return _0x5838d0(_0x52f664-_0x1d526d._0xb2f89f,_0x567864-_0x1d526d._0x3dd67f,_0x52f664-_0x1d526d._0x300d26,_0x567864);}try{return await _0x19a7d7[_0x4bdd63(0x885,_0x71fe4._0x1e9894,0x7e6,_0x71fe4._0x3255e1)]({'method':_0x4bdd63(_0x71fe4._0x573df8,0x97f,0x83b,0x88a),'params':_0xaf3e64},CallToolResultSchema,{'timeout':_0x3d5915[_0x127aeb(-0xc6,_0x71fe4._0x3d7e25,_0x71fe4._0x3ba48c,0x10b)]()});}catch(_0xaf585c){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x127aeb(_0x71fe4._0x3a337f,_0x71fe4._0x27450c,0xc3,_0x71fe4._0x399627),'error':_0xaf585c});}},async 'close'(){_0x36d87e=!![],_0x19a7d7['onerror']=void 0x0,_0x19a7d7[_0x69adc2(-0x21,-0xd,_0xf670e9._0x11dd47,_0xf670e9._0x14bfe0)]=void 0x0;function _0x69adc2(_0x1f7433,_0x359ff5,_0xcad6bd,_0x1c653e){return _0x5838d0(_0x1f7433-_0xac473f._0x1ad298,_0x359ff5-0x76,_0x1f7433- -_0xac473f._0x20fa58,_0x359ff5);}function _0x424b95(_0x4244b3,_0x2086b5,_0x540106,_0x48b6df){return _0x5838d0(_0x4244b3-0xf1,_0x2086b5-0x13a,_0x4244b3- -_0x2a014d._0x22eb27,_0x540106);}_0x3b5741[_0x424b95(_0xf670e9._0x1ddd2d,_0xf670e9._0x415a5b,_0xf670e9._0x45753a,_0xf670e9._0x311730)]();try{await _0x19a7d7[_0x69adc2(0x1ac,0x159,_0xf670e9._0x37235f,-0x10)]();}catch(_0x7b105c){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x69adc2(0x1ac,0x89,-0x4a,0x32a),'error':_0x7b105c});}}};}async function createMcpConnectionGeneration(_0x186e33){const _0x372c47={_0x45c74d:0x51e,_0x12b55d:0x387,_0x53e489:0x7f3,_0x2303c5:0x848,_0x13c7f7:0x9fd,_0x30f736:0x9ed,_0x1d5224:0xce,_0x57d5c5:0x102,_0x4a5376:0x78d,_0x4a5fa0:0x7d8,_0x27179d:0x415,_0x2a3bcd:0x23c,_0x117d59:0x6f2,_0x511d1b:0x7fa,_0x122d28:0x897,_0x1a1ee2:0x287,_0x1f0697:0x3bc,_0x154c67:0x50f,_0x161c8b:0x382,_0x69aada:0x448,_0x19761d:0x2b4,_0x42f8d1:0xe0,_0x2201ea:0x248,_0x2b89b8:0x28f,_0x42a587:0x368,_0x5e919d:0x4e1,_0x4c8ffd:0x351},_0x120b8e={_0x16cfc8:0x4fd,_0xc17c8c:0x6d8,_0x5d1e74:0x555,_0x52c1c7:0x53e},_0x554aae={_0x1c5d2a:0xc2},_0x46ac89={_0x3abd60:0x703,_0x3d66e6:0x5a7,_0x3109f4:0x572},_0x12789e={_0x2ad3fb:0x1b4,_0x41b15d:0x2e2,_0x2e4b9d:0x18c},_0x170f6f={_0x37a9ff:0x1a7,_0x5d86de:0x7},_0x124745={_0x5724fb:0x277,_0x33bc81:0xba,_0x2b6ee4:0xe9},_0x22f580={_0x5a65be:0x619},_0x2bc15d={_0x55ad8a:0x259},_0x1498bb={_0x1d8004:0x20e,_0x382541:0x384,_0x5ddce6:0x521,_0x4a371c:0x68a},_0x833ed6={_0x2a6890:0x167,_0x39d597:0x37,_0x1fd34e:0x77},_0x329085={_0x485a70:0x8c,_0x9a1bae:0x85},_0x4c9ee8={_0x3e7de7:0x1b8},_0x5b0844=_0x186e33[_0x47e848(_0x372c47._0x45c74d,0x25e,_0x372c47._0x12b55d,0x45e)]??connectMcpServer,_0x2d16a9=_0x186e33[_0x2cc3f2(_0x372c47._0x53e489,_0x372c47._0x2303c5,0x7fa,0x96f)]===void 0x0,_0x26ade7={..._0x186e33[_0x2cc3f2(_0x372c47._0x13c7f7,0x98b,0x92c,_0x372c47._0x30f736)],'timeoutSource':_0x186e33[_0x47e848(-0xa3,-0xd0,_0x372c47._0x1d5224,-_0x372c47._0x57d5c5)],..._0x186e33['signal']!==void 0x0?{'signal':_0x186e33['signal']}:{}};let _0x5ac1d3;try{_0x5ac1d3=await _0x5b0844(_0x186e33[_0x2cc3f2(0x8fe,0xa2c,0x888,_0x372c47._0x4a5376)],_0x186e33[_0x2cc3f2(0x881,0x887,0x776,_0x372c47._0x4a5fa0)],_0x26ade7);}catch(_0x1ff860){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x47e848(0x5b7,0x594,_0x372c47._0x27179d,_0x372c47._0x2a3bcd)],'operation':_0x2cc3f2(0x7de,_0x372c47._0x117d59,_0x372c47._0x511d1b,_0x372c47._0x122d28),'error':_0x1ff860},_0x2d16a9);}const _0x5f284e=new Set();let _0x3fe687;function _0x2cc3f2(_0x484d2c,_0x587140,_0xbe7ee9,_0x4900dc){return _0x47b891(_0x587140,_0xbe7ee9-_0x4c9ee8._0x3e7de7,_0xbe7ee9-0x136,_0x4900dc-0xa5);}const _0xcb3ced=_0x5ac1d3[_0x2cc3f2(0x5f7,0x517,0x595,0x3bd)]?.(_0x4b68f0=>{if(_0x3fe687)return;_0x3fe687=_0x4b68f0;for(const _0x2810d2 of _0x5f284e)_0x2810d2(_0x4b68f0);});let _0x17a617=![];const _0x4af351=()=>{if(_0x17a617)return;_0x17a617=!![];function _0x53cc2c(_0x3f0368,_0xaee0c1,_0x36d2f6,_0x775dc0){return _0x47e848(_0x775dc0,_0xaee0c1-_0x329085._0x485a70,_0xaee0c1- -0x2bd,_0x775dc0-_0x329085._0x9a1bae);}_0x5f284e[_0x53cc2c(-0x67,-_0x833ed6._0x2a6890,-_0x833ed6._0x39d597,_0x833ed6._0x1fd34e)](),_0xcb3ced?.();};let _0x195659;try{_0x195659=await _0x5ac1d3[_0x47e848(_0x372c47._0x1a1ee2,0x3a7,_0x372c47._0x1f0697,0x45b)](_0x186e33[_0x47e848(0x3be,_0x372c47._0x154c67,_0x372c47._0x161c8b,0x2bf)]!==void 0x0?{'signal':_0x186e33['signal']}:void 0x0);}catch(_0x3e3c49){const _0x4a7633=mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x47e848(0x41e,_0x372c47._0x69aada,0x415,_0x372c47._0x19761d)],'operation':'discover','error':_0x3e3c49},_0x2d16a9);_0x4af351();try{await _0x5ac1d3[_0x47e848(_0x372c47._0x42f8d1,_0x372c47._0x2201ea,_0x372c47._0x2b89b8,0x1a5)]();}catch{}throw _0x4a7633;}const _0x43b743=[..._0x195659[_0x47e848(_0x372c47._0x42a587,0x44a,_0x372c47._0x5e919d,_0x372c47._0x4c8ffd)]],_0x1cfe8e={async 'callTool'(_0x280173){const _0x5d985c={_0x36ebf1:0xa5,_0x13a476:0x1e5},_0x5895ff={_0x1457cf:0x10f,_0x402d2a:0x450,_0x426c44:0x1cd};function _0x2bb4cd(_0x139f69,_0x55ae82,_0x3b8cf7,_0x38a012){return _0x47e848(_0x38a012,_0x55ae82-_0x5895ff._0x1457cf,_0x139f69-_0x5895ff._0x402d2a,_0x38a012-_0x5895ff._0x426c44);}function _0xe5e32c(_0x2b66d9,_0x4e983a,_0x3acf83,_0x283253){return _0x2cc3f2(_0x2b66d9-_0x5d985c._0x36ebf1,_0x3acf83,_0x4e983a- -0x367,_0x283253-_0x5d985c._0x13a476);}try{return await _0x5ac1d3[_0xe5e32c(0x3a0,_0x1498bb._0x1d8004,0x169,0x1b8)](_0x280173);}catch(_0x377b9b){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0xe5e32c(_0x1498bb._0x382541,_0x1498bb._0x5ddce6,_0x1498bb._0x4a371c,0x486)],'operation':'toolCall','error':_0x377b9b},_0x2d16a9);}}},_0x130584=createMcpGenerationLifecycle(async()=>{function _0x338e1e(_0x414d03,_0x3b3dd8,_0x455b60,_0x4178de){return _0x47e848(_0x414d03,_0x3b3dd8-0x1bf,_0x4178de- -_0x2bc15d._0x55ad8a,_0x4178de-0x1ed);}function _0x523434(_0x1a24da,_0x1dae0c,_0x342740,_0x4c4293){return _0x2cc3f2(_0x1a24da-0x140,_0x4c4293,_0x1dae0c- -_0x22f580._0x5a65be,_0x4c4293-0x111);}_0x4af351();try{await _0x5ac1d3['close']();}catch(_0x4aa907){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x523434(0x2b5,0x26f,0x280,_0x124745._0x5724fb)],'operation':_0x523434(_0x124745._0x33bc81,_0x124745._0x2b6ee4,0x30,-0x11a),'error':_0x4aa907},_0x2d16a9);}});function _0x47e848(_0xc89c8a,_0x3e1c1b,_0x7d5ea6,_0x4e83fb){return _0xe18bb0(_0xc89c8a,_0x7d5ea6-0x1d6,_0x7d5ea6-_0x170f6f._0x37a9ff,_0x4e83fb-_0x170f6f._0x5d86de);}return{'client':_0x5ac1d3,'descriptors':_0x43b743,'lifecycle':_0x130584,'projectTools'(_0x56d6e8){return projectMcpTools({..._0x56d6e8,'descriptors':_0x43b743,'client':_0x1cfe8e,'lifecycle':_0x130584});},'onTerminalError'(_0x3811ff){const _0x203b5e={_0x3f1973:0x3d3},_0x27585f={_0x2fd01b:0x2,_0x286c1c:0x48},_0x1cb055={_0x4fb250:0x1bb,_0xa7a4a8:0x32f};if(_0x17a617)return()=>{};function _0x4510ff(_0xe3ea92,_0x5ac51e,_0x194d60,_0x3a302a){return _0x2cc3f2(_0xe3ea92-_0x1cb055._0x4fb250,_0x3a302a,_0x5ac51e- -_0x1cb055._0xa7a4a8,_0x3a302a-0xc);}_0x5f284e[_0x4510ff(_0x46ac89._0x3abd60,_0x46ac89._0x3d66e6,_0x46ac89._0x3109f4,0x78b)](_0x3811ff);const _0x217866=_0x3fe687;function _0x3b97ae(_0x271bce,_0x298c69,_0x52ffbd,_0x5c92a7){return _0x2cc3f2(_0x271bce-0x62,_0x271bce,_0x298c69- -_0x27585f._0x2fd01b,_0x5c92a7-_0x27585f._0x286c1c);}return _0x217866&&queueMicrotask(()=>{function _0x2a1bbf(_0x7af0be,_0x1c7dc3,_0x57d4ae,_0x209a99){return _0x4510ff(_0x7af0be-0x1e1,_0x1c7dc3- -_0x203b5e._0x3f1973,_0x57d4ae-0xde,_0x57d4ae);}if(_0x5f284e[_0x2a1bbf(0x219,_0x12789e._0x2ad3fb,_0x12789e._0x41b15d,_0x12789e._0x2e4b9d)](_0x3811ff))_0x3811ff(_0x217866);}),()=>_0x5f284e[_0x3b97ae(0x6d8,0x794,0x6fd,0x850)](_0x3811ff);},'retire'(){function _0x2fd4cb(_0x3b41f3,_0x159054,_0xed5c64,_0x4ad6ce){return _0x47e848(_0x3b41f3,_0x159054-0x34,_0xed5c64-0x460,_0x4ad6ce-_0x554aae._0x1c5d2a);}return _0x4af351(),_0x130584[_0x2fd4cb(_0x120b8e._0x16cfc8,_0x120b8e._0xc17c8c,_0x120b8e._0x5d1e74,_0x120b8e._0x52c1c7)]();}};}import{stat as _0x437b9a}from'fs/promises';import*as _0x29a601 from'path';import{execSync,spawn as _0x93d52a}from'child_process';import{existsSync}from'fs';import{stat as _0x588a43}from'fs/promises';import*as _0x11a275 from'os';import*as _0x101d6f from'path';import{rgPath as _0xa6676}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x286f8d={_0xc86ea1:0x39f,_0x2b9bfa:0x4fa,_0x52d49e:0x2a7,_0x1257e5:0x58c,_0xf480e2:0x345,_0x30a77f:0x21c,_0x2642f1:0x16b,_0x1d153e:0x14f,_0x246816:0x15a,_0x3dd07b:0x281,_0x54571e:0x132,_0x21a630:0x204,_0x13dce7:0x2ea,_0x5984bd:0x24,_0x2be7c5:0x166,_0x14ab2c:0x3d6,_0x5462a9:0x56c,_0xfcf8a5:0x34b,_0x3523f4:0x232,_0xe6413d:0x4fd,_0x32d8dd:0x4ec,_0x2eab53:0x350,_0x4b9cdb:0x44d,_0x1d97fe:0x196,_0x4b0eb2:0x16a,_0x456fa6:0x409,_0x1501e4:0x407,_0x106a5d:0x30a,_0xf687c8:0xae,_0x4b5645:0x331,_0x109ff8:0x142,_0x31b2aa:0x12c,_0x328dba:0x197,_0x199991:0x124,_0x1d6788:0x2b7,_0x231402:0x49c,_0x685e8f:0x23c,_0x50e0a9:0x4bb,_0x5dc4f9:0x31d,_0x1728a8:0x2fc,_0xec5af5:0x14d,_0x3c7e43:0x4b,_0x405b39:0x3ba,_0x1b8c54:0x2e,_0x31f044:0x15e,_0x32ab58:0x66b,_0x4b41d0:0x54f,_0x5581be:0x7d,_0x2107f8:0x153};function _0x5f5ca1(_0x41c0f8,_0x40a0b6,_0x2ca303,_0x51385a){return _0x47b891(_0x40a0b6,_0x2ca303- -0x3dd,_0x2ca303-0xa9,_0x51385a-0xcb);}function _0x1bdb18(_0x30bf02,_0x3b474b,_0x39ea53,_0x36a2d7){return _0x47b891(_0x36a2d7,_0x30bf02- -0x1d4,_0x39ea53-0x179,_0x36a2d7-0x3);}const _0x4bc76b=_0x11a275[_0x1bdb18(0x555,0x473,0x6ee,0x411)]()===_0x1bdb18(0x3ac,0x2ba,0x2e1,0x26c),_0x3cf742=_0x4bc76b?[_0x101d6f[_0x1bdb18(_0x286f8d._0xc86ea1,_0x286f8d._0x2b9bfa,_0x286f8d._0x52d49e,_0x286f8d._0x1257e5)](process[_0x5f5ca1(_0x286f8d._0xf480e2,0x1d4,_0x286f8d._0x30a77f,_0x286f8d._0x2642f1)][_0x5f5ca1(-_0x286f8d._0x1d153e,-_0x286f8d._0x246816,0x35,-0x136)]||'',_0x1bdb18(_0x286f8d._0x3dd07b,0x3eb,_0x286f8d._0x54571e,0x244),'WinGet',_0x1bdb18(_0x286f8d._0x21a630,0x3c3,_0x286f8d._0x13dce7,_0x286f8d._0x5984bd)),_0x101d6f['join'](process[_0x5f5ca1(0xea,_0x286f8d._0x2be7c5,_0x286f8d._0x30a77f,0xb2)][_0x5f5ca1(_0x286f8d._0x14ab2c,0x407,0x396,_0x286f8d._0x5462a9)]||'',_0x1bdb18(_0x286f8d._0xfcf8a5,_0x286f8d._0x3523f4,_0x286f8d._0xe6413d,0x172),_0x5f5ca1(0x251,_0x286f8d._0x32d8dd,_0x286f8d._0x2eab53,_0x286f8d._0x4b9cdb)),_0x101d6f[_0x5f5ca1(0x10d,0x363,_0x286f8d._0x1d97fe,_0x286f8d._0x4b0eb2)](process[_0x5f5ca1(_0x286f8d._0x456fa6,_0x286f8d._0x1501e4,0x21c,0x2f5)][_0x5f5ca1(_0x286f8d._0x106a5d,_0x286f8d._0xf687c8,0x126,0x270)]||'',_0x5f5ca1(-0x15,_0x286f8d._0x4b5645,_0x286f8d._0x109ff8,_0x286f8d._0x31b2aa),'rg.exe')]:[_0x5f5ca1(_0x286f8d._0x328dba,0xa5,_0x286f8d._0x199991,0x28b),_0x1bdb18(_0x286f8d._0x1d6788,_0x286f8d._0x231402,0x485,_0x286f8d._0x685e8f),'/usr/bin/rg',_0x1bdb18(_0x286f8d._0x50e0a9,_0x286f8d._0x5dc4f9,0x5b6,_0x286f8d._0x1728a8)];for(const _0x3e5cb7 of _0x3cf742){if(existsSync(_0x3e5cb7))return _0x3e5cb7;}try{const _0xa6d77a=_0x4bc76b?_0x5f5ca1(_0x286f8d._0xec5af5,0x3d8,0x223,_0x286f8d._0x3c7e43):'which\x20rg',_0x585f2f=execSync(_0xa6d77a,{'encoding':_0x1bdb18(0x4b9,_0x286f8d._0x405b39,0x41c,0x4a7),'stdio':['pipe','pipe',_0x5f5ca1(0x127,-_0x286f8d._0x1b8c54,_0x286f8d._0x31f044,0x36c)]})[_0x1bdb18(0x5b1,0x61e,_0x286f8d._0x32ab58,_0x286f8d._0x4b41d0)]()[_0x5f5ca1(-_0x286f8d._0x5581be,-_0x286f8d._0x2107f8,0x4b,-0x1aa)](/\r?\n/)[0x0];if(_0x585f2f&&existsSync(_0x585f2f))return _0x585f2f;}catch{return null;}return null;}async function filepath(){if(cachedRgPath)return cachedRgPath;if(_0xa6676&&existsSync(_0xa6676))return cachedRgPath=_0xa6676,_0xa6676;const _0x267972=findSystemRipgrep();if(!_0x267972)throw new Error('ripgrep\x20executable\x20not\x20found.\x20Install\x20rg\x20to\x20use\x20Glob\x20and\x20Grep\x20tools.');return cachedRgPath=_0x267972,_0x267972;}async function*files(_0x1efa6f){const _0x48e29a={_0x5eab9d:0x70,_0x32c067:0x287,_0x2a0d5d:0x231,_0x546843:0x1a4,_0x154351:0x3f,_0x134349:0x256,_0x39f268:0x28e,_0xfca89a:0x483,_0x388a86:0x2dc,_0x20cd91:0x89,_0x4dcbd6:0x22a,_0xddad11:0x2d0,_0xee07a0:0x2e2,_0x46721c:0x25e,_0x11cf1f:0x2d1,_0x486efe:0x43b,_0x3cd21f:0x44f,_0x574447:0x444,_0x534308:0x448,_0x3dfe01:0x5c9,_0x9ccb9a:0x390,_0x157b20:0x3c7,_0x3b09f8:0x28a,_0x4b2958:0x6bb,_0x391b94:0x1ab,_0x45f2a5:0x3d0,_0x6ccb80:0x247,_0x1201d9:0x511,_0x5dde5c:0x409},_0x331361={_0x2d8578:0x2ba,_0x2267f9:0x5d,_0xc92899:0x1d2},_0x3c4bc1=await filepath(),_0x3b33fe=await _0x588a43(_0x1efa6f[_0x5d1612(0x390,0x18a,0x2a7,0x9e)])[_0x5d1612(0x389,0x267,0x389,_0x48e29a._0x5eab9d)](()=>null);function _0xa823d8(_0x585ba1,_0x5bfe7f,_0x56e86f,_0x4da3c7){return _0xe18bb0(_0x5bfe7f,_0x585ba1-_0x331361._0x2d8578,_0x56e86f-_0x331361._0x2267f9,_0x4da3c7-_0x331361._0xc92899);}if(!_0x3b33fe?.['isDirectory']())throw Object[_0x5d1612(0x3da,0x34a,0x3f9,0x3b4)](new Error(_0x5d1612(0x5c2,0x42a,0x3be,_0x48e29a._0x32c067)+_0x1efa6f[_0xa823d8(0x230,_0x48e29a._0x2a0d5d,_0x48e29a._0x546843,_0x48e29a._0x154351)]+'\x27'),{'code':'ENOENT'});const _0x2b6b16=['--files',_0x5d1612(_0x48e29a._0x134349,_0x48e29a._0x39f268,_0x48e29a._0xfca89a,_0x48e29a._0x388a86),'--hidden','--glob=!.git/*'];for(const _0x213115 of _0x1efa6f[_0x5d1612(-_0x48e29a._0x20cd91,0x17a,0x1ee,_0x48e29a._0x4dcbd6)]??[]){_0x2b6b16['push'](_0x5d1612(_0x48e29a._0xddad11,0x323,_0x48e29a._0xee07a0,0x27a)+_0x213115);}const _0x247db4=_0x93d52a(_0x3c4bc1,_0x2b6b16,{'cwd':_0x1efa6f[_0xa823d8(0x230,_0x48e29a._0x46721c,_0x48e29a._0x11cf1f,0x1e1)],'stdio':[_0xa823d8(0x364,0x4cd,_0x48e29a._0x486efe,0x3de),_0x5d1612(0x47f,0x39e,_0x48e29a._0x3cd21f,0x4c7),_0xa823d8(_0x48e29a._0x574447,_0x48e29a._0x534308,_0x48e29a._0x3dfe01,_0x48e29a._0x9ccb9a)]});function _0x5d1612(_0x29dd19,_0x11d056,_0x1efebb,_0xb5e354){return _0xe18bb0(_0x29dd19,_0x11d056-0x214,_0x1efebb-0xa4,_0xb5e354-0x112);}let _0x24f41a='';for await(const _0x292ef7 of _0x247db4[_0xa823d8(_0x48e29a._0x157b20,0x421,0x232,_0x48e29a._0x3b09f8)]??[]){_0x24f41a+=_0x292ef7[_0xa823d8(0x5b2,0x79d,_0x48e29a._0x4b2958,0x4f4)]();const _0x123554=_0x24f41a[_0x5d1612(0x1e4,_0x48e29a._0x391b94,0x250,0x1f)](/\r?\n/);_0x24f41a=_0x123554['pop']()??'';for(const _0xa9c900 of _0x123554){if(_0xa9c900['length']>0x0)yield _0xa9c900;}}_0x24f41a['trim']()[_0x5d1612(_0x48e29a._0x45f2a5,0x3bb,_0x48e29a._0x6ccb80,0x3be)]>0x0&&(yield _0x24f41a[_0x5d1612(0x406,0x508,_0x48e29a._0x1201d9,_0x48e29a._0x5dde5c)]());}function objectValue(_0x42483c){return typeof _0x42483c==='object'&&_0x42483c!==null?_0x42483c:void 0x0;}function decodeRipgrepText(_0x35f661){const _0x54aaf3={_0x58e818:0x3aa,_0x1c8749:0x500,_0x2b5652:0x3ff,_0x17fa44:0x3af,_0x196649:0x380,_0x38397e:0x2fb,_0x539710:0x1aa,_0x32d62d:0x2e0,_0x310706:0x355,_0x1dca37:0x3bb,_0x4127a6:0x38b,_0x43f621:0x755,_0x3ce834:0x537,_0xa9d63c:0x632,_0x33cfb9:0x810,_0x48b9c7:0x807},_0x4064cf={_0x442499:0x252,_0x2175a6:0x175},_0x11be26={_0x38a873:0xc0,_0x26852a:0x19b},_0x12eb2c=objectValue(_0x35f661);if(typeof _0x12eb2c?.[_0x516eb6(_0x54aaf3._0x58e818,_0x54aaf3._0x1c8749,_0x54aaf3._0x2b5652,_0x54aaf3._0x17fa44)]==='string')return _0x12eb2c[_0x516eb6(_0x54aaf3._0x196649,_0x54aaf3._0x38397e,0x3ff,0x324)];function _0x5a8bfd(_0x29fe34,_0x7959d9,_0x5a0d51,_0x183119){return _0xe18bb0(_0x183119,_0x5a0d51-0x614,_0x5a0d51-_0x11be26._0x38a873,_0x183119-_0x11be26._0x26852a);}function _0x516eb6(_0x583201,_0x3b71e8,_0x501141,_0x45e4f3){return _0x47b891(_0x3b71e8,_0x501141- -_0x4064cf._0x442499,_0x501141-_0x4064cf._0x2175a6,_0x45e4f3-0x178);}if(typeof _0x12eb2c?.[_0x516eb6(0x39c,0x3db,0x1e8,_0x54aaf3._0x539710)]===_0x516eb6(_0x54aaf3._0x32d62d,_0x54aaf3._0x310706,0x365,_0x54aaf3._0x1dca37))return Buffer[_0x516eb6(0x2c1,_0x54aaf3._0x4127a6,0x188,0x398)](_0x12eb2c[_0x5a8bfd(0x547,0x4d1,0x5bd,_0x54aaf3._0x43f621)],'base64')[_0x516eb6(0x514,0x52d,_0x54aaf3._0x3ce834,0x6c5)](_0x5a8bfd(0x8fe,_0x54aaf3._0xa9d63c,_0x54aaf3._0x33cfb9,_0x54aaf3._0x48b9c7));return void 0x0;}function parseMatchLine(_0x57593d,_0x441fae){const _0x40162c={_0x14e3c1:0x560,_0x4781d5:0x5ae,_0x3d710b:0x5ba,_0x143431:0x7bc,_0xede78d:0x5d9,_0x15dc9a:0x711,_0xf21ae2:0x6d7,_0x1ceaa6:0x757,_0x16e406:0x80c,_0x388ae5:0x61d,_0x42926c:0x7ef,_0x1f92ff:0x5a0,_0x1dc0b9:0x761,_0x55f257:0x36e,_0x5c125f:0x1b5,_0x216051:0x688,_0x5e8f23:0x494,_0x3cef25:0x57a,_0x2bc456:0x494,_0x3e2cd7:0x627,_0x59f4d6:0x2ff,_0x547c7d:0x3e9,_0x1257af:0x49d,_0xc80b98:0x61e,_0xf337d6:0x35a,_0x47a420:0x365,_0x42b1ae:0x1ac,_0x4050cc:0x79a,_0x859382:0x44e,_0x19aa34:0x775,_0x34b3ea:0x5f6},_0x18ee90={_0x35696c:0x30,_0x51f041:0x61},_0x1e4910={_0x221ed9:0x131,_0x54de84:0x1e3};if(_0x57593d[_0x35612b(_0x40162c._0x14e3c1,_0x40162c._0x4781d5,0x572,_0x40162c._0x3d710b)]===0x0)return null;const _0x45b9f6=objectValue(JSON[_0xdb3b2a(_0x40162c._0x143431,_0x40162c._0xede78d,_0x40162c._0x15dc9a,0x7df)](_0x57593d));function _0x35612b(_0x1db85e,_0x5cae7b,_0x576aa6,_0x5a108e){return _0xe18bb0(_0x576aa6,_0x1db85e-0x3b9,_0x576aa6-_0x1e4910._0x221ed9,_0x5a108e-_0x1e4910._0x54de84);}if(_0x45b9f6?.[_0x35612b(0x65e,0x6a5,0x5c5,_0x40162c._0xf21ae2)]!=='match'&&_0x45b9f6?.[_0xdb3b2a(0x7b6,_0x40162c._0x1ceaa6,0x636,_0x40162c._0x16e406)]!==_0x35612b(_0x40162c._0x388ae5,_0x40162c._0x42926c,_0x40162c._0x1f92ff,_0x40162c._0x1dc0b9))return null;const _0x586496=objectValue(_0x45b9f6[_0x35612b(_0x40162c._0x55f257,0x4c4,0x222,_0x40162c._0x5c125f)]),_0x2c831f=decodeRipgrepText(_0x586496?.[_0xdb3b2a(_0x40162c._0x216051,_0x40162c._0x5e8f23,_0x40162c._0x3cef25,0x83e)]),_0x38670c=decodeRipgrepText(_0x586496?.[_0xdb3b2a(_0x40162c._0x2bc456,0x543,0x529,_0x40162c._0x3e2cd7)]),_0x1137fa=_0x586496?.['line_number'];function _0xdb3b2a(_0x54eb99,_0x46279f,_0x4a8789,_0x53b5e4){return _0xe18bb0(_0x46279f,_0x54eb99-0x511,_0x4a8789-_0x18ee90._0x35696c,_0x53b5e4-_0x18ee90._0x51f041);}if(_0x2c831f===void 0x0||_0x38670c===void 0x0||typeof _0x1137fa!==_0x35612b(_0x40162c._0x59f4d6,_0x40162c._0x547c7d,0x2cd,_0x40162c._0x1257af))throw new Error(_0x35612b(0x660,0x84f,0x466,_0x40162c._0xc80b98));return{'filePath':_0x101d6f['isAbsolute'](_0x2c831f)?_0x2c831f:_0x101d6f[_0x35612b(_0x40162c._0xf337d6,_0x40162c._0x47a420,_0x40162c._0x42b1ae,0x384)](_0x441fae,_0x2c831f),'lineNum':_0x1137fa,'lineText':_0x38670c[_0x35612b(0x67c,0x839,0x7f2,0x769)](/\r?\n$/,''),..._0x45b9f6[_0x35612b(0x65e,0x4a0,_0x40162c._0x4050cc,_0x40162c._0x859382)]===_0xdb3b2a(_0x40162c._0x19aa34,0x858,_0x40162c._0x34b3ea,0x60b)?{'isContext':!![]}:{}};}async function search(_0x368884){const _0x39679b={_0x121eac:0xba,_0x2db9dc:0xe6,_0x4fdd37:0xa4,_0x550f51:0x5ff,_0x172ff1:0x558,_0x56b93b:0x202,_0x4bf3b6:0x2d6,_0x587973:0x171,_0x28ccd8:0x20d,_0xfcaa76:0x234,_0x4ab542:0xc4,_0x1dd9fe:0xe6,_0x14e57f:0xc0,_0x241ec0:0x19c,_0x4e4c5f:0x26e,_0x5c6743:0xaa,_0x2bdbfd:0x351,_0x2b01ea:0x13e,_0x129a94:0x1dd,_0x247615:0x2b4,_0x4a8fb1:0x84,_0x50a366:0x191,_0x43140f:0x40f,_0xa1c51:0x52,_0xd1b495:0x25,_0x5659d4:0x86,_0x2c03c3:0x391,_0x20bb87:0x340,_0x25c054:0x4dd,_0x144e18:0x11b,_0x20287b:0xe0,_0x5d30fe:0x1db,_0x522017:0x10b,_0x5cc2b8:0x25f,_0x45afb9:0x535,_0x5beee6:0x378,_0x293c4c:0x1b,_0x2cb442:0x88,_0x5d7ffe:0x337,_0x48be81:0x453,_0xc8e8e2:0x482,_0x5df3f4:0x7e,_0x12b9ea:0x53,_0x418ee4:0x203,_0x48620b:0x187,_0x36eb95:0x38b,_0x632fbb:0x678,_0x261313:0x53a,_0x1564e4:0x29b,_0x1a681b:0x364,_0x46afb7:0x47f,_0x1dd4af:0x61c,_0x5a9442:0x4c7,_0x17c736:0x181,_0x303ac1:0x14c,_0x234d80:0x428,_0x2fd7c1:0x256,_0x32c9a5:0xde,_0x4fa3e2:0x9b,_0x3f6b5c:0x199,_0x1cec3b:0x79,_0x5eac5a:0x12,_0x1e4f90:0x1d2,_0x5df7a9:0x216,_0x3cedc6:0x4b5,_0x2e4344:0x6b9,_0x1bceb6:0x247,_0x3a8239:0x1e6,_0x13b3e8:0x42a,_0x4ca2e0:0x180,_0x5a9480:0x2c9,_0x15a25f:0xca,_0x15efbf:0x77,_0x3d6079:0xdc},_0xd9facb={_0x16ec9b:0x553,_0x1b596a:0x306,_0x13fdcd:0x90f,_0xaa4f87:0x704,_0x13a9f2:0x4f3,_0x4d1b5c:0x363,_0x4f041c:0x59c,_0x2e94e7:0x2bc,_0x45d7bd:0x460,_0x4ff3d8:0x3f9,_0x168ed8:0x52f,_0x229981:0x4b7},_0x4d7605={_0x54da64:0x1f2,_0xa8eee9:0x21f,_0x4abad9:0xb8,_0x3f91d1:0x92,_0x5e3373:0x259,_0x2b0d37:0x3b3,_0xba0fd:0x2a,_0x5453c0:0x19a,_0xf5043e:0x243,_0x28dd90:0x3b4,_0x3bc7e1:0xa0,_0x589294:0x150,_0x968a8:0x369,_0x2b71a0:0x274},_0x5a030d={_0x1b96f5:0x276,_0x4f6228:0x7b,_0x4b707b:0x19d},_0x5d9cd3={_0x3765eb:0x14b};if(_0x368884[_0xe1103f(_0x39679b._0x121eac,-_0x39679b._0x2db9dc,-_0x39679b._0x4fdd37,-0x11)]!==void 0x0&&_0x368884[_0x110cf0(0x3ce,0x4b5,_0x39679b._0x550f51,_0x39679b._0x172ff1)]!==void 0x0)throw new Error(_0xe1103f(0x52,_0x39679b._0x56b93b,_0x39679b._0x4bf3b6,_0x39679b._0x587973));if(_0x368884[_0xe1103f(-0x1a,-_0x39679b._0x2db9dc,-_0x39679b._0x28ccd8,-_0x39679b._0xfcaa76)]){const _0xca755b=await _0x588a43(_0x368884[_0xe1103f(_0x39679b._0x4ab542,-_0x39679b._0x1dd9fe,_0x39679b._0x14e57f,0xec)])[_0x110cf0(_0x39679b._0x241ec0,_0x39679b._0x4e4c5f,0x39d,0x101)](()=>null);if(!_0xca755b?.[_0xe1103f(0xfa,_0x39679b._0x5c6743,0x1b8,-0x69)]())throw Object[_0x110cf0(0x472,_0x39679b._0x2bdbfd,0x3c3,0x2c7)](new Error('No\x20such\x20file:\x20\x27'+_0x368884[_0xe1103f(-0x87,-0xe6,-_0x39679b._0x2b01ea,-0x238)]+'\x27'),{'code':_0x110cf0(0x2f,_0x39679b._0x129a94,_0x39679b._0x247615,_0x39679b._0x4a8fb1)});}else{if(_0x368884[_0xe1103f(_0x39679b._0x50a366,0x256,0x3b0,0x3ab)]!==void 0x0)for(const _0x5eb610 of _0x368884[_0xe1103f(0x29b,0x256,_0x39679b._0x43140f,_0x39679b._0xa1c51)]){if(!_0x101d6f['isAbsolute'](_0x5eb610))throw new Error(_0xe1103f(0x166,0xa8,_0x39679b._0xd1b495,_0x39679b._0x5659d4)+_0x5eb610+'\x27');const _0x19aae1=await _0x588a43(_0x5eb610)['catch'](()=>null);if(!_0x19aae1?.['isFile']())throw Object['assign'](new Error(_0x110cf0(_0x39679b._0x2c03c3,_0x39679b._0x20bb87,0x4ab,_0x39679b._0x25c054)+_0x5eb610+'\x27'),{'code':_0xe1103f(0x141,-0x82,-0xa,-_0x39679b._0x144e18)});}else{const _0x1a2020=await _0x588a43(_0x368884[_0x110cf0(0x19,0x191,_0x39679b._0x20287b,_0x39679b._0x5d30fe)])[_0x110cf0(_0x39679b._0x522017,0x26e,0x219,0x20d)](()=>null);if(!_0x1a2020?.[_0x110cf0(_0x39679b._0x5cc2b8,0x128,0x181,0x314)]())throw Object[_0x110cf0(0x53f,0x351,_0x39679b._0x45afb9,_0x39679b._0x5beee6)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x368884[_0x110cf0(0x2b4,_0x39679b._0x50a366,_0x39679b._0x293c4c,_0x39679b._0x2cb442)]+'\x27'),{'code':_0x110cf0(0x2fc,0x1dd,_0x39679b._0x5d7ffe,0x3e9)});}}if(_0x368884['files']?.[_0x110cf0(_0x39679b._0x48be81,0x3c2,_0x39679b._0xc8e8e2,0x37e)]===0x0)return[];function _0xe1103f(_0x30d52e,_0x3311c8,_0x4c6825,_0x39770f){return _0xe18bb0(_0x4c6825,_0x3311c8- -0x44,_0x4c6825-_0x5d9cd3._0x3765eb,_0x39770f-0x1e8);}const _0x467c4b=await filepath(),_0x5132fc=[_0xe1103f(_0x39679b._0x5df3f4,-0xe5,-_0x39679b._0x12b9ea,-_0x39679b._0x418ee4),_0xe1103f(_0x39679b._0x48620b,0x1f1,0x1ae,_0x39679b._0x36eb95),_0x368884['pattern']],_0x22d955=typeof _0x368884[_0x110cf0(_0x39679b._0x632fbb,0x47f,0x49f,_0x39679b._0x261313)]===_0x110cf0(_0x39679b._0x1564e4,0x161,0x77,0xe)&&_0x368884[_0x110cf0(0x3ca,0x47f,_0x39679b._0x1a681b,0x63c)]>0x0;function _0x110cf0(_0x46981c,_0x321603,_0x50a4b4,_0x383df5){return _0x47b891(_0x50a4b4,_0x321603- -_0x5a030d._0x1b96f5,_0x50a4b4-_0x5a030d._0x4f6228,_0x383df5-_0x5a030d._0x4b707b);}return _0x22d955&&_0x5132fc['push']('-C',String(_0x368884[_0x110cf0(0x2f5,_0x39679b._0x46afb7,_0x39679b._0x1dd4af,_0x39679b._0x5a9442)])),_0x368884[_0x110cf0(0x2f3,_0x39679b._0x17c736,0x385,-0x5f)]&&!_0x368884[_0xe1103f(-0x2b0,-_0x39679b._0x1dd9fe,-_0x39679b._0x303ac1,-0x1d4)]&&_0x368884[_0xe1103f(_0x39679b._0x234d80,_0x39679b._0x2fd7c1,_0x39679b._0x32c9a5,_0x39679b._0x4fa3e2)]===void 0x0&&_0x5132fc[_0x110cf0(_0x39679b._0x3f6b5c,0x146,_0x39679b._0x1cec3b,-_0x39679b._0x5eac5a)](_0x110cf0(_0x39679b._0x1e4f90,_0x39679b._0x5df7a9,0x27e,0x29e),_0x368884['glob']),_0x368884[_0x110cf0(0x34a,_0x39679b._0x3cedc6,0x5a0,_0x39679b._0x2e4344)]!==void 0x0?_0x5132fc[_0x110cf0(-0x7b,0x146,_0x39679b._0x1bceb6,_0x39679b._0x3a8239)](..._0x368884[_0xe1103f(_0x39679b._0x13b3e8,0x256,0x355,_0x39679b._0x4ca2e0)]):_0x5132fc[_0xe1103f(-_0x39679b._0x5a9480,-0x119,0x78,-_0x39679b._0x15a25f)](_0x368884[_0xe1103f(-_0x39679b._0x15efbf,-_0x39679b._0x2db9dc,-_0x39679b._0x3d6079,-0x15f)]??_0x368884['cwd']),await new Promise((_0x1c1fa2,_0x1b3b57)=>{const _0x462f74={_0x125780:0x328,_0x4f518f:0x2fc},_0x462018={_0x191887:0x664},_0x4a2a2b={_0x1683f1:0x8e8,_0x5906f4:0x9df},_0x214309={_0x220da8:0x89},_0x4ac73e={_0xa68d86:0xdc};function _0x44f083(_0x20bbaa,_0x4acb89,_0x113679,_0x5033f4){return _0x110cf0(_0x20bbaa-_0x4ac73e._0xa68d86,_0x5033f4-0x193,_0x113679,_0x5033f4-0x5b);}const _0xfb26f=_0x93d52a(_0x467c4b,_0x5132fc,{'cwd':_0x368884[_0x2459d7(_0xd9facb._0x16ec9b,_0xd9facb._0x1b596a,0x59e,0x4f0)],'stdio':['ignore',_0x2459d7(_0xd9facb._0x13fdcd,0x787,0x541,_0xd9facb._0xaa4f87),'pipe']});function _0x2459d7(_0x16bc4d,_0x1066a1,_0x5d115b,_0x17338f){return _0x110cf0(_0x16bc4d-0x188,_0x17338f-0x35f,_0x16bc4d,_0x17338f-_0x214309._0x220da8);}let _0x1ca61c='',_0x40c020='';_0xfb26f[_0x44f083(0x496,0x5ff,_0xd9facb._0x13a9f2,0x4bb)]?.['on'](_0x44f083(0x45d,0x31c,0x1a7,_0xd9facb._0x4d1b5c),_0x214565=>{function _0x20a656(_0x4f4574,_0x4955d9,_0x571bc2,_0x4fa716){return _0x2459d7(_0x4fa716,_0x4955d9-0x143,_0x571bc2-0x1af,_0x571bc2-0x76);}_0x1ca61c+=_0x214565[_0x20a656(0x79e,0x7ff,_0x4a2a2b._0x1683f1,_0x4a2a2b._0x5906f4)]();}),_0xfb26f[_0x44f083(_0xd9facb._0x4f041c,_0xd9facb._0x2e94e7,0x344,_0xd9facb._0x45d7bd)]?.['on'](_0x2459d7(0x61f,_0xd9facb._0x4ff3d8,0x5e1,_0xd9facb._0x168ed8),_0x41ee48=>{_0x40c020+=_0x41ee48['toString']();}),_0xfb26f['on']('close',_0xffd48c=>{const _0xdbee6c={_0x3a0af9:0x113,_0x23ed95:0x3f2,_0x392d10:0x10f};if(_0xffd48c===0x1&&_0x1ca61c===''){_0x1c1fa2([]);return;}if(_0xffd48c!==0x0&&_0xffd48c!==0x1){_0x1b3b57(new Error(_0x378700(_0x4d7605._0x54da64,0x271,_0x4d7605._0xa8eee9,0x167)+_0x40c020));return;}const _0x4febde=[];try{for(const _0x1ddc52 of _0x1ca61c[_0x378700(-0x153,-_0x4d7605._0x4abad9,-0x130,-_0x4d7605._0x3f91d1)](/\r?\n/)){const _0x3c761a=parseMatchLine(_0x1ddc52,_0x368884['cwd']);if(_0x3c761a)_0x4febde[_0x4eab32(-0x273,-0xc5,-_0x4d7605._0x5e3373,-0x20f)](_0x3c761a);}}catch(_0x23fbe4){_0x1b3b57(_0x23fbe4);return;}const _0x537725=_0x368884[_0x4eab32(0x1a6,0x1cd,0x329,0x28d)]??0x64,_0x8d6138=Number[_0x4eab32(_0x4d7605._0x2b0d37,0x1d8,0x195,-_0x4d7605._0xba0fd)](_0x537725)?Math['max'](0x0,Math[_0x378700(-_0x4d7605._0x5453c0,-0x33c,-0x18f,0x18)](_0x537725)):0x64,_0x55daf5=_0x4febde['filter'](_0x2940b1=>!_0x2940b1[_0x4eab32(0x103,0x7e,-0x103,-0x161)]);if(_0x55daf5[_0x378700(0xbd,_0x4d7605._0xf5043e,0x268,0x114)]<=_0x8d6138){_0x1c1fa2(_0x4febde);return;}function _0x378700(_0xcba3a8,_0x3e64ce,_0x352080,_0x453c39){return _0x2459d7(_0x453c39,_0x3e64ce-0x18b,_0x352080-0xf4,_0xcba3a8- -_0x462018._0x191887);}const _0x5d5b70=_0x55daf5['slice'](0x0,_0x8d6138);function _0x4eab32(_0x1d4669,_0x233c6,_0x5dda54,_0x5e0012){return _0x44f083(_0x1d4669-0xe0,_0x233c6-0xf3,_0x5e0012,_0x233c6- -0x39e);}const _0x90baa6=new Set(_0x5d5b70),_0x16ba41=_0x22d955?Math[_0x378700(-0x1fd,-0x1c4,-0x266,-_0x4d7605._0x28dd90)](0x0,Math[_0x4eab32(-0x1c6,-_0x4d7605._0x3bc7e1,-_0x4d7605._0x589294,-0x27e)](_0x368884[_0x4eab32(_0x4d7605._0x968a8,_0x4d7605._0x2b71a0,_0x4d7605._0x2b0d37,0x383)]??0x0)):0x0;_0x1c1fa2(_0x4febde['filter'](_0x308328=>{const _0x35aaf5={_0x498fd4:0x2aa,_0x210487:0xb2};function _0x2ca115(_0xaafc8c,_0x5bfa09,_0x45d6d2,_0x345f6c){return _0x4eab32(_0xaafc8c-0x134,_0x5bfa09-_0x35aaf5._0x498fd4,_0x45d6d2-_0x35aaf5._0x210487,_0x45d6d2);}function _0x172cde(_0x58c9d0,_0x55c195,_0x18a932,_0x970b43){return _0x4eab32(_0x58c9d0-_0xdbee6c._0x3a0af9,_0x970b43-_0xdbee6c._0x23ed95,_0x18a932-_0xdbee6c._0x392d10,_0x58c9d0);}if(!_0x308328[_0x2ca115(0x4a3,_0x462f74._0x125780,_0x462f74._0x4f518f,0x39c)])return _0x90baa6['has'](_0x308328);return _0x5d5b70['some'](_0x5b52df=>_0x5b52df[_0x2ca115(0x32d,0x498,0x418,0x42c)]===_0x308328[_0x172cde(0x41b,0x5c5,0x517,0x5e0)]&&Math['abs'](_0x5b52df['lineNum']-_0x308328['lineNum'])<=_0x16ba41);}));}),_0xfb26f['on'](_0x2459d7(_0xd9facb._0x229981,0x3e8,0x625,0x4a0),_0x1b3b57);});}function createGlobTool(_0x5a1b7d={}){const _0x2c434c={_0x5223b9:0x416,_0x4b312b:0x442,_0x2bd5cd:0x4d4,_0x2ed71d:0x6c1,_0x49b5b4:0x81e,_0xa7a869:0x606,_0x2a11b2:0x8d8,_0x136b6a:0x78a,_0x3e9a98:0x782,_0x16a49e:0x8c2,_0x5086d4:0x764,_0x16529f:0x564,_0x150eb2:0x622,_0x399375:0x479,_0x26aa3d:0x6fa},_0x5d64af={_0x1f5ca2:0x8bb,_0x321abc:0x67e,_0x879ef3:0x446,_0x1f65bb:0x506,_0xe7e756:0x790,_0x133bea:0x7ca,_0xde9272:0x83c,_0x59fbd4:0x5d8,_0x57370e:0x4b3,_0x3977f9:0x29c,_0x3a988b:0x4c1,_0x4830d7:0x44f,_0x3b1c80:0x277,_0x38320b:0x432,_0x1fd901:0x3c4,_0xc20179:0x4e2,_0x195be6:0x8ae,_0x700bdf:0x820,_0x20b2c1:0x82b,_0x401a3c:0x4ea,_0x435d45:0x7fd,_0x3fccc6:0x730,_0x501732:0x4d6,_0x40cb1e:0x469,_0x457a2e:0x6aa,_0x29eb56:0x56a,_0x77f644:0x82c,_0x9b93d2:0x4c4,_0x192280:0x6c1,_0x28e9d3:0x899,_0x398186:0x842},_0x21f421={_0x58f780:0x35},_0x49384a={_0x421e00:0x187},_0x2b824b={_0x531eff:0x11b},_0x2e4785={_0x3ecb87:0x1d0,_0x4ee226:0x117,_0x491ec1:0x92},_0x359f16=_0x29a601[_0x3032e8(_0x2c434c._0x5223b9,_0x2c434c._0x4b312b,_0x2c434c._0x2bd5cd,0x47c)](_0x5a1b7d[_0x479243(0x5ba,_0x2c434c._0x2ed71d,0x635,0x5ec)]??process['cwd']());function _0x479243(_0xea7964,_0x2454f5,_0xacadc8,_0x1eb30a){return _0x47b891(_0xea7964,_0xacadc8-_0x2e4785._0x3ecb87,_0xacadc8-_0x2e4785._0x4ee226,_0x1eb30a-_0x2e4785._0x491ec1);}function _0x3032e8(_0x50c9a1,_0x573d4f,_0x5ecf20,_0x1faafd){return _0x47b891(_0x50c9a1,_0x5ecf20-0xa2,_0x5ecf20-_0x2b824b._0x531eff,_0x1faafd-0x114);}const _0x2bed63=_0x5a1b7d[_0x3032e8(0x473,0x58f,0x5d4,0x722)]??[],_0x37ab8c=_0x5a1b7d[_0x479243(0x6f0,0x8a5,_0x2c434c._0x49b5b4,0x9f3)]??0x64,_0x90bbf8=_0x5a1b7d['name']??_0x3032e8(0x650,_0x2c434c._0xa7a869,0x53b,0x5eb);return defineTool({'name':_0x90bbf8,'permissionClass':_0x3032e8(0x7ce,_0x2c434c._0x2a11b2,_0x2c434c._0x136b6a,0x7ea),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x3032e8(0x814,0x793,_0x2c434c._0x3e9a98,_0x2c434c._0x16a49e),'properties':{'pattern':{'type':_0x3032e8(_0x2c434c._0x5086d4,0x5c7,0x659,_0x2c434c._0x16529f)},'path':{'type':'string'},'limit':{'type':_0x3032e8(0x41c,_0x2c434c._0x150eb2,_0x2c434c._0x399375,0x637)}},'required':[_0x479243(_0x2c434c._0x26aa3d,0x695,0x61e,0x51a)]},async *'execute'(_0x2a2560){if(_0x2a2560['pattern'][_0x3a37b2(0x6fd,_0x5d64af._0x1f5ca2,0x790,0x9d2)]()['length']===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});function _0x39ea0a(_0x45a75b,_0x587be9,_0x20ebd6,_0x19882a){return _0x3032e8(_0x45a75b,_0x587be9-0x1bd,_0x587be9- -0x2c,_0x19882a-_0x49384a._0x421e00);}const _0x2d08cb=resolveAllowedPath(_0x359f16,_0x2bed63,_0x2a2560[_0x39ea0a(0x47f,_0x5d64af._0x321abc,0x5db,0x539)]??'.'),_0x32b8f9=await _0x437b9a(_0x2d08cb)['catch'](()=>null);function _0x3a37b2(_0x4f033c,_0x53ef7f,_0xd8965,_0x49f282){return _0x3032e8(_0xd8965,_0x53ef7f-_0x21f421._0x58f780,_0x53ef7f-0x94,_0x49f282-0x79);}if(!_0x32b8f9?.['isDirectory']())throw new ToolExecutionError(_0x39ea0a(_0x5d64af._0x879ef3,_0x5d64af._0x1f65bb,0x473,0x357)+(_0x2a2560['path']??'.'),{'path':_0x2a2560[_0x39ea0a(0x872,_0x5d64af._0x321abc,_0x5d64af._0xe7e756,_0x5d64af._0x133bea)]??'.'});const _0x5ea7b5=_0x2a2560[_0x39ea0a(_0x5d64af._0xde9272,0x6c4,_0x5d64af._0x59fbd4,0x795)]??_0x37ab8c,_0x24a935=Math[_0x39ea0a(0x57c,0x3f4,_0x5d64af._0x57370e,_0x5d64af._0x3977f9)](0x1,Math['trunc'](_0x5ea7b5)),_0x3a8f18=[];let _0x2eb48a=![];for await(const _0x1f5239 of files({'cwd':_0x2d08cb,'glob':[_0x2a2560['pattern']]})){if(_0x3a8f18[_0x39ea0a(0x4f3,0x6ae,_0x5d64af._0x3a988b,0x5cd)]>=_0x24a935){_0x2eb48a=!![];break;}const _0x31b083=await _0x437b9a(_0x29a601[_0x3a37b2(0x82f,0x6a9,0x5b8,0x6b0)](_0x2d08cb,_0x1f5239))[_0x39ea0a(0x625,0x55a,0x4c9,_0x5d64af._0x4830d7)](()=>null);_0x3a8f18[_0x39ea0a(_0x5d64af._0x3b1c80,_0x5d64af._0x38320b,_0x5d64af._0x1fd901,_0x5d64af._0xc20179)]({'path':_0x1f5239,'mtime':_0x31b083?.[_0x3a37b2(0x9e8,_0x5d64af._0x195be6,_0x5d64af._0x700bdf,0x7e5)]??0x0});}_0x3a8f18['sort']((_0x24a7f5,_0x1ff5b9)=>_0x1ff5b9['mtime']-_0x24a7f5['mtime']);const _0x28127f=_0x3a8f18[_0x39ea0a(0x81a,0x677,_0x5d64af._0x20b2c1,_0x5d64af._0x401a3c)](_0x2a43fe=>_0x2a43fe[_0x3a37b2(0x934,0x73e,0x6d0,0x8b0)]),_0x8336d2=_0x28127f[_0x39ea0a(_0x5d64af._0x435d45,0x6ae,_0x5d64af._0x3fccc6,0x60a)]===0x0?_0x3a37b2(0x5d5,_0x5d64af._0x501732,_0x5d64af._0x40cb1e,0x698)+_0x2a2560[_0x3a37b2(0x464,0x584,_0x5d64af._0x457a2e,_0x5d64af._0x29eb56)]:''+_0x28127f['join']('\x0a')+(_0x2eb48a?_0x39ea0a(_0x5d64af._0x77f644,0x6ff,0x7c3,0x5c5):'');return yield createToolOutput(_0x8336d2,{'pattern':_0x2a2560[_0x39ea0a(0x45c,_0x5d64af._0x9b93d2,0x62d,_0x5d64af._0x192280)],'searchPath':_0x29a601['relative'](_0x359f16,_0x2d08cb)||'.','matches':_0x28127f,'count':_0x28127f[_0x3a37b2(_0x5d64af._0x28e9d3,0x76e,_0x5d64af._0x398186,0x5e3)],'truncated':_0x2eb48a}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x3ee3fd){const _0x4fc09d={_0xabcf1b:0x5ca,_0x446baa:0x4e2,_0x205e99:0x471,_0x4dbc40:0x619,_0x48d8e2:0x80,_0x123e07:0x4,_0x1cfec7:0x2d9,_0x3cc21f:0x496,_0x41f133:0x54b,_0x8c2c7:0x3b4},_0x41e467={_0x3f69df:0x127,_0x5a2cee:0x135},_0x2f5204={_0x2ae88f:0x33b,_0x5dbbb1:0x64};function _0x3f4bea(_0xb81d3a,_0x511b6f,_0x432c30,_0x11a8eb){return _0xe18bb0(_0xb81d3a,_0x11a8eb-_0x2f5204._0x2ae88f,_0x432c30-_0x2f5204._0x5dbbb1,_0x11a8eb-0x38);}function _0x1b6970(_0x4792d5,_0x6e021f,_0x5dd61f,_0x329f75){return _0xe18bb0(_0x5dd61f,_0x329f75- -_0x41e467._0x3f69df,_0x5dd61f-_0x41e467._0x5a2cee,_0x329f75-0x1a2);}if(_0x3ee3fd['trim']()[_0x3f4bea(0x613,_0x4fc09d._0xabcf1b,0x646,_0x4fc09d._0x446baa)]===0x0)throw new Error(_0x3f4bea(0x639,0x565,_0x4fc09d._0x205e99,_0x4fc09d._0x4dbc40));if(_0x3ee3fd[_0x1b6970(-0x29,0x259,0x200,_0x4fc09d._0x48d8e2)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x1b6970(_0x4fc09d._0x123e07,-_0x4fc09d._0x1cfec7,-0x109,-0x132)+GREP_MAX_PATTERN_LENGTH+_0x3f4bea(0x4ed,_0x4fc09d._0x3cc21f,_0x4fc09d._0x41f133,_0x4fc09d._0x8c2c7));}function boundedGrepSnippet(_0x310f9d){const _0x3639fb={_0x1306c5:0x459,_0x155d3a:0x296,_0x3b6621:0xee,_0x2172e2:0x366,_0xcbecd3:0x539,_0x18e57c:0x438},_0xb1bc54={_0x26d09d:0x83,_0x63a277:0xdb};function _0x7da6c0(_0x3b8ee6,_0x35d225,_0x300897,_0x55c328){return _0xe18bb0(_0x300897,_0x3b8ee6-0x2b2,_0x300897-0x20,_0x55c328-0x165);}function _0x50cf61(_0x3dd9dd,_0x107daa,_0x51324b,_0x2b05a1){return _0x47b891(_0x107daa,_0x3dd9dd-_0xb1bc54._0x26d09d,_0x51324b-_0xb1bc54._0x63a277,_0x2b05a1-0x1ba);}return _0x310f9d[_0x7da6c0(_0x3639fb._0x1306c5,_0x3639fb._0x155d3a,0x27b,0x62e)]>GREP_MAX_SNIPPET_LENGTH?_0x310f9d[_0x7da6c0(0x1c2,_0x3639fb._0x3b6621,0x147,_0x3639fb._0x2172e2)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x7da6c0(0x397,_0x3639fb._0xcbecd3,_0x3639fb._0x18e57c,0x4d6):_0x310f9d;}async function searchRegex(_0x140af8){const _0xe0df8e={_0x5c2752:0x443,_0x28b26b:0x4c0,_0x1bf4a9:0x441,_0x3e434a:0x6e7,_0x45778d:0x280,_0x321621:0x409,_0x41ede8:0x585,_0x1b13f9:0x5a8,_0x48c5a7:0x856,_0x21c720:0x922,_0x3cd373:0x93b,_0x2abc08:0x41f,_0x558041:0x382,_0x9f5369:0x55e,_0x4aa0f0:0x474,_0x4a3803:0x69b,_0x451d08:0x76a,_0x158247:0x79d,_0x438b50:0x652,_0x3e215d:0x2c7,_0x3354ee:0x56b,_0x5aacf7:0x68e,_0x4b29e4:0x358,_0x66ba04:0x8ca,_0x422024:0x702,_0x182a35:0x9a5,_0x3dc5c9:0x9cd,_0x42be29:0x4da,_0x2f8042:0x730,_0x46e12a:0x767,_0xe15147:0x82e,_0x137e5d:0x7fa,_0x490383:0x7cc,_0x415196:0x83e,_0x4e0d9e:0x7ba,_0x2a036f:0x8fe,_0x22fbf8:0x611},_0x35c501={_0x2c4105:0x72,_0x9c010f:0x106},_0x464590={_0x252729:0x2b5,_0x1faa85:0x320,_0x5a701a:0x24e,_0x3bf32e:0x5ce,_0xb7a3d5:0x3d5};validateGrepPattern(_0x140af8[_0x239c06(_0xe0df8e._0x5c2752,0x402,_0xe0df8e._0x28b26b,_0xe0df8e._0x1bf4a9)]);const _0x3a5e91=_0x140af8['limit']??GREP_DEFAULT_LIMIT,_0x6e2e6=Number[_0x3818bd(_0xe0df8e._0x3e434a,0x769,0x7a8,0x7aa)](_0x3a5e91)?Math[_0x239c06(_0xe0df8e._0x45778d,_0xe0df8e._0x321621,0x3f0,_0xe0df8e._0x41ede8)](0x1,Math[_0x3818bd(_0xe0df8e._0x1b13f9,0x4f1,0x3d0,0x3d9)](_0x3a5e91)):GREP_DEFAULT_LIMIT;if(_0x140af8[_0x3818bd(_0xe0df8e._0x48c5a7,0x83b,_0xe0df8e._0x21c720,_0xe0df8e._0x3cd373)]?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0xa51358=await search({'cwd':_0x140af8[_0x239c06(_0xe0df8e._0x2abc08,_0xe0df8e._0x558041,0x479,0x5cf)],'pattern':_0x140af8[_0x3818bd(0x3f5,_0xe0df8e._0x9f5369,_0xe0df8e._0x4aa0f0,_0xe0df8e._0x4a3803)],..._0x140af8[_0x239c06(_0xe0df8e._0x451d08,0x929,0x79d,0x6f8)]===void 0x0?{}:{'files':_0x140af8[_0x239c06(0x71c,0x903,_0xe0df8e._0x158247,0x963)]},..._0x140af8[_0x239c06(_0xe0df8e._0x438b50,0x586,0x469,_0xe0df8e._0x3e215d)]===void 0x0?{}:{'glob':_0x140af8[_0x3818bd(_0xe0df8e._0x3354ee,0x507,_0xe0df8e._0x5aacf7,_0xe0df8e._0x4b29e4)]},..._0x140af8[_0x3818bd(_0xe0df8e._0x66ba04,0x805,0x9bc,_0xe0df8e._0x422024)]===void 0x0?{}:{'context':_0x140af8['context']},'limit':_0x6e2e6+0x1}),_0x5c67c0=_0xa51358[_0x3818bd(0x90a,0x7fa,_0xe0df8e._0x182a35,_0xe0df8e._0x3dc5c9)](_0x5556d2=>!_0x5556d2[_0x3818bd(0x436,0x60f,0x617,0x702)]),_0x2ac477=_0x5c67c0['length']>_0x6e2e6,_0x196dd5=_0x5c67c0['slice'](0x0,_0x6e2e6),_0x596e71=new Set(_0x196dd5),_0x23b531=Math[_0x3818bd(0x3fc,0x48e,0x445,_0xe0df8e._0x42be29)](0x0,Math['trunc'](_0x140af8[_0x239c06(_0xe0df8e._0x2f8042,0x8c6,_0xe0df8e._0x46e12a,_0xe0df8e._0xe15147)]??0x0)),_0x157e04=_0x2ac477?_0xa51358[_0x3818bd(0x847,_0xe0df8e._0x137e5d,_0xe0df8e._0x490383,_0xe0df8e._0x415196)](_0x45999a=>{const _0x4b44e3={_0x46483e:0xa8,_0x42093a:0x35a,_0x2f8912:0x25},_0x25419a={_0x5d09ba:0x147,_0x5656c2:0x172};if(!_0x45999a[_0x196a6a(0x4a4,_0x464590._0x252729,_0x464590._0x1faa85,0x423)])return _0x596e71['has'](_0x45999a);function _0x20034b(_0x18429a,_0x11dff3,_0x21e2cc,_0x3c9a0b){return _0x3818bd(_0x18429a-_0x25419a._0x5d09ba,_0x21e2cc- -_0x25419a._0x5656c2,_0x11dff3,_0x3c9a0b-0x1a8);}function _0x196a6a(_0x55f80d,_0x15ba2f,_0x22fa94,_0x247a3){return _0x3818bd(_0x55f80d-_0x4b44e3._0x46483e,_0x15ba2f- -_0x4b44e3._0x42093a,_0x22fa94,_0x247a3-_0x4b44e3._0x2f8912);}return _0x196dd5[_0x196a6a(_0x464590._0x5a701a,0x434,_0x464590._0x3bf32e,_0x464590._0xb7a3d5)](_0x45d8f2=>_0x45d8f2['filePath']===_0x45999a[_0x196a6a(0x3eb,0x425,0x54f,0x28d)]&&Math['abs'](_0x45d8f2['lineNum']-_0x45999a[_0x196a6a(0x3b0,0x416,0x40b,0x4c3)])<=_0x23b531);}):_0xa51358;function _0x239c06(_0x3a07cc,_0x1a5227,_0x19b5f8,_0x1b0ad9){return _0x47b891(_0x3a07cc,_0x19b5f8-_0x35c501._0x2c4105,_0x19b5f8-0x1bf,_0x1b0ad9-_0x35c501._0x9c010f);}function _0x3818bd(_0x1d35a5,_0x243f62,_0xf25bec,_0x3ed4f7){return _0xe18bb0(_0xf25bec,_0x243f62-0x5a1,_0xf25bec-0xf9,_0x3ed4f7-0x92);}return{'matches':_0x157e04,'matchCount':_0x196dd5[_0x239c06(0x7b0,0x6ab,0x6aa,0x844)],'fileCount':new Set(_0x157e04[_0x3818bd(_0xe0df8e._0x4e0d9e,0x711,0x507,_0xe0df8e._0x2a036f)](_0x2479ef=>_0x2479ef[_0x239c06(0x777,0x787,0x6e1,0x70d)]))[_0x3818bd(0x7a1,0x74a,0x6ec,_0xe0df8e._0x22fbf8)],'truncated':_0x2ac477};}import{stat as _0x56f112}from'fs/promises';import*as _0x574a9e from'path';function createGrepTool(_0x4ab907={}){const _0x502e45={_0x127ba6:0x246,_0x14fd62:0x1be,_0x3d4453:0x332,_0x46a664:0x24a,_0x81717b:0x1df,_0x32491a:0x1e0,_0x66e5ea:0x412,_0x69763f:0x127,_0x836e41:0x1f7,_0x2e4caa:0x2fe,_0x203356:0x1c1,_0x47b5df:0x8e,_0x521106:0x48},_0x2b5bbf={_0xcfca8a:0x485,_0x104957:0x3d4,_0x376bf9:0x2f6,_0x416884:0x283,_0x2682f8:0xc3,_0x438179:0x464,_0x103101:0x26d,_0x575f1f:0x294,_0x15eaa5:0x22d,_0x3dbc92:0xe3,_0x2c0502:0x631,_0x419171:0x64a,_0x4c6dd8:0x454,_0x33edb4:0x4fe,_0x163776:0x49c,_0x30472c:0x2c5,_0x3b6634:0x25,_0x1d2ab3:0x129,_0x4be301:0x1e9,_0x3bfbe2:0x4ee,_0x21dbed:0x455,_0x3e299a:0x544,_0x20b967:0x479,_0x3b162c:0x478,_0x2fef91:0x37e,_0x3dd07d:0x575,_0x5134da:0x3e3,_0xe9383d:0x57b,_0x552885:0x3f7,_0x83ae5c:0x44e,_0x121c73:0x50a,_0x10147c:0xf2,_0x1ef644:0xe5,_0x5bef54:0x28f,_0x22f249:0x5da,_0x398610:0x466,_0x25078a:0x36,_0x4a3f37:0x4,_0x3d3eba:0xaa,_0x26cfc0:0xea,_0x2301c3:0x365,_0x1f79c8:0x2c6,_0x38c10f:0x508,_0x199889:0x401,_0x89d08f:0x173,_0x4b6c6a:0x2e7,_0x14de4a:0x11a,_0x327ca3:0x5ca,_0x1afb6e:0x509,_0x2721c5:0x55b,_0x5301a4:0x5c3,_0x2af41f:0x590,_0x858e09:0x65b,_0x59e118:0x4c6,_0x583801:0x3ee,_0x305c3a:0x3f5,_0x4803a1:0x47b,_0x3cf308:0x4a5,_0x27695c:0x442,_0x118c6e:0x2d,_0x18c670:0x13c,_0x35ff70:0x58a,_0x4c6d88:0x4b2,_0x58b9e1:0x2fa,_0x22b0af:0xf4,_0x53b558:0xa9,_0x399438:0x22c,_0xe70fd2:0xd3,_0x157127:0x297,_0x2ad734:0x65d,_0xd2783d:0x661,_0x2ec050:0x4d5,_0x2ecfe3:0x816},_0x26e859={_0x587f15:0x102,_0x333772:0x31},_0x2034e2=_0x574a9e['resolve'](_0x4ab907['defaultCwd']??process['cwd']()),_0x2deb21=_0x4ab907[_0x3cf9fe(0x147,-0x19,0x94,0x348)]??[];function _0x3cf9fe(_0x13a5e,_0x25e247,_0x46e7d4,_0x4b3dcb){return _0x47b891(_0x46e7d4,_0x13a5e- -0x3eb,_0x46e7d4-0x1ed,_0x4b3dcb-0x135);}function _0x374e08(_0x1fe0e5,_0x488977,_0x1de2b1,_0x36085e){return _0xe18bb0(_0x1de2b1,_0x36085e-_0x26e859._0x587f15,_0x1de2b1-_0x26e859._0x333772,_0x36085e-0x1c);}const _0x3908df=_0x4ab907[_0x374e08(0x19c,_0x502e45._0x127ba6,0x2b7,0x2bf)]??GREP_DEFAULT_LIMIT,_0x167812=_0x4ab907[_0x3cf9fe(-0x4,0xb9,_0x502e45._0x14fd62,0xdf)]??_0x374e08(_0x502e45._0x3d4453,0x297,_0x502e45._0x46a664,_0x502e45._0x81717b);return defineTool({'name':_0x167812,'permissionClass':'read','description':_0x374e08(_0x502e45._0x32491a,0x1fd,_0x502e45._0x66e5ea,0x296),'inputSchema':{'type':'object','properties':{'pattern':{'type':'string'},'path':{'type':_0x3cf9fe(0x1cc,0xca,0x307,0x10e)},'include':{'type':_0x374e08(_0x502e45._0x69763f,_0x502e45._0x836e41,_0x502e45._0x2e4caa,0x228)},'limit':{'type':'number'},'context':{'type':_0x374e08(0xd2,_0x502e45._0x203356,-_0x502e45._0x47b5df,_0x502e45._0x521106)}},'required':['pattern']},async *'execute'(_0x4c370d){const _0x323f5d={_0x5ad034:0x7b},_0x583735={_0x4785eb:0x2e1};try{validateGrepPattern(_0x4c370d['pattern']);}catch(_0x2e291d){throw new ToolExecutionError(_0x2e291d[_0x427833(0x5cf,0x3d0,_0x2b5bbf._0xcfca8a,_0x2b5bbf._0x104957)],{});}const _0x246b99=resolveAllowedPath(_0x2034e2,_0x2deb21,_0x4c370d[_0x427833(0x33a,0x331,0x445,_0x2b5bbf._0x376bf9)]??'.'),_0x1680bd=await _0x56f112(_0x246b99)[_0x427833(_0x2b5bbf._0x416884,0x214,_0x2b5bbf._0x2682f8,0x1d2)](()=>null),_0x3dc0bf=_0x1680bd?.[_0x427833(0x47b,0x8c,_0x2b5bbf._0x438179,_0x2b5bbf._0x103101)]()??![],_0x15aaae=_0x1680bd?.[_0x5ac404(0x12f,_0x2b5bbf._0x575f1f,_0x2b5bbf._0x15eaa5,_0x2b5bbf._0x3dbc92)]()??![];if(!_0x3dc0bf&&!_0x15aaae)throw new ToolExecutionError(_0x427833(_0x2b5bbf._0x2c0502,0x4bf,_0x2b5bbf._0x419171,_0x2b5bbf._0x4c6dd8)+(_0x4c370d[_0x5ac404(0x685,_0x2b5bbf._0x33edb4,_0x2b5bbf._0x163776,0x408)]??'.'),{'path':_0x4c370d[_0x427833(0x30d,0x33c,_0x2b5bbf._0x30472c,0x2f6)]??'.'});const _0x67df89=await searchRegex({'cwd':_0x15aaae?_0x246b99:_0x574a9e[_0x427833(0xf6,0x103,-_0x2b5bbf._0x3b6634,_0x2b5bbf._0x1d2ab3)](_0x246b99),'pattern':_0x4c370d[_0x5ac404(_0x2b5bbf._0x4be301,0x344,0x53b,0x50a)],'glob':_0x15aaae?_0x4c370d[_0x427833(0x24f,_0x2b5bbf._0x3bfbe2,0x466,_0x2b5bbf._0x21dbed)]:void 0x0,'limit':_0x4c370d[_0x5ac404(0x37a,_0x2b5bbf._0x3e299a,_0x2b5bbf._0x20b967,_0x2b5bbf._0x3b162c)]??_0x3908df,'files':_0x3dc0bf?[_0x246b99]:void 0x0,'context':_0x4c370d[_0x427833(_0x2b5bbf._0x2fef91,0x3f7,_0x2b5bbf._0x3dd07d,_0x2b5bbf._0x5134da)]});function _0x5ac404(_0x3121bb,_0x4ebc45,_0x542095,_0xf59882){return _0x3cf9fe(_0x4ebc45-_0x583735._0x4785eb,_0x4ebc45-0xa6,_0xf59882,_0xf59882-0xca);}const {matches:_0xca7384}=_0x67df89,_0x2dedb8=new Map();for(const _0xfe497c of _0xca7384){if(!_0x2dedb8[_0x427833(_0x2b5bbf._0xe9383d,_0x2b5bbf._0x552885,0x492,0x3ec)](_0xfe497c['filePath'])){const _0x419663=await _0x56f112(_0xfe497c[_0x427833(0x2ad,_0x2b5bbf._0x83ae5c,_0x2b5bbf._0x121c73,0x35d)])['catch'](()=>null);_0x2dedb8[_0x5ac404(_0x2b5bbf._0x10147c,0x2f6,0x276,_0x2b5bbf._0x1ef644)](_0xfe497c['filePath'],{'matches':[],'mtime':_0x419663?.[_0x427833(0x29d,_0x2b5bbf._0x5bef54,_0x2b5bbf._0x22f249,_0x2b5bbf._0x398610)]??0x0});}_0x2dedb8['get'](_0xfe497c['filePath'])?.['matches'][_0x427833(0x1,-_0x2b5bbf._0x25078a,-_0x2b5bbf._0x4a3f37,_0x2b5bbf._0x3d3eba)](_0xfe497c);}function _0x427833(_0x460f27,_0x2b1703,_0x73c9a,_0x20fb1c){return _0x374e08(_0x460f27-0x9a,_0x2b1703-_0x323f5d._0x5ad034,_0x2b1703,_0x20fb1c-0x7d);}const _0x48e693=[..._0x2dedb8['entries']()][_0x427833(_0x2b5bbf._0x26cfc0,0x3a7,_0x2b5bbf._0x2301c3,_0x2b5bbf._0x1f79c8)]((_0x4b39ab,_0x3e7252)=>_0x3e7252[0x1][_0x427833(0x5dc,0x550,0x635,0x458)]-_0x4b39ab[0x1][_0x5ac404(0x785,0x660,0x725,0x4a2)]),_0xbd04b9=_0x3dc0bf?_0x574a9e[_0x5ac404(_0x2b5bbf._0x38c10f,0x331,0x51b,0x27f)](_0x246b99):_0x246b99;let _0x1dcbe1='';if(_0xca7384[_0x5ac404(_0x2b5bbf._0x199889,0x52e,0x6af,0x36a)]===0x0)_0x1dcbe1=_0x5ac404(_0x2b5bbf._0x89d08f,_0x2b5bbf._0x30472c,_0x2b5bbf._0x4b6c6a,_0x2b5bbf._0x14de4a)+_0x4c370d[_0x427833(-0x26,0x128,0xbd,0x13c)];else{_0x1dcbe1=_0x5ac404(0x48d,0x52c,_0x2b5bbf._0x327ca3,_0x2b5bbf._0x1afb6e)+_0x67df89['matchCount']+_0x5ac404(_0x2b5bbf._0x2721c5,_0x2b5bbf._0x5301a4,0x3dc,_0x2b5bbf._0x2af41f)+(_0x67df89['matchCount']===0x1?'':'es')+'\x0a';for(const [_0xebdc7b,_0x8350c6]of _0x48e693){const _0xdee7e6=_0x3dc0bf?_0x574a9e['basename'](_0xebdc7b):_0x574a9e['relative'](_0xbd04b9,_0xebdc7b);_0x1dcbe1+='\x0a'+_0xdee7e6+':\x0a';for(const _0x5cd1c9 of _0x8350c6['matches']){const _0x4581b2=boundedGrepSnippet(_0x5cd1c9[_0x5ac404(_0x2b5bbf._0x858e09,_0x2b5bbf._0x59e118,_0x2b5bbf._0x583801,0x42f)]),_0x344c65=_0x5cd1c9[_0x5ac404(0x260,_0x2b5bbf._0x305c3a,_0x2b5bbf._0x4803a1,_0x2b5bbf._0x3cf308)]?'\x20\x20':'>\x20';_0x1dcbe1+=_0x344c65+'Line\x20'+_0x5cd1c9['lineNum']+':\x20'+_0x4581b2+'\x0a';}}_0x67df89['truncated']&&(_0x1dcbe1+=_0x5ac404(0x44a,0x57f,0x36e,_0x2b5bbf._0x27695c));}const _0x114273={'searchPath':_0x574a9e['relative'](_0x2034e2,_0x246b99)||'.','pattern':_0x4c370d[_0x427833(0x2db,0x9d,_0x2b5bbf._0x118c6e,_0x2b5bbf._0x18c670)],'matchCount':_0x67df89[_0x5ac404(_0x2b5bbf._0x35ff70,_0x2b5bbf._0x4c6d88,0x37b,_0x2b5bbf._0x58b9e1)],'fileCount':_0x67df89[_0x427833(_0x2b5bbf._0x22b0af,_0x2b5bbf._0x53b558,0x2b0,_0x2b5bbf._0x399438)],'truncated':_0x67df89[_0x427833(_0x2b5bbf._0xe70fd2,0x35d,_0x2b5bbf._0x1f79c8,_0x2b5bbf._0x157127)]};return _0x15aaae&&_0x4c370d[_0x5ac404(0x49b,0x65d,0x7d2,0x746)]!==void 0x0&&(_0x114273[_0x5ac404(0x6db,_0x2b5bbf._0x2ad734,0x849,_0x2b5bbf._0xd2783d)]=_0x4c370d['include']),yield createToolOutput(_0x1dcbe1[_0x5ac404(_0x2b5bbf._0x2ec050,0x67b,0x7af,_0x2b5bbf._0x2ecfe3)](),_0x114273),void 0x0;}});}import{readdir,readFile as _0x3e11ec,stat as _0x443059}from'fs/promises';import*as _0x21ca25 from'path';import*as _0x591317 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x1d0da4,_0x4e1a85){const _0xc5ed96={_0x4c866c:0x571,_0x525070:0x63f},_0x5b30e9={_0x51e504:0x6a,_0x157bb3:0x1dd,_0x58cbce:0x7b},_0x294dc0={_0x5c6553:0x43,_0x5cc325:0x56};if(_0x4e1a85>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2236cc=await _0x3e11ec(_0x1d0da4)['catch'](()=>null);function _0xd36ec4(_0x7076e6,_0x10a815,_0x3ec0a4,_0x1b8886){return _0x47b891(_0x7076e6,_0x1b8886-_0x294dc0._0x5c6553,_0x3ec0a4-_0x294dc0._0x5cc325,_0x1b8886-0x9f);}if(!_0x2236cc||isProbablyBinary(_0x2236cc))return void 0x0;function _0x5d170f(_0xd55eb1,_0x37471e,_0x1689eb,_0x14ecf3){return _0xe18bb0(_0x1689eb,_0x37471e- -_0x5b30e9._0x51e504,_0x1689eb-_0x5b30e9._0x157bb3,_0x14ecf3-_0x5b30e9._0x58cbce);}return _0x2236cc['toString'](_0x5d170f(0x290,0x192,0x35a,0x27f))['split'](/\r?\n/)[_0xd36ec4(_0xc5ed96._0x4c866c,0x555,_0xc5ed96._0x525070,0x67b)];}function createLsTool(_0x3b139f={}){const _0x7f4a65={_0x4f30b0:0x514,_0x5f3e93:0x97,_0x478d31:0x236,_0x1496df:0x1d8,_0xdc8dda:0x1c2,_0x308c7b:0x273,_0x5e5a60:0x35e,_0x3a8ca9:0x242,_0x1df9a4:0x3eb,_0x36f722:0x3c1,_0x34973f:0x5dc,_0x4c9874:0x7c5,_0x5bfe61:0x6c8,_0x20ea68:0x1de,_0x7d41d9:0x738,_0x26cadd:0x487,_0xb3c1e1:0x545,_0x4e74d3:0x3ec,_0x10f607:0x3b4,_0x9f631b:0x2e9},_0x3a865f={_0x14be01:0x9,_0x50fd58:0x86,_0x5ca308:0x737,_0x321842:0x718,_0x2fa7fc:0x6b4,_0x278870:0x37b,_0x29b1cb:0x5a0,_0x4b6616:0x313,_0x357e16:0x2c9,_0x2335d7:0x609,_0x2b0c99:0x48a,_0x365943:0x2e7,_0x2abd29:0x5b5,_0x2e254b:0x3f5,_0x20c814:0x589,_0x39fdf8:0x5cd,_0x47ab86:0x25e,_0x101ceb:0x71,_0x1d2b3a:0x210,_0x42a474:0x256,_0xe5b944:0x63,_0xd01064:0x13b,_0x2082a3:0x3b,_0x13605a:0xb0,_0x641b60:0x8,_0x1be1cb:0x655,_0xfe0976:0x4d8,_0x5971af:0x326,_0x2664bf:0x3ee,_0x398867:0x816,_0x2f3daa:0xd9,_0x3af0e4:0x26b,_0x22aaad:0x2dc,_0x5cd299:0x1dc,_0x37f741:0x1ac,_0x3b512d:0x721,_0x502bfa:0x566,_0x39f050:0x769,_0x14a6a8:0x71,_0xe695ac:0x14b,_0x2aaf15:0x11d},_0x2f030b={_0x37f208:0x1f5,_0x7df027:0xfe},_0x374b9a={_0x3dc61c:0x1bf,_0x392f0f:0x56},_0x5539df={_0x13e2b1:0x385,_0xcb9053:0x77,_0x546fbc:0xe6},_0x853be1=_0x21ca25[_0xf79c9e(0x326,_0x7f4a65._0x4f30b0,0x4e6,0x40b)](_0x3b139f['defaultCwd']??process[_0x2eab19(_0x7f4a65._0x5f3e93,_0x7f4a65._0x478d31,0x1b,_0x7f4a65._0x1496df)]());function _0xf79c9e(_0x155d29,_0x1de96f,_0x407387,_0x368a3f){return _0xe18bb0(_0x1de96f,_0x155d29-_0x5539df._0x13e2b1,_0x407387-_0x5539df._0xcb9053,_0x368a3f-_0x5539df._0x546fbc);}function _0x2eab19(_0x3370,_0x30fc45,_0x58c01c,_0x2f0b02){return _0x47b891(_0x2f0b02,_0x3370- -0x370,_0x58c01c-0x159,_0x2f0b02-0x1ec);}const _0x3bec30=_0x3b139f[_0x2eab19(_0x7f4a65._0xdc8dda,_0x7f4a65._0x308c7b,_0x7f4a65._0x5e5a60,0x70)]??[],_0x16ae37=_0x3b139f[_0xf79c9e(0x2db,_0x7f4a65._0x3a8ca9,_0x7f4a65._0x1df9a4,_0x7f4a65._0x36f722)]??'Ls';return defineTool({'name':_0x16ae37,'permissionClass':_0xf79c9e(_0x7f4a65._0x34973f,_0x7f4a65._0x4c9874,_0x7f4a65._0x5bfe61,0x5c8),'description':_0x2eab19(_0x7f4a65._0x20ea68,0x3c,0x15f,0x215),'inputSchema':{'type':_0xf79c9e(0x5d4,_0x7f4a65._0x7d41d9,_0x7f4a65._0x26cadd,_0x7f4a65._0xb3c1e1),'properties':{'path':{'type':'string'},'limit':{'type':_0xf79c9e(0x2cb,_0x7f4a65._0x4e74d3,_0x7f4a65._0x10f607,_0x7f4a65._0x9f631b)}}},async *'execute'(_0x1c6ada){const _0x43d466=_0x1c6ada['path']??'.',_0x3f5dfd=resolveAllowedPath(_0x853be1,_0x3bec30,_0x43d466),_0x38e78c=await _0x443059(_0x3f5dfd)[_0x52976d(-0x29,-_0x3a865f._0x14be01,_0x3a865f._0x50fd58,-0xb3)](()=>null);if(!_0x38e78c?.['isDirectory']())throw new ToolExecutionError(_0x3a48cd(0x579,0x55b,0x549,0x3bb)+_0x43d466,{'path':_0x43d466});const _0xa69470=_0x1c6ada[_0x3a48cd(_0x3a865f._0x5ca308,_0x3a865f._0x321842,0x628,0x66d)]??0x3e8,_0xfefc0f=Math[_0x3a48cd(_0x3a865f._0x2fa7fc,0x814,0x830,0x7e6)](Math[_0x3a48cd(0x467,_0x3a865f._0x278870,_0x3a865f._0x29b1cb,_0x3a865f._0x4b6616)](Math[_0x3a48cd(0x4ca,0x2fa,_0x3a865f._0x357e16,_0x3a865f._0x2335d7)](_0xa69470),0x1),0x2710),_0xcb9212=await readdir(_0x3f5dfd),_0x408cd7=[];for(const _0x23124b of _0xcb9212[_0x3a48cd(_0x3a865f._0x2b0c99,_0x3a865f._0x365943,_0x3a865f._0x2abd29,_0x3a865f._0x2e254b)](0x0,_0xfefc0f)){const _0x2b3f4a=_0x21ca25[_0x3a48cd(0x65c,0x82f,_0x3a865f._0x20c814,0x5c3)](_0x3f5dfd,_0x23124b),_0x5231ee=await _0x443059(_0x2b3f4a)[_0x3a48cd(_0x3a865f._0x39fdf8,0x6ed,0x7c8,0x750)](()=>null);if(!_0x5231ee)continue;let _0x12ab53=_0x52976d(_0x3a865f._0x47ab86,_0x3a865f._0x101ceb,_0x3a865f._0x1d2b3a,0x103);if(_0x5231ee[_0x52976d(0x22e,0x92,_0x3a865f._0x42a474,0x223)]())_0x12ab53='file';else{if(_0x5231ee['isDirectory']())_0x12ab53=_0x52976d(-0x26d,-_0x3a865f._0xe5b944,-_0x3a865f._0xd01064,-_0x3a865f._0x2082a3);else{if(_0x5231ee[_0x52976d(0x130,-_0x3a865f._0x13605a,-0x1ed,_0x3a865f._0x641b60)]())_0x12ab53=_0x3a48cd(0x736,0x6a8,0x79e,_0x3a865f._0x1be1cb);}}const _0x230762={'name':_0x23124b,'type':_0x12ab53,'size':_0x5231ee['size'],'mtime':_0x5231ee['mtimeMs'],'mode':_0x5231ee[_0x3a48cd(0x65a,0x506,0x4fc,0x5f3)]},_0x1803c9=_0x12ab53===_0x3a48cd(_0x3a865f._0xfe0976,0x511,_0x3a865f._0x5971af,_0x3a865f._0x2664bf)?await countTextLines(_0x2b3f4a,_0x5231ee[_0x3a48cd(0x723,0x81f,0x66a,_0x3a865f._0x398867)]):void 0x0;if(_0x1803c9!==void 0x0)_0x230762[_0x52976d(-0x5b,-_0x3a865f._0x2f3daa,-0x2d,0xe8)]=_0x1803c9;_0x408cd7[_0x52976d(-_0x3a865f._0x3af0e4,-0x131,-_0x3a865f._0x22aaad,-0x22c)](_0x230762);}function _0x52976d(_0x248109,_0xce4e33,_0x2d56b2,_0x2a4826){return _0xf79c9e(_0xce4e33- -0x3e1,_0x248109,_0x2d56b2-_0x374b9a._0x3dc61c,_0x2a4826-_0x374b9a._0x392f0f);}_0x408cd7['sort']((_0x1a423d,_0x59b3c3)=>_0x1a423d[_0x3a48cd(0x4d0,0x5ff,0x2fb,0x487)]['localeCompare'](_0x59b3c3[_0x3a48cd(0x4d0,0x337,0x4ae,0x68f)]));const _0x390c14={'path':_0x43d466,'total':_0x408cd7[_0x52976d(0x2e1,0x14b,_0x3a865f._0x5cd299,_0x3a865f._0x37f741)],'truncated':_0xcb9212[_0x3a48cd(_0x3a865f._0x3b512d,_0x3a865f._0x502bfa,0x8d9,_0x3a865f._0x39f050)]>_0xfefc0f,'entries':_0x408cd7};yield createToolOutput(_0x591317[_0x52976d(-0x4,0xc0,-_0x3a865f._0x14a6a8,0x234)](_0x390c14,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x43d466,'total':_0x408cd7['length'],'truncated':_0xcb9212[_0x52976d(0x104,_0x3a865f._0xe695ac,_0x3a865f._0x2aaf15,0x2a4)]>_0xfefc0f,'limit':_0xfefc0f,'entries':_0x408cd7});function _0x3a48cd(_0x396bb6,_0x68b832,_0x5f5a9f,_0x11c206){return _0xf79c9e(_0x396bb6-_0x2f030b._0x37f208,_0x11c206,_0x5f5a9f-_0x2f030b._0x7df027,_0x11c206-0x2c);}return void 0x0;}});}import{readFile as _0x2cb3b9,stat as _0x798f27}from'fs/promises';import*as _0x1d4943 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x47b891(0x339,0x3b5,0x206,0x27a),_0xe18bb0(-0x63,-0xa4,0xeb,-0x78),_0xe18bb0(0x93,0x15d,0x367,0x2a5),'original']),PNG_SIGNATURE=Buffer[_0xe18bb0(0x1c,-0xb7,-0x2ac,-0x17)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x1d7470,_0x475244){const _0x175068={_0x2e73df:0x53,_0xd76d27:0x1af,_0x2035ad:0x6,_0x11aa6b:0x174,_0x5eaf5a:0x172,_0x3d84d3:0x39,_0x40f9bd:0x310,_0x36082f:0x1c9,_0x2375b7:0x42c,_0x534b15:0x5cb,_0x1b66c1:0x3fb,_0xd36343:0x2a3,_0x3df46f:0x2d8,_0x2e35d3:0x1f6,_0x297241:0x291,_0x4fd8c3:0x106,_0x465b9f:0x375,_0x24f096:0x371,_0x2dad57:0x18f,_0x42eb06:0x219,_0x5624af:0x25a,_0x3ac4db:0x2c4,_0x354620:0x38b,_0x5ed1b0:0x353,_0x5edb85:0x359,_0x9e91c8:0x489,_0xa2df74:0x1d3,_0x2a165f:0x6e,_0xc61c23:0x1ad,_0xec637d:0x1e6,_0x2bbd70:0xae,_0x145773:0x26c,_0x222dcd:0x28f,_0x397592:0x197,_0x1fb3e9:0x286,_0x159035:0x193,_0x559ee1:0x2c4},_0x48d3cd={_0x5c3495:0xbc},_0x5cea19={_0x3f9f73:0x517,_0x47cea1:0xdf,_0x64f2b3:0x1a0};if(_0x1d7470[_0x34b428(-_0x175068._0x2e73df,-_0x175068._0xd76d27,-_0x175068._0x2035ad,-_0x175068._0x11aa6b)](0x0,0x8)[_0x34b428(0x2d3,_0x175068._0x5eaf5a,0x294,0x8e)](PNG_SIGNATURE))return _0x296cd4(0x2ad,_0x175068._0x3d84d3,0x2fb,0x1ad);if(_0x1d7470[0x0]===0xff&&_0x1d7470[0x1]===0xd8&&_0x1d7470[0x2]===0xff)return _0x34b428(_0x175068._0x40f9bd,0x159,_0x175068._0x36082f,0x1ec);function _0x296cd4(_0x1e06a3,_0x57d9b0,_0x4d915e,_0x4c3ff5){return _0x47b891(_0x57d9b0,_0x4c3ff5- -_0x5cea19._0x3f9f73,_0x4d915e-_0x5cea19._0x47cea1,_0x4c3ff5-_0x5cea19._0x64f2b3);}const _0x4e3a81=_0x1d7470['subarray'](0x0,0x6)[_0x34b428(_0x175068._0x2375b7,_0x175068._0x534b15,_0x175068._0x1b66c1,_0x175068._0xd36343)](_0x296cd4(0xa4,-_0x175068._0x3df46f,-_0x175068._0x2e35d3,-0x135));if(_0x4e3a81==='GIF87a'||_0x4e3a81===_0x296cd4(_0x175068._0x297241,0x2ef,0x87,_0x175068._0x4fd8c3))return _0x34b428(0x2d0,0x312,_0x175068._0x465b9f,0x3c5);if(_0x1d7470['subarray'](0x0,0x4)['toString']('ascii')===_0x34b428(-0x81,0x1fa,0x37,-0x177)&&_0x1d7470[_0x296cd4(-_0x175068._0x24f096,-0x14f,0x29,-_0x175068._0x2dad57)](0x8,0xc)[_0x296cd4(0x2ce,0x18c,_0x175068._0x42eb06,0x272)](_0x34b428(0x60,0xb4,0x54,0x132))===_0x34b428(_0x175068._0x5624af,-0x31,0x1d7,0x11c))return _0x34b428(0x425,0x355,_0x175068._0x3ac4db,_0x175068._0x354620);const _0x27c13d=_0x1d4943['extname'](_0x475244)[_0x34b428(0x355,0x359,0x2f1,0x1fa)]();if(_0x27c13d===_0x34b428(0x411,_0x175068._0x5ed1b0,_0x175068._0x5edb85,_0x175068._0x9e91c8))return _0x296cd4(_0x175068._0xa2df74,_0x175068._0x2a165f,0x34c,_0x175068._0xc61c23);if(_0x27c13d===_0x296cd4(-0x1e3,-_0x175068._0xec637d,0x162,-_0x175068._0x2bbd70)||_0x27c13d===_0x296cd4(-0x280,-_0x175068._0x145773,-_0x175068._0x222dcd,-0x89))return'image/jpeg';if(_0x27c13d===_0x34b428(_0x175068._0x397592,_0x175068._0x1fb3e9,0x398,0x39f))return'image/gif';if(_0x27c13d==='.webp')return _0x34b428(0x1ce,_0x175068._0x159035,_0x175068._0x559ee1,0x404);function _0x34b428(_0x241941,_0x539917,_0x5b0c5e,_0x411ffa){return _0xe18bb0(_0x411ffa,_0x5b0c5e-0x103,_0x5b0c5e-_0x48d3cd._0x5c3495,_0x411ffa-0xa7);}return void 0x0;}function normalizeDetail(_0x315aad){const _0x57c7e4={_0xb9b381:0xac5,_0x9e7296:0x885,_0x33715a:0x904,_0x7efe57:0x690,_0x186555:0x646,_0x4b4c6c:0xa21,_0x2221d2:0x99a,_0xdfca9b:0x673},_0x49151a={_0x201338:0x1b0},_0x45bcee={_0x580505:0x4aa};if(_0x315aad===void 0x0)return void 0x0;const _0x229c95=_0x315aad[_0x2b6351(_0x57c7e4._0xb9b381,_0x57c7e4._0x9e7296,0xaa7,_0x57c7e4._0x33715a)]()[_0x2b6351(_0x57c7e4._0x7efe57,0x73c,_0x57c7e4._0x186555,0x7fe)]();function _0x20ce86(_0x29b75e,_0x4f955d,_0x5bbd68,_0xdfef9e){return _0x47b891(_0x4f955d,_0xdfef9e- -_0x45bcee._0x580505,_0x5bbd68-0x5e,_0xdfef9e-0x165);}if(!SUPPORTED_DETAILS[_0x2b6351(_0x57c7e4._0x4b4c6c,0x748,_0x57c7e4._0x2221d2,0x87d)](_0x229c95))throw new ToolExecutionError(_0x2b6351(0x6d9,0x7f2,0x7e7,_0x57c7e4._0xdfca9b)+_0x315aad,{'detail':_0x315aad});function _0x2b6351(_0x5915e9,_0x5257c3,_0x4fe2ea,_0x9197c3){return _0xe18bb0(_0x5257c3,_0x9197c3-0x610,_0x4fe2ea-0x12a,_0x9197c3-_0x49151a._0x201338);}return _0x229c95;}function createViewFileTool(_0x2e2c80={}){const _0x241120={_0x461232:0x42,_0x3e88e9:0x1b3,_0x5696cb:0x224,_0x24b2fc:0x40c,_0x4af428:0x202,_0x521200:0x2be,_0x1a7969:0x359,_0x31fbef:0x39f,_0x17f8bf:0x41a,_0x54f1c3:0x484,_0x21ec42:0x517,_0x43d4bd:0x3fa,_0x44497a:0x2b7,_0x979bb8:0x5f9,_0x559fbb:0x6fe,_0x537dce:0x61c,_0x47939c:0x2a9,_0x16759c:0x4cc,_0x2382d0:0x632,_0x138f68:0x6d2,_0x5d7a35:0x6c1,_0x17a15e:0x5ac},_0x61667a={_0x8fd0be:0x86c,_0x46679a:0x83e,_0x4bdffc:0x7a4,_0xacefe8:0x73f,_0x3285a3:0x703,_0x83f755:0x782,_0x2951d9:0x6d1,_0x1d51d2:0x645,_0x302d1c:0x8a3,_0x43cdba:0x818,_0x9fc002:0x750,_0x5ca537:0x6ab,_0x4b004f:0x5eb,_0x105d97:0x545,_0x545b96:0x593,_0x278ee8:0x723,_0x17f136:0x72d,_0x199913:0x6d6,_0x5d10dc:0x8f1,_0x16d496:0xa37,_0x41bbb6:0x5b2,_0xbdbb23:0x5d6,_0x2987b0:0x48e,_0x5c41fb:0x3d3,_0x4dba98:0x5b1,_0x141cd7:0x5cf,_0xf14aa9:0x7f1,_0x2f22d2:0x442,_0x4f09e6:0x7e2,_0x1da7a0:0x8ae,_0x309fc1:0xa76,_0x5f2324:0x4ac,_0x14f46a:0x60e,_0x12d698:0x7ef,_0x3796a2:0x750,_0x6a235:0x782,_0x57497e:0x8b4,_0x44d070:0x902,_0x552747:0x8a5,_0x3972ed:0x6f7,_0x4e7f38:0x5ac,_0x2f54f9:0x62a,_0x232d2c:0x677,_0x4e3d40:0xa89,_0x3fde4f:0x93f,_0x13bd85:0x925,_0x2ceef0:0x5f5,_0x288046:0x525,_0x22d3a4:0x834,_0x30c052:0x906,_0x4d847b:0x764,_0x16c00c:0x68e,_0x29a092:0x736,_0xce2a9c:0x62f,_0x1dd559:0x55d},_0x18e3a7={_0x194398:0xae},_0x48d2f9={_0x32b268:0x1d},_0x638006=_0x1d4943[_0x5a4164(-_0x241120._0x461232,-0x118,_0x241120._0x3e88e9,-_0x241120._0x5696cb)](_0x2e2c80[_0x176231(0x57a,0x490,_0x241120._0x24b2fc,0x3b7)]??process[_0x176231(_0x241120._0x4af428,_0x241120._0x521200,0x298,_0x241120._0x1a7969)]()),_0x1a6249=_0x2e2c80[_0x176231(_0x241120._0x31fbef,0x39f,_0x241120._0x17f8bf,_0x241120._0x54f1c3)]??[],_0x25d845=_0x2e2c80['maxBytes']??DEFAULT_MAX_BYTES,_0x3944d6=_0x2e2c80[_0x176231(_0x241120._0x21ec42,_0x241120._0x43d4bd,_0x241120._0x44497a,0x339)]??_0x176231(_0x241120._0x979bb8,_0x241120._0x559fbb,0x4db,_0x241120._0x537dce);function _0x5a4164(_0x5f0210,_0x49dcda,_0x538084,_0x129528){return _0xe18bb0(_0x538084,_0x5f0210-_0x48d2f9._0x32b268,_0x538084-0xe4,_0x129528-0x18c);}function _0x176231(_0x30b741,_0x39d006,_0x322452,_0x195984){return _0x47b891(_0x30b741,_0x195984- -_0x18e3a7._0x194398,_0x322452-0xd7,_0x195984-0x1c4);}return defineTool({'name':_0x3944d6,'permissionClass':_0x5a4164(0x274,_0x241120._0x47939c,0x452,0x22d),'description':_0x176231(0x424,0x609,0x5dc,_0x241120._0x16759c),'inputSchema':{'type':_0x176231(0x602,0x61f,0x4ce,_0x241120._0x2382d0),'properties':{'path':{'type':'string'},'detail':{'type':'string'}},'required':[_0x176231(_0x241120._0x138f68,_0x241120._0x5d7a35,_0x241120._0x17a15e,0x55a)]},async *'execute'(_0x17f546){const _0x28037d={_0x546252:0x98},_0x182040={_0x33996c:0x15a,_0x5447ff:0xeb},_0x16d4cc=resolveAllowedPath(_0x638006,_0x1a6249,_0x17f546[_0x5de474(_0x61667a._0x8fd0be,_0x61667a._0x46679a,_0x61667a._0x4bdffc,0x891)]);function _0x1f789e(_0x5a34eb,_0x5a66e4,_0x3782a4,_0x5dd0ff){return _0x5a4164(_0x3782a4-0x5bc,_0x5a66e4-_0x182040._0x33996c,_0x5dd0ff,_0x5dd0ff-_0x182040._0x5447ff);}await assertWorkspaceFile(_0x16d4cc);const _0xa22d3f=await _0x798f27(_0x16d4cc);if(_0xa22d3f[_0x1f789e(_0x61667a._0xacefe8,_0x61667a._0x3285a3,_0x61667a._0x83f755,0x992)]>_0x25d845)throw new ToolExecutionError(_0x5de474(0x4c0,_0x61667a._0x2951d9,_0x61667a._0x1d51d2,0x67c)+_0x17f546[_0x1f789e(_0x61667a._0x302d1c,_0x61667a._0x43cdba,_0x61667a._0x9fc002,_0x61667a._0x5ca537)],{'path':_0x17f546[_0x1f789e(_0x61667a._0x4b004f,_0x61667a._0x105d97,_0x61667a._0x9fc002,_0x61667a._0x545b96)],'maxBytes':_0x25d845,'size':_0xa22d3f['size']});const _0x3d5ab0=await _0x2cb3b9(_0x16d4cc),_0x37d81c=detectImageMediaType(_0x3d5ab0,_0x16d4cc);function _0x5de474(_0x3fe218,_0x3da63c,_0x40b58a,_0x585e6c){return _0x5a4164(_0x40b58a-0x610,_0x3da63c-0x10,_0x585e6c,_0x585e6c-_0x28037d._0x546252);}if(!_0x37d81c)throw new ToolExecutionError(_0x5de474(0x73e,0x63c,_0x61667a._0x278ee8,0x8b8)+_0x17f546['path'],{'path':_0x17f546[_0x1f789e(_0x61667a._0x17f136,0x5d4,_0x61667a._0x9fc002,_0x61667a._0x199913)],'supported':[_0x5de474(_0x61667a._0x5d10dc,_0x61667a._0x16d496,0x8c2,0x9d5),_0x1f789e(0x41c,_0x61667a._0x41bbb6,_0x61667a._0xbdbb23,_0x61667a._0x2987b0),_0x1f789e(_0x61667a._0x5c41fb,0x5bc,_0x61667a._0x4dba98,_0x61667a._0x141cd7),_0x1f789e(0x9ac,_0x61667a._0xf14aa9,0x82f,0x86b),_0x1f789e(_0x61667a._0x2f22d2,0x4b3,0x5ea,0x449)]});const _0x26c73e=normalizeDetail(_0x17f546[_0x5de474(_0x61667a._0x4f09e6,0x6fc,_0x61667a._0x1da7a0,_0x61667a._0x309fc1)]),_0xa4924f=[_0x1f789e(0x714,_0x61667a._0x5f2324,0x622,_0x61667a._0x14f46a)+_0x17f546[_0x1f789e(0x899,_0x61667a._0x12d698,_0x61667a._0x3796a2,0x692)],'MIME:\x20'+_0x37d81c,'Size:\x20'+_0xa22d3f[_0x1f789e(0x8f5,0x61b,_0x61667a._0x6a235,0x984)]+_0x5de474(_0x61667a._0x57497e,0x6cd,0x7d0,0x876)][_0x1f789e(_0x61667a._0x44d070,0x9e4,_0x61667a._0x552747,0x699)](_0x26c73e?['Detail:\x20'+_0x26c73e]:[])[_0x5de474(_0x61667a._0x3972ed,_0x61667a._0x4e7f38,0x70f,0x7fa)]('\x0a'),_0x3fb8f5=[{'type':'image','source':{'type':_0x5de474(_0x61667a._0x2f54f9,_0x61667a._0x232d2c,0x649,0x568),'media_type':_0x37d81c,'data':_0x3d5ab0[_0x5de474(_0x61667a._0x4e3d40,_0x61667a._0x3fde4f,_0x61667a._0x13bd85,0x85f)](_0x1f789e(_0x61667a._0x14f46a,0x644,_0x61667a._0x2ceef0,0x505))}},{'type':'text','text':_0xa4924f}];return yield createToolOutput(_0xa4924f,{'path':_0x17f546['path'],'resolvedPath':_0x16d4cc,'created':_0xa22d3f[_0x5de474(0x671,_0x61667a._0x288046,0x5e0,0x4ab)]['toISOString'](),'modified':_0xa22d3f[_0x5de474(_0x61667a._0x22d3a4,0x83f,_0x61667a._0x30c052,0x80e)][_0x1f789e(0x7c1,_0x61667a._0x4d847b,_0x61667a._0x16c00c,0x4aa)](),'size':_0xa22d3f[_0x1f789e(_0x61667a._0x29a092,0x947,0x782,0x707)],'mimeType':_0x37d81c,'encoding':_0x1f789e(_0x61667a._0xce2a9c,_0x61667a._0x1dd559,0x5f5,0x530),..._0x26c73e?{'detail':_0x26c73e}:{}},_0x3fb8f5),void 0x0;}});}function createQuestionId(){const _0x126bdf={_0x3b9394:0x1bb,_0x580bea:0x4ba,_0xb7dfac:0x1b1,_0x1d56c2:0x6b1,_0x9b4463:0x430,_0x155be3:0x258,_0x45be62:0x566,_0x1ecf11:0x6bc,_0x569580:0x95e,_0x4d90b3:0x2ec,_0x425ce9:0x29b},_0x5d1fbb={_0x4308f6:0x19b,_0xf7ffde:0x32},_0x3dd401={_0x45ee06:0x6,_0xda3893:0x5e};function _0x2afd9b(_0x31c99e,_0x731c45,_0x4daf3a,_0x3ca2af){return _0x47b891(_0x3ca2af,_0x31c99e-_0x3dd401._0x45ee06,_0x4daf3a-_0x3dd401._0xda3893,_0x3ca2af-0x14c);}function _0x11f8ee(_0x401c91,_0x423524,_0x5862fa,_0x5b455a){return _0x47b891(_0x423524,_0x5862fa- -_0x5d1fbb._0x4308f6,_0x5862fa-0xee,_0x5b455a-_0x5d1fbb._0xf7ffde);}return _0x2afd9b(0x388,_0x126bdf._0x3b9394,_0x126bdf._0x580bea,_0x126bdf._0xb7dfac)+Date[_0x2afd9b(0x516,_0x126bdf._0x1d56c2,0x326,0x453)]()+'-'+Math[_0x2afd9b(_0x126bdf._0x9b4463,_0x126bdf._0x155be3,_0x126bdf._0x45be62,0x606)]()[_0x2afd9b(0x78f,_0x126bdf._0x1ecf11,_0x126bdf._0x569580,0x924)](0x24)[_0x11f8ee(_0x126bdf._0x4d90b3,0x2f5,0x206,_0x126bdf._0x425ce9)](0x2,0x9);}function validateInput(_0xa5fba7){const _0x3bbf37={_0x550b2e:0x1dd,_0x19ba96:0x283,_0x38b202:0x2ce,_0x372a57:0x1f8,_0xa01cb5:0x22a,_0x1b126f:0xc7,_0x33f862:0x16e,_0x1d2d1b:0x299,_0x6bc125:0x358,_0x2274c4:0x39e,_0x3ef6d4:0x404,_0x28faaf:0x550,_0x315f84:0x12f,_0x263c39:0x1b2,_0x1b7575:0x9b,_0xab2766:0xcc,_0x3813cd:0x169,_0x779377:0x1d7,_0x4e8745:0x22a,_0x32ceb0:0x234,_0x369e07:0x59,_0x259f06:0xaf,_0x5e271f:0x509,_0x55b5c0:0x22c,_0xe4492:0x171,_0x16a97b:0x352,_0x3064b0:0x48e,_0x6446c4:0x3da,_0x540452:0x3f,_0x2392d6:0x177,_0x2694e5:0x308,_0x3e9ca2:0x1d7,_0x46b9a2:0x530,_0x116c4d:0x249,_0x2cdb61:0x1fb,_0x4afe44:0x306,_0x15e7d3:0x44a,_0x24a892:0x2e7,_0x3701f5:0x333,_0x577a3c:0x31d,_0xfca9e8:0x33b,_0x3a01c0:0x4d1,_0x368610:0x321,_0x175849:0x17a,_0x55b9d0:0x11,_0x5327fc:0xf,_0x4ad236:0x101,_0x310023:0x2ab,_0x325daf:0x350,_0xa9ad98:0x29f,_0x4ace23:0x356,_0x1f4b65:0x2f0,_0x480e5c:0x12f,_0x2444de:0x3aa,_0x53f9d9:0x120,_0x56cce8:0x31c,_0x4603d5:0x183,_0x58bf48:0x24c,_0xc03f3:0x10f,_0x4bd837:0xc6,_0x3f7997:0x125,_0x2a31db:0x60f,_0x166698:0x401},_0x9c8f3d={_0x277693:0x29a,_0x2fef79:0x3d},_0x2cf2c6={_0x4b70f4:0xa6,_0x225639:0x13c};function _0xbadbaf(_0x5da53e,_0x40e8d7,_0x13e119,_0x6de1a9){return _0xe18bb0(_0x40e8d7,_0x6de1a9- -_0x2cf2c6._0x4b70f4,_0x13e119-_0x2cf2c6._0x225639,_0x6de1a9-0x114);}function _0x2d9d35(_0x57d531,_0x1a5881,_0x4d08f5,_0x45c73d){return _0x47b891(_0x4d08f5,_0x57d531- -_0x9c8f3d._0x277693,_0x4d08f5-0x12b,_0x45c73d-_0x9c8f3d._0x2fef79);}if(!Array[_0xbadbaf(-0x1aa,-0x8,-_0x3bbf37._0x550b2e,0xa)](_0xa5fba7[_0x2d9d35(0x16e,_0x3bbf37._0x19ba96,_0x3bbf37._0x38b202,_0x3bbf37._0x372a57)])||_0xa5fba7[_0x2d9d35(0x16e,_0x3bbf37._0xa01cb5,_0x3bbf37._0x1b126f,-0x85)]['length']<0x1||_0xa5fba7[_0x2d9d35(_0x3bbf37._0x33f862,_0x3bbf37._0x1d2d1b,_0x3bbf37._0x6bc125,0x1c3)][_0x2d9d35(_0x3bbf37._0x2274c4,_0x3bbf37._0x3ef6d4,0x350,_0x3bbf37._0x28faaf)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':'invalid_questions'});for(let _0x5a0d81=0x0;_0x5a0d81<_0xa5fba7[_0xbadbaf(0x8a,-0x1af,-0x2b1,-_0x3bbf37._0x315f84)]['length'];_0x5a0d81+=0x1){const _0x2b710d=_0xa5fba7['questions'][_0x5a0d81];if(!_0x2b710d['question']||typeof _0x2b710d[_0xbadbaf(-0x1db,-_0x3bbf37._0x263c39,_0x3bbf37._0x1b7575,-_0x3bbf37._0xab2766)]!==_0x2d9d35(0x31d,_0x3bbf37._0x3813cd,_0x3bbf37._0x779377,0x316))throw new ToolExecutionError(_0xbadbaf(0x325,_0x3bbf37._0x4e8745,0x3af,_0x3bbf37._0x32ceb0)+(_0x5a0d81+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x2b710d['topic']||typeof _0x2b710d[_0xbadbaf(0xa6,_0x3bbf37._0x369e07,0x284,_0x3bbf37._0x259f06)]!==_0x2d9d35(0x31d,_0x3bbf37._0x5e271f,_0x3bbf37._0x55b5c0,_0x3bbf37._0xe4492))throw new ToolExecutionError(_0x2d9d35(0x4d1,_0x3bbf37._0x16a97b,_0x3bbf37._0x3064b0,_0x3bbf37._0x6446c4)+(_0x5a0d81+0x1)+_0xbadbaf(-0x184,_0x3bbf37._0x540452,-0xc0,-_0x3bbf37._0x2392d6));if(_0x2b710d[_0xbadbaf(0xe1,-0x148,0xf5,0xaf)]['length']>0x1e)throw new ToolExecutionError('Question\x20'+(_0x5a0d81+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x2b710d[_0x2d9d35(0x34c,0x429,_0x3bbf37._0x2694e5,_0x3bbf37._0x3e9ca2)][_0x2d9d35(_0x3bbf37._0x2274c4,_0x3bbf37._0x46b9a2,0x4ba,0x1ff)]);if(!Array['isArray'](_0x2b710d[_0x2d9d35(_0x3bbf37._0x116c4d,0x2b3,_0x3bbf37._0x2cdb61,_0x3bbf37._0x4afe44)])||_0x2b710d[_0x2d9d35(_0x3bbf37._0x116c4d,_0x3bbf37._0x15e7d3,0x392,0x1d9)]['length']<0x2||_0x2b710d[_0x2d9d35(0x249,0x6a,_0x3bbf37._0x24a892,_0x3bbf37._0x3701f5)][_0x2d9d35(0x39e,_0x3bbf37._0x577a3c,_0x3bbf37._0xfca9e8,0x45c)]>0x4)throw new ToolExecutionError(_0x2d9d35(_0x3bbf37._0x3a01c0,0x6b2,0x5e2,_0x3bbf37._0x368610)+(_0x5a0d81+0x1)+_0x2d9d35(0x14b,_0x3bbf37._0x175849,-0x32,_0x3bbf37._0x55b9d0));for(let _0x59aa7c=0x0;_0x59aa7c<_0x2b710d['options'][_0xbadbaf(-_0x3bbf37._0x5327fc,0x30f,-0xaa,_0x3bbf37._0x4ad236)];_0x59aa7c+=0x1){const _0x181d8c=_0x2b710d['options'][_0x59aa7c];if(!_0x181d8c[_0x2d9d35(_0x3bbf37._0x310023,_0x3bbf37._0x325daf,0x1f5,_0x3bbf37._0xa9ad98)]||!_0x181d8c['description'])throw new ToolExecutionError(_0xbadbaf(_0x3bbf37._0x4ace23,_0x3bbf37._0x1f4b65,0x15a,_0x3bbf37._0x32ceb0)+(_0x5a0d81+0x1)+_0x2d9d35(0x216,_0x3bbf37._0x480e5c,_0x3bbf37._0x2444de,0x2d0)+(_0x59aa7c+0x1)+_0xbadbaf(0x5e,_0x3bbf37._0x53f9d9,_0x3bbf37._0x56cce8,_0x3bbf37._0x4603d5));}if(typeof _0x2b710d[_0xbadbaf(_0x3bbf37._0x58bf48,_0x3bbf37._0xc03f3,_0x3bbf37._0x4bd837,_0x3bbf37._0x3f7997)]!==_0x2d9d35(0x4aa,_0x3bbf37._0x2a31db,_0x3bbf37._0x166698,0x4de))throw new ToolExecutionError('Question\x20'+(_0x5a0d81+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x2875a7){const _0x1eb6fb={_0x13c23c:0x6c3,_0x173bd0:0x522,_0x40a72b:0x593},_0x103fb1={_0x17e70d:0xc2,_0x3ba71b:0x121},_0x437da2={_0x29c04e:0x34};function _0x519a08(_0x350ea7,_0x1ad6ba,_0x37ac6c,_0x25988d){return _0xe18bb0(_0x37ac6c,_0x1ad6ba-0x2a0,_0x37ac6c-_0x437da2._0x29c04e,_0x25988d-0x1d0);}function _0x36be4d(_0x7560ff,_0x13edc0,_0x295cc8,_0x52add7){return _0x47b891(_0x13edc0,_0x7560ff-_0x103fb1._0x17e70d,_0x295cc8-0x109,_0x52add7-_0x103fb1._0x3ba71b);}return _0x2875a7['questions'][_0x36be4d(_0x1eb6fb._0x13c23c,0x7d3,_0x1eb6fb._0x173bd0,_0x1eb6fb._0x40a72b)]((_0x1090fb,_0x3ba24a)=>({'id':'q'+_0x3ba24a,'question':_0x1090fb[_0x36be4d(0x52d,0x712,0x491,0x60b)],'topic':_0x1090fb[_0x519a08(0x54e,0x3f5,0x2e5,0x2e0)],'options':_0x1090fb[_0x36be4d(0x5a5,0x617,0x56d,0x6d0)],'multiSelect':_0x1090fb['multiSelect']}));}function createResult(_0x408585,_0x462f3b,_0x41c17e){const _0x3bb768={_0x313414:0x975,_0x1fb895:0x15f,_0x593097:0x43,_0x1b50ba:0x1d6,_0x495b59:0x352},_0x2ba5da={_0x24b76e:0x43,_0x57ee6d:0x105,_0x23a2ed:0xac};function _0x3c3691(_0x526dfe,_0x72459a,_0x424d81,_0xab95f2){return _0xe18bb0(_0x424d81,_0x526dfe-_0x2ba5da._0x24b76e,_0x424d81-_0x2ba5da._0x57ee6d,_0xab95f2-_0x2ba5da._0x23a2ed);}const _0x2c764d={'questionId':_0x408585,'questionCount':_0x462f3b,'answers':_0x41c17e};function _0x3d157a(_0x2d8124,_0x37e2ae,_0x5d887b,_0x497d60){return _0xe18bb0(_0x497d60,_0x2d8124-0x653,_0x5d887b-0x5f,_0x497d60-0x170);}return createToolOutput(_0x3d157a(0x7ef,_0x3bb768._0x313414,0x87e,0x78d)+JSON[_0x3c3691(_0x3bb768._0x1fb895,_0x3bb768._0x593097,_0x3bb768._0x1b50ba,_0x3bb768._0x495b59)](_0x41c17e,null,0x2),_0x2c764d);}function createAskUserTool(){const _0x44c621={_0x2558ef:0x3a,_0x42c80a:0x241,_0x476846:0x209,_0x32d05f:0x6b3,_0x580e0b:0x7c5,_0x5e36e7:0x5b0,_0x1a2600:0x4d8,_0x102730:0x6ab,_0xc159c8:0x5a8,_0x27ac3e:0x113,_0x4b5830:0x2b6,_0x3e7a75:0x85,_0x316cab:0x757,_0x16b886:0x523,_0x22280c:0x6c7,_0x283e56:0x582,_0x4a13bf:0x664,_0x4b1836:0xdc,_0x2c69bd:0x115,_0x3bda8c:0x4c,_0x32c313:0x2df,_0x2c1646:0x2a0,_0x307500:0x2f9,_0x5ca30f:0x436,_0x5f0cd3:0x605,_0x59f649:0x6c9,_0x30a781:0x1b8,_0x32faea:0x34f,_0x58d2d2:0x48,_0x470969:0x640,_0x485f94:0x7ab},_0x461fa1={_0x9cfb95:0x1b1,_0x4c7c93:0xb6,_0x4b54b6:0x1c1,_0x231471:0x2cf,_0x513217:0x33f,_0x14a74d:0x46e,_0x87316d:0x6c1,_0x5d183f:0x3ea,_0x2d65a0:0x181,_0x35a303:0x109,_0x18c73e:0x258,_0x21619a:0x1c9,_0x1d8306:0x394,_0x4aa7ea:0x38a},_0x5109bc={_0x2d1080:0x35,_0x2675e6:0xb9},_0x36e330={_0x535ec0:0x139,_0x26c5c4:0x109};function _0x3db73e(_0x1c7b91,_0x4306f3,_0x49a6bf,_0x53ab62){return _0xe18bb0(_0x4306f3,_0x1c7b91- -0x13,_0x49a6bf-_0x36e330._0x535ec0,_0x53ab62-_0x36e330._0x26c5c4);}function _0x446811(_0x35e03d,_0x3f4d29,_0x4ac6da,_0x7f3144){return _0x47b891(_0x4ac6da,_0x3f4d29- -_0x5109bc._0x2d1080,_0x4ac6da-0x10a,_0x7f3144-_0x5109bc._0x2675e6);}return defineTool({'name':_0x3db73e(0x33,_0x44c621._0x2558ef,_0x44c621._0x42c80a,_0x44c621._0x476846),'permissionClass':_0x446811(0x5c9,_0x44c621._0x32d05f,_0x44c621._0x580e0b,_0x44c621._0x5e36e7),'description':_0x446811(0x78d,0x5e7,_0x44c621._0x1a2600,0x428),'inputSchema':{'type':_0x446811(0x4d0,_0x44c621._0x102730,0x583,0x84e),'properties':{'questions':{'type':_0x446811(0x63c,0x58f,_0x44c621._0xc159c8,0x5ab),'items':{'type':'object','properties':{'question':{'type':_0x3db73e(_0x44c621._0x27ac3e,0x231,_0x44c621._0x4b5830,_0x44c621._0x3e7a75)},'topic':{'type':_0x446811(0x4f3,0x582,0x381,_0x44c621._0x316cab)},'options':{'type':'array','items':{'type':_0x446811(_0x44c621._0x16b886,0x6ab,0x62e,_0x44c621._0x22280c),'properties':{'label':{'type':'string'},'description':{'type':_0x446811(0x4d5,_0x44c621._0x283e56,_0x44c621._0x4a13bf,0x390)}},'required':[_0x3db73e(0xa1,-_0x44c621._0x4b1836,0x17e,-0xf1),_0x3db73e(-_0x44c621._0x2c69bd,_0x44c621._0x3bda8c,0xf0,-_0x44c621._0x32c313)]}},'multiSelect':{'type':_0x3db73e(_0x44c621._0x2c1646,0x40d,_0x44c621._0x307500,0x44e)}},'required':[_0x446811(0x2ae,_0x44c621._0x5ca30f,0x236,0x5f4),_0x446811(0x650,0x5b1,_0x44c621._0x5f0cd3,_0x44c621._0x59f649),'options',_0x3db73e(_0x44c621._0x30a781,0x4c,_0x44c621._0x32faea,-_0x44c621._0x58d2d2)]}},'answers':{'type':_0x446811(0x8a2,_0x44c621._0x102730,_0x44c621._0x470969,_0x44c621._0x485f94),'properties':{}}},'required':['questions']},async *'execute'(_0x3d12af,_0x513fd9){const _0x2d1999={_0x5553f8:0x482},_0x1b5edc={_0x4ba728:0x30,_0x117198:0x17b};function _0x598e23(_0x3e0985,_0x10c69b,_0x3089d6,_0x5977bd){return _0x446811(_0x3e0985-_0x1b5edc._0x4ba728,_0x10c69b- -_0x1b5edc._0x117198,_0x3e0985,_0x5977bd-0xb7);}function _0x495d01(_0x44d48b,_0x159e08,_0x22aefd,_0x519f14){return _0x446811(_0x44d48b-0x13d,_0x159e08- -_0x2d1999._0x5553f8,_0x519f14,_0x519f14-0x1b0);}const _0x505bef=_0x3d12af;validateInput(_0x505bef);const _0x4a2242=_0x513fd9[_0x598e23(0x3fb,0x40a,0x54d,0x2d9)]??createQuestionId();if(_0x505bef[_0x495d01(_0x461fa1._0x9cfb95,0x1cf,_0x461fa1._0x4c7c93,0x320)]&&Object[_0x598e23(_0x461fa1._0x4b54b6,_0x461fa1._0x231471,_0x461fa1._0x513217,0x467)](_0x505bef[_0x598e23(_0x461fa1._0x14a74d,0x4d6,_0x461fa1._0x87316d,_0x461fa1._0x5d183f)])[_0x495d01(0x251,_0x461fa1._0x2d65a0,0x8e,_0x461fa1._0x35a303)]>0x0)return createResult(_0x4a2242,_0x505bef[_0x598e23(0x20e,_0x461fa1._0x18c73e,0x273,0x2de)]['length'],_0x505bef['answers']);if(!_0x513fd9['askUser'])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');const _0x909b4f=buildQuestions(_0x505bef),_0x26957d=await _0x513fd9[_0x495d01(0x3bd,_0x461fa1._0x21619a,-0x3e,_0x461fa1._0x1d8306)]({'questionId':_0x4a2242,'questions':_0x909b4f});yield createResult(_0x4a2242,_0x505bef['questions'][_0x598e23(0x307,0x488,0x2fe,_0x461fa1._0x4aa7ea)],_0x26957d);}});}import{stat as _0xe80f96}from'fs/promises';import _0x212f25 from'path';import{fileURLToPath as _0x509427}from'url';function awaitWithAbort2(_0x1de58c,_0x2c749d){const _0x34a52={_0x1f9273:0x8eb,_0x2a53b6:0x75d,_0x38a50d:0x74e},_0xbd1718={_0x12e116:0x24e,_0x496bad:0x1d9,_0x3e43ab:0x21a,_0x4a081c:0x35e,_0x1a4c6d:0x381},_0x45e51f={_0x437234:0x116},_0x5ce59f={_0x787df3:0x48b};if(!_0x2c749d)return _0x1de58c;if(_0x2c749d[_0x417cb3(0x767,_0x34a52._0x1f9273,0x57e,0x72e)])return Promise['reject'](toAbortError(_0x2c749d[_0x417cb3(0x6b3,0x7cc,_0x34a52._0x2a53b6,_0x34a52._0x38a50d)]));function _0x5430c2(_0x24a330,_0xdee6dc,_0x219ad5,_0x3964de){return _0xe18bb0(_0x219ad5,_0x24a330-_0x5ce59f._0x787df3,_0x219ad5-0x178,_0x3964de-0x1a5);}function _0x417cb3(_0xb3d9c0,_0x22c911,_0x5d55c4,_0x4489d2){return _0xe18bb0(_0x5d55c4,_0x4489d2-0x446,_0x5d55c4-0x188,_0x4489d2-_0x45e51f._0x437234);}return new Promise((_0x2b7837,_0x20d1d6)=>{const _0x36ba48=()=>{_0xc9350a(),_0x20d1d6(toAbortError(_0x2c749d['reason']));},_0xc9350a=()=>_0x2c749d['removeEventListener']('abort',_0x36ba48);_0x2c749d[_0x1552d7(_0xbd1718._0x12e116,0x2d6,0x180,0x2b5)]('abort',_0x36ba48,{'once':!![]});function _0x2ba1b9(_0xf4683e,_0xae8873,_0x52417e,_0x2f1cdf){return _0x417cb3(_0xf4683e-0xed,_0xae8873-0x7e,_0xae8873,_0x52417e- -0x25e);}function _0x1552d7(_0x10315e,_0x2fad2b,_0x53f86c,_0x301401){return _0x417cb3(_0x10315e-0x3d,_0x2fad2b-0x2b,_0x10315e,_0x2fad2b- -0x407);}_0x1de58c[_0x1552d7(_0xbd1718._0x496bad,_0xbd1718._0x3e43ab,_0xbd1718._0x4a081c,_0xbd1718._0x1a4c6d)](_0x4e245f=>{_0xc9350a(),_0x2b7837(_0x4e245f);},_0x525f72=>{_0xc9350a(),_0x20d1d6(_0x525f72);});});}function severityName(_0x4402a6){const _0x562817={_0xad13b0:0x376,_0x129498:0x5f1,_0x7d1f44:0x67f,_0x4417ec:0x55a,_0x204b1d:0x70b,_0x49b9c5:0x6f5,_0x481509:0x733,_0x570945:0x883,_0x3073db:0xa1f},_0x238f9a={_0x5d8323:0xcf},_0x12b6fb={_0x488b66:0x103,_0x11255e:0xe1};function _0x468d8d(_0x2b5979,_0x311f8c,_0xe84985,_0x3b1b44){return _0x47b891(_0x3b1b44,_0x311f8c-_0x12b6fb._0x488b66,_0xe84985-0x15a,_0x3b1b44-_0x12b6fb._0x11255e);}function _0x499fcd(_0x193b9a,_0x4cb76b,_0x50884a,_0xa77d2a){return _0x47b891(_0xa77d2a,_0x50884a- -_0x238f9a._0x5d8323,_0x50884a-0x1ba,_0xa77d2a-0x10e);}switch(_0x4402a6){case 0x1:return _0x468d8d(_0x562817._0xad13b0,0x55b,_0x562817._0x129498,0x604);case 0x2:return _0x499fcd(0x3d7,_0x562817._0x7d1f44,_0x562817._0x4417ec,_0x562817._0x204b1d);case 0x3:return'Information';case 0x4:return _0x468d8d(_0x562817._0x49b9c5,_0x562817._0x481509,_0x562817._0x570945,0x8b5);default:return _0x468d8d(0x999,0x889,0x678,_0x562817._0x3073db);}}function formatSingleHover(_0x1299b6){const _0x128725={_0x4b56ff:0x993,_0x402ce0:0x7bd,_0x2d5a6c:0x82b,_0x33fe0f:0x33c,_0x9dbc58:0x504,_0x5740eb:0x4e5,_0x84a7fe:0x4bf,_0x191ff8:0x988,_0x4ba198:0x71f,_0x60ed2d:0x91d,_0xb3f40f:0x9f3,_0x6f05e:0x401,_0xcf2c00:0x364,_0x146aba:0x551,_0x48424f:0x242,_0x20b3ff:0x78a,_0x24c324:0x180,_0x1c9715:0x26b,_0x54cb02:0x401,_0x50a25b:0x534,_0x281883:0x32e},_0x16f5af={_0x21fbda:0x1c3},_0x2afa2b={_0x17dfc9:0x119};function _0x276f33(_0x31a672,_0x2daee2,_0x5a36f6,_0x29ad14){return _0x47b891(_0x29ad14,_0x5a36f6-0x206,_0x5a36f6-0x10c,_0x29ad14-_0x2afa2b._0x17dfc9);}const _0x361d8a=_0x1299b6['contents'];if(typeof _0x361d8a===_0x276f33(0x682,_0x128725._0x4b56ff,_0x128725._0x402ce0,_0x128725._0x2d5a6c))return _0x361d8a;if(Array[_0x43c635(_0x128725._0x33fe0f,0x33d,_0x128725._0x9dbc58,0x4d7)](_0x361d8a))return _0x361d8a['map'](_0x263282=>typeof _0x263282==='string'?_0x263282:_0x263282[_0x43c635(0x401,0x352,0x2da,0x20e)])[_0x43c635(_0x128725._0x5740eb,_0x128725._0x84a7fe,0x2d4,0x6f0)](Boolean)['join']('\x0a\x0a');function _0x43c635(_0x10d074,_0x536e52,_0x2cd89e,_0xa54bae){return _0x47b891(_0xa54bae,_0x10d074- -0x205,_0x2cd89e-0x47,_0xa54bae-_0x16f5af._0x21fbda);}if(_0x276f33(_0x128725._0x191ff8,_0x128725._0x4ba198,_0x128725._0x60ed2d,_0x128725._0xb3f40f)in _0x361d8a)return _0x361d8a[_0x43c635(_0x128725._0x6f05e,_0x128725._0xcf2c00,_0x128725._0x146aba,_0x128725._0x48424f)];return _0x361d8a[_0x43c635(0x547,0x623,0x6bd,0x3b8)]?_0x276f33(0x6cb,0x52e,0x5d9,_0x128725._0x20b3ff)+_0x361d8a['language']+'\x0a'+_0x361d8a['value']+_0x43c635(0x312,_0x128725._0x24c324,0x42d,_0x128725._0x1c9715):_0x361d8a[_0x43c635(_0x128725._0x54cb02,0x4a1,_0x128725._0x50a25b,_0x128725._0x281883)];}function formatHover(_0x14f6c3){const _0x255dd1={_0x4ccd18:0x688,_0x5c5af7:0x4d7,_0x569e1b:0x40a,_0x459fa2:0x3b3,_0x4223c8:0x393,_0xd9edc:0x101,_0x5f43a4:0x3ea,_0x13a8cb:0x305,_0x29b2f9:0x3e9},_0x24023b={_0x30bbdc:0xa4};function _0x3c607a(_0x4c6bad,_0x59e386,_0x208a30,_0x11b859){return _0xe18bb0(_0x208a30,_0x11b859-0x223,_0x208a30-_0x24023b._0x30bbdc,_0x11b859-0xc);}if(_0x14f6c3['length']===0x0)return _0x1e6e48(_0x255dd1._0x4ccd18,_0x255dd1._0x5c5af7,_0x255dd1._0x569e1b,0x343);function _0x1e6e48(_0x3a5ca2,_0xb0b51e,_0x770b51,_0x56d8fa){return _0xe18bb0(_0x3a5ca2,_0xb0b51e-0x4c4,_0x770b51-0x8c,_0x56d8fa-0x185);}return _0x14f6c3[_0x3c607a(_0x255dd1._0x459fa2,0x567,0x48f,_0x255dd1._0x4223c8)](formatSingleHover)[_0x3c607a(0x3b9,_0x255dd1._0xd9edc,_0x255dd1._0x5f43a4,_0x255dd1._0x13a8cb)](_0x1e6e48(0x55d,0x55a,_0x255dd1._0x29b2f9,0x6e9));}function locationPath(_0x207f9e){const _0x515cb1={_0x23cb86:0x6e3},_0x1ce3f5={_0x24063c:0xe5};if(!_0x207f9e[_0x22a91e(_0x515cb1._0x23cb86,0x87b,0x624,0x75d)]('file://'))return _0x207f9e;function _0x22a91e(_0x12a0a1,_0x2cbdad,_0x1c5b44,_0xf72c74){return _0x47b891(_0x1c5b44,_0xf72c74-_0x1ce3f5._0x24063c,_0x1c5b44-0x65,_0xf72c74-0x58);}return _0x509427(_0x207f9e);}function formatLocations(_0x4ff2a5){const _0x5135aa={_0x1c6240:0x3a9},_0x5cb20e={_0x35e502:0x73,_0x10829f:0x214,_0x757142:0xc9,_0x7e0f02:0xcd,_0x5e2391:0x1a2,_0x34c82f:0xf5,_0x5abdde:0xa5,_0x190827:0xb9,_0x2ca42b:0x129},_0x47bdad={_0x4fa1d2:0xe7};if(_0x4ff2a5['length']===0x0)return'No\x20locations\x20found';function _0x11a647(_0x41b25b,_0x4cfc2b,_0x34d54b,_0x25868d){return _0x47b891(_0x34d54b,_0x25868d- -0x2a9,_0x34d54b-0x16c,_0x25868d-0x118);}return _0x4ff2a5[_0x11a647(0x4c0,0x1a8,_0x5135aa._0x1c6240,0x358)](_0x13f34e=>{const _0x152c87={_0x492e:0xa7};function _0x309303(_0x563ec3,_0x51bd28,_0x45fa02,_0x2c2975){return _0x11a647(_0x563ec3-0x18e,_0x51bd28-0x65,_0x45fa02,_0x51bd28- -_0x152c87._0x492e);}function _0xaffbfc(_0x110c3d,_0x254333,_0x55b5c7,_0x1f6b0b){return _0x11a647(_0x110c3d-_0x47bdad._0x4fa1d2,_0x254333-0x140,_0x1f6b0b,_0x110c3d-0x21d);}const _0x3a9ee6=_0x13f34e['range'][_0x309303(0x7b,_0x5cb20e._0x35e502,0x16e,_0x5cb20e._0x10829f)];return locationPath(_0x13f34e[_0x309303(-_0x5cb20e._0x757142,_0x5cb20e._0x7e0f02,_0x5cb20e._0x5e2391,_0x5cb20e._0x34c82f)])+':'+(_0x3a9ee6[_0x309303(-_0x5cb20e._0x5abdde,_0x5cb20e._0x190827,0x14,_0x5cb20e._0x2ca42b)]+0x1)+':'+(_0x3a9ee6['character']+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x36d740){const _0x469fc1={_0x44a5cb:0x3bc,_0x1ea342:0x255,_0x5bd142:0x42b},_0x430d11={_0x19f55e:0x3,_0x2eaa57:0x4a};function _0x3ef6fe(_0x16d20d,_0x491e7e,_0x2d748c,_0x32ca64){return _0x47b891(_0x32ca64,_0x491e7e- -0x172,_0x2d748c-_0x430d11._0x19f55e,_0x32ca64-_0x430d11._0x2eaa57);}return'range'in _0x36d740&&_0x3ef6fe(_0x469fc1._0x44a5cb,_0x469fc1._0x1ea342,0x2db,_0x469fc1._0x5bd142)in _0x36d740;}function formatSymbols(_0x32b2c8){const _0xdc0c25={_0xcb396a:0x722,_0x5df4ee:0x4f0,_0x3e7e66:0x574,_0xcffb4b:0x622},_0x2daf80={_0xb5d5d3:0x307,_0x57c136:0x62e,_0xeb1423:0x5d2,_0x1f761a:0x744,_0x2a7803:0x385,_0x2f55b5:0x526,_0x3e0989:0x232,_0x9ceb46:0x1f4,_0xd95bb5:0x108,_0x29ad4e:0x110,_0x1b1586:0x363,_0x378a3e:0x374,_0x16ee54:0x108,_0x12c1f1:0x8e2,_0x3c2fad:0x45c,_0x282042:0x4bb,_0x1dee69:0x372,_0x1ad3e6:0x75d,_0x1e35b6:0x64d,_0x2c1f7e:0x457,_0x3921b0:0x43f,_0x4dad05:0x2e1,_0x216157:0x2d5,_0x2dee96:0x440,_0xa29d43:0x445,_0x3ff745:0x31d,_0x430826:0x448,_0x524031:0x1f9,_0x1f6c8:0x1e0,_0x1aac65:0x5,_0x296338:0x530,_0x221b9d:0x4de},_0x41719f={_0x3a6bcb:0x123,_0x440051:0xb,_0x457325:0x141};function _0x3edc89(_0x5b741b,_0x5be96b,_0xdb1c5b,_0x4ae9a7){return _0x47b891(_0xdb1c5b,_0x4ae9a7-0x37,_0xdb1c5b-0x7b,_0x4ae9a7-0x1bf);}if(_0x32b2c8[_0x35e8c7(_0xdc0c25._0xcb396a,0x75b,0x78a,0x692)]===0x0)return'No\x20symbols\x20found';function _0x35e8c7(_0x320547,_0x2c80b5,_0xd320c8,_0x4d50ca){return _0x47b891(_0xd320c8,_0x2c80b5-_0x41719f._0x3a6bcb,_0xd320c8-_0x41719f._0x440051,_0x4d50ca-_0x41719f._0x457325);}return _0x32b2c8['map'](_0x102342=>{const _0x554461={_0x28624a:0x66,_0x1fad75:0x1c9,_0x138644:0x110};if(isDocumentSymbol(_0x102342))return _0x102342[_0x33353b(0x4df,0x530,0x341,_0x2daf80._0xb5d5d3)]+'\x20('+_0x102342[_0x33353b(_0x2daf80._0x57c136,_0x2daf80._0xeb1423,0x671,_0x2daf80._0x1f761a)]+_0x377081(_0x2daf80._0x2a7803,_0x2daf80._0x2f55b5,0x4ca,_0x2daf80._0x3e0989)+(_0x102342[_0x33353b(0x103,0x2d9,0x2d5,_0x2daf80._0x9ceb46)][_0x377081(_0x2daf80._0xd95bb5,0x14e,0x2c2,_0x2daf80._0x29ad4e)][_0x33353b(0x20c,0x28d,_0x2daf80._0x1b1586,_0x2daf80._0x378a3e)]+0x1)+':'+(_0x102342['range'][_0x377081(_0x2daf80._0x16ee54,-0x91,-0x31,0x139)][_0x33353b(_0x2daf80._0x12c1f1,0x667,0x6d4,0x562)]+0x1)+']';function _0x377081(_0x21ef6b,_0x22dd23,_0x3245c1,_0x39f38e){return _0x35e8c7(_0x21ef6b-0xc8,_0x21ef6b- -0x3de,_0x22dd23,_0x39f38e-0xf9);}function _0x33353b(_0x45b102,_0x464451,_0x1503df,_0x226117){return _0x35e8c7(_0x45b102-_0x554461._0x28624a,_0x1503df- -_0x554461._0x1fad75,_0x226117,_0x226117-_0x554461._0x138644);}return _0x102342['name']+'\x20('+_0x102342[_0x377081(_0x2daf80._0x3c2fad,_0x2daf80._0x282042,0x429,_0x2daf80._0x1dee69)]+')\x20'+locationPath(_0x102342[_0x33353b(_0x2daf80._0x1ad3e6,0x6ac,0x569,_0x2daf80._0x1e35b6)]['uri'])+':'+(_0x102342[_0x377081(0x354,0x517,_0x2daf80._0x2c1f7e,0x44c)][_0x33353b(_0x2daf80._0x3921b0,_0x2daf80._0x4dad05,_0x2daf80._0x216157,_0x2daf80._0x2dee96)][_0x33353b(_0x2daf80._0xa29d43,0x1ca,_0x2daf80._0x3ff745,0x229)]['line']+0x1)+':'+(_0x102342[_0x377081(0x354,_0x2daf80._0x430826,_0x2daf80._0x524031,_0x2daf80._0x1f6c8)][_0x377081(0xc0,-0x6a,0xd8,_0x2daf80._0x1aac65)]['start'][_0x377081(0x4bf,0x50d,_0x2daf80._0x296338,_0x2daf80._0x221b9d)]+0x1);})[_0x3edc89(_0xdc0c25._0x5df4ee,_0xdc0c25._0x3e7e66,_0xdc0c25._0xcffb4b,0x5aa)]('\x0a');}function _0x678a(_0x5834f8,_0x55e981){_0x5834f8=_0x5834f8-0x19a;const _0x3ec814=_0x3ec8();let _0x678a25=_0x3ec814[_0x5834f8];if(_0x678a['VcliVf']===undefined){var _0x3bba2c=function(_0x5971ca){const _0x4261c8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2eee78='',_0xe573a8='';for(let _0x1bc8ac=0x0,_0x546c96,_0xc6783e,_0x70b777=0x0;_0xc6783e=_0x5971ca['charAt'](_0x70b777++);~_0xc6783e&&(_0x546c96=_0x1bc8ac%0x4?_0x546c96*0x40+_0xc6783e:_0xc6783e,_0x1bc8ac++%0x4)?_0x2eee78+=String['fromCharCode'](0xff&_0x546c96>>(-0x2*_0x1bc8ac&0x6)):0x0){_0xc6783e=_0x4261c8['indexOf'](_0xc6783e);}for(let _0x466031=0x0,_0x2c18c4=_0x2eee78['length'];_0x466031<_0x2c18c4;_0x466031++){_0xe573a8+='%'+('00'+_0x2eee78['charCodeAt'](_0x466031)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe573a8);};_0x678a['UTdtzt']=_0x3bba2c,_0x678a['PDuQrs']={},_0x678a['VcliVf']=!![];}const _0x572674=_0x3ec814[0x0],_0x10768d=_0x5834f8+_0x572674,_0x3246f1=_0x678a['PDuQrs'][_0x10768d];return!_0x3246f1?(_0x678a25=_0x678a['UTdtzt'](_0x678a25),_0x678a['PDuQrs'][_0x10768d]=_0x678a25):_0x678a25=_0x3246f1,_0x678a25;}function formatDiagnostics(_0x3c97ff){const _0x4d689d={_0x24e10e:0x303,_0x4b6b90:0x2b2,_0x5b7fd9:0x35c,_0x1b3e9f:0x35f,_0x3d377e:0x320,_0x202844:0x380},_0x4769ce={_0x1c296e:0x717,_0x3cd1ea:0x467,_0x3891af:0x373,_0x55321b:0x58c,_0x2ae21a:0x4d6,_0x3ff728:0x4f4,_0x4ee07d:0x424,_0x797472:0x915,_0x4d1171:0x860,_0x1c35f0:0xa09,_0x333aec:0xa25,_0x22ed7b:0x881},_0x18c66d={_0x167a50:0x491,_0x7abb85:0x1b0,_0x465d99:0x119},_0x448f59={_0x577515:0x155};if(_0x3c97ff[_0x193000(0x2e9,0x196,0x2fc,0x4fa)]===0x0)return _0x193000(0x234,0x2e2,0x1e4,_0x4d689d._0x24e10e);function _0x178288(_0x289eda,_0x5ab9f8,_0x10b883,_0x211f5b){return _0x47b891(_0x5ab9f8,_0x211f5b- -0x2c3,_0x10b883-0x35,_0x211f5b-0x76);}function _0x193000(_0x386704,_0x16c023,_0x5e9fa7,_0x2aacfd){return _0x47b891(_0x5e9fa7,_0x386704- -0x34f,_0x5e9fa7-0xea,_0x2aacfd-_0x448f59._0x577515);}return _0x3c97ff[_0x193000(_0x4d689d._0x4b6b90,_0x4d689d._0x5b7fd9,0x405,0xf1)](_0x5e9135=>{const _0x4bd7c5={_0x24cf3b:0x38};function _0x5cc0ce(_0x418828,_0x4ccd08,_0x24be36,_0x91afe4){return _0x178288(_0x418828-0x7,_0x418828,_0x24be36-_0x4bd7c5._0x24cf3b,_0x4ccd08-0x45e);}const _0x1fcf5d=_0x5e9135[_0x5cc0ce(_0x4769ce._0x1c296e,0x516,_0x4769ce._0x3cd1ea,_0x4769ce._0x3891af)][_0x5cc0ce(0x485,0x55e,_0x4769ce._0x55321b,0x5eb)];function _0x4fdc6d(_0x2a48f5,_0x466c7a,_0x30abc3,_0x535c14){return _0x193000(_0x30abc3-_0x18c66d._0x167a50,_0x466c7a-_0x18c66d._0x7abb85,_0x535c14,_0x535c14-_0x18c66d._0x465d99);}return severityName(_0x5e9135[_0x4fdc6d(_0x4769ce._0x2ae21a,_0x4769ce._0x3ff728,0x50f,_0x4769ce._0x4ee07d)])+'\x20['+(_0x1fcf5d['line']+0x1)+':'+(_0x1fcf5d[_0x5cc0ce(0x779,_0x4769ce._0x797472,_0x4769ce._0x4d1171,_0x4769ce._0x1c35f0)]+0x1)+']\x20'+_0x5e9135[_0x5cc0ce(_0x4769ce._0x333aec,_0x4769ce._0x22ed7b,0x6a6,0x860)];})[_0x178288(_0x4d689d._0x1b3e9f,_0x4d689d._0x3d377e,_0x4d689d._0x202844,0x2b0)]('\x0a');}function formatIncomingCalls(_0x476b19){const _0x403af5={_0x3b82c7:0x4bc,_0x586821:0x307,_0x241136:0x4fb,_0x3a13af:0x331},_0x4ef0b8={_0x259b1e:0xa9,_0x4f1172:0x116},_0x3c70e9={_0x343048:0x260,_0x23f464:0x7d,_0x1f58b3:0x2f};function _0x47887a(_0x162c9c,_0x2588af,_0x2833e4,_0x55ca8f){return _0x47b891(_0x2588af,_0x2833e4- -_0x3c70e9._0x343048,_0x2833e4-_0x3c70e9._0x23f464,_0x55ca8f-_0x3c70e9._0x1f58b3);}function _0x2674d7(_0x4b4d8b,_0x72ebc7,_0x362ad6,_0x5403d5){return _0x47b891(_0x5403d5,_0x362ad6- -0x331,_0x362ad6-_0x4ef0b8._0x259b1e,_0x5403d5-_0x4ef0b8._0x4f1172);}if(_0x476b19[_0x2674d7(0x4ef,_0x403af5._0x3b82c7,_0x403af5._0x586821,_0x403af5._0x241136)]===0x0)return _0x2674d7(_0x403af5._0x3a13af,0x42c,0x450,0x62d);return _0x476b19['map'](_0x5ad3d2=>_0x5ad3d2[_0x2674d7(0x290,0xea,0xa9,-0xc3)]['name'])['join']('\x0a');}function formatOutgoingCalls(_0x25e220){const _0x125dbb={_0x56a335:0x245,_0x2774b5:0x28f,_0x3eb113:0xc0,_0x2704aa:0x85d},_0x51f6dc={_0x18d3a7:0xd2};function _0x5ddc03(_0x388f34,_0x4e6c6d,_0x5f4121,_0x336e95){return _0x47b891(_0x336e95,_0x5f4121- -0x578,_0x5f4121-0x4c,_0x336e95-0x2a);}if(_0x25e220[_0x5ddc03(_0x125dbb._0x56a335,_0x125dbb._0x2774b5,_0x125dbb._0x3eb113,0x2b0)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0xecdb50(_0x2e9171,_0x16e3e0,_0x372a43,_0x147e19){return _0x47b891(_0x16e3e0,_0x2e9171-0x189,_0x372a43-_0x51f6dc._0x18d3a7,_0x147e19-0x4a);}return _0x25e220[_0xecdb50(0x78a,0x905,0x930,_0x125dbb._0x2704aa)](_0x1e117b=>_0x1e117b['to'][_0x5ddc03(0x1d,-0x20c,-0x191,-0x397)])['join']('\x0a');}function toStructured(_0x4ae853){const _0x3e6f1c={_0x1a91d5:0x8eb,_0x22afc9:0x705,_0x45f80a:0x5fc};function _0x40d60b(_0x3a97c8,_0x1fbc9f,_0x4943da,_0x50076f){return _0x47b891(_0x1fbc9f,_0x4943da-0x158,_0x4943da-0x1a4,_0x50076f-0x1f);}return JSON['parse'](JSON[_0x40d60b(0x5bb,_0x3e6f1c._0x1a91d5,_0x3e6f1c._0x22afc9,_0x3e6f1c._0x45f80a)](_0x4ae853));}function _0xe18bb0(_0x4ba2f8,_0x51dd54,_0x52024f,_0x49fea9){const _0x39562e={_0x133ae6:0x2b0};return _0x678a(_0x51dd54- -_0x39562e._0x133ae6,_0x4ba2f8);}async function assertFile(_0x4e5da9){const _0x4e9df1=await _0xe80f96(_0x4e5da9);if(!_0x4e9df1['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x4e5da9,{'path':_0x4e5da9});}function validatePosition(_0x29ecbc,_0x12e691){const _0x48b8fb={_0x3eca66:0x3c7,_0x4d01d5:0x4fc,_0x3f68bc:0x710,_0x9e8823:0x878},_0x40135f={_0xb0040:0x17e},_0x56198e={_0x308344:0xef};function _0x526522(_0x3f82c7,_0x19c002,_0x4a250a,_0x5e6992){return _0x47b891(_0x19c002,_0x4a250a-_0x56198e._0x308344,_0x4a250a-0x117,_0x5e6992-0xa0);}if(!Number['isInteger'](_0x29ecbc)||_0x29ecbc<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x29ecbc});function _0x28625d(_0x5b9fe8,_0x3dff79,_0x40d9cc,_0x4dc4bd){return _0x47b891(_0x40d9cc,_0x5b9fe8- -0x93,_0x40d9cc-0x176,_0x4dc4bd-_0x40135f._0xb0040);}if(!Number[_0x526522(_0x48b8fb._0x3eca66,0x3ce,_0x48b8fb._0x4d01d5,0x61b)](_0x12e691)||_0x12e691<0x1)throw new ToolExecutionError(_0x28625d(0x6a6,_0x48b8fb._0x3f68bc,0x86f,_0x48b8fb._0x9e8823),{'character':_0x12e691});}function createLspTool(_0xee114b={}){const _0x536925={_0x3f453e:0x362,_0x31c25c:0x4ad,_0x917acb:0x0,_0x9067d2:0xe0,_0x45f05c:0xc2,_0x358538:0x20,_0x557511:0x1b4,_0x3dfe3a:0x442,_0x474ed5:0x256,_0x16e846:0x1a7,_0x46be09:0x3,_0x17d1d4:0x152,_0x4b89cc:0x1c7,_0xae58cd:0x1b0,_0x33ca64:0x5a,_0x22201f:0x16e,_0x457eea:0x275,_0x5f9d6e:0x480,_0x16c2ce:0x31d,_0x31fce6:0x1b5,_0x325c72:0x43f,_0x1c5713:0x422,_0x48b7c4:0x604,_0x31f217:0x386,_0xc5dd2:0x575,_0x3dc4f7:0x58d,_0x78df0c:0x4c7,_0x3419b7:0x421,_0x5607be:0x2b7,_0x32b9dd:0x293,_0xbd064a:0x52a,_0x478fc5:0x168,_0xf79af4:0x30,_0x81c385:0x6c2,_0x52b9a2:0x381,_0x4ad66d:0x145,_0x406d0b:0x41c,_0x92f3d:0x79d,_0x28a8c8:0x373,_0x3321f7:0x1b1},_0x27ebb2={_0x3edaf4:0x4db,_0x5c55d7:0x429,_0x33fd9e:0x3e8,_0x3346ec:0x14a,_0x3c1465:0x8d,_0x119c96:0x344,_0x1b8bf2:0x213,_0xc727ad:0x3d1,_0x20d9cf:0x2e3,_0x17abee:0x105,_0x4918a8:0x3e6,_0x1af3bf:0x577,_0x42a446:0x289,_0x1c6cf0:0x3c4,_0x2f94d7:0x433,_0x44f208:0x53e,_0x37858c:0x265,_0x3fe1b6:0x3f9,_0x24076f:0x306,_0x47d945:0x19c,_0x5e23ed:0x364,_0x5b8b98:0x26d,_0x2fd925:0x467,_0x3df978:0xe3,_0x107a0e:0x400,_0x5567c9:0x3a0,_0x170917:0x50e,_0x5267a1:0x3e6,_0x252b57:0x41f,_0x410df6:0x328,_0xa0cf09:0x1e0,_0x2d931d:0x3d2,_0x56683f:0x2b9,_0x3eeecc:0x2e7,_0x3331d5:0x390,_0x42f4d9:0x389,_0x3c6680:0x2a9,_0xf25afa:0x492,_0x534752:0x2eb,_0x41e1d9:0x1f4,_0x404bd5:0x519,_0x3cf156:0x418,_0x2e5644:0x4fa,_0x50d881:0x3c8,_0x4ec393:0x40b,_0x491393:0x411,_0x1d1af5:0xe5,_0x3f6557:0x165,_0x35340a:0x2a9,_0x57abb1:0x182,_0x3007c8:0x490,_0x26ec41:0x2f3,_0x24c7ba:0x159,_0x48f4b6:0x26a,_0x56d003:0x35d,_0x500647:0x200,_0x381720:0x257,_0x408ac6:0x146,_0x45b260:0x2a9,_0x2f00fd:0x1a3,_0x574dd8:0x193,_0x2330e7:0x20c,_0x561bd6:0x13,_0x436984:0x284,_0x4cc7c4:0x116,_0x5df8ee:0x43f,_0x2fe838:0x3d0,_0x1a6bf1:0x2a8},_0x3a2a86={_0x5c3178:0x2},_0x1f50a4={_0x5778b1:0x18c},_0x5e82f6={_0x41fed3:0x3c1,_0x3b5f17:0x173};function _0x60ae10(_0x5a7b88,_0x4a9a04,_0xe21a58,_0x50f62d){return _0xe18bb0(_0xe21a58,_0x5a7b88-_0x5e82f6._0x41fed3,_0xe21a58-_0x5e82f6._0x3b5f17,_0x50f62d-0x8e);}function _0x3d5a7a(_0x294b50,_0x42549e,_0x4824b0,_0x33732c){return _0x47b891(_0x33732c,_0x42549e- -0x407,_0x4824b0-0x1ce,_0x33732c-_0x1f50a4._0x5778b1);}const _0x156452=_0x212f25[_0x60ae10(_0x536925._0x3f453e,_0x536925._0x31c25c,0x2d2,0x363)](_0xee114b['defaultCwd']??process[_0x3d5a7a(-0xe9,_0x536925._0x917acb,_0x536925._0x9067d2,-_0x536925._0x45f05c)]()),_0x50245b=_0xee114b['allowedDirs']??[],_0x4c8754=_0xee114b[_0x3d5a7a(0x8b,-_0x536925._0x358538,-_0x536925._0x557511,0x12)]??_0x60ae10(_0x536925._0x3dfe3a,0x3e4,_0x536925._0x474ed5,0x520);return defineTool({'name':_0x4c8754,'permissionClass':'read','description':_0x3d5a7a(_0x536925._0x16e846,_0x536925._0x46be09,-0x185,_0x536925._0x17d1d4),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x3d5a7a(_0x536925._0x4b89cc,_0x536925._0xae58cd,-_0x536925._0x33ca64,_0x536925._0x22201f),'enum':['goToDefinition',_0x3d5a7a(0x145,0x2ef,_0x536925._0x457eea,_0x536925._0x5f9d6e),_0x3d5a7a(0x2a5,_0x536925._0x16c2ce,0x156,_0x536925._0x31fce6),_0x3d5a7a(_0x536925._0x325c72,0x2e4,0x4e3,0x140),_0x60ae10(_0x536925._0x1c5713,0x5a5,_0x536925._0x48b7c4,_0x536925._0x31f217),_0x60ae10(_0x536925._0xc5dd2,_0x536925._0x3dc4f7,_0x536925._0x78df0c,_0x536925._0x3419b7),'prepareCallHierarchy',_0x60ae10(0x398,_0x536925._0x5607be,0x1bb,_0x536925._0x32b9dd),_0x60ae10(_0x536925._0xbd064a,0x48b,0x45f,0x655),'diagnostics']},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':_0x3d5a7a(-_0x536925._0x478fc5,-_0x536925._0xf79af4,-0x1a5,0x19d)},'query':{'type':_0x60ae10(0x4e7,0x4eb,_0x536925._0x81c385,_0x536925._0x52b9a2)}},'required':[_0x3d5a7a(0x1ba,0x2c7,_0x536925._0x4ad66d,_0x536925._0x406d0b),_0x60ae10(0x59f,0x787,_0x536925._0x92f3d,0x562),'line',_0x3d5a7a(0x320,_0x536925._0x28a8c8,_0x536925._0x3321f7,0x2ee)]},async *'execute'(_0x9e8512,_0x20f089){const _0x3badd3=_0xee114b[_0x1b5b7c(0x275,_0x27ebb2._0x3edaf4,_0x27ebb2._0x5c55d7,_0x27ebb2._0x33fd9e)];if(!_0x3badd3)throw new ToolExecutionError(_0x1b5b7c(_0x27ebb2._0x3346ec,0x29a,0x85,_0x27ebb2._0x3c1465));if(!_0x3badd3[_0x590d52(_0x27ebb2._0x119c96,_0x27ebb2._0x1b8bf2,0x4ae,_0x27ebb2._0xc727ad)]())throw new ToolExecutionError(_0x1b5b7c(0x3c4,_0x27ebb2._0x20d9cf,_0x27ebb2._0x17abee,0x1f2));const _0x40816f=_0x9e8512[_0x590d52(0x565,0x580,0x28a,0x37c)];validatePosition(_0x9e8512['line'],_0x9e8512[_0x1b5b7c(0x454,0x4c6,0x525,_0x27ebb2._0x4918a8)]);if(_0x40816f==='workspaceSymbol'){if(!_0x9e8512[_0x590d52(0x30c,_0x27ebb2._0x1af3bf,_0x27ebb2._0x42a446,0x3a6)]?.[_0x590d52(0x2dc,_0x27ebb2._0x1c6cf0,0x356,_0x27ebb2._0x2f94d7)]())throw new ToolExecutionError(_0x590d52(0x201,_0x27ebb2._0x44f208,_0x27ebb2._0x37858c,_0x27ebb2._0x3fe1b6));const _0x590fbd=await awaitWithAbort2(_0x3badd3[_0x590d52(_0x27ebb2._0x24076f,0x272,_0x27ebb2._0x47d945,0x1a0)](_0x9e8512[_0x1b5b7c(0x3f4,0x50a,0x2e9,_0x27ebb2._0x5e23ed)]['trim']()),_0x20f089[_0x1b5b7c(_0x27ebb2._0x5b8b98,_0x27ebb2._0x2fd925,0x264,0x2a9)]);return yield createToolOutput(formatSymbols(_0x590fbd),{'operation':_0x40816f,'query':_0x9e8512['query'],'symbols':_0x590fbd}),void 0x0;}const _0x4219da=resolveAllowedPath(_0x156452,_0x50245b,_0x9e8512['filePath']);await assertFile(_0x4219da);function _0x1b5b7c(_0x48c99b,_0x2421d6,_0x2390dd,_0x121702){return _0x60ae10(_0x121702- -0x2c4,_0x2421d6-_0x3a2a86._0x5c3178,_0x48c99b,_0x121702-0x44);}function _0x590d52(_0x173b2b,_0x3e6a7e,_0x2e67fd,_0x3eec79){return _0x60ae10(_0x3eec79- -0x282,_0x3e6a7e-0xea,_0x2e67fd,_0x3eec79-0x29);}if(!await awaitWithAbort2(_0x3badd3['hasClients'](_0x4219da),_0x20f089[_0x590d52(_0x27ebb2._0x3df978,_0x27ebb2._0x107a0e,0x45f,0x2eb)]))throw new ToolExecutionError(_0x590d52(0x3b2,0x299,_0x27ebb2._0x5567c9,0x208)+_0x9e8512['filePath'],{'filePath':_0x9e8512['filePath']});await awaitWithAbort2(_0x3badd3[_0x1b5b7c(0x37c,_0x27ebb2._0x170917,0x52d,0x3d5)](_0x4219da,!![]),_0x20f089['signal']);const _0x152890={'file':_0x4219da,'line':_0x9e8512[_0x1b5b7c(0x1b7,0xaa,-0x143,0x75)]-0x1,'character':_0x9e8512[_0x1b5b7c(0x3bf,0x355,0x4c3,_0x27ebb2._0x5267a1)]-0x1};switch(_0x40816f){case _0x590d52(_0x27ebb2._0x252b57,_0x27ebb2._0x410df6,_0x27ebb2._0xa0cf09,_0x27ebb2._0x2d931d):{const _0x15ec79=await awaitWithAbort2(_0x3badd3[_0x1b5b7c(_0x27ebb2._0x56683f,0x34c,_0x27ebb2._0x3eeecc,_0x27ebb2._0x3331d5)](_0x152890),_0x20f089[_0x1b5b7c(0x389,0x3af,_0x27ebb2._0x42f4d9,_0x27ebb2._0x3c6680)]);return yield createToolOutput(formatHover(_0x15ec79),{'operation':_0x40816f,'filePath':_0x4219da,'hover':_0x15ec79}),void 0x0;}case'diagnostics':{const _0x2078c5=await awaitWithAbort2(_0x3badd3['diagnosticsForFile'](_0x4219da),_0x20f089[_0x590d52(_0x27ebb2._0xf25afa,0x3c6,0x277,_0x27ebb2._0x534752)]);return yield createToolOutput(formatDiagnostics(_0x2078c5),{'operation':_0x40816f,'filePath':_0x4219da,'diagnostics':_0x2078c5}),void 0x0;}case _0x590d52(0xfc,_0x27ebb2._0x41e1d9,0x211,0x207):{const _0x4496c5=await awaitWithAbort2(_0x3badd3[_0x590d52(_0x27ebb2._0x404bd5,_0x27ebb2._0x3cf156,_0x27ebb2._0x2e5644,_0x27ebb2._0x50d881)](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatLocations(_0x4496c5),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x4496c5}),void 0x0;}case'findReferences':{const _0x23a2c9=await awaitWithAbort2(_0x3badd3[_0x590d52(0x5f8,_0x27ebb2._0x4ec393,0x485,_0x27ebb2._0x491393)](_0x152890),_0x20f089[_0x1b5b7c(_0x27ebb2._0x1d1af5,_0x27ebb2._0x107a0e,_0x27ebb2._0x3f6557,_0x27ebb2._0x35340a)]);return yield createToolOutput(formatLocations(_0x23a2c9),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x23a2c9}),void 0x0;}case _0x590d52(0x450,_0x27ebb2._0x57abb1,_0x27ebb2._0x3007c8,_0x27ebb2._0x26ec41):{const _0x287764=await awaitWithAbort2(_0x3badd3[_0x1b5b7c(_0x27ebb2._0x24c7ba,0x4de,_0x27ebb2._0x48f4b6,_0x27ebb2._0x56d003)](_0x152890),_0x20f089[_0x1b5b7c(_0x27ebb2._0x500647,_0x27ebb2._0x381720,_0x27ebb2._0x408ac6,_0x27ebb2._0x45b260)]);return yield createToolOutput(formatLocations(_0x287764),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x287764}),void 0x0;}case'documentSymbol':{const _0x2f9f3d=await awaitWithAbort2(_0x3badd3['documentSymbol'](_0x4219da),_0x20f089['signal']);return yield createToolOutput(formatSymbols(_0x2f9f3d),{'operation':_0x40816f,'filePath':_0x4219da,'symbols':_0x2f9f3d}),void 0x0;}case _0x1b5b7c(_0x27ebb2._0x2f00fd,0xf9,_0x27ebb2._0x574dd8,0x154):{const _0x450b10=await awaitWithAbort2(_0x3badd3['prepareCallHierarchy'](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatSymbols(_0x450b10),{'operation':_0x40816f,'filePath':_0x4219da,'symbols':toStructured(_0x450b10)}),void 0x0;}case _0x590d52(_0x27ebb2._0x2330e7,-_0x27ebb2._0x561bd6,_0x27ebb2._0x436984,_0x27ebb2._0x4cc7c4):{const _0x167cbd=await awaitWithAbort2(_0x3badd3['incomingCalls'](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatIncomingCalls(_0x167cbd),{'operation':_0x40816f,'filePath':_0x4219da,'calls':toStructured(_0x167cbd)}),void 0x0;}case _0x1b5b7c(0x25e,0xd6,0xcf,0x266):{const _0xb705a1=await awaitWithAbort2(_0x3badd3[_0x590d52(0x97,_0x27ebb2._0x5df8ee,_0x27ebb2._0x2fe838,_0x27ebb2._0x1a6bf1)](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatOutgoingCalls(_0xb705a1),{'operation':_0x40816f,'filePath':_0x4219da,'calls':toStructured(_0xb705a1)}),void 0x0;}}}});}import*as _0x11826e from'path';function buildDescription(_0x3bd78d){const _0x523a3b={_0x70638d:0x9ea,_0x3c908f:0x82f,_0x1fc2bd:0x821,_0x48f5e0:0x304,_0x52d3d1:0x32a,_0x1bbcbe:0x11d,_0x305e7f:0x48a,_0x35b608:0x6f4,_0x5edfee:0x519,_0x7e9a0a:0x5ef,_0x38e1d1:0x970,_0x136bef:0x74e,_0x3e3429:0x7ea,_0x2aa8f3:0x5c9,_0x3bf9b2:0x75c},_0x4b672c={_0x42d1a6:0x102,_0x5d44a8:0x12},_0x357770={_0x20117b:0x1e9};function _0x6facc4(_0x18e7f8,_0x5dd5ea,_0x5e023f,_0x49519f){return _0x47b891(_0x5dd5ea,_0x49519f-_0x357770._0x20117b,_0x5e023f-0xbf,_0x49519f-0xfa);}if(_0x3bd78d[_0x6facc4(_0x523a3b._0x70638d,_0x523a3b._0x3c908f,0x9b6,_0x523a3b._0x1fc2bd)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';function _0x422d83(_0x31563c,_0x28c643,_0x574cfa,_0x2b9799){return _0xe18bb0(_0x31563c,_0x574cfa-0x228,_0x574cfa-_0x4b672c._0x42d1a6,_0x2b9799-_0x4b672c._0x5d44a8);}const _0x16c3f9=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x422d83(0x3dc,_0x523a3b._0x48f5e0,_0x523a3b._0x52d3d1,_0x523a3b._0x1bbcbe),_0x422d83(_0x523a3b._0x305e7f,_0x523a3b._0x35b608,_0x523a3b._0x5edfee,_0x523a3b._0x7e9a0a),'Available\x20skills\x20(skill_name:\x20description):',..._0x3bd78d[_0x6facc4(0x88c,_0x523a3b._0x38e1d1,_0x523a3b._0x136bef,_0x523a3b._0x3e3429)](_0x4d5912=>'-\x20'+_0x4d5912[_0x6facc4(0x5d8,0x656,0x5dc,0x5d0)]+':\x20'+_0x4d5912[_0x6facc4(0x769,0x603,0x3cd,0x578)])];return _0x16c3f9[_0x6facc4(_0x523a3b._0x2aa8f3,0x69d,0x6e7,_0x523a3b._0x3bf9b2)]('\x0a');}function createLoadSkillTool(_0x11d17d){const _0x29b2a1={_0x2116b4:0x33b,_0x4fd309:0x18b,_0x54dfce:0x203,_0x21ee96:0x15e,_0x24db35:0x111,_0x1b67ce:0x86,_0x3c409d:0xcd,_0x155648:0x37b,_0x458c70:0x42a,_0x484480:0x558,_0x2d2cde:0xf2,_0x564516:0x5c,_0x127759:0x223,_0x34a974:0x1b0},_0x3d731e={_0x33f140:0x7d8,_0x11ba83:0x4ff,_0x2c07ef:0x830,_0x1c6daf:0x69e,_0x4c88c9:0x3c6,_0x293a27:0x60a,_0x2e18c5:0x54b,_0x13a960:0xa7,_0x57cd21:0x168,_0x1bffa9:0x179,_0x3582ac:0xfc,_0x1901d1:0x8ae,_0x4ee7fb:0x24,_0x4a20bb:0x18c,_0x4b7f33:0x1b4,_0xb1e59d:0x1bf,_0x1d19c0:0x49,_0x5d672a:0x69,_0x4cb6f2:0x26f,_0x306b2d:0x220,_0x5965ee:0x390,_0x1f76ec:0x3be,_0xa9e3af:0x264,_0x489edb:0x5a2,_0x3ee2fa:0x824,_0x226aa2:0x779},_0x32219c={_0x3cc173:0xe1},_0x4a4c9d={_0x26001a:0x1d2,_0x4ccb07:0x1},_0x103883={_0x4f1a62:0x3bb,_0x69f8f7:0x83};function _0x42dfe2(_0x56ab89,_0x35ff6b,_0x2ad624,_0x39c83b){return _0x47b891(_0x39c83b,_0x35ff6b- -_0x103883._0x4f1a62,_0x2ad624-_0x103883._0x69f8f7,_0x39c83b-0x79);}const _0x579a4a=new Map(_0x11d17d[_0x233976(_0x29b2a1._0x2116b4,_0x29b2a1._0x4fd309,_0x29b2a1._0x54dfce,_0x29b2a1._0x21ee96)]['map'](_0x2fda88=>[_0x2fda88['name'],_0x2fda88])),_0x18de19=buildDescription(_0x11d17d[_0x42dfe2(-_0x29b2a1._0x24db35,_0x29b2a1._0x1b67ce,-0x4a,0x35)]);function _0x233976(_0x55f6bf,_0x261c9c,_0x1027c3,_0x2250c2){return _0xe18bb0(_0x2250c2,_0x261c9c-0x1db,_0x1027c3-0x10,_0x2250c2-0x3e);}return defineTool({'name':_0x42dfe2(0x114,_0x29b2a1._0x3c409d,-0xf9,-0x4d),'permissionClass':'read','description':_0x18de19,'inputSchema':{'type':_0x233976(_0x29b2a1._0x155648,_0x29b2a1._0x458c70,0x514,_0x29b2a1._0x484480),'properties':{'name':{'type':_0x233976(0x238,0x301,0x367,_0x29b2a1._0x2d2cde)}},'required':[_0x42dfe2(-_0x29b2a1._0x564516,0x2c,_0x29b2a1._0x127759,-_0x29b2a1._0x34a974)]},async *'execute'(_0x29678c){const _0x551e4a=_0x579a4a[_0x54dfc6(_0x3d731e._0x33f140,_0x3d731e._0x11ba83,_0x3d731e._0x2c07ef,_0x3d731e._0x1c6daf)](_0x29678c[_0x54dfc6(0x464,_0x3d731e._0x4c88c9,0x6b1,0x558)]);if(!_0x551e4a){const _0x5ac81b=Array[_0x54dfc6(0x5eb,0x465,_0x3d731e._0x293a27,_0x3d731e._0x2e18c5)](_0x579a4a['keys']())[_0x4e9d21(-_0x3d731e._0x13a960,_0x3d731e._0x57cd21,_0x3d731e._0x1bffa9,_0x3d731e._0x3582ac)](',\x20');throw new ToolExecutionError(_0x54dfc6(0x7da,_0x3d731e._0x1901d1,0x76d,0x845)+_0x29678c[_0x4e9d21(-0x112,-_0x3d731e._0x4ee7fb,-0x96,0x1)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x5ac81b,{'name':_0x29678c['name']});}function _0x54dfc6(_0x4e89de,_0x2b881c,_0x421573,_0x2aa38c){return _0x42dfe2(_0x4e89de-_0x4a4c9d._0x26001a,_0x2aa38c-0x52c,_0x421573-_0x4a4c9d._0x4ccb07,_0x2b881c);}const _0x3b9352=await _0x11d17d[_0x4e9d21(_0x3d731e._0x4a20bb,0x2a7,0x49c,0x1dc)](_0x551e4a),_0x48bfe0=_0x551e4a['source'][_0x4e9d21(-0x185,0x7f,0xf2,_0x3d731e._0x4b7f33)]??_0x11826e[_0x54dfc6(0x620,0x63c,0x4eb,0x5ac)](_0x551e4a['source'][_0x4e9d21(_0x3d731e._0xb1e59d,0x1fd,0x12c,0x18e)]);function _0x4e9d21(_0x225735,_0x5313f1,_0xcc458e,_0xc6b16e){return _0x42dfe2(_0x225735-_0x32219c._0x3cc173,_0x5313f1- -0x50,_0xcc458e-0x196,_0x225735);}const _0x167ef6=[_0x4e9d21(0x15a,-_0x3d731e._0x1d19c0,-0x4d,0x1c0)+_0x3b9352['name'],'',_0x3b9352['instructions'],'',_0x4e9d21(_0x3d731e._0x5d672a,-0x67,-0x171,-0x215),'Loaded\x20from:\x20'+_0x551e4a[_0x4e9d21(_0x3d731e._0x4cb6f2,0x297,0x119,0x3c7)][_0x4e9d21(_0x3d731e._0x306b2d,0x1fd,0x3da,0xb7)],_0x4e9d21(0x383,_0x3d731e._0x5965ee,_0x3d731e._0x1f76ec,_0x3d731e._0xa9e3af)+_0x48bfe0][_0x4e9d21(0x1c0,0x168,0x3e,0x1d9)]('\x0a');return yield createToolOutput(_0x167ef6,{'id':_0x3b9352['id'],'name':_0x3b9352[_0x54dfc6(0x40a,0x6a1,0x3a4,0x558)],'path':_0x551e4a['source'][_0x54dfc6(_0x3d731e._0x489edb,_0x3d731e._0x3ee2fa,0x8a0,_0x3d731e._0x226aa2)],'baseDirectory':_0x48bfe0}),void 0x0;}});}var TODO_STATUSES=new Set([_0xe18bb0(0x143,0x2e4,0x3cb,0x3d4),'in_progress',_0x47b891(0x482,0x482,0x65f,0x2a3)]),TODO_PRIORITIES=new Set([_0x47b891(0x2df,0x3ed,0x541,0x428),_0x47b891(0x5a2,0x420,0x270,0x551),_0x47b891(0x67b,0x5ee,0x4af,0x3f4)]);function isTodoStatus(_0x5c1d27){const _0x4eb689={_0x23a5db:0x584,_0x84b1c4:0x400,_0x2b9faa:0x524,_0x16c09b:0x10e,_0x4aaf88:0x20f},_0x24a9dd={_0x1d39d1:0x93},_0x4eb7ff={_0x59edee:0x5a,_0x1af1a3:0x1b1};function _0x5510fb(_0x317dff,_0x5608b5,_0x5a87da,_0x11380b){return _0xe18bb0(_0x5a87da,_0x317dff- -_0x4eb7ff._0x59edee,_0x5a87da-_0x4eb7ff._0x1af1a3,_0x11380b-0x8e);}function _0xf303b2(_0x366739,_0x336f5c,_0x1c3264,_0x1947cd){return _0x47b891(_0x336f5c,_0x1947cd- -_0x24a9dd._0x1d39d1,_0x1c3264-0xfb,_0x1947cd-0xa);}return typeof _0x5c1d27===_0xf303b2(0x562,_0x4eb689._0x23a5db,_0x4eb689._0x84b1c4,_0x4eb689._0x2b9faa)&&TODO_STATUSES[_0x5510fb(0x213,0x2c6,_0x4eb689._0x16c09b,_0x4eb689._0x4aaf88)](_0x5c1d27);}function isTodoPriority(_0x3313dd){const _0x5928df={_0x336999:0x6c0,_0x1cc7ae:0x703,_0x38573d:0x894},_0x11b118={_0x558e35:0x1c8},_0x4a3f93={_0x48dd52:0x16,_0x49fcf2:0x4a};function _0x5b58eb(_0x4be303,_0x3eca32,_0x615bc0,_0x1c7d23){return _0x47b891(_0x1c7d23,_0x615bc0-_0x4a3f93._0x48dd52,_0x615bc0-0x13e,_0x1c7d23-_0x4a3f93._0x49fcf2);}function _0x58871f(_0x172f55,_0x1d2919,_0x585fe9,_0x1007e1){return _0x47b891(_0x585fe9,_0x1007e1-0x196,_0x585fe9-0xe8,_0x1007e1-_0x11b118._0x558e35);}return typeof _0x3313dd===_0x5b58eb(0x627,0x495,0x5cd,_0x5928df._0x336999)&&TODO_PRIORITIES[_0x58871f(0x931,_0x5928df._0x1cc7ae,0x833,_0x5928df._0x38573d)](_0x3313dd);}var TodoStore=class{[_0x47b891(0x33e,0x522,0x454,0x703)]=new Map();[_0x47b891(0x550,0x3ff,0x547,0x2e8)](_0x2b4a8b){const _0x4c2511={_0x1ac3a4:0x67f,_0x335a42:0x59a},_0x1566e3={_0x2fe131:0x4fe,_0xc0fc04:0x1a4};function _0x3764f3(_0x3c7984,_0x31ceed,_0x5efec5,_0x183db4){return _0xe18bb0(_0x3c7984,_0x183db4-_0x1566e3._0x2fe131,_0x5efec5-0x12,_0x183db4-_0x1566e3._0xc0fc04);}return this['todosBySession'][_0x3764f3(_0x4c2511._0x1ac3a4,0x706,0x542,_0x4c2511._0x335a42)](_0x2b4a8b)??[];}[_0xe18bb0(0xc0,0x14e,0x23c,0x239)](_0x323887,_0x476742){const _0x27e56a={_0x594d54:0xce,_0x500d61:0x66,_0x5bab3a:0x8};function _0x465686(_0x314fd3,_0x277a0f,_0xdbf54,_0xa6dc42){return _0xe18bb0(_0xdbf54,_0xa6dc42-0x89,_0xdbf54-0x1cf,_0xa6dc42-0xf3);}this['todosBySession'][_0x465686(0x10,_0x27e56a._0x594d54,_0x27e56a._0x500d61,-_0x27e56a._0x5bab3a)](_0x323887,_0x476742);}[_0xe18bb0(0x29a,0x158,0x22d,-0x81)](_0x32a316){const _0x4270f3={_0x3717ec:0x2a6,_0x375d87:0xb5,_0x53365b:0xc8,_0x373c23:0x143,_0x12e4e6:0x1f7,_0x52f505:0x24e,_0x507e73:0x31d,_0x42dacf:0xc7,_0x394e62:0x260,_0x3ad8b1:0x86,_0x1992cb:0x2d,_0x48cef9:0x198,_0x2e1498:0xf4,_0x371bfb:0xe8,_0x58ef0a:0xa8,_0x1902b2:0xa5,_0x51b80a:0x272},_0x3a3180={_0x41c31b:0x4f5,_0x3dc83d:0xf7,_0x4adeea:0x1c3},_0x51160e={_0x2c7945:0xbd},_0x4cf374=this[_0x97045a(-_0x4270f3._0x3717ec,-0xf6,-_0x4270f3._0x375d87,-0x13b)](_0x32a316),_0x9ac2c1={'total':_0x4cf374[_0x97045a(-_0x4270f3._0x53365b,_0x4270f3._0x373c23,_0x4270f3._0x12e4e6,0x318)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x50c17e(_0x4750e8,_0x4e60b4,_0x13d71c,_0x179a00){return _0xe18bb0(_0x179a00,_0x4750e8- -0x96,_0x13d71c-0x1e,_0x179a00-_0x51160e._0x2c7945);}for(const _0x5704cd of _0x4cf374){if(_0x5704cd['status']===_0x50c17e(_0x4270f3._0x52f505,0x234,_0x4270f3._0x507e73,_0x4270f3._0x42dacf))_0x9ac2c1[_0x97045a(0x415,0x280,0xfc,0x3a6)]+=0x1;else{if(_0x5704cd[_0x50c17e(0x182,_0x4270f3._0x394e62,-_0x4270f3._0x3ad8b1,-_0x4270f3._0x1992cb)]===_0x50c17e(_0x4270f3._0x48cef9,-0x43,0x97,_0x4270f3._0x2e1498))_0x9ac2c1[_0x97045a(_0x4270f3._0x371bfb,-_0x4270f3._0x58ef0a,-0x130,0x29)]+=0x1;else _0x9ac2c1[_0x50c17e(-_0x4270f3._0x1902b2,0x5f,-_0x4270f3._0x51b80a,-0x88)]+=0x1;}}function _0x97045a(_0x9c2d1a,_0x2d4230,_0x34accd,_0x323261){return _0x47b891(_0x34accd,_0x2d4230- -_0x3a3180._0x41c31b,_0x34accd-_0x3a3180._0x3dc83d,_0x323261-_0x3a3180._0x4adeea);}return _0x9ac2c1;}};function validateTodos(_0x485b4e){const _0x418fd5={_0x149985:0x6c9,_0x4bc123:0x700,_0x212f6a:0x737,_0x29aeff:0x692,_0x2748cd:0x75c,_0x558c11:0x75a,_0x563f82:0x72c,_0x167063:0x924,_0x5cc42e:0x71f,_0x31049f:0x8a2,_0x8ae99:0x68b,_0x3d671c:0x7fc,_0x446c82:0x75a,_0x1939c6:0x6e9,_0x27aee1:0x603,_0x4bbf6a:0x8d7,_0xebe58a:0x8cc,_0x5e9292:0x48b,_0x314ae9:0x66a,_0x348335:0x54a,_0x5ac273:0x3cb,_0x1b757d:0x866,_0x3512fb:0x8df,_0x431c80:0x6d9,_0x284182:0x76e,_0x1e2b62:0x4e1,_0x424797:0x578,_0x39a917:0x734,_0x536b88:0x6ba,_0x3d63ac:0x5f3,_0x50b48f:0x827,_0x57de30:0x5dc,_0x48a52c:0x77b,_0x488fdf:0x888,_0x127600:0x8af,_0x326f90:0x73b,_0x9db86f:0x6b0,_0x3174b6:0x66e,_0x4983af:0x6ad,_0x3d6451:0x821,_0x402f7e:0x42d,_0x286119:0x358,_0x4e59fb:0x773,_0x58bee0:0x7fd,_0x3d4d75:0x721,_0xe26059:0x5c6},_0x29b7bb={_0x18b39b:0x122,_0x5de037:0x5e};if(!Array[_0x14b8f6(0x778,0x501,0x663,_0x418fd5._0x149985)](_0x485b4e[_0x12449e(_0x418fd5._0x4bc123,0x58d,_0x418fd5._0x212f6a,_0x418fd5._0x29aeff)])||_0x485b4e[_0x14b8f6(0x875,0x8f9,0x71f,0x894)][_0x14b8f6(0x8a0,_0x418fd5._0x2748cd,_0x418fd5._0x558c11,_0x418fd5._0x563f82)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':'invalid_todos'});for(let _0x587582=0x0;_0x587582<_0x485b4e[_0x14b8f6(0x5f7,_0x418fd5._0x167063,_0x418fd5._0x5cc42e,_0x418fd5._0x31049f)][_0x14b8f6(_0x418fd5._0x8ae99,_0x418fd5._0x3d671c,_0x418fd5._0x446c82,_0x418fd5._0x1939c6)];_0x587582+=0x1){const _0x644210=_0x485b4e[_0x14b8f6(_0x418fd5._0x27aee1,0x625,0x71f,_0x418fd5._0x4bbf6a)][_0x587582];if(!_0x644210||typeof _0x644210!==_0x14b8f6(0x930,_0x418fd5._0xebe58a,0x802,0x858))throw new ToolExecutionError(_0x12449e(0x4e1,0x598,_0x418fd5._0x5e9292,_0x418fd5._0x314ae9)+(_0x587582+0x1)+_0x12449e(_0x418fd5._0x348335,0x624,_0x418fd5._0x5ac273,0x5de),{'error':_0x14b8f6(_0x418fd5._0x1b757d,0x6f4,0x7b6,_0x418fd5._0x3512fb)});if(typeof _0x644210['id']!==_0x14b8f6(0x85d,0x635,_0x418fd5._0x431c80,_0x418fd5._0x284182)||_0x644210['id']['trim']()['length']===0x0)throw new ToolExecutionError(_0x12449e(_0x418fd5._0x1e2b62,0x2f0,_0x418fd5._0x424797,0x3a8)+(_0x587582+0x1)+':\x20id\x20required',{'error':_0x12449e(0x761,0x950,_0x418fd5._0x39a917,0x6df)});if(typeof _0x644210['content']!==_0x12449e(_0x418fd5._0x536b88,_0x418fd5._0x3d63ac,_0x418fd5._0x50b48f,0x8a5)||_0x644210[_0x12449e(0x691,_0x418fd5._0x57de30,_0x418fd5._0x48a52c,0x808)][_0x12449e(_0x418fd5._0x488fdf,_0x418fd5._0x127600,0x7de,0x73f)]()[_0x12449e(_0x418fd5._0x326f90,0x613,0x697,0x837)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x587582+0x1)+_0x12449e(0x7ce,_0x418fd5._0x9db86f,0x5c6,0x832),{'error':_0x14b8f6(_0x418fd5._0x3174b6,0x79c,0x594,0x581)});if(!isTodoStatus(_0x644210['status']))throw new ToolExecutionError('Todo\x20'+(_0x587582+0x1)+':\x20invalid\x20status',{'error':_0x12449e(0x72f,_0x418fd5._0x4983af,0x5bf,_0x418fd5._0x3d6451)});if(!isTodoPriority(_0x644210['priority']))throw new ToolExecutionError(_0x12449e(0x4e1,_0x418fd5._0x402f7e,0x647,_0x418fd5._0x286119)+(_0x587582+0x1)+_0x14b8f6(0x742,_0x418fd5._0x4e59fb,_0x418fd5._0x58bee0,0xa08),{'error':'invalid_todo_priority'});}const _0x2d871f=_0x485b4e['todos'][_0x14b8f6(0x7ef,0x524,0x723,_0x418fd5._0x3d4d75)](_0x14b5de=>_0x14b5de['id']);function _0x14b8f6(_0x3ab0c3,_0x177240,_0x48dd71,_0x3d60c6){return _0x47b891(_0x3d60c6,_0x48dd71-_0x29b7bb._0x18b39b,_0x48dd71-0xfa,_0x3d60c6-_0x29b7bb._0x5de037);}function _0x12449e(_0x265941,_0x10cf7a,_0x3ea61f,_0x3d23d6){return _0xe18bb0(_0x3ea61f,_0x265941-0x594,_0x3ea61f-0xa0,_0x3d23d6-0xa1);}if(new Set(_0x2d871f)['size']!==_0x2d871f[_0x12449e(_0x418fd5._0x326f90,_0x418fd5._0xe26059,0x944,0x6cd)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x12449e(0x530,0x3de,0x599,0x6f3)});}function createStatsProgress(_0x4c8e63){const _0x5a1f1c={_0x306f09:0x13d,_0x406327:0x35,_0x5dcb8c:0x13,_0x43edf3:0xde,_0x5dcdf1:0x1fc,_0x514c8c:0xdf},_0x20e1a4={_0x48b231:0x561},_0x4dd270={_0x1bda64:0x1d4,_0x352360:0x28};function _0x103596(_0x4e4080,_0x50897a,_0x76d0e6,_0x18d522){return _0x47b891(_0x50897a,_0x4e4080- -0x40b,_0x76d0e6-_0x4dd270._0x1bda64,_0x18d522-_0x4dd270._0x352360);}function _0x25a92a(_0x3f18e3,_0xd6d136,_0x265e29,_0xbf1ba3){return _0x47b891(_0x3f18e3,_0x265e29- -_0x20e1a4._0x48b231,_0x265e29-0x92,_0xbf1ba3-0xcf);}return _0x4c8e63[_0x25a92a(-0x2a,0xcc,0x158,_0x5a1f1c._0x306f09)]>0x0?Math[_0x103596(-0x77,-_0x5a1f1c._0x406327,-0x203,-_0x5a1f1c._0x5dcb8c)](_0x4c8e63[_0x25a92a(-_0x5a1f1c._0x43edf3,-_0x5a1f1c._0x5dcdf1,-_0x5a1f1c._0x514c8c,-0x4a)]/_0x4c8e63['total']*0x64)+'%':'0%';}function createReminderItems(_0x300c96){const _0x196d68={_0x386971:0x7c1,_0x4c11cc:0x855,_0xf5f07:0x827,_0x355e77:0x977},_0x26d95b={_0x4ec4fc:0x140,_0x1a1951:0x1a3};function _0x293859(_0x3c85af,_0x3a5223,_0x3db190,_0x3bbb24){return _0x47b891(_0x3c85af,_0x3db190- -0x3bc,_0x3db190-0x154,_0x3bbb24-0x1ad);}function _0x39488c(_0x5852fb,_0x346f0f,_0xd3a9af,_0x58c38b){return _0xe18bb0(_0x58c38b,_0x5852fb-0x651,_0xd3a9af-_0x26d95b._0x4ec4fc,_0x58c38b-_0x26d95b._0x1a1951);}return _0x300c96[_0x39488c(_0x196d68._0x386971,_0x196d68._0x4c11cc,_0x196d68._0xf5f07,_0x196d68._0x355e77)](_0xb78b9b=>({'content':_0xb78b9b[_0x39488c(0x74e,0x5da,0x7a5,0x749)],'status':_0xb78b9b[_0x39488c(0x869,0x8ac,0x7c7,0x9c4)],'id':_0xb78b9b['id']}));}function createStructuredResult(_0x3f46c2,_0x2056ee,_0x1b14c0,_0x4f1795){const _0x58aca2={_0x2ccc76:0x977,_0x343738:0x979,_0x495650:0x4c6,_0x387690:0x510},_0x32e167={_0x51dc98:0x648,_0x354118:0x5c,_0x3a3f5d:0x1a5},_0x18e460={_0x2d6eca:0x31f,_0x28146e:0x15e,_0x548c7c:0x3f};function _0x594120(_0x4e3692,_0x3004cd,_0x5f1164,_0x51ee2e){return _0xe18bb0(_0x51ee2e,_0x4e3692-_0x18e460._0x2d6eca,_0x5f1164-_0x18e460._0x28146e,_0x51ee2e-_0x18e460._0x548c7c);}function _0x5dfd71(_0x197bcc,_0x4e3b25,_0x362d94,_0x24c0ad){return _0xe18bb0(_0x4e3b25,_0x197bcc-_0x32e167._0x51dc98,_0x362d94-_0x32e167._0x354118,_0x24c0ad-_0x32e167._0x3a3f5d);}return{'allCompleted':_0x4f1795,'items':_0x2056ee[_0x5dfd71(0x7b8,_0x58aca2._0x2ccc76,_0x58aca2._0x343738,0x7be)](_0x1d59e9=>({'id':_0x1d59e9['id'],'content':_0x1d59e9[_0x5dfd71(0x745,0x940,0x8c1,0x820)],'status':_0x1d59e9['status'],'priority':_0x1d59e9[_0x594120(0x34a,0x198,0x2d7,0x198)],'createdAt':_0x1d59e9['createdAt']})),'progress':createStatsProgress(_0x1b14c0),'recentChanges':!![],'sessionId':_0x3f46c2,'stats':_0x1b14c0,'todosWritten':_0x2056ee[_0x594120(_0x58aca2._0x495650,0x413,0x35e,_0x58aca2._0x387690)]};}function createOutputText(_0xc2e674,_0x44d063){const _0x46f1f3={_0x2fa7c6:0x743,_0x203c9e:0x5e5,_0x4aebac:0x63f,_0x4bd21e:0x22a,_0x31022f:0x9f,_0x5dbd8a:0x110,_0x2e245b:0x1cc,_0x1f5179:0x82,_0x4c6ff2:0x5c,_0xc075f0:0x6c,_0x19a280:0x8a,_0x3c2bf2:0x126,_0x527b7:0x82},_0x5ab6be={_0x5a21be:0xf1},_0x5dc028={_0x5670d7:0x1c3,_0x57593a:0x22};function _0x42bf42(_0x34aef6,_0x181cd7,_0x344686,_0x11c150){return _0x47b891(_0x11c150,_0x181cd7-0x12e,_0x344686-_0x5dc028._0x5670d7,_0x11c150-_0x5dc028._0x57593a);}const _0x403546=JSON['stringify'](createReminderItems(_0xc2e674));function _0x51f8fa(_0x322a72,_0x35d75e,_0x470133,_0x414132){return _0xe18bb0(_0x322a72,_0x414132-0x16c,_0x470133-_0x5ab6be._0x5a21be,_0x414132-0x3e);}if(_0x44d063)return _0x42bf42(0x479,0x567,_0x46f1f3._0x2fa7c6,_0x46f1f3._0x203c9e)+_0xc2e674[_0x42bf42(0x57e,0x766,0x5ef,_0x46f1f3._0x4aebac)]+_0x51f8fa(_0x46f1f3._0x4bd21e,0x1ae,0x18f,_0x46f1f3._0x31022f)+_0x403546+_0x51f8fa(-0x68,_0x46f1f3._0x5dbd8a,_0x46f1f3._0x2e245b,_0x46f1f3._0x1f5179);return _0x51f8fa(0x115,-_0x46f1f3._0x4c6ff2,_0x46f1f3._0x2e245b,_0x46f1f3._0xc075f0)+_0x403546+_0x51f8fa(-0x182,_0x46f1f3._0x19a280,_0x46f1f3._0x3c2bf2,_0x46f1f3._0x527b7);}function createTodoWriteTool(_0x4d56a5=new TodoStore()){const _0x57e8e2={_0x2d7ee6:0x305,_0x43825f:0x9,_0x2f758e:0x120,_0x3f574c:0x23c,_0x27bb1a:0x13f,_0x50df71:0x614,_0x738225:0x4a5,_0x377923:0x689,_0x3c5b78:0x571,_0x4cdf2b:0x118,_0x24d8cd:0x22d,_0x4557f4:0x693,_0x1dd295:0x2e,_0x5b2f8f:0x103,_0x11fe63:0x21c,_0x32ca56:0x11,_0x4536e5:0x2e,_0x22b86a:0x11a,_0x45341e:0x605,_0x1a82d2:0x6a0,_0x4fc11e:0x4f6,_0xb246dd:0x313,_0x3f9fe2:0x24,_0x513df1:0x1f1,_0x43086d:0x6f,_0x29e578:0xb8,_0x592bb9:0x357,_0x21da86:0x3a6},_0x46a8d5={_0x3cbf64:0xa6,_0x13b224:0x2ed,_0xafb72:0x21,_0x54ba94:0x165,_0x2b4eff:0x1e2,_0x330e62:0x342,_0x2d6ce3:0x6dd,_0x40262c:0x50a,_0x369438:0x3eb,_0x5e42b2:0x354,_0xf906a9:0x4f2,_0xe7d17c:0x6a1,_0x50a88f:0x627,_0x12cc93:0x4ef},_0x44c57b={_0x5d81aa:0x69,_0x20d0af:0x4d1,_0x325d7e:0x8b},_0x5b204c={_0x251b1e:0x1bc},_0x503f82={_0x2b66c2:0x3d0};function _0x1d13cc(_0x461bd8,_0x173f89,_0x38d4fe,_0x130342){return _0xe18bb0(_0x173f89,_0x38d4fe-_0x503f82._0x2b66c2,_0x38d4fe-0x106,_0x130342-0x68);}function _0x596c88(_0x5db42f,_0x2ff755,_0x3eec02,_0x1a243b){return _0x47b891(_0x1a243b,_0x2ff755- -0x5c8,_0x3eec02-0x62,_0x1a243b-_0x5b204c._0x251b1e);}return defineTool({'name':_0x596c88(_0x57e8e2._0x2d7ee6,0x149,0x8,_0x57e8e2._0x43825f),'permissionClass':_0x596c88(0x8e,_0x57e8e2._0x2f758e,_0x57e8e2._0x3f574c,_0x57e8e2._0x27bb1a),'description':_0x1d13cc(_0x57e8e2._0x50df71,_0x57e8e2._0x738225,_0x57e8e2._0x377923,_0x57e8e2._0x3c5b78),'inputSchema':{'type':_0x596c88(-0x7a,_0x57e8e2._0x4cdf2b,_0x57e8e2._0x24d8cd,-0x87),'properties':{'todos':{'type':_0x1d13cc(0x3cb,0x415,0x503,_0x57e8e2._0x4557f4),'items':{'type':_0x596c88(-_0x57e8e2._0x1dd295,0x118,_0x57e8e2._0x5b2f8f,_0x57e8e2._0x11fe63),'properties':{'content':{'type':_0x596c88(0xb9,-_0x57e8e2._0x32ca56,-_0x57e8e2._0x4536e5,_0x57e8e2._0x22b86a)},'status':{'type':_0x1d13cc(_0x57e8e2._0x45341e,0x636,0x4f6,_0x57e8e2._0x1a82d2)},'priority':{'type':_0x596c88(0x18e,-_0x57e8e2._0x32ca56,0x132,0x90)},'id':{'type':_0x1d13cc(0x4f7,0x5b1,_0x57e8e2._0x4fc11e,_0x57e8e2._0xb246dd)},'createdAt':{'type':'string'}},'required':['content',_0x596c88(_0x57e8e2._0x3f9fe2,0xe1,_0x57e8e2._0x513df1,_0x57e8e2._0x43086d),_0x596c88(-_0x57e8e2._0x29e578,-0x10c,0x102,0x1b),'id']}}},'required':[_0x1d13cc(0x451,_0x57e8e2._0x592bb9,0x53c,_0x57e8e2._0x21da86)]},async *'execute'(_0x2cea67,_0x2ef7c5){const _0x1009bc={_0x1f82cd:0x35a};function _0x1a625e(_0x4e6856,_0x310557,_0x1c6b97,_0x141f82){return _0x1d13cc(_0x4e6856-0x1d6,_0x4e6856,_0x310557- -_0x1009bc._0x1f82cd,_0x141f82-0x84);}const _0x36ea96=_0x2cea67;validateTodos(_0x36ea96);function _0x37cc3b(_0x23faac,_0x519976,_0x2d7842,_0x3c077f){return _0x596c88(_0x23faac-_0x44c57b._0x5d81aa,_0x519976-_0x44c57b._0x20d0af,_0x2d7842-_0x44c57b._0x325d7e,_0x2d7842);}const _0x3d02f0=_0x2ef7c5['sessionId']||_0x1a625e(-0x55,_0x46a8d5._0x3cbf64,-0x45,0x288),_0x54f878=new Date()[_0x1a625e(_0x46a8d5._0x13b224,0x12b,0x169,_0x46a8d5._0xafb72)](),_0x10dafc=_0x36ea96[_0x1a625e(_0x46a8d5._0x54ba94,_0x46a8d5._0x2b4eff,_0x46a8d5._0x330e62,0x213)][_0x37cc3b(_0x46a8d5._0x2d6ce3,_0x46a8d5._0x40262c,0x332,0x3b2)](_0x2e69c4=>({'id':_0x2e69c4['id'],'content':_0x2e69c4[_0x1a625e(0x10a,0x173,0x230,0x1c5)],'status':_0x2e69c4[_0x37cc3b(0x498,0x5b2,0x4c4,0x4d5)],'priority':_0x2e69c4['priority'],'sessionId':_0x3d02f0,'createdAt':_0x2e69c4[_0x37cc3b(0x4d9,0x49a,0x2f5,0x525)]||_0x54f878,'updatedAt':_0x54f878}));_0x4d56a5[_0x37cc3b(_0x46a8d5._0x369438,0x4e8,0x5bf,0x40e)](_0x3d02f0,_0x10dafc);const _0x1e0486=_0x4d56a5[_0x37cc3b(_0x46a8d5._0x5e42b2,_0x46a8d5._0xf906a9,_0x46a8d5._0xe7d17c,_0x46a8d5._0x50a88f)](_0x3d02f0),_0x3f5e0e=_0x10dafc['length']>0x0&&_0x10dafc[_0x37cc3b(_0x46a8d5._0x12cc93,0x688,0x75d,0x7ef)](_0x4e2fd3=>_0x4e2fd3[_0x1a625e(0x2da,0x28e,0x236,0x3ac)]===_0x1a625e(-0xb9,0x67,0x216,0x222));return createToolOutput(createOutputText(_0x10dafc,_0x3f5e0e),createStructuredResult(_0x3d02f0,_0x10dafc,_0x1e0486,_0x3f5e0e));}});}function createUpdateTopicTool(){const _0x5ae626={_0x507590:0x148,_0x1cf8ad:0x16d,_0x4aa2c6:0xbf,_0x3f4808:0xce,_0xf9f870:0xa6,_0x1d3947:0xc2,_0x808be3:0x52f,_0x26f735:0x2c8,_0x225c22:0x1cc,_0x2561ec:0x41c,_0x2682b1:0xa8},_0x93eafb={_0x435c3c:0x27b,_0x51ce32:0x3f1,_0x31e8df:0x3be,_0x1d54ef:0x56d,_0x8c853e:0x501,_0x9c3750:0x450,_0x349de1:0x208,_0x2f42d4:0x3bc,_0x1ecb09:0x29f,_0x4aab01:0x3b9,_0x5ccbf9:0x216,_0x9bc15c:0xce,_0x10f4a2:0x27,_0x32f4b8:0x22f,_0x5752da:0x39c,_0x477d23:0x432},_0xfaa4ac={_0x35a205:0x38,_0x3e8f3c:0x99},_0xe7e136={_0x44a371:0x1ad,_0x1a2b46:0x18d,_0xd91714:0x22},_0x12956e={_0x36644a:0x66},_0x4632ab={_0x2e56cc:0x559,_0x52b9fc:0x95};function _0x3db89d(_0x13aa23,_0x305c6d,_0xeda3e8,_0x5d36da){return _0x47b891(_0x305c6d,_0xeda3e8- -_0x4632ab._0x2e56cc,_0xeda3e8-0x135,_0x5d36da-_0x4632ab._0x52b9fc);}function _0x58570d(_0x2610f3,_0x22a71b,_0x51e6f4,_0x488948){return _0x47b891(_0x488948,_0x22a71b- -0x24c,_0x51e6f4-_0x12956e._0x36644a,_0x488948-0x1a4);}return defineTool({'name':_0x3db89d(-0x1ee,-_0x5ae626._0x507590,-_0x5ae626._0x1cf8ad,-_0x5ae626._0x4aa2c6),'permissionClass':_0x3db89d(0x33f,_0x5ae626._0x3f4808,0x18f,0x187),'description':_0x3db89d(0x2ea,-_0x5ae626._0xf9f870,0x102,-_0x5ae626._0x1d3947),'inputSchema':{'type':_0x58570d(_0x5ae626._0x808be3,0x494,0x5df,_0x5ae626._0x26f735),'properties':{'topic':{'type':_0x58570d(_0x5ae626._0x225c22,0x36b,0x29b,_0x5ae626._0x2561ec)}},'required':[_0x3db89d(_0x5ae626._0x2682b1,-0x17b,0x8d,-0xf8)]},async *'execute'(_0x2a6b48,_0x1273c5){const {topic:_0x39e6be}=_0x2a6b48;if(typeof _0x39e6be!==_0x47db74(_0x93eafb._0x435c3c,_0x93eafb._0x51ce32,_0x93eafb._0x31e8df,0x333)||_0x39e6be[_0x47db74(0x4b7,0x68a,_0x93eafb._0x1d54ef,_0x93eafb._0x8c853e)]()[_0x47db74(_0x93eafb._0x9c3750,0x273,_0x93eafb._0x349de1,0x3b4)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x47db74(_0x93eafb._0x2f42d4,_0x93eafb._0x1ecb09,0x21a,0x2d8)});const _0x338ec6=_0x39e6be[_0x264163(_0x93eafb._0x4aab01,0x3ef,0x42b,_0x93eafb._0x5ccbf9)]();function _0x264163(_0x2206f9,_0x1d3015,_0x377fc5,_0x2acb3e){return _0x3db89d(_0x2206f9-_0xe7e136._0x44a371,_0x377fc5,_0x2206f9-_0xe7e136._0x1a2b46,_0x2acb3e-_0xe7e136._0xd91714);}function _0x47db74(_0x41b5e0,_0x54d7ba,_0xa9e49b,_0x1f1db4){return _0x58570d(_0x41b5e0-0x100,_0x1f1db4- -_0xfaa4ac._0x35a205,_0xa9e49b-_0xfaa4ac._0x3e8f3c,_0xa9e49b);}return _0x1273c5[_0x264163(_0x93eafb._0x9bc15c,_0x93eafb._0x10f4a2,0x199,_0x93eafb._0x32f4b8)]?.(_0x338ec6),yield createToolOutput(_0x47db74(_0x93eafb._0x5752da,_0x93eafb._0x477d23,0x44d,0x345)+_0x338ec6+'\x22',{'topic':_0x338ec6}),void 0x0;}});}import{randomUUID as _0x3cf3f9}from'crypto';import{StringDecoder}from'string_decoder';function _0x47b891(_0x42f8bb,_0x483cfe,_0x26a447,_0x2566e4){const _0x4f93b2={_0x28e5dd:0x1e1};return _0x678a(_0x483cfe-_0x4f93b2._0x28e5dd,_0x42f8bb);}import{spawn as _0x1dfa11}from'child_process';function errorMessage(_0x3df21c){return _0x3df21c instanceof Error?_0x3df21c['message']:String(_0x3df21c);}function isNotFound(_0x14a850){const _0x4de2a1={_0x54881b:0x64c,_0x32ab8b:0x744,_0x2828cd:0x5d8,_0x4437d:0x672,_0x51a6be:0x40f,_0x52c7f2:0x485,_0x3aebaf:0x71b,_0x2b1368:0x798,_0x531b31:0x831},_0x238f51={_0x39e2ce:0x16e},_0x29b1f7={_0x36ba27:0x36,_0x53e74a:0x4};function _0x13efc2(_0x58fcf4,_0x2b6582,_0x340b74,_0x13d9b1){return _0xe18bb0(_0x340b74,_0x58fcf4-0x544,_0x340b74-_0x29b1f7._0x36ba27,_0x13d9b1-_0x29b1f7._0x53e74a);}function _0x4c8b7e(_0x21b6f0,_0x1ce94a,_0x45403c,_0x54c210){return _0xe18bb0(_0x54c210,_0x1ce94a-0x4f5,_0x45403c-0x1ba,_0x54c210-_0x238f51._0x39e2ce);}return typeof _0x14a850===_0x4c8b7e(_0x4de2a1._0x54881b,_0x4de2a1._0x32ab8b,0x925,0x64e)&&_0x14a850!==null&&_0x13efc2(_0x4de2a1._0x2828cd,_0x4de2a1._0x4437d,0x605,0x59c)in _0x14a850&&_0x14a850[_0x13efc2(0x5d8,_0x4de2a1._0x51a6be,0x402,_0x4de2a1._0x52c7f2)]===_0x13efc2(_0x4de2a1._0x3aebaf,0x649,_0x4de2a1._0x2b1368,_0x4de2a1._0x531b31);}function isSafeProcessId(_0x49d337){const _0x1dece5={_0x236cf1:0x4cd,_0x1c0ec4:0x42d,_0x168118:0x486},_0x5b25fe={_0x408845:0x82};function _0x3ab166(_0x20a099,_0x28b371,_0x4bab6e,_0x5de5e7){return _0x47b891(_0x28b371,_0x5de5e7-_0x5b25fe._0x408845,_0x4bab6e-0x133,_0x5de5e7-0x9e);}return _0x49d337!==void 0x0&&Number[_0x3ab166(_0x1dece5._0x236cf1,0x660,_0x1dece5._0x1c0ec4,_0x1dece5._0x168118)](_0x49d337)&&_0x49d337>0x1;}function createProcessTreeSignalAdapter(_0x30b72f={}){const _0x494d36={_0x418ce6:0x767,_0xd7b5e3:0x63f,_0x48ac48:0x7e8,_0x45f819:0x774,_0x1cb8f9:0x34,_0x37c259:0x5e5,_0x256340:0x4df},_0x132037={_0x22d3c1:0xfc,_0x4fe923:0xff,_0x260bde:0x3dd,_0x4f0880:0x2c0,_0x2cfe58:0x56b,_0x2f74a1:0x442,_0x2691ec:0x111,_0x55b9f4:0x24,_0x455ccb:0x57,_0x287fa3:0x45d,_0x2dcdfe:0x598,_0x7fcb39:0x4e7,_0x48e6b4:0x5a5,_0x32e95e:0x3dd,_0x322fc0:0x377,_0x5adf1c:0x564,_0x24c2b1:0x368,_0x2d8d34:0x54e,_0x423faa:0x4bd,_0x42680c:0x3dd,_0x59f735:0x591},_0x100f8e={_0x5d3cbc:0x432},_0x51aee2={_0x1afe1c:0xcc},_0x35a0a0={_0x31472a:0x1a1};function _0x76cff(_0x2ee20a,_0xb2e1cd,_0x334c9d,_0x105923){return _0xe18bb0(_0xb2e1cd,_0x2ee20a-0x3a7,_0x334c9d-0x103,_0x105923-_0x35a0a0._0x31472a);}const _0x4103f5=_0x30b72f[_0x76cff(0x63f,0x50b,_0x494d36._0x418ce6,0x82b)]??process[_0x76cff(_0x494d36._0xd7b5e3,_0x494d36._0x48ac48,_0x494d36._0x45f819,0x4f1)],_0x2bb4af=_0x30b72f[_0x56fd68(0x109,-0x1,0x188,-_0x494d36._0x1cb8f9)]??process['kill']['bind'](process);function _0x56fd68(_0x48181b,_0x262a83,_0x2639db,_0x420a03){return _0xe18bb0(_0x2639db,_0x262a83- -0x25,_0x2639db-_0x51aee2._0x1afe1c,_0x420a03-0x6f);}const _0x491ecd=_0x30b72f[_0x76cff(0x46b,_0x494d36._0x37c259,_0x494d36._0x256340,0x65a)]??_0x1dfa11;return{async 'signal'(_0x420695,_0x51bf62){const _0x353557={_0x242c13:0x52d,_0x522c31:0x34d,_0x256c6d:0x561,_0x58df6f:0x526,_0x23ab17:0x596,_0x5166c5:0x487,_0x320351:0x43f,_0x57ed30:0x3d2,_0x264d83:0x5db,_0x4b2c9b:0x69f,_0x52ad8e:0x951,_0x5de244:0x8ec,_0x117cfd:0x7bd},_0x4486e8={_0x55c8c3:0x155,_0x419e63:0x38f},_0x2e71df={_0x5ade01:0x1b,_0x4ae144:0x271},_0x4afd51={_0xcda228:0x30,_0x50c32c:0x1aa,_0x2e2ac5:0x90};if(_0x4103f5!=='win32'){if(!isSafeProcessId(_0x420695[_0x2954ba(-0x7c,_0x132037._0x22d3c1,-0xab,_0x132037._0x4fe923)]))return{'outcome':_0x2954ba(0x309,0x383,0x1ce,_0x132037._0x260bde),'error':_0x2944df(_0x132037._0x4f0880,0x5c7,_0x132037._0x2cfe58,_0x132037._0x2f74a1)};try{return _0x2bb4af(-_0x420695[_0x2954ba(_0x132037._0x2691ec,-_0x132037._0x55b9f4,_0x132037._0x455ccb,0xff)],_0x51bf62==='graceful'?'SIGTERM':_0x2944df(_0x132037._0x287fa3,_0x132037._0x2dcdfe,0x67a,_0x132037._0x7fcb39)),{'outcome':'delivered'};}catch(_0x14bcc0){return isNotFound(_0x14bcc0)?{'outcome':'not-found','error':errorMessage(_0x14bcc0)}:{'outcome':_0x2954ba(_0x132037._0x48e6b4,0x308,0x520,_0x132037._0x32e95e),'error':errorMessage(_0x14bcc0)};}}function _0x2954ba(_0xafb781,_0x2a5364,_0x271a6a,_0x385095){return _0x56fd68(_0xafb781-_0x4afd51._0xcda228,_0x385095-_0x4afd51._0x50c32c,_0x271a6a,_0x385095-_0x4afd51._0x2e2ac5);}function _0x2944df(_0x40dd82,_0x256436,_0x36a798,_0x931f06){return _0x56fd68(_0x40dd82-0x164,_0x931f06-_0x100f8e._0x5d3cbc,_0x40dd82,_0x931f06-0x66);}if(!isSafeProcessId(_0x420695[_0x2944df(_0x132037._0x322fc0,_0x132037._0x5adf1c,_0x132037._0x24c2b1,_0x132037._0x2d8d34)]))return{'outcome':_0x2954ba(0x38a,0x49e,_0x132037._0x423faa,_0x132037._0x42680c),'error':_0x2944df(0x425,0x4b1,0x481,_0x132037._0x59f735)};return new Promise(_0x32c43c=>{const _0x367480={_0x40edd4:0x1b5,_0x1cfefc:0x122,_0x38a63:0x2f2,_0x50e0f1:0x7f,_0x2776f:0xc8},_0x3e094f={_0x16417d:0x157},_0x29c1ba={_0x3b815d:0x5b7},_0x1f8fc5={_0x2c1453:0x2c2};let _0x265594=![];const _0x532770=_0x303e68=>{if(_0x265594)return;_0x265594=!![],_0x32c43c(_0x303e68);};function _0x392c24(_0x4b5e1b,_0x5c702f,_0x53d82a,_0x47a3a1){return _0x2954ba(_0x4b5e1b-0x187,_0x5c702f-_0x2e71df._0x5ade01,_0x5c702f,_0x53d82a-_0x2e71df._0x4ae144);}function _0x268d9e(_0x5d93de,_0x37ff85,_0xc77d2c,_0x45baf0){return _0x2954ba(_0x5d93de-0x193,_0x37ff85-_0x4486e8._0x55c8c3,_0x37ff85,_0xc77d2c-_0x4486e8._0x419e63);}let _0x31a1cf;try{const _0x232e85=[_0x268d9e(0x739,0x6e2,_0x353557._0x242c13,_0x353557._0x522c31),String(_0x420695[_0x268d9e(_0x353557._0x256c6d,0x6e2,0x655,0x558)]),'/T'];if(_0x51bf62===_0x268d9e(_0x353557._0x58df6f,0x551,0x5b9,_0x353557._0x23ab17))_0x232e85[_0x268d9e(0x44f,_0x353557._0x5166c5,_0x353557._0x320351,_0x353557._0x57ed30)]('/F');_0x31a1cf=_0x491ecd('taskkill',_0x232e85,{'stdio':'ignore','windowsHide':!![]});}catch(_0x3cb8bf){_0x532770({'outcome':'failed','error':errorMessage(_0x3cb8bf)});return;}_0x31a1cf[_0x392c24(0x5a7,_0x353557._0x264d83,_0x353557._0x4b2c9b,0x885)](_0x268d9e(0x280,0x481,0x43a,0x514),_0x4a0cde=>{const _0x4f1dc2={_0x493ac9:0x2dd};function _0x210206(_0x383574,_0x188ec7,_0x3661fb,_0x2743a1){return _0x392c24(_0x383574-0x1b2,_0x3661fb,_0x188ec7- -_0x4f1dc2._0x493ac9,_0x2743a1-0x6d);}_0x532770(isNotFound(_0x4a0cde)?{'outcome':_0x210206(0x2a0,0x34f,0x18d,_0x1f8fc5._0x2c1453),'error':errorMessage(_0x4a0cde)}:{'outcome':'failed','error':errorMessage(_0x4a0cde)});}),_0x31a1cf[_0x268d9e(_0x353557._0x52ad8e,_0x353557._0x5de244,_0x353557._0x117cfd,0x6f0)]('close',_0x3baa36=>{function _0x96cc58(_0xcda50d,_0x1f251f,_0x46ea26,_0x739e0b){return _0x268d9e(_0xcda50d-0x5c,_0x46ea26,_0x1f251f- -_0x29c1ba._0x3b815d,_0x739e0b-0xe4);}function _0x41de4c(_0x3a7e21,_0x1072af,_0x5c6c81,_0x53cc5b){return _0x392c24(_0x3a7e21-0x22,_0x53cc5b,_0x5c6c81- -0x31f,_0x53cc5b-_0x3e094f._0x16417d);}_0x532770(_0x3baa36===0x0?{'outcome':'delivered'}:{'outcome':_0x96cc58(0xa4,_0x367480._0x40edd4,_0x367480._0x1cfefc,_0x367480._0x38a63),'error':_0x96cc58(0x93,0x1e1,_0x367480._0x50e0f1,_0x367480._0x2776f)+String(_0x3baa36)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x1b30d7){const _0x1194ca={_0x526f99:0x6af,_0x62cf2b:0x3e3},_0xfb7750={_0x691232:0x115};function _0x1e3bb4(_0x34d87b,_0x1f175c,_0x5ada57,_0x147f1d){return _0x47b891(_0x147f1d,_0x5ada57- -0xd0,_0x5ada57-0xf,_0x147f1d-_0xfb7750._0x691232);}const _0x2a07b5=_0x1b30d7[_0x1e3bb4(0x3e0,_0x1194ca._0x526f99,0x54f,_0x1194ca._0x62cf2b)](0x0)??0x0;return _0x2a07b5<0x20&&_0x1b30d7!=='\x09'||_0x2a07b5>=0x7f&&_0x2a07b5<=0x9f||_0x2a07b5===0xa0||_0x2a07b5>=0x200b&&_0x2a07b5<=0x200f||_0x2a07b5>=0x2060&&_0x2a07b5<=0x2069||_0x2a07b5===0x23ce||_0x2a07b5===0x2424;}function createTerminalOutputNormalizer(){const _0xa8a02c={_0x3c491a:0xc2},_0x1c2793={_0x479827:0x436},_0x282846={_0x22e5e7:0x3cc,_0x5c1c89:0x33c,_0x30ce37:0x34e,_0xa19c92:0x3ad,_0x11e5b8:0x2b0,_0x395368:0x366,_0x52412e:0x6d1,_0x38be3e:0x306,_0x40dcd2:0x506,_0x4cba06:0x3d6,_0x51fa70:0x6b4,_0xd69931:0x236,_0x24449b:0x443,_0x45a96a:0x30b,_0x35fb18:0x3c3,_0x2a893b:0x486,_0x201296:0x4b0,_0x48b9dc:0x551,_0x1b1b92:0x379,_0xb69289:0x44c,_0x1804f5:0x200,_0x4fc43f:0x53e,_0x23ca10:0x725,_0x345830:0x5f4,_0x3e71dd:0x236,_0x38c1f3:0x162,_0xc7417e:0x313,_0x1b1c23:0x233,_0x571f6f:0x4ed},_0x2c3d7f={_0x15c7e2:0xf8},_0x1c4441={_0x20c8fc:0xa,_0x4e473e:0x9a},_0x2abb64={_0x4fd233:0x10f,_0xbcf5bc:0x22},_0x1c1e3e={_0x953401:0x15,_0x588b46:0x436},_0x264f9b={_0x12187a:0x161};let _0xbfc80f=_0xb8898(-0xf4,0xeb,0xdf,_0xa8a02c._0x3c491a),_0x38255f=![],_0x20c451=![],_0x8b1bc1=[],_0x397d58=0x0,_0x53b880=![];function _0xb8898(_0x3d6aae,_0x500913,_0x2ff3ea,_0x44becc){return _0x47b891(_0x3d6aae,_0x44becc- -0x58f,_0x2ff3ea-_0x264f9b._0x12187a,_0x44becc-0x58);}const _0x3a5876=()=>{_0x8b1bc1=[],_0x397d58=0x0;},_0x7b3e30=_0x2282f7=>{_0x8b1bc1['push'](_0x2282f7);function _0x5f01ea(_0x576e80,_0x387c5b,_0x3a38e6,_0x5d8e68){return _0xb8898(_0x576e80,_0x387c5b-0xa3,_0x3a38e6-_0x1c1e3e._0x953401,_0x387c5b-_0x1c1e3e._0x588b46);}_0x397d58+=_0x2282f7[_0x5f01ea(0x329,0x4df,0x5ac,0x69e)];function _0x18d6f8(_0x4a1fba,_0xdca256,_0x119ec7,_0x3c703e){return _0xb8898(_0x119ec7,_0xdca256-_0x2abb64._0x4fd233,_0x119ec7-0x1e0,_0x4a1fba- -_0x2abb64._0xbcf5bc);}while(_0x397d58>MAX_PROGRESS_LINE_CHARS){const _0x15f7f0=_0x8b1bc1[_0x18d6f8(-0x133,-0x123,_0x1c4441._0x20c8fc,_0x1c4441._0x4e473e)]();if(_0x15f7f0===void 0x0)break;_0x397d58-=_0x15f7f0['length'];}},_0x4b0f45=_0x247885=>{const _0x5c6cd7=_0x8b1bc1[_0x4daa0f(0x819,0x591,0x7fe,0x61c)]('')+(_0x247885?'\x0a':'');_0x3a5876();function _0x4daa0f(_0x273947,_0x299551,_0x4b407c,_0x45f831){return _0xb8898(_0x273947,_0x299551-_0x2c3d7f._0x15c7e2,_0x4b407c-0xff,_0x45f831-0x638);}return _0x5c6cd7;},_0x28e631=_0x509f78=>{const _0x77b6={_0x156b55:0x1f2,_0x6cb0b8:0x18d,_0x58900e:0x3f8},_0x10d0c8={_0x2b86b2:0xf9};if(_0x53b880)throw new Error(_0xf490b2(0x494,_0x282846._0x22e5e7,_0x282846._0x5c1c89,0x48a));let _0x24ad58='';function _0x33b06f(_0x4f1b28,_0x2ddce7,_0x1c763f,_0xbc5e9){return _0xb8898(_0x2ddce7,_0x2ddce7-0x16a,_0x1c763f-_0x10d0c8._0x2b86b2,_0x4f1b28-0x40b);}function _0xf490b2(_0xdcb8c2,_0x5c9d58,_0x4f000f,_0xfd5173){return _0xb8898(_0x5c9d58,_0x5c9d58-_0x77b6._0x156b55,_0x4f000f-_0x77b6._0x6cb0b8,_0x4f000f-_0x77b6._0x58900e);}for(const _0x4688eb of _0x509f78){if(_0xbfc80f===_0xf490b2(0x24f,0x52f,0x3fe,_0x282846._0x30ce37)){const _0x54b28e=_0x4688eb[_0xf490b2(0x5e1,0x309,0x488,_0x282846._0xa19c92)](0x0)??0x0;if(_0x54b28e>=0x40&&_0x54b28e<=0x7e)_0xbfc80f='text';continue;}if(_0xbfc80f===_0xf490b2(_0x282846._0x11e5b8,0x16c,_0x282846._0x395368,0x401)||_0xbfc80f===_0xf490b2(0x68f,_0x282846._0x52412e,0x513,0x5ea)){if(_0x38255f){_0x4688eb==='\x5c'?(_0xbfc80f='text',_0x38255f=![]):_0x38255f=_0x4688eb===ESC;continue;}if(_0x4688eb===ESC)_0x38255f=!![];else _0xbfc80f===_0xf490b2(_0x282846._0x38be3e,_0x282846._0x40dcd2,_0x282846._0x395368,0x4e6)&&_0x4688eb===BEL&&(_0xbfc80f=_0x33b06f(0x4cd,_0x282846._0x4cba06,0x6bb,_0x282846._0x51fa70));continue;}if(_0xbfc80f===_0x33b06f(_0x282846._0xd69931,_0x282846._0x24449b,_0x282846._0x45a96a,_0x282846._0x35fb18)){if(_0x4688eb==='[')_0xbfc80f=_0xf490b2(_0x282846._0x2a893b,_0x282846._0x201296,0x3fe,_0x282846._0x48b9dc);else{if(_0x4688eb===']')_0xbfc80f=_0x33b06f(_0x282846._0x1b1b92,_0x282846._0xb69289,0x20c,_0x282846._0x1804f5),_0x38255f=![];else _0x4688eb==='P'||_0x4688eb==='_'||_0x4688eb==='^'?(_0xbfc80f=_0x33b06f(0x526,_0x282846._0x4fc43f,_0x282846._0x23ca10,_0x282846._0x345830),_0x38255f=![]):_0xbfc80f='text';}continue;}if(_0x20c451){_0x20c451=![];if(_0x4688eb==='\x0a'){_0x24ad58+=_0x4b0f45(!![]);continue;}_0x3a5876();}if(_0x4688eb===ESC)_0xbfc80f=_0x33b06f(_0x282846._0x3e71dd,_0x282846._0x38c1f3,_0x282846._0xc7417e,_0x282846._0x1b1c23);else{if(_0x4688eb==='\x0d')_0x20c451=!![];else{if(_0x4688eb==='\x0a')_0x24ad58+=_0x4b0f45(!![]);else{if(_0x4688eb==='\x08'){const _0x4c2fe4=_0x8b1bc1['pop']();if(_0x4c2fe4!==void 0x0)_0x397d58-=_0x4c2fe4[_0xf490b2(0x4ed,0x6a4,0x4a1,_0x282846._0x571f6f)];}else!isDiscardedTextControl(_0x4688eb)&&_0x7b3e30(_0x4688eb);}}}}return _0x24ad58;};return{'write':_0x28e631,'end'(){const _0x25fea={_0x3ee0ff:0xee};if(_0x53b880)return'';_0x53b880=!![],_0x20c451=![];function _0x2366cc(_0x1a65cb,_0x1ceb85,_0x3fba29,_0xbf58b2){return _0xb8898(_0x1a65cb,_0x1ceb85-_0x25fea._0x3ee0ff,_0x3fba29-0x112,_0x3fba29-0x46f);}return _0xbfc80f=_0x2366cc(0x64e,_0x1c2793._0x479827,0x531,0x6dc),_0x38255f=![],_0x4b0f45(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0xf2004b){const _0x2d75af={_0x46f888:0x135,_0x168e45:0x22a,_0x40d0c4:0xa0d,_0x5e28e3:0x963,_0x1893a1:0x894,_0x4d4567:0x95b,_0x2b2e0b:0x3c5},_0x153a83={_0x2d7dad:0x112,_0x897a91:0x1d1},_0x6768ab={_0x22c717:0xc8};super(_0x199fbc(_0x2d75af._0x46f888,0xb9,_0x2d75af._0x168e45,0x1da));function _0x1a594b(_0x4a064b,_0x52448c,_0x4434f7,_0x58ec3d){return _0xe18bb0(_0x4a064b,_0x58ec3d-0x654,_0x4434f7-0x128,_0x58ec3d-_0x6768ab._0x22c717);}this[_0x1a594b(_0x2d75af._0x40d0c4,_0x2d75af._0x5e28e3,_0x2d75af._0x1893a1,_0x2d75af._0x4d4567)]=_0xf2004b;function _0x199fbc(_0xdaf968,_0x30f50b,_0x3d66dd,_0x2f65f3){return _0x47b891(_0xdaf968,_0x30f50b- -0x5a8,_0x3d66dd-_0x153a83._0x2d7dad,_0x2f65f3-_0x153a83._0x897a91);}this[_0x1a594b(0x3a0,_0x2d75af._0x2b2e0b,0x4ed,0x5aa)]='BackgroundProcessCleanupError';}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x55ec8f){const _0x435c18={_0x343974:0x2f,_0x19322b:0x183,_0x5d1cbc:0x115,_0x1356c1:0x3a,_0x3ec831:0xf},_0x415b68={_0x1f4066:0x33,_0x19c9a0:0x181},_0x1839ea={_0x4f02ba:0x2f0,_0x3a3c16:0x117,_0x1f6d9a:0xec};function _0x49bf58(_0x3a9741,_0x5f8c9f,_0x2e3495,_0x592844){return _0xe18bb0(_0x592844,_0x3a9741-_0x1839ea._0x4f02ba,_0x2e3495-_0x1839ea._0x3a3c16,_0x592844-_0x1839ea._0x1f6d9a);}function _0x317d8c(_0x2f3f94,_0x2100a0,_0x1531ec,_0xf1c075){return _0xe18bb0(_0x2f3f94,_0x2100a0- -_0x415b68._0x1f4066,_0x1531ec-_0x415b68._0x19c9a0,_0xf1c075-0x147);}return _0x55ec8f===_0x317d8c(-0x19,-_0x435c18._0x343974,0xed,-_0x435c18._0x19322b)||_0x55ec8f===_0x317d8c(-_0x435c18._0x5d1cbc,_0x435c18._0x1356c1,_0x435c18._0x3ec831,0xb1)||_0x55ec8f==='error';}var BackgroundProcessRegistry=class{[_0x47b891(0x3b6,0x3cb,0x27c,0x397)]=new Map();['reservations']=new Map();[_0xe18bb0(-0xa3,0x109,0x278,0xd0)];['maxEntries'];['capChars'];[_0x47b891(0x642,0x729,0x739,0x7cf)];[_0x47b891(0x490,0x5d4,0x51b,0x75d)];[_0xe18bb0(0x20,-0xc7,-0x214,-0xa4)]=0x0;constructor(_0x22be46={}){const _0x6e5024={_0x20fc70:0x3f7,_0x5798c2:0x23b,_0x151869:0x3c3,_0x545ebb:0x2c8,_0x43bcf2:0x40e,_0x551c67:0x617,_0x3181f3:0x570,_0x1a98ae:0x3c9,_0x3372db:0x458,_0x4afa18:0x36c,_0x1573af:0x313,_0x134ffb:0x302,_0x402c61:0x69d,_0x1165ed:0x50f,_0xdcda1a:0x2c7,_0x573596:0x3fd,_0x28da95:0x61d},_0x76d768={_0x2fd18d:0x306,_0x33073a:0x1d2,_0x1bc019:0xfd},_0x390d31={_0x3e972b:0x1d7,_0x18d980:0x18b};this[_0x27e65e(0x458,_0x6e5024._0x20fc70,_0x6e5024._0x5798c2,_0x6e5024._0x151869)]=_0x22be46['maxConcurrent']??0xa;function _0x27e65e(_0x18bf51,_0x19ba7,_0xcbfdb,_0x534d4b){return _0x47b891(_0x19ba7,_0x534d4b- -_0x390d31._0x3e972b,_0xcbfdb-_0x390d31._0x18d980,_0x534d4b-0x1a0);}this['maxEntries']=_0x22be46['maxEntries']??0x40,this[_0x4c2eb1(_0x6e5024._0x545ebb,_0x6e5024._0x43bcf2,0x586,_0x6e5024._0x551c67)]=_0x22be46[_0x27e65e(_0x6e5024._0x3181f3,_0x6e5024._0x1a98ae,0x634,0x53d)]??0x100000,this[_0x4c2eb1(_0x6e5024._0x3372db,0x423,0x49c,_0x6e5024._0x4afa18)]=_0x22be46[_0x4c2eb1(_0x6e5024._0x1573af,0x423,0x567,_0x6e5024._0x134ffb)]??process[_0x27e65e(_0x6e5024._0x402c61,_0x6e5024._0x1165ed,0x40f,0x552)];function _0x4c2eb1(_0x451a00,_0x16dc4c,_0x1ff70a,_0x2ea138){return _0x47b891(_0x1ff70a,_0x16dc4c- -_0x76d768._0x2fd18d,_0x1ff70a-_0x76d768._0x33073a,_0x2ea138-_0x76d768._0x1bc019);}this[_0x27e65e(0x374,_0x6e5024._0xdcda1a,0x26f,_0x6e5024._0x573596)]=_0x22be46[_0x27e65e(0x5b7,0x3f0,0x1f2,_0x6e5024._0x573596)]??createProcessTreeSignalAdapter({'platform':this[_0x4c2eb1(0x3c8,0x423,0x370,_0x6e5024._0x28da95)]});}[_0x47b891(0x368,0x4a7,0x352,0x67d)](){const _0x331d6c={_0x47f7f1:0x1f8,_0x46f153:0x51e,_0x1516a0:0x56e,_0x2287ef:0x403,_0x2d6c46:0x26b,_0x2c59e2:0x27,_0x56a225:0x56,_0x5c436e:0x262,_0x1a0701:0x38,_0x30ce58:0x268,_0x580667:0x2f3,_0x35b29d:0x1f5,_0x248cab:0x3db,_0x17db43:0x160,_0x5637a1:0x2b5,_0x35959d:0x29f,_0x591405:0x159},_0x438bc2={_0x7c2ae2:0x2a7,_0x191da5:0x2d},_0x537621={_0x9149c0:0xaa,_0x5c6e5c:0x14},_0x5609c7=[...this['entries'][_0x3e8e12(0x257,0x312,_0x331d6c._0x47f7f1,0x454)]()][_0x40d315(_0x331d6c._0x46f153,0x443,_0x331d6c._0x1516a0,0x5db)](_0x2b8cca=>!_0x2b8cca[_0x3e8e12(0x1ba,0x26d,0x338,0x56)]);function _0x3e8e12(_0x7d0957,_0x24c157,_0x4f17c5,_0xe82bd1){return _0xe18bb0(_0x4f17c5,_0x7d0957-0x66,_0x4f17c5-_0x537621._0x9149c0,_0xe82bd1-_0x537621._0x5c6e5c);}if(_0x5609c7[_0x3e8e12(0x20d,_0x331d6c._0x2287ef,0x1ea,_0x331d6c._0x2d6c46)]+this[_0x3e8e12(0xf1,-0x23,-_0x331d6c._0x2c59e2,_0x331d6c._0x56a225)][_0x3e8e12(0x20f,_0x331d6c._0x5c436e,_0x331d6c._0x1a0701,0x2ee)]>=this[_0x40d315(_0x331d6c._0x30ce58,0x2f3,0x491,0x205)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this['maxConcurrent']+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x40d315(0x36d,_0x331d6c._0x580667,_0x331d6c._0x35b29d,_0x331d6c._0x248cab)]});const _0x6a9294=Object[_0x3e8e12(0x9c,-0x173,0x2c,-_0x331d6c._0x17db43)]({'id':_0x3cf3f9()});function _0x40d315(_0x342a43,_0x1ad24c,_0xa5e92a,_0x5e721b){return _0x47b891(_0xa5e92a,_0x1ad24c- -_0x438bc2._0x7c2ae2,_0xa5e92a-0x129,_0x5e721b-_0x438bc2._0x191da5);}return this[_0x40d315(_0x331d6c._0x5637a1,0x275,_0x331d6c._0x35959d,0x27a)][_0x40d315(0x2a4,_0x331d6c._0x591405,0x1fe,-0x47)](_0x6a9294['id'],_0x6a9294),_0x6a9294;}[_0xe18bb0(-0x17c,0x39,0x13,0x246)](_0x326625){const _0x550502={_0x37b707:0x16a,_0x327cb6:0x9d,_0x4f45c3:0x3f9,_0x389716:0x2ff},_0x3df9fa={_0x481e73:0xec,_0x3ac33e:0xa},_0x592f24={_0x45545f:0x5f};function _0x11a5ac(_0x4435b3,_0x436577,_0x5b7d03,_0x1da20f){return _0xe18bb0(_0x1da20f,_0x5b7d03-0x274,_0x5b7d03-_0x592f24._0x45545f,_0x1da20f-0x18e);}function _0x37e8c6(_0x265fa1,_0x2271e3,_0x3b7e2e,_0x3cb9bd){return _0xe18bb0(_0x265fa1,_0x3cb9bd-0xaf,_0x3b7e2e-_0x3df9fa._0x481e73,_0x3cb9bd-_0x3df9fa._0x3ac33e);}this['reservations'][_0x37e8c6(_0x550502._0x37b707,0xe5,_0x550502._0x327cb6,0x14b)](_0x326625['id'])===_0x326625&&this[_0x11a5ac(0x396,_0x550502._0x4f45c3,_0x550502._0x389716,0x182)]['delete'](_0x326625['id']);}['attach'](_0x45fda0,_0x1aa414){const _0x543fba={_0x202bb7:0x75b,_0x4a7232:0x79,_0x12477d:0x287,_0x1b69a4:0xbf,_0x1a1648:0x2ca,_0x137cfc:0x1a5,_0x1683fa:0xf9,_0x5e987f:0x97,_0x74617c:0x11e,_0x4da3f4:0xc8,_0xce9761:0x6c1,_0x49cc5:0x40a,_0x377a9b:0x3b,_0x41b9b1:0x5b3,_0x4fdcf5:0x492,_0x5f0165:0x45b,_0x119b16:0x55,_0x28ee0a:0xa1,_0x39835e:0x154,_0x2e2160:0xfe,_0x576f78:0x171,_0x5d9cb7:0x4d6,_0x248af7:0x44d,_0x31add6:0x27e,_0x332b58:0x65a,_0x418b6c:0x535,_0x1bf1e4:0x47e,_0x3214f8:0x885,_0x5d8a2e:0x59d,_0x108e22:0x611,_0x2ab14b:0xd0,_0x500508:0x445,_0x52b63e:0x2b9},_0x278ac5={_0x1a97da:0xc7},_0x4149d1={_0x4caeff:0xd0,_0x20001e:0x2a6,_0x5f15f2:0xb0,_0x530878:0x541,_0x3578d6:0x91b,_0x21b535:0x72e,_0xc0cae:0x8cf,_0x529f3e:0xc2,_0x47d305:0x2f9,_0x5e3036:0x43d,_0x3d3883:0x277,_0x27bf1c:0x68,_0x192df5:0x11a,_0x285c52:0xc8,_0x4ce4b2:0x4ca,_0x103bce:0x37f,_0x4a8cc4:0x173,_0x4a18ae:0x18d},_0x23ee01={_0x51403e:0x595,_0x5d7ef1:0x648},_0x26c3f9={_0x1806bd:0x18f,_0x1a4666:0x128},_0xee9124={_0x162716:0x816,_0x30ab7b:0x680},_0x57ccf7={_0x4836d4:0x12e,_0xc053c8:0x3e1,_0x1aa977:0x362,_0x468a6c:0x4c8},_0x3aef20={_0x3206a5:0x361},_0x20e92c={_0xa5ce5d:0xa8,_0x44f5d4:0x86,_0x16c171:0x37,_0x24c5cc:0x1c5,_0x29af28:0x2c1,_0x58538c:0x457},_0x1a0300={_0x3e8e85:0xa,_0x2a24dc:0x15b};if(this[_0x269e46(0x746,_0x543fba._0x202bb7,0x769,0x5e3)][_0x553a0d(-_0x543fba._0x4a7232,-0x11f,0x92,0xfd)](_0x45fda0['id'])!==_0x45fda0)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x45fda0['id']});this['reservations']['delete'](_0x45fda0['id']);function _0x553a0d(_0x113db1,_0x4c989e,_0x5dbf4f,_0x412673){return _0xe18bb0(_0x113db1,_0x5dbf4f- -_0x1a0300._0x3e8e85,_0x5dbf4f-0x10c,_0x412673-_0x1a0300._0x2a24dc);}let _0x41ae3d;const _0x2d087c=new Promise(_0x4a9e77=>{_0x41ae3d=_0x4a9e77;}),_0x41035a='bg-'+ ++this[_0x553a0d(-_0x543fba._0x12477d,-0x146,-0xd1,-0x272)]+'-'+_0x3cf3f9()['slice'](0x0,0x8),_0x5b43a8={'shellId':_0x41035a,'command':_0x1aa414[_0x553a0d(0x1e6,_0x543fba._0x1b69a4,_0x543fba._0x1a1648,_0x543fba._0x137cfc)],'cwd':_0x1aa414['cwd'],'pid':_0x1aa414[_0x553a0d(0x45,-0x2c2,-0x115,-_0x543fba._0x1683fa)][_0x553a0d(-_0x543fba._0x5e987f,_0x543fba._0x74617c,_0x543fba._0x4da3f4,-0x15)],'processGroupId':_0x1aa414[_0x269e46(0x2e9,_0x543fba._0xce9761,_0x543fba._0x49cc5,0x4d2)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x553a0d(-0x147,-0x104,0x75,_0x543fba._0x377a9b)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x1aa414['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x269e46(0x58b,0x5e0,0x755,0x754)),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x1aa414[_0x269e46(0x838,0x65c,0x6fc,0x7e2)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2d087c,'resolveTerminal':_0x41ae3d,'terminationSettled':![]};this[_0x269e46(0x351,_0x543fba._0x41b9b1,0x51a,_0x543fba._0x4fdcf5)][_0x269e46(0x3e2,0x47c,_0x543fba._0x5f0165,0x4c7)](_0x41035a,_0x5b43a8);try{_0x1aa414['child']['stdout']?.['on'](_0x553a0d(0x106,0x15c,-_0x543fba._0x119b16,_0x543fba._0x28ee0a),_0x370f62=>{const _0x11822e={_0x356dec:0x198,_0x5f1847:0xfc};function _0x58f8bd(_0x20223c,_0x4b731c,_0x547b45,_0x40849d){return _0x553a0d(_0x20223c,_0x4b731c-_0x11822e._0x356dec,_0x40849d-0x204,_0x40849d-_0x11822e._0x5f1847);}function _0x2bf083(_0x43f9a0,_0x5bfd76,_0x53c61e,_0x2f4e1c){return _0x553a0d(_0x43f9a0,_0x5bfd76-0x1e4,_0x5bfd76-0x243,_0x2f4e1c-0xbb);}this[_0x58f8bd(_0x20e92c._0xa5ce5d,_0x20e92c._0x44f5d4,_0x20e92c._0x16c171,_0x20e92c._0x24c5cc)](_0x5b43a8,_0x5b43a8[_0x2bf083(_0x20e92c._0x29af28,_0x20e92c._0x58538c,0x5db,0x5d3)],_0x5b43a8['stdoutNormalizer'],_0x370f62);}),_0x1aa414['child']['stderr']?.['on'](_0x553a0d(_0x543fba._0x39835e,-_0x543fba._0x2e2160,-0x55,_0x543fba._0x576f78),_0x29cab2=>{function _0x186d58(_0x36e9f5,_0x17ee79,_0x5b628e,_0x306fe1){return _0x553a0d(_0x5b628e,_0x17ee79-0x121,_0x17ee79-0xfe,_0x306fe1-0x1f4);}function _0x3a3e4e(_0x426ab2,_0x745206,_0x3b7be3,_0x4188f4){return _0x553a0d(_0x426ab2,_0x745206-0x3b,_0x3b7be3-_0x3aef20._0x3206a5,_0x4188f4-0x94);}this[_0x3a3e4e(_0x57ccf7._0x4836d4,_0x57ccf7._0xc053c8,0x322,0x499)](_0x5b43a8,_0x5b43a8[_0x3a3e4e(0x36b,0x1ca,_0x57ccf7._0x1aa977,0x3d1)],_0x5b43a8[_0x186d58(_0x57ccf7._0x468a6c,0x3b2,0x2a2,0x410)],_0x29cab2);}),_0x1aa414[_0x269e46(0x522,0x2b9,_0x543fba._0x5d9cb7,_0x543fba._0x248af7)][_0x553a0d(0x10e,0x2a5,0x29f,_0x543fba._0x31add6)](_0x269e46(_0x543fba._0x332b58,0x745,0x579,0x773),(_0x2ed84d,_0x2764cd)=>{const _0xf85daf={_0x3500e0:0x8f,_0xa297c8:0x674,_0x5006e3:0x19d};_0x5b43a8['processExited']=!![];function _0x4e02a8(_0x13c00d,_0x50fffc,_0x3bc1cb,_0x3e2335){return _0x553a0d(_0x3e2335,_0x50fffc-_0xf85daf._0x3500e0,_0x50fffc-_0xf85daf._0xa297c8,_0x3e2335-_0xf85daf._0x5006e3);}_0x5b43a8['exitCode']=_0x2ed84d,_0x5b43a8[_0x4e02a8(0x72d,_0xee9124._0x162716,0x78d,_0xee9124._0x30ab7b)]=_0x2764cd;}),_0x1aa414['child']['once'](_0x269e46(0x37e,0x425,_0x543fba._0x418b6c,_0x543fba._0x1bf1e4),_0x390a94=>{function _0x1cc578(_0x14c173,_0x20b565,_0x51aa0c,_0x3ba8a3){return _0x553a0d(_0x51aa0c,_0x20b565-0x36,_0x20b565-0x34a,_0x3ba8a3-0x11f);}_0x5b43a8['error']=_0x390a94[_0x1cc578(0x5c1,_0x23ee01._0x51403e,0x601,0x54c)];function _0x358f0f(_0x59df1e,_0xbe59eb,_0x259da4,_0x576827){return _0x269e46(_0x576827,_0xbe59eb-0xd6,_0x259da4-_0x26c3f9._0x1806bd,_0x259da4- -_0x26c3f9._0x1a4666);}_0x5b43a8[_0x358f0f(0x5c3,0x83e,_0x23ee01._0x5d7ef1,0x5fc)]='error';}),_0x1aa414['child'][_0x269e46(0x726,_0x543fba._0x3214f8,0x934,0x801)](_0x269e46(_0x543fba._0x5d8a2e,0x494,0x81a,_0x543fba._0x108e22),(_0xdefa4f,_0x4e9210)=>{const _0x3b129b={_0x1ee11c:0x14,_0x2a1d30:0x1c8},_0x1d5059={_0x395472:0xbf,_0x33ba2b:0x65};_0x5b43a8['exitCode']=_0xdefa4f,_0x5b43a8['signal']=_0x4e9210;function _0x30b044(_0x1bae1b,_0xe234bc,_0x5032ad,_0x58da47){return _0x553a0d(_0x5032ad,_0xe234bc-_0x1d5059._0x395472,_0x58da47-_0x1d5059._0x33ba2b,_0x58da47-0x35);}_0x5b43a8[_0x30b044(-0x21b,_0x4149d1._0x4caeff,-_0x4149d1._0x20001e,-_0x4149d1._0x5f15f2)]=null;function _0x57a33c(_0x1311d3,_0x1ce74d,_0x2449ba,_0x5a03d4){return _0x269e46(_0x5a03d4,_0x1ce74d-_0x3b129b._0x1ee11c,_0x2449ba-_0x3b129b._0x2a1d30,_0x2449ba- -0x42);}_0x5b43a8[_0x57a33c(_0x4149d1._0x530878,_0x4149d1._0x3578d6,_0x4149d1._0x21b535,_0x4149d1._0xc0cae)]!=='error'&&(_0x5b43a8[_0x30b044(_0x4149d1._0x529f3e,_0x4149d1._0x47d305,_0x4149d1._0x5e3036,0x273)]=_0x5b43a8[_0x30b044(-0x65,0xf9,_0x4149d1._0x3d3883,_0x4149d1._0x27bf1c)]?_0x30b044(0xf5,_0x4149d1._0x192df5,0x163,_0x4149d1._0x285c52):_0x57a33c(0x478,0x523,0x51a,_0x4149d1._0x4ce4b2)),this[_0x30b044(-0x58,_0x4149d1._0x103bce,_0x4149d1._0x4a8cc4,_0x4149d1._0x4a18ae)](_0x5b43a8);});}catch(_0x294524){this[_0x553a0d(0x2f,0xf9,-_0x543fba._0x2ab14b,-0x28a)]['delete'](_0x41035a);throw _0x294524;}this[_0x553a0d(0x477,_0x543fba._0x500508,0x2f9,_0x543fba._0x52b63e)]();function _0x269e46(_0x3668b4,_0x25e4c1,_0x14d257,_0x2959bf){return _0x47b891(_0x3668b4,_0x2959bf-_0x278ac5._0x1a97da,_0x14d257-0xfb,_0x2959bf-0x1c3);}return _0x5b43a8;}[_0x47b891(0x34b,0x555,0x36f,0x759)](_0x4bd590){const _0x1208bd={_0x4bff28:0xbf,_0x18e0c1:0x1e1,_0x2f3ccd:0x1b2,_0x28a918:0x212,_0x357aa8:0x85},_0x21d619={_0x45c076:0x95},_0x152f29={_0xcc742b:0x445,_0x4280b5:0x18b},_0x4b3ba0=this['reserve']();function _0x4c129c(_0xd003fd,_0x3fb380,_0x53ebbd,_0x14c050){return _0x47b891(_0x14c050,_0xd003fd- -_0x152f29._0xcc742b,_0x53ebbd-0x159,_0x14c050-_0x152f29._0x4280b5);}function _0x380595(_0x444630,_0x4ab725,_0x5d0ff0,_0x3cc997){return _0x47b891(_0x444630,_0x4ab725-0x17a,_0x5d0ff0-_0x21d619._0x45c076,_0x3cc997-0x1ad);}try{return this[_0x380595(0x93f,0x832,0x85f,0x98a)](_0x4b3ba0,{..._0x4bd590,...this[_0x4c129c(0x2e4,0x47e,0x430,0x4e6)]==='win32'?{}:{'processGroupId':_0x4bd590[_0x4c129c(-_0x1208bd._0x4bff28,-_0x1208bd._0x18e0c1,-0x1c5,-_0x1208bd._0x2f3ccd)][_0x4c129c(0x11e,_0x1208bd._0x28a918,-0x95,0x1e9)]}});}catch(_0x466fc5){this[_0x4c129c(_0x1208bd._0x357aa8,0x1a,0x11c,0x11d)](_0x4b3ba0);throw _0x466fc5;}}[_0xe18bb0(0x3b1,0x257,0x435,0x1c8)](_0x3cac0e,_0x3e4e83){const _0x44a96c={_0x5a9051:0x21e,_0x66c507:0x40,_0x52f53b:0x82,_0x5bf760:0xe4,_0x176269:0x10e,_0x1d4293:0x71,_0x528259:0xdb,_0x33e040:0xd9,_0x3381b5:0x1f4,_0x505f4b:0x155,_0x2f38f2:0x6c,_0x31797c:0xdd,_0x5ce114:0x8f,_0x1e7645:0x145,_0x3c5fa7:0x19c,_0xfcbbae:0x275,_0x3a346b:0x1d1,_0x495dfb:0x37,_0x11af51:0x11b,_0xd653b6:0x34d,_0x4ff7e6:0x1f9,_0x3a7184:0x1cd,_0x3d3d2e:0xf8,_0xc3d17f:0x28,_0x4b1127:0x1de,_0x3dd8af:0xac,_0xd45683:0xe8,_0x2c2bd3:0x31,_0x1c13cd:0x11c,_0x3bfb1c:0xe5,_0x135ca7:0x1fd,_0xfae590:0x93,_0x3e709c:0x1dc,_0x3b9b92:0x10b,_0x230c3a:0xc1,_0x38c44b:0xd8,_0x556d8d:0x1fe,_0x4a6776:0x3d,_0x45c0bb:0x203,_0x56739e:0x145,_0x375e3f:0x2b},_0x3b4d5f={_0x3b4440:0x5c,_0x5a9ce5:0x9b},_0x834f2d={_0x149aa2:0x76},_0x1f8ed6=this['entries'][_0x1104a4(_0x44a96c._0x5a9051,-0x6a,0x52,_0x44a96c._0x66c507)](_0x3cac0e);if(!_0x1f8ed6)throw new ToolExecutionError(_0x1104a4(-_0x44a96c._0x52f53b,_0x44a96c._0x5bf760,-0x2e8,-_0x44a96c._0x176269)+_0x3cac0e,{'shellId':_0x3cac0e});const _0x4839a0=_0x1f8ed6['buffer']['join'](''),_0x59a204=Math[_0x1ca56b(_0x44a96c._0x1d4293,-_0x44a96c._0x528259,-_0x44a96c._0x33e040,0x119)](_0x1f8ed6[_0x1ca56b(_0x44a96c._0x3381b5,_0x44a96c._0x505f4b,0x251,_0x44a96c._0x2f38f2)],_0x1f8ed6[_0x1ca56b(-0x10a,0x7f,0x94,_0x44a96c._0x31797c)]),_0x10bf02=Math[_0x1104a4(_0x44a96c._0x5ce114,-0x23b,-0xc8,-0x16f)](0x0,_0x1f8ed6[_0x1104a4(-0xba,0x11f,_0x44a96c._0x1e7645,-0x15)]-_0x1f8ed6[_0x1ca56b(0x176,0x155,-0xf,0x1d6)]),_0x13bc3a=_0x4839a0[_0x1ca56b(0x6b,-0xb8,-_0x44a96c._0x3c5fa7,-_0x44a96c._0xfcbbae)](_0x59a204-_0x1f8ed6[_0x1104a4(0x1af,-_0x44a96c._0x3a346b,-0x54,-0x15)]);function _0x1ca56b(_0x1760b0,_0xd31250,_0x196b63,_0x26c37d){return _0xe18bb0(_0x196b63,_0xd31250-0x38,_0x196b63-_0x834f2d._0x149aa2,_0x26c37d-0x1bd);}let _0x372fcb;const _0x21e5c8=_0x3e4e83?.[_0x1ca56b(-0x124,0x9d,-0x14,0x1ef)];function _0x1104a4(_0x4fa835,_0x1a0c6f,_0x4972d4,_0x57c458){return _0xe18bb0(_0x1a0c6f,_0x57c458- -_0x3b4d5f._0x3b4440,_0x4972d4-0x1a1,_0x57c458-_0x3b4d5f._0x5a9ce5);}if(!_0x21e5c8)_0x372fcb=_0x13bc3a,_0x1f8ed6['readCursor']=_0x1f8ed6[_0x1104a4(_0x44a96c._0x495dfb,0x1cc,0x1b8,0x1ad)];else{let _0x27ddb9;try{_0x27ddb9=new RegExp(_0x21e5c8);}catch(_0x4cf33d){throw new ToolExecutionError('Invalid\x20regex:\x20'+(_0x4cf33d instanceof Error?_0x4cf33d[_0x1104a4(0x3d3,_0x44a96c._0x11af51,_0x44a96c._0xd653b6,_0x44a96c._0x4ff7e6)]:String(_0x4cf33d)),{'shellId':_0x3cac0e,'regex':_0x21e5c8});}let _0x589d87=_0x13bc3a;if(!_0x1f8ed6[_0x1104a4(0x75,0x160,_0x44a96c._0x3a7184,_0x44a96c._0x3d3d2e)]){const _0x4c8172=_0x13bc3a[_0x1104a4(-_0x44a96c._0xc3d17f,_0x44a96c._0x4b1127,0x28b,_0x44a96c._0x3dd8af)]('\x0a');_0x589d87=_0x4c8172>=0x0?_0x13bc3a[_0x1ca56b(0x2c,-0xb8,-_0x44a96c._0xd45683,-0x203)](0x0,_0x4c8172+0x1):'';}_0x372fcb=_0x589d87[_0x1ca56b(-0xf8,-_0x44a96c._0x2c2bd3,_0x44a96c._0x1c13cd,_0x44a96c._0x3bfb1c)]('\x0a')[_0x1104a4(0xcf,0x37e,0x1b3,_0x44a96c._0x135ca7)](_0x264f2c=>_0x27ddb9[_0x1104a4(0x2e3,0x342,0x167,0x1e4)](_0x264f2c))[_0x1ca56b(0x138,0x11a,_0x44a96c._0xfae590,_0x44a96c._0x3e709c)]('\x0a'),_0x1f8ed6[_0x1104a4(_0x44a96c._0x3b9b92,0x12d,0x258,_0x44a96c._0x230c3a)]=_0x59a204+_0x589d87[_0x1ca56b(_0x44a96c._0x38c44b,0x1df,0x2f0,0x21d)];}return{'output':(_0x10bf02>0x0?'[output\x20truncated:\x20'+_0x10bf02+_0x1104a4(0x12f,-0x180,_0x44a96c._0x556d8d,-0x12):'')+_0x372fcb,'status':_0x1f8ed6[_0x1104a4(_0x44a96c._0x4a6776,0x1c7,_0x44a96c._0x45c0bb,0x1bc)],'exitCode':_0x1f8ed6[_0x1104a4(_0x44a96c._0x56739e,_0x44a96c._0x375e3f,0x1f6,0x1b7)],'signal':_0x1f8ed6['signal'],'error':_0x1f8ed6['error'],'truncated':_0x10bf02>0x0};}[_0xe18bb0(-0x7e,-0x90,-0xfe,-0x1b0)](){const _0x47059a={_0x78e6ef:0x417,_0x552975:0x5e9,_0xc66a2f:0x4c0},_0x5c45ef={_0x36090d:0xd5,_0x140100:0x6c};function _0x3895f8(_0xfe8793,_0x2f20ca,_0x281471,_0xeb3a12){return _0x47b891(_0x281471,_0xfe8793-0x43,_0x281471-0x170,_0xeb3a12-0x35);}function _0x1cb664(_0xe7cf12,_0x25be5a,_0x3178c2,_0xccaffa){return _0x47b891(_0x25be5a,_0x3178c2- -0x1c2,_0x3178c2-_0x5c45ef._0x36090d,_0xccaffa-_0x5c45ef._0x140100);}return[...this[_0x1cb664(0x281,_0x47059a._0x78e6ef,0x209,0x1d4)][_0x1cb664(0x392,_0x47059a._0x552975,_0x47059a._0xc66a2f,0x5fb)]()];}[_0x47b891(0x67e,0x4b5,0x582,0x4fe)](_0x3da939){const _0x4b117a={_0x5241f6:0x59c,_0x4d79b0:0x439,_0x124cd4:0x803,_0x4c4670:0x54f,_0x596c48:0x89e,_0x46b4b4:0x55c,_0x40e560:0x6fb,_0x58dd54:0x6f5,_0x429875:0x74f,_0x24e2c3:0x438,_0x80162:0x4c6,_0x5917be:0x5e0,_0x46af9a:0x779,_0x3aeda5:0x5fb,_0x536ca7:0x7cd,_0x2c0cef:0x57d,_0x1f9d31:0x3cf,_0x33a9c1:0x4d6,_0x54fd8a:0x5ad,_0x4e6501:0xa54,_0x1f0257:0x882,_0x292ead:0x84e,_0x44e3c7:0x695,_0x531ff6:0x7ca,_0x490ec3:0x571,_0x41ee05:0x477,_0x2fdc18:0x6b6,_0xc0955d:0x695,_0x309620:0x79e,_0x56fc3e:0x498,_0x2fcbf1:0x60b,_0x472ab8:0x7e8,_0x4eb17e:0x5f0},_0xfad9c6={_0x5ce03a:0x165,_0x4daef6:0x39},_0x35e9a0={_0x65fa8b:0x43f,_0x2e8313:0x5a7,_0x40dc7b:0x522},_0x43c3d5={_0x341c0b:0x555,_0x1a9099:0x141},_0x31301c=this['entries'][_0x18f020(0x5f1,_0x4b117a._0x5241f6,_0x4b117a._0x4d79b0,0x61b)](_0x3da939);if(!_0x31301c)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x3da939,{'shellId':_0x3da939});if(_0x31301c['terminationPromise']&&!_0x31301c[_0x18f020(_0x4b117a._0x124cd4,0x9f4,0x927,0x929)])return _0x31301c['terminationPromise'];if(_0x31301c[_0x18f020(0x6a9,_0x4b117a._0x4c4670,0x83c,_0x4b117a._0x596c48)]&&isTerminalStatus(_0x31301c['status']))return Promise[_0xbfb090(_0x4b117a._0x46b4b4,_0x4b117a._0x40e560,0x729,0x541)](this['result'](_0x31301c,_0x18f020(0x7a1,0x74a,0x8c1,0x924)));function _0x18f020(_0x19a691,_0x4c467a,_0x157d16,_0x5d77af){return _0xe18bb0(_0x5d77af,_0x19a691-_0x43c3d5._0x341c0b,_0x157d16-_0x43c3d5._0x1a9099,_0x5d77af-0x88);}if(_0x31301c[_0x18f020(0x76d,_0x4b117a._0x58dd54,_0x4b117a._0x429875,0x8e1)]!==_0xbfb090(0x3dc,_0x4b117a._0x24e2c3,0x604,_0x4b117a._0x80162))_0x31301c[_0x18f020(0x76d,0x691,_0x4b117a._0x5917be,0x658)]=_0x18f020(_0x4b117a._0x46af9a,_0x4b117a._0x3aeda5,_0x4b117a._0x536ca7,0x90d);_0x31301c[_0xbfb090(_0x4b117a._0x2c0cef,_0x4b117a._0x1f9d31,_0x4b117a._0x33a9c1,_0x4b117a._0x54fd8a)]=!![],_0x31301c[_0xbfb090(_0x4b117a._0x4e6501,0x8ec,_0x4b117a._0x1f0257,_0x4b117a._0x292ead)]=![],_0x31301c[_0x18f020(_0x4b117a._0x44e3c7,0x814,_0x4b117a._0x531ff6,_0x4b117a._0x490ec3)]=this[_0xbfb090(0x313,_0x4b117a._0x41ee05,_0x4b117a._0x2fdc18,0x4df)](_0x31301c),void _0x31301c[_0x18f020(_0x4b117a._0xc0955d,_0x4b117a._0x309620,0x83a,_0x4b117a._0x56fc3e)][_0xbfb090(_0x4b117a._0x2fcbf1,_0x4b117a._0x472ab8,_0x4b117a._0x4eb17e,0x77b)](()=>{_0x31301c['terminationSettled']=!![];},()=>{const _0x3f8092={_0x21f524:0xf6};function _0x118afc(_0x381ea6,_0x38a2b9,_0x371b8e,_0x16be7c){return _0x18f020(_0x381ea6- -0x3c4,_0x38a2b9-0x57,_0x371b8e-_0x3f8092._0x21f524,_0x16be7c);}_0x31301c[_0x118afc(_0x35e9a0._0x65fa8b,0x602,_0x35e9a0._0x2e8313,_0x35e9a0._0x40dc7b)]=!![];});function _0xbfb090(_0xff1262,_0x227ca7,_0x20740b,_0x2a2499){return _0x47b891(_0x20740b,_0x2a2499-0x10f,_0x20740b-_0xfad9c6._0x5ce03a,_0x2a2499-_0xfad9c6._0x4daef6);}return _0x31301c[_0xbfb090(0x89d,0x511,0x8a5,0x6e0)];}[_0x47b891(0x544,0x417,0x43a,0x5af)](){const _0x409d31={_0x28ffe6:0x1b1,_0x4b2f83:0x187,_0x1fcd14:0x1ce,_0x1bd37d:0x205,_0x1c3def:0x30a,_0x4fb94a:0x455,_0x1c3e9b:0x401,_0x400ea0:0x434},_0x5c3f7d={_0x3fadbd:0x23,_0x5394fa:0xc0},_0x1f90c3={_0x22744c:0x1cd,_0x5cac95:0x19a,_0xc919bd:0xda};function _0xd6d522(_0x29430b,_0x4d36b8,_0x330675,_0x5cb2ef){return _0x47b891(_0x29430b,_0x5cb2ef- -_0x1f90c3._0x22744c,_0x330675-_0x1f90c3._0x5cac95,_0x5cb2ef-_0x1f90c3._0xc919bd);}function _0x34ed2b(_0x2d2419,_0x439f2a,_0x57c3d4,_0x258a20){return _0xe18bb0(_0x439f2a,_0x2d2419- -_0x5c3f7d._0x3fadbd,_0x57c3d4-0xd,_0x258a20-_0x5c3f7d._0x5394fa);}return Promise[_0x34ed2b(_0x409d31._0x28ffe6,0x1dc,0xcd,_0x409d31._0x4b2f83)]([...this['entries'][_0x34ed2b(_0x409d31._0x1fcd14,_0x409d31._0x1bd37d,_0x409d31._0x1c3def,0x38d)]()][_0xd6d522(0x340,_0x409d31._0x4fb94a,_0x409d31._0x1c3e9b,_0x409d31._0x400ea0)](_0x1b76ee=>this['kill'](_0x1b76ee['shellId'])));}async[_0xe18bb0(-0xee,-0xec,0x10,-0x221)](){const _0xa3e9c={_0x42701c:0x1d6,_0xe8a1:0x6d,_0x40546f:0x169,_0x51770f:0x3c0,_0x621343:0x2d4,_0x5855d2:0x11a,_0x3deb2a:0xe8,_0x4ee690:0x1c4,_0x3183cc:0x29,_0x5444b8:0xbb,_0x4044c0:0x22d,_0x4ca2b3:0x67},_0x3337e4={_0x5aef00:0xe7,_0x459247:0xc},_0x5b5303={_0x2b2e9d:0x1a2,_0x49571c:0xc0,_0x5588e8:0x1c},_0x52e7a3=await this[_0x2ec8f5(0x114,_0xa3e9c._0x42701c,_0xa3e9c._0xe8a1,-_0xa3e9c._0x40546f)]();function _0x3df590(_0x50c890,_0x31a0fb,_0x2c5d38,_0xf4fb6d){return _0xe18bb0(_0x50c890,_0x31a0fb-_0x5b5303._0x2b2e9d,_0x2c5d38-_0x5b5303._0x49571c,_0xf4fb6d-_0x5b5303._0x5588e8);}if(_0x52e7a3[_0x2ec8f5(_0xa3e9c._0x51770f,0x3e7,_0xa3e9c._0x621343,0x47d)](_0x369c74=>_0x369c74[_0x2ec8f5(0x9c,0x197,0x201,0x3d3)]===_0x3df590(0x3eb,0x3fa,0x587,0x49a)))throw new BackgroundProcessCleanupError(_0x52e7a3);this[_0x3df590(0x2c3,0xdc,-_0xa3e9c._0x5855d2,_0xa3e9c._0x3deb2a)][_0x3df590(_0xa3e9c._0x4ee690,0x122,0x181,_0xa3e9c._0x3183cc)](),this[_0x3df590(_0xa3e9c._0x5444b8,_0xa3e9c._0x4044c0,0x246,0xd6)][_0x2ec8f5(0x3c,-0x179,_0xa3e9c._0x4ca2b3,0x137)]();function _0x2ec8f5(_0x2e83f9,_0x185d8c,_0x4f8f6a,_0x13f15e){return _0xe18bb0(_0x185d8c,_0x4f8f6a-_0x3337e4._0x5aef00,_0x4f8f6a-0x39,_0x13f15e-_0x3337e4._0x459247);}return _0x52e7a3;}async[_0xe18bb0(0xc,-0xc1,0xfd,-0x1b7)](_0xbef1ab){const _0x46037f={_0x5d2b5c:0x429,_0x4d218e:0x4f2,_0x3beafe:0x32a,_0x582ab5:0x4b2,_0x3efce2:0x51b,_0x5b8fb6:0x2f6,_0x2296d5:0xf3,_0x45bbea:0x1f1,_0x3cdf66:0x1eb,_0xb7b2c:0x1c,_0x5282cd:0x222,_0x2941d1:0x9b,_0x4fb8b5:0x1d8,_0x16253d:0x234,_0x1af24:0xa3,_0x12ae4d:0x65,_0x11fe3e:0x119,_0x2b3bfd:0xdd,_0x352cd8:0x1ec,_0x421b2d:0x45,_0x417097:0xae,_0x2e55f6:0x163,_0x1cb454:0xaf,_0x2a461f:0x184,_0x425c4c:0x259,_0x40e967:0x13c,_0x30259a:0x70,_0x3fd6aa:0x301,_0x447872:0x148,_0x46f31f:0x1b9,_0x198754:0x3d8,_0x2e67a3:0x239,_0x4f0839:0x467,_0xae49de:0x271,_0x576b35:0x65,_0x4c824a:0x14f,_0x3ca759:0x15a,_0x2bda34:0x2ff,_0x37744a:0x181,_0x28bae0:0x6},_0x3292e0={_0x3817fa:0x1b0};_0xbef1ab[_0x3a3399(0x44d,_0x46037f._0x5d2b5c,0x390,_0x46037f._0x4d218e)]=!![];const _0x3f735a=await this[_0x3a3399(0x345,_0x46037f._0x3beafe,_0x46037f._0x582ab5,0x45e)][_0x3a3399(0x369,0x6e7,_0x46037f._0x3efce2,0x5a6)]({'rootPid':_0xbef1ab[_0x3a3399(0x448,0x470,0x441,_0x46037f._0x5b8fb6)],'processGroupId':_0xbef1ab[_0x3a3399(_0x46037f._0x2296d5,0x402,0x2e9,0x417)]},_0x213b92(0x2ef,_0x46037f._0x45bbea,0x16d,_0x46037f._0x3cdf66));if(_0x3f735a[_0x213b92(0x226,0x7f,_0x46037f._0xb7b2c,_0x46037f._0x5282cd)]==='failed')return this['failed'](_0xbef1ab,_0x3f735a[_0x213b92(-_0x46037f._0x2941d1,-0x26b,-_0x46037f._0x4fb8b5,-0x2e0)]);if(await this['waitForTerminal'](_0xbef1ab,TERMINATION_WINDOW_MS))return this[_0x213b92(-_0x46037f._0x16253d,_0x46037f._0x1af24,-_0x46037f._0x12ae4d,-0x169)](_0xbef1ab);function _0x3a3399(_0x3c2949,_0x534a8b,_0x597756,_0xfb97e6){return _0x47b891(_0x534a8b,_0x597756- -0x122,_0x597756-0xf0,_0xfb97e6-0x4d);}_0xbef1ab[_0x213b92(-_0x46037f._0x11fe3e,-_0x46037f._0x2b3bfd,0xd7,-0x91)]=!![];const _0x23d379=await this[_0x213b92(-0x68,_0x46037f._0x352cd8,_0x46037f._0x421b2d,-_0x46037f._0x417097)][_0x213b92(0x1d9,-0xc4,0xae,-_0x46037f._0x2e55f6)]({'rootPid':_0xbef1ab['pid'],'processGroupId':_0xbef1ab[_0x213b92(-_0x46037f._0x1cb454,-0x31e,-_0x46037f._0x2a461f,0x2b)]},_0x213b92(-_0x46037f._0x425c4c,_0x46037f._0x40e967,-0x59,_0x46037f._0x30259a));function _0x213b92(_0x2b7bde,_0x3cdb6e,_0x4bf155,_0x21bfda){return _0x47b891(_0x2b7bde,_0x4bf155- -0x58f,_0x4bf155-0x111,_0x21bfda-_0x3292e0._0x3817fa);}if(_0x23d379[_0x213b92(-0x72,0x90,_0x46037f._0xb7b2c,0x3b)]==='failed')return this[_0x213b92(-0x46,_0x46037f._0x3fd6aa,0x15a,_0x46037f._0x447872)](_0xbef1ab,_0x23d379[_0x213b92(-_0x46037f._0x46f31f,-_0x46037f._0x198754,-_0x46037f._0x4fb8b5,-0x26c)]);if(await this[_0x3a3399(_0x46037f._0x2e67a3,0x29a,0x320,_0x46037f._0x4f0839)](_0xbef1ab,TERMINATION_WINDOW_MS))return this[_0x213b92(-0x72,-_0x46037f._0xae49de,-_0x46037f._0x576b35,0x6a)](_0xbef1ab);return this[_0x213b92(_0x46037f._0x4c824a,-0x25,_0x46037f._0x3ca759,_0x46037f._0x2bda34)](_0xbef1ab,_0x213b92(0xe,-_0x46037f._0x37744a,-0xb3,_0x46037f._0x28bae0));}['confirmed'](_0x1fcbf7){const _0x229f74={_0x37898b:0x165,_0x503fbe:0xd2,_0x781ccc:0x26,_0x3cc6c4:0xe,_0x4991e1:0x2be,_0xbcaaa9:0x256,_0x88b161:0x94,_0x1fcc1d:0x8a,_0x4f8872:0x99,_0x46aa37:0x27d,_0x2b2ede:0x14e,_0x34a4c0:0xbb,_0x41da66:0x46,_0x4f202a:0xc0},_0x286c2f={_0x297b94:0x1e9},_0x27648e={_0x566798:0xb3};function _0x210a46(_0x22d78d,_0x3abacc,_0x3545a4,_0x157960){return _0xe18bb0(_0x3abacc,_0x22d78d- -_0x27648e._0x566798,_0x3545a4-0x54,_0x157960-0x135);}function _0x4d39e9(_0x1bcd0a,_0x1b3613,_0x5c22c5,_0x30aa71){return _0xe18bb0(_0x30aa71,_0x1b3613-0x164,_0x5c22c5-0x140,_0x30aa71-_0x286c2f._0x297b94);}return _0x1fcbf7[_0x210a46(_0x229f74._0x37898b,0x2b0,_0x229f74._0x503fbe,_0x229f74._0x781ccc)]===_0x4d39e9(0xf1,0x8a,-0x56,_0x229f74._0x3cc6c4)?this[_0x4d39e9(0x4d1,0x3bc,_0x229f74._0x4991e1,_0x229f74._0xbcaaa9)](_0x1fcbf7,_0x1fcbf7[_0x4d39e9(-_0x229f74._0x88b161,_0x229f74._0x1fcc1d,-0x124,0x248)]??_0x210a46(-_0x229f74._0x4f8872,-_0x229f74._0x46aa37,-_0x229f74._0x2b2ede,0x156)):this[_0x4d39e9(0x64,_0x229f74._0x34a4c0,0x1cc,0x1e4)](_0x1fcbf7,_0x210a46(-_0x229f74._0x41da66,_0x229f74._0x4f202a,-0x67,-0xd1));}[_0x47b891(0x515,0x6e9,0x7ff,0x5d7)](_0x3002db,_0x1c8904){const _0x4b35fe={_0x476e65:0xd3,_0xb90159:0x4,_0x294ce1:0xf6},_0x1908ba={_0x3aaacc:0x14e,_0x56b294:0x1be},_0x5f3ef1={_0x1bfb73:0x2da,_0x388f72:0x8e};_0x3002db[_0x20a19a(0x2dd,0x269,0x429,_0x4b35fe._0x476e65)]=_0x1c8904;function _0x475940(_0x546834,_0x41a97d,_0x15b40a,_0xb1fa02){return _0x47b891(_0x41a97d,_0x546834- -_0x5f3ef1._0x1bfb73,_0x15b40a-_0x5f3ef1._0x388f72,_0xb1fa02-0x16c);}function _0x20a19a(_0x2316c7,_0x17a08b,_0x5661a4,_0x1455c5){return _0x47b891(_0x5661a4,_0x17a08b- -_0x1908ba._0x3aaacc,_0x5661a4-0x1e1,_0x1455c5-_0x1908ba._0x56b294);}return this[_0x475940(0x10e,_0x4b35fe._0xb90159,_0x4b35fe._0x294ce1,0x285)](_0x3002db,'failed');}['result'](_0x52d130,_0x39428c){const _0x2278c8={_0x5bb50d:0x41,_0x4e9ac8:0x871,_0x390239:0xa4f,_0x23377e:0x7c3,_0x119bc5:0x2d0,_0x21f78e:0x1b0,_0x3e00c1:0xa2,_0x5eca61:0xb8,_0x1b44fd:0x92,_0x5b2b62:0xd6,_0x179e4b:0x2a8,_0x1a8e42:0xf,_0x5b5a9a:0x25,_0x36558a:0x7bb},_0x35a9a1={_0x3af455:0x17e},_0x2dcc82={_0x3467c4:0x48d};function _0x56bbd4(_0xf3a1b,_0x16d502,_0x218da2,_0x49f72a){return _0x47b891(_0xf3a1b,_0x218da2- -_0x2dcc82._0x3467c4,_0x218da2-0x97,_0x49f72a-0x44);}function _0x29d69f(_0x3e40be,_0x17c6f7,_0x7d9a75,_0x984163){return _0x47b891(_0x984163,_0x3e40be-0x1c8,_0x7d9a75-0x151,_0x984163-_0x35a9a1._0x3af455);}return{'shellId':_0x52d130[_0x56bbd4(0x123,-0x234,-_0x2278c8._0x5bb50d,-0xf4)],'outcome':_0x39428c,'status':_0x52d130[_0x29d69f(_0x2278c8._0x4e9ac8,0xa30,_0x2278c8._0x390239,_0x2278c8._0x23377e)],'exitCode':_0x52d130['exitCode'],'signal':_0x52d130[_0x56bbd4(0xdd,_0x2278c8._0x119bc5,_0x2278c8._0x21f78e,_0x2278c8._0x3e00c1)],'error':_0x52d130[_0x56bbd4(_0x2278c8._0x5eca61,-_0x2278c8._0x1b44fd,-_0x2278c8._0x5b2b62,-_0x2278c8._0x179e4b)],'gracefulRequested':_0x52d130[_0x56bbd4(-0x93,-_0x2278c8._0x1a8e42,_0x2278c8._0x5b5a9a,-0x5f)],'forceRequested':_0x52d130[_0x29d69f(0x82e,0x99a,_0x2278c8._0x36558a,0x78b)]};}[_0x47b891(0x4e6,0x442,0x5a4,0x4ba)](_0x4db4c2,_0x5969a7){const _0x1a8848={_0xeff363:0x5f0},_0x151d90={_0x464560:0x5af,_0x21d3ac:0x4d0},_0x1208dd={_0x2ff193:0x1d1},_0x42361a={_0x2dc5a0:0x1be,_0x435acd:0x96,_0x1c5781:0x1ef};function _0x368751(_0xef4fd6,_0x192cfb,_0x2a846b,_0x33fc97){return _0x47b891(_0x192cfb,_0x2a846b-_0x42361a._0x2dc5a0,_0x2a846b-_0x42361a._0x435acd,_0x33fc97-_0x42361a._0x1c5781);}if(_0x4db4c2['terminalSettled'])return Promise[_0x368751(0x7d9,0x7db,0x5f0,_0x1a8848._0xeff363)](!![]);return new Promise(_0x154806=>{let _0xb571ea=![];const _0x174dc6=setTimeout(()=>{if(_0xb571ea)return;_0xb571ea=!![],_0x154806(![]);},_0x5969a7);function _0x206e46(_0x231e5e,_0x53ad43,_0x166c5a,_0x5b2bd0){return _0x368751(_0x231e5e-_0x1208dd._0x2ff193,_0x231e5e,_0x53ad43- -0x304,_0x5b2bd0-0x16c);}void _0x4db4c2[_0x206e46(0x369,0x551,_0x151d90._0x464560,_0x151d90._0x21d3ac)]['then'](()=>{if(_0xb571ea)return;_0xb571ea=!![],clearTimeout(_0x174dc6),_0x154806(!![]);});});}[_0x47b891(0x3a9,0x45c,0x4ed,0x344)](_0xc72eac,_0x273e1b,_0x1c43fa,_0x61be7c){const _0x1e38f9={_0x4dfef0:0x73a,_0x4c537e:0x66a,_0xd69f70:0x848,_0x33863a:0x598,_0x51181f:0x7d9,_0x4d6371:0x8a0,_0x1d8a3f:0x6d0},_0x5a4d6b={_0x43985a:0x94},_0x39ce94={_0x1d1355:0x1bf,_0x110b52:0x190},_0x2a1cfb=_0x273e1b['write'](_0x61be7c);function _0x4f7e42(_0x5c33d7,_0x12cffa,_0x55b6ad,_0x4f6dce){return _0x47b891(_0x55b6ad,_0x4f6dce-0x1b5,_0x55b6ad-_0x39ce94._0x1d1355,_0x4f6dce-_0x39ce94._0x110b52);}function _0x3473df(_0x2a4927,_0x5b4763,_0x4c3356,_0x49067c){return _0x47b891(_0x49067c,_0x5b4763-0x147,_0x4c3356-_0x5a4d6b._0x43985a,_0x49067c-0x14b);}this[_0x3473df(_0x1e38f9._0x4dfef0,_0x1e38f9._0x4c537e,_0x1e38f9._0xd69f70,_0x1e38f9._0x33863a)](_0xc72eac,_0xc72eac[_0x3473df(0x711,0x862,_0x1e38f9._0x51181f,0xa35)]?_0x1c43fa[_0x4f7e42(_0x1e38f9._0x4d6371,0x843,0x4cf,_0x1e38f9._0x1d8a3f)](_0x2a1cfb):_0x2a1cfb);}[_0x47b891(0x51e,0x5c3,0x4c5,0x546)](_0x3d4e1b){const _0x46918a={_0x1047b6:0x1b8,_0x5f1dd8:0x1ea,_0x195cea:0x2cd,_0x3fd6a5:0x1e2,_0x40d179:0x636},_0x5a73b3={_0x3ba944:0x179,_0x571b46:0xcc};this[_0x141376(0x121,_0x46918a._0x1047b6,_0x46918a._0x5f1dd8,0x98)](_0x3d4e1b);!_0x3d4e1b[_0x554ea9(0x14c,0x318,_0x46918a._0x195cea,0x49f)]&&(_0x3d4e1b[_0x554ea9(0x298,0x368,_0x46918a._0x195cea,_0x46918a._0x3fd6a5)]=!![],_0x3d4e1b['resolveTerminal']());function _0x141376(_0x1d375d,_0x190760,_0x309001,_0x464b91){return _0xe18bb0(_0x190760,_0x1d375d-0x160,_0x309001-0x178,_0x464b91-0xf2);}function _0x554ea9(_0x36450f,_0x2167e3,_0x473004,_0x14e31){return _0xe18bb0(_0x2167e3,_0x473004-_0x5a73b3._0x3ba944,_0x473004-0xc8,_0x14e31-_0x5a73b3._0x571b46);}this[_0x554ea9(0x579,0x649,0x47c,_0x46918a._0x40d179)]();}[_0xe18bb0(-0x1fa,-0x3f,0x197,-0xd2)](_0x1f3e79){const _0x22fa5b={_0x32c36a:0x63f,_0x2d8cbf:0x61a,_0x1deb36:0x468,_0x280bc2:0x764,_0x53cb6a:0x4d5,_0x368994:0x418,_0x122edf:0x281,_0xc8abe6:0x2be,_0x3511d2:0x5b3,_0x7265b4:0x6f7,_0x1e9664:0x5b3,_0x3ce801:0x2d7,_0x271f2b:0x484,_0x4ffec0:0x723,_0xf36507:0x292,_0x4d6755:0x284,_0x5d9f5e:0x47b,_0x72fe13:0x5b3,_0xec3929:0x3cc,_0x102569:0x496,_0x3198fd:0x484,_0x2f838b:0x388,_0x1b33e4:0x4b8,_0x32375f:0x615,_0x196b7d:0x5e5,_0x5627b3:0x5c2},_0x161b4e={_0x46713d:0x48,_0x54bb32:0x178},_0x19375b={_0x258d31:0x12};function _0xf11597(_0x5d17b8,_0x5431fa,_0x530ac2,_0x14399e){return _0xe18bb0(_0x530ac2,_0x5431fa-0x1fa,_0x530ac2-0xfa,_0x14399e-_0x19375b._0x258d31);}if(_0x1f3e79[_0x2c1089(_0x22fa5b._0x32c36a,_0x22fa5b._0x2d8cbf,_0x22fa5b._0x1deb36,0x526)])return;_0x1f3e79[_0x2c1089(0x5ba,0x61a,0x540,_0x22fa5b._0x280bc2)]=!![];const _0x55e179=_0x1f3e79[_0xf11597(_0x22fa5b._0x53cb6a,_0x22fa5b._0x368994,_0x22fa5b._0x122edf,_0x22fa5b._0xc8abe6)][_0x2c1089(0x76d,_0x22fa5b._0x3511d2,_0x22fa5b._0x7265b4,0x3ce)](),_0x2d724e=_0x1f3e79['stderrDecoder'][_0x2c1089(0x416,_0x22fa5b._0x1e9664,0x3bb,0x6b0)]();function _0x2c1089(_0x127d9b,_0x24bd68,_0x49411a,_0x2d69dc){return _0x47b891(_0x49411a,_0x24bd68- -0x157,_0x49411a-_0x161b4e._0x46713d,_0x2d69dc-_0x161b4e._0x54bb32);}this[_0xf11597(_0x22fa5b._0x3ce801,0x28c,0x1d0,0x272)](_0x1f3e79,_0x1f3e79[_0xf11597(0x37a,_0x22fa5b._0x271f2b,0x37c,0x534)]?_0x1f3e79[_0x2c1089(0x5e8,0x5ff,0x4a3,_0x22fa5b._0x4ffec0)][_0xf11597(_0x22fa5b._0xf36507,_0x22fa5b._0x4d6755,0xf8,_0x22fa5b._0x5d9f5e)](_0x55e179)+_0x1f3e79['stdoutNormalizer'][_0x2c1089(0x499,_0x22fa5b._0x72fe13,0x5a8,0x5e6)]():_0x55e179),this[_0x2c1089(0x38d,_0x22fa5b._0xec3929,_0x22fa5b._0x102569,0x43a)](_0x1f3e79,_0x1f3e79[_0xf11597(0x421,_0x22fa5b._0x3198fd,0x403,_0x22fa5b._0x2f838b)]?_0x1f3e79[_0xf11597(0x311,_0x22fa5b._0x1b33e4,_0x22fa5b._0x32375f,_0x22fa5b._0x196b7d)]['write'](_0x2d724e)+_0x1f3e79[_0xf11597(0x643,0x4b8,_0x22fa5b._0x5627b3,0x335)]['end']():_0x2d724e);}[_0xe18bb0(0x158,0x92,-0x76,-0xc1)](_0x48384c,_0x34c361){const _0x9660ad={_0x69f648:0x79e,_0x4e8ff3:0x64c,_0x750f29:0x4fd,_0x4e6012:0x358,_0x15e202:0x685,_0x465391:0x8ec,_0x144a77:0x709,_0x3e0de9:0x90d,_0x34b6e9:0x60a,_0x271e78:0x95a,_0x197e21:0x31d,_0x302273:0x7fa,_0x167922:0x80f,_0x16909f:0x78b,_0x49476e:0x87f,_0xbd3ccb:0x5aa,_0xba6ea1:0x709,_0x1d5f31:0x915,_0x50471f:0x76d,_0x5ea8d3:0x661,_0x1b954:0x4fd,_0x12d5f5:0x3c0,_0x31177d:0x8f9,_0x3976d6:0x8db,_0x382867:0x359,_0x3d9875:0x471,_0x47ff0b:0x2f2,_0x3eacc6:0x2f4,_0x99cba9:0x1a3,_0x26525f:0x354,_0x481a54:0x367,_0x158926:0x484,_0x510107:0x55b,_0x1e5d06:0x662,_0x46b072:0x50b,_0x46a4c8:0x65c},_0x3050f6={_0x37e5e6:0x97},_0x487efd={_0xcb317d:0x58c,_0xe92387:0x117};if(_0x34c361[_0x194c19(0x910,0x820,0x733,_0x9660ad._0x69f648)]===0x0)return;function _0x194c19(_0x40e798,_0x3e893d,_0x143839,_0x1bdb1b){return _0xe18bb0(_0x1bdb1b,_0x143839-_0x487efd._0xcb317d,_0x143839-0xcc,_0x1bdb1b-_0x487efd._0xe92387);}_0x48384c[_0x194c19(_0x9660ad._0x4e8ff3,0x6ac,_0x9660ad._0x750f29,0x60e)][_0x194c19(0x5a1,_0x9660ad._0x4e6012,0x4b7,_0x9660ad._0x15e202)](_0x34c361),_0x48384c[_0x194c19(0x5de,_0x9660ad._0x465391,_0x9660ad._0x144a77,0x864)]+=_0x34c361[_0x194c19(_0x9660ad._0x3e0de9,0x7d5,0x733,_0x9660ad._0x34b6e9)];function _0x52d551(_0x5adec0,_0x4ffb2c,_0x48cf30,_0x544191){return _0xe18bb0(_0x5adec0,_0x48cf30-0x307,_0x48cf30-0x7a,_0x544191-_0x3050f6._0x37e5e6);}_0x48384c[_0x194c19(0x893,0x819,0x795,_0x9660ad._0x271e78)]+=_0x34c361[_0x52d551(0x423,_0x9660ad._0x197e21,0x4ae,0x57a)];while(_0x48384c['bufferChars']>this[_0x194c19(_0x9660ad._0x302273,0x6e1,_0x9660ad._0x167922,_0x9660ad._0x16909f)]){const _0x451ba4=_0x48384c[_0x194c19(_0x9660ad._0x49476e,_0x9660ad._0xbd3ccb,_0x9660ad._0xba6ea1,_0x9660ad._0x1d5f31)]-this[_0x194c19(_0x9660ad._0x50471f,_0x9660ad._0x5ea8d3,0x80f,0x695)],_0x3c13ea=_0x48384c[_0x194c19(0x58c,0x5cc,_0x9660ad._0x1b954,_0x9660ad._0x12d5f5)][0x0];if(_0x3c13ea===void 0x0)break;_0x3c13ea[_0x194c19(0x910,_0x9660ad._0x31177d,0x733,_0x9660ad._0x3976d6)]<=_0x451ba4?(_0x48384c[_0x52d551(_0x9660ad._0x382867,_0x9660ad._0x3d9875,0x278,0x22f)][_0x52d551(0x4a3,_0x9660ad._0x47ff0b,_0x9660ad._0x3eacc6,_0x9660ad._0x99cba9)](),_0x48384c[_0x52d551(_0x9660ad._0x26525f,_0x9660ad._0x481a54,_0x9660ad._0x158926,_0x9660ad._0x510107)]-=_0x3c13ea['length'],_0x48384c['totalDropped']+=_0x3c13ea['length']):(_0x48384c[_0x52d551(0x148,0x46f,0x278,0x27d)][0x0]=_0x3c13ea[_0x194c19(_0x9660ad._0x1e5d06,_0x9660ad._0x46b072,0x49c,_0x9660ad._0x46a4c8)](_0x451ba4),_0x48384c['bufferChars']-=_0x451ba4,_0x48384c[_0x194c19(0x707,0x649,0x5d3,0x464)]+=_0x451ba4);}}[_0x47b891(0x693,0x794,0x89d,0x745)](){const _0xa13ab2={_0x3dc275:0x482,_0x1def8a:0x508,_0xb473dd:0x535,_0x12b375:0x25f,_0x43b1b6:0x352,_0x8c3513:0x1c2,_0x5a8295:0x335,_0x2f3b67:0x1bd,_0x6117f0:0x9a,_0x4d73e6:0x148,_0x1ce4ff:0x2f0},_0x9a3d82={_0x47dfbe:0x45};function _0x5b5292(_0x1a3ea7,_0x29da53,_0x3a9720,_0x407db4){return _0x47b891(_0x407db4,_0x29da53- -0x461,_0x3a9720-_0x9a3d82._0x47dfbe,_0x407db4-0x114);}function _0x55972d(_0x353293,_0x4f409e,_0x1d44ff,_0x2ee465){return _0xe18bb0(_0x4f409e,_0x353293-0x325,_0x1d44ff-0xc9,_0x2ee465-0x15);}while(this['entries'][_0x55972d(0x4ce,_0xa13ab2._0x3dc275,_0xa13ab2._0x1def8a,_0xa13ab2._0xb473dd)]>this['maxEntries']){const _0x412f1a=[...this[_0x55972d(_0xa13ab2._0x12b375,0xab,0x3c5,_0xa13ab2._0x43b1b6)]['values']()][_0x5b5292(_0xa13ab2._0x8c3513,0x289,0x380,_0xa13ab2._0x5a8295)](_0x208baf=>_0x208baf[_0x55972d(0x479,0x55d,0x523,0x2e9)]&&isTerminalStatus(_0x208baf[_0x5b5292(0x13e,0x248,0x138,0x253)]))[_0x5b5292(_0xa13ab2._0x2f3b67,0x177,0x24a,_0xa13ab2._0x6117f0)]((_0x35391c,_0x3d5080)=>_0x35391c[_0x5b5292(-0x9a,0x40,-0x177,-0x1c6)]-_0x3d5080[_0x5b5292(0x10b,0x40,0x64,0x128)])[0x0];if(!_0x412f1a)return;this[_0x55972d(0x25f,_0xa13ab2._0x4d73e6,0x10d,0x3a5)][_0x55972d(0x472,_0xa13ab2._0x1ce4ff,0x4ae,0x5c4)](_0x412f1a['shellId']);}}};function createBashOutputTool(_0x4f0659){const _0x521a6f={_0x1fe987:0x5e1,_0x19162b:0x66a,_0x15536e:0x67f,_0x1ee029:0x2f6,_0x19e7e1:0x3b0,_0x6a37d4:0x488,_0x415fbe:0x4e7,_0xd76bcc:0x3d0,_0x19a4c3:0x4d3,_0x1c485a:0x553},_0x13b8c3={_0x2dcfde:0x528,_0x477a5a:0x5f9,_0x12b704:0x30e,_0x2b38d4:0x1bf,_0x420b07:0x36b,_0x1aa152:0x1c9,_0x2c6024:0xf8,_0x524978:0x3c2,_0x4f3955:0x267,_0x61e353:0x95,_0x579251:0x3a,_0x4baa60:0x18b,_0x4224b9:0x60,_0x258154:0x1e4,_0x570929:0x15a,_0x2b5941:0x246,_0x3d389b:0x152,_0xfa2e67:0x6d},_0x4790aa={_0x38c961:0x314,_0x4d5790:0x1ad};function _0x474372(_0x5acc14,_0x2ce6b5,_0x18cf67,_0x1d767f){return _0xe18bb0(_0x1d767f,_0x2ce6b5-0x3ad,_0x18cf67-0x1a9,_0x1d767f-0x1a8);}const {registry:_0x428157}=_0x4f0659;function _0x50cadb(_0x44619b,_0x2c7758,_0x7317b1,_0x1fc214){return _0xe18bb0(_0x7317b1,_0x44619b-_0x4790aa._0x38c961,_0x7317b1-_0x4790aa._0x4d5790,_0x1fc214-0xb4);}return defineTool({'name':_0x474372(0x5a6,_0x521a6f._0x1fe987,0x568,0x43e),'permissionClass':_0x474372(0x857,0x65a,_0x521a6f._0x19162b,_0x521a6f._0x15536e),'description':_0x50cadb(_0x521a6f._0x1ee029,_0x521a6f._0x19e7e1,0x424,0x285),'inputSchema':{'type':_0x474372(_0x521a6f._0x6a37d4,0x5fc,0x407,_0x521a6f._0x415fbe),'properties':{'shellId':{'type':_0x474372(_0x521a6f._0xd76bcc,_0x521a6f._0x19a4c3,0x408,0x682)},'regex':{'type':_0x474372(_0x521a6f._0x1c485a,_0x521a6f._0x19a4c3,0x5e6,0x5ea)}},'required':['shellId']},async *'execute'(_0x3cd24f){const _0x42a9f4={_0x56844b:0x120,_0xf49a23:0x1a9},_0x19ef6b={_0x1ba71f:0x141,_0x1e36d5:0xfc};function _0x49ca46(_0x157d9d,_0x39b42c,_0x4ab65c,_0x1d64e3){return _0x474372(_0x157d9d-_0x19ef6b._0x1ba71f,_0x157d9d- -0x3fd,_0x4ab65c-_0x19ef6b._0x1e36d5,_0x4ab65c);}const _0x20ae7e=_0x428157[_0x12c1e1(0x62d,_0x13b8c3._0x2dcfde,0x45b,_0x13b8c3._0x477a5a)](_0x3cd24f[_0x12c1e1(0x391,_0x13b8c3._0x12b704,_0x13b8c3._0x2b38d4,_0x13b8c3._0x420b07)],_0x3cd24f[_0x49ca46(0x15,_0x13b8c3._0x1aa152,0xa7,_0x13b8c3._0x2c6024)]?{'regex':_0x3cd24f[_0x12c1e1(_0x13b8c3._0x524978,0x3d1,0x269,0x2ae)]}:void 0x0);function _0x12c1e1(_0x312649,_0x39867b,_0x568a68,_0x410fe8){return _0x474372(_0x312649-_0x42a9f4._0x56844b,_0x568a68- -_0x42a9f4._0xf49a23,_0x568a68-0x95,_0x39867b);}return createToolOutput(_0x20ae7e[_0x49ca46(0x1d2,-0x32,0x47,_0x13b8c3._0x4f3955)],{'shellId':_0x3cd24f[_0x49ca46(-_0x13b8c3._0x61e353,_0x13b8c3._0x579251,-_0x13b8c3._0x4baa60,_0x13b8c3._0x4224b9)],'status':_0x20ae7e[_0x49ca46(0x1c8,_0x13b8c3._0x258154,0x147,_0x13b8c3._0x570929)],'exitCode':_0x20ae7e['exitCode'],'signal':_0x20ae7e[_0x12c1e1(0x406,0x2f4,0x3b0,_0x13b8c3._0x2b5941)],'error':_0x20ae7e[_0x12c1e1(0x24c,_0x13b8c3._0x3d389b,0x12a,-_0x13b8c3._0xfa2e67)],'truncated':_0x20ae7e[_0x49ca46(0xc8,0x3e,0x2cb,-0x98)]});}});}import{spawn as _0x23dbf7}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x242d07 from'os';import*as _0x421d9b from'path';import{StringDecoder as _0x5da69c}from'string_decoder';import{spawn as _0x41faa0}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x5c17d7){return _0x5c17d7 instanceof Error;}function resolveCarriageReturns(_0x356189){const _0x4ccec5={_0x8489f0:0x2ac,_0x4a6cfe:0x389,_0x2502a1:0x477,_0x22df3d:0x59c,_0x2c8d52:0x51f,_0x1fa8e6:0x3f5},_0x36c7bb={_0x4d3e86:0x1a8,_0x122a3a:0xa,_0x2e094a:0x1d5,_0x3d5ab3:0x43,_0x33160c:0x3e6,_0x4c8116:0x219,_0x2344c3:0x1ef},_0x2d72f8={_0x2bc884:0x346},_0x435456={_0x5d126e:0x9f};function _0x1ba425(_0x161757,_0x56aa96,_0x3b890d,_0x3a3cad){return _0x47b891(_0x3a3cad,_0x56aa96- -_0x435456._0x5d126e,_0x3b890d-0x155,_0x3a3cad-0x15b);}function _0x15c288(_0x390a96,_0x510793,_0x56f48b,_0x5d08e8){return _0xe18bb0(_0x56f48b,_0x510793-0x186,_0x56f48b-0x1e,_0x5d08e8-0x115);}return _0x356189[_0x1ba425(_0x4ccec5._0x8489f0,_0x4ccec5._0x4a6cfe,_0x4ccec5._0x2502a1,0x34d)]('\x0a')[_0x1ba425(0x723,0x562,0x61b,_0x4ccec5._0x22df3d)](_0x1a2ed7=>{const _0x7d9ee4={_0x360413:0x14a};if(!_0x1a2ed7['includes']('\x0d'))return _0x1a2ed7;const _0x314401=_0x1a2ed7[_0x51f942(_0x36c7bb._0x4d3e86,-_0x36c7bb._0x122a3a,_0x36c7bb._0x2e094a,_0x36c7bb._0x3d5ab3)]('\x0d');function _0x79e605(_0x46902a,_0x35ac19,_0x5a0cf2,_0x11e3df){return _0x15c288(_0x46902a-0x1a2,_0x5a0cf2-0x54,_0x35ac19,_0x11e3df-_0x7d9ee4._0x360413);}function _0x51f942(_0x3687ff,_0x5d9a0e,_0x56001d,_0xb6fe84){return _0x1ba425(_0x3687ff-0x177,_0xb6fe84- -_0x2d72f8._0x2bc884,_0x56001d-0x194,_0x5d9a0e);}return _0x314401[_0x314401[_0x51f942(_0x36c7bb._0x33160c,_0x36c7bb._0x4c8116,_0x36c7bb._0x2344c3,0x253)]-0x1]??'';})[_0x1ba425(0x303,0x4d4,_0x4ccec5._0x2c8d52,_0x4ccec5._0x1fa8e6)]('\x0a');}function resolveBackspaces(_0xaf625a){const _0x56d757={_0xd1632d:0x5a0,_0x21c22d:0x3a6,_0x2cd449:0x92,_0x5aad38:0xca,_0x4e1fdb:0x102},_0x4ed1a4={_0x1d9a49:0x1e,_0x373c7e:0x25},_0x21ce90={_0x4de1f4:0x198,_0x446259:0x101};function _0x1f5551(_0x934934,_0x2e541f,_0x28ba5a,_0x1d667f){return _0xe18bb0(_0x2e541f,_0x934934-_0x21ce90._0x4de1f4,_0x28ba5a-_0x21ce90._0x446259,_0x1d667f-0x8);}function _0x332379(_0x11f185,_0x1a77e9,_0x51a392,_0x714624){return _0x47b891(_0x1a77e9,_0x11f185-_0x4ed1a4._0x1d9a49,_0x51a392-_0x4ed1a4._0x373c7e,_0x714624-0x184);}const _0x397788=[];for(const _0x3ae47f of Array[_0x332379(0x3f8,_0x56d757._0xd1632d,_0x56d757._0x21c22d,0x3d4)](_0xaf625a)){_0x3ae47f==='\x08'?_0x397788[_0x1f5551(0x1ba,_0x56d757._0x2cd449,0x12,0x8a)]():_0x397788[_0x1f5551(0xc3,-0x1b,-_0x56d757._0x5aad38,-_0x56d757._0x4e1fdb)](_0x3ae47f);}return _0x397788['join']('');}function stripAnsiAndControls(_0x1dbcb9){const _0x1c912c={_0x4a3dce:0x720,_0x35fada:0x691,_0x1da240:0x527,_0x27e77c:0x4ab,_0x3eb742:0x7be,_0x2eb7c5:0x3c0,_0x3f0749:0x48a,_0x49a376:0x80a,_0x5cbcb5:0x774,_0x8fe5fc:0x4be,_0x2b716f:0x496,_0x2054e5:0x710,_0x59ad7c:0x834,_0x2dc743:0x68d,_0x4eddaa:0x684,_0x59bf8b:0x5aa},_0x1c32a1={_0x583762:0xc3,_0x5e6652:0x170},_0xe0ea21={_0x57cdf3:0x1aa,_0x50da0f:0x13f};_0x1dbcb9=resolveCarriageReturns(_0x1dbcb9),_0x1dbcb9=resolveBackspaces(_0x1dbcb9),_0x1dbcb9=stripVTControlCharacters(_0x1dbcb9);const _0x35ff67='\x1b',_0x5cbb4e='\x07';_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x4a3dce,_0x1c912c._0x35fada,0x5b5,_0x1c912c._0x1da240)](new RegExp(_0x5f2317(_0x1c912c._0x27e77c,0x5a1,0x5ec,0x413)+_0x5cbb4e+'\x5cn]*?'+_0x5cbb4e,'g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x3eb742,0x691,0x867,0x705)](new RegExp(_0x5f2317(0x5d1,_0x1c912c._0x2eb7c5,_0x1c912c._0x3f0749,0x23f)+_0x35ff67+'\x5c\x5c','g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x49a376,0x691,0x7f0,0x74d)](new RegExp(_0x5cbb4e,'g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x5cbcb5,_0x1c912c._0x35fada,_0x1c912c._0x8fe5fc,0x7b5)](new RegExp(_0x35ff67+_0x17c9a6(_0x1c912c._0x2b716f,0x6b1,0x535,0x51c)+_0x35ff67+'\x5c\x5c','g'),'');function _0x17c9a6(_0x161d07,_0x232ee9,_0x6a34ca,_0x42cfd0){return _0x47b891(_0x42cfd0,_0x6a34ca- -_0xe0ea21._0x57cdf3,_0x6a34ca-0x181,_0x42cfd0-_0xe0ea21._0x50da0f);}_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x2054e5,_0x1c912c._0x35fada,_0x1c912c._0x59ad7c,_0x1c912c._0x2dc743)](new RegExp(_0x35ff67+'[=>7-8()]','g'),''),_0x1dbcb9=_0x1dbcb9[_0x17c9a6(_0x1c912c._0x4eddaa,0x54e,_0x1c912c._0x59bf8b,0x553)](/[\u0080-\u009F]/g,''),_0x1dbcb9=_0x1dbcb9['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x1dbcb9=_0x1dbcb9['replace'](/[\u23CE\u2424]/g,'');function _0x5f2317(_0x425cc8,_0x288a0a,_0xd1220f,_0x3af4cd){return _0x47b891(_0x3af4cd,_0x288a0a- -_0x1c32a1._0x583762,_0xd1220f-0xe1,_0x3af4cd-_0x1c32a1._0x5e6652);}return _0x1dbcb9;}function killProcessGroup(_0x282edc,_0x31d278,_0x45a857=_0x47b891(0x536,0x56b,0x6bc,0x6c2)){const _0x25d741={_0xb820fc:0x5ba,_0x5916fd:0x4b5,_0x1acc73:0x5ce,_0x2976e4:0x4d1,_0x88f738:0x5f5,_0x4764dd:0x688,_0x1522bb:0x8a6,_0xeca62:0x666,_0x290265:0x660,_0x503379:0x5ea,_0x44bf54:0x4c9,_0x21c11b:0x42e,_0x49ed1f:0x5da,_0x3c6712:0x6c7},_0x78e6e9={_0x4f9344:0x6f},_0xfbc87c={_0x4e07bb:0x178,_0x1a0e45:0x17d};function _0x43ad98(_0x2aeeb8,_0x5469d5,_0x5ec815,_0x2c4fa4){return _0xe18bb0(_0x5469d5,_0x5ec815-0x5b6,_0x5ec815-_0xfbc87c._0x4e07bb,_0x2c4fa4-_0xfbc87c._0x1a0e45);}if(!_0x282edc[_0x50364a(_0x25d741._0xb820fc,0x6bf,0x6b2,0x71f)])return;function _0x50364a(_0x4b1e02,_0x728120,_0x201268,_0x278569){return _0x47b891(_0x728120,_0x278569-0x1bc,_0x201268-_0x78e6e9._0x4f9344,_0x278569-0x190);}if(_0x31d278)try{_0x41faa0(_0x50364a(0x574,0x5af,_0x25d741._0x5916fd,0x699),[_0x50364a(0x3c2,_0x25d741._0x1acc73,_0x25d741._0x2976e4,0x582),_0x282edc[_0x43ad98(0x86a,_0x25d741._0x88f738,_0x25d741._0x4764dd,0x7c3)][_0x43ad98(_0x25d741._0x1522bb,0x8ab,0x8ae,0x9c6)](),'/T','/F'],{'stdio':_0x43ad98(0x539,_0x25d741._0xeca62,_0x25d741._0x290265,_0x25d741._0x503379)});return;}catch{_0x282edc['kill'](_0x45a857);return;}try{process[_0x50364a(0x6d2,0x845,0x5d3,0x671)](-_0x282edc[_0x43ad98(_0x25d741._0x44bf54,0x699,0x688,0x4ee)],_0x45a857);}catch{_0x282edc[_0x43ad98(_0x25d741._0x21c11b,0x5d9,_0x25d741._0x49ed1f,_0x25d741._0x3c6712)](_0x45a857);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x47b891(0x8b4,0x758,0x7d1,0x5a2)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x1b340f,_0x2f3756,_0x9343f8){const _0x5959b9={_0x48c1bf:0x6b9,_0x1aae34:0x6a1,_0x507c9e:0x3ff,_0x217f01:0x632,_0x4e36e9:0x7f4,_0x27fe99:0x887,_0x38637e:0x235,_0x398108:0x252,_0x5a0fd2:0x444,_0x121853:0x527,_0x559692:0x3b3,_0x519e21:0x30e},_0x50948d={_0x289ef0:0xb3},_0x111c26={_0x2139dd:0x40,_0x3c60c3:0x10d},_0x4a1277={...process[_0x4913b1(_0x5959b9._0x48c1bf,0x6d3,0x4c9,_0x5959b9._0x1aae34)],..._0x1b340f??{}};function _0x4939d4(_0x1d4af4,_0x5f280f,_0x214899,_0x4690a0){return _0x47b891(_0x4690a0,_0x1d4af4- -0x2cb,_0x214899-_0x111c26._0x2139dd,_0x4690a0-_0x111c26._0x3c60c3);}function _0x4913b1(_0x185eb1,_0x56826d,_0xa1e27a,_0x551c80){return _0xe18bb0(_0x185eb1,_0x551c80-0x539,_0xa1e27a-0x12a,_0x551c80-_0x50948d._0x289ef0);}if(_0x242d07[_0x4939d4(0x45e,_0x5959b9._0x507c9e,0x464,0x3fd)]()===_0x4913b1(0x4f8,_0x5959b9._0x217f01,_0x5959b9._0x4e36e9,0x628)){const _0x3de79d=new Set(_0x2f3756[_0x4913b1(_0x5959b9._0x27fe99,0x4b0,0x756,0x6a9)](_0xe2c0bb=>_0xe2c0bb[_0x4939d4(0x3b4,0x488,0x3b6,0x442)]()));for(const _0x3e3b11 of Object[_0x4913b1(0x371,0x3ab,0x49e,0x527)](_0x4a1277)){if(_0x3de79d[_0x4913b1(0x8c1,0x7d6,0x8fa,0x7a6)](_0x3e3b11[_0x4939d4(0x3b4,_0x5959b9._0x38637e,0x45b,_0x5959b9._0x398108)]()))delete _0x4a1277[_0x3e3b11];}}else{for(const _0x38f65e of _0x2f3756)delete _0x4a1277[_0x38f65e];if(_0x9343f8['length']>0x0)for(const _0x22889d of Object[_0x4913b1(0x719,0x4cc,_0x5959b9._0x5a0fd2,_0x5959b9._0x121853)](_0x4a1277)){_0x9343f8[_0x4939d4(_0x5959b9._0x559692,0x4a8,0x4f8,_0x5959b9._0x519e21)](_0x251129=>_0x22889d[_0x4939d4(0x3ad,0x386,0x3c5,0x36a)](_0x251129))&&delete _0x4a1277[_0x22889d];}}return _0x4a1277;}function mapSpawnError(_0x535489,_0x4812a7){const _0x1c2a21={_0x226906:0x263,_0x3e11a2:0x36e,_0x596783:0x246,_0x4c4990:0x39c,_0x32433f:0x571,_0x495fd2:0x543,_0x1fb2e6:0x504,_0x5aa603:0x22f,_0xac1c74:0x23e},_0x468136={_0x584855:0x1f3,_0x5084aa:0x7d},_0x436901={_0x34e8a4:0x284,_0x3fe152:0x164,_0x24632b:0x144};function _0x1d0d48(_0x4898c6,_0x411541,_0x352daf,_0x3fd5bd){return _0xe18bb0(_0x4898c6,_0x411541-_0x436901._0x34e8a4,_0x352daf-_0x436901._0x3fe152,_0x3fd5bd-_0x436901._0x24632b);}function _0x22285a(_0x665b,_0x4fb03a,_0x4a8de6,_0x23beb9){return _0xe18bb0(_0x23beb9,_0x4a8de6-0x2a,_0x4a8de6-_0x468136._0x584855,_0x23beb9-_0x468136._0x5084aa);}if(isErrnoException2(_0x535489)&&_0x535489[_0x22285a(0x298,_0x1c2a21._0x226906,0xbe,0x254)]===_0x1d0d48(_0x1c2a21._0x3e11a2,_0x1c2a21._0x596783,_0x1c2a21._0x4c4990,0x295))return new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x4812a7[_0x1d0d48(_0x1c2a21._0x32433f,_0x1c2a21._0x495fd2,0x535,_0x1c2a21._0x1fb2e6)],_0x4812a7);return new ToolExecutionError(_0x535489 instanceof Error?_0x535489[_0x22285a(_0x1c2a21._0x5aa603,_0x1c2a21._0xac1c74,0x27f,0x490)]:String(_0x535489),_0x4812a7);}function shellExists(_0x5ea12b){const _0x2db9bb={_0x2a4aa8:0xf,_0x45f98e:0x42},_0x46c322={_0x3c0805:0x115,_0xf8f0d2:0x1b0};function _0x1294db(_0x3890a9,_0x4b6194,_0x317333,_0x1c1818){return _0x47b891(_0x317333,_0x3890a9- -0x3d5,_0x317333-_0x46c322._0x3c0805,_0x1c1818-_0x46c322._0xf8f0d2);}try{const _0x307b6b=statSync(_0x5ea12b);return _0x307b6b['isFile']()&&(_0x307b6b[_0x1294db(0x19c,0x25a,-_0x2db9bb._0x2a4aa8,-_0x2db9bb._0x45f98e)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x2f2302){const _0x558d41={_0x515332:0x2e8,_0x3a2eb7:0x325,_0x526b06:0x210,_0x116ef4:0x2ec,_0x51e938:0x67,_0x105962:0xf9,_0x5ccfc9:0x17a,_0x284e0e:0x31c,_0x1e7a1f:0x444,_0xb3882b:0x27d,_0x233078:0x1e,_0x45cf27:0x2d4,_0x35f26b:0x168,_0x48dd68:0x1bc,_0x35706c:0x98,_0x37ba57:0x39d,_0x41bf3c:0x442,_0x251aca:0x37d,_0xeb5831:0x483,_0x135d5c:0xde,_0x112a54:0xf5},_0x19a1c2={_0x3109c7:0x88,_0x2a4c79:0x1c7,_0x278c4d:0xbf},_0x522526={_0x3a26a7:0x31,_0x303727:0x96};if(_0x2f2302)return _0x2f2302;function _0x736c8c(_0x44ce5d,_0x393d91,_0x41e5f7,_0x2c09f6){return _0xe18bb0(_0x393d91,_0x41e5f7-0x1b4,_0x41e5f7-_0x522526._0x3a26a7,_0x2c09f6-_0x522526._0x303727);}if(_0x242d07[_0x3d8616(_0x558d41._0x515332,_0x558d41._0x3a2eb7,_0x558d41._0x526b06,_0x558d41._0x116ef4)]()===_0x3d8616(0xf6,0x1d8,_0x558d41._0x51e938,-_0x558d41._0x105962))return process[_0x736c8c(0x315,_0x558d41._0x5ccfc9,_0x558d41._0x284e0e,0x37b)][_0x3d8616(_0x558d41._0x1e7a1f,0x448,_0x558d41._0xb3882b,0x110)]||_0x3d8616(-_0x558d41._0x233078,_0x558d41._0x45cf27,0x105,0x1d9);const _0x4bfb91=[_0x3d8616(-_0x558d41._0x35f26b,-_0x558d41._0x48dd68,-_0x558d41._0x35706c,0x164),_0x3d8616(-0xe,0x63,-0x147,-0x55),_0x3d8616(_0x558d41._0x37ba57,0x323,0x276,_0x558d41._0x41bf3c),_0x736c8c(_0x558d41._0x251aca,0x4ba,_0x558d41._0xeb5831,0x56d)];for(const _0x17a058 of _0x4bfb91){if(shellExists(_0x17a058))return _0x17a058;}function _0x3d8616(_0x38c581,_0x3c96e9,_0x559a2d,_0x3bcba8){return _0xe18bb0(_0x3bcba8,_0x559a2d- -_0x19a1c2._0x3109c7,_0x559a2d-_0x19a1c2._0x2a4c79,_0x3bcba8-_0x19a1c2._0x278c4d);}const _0x4193ca=process['env'][_0x3d8616(_0x558d41._0x135d5c,0x248,0x136,-0xa1)];if(_0x4193ca&&shellExists(_0x4193ca))return _0x4193ca;return _0x3d8616(-0x68,-_0x558d41._0x112a54,-0x98,-0x1d6);}function buildShellArgs(_0x472702,_0x466654){const _0x145e96={_0x10c0f3:0x77f,_0x166b57:0x8f5,_0x5c6154:0x8f6,_0xf7e874:0x318,_0x175ce6:0x2ea,_0x4202e9:0x4ca,_0x2d7985:0x443,_0x2a874d:0x8c7,_0xbaa94b:0x69e,_0x728950:0x89e,_0x37eb81:0x389,_0x2678dd:0x435,_0x38b847:0x4f6,_0x1e17da:0x188,_0x53afab:0x5cc},_0x32806b={_0x1a60dd:0x268};function _0x3a26ce(_0x5133e0,_0x793249,_0x4b4c51,_0x465aa6){return _0x47b891(_0x4b4c51,_0x5133e0- -_0x32806b._0x1a60dd,_0x4b4c51-0xed,_0x465aa6-0x176);}function _0x25df13(_0x5dc324,_0x2a6a07,_0x502304,_0x2016d1){return _0xe18bb0(_0x2016d1,_0x502304-0x65e,_0x502304-0xff,_0x2016d1-0xc4);}if(_0x242d07[_0x25df13(_0x145e96._0x10c0f3,_0x145e96._0x166b57,_0x145e96._0x5c6154,0xa44)]()===_0x3a26ce(_0x145e96._0xf7e874,_0x145e96._0x175ce6,_0x145e96._0x4202e9,_0x145e96._0x2d7985)){const _0x3953b8=/cmd(\.exe)?$/i[_0x25df13(_0x145e96._0x2a874d,_0x145e96._0xbaa94b,_0x145e96._0x728950,0x8a2)](_0x466654);return _0x3953b8?['/d','/s','/c',_0x472702]:[_0x3a26ce(_0x145e96._0x37eb81,0x22c,_0x145e96._0x2678dd,_0x145e96._0x38b847),_0x3a26ce(0x132,0x152,_0x145e96._0x1e17da,0xae),_0x3a26ce(0x3ed,0x54a,0x527,_0x145e96._0x53afab),_0x472702];}return['-c',_0x472702];}function resolveWorkingDirectory(_0x142e76,_0x2ecbc9,_0x5b4ff2){const _0x193cf6={_0x1b4802:0x25a,_0xf88b6e:0x431,_0x1b62f0:0x137,_0x412268:0x403,_0x3040a3:0x2fe,_0x55bf7a:0x4be,_0x35f14b:0x4bd,_0x34114a:0x550},_0x570134={_0x1ab3da:0xcc,_0x2560e3:0x31,_0x1a1d62:0x10c,_0x550396:0x4c,_0x571bab:0x16d},_0x2665e1={_0x5c2d5a:0x3d9,_0xe237b8:0x15e},_0xc476c8={_0x396998:0xf9,_0x5e3a4c:0x160},_0x16c061={_0x2aefa1:0x101},_0x108150=resolveAllowedPath(_0x2ecbc9,_0x5b4ff2,_0x142e76??'.');function _0x48347a(_0x47bb1c,_0x45ddbb,_0x583b9e,_0x1cb695){return _0xe18bb0(_0x45ddbb,_0x47bb1c-0x34d,_0x583b9e-_0x16c061._0x2aefa1,_0x1cb695-0x99);}function _0x216793(_0x5ce862,_0x128b4a,_0x2a0278,_0x1260fa){return _0x47b891(_0x128b4a,_0x5ce862- -_0xc476c8._0x396998,_0x2a0278-0x198,_0x1260fa-_0xc476c8._0x5e3a4c);}try{const _0x280988=statSync(_0x108150);if(!_0x280988[_0x48347a(_0x193cf6._0x1b4802,_0x193cf6._0xf88b6e,_0x193cf6._0x1b62f0,0x1fe)]())throw new ToolExecutionError(_0x48347a(_0x193cf6._0x412268,_0x193cf6._0x3040a3,_0x193cf6._0x55bf7a,0x60d)+_0x108150,{'cwd':_0x108150});const _0x2a6e34=realpathSync(_0x108150),_0x39ee0b=realpathSync(_0x2ecbc9),_0x5921ea=_0x5b4ff2[_0x48347a(_0x193cf6._0x35f14b,0x5a8,_0x193cf6._0x34114a,0x4c4)](_0x18b800=>{const _0x4f6cd2={_0x47d6b0:0x276,_0x16aeb2:0xc5};function _0x438492(_0x1ee770,_0x533ccc,_0x406807,_0x523336){return _0x216793(_0x406807- -_0x4f6cd2._0x47d6b0,_0x533ccc,_0x406807-0x17f,_0x523336-_0x4f6cd2._0x16aeb2);}function _0x21b961(_0x380548,_0x1efc55,_0x332811,_0x49b085){return _0x48347a(_0x49b085- -_0x2665e1._0x5c2d5a,_0x1efc55,_0x332811-_0x2665e1._0xe237b8,_0x49b085-0xc9);}try{return realpathSync(_0x421d9b[_0x438492(0xbe,-_0x570134._0x1ab3da,0xc3,_0x570134._0x2560e3)](_0x18b800));}catch{return _0x421d9b[_0x21b961(-_0x570134._0x1a1d62,_0x570134._0x550396,-_0x570134._0x571bab,-0xeb)](_0x18b800);}});return resolveAllowedPath(_0x39ee0b,_0x5921ea,_0x2a6e34);}catch(_0x4194ea){if(_0x4194ea instanceof ToolExecutionError)throw _0x4194ea;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x108150,{'cwd':_0x108150});}}function resolveBashExecutionTarget(_0x417343,_0x1e0b0b={}){const _0x4afcf1={_0x46ec29:0x6c5,_0x3da681:0x53e,_0x424eee:0x6e1,_0x2715b5:0x729,_0x3d0e4f:0x495,_0x10c053:0x65f,_0x1a8800:0x8ca,_0x4ae101:0x52f,_0x52adb3:0x374,_0xf08105:0x52c,_0xd7474d:0x6d1,_0x31a6a5:0x425},_0x2450df={_0x4e6687:0x52,_0x9b7100:0x48},_0x57561f=_0x421d9b[_0x4cd012(_0x4afcf1._0x46ec29,0x3be,_0x4afcf1._0x3da681,0x35e)](_0x1e0b0b[_0x4cd012(_0x4afcf1._0x424eee,_0x4afcf1._0x2715b5,0x571,0x39b)]??process[_0x4cd012(0x3d2,_0x4afcf1._0x3d0e4f,0x513,_0x4afcf1._0x10c053)]()),_0x1e7194=resolveDefaultShell(_0x1e0b0b[_0x4cd012(0x784,0x910,0x85c,_0x4afcf1._0x1a8800)]);function _0x4f2931(_0x2a281d,_0xdc141e,_0x1b2c3a,_0x5679a6){return _0x47b891(_0x2a281d,_0x5679a6- -0x20a,_0x1b2c3a-_0x2450df._0x4e6687,_0x5679a6-_0x2450df._0x9b7100);}function _0x4cd012(_0x34c28e,_0xeb80b9,_0x1a9b57,_0x2154bc){return _0xe18bb0(_0x2154bc,_0x1a9b57-0x59d,_0x1a9b57-0x1e3,_0x2154bc-0xf0);}return{'command':_0x417343[_0x4f2931(_0x4afcf1._0x4ae101,_0x4afcf1._0x52adb3,0x4d6,0x55b)],'cwd':resolveWorkingDirectory(_0x417343['cwd'],_0x57561f,_0x1e0b0b[_0x4cd012(0x443,_0x4afcf1._0xf08105,0x63e,_0x4afcf1._0xd7474d)]??[]),'shellPath':_0x1e7194,'dialect':resolveShellDialect(_0x1e7194),'background':_0x417343[_0x4cd012(0x44c,_0x4afcf1._0x31a6a5,0x565,0x470)]??![]};}function resolveShellDialect(_0x17d4b4){const _0x25a516={_0x40a6bf:0x646,_0x5a7229:0x468,_0xb5821c:0x44b,_0x114be0:0x234,_0x39fb4f:0x462,_0x3dc9d4:0x21d,_0x24b7b2:0x2d,_0x3824a3:0x102,_0x407aa3:0x1de,_0x1b37af:0xcb,_0x18dcb5:0xa7,_0x312132:0x3bf,_0x5eb6db:0x528,_0x1ec548:0x513,_0x439325:0x31d,_0x179206:0x567,_0x41a505:0x3e9,_0x2d5b29:0x3d3,_0x2fc8c8:0x195,_0x54365a:0xff,_0x2458a4:0x1a5,_0xd130dd:0x3ce,_0x4c45ed:0x122,_0x1d240c:0xd9},_0x252f55={_0x3a56df:0x176},_0x43cd40={_0x5b2212:0x1b3,_0x117e2f:0xb1};if(_0x242d07[_0x2f250d(0x337,_0x25a516._0x40a6bf,_0x25a516._0x5a7229,_0x25a516._0xb5821c)]()===_0x2f250d(_0x25a516._0x114be0,_0x25a516._0x39fb4f,0x2a5,0x2a2))return _0x2f250d(_0x25a516._0x3dc9d4,0x46,_0x25a516._0x24b7b2,0xfe);const _0x332e44=_0x421d9b[_0x2f250d(-_0x25a516._0x3824a3,_0x25a516._0x407aa3,_0x25a516._0x1b37af,_0x25a516._0x18dcb5)](_0x17d4b4)['toLowerCase']();function _0x2f250d(_0x4dfe12,_0xb8aff3,_0x1bd1c7,_0x302720){return _0xe18bb0(_0xb8aff3,_0x302720-_0x43cd40._0x5b2212,_0x1bd1c7-_0x43cd40._0x117e2f,_0x302720-0x121);}function _0x292c11(_0x1c36f5,_0x27f564,_0x417078,_0x39661e){return _0x47b891(_0x27f564,_0x1c36f5- -0x2f2,_0x417078-_0x252f55._0x3a56df,_0x39661e-0x174);}if(_0x332e44===_0x292c11(_0x25a516._0x312132,_0x25a516._0x5eb6db,_0x25a516._0x1ec548,_0x25a516._0x439325))return _0x2f250d(_0x25a516._0x179206,0x3d5,_0x25a516._0x41a505,_0x25a516._0x2d5b29);if(_0x332e44==='sh'||_0x332e44===_0x292c11(_0x25a516._0x2fc8c8,0x7f,_0x25a516._0x54365a,_0x25a516._0x2458a4))return _0x292c11(0x2b2,_0x25a516._0xd130dd,_0x25a516._0x4c45ed,_0x25a516._0x1d240c);return'unknown';}function emitChunk(_0x12400d,_0x1a3779,_0x3a9c4d,_0x25e98c){const _0x538c5e={_0x5e8ffe:0x5f2},_0x5c3f51={_0x411846:0x190,_0x704184:0x1d9};_0x12400d[_0x351480(0x478,_0x538c5e._0x5e8ffe,0x54c,0x449)](_0x3a9c4d);function _0x351480(_0x9e9834,_0x4b154c,_0x45bf27,_0x54ba2e){return _0x47b891(_0x54ba2e,_0x45bf27-_0x5c3f51._0x411846,_0x45bf27-0xf8,_0x54ba2e-_0x5c3f51._0x704184);}_0x1a3779['push'](_0x3a9c4d),_0x25e98c();}function appendChunk(_0x251fa7,_0x3e51e0,_0x320bb0,_0x132d0a,_0x390d9a,_0x54fbed){const _0x205f4c={_0x2eecaf:0x13a,_0x661f27:0x15,_0x994304:0x2b9,_0x5d08af:0x1ea,_0x4c5176:0x15b,_0x1e2d77:0x17d,_0x33c2ac:0x208,_0x470007:0x1c4,_0x24ed9d:0x1fd,_0x5adf0a:0x1bf,_0x43a8ae:0x1e8,_0x41f2b8:0x51,_0x159207:0x163,_0x4be4ac:0x355,_0x4f9ec2:0x167,_0x2790e7:0xe9,_0xd5eca8:0x231,_0x589051:0x7c,_0x59061f:0x96,_0x35534d:0x101,_0x13ffdc:0x115},_0x22375a={_0x441b83:0x194,_0x14a2f9:0x89},_0x4aee36={_0x582b84:0xe7},_0x195dd6=_0x132d0a?stripAnsiAndControls(_0x320bb0):_0x320bb0;if(_0x195dd6['length']===0x0)return;function _0x597d5c(_0x2391f0,_0x59bb2c,_0x22b760,_0x12b65d){return _0x47b891(_0x22b760,_0x12b65d- -0x4d1,_0x22b760-_0x4aee36._0x582b84,_0x12b65d-0x11d);}if(!_0x54fbed){emitChunk(_0x251fa7,_0x3e51e0,_0x195dd6,_0x390d9a);return;}let _0x303d58=0x0,_0x2bd067=_0x195dd6[_0x7e5f78(0x3fe,0x467,0x42d,0x5bf)]('\x0a');function _0x7e5f78(_0x4dd471,_0x104c39,_0xee92d4,_0x5f1bf1){return _0xe18bb0(_0x104c39,_0x5f1bf1-0x2be,_0xee92d4-_0x22375a._0x441b83,_0x5f1bf1-_0x22375a._0x14a2f9);}while(_0x2bd067>=0x0){_0x54fbed[_0x597d5c(-0x6f,-0x244,-0xc7,-_0x205f4c._0x2eecaf)][_0x7e5f78(_0x205f4c._0x661f27,_0x205f4c._0x994304,_0x205f4c._0x5d08af,0x1e9)](_0x195dd6[_0x597d5c(-_0x205f4c._0x4c5176,-_0x205f4c._0x1e2d77,-_0x205f4c._0x33c2ac,-0x130)](_0x303d58,_0x2bd067));const _0xe7eb55=_0x54fbed[_0x7e5f78(0xf4,-0x10,0x75,_0x205f4c._0x470007)]['join']('');_0x54fbed['trailingChunks']['length']=0x0,_0x54fbed[_0x597d5c(_0x205f4c._0x24ed9d,0x1f8,-_0x205f4c._0x5adf0a,0x25)][_0x597d5c(_0x205f4c._0x43a8ae,0x243,_0x205f4c._0x41f2b8,0x200)](_0xe7eb55)&&emitChunk(_0x251fa7,_0x3e51e0,_0xe7eb55+'\x0a',_0x390d9a),_0x303d58=_0x2bd067+0x1,_0x2bd067=_0x195dd6['indexOf']('\x0a',_0x303d58);}_0x303d58<_0x195dd6[_0x597d5c(_0x205f4c._0x159207,0x305,_0x205f4c._0x4be4ac,_0x205f4c._0x4f9ec2)]&&_0x54fbed[_0x7e5f78(0x373,_0x205f4c._0x2790e7,_0x205f4c._0xd5eca8,_0x205f4c._0x470007)][_0x597d5c(-_0x205f4c._0x589051,_0x205f4c._0x59061f,-_0x205f4c._0x35534d,-_0x205f4c._0x13ffdc)](_0x195dd6['slice'](_0x303d58));}function flushOutputRegex(_0x3a2d22,_0x39953b,_0x30e9a5,_0x2e1ef2){const _0x3871c8={_0x1d30aa:0x2c5,_0x3156f5:0x296,_0x477f96:0x5b,_0x3a0782:0x68e,_0x344ac7:0x51,_0x1d6264:0x0,_0x4f26bc:0x1d2,_0x37e9af:0x4c6,_0x5148ec:0x1eb,_0x17227a:0x384,_0x304db8:0x6e3},_0x5de4c0={_0x59078e:0x172,_0x45af91:0x124},_0x45a63e={_0x23bd07:0x397,_0x356a25:0x60};function _0x2c2a86(_0x47417b,_0x407d08,_0x37fbd1,_0x5e0cf9){return _0x47b891(_0x47417b,_0x5e0cf9- -_0x45a63e._0x23bd07,_0x37fbd1-0x15c,_0x5e0cf9-_0x45a63e._0x356a25);}function _0x103864(_0x19ac53,_0x4258c3,_0x4396b5,_0x23ffec){return _0x47b891(_0x4396b5,_0x4258c3- -_0x5de4c0._0x59078e,_0x4396b5-0x1cd,_0x23ffec-_0x5de4c0._0x45af91);}if(!_0x30e9a5||_0x30e9a5[_0x103864(_0x3871c8._0x1d30aa,0x225,_0x3871c8._0x3156f5,_0x3871c8._0x477f96)][_0x103864(0x384,0x4c6,_0x3871c8._0x3a0782,0x352)]===0x0)return;const _0x42dd55=_0x30e9a5[_0x2c2a86(_0x3871c8._0x344ac7,-0x62,-0x1ae,_0x3871c8._0x1d6264)][_0x2c2a86(_0x3871c8._0x4f26bc,0x82,0xcd,0x1dc)]('');_0x30e9a5['trailingChunks'][_0x103864(0x39b,_0x3871c8._0x37e9af,0x316,0x622)]=0x0,_0x30e9a5[_0x103864(_0x3871c8._0x5148ec,_0x3871c8._0x17227a,0x224,0x25a)][_0x103864(0x5de,0x55f,0x3b0,_0x3871c8._0x304db8)](_0x42dd55)&&emitChunk(_0x3a2d22,_0x39953b,_0x42dd55,_0x2e1ef2);}function createBashTool(_0xf4a085={}){const _0x1d5bfa={_0x3a3b87:0x408,_0x29c113:0x4c3,_0x249814:0x673,_0x2bc1a3:0x465,_0x149532:0x4db,_0x2cb711:0x88e,_0x4556c9:0x997,_0x345d22:0x900,_0x4c9796:0x306,_0x5f36f7:0x366,_0x39d6c1:0x3f9,_0x29f14d:0x51e,_0x164140:0x370,_0x4d7b56:0x79d,_0x3ff1dc:0x837,_0x5432cf:0x70f,_0xbe9830:0x2ba,_0x1750c7:0x3ed,_0x15f7a4:0x544,_0x2ab06c:0x4ee,_0x203188:0x615,_0x5572b6:0x44f,_0x31bd3d:0x5cc,_0x4bcb54:0x6e8,_0x3bf1f4:0x530,_0x4dcbb5:0x204,_0x36c58b:0x78d,_0x74faec:0x882,_0x361ba2:0x5a7,_0x3e977c:0x7a2,_0x29ea40:0x7d7,_0x13d8c6:0x907,_0x34b84c:0x736},_0x53e2b4={_0x487465:0x1f1,_0x579c13:0x67,_0x5aa326:0x36,_0x5ab45e:0x1c1,_0x4675c2:0x951,_0x168fba:0x8ad,_0x2c8b03:0xa85,_0x4cccaf:0x26,_0x4be65c:0xf,_0x355f6b:0x109,_0x365300:0x83e,_0x1914e4:0x760,_0x3c9826:0x53e,_0x17250c:0x811,_0x17fb69:0x1c8,_0x2526e1:0x34d,_0xcd0d3e:0x185,_0x154303:0x6da,_0x4aabb0:0x8c0,_0x477784:0x6a8,_0x19dacb:0x4b6,_0x21c8a3:0x645,_0x196375:0xd2,_0x2b8162:0xe7,_0x384a6a:0x1b3,_0x1df1a1:0x535,_0x54796e:0x988,_0x5c5af3:0x966,_0x2cd635:0x91a,_0xe49e8a:0x8a9,_0x7e5724:0x764,_0x3dc7ee:0x78c,_0x599d6f:0x65d,_0x603045:0x7ee,_0x57e05b:0x1b8,_0x1f8aa2:0x2da,_0x4427e9:0xfb,_0x3823c2:0xf9,_0x247576:0x261,_0x1f58bd:0x93b,_0x548ca4:0xa56,_0x4b8d61:0xb1,_0x5c1da4:0x22d,_0x4d7991:0xb,_0x4366a4:0x307,_0x3fb9d2:0xf9,_0x1d7606:0x208,_0x3a52ac:0x69e,_0x3d4de9:0x4a9,_0x445196:0x657,_0x3cf360:0x649,_0x511c2e:0x4c7,_0xf2c29b:0x458,_0x586a95:0x499,_0x4e7f23:0xbf,_0x571309:0x2c9,_0x47433d:0xfb,_0x284b5a:0x100,_0x325572:0x64d,_0x2efa2c:0x43c,_0x5d81d9:0x18b,_0x2b99ef:0x54d,_0x2df43f:0x39b,_0x3db74d:0x5eb,_0x375dfb:0x787,_0x3337bd:0x740,_0x329486:0x18f,_0x3be7dd:0x2ca,_0x5bc6a9:0x245,_0xff87be:0x65e,_0x38c79f:0x67d,_0x500147:0x69b,_0x394208:0x7c9,_0x278e41:0x7cd,_0x78cc36:0x8e8,_0x1e6e39:0x73c,_0x10d279:0x71a,_0x509854:0x81c,_0x38fc81:0x9e6,_0xc730dc:0x869,_0x19df1f:0x61b,_0x415e55:0x21,_0x2ede8c:0x308,_0x38c0df:0x79e,_0x15c519:0x65e,_0x565fec:0xa9,_0x2e21c7:0x22,_0x3d5c9b:0x268,_0x18d322:0x292,_0x362ca0:0x1d5,_0x57abd6:0x1a0,_0x1c8edb:0x839,_0x2e1c1e:0x8ac,_0x1f4ebb:0x7ef,_0x35698e:0x4af,_0x3f3f81:0x858,_0x447762:0x86c,_0x2a0482:0x831,_0x1c72cb:0x680,_0x1d414f:0xd9,_0x39ac8c:0x9b,_0x35a952:0x825,_0x3a4179:0x8fa,_0x2b4c6e:0xa3c,_0x83adef:0x795,_0x384957:0x119,_0xf155bc:0x71e,_0x988c21:0x618,_0x3eb105:0x911,_0x4565b0:0x31,_0x5bd1b3:0x242,_0x365d61:0xc,_0xf0202b:0x900,_0x504708:0xa39,_0xab1f19:0x18c,_0xc4f152:0x5d,_0x1d49c1:0x136,_0xeb4f44:0x144,_0x4d7d63:0xc8,_0x118524:0xf3,_0x33f208:0x83c,_0x26c6fd:0x79c,_0x460ab9:0x11e,_0x141281:0x180,_0x49fa42:0x12f,_0x5c90b5:0x223,_0x1fd1c7:0x5e,_0x2aa747:0xba,_0x3ccbf6:0x96,_0x2e5e75:0x4e},_0x3655eb={_0x10942a:0xad4,_0x180bff:0x908,_0x3d7d5e:0x7b4,_0xf82aa8:0x8c2,_0x1655ef:0x232,_0x51f7bf:0x34b},_0x276690={_0x92408f:0x4e6,_0x1f30b3:0x52f},_0x25ed3d={_0x18f932:0x78,_0x10f3d5:0xa1,_0x25fd59:0x16e},_0x317605={_0x58b0ab:0x1c8},_0x696844={_0x1b044f:0x5e},_0x387e54={_0x296796:0xc6};function _0x57dd2c(_0x3426ec,_0x3f3809,_0xfe25c5,_0x9bc17e){return _0x47b891(_0x3426ec,_0x9bc17e- -0x2f,_0xfe25c5-_0x387e54._0x296796,_0x9bc17e-0x22);}function _0x319dfa(_0x562498,_0x862d99,_0x4cb147,_0x1801c3){return _0x47b891(_0x562498,_0x1801c3-_0x696844._0x1b044f,_0x4cb147-0x155,_0x1801c3-0x148);}const _0x2bd249=_0x421d9b['resolve'](_0xf4a085[_0x319dfa(0x301,_0x1d5bfa._0x3a3b87,0x3b9,_0x1d5bfa._0x29c113)]??process[_0x319dfa(0x546,_0x1d5bfa._0x249814,0x370,_0x1d5bfa._0x2bc1a3)]()),_0x530b64=_0xf4a085[_0x57dd2c(_0x1d5bfa._0x149532,0x6d6,0x681,0x503)]??[],_0x5b9ff9=_0xf4a085[_0x319dfa(_0x1d5bfa._0x2cb711,_0x1d5bfa._0x4556c9,0x765,0x7f5)]??DEFAULT_TIMEOUT_MS,_0x512d24=_0xf4a085[_0x319dfa(0x624,_0x1d5bfa._0x345d22,0x648,0x779)]??!![],_0x541e49=_0xf4a085['name']??'Bash',_0x4b709c=_0xf4a085[_0x57dd2c(0x1ae,0x328,_0x1d5bfa._0x4c9796,_0x1d5bfa._0x5f36f7)]??[],_0x5234fc=_0xf4a085[_0x319dfa(0x5e4,0x308,0x3a4,_0x1d5bfa._0x39d6c1)]??[],_0x5efd2a=_0xf4a085[_0x57dd2c(0x2e7,_0x1d5bfa._0x29f14d,0x4a6,_0x1d5bfa._0x164140)];return defineTool({'name':_0x541e49,'permissionClass':_0x57dd2c(_0x1d5bfa._0x4d7b56,0x908,_0x1d5bfa._0x3ff1dc,_0x1d5bfa._0x5432cf),'description':_0xf4a085[_0x319dfa(0x33d,_0x1d5bfa._0xbe9830,0x57a,_0x1d5bfa._0x1750c7)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x57dd2c(_0x1d5bfa._0x15f7a4,_0x1d5bfa._0x2ab06c,0x682,0x6b1),'properties':{'command':{'type':'string'},'description':{'type':_0x319dfa(0x754,0x53e,0x5f8,_0x1d5bfa._0x203188),'description':_0x319dfa(_0x1d5bfa._0x5572b6,_0x1d5bfa._0x31bd3d,_0x1d5bfa._0x4bcb54,_0x1d5bfa._0x3bf1f4)},'cwd':{'type':'string'},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x319dfa(0x4d8,0x6f0,0x7bf,0x615),'description':_0x57dd2c(0x2c1,_0x1d5bfa._0x4dcbb5,0x3bc,0x35f)},'runInBackground':{'type':_0x319dfa(_0x1d5bfa._0x36c58b,_0x1d5bfa._0x74faec,_0x1d5bfa._0x361ba2,_0x1d5bfa._0x3e977c)}},'required':[_0x57dd2c(0x8bf,_0x1d5bfa._0x29ea40,_0x1d5bfa._0x13d8c6,_0x1d5bfa._0x34b84c),'description']},async *'execute'(_0x1910e4,_0x47ffcc){const _0x5cd41b={_0x5f3ff7:0x1cb,_0x4c2d63:0x310,_0x5e6a20:0xe6,_0x4b6eaf:0x156,_0xf454e5:0x22f,_0x1709cb:0x914,_0x27eaa6:0x765},_0x3f2131={_0x37b604:0x128,_0x63cfbf:0x1eb},_0x83683e={_0x18f009:0x871,_0x237bfe:0x90d},_0x5201cc={_0x5dfe39:0x636,_0x3392af:0x4f},_0x1e797d={_0x250f69:0x41b,_0x5bc2f6:0xaaa,_0x259b19:0x8bd},_0x54c51c={_0x34db6b:0x68,_0x2d1c38:0x15},_0x17e950={_0x4dec9a:0x8ba},_0x4928cd={_0x25866f:0x1eb,_0x11d0fc:0x230},_0x5ee794=_0x1910e4['timeoutMs']??_0x5b9ff9;if(!Number[_0x4d7ccf(0x10b,0x22e,_0x53e2b4._0x487465,0x3f6)](_0x5ee794)||_0x5ee794<0x1)throw new ToolExecutionError(_0x4d7ccf(_0x53e2b4._0x579c13,-_0x53e2b4._0x5aa326,0x7,-_0x53e2b4._0x5ab45e),{'command':_0x1910e4['command']});throwIfAborted(_0x47ffcc[_0x4ac829(0x83e,0x681,0x697,0xa47)]);const _0x35b1d5=_0x1910e4['ignoreOutput']??![],_0x2bfc3a=resolveBashExecutionTarget(_0x1910e4,{'defaultCwd':_0x2bd249,'allowedDirs':_0x530b64,'shellPath':_0xf4a085[_0x4ac829(_0x53e2b4._0x4675c2,_0x53e2b4._0x168fba,0x8c9,0x8ed)]}),{cwd:_0x53d89b,shellPath:_0x793c66}=_0x2bfc3a,_0x2f44f6=buildShellArgs(_0x1910e4[_0x4ac829(0x966,0xb75,_0x53e2b4._0x2c8b03,0x79c)],_0x793c66),_0x5bc38a=_0x242d07['platform']()==='win32',_0x3a3be5=buildChildEnv(_0xf4a085['env'],_0x4b709c,_0x5234fc);if(_0x1910e4[_0x4d7ccf(-_0x53e2b4._0x4cccaf,-0x16a,-_0x53e2b4._0x4be65c,-_0x53e2b4._0x355f6b)]){if(!_0x5efd2a)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x1910e4[_0x4ac829(0x966,0xb69,0xa90,0xb58)]});throwIfAborted(_0x47ffcc[_0x4ac829(_0x53e2b4._0x365300,0x85a,0x93f,_0x53e2b4._0x1914e4)]),await _0xf4a085[_0x4ac829(0x66b,0x50d,_0x53e2b4._0x3c9826,_0x53e2b4._0x17250c)]?.(_0x2bfc3a,_0x47ffcc[_0x4d7ccf(_0x53e2b4._0x17fb69,_0x53e2b4._0x2526e1,_0x53e2b4._0xcd0d3e,0x305)],_0x47ffcc),throwIfAborted(_0x47ffcc[_0x4ac829(0x83e,_0x53e2b4._0x154303,0x904,_0x53e2b4._0x4aabb0)]);const _0x50ce36=_0x5efd2a[_0x4ac829(_0x53e2b4._0x477784,_0x53e2b4._0x19dacb,0x6ca,_0x53e2b4._0x21c8a3)]();let _0x4301dc;try{_0x4301dc=_0x23dbf7(_0x793c66,_0x2f44f6,{'cwd':_0x53d89b,'env':_0x3a3be5,'stdio':[_0x4d7ccf(_0x53e2b4._0x196375,0x71,0xd3,0x253),'pipe',_0x4d7ccf(0x1c9,_0x53e2b4._0x2b8162,_0x53e2b4._0x384a6a,0xd1)],'shell':![],'windowsHide':!![],'detached':!_0x5bc38a});}catch(_0x2438cb){_0x5efd2a[_0x4ac829(0x6cb,0x69b,_0x53e2b4._0x1df1a1,0x516)](_0x50ce36);throw mapSpawnError(_0x2438cb,{'command':_0x1910e4[_0x4ac829(0x966,0x7ae,0x820,_0x53e2b4._0x54796e)],'cwd':_0x53d89b,'shellPath':_0x793c66});}let _0x456e05;try{_0x456e05=_0x5efd2a['attach'](_0x50ce36,{'child':_0x4301dc,'command':_0x1910e4[_0x4ac829(_0x53e2b4._0x5c5af3,0x9ef,_0x53e2b4._0x2cd635,_0x53e2b4._0xe49e8a)],'cwd':_0x53d89b,'stripAnsi':_0x512d24,...!_0x5bc38a&&_0x4301dc[_0x4ac829(_0x53e2b4._0x7e5724,_0x53e2b4._0x3dc7ee,_0x53e2b4._0x599d6f,_0x53e2b4._0x603045)]!==void 0x0?{'processGroupId':_0x4301dc[_0x4d7ccf(_0x53e2b4._0x57e05b,_0x53e2b4._0x1f8aa2,_0x53e2b4._0x4427e9,-_0x53e2b4._0x3823c2)]}:{}});}catch(_0xf61c77){_0x5efd2a[_0x4d7ccf(_0x53e2b4._0x247576,-0xac,0x62,-0x1a1)](_0x50ce36),_0x4301dc[_0x4ac829(_0x53e2b4._0x1f58bd,0x9b8,0x8f6,_0x53e2b4._0x548ca4)](_0x4d7ccf(0x6f,_0x53e2b4._0x2b8162,-_0x53e2b4._0x4b8d61,-_0x53e2b4._0x5c1da4),()=>{});try{killProcessGroup(_0x4301dc,_0x5bc38a);}catch{}throw _0xf61c77;}return createToolOutput(_0x4d7ccf(_0x53e2b4._0x4d7991,_0x53e2b4._0x4366a4,_0x53e2b4._0x3fb9d2,_0x53e2b4._0x1d7606)+_0x456e05[_0x4ac829(0x64d,_0x53e2b4._0x3a52ac,_0x53e2b4._0x3d4de9,_0x53e2b4._0x445196)]+_0x4ac829(_0x53e2b4._0x3cf360,_0x53e2b4._0x511c2e,_0x53e2b4._0xf2c29b,_0x53e2b4._0x586a95)+(_0x456e05[_0x4d7ccf(_0x53e2b4._0x4e7f23,_0x53e2b4._0x571309,_0x53e2b4._0x47433d,0xb2)]??'?')+_0x4d7ccf(0xcb,0x47,0x10a,-_0x53e2b4._0x284b5a),{'shellId':_0x456e05[_0x4ac829(_0x53e2b4._0x325572,0x4cd,0x43e,_0x53e2b4._0x2efa2c)],'status':_0x456e05[_0x4d7ccf(0x33b,0x329,0x241,_0x53e2b4._0x5d81d9)],'command':_0x456e05['command'],'description':_0x1910e4[_0x4ac829(0x590,0x5ac,_0x53e2b4._0x2b99ef,_0x53e2b4._0x2df43f)],'cwd':_0x456e05[_0x4ac829(0x608,_0x53e2b4._0x3db74d,0x7fe,0x666)],'pid':_0x456e05[_0x4ac829(_0x53e2b4._0x7e5724,_0x53e2b4._0x375dfb,0x6cc,_0x53e2b4._0x3337bd)]??null});}let _0x57f545,_0x295276;if(_0x1910e4[_0x4d7ccf(_0x53e2b4._0x329486,_0x53e2b4._0x3be7dd,_0x53e2b4._0x5bc6a9,0xa9)]!==void 0x0)try{const _0x2f32d0=new RegExp(_0x1910e4[_0x4d7ccf(0x26b,0x2f3,0x245,0x30f)]);_0x57f545={'regex':_0x2f32d0,'trailingChunks':[]},_0x295276={'regex':_0x2f32d0,'trailingChunks':[]};}catch(_0x5e90b7){throw new ToolExecutionError(_0x4ac829(_0x53e2b4._0xff87be,_0x53e2b4._0x38c79f,0x652,_0x53e2b4._0x500147)+(_0x5e90b7 instanceof Error?_0x5e90b7['message']:String(_0x5e90b7)),{'command':_0x1910e4[_0x4ac829(0x966,0xa08,_0x53e2b4._0x394208,0xa67)],'outputRegex':_0x1910e4[_0x4ac829(0x8ae,0x6fa,_0x53e2b4._0x278e41,0x9bf)]});}await _0xf4a085['verifyExecution']?.(_0x2bfc3a,_0x47ffcc['executionAuthorization'],_0x47ffcc);function _0x4ac829(_0x934610,_0x223659,_0x4f9f04,_0x35c9e5){return _0x57dd2c(_0x35c9e5,_0x223659-_0x4928cd._0x25866f,_0x4f9f04-0x148,_0x934610-_0x4928cd._0x11d0fc);}throwIfAborted(_0x47ffcc['signal']);let _0x479777;try{_0x479777=_0x23dbf7(_0x793c66,_0x2f44f6,{'cwd':_0x53d89b,'env':_0x3a3be5,'stdio':_0x35b1d5?['ignore',_0x4ac829(0x73c,_0x53e2b4._0x78cc36,0x6e1,0x5f5),'ignore']:[_0x4ac829(_0x53e2b4._0x1e6e39,_0x53e2b4._0x10d279,0x8bb,0x703),_0x4ac829(_0x53e2b4._0x509854,0x7a3,0xa22,_0x53e2b4._0x38fc81),_0x4ac829(0x81c,0x769,_0x53e2b4._0xc730dc,_0x53e2b4._0x19df1f)],'shell':![],'windowsHide':!![],'detached':!_0x5bc38a});}catch(_0x245a8a){throw mapSpawnError(_0x245a8a,{'command':_0x1910e4['command'],'cwd':_0x53d89b,'shellPath':_0x793c66});}const _0x336fdf=[],_0x26fabc=[],_0x45c3bf=new _0x5da69c(_0x4d7ccf(_0x53e2b4._0x415e55,_0x53e2b4._0x2ede8c,0x225,0x32)),_0x2dde9d=new _0x5da69c('utf8');let _0x5b05f5,_0x3e2b68=![],_0x2bfad5;const _0x5ddaf0=()=>{if(!_0x5b05f5)return;const _0x3c1e9d=_0x5b05f5;_0x5b05f5=void 0x0,_0x3c1e9d();};function _0x4d7ccf(_0x36991c,_0x1da648,_0x19da36,_0x529008){return _0x57dd2c(_0x1da648,_0x1da648-0x109,_0x19da36-_0x317605._0x58b0ab,_0x19da36- -0x439);}const _0x23e667=async()=>{const _0x347776={_0x2e0a2a:0x9b,_0x5024e5:0x65,_0x434481:0x13d};function _0x5e5fe1(_0x4430ac,_0x3f5386,_0x6572d0,_0x3de2ee){return _0x4ac829(_0x6572d0- -_0x347776._0x2e0a2a,_0x3f5386-_0x347776._0x5024e5,_0x6572d0-_0x347776._0x434481,_0x3f5386);}if(_0x26fabc[_0x5e5fe1(0x76f,_0x17e950._0x4dec9a,0x79e,0x944)]>0x0||_0x3e2b68)return;await new Promise(_0x2f5ac6=>{_0x5b05f5=_0x2f5ac6;});},_0x5543f7=_0x5066f3=>{const _0x32e77e={_0x540834:0x6a4,_0x17d5a0:0xd2,_0xda6cca:0x16};function _0x4794d5(_0x1bf3dd,_0xf3a0b,_0x581149,_0x20594d){return _0x4ac829(_0x1bf3dd- -_0x32e77e._0x540834,_0xf3a0b-_0x32e77e._0x17d5a0,_0x581149-_0x32e77e._0xda6cca,_0x20594d);}appendChunk(_0x336fdf,_0x26fabc,_0x45c3bf[_0x4794d5(_0x25ed3d._0x18f932,_0x25ed3d._0x10f3d5,-_0x25ed3d._0x25fd59,0xfd)](_0x5066f3),_0x512d24,_0x5ddaf0,_0x57f545);},_0x2a78c0=_0x3956f7=>{const _0x3aa059={_0x2345ef:0x6,_0x272a6:0x5a1,_0x3e3e5d:0x48};function _0x4a01b3(_0x2378bc,_0x26aa65,_0x481074,_0x13967b){return _0x4d7ccf(_0x2378bc-_0x3aa059._0x2345ef,_0x2378bc,_0x26aa65-_0x3aa059._0x272a6,_0x13967b-_0x3aa059._0x3e3e5d);}appendChunk(_0x336fdf,_0x26fabc,_0x2dde9d[_0x4a01b3(0x772,0x654,_0x276690._0x92408f,_0x276690._0x1f30b3)](_0x3956f7),_0x512d24,_0x5ddaf0,_0x295276);};_0x479777[_0x4ac829(0x79f,_0x53e2b4._0x38c0df,_0x53e2b4._0x15c519,0x8cd)]?.['on'](_0x4d7ccf(_0x53e2b4._0x565fec,-0xc6,-_0x53e2b4._0x2e21c7,0x1c9),_0x5543f7),_0x479777['stderr']?.['on']('data',_0x2a78c0);let _0x21b480=![],_0x1a2202;const _0x2f8f57=addAbortListener(_0x47ffcc[_0x4d7ccf(_0x53e2b4._0x3d5c9b,_0x53e2b4._0x18d322,_0x53e2b4._0x362ca0,_0x53e2b4._0x57abd6)],()=>{const _0x2147db={_0x3a03e7:0x2f};function _0x33ee5a(_0x7bc60a,_0x47e68b,_0x57e307,_0x3c7620){return _0x4ac829(_0x57e307- -0x423,_0x47e68b-_0x54c51c._0x34db6b,_0x57e307-_0x54c51c._0x2d1c38,_0x3c7620);}_0x2bfad5=toAbortError(_0x47ffcc[_0x33ee5a(0x37c,0x5fc,_0x1e797d._0x250f69,0x341)][_0x15675d(0x96b,_0x1e797d._0x5bc2f6,_0x1e797d._0x259b19,0x825)]),_0x3e2b68=!![],_0x5ddaf0();function _0x15675d(_0x5751c6,_0x2b456d,_0x2bff05,_0x54b771){return _0x4ac829(_0x5751c6- -_0x2147db._0x3a03e7,_0x2b456d-0xc2,_0x2bff05-0xa6,_0x2b456d);}try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}});try{const _0x372c42=new Promise((_0x1f22c2,_0x20e2b6)=>{const _0x4c036f={_0x746ebd:0x5b8,_0x470a16:0x204,_0xf6015c:0x507,_0x33e868:0x4dd,_0x2f93ec:0x46d,_0x5bd242:0x521,_0x50a725:0x526,_0x1144f9:0x4c8},_0x1e6a32={_0x16ef66:0x1bc};function _0x4c050d(_0x16ddf1,_0x385eda,_0x66e79f,_0x38c0b9){return _0x4d7ccf(_0x16ddf1-0x1cd,_0x38c0b9,_0x385eda-_0x5201cc._0x5dfe39,_0x38c0b9-_0x5201cc._0x3392af);}const _0x1520a4=()=>{function _0x314379(_0x3af47f,_0x386982,_0x16964e,_0x30d6c8){return _0x678a(_0x16964e-_0x1e6a32._0x16ef66,_0x3af47f);}function _0xfa12b(_0x3eb801,_0x5238a5,_0x2caa73,_0x25d418){return _0x678a(_0x5238a5-0x1b8,_0x3eb801);}_0x1a2202&&(clearTimeout(_0x1a2202),_0x1a2202=void 0x0),_0x479777[_0xfa12b(_0x4c036f._0x746ebd,0x507,0x5ba,0x53b)](_0x314379(_0x4c036f._0x470a16,0x1f3,0x392,0x390),_0x15a88b),_0x479777[_0xfa12b(0x672,_0x4c036f._0xf6015c,_0x4c036f._0x33e868,0x6f3)](_0xfa12b(_0x4c036f._0x2f93ec,_0x4c036f._0x5bd242,_0x4c036f._0x50a725,_0x4c036f._0x1144f9),_0x1a3ae6);},_0x15a88b=_0x4e59a5=>{_0x3e2b68=!![],_0x5ddaf0(),_0x1520a4(),_0x20e2b6(_0x2bfad5??_0x4e59a5);},_0x1a3ae6=(_0xed132d,_0x59d5d9)=>{_0x21b480=!![],appendChunk(_0x336fdf,_0x26fabc,_0x45c3bf[_0x65c773(0x899,_0x83683e._0x18f009,_0x83683e._0x237bfe,0x7c2)](),_0x512d24,_0x5ddaf0,_0x57f545),appendChunk(_0x336fdf,_0x26fabc,_0x2dde9d['end'](),_0x512d24,_0x5ddaf0,_0x295276),flushOutputRegex(_0x336fdf,_0x26fabc,_0x57f545,_0x5ddaf0),flushOutputRegex(_0x336fdf,_0x26fabc,_0x295276,_0x5ddaf0),_0x3e2b68=!![];function _0x65c773(_0x1e66fb,_0x4febfb,_0x151d61,_0x1575c3){return _0x678a(_0x1e66fb-0x370,_0x4febfb);}_0x5ddaf0(),_0x1520a4();if(_0x2bfad5){_0x20e2b6(_0x2bfad5);return;}_0x1f22c2({'code':_0xed132d,'signal':_0x59d5d9});};function _0x36b322(_0x3f0e06,_0x53b5e0,_0x59d1e7,_0xed9189){return _0x4d7ccf(_0x3f0e06-_0x3f2131._0x37b604,_0x3f0e06,_0x53b5e0-0x79,_0xed9189-_0x3f2131._0x63cfbf);}_0x1a2202=setTimeout(()=>{const _0x5d6759={_0x47fcf8:0x3cb},_0x3390d5={_0x4c21a3:0x1e1};_0x3e2b68=!![],_0x5ddaf0(),_0x1520a4();function _0xc56d88(_0x572938,_0x3d7d6c,_0x237fd9,_0x5901cc){return _0x678a(_0x5901cc-_0x3390d5._0x4c21a3,_0x237fd9);}try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}function _0x4f8215(_0x542786,_0x22a7f2,_0x3f4329,_0x491a62){return _0x678a(_0x3f4329- -_0x5d6759._0x47fcf8,_0x491a62);}_0x20e2b6(new ToolExecutionError(_0x4f8215(_0x5cd41b._0x5f3ff7,0x23a,_0x5cd41b._0x5f3ff7,_0x5cd41b._0x4c2d63)+_0x5ee794+_0x4f8215(_0x5cd41b._0x5e6a20,-_0x5cd41b._0x4b6eaf,-0x83,-_0x5cd41b._0xf454e5),{'command':_0x1910e4[_0xc56d88(0x7bb,0x869,_0x5cd41b._0x1709cb,_0x5cd41b._0x27eaa6)],'cwd':_0x53d89b,'shellPath':_0x793c66,'timeoutMs':_0x5ee794,'timedOut':!![]}));},_0x5ee794),_0x479777[_0x4c050d(_0x3655eb._0x10942a,_0x3655eb._0x180bff,_0x3655eb._0x3d7d5e,_0x3655eb._0xf82aa8)](_0x36b322(0x1ce,-0x38,-0xef,-_0x3655eb._0x1655ef),_0x15a88b),_0x479777[_0x36b322(0x3be,_0x3655eb._0x51f7bf,0x53e,0x4a0)]('close',_0x1a3ae6);});while(_0x26fabc['length']>0x0||!_0x3e2b68){if(_0x26fabc[_0x4ac829(_0x53e2b4._0x1c8edb,_0x53e2b4._0x2e1c1e,0x7bf,_0x53e2b4._0x1f4ebb)]===0x0){await _0x23e667();continue;}const _0x1da854=_0x26fabc[_0x4ac829(0x67f,_0x53e2b4._0x35698e,0x6a3,0x5f6)]();_0x1da854!==void 0x0&&(yield _0x1da854);}const _0x3797fc=await _0x372c42,_0x1acf5c=_0x35b1d5?_0x4ac829(_0x53e2b4._0x3f3f81,_0x53e2b4._0x447762,0x7eb,0x8d6)+(_0x3797fc['code']??0x0):_0x336fdf[_0x4ac829(0x774,_0x53e2b4._0x2a0482,0x778,_0x53e2b4._0x1c72cb)](''),_0x32fa95={'command':_0x1910e4['command'],'description':_0x1910e4[_0x4d7ccf(-0x12d,0x7f,-_0x53e2b4._0x1d414f,_0x53e2b4._0x39ac8c)],'cwd':_0x53d89b,'exitCode':_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0x35a952,0x873,_0x53e2b4._0x3a4179)]??0x0,'signal':_0x3797fc[_0x4ac829(0x83e,_0x53e2b4._0x2b4c6e,0x73f,_0x53e2b4._0x83adef)],'ignoreOutput':_0x35b1d5,'outputRegex':_0x1910e4[_0x4d7ccf(0x3c3,_0x53e2b4._0x384957,0x245,0x3e2)]??null,'shellPath':_0x793c66,'timeoutMs':_0x5ee794};if(_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0xf155bc,_0x53e2b4._0x988c21,0x88f)]!==0x0)throw new ToolExecutionError(_0x1acf5c||_0x4d7ccf(0x1ea,0x1e3,0x2b7,0x19c)+(_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0x3eb105,0x5a7,0x656)]??0x0),_0x32fa95);return createToolOutput(_0x1acf5c,_0x32fa95);}catch(_0x88dd8c){while(_0x26fabc[_0x4d7ccf(_0x53e2b4._0x4565b0,_0x53e2b4._0x5bd1b3,0x1d0,_0x53e2b4._0x365d61)]>0x0){const _0x136e83=_0x26fabc[_0x4d7ccf(0x78,-0x116,0x16,0x4a)]();_0x136e83!==void 0x0&&(yield _0x136e83);}if(_0x88dd8c instanceof ToolExecutionError)throw _0x88dd8c;if(_0x2bfad5)throw _0x2bfad5;throw mapSpawnError(_0x88dd8c,{'command':_0x1910e4[_0x4ac829(0x966,_0x53e2b4._0xf0202b,0x77a,_0x53e2b4._0x504708)],'cwd':_0x53d89b,'shellPath':_0x793c66});}finally{_0x1a2202&&clearTimeout(_0x1a2202);_0x2f8f57(),_0x479777[_0x4d7ccf(_0x53e2b4._0xab1f19,-_0x53e2b4._0xc4f152,_0x53e2b4._0x1d49c1,0x21e)]?.[_0x4d7ccf(_0x53e2b4._0xeb4f44,0x7c,_0x53e2b4._0x4d7d63,-_0x53e2b4._0x118524)](_0x4ac829(0x647,_0x53e2b4._0x33f208,0x5f3,_0x53e2b4._0x26c6fd),_0x5543f7),_0x479777[_0x4d7ccf(_0x53e2b4._0x460ab9,0x11b,0xdb,_0x53e2b4._0x141281)]?.['off'](_0x4d7ccf(0x13c,-_0x53e2b4._0x49fa42,-0x22,-_0x53e2b4._0x5c90b5),_0x2a78c0);if(!_0x21b480&&_0x479777[_0x4ac829(0x764,0x7b4,0x918,0x89b)]&&!_0x479777[_0x4d7ccf(-_0x53e2b4._0x1fd1c7,_0x53e2b4._0x2aa747,_0x53e2b4._0x3ccbf6,-_0x53e2b4._0x2e5e75)])try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}}}});}function createShellExecTool(_0x3608de={}){return createBashTool(_0x3608de);}import{readdir as _0x2be568,readFile as _0x571adf}from'fs/promises';import{extname as _0x251054,join as _0x23e9fe}from'path';import{open}from'fs/promises';import{dirname as _0x5b9440,isAbsolute as _0x341692,join as _0x4a8c44,relative as _0x11f7d5,resolve as _0x519f8f}from'path';import{readdir as _0x260cb1,readFile as _0x23c218}from'fs/promises';import{join as _0x45e854,relative as _0x333c8b,sep}from'path';import{delimiter}from'path';import{mkdir as _0x31c2b9,rm as _0x5e8e2b,stat as _0x131c75,writeFile as _0x3f5ee0}from'fs/promises';import{hostname}from'os';import{dirname as _0x36687a}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x5ea4b1,readFile as _0x42c557,rename as _0x1ed690,rm as _0x155242,stat as _0x41faf5,writeFile as _0x709151}from'fs/promises';import{homedir as _0x30cc59}from'os';import{dirname as _0x415492,isAbsolute as _0x5c9d64,join as _0x486403,resolve as _0x5d36fe}from'path';import{parse as _0x38ecce,stringify as _0x241155}from'yaml';import{randomUUID as _0x5d736c}from'crypto';import{cp,lstat,mkdir as _0x33f4f7,readdir as _0x2826f6,readFile as _0x18d3a1,rename as _0x925148,rm as _0x4e1b9a,writeFile as _0x27a8b0}from'fs/promises';import{homedir}from'os';import{join as _0x9f2b5e}from'path';import{parse as _0x73d642,stringify as _0x56b69a}from'yaml';import{z}from'zod';import{readdir as _0x2dab7a,readFile as _0xb1e00a}from'fs/promises';import{join as _0x3d1fbf}from'path';import{randomUUID as _0x5d2937}from'crypto';import{mkdir as _0x3ef508,readdir as _0x43c2b7,readFile as _0x104ff5,rename as _0x251d40,rm as _0x234216,writeFile as _0xea7191}from'fs/promises';import{homedir as _0x3eabd8}from'os';import{basename as _0x397843,isAbsolute as _0x2e9417,join as _0x184a11,relative as _0x56f0b5,resolve as _0x5a1b47}from'path';import{parse as _0x4536b4,stringify as _0x43b3ee}from'yaml';import{delimiter as _0x179273,resolve as _0x58ca4a}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x4a81a5){const _0x5eb658={_0x366f18:0x5d4,_0x55b2cf:0x790,_0x50d8b7:0x754,_0x3cc938:0x72f,_0x56bd2b:0x4c0,_0x4de343:0x5d5,_0x3486c5:0x517,_0x1d72fb:0x4d8},_0x3876c1={_0x43357f:0x42e,_0x3b8606:0xce},_0x336209={_0x1e0192:0xdf,_0x2b29fb:0x59};function _0x46d1c4(_0x1a3e8b,_0x4feac1,_0x585bce,_0x2a8669){return _0x47b891(_0x1a3e8b,_0x585bce-0x11c,_0x585bce-_0x336209._0x1e0192,_0x2a8669-_0x336209._0x2b29fb);}function _0x273695(_0x515cf0,_0x705613,_0x56deb2,_0x4e4a0a){return _0xe18bb0(_0x4e4a0a,_0x56deb2-_0x3876c1._0x43357f,_0x56deb2-0x1a9,_0x4e4a0a-_0x3876c1._0x3b8606);}const _0x530862=[];let _0x15a44e='',_0x174d09=0x0;while(_0x174d09<_0x4a81a5[_0x46d1c4(_0x5eb658._0x366f18,_0x5eb658._0x55b2cf,_0x5eb658._0x50d8b7,0x839)]){const _0x29359f=_0x4a81a5[_0x174d09];if(_0x29359f==='\x5c'&&_0x174d09+0x1<_0x4a81a5[_0x273695(_0x5eb658._0x3cc938,_0x5eb658._0x56bd2b,_0x5eb658._0x4de343,0x484)])_0x15a44e+=_0x4a81a5[_0x174d09+0x1],_0x174d09+=0x2;else{if(_0x29359f==='\x22'||_0x29359f==='\x27'){const _0x3647d8=_0x29359f;_0x174d09++;while(_0x174d09<_0x4a81a5['length']&&_0x4a81a5[_0x174d09]!==_0x3647d8){_0x4a81a5[_0x174d09]==='\x5c'&&_0x174d09+0x1<_0x4a81a5['length']?(_0x15a44e+=_0x4a81a5[_0x174d09+0x1],_0x174d09+=0x2):(_0x15a44e+=_0x4a81a5[_0x174d09],_0x174d09++);}_0x174d09++;}else _0x29359f!==void 0x0&&/\s/['test'](_0x29359f)?(_0x15a44e&&(_0x530862[_0x46d1c4(0x621,_0x5eb658._0x3486c5,_0x5eb658._0x1d72fb,0x337)](_0x15a44e),_0x15a44e=''),_0x174d09++):(_0x15a44e+=_0x29359f,_0x174d09++);}}if(_0x15a44e)_0x530862['push'](_0x15a44e);return _0x530862;}function renderCommandInstructions(_0x23b44f){const _0x26ddff={_0x42907d:0x665,_0x23af85:0x5d0,_0x3d08da:0x527,_0x401853:0x85a,_0x123568:0x133,_0x341bee:0x360,_0x182d74:0x339,_0x9cc45e:0x1f6,_0x15188a:0xfa,_0xbd876e:0x42,_0x44d6dc:0xf,_0x3d6442:0x172,_0x5c14f0:0x994,_0x164022:0x220,_0x1d1f45:0xf6,_0x162ba9:0x8e2,_0x10b944:0x9f6,_0x58d0bc:0x8db,_0x149806:0x8b4,_0x40ff74:0x1a0,_0x58ff04:0x62,_0x257a43:0x2b},_0x1ceb8e={_0x106a9b:0x156},_0x32fa61={_0x5834c1:0xad},_0x293412={_0x580f1c:0x6e6,_0x50567d:0x719,_0x599fb8:0x6b8,_0x5bad8d:0x732};let _0x5ef824=_0x23b44f[_0x4a81ea(_0x26ddff._0x42907d,0x68f,_0x26ddff._0x23af85,_0x26ddff._0x3d08da)],_0x14acf8=![];const _0x39d981=tokenizeCommandArguments(_0x23b44f['argumentsText']);_0x5ef824=_0x5ef824[_0x4a81ea(0x6c8,_0x26ddff._0x401853,0x8aa,0x82c)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5b00f4,_0x18a952)=>{return _0x14acf8=!![],_0x39d981[Number(_0x18a952)]??'';}),_0x5ef824=_0x5ef824[_0x5cc118(_0x26ddff._0x123568,0x216,_0x26ddff._0x341bee,_0x26ddff._0x182d74)](/\$ARGUMENTS\b/g,()=>{function _0x17af80(_0x476376,_0x5c5a91,_0x6a168d,_0x4e10a8){return _0x4a81ea(_0x476376-0x11b,_0x6a168d,_0x4e10a8- -0x102,_0x4e10a8-0x8b);}return _0x14acf8=!![],_0x23b44f[_0x17af80(_0x293412._0x580f1c,_0x293412._0x50567d,_0x293412._0x599fb8,_0x293412._0x5bad8d)];});function _0x5cc118(_0x1bcf10,_0x1eaa6d,_0x38f60a,_0x6a2d07){return _0xe18bb0(_0x6a2d07,_0x1eaa6d- -_0x32fa61._0x5834c1,_0x38f60a-0x1e4,_0x6a2d07-0x17d);}if(_0x23b44f[_0x5cc118(0x14c,0x172,_0x26ddff._0x9cc45e,0xcc)]&&_0x23b44f['argumentNames'][_0x5cc118(0x11d,_0x26ddff._0x15188a,-0x76,-_0x26ddff._0xbd876e)]>0x0)for(let _0x1f5ba2=0x0;_0x1f5ba2<_0x23b44f[_0x5cc118(_0x26ddff._0x44d6dc,_0x26ddff._0x3d6442,0x6,0x175)]['length'];_0x1f5ba2++){const _0x23c010=_0x23b44f[_0x4a81ea(0x9d0,_0x26ddff._0x5c14f0,0x806,0x802)][_0x1f5ba2];if(_0x23c010){const _0x4051e7=new RegExp('\x5c$'+_0x23c010+'\x5cb','g');_0x5ef824=_0x5ef824[_0x5cc118(0x18c,0x216,_0x26ddff._0x164022,_0x26ddff._0x1d1f45)](_0x4051e7,()=>{return _0x14acf8=!![],_0x39d981[_0x1f5ba2]??'';});}}function _0x4a81ea(_0x422a63,_0x2c2b32,_0x61f02e,_0x193e50){return _0x47b891(_0x2c2b32,_0x61f02e-_0x1ceb8e._0x106a9b,_0x61f02e-0x117,_0x193e50-0x139);}return _0x5ef824=_0x5ef824['replace'](/\$(\d+)\b/g,(_0x498693,_0xebe075)=>{return _0x14acf8=!![],_0x39d981[Number(_0xebe075)]??'';}),!_0x14acf8&&_0x23b44f[_0x4a81ea(_0x26ddff._0x162ba9,0x7d3,0x834,0x8b1)][_0x4a81ea(0xa12,_0x26ddff._0x10b944,_0x26ddff._0x58d0bc,_0x26ddff._0x149806)]()&&(_0x5ef824=_0x5ef824+'\x0a\x0aARGUMENTS:\x20'+_0x23b44f[_0x5cc118(0x8d,_0x26ddff._0x40ff74,_0x26ddff._0x58ff04,-_0x26ddff._0x257a43)]),_0x5ef824;}var PROVIDER_API_KEY_ENVS=[{'env':_0xe18bb0(-0x3e,0xdb,0xc4,-0xcb),'provider':_0x47b891(0x739,0x793,0x92f,0x698)},{'env':'ANTHROPIC_API_KEY','provider':_0xe18bb0(-0x49,-0x81,-0x27a,-0x218)},{'env':_0x47b891(0x505,0x700,0x6f0,0x69a),'provider':_0x47b891(0x571,0x520,0x5be,0x65b)},{'env':'GITHUB_TOKEN','provider':_0xe18bb0(-0xf,0x8f,0x273,0x1a3)},{'env':'XAI_API_KEY','provider':_0x47b891(0x4c2,0x5f5,0x680,0x4fa)},{'env':'DEEPINFRA_API_KEY','provider':_0xe18bb0(0x28,0x55,0x13f,0x231)},{'env':_0xe18bb0(0x90,-0xc3,0x58,-0x20b),'provider':_0x47b891(0x40e,0x60c,0x57a,0x435)},{'env':'MOONSHOT_API_KEY','provider':_0xe18bb0(0x54,0x193,0x31f,0x266)},{'env':_0x47b891(0x453,0x4f3,0x46a,0x63a),'provider':'minimax'},{'env':_0x47b891(0x8de,0x71c,0x777,0x8de),'provider':_0x47b891(0x6b4,0x534,0x6d4,0x511)},{'env':'OPENAI_API_KEY','provider':'openai'},{'env':_0x47b891(0x835,0x64c,0x7ab,0x511),'provider':'deepseek'},{'env':_0x47b891(0x5cb,0x69f,0x4a3,0x5bd),'provider':_0x47b891(0x6d0,0x519,0x6c4,0x4fe)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0xe18bb0(0x88,0x170,0x2da,0x83)](_0x35d57b=>_0x35d57b[_0x47b891(0x5ce,0x5f9,0x5d4,0x5aa)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x47b891(0x4a3,0x56f,0x49b,0x669),_0xe18bb0(0x141,-0xbb,-0x128,-0x247)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x47b891(0x863,0x675,0x524,0x479),_0xe18bb0(0x279,0x25d,0xc1,0x2e4),_0x47b891(0x8a2,0x70d,0x899,0x535),_0x47b891(0x780,0x702,0x5b5,0x90c),_0xe18bb0(-0x29,0xe4,0x23c,0x27d),'GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']),PRODUCTION_FILE_EDIT_MODES=[_0xe18bb0(0x9b,-0x23,-0x20f,0x8b),'anchored-json','hashline'];function prototypeSafeRecord(_0x5e0fb3){const _0x1eccb3={_0x902368:0x856,_0x18983b:0x8e6,_0x4a578e:0x97b,_0x48a32d:0x820,_0x4facf3:0x7ca,_0x5349d3:0x116,_0x246582:0x1b5,_0x5e1e45:0xd,_0x16c5ad:0x84},_0x510fbc={_0x39568e:0x33b,_0x2d4847:0x25f,_0x2ca559:0x504,_0x239a12:0x38e,_0x2da513:0xd6,_0x34558d:0x4e},_0x54401f={_0x1e3e9c:0x29};function _0x3ecc7e(_0x5d107e,_0x3460a5,_0x5ce9be,_0x2dc6a5){return _0x47b891(_0x2dc6a5,_0x5ce9be- -0x560,_0x5ce9be-0xef,_0x2dc6a5-0x62);}function _0x575706(_0x404689,_0x2784d3,_0x305ee8,_0x10133c){return _0x47b891(_0x2784d3,_0x10133c-0x206,_0x305ee8-0x1c6,_0x10133c-_0x54401f._0x1e3e9c);}return z['preprocess'](_0x4a2d04=>{if(_0x4a2d04===null||typeof _0x4a2d04!==_0x50c3e7(0x1b2,0x23f,_0x510fbc._0x39568e,_0x510fbc._0x2d4847)||Array['isArray'](_0x4a2d04))return null;const _0x14c888=Object['getPrototypeOf'](_0x4a2d04);function _0x4567da(_0x2141cc,_0x333056,_0x20c262,_0x18bea9){return _0x678a(_0x18bea9-0xbe,_0x2141cc);}function _0x50c3e7(_0x46f411,_0x2a5aa0,_0x24c1ef,_0x44c730){return _0x678a(_0x2a5aa0- -0x2c0,_0x24c1ef);}if(_0x14c888!==Object[_0x4567da(0x274,_0x510fbc._0x2ca559,0x1c4,_0x510fbc._0x239a12)]&&_0x14c888!==null)return null;return{'entries':Object[_0x50c3e7(-0xe0,-_0x510fbc._0x2da513,_0x510fbc._0x34558d,-0xb4)](_0x4a2d04)};},z[_0x575706(0x99c,0x846,_0x1eccb3._0x902368,_0x1eccb3._0x18983b)]({'entries':z[_0x575706(_0x1eccb3._0x4a578e,_0x1eccb3._0x48a32d,0x8ce,_0x1eccb3._0x4facf3)](z[_0x3ecc7e(_0x1eccb3._0x5349d3,-_0x1eccb3._0x246582,-0x5a,-_0x1eccb3._0x5e1e45)]([z[_0x3ecc7e(0xcb,0x104,0x57,-_0x1eccb3._0x16c5ad)](),_0x5e0fb3]))}))['transform'](({entries:_0x3101d0})=>Object[_0x575706(0x8af,0x900,0x748,0x874)](_0x3101d0));}var chatModelAuthSchemeSchema=z[_0xe18bb0(-0x90,0x82,0x101,0x23b)](['bearer',_0xe18bb0(0x2e6,0x127,-0x85,0xc0)]),apiKeyAuthSchema=z[_0x47b891(0x8af,0x6e0,0x687,0x810)]({'type':z[_0x47b891(0x570,0x628,0x488,0x6a1)](_0x47b891(0x741,0x5c8,0x676,0x74a)),'apiKey':z[_0x47b891(0x48a,0x5b7,0x640,0x585)](),'authScheme':chatModelAuthSchemeSchema[_0x47b891(0x445,0x4bd,0x589,0x411)]()})[_0x47b891(0x1e1,0x37c,0x3c4,0x18c)](),oauthAuthSchema=z[_0x47b891(0x859,0x6e0,0x8ac,0x869)]({'type':z[_0x47b891(0x6e2,0x628,0x577,0x5e9)]('oauth'),'access':z['string'](),'refresh':z[_0x47b891(0x64a,0x5b7,0x6f9,0x47b)](),'expires':z['number']()[_0x47b891(0x2ff,0x4bd,0x58e,0x2af)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x47b891(0x23c,0x37c,0x392,0x18a)](),finiteNonNegative=z[_0x47b891(0x410,0x3d7,0x399,0x4b1)]()['finite']()[_0x47b891(0x39d,0x413,0x389,0x320)](),chatGptAuthSchema=z[_0xe18bb0(0xb5,0x24f,0x2e5,0x362)]({'type':z[_0xe18bb0(-0x6b,0x197,0x1dd,0x2c8)](_0xe18bb0(0x144,0xf,0x44,-0x69)),'access':z['string']()[_0xe18bb0(0x2ba,0x13a,-0xd3,0x14d)](0x1),'refresh':z[_0xe18bb0(0x317,0x126,0xdb,-0x9e)]()[_0xe18bb0(-0xa4,0x13a,0x2ef,-0x7b)](0x1),'idToken':z[_0xe18bb0(-0x39,0x126,0x74,0x19a)]()[_0x47b891(0x6e9,0x5cb,0x4ed,0x661)](0x1),'accountId':z[_0x47b891(0x54c,0x5b7,0x4c0,0x3b8)]()[_0x47b891(0x51d,0x5cb,0x411,0x40c)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x47b891(0x5e0,0x4bd,0x58b,0x58f)]()})[_0x47b891(0x27e,0x37c,0x293,0x367)](),authMethodSchema=z[_0x47b891(0x6c1,0x77e,0x636,0x93c)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x47b891(0x715,0x513,0x60b,0x44d)]([_0x47b891(0x641,0x4d6,0x5f8,0x315),'low','medium',_0xe18bb0(-0x2a9,-0xa4,-0x1c5,-0x229),'xhigh',_0xe18bb0(-0x129,-0x113,0xe6,-0x41)]),reasoningOptionSchema=z[_0xe18bb0(0x82,0x24f,0x13c,0xbd)]({'id':z['string']()[_0xe18bb0(0x2cb,0x2f4,0x229,0x13e)]()['min'](0x1),'description':z[_0xe18bb0(-0x70,0x126,0x1c8,0x147)]()[_0x47b891(0x43c,0x4bd,0x66c,0x39e)](),'mode':z['enum']([_0x47b891(0x48b,0x589,0x5a3,0x58f),_0xe18bb0(0x1b8,0x28,-0xa8,0x115)])[_0x47b891(0x3b7,0x4bd,0x567,0x624)](),'effort':reasoningEffortSchema[_0x47b891(0x2dd,0x4bd,0x62b,0x68d)](),'budgetTokens':z['number']()[_0xe18bb0(0x87,0x1c2,0x2d9,0x2da)]()[_0xe18bb0(-0x2b,0x13a,0x183,-0x5b)](0x400)[_0x47b891(0x2dd,0x4bd,0x349,0x672)]()})[_0xe18bb0(-0x22e,-0x110,0xb4,-0x1bd)]((_0x5c0d4f,_0x31aee3)=>{const _0x96fa42={_0x1c3d94:0x9ca,_0x2af30a:0x7ef,_0x130ced:0x18d,_0xf5d011:0x6e,_0x24fe76:0xf,_0x490db0:0x5f0,_0x184d97:0x66a,_0xfcadcf:0x5f5,_0x17a3df:0x36c,_0x49b0f8:0x685,_0x112ca3:0x630,_0x41d455:0x6a9,_0x407bce:0x22e,_0x384975:0x104,_0x96c72a:0x35a,_0xe52a64:0x6,_0x5efed3:0x9b7,_0x4c787d:0x85c,_0xade643:0x8ce,_0x5ed538:0x4fa,_0x24d9fa:0xa29,_0x23d805:0x94,_0x5c9a8f:0x1bd,_0x4725c4:0x191,_0x777ecb:0x8af,_0xf4dfac:0x91a,_0x11ade7:0x886,_0x12dc5a:0x7f7,_0x4a8a23:0x1f3,_0x5065c8:0x30b,_0xcb824e:0x4bd,_0x5ed56c:0x586,_0xe05b02:0x683,_0x5f159e:0x780,_0x5ec9e0:0x82e,_0x4ab2f2:0x768,_0xe0dcd7:0x6c3,_0x146422:0x234,_0x5e9c41:0x40a,_0x542efa:0x108,_0x5f39a6:0x10e,_0xac99b2:0x7e,_0x258df4:0x2d0,_0x49131d:0x1bd,_0x30a1cb:0x249,_0x3903cf:0x2a3,_0xafc48d:0x4d9,_0x1e2912:0x6da},_0x4852d5={_0x2c5d2f:0x3e,_0x55240d:0x6},_0x4b3933={_0x185854:0x170,_0x5c789c:0x1b},_0x22a5c6=_0x5c0d4f['id'][_0x194f2d(_0x96fa42._0x1c3d94,0x7d6,0x72c,_0x96fa42._0x2af30a)]();function _0x194f2d(_0x55fd83,_0x38ed3d,_0x319d15,_0x7a9994){return _0x47b891(_0x319d15,_0x7a9994-_0x4b3933._0x185854,_0x319d15-0xf4,_0x7a9994-_0x4b3933._0x5c789c);}(_0x22a5c6==='off'||_0x22a5c6===_0x3b1227(-_0x96fa42._0x130ced,_0x96fa42._0xf5d011,0xf1,-_0x96fa42._0x24fe76)||_0x22a5c6===_0x194f2d(_0x96fa42._0x490db0,0x723,_0x96fa42._0x184d97,_0x96fa42._0xfcadcf))&&_0x31aee3[_0x194f2d(0x5e9,0x560,_0x96fa42._0x17a3df,0x545)]({'code':_0x194f2d(_0x96fa42._0x49b0f8,_0x96fa42._0x112ca3,_0x96fa42._0x41d455,0x780),'path':['id'],'message':_0x3b1227(_0x96fa42._0x407bce,0x25b,_0x96fa42._0x384975,_0x96fa42._0x96c72a)+_0x22a5c6+'\x22\x20is\x20reserved'});function _0x3b1227(_0x25b4cc,_0x3f7d24,_0x1c6580,_0x466cb1){return _0xe18bb0(_0x466cb1,_0x3f7d24-_0x4852d5._0x2c5d2f,_0x1c6580-_0x4852d5._0x55240d,_0x466cb1-0x16);}if(_0x5c0d4f['mode']===_0x3b1227(-_0x96fa42._0xe52a64,0x66,-0xb0,0x1f6)){_0x5c0d4f[_0x194f2d(_0x96fa42._0x5efed3,_0x96fa42._0x4c787d,0x79f,_0x96fa42._0xade643)]===void 0x0&&_0x31aee3[_0x194f2d(0x3b8,0x3d0,_0x96fa42._0x5ed538,0x545)]({'code':'custom','path':['budgetTokens'],'message':_0x194f2d(_0x96fa42._0x24d9fa,0x78a,0x750,0x8fe)});_0x5c0d4f['effort']!==void 0x0&&_0x31aee3['addIssue']({'code':_0x3b1227(_0x96fa42._0x23d805,_0x96fa42._0x5c9a8f,0x141,_0x96fa42._0x4725c4),'path':[_0x194f2d(_0x96fa42._0x777ecb,_0x96fa42._0xf4dfac,_0x96fa42._0x11ade7,_0x96fa42._0x12dc5a)],'message':_0x3b1227(0x7,0x17a,_0x96fa42._0x4a8a23,-0x2)});return;}_0x5c0d4f[_0x3b1227(0x103,_0x96fa42._0x5065c8,_0x96fa42._0xcb824e,0x263)]!==void 0x0&&_0x31aee3[_0x194f2d(0x5d7,_0x96fa42._0x5ed56c,0x6c5,0x545)]({'code':_0x194f2d(0x932,0x853,_0x96fa42._0xe05b02,_0x96fa42._0x5f159e),'path':['budgetTokens'],'message':_0x194f2d(0x71c,_0x96fa42._0x5ec9e0,0x8be,_0x96fa42._0x4ab2f2)}),_0x5c0d4f[_0x194f2d(0x665,0x7fc,_0x96fa42._0xe0dcd7,0x6e1)]===void 0x0&&_0x5c0d4f[_0x3b1227(0x125,_0x96fa42._0x146422,_0x96fa42._0x5e9c41,_0x96fa42._0x542efa)]===void 0x0&&_0x31aee3[_0x3b1227(_0x96fa42._0x5f39a6,-_0x96fa42._0xac99b2,-0xa2,0xe6)]({'code':_0x3b1227(_0x96fa42._0x258df4,_0x96fa42._0x49131d,_0x96fa42._0x30a1cb,_0x96fa42._0x3903cf),'path':['effort'],'message':_0x194f2d(0x76c,0x786,_0x96fa42._0xafc48d,_0x96fa42._0x1e2912)});});function validateReasoningOptionIds(_0x3d266f,_0x40a48a){const _0x3ecfe0={_0x741132:0x3c9,_0x426da5:0x31d,_0x264b43:0x11b,_0x522b17:0x40d,_0x4cbea6:0x456,_0x409fe4:0x73,_0x335cc4:0x15f,_0x31d778:0x30c,_0x5b2d54:0x5ac,_0x2b5075:0x500,_0x32d3eb:0x601},_0x526140={_0x50eb4a:0x12f,_0x21f495:0x1e6},_0x730ac7={_0x7fc225:0x11d,_0x38eaff:0x15e};function _0x5c13eb(_0xf03c9b,_0x112922,_0x4de606,_0x4a2900){return _0x47b891(_0x4de606,_0x112922- -_0x730ac7._0x7fc225,_0x4de606-_0x730ac7._0x38eaff,_0x4a2900-0x1aa);}const _0x1c0575=new Set();function _0x205394(_0xa74e8a,_0x508739,_0x3583ef,_0x427c24){return _0xe18bb0(_0x508739,_0xa74e8a-_0x526140._0x50eb4a,_0x3583ef-_0x526140._0x21f495,_0x427c24-0x1e1);}for(let _0x3e5dd7=0x0;_0x3e5dd7<_0x3d266f[_0x5c13eb(_0x3ecfe0._0x741132,0x51b,0x676,0x35e)];_0x3e5dd7+=0x1){const _0x3f5654=_0x3d266f[_0x3e5dd7]?.['id'][_0x205394(_0x3ecfe0._0x426da5,_0x3ecfe0._0x264b43,0x343,0x34b)]();if(!_0x3f5654)continue;if(_0x1c0575[_0x205394(0x39c,_0x3ecfe0._0x522b17,0x44f,_0x3ecfe0._0x4cbea6)](_0x3f5654)){_0x40a48a[_0x205394(_0x3ecfe0._0x409fe4,_0x3ecfe0._0x335cc4,0x3,-0x129)]({'code':_0x5c13eb(_0x3ecfe0._0x31d778,0x4f3,_0x3ecfe0._0x5b2d54,_0x3ecfe0._0x2b5075),'path':['options',_0x3e5dd7,'id'],'message':'Duplicate\x20reasoning\x20option\x20\x22'+_0x3f5654+'\x22'});continue;}_0x1c0575[_0x5c13eb(0x6da,_0x3ecfe0._0x32d3eb,0x5df,0x3f9)](_0x3f5654);}}var providerReasoningConfigSchema=z[_0xe18bb0(0x243,0x24f,0x2ad,0x3b1)]({'options':z[_0x47b891(0x726,0x5c4,0x61f,0x58e)](reasoningOptionSchema)})['superRefine']((_0x2e2698,_0x330cf8)=>{const _0x33d2e3={_0x2016c1:0x49c,_0x207eed:0x3cb},_0x49f14d={_0x27fae0:0x118,_0x101d1d:0x6b};function _0x132929(_0x29e965,_0x3a9b82,_0x1facdb,_0x1185f1){return _0x47b891(_0x1185f1,_0x1facdb- -_0x49f14d._0x27fae0,_0x1facdb-_0x49f14d._0x101d1d,_0x1185f1-0x119);}validateReasoningOptionIds(_0x2e2698[_0x132929(0x4d0,_0x33d2e3._0x2016c1,_0x33d2e3._0x207eed,0x362)],_0x330cf8);}),modelReasoningConfigSchema=z[_0xe18bb0(0x3e9,0x24f,0x450,0x1f7)]({'defaultOption':z['string']()['trim']()['min'](0x1)[_0x47b891(0x518,0x4bd,0x605,0x356)](),'canDisable':z[_0x47b891(0x8d1,0x744,0x807,0x6b8)]()[_0x47b891(0x6b4,0x4bd,0x4da,0x462)](),'options':z['array'](reasoningOptionSchema)})[_0x47b891(0x24c,0x381,0x17d,0x52e)]((_0x97ba43,_0x25beb4)=>{const _0x2734ee={_0x2851a3:0x456,_0xe3f6e0:0x4bf,_0x5e9bc2:0x667,_0x211bb5:0x92c,_0x435f03:0x906,_0x562b2f:0x5ce,_0x4d4afb:0x7d7,_0x1e2cdf:0x2e2,_0x38a748:0x410,_0x1a7add:0x370,_0x2b9816:0x559,_0x475e3c:0x563,_0x5309e3:0x17a,_0x4bd7d8:0x373,_0x169caf:0x357,_0x23b8ff:0x1c6,_0x4e4b7e:0x8fa,_0x4f19f2:0x612,_0x56d5b7:0x681,_0x19785c:0x802,_0x451100:0x615,_0x3c9e78:0x5dc,_0x12e90:0x870,_0x36e91e:0x42,_0x370b75:0x3c,_0x3bf331:0x11b,_0x1e7a76:0x20d,_0x4517ac:0x264,_0x570dba:0x106,_0xd2610a:0x77},_0x5bb5df={_0x163676:0x184,_0x4f2ac4:0xf2};validateReasoningOptionIds(_0x97ba43[_0x4e1133(_0x2734ee._0x2851a3,0x6b2,_0x2734ee._0xe3f6e0,_0x2734ee._0x5e9bc2)],_0x25beb4);const _0x332d1f=_0x97ba43['defaultOption']?.[_0x4e1133(_0x2734ee._0x211bb5,_0x2734ee._0x435f03,0x5f3,0x803)]();if(_0x332d1f===void 0x0)return;if(_0x332d1f===_0x4e1133(_0x2734ee._0x562b2f,0x781,_0x2734ee._0x4d4afb,0x6b4)){_0x97ba43[_0x31c6db(0x21d,0x494,0x4ad,_0x2734ee._0x1e2cdf)]!==!![]&&_0x25beb4[_0x4e1133(_0x2734ee._0x38a748,_0x2734ee._0x1a7add,0x6a2,_0x2734ee._0x2b9816)]({'code':'custom','path':[_0x4e1133(0x518,0x438,_0x2734ee._0x475e3c,0x5bc)],'message':_0x31c6db(_0x2734ee._0x5309e3,0x27e,0x575,_0x2734ee._0x4bd7d8)});return;}function _0x31c6db(_0x2ce247,_0xf3db60,_0x1e254e,_0x3e267d){return _0xe18bb0(_0xf3db60,_0x3e267d-0x174,_0x1e254e-0x1c3,_0x3e267d-0x1be);}function _0x4e1133(_0x317f4d,_0x23e6aa,_0x57db37,_0x1bdf79){return _0x47b891(_0x317f4d,_0x1bdf79-_0x5bb5df._0x163676,_0x57db37-0x1bc,_0x1bdf79-_0x5bb5df._0x4f2ac4);}!_0x97ba43[_0x31c6db(-0x4a,0x11f,_0x2734ee._0x169caf,_0x2734ee._0x23b8ff)][_0x4e1133(_0x2734ee._0x4e4b7e,_0x2734ee._0x4f19f2,_0x2734ee._0x56d5b7,_0x2734ee._0x19785c)](_0x52f7b3=>_0x52f7b3['id'][_0x4e1133(0x641,0x8e0,0x80d,0x803)]()===_0x332d1f)&&_0x25beb4[_0x4e1133(0x6be,0x61d,0x68d,0x559)]({'code':_0x4e1133(_0x2734ee._0x451100,_0x2734ee._0x3c9e78,_0x2734ee._0x12e90,0x794),'path':[_0x31c6db(0x141,_0x2734ee._0x36e91e,_0x2734ee._0x370b75,_0x2734ee._0x3bf331)],'message':_0x31c6db(_0x2734ee._0x1e7a76,0x194,0x3bd,_0x2734ee._0x4517ac)+_0x97ba43[_0x31c6db(-0xd,_0x2734ee._0x570dba,_0x2734ee._0xd2610a,_0x2734ee._0x3bf331)]+'\x22\x20is\x20not\x20a\x20declared\x20option'});}),modelDefinitionSchema=z[_0x47b891(0x8ac,0x6e0,0x50e,0x573)]({'id':z[_0x47b891(0x5b8,0x5b7,0x5be,0x3f1)](),'name':z[_0xe18bb0(0x2de,0x126,0xe4,0x320)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0xe18bb0(-0xf8,0x2c,-0x128,0x23d)]()})['passthrough'](),modelConfigSchema=z[_0xe18bb0(0x1c4,0x2ed,0x3ff,0x236)]([z[_0xe18bb0(0x1ae,0x197,0xc8,0xb9)](![]),z['literal'](!![]),z[_0x47b891(0x748,0x5b7,0x619,0x5cb)](),z[_0xe18bb0(0x57,0x133,-0x8c,0x313)](z[_0xe18bb0(-0xdf,0x126,0x276,0x278)]()),z[_0xe18bb0(0x2cd,0x133,0xc9,0x41)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x47b891(0x688,0x513,0x41e,0x440)]([_0xe18bb0(-0x1ed,-0xe8,0xd,0x124),_0x47b891(0x3e7,0x53a,0x3f5,0x57f),_0x47b891(0x6a3,0x6cc,0x558,0x4d8),_0xe18bb0(0x1d4,0x58,-0x19d,-0x18c)]),providerConfigSchema=z[_0x47b891(0x53e,0x6e0,0x80c,0x53f)]({'apiKey':z[_0xe18bb0(0x151,0x126,0x10d,0x2b0)]()[_0x47b891(0x4d7,0x4bd,0x2c8,0x382)](),'token':z['string']()[_0xe18bb0(-0x170,0x2c,-0x16b,-0x47)](),'defaultModel':z[_0x47b891(0x737,0x5b7,0x77f,0x74a)]()[_0xe18bb0(0x5f,0x2c,0x1d9,-0x1ad)](),'smallModel':z[_0x47b891(0x3b4,0x5b7,0x6e5,0x74f)]()[_0x47b891(0x68e,0x4bd,0x6a2,0x316)](),'currentAuth':z[_0xe18bb0(0x191,0x126,0xa9,0x1e6)]()['optional'](),'auth':z[_0xe18bb0(0x8,0x133,0x1ce,0x154)](authMethodSchema)[_0xe18bb0(0x1a3,0x2c,0x173,0x7f)](),'surface':chatModelSurfaceSchema[_0xe18bb0(0xb0,0x2c,-0xdc,0x178)](),'baseUrl':z[_0x47b891(0x784,0x5b7,0x4ce,0x5d7)]()[_0xe18bb0(0x152,0x2c,0x8b,-0xe3)](),'models':modelConfigSchema[_0xe18bb0(0x193,0x2c,0x23,-0xe6)](),'customHeaders':z[_0x47b891(0x630,0x5b3,0x710,0x621)](z['string'](),z[_0x47b891(0x5aa,0x5b7,0x620,0x3eb)]())[_0xe18bb0(0x6a,0x2c,-0x1dc,0x20)](),'reasoning':providerReasoningConfigSchema[_0x47b891(0x3e6,0x4bd,0x623,0x3d1)]()})[_0xe18bb0(-0x2b1,-0x115,-0x115,0xe2)](),mcpServerConfigSchema=z[_0xe18bb0(0xcb,0x24f,0xcf,0x2f9)]({'command':z[_0xe18bb0(0x179,0x126,0x24,0x28d)]()['optional'](),'args':z['array'](z['string']())[_0x47b891(0x455,0x4bd,0x6a8,0x66d)](),'env':z[_0xe18bb0(0x52,0x122,0x1cc,0xcd)](z[_0x47b891(0x51b,0x5b7,0x766,0x450)](),z[_0x47b891(0x61f,0x5b7,0x3db,0x712)]())['optional'](),'transport':z[_0xe18bb0(-0x13c,0x82,-0x144,-0x138)]([_0x47b891(0x80b,0x671,0x7f2,0x7ca),_0xe18bb0(0x102,0x120,0x2db,0x5)])[_0x47b891(0x5f5,0x4bd,0x67f,0x3dd)](),'url':z[_0xe18bb0(0xeb,0x126,0x1e1,0x30c)]()[_0xe18bb0(0x1fe,0x2c,0xf1,0x1f1)](),'headers':z[_0xe18bb0(0x185,0x122,0xdd,0x137)](z['string'](),z[_0xe18bb0(0x82,0x126,-0x3d,0xa3)]())[_0x47b891(0x5c8,0x4bd,0x590,0x39f)](),'prefix':z[_0x47b891(0x759,0x5b7,0x4b3,0x45c)]()[_0x47b891(0x571,0x4bd,0x2eb,0x45f)](),'timeoutMs':z[_0xe18bb0(0x4d,-0xba,-0x198,-0x276)]()['optional'](),'enabled':z['boolean']()['optional'](),'auth':z[_0x47b891(0x79d,0x6e0,0x565,0x4d1)]({'type':z[_0xe18bb0(-0x132,0x82,-0x11c,-0x92)]([_0xe18bb0(0x32d,0x287,0x224,0xae),_0xe18bb0(-0x13a,-0x15,0xc,0x1d5),_0xe18bb0(-0x33,0x188,0x7e,0x3e)]),'token':z['string']()[_0x47b891(0x53a,0x4bd,0x4d6,0x45a)](),'oauth':z[_0xe18bb0(0x439,0x24f,0xd4,0x37d)]({'clientId':z['string']()[_0x47b891(0x426,0x4bd,0x392,0x470)](),'clientMetadataUrl':z[_0x47b891(0x44a,0x5b7,0x6ee,0x5aa)]()[_0x47b891(0x577,0x4bd,0x38f,0x522)](),'authorizationServer':z[_0xe18bb0(0x285,0x126,0x1a7,-0x56)]()['optional'](),'scopes':z[_0x47b891(0x6c2,0x5c4,0x432,0x5f4)](z['string']())[_0x47b891(0x69a,0x4bd,0x476,0x3cd)](),'tokenStorageKey':z['string']()[_0xe18bb0(0xc7,0x2c,0x1ed,-0x1bb)]()})['passthrough']()['optional']()})['passthrough']()[_0xe18bb0(0x192,0x2c,-0x9b,0x125)]()})[_0xe18bb0(0xef,-0x115,-0x1dd,-0x88)](),mcpToolPermissionClassSchema=z['enum']([_0xe18bb0(0x1af,0x257,0x3ff,0xa7),_0xe18bb0(0x129,0x8a,-0xea,0x231),_0x47b891(0x5f1,0x73e,0x608,0x8a0)]),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0xe18bb0(-0x17a,0x2c,0x10f,0x166)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0xe18bb0(0x2ef,0x2b3,0x41f,0x2da)]()))['optional'](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x47b891(0x35a,0x4bd,0x4d4,0x5a0)](),'defaultTimeoutMs':z['number']()[_0x47b891(0x5ea,0x4bd,0x2f9,0x60f)]()})['passthrough'](),skillsSettingsSchema=z[_0x47b891(0x69b,0x6e0,0x6a0,0x545)]({'enabled':z[_0xe18bb0(0x251,0x2b3,0x1b0,0x234)]()[_0xe18bb0(-0x1d8,0x2c,0x3a,0x9f)](),'includeDefaults':z[_0x47b891(0x6e8,0x744,0x6ab,0x603)]()[_0x47b891(0x31b,0x4bd,0x2e0,0x683)](),'directories':z[_0x47b891(0x605,0x5c4,0x5ae,0x659)](z[_0xe18bb0(0x2ff,0x126,0x264,0x1b)]())[_0x47b891(0x4a8,0x4bd,0x52f,0x405)](),'exclude':z[_0xe18bb0(0x27c,0x133,0x211,0x150)](z[_0xe18bb0(-0x3e,0x126,0x256,0xcd)]())[_0x47b891(0x4ad,0x4bd,0x3e5,0x4ef)]()})['passthrough'](),commandsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x47b891(0x411,0x4bd,0x609,0x65e)](),'directories':z[_0xe18bb0(0xbf,0x133,0x19,0xb0)](z[_0x47b891(0x46b,0x5b7,0x5ec,0x49d)]())[_0xe18bb0(0x11d,0x2c,0x164,0x162)]()})['passthrough'](),agentsSettingsSchema=z['object']({'enabled':z[_0x47b891(0x6a7,0x744,0x863,0x866)]()[_0xe18bb0(0xd7,0x2c,0xc7,-0x162)](),'includeDefaults':z[_0x47b891(0x610,0x744,0x7be,0x539)]()[_0xe18bb0(0x111,0x2c,-0x109,0xfe)](),'directories':z['array'](z['string']())[_0x47b891(0x61c,0x4bd,0x373,0x363)](),'maxConcurrency':z[_0xe18bb0(-0x186,-0xba,-0x24d,-0x13f)]()[_0xe18bb0(0x1b9,-0x2a,0x165,0x124)]()[_0xe18bb0(0x1e6,0x1c2,0x16b,0x156)]()['positive']()[_0x47b891(0x345,0x4bd,0x342,0x443)]()})[_0x47b891(0x41d,0x37c,0x34d,0x25c)](),uiThemeSettingsSchema=z[_0xe18bb0(0x304,0x24f,0xc8,0x359)]({'mode':z['enum']([_0xe18bb0(-0x16f,-0xdc,-0x162,0xe9),_0x47b891(0x425,0x496,0x4b4,0x422),_0x47b891(0x3be,0x3fd,0x323,0x340)])[_0xe18bb0(0x28,0x2c,-0x3c,-0x160)](),'colorLevel':z[_0xe18bb0(-0x6a,0x82,0x1d7,0x1d2)]([_0x47b891(0x2e8,0x3b5,0x4ab,0x386),_0x47b891(0x833,0x718,0x782,0x62a),_0x47b891(0x36c,0x398,0x4b1,0x3f0),'ansi256','truecolor'])[_0xe18bb0(-0x2f,0x2c,-0x104,0x205)](),'backgrounds':z[_0x47b891(0x456,0x513,0x58e,0x560)]([_0xe18bb0(-0x1af,-0xdc,0xa3,0xff),'on','off'])[_0xe18bb0(0x21a,0x2c,0x7c,-0x78)](),'messageStyle':z[_0x47b891(0x521,0x513,0x392,0x567)]([_0xe18bb0(0x438,0x2dd,0xf0,0x4a6),_0xe18bb0(0x2f1,0x1ba,0xf9,0x25)])['optional']()})[_0xe18bb0(-0x2de,-0x115,0x26,-0x31e)](),statuslineSegmentSchema=z[_0x47b891(0x43f,0x513,0x6e0,0x6db)]([_0xe18bb0(0x169,-0xa7,-0x2ac,-0x209),'session',_0xe18bb0(0x27,0x40,0x19f,0x208),_0x47b891(0x6c5,0x4e1,0x6a0,0x6a7),_0xe18bb0(-0xaf,0x80,0x163,0x1cf),_0x47b891(0x5ee,0x6f5,0x5b6,0x546),_0x47b891(0x577,0x560,0x57c,0x622),_0xe18bb0(0x167,0x152,-0xa3,0x97),_0x47b891(0x624,0x79c,0x8c9,0x74d),_0x47b891(0x2ed,0x3d9,0x4b7,0x379),_0xe18bb0(0xcc,-0x2e,-0xcb,-0x146),_0x47b891(0x5fc,0x45a,0x3c2,0x4aa),_0xe18bb0(0x44a,0x2c4,0x19e,0x3cd),_0xe18bb0(0x2ac,0x200,0x34e,0x9e),_0xe18bb0(0x57,0x1a2,0x1e4,0x79)]),statuslineItemSchema=z[_0xe18bb0(0x227,0x2ed,0x1e1,0x4ea)]([statuslineSegmentSchema,z[_0xe18bb0(0x149,0x197,0x289,0x30d)]('|')]),statuslineRowSchema=z[_0x47b891(0x594,0x5c4,0x79c,0x43d)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x47b891(0x5a2,0x4bd,0x3f1,0x668)]()})[_0xe18bb0(-0x250,-0x115,0x41,0xcf)](),memoryExtractionSettingsSchema=z[_0xe18bb0(0x322,0x24f,0xf6,0x2c8)]({'enabled':z[_0x47b891(0x739,0x744,0x682,0x677)]()[_0x47b891(0x5fc,0x4bd,0x440,0x670)](),'provider':z['string']()[_0xe18bb0(0x26a,0x13a,0x305,0x24)](0x1)['optional'](),'model':z[_0xe18bb0(-0x8a,0x126,-0x4f,0x328)]()[_0x47b891(0x7b3,0x5cb,0x63f,0x6a9)](0x1)[_0x47b891(0x452,0x4bd,0x52c,0x2e3)](),'minUserMessages':z['number']()[_0xe18bb0(0x325,0x1c2,-0x2b,0x224)]()[_0x47b891(0x5aa,0x5cb,0x797,0x715)](0x1)[_0xe18bb0(0x152,0x2c,0xd9,-0x1e1)](),'structuredOutput':z[_0x47b891(0x8d2,0x744,0x6c0,0x84b)]()['optional'](),'maxSeedTokens':z[_0xe18bb0(0x8a,-0xba,-0x255,-0x1ee)]()['int']()[_0x47b891(0x508,0x5cb,0x40f,0x735)](0x1)[_0xe18bb0(-0xd8,0x2c,0xb3,0x23c)](),'trimToolOutputs':z['boolean']()[_0xe18bb0(-0x6d,0x2c,-0x1bd,0x123)]()})[_0x47b891(0x52a,0x708,0x559,0x807)](),memoryInjectionSettingsSchema=z['object']({'tokenBudget':z[_0x47b891(0x4eb,0x3d7,0x2f5,0x41f)]()[_0xe18bb0(0xe2,0x1c2,0x3b5,0x60)]()[_0x47b891(0x5b7,0x5cb,0x758,0x7d4)](0x80)['max'](0x2000)[_0xe18bb0(-0x110,0x2c,0x9e,0xf4)](),'rankByUsage':z[_0xe18bb0(0x1d4,0x2b3,0x2b6,0x415)]()[_0xe18bb0(-0x6d,0x2c,0xc6,-0xdb)]()})[_0xe18bb0(0x44f,0x277,0x365,0x338)](),memoryConsolidateSettingsSchema=z[_0xe18bb0(0xe3,0x24f,0x2d7,0x14b)]({'enabled':z[_0x47b891(0x8cc,0x744,0x59b,0x688)]()[_0xe18bb0(-0x15f,0x2c,0xf4,-0x1d7)](),'provider':z[_0x47b891(0x77f,0x5b7,0x3f0,0x4f2)]()[_0x47b891(0x432,0x5cb,0x56e,0x3eb)](0x1)[_0x47b891(0x2c0,0x4bd,0x38c,0x657)](),'model':z[_0x47b891(0x5e2,0x5b7,0x5b9,0x578)]()['min'](0x1)[_0xe18bb0(0x227,0x2c,0x48,0x1c9)](),'maxExtractsPerRun':z[_0x47b891(0x3ba,0x3d7,0x3fa,0x1f4)]()['int']()['min'](0x1)['optional'](),'maxUnusedDays':z[_0x47b891(0x5c9,0x3d7,0x572,0x3c4)]()['int']()[_0xe18bb0(-0xad,0x13a,0x1d7,0x33e)](0x1)[_0x47b891(0x424,0x4bd,0x666,0x2c5)](),'requireReview':z[_0xe18bb0(0x458,0x2b3,0x415,0x411)]()[_0xe18bb0(0x8d,0x2c,-0x184,0x8e)](),'writeSkills':z[_0xe18bb0(0x409,0x2b3,0x31c,0x478)]()[_0x47b891(0x35e,0x4bd,0x44c,0x602)](),'readSourceTranscripts':z[_0xe18bb0(0x465,0x2b3,0x1a9,0x290)]()[_0x47b891(0x2b1,0x4bd,0x4b7,0x4c5)](),'maxTranscriptReadsPerRun':z['number']()['int']()[_0x47b891(0x7c0,0x5cb,0x745,0x595)](0x0)[_0xe18bb0(-0x180,0x2c,0x1ca,0x1e0)]()})[_0xe18bb0(0x11d,0x277,0xe9,0x1ce)](),memorySettingsSchema=z[_0x47b891(0x75c,0x6e0,0x69f,0x639)]({'enabled':z[_0xe18bb0(0x3cd,0x2b3,0x24c,0x469)]()[_0xe18bb0(0x14f,0x2c,0xcf,-0x17)](),'extraction':memoryExtractionSettingsSchema[_0x47b891(0x597,0x4bd,0x321,0x3df)](),'consolidate':memoryConsolidateSettingsSchema[_0xe18bb0(-0xd9,0x2c,-0x60,-0x60)](),'injection':memoryInjectionSettingsSchema[_0x47b891(0x35d,0x4bd,0x48a,0x481)]()})['strict'](),recentModelSchema=z['object']({'provider':z[_0x47b891(0x570,0x5b7,0x6e4,0x4a7)](),'model':z[_0x47b891(0x4fe,0x5b7,0x5e5,0x524)](),'usedAt':z[_0xe18bb0(0x34,-0xba,-0x1ab,-0x9b)]()})[_0x47b891(0x2d6,0x37c,0x586,0x4be)](),lspServerEntrySchema=z[_0x47b891(0x807,0x6e0,0x68b,0x7e2)]({'disabled':z[_0xe18bb0(0x2c8,0x2b3,0x2c7,0x3ef)]()[_0x47b891(0x35c,0x4bd,0x4c6,0x42e)](),'command':z[_0x47b891(0x530,0x5b7,0x6c2,0x6a9)]()[_0xe18bb0(-0xca,0x2c,-0x3c,0x12e)](),'args':z['array'](z[_0xe18bb0(0x17d,0x126,0x1e7,0xf8)]())['optional'](),'rootMarkers':z[_0x47b891(0x688,0x5c4,0x64d,0x51b)](z[_0x47b891(0x570,0x5b7,0x67c,0x7b2)]())['optional']()})[_0xe18bb0(-0x72,-0x115,-0x2de,-0xe5)](),lspConfigSchema=z[_0xe18bb0(0x35f,0x24f,0xd0,0x2e1)]({'enabled':z['boolean']()['optional'](),'servers':z['record'](z['string'](),lspServerEntrySchema)[_0xe18bb0(0x12e,0x2c,-0xd1,-0x5c)]()})[_0x47b891(0x2e9,0x37c,0x1d9,0x571)](),serverEndpointSchema=z[_0xe18bb0(0xa3,0x24f,0x135,0x320)]({'url':z[_0x47b891(0x6db,0x5b7,0x4d8,0x79b)](),'token':z[_0xe18bb0(0x4d,0x126,-0x97,0xef)]()[_0x47b891(0x324,0x4bd,0x660,0x625)]()})[_0xe18bb0(-0x1f2,-0x115,0xb4,-0x286)](),commandHookConfigSchema=z[_0xe18bb0(0x2db,0x24f,0x4c,0xca)]({'type':z[_0x47b891(0x7a7,0x628,0x751,0x61e)](_0xe18bb0(0x273,0x2d4,0x2ab,0x1b7)),'command':z[_0xe18bb0(-0xd6,0x126,0x2c,0xf6)](),'timeout':z[_0x47b891(0x57c,0x3d7,0x3ce,0x515)]()[_0xe18bb0(-0x1c0,0x2c,0x26,-0xc9)]()}),hookMatcherGroupSchema=z[_0xe18bb0(0x44c,0x24f,0x373,0x201)]({'matcher':z[_0x47b891(0x65c,0x5b7,0x52a,0x693)]()[_0xe18bb0(0xa1,0x2c,-0x19a,0x17a)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0xe18bb0(0x453,0x24f,0x3ab,0x228)]({'PreToolUse':z[_0x47b891(0x675,0x5c4,0x5b2,0x539)](hookMatcherGroupSchema)[_0xe18bb0(-0xad,0x2c,-0xc5,-0xba)](),'PostToolUse':z[_0xe18bb0(0x28e,0x133,0x2f0,-0x16)](hookMatcherGroupSchema)[_0x47b891(0x2f3,0x4bd,0x3ca,0x41b)](),'UserPromptSubmit':z[_0xe18bb0(-0xb9,0x133,0x1d,0x2f0)](hookMatcherGroupSchema)[_0x47b891(0x320,0x4bd,0x5f9,0x616)](),'Stop':z[_0x47b891(0x543,0x5c4,0x4b4,0x608)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0xe18bb0(0x17,0x133,0x2e9,0x2d3)](hookMatcherGroupSchema)[_0x47b891(0x2b5,0x4bd,0x447,0x696)](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)['optional'](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x47b891(0x615,0x4bd,0x587,0x316)](),'SessionEnd':z[_0xe18bb0(0x29f,0x133,-0xa9,-0xd3)](hookMatcherGroupSchema)[_0xe18bb0(0x1c0,0x2c,0x156,0x142)]()}),providerNameSchema=z[_0xe18bb0(0x19a,0x126,0x307,0xa4)]()['min'](0x1,_0x47b891(0x7aa,0x65a,0x5c4,0x71f))[_0x47b891(0x7a7,0x5ec,0x540,0x590)](_0xa8369e=>!_0xa8369e[_0xe18bb0(-0xbd,0xfc,-0x99,0x2b8)](':'),_0xe18bb0(0x22d,0x2c8,0x135,0x499)),bashPolicyRuleSchema=z[_0xe18bb0(0x26b,0x24f,0x17c,0x415)]({'id':z[_0x47b891(0x68f,0x5b7,0x651,0x5bc)]()['trim']()[_0x47b891(0x5da,0x5cb,0x45d,0x6c9)](0x1)[_0x47b891(0x3ea,0x37e,0x309,0x409)](0x80),'action':z['enum'](['allow',_0xe18bb0(-0x17b,-0xd8,-0x12b,-0x26b)]),'cwd':z['enum']([_0x47b891(0x4b6,0x5f3,0x53e,0x64c),_0xe18bb0(0x18d,-0x51,-0x123,0x47)])[_0x47b891(0x6bc,0x4bd,0x476,0x42a)](),'commands':z[_0x47b891(0x419,0x5c4,0x539,0x69a)](z[_0xe18bb0(-0xbc,0x126,0x20a,0x12a)]()['min'](0x1))[_0xe18bb0(0x280,0x13a,-0xad,0x1a7)](0x1)})[_0xe18bb0(0x2b9,0x277,0x26d,0x2c4)](),bashPolicyConfigSchema=z['object']({'default':z[_0xe18bb0(0x2ef,0x197,0x106,0x8d)](_0xe18bb0(-0x7a,0x4d,0xfa,0x138))[_0xe18bb0(-0x127,0x2c,0xdb,-0x15b)](),'rules':z[_0x47b891(0x558,0x5c4,0x760,0x457)](bashPolicyRuleSchema)['max'](0x3e8)})[_0x47b891(0x72a,0x708,0x8bf,0x63d)](),fileEditSettingsSchema=z[_0xe18bb0(0x38d,0x24f,0x323,0xa7)]({'mode':z[_0x47b891(0x55b,0x513,0x6e1,0x5ed)](PRODUCTION_FILE_EDIT_MODES)[_0xe18bb0(0x170,0x2c,0x69,-0x149)]()})[_0x47b891(0x814,0x708,0x63a,0x758)](),toolsSettingsSchema=z[_0xe18bb0(0x38b,0x24f,0x1f2,0x19c)]({'fileEdit':fileEditSettingsSchema[_0x47b891(0x6a4,0x4bd,0x531,0x488)]()})[_0xe18bb0(0x53,-0x115,-0x2db,-0x15d)](),cliConfigSchema=z[_0xe18bb0(0x59,0x24f,0xf4,0x10a)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0xe18bb0(0x7f,0x126,0x6c,-0xc8)]()[_0xe18bb0(-0x16f,0x2c,0x1d1,0x7b)](),'apiKey':z[_0x47b891(0x578,0x5b7,0x4f0,0x457)]()['optional'](),'providers':z[_0x47b891(0x486,0x5b3,0x51c,0x4a5)](providerNameSchema,providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0xe18bb0(0x0,0x2c,0x63,-0x42)](),'skills':skillsSettingsSchema[_0x47b891(0x43c,0x4bd,0x370,0x313)](),'agents':agentsSettingsSchema[_0xe18bb0(0x7f,0x2c,0x5c,-0x131)](),'commands':commandsSettingsSchema[_0xe18bb0(-0x14a,0x2c,0x1f5,-0x192)](),'skillsEnabled':z[_0x47b891(0x473,0x5b3,0x619,0x702)](z[_0xe18bb0(-0x3f,0x126,0xb,0x21b)](),z[_0x47b891(0x8c7,0x744,0x69c,0x622)]())['optional'](),'allowedDirs':z[_0x47b891(0x596,0x5c4,0x554,0x477)](z[_0xe18bb0(0x4c,0x126,0x112,0x26d)]())['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x47b891(0x62c,0x744,0x54a,0x5de)]())['optional'](),'commandsEnabled':z[_0x47b891(0x478,0x5b3,0x49d,0x6be)](z['string'](),z[_0xe18bb0(0xbc,0x2b3,0x173,0x3ad)]())['optional'](),'memory':memorySettingsSchema['optional'](),'session':z[_0x47b891(0x841,0x6e0,0x63e,0x719)]({'memPersist':z[_0xe18bb0(0xf7,0x2b3,0x145,0x2c5)]()[_0x47b891(0x34d,0x4bd,0x40c,0x594)](),'persistEventLog':z[_0xe18bb0(0x2c8,0x2b3,0x36a,0x27c)]()[_0x47b891(0x35c,0x4bd,0x560,0x6c6)](),'persistHttpLog':z[_0x47b891(0x7e9,0x744,0x703,0x58e)]()['optional']()})[_0xe18bb0(0x5a,-0x115,-0x163,-0x86)]()[_0x47b891(0x2c5,0x4bd,0x6af,0x475)](),'requireToolApproval':z[_0x47b891(0x79a,0x744,0x613,0x5b2)]()['optional'](),'thinking':z[_0xe18bb0(0x26a,0x24f,0x288,0x312)]({'selections':z[_0xe18bb0(0x50,0x122,0xe4,0x161)](z[_0x47b891(0x3ae,0x5b7,0x739,0x44e)](),z[_0x47b891(0x51a,0x5b7,0x65c,0x42c)]())[_0x47b891(0x5db,0x4bd,0x437,0x6a2)]()})['optional'](),'streamingChunks':z[_0xe18bb0(0xcf,0x2b3,0x315,0x253)]()['optional'](),'agentsEnabled':z[_0x47b891(0x6a6,0x5b3,0x3a9,0x40d)](z['string'](),z['boolean']())['optional'](),'recentModels':z[_0x47b891(0x3cf,0x5c4,0x5c8,0x710)](recentModelSchema)[_0xe18bb0(0x30,0x2c,0x1b9,0x2c)](),'lsp':lspConfigSchema[_0xe18bb0(0xb8,0x2c,0x100,0x8f)](),'servers':z[_0x47b891(0x41a,0x5b3,0x540,0x57d)](z[_0xe18bb0(0x2c0,0x126,-0xd7,0x132)](),serverEndpointSchema)[_0x47b891(0x381,0x4bd,0x41c,0x618)](),'ui':z[_0xe18bb0(0x1d6,0x24f,0x2cc,0x273)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0xe18bb0(-0x12e,0x2c,-0x1aa,0x6d)]()})[_0xe18bb0(0x76,-0x115,-0x290,-0x7d)]()[_0xe18bb0(0xeb,0x2c,0x1d6,-0x49)](),'tools':toolsSettingsSchema[_0x47b891(0x464,0x4bd,0x34c,0x5cc)](),'hooks':hooksConfigSchema['optional'](),'bashPolicy':z[_0x47b891(0x5e0,0x602,0x6e7,0x7f7)]()[_0x47b891(0x440,0x4bd,0x3b7,0x513)]()})[_0x47b891(0x356,0x37c,0x4bc,0x23d)](),workspaceOverlaySchema=z[_0x47b891(0x789,0x6e0,0x742,0x7fd)]({'root':z[_0x47b891(0x3bc,0x5b7,0x3d8,0x706)]()[_0x47b891(0x345,0x4bd,0x414,0x6b8)](),'allowedDirs':z[_0x47b891(0x757,0x5c4,0x4a6,0x6df)](z[_0x47b891(0x6fe,0x5b7,0x47d,0x471)]())[_0xe18bb0(-0x2a,0x2c,0x146,0x1f9)](),'activeProvider':providerNameSchema[_0xe18bb0(0x76,0x2c,-0x7c,-0x47)](),'activeModel':z[_0x47b891(0x67a,0x5b7,0x58b,0x700)]()['optional'](),'mcp':mcpSettingsSchema[_0xe18bb0(-0x177,0x2c,-0x154,-0x142)](),'skills':skillsSettingsSchema[_0x47b891(0x5ef,0x4bd,0x39d,0x560)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0xe18bb0(0xb7,0x2c,-0x18a,0x57)](),'hooks':hooksConfigSchema[_0x47b891(0x5cd,0x4bd,0x2e8,0x328)](),'memory':memorySettingsSchema[_0x47b891(0x454,0x4bd,0x354,0x476)](),'mcpEnabled':prototypeSafeRecord(z[_0x47b891(0x8ba,0x744,0x6bd,0x60f)]())['optional'](),'skillsEnabled':z['record'](z[_0x47b891(0x5a7,0x5b7,0x41f,0x6e7)](),z['boolean']())[_0x47b891(0x2d8,0x4bd,0x2f1,0x3d7)](),'agentsEnabled':z[_0xe18bb0(0x16f,0x122,0x29b,0x141)](z['string'](),z[_0xe18bb0(0x132,0x2b3,0x169,0x126)]())[_0xe18bb0(-0x80,0x2c,0x1,-0x1bd)](),'commandsEnabled':z[_0xe18bb0(0x307,0x122,0x222,0x2a2)](z[_0x47b891(0x68b,0x5b7,0x421,0x61a)](),z[_0xe18bb0(0x2f0,0x2b3,0x3a4,0xf6)]())[_0xe18bb0(0x224,0x2c,-0xe1,0x23a)](),'bashPolicy':z[_0x47b891(0x539,0x602,0x6ad,0x559)]()[_0x47b891(0x544,0x4bd,0x382,0x68e)](),'tools':toolsSettingsSchema[_0xe18bb0(0x1a0,0x2c,0x6f,0x2)]()})[_0x47b891(0x460,0x37c,0x363,0x3fb)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0xe18bb0(0x16e,0x22f,0x119,0x1e8)](Object[_0x47b891(0x480,0x4b1,0x660,0x55a)]),'prototype']);function buildDescription2(_0x173fce){const _0x26053c={_0x54f128:0x67b,_0x17db48:0x473,_0x1b627a:0x3e8,_0x3beb97:0x42b,_0x1ac75d:0x526,_0x22b210:0x326,_0x6ba812:0x50d,_0x30af3e:0x698,_0x2d3f96:0x700,_0x242679:0x829,_0x3e50df:0x792,_0x22beda:0x4ec},_0x90e86f={_0x1f9e23:0x322,_0x5bf06f:0x68,_0x32ee4f:0x104},_0x194329={_0x20c076:0x4d,_0x498b4a:0x1a9};function _0x5ce74a(_0x451148,_0x2c0a4d,_0x1f1b2e,_0x3bba7f){return _0x47b891(_0x1f1b2e,_0x451148- -_0x194329._0x20c076,_0x1f1b2e-0x182,_0x3bba7f-_0x194329._0x498b4a);}function _0x2e8ad2(_0x53fe1e,_0x426f52,_0x24a4cf,_0x5d6509){return _0xe18bb0(_0x53fe1e,_0x426f52-_0x90e86f._0x1f9e23,_0x24a4cf-_0x90e86f._0x5bf06f,_0x5d6509-_0x90e86f._0x32ee4f);}if(_0x173fce[_0x2e8ad2(_0x26053c._0x54f128,0x4c9,0x5f5,_0x26053c._0x17db48)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x5ce74a(_0x26053c._0x1b627a,0x4a1,0x5a7,_0x26053c._0x3beb97)][_0x5ce74a(_0x26053c._0x1ac75d,_0x26053c._0x22b210,_0x26053c._0x6ba812,_0x26053c._0x30af3e)]('\x0a');const _0x4d6cdb=[_0x5ce74a(_0x26053c._0x2d3f96,0x604,_0x26053c._0x242679,0x6c7),_0x5ce74a(0x641,0x5c8,_0x26053c._0x3e50df,0x538),'Available\x20commands:',..._0x173fce['map'](_0x582de0=>_0x582de0['argumentHint']?'-\x20'+_0x582de0[_0x5ce74a(0x39a,0x3ce,0x4db,0x1fd)]+'\x20'+_0x582de0[_0x5ce74a(0x362,0x52c,0x1c9,0x37d)]+':\x20'+_0x582de0[_0x2e8ad2(0x6e,0x220,0x35a,0x10d)]:'-\x20'+_0x582de0[_0x2e8ad2(0x1e6,0x278,0x25e,0x22d)]+':\x20'+_0x582de0[_0x5ce74a(0x342,0x1bc,0x22d,0x3dd)])];return _0x4d6cdb[_0x2e8ad2(0x359,0x404,_0x26053c._0x22beda,0x461)]('\x0a');}function createInvokeCommandTool(_0x11c369){const _0x32a3f6={_0x5705aa:0x4d6,_0x46d959:0x1a6,_0x7ddb33:0x2e4,_0x4298f7:0x2c5,_0x9e0d43:0x233,_0x36067a:0x3cd,_0x47b5bc:0x1b1,_0x5c5498:0x99,_0x3d92dd:0x247},_0x1f4ccb={_0x578027:0x5b1,_0x3b8c3d:0x779,_0x535285:0x7ad,_0x155acf:0x445,_0x49bea8:0x3e1,_0x357e6d:0x5dd,_0xd891a:0x1d6,_0x3288e8:0x20a,_0x4811bd:0x3c5,_0x4cb2d5:0x587,_0xae5670:0x4a1,_0x4a31fe:0x90a,_0x456e9d:0x429,_0x1bc02d:0x371,_0x77111f:0x4a5,_0x218eb4:0x1ee,_0x334c3d:0x62c,_0x138a56:0x809,_0xe2e712:0x488,_0x1e42ca:0x65d,_0x12ce11:0x791},_0x3df120={_0x3db177:0x1d5,_0x38aed6:0x26d,_0x7b1b8a:0x142},_0x495f6c={_0x407575:0x1b7,_0x24fc51:0x40},_0x41bd63=new Map(_0x11c369[_0x445e98(_0x32a3f6._0x5705aa,0x319,0x136,0x24b)]['map'](_0x2094ad=>[_0x2094ad['id'],_0x2094ad])),_0x30e9c1=buildDescription2(_0x11c369['commands']);function _0x16e6a7(_0x386a85,_0x751f43,_0x2e90c0,_0x56f30e){return _0x47b891(_0x56f30e,_0x386a85- -0x598,_0x2e90c0-_0x495f6c._0x407575,_0x56f30e-_0x495f6c._0x24fc51);}function _0x445e98(_0x3048b2,_0x31e85d,_0x5ba109,_0x36ae8d){return _0xe18bb0(_0x36ae8d,_0x31e85d-0x1ae,_0x5ba109-0xae,_0x36ae8d-0x7c);}return defineTool({'name':'InvokeCommand','permissionClass':_0x16e6a7(_0x32a3f6._0x46d959,_0x32a3f6._0x7ddb33,_0x32a3f6._0x4298f7,0x122),'description':_0x30e9c1,'inputSchema':{'type':'object','properties':{'name':{'type':_0x16e6a7(0x1f,-0x10,0x123,0x1f6)},'args':{'type':_0x445e98(0x203,0x2d4,_0x32a3f6._0x9e0d43,_0x32a3f6._0x36067a)}},'required':[_0x16e6a7(-_0x32a3f6._0x47b5bc,-_0x32a3f6._0x5c5498,-_0x32a3f6._0x3d92dd,-0x246)]},async *'execute'(_0x335e01){const _0x4a24c5={_0x4eeefc:0x1a6},_0xeec61a=_0x41bd63[_0x44f470(_0x1f4ccb._0x578027,_0x1f4ccb._0x3b8c3d,0x756,_0x1f4ccb._0x535285)](_0x335e01[_0x338a2d(0x371,_0x1f4ccb._0x155acf,0x4b3,_0x1f4ccb._0x49bea8)]);if(!_0xeec61a){const _0x34268c=Array['from'](_0x41bd63[_0x338a2d(0x409,_0x1f4ccb._0x357e6d,0x4a7,0x2ee)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x335e01[_0x338a2d(0x371,_0x1f4ccb._0xd891a,_0x1f4ccb._0x3288e8,_0x1f4ccb._0x4811bd)]+_0x44f470(0x6fd,0x861,_0x1f4ccb._0x4cb2d5,0x628)+_0x34268c,{'name':_0x335e01['name']});}function _0x44f470(_0x53cf03,_0x31f718,_0x4251d2,_0x266eb9){return _0x445e98(_0x53cf03-_0x4a24c5._0x4eeefc,_0x53cf03-0x367,_0x4251d2-0x51,_0x4251d2);}function _0x338a2d(_0x573d94,_0x300f52,_0x5f4684,_0x54faf5){return _0x445e98(_0x573d94-_0x3df120._0x3db177,_0x573d94-_0x3df120._0x38aed6,_0x5f4684-_0x3df120._0x7b1b8a,_0x300f52);}const _0x2b841c=await _0x11c369[_0x338a2d(0x5a2,0x515,_0x1f4ccb._0xae5670,0x4ad)](_0xeec61a),_0xead733=_0x335e01[_0x44f470(0x7b6,0x97d,0x8b6,_0x1f4ccb._0x4a31fe)]??'',_0x3eda29=renderCommandInstructions({'instructions':_0x2b841c['instructions'],'argumentsText':_0xead733,'argumentNames':_0x2b841c[_0x338a2d(0x3c1,0x330,_0x1f4ccb._0x456e9d,0x365)]});return yield createToolOutput(_0x3eda29,{'id':_0x2b841c['id'],'name':_0x2b841c[_0x338a2d(_0x1f4ccb._0x1bc02d,_0x1f4ccb._0x77111f,_0x1f4ccb._0x218eb4,0x3b5)],'path':_0xeec61a[_0x338a2d(_0x1f4ccb._0x334c3d,0x533,0x71d,_0x1f4ccb._0x138a56)][_0x44f470(0x68c,_0x1f4ccb._0xe2e712,_0x1f4ccb._0x1e42ca,_0x1f4ccb._0x12ce11)]}),void 0x0;}});}function createKillShellTool(_0x77b2d3){const _0x391fdc={_0x26d385:0x1e8,_0x4f2eed:0x124,_0x176cc6:0x26b,_0x59e6ed:0x3cf,_0x2e3ba5:0x79d,_0x3abf6d:0x906,_0x123e2c:0x8e7,_0x3d5d85:0x72b,_0x50c0f0:0x64c,_0x1d5212:0x182,_0x573ac8:0x1de,_0xf0dc61:0x46},_0x77398f={_0x58a679:0x316,_0x9b6bb7:0x12b,_0x322a39:0x326,_0x38305a:0xc2,_0x318de7:0x14d,_0x1a14bf:0x132,_0x4a5b53:0x699,_0x285a70:0x7ad,_0x1df371:0x84b,_0x5ecc98:0x24f,_0xa04ddf:0x34f,_0x56f64f:0x291,_0x1deb40:0xb,_0xc29c63:0x54,_0x1b7d88:0x153,_0x3d1c76:0x128,_0x333ddb:0x108,_0x4a1c23:0xbe,_0x14d7d5:0x6e2,_0x519d8a:0x6d4,_0x2ab2b0:0x867,_0x40a3d0:0x64f,_0x1f8617:0x5ee,_0x47661c:0x2d,_0x14fd88:0x137,_0x3758c3:0x7b7,_0x360772:0x8ab,_0xfdb9e6:0x317,_0x5c33ca:0x221,_0x41afdc:0x353,_0x41bd35:0x297,_0x216c23:0x7,_0x5dde75:0x784,_0x3de181:0x8e4,_0x2fe64e:0x448,_0x5808ec:0x5ee},_0x3276a1={_0x4d4e34:0xb1,_0x2a9c3f:0x3b3},_0x1b6e64={_0x2dfe63:0x4ba,_0x4ee1a1:0x94},_0x597f29={_0x25c7c0:0x435,_0x1ae365:0x15d};function _0x54c972(_0x3ec69a,_0x1f4c5d,_0x5c7802,_0x1213a5){return _0x47b891(_0x1213a5,_0x5c7802- -_0x597f29._0x25c7c0,_0x5c7802-_0x597f29._0x1ae365,_0x1213a5-0x1eb);}const {registry:_0x5efedc}=_0x77b2d3;function _0x3ea1b7(_0x2608bf,_0x32aa3c,_0x1bb08d,_0x4c00b3){return _0xe18bb0(_0x32aa3c,_0x1bb08d-_0x1b6e64._0x2dfe63,_0x1bb08d-0xed,_0x4c00b3-_0x1b6e64._0x4ee1a1);}return defineTool({'name':_0x54c972(_0x391fdc._0x26d385,_0x391fdc._0x4f2eed,_0x391fdc._0x176cc6,_0x391fdc._0x59e6ed),'permissionClass':_0x3ea1b7(_0x391fdc._0x2e3ba5,_0x391fdc._0x3abf6d,0x767,_0x391fdc._0x123e2c),'description':_0x3ea1b7(0x684,_0x391fdc._0x3d5d85,_0x391fdc._0x50c0f0,0x5a8),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x54c972(0x214,0x78,_0x391fdc._0x1d5212,0x21e)}},'required':[_0x54c972(-0x10b,_0x391fdc._0x573ac8,0x17,_0x391fdc._0xf0dc61)]},async *'execute'(_0x2424a3){const _0x59ec96=await _0x5efedc[_0x346b7c(_0x77398f._0x58a679,_0x77398f._0x9b6bb7,_0x77398f._0x322a39,0x303)](_0x2424a3['shellId']),_0x3e0c99={'shellId':_0x59ec96[_0x346b7c(-0x99,_0x77398f._0x38305a,-_0x77398f._0x318de7,_0x77398f._0x1a14bf)],'outcome':_0x59ec96['outcome'],'status':_0x59ec96[_0x15f5fa(0x839,_0x77398f._0x4a5b53,_0x77398f._0x285a70,_0x77398f._0x1df371)],'exitCode':_0x59ec96[_0x346b7c(0x137,0x31a,_0x77398f._0x5ecc98,_0x77398f._0xa04ddf)],'signal':_0x59ec96[_0x346b7c(0x4a5,0x2b3,_0x77398f._0x56f64f,0x1c1)],'error':_0x59ec96[_0x346b7c(0x189,0x2d,-_0x77398f._0x1deb40,-_0x77398f._0xc29c63)],'gracefulRequested':_0x59ec96[_0x346b7c(_0x77398f._0x1b7d88,_0x77398f._0x3d1c76,_0x77398f._0x333ddb,-_0x77398f._0x4a1c23)],'forceRequested':_0x59ec96[_0x15f5fa(0x946,_0x77398f._0x14d7d5,_0x77398f._0x519d8a,0x808)]};if(_0x59ec96['outcome']===_0x15f5fa(0xa6d,_0x77398f._0x2ab2b0,0x76d,0x88b))throw new ToolExecutionError('Failed\x20to\x20terminate\x20'+_0x2424a3[_0x15f5fa(0x693,_0x77398f._0x40a3d0,0x684,_0x77398f._0x1f8617)]+':\x20'+(_0x59ec96[_0x346b7c(0x46,_0x77398f._0x47661c,0x10,-_0x77398f._0x14fd88)]??_0x15f5fa(0x78b,_0x77398f._0x3758c3,0x9a0,_0x77398f._0x360772)),_0x3e0c99);function _0x15f5fa(_0x418daf,_0x3e8417,_0x33ec92,_0x58ad39){return _0x54c972(_0x418daf-0x1e1,_0x3e8417-0x8d,_0x58ad39-0x5d7,_0x33ec92);}const _0x1aec38=_0x59ec96[_0x346b7c(_0x77398f._0xfdb9e6,_0x77398f._0x5c33ca,0x412,0x223)]===_0x346b7c(0x433,_0x77398f._0x41afdc,0x3c0,_0x77398f._0x41bd35)?_0x346b7c(_0x77398f._0x216c23,0xf6,-0x105,0x11b)+_0x2424a3['shellId']+'\x20was\x20already\x20'+_0x59ec96[_0x15f5fa(0x6ca,_0x77398f._0x5dde75,_0x77398f._0x3de181,0x84b)]+'.':_0x346b7c(0x2b2,0x2ea,0x186,0x16e)+_0x2424a3[_0x15f5fa(0x45c,_0x77398f._0x2fe64e,0x602,_0x77398f._0x5808ec)]+'.';function _0x346b7c(_0x3ed9c6,_0x543bb4,_0x2b3a07,_0x545df3){return _0x3ea1b7(_0x3ed9c6-_0x3276a1._0x4d4e34,_0x3ed9c6,_0x543bb4- -_0x3276a1._0x2a9c3f,_0x545df3-0x5e);}return createToolOutput(_0x1aec38,_0x3e0c99);}});}import _0x8bf7ba from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x2e3de2=>{const _0x54f46f={_0x326f9f:0x39a,_0x2b4b74:0x1e1,_0x2be25f:0x423},{lookup:_0x3a4681}=await import(_0x2dfb4f(_0x54f46f._0x326f9f,0x4c1,_0x54f46f._0x2b4b74,_0x54f46f._0x2be25f));function _0x2dfb4f(_0x416027,_0x3a9156,_0x474ec0,_0x5a0513){return _0xe18bb0(_0x474ec0,_0x416027-0x499,_0x474ec0-0x9c,_0x5a0513-0x195);}return _0x3a4681(_0x2e3de2,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x5ad06b){const _0x272bf6={_0x35baba:0x5ee,_0x7c7f4:0x70d,_0x2a544a:0x850,_0x1de325:0x7d9},_0x8fc1e4={_0x3628ed:0x509,_0x5e4b43:0x1d};function _0x44c3d3(_0x20df83,_0x1f5648,_0x1a1757,_0x125af0){return _0x47b891(_0x125af0,_0x1f5648- -_0x8fc1e4._0x3628ed,_0x1a1757-_0x8fc1e4._0x5e4b43,_0x125af0-0x37);}const _0x33f3f7=_0x5ad06b['split']('.');function _0x404ffa(_0x2ec3e7,_0x3a9383,_0x422a06,_0x3f2b96){return _0x47b891(_0x3f2b96,_0x422a06-0x17f,_0x422a06-0x176,_0x3f2b96-0x53);}if(_0x33f3f7[_0x404ffa(0x8d9,0x931,0x7b7,_0x272bf6._0x35baba)]!==0x4)return null;let _0x5bf5a3=0x0;for(const _0x4240ac of _0x33f3f7){if(!/^\d{1,3}$/[_0x404ffa(0x72c,_0x272bf6._0x7c7f4,_0x272bf6._0x2a544a,_0x272bf6._0x1de325)](_0x4240ac))return null;const _0x490080=Number(_0x4240ac);if(_0x490080>0xff)return null;_0x5bf5a3=_0x5bf5a3*0x100+_0x490080;}return _0x5bf5a3>>>0x0;}function isBlockedIpv4(_0x1460f2){const _0x131c05={_0x2d9c74:0x3fd,_0x39d339:0x419,_0x4c0a24:0x5f8,_0x4a0ea7:0x3c9,_0x287188:0x3d7,_0x307b8e:0x532,_0x26579c:0x59e,_0x446345:0x7a7,_0x32b93c:0x5df,_0x3ee71f:0x762,_0x528da0:0x741,_0x1a50ee:0x4b6,_0x156534:0x5df,_0x4133b8:0x3ec,_0x2a87b1:0xa66,_0x50adf5:0x75c,_0x3e291a:0x618},_0x1b631d={_0x239ef3:0x1dd},_0x29adf3={_0x5ba6fd:0xb};function _0x2fbfd5(_0x2865d9,_0x258208,_0x35edb0,_0x256158){return _0xe18bb0(_0x35edb0,_0x256158-0x645,_0x35edb0-0xa5,_0x256158-_0x29adf3._0x5ba6fd);}const _0x48b216=ipv4ToInt(_0x1460f2);function _0x1956e2(_0x4ae403,_0x215f24,_0x22641e,_0xb3ef19){return _0x47b891(_0x22641e,_0x4ae403- -0x32,_0x22641e-_0x1b631d._0x239ef3,_0xb3ef19-0x4);}if(_0x48b216===null)return!![];const _0x4356c3=(_0x458fe0,_0x501f7a)=>{const _0x56d50b=ipv4ToInt(_0x458fe0);if(_0x56d50b===null)return![];const _0x1a0b98=_0x501f7a===0x0?0x0:0xffffffff<<0x20-_0x501f7a>>>0x0;return(_0x48b216&_0x1a0b98)===(_0x56d50b&_0x1a0b98);};return _0x4356c3('0.0.0.0',0x8)||_0x4356c3(_0x1956e2(_0x131c05._0x2d9c74,_0x131c05._0x39d339,_0x131c05._0x4c0a24,0x4b5),0x8)||_0x4356c3(_0x1956e2(_0x131c05._0x4a0ea7,_0x131c05._0x287188,_0x131c05._0x307b8e,_0x131c05._0x26579c),0xa)||_0x4356c3('127.0.0.0',0x8)||_0x4356c3(_0x1956e2(0x605,0x770,_0x131c05._0x446345,0x440),0x10)||_0x4356c3(_0x1956e2(_0x131c05._0x32b93c,_0x131c05._0x3ee71f,_0x131c05._0x528da0,_0x131c05._0x1a50ee),0xc)||_0x4356c3(_0x1956e2(0x5ef,0x501,_0x131c05._0x156534,_0x131c05._0x4133b8),0x18)||_0x4356c3(_0x1956e2(0x65a,0x4bc,0x861,0x6ca),0x10)||_0x4356c3('198.18.0.0',0xf)||_0x4356c3(_0x2fbfd5(_0x131c05._0x2a87b1,0xabc,0x880,0x8b9),0x4)||_0x4356c3(_0x1956e2(0x756,_0x131c05._0x50adf5,_0x131c05._0x3e291a,0x949),0x4);}function expandIpv6(_0x47307b){const _0x32d4cc={_0x10418e:0x3fe,_0x52e2fc:0xa8,_0x14422f:0x1a8,_0x516ddb:0xe5,_0x132a57:0x20a,_0x1d8cd9:0x4e4,_0x38c2f3:0x3ea,_0x505c44:0x230,_0x33bbe8:0x202,_0x3bcd05:0x3bf,_0x3e0f7b:0x255,_0x33bd19:0x48,_0x5a5dfa:0x123,_0xdbeb81:0x5d6,_0x1ad471:0x3dc,_0x2fb847:0x54d},_0x1ad5b5={_0x508d15:0x1c1,_0x877ec9:0x5f},_0x3b3075={_0x424354:0x121};let _0x1b1c32=_0x47307b;function _0x1dfad5(_0x36b256,_0x1c764a,_0x3a77ac,_0x729802){return _0xe18bb0(_0x36b256,_0x1c764a-0x305,_0x3a77ac-0x12e,_0x729802-_0x3b3075._0x424354);}let _0x4e867a;const _0x21c5b8=_0x1b1c32['lastIndexOf'](':');_0x1b1c32[_0x1dfad5(0x19b,0x215,0x222,_0x32d4cc._0x10418e)](_0x21c5b8+0x1)['includes']('.')&&(_0x4e867a=_0x1b1c32['slice'](_0x21c5b8+0x1),_0x1b1c32=_0x1b1c32['slice'](0x0,_0x21c5b8+0x1));const _0x3954e5=_0x1b1c32[_0x9decc7(0x4,-_0x32d4cc._0x52e2fc,-0xed,-0x2bb)]('::');if(_0x3954e5[_0x9decc7(_0x32d4cc._0x14422f,_0x32d4cc._0x516ddb,0x123,_0x32d4cc._0x132a57)]>0x2)return null;const _0x464e57=_0x4f80e9=>_0x4f80e9['split'](':')[_0x1dfad5(0x500,0x55e,0x691,0x460)](_0x55860f=>_0x55860f['length']>0x0)[_0x1dfad5(0x536,0x475,0x41d,0x27a)](_0x2f0159=>Number[_0x9decc7(-0x2da,0xd,-0xf1,-0x256)](_0x2f0159,0x10)),_0x3ff591=_0x3954e5[0x0]?_0x464e57(_0x3954e5[0x0]):[],_0x25f621=_0x3954e5[_0x1dfad5(_0x32d4cc._0x1d8cd9,0x4ac,0x4f3,0x5cc)]===0x2&&_0x3954e5[0x1]?_0x464e57(_0x3954e5[0x1]):[];function _0x9decc7(_0x25f7da,_0x2af853,_0x4b4be8,_0x4efe66){return _0x47b891(_0x2af853,_0x4b4be8- -0x515,_0x4b4be8-_0x1ad5b5._0x508d15,_0x4efe66-_0x1ad5b5._0x877ec9);}const _0x52d660=[];if(_0x4e867a){const _0x1734ec=ipv4ToInt(_0x4e867a);if(_0x1734ec===null)return null;_0x52d660[_0x1dfad5(_0x32d4cc._0x38c2f3,_0x32d4cc._0x505c44,_0x32d4cc._0x33bbe8,_0x32d4cc._0x3bcd05)](_0x1734ec>>>0x10&0xffff,_0x1734ec&0xffff);}const _0x14bfab=[..._0x25f621,..._0x52d660],_0x4898c2=0x8-_0x3ff591['length']-_0x14bfab['length'];if(_0x3954e5[_0x9decc7(0x11e,_0x32d4cc._0x3e0f7b,0x123,-0xb4)]===0x1)return _0x3ff591[_0x9decc7(0xe4,0x301,0x123,-0xd0)]+_0x14bfab[_0x9decc7(-0x48,-_0x32d4cc._0x33bd19,_0x32d4cc._0x5a5dfa,0xb)]===0x8?[..._0x3ff591,..._0x14bfab]:null;if(_0x4898c2<0x0)return null;return[..._0x3ff591,...new Array(_0x4898c2)[_0x1dfad5(_0x32d4cc._0xdbeb81,_0x32d4cc._0x1ad471,_0x32d4cc._0x2fb847,0x5d6)](0x0),..._0x14bfab];}function isBlockedIpv6(_0x2344b7){const _0x10debe={_0x903df2:0xcf,_0x547c80:0x5f3,_0x17076b:0x96,_0x11c3c9:0x2a1},_0x11eb47={_0x10572b:0x1b5,_0x401d0a:0xb1},_0x20e8a2={_0x12b813:0x1a6},_0x4e8590=expandIpv6(_0x2344b7);if(!_0x4e8590||_0x4e8590[_0x18a38e(0x6c8,0x4c9,0x686,0x2bb)](_0x3250da=>Number[_0x18a38e(0x1f8,0x1ee,0x38d,0x207)](_0x3250da)))return!![];const _0x1226b5=_0x4e8590['slice'](0x0,0x7)['every'](_0x2dfe45=>_0x2dfe45===0x0);if(_0x1226b5&&(_0x4e8590[0x7]===0x0||_0x4e8590[0x7]===0x1))return!![];if(_0x4e8590[_0x325263(-0x114,-0x88,_0x10debe._0x903df2,0x1f3)](0x0,0x5)[_0x18a38e(0x72b,0x5ca,0x69d,_0x10debe._0x547c80)](_0x41cb28=>_0x41cb28===0x0)&&(_0x4e8590[0x5]===0xffff||_0x4e8590[0x5]===0x0)){const _0x4bf6c9=(_0x4e8590[0x6]<<0x10|_0x4e8590[0x7])>>>0x0,_0x1b3f3e=[_0x4bf6c9>>>0x18&0xff,_0x4bf6c9>>>0x10&0xff,_0x4bf6c9>>>0x8&0xff,_0x4bf6c9&0xff][_0x325263(_0x10debe._0x17076b,0x4a1,_0x10debe._0x11c3c9,0xe7)]('.');return isBlockedIpv4(_0x1b3f3e);}const _0x10a04c=_0x4e8590[0x0];if((_0x10a04c&0xff00)===0xfc00||(_0x10a04c&0xfe00)===0xfc00)return!![];if((_0x10a04c&0xffc0)===0xfe80)return!![];function _0x325263(_0x228b44,_0x3396b0,_0x5e037f,_0x4aeb28){return _0x47b891(_0x3396b0,_0x5e037f- -0x2d2,_0x5e037f-0x59,_0x4aeb28-_0x20e8a2._0x12b813);}function _0x18a38e(_0xbbfea4,_0x2a4397,_0x519c7c,_0x54548b){return _0x47b891(_0x54548b,_0x2a4397- -_0x11eb47._0x10572b,_0x519c7c-0x116,_0x54548b-_0x11eb47._0x401d0a);}if((_0x10a04c&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x1f12ba){const _0x2888de=isIP(_0x1f12ba);if(_0x2888de===0x4)return isBlockedIpv4(_0x1f12ba);if(_0x2888de===0x6)return isBlockedIpv6(_0x1f12ba);return!![];}async function assertPublicUrl(_0x24c0b1,_0x447764={}){const _0x5604dd={_0x3af50a:0x60e,_0x28bc88:0x6af,_0x3a887a:0x7f5,_0x53b93e:0x562,_0x3acce8:0x501,_0x1ff81a:0x5ab,_0x4e3f37:0x5b5,_0x3dafed:0x4c9,_0x1f7316:0x5fc,_0x5f4b84:0x2fd,_0x4d6f4c:0x8b,_0x371608:0x2d2,_0x2de194:0x2a1,_0x20f228:0x13f,_0x46e194:0x326,_0x34d232:0x196,_0x504d3c:0x87,_0x35cc52:0x332,_0x31657f:0x1ce,_0x3364df:0x133,_0x3061c6:0x12b,_0x3ef55b:0x396,_0x5ad767:0x1c9,_0xbdec24:0x3d8,_0x1c1e27:0x4d7,_0x351e8c:0x11b,_0x4e6383:0x63,_0x2ec2cc:0x85,_0x55ea32:0x7,_0x514beb:0x163,_0x2f0f1e:0x174,_0x69ed37:0x20a,_0x588624:0xb5,_0x5be566:0x117,_0x248d31:0x665,_0x2f462e:0x700},_0x1b2287={_0x551eae:0x521,_0x19d269:0x176},_0x2d7fe1={_0x7e84d7:0x78};let _0x5c90f2;try{_0x5c90f2=new URL(_0x24c0b1);}catch{throw new ToolExecutionError(_0x51d6e2(0x551,0x66a,_0x5604dd._0x3af50a,_0x5604dd._0x28bc88),{'url':_0x24c0b1});}if(_0x5c90f2['protocol']!==_0x51d6e2(0x5e9,0x6d6,0x891,_0x5604dd._0x3a887a)&&_0x5c90f2['protocol']!==_0x51d6e2(_0x5604dd._0x53b93e,_0x5604dd._0x3acce8,_0x5604dd._0x1ff81a,_0x5604dd._0x4e3f37))throw new ToolExecutionError(_0x51d6e2(_0x5604dd._0x3dafed,0x683,0x733,_0x5604dd._0x1f7316),{'url':_0x24c0b1});if(_0x5c90f2[_0x51d6e2(0x2bf,0x42d,0x540,_0x5604dd._0x5f4b84)]||_0x5c90f2['password'])throw new ToolExecutionError(_0x438e76(-_0x5604dd._0x4d6f4c,-_0x5604dd._0x371608,-0x103,-_0x5604dd._0x2de194),{'url':_0x5c90f2[_0x438e76(-_0x5604dd._0x20f228,-_0x5604dd._0x46e194,-_0x5604dd._0x34d232,0x5a)]+'//'+_0x5c90f2[_0x438e76(-0x1b8,-_0x5604dd._0x504d3c,-0xd1,-0x26b)]+_0x5c90f2[_0x438e76(_0x5604dd._0x35cc52,-0x1a,_0x5604dd._0x31657f,0x109)]});const _0xc8beb9=_0x5c90f2['hostname'][_0x438e76(_0x5604dd._0x3364df,_0x5604dd._0x3061c6,0x233,_0x5604dd._0x3ef55b)](/^\[|\]$/g,''),_0x4ede19=_0x5c90f2[_0x51d6e2(0x498,0x313,0x3e6,0x2e1)]+'//'+_0x5c90f2[_0x51d6e2(_0x5604dd._0x5ad767,_0x5604dd._0xbdec24,0x434,_0x5604dd._0x1c1e27)]+_0x5c90f2[_0x51d6e2(0x47f,0x677,0x797,0x5f5)];function _0x51d6e2(_0x4fcba8,_0x5eed4a,_0x557a48,_0x494721){return _0x47b891(_0x4fcba8,_0x5eed4a- -_0x2d7fe1._0x7e84d7,_0x557a48-0x135,_0x494721-0x149);}if(isIP(_0xc8beb9)){if(isBlockedAddress(_0xc8beb9))throw new ToolExecutionError(_0x438e76(_0x5604dd._0x351e8c,_0x5604dd._0x4e6383,_0x5604dd._0x2ec2cc,-_0x5604dd._0x55ea32),{'url':_0x4ede19});return _0x5c90f2;}const _0xdc3875=_0x447764[_0x438e76(_0x5604dd._0x514beb,-_0x5604dd._0x2f0f1e,0x14,_0x5604dd._0x69ed37)]??defaultLookup;let _0x3bacf2;try{_0x3bacf2=await _0xdc3875(_0xc8beb9);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x4ede19});}function _0x438e76(_0x22a374,_0x272031,_0xd5132,_0x2bdd04){return _0x47b891(_0x2bdd04,_0xd5132- -_0x1b2287._0x551eae,_0xd5132-0xfa,_0x2bdd04-_0x1b2287._0x19d269);}if(_0x3bacf2[_0x438e76(_0x5604dd._0x588624,0x6f,_0x5604dd._0x5be566,0x297)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x4ede19});for(const {address:_0x4cf1ee}of _0x3bacf2){if(isBlockedAddress(_0x4cf1ee))throw new ToolExecutionError(_0x51d6e2(_0x5604dd._0x248d31,0x503,0x502,_0x5604dd._0x2f462e),{'url':_0x4ede19});}return _0x5c90f2;}async function safeFetch(_0x4f06b7,_0x4e575e={},_0x383055={}){const _0x408470={_0x2c5f86:0x798,_0x53cb8f:0xa45,_0x4712bb:0x5e4,_0x35982f:0x6f1,_0x1cbbdb:0x68e,_0xa7f571:0xa27,_0x52d519:0x9fd,_0x3b980b:0x883,_0xeba0b0:0x7be,_0x5710f7:0x819,_0x2fd8ae:0x447,_0x1ea02d:0x43b,_0x27d5c6:0x7a7,_0x3d6f47:0x769,_0x591b39:0x88a,_0x8ff000:0x7af},_0x226406={_0x120251:0x592,_0x4313db:0x53},_0x5d1ec2={_0x52ea47:0x616,_0xdb82cb:0x53};function _0x14a421(_0x3cc36a,_0x20d3a9,_0x47e757,_0xad13f3){return _0xe18bb0(_0x20d3a9,_0xad13f3-_0x5d1ec2._0x52ea47,_0x47e757-_0x5d1ec2._0xdb82cb,_0xad13f3-0xd);}function _0x455658(_0x25eac1,_0x4fb609,_0x488d40,_0x5b5cf2){return _0xe18bb0(_0x488d40,_0x4fb609-_0x226406._0x120251,_0x488d40-_0x226406._0x4313db,_0x5b5cf2-0xe9);}const _0x2d2645=_0x383055[_0x14a421(0x8ca,0x60b,0x8f5,_0x408470._0x2c5f86)]??fetch,_0x2bd8ef=_0x383055['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x5447a8=_0x4f06b7;for(let _0x2a7744=0x0;;_0x2a7744+=0x1){const _0x2734a0=await assertPublicUrl(_0x5447a8,_0x383055),_0x2b446f=await _0x2d2645(_0x2734a0[_0x14a421(0x996,0xa9f,_0x408470._0x53cb8f,0x90e)](),{..._0x4e575e,'redirect':_0x455658(0x67d,0x5ba,0x55c,_0x408470._0x4712bb)}),_0xd506c8=_0x2b446f[_0x455658(0x688,0x7b7,_0x408470._0x35982f,_0x408470._0x1cbbdb)]['get'](_0x455658(_0x408470._0x1cbbdb,0x710,0x639,0x90a));if(!REDIRECT_STATUSES[_0x14a421(0x9a5,_0x408470._0xa7f571,_0x408470._0x52d519,_0x408470._0x3b980b)](_0x2b446f[_0x455658(_0x408470._0xeba0b0,0x7aa,_0x408470._0x5710f7,0x90b)])||!_0xd506c8)return _0x2b446f;if(_0x2a7744>=_0x2bd8ef)throw new ToolExecutionError(_0x455658(_0x408470._0x2fd8ae,0x576,_0x408470._0x1ea02d,0x6cf),{'url':_0x2734a0[_0x455658(_0x408470._0x27d5c6,0x88a,0x760,_0x408470._0x3d6f47)]()});_0x5447a8=new URL(_0xd506c8,_0x2734a0)[_0x455658(0x8de,_0x408470._0x591b39,0x7cf,_0x408470._0x8ff000)]();}}var USER_AGENT=_0x47b891(0x4a3,0x53d,0x58d,0x475),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x313e62,_0x300f47){const _0x425af7={_0x4cbd7b:0x404,_0x1d243e:0x2da,_0x4729bc:0x253,_0x4deead:0x361,_0x5cbd9a:0x264,_0x4f5748:0x2c8,_0x37c9ac:0x273},_0x1b16a8={_0x1051c2:0x24d,_0xe783ab:0x1f7},_0x4c9ec4={_0x10f224:0x84},_0x1515ef={_0x4b7186:0x8c},_0x38818e=new AbortController();function _0x25bc41(_0x483685,_0x2a9604,_0x469066,_0x5c96a2){return _0x47b891(_0x483685,_0x469066-0xb0,_0x469066-0x128,_0x5c96a2-_0x1515ef._0x4b7186);}const _0x40448e=setTimeout(()=>_0x38818e[_0x25bc41(0x7e3,0x6a1,0x786,0x95f)](new Error(_0x2c3f40(0x76,0x6b,0x7c,0x90))),_0x300f47);function _0x2c3f40(_0x2f236f,_0x584fb5,_0x192a83,_0xeef481){return _0x47b891(_0x2f236f,_0x192a83- -0x375,_0x192a83-0x112,_0xeef481-_0x4c9ec4._0x10f224);}const _0x3d99ad=()=>_0x38818e[_0x2c3f40(0x44a,0x3e9,0x361,0x48a)](_0x313e62[_0x2c3f40(0x586,0x236,0x424,0x4eb)]);return _0x313e62[_0x2c3f40(0x40e,0x276,_0x425af7._0x4cbd7b,0x24a)]?_0x38818e[_0x2c3f40(_0x425af7._0x1d243e,_0x425af7._0x4729bc,_0x425af7._0x4deead,0x4df)](_0x313e62['reason']):_0x313e62['addEventListener']('abort',_0x3d99ad,{'once':!![]}),{'signal':_0x38818e[_0x2c3f40(0x28e,_0x425af7._0x5cbd9a,_0x425af7._0x4f5748,_0x425af7._0x37c9ac)],'cleanup':()=>{const _0x3eb385={_0x3f7c19:0x539,_0x4e53a4:0x17};clearTimeout(_0x40448e);function _0x778261(_0x2eb2cc,_0x416231,_0x227545,_0x376804){return _0x25bc41(_0x227545,_0x416231-0x5e,_0x416231- -_0x3eb385._0x3f7c19,_0x376804-_0x3eb385._0x4e53a4);}_0x313e62['removeEventListener'](_0x778261(0x35a,_0x1b16a8._0x1051c2,0x42,_0x1b16a8._0xe783ab),_0x3d99ad);}};}function createWebFetchTool(_0x2e60a0={}){const _0x4939a2={_0x17e3ce:0x56d,_0x2f69ba:0x382,_0x5e1f71:0x351,_0x97a06:0x495,_0x5cf004:0x102,_0xcbcc90:0x198,_0x58f859:0xbc,_0x18a1a1:0x55e,_0x10e386:0x4bf,_0x284b29:0x235,_0x917235:0x8b,_0x45d704:0xa5,_0x4aa308:0xfa,_0x34b700:0x379,_0x24e66b:0x1cc,_0x31d20f:0x18b,_0xf22ec3:0x10a,_0x52f0d2:0x136,_0x4dd494:0x1,_0x382390:0x8d,_0x292042:0x2a5,_0x463565:0x256,_0x399ecf:0x81,_0x25b983:0xb5,_0x6ec3f9:0x279,_0x299461:0x1a5,_0x508c80:0x286,_0x1baa73:0x265,_0x38f2b8:0x191,_0x56611e:0x162,_0x3b0e63:0x3d1,_0x351f1c:0x407,_0x1ba4a9:0x5f7},_0x37d865={_0x5607f1:0x4f5,_0x371a1c:0x49e,_0xf0f4fb:0x2d8,_0x1c8d87:0x5ee,_0x3a8cd7:0x502,_0x38de3c:0x5e4,_0x1474f6:0x57e,_0x11b3b9:0x422,_0x33c549:0x4cf,_0x239965:0x533,_0xf4fa94:0x4da,_0x569d64:0x650,_0x2ee8a5:0x439,_0x507502:0x3b7,_0x46a63b:0x75b,_0x26f9ce:0x370,_0x43d467:0x41c,_0x1540b5:0x551,_0x5758ae:0x760,_0xbaa9f4:0x6d7,_0x5e4a08:0x555,_0x1b90f2:0x48f,_0x9fb86d:0x60f,_0x209236:0x680,_0x4cddf7:0x4b9,_0x5adaed:0x699,_0x3e6408:0x4cc,_0xb9e0f9:0x5c4,_0x4ea7ef:0x59d,_0x535a5b:0x5db,_0x1fa00e:0x33b,_0x307018:0x4c2},_0x110cc7={_0x4fa1da:0x60},_0x3370d5={_0xcf6973:0x17,_0x151d49:0xbb,_0x5e97b2:0xd5},_0x16332a=_0x2e60a0['name']??_0x4c40de(_0x4939a2._0x17e3ce,_0x4939a2._0x2f69ba,_0x4939a2._0x5e1f71,0x3c3),_0x2102d5=_0x2e60a0[_0x4c40de(_0x4939a2._0x97a06,0x2f4,_0x4939a2._0x5cf004,0x4c6)]??DEFAULT_TIMEOUT_MS2,_0x36cbb8=_0x2e60a0[_0x4c40de(_0x4939a2._0xcbcc90,0x291,_0x4939a2._0x58f859,0xa8)],_0x414165=new _0x8bf7ba({'headingStyle':_0x4c40de(_0x4939a2._0x18a1a1,0x3b2,0x2f2,_0x4939a2._0x10e386),'codeBlockStyle':'fenced','bulletListMarker':'-'});function _0x58a905(_0x2655b5,_0x42803a,_0x408c67,_0x58a4eb){return _0xe18bb0(_0x42803a,_0x408c67-_0x3370d5._0xcf6973,_0x408c67-_0x3370d5._0x151d49,_0x58a4eb-_0x3370d5._0x5e97b2);}_0x414165['remove']([_0x4c40de(_0x4939a2._0x284b29,0x225,_0x4939a2._0x917235,_0x4939a2._0x45d704),'style',_0x58a905(_0x4939a2._0x4aa308,_0x4939a2._0x34b700,_0x4939a2._0x24e66b,_0x4939a2._0x31d20f),_0x58a905(_0x4939a2._0xf22ec3,-_0x4939a2._0x52f0d2,_0x4939a2._0x4dd494,-_0x4939a2._0x382390),'nav','footer',_0x4c40de(_0x4939a2._0x292042,0x338,_0x4939a2._0x463565,0x1c3),_0x58a905(0x1a9,0x142,_0x4939a2._0x399ecf,0x223)]);function _0x4c40de(_0x32bab7,_0xb80b96,_0x40c0fb,_0x88b0f3){return _0x47b891(_0x32bab7,_0xb80b96- -0x2a4,_0x40c0fb-_0x110cc7._0x4fa1da,_0x88b0f3-0x160);}return defineTool({'name':_0x16332a,'permissionClass':_0x58a905(0x9e,_0x4939a2._0x25b983,0x26e,_0x4939a2._0x6ec3f9),'description':_0x4c40de(0x218,_0x4939a2._0x299461,_0x4939a2._0x508c80,_0x4939a2._0x1baa73),'inputSchema':{'type':'object','properties':{'description':{'type':_0x4c40de(0x43d,0x313,0x21d,0x308)},'url':{'type':_0x4c40de(0x1f0,0x313,_0x4939a2._0x38f2b8,_0x4939a2._0x56611e)}},'required':[_0x4c40de(_0x4939a2._0x3b0e63,_0x4939a2._0x351f1c,_0x4939a2._0x1ba4a9,0x59c)]},async *'execute'(_0x209f48,_0x34a309){const _0x372330={_0x5d69f1:0x15a},_0x2f3256={_0x65eea:0x123,_0x385444:0x304,_0x478b95:0xbe},_0x1ffae5=(await assertPublicUrl(_0x209f48['url'],{'lookup':_0x36cbb8}))[_0x3a31c5(_0x37d865._0x5607f1,_0x37d865._0x371a1c,0x7d9,0x613)]();function _0x3a31c5(_0x5dc075,_0x519903,_0x451585,_0x25ab93){return _0x58a905(_0x5dc075-_0x2f3256._0x65eea,_0x5dc075,_0x25ab93-_0x2f3256._0x385444,_0x25ab93-_0x2f3256._0x478b95);}if(_0x34a309[_0x3a31c5(0x2e2,_0x37d865._0xf0f4fb,_0x37d865._0x1c8d87,0x4c7)]['aborted'])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x1ffae5});const _0x23a6e7=createTimeoutSignal(_0x34a309[_0x451e96(_0x37d865._0x3a8cd7,_0x37d865._0x38de3c,0x5d1,_0x37d865._0x1474f6)],_0x2102d5);function _0x451e96(_0x578803,_0x4814a2,_0x1cd950,_0x5f3c51){return _0x4c40de(_0x1cd950,_0x4814a2-0x24b,_0x1cd950-0x33,_0x5f3c51-_0x372330._0x5d69f1);}let _0x28d71b='',_0x3d024a=0x0,_0x21db32;try{const _0x4c6ce3=await safeFetch(_0x1ffae5,{'headers':{'User-Agent':USER_AGENT},'signal':_0x23a6e7[_0x451e96(0x4a3,0x5e4,_0x37d865._0x11b3b9,0x3e6)]},{'lookup':_0x36cbb8});if(!_0x4c6ce3['ok'])throw new ToolExecutionError(_0x3a31c5(0x551,_0x37d865._0x33c549,0x771,0x5bd)+_0x4c6ce3[_0x3a31c5(0x453,0x4fa,0x694,_0x37d865._0x239965)]+'\x20'+_0x4c6ce3[_0x3a31c5(_0x37d865._0xf4fa94,0x4d5,0x3d1,0x2fe)],{'url':_0x1ffae5,'statusCode':_0x4c6ce3[_0x451e96(0x71c,_0x37d865._0x569d64,0x6de,0x61e)]});_0x28d71b=_0x4c6ce3[_0x451e96(0x842,0x65d,0x5c9,0x6a4)][_0x3a31c5(_0x37d865._0x2ee8a5,0x2dd,0x245,_0x37d865._0x507502)]('content-type')??'',_0x3d024a=_0x4c6ce3['status'],_0x21db32=await _0x4c6ce3['text']();}catch(_0x5ecf5f){if(_0x5ecf5f instanceof ToolExecutionError)throw _0x5ecf5f;const _0x55a648=_0x5ecf5f instanceof Error?_0x5ecf5f[_0x3a31c5(_0x37d865._0x46a63b,_0x37d865._0x26f9ce,_0x37d865._0x43d467,0x570)]:String(_0x5ecf5f);throw new ToolExecutionError(_0x55a648,{'url':_0x1ffae5});}finally{_0x23a6e7['cleanup']();}const _0x2262d3=new Date()['toISOString']();let _0x43242d,_0xdaef60;if(_0x28d71b['includes'](_0x3a31c5(0x41d,_0x37d865._0x1540b5,0x403,0x5cb)))_0x43242d=_0x451e96(_0x37d865._0x5758ae,_0x37d865._0xbaa9f4,0x567,0x615)+_0x21db32+_0x3a31c5(_0x37d865._0x5e4a08,0x597,_0x37d865._0x1b90f2,0x3a1),_0xdaef60=_0x451e96(_0x37d865._0x9fb86d,_0x37d865._0x209236,_0x37d865._0x4cddf7,_0x37d865._0x5adaed);else _0x28d71b[_0x451e96(_0x37d865._0x3e6408,0x534,_0x37d865._0xb9e0f9,_0x37d865._0x4ea7ef)]('text/html')?(_0x43242d=_0x414165[_0x451e96(_0x37d865._0x535a5b,0x3d0,_0x37d865._0x1fa00e,0x3bc)](_0x21db32),_0xdaef60='markdown'):(_0x43242d=_0x21db32,_0xdaef60=_0x451e96(0x6b6,0x5f8,0x771,0x576));return yield createToolOutput(_0x43242d,{'url':_0x1ffae5,'contentType':_0x28d71b,'statusCode':_0x3d024a,'format':_0xdaef60,'size':_0x21db32[_0x3a31c5(0x2f4,0x3f0,0x527,_0x37d865._0x307018)],'fetchedAt':_0x2262d3}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0x526fb5){const _0x369661={_0x27bc40:0xb,_0x12083e:0x60,_0x22f3af:0xcd,_0x1bed4a:0xbc,_0x1afdfd:0x25c,_0x3425bb:0x21b,_0x3f9fb6:0x151,_0x393a67:0x1f0,_0x5d07be:0x205,_0x82e074:0x23a,_0x47e53f:0xbb,_0x2a36d4:0x74,_0x4499ea:0x26a,_0x401878:0x439,_0x1e5882:0x2fd,_0x3b27d0:0x726,_0x4bbdd4:0x663,_0x4d1267:0x6a1},_0x42f7e8={_0x4deb03:0x36b},_0x47305b={_0x25852b:0x4f,_0xb42c48:0x49,_0x385dc7:0x1b6};function _0x2105cc(_0x235632,_0x48a5dd,_0x2f350a,_0x4deeb6){return _0xe18bb0(_0x4deeb6,_0x2f350a-_0x47305b._0x25852b,_0x2f350a-_0x47305b._0xb42c48,_0x4deeb6-_0x47305b._0x385dc7);}function _0x48daaa(_0x4df6ce,_0x7ca479,_0x51b453,_0x1103ac){return _0xe18bb0(_0x51b453,_0x7ca479-_0x42f7e8._0x4deb03,_0x51b453-0xb,_0x1103ac-0x197);}try{const _0x280e00=new URL(_0x526fb5);for(const _0x5d306b of[_0x2105cc(0xaa,_0x369661._0x27bc40,0xe4,0x17c),_0x2105cc(_0x369661._0x12083e,0x1,_0x369661._0x22f3af,-0x87),_0x2105cc(_0x369661._0x1bed4a,0x134,_0x369661._0x1afdfd,0x279),'utm_term',_0x2105cc(_0x369661._0x3425bb,_0x369661._0x3f9fb6,_0x369661._0x393a67,_0x369661._0x5d07be),'gclid','fbclid',_0x2105cc(_0x369661._0x82e074,_0x369661._0x47e53f,_0x369661._0x2a36d4,0x39),'mc_eid']){_0x280e00[_0x48daaa(_0x369661._0x4499ea,_0x369661._0x401878,0x259,_0x369661._0x1e5882)]['delete'](_0x5d306b);}return _0x280e00[_0x48daaa(_0x369661._0x3b27d0,_0x369661._0x4bbdd4,0x7a9,_0x369661._0x4d1267)]();}catch{return _0x526fb5;}}function cseDateRestrict(_0x2d252a){const _0x3566e7={_0x41486b:0x478},_0x4a1697={_0x382658:0x15c,_0x27e352:0x1a3};if(_0x2d252a<=0x0)return void 0x0;function _0x295ae3(_0x4a6d83,_0x533802,_0x389967,_0x53518b){return _0xe18bb0(_0x533802,_0x4a6d83-0x3b5,_0x389967-_0x4a1697._0x382658,_0x53518b-_0x4a1697._0x27e352);}if(_0x2d252a<=0x1e)return'd'+Math['max'](0x1,Math[_0x295ae3(_0x3566e7._0x41486b,0x5bb,0x5c9,0x62f)](_0x2d252a));if(_0x2d252a<=0x16d)return'm'+Math['ceil'](_0x2d252a/0x1e);return'y'+Math['ceil'](_0x2d252a/0x16d);}function addSiteFilters(_0xad70fd,_0x404ef0){const _0x1a97d8={_0x4ec259:0x38e,_0x1846cd:0x6f5,_0x121149:0x49d,_0x247176:0x3d1,_0x209157:0x35a,_0x1bd909:0x370,_0x280cbb:0x2fd,_0x32775a:0x468,_0x49c1ed:0x28e,_0x215f2d:0x63b,_0x572ab7:0x69d,_0x3b2dae:0x508,_0x123c2f:0x38b,_0x4b91b7:0x50f,_0x1a89fa:0x3f1,_0x196ac7:0x617},_0x2d0a9c={_0x18cacb:0x12b},_0x3f3dab={_0x22af1b:0x441,_0x475018:0x1b5};function _0xf6c3f1(_0xf0da1c,_0x5dfe98,_0x30a1c5,_0x5cdbb5){return _0xe18bb0(_0x30a1c5,_0x5cdbb5-_0x3f3dab._0x22af1b,_0x30a1c5-0x1e2,_0x5cdbb5-_0x3f3dab._0x475018);}if(_0x404ef0['length']===0x0)return _0xad70fd[_0x437dbd(_0x1a97d8._0x4ec259,0x50f,_0x1a97d8._0x1846cd,_0x1a97d8._0x121149)]();function _0x437dbd(_0x5a3190,_0x2a1252,_0x564a43,_0x197558){return _0xe18bb0(_0x564a43,_0x2a1252-0x21b,_0x564a43-_0x2d0a9c._0x18cacb,_0x197558-0x191);}return(_0xad70fd+'\x20('+_0x404ef0[_0x437dbd(_0x1a97d8._0x247176,0x38b,_0x1a97d8._0x209157,0x3ce)](_0xa12c3b=>'site:'+_0xa12c3b)[_0x437dbd(_0x1a97d8._0x1bd909,_0x1a97d8._0x280cbb,_0x1a97d8._0x32775a,_0x1a97d8._0x49c1ed)](_0xf6c3f1(0x570,_0x1a97d8._0x215f2d,_0x1a97d8._0x572ab7,_0x1a97d8._0x3b2dae))+')')[_0x437dbd(_0x1a97d8._0x123c2f,_0x1a97d8._0x4b91b7,_0x1a97d8._0x1a89fa,_0x1a97d8._0x196ac7)]();}function normalizeType(_0x191479){const _0x47c387={_0x2b0c3b:0x2b7,_0x10bc8a:0xd8,_0x4ca947:0x5e4,_0x3f0d7e:0x7d9,_0x2ac32f:0x448},_0x24eb8b={_0xa1fdd9:0xdc,_0x557fe0:0x167,_0x53a0d5:0x10a},_0x5344a5={_0x44dd45:0x68a};function _0x46cecf(_0x7d4c54,_0x3d4867,_0x3f28ee,_0x453b86){return _0xe18bb0(_0x453b86,_0x3d4867-_0x5344a5._0x44dd45,_0x3f28ee-0x73,_0x453b86-0x19a);}function _0xd9dd8f(_0x13633a,_0x642697,_0x25587a,_0x4d1fe2){return _0xe18bb0(_0x4d1fe2,_0x25587a-_0x24eb8b._0xa1fdd9,_0x25587a-_0x24eb8b._0x557fe0,_0x4d1fe2-_0x24eb8b._0x53a0d5);}return _0x191479===_0xd9dd8f(_0x47c387._0x2b0c3b,0x188,0x22b,_0x47c387._0x10bc8a)?_0x46cecf(_0x47c387._0x4ca947,_0x47c387._0x3f0d7e,0x908,0x639):_0xd9dd8f(0x1f3,0x1f2,0x394,_0x47c387._0x2ac32f);}async function fetchJson(_0x59ed20,_0x3bb289,_0x1bd739){const _0x421b32={_0x465df6:0x9bb,_0x81e89e:0x96b,_0x3ef853:0x678,_0x407b94:0x7bd,_0x57219b:0x731,_0x5b342b:0x944,_0x392c53:0xa2b,_0x5bccbb:0x7c1,_0x7948be:0x6c3,_0x32f0a8:0x687,_0x101115:0x7c0,_0x9e53ea:0x7ac,_0x172fd4:0x802,_0x4a940f:0x64c,_0x353db0:0x3cb,_0x362733:0x3df,_0x7d134b:0x764,_0x3b1593:0x7c6,_0x48ab1e:0x494,_0x33917f:0x390,_0x42bf39:0x540,_0x3d0a86:0x6f3,_0xa771ef:0x700,_0x3bb47f:0x869,_0x4a462c:0x824,_0x14cb59:0x7c6,_0x47ef98:0x4ab,_0x5d321f:0x682,_0x9e1889:0x991,_0x56aa8e:0x6ee,_0x5e89ec:0x813,_0x428d52:0x609,_0x36adcf:0x44d,_0x29130e:0x4f1,_0x25cb7e:0x682,_0x4e2a9a:0x5c8,_0x8e22ca:0x6b2},_0x3aa4a5={_0x257679:0xe0,_0x8419e0:0xb1},_0x3ed6a2={_0x451cc0:0xe7},_0x5cd205=await fetch(_0x59ed20,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x4c77c7(0x8a5,_0x421b32._0x465df6,0x821,_0x421b32._0x81e89e),..._0x1bd739?.[_0x4c77c7(0x710,0x648,0x796,_0x421b32._0x3ef853)]},'signal':_0x3bb289,..._0x1bd739});function _0x309135(_0x2894c4,_0x2e936e,_0x28a195,_0x1e3f29){return _0xe18bb0(_0x2e936e,_0x1e3f29-0x46a,_0x28a195-0x5c,_0x1e3f29-_0x3ed6a2._0x451cc0);}function _0x4c77c7(_0x5d2809,_0x5a6165,_0x1bacc4,_0x2dee0e){return _0x47b891(_0x5a6165,_0x1bacc4-_0x3aa4a5._0x257679,_0x1bacc4-_0x3aa4a5._0x8419e0,_0x2dee0e-0x123);}if(!_0x5cd205['ok']){let _0x231b1d,_0x529996;try{_0x231b1d=await _0x5cd205[_0x4c77c7(_0x421b32._0x407b94,0x584,_0x421b32._0x57219b,0x674)]();const _0x271756=JSON[_0x4c77c7(0x7c7,_0x421b32._0x5b342b,0x81c,_0x421b32._0x392c53)](_0x231b1d),_0x4fdb15=typeof _0x271756[_0x309135(_0x421b32._0x5bccbb,0x566,0x616,0x6eb)]===_0x4c77c7(_0x421b32._0x7948be,_0x421b32._0x32f0a8,_0x421b32._0x101115,_0x421b32._0x9e53ea)?_0x271756[_0x309135(_0x421b32._0x172fd4,0x7dd,_0x421b32._0x4a940f,0x6eb)]['error']:void 0x0;_0x529996=_0x271756[_0x4c77c7(_0x421b32._0x353db0,0x3cc,0x497,_0x421b32._0x362733)]?.[_0x4c77c7(0x8b0,_0x421b32._0x7d134b,_0x421b32._0x3b1593,0x68d)]??_0x271756[_0x309135(0x25e,_0x421b32._0x48ab1e,0x2d5,_0x421b32._0x33917f)]?.[_0x309135(_0x421b32._0x42bf39,_0x421b32._0x3d0a86,0x652,_0x421b32._0xa771ef)]?.[0x0]?.[_0x4c77c7(_0x421b32._0x3bb47f,_0x421b32._0x4a462c,_0x421b32._0x14cb59,0x88d)]??_0x4fdb15;}catch{}const _0x2f8daf=_0x529996?'HTTP\x20'+_0x5cd205[_0x309135(0x5cb,0x49f,_0x421b32._0x47ef98,_0x421b32._0x5d321f)]+':\x20'+_0x529996:_0x4c77c7(_0x421b32._0x9e1889,_0x421b32._0x56aa8e,_0x421b32._0x5e89ec,_0x421b32._0x428d52)+_0x5cd205['status']+'\x20'+_0x5cd205[_0x309135(0x478,0x59e,0x365,_0x421b32._0x36adcf)];throw new ToolExecutionError(_0x2f8daf,{'statusCode':_0x5cd205[_0x309135(0x81e,_0x421b32._0x29130e,0x76b,_0x421b32._0x25cb7e)],..._0x231b1d?{'body':_0x231b1d}:{}});}return await _0x5cd205[_0x309135(0x729,_0x421b32._0x4e2a9a,0x4d2,_0x421b32._0x8e22ca)]();}async function hydrateResults(_0x2fd7a7,_0x6ac2ab,_0x14102d,_0x3bb81b){const _0xd3ba4d={_0x290d43:0x3cc,_0x4e9047:0x2d8,_0x1db487:0x376,_0x481f0c:0x566,_0x515c58:0x38b,_0x194c5e:0x245,_0x41accd:0x274},_0x3679b2={_0x2f821e:0x58a,_0x3a7951:0x503,_0x2f1611:0x87b,_0x21cded:0x6cb,_0x3cd410:0x64e,_0x562246:0x4a9,_0x2d7cc4:0x53c,_0x2fdb6d:0x48d,_0x44b42d:0x5ee,_0x30a937:0x287,_0xc7aa8f:0x1cc,_0xf657d:0x118,_0x502653:0x6f5,_0x73ff89:0x59b,_0x1efb4d:0x3cc,_0x21a625:0x371,_0x43acb4:0x5c1,_0x42fd80:0x675,_0x2c5ddf:0x4c7,_0x424716:0x3ca,_0x547fa0:0x6f3,_0x53e778:0x639,_0x1a238b:0x7de,_0x445fb2:0x369,_0x43ace2:0x892,_0x3b5114:0x78b,_0x40808b:0x6c9,_0x2d8952:0x458,_0x127873:0x656,_0x3be328:0x7bf,_0x22a231:0x5b7,_0x536d6b:0x50f,_0x512235:0x5b1,_0xe7b742:0x5ca,_0x499c41:0x3e0,_0x31f98c:0x5e8,_0x3b7fd1:0x8a8,_0x1860a8:0x78e,_0x35b9a9:0xb2d,_0x2162a8:0x82a,_0x598444:0x986,_0x47e5be:0x7d6,_0x203e34:0x41b},_0x3fb8c5={_0x1f19a3:0x18b},_0x39cd61={_0x2bdf57:0x96,_0x443ca3:0x21},_0x1c53d7={_0x46b280:0x38d,_0x44d5e7:0x13c,_0x23ed1e:0xec},_0x36aa97={_0x523d35:0x73};function _0x6f0f80(_0x4a3b56,_0x4c0d51,_0x45bbb1,_0x13cfb3){return _0xe18bb0(_0x45bbb1,_0x4c0d51-0x237,_0x45bbb1-_0x36aa97._0x523d35,_0x13cfb3-0x13a);}function _0xa0d6dc(_0x5bf4ce,_0x57669f,_0x20fd01,_0x2472d4){return _0x47b891(_0x20fd01,_0x57669f- -_0x1c53d7._0x46b280,_0x20fd01-_0x1c53d7._0x44d5e7,_0x2472d4-_0x1c53d7._0x23ed1e);}const _0x5c7b71=await Promise[_0xa0d6dc(_0xd3ba4d._0x290d43,_0xd3ba4d._0x4e9047,0x1d3,0x11d)](_0x2fd7a7['slice'](0x0,0xa)[_0x6f0f80(_0xd3ba4d._0x1db487,0x3a7,_0xd3ba4d._0x481f0c,_0xd3ba4d._0x515c58)](async _0x1d5016=>{function _0xc94ae7(_0x22c7ec,_0x46e698,_0x4e0cd7,_0x2228f6){return _0x6f0f80(_0x22c7ec-0xf5,_0x4e0cd7-_0x39cd61._0x2bdf57,_0x22c7ec,_0x2228f6-_0x39cd61._0x443ca3);}function _0x260047(_0x1121c0,_0x5aa253,_0x452134,_0x4f1325){return _0xa0d6dc(_0x1121c0-_0x3fb8c5._0x1f19a3,_0x452134-0x58a,_0x1121c0,_0x4f1325-0xa);}try{const _0x5af231=await safeFetch(_0x1d5016[_0xc94ae7(0x30f,_0x3679b2._0x2f821e,0x4e7,_0x3679b2._0x3a7951)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x6ac2ab,'Accept':_0x260047(0x639,_0x3679b2._0x2f1611,_0x3679b2._0x21cded,_0x3679b2._0x3cd410)},'signal':_0x14102d},{'lookup':_0x3bb81b});if(!_0x5af231['ok'])return _0x1d5016;const _0x245f1a=await _0x5af231[_0xc94ae7(_0x3679b2._0x562246,_0x3679b2._0x2d7cc4,_0x3679b2._0x2fdb6d,_0x3679b2._0x44b42d)](),_0x5a5398=load(_0x245f1a),_0x4663e0=_0x5a5398(_0xc94ae7(0x438,_0x3679b2._0x30a937,0x234,0x21d))[_0xc94ae7(0x47,0x292,_0x3679b2._0xc7aa8f,_0x3679b2._0xf657d)]('content')||_0x5a5398(_0x260047(_0x3679b2._0x502653,0x71a,0x658,_0x3679b2._0x73ff89))['first']()[_0xc94ae7(0x285,_0x3679b2._0x1efb4d,0x48d,_0x3679b2._0x21a625)]()[_0xc94ae7(0x4e0,0x41f,_0x3679b2._0x43acb4,_0x3679b2._0x42fd80)](),_0x37b6e3=_0x5a5398(_0xc94ae7(0x353,0x3b9,_0x3679b2._0x2c5ddf,0x5da))[_0x260047(0x68a,0x545,0x58d,0x793)](_0xc94ae7(0x467,0x268,_0x3679b2._0x424716,0x562))||_0x5a5398(_0x260047(0x682,_0x3679b2._0x547fa0,_0x3679b2._0x53e778,_0x3679b2._0x1a238b))[_0xc94ae7(0x88,0x91,0x1cc,_0x3679b2._0x445fb2)](_0x260047(0x781,_0x3679b2._0x43ace2,_0x3679b2._0x3b5114,0x616))||_0x1d5016[_0x260047(0x460,0x53b,0x580,_0x3679b2._0x40808b)],_0x2b4f6a=_0x5a5398(_0x260047(_0x3679b2._0x2d8952,_0x3679b2._0x127873,0x5d8,_0x3679b2._0x3be328))['attr'](_0xc94ae7(_0x3679b2._0x22a231,0x332,_0x3679b2._0x424716,_0x3679b2._0x536d6b))||_0x5a5398(_0x260047(0x5a3,_0x3679b2._0x512235,0x681,_0x3679b2._0xe7b742))['attr'](_0xc94ae7(_0x3679b2._0x499c41,0x4b,0x23a,0x25f))||_0x1d5016['publishedAt'],_0x504048=_0x5a5398('link[rel=\x27canonical\x27]')['attr']('href');return{..._0x1d5016,'title':_0x4663e0||_0x1d5016[_0x260047(0x562,0x70d,0x658,_0x3679b2._0x31f98c)],'snippet':_0x37b6e3,'url':_0x504048?normalizeUrl(new URL(_0x504048,_0x1d5016[_0x260047(0x765,0x84c,_0x3679b2._0x3b7fd1,_0x3679b2._0x1860a8)])[_0x260047(_0x3679b2._0x35b9a9,_0x3679b2._0x2162a8,_0x3679b2._0x598444,_0x3679b2._0x47e5be)]()):_0x1d5016[_0xc94ae7(_0x3679b2._0x203e34,0x507,0x4e7,0x378)],'publishedAt':_0x2b4f6a};}catch{return _0x1d5016;}})),_0xff378d=new Map(_0x2fd7a7['slice'](0x0,0xa)[_0xa0d6dc(_0xd3ba4d._0x194c5e,_0xd3ba4d._0x41accd,0x2a6,0x126)]((_0x13b443,_0x56b93d)=>[_0x13b443[_0x6f0f80(0x37e,0x451,0x549,0x552)],_0x5c7b71[_0x56b93d]]));return _0x2fd7a7['map'](_0x1d57f3=>_0xff378d[_0x6f0f80(0x117,0x2d3,0x2c1,0x45c)](_0x1d57f3[_0x6f0f80(0x33c,0x451,0x4b8,0x5e7)])??_0x1d57f3);}function formatResults(_0x3a131d){const _0x1d4490={_0xb82bb2:0x896,_0x454b99:0x5e8,_0x3393ba:0x5a8,_0x1e0155:0x3b5,_0x3997f4:0x70c},_0x5761eb={_0x912781:0x650,_0x99a08a:0x670,_0x4810de:0x434,_0xc66c23:0x429,_0x116328:0x4b3,_0x1afc1d:0x5a3,_0x2ab26f:0x38a,_0x37652f:0x351,_0x465100:0x1f1,_0x2e3ec6:0x4a8,_0x30a04d:0x374,_0x3bdf1f:0xcf,_0x4f5bf6:0x169,_0x4e0faf:0x27b,_0x5e9fb2:0x473,_0x351a62:0x2b4,_0x1310f1:0x5c4,_0x4d0e9d:0x63d,_0x55bae9:0x475,_0x349c70:0x16d,_0x1a53a3:0x45a},_0x27d22b={_0x3ef9e2:0x161},_0x464f9a={_0xbd180b:0x10b,_0x32cb17:0x1b0};function _0x4da549(_0x401186,_0x21bcb9,_0x39a27c,_0xf51979){return _0x47b891(_0x21bcb9,_0x39a27c-_0x464f9a._0xbd180b,_0x39a27c-_0x464f9a._0x32cb17,_0xf51979-0x12b);}if(_0x3a131d[_0x4da549(_0x1d4490._0xb82bb2,0x6d0,0x743,_0x1d4490._0x454b99)]===0x0)return _0x9fe1da(_0x1d4490._0x3393ba,_0x1d4490._0x1e0155,0x4f4,0x327);function _0x9fe1da(_0xb642b,_0x2c96dd,_0x2c1d25,_0x4c1237){return _0x47b891(_0xb642b,_0x2c96dd- -0x345,_0x2c1d25-0x5d,_0x4c1237-_0x27d22b._0x3ef9e2);}return _0x3a131d[_0x4da549(0x56e,0x838,_0x1d4490._0x3997f4,0x65a)](_0x3a1347=>{const _0x6aa538={_0x1babcb:0x184,_0x57b14e:0x108},_0x2120dd=[_0x3a1347[_0x3f38f3(0x846,0x597,_0x5761eb._0x912781,_0x5761eb._0x99a08a)]['rank']+'.\x20'+_0x3a1347[_0x3f38f3(0x567,0x3ba,_0x5761eb._0x4810de,_0x5761eb._0xc66c23)],_0x3a1347[_0x53ccca(0x5ed,0x4d9,_0x5761eb._0x116328,_0x5761eb._0x1afc1d)]];function _0x3f38f3(_0x2c3540,_0x1deab7,_0x1c2f37,_0x2f2169){return _0x4da549(_0x2c3540-_0x6aa538._0x1babcb,_0x1deab7,_0x2f2169- -0x13d,_0x2f2169-_0x6aa538._0x57b14e);}if(_0x3a1347[_0x3f38f3(_0x5761eb._0x2ab26f,0x234,0x35e,_0x5761eb._0x37652f)])_0x2120dd[_0x3f38f3(_0x5761eb._0x465100,_0x5761eb._0x2e3ec6,0x3a9,_0x5761eb._0x2ab26f)](_0x3a1347[_0x53ccca(_0x5761eb._0x30a04d,_0x5761eb._0x3bdf1f,_0x5761eb._0x4f5bf6,_0x5761eb._0x4e0faf)]);if(_0x3a1347['publishedAt'])_0x2120dd[_0x53ccca(0x443,_0x5761eb._0x5e9fb2,0x107,_0x5761eb._0x351a62)](_0x53ccca(_0x5761eb._0x1310f1,_0x5761eb._0x4d0e9d,0x4f8,0x4cd)+_0x3a1347[_0x53ccca(0x3b7,_0x5761eb._0x55bae9,_0x5761eb._0x349c70,0x36f)]);function _0x53ccca(_0x169137,_0x1081ee,_0x2ba6b1,_0x251ed2){return _0x9fe1da(_0x2ba6b1,_0x251ed2-0x23d,_0x2ba6b1-0x12b,_0x251ed2-0x17);}return _0x2120dd[_0x3f38f3(0x3fd,_0x5761eb._0x1a53a3,0x3ea,0x541)]('\x0a');})[_0x4da549(0x5d6,0x80c,0x67e,0x575)]('\x0a\x0a');}async function searchOllama(_0x17f6fd,_0x3b398a,_0x660d30){const _0x48ce29={_0xb74a3b:0x2c3,_0x1a884c:0x27e,_0x526556:0x6ce,_0xb4f7b0:0x3dd,_0x41d581:0x230,_0x597fb8:0x63d,_0x589a61:0x36e,_0x4eeafd:0x7a7,_0x5d5edd:0x68f,_0x70bfe5:0x379,_0x525eb7:0x6e7,_0x15b5d1:0x4f2,_0x43f3e7:0x572,_0x5c1dfa:0x656,_0x502518:0x713,_0x42b6a1:0x841,_0x9520b4:0x26e,_0x437df3:0x3a1,_0x2b4692:0x2e6,_0x413581:0x57e,_0x4d932b:0x1e7},_0x241f6f={_0x587671:0x189},_0x13d755={_0x52e0dc:0x549,_0x57dc61:0x2aa,_0x44a901:0x194,_0x4207c3:0x1e9,_0x59263b:0x2b1,_0x6b001d:0x134,_0x54eb56:0x32d,_0x20b6f6:0x17,_0xb646cf:0xcf},_0x375ae7={_0x2fd5f8:0x170,_0x4960d5:0x16a},_0x3a2857={_0x2759e9:0xd5},_0x4cfd8c=Math[_0x34626f(0x41d,0x3f7,_0x48ce29._0xb74a3b,_0x48ce29._0x1a884c)](0x1,Math[_0x536d8b(0x5e0,0x620,_0x48ce29._0x526556,0x64c)](0xa,_0x3b398a[_0x34626f(0x4a4,0x44c,_0x48ce29._0xb4f7b0,_0x48ce29._0x41d581)])),_0x27e4f3=addSiteFilters(_0x3b398a[_0x34626f(0x81c,0x5a2,_0x48ce29._0x597fb8,0x597)],_0x3b398a[_0x536d8b(0x81a,0x66b,0x85d,0x498)]);function _0x536d8b(_0x56adaa,_0x11b63a,_0x399b0c,_0x4f7033){return _0xe18bb0(_0x399b0c,_0x11b63a-0x4e6,_0x399b0c-0x150,_0x4f7033-_0x3a2857._0x2759e9);}const _0x3209b5=await fetchJson(_0x34626f(0x4fc,0x532,0x427,_0x48ce29._0x589a61),_0x660d30,{'method':'POST','headers':{'Authorization':_0x536d8b(_0x48ce29._0x4eeafd,0x765,0x860,_0x48ce29._0x5d5edd)+_0x17f6fd['apiKey']},'body':JSON[_0x34626f(_0x48ce29._0x70bfe5,_0x48ce29._0x525eb7,_0x48ce29._0x15b5d1,0x65b)]({'query':_0x27e4f3,'max_results':_0x4cfd8c})}),_0x4fa8b1=_0x3209b5['results']??[],_0x3cd772=_0x4fa8b1[_0x536d8b(_0x48ce29._0x43f3e7,_0x48ce29._0x5c1dfa,_0x48ce29._0x502518,_0x48ce29._0x42b6a1)]((_0x3903b1,_0x18bdaa)=>{const _0x4dcc3e={_0x52230d:0x57,_0x1c3419:0x108},_0xeb4b89=_0x3903b1[_0x19f4ed(0x644,0x439,0x27f,_0x13d755._0x52e0dc)]||'';function _0xbc58da(_0x4ffb0b,_0x45ea7f,_0x1e6faa,_0x3a0196){return _0x536d8b(_0x4ffb0b-_0x375ae7._0x2fd5f8,_0x4ffb0b-0x43,_0x45ea7f,_0x3a0196-_0x375ae7._0x4960d5);}function _0x19f4ed(_0x5650ca,_0x4c14cb,_0x1a6340,_0x4d5cf9){return _0x34626f(_0x5650ca-_0x4dcc3e._0x52230d,_0x4c14cb-_0x4dcc3e._0x1c3419,_0x4c14cb- -0x1b7,_0x1a6340);}let _0x36fa07;try{_0x36fa07=new URL(_0xeb4b89)[_0x19f4ed(_0x13d755._0x57dc61,0x1de,-0x30,0x14d)];}catch{_0x36fa07=null;}return{'title':_0x3903b1[_0x19f4ed(_0x13d755._0x44a901,_0x13d755._0x4207c3,_0x13d755._0x59263b,_0x13d755._0x6b001d)]||_0x19f4ed(0x385,_0x13d755._0x54eb56,0x3bc,0x2f8),'url':normalizeUrl(_0xeb4b89),'snippet':_0x3903b1['content']??null,'displayUrl':_0x36fa07,'favicon':null,'publishedAt':null,'source':{'engine':_0x19f4ed(-_0x13d755._0x20b6f6,0x1cc,0x1a3,_0x13d755._0xb646cf),'rank':_0x18bdaa+0x1}};});function _0x34626f(_0x528c04,_0x3441ca,_0x29d20f,_0x45c969){return _0x47b891(_0x45c969,_0x29d20f- -0xbb,_0x29d20f-0xa5,_0x45c969-_0x241f6f._0x587671);}return{'items':_0x3cd772[_0x34626f(_0x48ce29._0x9520b4,_0x48ce29._0x437df3,_0x48ce29._0x2b4692,0x33b)](0x0,_0x4cfd8c),'engine':_0x34626f(_0x48ce29._0x413581,0x4c8,0x383,_0x48ce29._0x4d932b)};}async function searchTavily(_0x3e340c,_0x3bc4e2,_0x15c129){const _0x4eac76={_0x16ab5b:0x31c,_0x5267a8:0x3e9,_0x2edaf5:0x3ce,_0x2786ab:0x409,_0x7b6015:0x436,_0x1e5644:0x306,_0x4dc0e9:0x42e,_0x5baff3:0x4b7,_0x2960e9:0x531,_0x3ea180:0x400,_0x2df98b:0x201,_0x341b5f:0x24a,_0x4fda13:0x3e9,_0x7dc610:0x326,_0x26fa46:0x419,_0x8f4e60:0x314,_0x129f59:0x5d6,_0x249560:0x644,_0x4e7a16:0x5ea,_0x308129:0x495,_0x3ea513:0x6bb,_0x486a8a:0x4e6,_0x4101c6:0x6e6,_0x391218:0x44b,_0x11bc4b:0x262,_0x40cc24:0x37b,_0x3c4fda:0x6df,_0x26afc4:0x8a1,_0x23bacd:0x54b,_0x37c142:0x59b,_0x2d9aaf:0x76f,_0x2a7e6e:0x3b3,_0x4eba48:0x404,_0x4c0f4b:0x267},_0x4df9df={_0x1cd52f:0x940,_0x4a869a:0x8f0,_0x842f6f:0x762,_0xb38e10:0x76e,_0x9933c2:0x96,_0x37c801:0x204,_0x5840ed:0x1ea,_0x44d76b:0x139,_0x1aca65:0x337,_0x572eb3:0x384,_0x17f56a:0x485,_0x10224e:0x4ac},_0x598168={_0x5b73e4:0x125,_0xd1a240:0x167},_0x2b1213={_0x480b79:0x5a},_0x133f21={_0x481335:0x294,_0x258145:0x109,_0x349dd5:0xe3},_0x2aa447={_0x232825:0xc0};function _0x31f1ec(_0x229a3f,_0x190183,_0x5e717a,_0x152fc1){return _0x47b891(_0x5e717a,_0x229a3f- -0x62,_0x5e717a-0x42,_0x152fc1-_0x2aa447._0x232825);}function _0x31aebe(_0x752940,_0x1e85b3,_0x3cb609,_0x2eebe8){return _0xe18bb0(_0x1e85b3,_0x752940-_0x133f21._0x481335,_0x3cb609-_0x133f21._0x258145,_0x2eebe8-_0x133f21._0x349dd5);}const _0xb99189=Math[_0x31f1ec(_0x4eac76._0x16ab5b,0x34e,0x490,_0x4eac76._0x5267a8)](0x1,Math[_0x31aebe(_0x4eac76._0x2edaf5,0x54a,0x53f,_0x4eac76._0x2786ab)](0x14,_0x3bc4e2[_0x31f1ec(_0x4eac76._0x7b6015,_0x4eac76._0x1e5644,0x3c1,_0x4eac76._0x4dc0e9)])),_0x5e49c2={'query':_0x3bc4e2[_0x31f1ec(0x696,0x879,_0x4eac76._0x5baff3,0x4a1)],'max_results':_0xb99189,'search_depth':_0x3e340c[_0x31aebe(_0x4eac76._0x2960e9,0x3c6,_0x4eac76._0x3ea180,0x652)]??_0x31f1ec(0x34b,0x13d,_0x4eac76._0x2df98b,_0x4eac76._0x341b5f),'topic':_0x3e340c[_0x31aebe(_0x4eac76._0x4fda13,0x28e,0x581,_0x4eac76._0x7dc610)]??'general'};if(_0x3bc4e2[_0x31aebe(_0x4eac76._0x26fa46,_0x4eac76._0x8f4e60,0x41d,0x2ed)][_0x31f1ec(_0x4eac76._0x129f59,0x505,_0x4eac76._0x249560,_0x4eac76._0x4e7a16)]>0x0)_0x5e49c2['include_domains']=_0x3bc4e2[_0x31aebe(0x419,_0x4eac76._0x308129,0x269,0x3b3)];const _0x2e8837=await fetchJson(_0x31f1ec(_0x4eac76._0x3ea513,0x531,0x525,_0x4eac76._0x486a8a),_0x15c129,{'method':_0x31f1ec(0x4da,_0x4eac76._0x4101c6,0x3b9,0x575),'headers':{'Authorization':'Bearer\x20'+_0x3e340c[_0x31aebe(_0x4eac76._0x391218,_0x4eac76._0x11bc4b,0x284,_0x4eac76._0x40cc24)],'Content-Type':_0x31f1ec(_0x4eac76._0x3c4fda,_0x4eac76._0x26afc4,0x625,0x8bb)},'body':JSON[_0x31f1ec(_0x4eac76._0x23bacd,0x716,0x48a,0x40c)](_0x5e49c2)}),_0x480846=_0x2e8837[_0x31aebe(_0x4eac76._0x37c142,0x3ce,_0x4eac76._0x2d9aaf,_0x4eac76._0x2a7e6e)]??[],_0x58f699=_0x480846[_0x31aebe(_0x4eac76._0x4eba48,0x611,0x2cd,_0x4eac76._0x4c0f4b)]((_0x3991de,_0x4845dd)=>{const _0x43f8e5=_0x3991de[_0x5aea8f(_0x4df9df._0x1cd52f,_0x4df9df._0x4a869a,_0x4df9df._0x842f6f,_0x4df9df._0xb38e10)]||'';let _0x19f2a7;function _0x43b225(_0x5ad27f,_0x31a9b0,_0x35ee9f,_0x1da4b2){return _0x31aebe(_0x31a9b0- -_0x2b1213._0x480b79,_0x35ee9f,_0x35ee9f-0x1a0,_0x1da4b2-0x184);}try{_0x19f2a7=new URL(_0x43f8e5)[_0x43b225(0x1de,0x1f9,0xa7,_0x4df9df._0x9933c2)];}catch{_0x19f2a7=null;}function _0x5aea8f(_0x2c4194,_0x2bdbc9,_0x1fc830,_0x3f5131){return _0x31f1ec(_0x3f5131-_0x598168._0x5b73e4,_0x2bdbc9-0x60,_0x2bdbc9,_0x3f5131-_0x598168._0xd1a240);}return{'title':_0x3991de[_0x43b225(0x389,_0x4df9df._0x37c801,_0x4df9df._0x5840ed,0xbe)]||'Untitled','url':normalizeUrl(_0x43f8e5),'snippet':_0x3991de[_0x43b225(_0x4df9df._0x44d76b,_0x4df9df._0x1aca65,_0x4df9df._0x572eb3,_0x4df9df._0x17f56a)]??null,'displayUrl':_0x19f2a7,'favicon':null,'publishedAt':null,'source':{'engine':_0x5aea8f(0x45a,0x4a2,_0x4df9df._0x10224e,0x62a),'rank':_0x4845dd+0x1}};});return{'items':_0x58f699['slice'](0x0,_0xb99189),'engine':'tavily'};}async function searchGoogleCse(_0x4abd7e,_0xe6ab91,_0x1ec5f0){const _0x11a947={_0x256203:0x26,_0x3ceddc:0x229,_0x5ba1da:0x202,_0x17620d:0x25e,_0x698df3:0x11,_0x2c1c5a:0x2e1,_0x33d0b5:0x1af,_0xaa1f00:0x3c0,_0xb69310:0x2eb,_0x5d0350:0x158,_0x269cc8:0x194,_0x171bba:0x24e,_0x57630b:0x297,_0x3ec7ea:0x47d,_0x5a6bcf:0x1ed,_0x54f4eb:0x37e,_0x28dbae:0x54e,_0x393e8d:0x2d,_0x56cdd7:0x1de,_0x3345e4:0x1ba,_0x2b38ba:0x26b,_0x2cd24d:0x27f,_0x3929e0:0x44b,_0x3699bc:0xb3,_0x550c8:0x48e,_0x4a0083:0x2b1,_0x4418ba:0x2ec,_0x1a2941:0x32e,_0x5da0a3:0x303,_0x1ddaa6:0x120,_0x31c299:0x6,_0x1398e3:0x2bf,_0x3a0c48:0x193,_0x3a208d:0x242,_0x12d737:0xfb,_0x193dda:0x90,_0x4e253c:0x138,_0x438aa0:0x89,_0x315ad7:0x3bc,_0x51050f:0x496,_0x4a2e59:0x55e,_0x40f90d:0x320,_0x4c62ed:0x207,_0x37186e:0x230,_0x2e178c:0x30f,_0x4086a6:0x27f,_0x4f18cd:0x47c,_0x51d550:0x120,_0xd2fd61:0x293,_0x32907b:0x2fa,_0x4da7cc:0x2d7,_0x16aa6f:0x109,_0x37e7a6:0xa7,_0x4fe480:0x1b0,_0x1004f6:0x29a,_0x3aebe9:0x1e9,_0x3c0b76:0x87,_0x61af45:0x21d,_0x5a5024:0x21f,_0x7c4231:0x121,_0x5d26a6:0x15b,_0x39bdc8:0x1ac,_0x4940dc:0x34,_0x393857:0x267,_0x41624e:0x146,_0x4f06f3:0xb8,_0x3cbc69:0x209,_0x2a7a44:0x1fc,_0x54ce7d:0x100,_0x48a951:0x46e,_0x24b48d:0x2c1,_0x286223:0x449,_0x5d595e:0x402,_0x50f0df:0x485,_0x44f3ca:0x1e9,_0x23f9cc:0xf7,_0x3c54e1:0x2cf,_0x2581e5:0x1b3,_0xbbbda6:0x73,_0x2b7dfe:0x2f1,_0x3be083:0x4a4,_0x5a474b:0x69f,_0x3403d8:0x1fb,_0xcfcb52:0x273,_0x501d70:0x31b,_0x3a04e8:0x358,_0xe500b9:0x192,_0x16e462:0x497,_0x31fbf3:0x358,_0x23cc00:0x1ab,_0x1b60ef:0x2ca,_0xcca884:0x256,_0x29144f:0x17b,_0x1934e1:0x42,_0xd6200a:0x21a,_0x425826:0x3fa,_0x553f97:0x296,_0x795eda:0x6c,_0x433006:0xbb,_0x32a38e:0x278,_0x11379c:0x8b,_0x4c4a63:0x48c,_0x113670:0x255,_0x4b4d65:0x280,_0x4ecb80:0x49e,_0x16d3c2:0xa4,_0x3aacd4:0xa,_0x41643d:0x188,_0x5e0098:0x18d,_0x5981d6:0x2b8,_0x2c6976:0x275,_0x24e980:0x3bb,_0x347c61:0x3e8,_0x1627c5:0x400,_0x37c888:0x29a,_0x26a73e:0x358,_0x36a4de:0x27,_0x1ba370:0xc1,_0x2919de:0x114},_0x1efa43={_0x2db13d:0x2e0},_0x55af71={_0x23d480:0x1d8},_0x196443=Math[_0x5c96d7(0xb6,_0x11a947._0x256203,0x2c2,_0x11a947._0x3ceddc)](0x1,Math['min'](0x32,_0xe6ab91[_0x5c96d7(0x1d0,_0x11a947._0x5ba1da,_0x11a947._0x17620d,-_0x11a947._0x698df3)]));if(_0xe6ab91[_0x5735f0(-0x7b,0x196,-0x3f,-0x6b)]+_0x196443>0x64)throw new ToolExecutionError('Google\x20CSE\x20supports\x20at\x20most\x20the\x20first\x20100\x20results',{'offset':_0xe6ab91[_0x5c96d7(0x1ae,0x64,_0x11a947._0x2c1c5a,_0x11a947._0x33d0b5)],'count':_0x196443,'maxResults':0x64});const _0x4566ee=cseDateRestrict(_0xe6ab91['recencyDays']),_0x3c75ab=addSiteFilters(_0xe6ab91['query'],_0xe6ab91[_0x5735f0(_0x11a947._0xaa1f00,0x336,0x4f3,0x382)]);let _0x5accd0=0x0;function _0x5c96d7(_0x5c4ef3,_0x2540f9,_0x12ccdc,_0x5ae1f7){return _0xe18bb0(_0x5ae1f7,_0x5c4ef3-0x1c9,_0x12ccdc-0x180,_0x5ae1f7-_0x55af71._0x23d480);}let _0x885a45=_0xe6ab91['offset']+0x1;const _0x52733e=[];function _0x5735f0(_0x11bebd,_0xec31a0,_0x16ce29,_0x147070){return _0x47b891(_0x11bebd,_0xec31a0- -_0x1efa43._0x2db13d,_0x16ce29-0xc7,_0x147070-0xe);}while(_0x5accd0<_0x196443){const _0x450788=Math[_0x5735f0(0x12c,_0x11a947._0xb69310,0x378,0x3fa)](0xa,_0x196443-_0x5accd0),_0x1f442b=new URL(_0x5735f0(_0x11a947._0x5d0350,0x2ab,_0x11a947._0x269cc8,_0x11a947._0x171bba));_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x3ec7ea,0x235,0x417)][_0x5c96d7(0x138,0x2b,0xe8,_0x11a947._0x5a6bcf)](_0x5c96d7(0x473,0x2bc,_0x11a947._0x54f4eb,_0x11a947._0x28dbae),_0x4abd7e[_0x5735f0(_0x11a947._0x393e8d,_0x11a947._0x56cdd7,_0x11a947._0x3345e4,0x11)]),_0x1f442b[_0x5735f0(_0x11a947._0x2b38ba,_0x11a947._0x2cd24d,_0x11a947._0x3929e0,0x179)][_0x5735f0(_0x11a947._0x3699bc,0x120,0x9c,0x24)]('cx',_0x4abd7e[_0x5735f0(-0x96,0xe1,-0xdd,0x1ed)]),_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x550c8,_0x11a947._0x4a0083,_0x11a947._0x4418ba)][_0x5735f0(_0x11a947._0x1a2941,0x120,0x3f,_0x11a947._0x5da0a3)]('q',_0x3c75ab),_0x1f442b[_0x5735f0(0xe7,0x27f,0x36e,0x427)][_0x5735f0(0x17a,_0x11a947._0x1ddaa6,0xa4,_0x11a947._0x31c299)]('num',String(_0x450788)),_0x1f442b['searchParams'][_0x5735f0(_0x11a947._0x1398e3,0x120,_0x11a947._0x3a0c48,_0x11a947._0x3a208d)](_0x5c96d7(_0x11a947._0x12d737,0x267,0x216,_0x11a947._0x193dda),String(_0x885a45)),_0x1f442b['searchParams'][_0x5c96d7(_0x11a947._0x4e253c,0x2cf,-_0x11a947._0x438aa0,0x5f)](_0x5c96d7(_0x11a947._0x315ad7,0x235,_0x11a947._0x51050f,_0x11a947._0x4a2e59),_0xe6ab91[_0x5735f0(0x2ae,0x3a4,0x319,0x292)]?_0x5735f0(_0x11a947._0x40f90d,0x1e2,_0x11a947._0x4c62ed,_0x11a947._0x37186e):'off');_0xe6ab91[_0x5735f0(_0x11a947._0x2e178c,0x109,-0x61,-0x3f)]&&(_0x1f442b[_0x5735f0(0x3a8,_0x11a947._0x4086a6,0x1e8,_0x11a947._0x4f18cd)][_0x5735f0(0x63,_0x11a947._0x51d550,_0x11a947._0xd2fd61,_0x11a947._0x32907b)]('hl',_0xe6ab91[_0x5735f0(_0x11a947._0x4da7cc,_0x11a947._0x16aa6f,-_0x11a947._0x37e7a6,_0x11a947._0x4fe480)]),_0x1f442b[_0x5735f0(0xba,_0x11a947._0x4086a6,0x1e6,_0x11a947._0x1004f6)][_0x5c96d7(_0x11a947._0x4e253c,_0x11a947._0x3aebe9,0x323,_0x11a947._0x3c0b76)]('lr',_0x5735f0(_0x11a947._0x61af45,0x22d,_0x11a947._0x5a5024,0xf8)+_0xe6ab91[_0x5c96d7(_0x11a947._0x7c4231,-0x10,_0x11a947._0x5d26a6,_0x11a947._0x39bdc8)]));if(_0xe6ab91[_0x5735f0(-0xc7,0xa0,-_0x11a947._0x4940dc,-0x14e)])_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x393857,0x26c,_0x11a947._0x41624e)]['set']('gl',_0xe6ab91[_0x5c96d7(_0x11a947._0x4f06f3,-0x8c,0x60,_0x11a947._0x3cbc69)][_0x5c96d7(0x187,_0x11a947._0x2a7a44,_0x11a947._0x54ce7d,0x2bc)]());if(_0xe6ab91[_0x5c96d7(_0x11a947._0x48a951,_0x11a947._0x24b48d,_0x11a947._0x286223,_0x11a947._0x5d595e)]==='images')_0x1f442b[_0x5735f0(_0x11a947._0x50f0df,0x27f,_0x11a947._0x44f3ca,_0x11a947._0x23f9cc)][_0x5c96d7(_0x11a947._0x4e253c,-0xaa,0x1e5,0x169)]('searchType','image');if(_0x4566ee)_0x1f442b[_0x5c96d7(0x297,_0x11a947._0x3c54e1,0x4a8,_0x11a947._0x2581e5)][_0x5735f0(0x22f,0x120,_0x11a947._0xbbbda6,0x4a)](_0x5735f0(_0x11a947._0x2b7dfe,_0x11a947._0x3be083,_0x11a947._0x5a474b,0x3f4),_0x4566ee);const _0x32ddb7=await fetchJson(_0x1f442b[_0x5c96d7(0x4c1,0x694,0x4aa,0x3e8)](),_0x1ec5f0),_0x5306db=_0x32ddb7[_0x5c96d7(_0x11a947._0x3403d8,0x2ec,_0x11a947._0xcfcb52,_0x11a947._0x501d70)]??[];if(_0x5306db[_0x5735f0(0x2ba,_0x11a947._0x3a04e8,_0x11a947._0xe500b9,0x40a)]===0x0)break;const _0x22549e=_0x5accd0;for(let _0x2a6fc3=0x0;_0x2a6fc3<_0x5306db[_0x5735f0(_0x11a947._0x16e462,_0x11a947._0x31fbf3,_0x11a947._0x23cc00,_0x11a947._0x1b60ef)];_0x2a6fc3++){const _0x3b583d=_0x5306db[_0x2a6fc3];if(!_0x3b583d)continue;const _0x1ea064=_0x3b583d['link']||_0x3b583d['image']?.[_0x5c96d7(_0x11a947._0xcca884,_0x11a947._0x44f3ca,0x84,0x427)]||'',_0x599a0e=_0x3b583d[_0x5735f0(0x318,_0x11a947._0x29144f,_0x11a947._0x1934e1,0x313)]||_0x3b583d[_0x5735f0(0x4c,_0x11a947._0xd6200a,0xfd,_0x11a947._0x425826)]?.[_0x5c96d7(0x193,_0x11a947._0x553f97,0x2e8,-_0x11a947._0x795eda)]||'Untitled',_0x40fbc1=_0x3b583d[_0x5c96d7(_0x11a947._0x433006,_0x11a947._0x32a38e,-0x42,_0x11a947._0x11379c)]||_0x3b583d['htmlSnippet']?.[_0x5c96d7(_0x11a947._0x4c4a63,0x583,0x482,0x526)](/<[^>]+>/g,''),_0x372412=_0x3b583d[_0x5735f0(_0x11a947._0x113670,0x2f9,_0x11a947._0x4b4d65,_0x11a947._0x4ecb80)]?.[_0x5735f0(0x41,_0x11a947._0x16d3c2,-_0x11a947._0x3aacd4,-_0x11a947._0x54ce7d)]?.[0x0]??{};let _0x2b3a77;try{_0x2b3a77=new URL(_0x1ea064)[_0x5c96d7(_0x11a947._0x41643d,_0x11a947._0x5e0098,0x36c,_0x11a947._0x5981d6)];}catch{_0x2b3a77=null;}_0x52733e[_0x5735f0(0xd6,0xdc,-0xc1,0x19)]({'title':_0x599a0e,'url':normalizeUrl(_0x1ea064),'snippet':_0x40fbc1??null,'displayUrl':_0x2b3a77,'favicon':null,'publishedAt':_0x372412[_0x5735f0(_0x11a947._0x2c6976,0x2c8,_0x11a947._0x24e980,0x167)]||_0x372412[_0x5735f0(_0x11a947._0x347c61,0x47f,0x657,_0x11a947._0x1627c5)]||null,'source':{'engine':_0x5735f0(0x3e9,0x307,0x40d,0x2af),'rank':_0x22549e+_0x2a6fc3+0x1}});}_0x5accd0+=_0x5306db[_0x5735f0(0x300,0x358,0x40f,0x264)],_0x885a45+=_0x5306db[_0x5735f0(_0x11a947._0x37c888,_0x11a947._0x26a73e,0x269,0x27a)];if(_0x5306db['length']<_0x450788)break;}return _0x52733e[_0x5735f0(_0x11a947._0x36a4de,_0x11a947._0x1ba370,0x250,_0x11a947._0x2919de)](0x0,_0x196443);}function isGoogleCseEngine(_0x2977b5){return'googleCseKey'in _0x2977b5;}function isOllamaEngine(_0x131ab5){const _0x5cfd5a={_0x2f0a3e:0x226,_0x23f15a:0x1c},_0x3256dc={_0x37bcc2:0xa5,_0x2dcbe9:0x105};function _0x4d02ff(_0x58e3fa,_0x182643,_0x205ea7,_0x4125ba){return _0xe18bb0(_0x4125ba,_0x205ea7-_0x3256dc._0x37bcc2,_0x205ea7-0x187,_0x4125ba-_0x3256dc._0x2dcbe9);}return _0x4d02ff(_0x5cfd5a._0x2f0a3e,0x2f9,0x1dc,-_0x5cfd5a._0x23f15a)in _0x131ab5;}function isTavilyEngine(_0x5311a5){const _0x55091d={_0x47be88:0x42c,_0x30b3b5:0x48};function _0x8411e8(_0x14d73f,_0x7cc924,_0x17db5c,_0x18cbfe){return _0xe18bb0(_0x14d73f,_0x18cbfe-_0x55091d._0x47be88,_0x17db5c-0xe0,_0x18cbfe-_0x55091d._0x30b3b5);}return _0x8411e8(0x766,0x56e,0x7d0,0x5e3)in _0x5311a5;}function createWebSearchTool(_0x29d2c4){const _0x312fef={_0x1b26aa:0x349,_0x2ce8cd:0x281,_0x143a8b:0x7d,_0x5426ad:0x30f,_0x38e022:0x281,_0x5f4bba:0x1fa,_0x281132:0x30c,_0x44c124:0x2f6,_0x4ae9da:0x174,_0x1f92d2:0x3f9,_0x44cc2b:0x225,_0xc29efd:0xf4,_0x5ea96d:0x221,_0xd6b38c:0x4ff,_0x1eb36d:0x56e,_0x13bac7:0x376,_0x44ad2a:0x3e8,_0x2ceb9f:0x30e,_0x14d739:0x105,_0x22b98c:0x130,_0x3ba5bc:0x6a,_0x184d56:0xf8,_0x4362fb:0x1c4,_0x52faba:0x60d,_0x119c73:0x57e,_0x14c9ac:0x768,_0x39b662:0x46b,_0x426797:0x5bd,_0x58cebf:0x73d,_0x55d4a4:0x4fc,_0x598a63:0x6c0,_0x2b1817:0x3f3},_0xb21eaf={_0x187d87:0x2f5,_0x4d10e9:0x205,_0x5d76f9:0x202,_0x32c183:0x98,_0x15ab43:0x70,_0x3cfa91:0x1c8,_0x4711cb:0x6e,_0x3a56d3:0x81,_0x3422d7:0x2e,_0x5d3820:0x19f,_0x291393:0x29,_0x42509a:0x16,_0x55358b:0x2f0,_0x3c9c56:0x38c,_0x264f4f:0x2e2,_0x360a8c:0x9c,_0xaf0a00:0x1c1,_0x47329d:0x293,_0x5936a5:0x122,_0x32e254:0x83,_0x59586c:0x4b,_0x3ad06d:0x281,_0x4e2cbe:0x26e,_0xe6efc5:0x5f,_0x560867:0x169,_0x4d6249:0x1c0,_0x3d24ce:0x1c5,_0xf170cf:0x23a,_0x39e36a:0xa1,_0x1a8c11:0x1d,_0x29394e:0x8e,_0x155304:0x143,_0x159853:0x54,_0x5dd0f9:0x75,_0x3f9c6f:0x5e,_0x2a54eb:0xc6,_0x1e21b4:0xd4,_0x3ae9e5:0x11a,_0x481fcd:0x3d1,_0x4ea043:0x235,_0x40f118:0x1c0,_0x36a36a:0x150,_0x5eb1a4:0xa7,_0x4833b4:0x32c,_0x402043:0x210,_0x37176c:0x88,_0x443dc3:0x24d,_0x1c87c9:0x295,_0x497301:0x24b,_0xd7676b:0xb8,_0x166d00:0x2f7,_0x714331:0xa1,_0x16dc4b:0xb0,_0x29f59e:0xdf,_0x55c65:0x17a,_0x687bb7:0x15d,_0x1c7790:0x137,_0x15430b:0xed,_0x9b2f91:0x1eb,_0x14032e:0x1d4,_0xdf14a5:0x213,_0x3b3ab5:0x118,_0x3a7230:0x27b,_0xd03287:0x2bd,_0x73545:0x174,_0x2fe7aa:0xeb,_0x1b1482:0x197,_0xb1ef40:0xf7,_0x3b3834:0xc,_0x3a07db:0x1a,_0x4352b4:0x113,_0x44616e:0x1,_0x45d7a7:0x200,_0x430c97:0x1a7,_0x1045d1:0x3eb,_0x1932a0:0x35f,_0x2a2c64:0xba,_0x4dd8b7:0x132,_0x2e5209:0x178,_0x5ef9aa:0x1f2,_0x3d9d0a:0x3,_0x54279c:0x151,_0x18f1d2:0xb8,_0x133125:0x136,_0x4d94de:0x1d7,_0x3a95ec:0x19,_0xe7b6f8:0x18f},_0x2fe349={_0xe000a9:0xad},_0x54a1e5={_0x41574a:0x2cc,_0x22f83e:0x1a7,_0x5a2194:0x13e},_0x2f815d={_0x2f451c:0x186},_0x422da1={_0x58a8fc:0x13d};if(!_0x29d2c4[_0x1e2596(_0x312fef._0x1b26aa,0xaf,_0x312fef._0x2ce8cd,0x430)]||_0x29d2c4[_0x1e2596(_0x312fef._0x143a8b,_0x312fef._0x5426ad,_0x312fef._0x38e022,0x287)][_0x1e2596(0x299,-0x67,0x179,_0x312fef._0x5f4bba)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x1e2596(_0x1b08a6,_0x4eae12,_0x38ce88,_0x3aef92){return _0xe18bb0(_0x3aef92,_0x38ce88- -0x2e,_0x38ce88-_0x422da1._0x58a8fc,_0x3aef92-0x5e);}const _0xb41193=_0x29d2c4['name']??_0x3e771c(_0x312fef._0x281132,0x193,_0x312fef._0x44c124,0x377),_0x5ad20c=_0x29d2c4[_0x1e2596(0x12,_0x312fef._0x4ae9da,0x76,-0x164)];function _0x3e771c(_0x10489f,_0x3e4d2b,_0x1a5d9f,_0x534f55){return _0x47b891(_0x3e4d2b,_0x10489f- -0x137,_0x1a5d9f-_0x2f815d._0x2f451c,_0x534f55-0x16);}return defineTool({'name':_0xb41193,'permissionClass':'read','description':_0x1e2596(0x1b7,_0x312fef._0x1f92d2,_0x312fef._0x44cc2b,_0x312fef._0xc29efd),'inputSchema':{'type':_0x1e2596(0x13b,0x41b,_0x312fef._0x5ea96d,0x1fd),'properties':{'description':{'type':_0x3e771c(0x480,_0x312fef._0xd6b38c,_0x312fef._0x1eb36d,_0x312fef._0x13bac7)},'query':{'type':'string'},'count':{'type':_0x3e771c(0x2a0,_0x312fef._0x44ad2a,_0x312fef._0x2ceb9f,0x355)},'offset':{'type':'number'},'domains':{'type':_0x1e2596(0x20b,0x1c2,_0x312fef._0x14d739,0x20f),'items':{'type':'string'}},'recencyDays':{'type':'number'},'lang':{'type':_0x1e2596(_0x312fef._0x22b98c,_0x312fef._0x3ba5bc,_0x312fef._0x184d56,_0x312fef._0x4362fb)},'region':{'type':'string'},'safe':{'type':_0x3e771c(_0x312fef._0x52faba,_0x312fef._0x119c73,_0x312fef._0x14c9ac,_0x312fef._0x39b662)},'type':{'type':'string'},'hydrateMeta':{'type':_0x3e771c(0x60d,_0x312fef._0x426797,0x76c,_0x312fef._0x58cebf)}},'required':[_0x3e771c(0x5c1,_0x312fef._0x55d4a4,_0x312fef._0x598a63,_0x312fef._0x2b1817)]},async *'execute'(_0x3869ce,_0x3e69f6){const _0x22bc76={_0x324662:0x516,_0x1acb41:0x631,_0x5820a2:0x82f,_0x34aeac:0x632,_0x9fed2c:0x605,_0x6c2ed3:0x6ba,_0x27d902:0x71d},_0x175efc={_0xfd94de:0x582,_0x46e43c:0x23};function _0x1ce2df(_0x3b6b66,_0x443e44,_0x3a5447,_0x3944b9){return _0x3e771c(_0x443e44- -_0x54a1e5._0x41574a,_0x3a5447,_0x3a5447-_0x54a1e5._0x22f83e,_0x3944b9-_0x54a1e5._0x5a2194);}const _0x265fec=_0x3869ce[_0x1ce2df(0x26c,_0xb21eaf._0x187d87,0x443,0x391)][_0x5a488a(_0xb21eaf._0x4d10e9,0x75,0x2dd,0x19b)]();function _0x5a488a(_0x42783f,_0x448b7c,_0x2266c3,_0x1cf419){return _0x1e2596(_0x42783f-_0x2fe349._0xe000a9,_0x448b7c-0x1a,_0x42783f- -0xc1,_0x448b7c);}if(!_0x265fec)throw new ToolExecutionError(_0x1ce2df(0xb0,0x280,0x2d0,0x1d3));const _0x5373ab={'query':_0x265fec,'count':Math[_0x5a488a(-_0xb21eaf._0x5d76f9,-_0xb21eaf._0x32c183,-_0xb21eaf._0x15ab43,-0x29c)](0x1,Math[_0x1ce2df(0xa1,_0xb21eaf._0x3cfa91,_0xb21eaf._0x4711cb,_0xb21eaf._0x3a56d3)](0x32,Math['trunc'](_0x3869ce[_0x1ce2df(_0xb21eaf._0x3422d7,0x95,0x1bd,0x241)]??0xa))),'offset':Math['max'](0x0,Math[_0x5a488a(-_0xb21eaf._0x5d3820,_0xb21eaf._0x291393,0x23,-0x1f3)](_0x3869ce[_0x5a488a(-0x10a,-0x20c,-_0xb21eaf._0x42509a,-_0xb21eaf._0x55358b)]??0x0)),'domains':_0x3869ce['domains']??[],'recencyDays':Math['max'](0x0,Math[_0x5a488a(-_0xb21eaf._0x5d3820,-_0xb21eaf._0x3c9c56,-_0xb21eaf._0x264f4f,-0x38b)](_0x3869ce['recencyDays']??0x0)),'lang':_0x3869ce[_0x5a488a(-0x197,-_0xb21eaf._0x360a8c,-_0xb21eaf._0xaf0a00,-_0xb21eaf._0x47329d)]??'en','region':_0x3869ce[_0x1ce2df(-_0xb21eaf._0x5936a5,-_0xb21eaf._0x32e254,-_0xb21eaf._0x59586c,-0x28f)]??'','safe':_0x3869ce[_0x1ce2df(0x459,_0xb21eaf._0x3ad06d,0x1d4,_0xb21eaf._0x4e2cbe)]??!![],'type':normalizeType(_0x3869ce['type']),'hydrateMeta':_0x3869ce[_0x1ce2df(-0x1f6,0x19,_0xb21eaf._0xe6efc5,-_0xb21eaf._0x560867)]??![]};let _0x567e1e=[],_0x451273='unknown';for(const _0x1d0f8b of _0x29d2c4[_0x5a488a(_0xb21eaf._0x4d6249,0xaa,0x3af,0x237)]){try{if(isGoogleCseEngine(_0x1d0f8b))_0x567e1e=await searchGoogleCse(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x1ce2df(_0xb21eaf._0x3d24ce,_0xb21eaf._0xf170cf,0x224,0x76)]),_0x451273=_0x5a488a(0x67,-_0xb21eaf._0x39e36a,-0x100,_0xb21eaf._0x1a8c11);else{if(isOllamaEngine(_0x1d0f8b)){const _0x389c71=await searchOllama(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x5a488a(0xbd,0x11c,_0xb21eaf._0x42509a,0x26e)]);_0x567e1e=_0x389c71[_0x5a488a(-0xbd,-0x223,-_0xb21eaf._0x29394e,0x138)],_0x451273=_0x389c71[_0x1ce2df(-_0xb21eaf._0x155304,_0xb21eaf._0x159853,-0x8c,-0x172)];}else{if(isTavilyEngine(_0x1d0f8b)){const _0x3a1a9f=await searchTavily(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x5a488a(0xbd,_0xb21eaf._0x5dd0f9,_0xb21eaf._0x3f9c6f,-0x44)]);_0x567e1e=_0x3a1a9f[_0x5a488a(-0xbd,-_0xb21eaf._0x2a54eb,-0x166,-_0xb21eaf._0x1e21b4)],_0x451273=_0x3a1a9f[_0x1ce2df(-0x1b6,0x54,_0xb21eaf._0x3ae9e5,0x1)];}}}if(_0x567e1e[_0x1ce2df(_0xb21eaf._0x481fcd,_0xb21eaf._0x4ea043,0x206,0xfd)]>0x0)break;}catch(_0x274e02){if(_0x1d0f8b===_0x29d2c4[_0x5a488a(_0xb21eaf._0x40f118,_0xb21eaf._0x36a36a,-0x2f,_0xb21eaf._0x5eb1a4)][_0x29d2c4[_0x5a488a(0x1c0,0x31f,_0xb21eaf._0x4833b4,0x135)][_0x5a488a(0xb8,0x81,_0xb21eaf._0x402043,_0xb21eaf._0x37176c)]-0x1])throw _0x274e02;}}_0x5373ab[_0x5a488a(-0x164,-_0xb21eaf._0x443dc3,-_0xb21eaf._0x1c87c9,-_0xb21eaf._0x497301)]&&_0x567e1e[_0x5a488a(_0xb21eaf._0xd7676b,0x285,0x24b,-0xa7)]>0x0&&(_0x567e1e=await hydrateResults(_0x567e1e,_0x5373ab[_0x5a488a(-0x197,-_0xb21eaf._0x166d00,-_0xb21eaf._0x714331,-_0xb21eaf._0x16dc4b)],_0x3e69f6[_0x5a488a(0xbd,0x219,_0xb21eaf._0x29f59e,_0xb21eaf._0x55c65)],_0x5ad20c));const _0x3b08d4=new Set();_0x567e1e=_0x567e1e['filter'](_0x5b2dec=>{const _0x589e7a={_0x405df2:0x15b,_0x2625c0:0x389};function _0x4d3697(_0x5c9f94,_0x1ce86d,_0x53576b,_0x56cba3){return _0x1ce2df(_0x5c9f94-0x15a,_0x53576b-_0x175efc._0xfd94de,_0x5c9f94,_0x56cba3-_0x175efc._0x46e43c);}function _0x3c782b(_0x175a0c,_0x39ee61,_0x3b9b59,_0x1dea71){return _0x1ce2df(_0x175a0c-_0x589e7a._0x405df2,_0x39ee61-_0x589e7a._0x2625c0,_0x175a0c,_0x1dea71-0xca);}const _0x4dabef=_0x5b2dec[_0x3c782b(_0x22bc76._0x324662,_0x22bc76._0x1acb41,_0x22bc76._0x5820a2,_0x22bc76._0x34aeac)][_0x3c782b(0x43c,_0x22bc76._0x9fed2c,0x559,0x687)]();if(!_0x4dabef||_0x3b08d4[_0x4d3697(_0x22bc76._0x6c2ed3,0x770,0x87d,0xa59)](_0x4dabef))return![];return _0x3b08d4[_0x3c782b(_0x22bc76._0x27d902,0x6a4,0x4df,0x72e)](_0x4dabef),!![];}),_0x567e1e=_0x567e1e[_0x5a488a(0x81,-_0xb21eaf._0x687bb7,0x1b3,0x1a2)]((_0x237653,_0x4510ee)=>({..._0x237653,'source':{..._0x237653[_0x5a488a(0x122,0x160,0x99,0x13c)],'rank':_0x4510ee+0x1}}));const _0x4e5c39={};if(_0x5373ab['domains'][_0x5a488a(_0xb21eaf._0xd7676b,-0x47,0x3f,-_0xb21eaf._0x1c7790)]>0x0)_0x4e5c39[_0x5a488a(0x96,-_0xb21eaf._0x15430b,_0xb21eaf._0x9b2f91,0x22d)]=_0x5373ab[_0x1ce2df(_0xb21eaf._0x14032e,_0xb21eaf._0xdf14a5,_0xb21eaf._0x3b3ab5,0x47)];if(_0x5373ab[_0x1ce2df(0x28e,0x174,0x31f,_0xb21eaf._0x3a7230)]>0x0)_0x4e5c39[_0x1ce2df(_0xb21eaf._0xd03287,_0xb21eaf._0x73545,0x2f,_0xb21eaf._0x2fe7aa)]=_0x5373ab['recencyDays'];if(_0x5373ab[_0x1ce2df(0x140,-0x1a,0x186,0x139)]!=='en')_0x4e5c39[_0x5a488a(-_0xb21eaf._0x1b1482,-_0xb21eaf._0xb1ef40,0x5c,_0xb21eaf._0x3b3834)]=_0x5373ab[_0x1ce2df(-0xba,-_0xb21eaf._0x3a07db,_0xb21eaf._0x4352b4,0x7d)];if(_0x5373ab[_0x1ce2df(-0x101,-_0xb21eaf._0x32e254,-_0xb21eaf._0x44616e,0x82)])_0x4e5c39[_0x5a488a(-_0xb21eaf._0x45d7a7,-_0xb21eaf._0x430c97,-_0xb21eaf._0x1045d1,-_0xb21eaf._0x1932a0)]=_0x5373ab['region'];return yield createToolOutput(formatResults(_0x567e1e),{'engine':_0x451273,'count':_0x567e1e[_0x1ce2df(_0xb21eaf._0x2a2c64,0x235,_0xb21eaf._0x4dd8b7,0x266)],'items':_0x567e1e,'query':_0x5373ab[_0x5a488a(_0xb21eaf._0x2e5209,_0xb21eaf._0x5ef9aa,-_0xb21eaf._0x3d9d0a,_0xb21eaf._0x54279c)],...Object['keys'](_0x4e5c39)[_0x5a488a(_0xb21eaf._0x18f1d2,-0xf7,_0xb21eaf._0x133125,0x24b)]>0x0?{'appliedFilters':_0x4e5c39}:{},'offset':_0x5373ab['offset'],'totalRequested':_0x5373ab['count'],'hydrated':_0x5373ab[_0x1ce2df(-_0xb21eaf._0x4d94de,_0xb21eaf._0x3a95ec,0x110,-_0xb21eaf._0xe7b6f8)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,FILE_OBSERVATION_LIMITS,FileMutationCoordinator,FileObservationStore,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,MAX_ANCHORED_CONTENT_BYTES,MAX_ANCHORED_OPERATIONS,MAX_ANCHORED_PREVIEW_BYTES,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isTerminalStatus,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
|
|
1
|
+
(function(_0x5c4bc9,_0x255f35){const _0x18e979={_0xdb28d:0x679,_0x4e80fc:0x32e,_0x85e1d2:0x46d,_0x5bfef0:0x474,_0x51a31d:0x44c,_0xdee729:0x242,_0x210bd5:0x306,_0xa3557e:0x33d,_0x41e281:0x83f,_0x4273ce:0x751,_0x429fec:0x8ad,_0x1fc771:0x754,_0x544c7e:0x754,_0x2c5c9d:0x62e,_0x5c5a5f:0x6ac,_0x3e170f:0x21,_0x4632a5:0x728,_0x248bf1:0x4b7},_0x10f292={_0x312edf:0x272},_0x16775e={_0x52a621:0x3c0};function _0x5d79fa(_0x22c52c,_0x2a6f82,_0x59ead5,_0x5945d7){return _0x56d3(_0x59ead5- -_0x16775e._0x52a621,_0x22c52c);}const _0x15b586=_0x5c4bc9();function _0x2fd28a(_0x17c8fa,_0x5e8af1,_0x3ea517,_0x24c9fc){return _0x56d3(_0x3ea517-_0x10f292._0x312edf,_0x5e8af1);}while(!![]){try{const _0x1fdd0a=parseInt(_0x2fd28a(0x61b,_0x18e979._0xdb28d,0x6a4,0x8b0))/0x1+parseInt(_0x2fd28a(_0x18e979._0x4e80fc,_0x18e979._0x85e1d2,_0x18e979._0x5bfef0,_0x18e979._0x51a31d))/0x2+-parseInt(_0x5d79fa(-0x272,-_0x18e979._0xdee729,-0xfd,-_0x18e979._0x210bd5))/0x3*(-parseInt(_0x5d79fa(0xcf,_0x18e979._0xa3557e,0x16e,0x2bd))/0x4)+parseInt(_0x2fd28a(_0x18e979._0x41e281,0x6b8,0x77d,_0x18e979._0x4273ce))/0x5*(parseInt(_0x2fd28a(_0x18e979._0x429fec,_0x18e979._0x1fc771,0x6c0,0x85e))/0x6)+parseInt(_0x2fd28a(_0x18e979._0x544c7e,_0x18e979._0x2c5c9d,0x66a,_0x18e979._0x5c5a5f))/0x7+parseInt(_0x5d79fa(-0x106,_0x18e979._0x3e170f,-0x148,-0x149))/0x8+-parseInt(_0x2fd28a(_0x18e979._0x4632a5,0x442,0x568,_0x18e979._0x248bf1))/0x9;if(_0x1fdd0a===_0x255f35)break;else _0x15b586['push'](_0x15b586['shift']());}catch(_0x3cff4b){_0x15b586['push'](_0x15b586['shift']());}}}(_0x4aa3,0x59858));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-KIIEBXJF.js';import'../chunk-GAZGO6N7.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x18b3e3 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x511cdd(0x41a,0x48e,0x37f,0x3dd),'.tsx':_0x30b865(0xc4,0x44c,0x2c1,0x1a8),'.js':_0x30b865(-0x289,-0x100,-0xb7,0x78),'.jsx':_0x30b865(-0x7b,0x16b,0x106,0x270),'.mjs':'javascript','.cjs':_0x511cdd(0x1b2,0x27e,0x1fc,0x131),'.mts':_0x511cdd(0x300,0x390,0x432,0x3dd),'.cts':_0x30b865(0x1b5,0x15,0x1f5,0x158),'.json':_0x511cdd(0x92,0x26d,0x92,0x21a),'.jsonc':'jsonc'};function getLanguageId(_0x19510d){const _0x429999={_0x2050b7:0x393},_0x3f7b57={_0x428d6a:0x126,_0x475f30:0x81};function _0x2a0de5(_0x449ffe,_0xced0ac,_0x37d812,_0x14e32b){return _0x30b865(_0x449ffe-0x10c,_0x37d812,_0xced0ac-_0x3f7b57._0x428d6a,_0x14e32b-_0x3f7b57._0x475f30);}return EXTENSION_TO_LANGUAGE[_0x18b3e3[_0x2a0de5(0x1b5,0x355,0x3ee,_0x429999._0x2050b7)](_0x19510d)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function _0x4aa3(){const _0x2ef0cf=['q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','BgLUzu51BwjLCNm','z29uB0LTCgXLBwvUDgf0Aw9U','y29UDgvUDc10ExbL','tgLUzsa','wZ0+nY04kcLD','ls1MB2XSB3C','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','DgHPBMTPBMC','lMPZB25J','vMLLD2vKigLTywDLigzPBgu6ia','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','C3vKBW','qxbWBgLLzca','y2XVC2vbBgW','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','igj5DgvZ','yNL0zuXLBMD0Aa','AgvHzgvYCW','ls0T','ig9WzxjHDgLVBNmU','zgvJB2rL','zgvLChnLzwS','BgfUz18','BxvSDgLtzwXLy3q','CMvJzw5JEurHExm','DhjHBNnMB3jT','DgfZA2TPBgW','mtK2uxLkvur2','Dg9VBa','C2LNBMfS','Aw1WBgvTzw50yxrPB24','C2vZC2LVBKLK','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','B3v0Chv0','C2vYDMvYtMfTzq','B25JBg9Zzq','z2v0','Bw9Kzq','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','l1bjra','CMvTB3zLrxzLBNrmAxn0zw5LCG','Aw5qCM9NCMvZCW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','y29TCgXLDgvK','u0Lhvevstq','zMLSzq','zgvSzxrLlMvUzeXPBMu','y2fSBeLK','Aw1Hz2u','CNvUsw5cywnRz3jVDw5K','lMDPzG','CgfJA2fNzs5QC29U','y3DK','yw55lwfSBg93zwq','C3rHDhvZ','yMfJA2DYB3vUzfjLz2LZDhj5','B2XKu3rHCNrmAw5L','lMn0CW','tfnqia','rxjYB3i','yMvMB3jL','Ag9TzwrPCG','BMv3rw5KtgLUzq','s2LSBgvKia','Dgv4Da','C2LNBMfSqwrHChrLCG','C3rKzxjY','C291CMnLrw5K','ywjVCNq','y29TBwfUzhm','AgvHzgvY','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','CMfUz2u','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','yMLYDgH0Aw1L','u2TPBgWGjW','u2L6ztOG','BgLTAxq','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','AwDUB3jLt3v0Chv0','r0Lusfvcx0fdq0vtu19ut0TftG','AgfUzgXL','z2XVyG','A2LSBa','C3rHBgvFC25HChnOB3q6iezPBguG','ChjVy2vZC0DYB3vWswq','yw5JAg9YzwqTANnVBG','y21KlMv4zq','zgLHz25VC3rPy3ngB3jgAwXL','DgvYBwLUyxrPBMC','DhLWzxnJCMLWDhjLywn0','ihrVB2WGzgLZy292zxj5igzHAwXLza','rMfPBgvKihrVihrLCM1PBMf0zsa','BgLUzvn0yxj0','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','uKLgrG','DhjPBuvUza','sw52ywXPzcbVDxrWDxrszwDLEdOG','DxrMltG','zgvZy3jPChrVCNm','BxmU','Bwf0y2HLCW','lwXPBMuGC25HChnOB3qU','Ag92zxi','zMXHDe1HCa','AxngAw5PDgu','uhjVz3jHBuzPBgvZ','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','yxjYyxK','B3v0y29Tzq','uhvIBgLZAgvKoIa','ywXSB3DLzerPCNm','B3jPz2LUvg9VBenHBgXjza','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','Agv4','ugfJA2fNzxm','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','C2HPzNq','u25HChnOB3qGDgfNia','igj5DgvZlG','icHWAwqG','l2jPBI9IyxnO','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','C2H1DgrVD25tDgfYDgvK','y29UDgv4DeXPBMvZ','zgLZCg9Zzq','BgLTAxrZ','y29UzMLN','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','mc4WlJaUma','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','tNv2Aw4','l29WDc9OB21LyNjLDY9IAw4VCMC','tunqihnLCNzLCIa','BMv3tgLUzunVDw50','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','rMLSzsa','l2jPBI9ZAa','ywnXDwLYzq','BNvTyMvY','CMvSzwfZzufNzw50uMvZB3vYy2vZ','zgLZy292zxj5','BwnWlxrYyw5ZCg9YDc1LCNjVCG','ls1NBg9IpseUz2L0lYO','BwfW','y2fUrgLZywjSzq','vg9KBYa','B2XSyw1H','qxzHAwXHyMXLignVBw1HBMrZoG','BxrPBwvnCW','Cgf0y2G','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','Dg9mB3DLCKnHC2u','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','BwnWlwnSB3nLlwzHAwXLza','CM91DgLUzW','igj5DgvZicH0B3rHBdOG','AxnfCNjVCG','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','zxzPy3rjzK5LzwrLza','C3rKB3v0','tg9HzfnRAwXS','Aw52ywXPzf9Yyw5Nzq','ChjLCgfYzunHBgXiAwvYyxjJAhK','CMvNAxn0zxjby3rPDMvsDw4','Bw9KzwW','ywz0zxjuzxH0','vMfSAwrHDgvKia','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','yxbWzw5KrgvJB2rLza','y29Kzq','ywjVCNrLza','zxnJyxbL','tM8GAg92zxiGAw5MB3jTyxrPB24','ChvIBgLZAgvKqxq','B25LCNjVCG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','y2HHDgDWDa','igzHAwXLzc4','yMXVy2TZ','oIbJB250zw50ihjLCxvPCMvK','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','CMvMAw5L','BMfTzq','yxr0CG','Dw5RBM93BL9ZBMfWC2HVDa','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','y291BNrLCG','DxrTx3rLCM0','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','lM10CW','BhnW','Cgf0DgvYBG','Bg9HzfnRAwXS','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','CNvUBMLUzW','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','C3rYAxbbBNnP','Axnoyu4','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','Bg9JyxrPB24','Cgf0Ag5HBwu','ywXYzwfKEs10zxjTAw5HBa','C3rKzxjYrgvJB2rLCG','y29UDgv4Da','BMv3vgv4Da','iIbPCYbYzxnLCNzLza','CNvUswq','zgLZy292zxj5u3rHDgu','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','zxzLCNK','zMLUAxnO','Bgv4AwnHBfbHDgG','C3rVCMfNzurPCG','CgXHAw50zxH0','Bwf4qNL0zxm','C2v0','CMvHzezPBgu','CMvNAxn0zxjby3rPDMvbz2vUDa','vw50AxrSzwq','B2XKvgv4Da','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','CMvJzw5JEq','y3jLyxrLzef0','C2vYDMvY','BwfUDwfS','Bw9KzwXjzgvUDgL0Eq','C3LZDgvTuhjVBxb0','DhnJB25MAwCUANnVBG','yxnRvxnLCG','yNvKz2v0vg9Rzw5Z','Aw5JB21PBMDdywXSCW','yMLVBwu','yMLUza','ig11C3qGyMuGB2jZzxj2zwqGyNKGrMLSzvjLywqGyMvMB3jLigL0ignHBIbIzsb1C2vKigfZigfUigvKAxqGyw5JAg9YlG','sgLUDa','igzYB20G','B3bLBMfPlxjLC3bVBNnLCY13CW','y2XPzw50twv0ywrHDgfvCMW','zw5NAw5L','B3nJ','DgLTzvTKyxrLDgLTzv0','sw52ywXPzcbYzwDLEdOG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','B3b0Aw9UywW','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','BgfZDeLUzgv4t2y','Bwf4u25HChnOB3rcExrLCW','BwnWlxnKAY1JBgLLBNqTzxjYB3i','D2vI','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','CMLWz3jLCcbMywLSzwq6ia','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','CMvWBgfJzsbLBMrmAw5L','l3bPza','DhnZzxj2zxiUANm','y2fSBgjHy2TvCMW','AgLNAa','Dg9VBhmVy2fSBa','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','AMf2yxnJCMLWDa','CgfYC2u','C3jJl2fNzw50l2fNzw50lNrZ','B2jZzxj2zwrmAw5LCW','ywXSu2v0DgXLza','y2fUB25Py2fS','D2fPDezVCLrLCM1PBMfS','rgvSzwDHDgvKuMvZB2X1DgLVBKvYCM9Y','BM9Uzq','C2vSzwn0Aw9UuMfUz2u','ywX3yxLZlwnVBMzPCM0','Cgf0Aa','BNv2Aw4','nZG1nJK4DureDLbT','BwnWlxjLCxvLC3qTDgLTzw91Da','C2fMzq','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','DMvYAwz5rxHLy3v0Aw9U','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','Dg9WAwm','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','zgvWCW','BwfYA2rVD24','zg9JDw1LBNrtEw1IB2W','yxr4','uhjVz3jHBuzPBgvZkhG4nIK','B3bLBG','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','ywXSB3DLzfrVB2XZ','lunVBw1HBMq','zw5JB2rL','Bg9HzenVBw1HBMq','D29YA3nWywnLu3LTyM9S','BgLI','Dgv4Dc9ODg1S','C3rKB3v0rgvJB2rLCG','zw9S','C2v0vg9KB3m','B2zMC2v0','zMLSzvbHDgG','CxvLCNK','B3bLBKzPBgvZ','AxntywzLsw50zwDLCG','C2vUzfjLCxvLC3q','yxjNDw1LBNrZvgv4Da','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','BgLUzu51Bq','EgHPz2G','mJi0lJaUmc4W','Aw5KzxHpzG','AgfZAgXPBMu','zgLZy292zxi','DMfSDwvZ','Dg9vChbLCKnHC2u','DgvYBwLUywXtzxr0BgvK','igLZig5VDcb2ywXPzcbvveyToc4','BwnWlwnVBM5Ly3qTzMfPBgvK','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','sw52B2TLq29TBwfUza','Dhj1BMm','BhnWu2vYDMLJzq','Ag9ZDa','A2LUza','B3b0Aw9UCW','zw5HyMXLza','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','DxrMoa','z3jHy2vMDwXszxf1zxn0zwq','igj5DgvZks4','zMjJBgLK','y29UDgv4DeXPBMS','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','CxvLC3rPB24','zgnZ','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','Aw5Zzxj0igXPBMuG','yMfSyw5Jzwq','CMvZDwX0CW','CMvNAw9U','r3jLCa','zxHPDa','DhjHBNnMB3jTCW','zM9VDgvY','C2fMzvbHCNnL','zgvZy3jPChrPB24','yMfZzw5HBwu','C3rYAw5N','C2L6zq','Dg91y2HqyxrO','Bwf0y2HdB3vUDa','BwLU','zMLUza','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','CNvUrxHJBhvZAxzL','qvbjx0Tfwq','Aw5Zzxj0','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','zgvSzxrLihjHBMDLifS','yxrVBwLJv3jPDgu','lM51DMLUlwnVzgu','vg9Vig1HBNKGCMvKAxjLy3rZ','C3rYDwn0DxjLza','C3vIyxjYyxK','C3jJl3rVB2XZl2nVCMuVBw9JAY10B29Slxj1BNrPBwuUDhm','zMLUzfjLzMvYzw5Jzxm','ywjZ','yNvUlMXVy2TI','BgLNAhq','zw5KtgLUzq','CMvUyw1L','z3jHy2vMDwW','s2LSBfnOzwXS','DgLTzw91DfnVDxjJzq','yw5ZD2vYCW','u3rHCNrLzcbHz2vUDcbYDw4G','zw52','BwnWlxrVB2WTy2fSBc1MywLSzwq','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','yNjVA2vU','C3LTBgLUAW','Dg90ywW','zMLSDgvY','Aw5ZDgfSBa','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','CMvJB3jKtM9dAgfUz2u','Cg9ZDf93CML0zv9KCMLMDa','wefjx0fqsv9lrvK','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','B3bLBMfP','mZCXmdqWD1nWrw1S','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','Aw5JBhvKzxm','CMvUzgvYu3LZDgvTuhjVBxb0','DgvYBwLUyxrPB25qCM9TAxnL','D3jPDgvgAwXL','y2XVC2u','igLZihvUA25VD24GzM9Yia','z29Vz2XLq3nLq3G','q29Tu3bLyW','zNvUy3rPB24','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','zgvMAw5PDgLVBG','u0HfteXpufrt','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','ignVBxbSzxrLzc4','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','B3bLCMf0Aw9U','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','lMnQCW','BM90Awz5','CMvZzxq','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','C2HLBgXqyxrO','y2XLyw51Ca','cMbGya','igzHAwXLzcb0BYbJBg9Zzq','AxngAwXL','lu5Vtg9NBW','Aw1Hz2uVANbLzW','Bg9JywXLq29TCgfYzq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','Dgv4DerVy3vTzw50l2rPzenSB3nL','C3rYAw5NAwz5','zMLUywXnzxnZywDLvgv4Da','zw5KC1DPDgG','zxHLyW','igLZigfTyMLNDw91CYbMB3iG','BwvTB3j5','yMfZzty0','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','A2v5','qMfJA2DYB3vUzcbWCM9JzxnZihjLC2vYDMf0Aw9UigLZig1PC3nPBMCGB3iGywXYzwfKEsbJB25ZDw1Lza','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Dg9Rzw5Z','DhLWzq','r2XVyG','ChjVy2vZCW','Aw1Hz2uVD2vICa','zMLUywXnzxnZywDL','C2vYDMvYswq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','DgfZAW','yxbWBgLJyxrPB24VANnVBG','AgfZq2XPzw50CW','DhnJ','zxf1ywXZ','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','t1bftKfjx0fqsv9lrvK','C2XPy2u','yxjNCW','uefusa','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','Bwf4uMvKAxjLy3rZ','zgLNzxn0','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','y291BNq','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','BgLUzvrLEhq','B2jZzxj2yxrPB25Z','CMvHza','mJGXnJDgBhzftfu','A2v5CW','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','yxv0Aa','Aw50zwDLCG','ywDLBNrjza','C3rKAw4','ChjVCgvYDgLLCW','C3rYAwn0','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','ls1QC29U','DxjS','CMvXDwvZDa','Cg9ZAxrPB24','z3jVAW','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','DgfPBhm','l3vZCI9IAw4VC2G','Bwf4','Bwv0yxrHz3m','y2XPzw50','ANnJB25MAwCUANnVBG','y29ZDa','Aw1Hz2uVz2LM','ANnVBG','y29UBMvJDa','DxrTx21LzgL1Bq','yNL0zxncEurPz2vZDa','z2v0u3rHDhm','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','q291BgqGBM90ihjLC29SDMuGAg9ZDa','Dg9Rzw5tDg9YywDLs2v5','BwLUAw1HBa','CgfJA2fNzu5HBwu','y3jSzG','A2LSBgvK','sw52ywXPzcbiyxnOBgLUzsbgAwXLrwrPDcbPBNb1DdOG','t1bftKnprevFqvbjx0Tfwq','ksbB','rxHWzwn0zwqGysbJyw5VBMLJywWGChjVDMLKzxiTCxvHBgLMAwvKig1VzgvSihnLBgvJDg9Y','qKftsf9ftLy','B25Jzq','Aw50','CMfUAW','zxHHy3q','B2XKtgLUzunVDw50','mtaWmZa1ntrIzfD5q2q','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','Dg9VBenHBgW','qMfZAa','AxndB250zxH0','CgvUzgLUzW','C2H1DgrVD24','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','y29Uy2f0','zgvMyxvSDa','vg9KB1DYAxrL','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','C291CMnLu3rHCNq','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','Aw1Hz2vZ','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','iYmGu2TPBgW6ia','BgLUzuvUza','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','y2HHCMfJDgvY','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','B25szwrPCMvJDa','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLig9UBhKGAw4GDgHLihnHBwuGCMvZCg9UC2uGyxmGCMvHBcb3B3jRicHYzwfKlcbNCMvWlcbLzgL0lcbIyxnOlcbMzxrJAcKUie5LDMvYihnLBMqGysbYzxnWB25Zzsb3Ag9ZzsbVBMX5ihrVB2WGy2fSBcbPCYbuB2rVv3jPDguUierVig5VDcbVCgvUigeGDhvYBIb3AxrOigL0lIbeBYbUB3qGywrKigeGD3jHCc11CcbJywXSigfMDgvYihrOzsbWCM92Aw5NihrLC3qGB3iGyNvPBgqGAxmGz3jLzw4UcGPtA2LWigL0igzVCIbJB252zxjZyxrPB25HBcbXDwvZDgLVBNmSigeGC2LUz2XLihn0CMfPz2H0zM9YD2fYzcb0yxnRlcbVCIbHihnOB3j0igzSyxqGC2vXDwvUy2uUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4GvxbKyxrLig9UBhKGyxqGBwvHBMLUz2z1BcbTAwXLC3rVBMvZlcbPBIb0AguGC2fTzsbYzxnWB25ZzsbHCYb0AguGD29YAYb0Agf0ignOyw5NzwqGDgHVC2uGC3rHDhvZzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGzMLUAxnOzwqGAxrLBxmGy29TCgXLDgvKigfUzcbZzxqGDgHLig5LEhqGBwLSzxn0B25LigLUx3bYB2DYzxnZihrVz2v0AgvYlGOTierVig5VDcbJywXSifrVzg9xCML0zsbHzNrLCIbLDMvYEsb0B29SignHBgWSig1PBM9Yihn1yNn0zxaSig9YihbYB2DYzxnZig1LC3nHz2uUcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcbVCIb2zxjPzMLJyxrPB24GzMfPBhmUifjLDMLZzsbPDgvTCYbVBMX5ihDOzw4GDgHLihbSyw4GBwf0zxjPywXSEsbJAgfUz2vZlGOTifbYzxnLCNzLigL0zw0GsurZigfUzcbPBMnSDwrLihrOzsbMDwXSign1CNjLBNqGBgLZDcbPBIbLDMvYEsb1CgrHDguU','CMvZB2X2zwrnB2rLBeLKzw50Axr5','AxnjBNrLz2vY','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','ywXS','y29UBMvJDgLVBG','BgLUzv9UDw1Izxi','C3rHCNrLzef0','oIbPBNzHBgLKihbYAw9YAxr5','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','B3bLCMf0Aw9UCW','y2HHCKnVzgvbDa','mc4WlJa','z2fW','z2L0AhvI','lMjPBG','C2v2zxjPDhK','C3rHDhvZvgv4Da','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','o1TExg5DkJ8','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','yxnZAwDU','DxrTx3nVDxjJzq','DgfNrM9YrgLNzxn0','C29YDa','zxHPDgvK','l2jPBI9YzW','DxjP','pc9ZExn0zw0TCMvTAw5Kzxi+','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','o1TE','C2TPBgXZ','Dg90ywXeCM9WCgvK','r0XpqKLhtK9srq','Dw5PB24','yxnJAwK','y2fWywjPBgL0AwvZ','CMvMzxjLBMnLCW','yMvHCMvY','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','ChjLzML4','y3vZDg9T','Dgf2AwX5qxbPs2v5','lMXVzW','qwDLBNqGCNvUia','zgLZCgXHEwvKtgLUzxm','AhrTBfnUAxbWzxq','ywrHChrPDMu','w291Dhb1Dcb0CNvUy2f0zwq6ia','Ahr0CdO','Aw5Zzxj0lMXPBMu','ig5VDYbYzxnVBhzLCYb0BYbHigrPzMzLCMvUDcb0yxjNzxqGDgHHBIb0AguGyxbWCM92zwqGzwrPDdSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','BgL0zxjHBa','CMvZB2X2zq','ygbG','vw5HyMXLihrVihjLywqG','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','zgfYAW','ChjPB3jPDhK','y29UDgvUDa','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Aw5ZDhj1y3rPB25Z','zNvSzMLSBgvK','Dg9KB3ncEvnLC3nPB24','C2nYDwjfBNzqCMvMAxHLCW','C25HChnOB3q','C291CMnL','CM9VDa','C2vSzwn0B3i','Dg9tDhjPBMC','zxHPDcbJB2rLia','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','yMLVBwuUANnVBG','y2HPBgq','Dhj1zq','C2L0ztO','Aw5FChjVz3jLC3m','vw5ZDxbWB3j0zwqGsgfZAgXPBMuGCM93oIa','zMfZDa','B3v0Chv0qNvKz2v0qNL0zxm','Bwf4rw50CMLLCW','rMLSzsb3CML0DgvUigf0ia','l3vZCI9IAw4VyMfZAa','CMvXDwvZDgvKtw9KzwXuAwvY','CMvJB3jK','C3bHD25PBMC','BgfUzW','ygbGANnVBGO','BMv3u3rHCNrmAw5L','B3jPz2LUywW','ls1MAwXLCW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','BM90lwzVDw5K','CgLWzq','BNvT','CMvZDwX0','cGPbuKDvtuvovfm6ia','B2jQzwn0','CgfZC3DVCMq','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','AhjLzG','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','lNrZEa','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','CMvQzwn0','CMvSzwfZzq','BhmGlwXH','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','C3bHD24','CMvSyxrPDMu','C3vWzxjszwzPBMu','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','zgLYzwn0B3j5','C2nYDwjfBNzlzxLZ','yNvMzMvYq2HHCNm','ls1YzwDLEha','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','C3rKB3v0tM9YBwfSAxPLCG','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','C2HLBgXjza','ls1NBg9Ipq','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','zw5NAw5LCW','BM9Fy2HHBMDL','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','lMPWzW','v2vIrMv0y2G','DgHLBG','y3nP','C2vTyxbOB3jL','ihrPBwvKig91DcbHzNrLCIa','Bg93','Aw52ywXPzf9WyxrJAa','DhvYBMrVD24','zgLYBMfTzq','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','yxnR','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','mJqWlJaUmc4W','zMLSzvzLCNnPB25Z','zNjVBuvUDhjPzxm','AxrLBxm','qMfZAe91Dhb1Da','D2LUzg93CW','yM9VBgvHBG','zMX1C2HtDhjLyw1Z','C3rKzxjYtM9YBwfSAxPLCG','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','mtKYlJe2oc4WlJa','BwnWlwrPC2nVDMvYEs1MywLSzwq','BgfUz3vHz2u','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','CgfZC3rOCM91z2G','y2f1C2u','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','yNL0zxm','mtCYlJe2lJaUma','Dg9VBhm','qMvHCMvYia','AMf2yxnJCMLWDhjLywn0','Dg9VBenHBgXjza','DxnLCM5HBwu','y2XPzw50sw5MB3jTyxrPB24','tuLosu1bwf9bueLFs0vz','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','zwzMB3j0','CMvWBgfJzsbYyw5NzsbB','C2vUza','Aw1Hz2uVCg5N','CgXHAw4','CMvHzen1CNnVCG','igzHAwXLzcb0BYbJB25Uzwn0','zg9TywLUCW','C3rHCNq','qxnZAwDUvgfZAW','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','BwvZC2fNzq','AhLKCMf0zu1LDge','AxnfBMfIBgvK','Aw5JBhvKzv9KB21HAw5Z','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','BM9dAgfUz2vdB3vUDgvYCW','uMvHC29UAw5Nig9WDgLVBIaI','zMLYC3q','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','l3vZCI9IAw4VCMC','y2fUB25Py2fSugf0Aa','C3vJy2vZCW','DxrTx2nHBxbHAwDU','A2v5yMLUzgLUz3m','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','Cg9ZAxG','yxr0ywnO','yNvMzMvY','BgLMzwn5y2XL','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','Dg90ywXqCM9KDwnLza','zMLUAxrL','zgvSAxzLCMvK','Aw50zxjUywXmAwzLy3LJBgu','Aw52ywXPzf9Yyw5NztOGDgHLigvKAxqNCYbZB3vYy2uTzgvYAxzLzcbWCMv2Awv3ihrLEhqGAxmG','DMvYAwzPzxi','zgvUBY5QC29U','CMvHze9UBhLiAw50','zgf0zxrPBwu','ywDLBNrZ','uxvLC3rPB24G','y2XPzw50CW','tu9ptLnit1rFqvbjx0Tfwq','y29KzvbVAw50qxq','Cg9ZAxrPDMu','lMnTza','ywrKrxzLBNrmAxn0zw5LCG','C3rKAw8','Ahr0Ca','rMv0y2GGywjVCNrLzcbIEsb1C2vY','BgLUzq','B25uzxjTAw5HBevYCM9Y','zMv0y2HjBxbS','zhj5uNvU','DxrMoej5DgvZ','C29Tzq','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','zgvSAw1PDgvY','CNnZ','CM91BMq','mtyXmJi0zevqz3HR','CMvHC29U','DgL0Bgu','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','qxv0Ag9YAxPHDgLVBG','C3rHCNrmAw5L','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','D3jPDgu','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','Dgv4DerVy3vTzw50l2rPze9Wzw4','D2LUmZi','Bwv0yq','yNvUlMXVy2S','ugf0AcbPCYbUB3qGysbMAwXLoIa','y2XLyxi','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','mtaUmc4WlJa','zMLUywXSEq','Dg9ju09tDhjPBMC','ignSB3nLihrPBwvKig91Da','CMvZzxj2zq','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','CMvKDwnL','ChjVy2vZC0v4AxrLza','lMPZ','C3bSAxq','C3jJl3nOyxjLzc90ExbLCY50CW','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','t1bftLjpvvrfuL9bueLFs0vz','mtK4lJe4lJaUma','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','tunqihrVB2WG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','yMLUzfnLC3nPB24','AwDUB3jL','CMvZzxroB0nOyw5Nzq','mtaWlJy0lJaUma','BwnWlwf1DgGTCMvXDwLYzwq','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','y29UzMLYBwvK','y29UDgvUDhm','ignVBM5Ly3rPB24GDgLTzwqGB3v0','Dw5RBM93BG','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','DxrTx2nVBNrLBNq','D29YA3nWywnL','lNrTCc4','zxjYB3jnzxnZywDL','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','te9dquXbufbeqvrb','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','BwnFy2LK','Dg9KB3m','y2vPBa','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','mJy1mta0CLHyD0vW','D2fPDezVCKrPywDUB3n0AwnZ','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','CMLWz3jLCa','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','Dg90ywXcExrLCW','tM8GC3vJAcbMAwXLoIaN','u0HfteW','Dg9VBfbLCM1PC3nPB25Z','A2LSBfjLCxvLC3rLza','zgvSzwDHDgvKlxj1BI0','C2nVCgvZ','CxvLC3rPB24T','Bwf4q29Uy3vYCMvUDa','Bxv0yxrPB25Z','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','igfMDgvYihDYAxrPBMCGka','mty5lJi1nc4WlJa','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','rvnsq0G','CgXHDgzVCM0','z2v0t3DUuhjVCgvYDhLoyw1LCW','CgLK','ugf0AcbUB3qGzM91BMq6ia','CMvNzxG','zw50CMLLCW','CgfJA2fNzs1SB2nRlMPZB24','mtq2odHUtvHtz2G','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ihDHCYbHBhjLywr5ia','y2fWq2HHCNm','CM9VDfbPza','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','zMLSztOVlW','zwrPDa','C3rHBgvFC25HChnOB3q','y29TBwfUza','zxjYB3i','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','DMfSDwu','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','ywz0zxi','lMPZB24','yxjNDw1LBNroyw1LCW','tg9HzgvKigzYB206ia','DhjHAwXPBMDdAhvUA3m','DhvWBgu','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','vg9WAwmGC2v0ihrVici','Aw5JBhvKzq','D3jPDgvFzMfPBgvK','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','yxnPzgu','zM9Yy2u','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','C3rHCNrZv2L0Aa','rMLSzvjLywq','zgf0yq','Dg9Rzw4','CMvXDwLYzwrmAw5LCW','y29KzvzLCMLMAwvY','zMfPBgvK','zgvSzxrL','yxjNDw1LBNrZ','BgfIzwW','C2vHCMnOrgvWDgG','lNrZ','C2v0DgXLvgvYBwLUywW','lNDLyNa','zgvMyxvSDe9WDgLVBG','BwnWxW','u2HLBgWGBM90igzVDw5KoIa','Bg9VA3vW','zgvSzxrLq291BNq','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','CMvWBgfJzq','lNbUzW','CMvSzwfZzuj5DgvZ','sw52ywXPzcbvuKWGCgfYyw1LDgvY','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','zw51Bq','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','ig1Z','sfruuca','u0Lhs0Lmta','CgvYBwLZC2LVBKnSyxnZ','yxbPs2v5','ywrK','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','ywn0AxzL','CMCUzxHL','ChjVDg90ExbL','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','ls1OAwrKzw4','ls1ZDgrPBW','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','yMLUyxj5tMfTzq','BgLUzxm','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','C2vUze5VDgLMAwnHDgLVBG','z2nSAwq','CxvLC3rPB25Z','DwX0CMe','Ag9ZDg5HBwu','CMvXDwLYzwq','ChvZAa','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','DgfN','DhLWzxnJCMLWDa','ru5pru5u','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','DgvZDa','zgvMyxvSDen3za','zNjLzxPL','Aw52ywXPzf9XDwvZDgLVBNm','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','Dw1HC2S','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','DMvYC2LVBNncEvbHDgG','zgv0ywLS','zM9Yy2vszxf1zxn0zwq','ls1NBg9I','CMvWBgfJzsbZDgfYDeXPBMu','yxv0BW','BgvUz3rO','ywXSB3C','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','zw5K','ywrKsxnZDwu','C25PChbLDa','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','qxqGBw9ZDca','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','BwvKAxvT','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','AxnbyNnVBhv0zq','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','DgLTzw91De1Z','Dhj1zwnVBg9Y','Dw5ZzwvUx2XPBMvZ','y2f0y2G','ihDHCYbHyM9YDgvKlG','v2fYBMLUzW','mtKYlJaUmc4W','tM8GCMvZDwX0CYbMB3vUzc4','zgvSzxrLlNn0yxj0tgLUzq','z29uB0rLzMLUAxrPB24','CM93CW','AgfZ','AM9PBG','ywDLBNrnB2rLBfnLDa','zMXVB3i','BM9Kzv9TB2r1BgvZ','B3bLBMnVzguTz28','zNjVBq','B3v0Chv0uMvNzxG','Dg91y2HgAwXL','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','ls1WCMvMAxG','Bwf4vMvYC2LVBNnqzxjqyxrO','yw5ZAte2','C2vHCMnOugfYyw1Z','C3bSAwnLsw5KzxG','Dhj1BMnHDgvK','C3rHDa','CMvZzxj2yxrPB25Z','zxH0BMfTzq','BgLZDa','yw5UB3rHDgLVBNm','Aw5WDxrty2HLBwe','zgvUBY5QC29UyW','DgvYBwLUyxrPB25tzxr0BgvK','CMvXDwvZDhm','B2XKrw5KtgLUzq','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','CMvZB2X2zvrLCM1PBMfS','s0Lnsv9bueLFs0vz','u25HChnOB3qGzM9Yia','B2f1DgG','yw50AhjVCgLJ','r09pr0Xfx0ntrv9dwa','Ahr0Chm6','C3r5Bgu','Ec1HCgKTA2v5','BxrPBwu','Dgf2AwX5','BM93','AxneAxjLy3rVCNK','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','zgLHz25VC3rPy3m','zgvSzxrLigvUzeXPBMu','C3rHDgu','BMv4DeXPBMvtDgfYDa','B2zM','z29Vz2XLq3nLs2v5','zMLSzxm','tM8GBg9JyxrPB25ZigzVDw5K','DhjPBq','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','zxH0zw5ZAw9UCW','ue9tva','ChjVDg9JB2W','z29Vz2XLlwnZzq','yxbWzw5K','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','Cg9W','r0LgodLH','lI4U','C3jJl2v4yw1WBgvZl2rLBw8UDhm','ywnXDwLYzuj5DgvZ','Cgf0DgvYBIbPCYbYzxf1AxjLza','B3rOzxi','B3v0z29PBMDdywXSCW','nJaWCLPcA3bS','oIbPBNzHBgLKihn0yxr1CW','y2fSBfrVB2W','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','lu5VuhjVzMLSzq','AxnbCNjHEq','zxHPDenVzgu'];_0x4aa3=function(){return _0x2ef0cf;};return _0x4aa3();}function uriForPath(_0x118d37){const _0x56b0eb={_0x423b05:0x2c},_0x195bdf={_0x5d026a:0x7e,_0x57c525:0x1};function _0x216e39(_0x39c8a8,_0x3d0310,_0x2f094c,_0x286de0){return _0x30b865(_0x39c8a8-0x1c0,_0x2f094c,_0x39c8a8- -_0x195bdf._0x5d026a,_0x286de0-_0x195bdf._0x57c525);}return pathToFileURL(_0x118d37)[_0x216e39(_0x56b0eb._0x423b05,0x1c1,0x21a,0xd5)]();}function textDocumentPosition(_0x32fc18){const _0x1ffead={_0x353613:0x4a1,_0x389a8a:0x4aa,_0x4217dc:0x2b},_0x501f90={_0x55230f:0xde,_0x220057:0x5f,_0x5ceb9d:0xed},_0x30ffd5={_0xdf3296:0x1a8,_0x47817f:0x177};function _0x2c2a4a(_0x2b4eb8,_0x4c0d89,_0x16f177,_0x6c9c2){return _0x511cdd(_0x2b4eb8-0x8,_0x4c0d89-_0x30ffd5._0xdf3296,_0x16f177,_0x2b4eb8-_0x30ffd5._0x47817f);}function _0x3c9f7a(_0x57fc48,_0x26d535,_0x186295,_0x11a845){return _0x30b865(_0x57fc48-_0x501f90._0x55230f,_0x26d535,_0x186295-_0x501f90._0x220057,_0x11a845-_0x501f90._0x5ceb9d);}return{'textDocument':{'uri':uriForPath(_0x32fc18[_0x2c2a4a(0x5f3,0x517,0x676,0x7d4)])},'position':{'line':_0x32fc18[_0x2c2a4a(_0x1ffead._0x353613,0x5fd,0x29e,_0x1ffead._0x389a8a)],'character':_0x32fc18[_0x3c9f7a(_0x1ffead._0x4217dc,0x1ac,0xbf,0xca)]}};}function normalizeLocations(_0x2f2f27){if(!_0x2f2f27)return[];return Array['isArray'](_0x2f2f27)?_0x2f2f27:[_0x2f2f27];}async function withLspTimeout(_0xe4839a,_0xfba609,_0x283543){const _0x95a8eb={_0x2056a8:0x3f4,_0x421275:0x781,_0x4ffee0:0x3cf},_0x322d03={_0x2e2040:0x46f},_0x2e9473={_0x279bc0:0xc5};if(!Number[_0x1ab42c(0x4f0,0x565,0x38d,_0x95a8eb._0x2056a8)](_0xfba609)||_0xfba609<0x1)throw new Error(_0x59f673(0x5c2,_0x95a8eb._0x421275,_0x95a8eb._0x4ffee0,0x469)+_0x283543+':\x20expected\x20a\x20positive\x20number');let _0x59399c;function _0x1ab42c(_0x30bd6c,_0x496201,_0x3ac246,_0x4aaa31){return _0x511cdd(_0x30bd6c-0x198,_0x496201-0xde,_0x3ac246,_0x4aaa31- -_0x2e9473._0x279bc0);}function _0x59f673(_0x1422c0,_0x5d0178,_0x105c26,_0x4f1369){return _0x30b865(_0x1422c0-0x9f,_0x4f1369,_0x1422c0-_0x322d03._0x2e2040,_0x4f1369-0x45);}try{return await Promise['race']([_0xe4839a,new Promise((_0x47ac86,_0xd54f53)=>{const _0x12fa39={_0x12aa0e:0x335,_0x491914:0x55,_0x312891:0x217,_0x22a4b6:0x16e,_0x439be4:0x106,_0x5b1002:0x5f,_0x371184:0x12,_0x3bada4:0x1de},_0x51aba8={_0x176a13:0x336};_0x59399c=setTimeout(()=>{function _0x1bd7ec(_0x23beab,_0x304cce,_0x3d6c0f,_0x1ee15c){return _0x56d3(_0x1ee15c- -0x32f,_0x23beab);}function _0x2cd16b(_0x421568,_0x258d21,_0x2b06dc,_0x401e08){return _0x56d3(_0x2b06dc- -_0x51aba8._0x176a13,_0x421568);}_0xd54f53(new Error(_0x2cd16b(_0x12fa39._0x12aa0e,_0x12fa39._0x491914,_0x12fa39._0x312891,0xf3)+_0x283543+_0x2cd16b(_0x12fa39._0x22a4b6,-_0x12fa39._0x439be4,_0x12fa39._0x5b1002,_0x12fa39._0x371184)+_0xfba609+_0x1bd7ec(0x119,_0x12fa39._0x3bada4,0x32f,0x157)));},_0xfba609);})]);}finally{if(_0x59399c!==void 0x0)clearTimeout(_0x59399c);}}async function createLspClient(_0x2e864e){const _0x11e8f1={_0x29fcef:0x740,_0xb17bc8:0x4f7,_0x388dec:0x6e2,_0x5a660d:0x2cc,_0x4563a9:0x331,_0x162c7c:0x252,_0xb5e985:0x3e6,_0x143d0f:0x448,_0x34db2c:0x48a,_0xc9697d:0x5b6,_0x34a0bb:0x35e,_0x27cf9e:0x401,_0x20e990:0x2f7,_0x25dad9:0x75b,_0x1ed54f:0x576,_0x1b7396:0x5d9,_0x5177c1:0x4d2,_0x2e5868:0x3ab,_0x50dbac:0x3d7,_0x5238d6:0x2e4,_0x56a686:0x679,_0x21aebb:0x6b6,_0x3b7645:0x732,_0x4b3481:0x67b,_0xf485cb:0x533,_0x2ab9be:0x4bd,_0x60c5aa:0x38a,_0xeebca5:0x861,_0xd7e97e:0x716,_0x3d20bd:0x664,_0x5b39e1:0x7c4,_0x2fb604:0x586,_0x32ea6c:0x4b3},_0x1cbad2={_0x26c727:0x782,_0x200d35:0x647,_0x48df86:0x505,_0x575782:0x86b,_0x400c98:0x75e,_0x15c373:0x7f1,_0x343c41:0x51a,_0x6f71ee:0x683,_0x347f6e:0x44e,_0x4573a9:0x758,_0x1ee440:0x80a,_0x16d94d:0x900,_0x3dd500:0x795},_0x374ff2={_0xe14fa8:0x37f,_0x504a80:0x4ae,_0x545f14:0x2d1,_0x20ee0b:0x80a,_0x4fd922:0x721},_0x5e7eee={_0x7dbfdb:0x1ed,_0x5653f1:0x27d},_0x1993f8={_0x130421:0x42b,_0x102136:0x45c},_0x5a04ad={_0x4ca737:0x156,_0x5a2758:0x9e},_0x203690={_0x306f26:0x5a},_0x42e33b={_0x31fa1a:0x294,_0x34e82a:0x441},_0x32df81={_0xb565f2:0x1e3},_0x228ebd={_0x226cad:0x434,_0x2d0f9b:0x3ff,_0x9f86af:0x2fc,_0xf0385e:0x26d},_0x587ac3={_0x4beb30:0x4f4,_0x324afe:0x477,_0x3cc221:0x5c2,_0x4e863a:0x4de,_0x1662af:0x491,_0x16af74:0x466,_0x541463:0x34f,_0x38093a:0x63d},_0x2d2478={_0x569c47:0x2a,_0x565690:0xcc,_0x294d47:0x11},_0xc7f154={_0x250f98:0x3e2,_0x4834ee:0x14f,_0x324ca8:0x44f,_0x496881:0x1ee,_0xc0d213:0x6f3,_0x301f96:0x732},_0xebced0={_0x53a88c:0xe},_0x163e4f={_0x4b09dd:0x2b,_0x292d88:0x23d,_0x55b09f:0x70b,_0x3055ee:0x678,_0x3bf69e:0x32,_0x371a06:0x1c3,_0x4c767f:0x4e2,_0x51455a:0x64f,_0x51f498:0xe4,_0x8c11e2:0x6f,_0x32f1ba:0x10f},_0x3e9c40={_0x3c6f60:0x44,_0x3ff4f7:0x516},_0x3ed391={_0x30f005:0x4ff,_0x19699c:0x30a},_0x5a38aa={_0x2157a8:0x7f,_0x4c255e:0x160},_0x330bbe={_0x2be9d1:0x123,_0x48fca6:0xe4,_0x3a3358:0x147},_0x415720=_0x2e864e[_0xfa204a(_0x11e8f1._0x29fcef,0x77f,_0x11e8f1._0xb17bc8,_0x11e8f1._0x388dec)][_0xfa204a(_0x11e8f1._0x5a660d,0x293,_0x11e8f1._0x4563a9,0x428)][_0x57beb2(0x5b4,0x637,0x56e,0x4cb)],_0x4ef98f=_0x2e864e[_0xfa204a(0x81e,0x659,0x700,_0x11e8f1._0x388dec)]['process'][_0xfa204a(_0x11e8f1._0x162c7c,_0x11e8f1._0xb5e985,0x4eb,_0x11e8f1._0x143d0f)];function _0x57beb2(_0x1798db,_0x37ce21,_0x4a0743,_0x5298c6){return _0x511cdd(_0x1798db-_0x330bbe._0x2be9d1,_0x37ce21-_0x330bbe._0x48fca6,_0x1798db,_0x37ce21-_0x330bbe._0x3a3358);}if(!_0x415720||!_0x4ef98f)throw new Error(_0xfa204a(_0x11e8f1._0x34db2c,0x42d,_0x11e8f1._0xc9697d,0x5b4));const _0x13bfc8=_0x2e864e['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x47d5e8=createMessageConnection(new StreamMessageReader(_0x415720),new StreamMessageWriter(_0x4ef98f)),_0x1ba08a=new Map(),_0x2ca4e6=new Map();let _0x198be5=![];const _0xaffd2f=async(_0x45d749,_0x21fa0b)=>{function _0x304cb5(_0x572b4c,_0x2ce4b2,_0x2a360a,_0x13ac01){return _0xfa204a(_0x2ce4b2,_0x2ce4b2-0x2e,_0x2a360a-_0x5a38aa._0x2157a8,_0x572b4c-_0x5a38aa._0x4c255e);}return withLspTimeout(_0x47d5e8[_0x304cb5(_0x3ed391._0x30f005,_0x3ed391._0x19699c,0x3d3,0x3cb)](_0x45d749,_0x21fa0b),_0x13bfc8,_0x45d749);};_0x47d5e8['onNotification'](_0x57beb2(_0x11e8f1._0x34a0bb,0x31d,_0x11e8f1._0x27cf9e,_0x11e8f1._0x20e990),_0x417bd8=>{_0x1ba08a['set'](_0x417bd8[_0x43a9d6(-0x6c,-0x10a,-_0x163e4f._0x4b09dd,-_0x163e4f._0x292d88)],_0x417bd8[_0x3c19b2(_0x163e4f._0x55b09f,_0x163e4f._0x3055ee,0x571,0x773)]);const _0x517702=_0x2ca4e6[_0x43a9d6(0x19f,-0xc,_0x163e4f._0x3bf69e,_0x163e4f._0x371a06)](_0x417bd8[_0x3c19b2(_0x163e4f._0x4c767f,0x4b1,0x43c,_0x163e4f._0x51455a)]);if(!_0x517702)return;function _0x3c19b2(_0x4cc964,_0x3044eb,_0x1af44f,_0x4b8d05){return _0x57beb2(_0x4cc964,_0x3044eb-0x102,_0x1af44f-0x1bc,_0x4b8d05-0x34);}_0x2ca4e6[_0x43a9d6(0xda,0x2ed,-0x35,-_0x163e4f._0x51f498)](_0x417bd8[_0x43a9d6(-0x6c,_0x163e4f._0x8c11e2,_0x163e4f._0x32f1ba,0x196)]);function _0x43a9d6(_0x74ee0f,_0x6280,_0x76d7a1,_0x3f6123){return _0xfa204a(_0x76d7a1,_0x6280-_0x3e9c40._0x3c6f60,_0x76d7a1-0xf0,_0x74ee0f- -_0x3e9c40._0x3ff4f7);}for(const _0x1c09e8 of _0x517702)_0x1c09e8();}),_0x47d5e8['listen']();let _0x450f60;function _0xfa204a(_0x26483e,_0x5401c8,_0x3803b8,_0x102c55){return _0x30b865(_0x26483e-0xdc,_0x26483e,_0x102c55-0x42a,_0x102c55-0x88);}try{_0x450f60=await _0xaffd2f('initialize',{'processId':process[_0xfa204a(_0x11e8f1._0x25dad9,0x639,0x649,0x5c7)],'rootUri':uriForPath(_0x2e864e[_0xfa204a(_0x11e8f1._0x1ed54f,0x2e5,_0x11e8f1._0x1b7396,_0x11e8f1._0x5177c1)]),'workspaceFolders':[{'uri':uriForPath(_0x2e864e[_0x57beb2(_0x11e8f1._0x2e5868,_0x11e8f1._0x50dbac,0x48a,_0x11e8f1._0x5238d6)]),'name':_0x2e864e[_0x57beb2(0x487,_0x11e8f1._0x56a686,_0x11e8f1._0x21aebb,0x87f)]['id']}],'initializationOptions':_0x2e864e[_0xfa204a(_0x11e8f1._0x3b7645,_0x11e8f1._0x4b3481,_0x11e8f1._0xf485cb,0x6e2)]['initialization']??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0xfa204a(0x3e2,0x24f,_0x11e8f1._0x2ab9be,_0x11e8f1._0x60c5aa),'plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x3a2516){_0x47d5e8[_0xfa204a(0x558,_0x11e8f1._0xeebca5,0x717,0x70f)](),_0x2e864e[_0xfa204a(0x4e0,_0x11e8f1._0xd7e97e,0x5e2,_0x11e8f1._0x388dec)]['process'][_0x57beb2(0x585,0x5e9,_0x11e8f1._0x3d20bd,_0x11e8f1._0x5b39e1)]();throw _0x3a2516;}_0x47d5e8[_0xfa204a(0x4a7,0x63d,0x576,0x616)]('initialized',{});const _0x233c44={'serverId':_0x2e864e['server']['id'],'root':_0x2e864e['root'],'connection':_0x47d5e8,'diagnostics':_0x1ba08a,'capabilities':_0x450f60[_0xfa204a(0x31c,0x42f,_0x11e8f1._0x2fb604,_0x11e8f1._0x32ea6c)]??{},'notify':{async 'open'({path:_0x5c8ead}){const _0x3721d7={_0x317a4b:0x1c0};function _0x3d5349(_0x3524af,_0x2b59db,_0x41e3e4,_0x48111d){return _0x57beb2(_0x2b59db,_0x48111d- -_0xebced0._0x53a88c,_0x41e3e4-0x28,_0x48111d-0x6e);}function _0x35cab7(_0x491fa5,_0x3b6eea,_0x13c730,_0x343767){return _0x57beb2(_0x343767,_0x491fa5- -_0x3721d7._0x317a4b,_0x13c730-0x1a1,_0x343767-0x15);}const _0x114b6c=await readFile(_0x5c8ead,'utf8');_0x47d5e8[_0x3d5349(0x6aa,0x567,_0xc7f154._0x250f98,0x50d)](_0x35cab7(0x2c5,_0xc7f154._0x4834ee,_0xc7f154._0x324ca8,_0xc7f154._0x496881),{'textDocument':{'uri':uriForPath(_0x5c8ead),'languageId':getLanguageId(_0x5c8ead)??_0x3d5349(_0xc7f154._0xc0d213,0x62c,_0xc7f154._0x301f96,0x661),'version':0x1,'text':_0x114b6c}});},async 'change'({path:_0x4a9cab,version:_0x42a915}){const _0x5cc683={_0x34155f:0x134,_0xf0d212:0xc0};function _0x41f805(_0x1f2964,_0x5ca85b,_0x42358b,_0x2d9459){return _0x57beb2(_0x42358b,_0x5ca85b-_0x2d2478._0x569c47,_0x42358b-_0x2d2478._0x565690,_0x2d9459-_0x2d2478._0x294d47);}const _0x4e2f70=await readFile(_0x4a9cab,_0x8f621(_0x587ac3._0x4beb30,_0x587ac3._0x324afe,_0x587ac3._0x3cc221,_0x587ac3._0x4e863a));function _0x8f621(_0x300869,_0x449d27,_0x357279,_0x269903){return _0xfa204a(_0x357279,_0x449d27-_0x5cc683._0x34155f,_0x357279-0x90,_0x449d27-_0x5cc683._0xf0d212);}_0x47d5e8[_0x41f805(0x74f,0x545,0x69f,_0x587ac3._0x1662af)](_0x41f805(0x318,_0x587ac3._0x16af74,_0x587ac3._0x541463,_0x587ac3._0x38093a),{'textDocument':{'uri':uriForPath(_0x4a9cab),'version':_0x42a915},'contentChanges':[{'text':_0x4e2f70}]});},async 'close'({path:_0x548f61}){const _0x34f082={_0x467df4:0x21f,_0x5cce6d:0x125},_0x3fa9c6={_0x38f108:0x107};function _0x33d93c(_0x1c0e60,_0x1847de,_0x34591f,_0xd10d50){return _0x57beb2(_0xd10d50,_0x1c0e60-_0x3fa9c6._0x38f108,_0x34591f-0x4c,_0xd10d50-0xf3);}function _0x48a616(_0x58dc47,_0x19f8d9,_0x537799,_0x10a8aa){return _0x57beb2(_0x58dc47,_0x537799- -_0x34f082._0x467df4,_0x537799-0x6,_0x10a8aa-_0x34f082._0x5cce6d);}_0x47d5e8[_0x48a616(_0x228ebd._0x226cad,_0x228ebd._0x2d0f9b,_0x228ebd._0x9f86af,0x31b)](_0x33d93c(0x425,_0x228ebd._0xf0385e,0x5ef,0x454),{'textDocument':{'uri':uriForPath(_0x548f61)}});}},'request':{async 'definition'(_0x2b40ef){const _0x2cdf4c={_0x25b6e3:0x171,_0x1f024b:0x158};function _0x1384ee(_0x2a5c66,_0x20bc2d,_0x3048bf,_0x38479f){return _0x57beb2(_0x2a5c66,_0x20bc2d- -0x2b1,_0x3048bf-_0x2cdf4c._0x25b6e3,_0x38479f-_0x2cdf4c._0x1f024b);}return normalizeLocations(await _0xaffd2f(_0x1384ee(0x1e6,0x38e,_0x32df81._0xb565f2,0x512),textDocumentPosition(_0x2b40ef)));},async 'references'(_0x23baef){function _0x436843(_0x253aed,_0x241066,_0x231395,_0x395eaf){return _0xfa204a(_0x253aed,_0x241066-0x59,_0x231395-0xb3,_0x395eaf- -0x1b4);}return normalizeLocations(await _0xaffd2f(_0x436843(_0x42e33b._0x31fa1a,_0x42e33b._0x34e82a,0x5c1,0x40f),{...textDocumentPosition(_0x23baef),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x5ffe84){return await _0xaffd2f('textDocument/hover',textDocumentPosition(_0x5ffe84))??null;},async 'documentSymbol'(_0x3b9543){const _0x17c352={_0x3f969f:0x1cc,_0x1dba41:0xbb};function _0x5dcb1e(_0x25dd04,_0x5bdbf7,_0x327f72,_0x480270){return _0xfa204a(_0x25dd04,_0x5bdbf7-_0x17c352._0x3f969f,_0x327f72-_0x17c352._0x1dba41,_0x480270- -0x3a7);}return await _0xaffd2f(_0x5dcb1e(_0x203690._0x306f26,-0x69,0x188,0x70),{'textDocument':{'uri':uriForPath(_0x3b9543)}})??[];},async 'workspaceSymbol'(_0x331b53){return await _0xaffd2f('workspace/symbol',{'query':_0x331b53})??[];},async 'implementation'(_0x38ff56){function _0x506458(_0x3f4b71,_0x31f6fb,_0x22a59a,_0x38c73a){return _0x57beb2(_0x31f6fb,_0x38c73a-_0x5a04ad._0x4ca737,_0x22a59a-_0x5a04ad._0x5a2758,_0x38c73a-0x38);}return normalizeLocations(await _0xaffd2f(_0x506458(_0x1993f8._0x130421,0x2d1,_0x1993f8._0x102136,0x3fd),textDocumentPosition(_0x38ff56)));},async 'prepareCallHierarchy'(_0x50f4e6){return await _0xaffd2f('textDocument/prepareCallHierarchy',textDocumentPosition(_0x50f4e6))??[];},async 'incomingCalls'(_0x483d4a){return await _0xaffd2f('callHierarchy/incomingCalls',{'item':_0x483d4a})??[];},async 'outgoingCalls'(_0x5820a1){const _0x427a75={_0x415d95:0x21};function _0x2ac124(_0x1122be,_0x3306e6,_0x414cd4,_0xc7df1f){return _0xfa204a(_0x1122be,_0x3306e6-0x176,_0x414cd4-_0x427a75._0x415d95,_0x414cd4- -0x1f8);}return await _0xaffd2f(_0x2ac124(0x407,0x3a6,0x25b,0x2ff),{'item':_0x5820a1})??[];}},'waitForDiagnostics'({path:_0x1cb82b,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x2068ff={_0x11ab9a:0xc5,_0x4533fb:0x338,_0xd20cdb:0x189};function _0x57b0c3(_0x1b3218,_0x38f947,_0x3d2315,_0x49addc){return _0xfa204a(_0x49addc,_0x38f947-_0x5e7eee._0x7dbfdb,_0x3d2315-0x145,_0x38f947- -_0x5e7eee._0x5653f1);}const _0x950c8d=uriForPath(_0x1cb82b);if(_0x1ba08a[_0x57b0c3(0x2c9,0x3ca,0x5a0,0x4c9)](_0x950c8d))return Promise['resolve']();return new Promise(_0x4762fb=>{const _0x3aa549={_0xdb13d6:0xd6},_0x971e33={_0x7b130f:0x148,_0xf8989:0x57};function _0x3ada33(_0x43555a,_0x8f1c1a,_0x289d96,_0x4e5b7f){return _0x57b0c3(_0x43555a-_0x971e33._0x7b130f,_0x4e5b7f- -0xbb,_0x289d96-_0x971e33._0xf8989,_0x43555a);}const _0x3b976f=setTimeout(()=>{function _0x1d8fb7(_0x1951a1,_0x33f5f3,_0x2c06f7,_0x1056b9){return _0x56d3(_0x33f5f3- -0x25f,_0x1056b9);}const _0x378eab=_0x2ca4e6[_0x1d8fb7(0x313,0x2d8,0x2d9,_0x2068ff._0x11ab9a)](_0x950c8d);_0x378eab?.[_0x1d8fb7(_0x2068ff._0x4533fb,0x213,0x1ef,_0x2068ff._0xd20cdb)](_0x2c7ad4);if(_0x378eab?.['size']===0x0)_0x2ca4e6[_0x1d8fb7(0x1c0,0x213,0x33,0x11f)](_0x950c8d);function _0xf7d192(_0x347bcf,_0x642930,_0x169ed6,_0x24b2a4){return _0x56d3(_0x347bcf- -0x313,_0x169ed6);}_0x4762fb();},timeoutMs),_0x2c7ad4=()=>{clearTimeout(_0x3b976f),_0x4762fb();},_0x5c2f1f=_0x2ca4e6['get'](_0x950c8d)??new Set();_0x5c2f1f[_0x3ada33(0x333,_0x374ff2._0xe14fa8,_0x374ff2._0x504a80,_0x374ff2._0x545f14)](_0x2c7ad4);function _0x5d53db(_0x2a134d,_0x2f0d5a,_0x2acfa1,_0x5059aa){return _0x57b0c3(_0x2a134d-0x123,_0x2acfa1-0x232,_0x2acfa1-_0x3aa549._0xdb13d6,_0x5059aa);}_0x2ca4e6[_0x5d53db(0x615,_0x374ff2._0x20ee0b,_0x374ff2._0x4fd922,0x781)](_0x950c8d,_0x5c2f1f);});},async 'shutdown'(){const _0x1d2dbb={_0xc4114a:0x1ae,_0x3949e5:0xfc};if(_0x198be5)return;function _0x176362(_0x5435f4,_0x2e55b9,_0x3697c3,_0x15bf27){return _0x57beb2(_0x2e55b9,_0x15bf27-_0x1d2dbb._0xc4114a,_0x3697c3-0x116,_0x15bf27-_0x1d2dbb._0x3949e5);}_0x198be5=!![];function _0x538a42(_0x3cfc15,_0xc8cdc0,_0x6b7476,_0x4cb557){return _0x57beb2(_0xc8cdc0,_0x3cfc15-0x350,_0x6b7476-0x87,_0x4cb557-0x121);}try{await _0xaffd2f(_0x538a42(0x6cf,_0x1cbad2._0x26c727,_0x1cbad2._0x200d35,_0x1cbad2._0x48df86),null),_0x47d5e8[_0x538a42(_0x1cbad2._0x575782,0x8f3,_0x1cbad2._0x400c98,_0x1cbad2._0x15c373)](_0x176362(_0x1cbad2._0x343c41,_0x1cbad2._0x6f71ee,_0x1cbad2._0x347f6e,0x478));}catch{}finally{_0x47d5e8[_0x538a42(0x964,0x9de,0xb61,0x830)](),_0x2e864e[_0x176362(_0x1cbad2._0x4573a9,_0x1cbad2._0x1ee440,_0x1cbad2._0x16d94d,_0x1cbad2._0x3dd500)]['process']['kill']();}}};return _0x233c44;}import{spawn as _0x29b6cd}from'child_process';import{access as _0x493064}from'fs/promises';import _0x5987f5 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xe950e9 from'os';import _0xb85e9f from'path';import _0x4c1bdb from'which';var installPromises=new Map();function sanitizePackageName(_0x5723fc){const _0x1e7a9c={_0x49190d:0x7a8,_0x2f6b5c:0x752,_0x4927c9:0x447},_0x59dfac={_0x30b82f:0x123,_0x150b78:0x274},_0x1915c5={_0x320a3d:0x1c};function _0x54ed37(_0x5e2007,_0x28346a,_0x1d9ed6,_0x361130){return _0x511cdd(_0x5e2007-_0x1915c5._0x320a3d,_0x28346a-0x19,_0x28346a,_0x1d9ed6-0x2db);}function _0x375442(_0x2ca387,_0x279cab,_0xfc3f43,_0x3c8174){return _0x30b865(_0x2ca387-_0x59dfac._0x30b82f,_0xfc3f43,_0x2ca387-_0x59dfac._0x150b78,_0x3c8174-0x12f);}return _0x5723fc[_0x54ed37(_0x1e7a9c._0x49190d,_0x1e7a9c._0x2f6b5c,0x696,0x84f)](/^@/,'')[_0x375442(_0x1e7a9c._0x4927c9,0x3c0,0x4b8,0x346)](/[/]/g,'__');}function binaryNameForPlatform(_0x33a89f){const _0x7cfbd8={_0x495d70:0x220,_0xcd311c:0x3c5,_0xa3e11e:0x234,_0x2ff6a5:0x29b,_0x55a914:0x3df},_0x27e98e={_0x312bce:0x14f},_0x442ffe={_0x3e5092:0x284};function _0x1b96e3(_0x213159,_0x57eb15,_0x5de1a8,_0x455db2){return _0x511cdd(_0x213159-0x61,_0x57eb15-0x47,_0x5de1a8,_0x57eb15- -_0x442ffe._0x3e5092);}function _0x5208eb(_0x404ce6,_0x6de8af,_0x49f6db,_0x46df32){return _0x511cdd(_0x404ce6-0x14c,_0x6de8af-0x1b1,_0x6de8af,_0x46df32- -_0x27e98e._0x312bce);}return process[_0x5208eb(_0x7cfbd8._0x495d70,_0x7cfbd8._0xcd311c,0x1ed,_0x7cfbd8._0xa3e11e)]===_0x1b96e3(-0xa3,0xbb,0x1f1,_0x7cfbd8._0x2ff6a5)?_0x33a89f+_0x5208eb(0x175,0x1af,_0x7cfbd8._0x55a914,0x1d6):_0x33a89f;}async function exists(_0x5a15af){try{return await access(_0x5a15af),!![];}catch{return![];}}function runNpmInstall(_0x520655,_0x274d3b,_0x230c41){const _0xd1c544={_0x16a3bf:0x73,_0x1d02f7:0x167,_0xcd7c3:0x38e,_0xe0cc5d:0x3aa,_0x59542e:0x2bc,_0x18f69e:0x2ae,_0x107dbd:0x339,_0x5050b3:0x250,_0x499c71:0x275,_0x4f11c1:0x11e},_0xff707d={_0x504a17:0x1fe};return new Promise(_0x1dc23d=>{function _0x16c0a0(_0x5586f9,_0x4b24be,_0x1ffa21,_0x32a656){return _0x56d3(_0x4b24be- -_0xff707d._0x504a17,_0x1ffa21);}const _0x37d7d3=spawn('npm',[_0x16c0a0(0x20b,_0xd1c544._0x16a3bf,-_0xd1c544._0x1d02f7,0x275),_0x2f0a01(_0xd1c544._0xcd7c3,0x4d8,0x373,_0xd1c544._0xe0cc5d),_0x520655,_0x274d3b],{'env':_0x230c41,'stdio':_0x2f0a01(0x209,0x269,_0xd1c544._0x59542e,_0xd1c544._0x18f69e)});function _0x2f0a01(_0x12e134,_0x1e961c,_0x504b22,_0x353ec0){return _0x56d3(_0x504b22- -0x160,_0x1e961c);}_0x37d7d3['on'](_0x16c0a0(_0xd1c544._0x107dbd,0x25a,0x1b9,0x3ed),()=>_0x1dc23d(![])),_0x37d7d3['on'](_0x2f0a01(_0xd1c544._0x5050b3,_0xd1c544._0x499c71,_0xd1c544._0x4f11c1,0x16c),_0xa470a3=>_0x1dc23d(_0xa470a3===0x0));});}function shouldDisableLspDownload(_0x4c6f50=process[_0x511cdd(0x16a,0x2c9,0x392,0x1a6)]){const _0x24a448={_0x5c2f63:0x64a,_0x4c96b6:0x43d,_0x4cd20e:0x502},_0x2b6d90={_0x2bd2d0:0x9a,_0x41a187:0x188},_0x26005c={_0x6b572a:0x236,_0x589881:0x14e},_0x516c81=_0x4c6f50[_0x3f4df4(_0x24a448._0x5c2f63,0x236,_0x24a448._0x4c96b6,0x64b)]?.[_0x3f4df4(0x661,0x612,0x536,0x67b)]();function _0x3f4df4(_0x59267d,_0x25dbbd,_0x2364c5,_0xb152db){return _0x30b865(_0x59267d-0x1eb,_0x59267d,_0x2364c5-_0x26005c._0x6b572a,_0xb152db-_0x26005c._0x589881);}function _0x357c21(_0x1d59df,_0x182bd9,_0x59d139,_0x4cff1a){return _0x511cdd(_0x1d59df-_0x2b6d90._0x2bd2d0,_0x182bd9-_0x2b6d90._0x41a187,_0x4cff1a,_0x1d59df-0x29e);}return _0x516c81===_0x357c21(0x537,_0x24a448._0x4cd20e,0x405,0x377)||_0x516c81==='1'||_0x516c81==='yes'||_0x516c81==='on';}function getLspPackageDir(_0x4a2bc4){const _0x32cc29={_0x4230c1:0xc7,_0x1d0fdf:0x52,_0x16e236:0x21a,_0x4fd554:0x255,_0xccdfef:0x2a0,_0x3b9b87:0x1ba,_0x492fa1:0x144,_0x3f1308:0x12e},_0x13b15b={_0x13649b:0x1ec};function _0x16bf85(_0xd84dd4,_0x531cea,_0x4d4196,_0x15c1b3){return _0x511cdd(_0xd84dd4-0x1b9,_0x531cea-0x20,_0x15c1b3,_0xd84dd4-0x24);}function _0x156c7e(_0x261383,_0x28400d,_0x344d33,_0x478174){return _0x511cdd(_0x261383-0x12c,_0x28400d-0x80,_0x28400d,_0x478174- -_0x13b15b._0x13649b);}return _0xb85e9f[_0x156c7e(_0x32cc29._0x4230c1,0xc3,_0x32cc29._0x1d0fdf,_0x32cc29._0x16e236)](_0xe950e9[_0x156c7e(_0x32cc29._0x4fd554,0x482,0x28a,_0x32cc29._0xccdfef)](),_0x16bf85(_0x32cc29._0x3b9b87,_0x32cc29._0x492fa1,0x22e,_0x32cc29._0x3f1308),'lsp','packages',sanitizePackageName(_0x4a2bc4));}function getLspBinDir(_0x53b7e7){const _0x393a37={_0x56cd62:0x4c4,_0x54dee7:0x389,_0x4bc358:0x490,_0x55bcd2:0x3bb,_0x51c08a:0x315,_0x2aa123:0x42f},_0x1c888a={_0x2f2786:0xc3},_0x4f7424={_0x22a2d4:0xbd};function _0x4c7522(_0x43a1b3,_0x52da15,_0x26b6a3,_0x5e8548){return _0x511cdd(_0x43a1b3-0x87,_0x52da15-_0x4f7424._0x22a2d4,_0x5e8548,_0x52da15-0x15f);}function _0x5ba171(_0x592df9,_0x5bedee,_0x44a7c8,_0x5dde3b){return _0x511cdd(_0x592df9-_0x1c888a._0x2f2786,_0x5bedee-0xbc,_0x5dde3b,_0x592df9-0x10b);}return _0xb85e9f['join'](getLspPackageDir(_0x53b7e7),_0x5ba171(0x514,0x6f7,_0x393a37._0x56cd62,_0x393a37._0x54dee7),_0x4c7522(_0x393a37._0x4bc358,_0x393a37._0x55bcd2,_0x393a37._0x51c08a,_0x393a37._0x2aa123));}async function findPackageBinary(_0x3827ca,_0x220796){const _0x5a0933={_0x283592:0x490,_0x1419db:0x335,_0x1327bd:0x613,_0x59c451:0x3ab,_0x11d1c8:0x330,_0x3c04fb:0x4b9,_0x20ef1f:0x4bc,_0x28baae:0x389,_0x11d01a:0x519,_0x3bcb65:0x394,_0x2d7652:0x49f},_0x41b42={_0x608469:0x198,_0x248229:0x57};let _0x581804=_0xb85e9f[_0x1e8d89(0x216,0x4cb,_0x5a0933._0x283592,_0x5a0933._0x1419db)](_0x220796);const _0x23f063=binaryNameForPlatform(_0x3827ca);function _0x1e8d89(_0x5808f3,_0xc17074,_0xd8383f,_0x3c7719){return _0x30b865(_0x5808f3-0x54,_0x5808f3,_0x3c7719-0x29b,_0x3c7719-0x144);}function _0x34639f(_0x247f14,_0x20521a,_0x54a954,_0x1158e7){return _0x30b865(_0x247f14-_0x41b42._0x608469,_0x54a954,_0x247f14-0x251,_0x1158e7-_0x41b42._0x248229);}while(!![]){const _0x47fd68=_0xb85e9f[_0x1e8d89(_0x5a0933._0x1327bd,_0x5a0933._0x59c451,_0x5a0933._0x11d1c8,_0x5a0933._0x3c04fb)](_0x581804,_0x1e8d89(0x600,0x4b8,0x4a7,_0x5a0933._0x20ef1f),_0x34639f(0x2c5,0x284,0x29f,_0x5a0933._0x28baae),_0x23f063);if(await exists(_0x47fd68))return _0x47fd68;const _0x12a800=_0xb85e9f[_0x1e8d89(_0x5a0933._0x11d01a,_0x5a0933._0x3bcb65,_0x5a0933._0x2d7652,0x388)](_0x581804);if(_0x12a800===_0x581804)return void 0x0;_0x581804=_0x12a800;}}async function findPathBinary(_0x427ccd,_0x481213){const _0x53a8c2={_0x4dffae:0x1a2,_0x469916:0x12a,_0x250952:0xa8,_0x56e75e:0xd0,_0x585923:0x399,_0x5c8e4c:0x34d,_0x5d1b26:0x199,_0x4fcf6:0x3a3,_0x56fa38:0x255},_0x631ed3={_0x5f41ab:0xfe},_0x42ef1a={_0x34c831:0x2b,_0xfd0f6f:0x10c};function _0x309338(_0x255683,_0x1a0bfe,_0x22b9e5,_0x4a3d50){return _0x30b865(_0x255683-_0x42ef1a._0x34c831,_0x1a0bfe,_0x22b9e5-_0x42ef1a._0xfd0f6f,_0x4a3d50-0x130);}function _0x28f86d(_0x1af86a,_0x3831d9,_0x2e0d8f,_0x1a23ad){return _0x511cdd(_0x1af86a-_0x631ed3._0x5f41ab,_0x3831d9-0x1cd,_0x3831d9,_0x1a23ad- -0x27c);}const _0x19d95d=getLspBinDir(_0x481213),_0x11a67a=[_0x19d95d,process['env'][_0x28f86d(-_0x53a8c2._0x4dffae,-_0x53a8c2._0x469916,0x122,-0x87)]][_0x309338(-0xf5,_0x53a8c2._0x250952,_0x53a8c2._0x56e75e,0x231)](Boolean)[_0x309338(0x4ec,_0x53a8c2._0x585923,0x32a,_0x53a8c2._0x5c8e4c)](_0xb85e9f[_0x309338(_0x53a8c2._0x5d1b26,_0x53a8c2._0x4fcf6,_0x53a8c2._0x56fa38,0x23a)]);try{return await _0x4c1bdb(_0x427ccd,{'path':_0x11a67a});}catch{return void 0x0;}}async function resolvePackageBinary(_0x225f66){const _0x5820e9={_0x488289:0x4b3,_0x59759b:0x2ea,_0x48d04a:0x2d2,_0x4f0b3c:0x10b,_0x564399:0x2b5,_0x15ae78:0x26b,_0x530985:0x1bd,_0x46e96f:0x61,_0x3fbce6:0x2ff,_0x511e7b:0x2cd,_0xa8f907:0x297,_0x320528:0x378,_0x4e746e:0x3af,_0x3e350d:0x43f,_0x53dc3a:0x34b,_0x203996:0x501},_0x3f558b={_0x12a569:0x7,_0x17476c:0x4c8,_0x4046de:0x391,_0x3917f1:0x5c4,_0xf9a8fd:0xc3,_0x5d9efb:0x12b},_0x1a9ee8={_0xcaf198:0xba},_0x387409={_0x3fe511:0xab,_0x1621b7:0x24d},_0x265d63={_0x18442b:0x197},_0xd00e83={_0x2459e7:0x153};function _0x1bc7f3(_0x2fa857,_0x4ddbcc,_0x3ff9ca,_0x5f56a3){return _0x511cdd(_0x2fa857-0xf6,_0x4ddbcc-0x7,_0x2fa857,_0x3ff9ca-_0xd00e83._0x2459e7);}const _0x2acb8d=_0x225f66[_0x89935(_0x5820e9._0x488289,0x5c9,0x496,0x52e)]??_0x225f66[_0x89935(0x1b7,0x413,_0x5820e9._0x59759b,_0x5820e9._0x48d04a)],_0x3dc8a8=await findPackageBinary(_0x2acb8d,_0x225f66['startDir']);if(_0x3dc8a8)return _0x3dc8a8;const _0xeb4207=await findPathBinary(_0x2acb8d,_0x225f66[_0x89935(_0x5820e9._0x4f0b3c,_0x5820e9._0x564399,0x2ea,0x361)]);function _0x89935(_0x286793,_0x5ca254,_0x167fe0,_0x49d02c){return _0x511cdd(_0x286793-0xf5,_0x5ca254-_0x265d63._0x18442b,_0x49d02c,_0x167fe0-0xc5);}if(_0xeb4207)return _0xeb4207;const _0x32c83b=_0x225f66[_0x89935(0x2ba,0x389,_0x5820e9._0x15ae78,_0x5820e9._0x530985)]??process[_0x89935(_0x5820e9._0x46e96f,_0x5820e9._0x3fbce6,0x26b,_0x5820e9._0x511e7b)];if(shouldDisableLspDownload(_0x32c83b))return void 0x0;const _0x338fdb=getLspPackageDir(_0x225f66[_0x1bc7f3(_0x5820e9._0xa8f907,0x26e,_0x5820e9._0x320528,0x20e)]),_0xb5216=_0x225f66['packageName']+':'+_0x2acb8d;let _0x14da08=installPromises[_0x89935(_0x5820e9._0x4e746e,_0x5820e9._0x3e350d,0x538,_0x5820e9._0x53dc3a)](_0xb5216);!_0x14da08&&(_0x14da08=((async()=>{function _0x4a9046(_0x1538a2,_0x1dae48,_0x2b259d,_0x90af3c){return _0x1bc7f3(_0x1dae48,_0x1dae48-_0x387409._0x3fe511,_0x2b259d- -_0x387409._0x1621b7,_0x90af3c-0x118);}await mkdir(_0x338fdb,{'recursive':!![]});const _0x55a2c5=await runNpmInstall(_0x338fdb,_0x225f66[_0x4a9046(0x162,-_0x3f558b._0x12a569,0x12b,-0x74)],_0x32c83b);if(!_0x55a2c5)return void 0x0;function _0x337780(_0x2c57f1,_0x4a07db,_0x1715ff,_0x2962b9){return _0x89935(_0x2c57f1-0x34,_0x4a07db-0x1ac,_0x2962b9- -_0x1a9ee8._0xcaf198,_0x4a07db);}const _0x51d81d=_0xb85e9f[_0x337780(_0x3f558b._0x17476c,_0x3f558b._0x4046de,_0x3f558b._0x3917f1,0x411)](getLspBinDir(_0x225f66[_0x4a9046(-_0x3f558b._0xf9a8fd,0x8c,_0x3f558b._0x5d9efb,0x23a)]),binaryNameForPlatform(_0x2acb8d));return await exists(_0x51d81d)?_0x51d81d:void 0x0;})()),installPromises[_0x1bc7f3(0x707,0x56a,0x67d,0x54a)](_0xb5216,_0x14da08));try{return await _0x14da08;}catch{return void 0x0;}finally{installPromises[_0x1bc7f3(0x3fc,0x599,_0x5820e9._0x203996,0x69d)](_0xb5216);}}var TYPESCRIPT_EXTENSIONS=[_0x30b865(0x26c,0x2d3,0x1ca,0x2ff),_0x511cdd(0x402,0x426,0x155,0x2b5),_0x511cdd(0x532,0x2ed,0x2b6,0x34d),'.jsx','.mjs',_0x30b865(-0x149,0x125,-0x1f,0x14e),_0x30b865(0x1aa,0x218,0x328,0x476),_0x511cdd(0x311,0x45a,0x371,0x488)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x30b865(0x3a2,-0x28,0x1b1,0x3bb),_0x511cdd(0x5fa,0x273,0x2aa,0x457)],TYPESCRIPT_ROOT_MARKERS=[_0x30b865(0x150,0x27b,0x1a1,-0x5a),_0x30b865(0x139,0x1c7,-0x4b,-0x1c7),_0x511cdd(0x478,0x4f8,0x3e7,0x341),'pnpm-lock.yaml','yarn.lock',_0x511cdd(0x682,0x6fc,0x6a0,0x536),_0x30b865(0x239,0x13f,0x2f,0x1b8),_0x30b865(0x114,0x340,0x29a,0x147)],BIOME_ROOT_MARKERS=[_0x511cdd(0x20d,0x125,0x3ef,0x297),'biome.jsonc',_0x30b865(0x270,0x133,0x1a1,0x5a),_0x511cdd(-0x16,0x14c,0xb,0x19d),_0x30b865(0x1fd,0x1f4,0x159,0xf8),'pnpm-lock.yaml','yarn.lock',_0x511cdd(0x487,0x654,0x305,0x482)];async function exists2(_0x582dc8){try{return await _0x493064(_0x582dc8),!![];}catch{return![];}}async function findUp(_0x2ba348,_0x3c6a5b){const _0x59b65d={_0x176db4:0x6a5,_0x5e6859:0x85d,_0x28dbf7:0xa6d,_0x28a492:0x71b,_0x1fecec:0x84c,_0x57f306:0x4b5,_0x2ffae2:0x425,_0x3a31fa:0x676},_0x457fe7={_0xe53490:0x264},_0x47df71={_0x20ae69:0x3,_0x2f6c5d:0x62e};let _0x2a41ca=_0x5987f5['resolve'](_0x2ba348);const _0x33a544=_0x5987f5[_0x5d500e(_0x59b65d._0x176db4,_0x59b65d._0x5e6859,0x8f2,_0x59b65d._0x28dbf7)](_0x2a41ca);if(_0x33a544)_0x2a41ca=_0x5987f5[_0x5d500e(0x55e,_0x59b65d._0x28a492,0x6fc,0x62a)](_0x2a41ca);function _0x5d500e(_0x51c9bd,_0x213cc3,_0x1afbbd,_0x2b7f8e){return _0x30b865(_0x51c9bd-_0x47df71._0x20ae69,_0x2b7f8e,_0x213cc3-_0x47df71._0x2f6c5d,_0x2b7f8e-0xbf);}function _0x3926de(_0x218974,_0x428538,_0x396112,_0x51ed36){return _0x511cdd(_0x218974-0xc7,_0x428538-0xcf,_0x428538,_0x51ed36-_0x457fe7._0xe53490);}while(!![]){for(const _0x429c9f of _0x3c6a5b){if(await exists2(_0x5987f5[_0x5d500e(0x9ea,_0x59b65d._0x1fecec,0xa1e,0x642)](_0x2a41ca,_0x429c9f)))return _0x2a41ca;}const _0x1c1e08=_0x5987f5[_0x3926de(_0x59b65d._0x57f306,_0x59b65d._0x2ffae2,_0x59b65d._0x3a31fa,0x539)](_0x2a41ca);if(_0x1c1e08===_0x2a41ca)return void 0x0;_0x2a41ca=_0x1c1e08;}}async function hasDenoRoot(_0xcee3a1){const _0x423c44={_0xcccd56:0x21a,_0x1bdb44:0x272,_0x238215:0x6db,_0x33066d:0x680,_0x2c3209:0x8f,_0xe57375:0x1ea},_0x39b27f={_0x5de864:0xd9,_0x3bc449:0xfe};function _0x4a8a66(_0x55f3c7,_0x5539b8,_0x5a2d3b,_0x2567a7){return _0x511cdd(_0x55f3c7-0x17a,_0x5539b8-0x137,_0x5a2d3b,_0x5539b8-0x360);}function _0x16881c(_0xa1a693,_0x4330c2,_0x48b898,_0x15cdf6){return _0x511cdd(_0xa1a693-_0x39b27f._0x5de864,_0x4330c2-_0x39b27f._0x3bc449,_0x15cdf6,_0x48b898- -0x194);}return await exists2(_0x5987f5[_0x16881c(_0x423c44._0xcccd56,0x350,_0x423c44._0x1bdb44,0x132)](_0xcee3a1,_0x4a8a66(_0x423c44._0x238215,0x67c,0x710,_0x423c44._0x33066d)))||await exists2(_0x5987f5['join'](_0xcee3a1,_0x16881c(0x171,_0x423c44._0x2c3209,0x287,_0x423c44._0xe57375)));}async function resolveTsserverPath(_0x15da92){const _0x482e72={_0x3a2137:0x370,_0x3cb2cc:0x68e,_0x3c2d74:0x629,_0x2b1e58:0x869,_0x10de94:0x30c,_0x5592fd:0x2b3,_0x1b495b:0x401,_0x2503ba:0x28c,_0x41949e:0x4ef,_0x9d29f5:0x5e5,_0x1df972:0x44e,_0x1e082b:0x670,_0x123ab7:0x6a2,_0x5d308f:0x6dc,_0x201741:0x5dd,_0xe21715:0x569,_0x29f1dc:0x397,_0x2acd43:0x598},_0xfd5b20={_0x5c6344:0x1ce,_0x444c00:0x4be,_0x2b1eaa:0x159},_0x5215e8={_0x434ca3:0x348,_0x4d572f:0x1e6};let _0x884c76=_0x5987f5[_0x2c5896(0x517,_0x482e72._0x3a2137,0x4c9,0x3e2)](_0x15da92);while(!![]){const _0x15e76d=_0x5987f5[_0x527950(_0x482e72._0x3cb2cc,_0x482e72._0x3c2d74,_0x482e72._0x2b1e58,0x6dc)](_0x884c76,'node_modules','typescript',_0x2c5896(_0x482e72._0x10de94,0x1d8,0x41d,_0x482e72._0x5592fd),_0x2c5896(0x480,_0x482e72._0x1b495b,0xb9,_0x482e72._0x2503ba));if(await exists2(_0x15e76d))return _0x15e76d;const _0x3e0706=_0x5987f5['dirname'](_0x884c76);if(_0x3e0706===_0x884c76)break;_0x884c76=_0x3e0706;}function _0x2c5896(_0x5a970b,_0x24f2b2,_0x1e880b,_0x626378){return _0x30b865(_0x5a970b-0x9e,_0x5a970b,_0x626378-_0x5215e8._0x434ca3,_0x626378-_0x5215e8._0x4d572f);}function _0x527950(_0x50086a,_0xad4c40,_0x246af7,_0x2fe4ca){return _0x30b865(_0x50086a-_0xfd5b20._0x5c6344,_0xad4c40,_0x2fe4ca-_0xfd5b20._0x444c00,_0x2fe4ca-_0xfd5b20._0x2b1eaa);}const _0x2a1ac0=getLspPackageDir('typescript'),_0x4d0de8=await resolvePackageBinary({'packageName':_0x527950(0x69d,0x89b,_0x482e72._0x41949e,0x6b3),'binaryName':_0x527950(_0x482e72._0x9d29f5,0x365,_0x482e72._0x1df972,0x4c4),'startDir':_0x15da92});if(!_0x4d0de8)return void 0x0;const _0x43dd58=_0x5987f5[_0x527950(_0x482e72._0x1e082b,0x8a6,_0x482e72._0x123ab7,_0x482e72._0x5d308f)](_0x2a1ac0,_0x2c5896(0x496,0x724,_0x482e72._0x201741,_0x482e72._0xe21715),_0x2c5896(0x3dc,_0x482e72._0x29f1dc,_0x482e72._0x2acd43,0x53d),'lib','tsserver.js');return await exists2(_0x43dd58)?_0x43dd58:void 0x0;}var TypeScriptServer={'id':_0x511cdd(0x301,0x220,0x3b4,0x3dd),'name':_0x511cdd(0x4a4,0x5f3,0x431,0x545),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x4cb064){const _0x263765=await findUp(_0x4cb064,TYPESCRIPT_ROOT_MARKERS);if(!_0x263765)return void 0x0;return await hasDenoRoot(_0x263765)?void 0x0:_0x263765;},async 'spawn'(_0x1365e3){const _0x3ce721={_0x47e711:0x66f,_0x1a5aa8:0x741,_0x500ec6:0x954,_0x4f24a5:0x5e3,_0x3bad9f:0x6ee,_0x1dd6a2:0x727,_0x2e64bb:0x547},_0x2fed7f={_0x471054:0x5d},_0x23165e={_0x119a3d:0x10};function _0x4eacce(_0x59d419,_0x171420,_0x11043d,_0x983f3e){return _0x30b865(_0x59d419-0xe2,_0x171420,_0x59d419-0x32e,_0x983f3e-_0x23165e._0x119a3d);}const _0x44d565=await resolveTsserverPath(_0x1365e3);function _0x17eabd(_0x20a5b9,_0x396a88,_0x5ac32f,_0x5c40ce){return _0x30b865(_0x20a5b9-_0x2fed7f._0x471054,_0x5c40ce,_0x5ac32f-0x48c,_0x5c40ce-0x1b1);}if(!_0x44d565)return void 0x0;const _0x37eb6f=await resolvePackageBinary({'packageName':_0x17eabd(0x674,_0x3ce721._0x47e711,_0x3ce721._0x1a5aa8,_0x3ce721._0x500ec6),'binaryName':_0x4eacce(_0x3ce721._0x4f24a5,0x4ab,0x76f,_0x3ce721._0x3bad9f),'startDir':_0x1365e3});if(!_0x37eb6f)return void 0x0;return{'process':_0x29b6cd(_0x37eb6f,[_0x17eabd(_0x3ce721._0x1dd6a2,0x7f7,0x672,_0x3ce721._0x2e64bb)],{'cwd':_0x1365e3,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x44d565}}};}},BiomeServer={'id':_0x30b865(0x4cd,0x4be,0x352,0x175),'name':_0x511cdd(0x3d2,0x334,0x1b6,0x24f),'extensions':BIOME_EXTENSIONS,async 'root'(_0x43194a){return findUp(_0x43194a,BIOME_ROOT_MARKERS);},async 'spawn'(_0xa2fea2){const _0x386ea9={_0x5dc1a6:0x3a9,_0x3fd94f:0xfe,_0x2d3f33:0x1e,_0xe801c6:0xd6},_0x3dd817={_0xb8a4a8:0xe8},_0x3340ba={_0x3e9ec3:0x75,_0x56551d:0x405,_0x49661f:0x10f};function _0x267124(_0x45e2f7,_0x3440f9,_0x2a2d50,_0x51e355){return _0x30b865(_0x45e2f7-_0x3340ba._0x3e9ec3,_0x51e355,_0x3440f9-_0x3340ba._0x56551d,_0x51e355-_0x3340ba._0x49661f);}const _0xdae856=await findPackageBinary('biome',_0xa2fea2)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x416efe(0x26a,0x3cf,_0x386ea9._0x5dc1a6,0xaf),'startDir':_0xa2fea2});function _0x416efe(_0xffb69c,_0x3b6c8d,_0x3aa4dd,_0x258673){return _0x30b865(_0xffb69c-0x122,_0x3b6c8d,_0xffb69c- -_0x3dd817._0xb8a4a8,_0x258673-0xc0);}if(!_0xdae856)return void 0x0;return{'process':_0x29b6cd(_0xdae856,['lsp-proxy',_0x416efe(_0x386ea9._0x3fd94f,0x7,_0x386ea9._0x2d3f33,-_0x386ea9._0xe801c6)],{'cwd':_0xa2fea2,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x58800d){const _0x47e468={_0x58931b:0x1ea,_0x17d015:0x2cb,_0x49bd80:0x294,_0x541616:0x139,_0x3cf775:0xaa,_0x3cc970:0x11c},_0x4457c1={_0x41f8a9:0x1c5,_0x5815c2:0x21d},_0x308977={_0x4f563a:0x278};function _0x4ad958(_0x33fbbf,_0x835680,_0xf2ec70,_0x5542e0){return _0x511cdd(_0x33fbbf-0x6c,_0x835680-0xc1,_0x835680,_0xf2ec70- -_0x308977._0x4f563a);}function _0x9d1c56(_0x52f769,_0x1ea485,_0x485e93,_0x4002aa){return _0x511cdd(_0x52f769-0x16c,_0x1ea485-_0x4457c1._0x41f8a9,_0x4002aa,_0x1ea485- -_0x4457c1._0x5815c2);}const _0x2fcead=_0x5987f5['extname'](_0x58800d)[_0x9d1c56(_0x47e468._0x58931b,_0x47e468._0x17d015,_0x47e468._0x49bd80,_0x47e468._0x541616)]();return BUILTIN_LSP_SERVERS[_0x9d1c56(0x117,-0x71,_0x47e468._0x3cf775,-_0x47e468._0x3cc970)](_0x461f74=>_0x461f74[_0x4ad958(0x1fe,0x35b,0x1c1,0x1d5)][_0x4ad958(0xea,-0x13f,-0xc2,-0x57)](_0x2fcead));}function stateKey(_0x97779e,_0x51e79a){return _0x51e79a+':'+_0x97779e['id'];}function diagnosticsKeyToPath(_0x531413){const _0x35d949={_0x43da6a:0x61d,_0x5d38b1:0x719,_0x5427d1:0x825,_0x116021:0x53f,_0xa376f0:0x49e},_0x4c58cd={_0x2165b8:0xc9,_0x35c0d7:0x18c},_0x33501b={_0x2e1d55:0x6d,_0x1b55ab:0x372};function _0x11ee96(_0x3bb38a,_0x2c7d6f,_0x4446af,_0x53ff10){return _0x511cdd(_0x3bb38a-0xc9,_0x2c7d6f-_0x33501b._0x2e1d55,_0x2c7d6f,_0x4446af-_0x33501b._0x1b55ab);}if(!_0x531413[_0x11ee96(0x725,_0x35d949._0x43da6a,_0x35d949._0x5d38b1,_0x35d949._0x5427d1)](_0x39cd3f(_0x35d949._0x116021,0x6b0,0x546,_0x35d949._0xa376f0)))return _0x531413;function _0x39cd3f(_0x2b6db0,_0x6ade66,_0x5add9f,_0x1438fb){return _0x30b865(_0x2b6db0-_0x4c58cd._0x2165b8,_0x6ade66,_0x2b6db0-0x397,_0x1438fb-_0x4c58cd._0x35c0d7);}return fileURLToPath(_0x531413);}function nextFileVersion(_0x3f3e38,_0x3964db){const _0x34d1f8={_0xe4b83:0x680,_0x30f48b:0x488,_0x52a8e6:0x653,_0x45243b:0x787,_0x5654ce:0x62b,_0x299c62:0x78c,_0x3e7b5c:0x645},_0x2f1fa5={_0x254a68:0x9b};function _0x4c822f(_0x5413cb,_0x10bf10,_0x16d705,_0x3002cb){return _0x511cdd(_0x5413cb-0x1c1,_0x10bf10-_0x2f1fa5._0x254a68,_0x5413cb,_0x3002cb-0x351);}const _0x421ff1=(_0x3f3e38[_0x4c822f(_0x34d1f8._0xe4b83,_0x34d1f8._0x30f48b,0x4ac,0x62b)]['get'](_0x3964db)??0x1)+0x1;function _0x110958(_0x41aebf,_0x2b7f8c,_0x1f202e,_0x5a9b16){return _0x511cdd(_0x41aebf-0x41,_0x2b7f8c-0x151,_0x5a9b16,_0x41aebf-0x262);}return _0x3f3e38[_0x4c822f(0x778,_0x34d1f8._0x52a8e6,_0x34d1f8._0x45243b,_0x34d1f8._0x5654ce)][_0x110958(_0x34d1f8._0x299c62,0x5a2,_0x34d1f8._0x3e7b5c,0x783)](_0x3964db,_0x421ff1),_0x421ff1;}async function collectClientResults(_0x26d5b4){const _0x544b98={_0x4e0df3:0x398},_0x592bfc={_0x393e1a:0x4c,_0x186fef:0x10e},_0x21fc12={_0x448c08:0xa6,_0x3db6dd:0x2ca};function _0x5a6705(_0x4502fe,_0x14e29c,_0xd2094d,_0x41ad0b){return _0x511cdd(_0x4502fe-0x1b6,_0x14e29c-_0x21fc12._0x448c08,_0x14e29c,_0x4502fe-_0x21fc12._0x3db6dd);}const _0x555af5=await Promise['allSettled'](_0x26d5b4);function _0x4b1ee7(_0x3cf9ba,_0x2f3120,_0x47011e,_0x536c52){return _0x511cdd(_0x3cf9ba-_0x592bfc._0x393e1a,_0x2f3120-_0x592bfc._0x186fef,_0x2f3120,_0x536c52- -0x120);}return _0x555af5[_0x4b1ee7(0x287,0x4f2,0x2c4,_0x544b98._0x4e0df3)](_0x17e2ee=>_0x17e2ee[_0x5a6705(0x74f,0x600,0x6cb,0x745)]===_0x5a6705(0x555,0x641,0x3bf,0x733)?_0x17e2ee[_0x4b1ee7(0x305,0x12a,0xbd,0x276)]:[]);}function createLspService(_0x43b07a={}){const _0x5e2d5d={_0x4e2f86:0x71d,_0x1ef0ab:0x5a9},_0x162821={_0x4dd54e:0x5ae,_0x3e333e:0x792,_0x358d3d:0x4ac,_0x59dff2:0x817,_0x27d6:0x8de,_0x109059:0x1ef,_0x3836e6:0x404,_0x3b4ce5:0x58d,_0x11ba1e:0x5cf,_0x4ebb33:0x3d4,_0x274ac1:0x4af,_0x29ec1f:0x387,_0xe35025:0x411,_0x445aca:0x56a,_0x473876:0x426,_0x4c7613:0x562,_0x14cf2e:0x2ee,_0x2964b9:0x6ca,_0x2963f2:0x56d,_0x135c9b:0x532,_0x2d50e4:0x5b8,_0x278716:0x34f,_0xf74ed6:0x66,_0xc8719c:0x2d9,_0xd045ab:0x426,_0x3ea9c7:0x4d9},_0x4c97b3={_0x1c62ce:0x10c},_0x3aff95={_0x26fa87:0x30c},_0x2b34ee={_0xcfa3d8:0x4a0,_0x28183a:0x2a2},_0x351d3e={_0x22f6b1:0xb6},_0x156192={_0x5a6525:0x218,_0x32dcbe:0x2f8,_0x1702ea:0x21b},_0x55ce2d={_0xe61737:0x178},_0x2b44fc={_0x39bc00:0x184,_0x4b378e:0x143},_0x916625={_0x355fe5:0x7,_0x5a0400:0xac,_0x44636d:0x158},_0xa97bf2={_0x213017:0x901,_0x406d88:0xa4e},_0x12e484={_0x21011e:0x5cf,_0x331dc5:0x775,_0x1bbd4f:0x902},_0x53d09c={_0x5d01cb:0x725,_0x40c4a3:0xaf},_0x3c0380={_0x35fdfb:0x1c4},_0x324109={_0x313751:0x124,_0x3812e9:0x97},_0x2ff0a5={_0x1d010e:0x5bd,_0x55b5cc:0x491,_0x343ac8:0x50f},_0x46ae71={_0x38d984:0x442,_0xe468d6:0xdf,_0x471a70:0x269,_0x23634b:0x6e0},_0x27699f={_0x12770a:0x53d},_0x178af8={_0x53562c:0x5a8,_0x256dec:0x797,_0x4e1bab:0x5a8,_0x1587c6:0x675},_0x1814fc={_0x445674:0x7,_0xfec08:0x5d},_0x5441f2={_0x528753:0x12a,_0xff8c9d:0x22a,_0x441fd6:0x349,_0x21ad04:0x2f7},_0x61e5b={_0x3b72d7:0x115},_0x52e124={_0x103b67:0x3c,_0xf85054:0x118,_0x471c2d:0xf2,_0x2de2bb:0x28,_0x40b2e2:0x15a,_0x45ff78:0x1f7,_0x54a2eb:0x8f,_0x278a9a:0x1b8},_0x17c8d4={_0x52029b:0x240,_0x59a1a1:0x95},_0x3f7849={_0x5dcf92:0xd7},_0x575105={_0x11a023:0x62c,_0x504448:0x5ae,_0x198ad8:0x2c2,_0xff543b:0x830,_0x4e49e4:0x682,_0x3b08de:0x89e,_0x478546:0x6e0,_0x5085cb:0x9dd,_0x51ca97:0x454,_0xfe7893:0x6e2,_0xe0a022:0x955,_0x348d1e:0xa70,_0xb52f42:0x947},_0x1f94b4={_0x23caef:0x323,_0x4eeb35:0x165,_0x595b75:0xc6,_0x668613:0x34,_0x3c2d3e:0x13d,_0x4864d0:0x1ca,_0x518217:0xa8,_0x2c1385:0x18e,_0xf55f76:0x3e,_0x1e9a9f:0xb2,_0x5c73e8:0x47,_0x44f18c:0x32b,_0xc99a74:0x2a0,_0x41d712:0x5b,_0x48b85b:0x21e},_0xd3fb7={_0x3f5411:0x15f},_0xdbfcdc={_0x32e37e:0x10e,_0x2d5b26:0x117},_0x1a5784={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]};function _0x3658df(_0x571dd1,_0xaed36e,_0x2a5332,_0x2a0a6c){return _0x30b865(_0x571dd1-0x4d,_0x2a0a6c,_0x571dd1- -_0xdbfcdc._0x32e37e,_0x2a0a6c-_0xdbfcdc._0x2d5b26);}const _0x1cc24e=()=>_0x43b07a[_0x3658df(-0x183,-0x11a,-0x2f,-0x33d)]!==![];async function _0x5e3742(_0x493419,_0x38f937){const _0x3ac4b5={_0x53e614:0x4f6,_0x50712b:0x18d},_0x1672e8=stateKey(_0x493419,_0x38f937);function _0x4afe71(_0xcac724,_0x49ea7f,_0x384916,_0x45776e){return _0x3658df(_0xcac724-0x721,_0x49ea7f-0x68,_0x384916-_0xd3fb7._0x3f5411,_0x45776e);}const _0x4f76ab=_0x1a5784['clients'][_0x164c07(0x429,_0x575105._0x11a023,_0x575105._0x504448,_0x575105._0x198ad8)](_0x276bd9=>_0x276bd9['serverId']===_0x493419['id']&&_0x276bd9[_0x164c07(0x52b,0x697,0x72c,0x3eb)]===_0x38f937);if(_0x4f76ab)return _0x4f76ab;if(_0x1a5784['broken'][_0x4afe71(_0x575105._0xff543b,0x983,0x9c4,0x8d0)](_0x1672e8))return void 0x0;const _0x101006=_0x1a5784[_0x4afe71(0x6cf,_0x575105._0x4e49e4,0x5ff,0x667)][_0x4afe71(_0x575105._0x3b08de,0x80c,_0x575105._0x478546,_0x575105._0x5085cb)](_0x1672e8);if(_0x101006)return _0x101006;function _0x164c07(_0x262588,_0x33255b,_0x11f4e8,_0x33f666){return _0x3658df(_0x262588-0x591,_0x33255b-0x5a,_0x11f4e8-0x7e,_0x33255b);}const _0x39fdce=((async()=>{const _0xe1c2ff={_0x593cf7:0x5bb,_0x2da2a8:0x161};function _0x1c4620(_0x32e5de,_0x286446,_0x126955,_0x34ab87){return _0x164c07(_0x126955- -_0x3ac4b5._0x53e614,_0x286446,_0x126955-_0x3ac4b5._0x50712b,_0x34ab87-0x126);}function _0x44226e(_0x3d271e,_0x581e6d,_0x1d949e,_0x4fcb86){return _0x4afe71(_0x4fcb86- -_0xe1c2ff._0x593cf7,_0x581e6d-_0xe1c2ff._0x2da2a8,_0x1d949e-0x1f3,_0x3d271e);}try{const _0x4c1c62=await _0x493419['spawn'](_0x38f937);if(!_0x4c1c62)return _0x1a5784['broken'][_0x1c4620(_0x1f94b4._0x23caef,0xa9,0x16c,0x8e)](_0x1672e8),void 0x0;const _0x43c3f6=await createLspClient({'server':_0x493419,'root':_0x38f937,'handle':_0x4c1c62}),_0x3eb524=_0x1a5784[_0x1c4620(_0x1f94b4._0x4eeb35,0xbb,_0x1f94b4._0x595b75,_0x1f94b4._0x668613)][_0x44226e(_0x1f94b4._0x3c2d3e,-_0x1f94b4._0x4864d0,-0x78,-0x2)](_0x4e89a1=>_0x4e89a1['serverId']===_0x493419['id']&&_0x4e89a1['root']===_0x38f937);if(_0x3eb524)return await _0x43c3f6[_0x44226e(0x25e,0x5a,0x2b5,_0x1f94b4._0x518217)](),_0x3eb524;return _0x1a5784[_0x1c4620(_0x1f94b4._0x2c1385,0x17e,_0x1f94b4._0x595b75,-0x9e)][_0x1c4620(_0x1f94b4._0xf55f76,-0x94,0x17f,-0x29)](_0x43c3f6),_0x43c3f6;}catch{return _0x1a5784[_0x1c4620(-0xa2,0x58,-_0x1f94b4._0x1e9a9f,-_0x1f94b4._0x5c73e8)][_0x1c4620(-0x52,_0x1f94b4._0x44f18c,0x16c,0x239)](_0x1672e8),void 0x0;}finally{_0x1a5784[_0x44226e(_0x1f94b4._0xc99a74,-0x47,-_0x1f94b4._0x41d712,0x114)][_0x44226e(0x27b,0x20e,0x20,_0x1f94b4._0x48b85b)](_0x1672e8);}})());return _0x1a5784[_0x164c07(0x53f,0x3fa,_0x575105._0x51ca97,_0x575105._0xfe7893)][_0x4afe71(_0x575105._0xe0a022,0x759,_0x575105._0x348d1e,_0x575105._0xb52f42)](_0x1672e8,_0x39fdce),_0x39fdce;}async function _0x14e5f8(_0x12dad4,_0x23acd9){if(!_0x1cc24e())return[];const _0x4efc88=[];function _0x1beedc(_0x22bede,_0x4882db,_0x3ac702,_0x4cb4cc){return _0x3658df(_0x22bede-0x76,_0x4882db-0x9,_0x3ac702-_0x3f7849._0x5dcf92,_0x3ac702);}for(const _0x28fbf8 of getServersForFile(_0x12dad4)){const _0x4bc1ca=await _0x28fbf8[_0x1beedc(0x10,-_0x52e124._0x103b67,_0x52e124._0xf85054,-0xd3)](_0x12dad4);if(!_0x4bc1ca)continue;const _0x7a15ac=stateKey(_0x28fbf8,_0x4bc1ca);if(_0x1a5784[_0x4ba0e2(0x2cf,0xf3,0x245,-0xd0)]['has'](_0x7a15ac))continue;const _0x46a7c3=_0x1a5784['clients'][_0x1beedc(-_0x52e124._0x471c2d,-0x87,-0x266,_0x52e124._0x2de2bb)](_0x4ff39a=>_0x4ff39a[_0x1beedc(-0x97,0x56,0x141,-0x99)]===_0x28fbf8['id']&&_0x4ff39a[_0x4ba0e2(0x48,0x1da,0x145,0x289)]===_0x4bc1ca);if(_0x46a7c3){_0x4efc88['push'](_0x46a7c3);continue;}if(!_0x23acd9)continue;const _0x4a5544=await _0x5e3742(_0x28fbf8,_0x4bc1ca);if(_0x4a5544)_0x4efc88[_0x1beedc(_0x52e124._0x40b2e2,_0x52e124._0x45ff78,-_0x52e124._0x54a2eb,_0x52e124._0x278a9a)](_0x4a5544);}function _0x4ba0e2(_0x3b8e13,_0x39fc54,_0x2a5f63,_0x93be3d){return _0x3658df(_0x39fc54-_0x17c8d4._0x52029b,_0x39fc54-0x10c,_0x2a5f63-_0x17c8d4._0x59a1a1,_0x3b8e13);}return _0x4efc88;}async function _0x270d6f(_0x31e582,_0x25e6e5=![]){const _0x448623={_0x16df5f:0x1fb,_0x3ee2df:0x9d,_0x9ead2f:0x396,_0x12aa8e:0xc8,_0xc35d10:0x2d8,_0x251fd0:0x3d4,_0x59efc5:0x28d,_0x495222:0x26a,_0xbb3343:0x242,_0x4fee80:0x1fb,_0x429512:0x1ec,_0x4fe9ed:0x39d,_0x36c015:0xfc,_0x583685:0x10e,_0x494f3a:0x15c,_0x1ccc7e:0x1b5,_0x4debb1:0x265},_0xbb1a8a={_0xafe384:0x110},_0xcebc6f=await _0x14e5f8(_0x31e582,!![]);function _0x1047f2(_0x45a344,_0x1da065,_0x3f632d,_0x50d55a){return _0x3658df(_0x1da065-0x31a,_0x1da065-0x0,_0x3f632d-0xf9,_0x45a344);}function _0xec454a(_0x43efea,_0x255233,_0x5f41ff,_0x17e3c2){return _0x3658df(_0x43efea-0x29f,_0x255233-_0x61e5b._0x3b72d7,_0x5f41ff-0xd0,_0x5f41ff);}await Promise[_0xec454a(0x1f9,_0x5441f2._0x528753,_0x5441f2._0xff8c9d,_0x5441f2._0x441fd6)](_0xcebc6f[_0x1047f2(0x3db,0x504,_0x5441f2._0x21ad04,0x3c6)](async _0x389ef7=>{const _0x4ed97b={_0x256f38:0x16f};!_0x1a5784[_0x156d5e(0x194,_0x448623._0x16df5f,_0x448623._0x3ee2df,_0x448623._0x9ead2f)][_0x338e8f(_0x448623._0x12aa8e,0x2ba,_0x448623._0xc35d10,_0x448623._0x251fd0)](_0x389ef7['serverId']+':'+_0x389ef7['root']+':'+_0x31e582)&&(await _0x389ef7[_0x156d5e(_0x448623._0x59efc5,_0x448623._0x495222,_0x448623._0xbb3343,0x3b5)][_0x156d5e(_0x448623._0x4fee80,_0x448623._0x429512,0x33d,0x17)]({'path':_0x31e582}),_0x1a5784[_0x156d5e(_0x448623._0x4fe9ed,_0x448623._0x16df5f,_0x448623._0x36c015,_0x448623._0x583685)]['add'](_0x389ef7[_0x338e8f(_0x448623._0x494f3a,0x9e,0xf5,_0x448623._0x1ccc7e)]+':'+_0x389ef7['root']+':'+_0x31e582));function _0x338e8f(_0x10a69d,_0x124e08,_0x14a243,_0x194516){return _0x1047f2(_0x194516,_0x124e08- -_0x4ed97b._0x256f38,_0x14a243-0x1f1,_0x194516-0x43);}await _0x389ef7['notify']['change']({'path':_0x31e582,'version':nextFileVersion(_0x1a5784,_0x31e582)});function _0x156d5e(_0x57c1a6,_0x185b1e,_0x3755f9,_0x4fdbe0){return _0x1047f2(_0x4fdbe0,_0x185b1e-0x7c,_0x3755f9-_0xbb1a8a._0xafe384,_0x4fdbe0-0x45);}if(_0x25e6e5)await _0x389ef7[_0x338e8f(_0x448623._0x4debb1,0x224,0xac,0x2f2)]({'path':_0x31e582});}));}async function _0x247c9c(_0x5a814c){await _0x270d6f(_0x5a814c[_0x2df6d5(0x4c5,_0x178af8._0x53562c,0x692,_0x178af8._0x256dec)],![]);function _0x44c792(_0x517613,_0x5d9314,_0x51a1a1,_0x2b3659){return _0x3658df(_0x517613-0x765,_0x5d9314-0x151,_0x51a1a1-0x10d,_0x51a1a1);}function _0x2df6d5(_0x4c5a09,_0x2a3f6c,_0x9d5beb,_0x12f8d0){return _0x3658df(_0x2a3f6c-0x422,_0x2a3f6c-_0x1814fc._0x445674,_0x9d5beb-_0x1814fc._0xfec08,_0x4c5a09);}return _0x14e5f8(_0x5a814c[_0x2df6d5(0x6b0,_0x178af8._0x4e1bab,_0x178af8._0x1587c6,0x5d0)],![]);}async function _0x4afa30(_0x1259da){function _0x4a5301(_0x3de269,_0x1bcc3d,_0x5b0e98,_0xc23cb9){return _0x3658df(_0xc23cb9-0x1b3,_0x1bcc3d-0xc3,_0x5b0e98-0x9c,_0x1bcc3d);}function _0x1376d2(_0x41c901,_0x3d40cd,_0x1bcf66,_0x5e7ea2){return _0x3658df(_0x3d40cd-0x62b,_0x3d40cd-0x2f,_0x1bcf66-0x99,_0x41c901);}const _0x1aab5d=await _0x247c9c(_0x1259da);return collectClientResults(_0x1aab5d['map'](_0x246974=>_0x246974[_0x1376d2(0x432,0x543,0x69d,0x459)][_0x4a5301(0x3e1,0x413,0x56e,0x3b0)](_0x1259da)));}return{'isEnabled':_0x1cc24e,async 'hasClients'(_0x3d7063){const _0x5d5b4e={_0x95dcc8:0x275,_0x41ff73:0x69};function _0x39d542(_0x235b91,_0x58c642,_0x7918fd,_0x260603){return _0x3658df(_0x260603-_0x5d5b4e._0x95dcc8,_0x58c642-0x123,_0x7918fd-_0x5d5b4e._0x41ff73,_0x7918fd);}return(await _0x14e5f8(_0x3d7063,![]))['length']>0x0||getServersForFile(_0x3d7063)[_0x39d542(_0x27699f._0x12770a,0x3ec,0x28e,0x36c)]>0x0;},'touchFile':_0x270d6f,async 'diagnostics'(){const _0x3a93fc={};for(const _0x3e04cf of _0x1a5784['clients']){for(const [_0x562c88,_0x5e600a]of _0x3e04cf['diagnostics']){_0x3a93fc[diagnosticsKeyToPath(_0x562c88)]=_0x5e600a;}}return _0x3a93fc;},async 'diagnosticsForFile'(_0x4213dc){const _0x3fcf6d={_0xe4a1d7:0x130,_0x1c161b:0x131,_0x5d2e56:0x3};await _0x270d6f(_0x4213dc,!![]);function _0x76a8ee(_0x5397b7,_0x4bcfad,_0x4e2122,_0x16fbce){return _0x3658df(_0x4e2122-_0x3fcf6d._0xe4a1d7,_0x4bcfad-_0x3fcf6d._0x1c161b,_0x4e2122-_0x3fcf6d._0x5d2e56,_0x5397b7);}const _0x591f1a=[];function _0x5596a5(_0x42a29d,_0x415fff,_0x208ecf,_0x2f78e6){return _0x3658df(_0x415fff-0x68c,_0x415fff-0x14c,_0x208ecf-0xcd,_0x208ecf);}for(const _0x587bed of await _0x14e5f8(_0x4213dc,![])){for(const [_0x137936,_0x5e68cd]of _0x587bed[_0x76a8ee(_0x46ae71._0x38d984,_0x46ae71._0xe468d6,_0x46ae71._0x471a70,0x185)]){if(diagnosticsKeyToPath(_0x137936)===_0x4213dc)_0x591f1a[_0x5596a5(_0x46ae71._0x23634b,0x770,0x5e1,0x67f)](..._0x5e68cd);}}return _0x591f1a;},async 'definition'(_0x3145fb){const _0x1ac066={_0x14a4ea:0x154},_0x44e567={_0x13e420:0x95};function _0x28b35f(_0x5a2ed9,_0x39a0ed,_0x419c4e,_0x33dd69){return _0x3658df(_0x419c4e-0x764,_0x39a0ed-0x7f,_0x419c4e-_0x44e567._0x13e420,_0x39a0ed);}function _0x55d6de(_0x1f4b1a,_0xde035e,_0x3c1e00,_0x45d634){return _0x3658df(_0x45d634-0x325,_0xde035e-_0x1ac066._0x14a4ea,_0x3c1e00-0x1bd,_0xde035e);}return collectClientResults((await _0x247c9c(_0x3145fb))[_0x55d6de(0x52c,_0x2ff0a5._0x1d010e,_0x2ff0a5._0x55b5cc,_0x2ff0a5._0x343ac8)](_0x342d93=>_0x342d93[_0x55d6de(0x3db,0x212,0x250,0x23d)][_0x55d6de(0x166,0x15e,0x2e9,0x1f0)](_0x3145fb)));},async 'references'(_0x4ff773){function _0x3d8ba3(_0x37e610,_0x4ac385,_0x47e4b1,_0x4366eb){return _0x3658df(_0x4ac385-_0x324109._0x313751,_0x4ac385-0x112,_0x47e4b1-_0x324109._0x3812e9,_0x4366eb);}function _0x5b03a(_0x257211,_0x593a5f,_0x10041f,_0x4261dd){return _0x3658df(_0x10041f-_0x3c0380._0x35fdfb,_0x593a5f-0x153,_0x10041f-0x5d,_0x593a5f);}return collectClientResults((await _0x247c9c(_0x4ff773))['map'](_0x1417a0=>_0x1417a0[_0x3d8ba3(-0x1,0x3c,-0xd8,0x0)][_0x3d8ba3(0x134,0xa0,0x216,0x133)](_0x4ff773)));},async 'hover'(_0xab1173){const _0x5a146f={_0x157713:0x3e5,_0x4753b6:0x181};function _0xf06c0(_0x59de3d,_0x56eb2c,_0x42ffc0,_0xac2e2a){return _0x3658df(_0x42ffc0-_0x5a146f._0x157713,_0x56eb2c-_0x5a146f._0x4753b6,_0x42ffc0-0x1a9,_0x59de3d);}function _0x409abb(_0x12ab36,_0x3580ae,_0x148aa9,_0x1fc920){return _0x3658df(_0x3580ae-_0x53d09c._0x5d01cb,_0x3580ae-_0x53d09c._0x40c4a3,_0x148aa9-0x153,_0x12ab36);}const _0x36a9fa=await Promise['allSettled']((await _0x247c9c(_0xab1173))[_0xf06c0(0x44c,0x406,_0x12e484._0x21011e,_0x12e484._0x331dc5)](_0x461b4f=>_0x461b4f['request'][_0xf06c0(0x3b3,0x534,0x5a6,0x3b2)](_0xab1173)));return _0x36a9fa[_0x409abb(0x964,0x8e7,_0x12e484._0x1bbd4f,0x7db)](_0x30038a=>_0x30038a[_0xf06c0(0x4ae,0x56e,0x574,0x578)]===_0xf06c0(0x21d,0x3e1,0x37a,0x534)&&_0x30038a[_0xf06c0(0x350,0x34d,0x485,0x431)]?[_0x30038a[_0xf06c0(0x5b8,0x4bf,0x485,0x28d)]]:[]);},async 'documentSymbol'(_0x30469b){const _0x42a148={_0x3210f3:0xce,_0x529599:0x131},_0x2acbbb={_0x243333:0x790,_0xa2dfb3:0x96};function _0xe689e8(_0x2b2710,_0x10ded5,_0x35ce45,_0x2c82e5){return _0x3658df(_0x10ded5-_0x2acbbb._0x243333,_0x10ded5-0x1b5,_0x35ce45-_0x2acbbb._0xa2dfb3,_0x2c82e5);}await _0x270d6f(_0x30469b,![]);function _0x9d355c(_0x3e1a2c,_0x40085e,_0x177586,_0x9e8b84){return _0x3658df(_0x40085e-0x2af,_0x40085e-_0x42a148._0x3210f3,_0x177586-_0x42a148._0x529599,_0x3e1a2c);}return collectClientResults((await _0x14e5f8(_0x30469b,![]))[_0xe689e8(_0xa97bf2._0x213017,0x97a,0xb27,_0xa97bf2._0x406d88)](_0x3c46b9=>_0x3c46b9[_0xe689e8(0x8a2,0x6a8,0x697,0x795)][_0xe689e8(0x534,0x5e3,0x5b6,0x7d7)](_0x30469b)));},async 'workspaceSymbol'(_0x1490ab){function _0x1f08b3(_0x4aabf3,_0xa3c386,_0x588ef1,_0xf7320c){return _0x3658df(_0x588ef1-_0x916625._0x355fe5,_0xa3c386-_0x916625._0x5a0400,_0x588ef1-_0x916625._0x44636d,_0xa3c386);}function _0x32816a(_0x5c7bc6,_0x427106,_0x3b6b24,_0x48a827){return _0x3658df(_0x427106-_0x2b44fc._0x39bc00,_0x427106-_0x2b44fc._0x4b378e,_0x3b6b24-0x16f,_0x48a827);}return collectClientResults(_0x1a5784['clients']['map'](_0x1718df=>_0x1718df[_0x32816a(0x130,0x9c,-0x5a,0x113)][_0x1f08b3(-0x97,-0x248,-0x19d,-0x1eb)](_0x1490ab)));},async 'implementation'(_0x417cca){const _0x483acc={_0x53a860:0x720};function _0x13e74a(_0x5a7b45,_0x82bf86,_0x589bcb,_0x5d1eea){return _0x3658df(_0x5a7b45-_0x483acc._0x53a860,_0x82bf86-0xac,_0x589bcb-0xdd,_0x589bcb);}function _0x3b0fbe(_0x5c7bbb,_0xdc35b9,_0x48719c,_0x5d59c2){return _0x3658df(_0x5c7bbb-0x16,_0xdc35b9-_0x55ce2d._0xe61737,_0x48719c-0xf1,_0x5d59c2);}return collectClientResults((await _0x247c9c(_0x417cca))[_0x3b0fbe(0x200,_0x156192._0x5a6525,_0x156192._0x32dcbe,_0x156192._0x1702ea)](_0x1aa742=>_0x1aa742[_0x13e74a(0x638,0x80b,0x4f0,0x56b)][_0x3b0fbe(0x18d,0x235,0x2a7,0x132)](_0x417cca)));},async 'prepareCallHierarchy'(_0x24ee5a){return _0x4afa30(_0x24ee5a);},async 'incomingCalls'(_0x39fa9e){const _0x224e9a={_0x4b9805:0xa5,_0x28c848:0x1dd};function _0x5e3c46(_0xc14bc9,_0x4a20fe,_0x149a23,_0x5b0b24){return _0x3658df(_0x149a23-_0x224e9a._0x4b9805,_0x4a20fe-0x159,_0x149a23-_0x224e9a._0x28c848,_0xc14bc9);}function _0x5409fb(_0x57786c,_0x337cc1,_0x7c4606,_0x13159b){return _0x3658df(_0x13159b-0xcf,_0x337cc1-_0x351d3e._0x22f6b1,_0x7c4606-0x101,_0x337cc1);}const _0x574925=await _0x4afa30(_0x39fa9e),_0x5b5226=await _0x247c9c(_0x39fa9e);return collectClientResults(_0x5b5226[_0x5409fb(_0x2b34ee._0xcfa3d8,0x281,_0x2b34ee._0x28183a,0x291)](_0x4d2e0f=>_0x574925[_0x5e3c46(0x313,0x2d8,0x28f,0x3d3)](_0x451e74=>_0x4d2e0f[_0x5409fb(0x99,0x71,-0x148,-0x19)][_0x5e3c46(0x422,0x4de,0x2e8,0x281)](_0x451e74))));},async 'outgoingCalls'(_0x5090c9){function _0x4e0202(_0x49f98f,_0x2b2222,_0x56adc5,_0x82ee21){return _0x3658df(_0x56adc5-_0x3aff95._0x26fa87,_0x2b2222-0x46,_0x56adc5-0x149,_0x2b2222);}const _0x5ea118=await _0x4afa30(_0x5090c9),_0x5d7d4f=await _0x247c9c(_0x5090c9);function _0x2d3a1e(_0x15acbc,_0x2d602e,_0x3d25f4,_0x509bf4){return _0x3658df(_0x509bf4-0x4fb,_0x2d602e-0x8e,_0x3d25f4-_0x4c97b3._0x1c62ce,_0x2d602e);}return collectClientResults(_0x5d7d4f[_0x4e0202(0x336,0x405,0x4ce,0x3d0)](_0x4c4029=>_0x5ea118[_0x2d3a1e(0x6e2,0x657,0x739,0x6e5)](_0xc26987=>_0x4c4029[_0x2d3a1e(0x43a,0x58c,0x473,0x413)]['outgoingCalls'](_0xc26987))));},async 'shutdown'(){const _0x21fcdc={_0x39b553:0x2c},_0x3d36e2={_0x1d4a8d:0x520};if(_0x1a5784[_0x491ec0(_0x162821._0x4dd54e,_0x162821._0x3e333e,_0x162821._0x358d3d,0x48d)])return;_0x1a5784[_0x35f481(0x84d,0x6f5,_0x162821._0x59dff2,_0x162821._0x27d6)]=!![];function _0x35f481(_0x21cbce,_0x233c77,_0x51fdde,_0x4f9b83){return _0x3658df(_0x233c77-_0x3d36e2._0x1d4a8d,_0x233c77-0xb2,_0x51fdde-0x1ab,_0x21cbce);}await Promise[_0x491ec0(0x218,0xd5,_0x162821._0x109059,0x87)](_0x1a5784[_0x491ec0(_0x162821._0x3836e6,_0x162821._0x3b4ce5,_0x162821._0x11ba1e,0x3fc)][_0x491ec0(0x5c3,0x699,_0x162821._0x4ebb33,_0x162821._0x274ac1)](_0xad4a5f=>_0xad4a5f[_0x491ec0(0x31b,0x35b,0x3ca,0x366)]())),_0x1a5784['clients']=[],_0x1a5784[_0x491ec0(_0x162821._0x29ec1f,_0x162821._0xe35025,0x24b,_0x162821._0x445aca)][_0x491ec0(_0x162821._0x473876,0x37d,_0x162821._0x4c7613,_0x162821._0x14cf2e)](),_0x1a5784['broken'][_0x35f481(_0x162821._0x2964b9,_0x162821._0x2963f2,0x5b5,_0x162821._0x135c9b)](),_0x1a5784['fileVersions'][_0x491ec0(0x426,_0x162821._0x2d50e4,0x487,0x547)]();function _0x491ec0(_0x92fbcd,_0x1d73b5,_0x14a69b,_0x5f228b){return _0x3658df(_0x92fbcd-0x3d9,_0x1d73b5-_0x21fcdc._0x39b553,_0x14a69b-0x18b,_0x14a69b);}_0x1a5784[_0x491ec0(0x23e,_0x162821._0x278716,_0x162821._0xf74ed6,_0x162821._0xc8719c)][_0x491ec0(_0x162821._0xd045ab,0x59e,_0x162821._0x3ea9c7,0x5f5)]();},'status'(){const _0x1d5b3e={_0x16f117:0xc0},_0x3db677={_0x2aa89a:0x6f2};function _0x36b5e5(_0x4bc6f0,_0x7bcfb1,_0x10dbaa,_0x2ad4cf){return _0x3658df(_0x10dbaa-_0x3db677._0x2aa89a,_0x7bcfb1-0x80,_0x10dbaa-0x83,_0x4bc6f0);}function _0x378532(_0x27297b,_0x1adb4a,_0x19ef0f,_0x555add){return _0x3658df(_0x1adb4a-0x357,_0x1adb4a-_0x1d5b3e._0x16f117,_0x19ef0f-0x1b0,_0x19ef0f);}return{'connectedClients':_0x1a5784[_0x36b5e5(0x770,0x878,_0x5e2d5d._0x4e2f86,0x810)][_0x378532(0x40b,0x44e,0x3c7,_0x5e2d5d._0x1ef0ab)]};}};}function getCommand(_0x334d9e){const _0x15c4aa={_0x526bbe:0x9c1,_0x130359:0x761,_0x4c0c84:0x7b9,_0x3e9029:0x768,_0x1de47f:0x2f9,_0x31bad8:0x30a,_0x3e2ada:0x7dd,_0x112bda:0x774,_0x582c9a:0x418},_0x138d86={_0x1f8ee9:0x185,_0x3f1522:0x1e3};if(_0x334d9e&&typeof _0x334d9e==='object'&&!Array[_0xad1e01(_0x15c4aa._0x526bbe,_0x15c4aa._0x130359,_0x15c4aa._0x4c0c84,_0x15c4aa._0x3e9029)](_0x334d9e)&&typeof _0x334d9e['command']===_0x5c7fa6(0x3d0,_0x15c4aa._0x1de47f,_0x15c4aa._0x31bad8,0x2e2))return _0x334d9e[_0xad1e01(0x541,_0x15c4aa._0x3e2ada,0x700,0x512)];function _0x5c7fa6(_0xe7146e,_0x56447d,_0x44cf79,_0x3f605b){return _0x511cdd(_0xe7146e-_0x138d86._0x1f8ee9,_0x56447d-_0x138d86._0x3f1522,_0x44cf79,_0x56447d-0x170);}function _0xad1e01(_0x189f11,_0x355482,_0x4f93ec,_0x332200){return _0x30b865(_0x189f11-0x17c,_0x355482,_0x4f93ec-0x555,_0x332200-0x145);}return _0xad1e01(_0x15c4aa._0x112bda,0x54a,0x626,_0x15c4aa._0x582c9a);}var MOCK_WORKSPACE_LISTING=[_0x30b865(0x6,0x3a,0x128,-0xe),_0x511cdd(0x3e1,0x488,0x2cf,0x4c4),_0x511cdd(0x6f1,0x5a3,0x403,0x501),_0x30b865(0x3fe,0x345,0x29a,0x95),_0x30b865(0x55,-0xd2,-0xb5,-0xb7),_0x511cdd(0x5c,0x12b,0x2e4,0x1df),_0x511cdd(0x343,0x38c,0x5ac,0x442),_0x511cdd(0x130,-0x37,0x315,0x193),_0x511cdd(0x9e,0x4f,0x189,0x1f1),_0x511cdd(0x1d0,0x36e,0x138,0x19a),_0x511cdd(0xe8,0x4e,0x2cf,0x1ae),_0x511cdd(0x136,0x25d,0x109,0x23e),_0x511cdd(0x19a,0x1d3,0x26e,0x34f),_0x511cdd(0x366,0x1b2,0x329,0x3c1),_0x511cdd(0x2b6,0x16c,0x201,0x202),_0x511cdd(0x69,0x54,0x20e,0x249),_0x511cdd(0x556,0x2ea,0x662,0x496)][_0x30b865(0x25d,0x209,0x21e,0x1bf)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x30b865(0x1b2,-0xed,0xad,0x11c),'input_schema':{'type':_0x511cdd(0x3f0,0x1ec,0x2b9,0x2b0),'properties':{'command':{'type':_0x30b865(-0x264,-0x1c7,-0x5f,-0x106)}},'required':[_0x511cdd(0x2ca,0x46a,0x1d8,0x393)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x291dff){return{'output':_0x291dff,'structured':{'value':_0x291dff}};}function createUnknownToolResult(_0x14d015){const _0x4a1818={_0x6f226e:0x228,_0x1943fe:0x34a,_0x186dbd:0x2,_0x21378a:0x1d5,_0x1ecf9a:0x2cb,_0x516023:0x34a,_0x4c64f3:0x3d3},_0x1f6d3a={_0x200738:0x177},_0x5831d7={_0x548f28:0x103,_0x25445d:0x1bf};function _0x161218(_0x1f1c1b,_0x1e10a1,_0x54f6ca,_0x3c7b7c){return _0x511cdd(_0x1f1c1b-0x14c,_0x1e10a1-_0x5831d7._0x548f28,_0x1f1c1b,_0x54f6ca- -_0x5831d7._0x25445d);}function _0xc970e9(_0x25636f,_0x4a759a,_0x4eabe9,_0x4ce446){return _0x30b865(_0x25636f-0x1e6,_0x4eabe9,_0x4ce446-0x9a,_0x4ce446-_0x1f6d3a._0x200738);}return{'callId':_0x14d015['id'],'toolName':_0x14d015[_0x161218(_0x4a1818._0x6f226e,0x320,_0x4a1818._0x1943fe,0x1a2)],'status':_0x161218(0x37a,-_0x4a1818._0x186dbd,_0x4a1818._0x21378a,0x285),'output':'Unknown\x20tool:\x20'+_0x14d015[_0x161218(0x240,_0x4a1818._0x1ecf9a,_0x4a1818._0x516023,_0x4a1818._0x4c64f3)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x1a27b2,_0x2b14d2){const _0xd5a2b3={_0x319741:0x4f6,_0x269f15:0x5a9,_0x490e7f:0x656,_0x5de341:0x5f7},_0x20adb6={_0x474649:0x1d5};function _0x5afb67(_0x5c8932,_0x229383,_0x367a68,_0x1fd757){return _0x30b865(_0x5c8932-0x9e,_0x1fd757,_0x5c8932-_0x20adb6._0x474649,_0x1fd757-0x1a3);}return{'callId':_0x1a27b2['id'],'toolName':_0x1a27b2[_0x5afb67(_0xd5a2b3._0x319741,_0xd5a2b3._0x269f15,_0xd5a2b3._0x490e7f,_0xd5a2b3._0x5de341)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x1a27b2['input']),'exitCode':0x0},'chunks':[_0x2b14d2],'meta':createMeta()};}function createMockToolRuntime(){const _0x13717c={_0x2ff5a5:0x281,_0x3c649d:0x107,_0x3ca800:0x397,_0x1362c0:0x19b},_0x2907a7={_0x43503b:0x20d},_0x2fb151={_0x583acd:0xb,_0x5f08b1:0xf5},_0x3f11e1=async(_0x2e0890,_0x520244)=>{const _0xd9f314={_0x3d8af8:0x204};function _0x529766(_0x1025a3,_0x2b7ea7,_0x4618c3,_0xcc562b){return _0x56d3(_0xcc562b- -_0xd9f314._0x3d8af8,_0x2b7ea7);}if(_0x2e0890['name']!==_0x529766(-_0x2fb151._0x583acd,0x2a8,0x307,_0x2fb151._0x5f08b1))return createUnknownToolResult(_0x2e0890);const _0x385804=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x2e0890,_0x385804);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x142bc6,_0x49b618){const _0x4f9136={_0x1b3051:0x2d6};function _0x4806fc(_0x55d39f,_0x38272c,_0x1ff92b,_0x3c36bc){return _0x56d3(_0x1ff92b- -_0x4f9136._0x1b3051,_0x55d39f);}function _0x2c5ca2(_0x107c11,_0x1242b3,_0x75d3d1,_0x145f78){return _0x56d3(_0x1242b3- -_0x2907a7._0x43503b,_0x145f78);}return await Promise[_0x2c5ca2(_0x13717c._0x2ff5a5,_0x13717c._0x3c649d,0xb5,0x2aa)](_0x142bc6[_0x2c5ca2(0x2e5,_0x13717c._0x3ca800,_0x13717c._0x1362c0,0x2fa)](async _0x3d2110=>{return await _0x3f11e1(_0x3d2110,_0x49b618);}));},async 'execute'(_0x1746cf,_0x208e02){return await _0x3f11e1(_0x1746cf,_0x208e02);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0x30b865(0x260,0x3,0xb5,-0x38),_0x511cdd(0x34a,0x284,0x180,0x17f),'powerful'],DelegatedResolutionError=class extends Error{['requestedModelTier'];[_0x30b865(0x3ad,0x87,0x21f,0x76)];[_0x511cdd(0x18b,0x1d5,0x3a1,0x291)];constructor(_0x3cb3b2,_0x29af88,_0x74baac){const _0x4d3dde={_0x4549a8:0x2f9,_0x14c615:0x502,_0xa3e76a:0x5e,_0x439921:0x131,_0x3f1406:0x3a9,_0x118217:0x582,_0x12e858:0x2d4},_0x2b50ec={_0x56bf92:0x36},_0x3ed46a={_0xeca45d:0x7};super(_0x3cb3b2,_0x74baac);function _0x39d60d(_0x4eb813,_0x5613af,_0x14b0f4,_0x5fa707){return _0x511cdd(_0x4eb813-0x1e,_0x5613af-0x7,_0x4eb813,_0x5fa707- -_0x3ed46a._0xeca45d);}this[_0x39d60d(0x463,0x3f2,_0x4d3dde._0x4549a8,_0x4d3dde._0x14c615)]=_0x39d60d(-0x3e,_0x4d3dde._0xa3e76a,0x16e,_0x4d3dde._0x439921),this['requestedModelTier']=_0x29af88[_0x488882(_0x4d3dde._0x3f1406,0x656,0x2b3,0x447)],this['agentModelSet']=_0x29af88[_0x39d60d(_0x4d3dde._0x118217,0x1fe,0x578,0x400)];function _0x488882(_0x59a472,_0x5332dc,_0xf60b0a,_0x2dca1b){return _0x30b865(_0x59a472-0x63,_0xf60b0a,_0x2dca1b-0x38d,_0x2dca1b-_0x2b50ec._0x56bf92);}this[_0x488882(0x438,0x2d3,_0x4d3dde._0x12e858,0x436)]=_0x29af88['selector'];}};function createDelegatedRunId(){const _0x1927fe={_0x356048:0x1a7,_0x4f9af1:0x20a,_0x4e6376:0x7},_0x38899c={_0x12e6d9:0x7a,_0x22e932:0xfc};function _0x4a6c5b(_0x5ef61d,_0xad66cb,_0x1fc555,_0x429dab){return _0x30b865(_0x5ef61d-0xd,_0x429dab,_0xad66cb-_0x38899c._0x12e6d9,_0x429dab-_0x38899c._0x22e932);}return _0x4a6c5b(_0x1927fe._0x356048,_0x1927fe._0x4f9af1,0x13f,_0x1927fe._0x4e6376)+randomUUID();}function rethrowDelegatedError(_0x14648b){throw _0x14648b;}async function resolveDelegatedAgentOptions(_0x2a338b,_0x19d95b){const _0x214d80={_0x15438b:0x713},_0x25cebf={_0x48b6b8:0x5a6},_0x1ba6dc=typeof _0x2a338b==='function'?await _0x2a338b(_0x19d95b):_0x2a338b;function _0x1d708c(_0x33c1ff,_0x225f06,_0x4d9e27,_0x322854){return _0x30b865(_0x33c1ff-0x127,_0x322854,_0x33c1ff-_0x25cebf._0x48b6b8,_0x322854-0xa3);}return typeof _0x1ba6dc==='object'&&_0x1ba6dc!==null&&Object['hasOwn'](_0x1ba6dc,_0x1d708c(0x530,0x5c6,0x6c4,_0x214d80._0x15438b))?_0x1ba6dc:{'options':_0x1ba6dc};}function awaitWithAbort(_0x37060e,_0x5d74c4){const _0x3e4d80={_0x535f6d:0xd0};return throwIfAborted(_0x5d74c4),new Promise((_0x335c2f,_0x5cd6e5)=>{const _0x172c1e={_0x401f02:0x347,_0x5dcff6:0x419},_0x45f4f6={_0x1032e4:0xdb};function _0x36b3f9(_0x2b11c6,_0x41850a,_0x3dd346,_0x14e0d3){return _0x56d3(_0x3dd346- -0x2d8,_0x2b11c6);}let _0x968b06=![];const _0x4cdf4e=addAbortListener(_0x5d74c4,()=>{if(_0x968b06)return;function _0x177b11(_0x17dd15,_0xe88225,_0x162740,_0x4331f5){return _0x56d3(_0x4331f5- -_0x45f4f6._0x1032e4,_0x162740);}_0x968b06=!![],_0x5cd6e5(toAbortError(_0x5d74c4[_0x177b11(0x207,_0x172c1e._0x401f02,_0x172c1e._0x5dcff6,0x31e)]));});_0x37060e[_0x36b3f9(-0x5,-_0x3e4d80._0x535f6d,0xba,0x87)](_0x18a925=>{if(_0x968b06)return;_0x968b06=!![],_0x4cdf4e(),_0x335c2f(_0x18a925);},_0x38e515=>{if(_0x968b06)return;_0x968b06=!![],_0x4cdf4e(),_0x5cd6e5(_0x38e515);});});}function getDelegatedAgentDefinition(_0x528470,_0x20882c){const _0x28784b={_0x5bee52:0x674,_0x391419:0x872},_0x4c26f4={_0x309aec:0x1c1,_0x385e13:0x44d};function _0x53e3f2(_0x165c67,_0x55adf2,_0x20b77c,_0x4cc390){return _0x511cdd(_0x165c67-0x1cd,_0x55adf2-_0x4c26f4._0x309aec,_0x20b77c,_0x4cc390-_0x4c26f4._0x385e13);}return _0x528470[_0x53e3f2(_0x28784b._0x5bee52,_0x28784b._0x391419,0x912,0x76c)]?.[_0x20882c];}function createRoutingSummary(_0x29665c){const _0xc2af23={_0x5b6ed0:0x453,_0x1eefa0:0x5a3,_0xc6ecb9:0x4f0,_0x530fec:0x1a1,_0x48926c:0x184,_0x29f063:0x17,_0x7f680a:0x124,_0x21c1f5:0x13,_0x38561d:0x3c,_0x4290f4:0x12,_0x4f8ff7:0x33a,_0x3beb22:0x417,_0x51b154:0x3fe,_0x2b297e:0x3ea},_0x3bc07a={_0x2bfd48:0x28b},_0x4d82f1={_0x120d9b:0x47,_0x161de9:0x184};if(_0x29665c[_0x188f57(0x630,_0xc2af23._0x5b6ed0,_0xc2af23._0x1eefa0,_0xc2af23._0xc6ecb9)]===void 0x0)return{};function _0x188f57(_0xcd0b0a,_0x4e468f,_0x36db37,_0x550c42){return _0x511cdd(_0xcd0b0a-_0x4d82f1._0x120d9b,_0x4e468f-_0x4d82f1._0x161de9,_0x550c42,_0x4e468f-0x1b1);}function _0x3b139e(_0x4756fd,_0x584eb6,_0x30983c,_0x3ef2e5){return _0x511cdd(_0x4756fd-0x1c6,_0x584eb6-0x55,_0x4756fd,_0x3ef2e5- -_0x3bc07a._0x2bfd48);}const _0x11c975=_0x29665c['routing']?.[_0x3b139e(0x241,0xa2,_0xc2af23._0x530fec,0x17c)]??_0x29665c['agentModelSet'];return{'requestedModelTier':_0x29665c[_0x3b139e(_0xc2af23._0x48926c,-0x1be,-0x43,_0xc2af23._0x29f063)],..._0x11c975===void 0x0?{}:{'agentModelSet':_0x11c975},..._0x29665c[_0x3b139e(0x3c5,_0xc2af23._0x7f680a,0x42c,0x260)]?.[_0x3b139e(-_0xc2af23._0x21c1f5,-_0xc2af23._0x38561d,-_0xc2af23._0x4290f4,-0x3e)]===void 0x0?{}:{'resolvedModelIdentity':_0x29665c[_0x3b139e(_0xc2af23._0x4f8ff7,0x39f,0x418,0x260)][_0x188f57(_0xc2af23._0x3beb22,_0xc2af23._0x51b154,0x4d3,_0xc2af23._0x2b297e)]}};}function createStructuredWithRoutingSummary(_0x396414,_0x1e5091){const _0x57f2e4={_0x1eda42:0x346},_0x2a4d9c={_0x25c1e3:0x15f,_0x457867:0x146};function _0x36bd2b(_0x1b60c5,_0x2a43ca,_0x2a51d2,_0x400570){return _0x511cdd(_0x1b60c5-_0x2a4d9c._0x25c1e3,_0x2a43ca-_0x2a4d9c._0x457867,_0x400570,_0x1b60c5- -0xe8);}const _0x37e312={..._0x396414};return delete _0x37e312['requestedModelTier'],delete _0x37e312['agentModelSet'],delete _0x37e312[_0x36bd2b(0x165,0x2ee,0x17d,_0x57f2e4._0x1eda42)],{..._0x37e312,...createRoutingSummary(_0x1e5091)};}function _0x511cdd(_0x3ed623,_0x3eb608,_0x550133,_0x110660){return _0x56d3(_0x110660- -0xc4,_0x550133);}function createRunSummary(_0x2646d7){const _0x3e3144={_0x17fa65:0x49f,_0x48fc01:0x412,_0x3464e0:0x174,_0x2a425e:0x34f,_0x208b0a:0x4fe,_0x59ea5f:0x69d,_0x1af02c:0x60a,_0x399ecb:0x3f9,_0x101199:0x39c,_0x58aef1:0x585,_0x27e8c8:0x454,_0xae560a:0x475,_0x9dc81f:0x43a,_0x521827:0x1ad,_0x211d34:0x5e6,_0x265ef1:0x3f8,_0x364ef5:0x4ae,_0x186f16:0x332},_0x1f1509={_0x5cb4b1:0xe5,_0x4c176f:0x133};function _0xf682ad(_0x3598fe,_0x110fc8,_0x49c939,_0x441564){return _0x511cdd(_0x3598fe-0xa9,_0x110fc8-_0x1f1509._0x5cb4b1,_0x441564,_0x49c939-_0x1f1509._0x4c176f);}function _0x4dc3e8(_0x7f9d6f,_0xfb25b0,_0x5240c0,_0x8f4d1e){return _0x511cdd(_0x7f9d6f-0xbe,_0xfb25b0-0x144,_0xfb25b0,_0x8f4d1e-0x14a);}return{'runId':_0x2646d7[_0x4dc3e8(_0x3e3144._0x17fa65,0x699,0x6fd,0x66b)],'agentId':_0x2646d7[_0x4dc3e8(0x2b0,_0x3e3144._0x48fc01,_0x3e3144._0x3464e0,_0x3e3144._0x2a425e)],..._0x2646d7[_0x4dc3e8(0x604,0x6f2,0x4cc,0x5b8)]!==void 0x0?{'sessionId':_0x2646d7['sessionId']}:{},'status':_0x2646d7['status'],'parentSessionId':_0x2646d7['parentSessionId'],..._0x2646d7[_0x4dc3e8(_0x3e3144._0x208b0a,0x805,_0x3e3144._0x59ea5f,_0x3e3144._0x1af02c)]!==void 0x0?{'originToolCallId':_0x2646d7[_0xf682ad(_0x3e3144._0x399ecb,0x690,0x5f3,0x463)]}:{},...createRoutingSummary(_0x2646d7),..._0x2646d7[_0xf682ad(_0x3e3144._0x101199,_0x3e3144._0x58aef1,0x498,_0x3e3144._0x27e8c8)]!==void 0x0?{'errorMessage':_0x2646d7['errorMessage']}:{},..._0x2646d7[_0x4dc3e8(_0x3e3144._0xae560a,0x5c9,_0x3e3144._0x9dc81f,0x3f8)]?.[_0x4dc3e8(0x3cb,0x30c,_0x3e3144._0x521827,0x332)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x2646d7[_0x4dc3e8(_0x3e3144._0x211d34,0x58a,0x5eb,_0x3e3144._0x265ef1)][_0x4dc3e8(0x529,_0x3e3144._0x364ef5,0x536,_0x3e3144._0x186f16)])}:{}};}function createRunSummaryOutput(_0x49c546,_0x4d1c45){const _0x485f1f={_0x433823:0x4a,_0x29b833:0x88,_0x1b77e2:0x1c6,_0xa7ede0:0xdc},_0x578664={_0x2ccd31:0x132,_0x483340:0xd1,_0x492eca:0x18b},_0x29eb49=createRunSummary(_0x49c546);function _0x1e0f3a(_0x532978,_0x5d6bc9,_0x2a6e31,_0x18a7fc){return _0x511cdd(_0x532978-0x117,_0x5d6bc9-0x1ce,_0x5d6bc9,_0x18a7fc- -0x13);}function _0x1f1dde(_0x560aa2,_0x40616f,_0x1cb64d,_0x1dbb31){return _0x511cdd(_0x560aa2-_0x578664._0x2ccd31,_0x40616f-_0x578664._0x483340,_0x1cb64d,_0x560aa2- -_0x578664._0x492eca);}const _0xe183a7=_0x29eb49[_0x1e0f3a(0x160,_0x485f1f._0x433823,_0x485f1f._0x29b833,_0x485f1f._0x1b77e2)];return createToolOutput(typeof _0xe183a7==='string'&&_0xe183a7[_0x1f1dde(0x262,_0x485f1f._0xa7ede0,0xd2,0x1bb)]>0x0?_0xe183a7:_0x4d1c45,_0x29eb49);}function getRunTerminalErrorMessage(_0x288946){const _0x1995c4={_0x1a6d33:0x551,_0x10fb87:0x4c8,_0x58cc59:0x643,_0x2d8141:0x72c,_0x3ee8cf:0x704,_0x33ee57:0x503,_0x45ee94:0x3a1,_0x10d5e4:0x53c},_0x1aefdc={_0xae28ce:0x12e},_0x2ef737=_0x288946?.['state']['toolResults']['at'](-0x1);function _0x33ea4c(_0xedfb21,_0x1f75ab,_0x1e5986,_0x2fd20d){return _0x30b865(_0xedfb21-0x1b0,_0x1e5986,_0xedfb21-0x2b4,_0x2fd20d-_0x1aefdc._0xae28ce);}if(_0x2ef737?.[_0x33ea4c(_0x1995c4._0x1a6d33,_0x1995c4._0x10fb87,0x422,0x501)]===_0x59cace(_0x1995c4._0x58cc59,0x61b,0x788,0x864)&&_0x2ef737[_0x33ea4c(0x53c,_0x1995c4._0x2d8141,0x6ff,_0x1995c4._0x3ee8cf)][_0x33ea4c(_0x1995c4._0x33ee57,_0x1995c4._0x45ee94,0x5e9,0x432)]()['length']>0x0)return _0x2ef737[_0x33ea4c(_0x1995c4._0x10d5e4,0x39d,0x727,0x505)];function _0x59cace(_0x47aa3c,_0x3b9f6d,_0x1949e0,_0x57fe13){return _0x511cdd(_0x47aa3c-0x163,_0x3b9f6d-0x83,_0x57fe13,_0x1949e0-0x3f4);}return void 0x0;}function formatAbortedRunMessage(_0x3c56ad,_0x5a37c0){const _0x27e345={_0x174aaf:0x56a,_0xa63a9a:0x830,_0x18798b:0x664,_0x440da2:0x4af},_0x42f2b9={_0x2c3af7:0x26c},_0x515ffa={_0x107c09:0xe5};function _0x4838eb(_0x6675ac,_0x2b6af0,_0x4c5ca7,_0x42267b){return _0x511cdd(_0x6675ac-_0x515ffa._0x107c09,_0x2b6af0-0xd8,_0x6675ac,_0x42267b-0x3e9);}const _0x2ccf26=_0x4838eb(_0x27e345._0x174aaf,0x550,_0x27e345._0xa63a9a,0x662)+_0x3c56ad+_0x34b739(_0x27e345._0x18798b,0x66a,_0x27e345._0x440da2,0x849);if(!_0x5a37c0||_0x5a37c0['trim']()[_0x4838eb(0x992,0x7ed,0x8d3,0x7d6)]===0x0||_0x5a37c0===_0x2ccf26)return _0x2ccf26;function _0x34b739(_0x20da39,_0x57efd1,_0x5388bf,_0x1ee031){return _0x511cdd(_0x20da39-0x186,_0x57efd1-0x9,_0x5388bf,_0x57efd1-_0x42f2b9._0x2c3af7);}return _0x2ccf26+'\x20Cause:\x20'+_0x5a37c0;}function createAssignTaskTool(_0x36b634){const _0x1d505b={_0x379626:0x253,_0x1b32c2:0x8d,_0x19c709:0x73,_0x1686db:0x1e4,_0x20755c:0x6d,_0x3b2418:0x8c,_0x365734:0x240,_0x3e3e72:0x192,_0x3500ce:0x11a,_0x39f0ad:0x1c3,_0x450cef:0xd8,_0x13c153:0xe9,_0x3797af:0x2ee,_0x4ac9e6:0x12a,_0x3b0c94:0x77,_0x549e42:0x116,_0x25cc71:0x194,_0x49e113:0x160,_0x480c87:0x381},_0x7568ff={_0x37d899:0x5,_0x4f7c01:0x746,_0xd912f9:0x545,_0x43be1a:0x1fb,_0x10ce32:0x36e,_0x29b76c:0x450,_0x4fd71d:0x272,_0x18b6a8:0x5aa,_0x2a77d7:0x2dc,_0x15dd2b:0x195,_0x37ca61:0x2dc,_0x147657:0x259,_0x4a952b:0x11a,_0x44a46d:0x61b,_0x4798fa:0x3a3,_0x1f4bdb:0x4b3,_0x5cf398:0x39b,_0x21020e:0x3cf,_0x5991ed:0x416,_0x4bbdbb:0x3e2,_0x161976:0x3eb,_0xb54be3:0x1ec,_0x33f9ef:0x3a7,_0x3c0d7f:0x4b6,_0x3f8ce6:0x708,_0x974ce4:0x46a,_0x3670da:0x543,_0x45c444:0x594,_0x1ed31d:0x474,_0x4a6f06:0x4f3,_0x327aa5:0x5ad,_0x2661c1:0x4de,_0xcce307:0x6ed,_0x53ec51:0x493,_0x51d3c7:0x445,_0x5bed96:0x39d,_0x3a0978:0x1c7,_0x45fb55:0x32e,_0x383fa0:0x45f,_0x4ea394:0x53d,_0x2cf0d1:0x3c8,_0x2d3752:0x36d,_0x42d7e3:0x4c,_0x3050de:0x101,_0x1716ec:0x401,_0xcf32ec:0x3c2,_0x145746:0x40f,_0x3c2601:0x1be,_0x2cf216:0x29d,_0xc91001:0x796,_0x228d1f:0x804,_0x1599ef:0x60b,_0x2d4d46:0x40f,_0x5c3024:0x603,_0x5637ed:0x300,_0xffb9c6:0x3dc,_0x496c00:0x243,_0x464ed4:0x31b,_0xfb648b:0x374,_0x4f61e3:0x55c,_0x2b2f13:0x49b,_0x23960e:0x347,_0x30e9bc:0x6f6,_0x3dd4c1:0x41b,_0x7bd65c:0x456,_0xada8c2:0x5d3,_0x432ce3:0x2bc,_0x13f02d:0x550,_0x309b94:0x350,_0x5d1590:0x9e,_0x10f59c:0x237,_0x3fb5db:0x29b,_0x31706b:0x48b,_0x43b0b0:0x3c0,_0x4735b8:0x5bb,_0x1fda14:0x760,_0x199dc7:0x2d2,_0xefb9ad:0x521,_0x4962fb:0x504,_0x3b363b:0x62b,_0x5eef53:0x361,_0xb1457b:0x75c,_0x245369:0x46f,_0x5571a8:0x3b5,_0x20f933:0x459,_0x53e391:0x3fd,_0x5c738e:0x4c5,_0x2d0a84:0x3d8,_0x58bc1c:0x26f,_0xf1f58b:0x7a5,_0xcd70a6:0x5c2,_0x2bed86:0x6d1,_0x3225c5:0x5bc,_0x10fb64:0x43e,_0x44d711:0x309,_0xc6ccdc:0x2a4,_0xee99f:0x4cf,_0x4fd043:0x38b,_0x3f2d5e:0x508,_0x13e079:0x4fd,_0x453898:0x414,_0x1a82f3:0x2e4,_0x524842:0x475,_0x194c8f:0x661,_0x729e5c:0x3ac,_0x3c0b7c:0x3d4,_0x4fe138:0x29e,_0xaad04c:0x4f0,_0x45ed44:0x69d,_0xf61b06:0x735,_0x35995e:0x5d3,_0x389946:0x71c,_0x366a02:0x655,_0x3f5e63:0x52f,_0x537479:0x6e8,_0x4cb0b1:0x408,_0x50041a:0x3d8,_0x592491:0x2bd,_0x3ff93d:0x281,_0x3ff898:0x408,_0xc2d075:0x448,_0x4d5689:0x5c6,_0x46ee3b:0x529,_0x9b369c:0x383,_0x472986:0x626,_0x48949f:0x50b,_0x422b61:0x608,_0x3e68d9:0x5a2,_0x2f7a40:0x484,_0x1a75a3:0x5e1,_0x159577:0x58e,_0x97e0f0:0x659,_0x157f7f:0x588,_0x5acd2c:0x6c9,_0x2b2f60:0x380,_0x34795d:0x3d7,_0x408aaa:0x3e5},_0x54b22b={_0x36b71a:0x3f9,_0x1fb6ae:0x30f,_0x20611b:0x23a},_0x4e63d2={_0x215706:0xca,_0x2d16dc:0x4f},_0x2cc408={_0x5adfb0:0x4};function _0x3d0100(_0x54df0b,_0x520ff5,_0x526c66,_0x37eea5){return _0x511cdd(_0x54df0b-0xd7,_0x520ff5-0x11d,_0x37eea5,_0x54df0b- -0x31b);}function _0x126ddf(_0x584935,_0x3e4284,_0x575fb8,_0x33ca9e){return _0x30b865(_0x584935-0x18a,_0x575fb8,_0x3e4284- -0x8a,_0x33ca9e-_0x2cc408._0x5adfb0);}return defineTool({'name':_0x126ddf(_0x1d505b._0x379626,_0x1d505b._0x1b32c2,0x52,-_0x1d505b._0x19c709),'permissionClass':'always-confirm','description':_0x3d0100(-0x131,-_0x1d505b._0x1686db,-0x5,-0x2c6),'inputSchema':{'type':_0x126ddf(_0x1d505b._0x20755c,0x3e,_0x1d505b._0x3b2418,-0x12a),'properties':{'agentId':{'type':_0x126ddf(-_0x1d505b._0x365734,-0xe9,0xd4,-0x106),'description':'ID\x20of\x20the\x20agent\x20to\x20invoke,\x20chosen\x20from\x20the\x20available\x20specialist\x20agents.'},'description':{'type':_0x3d0100(-_0x1d505b._0x3e3e72,-0x379,-0x35,-_0x1d505b._0x3500ce),'description':_0x126ddf(_0x1d505b._0x39f0ad,_0x1d505b._0x450cef,0x2a,0x2e4)},'nickname':{'type':_0x126ddf(0xa6,-_0x1d505b._0x13c153,-0x2f3,-_0x1d505b._0x3797af),'description':_0x3d0100(0x233,_0x1d505b._0x4ac9e6,0x3c9,0x2a3)},'task':{'type':'string','description':'Complete,\x20self-contained\x20instructions\x20sent\x20verbatim\x20to\x20the\x20delegated\x20agent.\x20Include\x20relevant\x20context,\x20scope,\x20constraints,\x20and\x20expected\x20output.'},'modelTier':{'type':_0x126ddf(-_0x1d505b._0x3b0c94,-_0x1d505b._0x13c153,0x10b,0x40),'enum':[...MODEL_TIERS],'description':_0x3d0100(-0x112,-0x301,-0xdc,-0x2ec)}},'required':[_0x3d0100(-_0x1d505b._0x549e42,-0x20a,-0xa0,0xb6),_0x3d0100(-_0x1d505b._0x25cc71,-0xc,-_0x1d505b._0x49e113,-_0x1d505b._0x480c87),'task']},async *'execute'(_0x492a74,_0x302a6d){const _0x36288f={_0x4b2fda:0x27a},_0x36ec13={_0x13e441:0x1c3,_0x6a462f:0x5e,_0x2bf50c:0x68},_0x4c8e71={_0x201eb1:0x186},_0x20bdb1=createDelegatedRunId(),_0xfb0a07=new AbortController(),_0x2dd4fa=_0x492a74['modelTier'],_0x25774d={'agentId':_0x492a74[_0x124ceb(0x244,0x20d,0x36d,-_0x7568ff._0x37d899)],'parentSessionId':_0x302a6d[_0x437aa9(0x5f9,_0x7568ff._0x4f7c01,_0x7568ff._0xd912f9,0x5cd)],'runId':_0x20bdb1,'signal':_0xfb0a07['signal'],..._0x302a6d[_0x437aa9(_0x7568ff._0x43be1a,_0x7568ff._0x10ce32,0x3c6,_0x7568ff._0x29b76c)]!==void 0x0?{'toolCallId':_0x302a6d['toolCallId']}:{},..._0x2dd4fa===void 0x0?{}:{'modelTier':_0x2dd4fa}};function _0x437aa9(_0x20c450,_0x1d1b82,_0x3d3f2b,_0x17c67d){return _0x3d0100(_0x3d3f2b-0x3f2,_0x1d1b82-_0x4e63d2._0x215706,_0x3d3f2b-_0x4e63d2._0x2d16dc,_0x1d1b82);}const _0x436f10=getDelegatedAgentDefinition(_0x36b634,_0x492a74[_0x124ceb(0xb7,0x20d,0x355,0x385)]);if(!_0x436f10)throw new ToolExecutionError(_0x124ceb(_0x7568ff._0x4fd71d,0x481,_0x7568ff._0x18b6a8,0x2f8)+_0x492a74[_0x437aa9(0x4d2,0x3d2,_0x7568ff._0x2a77d7,_0x7568ff._0x15dd2b)],{'agentId':_0x492a74[_0x437aa9(0x228,0x2c9,_0x7568ff._0x37ca61,_0x7568ff._0x147657)],..._0x2dd4fa===void 0x0?{}:{'requestedModelTier':_0x2dd4fa}});let _0x130478={'runId':_0x20bdb1,'agentId':_0x492a74[_0x124ceb(_0x7568ff._0x4a952b,0x20d,0x1a7,0x3ad)],'status':_0x437aa9(0x72f,0x55a,0x5ec,_0x7568ff._0x44a46d),'parentSessionId':_0x302a6d[_0x124ceb(0x294,0x476,0x588,0x3ce)],..._0x302a6d[_0x437aa9(_0x7568ff._0x4798fa,0x574,0x3c6,_0x7568ff._0x1f4bdb)]!==void 0x0?{'originToolCallId':_0x302a6d[_0x124ceb(0x314,0x2f7,_0x7568ff._0x5cf398,0x34f)]}:{},..._0x2dd4fa===void 0x0?{}:{'requestedModelTier':_0x2dd4fa}};const _0x4a9cc8=addAbortListener(_0x302a6d[_0x437aa9(0x333,_0x7568ff._0x21020e,0x543,0x4b8)],()=>{function _0x2ed7fb(_0x2074ab,_0xb68029,_0x31bdd8,_0x3b440d){return _0x124ceb(_0x2074ab-_0x4c8e71._0x201eb1,_0x3b440d- -0x199,_0xb68029,_0x3b440d-0x57);}function _0xff8d12(_0x4d94b7,_0x5c925a,_0x29ce6e,_0x1b6f1c){return _0x437aa9(_0x4d94b7-_0x36ec13._0x13e441,_0x29ce6e,_0x4d94b7- -_0x36ec13._0x6a462f,_0x1b6f1c-_0x36ec13._0x2bf50c);}_0xfb0a07['abort'](_0x302a6d[_0x2ed7fb(0x107,0x285,_0x54b22b._0x36b71a,0x2db)][_0xff8d12(0x3ae,_0x54b22b._0x1fb6ae,0x57c,_0x54b22b._0x20611b)]);});function _0x124ceb(_0x3a0ca4,_0x23b52d,_0x34d24a,_0x283bdd){return _0x126ddf(_0x3a0ca4-0x154,_0x23b52d-_0x36288f._0x4b2fda,_0x34d24a,_0x283bdd-0x10);}let _0x4e415a,_0x13e1d6,_0x3030cc,_0x235ac5,_0x3bb1ba=![],_0x53baec,_0x402247,_0x5c6dee=![];const _0x49a1db=_0x36b634[_0x437aa9(_0x7568ff._0x5991ed,_0x7568ff._0x4bbdbb,_0x7568ff._0x161976,0x47d)];try{_0x36b634[_0x437aa9(0x2b1,_0x7568ff._0xb54be3,_0x7568ff._0x33f9ef,0x2b5)]!==void 0x0&&(_0x4e415a=await _0x36b634[_0x437aa9(_0x7568ff._0x3c0d7f,0x1c6,0x3a7,0x534)][_0x437aa9(0x47f,_0x7568ff._0x3f8ce6,0x5b1,0x3f6)](_0xfb0a07['signal']));throwIfAborted(_0xfb0a07[_0x437aa9(_0x7568ff._0x974ce4,0x459,_0x7568ff._0x3670da,0x3fa)]);const _0x4e08bb=await awaitWithAbort(resolveDelegatedAgentOptions(_0x436f10,_0x25774d),_0xfb0a07[_0x124ceb(_0x7568ff._0x45c444,_0x7568ff._0x1ed31d,0x497,0x4bc)]);_0x130478={..._0x130478,..._0x2dd4fa===void 0x0||_0x4e08bb[_0x124ceb(0x69c,_0x7568ff._0x4a6f06,0x37f,0x2ee)]?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x4e08bb[_0x124ceb(0x33e,0x4f3,0x381,_0x7568ff._0x327aa5)][_0x437aa9(0x480,0x486,_0x7568ff._0x2661c1,_0x7568ff._0xcce307)]}};const _0x47cb67=_0x4e08bb['options'];throwIfAborted(_0xfb0a07[_0x437aa9(_0x7568ff._0x53ec51,_0x7568ff._0x51d3c7,_0x7568ff._0x3670da,_0x7568ff._0x5bed96)]);const _0x9e2c62=_0x36b634[_0x124ceb(_0x7568ff._0x3a0978,0x1bf,-0x26,_0x7568ff._0x45fb55)]!==void 0x0&&_0x47cb67[_0x124ceb(_0x7568ff._0x383fa0,_0x7568ff._0x4ea394,_0x7568ff._0x2cf0d1,_0x7568ff._0x2d3752)]!==void 0x0?{..._0x47cb67,'systemPrompt':_0x36b634[_0x124ceb(0x30b,0x1bf,-_0x7568ff._0x42d7e3,_0x7568ff._0x3050de)](_0x47cb67[_0x437aa9(0x5d5,0x56a,0x60c,0x6df)])}:_0x47cb67;throwIfAborted(_0xfb0a07['signal']);const _0x26ea82=new Agent(_0x9e2c62);_0x130478={..._0x130478,'sessionId':_0x26ea82[_0x124ceb(_0x7568ff._0x1716ec,0x476,0x38a,_0x7568ff._0xcf32ec)],..._0x2dd4fa===void 0x0?{}:{'routing':{'requestedModelTier':_0x2dd4fa,..._0x130478[_0x124ceb(0x383,_0x7568ff._0x145746,0x4c7,0x251)]===void 0x0?{}:{'agentModelSet':_0x130478['agentModelSet']},'resolvedModelIdentity':_0x26ea82[_0x437aa9(_0x7568ff._0x3c2601,0x110,0x21e,_0x7568ff._0x2cf216)]['chatModel'][_0x437aa9(_0x7568ff._0xc91001,_0x7568ff._0x228d1f,_0x7568ff._0x1599ef,_0x7568ff._0x2d4d46)]}}},_0x13e1d6=_0x36b634[_0x437aa9(0x5a9,0x6ee,_0x7568ff._0x5c3024,0x57b)]?.(_0x26ea82,_0x25774d);const _0xb37575=new Promise(_0x263c2f=>{_0x235ac5=_0x263c2f;});_0x3030cc=_0x36b634[_0x437aa9(0x5c3,0x5ca,0x5cb,0x5f0)]?.({'runId':_0x20bdb1,'abortController':_0xfb0a07,'completion':_0xb37575});_0x49a1db!==void 0x0&&(await _0x49a1db[_0x124ceb(0x207,0x306,0x1be,0x24a)](_0x26ea82,_0x25774d),_0x3bb1ba=!![]);yield createToolOutput(_0x437aa9(0x38e,0xb9,0x27c,0x15b)+_0x130478['runId']+'.',createRunSummary(_0x130478)),throwIfAborted(_0xfb0a07[_0x124ceb(0x2d8,_0x7568ff._0x1ed31d,0x3ab,0x642)]);const _0x13cfd9=await _0x26ea82[_0x124ceb(0x21c,_0x7568ff._0x5637ed,0x2af,0x4d1)](_0x492a74[_0x437aa9(_0x7568ff._0xffb9c6,_0x7568ff._0x496c00,0x2c2,_0x7568ff._0x464ed4)],{'streaming':!![],'signal':_0xfb0a07['signal']});_0x130478={..._0x130478,'status':_0x13cfd9[_0x124ceb(0x594,0x48d,0x2ae,_0x7568ff._0xfb648b)],'result':_0x13cfd9};if(_0x13cfd9[_0x437aa9(0x370,0x369,_0x7568ff._0x4f61e3,0x637)]!==_0x437aa9(0x745,_0x7568ff._0x2b2f13,0x551,_0x7568ff._0x23960e)){const _0x1434c8=getRunTerminalErrorMessage(_0x13cfd9),_0x5c3fd2=formatAbortedRunMessage(_0x130478[_0x437aa9(0x621,_0x7568ff._0x30e9bc,0x5f8,_0x7568ff._0x3dd4c1)],_0x1434c8);_0x130478={..._0x130478,'status':_0x437aa9(_0x7568ff._0x7bd65c,0x6a2,_0x7568ff._0xada8c2,0x3fd),'errorMessage':_0x5c3fd2},_0x53baec={'status':_0x437aa9(0x71d,_0x7568ff._0x30e9bc,0x5d3,0x52f),'errorMessage':_0x5c3fd2};throw new ToolExecutionError(_0x5c3fd2,{...createRunSummary(_0x130478),'aborted':!![],'errorMessage':_0x5c3fd2});}return _0x53baec={'status':_0x124ceb(_0x7568ff._0x432ce3,0x482,0x361,_0x7568ff._0x13f02d)},createRunSummaryOutput(_0x130478,_0x437aa9(0x550,0x4e8,_0x7568ff._0x309b94,0x161)+_0x130478['runId']+_0x437aa9(_0x7568ff._0x5d1590,_0x7568ff._0x10f59c,_0x7568ff._0x3fb5db,_0x7568ff._0x31706b));}catch(_0x5a795c){_0x402247=_0x5a795c,_0x5c6dee=!![];if(_0x5a795c instanceof ToolExecutionError){if(_0x53baec===void 0x0){if(isAbortError(_0x5a795c)||_0xfb0a07[_0x124ceb(_0x7568ff._0x974ce4,_0x7568ff._0x1ed31d,_0x7568ff._0x43b0b0,0x496)][_0x437aa9(0x7b0,_0x7568ff._0x4735b8,_0x7568ff._0xada8c2,_0x7568ff._0x1fda14)]||_0x302a6d[_0x124ceb(_0x7568ff._0x199dc7,0x474,0x65a,_0x7568ff._0xefb9ad)][_0x124ceb(0x413,_0x7568ff._0x4962fb,_0x7568ff._0x3b363b,_0x7568ff._0x5eef53)])_0x53baec={'status':_0x437aa9(0x4d5,_0x7568ff._0xb1457b,0x5d3,0x732)};else{const _0x746080=_0x5a795c['message'];_0x130478={..._0x130478,'status':_0x124ceb(_0x7568ff._0x245369,_0x7568ff._0x5571a8,_0x7568ff._0x20f933,0x526),'errorMessage':_0x746080},_0x53baec={'status':_0x437aa9(0x3db,0x612,0x484,_0x7568ff._0x53e391),'errorMessage':_0x746080};}}if(_0x2dd4fa===void 0x0)throw _0x5a795c;throw new ToolExecutionError(_0x5a795c[_0x437aa9(_0x7568ff._0x5c738e,0x353,_0x7568ff._0x2d0a84,0x2f3)],createStructuredWithRoutingSummary(_0x5a795c[_0x437aa9(0x38d,0x2da,_0x7568ff._0x58bc1c,0x141)],_0x130478));}if(_0x5a795c instanceof DelegatedResolutionError){const _0x45e0eb={..._0x130478};delete _0x45e0eb[_0x437aa9(_0x7568ff._0xf1f58b,0x3ed,_0x7568ff._0xcd70a6,_0x7568ff._0x2bed86)],delete _0x45e0eb[_0x437aa9(0x6bb,_0x7568ff._0x3225c5,0x4de,_0x7568ff._0x10fb64)],_0x130478={..._0x45e0eb,'status':_0x124ceb(_0x7568ff._0x147657,0x3b5,0x23a,0x463),'errorMessage':_0x5a795c[_0x124ceb(0x34b,_0x7568ff._0x44d711,0x370,_0x7568ff._0xc6ccdc)],..._0x2dd4fa===void 0x0||_0x5a795c['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x5a795c['agentModelSet']}};throw new ToolExecutionError(_0x5a795c[_0x124ceb(_0x7568ff._0xee99f,_0x7568ff._0x44d711,_0x7568ff._0x4fd043,0x117)],{...createRunSummary(_0x130478),..._0x2dd4fa===void 0x0||_0x5a795c['selector']===void 0x0?{}:{'selector':_0x5a795c['selector']},'errorMessage':_0x5a795c[_0x437aa9(_0x7568ff._0x3f2d5e,_0x7568ff._0x13e079,0x3d8,0x29e)]});}if(isAbortError(_0x5a795c)||_0xfb0a07[_0x124ceb(_0x7568ff._0x453898,_0x7568ff._0x1ed31d,0x5fc,_0x7568ff._0x1a82f3)][_0x437aa9(0x6d3,0x58f,0x5d3,_0x7568ff._0x524842)]||_0x302a6d[_0x124ceb(_0x7568ff._0x194c8f,_0x7568ff._0x1ed31d,_0x7568ff._0x729e5c,_0x7568ff._0x2b2f13)]['aborted']){const _0x409d64=getRunTerminalErrorMessage(_0x130478[_0x437aa9(0x1ab,0x1b7,0x385,_0x7568ff._0x3c0b7c)])??(_0x5a795c instanceof Error?_0x5a795c[_0x124ceb(_0x7568ff._0x4fe138,_0x7568ff._0x44d711,0x377,0x401)]:String(_0x5a795c)),_0x411969=formatAbortedRunMessage(_0x130478[_0x437aa9(_0x7568ff._0xaad04c,_0x7568ff._0x45ed44,0x5f8,0x446)],_0x409d64);_0x130478={..._0x130478,'status':_0x437aa9(0x3f3,_0x7568ff._0xf61b06,_0x7568ff._0x35995e,_0x7568ff._0x389946),'errorMessage':_0x411969},_0x53baec={'status':_0x437aa9(_0x7568ff._0x366a02,_0x7568ff._0x3f5e63,_0x7568ff._0xada8c2,_0x7568ff._0x537479),'errorMessage':_0x411969};throw new ToolExecutionError(_0x411969,{...createRunSummary(_0x130478),'aborted':!![],'errorMessage':_0x411969});}const _0x1653b3=getRunTerminalErrorMessage(_0x130478['result'])??(_0x5a795c instanceof Error?_0x5a795c[_0x437aa9(_0x7568ff._0x4cb0b1,0x52b,_0x7568ff._0x50041a,_0x7568ff._0x592491)]:String(_0x5a795c))??_0x124ceb(0x3cf,_0x7568ff._0x3ff93d,_0x7568ff._0x3ff898,_0x7568ff._0xc2d075)+_0x130478[_0x124ceb(_0x7568ff._0x4d5689,_0x7568ff._0x46ee3b,_0x7568ff._0x9b369c,_0x7568ff._0x472986)]+_0x124ceb(0x315,_0x7568ff._0x48949f,_0x7568ff._0x422b61,0x714);_0x130478={..._0x130478,'status':'failed','errorMessage':_0x1653b3},_0x53baec={'status':_0x437aa9(_0x7568ff._0x3e68d9,0x5dd,_0x7568ff._0x2f7a40,0x3fe),'errorMessage':_0x1653b3};throw new ToolExecutionError(_0x1653b3,{...createRunSummary(_0x130478),'errorMessage':_0x1653b3});}finally{let _0x331d4c,_0x24161d;const _0x5b0da4=_0xde3fa8=>{if(_0xde3fa8===void 0x0)return;try{_0xde3fa8();}catch(_0x320736){_0x24161d??=_0x320736 instanceof Error?_0x320736:new Error(String(_0x320736));}};if(_0x3bb1ba&&_0x49a1db!==void 0x0){const _0x4e5344=_0x53baec??{'status':_0x124ceb(_0x7568ff._0x1a75a3,_0x7568ff._0x4962fb,0x3cd,_0x7568ff._0x159577)};try{await _0x49a1db[_0x437aa9(_0x7568ff._0x97e0f0,0x449,0x5fc,_0x7568ff._0x157f7f)](_0x25774d,_0x4e5344);}catch(_0xed496a){_0x331d4c=_0xed496a instanceof Error?_0xed496a:new Error(String(_0xed496a));}}_0x5b0da4(_0x36b634[_0x437aa9(0x39f,0x783,0x5b3,_0x7568ff._0x5acd2c)]===void 0x0?void 0x0:()=>_0x36b634[_0x124ceb(0x5c4,0x4e4,0x2e9,0x626)]?.(_0x25774d)),_0x5b0da4(_0x235ac5),_0x5b0da4(_0x3030cc),_0x5b0da4(_0x13e1d6),_0x5b0da4(_0x4e415a),_0x5b0da4(_0x4a9cc8),_0x331d4c!==void 0x0&&(_0x5c6dee&&(_0x331d4c[_0x437aa9(_0x7568ff._0x2b2f60,_0x7568ff._0x34795d,0x3bf,_0x7568ff._0x408aaa)]=_0x402247),rethrowDelegatedError(_0x331d4c)),_0x24161d!==void 0x0&&rethrowDelegatedError(_0x24161d);}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x1cce17){return[createAssignTaskTool(_0x1cce17)];}import{mkdir as _0x231039,writeFile}from'fs/promises';import*as _0x58826e from'path';function sanitizeFileName(_0x59e8ce){return _0x59e8ce['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4733a4,_0x3c365e){const _0x12d82e={_0x340f2b:0x5bd,_0x7d23b8:0x701,_0x452ded:0x1c4,_0x526c61:0x156,_0xc9cd99:0x340,_0x5194bc:0x1c2,_0x145ef1:0x7d,_0x10c516:0x21b,_0x2334bd:0x2aa,_0x1de882:0x46c,_0x35ac0b:0x3be,_0x429b9e:0x681,_0x10b463:0x4a7,_0x1135d9:0x214,_0x10c6ce:0xdf,_0x1eb57f:0x3e8,_0x17a433:0x21d,_0x505dff:0x1e2,_0x146225:0x2a9,_0x30cd4e:0x24e,_0x416c27:0x553,_0x50bcf2:0x4e3,_0xdf2f17:0x7c,_0x565d17:0x17c,_0x16959a:0x340,_0x5107a8:0x15d,_0x52a84a:0x22c,_0x231ecd:0x69,_0x553b08:0x1ab,_0x2f3e81:0x181,_0xb90f39:0x3,_0xeaf1d1:0x4b2,_0xed5f20:0x2c4,_0x25d2fd:0x234,_0x4cb9c8:0x4bb,_0x385dc8:0x5fb,_0x5a86cb:0x6fe,_0x57bb05:0x49c,_0x5d67d3:0x55f,_0x5730af:0xe7,_0x2e1e74:0x235,_0x2d26f7:0x101,_0xe981de:0x2e9,_0x34175a:0xee,_0x1925cf:0x250,_0x2513e9:0x24c},_0x57a7ed={_0x4253cc:0x14e},_0x17f905={_0x46a517:0x1b9,_0x23b96a:0x335,_0x966348:0xbe},{maxBytes:_0x154a5a,sessionDir:_0x5f9466}=_0x3c365e;if(!_0x4733a4['output']||Buffer['byteLength'](_0x4733a4[_0x17eaeb(_0x12d82e._0x340f2b,0x5de,_0x12d82e._0x7d23b8,0x69c)],'utf8')<=_0x154a5a)return _0x4733a4;const _0xf6e336=Buffer['byteLength'](_0x4733a4['output'],_0x220e20(0xdf,_0x12d82e._0x452ded,-0x1d,_0x12d82e._0x526c61));if(!_0x5f9466){const _0x239184=_0x4733a4['output'][_0x17eaeb(_0x12d82e._0xc9cd99,_0x12d82e._0x5194bc,0x42a,0x1cc)](0x0,_0x154a5a);return{..._0x4733a4,'output':_0x239184+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x154a5a+'\x20bytes\x20(original:\x20'+_0xf6e336+_0x220e20(0x1d4,_0x12d82e._0x145ef1,0x198,_0x12d82e._0x10c516)),'meta':{..._0x4733a4[_0x220e20(_0x12d82e._0x2334bd,_0x12d82e._0x1de882,0x15c,0x137)],'truncated':!![],'originalBytes':_0xf6e336,'transforms':[..._0x4733a4[_0x17eaeb(0x48d,_0x12d82e._0x35ac0b,_0x12d82e._0x429b9e,0x476)][_0x17eaeb(0x2d1,_0x12d82e._0x10b463,0x4a0,0x2d8)],_0x220e20(_0x12d82e._0x1135d9,0x189,0x205,_0x12d82e._0x10c6ce)]}};}const _0x13d23f=_0x4733a4['toolName']+'_'+sanitizeFileName(_0x4733a4[_0x220e20(_0x12d82e._0x1eb57f,_0x12d82e._0x17a433,0x577,0x2e0)])+_0x220e20(_0x12d82e._0x505dff,_0x12d82e._0x146225,0x21c,_0x12d82e._0x30cd4e),_0x267dd7=_0x58826e[_0x17eaeb(_0x12d82e._0x416c27,0x535,_0x12d82e._0x50bcf2,0x595)](_0x5f9466,_0x13d23f);function _0x17eaeb(_0x2a3e69,_0x276ab3,_0x234b61,_0x478074){return _0x30b865(_0x2a3e69-_0x17f905._0x46a517,_0x234b61,_0x2a3e69-_0x17f905._0x23b96a,_0x478074-_0x17f905._0x966348);}await _0x231039(_0x5f9466,{'recursive':!![]}),await writeFile(_0x267dd7,_0x4733a4['output'],_0x220e20(0xdf,-_0x12d82e._0xdf2f17,-0x39,_0x12d82e._0x565d17));let _0x9e3916=_0x4733a4[_0x17eaeb(0x5bd,0x6c7,0x6ae,0x3f7)][_0x17eaeb(_0x12d82e._0x16959a,0x2f8,0x2ae,0x35e)](0x0,_0x154a5a);const _0x489f84=_0x9e3916['lastIndexOf']('\x0a');_0x489f84>_0x154a5a*0.5&&(_0x9e3916=_0x9e3916[_0x220e20(_0x12d82e._0x5107a8,_0x12d82e._0x52a84a,_0x12d82e._0x231ecd,0xc6)](0x0,_0x489f84));const _0x4a2d6f=['','<system-reminder>',_0x220e20(_0x12d82e._0x553b08,_0x12d82e._0x2f3e81,-0x4e,-_0x12d82e._0xb90f39)+_0x154a5a+_0x17eaeb(0x639,0x4ee,_0x12d82e._0xeaf1d1,0x5fd)+_0xf6e336+_0x17eaeb(_0x12d82e._0xed5f20,_0x12d82e._0x25d2fd,_0x12d82e._0x4cb9c8,0x31d),_0x17eaeb(_0x12d82e._0x385dc8,_0x12d82e._0x5a86cb,_0x12d82e._0x57bb05,_0x12d82e._0x5d67d3)+_0x267dd7,_0x220e20(_0x12d82e._0x5730af,_0x12d82e._0x2e1e74,-_0x12d82e._0x2d26f7,0xf3),_0x220e20(0x1d3,_0x12d82e._0xe981de,0x1c3,0x10f)]['join']('\x0a');function _0x220e20(_0x2c936a,_0x4b1d2e,_0x235353,_0x54880a){return _0x30b865(_0x2c936a-_0x57a7ed._0x4253cc,_0x235353,_0x2c936a-0x152,_0x54880a-0x0);}return{..._0x4733a4,'output':_0x9e3916+_0x4a2d6f,'meta':{..._0x4733a4[_0x220e20(_0x12d82e._0x2334bd,0x318,0x1e9,0x13a)],'truncated':!![],'originalBytes':_0xf6e336,'transforms':[..._0x4733a4['meta'][_0x220e20(_0x12d82e._0x34175a,_0x12d82e._0x1925cf,_0x12d82e._0x2513e9,-0x85)],_0x220e20(_0x12d82e._0x1135d9,0x1e6,0xc7,0x301)]}};}import{readFile as _0x4818c0,stat as _0x34f51d}from'fs/promises';function createAnchoredFileError(_0x223385,_0x76753e,_0x10e980){return new ToolExecutionError(_0x76753e,{'error':_0x223385,..._0x10e980});}import{createHash}from'crypto';function sha256Bytes(_0x9492a1){const _0x14dda3={_0x3a7e49:0x24,_0x425136:0x61,_0x3175df:0x20,_0x5233d5:0x42b,_0x48f7c0:0x5d0},_0x29b84b={_0x197cdc:0x53,_0x36d59c:0x1d8},_0x3037ac={_0x20653d:0xd2,_0x443ed1:0x10e};function _0x388be7(_0x30f0c6,_0x3da3e2,_0x40bc35,_0x3a7403){return _0x511cdd(_0x30f0c6-_0x3037ac._0x20653d,_0x3da3e2-0x1e7,_0x30f0c6,_0x3a7403-_0x3037ac._0x443ed1);}function _0x43008c(_0x5e9650,_0x8ce38,_0x19aff3,_0x2ff9e3){return _0x511cdd(_0x5e9650-_0x29b84b._0x197cdc,_0x8ce38-0x116,_0x5e9650,_0x2ff9e3- -_0x29b84b._0x36d59c);}return createHash('sha256')['update'](_0x9492a1)[_0x43008c(_0x14dda3._0x3a7e49,-_0x14dda3._0x425136,-0x161,_0x14dda3._0x3175df)](_0x388be7(0x614,0x73a,_0x14dda3._0x5233d5,_0x14dda3._0x48f7c0));}function countLines(_0x2d40c5){const _0xa1dc73={_0x59e083:0x612,_0x34c604:0x6af,_0x15d303:0x57e,_0x17d779:0x3fb,_0x125a51:0x3d8,_0x3d09c8:0x5e5,_0x128ac8:0x2ed,_0x228e14:0x477,_0x470728:0x4d8,_0x4d921f:0x297},_0x430e59={_0x5bd1e5:0x5e},_0x1dd5e6={_0x40806a:0xf1};function _0x384f16(_0x5345b4,_0x50f563,_0x3c6b9c,_0x213621){return _0x511cdd(_0x5345b4-0x193,_0x50f563-0x192,_0x3c6b9c,_0x213621-_0x1dd5e6._0x40806a);}const _0x19361e=_0x2d40c5[_0x384f16(_0xa1dc73._0x59e083,_0xa1dc73._0x34c604,0x633,0x4ac)](/\n$/,'');function _0xb251d5(_0x444763,_0x433ed7,_0x2fde16,_0x565933){return _0x511cdd(_0x444763-_0x430e59._0x5bd1e5,_0x433ed7-0x1c2,_0x433ed7,_0x444763-0x8a);}return _0x19361e[_0xb251d5(0x477,0x4aa,_0xa1dc73._0x15d303,_0xa1dc73._0x17d779)]===0x0?0x0:_0x19361e[_0xb251d5(_0xa1dc73._0x125a51,_0xa1dc73._0x3d09c8,0x275,_0xa1dc73._0x128ac8)]('\x0a')[_0xb251d5(_0xa1dc73._0x228e14,_0xa1dc73._0x470728,_0xa1dc73._0x4d921f,0x54b)];}function replaceFirstExact(_0x2093a4,_0x4f0e75,_0x557e2a){const _0x1652b9={_0x191336:0x708,_0x1e4526:0x4ad,_0x1dc93c:0x596,_0x389a4c:0x550,_0x2c4587:0x278,_0x1cc6c5:0x3fb,_0x41752a:0x673,_0x198a08:0x616,_0x13ff36:0x4e9,_0x261c93:0x625,_0x547479:0x5db,_0x470056:0x5f5},_0x4f06e2={_0x4a73e1:0x42,_0x2b0beb:0x3f0},_0x1e806f=_0x2093a4[_0x2bd677(_0x1652b9._0x191336,_0x1652b9._0x1e4526,0x600,_0x1652b9._0x1dc93c)](_0x4f0e75);if(_0x1e806f===-0x1)return void 0x0;function _0x344822(_0x40126d,_0x4e7d02,_0x4e7c2a,_0x545e2c){return _0x30b865(_0x40126d-_0x4f06e2._0x4a73e1,_0x40126d,_0x545e2c-_0x4f06e2._0x2b0beb,_0x545e2c-0x1e9);}function _0x2bd677(_0x143f3f,_0x349578,_0x3cbab4,_0x23837c){return _0x511cdd(_0x143f3f-0x1f3,_0x349578-0x154,_0x143f3f,_0x23837c-0x432);}const _0x426cde=_0x2093a4[_0x344822(_0x1652b9._0x389a4c,0x326,_0x1652b9._0x2c4587,_0x1652b9._0x1cc6c5)](0x0,_0x1e806f)['split']('\x0a')[_0x2bd677(0x891,0x754,_0x1652b9._0x41752a,0x81f)],_0xb6275c=countLines(_0x4f0e75),_0x207816=countLines(_0x557e2a);return{'before':_0x2093a4,'after':_0x2093a4[_0x344822(0x409,0x56c,0x498,_0x1652b9._0x1cc6c5)](0x0,_0x1e806f)+_0x557e2a+_0x2093a4[_0x2bd677(_0x1652b9._0x198a08,0x42d,_0x1652b9._0x13ff36,_0x1652b9._0x261c93)](_0x1e806f+_0x4f0e75[_0x344822(_0x1652b9._0x547479,0x7bd,0x6de,_0x1652b9._0x470056)]),'lineNumbers':{'oldStartLine':_0x426cde,'oldEndLine':_0x426cde+_0xb6275c-0x1,'newStartLine':_0x426cde,'newEndLine':_0x426cde+_0x207816-0x1,'oldLineCount':_0xb6275c,'newLineCount':_0x207816}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x40dad4){const _0x49f19d={_0xa98dd7:0x3ed,_0x24834:0x380,_0xa4a6b8:0x375,_0x390054:0x512,_0x3b1e45:0x360},_0x334bf6={_0x53ffb4:0x112},_0x41c003={_0x460c38:0x90};function _0xa83248(_0x43f36d,_0xac6866,_0x3a4c5b,_0x2c3ba1){return _0x30b865(_0x43f36d-_0x41c003._0x460c38,_0x2c3ba1,_0x3a4c5b-0x26a,_0x2c3ba1-0x30);}function _0x57a5d6(_0x36d0ad,_0x1a70b8,_0x1821df,_0x4bbc99){return _0x30b865(_0x36d0ad-_0x334bf6._0x53ffb4,_0x36d0ad,_0x4bbc99-0x76,_0x4bbc99-0x45);}if(!Number['isSafeInteger'](_0x40dad4)||_0x40dad4<0x1)throw createAnchoredFileError(_0x57a5d6(0x3c8,0x279,_0x49f19d._0xa98dd7,_0x49f19d._0x24834),_0x57a5d6(_0x49f19d._0xa4a6b8,_0x49f19d._0x390054,0x4bc,_0x49f19d._0x3b1e45)+String(_0x40dad4)+'.');}function rangeLines(_0x5fbdaf,_0x45c2b6){const _0x5e864d=[];for(let _0x222223=_0x5fbdaf;_0x222223<=_0x45c2b6;_0x222223+=0x1){_0x5e864d['push'](_0x222223);}return _0x5e864d;}function normalizeContent(_0x26e27b){const _0x44821b={_0x687fba:0xa17,_0x59d0db:0x829,_0x445ada:0x620,_0x7014f3:0x124,_0x360954:0x55,_0x2a42b5:0x4b},_0x3daaaf={_0x1fa267:0xde,_0x37a368:0x111,_0x514d7c:0x129},_0x400c45={_0x32c65f:0x1ea,_0x42f872:0x72,_0x1f3315:0x46e};function _0x379c86(_0x2e90b4,_0x26a655,_0x3008d2,_0x5d8d8f){return _0x511cdd(_0x2e90b4-_0x400c45._0x32c65f,_0x26a655-_0x400c45._0x42f872,_0x5d8d8f,_0x26a655-_0x400c45._0x1f3315);}function _0x754473(_0xc803f2,_0x571035,_0x4a4193,_0x4aebd8){return _0x30b865(_0xc803f2-_0x3daaaf._0x1fa267,_0x4aebd8,_0x4a4193- -_0x3daaaf._0x37a368,_0x4aebd8-_0x3daaaf._0x514d7c);}return _0x26e27b[_0x379c86(_0x44821b._0x687fba,_0x44821b._0x59d0db,_0x44821b._0x445ada,0x81f)](/\r\n/g,'\x0a')[_0x754473(-_0x44821b._0x7014f3,0x70,_0x44821b._0x360954,_0x44821b._0x2a42b5)]('\x0a');}function planOperations(_0x438244,_0x305351){const _0x3933b9={_0x598a93:0xae1,_0xc8660c:0x7ee,_0x409d78:0x91a,_0x49e3c0:0x6af,_0x438469:0x569,_0x32f4c8:0x651,_0x1fe6ba:0x893,_0x5ba18e:0x6e1,_0x1de886:0x2ac,_0x1386a9:0x280,_0x208418:0x449,_0x288e76:0x38d,_0x4d6c78:0x815,_0x33b192:0x537,_0x48e3d1:0x3cb,_0x128483:0x267,_0x45e434:0x31d,_0x2eaee6:0x29d,_0x4053b4:0x6fa},_0x238707={_0x26d700:0x11c,_0x1ce13d:0xb4,_0x1bd152:0xee,_0x489e30:0x28d,_0x12dbc1:0x261,_0x382cc1:0x1da,_0x2099e6:0xc7,_0x155260:0x4fe,_0xd03c6c:0x553,_0x50fd02:0x18e,_0x31d2da:0x2e8,_0x29cd54:0x585,_0x3ff875:0x466,_0x2ed14a:0x41a,_0x461c9a:0x35c,_0x24c8c9:0x5a3,_0x39a5dc:0x3dd,_0x2d5e6b:0x2b3,_0x49c5bb:0x46b,_0x3ef122:0x4a2,_0xe29411:0x2e7,_0x1e8764:0x39f,_0x43c1e2:0x2b8,_0x452bef:0x146,_0x95d98c:0x35b,_0x5541fc:0x30e,_0x5bad06:0x13d,_0xdae295:0x25b,_0x3680fd:0x88a,_0x282c26:0x4e9,_0x4a0a6e:0x511,_0x74f3d6:0x590,_0x14d01f:0x536,_0x2f61a6:0x451,_0x216b93:0x3b9,_0x1ad2d0:0x42a,_0x19e6ef:0x5ec,_0x4ac595:0x3de,_0x13a14d:0x344,_0x4e2725:0x4a2,_0x1b5906:0x47c,_0x2b0c3d:0x593,_0x9bfb92:0x1b7,_0x53269b:0x1ae,_0x48dc26:0x261,_0x31dbff:0x346,_0x3fb3b0:0x32e,_0x5a902f:0x4bc,_0x1538d5:0x553,_0x33b75f:0x532,_0x159195:0x113,_0x2b0ed2:0x1df,_0x2a2eed:0x261,_0x4950ba:0xa,_0x974407:0x49,_0x4999f7:0x3a7,_0xb1324c:0x1bf,_0x57c054:0x45b,_0x34ad52:0x3e4,_0x2251d4:0x3e3,_0x2a75db:0x5c8,_0x81f833:0x510,_0x571a65:0x87,_0x199b28:0x5f0,_0x1a3183:0x437,_0x47e9ce:0x255,_0x3b81a5:0x517,_0x4a0e1d:0x5ec,_0x1ae99c:0x727,_0x2b06e5:0x183,_0x35d00f:0x4da,_0x143584:0x593,_0x530f43:0x41a,_0x548395:0x9f,_0x66353c:0xbc,_0x45ae9e:0x553,_0x15c14a:0x3b4,_0x3f3a52:0x7d,_0x260502:0x1f6,_0x35b206:0x650,_0xcc1994:0x607,_0x5cd094:0x410,_0x21e9e4:0x5ec,_0x555110:0x286,_0x55d5e2:0x3c9,_0x31b50c:0x5c8,_0x334f02:0x5d8,_0x30b360:0x7b8,_0x3d5068:0x6bc,_0x146ea3:0x462,_0x3d3d68:0x4d1,_0x2a2aa4:0x39d,_0x1c3f6c:0x333,_0x121a84:0x720,_0x7ef4ce:0x612,_0x42d94f:0x21,_0xe36bd0:0x219,_0x2e6d56:0x323,_0x5af1e4:0x1a6,_0x3ab447:0x261,_0x1ea0fd:0x456,_0x34d930:0x3b9,_0x2bb675:0x270,_0x55e1d4:0x46f,_0x3dd9e3:0x394,_0x3a2c43:0x599,_0x42b88d:0x1ad,_0x38892c:0x544,_0xa12eb:0x4a6,_0x34cba0:0x303,_0x115a35:0x386,_0x2b348b:0x29f,_0x3717b1:0x16d,_0x368fd1:0x6ce,_0xb3285c:0x70c,_0x14ee14:0x621,_0x1acdc6:0x7c5,_0x5eeff0:0x677,_0xa0636f:0x7ad,_0x224479:0x165,_0x2cd06e:0x1b0,_0xb737f8:0x1a,_0x4e79f0:0x7f,_0x5b274e:0x634,_0x1fd52e:0x544,_0x24d323:0x1ec,_0x49faa6:0x2fa,_0x23d883:0x315,_0x107fed:0x649,_0x57c539:0x8b2,_0x3c9d68:0x28d,_0x916b65:0x108,_0xbb134e:0xa6,_0x10c0f3:0x556,_0x237aed:0x252,_0x6d9d0f:0x277,_0x35fd78:0x37e,_0x32775d:0x6bd,_0x3deb7d:0x72b,_0x369557:0x6d0,_0x439ced:0x337,_0x1e2571:0xd8,_0x3c6bcd:0x1bc,_0x4f117b:0x7a,_0x3bd868:0x473,_0x332697:0xd3,_0x384dde:0x427,_0x149f47:0x4bf,_0x5f09e0:0x1b8,_0x1eb27d:0x252,_0x54598c:0x7b9,_0x46b2d8:0x542,_0x4cf212:0x411,_0x51fb4c:0x3e0},_0x4b2fe1={_0x58253e:0xd0},_0x28e4a4={_0x4ed38b:0x158};function _0x136377(_0x56cd67,_0x386fdc,_0x258330,_0x4a8524){return _0x511cdd(_0x56cd67-0x191,_0x386fdc-_0x28e4a4._0x4ed38b,_0x56cd67,_0x386fdc-0x77);}if(_0x305351['length']===0x0)throw createAnchoredFileError(_0x44fc0c(0xa19,_0x3933b9._0x598a93,_0x3933b9._0xc8660c,_0x3933b9._0x409d78),'At\x20least\x20one\x20anchored\x20operation\x20is\x20required.');if(_0x305351[_0x44fc0c(_0x3933b9._0x49e3c0,0x655,0x6af,0x815)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x136377(0x723,_0x3933b9._0x438469,0x37e,_0x3933b9._0x32f4c8),_0x44fc0c(_0x3933b9._0x1fe6ba,0xa09,_0x3933b9._0x5ba18e,0x81c)+MAX_OPERATIONS+_0x136377(0x358,0x2b0,0xd3,_0x3933b9._0x1de886));if(_0x438244[_0x136377(_0x3933b9._0x1386a9,_0x3933b9._0x208418,_0x3933b9._0x288e76,0x64c)][_0x44fc0c(0x927,0x6fc,0x6fb,_0x3933b9._0x4d6c78)]===0x0)throw createAnchoredFileError(_0x136377(_0x3933b9._0x33b192,0x569,_0x3933b9._0x48e3d1,0x6d9),_0x136377(0x1a2,_0x3933b9._0x128483,_0x3933b9._0x45e434,_0x3933b9._0x2eaee6));function _0x44fc0c(_0x51d061,_0x162937,_0xcf3071,_0x5dcee7){return _0x30b865(_0x51d061-0x78,_0xcf3071,_0x5dcee7-0x610,_0x5dcee7-_0x4b2fe1._0x58253e);}return _0x305351[_0x136377(0x55b,0x557,_0x3933b9._0x4053b4,0x529)](_0x287a1f=>{const _0x1ec37b={_0x2de184:0x123,_0x1bdf30:0x20e},_0x272196={_0x1e39fa:0x54};function _0x207bbb(_0x14e3ec,_0x2f6d3b,_0x4c9fd5,_0x5068d3){return _0x136377(_0x2f6d3b,_0x5068d3- -0x14f,_0x4c9fd5-0x83,_0x5068d3-_0x272196._0x1e39fa);}function _0x2c62e5(_0x11368a,_0x4beb24,_0x2a3517,_0x3867f5){return _0x44fc0c(_0x11368a-_0x1ec37b._0x2de184,_0x4beb24-0x1a,_0x4beb24,_0x2a3517- -_0x1ec37b._0x1bdf30);}switch(_0x287a1f[_0x207bbb(-_0x238707._0x26d700,0xc0,_0x238707._0x1ce13d,_0x238707._0x1bd152)]){case'replace':{requireValidAnchorLine(_0x287a1f[_0x207bbb(0x172,_0x238707._0x489e30,0x3cb,_0x238707._0x12dbc1)]),requireValidAnchorLine(_0x287a1f[_0x207bbb(-0x122,0x207,_0x238707._0x382cc1,_0x238707._0x2099e6)]);if(_0x287a1f[_0x2c62e5(0x536,_0x238707._0x155260,_0x238707._0xd03c6c,0x569)]>_0x287a1f[_0x207bbb(_0x238707._0x50fd02,0x26f,-0x11b,0xc7)])throw createAnchoredFileError(_0x207bbb(_0x238707._0x31d2da,_0x238707._0x29cd54,_0x238707._0x3ff875,_0x238707._0x2ed14a),_0x2c62e5(_0x238707._0x461c9a,_0x238707._0x24c8c9,_0x238707._0x39a5dc,0x429));if(typeof _0x287a1f[_0x2c62e5(_0x238707._0x2d5e6b,_0x238707._0x49c5bb,_0x238707._0x3ef122,_0x238707._0xe29411)]!=='string')throw createAnchoredFileError(_0x207bbb(_0x238707._0x1e8764,0x54b,_0x238707._0x43c1e2,0x41a),_0x207bbb(0x2fa,_0x238707._0x452bef,_0x238707._0x95d98c,_0x238707._0x5541fc));if(_0x287a1f['endLine']>_0x438244[_0x207bbb(_0x238707._0x5bad06,0x2a0,0x399,0x2fa)][_0x207bbb(_0x238707._0xdae295,0x48f,0x4c9,0x315)])throw createAnchoredFileError(_0x2c62e5(0x844,_0x238707._0x3680fd,0x70c,0x760),_0x2c62e5(0x508,_0x238707._0x282c26,_0x238707._0x4a0a6e,_0x238707._0x74f3d6)+_0x287a1f[_0x2c62e5(0x383,_0x238707._0x14d01f,0x553,0x651)]+',\x20'+_0x287a1f[_0x2c62e5(0x51c,_0x238707._0x2f61a6,_0x238707._0x216b93,0x21f)]+_0x2c62e5(0x56c,0x4a7,0x3da,0x209)+_0x438244[_0x2c62e5(_0x238707._0x1ad2d0,0x6ce,_0x238707._0x19e6ef,0x5d7)]['length']+_0x207bbb(0x48a,0x38a,0x547,_0x238707._0x4ac595));const _0xa45bd6=normalizeContent(_0x287a1f[_0x2c62e5(_0x238707._0x13a14d,0x2e0,_0x238707._0x4e2725,_0x238707._0x1b5906)]);return{'kind':_0x2c62e5(_0x238707._0x2b0c3d,0x7df,0x5d5,0x4b8),'canonical':{'operation':'replace','startLine':_0x287a1f[_0x207bbb(0xc0,_0x238707._0x9bfb92,_0x238707._0x53269b,_0x238707._0x48dc26)],'endLine':_0x287a1f['endLine'],'content':_0xa45bd6[_0x207bbb(0x422,_0x238707._0x31dbff,0x26e,_0x238707._0x3fb3b0)]('\x0a')},'spliceIndex':_0x287a1f[_0x2c62e5(0x75d,_0x238707._0x5a902f,_0x238707._0x1538d5,_0x238707._0x33b75f)]-0x1,'deleteCount':_0x287a1f[_0x207bbb(-0xed,_0x238707._0x159195,0x121,0xc7)]-_0x287a1f[_0x207bbb(0x9e,0xb5,_0x238707._0x2b0ed2,_0x238707._0x2a2eed)]+0x1,'rows':_0xa45bd6,'sourceStart':_0x287a1f['startLine'],'sourceEnd':_0x287a1f[_0x207bbb(-_0x238707._0x4950ba,-0x2d,-_0x238707._0x974407,0xc7)],'requiredLines':rangeLines(_0x287a1f[_0x207bbb(_0x238707._0x4999f7,_0x238707._0xb1324c,0x3de,0x261)],_0x287a1f[_0x2c62e5(_0x238707._0x57c054,0x2d5,0x3b9,_0x238707._0x34ad52)])};}case _0x2c62e5(_0x238707._0x2251d4,0x623,_0x238707._0x2a75db,_0x238707._0x81f833):{requireValidAnchorLine(_0x287a1f['startLine']),requireValidAnchorLine(_0x287a1f[_0x207bbb(0x190,-_0x238707._0x571a65,-0x80,0xc7)]);if(_0x287a1f[_0x207bbb(0x285,0x413,0x2a4,_0x238707._0x48dc26)]>_0x287a1f['endLine'])throw createAnchoredFileError(_0x207bbb(_0x238707._0x199b28,_0x238707._0x1a3183,_0x238707._0x47e9ce,_0x238707._0x2ed14a),'delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');if(_0x287a1f['endLine']>_0x438244[_0x2c62e5(0x73e,_0x238707._0x3b81a5,_0x238707._0x4a0e1d,_0x238707._0x1ae99c)][_0x207bbb(_0x238707._0x2b0ed2,_0x238707._0x2b06e5,_0x238707._0x35d00f,0x315)])throw createAnchoredFileError(_0x207bbb(0x518,0x540,_0x238707._0x143584,_0x238707._0x530f43),_0x207bbb(-_0x238707._0x548395,0x2bb,-0x12c,_0x238707._0x66353c)+_0x287a1f[_0x2c62e5(0x4e5,0x3ef,_0x238707._0x45ae9e,_0x238707._0x15c14a)]+',\x20'+_0x287a1f[_0x207bbb(0x146,_0x238707._0x3f3a52,_0x238707._0x260502,_0x238707._0x2099e6)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x438244[_0x2c62e5(0x4c5,_0x238707._0x35b206,_0x238707._0x19e6ef,0x577)][_0x2c62e5(0x811,0x46a,_0x238707._0xcc1994,_0x238707._0x5cd094)]+_0x207bbb(0x484,_0x238707._0x21e9e4,_0x238707._0x555110,0x3de));return{'kind':_0x2c62e5(_0x238707._0x55d5e2,0x7a6,_0x238707._0x31b50c,0x5fb),'canonical':{'operation':_0x2c62e5(0x411,_0x238707._0x334f02,0x5c8,_0x238707._0x30b360),'startLine':_0x287a1f[_0x2c62e5(_0x238707._0x3d5068,_0x238707._0x146ea3,0x553,_0x238707._0x3d3d68)],'endLine':_0x287a1f[_0x2c62e5(_0x238707._0x2a2aa4,0x2bd,_0x238707._0x216b93,_0x238707._0x1c3f6c)]},'spliceIndex':_0x287a1f[_0x2c62e5(_0x238707._0x121a84,0x5f5,0x553,_0x238707._0x7ef4ce)]-0x1,'deleteCount':_0x287a1f[_0x207bbb(0x222,_0x238707._0x42d94f,_0x238707._0xe36bd0,_0x238707._0x2099e6)]-_0x287a1f[_0x207bbb(0x35f,_0x238707._0x2e6d56,_0x238707._0x5af1e4,_0x238707._0x3ab447)]+0x1,'rows':[],'sourceStart':_0x287a1f[_0x207bbb(0x295,0x212,0x38c,0x261)],'sourceEnd':_0x287a1f[_0x2c62e5(_0x238707._0x1ea0fd,0x1e6,_0x238707._0x34d930,_0x238707._0x2bb675)],'requiredLines':rangeLines(_0x287a1f[_0x2c62e5(_0x238707._0x55e1d4,0x717,0x553,_0x238707._0x3dd9e3)],_0x287a1f[_0x2c62e5(0x32e,0x334,_0x238707._0x34d930,_0x238707._0x3a2c43)])};}case _0x2c62e5(0x428,_0x238707._0x42b88d,0x3ac,0x4d4):{requireValidAnchorLine(_0x287a1f[_0x2c62e5(0x5ae,0x40f,_0x238707._0x38892c,0x4b1)]);if(_0x287a1f['position']!=='before'&&_0x287a1f[_0x2c62e5(_0x238707._0xa12eb,0x217,0x429,_0x238707._0x34cba0)]!==_0x207bbb(_0x238707._0x115a35,_0x238707._0x2b348b,_0x238707._0x3717b1,0x2c0))throw createAnchoredFileError(_0x2c62e5(0x4fb,_0x238707._0x368fd1,_0x238707._0xb3285c,_0x238707._0x14ee14),_0x2c62e5(_0x238707._0x1acdc6,_0x238707._0x5eeff0,0x6f1,_0x238707._0xa0636f));if(typeof _0x287a1f[_0x207bbb(0x2f7,_0x238707._0x224479,0x4a,_0x238707._0x2cd06e)]!==_0x2c62e5(0x464,0x310,0x3a3,0x2c6))throw createAnchoredFileError('invalid_range',_0x207bbb(_0x238707._0xb737f8,0x1a,_0x238707._0x4e79f0,0x17d));if(_0x287a1f[_0x2c62e5(_0x238707._0x5b274e,0x6aa,_0x238707._0x1fd52e,0x673)]>_0x438244[_0x207bbb(0x189,_0x238707._0x24d323,0x441,_0x238707._0x49faa6)][_0x207bbb(0x23f,0x338,0x26d,_0x238707._0x23d883)])throw createAnchoredFileError(_0x2c62e5(_0x238707._0x107fed,_0x238707._0x57c539,0x70c,0x7ce),_0x207bbb(_0x238707._0x3c9d68,0x26e,_0x238707._0x916b65,_0x238707._0xbb134e)+_0x287a1f[_0x2c62e5(0x63f,0x383,0x544,_0x238707._0x10c0f3)]+'\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x438244[_0x207bbb(_0x238707._0x237aed,_0x238707._0x6d9d0f,_0x238707._0x35fd78,0x2fa)]['length']+_0x2c62e5(_0x238707._0x32775d,_0x238707._0x3deb7d,_0x238707._0x369557,0x5d5));const _0x2dfdfd=normalizeContent(_0x287a1f[_0x207bbb(0x10a,0x33c,_0x238707._0x439ced,_0x238707._0x2cd06e)]),_0x560868=_0x287a1f[_0x207bbb(_0x238707._0x1e2571,0x109,_0x238707._0x3c6bcd,0x137)]==='before'?_0x287a1f[_0x207bbb(0x2b3,0x141,_0x238707._0x4f117b,0x252)]-0x1:_0x287a1f[_0x2c62e5(_0x238707._0x3bd868,0x4aa,0x544,0x5a5)];return{'kind':_0x207bbb(0x16f,-0x111,0x249,0xba),'canonical':{'operation':'insert','position':_0x287a1f[_0x207bbb(0x201,_0x238707._0x332697,-0x20,0x137)],'line':_0x287a1f['line'],'content':_0x2dfdfd[_0x2c62e5(_0x238707._0x384dde,0x82f,0x620,_0x238707._0x149f47)]('\x0a')},'spliceIndex':_0x560868,'deleteCount':0x0,'rows':_0x2dfdfd,'gap':_0x560868,'requiredLines':[_0x287a1f[_0x207bbb(_0x238707._0x5f09e0,0x3d2,0x22a,_0x238707._0x1eb27d)]]};}default:{const _0x3f0509=_0x287a1f;throw createAnchoredFileError(_0x2c62e5(0x75c,0x6c8,_0x238707._0xb3285c,_0x238707._0x54598c),_0x207bbb(_0x238707._0x46b2d8,0x336,0x4e6,_0x238707._0x4cf212)+String(_0x3f0509[_0x2c62e5(0x31a,0x55f,_0x238707._0x51fb4c,0x2a0)])+'\x27.');}}});}function assertNoOverlaps(_0xcb4231){const _0x48f48d={_0x3f56ad:0x1f1,_0x162fe3:0x359,_0x237368:0x76c,_0x198bc5:0x761,_0x134d9f:0x59a,_0x598273:0x419,_0x5e9fb1:0x24,_0x534b3a:0x5df,_0x2816c8:0x43a,_0x3b3dd5:0x74c,_0xc44777:0x5c9,_0x3223c1:0x63f,_0x4087fb:0x5b8,_0x3d841a:0x615,_0x6aa96b:0x447,_0x12aafe:0x47f,_0x26e6da:0x4f1,_0x59237f:0x429,_0x21b309:0x39d,_0x1c5121:0x54b,_0x177649:0x11f,_0x1e72dc:0x202,_0x1d7cb9:0x184,_0x105dab:0x55f,_0x26a1ac:0x459,_0x268c25:0x5e2,_0x1c3f6e:0x49c,_0x5742a8:0x4dd,_0x4f1978:0x5e1,_0x3c211f:0x3ed,_0x24e12a:0x5b2,_0x1d75e2:0x842},_0x5f25eb={_0x289544:0x1d9,_0x52b329:0x190},_0xc99b19={_0x2ad4a4:0xf},_0xcf1572=_0xcb4231['filter'](_0x257242=>_0x257242[_0x3c3ed5(0x19e,0x36f,0x44e,0x31e)]==='replace'||_0x257242[_0x5ec1b0(0x252,-0x42,0x119,0x1cd)]===_0x3c3ed5(0x71a,0x3b7,0x497,0x55b)),_0x433390=_0xcb4231[_0x3c3ed5(_0x48f48d._0x3f56ad,0x28a,0x2ac,_0x48f48d._0x162fe3)](_0x8f0c03=>_0x8f0c03[_0x3c3ed5(0x4da,0x38f,0x145,0x31e)]===_0x3c3ed5(0x4ca,0x386,0x3fe,0x33f));function _0x3c3ed5(_0x55d000,_0x25a147,_0xcc8377,_0x5ca6a1){return _0x30b865(_0x55d000-_0xc99b19._0x2ad4a4,_0x25a147,_0x5ca6a1-0x395,_0x5ca6a1-0x59);}for(let _0x404abb=0x0;_0x404abb<_0xcf1572[_0x3c3ed5(_0x48f48d._0x237368,0x714,_0x48f48d._0x198bc5,0x59a)];_0x404abb+=0x1){for(let _0xabb19c=_0x404abb+0x1;_0xabb19c<_0xcf1572[_0x3c3ed5(0x543,0x4db,0x540,_0x48f48d._0x134d9f)];_0xabb19c+=0x1){const _0x375438=_0xcf1572[_0x404abb],_0xc5396e=_0xcf1572[_0xabb19c];if(Math[_0x3c3ed5(0x3ed,0x2d5,_0x48f48d._0x598273,0x3c1)](_0x375438[_0x5ec1b0(0x36d,-_0x48f48d._0x5e9fb1,0x1e8,0x1df)],_0xc5396e['sourceStart'])<=Math['min'](_0x375438[_0x5ec1b0(_0x48f48d._0x534b3a,0x604,_0x48f48d._0x2816c8,0x2a2)],_0xc5396e[_0x3c3ed5(_0x48f48d._0x3b3dd5,0x75d,_0x48f48d._0xc44777,_0x48f48d._0x3223c1)]))throw createAnchoredFileError(_0x3c3ed5(_0x48f48d._0x4087fb,0x7b3,_0x48f48d._0x3d841a,0x5a6),_0x5ec1b0(_0x48f48d._0x6aa96b,_0x48f48d._0x12aafe,_0x48f48d._0x26e6da,0x3a5));}}function _0x5ec1b0(_0x3fe4f7,_0x171e92,_0x3d5398,_0x5e49a9){return _0x30b865(_0x3fe4f7-_0x5f25eb._0x289544,_0x3fe4f7,_0x3d5398-_0x5f25eb._0x52b329,_0x5e49a9-0x1cc);}for(let _0x2da81f=0x0;_0x2da81f<_0x433390['length'];_0x2da81f+=0x1){for(let _0x3f3133=_0x2da81f+0x1;_0x3f3133<_0x433390[_0x3c3ed5(_0x48f48d._0x59237f,_0x48f48d._0x21b309,_0x48f48d._0x1c5121,_0x48f48d._0x134d9f)];_0x3f3133+=0x1){if(_0x433390[_0x2da81f]['gap']===_0x433390[_0x3f3133][_0x5ec1b0(0x157,_0x48f48d._0x177649,_0x48f48d._0x1e72dc,_0x48f48d._0x1d7cb9)])throw createAnchoredFileError(_0x5ec1b0(_0x48f48d._0x105dab,0x22f,0x3a1,_0x48f48d._0x26a1ac),_0x3c3ed5(_0x48f48d._0x268c25,0x5fe,_0x48f48d._0x1c3f6e,_0x48f48d._0x5742a8));}}for(const _0x331ef5 of _0x433390){for(const _0x4d1510 of _0xcf1572){if(_0x331ef5[_0x3c3ed5(0x3bf,0x5d9,0x593,0x407)]>=_0x4d1510[_0x3c3ed5(0x4ce,0x4d8,_0x48f48d._0x4f1978,_0x48f48d._0x3c211f)]&&_0x331ef5[_0x3c3ed5(0x385,_0x48f48d._0x24e12a,0x29e,0x407)]<=_0x4d1510[_0x3c3ed5(0x566,_0x48f48d._0x1d75e2,0x801,0x63f)]-0x1)throw createAnchoredFileError('overlapping_operations','An\x20insertion\x20targets\x20a\x20gap\x20strictly\x20inside\x20a\x20replaced\x20or\x20deleted\x20range.');}}}function assertLinesObserved(_0x25ffef,_0x3fc389){const _0x1537c1={_0x9f6b30:0x2a4,_0xaecc56:0x306,_0x314489:0x3a7,_0x32e7d8:0x289,_0x193048:0x103,_0x59b4b7:0x25c,_0x45f2e2:0x420,_0x908908:0x273,_0x27e238:0x43a,_0x5cb8bb:0x484,_0x1039f3:0x55a,_0x4c0006:0x3a8},_0x16c509={_0x2028ad:0x20c,_0x145cd1:0xed},_0x5bfb68={_0x5f56db:0x1d1,_0x470533:0x127},_0x5a90ea=new Set();for(const _0x330e63 of _0x25ffef){for(const _0x5d16ad of _0x330e63[_0x15e037(_0x1537c1._0x9f6b30,0x3cf,0x2f4,0x47d)]){_0x5a90ea[_0x1c1bee(0x36a,0x1fc,_0x1537c1._0xaecc56,_0x1537c1._0x314489)](_0x5d16ad);}}function _0x1c1bee(_0x9c7e2d,_0x1ff5ec,_0x4f36c2,_0x4f92e8){return _0x30b865(_0x9c7e2d-_0x5bfb68._0x5f56db,_0x9c7e2d,_0x4f36c2-_0x5bfb68._0x470533,_0x4f92e8-0x136);}function _0x15e037(_0x24a94c,_0xd683fe,_0x4f4299,_0x3a42c3){return _0x30b865(_0x24a94c-0xe7,_0x4f4299,_0xd683fe-_0x16c509._0x2028ad,_0x3a42c3-_0x16c509._0x145cd1);}const _0x334f5d=[..._0x5a90ea][_0x15e037(0x34c,_0x1537c1._0x32e7d8,0x1c2,_0x1537c1._0x193048)]((_0x244763,_0x136779)=>_0x244763-_0x136779);for(const _0x441db1 of _0x334f5d){if(!_0x3fc389[_0x15e037(0x42e,0x429,0x2b2,0x28c)](_0x441db1))throw createAnchoredFileError(_0x15e037(_0x1537c1._0x59b4b7,_0x1537c1._0x45f2e2,_0x1537c1._0x908908,0x438),_0x1c1bee(_0x1537c1._0x27e238,_0x1537c1._0x5cb8bb,0x391,_0x1537c1._0x1039f3)+_0x441db1+_0x1c1bee(0x2a4,_0x1537c1._0x4c0006,0x47b,0x26a),{'requiredLines':_0x334f5d});}return _0x334f5d;}function applyOperations(_0x47266c,_0x4598ce){const _0x5cfcc7={_0x26b92e:0x5f8,_0x1bf9f4:0x58f,_0x4800a6:0x4c3,_0x12bda3:0x743,_0x3a038e:0x617,_0x415228:0x542},_0x2a4830={_0x101078:0x8d,_0x46fda4:0x32a},_0x451aac={_0x3e4c3b:0x23b,_0x37ee83:0x23d,_0x2a1cb7:0x127,_0x199170:0x2d5,_0xd8287a:0x5c,_0x14e98e:0x14b,_0x4e8c76:0x352,_0x54e862:0x17b,_0x524d04:0x72,_0x17c1ea:0x136,_0x311dd4:0x33a,_0x5c2c65:0x20c,_0x5af03e:0x35b,_0xc7210c:0x15a,_0x2b2518:0x164},_0x5f47e9={_0x4d477f:0xcb},_0x4346de={_0x357c32:0xd,_0x1aa9b6:0x1e6},_0x41e5bb=[..._0x47266c['lines']];function _0x179ee5(_0x2cbdb6,_0x2dc18b,_0x300fe3,_0x478898){return _0x511cdd(_0x2cbdb6-_0x4346de._0x357c32,_0x2dc18b-_0x4346de._0x1aa9b6,_0x300fe3,_0x2dc18b-0x189);}const _0x28ba02=[..._0x4598ce][_0x1daa81(_0x5cfcc7._0x26b92e,0x61f,_0x5cfcc7._0x1bf9f4,_0x5cfcc7._0x4800a6)]((_0x1fa715,_0x4a0a49)=>{const _0x3141b1={_0x5626ed:0x616};if(_0x1fa715['spliceIndex']!==_0x4a0a49[_0x34bdf2(_0x451aac._0x3e4c3b,_0x451aac._0x37ee83,_0x451aac._0x2a1cb7,0x1b5)])return _0x4a0a49[_0x34bdf2(-0xa6,_0x451aac._0x199170,0x127,-_0x451aac._0xd8287a)]-_0x1fa715[_0x3b4fa2(0x1a2,_0x451aac._0x14e98e,0x14f,0x1b1)];const _0x181b42=_0x1fa715[_0x34bdf2(-0x37b,-_0x451aac._0x4e8c76,-_0x451aac._0x54e862,0x12)]===_0x3b4fa2(_0x451aac._0x524d04,-_0x451aac._0x17c1ea,-_0x451aac._0x311dd4,-0xf7),_0x3c1837=_0x4a0a49['kind']===_0x34bdf2(-_0x451aac._0x5c2c65,-_0x451aac._0x5af03e,-_0x451aac._0xc7210c,-_0x451aac._0x2b2518);function _0x3b4fa2(_0x5a2fbb,_0x1cb656,_0x2a3c84,_0x1f1f0d){return _0x1daa81(_0x5a2fbb-0x143,_0x1cb656-_0x5f47e9._0x4d477f,_0x1cb656- -0x5f2,_0x1f1f0d);}function _0x34bdf2(_0x59b9df,_0x238761,_0x43b30d,_0x3bccd6){return _0x1daa81(_0x59b9df-0xa8,_0x238761-0x1cf,_0x43b30d- -_0x3141b1._0x5626ed,_0x3bccd6);}if(_0x181b42!==_0x3c1837)return _0x181b42?0x1:-0x1;return 0x0;});for(const _0x4e8c19 of _0x28ba02){_0x41e5bb['splice'](_0x4e8c19[_0x179ee5(0x655,0x59c,_0x5cfcc7._0x12bda3,0x682)],_0x4e8c19[_0x179ee5(_0x5cfcc7._0x3a038e,_0x5cfcc7._0x415228,0x6c6,0x3f7)],..._0x4e8c19['rows']);}if(_0x41e5bb[_0x179ee5(0x618,0x576,0x4b5,0x5a0)]===0x0)return'';const _0xc0e479=_0x41e5bb['join']('\x0a');function _0x1daa81(_0x3645fa,_0x405f8f,_0x415003,_0x162ce5){return _0x511cdd(_0x3645fa-_0x2a4830._0x101078,_0x405f8f-0x93,_0x162ce5,_0x415003-_0x2a4830._0x46fda4);}return _0x47266c['finalNewline']?_0xc0e479+'\x0a':_0xc0e479;}function operationRowDelta(_0x4bca8f){const _0x194a39={_0x3e9683:0x438,_0x34f020:0x771},_0x3b31db={_0x58d8b2:0x10c,_0x3842d9:0x223};function _0x30313a(_0x4e1f25,_0x16cd5a,_0xd450f7,_0x62630a){return _0x511cdd(_0x4e1f25-_0x3b31db._0x58d8b2,_0x16cd5a-0xd9,_0xd450f7,_0x62630a-_0x3b31db._0x3842d9);}function _0x30a5f0(_0x4498bc,_0x582e57,_0x100855,_0x3e4bed){return _0x30b865(_0x4498bc-0x1b3,_0x3e4bed,_0x100855-0x37a,_0x3e4bed-0xa9);}return _0x4bca8f['rows'][_0x30313a(_0x194a39._0x3e9683,0x674,_0x194a39._0x34f020,0x610)]-_0x4bca8f[_0x30313a(0x4d2,0x587,0x66b,0x5dc)];}function finalFileOrder(_0x3cbc77){const _0x40b37f={_0x2885b5:0x1a9},_0x39683b={_0x277b3a:0x66c,_0x2bc337:0x680,_0x4f5d31:0x484,_0x16265d:0x3ca,_0x18593c:0x5da,_0x5929d1:0x345,_0x483d6c:0x265,_0x584040:0x3ae,_0x14fe9a:0x4bc,_0x358485:0x47c},_0x325808={_0xe71d6b:0x5a,_0xafb0a:0x1,_0x1a70b1:0x184};function _0x1fe5b2(_0x140a45,_0x254382,_0x59bb03,_0x3b1099){return _0x30b865(_0x140a45-_0x325808._0xe71d6b,_0x140a45,_0x59bb03- -_0x325808._0xafb0a,_0x3b1099-_0x325808._0x1a70b1);}return[..._0x3cbc77][_0x1fe5b2(-0x9f,0xba,0x7c,_0x40b37f._0x2885b5)]((_0x1e0685,_0x2f7375)=>{const _0x37d0eb={_0x3363fa:0x12e,_0x766b29:0x11a};if(_0x1e0685['spliceIndex']!==_0x2f7375['spliceIndex'])return _0x1e0685['spliceIndex']-_0x2f7375[_0x2da381(0x50e,_0x39683b._0x277b3a,_0x39683b._0x2bc337,0x80d)];function _0x2da381(_0x36aed9,_0x122dbd,_0x173110,_0x25dbed){return _0x1fe5b2(_0x36aed9,_0x122dbd-0x58,_0x122dbd-0x442,_0x25dbed-0x3b);}const _0x89cd6e=_0x1e0685[_0x2da381(_0x39683b._0x4f5d31,_0x39683b._0x16265d,0x481,0x22b)]===_0x2da381(_0x39683b._0x18593c,0x3eb,_0x39683b._0x5929d1,_0x39683b._0x483d6c),_0x488359=_0x2f7375[_0x2da381(_0x39683b._0x584040,_0x39683b._0x16265d,_0x39683b._0x14fe9a,_0x39683b._0x358485)]==='insert';function _0x4820fc(_0x4c3e2,_0x111bb5,_0x55ed7c,_0x35adaa){return _0x1fe5b2(_0x111bb5,_0x111bb5-_0x37d0eb._0x3363fa,_0x35adaa-0x1ea,_0x35adaa-_0x37d0eb._0x766b29);}if(_0x89cd6e!==_0x488359)return _0x89cd6e?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x2f3102){const _0x573416={_0xb974f5:0x68e,_0xf740dd:0x50f,_0x1aceb7:0x35d,_0x329271:0x539,_0x547f4e:0x3b8,_0x25d51b:0x4d4,_0x48bf7c:0x312,_0x1129a1:0x4dc,_0x20e194:0x35b,_0x2c55e9:0x177,_0x434100:0xc8,_0x1508d2:0x292,_0x36b628:0x8a,_0x59d12f:0x6c8,_0x47f55d:0x6af,_0x3ae970:0x718,_0xc93333:0x141,_0xa16434:0xd9,_0x3a93e2:0x50c,_0x513ac7:0x3b2,_0x4bd3e2:0x537,_0x4f2fc0:0x36c,_0x195c1e:0x456},_0xad39e5={_0x558243:0x177,_0x143a95:0xb3},_0x80ee8b={_0x2c14c6:0x3a,_0x3ac572:0xfe};function _0x20774e(_0xb06c59,_0x341427,_0x1f07c3,_0xdafe0b){return _0x30b865(_0xb06c59-_0x80ee8b._0x2c14c6,_0x341427,_0xb06c59-0x586,_0xdafe0b-_0x80ee8b._0x3ac572);}const _0x547546=new Array(_0x2f3102[_0x20774e(0x78b,0x980,_0x573416._0xb974f5,0x7b1)]);let _0x502a36=0x0;function _0x5c7e44(_0x6bd6e9,_0x43b331,_0x452fc3,_0x3666bf){return _0x30b865(_0x6bd6e9-_0xad39e5._0x558243,_0x6bd6e9,_0x452fc3-0x150,_0x3666bf-_0xad39e5._0x143a95);}for(const _0x2c8796 of finalFileOrder(_0x2f3102)){const _0x1c3e1d=_0x2c8796[_0x20774e(_0x573416._0xf740dd,_0x573416._0x1aceb7,0x3df,0x379)]===_0x20774e(0x530,_0x573416._0x329271,_0x573416._0x547f4e,0x592)?_0x2c8796[_0x20774e(_0x573416._0x25d51b,_0x573416._0x48bf7c,_0x573416._0x1129a1,0x577)][_0x5c7e44(_0x573416._0x20e194,-0x78,_0x573416._0x2c55e9,0x3a)]==='before'?_0x2c8796['canonical'][_0x5c7e44(0x122,_0x573416._0x434100,_0x573416._0x1508d2,0x1c4)]:_0x2c8796[_0x5c7e44(0x99,0x21d,0x9e,_0x573416._0x36b628)][_0x20774e(_0x573416._0x59d12f,_0x573416._0x47f55d,0x57d,0x8d3)]+0x1:_0x2c8796[_0x20774e(0x5de,0x6a0,0x737,_0x573416._0x3ae970)],_0x4c02f0=_0x1c3e1d+_0x502a36,_0x493723=_0x2c8796[_0x5c7e44(0x2b6,_0x573416._0xc93333,_0x573416._0xa16434,-0xb4)]===_0x5c7e44(_0x573416._0x3a93e2,_0x573416._0x513ac7,0x316,0x367)?0x0:_0x2c8796[_0x5c7e44(_0x573416._0x4bd3e2,0x25c,_0x573416._0x4f2fc0,_0x573416._0x195c1e)]['length'];_0x547546[_0x2f3102['indexOf'](_0x2c8796)]={'newStartLine':_0x4c02f0,'newEndLine':_0x4c02f0+_0x493723-0x1},_0x502a36+=operationRowDelta(_0x2c8796);}return _0x547546;}function buildBlock(_0x24f5c8,_0x4e9dc2,_0x5f473d,_0x30d6ee){const _0x356e8e={_0x17d98e:0x162,_0x3e946f:0xed,_0x118faf:0xd,_0xd9cd75:0xbe,_0x151351:0x11e,_0x372bc2:0x33,_0x250d72:0x4ad,_0x4d15c3:0x308,_0x4f516e:0x2fc,_0x4c181b:0x29b,_0x5a5fb8:0x1f4,_0x371d76:0x28f,_0x3c5045:0x15b,_0x2565bc:0x89,_0xc69bb5:0x166,_0x2c233f:0x269,_0x31d002:0x129,_0x27c9aa:0x177,_0x42a4eb:0x14d,_0x39a886:0x260,_0x101256:0x2f3,_0x24b611:0xd8,_0x139de3:0x421,_0xa20d1a:0x2f8,_0x21b70e:0x29d,_0x24707f:0x36e,_0x5891bd:0x20b,_0x22b6d7:0x245,_0x3e162c:0x3df,_0x1d5eac:0x265,_0xe5b706:0x3ef,_0x1a7d83:0x22c,_0x2a6051:0x1fb,_0x3aeaa4:0xa1,_0x9634e0:0x242,_0x3d773d:0x265,_0x256834:0x284},_0x7fecd2={_0x3c58ef:0x8b,_0x575670:0x19f};if(_0x4e9dc2['kind']===_0x3afc14(-_0x356e8e._0x17d98e,_0x356e8e._0x3e946f,-_0x356e8e._0x118faf,_0x356e8e._0xd9cd75)){const {line:_0x2d54db,position:_0x1f19ee}=_0x4e9dc2[_0x26dcf0(-0x12a,-0x44,_0x356e8e._0x151351,-_0x356e8e._0x372bc2)],_0x56364a=_0x1f19ee===_0x26dcf0(_0x356e8e._0x250d72,0x40b,0x308,0x322)?_0x2d54db:_0x2d54db+0x1;return{'oldText':'','newText':_0x4e9dc2[_0x26dcf0(0x243,_0x356e8e._0x4d15c3,_0x356e8e._0x4f516e,_0x356e8e._0x4c181b)][_0x3afc14(_0x356e8e._0x5a5fb8,_0x356e8e._0x371d76,0x267,_0x356e8e._0x3c5045)]('\x0a'),'lineNumbers':{'oldStartLine':_0x56364a,'oldEndLine':_0x56364a-0x1,'newStartLine':_0x5f473d,'newEndLine':_0x30d6ee,'oldLineCount':0x0,'newLineCount':_0x4e9dc2['rows'][_0x26dcf0(0x2ba,0x76,_0x356e8e._0x2565bc,0x284)]}};}const _0x37e5a8=_0x24f5c8[_0x26dcf0(0x93,_0x356e8e._0xc69bb5,0xe9,_0x356e8e._0x2c233f)][_0x3afc14(0x197,_0x356e8e._0x31d002,0x54,_0x356e8e._0x27c9aa)](_0x4e9dc2[_0x3afc14(_0x356e8e._0x42a4eb,0xdc,0xa1,_0x356e8e._0x39a886)]-0x1,_0x4e9dc2[_0x3afc14(0x4be,0x4bd,_0x356e8e._0x101256,0x251)])[_0x26dcf0(_0x356e8e._0x24b611,_0x356e8e._0x139de3,_0x356e8e._0xa20d1a,_0x356e8e._0x21b70e)]('\x0a'),_0xa60bdb=_0x4e9dc2[_0x3afc14(0x132,_0x356e8e._0x24707f,_0x356e8e._0x101256,0x1fa)]-_0x4e9dc2['sourceStart']+0x1;function _0x26dcf0(_0x438b4f,_0x4fed93,_0x2f88e1,_0x5b3dc8){return _0x30b865(_0x438b4f-0xef,_0x2f88e1,_0x5b3dc8-0x7f,_0x5b3dc8-0xa3);}if(_0x4e9dc2['kind']===_0x26dcf0(_0x356e8e._0x5891bd,0x309,0x19e,_0x356e8e._0x22b6d7))return{'oldText':_0x37e5a8,'newText':'','lineNumbers':{'oldStartLine':_0x4e9dc2['sourceStart'],'oldEndLine':_0x4e9dc2['sourceEnd'],'newStartLine':_0x5f473d,'newEndLine':_0x5f473d-0x1,'oldLineCount':_0xa60bdb,'newLineCount':0x0}};function _0x3afc14(_0x11434c,_0x4089f5,_0x249953,_0x990c9a){return _0x511cdd(_0x11434c-_0x7fecd2._0x3c58ef,_0x4089f5-0x6b,_0x990c9a,_0x249953- -_0x7fecd2._0x575670);}return{'oldText':_0x37e5a8,'newText':_0x4e9dc2[_0x3afc14(_0x356e8e._0x3e162c,0x3f8,_0x356e8e._0x1d5eac,_0x356e8e._0xe5b706)][_0x26dcf0(0x25c,_0x356e8e._0x1a7d83,0x48e,_0x356e8e._0x21b70e)]('\x0a'),'lineNumbers':{'oldStartLine':_0x4e9dc2[_0x3afc14(-0x124,_0x356e8e._0x2a6051,_0x356e8e._0x3aeaa4,_0x356e8e._0x9634e0)],'oldEndLine':_0x4e9dc2['sourceEnd'],'newStartLine':_0x5f473d,'newEndLine':_0x30d6ee,'oldLineCount':_0xa60bdb,'newLineCount':_0x4e9dc2[_0x3afc14(0x427,0x30c,_0x356e8e._0x3d773d,0x1a2)][_0x26dcf0(0x423,0xe5,0xb0,_0x356e8e._0x256834)]}};}function stableStringify(_0x152f49){const _0x57f963={_0x475164:0x72a,_0x36e1e4:0x686,_0x11f277:0x7b4,_0x3a3630:0x5cb,_0x2e8783:0x6a2,_0x4c9091:0x656,_0xb5aab2:0x837},_0x3daa67={_0x312c91:0x3b,_0x8a6877:0x368},_0x155961={_0x4648fb:0x1a7,_0x5375d2:0x2ca};if(Array[_0x494cb2(0x747,_0x57f963._0x475164,_0x57f963._0x36e1e4,_0x57f963._0x11f277)](_0x152f49))return'['+_0x152f49[_0x3863d7(0x5c2,_0x57f963._0x3a3630,0x6a6,0x412)](stableStringify)[_0x494cb2(_0x57f963._0x2e8783,_0x57f963._0x4c9091,0x617,0x76e)](',')+']';function _0x3863d7(_0xf146ae,_0x3e6c8f,_0x4b85a2,_0x1a8376){return _0x30b865(_0xf146ae-_0x155961._0x4648fb,_0x4b85a2,_0xf146ae-_0x155961._0x5375d2,_0x1a8376-0x16e);}function _0x494cb2(_0x502240,_0x4a1c2d,_0x17bfe3,_0x4b0625){return _0x511cdd(_0x502240-_0x3daa67._0x312c91,_0x4a1c2d-0x31,_0x4a1c2d,_0x4b0625-_0x3daa67._0x8a6877);}if(_0x152f49!==null&&typeof _0x152f49==='object'){const _0x173dad=_0x152f49;return'{'+Object[_0x494cb2(0x452,0x37f,0x76c,0x568)](_0x173dad)['sort']()[_0x494cb2(0x6f4,_0x57f963._0xb5aab2,0xa17,0x848)](_0x492f12=>JSON[_0x3863d7(0x2ba,0x2a4,0x26e,0x2f5)](_0x492f12)+':'+stableStringify(_0x173dad[_0x492f12]))['join'](',')+'}';}return JSON['stringify'](_0x152f49);}function prepareCanonicalFileEdit(_0x209466,_0x3152e2,_0x1e15cf){const _0x494d4b={_0x5937ed:0x5dd,_0x2aaba4:0x569,_0x12d1d6:0x549,_0x20179e:0x1d2,_0x34a0d7:0x121,_0x40437b:0x131,_0x545d65:0xb7,_0x348d69:0x3e8,_0x322f21:0x3d6,_0x5d3c20:0x5ca},_0x3d7885={_0x4a5717:0x15a,_0xde9221:0x29},_0x532b8e={_0x4054c3:0xf8},_0x232e41=planOperations(_0x209466,_0x1e15cf);assertNoOverlaps(_0x232e41);const _0x18a367=assertLinesObserved(_0x232e41,_0x3152e2);function _0x873761(_0x3849a4,_0x73996,_0x21a1fc,_0x16ad83){return _0x511cdd(_0x3849a4-0x132,_0x73996-0x62,_0x73996,_0x3849a4- -_0x532b8e._0x4054c3);}const _0x4228b9=applyOperations(_0x209466,_0x232e41);if(_0x4228b9===_0x209466[_0x4ad32a(_0x494d4b._0x5937ed,0x593,_0x494d4b._0x2aaba4,_0x494d4b._0x12d1d6)])throw createAnchoredFileError(_0x873761(_0x494d4b._0x20179e,0x391,_0x494d4b._0x34a0d7,0x374),_0x873761(0xbd,-_0x494d4b._0x40437b,_0x494d4b._0x545d65,0x2f));const _0x1d1d9d=_0x232e41['map'](_0x43bc4b=>_0x43bc4b[_0x4ad32a(0x284,0x2b2,0x19c,0x2df)]);function _0x4ad32a(_0x378f08,_0x4d6a30,_0x3e5993,_0x623129){return _0x511cdd(_0x378f08-_0x3d7885._0x4a5717,_0x4d6a30-_0x3d7885._0xde9221,_0x4d6a30,_0x378f08-0x14e);}const _0x404675=computeFinalFileNewSideLines(_0x232e41);return{'afterText':_0x4228b9,'operations':_0x1d1d9d,'blocks':_0x232e41[_0x873761(_0x494d4b._0x348d69,_0x494d4b._0x322f21,_0x494d4b._0x5d3c20,0x4f5)]((_0x59741a,_0x372d5f)=>{const {newStartLine:_0x24f6b7,newEndLine:_0x3e871c}=_0x404675[_0x372d5f];return buildBlock(_0x209466,_0x59741a,_0x24f6b7,_0x3e871c);}),'requiredLines':_0x18a367,'payloadDigest':sha256Bytes(stableStringify(_0x1d1d9d))};}import _0x109b51 from'string-width';var EMPTY_FILE_MESSAGE=_0x511cdd(0x54d,0x30a,0x3e4,0x3bf);function clampLine(_0x123be1,_0x43c3ca){const _0x5a923e={_0x86d44d:0x1ec,_0x5abd88:0x20d,_0x4e3812:0x262,_0x45d3b9:0x12,_0x374a72:0x294,_0x2e564f:0x235},_0x4af3bc={_0x3e78ec:0x19d,_0x356eff:0x437},_0xcbcac4={_0x32b7ee:0xc4,_0x1767f6:0x18b};if(!Number[_0x50b0a5(_0x5a923e._0x86d44d,_0x5a923e._0x5abd88,_0x5a923e._0x4e3812,0x20c)](_0x123be1))return 0x1;function _0x50b0a5(_0xf7f80a,_0x2822e0,_0x1e478d,_0x13e6c2){return _0x30b865(_0xf7f80a-0xb0,_0x13e6c2,_0x2822e0- -_0xcbcac4._0x32b7ee,_0x13e6c2-_0xcbcac4._0x1767f6);}function _0x2a3862(_0x11214d,_0x4c6fed,_0x8a1ef0,_0x39caca){return _0x30b865(_0x11214d-_0x4af3bc._0x3e78ec,_0x8a1ef0,_0x4c6fed-_0x4af3bc._0x356eff,_0x39caca-0xa7);}return Math['max'](0x1,Math[_0x50b0a5(_0x5a923e._0x45d3b9,-0x11f,-_0x5a923e._0x374a72,-_0x5a923e._0x2e564f)](Math['trunc'](_0x123be1),_0x43c3ca));}function formatAnchoredFileRead(_0x306092){const _0x51b370={_0xa99109:0x2b0,_0x44b47e:0x348,_0x10dc1e:0x200,_0xf41703:0x42e,_0x298a45:0x283,_0x33a7e0:0x90,_0x3033d7:0x18b,_0x141ed0:0x67,_0x39a0da:0x48e,_0x405441:0x66c,_0x54d881:0x37,_0x5d26ea:0x6a,_0x1b2abd:0x1a4,_0x40fb5a:0x207,_0x372aa9:0x3b2,_0x5bc0cf:0x53c,_0x5b537a:0x5fa,_0x3b7b4f:0xd8,_0x296b11:0x59,_0x50b467:0x3a,_0x47c6bd:0x24d,_0x228ccb:0x1e3,_0x1d019e:0x112,_0x46e06a:0x112,_0x1974d6:0x1cf,_0x2f29c5:0x22a,_0x5e18e3:0x3cf,_0x456a77:0x205,_0x506133:0x3bc,_0x260a1a:0x239,_0xbfdec7:0x48f,_0x75644b:0x3aa,_0x4fd21c:0x400},_0xa3dc98={_0x23721d:0xc,_0x5b71df:0x46},_0x3dabda={_0x3f1481:0x69},{displayPath:_0x281644,snapshot:_0x1ffaeb,maxBytes:_0x31f24e}=_0x306092;function _0xa7519a(_0x3ccd7a,_0x5dfb6a,_0x5d7a13,_0x1fb0a7){return _0x30b865(_0x3ccd7a-_0x3dabda._0x3f1481,_0x1fb0a7,_0x5dfb6a-0x1ca,_0x1fb0a7-0xae);}const _0x418114=_0x1ffaeb[_0x83cb00(_0x51b370._0xa99109,0x8b,0x1f6,0x2db)]['length'],_0x18a8ef='['+_0x281644+'#'+_0x1ffaeb[_0x83cb00(_0x51b370._0x44b47e,0x319,_0x51b370._0x10dc1e,0x379)]+']\x0a',_0x5a821b=Buffer[_0x83cb00(0x392,_0x51b370._0xf41703,_0x51b370._0x298a45,0x264)](_0x18a8ef,_0x83cb00(-_0x51b370._0x33a7e0,-_0x51b370._0x3033d7,-_0x51b370._0x141ed0,-0x244));if(_0x418114===0x0){const _0x297a36=''+_0x18a8ef+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x297a36,'displayedLines':[],'truncated':![]};}const _0x4d4bf0=clampLine(_0x306092[_0xa7519a(0x4ab,_0x51b370._0x39a0da,_0x51b370._0x405441,0x35a)]??0x1,_0x418114),_0x4d0202=clampLine(_0x306092[_0x83cb00(_0x51b370._0x54d881,0x7e,_0x51b370._0x5d26ea,_0x51b370._0x1b2abd)]??_0x418114,_0x418114);function _0x83cb00(_0x5c1f2e,_0xa7c0e9,_0x384864,_0x1f5195){return _0x30b865(_0x5c1f2e-0xf8,_0xa7c0e9,_0x384864-_0xa3dc98._0x23721d,_0x1f5195-_0xa3dc98._0x5b71df);}const _0x4884ca=Math[_0xa7519a(-0x55,0x16f,0x327,_0x51b370._0x40fb5a)](_0x4d4bf0,_0x4d0202),_0x25c3b1=Math['max'](_0x4d4bf0,_0x4d0202),_0x155555=[],_0xe7e1cc=[];let _0x570117=_0x5a821b;for(let _0x347d22=_0x4884ca;_0x347d22<=_0x25c3b1;_0x347d22+=0x1){const _0x3443ec=_0x347d22+':'+_0x1ffaeb['lines'][_0x347d22-0x1]+'\x0a',_0x3d16e4=Buffer[_0xa7519a(_0x51b370._0x372aa9,0x441,_0x51b370._0x5bc0cf,_0x51b370._0x5b537a)](_0x3443ec,'utf8'),_0x494629=_0x347d22+0x1,_0x355a16=Buffer[_0x83cb00(0x395,0x91,0x283,0x3ca)](_0x83cb00(_0x51b370._0x3b7b4f,_0x51b370._0x296b11,0x25,-_0x51b370._0x50b467)+_0x494629+'.\x0a',_0x83cb00(-0x24e,-0x92,-_0x51b370._0x141ed0,0x112));if(_0x570117+_0x3d16e4+_0x355a16>_0x31f24e){const _0x5b9715=_0xa7519a(_0x51b370._0x47c6bd,_0x51b370._0x228ccb,_0x51b370._0x1d019e,0x5d)+_0x347d22+'.\x0a';return{'output':''+_0x18a8ef+_0x155555[_0x83cb00(_0x51b370._0x46e06a,_0x51b370._0x1974d6,_0x51b370._0x2f29c5,0x232)]('')+_0x5b9715,'displayedLines':_0xe7e1cc,'lineStart':_0x4884ca,'lineEnd':_0xe7e1cc[_0xe7e1cc[_0xa7519a(0x2cc,_0x51b370._0x5e18e3,0x240,0x490)]-0x1],'truncated':!![],'nextLineStart':_0x347d22};}_0x155555[_0xa7519a(_0x51b370._0x456a77,_0x51b370._0x506133,_0x51b370._0x260a1a,_0x51b370._0xbfdec7)](_0x3443ec),_0xe7e1cc[_0xa7519a(0x2fe,0x3bc,_0x51b370._0x75644b,0x2b0)](_0x347d22),_0x570117+=_0x3d16e4;}return{'output':''+_0x18a8ef+_0x155555[_0xa7519a(0x276,0x3e8,_0x51b370._0x4fd21c,0x319)](''),'displayedLines':_0xe7e1cc,'lineStart':_0x4884ca,'lineEnd':_0x25c3b1,'truncated':![]};}function isWithinDisplayColumns(_0x3393e6,_0x51788d){return _0x109b51(_0x3393e6)<=_0x51788d;}import{randomUUID as _0x174927}from'crypto';import{chmod,rename,rm,writeFile as _0x4e0e25}from'fs/promises';import*as _0x5175c7 from'path';var defaultFileSystem={'writeFile':_0x4e0e25,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x5aacd2,_0xfb98f0,_0x422f51,_0x2979e9){const _0x5d86c1={_0x105032:0x38e,_0x283cb5:0x52d,_0xd76482:0x343,_0x17870a:0x31c,_0x586237:0x170,_0x212499:0x26b,_0x4a1e8c:0x42e,_0x1cb9b2:0x241,_0x890f6a:0x177,_0x15ea72:0x2c4,_0x6637b0:0x35e,_0x334d7e:0x266},_0x19fd48={_0x2134ab:0xef,_0x3dc55e:0x10b},_0x5869d9={_0x393408:0x1f2,_0x3d2878:0xb9};function _0x2b364d(_0x599b82,_0x1543fc,_0x594ff6,_0x38eeff){return _0x511cdd(_0x599b82-0x1c0,_0x1543fc-_0x5869d9._0x393408,_0x594ff6,_0x599b82-_0x5869d9._0x3d2878);}const _0x12bd93=_0x2979e9??defaultFileSystem;function _0x202098(_0x39c5bc,_0x448568,_0x568ce4,_0x371564){return _0x30b865(_0x39c5bc-0xe5,_0x371564,_0x448568-_0x19fd48._0x2134ab,_0x371564-_0x19fd48._0x3dc55e);}const _0x35e0bd=_0x5175c7[_0x2b364d(_0x5d86c1._0x105032,_0x5d86c1._0x283cb5,0x3b1,0x1ec)](_0x5aacd2),_0xa9dee=_0x5175c7[_0x2b364d(0x4bf,_0x5d86c1._0xd76482,0x2b5,_0x5d86c1._0x17870a)](_0x35e0bd,_0x202098(_0x5d86c1._0x586237,_0x5d86c1._0x212499,_0x5d86c1._0x4a1e8c,0x3f1)+_0x5175c7[_0x2b364d(_0x5d86c1._0x1cb9b2,0x21a,_0x5d86c1._0x890f6a,_0x5d86c1._0x15ea72)](_0x5aacd2)+'.'+_0x174927()),_0x3296e7=_0x422f51&0xfff;try{await _0x12bd93[_0x2b364d(0x272,_0x5d86c1._0x6637b0,0x381,_0x5d86c1._0x334d7e)](_0xa9dee,_0xfb98f0,{'mode':_0x3296e7}),await _0x12bd93['chmod'](_0xa9dee,_0x3296e7),await _0x12bd93[_0x2b364d(0x259,0x351,0x2d3,0x34a)](_0xa9dee,_0x5aacd2);}finally{await _0x12bd93['rm'](_0xa9dee,{'force':!![]});}}var utf8Decoder=new TextDecoder(_0x511cdd(0x3ee,0x33d,0x572,0x4b2),{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x27dcf8,_0x52e850){const _0x505a17={_0x5583b2:0x3b8,_0x214431:0x5b6,_0xe47548:0x373,_0x5e4901:0x19f},_0x1ccb82={_0x3fba2e:0xf8,_0x714a80:0x92},_0x560747={_0x3c4f94:0x1a6};function _0x8b6ef0(_0x4e570a,_0x27c2ab,_0x4913c6,_0x2fd3c7){return _0x511cdd(_0x4e570a-_0x560747._0x3c4f94,_0x27c2ab-0x1e5,_0x2fd3c7,_0x27c2ab-0xbb);}function _0x395b1a(_0x795787,_0x54f9dd,_0x6bce23,_0x586c9e){return _0x30b865(_0x795787-_0x1ccb82._0x3fba2e,_0x54f9dd,_0x586c9e-0x17c,_0x586c9e-_0x1ccb82._0x714a80);}throw createAnchoredFileError(_0x395b1a(_0x505a17._0x5583b2,_0x505a17._0x214431,0x2b1,0x49f),_0x52e850+'\x20'+_0x27dcf8+_0x395b1a(_0x505a17._0xe47548,0xd2,0x2ec,_0x505a17._0x5e4901),{'path':_0x27dcf8});}function createNormalizedFileSnapshot(_0x5f1263,_0x173e5a,_0x1ae195){const _0x5ecc55={_0x2330d3:0x5b9,_0x1e86ad:0x5fe,_0x1d4698:0x731,_0x3cf72d:0x787,_0x5e34b6:0x69f,_0xb445fd:0x954,_0x16d55b:0x172,_0xc9333d:0x35d,_0x4854c2:0x819,_0x2f0c96:0x5f4,_0x4e8ae3:0x72b,_0x5a585b:0x608,_0x3cbefe:0x66d,_0x2c0b38:0x513,_0x1bd9d3:0xa59,_0x203db8:0x7fb,_0x829822:0x542,_0x1f0608:0x419,_0x1ec8d1:0x45c,_0x381d09:0x413,_0x58c2c8:0x367,_0x66ea16:0x28d,_0x5ca547:0x3e6,_0xf4f7cc:0x66f,_0x4337bc:0x4af,_0x10b32a:0x539,_0x2cc457:0x7e0,_0x4f2458:0x8db,_0x26c5f7:0x708,_0x5a55e4:0x5e5,_0x1609b9:0x4f4},_0x501468={_0x335c74:0xbc,_0x4d9ebe:0x1f1},_0x540e95={_0x178949:0x3db};Buffer[_0xa8fa2b(_0x5ecc55._0x2330d3,0x613,_0x5ecc55._0x1e86ad,_0x5ecc55._0x1d4698)](_0x173e5a)['includes'](0x0)&&exactReplacementGuidance(_0x5f1263,_0x57c754(_0x5ecc55._0x3cf72d,0x78d,0x85f,0x954)+_0x5f1263+'\x20contains\x20NUL\x20bytes.');let _0x5b0294;try{_0x5b0294=utf8Decoder[_0xa8fa2b(_0x5ecc55._0x5e34b6,0x513,0x656,0x653)](_0x173e5a);}catch{exactReplacementGuidance(_0x5f1263,_0x57c754(0xa98,0x929,0xb63,_0x5ecc55._0xb445fd)+_0x5f1263+_0xa8fa2b(_0x5ecc55._0x16d55b,0x4d6,_0x5ecc55._0xc9333d,0x1a3));}const _0x1a776e=_0x5b0294['charCodeAt'](0x0)===0xfeff;if(_0x1a776e)_0x5b0294=_0x5b0294[_0x57c754(_0x5ecc55._0x4854c2,_0x5ecc55._0x2f0c96,_0x5ecc55._0x4e8ae3,0x66f)](0x1);function _0xa8fa2b(_0x1fdb75,_0x3f8baa,_0xca723d,_0x3a35b9){return _0x30b865(_0x1fdb75-0xa8,_0x3f8baa,_0xca723d-_0x540e95._0x178949,_0x3a35b9-0xe8);}const _0x149779=_0x5b0294[_0xa8fa2b(0x2e8,0x1b8,0x3a9,0x513)]('\x0d\x0a'),_0x420b2d=/(?<!\r)\n/[_0xa8fa2b(_0x5ecc55._0x5a585b,_0x5ecc55._0x3cbefe,0x5d3,_0x5ecc55._0x2c0b38)](_0x5b0294);function _0x57c754(_0x347abd,_0x5ba551,_0x103bda,_0x2167e5){return _0x30b865(_0x347abd-_0x501468._0x335c74,_0x347abd,_0x2167e5-0x664,_0x2167e5-_0x501468._0x4d9ebe);}_0x149779&&_0x420b2d&&exactReplacementGuidance(_0x5f1263,_0x57c754(_0x5ecc55._0x1bd9d3,_0x5ecc55._0x203db8,0x90f,_0x5ecc55._0xb445fd)+_0x5f1263+'\x20mixes\x20LF\x20and\x20CRLF\x20line\x20endings.');const _0x331ca2=_0x149779?_0xa8fa2b(0x362,_0x5ecc55._0x829822,_0x5ecc55._0x1f0608,_0x5ecc55._0x1ec8d1):'lf',_0x238c56=_0x149779?_0x5b0294['replace'](/\r\n/g,'\x0a'):_0x5b0294,_0x406838=_0x238c56[_0x57c754(0x4d2,0x458,0x4ee,0x656)]('\x0a'),_0x4d8dd3=_0x238c56===''?[]:_0x238c56[_0xa8fa2b(0x372,_0x5ecc55._0x381d09,0x541,_0x5ecc55._0x58c2c8)]('\x0a')[_0xa8fa2b(_0x5ecc55._0x66ea16,0x5d5,_0x5ecc55._0x5ca547,0x37b)](0x0,_0x406838?-0x1:void 0x0),_0x1c1e4a=sha256Bytes(_0x238c56),_0x9a89b5=_0x1c1e4a[_0x57c754(0x7e9,0x57a,0x496,_0x5ecc55._0xf4f7cc)](0x0,0xc)[_0x57c754(0x43d,_0x5ecc55._0x4337bc,_0x5ecc55._0x10b32a,0x5e4)]();return{'canonicalPath':_0x5f1263,'text':_0x238c56,'lines':_0x4d8dd3,'finalNewline':_0x406838,'bom':_0x1a776e,'eol':_0x331ca2,'digest':_0x1c1e4a,'tag':_0x9a89b5,'utf8Bytes':Buffer[_0x57c754(_0x5ecc55._0x2cc457,0x8e6,0x778,_0x5ecc55._0x4f2458)](_0x238c56,_0x57c754(_0x5ecc55._0x26c5f7,_0x5ecc55._0x5a55e4,_0x5ecc55._0x1609b9,0x5f1)),'recordedAt':_0x1ae195??Date['now']()};}function serializeNormalizedFile(_0x394838,_0x5665f9){const _0x3de69a={_0x2a84a7:0x94,_0x1aa7c6:0x135,_0x33c721:0xd4,_0x3c2049:0x1a4,_0x121001:0x486,_0x2a455b:0x4f5,_0x5c5527:0x364,_0x289515:0x31d,_0x4b4d7e:0x4d3,_0x368367:0x389,_0x4b4843:0x256,_0x519536:0x26,_0x4254c4:0x1e3,_0x484dd9:0x3d9,_0x32b5d5:0x151,_0x4a9895:0x1e4,_0x43125c:0x51d,_0x3c38c3:0x45e},_0x34242c={_0x3cde4b:0xa7,_0x3775f1:0x57},_0x1b28f5={_0x573e1a:0x1e9};function _0x448ac8(_0x145c34,_0x3a020d,_0x30f046,_0x20e2c3){return _0x511cdd(_0x145c34-0xb2,_0x3a020d-_0x1b28f5._0x573e1a,_0x20e2c3,_0x30f046- -0x82);}function _0x43f1a9(_0xde81b1,_0x3ff77f,_0x1b919c,_0x5ede4d){return _0x511cdd(_0xde81b1-_0x34242c._0x3cde4b,_0x3ff77f-0xdf,_0xde81b1,_0x5ede4d- -_0x34242c._0x3775f1);}const _0x404784=_0x5665f9[_0x448ac8(-_0x3de69a._0x2a84a7,-_0x3de69a._0x1aa7c6,_0x3de69a._0x33c721,-0x3c)]===_0x448ac8(0xf0,-0x3b,_0x3de69a._0x3c2049,0x128)?_0x394838[_0x43f1a9(_0x3de69a._0x121001,0x1b2,_0x3de69a._0x2a455b,_0x3de69a._0x5c5527)](/\n/g,'\x0d\x0a'):_0x394838,_0x3d8d74=Buffer[_0x448ac8(_0x3de69a._0x289515,_0x3de69a._0x4b4d7e,_0x3de69a._0x368367,_0x3de69a._0x4b4843)](_0x404784,_0x43f1a9(_0x3de69a._0x519536,0x251,_0x3de69a._0x4254c4,0x11e));return _0x5665f9['bom']?Buffer[_0x43f1a9(0x3b7,_0x3de69a._0x484dd9,_0x3de69a._0x32b5d5,_0x3de69a._0x4a9895)]([Buffer[_0x43f1a9(0x263,_0x3de69a._0x43125c,_0x3de69a._0x3c38c3,0x3b4)]([0xef,0xbb,0xbf]),_0x3d8d74]):_0x3d8d74;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0xe43f96){const _0x3c797d={_0x5ca184:0x632},_0x40c5d7={_0x2ef173:0x64,_0x264e26:0x446,_0x4bec92:0x5a},_0x1fb7b1={_0x2bb089:0x1e2};function _0x4a1812(_0x3af7d2,_0x276798,_0x5406aa,_0x222ac0){return _0x30b865(_0x3af7d2-_0x1fb7b1._0x2bb089,_0x222ac0,_0x276798-0x212,_0x222ac0-0x28);}function _0x3b23f3(_0x4ad6f1,_0xf92e0e,_0x1f12e6,_0x5cd6b2){return _0x30b865(_0x4ad6f1-_0x40c5d7._0x2ef173,_0x1f12e6,_0xf92e0e-_0x40c5d7._0x264e26,_0x5cd6b2-_0x40c5d7._0x4bec92);}return textEncoder[_0x4a1812(0x224,0x17a,0x3b,0x245)](_0xe43f96)[_0x3b23f3(0x735,0x64b,_0x3c797d._0x5ca184,0x46a)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':'object','properties':{'operation':{'type':_0x30b865(-0xcf,-0x157,-0x5f,-0x19f),'enum':[_0x30b865(0x334,-0x25,0x1d3,0xab)]},'startLine':{'type':_0x511cdd(0x374,0x2e6,0x628,0x4db)},'endLine':{'type':_0x30b865(0x4e2,0x2b9,0x2f3,0x2f2)},'content':{'type':_0x30b865(-0x1f2,0x78,-0x5f,0x5a)}},'required':[_0x511cdd(-0x3e,0x3ab,0x344,0x1c6),_0x511cdd(0x269,0x354,0x257,0x339),_0x511cdd(0x70,0x364,0xa1,0x19f),'content'],'additionalProperties':![]},deleteOperationSchema={'type':_0x30b865(-0xbf,-0x58,0xc8,-0x49),'properties':{'operation':{'type':'string','enum':[_0x30b865(0x2ee,0x1f4,0x1c6,0x314)]},'startLine':{'type':_0x511cdd(0x389,0x4a1,0x68e,0x4db)},'endLine':{'type':_0x30b865(0x382,0x1b8,0x2f3,0x1ed)}},'required':[_0x511cdd(0x200,0x339,0x1d4,0x1c6),'startLine',_0x511cdd(0xbb,0x1ef,-0x5d,0x19f)],'additionalProperties':![]},insertOperationSchema={'type':_0x511cdd(0x222,0x4af,0x121,0x2b0),'properties':{'operation':{'type':'string','enum':[_0x30b865(0x13a,-0x33,-0x56,0x50)]},'position':{'type':_0x30b865(-0x204,0x106,-0x5f,0xae),'enum':[_0x30b865(0x3a9,0x231,0x2a3,0x2c5),_0x30b865(0x156,0x297,0x1b0,0x1be)]},'line':{'type':_0x30b865(0x421,0x135,0x2f3,0x4e5)},'content':{'type':_0x511cdd(0x102,0x1e0,0x1c2,0x189)}},'required':[_0x30b865(-0x1cc,-0x30,-0x22,-0x11d),_0x511cdd(0x3ff,0x8,0x113,0x20f),_0x511cdd(0x231,0x393,0x262,0x32a),_0x30b865(0xde,-0x16d,0xa0,-0x123)],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x30b865(0x14a,-0x101,0xc8,0x126),'properties':{'filePath':{'type':'string'},'tag':{'type':_0x30b865(-0x7b,-0x14e,-0x5f,0x118)},'description':{'type':'string'},'operations':{'type':_0x30b865(0x151,0x284,0x2d4,0x25e),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x30b865(-0xee,0x234,0xf7,0x189)}},'required':[_0x30b865(-0x134,-0x1c4,-0x8f,-0x1d6),_0x511cdd(0x2e5,0x2f8,0x2a0,0x3dc),_0x511cdd(0x228,0x9f,0x160,0x257)],'additionalProperties':![]};function requireValidLineNumber(_0x322580,_0x162dd4){const _0x17c336={_0xee9bc:0x363,_0x443b89:0x697,_0x2a9c5e:0x67f,_0x3c3b3e:0x729,_0x37299f:0x747,_0x4007d1:0x771,_0x44ffe8:0x5b6,_0x3cb0ae:0x495},_0x1c9f4f={_0xfabe83:0x207};function _0x402c9f(_0x3c2664,_0x2c2fd1,_0x1d178b,_0x56682e){return _0x30b865(_0x3c2664-0x1f1,_0x56682e,_0x2c2fd1-0x594,_0x56682e-0x10a);}function _0x3da1de(_0x222b5b,_0x513545,_0x18ac08,_0x196eea){return _0x511cdd(_0x222b5b-0x65,_0x513545-0x134,_0x513545,_0x18ac08-_0x1c9f4f._0xfabe83);}if(!Number[_0x3da1de(0x1e0,0x37c,_0x17c336._0xee9bc,0x4df)](_0x322580)||_0x322580<0x1)throw createAnchoredFileError(_0x402c9f(_0x17c336._0x443b89,_0x17c336._0x2a9c5e,_0x17c336._0x3c3b3e,_0x17c336._0x37299f),_0x162dd4+_0x402c9f(_0x17c336._0x4007d1,_0x17c336._0x44ffe8,0x5e6,_0x17c336._0x3cb0ae)+String(_0x322580)+'.');}function parseStructuredFileEditInput(_0x26cee8){const _0x34929f={_0x438987:0x149,_0x1d4a49:0x1a2,_0xc9ee13:0x1ec,_0x56c3c6:0x1ac,_0x54e063:0x1e3,_0x35583c:0x5f3,_0x2f16ae:0x4db,_0x1c4cb2:0x3f4,_0x4cab25:0x4a2,_0x38e7d1:0x306,_0x31cd07:0x303,_0x4399e6:0x30f,_0x1daba7:0x521,_0x5ec3fd:0x4e9,_0x387033:0xf7,_0x78b942:0x4d,_0x496c42:0x5fd,_0x25f345:0x792,_0x1c6fbd:0x5f8,_0x37b42c:0x173,_0x1baec4:0x4b,_0x1f3fd9:0x2f6,_0x2ea0bf:0x478,_0x5743bd:0x626,_0x304556:0x523,_0x109b0a:0x98,_0x35b293:0x12,_0x1147d6:0x52f,_0x13b5b0:0x456,_0x4a1103:0x671,_0xbd437b:0x6e2,_0x37e1e9:0x7f3,_0xf37427:0x12,_0x3380e1:0x13d,_0x1f31b0:0x34f,_0x251328:0x2d,_0x488d1a:0x637,_0x28ed1b:0x4eb,_0x4c9291:0x1bb,_0x291944:0x680,_0x5dc55e:0x5d3,_0x2a59c8:0x2cd,_0x380efd:0x27b,_0xb42079:0xfc,_0x5c6a21:0xd4,_0x3b9cfe:0x51d,_0x3289be:0x60f,_0x2d880f:0x4eb,_0x44d8fc:0x1,_0x563ab1:0x165,_0x5a9405:0x5b,_0x1243a5:0x810,_0x48112a:0x74c,_0x48737f:0x6df,_0x44e9af:0x685,_0x1631d0:0x45b,_0x1e2ca0:0x19f,_0x1fb63e:0x152,_0x16162c:0x91,_0x1e872a:0x26b,_0x35b96c:0x18,_0x3c34ca:0x1f3,_0x383a90:0x28e,_0x1f8255:0x5df,_0x52734d:0x5c6,_0x2b6ef7:0x278,_0x586090:0x199,_0x5e8aaa:0x5a,_0x37edbe:0x3b7,_0x1e4201:0x321,_0xd7da52:0x223,_0x3c429e:0x551,_0x3b19e4:0x499,_0x590b94:0x637,_0x1753a0:0x12b,_0x7fd2b8:0x293,_0x24b06f:0x21f,_0x3d01a5:0xd7,_0x4ff0f3:0x185,_0x523c4a:0xe,_0x5adc28:0x302,_0x4571bf:0x4a0,_0x295a78:0x328,_0x551042:0x62a,_0x2e2327:0x4eb,_0x2c7847:0x518,_0x204901:0x76,_0x2427e6:0x60a,_0x106106:0x60a,_0x2e8136:0x427,_0x51e0d7:0x464,_0x3a588f:0x4f1,_0x5aa8aa:0x42f,_0x52826e:0x9e,_0x53ec71:0x8f,_0x147fc8:0x3a4,_0x3b4dbd:0x254,_0x3cc96c:0x371,_0x317158:0x19a,_0x2fcf33:0x424,_0x5864d2:0x368,_0x2786c5:0x545,_0x2f7a26:0x6f},_0x4b659d={_0x435b2c:0x56,_0x3691b7:0x218},_0x4b9ada=_0x26cee8;if(_0x4b9ada!==null&&typeof _0x4b9ada===_0x506364(0x1bc,0x47,-0x168,_0x34929f._0x438987)&&!Array[_0x506364(_0x34929f._0x1d4a49,0x1e3,0x12e,_0x34929f._0xc9ee13)](_0x4b9ada)&&Array[_0x506364(_0x34929f._0x56c3c6,_0x34929f._0x54e063,0xd,0xe0)](_0x4b9ada['operations'])&&_0x4b9ada[_0x12c9d7(_0x34929f._0x35583c,_0x34929f._0x2f16ae,_0x34929f._0x1c4cb2,0x46f)][_0x12c9d7(0x4e9,0x4c2,_0x34929f._0x4cab25,0x605)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x12c9d7(0x65f,_0x34929f._0x38e7d1,_0x34929f._0x31cd07,0x4eb),'At\x20most\x20'+MAX_ANCHORED_OPERATIONS+_0x12c9d7(_0x34929f._0x4399e6,_0x34929f._0x1daba7,0x278,0x451));let _0x240264;try{_0x240264=validateToolInput(_0x26cee8,structuredFileEditInputSchema);}catch(_0x9657a){const _0x5bb144=_0x9657a instanceof Error?_0x9657a[_0x12c9d7(_0x34929f._0x5ec3fd,0x425,0x39d,0x519)]:String(_0x9657a);throw createAnchoredFileError('invalid_patch',_0x506364(_0x34929f._0x387033,_0x34929f._0x78b942,-0x132,-0x133)+_0x5bb144);}if(!TAG_PATTERN[_0x12c9d7(0x653,_0x34929f._0x496c42,_0x34929f._0x25f345,_0x34929f._0x1c6fbd)](_0x240264[_0x506364(0x294,_0x34929f._0x37b42c,-_0x34929f._0x1baec4,_0x34929f._0x1f3fd9)]))throw createAnchoredFileError(_0x12c9d7(_0x34929f._0x2ea0bf,_0x34929f._0x5743bd,0x67d,0x4eb),_0x12c9d7(0x283,0x2d7,_0x34929f._0x304556,0x3c0)+_0x240264['tag']+'\x27.');if(_0x240264[_0x506364(-_0x34929f._0x109b0a,-_0x34929f._0x35b293,-0xc5,-0x6b)][_0x12c9d7(_0x34929f._0x1147d6,_0x34929f._0x13b5b0,_0x34929f._0x4a1103,0x605)]===0x0)throw createAnchoredFileError('invalid_patch',_0x12c9d7(_0x34929f._0xbd437b,0x672,_0x34929f._0x37e1e9,0x60d));if(_0x240264[_0x506364(0x1f9,-_0x34929f._0xf37427,-0x19a,0x13f)][_0x506364(_0x34929f._0x3380e1,0x184,_0x34929f._0x1f31b0,-_0x34929f._0x251328)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x12c9d7(_0x34929f._0x488d1a,0x671,0x532,_0x34929f._0x28ed1b),_0x506364(0x225,0x18b,0x118,_0x34929f._0x4c9291)+MAX_ANCHORED_OPERATIONS+_0x506364(-0x3e,-0x30,0xaa,-0x36));let _0x3690a3=0x0;function _0x506364(_0x350785,_0x325eae,_0x4146ae,_0xdaa74){return _0x30b865(_0x350785-0x5e,_0x350785,_0x325eae- -0x81,_0xdaa74-0x24);}const _0xbf75e9=[];for(const _0x522691 of _0x240264['operations']){switch(_0x522691['operation']){case _0x12c9d7(_0x34929f._0x291944,0x57a,0x446,_0x34929f._0x5dc55e):{requireValidLineNumber(_0x522691[_0x12c9d7(0x758,0x5c1,0x3a6,0x551)],'replace.startLine'),requireValidLineNumber(_0x522691[_0x506364(-0x147,-0xca,-0x1a8,-_0x34929f._0x2a59c8)],'replace.endLine');if(_0x522691['startLine']>_0x522691[_0x506364(-_0x34929f._0x380efd,-0xca,_0x34929f._0xb42079,_0x34929f._0x5c6a21)])throw createAnchoredFileError(_0x12c9d7(_0x34929f._0x3b9cfe,0x62b,_0x34929f._0x3289be,_0x34929f._0x2d880f),_0x506364(-0x1b3,-0xa6,_0x34929f._0x44d8fc,0x128));_0x3690a3+=utf8Bytes(_0x522691['content']);if(_0x3690a3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x506364(_0x34929f._0x563ab1,0x6a,-_0x34929f._0x5a9405,0x4b),'Total\x20authored\x20replacement\x20content\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+_0x12c9d7(0x617,_0x34929f._0x1243a5,_0x34929f._0x48112a,_0x34929f._0x48737f));_0xbf75e9[_0x12c9d7(_0x34929f._0x44e9af,0x585,_0x34929f._0x1631d0,0x5f2)]({'operation':_0x506364(_0x34929f._0x1e2ca0,_0x34929f._0x1fb63e,0x33c,-_0x34929f._0x16162c),'startLine':_0x522691[_0x506364(_0x34929f._0x1e872a,0xd0,_0x34929f._0x35b96c,_0x34929f._0x3c34ca)],'endLine':_0x522691[_0x506364(-0x196,-0xca,-0x10d,-_0x34929f._0x383a90)],'content':_0x522691['content']});break;}case _0x12c9d7(_0x34929f._0x1f8255,0x55e,0x5c8,_0x34929f._0x52734d):{requireValidLineNumber(_0x522691['startLine'],_0x506364(_0x34929f._0x2b6ef7,_0x34929f._0x586090,_0x34929f._0x5e8aaa,0x1b2)),requireValidLineNumber(_0x522691[_0x12c9d7(0x454,0x344,0x3ee,_0x34929f._0x37edbe)],_0x506364(0x54,0x214,_0x34929f._0x1e4201,_0x34929f._0xd7da52));if(_0x522691[_0x12c9d7(0x4c3,0x55c,0x69a,_0x34929f._0x3c429e)]>_0x522691['endLine'])throw createAnchoredFileError(_0x12c9d7(_0x34929f._0x3b19e4,_0x34929f._0x590b94,0x428,_0x34929f._0x2d880f),'delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0xbf75e9['push']({'operation':_0x506364(0x23c,0x145,0x99,_0x34929f._0x1753a0),'startLine':_0x522691[_0x506364(0x5e,0xd0,_0x34929f._0x7fd2b8,0x1ff)],'endLine':_0x522691[_0x12c9d7(0x570,0x2d9,0x3d1,_0x34929f._0x37edbe)]});break;}case _0x506364(-_0x34929f._0x24b06f,-_0x34929f._0x3d01a5,-0x266,-0x2cb):{requireValidLineNumber(_0x522691['line'],_0x506364(_0x34929f._0x4ff0f3,0x16,-0xf4,-_0x34929f._0x523c4a)),_0x3690a3+=utf8Bytes(_0x522691[_0x12c9d7(_0x34929f._0x5adc28,0x69e,0x69a,_0x34929f._0x4571bf)]);if(_0x3690a3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x12c9d7(_0x34929f._0x295a78,0x5fd,_0x34929f._0x551042,_0x34929f._0x2e2327),_0x12c9d7(0x64e,0x3f0,0x6e1,_0x34929f._0x2c7847)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0xbf75e9[_0x506364(0x2bd,0x171,_0x34929f._0x204901,0x235)]({'operation':'insert','position':_0x522691[_0x12c9d7(_0x34929f._0x2427e6,0x41e,_0x34929f._0x106106,_0x34929f._0x2e8136)],'line':_0x522691[_0x12c9d7(_0x34929f._0x51e0d7,_0x34929f._0x3a588f,_0x34929f._0x5aa8aa,0x542)],'content':_0x522691[_0x506364(_0x34929f._0x52826e,0x1f,-_0x34929f._0x53ec71,0x1f4)]});break;}}}function _0x12c9d7(_0x402a2b,_0x1237b2,_0x21c79c,_0x16726e){return _0x511cdd(_0x402a2b-_0x4b659d._0x435b2c,_0x1237b2-0x1c,_0x402a2b,_0x16726e-_0x4b659d._0x3691b7);}return{'filePath':_0x240264[_0x12c9d7(_0x34929f._0x147fc8,_0x34929f._0x3b4dbd,0x198,_0x34929f._0x3cc96c)],'tag':_0x240264[_0x506364(0x89,0x173,0xd0,_0x34929f._0x317158)],'operations':_0xbf75e9,'dryRun':_0x240264[_0x12c9d7(_0x34929f._0x2fcf33,_0x34929f._0x5864d2,0x423,_0x34929f._0x2786c5)]??![],..._0x240264['description']!==void 0x0?{'description':_0x240264[_0x506364(-0x1d0,-0xe2,0x74,-_0x34929f._0x2f7a26)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/,REPLACE=/^PUT ([1-9]\d*)\.=([1-9]\d*):$/,INSERT=/^PUT ([<>])([1-9]\d*):$/,DELETE=/^CUT ([1-9]\d*)\.=([1-9]\d*)$/,textEncoder2=new TextEncoder();function utf8Bytes2(_0x29093c){const _0x1ae8f9={_0x356b90:0x33d,_0x59e3a6:0x418,_0x1ab592:0x606,_0x43ac5c:0x36a,_0x5e9464:0x525,_0x545e92:0x53f},_0x3f54c2={_0x3837b9:0x142,_0xd297a3:0x552},_0x50b79b={_0x2863c7:0x152};function _0x37d9ce(_0x4fb90b,_0x3221e4,_0x59fe14,_0x3dff5c){return _0x511cdd(_0x4fb90b-0x113,_0x3221e4-0x96,_0x4fb90b,_0x3dff5c-_0x50b79b._0x2863c7);}function _0x47fcd5(_0x46ff5f,_0x5921f2,_0x5316c0,_0x14c1d7){return _0x30b865(_0x46ff5f-_0x3f54c2._0x3837b9,_0x46ff5f,_0x14c1d7-_0x3f54c2._0xd297a3,_0x14c1d7-0x1d2);}return textEncoder2[_0x47fcd5(_0x1ae8f9._0x356b90,_0x1ae8f9._0x59e3a6,0x6b2,0x4ba)](_0x29093c)[_0x37d9ce(_0x1ae8f9._0x1ab592,_0x1ae8f9._0x43ac5c,_0x1ae8f9._0x5e9464,_0x1ae8f9._0x545e92)];}function preview(_0x4389a0){const _0x506283={_0x54a413:0x3c,_0x1d0b96:0xc9,_0x1a3012:0x5fa,_0x452671:0xaae,_0xc166ef:0xaa0},_0x36975f={_0x2f323e:0x18f},_0x4af3a4={_0x2a5589:0xa1,_0x5927e9:0x17d};function _0x3591e5(_0x12482a,_0x55cfd3,_0x2f181d,_0xad2539){return _0x511cdd(_0x12482a-_0x4af3a4._0x2a5589,_0x55cfd3-_0x4af3a4._0x5927e9,_0xad2539,_0x12482a-0x461);}function _0x4f8adf(_0x46b466,_0x40201f,_0x130f7e,_0xbca1f7){return _0x511cdd(_0x46b466-0x1cd,_0x40201f-_0x36975f._0x2f323e,_0x130f7e,_0x40201f- -0x324);}return _0x4389a0[_0x4f8adf(_0x506283._0x54a413,_0x506283._0x1d0b96,0xb4,0x270)]>0x3c?_0x4389a0[_0x3591e5(0x654,0x67d,_0x506283._0x1a3012,0x650)](0x0,0x3c)+_0x3591e5(0x8a2,_0x506283._0x452671,_0x506283._0xc166ef,0xa40):_0x4389a0;}var hashlineFileEditInputSchema={'type':'object','properties':{'patch':{'type':_0x30b865(0x160,0x160,-0x5f,0x4e)},'description':{'type':'string'},'dryRun':{'type':_0x511cdd(0x160,0x4a9,0x2fa,0x2df)}},'required':[_0x30b865(0x4db,0x26b,0x2fe,0x182)],'additionalProperties':![]};function requireLineNumber(_0x590476,_0x9d36ae){const _0x23ec10={_0x78eba9:0x839,_0x30192e:0x648,_0xf4ff2b:0x4b9,_0x5a8614:0x56e,_0xfad64a:0x675,_0x4e952b:0x47c,_0x2a9fe1:0xf4,_0x3082be:0x2ed,_0x5e5c37:0x103,_0x2c0628:0x12a,_0x4f91a7:0x305,_0x3155c7:0x68e,_0x5d17eb:0x52e,_0x59dc6d:0x1df,_0x47d1af:0x3b3},_0x17ab47={_0x52b03c:0x19e,_0x8104cf:0x25b},_0x1c8304={_0x1c37d1:0xeb};function _0x559ea6(_0x12426e,_0x110ca0,_0x2d45d3,_0xde24b9){return _0x30b865(_0x12426e-0x5c,_0x110ca0,_0xde24b9-0x391,_0xde24b9-_0x1c8304._0x1c37d1);}if(_0x590476[_0x3fbfac(0x7f5,_0x23ec10._0x78eba9,_0x23ec10._0x30192e,_0x23ec10._0xf4ff2b)]>0x10)throw createAnchoredFileError(_0x559ea6(0x434,_0x23ec10._0x5a8614,_0x23ec10._0xfad64a,_0x23ec10._0x4e952b),_0x9d36ae+_0x559ea6(_0x23ec10._0x2a9fe1,0x467,0x2a3,_0x23ec10._0x3082be));const _0x574fdb=Number(_0x590476);function _0x3fbfac(_0x39b272,_0x2e134f,_0x112669,_0x1d378d){return _0x511cdd(_0x39b272-_0x17ab47._0x52b03c,_0x2e134f-0x128,_0x1d378d,_0x112669-_0x17ab47._0x8104cf);}if(!Number[_0x559ea6(_0x23ec10._0x5e5c37,_0x23ec10._0x2c0628,0x519,_0x23ec10._0x4f91a7)](_0x574fdb)||_0x574fdb<0x1)throw createAnchoredFileError(_0x3fbfac(_0x23ec10._0x3155c7,0x417,_0x23ec10._0x5d17eb,0x709),_0x9d36ae+_0x559ea6(_0x23ec10._0x59dc6d,0x25c,0x464,_0x23ec10._0x47d1af)+_0x590476+'.');return _0x574fdb;}function parseHashlineFileEditInput(_0x480f23){const _0x41bc2d={_0xdd51e2:0x3b1,_0x1b4c06:0xb2,_0x1b86ad:0x32,_0x201adc:0xb5,_0x2ea344:0x2fc,_0x22b372:0x1b4,_0x9aabb1:0x336,_0x27fb31:0x30f,_0x70d36b:0x3b,_0x49f479:0x10c,_0x322f99:0x48c,_0x1e40e4:0x17,_0x113e2d:0x12e,_0x497c0e:0x6d,_0x438a7e:0x8a,_0x2a8d9b:0x266,_0x37a028:0x152,_0x2cd03c:0x13d,_0x45cd84:0x79,_0x31a49e:0x2ae,_0xc04ef:0x4ec,_0x16d82a:0x4f,_0x4d7a19:0x81,_0x242e0f:0x68,_0xf2d8d0:0x91,_0x572af1:0xb9,_0x36bc11:0x11a,_0x438d99:0x1c0,_0x132731:0x312,_0x19d96a:0xe3,_0x149c8f:0xbf,_0x1fec07:0x2aa,_0x2d2d2d:0x222,_0x3d786c:0x156,_0x2fa89d:0xd9,_0x52b87b:0x372,_0x5afeb9:0x1d2,_0x119112:0x228,_0x23207c:0xb8,_0x38908d:0x1b9,_0x25bda3:0x116,_0x2c1609:0x1e5,_0x54e4ed:0x22a,_0x371a91:0x39b,_0x9af630:0x2a0,_0x2b6961:0x272,_0x236ec7:0x6e,_0x1edb34:0x18a,_0x190a63:0x140,_0x2e2a5d:0x1a7,_0x3cb775:0x13f},_0x41fa84={_0x2585d7:0x20e,_0x4aebfd:0x1aa,_0x22c8f6:0x386,_0x9c869d:0x2e3,_0x51af5f:0x33,_0x2fc612:0x15f,_0xc0fe5c:0x34d,_0x2ca86d:0x71},_0x5a4b52={_0x193710:0xd6},_0x432b89={_0x11a51f:0xda,_0x671ac3:0x7e},_0x40c460={_0x33fb43:0x62},_0x538353={_0x32af0e:0x2a2,_0x42b16e:0x329,_0x4b6493:0x178,_0x2b9794:0x111,_0x34a989:0x29f},_0x4571b0={_0x2f10da:0x155};let _0x3c2925;try{_0x3c2925=validateToolInput(_0x480f23,hashlineFileEditInputSchema);}catch(_0x1ec922){const _0x3b77e0=_0x1ec922 instanceof Error?_0x1ec922[_0x252b4a(_0x41bc2d._0xdd51e2,0x258,0x2e1,0x17d)]:String(_0x1ec922);throw createAnchoredFileError('invalid_patch',_0x4d430e(-_0x41bc2d._0x1b4c06,-_0x41bc2d._0x1b86ad,-_0x41bc2d._0x201adc,0xa2)+_0x3b77e0);}const {patch:_0x2751fd}=_0x3c2925;if(utf8Bytes2(_0x2751fd)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x4d430e(0x1d7,_0x41bc2d._0x2ea344,0x2a0,_0x41bc2d._0x22b372)+MAX_ANCHORED_CONTENT_BYTES+_0x252b4a(_0x41bc2d._0x9aabb1,0x41e,_0x41bc2d._0x27fb31,0x5cc));if(_0x2751fd[_0x4d430e(-0x44,0x14c,_0x41bc2d._0x70d36b,0x30)]('\x0d'))throw createAnchoredFileError('invalid_patch','Hashline\x20patch\x20text\x20must\x20not\x20contain\x20carriage\x20returns.');const _0x22703c=_0x2751fd[_0x4d430e(0x36b,0x128,_0x41bc2d._0x49f479,0x1c8)]('\x0a'),_0x40014a=[],_0x245880=_0x119755=>{const _0x39e6f9={_0x4af971:0x19a,_0x493cb6:0x15d};function _0x42e06b(_0x268643,_0x179ec5,_0x4bc7c8,_0x5c02d3){return _0x4d430e(_0x179ec5,_0x179ec5-0x19c,_0x4bc7c8-0xba,_0x268643-_0x4571b0._0x2f10da);}if(_0x40014a['length']>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x42e06b(_0x538353._0x32af0e,_0x538353._0x42b16e,0xfc,0x19c),_0x2b6b3a(_0x538353._0x4b6493,0x239,_0x538353._0x2b9794,_0x538353._0x34a989)+MAX_ANCHORED_OPERATIONS+'\x20operations\x20are\x20allowed\x20per\x20patch.');function _0x2b6b3a(_0x2af1dc,_0x5a1e21,_0x2562ec,_0x82b2c0){return _0x4d430e(_0x5a1e21,_0x5a1e21-0x1a9,_0x2562ec-_0x39e6f9._0x4af971,_0x2562ec- -_0x39e6f9._0x493cb6);}_0x40014a[_0x42e06b(0x3a9,0x322,0x1e9,0x28a)](_0x119755);};let _0x2607b4,_0x2baa0a,_0x2540ac=![],_0x26a210=![];function _0x252b4a(_0x43ae02,_0x1929c5,_0x14e84b,_0x6b6c92){return _0x511cdd(_0x43ae02-0x1cf,_0x1929c5-0x16b,_0x6b6c92,_0x1929c5- -0xa9);}let _0x430fe3;function _0x4d430e(_0x419be8,_0x524fb3,_0x2c1cda,_0x15bf0d){return _0x30b865(_0x419be8-0x84,_0x419be8,_0x15bf0d-_0x40c460._0x33fb43,_0x15bf0d-0x3f);}let _0xea11eb,_0x26dab2=0x0,_0x24f42d=0x0,_0x47290a=[];const _0x12f64e=()=>{if(!_0x26a210)return;if(_0x47290a['length']===0x0)throw createAnchoredFileError(_0x9516ca(0x2bd,0x29e,_0x41fa84._0x2585d7,0x1cb),'PUT\x20requires\x20at\x20least\x20one\x20payload\x20row.');function _0x9516ca(_0x1f611e,_0x4371b2,_0x1e9df9,_0x55a7e8){return _0x4d430e(_0x1e9df9,_0x4371b2-_0x432b89._0x11a51f,_0x1e9df9-0xe3,_0x55a7e8-_0x432b89._0x671ac3);}function _0x7d8e99(_0x5a42e4,_0x3588f3,_0x453cec,_0x200c9c){return _0x4d430e(_0x5a42e4,_0x3588f3-0x1cc,_0x453cec-0x19b,_0x3588f3- -_0x5a4b52._0x193710);}const _0x3cdaee=_0x47290a[_0x7d8e99(0x12a,_0x41fa84._0x4aebfd,_0x41fa84._0x22c8f6,_0x41fa84._0x9c869d)]('\x0a');_0x430fe3==='replace'?_0x245880({'operation':_0x7d8e99(_0x41fa84._0x51af5f,_0x41fa84._0x2fc612,_0x41fa84._0xc0fe5c,-_0x41fa84._0x2ca86d),'startLine':_0x26dab2,'endLine':_0x24f42d,'content':_0x3cdaee}):_0x245880({'operation':'insert','position':_0xea11eb,'line':_0x26dab2,'content':_0x3cdaee}),_0x26a210=![],_0x47290a=[];};for(const _0x40023c of _0x22703c){if(_0x40023c[_0x252b4a(_0x41bc2d._0x322f99,0x344,0x358,0x183)]===0x0)continue;if(_0x26a210&&_0x40023c['startsWith']('+')){_0x47290a['push'](_0x40023c[_0x4d430e(_0x41bc2d._0x1e40e4,-_0x41bc2d._0x113e2d,-0x6f,_0x41bc2d._0x497c0e)](0x1));continue;}_0x12f64e();if(!_0x2540ac){const _0x432681=HEADER['exec'](_0x40023c);if(_0x432681===null)throw createAnchoredFileError(_0x4d430e(0x1f8,_0x41bc2d._0x438a7e,0xda,0x14d),_0x4d430e(_0x41bc2d._0x2a8d9b,-0x34,_0x41bc2d._0x37a028,_0x41bc2d._0x2cd03c));_0x2607b4=_0x432681[0x1],_0x2baa0a=_0x432681[0x2],_0x2540ac=!![];continue;}const _0xdc1d17=REPLACE[_0x252b4a(0xb,0x132,0x17e,_0x41bc2d._0x45cd84)](_0x40023c);if(_0xdc1d17!==null){const _0x3fd96c=requireLineNumber(_0xdc1d17[0x1],_0x252b4a(_0x41bc2d._0x31a49e,0x342,_0x41bc2d._0xc04ef,0x1eb)),_0x325652=requireLineNumber(_0xdc1d17[0x2],_0x252b4a(-_0x41bc2d._0x16d82a,_0x41bc2d._0x4d7a19,_0x41bc2d._0x242e0f,-_0x41bc2d._0xf2d8d0));if(_0x3fd96c>_0x325652)throw createAnchoredFileError('invalid_patch',_0x252b4a(_0x41bc2d._0x572af1,_0x41bc2d._0x36bc11,0x2d7,_0x41bc2d._0x438d99));_0x26a210=!![],_0x430fe3=_0x252b4a(0x518,_0x41bc2d._0x132731,0x201,0x1d7),_0x26dab2=_0x3fd96c,_0x24f42d=_0x325652,_0x47290a=[];continue;}const _0x2deef2=INSERT['exec'](_0x40023c);if(_0x2deef2!==null){const _0x287573=requireLineNumber(_0x2deef2[0x2],'insert\x20line');_0x26a210=!![],_0x430fe3=_0x252b4a(0x63,0xe9,-_0x41bc2d._0x19d96a,_0x41bc2d._0x149c8f),_0xea11eb=_0x2deef2[0x1]==='<'?_0x252b4a(0x3d6,0x3e2,0x304,0x5cc):'after',_0x26dab2=_0x287573,_0x47290a=[];continue;}const _0x3e0c28=DELETE['exec'](_0x40023c);if(_0x3e0c28!==null){const _0x288328=requireLineNumber(_0x3e0c28[0x1],'delete\x20startLine'),_0x3c8b58=requireLineNumber(_0x3e0c28[0x2],_0x4d430e(0xac,0xe6,0x237,_0x41bc2d._0x1fec07));if(_0x288328>_0x3c8b58)throw createAnchoredFileError('invalid_patch',_0x4d430e(_0x41bc2d._0x2d2d2d,_0x41bc2d._0x3d786c,0x1f7,_0x41bc2d._0x2fa89d));_0x245880({'operation':_0x4d430e(0x1ea,_0x41bc2d._0x52b87b,_0x41bc2d._0x5afeb9,_0x41bc2d._0x119112),'startLine':_0x288328,'endLine':_0x3c8b58});continue;}throw createAnchoredFileError('invalid_patch',_0x4d430e(-_0x41bc2d._0x23207c,0x109,_0x41bc2d._0x38908d,_0x41bc2d._0x25bda3)+preview(_0x40023c));}_0x12f64e();if(!_0x2540ac)throw createAnchoredFileError(_0x252b4a(_0x41bc2d._0x2c1609,_0x41bc2d._0x54e4ed,_0x41bc2d._0x371a91,0x87),_0x4d430e(_0x41bc2d._0x9af630,0x225,0xa0,0x13d));if(_0x40014a['length']===0x0)throw createAnchoredFileError(_0x4d430e(0xa1,0x231,_0x41bc2d._0x2b6961,0x14d),_0x252b4a(-_0x41bc2d._0x236ec7,_0x41bc2d._0x1edb34,0x30d,0xef));return{'filePath':_0x2607b4,'tag':_0x2baa0a,'operations':_0x40014a,'dryRun':_0x3c2925[_0x4d430e(0x2fc,_0x41bc2d._0x190a63,0x308,_0x41bc2d._0x2e2a5d)]??![],..._0x3c2925['description']!==void 0x0?{'description':_0x3c2925[_0x252b4a(_0x41bc2d._0x3cb775,0xde,-0x9b,0x29)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x2b9f44 from'path';function isPathInside(_0x233f9b,_0x39319d){const _0x293e7d={_0x26134:0x3b7,_0x2161a7:0x527,_0x1426dd:0x46c,_0x500d39:0x4dc,_0x483277:0x404,_0x4b67df:0x90c,_0x20bf6d:0x8bb,_0x21df7e:0x81c},_0x1a49b4={_0xf322ff:0x140},_0xa7e2e4={_0x5230a7:0x132,_0x5c3a67:0x135};function _0x104851(_0x5d5670,_0x265ef6,_0x1fb9ff,_0x2a94af){return _0x511cdd(_0x5d5670-0x4e,_0x265ef6-_0xa7e2e4._0x5230a7,_0x265ef6,_0x5d5670-_0xa7e2e4._0x5c3a67);}function _0x42741f(_0x38cfb5,_0x4e92eb,_0x3dd482,_0x122b60){return _0x30b865(_0x38cfb5-0xbe,_0x38cfb5,_0x122b60-0x60c,_0x122b60-_0x1a49b4._0xf322ff);}const _0x131a47=_0x2b9f44[_0x104851(_0x293e7d._0x26134,_0x293e7d._0x2161a7,0x262,_0x293e7d._0x1426dd)](_0x233f9b),_0x16ec12=_0x2b9f44['relative'](_0x131a47,_0x39319d);return _0x16ec12===''||!_0x16ec12[_0x104851(_0x293e7d._0x500d39,0x332,0x46d,_0x293e7d._0x483277)]('..')&&!_0x2b9f44[_0x42741f(0x86d,_0x293e7d._0x4b67df,_0x293e7d._0x20bf6d,_0x293e7d._0x21df7e)](_0x16ec12);}function resolveWorkspacePath(_0x2a00df,_0x565061){return resolveAllowedPath(_0x2a00df,[],_0x565061);}function resolveAllowedPath(_0x495fbf,_0x42b287,_0x13a2fd){const _0x3edbe4={_0x4af092:0x7e4,_0xb05f33:0x774,_0x47196e:0x86e,_0x3ff6e7:0x73f,_0x51b1af:0x469},_0x5f192d={_0x505368:0x12b,_0x2ab393:0xa6},_0x5968e6={_0x2873e4:0x4ec,_0x3a0d27:0x1ef},_0x308f0f=_0x2b9f44[_0x3a3e97(0x586,0x454,0x409,0x571)](_0x495fbf);function _0x3a3e97(_0x4807eb,_0xf09f74,_0x14a085,_0x12a5f9){return _0x30b865(_0x4807eb-0x1e2,_0x14a085,_0x4807eb-_0x5968e6._0x2873e4,_0x12a5f9-_0x5968e6._0x3a0d27);}const _0x2416bf=_0x2b9f44['resolve'](_0x308f0f,_0x13a2fd),_0x3aeac9=[_0x308f0f,..._0x42b287[_0x3a3e97(_0x3edbe4._0x4af092,_0x3edbe4._0xb05f33,_0x3edbe4._0x47196e,_0x3edbe4._0x3ff6e7)](_0x53e6b9=>_0x2b9f44[_0x3a3e97(0x586,0x41c,0x6a4,0x39f)](_0x53e6b9))];if(_0x3aeac9['some'](_0x4da4fc=>isPathInside(_0x4da4fc,_0x2416bf)))return _0x2416bf;function _0x41984b(_0x595e3d,_0x3e8236,_0x188f65,_0x214d91){return _0x30b865(_0x595e3d-_0x5f192d._0x505368,_0x595e3d,_0x3e8236-0x586,_0x214d91-_0x5f192d._0x2ab393);}throw new ToolExecutionError(_0x3a3e97(0x5cf,0x791,0x4b3,_0x3edbe4._0x51b1af)+_0x13a2fd,{'path':_0x13a2fd,'rootDir':_0x308f0f,'allowedDirs':_0x3aeac9});}async function resolveCanonicalAllowedFile(_0x5e74b9,_0x446b32,_0x49006a){const _0x490b7d={_0x3cf6ff:0x623,_0x6e02ba:0x63b,_0x317d38:0x779,_0x18814f:0x946,_0x100c97:0x5f2},_0x20532c={_0x3693b8:0x6,_0x5cf6d2:0xfc,_0xdf4a28:0x12b},_0xcb5233={_0x4cd468:0x452},_0x5ba1e6=resolveAllowedPath(_0x5e74b9,_0x446b32,_0x49006a),_0x5412c3=await realpath(_0x5ba1e6),_0x4d8a6a=[];for(const _0x4a4916 of[_0x5e74b9,..._0x446b32]){try{_0x4d8a6a['push'](await realpath(_0x4a4916));}catch{}}if(!_0x4d8a6a[_0x4ed3b1(0x781,0x914,0x749,0x6a6)](_0x316dea=>isPathInside(_0x316dea,_0x5412c3)))throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x49006a,{'path':_0x49006a,'lexicalPath':_0x5ba1e6,'canonicalPath':_0x5412c3,'allowedDirs':_0x4d8a6a});function _0x4ed3b1(_0x37b5e9,_0xac5d,_0x1106d4,_0xc23cf8){return _0x511cdd(_0x37b5e9-0x18f,_0xac5d-0x183,_0xc23cf8,_0x37b5e9-_0xcb5233._0x4cd468);}const _0x387e75=await stat(_0x5412c3);function _0x5acc9e(_0x380841,_0x574811,_0x514aa9,_0x5d5519){return _0x30b865(_0x380841-_0x20532c._0x3693b8,_0x514aa9,_0x380841- -_0x20532c._0x5cf6d2,_0x5d5519-_0x20532c._0xdf4a28);}if(!_0x387e75[_0x4ed3b1(_0x490b7d._0x3cf6ff,0x740,_0x490b7d._0x6e02ba,_0x490b7d._0x317d38)]())throw new ToolExecutionError(_0x4ed3b1(0x794,0x6f6,_0x490b7d._0x18814f,_0x490b7d._0x100c97)+_0x49006a,{'path':_0x49006a,'lexicalPath':_0x5ba1e6,'canonicalPath':_0x5412c3});return{'authoredPath':_0x49006a,'lexicalPath':_0x5ba1e6,'canonicalPath':_0x5412c3};}async function assertWorkspaceFile(_0x13c549){const _0x2498ff=await stat(_0x13c549);if(!_0x2498ff['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x13c549,{'path':_0x13c549});}function isProbablyBinary(_0x36e503){const _0x28e0bd={_0x274385:0x1da,_0x2e6084:0x2b9},_0x236c45={_0x174b3c:0x6a};function _0x339b58(_0x55d21b,_0x5dab98,_0x509b32,_0x3ec0ad){return _0x511cdd(_0x55d21b-0x1e4,_0x5dab98-_0x236c45._0x174b3c,_0x3ec0ad,_0x5dab98-0x184);}return _0x36e503[_0x339b58(_0x28e0bd._0x274385,0x33a,0x49f,_0x28e0bd._0x2e6084)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x226237=>_0x4818c0(_0x226237),'stat':_0x2bd70a=>_0x34f51d(_0x2bd70a),'atomicWrite':(_0x276d1d,_0x81800f,_0x40f4b6)=>atomicReplaceFile(_0x276d1d,_0x81800f,_0x40f4b6)};function parseAnchoredInput(_0x1ec0ca,_0x4bd3e6){if(_0x1ec0ca==='hashline')return parseHashlineFileEditInput(_0x4bd3e6);return parseStructuredFileEditInput(_0x4bd3e6);}function stableStringify2(_0x4372b6){const _0x1954c2={_0x5797df:0x35c,_0x7f5df2:0x29c,_0x8f0d89:0x3f0,_0x304a85:0x5a1,_0x20aaf4:0x370,_0x4aa26e:0x47a,_0x381103:0x3d3,_0x2e45c3:0x1c0,_0x25d5e8:0xe0,_0x43dd56:0x24b,_0x2f6e30:0x137,_0x418ce0:0x348,_0x27a1a9:0x342,_0x15a5e3:0x7e,_0x963751:0x185},_0x1177ee={_0x3f7bcd:0xd2,_0x3c2bcb:0xaa};if(Array[_0x1518e5(0x4f2,_0x1954c2._0x5797df,0x4c1,_0x1954c2._0x7f5df2)](_0x4372b6))return'['+_0x4372b6[_0x1518e5(0x3e8,_0x1954c2._0x8f0d89,_0x1954c2._0x304a85,0x3c2)](stableStringify2)[_0x3d34de(0x2f5,_0x1954c2._0x20aaf4,0x4e9,_0x1954c2._0x4aa26e)](',')+']';function _0x3d34de(_0x1494b0,_0x29d2c9,_0x50c3ac,_0x18bae3){return _0x30b865(_0x1494b0-0x1eb,_0x18bae3,_0x50c3ac-0x2cb,_0x18bae3-0x44);}function _0x1518e5(_0x4d5530,_0x54ead2,_0x3b203d,_0x176be6){return _0x511cdd(_0x4d5530-_0x1177ee._0x3f7bcd,_0x54ead2-_0x1177ee._0x3c2bcb,_0x176be6,_0x54ead2- -0xf0);}if(_0x4372b6!==null&&typeof _0x4372b6===_0x1518e5(_0x1954c2._0x381103,_0x1954c2._0x2e45c3,0x31b,0x2ea)){const _0x460536=_0x4372b6;return'{'+Object[_0x1518e5(0x312,0x110,_0x1954c2._0x25d5e8,_0x1954c2._0x43dd56)](_0x460536)[_0x3d34de(_0x1954c2._0x2f6e30,0x51e,_0x1954c2._0x418ce0,0x198)]()['map'](_0x5c6071=>JSON['stringify'](_0x5c6071)+':'+stableStringify2(_0x460536[_0x5c6071]))[_0x3d34de(0x5bc,_0x1954c2._0x27a1a9,0x4e9,0x51c)](',')+'}';}return JSON[_0x1518e5(_0x1954c2._0x15a5e3,0xe8,_0x1954c2._0x963751,0x118)](_0x4372b6);}function normalizeOperationContent(_0x33ae1a){const _0x33ba71={_0x348bf0:0x289,_0x4fb9de:0x7bd,_0x42ddc3:0x75b,_0x8420f5:0x5f5,_0x156612:0x786,_0x33da60:0x68a,_0x3ba6b6:0x571,_0x4fb30c:0x49f,_0x4ce295:0x67a,_0x1f3a68:0x83e,_0x57a190:0x882,_0x33f19d:0x6e5},_0x169bbd={_0xcbcac8:0x18c,_0x4d94f3:0x4b,_0x116014:0x402},_0x3f2f0e={_0x36a387:0xc};if(_0x33ae1a[_0x34a920(0x485,0x53d,_0x33ba71._0x348bf0,0x349)]===_0xd14681(_0x33ba71._0x4fb9de,0x72b,0x896,_0x33ba71._0x42ddc3)||_0x33ae1a[_0xd14681(0x5c8,0x433,_0x33ba71._0x8420f5,_0x33ba71._0x156612)]==='insert')return{..._0x33ae1a,'content':_0x33ae1a[_0xd14681(_0x33ba71._0x33da60,_0x33ba71._0x3ba6b6,0x789,_0x33ba71._0x4fb30c)][_0x34a920(_0x33ba71._0x4ce295,_0x33ba71._0x1f3a68,_0x33ba71._0x57a190,_0x33ba71._0x33f19d)](/\r\n/g,'\x0a')};function _0x34a920(_0xec2792,_0x1775d9,_0x208601,_0x121a23){return _0x30b865(_0xec2792-0x146,_0x121a23,_0xec2792-0x4a7,_0x121a23-_0x3f2f0e._0x36a387);}function _0xd14681(_0x29356a,_0x7b4945,_0x246022,_0x4694aa){return _0x511cdd(_0x29356a-_0x169bbd._0xcbcac8,_0x7b4945-_0x169bbd._0x4d94f3,_0x246022,_0x29356a-_0x169bbd._0x116014);}return _0x33ae1a;}function computePayloadDigest(_0x560627){const _0x4ec77d={_0x46a4be:0xca,_0x6ac7f6:0x3d1};function _0x27ff46(_0x49f1ca,_0x14d8e2,_0x22f673,_0x59b88e){return _0x511cdd(_0x49f1ca-_0x4ec77d._0x46a4be,_0x14d8e2-0x5b,_0x59b88e,_0x14d8e2-_0x4ec77d._0x6ac7f6);}return sha256Bytes(stableStringify2(_0x560627[_0x27ff46(0xa10,0x8b1,0x82e,0xa74)](normalizeOperationContent)));}function collectRequiredLines(_0x2b14bb){const _0x4a9630={_0x5ac6b0:0x340,_0x1af7de:0xe8,_0x42f5b8:0x9a,_0x3b01c8:0x10,_0xc7910f:0x20e,_0x2b6afc:0x4},_0x1d607b={_0x2d29c3:0xc0,_0x3ffa1e:0x1e8},_0x4e88aa={_0x7bfc3d:0x8c,_0x48e55a:0x158};function _0x26d9d0(_0x2bfb56,_0x893295,_0x4448b3,_0x5d2ad3){return _0x511cdd(_0x2bfb56-_0x4e88aa._0x7bfc3d,_0x893295-_0x4e88aa._0x48e55a,_0x4448b3,_0x5d2ad3- -0x25);}const _0x471509=new Set();for(const _0x2b6a11 of _0x2b14bb){if(_0x2b6a11[_0x2b57ca(0xc8,0xd,0x31,-0x1a5)]===_0x26d9d0(_0x4a9630._0x5ac6b0,_0x4a9630._0x1af7de,_0x4a9630._0x42f5b8,0x16d))_0x471509[_0x2b57ca(_0x4a9630._0x3b01c8,_0x4a9630._0xc7910f,_0x4a9630._0x2b6afc,0x2c6)](_0x2b6a11['line']);else for(let _0x14e1d0=_0x2b6a11[_0x26d9d0(0x40f,0x19f,0x50e,0x314)];_0x14e1d0<=_0x2b6a11[_0x26d9d0(0xd9,0x1c9,0x158,0x17a)];_0x14e1d0+=0x1){_0x471509['add'](_0x14e1d0);}}function _0x2b57ca(_0x3333c7,_0x2b2bd9,_0x3d5416,_0x36f49d){return _0x511cdd(_0x3333c7-_0x1d607b._0x2d29c3,_0x2b2bd9-_0x1d607b._0x3ffa1e,_0x36f49d,_0x2b2bd9- -0x1b9);}return[..._0x471509]['sort']((_0x882262,_0x42730b)=>_0x882262-_0x42730b);}async function resolveEditTarget(_0x35ca9a,_0x284cac,_0x37c92d){const _0x6bec13={_0x7023fb:0x61c,_0x394f4a:0x6ce,_0x20e469:0x481,_0x32811e:0x49c,_0x40980e:0x5ae,_0x4f22d5:0x4d0,_0x2279bf:0x523},_0x2f6b7b={_0x1e6109:0x130,_0x5d065d:0x347,_0x5aab34:0xb7},_0x61e73c={_0x5cba4f:0x4b2,_0xac6bca:0x1dc};function _0x887823(_0x4265bf,_0x16cd3a,_0x19ed98,_0x134029){return _0x30b865(_0x4265bf-0x1e5,_0x4265bf,_0x16cd3a-_0x61e73c._0x5cba4f,_0x134029-_0x61e73c._0xac6bca);}function _0x49eaf7(_0x287a6d,_0x5c0e26,_0x2f7e4d,_0x3e1c6b){return _0x30b865(_0x287a6d-_0x2f6b7b._0x1e6109,_0x3e1c6b,_0x287a6d-_0x2f6b7b._0x5d065d,_0x3e1c6b-_0x2f6b7b._0x5aab34);}try{return await resolveCanonicalAllowedFile(_0x35ca9a,_0x284cac,_0x37c92d);}catch(_0x18c250){if(_0x18c250 instanceof ToolExecutionError)throw _0x18c250;const _0x361995=_0x18c250 instanceof Error?_0x18c250[_0x887823(0x726,0x5cb,0x79a,0x4e8)]:String(_0x18c250);throw createAnchoredFileError(_0x49eaf7(0x66a,_0x6bec13._0x7023fb,_0x6bec13._0x394f4a,_0x6bec13._0x20e469),'unknown_snapshot:\x20Unable\x20to\x20read\x20'+_0x37c92d+_0x49eaf7(_0x6bec13._0x32811e,0x465,_0x6bec13._0x40980e,_0x6bec13._0x4f22d5)+_0x361995+_0x887823(0x65d,0x5b0,_0x6bec13._0x2279bf,0x75f),{'path':_0x37c92d});}}async function readLiveSnapshot(_0x5b12c6,_0xa05e40){const _0x1ddc60={_0x37ee59:0x402,_0x25425c:0x3b,_0xc7c405:0x446,_0x336913:0x492,_0x3e7d1e:0x230,_0x3a684f:0x212},_0x26148e={_0xb02eb8:0x159},_0x4b14bd={_0x582880:0x44f};let _0x3b83ed;try{_0x3b83ed=await _0x4818c0(_0x5b12c6);}catch(_0xcc880e){const _0x43474f=_0xcc880e instanceof Error?_0xcc880e[_0x41a47c(_0x1ddc60._0x37ee59,_0x1ddc60._0x25425c,0x1db,0x24e)]:String(_0xcc880e);throw createAnchoredFileError(_0x41a47c(_0x1ddc60._0xc7c405,_0x1ddc60._0x336913,0x394,0x458),_0x41a47c(_0x1ddc60._0x3e7d1e,0x85,0x236,_0x1ddc60._0x3a684f)+_0xa05e40+'\x20for\x20an\x20anchored\x20snapshot\x20('+_0x43474f+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0xa05e40});}function _0x4a187a(_0x23e19f,_0x336312,_0x3d9bcb,_0x19e3d8){return _0x30b865(_0x23e19f-0x135,_0x23e19f,_0x336312-_0x4b14bd._0x582880,_0x19e3d8-0xe8);}function _0x41a47c(_0x27be5c,_0x457b5b,_0x58f8d7,_0x47bdcd){return _0x511cdd(_0x27be5c-_0x26148e._0xb02eb8,_0x457b5b-0x1c3,_0x27be5c,_0x47bdcd- -0xb3);}return createNormalizedFileSnapshot(_0x5b12c6,_0x3b83ed);}function staleSnapshotMessageText(_0x3f0195,_0x24898c){const _0x338604={_0x50c45b:0x912,_0x4a3a71:0xad8,_0x3c10ae:0x72e},_0x45b940={_0x288bae:0x3f,_0x268a57:0x43a};function _0x173bb4(_0x25790c,_0x521e26,_0x33497f,_0x6b1492){return _0x511cdd(_0x25790c-_0x45b940._0x288bae,_0x521e26-0x1da,_0x6b1492,_0x25790c-_0x45b940._0x268a57);}return{'reasonLine':'stale_snapshot:\x20the\x20file\x20changed\x20since\x20snapshot\x20'+_0x24898c+'\x20was\x20read.','guidance':_0x173bb4(_0x338604._0x50c45b,_0x338604._0x4a3a71,_0x338604._0x3c10ae,0x94f)+_0x3f0195+'\x20changed\x20on\x20disk;\x20re-read\x20with\x20FileRead\x20and\x20retry\x20with\x20the\x20fresh\x20tag.'};}function unseenLinesMessageText(){return{'reasonLine':'unseen_lines:\x20the\x20required\x20lines\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20they\x20can\x20be\x20used\x20as\x20edit\x20anchors.','guidance':'Re-read\x20the\x20required\x20lines\x20with\x20FileRead\x20and\x20retry\x20with\x20the\x20fresh\x20tag.'};}function noChangeMessageText(_0x378b8a,_0x184be9){const _0x16284a={_0x2cc433:0x7c1},_0x540ee6={_0x1b61df:0x13},_0x17fd21={_0x839b05:0x1ed,_0x1a3114:0x109};function _0xc15d46(_0x333b12,_0x5e7cdb,_0x52f060,_0x5d5c08){return _0x511cdd(_0x333b12-0x2c,_0x5e7cdb-_0x17fd21._0x839b05,_0x52f060,_0x5d5c08- -_0x17fd21._0x1a3114);}function _0x111bb2(_0x55e9de,_0x38badf,_0x5b4501,_0x4aab87){return _0x511cdd(_0x55e9de-0x81,_0x38badf-_0x540ee6._0x1b61df,_0x4aab87,_0x5b4501-0x410);}const _0x3add4c=_0x184be9>=0x3;return{'reasonLine':_0xc15d46(0x12c,0x17e,0x2a9,0xf0)+_0x378b8a+'\x20byte-identical.','guidance':_0x3add4c?_0x111bb2(_0x16284a._0x2cc433,0x701,0x7f4,0x96f):_0x111bb2(0x625,0x642,0x7eb,0x77b)};}function buildRecoveryContext(_0x3bf527,_0x1164cd,_0x16c961,_0x3636b3,_0x581e32,_0x3a2b59){const _0x5df423={_0x5ef6a0:0x667,_0x1b8fa4:0x533,_0x250970:0x660,_0x577c2f:0x1a3,_0x56d3b0:0x410,_0x512e7f:0x2ae,_0x4ade3b:0x734,_0xbc2914:0x728,_0x130dfb:0x716,_0x5e9700:0x40,_0x452296:0x58,_0x4c309a:0x541,_0x203851:0x8f9,_0x468b5a:0x70d,_0x4d3b13:0x60b,_0x248ccc:0x8f6,_0x1df9c3:0x45,_0x146a3c:0x83b,_0x4217e6:0x575,_0x1535b0:0x31c,_0x4e352e:0x697,_0x200a9d:0x6bd,_0x5d127d:0x7eb,_0x3b1505:0x1d2,_0x5d9537:0x1b7,_0x2810d0:0x81,_0x69c1a3:0x21,_0x13863b:0xed,_0x5d6fe9:0x3d,_0x24b356:0xa4},_0x15621f={_0x54e4af:0x19a,_0x3c37f6:0x197,_0x49c0a9:0x33b},_0x21c247='['+_0x3bf527+'#'+_0x1164cd[_0x208072(_0x5df423._0x5ef6a0,0x5c7,0x717,0x8bd)]+']',_0x3b0d50={'tag':_0x1164cd['tag'],'digest':_0x1164cd[_0x208072(0x5a0,0x4d3,_0x5df423._0x1b8fa4,_0x5df423._0x250970)],'contextLines':[],'output':_0x581e32+'\x0a'+_0x21c247+'\x0a'+_0x3a2b59},_0x5d7cd0=_0x1164cd[_0xbdb3eb(_0x5df423._0x577c2f,_0x5df423._0x56d3b0,_0x5df423._0x512e7f,0x27e)][_0x208072(0x860,_0x5df423._0x4ade3b,_0x5df423._0xbc2914,_0x5df423._0x130dfb)],_0x57e7f1=[...new Set(_0x16c961[_0xbdb3eb(_0x5df423._0x5e9700,-0x10d,-0x6b,_0x5df423._0x452296)](_0x597f05=>Number['isSafeInteger'](_0x597f05)&&_0x597f05>=0x1&&_0x597f05<=_0x5d7cd0))]['sort']((_0x28089c,_0x15c55b)=>_0x28089c-_0x15c55b);if(_0x57e7f1[_0xbdb3eb(0xeb,0x3f5,0x19a,0x299)]===0x0)return _0x3b0d50;const _0x6009e4=_0x57e7f1[_0x57e7f1['length']-0x1]-_0x57e7f1[0x0]+0x1;if(_0x6009e4>0x14)return _0x3b0d50;for(const _0x1bdf6a of _0x57e7f1){if(!isWithinDisplayColumns(_0x1164cd[_0x208072(_0x5df423._0x4c309a,_0x5df423._0x203851,_0x5df423._0x468b5a,0x884)][_0x1bdf6a-0x1],0x200))return _0x3b0d50;}const _0x3e4619=formatAnchoredFileRead({'displayPath':_0x3bf527,'snapshot':_0x1164cd,'lineStart':_0x57e7f1[0x0],'lineEnd':_0x57e7f1[_0x57e7f1['length']-0x1],'maxBytes':_0x3636b3});function _0xbdb3eb(_0x4dbf79,_0x54a3c5,_0x1dff55,_0x1ae754){return _0x30b865(_0x4dbf79-0x1cf,_0x4dbf79,_0x1ae754-0x94,_0x1ae754-0x117);}function _0x208072(_0x5087c9,_0x250a51,_0x49f0d8,_0x8457ad){return _0x511cdd(_0x5087c9-_0x15621f._0x54e4af,_0x250a51-_0x15621f._0x3c37f6,_0x5087c9,_0x49f0d8-_0x15621f._0x49c0a9);}if(_0x3e4619[_0x208072(_0x5df423._0x4d3b13,0x56a,0x74f,_0x5df423._0x248ccc)]||_0x3e4619[_0xbdb3eb(-_0x5df423._0x1df9c3,-0xd,-0x27,0x126)][_0x208072(_0x5df423._0x146a3c,0x5f1,0x728,_0x5df423._0x4217e6)]===0x0)return _0x3b0d50;const _0x4961a3=_0x581e32+'\x0a'+_0x3e4619[_0xbdb3eb(0x29b,0x260,0x1b5,_0x5df423._0x1535b0)][_0x208072(_0x5df423._0x4e352e,_0x5df423._0x200a9d,_0x5df423._0x5d127d,0x954)]()+'\x0a'+_0x3a2b59;if(Buffer[_0xbdb3eb(_0x5df423._0x3b1505,_0x5df423._0x5d9537,0x3d7,0x30b)](_0x4961a3,_0xbdb3eb(-0xd4,0x54,_0x5df423._0x2810d0,_0x5df423._0x69c1a3))>_0x3636b3)return _0x3b0d50;return{'tag':_0x1164cd['tag'],'digest':_0x1164cd[_0xbdb3eb(-0x9d,-_0x5df423._0x13863b,-_0x5df423._0x5d6fe9,_0x5df423._0x24b356)],'contextLines':[..._0x3e4619['displayedLines']],'output':_0x4961a3};}function assertPreviewWithinBounds(_0x5343ba,_0x5d5d66,_0x5b14c3){const _0x394dfc={_0x17fded:0x7a6,_0x4bcd5d:0x8c3,_0x32c883:0x970,_0x2a6975:0x8af,_0x2b6379:0x77d,_0x13434c:0x7a8,_0x45fee7:0x6ed,_0x485b7a:0x5a2,_0x2f52c3:0x75f,_0x4767f5:0x5e5,_0xcd5fa5:0x685,_0x51f945:0x24a,_0x20ae11:0x380},_0x13f381={_0x4702ef:0x4a,_0x5f4ee3:0x5bb},_0x2a9833=_0x5343ba[_0x2104d4(_0x394dfc._0x17fded,0x6da,0x71e,0x675)]((_0x49cb33,_0x72fce3)=>_0x49cb33+Buffer[_0x2104d4(0x9c7,0x98e,0x832,0x7ba)](_0x72fce3[_0x4e0a6f(0x50f,0x3d4,0x5da,0x5f0)],'utf8')+Buffer[_0x2104d4(0x6c0,0x902,0x832,0x75e)](_0x72fce3[_0x2104d4(0xa03,0xa3c,0x8f2,0xaab)],_0x2104d4(0x3e8,0x67d,0x548,0x6aa)),0x0);function _0x4e0a6f(_0x16bbf0,_0x36477a,_0x349f65,_0x4b59ee){return _0x30b865(_0x16bbf0-0x193,_0x349f65,_0x16bbf0-0x1c9,_0x4b59ee-0x1ea);}function _0x2104d4(_0x6c9029,_0x15712d,_0x20d556,_0x5eb179){return _0x30b865(_0x6c9029-_0x13f381._0x4702ef,_0x15712d,_0x20d556-_0x13f381._0x5f4ee3,_0x5eb179-0x196);}if(_0x2a9833>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x2104d4(_0x394dfc._0x4bcd5d,_0x394dfc._0x32c883,0x8c5,_0x394dfc._0x2a6975),_0x2104d4(_0x394dfc._0x2b6379,_0x394dfc._0x13434c,_0x394dfc._0x45fee7,_0x394dfc._0x485b7a)+_0x2a9833+_0x2104d4(_0x394dfc._0x2f52c3,_0x394dfc._0x4767f5,_0x394dfc._0xcd5fa5,0x55e)+MAX_ANCHORED_PREVIEW_BYTES+_0x4e0a6f(0x450,0x52b,_0x394dfc._0x51f945,_0x394dfc._0x20ae11),{'path':_0x5b14c3,'canonicalPath':_0x5d5d66,'previewBytes':_0x2a9833});}function buildPreview(_0x1ae746,_0x494b91,_0x27cabe,_0x50c04f,_0x3322ef){const _0x1a255b={_0x292f07:0x283,_0x42711a:0x11,_0x288af4:0x93,_0x28e660:0x374,_0x1c1778:0x514,_0x5d746d:0x46f,_0xf10230:0x477,_0x46d40f:0x2de,_0x71c763:0x115,_0x403712:0x380,_0x34930d:0x23d,_0x2bba8c:0x125,_0x695a4:0xc3,_0x1bfbff:0x204,_0x26a7df:0x1e8,_0x17def1:0xd1},_0x4175e6={_0x428f97:0x1f0,_0x1c7563:0xbd,_0x2d8532:0x31c},_0x1ec261={_0x5346b4:0x1ac,_0x27b726:0x2ce};function _0x1e060e(_0x193eb4,_0x14fe55,_0x42026,_0x26992c){return _0x30b865(_0x193eb4-_0x1ec261._0x5346b4,_0x26992c,_0x193eb4-_0x1ec261._0x27b726,_0x26992c-0x6);}function _0x14b776(_0x260f80,_0x47923d,_0x303155,_0x4d4094){return _0x511cdd(_0x260f80-_0x4175e6._0x428f97,_0x47923d-_0x4175e6._0x1c7563,_0x260f80,_0x47923d- -_0x4175e6._0x2d8532);}return{'mode':_0x1ae746,'filePath':_0x494b91[_0x1e060e(0x23f,0x352,0x3ba,_0x1a255b._0x292f07)],'canonicalPath':_0x27cabe[_0x14b776(-0x56,-_0x1a255b._0x42711a,-0x4b,_0x1a255b._0x288af4)],'tag':_0x494b91['tag'],'digest':_0x50c04f[_0x1e060e(_0x1a255b._0x28e660,_0x1a255b._0x1c1778,_0x1a255b._0x5d746d,_0x1a255b._0xf10230)][_0x1e060e(_0x1a255b._0x46d40f,_0x1a255b._0x71c763,_0x1a255b._0x403712,_0x1a255b._0x34930d)],'operationCount':_0x3322ef[_0x14b776(_0x1a255b._0x2bba8c,-0xc5,_0x1a255b._0x695a4,-_0x1a255b._0x1bfbff)]['length'],'operations':_0x3322ef['operations'],'blocks':_0x3322ef[_0x14b776(0x363,_0x1a255b._0x26a7df,0x13a,_0x1a255b._0x17def1)]};}function buildResultText(_0x4cfc07,_0x191445,_0x57446c,_0x470cc8,_0x3a3e0b){const _0x5b4508={_0x24a0bf:0x51b,_0x212f1c:0x29b,_0x4e05de:0x211,_0x51a9f9:0x43f,_0xce2302:0x39c,_0x3aba08:0x259,_0x156eec:0x13f,_0x370900:0x2df,_0x2658e2:0xe7,_0x324fb9:0x2c3,_0x2de381:0x505,_0x2e6706:0x1fa,_0x3949b3:0x52a,_0xe4730f:0x175,_0x4781d7:0x2e5},_0x1be0fa={_0x5d22e4:0xc7,_0x6ce16e:0xd8,_0x42b7bb:0xc3},_0x50d79c={_0x3fc70c:0x76,_0x1def79:0x15a,_0x2ea5fc:0x2},_0x3a427c='['+_0x4cfc07+'#'+_0x191445[_0x202c0c(_0x5b4508._0x24a0bf,0x1e4,0x4b7,0x34e)]+']\x0a'+_0x3a3e0b+'\x0a';let _0x21ed72=Buffer[_0x2c13ff(_0x5b4508._0x212f1c,_0x5b4508._0x4e05de,_0x5b4508._0x51a9f9,_0x5b4508._0xce2302)](_0x3a427c,_0x202c0c(_0x5b4508._0x3aba08,0x1f8,_0x5b4508._0x156eec,0xe7));function _0x202c0c(_0x4bd623,_0x12fdf2,_0x1f8887,_0x566899){return _0x30b865(_0x4bd623-_0x50d79c._0x3fc70c,_0x1f8887,_0x566899-_0x50d79c._0x1def79,_0x566899-_0x50d79c._0x2ea5fc);}const _0x489a91=[],_0x5ae6f9=[];function _0x2c13ff(_0x15eba3,_0x227e46,_0x2c7cb4,_0x566c09){return _0x511cdd(_0x15eba3-_0x1be0fa._0x5d22e4,_0x227e46-_0x1be0fa._0x6ce16e,_0x227e46,_0x566c09- -_0x1be0fa._0x42b7bb);}for(const _0x1bba97 of _0x57446c){const _0x199220=_0x1bba97+':'+(_0x191445['lines'][_0x1bba97-0x1]??'')+'\x0a',_0x5b8e7d=Buffer['byteLength'](_0x199220,_0x202c0c(0x151,_0x5b4508._0x370900,0x24a,_0x5b4508._0x2658e2));if(_0x21ed72+_0x5b8e7d>_0x470cc8)break;_0x489a91[_0x2c13ff(_0x5b4508._0x324fb9,_0x5b4508._0x2de381,0x1b3,0x317)](_0x199220),_0x5ae6f9[_0x2c13ff(0x3bb,_0x5b4508._0x2e6706,0x1f8,0x317)](_0x1bba97),_0x21ed72+=_0x5b8e7d;}return{'output':''+_0x3a427c+_0x489a91[_0x202c0c(_0x5b4508._0x3949b3,_0x5b4508._0xe4730f,_0x5b4508._0x4781d7,0x378)](''),'observedLines':_0x5ae6f9};}function selectChangedContextLines(_0x5918da,_0x5b6c7f,_0x5def41){const _0x5c6a2d={_0x41079a:0x17d,_0x3fb70d:0x38d,_0x27e116:0x2f2,_0x5c39bc:0x1be,_0x5aeb46:0x3c8,_0x477763:0x4ed,_0x1291d9:0x5d2,_0x193462:0x639,_0x10d1ce:0x6f9,_0x5a82c5:0x6bc,_0xf5de8e:0x6fd,_0x4e44d0:0x6d3,_0x215130:0x586,_0x60ac05:0x718,_0xe7cb4f:0x8,_0x573246:0x2d7,_0xb004f8:0x388,_0x38521d:0x4c2,_0x2ca69a:0x6cb,_0x5c0c1f:0x13d,_0x2472ec:0x123,_0xc4198d:0x1bc,_0x3a35fa:0x379,_0x3e6bc1:0x34f,_0x55a94f:0x1a9,_0x63ee5c:0x310,_0x2b0f41:0x778,_0x3db3cf:0x62d,_0x26bad0:0x7e2,_0x5939c4:0x567,_0x1fa890:0x6f7,_0x3096fc:0x565,_0x284ed1:0xd2,_0x322481:0x2b9,_0x462f98:0xf0,_0x4bdcc8:0x61b,_0x25425d:0x83c,_0x280130:0x6a1,_0x21da4d:0x6ca,_0x17c905:0x51e},_0x253728=new Set();function _0x30f91e(_0x49ee1e,_0x1ccdda,_0x3bb2e8,_0x5f3ea7){return _0x30b865(_0x49ee1e-0xbc,_0x1ccdda,_0x3bb2e8-0xda,_0x5f3ea7-0x70);}function _0x225fcb(_0x4edd19,_0x24d467,_0x5c2578,_0x1fa5cc){return _0x30b865(_0x4edd19-0x11e,_0x1fa5cc,_0x5c2578-0x513,_0x1fa5cc-0x196);}for(const _0x247af0 of _0x5918da){const _0x7d8a13=_0x247af0[_0x30f91e(0x2c1,0x30d,0x341,0x3c6)];if(_0x5def41===_0x30f91e(_0x5c6a2d._0x41079a,_0x5c6a2d._0x3fb70d,0x28a,0x170)){if(_0x7d8a13[_0x30f91e(_0x5c6a2d._0x27e116,_0x5c6a2d._0x5c39bc,_0x5c6a2d._0x5aeb46,0x4b5)]>0x0)for(let _0x5a0eed=_0x7d8a13[_0x225fcb(_0x5c6a2d._0x477763,0x41f,_0x5c6a2d._0x1291d9,0x7dd)];_0x5a0eed<=_0x7d8a13[_0x225fcb(0x8ce,_0x5c6a2d._0x193462,0x7b8,_0x5c6a2d._0x10d1ce)]&&_0x5a0eed<=_0x5b6c7f[_0x225fcb(_0x5c6a2d._0x5a82c5,0x856,_0x5c6a2d._0xf5de8e,_0x5c6a2d._0x4e44d0)][_0x225fcb(0x876,_0x5c6a2d._0x215130,_0x5c6a2d._0x60ac05,0x923)];_0x5a0eed+=0x1){_0x253728['add'](_0x5a0eed);}else _0x7d8a13[_0x30f91e(0x1a3,-_0x5c6a2d._0xe7cb4f,0x199,_0x5c6a2d._0x573246)]>=0x1&&_0x7d8a13[_0x225fcb(0x60b,0x4d9,0x5d2,0x3d7)]<=_0x5b6c7f['lines'][_0x30f91e(_0x5c6a2d._0xb004f8,0x457,0x2df,_0x5c6a2d._0x38521d)]&&_0x253728[_0x225fcb(_0x5c6a2d._0x2ca69a,0x85b,0x6f2,0x7c4)](_0x7d8a13[_0x30f91e(_0x5c6a2d._0x5c0c1f,0xbf,0x199,0xf6)]);}else{if(_0x7d8a13[_0x30f91e(0xaa,0x98,_0x5c6a2d._0x2472ec,_0x5c6a2d._0xc4198d)]>0x0)for(let _0x39b1e9=_0x7d8a13[_0x30f91e(0x4eb,0x57a,_0x5c6a2d._0x3a35fa,0x3d8)];_0x39b1e9<=_0x7d8a13[_0x30f91e(_0x5c6a2d._0x3e6bc1,_0x5c6a2d._0x55a94f,_0x5c6a2d._0x63ee5c,0x49b)]&&_0x39b1e9<=_0x5b6c7f[_0x225fcb(_0x5c6a2d._0x2b0f41,_0x5c6a2d._0x3db3cf,0x6fd,_0x5c6a2d._0x26bad0)][_0x225fcb(_0x5c6a2d._0x5939c4,_0x5c6a2d._0x1fa890,0x718,_0x5c6a2d._0x3096fc)];_0x39b1e9+=0x1){_0x253728[_0x30f91e(_0x5c6a2d._0x284ed1,0x3dc,_0x5c6a2d._0x322481,0xeb)](_0x39b1e9);}else _0x7d8a13['oldStartLine']>=0x1&&_0x7d8a13['oldStartLine']<=_0x5b6c7f[_0x30f91e(0x1b4,_0x5c6a2d._0x462f98,0x2c4,0x2cd)][_0x225fcb(_0x5c6a2d._0x4bdcc8,_0x5c6a2d._0x25425d,_0x5c6a2d._0x60ac05,0x514)]&&_0x253728[_0x30f91e(0x1bc,0x3e7,0x2b9,0x134)](_0x7d8a13['oldStartLine']);}}return[..._0x253728]['sort']((_0xe55d95,_0x3ed663)=>_0xe55d95-_0x3ed663)[_0x225fcb(_0x5c6a2d._0x280130,_0x5c6a2d._0x21da4d,_0x5c6a2d._0x17c905,0x3b8)](0x0,0x14);}function throwStaleSnapshot(_0x2668cf,_0x2d0457,_0x4a2150,_0x4374ad){const _0x5e5341={_0x1b7788:0x802,_0x17fe2f:0x83c,_0x5b3c4b:0x409,_0x826b9d:0x138,_0x5b7fa5:0x84c,_0xbf9b79:0x9bd,_0x28ea76:0x530,_0x227af8:0x85d,_0x3c5bd4:0x738,_0x4a3e45:0x8e3,_0x4ed828:0x9b2},_0xddc071={_0x298b53:0x99,_0x5f2993:0x658,_0x2b13e6:0xad},_0x3005d8={_0x4f8eb7:0x1dc,_0x5978b8:0x251};function _0x25a5d1(_0x4a0d0c,_0x2c9b3c,_0x5d1cc5,_0x579f40){return _0x511cdd(_0x4a0d0c-_0x3005d8._0x4f8eb7,_0x2c9b3c-0x1e3,_0x2c9b3c,_0x579f40- -_0x3005d8._0x5978b8);}function _0x5074c3(_0x11342f,_0x2d0ddf,_0x192447,_0x2f3674){return _0x30b865(_0x11342f-_0xddc071._0x298b53,_0x192447,_0x11342f-_0xddc071._0x5f2993,_0x2f3674-_0xddc071._0x2b13e6);}throw createAnchoredFileError(_0x5074c3(_0x5e5341._0x1b7788,0x8f9,_0x5e5341._0x17fe2f,0x952),_0x4374ad[_0x25a5d1(_0x5e5341._0x5b3c4b,_0x5e5341._0x826b9d,0x22e,0x21f)],{'path':_0x2668cf,'canonicalPath':_0x2d0457,'tag':_0x4a2150[_0x5074c3(_0x5e5341._0x5b7fa5,0x948,0x723,_0x5e5341._0xbf9b79)],'digest':_0x4a2150[_0x5074c3(0x668,_0x5e5341._0x28ea76,0x477,0x63a)],..._0x4374ad['contextLines'][_0x5074c3(_0x5e5341._0x227af8,0x9f3,_0x5e5341._0x3c5bd4,_0x5e5341._0x4a3e45)]>0x0?{'contextLines':[..._0x4374ad[_0x5074c3(0x93c,0x9a3,0x934,_0x5e5341._0x4ed828)]]}:{}});}function throwUnseenLines(_0xd45225,_0x2f10e6,_0x525751,_0x1bc807,_0x53ac6a){const _0x1468ce={_0x5c0699:0x7e8,_0x5b1f0d:0x246,_0x314571:0xe8,_0x26df73:0x290,_0x4b10e0:0x67d,_0x5384e2:0x5f9,_0x408892:0x58c,_0x9c4864:0x490,_0x1398e1:0x13b,_0x36f5ed:0x2d7,_0x51d2f0:0xf9,_0x2d53a4:0x8a},_0x5acbaa={_0x22590c:0x9a},_0xe96633={_0x2a514d:0xef,_0x455f28:0x2f4};function _0x3a4011(_0x572ffd,_0x2b677e,_0x1b96fe,_0x4effbf){return _0x511cdd(_0x572ffd-0x48,_0x2b677e-_0xe96633._0x2a514d,_0x4effbf,_0x1b96fe- -_0xe96633._0x455f28);}function _0x4bc5d3(_0x1a371a,_0x472635,_0x5ac6d8,_0x20b0b2){return _0x30b865(_0x1a371a-_0x5acbaa._0x22590c,_0x472635,_0x20b0b2-0x480,_0x20b0b2-0x38);}throw createAnchoredFileError(_0x4bc5d3(_0x1468ce._0x5c0699,0x80f,0x752,0x694),_0x53ac6a['output'],{'path':_0xd45225,'canonicalPath':_0x2f10e6,'tag':_0x525751[_0x3a4011(0x2f5,_0x1468ce._0x5b1f0d,_0x1468ce._0x314571,_0x1468ce._0x26df73)],'digest':_0x525751[_0x4bc5d3(_0x1468ce._0x4b10e0,_0x1468ce._0x5384e2,_0x1468ce._0x408892,_0x1468ce._0x9c4864)],'requiredLines':[..._0x1bc807],..._0x53ac6a['contextLines'][_0x3a4011(_0x1468ce._0x1398e1,_0x1468ce._0x36f5ed,_0x1468ce._0x51d2f0,_0x1468ce._0x2d53a4)]>0x0?{'contextLines':[..._0x53ac6a['contextLines']]}:{}});}function throwNoChange(_0x46c2d6,_0x18705d,_0xa0b0bd,_0x5208a1,_0x55e449){const _0x4bbad2={_0xd64b31:0x473,_0x511286:0x3e0,_0x1946fe:0x507,_0x5cd973:0x659,_0xe45110:0x4a8,_0x892a65:0x2b5,_0x4127ab:0x4b9,_0x292352:0x3cc,_0x14c126:0x600,_0x571673:0x4b0},_0x32d3bb={_0x229252:0xa0};function _0x226640(_0x59f893,_0x1544a7,_0x267199,_0x149b34){return _0x511cdd(_0x59f893-0x1d3,_0x1544a7-0x8c,_0x1544a7,_0x267199-0xcc);}function _0x3edf6e(_0x3fc180,_0x202c41,_0x3af0d2,_0x442041){return _0x511cdd(_0x3fc180-_0x32d3bb._0x229252,_0x202c41-0xe4,_0x442041,_0x202c41-0xa2);}throw createAnchoredFileError(_0x3edf6e(0x436,0x36c,_0x4bbad2._0xd64b31,_0x4bbad2._0x511286),_0x5208a1[_0x226640(_0x4bbad2._0x1946fe,_0x4bbad2._0x5cd973,0x53c,0x706)],{'path':_0x46c2d6,'canonicalPath':_0x18705d,'tag':_0xa0b0bd[_0x226640(0x63b,0x65a,_0x4bbad2._0xe45110,0x428)],'digest':_0xa0b0bd['digest'],'attemptCount':_0x55e449,..._0x5208a1['contextLines'][_0x226640(0x518,_0x4bbad2._0x892a65,_0x4bbad2._0x4127ab,_0x4bbad2._0x292352)]>0x0?{'contextLines':[..._0x5208a1[_0x226640(_0x4bbad2._0x14c126,_0x4bbad2._0x571673,0x598,0x422)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x10c95,_0x319ee3,_0x4b5d48,_0x2cea29){const _0x5897c3={_0x1c31cb:0x81d,_0x4c48b7:0x85c,_0x11d125:0x63f,_0x3db546:0x53e,_0xce97a5:0x412,_0x2eaeb9:0x396,_0x164196:0x561,_0x574339:0x68f,_0x32d4c5:0x698,_0x454f01:0x7fe,_0x2b25d7:0x582,_0x4981b5:0x909,_0x3d83f0:0x73d,_0x3347ef:0x78e,_0x41e026:0x659,_0x432f19:0x58b,_0x472aaa:0x74c,_0x2fcf88:0x4b4,_0x1dfdb8:0x4d5,_0x3c2b22:0x5e0,_0x55cb73:0x54a,_0xcdd4c:0x641,_0x293aa8:0x4b0,_0x571487:0x677,_0x138bfd:0x4da,_0x4db582:0x80e,_0x2c091b:0x7fa,_0x2226cf:0x92f,_0x53117d:0x415,_0x353746:0x3fd,_0x52e92b:0x6f5,_0x1103ae:0x5e7,_0x268829:0x6d5,_0x5b013e:0x56d,_0x28a665:0x6a8,_0x394271:0x5f8,_0x39d164:0x54a,_0x2255fc:0x6a1,_0xf71604:0x513,_0x3caa70:0x4f7,_0x419cc9:0x650,_0x180ec2:0x5ca,_0x1cac05:0x404,_0x5ea5ad:0x6b8,_0x4088fe:0x660,_0x47709d:0x5db,_0x24fe3d:0x7dd,_0xc77ddb:0x75e,_0x4c8cb9:0x513,_0x34bf4b:0x541,_0x28fb37:0x535,_0x325455:0x718,_0x18e449:0x4cc,_0x4596ca:0x6b7,_0x4f0060:0x6d5,_0x7f0ed8:0x879,_0x37ffb8:0x601,_0x26b7db:0x788,_0xa68908:0x956,_0x49d74b:0x5c7,_0x2733e7:0x596,_0x152dc:0x454,_0x1d21b0:0x574,_0x2b5569:0x7c6,_0x223cd3:0x741,_0x102219:0x53d,_0x4255b4:0x5e1,_0x2d00e2:0x5f5,_0x35a32c:0x73d,_0x8cfa44:0x53e,_0x5ef915:0x3f7,_0x501abc:0x2e3,_0x222d00:0x278,_0x23dc87:0x689,_0x147123:0x4de,_0x59d371:0x78c,_0x2ceffb:0x6d0,_0x4e661c:0x8b5,_0x3f0eeb:0x415,_0xaeedcc:0x4b8,_0x1a4d38:0x5d6,_0x361820:0x3f2,_0x4dc40c:0x5a4,_0x348c19:0x936,_0x229b68:0xb3b,_0x29f51c:0xa7b,_0x2db1fd:0x682,_0x269806:0x5bd,_0x3b1889:0x688,_0x5a9e22:0x4b5},_0x220bf6={_0x21f75d:0x61a,_0x202a20:0x11f},_0x7840b1={_0x49550d:0x39},_0x3a70c5=parseAnchoredInput(_0x10c95,_0x319ee3),_0x8419d=await resolveEditTarget(_0x2cea29['defaultCwd'],_0x2cea29[_0x2d489f(0x77b,0x57a,_0x5897c3._0x1c31cb,_0x5897c3._0x4c48b7)],_0x3a70c5['filePath']),{observations:_0x2f5279}=_0x2cea29;function _0x2d489f(_0x23cb43,_0xadffb9,_0x128940,_0x277f00){return _0x511cdd(_0x23cb43-_0x7840b1._0x49550d,_0xadffb9-0xaa,_0x277f00,_0x23cb43-0x2bc);}_0x2f5279[_0x25ad67(0x972,0x789,0x5c8,_0x5897c3._0x11d125)](_0x4b5d48);const _0x53fc50=_0x2f5279[_0x2d489f(_0x5897c3._0x3db546,_0x5897c3._0xce97a5,_0x5897c3._0x2eaeb9,0x337)](_0x8419d[_0x25ad67(0x873,0x73d,_0x5897c3._0x164196,_0x5897c3._0x574339)],_0x3a70c5[_0x2d489f(_0x5897c3._0x32d4c5,0x5ab,_0x5897c3._0x454f01,_0x5897c3._0x2b25d7)]),_0x7bc3ec=await readLiveSnapshot(_0x8419d[_0x25ad67(_0x5897c3._0x4981b5,_0x5897c3._0x3d83f0,_0x5897c3._0x3347ef,_0x5897c3._0x41e026)],_0x3a70c5[_0x25ad67(0x683,_0x5897c3._0x432f19,_0x5897c3._0x472aaa,0x675)]);function _0x25ad67(_0x508e55,_0x46ef,_0x5ce574,_0x47694e){return _0x30b865(_0x508e55-0x1c7,_0x47694e,_0x46ef-_0x220bf6._0x21f75d,_0x47694e-_0x220bf6._0x202a20);}const _0x25b457=computePayloadDigest(_0x3a70c5['operations']);if(_0x7bc3ec[_0x2d489f(_0x5897c3._0x2fcf88,0x3b6,_0x5897c3._0x1dfdb8,_0x5897c3._0x3c2b22)]!==_0x53fc50[_0x2d489f(_0x5897c3._0x55cb73,_0x5897c3._0xcdd4c,0x686,0x53e)][_0x25ad67(_0x5897c3._0x293aa8,0x62a,_0x5897c3._0x571487,_0x5897c3._0x138bfd)]){const {reasonLine:_0x10acc4,guidance:_0x22d660}=staleSnapshotMessageText(_0x3a70c5['filePath'],_0x3a70c5[_0x25ad67(_0x5897c3._0x4db582,0x80e,_0x5897c3._0x2c091b,_0x5897c3._0x2226cf)]),_0x5e805f=buildRecoveryContext(_0x3a70c5[_0x2d489f(_0x5897c3._0x53117d,_0x5897c3._0x353746,0x3d2,0x504)],_0x7bc3ec,collectRequiredLines(_0x3a70c5[_0x25ad67(0x638,0x689,0x538,_0x5897c3._0x52e92b)]),_0x2cea29[_0x2d489f(0x55a,0x392,0x5fa,0x53c)],_0x10acc4,_0x22d660);_0x2f5279[_0x25ad67(_0x5897c3._0x1103ae,_0x5897c3._0x268829,_0x5897c3._0x5b013e,0x78e)](_0x7bc3ec,_0x5e805f['contextLines']),throwStaleSnapshot(_0x3a70c5[_0x2d489f(_0x5897c3._0x53117d,0x4ab,0x493,0x547)],_0x8419d[_0x25ad67(0x879,_0x5897c3._0x3d83f0,_0x5897c3._0x28a665,_0x5897c3._0x394271)],_0x7bc3ec,_0x5e805f);}let _0x27e083;try{_0x27e083=prepareCanonicalFileEdit(_0x53fc50[_0x2d489f(_0x5897c3._0x39d164,0x693,0x4e2,_0x5897c3._0x2255fc)],_0x53fc50['observedLines'],_0x3a70c5[_0x2d489f(_0x5897c3._0xf71604,_0x5897c3._0x3caa70,0x38a,_0x5897c3._0x419cc9)]);}catch(_0x78590d){if(_0x78590d instanceof ToolExecutionError&&_0x78590d[_0x25ad67(0x71f,_0x5897c3._0x180ec2,_0x5897c3._0x1cac05,0x463)]['error']===_0x2d489f(_0x5897c3._0x5ea5ad,_0x5897c3._0x4088fe,0x5c8,0x642)){const _0x6431d7=_0x78590d['structured'][_0x25ad67(_0x5897c3._0x47709d,_0x5897c3._0x24fe3d,_0x5897c3._0xc77ddb,0x74a)]??collectRequiredLines(_0x3a70c5[_0x2d489f(_0x5897c3._0x4c8cb9,_0x5897c3._0x34bf4b,_0x5897c3._0x28fb37,_0x5897c3._0x325455)]),{reasonLine:_0x37ad87,guidance:_0x3a8a35}=unseenLinesMessageText(),_0x10e4e6=buildRecoveryContext(_0x3a70c5['filePath'],_0x7bc3ec,_0x6431d7,_0x2cea29[_0x2d489f(0x55a,0x43a,_0x5897c3._0x18e449,0x641)],_0x37ad87,_0x3a8a35);_0x2f5279[_0x25ad67(_0x5897c3._0x4596ca,_0x5897c3._0x4f0060,_0x5897c3._0x7f0ed8,_0x5897c3._0x37ffb8)](_0x7bc3ec,_0x10e4e6[_0x2d489f(_0x5897c3._0x26b7db,_0x5897c3._0xa68908,0x97e,0x616)]),throwUnseenLines(_0x3a70c5['filePath'],_0x8419d[_0x2d489f(_0x5897c3._0x49d74b,_0x5897c3._0x2733e7,0x558,0x4ec)],_0x7bc3ec,_0x6431d7,_0x10e4e6);}if(_0x78590d instanceof ToolExecutionError&&_0x78590d[_0x2d489f(_0x5897c3._0x152dc,0x60d,_0x5897c3._0x1d21b0,_0x5897c3._0x34bf4b)][_0x25ad67(0x9ba,_0x5897c3._0x2b5569,0x609,0x5f6)]===_0x2d489f(0x586,_0x5897c3._0x223cd3,_0x5897c3._0x102219,0x450)){const _0x2d37f4=_0x2f5279[_0x25ad67(0x56b,_0x5897c3._0x4255b4,0x730,0x3d1)](_0x8419d[_0x25ad67(_0x5897c3._0x2d00e2,_0x5897c3._0x35a32c,0x6de,_0x5897c3._0x8cfa44)],_0x25b457),{reasonLine:_0x34d162,guidance:_0x24445d}=noChangeMessageText(_0x3a70c5[_0x2d489f(0x415,_0x5897c3._0x5ef915,_0x5897c3._0x501abc,_0x5897c3._0x222d00)],_0x2d37f4),_0x5b175b=buildRecoveryContext(_0x3a70c5[_0x2d489f(0x415,0x50b,0x3e3,0x5a0)],_0x7bc3ec,collectRequiredLines(_0x3a70c5[_0x25ad67(0x847,_0x5897c3._0x23dc87,_0x5897c3._0x147123,0x4d8)]),_0x2cea29[_0x25ad67(_0x5897c3._0x59d371,_0x5897c3._0x2ceffb,0x896,_0x5897c3._0x4e661c)],_0x34d162,_0x24445d);_0x2f5279['record'](_0x7bc3ec,_0x5b175b['contextLines']),throwNoChange(_0x3a70c5[_0x2d489f(_0x5897c3._0x3f0eeb,_0x5897c3._0xaeedcc,0x271,_0x5897c3._0x1a4d38)],_0x8419d[_0x2d489f(_0x5897c3._0x49d74b,_0x5897c3._0x4255b4,_0x5897c3._0x361820,_0x5897c3._0x4dc40c)],_0x7bc3ec,_0x5b175b,_0x2d37f4);}throw _0x78590d;}return assertPreviewWithinBounds(_0x27e083[_0x25ad67(0xa76,_0x5897c3._0x348c19,_0x5897c3._0x229b68,_0x5897c3._0x29f51c)],_0x8419d[_0x2d489f(0x5c7,_0x5897c3._0x2db1fd,_0x5897c3._0x269806,0x649)],_0x3a70c5[_0x25ad67(0x5c4,0x58b,_0x5897c3._0x3b1889,_0x5897c3._0x5a9e22)]),buildPreview(_0x10c95,_0x3a70c5,_0x8419d,_0x53fc50,_0x27e083);}async function reResolveUnderLock(_0x23014b,_0x27c1f6,_0xb28c1b,_0x1721e1){const _0x1721cb={_0x51e695:0x4df,_0x13ee6b:0x6c8,_0x5d6893:0x761,_0x2fb520:0x8cb,_0x472a06:0x7a4,_0x343146:0x547,_0x586597:0x6a8,_0x529917:0x3ae,_0x5848f7:0x2e7,_0x2ab615:0x1c5,_0x450d31:0x679,_0x107318:0x6d2,_0x1f73e6:0x6eb,_0x968cb:0x647,_0x2a8002:0x5b6,_0x40f208:0x308,_0x48a656:0x349},_0x205ea6={_0x1ab5be:0x5af},_0x1dcf2b={_0x3e6ef8:0x11b,_0x455d9b:0x2e0};function _0x3aba99(_0x3bfac2,_0x401155,_0xe4ac1a,_0x3e2478){return _0x30b865(_0x3bfac2-_0x1dcf2b._0x3e6ef8,_0x3e2478,_0x3bfac2-_0x1dcf2b._0x455d9b,_0x3e2478-0x1ed);}let _0x3eb2a1;try{_0x3eb2a1=await resolveCanonicalAllowedFile(_0x23014b,_0x27c1f6,_0xb28c1b['filePath']);}catch(_0x48c2cf){if(_0x48c2cf instanceof ToolExecutionError)throw _0x48c2cf;const _0x315c20=_0x48c2cf instanceof Error?_0x48c2cf[_0x41145c(_0x1721cb._0x51e695,_0x1721cb._0x13ee6b,_0x1721cb._0x5d6893,0x601)]:String(_0x48c2cf);throw createAnchoredFileError(_0x41145c(_0x1721cb._0x2fb520,0x759,0x724,_0x1721cb._0x472a06),_0x3aba99(0x59b,_0x1721cb._0x343146,_0x1721cb._0x586597,0x62e)+_0xb28c1b['filePath']+_0x3aba99(0x38c,_0x1721cb._0x529917,_0x1721cb._0x5848f7,_0x1721cb._0x2ab615)+_0x315c20+');\x20re-read\x20with\x20FileRead\x20first.',{'path':_0xb28c1b[_0x41145c(_0x1721cb._0x450d31,0x520,0x4bc,0x70e)]});}function _0x41145c(_0x3d8857,_0x5cb53d,_0x53e3c9,_0x5e3cd5){return _0x30b865(_0x3d8857-0xb6,_0x5e3cd5,_0x5cb53d-_0x205ea6._0x1ab5be,_0x5e3cd5-0x133);}if(_0x3eb2a1[_0x41145c(0x552,_0x1721cb._0x107318,0x778,0x85a)]!==_0x1721e1)throw createAnchoredFileError('stale_snapshot','stale_snapshot:\x20File\x20'+_0xb28c1b['filePath']+_0x41145c(_0x1721cb._0x1f73e6,_0x1721cb._0x968cb,0x4d9,_0x1721cb._0x2a8002),{'path':_0xb28c1b[_0x3aba99(0x251,0x1c5,_0x1721cb._0x40f208,_0x1721cb._0x48a656)],'canonicalPath':_0x3eb2a1['canonicalPath']});return _0x3eb2a1;}async function executeAnchoredFileEdit(_0x3fbc19,_0x40711c,_0x97dedd,_0x519405,_0x556aac=defaultFileSystem2){const _0x3ba1c9={_0x4fdead:0x525,_0x254685:0x5eb,_0x332eda:0x1eb,_0x498e0d:0x17b,_0x21859c:0x51b,_0x11f333:0x651},_0x253242={_0x3be8ee:0x670,_0x967164:0x5b8,_0xa0fe76:0xbb,_0x2a73b0:0x400,_0x4262be:0x61f,_0x595e24:0x9b,_0x38d24c:0x15b,_0x177a74:0x3dd,_0x2c2ae5:0x42a,_0x5dd042:0x44f,_0xa0b94e:0x5b6,_0x43bc37:0x40f,_0x5066b2:0x7ce,_0x44b76e:0x53,_0x402876:0x16,_0x5b67fa:0xaa,_0xb02fbc:0x123,_0x23467c:0x24f,_0x29387e:0x407,_0x85414b:0x337,_0x3ecd17:0x30a,_0x3dae97:0x47d,_0x2f0fe7:0xb5,_0x2a14e1:0x5d,_0x1fcddf:0x654,_0x289553:0x4bc,_0x566601:0x4b8,_0x3442d3:0xf3,_0x24c130:0x245,_0x4699d5:0x92,_0x5f0a22:0x43f,_0x1e9965:0x4aa,_0x4ede76:0x514,_0x329bda:0x3a9,_0x599607:0x313,_0x1c505d:0x23,_0x5e8caf:0x3e0,_0x174925:0x43e,_0x49045a:0x54b,_0x3b3ffb:0x4d,_0x5be6ad:0x236,_0x491488:0xe0,_0xb57e8a:0x1fb,_0x3c6491:0x298,_0x296be9:0x12d,_0x1981cc:0x353,_0x255b54:0x1b7,_0x2951c2:0x1c,_0x118126:0x149,_0x330d30:0x102,_0x3ea9eb:0x2c1,_0x4c258f:0x349,_0x2b7949:0x2f1,_0x5b787c:0x631,_0xef823b:0x5f3,_0x2dd4c1:0xb0,_0x49bdc1:0x25c,_0x2c01a3:0x31e,_0x34f612:0x128,_0x19a0e9:0x2f0,_0x4fdbde:0x354,_0x335efa:0x30d,_0x500d7c:0x597,_0x59bab6:0x545,_0x44b9d9:0x757,_0x1c16c4:0x3ca,_0x39cf84:0x21,_0x5a8db1:0x7e,_0x200a11:0x1de,_0x3bb6b2:0x24,_0x5288fa:0x16c,_0x255f71:0x329,_0x4db791:0x5ab,_0x5a779a:0x20,_0x546f74:0x25,_0x4abc77:0x7d,_0x51f06a:0x3d2,_0x4a4280:0x2af,_0x532cd5:0x1f5,_0x2018b1:0x2ee,_0x253e8f:0x225,_0x3105ee:0x494,_0x2c9428:0x6f5,_0x1e5ee6:0x4cc,_0x26ca11:0x307,_0x2baa50:0x2ad,_0x5db196:0x189,_0x44e45d:0x78,_0x454f2d:0x245,_0x407467:0xfb,_0x299010:0x1a6,_0x23e23b:0x219,_0xf51b07:0x32a,_0x271716:0x223,_0x1442e7:0x25d,_0x5f5382:0x44f,_0xb410c5:0x52f,_0x52e13b:0x286,_0x8e3c21:0x2f7,_0x2fe299:0x224,_0x116818:0x57,_0x1edbfd:0x221,_0x38bd83:0x19e,_0x47020f:0x4e1,_0x49cbcf:0x454,_0x910a3d:0x609,_0x55e73a:0x38f,_0x4d531b:0x2e5,_0x258ccd:0xe4,_0x412fcb:0x5e,_0x17a5d0:0x3a9,_0x472324:0x486,_0x414961:0x27a,_0x2d833f:0x203,_0x54a133:0x27,_0x1f0869:0x25b,_0x29ef36:0x57c,_0x4a3c0a:0x356,_0x1a317b:0x185,_0x21f00d:0x1fe,_0x10b5a6:0x218,_0x59cb11:0x346,_0x5655c8:0x2ef,_0xd85236:0x91,_0x2138d1:0x9f,_0x5e59b2:0x16,_0x2baecb:0x135,_0x58a76e:0xf1,_0x3c04b0:0x194,_0x3825b3:0xd4,_0x1b3ede:0x267,_0x42be91:0x2fb,_0x415fae:0x30a,_0x24ce64:0x3d0,_0x4dc553:0x1ee,_0x18550a:0x1d7,_0x4202aa:0x58f,_0x3f9d85:0x611,_0x477af0:0x9b,_0x2715b2:0x155,_0x514cfe:0x14f,_0x493d36:0x221,_0x39398e:0x23a,_0x3591fc:0x13b,_0x1f67fc:0x319,_0x5b12fc:0x244,_0x547b40:0x75,_0x262394:0x3d,_0x11d4ad:0x117,_0x3e88bf:0x1b2,_0x2d4a36:0x30a,_0x3696b9:0x124,_0x4bafc5:0x20,_0x35320e:0x206,_0xf19857:0x41f,_0x3ad72d:0x30a,_0xe94858:0x4ac,_0x2dfe16:0x3d1,_0x59dc29:0x12c,_0x43e975:0x376,_0x5e4344:0x52e,_0x5efd25:0x30a,_0x302e29:0x3c1,_0x55dd6a:0x50b,_0x25ec78:0xad,_0x1e27e7:0x129,_0x147dbc:0xae,_0x394a9b:0x2a4,_0x278cef:0x27f,_0x5d7db1:0x2fe,_0x3f7bbf:0x2e9,_0x2ef5f7:0x1af,_0x2fa0ac:0x36,_0x493541:0x615,_0x167571:0x621,_0x56313a:0x717,_0x2e33e0:0x28d,_0x94602d:0x40b,_0x166b74:0x67c,_0x2f89df:0x40c,_0x4f9e87:0x59e,_0x5c0134:0x6ae,_0x57410d:0x486,_0x43ab9e:0x1dc,_0x50dc8e:0x105,_0x40c1ce:0x1d1,_0x1d2713:0x60c,_0x5237ad:0x6ac,_0x343d8b:0x55f,_0x4006b0:0x556,_0x2d4195:0x588,_0x377a17:0x4fe,_0x4e5c89:0x45d,_0xfc9451:0x8a,_0x428fc4:0xc1,_0x1a4cf8:0x4d2,_0xd9da03:0x50a,_0x3871ed:0x524,_0x311bcd:0xa1,_0x2cf8f2:0x37,_0x1aa1a5:0x1f,_0x373638:0xef,_0x5b8322:0x30,_0x2d9e36:0x252,_0x90d90e:0x3a9,_0x4f61cf:0x539,_0xf64636:0xf1,_0x19a3c1:0x2bb,_0xb0cc53:0xd8,_0x1e0d22:0x542,_0x2f95ac:0x426,_0xe828d5:0x731,_0xc90c2f:0x50b},_0x1d921f={_0x192c25:0x5e},_0x142631={_0x21b4ef:0x31f};function _0x4b9e18(_0x153268,_0x21ecf2,_0x2ad8f7,_0x15a0f4){return _0x30b865(_0x153268-0xc2,_0x153268,_0x2ad8f7-_0x142631._0x21b4ef,_0x15a0f4-0x16b);}const _0xc2c48e=parseAnchoredInput(_0x3fbc19,_0x40711c),_0x1223d1=await resolveEditTarget(_0x519405['defaultCwd'],_0x519405[_0x4b9e18(_0x3ba1c9._0x4fdead,0x7ea,0x5f6,_0x3ba1c9._0x254685)],_0xc2c48e[_0x4b9e18(_0x3ba1c9._0x332eda,_0x3ba1c9._0x498e0d,0x290,0x100)]);function _0x203ea3(_0x2a3e74,_0x5443e3,_0x16900f,_0x3fe287){return _0x30b865(_0x2a3e74-_0x1d921f._0x192c25,_0x3fe287,_0x16900f-0x31f,_0x3fe287-0x15);}return _0x519405[_0x4b9e18(0x653,0x5d2,0x4b3,_0x3ba1c9._0x21859c)]['runExclusive'](_0x1223d1[_0x203ea3(_0x3ba1c9._0x11f333,0x515,0x442,0x45d)],_0x97dedd['signal'],async()=>{const _0x1782ce={_0x656ff7:0x7a},_0x32c8e7={_0x1983fb:0x1d7},_0x5cb164=await reResolveUnderLock(_0x519405['defaultCwd'],_0x519405[_0x2535d8(0x655,_0x253242._0x3be8ee,0x743,_0x253242._0x967164)],_0xc2c48e,_0x1223d1[_0x2f6bef(0x20,-0x1ca,-0x11b,_0x253242._0xa0fe76)]),{observations:_0x2117ee}=_0x519405;_0x2117ee[_0x2535d8(0x57e,0x508,_0x253242._0x2a73b0,0x3b6)](_0x97dedd[_0x2535d8(0x4c2,_0x253242._0x4262be,0x50b,0x6d8)]);function _0x2f6bef(_0x47ff95,_0xd701e4,_0x337a66,_0x19086b){return _0x203ea3(_0x47ff95-0x9c,_0xd701e4-_0x32c8e7._0x1983fb,_0x47ff95- -0x422,_0xd701e4);}const _0x112945=_0x2117ee['resolve'](_0x5cb164['canonicalPath'],_0xc2c48e['tag']);let _0x12e9d8,_0x37f6bb;try{[_0x12e9d8,_0x37f6bb]=await Promise[_0x2f6bef(-_0x253242._0x595e24,-0x250,-0x1e8,-0xc8)]([_0x556aac[_0x2f6bef(0x240,_0x253242._0x38d24c,_0x253242._0x177a74,_0x253242._0x2c2ae5)](_0x5cb164[_0x2535d8(_0x253242._0x5dd042,0x4bc,_0x253242._0xa0b94e,_0x253242._0x43bc37)]),_0x556aac[_0x2535d8(_0x253242._0x5066b2,0x5c6,0x545,0x410)](_0x5cb164[_0x2f6bef(0x20,_0x253242._0x44b76e,0x5d,0xfd)])]);}catch(_0x391e68){const _0x1393d8=_0x391e68 instanceof Error?_0x391e68[_0x2f6bef(_0x253242._0x402876,0x89,_0x253242._0x5b67fa,_0x253242._0xb02fbc)]:String(_0x391e68);throw createAnchoredFileError('stale_snapshot',_0x2535d8(_0x253242._0x23467c,_0x253242._0x29387e,0x3ba,0x27c)+_0xc2c48e[_0x2535d8(_0x253242._0x85414b,_0x253242._0x3ecd17,_0x253242._0x3dae97,0x172)]+_0x2f6bef(0x2a,0x1a3,-_0x253242._0x2f0fe7,_0x253242._0x2a14e1)+_0x1393d8+_0x2535d8(0x1d4,0x2fe,0x287,0x32d),{'path':_0xc2c48e['filePath']});}const _0xa80a19=createNormalizedFileSnapshot(_0x5cb164[_0x2535d8(_0x253242._0x1fcddf,_0x253242._0x289553,0x49e,_0x253242._0x566601)],_0x12e9d8);if(_0xa80a19[_0x2f6bef(-_0x253242._0x3442d3,-0xdf,-_0x253242._0x24c130,_0x253242._0x4699d5)]!==_0x112945[_0x2535d8(0x447,_0x253242._0x5f0a22,0x2d0,_0x253242._0x1e9965)][_0x2535d8(_0x253242._0x4ede76,_0x253242._0x329bda,0x2b9,_0x253242._0x599607)]){const {reasonLine:_0xae9d55,guidance:_0x3de639}=staleSnapshotMessageText(_0xc2c48e[_0x2f6bef(-0x192,-0x276,_0x253242._0x1c505d,-0x94)],_0xc2c48e['tag']),_0x4b8d9a=buildRecoveryContext(_0xc2c48e[_0x2535d8(0x132,0x30a,_0x253242._0x5e8caf,0x24b)],_0xa80a19,collectRequiredLines(_0xc2c48e[_0x2535d8(0x29e,0x408,_0x253242._0x174925,_0x253242._0x49045a)]),_0x519405[_0x2f6bef(-_0x253242._0x3b3ffb,0xd3,-_0x253242._0x5be6ad,_0x253242._0x491488)],_0xae9d55,_0x3de639);_0x2117ee['record'](_0xa80a19,_0x4b8d9a[_0x2f6bef(0x1e1,_0x253242._0xb57e8a,0x3ce,_0x253242._0x3c6491)]),throwStaleSnapshot(_0xc2c48e[_0x2535d8(_0x253242._0x296be9,_0x253242._0x3ecd17,_0x253242._0x1981cc,0x177)],_0x5cb164[_0x2f6bef(0x20,0x3c,0x61,-0x16e)],_0xa80a19,_0x4b8d9a);}let _0x27450e;try{_0x27450e=prepareCanonicalFileEdit(_0x112945[_0x2535d8(0x30b,0x43f,0x3f3,0x23f)],_0x112945[_0x2f6bef(-_0x253242._0x255b54,_0x253242._0x2951c2,-0x26b,-_0x253242._0x118126)],_0xc2c48e[_0x2f6bef(-0x94,-_0x253242._0x330d30,-0x138,0x83)]);}catch(_0x25f6b3){if(_0x25f6b3 instanceof ToolExecutionError&&_0x25f6b3[_0x2f6bef(-0x153,-0xfd,-0x1ac,-0x1ad)]['error']==='unseen_lines'){const _0x1e6dd2=_0x25f6b3[_0x2535d8(_0x253242._0x3ea9eb,_0x253242._0x4c258f,0x4d0,_0x253242._0x2b7949)][_0x2535d8(0x5c2,0x55c,_0x253242._0x5b787c,_0x253242._0xef823b)]??collectRequiredLines(_0xc2c48e[_0x2f6bef(-0x94,-_0x253242._0x2dd4c1,0x1c,-_0x253242._0x49bdc1)]),{reasonLine:_0x315471,guidance:_0x497d97}=unseenLinesMessageText(),_0x354951=buildRecoveryContext(_0xc2c48e[_0x2f6bef(-0x192,-_0x253242._0x2c01a3,-_0x253242._0x34f612,0x64)],_0xa80a19,_0x1e6dd2,_0x519405[_0x2f6bef(-_0x253242._0x3b3ffb,-0x71,-0x116,-0xfd)],_0x315471,_0x497d97);_0x2117ee['record'](_0xa80a19,_0x354951['contextLines']),throwUnseenLines(_0xc2c48e[_0x2535d8(_0x253242._0x19a0e9,_0x253242._0x3ecd17,_0x253242._0x4fdbde,0x513)],_0x5cb164[_0x2535d8(_0x253242._0x335efa,_0x253242._0x289553,0x3f2,0x632)],_0xa80a19,_0x1e6dd2,_0x354951);}if(_0x25f6b3 instanceof ToolExecutionError&&_0x25f6b3['structured'][_0x2535d8(_0x253242._0x500d7c,_0x253242._0x59bab6,_0x253242._0x44b9d9,_0x253242._0x1c16c4)]===_0x2f6bef(-_0x253242._0x39cf84,-0x15e,_0x253242._0x5a8db1,0x1e0)){const {reasonLine:_0x6074cb,guidance:_0x2d584a}=noChangeMessageText(_0xc2c48e[_0x2f6bef(-0x192,-0x349,-_0x253242._0x200a11,-_0x253242._0x3bb6b2)],0x1),_0x310c05=buildRecoveryContext(_0xc2c48e[_0x2535d8(_0x253242._0x5288fa,0x30a,0x50d,0x28e)],_0xa80a19,collectRequiredLines(_0xc2c48e[_0x2535d8(0x381,0x408,_0x253242._0x255f71,0x554)]),_0x519405[_0x2535d8(0x3db,0x44f,_0x253242._0x4db791,0x4e4)],_0x6074cb,_0x2d584a);_0x2117ee[_0x2f6bef(-0x48,-0x1b,0x2b,-0x21a)](_0xa80a19,_0x310c05['contextLines']),throwNoChange(_0xc2c48e[_0x2f6bef(-0x192,-0x1d3,-0x2d6,-0x1f9)],_0x5cb164[_0x2f6bef(_0x253242._0x5a779a,-_0x253242._0x546f74,-_0x253242._0x4abc77,-0x1d)],_0xa80a19,_0x310c05,0x1);}throw _0x25f6b3;}assertPreviewWithinBounds(_0x27450e[_0x2f6bef(0x219,_0x253242._0x51f06a,_0x253242._0x4a4280,0xb9)],_0x5cb164[_0x2535d8(0x4cc,0x4bc,0x599,0x6ca)],_0xc2c48e[_0x2535d8(0x2ea,_0x253242._0x3ecd17,_0x253242._0x532cd5,_0x253242._0x2018b1)]);const _0x3a9abb=_0x27450e[_0x2535d8(_0x253242._0x253e8f,0x408,0x20d,0x229)]['length'],_0x56f2aa=serializeNormalizedFile(_0x27450e[_0x2535d8(_0x253242._0x3105ee,0x6a7,_0x253242._0x2c9428,_0x253242._0x1e5ee6)],{'bom':_0xa80a19['bom'],'eol':_0xa80a19[_0x2535d8(0x174,_0x253242._0x26ca11,0x256,_0x253242._0x2baa50)]}),_0x3591bc=_0x37f6bb[_0x2f6bef(_0x253242._0x5db196,-_0x253242._0x44e45d,0xbe,-0x12)];if(_0xc2c48e[_0x2f6bef(0x42,_0x253242._0x454f2d,-_0x253242._0x407467,_0x253242._0x299010)]){const _0x132844=buildResultText(_0xc2c48e['filePath'],_0xa80a19,selectChangedContextLines(_0x27450e[_0x2f6bef(_0x253242._0x23e23b,0x20a,_0x253242._0xf51b07,0x31)],_0xa80a19,_0x2f6bef(0x1a0,0xe1,_0x253242._0x271716,_0x253242._0x1442e7)),_0x519405[_0x2535d8(0x5ad,_0x253242._0x5f5382,0x523,_0x253242._0xb410c5)],_0x2f6bef(0x20c,_0x253242._0x52e13b,0xa3,_0x253242._0x8e3c21)+_0x3a9abb+_0x2f6bef(_0x253242._0x2fe299,_0x253242._0x116818,_0x253242._0x1edbfd,_0x253242._0x38bd83));_0x2117ee[_0x2535d8(_0x253242._0x47020f,_0x253242._0x49cbcf,_0x253242._0x910a3d,0x5f2)](_0xa80a19,_0x132844[_0x2535d8(_0x253242._0x55e73a,_0x253242._0x4d531b,0x430,0x3f6)]);const _0x2f250d={'preview':buildPreview(_0x3fbc19,_0xc2c48e,_0x5cb164,_0x112945,_0x27450e),'beforeDigest':_0x112945[_0x2f6bef(-0x5d,-_0x253242._0x258ccd,-_0x253242._0x412fcb,0x131)][_0x2535d8(0x32a,_0x253242._0x17a5d0,_0x253242._0x472324,_0x253242._0x414961)],'afterDigest':_0xa80a19[_0x2f6bef(-0xf3,-_0x253242._0x2d833f,-_0x253242._0x54a133,-_0x253242._0x1f0869)],'beforeTag':_0xc2c48e['tag'],'afterTag':_0xa80a19['tag'],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x3a9abb,'tokenClassification':_0x2535d8(0x71f,0x542,_0x253242._0x29ef36,_0x253242._0x4a3c0a)};return createToolOutput(_0x132844[_0x2f6bef(_0x253242._0x1a317b,_0x253242._0x21f00d,0x181,0x16d)],_0x2f250d);}try{await _0x556aac[_0x2535d8(_0x253242._0x10b5a6,_0x253242._0x59cb11,0x3bb,_0x253242._0x5655c8)](_0x5cb164[_0x2f6bef(_0x253242._0x5a779a,_0x253242._0xd85236,-0x42,-_0x253242._0x2138d1)],_0x56f2aa,_0x3591bc);}catch(_0x38ab06){const _0x2549ba=_0x38ab06 instanceof Error?_0x38ab06[_0x2f6bef(_0x253242._0x5e59b2,_0x253242._0x2baecb,_0x253242._0x58a76e,0x176)]:String(_0x38ab06);throw createAnchoredFileError(_0x2f6bef(0xb7,0x1a5,_0x253242._0x3c04b0,-_0x253242._0x3825b3),_0x2535d8(_0x253242._0x1b3ede,0x447,0x62a,_0x253242._0x42be91)+_0xc2c48e[_0x2535d8(0x3e3,_0x253242._0x415fae,0x3fe,_0x253242._0x24ce64)]+':\x20'+_0x2549ba+'.\x20The\x20write\x20did\x20not\x20land;\x20re-read\x20the\x20file\x20with\x20FileRead\x20and\x20retry.',{'path':_0xc2c48e[_0x2535d8(_0x253242._0x4dc553,0x30a,0x423,_0x253242._0x18550a)],'canonicalPath':_0x5cb164[_0x2535d8(_0x253242._0x4202aa,_0x253242._0x289553,_0x253242._0x3f9d85,0x3c3)]});}let _0x263611,_0xb3f97d;try{[_0x263611,_0xb3f97d]=await Promise[_0x2f6bef(-_0x253242._0x477af0,-_0x253242._0x2715b2,-0x11a,_0x253242._0x514cfe)]([_0x556aac['readFile'](_0x5cb164[_0x2f6bef(0x20,-0x7,_0x253242._0x493d36,-0x27)]),_0x556aac[_0x2f6bef(0x12a,0x10f,0xeb,_0x253242._0x39398e)](_0x5cb164['canonicalPath'])]);}catch(_0x151149){const _0x49c084=_0x151149 instanceof Error?_0x151149['message']:String(_0x151149);throw createAnchoredFileError(_0x2f6bef(-_0x253242._0x3591fc,-_0x253242._0x1f67fc,-0x2ef,0x5d),_0x2f6bef(-0x1a5,-0x385,-_0x253242._0x5b12fc,-_0x253242._0x547b40)+_0xc2c48e[_0x2f6bef(-0x192,-0x2f1,0x21,-_0x253242._0x262394)]+_0x2f6bef(0x94,-0x14d,_0x253242._0x11d4ad,-0xbf)+_0x49c084+_0x2f6bef(_0x253242._0x3bb6b2,-_0x253242._0x3e88bf,0x1c1,-0x1c5),{'path':_0xc2c48e[_0x2535d8(0x236,_0x253242._0x2d4a36,_0x253242._0x3696b9,0x4bf)],'canonicalPath':_0x5cb164[_0x2f6bef(_0x253242._0x4bafc5,0x14f,0x140,_0x253242._0x35320e)]});}if(!_0x263611['equals'](_0x56f2aa)||(_0xb3f97d[_0x2535d8(_0x253242._0xf19857,0x625,0x5a2,0x786)]&0x1ff)!==(_0x3591bc&0x1ff)){const _0x974b59='post_write_drift:\x20'+_0xc2c48e[_0x2535d8(0x455,_0x253242._0x3ad72d,_0x253242._0xe94858,_0x253242._0x2dfe16)]+_0x2535d8(0x6e8,0x557,0x637,0x448),_0x2e1903=_0x2f6bef(-_0x253242._0x59dc29,0xd0,-0xd,-0x65);let _0x35461d;try{_0x35461d=createNormalizedFileSnapshot(_0x5cb164[_0x2535d8(0x2d2,0x4bc,_0x253242._0x43e975,_0x253242._0x5e4344)],_0x263611);}catch{_0x35461d=void 0x0;}let _0x2da616;_0x35461d!==void 0x0?(_0x2da616=buildRecoveryContext(_0xc2c48e[_0x2535d8(0x14e,_0x253242._0x5efd25,_0x253242._0x302e29,_0x253242._0x55dd6a)],_0x35461d,selectChangedContextLines(_0x27450e['blocks'],_0x35461d,_0x2f6bef(_0x253242._0x25ec78,-_0x253242._0x1e27e7,-_0x253242._0x147dbc,_0x253242._0x394a9b)),_0x519405[_0x2535d8(_0x253242._0x278cef,_0x253242._0x5dd042,_0x253242._0x5d7db1,_0x253242._0x3f7bbf)],_0x974b59,_0x2e1903),_0x2117ee['record'](_0x35461d,_0x2da616['contextLines'])):_0x2da616={'tag':'','digest':'','contextLines':[],'output':_0x974b59+'\x0a'+_0x2e1903};throw createAnchoredFileError(_0x2f6bef(-0x13b,-_0x253242._0x2ef5f7,-_0x253242._0x2fa0ac,-0x204),_0x2da616[_0x2535d8(_0x253242._0x493541,_0x253242._0x167571,0x5de,_0x253242._0x56313a)],{'path':_0xc2c48e[_0x2535d8(0x459,0x30a,0x2b0,_0x253242._0x2e33e0)],'canonicalPath':_0x5cb164[_0x2535d8(_0x253242._0x94602d,0x4bc,0x60d,_0x253242._0x166b74)],..._0x35461d!==void 0x0?{'tag':_0x35461d['tag'],'digest':_0x35461d['digest']}:{},..._0x2da616['contextLines'][_0x2535d8(_0x253242._0x2f89df,_0x253242._0x4f9e87,_0x253242._0x5c0134,_0x253242._0x57410d)]>0x0?{'contextLines':[..._0x2da616['contextLines']]}:{}});}const _0x16aabd=createNormalizedFileSnapshot(_0x5cb164['canonicalPath'],_0x263611);function _0x2535d8(_0x2b09f4,_0x1348e9,_0x186ad4,_0x4773b7){return _0x203ea3(_0x2b09f4-0x152,_0x1348e9-0x152,_0x1348e9-_0x1782ce._0x656ff7,_0x186ad4);}const _0x3e43df=buildResultText(_0xc2c48e['filePath'],_0x16aabd,selectChangedContextLines(_0x27450e[_0x2f6bef(0x219,_0x253242._0x43ab9e,_0x253242._0x50dc8e,_0x253242._0x5e8caf)],_0x16aabd,_0x2535d8(0x45e,0x549,0x653,0x39d)),_0x519405[_0x2f6bef(-0x4d,-0x13c,-0x1b0,-_0x253242._0x40c1ce)],_0x2535d8(0x603,_0x253242._0x1d2713,_0x253242._0x5237ad,_0x253242._0x343d8b)+_0x3a9abb+_0x2535d8(_0x253242._0x4006b0,0x613,_0x253242._0x2d4195,_0x253242._0x377a17));_0x2117ee[_0x2535d8(0x2c4,0x454,_0x253242._0x4e5c89,0x2ac)](_0x16aabd,_0x3e43df[_0x2f6bef(-0x1b7,-_0x253242._0xfc9451,-0x378,-_0x253242._0x428fc4)]),_0x2117ee[_0x2535d8(_0x253242._0x1a4cf8,_0x253242._0xd9da03,0x5ff,_0x253242._0x3871ed)](_0x5cb164[_0x2f6bef(0x20,-_0x253242._0x311bcd,-_0x253242._0x2cf8f2,_0x253242._0x1aa1a5)]);const _0x1d8c88={'preview':buildPreview(_0x3fbc19,_0xc2c48e,_0x5cb164,_0x112945,_0x27450e),'beforeDigest':_0x112945[_0x2f6bef(-_0x253242._0x2a14e1,_0x253242._0x373638,-0x198,-0x246)][_0x2f6bef(-_0x253242._0x3442d3,_0x253242._0x5b8322,-0x1c6,-0x31)],'afterDigest':_0x16aabd[_0x2535d8(_0x253242._0x2d9e36,_0x253242._0x90d90e,_0x253242._0x4f61cf,0x25b)],'beforeTag':_0xc2c48e[_0x2f6bef(_0x253242._0xf64636,0x1df,_0x253242._0x19a3c1,-_0x253242._0xb0cc53)],'afterTag':_0x16aabd['tag'],'bytesWritten':_0x56f2aa['length'],'dryRun':![],'operationCount':_0x3a9abb,'tokenClassification':_0x2535d8(0x454,_0x253242._0x1e0d22,_0x253242._0x2f95ac,0x392)};return createToolOutput(_0x3e43df[_0x2535d8(_0x253242._0xe828d5,0x621,0x825,_0x253242._0xc90c2f)],_0x1d8c88);});}import{readFile as _0x33679d,stat as _0x2232f8}from'fs/promises';import*as _0x579d1f from'path';function detectEol(_0x2f6946){const _0x157199={_0x66b534:0x11b,_0x59abe5:0x2ea,_0x5bdeb4:0x1be,_0x2afeae:0xd8},_0x163fc0={_0x43ce42:0x167,_0x1e3d4b:0x27},_0x13e2fc={_0x4f1931:0x2ac};function _0x2abbce(_0x10e947,_0x290eb4,_0x3841b8,_0x259d9f){return _0x30b865(_0x10e947-0x1c3,_0x259d9f,_0x10e947-_0x13e2fc._0x4f1931,_0x259d9f-0xa8);}function _0x3028e(_0x3cc289,_0x4b0682,_0x47d6ad,_0x5e92c3){return _0x30b865(_0x3cc289-_0x163fc0._0x43ce42,_0x3cc289,_0x47d6ad-0x67,_0x5e92c3-_0x163fc0._0x1e3d4b);}return/\r\n/['test'](_0x2f6946[_0x3028e(0x39,0x291,0x111,-0xd7)](_0x3028e(-0x18f,0xfc,-0xc,_0x157199._0x66b534)))?_0x2abbce(_0x157199._0x59abe5,0x3dd,_0x157199._0x5bdeb4,_0x157199._0x2afeae):'lf';}function normalizeToLf(_0x43ab60){const _0x330e7a={_0x174b9e:0x2fb,_0x186cbf:0x1b6},_0x233fde={_0x854eae:0x205};function _0x1ae961(_0x23dc65,_0x38eba7,_0x2073ba,_0x1c92d8){return _0x511cdd(_0x23dc65-0x17c,_0x38eba7-0xda,_0x1c92d8,_0x2073ba- -_0x233fde._0x854eae);}return _0x43ab60[_0x1ae961(0x2b1,_0x330e7a._0x174b9e,_0x330e7a._0x186cbf,0x23)](/\r\n/g,'\x0a');}function convertEol(_0x109ff8,_0x23e9dd){const _0x5292fb={_0x48feed:0x406,_0x484ca6:0x38b,_0x4b11ad:0x2ec,_0x1570b6:0x4c7,_0x7bc76:0x60d,_0x72a22f:0x481,_0x111c92:0x514},_0xe47f71={_0x2e702b:0x2ae,_0x38d4cc:0x89},_0x10b785={_0x14e185:0x10a};function _0x3d1f9f(_0x5f2f16,_0x4467d9,_0x461f4b,_0x4b9154){return _0x30b865(_0x5f2f16-0x167,_0x5f2f16,_0x4467d9- -_0x10b785._0x14e185,_0x4b9154-0xb5);}function _0x24aa96(_0x1c61be,_0x57ae07,_0x1f2317,_0x207fef){return _0x30b865(_0x1c61be-0x1ad,_0x207fef,_0x1f2317-_0xe47f71._0x2e702b,_0x207fef-_0xe47f71._0x38d4cc);}return _0x23e9dd===_0x24aa96(_0x5292fb._0x48feed,_0x5292fb._0x484ca6,_0x5292fb._0x4b11ad,_0x5292fb._0x1570b6)?_0x109ff8[_0x24aa96(0x3f6,_0x5292fb._0x7bc76,_0x5292fb._0x72a22f,_0x5292fb._0x111c92)](/\n/g,'\x0d\x0a'):_0x109ff8;}function resolveAnchoredEditTarget(_0x392b94,_0x1dee4d,_0x54de5e,_0xbd7236){const _0x4c9766={_0xaeafa:0x6b0,_0x147f03:0x773,_0x485b30:0x57a,_0x1ef542:0x3ba,_0x420df0:0x3d1,_0x3043ce:0x4d7,_0x368870:0x4ac,_0x167d63:0x656,_0x3f6e8c:0x5b1,_0x1d411b:0x3e8,_0x7edac9:0x391,_0x18bc69:0x234},_0x225ab1={_0x34becb:0x6f,_0x5a1670:0x11e},_0xb1306a={_0x9c225b:0x4c2,_0x1defdc:0x47},_0x4a216a=_0x392b94[_0x3b7e52(_0x4c9766._0xaeafa,0x5a4,0x54b,0x667)]??'exact';if(_0x4a216a==='exact')return void 0x0;function _0x131f9b(_0x15dd7d,_0x17f9c8,_0x4e4ae9,_0x159d52){return _0x30b865(_0x15dd7d-0x18d,_0x4e4ae9,_0x17f9c8-_0xb1306a._0x9c225b,_0x159d52-_0xb1306a._0x1defdc);}function _0x3b7e52(_0x3e1350,_0x2608dc,_0x129725,_0xdb25fb){return _0x30b865(_0x3e1350-_0x225ab1._0x34becb,_0x2608dc,_0x3e1350-0x424,_0xdb25fb-_0x225ab1._0x5a1670);}const _0x5ddbf6=_0x392b94['observations'],_0x2efcb5=_0x392b94[_0x3b7e52(0x5b8,0x3b9,_0x4c9766._0x147f03,_0x4c9766._0x485b30)],_0x51da5a=_0x392b94[_0x3b7e52(0x4da,_0x4c9766._0x1ef542,0x4f4,0x3e2)];if(_0x5ddbf6===void 0x0||_0x2efcb5===void 0x0||_0x51da5a===void 0x0){const _0x2e0df3=[_0x5ddbf6===void 0x0?_0x131f9b(_0x4c9766._0x420df0,_0x4c9766._0x3043ce,_0x4c9766._0x368870,0x557):void 0x0,_0x2efcb5===void 0x0?_0x131f9b(0x479,_0x4c9766._0x167d63,_0x4c9766._0x3f6e8c,0x7d9):void 0x0,_0x51da5a===void 0x0?'outputBudgetBytes':void 0x0][_0x3b7e52(_0x4c9766._0x1d411b,_0x4c9766._0x7edac9,_0x4c9766._0x18bc69,0x481)](_0x1b2b1c=>_0x1b2b1c!==void 0x0)['join'](',\x20');throw new Error(_0x1dee4d+'\x20'+_0x4a216a+'\x20mode\x20requires\x20injected\x20'+_0x2e0df3+';\x20construct\x20with\x20observations,\x20mutations,\x20and\x20outputBudgetBytes.');}return{'mode':_0x4a216a,'environment':{'defaultCwd':_0x54de5e,'allowedDirs':_0xbd7236,'observations':_0x5ddbf6,'mutations':_0x2efcb5,'outputBudgetBytes':_0x51da5a}};}function createFileEditTool(_0x2e8247={}){const _0x2646c2={_0x16b116:0x65a,_0x36f8fc:0x7dc,_0x439171:0x695,_0x20be9a:0x54e,_0x4367c0:0x2dd,_0x49dcef:0x22a,_0x543ab5:0x3f3,_0x20549f:0x2be,_0x22e1a2:0x432,_0x109502:0x2d5,_0x1fb573:0x38a,_0xa3eb09:0x5b0,_0x1c05ce:0x454,_0x5c8839:0x525,_0x5bd5ef:0x577,_0x3070ea:0x324,_0x542ee8:0x19d,_0x1958e1:0x9a,_0x4eb8d2:0x4cf,_0x1aa509:0x4ee,_0x2500fe:0x3d2,_0x5afb3e:0x31b,_0x52d01b:0x5a7,_0x2ee9e6:0x39b,_0x29d113:0x449,_0x3bdd2a:0x3,_0x8d2731:0x542,_0x5b84a0:0x549,_0x390b38:0x77c},_0x4e58a6={_0x3a8911:0x2e3,_0x319237:0x57,_0x1ccd96:0x3,_0x1729cd:0x4b7,_0x51fbf3:0x353,_0x31cb2f:0x46e,_0x272ddc:0x470,_0x3e98fa:0x339,_0x14f12c:0x4e4,_0x1d6e7e:0x18c,_0x488197:0x406,_0x1312b4:0x3bf,_0x3cc7d9:0x210,_0x1979ed:0x3a7,_0x4dea77:0x3c6,_0xc0e107:0x52e,_0x4bf1db:0x26,_0x5cd43:0xf3,_0xdaa0a3:0x161,_0x4c105f:0x11a,_0x4d4ee9:0x2a8,_0xafa0a8:0x281,_0xd3b9cd:0x4f2,_0x4b6a01:0x2a8,_0x478c73:0x10d,_0x1b35ee:0x1c,_0x7a4dd4:0x123,_0x5d6dde:0x2,_0x53e7ab:0x23c,_0x5c406e:0x313,_0x2e0a14:0x419,_0x53effb:0x1c0,_0x2acecd:0x42,_0x6e08a0:0x178,_0x14bb7b:0x4e0,_0x1b7dc7:0x36b},_0x514d49={_0x3207ec:0x22,_0x385481:0x162},_0x42781c={_0x511a50:0x189,_0x249fa4:0x212},_0x1c7e54=_0x579d1f[_0x126936(_0x2646c2._0x16b116,0x3c2,0x494,0x67b)](_0x2e8247['defaultCwd']??process[_0x126936(0x525,_0x2646c2._0x36f8fc,_0x2646c2._0x439171,0x610)]()),_0x6629da=_0x2e8247['allowedDirs']??[];function _0x126936(_0x1ae721,_0x560aef,_0x46def1,_0x5d1257){return _0x511cdd(_0x1ae721-0xd7,_0x560aef-_0x42781c._0x511a50,_0x5d1257,_0x46def1-_0x42781c._0x249fa4);}const _0x5cdefa=_0x2e8247['name']??'FileEdit';function _0x447969(_0x2297e3,_0x1ddcb4,_0x3d630d,_0x59f6fa){return _0x30b865(_0x2297e3-_0x514d49._0x3207ec,_0x3d630d,_0x2297e3-0x1fc,_0x59f6fa-_0x514d49._0x385481);}const _0x57b999=resolveAnchoredEditTarget(_0x2e8247,_0x5cdefa,_0x1c7e54,_0x6629da);if(_0x57b999!==void 0x0){const {mode:_0x4e2a96,environment:_0xe01bfb}=_0x57b999;return defineTool({'name':_0x5cdefa,'permissionClass':_0x126936(0x715,0x571,_0x2646c2._0x20be9a,0x52a),'description':_0x4e2a96===_0x126936(0x4a0,_0x2646c2._0x4367c0,0x377,_0x2646c2._0x49dcef)?_0x447969(_0x2646c2._0x543ab5,0x58a,_0x2646c2._0x20549f,0x258):'Edit\x20a\x20UTF-8\x20text\x20file\x20using\x20snapshot-anchored\x20line\x20operations.\x20Call\x20FileRead\x20first\x20to\x20obtain\x20the\x20current\x20[path#TAG]\x20header\x20and\x20N:\x20line\x20numbers;\x20every\x20edit\x20requires\x20that\x20tag.\x20Reuse\x20the\x20fresh\x20#TAG\x20returned\x20by\x20a\x20successful\x20edit\x20for\x20the\x20next\x20edit\x20on\x20the\x20same\x20file,\x20and\x20re-read\x20only\x20when\x20you\x20need\x20unseen\x20line\x20numbers\x20or\x20a\x20tag\x20is\x20rejected.\x20Line\x20numbers\x20in\x20operations\x20refer\x20to\x20the\x20N:\x20rows\x20from\x20your\x20most\x20recent\x20read.','inputSchema':_0x4e2a96===_0x126936(0x2d8,_0x2646c2._0x22e1a2,0x377,0x463)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x3cd32a,_0x46f317){return yield await executeAnchoredFileEdit(_0x4e2a96,_0x3cd32a,_0x46f317,_0xe01bfb),void 0x0;}});}return defineTool({'name':_0x5cdefa,'permissionClass':_0x447969(0x350,_0x2646c2._0x109502,0x2aa,_0x2646c2._0x1fb573),'description':_0x126936(0x58c,_0x2646c2._0xa3eb09,_0x2646c2._0x1c05ce,_0x2646c2._0x5c8839),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x126936(0x38b,0x483,0x39b,_0x2646c2._0x5bd5ef)},'description':{'type':_0x447969(0x19d,_0x2646c2._0x3070ea,_0x2646c2._0x542ee8,_0x2646c2._0x1958e1),'description':_0x447969(_0x2646c2._0x4eb8d2,_0x2646c2._0x1aa509,_0x2646c2._0x2500fe,0x4cc)},'oldText':{'type':'string'},'newText':{'type':_0x126936(_0x2646c2._0x5afb3e,_0x2646c2._0x52d01b,_0x2646c2._0x2ee9e6,_0x2646c2._0x29d113)},'dryRun':{'type':'boolean'}},'required':[_0x447969(0x16d,0x27f,_0x2646c2._0x3bdd2a,0x257),_0x447969(_0x2646c2._0x8d2731,0x3f1,0x6f4,0x524),_0x126936(0x786,_0x2646c2._0x5b84a0,0x731,_0x2646c2._0x390b38)]},async *'execute'(_0x4d2f0c){const _0x12d30b={_0x35143d:0x96,_0x259dbe:0x1c1},_0x42c60f=resolveAllowedPath(_0x1c7e54,_0x6629da,_0x4d2f0c['filePath']);await assertWorkspaceFile(_0x42c60f);const _0x257e5b=await _0x2232f8(_0x42c60f),_0x3c35cb=await _0x33679d(_0x42c60f),_0x8e9ec2=detectEol(_0x3c35cb),_0x5d21be=normalizeToLf(_0x3c35cb[_0x1fc612(0x40d,0x210,_0x4e58a6._0x3a8911,0xcb)](_0x1741d7(0x4c,-_0x4e58a6._0x319237,0xc4,_0x4e58a6._0x1ccd96))),_0x2fefa0=normalizeToLf(_0x4d2f0c['oldText']);function _0x1741d7(_0x2770c5,_0xbed5bd,_0x19fd20,_0x516746){return _0x447969(_0xbed5bd- -0x1e0,_0xbed5bd-0x1a,_0x516746,_0x516746-0x14f);}const _0xd633bd=normalizeToLf(_0x4d2f0c[_0x1741d7(_0x4e58a6._0x1729cd,_0x4e58a6._0x51fbf3,0x140,_0x4e58a6._0x31cb2f)]),_0x11e409=replaceFirstExact(_0x5d21be,_0x2fefa0,_0xd633bd);function _0x1fc612(_0x4dc914,_0x282e32,_0x420125,_0x1e534b){return _0x447969(_0x282e32- -_0x12d30b._0x35143d,_0x282e32-0x83,_0x4dc914,_0x1e534b-_0x12d30b._0x259dbe);}if(_0x11e409===void 0x0){const _0x298109=_0x2fefa0['slice'](0x0,0x64)[_0x1fc612(_0x4e58a6._0x272ddc,_0x4e58a6._0x3e98fa,0x4d9,_0x4e58a6._0x14f12c)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1fc612(0x4bd,0x2d1,0x4be,_0x4e58a6._0x1d6e7e)+_0x298109+(_0x2fefa0[_0x1741d7(0x10a,0x221,_0x4e58a6._0x488197,0x21a)]>0x64?_0x1fc612(0x240,_0x4e58a6._0x1312b4,_0x4e58a6._0x3cc7d9,_0x4e58a6._0x1979ed):'')+'\x22',{'filePath':_0x4d2f0c['filePath']});}const _0x57443e=convertEol(_0x11e409['after'],_0x8e9ec2),_0x2694ca=Buffer[_0x1fc612(0x524,0x389,_0x4e58a6._0x4dea77,_0x4e58a6._0xc0e107)](_0x57443e,_0x1fc612(-_0x4e58a6._0x4bf1db,_0x4e58a6._0x5cd43,-0xe7,0x1d5)),_0x299064=sha256Bytes(_0x3c35cb),_0x96b55f=sha256Bytes(_0x2694ca),_0x2408ac=_0x299064===_0x96b55f,_0x6c6244=_0x4d2f0c[_0x1741d7(0x1db,_0x4e58a6._0xdaa0a3,0x164,_0x4e58a6._0x4c105f)]??![];return!_0x6c6244&&!_0x2408ac&&await atomicReplaceFile(_0x42c60f,_0x2694ca,_0x257e5b[_0x1741d7(0x1d1,_0x4e58a6._0x4d4ee9,0x373,_0x4e58a6._0xafa0a8)]),yield createToolOutput(_0x2408ac?_0x1fc612(0x4de,0x484,_0x4e58a6._0xd3b9cd,_0x4e58a6._0x4b6a01):_0x6c6244?_0x1fc612(0x13f,_0x4e58a6._0x478c73,-_0x4e58a6._0x1b35ee,0x1c9):'Edit\x20applied\x20successfully.',{'filePath':_0x4d2f0c[_0x1fc612(-_0x4e58a6._0x7a4dd4,0xd7,0x215,0xa5)],'resolvedPath':_0x42c60f,'created':_0x257e5b[_0x1fc612(0x27d,0x417,0x218,0x3d5)][_0x1741d7(-_0x4e58a6._0x5d6dde,0x17b,0xbc,_0x4e58a6._0x53e7ab)](),'modified':_0x257e5b[_0x1741d7(_0x4e58a6._0x5c406e,0x25d,_0x4e58a6._0x2e0a14,0x1c2)]['toISOString'](),'size':_0x257e5b[_0x1741d7(_0x4e58a6._0x53effb,-_0x4e58a6._0x2acecd,-0x14,_0x4e58a6._0x6e08a0)],'eol':_0x8e9ec2,'oldTextLength':_0x2fefa0['length'],'newTextLength':_0xd633bd['length'],'bytesWritten':_0x2408ac||_0x6c6244?0x0:_0x2694ca[_0x1fc612(_0x4e58a6._0x14bb7b,_0x4e58a6._0x1b7dc7,0x3b5,0x22f)],'beforeSha':_0x299064,'afterSha':_0x96b55f,'dryRun':_0x6c6244,'noChange':_0x2408ac,'lineNumbers':_0x11e409['lineNumbers']}),void 0x0;}});}var FileMutationCoordinator=class{[_0x30b865(0xd4,-0x112,0x2a,0x1e2)]=new Map();async[_0x30b865(0x183,0x99,-0x58,-0xe7)](_0x5ac24e,_0x4ba48d,_0x3ef696){const _0x419f83={_0x125783:0x4b3,_0x89a07f:0x3e2,_0x5bfc21:0x3c0,_0x2d074f:0x459,_0x1d7372:0x3bc,_0x13080d:0x322,_0x58b26b:0x456,_0x273c92:0x56f,_0x1ca56a:0x72c,_0x4c4863:0x531,_0x4e3229:0x36e,_0x57851f:0x524,_0x33ba48:0x44a,_0x48f256:0x3c2,_0x1fc367:0x2b2,_0xe8eb93:0x5ca,_0x7e66a:0x46f,_0x1de3c2:0x63b,_0x2d63f2:0x3e6,_0x2a19c5:0x35e},_0xb9bdf0={_0x53d866:0x32e,_0x556609:0x36f,_0x57164e:0x18e,_0x5d7c8b:0x358,_0x16bd9c:0xe5,_0x517c72:0x4ca,_0x3c69e9:0x433},_0x3fd880={_0x345d64:0x1cd,_0x219614:0x54,_0xb5cfa2:0x1cc},_0xb846fb={_0x266827:0x1c4},_0x553c87={_0x29902b:0x1bd,_0x2b05f5:0xba,_0x4e90be:0x2a1},_0x40de1c={_0xa9d0b5:0x19e,_0x2a42c7:0x14c};throwIfAborted(_0x4ba48d);const _0x57aed9=this[_0x95169(_0x419f83._0x125783,0x318,_0x419f83._0x89a07f,_0x419f83._0x5bfc21)][_0x4331c2(0x513,0x35c,_0x419f83._0x2d074f,_0x419f83._0x1d7372)](_0x5ac24e)??Promise[_0x4331c2(_0x419f83._0x13080d,0x152,_0x419f83._0x58b26b,0x328)]();function _0x4331c2(_0x29c512,_0x32b8d6,_0x1bfb4e,_0x525e72){return _0x30b865(_0x29c512-_0x40de1c._0xa9d0b5,_0x1bfb4e,_0x29c512-0x288,_0x525e72-_0x40de1c._0x2a42c7);}const _0x567098=_0x57aed9[_0x95169(_0x419f83._0x273c92,0x6d2,_0x419f83._0x1ca56a,_0x419f83._0x4c4863)](async()=>{return throwIfAborted(_0x4ba48d),_0x3ef696();});function _0x95169(_0x1396db,_0x2fdf0b,_0x294781,_0x431029){return _0x511cdd(_0x1396db-_0x553c87._0x29902b,_0x2fdf0b-_0x553c87._0x2b05f5,_0x294781,_0x1396db-_0x553c87._0x4e90be);}const _0x3769e4=_0x567098[_0x4331c2(_0x419f83._0x4e3229,_0x419f83._0x57851f,_0x419f83._0x33ba48,_0x419f83._0x48f256)](()=>void 0x0,()=>void 0x0);return this[_0x4331c2(_0x419f83._0x1fc367,0x48b,0x1b5,0x44a)][_0x4331c2(_0x419f83._0xe8eb93,_0x419f83._0x7e66a,0x3e6,_0x419f83._0x1de3c2)](_0x5ac24e,_0x3769e4),void _0x3769e4[_0x4331c2(_0x419f83._0x2d63f2,_0x419f83._0x2a19c5,0x345,0x267)](()=>{function _0x3b361c(_0x5c16d4,_0x3453cc,_0x495d9c,_0x303789){return _0x95169(_0x5c16d4- -0x185,_0x3453cc-0x6b,_0x495d9c,_0x303789-_0xb846fb._0x266827);}function _0x153989(_0x59fdce,_0x40ff8a,_0x28ea2a,_0x56fda3){return _0x4331c2(_0x56fda3- -_0x3fd880._0x345d64,_0x40ff8a-_0x3fd880._0x219614,_0x40ff8a,_0x56fda3-_0x3fd880._0xb5cfa2);}this[_0x3b361c(_0xb9bdf0._0x53d866,_0xb9bdf0._0x556609,_0xb9bdf0._0x57164e,_0xb9bdf0._0x5d7c8b)]['get'](_0x5ac24e)===_0x3769e4&&this[_0x153989(0x144,0xec,0x2b8,_0xb9bdf0._0x16bd9c)][_0x3b361c(_0xb9bdf0._0x517c72,_0xb9bdf0._0x3c69e9,0x50a,0x3a0)](_0x5ac24e);}),_0x567098;}};import{mkdir as _0x5202a2,stat as _0x12b181}from'fs/promises';import*as _0xd65b9f from'path';function createFileNewTool(_0x22fd58={}){const _0x2226e7={_0x5d14a9:0x399,_0x3c2379:0x35c,_0x374025:0x3ce,_0x2420a8:0x4ee,_0x20888a:0x3bf,_0x5e05de:0x638,_0x15e7ca:0x453,_0x37936d:0x24e,_0x3b7397:0x419,_0x8a2912:0x565,_0x564f73:0x5e5,_0x32d136:0x671,_0x35f1c5:0x333,_0x4be085:0x360,_0x5e0885:0x34c},_0x5cc876={_0x18210b:0x12,_0x2fa465:0x3b4,_0x51c552:0x27e,_0x54de78:0x3d2,_0x362e0f:0x284,_0x2e8265:0x38d,_0x5ec33b:0x40c,_0x336066:0x470,_0x2617c3:0x2a1,_0x35aba5:0x32c,_0x647185:0xb8,_0x56b3ba:0x296,_0x45780c:0x1b4,_0x27304b:0x292,_0x11bb33:0xfa,_0x1f23a5:0x1c1,_0x5c6209:0x13c,_0x45fc95:0x20d,_0x5378c4:0x433,_0x52ee64:0x2d1,_0x266b42:0x2f5,_0x33a6c9:0x3be,_0x5047a4:0x3ce,_0x24a9f1:0xb2,_0x47df93:0x156,_0x4e2f5a:0x17b,_0x37e9b5:0xf,_0x2c679c:0x29e,_0x1ff1fd:0x1fd,_0x5eeb38:0x17,_0x495484:0x155,_0x5c7aac:0x47,_0x399b0a:0x30c,_0x5a6b45:0x7c,_0x206424:0x2e3,_0x4a0ae3:0xdb,_0x4235ec:0x335,_0x3beefe:0x343},_0x440b2c={_0x5c36cd:0x3e},_0xb20a77={_0x5a51e2:0x193,_0x1abc38:0x164},_0x55ff27={_0x4394a8:0x1ee};function _0x2814f2(_0x1719da,_0x4c2b2d,_0x5c631f,_0x7499a){return _0x30b865(_0x1719da-0x3f,_0x7499a,_0x1719da-0x9e,_0x7499a-_0x55ff27._0x4394a8);}const _0x31d925=_0xd65b9f[_0x3acb25(0x586,_0x2226e7._0x5d14a9,_0x2226e7._0x3c2379,0x246)](_0x22fd58[_0x2814f2(0x297,0x153,0x271,_0x2226e7._0x374025)]??process[_0x2814f2(0x339,0x4db,0x49c,_0x2226e7._0x2420a8)]()),_0x4bd459=_0x22fd58['allowedDirs']??[],_0x1b64bd=_0x22fd58[_0x2814f2(_0x2226e7._0x20888a,0x333,0x3b1,0x21a)]??'FileNew',{observations:_0x496f05,anchored:anchored=![]}=_0x22fd58;function _0x3acb25(_0x586230,_0x2a6c2e,_0x192837,_0x5e1a52){return _0x511cdd(_0x586230-_0xb20a77._0x5a51e2,_0x2a6c2e-_0xb20a77._0x1abc38,_0x586230,_0x2a6c2e-0x117);}return defineTool({'name':_0x1b64bd,'permissionClass':_0x3acb25(_0x2226e7._0x5e05de,_0x2226e7._0x15e7ca,_0x2226e7._0x37936d,_0x2226e7._0x3b7397),'description':_0x3acb25(0x38d,_0x2226e7._0x8a2912,_0x2226e7._0x564f73,_0x2226e7._0x32d136),'inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'content':{'type':_0x3acb25(_0x2226e7._0x35f1c5,0x2a0,_0x2226e7._0x4be085,0x386)}},'required':['filePath',_0x3acb25(_0x2226e7._0x5e0885,0x39f,0x1fc,0x332)]},async *'execute'(_0x2aaad1,_0x11ae80){function _0x231106(_0x2e0f6b,_0x48fa3f,_0x5915a0,_0x182944){return _0x2814f2(_0x182944-0x146,_0x48fa3f-0x9a,_0x5915a0-_0x440b2c._0x5c36cd,_0x48fa3f);}const _0x41acc7=resolveAllowedPath(_0x31d925,_0x4bd459,_0x2aaad1[_0x2ceac4(_0x5cc876._0x18210b,-0x1d0,0xa1,0xf)]),_0x53298a=await _0x12b181(_0x41acc7)[_0x231106(_0x5cc876._0x2fa465,0x407,0x286,0x3f9)](()=>void 0x0),_0x2fcaac=_0x53298a!==void 0x0,_0x1584df=Buffer['from'](_0x2aaad1[_0x231106(_0x5cc876._0x51c552,0x1ab,_0x5cc876._0x54de78,_0x5cc876._0x362e0f)],_0x231106(0x115,0x180,0x17f,0x171)),_0x4cf551=_0x53298a!==void 0x0?_0x53298a[_0x231106(0x45d,_0x5cc876._0x2e8265,_0x5cc876._0x5ec33b,_0x5cc876._0x336066)]&0xfff:0x1b6&~process[_0x231106(0x217,_0x5cc876._0x2617c3,_0x5cc876._0x35aba5,0x3e1)]();let _0x1db274;function _0x2ceac4(_0x17bd53,_0x3922f0,_0x6708bd,_0x316cce){return _0x2814f2(_0x316cce-0x0,_0x3922f0-0x4,_0x6708bd-0x81,_0x3922f0);}anchored&&_0x496f05!==void 0x0&&(_0x1db274=createNormalizedFileSnapshot(_0x41acc7,_0x1584df)[_0x2ceac4(_0x5cc876._0x647185,_0x5cc876._0x56b3ba,_0x5cc876._0x45780c,_0x5cc876._0x27304b)]);await _0x5202a2(_0xd65b9f['dirname'](_0x41acc7),{'recursive':!![]}),await atomicReplaceFile(_0x41acc7,_0x1584df,_0x4cf551);if(_0x1db274!==void 0x0&&_0x496f05!==void 0x0){const _0x285a00=await resolveCanonicalAllowedFile(_0x31d925,_0x4bd459,_0x2aaad1['filePath']),_0x55a30c=createNormalizedFileSnapshot(_0x285a00[_0x2ceac4(_0x5cc876._0x11bb33,0xa6,0x2a,_0x5cc876._0x1f23a5)],_0x1584df);_0x496f05[_0x2ceac4(0x1fd,_0x5cc876._0x5c6209,0x9c,_0x5cc876._0x45fc95)](_0x11ae80[_0x231106(_0x5cc876._0x5378c4,0x645,0x645,0x46a)]),_0x496f05['record'](_0x55a30c,_0x55a30c[_0x231106(_0x5cc876._0x52ee64,_0x5cc876._0x266b42,_0x5cc876._0x33a6c9,_0x5cc876._0x5047a4)][_0x2ceac4(0x4a1,0x2d8,0x455,0x396)]((_0x243c55,_0x4f2215)=>_0x4f2215+0x1));}return yield createToolOutput(_0x1db274===void 0x0?_0x2ceac4(-0x78,-_0x5cc876._0x24a9f1,0x16d,_0x5cc876._0x47df93)+_0x2aaad1[_0x2ceac4(0x18e,-_0x5cc876._0x4e2f5a,0x20f,_0x5cc876._0x37e9b5)]+'.':'['+_0x2aaad1[_0x231106(_0x5cc876._0x2c679c,_0x5cc876._0x1ff1fd,-_0x5cc876._0x5eeb38,_0x5cc876._0x495484)]+'#'+_0x1db274+']\x0aFile\x20written\x20at\x20'+_0x2aaad1['filePath']+'.',{'filePath':_0x2aaad1[_0x231106(0x176,-_0x5cc876._0x5c7aac,0x301,0x155)],'resolvedPath':_0x41acc7,'bytes':_0x1584df[_0x231106(0x2e3,_0x5cc876._0x399b0a,0x2fa,0x3e9)],'lines':_0x2aaad1[_0x231106(0xed,_0x5cc876._0x5a6b45,_0x5cc876._0x206424,0x284)]['split'](/\r?\n/)[_0x2ceac4(_0x5cc876._0x4a0ae3,0x2bc,_0x5cc876._0x4235ec,0x2a3)],'created':new Date()[_0x231106(0x414,0x16b,0x1fc,_0x5cc876._0x3beefe)](),'overwritten':_0x2fcaac,..._0x1db274===void 0x0?{}:{'tag':_0x1db274}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x30b865(0x2c5,0x4ad,0x2e6,0x1b9)];['tagForDigest'];[_0x30b865(0x1ab,0x25c,0x286,0x2a5)];['versionsByPath']=new Map();[_0x511cdd(0x68a,0x3d4,0x3d0,0x530)]=[];[_0x30b865(0xbe,0x346,0x18b,0x339)]=0x0;[_0x511cdd(0x1f5,0x2a1,0x26,0x21d)]=new Map();[_0x511cdd(0x4e4,0x1d1,0x2d3,0x306)]=new Map();constructor(_0x565db3={}){const _0x3280f8={_0xe25d29:0x7a2,_0x180116:0x686,_0x9dc3c5:0x650,_0x332aa9:0x530,_0xed5e3e:0x614,_0x45f449:0x580},_0x2a9dd1={_0x1aac10:0x504},_0x2ad9bf={_0x173730:0x4b4};this['limits']={...FILE_OBSERVATION_LIMITS,..._0x565db3[_0x4e47d6(_0x3280f8._0xe25d29,0x87e,0x7ea,0x9c6)]};function _0x18ddb5(_0x1d6ee8,_0x59707f,_0x2a53ac,_0x350f79){return _0x30b865(_0x1d6ee8-0x5,_0x59707f,_0x350f79-_0x2ad9bf._0x173730,_0x350f79-0x1a2);}function _0x4e47d6(_0x8e5272,_0x32781f,_0x1c12d,_0x34f201){return _0x30b865(_0x8e5272-0x86,_0x32781f,_0x1c12d-_0x2a9dd1._0x1aac10,_0x34f201-0x1dd);}this[_0x18ddb5(0x475,_0x3280f8._0x180116,_0x3280f8._0x9dc3c5,_0x3280f8._0x332aa9)]=_0x565db3[_0x4e47d6(0x64c,_0x3280f8._0xed5e3e,_0x3280f8._0x45f449,0x44b)];}[_0x30b865(0x34e,0x2d4,0x16f,0x73)](_0x3f98b1){const _0x345d99={_0x39fd19:0x870,_0x55fa3a:0x69b},_0x5273af={_0xe7a703:0x170,_0x25ca21:0xca};if(this['sessionId']===_0x3f98b1)return;function _0x1c23c8(_0xc7e87a,_0x3b07e6,_0x23e664,_0x2ff652){return _0x511cdd(_0xc7e87a-_0x5273af._0xe7a703,_0x3b07e6-_0x5273af._0x25ca21,_0x2ff652,_0x3b07e6-0x271);}this['clear'](),this[_0x1c23c8(_0x345d99._0x39fd19,0x6df,_0x345d99._0x55fa3a,0x7e6)]=_0x3f98b1;}[_0x30b865(-0xa0,-0x69,0xbb,0x187)](_0x185abc,_0x357c44){const _0xa91c84={_0xbd570d:0x3db,_0x4ed1db:0x92b,_0x2908c5:0x856,_0xf1d2f1:0x88b,_0xc021bb:0x9e1,_0x2d2fc5:0xa24,_0x4c2e8b:0x907,_0x4512b3:0x7a2,_0x2d3e67:0x3b8,_0xf3b7cf:0x3ca,_0x39f00c:0x2af,_0x806ce9:0x4dc,_0x2c25c3:0x545,_0x5b2d05:0x6d5,_0x2959ba:0x8ea,_0xfc9ce2:0x808,_0x3a855f:0x4e0,_0x89f7c6:0x511,_0x111979:0x59a,_0x366dfb:0x5e4,_0x401264:0x6c8,_0x4c5219:0x7c0,_0x5513a2:0x468,_0x568edd:0x5cc,_0x4243ff:0x7c1,_0x3ce150:0x767,_0x4a98fc:0x634,_0x4fb976:0x885,_0x325802:0x3b8,_0x39a643:0x2f6,_0x40c065:0x3c2,_0x70d3dd:0x3f1,_0x4d6dcb:0x84e,_0x42c513:0x8c4,_0x162042:0x88c,_0x629fe:0x903,_0x51b8f1:0x369,_0x4722c2:0x6a8,_0x1251cd:0x73d,_0x25fc24:0x60e,_0x5550f7:0x584,_0x35fd71:0x578,_0x116891:0x5a5,_0x192c34:0x5c8,_0x458a39:0x86b,_0x12e596:0xcd,_0xa9736e:0xed,_0xa874aa:0x262,_0x5c5359:0x3b9,_0x1f3c73:0x32b,_0x37bcc8:0x68b,_0x2da24a:0x7d0,_0x378c3a:0x6e7,_0x526a36:0x237,_0x49c910:0x2e5,_0x1e85ad:0x6ab,_0x3cbb30:0x679,_0x4265ca:0x56e,_0x544786:0x423,_0x5361af:0x7e9,_0xfd9aae:0x89f,_0x49947a:0x57b,_0x1dc941:0x5ee,_0x482b27:0xa70,_0x477d8a:0x890,_0x18cf3e:0x375,_0x260268:0x1ff,_0x3b4c82:0x2a7,_0x5019b6:0x1e1,_0x535cc7:0x269},_0x405e16={_0x1cafe4:0x129,_0x217ad3:0x568,_0x52633b:0x40},_0x250f74={_0x42d129:0x18c};if(_0x185abc[_0x16d9c9(_0xa91c84._0xbd570d,0x379,0x2ba,0x358)]>this['limits'][_0x23592b(0x78a,0x8cb,_0xa91c84._0x4ed1db,_0xa91c84._0x2908c5)])throw createAnchoredFileError(_0x23592b(0x7d0,_0xa91c84._0xf1d2f1,_0xa91c84._0xc021bb,_0xa91c84._0x2d2fc5),_0x23592b(_0xa91c84._0x4c2e8b,_0xa91c84._0x4512b3,0x702,0x66b)+_0x185abc[_0x16d9c9(_0xa91c84._0x2d3e67,0x58f,0x2df,_0xa91c84._0xf3b7cf)]+'\x20is\x20'+_0x185abc[_0x16d9c9(0x3db,0x2c3,_0xa91c84._0x39f00c,_0xa91c84._0x806ce9)]+_0x16d9c9(0x385,_0xa91c84._0x2c25c3,0x185,0x378)+this['limits'][_0x23592b(_0xa91c84._0x5b2d05,0x8cb,0x84f,_0xa91c84._0x2959ba)]+_0x23592b(0x70c,0x6e7,_0xa91c84._0xfc9ce2,0x7c5),{'path':_0x185abc[_0x23592b(0x6d5,0x68b,0x552,_0xa91c84._0x3a855f)],'size':_0x185abc[_0x23592b(_0xa91c84._0x89f7c6,0x6ae,0x785,0x5c5)]});const _0x23d5fc=this['tagForDigest']?this[_0x23592b(_0xa91c84._0x111979,_0xa91c84._0x366dfb,0x6c6,0x615)](_0x185abc[_0x23592b(0x37a,0x578,0x690,_0xa91c84._0x401264)]):_0x185abc['tag'],_0x4dc416=this['versionsByPath']['get'](_0x185abc[_0x23592b(_0xa91c84._0x4c5219,0x68b,0x5a8,0x565)]),_0x1aa248=_0x4dc416?.[_0x23592b(0x655,0x50e,0x36f,_0xa91c84._0x5513a2)](_0x249d25=>_0x249d25[_0x23592b(0x49f,0x60e,0x81e,0x7e3)][_0x23592b(0x727,0x578,0x385,0x440)]===_0x185abc['digest']);let _0x13541b;if(_0x1aa248){for(const _0x28c687 of _0x357c44)_0x1aa248[_0x16d9c9(0x1e1,0x24f,-0x2a,0x114)][_0x23592b(0x5e5,0x747,_0xa91c84._0x568edd,_0xa91c84._0x4243ff)](_0x28c687);_0x13541b=_0x1aa248;}else{_0x13541b={'snapshot':_0x185abc,'tag':_0x23d5fc,'observedLines':new Set(_0x357c44)};if(!_0x4dc416)this[_0x23592b(0x6b7,_0xa91c84._0x3ce150,_0xa91c84._0x4a98fc,_0xa91c84._0x4fb976)]['set'](_0x185abc[_0x16d9c9(_0xa91c84._0x325802,_0xa91c84._0x39a643,_0xa91c84._0x40c065,_0xa91c84._0x70d3dd)],[_0x13541b]);else{if(_0x4dc416['length']>=this[_0x23592b(0x708,_0xa91c84._0x4d6dcb,_0xa91c84._0x42c513,_0xa91c84._0x162042)][_0x23592b(0x919,0x790,_0xa91c84._0x629fe,0x90b)]){const _0x5bebe2=_0x4dc416[_0x16d9c9(0x572,_0xa91c84._0x51b8f1,_0xa91c84._0x4722c2,0x5a9)]();if(_0x5bebe2)this[_0x23592b(0x643,_0xa91c84._0x1251cd,0x608,0x6e5)](_0x5bebe2[_0x23592b(0x661,_0xa91c84._0x25fc24,0x551,0x7df)][_0x23592b(_0xa91c84._0x5550f7,_0xa91c84._0x35fd71,0x6cb,0x46d)]);}_0x4dc416[_0x16d9c9(0x487,_0xa91c84._0x116891,0x5af,_0xa91c84._0x192c34)](_0x13541b);}this[_0x23592b(_0xa91c84._0x458a39,0x7c3,0x70b,0x6ba)](_0x185abc[_0x16d9c9(0x2a5,_0xa91c84._0x12e596,0xab,_0xa91c84._0xa9736e)],_0x185abc[_0x16d9c9(0x3db,_0xa91c84._0xa874aa,_0xa91c84._0x5c5359,_0xa91c84._0x1f3c73)]);}this[_0x16d9c9(0x238,0x2df,0xeb,0x2bd)](_0x185abc[_0x23592b(0x75e,_0xa91c84._0x37bcc8,_0xa91c84._0x2da24a,_0xa91c84._0x378c3a)]);while(this['versionsByPath'][_0x16d9c9(_0xa91c84._0x526a36,0x3df,_0xa91c84._0x49c910,0x107)]>this[_0x23592b(0x784,0x84e,_0xa91c84._0x1e85ad,_0xa91c84._0x3cbb30)]['maxPaths']){this[_0x16d9c9(0x375,_0xa91c84._0x4265ca,_0xa91c84._0x544786,0x2a1)]();}function _0x16d9c9(_0x2384e6,_0x57abcd,_0xdf9991,_0x386e43){return _0x511cdd(_0x2384e6-0x1a9,_0x57abcd-_0x250f74._0x42d129,_0x57abcd,_0x2384e6-0xad);}function _0x23592b(_0x569cee,_0x2f250a,_0x54b5ab,_0x2de34a){return _0x30b865(_0x569cee-_0x405e16._0x1cafe4,_0x2de34a,_0x2f250a-_0x405e16._0x217ad3,_0x2de34a-_0x405e16._0x52633b);}while(this[_0x23592b(_0xa91c84._0x5361af,0x6f3,0x7e9,_0xa91c84._0xfd9aae)]>this[_0x16d9c9(_0xa91c84._0x49947a,0x46b,0x3a7,_0xa91c84._0x1dc941)][_0x23592b(_0xa91c84._0x482b27,0x8cb,0x709,_0xa91c84._0x477d8a)]&&this['recency']['length']>0x1){this[_0x16d9c9(_0xa91c84._0x18cf3e,_0xa91c84._0x260268,0x467,_0xa91c84._0x3b4c82)]();}return{'snapshot':_0x13541b['snapshot'],'observedLines':new Set(_0x13541b[_0x16d9c9(_0xa91c84._0x5019b6,_0xa91c84._0x535cc7,0x37e,0x10c)])};}['resolve'](_0xc54779,_0x2a0323){const _0x1d439f={_0x33bcfb:0x6c1,_0x478459:0x519,_0x2d4d98:0x6b2,_0x307b70:0xb01,_0x1b25a0:0x8c4,_0x1cb466:0x41f,_0x7234f5:0x7e7,_0x534ce2:0x53b,_0x5b0980:0x860,_0x4859a5:0x947,_0x75bf:0xa47,_0x253a09:0x97e,_0x30a7e3:0x939,_0x157ac0:0x7b8,_0x212f6c:0x715,_0x1e934e:0x7ff,_0x673164:0x860,_0x3d56ba:0x7ee,_0x295530:0x7dd,_0x43f022:0x867,_0x1cfa80:0x737,_0x40eed2:0x5ae,_0x12edf8:0x419,_0x5453ce:0x30e,_0x2588c2:0x89e,_0x2d482e:0xa70,_0x2af236:0x5a7,_0x20c708:0x768,_0x15863f:0x710},_0x35c2ca={_0x499010:0x194,_0x8443b9:0x32},_0x31ebcf={_0x1c2219:0xb1},_0x362a1a=this[_0x14bdbc(0x56d,_0x1d439f._0x33bcfb,_0x1d439f._0x478459,0x519)]['get'](_0xc54779);function _0x3367a7(_0x2ad0aa,_0x3ad288,_0x3106db,_0x46f8b2){return _0x511cdd(_0x2ad0aa-0xdc,_0x3ad288-_0x31ebcf._0x1c2219,_0x3ad288,_0x2ad0aa-0x473);}if(!_0x362a1a)throw createAnchoredFileError(_0x14bdbc(0x7c6,_0x1d439f._0x2d4d98,0x63d,0x525),_0x3367a7(0x939,0x903,_0x1d439f._0x307b70,_0x1d439f._0x1b25a0)+_0x2a0323+_0x3367a7(0x62e,_0x1d439f._0x1cb466,_0x1d439f._0x7234f5,_0x1d439f._0x534ce2)+_0xc54779+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0xc54779,'tag':_0x2a0323});const _0x59c3f9=_0x362a1a['filter'](_0x38f089=>_0x38f089['tag']===_0x2a0323);function _0x14bdbc(_0xc26aa8,_0x38dbe5,_0x48636b,_0x55ff72){return _0x30b865(_0xc26aa8-_0x35c2ca._0x499010,_0x55ff72,_0x48636b-0x31a,_0x55ff72-_0x35c2ca._0x8443b9);}if(_0x59c3f9[_0x3367a7(_0x1d439f._0x5b0980,_0x1d439f._0x4859a5,0x8fa,_0x1d439f._0x75bf)]===0x0)throw createAnchoredFileError(_0x3367a7(_0x1d439f._0x253a09,0x98b,0x7d8,0x867),_0x3367a7(_0x1d439f._0x30a7e3,0xae3,_0x1d439f._0x157ac0,0x8dd)+_0x2a0323+_0x3367a7(0x62e,0x50d,0x42e,_0x1d439f._0x212f6c)+_0xc54779+_0x3367a7(0x8ab,0x900,_0x1d439f._0x1e934e,0xa0c),{'path':_0xc54779,'tag':_0x2a0323});if(_0x59c3f9[_0x3367a7(_0x1d439f._0x673164,_0x1d439f._0x3d56ba,_0x1d439f._0x295530,_0x1d439f._0x43f022)]>0x1)throw createAnchoredFileError(_0x14bdbc(0x636,0x64f,0x5fc,_0x1d439f._0x1cfa80),_0x14bdbc(_0x1d439f._0x40eed2,0x52d,0x5f8,0x762)+_0x2a0323+_0x14bdbc(0x2e7,_0x1d439f._0x12edf8,_0x1d439f._0x5453ce,0x192)+_0xc54779+_0x3367a7(0x8ab,_0x1d439f._0x2588c2,0x8e7,_0x1d439f._0x2d482e),{'path':_0xc54779,'tag':_0x2a0323});return this['touchPath'](_0xc54779),{'snapshot':_0x59c3f9[0x0][_0x3367a7(0x701,0x62a,0x5a2,0x59a)],'observedLines':new Set(_0x59c3f9[0x0][_0x3367a7(_0x1d439f._0x2af236,_0x1d439f._0x20c708,0x404,_0x1d439f._0x15863f)])};}[_0x511cdd(0x10,0x318,0x8d,0x1af)](_0x1bc181,_0x3e7b03){const _0x537ddb={_0x1e90b8:0x41c,_0x209e0c:0x2e7,_0x3a251e:0x2f7,_0x2878b2:0x626,_0x17dc5e:0x57c,_0x1ded7e:0x518},_0x1ef5cf={_0x150b9d:0xc5,_0x1f5615:0xfc},_0xb67b1b=_0x1bc181+'\x00'+_0x3e7b03,_0x51024a=(this[_0x1b7d6d(_0x537ddb._0x1e90b8,_0x537ddb._0x209e0c,_0x537ddb._0x3a251e,0x417)]['get'](_0xb67b1b)??0x0)+0x1;this['noChangeCounters'][_0x2395fc(0x6fa,_0x537ddb._0x2878b2,_0x537ddb._0x17dc5e,_0x537ddb._0x1ded7e)](_0xb67b1b,_0x51024a);function _0x1b7d6d(_0x2907f7,_0x1695ef,_0x34146f,_0x5bad51){return _0x30b865(_0x2907f7-0xd7,_0x34146f,_0x1695ef-0x1c9,_0x5bad51-0xd);}function _0x2395fc(_0x3a7edc,_0x27af5a,_0x410d4e,_0x38565f){return _0x511cdd(_0x3a7edc-_0x1ef5cf._0x150b9d,_0x27af5a-0x1c3,_0x38565f,_0x27af5a-_0x1ef5cf._0x1f5615);}return _0x51024a;}[_0x511cdd(0x48d,0x359,0x545,0x359)](_0x2abd63){const _0x47f8e8={_0xda7d52:0x446,_0xc5d76f:0x409,_0x4c3b89:0x629,_0x2a300d:0x4ef,_0x14811a:0x6a1,_0x2d23e8:0x368,_0xdfb842:0x696,_0x1c3273:0x57b,_0x15523f:0x692,_0x1a8380:0x68f},_0x4c170c={_0x554128:0xde},_0x5023b8={_0x51d6c3:0x1a8};function _0x3e904c(_0x352d40,_0x231a51,_0xc0c3a3,_0xbf337b){return _0x30b865(_0x352d40-0x97,_0x231a51,_0x352d40-0x4d7,_0xbf337b-_0x5023b8._0x51d6c3);}const _0x3041f4=_0x2abd63+'\x00';function _0x55738f(_0x5f5470,_0x456e21,_0x6d7a0,_0x46cad1){return _0x511cdd(_0x5f5470-_0x4c170c._0x554128,_0x456e21-0xba,_0x6d7a0,_0x46cad1-0x49e);}for(const _0x47052c of[...this[_0x3e904c(0x5f5,_0x47f8e8._0xda7d52,_0x47f8e8._0xc5d76f,_0x47f8e8._0x4c3b89)][_0x3e904c(_0x47f8e8._0x2a300d,0x468,_0x47f8e8._0x14811a,_0x47f8e8._0x2d23e8)]()]){if(_0x47052c[_0x3e904c(_0x47f8e8._0xdfb842,0x52c,_0x47f8e8._0x1c3273,0x7c4)](_0x3041f4))this[_0x3e904c(0x5f5,0x441,_0x47f8e8._0x15523f,_0x47f8e8._0x1a8380)]['delete'](_0x47052c);}}[_0x30b865(0x34a,0x322,0x15b,0x13a)](){const _0x49fca1={_0x5132d3:0xdb,_0x271e17:0x297,_0x3228a0:0x5bf,_0x464ed9:0x229,_0x16df7:0xea,_0x432a02:0x22e,_0x5851b6:0xb7,_0x31e3ef:0x12b,_0x5e36e6:0x39},_0x2782e6={_0x33b356:0x1f2,_0x3b8749:0x307},_0x786fd5={_0x254405:0x176};function _0x1cc223(_0x14a170,_0x54e330,_0x4367e1,_0x4a1b82){return _0x511cdd(_0x14a170-_0x786fd5._0x254405,_0x54e330-0x157,_0x4367e1,_0x14a170-0x23b);}this[_0x2b47f2(0xe0,-_0x49fca1._0x5132d3,_0x49fca1._0x271e17,0x65)][_0x1cc223(0x57e,_0x49fca1._0x3228a0,0x673,0x6fd)](),this[_0x2b47f2(_0x49fca1._0x464ed9,0xd9,0x1f2,0x3fb)]=[],this[_0x1cc223(0x5ae,0x4ec,0x660,0x71d)]=0x0,this[_0x2b47f2(-_0x49fca1._0x16df7,-_0x49fca1._0x432a02,-0x23b,-0x20e)][_0x2b47f2(0x3c,-_0x49fca1._0x5851b6,0x10d,-0x191)]();function _0x2b47f2(_0x12e549,_0x49fb7a,_0x104300,_0x1e47b3){return _0x511cdd(_0x12e549-0x106,_0x49fb7a-_0x2782e6._0x33b356,_0x1e47b3,_0x12e549- -_0x2782e6._0x3b8749);}this[_0x1cc223(0x541,0x576,0x38d,0x47c)][_0x2b47f2(0x3c,-_0x49fca1._0x31e3ef,0x1d2,-_0x49fca1._0x5e36e6)]();}['touchPath'](_0x5d470a){const _0x23dc3b={_0x5d0539:0x4ad,_0x252b6e:0x5bb,_0x2a48ed:0x2f4,_0x5cb27c:0xf2,_0x4a0661:0xef},_0x514674={_0x36cc10:0x185,_0x27922e:0x266},_0x41d305={_0x1fe7a9:0x88,_0x1aaf1f:0x176,_0x9e719e:0x29};function _0x1fe152(_0x228129,_0x42fda8,_0x1e156c,_0x38d5dc){return _0x30b865(_0x228129-_0x41d305._0x1fe7a9,_0x38d5dc,_0x1e156c-_0x41d305._0x1aaf1f,_0x38d5dc-_0x41d305._0x9e719e);}const _0x5d6a72=this[_0x1fe152(0x452,_0x23dc3b._0x5d0539,0x4be,_0x23dc3b._0x252b6e)][_0x1fe152(-0x69,_0x23dc3b._0x2a48ed,_0x23dc3b._0x5cb27c,_0x23dc3b._0x4a0661)](_0x5d470a);function _0x6a072b(_0x2c493e,_0x2fd0d2,_0x1f713e,_0xa60784){return _0x511cdd(_0x2c493e-_0x514674._0x36cc10,_0x2fd0d2-0x49,_0x1f713e,_0x2fd0d2-_0x514674._0x27922e);}if(_0x5d6a72!==-0x1)this['recency']['splice'](_0x5d6a72,0x1);this['recency'][_0x6a072b(0x779,0x640,0x4a2,0x4c6)](_0x5d470a);}[_0x30b865(0x2d8,-0xf2,0xe0,0x2c1)](){const _0x57bf63={_0x465d31:0x89c,_0x1bf86f:0x8fe,_0x4c575d:0x79d,_0x56527a:0x63a,_0x24865d:0x756,_0x126d24:0x5c0,_0xf749f1:0x54d,_0x456df8:0x6b5,_0x221726:0x785,_0x44ed1f:0x5f8,_0x765b0c:0x5bc,_0x312977:0x794,_0x383774:0x612,_0x3524fa:0x643,_0x4e766c:0x87c,_0x7326db:0x3e7},_0x4c121a={_0x5ad01c:0x110},_0x1bc432=this['recency'][_0x45e1ee(_0x57bf63._0x465d31,_0x57bf63._0x1bf86f,0x6da,_0x57bf63._0x4c575d)]();function _0x45e1ee(_0x4c8217,_0xd530ff,_0xb14bd2,_0x3113c9){return _0x30b865(_0x4c8217-0x156,_0xb14bd2,_0x4c8217-0x5bf,_0x3113c9-0x172);}if(_0x1bc432===void 0x0)return;function _0x59a3f2(_0x5a368d,_0x21857f,_0x54137e,_0x118e9d){return _0x30b865(_0x5a368d-0x48,_0x5a368d,_0x21857f-0x34e,_0x118e9d-_0x4c121a._0x5ad01c);}const _0x4cc64a=this['versionsByPath'][_0x45e1ee(0x84a,_0x57bf63._0x56527a,_0x57bf63._0x24865d,0x783)](_0x1bc432);this[_0x59a3f2(_0x57bf63._0x126d24,_0x57bf63._0xf749f1,_0x57bf63._0x456df8,0x755)][_0x45e1ee(_0x57bf63._0x221726,0x670,_0x57bf63._0x44ed1f,_0x57bf63._0x765b0c)](_0x1bc432);if(_0x4cc64a){for(const _0x32661b of _0x4cc64a)this[_0x45e1ee(_0x57bf63._0x312977,_0x57bf63._0x383774,_0x57bf63._0x3524fa,_0x57bf63._0x4e766c)](_0x32661b[_0x59a3f2(0x481,0x3f4,0x3ef,_0x57bf63._0x7326db)]['digest']);}}['acquireBytes'](_0x4e6a7c,_0x39c120){const _0x5090af={_0x3bc0f2:0x519,_0x5fe01e:0x7c2,_0x12ab71:0x6e0,_0x4438d7:0x65a},_0x5cfedb={_0x287d88:0x625};function _0x4f39ac(_0x70f4d7,_0x3c9bf4,_0x30870c,_0x429ea8){return _0x30b865(_0x70f4d7-0x6c,_0x30870c,_0x429ea8-_0x5cfedb._0x287d88,_0x429ea8-0x1e8);}!this[_0x4f39ac(_0x5090af._0x3bc0f2,_0x5090af._0x5fe01e,_0x5090af._0x12ab71,_0x5090af._0x4438d7)]['has'](_0x4e6a7c)&&(this['bytesByDigest']['set'](_0x4e6a7c,_0x39c120),this['totalBytes']+=_0x39c120);}[_0x30b865(0x3c6,0x3b1,0x1d5,-0x31)](_0x87f784){const _0x206be4={_0x47e3f3:0x10a,_0x1760a3:0x79,_0xd71411:0x9d,_0x3ce627:0x6b,_0x56a805:0x139,_0x51f552:0x1f2,_0x3056b2:0x11b,_0x41ad04:0x279,_0x705989:0x165,_0x35509f:0x749,_0x2832f0:0x694,_0x2c9997:0xaf,_0x2efe40:0x8b1,_0x3673c8:0x80d,_0xc22255:0x6db,_0x41c5b2:0x713,_0x24b7df:0x524},_0x5b01d3={_0x2fe43b:0xe4,_0x19208d:0x78},_0x3b8cde={_0x41a518:0xe8,_0x5578f9:0x54d};if(!this[_0x8e2c08(_0x206be4._0x47e3f3,_0x206be4._0x1760a3,0xad,-0xaf)][_0x8e2c08(-_0x206be4._0xd71411,0x2e8,_0x206be4._0x3ce627,_0x206be4._0x56a805)](_0x87f784))return;function _0xc168cd(_0xea714c,_0x16634e,_0x6166c1,_0x5b0acf){return _0x30b865(_0xea714c-_0x3b8cde._0x41a518,_0x5b0acf,_0x6166c1-_0x3b8cde._0x5578f9,_0x5b0acf-0xe1);}const _0x4e9b18=[...this[_0x8e2c08(0x43,_0x206be4._0x51f552,0x1c7,_0x206be4._0x3056b2)][_0x8e2c08(-_0x206be4._0x41ad04,-0x18a,-0x2bd,-_0x206be4._0x705989)]()][_0xc168cd(0x63c,_0x206be4._0x35509f,_0x206be4._0x2832f0,0x887)](_0x1efbd1=>_0x1efbd1[_0xc168cd(0x4e5,0x76b,0x694,0x577)](_0x1a757c=>_0x1a757c['snapshot'][_0x8e2c08(0xf4,0x98,-0x257,-0xd4)]===_0x87f784));function _0x8e2c08(_0x1929fd,_0x49a7be,_0x1f0c7b,_0x5be7fa){return _0x30b865(_0x1929fd-0x165,_0x1f0c7b,_0x5be7fa- -_0x5b01d3._0x2fe43b,_0x5be7fa-_0x5b01d3._0x19208d);}!_0x4e9b18&&(this[_0xc168cd(0x6d3,0x598,0x6d8,0x7ec)]-=this[_0x8e2c08(-0x295,0x5c,-0x224,-_0x206be4._0x2c9997)][_0xc168cd(0x7b5,0x7cd,0x7d8,_0x206be4._0x2efe40)](_0x87f784)??0x0,this['bytesByDigest'][_0xc168cd(_0x206be4._0x3673c8,_0x206be4._0xc22255,_0x206be4._0x41c5b2,_0x206be4._0x24b7df)](_0x87f784));}};import{readFile as _0x211535,stat as _0x2729d6}from'fs/promises';import*as _0x40df98 from'path';function stripUtfBom(_0x45ef33){const _0x1d3659={_0x3af3db:0x707,_0x3ba2ce:0x6dd,_0x2f234c:0x5de},_0x5f104b={_0x55e2c4:0x88,_0x373420:0x5d3,_0x19a5c4:0x41};function _0x4310da(_0x56bb6e,_0x2027c3,_0x2fc178,_0x1df9e5){return _0x30b865(_0x56bb6e-_0x5f104b._0x55e2c4,_0x2fc178,_0x1df9e5-_0x5f104b._0x373420,_0x1df9e5-_0x5f104b._0x19a5c4);}return _0x45ef33['charCodeAt'](0x0)===0xfeff?_0x45ef33[_0x4310da(_0x1d3659._0x3af3db,0x4d0,_0x1d3659._0x3ba2ce,_0x1d3659._0x2f234c)](0x1):_0x45ef33;}function clampLine2(_0x1469ae,_0x3bb932){const _0x4deb29={_0x2e3e0c:0x483,_0x33b813:0x42},_0x32a608={_0x773925:0x8e,_0x327d49:0x2e1},_0x31d889={_0x50223b:0x3d};function _0x27c222(_0x4cd0d2,_0x3308a0,_0x53fc89,_0x1e8eda){return _0x30b865(_0x4cd0d2-0x1ea,_0x3308a0,_0x1e8eda-0x3cc,_0x1e8eda-_0x31d889._0x50223b);}function _0x28479a(_0x24c531,_0x36754f,_0x352371,_0xdc9bcb){return _0x511cdd(_0x24c531-0xe9,_0x36754f-_0x32a608._0x773925,_0xdc9bcb,_0x24c531- -_0x32a608._0x327d49);}if(!Number['isFinite'](_0x1469ae))return 0x1;return Math['max'](0x1,Math[_0x27c222(0x50f,0x288,_0x4deb29._0x2e3e0c,0x371)](Math[_0x28479a(-0x173,_0x4deb29._0x33b813,-0x1ae,-0x23c)](_0x1469ae),_0x3bb932));}function resolveAnchoredTarget(_0x16f1af){const _0x158892={_0x387333:0x4b0,_0x165775:0x3ba,_0x204f04:0x62d,_0x25ecd0:0x2ee,_0x351773:0x8c2,_0x5010f1:0x66c,_0x3305db:0xc,_0x1b3598:0x1e4,_0xfd3a1:0x254,_0xd4b2da:0x3e7,_0x416af1:0x1e4,_0x3f15bb:0x8f},_0x5ae8c7=_0x16f1af[_0xb511af(_0x158892._0x387333,0x593,_0x158892._0x165775,0x4c7)]??'exact';function _0xb511af(_0xed63a2,_0xae79e9,_0x36d4fa,_0x53c8d1){return _0x511cdd(_0xed63a2-0x134,_0xae79e9-0x96,_0xae79e9,_0x36d4fa- -0xba);}function _0x2fe17f(_0x4e71e8,_0x877e70,_0x26dd6b,_0x371a5d){return _0x511cdd(_0x4e71e8-0x2f,_0x877e70-0x193,_0x26dd6b,_0x4e71e8-0x385);}if(_0x5ae8c7===_0x2fe17f(0x5b5,_0x158892._0x204f04,0x632,0x5d2))return void 0x0;if(_0x16f1af['observations']===void 0x0)throw new Error((_0x16f1af['name']??_0xb511af(0x44b,0x1d4,_0x158892._0x25ecd0,0x1a4))+_0x2fe17f(0x6c9,0x7d2,_0x158892._0x351773,_0x158892._0x5010f1));if(_0x16f1af[_0xb511af(0x287,-_0x158892._0x3305db,_0x158892._0x1b3598,0x2e)]===void 0x0)throw new Error((_0x16f1af['name']??'FileRead')+'\x20anchored\x20mode\x20requires\x20injected\x20outputBudgetBytes.');return{'mode':_0x5ae8c7,'observations':_0x16f1af['observations'],'outputBudgetBytes':_0x16f1af[_0xb511af(_0x158892._0xfd3a1,_0x158892._0xd4b2da,_0x158892._0x416af1,_0x158892._0x3f15bb)]};}function isErrnoException(_0x4514b0){const _0x53dc23={_0x23f891:0x664,_0x1a81b5:0x708,_0x4d39a4:0x5fb,_0x2f6f98:0x416,_0xf59490:0x351},_0x14f5d7={_0x1af6e7:0x14f};function _0x47aab2(_0x860423,_0x139bb8,_0x511b5d,_0x1123e4){return _0x511cdd(_0x860423-0x1f,_0x139bb8-_0x14f5d7._0x1af6e7,_0x511b5d,_0x860423-0x20d);}function _0x545270(_0x3146fb,_0x1a81d3,_0x2490bf,_0x2d76e7){return _0x30b865(_0x3146fb-0x6e,_0x2d76e7,_0x2490bf-0x475,_0x2d76e7-0x100);}return _0x4514b0 instanceof Error&&_0x47aab2(0x708,0x63a,_0x53dc23._0x23f891,0x5b5)in _0x4514b0&&typeof _0x4514b0[_0x47aab2(_0x53dc23._0x1a81b5,0x78e,_0x53dc23._0x4d39a4,0x671)]===_0x545270(0x5bb,0x24b,_0x53dc23._0x2f6f98,_0x53dc23._0xf59490);}function wrapAnchoredFsError(_0x18dd8e,_0x422de0){const _0x3f2140={_0x405dd4:0x963,_0xc2885b:0x7bf,_0x22c0b6:0x671,_0x3df221:0x79a,_0x2e4421:0x6e8,_0x31bcf3:0x7c1,_0x489a21:0x6ee},_0x28d9b2={_0x408404:0x33,_0x43e7a0:0xc8,_0x234352:0x47},_0x1686a0={_0x335783:0x15c};function _0x1dad0d(_0x1733ea,_0xa3b45,_0xe1f2e9,_0x3d9ba6){return _0x511cdd(_0x1733ea-_0x1686a0._0x335783,_0xa3b45-0xa,_0x3d9ba6,_0x1733ea-0x3ed);}function _0x54531b(_0x2a3c9d,_0x5a51d2,_0x2759b6,_0x20a82f){return _0x511cdd(_0x2a3c9d-_0x28d9b2._0x408404,_0x5a51d2-_0x28d9b2._0x43e7a0,_0x5a51d2,_0x2a3c9d- -_0x28d9b2._0x234352);}if(_0x18dd8e instanceof ToolExecutionError)throw _0x18dd8e;if(!isErrnoException(_0x18dd8e))throw _0x18dd8e;throw createAnchoredFileError(_0x1dad0d(0x8f8,_0x3f2140._0x405dd4,0x818,_0x3f2140._0xc2885b),_0x1dad0d(_0x3f2140._0x22c0b6,_0x3f2140._0x3df221,_0x3f2140._0x2e4421,_0x3f2140._0x31bcf3)+_0x422de0+'\x20for\x20an\x20anchored\x20snapshot\x20('+_0x18dd8e[_0x1dad0d(_0x3f2140._0x489a21,0x7cb,0x7e9,0x502)]+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x422de0});}async function executeAnchoredRead(_0x3c197c,_0x2a8aec,_0x211002,_0x36b102,_0x168485,_0x3043e1,_0x37139d){const _0x20de3f={_0x1011c5:0x351,_0x46bb50:0x437,_0x14969b:0x4c3,_0x5d3668:0x39d,_0x1674f9:0x27,_0x1003ef:0x26,_0x548c78:0xd0,_0xdc4c6:0x2b6,_0x9f432b:0x4d9,_0x279238:0x26,_0x247b5d:0x60,_0x32feb3:0x10c,_0xb273a9:0x8f,_0x2c23d1:0x21c,_0x308af9:0x415,_0x513c59:0x38a,_0x206bca:0x339,_0x3f1c34:0x2d2,_0x3906d9:0x4da,_0x29ace9:0x2e9,_0x115324:0x270,_0x100c3c:0x303,_0x442d40:0x422,_0x23f2f3:0x13e,_0x3f0a7f:0x2c0,_0x41f1ba:0x1de,_0x20575b:0x2ac,_0x59c4b0:0x1de},_0x33a7fe={_0x763319:0x6c},_0x4fde69={_0x3c9593:0x194,_0x2f8581:0x22e,_0x415880:0xc2};function _0xa068b8(_0x365ee9,_0x51211b,_0x45a621,_0x9bb7b0){return _0x30b865(_0x365ee9-_0x4fde69._0x3c9593,_0x45a621,_0x9bb7b0-_0x4fde69._0x2f8581,_0x9bb7b0-_0x4fde69._0x415880);}function _0x5aa658(_0x18d307,_0x500b54,_0xf3d3e6,_0x5735b5){return _0x30b865(_0x18d307-0x161,_0x500b54,_0x18d307- -0x6c,_0x5735b5-_0x33a7fe._0x763319);}let _0x3601e2;try{_0x3601e2=await resolveCanonicalAllowedFile(_0x2a8aec,_0x211002,_0x36b102);}catch(_0xb727c8){wrapAnchoredFsError(_0xb727c8,_0x36b102);}let _0x18dec0;try{_0x18dec0=await _0x211535(_0x3601e2[_0xa068b8(0x2b1,0x1a1,0x4a8,_0x20de3f._0x1011c5)]);}catch(_0x11a130){wrapAnchoredFsError(_0x11a130,_0x36b102);}const _0x2b4944=createNormalizedFileSnapshot(_0x3601e2['canonicalPath'],_0x18dec0);_0x3c197c['observations'][_0xa068b8(0x511,_0x20de3f._0x46bb50,_0x20de3f._0x14969b,_0x20de3f._0x5d3668)](_0x37139d);const _0x21225c=formatAnchoredFileRead({'displayPath':_0x36b102,'snapshot':_0x2b4944,'lineStart':_0x168485,'lineEnd':_0x3043e1,'maxBytes':_0x3c197c[_0x5aa658(0x4a,0xb8,-_0x20de3f._0x1674f9,0x37)]});return _0x3c197c[_0x5aa658(-0x57,-0x144,-_0x20de3f._0x1003ef,_0x20de3f._0x548c78)][_0xa068b8(_0x20de3f._0xdc4c6,_0x20de3f._0x9f432b,0x2d2,0x2e9)](_0x2b4944,_0x21225c[_0x5aa658(_0x20de3f._0x279238,_0x20de3f._0x247b5d,_0x20de3f._0x32feb3,_0x20de3f._0xb273a9)]),createToolOutput(_0x21225c[_0x5aa658(_0x20de3f._0x2c23d1,0x10c,0x214,_0x20de3f._0x308af9)],{'mode':_0x3c197c[_0x5aa658(0x220,_0x20de3f._0x513c59,0x6b,_0x20de3f._0x206bca)],'path':_0x36b102,'resolvedPath':_0x3601e2[_0x5aa658(_0x20de3f._0x3f1c34,0x23b,_0x20de3f._0x3906d9,0xd9)],'canonicalPath':_0x3601e2[_0xa068b8(0x307,0x21c,0x4dc,0x351)],'tag':_0x2b4944[_0xa068b8(_0x20de3f._0x29ace9,_0x20de3f._0x115324,_0x20de3f._0x100c3c,_0x20de3f._0x442d40)],'digest':_0x2b4944[_0x5aa658(-0x5c,0x146,0x4c,-_0x20de3f._0x23f2f3)],'displayedLines':[..._0x21225c[_0xa068b8(0x233,0x462,0x3d3,_0x20de3f._0x3f0a7f)]],'truncated':_0x21225c['truncated'],..._0x21225c[_0x5aa658(_0x20de3f._0x41f1ba,_0x20de3f._0x20575b,0x2be,0x1f7)]!==void 0x0?{'nextLineStart':_0x21225c[_0x5aa658(_0x20de3f._0x59c4b0,0x73,0x35c,0x3a8)]}:{}});}function createFileReadTool(_0x54c5b4={}){const _0x2729cd={_0xe4eb98:0x504,_0x3c8700:0x6fe,_0x15e810:0x548,_0x8dfee5:0x72a,_0x496e55:0x8ff,_0xf62cb4:0x7de,_0x33f4da:0x7bf,_0x4de5d0:0x947,_0x25e3d5:0x413,_0x3d697e:0x3c8,_0x1a8cb2:0x58d,_0x2654e6:0x4ab,_0xb6b80:0x442,_0x597dd9:0x757,_0x10cb66:0x9a3,_0x5a77ed:0x4f1,_0x1aceac:0x682,_0x113879:0x6f5,_0x44a566:0x7a8,_0x3b7f12:0x6f6,_0x1f4796:0x674},_0x557990={_0xa5ea96:0x55,_0x374422:0x10,_0x79ec5e:0xed,_0x332965:0x19e,_0x7fe917:0x2b9,_0xb1e664:0xe1,_0x2903c7:0x306,_0x3ba938:0x174,_0x33dbd7:0x308,_0xf2951e:0x173,_0x4210c3:0x3c5,_0x17d31f:0x2aa,_0x3634e8:0x39,_0x204d90:0x15f,_0x44a8e0:0x33,_0x506111:0x12c,_0x44774e:0x34,_0x1d227e:0xee,_0x8b9af1:0x103,_0x356a82:0x249,_0x59c10d:0xa3,_0x564f98:0x2a4,_0x5021e8:0xef,_0x319b15:0x10c,_0x26c1f7:0x3c,_0x555490:0x573,_0x5f2f8a:0x5b3,_0x463919:0x1ac,_0x3369e3:0xd6,_0x304e25:0x3c5,_0x1d8fbc:0x287,_0x597153:0x349,_0x1dff0f:0x42d,_0x7a9472:0x45e},_0x22f1f8={_0x161419:0xbb},_0x52431c={_0x13f612:0xba,_0x48c77b:0x664},_0x2c74df=_0x40df98[_0x31531e(_0x2729cd._0xe4eb98,_0x2729cd._0x3c8700,0x6e5,_0x2729cd._0x15e810)](_0x54c5b4['defaultCwd']??process[_0x31531e(_0x2729cd._0x8dfee5,_0x2729cd._0x496e55,0x892,_0x2729cd._0xf62cb4)]());function _0x31531e(_0x522d95,_0x35ee66,_0x16df5e,_0x3fcfeb){return _0x30b865(_0x522d95-_0x52431c._0x13f612,_0x522d95,_0x35ee66-_0x52431c._0x48c77b,_0x3fcfeb-0x12c);}const _0x522e98=_0x54c5b4[_0x31531e(0xb38,0x93b,0x8e0,0x780)]??[];function _0x6b8e(_0x2265ef,_0x36d8b3,_0x5015ac,_0x31e8fd){return _0x30b865(_0x2265ef-_0x22f1f8._0x161419,_0x31e8fd,_0x5015ac-0x50a,_0x31e8fd-0x38);}const _0x492933=_0x54c5b4[_0x31531e(_0x2729cd._0x33f4da,0x985,0xb74,_0x2729cd._0x4de5d0)]??'FileRead',_0x23550f=resolveAnchoredTarget(_0x54c5b4);return defineTool({'name':_0x492933,'permissionClass':_0x6b8e(_0x2729cd._0x25e3d5,0x55c,0x520,_0x2729cd._0x3d697e),'description':_0x23550f===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':'Read\x20a\x20UTF-8\x20text\x20file\x20as\x20a\x20snapshot-anchored\x20[path#tag]\x20header\x20plus\x20N:text\x20rows.\x20The\x20tag\x20identifies\x20the\x20whole\x20file,\x20so\x20read\x20only\x20the\x20lines\x20you\x20need\x20with\x20lineStart/lineEnd\x20—\x20the\x20tag\x20stays\x20valid\x20for\x20a\x20range\x20read.\x20Empty\x20files\x20have\x20no\x20editable\x20line.\x20Mixed\x20LF/CRLF,\x20NUL,\x20and\x20invalid\x20UTF-8\x20are\x20rejected;\x20use\x20exact\x20FileEdit\x20instead.','inputSchema':{'type':_0x31531e(_0x2729cd._0x1a8cb2,0x72c,0x87a,0x749),'properties':{'path':{'type':_0x6b8e(0x4f3,0x328,_0x2729cd._0x2654e6,_0x2729cd._0xb6b80)},'lineStart':{'type':_0x31531e(0xa86,0x957,_0x2729cd._0x597dd9,_0x2729cd._0x10cb66),'description':_0x6b8e(_0x2729cd._0x5a77ed,_0x2729cd._0x1aceac,_0x2729cd._0x113879,_0x2729cd._0x44a566)},'lineEnd':{'type':'number','description':_0x31531e(_0x2729cd._0x3b7f12,0x807,_0x2729cd._0x1f4796,0x98b)}},'required':['path']},async *'execute'(_0x2c402e,_0x3d0eb1){const _0x785b41={_0x224c1a:0x145,_0x24b2fa:0x106};function _0x2b8366(_0x38adb3,_0x5ed939,_0x3593ea,_0x4892c9){return _0x6b8e(_0x38adb3-_0x785b41._0x224c1a,_0x5ed939-_0x785b41._0x24b2fa,_0x38adb3- -0x409,_0x3593ea);}const _0x439767=resolveAllowedPath(_0x2c74df,_0x522e98,_0x2c402e[_0x2b8366(0x55,0x153,0x107,0xd6)]);function _0x1a4ea3(_0x11f2f1,_0x44667a,_0x2afc67,_0x5f47e4){return _0x6b8e(_0x11f2f1-0x1e4,_0x44667a-0x14f,_0x44667a- -0x447,_0x2afc67);}if(_0x23550f===void 0x0){await assertWorkspaceFile(_0x439767);const _0x1827f9=await _0x2729d6(_0x439767),_0x593aed=await _0x211535(_0x439767);if(isProbablyBinary(_0x593aed))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x2c402e['path'],{'path':_0x2c402e[_0x2b8366(_0x557990._0xa5ea96,-_0x557990._0x374422,0xcc,_0x557990._0x79ec5e)]});let _0x21d701=_0x593aed['toString']('utf8');const _0x364d29=_0x21d701[_0x2b8366(0x171,0x2fd,0x1f4,_0x557990._0x332965)](0x0)===0xfeff;_0x21d701=stripUtfBom(_0x21d701);const _0x29bc3d=_0x21d701['split'](/\r?\n/),_0x27459a={'path':_0x2c402e[_0x1a4ea3(0xf2,0x17,-0xd5,0xe7)],'resolvedPath':_0x439767,'created':_0x1827f9[_0x2b8366(0x3b2,0x39c,_0x557990._0x7fe917,0x388)]['toISOString'](),'modified':_0x1827f9['mtime']['toISOString'](),'size':_0x1827f9['size'],'encoding':_0x2b8366(0x8e,0x25d,_0x557990._0xb1e664,0x16f),'bomStripped':_0x364d29,'truncated':![],'totalLines':_0x29bc3d[_0x2b8366(_0x557990._0x2903c7,_0x557990._0x3ba938,_0x557990._0x33dbd7,_0x557990._0xf2951e)]};if(_0x2c402e[_0x2b8366(_0x557990._0x4210c3,0x1bb,_0x557990._0x17d31f,0x410)]!==void 0x0||_0x2c402e[_0x2b8366(0x15f,0x1a4,-_0x557990._0x3634e8,0xbe)]!==void 0x0){const _0x39c8e4=clampLine2(_0x2c402e[_0x2b8366(0x3c5,0x2d4,0x596,0x586)]??0x1,_0x29bc3d['length']),_0x139a00=clampLine2(_0x2c402e[_0x2b8366(_0x557990._0x204d90,-_0x557990._0x44a8e0,_0x557990._0x506111,_0x557990._0x44774e)]??_0x29bc3d[_0x1a4ea3(_0x557990._0x1d227e,0x2c8,_0x557990._0x8b9af1,_0x557990._0x356a82)],_0x29bc3d['length']),_0x35b2ee=Math[_0x1a4ea3(0x22b,0x68,0x71,_0x557990._0x59c10d)](_0x39c8e4,_0x139a00),_0x4eda17=Math[_0x1a4ea3(_0x557990._0x564f98,_0x557990._0x5021e8,0x272,0x1e3)](_0x39c8e4,_0x139a00),_0x4d5282=_0x29bc3d[_0x2b8366(_0x557990._0x319b15,-_0x557990._0x26c1f7,0x1d,0x46)](_0x35b2ee-0x1,_0x4eda17)[_0x1a4ea3(0x5ca,0x3bb,_0x557990._0x555490,_0x557990._0x5f2f8a)]((_0x451cb3,_0x4e8320)=>_0x35b2ee+_0x4e8320+'|'+_0x451cb3)[_0x2b8366(0x31f,0x215,0x132,_0x557990._0x463919)]('\x0a');return yield createToolOutput(_0x4d5282,{..._0x27459a,'lineRange':{'lineStart':_0x35b2ee,'lineEnd':_0x4eda17,'linesTotal':_0x29bc3d[_0x2b8366(0x306,0x32f,0x4b6,0x315)]}}),void 0x0;}return yield createToolOutput(_0x21d701,_0x27459a),void 0x0;}return yield await executeAnchoredRead(_0x23550f,_0x2c74df,_0x522e98,_0x2c402e[_0x2b8366(0x55,-0x155,_0x557990._0x3369e3,0x17e)],_0x2c402e[_0x2b8366(_0x557990._0x304e25,_0x557990._0x1d8fbc,0x2e4,0x5ce)],_0x2c402e['lineEnd'],_0x3d0eb1[_0x1a4ea3(0x1c8,_0x557990._0x597153,_0x557990._0x1dff0f,_0x557990._0x7a9472)]),void 0x0;}});}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';import{randomUUID as _0x2bb431}from'crypto';import{mkdir as _0x1251ac,readFile as _0x207566,writeFile as _0x467f11}from'fs/promises';import{join as _0x5abeb0}from'path';function sanitizeStorageKey(_0x258653){const _0x15eb68={_0x2105a9:0x45c,_0x1c07a0:0x689,_0x225f87:0x4e4,_0x29d793:0xa07,_0x58cf23:0x8ba,_0x223cc3:0x96a,_0x2dd858:0x949},_0x56dda9={_0x3d6b15:0xbc,_0x27bb55:0x95};function _0x95b994(_0x4522dd,_0x337a7c,_0x5a10a1,_0x37d84c){return _0x30b865(_0x4522dd-_0x56dda9._0x3d6b15,_0x5a10a1,_0x37d84c-0x311,_0x37d84c-_0x56dda9._0x27bb55);}function _0x2f0015(_0x137b4f,_0x4b8f54,_0x22d21c,_0x7c90da){return _0x511cdd(_0x137b4f-0x105,_0x4b8f54-0x1d6,_0x7c90da,_0x4b8f54-0x388);}return _0x258653[_0x95b994(_0x15eb68._0x2105a9,0x355,0x6d6,0x4e4)](/[^a-zA-Z0-9_]+/g,'_')[_0x95b994(0x364,0x44c,_0x15eb68._0x1c07a0,_0x15eb68._0x225f87)](/^_+|_+$/g,'')||_0x2f0015(_0x15eb68._0x29d793,_0x15eb68._0x58cf23,_0x15eb68._0x223cc3,_0x15eb68._0x2dd858);}function storagePath(_0x246459){const _0x5c755b={_0x213b7c:0x595,_0x237faa:0x4a2,_0x3115e0:0x526,_0x1b44ca:0x42d,_0x4f7dd5:0x2d0,_0x2466b0:0x480},_0x1cfa17={_0x55961b:0x145,_0xe8bf05:0x128,_0x4dce47:0x1a1},_0x2d3541={_0x23a9e8:0xcd};function _0xa9ccc(_0x404e7c,_0x1eb45d,_0x5a291d,_0x41d769){return _0x511cdd(_0x404e7c-_0x2d3541._0x23a9e8,_0x1eb45d-0x34,_0x41d769,_0x404e7c-0x17b);}function _0x2e31fb(_0x318313,_0x111527,_0x12d651,_0x4ddb26){return _0x511cdd(_0x318313-_0x1cfa17._0x55961b,_0x111527-_0x1cfa17._0xe8bf05,_0x12d651,_0x111527- -_0x1cfa17._0x4dce47);}const _0x17d071=sanitizeStorageKey(_0x246459[_0xa9ccc(0x64a,_0x5c755b._0x213b7c,0x4f7,_0x5c755b._0x237faa)]['oauth']?.[_0xa9ccc(0x39e,0x335,0x26e,_0x5c755b._0x3115e0)]??_0x246459[_0x2e31fb(_0x5c755b._0x1b44ca,_0x5c755b._0x4f7dd5,_0x5c755b._0x2466b0,0x18f)]);return _0x5abeb0(_0x246459['storageDir'],_0x17d071+'.json');}async function readStore(_0x46d621){const _0x5a7741={_0x12accb:0x2ea,_0x4ff7e7:0x6a7,_0x55db01:0x51b,_0x49fdcd:0x56e,_0x457fbc:0x355,_0x4a546f:0x453},_0x19ee6e={_0x48218d:0x25b,_0x1af8b1:0x18b},_0xaa2a66={_0x1f71c9:0x14d,_0xa6e98b:0xdb};function _0x242cbd(_0x474111,_0x21780f,_0x5b34c7,_0x3d2bba){return _0x30b865(_0x474111-_0xaa2a66._0x1f71c9,_0x3d2bba,_0x21780f-0x25d,_0x3d2bba-_0xaa2a66._0xa6e98b);}function _0x413033(_0x2009bc,_0x2cd190,_0x3a99c7,_0x2a630e){return _0x30b865(_0x2009bc-0x105,_0x3a99c7,_0x2a630e-_0x19ee6e._0x48218d,_0x2a630e-_0x19ee6e._0x1af8b1);}try{return JSON[_0x413033(0x3b6,0x159,0x142,0x1a5)](await _0x207566(_0x46d621,_0x413033(0x3a6,_0x5a7741._0x12accb,0x228,0x1e8)));}catch(_0x2b39f5){if(_0x2b39f5 instanceof Error&&_0x413033(_0x5a7741._0x4ff7e7,_0x5a7741._0x55db01,0x3b9,_0x5a7741._0x49fdcd)in _0x2b39f5&&_0x2b39f5['code']===_0x242cbd(_0x5a7741._0x457fbc,_0x5a7741._0x4a546f,0x301,0x2c7))return{};throw _0x2b39f5;}}async function writeStore(_0x445b6b,_0x48ecca){const _0x479090={_0x33bd0a:0xea,_0xb8aae3:0xdf},_0x4437c1={_0xa30ba6:0x6,_0x63fd70:0x96};function _0x39b84b(_0x297d97,_0x4d561d,_0x549f9c,_0x8e9f08){return _0x511cdd(_0x297d97-_0x4437c1._0xa30ba6,_0x4d561d-0x1c8,_0x4d561d,_0x8e9f08- -_0x4437c1._0x63fd70);}await _0x1251ac(_0x5abeb0(_0x445b6b,'..'),{'recursive':!![]}),await _0x467f11(_0x445b6b,JSON['stringify'](_0x48ecca,null,0x2),_0x39b84b(0x229,0x17f,_0x479090._0x33bd0a,_0x479090._0xb8aae3));}async function updateStore(_0x590c5b,_0x4c1e5d){const _0x494811=await readStore(_0x590c5b);_0x4c1e5d(_0x494811),await writeStore(_0x590c5b,_0x494811);}function createMcpOAuthProvider(_0x575633){const _0x658181={_0x1fd64b:0xd4,_0x44df06:0x20e,_0x1ae184:0x1ed,_0x11a86e:0x2dc,_0x183513:0x137,_0x4e1399:0x147,_0x5e23d6:0x126,_0x2a41fc:0x71,_0x3a2faa:0x21b,_0x508c9e:0x14a,_0x2374aa:0x7,_0x4f47ed:0x2ba,_0x135556:0x2a5,_0x520d8e:0xd5,_0x25347b:0x2c5,_0x759b1b:0x2bd,_0x26d5be:0x185,_0x37968c:0x45,_0x17d3a0:0x238},_0x16705c={_0x23080a:0x5d0},_0x59df46={_0x2555f0:0x177,_0x5c8ae7:0x3b6},_0x69be9b={_0x1ec271:0x1a4,_0xa4b167:0x148,_0xf685c0:0x1cf,_0x147dc2:0x185,_0x3ac8fe:0x21b,_0x3e7bd5:0xc9,_0x24889f:0x2af,_0x42d90c:0x260,_0x46a394:0xc2,_0xfcff33:0x4e,_0x5a7548:0x194,_0x4d924c:0x1e0,_0x880a1c:0xf9,_0x242868:0x225,_0x313027:0x2aa,_0x278c4c:0x3c7,_0x41c5a0:0x320,_0xf68582:0x10c,_0x2dcf64:0x431,_0x104182:0x62b,_0xcfe43c:0x425},_0x526c07={_0x5dbb56:0x400,_0x2fb055:0x3c7,_0x3d20c4:0x2c2},_0x4a6fca={_0x2fba87:0x2e5,_0x476524:0x1cb,_0xd20cc3:0x128},_0x180cad={_0x4e0843:0x32},_0x380234={_0x11111a:0x27d,_0x17f464:0x32c,_0x490c94:0x42b},_0x1b4d2b={_0x3e0734:0x58},_0x4fab15={_0x5f4561:0x359,_0x1ba309:0x3b5},_0x1fbc88={_0x7c8625:0x4e,_0x200faf:0x1e3},_0x91a15a={_0x7311b1:0x12f,_0x2e3cc9:0x38},_0x2e9932=storagePath(_0x575633),_0x2cb4f8=_0x575633[_0x1057a3(0x308,0x299,_0x658181._0x1fd64b,_0x658181._0x44df06)][_0x1057a3(0x1a,_0x658181._0x1ae184,_0x658181._0x11a86e,0x1a8)]?.[_0x21bf62(_0x658181._0x183513,_0x658181._0x4e1399,_0x658181._0x5e23d6,_0x658181._0x2a41fc)]?.[_0x21bf62(0x255,_0x658181._0x3a2faa,-0x42,0xfe)]('\x20');function _0x21bf62(_0x2a5232,_0x14d15a,_0xb4a176,_0x3e988b){return _0x511cdd(_0x2a5232-_0x91a15a._0x7311b1,_0x14d15a-_0x91a15a._0x2e3cc9,_0x14d15a,_0x3e988b- -0x308);}function _0x1057a3(_0x17745f,_0x5a6938,_0x414e38,_0x2329ca){return _0x30b865(_0x17745f-0xa3,_0x2329ca,_0x5a6938- -_0x1fbc88._0x7c8625,_0x2329ca-_0x1fbc88._0x200faf);}const _0xea8310={'client_name':_0x21bf62(_0x658181._0x508c9e,-_0x658181._0x2374aa,_0x658181._0x4f47ed,0x1cb),'redirect_uris':[_0x575633[_0x21bf62(-0x1df,-0x62,-_0x658181._0x135556,-0x1db)]],'grant_types':['authorization_code','refresh_token'],'response_types':[_0x1057a3(_0x658181._0x520d8e,_0x658181._0x25347b,0xd6,0x17f)],'token_endpoint_auth_method':'client_secret_post',..._0x2cb4f8?{'scope':_0x2cb4f8}:{}};return{'clientMetadataUrl':_0x575633[_0x1057a3(_0x658181._0x759b1b,0x299,_0x658181._0x26d5be,0x48e)]['oauth']?.[_0x21bf62(0x38f,0x2d2,_0x658181._0x37968c,_0x658181._0x17d3a0)],get 'redirectUrl'(){const _0x4d868d={_0x4b7c58:0x468};function _0x38c02b(_0x9a0286,_0x2bf0b7,_0x3144b1,_0x163dc6){return _0x21bf62(_0x9a0286-0x32,_0x3144b1,_0x3144b1-0xd4,_0x9a0286-_0x4d868d._0x4b7c58);}return _0x575633[_0x38c02b(0x28d,0x158,_0x4fab15._0x5f4561,_0x4fab15._0x1ba309)];},get 'clientMetadata'(){return _0xea8310;},async 'state'(){const _0x9e857c={_0x3d016a:0x23c},_0x33016d={_0x1275f4:0x127,_0x1f640d:0x41};function _0x55ff70(_0x139515,_0x563a2e,_0x5128ea,_0x518a58){return _0x21bf62(_0x139515-0x120,_0x5128ea,_0x5128ea-0x131,_0x518a58-0x154);}const _0x2446c4=await readStore(_0x2e9932);if(_0x2446c4[_0x55ff70(0x163,0xdf,0x2bf,_0x380234._0x11111a)])return _0x2446c4[_0x55ff70(_0x380234._0x17f464,_0x380234._0x490c94,0x491,0x27d)];function _0xc57287(_0xca89c8,_0x3d296b,_0x3d792e,_0x138077){return _0x21bf62(_0xca89c8-0xa7,_0x138077,_0x3d792e-0x18a,_0xca89c8-_0x1b4d2b._0x3e0734);}const _0x275b4f=_0x2bb431();return await updateStore(_0x2e9932,_0x3e2a84=>{function _0xcbcb8a(_0x12248b,_0x5968d1,_0x56129d,_0x542c24){return _0x55ff70(_0x12248b-_0x33016d._0x1275f4,_0x5968d1-0xb1,_0x56129d,_0x5968d1- -_0x33016d._0x1f640d);}_0x3e2a84[_0xcbcb8a(0x3c6,_0x9e857c._0x3d016a,0x212,0x35d)]=_0x275b4f;}),_0x275b4f;},async 'clientInformation'(){function _0x501581(_0x2220e3,_0x1e7437,_0x479dc7,_0x144a1e){return _0x1057a3(_0x2220e3-_0x180cad._0x4e0843,_0x2220e3-0x22a,_0x479dc7-0x92,_0x144a1e);}return(await readStore(_0x2e9932))[_0x501581(_0x4a6fca._0x2fba87,_0x4a6fca._0x476524,0x11b,_0x4a6fca._0xd20cc3)];},async 'saveClientInformation'(_0x1c728f){await updateStore(_0x2e9932,_0x5b695f=>{_0x5b695f['clientInformation']=_0x1c728f;});},async 'tokens'(){return(await readStore(_0x2e9932))['tokens'];},async 'saveTokens'(_0x509f43){await updateStore(_0x2e9932,_0xb4eccf=>{_0xb4eccf['tokens']=_0x509f43;});},async 'redirectToAuthorization'(_0x4ae688){await _0x575633['onRedirect'](_0x4ae688);},async 'saveCodeVerifier'(_0x35bf35){const _0x24ce2a={_0x13e7cb:0x2d9,_0x4a06fa:0x2cf};await updateStore(_0x2e9932,_0x1d57ae=>{function _0x401116(_0xc83dbc,_0x2b16b1,_0x28b9ea,_0x29c080){return _0x56d3(_0x28b9ea- -0x328,_0xc83dbc);}_0x1d57ae[_0x401116(_0x24ce2a._0x13e7cb,_0x24ce2a._0x4a06fa,0x148,0x298)]=_0x35bf35;});},async 'codeVerifier'(){const _0x5e6cce={_0x1a9478:0x7c};function _0x569776(_0x4bed97,_0x3c3a6a,_0x1c2ede,_0x329ae1){return _0x1057a3(_0x4bed97-_0x5e6cce._0x1a9478,_0x3c3a6a-0x454,_0x1c2ede-0x8c,_0x1c2ede);}const _0x108b7d=(await readStore(_0x2e9932))['codeVerifier'];if(!_0x108b7d)throw new Error(_0x569776(0x31c,_0x526c07._0x5dbb56,_0x526c07._0x2fb055,_0x526c07._0x3d20c4));return _0x108b7d;},async 'invalidateCredentials'(_0x44d6e0){const _0x36c6e0={_0x1c4f6d:0x24b};await updateStore(_0x2e9932,_0x2b0efd=>{function _0x35a783(_0xd456fc,_0x3dfceb,_0x28a4c6,_0x2a656d){return _0x56d3(_0x3dfceb- -_0x36c6e0._0x1c4f6d,_0xd456fc);}function _0x160e9e(_0x324be0,_0x39fa64,_0x44b6ac,_0x311d54){return _0x56d3(_0x324be0- -0x170,_0x44b6ac);}(_0x44d6e0===_0x160e9e(_0x69be9b._0x1ec271,_0x69be9b._0xa4b167,_0x69be9b._0xf685c0,_0x69be9b._0x147dc2)||_0x44d6e0==='client')&&(_0x2b0efd['clientInformation']=void 0x0),(_0x44d6e0===_0x35a783(_0x69be9b._0x3ac8fe,_0x69be9b._0x3e7bd5,0x10f,_0x69be9b._0x24889f)||_0x44d6e0===_0x160e9e(0x137,_0x69be9b._0x42d90c,_0x69be9b._0x46a394,0x31a))&&(_0x2b0efd[_0x160e9e(0x137,_0x69be9b._0xfcff33,0x21b,0x21)]=void 0x0),(_0x44d6e0==='all'||_0x44d6e0===_0x35a783(0x153,_0x69be9b._0x5a7548,_0x69be9b._0x4d924c,_0x69be9b._0x880a1c))&&(_0x2b0efd[_0x35a783(0x1b2,_0x69be9b._0x242868,0xb2,0x1bd)]=void 0x0,_0x2b0efd[_0x35a783(0x2e3,_0x69be9b._0x313027,_0x69be9b._0x278c4c,_0x69be9b._0x41c5a0)]=void 0x0),(_0x44d6e0===_0x35a783(-_0x69be9b._0xf68582,_0x69be9b._0x3e7bd5,0x1d9,0x1b7)||_0x44d6e0===_0x160e9e(_0x69be9b._0x2dcf64,0x613,_0x69be9b._0x104182,0x2d0))&&(_0x2b0efd[_0x35a783(_0x69be9b._0xcfe43c,0x39b,0x49b,0x3c3)]=void 0x0);});},async 'saveDiscoveryState'(_0x354536){await updateStore(_0x2e9932,_0x10a996=>{_0x10a996['discoveryState']=_0x354536;});},async 'discoveryState'(){function _0x4dd9ae(_0x54b153,_0x55bb1a,_0x3543fc,_0x4ebef4){return _0x21bf62(_0x54b153-_0x59df46._0x2555f0,_0x4ebef4,_0x3543fc-0xb5,_0x54b153-_0x59df46._0x5c8ae7);}return(await readStore(_0x2e9932))[_0x4dd9ae(_0x16705c._0x23080a,0x3c7,0x4a7,0x431)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x30b865(0x3de,0x122,0x302,0x4f6),'message':_0x33182e=>_0x30b865(0x2a7,0x495,0x2ed,0x106)+_0x33182e+_0x30b865(0xfa,-0x2e,-0x18,-0x1f0)},'connect':{'code':_0x511cdd(0x2ce,0x71,-0x4,0x16b),'message':_0x47836e=>'MCP\x20server\x20'+_0x47836e+_0x30b865(0xe4,0x314,0x114,-0xb2)},'discover':{'code':_0x30b865(0x238,0x1f,0xfc,0xba),'message':_0x22ac9f=>_0x30b865(0x48b,0x45e,0x2ed,0x203)+_0x22ac9f+_0x511cdd(0x3db,0x3df,0x5d2,0x4aa)},'toolCall':{'code':_0x511cdd(0x116,0x1ce,0x17f,0x1a7),'message':_0x45d38d=>_0x30b865(0x3ae,0x2b1,0x2ed,0x42a)+_0x45d38d+'\x20tool\x20call\x20failed'}},timeoutMessageByOperation={'close':_0x11b6ce=>_0x30b865(0x2da,0x27a,0x2ed,0x362)+_0x11b6ce+_0x511cdd(0x381,0x3d4,0x301,0x348),'connect':_0x2d127c=>_0x30b865(0x117,0x28f,0x2ed,0x488)+_0x2d127c+_0x30b865(0x19c,0xa3,0x177,0x4),'discover':_0x56a471=>'MCP\x20server\x20'+_0x56a471+'\x20tool\x20discovery\x20timed\x20out','toolCall':_0x17f5e6=>_0x511cdd(0x642,0x4e7,0x6b2,0x4d5)+_0x17f5e6+_0x30b865(-0x1a6,0x212,0x38,0x1df)};function toMcpSafeError(_0x23c813){const _0x3be989={_0x43c1b2:0x576,_0x708826:0x55b,_0x5d0e25:0x3a9,_0x21457d:0x3ff,_0x2bf50b:0x4ed,_0x4fb4d6:0x11,_0x30a927:0x364,_0x57ed87:0x5a1,_0x42eb22:0x5d2,_0x45ea2e:0x486,_0x60d83e:0x258,_0x1527d8:0x234,_0x260702:0x319,_0x1638ce:0x288,_0x1d49cf:0x379,_0x20ae43:0x3f7,_0x31375c:0xef,_0x56aef1:0x46,_0x30add8:0x154,_0x55cc27:0x2d,_0x2bcdf3:0xc3,_0x3550fa:0x65,_0x13e363:0x5e4,_0x15d35d:0x2d8,_0x530398:0x1db,_0x524335:0x4db,_0x5bf804:0x3f7,_0x8db5c1:0x263,_0x5af940:0x211,_0xb20bf:0x242,_0x2113fd:0x316,_0x4733b1:0x310},_0x10e30b={_0xec682:0x1};function _0x177494(_0x5ae35a,_0xfef885,_0x115b2e,_0x2ffa9d){return _0x511cdd(_0x5ae35a-0x25,_0xfef885-0x188,_0x5ae35a,_0x115b2e- -0x161);}function _0x4c9d29(_0x1f17e7,_0x382c5e,_0x56fdd5,_0x4c9274){return _0x511cdd(_0x1f17e7-0xbc,_0x382c5e-_0x10e30b._0xec682,_0x1f17e7,_0x4c9274-0x15);}if(_0x23c813[_0x4c9d29(_0x3be989._0x43c1b2,0x3b9,_0x3be989._0x708826,_0x3be989._0x5d0e25)]instanceof UnauthorizedError)return Object[_0x4c9d29(_0x3be989._0x21457d,_0x3be989._0x2bf50b,0x595,0x3f7)]({'code':_0x177494(0x38f,-_0x3be989._0x4fb4d6,0x1fa,0xb),'message':_0x4c9d29(0x6d2,_0x3be989._0x30a927,0x409,0x4ea)+_0x23c813[_0x4c9d29(0x48c,_0x3be989._0x57ed87,_0x3be989._0x42eb22,_0x3be989._0x45ea2e)]+_0x177494(_0x3be989._0x60d83e,0x27e,_0x3be989._0x1527d8,0x343)});if(_0x23c813[_0x4c9d29(_0x3be989._0x260702,_0x3be989._0x1638ce,0x4df,0x3a9)]instanceof McpError&&_0x23c813['error']['code']===ErrorCode['RequestTimeout'])return Object[_0x4c9d29(_0x3be989._0x1d49cf,0x4a6,0x501,_0x3be989._0x20ae43)]({'code':_0x4c9d29(_0x3be989._0x31375c,-_0x3be989._0x56aef1,-0x49,_0x3be989._0x30add8),'message':timeoutMessageByOperation[_0x23c813[_0x177494(-_0x3be989._0x55cc27,_0x3be989._0x2bcdf3,_0x3be989._0x3550fa,0x128)]](_0x23c813[_0x4c9d29(_0x3be989._0x13e363,0x517,0x521,0x486)])});const _0x1aa890=failureByOperation[_0x23c813[_0x4c9d29(0x34f,0x1e1,_0x3be989._0x15d35d,_0x3be989._0x530398)]];return Object[_0x4c9d29(_0x3be989._0x524335,0x57e,0x42d,_0x3be989._0x5bf804)]({'code':_0x1aa890['code'],'message':_0x1aa890[_0x4c9d29(_0x3be989._0x8db5c1,_0x3be989._0x5af940,_0x3be989._0xb20bf,_0x3be989._0x2113fd)](_0x23c813[_0x177494(0x484,0x2d2,_0x3be989._0x4733b1,0x4a0)])});}function redactMcpDiagnostic(_0x4861b3,_0x56b339){const _0x31c4b4={_0x561505:0x2f9,_0x1e96e0:0x3e6,_0x37fccb:0x503,_0x21c101:0x49a,_0x351662:0x659},_0x5fa5a9={_0x567325:0x1e8,_0x3cdeba:0xa8,_0x563fbd:0x144},_0x2c88c2={_0x397486:0x4f4};function _0x205bbc(_0x2e8ce0,_0x2aefb6,_0x2ee437,_0x25603f){return _0x30b865(_0x2e8ce0-0x1f,_0x2e8ce0,_0x2ee437-_0x2c88c2._0x397486,_0x25603f-0x178);}const _0x51c21c=[...new Set(_0x56b339['filter'](_0x3dd8e5=>_0x3dd8e5['length']>0x0))][_0x51db33(_0x31c4b4._0x561505,_0x31c4b4._0x1e96e0,0x3a9,0x549)]((_0x3e68cd,_0x42fe8a)=>_0x42fe8a['length']-_0x3e68cd[_0x205bbc(0x4fc,0x904,0x6f9,0x846)]);if(_0x4861b3['length']===0x0||_0x51c21c['length']===0x0)return _0x4861b3;let _0xe88c3d='',_0x55d3d8=0x0;function _0x51db33(_0xfbd308,_0x3febce,_0x25fea8,_0x7e03ef){return _0x511cdd(_0xfbd308-_0x5fa5a9._0x567325,_0x3febce-_0x5fa5a9._0x3cdeba,_0xfbd308,_0x25fea8-_0x5fa5a9._0x563fbd);}while(_0x55d3d8<_0x4861b3['length']){const _0x5ce1f7=_0x51c21c[_0x205bbc(0x3e5,_0x31c4b4._0x37fccb,_0x31c4b4._0x21c101,0x62f)](_0x40d595=>_0x4861b3[_0x51db33(0x541,0x64b,0x4eb,0x49f)](_0x40d595,_0x55d3d8));_0x5ce1f7?(_0xe88c3d+='[REDACTED]',_0x55d3d8+=_0x5ce1f7[_0x51db33(0x724,_0x31c4b4._0x351662,0x531,0x6fa)]):(_0xe88c3d+=_0x4861b3[_0x55d3d8],_0x55d3d8+=0x1);}return _0xe88c3d;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x381d17){const _0x331bda={_0x5076ab:0x139,_0x17cc5c:0x5c},_0x198d73={_0x542738:0x1c9,_0x37b0b5:0x10f,_0x375932:0xe5};function _0x1d8963(_0x328a62,_0x6fd486,_0x376832,_0x4a12e5){return _0x30b865(_0x328a62-_0x198d73._0x542738,_0x4a12e5,_0x6fd486- -_0x198d73._0x37b0b5,_0x4a12e5-_0x198d73._0x375932);}return typeof _0x381d17==='object'&&_0x381d17!==null||typeof _0x381d17===_0x1d8963(-0xa4,-_0x331bda._0x5076ab,0x53,-_0x331bda._0x17cc5c);}function createOwnedMcpSafeError(_0x1a305e){const _0x2d5ed8={_0x3ea348:0x491,_0x1a4ca4:0x740,_0x13152b:0x320,_0x20a058:0x3de},_0x428fde={_0x3a06d6:0x181},_0x1d7042={_0x2c2dde:0x1bd},_0x9b87d6=toMcpSafeError(_0x1a305e);function _0x1b71d0(_0x400198,_0x2843f8,_0x3715a5,_0x8c463c){return _0x511cdd(_0x400198-_0x1d7042._0x2c2dde,_0x2843f8-0x56,_0x2843f8,_0x3715a5-0x1fb);}const _0x386c36=Object[_0x1b71d0(0x4dd,_0x2d5ed8._0x3ea348,0x5dd,_0x2d5ed8._0x1a4ca4)]({'code':_0x9b87d6['code'],'message':_0x9b87d6[_0x553b9b(_0x2d5ed8._0x13152b,0x1f3,0x46d,_0x2d5ed8._0x20a058)]});ownedMcpSafeErrors['set'](_0x9b87d6,_0x386c36);function _0x553b9b(_0x3f94da,_0x278c88,_0x4a8da0,_0x93cf41){return _0x511cdd(_0x3f94da-0x184,_0x278c88-_0x428fde._0x3a06d6,_0x93cf41,_0x3f94da-0x1f);}return _0x9b87d6;}function extractOwnedMcpSafeError(_0x51233b){const _0x1fc357={_0x5c1165:0x98c,_0x16c70d:0x5e9,_0x2f371d:0x4f6},_0x47ef88={_0x209c69:0x63,_0x900307:0x2a7,_0x1754f3:0x151},_0x54e7d5={_0x17abd0:0x679};function _0x1bea71(_0xe48734,_0x2e1b8e,_0x2443a8,_0x504802){return _0x30b865(_0xe48734-0x109,_0x2e1b8e,_0x504802-_0x54e7d5._0x17abd0,_0x504802-0x8);}function _0x3bc72e(_0x248f56,_0x3b97d0,_0x448065,_0x196f06){return _0x30b865(_0x248f56-_0x47ef88._0x209c69,_0x196f06,_0x248f56-_0x47ef88._0x900307,_0x196f06-_0x47ef88._0x1754f3);}if(!isWeakMapKey(_0x51233b))return void 0x0;const _0x1bbedb=ownedMcpSafeErrors['get'](_0x51233b);if(!_0x1bbedb)return void 0x0;const _0x4707c7=Object['freeze']({'code':_0x1bbedb[_0x1bea71(0x90a,0xae1,0xaf5,_0x1fc357._0x5c1165)],'message':_0x1bbedb['message']});return ownedMcpSafeErrors[_0x3bc72e(_0x1fc357._0x16c70d,_0x1fc357._0x2f371d,0x7f6,0x5e9)](_0x4707c7,_0x1bbedb),_0x4707c7;}function ownValue(_0x167492,_0xf72512){return _0x167492&&Object['hasOwn'](_0x167492,_0xf72512)?_0x167492[_0xf72512]:void 0x0;}function isToolPermissionClass(_0x547409){const _0x3c4480={_0x1995b2:0x4a8,_0x45f269:0x528,_0x2975c3:0x610,_0x51bbb2:0x525,_0x4ed81c:0x372,_0x50981c:0x465},_0xc62bae={_0x32741b:0xb8,_0x4d30c8:0x119},_0x51d215={_0x3ec837:0x44};function _0x51164b(_0xde38ee,_0x29cd06,_0x15311d,_0x5d6577){return _0x30b865(_0xde38ee-_0x51d215._0x3ec837,_0x15311d,_0x5d6577-0x512,_0x5d6577-0x1b1);}function _0x25ac0d(_0x1c6597,_0x1142a9,_0x2013af,_0x37f9d4){return _0x511cdd(_0x1c6597-0x52,_0x1142a9-_0xc62bae._0x32741b,_0x1c6597,_0x37f9d4- -_0xc62bae._0x4d30c8);}return _0x547409===_0x51164b(_0x3c4480._0x1995b2,0x3da,0x409,_0x3c4480._0x45f269)||_0x547409===_0x51164b(_0x3c4480._0x2975c3,_0x3c4480._0x51bbb2,0x656,0x666)||_0x547409===_0x51164b(0x345,_0x3c4480._0x4ed81c,0x4ac,_0x3c4480._0x50981c);}function suggestedPermissionClass(_0x52e408){const _0x3eb406={_0x173755:0x593,_0x5710eb:0x641,_0x1299de:0x950,_0x5319ac:0x149,_0x46b2f2:0xca,_0x1b6a46:0x32c,_0x314688:0x69b,_0xeecb02:0x66b},_0x155803={_0x643304:0x14},_0x177915=_0x52e408[_0x227221(_0x3eb406._0x173755,0x778,_0x3eb406._0x5710eb,_0x3eb406._0x1299de)]?.[_0x5cb5b5(_0x3eb406._0x5319ac,_0x3eb406._0x46b2f2,_0x3eb406._0x1b6a46,0x95)];function _0x227221(_0x5c3536,_0x10dfe2,_0x346749,_0x4cc88f){return _0x30b865(_0x5c3536-0x18e,_0x5c3536,_0x10dfe2-0x547,_0x4cc88f-0x44);}function _0x5cb5b5(_0x25a503,_0xd824f8,_0x37b43b,_0x34bae7){return _0x30b865(_0x25a503-0x1e9,_0x37b43b,_0x25a503-_0x155803._0x643304,_0x34bae7-0x186);}if(_0x177915===!![])return'read';if(_0x177915===![])return _0x227221(0x7f2,_0x3eb406._0x314688,_0x3eb406._0xeecb02,0x833);return void 0x0;}function isJsonValue(_0x513171){const _0x78bdc6={_0x536105:0x3e,_0x247c2f:0x1a,_0x51286e:0x811,_0x30a471:0x118,_0x1ad348:0x2c5,_0x3c9bc3:0x73e,_0xb6bad8:0x789,_0x20e890:0x60,_0x232b7d:0x138},_0x1142cb={_0x5e7513:0x25,_0x120fe6:0x1c7},_0x3b7943={_0x33ac4b:0x19c,_0x40825e:0x2f2};function _0xf7a473(_0x4880d3,_0x1e50f7,_0x52648c,_0x1b09b8){return _0x511cdd(_0x4880d3-0x28,_0x1e50f7-_0x3b7943._0x33ac4b,_0x52648c,_0x4880d3-_0x3b7943._0x40825e);}if(_0x513171===null||typeof _0x513171===_0x5bbaaa(-_0x78bdc6._0x536105,-0x2d,-_0x78bdc6._0x247c2f,0x124)||typeof _0x513171===_0xf7a473(0x7cd,_0x78bdc6._0x51286e,0x814,0x699)||typeof _0x513171===_0x5bbaaa(_0x78bdc6._0x30a471,_0x78bdc6._0x1ad348,-0xbe,0x27b))return!![];if(Array[_0xf7a473(_0x78bdc6._0x3c9bc3,0x678,0x8cb,0x916)](_0x513171))return _0x513171[_0xf7a473(0x816,_0x78bdc6._0xb6bad8,0x7a2,0x6ef)](isJsonValue);if(!isObject(_0x513171))return![];function _0x5bbaaa(_0x179e23,_0x71b2c3,_0x550030,_0x1f4c74){return _0x511cdd(_0x179e23-0xde,_0x71b2c3-_0x1142cb._0x5e7513,_0x1f4c74,_0x179e23- -_0x1142cb._0x120fe6);}return Object[_0x5bbaaa(-_0x78bdc6._0x20e890,-0x1dd,-0x238,-_0x78bdc6._0x232b7d)](_0x513171)['every'](isJsonValue);}function projectMcpTools(_0x2f74e1){const _0x6f2422={_0x1653a8:0x762,_0x3703fd:0x8d4,_0x3ac600:0x5cd,_0x51838f:0x4f,_0x22810d:0x5a,_0x386dca:0x21f,_0x18ea55:0x93,_0x33bfab:0x82,_0x225db2:0x6cb,_0x3eff8d:0x4d2,_0x4c1f77:0x409,_0x3ca2a8:0x25f,_0x3c998c:0x25f,_0x23e535:0x6b9,_0x176af4:0x432,_0x43a753:0x496,_0x18bea4:0x34e,_0x3bfbaf:0x1b2,_0x2720be:0x785,_0x3e3567:0x5d0,_0x27743b:0x5bf,_0x169ab7:0x171,_0x23f086:0x159},_0x4c2728={_0xce05ec:0x10f},_0x5275b5={_0xfe8cc3:0x2d,_0x112449:0xd3};function _0x351763(_0x1379d9,_0x3fa691,_0x4e016b,_0x38c348){return _0x30b865(_0x1379d9-0x18e,_0x3fa691,_0x4e016b-_0x5275b5._0xfe8cc3,_0x38c348-_0x5275b5._0x112449);}const _0x4d5023=[],_0xf11998=[];function _0xda8c4(_0x354aea,_0x19d997,_0x4e2bc5,_0x14fe57){return _0x30b865(_0x354aea-_0x4c2728._0xce05ec,_0x4e2bc5,_0x14fe57-0x609,_0x14fe57-0x6d);}for(const _0x2c1c03 of _0x2f74e1[_0xda8c4(_0x6f2422._0x1653a8,0x721,0x99b,_0x6f2422._0x3703fd)]){const _0x4a6f9f=ownValue(_0x2f74e1[_0xda8c4(_0x6f2422._0x3ac600,0x61e,0x5e1,0x797)],_0x2c1c03['name']),_0x2ada75=isToolPermissionClass(_0x4a6f9f)?_0x4a6f9f:void 0x0,_0xfcd60d=_0x2ada75??_0x351763(-_0x6f2422._0x51838f,0xed,-0x80,-0x188),_0xb34880=suggestedPermissionClass(_0x2c1c03);_0xf11998[_0x351763(_0x6f2422._0x22810d,0x1c,_0x6f2422._0x386dca,0xa4)]({'name':_0x2c1c03[_0x351763(0x3ec,0x312,0x34e,0x4a8)],..._0x2c1c03[_0x351763(-_0x6f2422._0x18ea55,-0x38,-0x34,_0x6f2422._0x33bfab)]!==void 0x0?{'description':_0x2c1c03[_0xda8c4(_0x6f2422._0x225db2,_0x6f2422._0x3eff8d,_0x6f2422._0x4c1f77,0x5a8)]}:{},...isJsonValue(_0x2c1c03[_0x351763(0x185,0x77,_0x6f2422._0x3ca2a8,0x37e)])?{'inputSchema':_0x2c1c03[_0x351763(0x21b,0x1ae,_0x6f2422._0x3c998c,0x19a)]}:{},'permissionClass':_0xfcd60d,'permissionConfigured':_0x2ada75!==void 0x0,..._0xb34880!==void 0x0?{'suggestedPermissionClass':_0xb34880}:{}});if(ownValue(_0x2f74e1[_0xda8c4(0x6e1,0x422,_0x6f2422._0x23e535,0x56f)],_0x2c1c03[_0x351763(_0x6f2422._0x176af4,_0x6f2422._0x43a753,_0x6f2422._0x18bea4,_0x6f2422._0x3bfbaf)])===![])continue;_0x4d5023[_0xda8c4(_0x6f2422._0x2720be,0x852,0x823,0x7fb)](createMcpTool({'serverName':_0x2f74e1[_0xda8c4(0x592,_0x6f2422._0x3e3567,0x880,0x696)]??_0x2f74e1['serverName'],'tool':_0x2c1c03,'client':_0x2f74e1[_0xda8c4(_0x6f2422._0x27743b,0x42d,0x679,0x637)],'permissionClass':_0xfcd60d,'internalLifecycle':_0x2f74e1[_0x351763(0x329,_0x6f2422._0x169ab7,_0x6f2422._0x23f086,0x120)]}));}return{'tools':_0x4d5023,'descriptors':_0xf11998};}function createMcpToolName(_0x1da465,_0x178d70){const _0x2c8bd0={_0x15a023:0x64,_0x48dbef:0x185},_0x53b819={_0x2046e8:0xbe,_0x1e236c:0x186};function _0x2b5d42(_0x1c9169,_0x6808bc,_0x4029c1,_0x5e314e){return _0x30b865(_0x1c9169-_0x53b819._0x2046e8,_0x1c9169,_0x5e314e-0xa9,_0x5e314e-_0x53b819._0x1e236c);}function _0x1e6e77(_0x288202,_0x58acd4,_0x1530bf,_0x35e937){return _0x30b865(_0x288202-0x102,_0x1530bf,_0x35e937- -0x49,_0x35e937-0x147);}const _0x7e3aae=_0x5e1200=>_0x5e1200[_0x1e6e77(0xc2,0x1e2,0x25f,0x18a)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'');return _0x1e6e77(_0x2c8bd0._0x15a023,0x14d,0x30e,_0x2c8bd0._0x48dbef)+_0x7e3aae(_0x1da465)+'_'+_0x7e3aae(_0x178d70);}function isObject(_0x3b1da4){const _0x486bac={_0x5f4d46:0x254,_0x3cc31d:0x3a4,_0x4e7631:0x493},_0x1e324a={_0x389f0a:0xe},_0x3b1384={_0x275778:0xa6,_0x48d9df:0x18c,_0x26762a:0x10d};function _0x26e942(_0x4903f1,_0x6a173c,_0x5dfc79,_0x2c343a){return _0x30b865(_0x4903f1-_0x3b1384._0x275778,_0x2c343a,_0x4903f1-_0x3b1384._0x48d9df,_0x2c343a-_0x3b1384._0x26762a);}function _0xcd1957(_0x29ea6f,_0x25ab7e,_0x3e8374,_0x12eb0a){return _0x30b865(_0x29ea6f-0xa0,_0x25ab7e,_0x3e8374-0x3bd,_0x12eb0a-_0x1e324a._0x389f0a);}return typeof _0x3b1da4===_0x26e942(_0x486bac._0x5f4d46,0xcc,_0x486bac._0x3cc31d,0x3ab)&&_0x3b1da4!==null&&!Array[_0x26e942(0x3f0,0x41b,0x42e,_0x486bac._0x4e7631)](_0x3b1da4);}function toSupportedSchema(_0x13d066){const _0xf4f83f={_0x3072d4:0x513,_0x2aa085:0x2ad,_0x3fd5ff:0x273,_0x5d9aeb:0x2a6,_0x591c84:0x2f1,_0x33a77b:0x56a,_0x5754e7:0x408,_0x4e2931:0x4ab,_0x2b25ed:0x391,_0x23c2af:0x3f5,_0x585057:0x152,_0x33223c:0x809,_0x7e114b:0x473,_0x3bd2fa:0x6b8,_0x31a9be:0x513,_0x96ce5a:0x69a,_0x4fdcf6:0x5c2,_0x2af956:0x516,_0x4d5166:0x407,_0x1413c0:0x4a4,_0x3c58ac:0x26c,_0x2de594:0x237,_0x3c4bca:0x7eb,_0x57192d:0x6dc,_0x588ed3:0x3f9,_0x40eb4a:0x402,_0x25c2a8:0x1fb,_0x147b00:0x12e,_0x3b790f:0x3cd,_0x558fc9:0x523},_0x59cdaf={_0x99eb91:0x517,_0x188686:0x16e},_0x539db4={_0x2d6b2a:0xe0,_0x22a9a5:0x305};function _0x29464c(_0x2df4d5,_0x107ca2,_0x420267,_0x2618e4){return _0x30b865(_0x2df4d5-_0x539db4._0x2d6b2a,_0x420267,_0x107ca2-_0x539db4._0x22a9a5,_0x2618e4-0x199);}if(!isObject(_0x13d066))return void 0x0;if(_0x13d066[_0x4ff8ba(0x309,0x4ae,_0xf4f83f._0x3072d4,0x382)]===_0x29464c(_0xf4f83f._0x2aa085,0x2a6,0x458,0x266))return{'type':_0x29464c(_0xf4f83f._0x3fd5ff,_0xf4f83f._0x5d9aeb,_0xf4f83f._0x591c84,0xb8)};if(_0x13d066[_0x4ff8ba(_0xf4f83f._0x33a77b,_0xf4f83f._0x5754e7,0x513,0x44f)]==='number'||_0x13d066[_0x29464c(_0xf4f83f._0x4e2931,0x301,0x152,_0xf4f83f._0x2b25ed)]===_0x29464c(_0xf4f83f._0x23c2af,0x321,0x406,_0xf4f83f._0x585057))return{'type':_0x29464c(0x694,0x5f8,0x6d7,_0xf4f83f._0x33223c)};if(_0x13d066[_0x4ff8ba(_0xf4f83f._0x7e114b,_0xf4f83f._0x3bd2fa,_0xf4f83f._0x31a9be,0x3ff)]===_0x4ff8ba(_0xf4f83f._0x96ce5a,_0xf4f83f._0x4fdcf6,0x60e,_0xf4f83f._0x2af956))return{'type':_0x29464c(0x432,0x3fc,_0xf4f83f._0x4d5166,0x5ed)};if(_0x13d066[_0x29464c(_0xf4f83f._0x1413c0,0x301,_0xf4f83f._0x3c58ac,_0xf4f83f._0x2de594)]===_0x4ff8ba(0x85d,0x9e3,_0xf4f83f._0x3c4bca,0x9a6))return{'type':_0x4ff8ba(0x7ae,_0xf4f83f._0x57192d,0x7eb,0x987),'items':toSupportedSchema(_0x13d066[_0x29464c(0x2ee,_0xf4f83f._0x588ed3,_0xf4f83f._0x40eb4a,0x481)])??{'type':'string'}};if(_0x13d066[_0x29464c(0x2cc,0x301,_0xf4f83f._0x25c2a8,_0xf4f83f._0x147b00)]===_0x29464c(0x569,_0xf4f83f._0x3b790f,0x30f,_0xf4f83f._0x558fc9))return toNuvinToolSchema(_0x13d066);function _0x4ff8ba(_0x253a19,_0x5e8dc9,_0x4dfaae,_0x2d6073){return _0x30b865(_0x253a19-0x8b,_0x253a19,_0x4dfaae-_0x59cdaf._0x99eb91,_0x2d6073-_0x59cdaf._0x188686);}return void 0x0;}function toNuvinToolSchema(_0x29211a){const _0x1f4a6d={_0x259936:0xc5,_0x15a6e9:0x1fc,_0x3c1597:0x9c,_0x18a6c8:0x3b6,_0xdd7f46:0x3bb,_0x5b40e6:0xda,_0x3ebe80:0x101,_0x5710cc:0x87,_0x5b6e10:0xcc,_0x3ab209:0x38b,_0x5a52c0:0x50d,_0xcbd85c:0x4e5,_0x4b6e0b:0x249,_0x490ecd:0x1e8,_0x45e1fd:0x23e,_0x58a38c:0x11a,_0x1f861c:0x175,_0x1269a1:0x303,_0x100285:0x2b3},_0x4c5881={_0x6927f2:0xad,_0x8f29ea:0x46},_0x4c2345={_0x4fd230:0x5b};if(!isObject(_0x29211a)||_0x29211a[_0x39fc3b(0x89,-_0x1f4a6d._0x259936,-0x13c,0xa9)]!==_0x39fc3b(0x17a,_0x1f4a6d._0x15a6e9,_0x1f4a6d._0x3c1597,0x175))return{'type':'object','properties':{}};function _0x9b652a(_0x22e25e,_0x4d44f6,_0x40ea9f,_0x2b6913){return _0x511cdd(_0x22e25e-0x17b,_0x4d44f6-_0x4c2345._0x4fd230,_0x22e25e,_0x2b6913-0x3);}const _0x2629b4={},_0x416f1f=isObject(_0x29211a[_0x9b652a(_0x1f4a6d._0x18a6c8,_0x1f4a6d._0xdd7f46,0x34a,0x20a)])?_0x29211a[_0x39fc3b(_0x1f4a6d._0x5b40e6,-_0x1f4a6d._0x3ebe80,_0x1f4a6d._0x5710cc,_0x1f4a6d._0x5b6e10)]:{};for(const [_0x3d7c0c,_0x52b9c9]of Object[_0x9b652a(0x355,0x438,0x29e,_0x1f4a6d._0x3ab209)](_0x416f1f)){const _0x9f1e60=toSupportedSchema(_0x52b9c9);if(_0x9f1e60)_0x2629b4[_0x3d7c0c]=_0x9f1e60;}function _0x39fc3b(_0x1b948f,_0x3f67c6,_0x3b386b,_0x388a6c){return _0x30b865(_0x1b948f-0x155,_0x3b386b,_0x388a6c-_0x4c5881._0x6927f2,_0x388a6c-_0x4c5881._0x8f29ea);}const _0x451197=Array[_0x39fc3b(0x4cd,_0x1f4a6d._0x5a52c0,0x400,0x311)](_0x29211a['required'])?_0x29211a[_0x9b652a(_0x1f4a6d._0xcbd85c,0x3c3,_0x1f4a6d._0x4b6e0b,0x3dc)][_0x39fc3b(0x223,0x22d,_0x1f4a6d._0x490ecd,0x71)](_0x55855f=>typeof _0x55855f===_0x39fc3b(0x1e3,-0xe9,0x24c,0x4e)):void 0x0;return _0x451197?.[_0x39fc3b(0x2d4,0x3d5,0x3af,0x2b2)]?{'type':_0x39fc3b(_0x1f4a6d._0x45e1fd,_0x1f4a6d._0x58a38c,0x112,_0x1f4a6d._0x1f861c),'properties':_0x2629b4,'required':_0x451197}:{'type':_0x9b652a(0x333,_0x1f4a6d._0x1269a1,0x211,_0x1f4a6d._0x100285),'properties':_0x2629b4};}function isJsonObject(_0x281876){const _0x172876={_0x462a77:0x4b6},_0x321051={_0x4cba79:0x4f7,_0x35e8e9:0xd4};function _0x407380(_0x1a1db9,_0x53ecd8,_0xcc6198,_0x5efda5){return _0x30b865(_0x1a1db9-0xc1,_0x5efda5,_0x1a1db9-_0x321051._0x4cba79,_0x5efda5-_0x321051._0x35e8e9);}return typeof _0x281876===_0x407380(0x5bf,0x64d,0x526,_0x172876._0x462a77)&&_0x281876!==null&&!Array['isArray'](_0x281876);}function formatMcpContent(_0x1f5f12){const _0x2836ab={_0x100396:0x771,_0x3e94b2:0x160,_0x48f5fc:0x8,_0x35228c:0xa6,_0x4c337c:0x2b4,_0x1fbfa7:0xa6,_0x402053:0x4cc,_0x222768:0x50a,_0x4e445a:0x211,_0x3da7f2:0x3d5,_0x3ffda1:0x52b,_0x55ff14:0x3e7,_0x50a495:0x5ac,_0x5c77a2:0x51b,_0x33840c:0x39e,_0x473bb7:0x20b,_0x14bfe3:0x262,_0x2b4866:0x2ed},_0x465b16={_0x45509f:0x6e},_0x501dd7={_0x359234:0x6},_0x227193={_0x5c2837:0x434,_0x452178:0x54c,_0x41cb08:0x673,_0x312311:0x3a6,_0x531caf:0x25b,_0x27f475:0x1e6,_0x84ee7e:0x2dd},_0x507cc9={_0x2a446c:0x172},_0x3973c4=Array[_0x1357e1(0x4e6,0x5c8,_0x2836ab._0x100396,0x561)](_0x1f5f12[_0x3b8ddd(-_0x2836ab._0x3e94b2,-_0x2836ab._0x48f5fc,_0x2836ab._0x35228c,_0x2836ab._0x4c337c)])?_0x1f5f12[_0x3b8ddd(0x261,0x113,_0x2836ab._0x1fbfa7,0x1c2)]:[],_0x2dcb49=_0x3973c4[_0x3b8ddd(_0x2836ab._0x402053,_0x2836ab._0x222768,0x2fe,0x367)](_0x54e5eb=>{const _0x241577={_0x36aa05:0x15,_0x48f339:0x58};if(!isObject(_0x54e5eb))return'';if(_0x54e5eb[_0x3d1648(0x2cb,0x2a1,_0x227193._0x5c2837,0x3c7)]==='text'&&typeof _0x54e5eb[_0x3d1648(0x683,_0x227193._0x452178,_0x227193._0x41cb08,0x5c9)]===_0x3d1648(_0x227193._0x312311,0x246,_0x227193._0x531caf,_0x227193._0x27f475))return _0x54e5eb['text'];function _0x3d1648(_0x1091ae,_0x209f51,_0x47a1cb,_0x5b9fd1){return _0x1357e1(_0x1091ae-_0x241577._0x36aa05,_0x209f51-0x46,_0x5b9fd1,_0x209f51- -_0x241577._0x48f339);}function _0x344314(_0x58f2e7,_0x41f3e4,_0x52a1c7,_0x502cb4){return _0x1357e1(_0x58f2e7-_0x507cc9._0x2a446c,_0x41f3e4-0x22,_0x502cb4,_0x58f2e7- -0x416);}return JSON[_0x3d1648(0x36c,0x295,0x1f1,_0x227193._0x84ee7e)](_0x54e5eb);})[_0x1357e1(_0x2836ab._0x4e445a,0x310,_0x2836ab._0x3da7f2,0x2c1)](_0x2d7fdb=>_0x2d7fdb[_0x1357e1(0x3ad,0x677,0x4ae,0x502)]>0x0)[_0x1357e1(_0x2836ab._0x3ffda1,_0x2836ab._0x55ff14,_0x2836ab._0x50a495,_0x2836ab._0x5c77a2)]('\x0a');function _0x3b8ddd(_0x5c9b6b,_0x40f551,_0x4c990d,_0x3d1136){return _0x30b865(_0x5c9b6b-0x4e,_0x40f551,_0x4c990d-_0x501dd7._0x359234,_0x3d1136-0x21);}if(_0x2dcb49[_0x3b8ddd(_0x2836ab._0x33840c,0x3c3,_0x2836ab._0x473bb7,0xc6)]>0x0)return _0x2dcb49;function _0x1357e1(_0x2eef42,_0x1123f5,_0x187e99,_0x56d0f4){return _0x30b865(_0x2eef42-0x178,_0x187e99,_0x56d0f4-0x2fd,_0x56d0f4-_0x465b16._0x45509f);}return JSON[_0x1357e1(_0x2836ab._0x14bfe3,0xd9,0xe4,_0x2836ab._0x2b4866)](_0x1f5f12,null,0x2);}function createMcpTool(_0x579214){const _0x2bdc9b={_0x3bbb49:0x517,_0x20d5fa:0x3fc,_0x1bc78a:0x40b,_0x1d5f76:0x2c8,_0x153ee0:0x3ca,_0x26380d:0x4e7,_0x46e692:0x55d,_0x2a3dc8:0x653,_0x252beb:0x32b,_0x34fec8:0x23b,_0xf0dca7:0x2e4,_0x2f3d48:0x4f2,_0x52e011:0x42d,_0x15ee7a:0x7e7,_0x74ef3b:0x690,_0x5993fa:0x4dc,_0x2f6ee5:0x583,_0x40e9fc:0x4c2,_0x4aee0c:0x5c3,_0x25fa41:0x60d,_0x2b697a:0x5ab,_0x301cdd:0x5bd,_0x26deb3:0x593,_0x31b965:0x487},_0x3fa35f={_0xe7e3c0:0x41d,_0x5d64ac:0x566,_0x6f308:0x85e,_0x1ff0d0:0x7bb,_0x3decc2:0x6c3,_0x40c7ec:0x859,_0x3322db:0xa58,_0x404ca1:0x980,_0x19e0bf:0x3b3,_0x263068:0xf5,_0x121166:0x326,_0x489066:0x1f4,_0x216dc5:0x584,_0xba39c:0x663,_0x2f6263:0x6a9,_0x32ea68:0x7c1,_0x45ffed:0x93d,_0x54fbef:0x49,_0x1beb5c:0x864,_0x28a8f6:0x912,_0xcfb9c4:0x9bc},_0x3bb8a1={_0xa6b321:0x14b,_0x52c2fb:0x152};function _0x2ba82f(_0x49a7da,_0x5820f1,_0x4b1287,_0x7e939a){return _0x511cdd(_0x49a7da-0x169,_0x5820f1-0x16a,_0x49a7da,_0x5820f1-0xf2);}function _0xc907c8(_0xf9b882,_0x26ff76,_0x4daa12,_0x2f6c93){return _0x511cdd(_0xf9b882-_0x3bb8a1._0xa6b321,_0x26ff76-0x118,_0x26ff76,_0x4daa12-_0x3bb8a1._0x52c2fb);}const _0x34e49c=createMcpToolName(_0x579214['serverName'],_0x579214[_0xc907c8(0x735,0x3d6,0x5bd,0x738)]['name']);return defineTool({'name':_0x34e49c,'permissionClass':_0x579214[_0xc907c8(0x437,0x559,_0x2bdc9b._0x3bbb49,0x369)],..._0x579214[_0x2ba82f(_0x2bdc9b._0x20d5fa,_0x2bdc9b._0x1bc78a,_0x2bdc9b._0x1d5f76,_0x2bdc9b._0x153ee0)]!==void 0x0?{'internalLifecycle':_0x579214['internalLifecycle']}:{},'description':_0x579214[_0x2ba82f(_0x2bdc9b._0x26380d,_0x2bdc9b._0x46e692,_0x2bdc9b._0x2a3dc8,0x4da)]['description']??_0x2ba82f(_0x2bdc9b._0x252beb,0x447,_0x2bdc9b._0x34fec8,_0x2bdc9b._0xf0dca7)+_0x579214[_0x2ba82f(0x588,_0x2bdc9b._0x46e692,_0x2bdc9b._0x2f3d48,_0x2bdc9b._0x52e011)]['name']+_0xc907c8(_0x2bdc9b._0x15ee7a,0x892,_0x2bdc9b._0x74ef3b,_0x2bdc9b._0x5993fa)+_0x579214[_0xc907c8(_0x2bdc9b._0x2f6ee5,_0x2bdc9b._0x40e9fc,_0x2bdc9b._0x4aee0c,0x618)],'inputSchema':toNuvinToolSchema(_0x579214[_0xc907c8(_0x2bdc9b._0x25fa41,_0x2bdc9b._0x2b697a,_0x2bdc9b._0x301cdd,_0x2bdc9b._0x26deb3)][_0xc907c8(0x629,_0x2bdc9b._0x31b965,0x56c,0x61d)]),async *'execute'(_0x2500fa){const _0x2958da={_0x54fbcf:0x25e,_0x52a9de:0x197},_0x229878={_0x5b08dd:0x22};let _0x323ea9;function _0x46115f(_0x5602b4,_0x576379,_0x4cfd65,_0x81b44b){return _0x2ba82f(_0x576379,_0x4cfd65- -0x36f,_0x4cfd65-_0x229878._0x5b08dd,_0x81b44b-0xd2);}function _0x33ec5d(_0x5b8656,_0x572dfe,_0x4a3d5a,_0x5b02c5){return _0x2ba82f(_0x4a3d5a,_0x572dfe-_0x2958da._0x54fbcf,_0x4a3d5a-_0x2958da._0x52a9de,_0x5b02c5-0x99);}try{_0x323ea9=await _0x579214[_0x33ec5d(_0x3fa35f._0xe7e3c0,_0x3fa35f._0x5d64ac,0x4bd,0x47b)][_0x46115f(0xbd,0x265,0x1cc,0xb9)]({'name':_0x579214[_0x33ec5d(_0x3fa35f._0x6f308,_0x3fa35f._0x1ff0d0,0x5ac,0x98b)][_0x33ec5d(_0x3fa35f._0x3decc2,_0x3fa35f._0x40c7ec,_0x3fa35f._0x3322db,_0x3fa35f._0x404ca1)],'arguments':isJsonObject(_0x2500fa)?_0x2500fa:{}});if(_0x323ea9[_0x46115f(_0x3fa35f._0x19e0bf,0x1f6,0x270,0x26c)])throw toMcpSafeError({'serverName':_0x579214[_0x46115f(_0x3fa35f._0x263068,_0x3fa35f._0x121166,_0x3fa35f._0x489066,0x28d)],'operation':_0x33ec5d(0x50f,_0x3fa35f._0x216dc5,0x541,_0x3fa35f._0xba39c),'error':_0x323ea9});}catch(_0x3a41db){throw extractOwnedMcpSafeError(_0x3a41db)??toMcpSafeError({'serverName':_0x579214[_0x33ec5d(_0x3fa35f._0x2f6263,_0x3fa35f._0x32ea68,0x70e,_0x3fa35f._0x45ffed)],'operation':_0x46115f(-0x1bd,0xcc,-_0x3fa35f._0x54fbef,-0xd7),'error':_0x3a41db});}return yield createToolOutput(formatMcpContent(_0x323ea9),{'serverName':_0x579214[_0x33ec5d(0x6c7,0x7c1,0x923,_0x3fa35f._0x1beb5c)],'toolName':_0x579214['tool'][_0x33ec5d(_0x3fa35f._0x28a8f6,0x859,0x8be,_0x3fa35f._0xcfb9c4)],'result':_0x323ea9}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x1b392f){let _0x30e5e5=_0x1b392f;return{'get'(){return _0x30e5e5;},'set'(_0x2eadcb){_0x30e5e5=_0x2eadcb;}};}function resolveMcpTimeoutMs(_0x29a93d,_0x76dc3e){const _0x3ec896={_0x245c10:0x931,_0x3026bc:0x5bc},_0x1c141e={_0x331eb0:0x118,_0x34342a:0x39d};function _0x326cee(_0x45b231,_0x2a6b23,_0x1996fc,_0x241359){return _0x511cdd(_0x45b231-0x33,_0x2a6b23-_0x1c141e._0x331eb0,_0x241359,_0x1996fc-_0x1c141e._0x34342a);}return _0x29a93d[_0x326cee(_0x3ec896._0x245c10,_0x3ec896._0x3026bc,0x797,0x6f1)]??_0x76dc3e??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x5725f5,_0x5a6c09){const _0x594a22={_0x1de5bb:0x33f},_0x213317={_0x3863e7:0x3,_0x111b16:0x193,_0x5023a7:0x179};function _0x448d46(_0x23761f,_0x310a46,_0x316a90,_0x23990c){return _0x30b865(_0x23761f-_0x213317._0x3863e7,_0x316a90,_0x23990c-_0x213317._0x111b16,_0x23990c-_0x213317._0x5023a7);}return(_0x5a6c09?extractOwnedMcpSafeError(_0x5725f5[_0x448d46(0x414,0x33e,0x2f2,_0x594a22._0x1de5bb)]):void 0x0)??createOwnedMcpSafeError(_0x5725f5);}function createMcpGenerationLifecycle(_0x2f1516){const _0x127e31={_0x4ef637:0x7},_0x4da7f5={_0xe96a16:0x314,_0x382a73:0x2a1,_0x2e7303:0x1e8,_0x6c8e50:0x497};let _0xc36812=0x0,_0x2da889=![],_0x81a7fa=![],_0x2540d3,_0x42c894,_0x161d83;const _0x8ed02c=()=>{const _0x22ad21={_0xeeecf4:0xf1};if(!_0x2da889||_0xc36812!==0x0||_0x81a7fa)return;_0x81a7fa=!![];function _0x2bcba9(_0x2bd79c,_0x63ccfe,_0x4ac293,_0x51e1e6){return _0x56d3(_0x63ccfe- -_0x22ad21._0xeeecf4,_0x51e1e6);}void Promise['resolve']()['then'](_0x2f1516)[_0x2bcba9(_0x4da7f5._0xe96a16,_0x4da7f5._0x382a73,_0x4da7f5._0x2e7303,_0x4da7f5._0x6c8e50)](_0x42c894,_0x161d83);};return{'acquire'(){if(_0x2da889)throw new Error(_0x27853b(-0x3b,-_0x127e31._0x4ef637,0x1c1,-0x161));_0xc36812+=0x1;let _0x181088=![];function _0x27853b(_0x1a40c2,_0x22cdf3,_0x4e86f6,_0x91b41){return _0x56d3(_0x1a40c2- -0x22f,_0x22cdf3);}return()=>{if(_0x181088)return;_0x181088=!![],_0xc36812-=0x1,_0x8ed02c();};},'retire'(){return!_0x2540d3&&(_0x2540d3=new Promise((_0x48a2f1,_0x282f92)=>{_0x42c894=_0x48a2f1,_0x161d83=_0x282f92;})),_0x2da889=!![],_0x8ed02c(),_0x2540d3;}};}function buildMcpHttpHeaders(_0x3342cd){const _0x26c4a3={_0xeece22:0x8b,_0x46d8e5:0x13e,_0xf2cd72:0x1c6,_0x539f1b:0x309,_0x5ac214:0x1c8,_0x37b56f:0x775,_0x29a6a0:0x8ac,_0x1f402a:0x35,_0x4a1eca:0x710,_0x2c8cf1:0x659,_0x5bd90b:0x74d,_0xb8e4ac:0x834,_0x1dbe4b:0x546,_0x51bff2:0x9e},_0x8ffe6a={_0x205b3e:0x17a},_0x561b5b={_0x228ee7:0x322};function _0x50a2e9(_0x1a382f,_0x491f17,_0x3e3240,_0x4e7b6c){return _0x511cdd(_0x1a382f-0xd6,_0x491f17-0x1e6,_0x1a382f,_0x3e3240- -_0x561b5b._0x228ee7);}const _0xbf014b={..._0x3342cd[_0x50a2e9(0x24b,_0x26c4a3._0xeece22,_0x26c4a3._0x46d8e5,0x229)]??{}};_0x3342cd[_0x50a2e9(-0x221,-0x72,-0x11f,-0x3f)]?.[_0x50a2e9(-_0x26c4a3._0xf2cd72,-_0x26c4a3._0x539f1b,-0x13e,-0x331)]==='bearer'&&_0x3342cd['auth']['token']&&_0xbf014b[_0x50a2e9(0xe8,-0x18b,0x16,_0x26c4a3._0x5ac214)]===void 0x0&&(_0xbf014b[_0x2f70cb(0x7b3,_0x26c4a3._0x37b56f,_0x26c4a3._0x29a6a0,0x573)]=_0x50a2e9(-0x207,-0x3a,-_0x26c4a3._0x1f402a,-0x230)+_0x3342cd['auth'][_0x2f70cb(_0x26c4a3._0x4a1eca,0x7e7,_0x26c4a3._0x2c8cf1,0x839)]);function _0x2f70cb(_0x1bbe6f,_0x42263f,_0x2cc7b5,_0x5e8098){return _0x30b865(_0x1bbe6f-0xac,_0x2cc7b5,_0x42263f-0x625,_0x5e8098-_0x8ffe6a._0x205b3e);}return Object[_0x2f70cb(_0x26c4a3._0x5bd90b,0x63d,_0x26c4a3._0xb8e4ac,_0x26c4a3._0x1dbe4b)](_0xbf014b)[_0x50a2e9(-_0x26c4a3._0x51bff2,0x11b,0xcb,-0x59)]>0x0?_0xbf014b:void 0x0;}async function connectMcpServer(_0x2928eb,_0x599100,_0x5214f2){const _0x58113f={_0x80c174:0x628,_0x1e2e0c:0x588,_0x1c8e66:0x4f4,_0x5a614c:0x4d5,_0x3c3483:0x739,_0x462de4:0x6a4,_0x214aa5:0x286,_0x5a3e6f:0xfc,_0x58fbef:0x5bc,_0x238899:0x606,_0x4eae7b:0x658,_0x2a840e:0x7e2,_0xfd5b93:0x7d4,_0x28ac38:0x54b,_0x542728:0x3dc,_0x39b342:0x3c2,_0x134899:0x570,_0x579319:0x9d7,_0x19e846:0xa51,_0x27f7d4:0x2a8,_0xd830c3:0x444,_0x5a01c0:0x46f,_0x50acdc:0x6e0,_0x3af9d8:0x291,_0x420935:0x428,_0x190f25:0x49f,_0x12f45a:0x37a,_0x53e33c:0x901,_0xab853d:0x7a2,_0x2362c0:0x86e,_0x54cdc2:0x4d0,_0x423638:0x4b2,_0x2d590a:0x45f,_0x22c5b2:0x578,_0x231b85:0x41f,_0x868fd4:0x2b0,_0x5e3c5e:0x441,_0x2f5235:0x4bf,_0x12d902:0x666,_0x312b00:0x5c2,_0x5c05a7:0xa93,_0xd72df4:0x86e,_0x518ac9:0x8b7,_0x51c319:0x6ea,_0x5e9fc1:0x440,_0x4c2f6a:0x8b4,_0x517ca7:0x5ed,_0x2dcd09:0x705,_0x22bf49:0x7b5,_0x4001d9:0x6c5,_0x32e424:0x6c0,_0xeed0af:0x4dd,_0x3fdfdd:0x666,_0x4909b5:0x699,_0xc2feee:0x558,_0x492a2e:0x472,_0x5c2c58:0x748},_0x4db0df={_0x15f80b:0x8a2,_0xdef814:0x1a6,_0x3bd2cf:0x631,_0x33e6f2:0x64c,_0x5befc5:0x409,_0x2c4c64:0x49d,_0x1ee871:0x451},_0x14b6ae={_0x55fbbc:0x9f},_0x2bd690={_0x4861c6:0x37e,_0x4789cd:0x5b3,_0xc79a68:0x661},_0x488132={_0x460dc0:0x517,_0x321b07:0x53e},_0x15a18b={_0x4afc68:0x143,_0x5cd72a:0x9d},_0x13cfc7={_0x432b43:0x90f,_0x5493e7:0x76a,_0x3ac1ed:0x869,_0x583939:0x6bb,_0x22e8b0:0x5dd},_0x3a0a02={_0x18be15:0x4ee,_0x1ab582:0x6fc,_0x224eac:0x761},_0x374b72={_0x496a69:0x80b,_0x55d089:0x936,_0x480a0d:0x99a,_0x51f1ab:0x16d,_0x26de2a:0x24b,_0x489124:0x2f7},_0x4775a4={_0x29593e:0x52},_0x4a6662={_0x41e968:0x17e,_0x26f5f2:0xf1},_0x580d07={_0x51270e:0x295,_0x217f61:0x39},_0x1a9720={_0x25843f:0x20,_0x407ceb:0xe8},_0x1c78e5=new Client({'name':_0x4e68fa(0x6da,_0x58113f._0x80c174,0x3de,_0x58113f._0x1e2e0c),'version':_0x4e68fa(_0x58113f._0x1c8e66,_0x58113f._0x5a614c,_0x58113f._0x3c3483,_0x58113f._0x462de4)}),_0x32fb3f=_0x5214f2?.[_0xb2820f(0x250,_0x58113f._0x214aa5,0x187,_0x58113f._0x5a3e6f)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x15b11f=new Set();let _0xf22d84;function _0x4e68fa(_0x14c5ea,_0x312d50,_0x25908d,_0x59b55d){return _0x30b865(_0x14c5ea-_0x1a9720._0x25843f,_0x25908d,_0x59b55d-0x633,_0x59b55d-_0x1a9720._0x407ceb);}function _0xb2820f(_0x48cabf,_0x17f6e6,_0x2676f0,_0x4cad5e){return _0x30b865(_0x48cabf-0x130,_0x2676f0,_0x48cabf-_0x580d07._0x51270e,_0x4cad5e-_0x580d07._0x217f61);}let _0x586be8=![];const _0xc999aa=()=>{function _0x16cd4f(_0xd54555,_0x499708,_0x2a34f1,_0x1ff293){return _0xb2820f(_0x1ff293- -_0x4a6662._0x41e968,_0x499708-0xdb,_0x2a34f1,_0x1ff293-_0x4a6662._0x26f5f2);}if(_0x586be8||_0xf22d84)return;function _0x3bb343(_0x1bfe78,_0x2a7de6,_0x2afc5c,_0x414ba5){return _0xb2820f(_0x1bfe78-0x280,_0x2a7de6-0x1e1,_0x2afc5c,_0x414ba5-_0x4775a4._0x29593e);}_0xf22d84={'code':_0x3bb343(_0x374b72._0x496a69,0x8ed,_0x374b72._0x55d089,_0x374b72._0x480a0d),'cause':new Error(_0x16cd4f(_0x374b72._0x51f1ab,0x1a6,_0x374b72._0x26de2a,_0x374b72._0x489124))};for(const _0x2698dd of _0x15b11f){try{_0x2698dd(_0xf22d84);}catch{}}};_0x1c78e5[_0xb2820f(0x5ad,0x664,_0x58113f._0x58fbef,0x757)]=()=>{const _0xfcd8f9={_0x6b1b6a:0x119},_0x37b648={_0x424c20:0x198,_0x1bb03d:0x49};function _0x3a9fc9(_0x24a693,_0x3206f9,_0x562272,_0x280a16){return _0xb2820f(_0x3206f9-0x1ff,_0x3206f9-_0x37b648._0x424c20,_0x24a693,_0x280a16-_0x37b648._0x1bb03d);}function _0x485c8d(_0x5b7999,_0xcb0c50,_0x42284a,_0x41e8ed){return _0x4e68fa(_0x5b7999-_0xfcd8f9._0x6b1b6a,_0xcb0c50-0x7a,_0x41e8ed,_0x42284a- -0x463);}console['warn'](_0x3a9fc9(_0x3a0a02._0x18be15,0x560,_0x3a0a02._0x1ab582,_0x3a0a02._0x224eac),{'server':_0x2928eb,'code':_0x3a9fc9(0x74f,0x7f8,0x68d,0x6a2)});},_0x1c78e5['onclose']=_0xc999aa;try{if(_0x599100['transport']==='http'||_0x599100[_0x4e68fa(0x6b1,0x53a,_0x58113f._0x238899,_0x58113f._0x4eae7b)]){if(!_0x599100['url'])throw new Error('MCP\x20server\x20'+_0x2928eb+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x599100[_0x4e68fa(_0x58113f._0x2a840e,_0x58113f._0xfd5b93,_0x58113f._0x28ac38,0x64e)]?.[_0xb2820f(0x291,0x19d,_0x58113f._0x542728,0x41c)]==='oauth'&&!_0x5214f2?.[_0xb2820f(0x4d0,_0x58113f._0x39b342,_0x58113f._0x134899,0x351)])throw new Error(_0x4e68fa(0xa3c,_0x58113f._0x579319,_0x58113f._0x19e846,0x920)+_0x2928eb+_0xb2820f(_0x58113f._0x27f7d4,0x2ec,_0x58113f._0xd830c3,0x274));const _0x456d85=buildMcpHttpHeaders(_0x599100),_0x595742=_0x599100[_0x4e68fa(0x52f,_0x58113f._0x5a01c0,_0x58113f._0x50acdc,0x64e)]?.[_0xb2820f(_0x58113f._0x3af9d8,_0x58113f._0x420935,_0x58113f._0x190f25,_0x58113f._0x12f45a)]==='oauth'&&_0x5214f2?.[_0x4e68fa(_0x58113f._0x53e33c,0x6ec,_0x58113f._0xab853d,_0x58113f._0x2362c0)]?createMcpOAuthProvider({'serverName':_0x2928eb,'callbackUrl':_0x5214f2[_0xb2820f(_0x58113f._0x54cdc2,0x5af,0x2e9,_0x58113f._0x423638)][_0x4e68fa(_0x58113f._0x2d590a,0x45c,0x785,_0x58113f._0x22c5b2)],'storageDir':_0x5214f2['oauth'][_0xb2820f(0x5d4,0x5f3,0x72f,_0x58113f._0x231b85)],'config':_0x599100[_0xb2820f(_0x58113f._0x868fd4,0x39f,0x15c,_0x58113f._0x5e3c5e)],'onRedirect':_0x22580e=>_0x5214f2[_0x4e68fa(0x99f,0x6bd,0x749,0x86e)]?.[_0x4e68fa(0x875,0x4d9,0x610,0x695)](_0x2928eb,_0x22580e)}):void 0x0,_0x170b45=new StreamableHTTPClientTransport(new URL(_0x599100['url']),{'authProvider':_0x595742,'requestInit':_0x456d85?{'headers':_0x456d85}:void 0x0});await _0x1c78e5[_0x4e68fa(_0x58113f._0x2f5235,0x81a,0x6a6,_0x58113f._0x12d902)](_0x170b45,{'timeout':_0x32fb3f[_0xb2820f(0x520,_0x58113f._0x312b00,0x380,0x425)](),..._0x5214f2?.[_0x4e68fa(_0x58113f._0x5c05a7,0xac0,_0x58113f._0xd72df4,_0x58113f._0x518ac9)]!==void 0x0?{'signal':_0x5214f2[_0x4e68fa(0x7bc,0x86a,_0x58113f._0x51c319,0x8b7)]}:{}});}else{if(!_0x599100[_0xb2820f(_0x58113f._0x5e9fc1,0x5d1,0x552,0x29e)])throw new Error('MCP\x20server\x20'+_0x2928eb+_0x4e68fa(_0x58113f._0x4c2f6a,_0x58113f._0x517ca7,0x658,_0x58113f._0x2dcd09));const _0x4a999f=new StdioClientTransport({'command':_0x599100['command'],'args':_0x599100['args']??[],'env':_0x599100['env'],'stderr':'pipe'});await _0x1c78e5[_0x4e68fa(0x606,_0x58113f._0x22bf49,_0x58113f._0x4001d9,_0x58113f._0x12d902)](_0x4a999f,{'timeout':_0x32fb3f['get'](),..._0x5214f2?.[_0x4e68fa(0xa6c,_0x58113f._0x32e424,0x809,0x8b7)]!==void 0x0?{'signal':_0x5214f2[_0xb2820f(0x519,_0x58113f._0xeed0af,_0x58113f._0x3fdfdd,_0x58113f._0x4909b5)]}:{}});}}catch(_0x548e80){throw createOwnedMcpSafeError({'serverName':_0x2928eb,'operation':_0x4e68fa(_0x58113f._0xc2feee,_0x58113f._0x492a2e,_0x58113f._0x5c2c58,_0x58113f._0x3fdfdd),'error':_0x548e80});}return{async 'listTools'(_0x12a84d){const _0x2a2dc1={_0x225937:0x194},_0x793ccf={_0x5e229e:0x168,_0xe71212:0x130};function _0x35f158(_0x306f9a,_0x4e23ff,_0xe36eba,_0x5477d3){return _0xb2820f(_0x4e23ff-0xf1,_0x4e23ff-_0x793ccf._0x5e229e,_0xe36eba,_0x5477d3-_0x793ccf._0xe71212);}const _0x395ab2=_0x12a84d?.['signal']??_0x5214f2?.[_0x13c5ad(_0x13cfc7._0x432b43,_0x13cfc7._0x5493e7,_0x13cfc7._0x3ac1ed,0x691)];function _0x13c5ad(_0x3e1a17,_0xfe5858,_0x757f04,_0x3901b9){return _0x4e68fa(_0x3e1a17-0x1db,_0xfe5858-_0x2a2dc1._0x225937,_0x3e1a17,_0x757f04- -0x4e);}try{return await _0x1c78e5['listTools'](void 0x0,{'timeout':_0x32fb3f[_0x35f158(0x69f,0x611,_0x13cfc7._0x583939,_0x13cfc7._0x22e8b0)](),..._0x395ab2!==void 0x0?{'signal':_0x395ab2}:{}});}catch(_0x57eac3){throw createOwnedMcpSafeError({'serverName':_0x2928eb,'operation':'discover','error':_0x57eac3});}},'onTerminalError'(_0x16b791){const _0x2849b5={_0x3c25f1:0x6cc},_0x5314a3={_0x3c6832:0xb,_0xcf86d4:0x23},_0x9a79b8={_0x4b1427:0x79,_0x599390:0x2d4};_0x15b11f[_0x40c326(0x60a,_0x488132._0x460dc0,_0x488132._0x321b07,0x38c)](_0x16b791);function _0x40c326(_0x5da75a,_0x1d97e4,_0x2c2dc5,_0x4c904e){return _0x4e68fa(_0x5da75a-0x18a,_0x1d97e4-_0x9a79b8._0x4b1427,_0x5da75a,_0x2c2dc5- -_0x9a79b8._0x599390);}function _0x32cdd5(_0x257708,_0x454c34,_0x341061,_0x1412e){return _0x4e68fa(_0x257708-_0x15a18b._0x4afc68,_0x454c34-_0x15a18b._0x5cd72a,_0x341061,_0x454c34- -0x3ae);}const _0x3730e3=_0xf22d84;return _0x3730e3&&queueMicrotask(()=>{function _0x29d693(_0x599921,_0x44bbd5,_0x385ec7,_0x4fc030){return _0x40c326(_0x385ec7,_0x44bbd5-0x1c7,_0x44bbd5-_0x5314a3._0x3c6832,_0x4fc030-_0x5314a3._0xcf86d4);}if(_0x15b11f[_0x29d693(0x710,0x587,_0x2849b5._0x3c25f1,0x62e)](_0x16b791))_0x16b791(_0x3730e3);}),()=>_0x15b11f[_0x32cdd5(0x5ca,0x44b,0x496,0x425)](_0x16b791);},async 'callTool'(_0x3c053d){const _0x37075e={_0x5f4eb1:0x152,_0x4b111e:0x184};function _0x24931f(_0x2cec3b,_0x13a947,_0x4d0162,_0x16077c){return _0x4e68fa(_0x2cec3b-_0x37075e._0x5f4eb1,_0x13a947-_0x37075e._0x4b111e,_0x4d0162,_0x16077c- -0x2a8);}function _0x5a1de0(_0xed7cea,_0x238ec1,_0x1ab64a,_0x9cd3f8){return _0x4e68fa(_0xed7cea-0xcb,_0x238ec1-0x45,_0xed7cea,_0x238ec1- -0x15b);}try{return await _0x1c78e5['request']({'method':_0x5a1de0(_0x2bd690._0x4861c6,0x41f,0x319,_0x2bd690._0x4789cd),'params':_0x3c053d},CallToolResultSchema,{'timeout':_0x32fb3f[_0x24931f(0x801,_0x2bd690._0xc79a68,0x574,0x616)]()});}catch(_0x5b5e5e){throw createOwnedMcpSafeError({'serverName':_0x2928eb,'operation':'toolCall','error':_0x5b5e5e});}},async 'close'(){const _0x19ef3e={_0x14ce56:0x1b6,_0x47576a:0x567};_0x586be8=!![];function _0x2f9bb2(_0x4a812e,_0x207713,_0x4188e8,_0x1f9f41){return _0xb2820f(_0x1f9f41-0x236,_0x207713-0x1b0,_0x207713,_0x1f9f41-_0x14b6ae._0x55fbbc);}_0x1c78e5[_0x2f9bb2(0x65f,0x749,_0x4db0df._0x15f80b,0x7e3)]=void 0x0;function _0x1c70c0(_0x319ba5,_0x160624,_0x31e238,_0x392b26){return _0x4e68fa(_0x319ba5-0x37,_0x160624-_0x19ef3e._0x14ce56,_0x160624,_0x319ba5- -_0x19ef3e._0x47576a);}_0x1c78e5[_0x1c70c0(0x356,0x43c,0x198,_0x4db0df._0xdef814)]=void 0x0,_0x15b11f['clear']();try{await _0x1c78e5[_0x2f9bb2(_0x4db0df._0x3bd2cf,_0x4db0df._0x33e6f2,_0x4db0df._0x5befc5,_0x4db0df._0x2c4c64)]();}catch(_0xb67814){throw createOwnedMcpSafeError({'serverName':_0x2928eb,'operation':_0x2f9bb2(_0x4db0df._0x1ee871,0x670,0x2c0,0x49d),'error':_0xb67814});}}};}async function createMcpConnectionGeneration(_0xd5592b){const _0x4c120a={_0x3dfed1:0x2c7,_0x3d0cae:0x2ed,_0x3b5784:0x5e3,_0x1520b8:0x565,_0x3ef313:0x42e,_0x16be17:0x2b9,_0x2ae68d:0xd5,_0x20fff2:0x69b,_0x360a7d:0x3fb,_0x592607:0x478,_0x19097e:0x834,_0x3ed861:0x70e,_0x170f3b:0x986,_0x2c315c:0x89c,_0x24af86:0x785,_0x12cdd7:0x752,_0x1e64e8:0x5bc,_0x1f5108:0x6a7,_0x30f363:0x307,_0x3ae4ce:0x4a7,_0x4065e6:0x9dd,_0xcea146:0x91c,_0x3301fe:0x880,_0x30dc19:0x68a,_0x547b85:0x922,_0xb1cec8:0xea,_0x293559:0x193,_0x38c6a4:0x1a1,_0x1e42ec:0x5dd,_0x418757:0x76b},_0x2b0fee={_0x9ebdef:0x397,_0x349bb9:0x420},_0x42415f={_0x5133a1:0x4a,_0x230c22:0x5b0},_0x350c22={_0x34ed07:0x27a},_0x25e604={_0x523646:0xf6,_0x44a5cd:0x14c},_0x24befb={_0x9b02fb:0x319,_0x92f4e4:0x4f2,_0x3642b9:0x308,_0x4e2329:0x1c2,_0xb4c1de:0x4b7,_0x121989:0x330,_0x229d99:0x288,_0x5886bd:0x1e4,_0xdd76c1:0x267},_0x1ac25f={_0xbcc964:0x356},_0x11b649={_0x4922f0:0xc6,_0x2509d8:0x9e},_0x2b1f97={_0x192387:0xaa},_0x3bb1d2=_0xd5592b[_0x115d77(0x11a,_0x4c120a._0x3dfed1,0x256,_0x4c120a._0x3d0cae)]??connectMcpServer,_0xf1f1a9=_0xd5592b[_0x33026b(0x6e7,0x417,_0x4c120a._0x3b5784,_0x4c120a._0x1520b8)]===void 0x0,_0x6991ab={..._0xd5592b[_0x115d77(_0x4c120a._0x3ef313,_0x4c120a._0x16be17,0x28c,_0x4c120a._0x2ae68d)],'timeoutSource':_0xd5592b[_0x33026b(_0x4c120a._0x20fff2,_0x4c120a._0x360a7d,0x56b,_0x4c120a._0x592607)],..._0xd5592b[_0x33026b(0x891,0x64c,_0x4c120a._0x19097e,0x944)]!==void 0x0?{'signal':_0xd5592b['signal']}:{}};let _0x43d341;try{_0x43d341=await _0x3bb1d2(_0xd5592b[_0x33026b(_0x4c120a._0x3ed861,_0x4c120a._0x170f3b,0x839,_0x4c120a._0x2c315c)],_0xd5592b[_0x115d77(0x364,0x710,0x50a,0x32a)],_0x6991ab);}catch(_0x54fa26){throw mapOwnedMcpBoundaryError({'serverName':_0xd5592b[_0x33026b(_0x4c120a._0x24af86,_0x4c120a._0x12cdd7,0x839,0x77e)],'operation':_0x33026b(0x7dd,0x3eb,0x5e3,_0x4c120a._0x1e64e8),'error':_0x54fa26},_0xf1f1a9);}function _0x115d77(_0x3c1e5c,_0x3a15d0,_0x29a4f5,_0x2233fa){return _0x30b865(_0x3c1e5c-0xdf,_0x3c1e5c,_0x29a4f5-0x223,_0x2233fa-_0x2b1f97._0x192387);}const _0x262d35=new Set();let _0x310383;const _0x567e75=_0x43d341[_0x33026b(0x5f4,0x7bd,0x6f3,_0x4c120a._0x1f5108)]?.(_0xcff3ac=>{if(_0x310383)return;_0x310383=_0xcff3ac;for(const _0x3f4572 of _0x262d35)_0x3f4572(_0xcff3ac);});let _0x43f6a5=![];const _0x9c1eff=()=>{if(_0x43f6a5)return;function _0x53eb54(_0x487e16,_0xb41f11,_0x401fad,_0x2a24d8){return _0x33026b(_0xb41f11,_0xb41f11-0xaa,_0x487e16- -0x645,_0x2a24d8-0x1db);}_0x43f6a5=!![],_0x262d35[_0x53eb54(_0x11b649._0x4922f0,_0x11b649._0x2509d8,0x1f8,0x25f)](),_0x567e75?.();};let _0x278827;try{_0x278827=await _0x43d341['listTools'](_0xd5592b[_0x115d77(_0x4c120a._0x30f363,0x304,_0x4c120a._0x3ae4ce,0x3c9)]!==void 0x0?{'signal':_0xd5592b[_0x33026b(_0x4c120a._0x4065e6,0x944,0x834,_0x4c120a._0xcea146)]}:void 0x0);}catch(_0x54e214){const _0x295354=mapOwnedMcpBoundaryError({'serverName':_0xd5592b[_0x33026b(_0x4c120a._0x3301fe,_0x4c120a._0x30dc19,0x839,_0x4c120a._0x547b85)],'operation':_0x115d77(_0x4c120a._0xb1cec8,_0x4c120a._0x293559,_0x4c120a._0x38c6a4,0x29c),'error':_0x54e214},_0xf1f1a9);_0x9c1eff();try{await _0x43d341['close']();}catch{}throw _0x295354;}const _0x37ee9f=[..._0x278827[_0x33026b(0x811,_0x4c120a._0x1e42ec,0x6b4,_0x4c120a._0x418757)]],_0x12c2e1={async 'callTool'(_0x19e126){function _0x28d3a5(_0x58d6ca,_0x507294,_0x311691,_0x10e4d5){return _0x33026b(_0x58d6ca,_0x507294-0x90,_0x10e4d5- -0x509,_0x10e4d5-0x54);}function _0x38616a(_0x10f211,_0x4b7980,_0x636e42,_0x31eacd){return _0x33026b(_0x31eacd,_0x4b7980-0x8f,_0x10f211- -_0x1ac25f._0xbcc964,_0x31eacd-0x12a);}try{return await _0x43d341[_0x28d3a5(_0x24befb._0x9b02fb,_0x24befb._0x92f4e4,0x2b4,_0x24befb._0x3642b9)](_0x19e126);}catch(_0x358c7d){throw mapOwnedMcpBoundaryError({'serverName':_0xd5592b[_0x28d3a5(0x2c5,_0x24befb._0x4e2329,_0x24befb._0xb4c1de,_0x24befb._0x121989)],'operation':_0x28d3a5(_0x24befb._0x229d99,_0x24befb._0x5886bd,_0x24befb._0xdd76c1,0xf3),'error':_0x358c7d},_0xf1f1a9);}}},_0x12f3c2=createMcpGenerationLifecycle(async()=>{function _0x3f2da5(_0x34171a,_0x5996fe,_0x5b9578,_0x3db2bd){return _0x115d77(_0x3db2bd,_0x5996fe-0x1bc,_0x5b9578-_0x25e604._0x523646,_0x3db2bd-_0x25e604._0x44a5cd);}_0x9c1eff();try{await _0x43d341[_0x3f2da5(0x35b,0x317,0x2eb,_0x350c22._0x34ed07)]();}catch(_0x14d82e){throw mapOwnedMcpBoundaryError({'serverName':_0xd5592b['serverName'],'operation':'close','error':_0x14d82e},_0xf1f1a9);}});function _0x33026b(_0x5d6b69,_0xf4316f,_0xad4f56,_0x5efde9){return _0x30b865(_0x5d6b69-_0x42415f._0x5133a1,_0x5d6b69,_0xad4f56-_0x42415f._0x230c22,_0x5efde9-0xd4);}return{'client':_0x43d341,'descriptors':_0x37ee9f,'lifecycle':_0x12f3c2,'projectTools'(_0x2618f9){return projectMcpTools({..._0x2618f9,'descriptors':_0x37ee9f,'client':_0x12c2e1,'lifecycle':_0x12f3c2});},'onTerminalError'(_0x4b3e89){const _0xffd68f={_0xbd887f:0x496,_0xe7e714:0x340},_0x4bce16={_0x50480a:0x9a,_0x6b3835:0x12f},_0x24df15={_0x49c561:0x1d1,_0x3283f5:0x482,_0x15e785:0x10d},_0x46690e={_0x5ba973:0x689,_0x185469:0x6};function _0x2cc2f3(_0x5d448e,_0xd48fe8,_0x243187,_0xfc538f){return _0x33026b(_0xfc538f,_0xd48fe8-0x1c4,_0xd48fe8- -_0x46690e._0x5ba973,_0xfc538f-_0x46690e._0x185469);}if(_0x43f6a5)return()=>{};function _0x3862db(_0x29dee3,_0xfa128d,_0x5b8764,_0x1e137d){return _0x33026b(_0xfa128d,_0xfa128d-_0x24df15._0x49c561,_0x5b8764- -_0x24df15._0x3283f5,_0x1e137d-_0x24df15._0x15e785);}_0x262d35[_0x3862db(0x373,_0x2b0fee._0x9ebdef,0x30d,_0x2b0fee._0x349bb9)](_0x4b3e89);const _0x2aab70=_0x310383;return _0x2aab70&&queueMicrotask(()=>{function _0x45d02b(_0x4ccda9,_0x55ecf5,_0x582824,_0x2708e8){return _0x3862db(_0x4ccda9-_0x4bce16._0x50480a,_0x582824,_0x2708e8- -0xb,_0x2708e8-_0x4bce16._0x6b3835);}if(_0x262d35[_0x45d02b(_0xffd68f._0xbd887f,0x30c,0x2b9,_0xffd68f._0xe7e714)](_0x4b3e89))_0x4b3e89(_0x2aab70);}),()=>_0x262d35[_0x2cc2f3(-0xe1,0xed,-0xfb,0x92)](_0x4b3e89);},'retire'(){return _0x9c1eff(),_0x12f3c2['retire']();}};}import{stat as _0xae29c}from'fs/promises';import*as _0x4e807a from'path';import{execSync,spawn as _0xce5663}from'child_process';import{existsSync}from'fs';import{stat as _0x58644c}from'fs/promises';import*as _0xac4563 from'os';import*as _0x28a1e3 from'path';import{rgPath as _0x387ff0}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x3ecb32={_0x118d7f:0xf1,_0x4df747:0x35,_0x4fbe97:0x1de,_0x2c69d3:0xaf,_0x1f3903:0x1c4,_0x5e9b88:0xce,_0x1828fb:0x329,_0x56a087:0x26f,_0xe78629:0x2dc,_0xb03ea9:0x164,_0xc680ab:0x150,_0x1776eb:0x2f,_0x5994c1:0x1b0,_0x3f003a:0x2ca,_0x51eb80:0x1d4,_0x38fc6d:0x323,_0x36fcdf:0x4ad,_0x3d63c5:0x16f,_0x33b951:0xfc,_0x581c5f:0x43,_0x4e3fbe:0x164,_0x4b37c6:0x16,_0x2536d4:0x198,_0x341370:0x48c,_0x30c115:0x2ca,_0x196af4:0x100,_0x5db9e3:0x215,_0x556646:0x1ca,_0x59f64a:0x237,_0x634bb9:0x1e8,_0x105601:0x181,_0x3a7ea8:0x17e,_0x3299ff:0x15,_0x2da2c2:0x19,_0x365b21:0x48c,_0x1c2474:0x59,_0x591f44:0x125},_0x2c404c={_0x57b1bc:0x19,_0x200553:0x1e7},_0x3393e2={_0x291a40:0x6c},_0x36849e=_0xac4563['platform']()===_0x78c464(_0x3ecb32._0x118d7f,0x3a,_0x3ecb32._0x4df747,-_0x3ecb32._0x4fbe97),_0x1f279b=_0x36849e?[_0x28a1e3[_0x78c464(-_0x3ecb32._0x2c69d3,0x194,0xfc,0x193)](process[_0x36beea(0x76,0xff,_0x3ecb32._0x1f3903,0x126)][_0x78c464(0xd4,-_0x3ecb32._0x5e9b88,0x5e,0x123)]||'','Microsoft','WinGet',_0x36beea(0x459,0x41c,0x2e1,_0x3ecb32._0x1828fb)),_0x28a1e3[_0x78c464(0xdc,0x11a,0xfc,_0x3ecb32._0x56a087)](process[_0x78c464(0x1a,-_0x3ecb32._0xe78629,-_0x3ecb32._0xb03ea9,-0xa0)][_0x78c464(_0x3ecb32._0xc680ab,_0x3ecb32._0x1776eb,_0x3ecb32._0x5994c1,-0x5)]||'',_0x36beea(0x391,_0x3ecb32._0x3f003a,0x4c4,0x29a),_0x36beea(_0x3ecb32._0x51eb80,_0x3ecb32._0x38fc6d,_0x3ecb32._0x36fcdf,0x14c)),_0x28a1e3[_0x78c464(0xaf,_0x3ecb32._0x3d63c5,_0x3ecb32._0x33b951,0x2c1)](process[_0x78c464(_0x3ecb32._0x581c5f,-0x3d,-_0x3ecb32._0x4e3fbe,-0x308)][_0x36beea(_0x3ecb32._0x4b37c6,0xa4,-0x59,_0x3ecb32._0x2536d4)]||'',_0x36beea(_0x3ecb32._0x341370,_0x3ecb32._0x30c115,0xed,0x326),_0x78c464(_0x3ecb32._0x196af4,0xa0,0xc0,0x222))]:[_0x78c464(_0x3ecb32._0x5db9e3,0x3bd,_0x3ecb32._0x556646,_0x3ecb32._0x59f64a),'/usr/local/bin/rg',_0x78c464(-_0x3ecb32._0x634bb9,-0x8a,0x0,_0x3ecb32._0x105601),_0x78c464(_0x3ecb32._0xc680ab,-_0x3ecb32._0x3a7ea8,-0xa3,-_0x3ecb32._0x3299ff)];function _0x78c464(_0x3a7c6b,_0x2a8615,_0x1464d7,_0x217407){return _0x511cdd(_0x3a7c6b-_0x3393e2._0x291a40,_0x2a8615-0x148,_0x217407,_0x1464d7- -0x30a);}function _0x36beea(_0x273916,_0xaf9831,_0xa961d8,_0x506038){return _0x511cdd(_0x273916-_0x2c404c._0x57b1bc,_0xaf9831-_0x2c404c._0x200553,_0xa961d8,_0xaf9831- -0xa7);}for(const _0x3e4ddd of _0x1f279b){if(existsSync(_0x3e4ddd))return _0x3e4ddd;}try{const _0x4bd0f2=_0x36849e?'where\x20rg':'which\x20rg',_0x128826=execSync(_0x4bd0f2,{'encoding':_0x78c464(-_0x3ecb32._0x2da2c2,-0x147,-0x195,-0x266),'stdio':['pipe','pipe',_0x36beea(0x2da,0x2b1,0x1fa,0x2bf)]})[_0x36beea(0x18c,0x390,0x363,_0x3ecb32._0x365b21)]()[_0x78c464(-_0x3ecb32._0x1c2474,-_0x3ecb32._0x591f44,0x44,0x4d)](/\r?\n/)[0x0];if(_0x128826&&existsSync(_0x128826))return _0x128826;}catch{return null;}return null;}async function filepath(){const _0x553686={_0x2223db:0x6c0,_0x277b17:0x513,_0x2458cb:0x56d},_0x162da4={_0x557ee7:0x1c2};function _0x53cfb0(_0x39df6f,_0x400972,_0x2b5a6d,_0x2debec){return _0x30b865(_0x39df6f-0x115,_0x2debec,_0x2b5a6d-0x2d0,_0x2debec-_0x162da4._0x557ee7);}if(cachedRgPath)return cachedRgPath;if(_0x387ff0&&existsSync(_0x387ff0))return cachedRgPath=_0x387ff0,_0x387ff0;const _0x5455e5=findSystemRipgrep();if(!_0x5455e5)throw new Error(_0x53cfb0(_0x553686._0x2223db,_0x553686._0x277b17,0x5e1,_0x553686._0x2458cb));return cachedRgPath=_0x5455e5,_0x5455e5;}async function*files(_0x3e8e5e){const _0x1cfef5={_0x39baa1:0x154,_0x3822c2:0x25f,_0x1e331e:0x3d7,_0x5bc2a1:0x1d9,_0x4e1f0b:0x1d6,_0x471ef7:0x32,_0x1e9f88:0x8a6,_0x58513e:0x7b9,_0x9d679c:0x907,_0x4ea173:0x11a,_0x5549d0:0x59,_0x521f28:0xfb,_0x4f0bf9:0xaf,_0x3f996d:0x25f,_0x52be9d:0x178,_0x2dfdc4:0x37a,_0x14251d:0x675,_0x3c9755:0x4d2,_0x383e5b:0x559,_0x54b2c2:0x5da,_0x45944c:0x8c1,_0x3683e8:0x5d4,_0x20814c:0x742,_0x24cf0a:0x1a9,_0x42b657:0x2bb,_0x5a4633:0x73f,_0x438368:0x727,_0x5b0b9e:0x73,_0x15db3a:0x1c6,_0x2eb9d8:0x1aa,_0x530a5f:0x6de,_0x11a673:0x3c9,_0x538b4f:0x624,_0x44d61f:0x646,_0x4df142:0x438,_0x14a6bb:0x98c,_0x4a1817:0x93d,_0x37068b:0x955,_0x33d32c:0x4e7,_0xf7b3c8:0x51d,_0x181240:0x63c,_0x4f3acc:0x1e0,_0x2b3a23:0x259,_0x456769:0x6db,_0x5f112e:0x213,_0x1eb600:0x185},_0x48bc30={_0x4565db:0xd7},_0x8a2f11={_0x37188d:0xee,_0x2025c3:0x4d6},_0x39d6cc=await filepath(),_0x2e5faa=await _0x58644c(_0x3e8e5e[_0x936c8d(_0x1cfef5._0x39baa1,_0x1cfef5._0x3822c2,_0x1cfef5._0x1e331e,0x2f4)])[_0x936c8d(-0x15,_0x1cfef5._0x5bc2a1,_0x1cfef5._0x4e1f0b,_0x1cfef5._0x471ef7)](()=>null);function _0xa2878e(_0x366a2a,_0x14b8c9,_0x1e64fb,_0x5655dd){return _0x30b865(_0x366a2a-_0x8a2f11._0x37188d,_0x1e64fb,_0x5655dd-_0x8a2f11._0x2025c3,_0x5655dd-0x162);}if(!_0x2e5faa?.[_0xa2878e(_0x1cfef5._0x1e9f88,_0x1cfef5._0x58513e,_0x1cfef5._0x9d679c,0x71a)]())throw Object[_0x936c8d(-0xe9,0x3e,-0x12a,_0x1cfef5._0x4ea173)](new Error(_0x936c8d(_0x1cfef5._0x5549d0,-_0x1cfef5._0x521f28,-0x1f6,_0x1cfef5._0x4f0bf9)+_0x3e8e5e[_0x936c8d(0x260,_0x1cfef5._0x3f996d,_0x1cfef5._0x52be9d,_0x1cfef5._0x2dfdc4)]+'\x27'),{'code':_0xa2878e(_0x1cfef5._0x14251d,_0x1cfef5._0x3c9755,_0x1cfef5._0x383e5b,0x6cc)});function _0x936c8d(_0x151304,_0x304e7b,_0x41df39,_0x3fec58){return _0x30b865(_0x151304-0x123,_0x3fec58,_0x304e7b- -0x3c,_0x3fec58-_0x48bc30._0x4565db);}const _0x8406cc=[_0xa2878e(0x5da,0x62e,0x4f1,0x597),_0xa2878e(_0x1cfef5._0x54b2c2,_0x1cfef5._0x45944c,_0x1cfef5._0x3683e8,_0x1cfef5._0x20814c),_0x936c8d(0x69,_0x1cfef5._0x24cf0a,0x3a6,0x2f8),_0x936c8d(0x49a,_0x1cfef5._0x42b657,0x26b,0x252)];for(const _0x4c390a of _0x3e8e5e[_0xa2878e(_0x1cfef5._0x5a4633,0x974,_0x1cfef5._0x438368,0x78f)]??[]){_0x8406cc[_0x936c8d(_0x1cfef5._0x5b0b9e,0x1b6,_0x1cfef5._0x15db3a,_0x1cfef5._0x2eb9d8)](_0xa2878e(0x428,_0x1cfef5._0x530a5f,_0x1cfef5._0x11a673,0x5b5)+_0x4c390a);}const _0x1bf450=_0xce5663(_0x39d6cc,_0x8406cc,{'cwd':_0x3e8e5e['cwd'],'stdio':[_0xa2878e(0x575,_0x1cfef5._0x538b4f,0x5db,_0x1cfef5._0x44d61f),'pipe',_0xa2878e(0x693,_0x1cfef5._0x4df142,0x6cd,0x59a)]});let _0x311ff0='';for await(const _0x3d3663 of _0x1bf450[_0xa2878e(_0x1cfef5._0x14a6bb,_0x1cfef5._0x4a1817,_0x1cfef5._0x37068b,0x7de)]??[]){_0x311ff0+=_0x3d3663[_0xa2878e(_0x1cfef5._0x33d32c,0x583,0x585,0x580)]();const _0x12b68b=_0x311ff0[_0xa2878e(0x627,0x576,_0x1cfef5._0xf7b3c8,_0x1cfef5._0x181240)](/\r?\n/);_0x311ff0=_0x12b68b[_0x936c8d(_0x1cfef5._0x4f3acc,0x21b,0x75,_0x1cfef5._0x2b3a23)]()??'';for(const _0x3ae814 of _0x12b68b){if(_0x3ae814[_0xa2878e(0x84d,0x686,0x83b,_0x1cfef5._0x456769)]>0x0)yield _0x3ae814;}}_0x311ff0['trim']()['length']>0x0&&(yield _0x311ff0[_0x936c8d(0x1f9,_0x1cfef5._0x5f112e,_0x1cfef5._0x1eb600,0x408)]());}function objectValue(_0x245b49){return typeof _0x245b49==='object'&&_0x245b49!==null?_0x245b49:void 0x0;}function decodeRipgrepText(_0x30df37){const _0x1da91d={_0x481f60:0x37c,_0xf9eb83:0x1a3,_0x3f133d:0x99,_0x57bba4:0x3e4,_0x1f02fd:0x8c,_0x1dd866:0x17},_0x171490={_0x40854b:0x93},_0x55aa91={_0x4e71f1:0x1bc,_0x3b621f:0xd5},_0x129e7b=objectValue(_0x30df37);if(typeof _0x129e7b?.[_0x45f723(0x4d7,0x1a9,0x399,_0x1da91d._0x481f60)]===_0x45f723(0x20b,-0xed,0x236,0x76))return _0x129e7b['text'];if(typeof _0x129e7b?.[_0x45f723(0x2c8,0x1db,_0x1da91d._0xf9eb83,0x1d7)]==='string')return Buffer[_0x47eee4(0x230,0x206,_0x1da91d._0x3f133d,_0x1da91d._0x57bba4)](_0x129e7b['bytes'],'base64')['toString'](_0x45f723(0xe7,_0x1da91d._0x1f02fd,-_0x1da91d._0x1dd866,0x62));function _0x45f723(_0x3004da,_0x57d805,_0x1aef94,_0x3b1fd4){return _0x30b865(_0x3004da-_0x55aa91._0x4e71f1,_0x3004da,_0x3b1fd4-_0x55aa91._0x3b621f,_0x3b1fd4-0x19f);}function _0x47eee4(_0x7da044,_0x5d0011,_0x5a23b5,_0x238f73){return _0x30b865(_0x7da044-0xb0,_0x5d0011,_0x7da044-0xd,_0x238f73-_0x171490._0x40854b);}return void 0x0;}function parseMatchLine(_0xc69460,_0x404b8e){const _0x1e7724={_0x384ef2:0x572,_0x57f49e:0x594,_0x4aaf81:0x720,_0xe01c10:0x575,_0x16bfbc:0x65a,_0x12850f:0x599,_0xad5ad:0x61c,_0x127d20:0x662,_0xfe2769:0x3b9,_0x323ae5:0x560,_0x3e18de:0x8a3,_0x2684e9:0x793,_0x5e87d5:0x9cf,_0x415bdf:0x92f,_0x2ed5b5:0xf9,_0x40d161:0x557,_0x188464:0x557,_0x2d764e:0x502,_0x54d1d4:0x463,_0x5d2335:0x569,_0x5a8c44:0x876,_0x37082c:0xa24,_0x451e72:0x942,_0x3e48f4:0x94b,_0x1c6b52:0x761,_0x498857:0x88a,_0x402611:0x914,_0x7f9e62:0x82b,_0x12e507:0x21a,_0x5251b1:0x21f,_0x4058f6:0x540,_0x41f24e:0x6d9,_0x4285d0:0x427,_0x1643d1:0x6a3,_0x4b07ad:0x794,_0x554f39:0x899},_0x562203={_0x3d3f08:0xc2};if(_0xc69460[_0x22c190(_0x1e7724._0x384ef2,_0x1e7724._0x57f49e,_0x1e7724._0x4aaf81,0x68b)]===0x0)return null;const _0x441ec1=objectValue(JSON[_0x3b7a7b(_0x1e7724._0xe01c10,_0x1e7724._0x16bfbc,_0x1e7724._0x12850f,_0x1e7724._0xad5ad)](_0xc69460));if(_0x441ec1?.[_0x3b7a7b(0x62f,0x710,0x64b,_0x1e7724._0x127d20)]!=='match'&&_0x441ec1?.[_0x22c190(0x369,_0x1e7724._0xfe2769,_0x1e7724._0x323ae5,0x31d)]!==_0x3b7a7b(_0x1e7724._0x3e18de,0x997,0x985,0x91d))return null;const _0x1b3032=objectValue(_0x441ec1[_0x3b7a7b(_0x1e7724._0x2684e9,_0x1e7724._0x5e87d5,0x810,_0x1e7724._0x415bdf)]),_0x5a2d83=decodeRipgrepText(_0x1b3032?.[_0x22c190(0x2c1,0x3d2,_0x1e7724._0x2ed5b5,0xd5)]),_0x5ba3b9=decodeRipgrepText(_0x1b3032?.[_0x22c190(_0x1e7724._0x40d161,_0x1e7724._0x188464,_0x1e7724._0x2d764e,_0x1e7724._0x54d1d4)]);function _0x22c190(_0x1b1156,_0x2011f8,_0x785bb7,_0x4998f8){return _0x511cdd(_0x1b1156-0x12,_0x2011f8-0x77,_0x2011f8,_0x1b1156-0x185);}const _0x17ddd2=_0x1b3032?.[_0x3b7a7b(0x4af,_0x1e7724._0x5d2335,0x6b9,0x881)];if(_0x5a2d83===void 0x0||_0x5ba3b9===void 0x0||typeof _0x17ddd2!==_0x3b7a7b(_0x1e7724._0x5a8c44,_0x1e7724._0x37082c,_0x1e7724._0x451e72,_0x1e7724._0x3e48f4))throw new Error(_0x3b7a7b(_0x1e7724._0x1c6b52,_0x1e7724._0x498857,_0x1e7724._0x402611,_0x1e7724._0x7f9e62));function _0x3b7a7b(_0x157c2f,_0x5310a7,_0xe91308,_0x3dd903){return _0x30b865(_0x157c2f-0xa7,_0x5310a7,_0xe91308-0x64f,_0x3dd903-_0x562203._0x3d3f08);}return{'filePath':_0x28a1e3[_0x22c190(0x57d,0x411,0x5cf,0x701)](_0x5a2d83)?_0x5a2d83:_0x28a1e3[_0x22c190(0x407,_0x1e7724._0x12e507,_0x1e7724._0x5251b1,0x30e)](_0x404b8e,_0x5a2d83),'lineNum':_0x17ddd2,'lineText':_0x5ba3b9[_0x22c190(_0x1e7724._0x4058f6,_0x1e7724._0x41f24e,_0x1e7724._0x4285d0,0x690)](/\r?\n$/,''),..._0x441ec1[_0x3b7a7b(0x4f9,0x5b8,0x64b,0x81b)]===_0x22c190(_0x1e7724._0x1643d1,0x4e1,_0x1e7724._0x4b07ad,_0x1e7724._0x554f39)?{'isContext':!![]}:{}};}async function search(_0x30a0b2){const _0x3da127={_0x21f08e:0x1f8,_0x254ddf:0x40a,_0x509a1a:0x346,_0x40d225:0x685,_0xc2cc1b:0x5cf,_0x2c9c32:0x1bd,_0x11d7b5:0x234,_0x2c5a1d:0x54d,_0x1f5d21:0x4e5,_0x4f2ba5:0x3d7,_0x2c0f25:0x3fc,_0x780dc5:0x1b2,_0x122f0c:0x23e,_0xf1e925:0x495,_0x422cfc:0x2fd,_0x52d758:0x319,_0x438ea1:0x525,_0x27f9b9:0x38f,_0x386aec:0x592,_0x483918:0xae,_0x4fe864:0x96,_0x36378b:0x6f7,_0x4b225c:0x6fa,_0x4dc570:0x3b6,_0x16d9a9:0x194,_0x3d442e:0x626,_0x1bd398:0x704,_0x5a0d5d:0x1cb,_0x48e928:0x249,_0x56db4b:0x154,_0x5a727f:0x2f6,_0x3a3236:0x77a,_0x5119ad:0x61d,_0x4be4d4:0x377,_0x3aa883:0x2b7,_0x112668:0x3a6,_0x3f8caa:0x525,_0x27d7d2:0x44f,_0x549b0b:0x333,_0x3a5728:0x337,_0x43aa79:0x5c3,_0x42fcc6:0x6b8,_0x4d0f27:0x48f,_0x100fb1:0x70b,_0x421508:0x60f,_0x1e30ed:0x79d,_0x154134:0x759,_0x5647b9:0x402,_0x408637:0x3f1,_0x4feef3:0x455,_0x235271:0x574,_0xec0a22:0x1c5,_0x57e269:0x2b4,_0x48d26c:0x414,_0x13ff20:0x515,_0x47e4b6:0x765,_0x3161d7:0x71c,_0x73e6d2:0x511,_0x36c2b6:0x574,_0xb540aa:0x2a4,_0x423666:0x207,_0x550bd6:0x1dd,_0x5b5fce:0x5b3,_0x5a1969:0x61f,_0xea5121:0x6fc},_0x580262={_0xa8e26d:0x331,_0x5275c2:0x40b,_0xd04338:0x451,_0x2ca655:0x500,_0x4b25f5:0x360,_0x339615:0x35f,_0x8f6492:0x5a3,_0x15c095:0x5af,_0xb06c30:0x73e,_0x2a0f17:0x434,_0x37a72a:0x40f,_0x582397:0x48e},_0x49ba36={_0x558c13:0x230},_0x1747b9={_0x186fd2:0xd0,_0x2683e7:0x3},_0x496500={_0x38a384:0x6d9,_0x11bad6:0x744},_0x2b0d2d={_0xeaa167:0x129,_0x18f238:0x1c9,_0x547351:0x1e9},_0x51d4c6={_0x1b0089:0x1d9},_0x32bfd9={_0x154eec:0x382,_0x3face1:0x12a};if(_0x30a0b2[_0x5d4ba1(_0x3da127._0x21f08e,_0x3da127._0x254ddf,0x31d,_0x3da127._0x509a1a)]!==void 0x0&&_0x30a0b2[_0x34d65b(0x3c5,0x608,_0x3da127._0x40d225,_0x3da127._0xc2cc1b)]!==void 0x0)throw new Error(_0x34d65b(_0x3da127._0x2c9c32,_0x3da127._0x11d7b5,0x387,0x34c));if(_0x30a0b2['file']){const _0x18be60=await _0x58644c(_0x30a0b2[_0x5d4ba1(_0x3da127._0x2c5a1d,0x49f,_0x3da127._0x1f5d21,0x346)])[_0x5d4ba1(0x239,0x283,0x1df,0x2c7)](()=>null);if(!_0x18be60?.['isFile']())throw Object[_0x34d65b(0x206,_0x3da127._0x4f2ba5,0x22b,_0x3da127._0x2c0f25)](new Error(_0x5d4ba1(0x154,0x38d,_0x3da127._0x780dc5,_0x3da127._0x122f0c)+_0x30a0b2['file']+'\x27'),{'code':'ENOENT'});}else{if(_0x30a0b2[_0x34d65b(0x489,0x5de,_0x3da127._0xf1e925,0x5cf)]!==void 0x0)for(const _0x570158 of _0x30a0b2[_0x5d4ba1(0x40a,_0x3da127._0x422cfc,_0x3da127._0x52d758,0x2ff)]){if(!_0x28a1e3[_0x34d65b(_0x3da127._0x438ea1,0x55d,_0x3da127._0x27f9b9,_0x3da127._0x386aec)](_0x570158))throw new Error(_0x5d4ba1(-0x1,_0x3da127._0x483918,0xe9,_0x3da127._0x4fe864)+_0x570158+'\x27');const _0x5bc535=await _0x58644c(_0x570158)[_0x34d65b(_0x3da127._0x36378b,0x469,_0x3da127._0x4b225c,0x597)](()=>null);if(!_0x5bc535?.['isFile']())throw Object['assign'](new Error(_0x34d65b(0x5f9,_0x3da127._0x4dc570,0x6db,0x50e)+_0x570158+'\x27'),{'code':'ENOENT'});}else{const _0x5f30f6=await _0x58644c(_0x30a0b2[_0x5d4ba1(_0x3da127._0x16d9a9,0x1a8,0x509,0x34d)])[_0x34d65b(_0x3da127._0x3d442e,_0x3da127._0x1bd398,0x5b9,0x597)](()=>null);if(!_0x5f30f6?.[_0x5d4ba1(_0x3da127._0x5a0d5d,_0x3da127._0x48e928,_0x3da127._0x56db4b,_0x3da127._0x5a727f)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x30a0b2[_0x34d65b(0x6f7,_0x3da127._0x3a3236,0x7f3,_0x3da127._0x5119ad)]+'\x27'),{'code':_0x34d65b(0x55a,0x540,_0x3da127._0x4be4d4,0x578)});}}if(_0x30a0b2['files']?.[_0x5d4ba1(0x195,0x2ec,0x38f,_0x3da127._0x3aa883)]===0x0)return[];const _0x107e2f=await filepath();function _0x34d65b(_0x501734,_0x3c1f52,_0x17e09a,_0x1f1f85){return _0x30b865(_0x501734-0x1f2,_0x17e09a,_0x1f1f85-_0x32bfd9._0x154eec,_0x1f1f85-_0x32bfd9._0x3face1);}const _0x2d9d78=[_0x34d65b(0x475,0x1b5,0x575,_0x3da127._0x112668),_0x34d65b(_0x3da127._0x3f8caa,_0x3da127._0x27d7d2,0x2dd,0x45c),_0x30a0b2[_0x5d4ba1(_0x3da127._0x549b0b,0x465,_0x3da127._0x3a5728,0x3dc)]],_0x1abe77=typeof _0x30a0b2[_0x34d65b(0x593,0x5f3,_0x3da127._0x43aa79,_0x3da127._0x42fcc6)]===_0x34d65b(_0x3da127._0x4d0f27,0x77a,_0x3da127._0x100fb1,0x675)&&_0x30a0b2[_0x34d65b(_0x3da127._0x421508,_0x3da127._0x1e30ed,0x63f,_0x3da127._0x42fcc6)]>0x0;_0x1abe77&&_0x2d9d78['push']('-C',String(_0x30a0b2['context']));_0x30a0b2[_0x34d65b(_0x3da127._0x154134,0x428,0x7e0,0x63b)]&&!_0x30a0b2['file']&&_0x30a0b2[_0x34d65b(0x461,0x443,_0x3da127._0x5647b9,0x5cf)]===void 0x0&&_0x2d9d78[_0x34d65b(_0x3da127._0x408637,0x5ed,_0x3da127._0x4feef3,_0x3da127._0x235271)](_0x5d4ba1(0x13c,_0x3da127._0xec0a22,0x10e,_0x3da127._0x57e269),_0x30a0b2[_0x5d4ba1(0x19f,_0x3da127._0x48d26c,0x15a,0x36b)]);function _0x5d4ba1(_0x344b1b,_0x4cfe7a,_0x6cc124,_0x3a46c3){return _0x30b865(_0x344b1b-0xcc,_0x4cfe7a,_0x3a46c3-0xb2,_0x3a46c3-_0x51d4c6._0x1b0089);}return _0x30a0b2[_0x34d65b(_0x3da127._0x13ff20,_0x3da127._0x47e4b6,_0x3da127._0x3161d7,0x5cf)]!==void 0x0?_0x2d9d78[_0x34d65b(0x6e1,_0x3da127._0x73e6d2,0x465,_0x3da127._0x36c2b6)](..._0x30a0b2['files']):_0x2d9d78[_0x5d4ba1(0x1ad,0x232,0x338,_0x3da127._0xb540aa)](_0x30a0b2[_0x5d4ba1(0x1b9,_0x3da127._0x423666,_0x3da127._0x550bd6,0x346)]??_0x30a0b2[_0x34d65b(_0x3da127._0x5b5fce,_0x3da127._0x5a1969,_0x3da127._0xea5121,0x61d)]),await new Promise((_0xeff29d,_0x26a9b0)=>{const _0xe85034={_0x1a5457:0x126,_0x5583dd:0x438,_0x2dd28f:0x238,_0x34af7e:0x193,_0x7d224b:0x57d,_0x5b8270:0x4ea,_0x5334d2:0x4c6,_0x2fa0e2:0x3d4,_0x5f1bf4:0x1f2,_0x56f89b:0x275,_0x141703:0x302,_0x339899:0x438,_0x43075b:0x247,_0x30a4f2:0x2bc,_0x2e78bf:0x3cb,_0x1f1b8a:0x3bb,_0x1fcfb7:0x117,_0x6f2159:0x3f0,_0x3d216f:0x303,_0x21a3cf:0x34c,_0x34cf08:0x48e,_0x81a2f6:0x6d1,_0x462a28:0x314,_0x54433b:0x39e,_0x6ec709:0x1d3},_0x10492b={_0x414d28:0x303,_0x2c90f2:0x18c,_0x255f9a:0x2aa},_0x4a79d3={_0xf8ae66:0xe2,_0x267c64:0xf1},_0x3c8546={_0x3d1798:0x10b,_0xb3919b:0x34d},_0x315711=_0xce5663(_0x107e2f,_0x2d9d78,{'cwd':_0x30a0b2['cwd'],'stdio':[_0x2e6877(_0x580262._0xa8e26d,_0x580262._0x5275c2,0x386,_0x580262._0xd04338),_0x2e6877(_0x580262._0x2ca655,0x35f,0x1a9,_0x580262._0x4b25f5),_0x2e6877(0x14f,_0x580262._0x339615,0x256,0x2b4)]});function _0x2e6877(_0x24dd0f,_0x3247db,_0xc67acf,_0x8e8168){return _0x5d4ba1(_0x24dd0f-_0x2b0d2d._0xeaa167,_0x24dd0f,_0xc67acf-_0x2b0d2d._0x18f238,_0x3247db-_0x2b0d2d._0x547351);}let _0x9faea5='',_0x2d6bb5='';_0x315711[_0x2e6877(0x675,_0x580262._0x8f6492,_0x580262._0x15c095,_0x580262._0xb06c30)]?.['on'](_0x2e6877(0x3a8,0x45c,_0x580262._0x2a0f17,_0x580262._0x37a72a),_0x31b8ae=>{function _0x4971fd(_0x5778b1,_0x2d532c,_0x163217,_0x26ef9e){return _0x4c47e4(_0x5778b1-_0x3c8546._0x3d1798,_0x2d532c-_0x3c8546._0xb3919b,_0x163217-0xf9,_0x163217);}_0x9faea5+=_0x31b8ae[_0x4971fd(0x5eb,_0x496500._0x38a384,0x6e7,_0x496500._0x11bad6)]();}),_0x315711['stderr']?.['on']('data',_0x8217a9=>{const _0xf64408={_0x3e1459:0x3e6,_0x2c9b4f:0x81};function _0x1a3dda(_0x527971,_0x32e2e0,_0x57dba4,_0x1d0cbd){return _0x4c47e4(_0x527971-0x19b,_0x527971- -_0xf64408._0x3e1459,_0x57dba4-_0xf64408._0x2c9b4f,_0x57dba4);}_0x2d6bb5+=_0x8217a9[_0x1a3dda(-0x5a,_0x1747b9._0x186fd2,0x125,-_0x1747b9._0x2683e7)]();}),_0x315711['on']('close',_0x57132f=>{const _0x59d21f={_0x59ed7e:0x5d,_0x75fa69:0x110},_0x4a5518={_0x308520:0xd5,_0x36f3c9:0xb1,_0x313b5f:0x1d7};function _0x3fbd27(_0x50788d,_0x505324,_0x1981ef,_0x2a04fb){return _0x2e6877(_0x2a04fb,_0x505324- -_0x4a5518._0x308520,_0x1981ef-_0x4a5518._0x36f3c9,_0x2a04fb-_0x4a5518._0x313b5f);}if(_0x57132f===0x1&&_0x9faea5===''){_0xeff29d([]);return;}if(_0x57132f!==0x0&&_0x57132f!==0x1){_0x26a9b0(new Error(_0x24319f(_0xe85034._0x1a5457,_0xe85034._0x5583dd,0xc6,_0xe85034._0x2dd28f)+_0x2d6bb5));return;}const _0x13d1d3=[];try{for(const _0x20291a of _0x9faea5[_0x3fbd27(0x537,0x32c,0x461,_0xe85034._0x34af7e)](/\r?\n/)){const _0x3a5ca2=parseMatchLine(_0x20291a,_0x30a0b2['cwd']);if(_0x3a5ca2)_0x13d1d3[_0x24319f(0x530,_0xe85034._0x7d224b,0x63a,_0xe85034._0x5b8270)](_0x3a5ca2);}}catch(_0x39457c){_0x26a9b0(_0x39457c);return;}const _0x1c5709=_0x30a0b2[_0x3fbd27(0x2cb,0x47a,0x642,0x4ad)]??0x64,_0x5cec25=Number[_0x3fbd27(0x68d,0x497,_0xe85034._0x5334d2,_0xe85034._0x2fa0e2)](_0x1c5709)?Math[_0x3fbd27(0x162,_0xe85034._0x5f1bf4,_0xe85034._0x56f89b,_0xe85034._0x141703)](0x0,Math['trunc'](_0x1c5709)):0x64,_0x55e18c=_0x13d1d3[_0x24319f(0x2c5,_0xe85034._0x339899,_0xe85034._0x43075b,_0xe85034._0x30a4f2)](_0x3a864a=>!_0x3a864a['isContext']);if(_0x55e18c[_0x3fbd27(0x330,_0xe85034._0x2e78bf,0x4e6,_0xe85034._0x1f1b8a)]<=_0x5cec25){_0xeff29d(_0x13d1d3);return;}const _0x312b50=_0x55e18c[_0x24319f(0x36c,_0xe85034._0x1fcfb7,_0xe85034._0x6f2159,_0xe85034._0x3d216f)](0x0,_0x5cec25);function _0x24319f(_0x5d9d15,_0x2036ea,_0x24e37d,_0x3bf031){return _0x2e6877(_0x2036ea,_0x3bf031-0x5d,_0x24e37d-_0x4a79d3._0xf8ae66,_0x3bf031-_0x4a79d3._0x267c64);}const _0xd838fd=new Set(_0x312b50),_0x38cc29=_0x1abe77?Math['max'](0x0,Math[_0x3fbd27(_0xe85034._0x21a3cf,0x14c,0x303,0xe1)](_0x30a0b2[_0x24319f(0x6ab,_0xe85034._0x34cf08,_0xe85034._0x81a2f6,0x62e)]??0x0)):0x0;_0xeff29d(_0x13d1d3[_0x24319f(_0xe85034._0x462a28,_0xe85034._0x54433b,_0xe85034._0x6ec709,0x2bc)](_0x3051e9=>{function _0x3c19bc(_0x52e97a,_0x505aea,_0x1bab8c,_0x145c44){return _0x3fbd27(_0x52e97a-0x186,_0x145c44-0xd5,_0x1bab8c-0x62,_0x52e97a);}function _0x2110ec(_0x28e40b,_0x24cf84,_0x1e2134,_0x129dd2){return _0x3fbd27(_0x28e40b-0x193,_0x1e2134-_0x59d21f._0x59ed7e,_0x1e2134-_0x59d21f._0x75fa69,_0x28e40b);}if(!_0x3051e9[_0x3c19bc(_0x10492b._0x414d28,0x481,_0x10492b._0x2c90f2,0x2e9)])return _0xd838fd[_0x3c19bc(_0x10492b._0x255f9a,0x441,0x51a,0x4b8)](_0x3051e9);return _0x312b50['some'](_0x3b26a9=>_0x3b26a9[_0x2110ec(0x1d,0x129,0x194,0x10f)]===_0x3051e9[_0x3c19bc(0x3d8,0x16d,0x235,0x20c)]&&Math[_0x3c19bc(0x3b5,0x156,0x315,0x24f)](_0x3b26a9[_0x3c19bc(0x22e,0x1b3,0x2f3,0x214)]-_0x3051e9['lineNum'])<=_0x38cc29);}));});function _0x4c47e4(_0x34aa36,_0x17abc5,_0x1731cd,_0x267465){return _0x5d4ba1(_0x34aa36-0x17b,_0x267465,_0x1731cd-0x169,_0x17abc5-_0x49ba36._0x558c13);}_0x315711['on'](_0x4c47e4(0x2e2,_0x580262._0x582397,0x508,0x4f6),_0x26a9b0);});}function createGlobTool(_0x1c85aa={}){const _0x2fa0ec={_0x460d40:0x625,_0x48b144:0x523,_0x2b9699:0x780,_0x1e79f7:0x635,_0xa852e:0x733,_0x5b4f2d:0x7b7,_0x8aed8d:0x4e2,_0x2a140f:0x1bc,_0x474a13:0x2df,_0x3c115d:0x165,_0x44bf03:0x535,_0x191db0:0x61f,_0x211356:0x16,_0x417294:0x10f,_0x557b5a:0x78,_0x4a350b:0x76a,_0x41ac63:0x60b,_0x1449b5:0x3ca,_0x541356:0x2a4},_0x1d6f5e={_0x3449e4:0x85c,_0xdb779:0x781,_0x49f31b:0x4ff,_0x37382e:0x2c3,_0xdd2a81:0x3c5,_0x5b8a9c:0xe0,_0x59aa63:0x303,_0x2b76be:0x486,_0x495174:0x372,_0x43035d:0x8c3,_0x42be04:0x7e6,_0x54aeee:0x98c,_0x6fc614:0x2f7,_0x19fe58:0x1a,_0x764e14:0x1dc,_0x1bbe51:0xec,_0xe5d895:0x1fd,_0x2f432b:0x99,_0x65fbfc:0x136,_0x5c05c1:0x38c,_0x28bfb6:0x82f,_0x3634c3:0x9c1,_0xad9556:0x81d,_0x4612d0:0x68b,_0x1ea7d3:0x392,_0x1ee92c:0x4a8,_0x14da31:0x64d,_0x4684ac:0x789,_0x112348:0x788,_0x171e34:0x354,_0x1130d2:0x631,_0x1f6bb8:0x4da,_0x5b8283:0x40e,_0x29cefd:0x694,_0x42d1eb:0x4e9,_0x589aff:0x3f7,_0x3a8b9a:0x33f},_0x40ccde={_0x443b14:0x76},_0x2e0261={_0x2ced1a:0x119,_0x1b52eb:0x157,_0xb55854:0x1c9},_0x220fa0={_0x36c864:0xfd},_0x1ec7a7={_0x140f3f:0x162},_0x2ab2e5=_0x4e807a[_0x3b7c5f(0x57f,0x3eb,0x4e2,0x61f)](_0x1c85aa[_0x3b7c5f(0x6de,0x7bf,_0x2fa0ec._0x460d40,_0x2fa0ec._0x48b144)]??process[_0x3b7c5f(_0x2fa0ec._0x2b9699,_0x2fa0ec._0x1e79f7,_0x2fa0ec._0xa852e,0x700)]()),_0x195f28=_0x1c85aa['allowedDirs']??[],_0x22e5a3=_0x1c85aa['limit']??0x64,_0x4f31e9=_0x1c85aa[_0x3b7c5f(0x806,0xa06,0xa01,_0x2fa0ec._0x5b4f2d)]??_0x3b7c5f(_0x2fa0ec._0x8aed8d,0x663,0x427,0x468);function _0x3b7c5f(_0x116c2e,_0xb27589,_0x40bb04,_0x5435f5){return _0x30b865(_0x116c2e-0xc,_0x40bb04,_0x116c2e-0x4e5,_0x5435f5-_0x1ec7a7._0x140f3f);}function _0x51fc90(_0x4f644c,_0x256806,_0x509232,_0x5a1143){return _0x30b865(_0x4f644c-0x181,_0x256806,_0x5a1143- -0x19,_0x5a1143-_0x220fa0._0x36c864);}return defineTool({'name':_0x4f31e9,'permissionClass':'read','description':_0x51fc90(_0x2fa0ec._0x2a140f,_0x2fa0ec._0x474a13,0x2a,_0x2fa0ec._0x3c115d),'inputSchema':{'type':_0x3b7c5f(0x5ad,_0x2fa0ec._0x44bf03,0x440,0x455),'properties':{'pattern':{'type':_0x3b7c5f(0x486,_0x2fa0ec._0x191db0,0x46a,0x3ad)},'path':{'type':_0x51fc90(-_0x2fa0ec._0x211356,-_0x2fa0ec._0x417294,0x5,-_0x2fa0ec._0x557b5a)},'limit':{'type':_0x3b7c5f(0x7d8,_0x2fa0ec._0x4a350b,_0x2fa0ec._0x41ac63,0x6d5)}},'required':[_0x51fc90(_0x2fa0ec._0x1449b5,0x36f,_0x2fa0ec._0x541356,0x311)]},async *'execute'(_0x3e66ac){if(_0x3e66ac[_0x17260f(0x9a1,_0x1d6f5e._0x3449e4,0x9b0,0x911)][_0x17260f(0x878,_0x1d6f5e._0xdb779,0x74f,0x7fc)]()['length']===0x0)throw new ToolExecutionError(_0xb01ddb(_0x1d6f5e._0x49f31b,0x4dd,0x40c,_0x1d6f5e._0x37382e),{});const _0x3a9347=resolveAllowedPath(_0x2ab2e5,_0x195f28,_0x3e66ac['path']??'.'),_0x5dbe20=await _0xae29c(_0x3a9347)[_0xb01ddb(0x49c,0x588,_0x1d6f5e._0xdd2a81,0x331)](()=>null);if(!_0x5dbe20?.['isDirectory']())throw new ToolExecutionError(_0xb01ddb(0xdd,_0x1d6f5e._0x5b8a9c,0x10b,0xb9)+(_0x3e66ac['path']??'.'),{'path':_0x3e66ac[_0x17260f(_0x1d6f5e._0x59aa63,_0x1d6f5e._0x2b76be,_0x1d6f5e._0x495174,0x273)]??'.'});const _0x559284=_0x3e66ac[_0x17260f(_0x1d6f5e._0x43035d,_0x1d6f5e._0x42be04,0x879,_0x1d6f5e._0x54aeee)]??_0x22e5a3,_0x5b7557=Math[_0xb01ddb(_0x1d6f5e._0x6fc614,_0x1d6f5e._0x19fe58,_0x1d6f5e._0x764e14,_0x1d6f5e._0x1bbe51)](0x1,Math[_0xb01ddb(_0x1d6f5e._0xe5d895,_0x1d6f5e._0x2f432b,_0x1d6f5e._0x65fbfc,-0x1b)](_0x559284)),_0x5a9290=[];function _0xb01ddb(_0x2bcb49,_0xeca315,_0x175233,_0xdd8113){return _0x51fc90(_0x2bcb49-_0x2e0261._0x2ced1a,_0x2bcb49,_0x175233-_0x2e0261._0x1b52eb,_0x175233-_0x2e0261._0xb55854);}let _0x5a5ba9=![];for await(const _0x272e65 of files({'cwd':_0x3a9347,'glob':[_0x3e66ac['pattern']]})){if(_0x5a9290['length']>=_0x5b7557){_0x5a5ba9=!![];break;}const _0x4a119c=await _0xae29c(_0x4e807a[_0xb01ddb(0x3e4,0x2fd,0x3ce,_0x1d6f5e._0x5c05c1)](_0x3a9347,_0x272e65))[_0xb01ddb(0x1b1,0x3a4,0x3c5,0x210)](()=>null);_0x5a9290['push']({'path':_0x272e65,'mtime':_0x4a119c?.[_0x17260f(0x87b,_0x1d6f5e._0x28bfb6,_0x1d6f5e._0x3634c3,_0x1d6f5e._0xad9556)]??0x0});}_0x5a9290[_0x17260f(0x7bc,0x5af,0x412,0x75e)]((_0x5a76e9,_0x49f5de)=>_0x49f5de['mtime']-_0x5a76e9[_0x17260f(0x5b6,0x773,0x62b,0x742)]);const _0x5b19f7=_0x5a9290[_0xb01ddb(_0x1d6f5e._0x4612d0,_0x1d6f5e._0x1ea7d3,_0x1d6f5e._0x1ee92c,_0x1d6f5e._0x14da31)](_0x175715=>_0x175715[_0x17260f(0x625,0x486,0x411,0x454)]),_0x4266e4=_0x5b19f7[_0x17260f(0x6c0,0x737,_0x1d6f5e._0x4684ac,_0x1d6f5e._0x112348)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x3e66ac[_0xb01ddb(_0x1d6f5e._0x171e34,_0x1d6f5e._0x1130d2,_0x1d6f5e._0x1f6bb8,0x548)]:''+_0x5b19f7[_0xb01ddb(0x51c,_0x1d6f5e._0x5b8283,0x3ce,0x1ce)]('\x0a')+(_0x5a5ba9?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');function _0x17260f(_0x3212d6,_0x385f02,_0x7fe60d,_0x195dde){return _0x3b7c5f(_0x385f02-0x4d,_0x385f02-0x1c2,_0x7fe60d,_0x195dde-_0x40ccde._0x443b14);}return yield createToolOutput(_0x4266e4,{'pattern':_0x3e66ac['pattern'],'searchPath':_0x4e807a[_0x17260f(_0x1d6f5e._0x29cefd,0x606,0x61c,_0x1d6f5e._0x42d1eb)](_0x2ab2e5,_0x3a9347)||'.','matches':_0x5b19f7,'count':_0x5b19f7[_0xb01ddb(0x57c,_0x1d6f5e._0x589aff,0x3b5,_0x1d6f5e._0x3a8b9a)],'truncated':_0x5a5ba9}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x3ed2d6){const _0x39e86a={_0x3e43be:0x7b8,_0xc4c1ac:0x68f,_0x15bc63:0x7ee,_0x4a3ddf:0x8f4,_0x26a56d:0xad0,_0x109202:0x83c},_0x2a58df={_0x53fcc1:0x144,_0x220084:0x1e5},_0x4909bf={_0x59aad8:0x153};function _0x287292(_0x9d60e1,_0x12ea55,_0x4b5bc5,_0x460b31){return _0x511cdd(_0x9d60e1-_0x4909bf._0x59aad8,_0x12ea55-0x88,_0x12ea55,_0x4b5bc5-0x436);}if(_0x3ed2d6['trim']()[_0x128a3f(_0x39e86a._0x3e43be,_0x39e86a._0xc4c1ac,0x659,_0x39e86a._0x15bc63)]===0x0)throw new Error('pattern\x20is\x20required');function _0x128a3f(_0x2bb833,_0x14cc68,_0xfe0023,_0x124aae){return _0x30b865(_0x2bb833-_0x2a58df._0x53fcc1,_0x124aae,_0x14cc68-0x48a,_0x124aae-_0x2a58df._0x220084);}if(_0x3ed2d6[_0x287292(0x7c1,0x857,0x823,_0x39e86a._0x4a3ddf)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x287292(_0x39e86a._0x26a56d,_0x39e86a._0x109202,0x8ce,0xaa2)+GREP_MAX_PATTERN_LENGTH+'\x20characters');}function boundedGrepSnippet(_0x8e01d0){const _0x1980bc={_0x57b291:0x7c7},_0x42c316={_0x3f6699:0xdc,_0x4d31bf:0x1a4,_0x2c9d6b:0x20a};function _0x2e0d8d(_0x545a13,_0x10814b,_0x145314,_0x5d3b14){return _0x511cdd(_0x545a13-_0x42c316._0x3f6699,_0x10814b-_0x42c316._0x4d31bf,_0x5d3b14,_0x10814b-_0x42c316._0x2c9d6b);}return _0x8e01d0[_0x2e0d8d(_0x1980bc._0x57b291,0x5f7,0x4e5,0x69d)]>GREP_MAX_SNIPPET_LENGTH?_0x8e01d0['slice'](0x0,GREP_MAX_SNIPPET_LENGTH)+'...':_0x8e01d0;}async function searchRegex(_0x344eb9){const _0x1c8288={_0x336eac:0x7f6,_0x4aa5cb:0xa56,_0x5654f6:0x8ab,_0x51ba51:0x7b8,_0x43fdc9:0xa53,_0x1fa3f1:0x7e2,_0x199179:0xa15,_0x7af468:0x8ab,_0xd7ac8f:0x924,_0x40e8d5:0x8d8,_0xbe2cd1:0x8c3,_0x141f15:0x97a,_0x49a507:0xb22,_0x4441f5:0x92f,_0x29c395:0x7ab,_0x3a493b:0x9f9,_0x49ce8f:0x679,_0xb65151:0x33a,_0x2b41c5:0x50f,_0x34a83e:0x674,_0x2aa77e:0x984,_0x2a5a78:0x91c,_0x3fa82f:0x3f2,_0x5c667c:0x4d0,_0x3d03f5:0x462,_0x4a8006:0x5fc,_0x394deb:0x807,_0x5ef2af:0x959,_0x2f1dfc:0x9fd,_0x5629ef:0x9ac,_0x4bc241:0x364,_0x5a49c2:0x503,_0x20bf7f:0x545,_0x4e576c:0x999,_0x27b0eb:0x848,_0x352f1a:0x55f,_0x5ac4a9:0x602,_0x24c2c4:0x618},_0x5198ab={_0x5ced50:0x4cc,_0x3fe094:0x5aa,_0x274c5f:0x464,_0x4e314:0x418},_0x5a83dd={_0x461432:0x29},_0x2da6e2={_0x260c85:0x10d},_0x4f077c={_0x49c13d:0x1f4},_0x110d38={_0x154cdd:0x17b,_0xd9c30:0x138,_0x1e74a3:0x399};validateGrepPattern(_0x344eb9[_0x16af92(_0x1c8288._0x336eac,_0x1c8288._0x4aa5cb,_0x1c8288._0x5654f6,_0x1c8288._0x51ba51)]);const _0x457b3f=_0x344eb9['limit']??GREP_DEFAULT_LIMIT,_0x4c84a6=Number[_0xac6b06(_0x1c8288._0x43fdc9,0x90a,0x7db,0x947)](_0x457b3f)?Math[_0xac6b06(0x6fb,0x86e,_0x1c8288._0x1fa3f1,0x6a2)](0x1,Math['trunc'](_0x457b3f)):GREP_DEFAULT_LIMIT;if(_0x344eb9['files']?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x15aa32=await search({'cwd':_0x344eb9['cwd'],'pattern':_0x344eb9[_0x16af92(_0x1c8288._0x199179,0x6f5,_0x1c8288._0x7af468,0xa1d)],..._0x344eb9[_0x16af92(0x60c,0x656,0x7ce,_0x1c8288._0xd7ac8f)]===void 0x0?{}:{'files':_0x344eb9[_0xac6b06(0x6c0,0x76b,_0x1c8288._0x40e8d5,_0x1c8288._0xbe2cd1)]},..._0x344eb9[_0xac6b06(_0x1c8288._0x141f15,0x8b4,_0x1c8288._0x49a507,_0x1c8288._0x4441f5)]===void 0x0?{}:{'glob':_0x344eb9[_0x16af92(_0x1c8288._0x29c395,_0x1c8288._0x3a493b,0x83a,_0x1c8288._0x49ce8f)]},..._0x344eb9['context']===void 0x0?{}:{'context':_0x344eb9['context']},'limit':_0x4c84a6+0x1}),_0x83dcd0=_0x15aa32[_0x16af92(_0x1c8288._0xb65151,_0x1c8288._0x2b41c5,0x545,_0x1c8288._0x34a83e)](_0x5e9484=>!_0x5e9484[_0x16af92(0x60f,0x43b,0x5cf,0x68e)]),_0x50a955=_0x83dcd0[_0xac6b06(_0x1c8288._0x2aa77e,0x8d8,_0x1c8288._0x2a5a78,0x87b)]>_0x4c84a6,_0x18f816=_0x83dcd0['slice'](0x0,_0x4c84a6);function _0x16af92(_0x3373fe,_0x260208,_0x2b8e19,_0x44d640){return _0x511cdd(_0x3373fe-_0x110d38._0x154cdd,_0x260208-_0x110d38._0xd9c30,_0x260208,_0x2b8e19-_0x110d38._0x1e74a3);}const _0x13be85=new Set(_0x18f816);function _0xac6b06(_0x53f3e5,_0x5edbf6,_0x5ab4b7,_0x39e7d8){return _0x30b865(_0x53f3e5-0xe4,_0x5edbf6,_0x39e7d8-0x676,_0x39e7d8-_0x4f077c._0x49c13d);}const _0x2fcad2=Math[_0x16af92(_0x1c8288._0x3fa82f,0x6f1,0x5ad,_0x1c8288._0x5c667c)](0x0,Math[_0xac6b06(_0x1c8288._0x3d03f5,0x4d4,0x599,_0x1c8288._0x4a8006)](_0x344eb9[_0xac6b06(_0x1c8288._0x394deb,_0x1c8288._0x5ef2af,_0x1c8288._0x2f1dfc,_0x1c8288._0x5629ef)]??0x0)),_0x4534b=_0x50a955?_0x15aa32[_0x16af92(_0x1c8288._0x4bc241,_0x1c8288._0x5a49c2,_0x1c8288._0x20bf7f,0x6c5)](_0x1f7521=>{function _0x32e2aa(_0x3c9a68,_0x5814cb,_0x3b1841,_0x77cf77){return _0x16af92(_0x3c9a68-_0x2da6e2._0x260c85,_0x3b1841,_0x3c9a68- -0x264,_0x77cf77-0x113);}if(!_0x1f7521[_0x2a54d2(0x2e4,0x6a7,_0x5198ab._0x5ced50,_0x5198ab._0x3fe094)])return _0x13be85['has'](_0x1f7521);function _0x2a54d2(_0x1566ef,_0x4459ca,_0x241311,_0x564c49){return _0x16af92(_0x1566ef-0x126,_0x4459ca,_0x241311- -0x103,_0x564c49-_0x5a83dd._0x461432);}return _0x18f816[_0x32e2aa(_0x5198ab._0x274c5f,0x5f0,0x2f7,_0x5198ab._0x4e314)](_0x3e85f7=>_0x3e85f7[_0x32e2aa(0x28e,0x1f2,0x425,0x38c)]===_0x1f7521[_0x32e2aa(0x28e,0x7c,0x23a,0x3d7)]&&Math[_0x32e2aa(0x2d1,0x23a,0x172,0x483)](_0x3e85f7[_0x32e2aa(0x296,0x2fa,0xc7,0x250)]-_0x1f7521[_0x2a54d2(0x4a5,0x4b8,0x3f7,0x38b)])<=_0x2fcad2);}):_0x15aa32;return{'matches':_0x4534b,'matchCount':_0x18f816[_0x16af92(0x5c5,_0x1c8288._0x4e576c,0x786,_0x1c8288._0x27b0eb)],'fileCount':new Set(_0x4534b[_0xac6b06(0x7b0,0x80c,0x983,0x96e)](_0x585dfa=>_0x585dfa[_0x16af92(0x397,0x6a3,0x4f2,0x3fe)]))[_0xac6b06(_0x1c8288._0x352f1a,0x426,_0x1c8288._0x5ac4a9,_0x1c8288._0x24c2c4)],'truncated':_0x50a955};}import{stat as _0xf576f6}from'fs/promises';import*as _0x5a8c3f from'path';function createGrepTool(_0x92a325={}){const _0x182976={_0x298577:0x152,_0xcd920d:0x2a3,_0x87dfce:0x4e6,_0x3f1e9:0x392,_0x2a3927:0x295,_0x491c4f:0x431,_0x17c3ca:0x606,_0x100f53:0x80,_0x607116:0x8,_0x2fadb8:0x154,_0x17d05c:0x51,_0x4b9300:0x84,_0x4d434f:0x19a,_0xe69a05:0x6,_0xb8a250:0xd6,_0x164b1f:0x212,_0x90a55a:0x2dc,_0x29c7bf:0x1bf,_0x340ed6:0x369,_0x23557f:0x4c,_0x220c00:0x98,_0x5b0987:0x50,_0x5abaae:0x94,_0x3d19bb:0x55a,_0x452456:0x361,_0x14bd01:0x210,_0x1bc65b:0x2fd},_0x5e61a2={_0x1a7cfe:0x431,_0x3df4c9:0x220,_0x12d818:0x2a0,_0x35fab3:0x2b3,_0x42eded:0x5b,_0x3144fa:0x73,_0x473eca:0xad,_0x4414b8:0x2a5,_0x22cd80:0x429,_0xfb4a2a:0x124,_0xcdfaf6:0x465,_0x297a74:0x4c1,_0x193b09:0x8a7,_0xd4caed:0x6a2,_0x1874f1:0x5f4,_0x345ef4:0x419,_0x1eeb9c:0x7ad,_0x3e52fb:0x671,_0x32da56:0x11e,_0xe194f2:0x78,_0x12453b:0x3aa,_0x3e4de8:0x248,_0x5ba4a9:0x3f1,_0x3d7b02:0x16b,_0x2997dd:0x4e4,_0x1eb089:0x518,_0x47d7ce:0x643,_0x166eac:0x5da,_0x2cf735:0x1ed,_0x2403a0:0x30c,_0x168e0b:0x409,_0x298a53:0x3d7,_0x34dbd9:0x5e5,_0x245c5e:0x678,_0x465a7d:0x697,_0x386d65:0x6a2,_0x24a67c:0x4e6,_0x4e3e05:0x31c,_0x40ca01:0x401,_0x433454:0x259,_0x267d31:0x324,_0x336443:0x2a7,_0x5a3eb3:0x3d4,_0x84f65e:0x55f,_0x82e283:0x27b,_0x5a0259:0x1b5,_0x1022b1:0x301,_0x1da240:0x1d1,_0x363c82:0x22a,_0x15485e:0x4e1,_0x39ea83:0x13d,_0x5e60ab:0x5e4,_0x10d72d:0x44c,_0x31b48c:0x592,_0x5ca4d3:0x5b6,_0x41d699:0x510,_0x188ac9:0x5f1,_0x359572:0x462,_0x34836c:0x5a4,_0x149c79:0x144,_0x803511:0x51c,_0x518955:0x19b,_0x1a50cf:0x5a5,_0x57597d:0x74d},_0xb3114f={_0x886a5c:0x10},_0x3483e3={_0x52ec7a:0xf1},_0x1b0ed2={_0x151bbb:0x17a};function _0x50419d(_0x232d6a,_0x393f9b,_0x3cfab1,_0x33d2c3){return _0x511cdd(_0x232d6a-0x16d,_0x393f9b-0x156,_0x3cfab1,_0x393f9b- -_0x1b0ed2._0x151bbb);}const _0x22e07d=_0x5a8c3f[_0x50419d(0xe1,0x108,_0x182976._0x298577,0x296)](_0x92a325[_0x582e64(0x2f0,_0x182976._0xcd920d,0xf9,_0x182976._0x87dfce)]??process[_0x582e64(_0x182976._0x3f1e9,0x53d,0x466,0x558)]()),_0x130b54=_0x92a325['allowedDirs']??[],_0x344508=_0x92a325[_0x50419d(0x215,0x322,_0x182976._0x2a3927,_0x182976._0x491c4f)]??GREP_DEFAULT_LIMIT;function _0x582e64(_0x4cf8df,_0x5b1241,_0x795ba6,_0x39ddd7){return _0x511cdd(_0x4cf8df-0xe3,_0x5b1241-0xf8,_0x795ba6,_0x4cf8df- -_0x3483e3._0x52ec7a);}const _0x5a49d7=_0x92a325[_0x582e64(0x418,0x4b2,_0x182976._0x17c3ca,0x291)]??_0x50419d(_0x182976._0x100f53,_0x182976._0x607116,-0x38,-_0x182976._0x2fadb8);return defineTool({'name':_0x5a49d7,'permissionClass':_0x50419d(-_0x182976._0x17d05c,_0x182976._0x4b9300,_0x182976._0x4d434f,-_0x182976._0xe69a05),'description':_0x582e64(_0x182976._0xb8a250,_0x182976._0x164b1f,_0x182976._0x90a55a,-0x6a),'inputSchema':{'type':_0x582e64(_0x182976._0x29c7bf,_0x182976._0x340ed6,_0x182976._0x23557f,0x19c),'properties':{'pattern':{'type':'string'},'path':{'type':_0x582e64(_0x182976._0x220c00,_0x182976._0x5b0987,0x1e1,-_0x182976._0x5abaae)},'include':{'type':'string'},'limit':{'type':_0x50419d(_0x182976._0x3d19bb,_0x182976._0x452456,0x1e7,0x4a6)},'context':{'type':_0x50419d(0x544,0x361,0x2bd,_0x182976._0x14bd01)}},'required':[_0x50419d(0x2da,0x398,_0x182976._0x1bc65b,0x2fc)]},async *'execute'(_0xd62a2a){try{validateGrepPattern(_0xd62a2a[_0x5664b2(0x2fd,_0x5e61a2._0x1a7cfe,0x5d2,0x455)]);}catch(_0x437da0){throw new ToolExecutionError(_0x437da0[_0x5664b2(0x17a,_0x5e61a2._0x3df4c9,_0x5e61a2._0x12d818,_0x5e61a2._0x35fab3)],{});}function _0x2c0544(_0x59d78f,_0x10c977,_0xb98207,_0x3576fb){return _0x582e64(_0x10c977-0x281,_0x10c977-0x193,_0x59d78f,_0x3576fb-0x16e);}const _0x281800=resolveAllowedPath(_0x22e07d,_0x130b54,_0xd62a2a[_0x5664b2(-0xb4,_0x5e61a2._0x42eded,-_0x5e61a2._0x3144fa,_0x5e61a2._0x473eca)]??'.'),_0x2b430b=await _0xf576f6(_0x281800)['catch'](()=>null),_0x21715d=_0x2b430b?.['isFile']()??![],_0x158ca2=_0x2b430b?.['isDirectory']()??![];if(!_0x21715d&&!_0x158ca2)throw new ToolExecutionError(_0x5664b2(0x191,_0x5e61a2._0x4414b8,0x232,_0x5e61a2._0x22cd80)+(_0xd62a2a[_0x5664b2(0xbe,0x5b,_0x5e61a2._0xfb4a2a,0x12)]??'.'),{'path':_0xd62a2a['path']??'.'});const _0x1d9305=await searchRegex({'cwd':_0x158ca2?_0x281800:_0x5a8c3f[_0x2c0544(0x57b,_0x5e61a2._0xcdfaf6,_0x5e61a2._0x297a74,0x5fe)](_0x281800),'pattern':_0xd62a2a[_0x2c0544(_0x5e61a2._0x193b09,_0x5e61a2._0xd4caed,_0x5e61a2._0x1874f1,0x4c9)],'glob':_0x158ca2?_0xd62a2a[_0x2c0544(0x6af,0x531,0x575,0x4b5)]:void 0x0,'limit':_0xd62a2a[_0x2c0544(0x786,0x62c,_0x5e61a2._0x345ef4,_0x5e61a2._0x1eeb9c)]??_0x344508,'files':_0x21715d?[_0x281800]:void 0x0,'context':_0xd62a2a['context']}),{matches:_0x4f3458}=_0x1d9305;function _0x5664b2(_0x55ead6,_0xf004eb,_0x40d5e6,_0xc06ae5){return _0x582e64(_0xf004eb-_0xb3114f._0x886a5c,_0xf004eb-0x100,_0xc06ae5,_0xc06ae5-0x1ed);}const _0x33b8b4=new Map();for(const _0x4d499c of _0x4f3458){if(!_0x33b8b4[_0x2c0544(0x43f,0x595,0x429,_0x5e61a2._0x3e52fb)](_0x4d499c[_0x5664b2(-_0x5e61a2._0x32da56,_0x5e61a2._0xe194f2,0xb4,-0x50)])){const _0x248972=await _0xf576f6(_0x4d499c['filePath'])[_0x2c0544(_0x5e61a2._0x12453b,0x58d,0x4e5,0x471)](()=>null);_0x33b8b4['set'](_0x4d499c[_0x5664b2(0x289,0x78,0x1fd,-0x8)],{'matches':[],'mtime':_0x248972?.[_0x5664b2(0x4ed,0x404,_0x5e61a2._0x3e4de8,_0x5e61a2._0x5ba4a9)]??0x0});}_0x33b8b4['get'](_0x4d499c[_0x5664b2(0xaa,0x78,-0x62,0x95)])?.['matches'][_0x5664b2(0x4a8,0x2f9,_0x5e61a2._0x3d7b02,0x1a7)](_0x4d499c);}const _0x5eda7a=[..._0x33b8b4[_0x2c0544(_0x5e61a2._0x2997dd,_0x5e61a2._0x1eb089,0x5ca,_0x5e61a2._0x47d7ce)]()][_0x2c0544(_0x5e61a2._0x166eac,0x3f5,0x52e,0x202)]((_0x3af5ec,_0x4854e9)=>_0x4854e9[0x1][_0x2c0544(0x748,0x5b9,0x426,0x406)]-_0x3af5ec[0x1][_0x2c0544(0x64d,0x5b9,0x680,0x62b)]),_0x41b852=_0x21715d?_0x5a8c3f['dirname'](_0x281800):_0x281800;let _0x565330='';if(_0x4f3458[_0x5664b2(_0x5e61a2._0x2cf735,0x30c,_0x5e61a2._0x2403a0,_0x5e61a2._0x168e0b)]===0x0)_0x565330=_0x2c0544(_0x5e61a2._0x298a53,_0x5e61a2._0x34dbd9,0x5c8,_0x5e61a2._0x245c5e)+_0xd62a2a[_0x2c0544(_0x5e61a2._0x465a7d,_0x5e61a2._0x386d65,0x666,_0x5e61a2._0x24a67c)];else{_0x565330='Found\x20'+_0x1d9305['matchCount']+'\x20match'+(_0x1d9305[_0x2c0544(0x189,_0x5e61a2._0x4e3e05,_0x5e61a2._0x40ca01,_0x5e61a2._0x433454)]===0x1?'':'es')+'\x0a';for(const [_0x35d05c,_0x3d8a5c]of _0x5eda7a){const _0x976303=_0x21715d?_0x5a8c3f[_0x2c0544(0x12b,0x318,0x284,_0x5e61a2._0x267d31)](_0x35d05c):_0x5a8c3f['relative'](_0x41b852,_0x35d05c);_0x565330+='\x0a'+_0x976303+':\x0a';for(const _0x498ddb of _0x3d8a5c[_0x5664b2(_0x5e61a2._0x336443,_0x5e61a2._0x5a3eb3,0x424,0x49b)]){const _0x31bca3=boundedGrepSnippet(_0x498ddb[_0x2c0544(_0x5e61a2._0x84f65e,0x38c,0x284,_0x5e61a2._0x82e283)]),_0x2762d6=_0x498ddb[_0x2c0544(_0x5e61a2._0x5a0259,0x3c6,_0x5e61a2._0x1022b1,_0x5e61a2._0x1da240)]?'\x20\x20':'>\x20';_0x565330+=_0x2762d6+_0x5664b2(0x56d,0x371,_0x5e61a2._0x363c82,0x201)+_0x498ddb['lineNum']+':\x20'+_0x31bca3+'\x0a';}}_0x1d9305[_0x2c0544(_0x5e61a2._0x15485e,0x5a4,0x4af,0x3e4)]&&(_0x565330+=_0x5664b2(0x33b,0x288,0x10c,_0x5e61a2._0x39ea83));}const _0x55f4be={'searchPath':_0x5a8c3f[_0x2c0544(_0x5e61a2._0x5e60ab,_0x5e61a2._0x10d72d,_0x5e61a2._0x31b48c,_0x5e61a2._0x5ca4d3)](_0x22e07d,_0x281800)||'.','pattern':_0xd62a2a[_0x5664b2(0x252,_0x5e61a2._0x1a7cfe,_0x5e61a2._0x41d699,_0x5e61a2._0x188ac9)],'matchCount':_0x1d9305[_0x2c0544(0x1c9,0x31c,0x270,0x3e9)],'fileCount':_0x1d9305['fileCount'],'truncated':_0x1d9305[_0x2c0544(_0x5e61a2._0x359572,_0x5e61a2._0x34836c,_0x5e61a2._0x5ca4d3,0x4ab)]};return _0x158ca2&&_0xd62a2a[_0x5664b2(0x203,0x2c0,0x481,_0x5e61a2._0x149c79)]!==void 0x0&&(_0x55f4be[_0x2c0544(0x677,0x531,0x51a,_0x5e61a2._0x803511)]=_0xd62a2a[_0x5664b2(_0x5e61a2._0x518955,0x2c0,0x2d7,0x1e6)]),yield createToolOutput(_0x565330[_0x2c0544(_0x5e61a2._0x1a50cf,0x5c7,_0x5e61a2._0x57597d,0x618)](),_0x55f4be),void 0x0;}});}import{readdir,readFile as _0x446478,stat as _0x466b98}from'fs/promises';import*as _0x103587 from'path';import*as _0x6ca0a7 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x38e039,_0x5f1726){const _0x321724={_0x53f302:0x74d,_0x32f8e9:0x5b8,_0x242bf6:0x43a,_0x5ad3e9:0x59a,_0x385954:0x26c,_0x5f58b2:0x234,_0xfc5f77:0x2cb,_0x99a0c5:0x1f4},_0x1dfa3a={_0x13eafc:0x35};function _0x5d940e(_0x18bd86,_0x3deeb8,_0xb6e4f0,_0x13b06b){return _0x511cdd(_0x18bd86-_0x1dfa3a._0x13eafc,_0x3deeb8-0x121,_0x18bd86,_0xb6e4f0- -0x83);}if(_0x5f1726>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x5c3f67(_0x43e79d,_0x1b1aa4,_0x476d63,_0x4470f7){return _0x30b865(_0x43e79d-0x112,_0x4470f7,_0x1b1aa4-0x4ad,_0x4470f7-0x155);}const _0x18d69c=await _0x446478(_0x38e039)['catch'](()=>null);if(!_0x18d69c||isProbablyBinary(_0x18d69c))return void 0x0;return _0x18d69c[_0x5c3f67(0x56b,0x557,_0x321724._0x53f302,_0x321724._0x32f8e9)](_0x5c3f67(0x418,_0x321724._0x242bf6,_0x321724._0x5ad3e9,0x245))[_0x5d940e(_0x321724._0x385954,_0x321724._0x5f58b2,_0x321724._0xfc5f77,_0x321724._0x99a0c5)](/\r?\n/)['length'];}function createLsTool(_0x9eeea2={}){const _0x2b051e={_0x10520e:0x202,_0x410b8b:0x4a7,_0x4bf0ea:0x549,_0x52a3bc:0x80e,_0x2bc3da:0xa16,_0x4412f1:0x81a,_0x1bec6c:0x829,_0x505d54:0x8aa,_0x31d411:0x598,_0xa50f0b:0x773,_0x2c2a30:0x716,_0x52277e:0x616,_0x16db72:0x5a5,_0x95da9e:0x3ee,_0x84ea04:0x3ed},_0x54ee6e={_0x1625b8:0x109,_0x335606:0x3a4,_0x32e887:0x2f5,_0x46217f:0x432,_0x326548:0x43,_0x33301b:0x22d,_0x380824:0x4a,_0x20a475:0xd0,_0x3a2861:0x15e,_0x504c7f:0x167,_0x478232:0xf,_0x98903b:0x457,_0x533923:0x1eb,_0x3f5574:0x2c9,_0x386923:0x4b,_0xecae79:0x1ab,_0x4fde65:0x12b,_0x2e35f7:0x4c3,_0x22feae:0x51,_0x26c975:0x2af,_0x28bc2d:0x94,_0x5a3bf4:0x207,_0x295718:0xde,_0x18d4ad:0x181,_0x7db5d7:0x67,_0x25d3a8:0x1bf,_0x10d1be:0x369,_0x1218e9:0x3ea,_0x561c89:0x4f4,_0x5482c3:0x446,_0x5d434b:0x228,_0x33192d:0x300,_0x1dac10:0x14e,_0x10a70e:0x3bc,_0x1f8b2d:0x3e0,_0x41a5d0:0x2e2,_0x4b8992:0xdf,_0x406eed:0x1ac,_0xdd7ed:0x177,_0x77430b:0x4d9,_0x3e093d:0x1cd,_0x41235a:0x1ed,_0x27703f:0x271},_0x4efa94={_0x231e8e:0x148},_0x203d3e={_0x210a8e:0x149};function _0x3f3fc0(_0x2380a0,_0x287388,_0x2214ea,_0x5f2d1f){return _0x511cdd(_0x2380a0-_0x203d3e._0x210a8e,_0x287388-0x1be,_0x5f2d1f,_0x287388-0x41c);}const _0x476d5e=_0x103587[_0x601b06(0x358,0x449,_0x2b051e._0x10520e,0x348)](_0x9eeea2[_0x601b06(0x4e9,0x2e5,0x3a1,_0x2b051e._0x410b8b)]??process[_0x601b06(0x418,0x67d,0x62f,_0x2b051e._0x4bf0ea)]()),_0x141cf8=_0x9eeea2['allowedDirs']??[];function _0x601b06(_0x41b298,_0x4f8741,_0xe63bda,_0x54469d){return _0x30b865(_0x41b298-_0x4efa94._0x231e8e,_0x41b298,_0x54469d-0x2ae,_0x54469d-0xd3);}const _0x218162=_0x9eeea2[_0x3f3fc0(0xa78,0x925,_0x2b051e._0x52a3bc,_0x2b051e._0x2bc3da)]??'Ls';return defineTool({'name':_0x218162,'permissionClass':_0x3f3fc0(0x644,0x61a,0x558,_0x2b051e._0x4412f1),'description':_0x3f3fc0(_0x2b051e._0x1bec6c,0x772,_0x2b051e._0x505d54,_0x2b051e._0x31d411),'inputSchema':{'type':_0x3f3fc0(_0x2b051e._0xa50f0b,0x6cc,_0x2b051e._0x2c2a30,0x8b1),'properties':{'path':{'type':_0x3f3fc0(_0x2b051e._0x52277e,_0x2b051e._0x16db72,_0x2b051e._0x95da9e,_0x2b051e._0x84ea04)},'limit':{'type':'number'}}},async *'execute'(_0x1b5cd4){const _0x59a28b={_0x546d3e:0xbc,_0x5480bd:0x71},_0x21edbc=_0x1b5cd4['path']??'.',_0x36afab=resolveAllowedPath(_0x476d5e,_0x141cf8,_0x21edbc),_0x15ed2c=await _0x466b98(_0x36afab)[_0xfa7798(0x277,_0x54ee6e._0x1625b8,_0x54ee6e._0x335606,0x325)](()=>null);if(!_0x15ed2c?.[_0xfa7798(0x2a6,_0x54ee6e._0x32e887,_0x54ee6e._0x46217f,0xf3)]())throw new ToolExecutionError(_0xfa7798(-_0x54ee6e._0x326548,-0x20d,-0x16c,-0xbb)+_0x21edbc,{'path':_0x21edbc});const _0x47a689=_0x1b5cd4[_0x3815e8(0x28b,_0x54ee6e._0x33301b,0x522,0x320)]??0x3e8,_0x1532a3=Math[_0x3815e8(-_0x54ee6e._0x380824,0xc1,0x80,0x11)](Math[_0x3815e8(0x11f,_0x54ee6e._0x20a475,_0x54ee6e._0x3a2861,0x98)](Math[_0x3815e8(0x18b,-_0x54ee6e._0x504c7f,_0x54ee6e._0x478232,-0xe)](_0x47a689),0x1),0x2710),_0x57a794=await readdir(_0x36afab),_0x5c8727=[];for(const _0x1a14e3 of _0x57a794['slice'](0x0,_0x1532a3)){const _0x401e9e=_0x103587[_0x3815e8(_0x54ee6e._0x98903b,_0x54ee6e._0x533923,0x8d,0x28a)](_0x36afab,_0x1a14e3),_0x4521e6=await _0x466b98(_0x401e9e)['catch'](()=>null);if(!_0x4521e6)continue;let _0x500772=_0x3815e8(0x3ab,0x19e,0x250,_0x54ee6e._0x3f5574);if(_0x4521e6[_0xfa7798(_0x54ee6e._0x386923,-_0x54ee6e._0xecae79,0x1a4,-0xd)]())_0x500772=_0xfa7798(0x2f6,_0x54ee6e._0x4fde65,_0x54ee6e._0x2e35f7,0x366);else{if(_0x4521e6['isDirectory']())_0x500772=_0x3815e8(-_0x54ee6e._0x22feae,0x2d8,_0x54ee6e._0x26c975,0x143);else{if(_0x4521e6['isSymbolicLink']())_0x500772=_0xfa7798(0x24,0x199,-_0x54ee6e._0x28bc2d,_0x54ee6e._0x5a3bf4);}}const _0x323ad4={'name':_0x1a14e3,'type':_0x500772,'size':_0x4521e6[_0x3815e8(_0x54ee6e._0x295718,_0x54ee6e._0x18d4ad,_0x54ee6e._0x7db5d7,0xe)],'mtime':_0x4521e6[_0x3815e8(_0x54ee6e._0x25d3a8,0x505,0x1f3,_0x54ee6e._0x10d1be)],'mode':_0x4521e6[_0x3815e8(0x230,_0x54ee6e._0x1218e9,_0x54ee6e._0x561c89,0x2f8)]},_0x34a0d2=_0x500772===_0x3815e8(_0x54ee6e._0x5482c3,0x345,_0x54ee6e._0x5d434b,_0x54ee6e._0x33192d)?await countTextLines(_0x401e9e,_0x4521e6[_0x3815e8(-0x102,0x9,_0x54ee6e._0x1dac10,0xe)]):void 0x0;if(_0x34a0d2!==void 0x0)_0x323ad4[_0x3815e8(_0x54ee6e._0x10a70e,_0x54ee6e._0x1f8b2d,_0x54ee6e._0x41a5d0,0x256)]=_0x34a0d2;_0x5c8727['push'](_0x323ad4);}_0x5c8727[_0xfa7798(_0x54ee6e._0x4b8992,-0x12,_0x54ee6e._0x406eed,0x1b7)]((_0x3f8c45,_0x5e75f2)=>_0x3f8c45['name'][_0x3815e8(-0x54,0x116,-0x41,0x58)](_0x5e75f2[_0x3815e8(0x20a,0x491,0x4ed,0x38d)]));const _0x582994={'path':_0x21edbc,'total':_0x5c8727['length'],'truncated':_0x57a794['length']>_0x1532a3,'entries':_0x5c8727};function _0x3815e8(_0x797cd8,_0x31bc4c,_0x1e6c43,_0x29efd3){return _0x601b06(_0x31bc4c,_0x31bc4c-_0x59a28b._0x546d3e,_0x1e6c43-_0x59a28b._0x5480bd,_0x29efd3- -0x242);}function _0xfa7798(_0x2ca9bb,_0x2c1968,_0x23053d,_0x59e49a){return _0x601b06(_0x23053d,_0x2c1968-0x166,_0x23053d-0x18e,_0x2ca9bb- -0x24c);}return yield createToolOutput(_0x6ca0a7[_0x3815e8(0x111,0x22c,-_0x54ee6e._0xdd7ed,0x5c)](_0x582994,{'indent':0x2,'lineWidth':0x0})[_0x3815e8(_0x54ee6e._0x77430b,_0x54ee6e._0x1dac10,_0x54ee6e._0x3e093d,0x334)](),{'path':_0x21edbc,'total':_0x5c8727['length'],'truncated':_0x57a794[_0x3815e8(0x210,0x21f,_0x54ee6e._0x41235a,_0x54ee6e._0x27703f)]>_0x1532a3,'limit':_0x1532a3,'entries':_0x5c8727}),void 0x0;}});}import{readFile as _0x138dc6,stat as _0x3553fb}from'fs/promises';import*as _0xd7f335 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x511cdd(0x5d4,0x578,0x5b7,0x3ec),_0x511cdd(-0xb,-0x66,0x27e,0x12e),_0x511cdd(0x3b5,0x2c0,0x4c1,0x2d2),_0x30b865(-0xdb,0x8a,0xc0,0x108)]),PNG_SIGNATURE=Buffer[_0x511cdd(0x298,0x583,0x4c9,0x40b)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x5c68ae,_0x9babe6){const _0x242e60={_0xd321fd:0x2c6,_0x1d5e33:0x33e,_0x11abc4:0x444,_0x163af9:0x3aa,_0x24c745:0x6c1,_0x247ca4:0x68b,_0x10009a:0x5b0,_0x3c4e97:0x33d,_0x5a2bd7:0x28e,_0x222fb0:0x4bb,_0xb56c43:0x75e,_0x2646fb:0x601,_0x38b30a:0x51b,_0x4c1970:0x94a,_0x5c9590:0x7a5,_0x1ab0a7:0x931,_0x5f3560:0x6a8,_0x4e9405:0x49a,_0x33a10f:0x462,_0x5b73b4:0x53d,_0x34bab4:0x56f,_0x50a0be:0x323,_0x2c525a:0x967,_0x348790:0x814,_0x1da61c:0x532,_0x2c9e72:0x3f7,_0x11f986:0x4fe,_0x4d58c0:0x45d,_0x27074b:0x51d,_0x1a5d5a:0x702,_0x25f58c:0x748,_0x2c2f0a:0x5d5,_0x496e51:0x65b,_0x42af6a:0x533,_0x583728:0x63d,_0xb7ed68:0x4c3,_0x1d2755:0x546,_0x494ffb:0x65e,_0x36b8bb:0x66c,_0x1bdb5a:0x3ff,_0x3c94e9:0x71a,_0x2c4133:0x8eb,_0x19e00a:0x890,_0x5a0448:0x719},_0x8e0c5a={_0xe23602:0x34,_0x4496a4:0x10e},_0x31a4c9={_0xa8be4a:0x11d};function _0x70807b(_0x1731a2,_0x4c4c52,_0x509abe,_0x1c9fdd){return _0x30b865(_0x1731a2-_0x31a4c9._0xa8be4a,_0x1731a2,_0x509abe-0x493,_0x1c9fdd-0x13f);}if(_0x5c68ae[_0x70807b(_0x242e60._0xd321fd,_0x242e60._0x1d5e33,_0x242e60._0x11abc4,_0x242e60._0x163af9)](0x0,0x8)[_0x70807b(0x486,0x4b9,0x49a,0x4f6)](PNG_SIGNATURE))return _0x19f599(_0x242e60._0x24c745,_0x242e60._0x247ca4,0x65e,0x4c2);if(_0x5c68ae[0x0]===0xff&&_0x5c68ae[0x1]===0xd8&&_0x5c68ae[0x2]===0xff)return _0x70807b(0x3df,0x52d,0x47e,_0x242e60._0x10009a);const _0xf38647=_0x5c68ae[_0x70807b(_0x242e60._0x3c4e97,_0x242e60._0x5a2bd7,0x444,_0x242e60._0x222fb0)](0x0,0x6)[_0x19f599(_0x242e60._0xb56c43,_0x242e60._0x2646fb,0x5f7,0x6dc)](_0x70807b(0x3aa,0x345,_0x242e60._0x38b30a,0x58a));if(_0xf38647==='GIF87a'||_0xf38647===_0x19f599(_0x242e60._0x4c1970,0x97c,_0x242e60._0x5c9590,_0x242e60._0x1ab0a7))return'image/gif';if(_0x5c68ae[_0x19f599(_0x242e60._0x5f3560,0x4c3,0x4fe,0x50d)](0x0,0x4)[_0x70807b(_0x242e60._0x4e9405,_0x242e60._0x33a10f,_0x242e60._0x5b73b4,0x400)](_0x70807b(_0x242e60._0x34bab4,_0x242e60._0x50a0be,0x51b,0x599))===_0x19f599(0x7a3,_0x242e60._0x2c525a,_0x242e60._0x348790,0x816)&&_0x5c68ae[_0x19f599(_0x242e60._0x1da61c,_0x242e60._0x2c9e72,_0x242e60._0x11f986,_0x242e60._0x4d58c0)](0x8,0xc)[_0x19f599(_0x242e60._0x27074b,0x744,0x5f7,0x5a0)](_0x19f599(_0x242e60._0x1a5d5a,_0x242e60._0x25f58c,_0x242e60._0x2c2f0a,0x532))==='WEBP')return _0x19f599(0x4b9,_0x242e60._0x496e51,0x54c,0x4b9);const _0x4de8bf=_0xd7f335[_0x70807b(_0x242e60._0x42af6a,_0x242e60._0x583728,0x6c2,_0x242e60._0xb7ed68)](_0x9babe6)[_0x70807b(0x639,0x5ae,0x793,0x77a)]();if(_0x4de8bf==='.png')return _0x19f599(0x6f1,_0x242e60._0x1d2755,_0x242e60._0x494ffb,_0x242e60._0x36b8bb);if(_0x4de8bf==='.jpg'||_0x4de8bf==='.jpeg')return _0x70807b(0x460,0x360,0x47e,_0x242e60._0x1bdb5a);if(_0x4de8bf===_0x19f599(0x8ab,_0x242e60._0x3c94e9,0x7e6,0x866))return _0x70807b(0x315,0x588,0x4c4,0x613);if(_0x4de8bf===_0x19f599(_0x242e60._0x2c4133,_0x242e60._0x19e00a,_0x242e60._0x5a0448,0x6f8))return'image/webp';function _0x19f599(_0x484151,_0x13172a,_0x23d357,_0x2744e6){return _0x511cdd(_0x484151-_0x8e0c5a._0xe23602,_0x13172a-_0x8e0c5a._0x4496a4,_0x484151,_0x23d357-0x365);}return void 0x0;}function normalizeDetail(_0x1403c9){const _0xbbe87f={_0x43a0b6:0x5ec,_0xc1459b:0x698,_0x260842:0x71e,_0x5ca376:0x804,_0x2cf0e4:0x882,_0x4f4099:0x13c,_0x189cfe:0x2a8,_0x476c97:0x316,_0x563081:0xe7,_0x211aa6:0xf,_0x1379f7:0xa4},_0x28f87f={_0x28fc36:0x127,_0x2ecb29:0xfb},_0x2c765c={_0x114b76:0x449};if(_0x1403c9===void 0x0)return void 0x0;const _0x1499c5=_0x1403c9[_0x25ae19(_0xbbe87f._0x43a0b6,_0xbbe87f._0xc1459b,_0xbbe87f._0x260842,_0xbbe87f._0x5ca376)]()[_0x25ae19(0x71a,0x749,0x681,_0xbbe87f._0x2cf0e4)]();function _0x25ae19(_0xadd294,_0x4604de,_0x30af4e,_0x5d912b){return _0x30b865(_0xadd294-0x33,_0x30af4e,_0x4604de-_0x2c765c._0x114b76,_0x5d912b-0x1b4);}function _0x10a202(_0x2bd280,_0x4b1c04,_0x17d44e,_0x4077a5){return _0x30b865(_0x2bd280-_0x28f87f._0x28fc36,_0x4b1c04,_0x17d44e-0x8b,_0x4077a5-_0x28f87f._0x2ecb29);}if(!SUPPORTED_DETAILS[_0x10a202(_0xbbe87f._0x4f4099,0x42a,_0xbbe87f._0x189cfe,_0xbbe87f._0x476c97)](_0x1499c5))throw new ToolExecutionError(_0x10a202(-_0xbbe87f._0x563081,-0x164,_0xbbe87f._0x211aa6,-_0xbbe87f._0x1379f7)+_0x1403c9,{'detail':_0x1403c9});return _0x1499c5;}function createViewFileTool(_0x588bab={}){const _0x22f5cd={_0x1818fa:0x323,_0x726c24:0x425,_0x18c597:0x3bf,_0x5b7391:0x312,_0x2995c0:0x401,_0x5ba4aa:0x40b,_0x539861:0x415,_0xbde81f:0x2de,_0x1b195a:0x82b,_0x5ef9f0:0x66b,_0x3a0cdb:0xb0,_0x44f9eb:0x98,_0x3f15e8:0x1d,_0x20fcf2:0x409,_0x441de2:0x3f3,_0x35c664:0x399},_0x23125e={_0xa529c4:0x48a,_0x21e822:0x550,_0x5eae82:0x135,_0x1be522:0x397,_0x940ff9:0x29a,_0x20e0a3:0x4d7,_0x59f578:0x59e,_0x180c4f:0xa9e,_0x1ec8a0:0x88d,_0x3e25cb:0x920,_0x529072:0x80e,_0x1a8d5d:0x895,_0x268896:0x1a9,_0x238147:0x1c4,_0x2780c6:0x1d3,_0x36faca:0xbd,_0x237975:0xc6,_0x13323f:0xb5,_0x47cd10:0x2d6,_0x1dd3b9:0xab,_0x5b4595:0x704,_0x38fafc:0x8af,_0x554e99:0x167,_0x29498a:0x6f7,_0x52a57:0x675,_0x30bebc:0x10f,_0xb3fd18:0x14e,_0x541328:0x7ab,_0x3afcba:0x893,_0x39418b:0x670,_0x3ac010:0x56b,_0x239cd4:0x23c,_0x26d457:0x135,_0xa65bfa:0x541,_0x1cd765:0x5f2,_0x161892:0x3df,_0x40f4de:0x99,_0x2ed20d:0xc5,_0x5d3964:0xba,_0x2f3677:0x16d,_0x5675d5:0x19b},_0x155157={_0x22e5a6:0x106},_0x2cfc8a={_0x59fa31:0x142,_0x5d8689:0x1c1},_0x12b0f7=_0xd7f335['resolve'](_0x588bab[_0x357903(_0x22f5cd._0x1818fa,_0x22f5cd._0x726c24,_0x22f5cd._0x18c597,_0x22f5cd._0x5b7391)]??process['cwd']());function _0x318695(_0x46945e,_0x5f0901,_0x39b2ec,_0x2d6cf1){return _0x511cdd(_0x46945e-_0x2cfc8a._0x59fa31,_0x5f0901-_0x2cfc8a._0x5d8689,_0x2d6cf1,_0x46945e-0x120);}const _0x562b55=_0x588bab[_0x357903(_0x22f5cd._0x2995c0,_0x22f5cd._0x5ba4aa,0x5ee,_0x22f5cd._0x539861)]??[];function _0x357903(_0x3550c4,_0x8e7884,_0x18b078,_0x58719a){return _0x511cdd(_0x3550c4-0x11c,_0x8e7884-0x70,_0x58719a,_0x3550c4- -0xbe);}const _0x472d82=_0x588bab[_0x357903(0x46b,_0x22f5cd._0xbde81f,0x260,0x4e9)]??DEFAULT_MAX_BYTES,_0x4e9b03=_0x588bab[_0x318695(0x629,_0x22f5cd._0x1b195a,_0x22f5cd._0x5ef9f0,0x658)]??'ViewFile';return defineTool({'name':_0x4e9b03,'permissionClass':_0x357903(0x140,-_0x22f5cd._0x3a0cdb,_0x22f5cd._0x44f9eb,-_0x22f5cd._0x3f15e8),'description':_0x318695(_0x22f5cd._0x20fcf2,0x507,0x2d8,_0x22f5cd._0x441de2),'inputSchema':{'type':_0x318695(0x3d0,0x449,0x537,0x35f),'properties':{'path':{'type':_0x318695(0x2a9,0x3ad,0x373,_0x22f5cd._0x35c664)},'detail':{'type':'string'}},'required':[_0x318695(0x25c,0x2bd,0x437,0x11d)]},async *'execute'(_0x4ddcec){const _0x29266d={_0x2663e2:0x4d2,_0x2c54ee:0x4b},_0x219f25=resolveAllowedPath(_0x12b0f7,_0x562b55,_0x4ddcec[_0x49c0bd(0x53c,0x6f6,_0x23125e._0xa529c4,_0x23125e._0x21e822)]);await assertWorkspaceFile(_0x219f25);const _0x13fa05=await _0x3553fb(_0x219f25);if(_0x13fa05['size']>_0x472d82)throw new ToolExecutionError(_0x5ed291(0x24f,_0x23125e._0x5eae82,0x3c8,0x420)+_0x4ddcec['path'],{'path':_0x4ddcec[_0x5ed291(-0x1bb,-_0x23125e._0x1be522,-_0x23125e._0x940ff9,-0x17e)],'maxBytes':_0x472d82,'size':_0x13fa05[_0x49c0bd(0x545,0x487,_0x23125e._0x20e0a3,_0x23125e._0x59f578)]});const _0x2c1a54=await _0x138dc6(_0x219f25);function _0x49c0bd(_0x34a215,_0x4fc0ef,_0x5d8453,_0x3cc3e5){return _0x357903(_0x3cc3e5-_0x29266d._0x2663e2,_0x4fc0ef-0x165,_0x5d8453-_0x29266d._0x2c54ee,_0x5d8453);}const _0x121eb6=detectImageMediaType(_0x2c1a54,_0x219f25);if(!_0x121eb6)throw new ToolExecutionError(_0x49c0bd(_0x23125e._0x180c4f,0xa90,_0x23125e._0x1ec8a0,_0x23125e._0x3e25cb)+_0x4ddcec['path'],{'path':_0x4ddcec['path'],'supported':[_0x49c0bd(0x8bb,_0x23125e._0x529072,0x692,_0x23125e._0x1a8d5d),'.jpeg',_0x5ed291(-0x2b,_0x23125e._0x268896,-_0x23125e._0x238147,-_0x23125e._0x2780c6),_0x5ed291(0xc5,0x223,0x17d,0xd7),_0x5ed291(_0x23125e._0x36faca,_0x23125e._0x237975,0x257,-_0x23125e._0x13323f)]});const _0x4f5b70=normalizeDetail(_0x4ddcec[_0x5ed291(0xf1,_0x23125e._0x47cd10,0x207,0x12)]);function _0x5ed291(_0x233abe,_0x526807,_0x1a02ea,_0x38b565){return _0x357903(_0x233abe- -0x239,_0x526807-_0x155157._0x22e5a6,_0x1a02ea-0xa3,_0x1a02ea);}const _0x198ae9=[_0x5ed291(0x161,-_0x23125e._0x1dd3b9,0x1c8,0x13b)+_0x4ddcec['path'],'MIME:\x20'+_0x121eb6,_0x49c0bd(0x75b,_0x23125e._0x5b4595,0x871,_0x23125e._0x38fafc)+_0x13fa05['size']+_0x5ed291(_0x23125e._0x554e99,0x2fd,0x316,0x1df)][_0x49c0bd(_0x23125e._0x29498a,_0x23125e._0x52a57,0x5a7,0x64f)](_0x4f5b70?['Detail:\x20'+_0x4f5b70]:[])[_0x5ed291(_0x23125e._0x30bebc,_0x23125e._0xb3fd18,0x1e7,0x2c0)]('\x0a'),_0x31f66d=[{'type':_0x49c0bd(0xa1b,0x81e,_0x23125e._0x541328,_0x23125e._0x3afcba),'source':{'type':_0x49c0bd(_0x23125e._0x39418b,0x5b3,_0x23125e._0x3ac010,0x5f2),'media_type':_0x121eb6,'data':_0x2c1a54[_0x5ed291(-0x65,-_0x23125e._0x239cd4,-0xce,-_0x23125e._0x26d457)](_0x49c0bd(_0x23125e._0xa65bfa,0x765,0x682,_0x23125e._0x1cd765))}},{'type':'text','text':_0x198ae9}];return yield createToolOutput(_0x198ae9,{'path':_0x4ddcec[_0x49c0bd(_0x23125e._0x161892,0x710,0x55b,_0x23125e._0x21e822)],'resolvedPath':_0x219f25,'created':_0x13fa05[_0x5ed291(0x1a2,0x17f,0x224,0x42)]['toISOString'](),'modified':_0x13fa05[_0x5ed291(0x132,-_0x23125e._0x40f4de,0xb7,_0x23125e._0x2ed20d)][_0x5ed291(0x50,0x184,-0x6e,-_0x23125e._0x5d3964)](),'size':_0x13fa05[_0x5ed291(-_0x23125e._0x2f3677,-0x208,-0x33c,-_0x23125e._0x5675d5)],'mimeType':_0x121eb6,'encoding':'base64',..._0x4f5b70?{'detail':_0x4f5b70}:{}},_0x31f66d),void 0x0;}});}function createQuestionId(){const _0x5a0e17={_0x4b6e65:0x88e,_0x32ce4b:0x85a,_0x522c82:0x6c3,_0x3d4a4b:0x6a8,_0x4a45a1:0x177,_0x2be784:0x1ee,_0x5b6b9a:0x314,_0x38d832:0x346},_0x2ae9e7={_0x392738:0x349};function _0x52b1db(_0x2858c6,_0x5f204e,_0xea1a11,_0x2ce9ef){return _0x511cdd(_0x2858c6-0x16c,_0x5f204e-0x95,_0x2858c6,_0xea1a11-_0x2ae9e7._0x392738);}function _0x406547(_0x5ee056,_0x39453e,_0x500d08,_0x5bc2d1){return _0x511cdd(_0x5ee056-0x199,_0x39453e-0x97,_0x5bc2d1,_0x500d08- -0xa4);}return _0x52b1db(_0x5a0e17._0x4b6e65,_0x5a0e17._0x32ce4b,_0x5a0e17._0x522c82,_0x5a0e17._0x3d4a4b)+Date['now']()+'-'+Math['random']()[_0x406547(_0x5a0e17._0x4a45a1,0x3cb,_0x5a0e17._0x2be784,_0x5a0e17._0x5b6b9a)](0x24)[_0x406547(0xb2,_0x5a0e17._0x38d832,0x14f,0xa7)](0x2,0x9);}function validateInput(_0x4c5ead){const _0x1f9f4e={_0x44de98:0x203,_0x67acdf:0x3e9,_0xf90b34:0x2aa,_0x2ae3fd:0x402,_0x328001:0x413,_0x9b5f0:0x38c,_0x9ce789:0x278,_0x5ae466:0x40f,_0x1d5378:0x256,_0x4ea151:0x4ce,_0x5bacd1:0x426,_0x5f4ec5:0x2e2,_0x418842:0x298,_0x5eca4d:0x3cc,_0xb1c842:0x2aa,_0x2f9e53:0x2a1,_0x154e9c:0xf9,_0x145cf9:0x105,_0x38f5b9:0x10d,_0x5ad2e0:0x23d,_0x27215f:0x328,_0x1a90f5:0x1e8,_0x5174dc:0x45c,_0x282946:0x32c,_0xbcceb3:0x287,_0x2f54ee:0x14a,_0x4a9603:0x296,_0x4296e6:0x71,_0x248629:0x38,_0x3d5346:0x4b,_0x24cc7e:0x2ff,_0x5cc66b:0x113,_0x28b812:0x244,_0x4cc719:0x320,_0x530847:0x2c2,_0x178de9:0x43,_0x4645ad:0x1c3,_0x443810:0x485,_0x29da9c:0x359,_0x49cbc2:0x286,_0x1108c9:0x2c1,_0x413e51:0x3b5,_0x1a39b0:0x5c,_0x2fdc0e:0x1ab,_0x227bce:0x222,_0x578c65:0x46,_0x381022:0x207,_0x5371e2:0x2d7,_0xa14c3:0x69,_0x496d4e:0x22,_0x48474d:0x241,_0x5f5de7:0x4c1,_0x32c376:0x2c2,_0x224c00:0x1,_0x1ba847:0x62,_0x3736bc:0x5b,_0x316c81:0x17d,_0x30a207:0x49b,_0x3e47b5:0x359,_0x21f40c:0x48f,_0xbe12cb:0x30a,_0x434075:0x33a,_0x444959:0x1ee,_0x2e4c0d:0x186,_0x2c20cb:0x3c0,_0x52cb33:0x3f2,_0x61d9cb:0x1eb,_0x62ab1f:0x31e},_0x286219={_0x3a8494:0x0},_0x7af66e={_0x1a3496:0x16e};if(!Array[_0x391335(_0x1f9f4e._0x44de98,0x117,0x52c,0x320)](_0x4c5ead[_0x391335(_0x1f9f4e._0x67acdf,0x463,0x258,_0x1f9f4e._0xf90b34)])||_0x4c5ead[_0x1095df(0x234,0x2ea,_0x1f9f4e._0x2ae3fd,0x40f)][_0x1095df(0x2e8,_0x1f9f4e._0x328001,0x460,0x426)]<0x1||_0x4c5ead[_0x1095df(_0x1f9f4e._0x9b5f0,0x22e,_0x1f9f4e._0x9ce789,_0x1f9f4e._0x5ae466)][_0x1095df(_0x1f9f4e._0x1d5378,_0x1f9f4e._0x4ea151,0x36f,_0x1f9f4e._0x5bacd1)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x391335(0x37a,_0x1f9f4e._0x5f4ec5,0x1c7,0x2b7)});function _0x391335(_0x22bdc2,_0x45e8ef,_0x456ac9,_0x8aabc4){return _0x511cdd(_0x22bdc2-0x144,_0x45e8ef-_0x7af66e._0x1a3496,_0x22bdc2,_0x8aabc4- -0x12c);}function _0x1095df(_0x5b518b,_0x364fcb,_0x556606,_0x2e5adf){return _0x511cdd(_0x5b518b-_0x286219._0x3a8494,_0x364fcb-0x4,_0x5b518b,_0x2e5adf-0x39);}for(let _0x2cf658=0x0;_0x2cf658<_0x4c5ead[_0x391335(_0x1f9f4e._0x418842,0x45e,_0x1f9f4e._0x5eca4d,_0x1f9f4e._0xb1c842)][_0x391335(0xec,_0x1f9f4e._0x2f9e53,0x326,0x2c1)];_0x2cf658+=0x1){const _0x4cd13e=_0x4c5ead['questions'][_0x2cf658];if(!_0x4cd13e[_0x1095df(_0x1f9f4e._0x154e9c,_0x1f9f4e._0x145cf9,_0x1f9f4e._0x38f5b9,0x1b4)]||typeof _0x4cd13e['question']!=='string')throw new ToolExecutionError(_0x1095df(0x2ae,0x2ba,_0x1f9f4e._0x5ad2e0,0x359)+(_0x2cf658+0x1)+_0x1095df(_0x1f9f4e._0x27215f,_0x1f9f4e._0x1a90f5,_0x1f9f4e._0x5174dc,_0x1f9f4e._0x282946));if(!_0x4cd13e[_0x1095df(0x2a3,0xce,-0x39,0x17e)]||typeof _0x4cd13e[_0x1095df(_0x1f9f4e._0xbcceb3,_0x1f9f4e._0x2f54ee,_0x1f9f4e._0x4a9603,0x17e)]!==_0x391335(_0x1f9f4e._0x4296e6,-0x1a3,0xf5,0x5d))throw new ToolExecutionError(_0x391335(_0x1f9f4e._0x248629,_0x1f9f4e._0x3d5346,_0x1f9f4e._0x24cc7e,0x1f4)+(_0x2cf658+0x1)+_0x1095df(_0x1f9f4e._0x5cc66b,_0x1f9f4e._0x28b812,_0x1f9f4e._0x4cc719,_0x1f9f4e._0x530847));if(_0x4cd13e[_0x391335(-_0x1f9f4e._0x178de9,_0x1f9f4e._0x4645ad,0x79,0x19)][_0x1095df(0x42d,0x372,0x438,_0x1f9f4e._0x5bacd1)]>0x1e)throw new ToolExecutionError(_0x1095df(_0x1f9f4e._0x443810,0x1cb,0x370,_0x1f9f4e._0x29da9c)+(_0x2cf658+0x1)+_0x391335(_0x1f9f4e._0x49cbc2,0x284,-0x127,0xca)+_0x4cd13e['topic'][_0x1095df(_0x1f9f4e._0x1108c9,_0x1f9f4e._0x413e51,0x2c6,_0x1f9f4e._0x5bacd1)]);if(!Array[_0x1095df(0x2d6,0x3a2,0x5f1,0x485)](_0x4cd13e['options'])||_0x4cd13e[_0x1095df(-0x4e,_0x1f9f4e._0x1a39b0,0xad,_0x1f9f4e._0x2fdc0e)]['length']<0x2||_0x4cd13e[_0x391335(_0x1f9f4e._0x227bce,0x1c1,-0xa9,_0x1f9f4e._0x578c65)]['length']>0x4)throw new ToolExecutionError(_0x1095df(0x2dd,_0x1f9f4e._0x381022,0x170,0x359)+(_0x2cf658+0x1)+_0x1095df(0x1db,_0x1f9f4e._0x5371e2,0x551,0x3a6));for(let _0x1a97ba=0x0;_0x1a97ba<_0x4cd13e[_0x391335(_0x1f9f4e._0xa14c3,-0xd1,-_0x1f9f4e._0x496d4e,0x46)][_0x1095df(_0x1f9f4e._0x48474d,_0x1f9f4e._0x5f5de7,0x54b,0x426)];_0x1a97ba+=0x1){const _0x236c4d=_0x4cd13e['options'][_0x1a97ba];if(!_0x236c4d[_0x1095df(0x31b,_0x1f9f4e._0x32c376,_0x1f9f4e._0x9ce789,_0x1f9f4e._0x67acdf)]||!_0x236c4d[_0x391335(_0x1f9f4e._0x224c00,_0x1f9f4e._0x1ba847,-0x9d,_0x1f9f4e._0x3736bc)])throw new ToolExecutionError(_0x1095df(_0x1f9f4e._0x316c81,_0x1f9f4e._0x30a207,0x319,_0x1f9f4e._0x3e47b5)+(_0x2cf658+0x1)+',\x20Option\x20'+(_0x1a97ba+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x4cd13e[_0x391335(_0x1f9f4e._0x21f40c,_0x1f9f4e._0xbe12cb,0x53b,_0x1f9f4e._0x434075)]!==_0x1095df(_0x1f9f4e._0x444959,_0x1f9f4e._0x2e4c0d,_0x1f9f4e._0x2c20cb,0x318))throw new ToolExecutionError(_0x391335(_0x1f9f4e._0x52cb33,0x3c8,_0x1f9f4e._0x61d9cb,0x1f4)+(_0x2cf658+0x1)+_0x391335(0x2b8,_0x1f9f4e._0x62ab1f,0x290,0x1aa));}}function buildQuestions(_0x2a4198){const _0x2d86ea={_0x45a74c:0x721,_0x4f9e4f:0x542,_0xe58ead:0x683,_0x4901cf:0x86e,_0x4f03c6:0x4e7},_0x478030={_0x23066a:0x1f2,_0x47fc8e:0x38b,_0x137ab4:0x168},_0x378300={_0xb26c1c:0xaa,_0x44a181:0x75,_0x246f04:0x42f};function _0x270013(_0x128c39,_0x20a64d,_0x15678c,_0x23bb46){return _0x511cdd(_0x128c39-_0x378300._0xb26c1c,_0x20a64d-_0x378300._0x44a181,_0x128c39,_0x15678c-_0x378300._0x246f04);}function _0x597e32(_0x11d40a,_0x44fd06,_0x57cdba,_0x3fe036){return _0x30b865(_0x11d40a-_0x478030._0x23066a,_0x57cdba,_0x11d40a-_0x478030._0x47fc8e,_0x3fe036-_0x478030._0x137ab4);}return _0x2a4198[_0x597e32(0x579,_0x2d86ea._0x45a74c,_0x2d86ea._0x4f9e4f,0x458)][_0x597e32(_0x2d86ea._0xe58ead,_0x2d86ea._0x4901cf,0x6c1,_0x2d86ea._0x4f03c6)]((_0x3870a5,_0x1ac858)=>({'id':'q'+_0x1ac858,'question':_0x3870a5['question'],'topic':_0x3870a5[_0x597e32(0x2e8,0xfa,0x454,0x1fd)],'options':_0x3870a5[_0x597e32(0x315,0x1cc,0x376,0x3a1)],'multiSelect':_0x3870a5['multiSelect']}));}function createResult(_0x422e55,_0x578daf,_0x18d679){const _0x4da5e8={_0xe608e9:0x120,_0x38a282:0x107};function _0x4dfe56(_0x427c11,_0x394d66,_0x2e922d,_0x5255ac){return _0x511cdd(_0x427c11-0x12d,_0x394d66-0x12,_0x394d66,_0x2e922d- -0x197);}function _0x5139ef(_0x5731f2,_0xe991d3,_0x1527a2,_0x36cb28){return _0x30b865(_0x5731f2-0x1b5,_0x5731f2,_0x1527a2-0x79,_0x36cb28-0x10b);}const _0xbef05b={'questionId':_0x422e55,'questionCount':_0x578daf,'answers':_0x18d679};return createToolOutput(_0x4dfe56(0x1e8,_0x4da5e8._0xe608e9,0x2c6,0x39c)+JSON[_0x5139ef(_0x4da5e8._0x38a282,-0x63,0x69,-0x196)](_0x18d679,null,0x2),_0xbef05b);}function createAskUserTool(){const _0x2262ca={_0x4567b3:0xf0,_0x427b42:0x45,_0xfbedc5:0x117,_0x491e2e:0x460,_0x506de9:0x1a7,_0x5a87a0:0x306,_0x2476fb:0x1cd,_0x1f7790:0x38c,_0x5b8895:0x19f,_0x5cd17b:0x1a0,_0x10a16b:0x3b8,_0x118e23:0x2a2,_0x12e85e:0x352,_0x38af41:0x10c,_0x2de31b:0x1d1,_0x1848d5:0x34a,_0x46dea0:0x117,_0x4b7971:0xe4,_0x5b6ca0:0x66,_0x514e03:0x223,_0x5144e9:0x1b7,_0x45027c:0x2ec,_0x382524:0x17f,_0x440463:0x42d,_0x50b175:0x315,_0x459fe2:0x277,_0x2d4279:0x697},_0x326622={_0x4f6341:0x121,_0x5a84e0:0x67,_0x539a3c:0x273,_0x6dff6c:0x1ee,_0x24d5da:0xb,_0x4a014f:0x150,_0x46673f:0x79,_0x1c30da:0x1ff,_0x3fd1a5:0x15f,_0x1ad2cc:0x70,_0x4bd4c5:0x7f,_0xfbb662:0xdd,_0x5c5632:0x2d8,_0x5d6d49:0x1ec,_0x2a3211:0x2c0,_0x5dcdc4:0x275,_0x4215fb:0x15f,_0x380012:0x77,_0x1022ea:0xa1,_0x3614ae:0x235},_0x320417={_0x1f421b:0x148},_0x4c03b8={_0x5602f7:0xe8},_0x45b83b={_0x216965:0x117,_0x41ca37:0x17d};function _0x1526d1(_0x52313f,_0x5877d5,_0x2e9a9d,_0x2ca065){return _0x511cdd(_0x52313f-0x9,_0x5877d5-_0x45b83b._0x216965,_0x2ca065,_0x5877d5-_0x45b83b._0x41ca37);}function _0x58b70a(_0x537baf,_0x3456f7,_0x36a578,_0xb49772){return _0x30b865(_0x537baf-_0x4c03b8._0x5602f7,_0x3456f7,_0x537baf-0xda,_0xb49772-0x15c);}return defineTool({'name':'AskUserTool','permissionClass':_0x58b70a(_0x2262ca._0x4567b3,-_0x2262ca._0x427b42,0xa8,0xcf),'description':'Ask\x20one\x20or\x20more\x20multiple-choice\x20questions\x20when\x20preferences,\x20ambiguity,\x20or\x20a\x20decision\x20blocks\x20progress.\x20Every\x20question\x20supports\x20\x22Other\x22.\x20Set\x20multiSelect\x20to\x20allow\x20multiple\x20answers.\x20Put\x20the\x20recommended\x20option\x20first\x20and\x20suffix\x20its\x20label\x20with\x20\x22(Recommended)\x22.','inputSchema':{'type':_0x58b70a(0x1a2,_0x2262ca._0xfbedc5,0x256,0x123),'properties':{'questions':{'type':_0x58b70a(0x3ae,_0x2262ca._0x491e2e,0x408,0x4cb),'items':{'type':'object','properties':{'question':{'type':_0x1526d1(_0x2262ca._0x506de9,_0x2262ca._0x5a87a0,_0x2262ca._0x2476fb,0x2a3)},'topic':{'type':'string'},'options':{'type':'array','items':{'type':_0x58b70a(0x1a2,_0x2262ca._0x1f7790,_0x2262ca._0x5b8895,-0x44),'properties':{'label':{'type':'string'},'description':{'type':_0x1526d1(0x20c,_0x2262ca._0x5a87a0,_0x2262ca._0x5cd17b,_0x2262ca._0x10a16b)}},'required':[_0x58b70a(_0x2262ca._0x118e23,_0x2262ca._0x12e85e,0x1b1,_0x2262ca._0x38af41),'description']}},'multiSelect':{'type':_0x58b70a(_0x2262ca._0x2de31b,0x3b2,_0x2262ca._0x1848d5,0x358)}},'required':[_0x58b70a(0x6d,_0x2262ca._0x46dea0,-_0x2262ca._0x4b7971,_0x2262ca._0x5b6ca0),_0x58b70a(0x37,0x13a,_0x2262ca._0x514e03,0xb2),'options',_0x58b70a(0x358,_0x2262ca._0x5144e9,_0x2262ca._0x45027c,_0x2262ca._0x382524)]}},'answers':{'type':_0x1526d1(0x2cb,_0x2262ca._0x440463,_0x2262ca._0x50b175,_0x2262ca._0x459fe2),'properties':{}}},'required':[_0x1526d1(0x36b,0x553,0x710,_0x2262ca._0x2d4279)]},async *'execute'(_0x1bbae0,_0x38fbdf){const _0x344371={_0x2edabf:0x1f0,_0x37400a:0x9c},_0x3f1be1=_0x1bbae0;validateInput(_0x3f1be1);const _0x1bda40=_0x38fbdf[_0x2281d0(0x2b,0x156,0x189,-0x1a)]??createQuestionId();if(_0x3f1be1['answers']&&Object[_0x2281d0(-_0x326622._0x4f6341,_0x326622._0x5a84e0,_0x326622._0x539a3c,-0xf5)](_0x3f1be1[_0x2281d0(_0x326622._0x6dff6c,_0x326622._0x24d5da,-0xad,-0x186)])[_0x2281d0(_0x326622._0x4a014f,0x254,_0x326622._0x46673f,_0x326622._0x1c30da)]>0x0)return createResult(_0x1bda40,_0x3f1be1[_0x13140b(0x22e,_0x326622._0x3fd1a5,_0x326622._0x1ad2cc,0x247)][_0x2281d0(0x46,0x254,0x2f0,0x413)],_0x3f1be1[_0x2281d0(-_0x326622._0x4bd4c5,0xb,_0x326622._0xfbb662,-0x12c)]);if(!_0x38fbdf['askUser'])throw new ToolExecutionError(_0x2281d0(0x1bf,0x38a,0x4be,_0x326622._0x5c5632));function _0x13140b(_0x43e0e0,_0x5195b2,_0x1825c1,_0x49b986){return _0x1526d1(_0x43e0e0-_0x344371._0x2edabf,_0x5195b2- -0x3f4,_0x1825c1-_0x344371._0x37400a,_0x43e0e0);}const _0xc4978d=buildQuestions(_0x3f1be1);function _0x2281d0(_0x4c573f,_0x6e1a51,_0x5792ab,_0x284a51){return _0x58b70a(_0x6e1a51- -0x8b,_0x5792ab,_0x5792ab-_0x320417._0x1f421b,_0x284a51-0x1c6);}const _0x52f361=await _0x38fbdf[_0x13140b(_0x326622._0x5d6d49,_0x326622._0x2a3211,0x260,_0x326622._0x5dcdc4)]({'questionId':_0x1bda40,'questions':_0xc4978d});yield createResult(_0x1bda40,_0x3f1be1[_0x13140b(0x38,_0x326622._0x4215fb,-_0x326622._0x380012,-_0x326622._0x1022ea)][_0x2281d0(0x2be,0x254,0x184,_0x326622._0x3614ae)],_0x52f361);}});}import{stat as _0x4d33fc}from'fs/promises';import _0x324636 from'path';import{fileURLToPath as _0x4dac4e}from'url';function awaitWithAbort2(_0x454332,_0x7bf75f){const _0x3b32a1={_0x5f515e:0x33a,_0xadcf21:0x4e7,_0x44a97f:0x2dd,_0x230161:0x32b,_0x2f5515:0x7a,_0x11a658:0x14c},_0x57ab2c={_0x22bb56:0x443,_0x22fb2b:0x54b},_0x3eb4c6={_0x411691:0x40c,_0x23f235:0x482},_0xe6b841={_0x215800:0x1e0};if(!_0x7bf75f)return _0x454332;if(_0x7bf75f['aborted'])return Promise[_0x542f5f(_0x3b32a1._0x5f515e,_0x3b32a1._0xadcf21,0x376,_0x3b32a1._0x44a97f)](toAbortError(_0x7bf75f[_0x4182eb(0x26e,_0x3b32a1._0x230161,-_0x3b32a1._0x2f5515,_0x3b32a1._0x11a658)]));function _0x4182eb(_0x283b32,_0x34356a,_0x15566a,_0x549ed4){return _0x511cdd(_0x283b32-0x70,_0x34356a-_0xe6b841._0x215800,_0x34356a,_0x549ed4- -0x1e9);}function _0x542f5f(_0x459e83,_0x2ca750,_0xdfc45b,_0x255115){return _0x30b865(_0x459e83-0xfe,_0x255115,_0x2ca750-0x418,_0x255115-0x104);}return new Promise((_0x250fae,_0x4bdd2e)=>{const _0x83861c={_0x40c906:0xfe,_0x1a7197:0x113,_0x45cb46:0x56},_0x30b086={_0x36fed6:0x89},_0x2c17f7={_0x39002b:0xd};function _0x47e72d(_0x371fbf,_0x4312a9,_0x13389e,_0x228e2a){return _0x542f5f(_0x371fbf-_0x2c17f7._0x39002b,_0x13389e-0x1c1,_0x13389e-0x51,_0x228e2a);}const _0x2b2dc9=()=>{function _0x4f36cb(_0x42bbbf,_0x583e73,_0x39ed9e,_0x256fad){return _0x56d3(_0x39ed9e-_0x30b086._0x36fed6,_0x256fad);}_0xe74c16(),_0x4bdd2e(toAbortError(_0x7bf75f[_0x4f36cb(0x44d,_0x3eb4c6._0x411691,_0x3eb4c6._0x23f235,0x62e)]));};function _0x5ad6d5(_0x507158,_0x5efc97,_0x167701,_0x8bd5d5){return _0x542f5f(_0x507158-_0x83861c._0x40c906,_0x167701- -_0x83861c._0x1a7197,_0x167701-_0x83861c._0x45cb46,_0x5efc97);}const _0xe74c16=()=>_0x7bf75f[_0x5ad6d5(0x5c9,0x72a,0x594,0x6d1)](_0x5ad6d5(0x5bb,0x5d4,0x5b0,0x789),_0x2b2dc9);_0x7bf75f[_0x5ad6d5(0x317,0x580,_0x57ab2c._0x22bb56,0x640)]('abort',_0x2b2dc9,{'once':!![]}),_0x454332[_0x47e72d(0x6bd,_0x57ab2c._0x22fb2b,0x6bf,0x81c)](_0x22ec2=>{_0xe74c16(),_0x250fae(_0x22ec2);},_0x1eeaed=>{_0xe74c16(),_0x4bdd2e(_0x1eeaed);});});}function severityName(_0x45bcbb){const _0x674d60={_0xccc32e:0x464,_0x3b9c1b:0x33a,_0x4203d8:0x300,_0x43ead3:0x3da,_0x2c33b6:0x956},_0x4a7b25={_0x268121:0x43},_0x314fac={_0x484f72:0x601,_0x41cd8a:0x13b};function _0x1b5e9d(_0xd3b1b9,_0x2d6d55,_0x42f074,_0x32b00b){return _0x30b865(_0xd3b1b9-0x163,_0x32b00b,_0x2d6d55-_0x314fac._0x484f72,_0x32b00b-_0x314fac._0x41cd8a);}function _0x2675ff(_0x16bcf2,_0x5b648e,_0x1e4b49,_0x42da1c){return _0x511cdd(_0x16bcf2-0x98,_0x5b648e-_0x4a7b25._0x268121,_0x1e4b49,_0x5b648e- -0x26);}switch(_0x45bcbb){case 0x1:return _0x2675ff(0x37a,_0x674d60._0xccc32e,_0x674d60._0x3b9c1b,0x4f9);case 0x2:return _0x2675ff(0x351,0x3d9,_0x674d60._0x4203d8,_0x674d60._0x43ead3);case 0x3:return'Information';case 0x4:return _0x1b5e9d(0x787,_0x674d60._0x2c33b6,0xad5,0xb2f);default:return'Diagnostic';}}function formatSingleHover(_0x1a0569){const _0x55e66c={_0x4d53c9:0x664,_0xdc3c16:0x5c1,_0x41e6f8:0x533,_0x251c92:0x5f9,_0x1d96c2:0x58f,_0x52a08e:0x5a9,_0xc7f6d5:0x548,_0x452c3f:0x568,_0x18145c:0x57d,_0x4d555e:0x677,_0x25b4c3:0x435,_0x445a57:0x4f3,_0x2a92e1:0x618,_0x324552:0x3ff},_0x3718fc={_0x11d6d3:0xf4,_0x5f134a:0x141,_0x4bc1c0:0x333},_0x451d1d=_0x1a0569[_0x1cfd8b(_0x55e66c._0x4d53c9,0x6b0,_0x55e66c._0xdc3c16,0x5df)];if(typeof _0x451d1d===_0x1cfd8b(0x364,0x440,0x3ec,0x5e9))return _0x451d1d;function _0x5cbd8e(_0x5ad94e,_0x29f3f2,_0x27de58,_0x2fd1a0){return _0x511cdd(_0x5ad94e-_0x3718fc._0x11d6d3,_0x29f3f2-_0x3718fc._0x5f134a,_0x5ad94e,_0x27de58-_0x3718fc._0x4bc1c0);}if(Array[_0x1cfd8b(_0x55e66c._0x41e6f8,0x5c4,0x6af,0x4c5)](_0x451d1d))return _0x451d1d['map'](_0x1f03dc=>typeof _0x1f03dc===_0x1cfd8b(0x23e,0x566,0x3ec,0x21d)?_0x1f03dc:_0x1f03dc[_0x1cfd8b(0x6c8,0x6cc,0x5f9,0x7d9)])['filter'](Boolean)['join']('\x0a\x0a');if('kind'in _0x451d1d)return _0x451d1d[_0x1cfd8b(0x452,0x6a6,_0x55e66c._0x251c92,0x769)];function _0x1cfd8b(_0x5cdc78,_0x4cee65,_0x41c47f,_0x3d304e){return _0x511cdd(_0x5cdc78-0x15b,_0x4cee65-0x1f4,_0x3d304e,_0x41c47f-0x263);}return _0x451d1d[_0x1cfd8b(_0x55e66c._0x1d96c2,_0x55e66c._0x52a08e,_0x55e66c._0xc7f6d5,_0x55e66c._0x452c3f)]?_0x5cbd8e(_0x55e66c._0x18145c,_0x55e66c._0x4d555e,0x5b6,_0x55e66c._0x25b4c3)+_0x451d1d[_0x5cbd8e(_0x55e66c._0x445a57,0x712,_0x55e66c._0x2a92e1,0x67c)]+'\x0a'+_0x451d1d[_0x1cfd8b(0x461,_0x55e66c._0x324552,_0x55e66c._0x251c92,0x6c5)]+'\x0a```':_0x451d1d['value'];}function formatHover(_0x4d80b9){const _0xbb0838={_0x2eb492:0x23d,_0x5bc738:0x37d,_0x23f3d2:0x16e,_0x556451:0x66,_0x184611:0x9c2,_0x533787:0x872,_0x5ddc85:0x330,_0x2a47bf:0x4e4,_0x2fb7e7:0x256,_0x4e55f1:0x1d0,_0x101621:0x251},_0x5de802={_0x25ce32:0x14d,_0x53b932:0x1b0};function _0xbc10b3(_0x2d41a0,_0x15d80d,_0x24381e,_0x3ec312){return _0x511cdd(_0x2d41a0-0xcd,_0x15d80d-0x81,_0x3ec312,_0x15d80d-0x378);}if(_0x4d80b9[_0xe63381(_0xbb0838._0x2eb492,_0xbb0838._0x5bc738,_0xbb0838._0x23f3d2,_0xbb0838._0x556451)]===0x0)return _0xbc10b3(_0xbb0838._0x184611,0x876,0x97a,_0xbb0838._0x533787);function _0xe63381(_0xaaa559,_0x4b2f8b,_0x46c0ba,_0x5e3952){return _0x511cdd(_0xaaa559-0x1c9,_0x4b2f8b-_0x5de802._0x25ce32,_0x46c0ba,_0xaaa559- -_0x5de802._0x53b932);}return _0x4d80b9[_0xe63381(_0xbb0838._0x5ddc85,0x17c,_0xbb0838._0x2a47bf,0x453)](formatSingleHover)[_0xe63381(_0xbb0838._0x2fb7e7,_0xbb0838._0x4e55f1,_0xbb0838._0x101621,0x304)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x1532cb){const _0x27dded={_0x282170:0x13d,_0x19431f:0x2a5,_0x500870:0xf2},_0x1549e8={_0x167109:0x5a},_0x70bbc6={_0x4887c8:0x1dd,_0x2e4b0c:0xeb};function _0x118a33(_0xd929b,_0x42fabf,_0x1622d7,_0x10052d){return _0x511cdd(_0xd929b-_0x70bbc6._0x4887c8,_0x42fabf-0x31,_0x10052d,_0xd929b- -_0x70bbc6._0x2e4b0c);}function _0xbd3395(_0x1c7766,_0x162cbf,_0x51be15,_0x1e659a){return _0x30b865(_0x1c7766-_0x1549e8._0x167109,_0x1e659a,_0x162cbf- -0xec,_0x1e659a-0x47);}if(!_0x1532cb[_0x118a33(0x2bc,0x31e,_0x27dded._0x282170,0x129)](_0x118a33(_0x27dded._0x19431f,_0x27dded._0x500870,0x426,0x369)))return _0x1532cb;return _0x4dac4e(_0x1532cb);}function formatLocations(_0x45a80e){const _0xc2cff2={_0x4ed29a:0x537,_0x3bcf33:0x247,_0x4576f2:0x530,_0x42d310:0x667,_0x25d4c4:0x68e,_0x579f24:0x89b,_0x2f6029:0x421},_0x348d58={_0x51fae7:0x93b,_0x2d8f8c:0xab4,_0xc7edd4:0x996,_0x2e564c:0x92a,_0x475cb2:0x32a,_0x5b1cb8:0x443,_0x2b4020:0x3ec,_0x59f1f5:0x309,_0x397449:0x11d},_0x36f14d={_0xa7a52c:0x89,_0xc676a0:0x23b},_0x17d47d={_0x1461a0:0x178},_0x5b84aa={_0x54733b:0x137};if(_0x45a80e[_0x167145(_0xc2cff2._0x4ed29a,_0xc2cff2._0x3bcf33,_0xc2cff2._0x4576f2,0x34f)]===0x0)return _0x85e5c1(_0xc2cff2._0x42d310,0x6e7,_0xc2cff2._0x25d4c4,_0xc2cff2._0x579f24);function _0x85e5c1(_0x5735b9,_0x14d882,_0x34d937,_0x163dab){return _0x511cdd(_0x5735b9-_0x5b84aa._0x54733b,_0x14d882-0x2b,_0x163dab,_0x34d937-0x258);}function _0x167145(_0x654f3,_0x4674c1,_0x4ee751,_0x31c604){return _0x30b865(_0x654f3-_0x17d47d._0x1461a0,_0x4674c1,_0x31c604-0x14a,_0x31c604-0x1a4);}return _0x45a80e['map'](_0x591d49=>{const _0x975acb={_0x8eed94:0xeb};function _0x4b20cc(_0x31e6e3,_0x4b5482,_0x4a01a9,_0x858cef){return _0x85e5c1(_0x31e6e3-0x132,_0x4b5482-_0x36f14d._0xa7a52c,_0x858cef-_0x36f14d._0xc676a0,_0x4a01a9);}const _0x32ffa2=_0x591d49[_0x4b20cc(_0x348d58._0x51fae7,_0x348d58._0x2d8f8c,_0x348d58._0xc7edd4,_0x348d58._0x2e564c)]['start'];function _0x2df884(_0x8ef36,_0x4dab57,_0x145168,_0x13058c){return _0x167145(_0x8ef36-0x74,_0x145168,_0x145168-_0x975acb._0x8eed94,_0x8ef36-0x160);}return locationPath(_0x591d49[_0x2df884(_0x348d58._0x475cb2,0x124,_0x348d58._0x5b1cb8,0x312)])+':'+(_0x32ffa2[_0x2df884(_0x348d58._0x2b4020,0x1ee,0x4ba,_0x348d58._0x59f1f5)]+0x1)+':'+(_0x32ffa2[_0x2df884(0x30a,0x413,0x1bd,_0x348d58._0x397449)]+0x1);})[_0x167145(_0xc2cff2._0x2f6029,0x539,0x39f,0x368)]('\x0a');}function isDocumentSymbol(_0xbacf5a){const _0x21c43c={_0x47fda1:0x7ea,_0x53b16a:0x8e3,_0x6e87b2:0x518,_0x5d60a3:0x586,_0x10d701:0x4ab},_0x7bdd3a={_0xc49a0b:0x13e,_0x2fbf64:0x47d},_0xfaff6c={_0x2b3d34:0x149};function _0x2bec9c(_0x6b5b1,_0x1ddc01,_0x28256d,_0x4c3c99){return _0x511cdd(_0x6b5b1-0x1a2,_0x1ddc01-_0xfaff6c._0x2b3d34,_0x1ddc01,_0x28256d-0x44c);}function _0x1a2186(_0x30b038,_0x2145c8,_0x2460d8,_0x2b3668){return _0x511cdd(_0x30b038-0x1c0,_0x2145c8-_0x7bdd3a._0xc49a0b,_0x2145c8,_0x2460d8-_0x7bdd3a._0x2fbf64);}return _0x2bec9c(0x7d7,_0x21c43c._0x47fda1,_0x21c43c._0x53b16a,0x7a6)in _0xbacf5a&&_0x2bec9c(0x533,_0x21c43c._0x6e87b2,_0x21c43c._0x5d60a3,_0x21c43c._0x10d701)in _0xbacf5a;}function formatSymbols(_0x5dd7ce){const _0x4c9479={_0x1f5dd4:0x23b,_0x336c74:0x41a,_0x2e6724:0x33b},_0xacc9da={_0x500c09:0x7d1,_0x530b6c:0x7eb,_0x513800:0x5fe,_0x45f916:0x416,_0x35ab3c:0x86b,_0x2c5347:0x6e4,_0x185a90:0x6d2,_0x56e2bc:0x632,_0x1f5799:0x6a3,_0x386c02:0x204,_0x3deacd:0x35f,_0x27e643:0x3ab,_0x3a99b9:0x6e6,_0x48d116:0x7fc,_0x377a4b:0x5cc,_0x3bef99:0x7c4,_0x292c:0x5bb,_0x22ca71:0x4bb,_0x475019:0x7d3,_0x17e158:0x68c,_0x343649:0x61b,_0x4b0ed6:0x714,_0x33885c:0x6e6,_0x1f1d74:0x9c6,_0x515594:0x666,_0x4e93ef:0x89b,_0x2fc72e:0x576,_0x4a8173:0x3ee},_0x5177e2={_0x122764:0x106};function _0x1b531d(_0x5bef94,_0x5a75bb,_0x29da0e,_0x47cfa4){return _0x511cdd(_0x5bef94-0x1af,_0x5a75bb-_0x5177e2._0x122764,_0x29da0e,_0x5bef94- -0x137);}function _0x368a41(_0x1d7170,_0x5d6010,_0x16937f,_0x1ea2ac){return _0x511cdd(_0x1d7170-0x76,_0x5d6010-0x5,_0x1d7170,_0x5d6010- -0x1b2);}if(_0x5dd7ce[_0x368a41(0xfd,_0x4c9479._0x1f5dd4,0xbf,0x38f)]===0x0)return'No\x20symbols\x20found';return _0x5dd7ce['map'](_0x1d3be4=>{const _0x359539={_0x4d63db:0x336},_0x4694a3={_0x54408d:0x586,_0x11fb00:0x165};if(isDocumentSymbol(_0x1d3be4))return _0x1d3be4['name']+'\x20('+_0x1d3be4['kind']+_0x3577c8(_0xacc9da._0x500c09,_0xacc9da._0x530b6c,_0xacc9da._0x513800,_0xacc9da._0x45f916)+(_0x1d3be4[_0x3577c8(0x8c7,0x7e7,_0xacc9da._0x35ab3c,_0xacc9da._0x2c5347)][_0x3577c8(0x695,0x602,_0xacc9da._0x185a90,_0xacc9da._0x56e2bc)]['line']+0x1)+':'+(_0x1d3be4['range'][_0x3577c8(0x6ee,0x546,0x6d2,_0xacc9da._0x1f5799)][_0x9d8a9e(_0xacc9da._0x386c02,_0xacc9da._0x3deacd,_0xacc9da._0x27e643,0x3cc)]+0x1)+']';function _0x3577c8(_0x5d7ba7,_0x51a79c,_0x10bc2e,_0x1c197e){return _0x368a41(_0x5d7ba7,_0x10bc2e-_0x4694a3._0x54408d,_0x10bc2e-0x1c5,_0x1c197e-_0x4694a3._0x11fb00);}function _0x9d8a9e(_0x2ddb6e,_0x45dd9a,_0xf897cd,_0x101cbd){return _0x368a41(_0xf897cd,_0x101cbd-_0x359539._0x4d63db,_0xf897cd-0xd6,_0x101cbd-0x1e7);}return _0x1d3be4[_0x9d8a9e(_0xacc9da._0x3a99b9,0x835,0x842,0x68d)]+'\x20('+_0x1d3be4['kind']+')\x20'+locationPath(_0x1d3be4['location'][_0x3577c8(_0xacc9da._0x48d116,0x497,0x63c,_0xacc9da._0x377a4b)])+':'+(_0x1d3be4[_0x9d8a9e(_0xacc9da._0x3bef99,0x64f,_0xacc9da._0x292c,0x69e)][_0x9d8a9e(_0xacc9da._0x22ca71,_0xacc9da._0x475019,_0xacc9da._0x17e158,_0xacc9da._0x343649)][_0x3577c8(0x74d,0x529,0x6d2,0x7cb)]['line']+0x1)+':'+(_0x1d3be4[_0x3577c8(_0xacc9da._0x4b0ed6,_0xacc9da._0x33885c,0x8ee,_0xacc9da._0x1f1d74)][_0x3577c8(_0xacc9da._0x515594,0x84f,0x86b,_0xacc9da._0x4e93ef)][_0x3577c8(0x81a,_0xacc9da._0x2fc72e,0x6d2,0x510)][_0x9d8a9e(_0xacc9da._0x4a8173,0x385,0x527,0x3cc)]+0x1);})[_0x1b531d(0x2cf,_0x4c9479._0x336c74,_0x4c9479._0x2e6724,0x390)]('\x0a');}function formatDiagnostics(_0x4a1b50){const _0x39efb5={_0x2690da:0x33c,_0x42e8cc:0x488,_0x13ffd0:0x3ad,_0x311cdb:0x5f1},_0x230976={_0x50cb00:0x68f,_0xbef13d:0x702,_0x41a311:0x5a1,_0x11c0ea:0x541,_0x79462e:0x4cc,_0x2aa789:0x6ed,_0x538f02:0x78c,_0x473345:0x854,_0x462dcf:0x8d1,_0x3a547c:0x402,_0x16e050:0x481},_0x42069c={_0x1f823c:0xf0},_0x368466={_0x240987:0x1a0,_0x4416f0:0x68};function _0x449542(_0x1b271a,_0x4b4150,_0x1be6d7,_0x58db63){return _0x511cdd(_0x1b271a-0x1a1,_0x4b4150-0x18,_0x1be6d7,_0x4b4150-0x124);}if(_0x4a1b50[_0x449542(_0x39efb5._0x2690da,0x511,_0x39efb5._0x42e8cc,_0x39efb5._0x13ffd0)]===0x0)return'No\x20diagnostics';function _0x2385a5(_0x17d7de,_0x2dcaf6,_0x21fa3b,_0x1596b6){return _0x511cdd(_0x17d7de-_0x368466._0x240987,_0x2dcaf6-_0x368466._0x4416f0,_0x17d7de,_0x21fa3b-0x1c8);}return _0x4a1b50[_0x449542(0x6f3,0x604,_0x39efb5._0x311cdb,0x666)](_0x2d4346=>{const _0x58d32c={_0x574eb1:0x30},_0x473e91=_0x2d4346['range'][_0x39d013(0x7a3,0x94c,_0x230976._0x50cb00,0x823)];function _0x39d013(_0x597774,_0x4a3f21,_0x5cb3fd,_0x32613e){return _0x449542(_0x597774-_0x42069c._0x1f823c,_0x597774-0x381,_0x32613e,_0x32613e-0x1f2);}function _0x10e8d1(_0x1a2708,_0x354924,_0x3977b5,_0x59c72c){return _0x2385a5(_0x3977b5,_0x354924-0x174,_0x59c72c- -0x149,_0x59c72c-_0x58d32c._0x574eb1);}return severityName(_0x2d4346[_0x39d013(_0x230976._0xbef13d,_0x230976._0x41a311,_0x230976._0x11c0ea,0x8a8)])+'\x20['+(_0x473e91[_0x10e8d1(_0x230976._0x79462e,0x2df,0x503,0x3a9)]+0x1)+':'+(_0x473e91[_0x39d013(_0x230976._0x2aa789,_0x230976._0x538f02,_0x230976._0x473345,_0x230976._0x462dcf)]+0x1)+']\x20'+_0x2d4346[_0x10e8d1(0x38c,_0x230976._0x3a547c,_0x230976._0x16e050,0x380)];})['join']('\x0a');}function formatIncomingCalls(_0x109e5e){const _0x270c3a={_0x5da7f8:0x398,_0x45cb53:0x23b,_0xaf77b8:0x39f,_0x4c3edd:0x251,_0x3b208f:0x34c,_0x4e0c10:0x502};function _0x1018c5(_0x148945,_0x1f62a9,_0x17fede,_0xad4b2a){return _0x30b865(_0x148945-0x13,_0x17fede,_0x148945-0x131,_0xad4b2a-0x1f4);}function _0x23d3c4(_0x10a4a7,_0x132f69,_0x367b8a,_0x14a11e){return _0x511cdd(_0x10a4a7-0x188,_0x132f69-0xe3,_0x14a11e,_0x132f69-0xf2);}if(_0x109e5e[_0x1018c5(0x336,_0x270c3a._0x5da7f8,_0x270c3a._0x45cb53,_0x270c3a._0xaf77b8)]===0x0)return _0x23d3c4(0x44a,_0x270c3a._0x4c3edd,0x21d,0x1d5);return _0x109e5e['map'](_0x54c899=>_0x54c899[_0x23d3c4(0x6cf,0x4fd,0x6a0,0x4f7)][_0x1018c5(0x452,0x2f1,0x5f5,0x3b3)])[_0x1018c5(0x34f,_0x270c3a._0x3b208f,_0x270c3a._0x4e0c10,0x40e)]('\x0a');}function formatOutgoingCalls(_0x486abc){const _0x1d5228={_0x516a36:0x55d,_0x50bb57:0x6e8,_0x397a05:0xde,_0x12f62c:0x8e6,_0x214fb6:0x75e,_0x4ac16f:0x2db,_0x28a3ec:0xea},_0x3c1715={_0x394c88:0x134,_0x15cdda:0x5f},_0x2f9e4a={_0x4a75d3:0x7f,_0x1caf41:0xd8,_0x3a9fa0:0x27e};if(_0x486abc[_0x2695a9(_0x1d5228._0x516a36,_0x1d5228._0x50bb57,0x66b,0x7ef)]===0x0)return _0x2124d7(-0x1ef,-_0x1d5228._0x397a05,-0x1b9,-0x1bd);function _0x2695a9(_0xed4671,_0x1a3798,_0x3280f2,_0x50c6c1){return _0x511cdd(_0xed4671-_0x2f9e4a._0x4a75d3,_0x1a3798-_0x2f9e4a._0x1caf41,_0xed4671,_0x3280f2-_0x2f9e4a._0x3a9fa0);}function _0x2124d7(_0x56c18e,_0x372331,_0x52fd87,_0x1dab3a){return _0x30b865(_0x56c18e-0x174,_0x52fd87,_0x1dab3a- -_0x3c1715._0x394c88,_0x1dab3a-_0x3c1715._0x15cdda);}return _0x486abc[_0x2695a9(0x764,_0x1d5228._0x12f62c,_0x1d5228._0x214fb6,0x8d5)](_0x19005a=>_0x19005a['to'][_0x2124d7(0x16,0x73,0x1d,0x1ed)])[_0x2124d7(_0x1d5228._0x4ac16f,-0x126,0xd0,_0x1d5228._0x28a3ec)]('\x0a');}function toStructured(_0x20e3f2){const _0x5b3571={_0x420c80:0x4fe,_0x348e12:0x52c,_0x34812d:0x415,_0x3a10b8:0x3e3,_0x11b25f:0x5d2};function _0x35fc23(_0x36ac2f,_0x19c354,_0x140fb7,_0x57ce00){return _0x30b865(_0x36ac2f-0x11,_0x57ce00,_0x140fb7-0x5e2,_0x57ce00-0xdc);}function _0x11c9c8(_0x1dff19,_0xb5df83,_0x5e1d65,_0x2c174f){return _0x511cdd(_0x1dff19-0x13e,_0xb5df83-0xc,_0xb5df83,_0x5e1d65-0x269);}return JSON[_0x35fc23(0x5b6,_0x5b3571._0x420c80,_0x5b3571._0x348e12,0x68a)](JSON[_0x35fc23(_0x5b3571._0x34812d,_0x5b3571._0x3a10b8,_0x5b3571._0x11b25f,0x3f5)](_0x20e3f2));}async function assertFile(_0x3ff9c8){const _0x202f6f={_0x35163e:0x51e,_0x12d908:0x610,_0x2b506c:0x601},_0x16e747={_0x365cde:0x15f},_0x599749={_0x6ef8b8:0x1,_0x3c293b:0x24e};function _0x51e2a9(_0x5e31fe,_0x10cd41,_0x36bca7,_0x98b378){return _0x511cdd(_0x5e31fe-0xed,_0x10cd41-_0x599749._0x6ef8b8,_0x98b378,_0x10cd41-_0x599749._0x3c293b);}const _0x222369=await _0x4d33fc(_0x3ff9c8);function _0x49cda7(_0x31bcc3,_0x345a93,_0x29ec18,_0x56259e){return _0x30b865(_0x31bcc3-0xba,_0x56259e,_0x31bcc3-0x422,_0x56259e-_0x16e747._0x365cde);}if(!_0x222369[_0x51e2a9(0x582,0x41f,0x392,_0x202f6f._0x35163e)]())throw new ToolExecutionError(_0x49cda7(0x57c,_0x202f6f._0x12d908,_0x202f6f._0x2b506c,0x3a5)+_0x3ff9c8,{'path':_0x3ff9c8});}function validatePosition(_0x3c1f2c,_0xe7aa34){const _0x989f4c={_0x20bd78:0x218,_0x30fbef:0x92,_0x5d9cfd:0x69,_0xb5a569:0x9a,_0x55daec:0x3b,_0x5a9c2f:0x6c5,_0x1c5228:0x4fd},_0x120edb={_0x359f55:0x1b9,_0x1d0d85:0x2d8},_0x42cf97={_0x1029b5:0x4f,_0x2fe807:0xb8};if(!Number[_0x2ffa80(_0x989f4c._0x20bd78,_0x989f4c._0x30fbef,0x14e,_0x989f4c._0x5d9cfd)](_0x3c1f2c)||_0x3c1f2c<0x1)throw new ToolExecutionError(_0x4b7c85(0x8e3,0x879,0x7ec,0x9d9),{'line':_0x3c1f2c});function _0x2ffa80(_0x1ba120,_0x54c11f,_0x17eff7,_0x38aee8){return _0x30b865(_0x1ba120-_0x42cf97._0x1029b5,_0x17eff7,_0x1ba120-0x1b2,_0x38aee8-_0x42cf97._0x2fe807);}function _0x4b7c85(_0x5ae7c9,_0x4be6ba,_0x4421ba,_0x3b65ad){return _0x511cdd(_0x5ae7c9-_0x120edb._0x359f55,_0x4be6ba-0x135,_0x3b65ad,_0x4421ba-_0x120edb._0x1d0d85);}if(!Number[_0x2ffa80(0x218,_0x989f4c._0xb5a569,0x3f8,_0x989f4c._0x55daec)](_0xe7aa34)||_0xe7aa34<0x1)throw new ToolExecutionError(_0x2ffa80(0x4e0,_0x989f4c._0x5a9c2f,_0x989f4c._0x1c5228,0x630),{'character':_0xe7aa34});}function createLspTool(_0xc45056={}){const _0x3a2e84={_0xc2c397:0xea,_0x4376c3:0x2c8,_0x8e2999:0x15b,_0x18b2f4:0x3b5,_0x42cd50:0x355,_0x3d07a3:0xc2,_0x5e56ff:0x159,_0x371756:0x1d8,_0x1bb83b:0x15c,_0x211d33:0x132,_0x13f5bc:0x70,_0x38f1ac:0x3bd,_0x5505a9:0x2af,_0x3e0e34:0x11e,_0x4a2e7b:0x144,_0x1a5531:0x3c9,_0x3be8f3:0x369,_0x3987a9:0x27b,_0x4ca91c:0x5e6,_0x272b65:0x554,_0x39be47:0x5e5,_0x5b00a9:0x47b,_0x1015ea:0x381,_0x572b95:0x3ef,_0x473a7c:0x430,_0x1ae75d:0x20d,_0x1a952f:0x2db,_0x333ce1:0x24e,_0x57ec86:0x74,_0xfc42b9:0x3ad,_0x93b393:0x5ae,_0x5e945e:0x2c1,_0x4bd1a8:0x255,_0x46f0d7:0x387,_0x3cbf1c:0x353,_0x24e2bc:0x1a8,_0x4f2fa0:0x1b4,_0x157265:0x72,_0x448584:0x140,_0x5ac953:0xe6,_0x26c675:0x5,_0x56f69e:0xaf,_0xbd7b7b:0x2},_0x1067f7={_0x2e3f16:0xa8,_0x5526fd:0x1b0,_0x18fe44:0x102,_0x593697:0x33,_0x1eea5f:0x40d,_0x2ec1ec:0x5f0,_0x5848bb:0x6fa,_0x24b27e:0xe4,_0x1b96b1:0x2c9,_0x3abbcb:0x55e,_0x219d13:0x166,_0x3ecc2e:0x14a,_0x860b4d:0x43,_0x2f196a:0x8e,_0xcaedad:0x270,_0x4831ba:0x918,_0x2eed24:0x65e,_0x39110d:0x724,_0x42743e:0x96,_0x1a0fef:0x45,_0x1f12fd:0x84e,_0x3c1f3a:0x724,_0x2d7424:0x8f,_0x38a97e:0x2fb,_0x105ab5:0x2cc,_0x3e8f47:0x41e,_0x282d92:0x889,_0x174a7c:0x80e,_0x2593b7:0x89d,_0x5adc4d:0xff,_0x40df69:0x8d3,_0x1eb3af:0x8b2,_0x2b7f96:0x759,_0x37fbbf:0x54f,_0x4d6426:0x617,_0x1d742d:0x60,_0x58d0e9:0x712,_0x4fcc79:0x7a4,_0x6a266a:0x962,_0x490b55:0x1a5,_0x4a864a:0x822,_0x593a87:0x71c,_0x430097:0x6b2,_0x5466f4:0x63f,_0x5f4942:0x794,_0x338a06:0x664,_0x3cc449:0x488,_0x41664a:0x3ec,_0x4d1698:0x8a,_0x25d397:0x8fa,_0x386f61:0xfb,_0x6833be:0xb4,_0x42c27d:0x409,_0x104a7a:0x436,_0xd8551c:0x529,_0x460a5d:0x68d,_0x3e9f9b:0x747,_0x19b0cd:0x6a1,_0x49a1ea:0x937,_0x15aecc:0x7e0,_0x1d5561:0x33c,_0x2ae271:0x351,_0x1dfc1e:0x1c2,_0x195d97:0x42d,_0x2f4501:0x311,_0x4f2f12:0x284,_0x213b9a:0x1b0,_0x3f9669:0x535,_0x43a814:0x733,_0x4ed84d:0x88e,_0x2ff07d:0x59c,_0x420459:0x91e,_0x1dfc39:0x7bf},_0x41987d={_0x28781d:0x4a},_0x31a56d={_0x28d9a8:0x7c,_0x2609a7:0x191,_0x467b53:0x1ee},_0x35b09e=_0x324636[_0x3380f2(0x8d,0x154,0x12e,0xf5)](_0xc45056[_0x3380f2(0x211,_0x3a2e84._0xc2c397,0x28d,_0x3a2e84._0x4376c3)]??process['cwd']()),_0x40a746=_0xc45056[_0x3380f2(_0x3a2e84._0x8e2999,0x556,0x36b,0x1b9)]??[];function _0x46c809(_0x54cdb8,_0x7411bb,_0x45230f,_0x17a002){return _0x30b865(_0x54cdb8-_0x31a56d._0x28d9a8,_0x17a002,_0x45230f-_0x31a56d._0x2609a7,_0x17a002-_0x31a56d._0x467b53);}const _0x1267d1=_0xc45056[_0x3380f2(0x5c3,0x412,_0x3a2e84._0x18b2f4,0x4ed)]??'Lsp';function _0x3380f2(_0x54cb01,_0x513115,_0x3f9cc9,_0x2783f4){return _0x30b865(_0x54cb01-0x1c5,_0x54cb01,_0x3f9cc9-0x94,_0x2783f4-_0x41987d._0x28781d);}return defineTool({'name':_0x1267d1,'permissionClass':_0x46c809(_0x3a2e84._0x42cd50,_0x3a2e84._0x3d07a3,0x1a7,0x2e6),'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x3380f2(_0x3a2e84._0x5e56ff,_0x3a2e84._0x371756,_0x3a2e84._0x1bb83b,0x58),'properties':{'operation':{'type':_0x46c809(0x1d0,0x2dd,_0x3a2e84._0x211d33,-_0x3a2e84._0x13f5bc),'enum':[_0x3380f2(_0x3a2e84._0x38f1ac,0x3d7,_0x3a2e84._0x5505a9,0x486),_0x46c809(_0x3a2e84._0x3e0e34,-0x68,_0x3a2e84._0x4a2e7b,0x1af),_0x3380f2(0x1ab,_0x3a2e84._0x1a5531,0x363,0x387),'documentSymbol','workspaceSymbol',_0x46c809(_0x3a2e84._0x3be8f3,0x421,0x3f9,_0x3a2e84._0x3987a9),'prepareCallHierarchy',_0x46c809(_0x3a2e84._0x4ca91c,_0x3a2e84._0x272b65,0x4e2,_0x3a2e84._0x39be47),_0x46c809(_0x3a2e84._0x5b00a9,_0x3a2e84._0x1015ea,_0x3a2e84._0x572b95,_0x3a2e84._0x473a7c),_0x3380f2(0x251,_0x3a2e84._0x1ae75d,_0x3a2e84._0x1a952f,_0x3a2e84._0x333ce1)]},'filePath':{'type':_0x46c809(_0x3a2e84._0x57ec86,0x293,0x132,0x291)},'line':{'type':_0x46c809(_0x3a2e84._0xfc42b9,_0x3a2e84._0x93b393,0x484,0x4ec)},'character':{'type':_0x3380f2(_0x3a2e84._0x5e945e,_0x3a2e84._0x4bd1a8,_0x3a2e84._0x46f0d7,_0x3a2e84._0x3cbf1c)},'query':{'type':_0x3380f2(0x14b,_0x3a2e84._0x24e2bc,0x35,-_0x3a2e84._0x4f2fa0)}},'required':[_0x3380f2(0xda,0x22d,_0x3a2e84._0x157265,_0x3a2e84._0x448584),_0x3380f2(0x14a,-_0x3a2e84._0x5ac953,_0x3a2e84._0x26c675,_0x3a2e84._0x3d07a3),_0x3380f2(_0x3a2e84._0x56f69e,-_0x3a2e84._0xbd7b7b,0x1d6,0x61),'character']},async *'execute'(_0x2c4ac8,_0x55fb61){const _0x88517c={_0x2b200f:0x94,_0x245ae8:0x8e},_0x38774a={_0xaf62fa:0x48,_0x46d344:0x344},_0x5ef714=_0xc45056[_0x16889c(_0x1067f7._0x2e3f16,-_0x1067f7._0x5526fd,-0x79,-0x17f)];if(!_0x5ef714)throw new ToolExecutionError(_0x16889c(-0xc,_0x1067f7._0x18fe44,0xd6,_0x1067f7._0x593697));if(!_0x5ef714[_0x37ce64(0x4de,_0x1067f7._0x1eea5f,_0x1067f7._0x2ec1ec,_0x1067f7._0x5848bb)]())throw new ToolExecutionError(_0x16889c(0x20b,_0x1067f7._0x24b27e,0x63,0x117));const _0x126576=_0x2c4ac8[_0x37ce64(_0x1067f7._0x1b96b1,_0x1067f7._0x3abbcb,0x4b3,0x3c6)];validatePosition(_0x2c4ac8['line'],_0x2c4ac8['character']);if(_0x126576===_0x16889c(-0x214,-_0x1067f7._0x219d13,-0x96,_0x1067f7._0x3ecc2e)){if(!_0x2c4ac8[_0x16889c(-_0x1067f7._0x860b4d,0x11,-_0x1067f7._0x2f196a,-_0x1067f7._0xcaedad)]?.[_0x37ce64(_0x1067f7._0x4831ba,_0x1067f7._0x2eed24,_0x1067f7._0x39110d,0x7b2)]())throw new ToolExecutionError(_0x37ce64(0x82d,0x6c8,0x64e,0x75f));const _0x3352e2=await awaitWithAbort2(_0x5ef714[_0x16889c(-0x14b,-0xa8,-_0x1067f7._0x42743e,-_0x1067f7._0x1a0fef)](_0x2c4ac8['query'][_0x37ce64(0x621,_0x1067f7._0x1f12fd,_0x1067f7._0x3c1f3a,0x893)]()),_0x55fb61['signal']);return yield createToolOutput(formatSymbols(_0x3352e2),{'operation':_0x126576,'query':_0x2c4ac8['query'],'symbols':_0x3352e2}),void 0x0;}const _0x2b57e8=resolveAllowedPath(_0x35b09e,_0x40a746,_0x2c4ac8[_0x16889c(-0x67,0x127,-_0x1067f7._0x2d7424,-0x27e)]);await assertFile(_0x2b57e8);if(!await awaitWithAbort2(_0x5ef714[_0x37ce64(_0x1067f7._0x38a97e,_0x1067f7._0x105ab5,0x4da,_0x1067f7._0x3e8f47)](_0x2b57e8),_0x55fb61[_0x37ce64(_0x1067f7._0x282d92,_0x1067f7._0x174a7c,0x759,_0x1067f7._0x2593b7)]))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x2c4ac8['filePath'],{'filePath':_0x2c4ac8[_0x16889c(-0x23a,0x4b,-0x8f,-_0x1067f7._0x5adc4d)]});function _0x37ce64(_0x57ba92,_0xadedbd,_0x1da9a8,_0x4428b9){return _0x46c809(_0x57ba92-0x72,_0xadedbd-_0x38774a._0xaf62fa,_0x1da9a8-_0x38774a._0x46d344,_0xadedbd);}await awaitWithAbort2(_0x5ef714[_0x37ce64(0x816,0x71a,_0x1067f7._0x5848bb,_0x1067f7._0x40df69)](_0x2b57e8,!![]),_0x55fb61[_0x37ce64(_0x1067f7._0x1eb3af,0x757,_0x1067f7._0x2b7f96,0x7d8)]);function _0x16889c(_0x1693d5,_0x7e2115,_0x1adfb4,_0x1b9628){return _0x3380f2(_0x1b9628,_0x7e2115-0x1c8,_0x1adfb4- -_0x88517c._0x2b200f,_0x1b9628-_0x88517c._0x245ae8);}const _0x3b09d6={'file':_0x2b57e8,'line':_0x2c4ac8[_0x37ce64(0x46c,_0x1067f7._0x37fbbf,_0x1067f7._0x4d6426,0x407)]-0x1,'character':_0x2c4ac8[_0x16889c(0x10d,0x108,_0x1067f7._0x1d742d,0x22c)]-0x1};switch(_0x126576){case _0x37ce64(0x722,_0x1067f7._0x58d0e9,_0x1067f7._0x4fcc79,_0x1067f7._0x6a266a):{const _0x5888bf=await awaitWithAbort2(_0x5ef714[_0x16889c(_0x1067f7._0x490b55,0x4b3,0x2cf,0x2d5)](_0x3b09d6),_0x55fb61['signal']);return yield createToolOutput(formatHover(_0x5888bf),{'operation':_0x126576,'filePath':_0x2b57e8,'hover':_0x5888bf}),void 0x0;}case _0x37ce64(_0x1067f7._0x4a864a,0x80c,_0x1067f7._0x593a87,0x7d5):{const _0x3fa988=await awaitWithAbort2(_0x5ef714[_0x37ce64(_0x1067f7._0x430097,_0x1067f7._0x5466f4,_0x1067f7._0x5f4942,0x947)](_0x2b57e8),_0x55fb61['signal']);return yield createToolOutput(formatDiagnostics(_0x3fa988),{'operation':_0x126576,'filePath':_0x2b57e8,'diagnostics':_0x3fa988}),void 0x0;}case'goToDefinition':{const _0x56f7e7=await awaitWithAbort2(_0x5ef714['definition'](_0x3b09d6),_0x55fb61[_0x37ce64(0x905,_0x1067f7._0x338a06,0x759,0x74a)]);return yield createToolOutput(formatLocations(_0x56f7e7),{'operation':_0x126576,'filePath':_0x2b57e8,'locations':_0x56f7e7}),void 0x0;}case _0x37ce64(0x4ea,0x696,_0x1067f7._0x3cc449,_0x1067f7._0x41664a):{const _0x2d9f36=await awaitWithAbort2(_0x5ef714[_0x16889c(0x99,0x10b,_0x1067f7._0x4d1698,-0x33)](_0x3b09d6),_0x55fb61['signal']);return yield createToolOutput(formatLocations(_0x2d9f36),{'operation':_0x126576,'filePath':_0x2b57e8,'locations':_0x2d9f36}),void 0x0;}case'goToImplementation':{const _0x4aa2af=await awaitWithAbort2(_0x5ef714[_0x37ce64(0x59c,0x968,0x75a,0x6b1)](_0x3b09d6),_0x55fb61[_0x37ce64(0x855,0x5eb,0x759,_0x1067f7._0x25d397)]);return yield createToolOutput(formatLocations(_0x4aa2af),{'operation':_0x126576,'filePath':_0x2b57e8,'locations':_0x4aa2af}),void 0x0;}case _0x16889c(-_0x1067f7._0x386f61,-_0x1067f7._0x6833be,-0x9f,-0x19e):{const _0x260a89=await awaitWithAbort2(_0x5ef714[_0x37ce64(_0x1067f7._0x42c27d,0x2d5,_0x1067f7._0x104a7a,_0x1067f7._0xd8551c)](_0x2b57e8),_0x55fb61[_0x37ce64(_0x1067f7._0x460a5d,_0x1067f7._0x3e9f9b,0x759,_0x1067f7._0x19b0cd)]);return yield createToolOutput(formatSymbols(_0x260a89),{'operation':_0x126576,'filePath':_0x2b57e8,'symbols':_0x260a89}),void 0x0;}case _0x37ce64(0x641,0x705,0x7e0,0x8a4):{const _0x358f46=await awaitWithAbort2(_0x5ef714[_0x37ce64(0x713,_0x1067f7._0x49a1ea,_0x1067f7._0x15aecc,0x82a)](_0x3b09d6),_0x55fb61['signal']);return yield createToolOutput(formatSymbols(_0x358f46),{'operation':_0x126576,'filePath':_0x2b57e8,'symbols':toStructured(_0x358f46)}),void 0x0;}case _0x16889c(_0x1067f7._0x1d5561,0x23b,_0x1067f7._0x2ae271,_0x1067f7._0x1dfc1e):{const _0x5a4677=await awaitWithAbort2(_0x5ef714[_0x16889c(0x30b,0x2b5,_0x1067f7._0x2ae271,_0x1067f7._0x195d97)](_0x3b09d6),_0x55fb61[_0x16889c(0x1ac,_0x1067f7._0x2f4501,_0x1067f7._0x4f2f12,_0x1067f7._0x213b9a)]);return yield createToolOutput(formatIncomingCalls(_0x5a4677),{'operation':_0x126576,'filePath':_0x2b57e8,'calls':toStructured(_0x5a4677)}),void 0x0;}case _0x37ce64(_0x1067f7._0x3f9669,0x92e,_0x1067f7._0x43a814,0x802):{const _0x3ebca2=await awaitWithAbort2(_0x5ef714[_0x37ce64(0x78d,_0x1067f7._0x4ed84d,0x733,0x7f1)](_0x3b09d6),_0x55fb61[_0x37ce64(_0x1067f7._0x2ff07d,_0x1067f7._0x420459,0x759,_0x1067f7._0x1dfc39)]);return yield createToolOutput(formatOutgoingCalls(_0x3ebca2),{'operation':_0x126576,'filePath':_0x2b57e8,'calls':toStructured(_0x3ebca2)}),void 0x0;}}}});}import*as _0x2dd09e from'path';function buildDescription(_0x23dd6f){const _0x1f81b4={_0x50aabc:0x187,_0x4ca4d8:0x269,_0x3251d8:0x107,_0x1a03d6:0x252,_0x5a61f0:0x114,_0x44de2d:0x31a},_0x1e4cab={_0x591cb1:0x139},_0x4de40d={_0x1aa88e:0xa8,_0x4718f2:0x27};if(_0x23dd6f['length']===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';function _0x36ecdf(_0x309839,_0x322c9c,_0x1ffa0f,_0x2a8879){return _0x30b865(_0x309839-0xb2,_0x1ffa0f,_0x322c9c- -_0x4de40d._0x1aa88e,_0x2a8879-_0x4de40d._0x4718f2);}function _0x185179(_0x1c9cfa,_0x1c26be,_0x471ddc,_0x3ce8e8){return _0x30b865(_0x1c9cfa-0x15d,_0x471ddc,_0x3ce8e8- -0x48,_0x3ce8e8-_0x1e4cab._0x591cb1);}const _0x53e20c=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x36ecdf(-0x2e,0x19e,_0x1f81b4._0x50aabc,_0x1f81b4._0x4ca4d8),_0x36ecdf(0x1bf,_0x1f81b4._0x3251d8,0x1d8,0x299),_0x185179(_0x1f81b4._0x1a03d6,0x19c,0x147,0x55),..._0x23dd6f[_0x36ecdf(_0x1f81b4._0x5a61f0,0x250,0x10e,_0x1f81b4._0x44de2d)](_0xb5e327=>'-\x20'+_0xb5e327[_0x36ecdf(0x373,0x279,0x152,0x333)]+':\x20'+_0xb5e327[_0x36ecdf(-0x1db,-0x109,-0x2f,0xb1)])];return _0x53e20c['join']('\x0a');}function createLoadSkillTool(_0x3d13cd){const _0xd4a961={_0x2a402b:0x514,_0x49e915:0x721,_0x1b898d:0x700,_0x383005:0x61d,_0x278f2c:0x42e,_0x429387:0x350,_0x4e9820:0x558,_0x4457a5:0x3b9,_0x1ca128:0x599,_0x3d5066:0x8fd},_0x25e376={_0x1ac0ff:0x827,_0x970e1d:0x983,_0x1ad87:0x7d8,_0x437841:0x7bf,_0xbc738b:0x926,_0xbae7b7:0x7be,_0x5aeae0:0x5b4,_0x1f5c90:0x779,_0x54848a:0x8e8,_0x1d6eac:0x7ba,_0x1ed874:0x199,_0x336129:0x498,_0x42e719:0x1fe,_0x4f23ca:0x214,_0x2d1f27:0x554,_0x44cb75:0x826,_0x806c32:0x8bd,_0x24ea51:0x877,_0x4cf29b:0x3ec,_0x312596:0x56,_0xd45144:0x7c,_0x5437cd:0x576,_0x13a8e7:0x504,_0x1ce3ee:0x81c,_0x2e2ca3:0x512,_0x128cec:0x47a,_0x1f3631:0x738,_0xbab7a9:0x5f9,_0x43386e:0x4bd,_0xa3bc34:0x163,_0x58a6a6:0x279,_0x257bef:0x1e2,_0x72783c:0x8b9,_0x469f54:0x8df,_0x3ea089:0x815,_0x2b2799:0x16d,_0x503a8e:0x168,_0x2bb379:0x19e,_0x512f3a:0x35b,_0xb092fe:0xed,_0x4ba303:0x2b6,_0x364079:0x915,_0x25ff7b:0x827,_0x4687eb:0x12d},_0x944d85={_0x34cc83:0x9c,_0x203ca7:0xc7,_0x2f91d1:0x10c},_0x417328={_0x230858:0x54},_0x485507={_0xdf622:0x2a8},_0x236c6b={_0x79b830:0x169},_0x238641=new Map(_0x3d13cd[_0x5288a7(0x3a9,0x5d5,0x3b4,_0xd4a961._0x2a402b)]['map'](_0x29bb12=>[_0x29bb12[_0x548e96(0x89d,0x739,0x7b5,0x824)],_0x29bb12]));function _0x548e96(_0x6aa4ed,_0x5064df,_0x11987f,_0x9e82a5){return _0x511cdd(_0x6aa4ed-_0x236c6b._0x79b830,_0x5064df-0x14d,_0x11987f,_0x5064df-0x230);}function _0x5288a7(_0x763748,_0x264304,_0x5c2c2f,_0x1f6d2f){return _0x511cdd(_0x763748-0x11a,_0x264304-0x19e,_0x264304,_0x1f6d2f-_0x485507._0xdf622);}const _0x4bd5bc=buildDescription(_0x3d13cd['skills']);return defineTool({'name':_0x548e96(0x61f,_0xd4a961._0x49e915,_0xd4a961._0x1b898d,0x785),'permissionClass':_0x548e96(_0xd4a961._0x383005,_0xd4a961._0x278f2c,0x376,_0xd4a961._0x429387),'description':_0x4bd5bc,'inputSchema':{'type':_0x5288a7(0x4e2,0x497,0x4aa,_0xd4a961._0x4e9820),'properties':{'name':{'type':_0x548e96(0x342,_0xd4a961._0x4457a5,_0xd4a961._0x1ca128,0x34e)}},'required':[_0x5288a7(0x64a,_0xd4a961._0x3d5066,0x65b,0x7b1)]},async *'execute'(_0x361576){const _0x1e93fb=_0x238641[_0x5529cd(0x661,0x790,_0x25e376._0x1ac0ff,_0x25e376._0x970e1d)](_0x361576[_0x5529cd(0xa07,0x9d4,0x8bd,0x862)]);if(!_0x1e93fb){const _0x11aa51=Array[_0x5529cd(_0x25e376._0x1ad87,0x8e9,_0x25e376._0x437841,_0x25e376._0xbc738b)](_0x238641[_0x5529cd(_0x25e376._0xbae7b7,0x770,_0x25e376._0x5aeae0,_0x25e376._0x1f5c90)]())[_0x5529cd(0x7c7,_0x25e376._0x54848a,_0x25e376._0x1d6eac,0x678)](',\x20');throw new ToolExecutionError(_0x40ea29(0x373,_0x25e376._0x1ed874,_0x25e376._0x336129,_0x25e376._0x42e719)+_0x361576[_0x40ea29(0x3e2,0x4c4,_0x25e376._0x4f23ca,_0x25e376._0x2d1f27)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x11aa51,{'name':_0x361576[_0x5529cd(0xa8a,_0x25e376._0x44cb75,_0x25e376._0x806c32,_0x25e376._0x24ea51)]});}const _0x36b6b1=await _0x3d13cd[_0x40ea29(_0x25e376._0x4cf29b,0x2be,0x551,0x1fd)](_0x1e93fb);function _0x40ea29(_0x3b5663,_0x58293e,_0x262155,_0x49c59d){return _0x5288a7(_0x3b5663-_0x417328._0x230858,_0x262155,_0x262155-0x142,_0x3b5663- -0x3cf);}const _0x553376=_0x1e93fb[_0x40ea29(0x168,-_0x25e376._0x312596,0x2b0,-_0x25e376._0xd45144)][_0x5529cd(_0x25e376._0x5437cd,_0x25e376._0x13a8e7,0x673,0x762)]??_0x2dd09e['dirname'](_0x1e93fb[_0x5529cd(0x5bf,_0x25e376._0x1ce3ee,0x643,_0x25e376._0x2e2ca3)][_0x5529cd(_0x25e376._0x128cec,0x4ac,0x4f0,0x327)]),_0x25dc38=[_0x5529cd(0x5f2,_0x25e376._0x1f3631,_0x25e376._0xbab7a9,_0x25e376._0x43386e)+_0x36b6b1['name'],'',_0x36b6b1[_0x40ea29(_0x25e376._0xa3bc34,-0x5f,_0x25e376._0x58a6a6,_0x25e376._0x257bef)],'',_0x5529cd(_0x25e376._0x72783c,_0x25e376._0x469f54,_0x25e376._0x3ea089,0x8ac),_0x40ea29(0x274,_0x25e376._0x2b2799,0x407,0x406)+_0x1e93fb[_0x40ea29(_0x25e376._0x503a8e,_0x25e376._0x2bb379,_0x25e376._0x512f3a,0x22b)]['path'],'Base\x20directory:\x20'+_0x553376][_0x40ea29(0x2df,_0x25e376._0xb092fe,0x2c4,_0x25e376._0x4ba303)]('\x0a');yield createToolOutput(_0x25dc38,{'id':_0x36b6b1['id'],'name':_0x36b6b1[_0x5529cd(_0x25e376._0x364079,_0x25e376._0x25ff7b,_0x25e376._0x806c32,0xa7d)],'path':_0x1e93fb['source'][_0x40ea29(0x15,_0x25e376._0x4687eb,-0x1c,0x10b)],'baseDirectory':_0x553376});function _0x5529cd(_0x5b6686,_0x1d8e23,_0x2d358b,_0x5592ed){return _0x5288a7(_0x5b6686-_0x944d85._0x34cc83,_0x1d8e23,_0x2d358b-_0x944d85._0x203ca7,_0x2d358b-_0x944d85._0x2f91d1);}return void 0x0;}});}var TODO_STATUSES=new Set([_0x511cdd(0x22e,0x236,0x2cf,0x237),'in_progress','completed']),TODO_PRIORITIES=new Set([_0x30b865(0xf4,-0x6d,-0xba,-0x2cd),_0x30b865(0x10d,0xb1,0x20e,0x258),_0x30b865(0x150,0x152,0xea,-0x3)]);function isTodoStatus(_0x4f13bb){const _0xddc49a={_0x19ace8:0x366,_0x1c4826:0x223,_0x2405fa:0x162,_0x369391:0x61a,_0x35a31c:0x7bb},_0x21b001={_0x5dc916:0x1dd},_0x3651df={_0x460377:0x1e2};function _0x7cb698(_0x1976d0,_0x475856,_0x462079,_0x47cd33){return _0x511cdd(_0x1976d0-_0x3651df._0x460377,_0x475856-0x192,_0x475856,_0x462079-0x17f);}function _0x2482dc(_0x29c3bd,_0x4d7e30,_0x2e547c,_0x293d6c){return _0x511cdd(_0x29c3bd-0x83,_0x4d7e30-0x1d3,_0x293d6c,_0x29c3bd-_0x21b001._0x5dc916);}return typeof _0x4f13bb===_0x2482dc(_0xddc49a._0x19ace8,0x246,_0xddc49a._0x1c4826,_0xddc49a._0x2405fa)&&TODO_STATUSES[_0x2482dc(0x5e2,_0xddc49a._0x369391,_0xddc49a._0x35a31c,0x7b7)](_0x4f13bb);}function isTodoPriority(_0x5c96ce){const _0x32f874={_0x4b71f6:0x3aa,_0x31328d:0x6be,_0x38a45b:0x6ae};function _0x55f902(_0xf62101,_0x48b8b4,_0x312510,_0x5c7997){return _0x511cdd(_0xf62101-0xe5,_0x48b8b4-0x1cd,_0xf62101,_0x48b8b4-0x10b);}return typeof _0x5c96ce==='string'&&TODO_PRIORITIES[_0x55f902(_0x32f874._0x4b71f6,0x510,_0x32f874._0x31328d,_0x32f874._0x38a45b)](_0x5c96ce);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0x19d839){const _0xe48ce6={_0x1fab99:0x534,_0x98bc2a:0x570,_0x49fdfb:0x625},_0x9043dc={_0x505bac:0x2a8};function _0x189e90(_0x36cb47,_0x4080fd,_0x58a8cd,_0x325088){return _0x511cdd(_0x36cb47-0x1b1,_0x4080fd-0x121,_0x325088,_0x4080fd-_0x9043dc._0x505bac);}return this[_0x189e90(0x4b2,_0xe48ce6._0x1fab99,_0xe48ce6._0x98bc2a,_0xe48ce6._0x49fdfb)]['get'](_0x19d839)??[];}[_0x30b865(0x11b,0x10,-0x91,0x103)](_0x126035,_0x11a829){const _0x271e1b={_0x16246d:0x851,_0x14238a:0x6e2,_0x1ca3e5:0x9e9},_0x2743d6={_0x5dea92:0x1de,_0xdac47c:0x11e};function _0x4b051b(_0x241260,_0x1fb258,_0x3e0773,_0x215803){return _0x511cdd(_0x241260-_0x2743d6._0x5dea92,_0x1fb258-_0x2743d6._0xdac47c,_0x3e0773,_0x1fb258-0x327);}this['todosBySession'][_0x4b051b(0x657,_0x271e1b._0x16246d,_0x271e1b._0x14238a,_0x271e1b._0x1ca3e5)](_0x126035,_0x11a829);}['getStats'](_0x2d40e7){const _0x4970ad={_0x2a1b14:0x2c5,_0x2d3624:0x20a,_0x2a431a:0x161,_0x137c8a:0xa2,_0x4cb6d5:0x187,_0x162c12:0xc0,_0x5dd653:0x106,_0xaab149:0xb6,_0x1a3cd7:0x10b,_0x6b8d64:0x335,_0x5938da:0x3c7,_0x5928e1:0x4ac,_0x493fd4:0x44b,_0x4855c9:0x459,_0x3ad31f:0x647},_0x39a29e={_0x50ce1c:0x14d,_0x56abde:0x1b9};function _0x4953ad(_0x2bda12,_0x21b639,_0x1b1307,_0x5c6fa7){return _0x511cdd(_0x2bda12-0x165,_0x21b639-0x118,_0x2bda12,_0x21b639- -0x195);}const _0xabaa7f=this['getTodos'](_0x2d40e7),_0x555ecf={'total':_0xabaa7f['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x53688f(_0x36c339,_0x181264,_0x405d85,_0x319e9b){return _0x30b865(_0x36c339-_0x39a29e._0x50ce1c,_0x405d85,_0x181264-_0x39a29e._0x56abde,_0x319e9b-0xb3);}for(const _0x50ffa0 of _0xabaa7f){if(_0x50ffa0[_0x4953ad(0x145,0x2f0,0x4e2,_0x4970ad._0x2a1b14)]===_0x4953ad(_0x4970ad._0x2d3624,0xa2,-0x126,0x2a3))_0x555ecf[_0x4953ad(_0x4970ad._0x2a431a,_0x4970ad._0x137c8a,-0x158,_0x4970ad._0x4cb6d5)]+=0x1;else{if(_0x50ffa0['status']===_0x4953ad(_0x4970ad._0x162c12,_0x4970ad._0x5dd653,-_0x4970ad._0xaab149,_0x4970ad._0x1a3cd7))_0x555ecf[_0x53688f(0x2bb,0x449,_0x4970ad._0x6b8d64,_0x4970ad._0x5938da)]+=0x1;else _0x555ecf[_0x53688f(_0x4970ad._0x5928e1,_0x4970ad._0x493fd4,_0x4970ad._0x4855c9,_0x4970ad._0x3ad31f)]+=0x1;}}return _0x555ecf;}};function _0x56d3(_0x16c853,_0x234e1d){_0x16c853=_0x16c853-0x1ec;const _0x4aa30a=_0x4aa3();let _0x56d3e9=_0x4aa30a[_0x16c853];if(_0x56d3['rPsraG']===undefined){var _0x37319b=function(_0x59998d){const _0x55937d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18b3e3='',_0x29b6cd='';for(let _0x493064=0x0,_0x5987f5,_0xe950e9,_0xb85e9f=0x0;_0xe950e9=_0x59998d['charAt'](_0xb85e9f++);~_0xe950e9&&(_0x5987f5=_0x493064%0x4?_0x5987f5*0x40+_0xe950e9:_0xe950e9,_0x493064++%0x4)?_0x18b3e3+=String['fromCharCode'](0xff&_0x5987f5>>(-0x2*_0x493064&0x6)):0x0){_0xe950e9=_0x55937d['indexOf'](_0xe950e9);}for(let _0x4c1bdb=0x0,_0x231039=_0x18b3e3['length'];_0x4c1bdb<_0x231039;_0x4c1bdb++){_0x29b6cd+='%'+('00'+_0x18b3e3['charCodeAt'](_0x4c1bdb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x29b6cd);};_0x56d3['QNiAvk']=_0x37319b,_0x56d3['uJMKgD']={},_0x56d3['rPsraG']=!![];}const _0x2c3d87=_0x4aa30a[0x0],_0x498795=_0x16c853+_0x2c3d87,_0x4fd00c=_0x56d3['uJMKgD'][_0x498795];return!_0x4fd00c?(_0x56d3e9=_0x56d3['QNiAvk'](_0x56d3e9),_0x56d3['uJMKgD'][_0x498795]=_0x56d3e9):_0x56d3e9=_0x4fd00c,_0x56d3e9;}function validateTodos(_0x2d425a){const _0x23f4dd={_0x214404:0x4e6,_0x94c656:0x5c6,_0x55ee0b:0x4f9,_0x501a58:0x77d,_0x28e1ae:0x430,_0x17c5c2:0x513,_0x1825fd:0x592,_0x43dc37:0x58f,_0x36d773:0x317,_0x2462ae:0x4af,_0x43af3e:0x235,_0x2dad45:0x577,_0xdb1422:0x4d3,_0x26360d:0x5f1,_0x4a350a:0x6ce,_0x3de034:0x692,_0x4ee0c1:0x5d3,_0x202e65:0x45d,_0x5e4da3:0x22,_0x282318:0x5cf,_0x1d87f7:0x42f,_0x5cd54a:0x4d1,_0x1b513f:0x2e9,_0x4bbcbb:0x449,_0x46b017:0x63f,_0x1ca55b:0x57c,_0x56b654:0x6c3,_0x31cfde:0x59f,_0x3e40dc:0x3de,_0x57a633:0x5e5,_0x478d56:0x795,_0x18f67a:0x779,_0xb20768:0x53f,_0x293022:0x812,_0x351394:0x3ed,_0x373a4d:0x4a3,_0xd64281:0x3c8,_0x21c935:0x509,_0x3f8218:0x4db,_0x21eccd:0x57a,_0x500100:0x58c,_0x517dee:0x5ee,_0x19fe4f:0x224,_0x433e9e:0x7b,_0x11681d:0x210,_0x1c5f2c:0x487,_0x5cba36:0x82e,_0x24d6ed:0x70c,_0x1fd000:0x664},_0xd10705={_0x19fa2e:0x297},_0x1aad0a={_0x44ce34:0x15c};if(!Array[_0x17a2e5(_0x23f4dd._0x214404,0x5a1,0x5a1,0x4aa)](_0x2d425a[_0x29fa31(_0x23f4dd._0x94c656,_0x23f4dd._0x55ee0b,0x602,0x5f7)])||_0x2d425a[_0x29fa31(_0x23f4dd._0x501a58,0x6fa,0x602,0x6dd)]['length']===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':'invalid_todos'});for(let _0x1eb739=0x0;_0x1eb739<_0x2d425a[_0x29fa31(_0x23f4dd._0x28e1ae,0x536,0x602,0x688)]['length'];_0x1eb739+=0x1){const _0x35c6f8=_0x2d425a[_0x29fa31(_0x23f4dd._0x17c5c2,_0x23f4dd._0x1825fd,0x602,_0x23f4dd._0x43dc37)][_0x1eb739];if(!_0x35c6f8||typeof _0x35c6f8!==_0x17a2e5(0x34a,_0x23f4dd._0x36d773,_0x23f4dd._0x2462ae,_0x23f4dd._0x43af3e))throw new ToolExecutionError(_0x17a2e5(0x57c,0x6b3,_0x23f4dd._0x2dad45,_0x23f4dd._0xdb1422)+(_0x1eb739+0x1)+':\x20todo\x20item\x20is\x20required',{'error':'invalid_todo_item'});if(typeof _0x35c6f8['id']!=='string'||_0x35c6f8['id'][_0x29fa31(_0x23f4dd._0x26360d,0x77d,_0x23f4dd._0x4a350a,0x68a)]()[_0x17a2e5(0x487,_0x23f4dd._0x3de034,_0x23f4dd._0x4ee0c1,0x4b7)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1eb739+0x1)+':\x20id\x20required',{'error':'invalid_todo_id'});if(typeof _0x35c6f8[_0x29fa31(0x62f,0x61b,0x51f,_0x23f4dd._0x202e65)]!==_0x17a2e5(0x223,_0x23f4dd._0x5e4da3,0x1f6,0x350)||_0x35c6f8[_0x29fa31(_0x23f4dd._0x282318,_0x23f4dd._0x1d87f7,0x51f,0x421)][_0x17a2e5(_0x23f4dd._0x5cd54a,_0x23f4dd._0x1b513f,_0x23f4dd._0x4bbcbb,_0x23f4dd._0x46b017)]()['length']===0x0)throw new ToolExecutionError(_0x17a2e5(_0x23f4dd._0x1ca55b,0x573,0x6aa,_0x23f4dd._0x56b654)+(_0x1eb739+0x1)+_0x17a2e5(_0x23f4dd._0x31cfde,_0x23f4dd._0x3e40dc,_0x23f4dd._0x57a633,_0x23f4dd._0x478d56),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x35c6f8['status']))throw new ToolExecutionError(_0x29fa31(_0x23f4dd._0x57a633,0x6cc,_0x23f4dd._0x18f67a,0x829)+(_0x1eb739+0x1)+_0x29fa31(0x86b,_0x23f4dd._0xb20768,0x6df,_0x23f4dd._0x293022),{'error':'invalid_todo_status'});if(!isTodoPriority(_0x35c6f8[_0x17a2e5(0x321,0x21c,_0x23f4dd._0x351394,0x331)]))throw new ToolExecutionError('Todo\x20'+(_0x1eb739+0x1)+_0x29fa31(_0x23f4dd._0x373a4d,_0x23f4dd._0xd64281,0x4eb,_0x23f4dd._0x21c935),{'error':'invalid_todo_priority'});}const _0x19dc10=_0x2d425a[_0x29fa31(_0x23f4dd._0x3f8218,0x6e2,0x602,0x4e1)][_0x17a2e5(_0x23f4dd._0x21eccd,_0x23f4dd._0x500100,0x5ec,_0x23f4dd._0x517dee)](_0x4290a7=>_0x4290a7['id']);function _0x17a2e5(_0x457fab,_0x5cc729,_0x37df21,_0x10bc3b){return _0x30b865(_0x457fab-0x13f,_0x37df21,_0x457fab-0x282,_0x10bc3b-_0x1aad0a._0x44ce34);}function _0x29fa31(_0x5a92f2,_0x16db9f,_0x6bbb85,_0x288f60){return _0x511cdd(_0x5a92f2-0xb3,_0x16db9f-0x1ed,_0x16db9f,_0x6bbb85-_0xd10705._0x19fa2e);}if(new Set(_0x19dc10)[_0x17a2e5(_0x23f4dd._0x19fe4f,0xb4,_0x23f4dd._0x433e9e,_0x23f4dd._0x11681d)]!==_0x19dc10[_0x17a2e5(_0x23f4dd._0x1c5f2c,0x4a9,0x4fb,0x2a7)])throw new ToolExecutionError(_0x29fa31(0x713,_0x23f4dd._0x5cba36,_0x23f4dd._0x24d6ed,_0x23f4dd._0x1fd000),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x54c07c){const _0x4866e4={_0x4020e7:0x96,_0x2f384e:0x127,_0x48c416:0x607,_0x3357e3:0x544,_0x5a04b9:0x4a1,_0x3af238:0x4bc,_0xc3fa3b:0x74e,_0x30685f:0x868,_0x33a52d:0x96},_0x252ea8={_0x11d8d1:0x76,_0xab2dec:0xdc};function _0x4dc4da(_0x89a2cd,_0x2ef2de,_0x16ee8a,_0xe28635){return _0x511cdd(_0x89a2cd-0x13f,_0x2ef2de-0x126,_0xe28635,_0x89a2cd-0x2d4);}function _0x5da1ab(_0x434fcf,_0x321925,_0x15d805,_0x336d6d){return _0x511cdd(_0x434fcf-_0x252ea8._0x11d8d1,_0x321925-_0x252ea8._0xab2dec,_0x15d805,_0x434fcf- -0x115);}return _0x54c07c[_0x5da1ab(_0x4866e4._0x4020e7,0x27d,_0x4866e4._0x2f384e,-0x12d)]>0x0?Math[_0x4dc4da(_0x4866e4._0x48c416,_0x4866e4._0x3357e3,_0x4866e4._0x5a04b9,_0x4866e4._0x3af238)](_0x54c07c[_0x4dc4da(_0x4866e4._0xc3fa3b,_0x4866e4._0x30685f,0x765,0x7cb)]/_0x54c07c[_0x5da1ab(_0x4866e4._0x33a52d,0x58,0x71,0x105)]*0x64)+'%':'0%';}function createReminderItems(_0x16679e){const _0x3b76ee={_0x3f139e:0x1c5,_0xfb3ceb:0xfc,_0x478a97:0xb4},_0x12851e={_0x245461:0x19,_0x395c2f:0xe5};function _0x2c1edb(_0x43fc37,_0x476569,_0x4470d0,_0x2c563f){return _0x511cdd(_0x43fc37-0x98,_0x476569-_0x12851e._0x245461,_0x476569,_0x2c563f-_0x12851e._0x395c2f);}function _0x4b8df8(_0x505491,_0x5c251b,_0x4bc8ed,_0x31809a){return _0x511cdd(_0x505491-_0x3b76ee._0x3f139e,_0x5c251b-_0x3b76ee._0xfb3ceb,_0x505491,_0x4bc8ed-_0x3b76ee._0x478a97);}return _0x16679e['map'](_0x7726e9=>({'content':_0x7726e9[_0x2c1edb(0x39f,0x54d,0x430,0x36d)],'status':_0x7726e9[_0x4b8df8(0x52c,0x557,0x539,0x3be)],'id':_0x7726e9['id']}));}function createStructuredResult(_0x57b16a,_0x42c7ae,_0x9d5ac4,_0x161288){const _0x31aac1={_0x345908:0x557,_0x49d27e:0x3af,_0x176299:0x36a},_0x58eec9={_0x5f4ddb:0x1aa},_0x4836d0={_0x1500e4:0x1d0};function _0xae773a(_0x1d8a86,_0x5e2e0f,_0xc2d17c,_0x1fa648){return _0x511cdd(_0x1d8a86-_0x4836d0._0x1500e4,_0x5e2e0f-0x27,_0xc2d17c,_0x5e2e0f-0x225);}function _0x1b1934(_0x56aac3,_0x38c461,_0x3576cf,_0xd5688b){return _0x30b865(_0x56aac3-0x88,_0x56aac3,_0x3576cf-_0x58eec9._0x5f4ddb,_0xd5688b-0x23);}return{'allCompleted':_0x161288,'items':_0x42c7ae[_0xae773a(_0x31aac1._0x345908,0x705,0x52e,0x7b3)](_0x8e78a8=>({'id':_0x8e78a8['id'],'content':_0x8e78a8[_0x1b1934(0x3a8,0x53,0x24a,0x2b1)],'status':_0x8e78a8[_0x1b1934(0x632,0x2a1,0x447,0x300)],'priority':_0x8e78a8[_0x1b1934(0x23f,0x98,0x249,0x49)],'createdAt':_0x8e78a8[_0xae773a(0x944,0x756,0x5cb,0x885)]})),'progress':createStatsProgress(_0x9d5ac4),'recentChanges':!![],'sessionId':_0x57b16a,'stats':_0x9d5ac4,'todosWritten':_0x42c7ae[_0x1b1934(0x43a,0x541,_0x31aac1._0x49d27e,_0x31aac1._0x176299)]};}function createOutputText(_0x4917fc,_0x184427){const _0x111e59={_0x2a5c8b:0x2ac,_0x287faf:0x37c,_0x541bb4:0x1fe,_0x35f323:0x8b,_0x50290d:0x105,_0x5ae840:0xbd,_0x395815:0x3c0},_0x2a8df1={_0x583d9d:0xa7},_0x5c0459={_0x55a589:0x67b,_0x281aaa:0x1ed};function _0x53d9a8(_0x22b8d6,_0x10142d,_0xef7597,_0x1f909f){return _0x30b865(_0x22b8d6-0xdc,_0x1f909f,_0x22b8d6-_0x5c0459._0x55a589,_0x1f909f-_0x5c0459._0x281aaa);}const _0x1ca795=JSON['stringify'](createReminderItems(_0x4917fc));function _0x3f645f(_0x568d4c,_0x9a2e77,_0x553315,_0x3ade3f){return _0x30b865(_0x568d4c-0x1eb,_0x3ade3f,_0x568d4c-_0x2a8df1._0x583d9d,_0x3ade3f-0x114);}if(_0x184427)return'All\x20'+_0x4917fc[_0x3f645f(_0x111e59._0x2a5c8b,_0x111e59._0x287faf,_0x111e59._0x541bb4,0x48e)]+_0x3f645f(0x28b,_0x111e59._0x35f323,_0x111e59._0x50290d,0x3a3)+_0x1ca795+'.\x0a</system-reminder>';return _0x3f645f(0x25e,_0x111e59._0x5ae840,_0x111e59._0x395815,0x192)+_0x1ca795+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x459327=new TodoStore()){const _0x36f17a={_0x29e1fc:0x4db,_0x287f6b:0x6f2,_0x26e409:0x464,_0x22b2fa:0x543,_0x1a9d60:0x6d6,_0x2e39f6:0x591,_0x293533:0x55b,_0x48f897:0x9b0,_0xe28f32:0x791,_0x3c386c:0x662,_0x26e392:0x678,_0x35f5a4:0x541,_0x98c598:0x4eb,_0x27a069:0x615,_0x814a3:0x5e3,_0x182ab3:0x67b,_0xdda3c2:0x52d,_0x1519a3:0x6a9,_0xb27ab0:0x72d,_0x3c3f83:0x646,_0x57bf49:0x8a6,_0x25b8df:0x794,_0x18575f:0xa10,_0x532bbb:0x8e1,_0x240d03:0x6a8,_0x47fbcc:0x6f1,_0x32bbe3:0x594,_0x3e12b6:0x6b0},_0x370d8c={_0x5e5060:0x1e6,_0x4f853d:0x44,_0x5cbb61:0x10d,_0x3fec66:0x21e,_0x559244:0x687,_0xf983b6:0x84d,_0x8ea235:0x798,_0x59440b:0x95,_0x19c4f1:0xda,_0x2eea88:0x4ef,_0x38b083:0x691,_0x479fea:0x4eb,_0x425503:0x48a,_0xc5dab1:0x3ba,_0x4f790e:0x127},_0x38a9c9={_0x152bf4:0x4b},_0x48992b={_0x151450:0x11e},_0x4caee5={_0x5b4d7a:0x52d,_0x1dc234:0x1e3};function _0x97915b(_0x41cc6b,_0x4df6d9,_0x8de435,_0x14398a){return _0x30b865(_0x41cc6b-0x111,_0x41cc6b,_0x4df6d9-_0x4caee5._0x5b4d7a,_0x14398a-_0x4caee5._0x1dc234);}function _0x54e73d(_0x5a0310,_0x130788,_0x591ff3,_0x4da901){return _0x511cdd(_0x5a0310-0xac,_0x130788-_0x48992b._0x151450,_0x130788,_0x5a0310-0x421);}return defineTool({'name':_0x54e73d(0x65e,_0x36f17a._0x29e1fc,_0x36f17a._0x287f6b,0x7cf),'permissionClass':_0x97915b(_0x36f17a._0x26e409,_0x36f17a._0x22b2fa,_0x36f17a._0x1a9d60,0x5c4),'description':_0x97915b(0x521,_0x36f17a._0x2e39f6,_0x36f17a._0x293533,0x6ef),'inputSchema':{'type':'object','properties':{'todos':{'type':_0x54e73d(0x8dd,0x92b,_0x36f17a._0x48f897,_0x36f17a._0xe28f32),'items':{'type':_0x54e73d(0x6d1,_0x36f17a._0x3c386c,_0x36f17a._0x26e392,_0x36f17a._0x35f5a4),'properties':{'content':{'type':_0x54e73d(0x5aa,0x58f,_0x36f17a._0x98c598,0x54d)},'status':{'type':_0x97915b(0x563,0x4ce,_0x36f17a._0x27a069,_0x36f17a._0x814a3)},'priority':{'type':'string'},'id':{'type':'string'},'createdAt':{'type':_0x54e73d(0x5aa,_0x36f17a._0x182ab3,_0x36f17a._0xdda3c2,0x4fd)}},'required':[_0x54e73d(_0x36f17a._0x1519a3,_0x36f17a._0xb27ab0,_0x36f17a._0x3c3f83,0x69d),_0x54e73d(_0x36f17a._0x57bf49,_0x36f17a._0x25b8df,_0x36f17a._0x18575f,_0x36f17a._0x532bbb),_0x54e73d(_0x36f17a._0x240d03,0x6e2,0x718,_0x36f17a._0x47fbcc),'id']}}},'required':[_0x97915b(_0x36f17a._0x32bbe3,_0x36f17a._0x3e12b6,0x85e,0x6ff)]},async *'execute'(_0x50e9f2,_0x4c7fdc){const _0x3f95ec={_0x516699:0x1bf,_0x57e903:0x166},_0x2d478a=_0x50e9f2;validateTodos(_0x2d478a);const _0xaafa2a=_0x4c7fdc['sessionId']||_0x265195(_0x370d8c._0x5e5060,0x2,-_0x370d8c._0x4f853d,-0xe8),_0x2535aa=new Date()[_0x265195(0x206,_0x370d8c._0x5cbb61,_0x370d8c._0x3fec66,0xb3)](),_0x3723d1=_0x2d478a['todos'][_0x155038(_0x370d8c._0x559244,_0x370d8c._0xf983b6,0x7ad,_0x370d8c._0x8ea235)](_0x39952d=>({'id':_0x39952d['id'],'content':_0x39952d[_0x265195(0x1ce,0x4e,0x5f,-0x4f)],'status':_0x39952d[_0x155038(0x774,0x7d2,0x752,0x8e2)],'priority':_0x39952d[_0x155038(0x74b,0x681,0x554,0x5ac)],'sessionId':_0xaafa2a,'createdAt':_0x39952d['createdAt']||_0x2535aa,'updatedAt':_0x2535aa}));function _0x155038(_0x309c0e,_0x5e4b50,_0x390589,_0x4a1e5b){return _0x97915b(_0x5e4b50,_0x390589- -0x78,_0x390589-_0x3f95ec._0x516699,_0x4a1e5b-_0x3f95ec._0x57e903);}_0x459327[_0x265195(_0x370d8c._0x59440b,-0xe3,-0x2f0,_0x370d8c._0x19c4f1)](_0xaafa2a,_0x3723d1);const _0x1ae598=_0x459327[_0x155038(_0x370d8c._0x2eea88,_0x370d8c._0x38b083,_0x370d8c._0x479fea,_0x370d8c._0x425503)](_0xaafa2a);function _0x265195(_0x57d666,_0x26ce2a,_0x584c9d,_0x2dbcf0){return _0x54e73d(_0x26ce2a- -0x65b,_0x584c9d,_0x584c9d-0x6a,_0x2dbcf0-_0x38a9c9._0x152bf4);}const _0x570fdd=_0x3723d1[_0x265195(0x33b,0x1b3,_0x370d8c._0xc5dab1,_0x370d8c._0x4f790e)]>0x0&&_0x3723d1['every'](_0x26c07f=>_0x26c07f[_0x155038(0x87b,0x5b5,0x752,0x902)]===_0x265195(0x2c8,0x240,0x1db,0xcf));return createToolOutput(createOutputText(_0x3723d1,_0x570fdd),createStructuredResult(_0xaafa2a,_0x3723d1,_0x1ae598,_0x570fdd));}});}function createUpdateTopicTool(){const _0x562335={_0x541ecd:0x2e2,_0xe5c9fb:0x497,_0x55b40b:0x57,_0x316d5b:0xd,_0x46a981:0x145,_0xcedfe1:0x14a,_0xea8eda:0x28b,_0x40b043:0xe9,_0x47fd4d:0x144},_0x1bb8cc={_0x1f6938:0x13b,_0x21e045:0x2db,_0x106bf4:0x73,_0x229d06:0x2f,_0x2f98da:0xb1,_0x5187ab:0x129,_0x411be5:0xf6,_0x40b30e:0x1f4},_0x463ad8={_0x124e95:0x158,_0x2fc921:0x73,_0x3f8a5f:0xa1},_0x3a6856={_0x2e6ed4:0x13b,_0x296d79:0x64};function _0x9fefc9(_0x22b21e,_0x5b6687,_0x5e83d3,_0x3e7581){return _0x511cdd(_0x22b21e-0xc2,_0x5b6687-_0x3a6856._0x2e6ed4,_0x22b21e,_0x5b6687- -_0x3a6856._0x296d79);}function _0x26aaed(_0x2e5cdb,_0x923504,_0x10b4d5,_0x2b0065){return _0x30b865(_0x2e5cdb-_0x463ad8._0x124e95,_0x2b0065,_0x10b4d5- -_0x463ad8._0x2fc921,_0x2b0065-_0x463ad8._0x3f8a5f);}return defineTool({'name':'UpdateTopic','permissionClass':'read','description':_0x9fefc9(_0x562335._0x541ecd,0x393,_0x562335._0xe5c9fb,0x4dc),'inputSchema':{'type':_0x26aaed(_0x562335._0x55b40b,_0x562335._0x316d5b,0x55,_0x562335._0x46a981),'properties':{'topic':{'type':_0x26aaed(-_0x562335._0xcedfe1,-0x75,-0xd2,-_0x562335._0xea8eda)}},'required':[_0x9fefc9(-_0x562335._0x40b043,0xe1,0x1b1,_0x562335._0x47fd4d)]},async *'execute'(_0x14afdc,_0x42a6cb){const _0x33e4ab={_0x12e37c:0x17d,_0x4b723f:0x1e5,_0x1cb213:0x29};function _0x280f8e(_0x3dbec7,_0x105199,_0x3087cd,_0xf45c28){return _0x9fefc9(_0x3087cd,_0x105199- -0x260,_0x3087cd-0x121,_0xf45c28-0x148);}const {topic:_0x4370f6}=_0x14afdc;if(typeof _0x4370f6!==_0x280f8e(-0x16c,-_0x1bb8cc._0x1f6938,-_0x1bb8cc._0x21e045,-_0x1bb8cc._0x106bf4)||_0x4370f6[_0x280f8e(0x192,0x173,0x146,-_0x1bb8cc._0x229d06)]()[_0x280f8e(-_0x1bb8cc._0x2f98da,_0x1bb8cc._0x5187ab,-0xa9,0x31e)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':'invalid_topic'});const _0x5be9f0=_0x4370f6['trim']();_0x42a6cb['setTopic']?.(_0x5be9f0);function _0x3e9058(_0x1da009,_0xd82e3f,_0x412bb8,_0x41baeb){return _0x26aaed(_0x1da009-_0x33e4ab._0x12e37c,_0xd82e3f-_0x33e4ab._0x4b723f,_0x1da009-_0x33e4ab._0x1cb213,_0x41baeb);}return yield createToolOutput(_0x3e9058(0x16e,0x37e,_0x1bb8cc._0x411be5,_0x1bb8cc._0x40b30e)+_0x5be9f0+'\x22',{'topic':_0x5be9f0}),void 0x0;}});}import{randomUUID as _0x7e4fc2}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x4bf502}from'child_process';function errorMessage(_0x57d931){const _0x57035d={_0x3432f5:0xe2,_0x205e6f:0x61},_0x2ebf24={_0x24a3b3:0x31};function _0x16d46a(_0x15239a,_0x43f7c5,_0x3a807d,_0x365180){return _0x511cdd(_0x15239a-_0x2ebf24._0x24a3b3,_0x43f7c5-0xdc,_0x43f7c5,_0x3a807d- -0x2a0);}return _0x57d931 instanceof Error?_0x57d931[_0x16d46a(-_0x57035d._0x3432f5,-0xcd,_0x57035d._0x205e6f,-0x93)]:String(_0x57d931);}function isNotFound(_0x30e7ab){const _0x36c487={_0xe09f19:0x15a,_0x380193:0x248,_0x59aa58:0xab,_0x5befed:0x20c,_0x4d6dc3:0x149,_0x92423e:0x2b9},_0x42bebe={_0x3c27d2:0x12f},_0x21c1a6={_0x1f6b9c:0x2ef};function _0x29f3c1(_0x2eccd9,_0x2e67ad,_0x32f425,_0x2fa640){return _0x511cdd(_0x2eccd9-0x176,_0x2e67ad-0x37,_0x32f425,_0x2e67ad- -_0x21c1a6._0x1f6b9c);}function _0x2bdbf0(_0x248796,_0xe3546f,_0x143fc7,_0x4f02af){return _0x30b865(_0x248796-0x9,_0xe3546f,_0x4f02af-0x1b1,_0x4f02af-_0x42bebe._0x3c27d2);}return typeof _0x30e7ab==='object'&&_0x30e7ab!==null&&_0x29f3c1(_0x36c487._0xe09f19,0x20c,_0x36c487._0x380193,0x355)in _0x30e7ab&&_0x30e7ab[_0x29f3c1(_0x36c487._0x59aa58,_0x36c487._0x5befed,_0x36c487._0x4d6dc3,_0x36c487._0x92423e)]===_0x2bdbf0(0x1a6,0x55e,0x4fe,0x34b);}function isSafeProcessId(_0x78ce3b){return _0x78ce3b!==void 0x0&&Number['isSafeInteger'](_0x78ce3b)&&_0x78ce3b>0x1;}function createProcessTreeSignalAdapter(_0x385b4={}){const _0x43ba1e={_0x27d3c0:0x576,_0x9d6c7:0x511,_0x2127aa:0x398,_0x584424:0x181,_0x43a8d7:0x442,_0x4b2d36:0x551,_0x5c3098:0x343,_0x203962:0x366,_0xadf788:0x3c4,_0x530eab:0x4b7,_0x47e259:0x58d,_0x19d6a4:0x5a4,_0x466f2e:0x6d0},_0x4da827={_0x169cff:0x2a5,_0x972b00:0x3b9,_0x3fd31c:0x33f,_0x46c8d7:0x40a,_0x3e10c9:0x523,_0x264fd8:0x3ee,_0x47d39e:0x1da,_0x28ed4e:0x284,_0x52cadb:0x26,_0x1224a4:0x168,_0x2b8823:0x601,_0x4270c7:0x35,_0x544d06:0x458,_0x4b8edc:0x3bb,_0x556904:0x457,_0xab9713:0x448,_0x2277b0:0x2da,_0x1ab8f3:0x27e,_0x367c2d:0x315,_0x2a2dcb:0x211,_0x5a3958:0x111,_0x3c8756:0x4be},_0x4107e9={_0xae8434:0x33d,_0x4ba331:0x28c,_0x340b6b:0x253,_0x118b85:0x36a,_0x15e99d:0x37c,_0x15193e:0x22b,_0x4ad07f:0x16e,_0x15d5a8:0x342,_0x33dcd0:0x395,_0x1000c8:0x37c,_0x4d8cea:0x20a,_0x36e511:0x215,_0xb22da9:0x187,_0x27b6e7:0x237,_0xa9439e:0x1a2},_0x3a3c86={_0xc9a400:0x3,_0x1deb63:0x114,_0x452340:0xaf},_0x2bbe7f={_0x188433:0x12d,_0x40571d:0x1df,_0x11ef48:0xf7},_0x8e1f70={_0xda25ca:0x1a},_0x5cb0ad={_0x2ba292:0x1fd};function _0x25c80a(_0x3fc623,_0x5b3246,_0x262ca6,_0x100369){return _0x30b865(_0x3fc623-0x1cc,_0x262ca6,_0x100369-_0x5cb0ad._0x2ba292,_0x100369-0xf);}const _0x3b6149=_0x385b4[_0x25c80a(0x2ee,_0x43ba1e._0x27d3c0,_0x43ba1e._0x9d6c7,_0x43ba1e._0x2127aa)]??process[_0x14f032(0x68,0xb1,_0x43ba1e._0x584424,0x25b)];function _0x14f032(_0x1c68a6,_0x34352d,_0x3a11c6,_0x2177e7){return _0x30b865(_0x1c68a6-0xbf,_0x34352d,_0x3a11c6- -_0x8e1f70._0xda25ca,_0x2177e7-0x20);}const _0x3671ac=_0x385b4[_0x25c80a(_0x43ba1e._0x43a8d7,_0x43ba1e._0x4b2d36,_0x43ba1e._0x5c3098,0x4b7)]??process[_0x25c80a(_0x43ba1e._0x203962,_0x43ba1e._0xadf788,0x3c9,_0x43ba1e._0x530eab)][_0x25c80a(_0x43ba1e._0x47e259,_0x43ba1e._0x19d6a4,_0x43ba1e._0x466f2e,0x550)](process),_0x55461c=_0x385b4['spawn']??_0x4bf502;return{async 'signal'(_0xe55899,_0x5b92b4){const _0x15e29f={_0x396d24:0x46a,_0x527771:0x545};function _0x4cae8f(_0x23b42a,_0x39380d,_0x559337,_0x3e5f61){return _0x14f032(_0x23b42a-_0x2bbe7f._0x188433,_0x559337,_0x23b42a-_0x2bbe7f._0x40571d,_0x3e5f61-_0x2bbe7f._0x11ef48);}function _0x489203(_0xc8dccd,_0xbd3ca8,_0x57c0dc,_0x5b3e46){return _0x25c80a(_0xc8dccd-_0x3a3c86._0xc9a400,_0xbd3ca8-_0x3a3c86._0x1deb63,_0x5b3e46,_0xc8dccd- -_0x3a3c86._0x452340);}if(_0x3b6149!==_0x489203(_0x4da827._0x169cff,0x24e,_0x4da827._0x972b00,_0x4da827._0x3fd31c)){if(!isSafeProcessId(_0xe55899[_0x489203(_0x4da827._0x46c8d7,_0x4da827._0x3e10c9,0x1fc,_0x4da827._0x264fd8)]))return{'outcome':'failed','error':_0x489203(_0x4da827._0x47d39e,_0x4da827._0x28ed4e,_0x4da827._0x52cadb,_0x4da827._0x1224a4)};try{return _0x3671ac(-_0xe55899[_0x489203(0x40a,0x3e3,0x3ca,_0x4da827._0x2b8823)],_0x5b92b4===_0x4cae8f(0x17e,0xa6,-_0x4da827._0x4270c7,0xcc)?_0x4cae8f(_0x4da827._0x544d06,_0x4da827._0x4b8edc,0x56c,_0x4da827._0x556904):_0x4cae8f(0x3a1,0x230,_0x4da827._0xab9713,_0x4da827._0x2277b0)),{'outcome':_0x489203(_0x4da827._0x1ab8f3,0x30e,0x31d,_0x4da827._0x367c2d)};}catch(_0x339002){return isNotFound(_0x339002)?{'outcome':_0x489203(_0x4da827._0x2a2dcb,_0x4da827._0x5a3958,0x2a9,0x312),'error':errorMessage(_0x339002)}:{'outcome':_0x489203(0x313,_0x4da827._0x3c8756,0x215,0x236),'error':errorMessage(_0x339002)};}}if(!isSafeProcessId(_0xe55899[_0x489203(0x2f4,0x119,0x37a,0x423)]))return{'outcome':'failed','error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};return new Promise(_0x91ef7f=>{const _0x2196eb={_0x4c2f5c:0x69a,_0x43c3b6:0x7c3,_0x4c4a19:0x669,_0x57d5a7:0x59f},_0x102e88={_0x1e3d81:0x126,_0x44e707:0x103,_0x425348:0x1ea},_0x3e0ca9={_0x3166d1:0x56,_0x12d7a5:0x132},_0x3dcb25={_0x3379a1:0xb,_0x3a0501:0x120};let _0x26ff34=![];function _0x319ab9(_0x263c59,_0x183e24,_0x8308a7,_0x6da3d3){return _0x4cae8f(_0x6da3d3-_0x3dcb25._0x3379a1,_0x183e24-_0x3dcb25._0x3a0501,_0x183e24,_0x6da3d3-0x5f);}const _0x5d0156=_0x3508b3=>{if(_0x26ff34)return;_0x26ff34=!![],_0x91ef7f(_0x3508b3);};let _0x3a7659;try{const _0x505cbf=[_0xd02869(0x48d,_0x4107e9._0xae8434,0xe2,_0x4107e9._0x4ba331),String(_0xe55899[_0x319ab9(_0x4107e9._0x340b6b,0x414,0x252,0x376)]),'/T'];if(_0x5b92b4===_0x319ab9(_0x4107e9._0x118b85,0x2e1,_0x4107e9._0x15e99d,0x38d))_0x505cbf['push']('/F');_0x3a7659=_0x55461c(_0xd02869(0x436,_0x4107e9._0x15193e,0x71,0x27f),_0x505cbf,{'stdio':_0xd02869(0x1b6,0x58,0x1cb,_0x4107e9._0x4ad07f),'windowsHide':!![]});}catch(_0x38177e){_0x5d0156({'outcome':_0x319ab9(0x4ee,0x20b,_0x4107e9._0x15d5a8,_0x4107e9._0x33dcd0),'error':errorMessage(_0x38177e)});return;}function _0xd02869(_0x402ffe,_0x2713fb,_0xae5326,_0x53863e){return _0x489203(_0x53863e- -0x150,_0x2713fb-_0x3e0ca9._0x3166d1,_0xae5326-_0x3e0ca9._0x12d7a5,_0x402ffe);}_0x3a7659['once'](_0x319ab9(0x4bc,0x350,0x299,_0x4107e9._0x1000c8),_0xaeb3f=>{const _0x534b9d={_0x406742:0x1af,_0x2acde5:0x5d9};function _0x1b3b78(_0x4da12f,_0x45f2f9,_0x5ec17e,_0x296c71){return _0x319ab9(_0x4da12f-_0x102e88._0x1e3d81,_0x4da12f,_0x5ec17e-_0x102e88._0x44e707,_0x5ec17e-_0x102e88._0x425348);}function _0xf5ee8e(_0x20d1f2,_0xea2e97,_0x289cc4,_0x2e9ac2){return _0xd02869(_0xea2e97,_0xea2e97-_0x534b9d._0x406742,_0x289cc4-0x193,_0x20d1f2-_0x534b9d._0x2acde5);}_0x5d0156(isNotFound(_0xaeb3f)?{'outcome':_0xf5ee8e(_0x2196eb._0x4c2f5c,0x4ab,_0x2196eb._0x43c3b6,_0x2196eb._0x4c4a19),'error':errorMessage(_0xaeb3f)}:{'outcome':_0x1b3b78(_0x2196eb._0x57d5a7,0x5a2,0x57f,0x6ec),'error':errorMessage(_0xaeb3f)});}),_0x3a7659[_0x319ab9(0xa6,0x2fb,_0x4107e9._0x4d8cea,_0x4107e9._0x36e511)](_0x319ab9(0x13,_0x4107e9._0xb22da9,_0x4107e9._0x27b6e7,_0x4107e9._0xa9439e),_0x4fcb70=>{const _0x2375b9={_0x12102d:0xb8,_0x383a56:0x3be},_0x55c866={_0x1e4198:0x140};function _0x5090e8(_0x18be36,_0x266074,_0x457c38,_0x409526){return _0x319ab9(_0x18be36-0x14e,_0x18be36,_0x457c38-0x15b,_0x409526-_0x55c866._0x1e4198);}function _0x2536f1(_0x1ec94f,_0x239540,_0x2ab940,_0x24b6a8){return _0xd02869(_0x1ec94f,_0x239540-_0x2375b9._0x12102d,_0x2ab940-0x17,_0x24b6a8-_0x2375b9._0x383a56);}_0x5d0156(_0x4fcb70===0x0?{'outcome':_0x2536f1(0x3fe,0x622,0x2e8,0x4ec)}:{'outcome':_0x2536f1(_0x15e29f._0x396d24,0x509,_0x15e29f._0x527771,0x581),'error':_0x5090e8(0x359,0x677,0x490,0x51b)+String(_0x4fcb70)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x5a025b){const _0x342d4c={_0x2d326a:0x68f,_0x6b133f:0x82d,_0x2f79af:0x650},_0xe4f23d={_0x473a5a:0x67},_0x667fc0=_0x5a025b[_0x38c8f5(_0x342d4c._0x2d326a,_0x342d4c._0x6b133f,_0x342d4c._0x2f79af,0x7c7)](0x0)??0x0;function _0x38c8f5(_0xdca110,_0xcdebb9,_0x218213,_0x2678db){return _0x30b865(_0xdca110-_0xe4f23d._0x473a5a,_0x218213,_0x2678db-0x68c,_0x2678db-0xa6);}return _0x667fc0<0x20&&_0x5a025b!=='\x09'||_0x667fc0>=0x7f&&_0x667fc0<=0x9f||_0x667fc0===0xa0||_0x667fc0>=0x200b&&_0x667fc0<=0x200f||_0x667fc0>=0x2060&&_0x667fc0<=0x2069||_0x667fc0===0x23ce||_0x667fc0===0x2424;}function createTerminalOutputNormalizer(){const _0x28fcc2={_0x560f5f:0x43f,_0x383804:0x587,_0x44514a:0x3ff},_0x418fd0={_0x5601e2:0x218,_0x2d0606:0x138,_0x5b0578:0x219,_0x286c56:0xc1,_0x67cacd:0x345,_0x37bb75:0x5e9,_0x37f6b3:0x2e1,_0x3c65c5:0x6a,_0x34d82d:0x4e5,_0x422bac:0x43b,_0x1bc745:0x5d3,_0x4f03d1:0x447,_0xaf4b67:0x252,_0x5a25f4:0x2f0,_0x377e07:0x63b,_0x23924e:0x4ee,_0x2863e7:0x3fc,_0x545f43:0x409,_0x556cca:0x481,_0xf1930c:0x46a,_0x582622:0x21c},_0x564fa1={_0x3f852a:0xa7,_0x5dc7bb:0xdf},_0x2e19d7={_0x22bd31:0x232,_0x3dd60a:0x4b2,_0x2317ac:0x544,_0x2634a4:0x556,_0xf509d4:0x401,_0x509e57:0x242,_0x576b27:0x2f1,_0x298dc9:0x329,_0x3e9b4f:0x1a4},_0x15d0a7={_0x42b4cc:0x6d,_0x3d442a:0x1f9};let _0x59ad09=_0x1976c1(0x49e,_0x28fcc2._0x560f5f,_0x28fcc2._0x383804,_0x28fcc2._0x44514a),_0xdf78e9=![],_0x43d71e=![];function _0x1976c1(_0x19d834,_0x579aa0,_0xbee92b,_0x498b4c){return _0x511cdd(_0x19d834-0x11a,_0x579aa0-0x1a6,_0xbee92b,_0x498b4c- -0x90);}let _0x3e208a=[],_0x4c9480=0x0,_0x1d80a0=![];const _0x5ec66f=()=>{_0x3e208a=[],_0x4c9480=0x0;},_0x4f5af6=_0x5c61db=>{function _0x3dbd53(_0x34c635,_0x1b0f1f,_0x358da9,_0x232c9c){return _0x1976c1(_0x34c635-0x1c4,_0x1b0f1f-0x174,_0x34c635,_0x1b0f1f- -0x34);}_0x3e208a[_0x3dbd53(0x34d,0x316,_0x2e19d7._0x22bd31,_0x2e19d7._0x3dd60a)](_0x5c61db);function _0x1029e2(_0x45fe09,_0x5a5267,_0x528607,_0x4bb22b){return _0x1976c1(_0x45fe09-0xf7,_0x5a5267-_0x15d0a7._0x42b4cc,_0x5a5267,_0x4bb22b-_0x15d0a7._0x3d442a);}_0x4c9480+=_0x5c61db[_0x1029e2(_0x2e19d7._0x2317ac,0x4b5,0x48c,_0x2e19d7._0x2634a4)];while(_0x4c9480>MAX_PROGRESS_LINE_CHARS){const _0x35ff91=_0x3e208a[_0x3dbd53(0x4f7,_0x2e19d7._0xf509d4,_0x2e19d7._0x509e57,_0x2e19d7._0x576b27)]();if(_0x35ff91===void 0x0)break;_0x4c9480-=_0x35ff91[_0x3dbd53(0x25d,_0x2e19d7._0x298dc9,0x41d,_0x2e19d7._0x3e9b4f)];}},_0x454563=_0x537f63=>{const _0x2ce49a=_0x3e208a['join']('')+(_0x537f63?'\x0a':'');return _0x5ec66f(),_0x2ce49a;},_0xbd1060=_0x540a07=>{if(_0x1d80a0)throw new Error(_0x419421(0x343,_0x418fd0._0x5601e2,_0x418fd0._0x2d0606,0x171));function _0x419421(_0x525bbe,_0x691280,_0x2b71d4,_0xc8d5d9){return _0x1976c1(_0x525bbe-_0x564fa1._0x3f852a,_0x691280-_0x564fa1._0x5dc7bb,_0x525bbe,_0xc8d5d9-0x3c);}function _0x533aac(_0x258956,_0xffac20,_0x4cc819,_0x370e69){return _0x1976c1(_0x258956-0xd0,_0xffac20-0xb5,_0xffac20,_0x4cc819- -0x3);}let _0x13e489='';for(const _0x468d4d of _0x540a07){if(_0x59ad09===_0x533aac(0x429,_0x418fd0._0x5b0578,0x23c,_0x418fd0._0x286c56)){const _0x55cf5f=_0x468d4d['codePointAt'](0x0)??0x0;if(_0x55cf5f>=0x40&&_0x55cf5f<=0x7e)_0x59ad09='text';continue;}if(_0x59ad09===_0x419421(0x322,_0x418fd0._0x67cacd,_0x418fd0._0x37bb75,0x4ee)||_0x59ad09===_0x533aac(0xee,_0x418fd0._0x37f6b3,0xe9,-_0x418fd0._0x3c65c5)){if(_0xdf78e9){_0x468d4d==='\x5c'?(_0x59ad09=_0x419421(0x47f,_0x418fd0._0x34d82d,0x3d4,_0x418fd0._0x422bac),_0xdf78e9=![]):_0xdf78e9=_0x468d4d===ESC;continue;}if(_0x468d4d===ESC)_0xdf78e9=!![];else _0x59ad09===_0x533aac(_0x418fd0._0x1bc745,_0x418fd0._0x4f03d1,0x4af,0x5cd)&&_0x468d4d===BEL&&(_0x59ad09=_0x419421(_0x418fd0._0xaf4b67,0x316,0x384,0x43b));continue;}if(_0x59ad09==='escape'){if(_0x468d4d==='[')_0x59ad09='csi';else{if(_0x468d4d===']')_0x59ad09=_0x419421(_0x418fd0._0x5a25f4,_0x418fd0._0x377e07,0x2e5,_0x418fd0._0x23924e),_0xdf78e9=![];else _0x468d4d==='P'||_0x468d4d==='_'||_0x468d4d==='^'?(_0x59ad09=_0x419421(0x11c,0x13a,0xce,0x128),_0xdf78e9=![]):_0x59ad09=_0x533aac(0x298,0x3f4,_0x418fd0._0x2863e7,_0x418fd0._0x545f43);}continue;}if(_0x43d71e){_0x43d71e=![];if(_0x468d4d==='\x0a'){_0x13e489+=_0x454563(!![]);continue;}_0x5ec66f();}if(_0x468d4d===ESC)_0x59ad09=_0x533aac(_0x418fd0._0x556cca,0x258,_0x418fd0._0xf1930c,0x28b);else{if(_0x468d4d==='\x0d')_0x43d71e=!![];else{if(_0x468d4d==='\x0a')_0x13e489+=_0x454563(!![]);else{if(_0x468d4d==='\x08'){const _0x28cdc6=_0x3e208a[_0x533aac(0x40c,0x354,0x3ac,0x4a2)]();if(_0x28cdc6!==void 0x0)_0x4c9480-=_0x28cdc6[_0x419421(0x469,_0x418fd0._0x582622,0x384,0x399)];}else!isDiscardedTextControl(_0x468d4d)&&_0x4f5af6(_0x468d4d);}}}}return _0x13e489;};return{'write':_0xbd1060,'end'(){if(_0x1d80a0)return'';return _0x1d80a0=!![],_0x43d71e=![],_0x59ad09='text',_0xdf78e9=![],_0x454563(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x420743){const _0x1819b5={_0xe6df33:0x5d6,_0x31424e:0x31b,_0x5661c2:0x4b0,_0x3aef9e:0x532,_0x1bed7c:0x3b4},_0x3b1c59={_0x267ab2:0x1d6},_0x45f20d={_0x47dc1f:0xa1,_0x141cfb:0x51a,_0x2fad87:0x177};super(_0x347069(0x6d0,0x8a5,0x612,_0x1819b5._0xe6df33));function _0x347069(_0x1bf4c5,_0xec1787,_0x8dcacc,_0x402549){return _0x30b865(_0x1bf4c5-_0x45f20d._0x47dc1f,_0x402549,_0x1bf4c5-_0x45f20d._0x141cfb,_0x402549-_0x45f20d._0x2fad87);}function _0x30318a(_0x49b224,_0x3e48fc,_0x2b8672,_0x362141){return _0x511cdd(_0x49b224-0x1e3,_0x3e48fc-_0x3b1c59._0x267ab2,_0x49b224,_0x2b8672- -0x13a);}this[_0x347069(0x4b2,_0x1819b5._0x31424e,0x562,0x602)]=_0x420743,this['name']=_0x30318a(_0x1819b5._0x5661c2,_0x1819b5._0x3aef9e,_0x1819b5._0x1bed7c,0x4a7);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x167376){const _0x415fdc={_0x25eceb:0x185,_0x204f45:0x1b5,_0xf080c7:0xd,_0x15140e:0x19,_0x1eadb5:0x1ac,_0x324419:0x17b,_0x391fc0:0x115},_0x5d249e={_0x3635f6:0x84,_0xb72661:0x27f},_0x47262f={_0x340db6:0x3e7};function _0x332a28(_0x338e67,_0x3bcce2,_0x49a2bb,_0x1efeb6){return _0x511cdd(_0x338e67-0xa9,_0x3bcce2-0x105,_0x49a2bb,_0x338e67-_0x47262f._0x340db6);}function _0x3d885a(_0x3ee7ce,_0x3a3a8d,_0x5f0a67,_0x191ed4){return _0x511cdd(_0x3ee7ce-_0x5d249e._0x3635f6,_0x3a3a8d-0x105,_0x3ee7ce,_0x191ed4- -_0x5d249e._0xb72661);}return _0x167376===_0x3d885a(_0x415fdc._0x25eceb,_0x415fdc._0x204f45,_0x415fdc._0xf080c7,-_0x415fdc._0x15140e)||_0x167376==='killed'||_0x167376===_0x3d885a(_0x415fdc._0x1eadb5,_0x415fdc._0x324419,0x13f,_0x415fdc._0x391fc0);}var BackgroundProcessRegistry=class{['entries']=new Map();[_0x511cdd(0x5ef,0x398,0x3d6,0x416)]=new Map();[_0x30b865(0x82,0x325,0x193,0x2b6)];[_0x30b865(0x264,-0xb7,0xb7,-0x9a)];[_0x30b865(0x1a1,0xf5,0x1a5,0x2b7)];[_0x30b865(0x15f,0x19c,0x19b,0x128)];[_0x511cdd(0x49e,0x3af,0x553,0x490)];[_0x511cdd(0x469,0x369,0x71d,0x50d)]=0x0;constructor(_0x3a4174={}){const _0x130b44={_0x698be3:0x777,_0x5a4046:0x7a4,_0x4fd873:0x3c4,_0x433564:0x5ac,_0x4b09fd:0x56b,_0x333c7d:0x4cf,_0x1486ad:0x68a,_0x26e8c7:0x346,_0x250507:0x265,_0x11ab89:0x302,_0x2f0468:0x29d,_0x539bbf:0x412,_0x4029d8:0x5b4,_0x54cf9b:0x681,_0x4c2583:0x42a,_0xd4c656:0x621,_0x4d7c23:0x4ee,_0x2a64a4:0x4cb,_0x3f1bf5:0x6fc,_0x3bd20a:0x50c,_0xb66f9f:0x33d},_0x14389b={_0x383cce:0x16e,_0x389f4e:0xa7};function _0x40f553(_0x53cc90,_0x33b91e,_0x40dfd9,_0x52de01){return _0x30b865(_0x53cc90-0x184,_0x40dfd9,_0x33b91e-0x419,_0x52de01-0x17b);}this[_0x40f553(_0x130b44._0x698be3,0x5ac,0x4c0,_0x130b44._0x5a4046)]=_0x3a4174[_0x40f553(_0x130b44._0x4fd873,_0x130b44._0x433564,_0x130b44._0x4b09fd,0x463)]??0xa;function _0x22127a(_0x19952c,_0x3ab6b9,_0x8eccdb,_0x2af9e4){return _0x511cdd(_0x19952c-0x18e,_0x3ab6b9-_0x14389b._0x383cce,_0x8eccdb,_0x19952c-_0x14389b._0x389f4e);}this[_0x40f553(_0x130b44._0x333c7d,0x4d0,0x562,_0x130b44._0x1486ad)]=_0x3a4174[_0x22127a(_0x130b44._0x26e8c7,0x50e,0x1b6,0x1f7)]??0x40,this['capChars']=_0x3a4174['capChars']??0x100000,this[_0x22127a(0x42a,_0x130b44._0x250507,_0x130b44._0x11ab89,_0x130b44._0x2f0468)]=_0x3a4174[_0x40f553(_0x130b44._0x539bbf,_0x130b44._0x4029d8,_0x130b44._0x54cf9b,0x437)]??process[_0x22127a(_0x130b44._0x4c2583,0x44d,0x307,_0x130b44._0xd4c656)],this[_0x22127a(0x537,_0x130b44._0x4d7c23,_0x130b44._0x2a64a4,0x498)]=_0x3a4174[_0x22127a(0x537,0x5cb,_0x130b44._0x3f1bf5,0x6c5)]??createProcessTreeSignalAdapter({'platform':this[_0x22127a(_0x130b44._0x4c2583,0x5b5,_0x130b44._0x3bd20a,_0x130b44._0xb66f9f)]});}[_0x511cdd(0x2ac,0x4ba,0x3a1,0x349)](){const _0x40ec8c={_0x599de0:0x3a7,_0x3cc722:0x24f,_0x4abd58:0x17b,_0x16cace:0x29a,_0xd72cc7:0x24a,_0x25491d:0x27b,_0x294512:0x17b,_0x3680f3:0xd,_0x5a6834:0x109,_0x210afb:0x17b,_0x3739fc:0x295,_0x280e3a:0x27a,_0x2e7910:0xd7,_0xf49633:0x32a},_0x1508ef={_0x3fd1d1:0x338},_0x4f07a3={_0x11bfb7:0x1e2},_0x5623e4=[...this[_0x540395(0x21d,0x188,0x2dc,0x34d)]['values']()]['filter'](_0x316d42=>!_0x316d42['terminalSettled']);function _0x540395(_0x401955,_0x2f5133,_0x3de2e2,_0x3cb4e1){return _0x511cdd(_0x401955-_0x4f07a3._0x11bfb7,_0x2f5133-0x1f2,_0x3cb4e1,_0x2f5133- -0x200);}if(_0x5623e4[_0x540395(-0xa,0x1ed,_0x40ec8c._0x599de0,0x172)]+this['reservations']['size']>=this[_0x540395(_0x40ec8c._0x3cc722,_0x40ec8c._0x4abd58,_0x40ec8c._0x16cace,0x1e)])throw new ToolExecutionError(_0x540395(0x29c,_0x40ec8c._0xd72cc7,_0x40ec8c._0x25491d,0x209)+this[_0x540395(0x21f,_0x40ec8c._0x294512,-0x66,_0x40ec8c._0x3680f3)]+_0x540395(-0xee,_0x40ec8c._0x5a6834,0x193,0xbe),{'running':this[_0x540395(-0x92,_0x40ec8c._0x210afb,0x253,_0x40ec8c._0x3739fc)]});function _0x25aad9(_0x5f5067,_0x1cc3b8,_0x6f651c,_0x5d79d4){return _0x30b865(_0x5f5067-0x17,_0x5f5067,_0x1cc3b8-_0x1508ef._0x3fd1d1,_0x5d79d4-0x29);}const _0x37d12c=Object[_0x540395(0x3d3,0x1e2,_0x40ec8c._0x280e3a,0x57)]({'id':_0x7e4fc2()});return this[_0x540395(_0x40ec8c._0x2e7910,0x216,0x209,0x41a)][_0x540395(0x470,_0x40ec8c._0xf49633,0x41c,0x1c4)](_0x37d12c['id'],_0x37d12c),_0x37d12c;}['release'](_0x28b502){const _0x5c9d7f={_0x28bad5:0x10d,_0x4fc001:0x246,_0x29411a:0x2b8,_0xee80c3:0x9bf,_0x102718:0x89c,_0x437879:0x8da,_0x92c8a8:0x685,_0x54ef7b:0x905},_0x4a632a={_0xc10d25:0x174,_0x55eff9:0x13d,_0x1692bc:0x309},_0x213d39={_0x1662ae:0x611};function _0x3bd7bf(_0x1a7b33,_0x163eb0,_0x5335cd,_0x4116e3){return _0x30b865(_0x1a7b33-0x7f,_0x1a7b33,_0x4116e3-_0x213d39._0x1662ae,_0x4116e3-0x6f);}function _0x8bafca(_0x3c801e,_0x15759a,_0x28584a,_0x1e2db0){return _0x511cdd(_0x3c801e-_0x4a632a._0xc10d25,_0x15759a-_0x4a632a._0x55eff9,_0x1e2db0,_0x3c801e- -_0x4a632a._0x1692bc);}this[_0x8bafca(_0x5c9d7f._0x28bad5,_0x5c9d7f._0x4fc001,_0x5c9d7f._0x29411a,0x108)][_0x3bd7bf(0x7b1,0x959,_0x5c9d7f._0xee80c3,_0x5c9d7f._0x102718)](_0x28b502['id'])===_0x28b502&&this[_0x3bd7bf(0xa2d,_0x5c9d7f._0x437879,_0x5c9d7f._0x92c8a8,0x83f)][_0x3bd7bf(0x83e,0x68c,_0x5c9d7f._0x54ef7b,0x7d7)](_0x28b502['id']);}[_0x30b865(0x231,0x1f6,0x12a,0x96)](_0x5b68cd,_0x238e7e){const _0x55c8d5={_0xb7802e:0x64f,_0x4487bc:0x5eb,_0x454ae9:0x640,_0x38e180:0x5aa,_0x43e628:0x39b,_0x3e4029:0x3b6,_0x5875e3:0x561,_0x51c367:0x499,_0xdd8317:0x5cd,_0x5de0e0:0x3a7,_0x52eb3e:0x357,_0x32ba1a:0x356,_0x157af4:0x564,_0x1376b1:0x568,_0x1e4c93:0x300,_0x2f24ef:0x4de,_0x52eac8:0x3d4,_0x3dae45:0x397,_0x53eadc:0x62e,_0x5606d0:0x46d,_0x215b55:0x23f,_0x75927f:0x3e0,_0x2c2b14:0x49e,_0x2a38bc:0x4e4,_0xb93555:0x4ff,_0x388564:0x63f,_0x4d6834:0x4d1,_0xbd3187:0x73b,_0x4ab720:0x4b2,_0x5a969a:0x5d6,_0x464397:0x486,_0x283655:0x46d,_0x1de276:0x306,_0x4da6e8:0x4bb,_0x4d7bbb:0x34a,_0x241c47:0x466,_0x54e6da:0x3e4,_0xe628f4:0x3e3,_0x63a49b:0x30b,_0x2a7766:0x4e9,_0x2de42e:0x874,_0x22ec79:0x8c8,_0x2af8de:0x5b1,_0x1827a8:0x42c,_0x4b7491:0x448,_0x306fee:0x4bc,_0x365ed6:0x308,_0x461c9c:0x358,_0x30fdff:0x1fd,_0x4c336b:0x288,_0x894cba:0x480,_0x419267:0x4b1,_0x26b06d:0x468,_0x1f2ada:0x2f3,_0x439e11:0x15c,_0x2b49bc:0x46f,_0x3b25ef:0x4cf,_0x21dc43:0x6e9,_0x512d2b:0x4fa,_0x532e09:0x583,_0x51370b:0x5c0,_0x291543:0x600,_0x43e289:0x65b,_0x3e6120:0x6ed},_0x15f9c0={_0x47d5d2:0x190,_0x20a826:0x1d5},_0x30e694={_0x11a54f:0x26,_0xd01dfd:0x1ae,_0x4b2e3b:0x426,_0x148e09:0x248,_0x4ccb00:0x67,_0x3812cd:0x4a,_0x11ca1c:0x380,_0x1d03ef:0x120,_0x2d577a:0x3b9,_0x9297dd:0x1d2,_0x596180:0x39,_0x5484bb:0x17e},_0x58ebec={_0x4f1840:0x24f},_0x3a952e={_0x57af4c:0x2fa,_0x33be17:0x1c},_0x3a9a6c={_0x5449f3:0x57b,_0x327d12:0x55f,_0x535995:0x3a2,_0x23da15:0x316,_0x4d172f:0x32b,_0x4b9483:0x4d,_0xbb688:0x22a},_0x5418a9={_0x392138:0x1ef},_0x39df77={_0x5358e1:0x430},_0x40f89e={_0x5578a0:0x3f5,_0x4acf57:0x244,_0x530189:0x355,_0x2127ee:0x489,_0x3e2d61:0x4a8},_0x1ed949={_0x264c1e:0x38a,_0x5eb9b8:0x3b7,_0x41ed65:0x20,_0x278ee6:0x318},_0x4b866e={_0x35dda2:0x545,_0xbf18bf:0x1a0,_0x1c98d4:0x115,_0xc1f341:0xce,_0x7ec81a:0x19c,_0x81caf7:0x100,_0x271ee8:0x210},_0x46db05={_0x5f3f99:0x182},_0x4c269b={_0x391851:0x18b,_0x29924a:0x9f};if(this[_0x4240c1(0x474,_0x55c8d5._0xb7802e,_0x55c8d5._0x4487bc,0x7b2)][_0x4240c1(_0x55c8d5._0x454ae9,_0x55c8d5._0x38e180,0x648,0x608)](_0x5b68cd['id'])!==_0x5b68cd)throw new ToolExecutionError(_0x4240c1(0x4ef,_0x55c8d5._0x43e628,_0x55c8d5._0x3e4029,_0x55c8d5._0x5875e3),{'reservationId':_0x5b68cd['id']});this['reservations'][_0x4240c1(_0x55c8d5._0x51c367,_0x55c8d5._0xdd8317,0x583,_0x55c8d5._0x5de0e0)](_0x5b68cd['id']);let _0x5756ee;const _0x2d9042=new Promise(_0x1458f1=>{_0x5756ee=_0x1458f1;}),_0x5b85af='bg-'+ ++this[_0xc6dc6e(_0x55c8d5._0x52eb3e,0x568,0x6ba,0x630)]+'-'+_0x7e4fc2()['slice'](0x0,0x8),_0x2c0f39={'shellId':_0x5b85af,'command':_0x238e7e[_0x4240c1(_0x55c8d5._0x32ba1a,_0x55c8d5._0x157af4,_0x55c8d5._0x1376b1,0x525)],'cwd':_0x238e7e[_0xc6dc6e(_0x55c8d5._0x1e4c93,_0x55c8d5._0x2f24ef,_0x55c8d5._0x52eac8,_0x55c8d5._0x3dae45)],'pid':_0x238e7e[_0x4240c1(0x292,_0x55c8d5._0x53eadc,_0x55c8d5._0x5606d0,0x537)][_0xc6dc6e(_0x55c8d5._0x215b55,_0x55c8d5._0x75927f,_0x55c8d5._0x2c2b14,_0x55c8d5._0x2a38bc)],'processGroupId':_0x238e7e[_0xc6dc6e(0x471,_0x55c8d5._0xb93555,_0x55c8d5._0x388564,_0x55c8d5._0x4d6834)],'status':_0xc6dc6e(_0x55c8d5._0xbd3187,0x570,_0x55c8d5._0x4ab720,0x3af),'exitCode':null,'signal':null,'startedAt':Date[_0xc6dc6e(_0x55c8d5._0x5a969a,_0x55c8d5._0x464397,0x4f1,0x543)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x238e7e[_0x4240c1(0x61c,0x380,_0x55c8d5._0x283655,0x5ec)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x4240c1(0x523,0x1d1,0x34a,_0x55c8d5._0x1de276)),'stderrDecoder':new StringDecoder(_0x4240c1(_0x55c8d5._0x4da6e8,0x165,_0x55c8d5._0x4d7bbb,_0x55c8d5._0x241c47)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x238e7e['stripAnsi'],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2d9042,'resolveTerminal':_0x5756ee,'terminationSettled':![]};function _0xc6dc6e(_0xaa8752,_0x223a3a,_0x3637b6,_0xbd927d){return _0x30b865(_0xaa8752-_0x4c269b._0x391851,_0xbd927d,_0x223a3a-0x243,_0xbd927d-_0x4c269b._0x29924a);}this[_0xc6dc6e(_0x55c8d5._0x54e6da,_0x55c8d5._0xe628f4,_0x55c8d5._0x63a49b,_0x55c8d5._0x2a7766)][_0x4240c1(_0x55c8d5._0x2de42e,0x90d,0x6ff,_0x55c8d5._0x22ec79)](_0x5b85af,_0x2c0f39);try{_0x238e7e[_0x4240c1(0x373,0x654,0x46d,_0x55c8d5._0x2af8de)]['stdout']?.['on'](_0xc6dc6e(0x469,0x404,0x559,_0x55c8d5._0x1827a8),_0x3753de=>{const _0x1df824={_0x366c89:0x190,_0x216e91:0x1a5};function _0x19beed(_0x5c686f,_0x3c4b07,_0xfd2e5a,_0x50938d){return _0x4240c1(_0x5c686f-0xda,_0x3c4b07-_0x46db05._0x5f3f99,_0x3c4b07- -0x18a,_0xfd2e5a);}function _0x26c6c6(_0x1345d2,_0xdc0aa2,_0x2f5435,_0x38427d){return _0xc6dc6e(_0x1345d2-_0x1df824._0x366c89,_0x1345d2- -0x183,_0x2f5435-_0x1df824._0x216e91,_0x2f5435);}this[_0x19beed(0x4a1,_0x4b866e._0x35dda2,0x735,0x455)](_0x2c0f39,_0x2c0f39[_0x19beed(0x1aa,_0x4b866e._0xbf18bf,_0x4b866e._0x1c98d4,_0x4b866e._0xc1f341)],_0x2c0f39[_0x26c6c6(_0x4b866e._0x7ec81a,_0x4b866e._0x81caf7,0x2f8,_0x4b866e._0x271ee8)],_0x3753de);}),_0x238e7e['child']['stderr']?.['on'](_0x4240c1(0x5a5,0x438,0x57e,_0x55c8d5._0x4b7491),_0x4dfd91=>{const _0x5591f6={_0x226f44:0xd1,_0xbbad49:0x2f3},_0x3ce977={_0x872788:0x1c1};function _0x101e4f(_0x3d943d,_0x26a676,_0x3d01ca,_0x241313){return _0xc6dc6e(_0x3d943d-0x195,_0x241313- -_0x3ce977._0x872788,_0x3d01ca-0xc4,_0x26a676);}function _0x240b82(_0x4522b9,_0x582bfb,_0x7344fb,_0x264469){return _0x4240c1(_0x4522b9-_0x5591f6._0x226f44,_0x582bfb-0x1b,_0x7344fb- -_0x5591f6._0xbbad49,_0x582bfb);}this['appendDecoded'](_0x2c0f39,_0x2c0f39[_0x101e4f(0x3cc,_0x1ed949._0x264c1e,0x35f,_0x1ed949._0x5eb9b8)],_0x2c0f39[_0x240b82(-_0x1ed949._0x41ed65,-0x35,0x1c3,_0x1ed949._0x278ee6)],_0x4dfd91);}),_0x238e7e[_0xc6dc6e(_0x55c8d5._0x306fee,0x2f3,0x1ad,_0x55c8d5._0x365ed6)]['once'](_0x4240c1(0x36c,0x15c,_0x55c8d5._0x461c9c,_0x55c8d5._0x30fdff),(_0x5b8698,_0x30ff98)=>{const _0x422196={_0x4599db:0x1f};_0x2c0f39[_0xe14cdd(0x3f7,0x1e3,_0x40f89e._0x5578a0,_0x40f89e._0x4acf57)]=!![];function _0xe14cdd(_0x22442a,_0x494ae2,_0x3e7d66,_0x13aca2){return _0xc6dc6e(_0x22442a-0x80,_0x3e7d66-0x4e,_0x3e7d66-0x143,_0x22442a);}function _0xaf113c(_0x40d577,_0x256121,_0x2d337f,_0xe523e2){return _0xc6dc6e(_0x40d577-0x1d1,_0xe523e2- -_0x422196._0x4599db,_0x2d337f-0xeb,_0x40d577);}_0x2c0f39[_0xaf113c(0x54e,_0x40f89e._0x530189,0x5b1,_0x40f89e._0x2127ee)]=_0x5b8698,_0x2c0f39[_0xaf113c(0x542,0x2cd,0x2de,_0x40f89e._0x3e2d61)]=_0x30ff98;}),_0x238e7e['child'][_0xc6dc6e(0x10b,_0x55c8d5._0x4c336b,0x146,0x412)](_0x4240c1(_0x55c8d5._0x894cba,_0x55c8d5._0x419267,0x569,0x45a),_0x4cd557=>{function _0x47ab5b(_0x1eee63,_0x5d610b,_0x329b90,_0x1584f5){return _0x4240c1(_0x1eee63-0xeb,_0x5d610b-0x8a,_0x1584f5- -_0x39df77._0x5358e1,_0x1eee63);}_0x2c0f39[_0x29f01f(0x5f2,0x607,_0x3a9a6c._0x5449f3,0x427)]=_0x4cd557[_0x29f01f(_0x3a9a6c._0x327d12,0x3bd,_0x3a9a6c._0x535995,0x5b5)];function _0x29f01f(_0x2842b9,_0x3ce563,_0x3a1d2d,_0x1e1a75){return _0xc6dc6e(_0x2842b9-0xdf,_0x2842b9-0x203,_0x3a1d2d-_0x5418a9._0x392138,_0x3a1d2d);}_0x2c0f39[_0x47ab5b(_0x3a9a6c._0x23da15,_0x3a9a6c._0x4d172f,_0x3a9a6c._0x4b9483,_0x3a9a6c._0xbb688)]='error';}),_0x238e7e[_0xc6dc6e(_0x55c8d5._0x26b06d,_0x55c8d5._0x1f2ada,0x4ed,0x2fe)][_0xc6dc6e(0xc3,0x288,_0x55c8d5._0x439e11,_0x55c8d5._0x2b49bc)](_0x4240c1(_0x55c8d5._0x3b25ef,0x3ed,0x38f,0x2f6),(_0x49d36c,_0x225b20)=>{_0x2c0f39[_0x11e340(-_0x30e694._0x11a54f,0x255,0x2e2,_0x30e694._0xd01dfd)]=_0x49d36c,_0x2c0f39['signal']=_0x225b20;function _0x11e340(_0x5d2f54,_0x38fa4a,_0x218d58,_0x28c4bd){return _0xc6dc6e(_0x5d2f54-0x139,_0x28c4bd- -_0x3a952e._0x57af4c,_0x218d58-_0x3a952e._0x33be17,_0x218d58);}_0x2c0f39[_0x270723(_0x30e694._0x4b2e3b,0x36c,0x1de,0x21e)]=null;_0x2c0f39[_0x270723(0x3e8,_0x30e694._0x148e09,0x4da,0x40b)]!==_0x11e340(-_0x30e694._0x4ccb00,0x1ee,_0x30e694._0x3812cd,0xf5)&&(_0x2c0f39[_0x11e340(0x338,0x201,_0x30e694._0x11ca1c,0x1e6)]=_0x2c0f39[_0x270723(_0x30e694._0x1d03ef,0x287,_0x30e694._0x2d577a,0x2fd)]?'killed':_0x11e340(_0x30e694._0x9297dd,0x3e,0xca,-_0x30e694._0x596180));function _0x270723(_0x428803,_0x31a6dc,_0x4b7f8a,_0x549c3d){return _0x4240c1(_0x428803-0x1dc,_0x31a6dc-0x163,_0x549c3d- -_0x58ebec._0x4f1840,_0x4b7f8a);}this[_0x11e340(_0x30e694._0x5484bb,0x9a,0x248,0x114)](_0x2c0f39);});}catch(_0x4cc79e){this[_0x4240c1(_0x55c8d5._0x21dc43,0x590,0x55d,0x4e2)][_0x4240c1(_0x55c8d5._0x512d2b,0x766,_0x55c8d5._0x532e09,_0x55c8d5._0x51370b)](_0x5b85af);throw _0x4cc79e;}this[_0xc6dc6e(_0x55c8d5._0x291543,0x54a,_0x55c8d5._0x43e289,_0x55c8d5._0x3e6120)]();function _0x4240c1(_0x7b15b8,_0x177214,_0x361525,_0x2a5ff3){return _0x511cdd(_0x7b15b8-0x2d,_0x177214-_0x15f9c0._0x47d5d2,_0x2a5ff3,_0x361525-_0x15f9c0._0x20a826);}return _0x2c0f39;}[_0x30b865(0x19a,-0xf8,0xd3,0x20c)](_0x3357d6){const _0x1a24ea={_0x40d2eb:0x5f4,_0x9840f9:0x75f,_0x5452c6:0x5b6,_0x19403b:0x50f,_0x7e997a:0x7ca,_0x1ad251:0x45e,_0x14a622:0x507,_0x5de2c7:0x6f6,_0x31f578:0x563},_0x2d258d={_0x25fb23:0x493,_0x2ee316:0x1c5};function _0x333cea(_0x304547,_0x3a6aa7,_0x433965,_0x48bc0c){return _0x30b865(_0x304547-0xa6,_0x3a6aa7,_0x433965-_0x2d258d._0x25fb23,_0x48bc0c-_0x2d258d._0x2ee316);}function _0x5f0e78(_0x2047a5,_0x36eaa9,_0x3f9d88,_0x1991ab){return _0x511cdd(_0x2047a5-0x1ea,_0x36eaa9-0x1e0,_0x1991ab,_0x36eaa9-0x2a4);}const _0x26e516=this[_0x333cea(0x62d,0x721,_0x1a24ea._0x40d2eb,_0x1a24ea._0x9840f9)]();try{return this[_0x5f0e78(0x737,_0x1a24ea._0x5452c6,0x4e7,0x549)](_0x26e516,{..._0x3357d6,...this[_0x5f0e78(_0x1a24ea._0x19403b,0x627,_0x1a24ea._0x7e997a,_0x1a24ea._0x1ad251)]===_0x5f0e78(0x783,0x5e3,_0x1a24ea._0x14a622,_0x1a24ea._0x5de2c7)?{}:{'processGroupId':_0x3357d6[_0x333cea(0x38f,0x451,0x543,0x332)]['pid']}});}catch(_0x5f360c){this[_0x333cea(0x762,0x518,_0x1a24ea._0x31f578,0x45d)](_0x26e516);throw _0x5f360c;}}[_0x511cdd(0x3fb,0x2a2,0x22,0x1fe)](_0x3c870a,_0x30abf5){const _0xb90d46={_0x5c6e13:0x81c,_0x3a0e31:0x691,_0x5745b0:0x55d,_0x445cb9:0x78b,_0x25f905:0x7cc,_0x837d42:0x629,_0x3c90e2:0x579,_0x2c6c0a:0x22c,_0x1d96e1:0x48d,_0x2837f4:0x632,_0x50d50e:0x5cb,_0x2cda0d:0x29b,_0x4fbda3:0x63f,_0x3444bc:0x326,_0x267d0b:0xc7,_0x52b78d:0x2f4,_0x39ea27:0x2a5,_0x54ff8a:0x364,_0x32e9a0:0x560,_0xb0c5f3:0x2aa,_0x4e53f9:0x530,_0x420bc1:0x4dd,_0x35e6f5:0x68e,_0x4f8a92:0x58a,_0xc4dbca:0x4f3,_0x35d013:0x600,_0x1d03b6:0x7d0,_0x54c473:0x4cd,_0x1ca7b2:0x3d4,_0x39a368:0x453,_0x410219:0x65f,_0xb8e748:0x834,_0x43c2c5:0x494,_0x16b5cf:0x3a0,_0x3edc3a:0x316,_0x420318:0x45c,_0x55dc0d:0x359,_0x29601b:0x542,_0x3d90dd:0x3ef,_0x8bb69f:0x76f,_0x59ee1c:0x528,_0x3c1c2a:0x76d},_0x3d6847={_0x5862f0:0x114,_0x39e071:0x87},_0x48c1d1={_0x253eb9:0x147,_0x583a8b:0x66},_0x4685f6=this[_0x2adaf0(0x80c,_0xb90d46._0x5c6e13,_0xb90d46._0x3a0e31,0x672)][_0x2adaf0(_0xb90d46._0x5745b0,0x65d,_0xb90d46._0x445cb9,0x75d)](_0x3c870a);if(!_0x4685f6)throw new ToolExecutionError(_0x2adaf0(_0xb90d46._0x25f905,_0xb90d46._0x837d42,_0xb90d46._0x3c90e2,0x65a)+_0x3c870a,{'shellId':_0x3c870a});const _0x2c95ad=_0x4685f6[_0x1621f9(0x39a,_0xb90d46._0x2c6c0a,0x30e,0x1f4)][_0x1621f9(_0xb90d46._0x1d96e1,_0xb90d46._0x2837f4,0x2ea,_0xb90d46._0x50d50e)](''),_0x2ad8fe=Math[_0x1621f9(_0xb90d46._0x2cda0d,0x326,0xa0,0x466)](_0x4685f6[_0x2adaf0(_0xb90d46._0x4fbda3,0x54e,0x5d6,0x5e5)],_0x4685f6['totalDropped']),_0x1edd7d=Math[_0x1621f9(0x29b,_0xb90d46._0x3444bc,_0xb90d46._0x267d0b,0x247)](0x0,_0x4685f6[_0x1621f9(_0xb90d46._0x52b78d,0x134,0x4c4,_0xb90d46._0x39ea27)]-_0x4685f6[_0x1621f9(0x382,_0xb90d46._0x54ff8a,_0xb90d46._0x32e9a0,_0xb90d46._0xb0c5f3)]);function _0x2adaf0(_0x48b2d5,_0x4880f0,_0x58b62f,_0x2acaaf){return _0x30b865(_0x48b2d5-_0x48c1d1._0x253eb9,_0x48b2d5,_0x2acaaf-0x4d2,_0x2acaaf-_0x48c1d1._0x583a8b);}const _0x4f547b=_0x2c95ad[_0x2adaf0(_0xb90d46._0x4e53f9,0x3af,0x645,_0xb90d46._0x420bc1)](_0x2ad8fe-_0x4685f6['totalDropped']);function _0x1621f9(_0x15bb3d,_0x334080,_0x148686,_0x4516a0){return _0x511cdd(_0x15bb3d-_0x3d6847._0x5862f0,_0x334080-0x148,_0x4516a0,_0x15bb3d-_0x3d6847._0x39e071);}let _0x3d9479;const _0x345dec=_0x30abf5?.[_0x1621f9(0x40e,0x2b4,0x249,0x587)];if(!_0x345dec)_0x3d9479=_0x4f547b,_0x4685f6[_0x2adaf0(_0xb90d46._0x35e6f5,0x652,_0xb90d46._0x4f8a92,0x5e5)]=_0x4685f6[_0x2adaf0(0x550,_0xb90d46._0xc4dbca,0x7d5,_0xb90d46._0x35d013)];else{let _0x54f253;try{_0x54f253=new RegExp(_0x345dec);}catch(_0x56c3d6){throw new ToolExecutionError(_0x1621f9(_0xb90d46._0x50d50e,_0xb90d46._0x1d03b6,_0xb90d46._0x54c473,0x7d9)+(_0x56c3d6 instanceof Error?_0x56c3d6['message']:String(_0x56c3d6)),{'shellId':_0x3c870a,'regex':_0x345dec});}let _0x551465=_0x4f547b;if(!_0x4685f6[_0x2adaf0(_0xb90d46._0x1ca7b2,0x4b5,0x2c8,_0xb90d46._0x39a368)]){const _0x4a6481=_0x4f547b[_0x2adaf0(0x764,_0xb90d46._0x410219,0x9aa,_0xb90d46._0xb8e748)]('\x0a');_0x551465=_0x4a6481>=0x0?_0x4f547b[_0x2adaf0(0x426,_0xb90d46._0x43c2c5,0x6b5,0x4dd)](0x0,_0x4a6481+0x1):'';}_0x3d9479=_0x551465[_0x1621f9(0x3d5,0x4d1,0x273,_0xb90d46._0x16b5cf)]('\x0a')['filter'](_0x26fec0=>_0x54f253['test'](_0x26fec0))[_0x1621f9(_0xb90d46._0x1d96e1,0x53a,0x4df,_0xb90d46._0x3edc3a)]('\x0a'),_0x4685f6['readCursor']=_0x2ad8fe+_0x551465[_0x1621f9(0x474,0x357,0x52c,_0xb90d46._0x420318)];}return{'output':(_0x1edd7d>0x0?_0x2adaf0(_0xb90d46._0x55dc0d,_0xb90d46._0x29601b,_0xb90d46._0x3d90dd,0x567)+_0x1edd7d+'\x20chars\x20dropped]\x0a':'')+_0x3d9479,'status':_0x4685f6[_0x2adaf0(0x627,0x911,0x7de,_0xb90d46._0x8bb69f)],'exitCode':_0x4685f6[_0x2adaf0(_0xb90d46._0x59ee1c,0x704,_0xb90d46._0x3c1c2a,0x737)],'signal':_0x4685f6['signal'],'error':_0x4685f6['error'],'truncated':_0x1edd7d>0x0};}[_0x511cdd(0x613,0x4d7,0x5a9,0x418)](){const _0x1b134d={_0x3214f0:0x380,_0x58fcb0:0x25e,_0x1cc137:0x3cd,_0x40a727:0x44,_0xcb0ed2:0x272,_0x33d70c:0x89},_0x10a692={_0x48e450:0x15f},_0x454d96={_0x1e58cc:0xb9,_0x2c7773:0x17c};function _0x501308(_0x266933,_0xdb97ac,_0x49d0b1,_0x21b492){return _0x30b865(_0x266933-0xb6,_0xdb97ac,_0x21b492- -_0x454d96._0x1e58cc,_0x21b492-_0x454d96._0x2c7773);}function _0x48664b(_0x48a8bd,_0x2c743a,_0x25ca95,_0x46eaf7){return _0x511cdd(_0x48a8bd-_0x10a692._0x48e450,_0x2c743a-0x6a,_0x48a8bd,_0x2c743a- -0x8);}return[...this[_0x48664b(0x206,_0x1b134d._0x3214f0,_0x1b134d._0x58fcb0,_0x1b134d._0x1cc137)][_0x501308(_0x1b134d._0x40a727,-_0x1b134d._0xcb0ed2,_0x1b134d._0x33d70c,-0x13a)]()];}[_0x511cdd(0x68b,0x481,0x491,0x4a2)](_0x18808f){const _0x1ab0fd={_0x5b5611:0x687,_0x430a3d:0x6b7,_0x5a2223:0x5ea,_0x247667:0x5d7,_0x5251df:0x4f8,_0x90e4db:0x4ac,_0x3025e2:0x87f,_0x5e0bdf:0x652,_0x274977:0x639,_0x3f3b1a:0x368,_0x5e39c1:0x32f,_0x3f57a7:0x2a8,_0x21a5ad:0x4e4,_0xb268c3:0x2ee,_0x2f4c2a:0x2e0,_0x2e31aa:0x3c0,_0x39549e:0x2e2,_0x33c435:0x5fc,_0x2c017d:0x52b,_0x22ff07:0x2d0,_0x43ca4f:0x3f9,_0x4dd523:0x2c0,_0x5e2ce2:0x425,_0x12f78b:0x4fe,_0x1c2fde:0x43a,_0x49af01:0x533,_0x20bc7d:0x759,_0x2c6ea2:0x8f1,_0x589c76:0x3b3,_0x4065c5:0x24e,_0x3db280:0x529,_0x279034:0x4f5,_0x567b7a:0x477,_0x36492c:0x60b,_0x1232ab:0x170,_0xfc0270:0x32f,_0x3b1b81:0x37b},_0x360c14={_0x130c41:0x35f,_0x38618a:0x1b2},_0x398297={_0x38e3dd:0x159,_0x283ccc:0x525,_0x373e15:0xf2},_0x4e09d8=this[_0x234f36(0x377,0x4ff,0x3a6,_0x1ab0fd._0x5b5611)][_0x234f36(_0x1ab0fd._0x430a3d,_0x1ab0fd._0x5a2223,_0x1ab0fd._0x247667,0x621)](_0x18808f);if(!_0x4e09d8)throw new ToolExecutionError(_0x403041(0x6ad,_0x1ab0fd._0x5251df,0x879,0x4f8)+_0x18808f,{'shellId':_0x18808f});if(_0x4e09d8[_0x403041(0x4f5,_0x1ab0fd._0x90e4db,0x3ed,0x514)]&&!_0x4e09d8[_0x403041(0x759,_0x1ab0fd._0x3025e2,_0x1ab0fd._0x5e0bdf,_0x1ab0fd._0x274977)])return _0x4e09d8[_0x234f36(_0x1ab0fd._0x3f3b1a,_0x1ab0fd._0x5e39c1,_0x1ab0fd._0x3f57a7,_0x1ab0fd._0x21a5ad)];if(_0x4e09d8[_0x234f36(_0x1ab0fd._0xb268c3,_0x1ab0fd._0x2f4c2a,_0x1ab0fd._0x2e31aa,_0x1ab0fd._0x39549e)]&&isTerminalStatus(_0x4e09d8[_0x234f36(0x6af,_0x1ab0fd._0x33c435,0x71a,_0x1ab0fd._0x2c017d)]))return Promise[_0x234f36(_0x1ab0fd._0x22ff07,_0x1ab0fd._0x43ca4f,_0x1ab0fd._0x4dd523,0x401)](this[_0x234f36(0x276,_0x1ab0fd._0x5e2ce2,0x33b,0x33d)](_0x4e09d8,'already-terminal'));if(_0x4e09d8[_0x403041(0x7c2,0x813,0x778,0x6b1)]!==_0x403041(0x6d1,0x700,_0x1ab0fd._0x12f78b,0x85a))_0x4e09d8['status']=_0x234f36(0x605,0x61f,0x7ba,0x653);_0x4e09d8[_0x234f36(_0x1ab0fd._0x1c2fde,0x4ee,_0x1ab0fd._0x49af01,0x33a)]=!![],_0x4e09d8[_0x403041(_0x1ab0fd._0x20bc7d,_0x1ab0fd._0x2c6ea2,0x6c3,0x8d9)]=![],_0x4e09d8[_0x234f36(_0x1ab0fd._0x589c76,_0x1ab0fd._0x5e39c1,_0x1ab0fd._0x4065c5,_0x1ab0fd._0x3db280)]=this['terminate'](_0x4e09d8);function _0x403041(_0x5740ba,_0x666a34,_0x1fa801,_0x3f302d){return _0x30b865(_0x5740ba-_0x398297._0x38e3dd,_0x3f302d,_0x5740ba-_0x398297._0x283ccc,_0x3f302d-_0x398297._0x373e15);}function _0x234f36(_0x4fa91f,_0x5e1680,_0x2dae77,_0x4790ba){return _0x30b865(_0x4fa91f-0xd4,_0x4790ba,_0x5e1680-_0x360c14._0x130c41,_0x4790ba-_0x360c14._0x38618a);}return void _0x4e09d8[_0x403041(_0x1ab0fd._0x279034,0x6ea,_0x1ab0fd._0x567b7a,0x396)][_0x403041(_0x1ab0fd._0x36492c,0x6e7,0x7d4,0x44a)](()=>{_0x4e09d8['terminationSettled']=!![];},()=>{_0x4e09d8['terminationSettled']=!![];}),_0x4e09d8[_0x234f36(_0x1ab0fd._0x1232ab,_0x1ab0fd._0xfc0270,_0x1ab0fd._0x3b1b81,0x500)];}[_0x30b865(0x66,0xa6,0x274,0x2df)](){const _0x56aac2={_0x20174f:0xe9,_0x22eaa8:0x2d,_0x52b79e:0x3f,_0x3b98b6:0x17a,_0x2243ae:0x12f,_0x2d657:0x10b},_0x62337f={_0x2b1ede:0xa7};function _0x330205(_0x1426bb,_0xfd52cd,_0x5bc6e5,_0x4053ab){return _0x30b865(_0x1426bb-0x49,_0x4053ab,_0x5bc6e5- -_0x62337f._0x2b1ede,_0x4053ab-0x145);}function _0xca56a2(_0x44ff1b,_0x477650,_0x411178,_0x1c33cc){return _0x511cdd(_0x44ff1b-0x146,_0x477650-0x15c,_0x477650,_0x44ff1b-0x441);}return Promise[_0x330205(_0x56aac2._0x20174f,_0x56aac2._0x22eaa8,-_0x56aac2._0x52b79e,_0x56aac2._0x3b98b6)]([...this[_0x330205(_0x56aac2._0x2243ae,-_0x56aac2._0x2d657,0xf9,0x26a)]['values']()][_0x330205(0x25a,0xad,0x251,0x201)](_0x393dbf=>this[_0x330205(0x18b,0x1d3,0x213,0xc0)](_0x393dbf[_0x330205(0x218,-0x22,0x37,-0x7e)])));}async[_0x511cdd(0x396,0x327,0x21c,0x1cb)](){const _0x5dcbe1={_0x19455d:0x21b,_0xd73a13:0x310,_0xc152f3:0x155,_0x46745d:0x71c,_0x21c5d3:0x8bd,_0x54c730:0x6d1,_0x8d549f:0x790,_0x58d35e:0x3c9,_0x30fb0b:0x23c,_0x307c02:0x15d,_0x499790:0x135,_0x25a551:0xb3,_0x2fc8ef:0x28e,_0x17f669:0x637,_0x4b3f84:0x8ea,_0x54c7ed:0x8af,_0x5d2024:0x7a4},_0x240b78={_0xffb51a:0x98},_0x551aea={_0x10d3eb:0x14c},_0x36dba1=await this[_0x366582(0x420,_0x5dcbe1._0x19455d,_0x5dcbe1._0xd73a13,_0x5dcbe1._0xc152f3)]();if(_0x36dba1[_0x35bdcf(_0x5dcbe1._0x46745d,_0x5dcbe1._0x21c5d3,_0x5dcbe1._0x54c730,_0x5dcbe1._0x8d549f)](_0x52ef99=>_0x52ef99['outcome']===_0x35bdcf(0x99a,0x65f,0x876,0x80e)))throw new BackgroundProcessCleanupError(_0x36dba1);function _0x366582(_0x49eaf,_0x1b5881,_0x4d4c13,_0x702a04){return _0x511cdd(_0x49eaf-0xbf,_0x1b5881-0xdb,_0x49eaf,_0x4d4c13- -_0x551aea._0x10d3eb);}function _0x35bdcf(_0x250218,_0x361474,_0x41dfb5,_0x284cde){return _0x511cdd(_0x250218-_0x240b78._0xffb51a,_0x361474-0x185,_0x250218,_0x284cde-0x461);}return this[_0x366582(_0x5dcbe1._0x58d35e,0x31e,_0x5dcbe1._0x30fb0b,_0x5dcbe1._0x307c02)][_0x366582(_0x5dcbe1._0x499790,_0x5dcbe1._0x25a551,0x1f7,_0x5dcbe1._0x2fc8ef)](),this[_0x35bdcf(0x8f7,0x8c5,0x84a,0x877)][_0x35bdcf(_0x5dcbe1._0x17f669,_0x5dcbe1._0x4b3f84,_0x5dcbe1._0x54c7ed,_0x5dcbe1._0x5d2024)](),_0x36dba1;}async['terminate'](_0x233e15){const _0x503be9={_0x279d1c:0x1b1,_0x41e890:0x4d,_0x4858b1:0xc4,_0x16898f:0xc3,_0x447dc4:0x5a7,_0x53b67d:0x39a,_0x36b73b:0x4f5,_0x1c9a7a:0x583,_0x58bf9b:0x4a3,_0x132a01:0x4af,_0x46dcb9:0x222,_0x2ce317:0x2d3,_0x1a05ac:0x38f,_0x546159:0x2b8,_0x7239c8:0x432,_0x30e10d:0x32a,_0x3246d5:0x49e,_0x5baf9a:0x46d,_0x425a1d:0x61a,_0x512430:0x4ab,_0x68a7c6:0x490,_0x25daf9:0x3a0,_0x4cd32a:0xbe,_0x2f2214:0x85,_0x42bcbc:0x338,_0x2c9450:0x212,_0x480bf3:0x684,_0x4d7666:0x500,_0x385850:0x5a3,_0x2bffa4:0x74e,_0x55f53c:0x4b5,_0x543a48:0x3ff,_0x44ca0a:0x5bb,_0x44e1c8:0x1ae,_0x47729e:0x44b,_0x39f51f:0x6ba,_0x117089:0x4cb,_0x8e976d:0x2fb,_0x1e3c34:0x3fb,_0x2513a9:0x538,_0x52dbde:0x63e,_0x3bbfda:0x189,_0x3277cf:0x24e,_0x32f3ec:0x36e,_0x5c596d:0x412,_0x3d15b7:0x3bc,_0x4ad77d:0x267,_0x4cc8a0:0xea,_0x28d58a:0x242},_0x3cec09={_0x43cde2:0x2ff,_0x434e49:0x1ed},_0x20cc04={_0x44dc50:0xef};_0x233e15[_0x118074(_0x503be9._0x279d1c,-_0x503be9._0x41e890,_0x503be9._0x4858b1,_0x503be9._0x16898f)]=!![];const _0x2f9d8e=await this[_0x23ea13(0x539,_0x503be9._0x447dc4,_0x503be9._0x53b67d,_0x503be9._0x36b73b)][_0x23ea13(0x673,_0x503be9._0x1c9a7a,_0x503be9._0x58bf9b,0x51b)]({'rootPid':_0x233e15[_0x118074(_0x503be9._0x132a01,_0x503be9._0x46dcb9,_0x503be9._0x2ce317,0x341)],'processGroupId':_0x233e15['processGroupId']},_0x23ea13(_0x503be9._0x1a05ac,_0x503be9._0x546159,_0x503be9._0x7239c8,0x475));if(_0x2f9d8e[_0x118074(_0x503be9._0x30e10d,0x322,0x40b,0x3a5)]===_0x23ea13(0x45d,0x4c4,_0x503be9._0x3246d5,0x485))return this[_0x23ea13(0x3f7,0x4c4,_0x503be9._0x5baf9a,_0x503be9._0x425a1d)](_0x233e15,_0x2f9d8e[_0x23ea13(0x569,_0x503be9._0x512430,_0x503be9._0x68a7c6,_0x503be9._0x25daf9)]);if(await this[_0x118074(-0x79,_0x503be9._0x4cd32a,_0x503be9._0x2f2214,-0xbf)](_0x233e15,TERMINATION_WINDOW_MS))return this[_0x118074(_0x503be9._0x42bcbc,_0x503be9._0x2c9450,0x2ab,0x375)](_0x233e15);function _0x118074(_0x584727,_0x4d1a32,_0x1f7586,_0x40e566){return _0x511cdd(_0x584727-_0x20cc04._0x44dc50,_0x4d1a32-0x11e,_0x584727,_0x1f7586- -0xb2);}function _0x23ea13(_0x39797d,_0xc5460b,_0x4feb5f,_0x4d6f49){return _0x30b865(_0x39797d-0xc9,_0x4d6f49,_0xc5460b-_0x3cec09._0x43cde2,_0x4d6f49-_0x3cec09._0x434e49);}_0x233e15[_0x23ea13(_0x503be9._0x480bf3,_0x503be9._0x4d7666,0x704,_0x503be9._0x385850)]=!![];const _0x171e81=await this['signalAdapter'][_0x23ea13(_0x503be9._0x2bffa4,_0x503be9._0x1c9a7a,0x404,0x38f)]({'rootPid':_0x233e15[_0x118074(0x1d3,_0x503be9._0x55f53c,0x2d3,0x2c7)],'processGroupId':_0x233e15[_0x23ea13(_0x503be9._0x543a48,_0x503be9._0x44ca0a,0x623,0x51b)]},_0x118074(0x274,0x312,0x2f3,_0x503be9._0x44e1c8));if(_0x171e81[_0x118074(0x29f,0x3ff,0x40b,_0x503be9._0x47729e)]===_0x23ea13(0x35a,0x4c4,_0x503be9._0x39f51f,0x66e))return this[_0x118074(_0x503be9._0x117089,0x157,_0x503be9._0x8e976d,_0x503be9._0x1e3c34)](_0x233e15,_0x171e81[_0x23ea13(0x4f1,_0x503be9._0x512430,_0x503be9._0x2513a9,_0x503be9._0x52dbde)]);if(await this[_0x23ea13(_0x503be9._0x3bbfda,_0x503be9._0x3277cf,0x1c8,0x202)](_0x233e15,TERMINATION_WINDOW_MS))return this[_0x23ea13(_0x503be9._0x32f3ec,0x474,_0x503be9._0x5c596d,0x2ec)](_0x233e15);return this[_0x118074(0x2b6,_0x503be9._0x3d15b7,0x2fb,_0x503be9._0x4ad77d)](_0x233e15,_0x118074(_0x503be9._0x4cc8a0,0x135,_0x503be9._0x28d58a,0x106));}[_0x30b865(0x275,0x358,0x175,0x174)](_0x4a9b51){const _0x2b7529={_0x629999:0x346,_0x12a2f5:0x7d7,_0x3b0046:0x60b,_0x543e89:0x5cf,_0x2f19f1:0x130,_0xa601f9:0xad,_0x1307d3:0x319,_0x39051a:0x462,_0x2bc73e:0x671},_0x4cf8b1={_0x4136dd:0x188,_0x121a71:0x423,_0x27b4a8:0x74};function _0x59cee2(_0x2ac066,_0xa44308,_0x1fe0fe,_0x5609b3){return _0x511cdd(_0x2ac066-0x137,_0xa44308-0xad,_0x1fe0fe,_0xa44308- -0x11);}function _0x21e5d4(_0x47c42b,_0x5e4681,_0x3a5e6c,_0x2bd857){return _0x30b865(_0x47c42b-_0x4cf8b1._0x4136dd,_0x5e4681,_0x3a5e6c-_0x4cf8b1._0x121a71,_0x2bd857-_0x4cf8b1._0x27b4a8);}return _0x4a9b51['status']===_0x59cee2(0x3ae,0x383,0x52c,_0x2b7529._0x629999)?this['failed'](_0x4a9b51,_0x4a9b51[_0x21e5d4(_0x2b7529._0x12a2f5,_0x2b7529._0x3b0046,_0x2b7529._0x543e89,0x4b2)]??_0x59cee2(0x30,_0x2b7529._0x2f19f1,_0x2b7529._0xa601f9,0x18d)):this[_0x59cee2(0x20c,0x29d,0x17b,0x2c7)](_0x4a9b51,_0x21e5d4(_0x2b7529._0x1307d3,0x2cd,_0x2b7529._0x39051a,_0x2b7529._0x2bc73e));}[_0x30b865(0x292,0xe,0x1c5,0xce)](_0x56a2e6,_0x2cb9ec){const _0x337e50={_0x4a2f34:0x505},_0xfd0c22={_0x4f91e3:0x1d3};_0x56a2e6['error']=_0x2cb9ec;function _0x108577(_0x2dd5ed,_0x288f5,_0x3571b3,_0x1dc6e3){return _0x30b865(_0x2dd5ed-0x172,_0x288f5,_0x2dd5ed-_0xfd0c22._0x4f91e3,_0x1dc6e3-0x113);}return this['result'](_0x56a2e6,_0x108577(0x398,_0x337e50._0x4a2f34,0x213,0x1d2));}[_0x511cdd(0x29d,0x407,0xcb,0x2ae)](_0x39dc75,_0x544449){const _0x437495={_0x546af7:0x73e,_0x2a071c:0x8b2,_0x52c2ac:0x6bc,_0x14e7ed:0x5e3,_0x302e6f:0x76e,_0x529bf8:0x678,_0x28bc98:0x5df,_0x3e36d6:0x295,_0x57a397:0xef,_0x216a64:0x222,_0x3c1a87:0x4c1,_0x276c5d:0x329},_0xbc6039={_0x15e1d8:0x42};function _0x125978(_0x45f6ef,_0x36347f,_0x4d78a2,_0x1fa311){return _0x30b865(_0x45f6ef-0x172,_0x45f6ef,_0x4d78a2-0x4a1,_0x1fa311-_0xbc6039._0x15e1d8);}function _0x63a4ad(_0x38ca7b,_0x100582,_0x2f9fd4,_0x3706d5){return _0x511cdd(_0x38ca7b-0x59,_0x100582-0x187,_0x38ca7b,_0x3706d5- -0xc0);}return{'shellId':_0x39dc75['shellId'],'outcome':_0x544449,'status':_0x39dc75[_0x125978(0x822,0x52f,_0x437495._0x546af7,_0x437495._0x2a071c)],'exitCode':_0x39dc75[_0x125978(_0x437495._0x52c2ac,0x5ca,0x706,0x628)],'signal':_0x39dc75[_0x125978(_0x437495._0x14e7ed,0x8c4,0x725,_0x437495._0x302e6f)],'error':_0x39dc75[_0x125978(0x779,_0x437495._0x529bf8,0x64d,_0x437495._0x28bc98)],'gracefulRequested':_0x39dc75[_0x63a4ad(_0x437495._0x3e36d6,-_0x437495._0x57a397,-0x143,0xb6)],'forceRequested':_0x39dc75[_0x63a4ad(_0x437495._0x216a64,0x523,_0x437495._0x3c1a87,_0x437495._0x276c5d)]};}[_0x511cdd(-0x40,0x336,0xa,0x137)](_0x39a7c7,_0x5d5ace){const _0x3d0789={_0x493ac7:0x85,_0x228a30:0x297};if(_0x39a7c7['terminalSettled'])return Promise['resolve'](!![]);return new Promise(_0x29907f=>{let _0x15f892=![];const _0x23cc48=setTimeout(()=>{if(_0x15f892)return;_0x15f892=!![],_0x29907f(![]);},_0x5d5ace);function _0xbb557c(_0x2bed56,_0x76d2a9,_0x2fc3dd,_0x361228){return _0x56d3(_0x76d2a9- -0xfb,_0x2bed56);}void _0x39a7c7['terminalPromise'][_0xbb557c(_0x3d0789._0x493ac7,_0x3d0789._0x228a30,0x459,0x312)](()=>{if(_0x15f892)return;_0x15f892=!![],clearTimeout(_0x23cc48),_0x29907f(!![]);});});}[_0x30b865(0x2fa,0x15c,0x312,0x1c2)](_0x4958f1,_0x217cdf,_0x41c484,_0x437684){const _0x3a23f3={_0x116b29:0x5ac,_0x288679:0x740,_0x38dea2:0x607,_0x291499:0x6be,_0x5bf560:0x442,_0x14786a:0x5ac,_0x44d817:0x5eb,_0x13cd37:0x68d,_0x2af0bd:0x48e},_0x4de5b8={_0x725d09:0x32,_0x5bb464:0xe1},_0x5ab48a={_0x179a13:0x2,_0x1808c4:0x83};function _0x4c2e49(_0x5d9675,_0x4b20c0,_0x143f34,_0xa5f244){return _0x511cdd(_0x5d9675-_0x5ab48a._0x179a13,_0x4b20c0-_0x5ab48a._0x1808c4,_0x143f34,_0xa5f244- -0x20c);}const _0x53412d=_0x217cdf[_0x3cbb1d(_0x3a23f3._0x116b29,_0x3a23f3._0x288679,_0x3a23f3._0x38dea2,_0x3a23f3._0x291499)](_0x437684);function _0x3cbb1d(_0x55b341,_0x1d8e5c,_0x318464,_0x4e8bc0){return _0x30b865(_0x55b341-_0x4de5b8._0x725d09,_0x1d8e5c,_0x55b341-0x458,_0x4e8bc0-_0x4de5b8._0x5bb464);}this[_0x4c2e49(0x247,0x86,_0x3a23f3._0x5bf560,0x231)](_0x4958f1,_0x4958f1['stripAnsi']?_0x41c484[_0x3cbb1d(_0x3a23f3._0x14786a,_0x3a23f3._0x44d817,_0x3a23f3._0x13cd37,_0x3a23f3._0x2af0bd)](_0x53412d):_0x53412d);}[_0x30b865(0x114,0x25,0x1cb,0x3c9)](_0x124f1f){const _0x4a683d={_0x470026:0x28a,_0x175daf:0x53,_0x2a3cc3:0x246,_0x4264d5:0x53d,_0x353f0e:0x3ef},_0x2e5444={_0x334638:0x17a,_0x1d5058:0x1ac},_0x4fdd66={_0x4ba6b1:0x9d};this[_0x143015(0x32e,0x313,0x424,_0x4a683d._0x470026)](_0x124f1f);function _0x2ef19d(_0x2789d1,_0x46aaa6,_0x42c7f6,_0x1506a4){return _0x30b865(_0x2789d1-0x4f,_0x46aaa6,_0x2789d1- -_0x4fdd66._0x4ba6b1,_0x1506a4-0x3a);}function _0x143015(_0x37332b,_0x3ebd32,_0x272923,_0x2bd656){return _0x30b865(_0x37332b-_0x2e5444._0x334638,_0x3ebd32,_0x37332b-0x236,_0x2bd656-_0x2e5444._0x1d5058);}!_0x124f1f['terminalSettled']&&(_0x124f1f['terminalSettled']=!![],_0x124f1f[_0x2ef19d(0x19b,0x238,_0x4a683d._0x175daf,_0x4a683d._0x2a3cc3)]()),this[_0x143015(_0x4a683d._0x4264d5,0x599,0x35c,_0x4a683d._0x353f0e)]();}['flushStreams'](_0x14321f){const _0x13369e={_0x2704f6:0x428,_0x11a82b:0x5fe,_0x1d8338:0x6ee,_0x1037d8:0x586,_0x356125:0x829,_0x185cc6:0x824,_0x245d5a:0x6f7,_0x307e4f:0x81e,_0x18944a:0x448,_0x4ea399:0x739,_0x496477:0x720,_0x4dfce8:0x7ce,_0xb2b71a:0x699,_0x4d4f9f:0x53f,_0x463d41:0x537,_0x142b88:0x836,_0x4c0d2f:0x744,_0xbfda2:0x98d,_0x120172:0x988,_0x792cd7:0x7ea,_0x41ea43:0x6dd,_0x25051d:0x526,_0x9c649d:0x5b2,_0x246626:0x7b7,_0x237725:0x4bc,_0x18a96a:0x5b4,_0x39bab4:0x698,_0x1121f7:0x8fb,_0x26e6ec:0x6f7},_0xc495f={_0x76c5b4:0x194,_0x549bd1:0x307},_0x260717={_0x3f0cb0:0x7,_0x3c7fff:0x12b};if(_0x14321f['streamsFlushed'])return;_0x14321f['streamsFlushed']=!![];function _0x2cc0e8(_0x5922b7,_0x15050d,_0xdeaa79,_0x4f1be4){return _0x30b865(_0x5922b7-_0x260717._0x3f0cb0,_0x5922b7,_0xdeaa79-0x4bb,_0x4f1be4-_0x260717._0x3c7fff);}function _0x41b102(_0x96f51d,_0x1b158e,_0x202140,_0x12d708){return _0x511cdd(_0x96f51d-0x11c,_0x1b158e-_0xc495f._0x76c5b4,_0x12d708,_0x202140-_0xc495f._0x549bd1);}const _0x5756b1=_0x14321f[_0x2cc0e8(0x3c7,0x34c,_0x13369e._0x2704f6,_0x13369e._0x11a82b)][_0x2cc0e8(_0x13369e._0x1d8338,0x649,0x6c3,_0x13369e._0x1037d8)](),_0x1cd43f=_0x14321f[_0x41b102(0xa09,_0x13369e._0x356125,_0x13369e._0x185cc6,0x962)][_0x41b102(0x64f,0x7d0,_0x13369e._0x245d5a,0x611)]();this['append'](_0x14321f,_0x14321f[_0x41b102(0x9db,0x69c,_0x13369e._0x307e4f,0x7da)]?_0x14321f[_0x2cc0e8(_0x13369e._0x18944a,_0x13369e._0x4ea399,0x597,_0x13369e._0x496477)][_0x41b102(0x497,0x7d1,0x643,0x5f8)](_0x5756b1)+_0x14321f[_0x41b102(_0x13369e._0x4dfce8,_0x13369e._0xb2b71a,0x5cb,0x699)][_0x41b102(_0x13369e._0x4d4f9f,0x6e8,_0x13369e._0x245d5a,0x649)]():_0x5756b1),this[_0x41b102(_0x13369e._0x463d41,_0x13369e._0x142b88,_0x13369e._0x4c0d2f,0x84e)](_0x14321f,_0x14321f[_0x2cc0e8(_0x13369e._0xbfda2,_0x13369e._0x120172,_0x13369e._0x792cd7,0x673)]?_0x14321f[_0x41b102(_0x13369e._0x41ea43,_0x13369e._0x25051d,0x5e8,0x3f5)][_0x2cc0e8(_0x13369e._0x9c649d,0x52f,0x60f,_0x13369e._0x246626)](_0x1cd43f)+_0x14321f[_0x2cc0e8(0x720,_0x13369e._0x237725,_0x13369e._0x18a96a,_0x13369e._0x39bab4)][_0x41b102(_0x13369e._0x1121f7,0x780,_0x13369e._0x26e6ec,0x6a3)]():_0x1cd43f);}[_0x30b865(0x41d,0x24f,0x255,0xd9)](_0x3cbd4a,_0x20eced){const _0x3f8a7f={_0x46931a:0x768,_0x548066:0x5ed,_0x43e88d:0x817,_0x6b016c:0x75a,_0xf1bffe:0x64f,_0x10506b:0x551,_0x299502:0x50f,_0x2ed704:0x3e1,_0xa09251:0x460,_0x44fe76:0x4c1,_0x2843e4:0x4b8,_0x29c1df:0x3f4,_0x5dde29:0x5d7,_0x21e73a:0x4e8,_0xe3bcc3:0x505,_0x5a1712:0x511,_0x2e702c:0x34a,_0x525012:0x611,_0x3ffb0a:0x80b,_0x78033f:0x6fa,_0xb0d7aa:0x5da,_0x3c5965:0x45f,_0x3a7f6d:0x81f,_0x1ad210:0x4b8,_0x5250a8:0x665,_0x477057:0x3bb,_0x49544a:0x590,_0x216f13:0x4c3,_0x5b6b99:0x5ca,_0x5bb115:0x7fd,_0x24c852:0x4de,_0x2d04fa:0x539,_0x27d673:0x4b8,_0x2671b1:0x4b5,_0x871d01:0x75c,_0x290bf6:0x5aa,_0x3f9c9c:0x3dd,_0x21a808:0x267},_0x4b7111={_0x257d6f:0x72,_0x367932:0x1e3},_0x35433e={_0x7eea03:0xcb};if(_0x20eced['length']===0x0)return;function _0xcefbd2(_0x28493e,_0xa7227,_0x5043ee,_0x4d7003){return _0x511cdd(_0x28493e-0x67,_0xa7227-0x1b,_0x5043ee,_0x28493e-_0x35433e._0x7eea03);}_0x3cbd4a['buffer'][_0x1e548a(_0x3f8a7f._0x46931a,_0x3f8a7f._0x548066,_0x3f8a7f._0x43e88d,_0x3f8a7f._0x6b016c)](_0x20eced),_0x3cbd4a[_0x1e548a(_0x3f8a7f._0xf1bffe,0x819,0x7a7,0x4cd)]+=_0x20eced[_0xcefbd2(0x4b8,0x4d9,_0x3f8a7f._0x10506b,_0x3f8a7f._0x299502)],_0x3cbd4a[_0xcefbd2(_0x3f8a7f._0x2ed704,_0x3f8a7f._0xa09251,_0x3f8a7f._0x44fe76,0x1cf)]+=_0x20eced[_0xcefbd2(_0x3f8a7f._0x2843e4,_0x3f8a7f._0x29c1df,_0x3f8a7f._0x5dde29,_0x3f8a7f._0x21e73a)];function _0x1e548a(_0x57c717,_0x221037,_0xe9f73c,_0x4bcf22){return _0x511cdd(_0x57c717-_0x4b7111._0x257d6f,_0x221037-_0x4b7111._0x367932,_0x4bcf22,_0x57c717-0x38e);}while(_0x3cbd4a[_0xcefbd2(0x38c,_0x3f8a7f._0xe3bcc3,_0x3f8a7f._0x5a1712,_0x3f8a7f._0x2e702c)]>this['capChars']){const _0x8d5b28=_0x3cbd4a[_0x1e548a(0x64f,_0x3f8a7f._0x525012,_0x3f8a7f._0x3ffb0a,_0x3f8a7f._0x78033f)]-this[_0xcefbd2(0x458,_0x3f8a7f._0xb0d7aa,0x57e,_0x3f8a7f._0x3c5965)],_0x28d579=_0x3cbd4a[_0x1e548a(0x6a1,_0x3f8a7f._0x3a7f6d,0x723,0x569)][0x0];if(_0x28d579===void 0x0)break;_0x28d579[_0xcefbd2(_0x3f8a7f._0x1ad210,_0x3f8a7f._0x5250a8,0x5e0,_0x3f8a7f._0x477057)]<=_0x8d5b28?(_0x3cbd4a['buffer'][_0xcefbd2(_0x3f8a7f._0x49544a,_0x3f8a7f._0x216f13,0x482,_0x3f8a7f._0x5b6b99)](),_0x3cbd4a[_0x1e548a(0x64f,_0x3f8a7f._0x5bb115,0x4bf,0x74b)]-=_0x28d579[_0xcefbd2(0x4b8,0x602,0x6be,_0x3f8a7f._0x24c852)],_0x3cbd4a[_0x1e548a(0x5fb,0x4be,_0x3f8a7f._0x2d04fa,0x7ee)]+=_0x28d579[_0xcefbd2(_0x3f8a7f._0x27d673,0x2f3,_0x3f8a7f._0x2671b1,0x35d)]):(_0x3cbd4a[_0x1e548a(0x6a1,0x7ef,0x4e3,_0x3f8a7f._0x871d01)][0x0]=_0x28d579['slice'](_0x8d5b28),_0x3cbd4a[_0x1e548a(0x64f,0x813,_0x3f8a7f._0x290bf6,0x623)]-=_0x8d5b28,_0x3cbd4a[_0xcefbd2(0x338,_0x3f8a7f._0x3f9c9c,_0x3f8a7f._0x21a808,0x406)]+=_0x8d5b28);}}['evictIfNeeded'](){const _0x5f9a58={_0x1c343a:0x376,_0x43e1fd:0x17b,_0x2a6789:0x3b,_0x3854a9:0x11,_0x20537e:0x24,_0x2c0461:0x21e,_0x2746c0:0xac,_0x1b43ff:0x3,_0xb7a07:0x74,_0x34bd4d:0x130,_0x51f6d2:0x17b,_0x28faf0:0x36e,_0x3a5506:0x1c,_0x2a22da:0xa6,_0x5b7b75:0x10,_0x430f84:0x2bf,_0x4b2bab:0xf6,_0x3b9a45:0x23d,_0xf77ce:0x157,_0x23b786:0x1a1,_0xe50f1d:0x1b3,_0x30a52d:0xb9},_0xaab202={_0x12eccf:0x1ed,_0x368840:0x20d},_0x4ceb32={_0x3e40eb:0x1d3,_0x54c4a6:0x177};function _0x4c30c0(_0x356925,_0x217ead,_0x44f5ca,_0x1b984f){return _0x30b865(_0x356925-_0x4ceb32._0x3e40eb,_0x217ead,_0x44f5ca- -0xba,_0x1b984f-_0x4ceb32._0x54c4a6);}function _0x46ea06(_0x5216a3,_0xcece65,_0x39ec59,_0x476a5e){return _0x511cdd(_0x5216a3-0x161,_0xcece65-_0xaab202._0x12eccf,_0x39ec59,_0xcece65- -_0xaab202._0x368840);}while(this[_0x46ea06(_0x5f9a58._0x1c343a,_0x5f9a58._0x43e1fd,_0x5f9a58._0x2a6789,_0x5f9a58._0x3854a9)][_0x4c30c0(_0x5f9a58._0x20537e,-_0x5f9a58._0x2c0461,-0x118,0x26)]>this[_0x4c30c0(0x166,-_0x5f9a58._0x2746c0,-_0x5f9a58._0x1b43ff,-_0x5f9a58._0xb7a07)]){const _0x15cd37=[...this[_0x46ea06(_0x5f9a58._0x34bd4d,_0x5f9a58._0x51f6d2,_0x5f9a58._0x28faf0,-_0x5f9a58._0x3a5506)][_0x46ea06(-0x7a,-_0x5f9a58._0x2a22da,_0x5f9a58._0x5b7b75,0x72)]()][_0x4c30c0(-_0x5f9a58._0x430f84,-0x1d1,-_0x5f9a58._0x4b2bab,-0x161)](_0xf9f970=>_0xf9f970[_0x46ea06(-0x1ed,-0xa4,0xed,-0x43)]&&isTerminalStatus(_0xf9f970[_0x46ea06(0x329,0x278,0x445,0x30f)]))[_0x4c30c0(0x16c,0x19,-0x3d,-_0x5f9a58._0x3b9a45)]((_0x81f862,_0x4f0ff2)=>_0x81f862[_0x46ea06(-0x19e,0x46,-0x29,0x15a)]-_0x4f0ff2[_0x4c30c0(-0x227,0x1a4,-0x4f,-0x151)])[0x0];if(!_0x15cd37)return;this[_0x46ea06(_0x5f9a58._0xf77ce,0x17b,-0x39,0x2b1)][_0x46ea06(0x281,_0x5f9a58._0x23b786,_0x5f9a58._0xe50f1d,-0x1)](_0x15cd37[_0x46ea06(0x196,_0x5f9a58._0x30a52d,-0x153,0x283)]);}}};function createBashOutputTool(_0x462965){const _0x33ea5c={_0x56baae:0x296,_0x55a9ee:0x3ab,_0x5be43c:0x5d,_0x377f60:0x10a,_0x16391f:0x2d8,_0x10d7fe:0x2ca,_0x3a5338:0xbc,_0x520b95:0x12,_0x1a9ded:0x27f,_0xa32a5c:0x401,_0x501c02:0x1db},_0x14d1ac={_0x367b2f:0x224,_0x4b67dc:0x88,_0x5704d2:0x338,_0x112095:0x7e1,_0x4221db:0x6ce,_0x24914e:0x4d1,_0x13a3e5:0x60b,_0x269d19:0x4ff,_0x18ca16:0x469,_0x149ac8:0x4fa,_0x1a4717:0x334,_0x4215c9:0x5c9,_0x24edce:0x57b,_0x553ce0:0x5a0,_0x3dcb43:0x317,_0x2e07d6:0x27b,_0x5d1b77:0x61f},_0x19ee3f={_0x3c828f:0x1bc,_0x200899:0x4c9},_0x4b03db={_0x313b8d:0x53,_0x4841da:0x12c},_0x1491fd={_0xdf9fe4:0x47},_0x5373f5={_0xdd082a:0x1a9,_0xe39b48:0x8e};function _0x9a8f06(_0x381e6a,_0x3c29ee,_0x5719fe,_0x16200b){return _0x511cdd(_0x381e6a-_0x5373f5._0xdd082a,_0x3c29ee-_0x5373f5._0xe39b48,_0x16200b,_0x3c29ee- -0x245);}const {registry:_0x2e626d}=_0x462965;function _0x5ba01e(_0x5c2cdb,_0x1399e4,_0xe07ad7,_0x5eb9cb){return _0x511cdd(_0x5c2cdb-0x1b1,_0x1399e4-0x102,_0xe07ad7,_0x5c2cdb- -_0x1491fd._0xdf9fe4);}return defineTool({'name':_0x5ba01e(_0x33ea5c._0x56baae,_0x33ea5c._0x55a9ee,0xd6,0xdb),'permissionClass':_0x9a8f06(_0x33ea5c._0x5be43c,-_0x33ea5c._0x377f60,-_0x33ea5c._0x16391f,-0xea),'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':'object','properties':{'shellId':{'type':'string'},'regex':{'type':_0x9a8f06(-_0x33ea5c._0x10d7fe,-_0x33ea5c._0x3a5338,-0x24d,_0x33ea5c._0x520b95)}},'required':[_0x5ba01e(_0x33ea5c._0x1a9ded,0x270,_0x33ea5c._0xa32a5c,_0x33ea5c._0x501c02)]},async *'execute'(_0x561780){function _0x4d2ce0(_0x4f6464,_0x3edadf,_0x3ccd8b,_0x177a6c){return _0x9a8f06(_0x4f6464-_0x4b03db._0x313b8d,_0x177a6c-_0x4b03db._0x4841da,_0x3ccd8b-0xd2,_0x4f6464);}const _0x4707ee=_0x2e626d['read'](_0x561780[_0x4d2ce0(_0x14d1ac._0x367b2f,_0x14d1ac._0x4b67dc,_0x14d1ac._0x5704d2,0x1ad)],_0x561780[_0x4aea02(_0x14d1ac._0x112095,0x501,0x60b,_0x14d1ac._0x4221db)]?{'regex':_0x561780[_0x4aea02(_0x14d1ac._0x24914e,0x77a,_0x14d1ac._0x13a3e5,0x58d)]}:void 0x0);function _0x4aea02(_0x219d79,_0x35a944,_0x45793b,_0x1ff569){return _0x9a8f06(_0x219d79-_0x19ee3f._0x3c828f,_0x45793b-_0x19ee3f._0x200899,_0x45793b-0x199,_0x35a944);}return createToolOutput(_0x4707ee['output'],{'shellId':_0x561780['shellId'],'status':_0x4707ee[_0x4d2ce0(0x206,0x552,_0x14d1ac._0x269d19,0x36c)],'exitCode':_0x4707ee[_0x4d2ce0(_0x14d1ac._0x18ca16,_0x14d1ac._0x149ac8,0x269,_0x14d1ac._0x1a4717)],'signal':_0x4707ee[_0x4aea02(_0x14d1ac._0x4215c9,_0x14d1ac._0x24edce,0x6f0,_0x14d1ac._0x553ce0)],'error':_0x4707ee[_0x4d2ce0(_0x14d1ac._0x3dcb43,0x9b,0x142,_0x14d1ac._0x2e07d6)],'truncated':_0x4707ee[_0x4aea02(_0x14d1ac._0x5d1b77,0x69b,0x698,0x48b)]});}});}import{spawn as _0x170c0f}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x3721c4 from'os';import*as _0x8c1a87 from'path';import{StringDecoder as _0x17b07e}from'string_decoder';import{spawn as _0x3f417f}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x460df3){return _0x460df3 instanceof Error;}function resolveCarriageReturns(_0x181543){const _0xf3eb4e={_0x28464b:0x80a,_0x5a0f08:0x681},_0x3c9798={_0x1083ac:0x38,_0x256bc3:0x86,_0x491ca8:0xa9,_0x176f69:0x123,_0x547c98:0x241,_0x4ed0b2:0x78e},_0x110d70={_0x46f087:0x4e},_0x3ad6dc={_0x42bd67:0x39b},_0x4eb289={_0x45df9a:0xb};function _0x323138(_0x2b148a,_0x4d6999,_0x4dfd9e,_0x39d752){return _0x511cdd(_0x2b148a-_0x4eb289._0x45df9a,_0x4d6999-0x22,_0x39d752,_0x2b148a-0x1a1);}function _0x5d7ab2(_0x1308c3,_0x4511a2,_0x54caff,_0x4323e8){return _0x511cdd(_0x1308c3-0x27,_0x4511a2-0x47,_0x4323e8,_0x54caff-_0x3ad6dc._0x42bd67);}return _0x181543[_0x5d7ab2(0x78f,_0xf3eb4e._0x28464b,0x6e9,0x713)]('\x0a')[_0x323138(_0xf3eb4e._0x5a0f08,0x733,0x4a8,0x5bf)](_0x30d24f=>{function _0x557d82(_0x5843ec,_0x448e55,_0x12af30,_0x2bb3b){return _0x5d7ab2(_0x5843ec-0x1e0,_0x448e55-0x9,_0x2bb3b- -0x4a8,_0x448e55);}function _0x17f296(_0x67fc54,_0x47866a,_0x110835,_0x1353d6){return _0x5d7ab2(_0x67fc54-0xd1,_0x47866a-0x12e,_0x67fc54- -_0x110d70._0x46f087,_0x47866a);}if(!_0x30d24f[_0x557d82(0x119,-_0x3c9798._0x1083ac,_0x3c9798._0x256bc3,_0x3c9798._0x491ca8)]('\x0d'))return _0x30d24f;const _0x3df8c7=_0x30d24f[_0x557d82(0x152,_0x3c9798._0x176f69,0x370,_0x3c9798._0x547c98)]('\x0d');return _0x3df8c7[_0x3df8c7[_0x17f296(0x73a,0x55f,0x52d,_0x3c9798._0x4ed0b2)]-0x1]??'';})[_0x323138(0x5a7,0x781,0x54d,0x448)]('\x0a');}function resolveBackspaces(_0x49a307){const _0x2642b4={_0x3f1013:0x254,_0x43152c:0x15f,_0x2f4769:0x7a,_0x251e56:0x1e2,_0x4b7d23:0x24,_0x3f9a1d:0x18e},_0x8a71ff={_0x32797b:0x1a5},_0x4f5375={_0x265771:0xe3,_0x4ba47a:0x20c},_0x508072=[];function _0x35bae1(_0x3d55b1,_0x3edf11,_0x3dcd79,_0x204e6f){return _0x511cdd(_0x3d55b1-0xe2,_0x3edf11-_0x4f5375._0x265771,_0x204e6f,_0x3edf11- -_0x4f5375._0x4ba47a);}for(const _0x3911cd of Array[_0x418ba6(0xfb,0xd1,_0x2642b4._0x3f1013,0x1b6)](_0x49a307)){_0x3911cd==='\x08'?_0x508072[_0x418ba6(0x328,_0x2642b4._0x43152c,0x288,_0x2642b4._0x2f4769)]():_0x508072[_0x35bae1(_0x2642b4._0x251e56,0x1ce,0xf3,-_0x2642b4._0x4b7d23)](_0x3911cd);}function _0x418ba6(_0x523127,_0x1064e8,_0xbc4b03,_0x42f2e4){return _0x30b865(_0x523127-_0x8a71ff._0x32797b,_0x42f2e4,_0xbc4b03-0x31,_0x42f2e4-0x78);}return _0x508072[_0x418ba6(_0x2642b4._0x3f9a1d,0x2d4,0x24f,0x231)]('');}function stripAnsiAndControls(_0x13be52){const _0x3b58e6={_0x515dca:0x171,_0x309ac6:0x433,_0x449926:0x458,_0x96b816:0x428,_0x5042e0:0x53e,_0x8c57e3:0x470,_0x257b7b:0x538,_0x4675d5:0x3ae,_0x143a3b:0x31,_0x4a1270:0x2e6,_0xa9c9bd:0x60e,_0x2657b0:0x4f2},_0x3742f1={_0x36e263:0x7d,_0x1524dd:0x3b0};_0x13be52=resolveCarriageReturns(_0x13be52),_0x13be52=resolveBackspaces(_0x13be52),_0x13be52=stripVTControlCharacters(_0x13be52);function _0x3434db(_0x21e8e9,_0x19558c,_0x2bcc88,_0x278748){return _0x511cdd(_0x21e8e9-0xa3,_0x19558c-0x1f2,_0x19558c,_0x2bcc88- -0x24a);}const _0x403197='\x1b',_0x1eaa0a='\x07';_0x13be52=_0x13be52[_0x3434db(-0x5c,0x303,_0x3b58e6._0x515dca,0x1ce)](new RegExp(_0x5d7052(_0x3b58e6._0x309ac6,0x558,_0x3b58e6._0x449926,0x4c6)+_0x1eaa0a+'\x5cn]*?'+_0x1eaa0a,'g'),'');function _0x5d7052(_0x2065f2,_0x22670f,_0x3667af,_0x41f200){return _0x30b865(_0x2065f2-_0x3742f1._0x36e263,_0x41f200,_0x2065f2-_0x3742f1._0x1524dd,_0x41f200-0x180);}return _0x13be52=_0x13be52[_0x5d7052(0x583,0x4d1,0x433,0x5f3)](new RegExp(_0x5d7052(_0x3b58e6._0x96b816,_0x3b58e6._0x5042e0,_0x3b58e6._0x8c57e3,_0x3b58e6._0x257b7b)+_0x403197+'\x5c\x5c','g'),''),_0x13be52=_0x13be52[_0x5d7052(0x583,_0x3b58e6._0x4675d5,0x396,0x5d8)](new RegExp(_0x1eaa0a,'g'),''),_0x13be52=_0x13be52['replace'](new RegExp(_0x403197+'[P_^][\x5cs\x5cS]*?'+_0x403197+'\x5c\x5c','g'),''),_0x13be52=_0x13be52[_0x3434db(_0x3b58e6._0x143a3b,-0xa2,0x171,_0x3b58e6._0x4a1270)](new RegExp(_0x403197+_0x5d7052(0x61b,0x530,0x6a8,0x4aa),'g'),''),_0x13be52=_0x13be52[_0x3434db(0x2fb,0x150,0x171,0x5d)](/[\u0080-\u009F]/g,''),_0x13be52=_0x13be52['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x13be52=_0x13be52[_0x5d7052(0x583,_0x3b58e6._0xa9c9bd,0x694,_0x3b58e6._0x2657b0)](/[\u23CE\u2424]/g,''),_0x13be52;}function killProcessGroup(_0x20cb35,_0x11ee1c,_0x3de10b='SIGKILL'){const _0x69f77f={_0x5b137f:0x4c1,_0x58a1ca:0x4c8,_0x30a54c:0x5a2,_0x39f1d2:0x436,_0x2ba3ea:0x4fd,_0x105520:0x686,_0x3ea69c:0x25e,_0x2d996a:0x348,_0x10061c:0x6fb,_0x18577d:0x6f8,_0x1b17e6:0x1bd,_0x193f55:0x50e,_0x466284:0x438,_0x1dc9bb:0x71f,_0x50e96c:0x395,_0x1afa44:0x503},_0x5096ba={_0x31110b:0x189,_0x4e753c:0x111},_0x302957={_0x4d0dae:0x82};if(!_0x20cb35[_0x33212d(_0x69f77f._0x5b137f,_0x69f77f._0x58a1ca,_0x69f77f._0x30a54c,_0x69f77f._0x39f1d2)])return;function _0x1d515d(_0x20420b,_0x18cba7,_0x272720,_0x454f7b){return _0x511cdd(_0x20420b-_0x302957._0x4d0dae,_0x18cba7-0x95,_0x18cba7,_0x454f7b- -0x13f);}if(_0x11ee1c)try{_0x3f417f(_0x33212d(0x6e5,_0x69f77f._0x2ba3ea,_0x69f77f._0x105520,0x658),[_0x33212d(_0x69f77f._0x3ea69c,0x18c,_0x69f77f._0x2d996a,0x300),_0x20cb35[_0x33212d(0x692,_0x69f77f._0x10061c,0x5a2,_0x69f77f._0x18577d)]['toString'](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x20cb35[_0x1d515d(0x348,_0x69f77f._0x1b17e6,_0x69f77f._0x193f55,0x363)](_0x3de10b);return;}function _0x33212d(_0x2ac3db,_0x461cf4,_0x6caba5,_0x5e7dbe){return _0x30b865(_0x2ac3db-_0x5096ba._0x31110b,_0x461cf4,_0x6caba5-0x405,_0x5e7dbe-_0x5096ba._0x4e753c);}try{process['kill'](-_0x20cb35[_0x33212d(_0x69f77f._0x466284,0x5e2,0x5a2,_0x69f77f._0x1dc9bb)],_0x3de10b);}catch{_0x20cb35[_0x1d515d(_0x69f77f._0x50e96c,0x2df,_0x69f77f._0x1afa44,0x363)](_0x3de10b);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x511cdd(0x576,0x403,0x2d3,0x3ba)+DEFAULT_TIMEOUT_MS+_0x30b865(0x46b,0x4d6,0x2cc,0x4dd);function buildChildEnv(_0x55e657,_0x1d06e6,_0x1953fd){const _0x49de17={_0x5f4c3d:0xf6,_0x3da20b:0x142,_0x4f4150:0x310,_0x12bb64:0x662,_0x1effc7:0x361,_0x5c1918:0x51f,_0x39baf2:0x61c,_0x337892:0x489,_0x1a7e7e:0x63e,_0x5557f3:0x643,_0x36fb6c:0x5fa,_0x5ee6a1:0x2b7,_0x1c35d4:0x4e2,_0x5425e2:0xa1b,_0x36e0dd:0x951,_0x5238b3:0xad8,_0x9e6b91:0x982,_0xf39377:0xa7d,_0x2516ed:0x792,_0x2e5bea:0x887,_0xc82eed:0x83d},_0x47e6a1={_0x34072c:0xb9,_0xeb8296:0x49a},_0x3b58a3={_0x5dab24:0x346};function _0x1cc24c(_0x3e2e95,_0xec67f6,_0x3ad885,_0x3b9261){return _0x30b865(_0x3e2e95-0x1dc,_0x3b9261,_0xec67f6-_0x3b58a3._0x5dab24,_0x3b9261-0x3b);}function _0x2983fd(_0xb92300,_0x53ecec,_0x2fd099,_0x76000a){return _0x511cdd(_0xb92300-_0x47e6a1._0x34072c,_0x53ecec-0x66,_0xb92300,_0x76000a-_0x47e6a1._0xeb8296);}const _0x5d68f7={...process[_0x1cc24c(_0x49de17._0x5f4c3d,0x304,_0x49de17._0x3da20b,_0x49de17._0x4f4150)],..._0x55e657??{}};if(_0x3721c4[_0x1cc24c(_0x49de17._0x12bb64,0x4e1,_0x49de17._0x1effc7,_0x49de17._0x5c1918)]()===_0x2983fd(0x5f8,0x62e,_0x49de17._0x39baf2,0x7d9)){const _0x4ad1cd=new Set(_0x1d06e6[_0x1cc24c(_0x49de17._0x337892,_0x49de17._0x1a7e7e,_0x49de17._0x5557f3,_0x49de17._0x36fb6c)](_0x205416=>_0x205416[_0x2983fd(0x90d,0xb65,0xb00,0x982)]()));for(const _0x125292 of Object[_0x1cc24c(_0x49de17._0x5ee6a1,0x35e,_0x49de17._0x1c35d4,0x470)](_0x5d68f7)){if(_0x4ad1cd[_0x2983fd(0xaab,_0x49de17._0x5425e2,_0x49de17._0x36e0dd,0x89f)](_0x125292[_0x2983fd(0x8be,0xb4b,_0x49de17._0x5238b3,_0x49de17._0x9e6b91)]()))delete _0x5d68f7[_0x125292];}}else{for(const _0x101567 of _0x1d06e6)delete _0x5d68f7[_0x101567];if(_0x1953fd[_0x2983fd(_0x49de17._0xf39377,_0x49de17._0x2516ed,0xa68,_0x49de17._0x2e5bea)]>0x0)for(const _0x3d4772 of Object[_0x2983fd(0x6af,_0x49de17._0xc82eed,0x509,0x69a)](_0x5d68f7)){_0x1953fd['some'](_0x21068c=>_0x3d4772[_0x2983fd(0xa1c,0x6df,0x7aa,0x841)](_0x21068c))&&delete _0x5d68f7[_0x3d4772];}}return _0x5d68f7;}function mapSpawnError(_0x408c44,_0x462722){const _0x152385={_0x4c969f:0x926,_0x4ba5ac:0x895,_0x2ddbf8:0x711,_0x3ec835:0x499,_0xb954a6:0x63a,_0x419024:0x4f9,_0x2124fc:0x56b,_0x23710d:0x474,_0x5f41f9:0x74e,_0x515b98:0x794,_0x2a79b9:0x401,_0x2ff104:0x5a8},_0x1a50ad={_0x39dd3c:0x1d3,_0x3cc14e:0x2a7},_0x33335e={_0x454fe2:0x8f,_0x415a2e:0x25c};if(isErrnoException2(_0x408c44)&&_0x408c44[_0x3c9b13(_0x152385._0x4c969f,0x71f,0x757,_0x152385._0x4ba5ac)]===_0x473649(_0x152385._0x2ddbf8,_0x152385._0x3ec835,0x6a3,0x685))return new ToolExecutionError(_0x473649(0x764,0x63a,0x81a,0x65e)+_0x462722[_0x473649(_0x152385._0xb954a6,_0x152385._0x419024,_0x152385._0x2124fc,_0x152385._0x23710d)],_0x462722);function _0x3c9b13(_0x1dee4e,_0x2a7f68,_0x405226,_0x2c970a){return _0x511cdd(_0x1dee4e-_0x33335e._0x454fe2,_0x2a7f68-0x17f,_0x1dee4e,_0x405226-_0x33335e._0x415a2e);}function _0x473649(_0x5bef0c,_0xa34bc7,_0x576460,_0x3cffae){return _0x511cdd(_0x5bef0c-_0x1a50ad._0x39dd3c,_0xa34bc7-0x170,_0xa34bc7,_0x3cffae-_0x1a50ad._0x3cc14e);}return new ToolExecutionError(_0x408c44 instanceof Error?_0x408c44[_0x473649(_0x152385._0x5f41f9,_0x152385._0x515b98,_0x152385._0x2a79b9,_0x152385._0x2ff104)]:String(_0x408c44),_0x462722);}function shellExists(_0x36760f){const _0x2c6558={_0x25e4b1:0x3ed,_0x38d72f:0x423,_0x2b9de2:0x21f,_0x57642b:0x1b9,_0x1900d7:0x1ff,_0xee8222:0x241,_0x49be90:0x1af},_0x451421={_0x3559d1:0x2a,_0x211cef:0xac},_0x59d8cf={_0x500e55:0x76,_0x5e8b5b:0x4e};function _0x264a79(_0x3a58dc,_0x2a728c,_0x4af277,_0x18f16e){return _0x511cdd(_0x3a58dc-_0x59d8cf._0x500e55,_0x2a728c-0x1a,_0x3a58dc,_0x4af277-_0x59d8cf._0x5e8b5b);}function _0x3e9038(_0x1a59cf,_0x437806,_0x4f63d3,_0x62ab78){return _0x511cdd(_0x1a59cf-_0x451421._0x3559d1,_0x437806-_0x451421._0x211cef,_0x62ab78,_0x4f63d3- -0x233);}try{const _0x118f8e=statSync(_0x36760f);return _0x118f8e[_0x264a79(_0x2c6558._0x25e4b1,_0x2c6558._0x38d72f,_0x2c6558._0x2b9de2,_0x2c6558._0x57642b)]()&&(_0x118f8e[_0x3e9038(_0x2c6558._0x1900d7,0x3d0,_0x2c6558._0xee8222,_0x2c6558._0x49be90)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4c3ede){const _0x4fdae6={_0x3a2b29:0x7db,_0x3ab105:0x794,_0x29589d:0x5ab,_0x470776:0x559,_0x2390a9:0x68e,_0xfacb08:0x894,_0x127975:0x986,_0x42137b:0x820,_0x4e8290:0x77f,_0x3e177f:0x897,_0x2d336f:0x623,_0x184d8a:0x75c,_0x9e69eb:0x557,_0x1ba3dc:0x64d,_0x1c70ee:0x601,_0x411a78:0x7e7,_0x37fdb5:0x72c,_0x59431e:0x62b,_0x45cdbc:0x59e,_0x1846b9:0x641},_0x50c684={_0x25d3f3:0x61,_0x1ed617:0x95},_0x3f423b={_0x1605ae:0x155};if(_0x4c3ede)return _0x4c3ede;if(_0x3721c4['platform']()===_0x57e6ed(0x7b3,0x72d,_0x4fdae6._0x3a2b29,_0x4fdae6._0x3ab105))return process['env'][_0x57e6ed(0x6a7,_0x4fdae6._0x29589d,_0x4fdae6._0x470776,_0x4fdae6._0x2390a9)]||_0x57e6ed(0x8d6,_0x4fdae6._0xfacb08,_0x4fdae6._0x127975,0x8bf);const _0x530a39=[_0x1ac877(_0x4fdae6._0x42137b,_0x4fdae6._0x4e8290,0x612,0x85a),_0x57e6ed(0x6b5,0x8c7,0x8fd,_0x4fdae6._0x3e177f),_0x57e6ed(_0x4fdae6._0x2d336f,0x68f,_0x4fdae6._0x184d8a,_0x4fdae6._0x9e69eb),_0x57e6ed(_0x4fdae6._0x1ba3dc,_0x4fdae6._0x1c70ee,0x6a4,_0x4fdae6._0x411a78)];function _0x1ac877(_0x47e184,_0x4a8e2d,_0x1a10d9,_0x499610){return _0x30b865(_0x47e184-_0x3f423b._0x1605ae,_0x47e184,_0x4a8e2d-0x49e,_0x499610-0x167);}function _0x57e6ed(_0x3c1713,_0x62d497,_0xf9f4d6,_0x5710ea){return _0x30b865(_0x3c1713-_0x50c684._0x25d3f3,_0x5710ea,_0x62d497-0x5d6,_0x5710ea-_0x50c684._0x1ed617);}for(const _0xc0934a of _0x530a39){if(shellExists(_0xc0934a))return _0xc0934a;}const _0x17d38a=process['env'][_0x1ac877(_0x4fdae6._0x37fdb5,_0x4fdae6._0x59431e,0x654,_0x4fdae6._0x45cdbc)];if(_0x17d38a&&shellExists(_0x17d38a))return _0x17d38a;return _0x1ac877(0x7a6,_0x4fdae6._0x4e8290,0x915,_0x4fdae6._0x1846b9);}function buildShellArgs(_0x8afc77,_0x2a1770){const _0x3f267c={_0x36ff56:0x7ea,_0x2980c5:0x60f,_0x16ea2b:0x646,_0x558f5b:0x6b7,_0x41968e:0x16a,_0x225c71:0x226,_0x5aa951:0x17e,_0xa60af2:0xc8,_0x307e7a:0x639,_0xf031ec:0x43e,_0x355de3:0x4fe,_0x500dad:0x22f,_0x58b3d6:0x231,_0x4091c3:0x10e,_0x29e6fa:0x133,_0x223d7e:0x5b6,_0x52478f:0x3d3,_0x33cdc2:0x594},_0x410601={_0x29baf3:0xbc,_0x3e1339:0x1a3,_0x1c40a7:0x318},_0x51e817={_0xb08b4:0x64f,_0x3ad150:0x19e};function _0x5db839(_0x26c267,_0x3af713,_0x274d16,_0x3160a6){return _0x30b865(_0x26c267-0x1a5,_0x3160a6,_0x26c267-_0x51e817._0xb08b4,_0x3160a6-_0x51e817._0x3ad150);}function _0x57c06e(_0x16145a,_0x49bb12,_0x5d3863,_0x2b74dd){return _0x511cdd(_0x16145a-_0x410601._0x29baf3,_0x49bb12-_0x410601._0x3e1339,_0x5d3863,_0x2b74dd- -_0x410601._0x1c40a7);}if(_0x3721c4[_0x5db839(_0x3f267c._0x36ff56,_0x3f267c._0x2980c5,_0x3f267c._0x16ea2b,_0x3f267c._0x558f5b)]()===_0x57c06e(-_0x3f267c._0x41968e,0x13f,0x15e,0x27)){const _0x56fd2c=/cmd(\.exe)?$/i[_0x57c06e(_0x3f267c._0x225c71,_0x3f267c._0x5aa951,0x224,_0x3f267c._0xa60af2)](_0x2a1770);return _0x56fd2c?['/d','/s','/c',_0x8afc77]:[_0x5db839(_0x3f267c._0x307e7a,_0x3f267c._0xf031ec,0x81b,_0x3f267c._0x355de3),_0x57c06e(_0x3f267c._0x500dad,_0x3f267c._0x58b3d6,_0x3f267c._0x4091c3,_0x3f267c._0x29e6fa),_0x5db839(_0x3f267c._0x223d7e,_0x3f267c._0x52478f,_0x3f267c._0x33cdc2,0x490),_0x8afc77];}return['-c',_0x8afc77];}function resolveWorkingDirectory(_0x46a03c,_0x302880,_0x6c880b){const _0x2ef399={_0x1127dd:0x58d,_0x22191a:0x5ed,_0x2643c8:0x5b0,_0x7441a4:0x5c6,_0x14493f:0x40d,_0xcbce5a:0x523,_0x967440:0x6d1,_0x411df7:0x8c9},_0x17de8e={_0x47cf28:0x79,_0x52436c:0x22c},_0x1b795d={_0x4ba0b7:0x1eb,_0x32d721:0xc7};function _0x4361c4(_0x2a7231,_0xd14362,_0x2f2e6d,_0xeb7388){return _0x30b865(_0x2a7231-_0x1b795d._0x4ba0b7,_0xd14362,_0x2f2e6d-0x4c4,_0xeb7388-_0x1b795d._0x32d721);}function _0x19404e(_0x3cd5d5,_0x46da1c,_0x34a127,_0x595d34){return _0x511cdd(_0x3cd5d5-_0x17de8e._0x47cf28,_0x46da1c-0xb2,_0x34a127,_0x595d34-_0x17de8e._0x52436c);}const _0x161345=resolveAllowedPath(_0x302880,_0x6c880b,_0x46a03c??'.');try{const _0x2255a2=statSync(_0x161345);if(!_0x2255a2[_0x4361c4(_0x2ef399._0x1127dd,_0x2ef399._0x22191a,0x708,_0x2ef399._0x2643c8)]())throw new ToolExecutionError(_0x4361c4(_0x2ef399._0x7441a4,_0x2ef399._0x14493f,_0x2ef399._0xcbce5a,_0x2ef399._0x967440)+_0x161345,{'cwd':_0x161345});const _0x49da02=realpathSync(_0x161345),_0x1f4aa3=realpathSync(_0x302880),_0x5b48c7=_0x6c880b['map'](_0x3992ab=>{try{return realpathSync(_0x8c1a87['resolve'](_0x3992ab));}catch{return _0x8c1a87['resolve'](_0x3992ab);}});return resolveAllowedPath(_0x1f4aa3,_0x5b48c7,_0x49da02);}catch(_0x44433a){if(_0x44433a instanceof ToolExecutionError)throw _0x44433a;throw new ToolExecutionError(_0x4361c4(0x7cb,_0x2ef399._0x411df7,0x7c3,0x894)+_0x161345,{'cwd':_0x161345});}}function resolveBashExecutionTarget(_0x50a950,_0x28b0b1={}){const _0x4b7ecc={_0x38abb3:0x6c7,_0x26d8a1:0x622,_0x115ef8:0x4e4,_0x3e7e37:0x70c,_0x4c6cc2:0x562,_0x1e1584:0x3ab,_0x1bb9ee:0x564,_0x49ebca:0x496,_0x120532:0x813,_0x41bbc3:0x7fd,_0x2d9c7d:0x815,_0x5139bf:0x6f9,_0x2ee914:0x8e5},_0x14e641={_0x4c6da5:0x1e2,_0x360fa9:0x14b},_0x4b20c6={_0xe4acc6:0x18b,_0xd9c523:0x395};function _0x38462e(_0x3a1fa8,_0x11e7eb,_0x218f5d,_0x4aa2e1){return _0x511cdd(_0x3a1fa8-_0x4b20c6._0xe4acc6,_0x11e7eb-0x169,_0x3a1fa8,_0x11e7eb-_0x4b20c6._0xd9c523);}const _0x286a52=_0x8c1a87[_0x38462e(_0x4b7ecc._0x38abb3,0x617,0x825,0x807)](_0x28b0b1[_0x22ffec(_0x4b7ecc._0x26d8a1,_0x4b7ecc._0x115ef8,0x560,0x479)]??process['cwd']());function _0x22ffec(_0x43d7da,_0x1d8dbb,_0x5eba1c,_0x1615d7){return _0x511cdd(_0x43d7da-_0x14e641._0x4c6da5,_0x1d8dbb-_0x14e641._0x360fa9,_0x43d7da,_0x1d8dbb-0x103);}const _0x2b1492=resolveDefaultShell(_0x28b0b1[_0x38462e(_0x4b7ecc._0x3e7e37,_0x4b7ecc._0x4c6cc2,_0x4b7ecc._0x1e1584,0x417)]);return{'command':_0x50a950[_0x22ffec(_0x4b7ecc._0x1bb9ee,_0x4b7ecc._0x49ebca,0x695,0x3e7)],'cwd':resolveWorkingDirectory(_0x50a950['cwd'],_0x286a52,_0x28b0b1[_0x38462e(0x70d,0x854,_0x4b7ecc._0x120532,_0x4b7ecc._0x41bbc3)]??[]),'shellPath':_0x2b1492,'dialect':resolveShellDialect(_0x2b1492),'background':_0x50a950[_0x38462e(0x885,_0x4b7ecc._0x2d9c7d,_0x4b7ecc._0x5139bf,_0x4b7ecc._0x2ee914)]??![]};}function resolveShellDialect(_0x422265){const _0x432127={_0xab1885:0xa0,_0xcd37f0:0x1f1,_0x29950c:0x9b,_0xb0cb6c:0x588,_0x3786a9:0x40,_0x27b2ef:0x224,_0x41fd84:0x816},_0x3b7b63={_0x50a377:0xb0},_0x4ec5d6={_0x1a6dc5:0x131,_0x1392a6:0xfb};if(_0x3721c4['platform']()==='win32')return _0xb87d5e(0x11,_0x432127._0xab1885,0x249,_0x432127._0xcd37f0);const _0x3dcc0b=_0x8c1a87[_0xb87d5e(0x78,0x26c,0xee,_0x432127._0x29950c)](_0x422265)[_0xb87d5e(0x3c4,_0x432127._0xb0cb6c,0x4ae,0x3fb)]();if(_0x3dcc0b==='bash')return'bash';function _0xb87d5e(_0x1c6086,_0x4eb4b6,_0x592173,_0x2582f8){return _0x511cdd(_0x1c6086-_0x4ec5d6._0x1a6dc5,_0x4eb4b6-_0x4ec5d6._0x1392a6,_0x4eb4b6,_0x2582f8- -0xed);}if(_0x3dcc0b==='sh'||_0x3dcc0b==='dash')return _0xb87d5e(0x19,_0x432127._0x3786a9,0x1a,_0x432127._0x27b2ef);function _0x360be5(_0x3354fe,_0x13420e,_0x6d5b6e,_0x4c0fb7){return _0x30b865(_0x3354fe-_0x3b7b63._0x50a377,_0x3354fe,_0x6d5b6e-0x664,_0x4c0fb7-0x1cb);}return _0x360be5(0x820,0x603,0x7dc,_0x432127._0x41fd84);}function emitChunk(_0x191d7b,_0x1812e2,_0x1d62e6,_0x48e040){const _0x262261={_0x2676a6:0x468,_0x27a15b:0x5cf},_0x159b9f={_0x2ea092:0x1ab,_0x1b94ad:0x1ed};_0x191d7b['push'](_0x1d62e6);function _0x1f49a5(_0x2cc00a,_0x457fd5,_0x25916a,_0x23dfab){return _0x511cdd(_0x2cc00a-_0x159b9f._0x2ea092,_0x457fd5-_0x159b9f._0x1b94ad,_0x457fd5,_0x2cc00a-0x232);}_0x1812e2[_0x1f49a5(0x60c,_0x262261._0x2676a6,0x4d0,_0x262261._0x27a15b)](_0x1d62e6),_0x48e040();}function appendChunk(_0x2c566e,_0x56376e,_0x33721c,_0x3728fc,_0x26482d,_0x392a94){const _0x12dee7={_0x32e8c1:0x7e4,_0x3eb273:0x3b7,_0x548a2a:0x546,_0x67512e:0x70d,_0x49688f:0x584,_0x3e5808:0x7bd,_0x354e8c:0x721,_0x3ceb23:0x82d,_0x26c9fc:0x594,_0x36611c:0x5f6,_0x1ab150:0x5b0,_0x15ef3c:0x641,_0x7d9554:0x62b,_0x597ab4:0x3f9,_0x2cb17c:0x55b,_0x20eee6:0x53c},_0x54c71c={_0x5e5458:0x17};function _0x3c5be3(_0x52d59c,_0x1f545d,_0x39b947,_0x3db1be){return _0x30b865(_0x52d59c-0xc1,_0x3db1be,_0x39b947-0x392,_0x3db1be-0x1e);}const _0x13d0a5=_0x3728fc?stripAnsiAndControls(_0x33721c):_0x33721c;if(_0x13d0a5[_0x410469(0x605,0x9a9,0x6ee,_0x12dee7._0x32e8c1)]===0x0)return;function _0x410469(_0x3bf111,_0x21546a,_0x556462,_0x2c907c){return _0x511cdd(_0x3bf111-0xf8,_0x21546a-_0x54c71c._0x5e5458,_0x21546a,_0x2c907c-0x3f7);}if(!_0x392a94){emitChunk(_0x2c566e,_0x56376e,_0x13d0a5,_0x26482d);return;}let _0x5bad1e=0x0,_0x224f83=_0x13d0a5['indexOf']('\x0a');while(_0x224f83>=0x0){_0x392a94[_0x3c5be3(0x6ab,_0x12dee7._0x3eb273,_0x12dee7._0x548a2a,0x3bb)][_0x3c5be3(0x3ae,_0x12dee7._0x67512e,_0x12dee7._0x49688f,0x737)](_0x13d0a5['slice'](_0x5bad1e,_0x224f83));const _0x1d57ed=_0x392a94[_0x410469(_0x12dee7._0x3e5808,_0x12dee7._0x354e8c,_0x12dee7._0x3ceb23,0x793)][_0x3c5be3(_0x12dee7._0x26c9fc,_0x12dee7._0x36611c,_0x12dee7._0x1ab150,0x579)]('');_0x392a94['trailingChunks']['length']=0x0,_0x392a94[_0x410469(_0x12dee7._0x15ef3c,_0x12dee7._0x7d9554,0x838,0x77e)]['test'](_0x1d57ed)&&emitChunk(_0x2c566e,_0x56376e,_0x1d57ed+'\x0a',_0x26482d),_0x5bad1e=_0x224f83+0x1,_0x224f83=_0x13d0a5[_0x410469(0x584,0x5ab,_0x12dee7._0x597ab4,_0x12dee7._0x2cb17c)]('\x0a',_0x5bad1e);}_0x5bad1e<_0x13d0a5[_0x3c5be3(0x437,_0x12dee7._0x20eee6,0x597,0x664)]&&_0x392a94['trailingChunks'][_0x3c5be3(0x576,0x583,0x584,0x785)](_0x13d0a5['slice'](_0x5bad1e));}function flushOutputRegex(_0x50d095,_0x51b049,_0x106828,_0x3fcf6e){const _0x125e18={_0x1ff1ea:0x650,_0xc870f8:0x889,_0xe3a999:0x898,_0x2382d2:0x838,_0x39da50:0x3b1,_0x38ed86:0x2a1,_0x489f36:0x3db},_0x2000aa={_0x243e6b:0x1f4};function _0x1d33d1(_0x3fd27a,_0x22fd3c,_0x2b5f0b,_0x224c4f){return _0x511cdd(_0x3fd27a-0x1ea,_0x22fd3c-_0x2000aa._0x243e6b,_0x2b5f0b,_0x22fd3c- -0x13f);}if(!_0x106828||_0x106828[_0x45e980(0x838,0x74a,_0x125e18._0x1ff1ea,0x83d)][_0x45e980(_0x125e18._0xc870f8,0x76d,0x9c2,_0x125e18._0xe3a999)]===0x0)return;const _0x4285a6=_0x106828[_0x45e980(_0x125e18._0x2382d2,0x894,0x956,0x844)]['join']('');_0x106828['trailingChunks'][_0x45e980(_0x125e18._0xc870f8,0x83c,0xa7b,0x699)]=0x0;function _0x45e980(_0x28c8bf,_0x409c3f,_0x4edd8a,_0x520dfe){return _0x30b865(_0x28c8bf-0x4c,_0x409c3f,_0x28c8bf-0x684,_0x520dfe-0x76);}_0x106828[_0x1d33d1(0x37c,0x248,0x25a,0x1ac)][_0x1d33d1(_0x125e18._0x39da50,_0x125e18._0x38ed86,_0x125e18._0x489f36,0x379)](_0x4285a6)&&emitChunk(_0x50d095,_0x51b049,_0x4285a6,_0x3fcf6e);}function createBashTool(_0x56659d={}){const _0x42cb04={_0x33dcc5:0x9c,_0x2a4f5c:0x29a,_0x85173a:0x2ee,_0x79c84d:0x316,_0x4ed757:0x4ac,_0x5dac82:0x323,_0xfc5efc:0x4b3,_0xd52bf1:0x231,_0x45c8f1:0x17a,_0x1f186e:0x54,_0x5bc907:0xf3,_0x1a2f26:0xe2,_0x1514b5:0x13f,_0x2dff54:0xf8,_0x563e30:0xff,_0x2addc8:0x257,_0x575c20:0xab,_0x14c55b:0x202,_0x3ed89b:0x9d,_0x1ea75e:0x31e,_0x5be0b3:0xb1,_0x7f8f88:0x1b5,_0x3ecdcd:0x2f5,_0x1c4f64:0x3c5,_0x5bc827:0xf9,_0x2a5c21:0x1f,_0x5d4948:0x8,_0x1b7ba0:0x18,_0x5e134d:0x7,_0x1020ba:0x15e,_0x10dbb0:0xb4,_0x5d5bcd:0xa8,_0x125f73:0xa0,_0x2e3a17:0x2c7},_0x3125b8={_0x2693f8:0x4c8,_0x5e9a7f:0x74d,_0x55f102:0x6a2,_0x8a5150:0x57e,_0x3f1e0e:0x544,_0x5d7b58:0x6be,_0x2cd1af:0x414,_0x3f4518:0x5bc,_0xc71108:0x41a,_0x1d76c2:0x248,_0x24ac03:0x4f7,_0x4efc13:0x584,_0xf93656:0x50d,_0x552546:0x351,_0x499c82:0x517,_0x47628e:0x691,_0x4d9635:0x54c,_0x51e0f1:0x59c,_0x352ef6:0x507,_0xeec89:0x67c,_0x33e1c4:0x660,_0x41d154:0x5b5,_0x359ffd:0x585,_0x3098f3:0x4de,_0x128162:0x50c,_0x5657c6:0x517,_0x29e5fc:0x210,_0x1a1bba:0x158,_0x382ec7:0x545,_0x4f1af9:0x4f7,_0x5f477c:0x31b,_0x17126b:0x36e,_0x3e6efb:0x355,_0x4fac1b:0x4d4,_0x51bdb8:0x343,_0x2cc9ba:0x4df,_0x5c8f7b:0x273,_0x27efc2:0x50e,_0x27edfa:0x32e,_0x3dbf13:0x375,_0x522ec2:0x20c,_0x1b6480:0x3a2,_0x343e51:0x678,_0x817375:0x368,_0x39ae00:0x602,_0x25cc52:0x509,_0x48eee9:0x43c,_0x3de94f:0x3ff,_0x15b823:0x494,_0x1c4731:0x3d0,_0x52a399:0x5af,_0x440e6d:0x4cb,_0x29f3fb:0x6ca,_0x3b126a:0x5e9,_0x25bc92:0x5b2,_0x500726:0x74c,_0x1cb527:0x4c9,_0x1c05e3:0x480,_0x38a4a3:0x4d9,_0x15b9ce:0x582,_0x4fec49:0x6e4,_0x62585b:0x607,_0x1ed60a:0x4ba,_0x4b563d:0x5a6,_0xd75f6b:0x794,_0x2a5611:0x590,_0xa90b4b:0x3c0,_0x47dffa:0x497,_0x1730fe:0x61d,_0x29963a:0x631,_0x54b3c2:0x7b5,_0x4a4586:0x5aa,_0xe1c1f2:0x38c,_0x3054e2:0x448,_0x54b677:0x668,_0x27d4bc:0x12b,_0x1285c7:0x2c6,_0x2d7526:0x5a7,_0x270a41:0x561,_0x116c61:0x6ae,_0x5949f3:0x3e3,_0x1c3b03:0x41c,_0x35d969:0x4c3,_0x1b4373:0x54a,_0x5d1a94:0x430,_0x33a0da:0x2a8,_0x75a93c:0x41e,_0x388894:0x48f,_0xe78a39:0x1d8,_0x130428:0x200,_0x577a5d:0x1b3,_0xe79214:0x4fa,_0x4c132b:0x317,_0x4f9695:0x51e,_0x53c05f:0x2cb,_0x280898:0x478,_0x2536c7:0x3ca,_0x8d687c:0x417,_0x3c500b:0x353,_0x2fccd1:0x729,_0x5c1dad:0x798,_0x1e4ced:0x65f,_0x2cbbbd:0x4c1,_0xe75998:0x4f7,_0x527982:0x371,_0x86b27c:0x671,_0x341b87:0x7dc,_0x121f8c:0x67f,_0x1c137c:0x586,_0x11bcba:0x499,_0x550f57:0x53a,_0xb7471a:0x4b7,_0x14dba6:0x674,_0x136795:0x3c1,_0x90b888:0x3c2,_0x1ebb25:0x729,_0x33ba97:0x52d,_0x2d6ff8:0x51c,_0x1057ac:0x5b7,_0x3d4dae:0x534,_0x297d78:0x6ff,_0x473135:0x45a,_0x1cdb6b:0x410,_0x3628a9:0x51b},_0x137f81={_0x4c1a16:0x75c,_0x72f316:0x75a,_0x1d36da:0x580,_0x14a3cd:0x53d,_0x19ed59:0x5cf},_0x41f246={_0x3af7bb:0x826},_0x1a042b={_0x548b6f:0x178,_0x5150b8:0x57},_0xf804f3={_0x2371c1:0x59,_0x19f3e4:0x2},_0x488a51=_0x8c1a87[_0x4022b2(0x253,_0x42cb04._0x33dcc5,0x143,_0x42cb04._0x2a4f5c)](_0x56659d[_0x4022b2(0x14e,0x1fb,_0x42cb04._0x85173a,_0x42cb04._0x79c84d)]??process['cwd']());function _0x4022b2(_0x86a8c4,_0x28a13b,_0x24a07d,_0xbce888){return _0x30b865(_0x86a8c4-_0xf804f3._0x2371c1,_0x24a07d,_0x28a13b-_0xf804f3._0x19f3e4,_0xbce888-0xb6);}const _0x5d96ff=_0x56659d[_0x4c269a(0x1b1,0x33e,0x451,_0x42cb04._0x4ed757)]??[],_0x39a0fe=_0x56659d['defaultTimeoutMs']??DEFAULT_TIMEOUT_MS;function _0x4c269a(_0x4ce811,_0x369630,_0x19a793,_0x59ee01){return _0x511cdd(_0x4ce811-_0x1a042b._0x548b6f,_0x369630-_0x1a042b._0x5150b8,_0x4ce811,_0x369630- -0x181);}const _0x469137=_0x56659d['stripAnsi']??!![],_0x2ee6d8=_0x56659d[_0x4022b2(0x418,_0x42cb04._0x5dac82,_0x42cb04._0xfc5efc,_0x42cb04._0xd52bf1)]??_0x4022b2(-_0x42cb04._0x45c8f1,0x4f,_0x42cb04._0x1f186e,-_0x42cb04._0x5bc907),_0xcfbf3a=_0x56659d[_0x4c269a(_0x42cb04._0x1a2f26,_0x42cb04._0x1514b5,_0x42cb04._0x2dff54,0x128)]??[],_0xdc0493=_0x56659d[_0x4022b2(-0x122,0xa7,_0x42cb04._0x563e30,0xb3)]??[],_0x443a4b=_0x56659d[_0x4c269a(0x3ca,0x305,0x372,_0x42cb04._0x2addc8)];return defineTool({'name':_0x2ee6d8,'permissionClass':_0x4022b2(-0x1c8,-_0x42cb04._0x575c20,-_0x42cb04._0x14c55b,-_0x42cb04._0x3ed89b),'description':_0x56659d['description']??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x4c269a(_0x42cb04._0x2a4f5c,0x12f,_0x42cb04._0x1ea75e,_0x42cb04._0x5be0b3),'properties':{'command':{'type':_0x4022b2(0x23,-0x5d,0x10e,0x4a)},'description':{'type':'string','description':_0x4c269a(0x1a8,0x2d8,0x492,0x350)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x4022b2(_0x42cb04._0x7f8f88,_0x42cb04._0x3ecdcd,0x4f5,_0x42cb04._0x1c4f64)},'ignoreOutput':{'type':_0x4022b2(0xc7,_0x42cb04._0x5bc827,_0x42cb04._0x2a5c21,-0x98)},'outputRegex':{'type':_0x4c269a(-0x8b,_0x42cb04._0x5d4948,_0x42cb04._0x1b7ba0,-_0x42cb04._0x5e134d),'description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':_0x4c269a(-0xf,_0x42cb04._0x1020ba,_0x42cb04._0x10dbb0,-_0x42cb04._0x5d5bcd)}},'required':[_0x4c269a(_0x42cb04._0x125f73,0x212,0x1c,_0x42cb04._0x2e3a17),'description']},async *'execute'(_0x2435d4,_0x27b365){const _0x584d27={_0xbbc77c:0x1cf,_0x39709b:0x1c6},_0x58f924={_0x2a41a8:0x18a},_0x16d8dc={_0x38c465:0x2ce,_0x2f220a:0x173,_0x5d569c:0x9d3},_0x2f6c84={_0x138e6f:0x349,_0x9af9db:0x1e6},_0x5c2c7d={_0x237a0b:0x443,_0x3f9fa9:0x4b1},_0xb783f5={_0x1aa8d0:0x14},_0x59c929={_0x38ba2e:0x9e,_0x4b8fc0:0x93},_0x5c452b={_0x50faf3:0x180},_0x498545=_0x2435d4[_0x51b427(_0x3125b8._0x2693f8,_0x3125b8._0x5e9a7f,_0x3125b8._0x55f102,_0x3125b8._0x8a5150)]??_0x39a0fe;if(!Number[_0x16c643(0x44a,_0x3125b8._0x3f1e0e,_0x3125b8._0x5d7b58,_0x3125b8._0x2cd1af)](_0x498545)||_0x498545<0x1)throw new ToolExecutionError(_0x16c643(_0x3125b8._0x3f4518,_0x3125b8._0xc71108,_0x3125b8._0x1d76c2,0x224),{'command':_0x2435d4['command']});throwIfAborted(_0x27b365[_0x16c643(0x4e2,_0x3125b8._0x24ac03,_0x3125b8._0x4efc13,_0x3125b8._0xf93656)]);const _0x46d3e8=_0x2435d4[_0x51b427(0x6fd,0x518,_0x3125b8._0x5d7b58,0x622)]??![],_0xd5275e=resolveBashExecutionTarget(_0x2435d4,{'defaultCwd':_0x488a51,'allowedDirs':_0x5d96ff,'shellPath':_0x56659d[_0x51b427(0x3f7,0x401,0x1fc,_0x3125b8._0x552546)]}),{cwd:_0x253d04,shellPath:_0x157e32}=_0xd5275e,_0x334853=buildShellArgs(_0x2435d4[_0x51b427(0x6bc,0x3a1,0x603,_0x3125b8._0x499c82)],_0x157e32),_0x532c2e=_0x3721c4[_0x51b427(_0x3125b8._0x47628e,_0x3125b8._0x4d9635,_0x3125b8._0x51e0f1,_0x3125b8._0x352ef6)]()===_0x16c643(0x2dc,0x3ca,0x521,0x541),_0x997c8e=buildChildEnv(_0x56659d[_0x16c643(0x397,0x231,0x34a,0x17f)],_0xcfbf3a,_0xdc0493);if(_0x2435d4[_0x51b427(_0x3125b8._0xeec89,_0x3125b8._0x33e1c4,_0x3125b8._0x41d154,0x604)]){if(!_0x443a4b)throw new ToolExecutionError(_0x51b427(_0x3125b8._0x359ffd,0x724,_0x3125b8._0x3098f3,0x645),{'command':_0x2435d4[_0x51b427(_0x3125b8._0x128162,0x3fa,0x6a5,_0x3125b8._0x5657c6)]});throwIfAborted(_0x27b365['signal']),await _0x56659d[_0x16c643(_0x3125b8._0x29e5fc,0x1cd,0x79,_0x3125b8._0x1a1bba)]?.(_0xd5275e,_0x27b365['executionAuthorization'],_0x27b365),throwIfAborted(_0x27b365[_0x16c643(_0x3125b8._0x382ec7,_0x3125b8._0x4f1af9,0x402,_0x3125b8._0x5f477c)]);const _0x5b2970=_0x443a4b[_0x51b427(0x647,_0x3125b8._0x17126b,0x694,0x4cd)]();let _0x1b42cb;try{_0x1b42cb=_0x170c0f(_0x157e32,_0x334853,{'cwd':_0x253d04,'env':_0x997c8e,'stdio':[_0x16c643(0x5a4,0x3e3,0x43f,0x27f),_0x16c643(0x136,0x337,0x1da,_0x3125b8._0x3e6efb),_0x16c643(0x3a0,0x337,0x3d7,0x37c)],'shell':![],'windowsHide':!![],'detached':!_0x532c2e});}catch(_0xbc1045){_0x443a4b[_0x16c643(_0x3125b8._0x4fac1b,_0x3125b8._0x51bdb8,0x214,0x3d3)](_0x5b2970);throw mapSpawnError(_0xbc1045,{'command':_0x2435d4[_0x16c643(_0x3125b8._0x2cc9ba,0x41e,_0x3125b8._0x5c8f7b,_0x3125b8._0x27efc2)],'cwd':_0x253d04,'shellPath':_0x157e32});}let _0x3d68b1;try{_0x3d68b1=_0x443a4b[_0x51b427(_0x3125b8._0x27edfa,0x457,_0x3125b8._0x3dbf13,0x496)](_0x5b2970,{'child':_0x1b42cb,'command':_0x2435d4[_0x16c643(_0x3125b8._0x522ec2,0x41e,_0x3125b8._0x1b6480,0x2da)],'cwd':_0x253d04,'stripAnsi':_0x469137,...!_0x532c2e&&_0x1b42cb['pid']!==void 0x0?{'processGroupId':_0x1b42cb[_0x51b427(_0x3125b8._0x343e51,_0x3125b8._0x817375,_0x3125b8._0x39ae00,_0x3125b8._0x25cc52)]}:{}});}catch(_0x49c0d3){_0x443a4b[_0x51b427(0x5c4,0x50c,0x490,_0x3125b8._0x48eee9)](_0x5b2970),_0x1b42cb[_0x51b427(_0x3125b8._0x3de94f,_0x3125b8._0x15b823,0x540,0x3b1)](_0x16c643(_0x3125b8._0x1c4731,0x41f,_0x3125b8._0x52a399,_0x3125b8._0x440e6d),()=>{});try{killProcessGroup(_0x1b42cb,_0x532c2e);}catch{}throw _0x49c0d3;}return createToolOutput(_0x51b427(0x7f7,_0x3125b8._0x29f3fb,_0x3125b8._0x3b126a,0x654)+_0x3d68b1['shellId']+_0x16c643(_0x3125b8._0x25bc92,0x553,_0x3125b8._0x500726,_0x3125b8._0x1cb527)+(_0x3d68b1[_0x51b427(_0x3125b8._0x1c05e3,0x6ba,0x4e1,0x509)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x3d68b1[_0x16c643(0x287,0x351,0x2af,_0x3125b8._0x38a4a3)],'status':_0x3d68b1['status'],'command':_0x3d68b1['command'],'description':_0x2435d4['description'],'cwd':_0x3d68b1[_0x51b427(_0x3125b8._0x15b9ce,_0x3125b8._0x4fec49,0x441,_0x3125b8._0x62585b)],'pid':_0x3d68b1[_0x16c643(0x48d,0x410,_0x3125b8._0x1ed60a,0x21d)]??null});}let _0x3b6a82,_0xcc5ab1;if(_0x2435d4[_0x51b427(_0x3125b8._0x4b563d,0x5d8,_0x3125b8._0xd75f6b,_0x3125b8._0x2a5611)]!==void 0x0)try{const _0x3e8bcd=new RegExp(_0x2435d4[_0x16c643(_0x3125b8._0xa90b4b,_0x3125b8._0x47dffa,0x36c,_0x3125b8._0x1730fe)]);_0x3b6a82={'regex':_0x3e8bcd,'trailingChunks':[]},_0xcc5ab1={'regex':_0x3e8bcd,'trailingChunks':[]};}catch(_0x30ab81){throw new ToolExecutionError(_0x51b427(_0x3125b8._0x29963a,_0x3125b8._0x54b3c2,_0x3125b8._0x4a4586,0x635)+(_0x30ab81 instanceof Error?_0x30ab81[_0x16c643(0x1d0,_0x3125b8._0xe1c1f2,0x58f,_0x3125b8._0x3054e2)]:String(_0x30ab81)),{'command':_0x2435d4[_0x51b427(_0x3125b8._0x54b677,0x3a5,0x65b,_0x3125b8._0x499c82)],'outputRegex':_0x2435d4['outputRegex']});}await _0x56659d[_0x51b427(_0x3125b8._0x27d4bc,0x158,0x4a4,_0x3125b8._0x1285c7)]?.(_0xd5275e,_0x27b365['executionAuthorization'],_0x27b365),throwIfAborted(_0x27b365[_0x16c643(0x5f9,0x4f7,0x3fb,_0x3125b8._0x2d7526)]);let _0xa8f2b7;try{_0xa8f2b7=_0x170c0f(_0x157e32,_0x334853,{'cwd':_0x253d04,'env':_0x997c8e,'stdio':_0x46d3e8?[_0x51b427(_0x3125b8._0x270a41,0x3d0,_0x3125b8._0x116c61,0x4dc),'ignore',_0x16c643(0x490,0x3e3,0x238,0x2fb)]:[_0x16c643(0x45a,_0x3125b8._0x5949f3,0x4c3,_0x3125b8._0x1c3b03),_0x51b427(_0x3125b8._0x35d969,0x57c,_0x3125b8._0x1b4373,_0x3125b8._0x5d1a94),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x532c2e});}catch(_0x2ce630){throw mapSpawnError(_0x2ce630,{'command':_0x2435d4[_0x16c643(_0x3125b8._0x33a0da,_0x3125b8._0x75a93c,0x489,_0x3125b8._0x388894)],'cwd':_0x253d04,'shellPath':_0x157e32});}const _0x2125d2=[],_0x5d264b=[],_0x162dc4=new _0x17b07e(_0x16c643(_0x3125b8._0xe78a39,_0x3125b8._0x130428,0x3a6,_0x3125b8._0x577a5d));function _0x16c643(_0x174d47,_0x4cef4f,_0x8f7e8b,_0x2d889e){return _0x4c269a(_0x8f7e8b,_0x4cef4f-0x20c,_0x8f7e8b-0x1ac,_0x2d889e-_0x5c452b._0x50faf3);}const _0x12fd7c=new _0x17b07e(_0x51b427(_0x3125b8._0xe79214,0x24d,0x174,0x2f9));function _0x51b427(_0x539390,_0x4f3170,_0x27b86d,_0x4bc8ff){return _0x4c269a(_0x4f3170,_0x4bc8ff-0x305,_0x27b86d-0x1e7,_0x4bc8ff-0x1a2);}let _0x3dcd8d,_0x2e1eb2=![],_0x95ae0f;const _0x2d0b0e=()=>{if(!_0x3dcd8d)return;const _0xffe66a=_0x3dcd8d;_0x3dcd8d=void 0x0,_0xffe66a();},_0x2fca0a=async()=>{if(_0x5d264b['length']>0x0||_0x2e1eb2)return;await new Promise(_0x5b8bea=>{_0x3dcd8d=_0x5b8bea;});},_0x543a67=_0x2b728b=>{function _0x12e14b(_0x318733,_0x2f251c,_0x23dab7,_0x5c8cd6){return _0x51b427(_0x318733-0x1e2,_0x23dab7,_0x23dab7-0x17,_0x2f251c- -0x264);}appendChunk(_0x2125d2,_0x5d264b,_0x162dc4[_0x12e14b(_0x59c929._0x38ba2e,0x25c,0x22a,_0x59c929._0x4b8fc0)](_0x2b728b),_0x469137,_0x2d0b0e,_0x3b6a82);},_0x56e097=_0x2573f6=>{function _0x42b072(_0x55a1ce,_0x42335b,_0x2e9636,_0x17e9ec){return _0x16c643(_0x55a1ce-_0xb783f5._0x1aa8d0,_0x55a1ce-0x7c,_0x42335b,_0x17e9ec-0x1a1);}appendChunk(_0x2125d2,_0x5d264b,_0x12fd7c[_0x42b072(_0x5c2c7d._0x237a0b,0x271,0x551,_0x5c2c7d._0x3f9fa9)](_0x2573f6),_0x469137,_0x2d0b0e,_0xcc5ab1);};_0xa8f2b7['stdout']?.['on']('data',_0x543a67),_0xa8f2b7['stderr']?.['on'](_0x16c643(0x396,0x434,_0x3125b8._0x4c132b,0x5ab),_0x56e097);let _0x310d2c=![],_0x3c79ef;const _0x263acd=addAbortListener(_0x27b365[_0x16c643(0x3bf,0x4f7,0x333,_0x3125b8._0x4f9695)],()=>{const _0x192454={_0x53459c:0x130};function _0x3272dc(_0x319a79,_0x687fbe,_0x3cd049,_0x641103){return _0x16c643(_0x319a79-0xdc,_0x319a79-_0x192454._0x53459c,_0x641103,_0x641103-0xb7);}function _0x275564(_0x3cc87c,_0x3513da,_0x1b0f42,_0x363a9a){return _0x16c643(_0x3cc87c-0x33,_0x3cc87c-_0x2f6c84._0x138e6f,_0x1b0f42,_0x363a9a-_0x2f6c84._0x9af9db);}_0x95ae0f=toAbortError(_0x27b365[_0x275564(0x840,0x7d6,0x878,0x87c)][_0x275564(0x709,_0x41f246._0x3af7bb,0x579,0x7b5)]),_0x2e1eb2=!![],_0x2d0b0e();try{killProcessGroup(_0xa8f2b7,_0x532c2e);}catch{}});try{const _0x1f7cea=new Promise((_0x5c6a9e,_0x29c6be)=>{const _0x4cb0f0={_0x5ae0d0:0x2d7},_0x816b97={_0x5c3f8f:0x4e9,_0x6c2e8c:0x1b0,_0x170053:0x2f0,_0x4fff07:0xde,_0x5e774c:0x5e,_0x1c7d89:0x226},_0x51db47=()=>{_0x3c79ef&&(clearTimeout(_0x3c79ef),_0x3c79ef=void 0x0);function _0xcc3c49(_0x3a3f2c,_0x4d166b,_0x4a50ed,_0x42fbfa){return _0x56d3(_0x4a50ed- -0x30f,_0x3a3f2c);}_0xa8f2b7[_0xc70a5(_0x816b97._0x5c3f8f,0x6c5,0x567,0x673)]('error',_0x1bc83d);function _0xc70a5(_0x4753cc,_0x513790,_0x3a8d65,_0x449e58){return _0x56d3(_0x513790-0x1ce,_0x3a8d65);}_0xa8f2b7[_0xcc3c49(_0x816b97._0x6c2e8c,_0x816b97._0x170053,0x1e8,_0x816b97._0x4fff07)](_0xcc3c49(_0x816b97._0x5e774c,0xac,-0x91,-_0x816b97._0x1c7d89),_0x2a3246);};function _0x4257b1(_0x1b2ebf,_0x32358d,_0x5f2f28,_0x22ac55){return _0x51b427(_0x1b2ebf-0x21,_0x32358d,_0x5f2f28-0x134,_0x1b2ebf- -0x37c);}const _0x1bc83d=_0x350ee1=>{_0x2e1eb2=!![],_0x2d0b0e(),_0x51db47(),_0x29c6be(_0x95ae0f??_0x350ee1);},_0x2a3246=(_0x2a45fe,_0x564edb)=>{const _0x4ea22a={_0x5d17b2:0x35d};_0x310d2c=!![],appendChunk(_0x2125d2,_0x5d264b,_0x162dc4[_0x54d2d8(_0x16d8dc._0x38c465,_0x16d8dc._0x2f220a,0x192,0x1dd)](),_0x469137,_0x2d0b0e,_0x3b6a82),appendChunk(_0x2125d2,_0x5d264b,_0x12fd7c[_0x111cf6(0x811,0x916,0x9a8,_0x16d8dc._0x5d569c)](),_0x469137,_0x2d0b0e,_0xcc5ab1),flushOutputRegex(_0x2125d2,_0x5d264b,_0x3b6a82,_0x2d0b0e),flushOutputRegex(_0x2125d2,_0x5d264b,_0xcc5ab1,_0x2d0b0e),_0x2e1eb2=!![];function _0x111cf6(_0x491ebc,_0x3d3c54,_0x277fcc,_0x5ddd68){return _0x56d3(_0x491ebc-_0x4ea22a._0x5d17b2,_0x5ddd68);}_0x2d0b0e(),_0x51db47();if(_0x95ae0f){_0x29c6be(_0x95ae0f);return;}function _0x54d2d8(_0x3f85a4,_0x711048,_0x3b6129,_0xd9937a){return _0x56d3(_0xd9937a- -_0x4cb0f0._0x5ae0d0,_0x3f85a4);}_0x5c6a9e({'code':_0x2a45fe,'signal':_0x564edb});};_0x3c79ef=setTimeout(()=>{const _0x59276c={_0x4732db:0x31f};function _0x43199c(_0x5d99f3,_0x921aee,_0x1d1db0,_0x49c197){return _0x56d3(_0x49c197- -_0x59276c._0x4732db,_0x921aee);}_0x2e1eb2=!![],_0x2d0b0e(),_0x51db47();try{killProcessGroup(_0xa8f2b7,_0x532c2e);}catch{}_0x29c6be(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0x498545+'\x20ms',{'command':_0x2435d4[_0x43199c(0x58,_0x58f924._0x2a41a8,0x2d4,0x138)],'cwd':_0x253d04,'shellPath':_0x157e32,'timeoutMs':_0x498545,'timedOut':!![]}));},_0x498545);function _0x2d93f6(_0x53f058,_0x379994,_0x3f07db,_0x46e472){return _0x51b427(_0x53f058-_0x584d27._0xbbc77c,_0x53f058,_0x3f07db-_0x584d27._0x39709b,_0x3f07db-0x2cd);}_0xa8f2b7[_0x2d93f6(0x87d,_0x137f81._0x4c1a16,0x67e,_0x137f81._0x72f316)]('error',_0x1bc83d),_0xa8f2b7[_0x2d93f6(_0x137f81._0x1d36da,_0x137f81._0x14a3cd,0x67e,_0x137f81._0x19ed59)]('close',_0x2a3246);});while(_0x5d264b['length']>0x0||!_0x2e1eb2){if(_0x5d264b[_0x16c643(_0x3125b8._0x53c05f,_0x3125b8._0x280898,_0x3125b8._0x2536c7,0x602)]===0x0){await _0x2fca0a();continue;}const _0x595c36=_0x5d264b[_0x16c643(0x4d9,0x550,0x719,0x72c)]();_0x595c36!==void 0x0&&(yield _0x595c36);}const _0x570bab=await _0x1f7cea,_0x38a7a4=_0x46d3e8?_0x51b427(0x23c,0x26e,0x3c4,_0x3125b8._0x8d687c)+(_0x570bab['code']??0x0):_0x2125d2['join'](''),_0x19daeb={'command':_0x2435d4[_0x51b427(0x694,_0x3125b8._0x3c500b,_0x3125b8._0x2fccd1,0x517)],'description':_0x2435d4['description'],'cwd':_0x253d04,'exitCode':_0x570bab[_0x51b427(0x508,_0x3125b8._0x5c1dad,_0x3125b8._0x1e4ced,0x67f)]??0x0,'signal':_0x570bab[_0x16c643(_0x3125b8._0x2cbbbd,_0x3125b8._0xe75998,_0x3125b8._0x527982,0x422)],'ignoreOutput':_0x46d3e8,'outputRegex':_0x2435d4[_0x16c643(0x564,0x497,0x3fc,0x5ec)]??null,'shellPath':_0x157e32,'timeoutMs':_0x498545};if(_0x570bab[_0x51b427(0x634,_0x3125b8._0x86b27c,_0x3125b8._0x341b87,_0x3125b8._0x121f8c)]!==0x0)throw new ToolExecutionError(_0x38a7a4||'Command\x20exited\x20with\x20code\x20'+(_0x570bab[_0x16c643(0x68e,_0x3125b8._0x1c137c,_0x3125b8._0x11bcba,0x51f)]??0x0),_0x19daeb);return createToolOutput(_0x38a7a4,_0x19daeb);}catch(_0x546842){while(_0x5d264b['length']>0x0){const _0x2b0059=_0x5d264b['shift']();_0x2b0059!==void 0x0&&(yield _0x2b0059);}if(_0x546842 instanceof ToolExecutionError)throw _0x546842;if(_0x95ae0f)throw _0x95ae0f;throw mapSpawnError(_0x546842,{'command':_0x2435d4[_0x51b427(_0x3125b8._0x550f57,0x37d,0x671,0x517)],'cwd':_0x253d04,'shellPath':_0x157e32});}finally{_0x3c79ef&&clearTimeout(_0x3c79ef);_0x263acd(),_0xa8f2b7[_0x51b427(_0x3125b8._0xb7471a,0x649,_0x3125b8._0x5d7b58,_0x3125b8._0x14dba6)]?.[_0x51b427(_0x3125b8._0x136795,_0x3125b8._0x90b888,0x404,0x5b7)](_0x51b427(_0x3125b8._0x1ebb25,0x48a,0x626,_0x3125b8._0x33ba97),_0x543a67),_0xa8f2b7[_0x16c643(0x62d,_0x3125b8._0x2d6ff8,0x6a6,0x607)]?.[_0x51b427(0x7c1,0x6e3,0x608,_0x3125b8._0x1057ac)](_0x51b427(_0x3125b8._0x3d4dae,_0x3125b8._0x297d78,_0x3125b8._0x473135,_0x3125b8._0x33ba97),_0x56e097);if(!_0x310d2c&&_0xa8f2b7[_0x16c643(0x28b,_0x3125b8._0x1cdb6b,_0x3125b8._0x3628a9,0x399)]&&!_0xa8f2b7['killed'])try{killProcessGroup(_0xa8f2b7,_0x532c2e);}catch{}}}});}function createShellExecTool(_0x116761={}){return createBashTool(_0x116761);}import{readdir as _0x1365fd,readFile as _0xb6a948}from'fs/promises';import{extname as _0x5f4344,join as _0x6f5347}from'path';import{open}from'fs/promises';import{dirname as _0x3f1a83,isAbsolute as _0xe4fbe0,join as _0x21124a,relative as _0x2333a7,resolve as _0x1bfa63}from'path';import{readdir as _0x243f35,readFile as _0x81e40}from'fs/promises';import{join as _0x5bdd91,relative as _0x26c6f8,sep}from'path';import{delimiter}from'path';import{mkdir as _0x467bb2,rm as _0x53554d,stat as _0x2b8dbe,writeFile as _0x5df6b5}from'fs/promises';import{hostname}from'os';import{dirname as _0x419574}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x1c59d6,readFile as _0x416d2f,rename as _0x946e7d,rm as _0x29ec0b,stat as _0x2c12f4,writeFile as _0x436b02}from'fs/promises';import{homedir as _0x125ec6}from'os';import{dirname as _0x19edfa,isAbsolute as _0x3e2243,join as _0x1f8fa2,resolve as _0x20de34}from'path';import{parse as _0x58aeee,stringify as _0x2ecf6d}from'yaml';import{randomUUID as _0x4f3a4f}from'crypto';import{cp,lstat,mkdir as _0x33d6ea,readdir as _0x1c6123,readFile as _0x676ffe,rename as _0x3dbbad,rm as _0x2de658,writeFile as _0x3c871c}from'fs/promises';import{homedir}from'os';import{join as _0x3465a0}from'path';import{parse as _0x4257ed,stringify as _0x174ec2}from'yaml';import{z}from'zod';import{readdir as _0x340d18,readFile as _0x34ff18}from'fs/promises';import{join as _0x228dca}from'path';import{randomUUID as _0x2d9431}from'crypto';import{mkdir as _0x115ea9,readdir as _0x727e72,readFile as _0x4064ca,rename as _0x391869,rm as _0x463726,writeFile as _0x35bf8d}from'fs/promises';import{homedir as _0x54a7e9}from'os';import{basename as _0x59a981,isAbsolute as _0x5f3d57,join as _0x31631c,relative as _0x8743f8,resolve as _0x907ba9}from'path';import{parse as _0x4b285f,stringify as _0x2fc503}from'yaml';import{delimiter as _0x624cd4,resolve as _0x289354}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x30b865(0xc3,0x341,0x19c,0x64)](Object[_0x511cdd(0x237,0x575,0x570,0x3cb)]),_0x511cdd(0x214,0x3cf,0x514,0x3cb)]);function isValidAgentModelSetName(_0xcc57ea){const _0x2f1b6f={_0x1cf093:0x60c,_0x46dea7:0xa26,_0x236302:0x817},_0x55f16c={_0x1d8128:0x11,_0xc939bf:0x437};function _0x486800(_0xcd0e57,_0x2d0550,_0x13ff57,_0x338fa8){return _0x511cdd(_0xcd0e57-0x162,_0x2d0550-_0x55f16c._0x1d8128,_0x13ff57,_0x338fa8-_0x55f16c._0xc939bf);}return AGENT_MODEL_SET_NAME_PATTERN[_0x486800(_0x2f1b6f._0x1cf093,0x6c4,_0x2f1b6f._0x46dea7,_0x2f1b6f._0x236302)](_0xcc57ea)&&!PROTOTYPE_SENSITIVE_NAMES['has'](_0xcc57ea);}function parseProviderQualifiedModelSelector(_0x24b5a6){const _0x5218cd={_0x2f4b35:0x843,_0x2815ab:0x884,_0x1d812:0x3e8,_0x50afea:0x562,_0x36c2fd:0x5b1,_0x76eda7:0x724,_0x1c0778:0x92,_0x3173d7:0x2,_0x22ed3f:0x6d1,_0x25aff4:0x640,_0x1b296a:0x3fb,_0x3c4198:0x1c3,_0x47a909:0x31b,_0x184c2c:0x246,_0x31943d:0x1ef,_0xce2ea4:0x3bb},_0x1e89bc={_0x45de50:0x1ef,_0x3d7fae:0x1ad,_0x4a951c:0x44d},_0x2423a5={_0x145b67:0xdb,_0x2f801c:0x9,_0x470a58:0x115};function _0x193f35(_0x3823fa,_0x3c5b14,_0x4587e2,_0x40ac85){return _0x30b865(_0x3823fa-_0x2423a5._0x145b67,_0x3823fa,_0x3c5b14- -_0x2423a5._0x2f801c,_0x40ac85-_0x2423a5._0x470a58);}if(_0x24b5a6!==_0x24b5a6[_0x315ac5(_0x5218cd._0x2f4b35,0x6c1,0x8aa,_0x5218cd._0x2815ab)]())return void 0x0;const _0x1e1e72=_0x24b5a6[_0x315ac5(_0x5218cd._0x1d812,0x603,_0x5218cd._0x50afea,_0x5218cd._0x36c2fd)](':');function _0x315ac5(_0x176d79,_0x5cc5bf,_0x597034,_0x31d3dd){return _0x511cdd(_0x176d79-_0x1e89bc._0x45de50,_0x5cc5bf-_0x1e89bc._0x3d7fae,_0x5cc5bf,_0x31d3dd-_0x1e89bc._0x4a951c);}if(_0x1e1e72<=0x0||_0x1e1e72===_0x24b5a6[_0x315ac5(_0x5218cd._0x76eda7,0x7d3,0x6c1,0x83a)]-0x1)return void 0x0;const _0x5b1f8f=_0x24b5a6[_0x193f35(_0x5218cd._0x1c0778,_0x5218cd._0x3173d7,0xb2,-0x1ad)](0x0,_0x1e1e72),_0x26c449=_0x24b5a6[_0x315ac5(0x6c5,0x714,_0x5218cd._0x22ed3f,_0x5218cd._0x25aff4)](_0x1e1e72+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x193f35(0x392,0x1ef,0x3a2,_0x5218cd._0x1b296a)](_0x5b1f8f)||PROTOTYPE_SENSITIVE_NAMES[_0x193f35(_0x5218cd._0x3c4198,0x214,0x296,_0x5218cd._0x47a909)](_0x5b1f8f)||_0x26c449!==_0x26c449[_0x193f35(0x1ee,_0x5218cd._0x184c2c,0x373,0x177)]()||/[\u0000-\u001F\u007F-\u009F]/u[_0x193f35(0x2cc,_0x5218cd._0x31943d,0x10f,_0x5218cd._0xce2ea4)](_0x26c449))return void 0x0;return{'provider':_0x5b1f8f,'model':_0x26c449};}function tokenizeCommandArguments(_0x53d5cf){const _0x2d021e={_0x2688fe:0x6c3,_0x4bfd4e:0x63f,_0x32202b:0x724,_0x2fd446:0x924,_0x45e745:0x643,_0x24d2d1:0x724,_0x9477a3:0x5fe,_0x3cee52:0x4e1,_0x1ba104:0x6b0,_0x2836d3:0x551,_0x53315a:0x541},_0x3e7104=[];let _0x20d3a7='',_0x367ab1=0x0;while(_0x367ab1<_0x53d5cf[_0x50211d(0x70c,_0x2d021e._0x2688fe,0x52a,_0x2d021e._0x4bfd4e)]){const _0x16dc68=_0x53d5cf[_0x367ab1];if(_0x16dc68==='\x5c'&&_0x367ab1+0x1<_0x53d5cf['length'])_0x20d3a7+=_0x53d5cf[_0x367ab1+0x1],_0x367ab1+=0x2;else{if(_0x16dc68==='\x22'||_0x16dc68==='\x27'){const _0x381181=_0x16dc68;_0x367ab1++;while(_0x367ab1<_0x53d5cf[_0x2fae8e(_0x2d021e._0x32202b,0x629,_0x2d021e._0x2fd446,_0x2d021e._0x45e745)]&&_0x53d5cf[_0x367ab1]!==_0x381181){_0x53d5cf[_0x367ab1]==='\x5c'&&_0x367ab1+0x1<_0x53d5cf[_0x2fae8e(_0x2d021e._0x24d2d1,0x74d,_0x2d021e._0x9477a3,0x5c2)]?(_0x20d3a7+=_0x53d5cf[_0x367ab1+0x1],_0x367ab1+=0x2):(_0x20d3a7+=_0x53d5cf[_0x367ab1],_0x367ab1++);}_0x367ab1++;}else _0x16dc68!==void 0x0&&/\s/['test'](_0x16dc68)?(_0x20d3a7&&(_0x3e7104[_0x50211d(_0x2d021e._0x3cee52,_0x2d021e._0x1ba104,_0x2d021e._0x2836d3,0x641)](_0x20d3a7),_0x20d3a7=''),_0x367ab1++):(_0x20d3a7+=_0x16dc68,_0x367ab1++);}}if(_0x20d3a7)_0x3e7104[_0x2fae8e(0x711,0x82e,_0x2d021e._0x53315a,0x7af)](_0x20d3a7);function _0x50211d(_0x27ee26,_0xf244f1,_0x4862ce,_0x209103){return _0x30b865(_0x27ee26-0x1db,_0x27ee26,_0xf244f1-0x4be,_0x209103-0x12);}function _0x2fae8e(_0x4044e0,_0x211018,_0x2bfb77,_0x11f783){return _0x511cdd(_0x4044e0-0x13b,_0x211018-0x9b,_0x11f783,_0x4044e0-0x337);}return _0x3e7104;}function renderCommandInstructions(_0xf3ae04){const _0x2d4734={_0x4ee56b:0x610,_0x77148:0x5ad,_0x411856:0x15b,_0x5af126:0x145,_0x3f206e:0x122,_0x438444:0x2d3,_0x2344a0:0x68a,_0x3011dd:0x6fa,_0x5aa38e:0x631,_0x150ebd:0x7c7,_0x12e0c0:0x92,_0x1e409f:0x8f0,_0x219038:0x83e,_0x1d8818:0x81c,_0x10c47d:0x77d},_0x5f1b3c={_0x5d492a:0x66b,_0x2cbeb6:0x29},_0x8a26d7={_0x4cbca1:0x53,_0x3e0c27:0x6},_0x4618f8={_0x52cca1:0x53};let _0x5a5a6a=_0xf3ae04['instructions'],_0x22c396=![];const _0x54bff4=tokenizeCommandArguments(_0xf3ae04[_0x834550(_0x2d4734._0x4ee56b,_0x2d4734._0x77148,0x5e1,0x588)]);_0x5a5a6a=_0x5a5a6a['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0x528d20,_0xd518ea)=>{return _0x22c396=!![],_0x54bff4[Number(_0xd518ea)]??'';});function _0xb2953b(_0x1ba8c8,_0x1e5532,_0x2b40d4,_0x35008f){return _0x511cdd(_0x1ba8c8-0x106,_0x1e5532-_0x4618f8._0x52cca1,_0x1ba8c8,_0x1e5532- -0x278);}_0x5a5a6a=_0x5a5a6a[_0xb2953b(_0x2d4734._0x411856,0x143,_0x2d4734._0x5af126,0x22a)](/\$ARGUMENTS\b/g,()=>{const _0x549185={_0x1f37f0:0x5d,_0x2ef62a:0x128};function _0x540cb9(_0x113f42,_0x3c1f35,_0x3ffab4,_0x5e71bc){return _0xb2953b(_0x3c1f35,_0x113f42-_0x549185._0x1f37f0,_0x3ffab4-0x2,_0x5e71bc-_0x549185._0x2ef62a);}return _0x22c396=!![],_0xf3ae04[_0x540cb9(-0xbd,-_0x8a26d7._0x4cbca1,-_0x8a26d7._0x3e0c27,-0x1c7)];});if(_0xf3ae04[_0xb2953b(0x1a9,_0x2d4734._0x3f206e,0x19d,0x28a)]&&_0xf3ae04['argumentNames'][_0xb2953b(0x2d3,0x175,_0x2d4734._0x438444,-0x67)]>0x0)for(let _0x1b93af=0x0;_0x1b93af<_0xf3ae04[_0x834550(_0x2d4734._0x2344a0,_0x2d4734._0x3011dd,0x81d,0x719)][_0x834550(0x7d7,0x6be,0x870,0x8a9)];_0x1b93af++){const _0x95ce09=_0xf3ae04[_0x834550(_0x2d4734._0x5aa38e,0x929,0x81d,_0x2d4734._0x150ebd)][_0x1b93af];if(_0x95ce09){const _0x182ab6=new RegExp('\x5c$'+_0x95ce09+'\x5cb','g');_0x5a5a6a=_0x5a5a6a[_0xb2953b(0x2f2,0x143,0x188,_0x2d4734._0x12e0c0)](_0x182ab6,()=>{return _0x22c396=!![],_0x54bff4[_0x1b93af]??'';});}}_0x5a5a6a=_0x5a5a6a[_0x834550(_0x2d4734._0x1e409f,0x8e1,_0x2d4734._0x219038,_0x2d4734._0x1d8818)](/\$(\d+)\b/g,(_0x12aaef,_0x44eb5f)=>{return _0x22c396=!![],_0x54bff4[Number(_0x44eb5f)]??'';});!_0x22c396&&_0xf3ae04[_0xb2953b(0x23,-0x11a,0x75,-0x25d)]['trim']()&&(_0x5a5a6a=_0x5a5a6a+_0x834550(_0x2d4734._0x10c47d,0x800,0x732,0x619)+_0xf3ae04['argumentsText']);function _0x834550(_0x42378c,_0x48a882,_0x41ae83,_0x5ed0c6){return _0x30b865(_0x42378c-0x31,_0x5ed0c6,_0x41ae83-_0x5f1b3c._0x5d492a,_0x5ed0c6-_0x5f1b3c._0x2cbeb6);}return _0x5a5a6a;}var PROVIDER_API_KEY_ENVS=[{'env':_0x511cdd(0x204,0x2aa,0x52f,0x351),'provider':'openrouter'},{'env':'ANTHROPIC_API_KEY','provider':_0x511cdd(0x48c,0x2b8,0x42b,0x424)},{'env':_0x511cdd(0x3c8,0x69b,0x2e9,0x49f),'provider':_0x30b865(-0xdf,0x12e,0x73,-0x7d)},{'env':'GITHUB_TOKEN','provider':_0x30b865(0xeb,-0x185,0x73,-0x157)},{'env':_0x30b865(-0x40,-0x1ac,-0x37,0xd7),'provider':_0x30b865(-0x16e,-0xd0,0x28,0x4b)},{'env':'DEEPINFRA_API_KEY','provider':'deepinfra'},{'env':'ZAI_API_KEY','provider':'zai'},{'env':_0x511cdd(0x389,0x442,0x39b,0x322),'provider':'moonshot'},{'env':_0x30b865(0x7f,0x30e,0x10a,0xcf),'provider':'minimax'},{'env':_0x30b865(0x217,0x37a,0x239,0x15c),'provider':'kimi'},{'env':_0x30b865(-0x169,0x86,0xa,-0x106),'provider':_0x30b865(-0xc0,-0x75,-0x35,-0xc4)},{'env':'DEEPSEEK_API_KEY','provider':_0x511cdd(0x617,0x269,0x2e6,0x464)},{'env':_0x511cdd(0xc5,0x1a3,0x97,0x229),'provider':_0x511cdd(0x4f2,0x478,0x274,0x40a)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x511cdd(0x3ab,0x3b2,0x482,0x4e0)](_0x589b3d=>_0x589b3d[_0x511cdd(0x208,0x1a6,0xc4,0x1a6)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x511cdd(0x9c,-0x5a,0x2de,0x191),'GOOGLE_CSE_KEY',_0x511cdd(0x463,0x387,0x487,0x425)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x511cdd(0x409,0x2d3,0x10d,0x22c),'ENV',_0x30b865(-0x12,-0x226,-0x26,-0x10),'BASHOPTS','CDPATH',_0x511cdd(0x181,0x463,0x19c,0x26e)],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x511cdd(0x4c8,0x1e4,0x569,0x384)](Object[_0x511cdd(0x33e,0x58b,0x4f0,0x3cb)]),'prototype']),PRODUCTION_FILE_EDIT_MODES=[_0x30b865(-0x19a,-0xa3,0x48,0x1d2),_0x30b865(0x104,0x261,0x2bd,0x251),_0x511cdd(0xa0,-0x1f,0x0,0x165)];function _0x30b865(_0x2fae42,_0x3b556f,_0x11ed29,_0x136608){const _0x52d896={_0x5567cc:0x2ac};return _0x56d3(_0x11ed29- -_0x52d896._0x5567cc,_0x3b556f);}function prototypeSafeRecord(_0x6d4a7f){const _0x24c76b={_0x13e5a2:0x509,_0x545822:0x30c,_0x481e5c:0x570,_0x7cf9a:0x715,_0x46cc96:0x86e,_0xbc6071:0x5f6,_0x435754:0x573,_0x345025:0x6b9,_0x38bc8d:0x548},_0x1a7e80={_0x37bb2a:0x483,_0xe68ac3:0x3e9,_0x2ebcf7:0x465,_0x25a3fa:0x5ce,_0xa651c3:0x56c,_0x29bde0:0x603,_0x866e5a:0x45f},_0x53c497={_0x1c92fc:0xa2},_0x267dfc={_0x3aa81d:0x1b9,_0x130320:0x117,_0x167fca:0x14a},_0x38871f={_0x423d33:0x199};function _0x4f0d4c(_0x4f26d6,_0x3dc990,_0x1f291b,_0x4bf425){return _0x511cdd(_0x4f26d6-_0x38871f._0x423d33,_0x3dc990-0xde,_0x3dc990,_0x4f26d6-0x259);}function _0x33c9f3(_0x2871dd,_0x392546,_0x5919b2,_0x745a08){return _0x30b865(_0x2871dd-_0x267dfc._0x3aa81d,_0x2871dd,_0x392546- -_0x267dfc._0x130320,_0x745a08-_0x267dfc._0x167fca);}return z['preprocess'](_0x15aa6d=>{if(_0x15aa6d===null||typeof _0x15aa6d!==_0x40c922(_0x1a7e80._0x37bb2a,_0x1a7e80._0xe68ac3,_0x1a7e80._0x2ebcf7,0x3d0)||Array[_0x40c922(0x74f,_0x1a7e80._0x25a3fa,0x568,_0x1a7e80._0xa651c3)](_0x15aa6d))return null;const _0x45bddc=Object['getPrototypeOf'](_0x15aa6d);if(_0x45bddc!==Object[_0x40c922(0x59e,0x3ed,_0x1a7e80._0x29bde0,0x4eb)]&&_0x45bddc!==null)return null;function _0x3b67ad(_0x44ca80,_0x25763e,_0x10d5b0,_0x29de20){return _0x56d3(_0x10d5b0- -_0x53c497._0x1c92fc,_0x44ca80);}function _0x40c922(_0xfcb88f,_0x55cfaf,_0x500638,_0x25bec5){return _0x56d3(_0x25bec5-0x5c,_0xfcb88f);}return{'entries':Object[_0x3b67ad(0x1fb,0x3e8,0x3aa,_0x1a7e80._0x866e5a)](_0x15aa6d)};},z[_0x4f0d4c(_0x24c76b._0x13e5a2,_0x24c76b._0x545822,_0x24c76b._0x481e5c,0x637)]({'entries':z[_0x4f0d4c(_0x24c76b._0x7cf9a,_0x24c76b._0x46cc96,0x740,0x82c)](z[_0x4f0d4c(_0x24c76b._0xbc6071,_0x24c76b._0x435754,0x434,_0x24c76b._0x345025)]([z['string'](),_0x6d4a7f]))}))[_0x4f0d4c(0x6c1,_0x24c76b._0x38bc8d,0x73e,0x7dd)](({entries:_0x223828})=>Object[_0x4f0d4c(0x534,0x729,0x608,0x702)](_0x223828));}var chatModelAuthSchemeSchema=z[_0x511cdd(0x571,0x5a1,0x417,0x3c0)]([_0x511cdd(0x1ce,0x108,0x2ee,0x273),_0x30b865(0x295,0x99,0x240,0x2a9)]),apiKeyAuthSchema=z[_0x511cdd(0x3bf,0x467,0x47f,0x2b0)]({'type':z[_0x30b865(0x27a,0x287,0x99,0x21e)]('apiKey'),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x30b865(0x564,0x3e4,0x360,0x440)]()})[_0x30b865(0xcb,0x304,0xff,0x23)](),oauthAuthSchema=z[_0x30b865(0x96,-0xc1,0xc8,0x9e)]({'type':z[_0x30b865(-0xb2,0x17,0x99,0x79)]('oauth'),'access':z['string'](),'refresh':z[_0x30b865(-0x1f3,0x132,-0x5f,-0xf9)](),'expires':z[_0x30b865(0x111,0x3e6,0x2f3,0x100)]()['optional'](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x30b865(0xa7,-0xe7,0xff,0xb8)](),finiteNonNegative=z[_0x511cdd(0x534,0x66e,0x50f,0x4db)]()['finite']()['nonnegative'](),chatGptAuthSchema=z[_0x30b865(0x16c,0xfe,0xc8,-0xe)]({'type':z[_0x511cdd(0x169,0x407,0x3d8,0x281)](_0x30b865(0x4d1,0x258,0x31a,0x28c)),'access':z[_0x511cdd(0x11b,0x41,-0x84,0x189)]()[_0x30b865(-0x1c0,-0x9e,-0x5b,0x2e)](0x1),'refresh':z[_0x511cdd(0xe5,0x64,-0x1,0x189)]()[_0x30b865(-0x93,0x170,-0x5b,0x6d)](0x1),'idToken':z[_0x30b865(-0x168,0xb5,-0x5f,-0xab)]()[_0x511cdd(0x17,0x24f,0x1a1,0x18d)](0x1),'accountId':z[_0x511cdd(0x38c,0x1a3,0x1b8,0x189)]()[_0x511cdd(0x8,0x164,0x2ae,0x18d)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x511cdd(0x5bd,0x42b,0x737,0x548)]()})[_0x30b865(0x204,-0xfa,0xff,0x264)](),authMethodSchema=z[_0x511cdd(0x10f,0x266,0x73,0x26f)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x30b865(0x21b,0x327,0x1d8,0xa2)]([_0x511cdd(0x12a,0x3cb,0xa0,0x224),_0x511cdd(0xe6,0x13e,0x16e,0x2d2),_0x30b865(0x324,0xbc,0x20e,0x206),'high',_0x511cdd(-0x3,-0x48,0xe1,0x162),_0x511cdd(0x1a4,0x1b3,0x16a,0x214)]),reasoningOptionSchema=z[_0x511cdd(0x120,0x21e,0x1f9,0x2b0)]({'id':z['string']()[_0x30b865(0x2a9,0x178,0x24f,0x1af)]()[_0x511cdd(-0x26,0x278,0x337,0x18d)](0x1),'description':z[_0x30b865(-0x1ee,-0xc4,-0x5f,0x24)]()[_0x511cdd(0x38c,0x4d4,0x463,0x548)](),'mode':z[_0x30b865(-0x2f,0x355,0x1d8,0x224)]([_0x30b865(0xbc,0x29f,0x94,0x289),_0x30b865(0x41f,0x2ba,0x34b,0x417)])[_0x511cdd(0x456,0x6fb,0x6ae,0x548)](),'effort':reasoningEffortSchema[_0x30b865(0x518,0x489,0x360,0x55d)](),'budgetTokens':z[_0x30b865(0x13b,0x12f,0x2f3,0x2c0)]()[_0x511cdd(0x8a,0x1fe,0x36f,0x22e)]()[_0x511cdd(0x77,0x35c,0x2d1,0x18d)](0x400)[_0x30b865(0x500,0x167,0x360,0x15e)]()})['superRefine']((_0x5cc293,_0x39518a)=>{const _0x5f259a={_0x4c0f0d:0x37c,_0xcaff48:0x142,_0x75a36f:0x112,_0x2c5016:0xc9,_0x18a761:0x17a,_0x4e74b3:0x3a1,_0x234e14:0x20f,_0x4bcabc:0x3d2,_0x7f297a:0x271,_0xeb18df:0x15d,_0x1c364c:0x1d3,_0x105bad:0x158,_0x16f640:0x2d1,_0x125002:0x343,_0x1d9782:0x4ea,_0xfa02dd:0x6da,_0x7a61a6:0x308,_0x3885b9:0x468,_0x17278f:0x359,_0x4b7ba9:0x345,_0x132342:0x3bb,_0x5504e7:0x3b5,_0x13ff3a:0x67,_0x1fd2a7:0x141,_0x4d0143:0x104,_0x4e9cff:0x340,_0x345c54:0x217,_0x493ac6:0x1ee,_0x4549a2:0x9f,_0xa86bc9:0x326,_0x5dd854:0xd7,_0x2fade3:0x93,_0x47f6d1:0x3b,_0x4ccc55:0x1df,_0x453353:0x54,_0xf2b680:0x2d6,_0x347e1a:0xd0,_0x2430f5:0xc7,_0x494a13:0x35c,_0x1a28f6:0x362,_0x209095:0x2cf,_0xd82ec4:0x337,_0x17e35c:0x36c,_0x3dd003:0x21d,_0x166db4:0x2ca,_0x5adcc0:0x103,_0x59e3d2:0xab,_0x13b2e0:0x1eb,_0x248b4c:0x34,_0x5a9537:0x55},_0x510fdd={_0x12ac6b:0x1bd,_0x3a9f78:0x1b2},_0xec4383={_0x9eca85:0x321},_0x1af900=_0x5cc293['id'][_0x589cab(0x412,0x4b2,0x3e0,_0x5f259a._0x4c0f0d)]();function _0x5d3823(_0x351f68,_0x9f9792,_0x38f064,_0x1387e0){return _0x511cdd(_0x351f68-0x7a,_0x9f9792-0x1ec,_0x38f064,_0x9f9792- -_0xec4383._0x9eca85);}(_0x1af900===_0x5d3823(_0x5f259a._0xcaff48,_0x5f259a._0x75a36f,0x24f,0x104)||_0x1af900===_0x5d3823(_0x5f259a._0x2c5016,-0xe5,-0x225,-_0x5f259a._0x18a761)||_0x1af900===_0x589cab(0x393,_0x5f259a._0x4e74b3,0x385,_0x5f259a._0x234e14))&&_0x39518a[_0x589cab(0x4b8,0x3bb,_0x5f259a._0x4bcabc,_0x5f259a._0x7f297a)]({'code':_0x5d3823(-_0x5f259a._0xeb18df,-0xab,-0x2,-_0x5f259a._0x1c364c),'path':['id'],'message':_0x589cab(_0x5f259a._0x105bad,_0x5f259a._0x16f640,_0x5f259a._0x125002,0x3ec)+_0x1af900+_0x589cab(0x382,_0x5f259a._0x1d9782,0x3a9,0x516)});if(_0x5cc293[_0x5d3823(0x291,0x153,0x11,0x2dc)]===_0x589cab(0x386,0x4fd,0x6a5,_0x5f259a._0xfa02dd)){_0x5cc293[_0x589cab(_0x5f259a._0x7a61a6,0x502,_0x5f259a._0x3885b9,_0x5f259a._0x17278f)]===void 0x0&&_0x39518a[_0x589cab(_0x5f259a._0x4b7ba9,_0x5f259a._0x132342,0x30d,_0x5f259a._0x5504e7)]({'code':_0x5d3823(-_0x5f259a._0x13ff3a,-0xab,-_0x5f259a._0x1fd2a7,-_0x5f259a._0x4d0143),'path':[_0x5d3823(_0x5f259a._0x4e9cff,_0x5f259a._0x345c54,_0x5f259a._0x493ac6,0x20e)],'message':_0x5d3823(_0x5f259a._0x4549a2,0x3b,-0x159,-0x126)});_0x5cc293[_0x589cab(0x3bb,0x2c0,_0x5f259a._0xa86bc9,0x163)]!==void 0x0&&_0x39518a['addIssue']({'code':_0x5d3823(-_0x5f259a._0x5dd854,-0xab,_0x5f259a._0x2fade3,-0x32),'path':[_0x5d3823(_0x5f259a._0x47f6d1,-0x2b,-0x1b4,-_0x5f259a._0x4ccc55)],'message':'Manual\x20reasoning\x20cannot\x20set\x20effort'});return;}function _0x589cab(_0x3e6197,_0x38f929,_0x22d110,_0x5dce40){return _0x30b865(_0x3e6197-_0x510fdd._0x12ac6b,_0x5dce40,_0x38f929-_0x510fdd._0x3a9f78,_0x5dce40-0x5e);}_0x5cc293[_0x5d3823(_0x5f259a._0x453353,_0x5f259a._0x345c54,0x1e3,0x264)]!==void 0x0&&_0x39518a[_0x5d3823(_0x5f259a._0xf2b680,_0x5f259a._0x347e1a,0x1d4,-_0x5f259a._0x2430f5)]({'code':'custom','path':[_0x5d3823(_0x5f259a._0x494a13,_0x5f259a._0x345c54,0x97,0x2b)],'message':_0x589cab(_0x5f259a._0x1a28f6,_0x5f259a._0x209095,_0x5f259a._0xd82ec4,_0x5f259a._0x17e35c)}),_0x5cc293['mode']===void 0x0&&_0x5cc293['effort']===void 0x0&&_0x39518a[_0x5d3823(_0x5f259a._0x3dd003,_0x5f259a._0x347e1a,0x225,_0x5f259a._0x166db4)]({'code':_0x5d3823(_0x5f259a._0x5adcc0,-_0x5f259a._0x59e3d2,-0x115,0x81),'path':['effort'],'message':_0x589cab(0x6c,_0x5f259a._0x13b2e0,_0x5f259a._0x248b4c,_0x5f259a._0x5a9537)});});function validateReasoningOptionIds(_0x295e2d,_0x19d911){const _0x5bd8e5={_0x17758b:0x893,_0x401d6c:0x8a9,_0x441a5a:0x98b,_0x4d86c7:0x9a8,_0x2680b3:0x784,_0xf68e38:0x9bf,_0x55be4b:0xd,_0x3f0040:0x16f,_0x24f1cc:0x2a6,_0x154d7b:0x1d0,_0x4b655a:0x168,_0x384473:0x35,_0x23dfcd:0x511,_0x5e31c2:0x72b,_0x1f0630:0x6f1},_0x25a16e={_0x441945:0x1d8,_0x5caa6a:0x9a,_0x3de1b7:0xf},_0x58ea38=new Set();function _0x2696b4(_0x355ee8,_0x575d11,_0x25302a,_0x1ce6a1){return _0x30b865(_0x355ee8-_0x25a16e._0x441945,_0x575d11,_0x25302a- -_0x25a16e._0x5caa6a,_0x1ce6a1-_0x25a16e._0x3de1b7);}function _0x16e06e(_0x30efc1,_0x538e90,_0x1bf7c7,_0x6f677a){return _0x30b865(_0x30efc1-0x198,_0x538e90,_0x30efc1-0x68b,_0x6f677a-0x1b3);}for(let _0x3e72be=0x0;_0x3e72be<_0x295e2d[_0x16e06e(0x890,_0x5bd8e5._0x17758b,_0x5bd8e5._0x401d6c,0x9a3)];_0x3e72be+=0x1){const _0x1b9962=_0x295e2d[_0x3e72be]?.['id'][_0x16e06e(_0x5bd8e5._0x441a5a,_0x5bd8e5._0x4d86c7,_0x5bd8e5._0x2680b3,_0x5bd8e5._0xf68e38)]();if(!_0x1b9962)continue;if(_0x58ea38['has'](_0x1b9962)){_0x19d911[_0x2696b4(0x20d,-_0x5bd8e5._0x55be4b,_0x5bd8e5._0x3f0040,_0x5bd8e5._0x24f1cc)]({'code':_0x2696b4(-_0x5bd8e5._0x154d7b,_0x5bd8e5._0x4b655a,-0xc,_0x5bd8e5._0x384473),'path':[_0x16e06e(0x615,_0x5bd8e5._0x23dfcd,0x7d8,_0x5bd8e5._0x5e31c2),_0x3e72be,'id'],'message':_0x16e06e(0x7f3,0x77b,_0x5bd8e5._0x1f0630,0x868)+_0x1b9962+'\x22'});continue;}_0x58ea38['add'](_0x1b9962);}}var providerReasoningConfigSchema=z['object']({'options':z['array'](reasoningOptionSchema)})[_0x30b865(-0x10f,0x2e2,0xd5,-0xc0)]((_0x1a4a8a,_0x253f6a)=>{const _0x4d812b={_0x12341b:0x3cd},_0x5083a5={_0xc3df92:0x5e,_0x46181c:0x1ce};function _0x15031d(_0x237b82,_0x2f3e36,_0xe867e3,_0x15e716){return _0x511cdd(_0x237b82-_0x5083a5._0xc3df92,_0x2f3e36-_0x5083a5._0x46181c,_0x15e716,_0x237b82-0x2e0);}validateReasoningOptionIds(_0x1a4a8a[_0x15031d(0x452,0x2ae,_0x4d812b._0x12341b,0x2a5)],_0x253f6a);}),modelReasoningConfigSchema=z['object']({'defaultOption':z['string']()[_0x511cdd(0x3b8,0x480,0x4fa,0x437)]()[_0x30b865(-0xb,-0x22,-0x5b,-0x107)](0x1)[_0x30b865(0x16f,0x440,0x360,0x187)](),'canDisable':z[_0x511cdd(0x1c1,0x1bc,0x493,0x2df)]()[_0x511cdd(0x571,0x6d5,0x724,0x548)](),'options':z[_0x511cdd(0x2e2,0x3a9,0x2fb,0x4bc)](reasoningOptionSchema)})[_0x511cdd(0x192,0x252,0x4d0,0x2bd)]((_0x28fc0f,_0x401289)=>{const _0x1fbdf4={_0x5e764a:0x4ca,_0x5e61d7:0xa1d,_0x58751a:0x93f,_0x52d0b7:0x58c,_0x436556:0x6d4,_0x1e5454:0x667,_0x34f65e:0x84f,_0x39944f:0x732,_0x37d2e1:0x677,_0x3f3d4a:0x7ef,_0x21bf58:0x3fa,_0x3b5949:0x793,_0xc34734:0x6b0,_0x378561:0x676,_0x3c6c71:0x923,_0x5d82de:0x761,_0x504a2e:0x874,_0x430e69:0x5e1,_0x3f28bc:0x6a0},_0x3c90f6={_0x3eba15:0x1d2};validateReasoningOptionIds(_0x28fc0f[_0x166425(0x4c9,0x395,0x2a8,0x2cb)],_0x401289);const _0x30c348=_0x28fc0f[_0x166425(_0x1fbdf4._0x5e764a,0x5b9,0x6c1,0x50e)]?.[_0x179fca(_0x1fbdf4._0x5e61d7,0x742,_0x1fbdf4._0x58751a,0x922)]();function _0x179fca(_0x3d7837,_0x9e630c,_0x111d50,_0x59efaa){return _0x511cdd(_0x3d7837-0x6d,_0x9e630c-0xf5,_0x111d50,_0x59efaa-0x43a);}function _0x166425(_0xece6e9,_0xe8025,_0x422a83,_0xdbf07b){return _0x511cdd(_0xece6e9-0x118,_0xe8025-_0x3c90f6._0x3eba15,_0xece6e9,_0xdbf07b-0x159);}if(_0x30c348===void 0x0)return;if(_0x30c348===_0x166425(0x530,0x657,0x79e,_0x1fbdf4._0x52d0b7)){_0x28fc0f[_0x166425(_0x1fbdf4._0x436556,0x674,0x508,0x63a)]!==!![]&&_0x401289[_0x179fca(0x730,_0x1fbdf4._0x1e5454,0x91c,0x82b)]({'code':_0x166425(0x575,0x380,0x4af,0x3cf),'path':[_0x179fca(_0x1fbdf4._0x34f65e,_0x1fbdf4._0x39944f,_0x1fbdf4._0x37d2e1,_0x1fbdf4._0x3f3d4a)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}!_0x28fc0f['options'][_0x166425(0x33a,_0x1fbdf4._0x21bf58,0x419,0x488)](_0x4c2dd4=>_0x4c2dd4['id'][_0x166425(0x60b,0x6f6,0x715,0x641)]()===_0x30c348)&&_0x401289['addIssue']({'code':_0x179fca(0x677,0x66d,_0x1fbdf4._0x3b5949,_0x1fbdf4._0xc34734),'path':[_0x179fca(_0x1fbdf4._0x378561,_0x1fbdf4._0x3c6c71,_0x1fbdf4._0x5d82de,0x7ef)],'message':'Reasoning\x20default\x20\x22'+_0x28fc0f['defaultOption']+_0x166425(_0x1fbdf4._0x504a2e,0x577,_0x1fbdf4._0x430e69,_0x1fbdf4._0x3f28bc)});}),modelDefinitionSchema=z[_0x30b865(0xeb,-0x13e,0xc8,0x210)]({'id':z['string'](),'name':z['string']()['optional'](),'reasoning':modelReasoningConfigSchema[_0x30b865(0x3a1,0x32a,0x360,0x1bc)]()})[_0x511cdd(0x1cb,0x3b6,0x2a5,0x2e7)](),modelConfigSchema=z[_0x30b865(-0x146,0x13c,0x87,0x27d)]([z[_0x511cdd(0x101,0x25e,0x15d,0x281)](![]),z['literal'](!![]),z[_0x30b865(0x162,0x82,-0x5f,-0x127)](),z[_0x511cdd(0x305,0x2ad,0x68d,0x4bc)](z[_0x511cdd(0x2d,0xb2,0x4,0x189)]()),z[_0x30b865(0x2b4,0x3fe,0x2d4,0x22e)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x511cdd(0x1ca,0x2ca,0x2a6,0x3c0)](['anthropic-messages',_0x511cdd(0x664,0x4f7,0x6eb,0x519),'openai-responses',_0x511cdd(0x456,0x4ea,0x60b,0x53f)]),providerConfigSchema=z[_0x511cdd(0x284,0x250,0xde,0x2b0)]({'apiKey':z[_0x511cdd(0x326,0x23c,0x2dc,0x189)]()['optional'](),'token':z[_0x511cdd(0x25d,0x1e3,0x335,0x189)]()[_0x30b865(0x191,0x4ce,0x360,0x53c)](),'defaultModel':z[_0x30b865(-0x156,-0x64,-0x5f,-0x22f)]()[_0x511cdd(0x3a9,0x56c,0x65d,0x548)](),'smallModel':z[_0x30b865(0x62,-0x242,-0x5f,0x1a4)]()['optional'](),'currentAuth':z[_0x511cdd(0xf2,0x166,0x28f,0x189)]()[_0x30b865(0x313,0x373,0x360,0x24c)](),'auth':z['array'](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x511cdd(0x651,0x479,0x60b,0x548)](),'baseUrl':z['string']()[_0x30b865(0x243,0x43f,0x360,0x3c7)](),'models':modelConfigSchema[_0x30b865(0x19c,0x1b8,0x360,0x4b5)](),'customHeaders':z['record'](z[_0x511cdd(0x147,0x299,0x220,0x189)](),z['string']())[_0x30b865(0x4a2,0x286,0x360,0x52b)](),'reasoning':providerReasoningConfigSchema[_0x30b865(0x56b,0x4d8,0x360,0x1ff)]()})[_0x511cdd(0x377,0x211,0x2fe,0x2e7)](),mcpServerConfigSchema=z[_0x30b865(-0x1f,-0x145,0xc8,0x177)]({'command':z[_0x511cdd(0x1e7,0x2e4,0xe3,0x189)]()[_0x30b865(0x288,0x518,0x360,0x31e)](),'args':z[_0x511cdd(0x3e7,0x5f7,0x480,0x4bc)](z['string']())['optional'](),'env':z[_0x30b865(-0x105,0x1b5,0xbb,0x11e)](z[_0x511cdd(0x261,0x327,-0x24,0x189)](),z[_0x30b865(0x178,0x1d,-0x5f,-0x196)]())['optional'](),'transport':z[_0x511cdd(0x3c3,0x24b,0x1f9,0x3c0)]([_0x30b865(0x2bb,0xd5,0x13f,0x204),_0x30b865(-0xc8,0x29e,0x140,-0x53)])[_0x511cdd(0x70b,0x6a1,0x69d,0x548)](),'url':z[_0x511cdd(0x9b,0x10c,0x1b8,0x189)]()[_0x30b865(0x15a,0x529,0x360,0x294)](),'headers':z['record'](z[_0x511cdd(0x2a7,0x371,0x1be,0x189)](),z[_0x30b865(0x132,-0x19,-0x5f,-0x1ad)]())[_0x30b865(0x4b0,0x28e,0x360,0x549)](),'prefix':z['string']()['optional'](),'timeoutMs':z[_0x511cdd(0x347,0x617,0x387,0x4db)]()[_0x511cdd(0x451,0x732,0x62e,0x548)](),'enabled':z[_0x511cdd(0x48e,0x42f,0x1bc,0x2df)]()['optional'](),'auth':z[_0x30b865(0x249,-0x107,0xc8,0x1c0)]({'type':z[_0x511cdd(0x357,0x3c4,0x55a,0x3c0)]([_0x30b865(-0x292,-0x12e,-0xaf,-0x4),'bearer','oauth']),'token':z['string']()[_0x30b865(0x1bc,0x411,0x360,0x301)](),'oauth':z[_0x30b865(0x1e3,0xe9,0xc8,0x198)]({'clientId':z[_0x511cdd(0x355,0xec,0x28d,0x189)]()[_0x30b865(0x33e,0x3fc,0x360,0x245)](),'clientMetadataUrl':z[_0x30b865(-0xe1,0x124,-0x5f,-0x20b)]()[_0x511cdd(0x5ae,0x4de,0x34f,0x548)](),'authorizationServer':z[_0x511cdd(0x191,-0x1c,0x71,0x189)]()[_0x30b865(0x354,0x3c4,0x360,0x491)](),'scopes':z[_0x511cdd(0x5bb,0x3ca,0x44e,0x4bc)](z[_0x30b865(-0x108,-0x1c6,-0x5f,-0x75)]())[_0x30b865(0x2f3,0x409,0x360,0x2f5)](),'tokenStorageKey':z[_0x511cdd(-0x7f,0x126,0x36e,0x189)]()['optional']()})[_0x511cdd(0x2a1,0x2bd,0x3d4,0x2e7)]()[_0x511cdd(0x54f,0x37a,0x5a1,0x548)]()})['passthrough']()[_0x30b865(0x439,0x3db,0x360,0x3b8)]()})[_0x30b865(-0x10c,0x76,0xff,-0xe5)](),mcpToolPermissionClassSchema=z['enum']([_0x30b865(0x42,-0x1d6,0x16,-0xbe),_0x511cdd(0x48d,0x370,0x347,0x33c),_0x511cdd(0x73,0x249,0x62,0x13b)]),mcpSettingsSchema=z[_0x30b865(0x9e,0x201,0xc8,0xa8)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x30b865(0x155,0x3a6,0x360,0x21e)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x511cdd(0x2ad,0x1cc,0x3c7,0x2df)]()))[_0x30b865(0x338,0x546,0x360,0x3c6)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x30b865(0x430,0x42d,0x360,0x353)](),'defaultTimeoutMs':z[_0x511cdd(0x44d,0x38c,0x5e6,0x4db)]()[_0x511cdd(0x3a1,0x43b,0x3c1,0x548)]()})[_0x30b865(0x2ca,0x1a4,0xff,0x1a)](),skillsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x30b865(0x3cd,0x280,0x360,0x445)](),'includeDefaults':z[_0x30b865(-0x118,-0x87,0xf7,0x77)]()[_0x30b865(0x527,0x439,0x360,0x567)](),'directories':z[_0x511cdd(0x32d,0x5f8,0x547,0x4bc)](z[_0x30b865(-0xa7,-0x18b,-0x5f,0x161)]())[_0x511cdd(0x34c,0x442,0x737,0x548)](),'exclude':z[_0x511cdd(0x6b0,0x2ef,0x647,0x4bc)](z[_0x30b865(0x187,-0x150,-0x5f,-0x11)]())[_0x30b865(0x183,0x3a8,0x360,0x25e)]()})[_0x30b865(0x2ad,-0x71,0xff,-0xab)](),commandsSettingsSchema=z['object']({'enabled':z[_0x511cdd(0xcf,0x20c,0xe0,0x2df)]()[_0x511cdd(0x342,0x58f,0x5da,0x548)](),'directories':z['array'](z[_0x30b865(-0x62,0x7a,-0x5f,0x11c)]())[_0x30b865(0x537,0x41c,0x360,0x1a3)]()})[_0x30b865(0x2ad,-0x54,0xff,0x2f7)](),agentsSettingsSchema=z[_0x511cdd(0x3e8,0x25f,0x244,0x2b0)]({'enabled':z[_0x30b865(-0xf0,0x296,0xf7,0x15)]()[_0x511cdd(0x3c1,0x3d2,0x355,0x548)](),'includeDefaults':z[_0x30b865(0xf0,0x3b,0xf7,-0xa9)]()['optional'](),'directories':z[_0x30b865(0xe0,0x493,0x2d4,0x276)](z[_0x30b865(-0x8,0x17c,-0x5f,0x1ab)]())[_0x511cdd(0x3fe,0x5ae,0x38f,0x548)](),'maxConcurrency':z[_0x511cdd(0x3cf,0x615,0x658,0x4db)]()[_0x511cdd(0x367,0x46e,0x151,0x317)]()['int']()[_0x30b865(-0xa5,0x33f,0x13c,0x1f4)]()['optional']()})[_0x511cdd(0x455,0x347,0x478,0x2e7)](),uiThemeSettingsSchema=z[_0x511cdd(0x372,0x14a,0x314,0x2b0)]({'mode':z['enum']([_0x30b865(0x387,0x202,0x204,0x4),_0x511cdd(0x3fe,0x1ca,0x2c5,0x286),_0x511cdd(0xb,-0x58,0x24e,0x19e)])[_0x30b865(0x4b1,0x497,0x360,0x40c)](),'colorLevel':z[_0x30b865(0x2fb,0x115,0x1d8,0x310)]([_0x511cdd(0x39b,0x4c0,0x464,0x3ec),_0x511cdd(0x1c0,0x1f5,0x236,0x139),_0x30b865(0x161,0x1ae,0x229,0x11d),'ansi256',_0x511cdd(0x34a,0x314,0x572,0x3fb)])[_0x511cdd(0x3c7,0x6ca,0x516,0x548)](),'backgrounds':z[_0x30b865(0x203,0xde,0x1d8,0x11)]([_0x30b865(0xc7,0x16e,0x204,0x2e5),'on','off'])[_0x511cdd(0x612,0x6a9,0x5ef,0x548)](),'messageStyle':z[_0x30b865(0xdb,0x233,0x1d8,0x101)]([_0x30b865(0x66,-0x68,0x112,0xd0),'boxed'])[_0x30b865(0x212,0x19d,0x360,0x1c5)]()})[_0x511cdd(0x48d,0x393,0x273,0x2e7)](),statuslineSegmentSchema=z['enum']([_0x30b865(0x4c5,0x224,0x30d,0x40a),'session',_0x30b865(0x400,0x256,0x26e,0x3b5),_0x511cdd(0x389,0x453,0x519,0x45a),_0x511cdd(0x36a,0x144,0xff,0x1e3),_0x30b865(0x15c,0x1ca,0x336,0x22e),'cached',_0x30b865(0x182,0xb3,0x235,0x96),_0x30b865(0x280,0x263,0x104,-0x5c),_0x511cdd(0x281,0x3e4,0x3fa,0x218),_0x30b865(0x37c,0x304,0x329,0x174),'gitBranch',_0x511cdd(0x39b,0x1f9,0x3e0,0x30e),_0x30b865(0x13d,-0xc4,-0xb,-0xa1),_0x30b865(0x31e,-0x80,0x14a,0x1c3)]),statuslineItemSchema=z[_0x511cdd(0x423,0x2ea,0x2bd,0x26f)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z['array'](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x511cdd(0x418,0x536,0x59e,0x548)]()})[_0x511cdd(0x265,0x1e7,0x134,0x2e7)](),memoryExtractionSettingsSchema=z[_0x511cdd(0x4ac,0x172,0x2b9,0x2b0)]({'enabled':z['boolean']()[_0x511cdd(0x36c,0x5d7,0x75a,0x548)](),'provider':z['string']()[_0x30b865(0x8f,-0x1c7,-0x5b,-0x2a)](0x1)[_0x30b865(0x396,0x4b3,0x360,0x408)](),'model':z[_0x511cdd(0x189,0x15d,0x15a,0x189)]()[_0x30b865(-0x13d,-0x55,-0x5b,0xe5)](0x1)[_0x30b865(0x16f,0x2dd,0x360,0x3ab)](),'minUserMessages':z[_0x30b865(0x1a1,0x2d9,0x2f3,0x45c)]()[_0x511cdd(0x95,0x202,0x3c3,0x22e)]()[_0x511cdd(0x21f,0xde,0x21d,0x18d)](0x1)[_0x511cdd(0x642,0x349,0x438,0x548)](),'structuredOutput':z[_0x30b865(0x30,-0x2a,0xf7,-0x61)]()['optional'](),'maxSeedTokens':z[_0x30b865(0x4b6,0x40b,0x2f3,0x220)]()[_0x30b865(0xaf,-0x52,0x46,0x175)]()[_0x30b865(-0x10f,0x79,-0x5b,0x82)](0x1)[_0x511cdd(0x417,0x6da,0x3a2,0x548)](),'trimToolOutputs':z[_0x30b865(0x1b6,0x1e8,0xf7,-0x10f)]()[_0x30b865(0x249,0x2ae,0x360,0x3fd)]()})[_0x30b865(-0x1c9,0xa4,0x20,0x19e)](),memoryInjectionSettingsSchema=z[_0x511cdd(0x1b9,0x26b,0x324,0x2b0)]({'tokenBudget':z[_0x511cdd(0x3fa,0x2ef,0x43a,0x4db)]()['int']()[_0x511cdd(0x1a9,-0x12,0x206,0x18d)](0x80)[_0x30b865(0x38,0x16a,0x2c,-0x8c)](0x2000)[_0x511cdd(0x3fb,0x474,0x62f,0x548)](),'rankByUsage':z[_0x30b865(0x112,0x285,0xf7,0x25b)]()['optional']()})[_0x30b865(0x176,-0x72,0x20,0x1ba)](),memoryConsolidateSettingsSchema=z[_0x30b865(0x2ae,0xc5,0xc8,0x249)]({'enabled':z[_0x30b865(0x1db,0x1f0,0xf7,-0x71)]()[_0x30b865(0x520,0x519,0x360,0x352)](),'provider':z[_0x511cdd(0x32a,0x330,0x21b,0x189)]()[_0x30b865(-0xe6,-0x1ab,-0x5b,-0x256)](0x1)[_0x30b865(0x279,0x15e,0x360,0x542)](),'model':z[_0x511cdd(0x217,0x22,0x1fd,0x189)]()[_0x30b865(0xff,0x100,-0x5b,0x2)](0x1)['optional'](),'maxExtractsPerRun':z[_0x30b865(0x419,0x1bf,0x2f3,0x3c6)]()[_0x30b865(-0xea,0x175,0x46,0xb9)]()['min'](0x1)['optional'](),'maxUnusedDays':z[_0x511cdd(0x3e0,0x4aa,0x313,0x4db)]()[_0x30b865(-0x26,0x1e,0x46,-0xa6)]()[_0x30b865(0x135,0x84,-0x5b,0x6a)](0x1)[_0x30b865(0x381,0x478,0x360,0x3b3)](),'requireReview':z[_0x511cdd(0x446,0x3aa,0x266,0x2df)]()['optional'](),'writeSkills':z[_0x30b865(0x38,0x2da,0xf7,0x26)]()[_0x511cdd(0x48a,0x5f8,0x5a3,0x548)](),'readSourceTranscripts':z[_0x511cdd(0x2e4,0x1ad,0x320,0x2df)]()[_0x511cdd(0x3bc,0x4ea,0x44a,0x548)](),'maxTranscriptReadsPerRun':z[_0x511cdd(0x6b5,0x377,0x2d2,0x4db)]()[_0x511cdd(0x38c,0x283,0x303,0x22e)]()[_0x511cdd(0x254,0x39a,0x86,0x18d)](0x0)[_0x30b865(0x3ff,0x20f,0x360,0x3c2)]()})[_0x30b865(-0x95,0x1f8,0x20,0x1e6)](),memorySettingsSchema=z['object']({'enabled':z[_0x511cdd(0x29a,0x4d9,0x183,0x2df)]()['optional'](),'extraction':memoryExtractionSettingsSchema[_0x511cdd(0x73d,0x703,0x42f,0x548)](),'consolidate':memoryConsolidateSettingsSchema[_0x511cdd(0x3c3,0x51e,0x661,0x548)](),'injection':memoryInjectionSettingsSchema[_0x511cdd(0x334,0x3e1,0x6c3,0x548)]()})[_0x511cdd(0x62,0x1b8,0x1da,0x208)](),recentModelSchema=z['object']({'provider':z['string'](),'model':z[_0x511cdd(0x346,0x2cd,0x2f8,0x189)](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0x511cdd(0x468,0x1be,0x442,0x2b0)]({'disabled':z[_0x30b865(0x1ef,0x1dc,0xf7,0x96)]()[_0x30b865(0x199,0x2bf,0x360,0x3e0)](),'command':z[_0x30b865(0x18a,-0x1f4,-0x5f,-0x1ca)]()[_0x511cdd(0x4ce,0x743,0x5d1,0x548)](),'args':z[_0x511cdd(0x4fd,0x531,0x618,0x4bc)](z[_0x511cdd(0x1b1,0xba,0x161,0x189)]())[_0x30b865(0x4c7,0x43b,0x360,0x491)](),'rootMarkers':z[_0x511cdd(0x37f,0x42d,0x552,0x4bc)](z['string']())[_0x30b865(0x515,0x1f0,0x360,0x4fe)]()})['passthrough'](),lspConfigSchema=z[_0x30b865(0xf,0x97,0xc8,-0x145)]({'enabled':z['boolean']()[_0x30b865(0x1bc,0x4ab,0x360,0x56f)](),'servers':z[_0x30b865(0x37,0x98,0xbb,0x1ec)](z[_0x30b865(-0x1b0,-0xb8,-0x5f,0x132)](),lspServerEntrySchema)[_0x30b865(0x2e7,0x4dc,0x360,0x14c)]()})['passthrough'](),serverEndpointSchema=z[_0x511cdd(0x312,0x155,0x49f,0x2b0)]({'url':z[_0x30b865(-0x4d,-0x67,-0x5f,0x2)](),'token':z[_0x30b865(-0x111,0x1d,-0x5f,-0xfa)]()['optional']()})[_0x511cdd(0x1cc,0x254,0x3b8,0x2e7)](),commandHookConfigSchema=z[_0x30b865(0x1d5,0x284,0xc8,-0xc4)]({'type':z['literal'](_0x30b865(0x364,0x188,0x1ab,0x38a)),'command':z[_0x30b865(-0x202,0xb3,-0x5f,-0x102)](),'timeout':z[_0x511cdd(0x373,0x410,0x42d,0x4db)]()[_0x30b865(0x256,0x3c0,0x360,0x21c)]()}),hookMatcherGroupSchema=z[_0x511cdd(0x4ad,0x488,0x2fd,0x2b0)]({'matcher':z[_0x30b865(-0x163,0xbc,-0x5f,0x83)]()['optional'](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x511cdd(0x9d,0x1b0,0x100,0x2b0)]({'PreToolUse':z[_0x511cdd(0x669,0x540,0x63c,0x4bc)](hookMatcherGroupSchema)[_0x30b865(0x530,0x3d1,0x360,0x35b)](),'PostToolUse':z[_0x30b865(0x353,0x197,0x2d4,0x270)](hookMatcherGroupSchema)[_0x30b865(0x468,0x196,0x360,0x37a)](),'UserPromptSubmit':z[_0x511cdd(0x5fd,0x418,0x43d,0x4bc)](hookMatcherGroupSchema)['optional'](),'Stop':z[_0x511cdd(0x2f1,0x442,0x5b2,0x4bc)](hookMatcherGroupSchema)[_0x30b865(0x19f,0x4c1,0x360,0x439)](),'Notification':z[_0x511cdd(0x3d4,0x653,0x384,0x4bc)](hookMatcherGroupSchema)[_0x30b865(0x34b,0x502,0x360,0x39f)](),'ToolApprovalRequest':z[_0x511cdd(0x53c,0x5db,0x478,0x4bc)](hookMatcherGroupSchema)['optional'](),'SessionStart':z[_0x511cdd(0x621,0x2b1,0x428,0x4bc)](hookMatcherGroupSchema)[_0x30b865(0x398,0x1ec,0x360,0x3b6)](),'SessionEnd':z[_0x30b865(0x3fc,0x1f0,0x2d4,0x425)](hookMatcherGroupSchema)[_0x511cdd(0x4cc,0x48b,0x359,0x548)]()}),providerNameSchema=z[_0x30b865(-0x19c,-0x17e,-0x5f,-0x237)]()[_0x511cdd(0x13e,0x2e1,0x17b,0x18d)](0x1,'Provider\x20name\x20cannot\x20be\x20empty')[_0x30b865(0x217,0x4e3,0x320,0x1ac)](_0x40d67f=>!_0x40d67f[_0x511cdd(0x2a0,0x204,0x157,0x1b6)](':'),_0x511cdd(0x3a3,0x291,0x1e7,0x261)),agentModelSetNameSchema=z[_0x30b865(0x1ae,0x1b3,-0x5f,-0x76)]()['refine'](isValidAgentModelSetName,_0x30b865(0xde,0x10c,0x1e7,0x25d)),agentModelSelectorSchema=z[_0x30b865(-0x9f,-0x23b,-0x5f,0x126)]()[_0x30b865(0x229,0x462,0x320,0x1a5)](_0x5cc0c6=>parseProviderQualifiedModelSelector(_0x5cc0c6)!==void 0x0,_0x511cdd(0x97,0x1b1,0x123,0x22b)),agentModelSetSchema=z[_0x511cdd(0x1fe,0x2c7,0x28f,0x2b0)]({'fast':agentModelSelectorSchema[_0x30b865(0x4c7,0x242,0x360,0x295)](),'balanced':agentModelSelectorSchema[_0x511cdd(0x64d,0x448,0x54d,0x548)](),'powerful':agentModelSelectorSchema[_0x511cdd(0x500,0x456,0x4b6,0x548)]()})[_0x511cdd(0x36a,0x1f,0x1e4,0x208)]()[_0x511cdd(0x6ed,0x599,0x45b,0x508)](_0x1e0240=>Object[_0x30b865(0x228,0x48,0x18,-0x99)](_0x1e0240)[_0x511cdd(0x3f5,0x3cd,0x4b4,0x3ed)]>0x0,_0x30b865(0x1b8,0xb8,0x256,0x1f1)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)[_0x511cdd(0x4ab,0x31c,0x434,0x2bd)]((_0x141464,_0x41addf)=>{const _0x271ed1={_0x29709d:0x1b1,_0x47f90f:0x539,_0x336758:0x333,_0x24e9d7:0x581,_0x37eec5:0x68d,_0x169a7d:0x5a7,_0x29c305:0x435,_0x22f8e4:0x498,_0x377f0a:0x750,_0x57c0f2:0x376},_0x4aad31={_0x1043e3:0xf,_0x43b1f9:0x421,_0x3c01ec:0x13d},_0x15300c={_0x224ef1:0x1ad};function _0x5675a3(_0x5219f0,_0x2ee581,_0x1fcf02,_0x3bbb0c){return _0x511cdd(_0x5219f0-0x1ca,_0x2ee581-0x1c,_0x5219f0,_0x1fcf02-_0x15300c._0x224ef1);}function _0x5aaf4e(_0x291c59,_0x3cf249,_0x3188aa,_0x47961d){return _0x30b865(_0x291c59-_0x4aad31._0x1043e3,_0x47961d,_0x291c59-_0x4aad31._0x43b1f9,_0x47961d-_0x4aad31._0x3c01ec);}for(const _0x50c519 of Object[_0x5675a3(0x23c,_0x271ed1._0x29709d,0x3ad,0x47d)](_0x141464)){!agentModelSetNameSchema[_0x5675a3(0x2ac,_0x271ed1._0x47f90f,_0x271ed1._0x336758,0x244)](_0x50c519)[_0x5675a3(_0x271ed1._0x24e9d7,_0x271ed1._0x37eec5,0x4b9,_0x271ed1._0x169a7d)]&&_0x41addf['addIssue']({'code':_0x5675a3(0x4d1,_0x271ed1._0x29c305,0x423,_0x271ed1._0x22f8e4),'path':[_0x50c519],'message':_0x5675a3(0x722,_0x271ed1._0x377f0a,0x57c,_0x271ed1._0x57c0f2)});}}),bashPolicyRuleSchema=z['object']({'id':z[_0x511cdd(0x290,-0x2c,0x266,0x189)]()[_0x511cdd(0x400,0x34d,0x3cc,0x437)]()[_0x30b865(-0x80,-0xb1,-0x5b,-0x109)](0x1)['max'](0x80),'action':z['enum']([_0x30b865(0x3eb,0x7e,0x206,0x3ad),'deny']),'cwd':z['enum']([_0x30b865(0x385,0x132,0x17b,0x182),_0x30b865(0x110,0x38e,0x29c,0xa0)])[_0x511cdd(0x6d9,0x38a,0x44d,0x548)](),'commands':z[_0x511cdd(0x4f8,0x5e0,0x356,0x4bc)](z[_0x511cdd(0xcd,0x33a,0x1fd,0x189)]()[_0x511cdd(0x13,0x38a,0xf0,0x18d)](0x1))['min'](0x1)})[_0x511cdd(0x2be,0x1ca,0x30e,0x208)](),bashPolicyConfigSchema=z[_0x511cdd(0x2ee,0x36b,0x1c8,0x2b0)]({'default':z['literal'](_0x511cdd(0x490,0x253,0x27e,0x2d7))['optional'](),'rules':z[_0x30b865(0x425,0x14c,0x2d4,0x15b)](bashPolicyRuleSchema)['max'](0x3e8)})[_0x30b865(-0x13c,-0x1e9,0x20,0x53)](),fileEditSettingsSchema=z[_0x511cdd(0x259,0x30d,0x324,0x2b0)]({'mode':z[_0x511cdd(0x255,0x57a,0x34a,0x3c0)](PRODUCTION_FILE_EDIT_MODES)[_0x511cdd(0x59d,0x366,0x425,0x548)]()})[_0x511cdd(0x1aa,0x40d,0x35f,0x208)](),toolsSettingsSchema=z[_0x30b865(-0x129,0x13e,0xc8,0x1b6)]({'fileEdit':fileEditSettingsSchema[_0x511cdd(0x727,0x489,0x3bc,0x548)]()})[_0x30b865(0x3d,0x12b,0xff,0x25)](),cliConfigSchema=z[_0x30b865(0x20e,0x1af,0xc8,0x16c)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x511cdd(0x247,-0x7f,0xeb,0x189)]()[_0x30b865(0x428,0x4d4,0x360,0x3f6)](),'agentModelSets':agentModelSetsSchema[_0x30b865(0x17e,0x255,0x360,0x267)](),'activeAgentModelSet':agentModelSetNameSchema[_0x511cdd(0x36d,0x56c,0x5ed,0x548)](),'apiKey':z[_0x30b865(0x96,-0x190,-0x5f,0x15c)]()[_0x30b865(0x45c,0x543,0x360,0x53f)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x511cdd(0x5d9,0x381,0x38a,0x548)](),'mcp':mcpSettingsSchema[_0x30b865(0x1d2,0x37a,0x360,0x26e)](),'skills':skillsSettingsSchema[_0x30b865(0x14d,0x4d6,0x360,0x502)](),'agents':agentsSettingsSchema[_0x511cdd(0x731,0x5b4,0x3a6,0x548)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z['record'](z['string'](),z[_0x30b865(0x247,0x74,0xf7,-0x69)]())[_0x30b865(0x227,0x4fc,0x360,0x369)](),'allowedDirs':z[_0x511cdd(0x2bc,0x69b,0x61c,0x4bc)](z[_0x30b865(-0x116,-0x147,-0x5f,0xdd)]())[_0x511cdd(0x448,0x52c,0x50d,0x548)](),'mcpEnabled':prototypeSafeRecord(z[_0x511cdd(0x1b6,0x13e,0x273,0x2df)]())[_0x30b865(0x244,0x1f2,0x360,0x377)](),'commandsEnabled':z[_0x511cdd(0x1f8,0x29f,0x159,0x2a3)](z[_0x30b865(-0x25b,0x57,-0x5f,0xe)](),z[_0x30b865(0x25e,0x5d,0xf7,-0xf8)]())[_0x30b865(0x4f8,0x196,0x360,0x558)](),'memory':memorySettingsSchema[_0x511cdd(0x5d7,0x747,0x615,0x548)](),'session':z[_0x511cdd(0x39d,0x23e,0x243,0x2b0)]({'memPersist':z[_0x511cdd(0x17e,0x310,0x435,0x2df)]()[_0x511cdd(0x759,0x65a,0x5ae,0x548)](),'persistEventLog':z[_0x30b865(0x266,0x103,0xf7,-0x64)]()[_0x511cdd(0x420,0x67c,0x63f,0x548)](),'persistHttpLog':z['boolean']()[_0x511cdd(0x370,0x4e3,0x3b0,0x548)]()})[_0x30b865(-0xf2,-0x3b,0xff,-0xea)]()[_0x511cdd(0x521,0x47c,0x463,0x548)](),'requireToolApproval':z[_0x511cdd(0x211,0x4cd,0x3fa,0x2df)]()[_0x511cdd(0x343,0x608,0x729,0x548)](),'thinking':z['object']({'selections':z[_0x30b865(0x225,0x129,0xbb,0x1b2)](z['string'](),z[_0x511cdd(0x1c4,0x28a,0x158,0x189)]())[_0x511cdd(0x4d0,0x5cc,0x362,0x548)]()})[_0x30b865(0x187,0x36b,0x360,0x18c)](),'streamingChunks':z[_0x511cdd(0x4bb,0x19e,0x31f,0x2df)]()['optional'](),'agentsEnabled':z[_0x511cdd(0xbb,0xd7,0xb8,0x2a3)](z[_0x511cdd(-0x56,0x256,-0x38,0x189)](),z[_0x511cdd(0xf3,0x3a3,0x405,0x2df)]())[_0x30b865(0x4d6,0x3f4,0x360,0x3bc)](),'recentModels':z[_0x511cdd(0x541,0x4a0,0x67a,0x4bc)](recentModelSchema)['optional'](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x511cdd(0x2ec,0x12c,0x200,0x2a3)](z['string'](),serverEndpointSchema)['optional'](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x511cdd(0x3cd,0x564,0x42c,0x548)](),'statusline':statuslineConfigSchema[_0x30b865(0x361,0x525,0x360,0x3ff)]()})[_0x30b865(0x26e,-0xe2,0xff,-0xf5)]()['optional'](),'tools':toolsSettingsSchema[_0x511cdd(0x3a3,0x6fa,0x6af,0x548)](),'hooks':hooksConfigSchema[_0x30b865(0x4d4,0x43e,0x360,0x376)](),'bashPolicy':z[_0x511cdd(0x3a5,0x3b3,0x14d,0x360)]()[_0x511cdd(0x36f,0x71c,0x63f,0x548)]()})['passthrough'](),workspaceOverlaySchema=z[_0x511cdd(0x100,0x129,0x3cf,0x2b0)]({'root':z['string']()['optional'](),'allowedDirs':z['array'](z['string']())[_0x511cdd(0x448,0x705,0x3ec,0x548)](),'activeProvider':providerNameSchema[_0x511cdd(0x3fa,0x460,0x5b0,0x548)](),'activeModel':z['string']()['optional'](),'activeAgentModelSet':agentModelSetNameSchema['optional'](),'mcp':mcpSettingsSchema[_0x511cdd(0x68f,0x48e,0x415,0x548)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x511cdd(0x729,0x43f,0x3be,0x548)](),'commands':commandsSettingsSchema[_0x30b865(0x25b,0x217,0x360,0x510)](),'hooks':hooksConfigSchema[_0x511cdd(0x353,0x618,0x3f6,0x548)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x511cdd(0x49f,0x399,0x450,0x2df)]())[_0x511cdd(0x60f,0x360,0x4d1,0x548)](),'skillsEnabled':z[_0x511cdd(0xf2,0x27d,0x4ad,0x2a3)](z[_0x30b865(-0x246,-0x226,-0x5f,0x123)](),z[_0x30b865(0xe8,0x15,0xf7,-0x14)]())[_0x30b865(0x3f2,0x1fc,0x360,0x2a7)](),'agentsEnabled':z['record'](z[_0x511cdd(0xed,0x29a,0x171,0x189)](),z[_0x30b865(0x21b,0x26a,0xf7,0x2d5)]())[_0x511cdd(0x3f4,0x5bb,0x34a,0x548)](),'commandsEnabled':z[_0x30b865(0x15c,0x175,0xbb,0x1da)](z[_0x30b865(-0x180,0x161,-0x5f,-0x22b)](),z[_0x511cdd(0x29a,0x45f,0x4ae,0x2df)]())[_0x30b865(0x4b2,0x532,0x360,0x46e)](),'bashPolicy':z['unknown']()['optional'](),'tools':toolsSettingsSchema[_0x511cdd(0x53e,0x3ab,0x713,0x548)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object[_0x30b865(0xc4,0x1bd,0x19c,0x1a6)](Object[_0x30b865(0x37,0x3e7,0x1e3,0x18a)]),_0x511cdd(0x5c1,0x2c4,0x3e5,0x3cb)]);function buildDescription2(_0x2ed689){const _0x48c3ad={_0x687776:0x5ad,_0x2df1fc:0x71a,_0x1b8dc7:0x15d,_0x4fc277:0x5a,_0x4e7fe6:0x185,_0x4c32f7:0x481,_0x43c1d7:0x2bb,_0x10259a:0x432,_0x3d0d09:0x56c,_0x5ccaeb:0x506,_0x897bcc:0x399,_0x319886:0x62e,_0x5f39ba:0x21a,_0x102647:0x417,_0x292c45:0x25c,_0x337c78:0x30e,_0xef3646:0x2cc,_0x13c8f9:0x27d,_0x226549:0x91,_0x458344:0x35a},_0x42cef7={_0x4ee094:0x48,_0x52d9a9:0xcb},_0x45118b={_0x30b780:0x15d,_0x326891:0x288};function _0x48699d(_0x1017b9,_0x1c580f,_0x2d043b,_0xf1820c){return _0x511cdd(_0x1017b9-0xf3,_0x1c580f-_0x45118b._0x30b780,_0xf1820c,_0x2d043b- -_0x45118b._0x326891);}if(_0x2ed689['length']===0x0)return[_0x427db8(0x620,0x597,_0x48c3ad._0x687776,_0x48c3ad._0x2df1fc),_0x48699d(_0x48c3ad._0x1b8dc7,0x24c,_0x48c3ad._0x4fc277,_0x48c3ad._0x4e7fe6),_0x427db8(0x429,_0x48c3ad._0x4c32f7,_0x48c3ad._0x43c1d7,_0x48c3ad._0x10259a)]['join']('\x0a');const _0x3f7673=[_0x427db8(0x6e8,_0x48c3ad._0x3d0d09,_0x48c3ad._0x5ccaeb,_0x48c3ad._0x2df1fc),_0x427db8(_0x48c3ad._0x897bcc,0x4e7,_0x48c3ad._0x319886,0x4f5),_0x48699d(_0x48c3ad._0x5f39ba,_0x48c3ad._0x102647,_0x48c3ad._0x292c45,0x43d),..._0x2ed689[_0x48699d(_0x48c3ad._0x337c78,_0x48c3ad._0xef3646,0x258,_0x48c3ad._0x13c8f9)](_0x1c9a55=>_0x1c9a55['argumentHint']?'-\x20'+_0x1c9a55[_0x427db8(0x580,0x5ee,0x780,0x71c)]+'\x20'+_0x1c9a55['argumentHint']+':\x20'+_0x1c9a55[_0x48699d(-0x193,0xd3,-0x101,-0xe7)]:'-\x20'+_0x1c9a55[_0x48699d(0x461,0x2b7,0x281,0x13c)]+':\x20'+_0x1c9a55[_0x427db8(0x481,0x40e,0x1f2,0x39a)])];function _0x427db8(_0x3c353a,_0x153ccf,_0x17ac48,_0x7aae51){return _0x511cdd(_0x3c353a-_0x42cef7._0x4ee094,_0x153ccf-_0x42cef7._0x52d9a9,_0x3c353a,_0x7aae51-0x213);}return _0x3f7673[_0x48699d(0x1db,-_0x48c3ad._0x226549,0x17e,_0x48c3ad._0x458344)]('\x0a');}function createInvokeCommandTool(_0x21203e){const _0x368187={_0x1727b3:0x4ce,_0x12a8e7:0x3fb,_0x2d5cc4:0x482,_0x38088f:0x629,_0x420454:0x540,_0x217496:0x8d,_0x369279:0x115,_0x15287b:0x1d,_0x4e40e4:0x1bf,_0x572171:0x177,_0x15f74b:0x1fb,_0x3f862b:0x177,_0x28259f:0x30f,_0x435ce0:0x426,_0x2461ae:0x46e},_0x1f2923={_0x528f96:0x557,_0x18ff6b:0x6ee,_0xf6daa1:0x4f3,_0x2048fb:0x399,_0x201ecc:0x1ef,_0x2391dd:0x474,_0x39207f:0xa,_0x150e0e:0xff,_0x3e1680:0x6f,_0x52c699:0x205,_0x3b99b6:0x317,_0x361a8b:0x2d4,_0xf11c72:0x505,_0x9a6ebf:0x3ba,_0x2ecae0:0x537,_0x3b7a85:0x5bc,_0x13aa4a:0x44f,_0x808e42:0x450,_0x377755:0x52b,_0xb2641e:0x575,_0xace3ce:0x683,_0x56dc0d:0x613,_0x260867:0x64e,_0xab71e:0x49f},_0x49bd47={_0x3d6cd8:0x1f1},_0x34afe5={_0x19b3a4:0x15b,_0x457b0c:0x12,_0x4375f0:0x166};function _0x54abbb(_0x2b1c38,_0x30d1fb,_0x1e489f,_0xc6c33){return _0x30b865(_0x2b1c38-_0x34afe5._0x19b3a4,_0x30d1fb,_0x2b1c38- -_0x34afe5._0x457b0c,_0xc6c33-_0x34afe5._0x4375f0);}function _0x42f901(_0x32edea,_0x499551,_0x54450a,_0x36f794){return _0x511cdd(_0x32edea-_0x49bd47._0x3d6cd8,_0x499551-0x11a,_0x54450a,_0x32edea- -0x12);}const _0x37320b=new Map(_0x21203e['commands'][_0x42f901(_0x368187._0x1727b3,0x3d5,_0x368187._0x12a8e7,0x4cf)](_0x361326=>[_0x361326['id'],_0x361326])),_0x4d03a2=buildDescription2(_0x21203e[_0x42f901(_0x368187._0x2d5cc4,_0x368187._0x38088f,0x674,_0x368187._0x420454)]);return defineTool({'name':_0x54abbb(-_0x368187._0x217496,_0x368187._0x369279,-_0x368187._0x15287b,-0x1a3),'permissionClass':_0x42f901(0x129,_0x368187._0x4e40e4,0x112,-0x33),'description':_0x4d03a2,'inputSchema':{'type':'object','properties':{'name':{'type':_0x42f901(_0x368187._0x572171,0x171,0xeb,_0x368187._0x15f74b)},'args':{'type':_0x42f901(_0x368187._0x3f862b,-0x7,0x2c0,0x7c)}},'required':[_0x54abbb(_0x368187._0x28259f,_0x368187._0x435ce0,0x150,_0x368187._0x2461ae)]},async *'execute'(_0x4c0653){const _0x1bd5e4=_0x37320b[_0x5cdcbd(_0x1f2923._0x528f96,0x639,_0x1f2923._0x18ff6b,_0x1f2923._0xf6daa1)](_0x4c0653[_0x36af29(_0x1f2923._0x2048fb,0x5a3,_0x1f2923._0x201ecc,0x2ea)]);function _0x36af29(_0x569a9c,_0x558126,_0x2e3822,_0x55986c){return _0x42f901(_0x569a9c- -0x15e,_0x558126-0x10a,_0x558126,_0x55986c-0xef);}if(!_0x1bd5e4){const _0x6acf21=Array[_0x5cdcbd(0x4ca,0x5d1,0x7cf,_0x1f2923._0x2391dd)](_0x37320b['keys']())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x4c0653['name']+_0x36af29(_0x1f2923._0x39207f,-_0x1f2923._0x150e0e,0xb6,_0x1f2923._0x3e1680)+_0x6acf21,{'name':_0x4c0653[_0x36af29(_0x1f2923._0x2048fb,0x455,0x319,_0x1f2923._0x52c699)]});}const _0x5b1a9b=await _0x21203e[_0x5cdcbd(0x413,_0x1f2923._0x3b99b6,_0x1f2923._0x361a8b,0x14b)](_0x1bd5e4),_0x1f8c17=_0x4c0653[_0x5cdcbd(_0x1f2923._0xf11c72,_0x1f2923._0x9a6ebf,_0x1f2923._0x2ecae0,_0x1f2923._0x3b7a85)]??'',_0x2ec957=renderCommandInstructions({'instructions':_0x5b1a9b[_0x5cdcbd(_0x1f2923._0x13aa4a,_0x1f2923._0x808e42,0x2b2,0x483)],'argumentsText':_0x1f8c17,'argumentNames':_0x5b1a9b[_0x5cdcbd(_0x1f2923._0x377755,_0x1f2923._0xb2641e,_0x1f2923._0xace3ce,_0x1f2923._0x56dc0d)]});function _0x5cdcbd(_0x18963b,_0x458cbe,_0x350db6,_0xfca2c7){return _0x54abbb(_0x458cbe-0x3c0,_0x350db6,_0x350db6-0xef,_0xfca2c7-0x10d);}return yield createToolOutput(_0x2ec957,{'id':_0x5b1a9b['id'],'name':_0x5b1a9b[_0x5cdcbd(0x82f,0x6cf,0x6a2,_0x1f2923._0x260867)],'path':_0x1bd5e4['source'][_0x5cdcbd(0x484,0x302,0x2d8,_0x1f2923._0xab71e)]}),void 0x0;}});}function createKillShellTool(_0x1cb84a){const _0x1c900b={_0x54515f:0x1c9,_0x20de19:0x28,_0x444a39:0xd6,_0x5f30bc:0x40d,_0xc7df4f:0x3f6,_0xc4e7c:0x58,_0x3f6b76:0x6e,_0x1acce5:0x1a0,_0x2312b0:0xe5,_0x18f26a:0x11c},_0x249292={_0x4e095f:0x76a,_0x1ee4fb:0x73d,_0x5f3d30:0x851,_0x22af06:0x127,_0x367651:0x11d,_0x46347d:0x1a,_0x2231e6:0x367,_0x82f189:0x1dd,_0x144274:0x7ef,_0x294405:0x8c4,_0x277ada:0x821,_0xf22c8d:0x635,_0x1f01b7:0x80b,_0x50b10e:0x6d0,_0x581343:0x157,_0x164383:0x834,_0xbae4ff:0x79c,_0x1c7dd2:0x793,_0x68ba88:0x99c,_0x8cf379:0x824,_0x480f4c:0x67d,_0x1b64c1:0x922,_0x38c989:0x85e,_0x3475d2:0x7d5,_0xdb29e9:0x73d,_0x1e937e:0x7ef,_0x46e918:0x93d,_0x2f9a08:0x6d3,_0x5dbd89:0x4b5,_0x656004:0x8a8,_0x2d90ba:0x22a,_0x5705a3:0x128,_0x18108d:0x23c,_0x12b82c:0x73d,_0x33e057:0x87b,_0x57a257:0x803,_0x3e6054:0x899,_0x3d2d94:0x8fc,_0x1122c9:0xa23,_0x2f5f68:0x94d,_0x100877:0x7ba,_0x80ff3b:0x71b,_0x47bf86:0x694},_0x259445={_0x14eda9:0x658,_0xd7e46c:0x79},_0x40575f={_0x3f9480:0x68},_0x533279={_0x174099:0x1d3},_0x4f97fd={_0x509e89:0x345};function _0x30bfab(_0x469aff,_0x1d86c0,_0x5a7045,_0x4d3d82){return _0x30b865(_0x469aff-0xb,_0x4d3d82,_0x469aff-_0x4f97fd._0x509e89,_0x4d3d82-0x61);}function _0x4c53b2(_0x7f5392,_0x159062,_0x31af63,_0x42af29){return _0x511cdd(_0x7f5392-0xce,_0x159062-_0x533279._0x174099,_0x159062,_0x7f5392- -0x1e1);}const {registry:_0x4d56e8}=_0x1cb84a;return defineTool({'name':_0x4c53b2(-0x3f,-_0x1c900b._0x54515f,_0x1c900b._0x20de19,-0x1c5),'permissionClass':_0x30bfab(0x298,0x3c9,_0x1c900b._0x444a39,0x402),'description':_0x4c53b2(0x24c,0x59,0x2ab,0x2c2),'inputSchema':{'type':_0x30bfab(_0x1c900b._0x5f30bc,0x5bf,_0x1c900b._0xc7df4f,0x260),'properties':{'shellId':{'type':_0x4c53b2(-_0x1c900b._0xc4e7c,_0x1c900b._0x3f6b76,0x165,_0x1c900b._0x1acce5)}},'required':[_0x4c53b2(_0x1c900b._0x2312b0,-_0x1c900b._0x18f26a,-0xfe,0x209)]},async *'execute'(_0x3927c6){const _0x563d67=await _0x4d56e8[_0x327acb(0xac1,0x919,0x710,0xb06)](_0x3927c6[_0x327acb(_0x249292._0x4e095f,_0x249292._0x1ee4fb,0x74a,_0x249292._0x5f3d30)]);function _0x592034(_0x1fb77e,_0x45a1c1,_0x20b4d2,_0x546b17){return _0x4c53b2(_0x546b17- -0xff,_0x1fb77e,_0x20b4d2-0x2f,_0x546b17-_0x40575f._0x3f9480);}const _0x3171da={'shellId':_0x563d67[_0x592034(-0x182,_0x249292._0x22af06,_0x249292._0x367651,-_0x249292._0x46347d)],'outcome':_0x563d67[_0x592034(0x20f,_0x249292._0x2231e6,0x22e,_0x249292._0x82f189)],'status':_0x563d67['status'],'exitCode':_0x563d67[_0x327acb(_0x249292._0x144274,_0x249292._0x294405,_0x249292._0x277ada,0xabe)],'signal':_0x563d67['signal'],'error':_0x563d67[_0x327acb(_0x249292._0xf22c8d,_0x249292._0x1f01b7,0x9fd,_0x249292._0x50b10e)],'gracefulRequested':_0x563d67[_0x592034(0x2a,-_0x249292._0x581343,0x88,-0x16a)],'forceRequested':_0x563d67[_0x327acb(_0x249292._0x164383,0x860,0x9fe,_0x249292._0xbae4ff)]};if(_0x563d67[_0x327acb(_0x249292._0x1c7dd2,0x934,_0x249292._0x68ba88,0xb3f)]===_0x327acb(0x793,_0x249292._0x8cf379,0x919,_0x249292._0x480f4c))throw new ToolExecutionError(_0x327acb(0xaf3,_0x249292._0x1b64c1,0x88b,_0x249292._0x38c989)+_0x3927c6[_0x327acb(_0x249292._0x3475d2,_0x249292._0xdb29e9,0x57e,0x560)]+':\x20'+(_0x563d67[_0x327acb(_0x249292._0x1e937e,_0x249292._0x1f01b7,_0x249292._0x46e918,_0x249292._0x2f9a08)]??_0x327acb(0x65c,0x6bb,_0x249292._0x5dbd89,0x4ae)),_0x3171da);function _0x327acb(_0x4d17b5,_0x4c9bcc,_0x527242,_0x5b73ed){return _0x4c53b2(_0x4c9bcc-_0x259445._0x14eda9,_0x527242,_0x527242-0x160,_0x5b73ed-_0x259445._0xd7e46c);}const _0x5cfaa3=_0x563d67[_0x327acb(_0x249292._0x656004,0x934,0xa06,0x84e)]===_0x592034(_0x249292._0x2d90ba,0xe1,_0x249292._0x5705a3,_0x249292._0x18108d)?'Process\x20'+_0x3927c6[_0x327acb(0x8c1,_0x249292._0x12b82c,_0x249292._0x33e057,0x607)]+_0x327acb(0x819,_0x249292._0x57a257,0x940,_0x249292._0x3e6054)+_0x563d67[_0x327acb(0x857,_0x249292._0x3d2d94,_0x249292._0x1122c9,_0x249292._0x2f5f68)]+'.':_0x327acb(_0x249292._0x100877,0x905,_0x249292._0x80ff3b,_0x249292._0x33e057)+_0x3927c6[_0x327acb(_0x249292._0x47bf86,0x73d,0x8e8,0x5e3)]+'.';return createToolOutput(_0x5cfaa3,_0x3171da);}});}import _0x1142e6 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x22b831=>{const {lookup:_0x357624}=await import('dns/promises');return _0x357624(_0x22b831,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x1ca94c){const _0x2f0e14={_0x257ee3:0x784,_0x553408:0x91e,_0xac6186:0x9bd,_0x30c09b:0x823,_0x3d37e8:0x70e,_0x4b77b8:0x7c3,_0x55837d:0x7b4},_0x30b651={_0x113975:0x61e,_0x15ff0d:0x1},_0x3224da={_0x5509df:0x6b,_0x4e61d5:0x3e3},_0xdeae4c=_0x1ca94c[_0x132776(0x627,0x5e5,_0x2f0e14._0x257ee3,_0x2f0e14._0x553408)]('.');if(_0xdeae4c[_0x132776(_0x2f0e14._0xac6186,0x86f,_0x2f0e14._0x30c09b,_0x2f0e14._0x3d37e8)]!==0x4)return null;function _0x49eeaa(_0x3932f9,_0x2da015,_0x1f3ed2,_0x340b03){return _0x511cdd(_0x3932f9-_0x3224da._0x5509df,_0x2da015-0x41,_0x2da015,_0x3932f9-_0x3224da._0x4e61d5);}function _0x132776(_0xa0db92,_0x16f793,_0x2253e1,_0xd70c72){return _0x30b865(_0xa0db92-0x149,_0xd70c72,_0x2253e1-_0x30b651._0x113975,_0xd70c72-_0x30b651._0x15ff0d);}let _0x2d8c23=0x0;for(const _0x5da348 of _0xdeae4c){if(!/^\d{1,3}$/[_0x49eeaa(_0x2f0e14._0x4b77b8,0x84a,_0x2f0e14._0x55837d,0x6a2)](_0x5da348))return null;const _0x2dfe57=Number(_0x5da348);if(_0x2dfe57>0xff)return null;_0x2d8c23=_0x2d8c23*0x100+_0x2dfe57;}return _0x2d8c23>>>0x0;}function isBlockedIpv4(_0x125020){const _0xef602d={_0x59928b:0x525,_0x468484:0xbe,_0x5da77d:0x232,_0x50a3ad:0x70,_0x5b141c:0x30c,_0x2a5911:0x386,_0x4f656f:0x3ea,_0x22d7cb:0x347,_0x337ea7:0x25e,_0x2e75fc:0x40c,_0x3a7f29:0x65e,_0x5a83b7:0x454,_0x4ad9b9:0x494,_0x1b37cd:0x29e,_0x21c64c:0x326,_0xcd0c21:0x337,_0x4a569a:0x595,_0x3faf28:0x183,_0xb6092a:0xa5,_0x3d1336:0x360,_0x52faaa:0x1c6,_0x25ac5d:0x17e},_0x1dcb4f={_0x4a12fc:0x120},_0xd0898a={_0x37c2be:0x1e4,_0x271e95:0xd5};function _0x31a231(_0x5e83e4,_0x427db9,_0x274c4d,_0x3a382f){return _0x30b865(_0x5e83e4-_0xd0898a._0x37c2be,_0x5e83e4,_0x274c4d-_0xd0898a._0x271e95,_0x3a382f-0x1b6);}const _0x523f23=ipv4ToInt(_0x125020);function _0x33d04c(_0x1916c1,_0x33a347,_0x59669b,_0x3c8061){return _0x30b865(_0x1916c1-0x15d,_0x33a347,_0x3c8061-0x23c,_0x3c8061-_0x1dcb4f._0x4a12fc);}if(_0x523f23===null)return!![];const _0x169970=(_0x54330a,_0x1e3e29)=>{const _0x1da530=ipv4ToInt(_0x54330a);if(_0x1da530===null)return![];const _0x431669=_0x1e3e29===0x0?0x0:0xffffffff<<0x20-_0x1e3e29>>>0x0;return(_0x523f23&_0x431669)===(_0x1da530&_0x431669);};return _0x169970(_0x33d04c(0x67c,0x38b,0x3fe,_0xef602d._0x59928b),0x8)||_0x169970(_0x31a231(_0xef602d._0x468484,0x1c7,_0xef602d._0x5da77d,_0xef602d._0x50a3ad),0x8)||_0x169970(_0x33d04c(_0xef602d._0x5b141c,0x1b5,0x33e,0x3ae),0xa)||_0x169970('127.0.0.0',0x8)||_0x169970(_0x33d04c(_0xef602d._0x2a5911,_0xef602d._0x4f656f,0x5cf,0x3d4),0x10)||_0x169970(_0x33d04c(_0xef602d._0x22d7cb,_0xef602d._0x337ea7,_0xef602d._0x2e75fc,0x33f),0xc)||_0x169970(_0x33d04c(0x64d,0x64c,_0xef602d._0x3a7f29,_0xef602d._0x5a83b7),0x18)||_0x169970(_0x33d04c(_0xef602d._0x4ad9b9,_0xef602d._0x1b37cd,_0xef602d._0x21c64c,_0xef602d._0xcd0c21),0x10)||_0x169970(_0x33d04c(0x482,_0xef602d._0x4a569a,0x251,0x3a6),0xf)||_0x169970(_0x31a231(0xf5,-_0xef602d._0x3faf28,0x50,-_0xef602d._0xb6092a),0x4)||_0x169970(_0x31a231(0xcf,_0xef602d._0x3d1336,_0xef602d._0x52faaa,_0xef602d._0x25ac5d),0x4);}function expandIpv6(_0x5f42c1){const _0x325e55={_0x145f2d:0x5ea,_0x53acea:0x5d8,_0x1762eb:0x537,_0x1f64fb:0x56b,_0x4b09af:0x4e7,_0x617459:0x8a6,_0x23849d:0x6de,_0x205e45:0x765,_0x5cfce5:0x7c1,_0x46d759:0x7d2,_0x50c564:0x8b8,_0x3842a2:0x7f2,_0x4f4778:0x7d2,_0x42771f:0x7a2,_0x210bcb:0x76a,_0x23edb9:0x628,_0x55acf6:0x860,_0x53d29b:0x6cc},_0x1623be={_0x4b71ce:0x4};let _0x4c1e60=_0x5f42c1,_0x1ce3c0;function _0x1c2206(_0x20666a,_0x59ded0,_0x28dc03,_0x1c1779){return _0x511cdd(_0x20666a-0x11e,_0x59ded0-_0x1623be._0x4b71ce,_0x20666a,_0x28dc03-0x3e5);}const _0x4ad7ad=_0x4c1e60['lastIndexOf'](':');_0x4c1e60[_0x1c2206(0x7ec,0x7e3,0x5d8,_0x325e55._0x145f2d)](_0x4ad7ad+0x1)['includes']('.')&&(_0x1ce3c0=_0x4c1e60[_0x1c2206(0x746,0x5a7,_0x325e55._0x53acea,_0x325e55._0x1762eb)](_0x4ad7ad+0x1),_0x4c1e60=_0x4c1e60[_0x4c5f85(_0x325e55._0x1f64fb,0x6d9,0x5fe,_0x325e55._0x4b09af)](0x0,_0x4ad7ad+0x1));const _0x320def=_0x4c1e60[_0x1c2206(_0x325e55._0x617459,0x6d3,0x733,0x883)]('::');if(_0x320def[_0x4c5f85(0x765,0x7aa,0x594,0x604)]>0x2)return null;function _0x4c5f85(_0x223450,_0x3a94aa,_0xc30f51,_0x5cd434){return _0x30b865(_0x223450-0x87,_0x3a94aa,_0x223450-0x560,_0x5cd434-0x120);}const _0x450b81=_0x5db042=>_0x5db042[_0x4c5f85(0x6c6,0x66d,0x651,0x870)](':')[_0x1c2206(0x766,0x740,0x591,0x660)](_0x13c6e0=>_0x13c6e0[_0x1c2206(0x6a5,0x972,0x7d2,0x8b8)]>0x0)[_0x4c5f85(0x858,0x81c,0x692,0x6a4)](_0x42c999=>Number['parseInt'](_0x42c999,0x10)),_0x541951=_0x320def[0x0]?_0x450b81(_0x320def[0x0]):[],_0xc66246=_0x320def['length']===0x2&&_0x320def[0x1]?_0x450b81(_0x320def[0x1]):[],_0x596fcd=[];if(_0x1ce3c0){const _0x20d2fd=ipv4ToInt(_0x1ce3c0);if(_0x20d2fd===null)return null;_0x596fcd[_0x1c2206(_0x325e55._0x23849d,0x620,0x7bf,0x872)](_0x20d2fd>>>0x10&0xffff,_0x20d2fd&0xffff);}const _0x1c176d=[..._0xc66246,..._0x596fcd],_0x348920=0x8-_0x541951[_0x4c5f85(_0x325e55._0x205e45,_0x325e55._0x5cfce5,0x84e,0x61a)]-_0x1c176d[_0x1c2206(0x99f,0x7e7,_0x325e55._0x46d759,0x7fe)];if(_0x320def[_0x1c2206(_0x325e55._0x50c564,_0x325e55._0x3842a2,_0x325e55._0x4f4778,_0x325e55._0x42771f)]===0x1)return _0x541951[_0x1c2206(_0x325e55._0x210bcb,_0x325e55._0x23edb9,0x7d2,_0x325e55._0x55acf6)]+_0x1c176d[_0x4c5f85(_0x325e55._0x205e45,0x895,0x821,_0x325e55._0x53d29b)]===0x8?[..._0x541951,..._0x1c176d]:null;if(_0x348920<0x0)return null;return[..._0x541951,...new Array(_0x348920)['fill'](0x0),..._0x1c176d];}function isBlockedIpv6(_0x4dd06d){const _0x37eabc={_0x219a10:0x33b,_0x52132d:0x117,_0x3f4eeb:0x9d,_0x4ae9c3:0x114,_0x2ec29d:0xd5,_0x585348:0x1d3,_0x1e3b4a:0x9d,_0x249b1d:0x24b,_0x2cfe5f:0x12c,_0x5c14c3:0x9db,_0x4ae60a:0x7c8},_0x352f2d={_0x194a09:0x12c,_0x26d531:0x3df},_0xd28e72=expandIpv6(_0x4dd06d);if(!_0xd28e72||_0xd28e72[_0x1f80f4(0x1d9,_0x37eabc._0x219a10,_0x37eabc._0x52132d,0x3de)](_0x1b6bf4=>Number[_0x1f80f4(0x3c2,0x56c,0x5b1,0x43f)](_0x1b6bf4)))return!![];const _0x5be402=_0xd28e72[_0x1f80f4(_0x37eabc._0x3f4eeb,-0x11e,-_0x37eabc._0x4ae9c3,-_0x37eabc._0x2ec29d)](0x0,0x7)[_0x1f80f4(0x3ce,0x2f3,0x3f2,_0x37eabc._0x585348)](_0x691c38=>_0x691c38===0x0);if(_0x5be402&&(_0xd28e72[0x7]===0x0||_0xd28e72[0x7]===0x1))return!![];function _0x1f80f4(_0x565571,_0x11ddd3,_0x193517,_0x3f2f1e){return _0x511cdd(_0x565571-0x8,_0x11ddd3-0x5d,_0x3f2f1e,_0x565571- -0x156);}if(_0xd28e72[_0x1f80f4(_0x37eabc._0x1e3b4a,_0x37eabc._0x249b1d,_0x37eabc._0x2cfe5f,0x56)](0x0,0x5)[_0x33f1da(_0x37eabc._0x5c14c3,0x9eb,0x903,_0x37eabc._0x4ae60a)](_0x450fde=>_0x450fde===0x0)&&(_0xd28e72[0x5]===0xffff||_0xd28e72[0x5]===0x0)){const _0xb8dcad=(_0xd28e72[0x6]<<0x10|_0xd28e72[0x7])>>>0x0,_0x5ebda7=[_0xb8dcad>>>0x18&0xff,_0xb8dcad>>>0x10&0xff,_0xb8dcad>>>0x8&0xff,_0xb8dcad&0xff]['join']('.');return isBlockedIpv4(_0x5ebda7);}const _0x5cb246=_0xd28e72[0x0];if((_0x5cb246&0xff00)===0xfc00||(_0x5cb246&0xfe00)===0xfc00)return!![];if((_0x5cb246&0xffc0)===0xfe80)return!![];if((_0x5cb246&0xff00)===0xff00)return!![];function _0x33f1da(_0x431ed2,_0x3fc099,_0x5accd3,_0x400a34){return _0x511cdd(_0x431ed2-_0x352f2d._0x194a09,_0x3fc099-0x157,_0x400a34,_0x5accd3-_0x352f2d._0x26d531);}return![];}function isBlockedAddress(_0x2acb45){const _0x4f5f0d=isIP(_0x2acb45);if(_0x4f5f0d===0x4)return isBlockedIpv4(_0x2acb45);if(_0x4f5f0d===0x6)return isBlockedIpv6(_0x2acb45);return!![];}async function assertPublicUrl(_0xaef4e3,_0x384eae={}){const _0x4f48d5={_0x314a54:0x6f5,_0x294782:0x76c,_0x48a320:0x81a,_0x4f7c02:0x845,_0x48dba3:0x7ef,_0x639bf1:0x10c,_0x28da48:0x255,_0x5ae97f:0x2df,_0x5f4c70:0x2e1,_0x4c056f:0x7eb,_0x16f8c8:0x882,_0x2d5896:0x74c,_0x2a2dcc:0x7ec,_0x46a729:0x499,_0x25826e:0x624,_0x11762f:0xa12,_0x2b28ca:0x9cf,_0x57cb61:0x897,_0xe6652c:0x72a,_0x332c7a:0x4ae,_0x58608c:0x67e,_0x3337c3:0x8e2,_0x3541f3:0x60,_0x518e6a:0xdc,_0x82dfdc:0x103,_0x3f3504:0x12c,_0x39a19f:0x6dc,_0xaebef:0x93b,_0x392b49:0x8fc,_0x3e63fe:0x293,_0x43ce88:0x2a9,_0x24e7de:0x130,_0x257493:0x87f,_0x41b7ea:0x75b,_0x427e87:0x814,_0x372ca3:0x101,_0x300b7b:0xc2,_0x469ab3:0x6d,_0x75e531:0x109,_0xb763e2:0x1e9,_0x26405d:0xdc,_0x6ceb7c:0xce},_0x251103={_0x414a8f:0x1d8},_0x5092ee={_0x1b6b31:0xfc};let _0x298a09;try{_0x298a09=new URL(_0xaef4e3);}catch{throw new ToolExecutionError(_0x1955b4(_0x4f48d5._0x314a54,0x84b,_0x4f48d5._0x294782,_0x4f48d5._0x48a320),{'url':_0xaef4e3});}if(_0x298a09[_0x1955b4(_0x4f48d5._0x4f7c02,0x6d0,_0x4f48d5._0x48dba3,0x897)]!==_0x44ea9e(0xf0,_0x4f48d5._0x639bf1,-0x66,-_0x4f48d5._0x28da48)&&_0x298a09[_0x44ea9e(_0x4f48d5._0x5ae97f,_0x4f48d5._0x5f4c70,0x157,0x2bc)]!==_0x1955b4(0x69b,0x970,_0x4f48d5._0x4c056f,_0x4f48d5._0x16f8c8))throw new ToolExecutionError(_0x44ea9e(0x295,0x107,0xbf,0x104),{'url':_0xaef4e3});if(_0x298a09[_0x1955b4(0x926,0x60f,0x76f,_0x4f48d5._0x2d5896)]||_0x298a09[_0x1955b4(0x50f,0x737,0x740,0x70d)])throw new ToolExecutionError(_0x1955b4(0x492,_0x4f48d5._0x2a2dcc,_0x4f48d5._0x46a729,_0x4f48d5._0x25826e),{'url':_0x298a09[_0x1955b4(_0x4f48d5._0x11762f,0x6ad,_0x4f48d5._0x2b28ca,_0x4f48d5._0x57cb61)]+'//'+_0x298a09[_0x1955b4(_0x4f48d5._0xe6652c,_0x4f48d5._0x332c7a,_0x4f48d5._0x58608c,0x5cc)]+_0x298a09[_0x1955b4(_0x4f48d5._0x3337c3,0x76a,0x92f,0x977)]});const _0x38fee3=_0x298a09[_0x44ea9e(_0x4f48d5._0x3541f3,-0xe3,0xf4,_0x4f48d5._0x518e6a)][_0x44ea9e(-_0x4f48d5._0x82dfdc,_0x4f48d5._0x3f3504,0xd7,0x10)](/^\[|\]$/g,'');function _0x44ea9e(_0x5e166d,_0x317fbf,_0x320749,_0x4cab42){return _0x30b865(_0x5e166d-0xeb,_0x5e166d,_0x320749- -_0x5092ee._0x1b6b31,_0x4cab42-0xca);}const _0x2fc872=_0x298a09[_0x1955b4(_0x4f48d5._0x39a19f,_0x4f48d5._0xaebef,_0x4f48d5._0x392b49,0x897)]+'//'+_0x298a09[_0x44ea9e(-0x167,-_0x4f48d5._0x3e63fe,-0x174,-_0x4f48d5._0x43ce88)]+_0x298a09['pathname'];if(isIP(_0x38fee3)){if(isBlockedAddress(_0x38fee3))throw new ToolExecutionError(_0x44ea9e(0x247,-0x42,0x70,-_0x4f48d5._0x24e7de),{'url':_0x2fc872});return _0x298a09;}function _0x1955b4(_0x274308,_0xbd0caa,_0x2cd637,_0x5c5580){return _0x511cdd(_0x274308-_0x251103._0x414a8f,_0xbd0caa-0x8a,_0x2cd637,_0x5c5580-0x45c);}const _0x4a2ebc=_0x384eae[_0x1955b4(_0x4f48d5._0x257493,0x9be,_0x4f48d5._0x41b7ea,_0x4f48d5._0x427e87)]??defaultLookup;let _0x45115b;try{_0x45115b=await _0x4a2ebc(_0x38fee3);}catch{throw new ToolExecutionError(_0x44ea9e(_0x4f48d5._0x372ca3,-0x2c5,-_0x4f48d5._0x300b7b,0x9d),{'url':_0x2fc872});}if(_0x45115b[_0x44ea9e(_0x4f48d5._0x469ab3,-0xea,_0x4f48d5._0x75e531,0x5b)]===0x0)throw new ToolExecutionError(_0x44ea9e(-_0x4f48d5._0xb763e2,-_0x4f48d5._0x26405d,-0xc2,-0x1d0),{'url':_0x2fc872});for(const {address:_0xa1f8cc}of _0x45115b){if(isBlockedAddress(_0xa1f8cc))throw new ToolExecutionError(_0x44ea9e(-_0x4f48d5._0x6ceb7c,-0xa3,0x53,-0x1ad),{'url':_0x2fc872});}return _0x298a09;}async function safeFetch(_0x5b90e0,_0x1d224f={},_0x4f74ad={}){const _0x1e37e6={_0x268de7:0x409,_0x3b49a6:0x62a,_0x4d3931:0x2f2,_0x1c4b83:0x48b,_0xc6dcb4:0x401,_0x2edb1e:0x273,_0x4d8651:0x44b,_0xa143e9:0x25e,_0x105372:0x55,_0x127e92:0x1c3,_0x359f1e:0x3a1,_0x329bed:0xeb,_0x49663e:0x547,_0x1a371d:0x6de,_0x1f31a9:0x644,_0x1ac86a:0x678,_0xa25042:0xca,_0x19b65d:0x106,_0xfad941:0x4a7,_0x1a4d93:0x53a},_0x5ab1ec={_0xeeeada:0x1e8,_0x453e39:0x1ea},_0x8d5a6e={_0x22dd50:0x9d,_0x4de0ee:0x312},_0x29d7c3=_0x4f74ad[_0x15bfef(_0x1e37e6._0x268de7,0x456,_0x1e37e6._0x3b49a6,_0x1e37e6._0x4d3931)]??fetch;function _0x15bfef(_0x48cefc,_0x1ad004,_0xfa394b,_0x33ad39){return _0x30b865(_0x48cefc-_0x8d5a6e._0x22dd50,_0x33ad39,_0x1ad004-_0x8d5a6e._0x4de0ee,_0x33ad39-0x1a);}const _0x53255e=_0x4f74ad[_0x15bfef(0x2b5,0x321,_0x1e37e6._0x1c4b83,0x126)]??DEFAULT_MAX_REDIRECTS;function _0x31e5b6(_0x4b5cf1,_0x1d8711,_0x4dcf34,_0x138b7d){return _0x511cdd(_0x4b5cf1-_0x5ab1ec._0xeeeada,_0x1d8711-_0x5ab1ec._0x453e39,_0x4b5cf1,_0x1d8711- -0x29d);}let _0x3ed4f9=_0x5b90e0;for(let _0x39b21e=0x0;;_0x39b21e+=0x1){const _0x29d962=await assertPublicUrl(_0x3ed4f9,_0x4f74ad),_0x22f126=await _0x29d7c3(_0x29d962[_0x15bfef(0x395,0x3bc,_0x1e37e6._0xc6dcb4,_0x1e37e6._0x2edb1e)](),{..._0x1d224f,'redirect':_0x31e5b6(_0x1e37e6._0x4d8651,0x296,_0x1e37e6._0xa143e9,0x290)}),_0x52d459=_0x22f126[_0x31e5b6(_0x1e37e6._0x105372,_0x1e37e6._0x127e92,_0x1e37e6._0x359f1e,_0x1e37e6._0x329bed)][_0x15bfef(_0x1e37e6._0x49663e,0x59d,0x5b1,_0x1e37e6._0x1a371d)](_0x15bfef(0x784,_0x1e37e6._0x1f31a9,_0x1e37e6._0x1ac86a,0x5cc));if(!REDIRECT_STATUSES['has'](_0x22f126['status'])||!_0x52d459)return _0x22f126;if(_0x39b21e>=_0x53255e)throw new ToolExecutionError(_0x31e5b6(-_0x1e37e6._0xa25042,-_0x1e37e6._0x19b65d,-0x6,-0x12e),{'url':_0x29d962['toString']()});_0x3ed4f9=new URL(_0x52d459,_0x29d962)[_0x15bfef(0x53c,0x3bc,_0x1e37e6._0xfad941,_0x1e37e6._0x1a4d93)]();}}var USER_AGENT=_0x511cdd(0x2e5,0x14b,0x2a0,0x23a),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x3be98c,_0x1530b5){const _0x564323={_0x2e7d49:0x2b9,_0x5ba87e:0x3ba,_0x9fb476:0x1ae,_0x20afe9:0xf2,_0x4ab9fc:0x4d5,_0x27ed17:0x61f},_0xda4ebf={_0x4826a1:0x6ec},_0x46e4e4={_0x3ad995:0x18,_0x2cbbb3:0x10e,_0x130219:0x27e},_0x5104a2={_0x29b572:0x1f8},_0x1c713c={_0x40dea9:0x4f};function _0x2e738e(_0x595c54,_0x512a95,_0x5c0e73,_0x31ef75){return _0x511cdd(_0x595c54-_0x1c713c._0x40dea9,_0x512a95-0x1c0,_0x31ef75,_0x5c0e73- -0x243);}function _0x1484a1(_0x5b6e37,_0x2cdb60,_0x204ba7,_0x201cb4){return _0x30b865(_0x5b6e37-0x1dd,_0x5b6e37,_0x201cb4-_0x5104a2._0x29b572,_0x201cb4-0x65);}const _0x20a0c6=new AbortController(),_0x5b2157=setTimeout(()=>_0x20a0c6[_0x2e738e(0x3e6,0x45c,0x250,0x1d8)](new Error('Fetch\x20timed\x20out')),_0x1530b5),_0x226ecd=()=>_0x20a0c6[_0x1484a1(0x354,0x411,0x437,0x4a3)](_0x3be98c[_0x2e738e(0x17b,0x299,0xf2,-0xe5)]);return _0x3be98c[_0x2e738e(0x40a,0x36e,_0x564323._0x2e7d49,0x348)]?_0x20a0c6[_0x1484a1(0x584,0x4a8,_0x564323._0x5ba87e,0x4a3)](_0x3be98c[_0x2e738e(0xd6,_0x564323._0x9fb476,_0x564323._0x20afe9,0x28e)]):_0x3be98c['addEventListener']('abort',_0x226ecd,{'once':!![]}),{'signal':_0x20a0c6[_0x1484a1(_0x564323._0x4ab9fc,_0x564323._0x27ed17,0x51f,0x47c)],'cleanup':()=>{function _0x2b5d8f(_0x3117f1,_0x18c412,_0x49307c,_0x4a6ed4){return _0x1484a1(_0x3117f1,_0x18c412-_0x46e4e4._0x3ad995,_0x49307c-_0x46e4e4._0x2cbbb3,_0x18c412-_0x46e4e4._0x130219);}clearTimeout(_0x5b2157),_0x3be98c[_0x2b5d8f(0x8ea,0x705,_0xda4ebf._0x4826a1,0x89e)]('abort',_0x226ecd);}};}function createWebFetchTool(_0x75e131={}){const _0x164726={_0x233dc8:0x1ea,_0x23d5e4:0x296,_0x4696af:0xf3,_0x495b00:0x2d5,_0x3933f4:0xf1,_0x3f9148:0x16b,_0xb7fed2:0x18c,_0x3a825a:0x1aa,_0x3ea2ff:0x355,_0x2e91d4:0x4a9,_0x5cdd85:0x52,_0x493f44:0x4c3,_0x165930:0x3b2,_0x5391fa:0x443,_0xca712:0x2d4,_0x51c171:0x3d6,_0x2de845:0x418,_0x4d119b:0x9,_0x12a3f7:0x159,_0x12e4c5:0x159,_0x3f60dd:0xa6,_0x479e54:0x1f0,_0x37c2a9:0x224,_0x3f13b9:0xd6},_0x464023={_0x5535cb:0xdf,_0x2113c2:0x17d,_0x115f58:0xfb,_0x4c8517:0x210,_0x2b6edd:0x23e,_0x1dce0f:0x5c4,_0x22b18a:0x97d,_0x19760e:0x25d,_0x4dda4d:0x1df,_0x48fa91:0xa03,_0x13e155:0x28e,_0x1d61b1:0x174,_0x2706f7:0x6cb,_0x4aab4e:0x705,_0x2fd2a2:0x7c9,_0x4f7c03:0x77e,_0x469fcb:0x15,_0xe70bed:0x11d,_0x86094b:0x12d,_0x2fccbe:0x4ad,_0x229313:0x7e,_0x35da6a:0x173,_0x425c19:0x5d0,_0x13f568:0x6f2,_0x26882f:0x4ab,_0x4acb9d:0x4ad,_0x5c8bd3:0x587,_0x4109f6:0x5a0,_0x50e07c:0x8d9,_0x35f125:0x720,_0x5fcd18:0x508,_0xe6ac97:0x67c,_0x556e51:0x61b,_0x49ea14:0x1a3,_0x5e423b:0x3b2,_0x4c6fec:0x839},_0x10aece={_0x51705b:0xdb,_0x1de50c:0xba};function _0x18658e(_0x5aa777,_0x36247c,_0x162fd4,_0x5c348a){return _0x30b865(_0x5aa777-_0x10aece._0x51705b,_0x5aa777,_0x5c348a-0x25d,_0x5c348a-_0x10aece._0x1de50c);}const _0x51f446=_0x75e131['name']??_0x2cf665(0x328,0x1ff,_0x164726._0x233dc8,_0x164726._0x23d5e4),_0x184285=_0x75e131['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0xf8b364=_0x75e131[_0x2cf665(_0x164726._0x4696af,0x338,_0x164726._0x495b00,_0x164726._0x3933f4)],_0x2513ce=new _0x1142e6({'headingStyle':_0x2cf665(-_0x164726._0x3f9148,-_0x164726._0xb7fed2,0x67,_0x164726._0x3a825a),'codeBlockStyle':'fenced','bulletListMarker':'-'});function _0x2cf665(_0x12b13b,_0x1bf772,_0x437884,_0x3dcd98){return _0x511cdd(_0x12b13b-0x14a,_0x1bf772-0x1c3,_0x1bf772,_0x437884- -0xe3);}return _0x2513ce['remove'](['script',_0x2cf665(0x161,_0x164726._0x3ea2ff,0x344,_0x164726._0x2e91d4),'noscript','iframe','nav',_0x2cf665(0x1bd,-_0x164726._0x5cdd85,0xa2,0x10),_0x2cf665(0x590,_0x164726._0x493f44,_0x164726._0x165930,0x284),_0x18658e(0x26e,_0x164726._0x5391fa,_0x164726._0xca712,0x419)]),defineTool({'name':_0x51f446,'permissionClass':_0x18658e(_0x164726._0x51c171,0xe4,_0x164726._0x2de845,0x273),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x2cf665(0xfa,0x1f8,0x1cd,_0x164726._0x4d119b),'properties':{'description':{'type':_0x2cf665(_0x164726._0x12a3f7,-_0x164726._0x12e4c5,_0x164726._0x3f60dd,-0xbf)},'url':{'type':_0x18658e(0xa7,_0x164726._0x479e54,_0x164726._0x37c2a9,0x1fe)}},'required':[_0x2cf665(0xaf,0x254,0x12a,-_0x164726._0x3f13b9)]},async *'execute'(_0x1d3c50,_0x451d89){const _0x185a36={_0x111f54:0xdc},_0x18f744={_0x196131:0x1d},_0x50d87c=(await assertPublicUrl(_0x1d3c50[_0x273962(-_0x464023._0x5535cb,-_0x464023._0x2113c2,-_0x464023._0x115f58,-0x191)],{'lookup':_0xf8b364}))['toString']();if(_0x451d89[_0x12f7dc(0x8a3,0x9f3,0x8b8,0x945)][_0x273962(_0x464023._0x4c8517,_0x464023._0x2b6edd,0x107,0x22e)])throw new ToolExecutionError(_0x12f7dc(_0x464023._0x1dce0f,0x7d1,0x775,_0x464023._0x22b18a),{'url':_0x50d87c});const _0x50952a=createTimeoutSignal(_0x451d89[_0x273962(0x180,0x100,_0x464023._0x19760e,_0x464023._0x4dda4d)],_0x184285);let _0x399900='',_0x40be2d=0x0,_0xe75d68;try{const _0xe72164=await safeFetch(_0x50d87c,{'headers':{'User-Agent':USER_AGENT},'signal':_0x50952a[_0x12f7dc(_0x464023._0x48fa91,0xa33,0x8b8,0x734)]},{'lookup':_0xf8b364});if(!_0xe72164['ok'])throw new ToolExecutionError('HTTP\x20'+_0xe72164['status']+'\x20'+_0xe72164[_0x273962(-0x8e,-_0x464023._0x13e155,-0x17f,-0x17d)],{'url':_0x50d87c,'statusCode':_0xe72164['status']});_0x399900=_0xe72164[_0x273962(_0x464023._0x1d61b1,0x1de,0x249,0x1ce)][_0x12f7dc(0x92f,_0x464023._0x2706f7,0x8bf,_0x464023._0x4aab4e)](_0x12f7dc(_0x464023._0x2fd2a2,0x6dc,0x89d,_0x464023._0x4f7c03))??'',_0x40be2d=_0xe72164[_0x273962(0x199,0x22f,0x1df,0x1df)],_0xe75d68=await _0xe72164['text']();}catch(_0x1c0850){if(_0x1c0850 instanceof ToolExecutionError)throw _0x1c0850;const _0x11085a=_0x1c0850 instanceof Error?_0x1c0850[_0x273962(_0x464023._0x469fcb,_0x464023._0xe70bed,-0xd0,-_0x464023._0x86094b)]:String(_0x1c0850);throw new ToolExecutionError(_0x11085a,{'url':_0x50d87c});}finally{_0x50952a[_0x12f7dc(0x6da,0x618,0x61a,_0x464023._0x2fccbe)]();}function _0x273962(_0x1de035,_0x5216c7,_0x196c97,_0xdf3e8e){return _0x18658e(_0xdf3e8e,_0x5216c7-0x4b,_0x196c97-_0x18f744._0x196131,_0x1de035- -0x361);}const _0x40dd19=new Date()['toISOString']();let _0x467c3d,_0x5f50c1;if(_0x399900['includes'](_0x273962(-0x100,_0x464023._0x229313,-_0x464023._0x35da6a,-0x166)))_0x467c3d=_0x12f7dc(_0x464023._0x425c19,0x69c,_0x464023._0x13f568,0x86a)+_0xe75d68+_0x12f7dc(0x7fe,0x743,0x61b,0x722),_0x5f50c1=_0x12f7dc(0x454,_0x464023._0x26882f,0x666,0x4f6);else _0x399900[_0x12f7dc(0x637,_0x464023._0x4acb9d,0x602,_0x464023._0x5c8bd3)](_0x12f7dc(0x73c,0x397,_0x464023._0x4109f6,0x4ec))?(_0x467c3d=_0x2513ce[_0x12f7dc(_0x464023._0x50e07c,0x527,_0x464023._0x35f125,0x557)](_0xe75d68),_0x5f50c1=_0x12f7dc(_0x464023._0x5fcd18,_0x464023._0xe6ac97,0x594,_0x464023._0x556e51)):(_0x467c3d=_0xe75d68,_0x5f50c1=_0x273962(_0x464023._0x49ea14,_0x464023._0x5e423b,0x209,0x3b1));yield createToolOutput(_0x467c3d,{'url':_0x50d87c,'contentType':_0x399900,'statusCode':_0x40be2d,'format':_0x5f50c1,'size':_0xe75d68[_0x12f7dc(0x855,0xa0e,_0x464023._0x4c6fec,0x9f4)],'fetchedAt':_0x40dd19});function _0x12f7dc(_0x56f2fe,_0x3c252e,_0x5c59ac,_0x158ba5){return _0x2cf665(_0x56f2fe-_0x185a36._0x111f54,_0x3c252e,_0x5c59ac-0x52f,_0x158ba5-0x134);}return void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x30b865(0x1cf,0x12d,0x226,0x2f6);function normalizeUrl(_0x4c1b7a){const _0x1dfd31={_0x5043fb:0x166,_0x4a55b7:0x14d,_0x3956c5:0x52,_0x552cdd:0x22b,_0x54dfa7:0x231,_0x3bac67:0x70,_0x6ee9e5:0x7d,_0x274dd1:0x195,_0x1557e7:0x138,_0x4d81c3:0x2dd,_0x3cfa92:0x196,_0x57af0c:0x595,_0x499c45:0x399,_0x2002bc:0xcd,_0x5ad18b:0xd1,_0x18b6c6:0x175,_0x58ffb8:0x4c,_0x4b416f:0x371,_0x521b54:0x670,_0x30225f:0x756,_0x12e62c:0x7cf},_0x44d06f={_0x1006f6:0x10b},_0x1c35cd={_0x2c6bee:0x15c,_0x1cfe78:0x29d};function _0x34c346(_0x3c4028,_0x5d6c54,_0x687748,_0x183eae){return _0x511cdd(_0x3c4028-_0x1c35cd._0x2c6bee,_0x5d6c54-0x155,_0x5d6c54,_0x3c4028- -_0x1c35cd._0x1cfe78);}function _0x306860(_0x25fc8e,_0x540b62,_0x5721a2,_0x16c967){return _0x511cdd(_0x25fc8e-0x8b,_0x540b62-_0x44d06f._0x1006f6,_0x540b62,_0x5721a2-0x3ae);}try{const _0x45cc8a=new URL(_0x4c1b7a);for(const _0x23d2f2 of[_0x34c346(-0x3a,-_0x1dfd31._0x5043fb,_0x1dfd31._0x4a55b7,-_0x1dfd31._0x3956c5),_0x34c346(-0x81,-_0x1dfd31._0x552cdd,-_0x1dfd31._0x54dfa7,0x47),_0x34c346(_0x1dfd31._0x3bac67,_0x1dfd31._0x6ee9e5,0x24c,0x24a),_0x34c346(0x271,0x68,0x2be,_0x1dfd31._0x274dd1),_0x34c346(0xc5,0x2a6,-0x8c,-0x94),_0x34c346(_0x1dfd31._0x1557e7,0x152,_0x1dfd31._0x4d81c3,_0x1dfd31._0x3cfa92),_0x306860(0x5e1,_0x1dfd31._0x57af0c,0x526,_0x1dfd31._0x499c45),_0x34c346(_0x1dfd31._0x2002bc,0x26e,0x16,-_0x1dfd31._0x5ad18b),'mc_eid']){_0x45cc8a[_0x34c346(_0x1dfd31._0x18b6c6,_0x1dfd31._0x58ffb8,_0x1dfd31._0x4b416f,0x18)][_0x306860(0x951,_0x1dfd31._0x521b54,0x75c,0x69e)](_0x23d2f2);}return _0x45cc8a[_0x306860(_0x1dfd31._0x30225f,_0x1dfd31._0x12e62c,0x640,0x4f9)]();}catch{return _0x4c1b7a;}}function cseDateRestrict(_0x4ac71d){const _0x3a5b8f={_0x3bb4e5:0x340,_0x218d36:0x5fc,_0x260c9c:0x5ff,_0xc290fc:0x774},_0x1bf944={_0x3ab544:0x92},_0x136e50={_0x20ef29:0x49};function _0x8d856f(_0x375073,_0x38ffc2,_0x2323f4,_0x37f34c){return _0x511cdd(_0x375073-_0x136e50._0x20ef29,_0x38ffc2-0x5,_0x38ffc2,_0x2323f4-0x293);}if(_0x4ac71d<=0x0)return void 0x0;function _0xeff962(_0x521f68,_0xcd9612,_0x841fb,_0x4fac87){return _0x511cdd(_0x521f68-0x36,_0xcd9612-_0x1bf944._0x3ab544,_0x521f68,_0x841fb- -0x243);}if(_0x4ac71d<=0x1e)return'd'+Math[_0x8d856f(_0x3a5b8f._0x3bb4e5,0x5a8,0x4a7,_0x3a5b8f._0x218d36)](0x1,Math[_0xeff962(0x2a9,0xff,0x1c5,0xe2)](_0x4ac71d));if(_0x4ac71d<=0x16d)return'm'+Math[_0x8d856f(0x76a,0x713,_0x3a5b8f._0x260c9c,_0x3a5b8f._0xc290fc)](_0x4ac71d/0x1e);return'y'+Math['ceil'](_0x4ac71d/0x16d);}function addSiteFilters(_0x4080ea,_0x13ac6d){const _0x34c1c0={_0x5d89f6:0x325,_0xda20a3:0x220,_0x3b53c7:0x2f4,_0x48c0ab:0x46c,_0x389166:0x73,_0x984f72:0xd5,_0x696ca8:0x630,_0x1bcd04:0x510,_0x419385:0x524},_0x420e11={_0x44678a:0xb},_0x3d4fe9={_0x150882:0x142,_0x3dadf1:0x26};function _0x160048(_0x3681b7,_0x557064,_0x3df7dd,_0x17ed64){return _0x511cdd(_0x3681b7-_0x3d4fe9._0x150882,_0x557064-_0x3d4fe9._0x3dadf1,_0x3681b7,_0x17ed64-0xed);}function _0x15cd0a(_0x278f50,_0x20afe1,_0x3dbf0b,_0x4e3ed4){return _0x30b865(_0x278f50-_0x420e11._0x44678a,_0x3dbf0b,_0x20afe1- -0x4,_0x4e3ed4-0x9c);}if(_0x13ac6d[_0x15cd0a(0x16d,0x201,_0x34c1c0._0x5d89f6,0x306)]===0x0)return _0x4080ea['trim']();return(_0x4080ea+'\x20('+_0x13ac6d[_0x15cd0a(_0x34c1c0._0xda20a3,_0x34c1c0._0x3b53c7,_0x34c1c0._0x48c0ab,0x2e2)](_0x115d00=>_0x15cd0a(-0x54,0xae,-0x49,-0x14)+_0x115d00)[_0x15cd0a(_0x34c1c0._0x389166,0x21a,0x315,_0x34c1c0._0x984f72)]('\x20OR\x20')+')')[_0x160048(_0x34c1c0._0x696ca8,0x6cd,_0x34c1c0._0x1bcd04,_0x34c1c0._0x419385)]();}function normalizeType(_0xbe72d1){const _0x38cc6f={_0x1be4be:0x521,_0x48c1b2:0x229,_0x272337:0x1e5,_0x1d1781:0x29b,_0x2bd42c:0x40e},_0x4b05d7={_0x1d1d9f:0x115},_0x30b3c7={_0x4b2b07:0x1a9,_0x42abed:0xb2,_0x3282cb:0x13f};function _0x2f51a3(_0x152363,_0x2bdeef,_0x593a9d,_0x43c217){return _0x511cdd(_0x152363-_0x30b3c7._0x4b2b07,_0x2bdeef-_0x30b3c7._0x42abed,_0x593a9d,_0x43c217- -_0x30b3c7._0x3282cb);}function _0x43f25f(_0x26318a,_0x383ba2,_0x241343,_0x76b538){return _0x511cdd(_0x26318a-_0x4b05d7._0x1d1d9f,_0x383ba2-0x1f4,_0x26318a,_0x383ba2-0x16d);}return _0xbe72d1===_0x43f25f(_0x38cc6f._0x1be4be,0x3b0,_0x38cc6f._0x48c1b2,_0x38cc6f._0x272337)?'images':_0x2f51a3(0x5f0,0x5d0,_0x38cc6f._0x1d1781,_0x38cc6f._0x2bd42c);}async function fetchJson(_0x44616b,_0x225e3f,_0x6e506f){const _0x446f96={_0x53d618:0x137,_0x53f995:0x9c,_0x5423a4:0x5ef,_0x142bce:0x502,_0x1f87ed:0x55,_0x426eb0:0x28c,_0x39132b:0x72,_0x5cad25:0xca,_0x20cf5e:0x46b,_0x51ef0c:0x47f,_0x359929:0x2ec,_0x3d6c99:0x183,_0x437d0b:0x10c,_0x5448be:0x29c,_0x58b0f0:0x568,_0x588aa1:0x2dd,_0xc930b9:0x3ec,_0x2db135:0x3f8,_0x1b4d2a:0x4ae,_0x223199:0x366,_0x2c3f30:0x518,_0x1d7716:0x522,_0x1875b9:0x55a,_0x24c600:0x29b,_0x457ec7:0x2c6,_0x22b031:0x2b6,_0x404781:0x1fd,_0x547c10:0x186,_0x38e127:0x3a6,_0x4b1fa6:0x570,_0x35cbc5:0x3e1,_0x1411fc:0x178,_0x4ee4e1:0x4d9},_0xaf1107={_0x55a630:0xd9,_0x1434c4:0x161,_0x4c9ec0:0xeb},_0x280669={_0x1c5c75:0xa0};function _0x2cd55f(_0xca4450,_0x6fb93b,_0xa2fc6d,_0x2e4bfa){return _0x30b865(_0xca4450-0x3e,_0xa2fc6d,_0x2e4bfa- -_0x280669._0x1c5c75,_0x2e4bfa-0x50);}function _0x49f3bc(_0x4fec43,_0x9223a8,_0x1b46d2,_0xe1494b){return _0x511cdd(_0x4fec43-_0xaf1107._0x55a630,_0x9223a8-_0xaf1107._0x1434c4,_0x1b46d2,_0x9223a8-_0xaf1107._0x4c9ec0);}const _0x5724ac=await fetch(_0x44616b,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x2cd55f(0x124,-0x1f0,-_0x446f96._0x53d618,-_0x446f96._0x53f995),..._0x6e506f?.[_0x49f3bc(0x41e,0x54b,_0x446f96._0x5423a4,_0x446f96._0x142bce)]},'signal':_0x225e3f,..._0x6e506f});if(!_0x5724ac['ok']){let _0x4ed477,_0x5549bb;try{_0x4ed477=await _0x5724ac['text']();const _0x2af41c=JSON['parse'](_0x4ed477),_0x55e8d9=typeof _0x2af41c[_0x2cd55f(-0x7a,_0x446f96._0x1f87ed,_0x446f96._0x426eb0,0x160)]==='object'?_0x2af41c[_0x2cd55f(0x10f,-_0x446f96._0x39132b,_0x446f96._0x5cad25,0x160)][_0x49f3bc(_0x446f96._0x20cf5e,_0x446f96._0x51ef0c,_0x446f96._0x359929,0x31f)]:void 0x0;_0x5549bb=_0x2af41c[_0x2cd55f(_0x446f96._0x3d6c99,-0x5b,0x2a5,_0x446f96._0x437d0b)]?.[_0x49f3bc(0x549,0x3ec,_0x446f96._0x5448be,_0x446f96._0x58b0f0)]??_0x2af41c[_0x49f3bc(_0x446f96._0x588aa1,0x47f,0x28e,0x47c)]?.['errors']?.[0x0]?.[_0x49f3bc(0x37e,_0x446f96._0xc930b9,_0x446f96._0x2db135,0x214)]??_0x55e8d9;}catch{}const _0xf9537c=_0x5549bb?_0x49f3bc(0x2b8,_0x446f96._0x1b4d2a,_0x446f96._0x223199,_0x446f96._0x2c3f30)+_0x5724ac['status']+':\x20'+_0x5549bb:_0x49f3bc(_0x446f96._0x1d7716,_0x446f96._0x1b4d2a,_0x446f96._0x1875b9,_0x446f96._0x24c600)+_0x5724ac[_0x2cd55f(_0x446f96._0x457ec7,0x33a,_0x446f96._0x22b031,_0x446f96._0x404781)]+'\x20'+_0x5724ac[_0x49f3bc(0x141,0x349,0x31a,_0x446f96._0x547c10)];throw new ToolExecutionError(_0xf9537c,{'statusCode':_0x5724ac[_0x49f3bc(_0x446f96._0x38e127,_0x446f96._0x4b1fa6,0x3a5,0x73d)],..._0x4ed477?{'body':_0x4ed477}:{}});}return await _0x5724ac[_0x49f3bc(_0x446f96._0x35cbc5,0x305,_0x446f96._0x1411fc,_0x446f96._0x4ee4e1)]();}async function hydrateResults(_0x45d9a0,_0x540fd4,_0x486b21,_0x16ad09){const _0x2a2946={_0xf40ef8:0x5eb,_0x5c607b:0x7e7,_0xefbd52:0x74e,_0x1e0f6b:0x58e,_0x1f3ca1:0x48d,_0x1a63fc:0x87b,_0x33abba:0x87f,_0x343bf1:0x79e,_0x3acae6:0x703,_0x505e03:0x87b,_0x1139ad:0x6bd,_0x5752b5:0x87b,_0x4299d6:0x776,_0x7a5e77:0x934},_0x3111cb={_0x2afa63:0x73},_0x3a6cad={_0x2bec7f:0x7e,_0x317097:0x156,_0x24b4bc:0x39b},_0x2738c3={_0xb2224:0x58a,_0x3641ac:0x5bc,_0x5c23f8:0x30d,_0x2bd018:0x4f0,_0xc7cbb5:0x5ef,_0xde9af8:0x414,_0x3c3033:0x44a,_0x56e0e8:0x2fe,_0x1d2b77:0x118,_0x28e966:0x37e,_0x259d5f:0x42d,_0x203c5f:0x232,_0x205b19:0x6ba,_0x42ce32:0x61c,_0x1005b7:0x27e,_0x4b3230:0x415,_0xd66d0b:0x481,_0x13140f:0x7d3,_0x4b4076:0x80f,_0xe1f62d:0x772,_0x40540b:0x3e8,_0x92775:0x20c,_0x5d5276:0x306,_0x560d6b:0x69d,_0x3d197f:0x317,_0x447dc7:0x6cf,_0x159eac:0x383,_0x2a0404:0x539,_0x1788df:0x45b,_0x13ea72:0x66a,_0x56f195:0x921,_0x344a6b:0x66f,_0x30185e:0x79b,_0x1d73fc:0x314,_0x386884:0x222,_0x193a05:0x303,_0x18a87e:0x46d,_0x3ae127:0x68f,_0x4059bf:0x2a9,_0x1d482f:0x2ee,_0x49f12e:0x187,_0xdfe319:0x211,_0x4a69a6:0x59e,_0x28f1fb:0x39e,_0x10a912:0x663,_0x17e05e:0x203,_0x46ac95:0x33a,_0x15ccb9:0x35a},_0x1eaed6={_0x74ad76:0x119,_0x291cde:0x473},_0x59a25b=await Promise[_0x427e89(_0x2a2946._0xf40ef8,_0x2a2946._0x5c607b,_0x2a2946._0xefbd52,0x738)](_0x45d9a0[_0x427e89(_0x2a2946._0x1e0f6b,_0x2a2946._0x1f3ca1,0x71c,0x4c6)](0x0,0xa)[_0x427e89(_0x2a2946._0x1a63fc,0x794,0x792,_0x2a2946._0x33abba)](async _0x11d0ae=>{const _0x466616={_0x2e58c9:0x16b};function _0x15ed6c(_0x3f781e,_0xab921e,_0x268c48,_0x2a739b){return _0x2c212d(_0x3f781e-0xe8,_0xab921e,_0x268c48-_0x466616._0x2e58c9,_0x268c48- -0x201);}function _0x2ef4e6(_0x59784f,_0x4397a,_0x542df5,_0x15d4a9){return _0x2c212d(_0x59784f-0x193,_0x4397a,_0x542df5-_0x1eaed6._0x74ad76,_0x59784f- -_0x1eaed6._0x291cde);}try{const _0x35d036=await safeFetch(_0x11d0ae[_0x2ef4e6(0x203,0x3b6,0xa1,0x234)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x540fd4,'Accept':'text/html'},'signal':_0x486b21},{'lookup':_0x16ad09});if(!_0x35d036['ok'])return _0x11d0ae;const _0x28866e=await _0x35d036['text'](),_0x30ab63=load(_0x28866e),_0x9efec8=_0x30ab63(_0x15ed6c(_0x2738c3._0xb2224,0x7dd,0x797,0x97d))[_0x2ef4e6(0x500,0x669,0x4c3,0x42c)](_0x15ed6c(_0x2738c3._0x3641ac,_0x2738c3._0x5c23f8,_0x2738c3._0x2bd018,_0x2738c3._0xc7cbb5))||_0x30ab63(_0x2ef4e6(0x32c,_0x2738c3._0xde9af8,0x308,_0x2738c3._0x3c3033))[_0x2ef4e6(_0x2738c3._0x56e0e8,_0x2738c3._0x1d2b77,0x28c,0x266)]()[_0x2ef4e6(0x485,_0x2738c3._0x28e966,0x39c,0x400)]()[_0x2ef4e6(_0x2738c3._0x259d5f,0x4b2,0x3e1,_0x2738c3._0x203c5f)](),_0x421148=_0x30ab63('meta[name=\x27description\x27]')[_0x2ef4e6(0x500,_0x2738c3._0x205b19,_0x2738c3._0x42ce32,0x5fb)](_0x2ef4e6(_0x2738c3._0x1005b7,0x201,0x240,0x43e))||_0x30ab63(_0x2ef4e6(_0x2738c3._0x4b3230,_0x2738c3._0xd66d0b,0x37b,0x537))[_0x15ed6c(_0x2738c3._0x13140f,_0x2738c3._0x4b4076,_0x2738c3._0xe1f62d,0x90c)]('content')||_0x11d0ae[_0x2ef4e6(_0x2738c3._0x40540b,_0x2738c3._0x92775,_0x2738c3._0x5d5276,0x52e)],_0x54b244=_0x30ab63(_0x15ed6c(0x2e1,_0x2738c3._0x560d6b,0x4a7,_0x2738c3._0x3d197f))[_0x2ef4e6(0x500,_0x2738c3._0x447dc7,_0x2738c3._0x159eac,0x6fc)]('content')||_0x30ab63(_0x2ef4e6(_0x2738c3._0x2a0404,_0x2738c3._0x1788df,_0x2738c3._0x13ea72,0x682))[_0x15ed6c(_0x2738c3._0x56f195,_0x2738c3._0x344a6b,0x772,_0x2738c3._0x30185e)](_0x2ef4e6(_0x2738c3._0x1d73fc,_0x2738c3._0x28e966,_0x2738c3._0x386884,_0x2738c3._0x193a05))||_0x11d0ae[_0x2ef4e6(0x4f5,_0x2738c3._0x18a87e,_0x2738c3._0x3ae127,0x384)],_0xdc7901=_0x30ab63('link[rel=\x27canonical\x27]')[_0x2ef4e6(0x500,0x31b,0x4d1,0x3a9)](_0x2ef4e6(_0x2738c3._0x4059bf,_0x2738c3._0x1d482f,_0x2738c3._0x49f12e,_0x2738c3._0xdfe319));return{..._0x11d0ae,'title':_0x9efec8||_0x11d0ae[_0x15ed6c(0x775,0x49f,_0x2738c3._0x4a69a6,0x4b7)],'snippet':_0x421148,'url':_0xdc7901?normalizeUrl(new URL(_0xdc7901,_0x11d0ae[_0x15ed6c(0x334,_0x2738c3._0x28f1fb,0x475,0x47f)])[_0x15ed6c(0x5fd,0x554,0x4fa,_0x2738c3._0x10a912)]()):_0x11d0ae[_0x2ef4e6(_0x2738c3._0x17e05e,_0x2738c3._0x46ac95,0x208,_0x2738c3._0x15ccb9)],'publishedAt':_0x54b244};}catch{return _0x11d0ae;}}));function _0x427e89(_0x262df7,_0x1f0d74,_0x2164d1,_0x15ce53){return _0x511cdd(_0x262df7-_0x3a6cad._0x2bec7f,_0x1f0d74-_0x3a6cad._0x317097,_0x15ce53,_0x262df7-_0x3a6cad._0x24b4bc);}const _0x3a9abc=new Map(_0x45d9a0[_0x427e89(_0x2a2946._0x1e0f6b,0x4bc,_0x2a2946._0x343bf1,_0x2a2946._0x3acae6)](0x0,0xa)[_0x427e89(_0x2a2946._0x505e03,0x685,0x776,_0x2a2946._0x1139ad)]((_0xddf451,_0x3b718f)=>[_0xddf451[_0x427e89(0x5a8,0x42e,0x3a1,0x3ce)],_0x59a25b[_0x3b718f]]));function _0x2c212d(_0x3a3f94,_0xe48680,_0x5eb873,_0x2dc613){return _0x30b865(_0x3a3f94-_0x3111cb._0x2afa63,_0xe48680,_0x2dc613-0x651,_0x2dc613-0x1e9);}return _0x45d9a0[_0x427e89(_0x2a2946._0x5752b5,_0x2a2946._0x4299d6,_0x2a2946._0x7a5e77,0x6d3)](_0x57c568=>_0x3a9abc[_0x2c212d(0x77d,0x980,0x6e4,0x8dc)](_0x57c568[_0x2c212d(0x7d3,0x633,0x46d,0x676)])??_0x57c568);}function formatResults(_0x61f37e){const _0x25a5e5={_0x1c2ba:0x380,_0x30804b:0x5e1,_0x14a797:0x41b,_0x1c3e05:0x42f},_0x5b9e98={_0x6a96e2:0x27f,_0x4cd280:0x260,_0xa581f3:0x3a6,_0x2fc897:0xe9,_0x4b56ad:0x1ad,_0x2853df:0x287,_0x29a88f:0x48d,_0x1e7b61:0x282,_0x388f50:0x384,_0x4661d0:0x1a5,_0x31eb83:0x1d5,_0x2ffcaf:0x423,_0x12e880:0x5bc,_0x313967:0x57e,_0x1ba924:0x73,_0x55ea33:0xa9,_0x9bba2:0x5f,_0x22e5e7:0x179},_0x2941f3={_0xf6e813:0x139,_0x14b152:0x27b},_0x165d26={_0x2fb88b:0x1d7,_0x231d4a:0x216};function _0xb69863(_0x43838e,_0x113da7,_0x2916bd,_0x221717){return _0x511cdd(_0x43838e-0x110,_0x113da7-0x1ec,_0x113da7,_0x43838e-0x98);}function _0x54e612(_0x5d2c66,_0x19dc75,_0x3f2ee1,_0x59d0e2){return _0x30b865(_0x5d2c66-_0x165d26._0x2fb88b,_0x59d0e2,_0x3f2ee1-_0x165d26._0x231d4a,_0x59d0e2-0xfc);}if(_0x61f37e[_0x54e612(_0x25a5e5._0x1c2ba,_0x25a5e5._0x30804b,_0x25a5e5._0x14a797,0x554)]===0x0)return _0x54e612(0x4f6,0x42a,_0x25a5e5._0x1c3e05,0x3ec);return _0x61f37e['map'](_0x564e8d=>{const _0x15f7b5={_0x4f389a:0x16e,_0x245fef:0x46,_0xe3dce2:0x149},_0x39595b=[_0x564e8d[_0x151d1b(0x410,_0x5b9e98._0x6a96e2,0x406,_0x5b9e98._0x4cd280)][_0x151d1b(0x30c,0x30d,_0x5b9e98._0xa581f3,0x546)]+'.\x20'+_0x564e8d[_0x2c213d(_0x5b9e98._0x2fc897,0x8d,_0x5b9e98._0x4b56ad,_0x5b9e98._0x2853df)],_0x564e8d[_0x151d1b(_0x5b9e98._0x29a88f,_0x5b9e98._0x1e7b61,_0x5b9e98._0x388f50,0x495)]];function _0x151d1b(_0x2121d0,_0x432b00,_0x31b918,_0x1f87aa){return _0x54e612(_0x2121d0-_0x15f7b5._0x4f389a,_0x432b00-_0x15f7b5._0x245fef,_0x31b918-_0x15f7b5._0xe3dce2,_0x2121d0);}if(_0x564e8d[_0x2c213d(_0x5b9e98._0x4661d0,0x5,0xdf,0x12f)])_0x39595b[_0x2c213d(0x18d,0x21f,_0x5b9e98._0x31eb83,-0x1b)](_0x564e8d[_0x151d1b(0x3dc,0x395,0x569,_0x5b9e98._0x2ffcaf)]);if(_0x564e8d[_0x151d1b(_0x5b9e98._0x12e880,_0x5b9e98._0x313967,0x676,0x729)])_0x39595b[_0x2c213d(0x18d,-_0x5b9e98._0x1ba924,0x337,_0x5b9e98._0x55ea33)](_0x2c213d(0x271,_0x5b9e98._0x9bba2,_0x5b9e98._0x22e5e7,0x38b)+_0x564e8d[_0x151d1b(0x464,0x4e1,0x676,0x888)]);function _0x2c213d(_0x38b2c6,_0x3fcce1,_0x588abe,_0x51edeb){return _0x54e612(_0x38b2c6-0x193,_0x3fcce1-_0x2941f3._0xf6e813,_0x38b2c6- -_0x2941f3._0x14b152,_0x3fcce1);}return _0x39595b['join']('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x7bd802,_0x1af597,_0x3b3b5f){const _0x2814e8={_0x468172:0x61c,_0x375e97:0x59d,_0x59a1f3:0x339,_0x3bea16:0x427,_0x5253ee:0x774,_0x1db6c8:0x637,_0x21604:0x6a1,_0x539727:0x5c4,_0x3120b3:0x2c9,_0x359b33:0x17c,_0x4e0e2e:0xa1,_0x332ee1:0x50,_0x4e6e04:0x1f3,_0x4a91a0:0x560,_0x57ee4c:0x4f8,_0x436649:0x16c,_0x28032f:0xc4,_0x56e9fe:0x243,_0x10c7bb:0x2ba},_0x36e118={_0x19c438:0xa9,_0x48263a:0x13e,_0x49b8b4:0x1e,_0x3755b8:0x7c,_0x26954f:0x119,_0x4e99ee:0x3ec,_0x53ba58:0x474,_0x4b2012:0x5e3,_0x311b8b:0x40c,_0x51f4eb:0x9,_0x404851:0x1},_0x207ebd={_0x1a222d:0xe},_0x7cfcd0={_0x20dd1b:0x167,_0x3a9b06:0x161},_0xb5fcee=Math['max'](0x1,Math['min'](0xa,_0x1af597[_0x1f3566(_0x2814e8._0x468172,0x5dc,0x461,_0x2814e8._0x375e97)])),_0x3160b3=addSiteFilters(_0x1af597[_0x1f3566(0x38c,0x35a,0x3c1,_0x2814e8._0x59a1f3)],_0x1af597['domains']),_0x589cd7=await fetchJson(_0x1f3566(_0x2814e8._0x3bea16,_0x2814e8._0x5253ee,_0x2814e8._0x1db6c8,0x455),_0x3b3b5f,{'method':_0x1f3566(0x7ea,0x6ba,_0x2814e8._0x21604,_0x2814e8._0x539727),'headers':{'Authorization':'Bearer\x20'+_0x7bd802['apiKey']},'body':JSON[_0x8e8808(0x151,_0x2814e8._0x3120b3,_0x2814e8._0x359b33,-_0x2814e8._0x4e0e2e)]({'query':_0x3160b3,'max_results':_0xb5fcee})});function _0x8e8808(_0x25e207,_0x3560c4,_0x4d590e,_0x846aa3){return _0x30b865(_0x25e207-_0x7cfcd0._0x20dd1b,_0x4d590e,_0x25e207-_0x7cfcd0._0x3a9b06,_0x846aa3-0x1b2);}const _0x279be2=_0x589cd7[_0x8e8808(0xf9,-_0x2814e8._0x332ee1,_0x2814e8._0x4e6e04,0x91)]??[];function _0x1f3566(_0x4f84ab,_0x44c7fb,_0x2534cf,_0x567131){return _0x511cdd(_0x4f84ab-0x194,_0x44c7fb-0x1ee,_0x44c7fb,_0x2534cf-0x267);}const _0x592a86=_0x279be2[_0x8e8808(0x459,_0x2814e8._0x4a91a0,_0x2814e8._0x57ee4c,0x50a)]((_0x5f5bbf,_0x4d3400)=>{const _0x4be222={_0x54b059:0x202},_0x54a1ad=_0x5f5bbf[_0x55ff81(_0x36e118._0x19c438,_0x36e118._0x48263a,-_0x36e118._0x49b8b4,-_0x36e118._0x3755b8)]||'';let _0x101211;function _0x55ff81(_0x45dcf0,_0x4b2a69,_0x4c1ee4,_0x12a7ef){return _0x8e8808(_0x12a7ef- -_0x4be222._0x54b059,_0x4b2a69-0xb5,_0x45dcf0,_0x12a7ef-0xbd);}function _0x359bef(_0x427631,_0x330379,_0x2e9d70,_0xb84ff4){return _0x1f3566(_0x427631-0xb5,_0x330379,_0x2e9d70- -0x1b1,_0xb84ff4-_0x207ebd._0x1a222d);}try{_0x101211=new URL(_0x54a1ad)[_0x55ff81(-0x239,-0x2e7,-0x22c,-_0x36e118._0x26954f)];}catch{_0x101211=null;}return{'title':_0x5f5bbf[_0x359bef(0x3c8,0x329,_0x36e118._0x4e99ee,_0x36e118._0x53ba58)]||_0x359bef(0x6a2,0x59f,_0x36e118._0x4b2012,_0x36e118._0x311b8b),'url':normalizeUrl(_0x54a1ad),'snippet':_0x5f5bbf[_0x55ff81(-_0x36e118._0x51f4eb,0x81,0x1b5,-_0x36e118._0x404851)]??null,'displayUrl':_0x101211,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x4d3400+0x1}};});return{'items':_0x592a86[_0x8e8808(_0x2814e8._0x436649,_0x2814e8._0x28032f,0xd8,_0x2814e8._0x56e9fe)](0x0,_0xb5fcee),'engine':_0x8e8808(0x45c,0x4fe,0x2a7,_0x2814e8._0x10c7bb)};}async function searchTavily(_0x391c4a,_0xf9caf8,_0x4e06de){const _0x53d3cf={_0x548317:0x199,_0x30c207:0x1c5,_0x29048c:0x4e,_0x1a974b:0x13e,_0x51e53c:0xa0,_0x4f9a00:0x29f,_0x26fb19:0x17f,_0x1a41c8:0x141,_0x57854d:0x109,_0x4f6492:0x3f,_0x24c5d7:0x1f9,_0x4db386:0x2ef,_0x57927e:0x2bc,_0x49e85d:0x110,_0x333c59:0x7b,_0x3327b8:0x189,_0xaddee4:0x2ae,_0xc42a3a:0x182,_0x7f039b:0x1d2,_0x49d767:0x3eb,_0x594ffd:0x3b7,_0x2c634f:0x74,_0x5e1fe0:0x83,_0x52dca5:0x275,_0x3f833f:0x1c,_0x5d0acb:0x1b1,_0x503a28:0x62,_0x483e7a:0x35,_0x563d43:0x2ec,_0x16b628:0x5e,_0x345dbb:0x1a4,_0x12c433:0x394,_0x2b71ae:0x3a8},_0x3655ee={_0xf9111f:0x6c1,_0x14039e:0x421,_0x103b4b:0x37c,_0x64564b:0x338,_0x2bc55c:0xac3,_0x27e1c1:0x93b,_0x47d753:0x2c7},_0x335f8e={_0x5567c3:0x45d},_0x4cdcfe={_0x554020:0xc},_0x1ceeb8={_0x16bb12:0x1dc,_0x2fc66f:0x1d3},_0x16f076=Math[_0x35b662(_0x53d3cf._0x548317,_0x53d3cf._0x30c207,-0x34,_0x53d3cf._0x29048c)](0x1,Math[_0x35b662(0xf5,_0x53d3cf._0x1a974b,-_0x53d3cf._0x51e53c,_0x53d3cf._0x4f9a00)](0x14,_0xf9caf8['count'])),_0x3fa012={'query':_0xf9caf8['query'],'max_results':_0x16f076,'search_depth':_0x391c4a[_0x395ba8(_0x53d3cf._0x26fb19,0x310,0x1bd,_0x53d3cf._0x1a41c8)]??'basic','topic':_0x391c4a['topic']??'general'};function _0x35b662(_0x231a5c,_0x443902,_0xf09ade,_0x1563f0){return _0x30b865(_0x231a5c-_0x1ceeb8._0x16bb12,_0x1563f0,_0x443902-0x199,_0x1563f0-_0x1ceeb8._0x2fc66f);}if(_0xf9caf8[_0x395ba8(0x145,-0x63,_0x53d3cf._0x57854d,0x21b)][_0x395ba8(0x129,_0x53d3cf._0x4f6492,_0x53d3cf._0x24c5d7,_0x53d3cf._0x4db386)]>0x0)_0x3fa012[_0x395ba8(_0x53d3cf._0x57927e,0xba,_0x53d3cf._0x49e85d,-_0x53d3cf._0x333c59)]=_0xf9caf8[_0x35b662(_0x53d3cf._0x3327b8,_0x53d3cf._0xaddee4,0x1f9,0x253)];const _0x23cc97=await fetchJson(_0x35b662(_0x53d3cf._0xc42a3a,0x32e,_0x53d3cf._0x7f039b,0x22e),_0x4e06de,{'method':_0x35b662(0x325,_0x53d3cf._0x49d767,_0x53d3cf._0x594ffd,0x2de),'headers':{'Authorization':'Bearer\x20'+_0x391c4a[_0x395ba8(_0x53d3cf._0x2c634f,0x104,_0x53d3cf._0x5e1fe0,_0x53d3cf._0x52dca5)],'Content-Type':'application/json'},'body':JSON[_0x395ba8(-0x2a,-0xd8,-_0x53d3cf._0x3f833f,_0x53d3cf._0x5d0acb)](_0x3fa012)}),_0x2cbea1=_0x23cc97[_0x395ba8(-_0x53d3cf._0x503a28,-0x25,-0x74,_0x53d3cf._0x483e7a)]??[];function _0x395ba8(_0x4dc88d,_0x4c1d2b,_0x390ee8,_0x45911e){return _0x30b865(_0x4dc88d-0x11c,_0x45911e,_0x390ee8- -_0x4cdcfe._0x554020,_0x45911e-0x1f4);}const _0x237c42=_0x2cbea1[_0x395ba8(0x33e,0x197,_0x53d3cf._0x563d43,0x2ac)]((_0x1bcfe7,_0x41009f)=>{const _0xe3d26f={_0x2f9f0b:0x86,_0x4ab241:0x23a},_0xd04731=_0x1bcfe7[_0x2b1d8d(0x823,0x6bb,0x61b,_0x3655ee._0xf9111f)]||'';let _0x4b07a5;function _0x55d5a7(_0x430039,_0x18946b,_0xc05062,_0x302aa6){return _0x395ba8(_0x430039-0x134,_0x18946b-_0xe3d26f._0x2f9f0b,_0xc05062-_0xe3d26f._0x4ab241,_0x18946b);}function _0x2b1d8d(_0x20b671,_0x4ef409,_0x255155,_0x4cb241){return _0x35b662(_0x20b671-0x4a,_0x255155-_0x335f8e._0x5567c3,_0x255155-0x19c,_0x4cb241);}try{_0x4b07a5=new URL(_0xd04731)['host'];}catch{_0x4b07a5=null;}return{'title':_0x1bcfe7[_0x55d5a7(_0x3655ee._0x14039e,0x4a8,_0x3655ee._0x103b4b,_0x3655ee._0x64564b)]||_0x2b1d8d(_0x3655ee._0x2bc55c,0x81a,_0x3655ee._0x27e1c1,0xb46),'url':normalizeUrl(_0xd04731),'snippet':_0x1bcfe7[_0x55d5a7(0x44b,_0x3655ee._0x47d753,0x2ce,0x355)]??null,'displayUrl':_0x4b07a5,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0x41009f+0x1}};});return{'items':_0x237c42[_0x35b662(-_0x53d3cf._0x16b628,_0x53d3cf._0x345dbb,_0x53d3cf._0x12c433,_0x53d3cf._0x2b71ae)](0x0,_0x16f076),'engine':_0x395ba8(0x429,0x230,0x236,0x3cb)};}async function searchGoogleCse(_0x231674,_0x348cf6,_0x6f06f7){const _0x5a780d={_0x399338:0x68,_0x23319d:0x221,_0xa5861a:0x8b,_0x911453:0x27d,_0x16f47b:0x82,_0x15735a:0x67,_0x4408c0:0x41c,_0x53f27b:0x616,_0x4e16bd:0x5ca,_0x5e5b84:0x102,_0x146379:0xe4,_0x304c57:0x2a8,_0x4209bd:0x26f,_0x2aaeb4:0xc9,_0xe26b5b:0x210,_0x20dfe7:0x2ae,_0x487be9:0x460,_0x380ce3:0x1e7,_0x48dd18:0x194,_0x21d28f:0x7a7,_0x47f204:0x4f6,_0x1aaba2:0x79e,_0x39d13c:0x1a8,_0x235966:0x38e,_0x1dd0aa:0x990,_0x325001:0x9bc,_0x2371b2:0x169,_0x5d51d2:0x884,_0x16e525:0xaab,_0xe743b5:0x788,_0x5ecaff:0x99c,_0x4dc015:0x1e3,_0x23a556:0x212,_0x15ba60:0x182,_0x1c9518:0x80d,_0x4f479a:0x7d7,_0x33fc4f:0x83b,_0x5419d4:0xa0f,_0x38424f:0x6cb,_0x2e870a:0x851,_0x3400e5:0x8b1,_0x3a3050:0x644,_0x21b7c9:0x717,_0x3814bd:0x196,_0x4a7a54:0x471,_0x411695:0x1c6,_0x43fa7a:0xa4d,_0x3ad3e3:0x6ce,_0x1d20b1:0x113,_0x25229f:0x29,_0x58ac6a:0x9d7,_0x1d21c1:0xb7e,_0x4c8b73:0xac8,_0x527d76:0x896,_0x1bc03d:0x136,_0x3bef7a:0x43b,_0x49e48c:0x4d3,_0x1bd24a:0x5da,_0x56f19b:0x87,_0x4a8c5:0x3b,_0x2fba61:0xf0,_0x79764e:0xdd,_0x5aa772:0x4c,_0x1a88ef:0x1dc,_0x40cc6d:0x1d8,_0x9c2f3e:0x17d,_0x3cde84:0x18b,_0x53f8ee:0x196,_0x18c3f5:0x188,_0x3aeeb7:0x6f,_0x118447:0xe9,_0x1d06d6:0x78d,_0x433563:0x85f,_0x1b72f3:0x2c2,_0x55f398:0x80,_0x164553:0x800,_0x9c0ce5:0xade,_0x4f8271:0x3f5,_0x44fb45:0x92b,_0x2d8961:0x7a8,_0xaa7fe0:0x1cb,_0x5355dd:0x390,_0xfe57f:0x660,_0x2d5ad5:0x661,_0x416377:0x7a8,_0x1c0433:0x16e,_0x3f0436:0x176,_0x4d76bb:0x6c5,_0x193ed5:0x86f,_0xdf4162:0x20a,_0x31b9bf:0x104,_0x35bd72:0x897,_0x4bee70:0x777,_0x45c3ee:0x491,_0x46da63:0x4b5,_0x1d8776:0x2d5,_0xc7365f:0x8a9,_0xedab4f:0x8ae,_0x55f1ae:0x1d3,_0x1ce034:0x171,_0x58fc86:0x9a},_0x21e467={_0x27c9a5:0x19e,_0x2f534e:0x65a,_0x4a215b:0xff},_0x2e7e4c={_0x32ad17:0x1d2,_0x140a9a:0x94,_0x1c7940:0x167},_0x1dd8ba=Math[_0x3b019e(0xc9,-0x1d3,-_0x5a780d._0x399338,0x48)](0x1,Math[_0x3b019e(-0xd4,-_0x5a780d._0x23319d,-0xef,-_0x5a780d._0xa5861a)](0x32,_0x348cf6[_0x3b019e(-0x229,-_0x5a780d._0x911453,-_0x5a780d._0x16f47b,_0x5a780d._0x15735a)]));if(_0x348cf6[_0x4e0e79(_0x5a780d._0x4408c0,0x7dc,_0x5a780d._0x53f27b,_0x5a780d._0x4e16bd)]+_0x1dd8ba>0x64)throw new ToolExecutionError(_0x3b019e(0x30c,-0x2a,_0x5a780d._0x5e5b84,-0x2),{'offset':_0x348cf6['offset'],'count':_0x1dd8ba,'maxResults':0x64});const _0x3549d0=cseDateRestrict(_0x348cf6[_0x3b019e(_0x5a780d._0x146379,_0x5a780d._0x304c57,0x1eb,_0x5a780d._0x4209bd)]);function _0x3b019e(_0x57fbec,_0x514987,_0x3bd77b,_0x1c5d18){return _0x30b865(_0x57fbec-_0x2e7e4c._0x32ad17,_0x57fbec,_0x3bd77b- -_0x2e7e4c._0x140a9a,_0x1c5d18-_0x2e7e4c._0x1c7940);}const _0x3b4148=addSiteFilters(_0x348cf6['query'],_0x348cf6['domains']);let _0x31817e=0x0,_0x36f819=_0x348cf6[_0x3b019e(-0x124,-0x15f,-0x124,-_0x5a780d._0x2aaeb4)]+0x1;function _0x4e0e79(_0x577973,_0x392304,_0x516ce5,_0x1fd57e){return _0x30b865(_0x577973-_0x21e467._0x27c9a5,_0x392304,_0x1fd57e-_0x21e467._0x2f534e,_0x1fd57e-_0x21e467._0x4a215b);}const _0x5a8c0a=[];while(_0x31817e<_0x1dd8ba){const _0x1c408b=Math['min'](0xa,_0x1dd8ba-_0x31817e),_0x34cef8=new URL('https://www.googleapis.com/customsearch/v1');_0x34cef8[_0x3b019e(0x3,_0x5a780d._0xe26b5b,0x196,0x377)][_0x3b019e(0x329,0x2af,_0x5a780d._0x20dfe7,_0x5a780d._0x487be9)](_0x3b019e(0x7,-0x20b,-0x9c,-_0x5a780d._0x380ce3),_0x231674['googleCseKey']),_0x34cef8[_0x3b019e(0x21d,0x339,0x196,_0x5a780d._0x48dd18)]['set']('cx',_0x231674[_0x4e0e79(_0x5a780d._0x21d28f,_0x5a780d._0x47f204,_0x5a780d._0x1aaba2,0x62e)]),_0x34cef8['searchParams'][_0x3b019e(0xca,_0x5a780d._0x39d13c,0x2ae,_0x5a780d._0x235966)]('q',_0x3b4148),_0x34cef8[_0x4e0e79(0x934,_0x5a780d._0x1dd0aa,0x71b,0x884)][_0x4e0e79(0xa70,0xb3c,_0x5a780d._0x325001,0x99c)](_0x3b019e(0xc8,-0x48,0x31,_0x5a780d._0x2371b2),String(_0x1c408b)),_0x34cef8[_0x4e0e79(0x74f,0xa68,0x8d6,_0x5a780d._0x5d51d2)][_0x4e0e79(0xaaa,_0x5a780d._0x16e525,_0x5a780d._0xe743b5,_0x5a780d._0x5ecaff)](_0x3b019e(0x4b,0x1db,0x82,0x32),String(_0x36f819)),_0x34cef8[_0x3b019e(0x320,_0x5a780d._0x4dc015,0x196,_0x5a780d._0x23a556)]['set']('safe',_0x348cf6[_0x3b019e(-0x31b,-0x265,-0x13c,-_0x5a780d._0x15ba60)]?_0x4e0e79(_0x5a780d._0x1c9518,_0x5a780d._0x4f479a,0x768,_0x5a780d._0x33fc4f):_0x4e0e79(_0x5a780d._0x5419d4,_0x5a780d._0x38424f,_0x5a780d._0x2e870a,0x8a5));_0x348cf6[_0x4e0e79(0x542,_0x5a780d._0x3400e5,_0x5a780d._0x3a3050,_0x5a780d._0x21b7c9)]&&(_0x34cef8[_0x3b019e(0x298,0x2cb,_0x5a780d._0x3814bd,0x139)][_0x3b019e(0x45c,0x3ce,_0x5a780d._0x20dfe7,_0x5a780d._0x4a7a54)]('hl',_0x348cf6[_0x3b019e(0x90,_0x5a780d._0x411695,0x29,-0x25)]),_0x34cef8['searchParams']['set']('lr',_0x4e0e79(_0x5a780d._0x43fa7a,_0x5a780d._0x3ad3e3,0x9ee,0x8d7)+_0x348cf6[_0x3b019e(-0x1a7,_0x5a780d._0x1d20b1,_0x5a780d._0x25229f,0x207)]));if(_0x348cf6['region'])_0x34cef8[_0x4e0e79(_0x5a780d._0x58ac6a,0xa31,0x83a,0x884)][_0x4e0e79(_0x5a780d._0x1d21c1,_0x5a780d._0x4c8b73,_0x5a780d._0x527d76,_0x5a780d._0x5ecaff)]('gl',_0x348cf6[_0x3b019e(-0x2d1,0x1e,-0xfb,-_0x5a780d._0x1bc03d)][_0x4e0e79(_0x5a780d._0x3bef7a,_0x5a780d._0x49e48c,0x666,_0x5a780d._0x1bd24a)]());if(_0x348cf6[_0x3b019e(-_0x5a780d._0x56f19b,-_0x5a780d._0x4a8c5,-0x98,-0x1ce)]===_0x3b019e(-0x79,_0x5a780d._0x2fba61,-0x39,-_0x5a780d._0x79764e))_0x34cef8[_0x3b019e(-_0x5a780d._0x5aa772,_0x5a780d._0x1a88ef,_0x5a780d._0x3814bd,_0x5a780d._0x40cc6d)][_0x3b019e(_0x5a780d._0x9c2f3e,0x1a1,0x2ae,0x2d5)]('searchType','image');if(_0x3549d0)_0x34cef8[_0x3b019e(_0x5a780d._0x3cde84,-0x1e,_0x5a780d._0x53f8ee,_0x5a780d._0x18c3f5)]['set']('dateRestrict',_0x3549d0);const _0x3838e=await fetchJson(_0x34cef8['toString'](),_0x6f06f7),_0x3396a4=_0x3838e[_0x3b019e(_0x5a780d._0x3aeeb7,-_0x5a780d._0x118447,0x60,-0x187)]??[];if(_0x3396a4[_0x4e0e79(0x956,_0x5a780d._0x1d06d6,0x93d,_0x5a780d._0x433563)]===0x0)break;const _0x2a0774=_0x31817e;for(let _0x4e4213=0x0;_0x4e4213<_0x3396a4[_0x3b019e(_0x5a780d._0x1b72f3,-0xa1,0x171,-_0x5a780d._0x55f398)];_0x4e4213++){const _0x472b64=_0x3396a4[_0x4e4213];if(!_0x472b64)continue;const _0x167fe9=_0x472b64['link']||_0x472b64[_0x4e0e79(_0x5a780d._0x164553,0x8ef,_0x5a780d._0x9c0ce5,0x8f1)]?.[_0x4e0e79(_0x5a780d._0x4f8271,0x780,0x685,0x5eb)]||'',_0x15ed7a=_0x472b64[_0x4e0e79(0x745,0x5a6,_0x5a780d._0x44fb45,_0x5a780d._0x2d8961)]||_0x472b64[_0x3b019e(_0x5a780d._0xaa7fe0,0x128,0x203,_0x5a780d._0x5355dd)]?.[_0x4e0e79(0x957,_0x5a780d._0xfe57f,_0x5a780d._0x2d5ad5,_0x5a780d._0x416377)]||_0x4e0e79(0xb3e,0x868,0x960,0x99f),_0x470fb9=_0x472b64[_0x3b019e(0x1b7,_0x5a780d._0x1c0433,_0x5a780d._0x3f0436,0x313)]||_0x472b64[_0x4e0e79(_0x5a780d._0x4d76bb,0x540,_0x5a780d._0x193ed5,0x6ed)]?.[_0x3b019e(0x8c,_0x5a780d._0xdf4162,0x13f,_0x5a780d._0x31b9bf)](/<[^>]+>/g,''),_0x3c3b21=_0x472b64['pagemap']?.[_0x4e0e79(_0x5a780d._0x35bd72,0x506,_0x5a780d._0x4bee70,0x687)]?.[0x0]??{};let _0x15c350;try{_0x15c350=new URL(_0x167fe9)[_0x4e0e79(_0x5a780d._0x45c3ee,_0x5a780d._0x46da63,0x733,0x5e2)];}catch{_0x15c350=null;}_0x5a8c0a['push']({'title':_0x15ed7a,'url':normalizeUrl(_0x167fe9),'snippet':_0x470fb9??null,'displayUrl':_0x15c350,'favicon':null,'publishedAt':_0x3c3b21[_0x3b019e(-_0x5a780d._0x1d8776,-0x18e,-0x108,0x4a)]||_0x3c3b21['og:updated_time']||null,'source':{'engine':_0x4e0e79(0x79f,0x924,_0x5a780d._0xc7365f,_0x5a780d._0xedab4f),'rank':_0x2a0774+_0x4e4213+0x1}});}_0x31817e+=_0x3396a4[_0x3b019e(_0x5a780d._0x55f1ae,0x213,_0x5a780d._0x1ce034,-_0x5a780d._0x58fc86)],_0x36f819+=_0x3396a4['length'];if(_0x3396a4[_0x4e0e79(0x713,0x87d,0x6e7,0x85f)]<_0x1c408b)break;}return _0x5a8c0a['slice'](0x0,_0x1dd8ba);}function isGoogleCseEngine(_0x864f67){const _0x15a7fe={_0x2b7732:0x8d7,_0x163c2f:0x67e},_0x56c00a={_0x3babbc:0x18c,_0x878ba5:0x575,_0x2e90ca:0x114};function _0x3f5bd9(_0x3d25c7,_0x4a9a31,_0x3e5c41,_0x1c5d40){return _0x30b865(_0x3d25c7-_0x56c00a._0x3babbc,_0x3e5c41,_0x3d25c7-_0x56c00a._0x878ba5,_0x1c5d40-_0x56c00a._0x2e90ca);}return _0x3f5bd9(0x7c1,0x69d,_0x15a7fe._0x2b7732,_0x15a7fe._0x163c2f)in _0x864f67;}function isOllamaEngine(_0x1e98ba){const _0x324cd8={_0x140505:0x440,_0x2ddee0:0x270,_0x5c1b00:0x617,_0x5f1b4e:0x621},_0x1527d4={_0x41e75e:0x98,_0x135a09:0x17d};function _0x1f4fd9(_0x467851,_0x4399a8,_0x423218,_0xdc1d4a){return _0x30b865(_0x467851-_0x1527d4._0x41e75e,_0x4399a8,_0x467851-0x262,_0xdc1d4a-_0x1527d4._0x135a09);}return _0x1f4fd9(_0x324cd8._0x140505,_0x324cd8._0x2ddee0,_0x324cd8._0x5c1b00,_0x324cd8._0x5f1b4e)in _0x1e98ba;}function isTavilyEngine(_0x4fc7f0){const _0x3c5546={_0xf2dc3c:0x27d,_0x566a3b:0x31f,_0x44d3c5:0x1e8,_0x1f51a6:0x252},_0x57001a={_0x21620a:0xa8};function _0x53ec6f(_0x48a841,_0xa37e8a,_0x56753f,_0xe89c4a){return _0x511cdd(_0x48a841-0x65,_0xa37e8a-0x132,_0x48a841,_0xa37e8a-_0x57001a._0x21620a);}return _0x53ec6f(_0x3c5546._0xf2dc3c,_0x3c5546._0x566a3b,_0x3c5546._0x44d3c5,_0x3c5546._0x1f51a6)in _0x4fc7f0;}function createWebSearchTool(_0x1a4ae4){const _0x419f7b={_0x239ac6:0x1d5,_0x33fd7f:0x518,_0x44ed2f:0x278,_0x3bf95d:0x93,_0x11c478:0x5eb,_0x392af1:0x7ce,_0x542a9d:0x446,_0x1d16bd:0xd2,_0x1692c9:0x6e,_0x4352e3:0xe8,_0x25bf96:0x33e,_0x26adeb:0x1b6,_0x2941a8:0x205,_0x45bce8:0x502,_0x130ac1:0x427,_0xc75181:0x416,_0x1d38fb:0x15d,_0x28ccbe:0x30d,_0x3956ad:0x1fd,_0x60d8a0:0x15d,_0x1729e5:0x26b,_0x735ddd:0x9b,_0x40e473:0x221,_0xb69f02:0x31a,_0x5d2a93:0x4a9,_0x180a2a:0x5ce,_0xf386e6:0x25d,_0x4203b2:0x18c,_0x46ebd0:0x335,_0x11c248:0x1d1},_0x219af4={_0x28e469:0x6a,_0x346b76:0x3c8,_0x1ce602:0x31b,_0x4f8b6c:0x383,_0x2ff840:0x2e,_0x266962:0x141,_0x57a0bc:0x15,_0x5af634:0x4b,_0x26ad24:0xd8,_0x1f343d:0x1d8,_0x49ebba:0x13,_0x1331cc:0xe5,_0x1374a2:0x249,_0x4a40b3:0x57,_0x938a8:0x140,_0x2ab3d3:0x41,_0x5968ff:0x1ad,_0x1a2446:0x15c,_0x4f5e4f:0x2c2,_0x21488b:0x164,_0x13decd:0x141,_0x573fa1:0xbd,_0x115b0d:0x79,_0x4325cd:0x75,_0x41a62d:0x5b,_0x334326:0x196,_0x4cc381:0x293,_0x48e00b:0x323,_0x49ea42:0x20e,_0x112893:0x28c,_0x3f802c:0x10a,_0x25ffcd:0x25a,_0x452b60:0x241,_0x13361e:0x2ea,_0x323011:0x14b,_0x438fa8:0x33d,_0x2ffdd6:0x2bd,_0xd47a96:0x45f,_0x3d17a3:0x15b,_0x45f212:0x392,_0x26f85e:0x2c6,_0x281cb3:0x3e4,_0xa4a362:0x319,_0x38396c:0x35a,_0xe5715f:0x1c9,_0x4a5a3a:0x1f5,_0x29aee2:0x11a,_0x21ab16:0x85,_0x3b0480:0x37c,_0x154ead:0x488,_0x37ecbf:0x23e,_0x362736:0x125,_0xb69225:0xe,_0x54ee22:0x22,_0x56c9eb:0x1d1,_0x2e717f:0x52a,_0x15d193:0x398,_0x2c26fe:0x45,_0x10b868:0xd8,_0x45951e:0x40b,_0x37eb8f:0x2b7,_0x57982a:0x3a5,_0x505e5b:0x29b,_0x38254e:0x393,_0x3abbf2:0x14a,_0x28d944:0x2b8,_0x1451ac:0x2dc,_0x2cfd21:0xf6,_0x4eadff:0xe4,_0x5cfe24:0x22b,_0x3c96d1:0x142,_0x3a3013:0x243,_0x53d1d3:0xf6,_0x4164fe:0x2c7,_0x3dbd43:0x9c,_0x42f978:0xd6,_0x510feb:0x116,_0x5caef7:0x3a,_0x10cb0b:0xa0,_0xa4dc49:0xe0,_0x5c28f6:0x1a7,_0x188b50:0x180,_0xabd32e:0x247,_0x460198:0x306,_0x11019d:0x12c,_0x554293:0x1ed,_0x5c926b:0x99,_0x5bd566:0x154,_0x516ef7:0x1c4,_0x4a371d:0x153,_0x467679:0x244,_0x50b613:0x2},_0x51d3c3={_0x295c7a:0xb2},_0x5933ec={_0x5e89ea:0x419,_0xa417d0:0x568,_0x5a7b10:0x9d4,_0x53614e:0x685,_0x16c5df:0x843,_0x18f4fe:0x644,_0x22d1da:0x8a0,_0xccbb07:0x760,_0x478bc8:0x326},_0xcbbba5={_0x49c72d:0xa4};if(!_0x1a4ae4[_0x2b1941(0xc2,-0x1d,0x1db,-_0x419f7b._0x239ac6)]||_0x1a4ae4[_0x280887(0x3ab,_0x419f7b._0x33fd7f,0x1b4,0x4d2)][_0x2b1941(-0x66,0x107,_0x419f7b._0x44ed2f,_0x419f7b._0x3bf95d)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x2b1941(_0x1b9056,_0x39f21f,_0x26fcef,_0x5489b5){return _0x511cdd(_0x1b9056-0x12a,_0x39f21f-0x156,_0x1b9056,_0x39f21f- -0x2e6);}const _0x258a34=_0x1a4ae4[_0x280887(_0x419f7b._0x11c478,_0x419f7b._0x392af1,0x4bc,_0x419f7b._0x542a9d)]??'WebSearch';function _0x280887(_0xf361ed,_0x490e93,_0x47119a,_0x259237){return _0x511cdd(_0xf361ed-_0xcbbba5._0x49c72d,_0x490e93-0xe,_0x259237,_0xf361ed-0xe2);}const _0x26f7c9=_0x1a4ae4[_0x2b1941(0x231,_0x419f7b._0x1d16bd,0x2e0,-_0x419f7b._0x1692c9)];return defineTool({'name':_0x258a34,'permissionClass':_0x2b1941(-0xcd,-_0x419f7b._0x4352e3,-0xd,0x9a),'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x280887(0x392,0x4ac,0x1ca,_0x419f7b._0x25bf96),'properties':{'description':{'type':_0x2b1941(-0x3f,-0x15d,-_0x419f7b._0x26adeb,-0x2a9)},'query':{'type':_0x2b1941(-_0x419f7b._0x2941a8,-0x15d,-0x127,0x23)},'count':{'type':_0x280887(0x5bd,0x616,0x456,_0x419f7b._0x45bce8)},'offset':{'type':_0x280887(0x5bd,0x494,_0x419f7b._0x130ac1,_0x419f7b._0xc75181)},'domains':{'type':'array','items':{'type':_0x2b1941(-0x173,-_0x419f7b._0x1d38fb,-0xbd,-0x187)}},'recencyDays':{'type':_0x2b1941(0x3d5,0x1f5,_0x419f7b._0x28ccbe,_0x419f7b._0x3956ad)},'lang':{'type':_0x2b1941(-0x277,-_0x419f7b._0x60d8a0,-0x279,-0xf5)},'region':{'type':_0x280887(_0x419f7b._0x1729e5,_0x419f7b._0x735ddd,_0x419f7b._0x40e473,0x9e)},'safe':{'type':'boolean'},'type':{'type':_0x280887(0x26b,_0x419f7b._0xb69f02,0x358,0x37c)},'hydrateMeta':{'type':_0x280887(0x3c1,_0x419f7b._0x5d2a93,_0x419f7b._0x180a2a,_0x419f7b._0xf386e6)}},'required':[_0x2b1941(-0x1c3,-_0x419f7b._0x4203b2,-_0x419f7b._0x46ebd0,-_0x419f7b._0x11c248)]},async *'execute'(_0x2afc90,_0x12bf8d){const _0x159424={_0xc348d4:0x1ff},_0x2a1d91={_0x12661e:0x96},_0xbe85a2={_0x3a6af8:0x7f,_0x16daba:0xf5},_0x1e107c=_0x2afc90[_0x4e15d5(-0x55,0x18c,0xd,-_0x219af4._0x28e469)][_0x1d0eea(_0x219af4._0x346b76,_0x219af4._0x1ce602,_0x219af4._0x4f8b6c,0x363)]();function _0x4e15d5(_0x4c37e3,_0x3f8b45,_0x6f6d06,_0x4fd055){return _0x2b1941(_0x6f6d06,_0x4c37e3-0x137,_0x6f6d06-_0xbe85a2._0x3a6af8,_0x4fd055-_0xbe85a2._0x16daba);}if(!_0x1e107c)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x39bd2c={'query':_0x1e107c,'count':Math['max'](0x1,Math[_0x1d0eea(_0x219af4._0x2ff840,-_0x219af4._0x266962,-_0x219af4._0x57a0bc,0xb9)](0x32,Math['trunc'](_0x2afc90[_0x4e15d5(_0x219af4._0x5af634,_0x219af4._0x26ad24,0xf,-0x8e)]??0xa))),'offset':Math[_0x4e15d5(0x65,_0x219af4._0x1f343d,-_0x219af4._0x49ebba,_0x219af4._0x1331cc)](0x0,Math[_0x1d0eea(-0x116,_0x219af4._0x1374a2,0xb0,0x9a)](_0x2afc90[_0x4e15d5(-_0x219af4._0x4a40b3,0x148,0x63,-0x250)]??0x0)),'domains':_0x2afc90['domains']??[],'recencyDays':Math[_0x1d0eea(0x161,0xdb,0x343,_0x219af4._0x938a8)](0x0,Math[_0x4e15d5(-_0x219af4._0x2ab3d3,-_0x219af4._0x5968ff,-_0x219af4._0x1a2446,0x6c)](_0x2afc90[_0x4e15d5(0x2b8,_0x219af4._0x4f5e4f,0x463,_0x219af4._0x21488b)]??0x0)),'lang':_0x2afc90[_0x1d0eea(0x15f,0x2b4,_0x219af4._0x13decd,0x1d1)]??'en','region':_0x2afc90[_0x4e15d5(-0x2e,-_0x219af4._0x573fa1,_0x219af4._0x115b0d,-_0x219af4._0x4325cd)]??'','safe':_0x2afc90[_0x4e15d5(-0x6f,-0x18a,-_0x219af4._0x41a62d,-_0x219af4._0x334326)]??!![],'type':normalizeType(_0x2afc90[_0x1d0eea(_0x219af4._0x4cc381,0xfb,_0x219af4._0x48e00b,0x110)]),'hydrateMeta':_0x2afc90['hydrateMeta']??![]};let _0x46b3c1=[],_0x453822=_0x1d0eea(_0x219af4._0x49ea42,0x3bd,0x10c,_0x219af4._0x112893);for(const _0x380bf0 of _0x1a4ae4[_0x1d0eea(_0x219af4._0x3f802c,_0x219af4._0x25ffcd,0x223,0x1f5)]){try{if(isGoogleCseEngine(_0x380bf0))_0x46b3c1=await searchGoogleCse(_0x380bf0,_0x39bd2c,_0x12bf8d['signal']),_0x453822=_0x1d0eea(0x4ca,_0x219af4._0x452b60,0x52c,0x368);else{if(isOllamaEngine(_0x380bf0)){const _0x2fe67d=await searchOllama(_0x380bf0,_0x39bd2c,_0x12bf8d[_0x4e15d5(0x2bd,_0x219af4._0x13361e,_0x219af4._0x323011,_0x219af4._0x438fa8)]);_0x46b3c1=_0x2fe67d['items'],_0x453822=_0x2fe67d['engine'];}else{if(isTavilyEngine(_0x380bf0)){const _0x20f045=await searchTavily(_0x380bf0,_0x39bd2c,_0x12bf8d[_0x4e15d5(_0x219af4._0x2ffdd6,0x394,_0x219af4._0xd47a96,0x287)]);_0x46b3c1=_0x20f045[_0x1d0eea(0x3c2,0x232,_0x219af4._0x3d17a3,0x208)],_0x453822=_0x20f045[_0x4e15d5(_0x219af4._0x45f212,_0x219af4._0x26f85e,0x381,0x27c)];}}}if(_0x46b3c1[_0x1d0eea(0x514,0x2e8,_0x219af4._0x281cb3,_0x219af4._0xa4a362)]>0x0)break;}catch(_0x1e6d59){if(_0x380bf0===_0x1a4ae4[_0x1d0eea(_0x219af4._0x38396c,_0x219af4._0xe5715f,0x196,_0x219af4._0x4a5a3a)][_0x1a4ae4[_0x4e15d5(_0x219af4._0x29aee2,_0x219af4._0x21ab16,0x174,0x249)][_0x1d0eea(0x123,_0x219af4._0x3b0480,_0x219af4._0x154ead,_0x219af4._0xa4a362)]-0x1])throw _0x1e6d59;}}_0x39bd2c[_0x1d0eea(0x330,0x26f,0xe8,0x22e)]&&_0x46b3c1[_0x4e15d5(_0x219af4._0x37ecbf,_0x219af4._0x362736,0x3e0,0x341)]>0x0&&(_0x46b3c1=await hydrateResults(_0x46b3c1,_0x39bd2c[_0x1d0eea(-_0x219af4._0xb69225,0x1d1,_0x219af4._0x54ee22,_0x219af4._0x56c9eb)],_0x12bf8d[_0x1d0eea(_0x219af4._0x2e717f,0x1c6,0x3d7,_0x219af4._0x15d193)],_0x26f7c9));const _0x376b07=new Set();_0x46b3c1=_0x46b3c1[_0x1d0eea(0x293,_0x219af4._0x2c26fe,0x5f,_0x219af4._0x10b868)](_0x1c6999=>{const _0x2da3f6=_0x1c6999[_0x74c781(_0x5933ec._0x5e89ea,0x65c,0x41b,_0x5933ec._0xa417d0)][_0x74c781(_0x5933ec._0x5a7b10,_0x5933ec._0x53614e,0x982,_0x5933ec._0x16c5df)]();if(!_0x2da3f6||_0x376b07[_0x74c781(0x594,_0x5933ec._0x18f4fe,_0x5933ec._0x22d1da,_0x5933ec._0xccbb07)](_0x2da3f6))return![];_0x376b07[_0x1c5bcc(0x450,_0x5933ec._0x478bc8,0x417,0x2c1)](_0x2da3f6);function _0x74c781(_0x3a2e27,_0x541d23,_0x2aad3c,_0x5968bc){return _0x4e15d5(_0x5968bc-0x50a,_0x541d23-0xbb,_0x2aad3c,_0x5968bc-_0x2a1d91._0x12661e);}function _0x1c5bcc(_0x59a813,_0x4ba533,_0x285366,_0x33bd88){return _0x4e15d5(_0x285366-_0x159424._0xc348d4,_0x4ba533-0x49,_0x4ba533,_0x33bd88-0x1ac);}return!![];});function _0x1d0eea(_0x1a2e4c,_0x17b779,_0x182d24,_0x55f505){return _0x280887(_0x55f505- -0x1b6,_0x17b779-_0x51d3c3._0x295c7a,_0x182d24-0x1c2,_0x17b779);}_0x46b3c1=_0x46b3c1[_0x4e15d5(0x331,0x241,_0x219af4._0x45951e,_0x219af4._0x37eb8f)]((_0x38a7c4,_0x2ce0bb)=>({..._0x38a7c4,'source':{..._0x38a7c4[_0x4e15d5(0xe0,-0x5f,0x206,0x22a)],'rank':_0x2ce0bb+0x1}}));const _0x360f77={};if(_0x39bd2c[_0x1d0eea(0x32e,_0x219af4._0x57982a,_0x219af4._0x505e5b,0x229)][_0x4e15d5(0x23e,0x24e,0x65,0x17f)]>0x0)_0x360f77['domains']=_0x39bd2c['domains'];if(_0x39bd2c[_0x1d0eea(0x29d,0x18c,0x44c,_0x219af4._0x38254e)]>0x0)_0x360f77[_0x4e15d5(0x2b8,_0x219af4._0x3abbf2,0x283,0x322)]=_0x39bd2c[_0x4e15d5(_0x219af4._0x28d944,_0x219af4._0x1451ac,_0x219af4._0x154ead,0x396)];if(_0x39bd2c[_0x4e15d5(_0x219af4._0x2cfd21,_0x219af4._0x4eadff,_0x219af4._0x5cfe24,0x46)]!=='en')_0x360f77[_0x1d0eea(_0x219af4._0x3c96d1,_0x219af4._0x3a3013,0x28b,0x1d1)]=_0x39bd2c[_0x4e15d5(_0x219af4._0x53d1d3,_0x219af4._0x4164fe,0x26,-0x1c)];if(_0x39bd2c[_0x1d0eea(_0x219af4._0x3dbd43,-_0x219af4._0x42f978,0x26d,0xad)])_0x360f77[_0x4e15d5(-0x2e,-_0x219af4._0x510feb,-0x15,0x1a1)]=_0x39bd2c[_0x4e15d5(-0x2e,-0x4e,_0x219af4._0x5caef7,-0x1c5)];return yield createToolOutput(formatResults(_0x46b3c1),{'engine':_0x453822,'count':_0x46b3c1[_0x4e15d5(0x23e,0x1fb,_0x219af4._0x10cb0b,0x323)],'items':_0x46b3c1,'query':_0x39bd2c[_0x1d0eea(_0x219af4._0xa4dc49,_0x219af4._0x5c28f6,-_0x219af4._0x188b50,0x86)],...Object[_0x1d0eea(_0x219af4._0xabd32e,-0x99,_0x219af4._0x460198,_0x219af4._0x11019d)](_0x360f77)[_0x4e15d5(0x23e,0x446,_0x219af4._0x554293,0x351)]>0x0?{'appliedFilters':_0x360f77}:{},'offset':_0x39bd2c[_0x1d0eea(0x11b,_0x219af4._0x5c926b,0x26f,0x84)],'totalRequested':_0x39bd2c[_0x1d0eea(_0x219af4._0x5bd566,_0x219af4._0x516ef7,-0x30,0x126)],'hydrated':_0x39bd2c[_0x4e15d5(_0x219af4._0x4a371d,_0x219af4._0x467679,-_0x219af4._0x50b613,0x2ac)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,DelegatedResolutionError,FILE_OBSERVATION_LIMITS,FileMutationCoordinator,FileObservationStore,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,MAX_ANCHORED_CONTENT_BYTES,MAX_ANCHORED_OPERATIONS,MAX_ANCHORED_PREVIEW_BYTES,MODEL_TIERS,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isTerminalStatus,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
|