@nuvin/agent-core 0.2.0 → 0.2.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/context-compactor.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/summarize-transcript.d.ts +7 -0
- 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 -1
- 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/tools/file-editing/file-edit-tool.d.ts +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/search/grep-tool.d.ts +1 -1
- package/dist/tools/session/lsp-tool.d.ts +1 -1
- package/dist/tools/shell/bash-tool.d.ts +2 -2
- package/package.json +1 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4c37a2,_0x38c417){const _0x580ad2={_0x1893e2:0x357,_0x2996f1:0x2c4,_0x291a4b:0x27a,_0x3796fd:0x34b,_0x404b8a:0x482,_0x27baae:0x3c4,_0x3d107d:0x601,_0x5101fc:0x757,_0x551af5:0x39f,_0x3ab180:0x1f1,_0xfcf0e7:0x2b7,_0x313e33:0x194,_0x5c3df0:0x309,_0x47f480:0x11a,_0x3542f4:0x49a,_0x5be934:0x5bf,_0x2b7c51:0x2e5,_0x19d15f:0x1ab,_0x450c7d:0x2d8,_0x373954:0x4d1,_0x10c408:0x4b1,_0x2b9b44:0x423,_0x155713:0x304,_0x4a6fe0:0xe2},_0xd74860={_0x52166e:0x20};function _0x4be177(_0x4366f3,_0x2c6813,_0x30aaa9,_0x386c43){return _0x8662(_0x2c6813- -0x1cf,_0x386c43);}function _0x12851c(_0x17d61b,_0x216c34,_0x3f4e73,_0x55c09b){return _0x8662(_0x17d61b-_0xd74860._0x52166e,_0x216c34);}const _0x4e5789=_0x4c37a2();while(!![]){try{const _0x5551e5=-parseInt(_0x12851c(0x325,_0x580ad2._0x1893e2,_0x580ad2._0x2996f1,_0x580ad2._0x291a4b))/0x1+-parseInt(_0x12851c(_0x580ad2._0x3796fd,_0x580ad2._0x404b8a,0x423,_0x580ad2._0x27baae))/0x2*(parseInt(_0x12851c(_0x580ad2._0x3d107d,0x4ea,_0x580ad2._0x5101fc,0x575))/0x3)+parseInt(_0x12851c(_0x580ad2._0x551af5,_0x580ad2._0x3ab180,0x1e8,_0x580ad2._0xfcf0e7))/0x4+parseInt(_0x4be177(_0x580ad2._0x313e33,_0x580ad2._0x5c3df0,_0x580ad2._0x47f480,0x2fa))/0x5+-parseInt(_0x12851c(_0x580ad2._0x3542f4,0x320,_0x580ad2._0x5be934,_0x580ad2._0x2b7c51))/0x6*(parseInt(_0x4be177(0x21b,_0x580ad2._0x19d15f,0x213,_0x580ad2._0x450c7d))/0x7)+parseInt(_0x4be177(0xc6,0x80,-0x15a,0x3a))/0x8+parseInt(_0x12851c(_0x580ad2._0x373954,_0x580ad2._0x10c408,0x53e,0x4a1))/0x9*(parseInt(_0x4be177(_0x580ad2._0x2b9b44,_0x580ad2._0x155713,_0x580ad2._0x4a6fe0,0x23a))/0xa);if(_0x5551e5===_0x38c417)break;else _0x4e5789['push'](_0x4e5789['shift']());}catch(_0x473858){_0x4e5789['push'](_0x4e5789['shift']());}}}(_0x4cbe,0xb25b6));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';function _0x8662(_0x5d2ced,_0x5d7f53){_0x5d2ced=_0x5d2ced-0x1f3;const _0x4cbe00=_0x4cbe();let _0x866204=_0x4cbe00[_0x5d2ced];if(_0x8662['YBbbtb']===undefined){var _0x89766a=function(_0xd498d9){const _0x2f5ab3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x33244f='',_0x5b5699='';for(let _0x2f40db=0x0,_0x55d1ae,_0xd1eee6,_0x1924bd=0x0;_0xd1eee6=_0xd498d9['charAt'](_0x1924bd++);~_0xd1eee6&&(_0x55d1ae=_0x2f40db%0x4?_0x55d1ae*0x40+_0xd1eee6:_0xd1eee6,_0x2f40db++%0x4)?_0x33244f+=String['fromCharCode'](0xff&_0x55d1ae>>(-0x2*_0x2f40db&0x6)):0x0){_0xd1eee6=_0x2f5ab3['indexOf'](_0xd1eee6);}for(let _0x2ad1ec=0x0,_0x2679ea=_0x33244f['length'];_0x2ad1ec<_0x2679ea;_0x2ad1ec++){_0x5b5699+='%'+('00'+_0x33244f['charCodeAt'](_0x2ad1ec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5b5699);};_0x8662['KInfjg']=_0x89766a,_0x8662['mgJcLo']={},_0x8662['YBbbtb']=!![];}const _0x4340ea=_0x4cbe00[0x0],_0xeea0f5=_0x5d2ced+_0x4340ea,_0x3a0a72=_0x8662['mgJcLo'][_0xeea0f5];return!_0x3a0a72?(_0x866204=_0x8662['KInfjg'](_0x866204),_0x8662['mgJcLo'][_0xeea0f5]=_0x866204):_0x866204=_0x3a0a72,_0x866204;}import _0x33244f from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x5b2413(0x581,0x4df,0x608,0x56e),'.tsx':_0x5b2413(0x613,0x4d4,0x571,0x711),'.js':_0x5b2413(0x72a,0x667,0x7e5,0x840),'.jsx':_0x28bc81(0x32c,0x40f,0x2a8,0x14e),'.mjs':_0x28bc81(0x54e,0x4b0,0x446,0x3fd),'.cjs':_0x5b2413(0x932,0x877,0x7e5,0x785),'.mts':_0x5b2413(0x508,0x3fd,0x608,0x51b),'.cts':'typescript','.json':_0x5b2413(0x6b8,0x7de,0x6b2,0x51c),'.jsonc':_0x28bc81(0x2ac,0x365,0x32e,0x230)};function getLanguageId(_0x7ec4b0){const _0x299249={_0x497367:0x4c,_0x2dffd5:0x42,_0x36ded5:0x16b,_0x5aa19c:0x13},_0x54c522={_0x259b2f:0x127,_0x1fbf02:0x2cf},_0x29880b={_0x27ea06:0xf6,_0x57b634:0x16f};function _0x257201(_0x2bde3,_0xe93613,_0x18c79b,_0x445a39){return _0x28bc81(_0x2bde3-_0x29880b._0x27ea06,_0xe93613-_0x29880b._0x57b634,_0xe93613- -0x2dd,_0x445a39);}function _0x331ea1(_0x3b820d,_0x4e138d,_0x73bfdc,_0x51d2a7){return _0x28bc81(_0x3b820d-0xb1,_0x4e138d-_0x54c522._0x259b2f,_0x4e138d-_0x54c522._0x1fbf02,_0x51d2a7);}return EXTENSION_TO_LANGUAGE[_0x33244f[_0x257201(-0xd5,-_0x299249._0x497367,0x38,-_0x299249._0x2dffd5)](_0x7ec4b0)[_0x257201(-_0x299249._0x36ded5,0x99,0x243,_0x299249._0x5aa19c)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x2f3d5b){const _0x33d4c2={_0x52d42e:0xbc},_0x524533={_0x5bc4c7:0x6d7};function _0x1f630e(_0x41d216,_0x13495f,_0x3ea4a0,_0x1ebe9d){return _0x5b2413(_0x41d216-0xd7,_0x13495f-0x51,_0x41d216- -_0x524533._0x5bc4c7,_0x3ea4a0);}return pathToFileURL(_0x2f3d5b)[_0x1f630e(0x68,-_0x33d4c2._0x52d42e,-0x65,-0x1ac)]();}function textDocumentPosition(_0x347484){const _0x395a32={_0x10afb7:0x56b,_0x36c951:0x46f,_0x27726e:0x2bf,_0x2f554c:0x27e,_0x272747:0x369,_0x16b90c:0x48,_0x449cbd:0x243,_0x2d2170:0x197};function _0x2a9521(_0x27c6cf,_0x1cdae3,_0x27c3a7,_0x54d4f2){return _0x28bc81(_0x27c6cf-0x66,_0x1cdae3-0x132,_0x54d4f2- -0x2a5,_0x27c3a7);}function _0xcceae7(_0x1a9878,_0x5d47b9,_0x276589,_0x22692f){return _0x28bc81(_0x1a9878-0x19b,_0x5d47b9-0xb6,_0x1a9878-0xe5,_0x5d47b9);}return{'textDocument':{'uri':uriForPath(_0x347484[_0xcceae7(_0x395a32._0x10afb7,0x6b9,0x6f6,0x43d)])},'position':{'line':_0x347484[_0x2a9521(_0x395a32._0x36c951,_0x395a32._0x27726e,_0x395a32._0x2f554c,_0x395a32._0x272747)],'character':_0x347484[_0x2a9521(-_0x395a32._0x16b90c,0x21a,_0x395a32._0x449cbd,_0x395a32._0x2d2170)]}};}function normalizeLocations(_0x46cd05){if(!_0x46cd05)return[];return Array['isArray'](_0x46cd05)?_0x46cd05:[_0x46cd05];}async function withLspTimeout(_0x12a793,_0x4078cd,_0x46c626){const _0x409183={_0xf0ca33:0x5bf,_0x3d2501:0x618,_0x5648b2:0x56c,_0x1d8e12:0x298,_0x15ad08:0x446},_0x5859b0={_0x275034:0x2d0,_0xbe1815:0x713,_0x3b0f2a:0x730},_0x11fb5e={_0x3b4f16:0x6f,_0x1f168c:0x25c};function _0x485823(_0x4c5897,_0x3d13d8,_0x4c5001,_0x1a8bc5){return _0x28bc81(_0x4c5897-0xab,_0x3d13d8-_0x11fb5e._0x3b4f16,_0x4c5001- -_0x11fb5e._0x1f168c,_0x3d13d8);}if(!Number[_0x3c2874(0x6b2,0x536,_0x409183._0xf0ca33,0x709)](_0x4078cd)||_0x4078cd<0x1)throw new Error(_0x3c2874(_0x409183._0x3d2501,0x464,0x433,_0x409183._0x5648b2)+_0x46c626+':\x20expected\x20a\x20positive\x20number');function _0x3c2874(_0x591156,_0x207c81,_0x1de5b8,_0x3da18b){return _0x5b2413(_0x591156-0x7b,_0x207c81-0x1e4,_0x591156- -0x1f0,_0x1de5b8);}let _0x5744da;try{return await Promise[_0x3c2874(0x3ab,_0x409183._0x1d8e12,0x4d9,_0x409183._0x15ad08)]([_0x12a793,new Promise((_0x40cfb4,_0x1b6087)=>{_0x5744da=setTimeout(()=>{function _0x675c62(_0x44b999,_0xb68772,_0x1efdd5,_0x521cf0){return _0x8662(_0x1efdd5-0x3a3,_0xb68772);}function _0x1eb7ce(_0x305f38,_0x15ba0d,_0xd52450,_0x5e0717){return _0x8662(_0x5e0717- -0x28,_0x305f38);}_0x1b6087(new Error('LSP\x20'+_0x46c626+_0x1eb7ce(0x4d4,0x42d,_0x5859b0._0x275034,0x470)+_0x4078cd+_0x675c62(_0x5859b0._0xbe1815,0x772,_0x5859b0._0x3b0f2a,0x951)));},_0x4078cd);})]);}finally{if(_0x5744da!==void 0x0)clearTimeout(_0x5744da);}}async function createLspClient(_0x1b3a9a){const _0x579b06={_0x115a53:0x9bc,_0x53093e:0x602,_0x166006:0x647,_0x26b306:0x5bd,_0x1483a1:0x5c4,_0x3ff420:0x7b2,_0x1350bd:0x8e4,_0x476f9b:0x483,_0x26dedd:0x274,_0x48acf5:0x1e7,_0x3bd1d1:0x3e3,_0xa6c323:0x522,_0x2ad215:0x53a,_0x441ed7:0x1f2,_0x3b3a42:0x483,_0x5a91f3:0x1ea,_0x525d2d:0x18b,_0x2775ea:0x13c,_0x46bd9b:0x51e,_0xef1626:0x425,_0xbd3b03:0x566,_0x318376:0x8a0,_0x1d04cf:0x966,_0x4d2fc3:0x546,_0x592eb8:0x50d,_0x5ecec1:0x6bc,_0x58544a:0x1b8,_0x17f1fe:0x389,_0x402d68:0x852,_0x535d0e:0x7b9,_0x317f83:0x83a,_0x1efab4:0x5f,_0x2c922c:0x929,_0x273cf5:0x868,_0x5eb0b3:0xa46,_0x1ad6dc:0x3db,_0xee5e25:0x45e,_0x5a90c2:0x248,_0x274502:0x4cf,_0x3b1d04:0x5b4,_0x41cf64:0x3fa,_0x2f6bf3:0x6ea,_0x22964c:0x649,_0x2a5b24:0x7f2,_0x3005f5:0x21d,_0x4f455d:0x272,_0x404943:0x653,_0x300cde:0x6a8,_0x5e9568:0x52a,_0x3f9431:0x546,_0x417718:0x369,_0xb5f255:0x65c,_0x590232:0x75a},_0x4ece0e={_0x1c6490:0x2ff,_0x3b78e3:0x11b,_0x1af0cb:0x62,_0x23852b:0xfe,_0x1899bd:0x36e,_0x5055cc:0x373,_0x2d913b:0x4c1,_0x5f07c6:0x168,_0x11ca2e:0x2e,_0x1f4413:0x1db,_0x3036d1:0x1c6,_0x354400:0x332,_0xb920bd:0x2a0,_0x431fb4:0x20b},_0x514afa={_0x10e699:0x5ec},_0x538c39={_0x152d6f:0x2d0,_0x41f50f:0x102},_0x5c9c1b={_0xd45d57:0x1f5,_0x74c7a4:0x2ba,_0x263001:0x125},_0x25ee06={_0x4945fc:0x504,_0x61a968:0x8e,_0x570f73:0x1ed},_0xf84bdf={_0x5c7579:0x385,_0x18ef75:0x5aa,_0x21ba4a:0x565},_0x17af7f={_0x3a9fa4:0x1a7,_0x535884:0x8f},_0x126f68={_0x50a4cd:0x47a,_0x2b5a93:0x54c,_0x35ddea:0x3f7},_0xb57b27={_0x40cb18:0xa0,_0x38304b:0x97},_0x439fd7={_0x3b13cf:0x2cf,_0x22acb2:0x480,_0x449d7e:0x456,_0xba3ec2:0x405},_0x230344={_0x121f42:0x1b3},_0x289617={_0x52b1f9:0x6ee,_0xdf6a96:0x4a2},_0x5990d1={_0x18627d:0x197},_0x2cda05={_0x4f04fe:0x65a,_0x16885f:0x30c},_0x4ea715={_0x1c11a6:0x5ad},_0x5c7a48={_0x20c2a1:0x121},_0x2ae2fc={_0x45c2b3:0x419,_0x43c0a3:0x6b7,_0x598bfa:0x628},_0x505798={_0xc736f7:0x428,_0x469f67:0x38a,_0x5dfcff:0x467,_0x432b57:0x4c4,_0x32d09a:0x61b,_0x470cd0:0x6ef,_0x2621c2:0x7fe},_0x4e1b90={_0x1c2255:0x16c,_0x4831c4:0x168,_0x37e648:0x1bf},_0x15cd5c={_0x435d4b:0x185},_0x5f5c02={_0x2c674f:0x413},_0x291399={_0x52d527:0x335,_0x29e6aa:0x35f,_0x12a7ac:0x4b4,_0x57e37a:0x93c,_0x71fdd1:0x80c,_0x1ce607:0x84c,_0x24dff4:0x11d,_0x4126fb:0xb9,_0x464d77:0x63e,_0x31f8b3:0x84b},_0x20bff7={_0x278e16:0x154};function _0x1cb1a1(_0x5a0e88,_0xd4fb06,_0x559411,_0x470c7b){return _0x28bc81(_0x5a0e88-_0x20bff7._0x278e16,_0xd4fb06-0xef,_0x5a0e88-0x31a,_0x470c7b);}const _0x4dc7f2=_0x1b3a9a[_0x1cb1a1(0x7b2,0x7fe,_0x579b06._0x115a53,0x6b6)][_0x1cb1a1(_0x579b06._0x53093e,0x781,_0x579b06._0x166006,_0x579b06._0x26b306)][_0x3937f2(0x5b1,0x49b,0x2ae,_0x579b06._0x1483a1)],_0x287735=_0x1b3a9a[_0x1cb1a1(_0x579b06._0x3ff420,0x801,0x6eb,_0x579b06._0x1350bd)][_0x3937f2(_0x579b06._0x476f9b,_0x579b06._0x26dedd,_0x579b06._0x48acf5,_0x579b06._0x3bd1d1)][_0x3937f2(0x718,0x543,_0x579b06._0xa6c323,_0x579b06._0x2ad215)];if(!_0x4dc7f2||!_0x287735)throw new Error(_0x3937f2(0x4dc,0x3fb,_0x579b06._0x441ed7,_0x579b06._0x3b3a42));const _0x3baa49=_0x1b3a9a['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x4b64c0=createMessageConnection(new StreamMessageReader(_0x4dc7f2),new StreamMessageWriter(_0x287735)),_0x461e3a=new Map(),_0x18a857=new Map();let _0x4ba97c=![];const _0x533e14=async(_0x3386fb,_0x28b526)=>{return withLspTimeout(_0x4b64c0['sendRequest'](_0x3386fb,_0x28b526),_0x3baa49,_0x3386fb);};_0x4b64c0[_0x3937f2(_0x579b06._0x5a91f3,_0x579b06._0x525d2d,_0x579b06._0x2775ea,0x2ae)](_0x1cb1a1(_0x579b06._0x46bd9b,0x3bc,_0x579b06._0xef1626,_0x579b06._0xbd3b03),_0x1b385e=>{const _0x1dc099={_0x505a96:0xb1,_0xaa20ea:0x8e};function _0x46b1fd(_0x57db7b,_0x3de787,_0x32a730,_0x218b2b){return _0x3937f2(_0x57db7b-_0x1dc099._0x505a96,_0x57db7b- -_0x1dc099._0xaa20ea,_0x3de787,_0x218b2b-0x1b9);}_0x461e3a[_0x46b1fd(_0x291399._0x52d527,0x348,_0x291399._0x29e6aa,0x12a)](_0x1b385e[_0x35ae45(0x41c,0x43f,_0x291399._0x12a7ac,0x4e5)],_0x1b385e[_0x35ae45(_0x291399._0x57e37a,_0x291399._0x71fdd1,0x82d,_0x291399._0x1ce607)]);const _0x2d2ea1=_0x18a857['get'](_0x1b385e[_0x46b1fd(0xf8,_0x291399._0x24dff4,0x1c3,_0x291399._0x4126fb)]);if(!_0x2d2ea1)return;_0x18a857[_0x35ae45(0x933,_0x291399._0x464d77,_0x291399._0x31f8b3,0x7f1)](_0x1b385e['uri']);function _0x35ae45(_0x15d8be,_0x328aad,_0x2b222f,_0xbae04e){return _0x1cb1a1(_0xbae04e- -0x2f,_0x328aad-0x147,_0x2b222f-0x138,_0x328aad);}for(const _0x1387d5 of _0x2d2ea1)_0x1387d5();}),_0x4b64c0['listen']();let _0x51ecfc;try{_0x51ecfc=await _0x533e14('initialize',{'processId':process[_0x1cb1a1(0x8d5,0x7cb,_0x579b06._0x318376,_0x579b06._0x1d04cf)],'rootUri':uriForPath(_0x1b3a9a[_0x1cb1a1(_0x579b06._0x4d2fc3,_0x579b06._0x592eb8,_0x579b06._0x5ecec1,0x5a8)]),'workspaceFolders':[{'uri':uriForPath(_0x1b3a9a[_0x3937f2(0x35a,_0x579b06._0x58544a,0x1c5,_0x579b06._0x17f1fe)]),'name':_0x1b3a9a[_0x1cb1a1(0x653,0x7c9,_0x579b06._0x402d68,_0x579b06._0x535d0e)]['id']}],'initializationOptions':_0x1b3a9a[_0x1cb1a1(0x7b2,_0x579b06._0x317f83,0x8c3,0x6b3)][_0x3937f2(0x3b1,0x1a0,-_0x579b06._0x1efab4,0x22a)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x1cb1a1(0x70b,0x518,_0x579b06._0x2c922c,0x5eb),_0x1cb1a1(_0x579b06._0x273cf5,_0x579b06._0x5eb0b3,0x7b5,0x731)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1b5c37){_0x4b64c0[_0x3937f2(_0x579b06._0x1ad6dc,_0x579b06._0xee5e25,0x2f7,0x46f)](),_0x1b3a9a[_0x3937f2(_0x579b06._0x5a90c2,0x424,_0x579b06._0x274502,_0x579b06._0x3b1d04)]['process'][_0x3937f2(0x4cb,_0x579b06._0x41cf64,0x1e4,0x286)]();throw _0x1b5c37;}_0x4b64c0[_0x1cb1a1(_0x579b06._0x2f6bf3,0x6c2,_0x579b06._0x22964c,_0x579b06._0x2a5b24)](_0x3937f2(_0x579b06._0x3005f5,0x252,_0x579b06._0x4f455d,0x454),{});function _0x3937f2(_0x3c53d7,_0x263dd9,_0x35edae,_0x180ec6){return _0x5b2413(_0x3c53d7-0x2f,_0x263dd9-0x7a,_0x263dd9- -_0x5f5c02._0x2c674f,_0x35edae);}const _0x240740={'serverId':_0x1b3a9a[_0x1cb1a1(_0x579b06._0x404943,_0x579b06._0x300cde,_0x579b06._0x5e9568,0x814)]['id'],'root':_0x1b3a9a[_0x1cb1a1(_0x579b06._0x3f9431,_0x579b06._0x417718,_0x579b06._0xb5f255,0x67f)],'connection':_0x4b64c0,'diagnostics':_0x461e3a,'capabilities':_0x51ecfc[_0x1cb1a1(0x7ff,0x8c7,_0x579b06._0x590232,0x97e)]??{},'notify':{async 'open'({path:_0x3d8f6b}){function _0x179c1a(_0x3d92b5,_0x1ee5f4,_0x48a90d,_0x59f30b){return _0x3937f2(_0x3d92b5-0x8a,_0x48a90d-_0x15cd5c._0x435d4b,_0x1ee5f4,_0x59f30b-0xb8);}function _0x582dd9(_0x5dcb58,_0x4d7725,_0x48eaa1,_0x21ed0a){return _0x3937f2(_0x5dcb58-_0x4e1b90._0x1c2255,_0x48eaa1-_0x4e1b90._0x4831c4,_0x21ed0a,_0x21ed0a-_0x4e1b90._0x37e648);}const _0x3ca8c7=await readFile(_0x3d8f6b,_0x179c1a(0x59e,_0x505798._0xc736f7,_0x505798._0x469f67,0x2ce));_0x4b64c0[_0x582dd9(0x394,_0x505798._0x5dfcff,_0x505798._0x432b57,_0x505798._0x32d09a)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x3d8f6b),'languageId':getLanguageId(_0x3d8f6b)??_0x582dd9(_0x505798._0x470cd0,0x55d,0x642,_0x505798._0x2621c2),'version':0x1,'text':_0x3ca8c7}});},async 'change'({path:_0x8e6496,version:_0x339149}){const _0x32d894={_0x33f08e:0x267,_0x3ce0a4:0x1e9},_0x21c4b4=await readFile(_0x8e6496,'utf8');function _0x51a3ee(_0x4e3eef,_0x50d416,_0x1abc1d,_0x5a23be){return _0x1cb1a1(_0x5a23be- -_0x32d894._0x33f08e,_0x50d416-_0x32d894._0x3ce0a4,_0x1abc1d-0xb0,_0x1abc1d);}_0x4b64c0['sendNotification'](_0x51a3ee(_0x2ae2fc._0x45c2b3,_0x2ae2fc._0x43c0a3,0x6ec,_0x2ae2fc._0x598bfa),{'textDocument':{'uri':uriForPath(_0x8e6496),'version':_0x339149},'contentChanges':[{'text':_0x21c4b4}]});},async 'close'({path:_0x46b817}){_0x4b64c0['sendNotification']('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x46b817)}});}},'request':{async 'definition'(_0x555102){return normalizeLocations(await _0x533e14('textDocument/definition',textDocumentPosition(_0x555102)));},async 'references'(_0xfd2bb1){function _0x140cb3(_0x239a29,_0x57520e,_0x1a31bd,_0x3b042a){return _0x3937f2(_0x239a29-0x7e,_0x3b042a- -_0x5c7a48._0x20c2a1,_0x57520e,_0x3b042a-0xcb);}return normalizeLocations(await _0x533e14(_0x140cb3(0x2e7,_0x4ea715._0x1c11a6,0x271,0x3d8),{...textDocumentPosition(_0xfd2bb1),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x4577bc){const _0x1f078a={_0x329666:0x1f};function _0x5c23a9(_0x2966ff,_0x25e2bb,_0x501b61,_0x3e2963){return _0x3937f2(_0x2966ff-_0x1f078a._0x329666,_0x3e2963-0x89,_0x25e2bb,_0x3e2963-0xc);}return await _0x533e14(_0x5c23a9(_0x2cda05._0x4f04fe,_0x2cda05._0x16885f,0x573,0x516),textDocumentPosition(_0x4577bc))??null;},async 'documentSymbol'(_0x570726){function _0x24dd07(_0x77d43b,_0x474dd5,_0x340eb,_0x56ee31){return _0x3937f2(_0x77d43b-0x1f4,_0x77d43b-_0x5990d1._0x18627d,_0x474dd5,_0x56ee31-0x13a);}return await _0x533e14(_0x24dd07(0x637,_0x289617._0x52b1f9,0x438,_0x289617._0xdf6a96),{'textDocument':{'uri':uriForPath(_0x570726)}})??[];},async 'workspaceSymbol'(_0x5b81f9){function _0x5d21ae(_0xe5abd0,_0x9e075,_0x5631e9,_0x457d1f){return _0x1cb1a1(_0x5631e9- -0x2ab,_0x9e075-0x195,_0x5631e9-_0x230344._0x121f42,_0xe5abd0);}return await _0x533e14(_0x5d21ae(_0x439fd7._0x3b13cf,_0x439fd7._0x22acb2,_0x439fd7._0x449d7e,_0x439fd7._0xba3ec2),{'query':_0x5b81f9})??[];},async 'implementation'(_0x421b52){function _0x1623e1(_0x394744,_0x1cef8c,_0x1217df,_0x542c69){return _0x3937f2(_0x394744-0x74,_0x1217df-_0xb57b27._0x40cb18,_0x542c69,_0x542c69-_0xb57b27._0x38304b);}return normalizeLocations(await _0x533e14(_0x1623e1(_0x126f68._0x50a4cd,_0x126f68._0x2b5a93,0x59c,_0x126f68._0x35ddea),textDocumentPosition(_0x421b52)));},async 'prepareCallHierarchy'(_0x138be3){function _0x1f2371(_0x205256,_0x156963,_0x43e3c8,_0x2220e2){return _0x3937f2(_0x205256-_0x17af7f._0x3a9fa4,_0x2220e2-0x12b,_0x43e3c8,_0x2220e2-_0x17af7f._0x535884);}return await _0x533e14(_0x1f2371(0x63d,0x7b1,0x54f,0x5c1),textDocumentPosition(_0x138be3))??[];},async 'incomingCalls'(_0x2555d9){const _0x1bf7d5={_0x3c310f:0x1a9};function _0x35c2cd(_0x57e432,_0x44a4b7,_0x535427,_0x4d1b44){return _0x1cb1a1(_0x4d1b44-0xc3,_0x44a4b7-0x22,_0x535427-_0x1bf7d5._0x3c310f,_0x535427);}return await _0x533e14(_0x35c2cd(0x89b,0x96b,0xa27,0x972),{'item':_0x2555d9})??[];},async 'outgoingCalls'(_0x49aed6){const _0x39ba93={_0x28e71a:0x5e,_0x12befd:0x115};function _0x54aeb2(_0x472225,_0x137d7e,_0xe444e2,_0x21cc04){return _0x1cb1a1(_0xe444e2- -0x32,_0x137d7e-_0x39ba93._0x28e71a,_0xe444e2-_0x39ba93._0x12befd,_0x472225);}return await _0x533e14(_0x54aeb2(_0xf84bdf._0x5c7579,_0xf84bdf._0x18ef75,0x55a,_0xf84bdf._0x21ba4a),{'item':_0x49aed6})??[];}},'waitForDiagnostics'({path:_0x840c8a,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x20d95b={_0x1890bc:0x8e3},_0x4c6ee0={_0x4445aa:0x1ef};function _0x48eb95(_0x2757a1,_0x5a880f,_0x2e02aa,_0x54a15b){return _0x1cb1a1(_0x5a880f- -_0x25ee06._0x4945fc,_0x5a880f-_0x25ee06._0x61a968,_0x2e02aa-_0x25ee06._0x570f73,_0x2e02aa);}function _0x1ea3a5(_0x360123,_0x147a60,_0x25bac1,_0x315b76){return _0x3937f2(_0x360123-0x1bb,_0x315b76- -0xc1,_0x360123,_0x315b76-_0x4c6ee0._0x4445aa);}const _0x1e0d11=uriForPath(_0x840c8a);if(_0x461e3a[_0x48eb95(-0x74,0x121,_0x5c9c1b._0xd45d57,0x21b)](_0x1e0d11))return Promise[_0x1ea3a5(0x1f3,_0x5c9c1b._0x74c7a4,0x28,_0x5c9c1b._0x263001)]();return new Promise(_0xbca956=>{const _0x1bd4c7={_0x29f912:0x4e4},_0x13ce73={_0x227a16:0x487,_0x484f49:0x477},_0x563ed8={_0x63e16c:0x309},_0xa3303e=setTimeout(()=>{const _0x40bbbb=_0x18a857[_0x374287(_0x13ce73._0x227a16,0x2b0,0x4ac,_0x13ce73._0x484f49)](_0x1e0d11);_0x40bbbb?.['delete'](_0x5b663a);function _0x366707(_0x228836,_0x2f0438,_0x504399,_0x420fbe){return _0x8662(_0x504399-0xba,_0x228836);}function _0x374287(_0x5dd703,_0x2d48e2,_0x33aee9,_0x198dc3){return _0x8662(_0x2d48e2- -_0x563ed8._0x63e16c,_0x33aee9);}if(_0x40bbbb?.[_0x374287(-0x1c1,-0xf,0x206,-0x165)]===0x0)_0x18a857[_0x366707(0x3c6,0x4fb,0x5e8,0x436)](_0x1e0d11);_0xbca956();},timeoutMs),_0x5b663a=()=>{clearTimeout(_0xa3303e),_0xbca956();};function _0x5a6096(_0x378fd5,_0x3b5c2b,_0x3cc19d,_0x4daa46){return _0x48eb95(_0x378fd5-0x6e,_0x3cc19d-_0x1bd4c7._0x29f912,_0x378fd5,_0x4daa46-0x68);}const _0x4b2d17=_0x18a857['get'](_0x1e0d11)??new Set();_0x4b2d17['add'](_0x5b663a),_0x18a857[_0x5a6096(0x5b7,0x582,0x731,_0x20d95b._0x1890bc)](_0x1e0d11,_0x4b2d17);});},async 'shutdown'(){function _0x4a3741(_0x158203,_0x49aa2a,_0x2c5767,_0x1a29cd){return _0x1cb1a1(_0x158203- -_0x538c39._0x152d6f,_0x49aa2a-0x1b9,_0x2c5767-_0x538c39._0x41f50f,_0x49aa2a);}function _0x498cc6(_0x99d4bc,_0x309c79,_0x691011,_0x4cded7){return _0x1cb1a1(_0x4cded7- -_0x514afa._0x10e699,_0x309c79-0x82,_0x691011-0xbe,_0x99d4bc);}if(_0x4ba97c)return;_0x4ba97c=!![];try{await _0x533e14('shutdown',null),_0x4b64c0[_0x498cc6(_0x4ece0e._0x1c6490,_0x4ece0e._0x3b78e3,-_0x4ece0e._0x1af0cb,_0x4ece0e._0x23852b)](_0x4a3741(_0x4ece0e._0x1899bd,_0x4ece0e._0x5055cc,_0x4ece0e._0x2d913b,_0x4ece0e._0x5f07c6));}catch{}finally{_0x4b64c0['dispose'](),_0x1b3a9a[_0x498cc6(0x309,-_0x4ece0e._0x11ca2e,_0x4ece0e._0x1f4413,_0x4ece0e._0x3036d1)][_0x4a3741(_0x4ece0e._0x354400,0x1c1,0x190,_0x4ece0e._0xb920bd)][_0x498cc6(0x134,_0x4ece0e._0x431fb4,0x238,0x19c)]();}}};return _0x240740;}import{spawn as _0x5b5699}from'child_process';import{access as _0x2f40db}from'fs/promises';import _0x55d1ae from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xd1eee6 from'os';import _0x1924bd from'path';import _0x2ad1ec from'which';var installPromises=new Map();function sanitizePackageName(_0xec19e8){const _0x3f389b={_0x106f17:0x5fd,_0x55faff:0x33f,_0x49a861:0x65f,_0x2dcfdf:0x3e7},_0x101e51={_0x39354a:0x193},_0x1e626e={_0x1ac3e5:0x165};function _0xa7feae(_0x546466,_0x58614f,_0x527a2f,_0x4101f0){return _0x28bc81(_0x546466-0x1c3,_0x58614f-0xd7,_0x4101f0-_0x1e626e._0x1ac3e5,_0x527a2f);}function _0x312365(_0x22f4cd,_0x107981,_0x344de2,_0x41331c){return _0x5b2413(_0x22f4cd-0x103,_0x107981-_0x101e51._0x39354a,_0x41331c- -0x402,_0x107981);}return _0xec19e8[_0x312365(_0x3f389b._0x106f17,0x32e,_0x3f389b._0x55faff,0x4f4)](/^@/,'')[_0x312365(0x693,_0x3f389b._0x49a861,_0x3f389b._0x2dcfdf,0x4f4)](/[/]/g,'__');}function binaryNameForPlatform(_0x4d7b9e){const _0x25d0cf={_0x36b09a:0x4d5,_0x6e88aa:0x365,_0x438f46:0x221,_0x77f4bf:0x4f9,_0x2fd1ea:0xd7,_0x410d17:0x1e5,_0x51f2fb:0x3b8,_0x38ff23:0x237},_0x106dc0={_0x189436:0x403};function _0x1551c0(_0x176ef8,_0x1f1aa2,_0x31d060,_0x92760a){return _0x5b2413(_0x176ef8-0x18c,_0x1f1aa2-0x76,_0x1f1aa2- -_0x106dc0._0x189436,_0x176ef8);}function _0x37b0c9(_0x152c53,_0x321164,_0x1fe718,_0xcb6074){return _0x5b2413(_0x152c53-0x1af,_0x321164-0x105,_0x321164- -0x722,_0xcb6074);}return process[_0x1551c0(_0x25d0cf._0x36b09a,_0x25d0cf._0x6e88aa,_0x25d0cf._0x438f46,_0x25d0cf._0x77f4bf)]===_0x37b0c9(0x190,_0x25d0cf._0x2fd1ea,0x24a,-0x92)?_0x4d7b9e+_0x1551c0(_0x25d0cf._0x410d17,0x2bf,_0x25d0cf._0x51f2fb,_0x25d0cf._0x38ff23):_0x4d7b9e;}async function exists(_0x1f787f){try{return await access(_0x1f787f),!![];}catch{return![];}}function runNpmInstall(_0x3924bf,_0x4729b8,_0x1f4a28){const _0x3093d4={_0x2531a8:0x1e2,_0x5813f6:0x4de,_0x3ac3a4:0x1f7,_0xf1132d:0x1c5,_0x18202c:0x1c9};return new Promise(_0x6fda51=>{const _0x132ec9=spawn('npm',[_0x127051(_0x3093d4._0x2531a8,_0x3093d4._0x5813f6,0x1fa,0x3c2),_0x127051(0x121,_0x3093d4._0x3ac3a4,0xd4,0xbb),_0x3924bf,_0x4729b8],{'env':_0x1f4a28,'stdio':_0x127051(0x219,0x3d9,0x50,_0x3093d4._0xf1132d)});function _0x59e311(_0x146adb,_0xae8a2e,_0x1d5708,_0x56be85){return _0x8662(_0xae8a2e-0x16,_0x146adb);}_0x132ec9['on'](_0x127051(0x31f,0x2f2,_0x3093d4._0x18202c,0x1e0),()=>_0x6fda51(![]));function _0x127051(_0x158c6b,_0x41952b,_0xae8f70,_0x17f4a8){return _0x8662(_0x17f4a8- -0x220,_0x158c6b);}_0x132ec9['on']('close',_0x565faf=>_0x6fda51(_0x565faf===0x0));});}function shouldDisableLspDownload(_0x3e3486=process['env']){const _0x5e8af7={_0x9dfcd4:0x4eb,_0x2a10de:0x2fc,_0x48ce54:0x74e,_0x5c98a0:0x5b9,_0x35a3e:0x2ff,_0x486177:0x43f},_0x523d02={_0x58a14b:0x85,_0x4e4f27:0x240},_0x604d6a={_0x4fcbb5:0x448};function _0x11f0e6(_0x24b078,_0x2d331c,_0xe727b7,_0x397fcc){return _0x5b2413(_0x24b078-0x143,_0x2d331c-0xd6,_0x24b078- -_0x604d6a._0x4fcbb5,_0x397fcc);}const _0x236246=_0x3e3486[_0x11f0e6(0x489,_0x5e8af7._0x9dfcd4,0x542,_0x5e8af7._0x2a10de)]?.['toLowerCase']();function _0x38fe0d(_0x358a85,_0x492a94,_0x3fbc45,_0x5e2fa7){return _0x28bc81(_0x358a85-_0x523d02._0x58a14b,_0x492a94-0xe9,_0x358a85-_0x523d02._0x4e4f27,_0x492a94);}return _0x236246===_0x38fe0d(_0x5e8af7._0x48ce54,0x6a5,_0x5e8af7._0x5c98a0,0x8cc)||_0x236246==='1'||_0x236246===_0x11f0e6(_0x5e8af7._0x35a3e,_0x5e8af7._0x486177,0x4a1,0x36d)||_0x236246==='on';}function getLspPackageDir(_0x832d1e){const _0x2878c0={_0x45ff9e:0x325,_0xf9dc18:0x685,_0x5471c0:0x36f,_0x21b4e4:0x53f,_0x212166:0xf5,_0x488ca4:0xcc,_0x250441:0x592,_0x11ce87:0x78b,_0x259bc8:0x61b},_0x359c10={_0x402124:0xe2},_0x32c02e={_0x4f1a05:0xc7,_0x54f00b:0x27};function _0x383a87(_0x440a97,_0x1f209e,_0x28ce07,_0x3f17c0){return _0x5b2413(_0x440a97-_0x32c02e._0x4f1a05,_0x1f209e-_0x32c02e._0x54f00b,_0x3f17c0- -0x597,_0x1f209e);}function _0x4423a8(_0x730551,_0x12953e,_0x11e745,_0x12fbcf){return _0x28bc81(_0x730551-0x156,_0x12953e-0x6c,_0x12fbcf-_0x359c10._0x402124,_0x730551);}return _0x1924bd[_0x4423a8(_0x2878c0._0x45ff9e,_0x2878c0._0xf9dc18,_0x2878c0._0x5471c0,_0x2878c0._0x21b4e4)](_0xd1eee6['homedir'](),_0x383a87(0x221,-_0x2878c0._0x212166,-_0x2878c0._0x488ca4,0x3),'lsp',_0x4423a8(_0x2878c0._0x250441,_0x2878c0._0x11ce87,_0x2878c0._0x259bc8,0x6eb),sanitizePackageName(_0x832d1e));}function getLspBinDir(_0x237e30){const _0x74c221={_0xab0f:0x28c,_0x4126d1:0x8b,_0x94aca:0x8,_0x459c6b:0x7f,_0x542b7b:0x14e},_0x2afb4e={_0x4bda5b:0x6dc},_0x41b832={_0x215b6e:0x149};function _0x44a8c8(_0x54f906,_0x286450,_0x1d223c,_0x28a8d5){return _0x5b2413(_0x54f906-_0x41b832._0x215b6e,_0x286450-0xe,_0x54f906- -0x72b,_0x28a8d5);}function _0x2bac98(_0x43fcec,_0x3881b7,_0x28578a,_0x401a49){return _0x5b2413(_0x43fcec-0x11d,_0x3881b7-0x182,_0x28578a- -_0x2afb4e._0x4bda5b,_0x3881b7);}return _0x1924bd['join'](getLspPackageDir(_0x237e30),_0x44a8c8(-0x136,-_0x74c221._0xab0f,0xc5,_0x74c221._0x4126d1),_0x2bac98(0x1eb,_0x74c221._0x94aca,_0x74c221._0x459c6b,-_0x74c221._0x542b7b));}async function findPackageBinary(_0x55bd79,_0x395d51){const _0x5c5a53={_0x280fff:0x111,_0x20e49d:0x209},_0x169c45={_0x33dc5b:0x106};let _0x4c8485=_0x1924bd[_0x2a1141(_0x5c5a53._0x280fff,0x1e9,-0x109,_0x5c5a53._0x20e49d)](_0x395d51);const _0xcbe8dd=binaryNameForPlatform(_0x55bd79);function _0x2a1141(_0x159336,_0x5c8671,_0x4f4a2c,_0x154823){return _0x28bc81(_0x159336-_0x169c45._0x33dc5b,_0x5c8671-0xcb,_0x159336- -0x149,_0x5c8671);}while(!![]){const _0x2340bd=_0x1924bd['join'](_0x4c8485,'node_modules','.bin',_0xcbe8dd);if(await exists(_0x2340bd))return _0x2340bd;const _0x501386=_0x1924bd['dirname'](_0x4c8485);if(_0x501386===_0x4c8485)return void 0x0;_0x4c8485=_0x501386;}}async function findPathBinary(_0x3b1688,_0x23cb15){const _0x319fb2={_0x48b95f:0x61,_0x23755a:0x20,_0x4c34fa:0x1b8,_0x2a9280:0x103,_0xdccc90:0x24d,_0xcde7a8:0xf2,_0x337455:0x374,_0x4f6707:0x31e,_0x1eebd9:0x3b9,_0x479c38:0x3a6,_0x59ca68:0x260},_0x46fdba={_0x2ba56b:0x10d,_0x393482:0x138},_0x443f3d={_0x2ae724:0x188,_0x3e8794:0x21a};function _0x4e34b4(_0x3c0202,_0x405942,_0x1be43a,_0x57116e){return _0x28bc81(_0x3c0202-0x12b,_0x405942-_0x443f3d._0x2ae724,_0x3c0202- -_0x443f3d._0x3e8794,_0x1be43a);}const _0x273ba9=getLspBinDir(_0x23cb15),_0x456b8a=[_0x273ba9,process[_0x5f72e7(-_0x319fb2._0x48b95f,-_0x319fb2._0x23755a,-_0x319fb2._0x4c34fa,-_0x319fb2._0x2a9280)][_0x5f72e7(0x37c,0x2f5,_0x319fb2._0xdccc90,0x3e9)]][_0x5f72e7(_0x319fb2._0xcde7a8,0x197,0x15a,_0x319fb2._0x337455)](Boolean)['join'](_0x1924bd[_0x4e34b4(_0x319fb2._0x4f6707,_0x319fb2._0x1eebd9,_0x319fb2._0x479c38,_0x319fb2._0x59ca68)]);function _0x5f72e7(_0x4cc432,_0x28845c,_0x36a5ee,_0x541303){return _0x5b2413(_0x4cc432-_0x46fdba._0x2ba56b,_0x28845c-_0x46fdba._0x393482,_0x28845c- -0x68d,_0x36a5ee);}try{return await _0x2ad1ec(_0x3b1688,{'path':_0x456b8a});}catch{return void 0x0;}}async function resolvePackageBinary(_0x4556c8){const _0xa37686={_0x3f7a71:0x54f,_0x15f6a4:0x44b,_0x48cb54:0x487,_0x1ff3a3:0x1eb,_0x45cd1e:0x12d,_0x56df65:0xf6,_0x207a39:0x7c7,_0x59f624:0x610,_0x1db441:0x18,_0x15db15:0x2a,_0x50acf5:0x189,_0x21352d:0x3ab,_0x36ed66:0x250,_0xd1bd12:0xad6,_0x47b693:0x7bb,_0x5ce90d:0x738,_0x50a68b:0x906},_0x497542={_0x56b4fc:0x2d6,_0x447c83:0x374,_0x416145:0x3c3,_0xa3b266:0xfb,_0x4f9c97:0x1e6,_0x44b860:0x2b},_0x34d5e9={_0x20d162:0x9f},_0x4914f5={_0x25fef5:0x23},_0x534329={_0x3d8f7b:0xca,_0x299327:0x188},_0x4d9cd5=_0x4556c8['binaryName']??_0x4556c8[_0x2f08ad(_0xa37686._0x3f7a71,0x50d,_0xa37686._0x15f6a4,0x610)];function _0x2f08ad(_0x3d50c5,_0x468ad3,_0xca580f,_0x2615ec){return _0x28bc81(_0x3d50c5-_0x534329._0x3d8f7b,_0x468ad3-_0x534329._0x299327,_0x2615ec-0x400,_0x3d50c5);}const _0x59f9a2=await findPackageBinary(_0x4d9cd5,_0x4556c8[_0xf890e0(_0xa37686._0x48cb54,0x4ea,0x2dc,0x488)]);if(_0x59f9a2)return _0x59f9a2;function _0xf890e0(_0x4aca44,_0x3158d5,_0x462aac,_0x5816ef){return _0x5b2413(_0x4aca44-0x1a8,_0x3158d5-_0x4914f5._0x25fef5,_0x462aac- -0x585,_0x3158d5);}const _0xcbc3b0=await findPathBinary(_0x4d9cd5,_0x4556c8['packageName']);if(_0xcbc3b0)return _0xcbc3b0;const _0x9b62f0=_0x4556c8[_0xf890e0(_0xa37686._0x1ff3a3,-_0xa37686._0x45cd1e,0xe8,0x29d)]??process[_0xf890e0(0x2ea,_0xa37686._0x56df65,0xe8,-0xa6)];if(shouldDisableLspDownload(_0x9b62f0))return void 0x0;const _0x52da46=getLspPackageDir(_0x4556c8[_0x2f08ad(0x751,_0xa37686._0x207a39,0x7d1,_0xa37686._0x59f624)]),_0xae3752=_0x4556c8[_0xf890e0(0x243,-_0xa37686._0x1db441,_0xa37686._0x15db15,0x23f)]+':'+_0x4d9cd5;let _0x189f9a=installPromises[_0xf890e0(0x552,_0xa37686._0x50acf5,_0xa37686._0x21352d,_0xa37686._0x36ed66)](_0xae3752);!_0x189f9a&&(_0x189f9a=((async()=>{await mkdir(_0x52da46,{'recursive':!![]});function _0x44a2da(_0x5bf45b,_0x104ecf,_0x367141,_0x209e52){return _0xf890e0(_0x5bf45b-0x1c,_0x367141,_0x5bf45b-0x2ac,_0x209e52-0x98);}const _0x3266fe=await runNpmInstall(_0x52da46,_0x4556c8[_0x44a2da(_0x497542._0x56b4fc,0xc3,_0x497542._0x447c83,0x2d8)],_0x9b62f0);if(!_0x3266fe)return void 0x0;function _0x4071c8(_0x4786b2,_0x2d3eaa,_0x25a703,_0x111be8){return _0xf890e0(_0x4786b2-_0x34d5e9._0x20d162,_0x4786b2,_0x111be8- -0x60,_0x111be8-0x162);}const _0x2e9ced=_0x1924bd[_0x4071c8(_0x497542._0x416145,0x314,_0x497542._0xa3b266,0x217)](getLspBinDir(_0x4556c8[_0x4071c8(-_0x497542._0x4f9c97,0xf6,_0x497542._0x44b860,-0x36)]),binaryNameForPlatform(_0x4d9cd5));return await exists(_0x2e9ced)?_0x2e9ced:void 0x0;})()),installPromises[_0xf890e0(0x165,0x174,0x251,0xd8)](_0xae3752,_0x189f9a));try{return await _0x189f9a;}catch{return void 0x0;}finally{installPromises[_0x2f08ad(_0xa37686._0xd1bd12,_0xa37686._0x47b693,_0xa37686._0x5ce90d,_0xa37686._0x50a68b)](_0xae3752);}}var TYPESCRIPT_EXTENSIONS=[_0x5b2413(0x973,0x770,0x8ca,0xaa5),_0x28bc81(0x529,0x7e2,0x5d2,0x57c),_0x5b2413(0xa33,0x959,0x951,0x8bc),'.jsx','.mjs','.cjs',_0x5b2413(0x524,0x507,0x570,0x70c),_0x5b2413(0x958,0x72e,0x742,0x5dd)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x5b2413(0x688,0x6f8,0x69a,0x67d)],TYPESCRIPT_ROOT_MARKERS=[_0x28bc81(0x275,0x26b,0x413,0x567),'bun.lockb','bun.lock',_0x28bc81(0x3af,0x5f8,0x565,0x4ad),_0x28bc81(0x318,0x450,0x4f5,0x634),_0x5b2413(0x7da,0xa51,0x8f1,0x765),_0x28bc81(0x695,0x65f,0x51d,0x435),_0x5b2413(0x796,0x808,0x636,0x67c)],BIOME_ROOT_MARKERS=[_0x5b2413(0x853,0x836,0x8e3,0x90f),_0x28bc81(0x4b4,0x442,0x36e,0x33f),'package-lock.json',_0x5b2413(0x5ce,0x531,0x750,0x7a8),_0x5b2413(0x84b,0x673,0x632,0x718),_0x5b2413(0x7df,0x6f2,0x904,0x782),'yarn.lock',_0x28bc81(0x47c,0x4b2,0x297,0x43a)];async function exists2(_0x268f28){try{return await _0x2f40db(_0x268f28),!![];}catch{return![];}}async function findUp(_0x25b785,_0x493232){const _0x146912={_0x4567a8:0x49c,_0xa1e9d7:0x2e7,_0x4e46a4:0x387,_0x4d4b7b:0x69d,_0xbfa244:0x4ea},_0x2374c6={_0x48c300:0x120,_0x4328ac:0x1e6,_0x5c5b6f:0x332},_0x7a8244={_0x5996ec:0xbe};let _0x54b211=_0x55d1ae[_0x585115(_0x146912._0x4567a8,0x152,0x2ee,_0x146912._0xa1e9d7)](_0x25b785);function _0x585115(_0x8de884,_0x39b537,_0x2b03e8,_0x5e295a){return _0x28bc81(_0x8de884-_0x7a8244._0x5996ec,_0x39b537-0x136,_0x5e295a-0x8d,_0x39b537);}const _0x2af205=_0x55d1ae['extname'](_0x54b211);if(_0x2af205)_0x54b211=_0x55d1ae[_0x108458(-0x5a,-0x15c,0x19,-0x1f4)](_0x54b211);function _0x108458(_0x1a0c04,_0x234a32,_0x570aed,_0x405818){return _0x28bc81(_0x1a0c04-_0x2374c6._0x48c300,_0x234a32-_0x2374c6._0x4328ac,_0x234a32- -_0x2374c6._0x5c5b6f,_0x570aed);}while(!![]){for(const _0x39a150 of _0x493232){if(await exists2(_0x55d1ae[_0x585115(_0x146912._0x4e46a4,_0x146912._0x4d4b7b,0x406,_0x146912._0xbfa244)](_0x54b211,_0x39a150)))return _0x54b211;}const _0x4967e6=_0x55d1ae['dirname'](_0x54b211);if(_0x4967e6===_0x54b211)return void 0x0;_0x54b211=_0x4967e6;}}async function hasDenoRoot(_0x2acbb2){const _0x5cc07c={_0x108247:0x991,_0x3b0e47:0x581,_0x3b15b4:0x778,_0x1a79d1:0x8b1,_0x492722:0x88c,_0x544d23:0x6f1,_0x30435f:0xa6,_0x56f416:0xbb},_0x5bb9c6={_0x26e495:0xe7,_0xdd82f8:0x50,_0x4d4bba:0x80},_0x246c3c={_0x2081a:0xab};function _0x179dcd(_0x88e6e0,_0xb1a15d,_0x55ed89,_0x2e3d49){return _0x28bc81(_0x88e6e0-_0x246c3c._0x2081a,_0xb1a15d-0x1e8,_0x55ed89- -0x297,_0xb1a15d);}function _0x36a1a5(_0x58340f,_0xc1273f,_0x179c0f,_0x624bca){return _0x5b2413(_0x58340f-_0x5bb9c6._0x26e495,_0xc1273f-_0x5bb9c6._0xdd82f8,_0xc1273f- -_0x5bb9c6._0x4d4bba,_0x624bca);}return await exists2(_0x55d1ae[_0x36a1a5(0x83f,0x77c,_0x5cc07c._0x108247,_0x5cc07c._0x3b0e47)](_0x2acbb2,_0x36a1a5(0x6da,_0x5cc07c._0x3b15b4,0x95e,_0x5cc07c._0x1a79d1)))||await exists2(_0x55d1ae[_0x36a1a5(_0x5cc07c._0x492722,0x77c,0x661,_0x5cc07c._0x544d23)](_0x2acbb2,_0x179dcd(-0x46,_0x5cc07c._0x30435f,-_0x5cc07c._0x56f416,0x68)));}async function resolveTsserverPath(_0x11ada7){const _0x2dd592={_0x5af030:0x64d,_0x4759b5:0x671,_0x2ae5dd:0x553,_0x52d129:0x34c,_0x14e9e1:0x1a1,_0x3bef7b:0x2e8,_0x4f4ff6:0x2f2,_0x39a1f4:0x11d,_0x14e059:0x29,_0x4234d1:0x322,_0x3787c1:0x2da,_0x277d72:0x6f,_0x569c2f:0x8a,_0x432a37:0x167,_0x36a514:0x266,_0x1fc01f:0x282,_0x588342:0x23e,_0xbde1c9:0x35f,_0x369abb:0x49d,_0x1a8964:0x24e,_0x487446:0x47a,_0xd6ed1f:0x584,_0x5b1408:0x426,_0x571567:0x5e7},_0x46f217={_0x1044a7:0x1d8,_0x31d3a9:0x1de},_0x5b6ca6={_0x1764de:0x44,_0x2d7cd3:0x155};function _0x18fc1c(_0xb59f74,_0x5a8acb,_0x4838dc,_0x3b0d83){return _0x28bc81(_0xb59f74-_0x5b6ca6._0x1764de,_0x5a8acb-_0x5b6ca6._0x2d7cd3,_0x5a8acb- -0x2f3,_0x3b0d83);}let _0x5a94f7=_0x55d1ae['resolve'](_0x11ada7);function _0x49105d(_0xf4f557,_0x14b509,_0x45e6b3,_0x14b362){return _0x5b2413(_0xf4f557-_0x46f217._0x1044a7,_0x14b509-_0x46f217._0x31d3a9,_0x45e6b3- -0x2a9,_0x14b362);}while(!![]){const _0x3516c2=_0x55d1ae[_0x49105d(_0x2dd592._0x5af030,_0x2dd592._0x4759b5,_0x2dd592._0x2ae5dd,0x3de)](_0x5a94f7,_0x49105d(0x16d,0x21d,_0x2dd592._0x52d129,_0x2dd592._0x14e9e1),_0x49105d(0x421,_0x2dd592._0x3bef7b,0x35f,0x38e),'lib',_0x18fc1c(_0x2dd592._0x4f4ff6,0x1fe,0x382,0x2c5));if(await exists2(_0x3516c2))return _0x3516c2;const _0x5c764b=_0x55d1ae[_0x18fc1c(-0x33a,-_0x2dd592._0x39a1f4,-0x246,-0x33d)](_0x5a94f7);if(_0x5c764b===_0x5a94f7)break;_0x5a94f7=_0x5c764b;}const _0x328520=getLspPackageDir(_0x18fc1c(0x3,-0x8a,-0x166,-_0x2dd592._0x14e059)),_0x2d25b3=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x49105d(0x14d,_0x2dd592._0x4234d1,_0x2dd592._0x3787c1,0x3b6),'startDir':_0x11ada7});if(!_0x2d25b3)return void 0x0;const _0x3d0cdf=_0x55d1ae[_0x18fc1c(0xb9,0x16a,-_0x2dd592._0x277d72,-_0x2dd592._0x569c2f)](_0x328520,_0x49105d(_0x2dd592._0x432a37,_0x2dd592._0x36a514,0x34c,0x408),_0x49105d(_0x2dd592._0x1fc01f,_0x2dd592._0x588342,_0x2dd592._0xbde1c9,_0x2dd592._0x369abb),_0x18fc1c(0x309,0x2c9,_0x2dd592._0x1a8964,_0x2dd592._0x487446),_0x49105d(_0x2dd592._0xd6ed1f,_0x2dd592._0x5b1408,_0x2dd592._0x571567,0x495));return await exists2(_0x3d0cdf)?_0x3d0cdf:void 0x0;}var TypeScriptServer={'id':'typescript','name':_0x28bc81(0x330,0xda,0x1e5,0x31d),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x86d60a){const _0x5737f9=await findUp(_0x86d60a,TYPESCRIPT_ROOT_MARKERS);if(!_0x5737f9)return void 0x0;return await hasDenoRoot(_0x5737f9)?void 0x0:_0x5737f9;},async 'spawn'(_0x41ff12){const _0x2f7335={_0x29f5f6:0x44a,_0x12395f:0x64d,_0x342368:0x2dc,_0x58f84e:0x402,_0x4af054:0x88d,_0x1159ec:0x786,_0x5f4137:0x48a,_0x4026d5:0x5f3},_0x58b3f4={_0x68c0c6:0x119,_0x2ce029:0x2e},_0x21b07b={_0x13a424:0x163,_0x33f3fe:0xe3},_0x24a538=await resolveTsserverPath(_0x41ff12);function _0x6bd535(_0x2c35f4,_0x31bc53,_0x3a4591,_0x368ed6){return _0x5b2413(_0x2c35f4-_0x21b07b._0x13a424,_0x31bc53-0x11,_0x31bc53- -_0x21b07b._0x33f3fe,_0x368ed6);}function _0x18bdea(_0x9f9fa3,_0x593e4c,_0x1273d5,_0x31daf1){return _0x5b2413(_0x9f9fa3-_0x58b3f4._0x68c0c6,_0x593e4c-_0x58b3f4._0x2ce029,_0x593e4c- -0x21f,_0x31daf1);}if(!_0x24a538)return void 0x0;const _0x5b51e8=await resolvePackageBinary({'packageName':_0x18bdea(0x596,0x477,_0x2f7335._0x29f5f6,0x3d0),'binaryName':_0x18bdea(_0x2f7335._0x12395f,0x477,_0x2f7335._0x342368,_0x2f7335._0x58f84e),'startDir':_0x41ff12});if(!_0x5b51e8)return void 0x0;return{'process':_0x5b5699(_0x5b51e8,[_0x6bd535(0x758,0x69c,_0x2f7335._0x4af054,_0x2f7335._0x1159ec)],{'cwd':_0x41ff12,'stdio':_0x6bd535(0x433,_0x2f7335._0x5f4137,0x538,_0x2f7335._0x4026d5)}),'initialization':{'tsserver':{'path':_0x24a538}}};}},BiomeServer={'id':_0x28bc81(0x6cd,0x58c,0x4f6,0x5e6),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x3bbfa1){return findUp(_0x3bbfa1,BIOME_ROOT_MARKERS);},async 'spawn'(_0x38b42a){const _0x272cc2={_0x3e7a8b:0xa6,_0x4060a7:0xc1,_0x4d18b9:0x2d2,_0x18091b:0x1d3,_0x44533e:0x24b,_0x1902a8:0x16b,_0x74f120:0x55,_0x323237:0x32,_0x49b14c:0x30},_0x4bbec0={_0x14dcc6:0xa1,_0x11df9e:0x1e1,_0x369e45:0x24b};function _0x269f14(_0x4ae23d,_0x90e909,_0x4d0b10,_0x46e8c8){return _0x28bc81(_0x4ae23d-_0x4bbec0._0x14dcc6,_0x90e909-_0x4bbec0._0x11df9e,_0x4ae23d- -_0x4bbec0._0x369e45,_0x46e8c8);}const _0x821115=await findPackageBinary(_0x479644(0x502,0x337,0x4a7,0x133),_0x38b42a)??await resolvePackageBinary({'packageName':_0x479644(0x2ba,0x118,_0x272cc2._0x3e7a8b,_0x272cc2._0x4060a7),'binaryName':_0x269f14(0x2ab,_0x272cc2._0x4d18b9,0x95,_0x272cc2._0x18091b),'startDir':_0x38b42a});if(!_0x821115)return void 0x0;function _0x479644(_0x202ac6,_0x378045,_0x2b74f8,_0x285436){return _0x28bc81(_0x202ac6-0xa0,_0x378045-0x8,_0x378045- -0x1bf,_0x2b74f8);}return{'process':_0x5b5699(_0x821115,[_0x269f14(_0x272cc2._0x44533e,0x1e8,_0x272cc2._0x1902a8,_0x272cc2._0x74f120),'--stdio'],{'cwd':_0x38b42a,'stdio':_0x479644(-_0x272cc2._0x323237,0xf,-_0x272cc2._0x49b14c,0x11d)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x343b6d){const _0x357c14={_0x29dd06:0x3f0,_0x193a06:0x607,_0x33f98c:0x716,_0x335c2f:0x886,_0x171afd:0x70b},_0x20c523={_0x83c246:0x2b4},_0x51646c={_0x1c81a7:0x10e};function _0x1759b3(_0x4b59fa,_0x16eae3,_0x3edf5c,_0x212421){return _0x5b2413(_0x4b59fa-0xa2,_0x16eae3-0x104,_0x4b59fa- -_0x51646c._0x1c81a7,_0x16eae3);}function _0x2bb618(_0x4381fd,_0x4498a4,_0x2c3325,_0x34fff1){return _0x5b2413(_0x4381fd-0x89,_0x4498a4-0x3e,_0x2c3325- -_0x20c523._0x83c246,_0x34fff1);}const _0x366849=_0x55d1ae[_0x2bb618(_0x357c14._0x29dd06,0x39e,0x37c,0x25e)](_0x343b6d)[_0x1759b3(_0x357c14._0x193a06,0x5bc,0x449,0x487)]();return BUILTIN_LSP_SERVERS[_0x1759b3(_0x357c14._0x33f98c,_0x357c14._0x335c2f,0x8e3,_0x357c14._0x171afd)](_0x9550c7=>_0x9550c7[_0x1759b3(0x693,0x8ad,0x729,0x4b4)][_0x2bb618(0x578,0x4cf,0x4ac,0x6aa)](_0x366849));}function stateKey(_0x10072e,_0x3ac287){return _0x3ac287+':'+_0x10072e['id'];}function diagnosticsKeyToPath(_0x32299e){const _0x15d5fc={_0x12e571:0x7d,_0x2c03fe:0xb3},_0x8ba235={_0x225c86:0x15e};if(!_0x32299e[_0x59daf2(_0x15d5fc._0x12e571,0x11f,0x271,-_0x15d5fc._0x2c03fe)]('file://'))return _0x32299e;function _0x59daf2(_0x24d435,_0x41953a,_0x451c2f,_0x53c420){return _0x28bc81(_0x24d435-_0x8ba235._0x225c86,_0x41953a-0xfa,_0x24d435- -0x261,_0x41953a);}return fileURLToPath(_0x32299e);}function nextFileVersion(_0x1f49b6,_0x11b54f){const _0x1abc5d={_0x22cc3a:0x7cc,_0x4cf7f7:0x512,_0x243249:0x64b,_0x287f93:0x61c,_0x2400c2:0x385,_0x1a8cbc:0x23,_0x21c55a:0x1d9,_0x54d94c:0x218,_0x7d970f:0x124},_0x26ceba={_0xe64a18:0x49,_0x4356ea:0x27},_0x8cf2b6={_0x1ae815:0x2e,_0x3a1e1a:0x143};function _0x374572(_0x2e8f9f,_0x146528,_0x5dc5ed,_0x3b4c6b){return _0x28bc81(_0x2e8f9f-0x171,_0x146528-_0x8cf2b6._0x1ae815,_0x5dc5ed-_0x8cf2b6._0x3a1e1a,_0x3b4c6b);}const _0x31b594=(_0x1f49b6[_0x374572(_0x1abc5d._0x22cc3a,_0x1abc5d._0x4cf7f7,_0x1abc5d._0x243249,_0x1abc5d._0x287f93)][_0x3c2ab1(_0x1abc5d._0x2400c2,_0x1abc5d._0x1a8cbc,_0x1abc5d._0x21c55a,_0x1abc5d._0x54d94c)](_0x11b54f)??0x1)+0x1;_0x1f49b6[_0x3c2ab1(-0xb4,0x26b,0x150,_0x1abc5d._0x7d970f)]['set'](_0x11b54f,_0x31b594);function _0x3c2ab1(_0x1bbaee,_0x421511,_0x4a7e20,_0x42d5b1){return _0x28bc81(_0x1bbaee-_0x26ceba._0xe64a18,_0x421511-_0x26ceba._0x4356ea,_0x4a7e20- -0x3b8,_0x1bbaee);}return _0x31b594;}async function collectClientResults(_0xfbdbfd){const _0x39d31f={_0x306bd8:0x51c,_0x1f19ff:0x612,_0x4bf4e2:0x2c6},_0x41e75b={_0x3b9cea:0xa1},_0x174521={_0x13bf5f:0xe6,_0x4eb246:0xe3};function _0x3f98f7(_0x50810d,_0x5d95c4,_0x383d7c,_0x11a060){return _0x28bc81(_0x50810d-_0x174521._0x13bf5f,_0x5d95c4-_0x174521._0x4eb246,_0x11a060-0x31d,_0x50810d);}function _0x3a65fb(_0x503d7c,_0xabf323,_0x2d436a,_0x870bf6){return _0x5b2413(_0x503d7c-_0x41e75b._0x3b9cea,_0xabf323-0x1a3,_0x2d436a- -0x43f,_0xabf323);}const _0x44f3dc=await Promise[_0x3a65fb(_0x39d31f._0x306bd8,_0x39d31f._0x1f19ff,0x480,_0x39d31f._0x4bf4e2)](_0xfbdbfd);return _0x44f3dc['flatMap'](_0x23276e=>_0x23276e[_0x3f98f7(0x6d9,0x5b7,0x300,0x51b)]===_0x3f98f7(0x819,0x874,0x822,0x70a)?_0x23276e[_0x3f98f7(0x77b,0x6e3,0x709,0x8d1)]:[]);}function createLspService(_0x2a4363={}){const _0x5b3815={_0x50aa78:0x5a,_0x3e4f2f:0xb8},_0x25547d={_0x43be00:0x14,_0x21d751:0x163},_0x326cc0={_0x4f6ca3:0x1c9,_0x389e00:0x261,_0x3e3e3c:0x310,_0x5f3a81:0x33a,_0x1bc3fd:0x11d,_0x589de1:0x6a7,_0x4bc89b:0x5de,_0x5ab270:0x26e,_0x50ef18:0x562,_0x10eeaa:0x1b0,_0x45e2ed:0x2eb,_0x145dc0:0x2c2,_0x43ad70:0x623,_0x5ad075:0x75c,_0x27b95d:0x674,_0x3bc6bc:0x59c,_0x16bc4b:0x6e0,_0xa21cbd:0xd6,_0x478864:0x262,_0x104338:0x1c9,_0x3f941e:0x21c,_0x12815f:0x26c},_0x5dfda4={_0x451270:0xd2},_0x3e4a10={_0x8090c1:0x735},_0x584f36={_0x3b6549:0x11f},_0x41223e={_0x41598b:0x1c0,_0x13d22c:0x161},_0x1c3b7b={_0x21f5fa:0x8e3,_0x9c7431:0x8c7,_0x42544a:0x7a0},_0x38ba60={_0x326d7d:0xd9},_0x4165f2={_0x7e3d21:0x47a,_0x1d31b5:0x4c0},_0x3f2a3a={_0xbd0861:0x1dc},_0x4ce5be={_0x259b09:0x9c3,_0x2a8ced:0x875},_0x3a38cd={_0x4e65e6:0xff},_0x2ce957={_0x31cdd4:0x1e7,_0x43917f:0x59},_0x124620={_0x5f3cc3:0x7db,_0x1f6b86:0x5dd,_0x30304d:0x88c,_0x39321d:0x921,_0xa018f:0x9a1,_0x9bff30:0x576,_0x22068a:0x7b4},_0x52103b={_0x19aacb:0x198},_0xd09dfc={_0x497c1a:0x1a4,_0x2d4757:0x28b,_0x12c50e:0x5b},_0x5f9ec7={_0x74576b:0x7c4,_0x52b017:0x602},_0x2af7ea={_0x471c6b:0x7a,_0x2fb546:0x303,_0x180013:0xe9},_0x478583={_0x25a5ed:0x121,_0x27c30a:0x379},_0x1e8a6c={_0xc073eb:0x448,_0x4ea244:0x75d,_0x3fa3f1:0x613},_0xe9d587={_0x41f63f:0x12b,_0x388836:0x2ab,_0x3dbac5:0x5a},_0x46d2a9={_0x341b6:0x372,_0x35228d:0x579,_0x5d06e5:0x727},_0x5aed07={_0x3b8f4b:0x37},_0xa70b29={_0x40a059:0x4a1,_0x58cf64:0x472,_0x2bf83e:0x389,_0x1fc2c2:0x36f,_0x4fa8ef:0x4ca},_0x2c5b7c={_0x20ef9c:0x6f,_0x176a11:0x122},_0x89426c={_0x470c71:0x141,_0x1d529b:0x4ff},_0x468df7={_0x337c38:0xc6},_0x501a79={_0x345fc6:0x1ba},_0x50773f={_0x5a987c:0x263,_0x2c70bf:0x1e6},_0x323c02={_0x5d3c4b:0x31c,_0x37be0c:0x370,_0x9c8add:0x6dc,_0x3c2635:0x6db,_0x2e1ff9:0x499},_0x4d4b2a={_0x564749:0x1f9},_0x2ae801={_0x2b5e03:0xe5,_0x37e561:0xbc,_0x4bbb7e:0x86,_0x12d78e:0x3fb,_0x35b92d:0x226,_0x3d50c9:0x24,_0x30acf3:0x5af,_0x406152:0x280},_0x55fd57={_0x7de01a:0x643,_0x36abcc:0x7b6,_0x495129:0x841,_0x29dd12:0x75a,_0x52c32d:0x695,_0x11b45f:0x6a9,_0x24c871:0x673},_0x24c874={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x5d72ad=()=>_0x2a4363[_0x530340(0x541,0x435,0x321,0x293)]!==![];async function _0x227218(_0x5c3e91,_0x10531e){const _0xc8eba2={_0x8e24b0:0x397,_0x2a0f57:0x466,_0x217d68:0x2c7,_0x33a559:0x643,_0x53382c:0x516,_0x14f5cd:0x433,_0x21d134:0x592,_0x1ad3b0:0x33b,_0x4bf84a:0x55b,_0x445b78:0x9f,_0x205e57:0x643,_0x481d8a:0x605,_0xbd9a4a:0x6c7,_0x4f31d2:0x40a,_0x5bdd2b:0x48f,_0x2a2a2f:0x286,_0x1212c5:0x440,_0x28e212:0x442,_0x35c7e2:0x86b,_0x12cca5:0x726},_0x35789c={_0x64a501:0x318,_0x4ad31c:0xbd},_0x418443={_0x29b5af:0x176,_0x200781:0x8a},_0x317123={_0x435a03:0x17,_0x4b3c18:0x572},_0x40c976=stateKey(_0x5c3e91,_0x10531e);function _0x4cb7fd(_0x426485,_0x43908b,_0x2805fd,_0x1a269b){return _0x530340(_0x426485-_0x317123._0x435a03,_0x1a269b,_0x426485-_0x317123._0x4b3c18,_0x1a269b-0x157);}const _0x35756f=_0x24c874['clients']['find'](_0x3fff22=>_0x3fff22['serverId']===_0x5c3e91['id']&&_0x3fff22[_0x150fb7(0x182,0x34c,0x4bf,0x355)]===_0x10531e);if(_0x35756f)return _0x35756f;function _0x150fb7(_0x11b857,_0x13af7d,_0x4ba2ec,_0x502d3f){return _0x530340(_0x11b857-_0x418443._0x29b5af,_0x11b857,_0x13af7d-0x319,_0x502d3f-_0x418443._0x200781);}if(_0x24c874[_0x150fb7(0x7c2,_0x55fd57._0x7de01a,_0x55fd57._0x36abcc,_0x55fd57._0x495129)]['has'](_0x40c976))return void 0x0;const _0x24087e=_0x24c874[_0x4cb7fd(_0x55fd57._0x29dd12,0x6fa,_0x55fd57._0x52c32d,_0x55fd57._0x11b45f)]['get'](_0x40c976);if(_0x24087e)return _0x24087e;const _0x1d767d=((async()=>{const _0x5856bb={_0x5ccd6f:0x12f,_0x794d4:0xcf,_0x2bf526:0xa7};function _0x33d1ce(_0x10846a,_0x30b21e,_0x51fb81,_0x1d6153){return _0x4cb7fd(_0x1d6153- -_0x35789c._0x64a501,_0x30b21e-0x50,_0x51fb81-_0x35789c._0x4ad31c,_0x30b21e);}function _0x438fcb(_0x1bde8f,_0x465e67,_0x1ad379,_0x138fa7){return _0x150fb7(_0x1ad379,_0x1bde8f-_0x5856bb._0x5ccd6f,_0x1ad379-_0x5856bb._0x794d4,_0x138fa7-_0x5856bb._0x2bf526);}try{const _0x2710a9=await _0x5c3e91[_0x33d1ce(_0xc8eba2._0x8e24b0,_0xc8eba2._0x2a0f57,0x13b,_0xc8eba2._0x217d68)](_0x10531e);if(!_0x2710a9)return _0x24c874[_0x33d1ce(0x5de,_0xc8eba2._0x33a559,0x65e,0x584)]['add'](_0x40c976),void 0x0;const _0x1475a1=await createLspClient({'server':_0x5c3e91,'root':_0x10531e,'handle':_0x2710a9}),_0x204b46=_0x24c874[_0x438fcb(_0xc8eba2._0x53382c,_0xc8eba2._0x14f5cd,0x702,0x3ad)][_0x33d1ce(_0xc8eba2._0x21d134,_0xc8eba2._0x1ad3b0,0x4db,_0xc8eba2._0x4bf84a)](_0x5da9b1=>_0x5da9b1['serverId']===_0x5c3e91['id']&&_0x5da9b1[_0x33d1ce(0x39e,0x6d,0xc5,0x28d)]===_0x10531e);if(_0x204b46)return await _0x1475a1[_0x33d1ce(0x339,0x2c0,_0xc8eba2._0x445b78,0x277)](),_0x204b46;return _0x24c874[_0x438fcb(0x516,0x4e4,_0xc8eba2._0x205e57,0x317)][_0x438fcb(_0xc8eba2._0x481d8a,_0xc8eba2._0xbd9a4a,_0xc8eba2._0x4f31d2,0x636)](_0x1475a1),_0x1475a1;}catch{return _0x24c874['broken'][_0x438fcb(0x4ba,0x5c8,0x3b1,0x5ba)](_0x40c976),void 0x0;}finally{_0x24c874[_0x33d1ce(_0xc8eba2._0x5bdd2b,_0xc8eba2._0x2a2a2f,_0xc8eba2._0x1212c5,_0xc8eba2._0x28e212)][_0x438fcb(0x755,_0xc8eba2._0x35c7e2,_0xc8eba2._0x12cca5,0x947)](_0x40c976);}})());return _0x24c874['spawning'][_0x4cb7fd(0x7b0,_0x55fd57._0x24c871,0x80f,0x81a)](_0x40c976,_0x1d767d),_0x1d767d;}async function _0x2b54ce(_0xc1120b,_0x4e006a){const _0x4fe391={_0xc5ed62:0x89},_0xfa95ad={_0x979c80:0x2e9,_0x4f417f:0x128};if(!_0x5d72ad())return[];const _0x5ee671=[];function _0x57cfba(_0x2e778a,_0x5f3dab,_0x4591b9,_0x431124){return _0x530340(_0x2e778a-0x75,_0x431124,_0x2e778a-_0xfa95ad._0x979c80,_0x431124-_0xfa95ad._0x4f417f);}for(const _0x163f8c of getServersForFile(_0xc1120b)){const _0x104d27=await _0x163f8c[_0x3f3b39(0x76,_0x2ae801._0x2b5e03,_0x2ae801._0x37e561,_0x2ae801._0x4bbb7e)](_0xc1120b);if(!_0x104d27)continue;const _0x515192=stateKey(_0x163f8c,_0x104d27);if(_0x24c874[_0x3f3b39(0x1d2,_0x2ae801._0x12d78e,0x3b3,_0x2ae801._0x35b92d)][_0x57cfba(0x3fb,0x5ac,0x51f,0x3a4)](_0x515192))continue;const _0x506bee=_0x24c874[_0x3f3b39(0x12d,_0x2ae801._0x3d50c9,0x157,-0x71)][_0x57cfba(0x5ea,0x774,0x462,_0x2ae801._0x30acf3)](_0x1fdc33=>_0x1fdc33[_0x3f3b39(0x43c,0x5f3,0x48d,0x653)]===_0x163f8c['id']&&_0x1fdc33[_0x57cfba(0x31c,0x346,0x519,0x358)]===_0x104d27);if(_0x506bee){_0x5ee671['push'](_0x506bee);continue;}if(!_0x4e006a)continue;const _0x1d9a62=await _0x227218(_0x163f8c,_0x104d27);if(_0x1d9a62)_0x5ee671[_0x3f3b39(_0x2ae801._0x406152,0x3a0,0x246,0x181)](_0x1d9a62);}function _0x3f3b39(_0x541012,_0x12a909,_0x55d649,_0x97f383){return _0x530340(_0x541012-0x184,_0x12a909,_0x55d649-_0x4fe391._0xc5ed62,_0x97f383-0x1aa);}return _0x5ee671;}function _0x530340(_0xfbffef,_0x576cab,_0xf23876,_0x52140a){return _0x28bc81(_0xfbffef-0x157,_0x576cab-0x1ce,_0xf23876- -_0x4d4b2a._0x564749,_0x576cab);}async function _0x22e64b(_0x30dbdf,_0x314a37=![]){const _0x13e7cf={_0x3a762d:0x447,_0x2d90c0:0x47f,_0x541d00:0x34c,_0x3e1910:0x7e7,_0x2778f8:0x795,_0x1394de:0x63e,_0x20ac50:0x41f,_0x2305d6:0x26d,_0x3d3ca9:0x2c0,_0x156a85:0x33a,_0xea9dd3:0xb41,_0x406557:0xa51,_0x1b6190:0x12b,_0x1f49e8:0x28f,_0x2e332b:0x252,_0x2923f7:0x46e,_0x105e9c:0xf6,_0x178b1f:0x2ac,_0x2e40b5:0x429,_0xe4f41f:0x1f9,_0x2d56d7:0xa16,_0x33e454:0x424},_0xea0d81={_0x5bdc41:0x5,_0x51f89d:0x78},_0x4441f8={_0x1f999e:0xbf},_0x469a1b={_0x2867fa:0x119,_0x3de7fa:0x1bc},_0x4cd6d7=await _0x2b54ce(_0x30dbdf,!![]);function _0x1f4585(_0x531833,_0x5289a5,_0x427a40,_0x565992){return _0x530340(_0x531833-0x18a,_0x5289a5,_0x565992-_0x469a1b._0x2867fa,_0x565992-_0x469a1b._0x3de7fa);}function _0x56edaf(_0x2e247e,_0x1eca84,_0x4b5775,_0x4cd708){return _0x530340(_0x2e247e-0x62,_0x4b5775,_0x1eca84- -0x13c,_0x4cd708-_0x4441f8._0x1f999e);}await Promise[_0x1f4585(0x217,0x1e9,_0x323c02._0x5d3c4b,_0x323c02._0x37be0c)](_0x4cd6d7[_0x1f4585(_0x323c02._0x9c8add,_0x323c02._0x3c2635,_0x323c02._0x2e1ff9,0x4f1)](async _0x4b04e3=>{const _0x6acc4c={_0x4a8ef7:0xd7,_0x45f4a3:0x121};function _0x55081a(_0x105ccc,_0x453dc8,_0x3bab87,_0x112b54){return _0x56edaf(_0x105ccc-_0xea0d81._0x5bdc41,_0x453dc8-0x72e,_0x105ccc,_0x112b54-_0xea0d81._0x51f89d);}function _0x26fc44(_0x19caca,_0x48fdaf,_0x52f7d2,_0x1f3f0e){return _0x1f4585(_0x19caca-_0x6acc4c._0x4a8ef7,_0x48fdaf,_0x52f7d2-0xab,_0x1f3f0e-_0x6acc4c._0x45f4a3);}!_0x24c874[_0x26fc44(0x447,0x496,_0x13e7cf._0x3a762d,0x2de)][_0x26fc44(0x39d,_0x13e7cf._0x2d90c0,0x2b4,_0x13e7cf._0x541d00)](_0x4b04e3[_0x26fc44(_0x13e7cf._0x3e1910,_0x13e7cf._0x2778f8,0x85a,_0x13e7cf._0x1394de)]+':'+_0x4b04e3[_0x26fc44(0x40a,0x170,_0x13e7cf._0x20ac50,_0x13e7cf._0x2305d6)]+':'+_0x30dbdf)&&(await _0x4b04e3[_0x26fc44(0x53f,_0x13e7cf._0x3d3ca9,0x402,_0x13e7cf._0x156a85)][_0x55081a(_0x13e7cf._0xea9dd3,0x998,0x9d4,_0x13e7cf._0x406557)]({'path':_0x30dbdf}),_0x24c874[_0x26fc44(_0x13e7cf._0x1b6190,_0x13e7cf._0x1f49e8,_0x13e7cf._0x2e332b,0x2de)][_0x26fc44(0x141,_0x13e7cf._0x2923f7,_0x13e7cf._0x105e9c,_0x13e7cf._0x178b1f)](_0x4b04e3['serverId']+':'+_0x4b04e3[_0x55081a(0x52a,0x625,_0x13e7cf._0x2e40b5,0x775)]+':'+_0x30dbdf));await _0x4b04e3[_0x26fc44(0x4bf,0x448,_0x13e7cf._0xe4f41f,_0x13e7cf._0x156a85)][_0x55081a(_0x13e7cf._0x2d56d7,0x970,0xb65,0x8e2)]({'path':_0x30dbdf,'version':nextFileVersion(_0x24c874,_0x30dbdf)});if(_0x314a37)await _0x4b04e3[_0x26fc44(_0x13e7cf._0x33e454,_0x13e7cf._0x20ac50,0x3ab,0x2eb)]({'path':_0x30dbdf});}));}async function _0x322251(_0x1517b7){function _0x2a2a44(_0x53d662,_0x3d17b1,_0x4711f1,_0xb286be){return _0x530340(_0x53d662-0x96,_0x3d17b1,_0x4711f1-0xdd,_0xb286be-0x70);}return await _0x22e64b(_0x1517b7['file'],![]),_0x2b54ce(_0x1517b7[_0x2a2a44(_0x50773f._0x5a987c,0x23d,0x36a,_0x50773f._0x2c70bf)],![]);}async function _0x36af8a(_0x482456){function _0x481988(_0x5d739e,_0x3aacdd,_0x4c78c4,_0x1a6517){return _0x530340(_0x5d739e-_0x501a79._0x345fc6,_0x1a6517,_0x4c78c4-0x294,_0x1a6517-0x1bf);}function _0x843ae1(_0x2c555b,_0x44d84f,_0x34fdfb,_0x17f07f){return _0x530340(_0x2c555b-_0x468df7._0x337c38,_0x34fdfb,_0x2c555b- -0x9e,_0x17f07f-0x1b5);}const _0xfcfcc0=await _0x322251(_0x482456);return collectClientResults(_0xfcfcc0[_0x843ae1(0x33a,_0x89426c._0x470c71,0x2d0,_0x89426c._0x1d529b)](_0x4d8626=>_0x4d8626[_0x843ae1(-0xaa,0x8,0x6f,-0x28a)][_0x843ae1(0xca,-0x14b,-0x79,-0xf8)](_0x482456)));}return{'isEnabled':_0x5d72ad,async 'hasClients'(_0x1af337){const _0x1888f9={_0xf52ac0:0x14,_0x2ad10c:0xf6};function _0x3b3540(_0x1c9eb8,_0x5edb8a,_0x5a1ed9,_0x11c2b8){return _0x530340(_0x1c9eb8-0x160,_0x11c2b8,_0x5edb8a-_0x1888f9._0xf52ac0,_0x11c2b8-_0x1888f9._0x2ad10c);}function _0x30aec7(_0x388270,_0x2672d6,_0x19883c,_0xbed6c){return _0x530340(_0x388270-_0x2c5b7c._0x20ef9c,_0xbed6c,_0x19883c-_0x2c5b7c._0x176a11,_0xbed6c-0x135);}return(await _0x2b54ce(_0x1af337,![]))[_0x30aec7(0x553,_0xa70b29._0x40a059,_0xa70b29._0x58cf64,_0xa70b29._0x2bf83e)]>0x0||getServersForFile(_0x1af337)[_0x30aec7(0x347,_0xa70b29._0x1fc2c2,_0xa70b29._0x58cf64,_0xa70b29._0x4fa8ef)]>0x0;},'touchFile':_0x22e64b,async 'diagnostics'(){const _0x5162ac={};for(const _0x2b8466 of _0x24c874[_0x5b3399(_0x46d2a9._0x341b6,0x44d,_0x46d2a9._0x35228d,_0x46d2a9._0x5d06e5)]){for(const [_0x2c8b78,_0x44f292]of _0x2b8466['diagnostics']){_0x5162ac[diagnosticsKeyToPath(_0x2c8b78)]=_0x44f292;}}function _0x5b3399(_0x262785,_0x48a660,_0x5e6765,_0xa93879){return _0x530340(_0x262785-0x62,_0xa93879,_0x5e6765-0x4ab,_0xa93879-_0x5aed07._0x3b8f4b);}return _0x5162ac;},async 'diagnosticsForFile'(_0x30b35a){await _0x22e64b(_0x30b35a,!![]);const _0x4ef58d=[];for(const _0x271d23 of await _0x2b54ce(_0x30b35a,![])){for(const [_0x193b48,_0xf907f2]of _0x271d23[_0x5b7223(_0x1e8a6c._0xc073eb,_0x1e8a6c._0x4ea244,_0x1e8a6c._0x3fa3f1,0x4dd)]){if(diagnosticsKeyToPath(_0x193b48)===_0x30b35a)_0x4ef58d['push'](..._0xf907f2);}}function _0x5b7223(_0x26a3f0,_0x1e701a,_0x1a846c,_0x5c6a53){return _0x530340(_0x26a3f0-_0xe9d587._0x41f63f,_0x5c6a53,_0x1a846c-_0xe9d587._0x388836,_0x5c6a53-_0xe9d587._0x3dbac5);}return _0x4ef58d;},async 'definition'(_0x4f7ca5){function _0x5e273f(_0x20cc01,_0x32ba7f,_0x5c529c,_0x25a167){return _0x530340(_0x20cc01-_0x478583._0x25a5ed,_0x5c529c,_0x25a167-_0x478583._0x27c30a,_0x25a167-0x1f1);}function _0x590f7f(_0x4a9f87,_0x16432b,_0x5ca323,_0x216e72){return _0x530340(_0x4a9f87-_0x2af7ea._0x471c6b,_0x4a9f87,_0x216e72-_0x2af7ea._0x2fb546,_0x216e72-_0x2af7ea._0x180013);}return collectClientResults((await _0x322251(_0x4f7ca5))[_0x590f7f(_0x5f9ec7._0x74576b,0x698,_0x5f9ec7._0x52b017,0x6db)](_0xd4fa7b=>_0xd4fa7b[_0x5e273f(0x3f5,0x437,0x52c,0x36d)]['definition'](_0x4f7ca5)));},async 'references'(_0x24b1fe){function _0x12d409(_0x49bbcb,_0x4b87f7,_0x96aae1,_0x228d04){return _0x530340(_0x49bbcb-0x76,_0x49bbcb,_0x96aae1-0x68,_0x228d04-0x50);}function _0x4013da(_0x4669d5,_0x3888f4,_0x4e9c20,_0x3511b3){return _0x530340(_0x4669d5-_0xd09dfc._0x497c1a,_0x4e9c20,_0x3888f4-_0xd09dfc._0x2d4757,_0x3511b3-_0xd09dfc._0x12c50e);}return collectClientResults((await _0x322251(_0x24b1fe))[_0x4013da(0x839,0x663,0x6da,0x82d)](_0x1dbf7c=>_0x1dbf7c['request'][_0x12d409(0x207,-0x17,0x93,0x13c)](_0x24b1fe)));},async 'hover'(_0x2b946a){const _0x551cb8=await Promise[_0x2d931b(_0x124620._0x5f3cc3,_0x124620._0x1f6b86,0x96e,0x5ca)]((await _0x322251(_0x2b946a))[_0x2d931b(_0x124620._0x30304d,_0x124620._0x39321d,_0x124620._0xa018f,0x7d7)](_0x155ef8=>_0x155ef8[_0x2d931b(0x4a8,0x3ec,0x5f1,0x56a)][_0x2d931b(0x508,0x3d3,0x344,0x58e)](_0x2b946a)));function _0x4a4be4(_0x590f4a,_0x47c8ea,_0x319efa,_0x27836e){return _0x530340(_0x590f4a-0xf9,_0x47c8ea,_0x319efa-0x5ee,_0x27836e-0x62);}function _0x2d931b(_0x28df2f,_0x2b02be,_0x26c350,_0x34dff8){return _0x530340(_0x28df2f-_0x52103b._0x19aacb,_0x26c350,_0x28df2f-0x4b4,_0x34dff8-0x3f);}return _0x551cb8[_0x4a4be4(_0x124620._0x9bff30,0x420,0x623,_0x124620._0x22068a)](_0x3194fa=>_0x3194fa['status']===_0x2d931b(0x6a8,0x8c0,0x6af,0x5d7)&&_0x3194fa[_0x2d931b(0x86f,0x676,0x89e,0x896)]?[_0x3194fa[_0x4a4be4(0x8bc,0x879,0x9a9,0x949)]]:[]);},async 'documentSymbol'(_0x151f19){await _0x22e64b(_0x151f19,![]);function _0x2de8d1(_0x4e9dbf,_0xf4a060,_0x1cae4d,_0x4fb9c7){return _0x530340(_0x4e9dbf-_0x2ce957._0x31cdd4,_0xf4a060,_0x4fb9c7-0x1f3,_0x4fb9c7-_0x2ce957._0x43917f);}function _0x3cd8c7(_0x2b85d3,_0x4da4a0,_0x27339c,_0x1d9d6a){return _0x530340(_0x2b85d3-0x130,_0x4da4a0,_0x1d9d6a-0x49d,_0x1d9d6a-_0x3a38cd._0x4e65e6);}return collectClientResults((await _0x2b54ce(_0x151f19,![]))[_0x3cd8c7(0xa7a,_0x4ce5be._0x259b09,0xa0f,_0x4ce5be._0x2a8ced)](_0x47ae4e=>_0x47ae4e['request'][_0x2de8d1(0x32a,0x1cb,0x4e1,0x2fe)](_0x151f19)));},async 'workspaceSymbol'(_0x304e5e){function _0x1a206d(_0x265511,_0x35f0f6,_0x1e9d65,_0x3ddb7c){return _0x530340(_0x265511-0xa2,_0x265511,_0x3ddb7c-0x2aa,_0x3ddb7c-0x1c4);}function _0x2c2baa(_0x34d218,_0x2ff2d0,_0xa7bf9c,_0x559215){return _0x530340(_0x34d218-_0x3f2a3a._0xbd0861,_0x34d218,_0xa7bf9c- -0x9a,_0x559215-0xea);}return collectClientResults(_0x24c874['clients'][_0x2c2baa(0x454,_0x4165f2._0x7e3d21,0x33e,_0x4165f2._0x1d31b5)](_0x4efae9=>_0x4efae9[_0x1a206d(0x326,0x3ff,0x20c,0x29e)][_0x1a206d(0x26f,0x550,0x551,0x40e)](_0x304e5e)));},async 'implementation'(_0x30c52d){const _0x53906a={_0x352342:0x7a,_0x1a8f92:0x143};function _0x5520dc(_0x2d0acd,_0x1ba503,_0x178fed,_0x3f7951){return _0x530340(_0x2d0acd-_0x53906a._0x352342,_0x178fed,_0x1ba503- -0x95,_0x3f7951-_0x53906a._0x1a8f92);}function _0x4d4219(_0x3a20c2,_0x334a6a,_0x1caf18,_0x5bbb69){return _0x530340(_0x3a20c2-0x10f,_0x1caf18,_0x334a6a-0x4ef,_0x5bbb69-_0x38ba60._0x326d7d);}return collectClientResults((await _0x322251(_0x30c52d))[_0x4d4219(_0x1c3b7b._0x21f5fa,_0x1c3b7b._0x9c7431,0x77f,_0x1c3b7b._0x42544a)](_0x213298=>_0x213298[_0x5520dc(-0x161,-0xa1,-0x134,-0xbe)]['implementation'](_0x30c52d)));},async 'prepareCallHierarchy'(_0x21272a){return _0x36af8a(_0x21272a);},async 'incomingCalls'(_0xded4d8){const _0x53763b={_0x54f73d:0xf,_0x5f0cb6:0x4fc},_0x330558=await _0x36af8a(_0xded4d8);function _0x5c49bd(_0x491d7a,_0x109b32,_0x386992,_0x17f739){return _0x530340(_0x491d7a-_0x53763b._0x54f73d,_0x386992,_0x491d7a-_0x53763b._0x5f0cb6,_0x17f739-0x9e);}function _0x418707(_0x9324f6,_0x1daac0,_0x8face2,_0x180288){return _0x530340(_0x9324f6-_0x41223e._0x41598b,_0x8face2,_0x9324f6-0x290,_0x180288-_0x41223e._0x13d22c);}const _0xd7e117=await _0x322251(_0xded4d8);return collectClientResults(_0xd7e117[_0x418707(0x2c5,_0x584f36._0x3b6549,0x10c,0x1af)](_0x50ef07=>_0x330558[_0x418707(0x668,0x80c,0x722,0x85c)](_0x286cc1=>_0x50ef07[_0x5c49bd(0x4f0,0x3f1,0x6ab,0x4a7)][_0x418707(0x60b,0x7c1,0x482,0x475)](_0x286cc1))));},async 'outgoingCalls'(_0x4a331e){const _0x10eb8c={_0x16159f:0x12},_0x533ad7={_0x486b9c:0x1f0,_0x51eb92:0x116},_0x26543d=await _0x36af8a(_0x4a331e),_0x346f0b=await _0x322251(_0x4a331e);function _0x290062(_0x2aefc3,_0xddda57,_0x17968e,_0x55d54a){return _0x530340(_0x2aefc3-_0x533ad7._0x486b9c,_0x17968e,_0x2aefc3-0x4dd,_0x55d54a-_0x533ad7._0x51eb92);}function _0x49499(_0x15328a,_0x4e9be9,_0x4c5a1c,_0x220e8b){return _0x530340(_0x15328a-_0x10eb8c._0x16159f,_0x15328a,_0x4e9be9-0x568,_0x220e8b-0x58);}return collectClientResults(_0x346f0b[_0x49499(_0x3e4a10._0x8090c1,0x59d,0x417,0x57a)](_0x180a4e=>_0x26543d[_0x49499(0xa0f,0x940,0x9a3,0x9f3)](_0x56df33=>_0x180a4e[_0x290062(0x4d1,0x43f,0x557,0x5a1)]['outgoingCalls'](_0x56df33))));},async 'shutdown'(){const _0x27d874={_0x37d4e2:0x95,_0x2178a8:0x17a};if(_0x24c874['shutdownStarted'])return;_0x24c874[_0x399590(0x167,0x166,_0x326cc0._0x4f6ca3,0x238)]=!![],await Promise[_0x399590(_0x326cc0._0x389e00,0x1ad,_0x326cc0._0x3e3e3c,_0x326cc0._0x5f3a81)](_0x24c874[_0x399590(-0x26e,-0xac,_0x326cc0._0x1bc3fd,0x14a)][_0x100d19(0x7f9,0x6b8,_0x326cc0._0x589de1,_0x326cc0._0x4bc89b)](_0x580c5b=>_0x580c5b['shutdown']())),_0x24c874['clients']=[],_0x24c874[_0x399590(0x1ac,0x6e,_0x326cc0._0x5ab270,0x4a)][_0x100d19(0x552,0x42b,_0x326cc0._0x50ef18,0x59c)](),_0x24c874[_0x399590(0x370,_0x326cc0._0x10eeaa,_0x326cc0._0x45e2ed,_0x326cc0._0x145dc0)][_0x100d19(_0x326cc0._0x43ad70,_0x326cc0._0x5ad075,_0x326cc0._0x27b95d,_0x326cc0._0x3bc6bc)]();function _0x100d19(_0x37073a,_0x173155,_0xbcdd54,_0x5d092e){return _0x530340(_0x37073a-0x94,_0xbcdd54,_0x5d092e-0x206,_0x5d092e-_0x5dfda4._0x451270);}function _0x399590(_0x900674,_0x359061,_0x53f797,_0xcfa08d){return _0x530340(_0x900674-_0x27d874._0x37d4e2,_0x900674,_0x359061- -_0x27d874._0x2178a8,_0xcfa08d-0x18c);}_0x24c874[_0x100d19(0x515,0x4e2,_0x326cc0._0x16bc4b,0x515)]['clear'](),_0x24c874[_0x399590(0x80,-_0x326cc0._0xa21cbd,0x13c,-_0x326cc0._0x478864)][_0x399590(_0x326cc0._0x104338,_0x326cc0._0x3f941e,_0x326cc0._0x12815f,0xf)]();},'status'(){function _0xad5e71(_0x3b489b,_0x54badb,_0x50db31,_0x1a5b77){return _0x530340(_0x3b489b-_0x25547d._0x43be00,_0x3b489b,_0x1a5b77- -0x1a9,_0x1a5b77-_0x25547d._0x21d751);}return{'connectedClients':_0x24c874['clients'][_0xad5e71(-_0x5b3815._0x50aa78,_0x5b3815._0x3e4f2f,0x20c,0x1a7)]};}};}function getCommand(_0x3f0158){const _0x3f7803={_0x17dd1d:0x37b,_0x4e1875:0x265,_0xd0cff4:0x166,_0x5396bf:0x17b,_0x27a08d:0x58d,_0x24d0d8:0x353,_0x31b8ea:0x52},_0x247508={_0xfa485c:0xcf,_0x33f8c2:0x468},_0x286a15={_0x4d12a3:0x1e4};function _0x5d9228(_0x5780ae,_0x552c6,_0x34407e,_0x2ac76b){return _0x28bc81(_0x5780ae-0x1da,_0x552c6-_0x286a15._0x4d12a3,_0x2ac76b- -0x107,_0x552c6);}function _0x5a4e98(_0x5eabe4,_0x4405aa,_0x251b14,_0x436909){return _0x5b2413(_0x5eabe4-_0x247508._0xfa485c,_0x4405aa-0x25,_0x4405aa- -_0x247508._0x33f8c2,_0x5eabe4);}if(_0x3f0158&&typeof _0x3f0158===_0x5a4e98(_0x3f7803._0x17dd1d,0x19c,_0x3f7803._0x4e1875,0x3a7)&&!Array[_0x5a4e98(_0x3f7803._0xd0cff4,_0x3f7803._0x5396bf,0x26a,0x96)](_0x3f0158)&&typeof _0x3f0158[_0x5a4e98(_0x3f7803._0x27a08d,0x4df,0x6c2,_0x3f7803._0x24d0d8)]==='string')return _0x3f0158['command'];return _0x5a4e98(0xc,0x120,0x1fe,-_0x3f7803._0x31b8ea);}var MOCK_WORKSPACE_LISTING=[_0x5b2413(0x662,0x961,0x765,0x829),'docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x28bc81(0x581,0x2dd,0x47e,0x5dd),'package.json',_0x28bc81(0x789,0x4b1,0x583,0x708),_0x5b2413(0x8a4,0x770,0x885,0x89f),_0x5b2413(0x5fe,0x721,0x7d3,0x7d5),_0x28bc81(0x4bf,0x2ef,0x3e4,0x20e),_0x5b2413(0x5ab,0x585,0x6fb,0x89d),'src/tools/core/mock-tool-runtime.ts',_0x28bc81(0x7a4,0x6dd,0x5b3,0x423),_0x5b2413(0x4c4,0x6da,0x63b,0x6d7),_0x5b2413(0x6dd,0x6d0,0x68d,0x7f6),_0x5b2413(0xb1a,0xa1c,0x989,0x91f),_0x5b2413(0x98d,0x995,0x977,0xb70),_0x28bc81(0x16,0x29d,0x211,0x6d),_0x5b2413(0x59e,0x5ec,0x5a8,0x38d)][_0x28bc81(0x5ed,0x33d,0x45d,0x4b0)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x5b2413(0x625,0x602,0x7ee,0x981),'description':_0x28bc81(0x7fa,0x4a4,0x610,0x5cd),'input_schema':{'type':_0x28bc81(0x198,0x477,0x265,0xe9),'properties':{'command':{'type':_0x5b2413(0x825,0x746,0x635,0x693)}},'required':[_0x28bc81(0x3ba,0x79b,0x5a8,0x745)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x33f0b6){return{'output':_0x33f0b6,'structured':{'value':_0x33f0b6}};}function createUnknownToolResult(_0x143d1d){const _0x31bfdc={_0x5903f1:0x3d6,_0x55c383:0x693,_0x43b78d:0x45,_0xdc03e6:0x17b,_0x3d8108:0x64,_0xa9e7a6:0x7fb,_0x2c49a6:0x62b,_0x464905:0x572,_0x322b86:0x269},_0x4e60a8={_0x3a9970:0x15d,_0x41a30a:0x92,_0x188602:0x393},_0x47a4e3={_0x1cdf8e:0x154,_0x3c9a4e:0x136};function _0x872e7f(_0x3c0700,_0x2713f6,_0x575d39,_0x3fbc19){return _0x28bc81(_0x3c0700-0x67,_0x2713f6-_0x47a4e3._0x1cdf8e,_0x2713f6-_0x47a4e3._0x3c9a4e,_0x575d39);}function _0x9cf416(_0x21448f,_0x398d85,_0x1f8372,_0x49ae06){return _0x28bc81(_0x21448f-_0x4e60a8._0x3a9970,_0x398d85-_0x4e60a8._0x41a30a,_0x21448f- -_0x4e60a8._0x188602,_0x49ae06);}return{'callId':_0x143d1d['id'],'toolName':_0x143d1d[_0x872e7f(_0x31bfdc._0x5903f1,0x5ac,_0x31bfdc._0x55c383,0x41e)],'status':_0x9cf416(_0x31bfdc._0x43b78d,-0x1a8,-_0x31bfdc._0xdc03e6,_0x31bfdc._0x3d8108),'output':_0x872e7f(_0x31bfdc._0xa9e7a6,0x6e7,_0x31bfdc._0x2c49a6,_0x31bfdc._0x464905)+_0x143d1d[_0x9cf416(0xe3,_0x31bfdc._0x322b86,0x147,0xcc)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x3d2c8d,_0x46608e){const _0x2c8fe9={_0x1c600d:0x64c,_0x41a232:0x666},_0xb7a606={_0x4923a2:0x120,_0x2e28c7:0x141};function _0x153eec(_0x4c68e4,_0x59f64f,_0x2a0902,_0x22609b){return _0x28bc81(_0x4c68e4-_0xb7a606._0x4923a2,_0x59f64f-_0xb7a606._0x2e28c7,_0x2a0902-0x1d6,_0x59f64f);}return{'callId':_0x3d2c8d['id'],'toolName':_0x3d2c8d[_0x153eec(0x596,0x516,_0x2c8fe9._0x1c600d,_0x2c8fe9._0x41a232)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x3d2c8d['input']),'exitCode':0x0},'chunks':[_0x46608e],'meta':createMeta()};}function createMockToolRuntime(){const _0x428391={_0x116f09:0x80a,_0xe112be:0x830},_0x1aab51={_0x2a686b:0x26e},_0x56b890=async(_0x3d4a48,_0x7eb565)=>{function _0xfce8ab(_0x20a41f,_0x500fd8,_0x500a65,_0x46fbae){return _0x8662(_0x500a65- -0x2a,_0x20a41f);}if(_0x3d4a48[_0xfce8ab(0x2d5,_0x1aab51._0x2a686b,0x474,0x25c)]!=='Bash')return createUnknownToolResult(_0x3d4a48);const _0x377c49=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x3d4a48,_0x377c49);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x3e04be,_0x2f5887){const _0x18ce08={_0x211d2e:0x237},_0x3c263f={_0x4f31d5:0x1e1};function _0x47e8f9(_0x27f513,_0x1d3a60,_0x334107,_0x414a0f){return _0x8662(_0x414a0f- -_0x3c263f._0x4f31d5,_0x334107);}function _0x39e1b9(_0x2178d0,_0x55ba2a,_0xa9c977,_0x5c3d41){return _0x8662(_0x5c3d41-_0x18ce08._0x211d2e,_0x2178d0);}return await Promise[_0x47e8f9(0x19b,0x2bf,0x86,0x297)](_0x3e04be[_0x39e1b9(0x72f,_0x428391._0x116f09,0x649,_0x428391._0xe112be)](async _0x3816b5=>{return await _0x56b890(_0x3816b5,_0x2f5887);}));},async 'execute'(_0x537b20,_0x322a37){return await _0x56b890(_0x537b20,_0x322a37);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0x5b2413(0x757,0x50e,0x661,0x59e),_0x5b2413(0x6c1,0x892,0x673,0x716),_0x28bc81(0x1ac,0x3ca,0x2eb,0x33d)],DelegatedResolutionError=class extends Error{[_0x5b2413(0x721,0x740,0x6b8,0x879)];[_0x5b2413(0x789,0x9f2,0x8be,0x9e2)];['selector'];constructor(_0x26d1e5,_0x171d30,_0x12aabe){const _0x3bae59={_0x4c6e39:0x27b,_0x151b0c:0x82a,_0x443f36:0x70d,_0x279022:0x36d,_0x188bc7:0x1fe,_0x3b4aa2:0x370,_0xbe9122:0x573,_0x2a959b:0x6ae,_0x19a96a:0x5c4,_0x5e4a14:0x374,_0x30d970:0x573,_0x4c19ad:0x399,_0x21c921:0x8f1,_0x2670c8:0x8ff,_0x3b5a74:0x60b,_0x1078ed:0x5c6},_0x280991={_0x42f263:0x1ef},_0x1cc232={_0x35cbf0:0x168};function _0x5a12ec(_0x12a0d2,_0x99478d,_0x2c9b53,_0x16af2e){return _0x5b2413(_0x12a0d2-_0x1cc232._0x35cbf0,_0x99478d-0x55,_0x12a0d2- -0x34b,_0x99478d);}super(_0x26d1e5,_0x12aabe),this['name']=_0x5a12ec(0x306,0x2da,_0x3bae59._0x4c6e39,0x3fa);function _0x565b64(_0x4dd4b8,_0x189ad3,_0xa7a6a0,_0x4f5f51){return _0x28bc81(_0x4dd4b8-_0x280991._0x42f263,_0x189ad3-0xc6,_0x4f5f51-0x3f4,_0x4dd4b8);}this[_0x565b64(0x895,0x7ed,_0x3bae59._0x151b0c,_0x3bae59._0x443f36)]=_0x171d30[_0x5a12ec(_0x3bae59._0x279022,_0x3bae59._0x188bc7,0x217,_0x3bae59._0x3b4aa2)],this[_0x5a12ec(_0x3bae59._0xbe9122,_0x3bae59._0x2a959b,_0x3bae59._0x19a96a,_0x3bae59._0x5e4a14)]=_0x171d30[_0x5a12ec(_0x3bae59._0x30d970,0x690,_0x3bae59._0x4c19ad,0x787)],this[_0x565b64(0x916,_0x3bae59._0x21c921,_0x3bae59._0x2670c8,0x6fc)]=_0x171d30[_0x565b64(0x746,_0x3bae59._0x3b5a74,_0x3bae59._0x1078ed,0x6fc)];}};function createDelegatedRunId(){return'delegated-run-'+randomUUID();}function rethrowDelegatedError(_0x2bd77b){throw _0x2bd77b;}async function resolveDelegatedAgentOptions(_0x1e207c,_0x117e76){const _0x32e9a5={_0x43d9fa:0xad,_0x3401d4:0x416},_0x3cf5ef={_0x246938:0x148,_0x4d5793:0x1f3},_0x2d037c={_0x96e3c2:0x1b5,_0x4c4edb:0x16c},_0x3f19af=typeof _0x1e207c==='function'?await _0x1e207c(_0x117e76):_0x1e207c;function _0x28118b(_0x53798d,_0x1be683,_0xe3102b,_0x234d21){return _0x28bc81(_0x53798d-_0x2d037c._0x96e3c2,_0x1be683-_0x2d037c._0x4c4edb,_0x1be683- -0x50,_0x53798d);}function _0x47df72(_0x1777fc,_0x40099c,_0x5e87de,_0x2e39f8){return _0x28bc81(_0x1777fc-_0x3cf5ef._0x246938,_0x40099c-0x1f,_0x2e39f8- -_0x3cf5ef._0x4d5793,_0x40099c);}return typeof _0x3f19af===_0x28118b(_0x32e9a5._0x43d9fa,0x215,0xe,_0x32e9a5._0x3401d4)&&_0x3f19af!==null&&Object['hasOwn'](_0x3f19af,_0x47df72(0x3b7,0x1c5,0x467,0x290))?_0x3f19af:{'options':_0x3f19af};}function awaitWithAbort(_0x27ea2b,_0x51da3b){const _0x3bceda={_0x2d52f7:0x4dd},_0x2918f3={_0x3998b9:0x920,_0x1d33d3:0x745,_0x37424b:0x5d4};return throwIfAborted(_0x51da3b),new Promise((_0x295ffd,_0x264f0d)=>{function _0xbd709f(_0x4f627d,_0x1f6e88,_0x3d9aa2,_0x15d459){return _0x8662(_0x1f6e88-0x15c,_0x4f627d);}let _0x5017a3=![];const _0x2fae44=addAbortListener(_0x51da3b,()=>{if(_0x5017a3)return;function _0xfec193(_0x25a0c8,_0x1faf91,_0x246def,_0x763cd8){return _0x8662(_0x1faf91-0x265,_0x763cd8);}_0x5017a3=!![],_0x264f0d(toAbortError(_0x51da3b[_0xfec193(_0x2918f3._0x3998b9,_0x2918f3._0x1d33d3,0x788,_0x2918f3._0x37424b)]));});_0x27ea2b[_0xbd709f(_0x3bceda._0x2d52f7,0x58b,0x7ac,0x554)](_0x2308ed=>{if(_0x5017a3)return;_0x5017a3=!![],_0x2fae44(),_0x295ffd(_0x2308ed);},_0x5fbc05=>{if(_0x5017a3)return;_0x5017a3=!![],_0x2fae44(),_0x264f0d(_0x5fbc05);});});}function getDelegatedAgentDefinition(_0x182a24,_0x29ffed){const _0x56b2c2={_0x258eae:0x400,_0x3fb9ee:0x2e8},_0x36251d={_0x39260f:0x1be};function _0x137d5f(_0x49d3c4,_0x98b8e0,_0x4437c7,_0x775507){return _0x5b2413(_0x49d3c4-0x1ec,_0x98b8e0-_0x36251d._0x39260f,_0x98b8e0- -0x687,_0x49d3c4);}return _0x182a24[_0x137d5f(_0x56b2c2._0x258eae,_0x56b2c2._0x3fb9ee,0x44e,0x2f3)]?.[_0x29ffed];}function createRoutingSummary(_0x27b3b8){const _0x560c91={_0x1026e9:0x635,_0x1bd5df:0x426,_0x4069b3:0x51c,_0x312020:0x241};if(_0x27b3b8['requestedModelTier']===void 0x0)return{};const _0x3ad75b=_0x27b3b8['routing']?.['agentModelSet']??_0x27b3b8['agentModelSet'];function _0x47fb46(_0x3031af,_0x28d531,_0x13833d,_0x33b30c){return _0x5b2413(_0x3031af-0x157,_0x28d531-0xea,_0x28d531- -0x4de,_0x13833d);}function _0x4abc31(_0x5857ed,_0x23e662,_0x2d5819,_0x17f4d3){return _0x5b2413(_0x5857ed-0x72,_0x23e662-0x63,_0x5857ed- -0x5a8,_0x2d5819);}return{'requestedModelTier':_0x27b3b8['requestedModelTier'],..._0x3ad75b===void 0x0?{}:{'agentModelSet':_0x3ad75b},..._0x27b3b8[_0x47fb46(_0x560c91._0x1026e9,0x44d,_0x560c91._0x1bd5df,_0x560c91._0x4069b3)]?.[_0x4abc31(0x109,_0x560c91._0x312020,0xd9,-0x84)]===void 0x0?{}:{'resolvedModelIdentity':_0x27b3b8['routing']['resolvedModelIdentity']}};}function createStructuredWithRoutingSummary(_0x468a87,_0x12cbcc){const _0x3cc190={_0x587b8:0x101,_0x34fade:0xb9,_0x2be14c:0x34,_0x1a3fc9:0x455,_0xfe9c6a:0x3e4,_0x389320:0x16e,_0x1a1b41:0xe5},_0x523980={_0x3d753a:0xcd,_0x131e56:0x288},_0x3fccf7={..._0x468a87};function _0x25d6ef(_0x30b930,_0x3fe8e9,_0x3c802c,_0x4dfebc){return _0x5b2413(_0x30b930-0xaa,_0x3fe8e9-0x117,_0x4dfebc- -0x684,_0x3fe8e9);}delete _0x3fccf7[_0x25d6ef(_0x3cc190._0x587b8,_0x3cc190._0x34fade,-0x6f,_0x3cc190._0x2be14c)],delete _0x3fccf7[_0x25d6ef(_0x3cc190._0x1a3fc9,0x340,_0x3cc190._0xfe9c6a,0x23a)],delete _0x3fccf7[_0x25d6ef(-_0x3cc190._0x389320,0x62,-_0x3cc190._0x1a1b41,0x2d)];function _0x27edc8(_0x231aa4,_0x14cfac,_0x30f755,_0x1ae37f){return _0x5b2413(_0x231aa4-_0x523980._0x3d753a,_0x14cfac-0xe2,_0x14cfac- -_0x523980._0x131e56,_0x30f755);}return{..._0x3fccf7,...createRoutingSummary(_0x12cbcc)};}function createRunSummary(_0x2bd3b1){const _0x1d3352={_0x85957:0x786,_0xda4823:0x790,_0x424e01:0x7a1,_0x31bd40:0xf7,_0x4ba0d2:0x20a,_0x3d23db:0x1ab,_0x17b4cf:0x892,_0x4dff4f:0x6ea,_0x15360a:0x8ed,_0x57711a:0x176,_0x2a36ed:0x3a,_0x344648:0x15a,_0x23aead:0x29e,_0x113f48:0x17,_0x450d71:0x11f,_0x30d65d:0xef,_0x5a27d0:0x83,_0x394f52:0x82e},_0x2e5fe2={_0x100e2a:0x161,_0x241653:0x139},_0x2e6336={_0x5bd0ef:0x11c};function _0x13ce09(_0x3d4ecb,_0x568d2e,_0x18021b,_0x401712){return _0x28bc81(_0x3d4ecb-0x151,_0x568d2e-_0x2e6336._0x5bd0ef,_0x568d2e-0x3cd,_0x401712);}function _0x2b6827(_0x5d279e,_0x61de34,_0x1868bb,_0x371f53){return _0x28bc81(_0x5d279e-_0x2e5fe2._0x100e2a,_0x61de34-_0x2e5fe2._0x241653,_0x5d279e- -0x222,_0x1868bb);}return{'runId':_0x2bd3b1['runId'],'agentId':_0x2bd3b1['agentId'],..._0x2bd3b1[_0x13ce09(0x8bc,0x790,0x710,0x6f7)]!==void 0x0?{'sessionId':_0x2bd3b1[_0x13ce09(_0x1d3352._0x85957,_0x1d3352._0xda4823,0x6c5,_0x1d3352._0x424e01)]}:{},'status':_0x2bd3b1[_0x2b6827(-0x24,-_0x1d3352._0x31bd40,-_0x1d3352._0x4ba0d2,-_0x1d3352._0x3d23db)],'parentSessionId':_0x2bd3b1[_0x13ce09(_0x1d3352._0x17b4cf,_0x1d3352._0x4dff4f,_0x1d3352._0x15360a,0x8ad)],..._0x2bd3b1['originToolCallId']!==void 0x0?{'originToolCallId':_0x2bd3b1[_0x2b6827(_0x1d3352._0x57711a,_0x1d3352._0x2a36ed,-0x66,0x344)]}:{},...createRoutingSummary(_0x2bd3b1),..._0x2bd3b1['errorMessage']!==void 0x0?{'errorMessage':_0x2bd3b1[_0x2b6827(0x155,-0x95,_0x1d3352._0x344648,_0x1d3352._0x23aead)]}:{},..._0x2bd3b1[_0x2b6827(-_0x1d3352._0x113f48,0x5e,0x92,_0x1d3352._0x450d71)]?.['finalMessage']!==void 0x0?{'finalMessageText':getTextFromMessage(_0x2bd3b1[_0x2b6827(-0x17,-_0x1d3352._0x30d65d,_0x1d3352._0x5a27d0,0x36)][_0x13ce09(0x839,0x8c6,0x8ac,_0x1d3352._0x394f52)])}:{}};}function createRunSummaryOutput(_0x1e9f5a,_0x166069){const _0x138474={_0x3897cf:0x9f6,_0x30905d:0x88d},_0x5b726d=createRunSummary(_0x1e9f5a);function _0x4ec30f(_0x575941,_0x5e5493,_0x5c661d,_0x55a41c){return _0x28bc81(_0x575941-0xe9,_0x5e5493-0x16b,_0x5c661d-0x344,_0x575941);}const _0x241cfa=_0x5b726d['finalMessageText'];return createToolOutput(typeof _0x241cfa==='string'&&_0x241cfa[_0x4ec30f(_0x138474._0x3897cf,0x88a,_0x138474._0x30905d,0xa78)]>0x0?_0x241cfa:_0x166069,_0x5b726d);}function getRunTerminalErrorMessage(_0x7cd54b){const _0x3e9b41={_0x587e0c:0x530,_0x522c2a:0x389,_0x538fc5:0x12b,_0x11e846:0x6e8,_0x1ae671:0x57e,_0x213fe3:0x5fd,_0x30474b:0x41d,_0x5b3973:0x226,_0x54a073:0x1f6,_0x5ab61d:0x573,_0x441b34:0x4be,_0x5eb772:0x67d,_0xca36f7:0x6ef,_0x427a84:0x6ae},_0x3f99a5={_0x29b2b0:0xb5},_0x314122={_0x577bce:0x1a6},_0x3aa5bf=_0x7cd54b?.[_0x577cad(_0x3e9b41._0x587e0c,0x45e,_0x3e9b41._0x522c2a,0x2c3)]['toolResults']['at'](-0x1);function _0x577cad(_0x50acee,_0xf163fe,_0x45730d,_0x4a81a6){return _0x28bc81(_0x50acee-0x8d,_0xf163fe-0x0,_0x45730d-_0x314122._0x577bce,_0x4a81a6);}function _0x38510d(_0x53ac07,_0x2d5ce3,_0x49d102,_0x30f195){return _0x28bc81(_0x53ac07-0xd1,_0x2d5ce3-0x164,_0x49d102- -_0x3f99a5._0x29b2b0,_0x30f195);}if(_0x3aa5bf?.[_0x38510d(_0x3e9b41._0x538fc5,0xea,0x149,0x314)]===_0x577cad(_0x3e9b41._0x11e846,0x76b,_0x3e9b41._0x1ae671,_0x3e9b41._0x213fe3)&&_0x3aa5bf[_0x38510d(0x3ad,_0x3e9b41._0x30474b,_0x3e9b41._0x5b3973,_0x3e9b41._0x54a073)][_0x577cad(_0x3e9b41._0x5ab61d,0x337,_0x3e9b41._0x441b34,0x643)]()[_0x577cad(_0x3e9b41._0x5eb772,0x612,_0x3e9b41._0xca36f7,_0x3e9b41._0x427a84)]>0x0)return _0x3aa5bf[_0x577cad(0x276,0x3a3,0x481,0x680)];return void 0x0;}function formatAbortedRunMessage(_0x5e6dfb,_0x5752c9){const _0x1dffec={_0x389501:0x130,_0x162c3b:0x168,_0x57a7a1:0x5c,_0x46b4c2:0xad4,_0x1bcd25:0x91a,_0xa32272:0x7c8,_0x4b03a0:0x71b,_0x11dfc6:0x916,_0x158cee:0x8a4,_0x1dd90a:0x94c,_0x153c51:0x988,_0x28ee58:0x89f,_0x5e0ebe:0x5dc},_0x13c2fe={_0x255500:0x182},_0x48d64c={_0x4424be:0x115,_0x49e787:0x1df,_0x165851:0x64};function _0x190b16(_0x21f0a6,_0x27f842,_0x435607,_0x43ef75){return _0x5b2413(_0x21f0a6-_0x48d64c._0x4424be,_0x27f842-_0x48d64c._0x49e787,_0x435607-_0x48d64c._0x165851,_0x27f842);}const _0x2bbb47=_0x3fee03(_0x1dffec._0x389501,0x157,_0x1dffec._0x162c3b,-_0x1dffec._0x57a7a1)+_0x5e6dfb+_0x190b16(_0x1dffec._0x46b4c2,0x9ae,_0x1dffec._0x1bcd25,0xa65);function _0x3fee03(_0x25d034,_0x328ff6,_0x2ca0f5,_0x4516db){return _0x5b2413(_0x25d034-_0x13c2fe._0x255500,_0x328ff6-0x56,_0x25d034- -0x486,_0x2ca0f5);}if(!_0x5752c9||_0x5752c9[_0x190b16(_0x1dffec._0xa32272,0x790,_0x1dffec._0x4b03a0,0x52a)]()[_0x190b16(_0x1dffec._0x11dfc6,_0x1dffec._0x158cee,_0x1dffec._0x1dd90a,_0x1dffec._0x153c51)]===0x0||_0x5752c9===_0x2bbb47)return _0x2bbb47;return _0x2bbb47+_0x190b16(_0x1dffec._0x28ee58,_0x1dffec._0x5e0ebe,0x684,0x6b0)+_0x5752c9;}function createAssignTaskTool(_0x33fd86){const _0x3d8c5f={_0x990ca0:0x36c,_0x26fb0e:0x54f,_0x383621:0x622,_0x102c1f:0x182,_0x40e9e0:0x1a7,_0x15604f:0x1b,_0x350c60:0x45,_0x14dac9:0x280,_0x1ac0ad:0x411,_0x7f1906:0x28f,_0x4c4b3e:0x33d,_0x3a8a93:0x323,_0x5e0f69:0x2a4,_0x4dd33d:0x3f2,_0x508abd:0x79,_0xfa4cf1:0x2b7,_0x113c7c:0x348,_0x1a8c7c:0x1c2,_0xac39f1:0x2c8,_0x3c396b:0x260,_0xec0499:0x56c,_0x136f46:0x470,_0x36ab7d:0x1d3,_0x68a8c:0x3c7,_0x56abdc:0x676,_0x4919df:0x4fb,_0x554241:0x2ed,_0x475e1a:0x1b6,_0x158045:0xee},_0x1cb0d7={_0x2a1b52:0x54b,_0x6765bd:0x611,_0x4dff71:0x47a,_0x1c0f5a:0x49,_0x33c342:0xc8,_0x56b882:0x21b,_0x480758:0x254,_0x19b026:0x1a3,_0x91b9fe:0x200,_0x1bd3b9:0x76,_0x58052f:0x5,_0x5a0480:0x13b,_0x56f39d:0x309,_0x1340c5:0x17,_0x5e00f1:0x12d,_0x57e69c:0x102,_0x5ad117:0x49,_0xfe9c84:0xbc,_0x33ff39:0x1cf,_0x477397:0xc9,_0x2aa615:0x277,_0x1595d6:0x0,_0x46ed31:0x33,_0x1759e0:0x501,_0x160558:0xbe,_0x312159:0x22,_0x4a473e:0x1db,_0x1ce401:0x431,_0xe5f12b:0x143,_0x1826d5:0x1ff,_0x3ef6a2:0x243,_0x469f1f:0x210,_0x2f6861:0x2be,_0x46090d:0x188,_0xf17aa:0x110,_0x5f3dda:0x1aa,_0x3f78e8:0x107,_0x103aef:0x320,_0x39e510:0x6c0,_0x5b0d4f:0x342,_0x42e80f:0x4df,_0x22409b:0x562,_0xf0c8d2:0x260,_0x506d0e:0x3b6,_0x2e14e:0x369,_0x260c81:0x528,_0x3a018b:0x7d,_0x1ae282:0x1da,_0x4de0da:0x63,_0xf56821:0x1c8,_0x334a09:0x33d,_0x3b8236:0x275,_0x4124ab:0x1aa,_0x3fa552:0x56,_0x31974f:0x17e,_0x278c1c:0x1a0,_0x17e050:0x2a3,_0x5131b5:0xe8,_0x81162a:0x38a,_0x241669:0x54a,_0x526387:0x393,_0xdc840a:0x43c,_0x7debcb:0x25e,_0x193c47:0x348,_0x5a9021:0x54f,_0x1e8cf:0xa6,_0x84ad50:0x71d,_0x33db87:0x6c5,_0xafac75:0xb2,_0x70d31b:0x289,_0x14ef16:0x41b,_0x2a5950:0x4a1,_0x4ba486:0x327,_0xa75a1a:0x46c,_0x176bd2:0x48e,_0x30ad72:0x307,_0x57fb9f:0x28c,_0x53ed3a:0xa4,_0x435230:0x151,_0x1527e7:0x16c,_0x110b41:0x2dd,_0x37d1e9:0xbc,_0x1b623:0x29d,_0x148888:0x2ca,_0x1f1a9f:0x1c7,_0x5043a2:0x1c3,_0x37e480:0x324,_0x491eae:0x312,_0x49c7d0:0x1dd,_0xaada79:0x319,_0x5cc6a3:0x136,_0x5931c9:0x1a9,_0x17ed03:0x473,_0x5e73d7:0x4a8,_0x44a543:0x1cc,_0x57a624:0x1db,_0x583173:0x505,_0x19d8e9:0x248,_0x49111e:0x1d8,_0x4b64a9:0x2fc,_0x9a9f02:0x417,_0x239f07:0x175,_0x2eaf9f:0x2b4,_0x242887:0x3b6,_0x219806:0x289,_0x127b43:0x19d,_0x4da750:0x363,_0x4aa707:0x2c9,_0x30b4be:0x638,_0x51d069:0x472,_0x3db2a6:0x2f6,_0xe5eedf:0x3c3,_0x281b20:0x25b,_0x5d5a67:0x64c,_0x2e4587:0x74f,_0x315a96:0x531,_0x29b2db:0x1c2,_0x3d0a49:0x26c,_0x4e77d6:0x3ee,_0x2eba55:0x351,_0x595a3e:0x2d5,_0x48f005:0x204,_0x4863f2:0x232,_0x23c6c4:0x15e,_0x675748:0x5b6,_0x7f7ca7:0x3bb,_0x55154a:0x40a,_0x426e54:0x23c,_0x387bf5:0x5ea,_0x31347a:0x39b,_0x3b36bf:0x121,_0x243b54:0x457,_0x3ffd60:0x557,_0x33af59:0x11d,_0x2b976a:0x16a,_0xd0a8b6:0x287,_0x722d44:0x49a,_0x9b485e:0x19c,_0x43aabf:0x41a,_0x303dc8:0x330,_0x2dd21e:0x27f,_0x13620f:0x72,_0x5a1b1f:0x3db,_0x2e2f43:0x232,_0x435f5a:0x93,_0x24ac5d:0x35},_0x410db0={_0x5efd96:0xab},_0x4f595f={_0x50cf2a:0xd6},_0x410e37={_0x3ae4c7:0x6c,_0x4ae8c4:0x3a6};function _0x340b47(_0x508f25,_0xfdc558,_0x294334,_0x4c8fe9){return _0x5b2413(_0x508f25-_0x410e37._0x3ae4c7,_0xfdc558-0x1d,_0x294334- -_0x410e37._0x4ae8c4,_0x508f25);}function _0xf40377(_0x3b701a,_0xa617bc,_0x543971,_0x19bf39){return _0x5b2413(_0x3b701a-_0x4f595f._0x50cf2a,_0xa617bc-0xdc,_0x543971- -0x66d,_0x3b701a);}return defineTool({'name':'AssignTask','permissionClass':_0x340b47(0x740,_0x3d8c5f._0x990ca0,_0x3d8c5f._0x26fb0e,_0x3d8c5f._0x383621),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`task`\x20is\x20the\x20complete\x20instruction\x20sent\x20to\x20the\x20agent.','inputSchema':{'type':_0x340b47(0x19d,0x2f8,0x25e,0x272),'properties':{'agentId':{'type':'string','description':_0xf40377(_0x3d8c5f._0x102c1f,_0x3d8c5f._0x40e9e0,_0x3d8c5f._0x15604f,-_0x3d8c5f._0x350c60)},'description':{'type':_0x340b47(_0x3d8c5f._0x14dac9,_0x3d8c5f._0x1ac0ad,_0x3d8c5f._0x7f1906,0x35a),'description':_0xf40377(_0x3d8c5f._0x4c4b3e,_0x3d8c5f._0x3a8a93,0x263,_0x3d8c5f._0x5e0f69)},'nickname':{'type':_0x340b47(0x3a9,_0x3d8c5f._0x4dd33d,0x28f,_0x3d8c5f._0x508abd),'description':'Optional\x20short\x20display\x20name\x20for\x20this\x20delegated\x20run.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'task':{'type':_0x340b47(_0x3d8c5f._0xfa4cf1,_0x3d8c5f._0x113c7c,_0x3d8c5f._0x7f1906,0x403),'description':'Complete,\x20self-contained\x20instructions\x20sent\x20verbatim\x20to\x20the\x20delegated\x20agent.\x20Include\x20relevant\x20context,\x20scope,\x20constraints,\x20and\x20expected\x20output.'},'modelTier':{'type':_0x340b47(0x14e,_0x3d8c5f._0x1a8c7c,0x28f,_0x3d8c5f._0xac39f1),'enum':[...MODEL_TIERS],'description':_0x340b47(_0x3d8c5f._0x3c396b,_0x3d8c5f._0xec0499,_0x3d8c5f._0x136f46,0x4b8)}},'required':[_0x340b47(0x4c,0x16f,_0x3d8c5f._0x36ab7d,_0x3d8c5f._0x68a8c),_0x340b47(0x520,_0x3d8c5f._0x56abdc,_0x3d8c5f._0x4919df,_0x3d8c5f._0x554241),_0xf40377(0x10a,-_0x3d8c5f._0x475e1a,-_0x3d8c5f._0x158045,-0x6e)]},async *'execute'(_0x405890,_0x420dde){const _0x30a64d=createDelegatedRunId(),_0x3cd876=new AbortController(),_0x25a962=_0x405890[_0x20ffc7(_0x1cb0d7._0x2a1b52,_0x1cb0d7._0x6765bd,0x302,_0x1cb0d7._0x4dff71)],_0x54518d={'agentId':_0x405890[_0x3189e7(0x31,-_0x1cb0d7._0x1c0f5a,-_0x1cb0d7._0x33c342,-_0x1cb0d7._0x56b882)],'parentSessionId':_0x420dde[_0x3189e7(-0xf,0x1a0,0x252,0x389)],'runId':_0x30a64d,'signal':_0x3cd876[_0x3189e7(0x12f,0x1aa,0x20a,0x233)],..._0x420dde[_0x20ffc7(0x32d,_0x1cb0d7._0x480758,_0x1cb0d7._0x19b026,_0x1cb0d7._0x91b9fe)]!==void 0x0?{'toolCallId':_0x420dde['toolCallId']}:{},..._0x25a962===void 0x0?{}:{'modelTier':_0x25a962}},_0x316c4f=getDelegatedAgentDefinition(_0x33fd86,_0x405890['agentId']);if(!_0x316c4f)throw new ToolExecutionError(_0x3189e7(-0x16e,_0x1cb0d7._0x1bd3b9,_0x1cb0d7._0x58052f,_0x1cb0d7._0x5a0480)+_0x405890[_0x20ffc7(0x10e,_0x1cb0d7._0x56f39d,_0x1cb0d7._0x1340c5,_0x1cb0d7._0x5e00f1)],{'agentId':_0x405890[_0x3189e7(-_0x1cb0d7._0x57e69c,-_0x1cb0d7._0x5ad117,-_0x1cb0d7._0xfe9c84,_0x1cb0d7._0x33ff39)],..._0x25a962===void 0x0?{}:{'requestedModelTier':_0x25a962}});let _0x51a439={'runId':_0x30a64d,'agentId':_0x405890['agentId'],'status':_0x3189e7(-_0x1cb0d7._0x477397,0xb3,_0x1cb0d7._0x2aa615,-0x153),'parentSessionId':_0x420dde['sessionId'],..._0x420dde[_0x20ffc7(_0x1cb0d7._0x1595d6,0x1f3,0x2c2,0x200)]!==void 0x0?{'originToolCallId':_0x420dde[_0x3189e7(0xf,0x8a,-_0x1cb0d7._0x46ed31,0x1ea)]}:{},..._0x25a962===void 0x0?{}:{'requestedModelTier':_0x25a962}};const _0x1187a4=addAbortListener(_0x420dde[_0x20ffc7(0x355,_0x1cb0d7._0x1759e0,0x49d,0x320)],()=>{_0x3cd876['abort'](_0x420dde['signal']['reason']);});let _0xec6bba,_0x326f2b;function _0x20ffc7(_0x315ef4,_0x43e2a6,_0x48efd8,_0x45df00){return _0x340b47(_0x48efd8,_0x43e2a6-0xa1,_0x45df00- -0xa6,_0x45df00-0x11b);}let _0x1ead4e,_0x2f01bc,_0x2b159d=![],_0x37a5e1,_0x1fcbcb,_0x2f8c6b=![];function _0x3189e7(_0x27f44a,_0x522978,_0x29285c,_0x1c6db0){return _0xf40377(_0x1c6db0,_0x522978-0x133,_0x522978-_0x410db0._0x5efd96,_0x1c6db0-0xdd);}const _0x4fd002=_0x33fd86[_0x3189e7(-_0x1cb0d7._0x160558,-_0x1cb0d7._0x312159,-0x22e,_0x1cb0d7._0x4a473e)];try{_0x33fd86[_0x20ffc7(_0x1cb0d7._0x1ce401,_0x1cb0d7._0xe5f12b,_0x1cb0d7._0x1826d5,_0x1cb0d7._0x3ef6a2)]!==void 0x0&&(_0xec6bba=await _0x33fd86['semaphore'][_0x20ffc7(_0x1cb0d7._0x469f1f,_0x1cb0d7._0x2f6861,0x39b,_0x1cb0d7._0x46090d)](_0x3cd876['signal']));throwIfAborted(_0x3cd876[_0x3189e7(_0x1cb0d7._0xf17aa,_0x1cb0d7._0x5f3dda,0x14a,0xe1)]);const _0x2e03f1=await awaitWithAbort(resolveDelegatedAgentOptions(_0x316c4f,_0x54518d),_0x3cd876[_0x20ffc7(_0x1cb0d7._0x3f78e8,0x4c9,0x1b8,_0x1cb0d7._0x103aef)]);_0x51a439={..._0x51a439,..._0x25a962===void 0x0||_0x2e03f1[_0x20ffc7(_0x1cb0d7._0x39e510,0x3a3,_0x1cb0d7._0x5b0d4f,_0x1cb0d7._0x42e80f)]?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x2e03f1['routing'][_0x20ffc7(0x61e,0x475,_0x1cb0d7._0x22409b,0x472)]}};const _0x1e977b=_0x2e03f1[_0x3189e7(0x196,_0x1cb0d7._0xf0c8d2,_0x1cb0d7._0x506d0e,0x348)];throwIfAborted(_0x3cd876[_0x20ffc7(0x4ac,_0x1cb0d7._0x2e14e,_0x1cb0d7._0x260c81,_0x1cb0d7._0x103aef)]);const _0x117816=_0x33fd86['renderSystemPrompt']!==void 0x0&&_0x1e977b[_0x3189e7(-0x140,_0x1cb0d7._0x3a018b,_0x1cb0d7._0x1ae282,-_0x1cb0d7._0x4de0da)]!==void 0x0?{..._0x1e977b,'systemPrompt':_0x33fd86[_0x3189e7(0x36d,_0x1cb0d7._0xf56821,_0x1cb0d7._0x334a09,0x289)](_0x1e977b[_0x3189e7(0xd,0x7d,0x114,_0x1cb0d7._0x3b8236)])}:_0x1e977b;throwIfAborted(_0x3cd876[_0x3189e7(0x248,_0x1cb0d7._0x4124ab,_0x1cb0d7._0x3fa552,0x27a)]);const _0x164480=new Agent(_0x117816);_0x51a439={..._0x51a439,'sessionId':_0x164480[_0x3189e7(_0x1cb0d7._0x31974f,_0x1cb0d7._0x278c1c,_0x1cb0d7._0x17e050,0x71)],..._0x25a962===void 0x0?{}:{'routing':{'requestedModelTier':_0x25a962,..._0x51a439[_0x3189e7(_0x1cb0d7._0x5131b5,0x2fc,0x3a7,0x148)]===void 0x0?{}:{'agentModelSet':_0x51a439[_0x3189e7(0x461,0x2fc,0x51f,0x288)]},'resolvedModelIdentity':_0x164480[_0x3189e7(_0x1cb0d7._0x480758,_0x1cb0d7._0x81162a,_0x1cb0d7._0x241669,_0x1cb0d7._0x526387)][_0x20ffc7(_0x1cb0d7._0xdc840a,0x5fb,0x3f8,0x419)]['modelIdentity']}}},_0x326f2b=_0x33fd86[_0x3189e7(_0x1cb0d7._0x7debcb,_0x1cb0d7._0x193c47,0x3e0,_0x1cb0d7._0x5a9021)]?.(_0x164480,_0x54518d);const _0x118db0=new Promise(_0x3267b1=>{_0x2f01bc=_0x3267b1;});_0x1ead4e=_0x33fd86[_0x3189e7(-_0x1cb0d7._0x1e8cf,-0xe,0xb8,-0x1b)]?.({'runId':_0x30a64d,'abortController':_0x3cd876,'completion':_0x118db0});_0x4fd002!==void 0x0&&(await _0x4fd002[_0x20ffc7(0x4b2,_0x1cb0d7._0x84ad50,_0x1cb0d7._0x33db87,0x502)](_0x164480,_0x54518d),_0x2b159d=!![]);yield createToolOutput(_0x3189e7(_0x1cb0d7._0xafac75,_0x1cb0d7._0x70d31b,_0x1cb0d7._0x14ef16,0x71)+_0x51a439[_0x3189e7(_0x1cb0d7._0x2a5950,0x324,_0x1cb0d7._0x4ba486,0x2c8)]+'.',createRunSummary(_0x51a439)),throwIfAborted(_0x3cd876[_0x20ffc7(_0x1cb0d7._0xa75a1a,0x16b,_0x1cb0d7._0x176bd2,_0x1cb0d7._0x103aef)]);const _0x1507a6=await _0x164480[_0x20ffc7(0x2a0,_0x1cb0d7._0x30ad72,_0x1cb0d7._0x57fb9f,0x404)](_0x405890[_0x20ffc7(0x14f,_0x1cb0d7._0x53ed3a,0x178,0x133)],{'streaming':!![],'signal':_0x3cd876['signal']});_0x51a439={..._0x51a439,'status':_0x1507a6[_0x20ffc7(0xd5,0x22e,0x242,_0x1cb0d7._0x435230)],'result':_0x1507a6};if(_0x1507a6[_0x3189e7(-0xc3,-0x25,-0x245,_0x1cb0d7._0x1527e7)]!==_0x20ffc7(0x305,0x3a7,0x246,0x352)){const _0x48e52a=getRunTerminalErrorMessage(_0x1507a6),_0x5cdde0=formatAbortedRunMessage(_0x51a439[_0x3189e7(_0x1cb0d7._0x81162a,0x324,0x236,0x371)],_0x48e52a);_0x51a439={..._0x51a439,'status':_0x3189e7(_0x1cb0d7._0x110b41,_0x1cb0d7._0xfe9c84,-0x45,0x1bb),'errorMessage':_0x5cdde0},_0x37a5e1={'status':_0x3189e7(0x9d,_0x1cb0d7._0x37d1e9,0xd2,_0x1cb0d7._0x1b623),'errorMessage':_0x5cdde0};throw new ToolExecutionError(_0x5cdde0,{...createRunSummary(_0x51a439),'aborted':!![],'errorMessage':_0x5cdde0});}return _0x37a5e1={'status':_0x20ffc7(_0x1cb0d7._0x148888,_0x1cb0d7._0x1f1a9f,0x20a,0x352)},createRunSummaryOutput(_0x51a439,'Agent\x20run\x20'+_0x51a439[_0x3189e7(_0x1cb0d7._0x5043a2,_0x1cb0d7._0x37e480,0x26d,_0x1cb0d7._0x491eae)]+'\x20completed.');}catch(_0x514872){_0x1fcbcb=_0x514872,_0x2f8c6b=!![];if(_0x514872 instanceof ToolExecutionError){if(_0x37a5e1===void 0x0){if(isAbortError(_0x514872)||_0x3cd876[_0x3189e7(_0x1cb0d7._0x49c7d0,_0x1cb0d7._0x5f3dda,_0x1cb0d7._0xaada79,_0x1cb0d7._0x5cc6a3)][_0x3189e7(-0xc5,0xbc,0x134,_0x1cb0d7._0x5931c9)]||_0x420dde[_0x20ffc7(_0x1cb0d7._0x17ed03,_0x1cb0d7._0x5e73d7,_0x1cb0d7._0x44a543,0x320)]['aborted'])_0x37a5e1={'status':_0x3189e7(_0x1cb0d7._0x57a624,0xbc,0x9a,0x2ac)};else{const _0x781f55=_0x514872[_0x20ffc7(0x49d,_0x1cb0d7._0x583173,0x462,0x531)];_0x51a439={..._0x51a439,'status':_0x20ffc7(0x490,_0x1cb0d7._0x19d8e9,0x5a7,0x3b6),'errorMessage':_0x781f55},_0x37a5e1={'status':'failed','errorMessage':_0x781f55};}}if(_0x25a962===void 0x0)throw _0x514872;throw new ToolExecutionError(_0x514872['message'],createStructuredWithRoutingSummary(_0x514872['structured'],_0x51a439));}if(_0x514872 instanceof DelegatedResolutionError){const _0x511005={..._0x51a439};delete _0x511005['routing'],delete _0x511005[_0x3189e7(_0x1cb0d7._0x49111e,_0x1cb0d7._0x4b64a9,_0x1cb0d7._0x9a9f02,_0x1cb0d7._0x239f07)],_0x51a439={..._0x511005,'status':_0x20ffc7(0x3af,_0x1cb0d7._0x2eaf9f,0x4f5,_0x1cb0d7._0x242887),'errorMessage':_0x514872[_0x3189e7(_0x1cb0d7._0x219806,0x3bb,0x5b9,0x284)],..._0x25a962===void 0x0||_0x514872[_0x3189e7(_0x1cb0d7._0x127b43,_0x1cb0d7._0x4b64a9,_0x1cb0d7._0x4da750,0xe0)]===void 0x0?{}:{'agentModelSet':_0x514872[_0x20ffc7(0x45c,_0x1cb0d7._0x4aa707,_0x1cb0d7._0x30b4be,_0x1cb0d7._0x51d069)]}};throw new ToolExecutionError(_0x514872[_0x3189e7(0x3e5,0x3bb,0x544,0x290)],{...createRunSummary(_0x51a439),..._0x25a962===void 0x0||_0x514872[_0x20ffc7(_0x1cb0d7._0x3db2a6,0x121,_0x1cb0d7._0xe5eedf,0x25b)]===void 0x0?{}:{'selector':_0x514872[_0x20ffc7(0x3d6,0xd4,0x70,_0x1cb0d7._0x281b20)]},'errorMessage':_0x514872[_0x20ffc7(_0x1cb0d7._0x5d5a67,_0x1cb0d7._0x2e4587,0x5b6,_0x1cb0d7._0x315a96)]});}if(isAbortError(_0x514872)||_0x3cd876['signal'][_0x20ffc7(_0x1cb0d7._0x29b2db,_0x1cb0d7._0x3d0a49,_0x1cb0d7._0x4e77d6,0x232)]||_0x420dde['signal'][_0x20ffc7(_0x1cb0d7._0x2eba55,_0x1cb0d7._0x595a3e,_0x1cb0d7._0x48f005,_0x1cb0d7._0x4863f2)]){const _0x1209af=getRunTerminalErrorMessage(_0x51a439[_0x20ffc7(0x28,0x14c,0x270,_0x1cb0d7._0x23c6c4)])??(_0x514872 instanceof Error?_0x514872[_0x3189e7(_0x1cb0d7._0x675748,_0x1cb0d7._0x7f7ca7,_0x1cb0d7._0x55154a,_0x1cb0d7._0x426e54)]:String(_0x514872)),_0x149f41=formatAbortedRunMessage(_0x51a439[_0x20ffc7(_0x1cb0d7._0x387bf5,0x499,_0x1cb0d7._0x31347a,0x49a)],_0x1209af);_0x51a439={..._0x51a439,'status':_0x3189e7(-_0x1cb0d7._0x1e8cf,_0x1cb0d7._0xfe9c84,0xdf,-_0x1cb0d7._0x3b36bf),'errorMessage':_0x149f41},_0x37a5e1={'status':'aborted','errorMessage':_0x149f41};throw new ToolExecutionError(_0x149f41,{...createRunSummary(_0x51a439),'aborted':!![],'errorMessage':_0x149f41});}const _0x46db09=getRunTerminalErrorMessage(_0x51a439['result'])??(_0x514872 instanceof Error?_0x514872[_0x20ffc7(0x375,_0x1cb0d7._0x243b54,_0x1cb0d7._0x3ffd60,_0x1cb0d7._0x315a96)]:String(_0x514872))??_0x20ffc7(0x2e9,_0x1cb0d7._0x33af59,-0x38,_0x1cb0d7._0x2b976a)+_0x51a439[_0x20ffc7(0x36a,_0x1cb0d7._0xd0a8b6,0x68a,_0x1cb0d7._0x722d44)]+_0x20ffc7(_0x1cb0d7._0x9b485e,_0x1cb0d7._0x43aabf,_0x1cb0d7._0x303dc8,_0x1cb0d7._0x2dd21e);_0x51a439={..._0x51a439,'status':'failed','errorMessage':_0x46db09},_0x37a5e1={'status':'failed','errorMessage':_0x46db09};throw new ToolExecutionError(_0x46db09,{...createRunSummary(_0x51a439),'errorMessage':_0x46db09});}finally{let _0x75e0e8,_0x2b0cc9;const _0x3fac2d=_0x575974=>{if(_0x575974===void 0x0)return;try{_0x575974();}catch(_0x175189){_0x2b0cc9??=_0x175189 instanceof Error?_0x175189:new Error(String(_0x175189));}};if(_0x2b159d&&_0x4fd002!==void 0x0){const _0x35f4bb=_0x37a5e1??{'status':_0x20ffc7(0x3b2,_0x1cb0d7._0x13620f,_0x1cb0d7._0x5a1b1f,_0x1cb0d7._0x2e2f43)};try{await _0x4fd002['finish'](_0x54518d,_0x35f4bb);}catch(_0x5b413a){_0x75e0e8=_0x5b413a instanceof Error?_0x5b413a:new Error(String(_0x5b413a));}}_0x3fac2d(_0x33fd86[_0x3189e7(0x212,0x7,_0x1cb0d7._0x435f5a,-_0x1cb0d7._0x24ac5d)]===void 0x0?void 0x0:()=>_0x33fd86[_0x3189e7(-0xec,0x7,-0xe3,0x8c)]?.(_0x54518d)),_0x3fac2d(_0x2f01bc),_0x3fac2d(_0x1ead4e),_0x3fac2d(_0x326f2b),_0x3fac2d(_0xec6bba),_0x3fac2d(_0x1187a4),_0x75e0e8!==void 0x0&&(_0x2f8c6b&&(_0x75e0e8['cause']=_0x1fcbcb),rethrowDelegatedError(_0x75e0e8)),_0x2b0cc9!==void 0x0&&rethrowDelegatedError(_0x2b0cc9);}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0xb3e23a){return[createAssignTaskTool(_0xb3e23a)];}import{mkdir as _0x2679ea,writeFile}from'fs/promises';import*as _0x528770 from'path';function sanitizeFileName(_0xb0e3f1){const _0x48b79a={_0x469d34:0x1a0},_0x37ad7e={_0x2dabf0:0x1ab,_0xef20b8:0x114,_0x4036c7:0x756};function _0x3af8e2(_0x3f3360,_0x252fee,_0x42e88f,_0x2f1d95){return _0x5b2413(_0x3f3360-_0x37ad7e._0x2dabf0,_0x252fee-_0x37ad7e._0xef20b8,_0x252fee- -_0x37ad7e._0x4036c7,_0x2f1d95);}return _0xb0e3f1[_0x3af8e2(0x1f7,_0x48b79a._0x469d34,0x44,0x166)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x1d3de8,_0x1a584a){const _0x495949={_0x8893b9:0x67b,_0x1d11f8:0x63c,_0x5a7ec0:0x586,_0x7432d9:0x298,_0x480e8c:0x51b,_0x4059bb:0x4de,_0x2f91a9:0x3a5,_0x5c40eb:0x3dd,_0x4704a5:0x3dc,_0x331466:0x4a1,_0x23727e:0x5b3,_0x4e9d80:0xba7,_0x499e93:0xa56,_0x171487:0x49c,_0x587023:0x2cf,_0x29d45b:0x6bf,_0x1cac0c:0x7d8,_0x1f317d:0x8f9,_0x952e84:0x2c8,_0x291bd1:0x1a4,_0x2d467c:0x987,_0x2e0888:0x8c0,_0x1c8858:0xb20,_0x15aa3d:0x431,_0x2d23f3:0x7b0,_0x12b6a6:0x55e,_0x54f8c4:0x7fd,_0xc372c7:0x612,_0x2c7196:0x890,_0x1ec715:0x725,_0xb76187:0x619,_0x1288b1:0x65d,_0x29430c:0x433,_0x5a1b3b:0x862,_0x269225:0x4a0,_0x3541bb:0x4f4,_0x3155df:0x521,_0x5bc67d:0x556,_0x3aa533:0x6f2,_0x15ff73:0x4c0,_0x499fc5:0x5f4,_0x5deee0:0x65b,_0x387bc8:0x451,_0x379ad2:0x685,_0x441708:0x8f9,_0x200373:0x454,_0x25bacb:0x5bc,_0x1860c3:0x7a6,_0x520f66:0x5e7,_0x4ee9b2:0x920,_0x382ad6:0xa87,_0x10f07f:0x534,_0x1d751d:0x481,_0x23aa02:0x28c,_0x4f6abd:0x2f9,_0x771419:0x705,_0x234513:0x7b1},_0xe299f={_0xf348eb:0x93,_0x380cef:0x11,_0x416590:0x3a0},_0x1cc043={_0x542388:0x4a},{maxBytes:_0x351740,sessionDir:_0x3496c2}=_0x1a584a;if(!_0x1d3de8[_0x5e45c1(_0x495949._0x8893b9,0x59b,_0x495949._0x1d11f8,_0x495949._0x5a7ec0)]||Buffer[_0xf2c270(_0x495949._0x7432d9,0x3c5,_0x495949._0x480e8c,0x2c7)](_0x1d3de8['output'],_0x5e45c1(0x619,0x6b9,_0x495949._0x4059bb,0x606))<=_0x351740)return _0x1d3de8;function _0xf2c270(_0x59bb54,_0xc70b2e,_0x56f40e,_0x5b2198){return _0x28bc81(_0x59bb54-0x1d3,_0xc70b2e-_0x1cc043._0x542388,_0xc70b2e-0x81,_0x5b2198);}const _0x2a26ab=Buffer[_0xf2c270(0x508,0x3c5,0x4c7,_0x495949._0x2f91a9)](_0x1d3de8[_0xf2c270(0x501,0x35c,_0x495949._0x5c40eb,_0x495949._0x4704a5)],_0x5e45c1(0x619,_0x495949._0x331466,0x78a,_0x495949._0x23727e));if(!_0x3496c2){const _0x4fce27=_0x1d3de8[_0xf2c270(0x4b7,0x35c,0x342,0x150)]['slice'](0x0,_0x351740);return{..._0x1d3de8,'output':_0x4fce27+(_0x5e45c1(0x98b,0x93a,0xb61,_0x495949._0x4e9d80)+_0x351740+_0x5e45c1(0x8b1,0x81f,0x8cb,_0x495949._0x499e93)+_0x2a26ab+_0xf2c270(_0x495949._0x171487,0x5ba,0x3fc,0x469)),'meta':{..._0x1d3de8[_0xf2c270(_0x495949._0x587023,0x4b9,0x3d2,_0x495949._0x29d45b)],'truncated':!![],'originalBytes':_0x2a26ab,'transforms':[..._0x1d3de8[_0x5e45c1(_0x495949._0x1cac0c,_0x495949._0x1f317d,0x6a7,0x7b0)][_0xf2c270(0x181,_0x495949._0x952e84,_0x495949._0x291bd1,0x24a)],_0x5e45c1(_0x495949._0x2d467c,0x826,_0x495949._0x2e0888,_0x495949._0x1c8858)]}};}const _0x5a37af=_0x1d3de8[_0xf2c270(0x301,_0x495949._0x15aa3d,0x211,0x48e)]+'_'+sanitizeFileName(_0x1d3de8['callId'])+_0x5e45c1(0x656,_0x495949._0x2d23f3,0x508,_0x495949._0x12b6a6),_0x43e285=_0x528770[_0x5e45c1(_0x495949._0x54f8c4,_0x495949._0xc372c7,0x8ba,_0x495949._0x2c7196)](_0x3496c2,_0x5a37af);await _0x2679ea(_0x3496c2,{'recursive':!![]}),await writeFile(_0x43e285,_0x1d3de8[_0x5e45c1(0x67b,_0x495949._0x1ec715,0x6da,0x81f)],_0x5e45c1(_0x495949._0xb76187,0x570,_0x495949._0x1288b1,_0x495949._0x29430c));let _0x1a1962=_0x1d3de8[_0x5e45c1(_0x495949._0x8893b9,_0x495949._0x5a1b3b,0x61d,_0x495949._0x269225)]['slice'](0x0,_0x351740);const _0x3b0f25=_0x1a1962[_0xf2c270(_0x495949._0x3541bb,0x51c,_0x495949._0x3155df,0x636)]('\x0a');function _0x5e45c1(_0x23bf21,_0x279af4,_0x4eaa30,_0x39fc23){return _0x28bc81(_0x23bf21-_0xe299f._0xf348eb,_0x279af4-_0xe299f._0x380cef,_0x23bf21-_0xe299f._0x416590,_0x279af4);}_0x3b0f25>_0x351740*0.5&&(_0x1a1962=_0x1a1962[_0xf2c270(0x5c7,_0x495949._0x5bc67d,_0x495949._0x3aa533,_0x495949._0x15ff73)](0x0,_0x3b0f25));const _0x396d70=['',_0x5e45c1(_0x495949._0x499fc5,_0x495949._0x5deee0,_0x495949._0x387bc8,_0x495949._0x379ad2),_0x5e45c1(_0x495949._0x441708,0xaa6,0x9f8,0xa41)+_0x351740+_0x5e45c1(0x64c,_0x495949._0x200373,_0x495949._0x25bacb,0x7f6)+_0x2a26ab+_0x5e45c1(_0x495949._0x1860c3,0x5c6,0x8c6,_0x495949._0x520f66),_0x5e45c1(_0x495949._0x4ee9b2,0x9d6,0x9e8,_0x495949._0x382ad6)+_0x43e285,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.','</system-reminder>'][_0xf2c270(0x30b,_0x495949._0x4059bb,_0x495949._0x10f07f,0x6f9)]('\x0a');return{..._0x1d3de8,'output':_0x1a1962+_0x396d70,'meta':{..._0x1d3de8['meta'],'truncated':!![],'originalBytes':_0x2a26ab,'transforms':[..._0x1d3de8[_0xf2c270(_0x495949._0x1d751d,0x4b9,0x589,0x3da)][_0xf2c270(0x167,0x2c8,_0x495949._0x23aa02,_0x495949._0x4f6abd)],_0xf2c270(0x827,0x668,_0x495949._0x771419,_0x495949._0x234513)]}};}import{readFile as _0x300b53,stat as _0x3dcd52}from'fs/promises';function createAnchoredFileError(_0x4beaad,_0x38e90d,_0x325bc4){return new ToolExecutionError(_0x38e90d,{'error':_0x4beaad,..._0x325bc4});}import{createHash}from'crypto';function sha256Bytes(_0x45a7f7){const _0x48162d={_0x428358:0x663,_0x433372:0x76e,_0x2712b5:0x1a1,_0x384cb2:0x558,_0x2a2e6d:0x38f},_0x208c04={_0x51cd17:0x24,_0x31951d:0x23d},_0x6c2792={_0x22af70:0x1d5};function _0x5d3391(_0x54fb5,_0xf3a6bb,_0x5d6720,_0x28e60d){return _0x28bc81(_0x54fb5-0x33,_0xf3a6bb-_0x6c2792._0x22af70,_0x54fb5-0x370,_0x5d6720);}function _0x6a457f(_0x425a08,_0x31e11e,_0x66896c,_0x2fcf3d){return _0x28bc81(_0x425a08-0x6,_0x31e11e-_0x208c04._0x51cd17,_0x2fcf3d- -_0x208c04._0x31951d,_0x425a08);}return createHash(_0x5d3391(0x7ad,_0x48162d._0x428358,0x5d3,_0x48162d._0x433372))['update'](_0x45a7f7)['digest'](_0x6a457f(0x588,_0x48162d._0x2712b5,_0x48162d._0x384cb2,_0x48162d._0x2a2e6d));}function _0x28bc81(_0x526092,_0x312368,_0x4606ce,_0x40aedb){const _0x464173={_0x169761:0x28};return _0x8662(_0x4606ce- -_0x464173._0x169761,_0x40aedb);}function countLines(_0x53ee1b){const _0x228cdf={_0x5b2ba4:0x6a6},_0x4bd14d={_0x263d0f:0x13e,_0x10e2be:0x1e1},_0x5c09e6={_0x2bae04:0xb5,_0x285889:0x6ca};function _0x2af230(_0x529a15,_0xb82181,_0x47c272,_0x4ff599){return _0x5b2413(_0x529a15-0x3b,_0xb82181-_0x5c09e6._0x2bae04,_0xb82181- -_0x5c09e6._0x285889,_0x529a15);}function _0x1a0597(_0x32d71a,_0x89b863,_0x12151f,_0x145f3c){return _0x28bc81(_0x32d71a-_0x4bd14d._0x263d0f,_0x89b863-0x1b,_0x89b863-_0x4bd14d._0x10e2be,_0x145f3c);}const _0x365f3f=_0x53ee1b[_0x1a0597(0x909,0x738,0x8b6,0x6b7)](/\n$/,'');return _0x365f3f[_0x1a0597(_0x228cdf._0x5b2ba4,0x72a,0x508,0x7b6)]===0x0?0x0:_0x365f3f['split']('\x0a')['length'];}function replaceFirstExact(_0x2c64bb,_0x54cc90,_0x464a4f){const _0xae37eb={_0x4e238d:0x7d7,_0x1a082d:0x9e8,_0x128c1e:0x6c7,_0x10ac48:0x940,_0x17e2d4:0x62a,_0x2e8a38:0x788,_0x1cadef:0x7d6,_0x409cb2:0x5f4,_0xae2575:0x75e,_0x3dc16d:0x647,_0x3f1e1e:0x84a},_0x1e9127={_0x350b77:0x78,_0x235abf:0x301},_0x19b30e={_0xcf185a:0x107,_0xf28785:0x1da,_0x5628df:0xa6},_0x46025d=_0x2c64bb['indexOf'](_0x54cc90);if(_0x46025d===-0x1)return void 0x0;function _0x1e992a(_0x375bc9,_0x5ec8b1,_0x1df76b,_0x13a28b){return _0x5b2413(_0x375bc9-_0x19b30e._0xcf185a,_0x5ec8b1-_0x19b30e._0xf28785,_0x5ec8b1- -_0x19b30e._0x5628df,_0x13a28b);}const _0x1006bc=_0x2c64bb[_0x1e992a(_0xae37eb._0x4e238d,0x7ce,_0xae37eb._0x1a082d,_0xae37eb._0x128c1e)](0x0,_0x46025d)[_0x3a3374(0x810,0x552,_0xae37eb._0x10ac48,0x746)]('\x0a')[_0x3a3374(0x89f,0x8c1,_0xae37eb._0x17e2d4,0x84a)],_0x1a54b6=countLines(_0x54cc90),_0x51204d=countLines(_0x464a4f);function _0x3a3374(_0x3114fe,_0x3b88fa,_0x2d8713,_0x3963ef){return _0x28bc81(_0x3114fe-0x42,_0x3b88fa-_0x1e9127._0x350b77,_0x3963ef-_0x1e9127._0x235abf,_0x3114fe);}return{'before':_0x2c64bb,'after':_0x2c64bb[_0x3a3374(0x8e0,_0xae37eb._0x2e8a38,0x992,_0xae37eb._0x1cadef)](0x0,_0x46025d)+_0x464a4f+_0x2c64bb[_0x3a3374(0x61c,_0xae37eb._0x409cb2,0x71d,_0xae37eb._0x1cadef)](_0x46025d+_0x54cc90[_0x3a3374(_0xae37eb._0xae2575,0xa20,_0xae37eb._0x3dc16d,_0xae37eb._0x3f1e1e)]),'lineNumbers':{'oldStartLine':_0x1006bc,'oldEndLine':_0x1006bc+_0x1a54b6-0x1,'newStartLine':_0x1006bc,'newEndLine':_0x1006bc+_0x51204d-0x1,'oldLineCount':_0x1a54b6,'newLineCount':_0x51204d}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x775438){const _0x94a5ce={_0x3356a3:0x349};function _0x5d5bd8(_0x4d53f2,_0x3b6dc1,_0x2c3394,_0x379245){return _0x28bc81(_0x4d53f2-0x1b9,_0x3b6dc1-0x1a5,_0x3b6dc1-0x192,_0x4d53f2);}if(!Number['isSafeInteger'](_0x775438)||_0x775438<0x1)throw createAnchoredFileError('invalid_range',_0x5d5bd8(0x6b2,0x4a0,_0x94a5ce._0x3356a3,0x5e0)+String(_0x775438)+'.');}function rangeLines(_0x3cca8a,_0x17a377){function _0x3a6521(_0x3bea3e,_0x310d8e,_0x285d22,_0x1af795){return _0x28bc81(_0x3bea3e-0x53,_0x310d8e-0x188,_0x1af795-0x156,_0x310d8e);}const _0x5d384b=[];for(let _0x5e63b1=_0x3cca8a;_0x5e63b1<=_0x17a377;_0x5e63b1+=0x1){_0x5d384b[_0x3a6521(0x450,0x4fd,0x72a,0x50c)](_0x5e63b1);}return _0x5d384b;}function normalizeContent(_0x505780){const _0x219f8a={_0x30e97d:0x3d7,_0x19905e:0x2a9,_0xee9489:0x3ba,_0x4df502:0x868,_0x126f79:0x733,_0x379e1b:0x944},_0x5a5bab={_0x4b17be:0x194,_0x45c1ab:0x3d,_0x1cbafa:0x51f},_0x184f4e={_0x22cb4d:0x139,_0x5a5ad1:0xb1};function _0x1b58ff(_0x39be19,_0x25280d,_0x3c3fe0,_0x508324){return _0x5b2413(_0x39be19-0x14d,_0x25280d-_0x184f4e._0x22cb4d,_0x25280d- -_0x184f4e._0x5a5ad1,_0x508324);}function _0x5313a0(_0x321784,_0x125703,_0x120196,_0x299c58){return _0x5b2413(_0x321784-_0x5a5bab._0x4b17be,_0x125703-_0x5a5bab._0x45c1ab,_0x321784- -_0x5a5bab._0x1cbafa,_0x299c58);}return _0x505780[_0x5313a0(_0x219f8a._0x30e97d,_0x219f8a._0x19905e,0x541,_0x219f8a._0xee9489)](/\r\n/g,'\x0a')[_0x1b58ff(_0x219f8a._0x4df502,_0x219f8a._0x126f79,0x5ed,_0x219f8a._0x379e1b)]('\x0a');}function planOperations(_0x574199,_0x5ef657){const _0x327570={_0x1ef1f1:0x3c4,_0xb19ccc:0x267,_0x397ba2:0x73b,_0x321fce:0x7a4,_0x44d8f0:0x42a,_0x3b9938:0x314,_0x597ff8:0x323,_0x1af978:0x305,_0x19d16b:0x1ec,_0x323538:0x3f8,_0x43e09b:0x545,_0x2dd45a:0x53f,_0x4d3822:0x357,_0x1cd2d0:0x412,_0x286321:0x5c7},_0x43ee0f={_0x48ee98:0x6a1,_0x175e68:0x74a,_0x567cd5:0x7d1,_0x51513e:0x751,_0x276181:0x804,_0xa3b7e8:0x4c3,_0x1a9274:0x809,_0x3bfc5e:0x8b0,_0x1e6f08:0x6df,_0x1299bd:0x6f6,_0x27c073:0x6f7,_0x215b54:0x58e,_0x239bfb:0x66a,_0x12d2ab:0x59c,_0x23c9a5:0x428,_0x3c9bda:0x403,_0x15150c:0x61f,_0x3c0518:0x718,_0x46fb9d:0x616,_0x2b3116:0x498,_0x17d3df:0x6e2,_0x223aff:0x392,_0x1e9b35:0x25e,_0x29da48:0x403,_0x4c775c:0x410,_0xfa1695:0x3da,_0x367473:0x7ab,_0x80936c:0x5bc,_0x2f61d1:0x670,_0x2d0b45:0x8e2,_0x1415b1:0xaa9,_0x3812ed:0x788,_0x113e02:0x5ea,_0x29cd4a:0xad5,_0x241d7a:0x596,_0x278eb4:0x8c7,_0xf1aeee:0x8b3,_0x4edcc2:0x538,_0x2a0de3:0x595,_0x1d36d7:0x662,_0x44b7d6:0x6d4,_0x4a9349:0x72e,_0x48a8a8:0x808,_0x72472d:0x70c,_0x2ea639:0xa03,_0x4de707:0x7f5,_0x2d626d:0x778,_0x36185a:0x7c0,_0x7f6a5b:0x8ff,_0x541ce0:0x649,_0x198c36:0x503,_0x173317:0x58e,_0x5aa985:0x649,_0x392e75:0x678,_0x32343b:0x521,_0x561232:0x394,_0x4d7a49:0x562,_0x272de1:0x4b4,_0x552ba8:0x4b6,_0x344630:0x9b5,_0x433414:0x649,_0x537f71:0x5e1,_0x1c2e61:0x4e7,_0x5830d8:0x9b6,_0x32c51f:0xacd,_0x129121:0xa80,_0x128787:0x8a6,_0x1db0e4:0x986,_0xa51b16:0x6cc,_0x9d0e6:0x698,_0x55a639:0x7f5,_0x5ba6c0:0x758,_0xf1149f:0x669,_0x317700:0x828,_0x3849c4:0x6dc,_0x4622f6:0x7a3,_0x232a98:0x773,_0x4f1537:0x7f5,_0x1f2845:0x687,_0x55517a:0x6db,_0x1f7de4:0x40e,_0x71facd:0x928,_0x47b823:0x5a7,_0x48366c:0x5b6,_0xd2281e:0x80c,_0x5bce58:0x40d,_0x5953d9:0x35d,_0x103c5b:0x624,_0x59b893:0x3b5,_0x1fd817:0x477,_0x56d14a:0x673,_0x5b1e74:0x675,_0x310414:0x788,_0x58a85c:0x952,_0x40dff1:0x1fc,_0x4eb05d:0x7a0,_0x1ef479:0x71e,_0x1fa80f:0x9f4,_0x25296a:0x7f7,_0x872653:0x5f6,_0x5b2b35:0xb24,_0x5ba4b1:0x800,_0x47f0b8:0x59e,_0x57fc34:0x7b4,_0xb694e6:0x4e0,_0x4ea397:0x548,_0x3308e7:0x4fb,_0x2c5de1:0xa66,_0x457982:0x888,_0x2c6376:0x69b,_0x109192:0x794,_0xba59de:0x60d,_0x8467d:0x884,_0x3b8363:0x77e,_0x512fc3:0xa07,_0x5e946a:0x86f,_0x3049a8:0xb16,_0x28ed29:0xb18,_0x21d7d6:0x961,_0xa6e8a1:0x8c3,_0x1cceb2:0x6f3,_0x4d6696:0x5d7,_0x1b8323:0x5fe,_0x3b2831:0x403,_0x49fb2b:0x389,_0x2453ce:0x6ca,_0x252e36:0x749},_0x291f00={_0x5d8fb1:0x347},_0x966fbf={_0x2e68a2:0x14c},_0x14a8b6={_0x2d9707:0x76,_0x401f9c:0xd8};function _0x3cd210(_0xa87cd8,_0x147b63,_0x398ab6,_0x137119){return _0x5b2413(_0xa87cd8-_0x14a8b6._0x2d9707,_0x147b63-_0x14a8b6._0x401f9c,_0x137119- -0x3a9,_0x147b63);}if(_0x5ef657['length']===0x0)throw createAnchoredFileError(_0x3cd210(0x46a,0x25b,_0x327570._0x1ef1f1,_0x327570._0xb19ccc),_0x3cd210(0x4af,0x5b6,0x323,0x3f3));if(_0x5ef657[_0x237a3c(_0x327570._0x397ba2,0x5bb,_0x327570._0x321fce,0x5fb)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x237a3c(0x3ba,_0x327570._0x44d8f0,_0x327570._0x3b9938,_0x327570._0x597ff8),_0x3cd210(_0x327570._0x1af978,0x22d,_0x327570._0x19d16b,0x1dd)+MAX_OPERATIONS+_0x237a3c(0x611,_0x327570._0x323538,0x4b2,0x593));function _0x237a3c(_0x1efbaa,_0x21e1e6,_0x18fa64,_0x56dcdd){return _0x28bc81(_0x1efbaa-0x1a9,_0x21e1e6-_0x966fbf._0x2e68a2,_0x56dcdd-0xb2,_0x21e1e6);}if(_0x574199['lines'][_0x3cd210(0x4cc,0x492,_0x327570._0x43e09b,_0x327570._0x2dd45a)]===0x0)throw createAnchoredFileError(_0x237a3c(_0x327570._0x4d3822,0x4c5,_0x327570._0x1cd2d0,0x323),'Empty\x20files\x20have\x20no\x20observable\x20line\x20anchors;\x20anchored\x20edits\x20require\x20at\x20least\x20one\x20line.');return _0x5ef657[_0x3cd210(0x768,0x7c8,0x5b6,_0x327570._0x286321)](_0xcb4f7=>{const _0x5094ad={_0x2f37d1:0x7f};function _0x49c468(_0x4bf4b3,_0x1e6585,_0x520099,_0x1495ee){return _0x237a3c(_0x4bf4b3-_0x5094ad._0x2f37d1,_0x1495ee,_0x520099-0xd6,_0x1e6585-0xe0);}function _0x5e2308(_0x1c5e3e,_0x4bb4df,_0x548440,_0x5df23b){return _0x237a3c(_0x1c5e3e-0x18b,_0x4bb4df,_0x548440-0x145,_0x1c5e3e-_0x291f00._0x5d8fb1);}switch(_0xcb4f7[_0x49c468(_0x43ee0f._0x48ee98,_0x43ee0f._0x175e68,_0x43ee0f._0x567cd5,0x8d9)]){case _0x5e2308(0x950,0x9b5,_0x43ee0f._0x51513e,_0x43ee0f._0x276181):{requireValidAnchorLine(_0xcb4f7[_0x49c468(0x728,0x649,_0x43ee0f._0xa3b7e8,_0x43ee0f._0x1a9274)]),requireValidAnchorLine(_0xcb4f7['endLine']);if(_0xcb4f7[_0x5e2308(_0x43ee0f._0x3bfc5e,_0x43ee0f._0x1e6f08,_0x43ee0f._0x1299bd,0x76c)]>_0xcb4f7[_0x49c468(_0x43ee0f._0x27c073,_0x43ee0f._0x215b54,0x3e5,0x52f)])throw createAnchoredFileError(_0x5e2308(_0x43ee0f._0x239bfb,0x74f,0x44f,0x50b),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');if(typeof _0xcb4f7['content']!==_0x49c468(_0x43ee0f._0x12d2ab,_0x43ee0f._0x23c9a5,0x399,0x3f3))throw createAnchoredFileError(_0x49c468(0x4fb,_0x43ee0f._0x3c9bda,_0x43ee0f._0x15150c,0x54f),_0x5e2308(_0x43ee0f._0x3c0518,0x5a8,0x50b,_0x43ee0f._0x46fb9d));if(_0xcb4f7['endLine']>_0x574199[_0x49c468(_0x43ee0f._0x2b3116,0x521,_0x43ee0f._0x17d3df,_0x43ee0f._0x223aff)]['length'])throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x1e9b35,_0x43ee0f._0x29da48,_0x43ee0f._0x4c775c,_0x43ee0f._0xfa1695),_0x5e2308(_0x43ee0f._0x367473,_0x43ee0f._0x80936c,_0x43ee0f._0x2f61d1,_0x43ee0f._0x2d0b45)+_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x1415b1,0x961,0xace)]+',\x20'+_0xcb4f7[_0x49c468(0x3a8,0x58e,0x79a,0x4f4)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x574199[_0x5e2308(_0x43ee0f._0x3812ed,0x669,_0x43ee0f._0x3c0518,_0x43ee0f._0x113e02)][_0x5e2308(0x942,0x8d8,_0x43ee0f._0x29cd4a,0x8b9)]+_0x49c468(0x66e,0x63f,_0x43ee0f._0x241d7a,0x580));const _0x22f700=normalizeContent(_0xcb4f7[_0x5e2308(_0x43ee0f._0x278eb4,0x9a9,0xa04,0x97f)]);return{'kind':'replace','canonical':{'operation':_0x49c468(_0x43ee0f._0xf1aeee,0x6e9,_0x43ee0f._0x4edcc2,_0x43ee0f._0x2a0de3),'startLine':_0xcb4f7['startLine'],'endLine':_0xcb4f7[_0x5e2308(0x7f5,_0x43ee0f._0x1d36d7,0x8a1,0x9ba)],'content':_0x22f700['join']('\x0a')},'spliceIndex':_0xcb4f7[_0x5e2308(0x8b0,0xab0,0x85b,_0x43ee0f._0x44b7d6)]-0x1,'deleteCount':_0xcb4f7[_0x49c468(0x515,_0x43ee0f._0x215b54,0x522,_0x43ee0f._0x4a9349)]-_0xcb4f7[_0x5e2308(0x8b0,0xa89,0x93c,_0x43ee0f._0x48a8a8)]+0x1,'rows':_0x22f700,'sourceStart':_0xcb4f7['startLine'],'sourceEnd':_0xcb4f7['endLine'],'requiredLines':rangeLines(_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x72472d,0x80c,_0x43ee0f._0x2ea639)],_0xcb4f7[_0x5e2308(_0x43ee0f._0x4de707,0x745,_0x43ee0f._0x2d626d,_0x43ee0f._0x36185a)])};}case _0x5e2308(_0x43ee0f._0x7f6a5b,0x821,0x7bb,0x930):{requireValidAnchorLine(_0xcb4f7[_0x49c468(0x803,_0x43ee0f._0x541ce0,0x755,0x4e6)]),requireValidAnchorLine(_0xcb4f7[_0x49c468(_0x43ee0f._0x198c36,_0x43ee0f._0x173317,0x3cb,0x747)]);if(_0xcb4f7[_0x49c468(0x867,_0x43ee0f._0x5aa985,0x65c,0x4b7)]>_0xcb4f7['endLine'])throw createAnchoredFileError(_0x5e2308(0x66a,_0x43ee0f._0x392e75,0x481,0x4d3),_0x5e2308(0x5fc,0x6f7,_0x43ee0f._0x113e02,0x446));if(_0xcb4f7['endLine']>_0x574199[_0x49c468(0x6ce,_0x43ee0f._0x32343b,0x499,_0x43ee0f._0x561232)]['length'])throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x4d7a49,0x403,_0x43ee0f._0x272de1,_0x43ee0f._0x552ba8),_0x5e2308(0xa03,0x910,_0x43ee0f._0x344630,0xb70)+_0xcb4f7[_0x49c468(0x680,_0x43ee0f._0x433414,_0x43ee0f._0x537f71,_0x43ee0f._0x1c2e61)]+',\x20'+_0xcb4f7['endLine']+_0x5e2308(_0x43ee0f._0x5830d8,_0x43ee0f._0x32c51f,0xaec,_0x43ee0f._0x129121)+_0x574199['lines']['length']+_0x5e2308(_0x43ee0f._0x128787,_0x43ee0f._0x1db0e4,0x786,_0x43ee0f._0xa51b16));return{'kind':_0x49c468(_0x43ee0f._0xa3b7e8,_0x43ee0f._0x9d0e6,0x778,0x80d),'canonical':{'operation':'delete','startLine':_0xcb4f7['startLine'],'endLine':_0xcb4f7[_0x5e2308(_0x43ee0f._0x55a639,0x679,0x82a,_0x43ee0f._0x5ba6c0)]},'spliceIndex':_0xcb4f7[_0x5e2308(0x8b0,0x9e4,0x879,0x857)]-0x1,'deleteCount':_0xcb4f7[_0x49c468(0x5e2,_0x43ee0f._0x215b54,0x5ea,_0x43ee0f._0xf1149f)]-_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x317700,_0x43ee0f._0x3849c4,0x941)]+0x1,'rows':[],'sourceStart':_0xcb4f7['startLine'],'sourceEnd':_0xcb4f7[_0x49c468(0x764,_0x43ee0f._0x173317,0x43b,_0x43ee0f._0x4622f6)],'requiredLines':rangeLines(_0xcb4f7[_0x5e2308(0x8b0,0x6a4,0x8dc,_0x43ee0f._0x232a98)],_0xcb4f7[_0x5e2308(_0x43ee0f._0x4f1537,0xa06,_0x43ee0f._0x1f2845,_0x43ee0f._0x55517a)])};}case'insert':{requireValidAnchorLine(_0xcb4f7['line']);if(_0xcb4f7[_0x49c468(0x5cb,_0x43ee0f._0x1f7de4,0x4b5,0x1f8)]!==_0x5e2308(0x747,_0x43ee0f._0x71facd,_0x43ee0f._0x47b823,_0x43ee0f._0x48366c)&&_0xcb4f7[_0x5e2308(0x675,_0x43ee0f._0xd2281e,0x5aa,0x66d)]!=='after')throw createAnchoredFileError('invalid_range',_0x49c468(_0x43ee0f._0x5bce58,_0x43ee0f._0x5953d9,0x234,0x297));if(typeof _0xcb4f7[_0x49c468(0x6a1,0x660,_0x43ee0f._0x1e6f08,_0x43ee0f._0x103c5b)]!==_0x49c468(_0x43ee0f._0x59b893,0x428,_0x43ee0f._0x1fd817,0x29b))throw createAnchoredFileError('invalid_range',_0x49c468(0x37d,0x506,0x665,_0x43ee0f._0x56d14a));if(_0xcb4f7[_0x49c468(0x823,0x7a0,_0x43ee0f._0x5b1e74,0x67f)]>_0x574199[_0x5e2308(_0x43ee0f._0x310414,_0x43ee0f._0x58a85c,0x811,0x7d6)][_0x5e2308(0x942,0x928,0xa23,0x8da)])throw createAnchoredFileError(_0x49c468(0x41e,0x403,_0x43ee0f._0x40dff1,0x243),'insert\x20line\x20'+_0xcb4f7[_0x49c468(0x86b,_0x43ee0f._0x4eb05d,_0x43ee0f._0x1ef479,0x8c0)]+_0x5e2308(_0x43ee0f._0x1fa80f,_0x43ee0f._0x25296a,0x83d,0xbb2)+_0x574199[_0x49c468(_0x43ee0f._0x872653,0x521,0x35e,0x5ff)][_0x5e2308(0x942,_0x43ee0f._0x5b2b35,0x9de,0xb05)]+_0x49c468(0x43f,0x63f,_0x43ee0f._0x5ba4b1,_0x43ee0f._0x47f0b8));const _0x387f8f=normalizeContent(_0xcb4f7[_0x5e2308(0x8c7,0x9ef,_0x43ee0f._0x57fc34,0x97a)]),_0x4e454e=_0xcb4f7[_0x5e2308(_0x43ee0f._0x5b1e74,0x897,0x4f1,0x519)]===_0x49c468(0x559,_0x43ee0f._0xb694e6,_0x43ee0f._0x4ea397,_0x43ee0f._0x3308e7)?_0xcb4f7[_0x5e2308(0xa07,0x9d9,_0x43ee0f._0x2c5de1,_0x43ee0f._0x457982)]-0x1:_0xcb4f7[_0x5e2308(0xa07,0x890,0x882,0xbd0)];return{'kind':_0x49c468(_0x43ee0f._0x2c6376,0x794,0x98c,0x5b2),'canonical':{'operation':_0x49c468(0x58f,_0x43ee0f._0x109192,0x971,_0x43ee0f._0xba59de),'position':_0xcb4f7[_0x5e2308(0x675,0x491,_0x43ee0f._0x8467d,_0x43ee0f._0x3b8363)],'line':_0xcb4f7[_0x5e2308(_0x43ee0f._0x512fc3,_0x43ee0f._0x5e946a,_0x43ee0f._0x3049a8,_0x43ee0f._0x28ed29)],'content':_0x387f8f[_0x5e2308(0x856,0x664,0x959,_0x43ee0f._0x21d7d6)]('\x0a')},'spliceIndex':_0x4e454e,'deleteCount':0x0,'rows':_0x387f8f,'gap':_0x4e454e,'requiredLines':[_0xcb4f7[_0x49c468(_0x43ee0f._0xa6e8a1,0x7a0,_0x43ee0f._0x1cceb2,_0x43ee0f._0x4d6696)]]};}default:{const _0x1dc545=_0xcb4f7;throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x1b8323,_0x43ee0f._0x3b2831,_0x43ee0f._0x49fb2b,0x1e8),_0x5e2308(_0x43ee0f._0x2453ce,_0x43ee0f._0x252e36,0x6cb,0x784)+String(_0x1dc545['operation'])+'\x27.');}}});}function assertNoOverlaps(_0x439f00){const _0x1d59b6={_0x5a0eae:0x850,_0x5742c1:0x848,_0x1a2e0c:0x72d,_0x1c582e:0x796,_0x1c3138:0x2b5,_0x447520:0x343,_0x32b0d0:0x99e,_0x14f16c:0x6e2,_0x4c0596:0x707,_0x2272b6:0x812,_0x277f7c:0x69c,_0x4a0266:0x6c4,_0x11627c:0x314,_0x34d57b:0x55,_0x20031e:0x387,_0x1c5c35:0x365,_0x3425b0:0x265,_0x9739b:0x425,_0x5891e9:0x1b2,_0x467de6:0x43a,_0x593150:0x746,_0x42c418:0x803,_0x164dbe:0x32a,_0x2100b8:0x269,_0xca8a04:0x747,_0x5e5a36:0x7a5,_0x382e16:0x82c,_0x1d1aed:0x940,_0x2b94aa:0x874,_0x3c5721:0x95d,_0x25bd6e:0x95d,_0x5dc629:0xa04,_0x3b07e8:0x12c,_0x428c4a:0x2e7,_0x4b4c11:0x8f3,_0x589a00:0x33},_0x262764={_0x2063e6:0x5a5};function _0x17ec2f(_0x6bb0bf,_0x4a89ac,_0x590475,_0x51cf45){return _0x28bc81(_0x6bb0bf-0x138,_0x4a89ac-0x4a,_0x4a89ac-0x35c,_0x51cf45);}function _0x4b533b(_0x5f0ce2,_0x4d54ad,_0x323ace,_0x45e923){return _0x5b2413(_0x5f0ce2-0x15e,_0x4d54ad-0x1b3,_0x323ace- -_0x262764._0x2063e6,_0x45e923);}const _0x38d7c4=_0x439f00['filter'](_0x17631c=>_0x17631c[_0x4b533b(0x455,0x4f6,0x305,0x519)]===_0x4b533b(0x36a,0x46a,0x351,0x511)||_0x17631c[_0x4b533b(0x22b,0x29d,0x305,0x112)]===_0x4b533b(0x4bb,0x215,0x300,0x2c7)),_0x4a1139=_0x439f00[_0x17ec2f(_0x1d59b6._0x5a0eae,0x7e1,0x6df,_0x1d59b6._0x5742c1)](_0x524199=>_0x524199[_0x17ec2f(0x680,0x867,0x9af,0x8aa)]===_0x17ec2f(0x7bb,0x95e,0x99d,0x9f2));for(let _0x51f915=0x0;_0x51f915<_0x38d7c4[_0x17ec2f(_0x1d59b6._0x1a2e0c,0x8a5,_0x1d59b6._0x1c582e,0x930)];_0x51f915+=0x1){for(let _0x569c2d=_0x51f915+0x1;_0x569c2d<_0x38d7c4[_0x4b533b(0x21f,_0x1d59b6._0x1c3138,_0x1d59b6._0x447520,0x2dc)];_0x569c2d+=0x1){const _0x3d3b50=_0x38d7c4[_0x51f915],_0xa40c37=_0x38d7c4[_0x569c2d];if(Math[_0x17ec2f(0x646,0x7c3,_0x1d59b6._0x32b0d0,_0x1d59b6._0x14f16c)](_0x3d3b50['sourceStart'],_0xa40c37[_0x17ec2f(0x4f7,_0x1d59b6._0x4c0596,0x817,_0x1d59b6._0x2272b6)])<=Math[_0x17ec2f(0x57d,_0x1d59b6._0x277f7c,_0x1d59b6._0x4a0266,0x852)](_0x3d3b50['sourceEnd'],_0xa40c37[_0x4b533b(_0x1d59b6._0x11627c,-_0x1d59b6._0x34d57b,0x1c6,_0x1d59b6._0x20031e)]))throw createAnchoredFileError(_0x4b533b(0x22c,_0x1d59b6._0x1c5c35,_0x1d59b6._0x3425b0,_0x1d59b6._0x9739b),_0x4b533b(0x24a,-_0x1d59b6._0x5891e9,0x56,-0x2c));}}for(let _0x6b97c0=0x0;_0x6b97c0<_0x4a1139[_0x4b533b(0x552,_0x1d59b6._0x467de6,0x343,0x348)];_0x6b97c0+=0x1){for(let _0x33a833=_0x6b97c0+0x1;_0x33a833<_0x4a1139[_0x17ec2f(0x917,0x8a5,0x99d,0x7fa)];_0x33a833+=0x1){if(_0x4a1139[_0x6b97c0][_0x17ec2f(_0x1d59b6._0x593150,0x95d,_0x1d59b6._0x42c418,0x95f)]===_0x4a1139[_0x33a833][_0x4b533b(0x57c,_0x1d59b6._0x164dbe,0x3fb,_0x1d59b6._0x2100b8)])throw createAnchoredFileError(_0x17ec2f(0x6fd,0x7c7,_0x1d59b6._0xca8a04,_0x1d59b6._0x5e5a36),_0x17ec2f(0x796,_0x1d59b6._0x382e16,_0x1d59b6._0x1d1aed,0x826));}}for(const _0x49a1e6 of _0x4a1139){for(const _0x3d83ce of _0x38d7c4){if(_0x49a1e6[_0x17ec2f(_0x1d59b6._0x2b94aa,_0x1d59b6._0x3c5721,0xa9f,0x9ba)]>=_0x3d83ce['sourceStart']&&_0x49a1e6[_0x17ec2f(0xa2f,_0x1d59b6._0x25bd6e,_0x1d59b6._0x5dc629,0x7c3)]<=_0x3d83ce[_0x4b533b(_0x1d59b6._0x3b07e8,_0x1d59b6._0x428c4a,0x1c6,0x2ea)]-0x1)throw createAnchoredFileError(_0x17ec2f(_0x1d59b6._0x4b4c11,0x7c7,_0x1d59b6._0xca8a04,0x843),_0x4b533b(0x92,0x1a9,_0x1d59b6._0x589a00,0x15b));}}}function assertLinesObserved(_0x4c233f,_0x2ab427){const _0x11ac52={_0x408876:0x5a4,_0x1bcff7:0x387,_0x59ba3b:0x1df,_0xe0772f:0xc1,_0x3b26db:0xb1,_0xf13efa:0x145,_0x58ec8d:0xdc,_0x900151:0x481,_0x39a9cb:0x509,_0x5d6b7a:0x207},_0x2dbedc={_0x112865:0x8f,_0x17c25f:0x6c2},_0x35380a={_0x8900bd:0xf4,_0x107ffb:0x2c2},_0x513a29=new Set();function _0x4c5f7b(_0x12cf12,_0x49b058,_0x1c5b05,_0x17339d){return _0x5b2413(_0x12cf12-_0x35380a._0x8900bd,_0x49b058-0x17c,_0x12cf12- -_0x35380a._0x107ffb,_0x17339d);}for(const _0xce58ea of _0x4c233f){for(const _0x1836be of _0xce58ea[_0x4c5f7b(_0x11ac52._0x408876,0x7a4,_0x11ac52._0x1bcff7,0x480)]){_0x513a29[_0x5c7851(-0xb8,-_0x11ac52._0x59ba3b,_0x11ac52._0xe0772f,0x12c)](_0x1836be);}}const _0x370348=[..._0x513a29][_0x5c7851(-0x5b,-0xc,-_0x11ac52._0x3b26db,_0x11ac52._0xf13efa)]((_0x513591,_0x572787)=>_0x513591-_0x572787);function _0x5c7851(_0x3cca27,_0x367f15,_0x5203f8,_0x37f16d){return _0x5b2413(_0x3cca27-_0x2dbedc._0x112865,_0x367f15-0x3d,_0x3cca27- -_0x2dbedc._0x17c25f,_0x37f16d);}for(const _0x2d19b8 of _0x370348){if(!_0x2ab427[_0x5c7851(-0x18,0x1a1,-0xda,_0x11ac52._0x58ec8d)](_0x2d19b8))throw createAnchoredFileError(_0x4c5f7b(_0x11ac52._0x900151,0x55d,_0x11ac52._0x39a9cb,0x589),_0x4c5f7b(0x320,_0x11ac52._0x5d6b7a,0x2cd,0x401)+_0x2d19b8+'\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20it\x20can\x20be\x20used\x20as\x20an\x20edit\x20anchor.',{'requiredLines':_0x370348});}return _0x370348;}function applyOperations(_0x26911f,_0x4129e8){const _0x40347d={_0x2fd82c:0xdf,_0x555359:0x1b6,_0x3298ca:0x308,_0x4b6d43:0x37,_0x95868f:0xc1,_0x13c0da:0xcd,_0x3bd59f:0x61,_0x4a7384:0x1fc,_0x1b2680:0x1ad,_0x574c42:0x75,_0x45a152:0xb6,_0x5a28f8:0x119,_0x24e614:0x113},_0x3207b0={_0x43cba1:0xc},_0x287261={_0x1b5c89:0x570,_0x66965b:0x708,_0x1ec1ef:0x7a3,_0x18e61a:0x708,_0x2cf6e5:0x5d2,_0x36bad5:0x84f,_0x12ff57:0x7a7,_0x5175cf:0x7f6,_0x436c94:0x734},_0x571d4d={_0x5ccf5f:0x10e},_0x12d873={_0x4fd57d:0x6d1,_0x5c90eb:0xd8,_0x2fa743:0x7a},_0x5d8540={_0x5c59cc:0x35},_0x1078c2=[..._0x26911f['lines']];function _0x47451c(_0x58d3e7,_0x5f2334,_0x418ef3,_0x10b8d5){return _0x5b2413(_0x58d3e7-0x11d,_0x5f2334-_0x5d8540._0x5c59cc,_0x418ef3- -0x222,_0x5f2334);}const _0x1b6af6=[..._0x4129e8][_0x1e0083(-_0x40347d._0x2fd82c,-0xdb,-_0x40347d._0x555359,0x46)]((_0x40d253,_0x7bf745)=>{if(_0x40d253[_0x5d284c(0x8e1,0x5ce,_0x287261._0x1b5c89,0x708)]!==_0x7bf745[_0x5d284c(0x5ad,0x80e,0x50e,_0x287261._0x66965b)])return _0x7bf745[_0x5d284c(0x52a,0x5bf,_0x287261._0x1ec1ef,_0x287261._0x18e61a)]-_0x40d253[_0x3d95a1(_0x287261._0x2cf6e5,_0x287261._0x36bad5,0x6c9,0x8b4)];const _0x5a1c4a=_0x40d253['kind']===_0x5d284c(0x899,0x957,0xb25,0x92c),_0x671365=_0x7bf745[_0x3d95a1(0x96c,_0x287261._0x12ff57,_0x287261._0x5175cf,_0x287261._0x436c94)]==='insert';function _0x5d284c(_0x9ffca9,_0x2af43d,_0x37148e,_0x237307){return _0x1e0083(_0x237307-_0x12d873._0x4fd57d,_0x9ffca9,_0x37148e-_0x12d873._0x5c90eb,_0x237307-_0x12d873._0x2fa743);}if(_0x5a1c4a!==_0x671365)return _0x5a1c4a?0x1:-0x1;function _0x3d95a1(_0x55944e,_0x1ad7bd,_0x15b652,_0x44fe02){return _0x1e0083(_0x15b652-0x692,_0x1ad7bd,_0x15b652-_0x571d4d._0x5ccf5f,_0x44fe02-0x90);}return 0x0;});for(const _0x448a11 of _0x1b6af6){_0x1078c2[_0x1e0083(-0xf3,-0x11c,-_0x40347d._0x3298ca,-0x27f)](_0x448a11[_0x1e0083(_0x40347d._0x4b6d43,0x234,_0x40347d._0x95868f,0x1e3)],_0x448a11[_0x1e0083(-0x13d,-0x10a,_0x40347d._0x13c0da,-_0x40347d._0x3bd59f)],..._0x448a11[_0x1e0083(_0x40347d._0x4a7384,0x13f,_0x40347d._0x1b2680,_0x40347d._0x574c42)]);}if(_0x1078c2['length']===0x0)return'';function _0x1e0083(_0x1c194c,_0x33a4bb,_0x3f0038,_0x1e6f0d){return _0x28bc81(_0x1c194c-_0x3207b0._0x43cba1,_0x33a4bb-0x1c,_0x1c194c- -0x3a7,_0x33a4bb);}const _0x34a281=_0x1078c2[_0x1e0083(_0x40347d._0x45a152,_0x40347d._0x5a28f8,0x8b,_0x40347d._0x24e614)]('\x0a');return _0x26911f['finalNewline']?_0x34a281+'\x0a':_0x34a281;}function operationRowDelta(_0x1429c7){const _0xa49555={_0x17bf77:0x556,_0x4573ee:0x6ff,_0x190b7b:0x76d,_0x1b83bb:0x88d},_0x319cb0={_0x390fa7:0x1a4,_0x150a13:0x243},_0xbc8b18={_0x359a5f:0x40};function _0x2ded59(_0x553e48,_0x411fd0,_0x4212f0,_0x29af18){return _0x5b2413(_0x553e48-_0xbc8b18._0x359a5f,_0x411fd0-0xb2,_0x4212f0- -0x116,_0x29af18);}function _0x475f1e(_0x3a69f8,_0x34d4a4,_0x1b46a3,_0xaf1a60){return _0x5b2413(_0x3a69f8-_0x319cb0._0x390fa7,_0x34d4a4-0x2,_0x34d4a4- -_0x319cb0._0x150a13,_0xaf1a60);}return _0x1429c7[_0x475f1e(_0xa49555._0x17bf77,_0xa49555._0x4573ee,0x6fd,_0xa49555._0x190b7b)][_0x475f1e(0x862,0x6a5,_0xa49555._0x1b83bb,0x89d)]-_0x1429c7['deleteCount'];}function finalFileOrder(_0x5fae07){const _0x33bf2e={_0x5dc32b:0x555,_0x4656a0:0x479,_0x5bb774:0x6f5,_0x533855:0x4e4},_0x1db72d={_0x17b0c1:0x1cc,_0x4e481e:0x17b,_0x2d76c0:0x210,_0x5e7ad1:0x2ce,_0x196c28:0x7a,_0x19495f:0x312,_0x134056:0x675,_0x434e04:0x61a},_0x184eba={_0x45f749:0x21a,_0x5b99d1:0xec},_0x40bc7f={_0x5e274a:0x1c2,_0x37ae64:0x14e};function _0x528661(_0x2c2efb,_0x2655f9,_0x492487,_0x43cf04){return _0x28bc81(_0x2c2efb-_0x40bc7f._0x5e274a,_0x2655f9-_0x40bc7f._0x37ae64,_0x2c2efb-0x28d,_0x2655f9);}return[..._0x5fae07][_0x528661(_0x33bf2e._0x5dc32b,_0x33bf2e._0x4656a0,_0x33bf2e._0x5bb774,_0x33bf2e._0x533855)]((_0x53ae73,_0x3df56b)=>{const _0x2a7235={_0x2fefde:0xa8};if(_0x53ae73[_0x3c46aa(_0x1db72d._0x17b0c1,_0x1db72d._0x4e481e,_0x1db72d._0x2d76c0,_0x1db72d._0x5e7ad1)]!==_0x3df56b['spliceIndex'])return _0x53ae73['spliceIndex']-_0x3df56b[_0x3c46aa(0x318,_0x1db72d._0x4e481e,0x322,_0x1db72d._0x196c28)];const _0x1b6c7f=_0x53ae73[_0x3c46aa(_0x1db72d._0x19495f,0x2a8,0x3a3,0x3a2)]===_0x2a4ced(0x5ed,_0x1db72d._0x134056,_0x1db72d._0x434e04,0x463);function _0x2a4ced(_0x47cd11,_0x2e7206,_0x515721,_0xf39013){return _0x528661(_0x2e7206- -_0x184eba._0x45f749,_0xf39013,_0x515721-_0x184eba._0x5b99d1,_0xf39013-0x128);}const _0x53ded8=_0x3df56b[_0x2a4ced(0x61c,0x57e,0x542,0x6bb)]==='insert';if(_0x1b6c7f!==_0x53ded8)return _0x1b6c7f?-0x1:0x1;function _0x3c46aa(_0x1e1a2e,_0x4719db,_0x3dbf34,_0x68fada){return _0x528661(_0x4719db- -0x4f0,_0x3dbf34,_0x3dbf34-_0x2a7235._0x2fefde,_0x68fada-0xb4);}return 0x0;});}function computeFinalFileNewSideLines(_0xf77d9d){const _0x456adb={_0x42a966:0x7b1,_0x5e2b17:0x8c2,_0x5e6ecb:0x5c9,_0x3f8279:0x5ee,_0x427252:0x329,_0x52bf3c:0x4ae,_0x34b63f:0x332,_0x5de29c:0x5b6,_0x233e72:0x583,_0x27fa9f:0x6f2,_0x23946b:0x696,_0x545fc9:0x9d9,_0x3bbd7f:0x876,_0x2a8032:0x44e,_0x1b3bbd:0x568,_0x115089:0xa04,_0x531a0d:0x6c5,_0x420f28:0x838,_0xc8bab7:0x168,_0x32c3cf:0x20b,_0x46c17e:0x52,_0x57f94f:0x773,_0x36daba:0x984,_0x40c76a:0x76e,_0xb0548c:0x802,_0x58b378:0x7b1,_0x370e99:0x705,_0x256862:0x95},_0x4791b5={_0x4ecf7d:0x1c4};function _0x431dbc(_0x9d7944,_0x31dd12,_0x442c5c,_0x589b0d){return _0x5b2413(_0x9d7944-_0x4791b5._0x4ecf7d,_0x31dd12-0x183,_0x442c5c- -0x53f,_0x31dd12);}const _0x3028db=new Array(_0xf77d9d[_0x4373b2(0x879,0x99e,_0x456adb._0x42a966,0x718)]);let _0x2f60dc=0x0;function _0x4373b2(_0x2bac65,_0x5f2ce8,_0xe6f01a,_0x317be0){return _0x5b2413(_0x2bac65-0x1aa,_0x5f2ce8-0x1bb,_0xe6f01a- -0x137,_0x317be0);}for(const _0x460f99 of finalFileOrder(_0xf77d9d)){const _0xd05b98=_0x460f99[_0x4373b2(0x5e2,_0x456adb._0x5e2b17,0x773,0x8a2)]==='insert'?_0x460f99[_0x4373b2(_0x456adb._0x5e6ecb,_0x456adb._0x3f8279,0x568,0x57a)][_0x4373b2(_0x456adb._0x427252,_0x456adb._0x52bf3c,0x4e4,_0x456adb._0x34b63f)]===_0x4373b2(0x610,0x5e0,_0x456adb._0x5de29c,0x4f2)?_0x460f99[_0x4373b2(0x57b,_0x456adb._0x233e72,0x568,_0x456adb._0x27fa9f)][_0x4373b2(_0x456adb._0x23946b,_0x456adb._0x545fc9,_0x456adb._0x3bbd7f,0x9b8)]:_0x460f99[_0x4373b2(0x41e,_0x456adb._0x2a8032,_0x456adb._0x1b3bbd,0x617)][_0x4373b2(_0x456adb._0x115089,_0x456adb._0x531a0d,0x876,_0x456adb._0x420f28)]+0x1:_0x460f99[_0x431dbc(_0x456adb._0xc8bab7,0x308,_0x456adb._0x32c3cf,_0x456adb._0x46c17e)],_0x4080fc=_0xd05b98+_0x2f60dc,_0x12c3cf=_0x460f99[_0x4373b2(0x7fb,0x891,_0x456adb._0x57f94f,_0x456adb._0x36daba)]===_0x4373b2(0x65b,_0x456adb._0x3bbd7f,_0x456adb._0x40c76a,0x620)?0x0:_0x460f99['rows'][_0x4373b2(0x613,_0x456adb._0xb0548c,_0x456adb._0x58b378,_0x456adb._0x370e99)];_0x3028db[_0xf77d9d[_0x431dbc(0x1e5,0x262,0xc2,_0x456adb._0x256862)](_0x460f99)]={'newStartLine':_0x4080fc,'newEndLine':_0x4080fc+_0x12c3cf-0x1},_0x2f60dc+=operationRowDelta(_0x460f99);}return _0x3028db;}function buildBlock(_0x2aa906,_0x1c1b38,_0x933682,_0x53629d){const _0x209e56={_0x5b949e:0x57e,_0x476995:0x2ee,_0x35433e:0x39b,_0x3d9328:0x2ca,_0xa5d3b7:0x5bc,_0xa7fb3:0x86d,_0x2c3df6:0x51f,_0x286ec8:0x393,_0x305548:0x4c5,_0x2d1115:0x48e,_0x34ce35:0x5cf,_0x4cc62f:0x548,_0x476644:0x5f2,_0x446aea:0x614,_0x3339c6:0x4b7,_0x587a06:0x5c4,_0x49e8c6:0x538,_0x8557a9:0x2e4,_0x9292c3:0x327,_0xe7cfc4:0x497,_0x9ccd04:0x487,_0x3abb3a:0x46b,_0x5eac5a:0x419,_0x392866:0x4f4,_0x2e75ed:0x60e,_0x14021c:0x605,_0x3c1c87:0x71d,_0x34b008:0x453,_0x4ac39c:0x36e,_0x1a745a:0x327,_0x3c3844:0x446,_0x597c4a:0x324,_0x162411:0x661},_0x43da7c={_0x57d1e0:0x18b,_0x5b5cc8:0x1e1};if(_0x1c1b38['kind']===_0x243697(0x78b,0x3ee,0x4a6,_0x209e56._0x5b949e)){const {line:_0x30cb53,position:_0x5903c9}=_0x1c1b38[_0x243697(_0x209e56._0x476995,0x443,0x452,0x27c)],_0x132c70=_0x5903c9===_0x243697(0x47d,0x469,_0x209e56._0x35433e,_0x209e56._0x3d9328)?_0x30cb53:_0x30cb53+0x1;return{'oldText':'','newText':_0x1c1b38[_0x5b27cb(0x68e,_0x209e56._0xa5d3b7,0x620,_0x209e56._0xa7fb3)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x132c70,'oldEndLine':_0x132c70-0x1,'newStartLine':_0x933682,'newEndLine':_0x53629d,'oldLineCount':0x0,'newLineCount':_0x1c1b38[_0x243697(0x64a,0x674,0x511,_0x209e56._0x2c3df6)][_0x243697(0x5f0,_0x209e56._0x286ec8,0x432,_0x209e56._0x305548)]}};}const _0x2db855=_0x2aa906['lines'][_0x5b27cb(0x5c0,_0x209e56._0x2d1115,_0x209e56._0x34ce35,0x65c)](_0x1c1b38['sourceStart']-0x1,_0x1c1b38['sourceEnd'])[_0x5b27cb(_0x209e56._0x4cc62f,0x62e,_0x209e56._0x476644,_0x209e56._0x446aea)]('\x0a');function _0x5b27cb(_0x23c523,_0x2c3fd9,_0x208530,_0x7e08c1){return _0x5b2413(_0x23c523-_0x43da7c._0x57d1e0,_0x2c3fd9-_0x43da7c._0x5b5cc8,_0x23c523- -0x2b4,_0x208530);}function _0x243697(_0x471266,_0x3d5437,_0x38b686,_0x409fcc){return _0x28bc81(_0x471266-0x80,_0x3d5437-0x75,_0x409fcc- -0x84,_0x471266);}const _0x52fe44=_0x1c1b38[_0x5b27cb(_0x209e56._0x3339c6,_0x209e56._0x587a06,_0x209e56._0x49e8c6,_0x209e56._0x8557a9)]-_0x1c1b38[_0x243697(0x1db,0x520,0x2f0,_0x209e56._0x9292c3)]+0x1;if(_0x1c1b38[_0x243697(0x649,_0x209e56._0xe7cfc4,0x2ea,_0x209e56._0x9ccd04)]===_0x243697(_0x209e56._0x3abb3a,_0x209e56._0x5eac5a,_0x209e56._0x392866,0x482))return{'oldText':_0x2db855,'newText':'','lineNumbers':{'oldStartLine':_0x1c1b38['sourceStart'],'oldEndLine':_0x1c1b38[_0x5b27cb(_0x209e56._0x3339c6,_0x209e56._0x2e75ed,_0x209e56._0x14021c,0x419)],'newStartLine':_0x933682,'newEndLine':_0x933682-0x1,'oldLineCount':_0x52fe44,'newLineCount':0x0}};return{'oldText':_0x2db855,'newText':_0x1c1b38[_0x243697(0x34d,_0x209e56._0x3c1c87,0x352,0x51f)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x1c1b38[_0x243697(0x3e9,_0x209e56._0x34b008,_0x209e56._0x4ac39c,_0x209e56._0x1a745a)],'oldEndLine':_0x1c1b38[_0x5b27cb(0x4b7,0x64d,_0x209e56._0x3c3844,0x5a3)],'newStartLine':_0x933682,'newEndLine':_0x53629d,'oldLineCount':_0x52fe44,'newLineCount':_0x1c1b38[_0x243697(0x6ff,_0x209e56._0x597c4a,_0x209e56._0x162411,0x51f)]['length']}};}function stableStringify(_0x1d422f){const _0x360370={_0x3f21ca:0x15b,_0xf940e1:0x56,_0x232d38:0x576,_0x18d9bc:0xbe,_0x52b788:0x31,_0x2ffae5:0x2b4,_0x4b7e13:0x7f,_0x56bbda:0x20a,_0x71b308:0x3ca,_0x261d11:0x25f,_0x33445b:0x26d,_0x5dc56d:0x749,_0x1be97c:0xbe,_0x2170d5:0x148},_0x2ac3ee={_0x554ae2:0x25,_0x500f63:0x73e},_0x1fcb9d={_0x10231c:0x1e2};if(Array[_0x271b1c(-0x33c,-_0x360370._0x3f21ca,_0x360370._0xf940e1,-0x24)](_0x1d422f))return'['+_0x1d422f[_0x1c7933(0x532,0x70f,0x5ba,_0x360370._0x232d38)](stableStringify)[_0x271b1c(-0x2a,_0x360370._0x18d9bc,-_0x360370._0x52b788,0x6e)](',')+']';function _0x1c7933(_0x375c2c,_0x124603,_0x4251fc,_0x16d5cd){return _0x28bc81(_0x375c2c-_0x1fcb9d._0x10231c,_0x124603-0xa8,_0x16d5cd- -0x5b,_0x124603);}function _0x271b1c(_0x37c90c,_0x56aae1,_0x5bd998,_0x45c911){return _0x5b2413(_0x37c90c-0x1a5,_0x56aae1-_0x2ac3ee._0x554ae2,_0x56aae1- -_0x2ac3ee._0x500f63,_0x5bd998);}if(_0x1d422f!==null&&typeof _0x1d422f===_0x1c7933(_0x360370._0x2ffae5,_0x360370._0x4b7e13,0x1f3,_0x360370._0x56bbda)){const _0x26c7e3=_0x1d422f;return'{'+Object['keys'](_0x26c7e3)[_0x1c7933(_0x360370._0x71b308,0x16d,_0x360370._0x261d11,_0x360370._0x33445b)]()[_0x1c7933(0x583,0x3f3,_0x360370._0x5dc56d,_0x360370._0x232d38)](_0x162abe=>JSON[_0x1c7933(0x6b4,0x2c0,0x553,0x4d9)](_0x162abe)+':'+stableStringify(_0x26c7e3[_0x162abe]))[_0x271b1c(0x106,_0x360370._0x1be97c,_0x360370._0x2170d5,0xde)](',')+'}';}return JSON['stringify'](_0x1d422f);}function prepareCanonicalFileEdit(_0x2c20c0,_0xc183f1,_0x3b71d6){const _0x550d96={_0x426595:0x44b,_0x7cdba6:0x928,_0x1c940c:0x6fc,_0x5bb928:0x913,_0x404581:0xa4c},_0x2fd3d1={_0x2146f9:0x66},_0xfa725b={_0x5d3519:0x12a},_0x2ff250=planOperations(_0x2c20c0,_0x3b71d6);assertNoOverlaps(_0x2ff250);function _0x4d0f5(_0x489e17,_0x154e31,_0x564de6,_0x34e28d){return _0x28bc81(_0x489e17-_0xfa725b._0x5d3519,_0x154e31-0x6c,_0x34e28d-0x18d,_0x154e31);}const _0x43609e=assertLinesObserved(_0x2ff250,_0xc183f1),_0x54fa53=applyOperations(_0x2c20c0,_0x2ff250);if(_0x54fa53===_0x2c20c0['text'])throw createAnchoredFileError(_0x396c34(0x4bb,_0x550d96._0x426595,0x371,0x4b9),_0x4d0f5(0x59c,_0x550d96._0x7cdba6,_0x550d96._0x1c940c,0x791));const _0x443c65=_0x2ff250[_0x396c34(0x87d,0x6f8,_0x550d96._0x5bb928,_0x550d96._0x404581)](_0x345e33=>_0x345e33[_0x4d0f5(0x56b,0x66f,0x60e,0x48d)]);function _0x396c34(_0x3886e9,_0xba759d,_0x114fc7,_0x38c64c){return _0x5b2413(_0x3886e9-_0x2fd3d1._0x2146f9,_0xba759d-0x9b,_0x3886e9- -0xf3,_0x114fc7);}const _0x1b2752=computeFinalFileNewSideLines(_0x2ff250);return{'afterText':_0x54fa53,'operations':_0x443c65,'blocks':_0x2ff250['map']((_0x1ff7d9,_0x45a0b0)=>{const {newStartLine:_0x5b4005,newEndLine:_0x41ae71}=_0x1b2752[_0x45a0b0];return buildBlock(_0x2c20c0,_0x1ff7d9,_0x5b4005,_0x41ae71);}),'requiredLines':_0x43609e,'payloadDigest':sha256Bytes(stableStringify(_0x443c65))};}import _0x1a7d95 from'string-width';var EMPTY_FILE_MESSAGE=_0x5b2413(0x767,0x896,0x788,0x89b);function clampLine(_0x59966d,_0x3143b5){const _0x51dc41={_0x18753f:0x204,_0x2ab97f:0x14b,_0x5a3f1d:0x35,_0x18f88a:0x1d8,_0x27185a:0xfd},_0xdefb45={_0x5e13a9:0x110},_0x5fcffe={_0x566a02:0x15e};function _0x36c497(_0x1dc15a,_0x3a9d18,_0x525062,_0x3856c8){return _0x28bc81(_0x1dc15a-0x1b,_0x3a9d18-_0x5fcffe._0x566a02,_0x1dc15a- -0x2ff,_0x3a9d18);}if(!Number[_0x36c497(_0x51dc41._0x18753f,0x305,0x1d0,_0x51dc41._0x2ab97f)](_0x59966d))return 0x1;function _0x1bce23(_0x2092ec,_0x5a3ac2,_0x103e96,_0x5245e2){return _0x28bc81(_0x2092ec-_0xdefb45._0x5e13a9,_0x5a3ac2-0xe0,_0x2092ec- -0x297,_0x5245e2);}return Math['max'](0x1,Math['min'](Math[_0x36c497(_0x51dc41._0x5a3f1d,0x58,-_0x51dc41._0x18f88a,_0x51dc41._0x27185a)](_0x59966d),_0x3143b5));}function formatAnchoredFileRead(_0x4e0fbc){const _0x50dd0c={_0x2f4a03:0x563,_0x528881:0x5ed,_0x194a7b:0x409,_0x30b688:0x3ae,_0x3f592c:0x32d,_0x51ae7d:0x45d,_0x416504:0x189,_0x310309:0x216,_0x360f34:0x523,_0x2a47c6:0x329,_0x12326b:0x3d3,_0x41e999:0x468,_0x9455fb:0x4af,_0x462bd4:0x4f5,_0x173d69:0x438,_0x11edce:0x3e8,_0x68bf02:0x2b5,_0x531df9:0x3b8,_0x59f874:0x473,_0x4c94ab:0x342,_0x31b183:0x3db,_0x28b07b:0x4e0,_0x3c8cdd:0x4c7,_0x2f6d4b:0x3a6,_0x50fc16:0x45a,_0x5a46cb:0x600,_0x288157:0x3e3},_0x4d973e={_0x446671:0xa4},_0x2c015c={_0x3d7569:0x153,_0x55ca8a:0x1cb,_0x4fd809:0x82},{displayPath:_0x12c085,snapshot:_0x5b4312,maxBytes:_0x143a74}=_0x4e0fbc,_0x1624ff=_0x5b4312['lines'][_0x5db706(_0x50dd0c._0x2f4a03,_0x50dd0c._0x528881,_0x50dd0c._0x194a7b,0x5b2)];function _0x1b4a56(_0x13c956,_0x50353b,_0x29aa2c,_0x2ff55b){return _0x28bc81(_0x13c956-_0x2c015c._0x3d7569,_0x50353b-_0x2c015c._0x55ca8a,_0x50353b- -_0x2c015c._0x4fd809,_0x2ff55b);}const _0x5171c0='['+_0x12c085+'#'+_0x5b4312[_0x5db706(0x509,_0x50dd0c._0x30b688,_0x50dd0c._0x3f592c,_0x50dd0c._0x51ae7d)]+']\x0a',_0x348be5=Buffer['byteLength'](_0x5171c0,'utf8');if(_0x1624ff===0x0){const _0x440687=''+_0x5171c0+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x440687,'displayedLines':[],'truncated':![]};}const _0x4319c5=clampLine(_0x4e0fbc[_0x1b4a56(_0x50dd0c._0x416504,0x3a0,0x18b,_0x50dd0c._0x310309)]??0x1,_0x1624ff),_0x41f493=clampLine(_0x4e0fbc[_0x1b4a56(0x741,_0x50dd0c._0x360f34,0x35d,0x459)]??_0x1624ff,_0x1624ff),_0x5ec70b=Math[_0x5db706(0x30a,0x3e4,0x568,0x34d)](_0x4319c5,_0x41f493);function _0x5db706(_0x51a308,_0x2a9ccd,_0x5a06e9,_0x1d31cc){return _0x28bc81(_0x51a308-0x5f,_0x2a9ccd-0x9d,_0x2a9ccd-_0x4d973e._0x446671,_0x51a308);}const _0x571cbd=Math[_0x5db706(_0x50dd0c._0x2a47c6,0x50b,_0x50dd0c._0x12326b,0x34f)](_0x4319c5,_0x41f493),_0x53748a=[],_0x237c78=[];let _0x3d84d0=_0x348be5;for(let _0xdda390=_0x5ec70b;_0xdda390<=_0x571cbd;_0xdda390+=0x1){const _0x12e4be=_0xdda390+':'+_0x5b4312[_0x5db706(_0x50dd0c._0x41e999,0x433,_0x50dd0c._0x9455fb,0x3a7)][_0xdda390-0x1]+'\x0a',_0x1f4444=Buffer['byteLength'](_0x12e4be,_0x5db706(0x266,0x31d,_0x50dd0c._0x462bd4,0x2e4)),_0x209801=_0xdda390+0x1,_0x1d9700=Buffer[_0x5db706(_0x50dd0c._0x173d69,_0x50dd0c._0x11edce,0x3ee,_0x50dd0c._0x68bf02)]('Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x209801+'.\x0a','utf8');if(_0x3d84d0+_0x1f4444+_0x1d9700>_0x143a74){const _0x29830a=_0x1b4a56(0x52d,_0x50dd0c._0x531df9,_0x50dd0c._0x59f874,0x5d2)+_0xdda390+'.\x0a';return{'output':''+_0x5171c0+_0x53748a[_0x1b4a56(_0x50dd0c._0x4c94ab,_0x50dd0c._0x31b183,0x29b,_0x50dd0c._0x28b07b)]('')+_0x29830a,'displayedLines':_0x237c78,'lineStart':_0x5ec70b,'lineEnd':_0x237c78[_0x237c78[_0x1b4a56(0x506,_0x50dd0c._0x3c8cdd,0x649,_0x50dd0c._0x2f6d4b)]-0x1],'truncated':!![],'nextLineStart':_0xdda390};}_0x53748a['push'](_0x12e4be),_0x237c78[_0x5db706(0x5b9,_0x50dd0c._0x50fc16,_0x50dd0c._0x5a46cb,_0x50dd0c._0x288157)](_0xdda390),_0x3d84d0+=_0x1f4444;}return{'output':''+_0x5171c0+_0x53748a['join'](''),'displayedLines':_0x237c78,'lineStart':_0x5ec70b,'lineEnd':_0x571cbd,'truncated':![]};}function isWithinDisplayColumns(_0x2410c0,_0x4eb97d){return _0x1a7d95(_0x2410c0)<=_0x4eb97d;}import{randomUUID as _0xee8a80}from'crypto';import{chmod,rename,rm,writeFile as _0x3fdff1}from'fs/promises';import*as _0x23d975 from'path';var defaultFileSystem={'writeFile':_0x3fdff1,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x53b828,_0x1f5088,_0x21a5c8,_0x2e1f43){const _0x1a9022={_0x36e57d:0x7f,_0x433b78:0x6f,_0x3ee65b:0x5c5,_0x11e781:0x83f,_0x2a8a91:0x7a1,_0x4baa8c:0x130,_0x5baabb:0x51,_0x1e2309:0x24a,_0x32fe09:0x3a0,_0x3fa658:0x5be,_0xd6d301:0x1dd},_0x472890={_0x17e100:0x195,_0x13bc8b:0x340},_0x2b6353={_0x580f62:0x84,_0x3a2365:0x255},_0x1c2be0=_0x2e1f43??defaultFileSystem,_0x340094=_0x23d975[_0x5368da(-_0x1a9022._0x36e57d,_0x1a9022._0x433b78,-0x15f,0x22)](_0x53b828);function _0x5368da(_0x337c8a,_0x5e818f,_0x55c609,_0x10a563){return _0x28bc81(_0x337c8a-_0x2b6353._0x580f62,_0x5e818f-0x108,_0x337c8a- -_0x2b6353._0x3a2365,_0x5e818f);}const _0x8d8d2b=_0x23d975[_0x358ca0(0x8fe,0x79d,0x6cf,_0x1a9022._0x3ee65b)](_0x340094,_0x358ca0(0x7dd,_0x1a9022._0x11e781,_0x1a9022._0x2a8a91,0x9f1)+_0x23d975[_0x5368da(_0x1a9022._0x4baa8c,_0x1a9022._0x5baabb,-0xae,_0x1a9022._0x1e2309)](_0x53b828)+'.'+_0xee8a80());function _0x358ca0(_0x2fa5d9,_0x5f29ca,_0x47b524,_0x2e54ce){return _0x28bc81(_0x2fa5d9-0x1e9,_0x5f29ca-_0x472890._0x17e100,_0x5f29ca-_0x472890._0x13bc8b,_0x2fa5d9);}const _0x38d1ec=_0x21a5c8&0xfff;try{await _0x1c2be0[_0x5368da(_0x1a9022._0x32fe09,0x30a,_0x1a9022._0x3fa658,0x2ad)](_0x8d8d2b,_0x1f5088,{'mode':_0x38d1ec}),await _0x1c2be0['chmod'](_0x8d8d2b,_0x38d1ec),await _0x1c2be0[_0x5368da(-0x55,-0x149,0x103,-_0x1a9022._0xd6d301)](_0x8d8d2b,_0x53b828);}finally{await _0x1c2be0['rm'](_0x8d8d2b,{'force':!![]});}}var utf8Decoder=new TextDecoder(_0x28bc81(0x5eb,0x6c5,0x598,0x6ad),{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x4a16b7,_0x2fd244){const _0xffc133={_0x3f023f:0x970,_0x572ec7:0xa6b,_0x3c877d:0xb81},_0x44cb68={_0x529227:0x3d3};function _0x2793e3(_0x1fb0c8,_0x1aacc4,_0x29cc5d,_0xab6e0c){return _0x28bc81(_0x1fb0c8-0xb9,_0x1aacc4-0x11a,_0x1fb0c8-_0x44cb68._0x529227,_0x29cc5d);}throw createAnchoredFileError('unknown_snapshot',_0x2fd244+'\x20'+_0x4a16b7+_0x2793e3(_0xffc133._0x3f023f,_0xffc133._0x572ec7,0x7b2,_0xffc133._0x3c877d),{'path':_0x4a16b7});}function createNormalizedFileSnapshot(_0x525a38,_0x4851fe,_0xdf3c8e){const _0x5c920c={_0x2355b5:0x5ed,_0xac277f:0x49e,_0x5eaf88:0x4ab,_0x5f1adc:0x786,_0x272427:0x8c9,_0x32cb55:0x643,_0x41c330:0x5d5,_0x24a67e:0x7cc,_0x4a6bf6:0x786,_0x116f57:0x7d0,_0xd9e119:0x8ee,_0x118ff5:0x753,_0x4b4cb6:0x53e,_0x2da2c2:0x72e,_0x50787f:0x3be,_0x315962:0xa9c,_0x2cf14f:0xa16,_0x1b56e8:0x8a8,_0x1a07b8:0x691,_0x4621b6:0x41c,_0x2eafa0:0x618,_0x4a4810:0x732,_0x5b8108:0x69f,_0x2c3221:0x65c,_0x8a5138:0x992,_0x2dbeec:0x95e,_0x58c41b:0x5a3,_0x40a9fc:0x778,_0x5da95c:0x88e,_0x1924e6:0x70f,_0x57c3d9:0x86e,_0x234d4e:0x472,_0x334fa2:0x69b,_0x1a69a5:0x74f,_0x43b540:0x6eb},_0x3da450={_0x456c4d:0xfc},_0x4cf5f3={_0x1ff208:0x1c8};Buffer[_0x4b4a9c(_0x5c920c._0x2355b5,0x40b,_0x5c920c._0xac277f,_0x5c920c._0x5eaf88)](_0x4851fe)[_0x150877(0x938,0x66d,_0x5c920c._0x5f1adc,0x783)](0x0)&&exactReplacementGuidance(_0x525a38,_0x150877(0x9c7,_0x5c920c._0x272427,0x850,_0x5c920c._0x32cb55)+_0x525a38+_0x4b4a9c(_0x5c920c._0x41c330,0x768,_0x5c920c._0x24a67e,_0x5c920c._0x4a6bf6));let _0x1a3f18;try{_0x1a3f18=utf8Decoder[_0x150877(0x64a,0x5cf,_0x5c920c._0x116f57,_0x5c920c._0xd9e119)](_0x4851fe);}catch{exactReplacementGuidance(_0x525a38,_0x4b4a9c(_0x5c920c._0x118ff5,_0x5c920c._0x4b4cb6,0x66b,_0x5c920c._0x2da2c2)+_0x525a38+_0x4b4a9c(0x408,_0x5c920c._0x50787f,0x4b5,0x503));}const _0x46b304=_0x1a3f18[_0x4b4a9c(_0x5c920c._0x315962,_0x5c920c._0x2cf14f,_0x5c920c._0x2cf14f,_0x5c920c._0x1b56e8)](0x0)===0xfeff;if(_0x46b304)_0x1a3f18=_0x1a3f18['slice'](0x1);function _0x150877(_0x1659e6,_0xe80b38,_0x2e7319,_0x59a55c){return _0x28bc81(_0x1659e6-0x94,_0xe80b38-_0x4cf5f3._0x1ff208,_0x2e7319-0x3c5,_0x1659e6);}const _0x5ad8cd=_0x1a3f18[_0x150877(_0x5c920c._0x1a07b8,0x850,_0x5c920c._0x5f1adc,0x837)]('\x0d\x0a'),_0x415768=/(?<!\r)\n/[_0x4b4a9c(0x615,0x55a,_0x5c920c._0x4621b6,_0x5c920c._0x2eafa0)](_0x1a3f18);function _0x4b4a9c(_0x4af52f,_0x5d0925,_0x59ce86,_0x37ee94){return _0x5b2413(_0x4af52f-0x19,_0x5d0925-0x13b,_0x37ee94- -_0x3da450._0x456c4d,_0x59ce86);}_0x5ad8cd&&_0x415768&&exactReplacementGuidance(_0x525a38,_0x150877(_0x5c920c._0x4a4810,_0x5c920c._0x5b8108,0x850,_0x5c920c._0x2c3221)+_0x525a38+_0x4b4a9c(0xa04,0x992,0x84d,0x885));const _0x4d8ae3=_0x5ad8cd?_0x150877(_0x5c920c._0x8a5138,0xa3e,0x8ce,0x7f8):'lf',_0x33656c=_0x5ad8cd?_0x1a3f18['replace'](/\r\n/g,'\x0a'):_0x1a3f18,_0x4bccae=_0x33656c['endsWith']('\x0a'),_0x45bbcc=_0x33656c===''?[]:_0x33656c['split']('\x0a')[_0x4b4a9c(0x8d8,_0x5c920c._0x2dbeec,_0x5c920c._0x58c41b,_0x5c920c._0x40a9fc)](0x0,_0x4bccae?-0x1:void 0x0),_0x25a3b6=sha256Bytes(_0x33656c),_0x114f53=_0x25a3b6['slice'](0x0,0xc)[_0x4b4a9c(_0x5c920c._0x5da95c,_0x5c920c._0x1924e6,0x97a,_0x5c920c._0x57c3d9)]();return{'canonicalPath':_0x525a38,'text':_0x33656c,'lines':_0x45bbcc,'finalNewline':_0x4bccae,'bom':_0x46b304,'eol':_0x4d8ae3,'digest':_0x25a3b6,'tag':_0x114f53,'utf8Bytes':Buffer['byteLength'](_0x33656c,_0x150877(0x591,0x5d5,0x63e,_0x5c920c._0x234d4e)),'recordedAt':_0xdf3c8e??Date[_0x150877(0x74f,_0x5c920c._0x334fa2,_0x5c920c._0x1a69a5,_0x5c920c._0x43b540)]()};}function serializeNormalizedFile(_0x59d55d,_0x108fce){const _0x1fdaa7={_0x5d08b3:0x4b0,_0x2dcc12:0x210,_0x32c86c:0x1fa,_0x7a1607:0x148,_0x555be9:0x388,_0xd181a4:0x256,_0x560fe9:0x1ef},_0x3d8b8b={_0x1883e3:0x4c,_0x286cba:0x19},_0x2266c2={_0x3f8838:0x3a,_0x3f8509:0x84},_0x227880=_0x108fce['eol']==='crlf'?_0x59d55d[_0x4e657d(_0x1fdaa7._0x5d08b3,0x368,0x40f,0x53e)](/\n/g,'\x0d\x0a'):_0x59d55d;function _0x5ce100(_0x2ef8c3,_0x59d56f,_0x34ed20,_0x52967f){return _0x28bc81(_0x2ef8c3-0xf9,_0x59d56f-_0x2266c2._0x3f8838,_0x2ef8c3- -_0x2266c2._0x3f8509,_0x52967f);}const _0x24a57e=Buffer['from'](_0x227880,'utf8');function _0x4e657d(_0x4c2030,_0x22a717,_0x1ee4d9,_0x4b1ea7){return _0x28bc81(_0x4c2030-0x5f,_0x22a717-_0x3d8b8b._0x1883e3,_0x4b1ea7- -_0x3d8b8b._0x286cba,_0x22a717);}return _0x108fce[_0x5ce100(0x3db,_0x1fdaa7._0x2dcc12,0x59e,0x330)]?Buffer[_0x5ce100(0x195,_0x1fdaa7._0x32c86c,_0x1fdaa7._0x7a1607,_0x1fdaa7._0x555be9)]([Buffer[_0x4e657d(_0x1fdaa7._0xd181a4,0x14a,-0xe,_0x1fdaa7._0x560fe9)]([0xef,0xbb,0xbf]),_0x24a57e]):_0x24a57e;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x345c4e){const _0x542c5f={_0xa7556f:0x450,_0x5c67d4:0x6be,_0x5a0f02:0x389,_0x59e28a:0x1f6},_0x44c41a={_0x272c2d:0x96,_0x3ac45d:0xc4},_0x19fb8b={_0x43e32d:0x18a,_0x164daa:0x2e0};function _0x2960d9(_0x3c2acd,_0x40b5c,_0x40444e,_0x3a301a){return _0x28bc81(_0x3c2acd-_0x19fb8b._0x43e32d,_0x40b5c-0xd9,_0x3c2acd-_0x19fb8b._0x164daa,_0x40b5c);}function _0x5e5810(_0x4d0433,_0x1027c1,_0x415e91,_0x49b53f){return _0x28bc81(_0x4d0433-_0x44c41a._0x272c2d,_0x1027c1-_0x44c41a._0x3ac45d,_0x415e91- -0x353,_0x4d0433);}return textEncoder[_0x2960d9(0x521,_0x542c5f._0xa7556f,0x521,_0x542c5f._0x5c67d4)](_0x345c4e)[_0x5e5810(_0x542c5f._0x5a0f02,0x29f,_0x542c5f._0x59e28a,0x30f)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x5b2413(0x5c6,0x46e,0x604,0x75e),'properties':{'operation':{'type':_0x28bc81(0x2ee,0x38a,0x296,0x18b),'enum':['replace']},'startLine':{'type':'number'},'endLine':{'type':'number'},'content':{'type':_0x5b2413(0x684,0x735,0x635,0x509)}},'required':[_0x28bc81(0x7b9,0x636,0x5b8,0x417),'startLine',_0x5b2413(0x779,0x5e4,0x79b,0x718),_0x28bc81(0x5f5,0x3c0,0x4ce,0x4a2)],'additionalProperties':![]},deleteOperationSchema={'type':_0x28bc81(0x452,0x2c8,0x265,0x32d),'properties':{'operation':{'type':_0x28bc81(0x85,0x162,0x296,0x461),'enum':[_0x5b2413(0x7a2,0x906,0x8a5,0x8ee)]},'startLine':{'type':_0x28bc81(0x25d,0x5a5,0x420,0x4bc)},'endLine':{'type':_0x5b2413(0x6bf,0x739,0x7bf,0x960)}},'required':[_0x28bc81(0x56c,0x41f,0x5b8,0x47d),_0x5b2413(0x914,0x797,0x856,0x760),_0x5b2413(0x631,0x8f9,0x79b,0x7d6)],'additionalProperties':![]},insertOperationSchema={'type':'object','properties':{'operation':{'type':_0x5b2413(0x659,0x7a3,0x635,0x443),'enum':[_0x28bc81(0x526,0x431,0x602,0x5ba)]},'position':{'type':_0x5b2413(0x618,0x537,0x635,0x552),'enum':[_0x5b2413(0x724,0x598,0x6ed,0x8cc),_0x28bc81(0x2aa,0x403,0x34a,0x1e6)]},'line':{'type':_0x5b2413(0x642,0x666,0x7bf,0x5be)},'content':{'type':_0x28bc81(0x231,0xb7,0x296,0x3d6)}},'required':[_0x5b2413(0x7da,0x977,0x957,0xa48),'position',_0x28bc81(0x732,0x5da,0x60e,0x6e7),'content'],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x28bc81(0x355,0x3b7,0x265,0x189),'properties':{'filePath':{'type':_0x5b2413(0x635,0x593,0x635,0x732)},'tag':{'type':_0x28bc81(0x128,0x2f2,0x296,0x87)},'description':{'type':_0x28bc81(0x19c,0x216,0x296,0x42b)},'operations':{'type':'array','items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x28bc81(0x505,0x722,0x524,0x4f8)}},'required':[_0x28bc81(0x1b5,0x395,0x249,0x3a),_0x5b2413(0x8bd,0x87b,0x6a9,0x4e1),'operations'],'additionalProperties':![]};function requireValidLineNumber(_0x16bdb4,_0x3e078b){const _0x4e883f={_0x572d2e:0x475,_0x2ff433:0x53c,_0x30a651:0x329,_0x2e4684:0x47a,_0x4e795e:0x436,_0xa00fce:0x463,_0x5f1d01:0x4ab,_0x4fe3b6:0x56b},_0x26a839={_0x47a3b6:0x20};function _0x1d483a(_0xa8c888,_0x40db17,_0x16d156,_0x209995){return _0x5b2413(_0xa8c888-0xc6,_0x40db17-0x1c1,_0x16d156- -0x21b,_0xa8c888);}function _0x450cc7(_0x5c9f4f,_0xf31110,_0x41c20f,_0x370f26){return _0x5b2413(_0x5c9f4f-_0x26a839._0x47a3b6,_0xf31110-0xa6,_0x370f26- -0x1c0,_0x5c9f4f);}if(!Number[_0x1d483a(_0x4e883f._0x572d2e,0x619,0x49a,0x3a0)](_0x16bdb4)||_0x16bdb4<0x1)throw createAnchoredFileError(_0x450cc7(_0x4e883f._0x2ff433,_0x4e883f._0x30a651,0x2e7,_0x4e883f._0x2e4684),_0x3e078b+_0x450cc7(_0x4e883f._0x4e795e,_0x4e883f._0xa00fce,_0x4e883f._0x5f1d01,_0x4e883f._0x4fe3b6)+String(_0x16bdb4)+'.');}function parseStructuredFileEditInput(_0x2aed9f){const _0x5237cc={_0x370fed:0x317,_0x5bdb93:0x327,_0xc9098c:0x37b,_0x10e771:0xcd,_0x562044:0xcb,_0x1a1dd1:0x20a,_0x4d1dc3:0xe8,_0x4bcc2c:0xc2,_0x619a5:0x24f,_0x22fc0d:0x68,_0x5a9c51:0x4aa,_0x3bb1f1:0x5e,_0xc24c47:0x1a,_0x1fcadf:0xfa,_0x10f183:0x368,_0x4b5943:0x586,_0x5653f0:0x438,_0x153343:0x54f,_0x211acc:0x122,_0x5c7f2b:0x2a,_0x560aac:0xbe,_0x155cb9:0x38c,_0x5e32c7:0x454,_0xbb84dd:0x39c,_0x44c871:0x1fc,_0x29c471:0x3da,_0x4a4f12:0xdf,_0x2896de:0x2f1,_0x2fb64f:0x27b,_0x58c753:0x144,_0x559002:0x7d,_0x1c5040:0x456,_0x1b69c6:0x2b6,_0x396bc1:0x122,_0x39efbc:0x260,_0xb096ea:0x25c,_0x21d8fd:0x36c,_0x536ded:0x36e,_0x4e65eb:0x403,_0x394fce:0x535,_0x180d74:0x5e3,_0x39ea6a:0x3a8,_0x1be2b3:0x22f,_0x4d597a:0x6e,_0x4510de:0x20c,_0xb03f93:0xad,_0x5d4740:0x611,_0x2c3f38:0x49f,_0x1c56ef:0x4c8,_0xc90588:0x647,_0x515637:0x43b,_0x26a868:0x428,_0x3b946e:0x217,_0x320302:0x11a,_0x2d9f30:0x283,_0x4989dd:0x476,_0x503b8c:0x482,_0x1fdbc1:0x33e,_0x8c5ed6:0x1c0,_0x60f7a:0x346,_0x10e25f:0x414,_0x2be09a:0x285,_0x2c89b8:0x20c,_0x3c52e7:0x2e5,_0x3fec93:0x5e4,_0xc219bc:0x3ab,_0x219073:0x1e3,_0x492e15:0x3c1,_0x1e613a:0x3d0,_0x4d5b36:0x46f,_0x459f04:0x5d0,_0x310cd0:0xfa,_0x6c5454:0x76f,_0x4f4a61:0x4a2,_0x20e9ba:0x497,_0x2ffead:0x3b0,_0x373314:0x4e3,_0x40846c:0x7a,_0x3f663f:0x130,_0x32875a:0x29e,_0x35aaad:0x59c,_0x1ce6c9:0x780,_0x16e9dc:0x241,_0x183d9c:0x13b,_0x44be2a:0x36e,_0x1d2df7:0x362,_0x402812:0x3be,_0xc9a563:0x70b,_0x1945ce:0x4b7,_0x3e67e5:0x33,_0x164cf4:0x23d,_0x3ccd46:0x60,_0x36a73a:0x489,_0x5d5a2a:0x3c8,_0x1e36df:0xd0,_0x8c7b46:0x90,_0x5bb277:0x186,_0x34963d:0x57,_0x3b6369:0x10e,_0x4f2524:0x373,_0x5d6149:0x473},_0xe5ccc6={_0x5b0d84:0xa2,_0x2c34aa:0x9},_0xd49d82={_0xce5f91:0x178,_0x105f9c:0x15b},_0x3a89f4=_0x2aed9f;if(_0x3a89f4!==null&&typeof _0x3a89f4===_0x34ef11(0x30e,_0x5237cc._0x370fed,0x360,0x1d6)&&!Array[_0x34ef11(_0x5237cc._0x5bdb93,_0x5237cc._0xc9098c,0x26,0x1b5)](_0x3a89f4)&&Array[_0x32dc2d(_0x5237cc._0x10e771,_0x5237cc._0x562044,_0x5237cc._0x1a1dd1,-_0x5237cc._0x4d1dc3)](_0x3a89f4[_0x32dc2d(_0x5237cc._0x4bcc2c,_0x5237cc._0x619a5,_0x5237cc._0x22fc0d,0x2b7)])&&_0x3a89f4['operations'][_0x34ef11(_0x5237cc._0x5a9c51,0x572,0x6ae,0x4ba)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x32dc2d(_0x5237cc._0x3bb1f1,0x122,-_0x5237cc._0xc24c47,-0x66),_0x34ef11(0x20a,0x272,_0x5237cc._0x1fcadf,0x158)+MAX_ANCHORED_OPERATIONS+_0x32dc2d(0x3dd,_0x5237cc._0x10f183,_0x5237cc._0x4b5943,0x2cd));let _0x54cfd0;try{_0x54cfd0=validateToolInput(_0x2aed9f,structuredFileEditInputSchema);}catch(_0x1166cb){const _0x4fb0d4=_0x1166cb instanceof Error?_0x1166cb[_0x34ef11(0x4c6,_0x5237cc._0x5653f0,0x54c,_0x5237cc._0x153343)]:String(_0x1166cb);throw createAnchoredFileError(_0x32dc2d(0x196,_0x5237cc._0x211acc,_0x5237cc._0x5c7f2b,-_0x5237cc._0x560aac),_0x32dc2d(_0x5237cc._0x155cb9,_0x5237cc._0x5e32c7,0x35e,_0x5237cc._0xbb84dd)+_0x4fb0d4);}if(!TAG_PATTERN[_0x32dc2d(0x1d3,_0x5237cc._0x44c871,_0x5237cc._0x29c471,0x2c0)](_0x54cfd0[_0x34ef11(_0x5237cc._0x4a4f12,0x3db,_0x5237cc._0x2896de,_0x5237cc._0x2fb64f)]))throw createAnchoredFileError(_0x32dc2d(_0x5237cc._0x58c753,0x122,0x11a,0xe6),'tag\x20must\x20be\x20exactly\x2012\x20uppercase\x20hex\x20characters;\x20got\x20\x27'+_0x54cfd0[_0x34ef11(0x2ce,_0x5237cc._0x559002,0x2e2,_0x5237cc._0x2fb64f)]+'\x27.');function _0x32dc2d(_0x3a1ae0,_0x237e2e,_0x459461,_0x40b1fb){return _0x5b2413(_0x3a1ae0-_0xd49d82._0xce5f91,_0x237e2e-_0xd49d82._0x105f9c,_0x237e2e- -0x518,_0x40b1fb);}if(_0x54cfd0[_0x32dc2d(0x106,_0x5237cc._0x619a5,_0x5237cc._0x1c5040,_0x5237cc._0x1b69c6)]['length']===0x0)throw createAnchoredFileError(_0x32dc2d(0xa9,_0x5237cc._0x396bc1,0x279,_0x5237cc._0x39efbc),_0x34ef11(0x3fa,_0x5237cc._0xb096ea,_0x5237cc._0x21d8fd,_0x5237cc._0x536ded));if(_0x54cfd0[_0x34ef11(_0x5237cc._0x4e65eb,_0x5237cc._0x394fce,0x3c9,0x339)][_0x34ef11(_0x5237cc._0x180d74,_0x5237cc._0x39ea6a,0x448,0x4ba)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x34ef11(_0x5237cc._0x1be2b3,0x2d4,0x1c7,0x20c),_0x32dc2d(0x192,_0x5237cc._0x4d597a,_0x5237cc._0x4510de,-_0x5237cc._0xb03f93)+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x1f87c3=0x0;const _0x1e8630=[];function _0x34ef11(_0x1e7aeb,_0x16a170,_0xde4d3e,_0x43117b){return _0x28bc81(_0x1e7aeb-_0xe5ccc6._0x5b0d84,_0x16a170-_0xe5ccc6._0x2c34aa,_0x43117b- -0x8f,_0x1e7aeb);}for(const _0x2caffa of _0x54cfd0['operations']){switch(_0x2caffa['operation']){case _0x34ef11(0x65d,_0x5237cc._0x5d4740,_0x5237cc._0x2c3f38,_0x5237cc._0x1c56ef):{requireValidLineNumber(_0x2caffa[_0x34ef11(_0x5237cc._0xc90588,0x3df,_0x5237cc._0x515637,_0x5237cc._0x26a868)],_0x34ef11(0x47b,0x343,_0x5237cc._0x3b946e,0x336)),requireValidLineNumber(_0x2caffa[_0x32dc2d(_0x5237cc._0x320302,_0x5237cc._0x2d9f30,0x31e,0x3b4)],_0x34ef11(_0x5237cc._0x4989dd,_0x5237cc._0x503b8c,0x43f,0x347));if(_0x2caffa[_0x32dc2d(0x4ee,_0x5237cc._0x1fdbc1,0x414,_0x5237cc._0x8c5ed6)]>_0x2caffa[_0x34ef11(0x20e,_0x5237cc._0x60f7a,_0x5237cc._0x10e25f,0x36d)])throw createAnchoredFileError('invalid_patch','replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x1f87c3+=utf8Bytes(_0x2caffa['content']);if(_0x1f87c3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x34ef11(_0x5237cc._0x2be09a,0xe9,0x31b,_0x5237cc._0x2c89b8),'Total\x20authored\x20replacement\x20content\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0x1e8630['push']({'operation':_0x32dc2d(_0x5237cc._0x3c52e7,0x3de,0x2e1,_0x5237cc._0x3fec93),'startLine':_0x2caffa[_0x32dc2d(_0x5237cc._0xc219bc,_0x5237cc._0x1fdbc1,_0x5237cc._0x219073,_0x5237cc._0x492e15)],'endLine':_0x2caffa['endLine'],'content':_0x2caffa['content']});break;}case _0x32dc2d(_0x5237cc._0x1e613a,0x38d,0x2a4,_0x5237cc._0x4d5b36):{requireValidLineNumber(_0x2caffa[_0x34ef11(0x4c7,_0x5237cc._0x459f04,0x632,_0x5237cc._0x26a868)],'delete.startLine'),requireValidLineNumber(_0x2caffa[_0x32dc2d(0xb4,0x283,_0x5237cc._0x310cd0,0x423)],_0x34ef11(0x35c,0x336,_0x5237cc._0x6c5454,0x550));if(_0x2caffa[_0x32dc2d(_0x5237cc._0x4f4a61,_0x5237cc._0x1fdbc1,0x4b7,_0x5237cc._0x20e9ba)]>_0x2caffa[_0x34ef11(0x4d7,_0x5237cc._0x2ffead,_0x5237cc._0x373314,0x36d)])throw createAnchoredFileError(_0x32dc2d(0x19,0x122,0x225,0xa2),_0x32dc2d(0x240,0x8a,-_0x5237cc._0x40846c,0x175));_0x1e8630[_0x34ef11(_0x5237cc._0x3f663f,0x3b0,0x345,0x327)]({'operation':_0x34ef11(0x3bd,0x3a7,0x2a5,0x477),'startLine':_0x2caffa[_0x34ef11(_0x5237cc._0x32875a,0x318,0x3ce,_0x5237cc._0x26a868)],'endLine':_0x2caffa['endLine']});break;}case'insert':{requireValidLineNumber(_0x2caffa[_0x34ef11(_0x5237cc._0x35aaad,_0x5237cc._0x1ce6c9,0x42d,0x57f)],_0x34ef11(0x1a9,0x270,0xfb,_0x5237cc._0x16e9dc)),_0x1f87c3+=utf8Bytes(_0x2caffa['content']);if(_0x1f87c3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x32dc2d(0x176,_0x5237cc._0x211acc,_0x5237cc._0x183d9c,0x84),_0x32dc2d(_0x5237cc._0x44be2a,_0x5237cc._0x1d2df7,0x1a8,_0x5237cc._0x402812)+MAX_ANCHORED_CONTENT_BYTES+_0x34ef11(_0x5237cc._0xc9a563,0x49c,_0x5237cc._0x1945ce,0x4f3));_0x1e8630[_0x32dc2d(_0x5237cc._0x3e67e5,_0x5237cc._0x164cf4,_0x5237cc._0x3ccd46,0x134)]({'operation':_0x32dc2d(0x2e2,_0x5237cc._0x36a73a,0x26f,0x32b),'position':_0x2caffa['position'],'line':_0x2caffa[_0x34ef11(0x6d4,0x712,_0x5237cc._0x5d5a2a,0x57f)],'content':_0x2caffa['content']});break;}}}return{'filePath':_0x54cfd0[_0x32dc2d(0x75,_0x5237cc._0x1e36df,-0xf9,_0x5237cc._0x8c7b46)],'tag':_0x54cfd0[_0x34ef11(0x17c,_0x5237cc._0x5bb277,0x2e7,0x27b)],'operations':_0x1e8630,'dryRun':_0x54cfd0[_0x32dc2d(-0x1b8,_0x5237cc._0x34963d,-_0x5237cc._0x4a4f12,_0x5237cc._0x3b6369)]??![],..._0x54cfd0['description']!==void 0x0?{'description':_0x54cfd0[_0x34ef11(0x64d,0x3fc,_0x5237cc._0x4f2524,_0x5237cc._0x5d6149)]}:{}};}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(_0x44c50b){const _0x54135a={_0x951bfd:0x185,_0x5e2892:0x35b,_0x2260e1:0x169},_0xbbc574={_0x138016:0x80,_0x2b3555:0x285};function _0x1a99d2(_0x5bf219,_0x37488d,_0x4ba576,_0x388516){return _0x5b2413(_0x5bf219-_0xbbc574._0x138016,_0x37488d-0x41,_0x37488d- -_0xbbc574._0x2b3555,_0x4ba576);}return textEncoder2[_0x1a99d2(_0x54135a._0x951bfd,_0x54135a._0x5e2892,0x3c5,_0x54135a._0x2260e1)](_0x44c50b)['length'];}function preview(_0x277b35){const _0x3c2860={_0x781f:0x1d6,_0x15694f:0x30d,_0x36e7e7:0x67,_0x2f3583:0x162,_0x2f3acf:0x194,_0xbf5b26:0x22,_0x265b54:0x127,_0x337f07:0x1bf,_0x3df8b3:0x194},_0x3b7cf4={_0x8ed7c0:0x1df,_0x47e482:0x44b},_0x2ce754={_0x1d390d:0x712};function _0x2dfa6c(_0x48ce82,_0xb33a48,_0x5c13ee,_0x3ede02){return _0x5b2413(_0x48ce82-0xf9,_0xb33a48-0x1c6,_0x48ce82- -_0x2ce754._0x1d390d,_0x5c13ee);}function _0x59437b(_0x1966fa,_0x29f043,_0x2fc092,_0x1863d6){return _0x5b2413(_0x1966fa-_0x3b7cf4._0x8ed7c0,_0x29f043-0x3a,_0x29f043- -_0x3b7cf4._0x47e482,_0x2fc092);}return _0x277b35[_0x2dfa6c(_0x3c2860._0x781f,0x27c,_0x3c2860._0x15694f,_0x3c2860._0x36e7e7)]>0x3c?_0x277b35[_0x2dfa6c(_0x3c2860._0x2f3583,_0x3c2860._0x2f3acf,0x22c,-_0x3c2860._0xbf5b26)](0x0,0x3c)+_0x2dfa6c(_0x3c2860._0x265b54,0x2b9,_0x3c2860._0x337f07,_0x3c2860._0x3df8b3):_0x277b35;}var hashlineFileEditInputSchema={'type':'object','properties':{'patch':{'type':'string'},'description':{'type':_0x28bc81(0x29b,0x2f9,0x296,0x41a)},'dryRun':{'type':_0x5b2413(0x6be,0x783,0x8c3,0x9ab)}},'required':[_0x5b2413(0x8a5,0x98b,0x82c,0x700)],'additionalProperties':![]};function requireLineNumber(_0x251874,_0x32522a){const _0x38f0fa={_0x174519:0x1a9,_0x292c20:0x167,_0x3caa96:0x20d,_0x52436c:0x8b,_0x13dae1:0x27b,_0x493fdc:0xb4,_0x36700e:0x1e0,_0x1cef7:0x2fd},_0x770a81={_0x1aac40:0xbb,_0x1603d9:0x263};function _0xa85fd0(_0x6b937c,_0x5898b8,_0xfbb8b0,_0x2c6880){return _0x5b2413(_0x6b937c-0x16b,_0x5898b8-0x149,_0x2c6880- -0x5df,_0xfbb8b0);}function _0x35a117(_0x91c8da,_0x2144cc,_0x5ea7a2,_0x281470){return _0x28bc81(_0x91c8da-_0x770a81._0x1aac40,_0x2144cc-0x1e5,_0x91c8da- -_0x770a81._0x1603d9,_0x281470);}if(_0x251874[_0xa85fd0(_0x38f0fa._0x174519,0x2a0,0x15f,0x309)]>0x10)throw createAnchoredFileError(_0xa85fd0(-0x6c,0x23d,0x201,0x5b),_0x32522a+_0xa85fd0(-0xf4,-_0x38f0fa._0x292c20,_0x38f0fa._0x3caa96,_0x38f0fa._0x52436c));const _0x3ed701=Number(_0x251874);if(!Number[_0xa85fd0(_0x38f0fa._0x13dae1,-0xd1,-_0x38f0fa._0x493fdc,0xd6)](_0x3ed701)||_0x3ed701<0x1)throw createAnchoredFileError(_0xa85fd0(_0x38f0fa._0x36700e,0x80,0x1cb,0x5b),_0x32522a+_0x35a117(0x129,_0x38f0fa._0x1cef7,0x12d,0x2e5)+_0x251874+'.');return _0x3ed701;}function parseHashlineFileEditInput(_0x33e955){const _0x7d4247={_0x39af4d:0x858,_0x551bc2:0x54a,_0x1243d3:0x33f,_0xe67b1:0x21b,_0x5ca899:0x2bc,_0x5d855a:0x3ed,_0x5605ce:0x23c,_0x348f13:0x179,_0xeb7e22:0x43c,_0x1fe1e2:0x6e1,_0x35b37a:0x5ed,_0x157a6d:0x4b8,_0x412058:0x3c9,_0x59ec96:0x4de,_0x355f18:0x45a,_0x2786bb:0x373,_0x26d543:0x579,_0xf6c8da:0x701,_0x2f9cd4:0x3b9,_0x532da0:0x3f4,_0x169b24:0x574,_0x22a6a0:0x408,_0x5589e9:0x183,_0x25d5a7:0x31c,_0x28e5a4:0x42e,_0x40f94e:0x279,_0x41ec40:0x424,_0x40b502:0x1b2,_0x2f1a7e:0x3ae,_0x43eaf2:0x28d,_0x10d0bf:0x4a9,_0x270a28:0x3ca,_0x4d71d1:0xb0,_0xdf920f:0x18e,_0x101abd:0x303,_0x4aead5:0x404,_0x183546:0x406,_0x5e9fc9:0x4bf,_0x26c1de:0x301,_0x4ca5a7:0x2b9,_0x48c0ae:0x279,_0x48dc5e:0x2c4,_0x2ab9da:0x2b8,_0x43dd60:0x314,_0x372a10:0x137,_0x8087b6:0x1da,_0x15619b:0x2ac,_0x25ed1c:0x32,_0x3bcece:0x2ca,_0x2a23f5:0x24a,_0x1e3310:0x11d,_0x4cc17c:0x274,_0x35aab0:0x618,_0x26bec9:0x3dd,_0x43ac57:0x5a6},_0x37f831={_0x2f0a97:0x2d3,_0x13a32a:0x5e0,_0x415be4:0x5ea,_0x259879:0x504,_0x2e4d4e:0x4da,_0x3b5972:0x6e4,_0x54e78f:0x552,_0x31cf7c:0x53d,_0x4319e8:0x4f1,_0x1ca838:0x43f},_0x574d08={_0x47c002:0x4},_0x56e99e={_0x88437e:0x1c4,_0x324605:0x3c},_0x395ddd={_0x308aaa:0x46f,_0x3853f2:0x4ea,_0x8d7c1f:0x319,_0x191fd1:0x353,_0x21ab5c:0x4c2,_0x201394:0x413,_0x5e0c6c:0x10d,_0x2070d1:0x23e,_0x4e8ad3:0x5d8,_0x5db1d2:0x738,_0x287944:0x6a4},_0x7800e6={_0x24ebc2:0x1b8};let _0x43fd52;try{_0x43fd52=validateToolInput(_0x33e955,hashlineFileEditInputSchema);}catch(_0x4ab960){const _0x1e117a=_0x4ab960 instanceof Error?_0x4ab960[_0x560a5a(_0x7d4247._0x39af4d,0x746,_0x7d4247._0x551bc2,0x682)]:String(_0x4ab960);throw createAnchoredFileError('invalid_patch','Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x1e117a);}const {patch:_0x4cef3a}=_0x43fd52;if(utf8Bytes2(_0x4cef3a)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x560a5a(0x23f,0x32d,0x4f4,_0x7d4247._0x1243d3),_0x1bca70(_0x7d4247._0xe67b1,0x31e,_0x7d4247._0x5ca899,0x313)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');if(_0x4cef3a[_0x1bca70(0x300,0x47c,0x15f,0x212)]('\x0d'))throw createAnchoredFileError('invalid_patch',_0x1bca70(_0x7d4247._0x5d855a,0x45c,_0x7d4247._0x5605ce,0x3d5));const _0x15ef97=_0x4cef3a[_0x1bca70(0x384,_0x7d4247._0x348f13,0x1a1,_0x7d4247._0xeb7e22)]('\x0a'),_0x9e872e=[],_0x3df513=_0x5360a4=>{function _0x47d739(_0x536219,_0x58d9fe,_0x68c74f,_0x44bd52){return _0x560a5a(_0x44bd52,_0x58d9fe-0x1d,_0x68c74f-0x18e,_0x68c74f-0x24a);}function _0x3aa626(_0x4b8a69,_0x4fb8a9,_0xedc168,_0x3bfa3d){return _0x560a5a(_0x4fb8a9,_0x4fb8a9-0x112,_0xedc168-_0x7800e6._0x24ebc2,_0x4b8a69- -0x17e);}if(_0x9e872e[_0x3aa626(_0x395ddd._0x308aaa,_0x395ddd._0x3853f2,_0x395ddd._0x8d7c1f,_0x395ddd._0x191fd1)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x47d739(0x621,_0x395ddd._0x21ab5c,0x589,_0x395ddd._0x201394),_0x3aa626(_0x395ddd._0x5e0c6c,_0x395ddd._0x2070d1,-0x10e,0x291)+MAX_ANCHORED_OPERATIONS+'\x20operations\x20are\x20allowed\x20per\x20patch.');_0x9e872e[_0x47d739(_0x395ddd._0x4e8ad3,_0x395ddd._0x5db1d2,_0x395ddd._0x287944,0x8a9)](_0x5360a4);};let _0xb9890e,_0x5b7adb,_0x31a8c4=![],_0x2d0caa=![],_0x2f17d5;function _0x1bca70(_0x432200,_0x2c6852,_0xb92b44,_0x10544c){return _0x5b2413(_0x432200-0x8a,_0x2c6852-0x9d,_0x432200- -0x460,_0x2c6852);}let _0x330a81,_0x331921=0x0,_0x373867=0x0;function _0x560a5a(_0x4ab946,_0x1bfb9b,_0x43fbe5,_0x2e87b5){return _0x5b2413(_0x4ab946-_0x56e99e._0x88437e,_0x1bfb9b-_0x56e99e._0x324605,_0x2e87b5- -0x2fb,_0x4ab946);}let _0x4eb4d8=[];const _0x17e794=()=>{const _0x54e5c4={_0x581a5b:0x178,_0x4378aa:0xe9};if(!_0x2d0caa)return;if(_0x4eb4d8[_0x575c9a(0x68e,0x6d6,0x712,0x7f4)]===0x0)throw createAnchoredFileError('invalid_patch',_0x521685(0x4e7,0x587,_0x37f831._0x2f0a97,0x438));function _0x521685(_0x39234d,_0x18b0a7,_0x29f89b,_0x325073){return _0x1bca70(_0x39234d- -_0x574d08._0x47c002,_0x18b0a7,_0x29f89b-0x87,_0x325073-0x97);}const _0x409373=_0x4eb4d8[_0x575c9a(_0x37f831._0x13a32a,_0x37f831._0x415be4,_0x37f831._0x259879,_0x37f831._0x2e4d4e)]('\x0a');_0x2f17d5==='replace'?_0x3df513({'operation':_0x575c9a(0x5ce,_0x37f831._0x3b5972,_0x37f831._0x54e78f,0x529),'startLine':_0x331921,'endLine':_0x373867,'content':_0x409373}):_0x3df513({'operation':_0x521685(_0x37f831._0x31cf7c,_0x37f831._0x4319e8,_0x37f831._0x1ca838,0x6d0),'position':_0x330a81,'line':_0x331921,'content':_0x409373});function _0x575c9a(_0x56721b,_0x3556b4,_0x1dcb4d,_0x355ed4){return _0x560a5a(_0x355ed4,_0x3556b4-0x17,_0x1dcb4d-_0x54e5c4._0x581a5b,_0x3556b4-_0x54e5c4._0x4378aa);}_0x2d0caa=![],_0x4eb4d8=[];};for(const _0x2820b8 of _0x15ef97){if(_0x2820b8[_0x560a5a(0x3cf,_0x7d4247._0x1fe1e2,0x5ee,_0x7d4247._0x35b37a)]===0x0)continue;if(_0x2d0caa&&_0x2820b8['startsWith']('+')){_0x4eb4d8[_0x560a5a(_0x7d4247._0x157a6d,_0x7d4247._0x412058,_0x7d4247._0x59ec96,_0x7d4247._0x355f18)](_0x2820b8[_0x560a5a(0x39d,0x3a3,_0x7d4247._0x2786bb,_0x7d4247._0x26d543)](0x1));continue;}_0x17e794();if(!_0x31a8c4){const _0x30a13e=HEADER['exec'](_0x2820b8);if(_0x30a13e===null)throw createAnchoredFileError(_0x560a5a(0x1fd,0x493,0x1fb,0x33f),_0x560a5a(_0x7d4247._0xf6c8da,_0x7d4247._0x2f9cd4,0x7b2,0x5c0));_0xb9890e=_0x30a13e[0x1],_0x5b7adb=_0x30a13e[0x2],_0x31a8c4=!![];continue;}const _0x14ef84=REPLACE[_0x560a5a(0x4e9,0x5c9,_0x7d4247._0x532da0,0x3de)](_0x2820b8);if(_0x14ef84!==null){const _0x56e7e2=requireLineNumber(_0x14ef84[0x1],_0x1bca70(0x47b,_0x7d4247._0x169b24,_0x7d4247._0x22a6a0,0x48e)),_0x3abc84=requireLineNumber(_0x14ef84[0x2],_0x560a5a(0x554,0x402,0x6a3,0x504));if(_0x56e7e2>_0x3abc84)throw createAnchoredFileError(_0x560a5a(_0x7d4247._0x5589e9,_0x7d4247._0x25d5a7,_0x7d4247._0x28e5a4,0x33f),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x2d0caa=!![],_0x2f17d5='replace',_0x331921=_0x56e7e2,_0x373867=_0x3abc84,_0x4eb4d8=[];continue;}const _0x56f709=INSERT[_0x1bca70(_0x7d4247._0x40f94e,_0x7d4247._0x41ec40,0x285,_0x7d4247._0x40b502)](_0x2820b8);if(_0x56f709!==null){const _0x35aadc=requireLineNumber(_0x56f709[0x2],_0x1bca70(0x53f,0x435,0x4ba,0x689));_0x2d0caa=!![],_0x2f17d5=_0x1bca70(0x541,_0x7d4247._0x2f1a7e,0x405,0x723),_0x330a81=_0x56f709[0x1]==='<'?_0x1bca70(_0x7d4247._0x43eaf2,0x3b4,_0x7d4247._0x10d0bf,_0x7d4247._0x270a28):'after',_0x331921=_0x35aadc,_0x4eb4d8=[];continue;}const _0xa814da=DELETE['exec'](_0x2820b8);if(_0xa814da!==null){const _0x432612=requireLineNumber(_0xa814da[0x1],_0x560a5a(_0x7d4247._0x4d71d1,_0x7d4247._0xdf920f,_0x7d4247._0x101abd,0x295)),_0x386714=requireLineNumber(_0xa814da[0x2],_0x560a5a(_0x7d4247._0x4aead5,_0x7d4247._0x183546,_0x7d4247._0x5e9fc9,0x437));if(_0x432612>_0x386714)throw createAnchoredFileError(_0x560a5a(0x265,0x14b,_0x7d4247._0x26c1de,_0x7d4247._0x1243d3),_0x1bca70(0x142,-0x23,_0x7d4247._0x4ca5a7,_0x7d4247._0x48c0ae));_0x3df513({'operation':_0x1bca70(0x445,_0x7d4247._0x48dc5e,_0x7d4247._0x2ab9da,0x599),'startLine':_0x432612,'endLine':_0x386714});continue;}throw createAnchoredFileError(_0x1bca70(0x1da,0x3db,_0x7d4247._0x43dd60,_0x7d4247._0x372a10),'Unsupported\x20Hashline\x20row:\x20'+preview(_0x2820b8));}_0x17e794();if(!_0x31a8c4)throw createAnchoredFileError(_0x1bca70(_0x7d4247._0x8087b6,_0x7d4247._0x15619b,0x3c9,0x31d),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0x9e872e[_0x1bca70(0x488,0x27c,0x2de,0x69b)]===0x0)throw createAnchoredFileError('invalid_patch',_0x1bca70(0x1ad,-_0x7d4247._0x25ed1c,0x5c,0x1a9));return{'filePath':_0xb9890e,'tag':_0x5b7adb,'operations':_0x9e872e,'dryRun':_0x43fd52[_0x560a5a(_0x7d4247._0x3bcece,_0x7d4247._0x2a23f5,_0x7d4247._0x1e3310,_0x7d4247._0x4cc17c)]??![],..._0x43fd52['description']!==void 0x0?{'description':_0x43fd52[_0x560a5a(_0x7d4247._0x35aab0,_0x7d4247._0x26bec9,0x779,_0x7d4247._0x43ac57)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x4adc4c from'path';function isPathInside(_0x462e7a,_0x49472f){const _0x423b1b={_0x1b379a:0x35,_0x3a4969:0xc5,_0x36166c:0x52,_0x384e9f:0x147,_0x4cfd14:0x51,_0x33e746:0x199},_0x49215f={_0x5e0baa:0x16c,_0x46ab98:0x638};function _0x841cd5(_0x224b3b,_0x50401f,_0x138da2,_0x24395f){return _0x28bc81(_0x224b3b-0x170,_0x50401f-0x107,_0x138da2- -0x18b,_0x24395f);}const _0x1e1081=_0x4adc4c[_0x2487ab(-0xd9,-0x3f,-0x34,-_0x423b1b._0x1b379a)](_0x462e7a),_0x5a4e77=_0x4adc4c[_0x841cd5(_0x423b1b._0x3a4969,-_0x423b1b._0x36166c,0x159,-0x82)](_0x1e1081,_0x49472f);function _0x2487ab(_0x257bdf,_0x5561f0,_0x1737a3,_0x233e50){return _0x5b2413(_0x257bdf-0x189,_0x5561f0-_0x49215f._0x5e0baa,_0x5561f0- -_0x49215f._0x46ab98,_0x1737a3);}return _0x5a4e77===''||!_0x5a4e77[_0x841cd5(0x2b5,0x3d,0x153,_0x423b1b._0x384e9f)]('..')&&!_0x4adc4c[_0x2487ab(_0x423b1b._0x4cfd14,_0x423b1b._0x33e746,0x307,0x28d)](_0x5a4e77);}function resolveWorkspacePath(_0x296bd4,_0x2284f1){return resolveAllowedPath(_0x296bd4,[],_0x2284f1);}function resolveAllowedPath(_0x83286b,_0x402ea3,_0x4c393c){const _0x46fe26={_0x53d4e9:0x18c,_0x2407ca:0x4d9,_0x41b752:0x5ac,_0x24148f:0x543,_0x14ce60:0x6b0,_0x1ba9b3:0x32b,_0x44663f:0x28d,_0x18fc45:0x1b6,_0x185595:0x3fd,_0x24833c:0x2c6},_0x1741da={_0x45e907:0x29},_0x1ba101={_0x454f3c:0x2,_0x3193d8:0x8d},_0x3eb899=_0x4adc4c[_0x1c590b(_0x46fe26._0x53d4e9,0xd2,0x1cc,0x395)](_0x83286b),_0x63fefa=_0x4adc4c['resolve'](_0x3eb899,_0x4c393c),_0x2a3130=[_0x3eb899,..._0x402ea3[_0x1c590b(_0x46fe26._0x2407ca,_0x46fe26._0x41b752,_0x46fe26._0x24148f,_0x46fe26._0x14ce60)](_0x56479a=>_0x4adc4c['resolve'](_0x56479a))];function _0x1c590b(_0x56c0b3,_0x137804,_0x5ae72e,_0x4ad4e8){return _0x28bc81(_0x56c0b3-_0x1ba101._0x454f3c,_0x137804-_0x1ba101._0x3193d8,_0x5ae72e- -0x8e,_0x137804);}function _0x542306(_0x476a72,_0x9d3f9d,_0x16733a,_0x21b3f2){return _0x28bc81(_0x476a72-_0x1741da._0x45e907,_0x9d3f9d-0x16e,_0x21b3f2-0x40f,_0x476a72);}if(_0x2a3130[_0x1c590b(_0x46fe26._0x1ba9b3,0x3d0,0x485,_0x46fe26._0x44663f)](_0x5e4b5c=>isPathInside(_0x5e4b5c,_0x63fefa)))return _0x63fefa;throw new ToolExecutionError(_0x1c590b(_0x46fe26._0x18fc45,_0x46fe26._0x185595,_0x46fe26._0x24833c,0x2c8)+_0x4c393c,{'path':_0x4c393c,'rootDir':_0x3eb899,'allowedDirs':_0x2a3130});}async function resolveCanonicalAllowedFile(_0x3c4939,_0x260679,_0x3aa4da){const _0x388ee7={_0x58b839:0x4a5,_0x5d5b5f:0x45f,_0x583223:0x403,_0x1cbabf:0x325,_0x49375a:0x8d,_0x482d0e:0x36f},_0x5441e0={_0x11028c:0x175,_0x292c45:0x91},_0x2fd82d={_0x284d2d:0x1ba},_0xb319a3=resolveAllowedPath(_0x3c4939,_0x260679,_0x3aa4da),_0x225e58=await realpath(_0xb319a3),_0x5e14aa=[];for(const _0x22069b of[_0x3c4939,..._0x260679]){try{_0x5e14aa[_0x1b4322(_0x388ee7._0x58b839,_0x388ee7._0x5d5b5f,_0x388ee7._0x583223,_0x388ee7._0x1cbabf)](await realpath(_0x22069b));}catch{}}function _0x26b36e(_0x392021,_0x1c37ab,_0x1d232e,_0x44fb34){return _0x28bc81(_0x392021-_0x2fd82d._0x284d2d,_0x1c37ab-0x164,_0x1d232e- -0x17a,_0x1c37ab);}function _0x1b4322(_0x56b8d3,_0x50f349,_0x5c9611,_0x3f0798){return _0x28bc81(_0x56b8d3-0x14,_0x50f349-_0x5441e0._0x11028c,_0x3f0798- -_0x5441e0._0x292c45,_0x5c9611);}if(!_0x5e14aa[_0x1b4322(0x2d7,0x496,0x3fc,0x482)](_0x271a65=>isPathInside(_0x271a65,_0x225e58)))throw new ToolExecutionError(_0x26b36e(_0x388ee7._0x49375a,_0x388ee7._0x482d0e,0x1da,0x2e8)+_0x3aa4da,{'path':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58,'allowedDirs':_0x5e14aa});const _0x4f0a16=await stat(_0x225e58);if(!_0x4f0a16['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x3aa4da,{'path':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58});return{'authoredPath':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58};}async function assertWorkspaceFile(_0x2e711b){const _0x29344a={_0x3e240d:0x427,_0xfc1bdb:0x4fd,_0x2ac778:0x383},_0x5705bb={_0xc1a2a2:0x2d1},_0x66d75b=await stat(_0x2e711b);function _0x58a6ea(_0x2567da,_0x52ef8b,_0x3a7366,_0x1be924){return _0x5b2413(_0x2567da-0x120,_0x52ef8b-0xac,_0x52ef8b- -_0x5705bb._0xc1a2a2,_0x2567da);}if(!_0x66d75b[_0x58a6ea(_0x29344a._0x3e240d,_0x29344a._0xfc1bdb,_0x29344a._0x2ac778,0x38f)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x2e711b,{'path':_0x2e711b});}function isProbablyBinary(_0x183a12){const _0x4d010e={_0x18ed5f:0x126,_0x26bb29:0x184,_0x3f4a77:0x6e7};function _0x298cb3(_0x2fcabd,_0x5abeb2,_0x581651,_0xd41e1b){return _0x5b2413(_0x2fcabd-_0x4d010e._0x18ed5f,_0x5abeb2-_0x4d010e._0x26bb29,_0x2fcabd- -_0x4d010e._0x3f4a77,_0x5abeb2);}return _0x183a12[_0x298cb3(0x79,0x4b,0x287,-0x125)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x4ca09e=>_0x300b53(_0x4ca09e),'stat':_0x2de938=>_0x3dcd52(_0x2de938),'atomicWrite':(_0x2fc98f,_0x110c9c,_0x298179)=>atomicReplaceFile(_0x2fc98f,_0x110c9c,_0x298179)};function parseAnchoredInput(_0x168c7d,_0x379ecd){if(_0x168c7d==='hashline')return parseHashlineFileEditInput(_0x379ecd);return parseStructuredFileEditInput(_0x379ecd);}function stableStringify2(_0xc1e94d){const _0x2234da={_0x640bf3:0x232,_0x7cbaea:0x79b,_0x5e1d73:0x46,_0x56ef06:0x20f,_0x437283:0xcf,_0x2cc764:0x248,_0x405d35:0x8cc,_0x137c58:0x730,_0x29f2f4:0x53f,_0x5aa813:0x59b,_0x35b9d1:0x4d6,_0x3a1e65:0x7a9,_0x3f21ce:0x7af,_0x350896:0x47f},_0x345ecd={_0x12e831:0x80},_0x11c016={_0x54fcde:0x15f};if(Array[_0xfc1b23(_0x2234da._0x640bf3,0x2,0x202,0x1c4)](_0xc1e94d))return'['+_0xc1e94d[_0x392c60(0x7ea,0x730,0x554,_0x2234da._0x7cbaea)](stableStringify2)[_0x392c60(0x490,0x5bc,0x670,0x4e3)](',')+']';if(_0xc1e94d!==null&&typeof _0xc1e94d===_0xfc1b23(_0x2234da._0x5e1d73,0x2f,0x247,0x1e5)){const _0x42a5d4=_0xc1e94d;return'{'+Object[_0xfc1b23(0xd5,0x348,_0x2234da._0x56ef06,0x1f7)](_0x42a5d4)[_0xfc1b23(_0x2234da._0x437283,0xa0,0x2a3,_0x2234da._0x2cc764)]()[_0x392c60(_0x2234da._0x405d35,_0x2234da._0x137c58,_0x2234da._0x29f2f4,_0x2234da._0x5aa813)](_0x14b721=>JSON[_0xfc1b23(0x6a7,0x4b5,0x3c1,0x4b4)](_0x14b721)+':'+stableStringify2(_0x42a5d4[_0x14b721]))[_0xfc1b23(0x551,_0x2234da._0x35b9d1,0x3c4,0x3dd)](',')+'}';}function _0x392c60(_0x41cf2b,_0x144323,_0x14a3ad,_0x2ac5b7){return _0x28bc81(_0x41cf2b-0x121,_0x144323-0x1c4,_0x144323-_0x11c016._0x54fcde,_0x2ac5b7);}function _0xfc1b23(_0x1782b2,_0x1fc5ef,_0x336789,_0xe4a9f4){return _0x28bc81(_0x1782b2-0x1c1,_0x1fc5ef-0x13c,_0xe4a9f4- -_0x345ecd._0x12e831,_0x1fc5ef);}return JSON[_0x392c60(_0x2234da._0x3a1e65,0x693,_0x2234da._0x3f21ce,_0x2234da._0x350896)](_0xc1e94d);}function normalizeOperationContent(_0x3192ad){const _0x16a909={_0x17c575:0x452,_0x28b590:0x3f2,_0x5dcafb:0x28d,_0x4bad6a:0x29f,_0x495652:0x3f6,_0x3d48bb:0x3d7,_0x2d25f3:0x404,_0x99edeb:0x30c,_0x53d5a0:0x388,_0xb1f5d9:0x48b,_0x57b5d4:0x395,_0x490306:0x23e},_0x40a7cf={_0x4549f2:0x14e,_0x2be178:0x561},_0x3e4714={_0x7917e9:0x1b7};function _0x5b244b(_0x410387,_0x208391,_0x4b52c6,_0x24f9be){return _0x28bc81(_0x410387-0x69,_0x208391-_0x3e4714._0x7917e9,_0x410387- -0x105,_0x24f9be);}if(_0x3192ad[_0x5b244b(0x4b3,0x629,0x658,0x624)]===_0x5b244b(_0x16a909._0x17c575,0x3d1,_0x16a909._0x28b590,_0x16a909._0x5dcafb)||_0x3192ad[_0x15062f(_0x16a909._0x4bad6a,0x587,_0x16a909._0x495652,_0x16a909._0x3d48bb)]==='insert')return{..._0x3192ad,'content':_0x3192ad[_0x15062f(_0x16a909._0x2d25f3,0x313,_0x16a909._0x99edeb,0x399)][_0x15062f(_0x16a909._0x53d5a0,_0x16a909._0xb1f5d9,_0x16a909._0x57b5d4,_0x16a909._0x490306)](/\r\n/g,'\x0a')};function _0x15062f(_0x99b16b,_0xc540e9,_0x4b000,_0x2d5fb7){return _0x5b2413(_0x99b16b-_0x40a7cf._0x4549f2,_0xc540e9-0x19a,_0x4b000- -_0x40a7cf._0x2be178,_0xc540e9);}return _0x3192ad;}function computePayloadDigest(_0x45651a){return sha256Bytes(stableStringify2(_0x45651a['map'](normalizeOperationContent)));}function collectRequiredLines(_0x6b9e25){const _0x213ce0={_0x3d500c:0x192,_0x3e495b:0x374,_0x20b6ba:0x58e},_0x248312={_0x4132de:0x12e},_0x24fde3={_0x41a4ff:0x23,_0x41bb23:0x2f8},_0x2f6676=new Set();function _0x6bfd6e(_0x303873,_0x5a46b7,_0x4cf1ce,_0x2e1cba){return _0x5b2413(_0x303873-_0x24fde3._0x41a4ff,_0x5a46b7-0x67,_0x303873- -_0x24fde3._0x41bb23,_0x2e1cba);}function _0x4dfc0c(_0x54640e,_0x39c6ad,_0x499331,_0x1fe1e9){return _0x28bc81(_0x54640e-0x13f,_0x39c6ad-0x16b,_0x39c6ad- -_0x248312._0x4132de,_0x54640e);}for(const _0x26a948 of _0x6b9e25){if(_0x26a948['operation']==='insert')_0x2f6676[_0x6bfd6e(0x312,0x16e,_0x213ce0._0x3d500c,0x34c)](_0x26a948['line']);else for(let _0x457848=_0x26a948['startLine'];_0x457848<=_0x26a948[_0x6bfd6e(0x4a3,_0x213ce0._0x3e495b,0x42a,0x543)];_0x457848+=0x1){_0x2f6676['add'](_0x457848);}}return[..._0x2f6676][_0x6bfd6e(0x36f,0x274,_0x213ce0._0x20b6ba,0x363)]((_0x3b327a,_0x344b90)=>_0x3b327a-_0x344b90);}async function resolveEditTarget(_0x19c799,_0x1bf21c,_0x5a5aab){const _0x4747e2={_0x4e4c35:0x488,_0x400d51:0x5cf,_0x389598:0x9e,_0x5d3623:0x2ab,_0x1c23b8:0x205,_0x52f5d6:0x36e,_0x129366:0x289,_0x10d3ab:0x2ce},_0x2de981={_0x1ba6e7:0x1cf,_0x164ded:0x110},_0x5c01fc={_0x4c113a:0x120};function _0x1b8ee1(_0x3c453c,_0x14fbb6,_0x395108,_0x3d07df){return _0x28bc81(_0x3c453c-0xfe,_0x14fbb6-0x185,_0x3d07df-_0x5c01fc._0x4c113a,_0x3c453c);}function _0xb62f0(_0x421a2e,_0x4eef55,_0x1cb55e,_0x252bcf){return _0x5b2413(_0x421a2e-_0x2de981._0x1ba6e7,_0x4eef55-_0x2de981._0x164ded,_0x421a2e- -0x4f5,_0x4eef55);}try{return await resolveCanonicalAllowedFile(_0x19c799,_0x1bf21c,_0x5a5aab);}catch(_0x4c1031){if(_0x4c1031 instanceof ToolExecutionError)throw _0x4c1031;const _0x537207=_0x4c1031 instanceof Error?_0x4c1031[_0xb62f0(_0x4747e2._0x4e4c35,0x29f,_0x4747e2._0x400d51,0x31f)]:String(_0x4c1031);throw createAnchoredFileError('unknown_snapshot',_0xb62f0(0xb6,_0x4747e2._0x389598,0x42,-0x21)+_0x5a5aab+_0xb62f0(_0x4747e2._0x5d3623,0x144,0x3d5,_0x4747e2._0x1c23b8)+_0x537207+_0x1b8ee1(_0x4747e2._0x52f5d6,_0x4747e2._0x129366,_0x4747e2._0x10d3ab,0x473),{'path':_0x5a5aab});}}async function readLiveSnapshot(_0x463922,_0x286161){const _0x205f73={_0x420d1a:0x5c1,_0x5f8a03:0x3d2,_0x3c4298:0x442,_0x25889c:0x64f,_0x27a8ef:0x8df,_0x5ee5a3:0x740,_0x568a41:0x615,_0x787b58:0x521},_0x5f48c4={_0x114f81:0xd5,_0x2d01e3:0x382},_0x57bb06={_0x4cbd12:0x6b,_0x58d43d:0x198};function _0x517cd7(_0x4d06b5,_0x3e766a,_0x528116,_0x1d347a){return _0x28bc81(_0x4d06b5-_0x57bb06._0x4cbd12,_0x3e766a-_0x57bb06._0x58d43d,_0x4d06b5-0x3b5,_0x1d347a);}function _0x53d06b(_0x5105f6,_0x46702a,_0x2cc18b,_0x47017c){return _0x28bc81(_0x5105f6-0x1b1,_0x46702a-_0x5f48c4._0x114f81,_0x2cc18b-_0x5f48c4._0x2d01e3,_0x46702a);}let _0x48a1b2;try{_0x48a1b2=await _0x300b53(_0x463922);}catch(_0x5dbc53){const _0x3eff68=_0x5dbc53 instanceof Error?_0x5dbc53['message']:String(_0x5dbc53);throw createAnchoredFileError(_0x53d06b(0x3b6,0x485,_0x205f73._0x420d1a,_0x205f73._0x5f8a03),_0x53d06b(0x6e5,_0x205f73._0x3c4298,0x58e,_0x205f73._0x25889c)+_0x286161+_0x53d06b(0x5b1,_0x205f73._0x27a8ef,_0x205f73._0x5ee5a3,0x53c)+_0x3eff68+_0x53d06b(_0x205f73._0x568a41,_0x205f73._0x787b58,0x6d5,0x4b4),{'path':_0x286161});}return createNormalizedFileSnapshot(_0x463922,_0x48a1b2);}function staleSnapshotMessageText(_0x130a4f,_0x455ac7){const _0x3077f4={_0x49e741:0x1b5,_0x17a44f:0xd8,_0x43bac4:0x275,_0x5d1aa2:0x218,_0x4ea50b:0x275},_0x2eb113={_0x131d54:0x9e,_0x555001:0xf2,_0x43e07d:0x72a},_0x225b6b={_0x190ea5:0x187,_0x812797:0x625};function _0x38843a(_0x45887e,_0x17de8e,_0x3a836b,_0x122459){return _0x5b2413(_0x45887e-_0x225b6b._0x190ea5,_0x17de8e-0x192,_0x17de8e- -_0x225b6b._0x812797,_0x122459);}function _0x2102d3(_0xce78fb,_0x591cf7,_0x145649,_0x1683cc){return _0x5b2413(_0xce78fb-_0x2eb113._0x131d54,_0x591cf7-_0x2eb113._0x555001,_0x1683cc- -_0x2eb113._0x43e07d,_0x591cf7);}return{'reasonLine':_0x38843a(_0x3077f4._0x49e741,0x14b,0x1f4,-_0x3077f4._0x17a44f)+_0x455ac7+_0x38843a(0x3a7,0x2ca,_0x3077f4._0x43bac4,0xe8),'guidance':'File\x20'+_0x130a4f+_0x38843a(0x28f,0x1be,_0x3077f4._0x5d1aa2,_0x3077f4._0x4ea50b)};}function unseenLinesMessageText(){const _0x2729fa={_0x5d4503:0x247,_0x3b7ef1:0x3c7,_0x59bbfe:0x2b6},_0x735aec={_0x399017:0x195,_0x57effc:0x76},_0x5de583={_0x5cb2f6:0x1cc,_0x3ef413:0x145,_0x71700a:0x64c};function _0x22ba56(_0x384605,_0x2d9cd4,_0x211bda,_0x4a155a){return _0x5b2413(_0x384605-_0x5de583._0x5cb2f6,_0x2d9cd4-_0x5de583._0x3ef413,_0x211bda- -_0x5de583._0x71700a,_0x2d9cd4);}function _0x3d615c(_0x5c78cc,_0x579a01,_0x37a9fa,_0x354ad9){return _0x5b2413(_0x5c78cc-_0x735aec._0x399017,_0x579a01-_0x735aec._0x57effc,_0x354ad9- -0x5c1,_0x37a9fa);}return{'reasonLine':_0x3d615c(_0x2729fa._0x5d4503,_0x2729fa._0x3b7ef1,0x151,_0x2729fa._0x59bbfe),'guidance':_0x3d615c(-0x81,0x225,0x255,0x142)};}function noChangeMessageText(_0x12a2c0,_0x34f02b){const _0x404f64={_0x383dfe:0x443,_0x3f70f4:0x109,_0x54b200:0x143,_0x433cbe:0x146,_0x261ce5:0x3ad},_0x192080={_0x4394b4:0x165,_0x5a61db:0x3b8},_0x585d1f={_0x48f4d8:0xf1,_0x1f904a:0xca,_0x32fa9f:0x73c};function _0x12d8f9(_0x981c24,_0x111c35,_0x4d9466,_0x49e5b7){return _0x5b2413(_0x981c24-_0x585d1f._0x48f4d8,_0x111c35-_0x585d1f._0x1f904a,_0x111c35- -_0x585d1f._0x32fa9f,_0x981c24);}const _0x2d572b=_0x34f02b>=0x3;function _0x52544b(_0x7c6b30,_0x92bbd7,_0x3fad89,_0x5b8181){return _0x5b2413(_0x7c6b30-0x5d,_0x92bbd7-_0x192080._0x4394b4,_0x3fad89- -_0x192080._0x5a61db,_0x7c6b30);}return{'reasonLine':_0x52544b(_0x404f64._0x383dfe,0x27b,0x2f3,_0x404f64._0x3f70f4)+_0x12a2c0+_0x52544b(0x364,0x308,0x208,0x364),'guidance':_0x2d572b?_0x12d8f9(-0x2ef,-0x151,-_0x404f64._0x54b200,-_0x404f64._0x433cbe):_0x52544b(0x3f8,0x4c8,0x2cd,_0x404f64._0x261ce5)};}function buildRecoveryContext(_0x1c4d0e,_0xbde740,_0x40958e,_0x57f23c,_0x287a4a,_0x5f26dc){const _0x4a5697={_0x238230:0x6de,_0x5c9a8f:0x5a7,_0x38a33c:0xa8a,_0x47b138:0x8d0,_0x440192:0x8ca,_0x1e53eb:0x115,_0x3a44c3:0x14d,_0x279a4a:0xff,_0x56382:0x22e,_0x5837c9:0x162,_0x2a622f:0x1f5,_0xbecb81:0x7b5,_0xed0fa8:0x91d,_0x5759b1:0xa8b,_0x4ddba6:0x1d,_0x469f01:0x72,_0x498b33:0xad,_0x173294:0x4a,_0x35d1f2:0x623,_0x584130:0x81e,_0x378e96:0xb6,_0x27b871:0x1b,_0x4f1e40:0xb4,_0x2afa2d:0x1c,_0x6f818f:0x18d,_0x50e607:0x6d4,_0xfdce3:0x70d,_0x5aba91:0x6ae},_0x3bd764={_0x204f40:0xe4,_0x1fdd5b:0x62f},_0xf0a03a={_0x40c65a:0x11,_0x435f36:0x35},_0x21fc6f='['+_0x1c4d0e+'#'+_0xbde740[_0x10737d(-0x1d,-0x3c,0x242,0x7a)]+']',_0x408a5b={'tag':_0xbde740[_0x3ffa63(0x4d7,_0x4a5697._0x238230,0x5e0,_0x4a5697._0x5c9a8f)],'digest':_0xbde740[_0x3ffa63(_0x4a5697._0x38a33c,_0x4a5697._0x47b138,_0x4a5697._0x440192,0xac7)],'contextLines':[],'output':_0x287a4a+'\x0a'+_0x21fc6f+'\x0a'+_0x5f26dc};function _0x3ffa63(_0x4f531e,_0x51949c,_0x22a44d,_0x5cde27){return _0x5b2413(_0x4f531e-_0xf0a03a._0x40c65a,_0x51949c-0x1e5,_0x51949c-_0xf0a03a._0x435f36,_0x22a44d);}const _0x158275=_0xbde740[_0x10737d(_0x4a5697._0x1e53eb,0x4,_0x4a5697._0x3a44c3,_0x4a5697._0x279a4a)]['length'],_0x4db8c0=[...new Set(_0x40958e[_0x10737d(_0x4a5697._0x56382,0x323,_0x4a5697._0x5837c9,_0x4a5697._0x2a622f)](_0x30522e=>Number[_0x3ffa63(0x534,0x6ea,0x6d7,0x617)](_0x30522e)&&_0x30522e>=0x1&&_0x30522e<=_0x158275))]['sort']((_0x5c204f,_0x1c41a7)=>_0x5c204f-_0x1c41a7);function _0x10737d(_0x209df9,_0x1e1b88,_0xd6a905,_0x3a47ba){return _0x5b2413(_0x209df9-_0x3bd764._0x204f40,_0x1e1b88-0x8f,_0x3a47ba- -_0x3bd764._0x1fdd5b,_0x1e1b88);}if(_0x4db8c0[_0x3ffa63(_0x4a5697._0xbecb81,_0x4a5697._0xed0fa8,_0x4a5697._0x5759b1,0x7cf)]===0x0)return _0x408a5b;const _0x4d687d=_0x4db8c0[_0x4db8c0['length']-0x1]-_0x4db8c0[0x0]+0x1;if(_0x4d687d>0x14)return _0x408a5b;for(const _0x433b3e of _0x4db8c0){if(!isWithinDisplayColumns(_0xbde740[_0x10737d(0x307,_0x4a5697._0x4ddba6,0x95,0xff)][_0x433b3e-0x1],0x200))return _0x408a5b;}const _0x29eb16=formatAnchoredFileRead({'displayPath':_0x1c4d0e,'snapshot':_0xbde740,'lineStart':_0x4db8c0[0x0],'lineEnd':_0x4db8c0[_0x4db8c0['length']-0x1],'maxBytes':_0x57f23c});if(_0x29eb16['truncated']||_0x29eb16[_0x10737d(_0x4a5697._0x469f01,-_0x4a5697._0x498b33,0xe8,_0x4a5697._0x173294)][_0x10737d(0x46a,0x26f,0x406,0x2b9)]===0x0)return _0x408a5b;const _0x4f405c=_0x287a4a+'\x0a'+_0x29eb16[_0x3ffa63(_0x4a5697._0x35d1f2,0x6af,0x50a,_0x4a5697._0x584130)]['trimEnd']()+'\x0a'+_0x5f26dc;if(Buffer[_0x10737d(-_0x4a5697._0x378e96,-0x2a,-_0x4a5697._0x27b871,_0x4a5697._0x4f1e40)](_0x4f405c,_0x10737d(-_0x4a5697._0x2afa2d,0xad,_0x4a5697._0x6f818f,-0x17))>_0x57f23c)return _0x408a5b;return{'tag':_0xbde740[_0x3ffa63(0x795,_0x4a5697._0x238230,_0x4a5697._0x50e607,0x640)],'digest':_0xbde740[_0x3ffa63(0xa38,_0x4a5697._0x47b138,0x6d5,_0x4a5697._0xfdce3)],'contextLines':[..._0x29eb16[_0x3ffa63(0x619,_0x4a5697._0x5aba91,0x5aa,0x753)]],'output':_0x4f405c};}function assertPreviewWithinBounds(_0x439396,_0x3458e2,_0x379fcf){const _0x2edda3={_0x3712f9:0x4af,_0x254c51:0x5f5,_0x157a90:0x672,_0x2d2146:0x5d4,_0xe535ac:0x460,_0x137368:0x53e,_0x4099e9:0x751},_0x25a961={_0x426a42:0xce,_0x2baad8:0x2c2},_0x559733={_0x83ead7:0x47};function _0x46f279(_0xee0621,_0x2c72cb,_0x1314f2,_0x5dda53){return _0x5b2413(_0xee0621-0x1c4,_0x2c72cb-0x125,_0x5dda53-_0x559733._0x83ead7,_0x1314f2);}const _0x28e832=_0x439396[_0x46f279(0x5de,_0x2edda3._0x3712f9,_0x2edda3._0x254c51,_0x2edda3._0x157a90)]((_0x3a7ba7,_0x2a886c)=>_0x3a7ba7+Buffer[_0x46f279(0x540,0x594,0x81e,0x72a)](_0x2a886c[_0x2e5642(0x470,0x433,0x2f0,0x2cd)],_0x46f279(0x63a,0x608,0x5c1,0x65f))+Buffer[_0x2e5642(0x46f,0x3d3,0x421,0x5eb)](_0x2a886c[_0x46f279(0x80b,0x8ad,0x819,0x8c8)],_0x2e5642(0x4ba,0x283,0x356,0x1d2)),0x0);function _0x2e5642(_0xc311d7,_0x2150d0,_0x5d40c4,_0xbc00fc){return _0x5b2413(_0xc311d7-_0x25a961._0x426a42,_0x2150d0-0x2c,_0x5d40c4- -_0x25a961._0x2baad8,_0x2150d0);}if(_0x28e832>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x46f279(0x5ed,0x822,_0x2edda3._0x2d2146,0x657),'invalid_range:\x20the\x20edit\x27s\x20source-derived\x20preview\x20text\x20is\x20'+_0x28e832+_0x46f279(_0x2edda3._0xe535ac,0x6a0,_0x2edda3._0x137368,0x660)+MAX_ANCHORED_PREVIEW_BYTES+_0x2e5642(0x4ff,0x4c8,0x6a5,_0x2edda3._0x4099e9),{'path':_0x379fcf,'canonicalPath':_0x3458e2,'previewBytes':_0x28e832});}function buildPreview(_0x2d0882,_0x322d76,_0x36ae09,_0x1e7118,_0x17f35d){const _0x48f543={_0x524f81:0x52c,_0x46bbab:0x6ba,_0x49d696:0x49c,_0x3a158c:0x409,_0x78b15d:0x23c,_0x4d4416:0x4f4,_0x276ed2:0x44b,_0x13bcc5:0x4eb,_0x4d76ef:0x473,_0x4c3ca7:0x34d,_0x54f583:0x17a,_0xf3b1da:0x271,_0x13bc74:0x175,_0x1ee467:0x281,_0x117495:0x6a0,_0x35997e:0x4bf},_0x5ccf3f={_0x2a401f:0xd7,_0xb2c3d2:0x2e3},_0x2fa270={_0x47aacf:0x41a};function _0x2ef7a7(_0x158713,_0x3216e0,_0x31d071,_0x24a194){return _0x5b2413(_0x158713-0x1ca,_0x3216e0-0xbb,_0x3216e0- -_0x2fa270._0x47aacf,_0x24a194);}function _0x3fbad5(_0x400856,_0x2f3a44,_0x257d10,_0x23691){return _0x28bc81(_0x400856-0x70,_0x2f3a44-_0x5ccf3f._0x2a401f,_0x23691-_0x5ccf3f._0xb2c3d2,_0x400856);}return{'mode':_0x2d0882,'filePath':_0x322d76[_0x3fbad5(0x384,0x637,0x444,_0x48f543._0x524f81)],'canonicalPath':_0x36ae09[_0x3fbad5(0x580,0x699,0x6b2,_0x48f543._0x46bbab)],'tag':_0x322d76[_0x2ef7a7(_0x48f543._0x49d696,0x28f,_0x48f543._0x3a158c,_0x48f543._0x78b15d)],'digest':_0x1e7118[_0x3fbad5(_0x48f543._0x4d4416,_0x48f543._0x276ed2,_0x48f543._0x13bcc5,0x5e9)]['digest'],'operationCount':_0x17f35d[_0x2ef7a7(_0x48f543._0x4d76ef,_0x48f543._0x4c3ca7,_0x48f543._0x54f583,_0x48f543._0xf3b1da)]['length'],'operations':_0x17f35d[_0x2ef7a7(_0x48f543._0x13bc74,0x34d,0x383,_0x48f543._0x1ee467)],'blocks':_0x17f35d[_0x2ef7a7(_0x48f543._0x117495,_0x48f543._0x35997e,0x381,0x4e2)]};}function buildResultText(_0x2b903b,_0x193324,_0x2693c3,_0x5182df,_0x2666cc){const _0x256c78={_0xb736c6:0x1ae,_0x46ec00:0xc8,_0xdd2572:0x12a,_0x1fd3cf:0x63,_0x53c2e4:0x22b,_0x22c01c:0xdc,_0x3dfc62:0xb3,_0x5be70c:0xa4,_0x4deaba:0xf7,_0x39177f:0x8a,_0x17bd91:0x280,_0x34ba5a:0x343,_0xdda5cd:0x173,_0x55005f:0x2a8},_0x27f0eb={_0x1b0bff:0x1b5},_0x27c62e={_0x46fa99:0x117,_0x84e0e2:0x32f},_0x40503d='['+_0x2b903b+'#'+_0x193324['tag']+']\x0a'+_0x2666cc+'\x0a';let _0x3ceba9=Buffer[_0x5075a3(0x31,0xa7,0x18,_0x256c78._0xb736c6)](_0x40503d,'utf8');const _0x4de7a9=[],_0x2e1dbf=[];function _0x33de37(_0x16b890,_0x44c0f6,_0x80eefc,_0x52490f){return _0x28bc81(_0x16b890-_0x27c62e._0x46fa99,_0x44c0f6-0x1e5,_0x52490f- -_0x27c62e._0x84e0e2,_0x80eefc);}function _0x5075a3(_0x440026,_0x5c7cd0,_0x157d38,_0x1c005d){return _0x28bc81(_0x440026-0x114,_0x5c7cd0-_0x27f0eb._0x1b0bff,_0x157d38- -0x32c,_0x5c7cd0);}for(const _0x3d7c67 of _0x2693c3){const _0x4a1883=_0x3d7c67+':'+(_0x193324[_0x5075a3(_0x256c78._0x46ec00,_0x256c78._0xdd2572,_0x256c78._0x1fd3cf,0xe0)][_0x3d7c67-0x1]??'')+'\x0a',_0x118a22=Buffer[_0x5075a3(0x1a2,0x1ba,0x18,0x7)](_0x4a1883,_0x5075a3(-_0x256c78._0x53c2e4,-_0x256c78._0x22c01c,-_0x256c78._0x3dfc62,_0x256c78._0x5be70c));if(_0x3ceba9+_0x118a22>_0x5182df)break;_0x4de7a9[_0x5075a3(_0x256c78._0x4deaba,0xf4,_0x256c78._0x39177f,_0x256c78._0x17bd91)](_0x4a1883),_0x2e1dbf['push'](_0x3d7c67),_0x3ceba9+=_0x118a22;}return{'output':''+_0x40503d+_0x4de7a9[_0x33de37(_0x256c78._0x34ba5a,_0x256c78._0xdda5cd,_0x256c78._0x55005f,0x12e)](''),'observedLines':_0x2e1dbf};}function selectChangedContextLines(_0x377eac,_0x46a640,_0x4f22c8){const _0xc8912b={_0x2d62de:0x6ae,_0x1566f2:0x818,_0x20bca4:0x797,_0x4ea67f:0x743,_0x2f276d:0x24f,_0x4a2708:0x6aa,_0x16f306:0x4a3,_0x560285:0x288,_0x414a17:0x439,_0x4ccb29:0x5af,_0xc8c0c:0x728,_0x18bda2:0x8a0,_0x505995:0x545,_0x4fc7ae:0x468,_0xb05e2d:0x3dd,_0x2dd7cf:0x391,_0x113293:0x298,_0x151dac:0x580,_0x390fed:0x2b6,_0x50509a:0x4a6,_0x498e44:0x2b7,_0x39b238:0x10,_0x5b1d4d:0x23f,_0x5336b8:0x495,_0x317d04:0x102,_0x5c3e53:0x322,_0x361b77:0x5e1,_0x2d1f5b:0xc7,_0x3b15bd:0xe6,_0x34e48d:0x156,_0x48561a:0x99,_0x16f7ed:0x189,_0x206226:0x574,_0x55070f:0x58c,_0x366516:0x48f,_0x4b4255:0x497,_0xc61aec:0x420,_0x2c3ec7:0x41b},_0xa983e2={_0x3de8db:0x3f,_0x2e6efa:0x8e},_0x3916c4={_0x1476c1:0x5c6};function _0x18189d(_0x353c8c,_0x519206,_0x48a64f,_0x2b0309){return _0x5b2413(_0x353c8c-0x3d,_0x519206-0x199,_0x2b0309- -_0x3916c4._0x1476c1,_0x353c8c);}const _0x26ab55=new Set();function _0x59d99b(_0x5f36f8,_0xab5adb,_0x18536c,_0x26b472){return _0x28bc81(_0x5f36f8-_0xa983e2._0x3de8db,_0xab5adb-_0xa983e2._0x2e6efa,_0x18536c-0x1fd,_0x5f36f8);}for(const _0x273248 of _0x377eac){const _0x16f10d=_0x273248[_0x59d99b(_0xc8912b._0x2d62de,_0xc8912b._0x1566f2,_0xc8912b._0x20bca4,0x73e)];if(_0x4f22c8==='after'){if(_0x16f10d['newLineCount']>0x0)for(let _0x1d54e8=_0x16f10d['newStartLine'];_0x1d54e8<=_0x16f10d['newEndLine']&&_0x1d54e8<=_0x46a640[_0x59d99b(_0xc8912b._0x4ea67f,0x49d,0x58c,0x787)]['length'];_0x1d54e8+=0x1){_0x26ab55[_0x18189d(0x7f,-0x74,_0xc8912b._0x2f276d,0x44)](_0x1d54e8);}else _0x16f10d[_0x59d99b(0x618,_0xc8912b._0x4a2708,_0xc8912b._0x16f306,0x2a3)]>=0x1&&_0x16f10d[_0x59d99b(_0xc8912b._0x560285,_0xc8912b._0x414a17,0x4a3,_0xc8912b._0x4ccb29)]<=_0x46a640['lines'][_0x59d99b(_0xc8912b._0xc8c0c,_0xc8912b._0x18bda2,0x746,0x74e)]&&_0x26ab55[_0x59d99b(_0xc8912b._0x505995,0x63e,_0xc8912b._0x4fc7ae,_0xc8912b._0xb05e2d)](_0x16f10d['newStartLine']);}else{if(_0x16f10d[_0x18189d(_0xc8912b._0x2dd7cf,0x282,_0xc8912b._0x113293,0x280)]>0x0)for(let _0xa389e8=_0x16f10d[_0x59d99b(_0xc8912b._0x151dac,_0xc8912b._0x390fed,_0xc8912b._0x50509a,0x350)];_0xa389e8<=_0x16f10d[_0x59d99b(0x5ce,0x445,0x58f,0x3c4)]&&_0xa389e8<=_0x46a640[_0x18189d(_0xc8912b._0x498e44,-_0xc8912b._0x39b238,_0xc8912b._0x5b1d4d,0x168)][_0x18189d(_0xc8912b._0x5336b8,_0xc8912b._0x317d04,0x1e4,_0xc8912b._0x5c3e53)];_0xa389e8+=0x1){_0x26ab55[_0x59d99b(0x58f,_0xc8912b._0x361b77,_0xc8912b._0x4fc7ae,0x588)](_0xa389e8);}else _0x16f10d[_0x18189d(-0x97,-_0xc8912b._0x2d1f5b,_0xc8912b._0x3b15bd,0x82)]>=0x1&&_0x16f10d[_0x18189d(-_0xc8912b._0x34e48d,_0xc8912b._0x48561a,_0xc8912b._0x16f7ed,0x82)]<=_0x46a640[_0x59d99b(0x506,_0xc8912b._0x206226,_0xc8912b._0x55070f,0x4e9)][_0x18189d(0x282,_0xc8912b._0x366516,_0xc8912b._0x4b4255,0x322)]&&_0x26ab55[_0x59d99b(0x599,_0xc8912b._0xc61aec,0x468,_0xc8912b._0x2c3ec7)](_0x16f10d['oldStartLine']);}}return[..._0x26ab55]['sort']((_0x290d33,_0x3b2526)=>_0x290d33-_0x3b2526)['slice'](0x0,0x14);}function throwStaleSnapshot(_0x5623ae,_0xfc4b23,_0x3c203a,_0x8041d3){const _0x1e5290={_0x5ebcd4:0x2fb,_0x14ec23:0x3c0,_0x4be749:0x264,_0x845308:0x255,_0x1a5126:0x34c,_0x3a09c5:0x8d8,_0x40e825:0x6b5,_0x35604e:0x626,_0x17cd0e:0x94f,_0x33a3cd:0xb16,_0x5ab14b:0xaf},_0x267446={_0x5a6dfd:0x18e,_0x165cae:0x5},_0xf3ee44={_0x1e07f8:0x186,_0x461d13:0xe4,_0x310ef3:0x3dc};function _0x40a819(_0x43d722,_0x35b739,_0x2b1629,_0x109d88){return _0x28bc81(_0x43d722-_0xf3ee44._0x1e07f8,_0x35b739-_0xf3ee44._0x461d13,_0x2b1629-_0xf3ee44._0x310ef3,_0x109d88);}function _0x3de79e(_0x26dd53,_0x27bf8a,_0x1ecdbe,_0x38857c){return _0x28bc81(_0x26dd53-_0x267446._0x5a6dfd,_0x27bf8a-_0x267446._0x165cae,_0x1ecdbe- -0x134,_0x27bf8a);}throw createAnchoredFileError(_0x3de79e(_0x1e5290._0x5ebcd4,0x34c,_0x1e5290._0x14ec23,_0x1e5290._0x4be749),_0x8041d3[_0x3de79e(_0x1e5290._0x845308,_0x1e5290._0x1a5126,0x1a7,-0x2)],{'path':_0x5623ae,'canonicalPath':_0xfc4b23,'tag':_0x3c203a['tag'],'digest':_0x3c203a[_0x40a819(0x800,0xab7,_0x1e5290._0x3a09c5,0x80f)],..._0x8041d3[_0x40a819(0x75b,_0x1e5290._0x40e825,_0x1e5290._0x35604e,0x787)][_0x40a819(_0x1e5290._0x17cd0e,_0x1e5290._0x33a3cd,0x925,0x960)]>0x0?{'contextLines':[..._0x8041d3[_0x3de79e(_0x1e5290._0x5ab14b,-0xb5,0x116,0x163)]]}:{}});}function throwUnseenLines(_0x3380b3,_0x2c274a,_0x548a68,_0x425f28,_0x1184c1){const _0x57f335={_0x11ff7a:0x216,_0x10e95d:0x512,_0x4d5a13:0x1f2,_0x2f8a6f:0x340,_0x23b884:0x716,_0x1967ea:0x685,_0x13f613:0x2e3,_0x43964f:0x290,_0x26f628:0x3dd},_0x450a65={_0x43dabf:0x145,_0x3cb0a5:0x20c};function _0x12e72c(_0x41748b,_0x1f6ad9,_0x2babf2,_0x3c71a8){return _0x5b2413(_0x41748b-0x3c,_0x1f6ad9-_0x450a65._0x43dabf,_0x3c71a8- -_0x450a65._0x3cb0a5,_0x1f6ad9);}function _0x5db541(_0x1326c4,_0x5126ec,_0xcbcea3,_0x3be4cc){return _0x28bc81(_0x1326c4-0xa8,_0x5126ec-0x6f,_0x3be4cc-0x4b,_0xcbcea3);}throw createAnchoredFileError(_0x5db541(_0x57f335._0x11ff7a,0x60a,_0x57f335._0x10e95d,0x3ef),_0x1184c1[_0x5db541(0x235,0x44c,_0x57f335._0x4d5a13,0x326)],{'path':_0x3380b3,'canonicalPath':_0x2c274a,'tag':_0x548a68[_0x12e72c(_0x57f335._0x2f8a6f,0x285,0x581,0x49d)],'digest':_0x548a68[_0x5db541(0x6f7,0x5c7,_0x57f335._0x23b884,0x547)],'requiredLines':[..._0x425f28],..._0x1184c1['contextLines'][_0x5db541(0x443,0x6f3,_0x57f335._0x1967ea,0x594)]>0x0?{'contextLines':[..._0x1184c1[_0x12e72c(_0x57f335._0x13f613,_0x57f335._0x43964f,0x448,_0x57f335._0x26f628)]]}:{}});}function throwNoChange(_0x5179bd,_0xff0fb3,_0x23d745,_0x39ddbd,_0x2b4a00){const _0x2646a3={_0x2f49c2:0x2c6,_0x5c0170:0xc6,_0x15b7c6:0x20f,_0x1019f9:0x482,_0xc2f784:0x538,_0x2faaf8:0x514,_0x48c887:0x36a,_0x3b5df3:0x421,_0x5e9816:0x1fe},_0x4fb4d9={_0x1758d3:0xa7,_0x5367cb:0xbd,_0x53db98:0x4c},_0x305cb4={_0x4ff78c:0x5a};function _0x567820(_0x3f33d4,_0x3f5282,_0x197d7b,_0x1e9422){return _0x28bc81(_0x3f33d4-_0x305cb4._0x4ff78c,_0x3f5282-0x109,_0x3f33d4-0xb7,_0x1e9422);}function _0xe570c6(_0x47cfce,_0x5a7ead,_0x42890b,_0x41fae3){return _0x28bc81(_0x47cfce-_0x4fb4d9._0x1758d3,_0x5a7ead-_0x4fb4d9._0x5367cb,_0x42890b- -_0x4fb4d9._0x53db98,_0x47cfce);}throw createAnchoredFileError(_0x567820(_0x2646a3._0x2f49c2,0xe0,0x1cc,_0x2646a3._0x5c0170),_0x39ddbd[_0x567820(0x392,0x547,_0x2646a3._0x15b7c6,0x20e)],{'path':_0x5179bd,'canonicalPath':_0xff0fb3,'tag':_0x23d745[_0x567820(0x3c1,0x2bb,0x225,0x20a)],'digest':_0x23d745[_0x567820(0x5b3,_0x2646a3._0x1019f9,_0x2646a3._0xc2f784,_0x2646a3._0x2faaf8)],'attemptCount':_0x2b4a00,..._0x39ddbd['contextLines'][_0xe570c6(0x36e,0x674,0x4fd,_0x2646a3._0x48c887)]>0x0?{'contextLines':[..._0x39ddbd[_0xe570c6(_0x2646a3._0x3b5df3,0x150,_0x2646a3._0x5e9816,0x271)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x522050,_0x3e680b,_0x3df959,_0x3f3847){const _0x19362a={_0x485df5:0x5ee,_0x16a4aa:0x552,_0x3b193c:0x4fe,_0x4b7452:0x74a,_0x253c05:0x59c,_0x178912:0x43a,_0x4b2f3f:0x7fd,_0x4204ec:0x5fb,_0x38c16a:0x4de,_0x3248e2:0x44f,_0xcebca4:0x264,_0x3195a2:0x3c4,_0x2ac7f8:0x503,_0x119a39:0x2e4,_0x5916ac:0x681,_0x1b24d8:0x5b8,_0x12c174:0x649,_0x51e23c:0x5a3,_0xda7f4e:0x747,_0x4ca42e:0x60c,_0x28cb1b:0x45e,_0x5ea5e5:0x4ba,_0x2003e8:0x561,_0x24afbd:0x705,_0x51de9f:0x637,_0x521fee:0x584,_0x3bb7e2:0x114,_0x2f3d9b:0x38f,_0x1846b6:0x337,_0x177317:0x34a,_0x2eb029:0x471,_0xfd001c:0x5ea,_0x3569de:0x572,_0x3acf6e:0x4a1,_0x4ff178:0x4c4,_0x45fe29:0x539,_0x52f64c:0x320,_0x12c5c8:0x3e3,_0x352127:0x176,_0x4b971d:0x297,_0x57a25d:0x25e,_0x5b3128:0x2e3,_0x18607f:0x403,_0x266864:0x45d,_0x32b5ff:0x4c7,_0x48bd08:0x5d1,_0x5e65d2:0x122,_0x4b054e:0x328,_0x4db86e:0x391,_0x37e625:0x4e2,_0x3d596e:0x366,_0x462002:0x2e3,_0x2bcf27:0x594,_0x51c512:0x471,_0x3e1373:0x564,_0x3e2c49:0x616,_0x34c5b0:0x56d,_0x22df49:0x4d6},_0x395f38={_0xf7a3b:0x1c,_0x136c5a:0x109,_0x36ff81:0x9a},_0x3a4de4={_0x5a9c3e:0x5c},_0x5b5530=parseAnchoredInput(_0x522050,_0x3e680b),_0x15f84e=await resolveEditTarget(_0x3f3847['defaultCwd'],_0x3f3847[_0x30034a(0x332,_0x19362a._0x485df5,_0x19362a._0x16a4aa,_0x19362a._0x3b193c)],_0x5b5530['filePath']),{observations:_0x320e35}=_0x3f3847;_0x320e35['bindSession'](_0x3df959);const _0x4d2ff8=_0x320e35['resolve'](_0x15f84e['canonicalPath'],_0x5b5530['tag']),_0x31c69c=await readLiveSnapshot(_0x15f84e['canonicalPath'],_0x5b5530['filePath']);function _0x30034a(_0x1ecb76,_0x566e42,_0x54355d,_0x59e90b){return _0x5b2413(_0x1ecb76-0xb5,_0x566e42-_0x3a4de4._0x5a9c3e,_0x54355d- -0x1cb,_0x566e42);}const _0x53d239=computePayloadDigest(_0x5b5530[_0x30034a(_0x19362a._0x4b7452,0x757,_0x19362a._0x253c05,_0x19362a._0x178912)]);if(_0x31c69c['digest']!==_0x4d2ff8['snapshot'][_0x30034a(0x598,_0x19362a._0x4b2f3f,0x6d0,0x5a8)]){const {reasonLine:_0x43c283,guidance:_0x5e6541}=staleSnapshotMessageText(_0x5b5530['filePath'],_0x5b5530[_0x30034a(0x38c,_0x19362a._0x4204ec,_0x19362a._0x38c16a,0x559)]),_0x366ff7=buildRecoveryContext(_0x5b5530['filePath'],_0x31c69c,collectRequiredLines(_0x5b5530[_0x103ef1(_0x19362a._0x3248e2,0x31a,0x462,_0x19362a._0xcebca4)]),_0x3f3847['outputBudgetBytes'],_0x43c283,_0x5e6541);_0x320e35[_0x30034a(0x406,0x46a,_0x19362a._0x3195a2,0x1a6)](_0x31c69c,_0x366ff7[_0x103ef1(0x468,_0x19362a._0x2ac7f8,_0x19362a._0x119a39,0x29f)]),throwStaleSnapshot(_0x5b5530['filePath'],_0x15f84e['canonicalPath'],_0x31c69c,_0x366ff7);}let _0x2f837b;try{_0x2f837b=prepareCanonicalFileEdit(_0x4d2ff8['snapshot'],_0x4d2ff8['observedLines'],_0x5b5530['operations']);}catch(_0x28f443){if(_0x28f443 instanceof ToolExecutionError&&_0x28f443[_0x30034a(_0x19362a._0x5916ac,0x88a,0x746,_0x19362a._0x1b24d8)]['error']===_0x103ef1(0x436,0x527,0x43e,_0x19362a._0x12c174)){const _0x30be63=_0x28f443[_0x103ef1(_0x19362a._0x51e23c,_0x19362a._0xda7f4e,_0x19362a._0x4ca42e,0x5f4)][_0x103ef1(_0x19362a._0x28cb1b,_0x19362a._0x5ea5e5,_0x19362a._0x2003e8,_0x19362a._0x24afbd)]??collectRequiredLines(_0x5b5530[_0x30034a(_0x19362a._0x51de9f,_0x19362a._0x521fee,0x59c,0x474)]),{reasonLine:_0x439fad,guidance:_0x53a134}=unseenLinesMessageText(),_0x17ab67=buildRecoveryContext(_0x5b5530['filePath'],_0x31c69c,_0x30be63,_0x3f3847['outputBudgetBytes'],_0x439fad,_0x53a134);_0x320e35['record'](_0x31c69c,_0x17ab67['contextLines']),throwUnseenLines(_0x5b5530[_0x103ef1(_0x19362a._0x3bb7e2,0x273,0x2e3,_0x19362a._0x2f3d9b)],_0x15f84e[_0x103ef1(_0x19362a._0x1846b6,_0x19362a._0x177317,_0x19362a._0x2eb029,_0x19362a._0xfd001c)],_0x31c69c,_0x30be63,_0x17ab67);}if(_0x28f443 instanceof ToolExecutionError&&_0x28f443[_0x103ef1(_0x19362a._0x3569de,0x7ad,0x60c,_0x19362a._0x3acf6e)][_0x103ef1(_0x19362a._0x4ff178,_0x19362a._0x45fe29,0x472,0x4f0)]===_0x30034a(0x5cf,_0x19362a._0x52f64c,_0x19362a._0x12c5c8,0x5d2)){const _0x216578=_0x320e35[_0x103ef1(_0x19362a._0x352127,_0x19362a._0x4b971d,0x387,0x3e9)](_0x15f84e['canonicalPath'],_0x53d239),{reasonLine:_0x599817,guidance:_0x44f472}=noChangeMessageText(_0x5b5530[_0x103ef1(_0x19362a._0x3b193c,_0x19362a._0x57a25d,_0x19362a._0x5b3128,0xdc)],_0x216578),_0x316429=buildRecoveryContext(_0x5b5530[_0x103ef1(0x1ff,_0x19362a._0x18607f,_0x19362a._0x5b3128,_0x19362a._0x266864)],_0x31c69c,collectRequiredLines(_0x5b5530[_0x103ef1(0x428,0x672,0x462,0x629)]),_0x3f3847[_0x30034a(_0x19362a._0x32b5ff,0x41d,0x544,_0x19362a._0x48bd08)],_0x599817,_0x44f472);_0x320e35[_0x103ef1(0x374,_0x19362a._0x5e65d2,0x28a,0x16f)](_0x31c69c,_0x316429[_0x103ef1(_0x19362a._0x4b054e,_0x19362a._0x4db86e,0x2e4,_0x19362a._0x37e625)]),throwNoChange(_0x5b5530[_0x103ef1(_0x19362a._0x3d596e,0x3a8,_0x19362a._0x462002,0x221)],_0x15f84e[_0x103ef1(_0x19362a._0x2bcf27,0x597,_0x19362a._0x51c512,_0x19362a._0x3e1373)],_0x31c69c,_0x316429,_0x216578);}throw _0x28f443;}function _0x103ef1(_0x35edf7,_0x334cfd,_0x1c083b,_0x19a3d4){return _0x28bc81(_0x35edf7-_0x395f38._0xf7a3b,_0x334cfd-_0x395f38._0x136c5a,_0x1c083b-_0x395f38._0x36ff81,_0x35edf7);}return assertPreviewWithinBounds(_0x2f837b[_0x30034a(_0x19362a._0x3e2c49,_0x19362a._0x34c5b0,0x70e,0x847)],_0x15f84e['canonicalPath'],_0x5b5530[_0x103ef1(0x1ff,0x470,_0x19362a._0x5b3128,_0x19362a._0x22df49)]),buildPreview(_0x522050,_0x5b5530,_0x15f84e,_0x4d2ff8,_0x2f837b);}async function reResolveUnderLock(_0x51ef9c,_0x377e3a,_0xbbcebd,_0x4ac8bf){const _0x8e3960={_0x550ed4:0x260,_0x93c011:0x6ea,_0x3221e6:0x5f5,_0x1e3bed:0x180,_0x3d1e1e:0x183,_0x256326:0x295,_0x44ee11:0x198,_0x771b28:0x230,_0x3128fa:0x172,_0x13dbb3:0x76,_0xf1831e:0xab,_0x4e1336:0xad,_0x526d32:0x410,_0x14198e:0x1ef,_0x5cf022:0x295,_0x2f45d4:0x8c,_0x186a99:0x462,_0x588c94:0x205,_0x3935e4:0x260,_0xea4efe:0x1d4,_0x599073:0x4c5,_0x22a1e3:0x3ee},_0x5f4dd8={_0xea5aab:0x172,_0xfc2863:0x17},_0x462379={_0x4c73be:0x4b,_0x35011c:0xee,_0x3d4955:0x1e8};let _0x3046ab;function _0x351f7e(_0x1e075e,_0x278793,_0x3aef4a,_0x762937){return _0x28bc81(_0x1e075e-_0x462379._0x4c73be,_0x278793-_0x462379._0x35011c,_0x1e075e- -_0x462379._0x3d4955,_0x278793);}function _0x2aa137(_0x30232c,_0x14440d,_0x52875a,_0x45a4a2){return _0x28bc81(_0x30232c-0x162,_0x14440d-_0x5f4dd8._0xea5aab,_0x45a4a2-_0x5f4dd8._0xfc2863,_0x52875a);}try{_0x3046ab=await resolveCanonicalAllowedFile(_0x51ef9c,_0x377e3a,_0xbbcebd[_0x2aa137(0x453,0x224,0x201,_0x8e3960._0x550ed4)]);}catch(_0xc47b15){if(_0xc47b15 instanceof ToolExecutionError)throw _0xc47b15;const _0x50edf7=_0xc47b15 instanceof Error?_0xc47b15[_0x2aa137(0x665,_0x8e3960._0x93c011,0x66e,_0x8e3960._0x3221e6)]:String(_0xc47b15);throw createAnchoredFileError(_0x351f7e(0x30c,_0x8e3960._0x1e3bed,_0x8e3960._0x3d1e1e,0x2ae),_0x351f7e(_0x8e3960._0x256326,_0x8e3960._0x44ee11,0x1b0,_0x8e3960._0x771b28)+_0xbbcebd[_0x351f7e(0x61,0x97,-_0x8e3960._0x3128fa,-0x116)]+_0x351f7e(0x16e,_0x8e3960._0x13dbb3,_0x8e3960._0xf1831e,_0x8e3960._0x4e1336)+_0x50edf7+_0x351f7e(_0x8e3960._0x526d32,0x27b,0x621,0x5ea),{'path':_0xbbcebd['filePath']});}if(_0x3046ab[_0x351f7e(_0x8e3960._0x14198e,0x392,0x107,0x3c5)]!==_0x4ac8bf)throw createAnchoredFileError('stale_snapshot',_0x351f7e(_0x8e3960._0x5cf022,0x274,_0x8e3960._0x2f45d4,0xac)+_0xbbcebd[_0x2aa137(_0x8e3960._0x186a99,0x3b1,_0x8e3960._0x588c94,_0x8e3960._0x3935e4)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0xbbcebd[_0x2aa137(0x3ea,0x6f,_0x8e3960._0xea4efe,0x260)],'canonicalPath':_0x3046ab[_0x2aa137(_0x8e3960._0x599073,0x505,0x55c,_0x8e3960._0x22a1e3)]});return _0x3046ab;}async function executeAnchoredFileEdit(_0x569ca8,_0x3a5cc0,_0x3959bf,_0x37a105,_0x4540e3=defaultFileSystem2){const _0x370efc={_0x9bfd8e:0x5bf,_0x162137:0x555,_0x242847:0x290,_0x19f8db:0x618,_0x327ae0:0x6f2,_0x5f02b9:0x6ef,_0x50c00:0x7cf,_0x439ccd:0x766},_0x417664={_0x63254f:0x4fc,_0x37bab2:0x323,_0x2a72ff:0x57b,_0xe2b192:0x41e,_0x484840:0x19b,_0x19461a:0xb3,_0x1c4689:0x126,_0x1257d5:0xa3,_0x50a351:0x2ae,_0x27b1ea:0x683,_0x5da237:0x463,_0x4fca76:0x3d9,_0x22210a:0x114,_0x5ef0b7:0xa5,_0x9f5d27:0xb,_0x2e7a0c:0x3aa,_0x4978b2:0x1db,_0x370455:0x1c4,_0x9bd340:0x4f0,_0x1990ed:0x3a5,_0x2f732c:0x69f,_0x5516ea:0xab,_0x16d62c:0xc7,_0x54c0aa:0xe,_0x1bb7d7:0x669,_0x10530f:0x477,_0x387da8:0x695,_0x17769c:0x202,_0x3063b9:0x8,_0x246935:0x19b,_0x4e2494:0xb1,_0xdc6919:0xd8,_0x3834d5:0x13,_0x33201f:0x421,_0x11b139:0x71c,_0x28018d:0x594,_0x4b5af0:0x55d,_0x5a79b6:0x2c1,_0x504258:0x4b,_0x59163e:0x42f,_0x26f4a1:0x11a,_0xf3522e:0xc9,_0x4e638f:0x4d9,_0x3204bf:0x3a6,_0x30ba9a:0x3d6,_0x4960e3:0x62,_0x4983e5:0xb6,_0x1023b6:0x162,_0x18fc52:0x13a,_0x1b79f5:0x366,_0x512752:0xf8,_0x30b67f:0x2c5,_0x78d83f:0x10f,_0x250b54:0xdb,_0x31572d:0x169,_0x3817a6:0x2e9,_0x21b55d:0x27d,_0x4ce489:0x167,_0x19fa14:0x2d,_0x575897:0x2e5,_0x4c2c91:0x93,_0x31ed81:0xcd,_0x1d25e0:0x424,_0x25671d:0x3e1,_0xeb26cf:0xd9,_0x2b87f0:0x266,_0x302a26:0xa5,_0x5a92b2:0x7cf,_0x2f1e18:0x69f,_0x7003f2:0x9b,_0x5291f1:0x1c8,_0x3176a8:0xef,_0x2b4200:0x602,_0x547a53:0x484,_0x46fc04:0x490,_0xa8408f:0x2e9,_0x2a28e7:0x4af,_0x307dba:0x10f,_0x2bffae:0x59,_0x22fa65:0xb5,_0x19f272:0x1dd,_0x3e812a:0x23e,_0x50684e:0x258,_0x470332:0x273,_0x147b41:0x214,_0x3d4374:0x478,_0x57979:0x32d,_0x307709:0x2af,_0x47ee57:0xc2,_0x10804f:0x395,_0x35fea1:0x2da,_0x5359f1:0x161,_0x5ea150:0x22d,_0xca5001:0x468,_0x48e74e:0x4a4,_0x36b2db:0x287,_0x39196a:0xd4,_0x385980:0x71,_0x1c14b5:0x290,_0x225a41:0x2ea,_0x4a0475:0x3d4,_0x6ac389:0x249,_0x7b6a2e:0xa0,_0x59ac39:0x168,_0x17a506:0x269,_0x388986:0x513,_0x4f00e4:0x5ed,_0x1759a8:0x530,_0x3a500f:0x398,_0x2e660e:0x304,_0x12b13e:0x1dd,_0x2d7ddb:0x267,_0x429c02:0x9f,_0x1e95bf:0x61d,_0x4ef88b:0x4b3,_0x1e1686:0x270,_0x4aedb2:0x7f5,_0x5f2a9b:0x4ee,_0x557946:0xc8,_0xdf102d:0x189,_0x23c1ed:0x11,_0x35e888:0x1a5,_0x6971b6:0x46f,_0x45e4b3:0x5b6,_0x50e94a:0x567,_0x42b44c:0x56e,_0x19bda9:0x2ad,_0x2a3bc0:0x59c,_0x14b2c5:0x61,_0x383f87:0x2f6,_0x1ffe4c:0x67b,_0x56bea4:0x2eb,_0x7fd6a5:0x213,_0x3d1c03:0xb4,_0x306e8e:0x4ac,_0x1ed47c:0x2d8,_0x79cd7e:0x302,_0x45f817:0x188,_0x30e8e6:0xdb,_0x2b038d:0xf0,_0x1599f6:0x16d,_0x5a401e:0x172,_0xb87776:0x8,_0x2552bc:0x4dc,_0x1a90af:0x357,_0x539146:0x47c,_0x2209ce:0x3d8,_0x327fe8:0x41,_0xf2f1a9:0x76,_0x193a7f:0x2a5,_0x3c8842:0x2e9,_0x1c7f01:0x1b4,_0xe1e434:0x577,_0x3176b8:0x477,_0x36a019:0x2f9,_0x5de8d9:0x209,_0x3b08a1:0x8c,_0x734615:0xad,_0x28a9c5:0x76,_0x5d3f1f:0x3ca,_0x3bf0ef:0x37a,_0x3cbad4:0x2a1,_0xfc3578:0x260,_0x47c3d8:0x2e9,_0x2e7f43:0x796,_0x148153:0x1d2,_0x546dad:0x1d4,_0x281ac8:0x605,_0x5f000c:0x2df,_0x299f58:0x2ab,_0x5b8226:0x290,_0x21938c:0x87,_0x47b2a0:0x135,_0x5d667a:0x129,_0xe2619a:0x2a7,_0x436906:0x393,_0x2010c4:0x3c1,_0x53ca79:0x1fd,_0x3535f3:0x137,_0x3dc2a6:0x10e,_0x5bcf13:0x1b3,_0x58dc6c:0x5e9,_0x46232a:0x623,_0x492d0a:0x3f2,_0x4afc7a:0x17d,_0x543384:0xdc,_0x1b5f2d:0xb6,_0x5c2e3c:0x11f,_0x471cfb:0x518,_0x51a03a:0x278,_0x36f949:0x628,_0x401cb0:0x410,_0x1c8c9a:0x287,_0x107969:0xa3,_0x1ea47e:0x13f,_0x34ce7f:0x43c,_0x53cd14:0x475,_0x23b8a4:0x359,_0x206547:0x217,_0x479681:0xa4,_0x3a338c:0xd8,_0x5e735c:0x2b,_0x541b81:0x34f,_0x16c480:0x675,_0x11e3fe:0x59c,_0x2373b3:0x5c3,_0x1d0b15:0x242,_0xc410dc:0x209,_0x2c3ae2:0x24a,_0x2dfedc:0x12e,_0x28355e:0x3b7,_0x3df0c9:0xfd,_0x360618:0x2fa,_0x17a6db:0x0,_0x8c93bc:0x24},_0x1e36ce={_0x19a994:0x1a1},_0x5ddbc7={_0x3bf73c:0x19f},_0x125cda={_0x31d8bc:0x1d5,_0x1fa646:0x8e};function _0x4cbc1f(_0x2ab771,_0x426b09,_0x522696,_0x33a5bd){return _0x5b2413(_0x2ab771-_0x125cda._0x31d8bc,_0x426b09-_0x125cda._0x1fa646,_0x522696- -0x358,_0x2ab771);}const _0x99734d=parseAnchoredInput(_0x569ca8,_0x3a5cc0),_0x5986f2=await resolveEditTarget(_0x37a105['defaultCwd'],_0x37a105[_0x1feea8(_0x370efc._0x9bfd8e,_0x370efc._0x162137,0x3b4,0x563)],_0x99734d[_0x4cbc1f(0x2b2,0xbc,_0x370efc._0x242847,0x366)]);function _0x1feea8(_0x2d13bd,_0xc4fbcf,_0x5401f6,_0x6eefb5){return _0x5b2413(_0x2d13bd-_0x5ddbc7._0x3bf73c,_0xc4fbcf-0x120,_0x2d13bd- -0x15e,_0x5401f6);}return _0x37a105[_0x1feea8(0x61b,0x4cd,0x50b,0x7e8)]['runExclusive'](_0x5986f2[_0x1feea8(_0x370efc._0x19f8db,_0x370efc._0x327ae0,_0x370efc._0x5f02b9,_0x370efc._0x50c00)],_0x3959bf[_0x1feea8(0x60e,_0x370efc._0x439ccd,0x766,0x70d)],async()=>{const _0x2ef358={_0x2ab9e9:0x186,_0x2912f9:0x346},_0x2f1649=await reResolveUnderLock(_0x37a105[_0xa85334(_0x417664._0x63254f,0x39c,_0x417664._0x37bab2,0x330)],_0x37a105[_0xa85334(_0x417664._0x2a72ff,_0x417664._0xe2b192,0x36e,0x33d)],_0x99734d,_0x5986f2[_0x40a4e4(-0x68,_0x417664._0x484840,0xd8,-0xf1)]),{observations:_0x289624}=_0x37a105;_0x289624[_0x40a4e4(_0x417664._0x19461a,_0x417664._0x1c4689,_0x417664._0x1257d5,_0x417664._0x50a351)](_0x3959bf[_0xa85334(_0x417664._0x27b1ea,_0x417664._0x5da237,_0x417664._0x4fca76,0x548)]);const _0x39dfb6=_0x289624[_0x40a4e4(0x129,_0x417664._0x22210a,-_0x417664._0x5ef0b7,-_0x417664._0x9f5d27)](_0x2f1649['canonicalPath'],_0x99734d[_0xa85334(0x25f,_0x417664._0x2e7a0c,_0x417664._0x4978b2,_0x417664._0x370455)]);let _0x5032c0,_0x406c94;try{[_0x5032c0,_0x406c94]=await Promise[_0xa85334(0x4b2,_0x417664._0x9bd340,_0x417664._0x1990ed,_0x417664._0x2f732c)]([_0x4540e3[_0x40a4e4(_0x417664._0x5516ea,-0x176,-_0x417664._0x16d62c,-_0x417664._0x54c0aa)](_0x2f1649[_0xa85334(_0x417664._0x1bb7d7,_0x417664._0x10530f,_0x417664._0x387da8,0x57b)]),_0x4540e3[_0x40a4e4(0x16a,_0x417664._0x17769c,_0x417664._0x3063b9,_0x417664._0x246935)](_0x2f1649[_0x40a4e4(0x122,_0x417664._0x4e2494,_0x417664._0xdc6919,_0x417664._0x3834d5)])]);}catch(_0x36875a){const _0x3b6dc0=_0x36875a instanceof Error?_0x36875a[_0x40a4e4(0x275,_0x417664._0x33201f,0x2df,0x4e1)]:String(_0x36875a);throw createAnchoredFileError(_0xa85334(_0x417664._0x11b139,_0x417664._0x28018d,0x7b5,_0x417664._0x4b5af0),'stale_snapshot:\x20Unable\x20to\x20read\x20'+_0x99734d[_0x40a4e4(0xba,-0x211,-0xb6,-_0x417664._0x5a79b6)]+_0x40a4e4(-0x13b,-_0x417664._0x504258,-0x61,-0x16c)+_0x3b6dc0+_0x40a4e4(_0x417664._0x59163e,0x14d,0x2f9,0x4e9),{'path':_0x99734d[_0x40a4e4(-0x2c2,_0x417664._0x26f4a1,-0xb6,_0x417664._0xf3522e)]});}const _0xe8b8b1=createNormalizedFileSnapshot(_0x2f1649[_0xa85334(0x604,0x477,0x63a,0x40f)],_0x5032c0);if(_0xe8b8b1['digest']!==_0x39dfb6[_0xa85334(_0x417664._0x4e638f,_0x417664._0x3204bf,_0x417664._0x30ba9a,0x380)]['digest']){const {reasonLine:_0x1371fd,guidance:_0x4734b6}=staleSnapshotMessageText(_0x99734d[_0x40a4e4(-0x143,-_0x417664._0x4960e3,-_0x417664._0x4983e5,_0x417664._0x1023b6)],_0x99734d[_0x40a4e4(0x58,_0x417664._0x18fc52,_0x417664._0x9f5d27,_0x417664._0x19461a)]),_0x4151c1=buildRecoveryContext(_0x99734d[_0xa85334(0x2b2,0x2e9,0x3b9,_0x417664._0x1b79f5)],_0xe8b8b1,collectRequiredLines(_0x99734d[_0x40a4e4(_0x417664._0x512752,_0x417664._0x30b67f,_0x417664._0xf3522e,0x1e5)]),_0x37a105['outputBudgetBytes'],_0x1371fd,_0x4734b6);_0x289624[_0x40a4e4(0xa0,-0x1d9,-_0x417664._0x78d83f,0xcd)](_0xe8b8b1,_0x4151c1[_0xa85334(_0x417664._0x250b54,0x2ea,_0x417664._0x31572d,0x18d)]),throwStaleSnapshot(_0x99734d[_0xa85334(0x4a1,_0x417664._0x3817a6,_0x417664._0x21b55d,_0x417664._0x4ce489)],_0x2f1649[_0x40a4e4(_0x417664._0x19fa14,_0x417664._0x575897,0xd8,0xb5)],_0xe8b8b1,_0x4151c1);}let _0x3ab0f1;try{_0x3ab0f1=prepareCanonicalFileEdit(_0x39dfb6[_0x40a4e4(0xec,-_0x417664._0x4c2c91,0x7,_0x417664._0x31ed81)],_0x39dfb6[_0xa85334(_0x417664._0x1d25e0,0x5b6,0x589,_0x417664._0x25671d)],_0x99734d[_0x40a4e4(0x24d,-0x6e,0xc9,0x146)]);}catch(_0x47e417){if(_0x47e417 instanceof ToolExecutionError&&_0x47e417[_0xa85334(0x7b8,0x612,0x532,0x5c7)][_0x40a4e4(-0x42,0x198,_0x417664._0xeb26cf,0x22b)]===_0x40a4e4(_0x417664._0x2b87f0,-0x19,_0x417664._0x302a26,-0x8c)){const _0x5902ed=_0x47e417[_0xa85334(_0x417664._0x5a92b2,0x612,_0x417664._0x2f1e18,0x693)][_0x40a4e4(0x22b,_0x417664._0x7003f2,_0x417664._0x5291f1,_0x417664._0x3176a8)]??collectRequiredLines(_0x99734d[_0xa85334(0x62b,0x468,_0x417664._0x2b4200,_0x417664._0x547a53)]),{reasonLine:_0x1491d2,guidance:_0x5d80e2}=unseenLinesMessageText(),_0x3ad444=buildRecoveryContext(_0x99734d[_0xa85334(_0x417664._0x46fc04,_0x417664._0xa8408f,0x33e,0x12c)],_0xe8b8b1,_0x5902ed,_0x37a105[_0xa85334(0x4d8,0x410,0x3e5,_0x417664._0x2a28e7)],_0x1491d2,_0x5d80e2);_0x289624[_0x40a4e4(-0xa6,0x4d,-_0x417664._0x307dba,-_0x417664._0x2bffae)](_0xe8b8b1,_0x3ad444[_0x40a4e4(-0x1c5,-0x24a,-_0x417664._0x22fa65,-0x19a)]),throwUnseenLines(_0x99734d['filePath'],_0x2f1649[_0x40a4e4(0x1d3,_0x417664._0x19f272,_0x417664._0xdc6919,_0x417664._0x3e812a)],_0xe8b8b1,_0x5902ed,_0x3ad444);}if(_0x47e417 instanceof ToolExecutionError&&_0x47e417[_0x40a4e4(_0x417664._0x50684e,0x2ec,_0x417664._0x470332,_0x417664._0x147b41)][_0xa85334(0x493,_0x417664._0x3d4374,0x2e8,0x480)]===_0xa85334(_0x417664._0x57979,_0x417664._0x307709,_0x417664._0x47ee57,0x101)){const {reasonLine:_0x11f21f,guidance:_0x4ae352}=noChangeMessageText(_0x99734d[_0xa85334(_0x417664._0x10804f,_0x417664._0x3817a6,0x450,_0x417664._0x35fea1)],0x1),_0x5acbf7=buildRecoveryContext(_0x99734d[_0x40a4e4(_0x417664._0x5359f1,-_0x417664._0x5ea150,-0xb6,0xa1)],_0xe8b8b1,collectRequiredLines(_0x99734d[_0xa85334(0x2e4,_0x417664._0xca5001,_0x417664._0x48e74e,_0x417664._0x36b2db)]),_0x37a105[_0x40a4e4(_0x417664._0x39196a,0x87,_0x417664._0x385980,0x36)],_0x11f21f,_0x4ae352);_0x289624[_0xa85334(0x3b1,_0x417664._0x1c14b5,0x1ed,0x3e0)](_0xe8b8b1,_0x5acbf7[_0xa85334(0x4de,_0x417664._0x225a41,_0x417664._0x4a0475,0x4a8)]),throwNoChange(_0x99734d[_0x40a4e4(0x109,-_0x417664._0x6ac389,-0xb6,-_0x417664._0x7b6a2e)],_0x2f1649[_0x40a4e4(0x169,_0x417664._0x59ac39,0xd8,_0x417664._0x17a506)],_0xe8b8b1,_0x5acbf7,0x1);}throw _0x47e417;}function _0x40a4e4(_0x5619cf,_0x394d53,_0x15edb1,_0x21f3ec){return _0x4cbc1f(_0x21f3ec,_0x394d53-_0x2ef358._0x2ab9e9,_0x15edb1- -_0x2ef358._0x2912f9,_0x21f3ec-0x1e6);}assertPreviewWithinBounds(_0x3ab0f1[_0xa85334(0x7a0,0x5da,0x665,0x6c6)],_0x2f1649['canonicalPath'],_0x99734d[_0xa85334(0x3f8,_0x417664._0xa8408f,0x404,_0x417664._0x5291f1)]);function _0xa85334(_0x59b81d,_0x38bce6,_0xeab069,_0x3a5d40){return _0x1feea8(_0x38bce6- -_0x1e36ce._0x19a994,_0x38bce6-0x2d,_0x3a5d40,_0x3a5d40-0x59);}const _0x358c5f=_0x3ab0f1[_0xa85334(_0x417664._0x388986,_0x417664._0xca5001,_0x417664._0x4f00e4,_0x417664._0x1759a8)]['length'],_0x5cde44=serializeNormalizedFile(_0x3ab0f1[_0x40a4e4(0x399,_0x417664._0x3a500f,_0x417664._0x2e660e,_0x417664._0x12b13e)],{'bom':_0xe8b8b1['bom'],'eol':_0xe8b8b1[_0x40a4e4(0x39b,_0x417664._0x2d7ddb,0x2a3,_0x417664._0x429c02)]}),_0x4e9334=_0x406c94[_0xa85334(_0x417664._0x1e95bf,0x57c,0x3fa,_0x417664._0x4ef88b)];if(_0x99734d[_0xa85334(0x8e,_0x417664._0x1e1686,0x34b,0x1f1)]){const _0x101765=buildResultText(_0x99734d['filePath'],_0xe8b8b1,selectChangedContextLines(_0x3ab0f1[_0xa85334(0x5e8,0x5da,_0x417664._0x4aedb2,_0x417664._0x5f2a9b)],_0xe8b8b1,'before'),_0x37a105[_0x40a4e4(-_0x417664._0x557946,-_0x417664._0xdf102d,0x71,_0x417664._0x23c1ed)],'Validated\x20'+_0x358c5f+_0xa85334(_0x417664._0x35e888,0x26f,0xa1,0x2ab));_0x289624[_0xa85334(0x196,0x290,_0x417664._0x6971b6,0x1bd)](_0xe8b8b1,_0x101765[_0xa85334(0x6f3,_0x417664._0x45e4b3,0x5b7,_0x417664._0x50e94a)]);const _0xb93288={'preview':buildPreview(_0x569ca8,_0x99734d,_0x2f1649,_0x39dfb6,_0x3ab0f1),'beforeDigest':_0x39dfb6[_0xa85334(_0x417664._0x42b44c,0x3a6,_0x417664._0x19bda9,0x1cd)][_0xa85334(0x47b,_0x417664._0x2a3bc0,0x5c7,0x6d5)],'afterDigest':_0xe8b8b1[_0xa85334(0x520,0x59c,0x626,0x717)],'beforeTag':_0x99734d[_0x40a4e4(0x117,0x1ab,0xb,-0x133)],'afterTag':_0xe8b8b1[_0xa85334(0x55c,_0x417664._0x2e7a0c,0x1f1,0x453)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x358c5f,'tokenClassification':'edit'};return createToolOutput(_0x101765[_0x40a4e4(0x113,-_0x417664._0x14b2c5,-0x24,-0x1ba)],_0xb93288);}try{await _0x4540e3['atomicWrite'](_0x2f1649[_0x40a4e4(_0x417664._0x383f87,0xab,0xd8,-0x143)],_0x5cde44,_0x4e9334);}catch(_0xcfb42e){const _0x1785f6=_0xcfb42e instanceof Error?_0xcfb42e[_0xa85334(0x607,0x67e,0x747,_0x417664._0x1ffe4c)]:String(_0xcfb42e);throw createAnchoredFileError('write_failed',_0x40a4e4(_0x417664._0x56bea4,0x5d,_0x417664._0x7fd6a5,0x2c2)+_0x99734d[_0x40a4e4(0x63,-_0x417664._0x3d1c03,-_0x417664._0x4983e5,-0x185)]+':\x20'+_0x1785f6+_0xa85334(0x3ba,0x4cc,_0x417664._0x3204bf,_0x417664._0x306e8e),{'path':_0x99734d['filePath'],'canonicalPath':_0x2f1649['canonicalPath']});}let _0x30344f,_0x24a095;try{[_0x30344f,_0x24a095]=await Promise[_0xa85334(0x686,_0x417664._0x9bd340,0x2d2,0x2f3)]([_0x4540e3[_0xa85334(0x35e,_0x417664._0x1ed47c,0x467,_0x417664._0x79cd7e)](_0x2f1649[_0x40a4e4(_0x417664._0x45f817,-0x74,0xd8,-_0x417664._0x30e8e6)]),_0x4540e3[_0x40a4e4(_0x417664._0x2b038d,-_0x417664._0x1599f6,_0x417664._0x3063b9,0xc9)](_0x2f1649[_0x40a4e4(-0x1b,_0x417664._0x5a401e,_0x417664._0xdc6919,-_0x417664._0xb87776)])]);}catch(_0x554fbf){const _0x3bd105=_0x554fbf instanceof Error?_0x554fbf['message']:String(_0x554fbf);throw createAnchoredFileError(_0xa85334(0x3e5,0x364,_0x417664._0x2552bc,0x2b8),_0xa85334(0x411,_0x417664._0x1a90af,_0x417664._0x539146,_0x417664._0x2209ce)+_0x99734d[_0x40a4e4(-0x180,_0x417664._0x327fe8,-0xb6,0x12f)]+'\x20after\x20writing\x20('+_0x3bd105+_0x40a4e4(0x399,_0x417664._0xf2f1a9,0x269,_0x417664._0x193a7f),{'path':_0x99734d[_0xa85334(0x3b9,_0x417664._0x3c8842,_0x417664._0x1c7f01,0x1ad)],'canonicalPath':_0x2f1649[_0xa85334(_0x417664._0xe1e434,_0x417664._0x3176b8,0x32a,0x68b)]});}if(!_0x30344f['equals'](_0x5cde44)||(_0x24a095[_0x40a4e4(_0x417664._0x36a019,_0x417664._0x5de8d9,_0x417664._0x19f272,0x2c)]&0x1ff)!==(_0x4e9334&0x1ff)){const _0x350ec3='post_write_drift:\x20'+_0x99734d['filePath']+_0x40a4e4(-_0x417664._0x3b08a1,-0xad,-_0x417664._0x734615,_0x417664._0x28a9c5),_0x5e5749=_0xa85334(0x476,_0x417664._0x5d3f1f,_0x417664._0x3bf0ef,_0x417664._0x3cbad4);let _0x3ebd79;try{_0x3ebd79=createNormalizedFileSnapshot(_0x2f1649[_0xa85334(_0x417664._0xfc3578,0x477,0x578,0x512)],_0x30344f);}catch{_0x3ebd79=void 0x0;}let _0x5d0385;_0x3ebd79!==void 0x0?(_0x5d0385=buildRecoveryContext(_0x99734d[_0xa85334(0x477,_0x417664._0x47c3d8,0x3eb,0x3da)],_0x3ebd79,selectChangedContextLines(_0x3ab0f1[_0xa85334(_0x417664._0x2e7f43,0x5da,0x7cc,0x4a3)],_0x3ebd79,_0x40a4e4(-_0x417664._0x148153,_0x417664._0x546dad,0x4b,0x49)),_0x37a105[_0xa85334(_0x417664._0x281ac8,0x410,_0x417664._0x5f000c,_0x417664._0x299f58)],_0x350ec3,_0x5e5749),_0x289624[_0xa85334(0x350,_0x417664._0x5b8226,0x21b,_0x417664._0x370455)](_0x3ebd79,_0x5d0385['contextLines'])):_0x5d0385={'tag':'','digest':'','contextLines':[],'output':_0x350ec3+'\x0a'+_0x5e5749};throw createAnchoredFileError(_0x40a4e4(_0x417664._0x21938c,_0x417664._0x47b2a0,-0x3b,-0xd0),_0x5d0385[_0x40a4e4(0x1,-_0x417664._0x5d667a,-0x24,0xb0)],{'path':_0x99734d[_0xa85334(0x1a1,_0x417664._0x47c3d8,0x34a,0x476)],'canonicalPath':_0x2f1649[_0x40a4e4(0x1c5,-0x43,0xd8,_0x417664._0xe2619a)],..._0x3ebd79!==void 0x0?{'tag':_0x3ebd79[_0xa85334(0x2bf,0x3aa,_0x417664._0x436906,0x214)],'digest':_0x3ebd79[_0x40a4e4(_0x417664._0x2010c4,0x182,_0x417664._0x53ca79,_0x417664._0x3535f3)]}:{},..._0x5d0385[_0x40a4e4(-_0x417664._0x3dc2a6,-_0x417664._0x5bcf13,-0xb5,-0xac)][_0xa85334(0x3cf,_0x417664._0x58dc6c,_0x417664._0x46232a,0x799)]>0x0?{'contextLines':[..._0x5d0385[_0xa85334(_0x417664._0x35e888,0x2ea,0x1cc,_0x417664._0x492d0a)]]}:{}});}const _0x274118=createNormalizedFileSnapshot(_0x2f1649['canonicalPath'],_0x30344f),_0x23cdc9=buildResultText(_0x99734d[_0x40a4e4(-_0x417664._0x4afc7a,-_0x417664._0x543384,-_0x417664._0x1b5f2d,_0x417664._0x5c2e3c)],_0x274118,selectChangedContextLines(_0x3ab0f1['blocks'],_0x274118,_0xa85334(0x5d2,0x3ea,_0x417664._0x471cfb,_0x417664._0x51a03a)),_0x37a105[_0xa85334(_0x417664._0x36f949,_0x417664._0x401cb0,0x3d6,_0x417664._0x1c8c9a)],'Applied\x20'+_0x358c5f+_0x40a4e4(-_0x417664._0x107969,-_0x417664._0x1ea47e,0x39,_0x417664._0x3dc2a6));_0x289624[_0xa85334(0x30b,_0x417664._0x1c14b5,_0x417664._0x34ce7f,_0x417664._0x53cd14)](_0x274118,_0x23cdc9[_0x40a4e4(0x415,_0x417664._0x23b8a4,_0x417664._0x206547,0x1d2)]),_0x289624['resetNoChange'](_0x2f1649[_0x40a4e4(-_0x417664._0x479681,0x1ed,_0x417664._0x3a338c,-_0x417664._0x5e735c)]);const _0x109bf1={'preview':buildPreview(_0x569ca8,_0x99734d,_0x2f1649,_0x39dfb6,_0x3ab0f1),'beforeDigest':_0x39dfb6[_0xa85334(0x239,_0x417664._0x3204bf,_0x417664._0x541b81,0x4d5)][_0xa85334(_0x417664._0x16c480,_0x417664._0x11e3fe,0x596,0x415)],'afterDigest':_0x274118[_0xa85334(0x593,_0x417664._0x11e3fe,0x676,0x6fa)],'beforeTag':_0x99734d[_0xa85334(_0x417664._0x2373b3,_0x417664._0x2e7a0c,0x3fe,0x388)],'afterTag':_0x274118[_0xa85334(0x4ac,0x3aa,0x40f,_0x417664._0x1d0b15)],'bytesWritten':_0x5cde44[_0x40a4e4(0x11d,_0x417664._0xc410dc,_0x417664._0x2c3ae2,_0x417664._0x2dfedc)],'dryRun':![],'operationCount':_0x358c5f,'tokenClassification':_0x40a4e4(_0x417664._0x28355e,_0x417664._0x3df0c9,_0x417664._0x360618,_0x417664._0x53ca79)};return createToolOutput(_0x23cdc9[_0x40a4e4(0xc3,_0x417664._0x17a6db,-_0x417664._0x8c93bc,_0x417664._0x385980)],_0x109bf1);});}import{readFile as _0x18a980,stat as _0x568bae}from'fs/promises';import*as _0x2fedc2 from'path';function detectEol(_0x329ca6){const _0x3181ae={_0x528dba:0x236,_0x4f4c5f:0x3a7,_0x2f4b32:0x3dc,_0x448d8e:0x4ce},_0x3e4f7a={_0x45a03c:0x105,_0x457461:0x112,_0x593b66:0x517},_0x3fe6f7={_0x431fbb:0x78,_0x49a9e2:0x3da};function _0x3482dd(_0x17b054,_0x547d94,_0x4e7a37,_0x4e264e){return _0x5b2413(_0x17b054-0x191,_0x547d94-_0x3fe6f7._0x431fbb,_0x4e7a37- -_0x3fe6f7._0x49a9e2,_0x4e264e);}function _0x59b173(_0x167f60,_0xec1b99,_0x1e2140,_0x45e75b){return _0x5b2413(_0x167f60-_0x3e4f7a._0x45a03c,_0xec1b99-_0x3e4f7a._0x457461,_0x45e75b- -_0x3e4f7a._0x593b66,_0xec1b99);}return/\r\n/['test'](_0x329ca6[_0x3482dd(0x41e,0x417,0x365,_0x3181ae._0x528dba)]('utf8'))?_0x3482dd(_0x3181ae._0x4f4c5f,_0x3181ae._0x2f4b32,_0x3181ae._0x448d8e,0x5d6):'lf';}function normalizeToLf(_0x5679e0){const _0x461890={_0x41b1a6:0x31a,_0x24d536:0x435,_0x5cfd52:0x390,_0x26ef4f:0x41f},_0xbf1dc7={_0x5d7d0c:0xb};function _0x44341f(_0x19423c,_0x314569,_0x8853c2,_0x21c987){return _0x28bc81(_0x19423c-_0xbf1dc7._0x5d7d0c,_0x314569-0x13f,_0x21c987- -0x138,_0x19423c);}return _0x5679e0[_0x44341f(_0x461890._0x41b1a6,_0x461890._0x24d536,_0x461890._0x5cfd52,_0x461890._0x26ef4f)](/\r\n/g,'\x0a');}function convertEol(_0x222372,_0x418103){const _0x33f35d={_0x194f43:0x75d,_0x2efa61:0x5a6,_0x90049c:0x702},_0x2a24a2={_0x5dce22:0xc2,_0x49425f:0x254},_0x29b9a5={_0x4b5f3a:0x130,_0x48413a:0x4c,_0x3533e5:0x1f4};function _0x4461e4(_0xc99ec3,_0x31657e,_0x3a509f,_0x145e44){return _0x5b2413(_0xc99ec3-_0x29b9a5._0x4b5f3a,_0x31657e-_0x29b9a5._0x48413a,_0x3a509f- -_0x29b9a5._0x3533e5,_0x31657e);}function _0x2f809a(_0x3250f1,_0x2f9685,_0x568d22,_0x5c8c0c){return _0x28bc81(_0x3250f1-_0x2a24a2._0x5dce22,_0x2f9685-0x181,_0x568d22-_0x2a24a2._0x49425f,_0x5c8c0c);}return _0x418103===_0x2f809a(0x7b5,0x5d5,_0x33f35d._0x194f43,_0x33f35d._0x2efa61)?_0x222372[_0x4461e4(0x525,0x7b8,_0x33f35d._0x90049c,0x76a)](/\n/g,'\x0d\x0a'):_0x222372;}function resolveAnchoredEditTarget(_0x56f599,_0x4d1c76,_0x593002,_0x5dc308){const _0xbbb3f9={_0x3b3386:0xde,_0x1908f1:0x34e,_0x149d3b:0x959,_0x44375a:0xb08,_0x1ec378:0x305,_0x212186:0xe4,_0x395baf:0x134,_0x4a972a:0x1e,_0x24f906:0x977,_0xf03ddf:0x72a,_0xcab8c2:0x82c,_0x2e59e6:0x87a,_0x2de4aa:0x84},_0x2dac0b={_0x5b7945:0xac},_0x32fd0e={_0x361cee:0x170,_0x3f0719:0x4,_0x378cfe:0x56};function _0x312d33(_0xceddab,_0x1599ed,_0x4f9a65,_0x1d8c76){return _0x5b2413(_0xceddab-_0x32fd0e._0x361cee,_0x1599ed-_0x32fd0e._0x3f0719,_0x4f9a65-_0x32fd0e._0x378cfe,_0x1d8c76);}const _0x4f47bf=_0x56f599[_0x3c1baa(0x18a,0x1ea,_0xbbb3f9._0x3b3386,_0xbbb3f9._0x1908f1)]??_0x312d33(0x893,0x7e8,_0xbbb3f9._0x149d3b,0x877);if(_0x4f47bf===_0x312d33(_0xbbb3f9._0x44375a,0xaec,_0xbbb3f9._0x149d3b,0x78e))return void 0x0;function _0x3c1baa(_0x210ef7,_0x3ecb3a,_0x2b93ef,_0x4d0c64){return _0x5b2413(_0x210ef7-0x7e,_0x3ecb3a-_0x2dac0b._0x5b7945,_0x210ef7- -0x6f1,_0x2b93ef);}const _0x1fb4e1=_0x56f599[_0x3c1baa(0x201,_0xbbb3f9._0x1ec378,-0x8,_0xbbb3f9._0x212186)],_0x43c32e=_0x56f599[_0x3c1baa(0x88,-0x4e,-_0xbbb3f9._0x395baf,0x217)],_0x28a688=_0x56f599[_0x3c1baa(_0xbbb3f9._0x4a972a,0xde,0x14c,-0x10b)];if(_0x1fb4e1===void 0x0||_0x43c32e===void 0x0||_0x28a688===void 0x0){const _0x408f7d=[_0x1fb4e1===void 0x0?_0x312d33(_0xbbb3f9._0x24f906,0xa9b,0x948,0xb46):void 0x0,_0x43c32e===void 0x0?'mutations':void 0x0,_0x28a688===void 0x0?_0x312d33(_0xbbb3f9._0xf03ddf,0x766,0x765,0x836):void 0x0][_0x312d33(_0xbbb3f9._0xcab8c2,0x9c1,_0xbbb3f9._0x2e59e6,0xa7e)](_0x29b9c6=>_0x29b9c6!==void 0x0)[_0x312d33(0x781,0x6c9,0x852,0x9a2)](',\x20');throw new Error(_0x4d1c76+'\x20'+_0x4f47bf+_0x3c1baa(0x161,0xf5,-0x9b,_0xbbb3f9._0x2de4aa)+_0x408f7d+';\x20construct\x20with\x20observations,\x20mutations,\x20and\x20outputBudgetBytes.');}return{'mode':_0x4f47bf,'environment':{'defaultCwd':_0x593002,'allowedDirs':_0x5dc308,'observations':_0x1fb4e1,'mutations':_0x43c32e,'outputBudgetBytes':_0x28a688}};}function createFileEditTool(_0x52e3fd={}){const _0x10ec41={_0x526f68:0x665,_0x42202f:0x538,_0x1fa98a:0x21c,_0x4fcc67:0x327,_0x52e435:0x36b,_0x39a5d3:0x6bb,_0x2ebd33:0x96a,_0x496176:0x8fd,_0x1daca3:0x528,_0x10ae76:0x453,_0x2abbc1:0x410,_0x435e5f:0x480,_0xc895b5:0x514,_0x59cff0:0x6fb,_0x4cbbbf:0x344,_0x37f5b1:0x27d,_0x2ceeef:0x248,_0x64133c:0x541,_0x428039:0x56a,_0x54b68b:0x678,_0x33c926:0x433,_0x3f392a:0x4e7,_0x5bb7d5:0x1c0,_0x4b01b3:0xed,_0xd9e5f8:0x6b2,_0x5d2f0d:0x499,_0x16319b:0x452,_0x5511ec:0x34c,_0x10229b:0x461,_0x205b63:0x23f,_0x4a5c69:0x767,_0x4847dc:0x1f2,_0x428341:0x13f,_0x1415bf:0x308,_0x51fdd2:0x37c},_0x3aea94={_0x2bda4b:0x53f,_0x2e2a84:0x48a,_0x214940:0x3fe,_0x55444e:0x32f,_0x3f089c:0x2fd,_0x35ecb6:0x25f,_0x40789f:0x1d2,_0x12d8f5:0x5cc,_0x7ef202:0x490,_0x14f098:0x65a,_0x5f2047:0x750,_0x330039:0x6ca,_0x27e73e:0x565,_0x1d3ced:0x6b4,_0x4f24ff:0x731,_0x2bfd4c:0x84d,_0x5d9b8:0x7ee,_0x2fc571:0x401,_0x3853d5:0x478,_0x2596cd:0x3ce,_0x45441a:0x48c,_0x1483c8:0x465,_0x26b133:0x362,_0x42fb6c:0x38d,_0x223e58:0x414,_0x3c4a30:0x1e4,_0x3a205b:0x475,_0x36f957:0x4ac,_0x203bc8:0x558,_0x9b03db:0x52f,_0x37444e:0x32a,_0x37a906:0x26a,_0x587c3e:0x54f,_0x31f1bb:0x22d,_0x316c08:0x4a1,_0x5c4ad5:0x1c7,_0x3a5cac:0x593,_0x71fd3f:0x457,_0x1dd459:0x356,_0x47ac1c:0x442,_0x4165bc:0x5c9,_0x28de62:0x6ce,_0x15f9ac:0x4f8,_0x17ed46:0x633,_0x22f5d9:0x7b5},_0x50f934={_0x10768b:0x22,_0x14a107:0x244},_0x4b53b7={_0x326a21:0x13},_0x124afe={_0x66d2cc:0xd2,_0x253cb1:0x71},_0x41d84d=_0x2fedc2[_0x4f4e36(0x784,_0x10ec41._0x526f68,0x6a0,0x588)](_0x52e3fd['defaultCwd']??process[_0x178317(0x6b1,0x5af,_0x10ec41._0x42202f,0x450)]()),_0x4582ea=_0x52e3fd[_0x178317(_0x10ec41._0x1fa98a,_0x10ec41._0x4fcc67,0x28e,_0x10ec41._0x52e435)]??[],_0x43c2ee=_0x52e3fd[_0x4f4e36(_0x10ec41._0x39a5d3,_0x10ec41._0x2ebd33,_0x10ec41._0x496176,0x7a4)]??_0x178317(_0x10ec41._0x1daca3,_0x10ec41._0x10ae76,_0x10ec41._0x2abbc1,0x357);function _0x4f4e36(_0x45d498,_0x224545,_0x4ea302,_0x5e6ac2){return _0x5b2413(_0x45d498-0xf8,_0x224545-_0x124afe._0x66d2cc,_0x5e6ac2- -_0x124afe._0x253cb1,_0x45d498);}const _0x14e8b5=resolveAnchoredEditTarget(_0x52e3fd,_0x43c2ee,_0x41d84d,_0x4582ea);function _0x178317(_0x4feb86,_0x192bd4,_0x147efa,_0x1bf6d1){return _0x5b2413(_0x4feb86-_0x4b53b7._0x326a21,_0x192bd4-0x18f,_0x192bd4- -0x3f6,_0x1bf6d1);}if(_0x14e8b5!==void 0x0){const {mode:_0x1f42d1,environment:_0x3857e9}=_0x14e8b5;return defineTool({'name':_0x43c2ee,'permissionClass':_0x178317(_0x10ec41._0x435e5f,0x4fa,_0x10ec41._0xc895b5,_0x10ec41._0x59cff0),'description':_0x1f42d1===_0x178317(0x202,0x250,_0x10ec41._0x4cbbbf,_0x10ec41._0x37f5b1)?_0x178317(0x2f7,_0x10ec41._0x2ceeef,0x3d0,0xaa):_0x4f4e36(0x58e,_0x10ec41._0x64133c,0x5c5,_0x10ec41._0x428039),'inputSchema':_0x1f42d1===_0x4f4e36(0x695,_0x10ec41._0x54b68b,_0x10ec41._0x33c926,0x5d5)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x1304ae,_0x32d8f5){return yield await executeAnchoredFileEdit(_0x1f42d1,_0x1304ae,_0x32d8f5,_0x3857e9),void 0x0;}});}return defineTool({'name':_0x43c2ee,'permissionClass':_0x178317(0x6c9,0x4fa,_0x10ec41._0x3f392a,0x6bf),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':'object','properties':{'filePath':{'type':_0x178317(_0x10ec41._0x5bb7d5,0x23f,_0x10ec41._0x4b01b3,0x309)},'description':{'type':_0x4f4e36(_0x10ec41._0xd9e5f8,_0x10ec41._0x5d2f0d,0x5d6,0x5c4),'description':_0x178317(0x610,_0x10ec41._0x16319b,_0x10ec41._0x5511ec,0x2ae)},'oldText':{'type':_0x4f4e36(0x677,0x5ce,_0x10ec41._0x10229b,0x5c4)},'newText':{'type':_0x178317(0x1a5,_0x10ec41._0x205b63,0x15a,0x3a0)},'dryRun':{'type':_0x4f4e36(0x63e,_0x10ec41._0x4a5c69,0xa35,0x852)}},'required':[_0x178317(0x15,_0x10ec41._0x4847dc,_0x10ec41._0x428341,0xef),'oldText',_0x178317(_0x10ec41._0x1415bf,0x48b,0x325,_0x10ec41._0x51fdd2)]},async *'execute'(_0x3380dd){const _0x106280=resolveAllowedPath(_0x41d84d,_0x4582ea,_0x3380dd['filePath']);await assertWorkspaceFile(_0x106280);const _0x5e5668=await _0x568bae(_0x106280);function _0x1664df(_0x295dc4,_0x5efd35,_0x50040a,_0x38496f){return _0x4f4e36(_0x38496f,_0x5efd35-0xb9,_0x50040a-0x129,_0x50040a- -0x1a9);}const _0x55db52=await _0x18a980(_0x106280),_0x4a723a=detectEol(_0x55db52),_0x16959b=normalizeToLf(_0x55db52[_0xcdd81(_0x3aea94._0x2bda4b,_0x3aea94._0x2e2a84,0x2b3,0x315)](_0x1664df(0x4b8,0x5f4,_0x3aea94._0x214940,0x31c))),_0x4ee0c1=normalizeToLf(_0x3380dd[_0xcdd81(_0x3aea94._0x55444e,_0x3aea94._0x3f089c,_0x3aea94._0x35ecb6,_0x3aea94._0x40789f)]),_0x2b17c6=normalizeToLf(_0x3380dd[_0xcdd81(0x4c0,_0x3aea94._0x12d8f5,0x662,_0x3aea94._0x7ef202)]),_0x419742=replaceFirstExact(_0x16959b,_0x4ee0c1,_0x2b17c6);if(_0x419742===void 0x0){const _0x305a69=_0x4ee0c1[_0x1664df(0x5fc,0x81c,_0x3aea94._0x14f098,_0x3aea94._0x5f2047)](0x0,0x64)[_0x1664df(_0x3aea94._0x330039,0x6f1,0x6dc,0x657)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xcdd81(_0x3aea94._0x27e73e,_0x3aea94._0x1d3ced,_0x3aea94._0x4f24ff,_0x3aea94._0x2bfd4c)+_0x305a69+(_0x4ee0c1[_0x1664df(0x4fb,_0x3aea94._0x5d9b8,0x6ce,0x617)]>0x64?_0x1664df(_0x3aea94._0x2fc571,_0x3aea94._0x3853d5,0x61f,0x7f9):'')+'\x22',{'filePath':_0x3380dd[_0x1664df(0x4a0,0x54f,_0x3aea94._0x2596cd,_0x3aea94._0x45441a)]});}const _0x1a61c2=convertEol(_0x419742['after'],_0x4a723a),_0x5f4740=Buffer[_0x1664df(_0x3aea94._0x1483c8,_0x3aea94._0x26b133,_0x3aea94._0x42fb6c,_0x3aea94._0x223e58)](_0x1a61c2,_0xcdd81(_0x3aea94._0x3c4a30,0x363,0x321,0x517)),_0x2db018=sha256Bytes(_0x55db52),_0x45f7f7=sha256Bytes(_0x5f4740),_0x115fea=_0x2db018===_0x45f7f7;function _0xcdd81(_0x31388f,_0x8f713a,_0xa48c78,_0x21b3e8){return _0x4f4e36(_0x21b3e8,_0x8f713a-_0x50f934._0x10768b,_0xa48c78-0x1ab,_0x8f713a- -_0x50f934._0x14a107);}const _0x568465=_0x3380dd[_0xcdd81(_0x3aea94._0x3a205b,0x2ba,_0x3aea94._0x36f957,0x467)]??![];return!_0x568465&&!_0x115fea&&await atomicReplaceFile(_0x106280,_0x5f4740,_0x5e5668['mode']),yield createToolOutput(_0x115fea?_0xcdd81(0x5a5,0x534,_0x3aea94._0x203bc8,0x425):_0x568465?_0x1664df(0x6f4,0x472,_0x3aea94._0x9b03db,0x53c):_0xcdd81(0x523,_0x3aea94._0x37444e,_0x3aea94._0x37a906,0x527),{'filePath':_0x3380dd[_0x1664df(_0x3aea94._0x587c3e,_0x3aea94._0x31f1bb,0x3ce,0x50c)],'resolvedPath':_0x106280,'created':_0x5e5668[_0xcdd81(0x575,_0x3aea94._0x316c08,0x54a,0x326)][_0xcdd81(0x2ca,0x320,0x52f,0x180)](),'modified':_0x5e5668['mtime'][_0x1664df(_0x3aea94._0x5c4ad5,0x22d,0x3bb,0x2c9)](),'size':_0x5e5668[_0x1664df(0x31a,_0x3aea94._0x3a5cac,_0x3aea94._0x71fd3f,_0x3aea94._0x1dd459)],'eol':_0x4a723a,'oldTextLength':_0x4ee0c1[_0xcdd81(_0x3aea94._0x47ac1c,0x633,0x5af,0x81a)],'newTextLength':_0x2b17c6[_0x1664df(0x4dc,_0x3aea94._0x4165bc,_0x3aea94._0x28de62,_0x3aea94._0x15f9ac)],'bytesWritten':_0x115fea||_0x568465?0x0:_0x5f4740[_0xcdd81(0x627,_0x3aea94._0x17ed46,0x5a2,0x4fd)],'beforeSha':_0x2db018,'afterSha':_0x45f7f7,'dryRun':_0x568465,'noChange':_0x115fea,'lineNumbers':_0x419742[_0xcdd81(0x531,0x684,0x4c7,_0x3aea94._0x22f5d9)]}),void 0x0;}});}var FileMutationCoordinator=class{[_0x28bc81(0x32f,0x44e,0x3d4,0x5de)]=new Map();async[_0x28bc81(0x200,0x318,0x2d5,0x26f)](_0x4905f0,_0x5adf79,_0x2b00f6){const _0x1caf2d={_0x4aea60:0x589,_0x29b64d:0x7c3,_0x563a3e:0x3e0,_0x1bcfb9:0x292,_0x2a6a29:0x62f,_0x428281:0x72c,_0x343b37:0x72b,_0x2fdd67:0x80c,_0x28974a:0x673,_0xe9cee5:0x561,_0x3b8692:0x82c},_0x3b517f={_0x576836:0x5d9,_0x1fe6c0:0x606,_0x1717fd:0x816,_0x53cf92:0x547,_0x409269:0x35c,_0x4ba59d:0x21f,_0x35e557:0x1a9,_0x1c4435:0x348},_0x17e6ea={_0x2a1c48:0x1d,_0x7597d8:0x1df},_0x2e8174={_0x4d1809:0x15c},_0x27844f={_0x3e0dc4:0x36};throwIfAborted(_0x5adf79);const _0x19d573=this[_0x1c2868(0x7a9,_0x1caf2d._0x4aea60,0x82a,_0x1caf2d._0x29b64d)][_0x3faad2(0x473,_0x1caf2d._0x563a3e,_0x1caf2d._0x1bcfb9,_0x1caf2d._0x563a3e)](_0x4905f0)??Promise[_0x1c2868(_0x1caf2d._0x2a6a29,0x7b6,_0x1caf2d._0x428281,_0x1caf2d._0x343b37)](),_0x2ccf17=_0x19d573['then'](async()=>{return throwIfAborted(_0x5adf79),_0x2b00f6();});function _0x1c2868(_0x5dca05,_0x330677,_0x4ef45c,_0x175b68){return _0x5b2413(_0x5dca05-0x164,_0x330677-0x8f,_0x5dca05-_0x27844f._0x3e0dc4,_0x330677);}const _0x2dbf74=_0x2ccf17['then'](()=>void 0x0,()=>void 0x0);this['tails'][_0x1c2868(_0x1caf2d._0x2fdd67,0x672,0x679,_0x1caf2d._0x28974a)](_0x4905f0,_0x2dbf74);function _0x3faad2(_0x3c02c3,_0xd11d0f,_0x115d3f,_0x28df68){return _0x28bc81(_0x3c02c3-_0x2e8174._0x4d1809,_0xd11d0f-0x174,_0x28df68- -0x1b1,_0x3c02c3);}return void _0x2dbf74[_0x1c2868(0x759,_0x1caf2d._0xe9cee5,0x5d1,_0x1caf2d._0x3b8692)](()=>{const _0x28cc24={_0x5b6152:0x593,_0x3ce1ed:0xe4,_0x51f5ce:0x57};function _0xd2a14(_0x2b0de1,_0x4c1c11,_0x24f2e2,_0x1cff1c){return _0x1c2868(_0x1cff1c- -_0x28cc24._0x5b6152,_0x24f2e2,_0x24f2e2-_0x28cc24._0x3ce1ed,_0x1cff1c-_0x28cc24._0x51f5ce);}function _0x28bf1e(_0x1f6dc5,_0x210a0a,_0x38635e,_0x4076b3){return _0x1c2868(_0x1f6dc5- -0x1a3,_0x210a0a,_0x38635e-_0x17e6ea._0x2a1c48,_0x4076b3-_0x17e6ea._0x7597d8);}this[_0x28bf1e(0x606,0x440,0x4f6,0x818)][_0xd2a14(_0x3b517f._0x576836,0x442,0x366,0x3d3)](_0x4905f0)===_0x2dbf74&&this[_0x28bf1e(_0x3b517f._0x1fe6c0,_0x3b517f._0x1717fd,_0x3b517f._0x53cf92,0x726)][_0xd2a14(_0x3b517f._0x409269,_0x3b517f._0x4ba59d,_0x3b517f._0x35e557,_0x3b517f._0x1c4435)](_0x4905f0);}),_0x2ccf17;}};import{mkdir as _0x416e2e,stat as _0xd741b8}from'fs/promises';import*as _0x5db50a from'path';function createFileNewTool(_0x514f0c={}){const _0x143301={_0x2c7c18:0x4d8,_0x1858b6:0x23e,_0x23b41c:0x78,_0x36fc40:0x168,_0x16ac79:0x308,_0x2ae7bb:0x1b4,_0x5ad089:0x257,_0x2fdfd3:0xcd,_0x58b955:0x1a8,_0x439855:0x1bb,_0x4da70a:0x151,_0x2567b0:0x19,_0x3a5f84:0x3a0,_0x3be7d6:0x198},_0x4c9fa4={_0x1512c:0x544,_0x364af5:0x34b,_0x2aeec9:0x252,_0x5a4527:0x2ce,_0x4340ec:0x867,_0x590eab:0x124,_0x3ff924:0xbe,_0x155cd7:0xb3,_0x54613a:0x982,_0x20240a:0x5c4,_0xa7d5f3:0x6d4,_0x2da362:0xf8,_0x3141aa:0x1ac,_0x5abf8e:0x17e,_0x127f6a:0x3b5,_0x5f4299:0x376,_0x1aa2c3:0x5ac,_0x546f99:0x5,_0x2a8686:0xf4,_0x11767e:0x529,_0x30b54c:0x831,_0x169581:0x5bc,_0x277495:0x6f0,_0x1d889e:0x674,_0x58a7f0:0x9b1,_0x315a22:0x7d0,_0x139cb9:0x154,_0x182d68:0x9c,_0x21a455:0x17,_0x584f71:0x1d1,_0x4e1254:0x917,_0x4b8ba1:0x7a3,_0x340587:0x7e6,_0x575d6f:0x892,_0x39280e:0x71a,_0x3f110b:0x84d,_0x91a5e7:0x523,_0x4071ae:0xde,_0x9b7cc0:0x27f,_0x4674fb:0x268},_0x3bf19d={_0x4c77fc:0x26f},_0x4947bd={_0x58e061:0x1e9},_0x2a42ec={_0x14d361:0x1c0,_0x4fa7dc:0x19b,_0x34d2fd:0x4cd},_0x454d5f=_0x5db50a[_0x5c41fa(0x141,0x71,-0x75,0x51)](_0x514f0c[_0x358add(0x1ce,0x1a8,0x2ed,0x3bb)]??process[_0x358add(_0x143301._0x2c7c18,0x424,0x2ec,0x394)]()),_0x37147e=_0x514f0c['allowedDirs']??[],_0x84fbf2=_0x514f0c[_0x5c41fa(_0x143301._0x1858b6,0x149,0x3aa,0x26d)]??_0x5c41fa(0x233,-_0x143301._0x23b41c,0x350,_0x143301._0x36fc40);function _0x358add(_0x29a867,_0xa72021,_0x5a1fab,_0xb50b3c){return _0x5b2413(_0x29a867-_0x2a42ec._0x14d361,_0xa72021-_0x2a42ec._0x4fa7dc,_0x29a867- -_0x2a42ec._0x34d2fd,_0xa72021);}function _0x5c41fa(_0x4958e1,_0x56c791,_0x456b66,_0x49f2c9){return _0x28bc81(_0x4958e1-0x6,_0x56c791-_0x4947bd._0x58e061,_0x49f2c9- -0x209,_0x4958e1);}const {observations:_0xc8b7e3,anchored:anchored=![]}=_0x514f0c;return defineTool({'name':_0x84fbf2,'permissionClass':'write','description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x358add(0x137,_0x143301._0x16ac79,_0x143301._0x2ae7bb,_0x143301._0x5ad089),'properties':{'filePath':{'type':'string'},'content':{'type':_0x358add(0x168,_0x143301._0x2fdfd3,_0x143301._0x58b955,_0x143301._0x439855)}},'required':[_0x5c41fa(_0x143301._0x4da70a,_0x143301._0x2567b0,0x232,0x40),_0x358add(_0x143301._0x3a5f84,0x52b,0x1cf,_0x143301._0x3be7d6)]},async *'execute'(_0x4e3d68,_0x1e3321){const _0x11bbe0={_0x276736:0x403,_0x1fd730:0x15},_0x3d986e=resolveAllowedPath(_0x454d5f,_0x37147e,_0x4e3d68[_0x3db59f(_0x4c9fa4._0x1512c,0x51e,0x607,_0x4c9fa4._0x364af5)]),_0x31f753=await _0xd741b8(_0x3d986e)[_0x1840cc(-0x172,-_0x4c9fa4._0x2aeec9,-_0x4c9fa4._0x5a4527,-0x13a)](()=>void 0x0),_0x3eb226=_0x31f753!==void 0x0,_0x3c8e97=Buffer['from'](_0x4e3d68[_0x3db59f(0x94b,0x7a3,0x97c,_0x4c9fa4._0x4340ec)],_0x1840cc(-_0x4c9fa4._0x590eab,-0xf0,_0x4c9fa4._0x3ff924,-_0x4c9fa4._0x155cd7));function _0x3db59f(_0x32b2b2,_0x124982,_0x19f1cd,_0x364aa2){return _0x358add(_0x124982-_0x11bbe0._0x276736,_0x32b2b2,_0x19f1cd-_0x11bbe0._0x1fd730,_0x364aa2-0xa1);}const _0x35f95e=_0x31f753!==void 0x0?_0x31f753[_0x3db59f(0x6c1,0x7b1,_0x4c9fa4._0x54613a,0x5b2)]&0xfff:0x1b6&~process[_0x3db59f(0x482,_0x4c9fa4._0x20240a,_0x4c9fa4._0xa7d5f3,0x611)]();let _0x486e76;anchored&&_0xc8b7e3!==void 0x0&&(_0x486e76=createNormalizedFileSnapshot(_0x3d986e,_0x3c8e97)[_0x1840cc(-0x93,_0x4c9fa4._0x2da362,0x55,-0x1a4)]);await _0x416e2e(_0x5db50a[_0x1840cc(-0x1c7,-_0x4c9fa4._0x3141aa,-0x22e,-_0x4c9fa4._0x5abf8e)](_0x3d986e),{'recursive':!![]});function _0x1840cc(_0x38212a,_0x3c4e76,_0x592b50,_0x5dbe06){return _0x358add(_0x38212a- -_0x3bf19d._0x4c77fc,_0x3c4e76,_0x592b50-0x75,_0x5dbe06-0xd7);}await atomicReplaceFile(_0x3d986e,_0x3c8e97,_0x35f95e);if(_0x486e76!==void 0x0&&_0xc8b7e3!==void 0x0){const _0x4831c9=await resolveCanonicalAllowedFile(_0x454d5f,_0x37147e,_0x4e3d68[_0x3db59f(0x587,0x51e,_0x4c9fa4._0x127f6a,_0x4c9fa4._0x5f4299)]),_0x103efb=createNormalizedFileSnapshot(_0x4831c9[_0x3db59f(_0x4c9fa4._0x1aa2c3,0x6ac,0x741,0x7ab)],_0x3c8e97);_0xc8b7e3[_0x1840cc(_0x4c9fa4._0x546f99,0x95,-_0x4c9fa4._0x2a8686,-0x183)](_0x1e3321[_0x3db59f(_0x4c9fa4._0x11767e,0x698,_0x4c9fa4._0x30b54c,_0x4c9fa4._0x169581)]),_0xc8b7e3['record'](_0x103efb,_0x103efb[_0x3db59f(_0x4c9fa4._0x277495,0x664,_0x4c9fa4._0x1d889e,0x48b)][_0x3db59f(0x751,0x8a6,_0x4c9fa4._0x58a7f0,0x8d9)]((_0x5dc021,_0x847ce2)=>_0x847ce2+0x1));}return yield createToolOutput(_0x486e76===void 0x0?_0x3db59f(0x75d,_0x4c9fa4._0x315a22,0x5ea,0x935)+_0x4e3d68['filePath']+'.':'['+_0x4e3d68[_0x1840cc(-_0x4c9fa4._0x139cb9,-_0x4c9fa4._0x182d68,-0x34c,-_0x4c9fa4._0x21a455)]+'#'+_0x486e76+']\x0aFile\x20written\x20at\x20'+_0x4e3d68[_0x1840cc(-0x154,-0xe0,-0x63,-_0x4c9fa4._0x584f71)]+'.',{'filePath':_0x4e3d68[_0x1840cc(-_0x4c9fa4._0x139cb9,-0x24d,-0x116,-0x242)],'resolvedPath':_0x3d986e,'bytes':_0x3c8e97['length'],'lines':_0x4e3d68[_0x3db59f(_0x4c9fa4._0x4e1254,_0x4c9fa4._0x4b8ba1,_0x4c9fa4._0x340587,_0x4c9fa4._0x575d6f)][_0x3db59f(0x7ce,_0x4c9fa4._0x39280e,_0x4c9fa4._0x3f110b,_0x4c9fa4._0x91a5e7)](/\r?\n/)[_0x1840cc(0x1ac,_0x4c9fa4._0x4071ae,_0x4c9fa4._0x9b7cc0,_0x4c9fa4._0x4674fb)],'created':new Date()['toISOString'](),'overwritten':_0x3eb226,..._0x486e76===void 0x0?{}:{'tag':_0x486e76}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x5b2413(0xabe,0x9e9,0x912,0xb2c)];[_0x5b2413(0x7af,0x6b2,0x8d4,0x798)];[_0x28bc81(0x20e,0x2e3,0x3c3,0x245)];[_0x5b2413(0x917,0x514,0x708,0x74d)]=new Map();[_0x28bc81(0x717,0x66d,0x5db,0x416)]=[];[_0x28bc81(0x752,0x3c1,0x5a0,0x455)]=0x0;['bytesByDigest']=new Map();['noChangeCounters']=new Map();constructor(_0x18be5c={}){const _0x4de001={_0x11d90f:0x404,_0x375557:0x3c1,_0x462e68:0x706,_0x5b6907:0x81e,_0x28c6b2:0x966,_0x4bf22e:0x206,_0x57385c:0x29d},_0x4f0369={_0x33210e:0x1de},_0x538f20={_0x4f0cf2:0x1,_0x2f9d77:0x43};this[_0x1c1fcf(0x334,_0x4de001._0x11d90f,_0x4de001._0x375557,0x116)]={...FILE_OBSERVATION_LIMITS,..._0x18be5c[_0x45c92f(0x85c,_0x4de001._0x462e68,0x956,0x68d)]};function _0x45c92f(_0x460dac,_0x90bfa9,_0x18c0ae,_0x12f0b0){return _0x28bc81(_0x460dac-_0x538f20._0x4f0cf2,_0x90bfa9-_0x538f20._0x2f9d77,_0x460dac-0x2e9,_0x18c0ae);}function _0x1c1fcf(_0x3e1673,_0x5126db,_0xca268b,_0x4b9336){return _0x5b2413(_0x3e1673-0x25,_0x5126db-_0x4f0369._0x33210e,_0x3e1673- -0x5de,_0x4b9336);}this[_0x45c92f(_0x4de001._0x5b6907,0x88c,0x846,_0x4de001._0x28c6b2)]=_0x18be5c[_0x1c1fcf(0x2f6,_0x4de001._0x4bf22e,_0x4de001._0x57385c,0x225)];}[_0x5b2413(0x55f,0x8b3,0x741,0x8ed)](_0x53ff26){const _0x1cfd07={_0x27494f:0x156,_0x383e0d:0x197,_0x21065d:0x1b8,_0x5971b9:0x556,_0x4e5cbd:0x363,_0x3aa458:0x5d8,_0xf95ec3:0x42e,_0x5ebd66:0x4dd},_0x52b513={_0x1e1971:0xb7,_0x4a6c4b:0x11a},_0x505ba1={_0x4b4e1e:0x2c,_0x30551f:0x5cb};if(this[_0x20a697(0x192,_0x1cfd07._0x27494f,0x2d9,_0x1cfd07._0x383e0d)]===_0x53ff26)return;function _0x20a697(_0x596e1d,_0x3b60a3,_0x593a85,_0x2d85ff){return _0x5b2413(_0x596e1d-_0x505ba1._0x4b4e1e,_0x3b60a3-0x6f,_0x2d85ff- -_0x505ba1._0x30551f,_0x3b60a3);}this[_0x20a697(0x466,_0x1cfd07._0x21065d,_0x1cfd07._0x5971b9,_0x1cfd07._0x4e5cbd)]();function _0x1a5f17(_0x2ad680,_0x428cba,_0xdff12,_0x245251){return _0x28bc81(_0x2ad680-_0x52b513._0x1e1971,_0x428cba-0x18c,_0x245251-_0x52b513._0x4a6c4b,_0xdff12);}this[_0x1a5f17(_0x1cfd07._0x3aa458,0x534,_0x1cfd07._0xf95ec3,_0x1cfd07._0x5ebd66)]=_0x53ff26;}['record'](_0x52adf4,_0x6cb854){const _0x852af7={_0x1e2435:0x4c0,_0x29c12a:0x6fc,_0x49f7e1:0x15c,_0x153ac6:0x14a,_0x35f9dd:0x95,_0x198318:0x224,_0xe8c45:0x1a7,_0xd781a6:0x18c,_0xc4c108:0x10a,_0x1adb77:0x2a6,_0x4f813f:0x6f0,_0x130d89:0x579,_0x391a1d:0x743,_0x53d762:0x62c,_0x2cff86:0x755,_0x18060c:0x809,_0x1b9dfa:0x55c,_0x2b267e:0x4eb,_0x33b76e:0x34c,_0x134c2d:0x233,_0x2cdd1c:0x65,_0xee19eb:0x61,_0xfda208:0x365,_0x441638:0x268,_0x4a7682:0x65f,_0x46e4c6:0x52b,_0x59d931:0x685,_0x4698e7:0x14b,_0x52171f:0x3d,_0x30044b:0xc7,_0x427466:0x186,_0xb5df:0xdb,_0x5cff17:0x69f,_0xe8f447:0x899,_0x32919f:0x87f,_0x16a72b:0x214,_0x1cb850:0x62,_0x440347:0x4f2,_0x148144:0x305,_0x5ce14e:0x5c0,_0x13dcf4:0x4d0,_0x3773d6:0x419,_0x3e4964:0x55a,_0x535ab6:0x103,_0x3fbd89:0x209,_0x118718:0x6cf,_0x5056e1:0x7b8,_0x3a9dbe:0x80a,_0x5b3aaa:0x663,_0x52553f:0x580,_0x104813:0x22d,_0xf6dc08:0xe0,_0x409042:0x723,_0x3df2d3:0x69a,_0x2129ff:0x5e7,_0x47bdcd:0x5cf,_0xddf881:0x5ea,_0x280c3e:0x4e,_0x2e8d35:0x43,_0x15d71f:0x560,_0x3c4236:0x3d3,_0x4599e9:0x47a,_0x1f4938:0x6be,_0x18bf28:0x2a6,_0x52c6db:0x456,_0x25b266:0x166,_0x2fff90:0x106,_0x37de63:0x52c,_0x23faa5:0x2d3,_0x29abe9:0x1d0,_0x3ef24e:0x76b,_0x22cf04:0x25,_0x230de1:0x1b,_0x49861a:0x1d8,_0x45884d:0x39,_0x87af18:0x69f,_0x33850d:0x664,_0x5975b9:0x480},_0x4cec54={_0xe7c096:0x18b,_0x23f4db:0x2cd},_0x2a2fc2={_0x68f061:0x18a,_0x10dc86:0x8};if(_0x52adf4[_0x1ca5e4(0x5ea,_0x852af7._0x1e2435,0x74c,0x7fd)]>this[_0x1ca5e4(_0x852af7._0x29c12a,0x6da,0x8a2,0x6cd)][_0x1baca2(_0x852af7._0x49f7e1,-_0x852af7._0x153ac6,_0x852af7._0x35f9dd,_0x852af7._0x198318)])throw createAnchoredFileError('unknown_snapshot',_0x1baca2(0xa0,0x167,0x282,0x488)+_0x52adf4[_0x1baca2(_0x852af7._0xe8c45,_0x852af7._0xd781a6,_0x852af7._0xc4c108,_0x852af7._0x1adb77)]+_0x1ca5e4(0x589,0x5ab,_0x852af7._0x4f813f,0x7a8)+_0x52adf4[_0x1ca5e4(0x5ea,_0x852af7._0x130d89,0x783,_0x852af7._0x391a1d)]+_0x1ca5e4(_0x852af7._0x53d762,_0x852af7._0x2cff86,0x55e,0x845)+this[_0x1ca5e4(_0x852af7._0x29c12a,0x849,_0x852af7._0x18060c,_0x852af7._0x1b9dfa)][_0x1ca5e4(_0x852af7._0x2b267e,0x4fc,0x3fc,_0x852af7._0x33b76e)]+'\x20bytes;\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x52adf4[_0x1baca2(_0x852af7._0x134c2d,_0x852af7._0x2cdd1c,0x10a,-_0x852af7._0xee19eb)],'size':_0x52adf4['utf8Bytes']});const _0x28ae1b=this[_0x1baca2(0x3ca,_0x852af7._0xfda208,_0x852af7._0x441638,0xd6)]?this[_0x1ca5e4(0x6be,_0x852af7._0x4a7682,0x4f4,_0x852af7._0x46e4c6)](_0x52adf4[_0x1ca5e4(_0x852af7._0x59d931,0x5cd,0x739,0x859)]):_0x52adf4[_0x1baca2(-0x6c,-_0x852af7._0x4698e7,_0x852af7._0x52171f,_0x852af7._0x134c2d)],_0x19af9e=this[_0x1baca2(0x2b7,-_0x852af7._0x30044b,0x9c,_0x852af7._0x427466)][_0x1ca5e4(0x71a,0x5f0,0x87c,0x8e0)](_0x52adf4['canonicalPath']),_0x40cf33=_0x19af9e?.[_0x1baca2(_0x852af7._0xb5df,0x1a3,0x22d,0x3c5)](_0x7249da=>_0x7249da[_0x1ca5e4(0x48f,0x5b6,0x30b,0x3f1)][_0x1ca5e4(0x685,0x754,0x4e2,0x6ef)]===_0x52adf4['digest']);function _0x1ca5e4(_0x1e17ee,_0x287931,_0x4cab07,_0x46d2d4){return _0x5b2413(_0x1e17ee-_0x2a2fc2._0x68f061,_0x287931-_0x2a2fc2._0x10dc86,_0x1e17ee- -0x216,_0x287931);}let _0x2d9956;if(_0x40cf33){for(const _0x2cfb3a of _0x6cb854)_0x40cf33[_0x1ca5e4(_0x852af7._0x5cff17,_0x852af7._0xe8f447,_0x852af7._0x32919f,0x6fa)][_0x1baca2(-0x21f,-_0x852af7._0x16a72b,-_0x852af7._0x1cb850,-0x25b)](_0x2cfb3a);_0x2d9956=_0x40cf33;}else{_0x2d9956={'snapshot':_0x52adf4,'tag':_0x28ae1b,'observedLines':new Set(_0x6cb854)};if(!_0x19af9e)this[_0x1ca5e4(_0x852af7._0x440347,0x4a4,_0x852af7._0x148144,0x6c5)][_0x1ca5e4(_0x852af7._0x5ce14e,0x78b,0x4c9,0x524)](_0x52adf4[_0x1ca5e4(0x560,0x46d,_0x852af7._0x13dcf4,_0x852af7._0x3773d6)],[_0x2d9956]);else{if(_0x19af9e[_0x1ca5e4(0x6d2,0x89d,0x577,_0x852af7._0x3e4964)]>=this[_0x1baca2(_0x852af7._0x535ab6,_0x852af7._0x3fbd89,0x2a6,0x490)][_0x1ca5e4(_0x852af7._0x118718,_0x852af7._0x5056e1,_0x852af7._0x3a9dbe,0x8cb)]){const _0x4c6a7d=_0x19af9e[_0x1ca5e4(_0x852af7._0x5b3aaa,0x4a1,_0x852af7._0x52553f,0x6e4)]();if(_0x4c6a7d)this[_0x1baca2(_0x852af7._0x104813,_0x852af7._0xf6dc08,0xc,-0x7b)](_0x4c6a7d['snapshot']['digest']);}_0x19af9e[_0x1ca5e4(0x53f,0x492,0x4fc,_0x852af7._0x409042)](_0x2d9956);}this['acquireBytes'](_0x52adf4[_0x1ca5e4(_0x852af7._0x59d931,_0x852af7._0x3df2d3,_0x852af7._0x2129ff,_0x852af7._0x47bdcd)],_0x52adf4[_0x1ca5e4(_0x852af7._0xddf881,0x5f3,0x500,0x73a)]);}this[_0x1baca2(-_0x852af7._0x280c3e,0x174,0x32,-_0x852af7._0x2e8d35)](_0x52adf4[_0x1ca5e4(_0x852af7._0x15d71f,_0x852af7._0x3c4236,_0x852af7._0x4599e9,_0x852af7._0x1f4938)]);function _0x1baca2(_0x4af414,_0x5f44b3,_0x18a775,_0x132ccb){return _0x28bc81(_0x4af414-0x1c,_0x5f44b3-_0x4cec54._0xe7c096,_0x18a775- -_0x4cec54._0x23f4db,_0x4af414);}while(this['versionsByPath']['size']>this[_0x1baca2(0x2f6,0x20e,_0x852af7._0x18bf28,_0x852af7._0x52c6db)][_0x1baca2(0xcf,0x243,_0x852af7._0x25b266,_0x852af7._0x2fff90)]){this[_0x1ca5e4(0x36b,0x33a,_0x852af7._0x37de63,0x512)]();}while(this[_0x1baca2(0x293,0x2ce,_0x852af7._0x23faa5,_0x852af7._0x29abe9)]>this['limits']['maxSnapshotBytes']&&this[_0x1ca5e4(0x764,_0x852af7._0x3ef24e,0x7bd,0x71d)]['length']>0x1){this[_0x1baca2(-0x6d,0x132,-0xeb,_0x852af7._0x22cf04)]();}return{'snapshot':_0x2d9956[_0x1baca2(_0x852af7._0x230de1,_0x852af7._0x49861a,_0x852af7._0x45884d,0x19c)],'observedLines':new Set(_0x2d9956[_0x1ca5e4(_0x852af7._0x87af18,_0x852af7._0x33850d,0x854,_0x852af7._0x5975b9)])};}[_0x28bc81(0x3c,0xf2,0x25a,0x19c)](_0x49096e,_0x168101){const _0x5dcd7d={_0x11227b:0x204,_0x437875:0x1ad,_0x4cc566:0x1c7,_0x376a98:0x303,_0x2cb48d:0x456,_0x288db0:0x151,_0x16fd99:0xff,_0x4c9390:0x2a7,_0x1fd040:0x33d,_0x4c538d:0x1c0,_0x151213:0x20b,_0x195dba:0x165,_0x2ec7c9:0xde,_0x4e2055:0x268,_0x20ec8f:0x139,_0x1ae010:0x1da,_0x51e3a1:0x3dd,_0x299b0c:0x8c,_0x93907b:0x1af,_0x283fdf:0x34,_0x51eca3:0x184,_0x385eb6:0x15d,_0x5e78ed:0x8a,_0x39469a:0x164,_0xf76f4a:0x217},_0x257580={_0x1257bd:0xe9},_0x1f701f=this[_0x1bb4d1(_0x5dcd7d._0x11227b,_0x5dcd7d._0x437875,_0x5dcd7d._0x4cc566,0x1f6)][_0xd0daec(0x3d8,0x37c,0x57d,0x170)](_0x49096e);function _0xd0daec(_0x2687d9,_0xe6fec2,_0x136190,_0x592563){return _0x5b2413(_0x2687d9-_0x257580._0x1257bd,_0xe6fec2-0x89,_0xe6fec2- -0x5b4,_0x136190);}if(!_0x1f701f)throw createAnchoredFileError('unknown_snapshot',_0x1bb4d1(0x4a4,0x155,_0x5dcd7d._0x376a98,_0x5dcd7d._0x2cb48d)+_0x168101+_0x1bb4d1(0x27a,0x218,_0x5dcd7d._0x288db0,-0x8b)+_0x49096e+_0x1bb4d1(0x2b1,0x1f,_0x5dcd7d._0x16fd99,_0x5dcd7d._0x4c9390),{'path':_0x49096e,'tag':_0x168101});const _0x302242=_0x1f701f[_0xd0daec(0x1b1,0x270,0x41c,0x25b)](_0x12af61=>_0x12af61['tag']===_0x168101);if(_0x302242[_0xd0daec(_0x5dcd7d._0x1fd040,0x334,_0x5dcd7d._0x4c538d,0x237)]===0x0)throw createAnchoredFileError('unknown_snapshot',_0x1bb4d1(0x144,0x3f2,0x303,_0x5dcd7d._0x151213)+_0x168101+_0xd0daec(_0x5dcd7d._0x195dba,_0x5dcd7d._0x2ec7c9,_0x5dcd7d._0x4e2055,0x1f9)+_0x49096e+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x49096e,'tag':_0x168101});if(_0x302242['length']>0x1)throw createAnchoredFileError(_0x1bb4d1(0x8,0xbe,0x20d,_0x5dcd7d._0x20ec8f),_0xd0daec(0x168,0x290,_0x5dcd7d._0x1ae010,0x1aa)+_0x168101+_0xd0daec(0x551,_0x5dcd7d._0x51e3a1,0x31f,0x3b1)+_0x49096e+_0xd0daec(-0xf4,_0x5dcd7d._0x299b0c,_0x5dcd7d._0x93907b,_0x5dcd7d._0x283fdf),{'path':_0x49096e,'tag':_0x168101});this[_0x1bb4d1(_0x5dcd7d._0x51eca3,-0xb6,_0x5dcd7d._0x385eb6,0x16f)](_0x49096e);function _0x1bb4d1(_0x30960b,_0x2a59b0,_0x10a7be,_0x3515d2){return _0x5b2413(_0x30960b-0x164,_0x2a59b0-0x62,_0x10a7be- -0x541,_0x30960b);}return{'snapshot':_0x302242[0x0][_0x1bb4d1(-_0x5dcd7d._0x5e78ed,0x303,_0x5dcd7d._0x39469a,_0x5dcd7d._0xf76f4a)],'observedLines':new Set(_0x302242[0x0]['observedLines'])};}[_0x28bc81(0x38d,0x36b,0x2ed,0x266)](_0x55e821,_0x318b1d){const _0x143c86={_0x38e910:0xa0c,_0xe2a5ad:0x866,_0x412837:0x866},_0x44d8bf={_0x1c5762:0x15b},_0x4a07a5={_0x46e3f6:0x4a,_0x5ba100:0x4e},_0x2b041e=_0x55e821+'\x00'+_0x318b1d,_0x3ed192=(this[_0x3b04eb(_0x143c86._0x38e910,0x7ea,0xa06,_0x143c86._0xe2a5ad)]['get'](_0x2b041e)??0x0)+0x1;this[_0x3b04eb(0x715,0x702,0x80a,_0x143c86._0x412837)]['set'](_0x2b041e,_0x3ed192);function _0x57ede3(_0x422953,_0x330a5d,_0x5e0e44,_0x56daad){return _0x28bc81(_0x422953-_0x4a07a5._0x46e3f6,_0x330a5d-_0x4a07a5._0x5ba100,_0x330a5d-0x1bd,_0x422953);}function _0x3b04eb(_0x53bd91,_0x5d50a6,_0x36050e,_0x16fffa){return _0x28bc81(_0x53bd91-0x41,_0x5d50a6-_0x44d8bf._0x1c5762,_0x16fffa-0x2ca,_0x5d50a6);}return _0x3ed192;}[_0x28bc81(0x5b,0x3ed,0x21c,0x21)](_0x2584fb){const _0x4da997={_0x127712:0x2d4,_0x369b85:0x2f7,_0x33fa7b:0x33f,_0x4f39c2:0x118,_0xab0f54:0x1a,_0x1ee8ee:0x1e1,_0x13b9df:0x3d8,_0x3df1e5:0x4e2,_0x5a13fe:0xef,_0x2fba39:0x4bd},_0x5ab9d5={_0x350847:0x5fc},_0x442055={_0x481e95:0x19,_0x10309e:0x1d7};function _0x1c0f7b(_0x171c35,_0x1ccbb2,_0x3c2d28,_0x93e7a0){return _0x28bc81(_0x171c35-0x9e,_0x1ccbb2-_0x442055._0x481e95,_0x93e7a0- -_0x442055._0x10309e,_0x171c35);}function _0xcfdffe(_0x47610e,_0x5411bc,_0x1d0556,_0x57e093){return _0x5b2413(_0x47610e-0x5d,_0x5411bc-0x1ad,_0x57e093- -_0x5ab9d5._0x350847,_0x1d0556);}const _0x323a9b=_0x2584fb+'\x00';for(const _0x30b1c2 of[...this[_0xcfdffe(_0x4da997._0x127712,_0x4da997._0x369b85,0x4db,_0x4da997._0x33fa7b)][_0xcfdffe(-0xc8,0x161,_0x4da997._0x4f39c2,_0x4da997._0xab0f54)]()]){if(_0x30b1c2['startsWith'](_0x323a9b))this[_0x1c0f7b(_0x4da997._0x1ee8ee,_0x4da997._0x13b9df,_0x4da997._0x3df1e5,0x3c5)][_0xcfdffe(_0x4da997._0x5a13fe,_0x4da997._0x2fba39,0xba,0x2a9)](_0x30b1c2);}}[_0x5b2413(0x8a0,0x710,0x92e,0x7ca)](){const _0x2e8914={_0x4e868e:0x413,_0x5a176a:0x4a5,_0x1a298c:0x593,_0x49c3cd:0x6ea,_0x4101d4:0x449,_0xfc4601:0x286,_0x1df14c:0x674,_0x46a43d:0x35a,_0x3762bb:0x53b,_0x306532:0x553,_0x461526:0x5a6,_0x4f565c:0x3af,_0xba3f70:0x5e7},_0x13caad={_0x10a5a0:0xdc,_0x2cfefd:0x3e8};function _0x3e4e11(_0x391bc3,_0xee8e66,_0x105394,_0x356c15){return _0x5b2413(_0x391bc3-0x186,_0xee8e66-0x5d,_0xee8e66- -0x39b,_0x391bc3);}this[_0x52f981(0x1d7,_0x2e8914._0x4e868e,_0x2e8914._0x5a176a,0x320)][_0x3e4e11(0x422,_0x2e8914._0x1a298c,_0x2e8914._0x49c3cd,_0x2e8914._0x4101d4)](),this['recency']=[],this['totalBytes']=0x0;function _0x52f981(_0x242b8c,_0x28dbc1,_0x1b94be,_0x35578c){return _0x5b2413(_0x242b8c-_0x13caad._0x10a5a0,_0x28dbc1-0x1e9,_0x35578c- -_0x13caad._0x2cfefd,_0x242b8c);}this[_0x52f981(0x3e3,0x240,0x327,_0x2e8914._0xfc4601)][_0x52f981(0x666,_0x2e8914._0x1df14c,_0x2e8914._0x46a43d,0x546)](),this[_0x52f981(0x5f0,0x657,_0x2e8914._0x3762bb,_0x2e8914._0x306532)][_0x3e4e11(_0x2e8914._0x461526,0x593,_0x2e8914._0x4f565c,_0x2e8914._0xba3f70)]();}[_0x28bc81(0x3c4,0x127,0x2ff,0x43e)](_0xcd0083){const _0x304920={_0x16c44d:0x8bb,_0x29e056:0x777,_0x1650b9:0x7ea,_0x3521c9:0x548,_0x5b049c:0x500,_0x4e8cd1:0x5c4,_0x1d629d:0x42d,_0x4346b1:0x8eb,_0xa0728f:0x81a,_0x289ce5:0xa8a,_0x4f6d1d:0x804},_0x32262d={_0x4c74ef:0x52,_0x496945:0x6d,_0x1d5a5e:0x20f};function _0x464c27(_0x2e378d,_0x429176,_0x437da0,_0x188aef){return _0x28bc81(_0x2e378d-_0x32262d._0x4c74ef,_0x429176-_0x32262d._0x496945,_0x188aef-_0x32262d._0x1d5a5e,_0x2e378d);}function _0x3a3af4(_0x563e99,_0x4c27cf,_0x3cbe73,_0x456ca6){return _0x28bc81(_0x563e99-0xba,_0x4c27cf-0x12e,_0x563e99-0x310,_0x4c27cf);}const _0xa2abe7=this[_0x464c27(_0x304920._0x16c44d,_0x304920._0x29e056,0x612,_0x304920._0x1650b9)][_0x464c27(_0x304920._0x3521c9,_0x304920._0x5b049c,0x66d,0x471)](_0xcd0083);if(_0xa2abe7!==-0x1)this[_0x464c27(0x790,0x5ff,0x76a,_0x304920._0x1650b9)][_0x3a3af4(_0x304920._0x4e8cd1,0x409,0x634,_0x304920._0x1d629d)](_0xa2abe7,0x1);this[_0x3a3af4(_0x304920._0x4346b1,_0x304920._0xa0728f,_0x304920._0x289ce5,_0x304920._0x4f6d1d)]['push'](_0xcd0083);}[_0x5b2413(0x768,0x3ee,0x581,0x546)](){const _0x5496f2={_0x3972f2:0x3df,_0x1a57a6:0x6a9,_0x6b09fe:0x8a5,_0x1af011:0x129,_0x3f9df2:0x378,_0x452246:0x2fd,_0x4031bd:0xed,_0xfaef0a:0x538,_0x4b3401:0x1b4,_0x42537d:0x64,_0x445913:0x5e4,_0x4e28e0:0x6cb,_0x1c8ec7:0x858,_0x24c451:0x5a4},_0x88b614={_0x399801:0x1a0,_0x5b0c67:0x39},_0x5e7f9={_0x560d50:0x1cf},_0x14768e=this[_0x1184d3(0x502,_0x5496f2._0x3972f2,0x347,0x280)][_0xe43379(_0x5496f2._0x1a57a6,_0x5496f2._0x6b09fe,0x4b3,0x607)]();if(_0x14768e===void 0x0)return;function _0xe43379(_0x8e4e4f,_0xbad78,_0x298e26,_0x3a6bde){return _0x28bc81(_0x8e4e4f-0x1ee,_0xbad78-0x18,_0x8e4e4f-_0x5e7f9._0x560d50,_0x298e26);}const _0x370845=this[_0x1184d3(0x1ad,-_0x5496f2._0x1af011,0xd5,0x1d2)][_0x1184d3(_0x5496f2._0x3f9df2,0x438,_0x5496f2._0x452246,_0x5496f2._0x4031bd)](_0x14768e);this[_0xe43379(_0x5496f2._0xfaef0a,0x483,0x57b,0x5a9)][_0x1184d3(0x31c,_0x5496f2._0x4b3401,0x272,_0x5496f2._0x42537d)](_0x14768e);function _0x1184d3(_0x4e4bf3,_0x144c55,_0xba233e,_0x7e52ab){return _0x28bc81(_0x4e4bf3-_0x88b614._0x399801,_0x144c55-_0x88b614._0x5b0c67,_0xba233e- -0x294,_0x4e4bf3);}if(_0x370845){for(const _0x208a26 of _0x370845)this['releaseBytes'](_0x208a26[_0xe43379(0x4d5,_0x5496f2._0x445913,0x515,0x655)][_0xe43379(_0x5496f2._0x4e28e0,0x783,_0x5496f2._0x1c8ec7,_0x5496f2._0x24c451)]);}}[_0x28bc81(0x3b6,0x3e4,0x491,0x311)](_0x3f837f,_0x4c60b5){const _0x262ba5={_0x28f745:0x3f2,_0x3a1405:0x6e3,_0x4987f9:0x3e2,_0x2e0f64:0x26e,_0x17d05c:0x6ca,_0x4525c5:0x620,_0x298ceb:0x833},_0x310cc3={_0x2d921a:0xd9,_0x56c073:0x8f},_0x22acdf={_0x52fca2:0xf9};function _0xeae741(_0x3fd9a5,_0x490dba,_0x1c94d5,_0x1bec0c){return _0x5b2413(_0x3fd9a5-_0x22acdf._0x52fca2,_0x490dba-0x19e,_0x1bec0c- -0x10c,_0x3fd9a5);}function _0x38f594(_0x2991d5,_0x2c712b,_0x32b9c3,_0x3417b3){return _0x28bc81(_0x2991d5-0x1d3,_0x2c712b-_0x310cc3._0x2d921a,_0x32b9c3- -_0x310cc3._0x56c073,_0x2c712b);}!this[_0x38f594(_0x262ba5._0x28f745,0x25,0x240,0x191)][_0xeae741(_0x262ba5._0x3a1405,0x445,_0x262ba5._0x4987f9,0x59e)](_0x3f837f)&&(this[_0x38f594(0x298,0x91,0x240,_0x262ba5._0x2e0f64)][_0xeae741(0x61c,0x55c,0x6be,_0x262ba5._0x17d05c)](_0x3f837f,_0x4c60b5),this[_0xeae741(0x78f,_0x262ba5._0x4525c5,0x706,_0x262ba5._0x298ceb)]+=_0x4c60b5);}['releaseBytes'](_0x32c6e1){const _0xf7552={_0x54de42:0xad,_0x27b15f:0x52f,_0x2b0a0d:0x675,_0x337824:0x667,_0x241f50:0x6ec,_0x1148d4:0x5b9,_0xa60e:0x449,_0x5c07b7:0x510,_0x110471:0x34f,_0x1d7671:0x262,_0x31c16d:0x6f,_0x3c935c:0x173,_0x888094:0x89a,_0x1eef0c:0x889,_0x1319b1:0x7d6};function _0x285ed1(_0x3e438c,_0x566302,_0x1fed04,_0x45fe04){return _0x5b2413(_0x3e438c-0x86,_0x566302-0x145,_0x1fed04- -0x1c,_0x3e438c);}if(!this[_0x1ed120(0x18b,-0x6f,-_0xf7552._0x54de42,-0xf8)][_0x285ed1(_0xf7552._0x27b15f,_0xf7552._0x2b0a0d,0x68e,0x828)](_0x32c6e1))return;const _0x208fab=[...this[_0x285ed1(0x620,_0xf7552._0x337824,_0xf7552._0x241f50,_0xf7552._0x1148d4)][_0x285ed1(_0xf7552._0xa60e,0x6cb,0x5db,_0xf7552._0x5c07b7)]()]['some'](_0x79c4e8=>_0x79c4e8[_0x285ed1(0x9f1,0x9fe,0x896,0x8f5)](_0x5abff4=>_0x5abff4['snapshot'][_0x1ed120(-0x16,0x1be,0x1f5,0x2b)]===_0x32c6e1));function _0x1ed120(_0x34f9f7,_0x56c472,_0x248747,_0x3d5c07){return _0x28bc81(_0x34f9f7-0x98,_0x56c472-0x1af,_0x56c472- -0x33e,_0x3d5c07);}!_0x208fab&&(this[_0x1ed120(_0xf7552._0x110471,_0xf7552._0x1d7671,0x25e,0x32c)]-=this[_0x1ed120(-0x114,-0x6f,-0x163,-0x1e4)]['get'](_0x32c6e1)??0x0,this[_0x1ed120(_0xf7552._0x31c16d,-0x6f,-0x10,-_0xf7552._0x3c935c)][_0x285ed1(0x68f,_0xf7552._0x888094,_0xf7552._0x1eef0c,_0xf7552._0x1319b1)](_0x32c6e1));}};import{readFile as _0x505010,stat as _0x242fed}from'fs/promises';import*as _0x1ec189 from'path';function stripUtfBom(_0x760a5){const _0x5d47a9={_0x4f3be4:0x296,_0x5147c7:0x46d,_0x907448:0x33d},_0x175481={_0x2ecdf5:0xda,_0x2c042a:0x89},_0x18af3a={_0x28af77:0x1b8,_0x3725ac:0xd6,_0x4031cf:0x537};function _0x26836a(_0x10e459,_0x2334e7,_0x4623cb,_0x2db3ae){return _0x5b2413(_0x10e459-_0x18af3a._0x28af77,_0x2334e7-_0x18af3a._0x3725ac,_0x2334e7- -_0x18af3a._0x4031cf,_0x4623cb);}function _0x1edb15(_0xfb0747,_0x3bec6e,_0x16487f,_0x394f7f){return _0x28bc81(_0xfb0747-_0x175481._0x2ecdf5,_0x3bec6e-0x105,_0xfb0747-_0x175481._0x2c042a,_0x394f7f);}return _0x760a5[_0x26836a(_0x5d47a9._0x4f3be4,_0x5d47a9._0x5147c7,0x46c,0x4e4)](0x0)===0xfeff?_0x760a5[_0x26836a(0x52a,_0x5d47a9._0x907448,0x1f6,0x332)](0x1):_0x760a5;}function clampLine2(_0x4cde2f,_0x3b550d){const _0x4ccb13={_0x4ca148:0x52e,_0x4a95d8:0x752,_0x386442:0x4ac},_0x3a439b={_0x22a99b:0x1aa,_0x43fffe:0x11f,_0x3ae731:0x202},_0xd1e4d2={_0x58660d:0x24};function _0x183419(_0x1624b7,_0x1be9a5,_0x4a795e,_0x30666f){return _0x5b2413(_0x1624b7-0x5a,_0x1be9a5-_0xd1e4d2._0x58660d,_0x1be9a5- -0x593,_0x1624b7);}function _0x426f2c(_0x41e438,_0x6518b2,_0x1bdbdc,_0x2f58d2){return _0x28bc81(_0x41e438-_0x3a439b._0x22a99b,_0x6518b2-_0x3a439b._0x43fffe,_0x6518b2-_0x3a439b._0x3ae731,_0x1bdbdc);}if(!Number['isFinite'](_0x4cde2f))return 0x1;return Math[_0x426f2c(0x465,0x669,_0x4ccb13._0x4ca148,0x629)](0x1,Math['min'](Math[_0x426f2c(_0x4ccb13._0x4a95d8,0x536,0x65d,_0x4ccb13._0x386442)](_0x4cde2f),_0x3b550d));}function _0x4cbe(){const _0x1f625d=['tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','yxjNDw1LBNroyw1LCW','DMvYAwzPzxi','AxndB250zxH0','yMLVBwuUANnVBG','ywXSB3DLzfrVB2XZ','Bwf4vMvYC2LVBNnqzxjqyxrO','CNvUswq','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BgvUz3rO','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','CgXHAw50zxH0','u25HChnOB3qGzM9Yia','ihDHCYbYzwfKlG','D3jPDgu','DhnJB25MAwCUANnVBG','B2jZzxj2yxrPB25Z','Dgf2AwX5','yNL0zxm','ywX3yxLZlwnVBMzPCM0','CMvWBgfJzq','tuLosu1bwf9bueLFs0vz','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','DgvYBwLUyxrPB25qCM9TAxnL','yxbWzw5K','Dgf2AwX5qxbPs2v5','B25uzxjTAw5HBevYCM9Y','z2nSAwq','Dg90ywXeCM9WCgvK','zgLHz25VC3rPy3m','yxjNDw1LBNrZ','sfruuca','zxHHy3q','Cg5WBs1SB2nRlNLHBwW','u0Lhs0Lmta','C2LNBMfSqwrHChrLCG','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','ChjVy2vZC0v4AxrLza','Bwf4rw50CMLLCW','CMvNAxn0zxjby3rPDMvbz2vUDa','yw50AhjVCgLJlw1LC3nHz2vZ','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','CgfZC3DVCMq','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','qMvHCMvYia','C3rYDwn0DxjLza','BgLTAxrZ','Aw5JB21PBMDdywXSCW','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','B3b0Aw9UywW','y2HHBMDL','AwzYyw1L','BgL0zxjHBa','uhjVy2vZCYa','r2XVyG','y3jLyxrLzef0','CMfUzg9T','lMPZB24','B3v0z29PBMDdywXSCW','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','v2vIrMv0y2G','igj5DgvZlG','C3jJl2fNzw50l2fNzw50lNrZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','CMvMCMvZAf90B2TLBG','y29UzMLN','EMfP','CMvJzw5JEurHExm','CMvNzxG','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','B3rOzxi','CM91DgLUzW','DgvYBwLUywXqCM9TAxnL','zMX1C2HtDhjLyw1Z','y2XLyxi','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','z2v0','BgfUz18','C2fMzq','yxnRvxnLCG','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','B2zMC2v0','zxHPDcbJB2rLia','DxrMltG','y29Kzq','BgLUzu51BwjLCNm','tunqihrVB2WG','BM9dAgfUz2vdB3vUDgvYCW','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','cGOTls0kcG','B3bLBG','Dg90ywXcExrLCW','BxvSDgLtzwXLy3q','zw9S','CM93CW','ru5pru5u','BgLUzuvUza','y3nP','Dgv4Dc9ODg1S','y29TBwfUza','zxnJyxbL','B2XSyw1H','BgfUz3vHz2u','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','zgvWCW','B25JBg9Zzq','C3rHCNq','Dw5PB24','vw5RBM93BIb0B29SoIa','lMPZ','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','DMfSDwu','tM8GC3LTyM9SCYbMB3vUza','tg9HzgvKigzYB206ia','C3rKAw4','B3bLCMf0Aw9U','mJm3EKfbwhv1','Aw5ZDgfSBa','CgLK','BgLI','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','sw52B2TLq29TBwfUza','A2v5yMLUzgLUz3m','Aw52ywXPzf90B2rVx2LK','Bg9VA3vW','C3rYAwn0','yw50AhjVCgLJ','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','uMvXDwvZDfrPBwvVDxq','BwnWxW','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','zNvUy3rPB24','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','Dg9vChbLCKnHC2u','Agv4','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','rgLHz25VC3rPyW','C3rKzxjYtM9YBwfSAxPLCG','ywDLBNrZ','BwfW','lNrZEa','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','yxnZAwDU','o1TE','zNjLzxPL','CxvLC3rPB24T','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','ls1YzwDLEha','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMvJzw5JEq','u2HLBgWGBM90igzVDw5KoIa','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','BwvZC2fNzq','zgvSzxrLlMvUzeXPBMu','B3nJ','yxjNDw1LBNrZvgv4Da','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','uefusa','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','CgfYC2u','Bw9KzwW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ls1QC29U','zgvLChnLzwS','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','t1bftKfjx0fqsv9lrvK','z29Vz2XLlwnZzq','C3vKBW','u0HfteXpufrt','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','DhvWBgu','igLZigfTyMLNDw91CYbMB3iG','Aw5JBhvKzv9KB21HAw5Z','r0LgodDH','D3jPDgvgAwXL','zgLZy292zxj5u3rHDgu','C3rYzwfTC0zSDxnOzwq','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','zwrPDa','lu5VuhjVzMLSzq','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','BwnFy2LK','C2vYDMvYswq','rxjYB3i','y2fWq2HHCNm','Aw5Zzxj0igXPBMu','z2fW','Aw5Zzxj0','ywz0zxjuzxH0','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','y2HHCKnVzgvbDa','y3DK','z2L0AhvI','C3rYAxbbBNnP','CgfJA2fNzxm','zgvSzxrLihjHBMDLifS','sw52ywXPzcbYzwDLEdOG','mtKYlJe2oc4WlJa','BM9Uzq','BgLUzq','vg9WAwmGC2v0ihrVici','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','Aw52ywXPzf90B2rVx3n0yxr1CW','Ahr0Chm6','CgLWzq','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','zhj5uNvU','lM10CW','DhLWzxnJCMLWDhjLywn0','Bwf4uMvKAxjLy3rZ','C3rKAw8','Dg9Rzw4','zgLYBMfTzq','CMfUz2u','Aw52ywXPzf9XDwvZDgLVBNm','zwzMB3j0','ywDLBNrjza','rgv0ywLSoIa','zgvUBY5QC29UyW','AgLNAa','wefjx0fqsv9lrvK','yMfZAwm','DgfZAW','zgvMyxvSDa','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','C3rHDgu','DhnJ','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','z2v0u3rHDhm','qxqGBw9ZDca','BwvTB3j5','BhmGlwXH','r0XpqKLhtK9srq','BM9Zy3jPChq','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','CMvXDwvZDa','BwnWlxnKAY1JBgLLBNqTzxjYB3i','ygbG','CMvJB3jK','zgvSzxrLihn0yxj0tgLUzq','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','l2jPBI9ZAa','BwLUAw1HBa','y29UDgv4Da','Cg9W','DgvYBwLUywXtzxr0BgvK','CMvMAw5L','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','DxjP','lM51DMLUlwnVzgu','CMfJzq','A2v5','C3rHDhvZ','B25oB3rPzMLJyxrPB24','CMvUyw1L','BgLMzwn5y2XL','igzYB20G','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','yxnR','Aw50','DhvYBMrVD24','zNjVBq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','tM8GAg92zxiGAw5MB3jTyxrPB24','CMvZDwX0','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','Aw52ywXPzf90B2rVx3bYAw9YAxr5','DhjHAwXPBMDdAhvUA3m','BM9Fy2HHBMDL','CgfJA2fNzu5HBwu','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','v2vIu2vHCMnO','B2XKvgv4Da','Aw5PDgLHBgL6yxrPB24','CMvNAxn0zxjby3rPDMvsDw4','C2H1DgrVD24','qwDLBNqGCNvUia','tM8GzgLHz25VC3rPy3m','y29Uy2f0','mti3lJaUmc4W','iYmGu2TPBgW6ia','CMvZzxroB0nOyw5Nzq','Bwf4qNL0zxm','yxv0Ag9YAxPHDgLVBL9JB2rL','Aw5ZDhj1y3rPB25Z','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','igj5DguTAwrLBNrPy2fSlG','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','yxjNDw1LBNriAw50','CMvMzxjLBMnLCW','C2vHCMnOrgvWDgG','vg9KBYa','mJy4otq0mhnywxHszG','Dg9VBenHBgW','BwnWlwnVBM5Ly3qTzMfPBgvK','CMvSzwfZzufNzw50uMvZB3vYy2vZ','y2f0y2G','CM9VDa','Ag9ZDa','zMXHDe1HCa','DxrTx3nVDxjJzq','zg9TywLUCW','Cgf0Ag5HBwu','uMvHzcbHifvurI04ihrLEhqGzMLSzsbHCYbHihnUyxbZAg90lwfUy2HVCMvKifTWyxrOi3rHz10GAgvHzgvYihbSDxmGtJP0zxH0ihjVD3mUifrOzsb0ywCGAwrLBNrPzMLLCYb0AguGD2HVBguGzMLSzsWGC28GCMvHzcbVBMX5ihrOzsbSAw5LCYb5B3uGBMvLzcb3AxrOigXPBMvtDgfYDc9SAw5Lrw5KiokaLcb0AguGDgfNihn0yxLZihzHBgLKigzVCIbHihjHBMDLihjLywqUievTChr5igzPBgvZigHHDMuGBM8GzwrPDgfIBguGBgLUzs4GtwL4zwqGteyVq1jmrIWGtLvmlcbHBMqGAw52ywXPzcbvveyTocbHCMuGCMvQzwn0zwq7ihvZzsbLEgfJDcbgAwXLrwrPDcbPBNn0zwfKlG','BxrPBwvnCW','CgXHAw4','ywnXDwLYzq','Dg9ju09tDhjPBMC','qvbjx0Tfwq','CMvHzezPBgu','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','yxbWBgLJyxrPB24VANnVBG','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','CM9VDfbPza','Dw5RBM93BL9ZBMfWC2HVDa','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','zw5JB2rL','DgL0Bgu','tgLUzsa','AxnbCNjHEq','CMvZB2X2zvrLCM1PBMfS','z29Vz2XLq3nLs2v5','DhjHBNnMB3jTCW','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','zMLSzvbHDgG','y29UDgv4DeXPBMvZ','Bwf0y2HLCW','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','Ag92zxi','ksbB','DgvYBwLUyxrPBMC','y2fSBfrVB2W','Dhj1BMnHDgvK','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','BgfUzW','phn5C3rLBs1Yzw1PBMrLCJ4','CgvUzgLUzW','BM9Kzv9TB2r1BgvZ','ls1MB2XSB3C','DMfSDwvZ','BwnWlxrVB2WTy2fSBc1MywLSzwq','CMvZB2X2zq','Bwf0y2G','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','Dg90ywW','s0Lnsv9bueLFs0vz','DMvYAwz5rxHLy3v0Aw9U','igLZig5VDcb2ywXPzcbvveyToc4','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','Aw5KzxHpzG','B25Jzq','xg5DkJ8','B2jQzwn0','C3bHD24','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','zMjJBgLK','DhLWzxnJCMLWDa','zgvSzxrLq291BNq','ywrK','Aw52ywXPzf90B2rVx2nVBNrLBNq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','zMv0y2HjBxbS','BM90lwzVDw5K','Aw52ywXPzf9Yyw5Nzq','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','BgLTAxq','igzHAwXLzcb0BYbJB25Uzwn0','y29KzvbVAw50qxq','z29uB0LTCgXLBwvUDgf0Aw9U','A2v5CW','rM91BMqG','DxrMoa','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','C2nYDwjfBNzlzxLZ','Cg9ZAxrPB24','y2HPBgq','lunVBw1HBMq','BhnW','cMbGya','ienHDxnLoIa','z3jHy2vMDwXszxf1zxn0zwq','C2v0vg9WAwm','Ec1HCgKTA2v5','BwfUDwfS','B3jPz2LUywW','ChjPB3jPDhK','ChvIBgLZAgvKqxq','Bg9HzenVBw1HBMq','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','Bwf4q29Uy3vYCMvUDa','CMvKDwnL','yxnJAwK','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','r3jLCa','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','zxH0BMfTzq','BgLUzu51Bq','yNvUlMXVy2S','twLJCM9ZB2z0','A2LSBgvK','C3rYAw5N','CgfJA2fNzs5QC29U','w1bFxL1BxhnCu10QpW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','zgf0yq','Aw52ywXPzf9WyxrJAa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','B3bLBKzPBgvZ','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','C3LZDgvTuhjVBxb0','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','zMLUAxrL','z2vUzxjHBa','AwDUB3jLt3v0Chv0','Aw52ywXPzf90B2rVCW','BMv3u3rHCNrmAw5L','AgfZAgXPBMu','AMf2yxnJCMLWDhjLywn0','B2XKu3rHCNrmAw5L','D2fPDezVCKrPywDUB3n0AwnZ','rMLSzvjLywq','igj5DgvZicH0B3rHBdOG','Dg9VBenHBgXjza','DgHPBMTPBMC','zMLSzunVDw50','zw50CMLLCW','lNbUzW','rgvSzwDHDgvKuMvZB2X1DgLVBKvYCM9Y','ls1WCMvMAxG','C3bSAwnL','y29UBMvJDa','lMXVzW','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','CMvHza','A2LSBfjLCxvLC3rLza','C3rVCMfNzurPCG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','l3vZCI9IAw4VC2G','Dg9Rzw5Z','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','B3bLBMfPlxjLC3bVBNnLCY13CW','Ag9ZDg5HBwu','zMfZDa','l3vZCI9IAw4VyMfZAa','Cg9ZDf93CML0zv9KCMLMDa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Aw5PDgLHBgL6zwq','y2XPzw50CW','C29YDa','CMvZDwX0CW','yMfJA2DYB3vUzfjLz2LZDhj5','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','mJi0lJaUmc4W','ugf0AcbPCYbUB3qGysbMAwXLoIa','zw52','yNL0zxncEurPz2vZDa','Aw5Zzxj0lMXPBMu','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','C2L6zq','zgvMyxvSDfrPBwvVDxrnCW','yMfSyw5Jzwq','CNvUrxHJBhvZAxzL','CNvUBMLUzW','qgjPB21LANmVyMLVBwu','lMPWzW','CMvSzwfZzuj5DgvZ','zgLZCgXHEwvKtgLUzxm','B3v0Chv0','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','nJK0odG5rezMANbh','C3rHCNrZv2L0Aa','ywjVCNrLza','BMf2','yMfZzty0','ls1NBg9IpseUz2L0lYO','zgLZy292zxi','CMvSyxrPDMu','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','zMLSzxm','ChjVy2vZCW','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','Bg93','Cg93zxjMDwW','q29TBwfUzcaN','CMvJB3jKtM9dAgfUz2u','C3jJl3nOyxjLzc90ExbLCY50CW','Dw1HC2S','C2vTyxbOB3jL','lMPWzwC','CMvNAw9U','igLZihvUA25VD24GzM9Yia','BNv2Aw4','yMLUza','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','C3rKzxjY','BM90Awz5','yxjYyxK','lMPZB25J','zgvMyxvSDen3za','mty5lJi1nc4WlJa','DxrTx2nVBNrLBNq','Dg91y2HqyxrO','y2fUB25Py2fS','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','nJeYng54vMzYAq','zg9JDw1LBNrtEw1IB2W','D2HPy2GGCMC','C25HChnOB3q','C3rHDa','C2vSzwn0B3i','C3rHCNrLzef0','DgfN','AgfZ','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','y2fJAgvK','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','yxr0CG','t1bftKnprevFqvbjx0Tfwq','B3bLBNjVDxrLCG','CMvZB2X2zwrnB2rLBeLKzw50Axr5','ANnVBG','CMfUAW','zw51Bq','AxntywzLsw50zwDLCG','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','DhjPBq','CMvXDwvZDgvKtw9KzwXuAwvY','CxvLC3rPB25Z','v0vcua','CMvTB3zLrxzLBNrmAxn0zw5LCG','CgfYzw50u2vZC2LVBKLK','Dg9KB3m','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','BwnWlwnSB3nLlwzHAwXLza','uMvHC29UAw5NigrLzMf1BhqGiG','Aw1Hz2vZ','lMnTza','zxHPDa','vMLLD0zPBgu','lu5Vtg9NBW','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','AhLKCMf0zu1LDge','AgvHzgvY','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','igzHAwXLzc4','zgvMAw5PDgLVBG','ANnVBMm','B25LCNjVCG','ihrVB2WGy2fSBcbMywLSzwq','C3vWzxjszwzPBMu','zM9Yy2u','ignOyxjZigrYB3bWzwrDcG','Dhj1BMm','y2XPzw50','C3rHDhvZvgv4Da','DhLWzq','ig9WzxjHDgLVBNmU','C2vYDMvY','zxHLyW','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','B2zM','ChjVDg9JB2W','BwLU','C3rKB3v0tM9YBwfSAxPLCG','C2v2zxjPDhK','Aw52ywXPzf90B2rVx2L0zw0','yNL0zuXLBMD0Aa','tM8GCMvZDwX0CYbMB3vUzc4','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','y2XVC2u','AxrLBxm','y29UDgvUDhm','ywz0zxi','yw5UB3rHDgLVBNm','Dg9VBhmVy2fSBa','icHWAwqG','yMvMB3jL','C2vHCMnOugfYyw1Z','l2jPBI9IyxnO','Bwf0y2HdB3vUDa','mtq0ntiZnevdyuvJwa','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','Axnoyu4','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','mZaYntKWofDOENjuta','CMvZzxj2zq','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','y2fSBgjHy2TvCMW','te9dquXbufbeqvrb','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','D29YA3nWywnLu3LTyM9S','DxrTx21LzgL1Bq','DgLTzvTKyxrLDgLTzv0','y29TBwfUzhm','ChjLCgfYzunHBgXiAwvYyxjJAhK','Bwf4u25HChnOB3rcExrLCW','AxnfCNjVCG','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','ig1Z','yxv0BW','C2TPBgXZ','AhrTBfnUAxbWzxq','DMvYC2LVBNncEvbHDgG','C2HLBgXqyxrO','B2C6DxbKyxrLzf90Aw1L','mJqWlJaUmc4W','s2LSBfnOzwXS','yMLVBwuUANnVBMm','r09pr0Xfx0ntrv9dwa','B3v0Chv0qNvKz2v0qNL0zxm','rMLSzu5LDW','Dw5RBM93BG','Dg9WAwm','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','DgvZDa','Dg9mB3DLCKnHC2u','zxjYB3jnzxnZywDL','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','BwnWlxrYyw5ZCg9YDc1LCNjVCG','Bgv4AwnHBfbHDgG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','CxvLC3rPB24','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','ywXSB3DLzerPCNm','zgLYzwn0B3j5','igj5DgvZ','C2vYDMvYtMfTzq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','l3bPza','zMLUywXSEq','yMfZzw5HBwu','ywXYzwfKEs10zxjTAw5HBa','zw5NAw5L','AxneAxjLy3rVCNK','zM9VDgvY','BM93','AxnfBMfIBgvK','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','w1jfrefdvevexq','yxjNCW','BgLUzxm','ywn0AxzL','ig1HDgnO','B2XKrw5KtgLUzq','zgvSzxrLigvUzeXPBMu','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','q0rqqvri','zxzPy3rjzK5LzwrLza','CMvTB3zL','B3jPz2LUvg9VBenHBgXjza','CMvHze9UBhLiAw50','y2vPBa','zw5NAw5LCW','qMfZAe91Dhb1Da','C2fMzvbHCNnL','qKftse9qvfm','C3vIyxjYyxK','Dg9tDhjPBMC','BwvKAxvT','yMLUzfnLC3nPB24','lMn0CW','Dw5ZzwvUx2XPBMvZ','rMv0y2GGywjVCNrLzcbIEsb1C2vY','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','z2v0vg9KB3m','EwvZ','yNvMzMvY','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','C291CMnLu3rHCNq','ugf0AcbUB3qGzM91BMq6ia','y29KzvzLCMLMAwvY','qxv0Ag9YAxPHDgLVBG','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','Dg9VBe5HBwu','yNvUlMXVy2TI','CMvWBgfJzsbYyw5NzsbB','igzHAwXLzcb0BYbJBg9Zzq','B3v0y29Tzq','r0LgodLH','ChvZAa','yMLYDgH0Aw1L','ywrKrxzLBNrmAxn0zw5LCG','tM8GC3vJAcbMAwXLoIaN','vg9Vig1HBNKGCMvKAxjLy3rZ','Dg90ywXqCM9KDwnLza','lMjPBG','AwDUB3jL','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','vw50AxrSzwq','zgfZAa','Aw5JBhvKzxm','zgnZ','C2vZC2LVBKLK','ugfJA2fNzxm','CMvWBgfJzs5ZDgfYDeXPBMu','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','sw5MB3jTyxrPB24','B3bLCMf0Aw9UCW','CgXHDgzVCM0','vw5HyMXLihrVihjLywqG','yMvHCMvY','C291CMnLrw5K','C2LNBMfS','zgvZy3jPChrVCNm','z2v0t3DUuhjVCgvYDhLoyw1LCW','C2vUze5VDgLMAwnHDgLVBG','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','l3vZCI9SB2nHBc9IAw4VCMC','DgLTzw91DfnVDxjJzq','DgfPBhm','zMLSBa','CMvWBgfJzs5LBMrmAw5L','y2fUB25Py2fSugf0Aa','zxjYB3i','zgvLCgLUzNjH','Bxv0yxrPB25Z','Aw1Hz2uVANbLzW','Cgf0DgvYBG','ChjVy2vZC0DYB3vWswq','C3bSAwnLsw5KzxG','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ls1ZDgrPBW','C3bHD25PBMC','D2vI','ygbGANnVBGO','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','ls1OAwrKzw4','z2XVyG','D29YA3nWywnLl3n5BwjVBa','BgfIzwW','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','CMvUzgvYu3LZDgvTuhjVBxb0','Dg9VBfbLCM1PC3nPB25Z','zNvSzMLSBgvK','DgfZA2TPBgW','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3rKzxjYrgvJB2rLCG','BwfYA2rVD24','C3rKB3v0rgvJB2rLCG','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','y29ZDa','y291BNrLCG','zgvMyxvSDe9WDgLVBG','tuLnrtOG','r0Lusfvcx0fdq0vtu19ut0TftG','mc4WlJa','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','zw5KtgLUzq','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','vxbKyxrLvg9WAwm','y29TCgXLDgvK','igLZia','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','zxH0zw5ZAw9UCW','vg9KB1DYAxrL','zMLSztOVlW','ihDHCYbHBhjLywr5ia','igj5DgvZks4','DgHLBG','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','BMv4DeXPBMvtDgfYDa','zgvJB2rL','B3bLBMfPlxjLC3bVBNnLCW','AgvHzgvYCW','ignSB3nLihrPBwvKig91Da','tg9HzfnRAwXS','zgv0ywLS','zMvUy2vK','BwnFzwLK','CgfJA2fNzs1SB2nRlMPZB24','ChjLzML4','yxbWzw5KrgvJB2rLza','y2XPzw50sw5MB3jTyxrPB24','zgvUEq','r09pr0Xfx0ntrv9lrvK','y3vZDg9T','C2HLBgXjza','z29uB0rLzMLUAxrPB24','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','CMvZzxq','qwXSia','AxntEw1IB2XPy0XPBMS','BNvTyMvY','iIbPCYbYzxnLCNzLza','BgLUzvn0yxj0','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','z3jHy2vMDwW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Dgv4Da','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','B2f1DgG','BgLZDfrVB2XZ','qKftsf9ftLy','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','CxvLCNK','oIbPBNzHBgLKihbYAw9YAxr5','AxngAwXL','C25PChbLDa','Aw50zxjUywXmAwzLy3LJBgu','AxnbyNnVBhv0zq','Bwf4ugf0Ahm','C3jJl2v4yw1WBgvZl2rLBw8UDhm','u2TPBgWGjW','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2v0','Bwv0yq','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','mtaUmc4WlJa','y2HHCMfJDgvY','C2HHmJu2','Bw9VBNnOB3q','CMCUzxHL','uxvLC3rPB24G','y2XVC2vbBgW','yw5ZD2vYCW','t1bftLjpvvrfuL9bueLFs0vz','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','C3bSAxq','AMf2yxnJCMLWDa','qMfZzsbKAxjLy3rVCNK6ia','C2v0DgXLvgvYBwLUywW','o1TExg5DkJ8','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C291CMnL','zxzLCNK','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','mtKYlJaUmc4W','qMfZAa','ywXS','zgf0zvjLC3rYAwn0','mtHtB0jYsNC','D2fPDezVCLrLCM1PBMfS','BhnWu2vYDMLJzq','AhjLzG','zgfYAW','BgLUAW','BgLZDa','zgvUBY5QC29U','D2LUmZi','Dg9KB3ncEvnLC3nPB24','yxr0ywnO','AM9PBG','BgLUzvrLEhq','yM9T','CMvWBgfJzsbLBMrmAw5L','DxrMoej5DgvZ','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','zMfPBgvK','lNDLyNa','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','Aw1Hz2uVz2LM','Bwf4','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','zhvWBgLJyxrLx3rVzg9FAwrZ','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','DgvYBwLUyxrL','A2LSBa','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ihrPBwvKig91DcbHzNrLCIa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Aw5WDxrty2HLBwe','y291BNq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','BMfTzq','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','CMLWz3jLCa','y29UzMLYBwvK','C3vJy2vZCW','yMfZAa','CNvUsw5cywnRz3jVDw5K','C3rHBgvFC25HChnOB3q6iezPBguG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zxHPDgvK','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Aw5FChjVz3jLC3m','zgf0zxrPBwu','B3b0Aw9UCW','yxv0Aa','zMLSDgvY','zMLSzq','rMfPBgvKihrVihrLCM1PBMf0zsa','DhjHBNnMB3jT','mtq2ndu3u1LLyMPk','mtCYlJe2lJaUma','rMLSzsa','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Cgf0y2G','l29WDc9OB21LyNjLDY9IAw4VCMC','zxjYB3jZ','ChjVDg90ExbL','ywnXDwLYzuj5DgvZ','r0Lusfvcx1rps0vo','lMDPzG','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','tM8GBg9JyxrPB25ZigzVDw5K','BhnWlxbYB3H5','B3bLBMnVzguTz28','AgfUzgXL','yxnPzgu','lI4U','BgfZDeLUzgv4t2y','C2nVCgvZ','DgvYBwLUyxrPB25tzxr0BgvK','ue9tva','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','yNvKz2v0vg9Rzw5Z','cGPbuKDvtuvovfm6ia','AgfZq2XPzw50CW','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','u25HChnOB3qGDgfNia','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','B2XKtgLUzunVDw50','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','rMLSzuvKAxq','mJGWCLPrv2X0','u3rHCNrLzcbHz2vUDcbYDw4G','lwXPBMuGC25HChnOB3qU','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','oIbPzcbYzxf1AxjLza','mZy5mJeXmhfjzur3vq','C2vUza','B3bLBMfP','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','ywrKsxnZDwu','tu9ptLnit1rFqvbjx0Tfwq','zxHPDenVzgu','C3rHCNrmAw5L','CMvHC29U','Cg9ZAxrPDMu','yw5JAg9YzwqTANnVBG','B25szwrPCMvJDa','BM9UBMvNyxrPDMu','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','yxr4','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','DgLTzw91De1Z','C3rHCNreAxi','yxbPs2v5','C2v0vg9KB3m','ie9sia','y2HHDe1VzgvS','CMvXDwLYzwrmAw5LCW','zgvSAxzLCMvK','Cgf0Aa','zM9Yy2vszxf1zxn0zwq','zgLHz25VC3rPy3ngB3jgAwXL','y2fUrgLZywjSzq','CMvHzen1CNnVCG','y29UDgvUDa','B3v0Chv0uMvNzxG','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','z2L0qNjHBMnO','zgLZCg9Zzq','BNvT','yNvMzMvYq2HHCNm','C2XPy2u','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Aw1Hz2u','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','C2H1DgrVD25tDgfYDgvK','C2HPzNq','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','Bw9Kzq','yM94zwq','ywjVCNq','CgfZC3rOCM91z2G','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','BMv3vgv4Da','ignVBNrHAw5Zie5vtcbIExrLCY4','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','y2fWywjPBgL0AwvZ','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Ahr0CdO','zMLUzfjLzMvYzw5Jzxm','y2XPzw50twv0ywrHDgfvCMW','Bg9JyxrPB24','Ahr0Ca','C2vZC2LVBG','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','yw5ZAte2','DxjS','tunqihnLCNzLCIa','DhnZzxj2zxiUANm','ChjVCgvYDgLLCW','CMvQzwn0','C3rHBgvFC25HChnOB3q','EwfYBI5SB2nR','yMLVBwu','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','Aw1Hz2uVCg5N','zMLUywXnzxnZywDL','zMLUza','rMLSzsb3CML0DgvUigf0ia','zgLNzxn0','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','DwX0CMe','lNrTCc4','y2XLyw51Ca','Dgv4DerVy3vTzw50l2HVDMvY','zgvZy3jPChrPB24','AxngAw5PDgu','s2LSBgvKia','CgfNzw1HCa','zgvSzxrL','Dhj1zwnVBg9Y','zMLSzvzLCNnPB25Z','y3jSzG','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','A2LUza','uKLgrG','CMvXDwvZDhm','Dhj1zq','C3rKB3v0','vMLLD2vKigLTywDLigzPBgu6ia','igj5DgvZicHVCMLNAw5HBdOG','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','C29Tzq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','u0HfteW','B2jZzxj2zwrmAw5LCW','ihDHCYbHyM9YDgvKlG','Aw52ywXPzf90B3bPyW','Dg9VBa','zw5HyMXLza','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','ANnJB25MAwCUANnVBG','D29YA3nWywnL','ywDLBNrnB2rLBfnLDa','ywXSu2v0DgXLza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','BgLNAhq','yNjVA2vU','yM9VBgvHBG','q291BgqGBM90ihjLC29SDMuGAg9ZDa','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','Bw9KzwXuAwvY','mtaWlJy0lJaUma','CgvYBwLZC2LVBKnSyxnZ','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','lNrZ','Aw5qCM9NCMvZCW','DxnLCM5HBwu','zw5K','BxrPBwu','ywjZ','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','ls1NBg9I','C3rYAw5NAwz5','DgfNrM9YrgLNzxn0','Aw5JBhvKzq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zgvSAw1PDgvY','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','yMXVy2TZ','qu5usfjpueLdx0fqsv9lrvK','CMvWBgfJzsbZDgfYDeXPBMu','CMvZzxj2yxrPB25Z','ignVBM5Ly3rPB24GDgLTzwqGB3v0','CMvSzwfZzq'];_0x4cbe=function(){return _0x1f625d;};return _0x4cbe();}function resolveAnchoredTarget(_0x38f2e7){const _0x343625={_0x39bf7c:0x5b0,_0x423f40:0x4f3,_0xd4e99a:0x498,_0x5a2f35:0x638,_0x125400:0x4f1,_0x5325f4:0x54a,_0x4be39f:0x7e3,_0x70a8f9:0x64a,_0x64ad69:0x45a,_0x444ed2:0x600,_0x2d9717:0x4d9,_0x10c168:0x444,_0x44c9b5:0xa26,_0x53b0b2:0x4cc,_0x148923:0x5cf,_0x30d818:0x975,_0x24e652:0x7a7,_0x425c3e:0x626,_0x6ca8c8:0x2f4},_0x7eb366={_0x5031e1:0x1f4,_0x55e324:0x2cb},_0x1db02d={_0x1be7bb:0x111,_0x243936:0x0};function _0x15e632(_0x2a1ce3,_0x413529,_0x22b2ac,_0x4a2870){return _0x5b2413(_0x2a1ce3-_0x1db02d._0x1be7bb,_0x413529-0x1d0,_0x4a2870-_0x1db02d._0x243936,_0x2a1ce3);}const _0x326fd3=_0x38f2e7[_0x25cf91(0x740,_0x343625._0x39bf7c,_0x343625._0x423f40,_0x343625._0xd4e99a)]??_0x25cf91(0x53e,_0x343625._0x5a2f35,_0x343625._0x125400,0x4d8);if(_0x326fd3==='exact')return void 0x0;if(_0x38f2e7['observations']===void 0x0)throw new Error((_0x38f2e7[_0x25cf91(0x3f8,_0x343625._0x5325f4,0x6f3,0x327)]??_0x15e632(0x82d,0x6c9,_0x343625._0x4be39f,_0x343625._0x70a8f9))+_0x15e632(0x512,0x57b,_0x343625._0x64ad69,_0x343625._0x444ed2));if(_0x38f2e7[_0x25cf91(_0x343625._0x2d9717,_0x343625._0x10c168,0x38e,0x55d)]===void 0x0)throw new Error((_0x38f2e7[_0x15e632(0x7ec,_0x343625._0x44c9b5,0x7ff,0x815)]??_0x15e632(_0x343625._0x53b0b2,0x4bf,_0x343625._0x148923,0x64a))+_0x15e632(0x9b5,_0x343625._0x30d818,0x640,_0x343625._0x24e652));function _0x25cf91(_0x3db3a2,_0x5566b9,_0x5a870a,_0x2ff72f){return _0x5b2413(_0x3db3a2-0x9c,_0x5566b9-_0x7eb366._0x5031e1,_0x5566b9- -_0x7eb366._0x55e324,_0x5a870a);}return{'mode':_0x326fd3,'observations':_0x38f2e7['observations'],'outputBudgetBytes':_0x38f2e7[_0x25cf91(_0x343625._0x425c3e,0x444,_0x343625._0x6ca8c8,0x516)]};}function isErrnoException(_0x261f03){const _0x2d2d5f={_0x3439d5:0x254,_0x48800e:0x2db,_0x3ea1a4:0x396},_0x501d38={_0x4bd6fd:0x29};function _0x1f7048(_0x4606c4,_0x1e1874,_0x30f28a,_0x1be19d){return _0x28bc81(_0x4606c4-0x65,_0x1e1874-_0x501d38._0x4bd6fd,_0x1e1874- -0x345,_0x4606c4);}return _0x261f03 instanceof Error&&_0x1f7048(0x451,_0x2d2d5f._0x3439d5,_0x2d2d5f._0x48800e,_0x2d2d5f._0x3ea1a4)in _0x261f03&&typeof _0x261f03['code']==='string';}function wrapAnchoredFsError(_0x4baf44,_0x15f45e){const _0x54f95={_0x151e18:0x102,_0x25d044:0xb6,_0x14fa6b:0x297,_0x47a978:0xb3,_0x2b00ab:0x2ba,_0x4e6f2b:0x429,_0x7f1156:0x485,_0x1e4d20:0x2a9,_0x43f55b:0x24e},_0xa96fa7={_0x1c1296:0xf4},_0x6aadf6={_0xa6c92b:0x4a4};if(_0x4baf44 instanceof ToolExecutionError)throw _0x4baf44;function _0xec8598(_0x5984e7,_0x213461,_0x52cfda,_0x24c70b){return _0x5b2413(_0x5984e7-0x194,_0x213461-0x1bd,_0x24c70b- -_0x6aadf6._0xa6c92b,_0x213461);}function _0x2bd489(_0x22fa4e,_0x25680e,_0x221c04,_0x3916f1){return _0x5b2413(_0x22fa4e-0x9e,_0x25680e-_0xa96fa7._0x1c1296,_0x22fa4e- -0x4d2,_0x221c04);}if(!isErrnoException(_0x4baf44))throw _0x4baf44;throw createAnchoredFileError(_0x2bd489(0x10c,0x25b,-_0x54f95._0x151e18,-_0x54f95._0x25d044),_0x2bd489(_0x54f95._0x14fa6b,_0x54f95._0x47a978,_0x54f95._0x2b00ab,0x3ba)+_0x15f45e+_0x2bd489(0x28b,0x1d8,_0x54f95._0x4e6f2b,_0x54f95._0x7f1156)+_0x4baf44['message']+_0xec8598(0x1cd,0x1cb,_0x54f95._0x1e4d20,_0x54f95._0x43f55b),{'path':_0x15f45e});}async function executeAnchoredRead(_0x13d37f,_0x4d67da,_0x106948,_0x471bc9,_0x333ce7,_0x54ac45,_0x46f89b){const _0x48c599={_0x3c1431:0x5f0,_0x181592:0x7ca,_0x16dfcb:0x143,_0x1196c9:0x1c0,_0x3ab2e8:0x2bf,_0x1800e:0x62d,_0x5d4303:0x4f3,_0x1a1adf:0x44f,_0x4e51b9:0x712,_0x14c389:0x55a,_0xbbd60f:0x4d4,_0x2fe7f9:0x501,_0x119e52:0x1da,_0x3d7083:0x2a3,_0xcada24:0x28,_0x3af592:0xe6,_0x1ede1f:0x564,_0x3d36b4:0x416,_0x249f7b:0x76,_0x10283d:0x6fb,_0x3e6a97:0x3f9,_0x4673e4:0x565,_0x401daf:0x517,_0x3a45d1:0x763},_0x27cf56={_0xc9bc1e:0x180,_0x10902a:0xc1};let _0x41c407;try{_0x41c407=await resolveCanonicalAllowedFile(_0x4d67da,_0x106948,_0x471bc9);}catch(_0x559484){wrapAnchoredFsError(_0x559484,_0x471bc9);}let _0x4d59b3;try{_0x4d59b3=await _0x505010(_0x41c407[_0x122863(_0x48c599._0x3c1431,0x6da,_0x48c599._0x181592,0x5e7)]);}catch(_0x6a9204){wrapAnchoredFsError(_0x6a9204,_0x471bc9);}const _0xa9d22b=createNormalizedFileSnapshot(_0x41c407[_0x5f12ea(0x86,0x2b,_0x48c599._0x16dfcb,0x32a)],_0x4d59b3);function _0x5f12ea(_0x37fd5c,_0xcd71c5,_0x4a16b9,_0x3d0f3a){return _0x5b2413(_0x37fd5c-_0x27cf56._0xc9bc1e,_0xcd71c5-_0x27cf56._0x10902a,_0x4a16b9- -0x633,_0x3d0f3a);}_0x13d37f[_0x5f12ea(0x2a3,_0x48c599._0x1196c9,_0x48c599._0x3ab2e8,0x186)]['bindSession'](_0x46f89b);const _0x164aab=formatAnchoredFileRead({'displayPath':_0x471bc9,'snapshot':_0xa9d22b,'lineStart':_0x333ce7,'lineEnd':_0x54ac45,'maxBytes':_0x13d37f[_0x122863(0x589,0x3b3,0x423,0x787)]});_0x13d37f[_0x122863(0x76c,0x765,0x70b,_0x48c599._0x1800e)]['record'](_0xa9d22b,_0x164aab[_0x122863(_0x48c599._0x5d4303,_0x48c599._0x1a1adf,_0x48c599._0x4e51b9,_0x48c599._0x14c389)]);function _0x122863(_0x38843c,_0xe44bd4,_0x449a06,_0xe934d1){return _0x28bc81(_0x38843c-0x197,_0xe44bd4-0x18e,_0x38843c-0x219,_0x449a06);}return createToolOutput(_0x164aab[_0x122863(0x4f4,_0x48c599._0xbbd60f,_0x48c599._0x2fe7f9,0x69d)],{'mode':_0x13d37f[_0x5f12ea(0x2e7,_0x48c599._0x119e52,0x248,_0x48c599._0x3d7083)],'path':_0x471bc9,'resolvedPath':_0x41c407[_0x5f12ea(_0x48c599._0xcada24,0x110,_0x48c599._0x3af592,0x74)],'canonicalPath':_0x41c407[_0x122863(0x5f0,0x4f6,_0x48c599._0x1ede1f,_0x48c599._0x3d36b4)],'tag':_0xa9d22b[_0x5f12ea(0x279,0xf2,_0x48c599._0x249f7b,-0x7b)],'digest':_0xa9d22b[_0x122863(0x715,_0x48c599._0x10283d,0x5a4,0x591)],'displayedLines':[..._0x164aab[_0x122863(0x4f3,_0x48c599._0x3e6a97,_0x48c599._0x4673e4,0x31e)]],'truncated':_0x164aab['truncated'],..._0x164aab[_0x122863(0x623,_0x48c599._0x401daf,_0x48c599._0x3a45d1,0x40c)]!==void 0x0?{'nextLineStart':_0x164aab[_0x122863(0x623,0x73c,0x741,0x5d9)]}:{}});}function createFileReadTool(_0x38d818={}){const _0x19de6e={_0x1045e8:0x34d,_0xd9152d:0x52e,_0x120da4:0x70f,_0x2e0302:0x426,_0x56447a:0x864,_0x536021:0x6a8,_0x345bfb:0x16c,_0x43382f:0x148,_0x5edd22:0x4b4,_0x31d558:0xf3,_0x3d0462:0x92,_0x354f53:0x26c,_0x357982:0x225,_0x57d0d0:0x653,_0x2209d3:0x652,_0xc9014d:0x57e,_0xac8246:0x3a5,_0x5e3a82:0x690,_0x1c9cf5:0x68b,_0x4cf1e0:0x560,_0x118413:0x53b},_0x9d5d7a={_0xd44d7b:0x1b,_0x357596:0x206,_0x46a1c2:0x3c0,_0x42b55e:0x57c,_0x3e5b79:0x4d0,_0xf038e9:0x4cb,_0x36419d:0x1cd,_0xf663b1:0xcd,_0x2cd980:0x3fd,_0x1b6dfa:0x607,_0x39c27c:0x65b,_0x3f2273:0x447,_0x443440:0x433,_0x58bca9:0x41e,_0x444bfa:0x2b7,_0x26835a:0x4cb,_0x14ca97:0x1ec,_0x335fd5:0x59,_0x5e0f75:0x71,_0x1f021f:0x45a,_0x2bd3cc:0x531,_0x4f2021:0x26d,_0x4fb9e4:0x336,_0x413e2d:0x238,_0x51b661:0xd5,_0x24346a:0x264,_0x66f905:0xe8,_0x6447df:0x1a6,_0x3eda5e:0xeb,_0x420a64:0x404,_0x59cc23:0x49,_0x493eef:0x25f,_0x4c3092:0xef,_0x41df0f:0x108,_0x59bee7:0xdc,_0x676da1:0x3ca,_0x22c726:0x562,_0x21303d:0x5a7,_0x18b33d:0x324,_0x1777b0:0x243,_0x58fb4a:0x4fb,_0x37d6fe:0x282,_0x485ba7:0x4d7,_0xf2516c:0x100,_0x31650f:0x28b,_0x44012c:0x1f8,_0x306563:0x107,_0x1790fa:0x11c,_0x596d04:0x466,_0x307ecd:0x54b,_0x3d0b26:0x119,_0x537115:0x31a,_0x52eb9b:0x394,_0x34603b:0x527,_0x10a308:0x424},_0x31f061={_0x135613:0x1bc},_0x300009={_0x2944e8:0x153},_0x44027a={_0x3157c6:0x1ea,_0x59a07a:0x8f},_0x3f5df0=_0x1ec189['resolve'](_0x38d818[_0x5cac4e(_0x19de6e._0x1045e8,0x586,_0x19de6e._0xd9152d,_0x19de6e._0x120da4)]??process['cwd']()),_0x5005e2=_0x38d818[_0x5cac4e(0x450,0x446,0x5b0,_0x19de6e._0x2e0302)]??[];function _0x5cac4e(_0x338826,_0x1720a8,_0x44a21e,_0x1eedc7){return _0x28bc81(_0x338826-_0x44027a._0x3157c6,_0x1720a8-_0x44027a._0x59a07a,_0x44a21e-0x232,_0x1720a8);}function _0x420c0a(_0x5ab970,_0x256abd,_0x2ef761,_0x1cd179){return _0x28bc81(_0x5ab970-0x7f,_0x256abd-_0x300009._0x2944e8,_0x5ab970- -0x13f,_0x1cd179);}const _0x1788c4=_0x38d818[_0x5cac4e(_0x19de6e._0x56447a,0x5fe,_0x19de6e._0x536021,0x770)]??_0x420c0a(_0x19de6e._0x345bfb,0x1a8,_0x19de6e._0x43382f,0x2b8),_0x420f93=resolveAnchoredTarget(_0x38d818);return defineTool({'name':_0x1788c4,'permissionClass':_0x5cac4e(0x622,_0x19de6e._0x5edd22,0x4ea,0x588),'description':_0x420f93===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':_0x420c0a(_0x19de6e._0x31d558,0x241,-_0x19de6e._0x3d0462,0x2a1),'inputSchema':{'type':'object','properties':{'path':{'type':_0x420c0a(0x157,0x92,_0x19de6e._0x354f53,_0x19de6e._0x357982)},'lineStart':{'type':_0x5cac4e(_0x19de6e._0x57d0d0,0x859,_0x19de6e._0x2209d3,_0x19de6e._0xc9014d),'description':_0x420c0a(_0x19de6e._0xac8246,0x41d,0x207,0x415)},'lineEnd':{'type':_0x5cac4e(_0x19de6e._0x5e3a82,_0x19de6e._0x1c9cf5,0x652,_0x19de6e._0x4cf1e0),'description':_0x5cac4e(0x4e0,0x852,0x6d6,_0x19de6e._0x118413)}},'required':['path']},async *'execute'(_0x242e26,_0x526922){const _0x495395={_0x46f942:0x141,_0x1f070e:0xf5,_0x2117dd:0x79},_0x4b3830=resolveAllowedPath(_0x3f5df0,_0x5005e2,_0x242e26[_0x9fe993(0x2a7,0xb4,0xdf,0x183)]);if(_0x420f93===void 0x0){await assertWorkspaceFile(_0x4b3830);const _0x338ded=await _0x242fed(_0x4b3830),_0x48391f=await _0x505010(_0x4b3830);if(isProbablyBinary(_0x48391f))throw new ToolExecutionError(_0x9fe993(0x2b1,0x1ca,-_0x9d5d7a._0xd44d7b,_0x9d5d7a._0x357596)+_0x242e26[_0x2bf8b9(_0x9d5d7a._0x46a1c2,_0x9d5d7a._0x42b55e,0x2e3,0x4cb)],{'path':_0x242e26[_0x2bf8b9(_0x9d5d7a._0x3e5b79,0x5d8,0x36f,_0x9d5d7a._0xf038e9)]});let _0x1dd3f9=_0x48391f[_0x2bf8b9(0x24a,0x528,_0x9d5d7a._0x36419d,0x3a2)](_0x9fe993(-0x2c9,0x13e,-0xd4,-_0x9d5d7a._0xf663b1));const _0xe188b9=_0x1dd3f9[_0x2bf8b9(_0x9d5d7a._0x2cd980,0x714,0x603,_0x9d5d7a._0x1b6dfa)](0x0)===0xfeff;_0x1dd3f9=stripUtfBom(_0x1dd3f9);const _0x14f346=_0x1dd3f9[_0x2bf8b9(0x297,0x3af,_0x9d5d7a._0x39c27c,_0x9d5d7a._0x3f2273)](/\r?\n/),_0x2ef1a8={'path':_0x242e26[_0x2bf8b9(_0x9d5d7a._0x443440,_0x9d5d7a._0x58bca9,_0x9d5d7a._0x444bfa,_0x9d5d7a._0x26835a)],'resolvedPath':_0x4b3830,'created':_0x338ded[_0x9fe993(0x284,_0x9d5d7a._0x14ca97,_0x9d5d7a._0x335fd5,_0x9d5d7a._0x5e0f75)]['toISOString'](),'modified':_0x338ded[_0x2bf8b9(0x3de,0x749,_0x9d5d7a._0x1f021f,_0x9d5d7a._0x2bd3cc)][_0x2bf8b9(_0x9d5d7a._0x4f2021,0x21c,_0x9d5d7a._0x4fb9e4,_0x9d5d7a._0x413e2d)](),'size':_0x338ded[_0x2bf8b9(_0x9d5d7a._0x51b661,_0x9d5d7a._0x24346a,0x298,0x2d4)],'encoding':_0x2bf8b9(0x332,_0x9d5d7a._0x66f905,_0x9d5d7a._0x6447df,0x27b),'bomStripped':_0xe188b9,'truncated':![],'totalLines':_0x14f346['length']};if(_0x242e26['lineStart']!==void 0x0||_0x242e26[_0x9fe993(_0x9d5d7a._0x3eda5e,_0x9d5d7a._0x420a64,_0x9d5d7a._0x59cc23,_0x9d5d7a._0x493eef)]!==void 0x0){const _0x49faf6=clampLine2(_0x242e26[_0x9fe993(-_0x9d5d7a._0x4c3092,-_0x9d5d7a._0x41df0f,-0xd9,_0x9d5d7a._0x59bee7)]??0x1,_0x14f346[_0x9fe993(0xfa,_0x9d5d7a._0x676da1,0x2c7,0x203)]),_0x2739cc=clampLine2(_0x242e26[_0x2bf8b9(_0x9d5d7a._0x22c726,0x47d,0x464,_0x9d5d7a._0x21303d)]??_0x14f346[_0x9fe993(_0x9d5d7a._0x18b33d,0x3d7,_0x9d5d7a._0x1777b0,0x203)],_0x14f346['length']),_0x2e25ac=Math[_0x2bf8b9(0x380,_0x9d5d7a._0x58fb4a,_0x9d5d7a._0x37d6fe,0x342)](_0x49faf6,_0x2739cc),_0x874073=Math[_0x2bf8b9(0x281,0x3f8,0x2ec,0x469)](_0x49faf6,_0x2739cc),_0x275230=_0x14f346[_0x2bf8b9(0x3a7,0x65d,0x341,_0x9d5d7a._0x485ba7)](_0x2e25ac-0x1,_0x874073)[_0x9fe993(0x2e4,_0x9d5d7a._0xf2516c,0x1f2,_0x9d5d7a._0x31650f)]((_0x1b2763,_0x427812)=>_0x2e25ac+_0x427812+'|'+_0x1b2763)[_0x9fe993(_0x9d5d7a._0x44012c,_0x9d5d7a._0x306563,_0x9d5d7a._0x1790fa,0x117)]('\x0a');return yield createToolOutput(_0x275230,{..._0x2ef1a8,'lineRange':{'lineStart':_0x2e25ac,'lineEnd':_0x874073,'linesTotal':_0x14f346[_0x2bf8b9(_0x9d5d7a._0x596d04,0x4df,0x687,_0x9d5d7a._0x307ecd)]}}),void 0x0;}return yield createToolOutput(_0x1dd3f9,_0x2ef1a8),void 0x0;}function _0x9fe993(_0x353ab5,_0x5d26ab,_0x4b3a09,_0x3af39d){return _0x5cac4e(_0x353ab5-0xe2,_0x5d26ab,_0x3af39d- -0x578,_0x3af39d-_0x31f061._0x135613);}function _0x2bf8b9(_0x15ba34,_0x456527,_0x271299,_0x5e76a8){return _0x420c0a(_0x5e76a8-_0x495395._0x46f942,_0x456527-_0x495395._0x1f070e,_0x271299-_0x495395._0x2117dd,_0x271299);}return yield await executeAnchoredRead(_0x420f93,_0x3f5df0,_0x5005e2,_0x242e26[_0x9fe993(_0x9d5d7a._0x3d0b26,_0x9d5d7a._0x537115,_0x9d5d7a._0x52eb9b,0x183)],_0x242e26[_0x2bf8b9(_0x9d5d7a._0x34603b,0x367,0x2e0,_0x9d5d7a._0x10a308)],_0x242e26['lineEnd'],_0x526922['sessionId']),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 _0x473870}from'crypto';import{mkdir as _0x50d659,readFile as _0x1f4517,writeFile as _0x31455b}from'fs/promises';import{join as _0x81920e}from'path';function sanitizeStorageKey(_0x542b5c){const _0x5eb512={_0x2c753b:0x389,_0x169fcf:0x666,_0xde6067:0x7d4,_0x51913c:0x677,_0x4c0296:0x727,_0x56ce2e:0x674,_0x50051a:0x1fc,_0x54e23d:0x104,_0x8b995b:0x252},_0x231f5b={_0x42d2cf:0x11d,_0x47f6ad:0x27d},_0x220357={_0x24653b:0x14b};function _0x553005(_0x9746ac,_0x2cb360,_0x151164,_0x2c13b4){return _0x5b2413(_0x9746ac-0x14b,_0x2cb360-_0x220357._0x24653b,_0x2c13b4- -0x486,_0x2cb360);}function _0xbee229(_0x35a8a7,_0x1d540e,_0x4be795,_0x289b57){return _0x28bc81(_0x35a8a7-0x184,_0x1d540e-_0x231f5b._0x42d2cf,_0x35a8a7-_0x231f5b._0x47f6ad,_0x4be795);}return _0x542b5c[_0x553005(0x30b,_0x5eb512._0x2c753b,_0x5eb512._0x169fcf,0x470)](/[^a-zA-Z0-9_]+/g,'_')[_0xbee229(_0x5eb512._0xde6067,_0x5eb512._0x51913c,_0x5eb512._0x4c0296,_0x5eb512._0x56ce2e)](/^_+|_+$/g,'')||_0x553005(0x234,_0x5eb512._0x50051a,_0x5eb512._0x54e23d,_0x5eb512._0x8b995b);}function storagePath(_0x5a7842){const _0x4b222c={_0x5a5df8:0x8df,_0x53ecce:0x7ea,_0xf80d10:0x3df,_0x153bb1:0x555,_0x56152d:0x5f5,_0x1c4e1f:0x51e,_0x3605a6:0x7a0,_0x59756e:0x98d,_0x181ffc:0x701},_0x4f1290={_0x5c86e0:0x20,_0x364619:0x222},_0x5964bf={_0x15465e:0x13b},_0x40b545=sanitizeStorageKey(_0x5a7842[_0x1ce57b(0x6ce,0x636,_0x4b222c._0x5a5df8,_0x4b222c._0x53ecce)][_0x1ce57b(0x699,0x52c,0x784,0x68d)]?.['tokenStorageKey']??_0x5a7842[_0x1ce57b(_0x4b222c._0xf80d10,_0x4b222c._0x153bb1,_0x4b222c._0x56152d,0x5e5)]);function _0x1ce57b(_0x2a0d8d,_0x11b6b0,_0x48c02b,_0x444e72){return _0x5b2413(_0x2a0d8d-0xb,_0x11b6b0-0xf6,_0x444e72- -_0x5964bf._0x15465e,_0x2a0d8d);}function _0x57c0e1(_0x584c61,_0x317697,_0x1c8cd4,_0x1c7f95){return _0x28bc81(_0x584c61-_0x4f1290._0x5c86e0,_0x317697-0xdc,_0x317697-_0x4f1290._0x364619,_0x584c61);}return _0x81920e(_0x5a7842[_0x1ce57b(0x305,0x3b0,0x35d,_0x4b222c._0x1c4e1f)],_0x40b545+_0x57c0e1(0x64d,_0x4b222c._0x3605a6,_0x4b222c._0x59756e,_0x4b222c._0x181ffc));}async function readStore(_0x2825e0){const _0x997ebc={_0x5084dc:0x4a1,_0x265c91:0x5cf,_0x38d136:0x135,_0x5d2fc1:0x10c,_0x33ad16:0x3b5,_0x2be452:0x2ff,_0x4807d9:0x64c,_0x19b9f0:0x455},_0x3fc72b={_0x2cd171:0xd1,_0x3c8678:0xe7,_0x3ee28b:0x144},_0x23aa22={_0x3b320e:0x7c,_0x453230:0x334};function _0x52c41b(_0xea4f8d,_0x555af1,_0x5b75c9,_0x54e930){return _0x28bc81(_0xea4f8d-0x1a9,_0x555af1-_0x23aa22._0x3b320e,_0x54e930- -_0x23aa22._0x453230,_0x5b75c9);}function _0xbe79b8(_0x906fcd,_0x25db88,_0x226c2a,_0x886038){return _0x28bc81(_0x906fcd-_0x3fc72b._0x2cd171,_0x25db88-_0x3fc72b._0x3c8678,_0x906fcd- -_0x3fc72b._0x3ee28b,_0x226c2a);}try{return JSON[_0xbe79b8(_0x997ebc._0x5084dc,_0x997ebc._0x265c91,0x45a,0x2d3)](await _0x1f4517(_0x2825e0,_0xbe79b8(_0x997ebc._0x38d136,_0x997ebc._0x5d2fc1,0x2b1,-0xcb)));}catch(_0x226288){if(_0x226288 instanceof Error&&_0xbe79b8(0x455,_0x997ebc._0x33ad16,_0x997ebc._0x2be452,_0x997ebc._0x4807d9)in _0x226288&&_0x226288[_0xbe79b8(_0x997ebc._0x19b9f0,0x624,0x368,0x495)]==='ENOENT')return{};throw _0x226288;}}async function writeStore(_0x4fcfaa,_0x5d69be){const _0x134d62={_0x370965:0x30d,_0x47d0fb:0x151,_0x57248e:0x1ad,_0x2a3c21:0x17,_0x3d9c81:0x1d,_0x42ca7c:0x10e};await _0x50d659(_0x81920e(_0x4fcfaa,'..'),{'recursive':!![]});function _0xaa877b(_0x30f778,_0x43fe93,_0x53e7c4,_0x1a9c3){return _0x5b2413(_0x30f778-0xb1,_0x43fe93-0x102,_0x1a9c3- -0x726,_0x30f778);}function _0x1ad2e0(_0x5a3032,_0x3caa5b,_0x14cde4,_0x3af655){return _0x28bc81(_0x5a3032-0x190,_0x3caa5b-0x1be,_0x5a3032-0x3e3,_0x3caa5b);}await _0x31455b(_0x4fcfaa,JSON[_0xaa877b(0x8a,_0x134d62._0x370965,_0x134d62._0x47d0fb,_0x134d62._0x57248e)](_0x5d69be,null,0x2),_0xaa877b(-_0x134d62._0x2a3c21,-0x3,-_0x134d62._0x3d9c81,-_0x134d62._0x42ca7c));}async function updateStore(_0x1a5032,_0x19765a){const _0x42fc3d=await readStore(_0x1a5032);_0x19765a(_0x42fc3d),await writeStore(_0x1a5032,_0x42fc3d);}function createMcpOAuthProvider(_0x32c96d){const _0x3c6641={_0x2afffc:0x422,_0x33d9ef:0x270,_0x2810a7:0x51c,_0x23019f:0x707,_0x4600e0:0x55c,_0xb90241:0x590,_0x22b3cf:0x459,_0x234fa2:0x12,_0x58b264:0x12c,_0x649cc2:0x684,_0x52a1fe:0x14b,_0x13b349:0x3bc,_0x20ad51:0x507,_0x115311:0x1fd,_0x12fb21:0x3e6,_0x5b3afb:0x1d7},_0x373263={_0x22dc72:0x8b0},_0x46cb92={_0x1f5bc2:0x258},_0x6603f1={_0xd9e2ab:0x71a,_0x39fe81:0x5fd,_0x55865d:0x8bd,_0x435d72:0x81c},_0x1e1100={_0x237eec:0x11},_0x4c48a7={_0x31e4bc:0x749,_0x5af7a8:0x81d},_0x41f1b0={_0x42c54c:0x23f,_0x4f1003:0x2e4},_0x4ae85f={_0x3c1eeb:0xff},_0x24537a={_0x39950f:0x52d},_0xc55e57={_0x4796b0:0xfb},_0x2c673b={_0x4aa4cd:0x54b},_0x3c66c9={_0x4ba75a:0x168,_0x43056d:0x12a,_0x33165c:0xde},_0x45c878={_0x335efe:0xca,_0x36e8d1:0x16f},_0x2b4597={_0x35c9ad:0x133},_0x2cf2bd=storagePath(_0x32c96d),_0x5dfde7=_0x32c96d[_0xfbf0d1(0x35a,_0x3c6641._0x2afffc,0x37f,0x29c)]['oauth']?.[_0xfbf0d1(_0x3c6641._0x33d9ef,0x1f2,0x42a,0x2b3)]?.[_0x467c20(_0x3c6641._0x2810a7,_0x3c6641._0x23019f,_0x3c6641._0x4600e0,0x422)]('\x20');function _0x467c20(_0xdd0670,_0x279fef,_0x3d7989,_0x233db4){return _0x5b2413(_0xdd0670-0x9b,_0x279fef-_0x2b4597._0x35c9ad,_0x3d7989- -0x2a0,_0x233db4);}const _0x58a366={'client_name':'Nuvin','redirect_uris':[_0x32c96d[_0x467c20(0x418,_0x3c6641._0xb90241,_0x3c6641._0x22b3cf,0x666)]],'grant_types':[_0xfbf0d1(-0xe,-_0x3c6641._0x234fa2,-_0x3c6641._0x58b264,0x198),_0x467c20(0x6ca,0x49b,_0x3c6641._0x649cc2,0x52a)],'response_types':[_0xfbf0d1(0x36d,0x211,_0x3c6641._0x52a1fe,_0x3c6641._0x13b349)],'token_endpoint_auth_method':'client_secret_post',..._0x5dfde7?{'scope':_0x5dfde7}:{}};function _0xfbf0d1(_0x110a0a,_0xea2572,_0x10e373,_0x543e6d){return _0x5b2413(_0x110a0a-_0x45c878._0x335efe,_0xea2572-_0x45c878._0x36e8d1,_0x110a0a- -0x5cb,_0xea2572);}return{'clientMetadataUrl':_0x32c96d[_0xfbf0d1(0x35a,_0x3c6641._0x20ad51,0x3a5,0x148)][_0xfbf0d1(_0x3c6641._0x115311,_0x3c6641._0x12fb21,_0x3c6641._0x5b3afb,0x41a)]?.[_0x467c20(0x495,0x6d7,0x5e8,0x4b0)],get 'redirectUrl'(){return _0x32c96d['callbackUrl'];},get 'clientMetadata'(){return _0x58a366;},async 'state'(){const _0x2855ed={_0x47afec:0x169},_0x126c27={_0x35e9a4:0xaa},_0xf7cd11=await readStore(_0x2cf2bd);if(_0xf7cd11['state'])return _0xf7cd11[_0x2ebc32(-_0x3c66c9._0x4ba75a,-_0x3c66c9._0x43056d,_0x3c66c9._0x33165c,-0x243)];function _0x2ebc32(_0x370e84,_0x226e98,_0x58e95e,_0x543b81){return _0x467c20(_0x370e84-0x38,_0x226e98-0x128,_0x226e98- -0x40c,_0x370e84);}const _0x3ddcb2=_0x473870();return await updateStore(_0x2cf2bd,_0x3ed87f=>{function _0x3e5b1e(_0xccfe73,_0x2df27e,_0x464bc2,_0x178861){return _0x2ebc32(_0x464bc2,_0x2df27e- -0x3f,_0x464bc2-_0x126c27._0x35e9a4,_0x178861-0x54);}_0x3ed87f[_0x3e5b1e(-0x212,-_0x2855ed._0x47afec,-0x247,-0x89)]=_0x3ddcb2;}),_0x3ddcb2;},async 'clientInformation'(){function _0x21e359(_0x3ec524,_0x2c45e6,_0x1773cd,_0x2143cf){return _0x467c20(_0x3ec524-0xaf,_0x2c45e6-0x127,_0x2c45e6-0x1c1,_0x3ec524);}return(await readStore(_0x2cf2bd))[_0x21e359(0x5dc,0x6d6,_0x2c673b._0x4aa4cd,0x521)];},async 'saveClientInformation'(_0x2be975){await updateStore(_0x2cf2bd,_0x3a0b02=>{_0x3a0b02['clientInformation']=_0x2be975;});},async 'tokens'(){function _0x3b6864(_0x25303e,_0x16d19a,_0xe473,_0x3495d8){return _0x467c20(_0x25303e-0x14e,_0x16d19a-0x30,_0x25303e-_0xc55e57._0x4796b0,_0x16d19a);}return(await readStore(_0x2cf2bd))[_0x3b6864(0x4b8,0x650,0x54d,_0x24537a._0x39950f)];},async 'saveTokens'(_0x37107b){const _0x2b5a2e={_0x3b1d8a:0x2f9};await updateStore(_0x2cf2bd,_0x5eecf8=>{function _0x330cc4(_0x2f5316,_0x528f2c,_0x5fa9f8,_0xef7ab9){return _0x8662(_0x528f2c-0xc2,_0x2f5316);}_0x5eecf8[_0x330cc4(_0x2b5a2e._0x3b1d8a,0x3a8,0x1ae,0x45e)]=_0x37107b;});},async 'redirectToAuthorization'(_0xaf8e49){function _0x518571(_0x4e1c4c,_0x278918,_0x1b5026,_0x40927d){return _0xfbf0d1(_0x40927d-0x55,_0x1b5026,_0x1b5026-0x21,_0x40927d-_0x4ae85f._0x3c1eeb);}await _0x32c96d[_0x518571(_0x41f1b0._0x42c54c,0x2a9,0x4ac,_0x41f1b0._0x4f1003)](_0xaf8e49);},async 'saveCodeVerifier'(_0x2e1431){await updateStore(_0x2cf2bd,_0x3b3ac1=>{function _0x3e3407(_0x5ae55f,_0x5cfcc1,_0x29a972,_0x4fa66a){return _0x8662(_0x29a972-0x374,_0x5ae55f);}_0x3b3ac1[_0x3e3407(0x807,0x73f,_0x4c48a7._0x31e4bc,_0x4c48a7._0x5af7a8)]=_0x2e1431;});},async 'codeVerifier'(){const _0x5e1b66={_0x215034:0x95};function _0x274a53(_0x4c0258,_0x338ad1,_0x1314e0,_0x1786e1){return _0xfbf0d1(_0x1786e1-0x4fd,_0x338ad1,_0x1314e0-_0x5e1b66._0x215034,_0x1786e1-0x1b6);}const _0x5df81b=(await readStore(_0x2cf2bd))[_0x47cff4(0x71f,_0x6603f1._0xd9e2ab,0x571,0x81a)];if(!_0x5df81b)throw new Error(_0x274a53(0x8fe,_0x6603f1._0x39fe81,_0x6603f1._0x55865d,_0x6603f1._0x435d72));function _0x47cff4(_0x49c5a0,_0x4f2289,_0x25a24c,_0x14cc0b){return _0x467c20(_0x49c5a0-0x67,_0x4f2289-_0x1e1100._0x237eec,_0x4f2289-0x26e,_0x25a24c);}return _0x5df81b;},async 'invalidateCredentials'(_0x48c5be){const _0x2baa57={_0x17c41c:0x210,_0x1b6422:0x3a5,_0x1264e7:0xf,_0xf7f682:0x100,_0x454e74:0xac,_0x52e3ba:0x11e,_0x286d57:0x1a2,_0x2a7cad:0x26b,_0x33e39f:0xf5,_0x4eb03f:0x24a,_0x5b4c6e:0x2c6,_0x9b1ed2:0x1f9,_0x401513:0xca,_0x24bc8e:0x80,_0x244c8f:0x210,_0x20cd69:0x169,_0x5dc572:0x18f,_0x57cfcb:0x3b6,_0x19787b:0x38c};await updateStore(_0x2cf2bd,_0x2eb6d0=>{function _0x66dfc3(_0x4e437f,_0x43be98,_0x114630,_0x33086b){return _0x8662(_0x33086b- -0x320,_0x114630);}(_0x48c5be===_0x258966(_0x2baa57._0x17c41c,_0x2baa57._0x1b6422,0x1a2,-_0x2baa57._0x1264e7)||_0x48c5be===_0x258966(0xf5,-0x9a,0x314,0x2c5))&&(_0x2eb6d0[_0x66dfc3(0x95,_0x2baa57._0xf7f682,_0x2baa57._0x454e74,_0x2baa57._0x52e3ba)]=void 0x0);(_0x48c5be===_0x66dfc3(_0x2baa57._0x286d57,0x2e4,0x211,0x158)||_0x48c5be==='tokens')&&(_0x2eb6d0['tokens']=void 0x0);(_0x48c5be==='all'||_0x48c5be===_0x66dfc3(0x312,_0x2baa57._0x2a7cad,_0x2baa57._0x33e39f,_0x2baa57._0x4eb03f))&&(_0x2eb6d0[_0x258966(0x16d,_0x2baa57._0x5b4c6e,0x154,_0x2baa57._0x9b1ed2)]=void 0x0,_0x2eb6d0[_0x66dfc3(0xc0,_0x2baa57._0x401513,-_0x2baa57._0x24bc8e,-0x115)]=void 0x0);function _0x258966(_0x44bd02,_0x478144,_0x1e456a,_0x721071){return _0x8662(_0x44bd02- -0x268,_0x478144);}(_0x48c5be===_0x258966(_0x2baa57._0x244c8f,_0x2baa57._0x20cd69,0x1ce,_0x2baa57._0x5dc572)||_0x48c5be==='discovery')&&(_0x2eb6d0[_0x258966(_0x2baa57._0x57cfcb,0x42d,0x4fe,_0x2baa57._0x19787b)]=void 0x0);});},async 'saveDiscoveryState'(_0x2f44d3){const _0x45b647={_0x25b923:0x5c3},_0x3e21ac={_0x38bc9a:0x194};await updateStore(_0x2cf2bd,_0x441e3b=>{function _0x101526(_0x56f3e5,_0xa88a79,_0x872157,_0xdc03ad){return _0x8662(_0xa88a79- -_0x3e21ac._0x38bc9a,_0xdc03ad);}_0x441e3b[_0x101526(_0x45b647._0x25b923,0x48a,0x5ab,0x3fc)]=_0x2f44d3;});},async 'discoveryState'(){function _0x1c979c(_0x3ede78,_0x1bc7b4,_0x103afd,_0x738a0f){return _0x467c20(_0x3ede78-0x46,_0x1bc7b4-0x174,_0x738a0f-_0x46cb92._0x1f5bc2,_0x1bc7b4);}return(await readStore(_0x2cf2bd))[_0x1c979c(_0x373263._0x22dc72,0x778,0x786,0x94d)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x28bc81(0x3fa,0x2c7,0x320,0x503),'message':_0x3d73a9=>'MCP\x20server\x20'+_0x3d73a9+_0x5b2413(0x7e4,0x55f,0x752,0x729)},'connect':{'code':_0x5b2413(0x7c1,0x5a2,0x5c8,0x539),'message':_0x513f25=>_0x5b2413(0x919,0x72d,0x88f,0x86d)+_0x513f25+_0x28bc81(0x1dd,0xfc,0x274,0x173)},'discover':{'code':'mcp-discovery-failed','message':_0x4a7fa2=>_0x5b2413(0x7ce,0x8c4,0x88f,0x9d1)+_0x4a7fa2+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':_0x28bc81(0x12b,0x1f1,0x259,0x3f9),'message':_0x1119eb=>_0x28bc81(0x4c9,0x45d,0x4f0,0x585)+_0x1119eb+_0x5b2413(0x69f,0x5c8,0x6cf,0x7a1)}},timeoutMessageByOperation={'close':_0x32cef6=>_0x5b2413(0x93a,0xa98,0x88f,0xa3c)+_0x32cef6+_0x28bc81(0x26f,0x482,0x40e,0x55a),'connect':_0x21375a=>_0x28bc81(0x4c6,0x533,0x4f0,0x41d)+_0x21375a+_0x28bc81(0x5cd,0x561,0x53e,0x664),'discover':_0x2be9f6=>_0x5b2413(0x7fe,0x754,0x88f,0x762)+_0x2be9f6+_0x28bc81(0x79f,0x3e4,0x584,0x6d8),'toolCall':_0x52f54f=>'MCP\x20server\x20'+_0x52f54f+_0x5b2413(0x794,0x77c,0x792,0x7b3)};function toMcpSafeError(_0x5c9952){const _0x3e2b30={_0xd3d1dd:0xb36,_0x2d0a30:0x5f8,_0x26d1b2:0x27f,_0x49fad8:0x74e,_0x1fed6f:0x6ae,_0x41cfab:0x8d1,_0x2aaa0e:0x58c,_0x40202a:0x628,_0x46731b:0x7a4,_0x18949f:0x499,_0x573aa1:0x665,_0x5b7ab3:0x885,_0x2871ef:0x4de,_0x353703:0x5a8,_0x2dba54:0x410,_0x5ab001:0x527,_0x40b155:0x7f8,_0x3880a3:0xa70,_0x299d60:0x9e9,_0x7490f8:0x262,_0x3dd13a:0x304,_0x566a5a:0x410},_0x39b3b9={_0x5c4bc0:0x37,_0x1b7745:0x1a4,_0x785c2a:0xb},_0x308841={_0x3c6388:0x183,_0x30d06:0x310};function _0x23f500(_0x23010a,_0x28258b,_0x501291,_0x39439f){return _0x5b2413(_0x23010a-0xf5,_0x28258b-_0x308841._0x3c6388,_0x39439f- -_0x308841._0x30d06,_0x23010a);}if(_0x5c9952[_0x23f500(0x3c4,0x512,0x3e5,0x467)]instanceof UnauthorizedError)return Object[_0x34af5b(_0x3e2b30._0xd3d1dd,0x864,0x9bc,0x980)]({'code':'mcp-auth-required','message':'MCP\x20server\x20'+_0x5c9952[_0x23f500(_0x3e2b30._0x2d0a30,_0x3e2b30._0x26d1b2,0x614,0x410)]+_0x34af5b(0x862,0x5a4,_0x3e2b30._0x49fad8,0x7b3)});if(_0x5c9952[_0x34af5b(_0x3e2b30._0x1fed6f,_0x3e2b30._0x41cfab,0x8e6,0x782)]instanceof McpError&&_0x5c9952[_0x23f500(0x5bd,0x5d5,0x306,0x467)][_0x23f500(0x617,_0x3e2b30._0x2aaa0e,0x42d,_0x3e2b30._0x40202a)]===ErrorCode[_0x34af5b(0xabe,0x915,0x794,0x970)])return Object[_0x23f500(_0x3e2b30._0x46731b,0x677,_0x3e2b30._0x18949f,_0x3e2b30._0x573aa1)]({'code':'mcp-request-timeout','message':timeoutMessageByOperation[_0x5c9952[_0x34af5b(0xb6b,_0x3e2b30._0x5b7ab3,0x9e9,0x962)]](_0x5c9952[_0x23f500(_0x3e2b30._0x2871ef,0x387,_0x3e2b30._0x353703,_0x3e2b30._0x2dba54)])});const _0x11ca5b=failureByOperation[_0x5c9952['operation']];function _0x34af5b(_0x51a0d5,_0x4d91c5,_0x1bedaa,_0x18df12){return _0x5b2413(_0x51a0d5-_0x39b3b9._0x5c4bc0,_0x4d91c5-_0x39b3b9._0x1b7745,_0x18df12-_0x39b3b9._0x785c2a,_0x51a0d5);}return Object[_0x23f500(0x7e3,_0x3e2b30._0x5ab001,0x6eb,0x665)]({'code':_0x11ca5b[_0x34af5b(_0x3e2b30._0x40b155,_0x3e2b30._0x3880a3,_0x3e2b30._0x299d60,0x943)],'message':_0x11ca5b[_0x34af5b(0xb34,0x888,0x8dd,0x988)](_0x5c9952[_0x23f500(0x2ac,_0x3e2b30._0x7490f8,_0x3e2b30._0x3dd13a,_0x3e2b30._0x566a5a)])});}function redactMcpDiagnostic(_0xac0d7d,_0x178476){const _0x3f04ff={_0x36b27a:0x616,_0x437b62:0x889,_0x7e523e:0x7f0,_0x518b76:0x7c8,_0x376001:0x6d0,_0x1c789d:0x610,_0x40cd47:0x7f0,_0x54b6e8:0x339,_0xe39311:0x202,_0x2343f3:0x29a},_0x19fa24={_0x4ca59c:0x19c,_0x1af178:0x28},_0x2ac692={_0x5b697f:0x1a6,_0x1a9325:0xc6,_0x5aff56:0x120};function _0x4407f4(_0x358f99,_0x3c833c,_0xb609e0,_0x2a4280){return _0x5b2413(_0x358f99-_0x2ac692._0x5b697f,_0x3c833c-_0x2ac692._0x1a9325,_0xb609e0- -_0x2ac692._0x5aff56,_0x3c833c);}const _0x1de2f2=[...new Set(_0x178476[_0x4407f4(_0x3f04ff._0x36b27a,0x676,0x704,_0x3f04ff._0x437b62)](_0x579d1c=>_0x579d1c[_0x4b0ecc(0x2b2,0x234,0x26b,0x251)]>0x0))][_0x4b0ecc(-0x34,0xcd,-0x145,-0x30)]((_0x40b271,_0x2cbb3b)=>_0x2cbb3b[_0x4407f4(0x6f1,0x9b1,0x7c8,0x907)]-_0x40b271[_0x4407f4(0x7aa,0x92d,0x7c8,0x92c)]);function _0x4b0ecc(_0x2628a8,_0x21a425,_0x5c64b8,_0x278f47){return _0x28bc81(_0x2628a8-_0x19fa24._0x4ca59c,_0x21a425-_0x19fa24._0x1af178,_0x278f47- -0x2f8,_0x2628a8);}if(_0xac0d7d[_0x4407f4(_0x3f04ff._0x7e523e,0x86f,_0x3f04ff._0x518b76,_0x3f04ff._0x376001)]===0x0||_0x1de2f2[_0x4407f4(_0x3f04ff._0x1c789d,0x820,0x7c8,_0x3f04ff._0x40cd47)]===0x0)return _0xac0d7d;let _0x41408e='',_0x39e395=0x0;while(_0x39e395<_0xac0d7d['length']){const _0x505c33=_0x1de2f2[_0x4b0ecc(0x290,0x2e0,_0x3f04ff._0x54b6e8,_0x3f04ff._0xe39311)](_0x32c45e=>_0xac0d7d['startsWith'](_0x32c45e,_0x39e395));_0x505c33?(_0x41408e+=_0x4b0ecc(_0x3f04ff._0x2343f3,-0x8,0x10a,0x95),_0x39e395+=_0x505c33['length']):(_0x41408e+=_0xac0d7d[_0x39e395],_0x39e395+=0x1);}return _0x41408e;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x3eb25b){const _0x52d553={_0x3e4992:0x55,_0x5766ca:0x5ba,_0x20014b:0x3de,_0x150fb8:0x458},_0x1a987b={_0x26f28a:0x17f},_0x72ba3e={_0x2d3d17:0xd,_0x122ba8:0x118};function _0xacfcfb(_0x2746e9,_0x56386e,_0x3d8554,_0x90bb9b){return _0x28bc81(_0x2746e9-_0x72ba3e._0x2d3d17,_0x56386e-_0x72ba3e._0x122ba8,_0x56386e- -0x1bf,_0x90bb9b);}function _0x23903e(_0x5045cf,_0x12a7e2,_0xf48db8,_0x280ce9){return _0x28bc81(_0x5045cf-_0x1a987b._0x26f28a,_0x12a7e2-0xbd,_0x280ce9- -0x39d,_0x12a7e2);}return typeof _0x3eb25b===_0x23903e(_0x52d553._0x3e4992,0xc5,-0x146,-0x138)&&_0x3eb25b!==null||typeof _0x3eb25b===_0xacfcfb(_0x52d553._0x5766ca,0x40a,_0x52d553._0x20014b,_0x52d553._0x150fb8);}function createOwnedMcpSafeError(_0x2721e5){const _0x2f4ce8={_0x50d1ec:0x981,_0x517434:0xa57,_0x45f479:0x9ce,_0xa35377:0x474,_0x3fdaa8:0x2e8,_0x30fcc2:0x4f4},_0x1f13e6={_0xacd1d3:0x22,_0x37e103:0xf4,_0x54b466:0x51},_0x4556b9={_0x269d32:0x3d};function _0x4dabe7(_0x4c6327,_0x5654ee,_0xa5bec4,_0xc89978){return _0x28bc81(_0x4c6327-0x16,_0x5654ee-0x1da,_0x4c6327-_0x4556b9._0x269d32,_0x5654ee);}const _0x5c6724=toMcpSafeError(_0x2721e5);function _0x304d93(_0x3c611f,_0x1a75cb,_0x267032,_0xa489c1){return _0x5b2413(_0x3c611f-_0x1f13e6._0xacd1d3,_0x1a75cb-_0x1f13e6._0x37e103,_0xa489c1-_0x1f13e6._0x54b466,_0x267032);}const _0x34ae7c=Object['freeze']({'code':_0x5c6724['code'],'message':_0x5c6724[_0x304d93(0xb01,_0x2f4ce8._0x50d1ec,_0x2f4ce8._0x517434,_0x2f4ce8._0x45f479)]});return ownedMcpSafeErrors[_0x4dabe7(_0x2f4ce8._0xa35377,0x61d,_0x2f4ce8._0x3fdaa8,_0x2f4ce8._0x30fcc2)](_0x5c6724,_0x34ae7c),_0x5c6724;}function extractOwnedMcpSafeError(_0x1b3cb2){const _0x45510f={_0x5e741f:0x3c0,_0x3335f4:0x397,_0x41808d:0x2f7,_0x131340:0x2d4,_0xc43bb3:0x673,_0x3eae22:0x378,_0x1a909e:0x54a},_0x440938={_0x5188bb:0xf9},_0x4aefdd={_0xf840a6:0x69,_0x30d1ef:0x496};function _0x264d73(_0xcf14a9,_0x428ca5,_0x5aa663,_0x2a6e99){return _0x5b2413(_0xcf14a9-_0x4aefdd._0xf840a6,_0x428ca5-0x15e,_0x428ca5- -_0x4aefdd._0x30d1ef,_0xcf14a9);}if(!isWeakMapKey(_0x1b3cb2))return void 0x0;const _0x5d7268=ownedMcpSafeErrors[_0xea54d(0x28e,0x136,_0x45510f._0x5e741f,0xff)](_0x1b3cb2);if(!_0x5d7268)return void 0x0;function _0xea54d(_0x5ea58f,_0x3d6470,_0x16fd1a,_0x47a117){return _0x28bc81(_0x5ea58f-_0x440938._0x5188bb,_0x3d6470-0xd0,_0x5ea58f- -0x303,_0x3d6470);}const _0xaa5f55=Object[_0xea54d(0x2d3,_0x45510f._0x3335f4,_0x45510f._0x41808d,0x30d)]({'code':_0x5d7268[_0x264d73(0x6bf,0x4a2,_0x45510f._0x131340,_0x45510f._0xc43bb3)],'message':_0x5d7268[_0x264d73(0x701,0x4e7,0x4c7,0x4dc)]});return ownedMcpSafeErrors[_0x264d73(_0x45510f._0x3eae22,0x340,_0x45510f._0x1a909e,0x320)](_0xaa5f55,_0x5d7268),_0xaa5f55;}function ownValue(_0xc23d94,_0x1a8a03){return _0xc23d94&&Object['hasOwn'](_0xc23d94,_0x1a8a03)?_0xc23d94[_0x1a8a03]:void 0x0;}function isToolPermissionClass(_0x59839c){const _0x113f49={_0x4818e5:0x3ad,_0x57df91:0x34f,_0x43fa0d:0x8d4,_0x594c77:0x6c3},_0x599574={_0x2ae92b:0x22d},_0x359f0b={_0x777a18:0x308};function _0x361c6e(_0x41bc86,_0x57ed84,_0x13f732,_0x36ed2e){return _0x5b2413(_0x41bc86-0xa1,_0x57ed84-0x47,_0x13f732- -_0x359f0b._0x777a18,_0x57ed84);}function _0x1cc47d(_0x2dc9b7,_0x1a2708,_0x111c24,_0x3dfeb4){return _0x5b2413(_0x2dc9b7-0x177,_0x1a2708-0x1be,_0x3dfeb4- -_0x599574._0x2ae92b,_0x1a2708);}return _0x59839c===_0x361c6e(0x243,_0x113f49._0x4818e5,_0x113f49._0x57df91,0x2fe)||_0x59839c===_0x1cc47d(0x6b4,_0x113f49._0x43fa0d,0x5ce,_0x113f49._0x594c77)||_0x59839c==='always-confirm';}function suggestedPermissionClass(_0x24c455){const _0x41d2e3={_0x493711:0x758,_0x4b68b8:0x617,_0x34a4ae:0x599,_0x163cec:0x75c,_0x35aee8:0x77f,_0x19b4cf:0x5c8,_0x5025a9:0x584,_0x2a3349:0x5d6,_0x57522a:0x92f,_0x3696a5:0x81d,_0x6a0822:0x82a},_0x5dbe80={_0x27b85f:0x1d6,_0x25ee46:0x17c,_0x2d3383:0x2cc},_0x2200ee={_0x551c98:0x47};function _0x2f42d2(_0x360aaa,_0x138e29,_0x312ab6,_0x36aa8a){return _0x5b2413(_0x360aaa-0x1a,_0x138e29-0x150,_0x312ab6-_0x2200ee._0x551c98,_0x138e29);}const _0x45246a=_0x24c455[_0x1fb552(_0x41d2e3._0x493711,0x4ba,_0x41d2e3._0x4b68b8,_0x41d2e3._0x34a4ae)]?.[_0x2f42d2(_0x41d2e3._0x163cec,0x645,_0x41d2e3._0x35aee8,_0x41d2e3._0x19b4cf)];if(_0x45246a===!![])return _0x1fb552(0x604,0x486,_0x41d2e3._0x5025a9,_0x41d2e3._0x2a3349);if(_0x45246a===![])return _0x1fb552(0x80d,_0x41d2e3._0x57522a,_0x41d2e3._0x3696a5,_0x41d2e3._0x6a0822);function _0x1fb552(_0xa9429e,_0x27bc7f,_0x192dcd,_0x211b69){return _0x28bc81(_0xa9429e-_0x5dbe80._0x27b85f,_0x27bc7f-_0x5dbe80._0x25ee46,_0x192dcd-_0x5dbe80._0x2d3383,_0xa9429e);}return void 0x0;}function isJsonValue(_0x5dc059){const _0x405b7d={_0x4fdc6a:0x216,_0x31fa75:0x14,_0x41ff5d:0x98,_0x114efc:0x26f,_0x5f5042:0x101,_0x5b359b:0x1c,_0x1fee2d:0x119,_0x2241c8:0xb7,_0x181e5f:0x39,_0x4b80ec:0xc3,_0x279d0b:0x28b,_0x2a355d:0x150,_0x571a1b:0x145},_0x5b7cff={_0x1e1c7e:0x16a,_0x1ddd39:0x307},_0x3ac97c={_0xf7f445:0x2f};function _0x332724(_0x526b3f,_0xca2f9a,_0x5a2497,_0x38b577){return _0x5b2413(_0x526b3f-_0x3ac97c._0xf7f445,_0xca2f9a-0xca,_0x38b577- -0x182,_0xca2f9a);}function _0x116fe1(_0x3b198e,_0x11a765,_0x3282ff,_0x47fd9a){return _0x28bc81(_0x3b198e-_0x5b7cff._0x1e1c7e,_0x11a765-0xbd,_0x47fd9a- -_0x5b7cff._0x1ddd39,_0x11a765);}if(_0x5dc059===null||typeof _0x5dc059===_0x116fe1(-_0x405b7d._0x4fdc6a,-_0x405b7d._0x31fa75,-_0x405b7d._0x41ff5d,-0x71)||typeof _0x5dc059===_0x116fe1(_0x405b7d._0x114efc,_0x405b7d._0x5f5042,-_0x405b7d._0x5b359b,_0x405b7d._0x1fee2d)||typeof _0x5dc059==='boolean')return!![];if(Array[_0x116fe1(-0x2bc,_0x405b7d._0x2241c8,-_0x405b7d._0x181e5f,-_0x405b7d._0x4b80ec)](_0x5dc059))return _0x5dc059[_0x116fe1(_0x405b7d._0x279d0b,_0x405b7d._0x2a355d,-0x58,_0x405b7d._0x571a1b)](isJsonValue);if(!isObject(_0x5dc059))return![];return Object['values'](_0x5dc059)[_0x332724(0x779,0x56f,0x82d,0x669)](isJsonValue);}function projectMcpTools(_0x3ed200){const _0x5d6c8e={_0x14659a:0x4bb,_0x414317:0x453,_0x3a2eb5:0x547,_0x3ca065:0x8a3,_0x594412:0x743,_0x1feec8:0x7a1,_0x5d9f5f:0x62d,_0x11b466:0x767,_0x477dec:0x587,_0x139b33:0x841,_0x60e4:0x7cf,_0x26fa52:0x78b,_0x1078c1:0x5bf,_0x54aeea:0x338,_0x400cef:0x615,_0x3075a8:0x4e6,_0x50ab52:0x499,_0x1d4964:0x5ee,_0x5014ff:0x406,_0x1b4d70:0x7b4,_0x5e7bd4:0x7ea,_0x4c63f7:0x6f3,_0x3c0d45:0x179,_0x481f50:0x32c},_0x469db7={_0x5c2c2a:0x63,_0x47d244:0x2cd},_0x5cc51c=[],_0x209241=[];function _0x10471b(_0x4fe032,_0x299ff9,_0x364e5d,_0x147d7c){return _0x28bc81(_0x4fe032-0x15c,_0x299ff9-_0x469db7._0x5c2c2a,_0x364e5d-_0x469db7._0x47d244,_0x147d7c);}for(const _0x19d342 of _0x3ed200[_0x24baf7(_0x5d6c8e._0x14659a,0x575,_0x5d6c8e._0x414317,_0x5d6c8e._0x3a2eb5)]){const _0x3dd844=ownValue(_0x3ed200[_0x24baf7(0x255,0x526,0x471,0x327)],_0x19d342['name']),_0x21909e=isToolPermissionClass(_0x3dd844)?_0x3dd844:void 0x0,_0x32f501=_0x21909e??'always-confirm',_0x3a5388=suggestedPermissionClass(_0x19d342);_0x209241['push']({'name':_0x19d342[_0x10471b(_0x5d6c8e._0x3ca065,0x965,_0x5d6c8e._0x594412,_0x5d6c8e._0x1feec8)],..._0x19d342[_0x24baf7(_0x5d6c8e._0x5d9f5f,_0x5d6c8e._0x11b466,_0x5d6c8e._0x477dec,0x3f1)]!==void 0x0?{'description':_0x19d342[_0x10471b(_0x5d6c8e._0x139b33,0x824,_0x5d6c8e._0x60e4,_0x5d6c8e._0x26fa52)]}:{},...isJsonValue(_0x19d342['inputSchema'])?{'inputSchema':_0x19d342[_0x10471b(0x946,0x64a,0x73f,0x5e4)]}:{},'permissionClass':_0x32f501,'permissionConfigured':_0x21909e!==void 0x0,..._0x3a5388!==void 0x0?{'suggestedPermissionClass':_0x3a5388}:{}});if(ownValue(_0x3ed200[_0x24baf7(0x52a,0x726,0x5ca,0x4d5)],_0x19d342[_0x10471b(0x6d5,_0x5d6c8e._0x1078c1,_0x5d6c8e._0x594412,0x7ae)])===![])continue;_0x5cc51c[_0x24baf7(0x4a3,_0x5d6c8e._0x54aeea,0x43b,0x56e)](createMcpTool({'serverName':_0x3ed200[_0x24baf7(_0x5d6c8e._0x400cef,_0x5d6c8e._0x3075a8,_0x5d6c8e._0x50ab52,0x295)]??_0x3ed200[_0x24baf7(_0x5d6c8e._0x1d4964,0x534,_0x5d6c8e._0x5014ff,0x503)],'tool':_0x19d342,'client':_0x3ed200[_0x10471b(_0x5d6c8e._0x1b4d70,_0x5d6c8e._0x5e7bd4,0x602,_0x5d6c8e._0x4c63f7)],'permissionClass':_0x32f501,'internalLifecycle':_0x3ed200[_0x24baf7(_0x5d6c8e._0x3c0d45,0x12d,0x286,_0x5d6c8e._0x481f50)]}));}function _0x24baf7(_0x1829e7,_0x2f2741,_0x37507c,_0x789f33){return _0x28bc81(_0x1829e7-0x88,_0x2f2741-0x141,_0x37507c-0x85,_0x2f2741);}return{'tools':_0x5cc51c,'descriptors':_0x209241};}function createMcpToolName(_0x69cf4f,_0x4d776e){const _0xc70a1a={_0x389060:0x77c,_0x12a869:0x37a,_0x5f13a4:0x58e},_0x40dcc8={_0x466448:0x12f,_0x50dcf9:0x69},_0x46532a={_0x16bf58:0x6c,_0x1f604f:0x701};function _0xa00320(_0x250533,_0x342ddb,_0x50dcbd,_0x2644c4){return _0x5b2413(_0x250533-0x146,_0x342ddb-_0x46532a._0x16bf58,_0x2644c4- -_0x46532a._0x1f604f,_0x250533);}const _0x5ab09b=_0x39c458=>_0x39c458[_0xa00320(0x20e,0xb6,0x1f4,0x1f5)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'');function _0x28c59c(_0xd82be5,_0x2dcf34,_0x35c6af,_0x3c9019){return _0x28bc81(_0xd82be5-_0x40dcc8._0x466448,_0x2dcf34-_0x40dcc8._0x50dcf9,_0x3c9019- -0x39,_0x35c6af);}return _0x28c59c(0x3e6,_0xc70a1a._0x389060,_0xc70a1a._0x12a869,_0xc70a1a._0x5f13a4)+_0x5ab09b(_0x69cf4f)+'_'+_0x5ab09b(_0x4d776e);}function isObject(_0x1a88ea){const _0x253327={_0x45cd0e:0x151,_0x3dae23:0x1e4,_0x31e11a:0x21f},_0x52fe99={_0x279dcc:0x2e,_0x5aacf3:0x11a,_0x19afbb:0xf5},_0x527377={_0x414ff4:0x30,_0x46e2ab:0x114};function _0x338a9a(_0x2e48cb,_0x52b8c9,_0x149f29,_0x1c07c0){return _0x28bc81(_0x2e48cb-_0x527377._0x414ff4,_0x52b8c9-0x46,_0x2e48cb- -_0x527377._0x46e2ab,_0x149f29);}function _0x20e1e9(_0x21af92,_0x257747,_0x292097,_0xb1b34a){return _0x28bc81(_0x21af92-_0x52fe99._0x279dcc,_0x257747-_0x52fe99._0x5aacf3,_0x21af92- -_0x52fe99._0x19afbb,_0x292097);}return typeof _0x1a88ea===_0x338a9a(_0x253327._0x45cd0e,_0x253327._0x3dae23,0x92,-0xaf)&&_0x1a88ea!==null&&!Array[_0x20e1e9(0x14f,-0xb4,0x2eb,_0x253327._0x31e11a)](_0x1a88ea);}function toSupportedSchema(_0x4fbabb){const _0x4009ab={_0x4bbf70:0x5a0,_0x492469:0x3c6,_0x35c1dc:0x1ad,_0x3cb7a1:0x675,_0x5f3e64:0x543,_0x402ba1:0x5cb,_0xa34b79:0x6de,_0x5e9c6b:0x515,_0x539b9e:0x46b,_0x4fcca5:0x720,_0x419e62:0x6c9,_0x4d2c90:0x378,_0x4aa11d:0x20e,_0x7450b6:0x3d5,_0x2bbc7e:0x668,_0x5b8bb5:0x43b,_0x2691fc:0x517,_0x17f602:0x358,_0xbbac56:0x51a,_0x94fd48:0x3b9,_0xb5e630:0x33c,_0x27abe2:0x284,_0x27cd63:0x3ca,_0x38deca:0x1cb,_0x531b38:0x4a2},_0xd7b5ca={_0x95d0a4:0x19c};if(!isObject(_0x4fbabb))return void 0x0;if(_0x4fbabb['type']===_0x41aa6a(0x5d7,0x64a,0x474,_0x4009ab._0x4bbf70))return{'type':_0xa2507b(0x496,_0x4009ab._0x492469,_0x4009ab._0x35c1dc,0x334)};function _0x41aa6a(_0x5eb442,_0x15f64d,_0x1cad10,_0x2e47c4){return _0x28bc81(_0x5eb442-0xa1,_0x15f64d-_0xd7b5ca._0x95d0a4,_0x1cad10-0x1de,_0x2e47c4);}if(_0x4fbabb['type']===_0x41aa6a(_0x4009ab._0x3cb7a1,_0x4009ab._0x5f3e64,0x5fe,0x504)||_0x4fbabb[_0x41aa6a(_0x4009ab._0x402ba1,_0x4009ab._0xa34b79,_0x4009ab._0x5e9c6b,_0x4009ab._0x539b9e)]==='integer')return{'type':_0x41aa6a(_0x4009ab._0x4fcca5,0x410,0x5fe,_0x4009ab._0x419e62)};function _0xa2507b(_0x4c4301,_0x32da6d,_0xcbb0d9,_0x40a744){return _0x5b2413(_0x4c4301-0x150,_0x32da6d-0x1aa,_0x40a744- -0x301,_0x32da6d);}if(_0x4fbabb[_0xa2507b(_0x4009ab._0x4d2c90,_0x4009ab._0x4aa11d,0x4f7,_0x4009ab._0x7450b6)]===_0xa2507b(0x3a3,_0x4009ab._0x2bbc7e,0x441,0x5c2))return{'type':'boolean'};if(_0x4fbabb[_0x41aa6a(0x603,_0x4009ab._0x5b8bb5,_0x4009ab._0x5e9c6b,_0x4009ab._0x2691fc)]===_0xa2507b(_0x4009ab._0x17f602,_0x4009ab._0xbbac56,_0x4009ab._0x94fd48,0x398))return{'type':_0xa2507b(0x47a,_0x4009ab._0xb5e630,0x4f7,0x398),'items':toSupportedSchema(_0x4fbabb['items'])??{'type':_0xa2507b(0x1ff,_0x4009ab._0x27abe2,_0x4009ab._0x27cd63,0x334)}};if(_0x4fbabb[_0xa2507b(0x5e0,_0x4009ab._0x38deca,_0x4009ab._0x531b38,_0x4009ab._0x7450b6)]==='object')return toNuvinToolSchema(_0x4fbabb);return void 0x0;}function toNuvinToolSchema(_0x5a1b17){const _0x3470c5={_0x224e39:0x35f,_0x4408aa:0x13b,_0x5f539a:0x93,_0x31eb39:0xa2,_0xe1f386:0x18a,_0x218ec3:0x93,_0x1df685:0x2b4,_0x2a4493:0x180,_0x3baccf:0x28d,_0x5a62c0:0x216,_0x41c50e:0xb2,_0xa4b206:0x2dd},_0x30aad9={_0x13d054:0xc0,_0x529f20:0x13f},_0x594fd1={_0x53f074:0x47,_0x19918a:0x571};function _0x40d5db(_0x587c2d,_0x28bf21,_0x1576fb,_0x10c988){return _0x5b2413(_0x587c2d-0xe0,_0x28bf21-_0x594fd1._0x53f074,_0x1576fb- -_0x594fd1._0x19918a,_0x587c2d);}if(!isObject(_0x5a1b17)||_0x5a1b17[_0x40d5db(-0x43,0x328,0x165,_0x3470c5._0x224e39)]!==_0x40d5db(_0x3470c5._0x4408aa,0x219,_0x3470c5._0x5f539a,-_0x3470c5._0x31eb39))return{'type':_0x40d5db(_0x3470c5._0xe1f386,-0xd6,_0x3470c5._0x218ec3,_0x3470c5._0x1df685),'properties':{}};const _0x37d734={};function _0x109e91(_0xe674ef,_0x4c1b60,_0x487aaf,_0x3f1785){return _0x28bc81(_0xe674ef-_0x30aad9._0x13d054,_0x4c1b60-_0x30aad9._0x529f20,_0x487aaf- -0x3a8,_0x4c1b60);}const _0x5e386c=isObject(_0x5a1b17[_0x40d5db(0x35e,0x16c,0x320,_0x3470c5._0x2a4493)])?_0x5a1b17['properties']:{};for(const [_0x8e774b,_0xc468a4]of Object[_0x109e91(0xeb,-0x11b,-0xf8,0x18)](_0x5e386c)){const _0x597786=toSupportedSchema(_0xc468a4);if(_0x597786)_0x37d734[_0x8e774b]=_0x597786;}const _0x1e2768=Array['isArray'](_0x5a1b17['required'])?_0x5a1b17['required'][_0x109e91(_0x3470c5._0x3baccf,-0x11a,0xdd,0x1e3)](_0x1cb38a=>typeof _0x1cb38a===_0x109e91(0x38,-0x31,-0x112,-0x130)):void 0x0;return _0x1e2768?.['length']?{'type':_0x40d5db(_0x3470c5._0x5a62c0,0x58,0x93,0x288),'properties':_0x37d734,'required':_0x1e2768}:{'type':_0x109e91(_0x3470c5._0x41c50e,-_0x3470c5._0xa4b206,-0x143,-0x2c4),'properties':_0x37d734};}function isJsonObject(_0x3b4472){const _0x4febbc={_0x153f3a:0x4fe},_0x3b6afd={_0x3f40a1:0x21,_0x413d88:0x31f};function _0xfa03a8(_0x47212e,_0x19f1d9,_0x4a3202,_0x26cff9){return _0x28bc81(_0x47212e-0x8e,_0x19f1d9-_0x3b6afd._0x3f40a1,_0x26cff9-_0x3b6afd._0x413d88,_0x19f1d9);}return typeof _0x3b4472===_0xfa03a8(_0x4febbc._0x153f3a,0x4b3,0x49b,0x584)&&_0x3b4472!==null&&!Array['isArray'](_0x3b4472);}function formatMcpContent(_0x3e5e37){const _0x5b70bd={_0x5332c3:0x59a,_0x2ca22d:0x628,_0x2ace0c:0x296,_0x2c1b55:0x358,_0x20006d:0x15a,_0x9bfa21:0x39e,_0x1aced7:0x30f,_0x589a23:0x472,_0x17033b:0x27d,_0x3cc918:0x4e3,_0x3c3c66:0x3be,_0x3a40e5:0x48f},_0x35b08d={_0x41bab6:0x989,_0x18f245:0x6b7,_0x1a72dd:0x7f3,_0x1c6f4a:0x4c8,_0x57df7d:0x506,_0x4f984f:0x663,_0x1da76b:0x6c9,_0x16fee8:0x847,_0x54aa14:0xad8,_0x5f5b4f:0x8e2},_0x26c416={_0x10c0a9:0x151},_0x186758={_0x15dcfc:0x10e,_0x10828b:0x2cb},_0x5bddd5={_0x58af5c:0xfa},_0x4c3dba=Array[_0x528f9c(0x3d6,_0x5b70bd._0x5332c3,_0x5b70bd._0x2ca22d,0x50f)](_0x3e5e37['content'])?_0x3e5e37[_0x4e51d7(_0x5b70bd._0x2ace0c,_0x5b70bd._0x2c1b55,0x303,_0x5b70bd._0x20006d)]:[];function _0x4e51d7(_0x270f0f,_0x33d6bf,_0x136c20,_0x538e5d){return _0x5b2413(_0x270f0f-_0x5bddd5._0x58af5c,_0x33d6bf-0x109,_0x33d6bf- -0x515,_0x270f0f);}function _0x528f9c(_0x3f72f3,_0x46f974,_0x51f0f5,_0x2c49c8){return _0x28bc81(_0x3f72f3-0x189,_0x46f974-_0x186758._0x15dcfc,_0x2c49c8-_0x186758._0x10828b,_0x51f0f5);}const _0x356ac1=_0x4c3dba[_0x528f9c(0x690,0x6db,0xa5b,0x89c)](_0x489b8a=>{const _0x4c0a39={_0x5b712e:0xc4};function _0x2dc21c(_0x3fc47e,_0x250e9f,_0x4a9c01,_0x3f3f1d){return _0x528f9c(_0x3fc47e-_0x26c416._0x10c0a9,_0x250e9f-0x107,_0x250e9f,_0x4a9c01-0x102);}function _0x220429(_0x2799e3,_0x459b63,_0x3a3d29,_0x4fa829){return _0x528f9c(_0x2799e3-0xd9,_0x459b63-_0x4c0a39._0x5b712e,_0x2799e3,_0x4fa829-0xe3);}if(!isObject(_0x489b8a))return'';if(_0x489b8a['type']==='text'&&typeof _0x489b8a[_0x2dc21c(_0x35b08d._0x41bab6,_0x35b08d._0x18f245,_0x35b08d._0x1a72dd,0x938)]===_0x2dc21c(_0x35b08d._0x1c6f4a,_0x35b08d._0x57df7d,_0x35b08d._0x4f984f,0x5a3))return _0x489b8a[_0x220429(0x622,0x7e1,_0x35b08d._0x1da76b,0x7d4)];return JSON[_0x220429(_0x35b08d._0x16fee8,0x6cd,_0x35b08d._0x54aa14,_0x35b08d._0x5f5b4f)](_0x489b8a);})[_0x4e51d7(_0x5b70bd._0x9bfa21,_0x5b70bd._0x1aced7,_0x5b70bd._0x589a23,_0x5b70bd._0x17033b)](_0x1d5d64=>_0x1d5d64[_0x4e51d7(0x25f,0x3d3,0x2bc,0x51a)]>0x0)['join']('\x0a');if(_0x356ac1['length']>0x0)return _0x356ac1;return JSON[_0x4e51d7(_0x5b70bd._0x3cc918,_0x5b70bd._0x3c3c66,0x4a8,_0x5b70bd._0x3a40e5)](_0x3e5e37,null,0x2);}function createMcpTool(_0x348de6){const _0xd957a8={_0x15aecc:0x26e,_0x51d17f:0x754,_0x4495bc:0x834,_0x4afebe:0x6be,_0x4e2e78:0x6b1,_0x577dc1:0x7d6,_0x13a915:0x8be,_0x452594:0x6e7,_0x68f9fc:0x949,_0x44dae6:0x7b0,_0x42f6db:0x2f1,_0x5f45e9:0x65e,_0x1b9207:0x58b,_0x351fb4:0x60c,_0x15bbb0:0x6d0,_0x41c7b1:0x621,_0x953355:0x7cf,_0x5970ea:0x754,_0x4e8d4e:0x929,_0x1e72dd:0x6d5,_0x4e3f05:0x340,_0x11b176:0x2b9,_0x5de2ef:0x1da,_0x5ae0ee:0x4f6,_0x4aa480:0x7cc,_0x22643b:0x6ad,_0x5321c0:0x7c4},_0xaa3cd6={_0x276126:0x534,_0xb5f0c1:0x589,_0x590bd6:0x700,_0x2d024e:0x7b6,_0x1d8679:0x380,_0x4b9a93:0x5c1,_0x5800c3:0x75c,_0x59a0f1:0x413,_0x253d27:0x6a7,_0x2dbbcc:0x75a,_0x2f63bf:0x559},_0x238e8d={_0x170178:0xd7,_0x29e0ba:0x1b5},_0x4768c4={_0x1e6adb:0x1e3,_0x46f662:0x2e8},_0x5e0ab3={_0x126a2d:0xae,_0x2d70d5:0x164};function _0x3ad97a(_0x1e7e0d,_0x506025,_0x520441,_0x17060b){return _0x5b2413(_0x1e7e0d-0x105,_0x506025-_0x5e0ab3._0x126a2d,_0x1e7e0d- -_0x5e0ab3._0x2d70d5,_0x506025);}function _0x5f090b(_0x101132,_0x1ca1fc,_0xd57175,_0x2da11b){return _0x5b2413(_0x101132-_0x4768c4._0x1e6adb,_0x1ca1fc-0xd3,_0xd57175- -_0x4768c4._0x46f662,_0x101132);}const _0x53a9dc=createMcpToolName(_0x348de6[_0x5f090b(0x2e0,_0xd957a8._0x15aecc,0x438,0x236)],_0x348de6[_0x3ad97a(_0xd957a8._0x51d17f,_0xd957a8._0x4495bc,0x58e,_0xd957a8._0x4afebe)][_0x3ad97a(_0xd957a8._0x4e2e78,0x4a8,_0xd957a8._0x577dc1,_0xd957a8._0x13a915)]);return defineTool({'name':_0x53a9dc,'permissionClass':_0x348de6[_0x3ad97a(0x764,_0xd957a8._0x452594,_0xd957a8._0x68f9fc,0x90e)],..._0x348de6[_0x3ad97a(0x66c,0x463,0x4b8,_0xd957a8._0x44dae6)]!==void 0x0?{'internalLifecycle':_0x348de6[_0x5f090b(_0xd957a8._0x42f6db,_0xd957a8._0x5f45e9,0x4e8,_0xd957a8._0x1b9207)]}:{},'description':_0x348de6[_0x5f090b(0x735,_0xd957a8._0x351fb4,0x5d0,0x7c5)]['description']??_0x3ad97a(0x7d6,_0xd957a8._0x15bbb0,_0xd957a8._0x41c7b1,_0xd957a8._0x953355)+_0x348de6[_0x3ad97a(_0xd957a8._0x5970ea,_0xd957a8._0x4e8d4e,0x7f9,0x556)][_0x3ad97a(_0xd957a8._0x4e2e78,0x53b,0x71b,_0xd957a8._0x1e72dd)]+_0x5f090b(_0xd957a8._0x4e3f05,0x213,_0xd957a8._0x11b176,_0xd957a8._0x5de2ef)+_0x348de6['serverName'],'inputSchema':toNuvinToolSchema(_0x348de6[_0x5f090b(0x52a,_0xd957a8._0x5ae0ee,0x5d0,_0xd957a8._0x4aa480)][_0x3ad97a(_0xd957a8._0x22643b,0x689,0x899,_0xd957a8._0x5321c0)]),async *'execute'(_0x3d1db5){const _0x49944a={_0x1237fe:0x189,_0x24002a:0xe1};function _0x477567(_0x19a91f,_0x1a0b3f,_0x42fe72,_0x4fdbe6){return _0x5f090b(_0x1a0b3f,_0x1a0b3f-0x184,_0x19a91f-_0x49944a._0x1237fe,_0x4fdbe6-_0x49944a._0x24002a);}let _0xedf7af;try{_0xedf7af=await _0x348de6['client'][_0x477567(0x490,0x60f,_0xaa3cd6._0x276126,_0xaa3cd6._0xb5f0c1)]({'name':_0x348de6['tool'][_0x561d4d(0x6da,_0xaa3cd6._0x590bd6,0x716,0x737)],'arguments':isJsonObject(_0x3d1db5)?_0x3d1db5:{}});if(_0xedf7af[_0x477567(0x5a3,_0xaa3cd6._0x2d024e,0x6d7,_0xaa3cd6._0x1d8679)])throw toMcpSafeError({'serverName':_0x348de6[_0x477567(_0xaa3cd6._0x4b9a93,_0xaa3cd6._0x5800c3,0x6c5,_0xaa3cd6._0x59a0f1)],'operation':'toolCall','error':_0xedf7af});}catch(_0x1eb4a2){throw extractOwnedMcpSafeError(_0x1eb4a2)??toMcpSafeError({'serverName':_0x348de6['serverName'],'operation':_0x561d4d(0x68b,0x4b2,_0xaa3cd6._0x253d27,0x325),'error':_0x1eb4a2});}function _0x561d4d(_0x3f64f7,_0x1cea49,_0x420e8b,_0x10f093){return _0x5f090b(_0x3f64f7,_0x1cea49-_0x238e8d._0x170178,_0x1cea49-0x1d3,_0x10f093-_0x238e8d._0x29e0ba);}return yield createToolOutput(formatMcpContent(_0xedf7af),{'serverName':_0x348de6['serverName'],'toolName':_0x348de6[_0x477567(0x759,0x69f,_0xaa3cd6._0x2dbbcc,_0xaa3cd6._0x2f63bf)]['name'],'result':_0xedf7af}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x35ae77){let _0x2eec90=_0x35ae77;return{'get'(){return _0x2eec90;},'set'(_0x5cb4cd){_0x2eec90=_0x5cb4cd;}};}function resolveMcpTimeoutMs(_0x54e611,_0x2b97db){const _0xd1eeda={_0x1dcb7f:0x3eb};function _0x27204f(_0x1b403c,_0x69bad4,_0x4c3916,_0x2e8a24){return _0x5b2413(_0x1b403c-0xb1,_0x69bad4-0x105,_0x2e8a24- -0x475,_0x69bad4);}return _0x54e611[_0x27204f(0x445,0x2b4,0x298,_0xd1eeda._0x1dcb7f)]??_0x2b97db??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x4a5ecf,_0x567432){const _0x4ebd44={_0x4c7afd:0x50c,_0x58e7ca:0x322},_0x25cd92={_0x3a503d:0x1a6};function _0xebb0f6(_0x49b3b0,_0x1060e6,_0x21928b,_0xccc827){return _0x5b2413(_0x49b3b0-0x123,_0x1060e6-_0x25cd92._0x3a503d,_0x49b3b0- -0x26b,_0xccc827);}return(_0x567432?extractOwnedMcpSafeError(_0x4a5ecf[_0xebb0f6(_0x4ebd44._0x4c7afd,0x3b6,_0x4ebd44._0x58e7ca,0x3df)]):void 0x0)??createOwnedMcpSafeError(_0x4a5ecf);}function createMcpGenerationLifecycle(_0x4e8aab){const _0x226b89={_0x1f9347:0x3b5,_0x1ffcb9:0x160},_0x3f23b7={_0x3bd8b1:0x145,_0x106f2b:0x82,_0x5d9d34:0x5,_0x5d52e4:0x1d3,_0x4bef08:0x342};let _0x414060=0x0,_0x1fdba1=![],_0x143190=![],_0xd805dd,_0x27b688,_0x184fb9;const _0x323b57=()=>{if(!_0x1fdba1||_0x414060!==0x0||_0x143190)return;function _0x44ed2d(_0x5de057,_0x311afa,_0x452433,_0x33835e){return _0x8662(_0x33835e- -0xbe,_0x5de057);}function _0x36d0eb(_0x53228b,_0x7ed101,_0x56ebde,_0x4d3aa5){return _0x8662(_0x53228b- -0x3c7,_0x56ebde);}_0x143190=!![],void Promise[_0x36d0eb(-_0x3f23b7._0x3bd8b1,-_0x3f23b7._0x106f2b,-_0x3f23b7._0x5d9d34,-_0x3f23b7._0x5d52e4)]()['then'](_0x4e8aab)[_0x44ed2d(0x525,0x1a9,_0x3f23b7._0x4bef08,0x371)](_0x27b688,_0x184fb9);};return{'acquire'(){if(_0x1fdba1)throw new Error(_0x588b65(0x21d,_0x226b89._0x1f9347,_0x226b89._0x1ffcb9,0x262));_0x414060+=0x1;function _0x588b65(_0x83c13e,_0x209949,_0x2e9a67,_0x42268c){return _0x8662(_0x83c13e- -0x308,_0x2e9a67);}let _0x17dac3=![];return()=>{if(_0x17dac3)return;_0x17dac3=!![],_0x414060-=0x1,_0x323b57();};},'retire'(){return!_0xd805dd&&(_0xd805dd=new Promise((_0x30a370,_0x39c4f5)=>{_0x27b688=_0x30a370,_0x184fb9=_0x39c4f5;})),_0x1fdba1=!![],_0x323b57(),_0xd805dd;}};}function buildMcpHttpHeaders(_0x5910e1){const _0x3fafe7={_0x53832d:0x366,_0xf9fece:0x428,_0x9020cc:0x26a,_0x35d1e9:0x2f7,_0x19d419:0x242,_0x5a88bc:0x3b7,_0x979d0d:0x405,_0x3e6d8e:0x50b,_0x597cb6:0x7c1,_0xa945d8:0x34a,_0x4766a4:0x50e,_0x46a310:0x547,_0x44607b:0x5b3,_0x266d8e:0x228,_0x4aa630:0x47c,_0xc75c0a:0x4d4,_0xcdc4c:0x3bc},_0x3ec4a5={_0x4cd95f:0x1b,_0x3697c2:0x43},_0x17626d={..._0x5910e1['headers']??{}};function _0x354f54(_0x243ccc,_0x138c83,_0x1e3d20,_0x317e6){return _0x28bc81(_0x243ccc-_0x3ec4a5._0x4cd95f,_0x138c83-_0x3ec4a5._0x3697c2,_0x317e6- -0x18d,_0x1e3d20);}_0x5910e1[_0x354f54(_0x3fafe7._0x53832d,_0x3fafe7._0xf9fece,_0x3fafe7._0x9020cc,_0x3fafe7._0x35d1e9)]?.[_0x354f54(0xfa,_0x3fafe7._0x19d419,_0x3fafe7._0x5a88bc,0x1aa)]===_0x15d7ae(_0x3fafe7._0x979d0d,_0x3fafe7._0x3e6d8e,0x5d0,_0x3fafe7._0x597cb6)&&_0x5910e1['auth'][_0x15d7ae(_0x3fafe7._0xa945d8,0x298,0x3da,0x387)]&&_0x17626d[_0x15d7ae(_0x3fafe7._0x4766a4,0x721,0x5b3,0x405)]===void 0x0&&(_0x17626d[_0x15d7ae(_0x3fafe7._0x46a310,0x444,_0x3fafe7._0x44607b,0x723)]='Bearer\x20'+_0x5910e1['auth'][_0x354f54(_0x3fafe7._0x266d8e,-0xa5,-0x128,0x48)]);function _0x15d7ae(_0x1b4ab5,_0x32da6f,_0x17e152,_0x3eabe0){return _0x28bc81(_0x1b4ab5-0xb2,_0x32da6f-0x7a,_0x17e152-0x205,_0x32da6f);}return Object[_0x15d7ae(0x525,0x2ac,_0x3fafe7._0x4aa630,0x518)](_0x17626d)[_0x354f54(0x1a4,_0x3fafe7._0xc75c0a,0x3c1,_0x3fafe7._0xcdc4c)]>0x0?_0x17626d:void 0x0;}async function connectMcpServer(_0x5a593c,_0x1aa968,_0x3f42b2){const _0x37b540={_0x5726d7:0x455,_0x23e5f2:0x28a,_0x7bc3df:0x11b,_0x31f594:0x571,_0x50fdfa:0x38f,_0x5d783e:0x2c4,_0x24ace6:0x369,_0x3debda:0x27e,_0x3ea8f1:0x534,_0x4cbff0:0x38b,_0x552c68:0x57e,_0x5b0e35:0x544,_0x4615d5:0x568,_0x5662e3:0x6f8,_0x5ad24c:0x54b,_0x18d024:0x5dd,_0x148d8a:0x379,_0x5e404e:0x509,_0x288f48:0x54c,_0x261a89:0x36b,_0x217761:0x4e0,_0xdf8bf6:0x55e,_0x540b0c:0x55b,_0x1c1740:0x4ce,_0x24c7c7:0x386,_0x325f4f:0x544,_0x5f54b0:0x2e3,_0xef3638:0x5d5,_0x51d20f:0x419,_0x1467a7:0x393,_0x67466:0x50c,_0xde79dc:0x3c9,_0x568af6:0x6a7,_0x4e9389:0x485,_0x56c96a:0xe0,_0x573ecb:0x35b,_0x15a5a9:0x3f6,_0x436851:0x3ed,_0x4911da:0x3a7,_0xc0668a:0x48b,_0x1b39d8:0x6fa,_0x27c67e:0x22b,_0x40ceeb:0x428,_0x4c322d:0x531,_0x10998c:0x3a3,_0x44bb29:0x47a,_0x598c1f:0x429,_0x2617c6:0x71f,_0x522387:0x41f,_0x2d3f58:0x6b0,_0x1b59ab:0x5b6,_0x3bb087:0x24e,_0x1a730c:0x44e,_0x54b94a:0x46d,_0x5d1560:0xc4,_0x18c8e3:0x3c7,_0x1fbf9f:0x45a},_0x24c51c={_0x33fb27:0x2fc,_0x5cce50:0x314,_0x24c274:0x71a,_0x3aacb5:0x851,_0xa9fdc:0x69c},_0x1b26da={_0x492132:0xf7,_0x171ec8:0x1d1},_0x546400={_0x4ec3c2:0x2da,_0x148462:0x1ca,_0x4113b8:0x33e,_0x46ff0f:0x10e,_0x59fb7b:0x480,_0x4e277b:0x9ba,_0x3e1bf3:0x978,_0x544fb3:0x597,_0x496b83:0x60f},_0x493970={_0x284e42:0x18d},_0xa7ae75={_0x7deb29:0x451},_0x19fa12={_0x25081c:0x4ea},_0x26c7c1={_0x3abcef:0xda,_0x1f5977:0xb6},_0x43864f={_0x36bb72:0x1b4,_0xb8ccc6:0x304,_0xbdf0cf:0x37,_0x625b58:0x377,_0x350e51:0x433,_0x445abc:0xca,_0x1f394:0xd0,_0x58ad67:0x133},_0x286aa8={_0x348263:0x1d4,_0x2ce012:0x125,_0x12f5af:0x275},_0x16b242={_0xcbb3d3:0xab,_0x515caa:0xec,_0x4e9044:0x6a},_0x33bdb0={_0x3aa71c:0x65},_0x408479={_0x27969c:0x46},_0x536c00={_0x3be10d:0x2b6,_0x2aae97:0x1d0},_0x5c58c5={_0x129f0d:0x1ce},_0x594a96={_0x11c6ca:0x17e,_0x31d904:0x92},_0x4aaf07=new Client({'name':_0xcd2cbf(_0x37b540._0x5726d7,0x242,_0x37b540._0x23e5f2,_0x37b540._0x7bc3df),'version':_0xcd2cbf(_0x37b540._0x31f594,0x34d,_0x37b540._0x50fdfa,_0x37b540._0x5d783e)}),_0x4b96ac=_0x3f42b2?.[_0xcd2cbf(0x2ca,0x3d6,_0x37b540._0x24ace6,_0x37b540._0x3debda)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x5d2561=new Set();let _0x1599d8,_0x499601=![];function _0x48fe60(_0xd912a3,_0x3f53a5,_0x1a6508,_0x51dc68){return _0x5b2413(_0xd912a3-_0x594a96._0x11c6ca,_0x3f53a5-_0x594a96._0x31d904,_0x51dc68- -0x343,_0x1a6508);}const _0x4d0654=()=>{if(_0x499601||_0x1599d8)return;_0x1599d8={'code':_0x56339d(_0x536c00._0x3be10d,_0x536c00._0x2aae97,0x494,0x9d),'cause':new Error('MCP\x20transport\x20closed\x20unexpectedly')};function _0x56339d(_0x44b1bd,_0x305102,_0x40cdab,_0x574c90){return _0x48fe60(_0x44b1bd-_0x5c58c5._0x129f0d,_0x305102-0x195,_0x305102,_0x44b1bd- -0x11f);}for(const _0x4c22f5 of _0x5d2561){try{_0x4c22f5(_0x1599d8);}catch{}}};_0x4aaf07[_0x48fe60(0x1bd,0x24e,_0x37b540._0x3ea8f1,_0x37b540._0x4cbff0)]=()=>{const _0x479b2d={_0x52efbe:0x4b,_0x122a95:0x127,_0x24dd0c:0x2d};function _0x2206e9(_0x4153ac,_0x5ba117,_0x3ac764,_0x92b15f){return _0x48fe60(_0x4153ac-0x91,_0x5ba117-0x7f,_0x4153ac,_0x3ac764-_0x408479._0x27969c);}function _0x536ad3(_0x349c62,_0x4ba4c1,_0x30554f,_0x5406c7){return _0x48fe60(_0x349c62-_0x479b2d._0x52efbe,_0x4ba4c1-_0x479b2d._0x122a95,_0x30554f,_0x5406c7-_0x479b2d._0x24dd0c);}console['warn'](_0x2206e9(0x523,0x454,0x582,0x699),{'server':_0x5a593c,'code':_0x536ad3(0xa8,0x3fb,_0x33bdb0._0x3aa71c,0x277)});},_0x4aaf07[_0xcd2cbf(0x3cb,_0x37b540._0x552c68,_0x37b540._0x5b0e35,0x3a8)]=_0x4d0654;try{if(_0x1aa968['transport']==='http'||_0x1aa968[_0x48fe60(_0x37b540._0x4615d5,_0x37b540._0x5662e3,0x59d,_0x37b540._0x5ad24c)]){if(!_0x1aa968[_0x48fe60(0x742,0x464,_0x37b540._0x18d024,0x54b)])throw new Error(_0x48fe60(0x368,_0x37b540._0x148d8a,_0x37b540._0x5e404e,_0x37b540._0x288f48)+_0x5a593c+_0xcd2cbf(0x4b8,0x3b0,0x46c,_0x37b540._0x261a89));if(_0x1aa968[_0x48fe60(0x38c,0x683,0x502,_0x37b540._0x217761)]?.[_0x48fe60(0x2c3,0x58c,0x1c8,0x393)]===_0x48fe60(_0x37b540._0xdf8bf6,_0x37b540._0x540b0c,_0x37b540._0x1c1740,0x485)&&!_0x3f42b2?.['oauth'])throw new Error(_0x48fe60(0x6f5,_0x37b540._0x24c7c7,0x6e9,0x54c)+_0x5a593c+_0xcd2cbf(_0x37b540._0x325f4f,0x4d5,0x422,_0x37b540._0x5f54b0));const _0xe58509=buildMcpHttpHeaders(_0x1aa968),_0x3ebf7a=_0x1aa968[_0x48fe60(0x358,0x2fd,_0x37b540._0xef3638,0x4e0)]?.[_0x48fe60(0x523,_0x37b540._0x51d20f,0x4a8,_0x37b540._0x1467a7)]===_0x48fe60(_0x37b540._0x67466,_0x37b540._0xde79dc,0x47e,0x485)&&_0x3f42b2?.['oauth']?createMcpOAuthProvider({'serverName':_0x5a593c,'callbackUrl':_0x3f42b2[_0x48fe60(0x680,_0x37b540._0x568af6,0x294,_0x37b540._0x4e9389)][_0xcd2cbf(_0x37b540._0x56c96a,0x2b6,0x2f0,0x1fc)],'storageDir':_0x3f42b2[_0x48fe60(_0x37b540._0x573ecb,_0x37b540._0x15a5a9,_0x37b540._0x436851,0x485)][_0x48fe60(0x13b,_0x37b540._0x4911da,0x2ef,0x316)],'config':_0x1aa968['auth'],'onRedirect':_0x58dc27=>_0x3f42b2[_0x48fe60(0x354,0x5c9,0x69f,0x485)]?.[_0x48fe60(0x55d,0x458,0x5eb,0x517)](_0x5a593c,_0x58dc27)}):void 0x0,_0x3601a1=new StreamableHTTPClientTransport(new URL(_0x1aa968[_0x48fe60(_0x37b540._0xc0668a,0x50f,_0x37b540._0x1b39d8,_0x37b540._0x5ad24c)]),{'authProvider':_0x3ebf7a,'requestInit':_0xe58509?{'headers':_0xe58509}:void 0x0});await _0x4aaf07[_0xcd2cbf(_0x37b540._0x27c67e,0xab,0x24b,_0x37b540._0x40ceeb)](_0x3601a1,{'timeout':_0x4b96ac[_0xcd2cbf(_0x37b540._0x4c322d,0x3df,0x527,_0x37b540._0x10998c)](),..._0x3f42b2?.[_0x48fe60(0x3ae,_0x37b540._0x44bb29,0x615,_0x37b540._0x598c1f)]!==void 0x0?{'signal':_0x3f42b2['signal']}:{}});}else{if(!_0x1aa968[_0x48fe60(0x5c0,0x468,_0x37b540._0x2617c6,0x604)])throw new Error('MCP\x20server\x20'+_0x5a593c+_0x48fe60(_0x37b540._0x522387,_0x37b540._0x2d3f58,0x5fa,_0x37b540._0x1b59ab));const _0xd56296=new StdioClientTransport({'command':_0x1aa968['command'],'args':_0x1aa968[_0xcd2cbf(_0x37b540._0x3bb087,_0x37b540._0x1a730c,0x324,0x182)]??[],'env':_0x1aa968[_0xcd2cbf(_0x37b540._0x54b94a,0x3a1,0x264,_0x37b540._0x5d1560)],'stderr':'pipe'});await _0x4aaf07['connect'](_0xd56296,{'timeout':_0x4b96ac['get'](),..._0x3f42b2?.[_0xcd2cbf(_0x37b540._0x18c8e3,_0x37b540._0x1fbf9f,0x363,0x2f1)]!==void 0x0?{'signal':_0x3f42b2[_0x48fe60(0x280,_0x37b540._0x598c1f,0x37d,0x429)]}:{}});}}catch(_0x2281a1){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':'connect','error':_0x2281a1});}function _0xcd2cbf(_0x3abb6f,_0x293261,_0x3f1d8c,_0x2c4df3){return _0x28bc81(_0x3abb6f-_0x16b242._0xcbb3d3,_0x293261-_0x16b242._0x515caa,_0x3f1d8c- -_0x16b242._0x4e9044,_0x3abb6f);}return{async 'listTools'(_0x2376ff){const _0x3762cb={_0xedfc10:0x171,_0x1eb962:0x9c,_0x59e297:0x10d},_0x911fbf=_0x2376ff?.[_0xd0734e(_0x43864f._0x36bb72,_0x43864f._0xb8ccc6,_0x43864f._0xbdf0cf,-0x52)]??_0x3f42b2?.[_0x23d4f1(_0x43864f._0x625b58,_0x43864f._0x350e51,0x398,0x3ff)];function _0x23d4f1(_0x31e1ac,_0xa482f9,_0x1be73d,_0x2e68a7){return _0xcd2cbf(_0x31e1ac,_0xa482f9-_0x3762cb._0xedfc10,_0x2e68a7-_0x3762cb._0x1eb962,_0x2e68a7-_0x3762cb._0x59e297);}function _0xd0734e(_0x4ef929,_0xe6e30,_0x233751,_0x3b5637){return _0x48fe60(_0x4ef929-_0x286aa8._0x348263,_0xe6e30-_0x286aa8._0x2ce012,_0x233751,_0x4ef929- -_0x286aa8._0x12f5af);}try{return await _0x4aaf07['listTools'](void 0x0,{'timeout':_0x4b96ac['get'](),..._0x911fbf!==void 0x0?{'signal':_0x911fbf}:{}});}catch(_0x502652){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':_0xd0734e(_0x43864f._0x445abc,_0x43864f._0x1f394,-_0x43864f._0x58ad67,0x2b4),'error':_0x502652});}},'onTerminalError'(_0x45895d){const _0x2007dc={_0x5c8a9b:0x145,_0x1c00c5:0xed,_0x2d7097:0x9b},_0x52ceb9={_0x2fb571:0x3b6,_0x53eb72:0x4ca},_0x478c12={_0x1e127b:0xb2};function _0x231dcf(_0x5c0099,_0x172529,_0x438f51,_0x55564e){return _0x48fe60(_0x5c0099-0xa5,_0x172529-_0x26c7c1._0x3abcef,_0x438f51,_0x172529-_0x26c7c1._0x1f5977);}_0x5d2561[_0x231dcf(_0x19fa12._0x25081c,0x37d,0x195,0x37e)](_0x45895d);const _0x37005f=_0x1599d8;_0x37005f&&queueMicrotask(()=>{function _0x20f767(_0x8aef91,_0x4ec8ec,_0x38e8c7,_0x21f601){return _0x231dcf(_0x8aef91-_0x478c12._0x1e127b,_0x21f601- -0x5c,_0x4ec8ec,_0x21f601-0x174);}if(_0x5d2561[_0x20f767(_0x52ceb9._0x2fb571,0x5e0,_0x52ceb9._0x53eb72,0x3c1)](_0x45895d))_0x45895d(_0x37005f);});function _0x154bf2(_0xae0ac5,_0x34b9ce,_0x4a65b2,_0x3c1c81){return _0x48fe60(_0xae0ac5-_0x2007dc._0x5c8a9b,_0x34b9ce-_0x2007dc._0x1c00c5,_0x34b9ce,_0x3c1c81-_0x2007dc._0x2d7097);}return()=>_0x5d2561[_0x231dcf(0x568,0x618,0x439,0x589)](_0x45895d);},async 'callTool'(_0x59aa3b){function _0x29b73c(_0x1d1921,_0x4f82c1,_0x4b00fd,_0x481dda){return _0xcd2cbf(_0x4f82c1,_0x4f82c1-0x104,_0x481dda-_0xa7ae75._0x7deb29,_0x481dda-0x10b);}function _0x557b83(_0x1d878f,_0x1f8878,_0x3b5827,_0x507fdf){return _0xcd2cbf(_0x507fdf,_0x1f8878-0x4f,_0x3b5827-0x47,_0x507fdf-_0x493970._0x284e42);}try{return await _0x4aaf07[_0x557b83(0x191,_0x546400._0x4ec3c2,_0x546400._0x148462,0x120)]({'method':_0x557b83(_0x546400._0x4113b8,_0x546400._0x46ff0f,0x329,_0x546400._0x59fb7b),'params':_0x59aa3b},CallToolResultSchema,{'timeout':_0x4b96ac[_0x29b73c(0x9e7,0x790,_0x546400._0x4e277b,_0x546400._0x3e1bf3)]()});}catch(_0x114f20){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':_0x29b73c(_0x546400._0x544fb3,0x5f2,0x768,_0x546400._0x496b83),'error':_0x114f20});}},async 'close'(){const _0x165aef={_0x110842:0x185,_0x1df5a7:0x1e1};_0x499601=!![],_0x4aaf07[_0x20dd95(_0x24c51c._0x33fb27,_0x24c51c._0x5cce50,0x20e,0x41d)]=void 0x0,_0x4aaf07[_0x20dd95(0x6a1,_0x24c51c._0x24c274,_0x24c51c._0x3aacb5,_0x24c51c._0xa9fdc)]=void 0x0,_0x5d2561[_0x314b85(0x843,0x862,0x7bc,0x5af)]();function _0x314b85(_0x2c355a,_0x17dc3f,_0x233995,_0x452718){return _0x48fe60(_0x2c355a-_0x1b26da._0x492132,_0x17dc3f-0x45,_0x17dc3f,_0x233995-_0x1b26da._0x171ec8);}function _0x20dd95(_0x2fb08e,_0x44a48a,_0x3e3b50,_0x122b3e){return _0x48fe60(_0x2fb08e-_0x165aef._0x110842,_0x44a48a-_0x165aef._0x1df5a7,_0x3e3b50,_0x122b3e-0x92);}try{await _0x4aaf07['close']();}catch(_0x9a186d){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':'close','error':_0x9a186d});}}};}async function createMcpConnectionGeneration(_0xe9fe53){const _0x479f41={_0x30a942:0x608,_0x479596:0x3f4,_0x32cc99:0x202,_0x467320:0x54e,_0x147ab2:0x3f4,_0x5afbda:0x20d,_0x3dd419:0x5b4,_0x2a51f8:0x676,_0x15091d:0x512,_0x1e6234:0x68e,_0x5eea45:0x6f9,_0x1f1e1e:0x529,_0x5e6826:0x62a,_0x3f9173:0x713,_0x1a60d5:0x62a,_0x1005dc:0x723,_0x48263f:0x480,_0x264b77:0x5de,_0x5b5fbb:0x62b,_0x70bbe9:0x9b9,_0x2e2d5e:0x5bf,_0x5d6cff:0x7bb,_0x56b50c:0x50c,_0xf6d693:0x3bf,_0x3ce9df:0x471,_0x5bfb63:0x49e,_0x1cce6d:0x584,_0x45c999:0x6e0,_0x275fb2:0x540},_0x49df91={_0x377bb4:0x18a,_0x30d184:0x102,_0x64c670:0x1ed},_0x384360={_0xf15869:0x5fb,_0x47cb5c:0x50a,_0x555389:0x298,_0x571264:0x3b3,_0x32d7f5:0x2e9,_0x78fda3:0x4a0},_0x43510b={_0x26afc9:0x129,_0x5ea725:0x104},_0x19b412={_0x35aeba:0x142},_0x5808a4={_0x1b27d6:0x32a,_0x1fbabf:0x2de,_0x2f2a13:0xe8,_0x112704:0x180},_0x4dced2={_0x3d9eaa:0x1e7},_0xf683c9={_0x280b8b:0x748,_0x9b65af:0x5de},_0x127b4b=_0xe9fe53[_0x2aa340(0x253,_0x479f41._0x30a942,_0x479f41._0x479596,_0x479f41._0x32cc99)]??connectMcpServer,_0x5de092=_0xe9fe53[_0x2aa340(_0x479f41._0x467320,0x4a2,_0x479f41._0x147ab2,_0x479f41._0x5afbda)]===void 0x0,_0x359ae7={..._0xe9fe53['connection'],'timeoutSource':_0xe9fe53[_0x2aa340(_0x479f41._0x3dd419,_0x479f41._0x2a51f8,_0x479f41._0x15091d,_0x479f41._0x1e6234)],..._0xe9fe53[_0x3eca72(_0x479f41._0x5eea45,0x7c3,_0x479f41._0x1f1e1e,_0x479f41._0x5e6826)]!==void 0x0?{'signal':_0xe9fe53[_0x3eca72(0x428,0x6eb,_0x479f41._0x3f9173,_0x479f41._0x1a60d5)]}:{}};let _0x34d0e9;try{_0x34d0e9=await _0x127b4b(_0xe9fe53[_0x3eca72(_0x479f41._0x1005dc,0x40e,_0x479f41._0x48263f,_0x479f41._0x264b77)],_0xe9fe53['config'],_0x359ae7);}catch(_0x4fc28e){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53['serverName'],'operation':'connect','error':_0x4fc28e},_0x5de092);}const _0x4b2b1b=new Set();let _0x26cd43;const _0xb50ca6=_0x34d0e9[_0x3eca72(_0x479f41._0x5b5fbb,_0x479f41._0x70bbe9,_0x479f41._0x2e2d5e,_0x479f41._0x5d6cff)]?.(_0x2c9415=>{if(_0x26cd43)return;_0x26cd43=_0x2c9415;for(const _0x126d09 of _0x4b2b1b)_0x126d09(_0x2c9415);});let _0x270a1c=![];const _0x11fa52=()=>{const _0x1676fa={_0x22c17c:0x14b,_0x560d7b:0x10};if(_0x270a1c)return;_0x270a1c=!![];function _0x3c9924(_0x5aa59b,_0x40bf71,_0x3f4997,_0x42864f){return _0x3eca72(_0x5aa59b-_0x1676fa._0x22c17c,_0x40bf71-0x1cc,_0x40bf71,_0x42864f-_0x1676fa._0x560d7b);}_0x4b2b1b[_0x3c9924(0x958,_0xf683c9._0x280b8b,_0xf683c9._0x9b65af,0x7fc)](),_0xb50ca6?.();};let _0x231351;function _0x2aa340(_0x3ff03f,_0x384bbf,_0x2c1df3,_0x1cd7f3){return _0x5b2413(_0x3ff03f-0x5e,_0x384bbf-0x180,_0x2c1df3- -0x260,_0x384bbf);}try{_0x231351=await _0x34d0e9[_0x2aa340(0x369,0x3a9,0x569,0x753)](_0xe9fe53[_0x2aa340(0x52f,0x72e,_0x479f41._0x56b50c,_0x479f41._0xf6d693)]!==void 0x0?{'signal':_0xe9fe53[_0x3eca72(_0x479f41._0x3ce9df,0x447,_0x479f41._0x5bfb63,0x62a)]}:void 0x0);}catch(_0x41ff7d){const _0x253b9d=mapOwnedMcpBoundaryError({'serverName':_0xe9fe53[_0x3eca72(0x46b,0x701,_0x479f41._0x1cce6d,0x5de)],'operation':_0x3eca72(0x651,0x4c5,_0x479f41._0x45c999,_0x479f41._0x275fb2),'error':_0x41ff7d},_0x5de092);_0x11fa52();try{await _0x34d0e9['close']();}catch{}throw _0x253b9d;}const _0x45ae2e=[..._0x231351['tools']],_0x20e29a={async 'callTool'(_0x5c4d78){const _0x9a065c={_0x203404:0x25,_0x45548a:0x29,_0xd8a438:0x300};function _0x1af185(_0x162ef2,_0x163c99,_0x425bfd,_0x47a95b){return _0x2aa340(_0x162ef2-0x182,_0x47a95b,_0x163c99- -_0x4dced2._0x3d9eaa,_0x47a95b-0x1e1);}function _0x2035a5(_0x14a75c,_0x40676c,_0x2427b0,_0xc744d1){return _0x3eca72(_0x14a75c-_0x9a065c._0x203404,_0x40676c-_0x9a065c._0x45548a,_0xc744d1,_0x14a75c- -_0x9a065c._0xd8a438);}try{return await _0x34d0e9[_0x2035a5(0x1ad,0x9,0xa0,_0x5808a4._0x1b27d6)](_0x5c4d78);}catch(_0x2b9a49){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53[_0x2035a5(_0x5808a4._0x1fbabf,0x2fe,0x312,0x13d)],'operation':_0x1af185(_0x5808a4._0x2f2a13,_0x5808a4._0x112704,0x119,0x352),'error':_0x2b9a49},_0x5de092);}}};function _0x3eca72(_0x3250e6,_0x57a232,_0x1febb9,_0x38c02c){return _0x5b2413(_0x3250e6-0x19f,_0x57a232-0x1d3,_0x38c02c- -_0x19b412._0x35aeba,_0x1febb9);}const _0x14faf7=createMcpGenerationLifecycle(async()=>{const _0x5255e2={_0x2f4ddf:0x84};_0x11fa52();function _0x2461c1(_0x23580a,_0x47d0f6,_0x44c094,_0x547df0){return _0x2aa340(_0x23580a-0x109,_0x44c094,_0x547df0-_0x5255e2._0x2f4ddf,_0x547df0-0x6f);}function _0x501811(_0x433cf1,_0xbe0e3b,_0x563bd7,_0xcfbf77){return _0x3eca72(_0x433cf1-_0x43510b._0x26afc9,_0xbe0e3b-0xc8,_0xbe0e3b,_0xcfbf77- -_0x43510b._0x5ea725);}try{await _0x34d0e9[_0x2461c1(_0x384360._0xf15869,0x72c,0x616,_0x384360._0x47cb5c)]();}catch(_0x4f0452){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53['serverName'],'operation':_0x501811(_0x384360._0x555389,_0x384360._0x571264,_0x384360._0x32d7f5,_0x384360._0x78fda3),'error':_0x4f0452},_0x5de092);}});return{'client':_0x34d0e9,'descriptors':_0x45ae2e,'lifecycle':_0x14faf7,'projectTools'(_0x17c927){return projectMcpTools({..._0x17c927,'descriptors':_0x45ae2e,'client':_0x20e29a,'lifecycle':_0x14faf7});},'onTerminalError'(_0x5d0139){if(_0x270a1c)return()=>{};_0x4b2b1b[_0x14b539(_0x49df91._0x377bb4,0x1af,_0x49df91._0x30d184,_0x49df91._0x64c670)](_0x5d0139);const _0x2b76de=_0x26cd43;function _0x14b539(_0x59c3ff,_0x210495,_0x38588e,_0x55d85a){return _0x3eca72(_0x59c3ff-0x105,_0x210495-0xb1,_0x55d85a,_0x59c3ff- -0x33e);}return _0x2b76de&&queueMicrotask(()=>{if(_0x4b2b1b['has'](_0x5d0139))_0x5d0139(_0x2b76de);}),()=>_0x4b2b1b['delete'](_0x5d0139);},'retire'(){return _0x11fa52(),_0x14faf7['retire']();}};}import{stat as _0x56e74c}from'fs/promises';import*as _0x43494c from'path';import{execSync,spawn as _0xf7162b}from'child_process';import{existsSync}from'fs';import{stat as _0x33ab89}from'fs/promises';import*as _0x3e46fa from'os';import*as _0x40dbfa from'path';import{rgPath as _0x11ca48}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x4aafec={_0x4715da:0x704,_0x28247e:0x5d7,_0x2b1774:0x6d8,_0x50bcb7:0x8b6,_0x54c51c:0x8f3,_0x464c4a:0x7f8,_0x5567db:0x740,_0x420835:0x707,_0x5c23b1:0x540,_0x4194fa:0x60b,_0x19f768:0x37b,_0x221a19:0x6ff,_0x1d906f:0x761,_0x306b1d:0x61c,_0x220419:0x92c,_0x4fd44f:0x897,_0x30048c:0x722,_0x195739:0x7ae,_0x5c7b82:0x5c2,_0x10a3fe:0x64c,_0x1ce750:0x62e,_0x3f0505:0x722,_0x13dd79:0x836,_0x112008:0x6e9,_0x430c67:0x8da,_0x3ce16a:0x6d1,_0x4acef6:0x591,_0x210512:0x5d9,_0x5283f3:0x67c,_0x34d413:0x787,_0x26d4ee:0x509,_0x4f3989:0x341,_0x339370:0x6f8,_0x36a840:0x6d5,_0x3dfda8:0x83e,_0x1f91b7:0x740,_0x3e5da2:0x4b9,_0x321dba:0x5b4,_0x4ebf2d:0x6fb},_0x24be65=_0x3e46fa[_0x304c09(_0x4aafec._0x4715da,_0x4aafec._0x28247e,0x856,_0x4aafec._0x2b1774)]()===_0x304c09(0x795,0x88f,_0x4aafec._0x50bcb7,_0x4aafec._0x54c51c),_0x4a8751=_0x24be65?[_0x40dbfa[_0x35a8a3(_0x4aafec._0x464c4a,_0x4aafec._0x5567db,0x4e5,_0x4aafec._0x420835)](process[_0x35a8a3(_0x4aafec._0x5c23b1,0x409,_0x4aafec._0x4194fa,0x578)][_0x304c09(0x696,0x720,0x861,0x5cd)]||'',_0x35a8a3(0x46f,0x46f,_0x4aafec._0x19f768,0x53e),'WinGet',_0x304c09(_0x4aafec._0x221a19,_0x4aafec._0x1d906f,0x5d4,0x6fa)),_0x40dbfa[_0x304c09(0x798,0x6d5,_0x4aafec._0x306b1d,_0x4aafec._0x220419)](process[_0x35a8a3(0x3fe,0x487,0x380,0x578)]['ProgramFiles']||'',_0x35a8a3(_0x4aafec._0x4fd44f,0x6b1,0x7dc,_0x4aafec._0x30048c),'rg.exe'),_0x40dbfa[_0x35a8a3(0x6c0,_0x4aafec._0x195739,_0x4aafec._0x5c7b82,0x707)](process['env']['ProgramFiles(x86)']||'',_0x35a8a3(_0x4aafec._0x10a3fe,0x80f,_0x4aafec._0x1ce750,_0x4aafec._0x3f0505),_0x35a8a3(0x5b5,_0x4aafec._0x13dd79,0x87a,_0x4aafec._0x112008))]:[_0x304c09(0x7c9,0x7c0,_0x4aafec._0x430c67,_0x4aafec._0x3ce16a),_0x35a8a3(_0x4aafec._0x4acef6,0x5fc,_0x4aafec._0x210512,_0x4aafec._0x5283f3),'/usr/bin/rg','/bin/rg'];function _0x304c09(_0x5922a1,_0x514ac5,_0x3de38f,_0x2017d8){return _0x5b2413(_0x5922a1-0xcd,_0x514ac5-0x1b6,_0x5922a1- -0x64,_0x514ac5);}for(const _0x15d0e2 of _0x4a8751){if(existsSync(_0x15d0e2))return _0x15d0e2;}function _0x35a8a3(_0x3fee55,_0x47dfb1,_0x39d32b,_0x43571f){return _0x5b2413(_0x3fee55-0x7,_0x47dfb1-0x6d,_0x43571f- -0xf5,_0x47dfb1);}try{const _0x5b1bf3=_0x24be65?'where\x20rg':_0x35a8a3(_0x4aafec._0x34d413,0x39b,0x5e2,0x5af),_0x4c9bc5=execSync(_0x5b1bf3,{'encoding':'utf8','stdio':[_0x304c09(_0x4aafec._0x26d4ee,0x5b7,0x48b,0x526),_0x304c09(0x509,0x6f0,_0x4aafec._0x4f3989,0x572),_0x304c09(_0x4aafec._0x339370,_0x4aafec._0x36a840,_0x4aafec._0x3dfda8,_0x4aafec._0x1f91b7)]})[_0x304c09(0x653,0x43e,0x4bd,_0x4aafec._0x3e5da2)]()[_0x304c09(0x780,_0x4aafec._0x321dba,_0x4aafec._0x4ebf2d,0x768)](/\r?\n/)[0x0];if(_0x4c9bc5&&existsSync(_0x4c9bc5))return _0x4c9bc5;}catch{return null;}return null;}async function filepath(){const _0x323336={_0x474c51:0x3cb,_0x42b62d:0x338,_0x804ab:0x2ab,_0xafef3a:0x151},_0x399d90={_0x3f2e50:0x40,_0x5e818e:0xa8};if(cachedRgPath)return cachedRgPath;if(_0x11ca48&&existsSync(_0x11ca48))return cachedRgPath=_0x11ca48,_0x11ca48;const _0x496cb9=findSystemRipgrep();function _0x66ff82(_0x255aa2,_0x153f67,_0x172434,_0x2daf91){return _0x28bc81(_0x255aa2-0x88,_0x153f67-_0x399d90._0x3f2e50,_0x153f67-_0x399d90._0x5e818e,_0x2daf91);}if(!_0x496cb9)throw new Error(_0x66ff82(_0x323336._0x474c51,_0x323336._0x42b62d,_0x323336._0x804ab,_0x323336._0xafef3a));return cachedRgPath=_0x496cb9,_0x496cb9;}async function*files(_0x1398dc){const _0x13ccac={_0x4b3701:0x2fd,_0x58c500:0x34e,_0x5aeb9d:0x4db,_0x52d8c0:0x14c,_0x4c1e17:0xd3,_0x495029:0x498,_0x2cc0db:0x4e5,_0x2640be:0x701,_0x5001df:0x56c,_0xdc8ce8:0x3b4,_0x5ba49b:0x43f,_0x5a5916:0x616,_0x397d4a:0x498,_0x50f568:0x28b,_0x34c8e6:0x11c,_0x58a573:0x178,_0x9dfa6:0xa3,_0x37ad82:0x369,_0xe46f36:0x1b0,_0x4f14eb:0x13a,_0x22660f:0x4ab,_0x2f1a7c:0x1ff,_0x558c49:0x332,_0x44787f:0x215,_0x27dfa0:0x367,_0x1e20dc:0x498},_0x474344={_0x30b298:0xaa},_0x190dcb={_0xcb7ad9:0x25,_0x2a3e14:0x12b};function _0x3439fa(_0x16b84d,_0x5defd4,_0x1d70ea,_0x3cbdc8){return _0x28bc81(_0x16b84d-0xcc,_0x5defd4-_0x190dcb._0xcb7ad9,_0x3cbdc8- -_0x190dcb._0x2a3e14,_0x5defd4);}const _0x67cd56=await filepath(),_0x4cb986=await _0x33ab89(_0x1398dc[_0x3439fa(_0x13ccac._0x4b3701,_0x13ccac._0x58c500,0x5ad,_0x13ccac._0x5aeb9d)])[_0x3439fa(-0x10a,_0x13ccac._0x52d8c0,-_0x13ccac._0x4c1e17,0x100)](()=>null);if(!_0x4cb986?.[_0x192348(_0x13ccac._0x495029,_0x13ccac._0x2cc0db,0x66f,0x47d)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x1398dc['cwd']+'\x27'),{'code':_0x192348(0x802,_0x13ccac._0x2640be,0x743,0x62a)});const _0x227a56=['--files',_0x192348(_0x13ccac._0x5001df,_0x13ccac._0xdc8ce8,0x2f5,0x3f0),_0x3439fa(0x25e,0x11f,0x176,0x2ba),_0x192348(0x5a5,_0x13ccac._0x5ba49b,0x33c,_0x13ccac._0x5a5916)];for(const _0x283413 of _0x1398dc['glob']??[]){_0x227a56[_0x3439fa(0x339,0x1cc,_0x13ccac._0x397d4a,_0x13ccac._0x50f568)]('--glob='+_0x283413);}const _0x38c9b0=_0xf7162b(_0x67cd56,_0x227a56,{'cwd':_0x1398dc['cwd'],'stdio':[_0x192348(0x4ce,0x51a,0x490,0x713),_0x3439fa(-_0x13ccac._0x34c8e6,0x1e9,_0x13ccac._0x58a573,_0x13ccac._0x9dfa6),_0x192348(_0x13ccac._0x37ad82,0x32b,_0x13ccac._0xe46f36,_0x13ccac._0x4f14eb)]});let _0x545240='';for await(const _0x58bb1d of _0x38c9b0[_0x192348(_0x13ccac._0x22660f,0x66c,0x82f,0x4a2)]??[]){_0x545240+=_0x58bb1d[_0x3439fa(0x1c4,0x2b0,_0x13ccac._0x2f1a7c,0x275)]();const _0x1d72be=_0x545240[_0x3439fa(_0x13ccac._0x558c49,0x1f6,0x347,0x31a)](/\r?\n/);_0x545240=_0x1d72be[_0x192348(_0x13ccac._0x44787f,0x353,0x211,_0x13ccac._0x27dfa0)]()??'';for(const _0x44fd03 of _0x1d72be){if(_0x44fd03[_0x192348(_0x13ccac._0x1e20dc,0x6a6,0x674,0x891)]>0x0)yield _0x44fd03;}}function _0x192348(_0x2f140a,_0x232cb2,_0x43d67b,_0x43c7aa){return _0x28bc81(_0x2f140a-0x146,_0x232cb2-_0x474344._0x30b298,_0x232cb2-0x15d,_0x43c7aa);}_0x545240['trim']()['length']>0x0&&(yield _0x545240['trim']());}function objectValue(_0x8946dc){const _0xfda5c1={_0x37a425:0x65,_0x42fc7b:0x1fc,_0x214197:0xbb},_0x7081b={_0x1913f4:0xf8};function _0x1ffb1(_0x40d340,_0x31057e,_0x5e4fe7,_0x207864){return _0x28bc81(_0x40d340-0x1f3,_0x31057e-_0x7081b._0x1913f4,_0x207864- -0x1aa,_0x5e4fe7);}return typeof _0x8946dc===_0x1ffb1(0x26,_0xfda5c1._0x37a425,_0xfda5c1._0x42fc7b,_0xfda5c1._0x214197)&&_0x8946dc!==null?_0x8946dc:void 0x0;}function decodeRipgrepText(_0x5be14b){const _0x2b279d={_0x33ea56:0x5cc,_0x1a7ed7:0x3d4,_0x28174c:0x420,_0x13d638:0x2e2,_0x5b1fdc:0x101,_0x165c4c:0x3ef,_0x375ddb:0x3fd,_0x2e0ae6:0x2ba,_0x532274:0x107,_0x4122e9:0x288,_0x56118c:0x74,_0x1a0dce:0x2c7,_0x2910fe:0x12f,_0x48eb43:0x1a0,_0x19560b:0x3b,_0x5e14cb:0x130,_0x4a87af:0x1de},_0x5d40cb={_0x431031:0xe5,_0x32324f:0x5b,_0x9b7a12:0x4c},_0x353fb1={_0x2bbd7a:0x27c},_0x4e2fc8=objectValue(_0x5be14b);function _0xfb1653(_0x32433e,_0x47cfd8,_0x544048,_0x565753){return _0x28bc81(_0x32433e-0xb2,_0x47cfd8-0x1d9,_0x544048- -_0x353fb1._0x2bbd7a,_0x32433e);}if(typeof _0x4e2fc8?.[_0x1eaf30(_0x2b279d._0x33ea56,0x51c,0x49a,0x472)]===_0x1eaf30(0x4ed,_0x2b279d._0x1a7ed7,_0x2b279d._0x28174c,_0x2b279d._0x13d638))return _0x4e2fc8[_0xfb1653(_0x2b279d._0x5b1fdc,0x13a,0x1aa,0x29)];function _0x1eaf30(_0x5c5758,_0xcff80,_0x46ded6,_0x3e4fb5){return _0x28bc81(_0x5c5758-_0x5d40cb._0x431031,_0xcff80-_0x5d40cb._0x32324f,_0x3e4fb5-_0x5d40cb._0x9b7a12,_0x46ded6);}if(typeof _0x4e2fc8?.[_0x1eaf30(0x746,_0x2b279d._0x165c4c,0x4eb,0x5a1)]===_0x1eaf30(0x18b,_0x2b279d._0x375ddb,_0x2b279d._0x2e0ae6,0x2e2))return Buffer[_0xfb1653(-_0x2b279d._0x532274,-_0x2b279d._0x4122e9,-_0x2b279d._0x56118c,0x196)](_0x4e2fc8[_0xfb1653(_0x2b279d._0x1a0dce,0x437,0x2d9,_0x2b279d._0x2910fe)],_0xfb1653(0x178,0x1ad,0x65,_0x2b279d._0x48eb43))[_0xfb1653(0xca,0xa3,0x124,0xe4)](_0xfb1653(_0x2b279d._0x19560b,-_0x2b279d._0x5e14cb,-0x3,_0x2b279d._0x4a87af));return void 0x0;}function parseMatchLine(_0x130d96,_0x122bac){const _0x3c44c5={_0x46d3dc:0x7cf,_0x135f60:0x7de,_0x3ed427:0x61b,_0x4fd2ec:0x617,_0x1805a0:0x49c,_0x1d5c43:0x46b,_0x4ee4ab:0x35b,_0x4ebded:0x1c6,_0x320583:0x43e,_0x44bf2b:0x60e,_0x460f34:0x1cd,_0x6d609e:0x3ee,_0x4daee3:0x4ad,_0x2e975d:0x2be,_0x3a6470:0x163,_0x2c576b:0x3cb,_0x5b3c1b:0x187,_0x373333:0x52a,_0x2243d7:0x33a,_0x26117f:0x51e,_0x4b9e8b:0x623,_0x2b4394:0x58d,_0x18b85e:0x523,_0x440974:0x62b,_0x7cd53e:0x231,_0x2002e9:0x41a,_0xccd82d:0x5a1,_0x17efa3:0x448},_0x451dba={_0x374d14:0xc9};if(_0x130d96[_0x30a08e(0x8ec,0x5a1,0x742,_0x3c44c5._0x46d3dc)]===0x0)return null;const _0x249fc2=objectValue(JSON[_0x30a08e(0x835,0x914,_0x3c44c5._0x135f60,_0x3c44c5._0x3ed427)](_0x130d96));if(_0x249fc2?.[_0x30a08e(0x5e3,0x46d,0x530,0x503)]!==_0x30a08e(_0x3c44c5._0x4fd2ec,_0x3c44c5._0x1805a0,0x454,_0x3c44c5._0x1d5c43)&&_0x249fc2?.[_0x1f76da(_0x3c44c5._0x4ee4ab,_0x3c44c5._0x4ebded,0x17b,_0x3c44c5._0x320583)]!==_0x30a08e(_0x3c44c5._0x44bf2b,_0x3c44c5._0x460f34,_0x3c44c5._0x6d609e,_0x3c44c5._0x4daee3))return null;const _0x42e3e8=objectValue(_0x249fc2[_0x1f76da(_0x3c44c5._0x2e975d,_0x3c44c5._0x3a6470,_0x3c44c5._0x2c576b,_0x3c44c5._0x5b3c1b)]),_0x120f83=decodeRipgrepText(_0x42e3e8?.[_0x1f76da(0x4ed,_0x3c44c5._0x373333,_0x3c44c5._0x2243d7,0x5ef)]),_0x37c07b=decodeRipgrepText(_0x42e3e8?.[_0x30a08e(_0x3c44c5._0x26117f,0x718,0x588,0x3bf)]);function _0x1f76da(_0x53e15c,_0x41cdf4,_0x3c2510,_0x2bf9b7){return _0x5b2413(_0x53e15c-0x71,_0x41cdf4-0x1d9,_0x53e15c- -0x37b,_0x2bf9b7);}function _0x30a08e(_0x5e74af,_0x216e63,_0x2046fc,_0x567735){return _0x5b2413(_0x5e74af-0x73,_0x216e63-_0x451dba._0x374d14,_0x2046fc- -0x1a6,_0x567735);}const _0xdcb13=_0x42e3e8?.['line_number'];if(_0x120f83===void 0x0||_0x37c07b===void 0x0||typeof _0xdcb13!=='number')throw new Error(_0x30a08e(0x67f,_0x3c44c5._0x4b9e8b,_0x3c44c5._0x2b4394,0x4d2));return{'filePath':_0x40dbfa[_0x30a08e(0x538,_0x3c44c5._0x18b85e,_0x3c44c5._0x440974,0x57a)](_0x120f83)?_0x120f83:_0x40dbfa[_0x30a08e(_0x3c44c5._0x7cd53e,_0x3c44c5._0x2002e9,0x453,_0x3c44c5._0xccd82d)](_0x122bac,_0x120f83),'lineNum':_0xdcb13,'lineText':_0x37c07b[_0x1f76da(0x57b,_0x3c44c5._0x17efa3,0x716,0x480)](/\r?\n$/,''),..._0x249fc2['type']===_0x1f76da(0x219,0x375,0x374,0x364)?{'isContext':!![]}:{}};}async function search(_0xfb8d50){const _0x4b8dfd={_0x4fd7f6:0x258,_0x18d62a:0x2a1,_0x40b49e:0x3ce,_0x239474:0x335,_0x26c476:0x484,_0x41d301:0x4d9,_0x3e1ddc:0x43f,_0x15c9e5:0x266,_0x36c5b6:0xd,_0x16af14:0x24c,_0x11fcbc:0x1a4,_0x4c0a6d:0x2a8,_0x3da6d0:0x17b,_0x2d7b62:0x34b,_0x3d997a:0x131,_0x5acdd7:0xdc,_0x198510:0xbb,_0x186bbb:0xa9,_0x2a6e2f:0xcf,_0x25f864:0x5d2,_0x557219:0x430,_0x437180:0x51f,_0x34bb6c:0x5bf,_0x13a50d:0x288,_0xa11932:0x1f0,_0x433223:0x301,_0x28c570:0x356,_0x2433e9:0x1fe,_0x4d5b00:0x3ba,_0x3a2005:0x366,_0x522576:0x495,_0x78216d:0x6d7,_0x17b95f:0x1bc,_0x21d04e:0x14a,_0x577fe6:0x12f,_0x524068:0x1a4,_0x5ed8da:0xfa,_0xa62e78:0xad,_0x2dec67:0x43a,_0x3e2a90:0x615,_0x1311ee:0x212,_0x1de546:0x39b,_0x528748:0x54e,_0x4a63ec:0x342,_0xb43cf7:0x5aa,_0x515cf0:0xf6,_0x3cec33:0x14f,_0x5a5163:0x10,_0x5d80d2:0x43,_0xd9e546:0x3b4,_0x5c4359:0x3e,_0x2278cb:0x49,_0x584857:0x39,_0x4e2702:0x33d,_0x1b7683:0x196,_0xe73eae:0x1f6,_0x3230d0:0x2f5,_0x531549:0xac,_0x521c15:0x1e2,_0x25efd2:0xa9,_0x142f99:0x304,_0x2c3580:0x197,_0x44e57b:0xa9,_0x5b749d:0x1ca,_0x1dde3a:0x54a,_0x7943cb:0x4dc,_0x4fb7a3:0x783,_0x1b3c2e:0x603},_0x26009f={_0x1f94e6:0x7db,_0xb9f537:0x87f,_0x46db25:0x213,_0x1d4836:0x267,_0x190147:0x259,_0x25e0a9:0x3bf,_0x562ada:0x4c4,_0x249adb:0x42a,_0x4df2d9:0x6b7,_0x3fb2c9:0x4fb,_0x25bd81:0x748,_0x3940ed:0x634,_0x5c2fa2:0x7ee,_0x30ab29:0x57c,_0x2f3804:0x63d,_0x54fa1e:0x3c9,_0x594fa7:0x546,_0x3da747:0x403,_0x15bfbe:0x2b8},_0x9922={_0x2f782c:0x7a},_0x1f6d16={_0x5e8034:0x640,_0x3a7645:0x41b},_0x360be6={_0x238ed6:0x134},_0x662ad8={_0x1fb109:0xba,_0x2d6a3b:0x269},_0x13de0c={_0x5c85e2:0x132,_0x5b5256:0x2};if(_0xfb8d50['file']!==void 0x0&&_0xfb8d50[_0x51b209(0x315,0x2e5,_0x4b8dfd._0x4fd7f6,0x132)]!==void 0x0)throw new Error(_0x51b209(0x408,0x46a,_0x4b8dfd._0x18d62a,_0x4b8dfd._0x40b49e));if(_0xfb8d50[_0x51b209(_0x4b8dfd._0x239474,_0x4b8dfd._0x26c476,_0x4b8dfd._0x41d301,0x596)]){const _0x4a6310=await _0x33ab89(_0xfb8d50[_0x51b209(_0x4b8dfd._0x3e1ddc,_0x4b8dfd._0x26c476,_0x4b8dfd._0x15c9e5,0x584)])[_0x340ec5(0xc1,-0x20a,-0x13,_0x4b8dfd._0x36c5b6)](()=>null);if(!_0x4a6310?.['isFile']())throw Object[_0x340ec5(_0x4b8dfd._0x40b49e,_0x4b8dfd._0x16af14,0x396,0x313)](new Error(_0x340ec5(_0x4b8dfd._0x11fcbc,_0x4b8dfd._0x4c0a6d,_0x4b8dfd._0x3da6d0,0xb1)+_0xfb8d50['file']+'\x27'),{'code':_0x340ec5(0x250,_0x4b8dfd._0x2d7b62,0x366,0x156)});}else{if(_0xfb8d50[_0x340ec5(-0x8d,_0x4b8dfd._0x3d997a,0xa9,0xd1)]!==void 0x0)for(const _0x12fd3e of _0xfb8d50[_0x340ec5(_0x4b8dfd._0x5acdd7,_0x4b8dfd._0x198510,_0x4b8dfd._0x186bbb,-_0x4b8dfd._0x2a6e2f)]){if(!_0x40dbfa[_0x51b209(_0x4b8dfd._0x25f864,_0x4b8dfd._0x557219,_0x4b8dfd._0x437180,_0x4b8dfd._0x34bb6c)](_0x12fd3e))throw new Error(_0x51b209(0x440,_0x4b8dfd._0x13a50d,_0x4b8dfd._0xa11932,0x340)+_0x12fd3e+'\x27');const _0x269517=await _0x33ab89(_0x12fd3e)['catch'](()=>null);if(!_0x269517?.[_0x340ec5(0x30b,_0x4b8dfd._0x433223,0x1f1,_0x4b8dfd._0x28c570)]())throw Object[_0x340ec5(0x2fb,_0x4b8dfd._0x2433e9,0x396,0x2ee)](new Error('No\x20such\x20file:\x20\x27'+_0x12fd3e+'\x27'),{'code':_0x340ec5(_0x4b8dfd._0x4d5b00,0x38c,_0x4b8dfd._0x3a2005,0x4aa)});}else{const _0x13341c=await _0x33ab89(_0xfb8d50[_0x51b209(0x815,0x604,_0x4b8dfd._0x522576,_0x4b8dfd._0x78216d)])['catch'](()=>null);if(!_0x13341c?.[_0x340ec5(_0x4b8dfd._0x17b95f,0x197,_0x4b8dfd._0x21d04e,_0x4b8dfd._0x577fe6)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xfb8d50['cwd']+'\x27'),{'code':_0x340ec5(_0x4b8dfd._0x524068,0x182,_0x4b8dfd._0x3a2005,0x1ed)});}}if(_0xfb8d50[_0x340ec5(_0x4b8dfd._0x5ed8da,0x1b4,_0x4b8dfd._0x186bbb,-_0x4b8dfd._0xa62e78)]?.[_0x51b209(_0x4b8dfd._0x2dec67,0x547,_0x4b8dfd._0x3e2a90,0x57c)]===0x0)return[];const _0x2934ce=await filepath(),_0x13b3fa=[_0x340ec5(0x1ee,0x48e,0x3aa,0x3f7),_0x340ec5(_0x4b8dfd._0x1311ee,0x224,_0x4b8dfd._0x1de546,_0x4b8dfd._0x2d7b62),_0xfb8d50[_0x51b209(_0x4b8dfd._0x528748,0x3da,_0x4b8dfd._0x4a63ec,_0x4b8dfd._0xb43cf7)]],_0x23d581=typeof _0xfb8d50[_0x340ec5(-_0x4b8dfd._0x515cf0,0x1c7,-0x49,0x16b)]==='number'&&_0xfb8d50[_0x51b209(_0x4b8dfd._0x3cec33,0x1f3,-_0x4b8dfd._0x5a5163,_0x4b8dfd._0x5d80d2)]>0x0;_0x23d581&&_0x13b3fa[_0x51b209(0x4bf,_0x4b8dfd._0xd9e546,0x1f8,0x1bd)]('-C',String(_0xfb8d50[_0x340ec5(0x22,_0x4b8dfd._0x5c4359,-_0x4b8dfd._0x2278cb,0x5a)]));_0xfb8d50[_0x340ec5(_0x4b8dfd._0x584857,_0x4b8dfd._0x4e2702,0x1a8,_0x4b8dfd._0x1b7683)]&&!_0xfb8d50[_0x51b209(0x540,0x484,0x401,0x6a1)]&&_0xfb8d50['files']===void 0x0&&_0x13b3fa['push'](_0x340ec5(_0x4b8dfd._0xe73eae,0xde,_0x4b8dfd._0x3230d0,0x45b),_0xfb8d50[_0x340ec5(0x24,_0x4b8dfd._0x531549,0x1a8,0x2a9)]);_0xfb8d50[_0x340ec5(0xf9,_0x4b8dfd._0x521c15,_0x4b8dfd._0x25efd2,0x57)]!==void 0x0?_0x13b3fa[_0x51b209(_0x4b8dfd._0x142f99,0x3b4,0x4c7,_0x4b8dfd._0x2c3580)](..._0xfb8d50[_0x340ec5(-0x116,0x2c1,_0x4b8dfd._0x44e57b,0xae)]):_0x13b3fa[_0x51b209(0x423,_0x4b8dfd._0xd9e546,0x3bd,_0x4b8dfd._0x5b749d)](_0xfb8d50[_0x51b209(0x649,0x484,_0x4b8dfd._0x1dde3a,0x492)]??_0xfb8d50[_0x51b209(_0x4b8dfd._0x7943cb,0x604,_0x4b8dfd._0x4fb7a3,_0x4b8dfd._0x1b3c2e)]);function _0x340ec5(_0x36bb52,_0xa2dd5d,_0xd5f92e,_0x14321f){return _0x28bc81(_0x36bb52-0x145,_0xa2dd5d-0xe6,_0xd5f92e- -0x23e,_0x14321f);}function _0x51b209(_0x48f384,_0x1120f7,_0x269176,_0x28cc5b){return _0x28bc81(_0x48f384-_0x13de0c._0x5c85e2,_0x1120f7-0x116,_0x1120f7- -_0x13de0c._0x5b5256,_0x48f384);}return await new Promise((_0x3433b7,_0x19640c)=>{const _0xdd5e34={_0x352b9c:0x7f1,_0x2755ff:0x711,_0x5eac82:0x8de,_0x554d9f:0x748,_0x194b41:0x47e,_0x429cf7:0x607,_0x2cfc1f:0x59c,_0xb91d43:0x7cf,_0xb6a95d:0x767,_0x307ee0:0x61b,_0x21781c:0x77c,_0x3f2d87:0x5c1,_0x4831d2:0x730,_0x1c6f9c:0x954,_0x23b15b:0x817,_0x239b4f:0x611,_0x527797:0x946,_0x3c8512:0x7a9,_0x478eb4:0x514,_0x23a54a:0x862,_0x4be3aa:0x676,_0x5f0582:0x7c7},_0xca9ddc={_0x3eb70d:0x24e},_0x55ef33=_0xf7162b(_0x2934ce,_0x13b3fa,{'cwd':_0xfb8d50[_0x4f6355(_0x26009f._0x1f94e6,_0x26009f._0xb9f537,0x945,0x8fc)],'stdio':[_0x2b641e(_0x26009f._0x46db25,_0x26009f._0x1d4836,0x3e8,0x2d2),_0x2b641e(_0x26009f._0x190147,0x78,0x1f9,0x306),_0x4f6355(_0x26009f._0x25e0a9,0x4d1,0x60a,_0x26009f._0x562ada)]});let _0x1004e7='';function _0x2b641e(_0xb1a0d7,_0x43e515,_0x2285e6,_0xd2ef7e){return _0x340ec5(_0xb1a0d7-_0x662ad8._0x1fb109,_0x43e515-0x143,_0x2285e6-_0x662ad8._0x2d6a3b,_0xd2ef7e);}let _0x381f6c='';function _0x4f6355(_0x51ce0b,_0x4936cd,_0x9b8fde,_0x723e78){return _0x51b209(_0x9b8fde,_0x723e78-0x2f8,_0x9b8fde-0x12e,_0x723e78-_0x360be6._0x238ed6);}_0x55ef33[_0x2b641e(_0x26009f._0x249adb,0x4d4,0x53a,0x4c1)]?.['on']('data',_0x1b5e22=>{const _0x371fb0={_0x1b462c:0x7,_0x3c9788:0x1df};function _0x3d8732(_0x522e4d,_0x49148c,_0x33629f,_0x5de5d7){return _0x4f6355(_0x522e4d-_0x371fb0._0x1b462c,_0x49148c-0x167,_0x49148c,_0x522e4d- -_0x371fb0._0x3c9788);}_0x1004e7+=_0x1b5e22[_0x3d8732(0x4b7,_0x1f6d16._0x5e8034,0x562,_0x1f6d16._0x3a7645)]();}),_0x55ef33[_0x4f6355(0x6a0,_0x26009f._0x4df2d9,_0x26009f._0x3fb2c9,0x5ee)]?.['on'](_0x4f6355(_0x26009f._0x25bd81,0x450,0x497,0x590),_0x4ead55=>{function _0x38016c(_0x473f37,_0x584317,_0x508c8e,_0x5e7cad){return _0x2b641e(_0x473f37-0x43,_0x584317-0xe3,_0x584317- -_0xca9ddc._0x3eb70d,_0x5e7cad);}_0x381f6c+=_0x4ead55[_0x38016c(_0x9922._0x2f782c,0x17d,0x305,0x1a2)]();}),_0x55ef33['on'](_0x4f6355(_0x26009f._0x3940ed,_0x26009f._0x5c2fa2,_0x26009f._0x30ab29,_0x26009f._0x2f3804),_0x3ac3d4=>{const _0x37dbb5={_0x48e10b:0x90c,_0x1d5e41:0x8f6,_0x1caa95:0x647,_0x274cc0:0x580},_0x2e2644={_0x7febe9:0xd5,_0x5b0673:0x153},_0x4c347c={_0x5c32a5:0x118,_0x267a55:0xf2},_0xb75088={_0x228e2d:0xa4,_0x5d6a82:0x4c};function _0x5e6be5(_0x47a597,_0x48e0d1,_0x33bb5a,_0x5356b9){return _0x4f6355(_0x47a597-0x1cb,_0x48e0d1-0x1c5,_0x33bb5a,_0x48e0d1- -0x2a);}if(_0x3ac3d4===0x1&&_0x1004e7===''){_0x3433b7([]);return;}if(_0x3ac3d4!==0x0&&_0x3ac3d4!==0x1){_0x19640c(new Error('ripgrep\x20failed:\x20'+_0x381f6c));return;}const _0x2413ef=[];try{for(const _0x250a55 of _0x1004e7[_0x5e6be5(_0xdd5e34._0x352b9c,_0xdd5e34._0x2755ff,_0xdd5e34._0x5eac82,0x5fe)](/\r?\n/)){const _0x4c63d0=parseMatchLine(_0x250a55,_0xfb8d50['cwd']);if(_0x4c63d0)_0x2413ef[_0x5e6be5(_0xdd5e34._0x554d9f,0x682,0x4fa,0x88d)](_0x4c63d0);}}catch(_0x53745c){_0x19640c(_0x53745c);return;}const _0x163eea=_0xfb8d50[_0x5e6be5(_0xdd5e34._0x194b41,0x53f,_0xdd5e34._0x429cf7,_0xdd5e34._0x2cfc1f)]??0x64,_0x5e00e1=Number[_0x5e6be5(0x9c9,_0xdd5e34._0xb91d43,_0xdd5e34._0xb6a95d,_0xdd5e34._0x307ee0)](_0x163eea)?Math[_0x5e6be5(0x5b6,0x733,0x5d7,_0xdd5e34._0x21781c)](0x0,Math[_0x7b9fe4(_0xdd5e34._0x3f2d87,0x7d2,0x5b3,0x676)](_0x163eea)):0x64,_0x1538b4=_0x2413ef[_0x5e6be5(0x5bc,0x751,_0xdd5e34._0x4831d2,0x77a)](_0x13516d=>!_0x13516d[_0x7b9fe4(0x858,0x7d0,0x6a5,0x885)]);if(_0x1538b4['length']<=_0x5e00e1){_0x3433b7(_0x2413ef);return;}const _0x341712=_0x1538b4[_0x7b9fe4(0x822,_0xdd5e34._0x1c6f9c,0x7fa,_0xdd5e34._0x23b15b)](0x0,_0x5e00e1),_0x4b310f=new Set(_0x341712);function _0x7b9fe4(_0x39140d,_0x5812ac,_0x190a00,_0x4f67d6){return _0x4f6355(_0x39140d-0x1a5,_0x5812ac-_0xb75088._0x228e2d,_0x39140d,_0x4f67d6-_0xb75088._0x5d6a82);}const _0x57ca5e=_0x23d581?Math[_0x7b9fe4(_0xdd5e34._0x239b4f,0x6c7,_0xdd5e34._0x527797,_0xdd5e34._0x3c8512)](0x0,Math[_0x7b9fe4(_0xdd5e34._0x478eb4,_0xdd5e34._0x23a54a,0x75c,_0xdd5e34._0x4be3aa)](_0xfb8d50['context']??0x0)):0x0;_0x3433b7(_0x2413ef[_0x7b9fe4(0x6ea,0x830,0x951,_0xdd5e34._0x5f0582)](_0x3180ba=>{function _0x1ae77b(_0x5a610a,_0x4ac7c5,_0x396e46,_0x3c5b36){return _0x5e6be5(_0x5a610a-0x112,_0x4ac7c5-_0x4c347c._0x5c32a5,_0x396e46,_0x3c5b36-_0x4c347c._0x267a55);}if(!_0x3180ba['isContext'])return _0x4b310f[_0x1ae77b(_0x37dbb5._0x48e10b,0x6ef,_0x37dbb5._0x1d5e41,_0x37dbb5._0x1caa95)](_0x3180ba);function _0x370a85(_0x5f2908,_0x3e098e,_0x36e49e,_0x248fd5){return _0x7b9fe4(_0x248fd5,_0x3e098e-_0x2e2644._0x7febe9,_0x36e49e-_0x2e2644._0x5b0673,_0x3e098e- -0x272);}return _0x341712[_0x370a85(0x3ce,0x5e3,_0x37dbb5._0x274cc0,0x62e)](_0x3a3654=>_0x3a3654[_0x370a85(0x3a5,0x319,0x2a4,0x1da)]===_0x3180ba['filePath']&&Math[_0x370a85(0x5a1,0x600,0x4e4,0x50e)](_0x3a3654[_0x1ae77b(0x68b,0x676,0x7d2,0x740)]-_0x3180ba[_0x370a85(0x488,0x362,0x486,0x357)])<=_0x57ca5e);}));}),_0x55ef33['on'](_0x2b641e(_0x26009f._0x54fa1e,_0x26009f._0x594fa7,_0x26009f._0x3da747,_0x26009f._0x15bfbe),_0x19640c);});}function createGlobTool(_0x5dfbad={}){const _0x124dec={_0x38a233:0x7a2,_0x4d6da2:0x354,_0x824777:0x2de,_0x198008:0x3d9,_0x1fe31a:0x4f1,_0x53c2fd:0x1a9,_0x54b719:0x2c4,_0x1c942d:0x593,_0x35a310:0x65a,_0x56797f:0x218,_0x103bb6:0xec,_0x3aa456:0x20,_0xbb4551:0x1c5,_0x168c51:0x289,_0x3825ce:0x3cc,_0x3c2feb:0x1f6,_0x2af60e:0x22f,_0x217775:0x6e0,_0x5012c3:0x63d,_0x4e4459:0x4ff,_0x58b67c:0x185,_0xd10c63:0x209},_0x1d7533={_0x16a89b:0x765,_0x5b7db1:0x620,_0x9d5d70:0x6b9,_0x38f96b:0x7d9,_0x1b75f2:0x5b0,_0x9d346a:0x7da,_0x40a8dd:0x5cc,_0x5e3938:0x4d6,_0x30fa82:0x53c,_0x50c436:0x86a,_0x131985:0x944,_0x3693f7:0x62d,_0x3d6187:0x52a,_0x297dc4:0x6ec,_0x572c2c:0x4da,_0x18cdf5:0x458,_0x1d0435:0x2dd,_0x12ea3f:0x414,_0x3cbf8b:0x44f,_0x200e02:0x8ea,_0xc77a50:0x837,_0x32491a:0x8f5,_0x1b0345:0x48e,_0x5a8562:0x280,_0x299013:0x33b,_0x3a2ad3:0x3dc,_0x3ecda4:0x56c,_0x307ee7:0x650,_0x5ed9a9:0x7d7,_0x1524d4:0x5de,_0x4392db:0x77d,_0x4e5a85:0x4d0,_0xdf77e8:0x24d,_0x2d5119:0x169,_0x16076d:0x862,_0x566f54:0x64c},_0x309d80={_0x2251a9:0x111},_0x133c48={_0x34e344:0x195,_0x52f36d:0xd1,_0x3673d:0xa0},_0x1272f6={_0x59e9f3:0x42,_0x350dee:0x2c0},_0x2bfbd5=_0x43494c[_0x350391(0x312,0x1ba,0xd0,0x2f7)](_0x5dfbad['defaultCwd']??process[_0x4e7018(0x7fc,_0x124dec._0x38a233,0x4c3,0x6e5)]()),_0x490d5d=_0x5dfbad[_0x350391(_0x124dec._0x4d6da2,_0x124dec._0x824777,_0x124dec._0x198008,_0x124dec._0x1fe31a)]??[],_0x1b07f8=_0x5dfbad[_0x350391(_0x124dec._0x53c2fd,0x1d3,0xe5,_0x124dec._0x54b719)]??0x64;function _0x4e7018(_0x5e1272,_0x3f55cc,_0x1dff7e,_0x49dd95){return _0x5b2413(_0x5e1272-0xe4,_0x3f55cc-_0x1272f6._0x59e9f3,_0x49dd95- -_0x1272f6._0x350dee,_0x3f55cc);}function _0x350391(_0x211b0e,_0x49c5bd,_0x1f294d,_0x352559){return _0x28bc81(_0x211b0e-_0x133c48._0x34e344,_0x49c5bd-_0x133c48._0x52f36d,_0x49c5bd- -_0x133c48._0x3673d,_0x1f294d);}const _0x3de955=_0x5dfbad[_0x350391(0x521,0x3d6,_0x124dec._0x1c942d,0x28e)]??_0x4e7018(0x6d3,0x58a,0x4e9,_0x124dec._0x35a310);return defineTool({'name':_0x3de955,'permissionClass':_0x350391(0x2f8,_0x124dec._0x56797f,_0x124dec._0x103bb6,_0x124dec._0x3aa456),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x350391(0x396,_0x124dec._0xbb4551,_0x124dec._0x168c51,_0x124dec._0x3825ce),'properties':{'pattern':{'type':'string'},'path':{'type':_0x350391(0x38d,_0x124dec._0x3c2feb,0x2fc,_0x124dec._0x2af60e)},'limit':{'type':_0x4e7018(_0x124dec._0x217775,0x575,_0x124dec._0x5012c3,_0x124dec._0x4e4459)}},'required':[_0x350391(_0x124dec._0x58b67c,0x33c,_0x124dec._0xd10c63,0x4d1)]},async *'execute'(_0x216300){const _0x384b06={_0x394b25:0x94,_0x230dcf:0x113,_0x2e1e05:0x1dc};if(_0x216300[_0x68856e(_0x1d7533._0x16a89b,0x77d,0x78e,_0x1d7533._0x5b7db1)][_0x68856e(0x738,_0x1d7533._0x9d5d70,0x797,_0x1d7533._0x38f96b)]()[_0x3cbf6b(0x73b,0x563,0x5bc,_0x1d7533._0x1b75f2)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x438176=resolveAllowedPath(_0x2bfbd5,_0x490d5d,_0x216300['path']??'.'),_0xea6e43=await _0x56e74c(_0x438176)[_0x68856e(_0x1d7533._0x9d346a,_0x1d7533._0x40a8dd,0x55f,_0x1d7533._0x5e3938)](()=>null);if(!_0xea6e43?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x216300[_0x3cbf6b(0x45f,0x72e,_0x1d7533._0x30fa82,0x593)]??'.'),{'path':_0x216300[_0x68856e(0x8e7,_0x1d7533._0x50c436,0x85e,_0x1d7533._0x131985)]??'.'});const _0x5e8fef=_0x216300[_0x68856e(_0x1d7533._0x3693f7,0x614,_0x1d7533._0x3d6187,0x725)]??_0x1b07f8,_0x4b49a5=Math[_0x3cbf6b(_0x1d7533._0x297dc4,0x3e9,_0x1d7533._0x572c2c,_0x1d7533._0x18cdf5)](0x1,Math['trunc'](_0x5e8fef)),_0xaa78f7=[];let _0x47b8d5=![];for await(const _0x1b443b of files({'cwd':_0x438176,'glob':[_0x216300[_0x3cbf6b(_0x1d7533._0x1d0435,_0x1d7533._0x12ea3f,_0x1d7533._0x3cbf8b,0x248)]]})){if(_0xaa78f7[_0x68856e(0x909,_0x1d7533._0x200e02,_0x1d7533._0xc77a50,0xa75)]>=_0x4b49a5){_0x47b8d5=!![];break;}const _0x1c36d1=await _0x56e74c(_0x43494c['join'](_0x438176,_0x1b443b))['catch'](()=>null);_0xaa78f7[_0x68856e(0x717,0x757,0x53c,_0x1d7533._0x32491a)]({'path':_0x1b443b,'mtime':_0x1c36d1?.['mtimeMs']??0x0});}function _0x68856e(_0x556f13,_0x5a041a,_0x44d595,_0x1f041f){return _0x350391(_0x556f13-0xd2,_0x5a041a-0x441,_0x556f13,_0x1f041f-_0x309d80._0x2251a9);}_0xaa78f7[_0x3cbf6b(_0x1d7533._0x1b0345,_0x1d7533._0x5a8562,_0x1d7533._0x299013,_0x1d7533._0x3a2ad3)]((_0x559bf3,_0x24fc5a)=>_0x24fc5a[_0x3cbf6b(0x6a4,0x6fa,0x5a2,0x464)]-_0x559bf3[_0x68856e(0x70a,0x8d0,0xad2,0xaa7)]);const _0x2fecea=_0xaa78f7[_0x68856e(0x983,0x972,0xa84,0xb67)](_0x3a0216=>_0x3a0216['path']);function _0x3cbf6b(_0x3cdba0,_0x428f65,_0x18e567,_0xc1951a){return _0x350391(_0x3cdba0-_0x384b06._0x394b25,_0x18e567-_0x384b06._0x230dcf,_0x428f65,_0xc1951a-_0x384b06._0x2e1e05);}const _0x32df8e=_0x2fecea['length']===0x0?_0x3cbf6b(0x43c,_0x1d7533._0x3ecda4,_0x1d7533._0x307ee7,_0x1d7533._0x5ed9a9)+_0x216300[_0x68856e(_0x1d7533._0x1524d4,_0x1d7533._0x4392db,0x82d,0x8ab)]:''+_0x2fecea[_0x3cbf6b(0x527,0x68f,_0x1d7533._0x4e5a85,0x694)]('\x0a')+(_0x47b8d5?_0x3cbf6b(_0x1d7533._0xdf77e8,_0x1d7533._0x2d5119,0x26c,0x173):'');return yield createToolOutput(_0x32df8e,{'pattern':_0x216300[_0x68856e(_0x1d7533._0x16076d,_0x1d7533._0x4392db,0x5db,_0x1d7533._0x566f54)],'searchPath':_0x43494c[_0x68856e(0x4f5,0x685,0x5e1,0x703)](_0x2bfbd5,_0x438176)||'.','matches':_0x2fecea,'count':_0x2fecea['length'],'truncated':_0x47b8d5}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x26b88c){const _0x42ebf4={_0x17f3a1:0x56a,_0x595a66:0x6a9,_0x45e8e8:0x4ce,_0x5c0826:0x79b,_0x11e076:0x82b,_0x30efdb:0x7d2,_0x1dc34c:0x472,_0x31b6d9:0x28a,_0xfb9603:0x41f},_0x38912f={_0x42cf4b:0x65,_0x4ad81f:0x1c4},_0x568cdc={_0x6a5a0:0x95,_0x11380d:0x65e};function _0x1e24b6(_0xca415,_0xb38b46,_0x597ad4,_0x326be7){return _0x5b2413(_0xca415-_0x568cdc._0x6a5a0,_0xb38b46-0x159,_0x597ad4- -_0x568cdc._0x11380d,_0xb38b46);}function _0x25dcab(_0x26a8ed,_0x238a25,_0x262d54,_0x392cd7){return _0x28bc81(_0x26a8ed-_0x38912f._0x42cf4b,_0x238a25-_0x38912f._0x4ad81f,_0x26a8ed-0x252,_0x392cd7);}if(_0x26b88c[_0x25dcab(_0x42ebf4._0x17f3a1,0x562,_0x42ebf4._0x595a66,_0x42ebf4._0x45e8e8)]()[_0x25dcab(_0x42ebf4._0x5c0826,_0x42ebf4._0x11e076,_0x42ebf4._0x30efdb,0x706)]===0x0)throw new Error('pattern\x20is\x20required');if(_0x26b88c[_0x1e24b6(0x130,_0x42ebf4._0x1dc34c,_0x42ebf4._0x31b6d9,_0x42ebf4._0xfb9603)]>GREP_MAX_PATTERN_LENGTH)throw new Error('pattern\x20must\x20be\x20at\x20most\x20'+GREP_MAX_PATTERN_LENGTH+'\x20characters');}function boundedGrepSnippet(_0x16a382){const _0x91401={_0x5752cc:0x105,_0x2e441c:0x3d,_0x199630:0x1fd,_0x23717f:0x39,_0x134b5b:0x189,_0x50431d:0x363,_0x1b419a:0x6f1,_0x2eb4d0:0x7a6},_0x12de40={_0x426626:0x1e0,_0x33ec83:0x1a,_0x10c5e8:0x63},_0x173906={_0x3c5f2f:0x1f1};function _0x1737f0(_0x39bf23,_0x2a6cc8,_0x3770f0,_0x836ca8){return _0x5b2413(_0x39bf23-0x8f,_0x2a6cc8-_0x173906._0x3c5f2f,_0x3770f0- -0x6eb,_0x2a6cc8);}function _0xdd689a(_0x53b93e,_0x4eb6f1,_0x2f455f,_0x37b2eb){return _0x5b2413(_0x53b93e-_0x12de40._0x426626,_0x4eb6f1-_0x12de40._0x33ec83,_0x2f455f- -_0x12de40._0x10c5e8,_0x53b93e);}return _0x16a382[_0x1737f0(_0x91401._0x5752cc,_0x91401._0x2e441c,_0x91401._0x199630,_0x91401._0x23717f)]>GREP_MAX_SNIPPET_LENGTH?_0x16a382[_0x1737f0(0x1e,0x16,_0x91401._0x134b5b,_0x91401._0x50431d)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0xdd689a(_0x91401._0x1b419a,_0x91401._0x2eb4d0,0x7d6,0x82e):_0x16a382;}async function searchRegex(_0x4e17e7){const _0x1eeefe={_0x28ae0a:0x118,_0x63b889:0x344,_0x2675e0:0x9a,_0x1822b2:0x1a3,_0x4540cd:0x1b3,_0x596c95:0x377,_0x15b956:0x363,_0x3c9cfa:0x584,_0x4996ec:0x564,_0x377e27:0x3b3,_0x16803f:0x592,_0x2c8609:0x1b5,_0x8d1a40:0x134,_0x1354bc:0x122,_0x4c4f37:0x46,_0x421ce5:0xae,_0x405416:0x293,_0x37e2d0:0x64f,_0x4af71b:0x5d0,_0x47bbf7:0x614,_0x4e85b4:0x772,_0x4ccb18:0x800,_0x4b50a3:0x62c,_0x14b29c:0x704,_0x5689db:0x54b,_0xc6020f:0x27,_0x44ac25:0x9,_0x10a560:0x39e,_0x45fb29:0x15b,_0x435cbc:0x339,_0x45047d:0x6f5,_0x131230:0x86e,_0x532f58:0x9ed,_0x32b3:0x36,_0xbcc771:0xe},_0x5451e5={_0x29aaca:0x5d},_0x3b31c4={_0x45f9d4:0x3b4,_0x169713:0x1a5,_0xed1ea8:0x144,_0x214111:0x93,_0x8ab13b:0x350,_0x1990ca:0x5b,_0x17767c:0x175},_0x380409={_0x1d2182:0x104,_0x4724fb:0x610},_0x3b870e={_0x574feb:0x1c6,_0x22aa68:0x1cd,_0x43eeb1:0x2c4};function _0x135a6a(_0x611e11,_0x626c9d,_0x478fcf,_0x4708b6){return _0x28bc81(_0x611e11-_0x3b870e._0x574feb,_0x626c9d-_0x3b870e._0x22aa68,_0x4708b6- -_0x3b870e._0x43eeb1,_0x611e11);}validateGrepPattern(_0x4e17e7[_0x135a6a(0xf9,0x31d,0x17c,_0x1eeefe._0x28ae0a)]);const _0x502c4c=_0x4e17e7['limit']??GREP_DEFAULT_LIMIT,_0x56b8f4=Number[_0x135a6a(_0x1eeefe._0x63b889,0x1a0,0x1f7,0x23f)](_0x502c4c)?Math[_0x135a6a(_0x1eeefe._0x2675e0,0x1b2,0x5f,_0x1eeefe._0x1822b2)](0x1,Math[_0x135a6a(-0x15a,-_0x1eeefe._0x4540cd,0x22b,0x70)](_0x502c4c)):GREP_DEFAULT_LIMIT;if(_0x4e17e7[_0x44a44e(0x754,0x584,_0x1eeefe._0x596c95,_0x1eeefe._0x15b956)]?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x5c8531=await search({'cwd':_0x4e17e7['cwd'],'pattern':_0x4e17e7['pattern'],..._0x4e17e7[_0x44a44e(0x3ce,_0x1eeefe._0x3c9cfa,_0x1eeefe._0x4996ec,0x688)]===void 0x0?{}:{'files':_0x4e17e7[_0x44a44e(_0x1eeefe._0x377e27,0x584,_0x1eeefe._0x16803f,0x470)]},..._0x4e17e7['glob']===void 0x0?{}:{'glob':_0x4e17e7[_0x135a6a(0xf2,_0x1eeefe._0x2c8609,_0x1eeefe._0x8d1a40,_0x1eeefe._0x1354bc)]},..._0x4e17e7[_0x135a6a(_0x1eeefe._0x4c4f37,0x85,-0x141,-0xcf)]===void 0x0?{}:{'context':_0x4e17e7[_0x135a6a(_0x1eeefe._0x421ce5,-_0x1eeefe._0x405416,0xeb,-0xcf)]},'limit':_0x56b8f4+0x1}),_0x2b4021=_0x5c8531[_0x44a44e(_0x1eeefe._0x37e2d0,0x722,_0x1eeefe._0x4af71b,0x53d)](_0x4034e0=>!_0x4034e0['isContext']),_0x10efe7=_0x2b4021['length']>_0x56b8f4,_0x5f3b1f=_0x2b4021[_0x44a44e(_0x1eeefe._0x47bbf7,_0x1eeefe._0x4e85b4,_0x1eeefe._0x4ccb18,0x755)](0x0,_0x56b8f4),_0x2c9982=new Set(_0x5f3b1f),_0x2e770b=Math[_0x44a44e(_0x1eeefe._0x4b50a3,_0x1eeefe._0x14b29c,0x855,_0x1eeefe._0x5689db)](0x0,Math[_0x135a6a(0x65,_0x1eeefe._0xc6020f,-_0x1eeefe._0x44ac25,0x70)](_0x4e17e7[_0x44a44e(0x313,0x492,_0x1eeefe._0x10a560,0x526)]??0x0)),_0x28203a=_0x10efe7?_0x5c8531[_0x135a6a(_0x1eeefe._0x45fb29,_0x1eeefe._0x435cbc,0xfd,0x1c1)](_0x44484e=>{if(!_0x44484e[_0x4a6692(0x2c3,_0x3b31c4._0x45f9d4,0xce,_0x3b31c4._0x169713)])return _0x2c9982[_0x4a6692(-0xa5,-_0x3b31c4._0xed1ea8,-0x1c0,-_0x3b31c4._0x214111)](_0x44484e);function _0x4a6692(_0x1691e0,_0xde33c,_0x5b58e1,_0x36da0b){return _0x44a44e(_0x1691e0-0x146,_0x36da0b- -0x63b,_0x5b58e1-0x1a9,_0x1691e0);}function _0x2cea8d(_0x2a7622,_0x1ff7fc,_0x36abce,_0x1fbcec){return _0x135a6a(_0x1fbcec,_0x1ff7fc-0x1bb,_0x36abce-_0x380409._0x1d2182,_0x1ff7fc-_0x380409._0x4724fb);}return _0x5f3b1f[_0x4a6692(0x1b8,_0x3b31c4._0x8ab13b,-_0x3b31c4._0x1990ca,_0x3b31c4._0x17767c)](_0x326957=>_0x326957[_0x2cea8d(0x6b8,0x595,0x381,0x5e6)]===_0x44484e[_0x4a6692(-0x71,0x52,-0x34,-0x155)]&&Math[_0x2cea8d(0x9e2,0x87c,0x9a3,0x7c7)](_0x326957['lineNum']-_0x44484e[_0x4a6692(-0x29,-0x2e5,0x3,-0x10c)])<=_0x2e770b);}):_0x5c8531;function _0x44a44e(_0x1a0830,_0x9e8c12,_0x25ea25,_0x4427fd){return _0x5b2413(_0x1a0830-_0x5451e5._0x29aaca,_0x9e8c12-0x2e,_0x9e8c12- -0x102,_0x4427fd);}return{'matches':_0x28203a,'matchCount':_0x5f3b1f['length'],'fileCount':new Set(_0x28203a[_0x44a44e(_0x1eeefe._0x45047d,_0x1eeefe._0x131230,_0x1eeefe._0x532f58,0x890)](_0x5cbe43=>_0x5cbe43['filePath']))[_0x135a6a(-_0x1eeefe._0x32b3,-0x1dd,0x125,_0x1eeefe._0xbcc771)],'truncated':_0x10efe7};}import{stat as _0x491e8d}from'fs/promises';import*as _0x4be3bc from'path';function createGrepTool(_0x16d886={}){const _0x4a50e5={_0x1a646a:0x18e,_0x4f9c63:0xbf,_0x4e10c6:0x1e1,_0x4987cc:0x26e,_0x183536:0x283,_0x576e0d:0x4a2,_0x3391a3:0xa37,_0x38f062:0x8f4,_0x3c2494:0x879,_0x5f22b5:0x1b8,_0x262ab7:0x12a,_0x43fe2d:0x1fa,_0x4f0b75:0x40,_0x5c320e:0x37c,_0x44254a:0x216,_0x464068:0x5f2,_0x25eb50:0x277,_0x3c4eee:0x260,_0x24fff8:0x21d,_0x591482:0x295,_0x345999:0x386,_0xa389d8:0xda,_0x3d4196:0x7e3,_0x13002c:0x812,_0x5ed53f:0x79e,_0x43fe36:0x70e,_0x4c24ba:0x3b2,_0x119012:0x3a7,_0x29ce34:0x363},_0x198aa7={_0x2c57b2:0x7fe,_0x468cb6:0x795,_0x2e5e4e:0x6a4,_0x5421f6:0x614,_0x3a5086:0x553,_0x392076:0x395,_0x31f3a3:0x547,_0x12d6ff:0x543,_0x1869ff:0x3d1,_0x1882e0:0x492,_0x62ff30:0x436,_0x492b85:0x5f2,_0x186c71:0x437,_0x4bab86:0x4bd,_0x1f1f7f:0x404,_0x143856:0x6ae,_0x1aed62:0x2d8,_0xa46feb:0x10d,_0x54e11c:0x1c4,_0x19a91a:0x1a2,_0x49c35a:0x27f,_0xeb35d4:0x45d,_0x39eebc:0x36a,_0x5b729d:0x385,_0x38bec3:0x542,_0x1ec044:0x403,_0x340666:0x524,_0x5b2385:0x603,_0x4f47e8:0x459,_0x4627c7:0x42b,_0x581532:0x319,_0x30a63b:0x94f,_0x45aee4:0x7e9,_0x54656a:0x88a,_0x519967:0x545,_0x38b4cf:0x536,_0x1f852e:0x388,_0x1cd5d6:0x50c,_0x3e9937:0x440,_0x2654bb:0x33a,_0xfd24b5:0x3bc,_0x27e0a8:0x69b,_0x22d4c1:0x5c1,_0x57209b:0x4cf,_0x5bba64:0x518,_0x501259:0x5d3,_0x8eac3e:0x5f1,_0x45063a:0x615,_0x124501:0x67f,_0xda6c6a:0x5c0,_0x1997e7:0x466,_0x5e3b2f:0x4a0,_0xcb8f72:0x49b,_0x1753d3:0x3ab,_0xc06a63:0x3db,_0x5925de:0x48c,_0x34e959:0x41b,_0xfcf3a8:0x67e,_0x42f7d2:0x420,_0x579bdf:0x5dd,_0x412dd9:0x1c9,_0xed67ca:0x476,_0x5d675b:0x2d5,_0x1b48ea:0x970,_0x2e1545:0x6ce,_0x17219d:0x71c,_0x5e8630:0x2cd,_0x448d40:0x357,_0x596db2:0x427,_0xd2fd31:0xf9,_0xecc0c1:0x355,_0xfe8bfa:0x43e,_0x201e65:0x2dd,_0xee7e1a:0x466,_0x28429b:0x624,_0x2bf941:0x5a8,_0x4b9b95:0x47d,_0x36ccb8:0x555,_0x29ac24:0x356,_0x25a054:0x3a2},_0x25da8f={_0x2ed97d:0x1ac,_0x270deb:0xdf},_0x3089ac={_0x18d1e8:0xf8,_0x5236d7:0xb1},_0x1088cb={_0x1b77dd:0x12c,_0x468e98:0x33},_0x471263=_0x4be3bc[_0x1bf382(_0x4a50e5._0x1a646a,_0x4a50e5._0x4f9c63,_0x4a50e5._0x4e10c6,_0x4a50e5._0x4987cc)](_0x16d886[_0x1bf382(0x31a,0x468,_0x4a50e5._0x183536,_0x4a50e5._0x576e0d)]??process[_0x55f013(_0x4a50e5._0x3391a3,0xa78,0x8b6,_0x4a50e5._0x38f062)]());function _0x1bf382(_0x54c8e2,_0x1acb05,_0x55fc33,_0x5161d8){return _0x28bc81(_0x54c8e2-_0x1088cb._0x1b77dd,_0x1acb05-_0x1088cb._0x468e98,_0x55fc33- -0x79,_0x5161d8);}function _0x55f013(_0x32c6cc,_0x224bc8,_0x5ef883,_0x4a47bd){return _0x5b2413(_0x32c6cc-0x62,_0x224bc8-_0x3089ac._0x18d1e8,_0x4a47bd- -_0x3089ac._0x5236d7,_0x5ef883);}const _0x5139a2=_0x16d886[_0x55f013(0x78d,_0x4a50e5._0x3c2494,0x5fe,0x66c)]??[],_0x1b4dc5=_0x16d886[_0x1bf382(_0x4a50e5._0x5f22b5,_0x4a50e5._0x262ab7,_0x4a50e5._0x43fe2d,0x1dd)]??GREP_DEFAULT_LIMIT,_0x31b796=_0x16d886['name']??_0x1bf382(_0x4a50e5._0x4f0b75,_0x4a50e5._0x5c320e,_0x4a50e5._0x44254a,0xe);return defineTool({'name':_0x31b796,'permissionClass':'read','description':_0x55f013(0x67d,_0x4a50e5._0x464068,0x720,0x794),'inputSchema':{'type':_0x55f013(0x52d,0x36c,0x6f3,0x553),'properties':{'pattern':{'type':_0x1bf382(_0x4a50e5._0x25eb50,_0x4a50e5._0x3c4eee,_0x4a50e5._0x24fff8,_0x4a50e5._0x591482)},'path':{'type':_0x55f013(0x57c,0x653,0x4e3,0x584)},'include':{'type':_0x1bf382(0xdc,_0x4a50e5._0x345999,0x21d,_0x4a50e5._0xa389d8)},'limit':{'type':_0x55f013(_0x4a50e5._0x3d4196,_0x4a50e5._0x13002c,_0x4a50e5._0x5ed53f,_0x4a50e5._0x43fe36)},'context':{'type':_0x1bf382(_0x4a50e5._0x4c24ba,0x2ab,_0x4a50e5._0x119012,0x3f6)}},'required':[_0x1bf382(0x299,0x4c4,_0x4a50e5._0x29ce34,0x3d5)]},async *'execute'(_0x3c1596){const _0x13126c={_0x373763:0x1cc,_0x4d51e9:0x191,_0x2dc666:0x372};try{validateGrepPattern(_0x3c1596['pattern']);}catch(_0x4952ba){throw new ToolExecutionError(_0x4952ba[_0x37330c(0x6b5,_0x198aa7._0x2c57b2,_0x198aa7._0x468cb6,0x668)],{});}const _0x35d3df=resolveAllowedPath(_0x471263,_0x5139a2,_0x3c1596[_0x37330c(0x6a8,_0x198aa7._0x2e5e4e,_0x198aa7._0x5421f6,_0x198aa7._0x3a5086)]??'.'),_0x4c53b3=await _0x491e8d(_0x35d3df)['catch'](()=>null),_0x232002=_0x4c53b3?.[_0x37330c(_0x198aa7._0x392076,_0x198aa7._0x31f3a3,0x3a3,0x4b9)]()??![],_0x812c43=_0x4c53b3?.[_0x37330c(_0x198aa7._0x12d6ff,0x366,_0x198aa7._0x1869ff,0x412)]()??![];function _0x1147d3(_0x3dda98,_0x83a947,_0x38ba6a,_0x48c165){return _0x1bf382(_0x3dda98-_0x13126c._0x373763,_0x83a947-_0x13126c._0x4d51e9,_0x48c165-_0x13126c._0x2dc666,_0x83a947);}if(!_0x232002&&!_0x812c43)throw new ToolExecutionError(_0x37330c(0x273,0x445,_0x198aa7._0x1882e0,_0x198aa7._0x62ff30)+(_0x3c1596[_0x37330c(0x614,0x3f3,_0x198aa7._0x492b85,_0x198aa7._0x3a5086)]??'.'),{'path':_0x3c1596[_0x37330c(_0x198aa7._0x186c71,0x505,_0x198aa7._0x4bab86,_0x198aa7._0x3a5086)]??'.'});const _0x534431=await searchRegex({'cwd':_0x812c43?_0x35d3df:_0x4be3bc[_0x37330c(0x20a,0x15e,_0x198aa7._0x1f1f7f,0x260)](_0x35d3df),'pattern':_0x3c1596['pattern'],'glob':_0x812c43?_0x3c1596[_0x1147d3(_0x198aa7._0x143856,0x887,0x89d,0x82f)]:void 0x0,'limit':_0x3c1596[_0x37330c(_0x198aa7._0x1aed62,0x121,_0x198aa7._0xa46feb,0x2fd)]??_0x1b4dc5,'files':_0x232002?[_0x35d3df]:void 0x0,'context':_0x3c1596[_0x37330c(_0x198aa7._0x54e11c,0x7f,_0x198aa7._0x19a91a,_0x198aa7._0x49c35a)]}),{matches:_0x114dbf}=_0x534431,_0xf932be=new Map();for(const _0x499302 of _0x114dbf){if(!_0xf932be[_0x37330c(0x428,_0x198aa7._0xeb35d4,0x1c4,_0x198aa7._0x392076)](_0x499302['filePath'])){const _0x15307d=await _0x491e8d(_0x499302[_0x1147d3(_0x198aa7._0x39eebc,_0x198aa7._0x5b729d,0x733,_0x198aa7._0x38bec3)])[_0x1147d3(_0x198aa7._0x1ec044,0x5a7,0x6a3,_0x198aa7._0x340666)](()=>null);_0xf932be[_0x37330c(0x657,_0x198aa7._0x5b2385,_0x198aa7._0x4f47e8,0x4c1)](_0x499302['filePath'],{'matches':[],'mtime':_0x15307d?.[_0x37330c(_0x198aa7._0x4627c7,0x120,_0x198aa7._0x581532,0x2bd)]??0x0});}_0xf932be[_0x1147d3(_0x198aa7._0x30a63b,0x8ef,_0x198aa7._0x45aee4,_0x198aa7._0x54656a)](_0x499302[_0x1147d3(0x4b8,_0x198aa7._0x519967,0x64d,0x542)])?.[_0x1147d3(0x754,_0x198aa7._0x38b4cf,_0x198aa7._0x1f852e,0x544)][_0x37330c(0x24d,_0x198aa7._0x1cd5d6,0x371,_0x198aa7._0x3e9937)](_0x499302);}const _0x10b539=[..._0xf932be[_0x37330c(0x2d6,0x4ee,0x295,_0x198aa7._0x2654bb)]()][_0x1147d3(0x6a7,_0x198aa7._0xfd24b5,_0x198aa7._0x27e0a8,_0x198aa7._0x22d4c1)]((_0xf82de3,_0x276898)=>_0x276898[0x1][_0x37330c(0x442,0x55b,0x5d4,0x5b9)]-_0xf82de3[0x1][_0x1147d3(0x683,0x747,0x6c7,0x828)]),_0x4c0b41=_0x232002?_0x4be3bc[_0x1147d3(0x6cd,0x539,0x47d,_0x198aa7._0x57209b)](_0x35d3df):_0x35d3df;function _0x37330c(_0x3b9d76,_0x7d253,_0x1f7df1,_0x268fee){return _0x55f013(_0x3b9d76-_0x25da8f._0x2ed97d,_0x7d253-_0x25da8f._0x270deb,_0x3b9d76,_0x268fee- -0x264);}let _0x17f847='';if(_0x114dbf[_0x37330c(0x714,_0x198aa7._0x5bba64,0x3d9,_0x198aa7._0x501259)]===0x0)_0x17f847=_0x37330c(0x76d,0x45a,_0x198aa7._0x8eac3e,0x648)+_0x3c1596[_0x37330c(_0x198aa7._0x45063a,_0x198aa7._0x124501,_0x198aa7._0xda6c6a,_0x198aa7._0x1997e7)];else{_0x17f847=_0x1147d3(_0x198aa7._0x5e3b2f,0x75d,_0x198aa7._0xcb8f72,0x571)+_0x534431[_0x37330c(_0x198aa7._0x1753d3,0x4be,0x2aa,_0x198aa7._0xc06a63)]+_0x37330c(0x608,0x327,_0x198aa7._0x5925de,_0x198aa7._0x34e959)+(_0x534431['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x49b24c,_0x46df89]of _0x10b539){const _0x29856b=_0x232002?_0x4be3bc[_0x1147d3(0x75f,0x6d0,0x5b4,_0x198aa7._0xfcf3a8)](_0x49b24c):_0x4be3bc[_0x1147d3(_0x198aa7._0x42f7d2,0x789,0x605,_0x198aa7._0x579bdf)](_0x4c0b41,_0x49b24c);_0x17f847+='\x0a'+_0x29856b+':\x0a';for(const _0x59dcd1 of _0x46df89[_0x37330c(_0x198aa7._0x412dd9,_0x198aa7._0x581532,_0x198aa7._0xed67ca,_0x198aa7._0x5d675b)]){const _0x20b255=boundedGrepSnippet(_0x59dcd1[_0x1147d3(_0x198aa7._0x1b48ea,0x92f,_0x198aa7._0x2e1545,0x757)]),_0x4a2437=_0x59dcd1[_0x37330c(_0x198aa7._0x17219d,0x508,0x5d2,0x5cd)]?'\x20\x20':'>\x20';_0x17f847+=_0x4a2437+_0x37330c(0x2c9,0x2a2,0x1a0,_0x198aa7._0x5e8630)+_0x59dcd1['lineNum']+':\x20'+_0x20b255+'\x0a';}}_0x534431[_0x37330c(0x2ab,_0x198aa7._0x448d40,0x3ac,0x2db)]&&(_0x17f847+=_0x37330c(_0x198aa7._0x596db2,_0x198aa7._0xd2fd31,0x17c,0x283));}const _0xe7883c={'searchPath':_0x4be3bc[_0x1147d3(0x49c,0x4ba,0x531,0x5dd)](_0x471263,_0x35d3df)||'.','pattern':_0x3c1596[_0x37330c(_0x198aa7._0xecc0c1,_0x198aa7._0xfe8bfa,_0x198aa7._0x201e65,_0x198aa7._0xee7e1a)],'matchCount':_0x534431['matchCount'],'fileCount':_0x534431[_0x1147d3(_0x198aa7._0x28429b,0x528,0x608,_0x198aa7._0x2bf941)],'truncated':_0x534431['truncated']};return _0x812c43&&_0x3c1596[_0x37330c(0x5c3,0x744,0x7cd,_0x198aa7._0xda6c6a)]!==void 0x0&&(_0xe7883c['include']=_0x3c1596['include']),yield createToolOutput(_0x17f847[_0x37330c(_0x198aa7._0x4b9b95,_0x198aa7._0x36ccb8,_0x198aa7._0x29ac24,_0x198aa7._0x25a054)](),_0xe7883c),void 0x0;}});}import{readdir,readFile as _0x3a206f,stat as _0x337fd9}from'fs/promises';import*as _0x27bf81 from'path';import*as _0x3a82fb from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x51f569,_0x301a52){const _0x3cd34d={_0x24ea7:0x6a2,_0x423eb4:0x57a,_0x403d2e:0x757,_0x41ee45:0x50d,_0x26f361:0x3b3,_0x2c7a7a:0x458,_0x2fd5d8:0x614,_0x592eec:0x93e,_0x2e4d78:0x8cc},_0x23a5af={_0x1ccd84:0x114},_0x5676ad={_0x106313:0x69};function _0x40494b(_0x39490a,_0xa642fe,_0x9b9bc2,_0x17a638){return _0x28bc81(_0x39490a-0x7d,_0xa642fe-_0x5676ad._0x106313,_0x17a638-0x1df,_0x39490a);}if(_0x301a52>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2d55c9=await _0x3a206f(_0x51f569)['catch'](()=>null);if(!_0x2d55c9||isProbablyBinary(_0x2d55c9))return void 0x0;function _0x4dda61(_0xb724d7,_0x3b0fb6,_0x5d0eee,_0x61c0c7){return _0x28bc81(_0xb724d7-0x54,_0x3b0fb6-_0x23a5af._0x1ccd84,_0x3b0fb6-0x2ce,_0x61c0c7);}return _0x2d55c9[_0x4dda61(_0x3cd34d._0x24ea7,0x66e,_0x3cd34d._0x423eb4,_0x3cd34d._0x403d2e)](_0x40494b(_0x3cd34d._0x41ee45,_0x3cd34d._0x26f361,0x337,_0x3cd34d._0x2c7a7a))[_0x40494b(_0x3cd34d._0x2fd5d8,0x6f2,0x7f4,0x624)](/\r?\n/)[_0x40494b(_0x3cd34d._0x592eec,_0x3cd34d._0x2e4d78,0x547,0x728)];}function createLsTool(_0x5ce9ef={}){const _0x5980ac={_0xa5ebed:0x46c,_0x4c3c67:0x5f3,_0x35fe36:0x319,_0x489ec5:0x47e,_0x41bcb2:0x509,_0x5d433f:0x399,_0x2973ff:0x2c6,_0x133afb:0x397},_0x84b33b={_0xf75bed:0x78b,_0x4c9077:0x589,_0x1ec2ee:0x1d3,_0x2aebec:0x57a,_0x1ff450:0x42a,_0x5cdea4:0x486,_0x2d7797:0x266,_0x2b1354:0x1b8,_0x1a37a9:0x18,_0x5a8d06:0x419,_0x1989d4:0x60a,_0x5f42a2:0x6a0,_0x57f666:0x4d7,_0x5efe78:0x5cb,_0x40e9f8:0xf3,_0x3b8567:0x1a0,_0x527d74:0x17d,_0x185af0:0x5c1,_0x1c41c3:0x600,_0x25169e:0x37a,_0x4370d8:0x3ce,_0x4db4fe:0x28f,_0x3eb4e8:0x69f,_0x15349a:0x543,_0x3450fa:0x72e,_0x4f8619:0x556,_0x3e2f51:0x685,_0x2a2cef:0xbf,_0x51f7d4:0xc7,_0x56fdc3:0x4b6,_0x28d3ef:0x1e3,_0x2aceae:0x3d6,_0x48bdb5:0x530,_0x8920fa:0x227,_0x1ed0ef:0x376,_0x50ac20:0x184,_0x32ce7b:0x193,_0x478fe3:0x2,_0xf33b21:0x308,_0x53187a:0x475,_0x25b375:0x329,_0x4b2a90:0x6cd,_0xfe5239:0x427,_0x5b2838:0x1a1,_0x4c462d:0x8f,_0x10e19b:0x225,_0x412435:0xea,_0x553d2a:0x2a6,_0x356a41:0x6ec,_0x1e5474:0x177,_0x301f80:0x3be,_0x3ec406:0x63,_0x155a20:0x397,_0x50298c:0x1f1},_0x31afab={_0x47818e:0x1cc},_0xae8d83={_0x55a89b:0x196,_0x6e3c08:0x112,_0x2149e3:0x61},_0xfce052=_0x27bf81['resolve'](_0x5ce9ef['defaultCwd']??process[_0x183ba6(_0x5980ac._0xa5ebed,_0x5980ac._0x4c3c67,0x64f,0x330)]()),_0x408a1d=_0x5ce9ef[_0x5e7a3b(0x3df,0x32b,0x5c0,0x600)]??[],_0x152173=_0x5ce9ef['name']??'Ls';function _0x5e7a3b(_0x3c468c,_0x4098aa,_0x32377e,_0xebe55){return _0x28bc81(_0x3c468c-_0xae8d83._0x55a89b,_0x4098aa-_0xae8d83._0x6e3c08,_0x3c468c-_0xae8d83._0x2149e3,_0xebe55);}function _0x183ba6(_0x4eb79c,_0x10d5ce,_0x44d1c6,_0x6bf25f){return _0x5b2413(_0x4eb79c-0xc7,_0x10d5ce-0x1e2,_0x4eb79c- -0x539,_0x6bf25f);}return defineTool({'name':_0x152173,'permissionClass':_0x5e7a3b(_0x5980ac._0x35fe36,0x290,_0x5980ac._0x489ec5,0x2d2),'description':_0x5e7a3b(_0x5980ac._0x41bcb2,0x4d4,_0x5980ac._0x5d433f,0x4fd),'inputSchema':{'type':_0x5e7a3b(_0x5980ac._0x2973ff,0x4d1,0x32d,0x400),'properties':{'path':{'type':'string'},'limit':{'type':_0x183ba6(0x286,0x6e,_0x5980ac._0x133afb,0x41d)}}},async *'execute'(_0xd384de){const _0x322546={_0x1174b8:0x113,_0x18109b:0x44},_0x3346c0=_0xd384de[_0xc2a088(0x79e,_0x84b33b._0xf75bed,0x66c,0x751)]??'.',_0x5861d9=resolveAllowedPath(_0xfce052,_0x408a1d,_0x3346c0),_0x71ec87=await _0x337fd9(_0x5861d9)[_0xc2a088(0x3ea,_0x84b33b._0x4c9077,0x3ce,_0x84b33b._0x1ec2ee)](()=>null);if(!_0x71ec87?.[_0xc2a088(_0x84b33b._0x2aebec,_0x84b33b._0x1ff450,0x52b,_0x84b33b._0x5cdea4)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x3346c0,{'path':_0x3346c0});const _0x2a063b=_0xd384de[_0x2d18e8(-0x2fa,-_0x84b33b._0x2d7797,-0xcd,-0xe5)]??0x3e8,_0x44055c=Math[_0x2d18e8(_0x84b33b._0x2b1354,-0x60,0x126,-_0x84b33b._0x1a37a9)](Math[_0xc2a088(_0x84b33b._0x5a8d06,0x5a0,_0x84b33b._0x1989d4,0x49c)](Math[_0xc2a088(0x682,_0x84b33b._0x5f42a2,_0x84b33b._0x57f666,_0x84b33b._0x5efe78)](_0x2a063b),0x1),0x2710);function _0xc2a088(_0x3e7cc5,_0x473cb1,_0xcd4e5b,_0x21f967){return _0x5e7a3b(_0xcd4e5b-0x142,_0x473cb1-_0x322546._0x1174b8,_0xcd4e5b-_0x322546._0x18109b,_0x473cb1);}const _0x3e5312=await readdir(_0x5861d9),_0x4b7411=[];for(const _0xb0a70c of _0x3e5312[_0x2d18e8(_0x84b33b._0x40e9f8,0x1a6,_0x84b33b._0x3b8567,_0x84b33b._0x527d74)](0x0,_0x44055c)){const _0x210044=_0x27bf81[_0xc2a088(_0x84b33b._0x185af0,0x448,_0x84b33b._0x1c41c3,0x66c)](_0x5861d9,_0xb0a70c),_0x5ef590=await _0x337fd9(_0x210044)[_0xc2a088(0x303,_0x84b33b._0x25169e,_0x84b33b._0x4370d8,_0x84b33b._0x4db4fe)](()=>null);if(!_0x5ef590)continue;let _0x5be154=_0xc2a088(_0x84b33b._0x3eb4e8,_0x84b33b._0x15349a,_0x84b33b._0x3450fa,_0x84b33b._0x4f8619);if(_0x5ef590['isFile']())_0x5be154='file';else{if(_0x5ef590['isDirectory']())_0x5be154=_0xc2a088(_0x84b33b._0x3e2f51,0x6ff,0x522,0x688);else{if(_0x5ef590[_0x2d18e8(0xd4,-_0x84b33b._0x2a2cef,0x2ea,_0x84b33b._0x51f7d4)]())_0x5be154='symlink';}}const _0x177342={'name':_0xb0a70c,'type':_0x5be154,'size':_0x5ef590[_0xc2a088(0x3fa,0x469,0x475,_0x84b33b._0x56fdc3)],'mtime':_0x5ef590[_0xc2a088(0x4d1,_0x84b33b._0x28d3ef,_0x84b33b._0x2aceae,_0x84b33b._0x48bdb5)],'mode':_0x5ef590[_0x2d18e8(_0x84b33b._0x8920fa,_0x84b33b._0x1ed0ef,0x24d,_0x84b33b._0x50ac20)]},_0x13188e=_0x5be154===_0x2d18e8(_0x84b33b._0x32ce7b,_0x84b33b._0x478fe3,-0x79,0x12e)?await countTextLines(_0x210044,_0x5ef590[_0xc2a088(0x59c,_0x84b33b._0xf33b21,_0x84b33b._0x53187a,_0x84b33b._0x25b375)]):void 0x0;if(_0x13188e!==void 0x0)_0x177342[_0xc2a088(0x641,_0x84b33b._0x4b2a90,0x532,_0x84b33b._0xfe5239)]=_0x13188e;_0x4b7411[_0x2d18e8(_0x84b33b._0x5b2838,-_0x84b33b._0x4c462d,_0x84b33b._0x10e19b,0x5e)](_0x177342);}_0x4b7411[_0x2d18e8(_0x84b33b._0x412435,-_0x84b33b._0x553d2a,0x9b,-0x90)]((_0x1eaac0,_0x480858)=>_0x1eaac0['name']['localeCompare'](_0x480858[_0xc2a088(0x737,0x406,0x619,0x706)]));const _0x5d592d={'path':_0x3346c0,'total':_0x4b7411[_0xc2a088(0x750,0x8d9,_0x84b33b._0x356a41,0x56f)],'truncated':_0x3e5312['length']>_0x44055c,'entries':_0x4b7411};yield createToolOutput(_0x3a82fb[_0x2d18e8(0x2ad,_0x84b33b._0x1e5474,_0x84b33b._0x301f80,0x1dc)](_0x5d592d,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x3346c0,'total':_0x4b7411[_0x2d18e8(_0x84b33b._0x3ec406,0xec,_0x84b33b._0x155a20,_0x84b33b._0x50298c)],'truncated':_0x3e5312['length']>_0x44055c,'limit':_0x44055c,'entries':_0x4b7411});function _0x2d18e8(_0x11bb6c,_0x313497,_0x3729f2,_0x55ded7){return _0x183ba6(_0x55ded7- -0x1be,_0x313497-_0x31afab._0x47818e,_0x3729f2-0x1e2,_0x313497);}return void 0x0;}});}import{readFile as _0x75aaf0,stat as _0x98e461}from'fs/promises';import*as _0x3ed9fb from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x28bc81(0x1b9,0x160,0x366,0x172),'high',_0x28bc81(0x230,0x348,0x2ea,0x447),_0x28bc81(0x230,0x118,0x286,0x426)]),PNG_SIGNATURE=Buffer[_0x5b2413(0x4b2,0x4a2,0x5a7,0x6a6)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x295855,_0x333522){const _0x48d22c={_0x1de3c6:0x19a,_0x5d65bc:0x2bd,_0x2ec0e0:0x3fe,_0x49d2d3:0x5de,_0xe9f095:0x416,_0x532088:0x329,_0x12d8a7:0x35f,_0x54b45a:0x2ca,_0x4dfeaa:0x4d8,_0x72cc67:0x4a6,_0x1715a6:0x360,_0xe05711:0x4fd,_0x24c759:0x4dc,_0x215199:0x5b4,_0x412454:0x2d3,_0x28a4b4:0x35f,_0x3e6e1d:0x174,_0x41d1b9:0x56e,_0x2d64bc:0x1b8,_0x5ea883:0x4cc,_0xff066e:0x6e0,_0x5a1de8:0x65c,_0x17972d:0xe7,_0x466121:0x404,_0x4dd4f0:0x24d,_0x3d0947:0x3fa,_0x35da73:0x39d,_0x21876c:0x33c,_0x30bf91:0x251,_0x4ab92c:0x425,_0x34abca:0x2ab,_0x9caf5b:0x9f,_0x26a761:0x4b1,_0xd607ca:0x3bf,_0x389b9f:0x20f,_0x12ec09:0x1de,_0xcb72b2:0x39b,_0x137fac:0x233,_0x5e7fab:0x507,_0x14170a:0x1e3,_0x292e2c:0x3b1,_0x5eb64b:0x426,_0x45fe12:0x4c4},_0x4162db={_0x29b52e:0x5d};if(_0x295855[_0x6fcf62(0x2f6,_0x48d22c._0x1de3c6,_0x48d22c._0x5d65bc,_0x48d22c._0x2ec0e0)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x6fcf62(_0x48d22c._0x49d2d3,0x609,_0x48d22c._0xe9f095,_0x48d22c._0x532088);function _0x6fcf62(_0x1b2cd5,_0x4aaf81,_0x52c4e0,_0x271cf4){return _0x5b2413(_0x1b2cd5-_0x4162db._0x29b52e,_0x4aaf81-0x5d,_0x52c4e0- -0x481,_0x4aaf81);}if(_0x295855[0x0]===0xff&&_0x295855[0x1]===0xd8&&_0x295855[0x2]===0xff)return'image/jpeg';const _0x132c38=_0x295855[_0x480768(_0x48d22c._0x12d8a7,_0x48d22c._0x54b45a,_0x48d22c._0x4dfeaa,_0x48d22c._0x72cc67)](0x0,0x6)[_0x480768(_0x48d22c._0x1715a6,_0x48d22c._0xe05711,0x18b,_0x48d22c._0x24c759)]('ascii');if(_0x132c38===_0x480768(_0x48d22c._0x215199,0x7b2,0x452,0x5f9)||_0x132c38===_0x6fcf62(0x2ba,0x283,_0x48d22c._0x412454,_0x48d22c._0x28a4b4))return _0x6fcf62(_0x48d22c._0x3e6e1d,0x2d4,0x384,_0x48d22c._0x41d1b9);function _0x480768(_0x19245f,_0x2201da,_0xe7814a,_0x5905f7){return _0x5b2413(_0x19245f-0x5,_0x2201da-0xec,_0x19245f- -0x3df,_0x2201da);}if(_0x295855[_0x6fcf62(0x182,0x36c,0x2bd,_0x48d22c._0x2d64bc)](0x0,0x4)['toString'](_0x480768(0x24d,0x434,0x13f,0x1f9))===_0x480768(_0x48d22c._0x5ea883,_0x48d22c._0xff066e,_0x48d22c._0x5a1de8,0x4ea)&&_0x295855[_0x6fcf62(0x480,0x338,0x2bd,_0x48d22c._0x17972d)](0x8,0xc)[_0x6fcf62(0x310,0x30d,0x2be,_0x48d22c._0x466121)](_0x480768(_0x48d22c._0x4dd4f0,0xd2,0x327,_0x48d22c._0x3d0947))===_0x480768(0x2db,_0x48d22c._0x35da73,_0x48d22c._0x21876c,0x4a5))return'image/webp';const _0x57a126=_0x3ed9fb[_0x480768(_0x48d22c._0x30bf91,_0x48d22c._0x4ab92c,_0x48d22c._0x34abca,_0x48d22c._0x9caf5b)](_0x333522)[_0x480768(0x336,0x2bf,0x33b,_0x48d22c._0x26a761)]();if(_0x57a126==='.png')return'image/png';if(_0x57a126===_0x480768(0x298,0x196,0x84,_0x48d22c._0xd607ca)||_0x57a126===_0x6fcf62(0x3e6,0x31d,_0x48d22c._0x389b9f,_0x48d22c._0x12ec09))return _0x480768(_0x48d22c._0xcb72b2,_0x48d22c._0x137fac,_0x48d22c._0x5e7fab,0x3f1);if(_0x57a126===_0x6fcf62(0x453,_0x48d22c._0x14170a,_0x48d22c._0x292e2c,0x39c))return _0x480768(_0x48d22c._0x5eb64b,0x3ed,_0x48d22c._0x45fe12,0x2bb);if(_0x57a126==='.webp')return'image/webp';return void 0x0;}function normalizeDetail(_0x1daf18){const _0x211220={_0xce8992:0x879,_0x4b822c:0x774,_0x9b3164:0x847,_0xb662af:0x76b,_0x425955:0x489,_0x50e7f8:0x7e9,_0x3db8e1:0x9c6},_0x42f510={_0x51dc2e:0xb2},_0x2ed6c3={_0xa873b1:0xed};function _0xbec027(_0x59bac7,_0x231320,_0x42e2fa,_0x3e1301){return _0x5b2413(_0x59bac7-_0x2ed6c3._0xa873b1,_0x231320-0x84,_0x3e1301- -0x32,_0x59bac7);}if(_0x1daf18===void 0x0)return void 0x0;const _0x1dd8bb=_0x1daf18[_0xbec027(_0x211220._0xce8992,_0x211220._0x4b822c,_0x211220._0x9b3164,0x685)]()[_0x5594bf(_0x211220._0xb662af,0x6a0,0x94b,0x82e)]();function _0x5594bf(_0x323ec3,_0x3b97b3,_0x2fd965,_0x4fea98){return _0x5b2413(_0x323ec3-_0x42f510._0x51dc2e,_0x3b97b3-0x26,_0x323ec3-0x56,_0x4fea98);}if(!SUPPORTED_DETAILS[_0xbec027(_0x211220._0x425955,0x52f,_0x211220._0x50e7f8,0x678)](_0x1dd8bb))throw new ToolExecutionError(_0x5594bf(0x811,_0x211220._0x3db8e1,0x721,0x8cf)+_0x1daf18,{'detail':_0x1daf18});return _0x1dd8bb;}function createViewFileTool(_0x104b92={}){const _0x67918d={_0x211aec:0x214,_0x6cd89d:0x12f,_0x1b0ee6:0x169,_0xf22974:0x80c,_0x15ceb5:0x873,_0x111bc3:0x6d0,_0x523da9:0x588,_0x536c1f:0x5d5,_0x518e42:0x577,_0x5dda02:0x11d,_0x4bc11b:0xda,_0x4345d2:0x690,_0x2d9e5f:0x6a8,_0x120ed3:0x67a,_0x83d20a:0x1d3,_0x2b7ef0:0x7d,_0x5c8cdd:0x47,_0x152015:0x601,_0x8a3447:0x5bf,_0x1aa034:0x5fe,_0x3c6bef:0x12d,_0x3e9453:0x61,_0x2f6643:0xe7},_0x2605b5={_0x323223:0x258,_0x2fc1b1:0x274,_0x464255:0x3a5,_0x2aac7b:0x2f9,_0x5c94f9:0x3e5,_0x1edd98:0x569,_0x311456:0x3f9,_0x3b52bb:0x247,_0x262fa:0x3ec,_0x4b2a7b:0x48d,_0x57e42f:0x226,_0x202cba:0x12e,_0xb072e1:0x18c,_0x1d3f12:0x1e2,_0x2bc1d0:0x406,_0x541f03:0x4b7,_0x35b723:0x4bf,_0x52a17b:0x654,_0x3932c7:0x5fd,_0x454909:0x425,_0x16bd13:0x4af,_0x4a6e55:0x42a,_0x43f88d:0x20b,_0x3845a6:0x322,_0x163dcf:0x215,_0x5f166f:0x276,_0x423802:0x593,_0x2ccab7:0x3ff,_0x23b218:0x442,_0x42955b:0x547,_0xe3f63b:0x410,_0x34a203:0x2ce,_0x403254:0x424,_0xb00ae9:0x172,_0x178fc2:0x2d9,_0x3a1693:0xed,_0x44030c:0x3ef,_0x5bf277:0x685,_0xe2ba85:0x2a5,_0x46c4c0:0x2f0,_0x28bc4e:0x70,_0x2a2c21:0x1fd,_0x543d4f:0x235,_0x2c6d0:0x2e1,_0x1c900f:0x3cb,_0x42fb08:0x274,_0x44a570:0x10f},_0x36b995={_0x264449:0xf8,_0x1197b9:0xdb},_0x30684a={_0x3bc2b1:0x1e1,_0xf21aaa:0x81},_0x1ed6a1=_0x3ed9fb['resolve'](_0x104b92[_0xc099d5(-_0x67918d._0x211aec,-0xa0,_0x67918d._0x6cd89d,_0x67918d._0x1b0ee6)]??process[_0x39a137(_0x67918d._0xf22974,0x971,_0x67918d._0x15ceb5,0x982)]()),_0x315372=_0x104b92['allowedDirs']??[],_0x581ef7=_0x104b92[_0x39a137(_0x67918d._0x111bc3,_0x67918d._0x523da9,_0x67918d._0x536c1f,_0x67918d._0x518e42)]??DEFAULT_MAX_BYTES;function _0x39a137(_0x22f249,_0x22fc2c,_0xbc6e2a,_0x4d373b){return _0x5b2413(_0x22f249-_0x30684a._0x3bc2b1,_0x22fc2c-_0x30684a._0xf21aaa,_0x22fc2c- -0x34,_0xbc6e2a);}function _0xc099d5(_0x357a39,_0x2d21e3,_0x3a2e41,_0x107f11){return _0x28bc81(_0x357a39-_0x36b995._0x264449,_0x2d21e3-_0x36b995._0x1197b9,_0x2d21e3- -0x39c,_0x107f11);}const _0x3f9191=_0x104b92[_0xc099d5(-_0x67918d._0x5dda02,_0x67918d._0x4bc11b,0x8,0x259)]??_0x39a137(0x7ac,_0x67918d._0x4345d2,0x87a,0x4e0);return defineTool({'name':_0x3f9191,'permissionClass':'read','description':_0x39a137(0x4b1,_0x67918d._0x2d9e5f,0x4f3,_0x67918d._0x120ed3),'inputSchema':{'type':_0xc099d5(-_0x67918d._0x83d20a,-0x137,_0x67918d._0x2b7ef0,-_0x67918d._0x5c8cdd),'properties':{'path':{'type':_0x39a137(0x7d2,_0x67918d._0x152015,_0x67918d._0x8a3447,_0x67918d._0x1aa034)},'detail':{'type':'string'}},'required':[_0xc099d5(-0x61,_0x67918d._0x3c6bef,-_0x67918d._0x3e9453,_0x67918d._0x2f6643)]},async *'execute'(_0x452c76){const _0x2c6900={_0x311904:0x33e,_0x51c280:0xae},_0x3d36d8={_0x224b06:0x2d5},_0x5c1b08=resolveAllowedPath(_0x1ed6a1,_0x315372,_0x452c76['path']);await assertWorkspaceFile(_0x5c1b08);const _0xdb7118=await _0x98e461(_0x5c1b08);if(_0xdb7118[_0x582a66(_0x2605b5._0x323223,0x33c,_0x2605b5._0x2fc1b1,0x497)]>_0x581ef7)throw new ToolExecutionError(_0x4db929(0x21f,_0x2605b5._0x464255,0x275,0x74)+_0x452c76[_0x4db929(_0x2605b5._0x2aac7b,0x4c3,0x402,0x33e)],{'path':_0x452c76['path'],'maxBytes':_0x581ef7,'size':_0xdb7118[_0x4db929(0x3af,0x2de,0x20b,0x1e9)]});const _0x531b19=await _0x75aaf0(_0x5c1b08),_0x5b92b2=detectImageMediaType(_0x531b19,_0x5c1b08);if(!_0x5b92b2)throw new ToolExecutionError(_0x4db929(_0x2605b5._0x5c94f9,_0x2605b5._0x1edd98,_0x2605b5._0x311456,0x278)+_0x452c76[_0x4db929(_0x2605b5._0x3b52bb,0x400,0x402,_0x2605b5._0x262fa)],{'path':_0x452c76['path'],'supported':[_0x582a66(0x359,0x382,0x435,_0x2605b5._0x4b2a7b),_0x582a66(0xbb,0x461,0x293,0x177),_0x582a66(_0x2605b5._0x57e42f,_0x2605b5._0x202cba,0x27a,0x153),_0x582a66(_0x2605b5._0xb072e1,_0x2605b5._0x1d3f12,0x253,0x88),_0x582a66(0x28b,0x439,_0x2605b5._0x2bc1d0,0x2e4)]});const _0x18e554=normalizeDetail(_0x452c76[_0x4db929(0x3bd,_0x2605b5._0x541f03,0x349,0x2f3)]),_0x38e761=[_0x582a66(_0x2605b5._0x35b723,_0x2605b5._0x52a17b,0x4b2,_0x2605b5._0x3932c7)+_0x452c76[_0x4db929(_0x2605b5._0x454909,0x286,0x402,_0x2605b5._0x16bd13)],_0x4db929(0x516,0x4c0,0x330,0x331)+_0x5b92b2,'Size:\x20'+_0xdb7118[_0x4db929(0x2ce,_0x2605b5._0x4a6e55,_0x2605b5._0x43f88d,0x14b)]+_0x582a66(0x14e,0x533,_0x2605b5._0x3845a6,0x147)]['concat'](_0x18e554?[_0x582a66(_0x2605b5._0x163dcf,0x17f,0x17d,_0x2605b5._0x5f166f)+_0x18e554]:[])[_0x582a66(0x3ce,_0x2605b5._0x423802,_0x2605b5._0x2ccab7,0x37d)]('\x0a');function _0x4db929(_0x2037e4,_0x3b1183,_0x2b795c,_0x1ee1f8){return _0xc099d5(_0x2037e4-0x9f,_0x2b795c-_0x3d36d8._0x224b06,_0x2b795c-0x2f,_0x3b1183);}function _0x582a66(_0x593685,_0x8d32ee,_0x4deda7,_0x22ebce){return _0xc099d5(_0x593685-0xf0,_0x4deda7-_0x2c6900._0x311904,_0x4deda7-_0x2c6900._0x51c280,_0x8d32ee);}const _0x24c1fa=[{'type':_0x4db929(_0x2605b5._0x23b218,_0x2605b5._0x42955b,_0x2605b5._0xe3f63b,_0x2605b5._0x34a203),'source':{'type':_0x4db929(_0x2605b5._0x403254,0x1a3,0x21a,0xe0),'media_type':_0x5b92b2,'data':_0x531b19[_0x4db929(0xbb,_0x2605b5._0xb00ae9,_0x2605b5._0x178fc2,_0x2605b5._0x3a1693)](_0x4db929(_0x2605b5._0x44030c,0x41d,0x21a,0x1d8))}},{'type':'text','text':_0x38e761}];return yield createToolOutput(_0x38e761,{'path':_0x452c76[_0x582a66(_0x2605b5._0x5bf277,0x435,0x46b,0x44b)],'resolvedPath':_0x5c1b08,'created':_0xdb7118[_0x4db929(0x15c,_0x2605b5._0xe2ba85,_0x2605b5._0x46c4c0,_0x2605b5._0x23b218)][_0x4db929(0x124,_0x2605b5._0x28bc4e,0x16f,0x31e)](),'modified':_0xdb7118[_0x4db929(0x529,0x3b4,0x468,0x2b4)][_0x4db929(_0x2605b5._0x2a2c21,_0x2605b5._0x543d4f,0x16f,_0x2605b5._0x2c6d0)](),'size':_0xdb7118[_0x582a66(0x1d5,_0x2605b5._0x1c900f,_0x2605b5._0x42fb08,_0x2605b5._0x44a570)],'mimeType':_0x5b92b2,'encoding':_0x582a66(0x3ff,0x205,0x283,0x3f4),..._0x18e554?{'detail':_0x18e554}:{}},_0x24c1fa),void 0x0;}});}function createQuestionId(){const _0x1fc032={_0x16534a:0x2cc,_0x136eba:0x4b9,_0x38218c:0x4c3,_0x368e37:0x425,_0x239d0b:0x3b3},_0x11dee1={_0x292dee:0x1e5,_0x3be68f:0x30b},_0x2713ad={_0x1f0c7e:0xe,_0x5ca6c1:0xcf};function _0x329290(_0x783970,_0x227eed,_0xd2162c,_0x2567c7){return _0x28bc81(_0x783970-_0x2713ad._0x1f0c7e,_0x227eed-_0x2713ad._0x5ca6c1,_0x2567c7- -0x8,_0xd2162c);}function _0x55e801(_0xf0074d,_0xb6c11a,_0x3b447f,_0x1c78b9){return _0x28bc81(_0xf0074d-0xf4,_0xb6c11a-_0x11dee1._0x292dee,_0xf0074d- -_0x11dee1._0x3be68f,_0xb6c11a);}return _0x55e801(_0x1fc032._0x16534a,0x271,_0x1fc032._0x136eba,0x2f4)+Date[_0x329290(0x3bd,_0x1fc032._0x38218c,0x39e,0x382)]()+'-'+Math[_0x55e801(0x272,_0x1fc032._0x368e37,_0x1fc032._0x239d0b,0x66)]()['toString'](0x24)['slice'](0x2,0x9);}function validateInput(_0x16f393){const _0x178aff={_0xdcdf2c:0x4b5,_0x231114:0x38d,_0x73f779:0x759,_0x59e133:0x612,_0x4318f0:0x4ed,_0x473bb0:0x713,_0xdb179d:0x7f4,_0x1a8e23:0x8ec,_0x451205:0x733,_0x2df772:0x361,_0x12b920:0x568,_0x1f2d25:0x866,_0x3f0dff:0x8e8,_0x275ec5:0x555,_0x581c65:0x6ec,_0x25c1a3:0x639,_0x16c633:0x53c,_0x1dc0b5:0x52f,_0x4b57d8:0x74e,_0x30b43a:0x6d0,_0x25fb19:0x6ef,_0x3f31ca:0x7e1,_0x5ed2e1:0x5d2,_0x5794a1:0x6b7,_0x585fea:0x4f5,_0x273118:0x958,_0x23905b:0x88d,_0xe0b5c8:0x7bd,_0x439888:0x716,_0x4af137:0x8f5,_0x46f487:0x44e,_0x2a326d:0x6e9,_0x273b44:0x64e,_0xbf4fc5:0x716,_0x10dfde:0x7a2,_0x59dc27:0x79a,_0x368823:0x68c,_0x10b92e:0x627,_0x401d08:0x6ca,_0x452688:0x89f,_0x4b2663:0x5e7,_0x4aabf5:0x7f3,_0x21916b:0x490,_0x3629e5:0x7d9,_0x329860:0x56a,_0x4b468b:0x623,_0x29e9df:0x6e2,_0x421ff1:0x6fe,_0x34e7fc:0x54a,_0x264443:0x6e2,_0x18432a:0x7b9,_0x5974b4:0x7fb,_0x1eda60:0x81f,_0x2fe70e:0x8da,_0x5dd89a:0x832,_0x489dc8:0x7a8,_0x83227c:0x561,_0x300455:0x647,_0x3077d0:0x8a5,_0x28aa0b:0x83a,_0x5acfbe:0xa04,_0x1bfd10:0x71c,_0x305404:0x944,_0xb063b6:0x90f,_0x1ef359:0x8c7,_0xe2c7e1:0x753,_0x1dd59c:0x9a2,_0x32f387:0x813,_0x23dc07:0x80b,_0x4f5113:0x69f,_0x4478e6:0x71b,_0x53315b:0x6ae,_0x2d72c1:0x7c9,_0x23bf18:0x90b},_0x35c709={_0x533bd3:0x5d,_0x4b8afa:0x25f};function _0x526364(_0x27a88a,_0x3a09b3,_0x3767dc,_0x4a1e15){return _0x28bc81(_0x27a88a-0xee,_0x3a09b3-0x1f0,_0x27a88a-0x3a3,_0x3a09b3);}function _0x4d01b5(_0x1207dd,_0xbec4f3,_0x301a31,_0x1046d1){return _0x28bc81(_0x1207dd-_0x35c709._0x533bd3,_0xbec4f3-0x189,_0x1046d1-_0x35c709._0x4b8afa,_0x1207dd);}if(!Array['isArray'](_0x16f393['questions'])||_0x16f393[_0x4d01b5(_0x178aff._0xdcdf2c,_0x178aff._0x231114,0x774,0x579)][_0x4d01b5(_0x178aff._0x73f779,_0x178aff._0x59e133,0x762,0x7a8)]<0x1||_0x16f393[_0x526364(0x6bd,_0x178aff._0x4318f0,_0x178aff._0x473bb0,_0x178aff._0xdb179d)][_0x526364(_0x178aff._0x1a8e23,0x9b6,0x8d4,0x992)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x526364(0x57b,0x54d,_0x178aff._0x451205,_0x178aff._0x2df772)});for(let _0x51942e=0x0;_0x51942e<_0x16f393['questions']['length'];_0x51942e+=0x1){const _0x3ec60c=_0x16f393[_0x526364(0x6bd,_0x178aff._0x12b920,_0x178aff._0x1f2d25,0x827)][_0x51942e];if(!_0x3ec60c[_0x526364(0x71f,_0x178aff._0x3f0dff,0x875,_0x178aff._0x275ec5)]||typeof _0x3ec60c[_0x4d01b5(0x6a4,0x52c,_0x178aff._0x581c65,0x5db)]!==_0x526364(_0x178aff._0x25c1a3,_0x178aff._0x16c633,0x4bd,0x734))throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(_0x178aff._0x1dc0b5,_0x178aff._0x4b57d8,0x80d,_0x178aff._0x30b43a));if(!_0x3ec60c[_0x526364(0x716,_0x178aff._0x25fb19,0x542,0x80a)]||typeof _0x3ec60c[_0x4d01b5(0x47b,_0x178aff._0x3f31ca,0x534,_0x178aff._0x5ed2e1)]!==_0x4d01b5(0x6ca,0x2d7,_0x178aff._0x5794a1,_0x178aff._0x585fea))throw new ToolExecutionError(_0x526364(0x7e3,_0x178aff._0x273118,_0x178aff._0x23905b,_0x178aff._0xe0b5c8)+(_0x51942e+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3ec60c[_0x526364(_0x178aff._0x439888,0x813,_0x178aff._0x4af137,0x6c2)]['length']>0x1e)throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(0x6bf,_0x178aff._0x46f487,_0x178aff._0x2a326d,_0x178aff._0x273b44)+_0x3ec60c[_0x526364(_0x178aff._0xbf4fc5,_0x178aff._0x10dfde,_0x178aff._0x59dc27,_0x178aff._0x368823)][_0x4d01b5(_0x178aff._0x10b92e,_0x178aff._0x401d08,_0x178aff._0x452688,0x7a8)]);if(!Array[_0x526364(_0x178aff._0x4b2663,_0x178aff._0x4aabf5,_0x178aff._0x21916b,_0x178aff._0x3629e5)](_0x3ec60c[_0x4d01b5(_0x178aff._0x329860,_0x178aff._0x4b468b,0x4f6,_0x178aff._0x29e9df)])||_0x3ec60c[_0x4d01b5(_0x178aff._0x421ff1,0x58a,_0x178aff._0x34e7fc,_0x178aff._0x264443)]['length']<0x2||_0x3ec60c[_0x4d01b5(0x694,_0x178aff._0x18432a,_0x178aff._0x5974b4,0x6e2)]['length']>0x4)throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(_0x178aff._0x1eda60,0x8dc,_0x178aff._0x2fe70e,0x6d3));for(let _0x2dfe9c=0x0;_0x2dfe9c<_0x3ec60c[_0x526364(0x826,0x8a0,0x7dd,0x9ff)][_0x4d01b5(0x645,0x689,_0x178aff._0x5dd89a,_0x178aff._0x489dc8)];_0x2dfe9c+=0x1){const _0x5075c5=_0x3ec60c[_0x526364(0x826,0x711,0x8d7,0x876)][_0x2dfe9c];if(!_0x5075c5[_0x4d01b5(0x521,0x82f,_0x178aff._0x83227c,_0x178aff._0x300455)]||!_0x5075c5[_0x526364(_0x178aff._0x3077d0,0x9f7,0x7c0,_0x178aff._0x28aa0b)])throw new ToolExecutionError(_0x526364(0x7e3,0x661,0x89d,_0x178aff._0x5acfbe)+(_0x51942e+0x1)+',\x20Option\x20'+(_0x2dfe9c+0x1)+_0x4d01b5(0x92f,0x653,0x641,_0x178aff._0x1bfd10));}if(typeof _0x3ec60c[_0x526364(_0x178aff._0x305404,_0x178aff._0xb063b6,0x824,0xa0d)]!==_0x526364(_0x178aff._0x1ef359,0x8bc,_0x178aff._0xe2c7e1,_0x178aff._0x1dd59c))throw new ToolExecutionError(_0x4d01b5(_0x178aff._0x32f387,_0x178aff._0x23dc07,0x6ee,_0x178aff._0x4f5113)+(_0x51942e+0x1)+_0x526364(_0x178aff._0x4478e6,_0x178aff._0x53315b,_0x178aff._0x2d72c1,_0x178aff._0x23bf18));}}function buildQuestions(_0x548ad2){const _0x48a9a3={_0x3ee4ca:0x370,_0x163751:0x467,_0x435db8:0x8b0,_0x161510:0x78d},_0x156c68={_0xcca56d:0x142},_0x523120={_0x508c21:0x7b,_0xa0de66:0x666};function _0x5c892d(_0x368254,_0x38b203,_0x422d21,_0x292d72){return _0x5b2413(_0x368254-0x6,_0x38b203-_0x523120._0x508c21,_0x368254- -_0x523120._0xa0de66,_0x292d72);}function _0x2e8f1e(_0x529286,_0x29d237,_0x4f61e9,_0x471ea0){return _0x28bc81(_0x529286-0x111,_0x29d237-_0x156c68._0xcca56d,_0x471ea0-0x15b,_0x4f61e9);}return _0x548ad2[_0x2e8f1e(_0x48a9a3._0x3ee4ca,_0x48a9a3._0x163751,0x684,0x475)][_0x2e8f1e(_0x48a9a3._0x435db8,0x604,_0x48a9a3._0x161510,0x72c)]((_0x3d1176,_0x318844)=>({'id':'q'+_0x318844,'question':_0x3d1176[_0x5c892d(0xb5,-0x125,0x23b,0x230)],'topic':_0x3d1176[_0x5c892d(0xac,0x1cb,-0x2d,-0x68)],'options':_0x3d1176[_0x2e8f1e(0x65e,0x763,0x570,0x5de)],'multiSelect':_0x3d1176[_0x5c892d(0x2da,0x21f,0x34f,0x4f5)]}));}function createResult(_0x113d19,_0x533537,_0x4419ab){const _0x5448be={_0x1cab2d:0x1ff,_0x6747a0:0x625,_0x79ade:0x730},_0x2908b4={_0x3693e6:0xda},_0x4be8d4={_0x498d23:0xc5,_0x3ed7c1:0x4f9};function _0x3b3c49(_0x2db623,_0x234979,_0x397f68,_0x4392b9){return _0x5b2413(_0x2db623-0x104,_0x234979-_0x4be8d4._0x498d23,_0x2db623- -_0x4be8d4._0x3ed7c1,_0x234979);}const _0xea808f={'questionId':_0x113d19,'questionCount':_0x533537,'answers':_0x4419ab};function _0x28a279(_0x384f25,_0x497211,_0x408e15,_0x358da2){return _0x28bc81(_0x384f25-_0x2908b4._0x3693e6,_0x497211-0xa0,_0x497211-0xf1,_0x408e15);}return createToolOutput(_0x3b3c49(_0x5448be._0x1cab2d,0xaf,0x1de,0x370)+JSON[_0x28a279(0x62d,_0x5448be._0x6747a0,0x573,_0x5448be._0x79ade)](_0x4419ab,null,0x2),_0xea808f);}function createAskUserTool(){const _0x785b20={_0x1b452e:0xc0,_0x10b3f2:0x48e,_0x1b9213:0x5bb,_0x3b0652:0x96,_0x28e1a3:0xc9,_0x2c1c03:0x25b,_0x300944:0xd1,_0x18e278:0x9e,_0x1b6803:0x2c4,_0x57fec7:0x2f0,_0x5864a6:0x6d,_0xce9b38:0x184,_0x15d7e2:0x159,_0xc26613:0x58,_0x157cb2:0x9e,_0x25e9e2:0xc1,_0x4ee5d0:0xbc,_0x444154:0x185,_0x139795:0x360,_0x253a29:0x28c,_0x4bae33:0x12e,_0x19bade:0x1f0,_0x2c7694:0x43c,_0x524516:0x41c,_0x2a9a29:0x3a6,_0x2d1618:0x3b2,_0x342154:0x61e,_0x4828d4:0x25b,_0xff575b:0x16e,_0x52d504:0x81,_0x228fe8:0x28b,_0x248212:0x442,_0x4150e6:0x66f,_0x2eaa57:0x55f,_0x2d34b4:0xcf,_0x917648:0x159,_0x5e6ada:0x167,_0x32247c:0x122,_0x2c9b40:0x179},_0x33df54={_0x34467f:0x1e1,_0x57c6f4:0x2c8,_0x2f8d91:0x3fd,_0x591f12:0x415,_0x194d2c:0x364,_0x4a6616:0x155,_0x3161fa:0x553,_0x4d0bab:0x721,_0x5d0830:0x51b,_0xa0123f:0x407,_0x464ed7:0x513,_0x50bf83:0x201,_0x2ca8f4:0x45,_0x47c765:0x6bb,_0x19d0e2:0x73a,_0x14316a:0x2d4,_0x1e5295:0x1ce,_0x4eec9c:0x284,_0x32a07f:0x1eb,_0x203141:0x507},_0x17cefc={_0x5e8a94:0xe2,_0x53d25f:0x142},_0x428b37={_0x54b7f7:0x18b,_0x1b8541:0x10c},_0x32b123={_0x2c0ea4:0x142};function _0x4d7120(_0x34c823,_0x594320,_0x45a9b5,_0x29fa9e){return _0x5b2413(_0x34c823-_0x32b123._0x2c0ea4,_0x594320-0x44,_0x29fa9e- -0x3a9,_0x45a9b5);}function _0x17e070(_0x32a002,_0x57f604,_0x30fe1a,_0xc2e0bb){return _0x28bc81(_0x32a002-_0x428b37._0x54b7f7,_0x57f604-_0x428b37._0x1b8541,_0x30fe1a- -0x1f8,_0x57f604);}return defineTool({'name':'AskUserTool','permissionClass':_0x17e070(0x25a,-0x1c,_0x785b20._0x1b452e,0x86),'description':_0x4d7120(0x6b5,0x715,_0x785b20._0x10b3f2,_0x785b20._0x1b9213),'inputSchema':{'type':'object','properties':{'questions':{'type':_0x17e070(-_0x785b20._0x3b0652,0xa3,0x102,0x2d5),'items':{'type':_0x4d7120(0x2d0,0x3d6,_0x785b20._0x28e1a3,_0x785b20._0x2c1c03),'properties':{'question':{'type':_0x17e070(_0x785b20._0x300944,0x38,_0x785b20._0x18e278,-0x9c)},'topic':{'type':'string'},'options':{'type':_0x4d7120(0x1dc,0x4ef,_0x785b20._0x1b6803,_0x785b20._0x57fec7),'items':{'type':_0x17e070(0x1e3,0x17f,_0x785b20._0x5864a6,_0x785b20._0xce9b38),'properties':{'label':{'type':_0x17e070(-_0x785b20._0x15d7e2,-_0x785b20._0xc26613,_0x785b20._0x157cb2,-_0x785b20._0x25e9e2)},'description':{'type':_0x4d7120(_0x785b20._0x4ee5d0,_0x785b20._0x444154,_0x785b20._0x139795,_0x785b20._0x253a29)}},'required':[_0x17e070(-0x1a,_0x785b20._0x4bae33,_0x785b20._0x19bade,0x376),_0x17e070(0xfd,_0x785b20._0x2c7694,0x30a,_0x785b20._0x524516)]}},'multiSelect':{'type':_0x4d7120(_0x785b20._0x2a9a29,_0x785b20._0x2d1618,_0x785b20._0x342154,0x51a)}},'required':['question',_0x17e070(0x2c5,-0x2c,0x17b,_0x785b20._0x4828d4),_0x17e070(_0x785b20._0xff575b,_0x785b20._0x52d504,_0x785b20._0x228fe8,_0x785b20._0x248212),_0x4d7120(0x626,_0x785b20._0x4150e6,_0x785b20._0x2eaa57,0x597)]}},'answers':{'type':_0x17e070(_0x785b20._0x2d34b4,_0x785b20._0x917648,0x6d,_0x785b20._0x5e6ada),'properties':{}}},'required':[_0x17e070(0x197,-0xe5,_0x785b20._0x32247c,_0x785b20._0x2c9b40)]},async *'execute'(_0x274286,_0x9a956b){const _0xdb7a2f={_0x4e966e:0x1bf,_0x24191d:0x2d1},_0x1fcf43=_0x274286;validateInput(_0x1fcf43);const _0x255428=_0x9a956b[_0x5ce5ea(0x2a0,0x161,_0x33df54._0x34467f,-0x9e)]??createQuestionId();function _0x5ce5ea(_0x27cd92,_0x60558f,_0x2a2567,_0x321578){return _0x4d7120(_0x27cd92-_0x17cefc._0x5e8a94,_0x60558f-0x1ec,_0x2a2567,_0x60558f- -_0x17cefc._0x53d25f);}if(_0x1fcf43['answers']&&Object['keys'](_0x1fcf43['answers'])[_0x5ce5ea(_0x33df54._0x57c6f4,_0x33df54._0x2f8d91,0x292,_0x33df54._0x591f12)]>0x0)return createResult(_0x255428,_0x1fcf43[_0x5ce5ea(0x24b,0x1ce,_0x33df54._0x194d2c,_0x33df54._0x4a6616)][_0x285dd1(_0x33df54._0x3161fa,0x622,0x76a,_0x33df54._0x4d0bab)],_0x1fcf43[_0x285dd1(0x6f2,_0x33df54._0x5d0830,_0x33df54._0xa0123f,0x52e)]);if(!_0x9a956b[_0x5ce5ea(0x498,0x448,_0x33df54._0x464ed7,0x30d)])throw new ToolExecutionError(_0x5ce5ea(0x195,0xd4,_0x33df54._0x50bf83,_0x33df54._0x2ca8f4));function _0x285dd1(_0x3b72b8,_0x351421,_0x47b4da,_0x55cd08){return _0x17e070(_0x3b72b8-_0xdb7a2f._0x4e966e,_0x55cd08,_0x351421-_0xdb7a2f._0x24191d,_0x55cd08-0xb5);}const _0x939291=buildQuestions(_0x1fcf43),_0x5e62e3=await _0x9a956b[_0x285dd1(0x5ab,0x66d,_0x33df54._0x47c765,_0x33df54._0x19d0e2)]({'questionId':_0x255428,'questions':_0x939291});yield createResult(_0x255428,_0x1fcf43[_0x5ce5ea(_0x33df54._0x14316a,_0x33df54._0x1e5295,_0x33df54._0x4eec9c,0xc0)][_0x5ce5ea(_0x33df54._0x32a07f,_0x33df54._0x2f8d91,_0x33df54._0x203141,0x451)],_0x5e62e3);}});}import{stat as _0x55f0a1}from'fs/promises';import _0x4dc652 from'path';import{fileURLToPath as _0x4eb52c}from'url';function awaitWithAbort2(_0x2f6233,_0x3ab0bd){const _0x3e4fd9={_0x1886bc:0x33f,_0x155222:0x4a2,_0x5e24d6:0x6b6,_0x544e66:0x582},_0x50c60d={_0x1cc15d:0x4f1,_0xe871d7:0x65f,_0x45b25e:0x658,_0x28f16d:0x617,_0x5bea40:0x5e3,_0x437ab4:0x676,_0x59e66f:0x35c,_0x1358f4:0x538},_0x320067={_0x5495f4:0xcb},_0x3328a9={_0x4115ce:0x175,_0x5c137d:0x1c3},_0x581202={_0xa9b01c:0x8b};function _0xc6648f(_0x18ca82,_0x511756,_0x3298be,_0x1955ba){return _0x28bc81(_0x18ca82-_0x581202._0xa9b01c,_0x511756-0xa1,_0x18ca82-0x2b6,_0x3298be);}function _0x9e93e0(_0x4901a1,_0x5e7847,_0x3d166a,_0x55d5fa){return _0x28bc81(_0x4901a1-0x1,_0x5e7847-_0x3328a9._0x4115ce,_0x3d166a-_0x3328a9._0x5c137d,_0x55d5fa);}if(!_0x3ab0bd)return _0x2f6233;if(_0x3ab0bd[_0x9e93e0(_0x3e4fd9._0x1886bc,0x4f0,_0x3e4fd9._0x155222,0x2d7)])return Promise[_0x9e93e0(0x6f5,0x5d0,_0x3e4fd9._0x5e24d6,_0x3e4fd9._0x544e66)](toAbortError(_0x3ab0bd['reason']));return new Promise((_0x45c81c,_0x446b46)=>{const _0xd7bb16={_0x4bc92b:0x3e},_0x9bb00e={_0x4c7119:0x6ce,_0x4a5eb7:0x513},_0x412cfd=()=>{const _0x45291c={_0x3d4fb3:0x20b};_0x5aceff();function _0x50c80d(_0x564353,_0x1c4b45,_0x2b8ec6,_0x35c119){return _0x8662(_0x35c119-_0x45291c._0x3d4fb3,_0x2b8ec6);}_0x446b46(toAbortError(_0x3ab0bd[_0x50c80d(0x884,_0x9bb00e._0x4c7119,_0x9bb00e._0x4a5eb7,0x6eb)]));},_0x5aceff=()=>_0x3ab0bd[_0x3de6d8(0x455,0x596,0x569,0x308)](_0x56b93d(0x443,0x60f,0x744,0x4de),_0x412cfd);function _0x56b93d(_0xada8b8,_0x27ad09,_0x54e6da,_0x360768){return _0x9e93e0(_0xada8b8-0x14a,_0x27ad09-_0xd7bb16._0x4bc92b,_0x27ad09- -0x92,_0x54e6da);}_0x3ab0bd[_0x3de6d8(_0x50c60d._0x1cc15d,_0x50c60d._0xe871d7,_0x50c60d._0x45b25e,0x54f)](_0x3de6d8(_0x50c60d._0x28f16d,_0x50c60d._0x5bea40,0x495,_0x50c60d._0x437ab4),_0x412cfd,{'once':!![]});function _0x3de6d8(_0x132d1e,_0x196ce1,_0x18d9d0,_0x24795b){return _0x9e93e0(_0x132d1e-_0x320067._0x5495f4,_0x196ce1-0x140,_0x132d1e- -0x8a,_0x24795b);}_0x2f6233[_0x56b93d(_0x50c60d._0x59e66f,_0x50c60d._0x1358f4,0x459,0x444)](_0x24876e=>{_0x5aceff(),_0x45c81c(_0x24876e);},_0x38dd0e=>{_0x5aceff(),_0x446b46(_0x38dd0e);});});}function severityName(_0x8ec0ca){const _0x2758df={_0x4d4f38:0x47e,_0x26e8d6:0x404,_0x380692:0x380,_0xd767ad:0x3aa,_0x1d34f5:0x3b6,_0x5ca1b6:0x416},_0x5a5e33={_0x196a95:0x46,_0x19dd9d:0x1b8};function _0x3d383e(_0x5530c9,_0x2ab037,_0x5827b8,_0x1eaee2){return _0x28bc81(_0x5530c9-0x1c6,_0x2ab037-_0x5a5e33._0x196a95,_0x1eaee2- -_0x5a5e33._0x19dd9d,_0x2ab037);}function _0x52ed53(_0x3f862e,_0x1a6856,_0x40162e,_0x22f0e6){return _0x28bc81(_0x3f862e-0x11c,_0x1a6856-0x199,_0x3f862e- -0x290,_0x40162e);}switch(_0x8ec0ca){case 0x1:return _0x52ed53(0x36e,_0x2758df._0x4d4f38,0x380,0x503);case 0x2:return'Warning';case 0x3:return _0x3d383e(_0x2758df._0x26e8d6,_0x2758df._0x380692,0x394,0x20f);case 0x4:return'Hint';default:return _0x3d383e(_0x2758df._0xd767ad,0x23b,_0x2758df._0x1d34f5,_0x2758df._0x5ca1b6);}}function formatSingleHover(_0xb36638){const _0x19891a={_0x330501:0x1ee,_0x2d7406:0x112,_0x41a630:0x33,_0x16c86f:0x35,_0x363f38:0x662,_0x38290f:0x553,_0x9cdc41:0x193,_0x37935e:0x23a,_0x551724:0x109,_0x3b74fc:0x18f,_0x4b3a6b:0x385,_0xf4744:0x238,_0x75a824:0x266,_0x3ff4d8:0x264,_0x22850f:0x3de,_0x3fc8ac:0x4fb,_0x4f9648:0xa08,_0x420321:0x9b8,_0x5a31ec:0x935,_0x3c107b:0xbd5,_0x4cafef:0x684,_0x16bbee:0x490,_0x188684:0x728,_0x2163cb:0x1e8,_0x2ea705:0x9f},_0x320d51={_0x518b61:0x12,_0x3de4e8:0x1f3,_0x2db820:0x65},_0x3d832e=_0xb36638[_0xd63d92(-_0x19891a._0x330501,-_0x19891a._0x2d7406,-_0x19891a._0x41a630,_0x19891a._0x16c86f)];function _0x49fe87(_0x5bbd47,_0x4a8e86,_0x25ee29,_0x190721){return _0x5b2413(_0x5bbd47-_0x320d51._0x518b61,_0x4a8e86-_0x320d51._0x3de4e8,_0x5bbd47-_0x320d51._0x2db820,_0x4a8e86);}if(typeof _0x3d832e===_0x49fe87(0x69a,_0x19891a._0x363f38,0x695,_0x19891a._0x38290f))return _0x3d832e;if(Array['isArray'](_0x3d832e))return _0x3d832e[_0xd63d92(0x3e8,_0x19891a._0x9cdc41,0x255,0x478)](_0x5621a4=>typeof _0x5621a4===_0x49fe87(0x69a,0x7d0,0x88f,0x717)?_0x5621a4:_0x5621a4['value'])[_0xd63d92(0x26a,_0x19891a._0x37935e,_0x19891a._0x551724,0x24d)](Boolean)['join']('\x0a\x0a');function _0xd63d92(_0x1a8532,_0x4663af,_0x31eb34,_0xd337d0){return _0x28bc81(_0x1a8532-0x168,_0x4663af-0x14e,_0x31eb34- -0x37c,_0xd337d0);}if(_0xd63d92(-0x54,0x1e1,_0x19891a._0x3b74fc,_0x19891a._0x4b3a6b)in _0x3d832e)return _0x3d832e[_0xd63d92(0x2ec,0x1c1,_0x19891a._0xf4744,0x228)];return _0x3d832e[_0xd63d92(_0x19891a._0x75a824,0x1de,0x22f,_0x19891a._0x3ff4d8)]?_0x49fe87(0x5f3,_0x19891a._0x22850f,0x4ef,_0x19891a._0x3fc8ac)+_0x3d832e[_0x49fe87(0x9af,0x991,_0x19891a._0x4f9648,0x869)]+'\x0a'+_0x3d832e[_0x49fe87(_0x19891a._0x420321,0x9b4,_0x19891a._0x5a31ec,_0x19891a._0x3c107b)]+_0x49fe87(_0x19891a._0x4cafef,_0x19891a._0x16bbee,_0x19891a._0x188684,0x484):_0x3d832e[_0xd63d92(_0x19891a._0x2163cb,0x194,_0x19891a._0xf4744,_0x19891a._0x2ea705)];}function formatHover(_0x1efd46){const _0x1fe801={_0x3c8606:0xcf,_0x134216:0x686,_0x7a357d:0x5fc,_0x50eb20:0x4bc,_0x27bebf:0x459,_0x4ea43b:0x1e9,_0x4c3f4d:0x348,_0x126bdb:0x2b1,_0x4fd22a:0x489},_0x348f36={_0x506bda:0x22},_0x3f6daf={_0x1e673f:0x7b,_0x36d00d:0x1dc,_0x547175:0x78};function _0x5b6942(_0x2012d7,_0x3d76e0,_0x18f2c4,_0x403888){return _0x5b2413(_0x2012d7-_0x3f6daf._0x1e673f,_0x3d76e0-_0x3f6daf._0x36d00d,_0x18f2c4- -_0x3f6daf._0x547175,_0x403888);}function _0x323a0c(_0x2aa9ca,_0xf37667,_0xb137f5,_0x29ae32){return _0x5b2413(_0x2aa9ca-_0x348f36._0x506bda,_0xf37667-0x82,_0x29ae32- -0x4b4,_0x2aa9ca);}if(_0x1efd46['length']===0x0)return _0x323a0c(-_0x1fe801._0x3c8606,0x28c,-0xa4,0xf5);return _0x1efd46[_0x323a0c(0x3a7,_0x1fe801._0x134216,_0x1fe801._0x7a357d,_0x1fe801._0x50eb20)](formatSingleHover)[_0x323a0c(0x31a,_0x1fe801._0x27bebf,_0x1fe801._0x4ea43b,_0x1fe801._0x4c3f4d)](_0x323a0c(0x5cc,_0x1fe801._0x126bdb,0x2a4,_0x1fe801._0x4fd22a));}function locationPath(_0x49064b){const _0x5f00ad={_0x5a7c03:0x1da,_0x369433:0x164,_0x47c1f6:0x22,_0x1aeb18:0x568,_0x503477:0x37b},_0x4041d6={_0x3de371:0x1a6,_0x4ef983:0x31},_0x56478f={_0x676ec:0xd,_0x35b18f:0x238};function _0x442ff6(_0x9bba05,_0x24e7b0,_0x291068,_0x3755f1){return _0x5b2413(_0x9bba05-0x1bd,_0x24e7b0-_0x56478f._0x676ec,_0x24e7b0- -_0x56478f._0x35b18f,_0x3755f1);}if(!_0x49064b[_0x3a38ff(_0x5f00ad._0x5a7c03,-_0x5f00ad._0x369433,-0x233,-_0x5f00ad._0x47c1f6)](_0x442ff6(0x717,0x56b,_0x5f00ad._0x1aeb18,_0x5f00ad._0x503477)))return _0x49064b;function _0x3a38ff(_0x4336da,_0x59b6c0,_0x286b24,_0x505d4a){return _0x5b2413(_0x4336da-_0x4041d6._0x3de371,_0x59b6c0-_0x4041d6._0x4ef983,_0x505d4a- -0x69f,_0x4336da);}return _0x4eb52c(_0x49064b);}function formatLocations(_0x3ad3e1){const _0x22773e={_0x44260b:0x2b3,_0x4caeab:0x3c2,_0x195b9a:0x1a7,_0x26f4e8:0x50d,_0x30c95b:0x309,_0x558c6f:0x30e,_0x1d1989:0x350,_0x276e52:0x4d2,_0x141f70:0x40f,_0x5c56c6:0x6f2,_0xebfcdb:0x64e,_0xd385ee:0x5f0},_0x5579a6={_0x1b9a83:0xb1,_0x581daa:0xf4,_0x2ff93e:0x141,_0x5565cd:0x1ea,_0x13e66e:0x386,_0x2eacd8:0x59b,_0x17c35d:0x1f7,_0x14a342:0x131,_0x4dd4a2:0x127},_0x38b8b7={_0x10c05e:0x1ae},_0x5e71cc={_0x102e19:0x106,_0x813d9c:0xf5,_0x352c16:0x187};function _0xbfd4ba(_0x1a14f4,_0x267de1,_0x1f7cd4,_0xbf9977){return _0x28bc81(_0x1a14f4-_0x5e71cc._0x102e19,_0x267de1-_0x5e71cc._0x813d9c,_0x267de1- -_0x5e71cc._0x352c16,_0x1a14f4);}if(_0x3ad3e1[_0xbfd4ba(_0x22773e._0x44260b,_0x22773e._0x4caeab,_0x22773e._0x195b9a,_0x22773e._0x26f4e8)]===0x0)return _0xbfd4ba(_0x22773e._0x30c95b,_0x22773e._0x558c6f,_0x22773e._0x1d1989,0x325);function _0x43a7ec(_0x5a1310,_0x1f57db,_0x12d7be,_0xd71470){return _0x5b2413(_0x5a1310-0x164,_0x1f57db-0x1b5,_0x12d7be- -_0x38b8b7._0x10c05e,_0xd71470);}return _0x3ad3e1[_0xbfd4ba(0x29c,0x44a,_0x22773e._0x276e52,_0x22773e._0x141f70)](_0x3a8bee=>{const _0x22406a={_0x47b5b8:0x479};function _0x5ada20(_0x53a5c5,_0x175521,_0x2b1fdd,_0x38ed10){return _0x43a7ec(_0x53a5c5-0x134,_0x175521-0x1f1,_0x53a5c5- -_0x22406a._0x47b5b8,_0x2b1fdd);}function _0x4254b6(_0xd2bf9e,_0x47eaeb,_0x550c66,_0x438b32){return _0xbfd4ba(_0x47eaeb,_0x438b32- -0x1ea,_0x550c66-0x12,_0x438b32-0x152);}const _0x147b8c=_0x3a8bee[_0x5ada20(-_0x5579a6._0x1b9a83,-_0x5579a6._0x581daa,-0x2d,-0x2b8)][_0x4254b6(0x227,_0x5579a6._0x2ff93e,_0x5579a6._0x5565cd,0x23e)];return locationPath(_0x3a8bee['uri'])+':'+(_0x147b8c[_0x5ada20(_0x5579a6._0x13e66e,_0x5579a6._0x2eacd8,0x5a4,0x1d9)]+0x1)+':'+(_0x147b8c[_0x4254b6(_0x5579a6._0x17c35d,-_0x5579a6._0x14a342,-_0x5579a6._0x4dd4a2,0xcb)]+0x1);})[_0x43a7ec(_0x22773e._0x5c56c6,0x821,_0x22773e._0xebfcdb,_0x22773e._0xd385ee)]('\x0a');}function isDocumentSymbol(_0x8d1e30){return'range'in _0x8d1e30&&'selectionRange'in _0x8d1e30;}function formatSymbols(_0x2f2af0){const _0x4d7fab={_0x15d161:0x7d6,_0x392f26:0x49c,_0x1c834a:0x453,_0x1a9fbb:0x21a,_0x44f4d4:0x2df},_0x310be7={_0x54c978:0xe0,_0x4d0f49:0x2d7,_0x15e515:0x104,_0x432584:0x1,_0x1d4d46:0x122,_0xd7a46c:0x1ae,_0x394e33:0x5e6,_0x5dc386:0x605,_0x1b3a05:0x567,_0x48ce71:0x69a,_0x3e5a6a:0xe4,_0x8ef1bd:0x2a0,_0xca81c1:0x20e,_0x51e68f:0x371,_0x5c47f6:0x1cb,_0x29cb2:0x896,_0x1c5d63:0x749,_0x394726:0x7de,_0xd3099:0x5d6},_0x4a184a={_0x579322:0x123},_0x44cd7e={_0xce704f:0xbb,_0x8fb228:0x2b4};function _0x3a361b(_0x62e970,_0x31830f,_0x276692,_0x462236){return _0x5b2413(_0x62e970-0x8b,_0x31830f-_0x44cd7e._0xce704f,_0x31830f- -_0x44cd7e._0x8fb228,_0x276692);}if(_0x2f2af0['length']===0x0)return _0x3a361b(_0x4d7fab._0x15d161,0x6a0,0x807,0x530);function _0x3737b9(_0x135869,_0x2df0bc,_0x5c5626,_0x42a17a){return _0x28bc81(_0x135869-0xaf,_0x2df0bc-_0x4a184a._0x579322,_0x5c5626- -0x17e,_0x2df0bc);}return _0x2f2af0[_0x3737b9(0x238,_0x4d7fab._0x392f26,_0x4d7fab._0x1c834a,0x524)](_0x3d2dab=>{const _0x5b2333={_0x1f5050:0x191,_0x5a46aa:0xaf,_0x466643:0xae},_0x36aa88={_0x537309:0xe9,_0x352432:0x3a6};function _0xb93cf(_0x24c769,_0x29ba06,_0xe0e2b1,_0x4eb76e){return _0x3a361b(_0x24c769-_0x36aa88._0x537309,_0x24c769- -_0x36aa88._0x352432,_0x29ba06,_0x4eb76e-0xfe);}function _0x313239(_0x440e5c,_0x3b8c5f,_0x506591,_0x49c0f6){return _0x3a361b(_0x440e5c-_0x5b2333._0x1f5050,_0x3b8c5f-_0x5b2333._0x5a46aa,_0x440e5c,_0x49c0f6-_0x5b2333._0x466643);}if(isDocumentSymbol(_0x3d2dab))return _0x3d2dab[_0xb93cf(0x1bb,_0x310be7._0x54c978,0x2bb,0x3ad)]+'\x20('+_0x3d2dab[_0xb93cf(0x250,0x2f2,0x90,_0x310be7._0x4d0f49)]+_0xb93cf(-0x6d,-_0x310be7._0x15e515,0x180,-_0x310be7._0x432584)+(_0x3d2dab[_0xb93cf(-0xe4,-_0x310be7._0x1d4d46,-_0x310be7._0xd7a46c,0x105)][_0x313239(0x61e,0x749,_0x310be7._0x394e33,0x82b)][_0x313239(0x717,0x7a8,0x66a,_0x310be7._0x5dc386)]+0x1)+':'+(_0x3d2dab['range']['start']['character']+0x1)+']';return _0x3d2dab[_0x313239(_0x310be7._0x1b3a05,0x610,0x57a,_0x310be7._0x48ce71)]+'\x20('+_0x3d2dab['kind']+')\x20'+locationPath(_0x3d2dab[_0xb93cf(0x22f,_0x310be7._0x3e5a6a,0x249,0x21a)]['uri'])+':'+(_0x3d2dab['location']['range']['start'][_0xb93cf(0x353,0x1f6,0x4f0,_0x310be7._0x8ef1bd)]+0x1)+':'+(_0x3d2dab['location'][_0x313239(_0x310be7._0xca81c1,_0x310be7._0x51e68f,0x375,_0x310be7._0x5c47f6)][_0x313239(_0x310be7._0x29cb2,_0x310be7._0x1c5d63,0x830,_0x310be7._0x394726)][_0x313239(0x565,_0x310be7._0xd3099,0x42f,0x6d3)]+0x1);})[_0x3737b9(_0x4d7fab._0x1a9fbb,0x2be,_0x4d7fab._0x44f4d4,0x35c)]('\x0a');}function formatDiagnostics(_0x34ef4f){const _0x5f536a={_0x4c7caf:0x2b0,_0x1ab3e4:0x416,_0x5d97e5:0x67,_0x9b4c73:0x187,_0x241052:0xce,_0x48297e:0x9c,_0x362151:0x836,_0x39d499:0x62a},_0x36b4bf={_0x2faf3f:0x51,_0x4152ec:0xa6,_0x399fb6:0x7e2,_0xf0bfe1:0x786,_0x4963ef:0x863,_0x2efca4:0xa82,_0x436141:0x76d,_0x5ca1a1:0x5f6,_0x2f45d6:0x543,_0x21b717:0xa56,_0x31f4a7:0x8c2,_0x4e0252:0x985,_0x17d79c:0x791},_0x37fa29={_0xe4f73a:0x1e6},_0x68040c={_0x59144e:0x11f,_0xfddf59:0x60};function _0x2b5a4b(_0x1671d2,_0x5f072b,_0x48ba01,_0x1d6d2c){return _0x5b2413(_0x1671d2-_0x68040c._0x59144e,_0x5f072b-_0x68040c._0xfddf59,_0x1d6d2c- -0x28d,_0x1671d2);}function _0x160e99(_0x284fbe,_0x1c581c,_0x158529,_0x4eb28c){return _0x5b2413(_0x284fbe-_0x37fa29._0xe4f73a,_0x1c581c-0xf3,_0x4eb28c- -0x51b,_0x1c581c);}if(_0x34ef4f[_0x160e99(_0x5f536a._0x4c7caf,0x238,_0x5f536a._0x1ab3e4,0x3cd)]===0x0)return _0x160e99(-_0x5f536a._0x5d97e5,-_0x5f536a._0x9b4c73,_0x5f536a._0x241052,_0x5f536a._0x48297e);return _0x34ef4f[_0x2b5a4b(0x803,_0x5f536a._0x362151,_0x5f536a._0x39d499,0x6e3)](_0x36bc03=>{const _0x41170a={_0x1ca64c:0x1a2},_0x1a52c4={_0x51752:0xe0,_0x5ef7fb:0x430},_0xe167b1=_0x36bc03[_0x36a1f1(-_0x36b4bf._0x2faf3f,-0xc2,-0x9b,_0x36b4bf._0x4152ec)][_0x47dbd1(_0x36b4bf._0x399fb6,_0x36b4bf._0xf0bfe1,_0x36b4bf._0x4963ef,_0x36b4bf._0x2efca4)];function _0x47dbd1(_0x3a1648,_0x117143,_0x30e2cc,_0x2e8a80){return _0x160e99(_0x3a1648-0x114,_0x2e8a80,_0x30e2cc-_0x1a52c4._0x51752,_0x30e2cc-_0x1a52c4._0x5ef7fb);}function _0x36a1f1(_0x3d168b,_0x19c96b,_0x34e46a,_0x369d17){return _0x160e99(_0x3d168b-_0x41170a._0x1ca64c,_0x369d17,_0x34e46a-0x77,_0x3d168b- -0xac);}return severityName(_0x36bc03[_0x47dbd1(0x4f2,_0x36b4bf._0x436141,_0x36b4bf._0x5ca1a1,_0x36b4bf._0x2f45d6)])+'\x20['+(_0xe167b1[_0x47dbd1(_0x36b4bf._0x21b717,0x7d2,_0x36b4bf._0x31f4a7,0xa46)]+0x1)+':'+(_0xe167b1['character']+0x1)+']\x20'+_0x36bc03[_0x47dbd1(_0x36b4bf._0x4e0252,0x75c,0x892,_0x36b4bf._0x17d79c)];})['join']('\x0a');}function formatIncomingCalls(_0x43d895){const _0x4a7a7f={_0x48b831:0x89f,_0x1c0700:0x6bb,_0x4b2377:0x59f,_0x2bb2df:0x523,_0x4d5a71:0x384},_0x413f2c={_0x321107:0x142},_0x3dd30c={_0x244095:0x29};if(_0x43d895[_0x311807(0x747,0x817,0x8b6,0x8ef)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x311807(_0x1704b4,_0x253b89,_0x4b5a63,_0xf4044d){return _0x5b2413(_0x1704b4-_0x3dd30c._0x244095,_0x253b89-0x150,_0x253b89- -0xd1,_0xf4044d);}function _0x3b6e36(_0x4d8b29,_0x2d62b8,_0x2936e9,_0x544dc0){return _0x28bc81(_0x4d8b29-0xbf,_0x2d62b8-0x132,_0x2d62b8-_0x413f2c._0x321107,_0x544dc0);}return _0x43d895[_0x311807(0x817,_0x4a7a7f._0x48b831,_0x4a7a7f._0x1c0700,0x71c)](_0x68d699=>_0x68d699['from'][_0x311807(0x6ee,0x744,0x551,0x890)])[_0x3b6e36(0x672,_0x4a7a7f._0x4b2377,_0x4a7a7f._0x2bb2df,_0x4a7a7f._0x4d5a71)]('\x0a');}function formatOutgoingCalls(_0x362bc2){const _0x4b0200={_0x46e7d2:0x5cf,_0x44a8ad:0x79d,_0xaa2b35:0x71a,_0x2841d0:0x5e3,_0x2efd2c:0x627,_0x272743:0x519,_0x54191d:0x410,_0x1026e1:0x926,_0x2b397a:0x725,_0x24dd36:0x719},_0x254840={_0x4d578d:0x1e,_0x45d383:0x1bd,_0x143eb0:0x254},_0x2ebb10={_0x3444d7:0xdb,_0x430201:0x257};if(_0x362bc2[_0x1d8d9d(_0x4b0200._0x46e7d2,_0x4b0200._0x44a8ad,_0x4b0200._0xaa2b35,_0x4b0200._0x2841d0)]===0x0)return _0x1d8d9d(_0x4b0200._0x2efd2c,_0x4b0200._0x272743,0x4d0,_0x4b0200._0x54191d);function _0x304f6(_0x48be6f,_0x353cde,_0x41b2ad,_0x174c51){return _0x5b2413(_0x48be6f-_0x2ebb10._0x3444d7,_0x353cde-0x1dd,_0x174c51- -_0x2ebb10._0x430201,_0x353cde);}function _0x1d8d9d(_0x513e64,_0x2b60a8,_0x47d05c,_0x466d55){return _0x28bc81(_0x513e64-_0x254840._0x4d578d,_0x2b60a8-_0x254840._0x45d383,_0x2b60a8-_0x254840._0x143eb0,_0x466d55);}return _0x362bc2[_0x304f6(0x4fd,_0x4b0200._0x1026e1,_0x4b0200._0x2b397a,_0x4b0200._0x24dd36)](_0x209c28=>_0x209c28['to']['name'])['join']('\x0a');}function toStructured(_0x3ecc05){const _0x45860d={_0x3a0b7c:0x839,_0xf47787:0x87e,_0x64d80e:0xa30,_0x496c47:0x949,_0x3c76b5:0x8b8},_0x308d3c={_0xa74398:0x53,_0x4a7952:0x7f},_0x17e0ec={_0xb911cf:0xb3,_0x28c760:0x25b};function _0x1f6b83(_0x4b60f0,_0x33ff77,_0x1b49a0,_0x5883e3){return _0x28bc81(_0x4b60f0-_0x17e0ec._0xb911cf,_0x33ff77-0x1cf,_0x5883e3-_0x17e0ec._0x28c760,_0x33ff77);}function _0x111d29(_0x28e27b,_0x2ddf00,_0x491c39,_0x268054){return _0x28bc81(_0x28e27b-_0x308d3c._0xa74398,_0x2ddf00-0x151,_0x2ddf00- -_0x308d3c._0x4a7952,_0x491c39);}return JSON[_0x1f6b83(_0x45860d._0x3a0b7c,_0x45860d._0xf47787,_0x45860d._0x64d80e,0x840)](JSON[_0x1f6b83(_0x45860d._0x496c47,_0x45860d._0x3c76b5,0x82e,0x78f)](_0x3ecc05));}async function assertFile(_0x1b0833){const _0x58f9f2={_0x4f8020:0x689,_0x3e2b8a:0x24d},_0x235743={_0x5e6210:0x151,_0x1e9e74:0xf6},_0x1d2ea8={_0x234e1d:0xa1,_0x4166da:0xa,_0x347bbc:0x1b2};function _0x5d4f6a(_0x23c4e9,_0x2660ec,_0x9673e6,_0x6f9e50){return _0x28bc81(_0x23c4e9-_0x1d2ea8._0x234e1d,_0x2660ec-_0x1d2ea8._0x4166da,_0x23c4e9- -_0x1d2ea8._0x347bbc,_0x6f9e50);}const _0x3b44de=await _0x55f0a1(_0x1b0833);function _0x4f408d(_0xed966d,_0x44ed91,_0x28615e,_0x5e5eca){return _0x28bc81(_0xed966d-_0x235743._0x5e6210,_0x44ed91-0x190,_0xed966d-_0x235743._0x1e9e74,_0x5e5eca);}if(!_0x3b44de[_0x4f408d(0x525,0x5cd,_0x58f9f2._0x4f8020,0x4a0)]())throw new ToolExecutionError(_0x4f408d(0x3c3,0x479,0x23f,_0x58f9f2._0x3e2b8a)+_0x1b0833,{'path':_0x1b0833});}function validatePosition(_0x956533,_0x54f8ba){if(!Number['isInteger'](_0x956533)||_0x956533<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x956533});if(!Number['isInteger'](_0x54f8ba)||_0x54f8ba<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x54f8ba});}function createLspTool(_0x20f78d={}){const _0x48f8a0={_0x3d6f9f:0x155,_0x2cf5c6:0x206,_0x3946a3:0x1aa,_0x281bda:0xb,_0x201276:0x4f6,_0x3e42c1:0x3a1,_0x3cd5c6:0x406,_0x587e27:0xd1,_0x5054d6:0x4d6,_0x3d821b:0x209,_0x49cf4d:0x43d,_0x990f89:0xb8,_0x509f68:0x12e,_0xb86d71:0x207,_0x47999f:0x110,_0x1550f2:0x73,_0x3117a7:0x8e,_0x1d6755:0x119,_0x1fbfc0:0xe0,_0x1305c8:0x24c,_0x1fe117:0x3ef,_0x3dc7fd:0xcf,_0x407abf:0xfc,_0x549768:0x46b,_0x27fc54:0x431,_0x4c34c6:0x3ed,_0x3e9b95:0x4b2,_0x3551e1:0x5ea,_0x2f3e00:0x442,_0x449d2f:0x494,_0x468cb4:0x2e6,_0x371233:0x173,_0x31f76c:0x116,_0x40e877:0x59,_0x36022f:0x22c,_0x18ddf2:0x1bb,_0x1ee168:0x275,_0x514d3c:0x153,_0x3a42b6:0x559,_0xc85387:0x40a,_0x49bea5:0x4eb,_0x10f585:0x17c,_0x3c473e:0x643,_0xe1798:0x66e,_0x4bec78:0x541,_0x48a409:0x217,_0x5ef9cd:0x4d9},_0x5df5ac={_0x3e784a:0xba,_0x320336:0x3a1,_0xa46e1f:0x2df,_0x1f29a2:0x635,_0x178838:0x268,_0x3ee512:0x196,_0x3a61b7:0x130,_0x57b3c4:0x3,_0x2daa1d:0x200,_0x4c904f:0x1de,_0x4daf00:0x36a,_0x5cf78c:0x8dd,_0x2916de:0x7c3,_0x181c87:0x944,_0x136bf3:0x55b,_0x105019:0x681,_0x5de9d3:0x49a,_0x4c55b0:0x2fc,_0x3ab5f0:0x512,_0x50cbf8:0x1e2,_0xbce11a:0x1d2,_0x5f4d68:0x376,_0x3ac60b:0x4cd,_0x478cdc:0x6ca,_0x36c5b2:0x53e,_0xfa5b11:0xbd,_0x1c3156:0x4d5,_0x160dc7:0x5fd,_0x3b5f44:0x5e2,_0x3701b5:0x3fe,_0x192085:0x292,_0x3b4186:0x657,_0x18be1e:0x707,_0x17b684:0x3c9,_0x203111:0x79,_0x487316:0x8e,_0x19134a:0x2ba,_0x5d9db9:0xe,_0x3e61de:0x21a,_0x21cd9b:0x306,_0x554e99:0x680,_0x515d69:0x49d,_0x1d83b3:0x150,_0x3c1e3d:0x2d,_0x445955:0xd2,_0x11d296:0x11c,_0x17f190:0x169,_0x21b763:0x37,_0x5dee4c:0x481,_0x1fd99c:0x379,_0x5baa1f:0x370,_0x40859e:0x2f,_0x117ef1:0x18c,_0x522db9:0x4ec,_0x435056:0x5b6,_0x3f65ae:0x62d,_0xd894a1:0x164,_0x219c51:0x39f,_0x5b4879:0x6a2,_0x3fed54:0x6f5,_0x161942:0x5ab,_0x41a594:0x570,_0x20b00c:0x582,_0x232a0d:0x6f0,_0x5110d0:0x480,_0x38d9a8:0x644,_0x3b9301:0x2f7,_0x3cdebb:0x319,_0x179549:0x582,_0x32ab50:0x528,_0x5e7e7a:0x8f1,_0x2ac262:0x734,_0x43edda:0x3a2},_0xac72ec={_0x3d4994:0xcd},_0x347d5b={_0x398e81:0x1a6,_0x1e361d:0x604},_0x5332d2=_0x4dc652[_0x21fc9a(-_0x48f8a0._0x3d6f9f,_0x48f8a0._0x2cf5c6,-_0x48f8a0._0x3946a3,-_0x48f8a0._0x281bda)](_0x20f78d['defaultCwd']??process[_0x21fc9a(0x2ab,_0x48f8a0._0x201276,0x38b,_0x48f8a0._0x3e42c1)]());function _0x21fc9a(_0x1024f1,_0x13b7a5,_0x3b381c,_0xbb71c0){return _0x5b2413(_0x1024f1-0x1cb,_0x13b7a5-_0x347d5b._0x398e81,_0xbb71c0- -_0x347d5b._0x1e361d,_0x13b7a5);}function _0x3527bb(_0x1bc402,_0xf171c0,_0x120a07,_0x2cec78){return _0x28bc81(_0x1bc402-0xb5,_0xf171c0-0x186,_0x2cec78- -_0xac72ec._0x3d4994,_0xf171c0);}const _0x5c71d4=_0x20f78d['allowedDirs']??[],_0x56b4e1=_0x20f78d[_0x21fc9a(0x3aa,0x1fa,_0x48f8a0._0x3cd5c6,0x211)]??'Lsp';return defineTool({'name':_0x56b4e1,'permissionClass':_0x3527bb(0x24f,_0x48f8a0._0x587e27,0x23c,0x1eb),'description':_0x21fc9a(_0x48f8a0._0x5054d6,_0x48f8a0._0x3d821b,_0x48f8a0._0x49cf4d,0x38b),'inputSchema':{'type':_0x21fc9a(0x15b,-0x211,_0x48f8a0._0x990f89,0x0),'properties':{'operation':{'type':_0x21fc9a(-0x39,-_0x48f8a0._0x509f68,_0x48f8a0._0xb86d71,0x31),'enum':[_0x21fc9a(_0x48f8a0._0x47999f,0x29c,0x217,0x1b6),_0x21fc9a(_0x48f8a0._0x1550f2,0x6c,0x273,0x283),_0x3527bb(0x132,_0x48f8a0._0x3117a7,0xda,0x180),_0x21fc9a(-_0x48f8a0._0x1d6755,0x48,-_0x48f8a0._0x1fbfc0,0x9f),_0x3527bb(_0x48f8a0._0x1305c8,0x1d2,_0x48f8a0._0x1fe117,0x290),_0x21fc9a(-0xe4,0x58,-0x1fd,0x11),_0x21fc9a(0x100,0x47,-_0x48f8a0._0x3dc7fd,_0x48f8a0._0x407abf),_0x21fc9a(0x23a,0x12c,0x31d,0x30f),_0x3527bb(_0x48f8a0._0x549768,_0x48f8a0._0x27fc54,_0x48f8a0._0x4c34c6,_0x48f8a0._0x3e9b95),_0x3527bb(0x5df,_0x48f8a0._0x3551e1,_0x48f8a0._0x2f3e00,_0x48f8a0._0x449d2f)]},'filePath':{'type':_0x3527bb(_0x48f8a0._0x468cb4,0x311,_0x48f8a0._0x371233,0x1c9)},'line':{'type':_0x21fc9a(_0x48f8a0._0x31f76c,-_0x48f8a0._0x40e877,_0x48f8a0._0x36022f,_0x48f8a0._0x18ddf2)},'character':{'type':_0x21fc9a(0x335,_0x48f8a0._0x1ee168,_0x48f8a0._0x514d3c,_0x48f8a0._0x18ddf2)},'query':{'type':'string'}},'required':[_0x3527bb(_0x48f8a0._0x3a42b6,0x65a,_0x48f8a0._0xc85387,_0x48f8a0._0x49bea5),_0x3527bb(0x2fd,0x388,-0xa,_0x48f8a0._0x10f585),_0x3527bb(_0x48f8a0._0x3c473e,0x495,_0x48f8a0._0xe1798,_0x48f8a0._0x4bec78),_0x3527bb(_0x48f8a0._0x48a409,_0x48f8a0._0x5ef9cd,0x392,0x36f)]},async *'execute'(_0x493374,_0x3d021c){const _0x4360bf={_0x192159:0x1d5},_0x198313={_0x3a0e9c:0x116,_0x20021e:0x282},_0x158fa7=_0x20f78d[_0x1340d1(_0x5df5ac._0x3e784a,_0x5df5ac._0x320336,_0x5df5ac._0xa46e1f,0x1f9)];if(!_0x158fa7)throw new ToolExecutionError(_0x26f583(0x7c9,_0x5df5ac._0x1f29a2,0x4fc,0x5b6));if(!_0x158fa7[_0x1340d1(_0x5df5ac._0x178838,_0x5df5ac._0x3ee512,0x1e1,_0x5df5ac._0x3a61b7)]())throw new ToolExecutionError(_0x1340d1(-0x1d,_0x5df5ac._0x57b3c4,_0x5df5ac._0x2daa1d,_0x5df5ac._0x4c904f));function _0x26f583(_0x1ae91f,_0x35b140,_0x50ac8a,_0x36c3fa){return _0x3527bb(_0x1ae91f-0x130,_0x1ae91f,_0x50ac8a-_0x198313._0x3a0e9c,_0x35b140-_0x198313._0x20021e);}function _0x1340d1(_0x2aaca2,_0x11a603,_0x3e0bce,_0x31b55d){return _0x21fc9a(_0x2aaca2-_0x4360bf._0x192159,_0x3e0bce,_0x3e0bce-0x1e6,_0x31b55d-0xa);}const _0x2c0076=_0x493374[_0x1340d1(0x37a,_0x5df5ac._0x4daf00,0x4c4,0x35d)];validatePosition(_0x493374[_0x26f583(_0x5df5ac._0x5cf78c,_0x5df5ac._0x2916de,0x69f,_0x5df5ac._0x181c87)],_0x493374[_0x26f583(_0x5df5ac._0x136bf3,0x5f1,_0x5df5ac._0x105019,_0x5df5ac._0x5de9d3)]);if(_0x2c0076===_0x26f583(_0x5df5ac._0x4c55b0,_0x5df5ac._0x3ab5f0,0x60a,0x412)){if(!_0x493374[_0x1340d1(_0x5df5ac._0x50cbf8,0x1b1,0x28,_0x5df5ac._0xbce11a)]?.[_0x26f583(_0x5df5ac._0x5f4d68,_0x5df5ac._0x3ac60b,0x453,_0x5df5ac._0x478cdc)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x4fd1cf=await awaitWithAbort2(_0x158fa7[_0x26f583(0x512,0x512,0x407,_0x5df5ac._0x36c5b2)](_0x493374['query'][_0x1340d1(-0x147,0x14c,0x226,_0x5df5ac._0xfa5b11)]()),_0x3d021c[_0x26f583(0x5bd,0x582,0x379,_0x5df5ac._0x1c3156)]);return yield createToolOutput(formatSymbols(_0x4fd1cf),{'operation':_0x2c0076,'query':_0x493374[_0x26f583(_0x5df5ac._0x160dc7,_0x5df5ac._0x3b5f44,0x5ba,0x692)],'symbols':_0x4fd1cf}),void 0x0;}const _0x4df1d9=resolveAllowedPath(_0x5332d2,_0x5c71d4,_0x493374[_0x26f583(0x2c0,_0x5df5ac._0x3701b5,0x486,_0x5df5ac._0x192085)]);await assertFile(_0x4df1d9);if(!await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x478cdc,_0x5df5ac._0x3b4186,_0x5df5ac._0x18be1e,0x7fb)](_0x4df1d9),_0x3d021c[_0x1340d1(0x5f,0x280,0x206,0x172)]))throw new ToolExecutionError(_0x1340d1(0x357,0x3ef,_0x5df5ac._0x17b684,0x2e5)+_0x493374[_0x1340d1(0x83,-0x9e,0x162,-0x12)],{'filePath':_0x493374[_0x1340d1(-0xed,_0x5df5ac._0x203111,-0x1c,-0x12)]});await awaitWithAbort2(_0x158fa7['touchFile'](_0x4df1d9,!![]),_0x3d021c['signal']);const _0x41bda1={'file':_0x4df1d9,'line':_0x493374['line']-0x1,'character':_0x493374[_0x1340d1(_0x5df5ac._0x487316,0x134,_0x5df5ac._0x19134a,0x1e1)]-0x1};switch(_0x2c0076){case'hover':{const _0x4b8c94=await awaitWithAbort2(_0x158fa7[_0x1340d1(-0xcb,-0xae,0xeb,-_0x5df5ac._0x5d9db9)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatHover(_0x4b8c94),{'operation':_0x2c0076,'filePath':_0x4df1d9,'hover':_0x4b8c94}),void 0x0;}case _0x1340d1(0x1bf,_0x5df5ac._0x3e61de,0x40c,_0x5df5ac._0x21cd9b):{const _0x370b2e=await awaitWithAbort2(_0x158fa7[_0x26f583(0x7e7,_0x5df5ac._0x554e99,0x4ae,_0x5df5ac._0x515d69)](_0x4df1d9),_0x3d021c['signal']);return yield createToolOutput(formatDiagnostics(_0x370b2e),{'operation':_0x2c0076,'filePath':_0x4df1d9,'diagnostics':_0x370b2e}),void 0x0;}case'goToDefinition':{const _0x1aad75=await awaitWithAbort2(_0x158fa7[_0x1340d1(-_0x5df5ac._0x1d83b3,-_0x5df5ac._0x3c1e3d,0x4a,_0x5df5ac._0x445955)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatLocations(_0x1aad75),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0x1aad75}),void 0x0;}case'findReferences':{const _0x36acfb=await awaitWithAbort2(_0x158fa7[_0x1340d1(_0x5df5ac._0x11d296,-0x47,_0x5df5ac._0x17f190,-_0x5df5ac._0x21b763)](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x5dee4c,0x582,_0x5df5ac._0x1fd99c,_0x5df5ac._0x5baa1f)]);return yield createToolOutput(formatLocations(_0x36acfb),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0x36acfb}),void 0x0;}case _0x1340d1(-_0x5df5ac._0x40859e,_0x5df5ac._0x117ef1,-0x1fd,0x1b):{const _0xe4e8af=await awaitWithAbort2(_0x158fa7['implementation'](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x522db9,0x582,_0x5df5ac._0x435056,_0x5df5ac._0x3f65ae)]);return yield createToolOutput(formatLocations(_0xe4e8af),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0xe4e8af}),void 0x0;}case _0x1340d1(0x18c,0x38,-_0x5df5ac._0xd894a1,0xa9):{const _0x33931a=await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x219c51,0x4b9,0x349,0x3b4)](_0x4df1d9),_0x3d021c[_0x26f583(_0x5df5ac._0x5b4879,0x582,_0x5df5ac._0x3fed54,0x79e)]);return yield createToolOutput(formatSymbols(_0x33931a),{'operation':_0x2c0076,'filePath':_0x4df1d9,'symbols':_0x33931a}),void 0x0;}case'prepareCallHierarchy':{const _0x57aba8=await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x161942,0x516,0x359,0x4f5)](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x41a594,_0x5df5ac._0x20b00c,_0x5df5ac._0x232a0d,_0x5df5ac._0x5110d0)]);return yield createToolOutput(formatSymbols(_0x57aba8),{'operation':_0x2c0076,'filePath':_0x4df1d9,'symbols':toStructured(_0x57aba8)}),void 0x0;}case _0x26f583(_0x5df5ac._0x38d9a8,0x729,0x8e8,0x69b):{const _0x231560=await awaitWithAbort2(_0x158fa7[_0x1340d1(0x38e,_0x5df5ac._0x3b9301,0x263,_0x5df5ac._0x3cdebb)](_0x41bda1),_0x3d021c[_0x26f583(0x49d,_0x5df5ac._0x179549,0x3ca,_0x5df5ac._0x32ab50)]);return yield createToolOutput(formatIncomingCalls(_0x231560),{'operation':_0x2c0076,'filePath':_0x4df1d9,'calls':toStructured(_0x231560)}),void 0x0;}case _0x26f583(_0x5df5ac._0x5e7e7a,_0x5df5ac._0x2ac262,0x539,0x91a):{const _0x16280b=await awaitWithAbort2(_0x158fa7[_0x1340d1(0x201,0x1c3,_0x5df5ac._0x43edda,0x324)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatOutgoingCalls(_0x16280b),{'operation':_0x2c0076,'filePath':_0x4df1d9,'calls':toStructured(_0x16280b)}),void 0x0;}}}});}import*as _0x1aaaf7 from'path';function buildDescription(_0x511342){const _0x294286={_0x73da59:0x424,_0x3bdbe2:0x37,_0x27c302:0x665,_0x50d367:0x682,_0x2af3ee:0x6ab,_0x284249:0x544,_0x536bae:0x229,_0x506756:0x651,_0x27cdb4:0x443,_0x271c1c:0x807,_0x45f7bd:0x5e7},_0x31dbc0={_0x125328:0x1bc},_0x318129={_0x2aaf51:0x17,_0x537881:0x3aa};function _0x3596ea(_0x33f7d3,_0x48faf3,_0x21fe4f,_0xff6938){return _0x28bc81(_0x33f7d3-_0x318129._0x2aaf51,_0x48faf3-0x106,_0x48faf3-_0x318129._0x537881,_0xff6938);}if(_0x511342[_0x598386(_0x294286._0x73da59,0x3b0,0x544,0x3bb)]===0x0)return _0x598386(0x1d6,0x10a,_0x294286._0x3bdbe2,0x157);function _0x598386(_0x488978,_0x1a84a4,_0x44c8ae,_0x72e36f){return _0x28bc81(_0x488978-0x1aa,_0x1a84a4-_0x31dbc0._0x125328,_0x72e36f- -0x18e,_0x488978);}const _0x31a7c0=[_0x3596ea(0x847,_0x294286._0x27c302,0x573,_0x294286._0x50d367),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x3596ea(0x498,_0x294286._0x2af3ee,_0x294286._0x284249,0x767),'Available\x20skills\x20(skill_name:\x20description):',..._0x511342[_0x598386(0x38b,_0x294286._0x536bae,_0x294286._0x506756,_0x294286._0x27cdb4)](_0x141c29=>'-\x20'+_0x141c29[_0x3596ea(0x98d,0x820,0x9c5,0x97a)]+':\x20'+_0x141c29[_0x3596ea(0x756,0x8ac,0x834,0x68a)])];return _0x31a7c0[_0x3596ea(0x98e,_0x294286._0x271c1c,0x995,_0x294286._0x45f7bd)]('\x0a');}function createLoadSkillTool(_0x1618b4){const _0x3c007d={_0x174ba0:0x195,_0x1b7118:0x125,_0xbeca92:0x3de,_0x2c9020:0x71b,_0x22b4dd:0x6db,_0x4b21aa:0x818,_0x54ed26:0x857,_0x5b8caa:0x783,_0x3dac91:0x97a,_0x1047b0:0x8a,_0x193870:0x7c0,_0x21428b:0x28e},_0xbc9cb6={_0x325903:0x78d,_0x19fa7e:0x992,_0x208462:0x609,_0x4ae8c1:0x49a,_0x51b85e:0x404,_0x553555:0x7e5,_0x323101:0x5f4,_0x3a8579:0x847,_0x4f0777:0x763,_0x2a6c7b:0x672,_0x3e64b5:0x480,_0x1e0707:0x4eb,_0x5ac642:0x6a9,_0x495c35:0x47e,_0x57cb21:0x5bf,_0x2c7677:0x85c,_0x4db00c:0x417,_0x5e16d4:0x202,_0x5a46d8:0x2b9,_0x2f44a7:0x41b,_0xd861a:0x596,_0x22b027:0x38d,_0x181611:0x727,_0x19bfe0:0x69b,_0x3475c5:0x669,_0x2c137a:0x6c5,_0x3da494:0x63c,_0x1884aa:0x643,_0x157d88:0x60e,_0x3264de:0x67b,_0x441513:0x51e,_0x24c4bc:0x7c5,_0x229e96:0x543,_0x10b7cc:0x674,_0x3f5504:0x70a,_0x46314b:0x8f4,_0x2cacc6:0x6e7},_0x31a645={_0x5392be:0x19b},_0x1e9942={_0x20cf63:0xe4},_0x1721fd={_0x511fd4:0x8a,_0x487bf6:0x5e};function _0x707e65(_0x1dee6f,_0xe9cf68,_0x55d964,_0x150f91){return _0x5b2413(_0x1dee6f-_0x1721fd._0x511fd4,_0xe9cf68-_0x1721fd._0x487bf6,_0xe9cf68- -0x5e1,_0x55d964);}const _0x575482=new Map(_0x1618b4[_0x707e65(_0x3c007d._0x174ba0,_0x3c007d._0x1b7118,0xb0,0x47)][_0x707e65(0x548,0x38f,_0x3c007d._0xbeca92,0x2e2)](_0x44abc3=>[_0x44abc3['name'],_0x44abc3]));function _0x32a3d2(_0x58f6bb,_0x449d8f,_0x2fc765,_0x26711e){return _0x28bc81(_0x58f6bb-0x1ce,_0x449d8f-_0x1e9942._0x20cf63,_0x449d8f-0x374,_0x2fc765);}const _0x4b2a24=buildDescription(_0x1618b4[_0x32a3d2(_0x3c007d._0x2c9020,_0x3c007d._0x22b4dd,0x7f1,_0x3c007d._0x4b21aa)]);return defineTool({'name':_0x32a3d2(_0x3c007d._0x54ed26,_0x3c007d._0x5b8caa,_0x3c007d._0x3dac91,0x5e8),'permissionClass':'read','description':_0x4b2a24,'inputSchema':{'type':_0x707e65(0x20e,0x23,-_0x3c007d._0x1047b0,-0x137),'properties':{'name':{'type':_0x32a3d2(0x6c5,0x60a,0x487,_0x3c007d._0x193870)}},'required':[_0x707e65(0x3b,0x234,_0x3c007d._0x21428b,0x19c)]},async *'execute'(_0x37caa4){const _0x341109={_0x3ced7e:0x178,_0x3b6311:0x19e},_0x2e59b2=_0x575482[_0x4cc55c(_0xbc9cb6._0x325903,0x5c9,0x786,_0xbc9cb6._0x19fa7e)](_0x37caa4[_0x4cc55c(0x672,0x681,_0xbc9cb6._0x208462,_0xbc9cb6._0x4ae8c1)]);if(!_0x2e59b2){const _0xc6323d=Array[_0x4cc55c(_0xbc9cb6._0x51b85e,0x573,0x452,0x207)](_0x575482['keys']())[_0x4cc55c(0x659,_0xbc9cb6._0x553555,_0xbc9cb6._0x323101,_0xbc9cb6._0x3a8579)](',\x20');throw new ToolExecutionError(_0xa113c1(0x86b,_0xbc9cb6._0x4f0777,0x705,0x653)+_0x37caa4[_0x4cc55c(_0xbc9cb6._0x2a6c7b,_0xbc9cb6._0x3e64b5,0x69e,_0xbc9cb6._0x1e0707)]+_0x4cc55c(0x527,0x6c0,0x5a3,0x4bf)+_0xc6323d,{'name':_0x37caa4['name']});}function _0xa113c1(_0x4ad378,_0x35161d,_0xb66876,_0x47976a){return _0x707e65(_0x4ad378-_0x31a645._0x5392be,_0x47976a-0x460,_0xb66876,_0x47976a-0x13a);}function _0x4cc55c(_0xb8f883,_0x24bb72,_0x37f5a4,_0x538c2e){return _0x32a3d2(_0xb8f883-0x196,_0xb8f883- -_0x341109._0x3ced7e,_0x24bb72,_0x538c2e-_0x341109._0x3b6311);}const _0x26fce3=await _0x1618b4['loadSkill'](_0x2e59b2),_0x244864=_0x2e59b2[_0x4cc55c(0x647,_0xbc9cb6._0x5ac642,0x709,0x50d)][_0x4cc55c(0x57b,0x73d,_0xbc9cb6._0x495c35,_0xbc9cb6._0x57cb21)]??_0x1aaaf7['dirname'](_0x2e59b2[_0x4cc55c(0x647,0x628,0x5d3,0x4ea)][_0xa113c1(0x61d,0x7ee,_0xbc9cb6._0x2c7677,0x6e7)]),_0x2c2fef=[_0x4cc55c(_0xbc9cb6._0x4db00c,0x5ac,_0xbc9cb6._0x5e16d4,_0xbc9cb6._0x5a46d8)+_0x26fce3[_0x4cc55c(0x672,0x4cb,0x5a0,0x842)],'',_0x26fce3[_0x4cc55c(_0xbc9cb6._0x2f44a7,_0xbc9cb6._0xd861a,0x416,_0xbc9cb6._0x22b027)],'','---',_0x4cc55c(0x7b2,_0xbc9cb6._0x181611,0x920,0x5ab)+_0x2e59b2[_0xa113c1(0x483,0x730,_0xbc9cb6._0x19bfe0,_0xbc9cb6._0x3475c5)][_0x4cc55c(_0xbc9cb6._0x2c137a,0x57e,0x6b1,_0xbc9cb6._0x3da494)],_0x4cc55c(_0xbc9cb6._0x1884aa,0x848,0x784,0x7f3)+_0x244864][_0xa113c1(0x835,0x651,_0xbc9cb6._0x157d88,_0xbc9cb6._0x3264de)]('\x0a');return yield createToolOutput(_0x2c2fef,{'id':_0x26fce3['id'],'name':_0x26fce3[_0x4cc55c(_0xbc9cb6._0x2a6c7b,_0xbc9cb6._0x441513,_0xbc9cb6._0x24c4bc,_0xbc9cb6._0x229e96)],'path':_0x2e59b2[_0xa113c1(_0xbc9cb6._0x10b7cc,0x5a0,_0xbc9cb6._0x3f5504,0x669)][_0xa113c1(0x6b5,0x59f,_0xbc9cb6._0x46314b,_0xbc9cb6._0x2cacc6)],'baseDirectory':_0x244864}),void 0x0;}});}var TODO_STATUSES=new Set(['pending',_0x28bc81(0x33b,0x51e,0x481,0x410),_0x5b2413(0x669,0x877,0x79e,0x8d9)]),TODO_PRIORITIES=new Set([_0x28bc81(0x141,0xd7,0x1dd,0x18),_0x28bc81(0x248,0x328,0x3a1,0x1b9),_0x5b2413(0x4e9,0x792,0x689,0x76a)]);function isTodoStatus(_0x151de4){const _0x138e06={_0x41d437:0x47f,_0x20e213:0x6c3,_0x4f6120:0x438},_0x5c5f9d={_0x170100:0x40,_0x5c2f57:0x165},_0x585a0d={_0x507383:0x161};function _0x3159ae(_0x4fa488,_0x3b071d,_0x55f6e7,_0x37bd10){return _0x5b2413(_0x4fa488-0x13d,_0x3b071d-_0x585a0d._0x507383,_0x4fa488- -0x1b6,_0x37bd10);}function _0x5dcbfc(_0x1f73e7,_0x13b150,_0xcd281e,_0x2b22a1){return _0x5b2413(_0x1f73e7-_0x5c5f9d._0x170100,_0x13b150-0x66,_0x1f73e7- -_0x5c5f9d._0x5c2f57,_0x13b150);}return typeof _0x151de4===_0x3159ae(_0x138e06._0x41d437,0x379,0x463,0x5fe)&&TODO_STATUSES[_0x3159ae(0x4f4,_0x138e06._0x20e213,_0x138e06._0x4f6120,0x659)](_0x151de4);}function isTodoPriority(_0x1a4eef){const _0x2da48c={_0x140a55:0x4d3,_0x59a09e:0x437,_0x10457a:0x5f1},_0x102356={_0x42958b:0x1a3,_0x13e3e0:0x131};function _0x48e98a(_0xb614d7,_0x5c7b86,_0x77975d,_0x5657f1){return _0x28bc81(_0xb614d7-_0x102356._0x42958b,_0x5c7b86-_0x102356._0x13e3e0,_0x77975d-0x35b,_0x5657f1);}return typeof _0x1a4eef===_0x48e98a(_0x2da48c._0x140a55,_0x2da48c._0x59a09e,_0x2da48c._0x10457a,0x734)&&TODO_PRIORITIES['has'](_0x1a4eef);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0x478f8c){const _0x21ed7d={_0x52b865:0x257,_0x488710:0x1ba,_0x415fdd:0x23a,_0x1c07b3:0x578},_0x5339a4={_0x443ac9:0x494},_0x49a6fb={_0x458816:0x9b,_0x22799d:0x160,_0x94be79:0x5a3};function _0x3238a7(_0x602462,_0x208c88,_0x15dcf1,_0x570e7c){return _0x5b2413(_0x602462-_0x49a6fb._0x458816,_0x208c88-_0x49a6fb._0x22799d,_0x208c88- -_0x49a6fb._0x94be79,_0x15dcf1);}function _0x1b4720(_0x20467c,_0x1f2554,_0x30c8c8,_0x121236){return _0x5b2413(_0x20467c-0xc0,_0x1f2554-0x1c5,_0x20467c- -_0x5339a4._0x443ac9,_0x30c8c8);}return this[_0x3238a7(0x404,_0x21ed7d._0x52b865,0x3cb,0x253)][_0x3238a7(_0x21ed7d._0x488710,0x38d,_0x21ed7d._0x415fdd,_0x21ed7d._0x1c07b3)](_0x478f8c)??[];}[_0x28bc81(0x5fc,0x59d,0x4c4,0x665)](_0x1f8861,_0xa05e9b){const _0x5967a3={_0x36820d:0x733,_0x285224:0x96c,_0x155a4e:0x8bf,_0x28059b:0x80c},_0x1b001d={_0x824bd0:0x0,_0x34737c:0x1d,_0xa0b4ca:0x36},_0x50abca={_0x58dac7:0x31f};function _0x5e5bcc(_0x584353,_0x3dc4bb,_0x4112f2,_0x1d0c86){return _0x5b2413(_0x584353-0xdc,_0x3dc4bb-0xfa,_0x4112f2- -_0x50abca._0x58dac7,_0x584353);}function _0x2cf5ee(_0x2e931a,_0x4e92a2,_0x4ec50c,_0x2413e5){return _0x5b2413(_0x2e931a-_0x1b001d._0x824bd0,_0x4e92a2-_0x1b001d._0x34737c,_0x2413e5-_0x1b001d._0xa0b4ca,_0x2e931a);}this[_0x2cf5ee(_0x5967a3._0x36820d,0x791,0x7cb,0x830)][_0x2cf5ee(_0x5967a3._0x285224,0xa22,_0x5967a3._0x155a4e,_0x5967a3._0x28059b)](_0x1f8861,_0xa05e9b);}[_0x28bc81(0x34f,0x3d7,0x1e6,0x143)](_0x1ee72a){const _0x319028={_0xf48a13:0x6ba,_0xe1487:0x5be,_0x100422:0x5d7,_0x3aed57:0x5c0,_0x437634:0x889,_0x47dd66:0x8dd,_0x21c9c0:0x3ea,_0x225d5e:0x3c0,_0x53fddc:0x46c,_0x49b47c:0x2c1,_0x48543c:0x327,_0x4360e2:0x5a6,_0x5cbd74:0x415,_0x5d4f6f:0x2ae,_0x2f2175:0x3b9,_0x512fe2:0x801},_0x88dca6={_0x47a642:0x1e4},_0x3c15f4={_0xabf5bb:0x67,_0x5ba132:0x188},_0x1416b3=this[_0x414ba9(_0x319028._0xf48a13,_0x319028._0xe1487,_0x319028._0x100422,_0x319028._0x3aed57)](_0x1ee72a);function _0x414ba9(_0x5a5e66,_0x52b181,_0x294924,_0x1e2aa7){return _0x5b2413(_0x5a5e66-0x96,_0x52b181-_0x3c15f4._0xabf5bb,_0x52b181- -_0x3c15f4._0x5ba132,_0x1e2aa7);}function _0x17264e(_0x514f50,_0x476a35,_0x30e7e1,_0x887cc0){return _0x28bc81(_0x514f50-0x180,_0x476a35-_0x88dca6._0x47a642,_0x476a35-0x2c1,_0x887cc0);}const _0x2ca49c={'total':_0x1416b3[_0x414ba9(_0x319028._0x437634,0x760,_0x319028._0x47dd66,0x6a6)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x37db58 of _0x1416b3){if(_0x37db58[_0x17264e(_0x319028._0x21c9c0,0x4bf,_0x319028._0x225d5e,0x49c)]===_0x414ba9(0x4a3,_0x319028._0x53fddc,0x5db,_0x319028._0x49b47c))_0x2ca49c[_0x17264e(_0x319028._0x48543c,0x516,_0x319028._0x4360e2,0x54c)]+=0x1;else{if(_0x37db58[_0x414ba9(0x307,_0x319028._0x5cbd74,_0x319028._0x5d4f6f,_0x319028._0x2f2175)]==='in_progress')_0x2ca49c[_0x17264e(0x89e,0x7ed,0x9ea,_0x319028._0x512fe2)]+=0x1;else _0x2ca49c['completed']+=0x1;}}return _0x2ca49c;}};function validateTodos(_0x2d7f26){const _0x5a94a3={_0x33878c:0x153,_0xaf0da2:0x154,_0x225eb0:0x26,_0x586353:0xdf,_0x3e171:0x27e,_0x1dfd0d:0x260,_0x37451e:0x30c,_0x2d871c:0x37e,_0x5878b6:0x342,_0xb28951:0x462,_0xfc7ef1:0x551,_0x28ab26:0x567,_0x3b35e3:0x4be,_0xec0590:0x584,_0x225d76:0x41f,_0x1b9c29:0x337,_0x342ef4:0x1dc,_0x4feca5:0x22c,_0x1d477a:0x9a,_0x410e33:0xa2,_0x1567a3:0x80,_0x42caf3:0x7f9,_0x3bede6:0xcb,_0xa031fa:0x9d,_0x1052cf:0x678,_0x55cf19:0x51e,_0x222c6a:0x882,_0x5aac40:0x26e,_0x422ecc:0x400,_0x5a1374:0xa02,_0x45c870:0xa71,_0x3e7356:0x954,_0x2d3591:0x924,_0x298209:0x303,_0x3ea55a:0x470,_0x5aab06:0x2cb,_0x553d46:0x4d7,_0x2e1c13:0x7b6,_0x981622:0x2ec,_0x156db4:0x431,_0x50d0cd:0x108,_0x55d89a:0x621,_0x5714b5:0x839,_0x101ec1:0xaa8,_0x41c849:0x898,_0x281c05:0x8ac,_0x39d0e5:0x589,_0x16f4c2:0x7b8,_0x2443cb:0x433,_0x32c731:0x68b,_0xb1fd62:0x561,_0x7ab184:0x5b,_0x4a4145:0xa7,_0x4a1df7:0x24b,_0x3ac5e2:0x345,_0x1422c9:0x3be,_0x4fff1c:0xbc,_0x32bfe2:0x39,_0x53f33c:0xd9,_0x276914:0x60d,_0xa55d1:0x6d2,_0x45714e:0x699,_0x26a1cd:0x791,_0x5813bc:0x570,_0x5b83bf:0x64b,_0x344a2d:0x681,_0x491d39:0x7d2,_0x10a99d:0x682,_0x2c7b87:0x73a,_0x89eca6:0xa17,_0x3f791b:0x8ac,_0x5c61be:0x912,_0x5a3341:0x709,_0x8fbe47:0x84e},_0x64bbe8={_0x55242c:0xa6,_0x5a27e5:0x1cb},_0x3b4614={_0x40cdd3:0x13d,_0x302611:0xec,_0x1a43ab:0x3c};if(!Array['isArray'](_0x2d7f26[_0x277bf4(_0x5a94a3._0x33878c,_0x5a94a3._0xaf0da2,-_0x5a94a3._0x225eb0,_0x5a94a3._0x586353)])||_0x2d7f26[_0x277bf4(0x153,_0x5a94a3._0x3e171,_0x5a94a3._0x1dfd0d,_0x5a94a3._0x37451e)][_0x277bf4(_0x5a94a3._0x2d871c,0x526,_0x5a94a3._0x5878b6,_0x5a94a3._0xb28951)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x1c6262(0x404,0x6b3,_0x5a94a3._0xfc7ef1,0x608)});function _0x1c6262(_0x302731,_0x37d55f,_0x1bd860,_0x394e27){return _0x5b2413(_0x302731-_0x3b4614._0x40cdd3,_0x37d55f-_0x3b4614._0x302611,_0x394e27- -_0x3b4614._0x1a43ab,_0x37d55f);}for(let _0x1810fc=0x0;_0x1810fc<_0x2d7f26[_0x1c6262(0x785,0x84b,_0x5a94a3._0x28ab26,0x681)][_0x277bf4(_0x5a94a3._0x2d871c,_0x5a94a3._0x3b35e3,_0x5a94a3._0xec0590,_0x5a94a3._0x225d76)];_0x1810fc+=0x1){const _0xcf058a=_0x2d7f26[_0x277bf4(0x153,_0x5a94a3._0x1b9c29,_0x5a94a3._0x342ef4,_0x5a94a3._0x4feca5)][_0x1810fc];if(!_0xcf058a||typeof _0xcf058a!==_0x277bf4(_0x5a94a3._0x1d477a,0x1ab,0x125,0x1c2))throw new ToolExecutionError('Todo\x20'+(_0x1810fc+0x1)+_0x277bf4(_0x5a94a3._0x410e33,-_0x5a94a3._0x1567a3,0x1e0,-0xe8),{'error':_0x1c6262(_0x5a94a3._0x42caf3,0x7c7,0x5ab,0x6a6)});if(typeof _0xcf058a['id']!==_0x277bf4(_0x5a94a3._0x3bede6,_0x5a94a3._0xa031fa,0x2cf,-0x14e)||_0xcf058a['id'][_0x1c6262(_0x5a94a3._0x1052cf,_0x5a94a3._0x55cf19,_0x5a94a3._0x222c6a,0x67b)]()[_0x277bf4(0x37e,0x3ff,_0x5a94a3._0x5aac40,_0x5a94a3._0x422ecc)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1810fc+0x1)+_0x1c6262(0x6bc,0x820,_0x5a94a3._0x5a1374,0x812),{'error':_0x1c6262(_0x5a94a3._0x45c870,_0x5a94a3._0x3e7356,0xb26,_0x5a94a3._0x2d3591)});if(typeof _0xcf058a[_0x277bf4(_0x5a94a3._0x298209,_0x5a94a3._0x3ea55a,_0x5a94a3._0x5aab06,_0x5a94a3._0x553d46)]!==_0x1c6262(0x810,0x791,_0x5a94a3._0x2e1c13,0x5f9)||_0xcf058a[_0x277bf4(0x303,_0x5a94a3._0x981622,_0x5a94a3._0x156db4,_0x5a94a3._0x50d0cd)][_0x1c6262(_0x5a94a3._0x55d89a,_0x5a94a3._0x5714b5,0x82f,0x67b)]()[_0x1c6262(0x69d,_0x5a94a3._0x101ec1,_0x5a94a3._0x41c849,_0x5a94a3._0x281c05)]===0x0)throw new ToolExecutionError(_0x1c6262(0x773,0x5f9,0x71a,_0x5a94a3._0x39d0e5)+(_0x1810fc+0x1)+':\x20content\x20required',{'error':_0x1c6262(0x573,0x535,_0x5a94a3._0x16f4c2,0x5cf)});if(!isTodoStatus(_0xcf058a[_0x1c6262(0x733,_0x5a94a3._0x2443cb,_0x5a94a3._0x32c731,_0x5a94a3._0xb1fd62)]))throw new ToolExecutionError(_0x277bf4(_0x5a94a3._0x7ab184,0x53,_0x5a94a3._0x4a4145,_0x5a94a3._0x4a1df7)+(_0x1810fc+0x1)+':\x20invalid\x20status',{'error':_0x1c6262(0x503,_0x5a94a3._0x3ac5e2,_0x5a94a3._0x1422c9,0x52f)});if(!isTodoPriority(_0xcf058a[_0x277bf4(_0x5a94a3._0x4fff1c,-0xdf,-_0x5a94a3._0x32bfe2,-_0x5a94a3._0x53f33c)]))throw new ToolExecutionError(_0x1c6262(_0x5a94a3._0x276914,_0x5a94a3._0xa55d1,0x4ff,_0x5a94a3._0x39d0e5)+(_0x1810fc+0x1)+_0x1c6262(0x5e1,0x98f,_0x5a94a3._0x45714e,_0x5a94a3._0x26a1cd),{'error':_0x1c6262(0x51d,0x450,0x66f,_0x5a94a3._0x5813bc)});}const _0x42e1e3=_0x2d7f26[_0x1c6262(0x802,0x4d2,_0x5a94a3._0x5b83bf,_0x5a94a3._0x344a2d)]['map'](_0x432658=>_0x432658['id']);function _0x277bf4(_0x2ba020,_0x5dd2b4,_0x14664e,_0x11f5d7){return _0x28bc81(_0x2ba020-_0x64bbe8._0x55242c,_0x5dd2b4-0x186,_0x2ba020- -_0x64bbe8._0x5a27e5,_0x14664e);}if(new Set(_0x42e1e3)[_0x1c6262(_0x5a94a3._0x491d39,_0x5a94a3._0x10a99d,0x5e8,0x635)]!==_0x42e1e3[_0x1c6262(0x7f6,_0x5a94a3._0x2c7b87,_0x5a94a3._0x89eca6,_0x5a94a3._0x3f791b)])throw new ToolExecutionError(_0x1c6262(0x752,0x514,_0x5a94a3._0x5c61be,_0x5a94a3._0x5a3341),{'error':_0x1c6262(0x91f,0x856,_0x5a94a3._0x8fbe47,0x7cd)});}function createStatsProgress(_0x109c7c){const _0x3f9168={_0x3ff992:0x436,_0x4155b2:0x14,_0x409d02:0x1fd,_0x469862:0x2b9,_0x4c15e3:0xb3},_0x48fe4f={_0x1b152f:0x154},_0x2da8c3={_0x54da86:0x22};function _0x35b5d3(_0xd55014,_0x580b98,_0x2981f5,_0x68ea14){return _0x5b2413(_0xd55014-_0x2da8c3._0x54da86,_0x580b98-0xc7,_0x580b98- -0x3ff,_0x2981f5);}function _0x4f77cf(_0xf113c2,_0x5f02e0,_0x552131,_0x494869){return _0x28bc81(_0xf113c2-_0x48fe4f._0x1b152f,_0x5f02e0-0x110,_0x494869-0x3b5,_0x552131);}return _0x109c7c['total']>0x0?Math['round'](_0x109c7c[_0x35b5d3(0x4db,0x39f,0x263,_0x3f9168._0x3ff992)]/_0x109c7c[_0x35b5d3(_0x3f9168._0x4155b2,_0x3f9168._0x409d02,_0x3f9168._0x469862,_0x3f9168._0x4c15e3)]*0x64)+'%':'0%';}function createReminderItems(_0x1f6eb1){const _0x5a0c61={_0x19e656:0xce},_0x2537f4={_0x114c97:0x134,_0x34bbd2:0x1d9,_0x15ff60:0x560};function _0x4beb21(_0x47ad6e,_0x5b07e6,_0x14fc5d,_0x5739c9){return _0x5b2413(_0x47ad6e-_0x2537f4._0x114c97,_0x5b07e6-_0x2537f4._0x34bbd2,_0x5739c9- -_0x2537f4._0x15ff60,_0x47ad6e);}function _0x4bb485(_0x5a15a5,_0x41e7ca,_0x396e6f,_0x467ba4){return _0x5b2413(_0x5a15a5-0x125,_0x41e7ca-_0x5a0c61._0x19e656,_0x41e7ca- -0x675,_0x5a15a5);}return _0x1f6eb1['map'](_0x1e6214=>({'content':_0x1e6214[_0x4beb21(0x358,0x244,0x281,0x30d)],'status':_0x1e6214[_0x4bb485(-0x2ad,-0xd8,-0xce,-0x9f)],'id':_0x1e6214['id']}));}function createStructuredResult(_0x2e9ee8,_0x3c67df,_0x5ad4f0,_0x467421){const _0x498a36={_0x4aae6d:0x816,_0x2e62d8:0x464,_0x280fc8:0x5de,_0x531623:0x600,_0x5c19fe:0x64c,_0x226b02:0x262},_0x163793={_0x1d5db9:0x91,_0xd12a74:0x165},_0x1b61cd={_0x16d939:0xc0};function _0x9a5007(_0x567f0b,_0xfe40b6,_0x19c6fe,_0x50597e){return _0x28bc81(_0x567f0b-_0x1b61cd._0x16d939,_0xfe40b6-0xc8,_0xfe40b6- -0xef,_0x50597e);}function _0x32005b(_0x4a9270,_0x303977,_0x4072b2,_0x9527d8){return _0x28bc81(_0x4a9270-_0x163793._0x1d5db9,_0x303977-_0x163793._0xd12a74,_0x9527d8-0x2f,_0x303977);}return{'allCompleted':_0x467421,'items':_0x3c67df[_0x32005b(_0x498a36._0x4aae6d,_0x498a36._0x2e62d8,_0x498a36._0x280fc8,_0x498a36._0x531623)](_0x13ddf0=>({'id':_0x13ddf0['id'],'content':_0x13ddf0[_0x32005b(0x549,0x6a3,0x4ee,0x4fd)],'status':_0x13ddf0['status'],'priority':_0x13ddf0[_0x9a5007(0x128,0x198,0x1b4,0x60)],'createdAt':_0x13ddf0[_0x32005b(0x548,0x4e6,0x6e9,0x5ab)]})),'progress':createStatsProgress(_0x5ad4f0),'recentChanges':!![],'sessionId':_0x2e9ee8,'stats':_0x5ad4f0,'todosWritten':_0x3c67df[_0x9a5007(0x627,0x45a,_0x498a36._0x5c19fe,_0x498a36._0x226b02)]};}function createOutputText(_0x20d5eb,_0x243d1){const _0x27bba6={_0x18e7ea:0x683,_0x38e69f:0x6fa,_0x19e2f4:0x56d,_0x16420d:0x5fe,_0x454c3c:0x638,_0x4ffb9a:0x55c,_0x40055a:0x492,_0x1a9e4f:0x514,_0x5b13c0:0x4d1,_0x16c6f6:0x6df,_0x12cde0:0x55b},_0x3dafec={_0x1b6f3c:0x68,_0x3a71bc:0x14f},_0x222119={_0x2a2a1e:0x1eb,_0x3fd008:0x197},_0x231e72=JSON[_0x4d04ac(_0x27bba6._0x18e7ea,_0x27bba6._0x38e69f,0x671,0x838)](createReminderItems(_0x20d5eb));function _0x45caf4(_0x4eaf78,_0x5afba6,_0x8bf1b6,_0x3d4dce){return _0x28bc81(_0x4eaf78-_0x222119._0x2a2a1e,_0x5afba6-0x32,_0x8bf1b6-_0x222119._0x3fd008,_0x4eaf78);}if(_0x243d1)return _0x4d04ac(_0x27bba6._0x19e2f4,0x433,0x412,0x6b1)+_0x20d5eb[_0x4d04ac(0x698,_0x27bba6._0x16420d,_0x27bba6._0x454c3c,_0x27bba6._0x4ffb9a)]+_0x45caf4(0x30b,_0x27bba6._0x40055a,_0x27bba6._0x1a9e4f,0x313)+_0x231e72+_0x4d04ac(_0x27bba6._0x5b13c0,0x398,0x34d,0x527);function _0x4d04ac(_0x5e5b71,_0x2ecb92,_0x4112ab,_0x5c1314){return _0x28bc81(_0x5e5b71-0x2,_0x2ecb92-_0x3dafec._0x1b6f3c,_0x5e5b71-_0x3dafec._0x3a71bc,_0x5c1314);}return _0x4d04ac(_0x27bba6._0x16c6f6,0x5c6,0x670,0x80c)+_0x231e72+_0x45caf4(0x50e,0x452,0x519,_0x27bba6._0x12cde0);}function createTodoWriteTool(_0x583fe8=new TodoStore()){const _0xf64a25={_0x117a26:0x4d3,_0x156023:0x5cc,_0x3c0a08:0x335,_0x33dea2:0x525,_0x1b996d:0x271,_0x42270:0x4e0,_0x594ee7:0x481,_0x4cd679:0x668,_0x502e96:0x52c,_0x275f8c:0x36c,_0x3e908b:0x394,_0x224c3d:0x540,_0x56af4f:0x5ca,_0x466150:0x5f0,_0x8f0b82:0x3e9,_0x5cd26c:0x42a,_0xeb499c:0x214,_0x4db7fc:0x357,_0xe7c369:0x3a2,_0x18528b:0x233,_0x1c8fb1:0x3ee,_0x3cf8f8:0x521,_0x12ab20:0x58d},_0x86d347={_0x264fa1:0x5f1,_0x56a5cd:0x791,_0xf02b7f:0x8ea,_0x129252:0x4de,_0xec5d5f:0x787,_0x3cd43d:0x439,_0x1a0229:0x709},_0x27e519={_0x692ba2:0x125,_0x513569:0x89},_0x1468fb={_0x42ed90:0x2cf},_0x37cb79={_0xd259ea:0x68,_0x12155f:0x1c6,_0x2d2be8:0x1b4};function _0xc83b26(_0xbf72d8,_0x4d6631,_0x1d5ea6,_0x5b1f90){return _0x5b2413(_0xbf72d8-_0x37cb79._0xd259ea,_0x4d6631-_0x37cb79._0x12155f,_0x4d6631- -_0x37cb79._0x2d2be8,_0xbf72d8);}function _0x22078a(_0x229db1,_0x32902b,_0x5d7d6a,_0xb5dd2){return _0x5b2413(_0x229db1-0x13e,_0x32902b-0x192,_0x229db1- -_0x1468fb._0x42ed90,_0x5d7d6a);}return defineTool({'name':_0x22078a(_0xf64a25._0x117a26,0x3a3,0x2b1,_0xf64a25._0x156023),'permissionClass':'read','description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20only\x20in\x20the\x20same\x20response\x20as\x20real\x20work\x20(read,\x20grep,\x20edit,\x20bash,\x20fetch).\x20Never\x20send\x20a\x20response\x20whose\x20only\x20tool\x20call\x20is\x20TodoWrite.\x20Do\x20not\x20open\x20a\x20turn\x20with\x20it.\x20Do\x20not\x20add\x20a\x20wrap-up\x20call\x20after\x20the\x20proving\x20test\x20or\x20build\x20is\x20green.\x0a\x0aSkip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Update\x20only\x20at\x20meaningful\x20milestones,\x20in\x20the\x20same\x20response\x20as\x20the\x20work\x20that\x20changed\x20those\x20statuses:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\x20finished\x20items\x20completed\x20and\x20set\x20the\x20next\x20milestone\x20in_progress\x20together.\x0a-\x20Do\x20not\x20call\x20TodoWrite\x20after\x20every\x20tool\x20call,\x20minor\x20substep,\x20or\x20progress\x20message.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked\x20or\x20verification\x20fails.\x20Revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.','inputSchema':{'type':_0x22078a(_0xf64a25._0x3c0a08,_0xf64a25._0x33dea2,_0xf64a25._0x1b996d,_0xf64a25._0x42270),'properties':{'todos':{'type':'array','items':{'type':'object','properties':{'content':{'type':'string'},'status':{'type':_0xc83b26(0x353,_0xf64a25._0x594ee7,_0xf64a25._0x4cd679,0x5bb)},'priority':{'type':_0x22078a(0x366,0x488,_0xf64a25._0x502e96,_0xf64a25._0x275f8c)},'id':{'type':'string'},'createdAt':{'type':_0xc83b26(_0xf64a25._0x3e908b,0x481,_0xf64a25._0x224c3d,0x3a0)}},'required':[_0xc83b26(_0xf64a25._0x56af4f,0x6b9,_0xf64a25._0x466150,0x75f),_0xc83b26(0x2e5,_0xf64a25._0x8f0b82,_0xf64a25._0x5cd26c,_0xf64a25._0xeb499c),_0x22078a(_0xf64a25._0x4db7fc,0x4f2,_0xf64a25._0xe7c369,_0xf64a25._0x18528b),'id']}}},'required':[_0x22078a(_0xf64a25._0x1c8fb1,_0xf64a25._0x3cf8f8,0x5e7,_0xf64a25._0x12ab20)]},async *'execute'(_0x539123,_0x489878){const _0x479403={_0x288348:0xf0,_0x376a7e:0x105};function _0x557330(_0x2840b5,_0x201b1c,_0x14452b,_0x9b199c){return _0x22078a(_0x201b1c-_0x479403._0x288348,_0x201b1c-_0x479403._0x376a7e,_0x2840b5,_0x9b199c-0xa3);}const _0x1ac423=_0x539123;validateTodos(_0x1ac423);const _0x27ea78=_0x489878[_0xafcb95(0x36f,0x6eb,0x583,_0x86d347._0x264fa1)]||'default',_0xa7e3cd=new Date()['toISOString'](),_0x4ff413=_0x1ac423['todos'][_0xafcb95(0x800,0x80e,_0x86d347._0x56a5cd,_0x86d347._0xf02b7f)](_0xdc43e2=>({'id':_0xdc43e2['id'],'content':_0xdc43e2[_0x557330(0x895,0x68e,0x7af,0x72f)],'status':_0xdc43e2[_0xafcb95(0x373,0x1f4,0x3be,0x324)],'priority':_0xdc43e2['priority'],'sessionId':_0x27ea78,'createdAt':_0xdc43e2['createdAt']||_0xa7e3cd,'updatedAt':_0xa7e3cd}));_0x583fe8[_0xafcb95(_0x86d347._0x129252,_0x86d347._0xec5d5f,0x684,0x717)](_0x27ea78,_0x4ff413);const _0x3673a0=_0x583fe8[_0xafcb95(_0x86d347._0x3cd43d,0x524,0x3a6,0x2d9)](_0x27ea78),_0x5e72f2=_0x4ff413[_0x557330(0x538,_0x86d347._0x1a0229,0x5a7,0x6fb)]>0x0&&_0x4ff413['every'](_0x488f68=>_0x488f68[_0xafcb95(0x3f6,0x1f5,0x3be,0x460)]===_0x557330(0x457,0x5bf,0x555,0x597));function _0xafcb95(_0x5490cd,_0x3aba6b,_0x2a4952,_0x4ef59d){return _0x22078a(_0x2a4952-0xf0,_0x3aba6b-_0x27e519._0x692ba2,_0x4ef59d,_0x4ef59d-_0x27e519._0x513569);}return createToolOutput(createOutputText(_0x4ff413,_0x5e72f2),createStructuredResult(_0x27ea78,_0x4ff413,_0x3673a0,_0x5e72f2));}});}function createUpdateTopicTool(){const _0x379ba9={_0x5d6cc9:0x6d3,_0x2c149d:0x555,_0x156c27:0x2df,_0x313821:0x40f,_0x48aaa2:0x590,_0x232fbc:0x6d7,_0x245dd5:0x89c,_0x56894f:0x524},_0x9b98f1={_0x102e29:0xad,_0x243b97:0x1b7,_0x499c5c:0x299,_0x376176:0x183,_0x2a517f:0xd0,_0x45b3d6:0x32c,_0x572feb:0x428,_0x348097:0x37d,_0x3c3ebc:0xbf,_0x2fac71:0x36,_0x15f2d7:0x1e,_0xd867d1:0x39a,_0x660f45:0x3b6},_0x3b20cd={_0x1b6073:0x3e3},_0x511f76={_0x2abf2a:0x159,_0x228e56:0xb3},_0x217b66={_0x449b77:0xea};function _0x175eb6(_0xcd5d9d,_0x4ee010,_0x2fd994,_0x28eaae){return _0x28bc81(_0xcd5d9d-0x119,_0x4ee010-_0x217b66._0x449b77,_0x28eaae-0x157,_0x2fd994);}function _0x1fcd33(_0x5ed40f,_0x58110a,_0x4ad347,_0x28b3dd){return _0x28bc81(_0x5ed40f-0x3f,_0x58110a-0x19c,_0x4ad347-0x18a,_0x58110a);}return defineTool({'name':_0x175eb6(_0x379ba9._0x5d6cc9,0x640,0x749,_0x379ba9._0x2c149d),'permissionClass':_0x175eb6(0x50c,0x258,_0x379ba9._0x156c27,_0x379ba9._0x313821),'description':_0x1fcd33(0x503,_0x379ba9._0x48aaa2,_0x379ba9._0x232fbc,_0x379ba9._0x245dd5),'inputSchema':{'type':'object','properties':{'topic':{'type':_0x175eb6(0x561,_0x379ba9._0x56894f,0x43f,0x3ed)}},'required':['topic']},async *'execute'(_0x1ac556,_0x8ac117){function _0x10c5d1(_0x5b7f03,_0x4dbc74,_0x184a76,_0x7b5454){return _0x175eb6(_0x5b7f03-_0x511f76._0x2abf2a,_0x4dbc74-_0x511f76._0x228e56,_0x184a76,_0x5b7f03- -0x1d6);}const {topic:_0x36c151}=_0x1ac556;if(typeof _0x36c151!==_0x10c5d1(0x217,_0x9b98f1._0x102e29,_0x9b98f1._0x243b97,0xee)||_0x36c151[_0x10c5d1(_0x9b98f1._0x499c5c,_0x9b98f1._0x376176,_0x9b98f1._0x2a517f,_0x9b98f1._0x45b3d6)]()['length']===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x10c5d1(0x499,_0x9b98f1._0x572feb,_0x9b98f1._0x348097,0x3da)});function _0x572d4b(_0xd012b1,_0x4fe142,_0x29df29,_0x78efa3){return _0x1fcd33(_0xd012b1-0x19d,_0xd012b1,_0x29df29- -_0x3b20cd._0x1b6073,_0x78efa3-0x35);}const _0x12c758=_0x36c151[_0x572d4b(-0xaa,-0x25,_0x9b98f1._0x3c3ebc,0xbd)]();return _0x8ac117[_0x572d4b(-_0x9b98f1._0x2fac71,-_0x9b98f1._0x15f2d7,0x2a,0x246)]?.(_0x12c758),yield createToolOutput(_0x572d4b(_0x9b98f1._0xd867d1,0x20c,_0x9b98f1._0x660f45,0x194)+_0x12c758+'\x22',{'topic':_0x12c758}),void 0x0;}});}import{randomUUID as _0x51feb2}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x48e481}from'child_process';function errorMessage(_0x5bb403){return _0x5bb403 instanceof Error?_0x5bb403['message']:String(_0x5bb403);}function isNotFound(_0xa3715b){const _0x3fbc90={_0x50ad4b:0x1a6,_0x344019:0x11,_0x3ceea4:0x428,_0x3ebfa8:0x433,_0x549968:0x1ac,_0x316f29:0x44c,_0x396ac1:0x38a,_0x1b2e1d:0x1f2},_0x17c417={_0x266c23:0x16f,_0x16e305:0x1e3,_0x231482:0x20f};function _0x320a96(_0x3284e7,_0x13101c,_0xac1335,_0x392192){return _0x28bc81(_0x3284e7-_0x17c417._0x266c23,_0x13101c-_0x17c417._0x16e305,_0xac1335- -_0x17c417._0x231482,_0x13101c);}function _0x4c0cc4(_0x28ecf7,_0x36c18a,_0x567d29,_0x47e8b3){return _0x28bc81(_0x28ecf7-0x20,_0x36c18a-0x125,_0x28ecf7-0x375,_0x36c18a);}return typeof _0xa3715b===_0x320a96(-_0x3fbc90._0x50ad4b,-0x78,0x56,_0x3fbc90._0x344019)&&_0xa3715b!==null&&_0x320a96(_0x3fbc90._0x3ceea4,_0x3fbc90._0x3ebfa8,0x38a,0x51e)in _0xa3715b&&_0xa3715b[_0x320a96(_0x3fbc90._0x549968,_0x3fbc90._0x316f29,_0x3fbc90._0x396ac1,_0x3fbc90._0x1b2e1d)]==='ESRCH';}function isSafeProcessId(_0x18ca0b){const _0x2546f={_0xe2d61b:0x144,_0x403902:0x17f,_0x5887f1:0x3f0};function _0x3b77c3(_0x2b2dc0,_0x15f20b,_0x4ff077,_0x1c8861){return _0x28bc81(_0x2b2dc0-_0x2546f._0xe2d61b,_0x15f20b-_0x2546f._0x403902,_0x15f20b-_0x2546f._0x5887f1,_0x2b2dc0);}return _0x18ca0b!==void 0x0&&Number[_0x3b77c3(0x68c,0x706,0x7d5,0x8d8)](_0x18ca0b)&&_0x18ca0b>0x1;}function createProcessTreeSignalAdapter(_0x185f4b={}){const _0x310bf4={_0x5b0e20:0x123,_0x3b1193:0x97,_0x3886c4:0x155,_0x4fea40:0x1c0,_0x42aea6:0x3f6,_0x5ca240:0x391,_0x2ce0ac:0x49b,_0xf8895b:0x683,_0xa4905b:0x4d5},_0x28f308={_0x49371b:0x700,_0x688eb6:0x68e,_0x300bb8:0x572,_0x13a229:0x5c8,_0x42dba9:0x746,_0x4beac6:0x61f,_0x2a4107:0x5d3,_0x229f01:0x6f3,_0x3e7237:0x684,_0x130065:0x49b,_0x2a247c:0x634,_0xf6c129:0x4c5,_0x27e34d:0x654,_0x3c33b4:0x63a},_0xfd0f28={_0x1bdf48:0x14c},_0x3a52de={_0x3b29dc:0x1c,_0x38f73d:0x220},_0x252729=_0x185f4b['platform']??process[_0x19863d(_0x310bf4._0x5b0e20,-_0x310bf4._0x3b1193,0x1f1,0x3a)];function _0x5b9d04(_0x1af716,_0x2d0122,_0x35a1cc,_0x430e5f){return _0x28bc81(_0x1af716-_0x3a52de._0x3b29dc,_0x2d0122-0x8d,_0x2d0122-_0x3a52de._0x38f73d,_0x430e5f);}const _0x5839db=_0x185f4b[_0x19863d(_0x310bf4._0x3886c4,_0x310bf4._0x4fea40,0x23d,0xdf)]??process['kill'][_0x5b9d04(_0x310bf4._0x42aea6,0x515,0x686,_0x310bf4._0x5ca240)](process);function _0x19863d(_0x43bca0,_0x2c7942,_0x1f3b34,_0x58e99d){return _0x28bc81(_0x43bca0-_0xfd0f28._0x1bdf48,_0x2c7942-0x123,_0x58e99d- -0x38f,_0x43bca0);}const _0x2a1d3a=_0x185f4b[_0x5b9d04(_0x310bf4._0x2ce0ac,0x486,_0x310bf4._0xf8895b,_0x310bf4._0xa4905b)]??_0x48e481;return{async 'signal'(_0x2c7a21,_0x1f65e9){const _0x20bc79={_0x33f14e:0x96,_0x371e4c:0x1f7,_0x228558:0x111,_0x27e54d:0x224,_0x1a1a7d:0x3,_0x5b8b6d:0x11c,_0x20f8ff:0xe2,_0x4deeed:0x108,_0x33e66a:0xfd,_0x2e0d98:0xc9,_0x22aac9:0xbf,_0x5202fb:0x56,_0x5ad96d:0x48,_0x153be1:0xcc,_0x101edf:0x104,_0x14a87f:0xa5,_0x1eafbf:0xf,_0x3849ca:0xb5,_0x31ef72:0x18},_0x13f375={_0x39579b:0x357,_0x1222a4:0x7a},_0x25f5b7={_0x4caa4e:0xb,_0x517297:0x1a0},_0x10d181={_0x77396a:0x1c4};if(_0x252729!=='win32'){if(!isSafeProcessId(_0x2c7a21['processGroupId']))return{'outcome':_0x2976ba(_0x28f308._0x49371b,0x559,0x59c,_0x28f308._0x688eb6),'error':_0x2976ba(0x555,_0x28f308._0x300bb8,_0x28f308._0x13a229,_0x28f308._0x42dba9)};try{return _0x5839db(-_0x2c7a21[_0x2976ba(_0x28f308._0x4beac6,0x510,0x65c,0x608)],_0x1f65e9===_0x1f6aae(0x44c,_0x28f308._0x2a4107,0x4fc,0x4de)?'SIGTERM':'SIGKILL'),{'outcome':_0x2976ba(0x7ab,0x6e1,0x5fa,_0x28f308._0x229f01)};}catch(_0x2e1cf3){return isNotFound(_0x2e1cf3)?{'outcome':_0x2976ba(_0x28f308._0x3e7237,0x31c,0x280,_0x28f308._0x130065),'error':errorMessage(_0x2e1cf3)}:{'outcome':_0x1f6aae(0x48b,_0x28f308._0x2a247c,0x360,_0x28f308._0xf6c129),'error':errorMessage(_0x2e1cf3)};}}function _0x1f6aae(_0x36b7df,_0x5e1fcf,_0x26c987,_0x4530e1){return _0x19863d(_0x26c987,_0x5e1fcf-0x1b7,_0x26c987-_0x10d181._0x77396a,_0x36b7df-0x3b7);}function _0x2976ba(_0x1a0090,_0x212145,_0x3d2899,_0x436eac){return _0x5b9d04(_0x1a0090-0x1ed,_0x436eac-_0x25f5b7._0x4caa4e,_0x3d2899-_0x25f5b7._0x517297,_0x212145);}if(!isSafeProcessId(_0x2c7a21['rootPid']))return{'outcome':_0x1f6aae(0x48b,_0x28f308._0x27e34d,0x32c,0x47c),'error':_0x2976ba(0x650,_0x28f308._0x3c33b4,0x557,0x552)};return new Promise(_0x3818e9=>{const _0x83ffa3={_0x14086b:0x33d,_0x13b84e:0x314,_0x4657a8:0x2d,_0x1ade6f:0xae,_0x309654:0x299},_0xdfedad={_0x364e66:0x12c},_0x1c6b5a={_0x186d40:0x2b7,_0x4d143e:0x699,_0x404b12:0x4a7,_0x4874c2:0x4b8},_0x5663f4={_0x1b8745:0x12f,_0x230cdb:0x4ff};function _0x463452(_0x30f9b2,_0x102aca,_0x5d7ea1,_0x1743a8){return _0x1f6aae(_0x5d7ea1- -_0x13f375._0x39579b,_0x102aca-0x1e4,_0x30f9b2,_0x1743a8-_0x13f375._0x1222a4);}function _0x55e5d6(_0x5e688f,_0x2b75f0,_0x1a29c7,_0x22bc45){return _0x2976ba(_0x5e688f-0x12b,_0x2b75f0,_0x1a29c7-_0x5663f4._0x1b8745,_0x5e688f- -_0x5663f4._0x230cdb);}let _0x35794b=![];const _0x2dc4a4=_0x37e336=>{if(_0x35794b)return;_0x35794b=!![],_0x3818e9(_0x37e336);};let _0x14b2bf;try{const _0x59311c=['/PID',String(_0x2c7a21[_0x55e5d6(-_0x20bc79._0x33f14e,-_0x20bc79._0x371e4c,0x25,-0x46)]),'/T'];if(_0x1f65e9===_0x463452(-_0x20bc79._0x228558,_0x20bc79._0x27e54d,_0x20bc79._0x1a1a7d,_0x20bc79._0x5b8b6d))_0x59311c[_0x55e5d6(_0x20bc79._0x20f8ff,-_0x20bc79._0x4deeed,-0x11f,-_0x20bc79._0x33e66a)]('/F');_0x14b2bf=_0x2a1d3a(_0x463452(-_0x20bc79._0x2e0d98,0x203,_0x20bc79._0x22aac9,-_0x20bc79._0x5202fb),_0x59311c,{'stdio':'ignore','windowsHide':!![]});}catch(_0x2a7734){_0x2dc4a4({'outcome':_0x55e5d6(0x18f,0x290,-0xf,0x1c0),'error':errorMessage(_0x2a7734)});return;}_0x14b2bf[_0x463452(-0x96,_0x20bc79._0x5ad96d,-_0x20bc79._0x153be1,-0x15b)](_0x55e5d6(_0x20bc79._0x101edf,0xa1,0x278,-0x87),_0x27654a=>{const _0xad03ca={_0x36a8e1:0x1c8,_0x3fd79a:0x566,_0x437b89:0x9f};function _0x2ee213(_0x10a1a6,_0xaa1031,_0x1f33aa,_0x547246){return _0x463452(_0x10a1a6,_0xaa1031-_0xad03ca._0x36a8e1,_0x1f33aa-_0xad03ca._0x3fd79a,_0x547246-_0xad03ca._0x437b89);}_0x2dc4a4(isNotFound(_0x27654a)?{'outcome':_0x2ee213(_0x1c6b5a._0x186d40,_0x1c6b5a._0x4d143e,_0x1c6b5a._0x404b12,_0x1c6b5a._0x4874c2),'error':errorMessage(_0x27654a)}:{'outcome':'failed','error':errorMessage(_0x27654a)});}),_0x14b2bf[_0x463452(-0x1c3,_0x20bc79._0x14a87f,-_0x20bc79._0x153be1,0x50)](_0x463452(-_0x20bc79._0x1eafbf,-_0x20bc79._0x3849ca,_0x20bc79._0x31ef72,-0x148),_0xabf9c2=>{const _0x383a05={_0x27b2fe:0x39c,_0x2d211c:0x156};function _0x388549(_0x6c74c0,_0x336772,_0x4073b2,_0x893838){return _0x463452(_0x6c74c0,_0x336772-0x8c,_0x4073b2- -0x2,_0x893838-_0xdfedad._0x364e66);}function _0x53ba20(_0xed6fe8,_0x569e78,_0x136118,_0x347f7f){return _0x55e5d6(_0x136118-_0x383a05._0x27b2fe,_0x569e78,_0x136118-_0x383a05._0x2d211c,_0x347f7f-0x13f);}_0x2dc4a4(_0xabf9c2===0x0?{'outcome':'delivered'}:{'outcome':_0x388549(0x100,_0x83ffa3._0x14086b,0x132,_0x83ffa3._0x13b84e),'error':_0x388549(_0x83ffa3._0x4657a8,0x97,_0x83ffa3._0x1ade6f,_0x83ffa3._0x309654)+String(_0xabf9c2)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x3778ae){const _0x192f9f={_0x339ff3:0xe3,_0x10c88c:0x87},_0x4f9dbc={_0x216589:0x17c,_0x391602:0xd3},_0x4f34bb=_0x3778ae[_0x11bb78(_0x192f9f._0x339ff3,-_0x192f9f._0x10c88c,0x6c,0xfa)](0x0)??0x0;function _0x11bb78(_0x3c5575,_0x5814d0,_0xbfd3a0,_0x9e0a3){return _0x28bc81(_0x3c5575-_0x4f9dbc._0x216589,_0x5814d0-_0x4f9dbc._0x391602,_0x5814d0- -0x2fc,_0x3c5575);}return _0x4f34bb<0x20&&_0x3778ae!=='\x09'||_0x4f34bb>=0x7f&&_0x4f34bb<=0x9f||_0x4f34bb===0xa0||_0x4f34bb>=0x200b&&_0x4f34bb<=0x200f||_0x4f34bb>=0x2060&&_0x4f34bb<=0x2069||_0x4f34bb===0x23ce||_0x4f34bb===0x2424;}function createTerminalOutputNormalizer(){const _0x3ff77d={_0x4cc67c:0x5c2,_0x5c2407:0x52c,_0x6ea876:0x3ed,_0x859468:0x50c,_0x10d9a5:0x339,_0x29e4a4:0x4a2,_0x1492eb:0x2b3,_0x16352a:0x36a,_0x3885af:0x191,_0x5bb309:0x388,_0x53f929:0x7d,_0x32a568:0x4f7,_0x432611:0x36a,_0x4b0768:0x21d,_0x859416:0x2a8,_0x1c331a:0x1b8,_0x473e7a:0x561,_0xe3bf09:0x629,_0x5be86e:0x809,_0x21abfd:0xc2,_0x5b4b87:0x9a,_0x2fa789:0x325,_0x5aed47:0x440,_0x28c712:0x52b,_0x1f3b95:0x72d,_0x114a9c:0x125,_0x344915:0x4e5},_0x154fc8={_0x17cbad:0x48},_0x10f4a2={_0x450f0f:0x32e},_0x264ab6={_0x2ce30d:0x299,_0x45891f:0x29d},_0xc46d={_0x44d8a5:0x816,_0x289b7b:0x667,_0x2983e8:0x376,_0x1ce9f9:0x3eb,_0x17c6ad:0x588,_0x379755:0x8f5,_0x54c9d4:0x754,_0x45c5cc:0x350};let _0x37b73e=_0x3e89db(0x2c9,0x184,0x1fd,0x3b0),_0x45ecd3=![];function _0x3e89db(_0x30b42f,_0x42fab1,_0x547831,_0x3b5aed){return _0x5b2413(_0x30b42f-0x1be,_0x42fab1-0xda,_0x547831- -0x5c8,_0x30b42f);}let _0x12e778=![],_0x29a606=[],_0x49cd30=0x0,_0x41ac20=![];const _0x16e981=()=>{_0x29a606=[],_0x49cd30=0x0;},_0x596445=_0x2a552f=>{const _0x4f5c01={_0x4939ff:0x12a,_0x2c83e6:0x4da},_0x868804={_0x14d80b:0x72};function _0x4c3bf1(_0x55ab2c,_0x3b945d,_0x31767e,_0x1da463){return _0x3e89db(_0x55ab2c,_0x3b945d-_0x868804._0x14d80b,_0x31767e-0x168,_0x1da463-0xd3);}_0x29a606[_0x993e11(0x4cb,0x7f9,_0xc46d._0x44d8a5,_0xc46d._0x289b7b)](_0x2a552f),_0x49cd30+=_0x2a552f[_0x4c3bf1(_0xc46d._0x2983e8,_0xc46d._0x1ce9f9,0x488,0x279)];function _0x993e11(_0x6a9adc,_0x4960ac,_0x4cb380,_0x17f42a){return _0x3e89db(_0x4cb380,_0x4960ac-_0x4f5c01._0x4939ff,_0x17f42a-_0x4f5c01._0x2c83e6,_0x17f42a-0x1da);}while(_0x49cd30>MAX_PROGRESS_LINE_CHARS){const _0x446dea=_0x29a606[_0x993e11(_0xc46d._0x17c6ad,_0xc46d._0x379755,_0xc46d._0x54c9d4,0x78b)]();if(_0x446dea===void 0x0)break;_0x49cd30-=_0x446dea[_0x4c3bf1(0x5df,0x4c4,0x488,_0xc46d._0x45c5cc)];}},_0x5eda81=_0x1af64a=>{const _0x608d27={_0x2c5cfe:0x19,_0x2cf80a:0x65};function _0x1d00c2(_0x186a85,_0x4477d2,_0x1175c2,_0x185a31){return _0x3e89db(_0x4477d2,_0x4477d2-_0x608d27._0x2c5cfe,_0x186a85-_0x608d27._0x2cf80a,_0x185a31-0x1e);}const _0x3255f7=_0x29a606[_0x1d00c2(_0x264ab6._0x2ce30d,0x2c7,0x278,_0x264ab6._0x45891f)]('')+(_0x1af64a?'\x0a':'');return _0x16e981(),_0x3255f7;},_0x305c5d=_0x36a4c7=>{if(_0x41ac20)throw new Error(_0x391b2e(_0x3ff77d._0x4cc67c,_0x3ff77d._0x5c2407,_0x3ff77d._0x6ea876,_0x3ff77d._0x859468));function _0x391b2e(_0x44e48c,_0x351d7f,_0x2dbf4c,_0x5562a0){return _0x3e89db(_0x2dbf4c,_0x351d7f-0x55,_0x351d7f-_0x10f4a2._0x450f0f,_0x5562a0-0x17);}let _0x43edf7='';function _0x32a706(_0x5d9e05,_0x1ee8aa,_0x1f6ecb,_0x227f8f){return _0x3e89db(_0x227f8f,_0x1ee8aa-0xd,_0x1ee8aa- -0x4d,_0x227f8f-_0x154fc8._0x17cbad);}for(const _0x3ffb03 of _0x36a4c7){if(_0x37b73e===_0x32a706(0x2dd,0x330,0x4c4,_0x3ff77d._0x10d9a5)){const _0x150828=_0x3ffb03[_0x391b2e(0x3a1,0x37a,0x33f,_0x3ff77d._0x29e4a4)](0x0)??0x0;if(_0x150828>=0x40&&_0x150828<=0x7e)_0x37b73e=_0x32a706(_0x3ff77d._0x1492eb,0x1b0,-0x12,0x189);continue;}if(_0x37b73e===_0x32a706(0x3fc,_0x3ff77d._0x16352a,0x201,_0x3ff77d._0x3885af)||_0x37b73e==='dcs'){if(_0x45ecd3){_0x3ffb03==='\x5c'?(_0x37b73e=_0x32a706(0x77,0x1b0,_0x3ff77d._0x5bb309,_0x3ff77d._0x53f929),_0x45ecd3=![]):_0x45ecd3=_0x3ffb03===ESC;continue;}if(_0x3ffb03===ESC)_0x45ecd3=!![];else _0x37b73e===_0x32a706(_0x3ff77d._0x32a568,_0x3ff77d._0x432611,_0x3ff77d._0x4b0768,0x1f1)&&_0x3ffb03===BEL&&(_0x37b73e=_0x32a706(0x196,0x1b0,_0x3ff77d._0x859416,_0x3ff77d._0x1c331a));continue;}if(_0x37b73e==='escape'){if(_0x3ffb03==='[')_0x37b73e=_0x391b2e(_0x3ff77d._0x473e7a,0x6ab,_0x3ff77d._0xe3bf09,_0x3ff77d._0x5be86e);else{if(_0x3ffb03===']')_0x37b73e='osc',_0x45ecd3=![];else _0x3ffb03==='P'||_0x3ffb03==='_'||_0x3ffb03==='^'?(_0x37b73e=_0x32a706(_0x3ff77d._0x21abfd,0x14c,_0x3ff77d._0x5b4b87,_0x3ff77d._0x2fa789),_0x45ecd3=![]):_0x37b73e=_0x391b2e(_0x3ff77d._0x5aed47,_0x3ff77d._0x28c712,_0x3ff77d._0x1f3b95,0x370);}continue;}if(_0x12e778){_0x12e778=![];if(_0x3ffb03==='\x0a'){_0x43edf7+=_0x5eda81(!![]);continue;}_0x16e981();}if(_0x3ffb03===ESC)_0x37b73e=_0x391b2e(0x8be,0x6ae,0x4dc,0x7cf);else{if(_0x3ffb03==='\x0d')_0x12e778=!![];else{if(_0x3ffb03==='\x0a')_0x43edf7+=_0x5eda81(!![]);else{if(_0x3ffb03==='\x08'){const _0x581f59=_0x29a606[_0x391b2e(_0x3ff77d._0x114a9c,0x2fb,0x4b6,_0x3ff77d._0x344915)]();if(_0x581f59!==void 0x0)_0x49cd30-=_0x581f59[_0x32a706(0x3c6,0x2d3,0x1e4,0x19f)];}else!isDiscardedTextControl(_0x3ffb03)&&_0x596445(_0x3ffb03);}}}}return _0x43edf7;};return{'write':_0x305c5d,'end'(){if(_0x41ac20)return'';return _0x41ac20=!![],_0x12e778=![],_0x37b73e='text',_0x45ecd3=![],_0x5eda81(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0xfe45e1){const _0x4f2778={_0x36b6c6:0x705,_0x76aabd:0x6a5,_0x46c486:0x6da,_0x41eca4:0x37c,_0x14a908:0x529},_0x215924={_0x486f13:0x1a0,_0x565dca:0x123,_0x41c361:0x1c9},_0xd0b463={_0x84e0b2:0x66};super(_0x536d95(_0x4f2778._0x36b6c6,_0x4f2778._0x76aabd,_0x4f2778._0x46c486,0x852));function _0x536d95(_0x35939b,_0x5e6bca,_0x4d2c0b,_0x2412f2){return _0x28bc81(_0x35939b-0x120,_0x5e6bca-_0xd0b463._0x84e0b2,_0x5e6bca-0x211,_0x4d2c0b);}this[_0x49448c(_0x4f2778._0x41eca4,0x53b,0x492,_0x4f2778._0x14a908)]=_0xfe45e1;function _0x49448c(_0x25a901,_0x17a78c,_0x48a44d,_0x23b301){return _0x28bc81(_0x25a901-_0x215924._0x486f13,_0x17a78c-_0x215924._0x565dca,_0x48a44d-_0x215924._0x41c361,_0x23b301);}this['name']='BackgroundProcessCleanupError';}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x2603c0){const _0x195d8c={_0x54415f:0x540,_0x3e6aed:0x5ee},_0x32c527={_0x19301e:0xe3,_0x1a2880:0x89},_0x19d2e1={_0x50b869:0x2a9};function _0x357844(_0x29e3a7,_0x51a50a,_0x1ce0b2,_0x5f06f8){return _0x28bc81(_0x29e3a7-0x1d4,_0x51a50a-0xfe,_0x29e3a7-_0x19d2e1._0x50b869,_0x5f06f8);}function _0x594fe2(_0x1ecb43,_0x5a49d6,_0x2d6c54,_0x4904ed){return _0x28bc81(_0x1ecb43-_0x32c527._0x19301e,_0x5a49d6-_0x32c527._0x1a2880,_0x1ecb43-0x3bb,_0x2d6c54);}return _0x2603c0===_0x357844(0x728,_0x195d8c._0x54415f,0x90f,_0x195d8c._0x3e6aed)||_0x2603c0==='killed'||_0x2603c0===_0x594fe2(0x793,0x9af,0x74b,0x676);}var BackgroundProcessRegistry=class{['entries']=new Map();[_0x28bc81(0x36c,0x347,0x53d,0x495)]=new Map();[_0x28bc81(0xd7,0xfa,0x28b,0x151)];[_0x28bc81(0x469,0x35f,0x56a,0x6ab)];[_0x28bc81(0x7db,0x7d7,0x5ff,0x495)];[_0x28bc81(0x1df,0x1bf,0x3c9,0x2ff)];[_0x5b2413(0x7a0,0x945,0x906,0x958)];[_0x5b2413(0x794,0x6bc,0x794,0x957)]=0x0;constructor(_0x5ee04d={}){const _0x224ab7={_0x48f8c8:0xfa,_0x3ffb5f:0x23b,_0x44555e:0x1f,_0x40949d:0x29f,_0x43b29b:0x397,_0x247f76:0x11,_0x20ee8f:0x291,_0x29045b:0x222,_0xcb042b:0x31f,_0x3c4c52:0x27a,_0xd81ed2:0x3da,_0x531772:0x19a,_0xdb2dfa:0x5b,_0x14ad04:0x199,_0x55fe4b:0x1b3,_0x418984:0x1ea,_0x4c0a44:0x101},_0x46048d={_0x16296e:0xe0,_0x200044:0x724},_0x200d12={_0x3a85ae:0x1b4,_0x1d6290:0x32};function _0x1f3339(_0x5345de,_0x47c7ea,_0x22d736,_0x269ee1){return _0x28bc81(_0x5345de-_0x200d12._0x3a85ae,_0x47c7ea-_0x200d12._0x1d6290,_0x47c7ea- -0x36e,_0x269ee1);}this[_0x206ba7(-_0x224ab7._0x48f8c8,0x99,-0x148,-0x278)]=_0x5ee04d[_0x206ba7(-0xfa,-_0x224ab7._0x3ffb5f,-_0x224ab7._0x44555e,-_0x224ab7._0x40949d)]??0xa,this['maxEntries']=_0x5ee04d[_0x206ba7(0x1e5,0x391,_0x224ab7._0x43b29b,_0x224ab7._0x247f76)]??0x40,this[_0x1f3339(0x452,_0x224ab7._0x20ee8f,_0x224ab7._0x29045b,_0x224ab7._0xcb042b)]=_0x5ee04d[_0x206ba7(_0x224ab7._0x3c4c52,0x415,0x1d4,_0x224ab7._0xd81ed2)]??0x100000;function _0x206ba7(_0x468c21,_0x515ce8,_0x2e7583,_0x1cb2c1){return _0x5b2413(_0x468c21-_0x46048d._0x16296e,_0x515ce8-0xf9,_0x468c21- -_0x46048d._0x200044,_0x515ce8);}this[_0x1f3339(_0x224ab7._0x531772,_0x224ab7._0xdb2dfa,0x11,0x171)]=_0x5ee04d[_0x206ba7(0x44,_0x224ab7._0x14ad04,-0xb4,-_0x224ab7._0x55fe4b)]??process[_0x206ba7(0x44,0x106,_0x224ab7._0x418984,-_0x224ab7._0x4c0a44)],this['signalAdapter']=_0x5ee04d['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x1f3339(0xfc,0x5b,-0x179,0x238)]});}['reserve'](){const _0x4ec870={_0x5a36d5:0x3d5,_0x18b0d9:0x1df,_0x1eb1bf:0x3bd,_0x23f24e:0x29c,_0x32da8e:0x114,_0x5b92a8:0x308,_0x42a5fd:0x339,_0x543ef9:0xb0,_0x51463b:0x581,_0x4c0738:0x3f5,_0x248c73:0x212,_0x2e1ce0:0xbd,_0xda890e:0xfd,_0x305027:0xff,_0x4eb4fb:0x94,_0x308d09:0x2cf,_0x4d989a:0x722,_0x266506:0x457,_0x5e4e24:0x768,_0x3eecda:0x47b,_0x5a4c18:0x664},_0x31b401={_0xff396f:0x172,_0x20d909:0x184,_0x3f2419:0x6be},_0x64484={_0x3df2a9:0x87,_0x3eba57:0xb2},_0x11240d=[...this[_0x13bb5f(_0x4ec870._0x5a36d5,0x2f4,_0x4ec870._0x18b0d9,0x2f3)][_0x13bb5f(_0x4ec870._0x1eb1bf,_0x4ec870._0x23f24e,_0x4ec870._0x32da8e,_0x4ec870._0x5b92a8)]()][_0x48079a(_0x4ec870._0x42a5fd,_0x4ec870._0x543ef9,0x353,0x166)](_0x68bb3e=>!_0x68bb3e[_0x48079a(-0x201,-0x114,-0x247,-0x128)]);if(_0x11240d['length']+this[_0x13bb5f(0x59f,_0x4ec870._0x51463b,_0x4ec870._0x4c0738,0x40b)][_0x48079a(-_0x4ec870._0x248c73,0x5a,0x1c2,-0x4d)]>=this['maxConcurrent'])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x48079a(-_0x4ec870._0x2e1ce0,-_0x4ec870._0xda890e,_0x4ec870._0x305027,-_0x4ec870._0x4eb4fb)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x13bb5f(0x243,_0x4ec870._0x308d09,0x25a,0x380)]});function _0x13bb5f(_0x1cb28f,_0x317499,_0x5d16fd,_0x2bd637){return _0x5b2413(_0x1cb28f-_0x64484._0x3df2a9,_0x317499-_0x64484._0x3eba57,_0x317499- -0x35b,_0x2bd637);}function _0x48079a(_0x59124e,_0x3c6447,_0x1e5713,_0x42852a){return _0x5b2413(_0x59124e-_0x31b401._0xff396f,_0x3c6447-_0x31b401._0x20d909,_0x42852a- -_0x31b401._0x3f2419,_0x59124e);}const _0x133af0=Object[_0x13bb5f(_0x4ec870._0x4d989a,0x61a,0x4fc,_0x4ec870._0x266506)]({'id':_0x51feb2()});return this[_0x13bb5f(0x55c,0x581,0x489,_0x4ec870._0x5e4e24)][_0x13bb5f(0x377,_0x4ec870._0x3eecda,_0x4ec870._0x5a4c18,0x58e)](_0x133af0['id'],_0x133af0),_0x133af0;}[_0x5b2413(0x92d,0xa99,0x8de,0x8d8)](_0x44ff85){const _0x16e186={_0x186356:0xa68,_0x810362:0x99c,_0x1f92e:0x78d,_0x4c7c6c:0x4b2},_0x16cf0b={_0x3f748f:0x127,_0x566fc0:0x6c},_0x37ecbb={_0x36bea5:0x89,_0x411037:0x19d};function _0x3a3433(_0x2f697f,_0xade92c,_0x2a6975,_0x12faea){return _0x5b2413(_0x2f697f-_0x37ecbb._0x36bea5,_0xade92c-_0x37ecbb._0x411037,_0x12faea- -0x229,_0xade92c);}function _0x3760bf(_0x2aaf14,_0x1fc04a,_0x1f9edf,_0x114cff){return _0x5b2413(_0x2aaf14-0x159,_0x1fc04a-_0x16cf0b._0x3f748f,_0x1f9edf-_0x16cf0b._0x566fc0,_0x2aaf14);}this['reservations'][_0x3760bf(_0x16e186._0x186356,0xb40,_0x16e186._0x810362,_0x16e186._0x1f92e)](_0x44ff85['id'])===_0x44ff85&&this['reservations'][_0x3a3433(_0x16e186._0x4c7c6c,0x6c2,0x714,0x67c)](_0x44ff85['id']);}[_0x5b2413(0x939,0x68e,0x7fb,0x9f1)](_0x1b8c6f,_0x3b2201){const _0x54a8af={_0x281270:0x74f,_0x4e8f17:0x8d3,_0x3b8f54:0x68f,_0x5243f6:0x907,_0x519ab6:0x7a5,_0x3148fc:0x892,_0x3d7735:0x7bf,_0x4e9fbd:0x73e,_0x317d02:0x89f,_0x1c702c:0xa58,_0x577a2a:0x647,_0x561391:0x830,_0x3c79f3:0xb8f,_0x516ca5:0x985,_0x406dc2:0x795,_0x1b8fa0:0x6fc,_0x43a52f:0x7a7,_0x449cc3:0x754,_0x383cf0:0x55d,_0x3f1bc2:0x6c8,_0x2fce00:0x464,_0x3e3f1e:0x4e1,_0x394b6a:0x887,_0x5980ab:0x67a,_0x30333e:0x2c2,_0x30d7a9:0x615,_0x1744d3:0x541,_0x380530:0x24f,_0x3fbd26:0x48d,_0x3893e4:0x647,_0x579d44:0x5eb,_0x5ba847:0x598,_0x3c0f69:0x5ca,_0x378587:0x647,_0x45dd8f:0x5e7,_0x1df14a:0x313,_0x36d0c8:0x59b,_0x9d1d90:0x647,_0x5db5ec:0x4ef,_0x11c97b:0x55f,_0x3b345c:0x71a,_0x42111c:0x37b,_0x3e7275:0x2c5,_0x5e1adf:0x57e,_0x165285:0x507,_0x12260c:0x62d,_0x5a812f:0x684,_0x537ed1:0x681},_0x4ee698={_0x1dd457:0x6a9,_0x59d9d3:0x53a,_0x58efa8:0x661,_0x293958:0x4c7,_0x26c05e:0x511,_0xb2d91d:0x549,_0x3c8a52:0x596,_0x26ece1:0x696,_0x41359b:0x62e,_0x8cb4de:0x721,_0x4efd91:0x8e1,_0x1d6718:0x2f0,_0x42b969:0x62a,_0xfcbe4e:0x541,_0x586043:0x400,_0x477a41:0x7f0,_0x565b23:0x7e5,_0x3b549f:0x6dc,_0x270017:0x822,_0x3544e5:0x8ae},_0x44d53e={_0x3375aa:0x144,_0x21b18f:0x268},_0x13cb49={_0x4830ac:0x54f,_0x37c931:0x4f4,_0x95c146:0x6ad,_0x389b13:0x9df,_0x74e79:0x990,_0x5de077:0x375,_0x3739c2:0x35d,_0x5d17f0:0x550,_0x3c0f80:0x438,_0x593f9b:0x475,_0x394318:0x539},_0x5aedfa={_0x21f38b:0x1c,_0x30e46f:0x96},_0x4794e3={_0x4d2f7d:0x191,_0x3a789a:0x2b4},_0x4432b0={_0x53f1db:0x339,_0x38f8ec:0x301,_0x28adb2:0x215},_0x1bdd5c={_0x556ebe:0x16c},_0x2fde9d={_0x48f408:0x4cb,_0x269153:0x534,_0x19d4f4:0x4a6,_0x4a506f:0x2dd,_0x9da61f:0x8d4},_0x2b67af={_0x2edb5c:0x17c,_0x1976ef:0x10},_0x491bc0={_0x3233db:0x811,_0x410945:0x405,_0x242c5d:0x46c,_0x12645e:0x5d8,_0x345fc0:0x3f7},_0x4f69e4={_0x336ca3:0x3fe,_0x449911:0x98},_0x4c77d3={_0x5a704a:0x16f,_0x465376:0x3ca},_0x56f065={_0x11e0f1:0xfa};function _0x3ae3a7(_0x196df7,_0x5c01be,_0x551dad,_0x59242e){return _0x28bc81(_0x196df7-0xce,_0x5c01be-_0x56f065._0x11e0f1,_0x5c01be-0xfe,_0x59242e);}if(this[_0x2c8dc3(_0x54a8af._0x281270,0xa16,0x907,_0x54a8af._0x4e8f17)][_0x3ae3a7(0x5f6,_0x54a8af._0x3b8f54,0x75b,0x505)](_0x1b8c6f['id'])!==_0x1b8c6f)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x1b8c6f['id']});this[_0x2c8dc3(0x78d,0x9fb,_0x54a8af._0x5243f6,_0x54a8af._0x519ab6)]['delete'](_0x1b8c6f['id']);let _0x15f724;function _0x2c8dc3(_0x9ffe88,_0x434fc7,_0x47e023,_0x311915){return _0x28bc81(_0x9ffe88-0x17,_0x434fc7-_0x4c77d3._0x5a704a,_0x47e023-_0x4c77d3._0x465376,_0x9ffe88);}const _0x4ac9e7=new Promise(_0x5ab69e=>{_0x15f724=_0x5ab69e;}),_0x4539dc='bg-'+ ++this[_0x2c8dc3(_0x54a8af._0x3148fc,0x75a,_0x54a8af._0x3d7735,0x8f9)]+'-'+_0x51feb2()[_0x2c8dc3(_0x54a8af._0x4e9fbd,0x994,_0x54a8af._0x317d02,0x68d)](0x0,0x8),_0x2db57e={'shellId':_0x4539dc,'command':_0x3b2201[_0x2c8dc3(0x884,_0x54a8af._0x1c702c,0x972,0x853)],'cwd':_0x3b2201['cwd'],'pid':_0x3b2201[_0x2c8dc3(0x543,0x579,_0x54a8af._0x577a2a,0x68d)][_0x2c8dc3(_0x54a8af._0x561391,_0x54a8af._0x3c79f3,_0x54a8af._0x516ca5,_0x54a8af._0x406dc2)],'processGroupId':_0x3b2201[_0x2c8dc3(0x7dc,_0x54a8af._0x1b8fa0,_0x54a8af._0x43a52f,0x597)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x2c8dc3(0x782,0x68b,_0x54a8af._0x449cc3,_0x54a8af._0x383cf0)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x3b2201[_0x2c8dc3(_0x54a8af._0x3f1bc2,_0x54a8af._0x2fce00,_0x54a8af._0x577a2a,0x590)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x3ae3a7(0x552,0x377,0x53a,0x363)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x3b2201['stripAnsi'],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x4ac9e7,'resolveTerminal':_0x15f724,'terminationSettled':![]};this[_0x2c8dc3(_0x54a8af._0x3e3f1e,_0x54a8af._0x394b6a,_0x54a8af._0x5980ab,0x636)]['set'](_0x4539dc,_0x2db57e);try{_0x3b2201[_0x3ae3a7(_0x54a8af._0x30333e,0x37b,0x298,0x291)][_0x3ae3a7(_0x54a8af._0x30d7a9,0x60d,0x648,_0x54a8af._0x1744d3)]?.['on'](_0x3ae3a7(0x3ee,0x398,0x4f2,_0x54a8af._0x380530),_0x5d77e0=>{function _0x557588(_0x174f5b,_0x50e55c,_0x3be418,_0x56a4e2){return _0x3ae3a7(_0x174f5b-0x44,_0x56a4e2-0x2fe,_0x3be418-0x10a,_0x50e55c);}function _0x4476f9(_0x13c498,_0x3895f,_0x343394,_0x262ca1){return _0x2c8dc3(_0x3895f,_0x3895f-0x92,_0x343394- -_0x4f69e4._0x336ca3,_0x262ca1-_0x4f69e4._0x449911);}this[_0x557588(0x966,0x5f4,0x6f7,_0x491bc0._0x3233db)](_0x2db57e,_0x2db57e[_0x4476f9(_0x491bc0._0x410945,_0x491bc0._0x242c5d,0x3be,_0x491bc0._0x12645e)],_0x2db57e[_0x4476f9(_0x491bc0._0x345fc0,0x35e,0x30d,0x30e)],_0x5d77e0);}),_0x3b2201[_0x2c8dc3(0x4b6,_0x54a8af._0x3fbd26,_0x54a8af._0x3893e4,_0x54a8af._0x579d44)]['stderr']?.['on'](_0x3ae3a7(0x3a4,0x398,0x4a6,0x1e2),_0x488bac=>{const _0x4beaa5={_0x57cf5a:0x1e6,_0x2d7f10:0x48};function _0xc10cc5(_0x2c3dbe,_0x32dc9d,_0x31cf95,_0x12201d){return _0x2c8dc3(_0x32dc9d,_0x32dc9d-_0x2b67af._0x2edb5c,_0x31cf95- -0xc5,_0x12201d-_0x2b67af._0x1976ef);}function _0x497962(_0x3389a0,_0x1b6aea,_0x4efb3b,_0x4fbd6d){return _0x3ae3a7(_0x3389a0-_0x4beaa5._0x57cf5a,_0x3389a0- -_0x4beaa5._0x2d7f10,_0x4efb3b-0x13a,_0x1b6aea);}this[_0x497962(_0x2fde9d._0x48f408,0x515,0x359,_0x2fde9d._0x269153)](_0x2db57e,_0x2db57e[_0x497962(_0x2fde9d._0x19d4f4,0x549,_0x2fde9d._0x4a506f,0x5ee)],_0x2db57e[_0xc10cc5(0x9da,0x79c,_0x2fde9d._0x9da61f,0xacc)],_0x488bac);}),_0x3b2201[_0x2c8dc3(_0x54a8af._0x5ba847,_0x54a8af._0x3c0f69,_0x54a8af._0x378587,_0x54a8af._0x45dd8f)]['once'](_0x3ae3a7(_0x54a8af._0x1df14a,0x422,0x3b7,0x562),(_0x3b22ff,_0x45b9f9)=>{const _0x43e596={_0x4ae5fe:0x148,_0x2f7a03:0xbc};function _0x1730b3(_0x40497e,_0x2d59b8,_0x47fbbc,_0x2b7457){return _0x3ae3a7(_0x40497e-_0x43e596._0x4ae5fe,_0x2d59b8-0x66,_0x47fbbc-_0x43e596._0x2f7a03,_0x2b7457);}_0x2db57e[_0x1730b3(0x5b7,0x6cd,0x816,0x59f)]=!![],_0x2db57e['exitCode']=_0x3b22ff;function _0xef0251(_0x331e8f,_0x123160,_0x9186e1,_0x5cae88){return _0x3ae3a7(_0x331e8f-_0x1bdd5c._0x556ebe,_0x5cae88- -0x2b6,_0x9186e1-0x1ab,_0x331e8f);}_0x2db57e[_0xef0251(_0x4432b0._0x53f1db,_0x4432b0._0x38f8ec,0x89,_0x4432b0._0x28adb2)]=_0x45b9f9;}),_0x3b2201[_0x2c8dc3(_0x54a8af._0x36d0c8,0x662,_0x54a8af._0x9d1d90,_0x54a8af._0x5db5ec)][_0x2c8dc3(_0x54a8af._0x11c97b,_0x54a8af._0x3b345c,0x62d,0x650)]('error',_0x510b34=>{function _0x50b536(_0x74a5cd,_0x1a1722,_0x5a424b,_0x47d30e){return _0x3ae3a7(_0x74a5cd-_0x4794e3._0x4d2f7d,_0x5a424b-_0x4794e3._0x3a789a,_0x5a424b-0xb0,_0x47d30e);}_0x2db57e[_0x5219b9(_0x13cb49._0x4830ac,_0x13cb49._0x37c931,_0x13cb49._0x95c146,0x612)]=_0x510b34[_0x50b536(_0x13cb49._0x389b13,0x986,_0x13cb49._0x74e79,0x9c0)];function _0x5219b9(_0x12bea3,_0x4053ed,_0x295efc,_0x31cac7){return _0x2c8dc3(_0x4053ed,_0x4053ed-_0x5aedfa._0x21f38b,_0x31cac7- -0x190,_0x31cac7-_0x5aedfa._0x30e46f);}_0x2db57e[_0x5219b9(_0x13cb49._0x5de077,_0x13cb49._0x3739c2,_0x13cb49._0x5d17f0,_0x13cb49._0x3c0f80)]=_0x5219b9(_0x13cb49._0x593f9b,_0x13cb49._0x394318,0x6fa,0x612);}),_0x3b2201[_0x3ae3a7(0x581,_0x54a8af._0x42111c,_0x54a8af._0x3e7275,_0x54a8af._0x5e1adf)][_0x2c8dc3(_0x54a8af._0x165285,0x4b4,_0x54a8af._0x12260c,_0x54a8af._0x5a812f)]('close',(_0x3e00a0,_0x4431f6)=>{const _0x1f5efb={_0x59229e:0x2c,_0x3ab966:0x196};_0x2db57e[_0x1168b1(0x74a,0x83f,_0x4ee698._0x1dd457,_0x4ee698._0x59d9d3)]=_0x3e00a0,_0x2db57e[_0x1168b1(_0x4ee698._0x58efa8,_0x4ee698._0x293958,0x55f,0x511)]=_0x4431f6,_0x2db57e[_0x1168b1(_0x4ee698._0x26c05e,_0x4ee698._0xb2d91d,_0x4ee698._0x3c8a52,0x3c8)]=null;function _0x56c29b(_0x292a21,_0x469293,_0x30389b,_0x2473cf){return _0x3ae3a7(_0x292a21-_0x44d53e._0x3375aa,_0x2473cf-_0x44d53e._0x21b18f,_0x30389b-0x101,_0x292a21);}_0x2db57e[_0x56c29b(_0x4ee698._0x26ece1,0x56f,_0x4ee698._0x41359b,0x564)]!==_0x56c29b(0x775,_0x4ee698._0x8cb4de,_0x4ee698._0x4efd91,0x73e)&&(_0x2db57e[_0x1168b1(0x492,0x4bc,0x3e4,_0x4ee698._0x1d6718)]=_0x2db57e[_0x56c29b(_0x4ee698._0x42b969,_0x4ee698._0xfcbe4e,_0x4ee698._0x586043,0x61f)]?_0x56c29b(_0x4ee698._0x477a41,0x42d,0x542,0x5fb):_0x56c29b(0x93f,0x5f6,0x7a4,_0x4ee698._0x565b23));function _0x1168b1(_0x21cd62,_0x1dcf7d,_0x1a01e2,_0x5536ae){return _0x3ae3a7(_0x21cd62-_0x1f5efb._0x59229e,_0x21cd62-_0x1f5efb._0x3ab966,_0x1a01e2-0x159,_0x1dcf7d);}this[_0x1168b1(_0x4ee698._0x3b549f,_0x4ee698._0x270017,_0x4ee698._0x3544e5,0x7bf)](_0x2db57e);});}catch(_0xea2520){this['entries']['delete'](_0x4539dc);throw _0xea2520;}return this[_0x2c8dc3(_0x54a8af._0x537ed1,0x7f5,0x760,0x60a)](),_0x2db57e;}['spawn'](_0x14cc98){const _0x387b14={_0x5304de:0x62,_0x3e9cfb:0x3f,_0x16f6af:0xfc,_0xe06064:0x90,_0x50b5ba:0xc5,_0x3b2ec5:0x2d0,_0x4e037d:0xae,_0x4cfee6:0x49,_0x59098d:0x2b8},_0x116e70={_0x10fc12:0x66,_0x536474:0x1b9,_0x27962f:0x577},_0x3e10d8={_0x50db6d:0x1c,_0x3894c5:0x35e},_0x2c6ba4=this[_0x1a8de0(_0x387b14._0x5304de,-_0x387b14._0x3e9cfb,0x180,0x1ac)]();function _0x10346c(_0x39d0a8,_0xa370b5,_0x4de487,_0x4c8ee7){return _0x28bc81(_0x39d0a8-0x18c,_0xa370b5-_0x3e10d8._0x50db6d,_0x39d0a8- -_0x3e10d8._0x3894c5,_0xa370b5);}function _0x1a8de0(_0x5d595e,_0x279b73,_0x48421d,_0x496556){return _0x5b2413(_0x5d595e-_0x116e70._0x10fc12,_0x279b73-_0x116e70._0x536474,_0x48421d- -_0x116e70._0x27962f,_0x5d595e);}try{return this['attach'](_0x2c6ba4,{..._0x14cc98,...this[_0x1a8de0(0x220,0x392,0x1f1,0x7a)]===_0x10346c(_0x387b14._0x16f6af,-_0x387b14._0xe06064,-_0x387b14._0x50b5ba,_0x387b14._0x3b2ec5)?{}:{'processGroupId':_0x14cc98['child'][_0x10346c(0x25d,_0x387b14._0x4e037d,_0x387b14._0x4cfee6,_0x387b14._0x59098d)]}});}catch(_0x2f7789){this['release'](_0x2c6ba4);throw _0x2f7789;}}['read'](_0x409cf5,_0x45e432){const _0x41a9f3={_0x367d3e:0x787,_0x1b5332:0x7b2,_0x50ce3b:0x637,_0x1eb80f:0xa72,_0x378a91:0x918,_0x4dc92c:0x921,_0x3e2c3b:0xb14,_0x80f2b0:0xa34,_0x5e2e94:0x538,_0x5e69fd:0x6c6,_0x543235:0x547,_0x37fd3f:0x520,_0x3e7918:0x8e4,_0x306f06:0x7ee,_0x20aef2:0x9e6,_0x346d1:0x745,_0x386ef6:0x63c,_0x597dd3:0x845,_0x4ec0a5:0x882,_0x2a8177:0x7d8,_0x25835b:0x999,_0xc35aee:0x712,_0x561c14:0x682,_0x36f4d3:0x6d1,_0x2353be:0x854,_0x463962:0x6dc,_0x535620:0x8c9,_0x239007:0x623,_0x2cabea:0x742,_0x1e5ba5:0x697,_0x27e5ea:0x883,_0x43603f:0x7a6,_0x3dcbac:0x970,_0x261944:0x7cc,_0x1492f2:0x965,_0x51ba56:0x6b2,_0x3f6248:0x713,_0x1e57f6:0x511,_0x3cd959:0x7ba,_0x2d2203:0x837,_0x17dbf6:0x5f5,_0x19c6d5:0x5cd,_0x22d68b:0x846,_0x26cae7:0x856,_0x31ef33:0x648,_0x27c922:0x9ea,_0x315c7d:0x9a9,_0x453f27:0x5ab,_0x19aa67:0x4f9,_0x3965e9:0x746,_0x2efbb9:0x83d,_0x10115e:0x91c,_0x19c9da:0x7ae,_0x547e08:0x592},_0x5d4e71={_0x3424be:0x278},_0x46e211={_0x1b7a2d:0x161,_0x386cd2:0x77,_0x1bf11a:0x18},_0x46d9be=this[_0x556de2(_0x41a9f3._0x367d3e,_0x41a9f3._0x1b5332,_0x41a9f3._0x50ce3b,0x743)][_0x556de2(_0x41a9f3._0x1eb80f,0x899,_0x41a9f3._0x378a91,_0x41a9f3._0x4dc92c)](_0x409cf5);if(!_0x46d9be)throw new ToolExecutionError(_0x556de2(_0x41a9f3._0x3e2c3b,_0x41a9f3._0x80f2b0,0x911,0x7d9)+_0x409cf5,{'shellId':_0x409cf5});const _0x221a91=_0x46d9be[_0x556de2(0x691,_0x41a9f3._0x5e2e94,0x730,_0x41a9f3._0x5e69fd)][_0x3edf09(0x8a1,0x6d5,_0x41a9f3._0x543235,_0x41a9f3._0x37fd3f)](''),_0x5ba8ab=Math[_0x3edf09(0x880,0x6df,0x5bf,0x7bd)](_0x46d9be['readCursor'],_0x46d9be[_0x3edf09(0x60f,0x7d8,0x7e5,0x76b)]),_0x5205fe=Math[_0x556de2(0x89d,_0x41a9f3._0x3e7918,_0x41a9f3._0x306f06,_0x41a9f3._0x20aef2)](0x0,_0x46d9be['totalDropped']-_0x46d9be[_0x3edf09(0x55b,_0x41a9f3._0x346d1,_0x41a9f3._0x386ef6,0x6d3)]),_0xe2b582=_0x221a91[_0x3edf09(0x79c,0x74d,0x6ed,_0x41a9f3._0x597dd3)](_0x5ba8ab-_0x46d9be[_0x3edf09(_0x41a9f3._0x4ec0a5,_0x41a9f3._0x2a8177,0x93e,_0x41a9f3._0x25835b)]);function _0x556de2(_0x8e4388,_0x17c7f8,_0x5867ae,_0x50b7df){return _0x5b2413(_0x8e4388-_0x46e211._0x1b7a2d,_0x17c7f8-_0x46e211._0x386cd2,_0x5867ae- -_0x46e211._0x1bf11a,_0x17c7f8);}function _0x3edf09(_0x5f5193,_0x4e0602,_0xdc31c4,_0xabde90){return _0x28bc81(_0x5f5193-0x11d,_0x4e0602-0x10b,_0x4e0602-_0x5d4e71._0x3424be,_0xdc31c4);}let _0x2b3502;const _0x55d51d=_0x45e432?.[_0x3edf09(_0x41a9f3._0xc35aee,0x801,0x84d,_0x41a9f3._0x561c14)];if(!_0x55d51d)_0x2b3502=_0xe2b582,_0x46d9be[_0x556de2(0x7c9,_0x41a9f3._0x36f4d3,_0x41a9f3._0x2353be,_0x41a9f3._0x463962)]=_0x46d9be[_0x556de2(_0x41a9f3._0x535620,_0x41a9f3._0x239007,_0x41a9f3._0x2cabea,0x948)];else{let _0x5ad7fb;try{_0x5ad7fb=new RegExp(_0x55d51d);}catch(_0x4ec7d9){throw new ToolExecutionError(_0x3edf09(_0x41a9f3._0x1e5ba5,_0x41a9f3._0x27e5ea,_0x41a9f3._0x43603f,_0x41a9f3._0x3dcbac)+(_0x4ec7d9 instanceof Error?_0x4ec7d9[_0x556de2(_0x41a9f3._0x261944,0xa02,_0x41a9f3._0x1492f2,0xb87)]:String(_0x4ec7d9)),{'shellId':_0x409cf5,'regex':_0x55d51d});}let _0x495937=_0xe2b582;if(!_0x46d9be['terminalSettled']){const _0x196a42=_0xe2b582[_0x3edf09(_0x41a9f3._0x51ba56,_0x41a9f3._0x3f6248,_0x41a9f3._0x1e57f6,_0x41a9f3._0x3cd959)]('\x0a');_0x495937=_0x196a42>=0x0?_0xe2b582['slice'](0x0,_0x196a42+0x1):'';}_0x2b3502=_0x495937['split']('\x0a')[_0x556de2(_0x41a9f3._0x2d2203,0x825,0x80c,_0x41a9f3._0x17dbf6)](_0x49bb7c=>_0x5ad7fb['test'](_0x49bb7c))[_0x3edf09(0x8a8,0x6d5,_0x41a9f3._0x19c6d5,_0x41a9f3._0x22d68b)]('\x0a'),_0x46d9be[_0x556de2(_0x41a9f3._0x26cae7,_0x41a9f3._0x31ef33,_0x41a9f3._0x2353be,0x910)]=_0x5ba8ab+_0x495937[_0x556de2(_0x41a9f3._0x27c922,0x83d,0x8d0,_0x41a9f3._0x315c7d)];}return{'output':(_0x5205fe>0x0?'[output\x20truncated:\x20'+_0x5205fe+_0x3edf09(0x7a4,_0x41a9f3._0x453f27,0x659,_0x41a9f3._0x19aa67):'')+_0x2b3502,'status':_0x46d9be['status'],'exitCode':_0x46d9be[_0x556de2(0x74a,_0x41a9f3._0x3965e9,_0x41a9f3._0x2efbb9,_0x41a9f3._0x10115e)],'signal':_0x46d9be[_0x3edf09(0x6d6,0x645,_0x41a9f3._0x19c9da,_0x41a9f3._0x547e08)],'error':_0x46d9be['error'],'truncated':_0x5205fe>0x0};}[_0x28bc81(0x4e0,0x2de,0x458,0x26e)](){return[...this['entries']['values']()];}[_0x28bc81(0x250,0x56b,0x46e,0x3f5)](_0x573707){const _0x22e4fe={_0x4ddf54:0x856,_0x1d8dc9:0x52e,_0x1d64e0:0x852,_0x64b9c9:0x8ab,_0x468e2a:0x6ce,_0x4b7a54:0x712,_0x12fa92:0x7e9,_0x389301:0x854,_0x14df16:0x8fc,_0x594f35:0x9cf,_0x2b20d3:0x7cb,_0x10ff7d:0x37f,_0x2adf1b:0x382,_0x532018:0x2f3,_0x241076:0x19f,_0x17c9d2:0x188,_0x25667a:0x7a7,_0x1e6b0a:0x5fb,_0x5b75ef:0x56e,_0x2f6bda:0x638,_0x2342b0:0x36a,_0x781fa4:0x500,_0x3872b6:0x438,_0x1c5a8f:0x290,_0x530047:0x386,_0x1a4bda:0x221,_0x44b356:0x41a,_0x37e3ab:0x262,_0x1a8510:0x3c5,_0x58b7eb:0x337,_0x35ee9e:0x65a,_0x296263:0x4c6,_0x43cedc:0x878,_0x36460d:0x83e,_0x48a7ff:0x882,_0x16b3db:0x899,_0x993cb0:0x5f5,_0x88fd18:0x62f,_0x2d16ae:0x673,_0x3a7cda:0xa3e,_0x513e5a:0x8fc,_0xa92f18:0x85a,_0x188053:0x8c9,_0x2a86ff:0x6e3},_0x3bc4af={_0x37a1e9:0xa4,_0x24cff2:0x13f,_0xde8a94:0x77},_0x34a81c={_0x598d72:0x4d9,_0x2fdd41:0x383},_0x127c58={_0x2b6f28:0x110,_0xc1087a:0x8b},_0x556749=this[_0x3092b3(_0x22e4fe._0x4ddf54,0x651,_0x22e4fe._0x1d8dc9,0x457)][_0x3092b3(_0x22e4fe._0x1d64e0,0x932,0xacb,_0x22e4fe._0x64b9c9)](_0x573707);if(!_0x556749)throw new ToolExecutionError(_0x31e28d(_0x22e4fe._0x468e2a,_0x22e4fe._0x4b7a54,_0x22e4fe._0x12fa92,0x781)+_0x573707,{'shellId':_0x573707});if(_0x556749[_0x3092b3(_0x22e4fe._0x389301,_0x22e4fe._0x14df16,_0x22e4fe._0x594f35,0x7ad)]&&!_0x556749[_0x31e28d(_0x22e4fe._0x2b20d3,0x625,0x4c4,0x673)])return _0x556749[_0x3092b3(0x9bd,0x8fc,0x700,0x7a3)];if(_0x556749[_0x31e28d(0x217,_0x22e4fe._0x10ff7d,_0x22e4fe._0x2adf1b,_0x22e4fe._0x532018)]&&isTerminalStatus(_0x556749[_0x31e28d(0x51b,0x386,_0x22e4fe._0x241076,_0x22e4fe._0x17c9d2)]))return Promise[_0x3092b3(_0x22e4fe._0x25667a,_0x22e4fe._0x1e6b0a,_0x22e4fe._0x5b75ef,_0x22e4fe._0x2f6bda)](this[_0x31e28d(_0x22e4fe._0x2342b0,0x393,0x4da,_0x22e4fe._0x781fa4)](_0x556749,_0x31e28d(_0x22e4fe._0x3872b6,0x50e,0x624,0x45e)));if(_0x556749[_0x31e28d(_0x22e4fe._0x1c5a8f,_0x22e4fe._0x530047,_0x22e4fe._0x1a4bda,0x42c)]!==_0x3092b3(0x703,0x779,0x579,0x91a))_0x556749[_0x31e28d(_0x22e4fe._0x44b356,0x386,_0x22e4fe._0x37e3ab,_0x22e4fe._0x1a8510)]=_0x31e28d(_0x22e4fe._0x58b7eb,0x3d7,0x5ad,0x529);_0x556749[_0x3092b3(0x6af,_0x22e4fe._0x35ee9e,0x800,_0x22e4fe._0x296263)]=!![],_0x556749[_0x3092b3(_0x22e4fe._0x43cedc,_0x22e4fe._0x36460d,_0x22e4fe._0x48a7ff,_0x22e4fe._0x16b3db)]=![];function _0x3092b3(_0x522e05,_0x51aedb,_0x30760a,_0x85db79){return _0x28bc81(_0x522e05-0x22,_0x51aedb-0x16d,_0x51aedb-0x3a1,_0x522e05);}function _0x31e28d(_0x366ec4,_0x6cb635,_0x224236,_0xeb03bc){return _0x28bc81(_0x366ec4-_0x127c58._0x2b6f28,_0x6cb635-_0x127c58._0xc1087a,_0x6cb635-0x188,_0x224236);}return _0x556749['terminationPromise']=this[_0x31e28d(0x586,_0x22e4fe._0x993cb0,_0x22e4fe._0x88fd18,_0x22e4fe._0x2d16ae)](_0x556749),void _0x556749[_0x3092b3(_0x22e4fe._0x3a7cda,_0x22e4fe._0x513e5a,0xaa6,_0x22e4fe._0xa92f18)]['then'](()=>{const _0x24e971={_0x2a0693:0x2d4,_0x5dc579:0xbb};function _0x3514e0(_0x6783f4,_0x24b47e,_0x285c90,_0x5dbd6e){return _0x31e28d(_0x6783f4-0x6d,_0x285c90- -_0x24e971._0x2a0693,_0x24b47e,_0x5dbd6e-_0x24e971._0x5dc579);}_0x556749[_0x3514e0(_0x34a81c._0x598d72,0x377,0x351,_0x34a81c._0x2fdd41)]=!![];},()=>{const _0x432d0b={_0x9e92af:0xeb};function _0x334860(_0x180d63,_0x37b294,_0x219e02,_0x18783f){return _0x31e28d(_0x180d63-_0x432d0b._0x9e92af,_0x219e02- -0x4e6,_0x180d63,_0x18783f-0xfc);}_0x556749[_0x334860(0xa4,-_0x3bc4af._0x37a1e9,_0x3bc4af._0x24cff2,-_0x3bc4af._0xde8a94)]=!![];}),_0x556749[_0x31e28d(_0x22e4fe._0x188053,_0x22e4fe._0x2a86ff,0x60e,0x64e)];}[_0x28bc81(0x350,0x4f3,0x441,0x36c)](){const _0x1efce1={_0xd12ecb:0x18f,_0x1b8814:0x34f},_0x3aecc3={_0x756b13:0x25,_0x3cd343:0x183},_0x5a4286={_0x133c0c:0xcc,_0x1a805d:0x32a};function _0x155273(_0x1b088a,_0x1b9dfd,_0x426e86,_0x3d2141){return _0x5b2413(_0x1b088a-0x131,_0x1b9dfd-_0x5a4286._0x133c0c,_0x426e86- -_0x5a4286._0x1a805d,_0x1b088a);}function _0x549eb7(_0xfd43ed,_0x53074f,_0x2b5dec,_0x4a50b9){return _0x28bc81(_0xfd43ed-_0x3aecc3._0x756b13,_0x53074f-_0x3aecc3._0x3cd343,_0x53074f-0xf7,_0x2b5dec);}return Promise['all']([...this['entries'][_0x549eb7(_0x1efce1._0xd12ecb,_0x1efce1._0x1b8814,0x172,0x4dc)]()]['map'](_0x1008ee=>this[_0x155273(0x5ef,0x3e2,0x4e3,0x502)](_0x1008ee['shellId'])));}async[_0x5b2413(0x963,0x7a1,0x7bc,0x616)](){const _0x3cfcca={_0x377746:0x9c0,_0x133ff4:0x902,_0xeaafaf:0x67c,_0x135877:0x7a1,_0x31a904:0x853,_0x28d8c2:0x82c,_0x3570dc:0x851,_0x518f40:0xae3},_0x53d1ac={_0x3b930d:0xc1,_0x43791b:0xf},_0x35568b=await this[_0x2abe9e(_0x3cfcca._0x377746,_0x3cfcca._0x133ff4,0x7ef,_0x3cfcca._0xeaafaf)]();function _0x559e80(_0x2b4c36,_0x14d540,_0x5efd64,_0x4dfb41){return _0x5b2413(_0x2b4c36-0x1a5,_0x14d540-0x2f,_0x14d540- -0x8b,_0x2b4c36);}if(_0x35568b['some'](_0x558ea0=>_0x558ea0[_0x2abe9e(0x794,0x8c9,0x762,0x8ad)]===_0x2abe9e(0x88e,0x727,0x811,0x93f)))throw new BackgroundProcessCleanupError(_0x35568b);function _0x2abe9e(_0x5410ac,_0x3f133b,_0x36f5cd,_0x4f87d1){return _0x5b2413(_0x5410ac-0xcc,_0x3f133b-_0x53d1ac._0x3b930d,_0x36f5cd-_0x53d1ac._0x43791b,_0x5410ac);}return this['entries'][_0x559e80(0x79f,0x8a3,_0x3cfcca._0x135877,_0x3cfcca._0x31a904)](),this['reservations'][_0x2abe9e(_0x3cfcca._0x28d8c2,_0x3cfcca._0x3570dc,0x93d,_0x3cfcca._0x518f40)](),_0x35568b;}async[_0x28bc81(0x5a8,0x595,0x46d,0x4a2)](_0x50457a){const _0x48ce68={_0x3a3554:0x499,_0x517098:0x73b,_0x3d4f95:0x6db,_0x160bac:0x7d4,_0x4e7f4d:0x9a6,_0x18ceeb:0xa1e,_0x2b1ca0:0x5ec,_0x188d45:0x56a,_0xd6219a:0x613,_0x10aec4:0x677,_0x3e7b5c:0x4c5,_0x7278eb:0x512,_0x38da5d:0x65a,_0x29da22:0x797,_0x24c01c:0x57a,_0x316cd2:0x655,_0x3941db:0x6af,_0x45440a:0x7fe,_0x392bd5:0x6a7,_0x4d59f8:0x7b8,_0x579079:0x745,_0x539996:0x701,_0x312e07:0x740,_0x4449ba:0x83d,_0x8843b:0x97b,_0x380241:0x59e,_0x2ee48e:0x5b0,_0x44067f:0x78f,_0x2d5dda:0x607,_0x1e4a3d:0x5ea,_0x5ccc34:0x9a7,_0x3b687c:0x4a4,_0x3a6794:0x4d3,_0x1ea85f:0x787,_0x1252fc:0x77c,_0x5f12c6:0x797,_0x34d876:0x89f,_0x300d10:0x790,_0x457c0b:0x69c,_0xb45589:0x738},_0x8c69fd={_0x1f3837:0x8a,_0x1c10a4:0x334};function _0x4b0608(_0x86ad37,_0x30e61c,_0x137d4f,_0x1d2d8d){return _0x5b2413(_0x86ad37-0x15b,_0x30e61c-0x1c9,_0x1d2d8d- -0x169,_0x30e61c);}_0x50457a[_0x5531ca(0x5b6,_0x48ce68._0x3a3554,0x5f7,_0x48ce68._0x517098)]=!![];const _0x371c53=await this[_0x4b0608(0x839,_0x48ce68._0x3d4f95,0x7f2,0x79d)][_0x4b0608(0x7ae,_0x48ce68._0x160bac,0x681,0x603)]({'rootPid':_0x50457a[_0x5531ca(0x8ef,_0x48ce68._0x4e7f4d,0x70f,_0x48ce68._0x18ceeb)],'processGroupId':_0x50457a[_0x4b0608(0x59a,_0x48ce68._0x2b1ca0,_0x48ce68._0x188d45,_0x48ce68._0xd6219a)]},_0x4b0608(_0x48ce68._0x10aec4,_0x48ce68._0x3e7b5c,_0x48ce68._0x7278eb,_0x48ce68._0x38da5d));if(_0x371c53['outcome']==='failed')return this[_0x5531ca(_0x48ce68._0x29da22,_0x48ce68._0x24c01c,_0x48ce68._0x316cd2,0x93f)](_0x50457a,_0x371c53['error']);if(await this['waitForTerminal'](_0x50457a,TERMINATION_WINDOW_MS))return this[_0x4b0608(0x5fd,0x494,0x848,_0x48ce68._0x3941db)](_0x50457a);function _0x5531ca(_0x591011,_0x37713c,_0x19f5da,_0x273902){return _0x28bc81(_0x591011-0x1d2,_0x37713c-_0x8c69fd._0x1f3837,_0x591011-_0x8c69fd._0x1c10a4,_0x19f5da);}_0x50457a[_0x5531ca(_0x48ce68._0x45440a,_0x48ce68._0x392bd5,_0x48ce68._0x4d59f8,_0x48ce68._0x579079)]=!![];const _0x35ccc3=await this['signalAdapter'][_0x5531ca(_0x48ce68._0x539996,_0x48ce68._0x312e07,0x640,0x694)]({'rootPid':_0x50457a[_0x4b0608(_0x48ce68._0x4449ba,_0x48ce68._0x8843b,0x614,0x7f1)],'processGroupId':_0x50457a[_0x5531ca(0x711,_0x48ce68._0x380241,_0x48ce68._0x2ee48e,0x634)]},_0x4b0608(0x3cd,0x6b3,0x722,0x568));if(_0x35ccc3[_0x4b0608(0x3f6,_0x48ce68._0x44067f,_0x48ce68._0x2d5dda,_0x48ce68._0x1e4a3d)]===_0x5531ca(0x797,0x6de,0x8bc,_0x48ce68._0x5ccc34))return this[_0x4b0608(0x76e,0x614,0x899,0x699)](_0x50457a,_0x35ccc3[_0x4b0608(_0x48ce68._0x3b687c,_0x48ce68._0x3a6794,0x7ac,0x60e)]);if(await this[_0x5531ca(_0x48ce68._0x1ea85f,_0x48ce68._0x1252fc,0x8ef,0x916)](_0x50457a,TERMINATION_WINDOW_MS))return this[_0x4b0608(0x48d,0x640,0x86e,0x6af)](_0x50457a);return this[_0x5531ca(_0x48ce68._0x5f12c6,_0x48ce68._0x34d876,0x5ac,_0x48ce68._0x300d10)](_0x50457a,_0x5531ca(0x526,0x3a3,_0x48ce68._0x457c0b,_0x48ce68._0xb45589));}[_0x28bc81(0x669,0x5b2,0x479,0x4c0)](_0x4adf22){const _0x24ad6a={_0x412230:0x82c,_0x4594be:0x6db,_0x12186a:0x709,_0x2bc3f2:0x955,_0x58a352:0x7a0,_0x211396:0x740,_0x2d3797:0x79f,_0x3a9ea9:0x917,_0x25c114:0xacc,_0x1eee3d:0xa73,_0x19d1ca:0x9c3,_0x4134d3:0x40e,_0x43e977:0x692},_0x387b23={_0x1c51e5:0x30,_0x28afab:0x303},_0x124bd9={_0x3b9956:0x27,_0x37fce7:0x3c8};function _0x987614(_0x55dac0,_0x1499d1,_0xb77e08,_0x48cc22){return _0x28bc81(_0x55dac0-_0x124bd9._0x3b9956,_0x1499d1-0x1ab,_0x55dac0-_0x124bd9._0x37fce7,_0xb77e08);}function _0x1cb964(_0xb4624f,_0x2cce44,_0x41116d,_0x2209fc){return _0x28bc81(_0xb4624f-0x54,_0x2cce44-_0x387b23._0x1c51e5,_0x2209fc-_0x387b23._0x28afab,_0x2cce44);}return _0x4adf22['status']===_0x1cb964(_0x24ad6a._0x412230,0x869,0x790,_0x24ad6a._0x4594be)?this[_0x1cb964(_0x24ad6a._0x12186a,_0x24ad6a._0x2bc3f2,0x6fc,0x766)](_0x4adf22,_0x4adf22[_0x987614(_0x24ad6a._0x58a352,_0x24ad6a._0x211396,_0x24ad6a._0x2d3797,_0x24ad6a._0x3a9ea9)]??_0x987614(0x9ac,_0x24ad6a._0x25c114,_0x24ad6a._0x1eee3d,_0x24ad6a._0x19d1ca)):this['result'](_0x4adf22,_0x1cb964(0x3aa,_0x24ad6a._0x4134d3,_0x24ad6a._0x43e977,0x598));}[_0x5b2413(0x93b,0x809,0x802,0x8b8)](_0x3d85ad,_0x17f060){const _0x49091d={_0x27d7fe:0x6d8,_0x57011c:0x6ba,_0x510fde:0x253,_0x31aef5:0x365,_0x446eab:0x33c,_0x4fcb96:0x550,_0x13a140:0x39c},_0x120d64={_0x5ab909:0x104},_0x1bf582={_0x126749:0x8b,_0x1172f6:0x39};function _0x489d0b(_0x536f93,_0x30a672,_0x25e956,_0x53a249){return _0x5b2413(_0x536f93-_0x1bf582._0x126749,_0x30a672-_0x1bf582._0x1172f6,_0x25e956- -0x26d,_0x53a249);}function _0xbc49a0(_0x5f1e47,_0x415bd6,_0x194614,_0x1336be){return _0x28bc81(_0x5f1e47-0x1ad,_0x415bd6-_0x120d64._0x5ab909,_0x1336be- -0xc7,_0x415bd6);}return _0x3d85ad[_0x489d0b(_0x49091d._0x27d7fe,0x71a,0x50a,_0x49091d._0x57011c)]=_0x17f060,this[_0x489d0b(_0x49091d._0x510fde,0x169,0x33d,_0x49091d._0x31aef5)](_0x3d85ad,_0xbc49a0(_0x49091d._0x446eab,0x5b5,_0x49091d._0x4fcb96,_0x49091d._0x13a140));}[_0x5b2413(0x55d,0x51c,0x5aa,0x3eb)](_0x2b0a64,_0x1bacff){const _0x7694e9={_0x4b125e:0x3fa,_0x5c44be:0x100,_0x2f8c21:0x198,_0x566511:0x8f,_0x1087f9:0x257,_0x561311:0x3c,_0x161877:0xfd,_0x5dc352:0x27c,_0x58218e:0x94,_0x893f8a:0x362,_0x1ba64f:0x3b4},_0x536fdf={_0x499a04:0x5d9},_0x5798ca={_0x7c1e4b:0x11e,_0xbd8df9:0xbb,_0xadfd74:0x28a};function _0x5262c6(_0x394c92,_0x977e7e,_0x168471,_0x781aa9){return _0x28bc81(_0x394c92-_0x5798ca._0x7c1e4b,_0x977e7e-_0x5798ca._0xbd8df9,_0x394c92- -_0x5798ca._0xadfd74,_0x977e7e);}function _0x316052(_0x36f201,_0x14f605,_0xbbe126,_0x13ef39){return _0x5b2413(_0x36f201-0x1e4,_0x14f605-0xa9,_0x13ef39- -_0x536fdf._0x499a04,_0x36f201);}return{'shellId':_0x2b0a64[_0x316052(_0x7694e9._0x4b125e,_0x7694e9._0x5c44be,_0x7694e9._0x2f8c21,0x1e0)],'outcome':_0x1bacff,'status':_0x2b0a64[_0x316052(_0x7694e9._0x566511,-_0x7694e9._0x1087f9,-0x1cb,-_0x7694e9._0x561311)],'exitCode':_0x2b0a64[_0x316052(0x3ae,0x3d2,_0x7694e9._0x161877,_0x7694e9._0x5dc352)],'signal':_0x2b0a64[_0x5262c6(0x143,0x134,0xe7,-_0x7694e9._0x58218e)],'error':_0x2b0a64[_0x316052(-0x7f,0x20,-0x78,0x19e)],'gracefulRequested':_0x2b0a64['gracefulRequested'],'forceRequested':_0x2b0a64[_0x5262c6(0x240,_0x7694e9._0x893f8a,_0x7694e9._0x1ba64f,0x359)]};}['waitForTerminal'](_0x21454d,_0x15d70f){const _0x3fd88f={_0x47cb0e:0x1d1,_0x360d9a:0x2b1},_0x4795c7={_0x271680:0x8df,_0x1c3b53:0x89f},_0x3da974={_0x2a6449:0x237,_0x19d70b:0x5a},_0x126dca={_0x5e5444:0x2d6};function _0x17bbd2(_0x276f82,_0x5c7d99,_0x27a56e,_0x4ca489){return _0x5b2413(_0x276f82-0x92,_0x5c7d99-0xe9,_0x27a56e- -_0x126dca._0x5e5444,_0x5c7d99);}if(_0x21454d['terminalSettled'])return Promise[_0x17bbd2(_0x3fd88f._0x47cb0e,0x106,0x323,_0x3fd88f._0x360d9a)](!![]);return new Promise(_0x30f938=>{let _0x8040b4=![];const _0x462672=setTimeout(()=>{if(_0x8040b4)return;_0x8040b4=!![],_0x30f938(![]);},_0x15d70f);function _0x143ac4(_0x1c1854,_0x3e09a4,_0x8891cb,_0x1856db){return _0x17bbd2(_0x1c1854-0x174,_0x8891cb,_0x3e09a4-_0x3da974._0x2a6449,_0x1856db-_0x3da974._0x19d70b);}void _0x21454d[_0x143ac4(_0x4795c7._0x271680,0x88d,0x98a,_0x4795c7._0x1c3b53)]['then'](()=>{if(_0x8040b4)return;_0x8040b4=!![],clearTimeout(_0x462672),_0x30f938(!![]);});});}[_0x5b2413(0x6d4,0x915,0x7b4,0x66f)](_0x14bd19,_0x5806d1,_0x2f5916,_0x42a825){const _0x3bd841={_0x5d4976:0x59f,_0x22b580:0x2ff,_0x52dfa6:0x4b5,_0x501512:0x471,_0x2e6d5a:0x399,_0x4723b2:0x4aa,_0xdbf197:0x8c9,_0x345369:0x5b8,_0x443cf8:0x50b,_0x18d832:0x650,_0x275b1a:0x28f,_0x20777d:0x4ad},_0x25f1a2={_0x31d73e:0x133,_0x1b81d0:0xeb},_0x470b14={_0x8564ae:0x171,_0x43d4f6:0x190};function _0x54d5d4(_0x4afbcb,_0x5daf60,_0x507f34,_0x8fa1bb){return _0x28bc81(_0x4afbcb-_0x470b14._0x8564ae,_0x5daf60-_0x470b14._0x43d4f6,_0x8fa1bb-0xca,_0x507f34);}function _0x528bf4(_0x4839ff,_0x1e769d,_0x48581f,_0x505ec7){return _0x28bc81(_0x4839ff-_0x25f1a2._0x31d73e,_0x1e769d-0x1a6,_0x1e769d- -_0x25f1a2._0x1b81d0,_0x4839ff);}const _0x566a1d=_0x5806d1[_0x528bf4(_0x3bd841._0x5d4976,0x466,_0x3bd841._0x22b580,_0x3bd841._0x52dfa6)](_0x42a825);this[_0x528bf4(0x638,_0x3bd841._0x501512,_0x3bd841._0x2e6d5a,_0x3bd841._0x4723b2)](_0x14bd19,_0x14bd19[_0x54d5d4(_0x3bd841._0xdbf197,_0x3bd841._0x345369,_0x3bd841._0x443cf8,0x6d2)]?_0x2f5916[_0x528bf4(_0x3bd841._0x18d832,0x466,_0x3bd841._0x275b1a,_0x3bd841._0x20777d)](_0x566a1d):_0x566a1d);}[_0x5b2413(0x94d,0x7b4,0x7e7,0x925)](_0x5d423a){const _0x5695c3={_0x30c79f:0xa97,_0x2a559c:0x96f,_0x18a48f:0x834,_0xa2587c:0x1a1,_0x12cf23:0x2f3,_0x137d51:0x444,_0x12e3f3:0x4d5,_0x50a8e2:0x2b7},_0x916a9f={_0x1872ed:0xae},_0x34477c={_0x4b2622:0x9d};this[_0x28a2e0(_0x5695c3._0x30c79f,_0x5695c3._0x2a559c,_0x5695c3._0x18a48f,0xb2a)](_0x5d423a);function _0x28a2e0(_0x1ef68c,_0x461104,_0x5f594b,_0xa00c0c){return _0x28bc81(_0x1ef68c-0x17b,_0x461104-_0x34477c._0x4b2622,_0x461104-0x3e1,_0xa00c0c);}function _0x129c76(_0x2d0510,_0x140232,_0x4e7031,_0x3bf8d2){return _0x28bc81(_0x2d0510-0x1d1,_0x140232-0x19b,_0x140232-_0x916a9f._0x1872ed,_0x2d0510);}!_0x5d423a['terminalSettled']&&(_0x5d423a['terminalSettled']=!![],_0x5d423a[_0x129c76(_0x5695c3._0xa2587c,_0x5695c3._0x12cf23,0x39b,0x489)]()),this[_0x129c76(0x235,_0x5695c3._0x137d51,_0x5695c3._0x12e3f3,_0x5695c3._0x50a8e2)]();}[_0x5b2413(0x922,0x7a5,0x92d,0x99b)](_0x468029){const _0x37a394={_0xae864b:0x6ab,_0x5081a5:0x76e,_0x30625b:0x800,_0x164c74:0x5d0,_0xa98aef:0x66f,_0x32a99:0x6e2,_0x379656:0x4cb,_0x1f0ddc:0x4b6,_0x4ae27c:0x5ca,_0xb825d4:0x703,_0x19036c:0x414,_0x1277f5:0x689,_0x354df0:0x6dc,_0x329185:0x6a5,_0x510747:0x4a2,_0x15f69c:0x892,_0x2d2ab4:0x94b,_0x6aed12:0x4d4},_0x14d594={_0x2f4a61:0x177},_0x479725={_0x267100:0x119,_0x58571e:0x18d,_0x1d0fcc:0x54};if(_0x468029[_0x1a8c50(0x922,0x76e,_0x37a394._0xae864b,0x8a0)])return;_0x468029[_0x1a8c50(0x8cb,_0x37a394._0x5081a5,_0x37a394._0x30625b,_0x37a394._0x164c74)]=!![];function _0x2b4d78(_0x4307e3,_0x56ea86,_0x410798,_0x1af1e8){return _0x28bc81(_0x4307e3-_0x479725._0x267100,_0x56ea86-_0x479725._0x58571e,_0x4307e3-_0x479725._0x1d0fcc,_0x410798);}function _0x1a8c50(_0x44ac9c,_0x55404c,_0x32e9ed,_0x3dee9f){return _0x28bc81(_0x44ac9c-0x30,_0x55404c-0x27,_0x55404c-_0x14d594._0x2f4a61,_0x32e9ed);}const _0x12d95e=_0x468029['stdoutDecoder'][_0x2b4d78(0x582,0x464,0x53f,_0x37a394._0xa98aef)](),_0x4aedd8=_0x468029['stderrDecoder'][_0x1a8c50(_0x37a394._0x32a99,0x6a5,_0x37a394._0x379656,_0x37a394._0x1f0ddc)]();this[_0x1a8c50(_0x37a394._0x4ae27c,0x6d3,_0x37a394._0xb825d4,0x523)](_0x468029,_0x468029['stripAnsi']?_0x468029['stdoutNormalizer']['write'](_0x12d95e)+_0x468029[_0x1a8c50(0x5c7,0x4b8,_0x37a394._0x19036c,_0x37a394._0x1277f5)][_0x1a8c50(_0x37a394._0x354df0,_0x37a394._0x329185,_0x37a394._0x510747,0x5d5)]():_0x12d95e),this[_0x1a8c50(0x8b9,0x6d3,0x6e4,_0x37a394._0x15f69c)](_0x468029,_0x468029['stripAnsi']?_0x468029[_0x1a8c50(0x815,0x746,_0x37a394._0x2d2ab4,0x6a6)][_0x1a8c50(0x879,0x6c8,_0x37a394._0x6aed12,0x7fc)](_0x4aedd8)+_0x468029['stderrNormalizer']['end']():_0x4aedd8);}[_0x28bc81(0x72a,0x512,0x55c,0x598)](_0xa0872e,_0x5b473f){const _0x2ba3d3={_0x557030:0x221,_0x18e66b:0x185,_0x58406a:0x1cd,_0x3e2b67:0x2c0,_0x16f8f5:0x83,_0x9e86fa:0x2da,_0x3a1065:0x2ec,_0x1e571c:0x34f,_0x46549c:0x540,_0x38765e:0x39b,_0x31d0e5:0xcd,_0x551f95:0x11f,_0x57b003:0x34f,_0x16fe03:0x269,_0x137262:0x4f7,_0x1e2719:0x405,_0x4b0f0c:0x42f,_0x30450c:0x1af,_0x43d066:0x129,_0x1fa43a:0xc2,_0x3257bc:0x277,_0x740846:0x43b,_0x3899cb:0x2b0,_0x3278db:0xc4,_0x148498:0x14c,_0x52142e:0x2dd,_0x1223f1:0x366,_0x51d686:0x305,_0x13456a:0x325,_0x1d12e8:0x340,_0x416cf2:0x3dd,_0x343d23:0x2,_0x47b8b5:0x2db,_0x4c066b:0x33c,_0x5177ff:0x12b},_0x5a86ff={_0x4fe6b8:0x599},_0x2f6a0e={_0x429ecf:0x173,_0x245e98:0x5c3};if(_0x5b473f[_0x180a7e(0x325,0x3db,_0x2ba3d3._0x557030,0x10d)]===0x0)return;function _0x180a7e(_0x47e10c,_0x5858ba,_0x3f1533,_0x12a836){return _0x5b2413(_0x47e10c-0x14e,_0x5858ba-_0x2f6a0e._0x429ecf,_0x47e10c- -_0x2f6a0e._0x245e98,_0x12a836);}_0xa0872e[_0x180a7e(_0x2ba3d3._0x18e66b,_0x2ba3d3._0x58406a,0x362,_0x2ba3d3._0x3e2b67)][_0x180a7e(0x192,0x11e,0x138,_0x2ba3d3._0x16f8f5)](_0x5b473f);function _0x94114(_0x50955b,_0x5d986e,_0xfbdf9a,_0x16b995){return _0x5b2413(_0x50955b-0x93,_0x5d986e-0x16e,_0x50955b- -_0x5a86ff._0x4fe6b8,_0x5d986e);}_0xa0872e[_0x94114(_0x2ba3d3._0x9e86fa,0x460,0x492,_0x2ba3d3._0x3a1065)]+=_0x5b473f[_0x94114(_0x2ba3d3._0x1e571c,_0x2ba3d3._0x46549c,_0x2ba3d3._0x38765e,0x2f7)],_0xa0872e[_0x94114(0x1c1,_0x2ba3d3._0x31d0e5,0x49,_0x2ba3d3._0x551f95)]+=_0x5b473f[_0x94114(_0x2ba3d3._0x57b003,0x2c8,_0x2ba3d3._0x16fe03,_0x2ba3d3._0x137262)];while(_0xa0872e[_0x94114(_0x2ba3d3._0x9e86fa,0x105,0x2b9,0x230)]>this['capChars']){const _0x23b519=_0xa0872e['bufferChars']-this[_0x94114(_0x2ba3d3._0x1e2719,0x372,0x2a9,0x476)],_0x77e4a4=_0xa0872e['buffer'][0x0];if(_0x77e4a4===void 0x0)break;_0x77e4a4[_0x180a7e(0x325,0x44b,_0x2ba3d3._0x4b0f0c,0x522)]<=_0x23b519?(_0xa0872e[_0x94114(_0x2ba3d3._0x30450c,0x3ba,_0x2ba3d3._0x43d066,_0x2ba3d3._0x1fa43a)][_0x180a7e(0x2b6,_0x2ba3d3._0x3257bc,_0x2ba3d3._0x16fe03,_0x2ba3d3._0x740846)](),_0xa0872e[_0x180a7e(_0x2ba3d3._0x3899cb,0xc2,_0x2ba3d3._0x3278db,0x2b2)]-=_0x77e4a4[_0x180a7e(0x325,0x3b3,_0x2ba3d3._0x148498,_0x2ba3d3._0x52142e)],_0xa0872e[_0x94114(_0x2ba3d3._0x1223f1,_0x2ba3d3._0x51d686,0x1ba,0x38d)]+=_0x77e4a4[_0x180a7e(_0x2ba3d3._0x13456a,_0x2ba3d3._0x1d12e8,_0x2ba3d3._0x416cf2,0x287)]):(_0xa0872e[_0x94114(0x1af,0x124,-_0x2ba3d3._0x343d23,0x221)][0x0]=_0x77e4a4[_0x94114(_0x2ba3d3._0x47b8b5,0x229,0x3a7,_0x2ba3d3._0x3e2b67)](_0x23b519),_0xa0872e['bufferChars']-=_0x23b519,_0xa0872e[_0x180a7e(_0x2ba3d3._0x4c066b,0x2cc,_0x2ba3d3._0x5177ff,0x3d4)]+=_0x23b519);}}[_0x5b2413(0x86d,0x936,0x735,0x91e)](){const _0x1a9b1d={_0xacfe51:0x433,_0x39451b:0x58c,_0x2c56bd:0x589,_0x163211:0x263,_0x101a12:0x577,_0x1daac6:0x27a,_0x2b6227:0x2d2,_0x104fa3:0x15c,_0x4fa7d0:0x300,_0x5f14a7:0x4bb,_0xe46f35:0x551,_0x1adb0d:0x2c8,_0x14e054:0x1c1,_0x193735:0x1c2,_0x489406:0x622},_0x1a71c8={_0x1c9bd7:0x192,_0x3846ca:0x1cd};function _0x3f5da6(_0x14a15a,_0x5485df,_0x4c0e9f,_0x2741e1){return _0x28bc81(_0x14a15a-_0x1a71c8._0x1c9bd7,_0x5485df-_0x1a71c8._0x3846ca,_0x5485df-0x1bb,_0x2741e1);}function _0x342fa7(_0x1807df,_0x26833e,_0x177c34,_0x2ac355){return _0x5b2413(_0x1807df-0x107,_0x26833e-0x162,_0x1807df- -0x37d,_0x26833e);}while(this[_0x3f5da6(0x387,0x46b,_0x1a9b1d._0xacfe51,0x493)]['size']>this[_0x342fa7(_0x1a9b1d._0x39451b,0x619,_0x1a9b1d._0x2c56bd,0x4fe)]){const _0x17ab5f=[...this[_0x3f5da6(_0x1a9b1d._0x163211,0x46b,_0x1a9b1d._0x101a12,0x5ef)][_0x342fa7(_0x1a9b1d._0x1daac6,0xef,_0x1a9b1d._0x2b6227,_0x1a9b1d._0x104fa3)]()][_0x342fa7(0x4a7,_0x1a9b1d._0x4fa7d0,_0x1a9b1d._0x5f14a7,_0x1a9b1d._0xe46f35)](_0x337912=>_0x337912[_0x342fa7(0x219,0x328,0x1ec,0x9b)]&&isTerminalStatus(_0x337912[_0x342fa7(0x220,0x328,0x23c,0x3df)]))[_0x3f5da6(0x54c,0x483,0x2e5,_0x1a9b1d._0x1adb0d)]((_0x57897d,_0x24cfdf)=>_0x57897d[_0x3f5da6(0x321,0x4c4,0x3fb,0x6d3)]-_0x24cfdf[_0x342fa7(0x32b,0x345,0x433,0x120)])[0x0];if(!_0x17ab5f)return;this[_0x342fa7(0x2d2,_0x1a9b1d._0x14e054,_0x1a9b1d._0x193735,0x4ba)]['delete'](_0x17ab5f[_0x342fa7(0x43c,0x31f,0x61f,_0x1a9b1d._0x489406)]);}}};function createBashOutputTool(_0x4a619e){const _0x372fe0={_0xf93b86:0x739,_0x289ab6:0x787,_0x346e24:0x990,_0xbf8b4e:0x751,_0x1bdc29:0x602,_0x5c46c2:0x5cd,_0x2ee25d:0x470,_0x3c2ba1:0x67e,_0x1604d1:0x4e1,_0x5a2912:0x5f4,_0x240968:0x4d2,_0x105c8f:0x54d},_0x18ec29={_0x680779:0x8a4,_0x57c34b:0x96f,_0xbc1a25:0xfa,_0x3019f5:0x226,_0x405070:0x43d,_0x43df02:0x15a,_0x436e75:0x88,_0x48168f:0x98d,_0x20d22a:0x768,_0x284c71:0x702,_0x4fd3a8:0x7a3,_0x441c64:0x746,_0x28472:0x587,_0x1f4985:0x153,_0x1cc50b:0xde},_0x3907f2={_0x218d40:0x1f0},_0x54da5f={_0xe15c18:0x5d,_0x3542bd:0x1da},_0x13a099={_0x15cc8f:0x39d};function _0x5bf7e1(_0x1cd4e7,_0x1cb7bf,_0x25c206,_0x2ed882){return _0x28bc81(_0x1cd4e7-0x84,_0x1cb7bf-0x24,_0x1cd4e7-_0x13a099._0x15cc8f,_0x25c206);}const {registry:_0xcadb65}=_0x4a619e;function _0x24de73(_0x5b6e89,_0x1b75d0,_0x1768df,_0x6003a2){return _0x28bc81(_0x5b6e89-0xcb,_0x1b75d0-_0x54da5f._0xe15c18,_0x5b6e89-_0x54da5f._0x3542bd,_0x1b75d0);}return defineTool({'name':_0x5bf7e1(_0x372fe0._0xf93b86,0x8e0,0x91f,_0x372fe0._0x289ab6),'permissionClass':_0x5bf7e1(0x8f3,_0x372fe0._0x346e24,_0x372fe0._0xbf8b4e,0x784),'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':_0x5bf7e1(_0x372fe0._0x1bdc29,0x57f,0x413,_0x372fe0._0x5c46c2),'properties':{'shellId':{'type':_0x24de73(_0x372fe0._0x2ee25d,_0x372fe0._0x3c2ba1,0x3fc,0x57a)},'regex':{'type':_0x5bf7e1(0x633,0x78b,_0x372fe0._0x1604d1,0x737)}},'required':[_0x24de73(_0x372fe0._0x5a2912,_0x372fe0._0x240968,_0x372fe0._0x105c8f,0x466)]},async *'execute'(_0x35e754){const _0x3a05e7={_0x3e4f48:0x53d,_0x4c98e5:0x85,_0x295e22:0xf6};function _0x3432b0(_0x498a3c,_0x4223bb,_0x55756a,_0x50fb4d){return _0x5bf7e1(_0x50fb4d- -0x14,_0x4223bb-0x1e7,_0x55756a,_0x50fb4d-_0x3907f2._0x218d40);}function _0x51f87f(_0x488188,_0x432c8f,_0x711f2e,_0xa9afe2){return _0x24de73(_0x711f2e- -_0x3a05e7._0x3e4f48,_0xa9afe2,_0x711f2e-_0x3a05e7._0x4c98e5,_0xa9afe2-_0x3a05e7._0x295e22);}const _0x57f8be=_0xcadb65['read'](_0x35e754[_0x3432b0(_0x18ec29._0x680779,0x6af,_0x18ec29._0x57c34b,0x7a3)],_0x35e754['regex']?{'regex':_0x35e754[_0x51f87f(_0x18ec29._0xbc1a25,0x33d,_0x18ec29._0x3019f5,_0x18ec29._0x405070)]}:void 0x0);return createToolOutput(_0x57f8be[_0x51f87f(_0x18ec29._0x43df02,-0xeb,-_0x18ec29._0x436e75,-0x68)],{'shellId':_0x35e754[_0x3432b0(_0x18ec29._0x48168f,_0x18ec29._0x20d22a,_0x18ec29._0x284c71,_0x18ec29._0x4fd3a8)],'status':_0x57f8be[_0x3432b0(0x5c4,_0x18ec29._0x441c64,0x717,_0x18ec29._0x28472)],'exitCode':_0x57f8be[_0x51f87f(0xf7,0xee,_0x18ec29._0x1f4985,0x79)],'signal':_0x57f8be[_0x51f87f(_0x18ec29._0x1cc50b,-0xfb,0x6a,-0x11b)],'error':_0x57f8be['error'],'truncated':_0x57f8be['truncated']});}});}import{spawn as _0x56d76b}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x16433e from'os';import*as _0x4b8ae0 from'path';import{StringDecoder as _0x2d4ce9}from'string_decoder';import{spawn as _0x8eb15b}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x48095c){return _0x48095c instanceof Error;}function resolveCarriageReturns(_0x1a42a1){const _0x21b733={_0x4b93b1:0x378,_0x1e8ea8:0x3ba,_0xe029b3:0x564},_0x2b3358={_0x3a619d:0x167,_0x3ee9ee:0x326,_0x1cb11a:0x1c8,_0x351013:0x33a,_0xf600ce:0x259,_0x33b953:0x3aa,_0x21403e:0x5c0,_0x4e669a:0x6c2,_0x349d15:0x33a},_0x364f0f={_0x2cbda3:0x24f,_0x331ca3:0x4},_0x23e0b2={_0x2d689c:0x82},_0x4342b3={_0x18685c:0x1bb,_0x1636f3:0x19e,_0x5bbfcb:0x2ea},_0x22da53={_0x457dde:0x9,_0x274adb:0x264};function _0x3da182(_0x37e8bd,_0x19ae4f,_0x39b9fa,_0x30cc58){return _0x28bc81(_0x37e8bd-_0x22da53._0x457dde,_0x19ae4f-0x80,_0x19ae4f-_0x22da53._0x274adb,_0x39b9fa);}function _0x4d66f0(_0x55f065,_0x5db37c,_0x542b82,_0x338e66){return _0x28bc81(_0x55f065-_0x4342b3._0x18685c,_0x5db37c-_0x4342b3._0x1636f3,_0x55f065- -_0x4342b3._0x5bbfcb,_0x542b82);}return _0x1a42a1['split']('\x0a')[_0x4d66f0(0x2e7,_0x21b733._0x4b93b1,_0x21b733._0x1e8ea8,0x22e)](_0x3d675b=>{function _0x408d6e(_0x3b0266,_0x2286e3,_0x4753fa,_0x364a51){return _0x4d66f0(_0x3b0266-0x2b7,_0x2286e3-_0x23e0b2._0x2d689c,_0x4753fa,_0x364a51-0x117);}if(!_0x3d675b[_0x3485cb(_0x2b3358._0x3a619d,_0x2b3358._0x3ee9ee,_0x2b3358._0x1cb11a,_0x2b3358._0x351013)]('\x0d'))return _0x3d675b;function _0x3485cb(_0x2258ba,_0x4cf10d,_0x239559,_0x523b03){return _0x4d66f0(_0x4cf10d-_0x364f0f._0x2cbda3,_0x4cf10d-_0x364f0f._0x331ca3,_0x2258ba,_0x523b03-0x1e4);}const _0x331eee=_0x3d675b[_0x3485cb(_0x2b3358._0xf600ce,_0x2b3358._0x33b953,0x343,0x41e)]('\x0d');return _0x331eee[_0x331eee[_0x408d6e(0x516,_0x2b3358._0x21403e,_0x2b3358._0x4e669a,_0x2b3358._0x349d15)]-0x1]??'';})[_0x3da182(_0x21b733._0xe029b3,0x6c1,0x8d9,0x84c)]('\x0a');}function resolveBackspaces(_0x533f3e){const _0x3ace09={_0x38c5b1:0x143,_0x587dbb:0x31f,_0x1c73de:0x1fb,_0x4a6f6b:0x164,_0x314728:0x23c,_0x242074:0x6b,_0x485da2:0x1cd},_0x395f9e={_0x3649f2:0x41,_0x4f3df7:0x9b},_0x8f5b12={_0x5d444e:0x98,_0x157316:0x6ea};function _0x1392fc(_0xe9ae2c,_0x19c482,_0x461684,_0x2d1791){return _0x5b2413(_0xe9ae2c-_0x8f5b12._0x5d444e,_0x19c482-0x99,_0x19c482- -_0x8f5b12._0x157316,_0x461684);}const _0xfcf54d=[];for(const _0x90ad59 of Array[_0x1392fc(-0x1f1,-_0x3ace09._0x38c5b1,-_0x3ace09._0x587dbb,-0x1b8)](_0x533f3e)){_0x90ad59==='\x08'?_0xfcf54d[_0x5a6c30(-_0x3ace09._0x1c73de,-0x9a,-_0x3ace09._0x4a6f6b,-_0x3ace09._0x314728)]():_0xfcf54d[_0x1392fc(0x1c9,_0x3ace09._0x242074,-0x1b8,0x177)](_0x90ad59);}function _0x5a6c30(_0x4fbbf6,_0x3ac6d2,_0x58980d,_0x1acdcc){return _0x5b2413(_0x4fbbf6-_0x395f9e._0x3649f2,_0x3ac6d2-_0x395f9e._0x4f3df7,_0x3ac6d2- -0x62f,_0x1acdcc);}return _0xfcf54d[_0x5a6c30(-0xc,_0x3ace09._0x485da2,0x379,0x392)]('');}function stripAnsiAndControls(_0x150148){const _0xc62652={_0x259c23:0x5bb,_0x486902:0x44,_0x32650c:0x8a,_0x3f71cb:0x161,_0x5dad72:0x3c0,_0x51cfa3:0x37d,_0x45c926:0x72,_0x9d18a:0x2a6,_0x419f92:0xbe,_0x54dacb:0x24b,_0x278c3a:0x48b,_0x36f32:0x40f,_0x240b0b:0x48b,_0x27b1a3:0x67c,_0x2290c8:0x69e},_0x4d4b0b={_0x1f90e6:0x90},_0x3b74f9={_0x421f7e:0x111};_0x150148=resolveCarriageReturns(_0x150148);function _0x44c98d(_0x216aea,_0x2b340c,_0xa291a0,_0x3ec06b){return _0x5b2413(_0x216aea-_0x3b74f9._0x421f7e,_0x2b340c-0x11b,_0xa291a0- -0x579,_0x2b340c);}_0x150148=resolveBackspaces(_0x150148),_0x150148=stripVTControlCharacters(_0x150148);const _0x1ae80a='\x1b',_0x361030='\x07';_0x150148=_0x150148['replace'](new RegExp(_0x44c98d(0x3b0,0x49e,0x3fb,_0xc62652._0x259c23)+_0x361030+_0x44c98d(-_0xc62652._0x486902,-0x29,_0xc62652._0x32650c,-_0xc62652._0x3f71cb)+_0x361030,'g'),'');function _0x50fa45(_0x4a8b97,_0x51a661,_0x21f6a0,_0x5c1f41){return _0x28bc81(_0x4a8b97-0x1bf,_0x51a661-_0x4d4b0b._0x1f90e6,_0x21f6a0- -0xcc,_0x4a8b97);}return _0x150148=_0x150148['replace'](new RegExp(_0x50fa45(_0xc62652._0x5dad72,0x18c,_0xc62652._0x51cfa3,0x43d)+_0x1ae80a+'\x5c\x5c','g'),''),_0x150148=_0x150148['replace'](new RegExp(_0x361030,'g'),''),_0x150148=_0x150148[_0x44c98d(0x423,0x4b0,_0xc62652._0x51cfa3,0x4cd)](new RegExp(_0x1ae80a+_0x44c98d(-_0xc62652._0x45c926,_0xc62652._0x9d18a,_0xc62652._0x419f92,_0xc62652._0x54dacb)+_0x1ae80a+'\x5c\x5c','g'),''),_0x150148=_0x150148[_0x50fa45(0x509,0x5a6,_0xc62652._0x278c3a,_0xc62652._0x36f32)](new RegExp(_0x1ae80a+'[=>7-8()]','g'),''),_0x150148=_0x150148['replace'](/[\u0080-\u009F]/g,''),_0x150148=_0x150148[_0x50fa45(0x271,0x4ad,_0xc62652._0x240b0b,_0xc62652._0x27b1a3)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x150148=_0x150148[_0x50fa45(0x2e5,0x501,0x48b,_0xc62652._0x2290c8)](/[\u23CE\u2424]/g,''),_0x150148;}function killProcessGroup(_0x4f9c5d,_0x9911e9,_0x336010=_0x28bc81(0x60b,0x684,0x566,0x41e)){const _0x5ee301={_0x4ed045:0x3ac,_0x4aef2e:0x2ec,_0x2db3ff:0x435,_0x7b2efd:0x1c6,_0x24e2ad:0x323,_0xfef93c:0x48b,_0x579078:0x71f,_0x5dc646:0x45f,_0x12dfbb:0x7d0,_0x29725b:0x409,_0x2bdbef:0x527,_0x5a3314:0x5f8,_0x37470a:0x500,_0x4bfbc8:0x3a3,_0x2c9d83:0x78a,_0x5ae9cc:0x6a9,_0x1feca5:0x816,_0xdc6d53:0x9dd,_0x262650:0x7f6,_0x178285:0x42d,_0x4b1136:0x577,_0x4276ac:0x3a3},_0x5096d2={_0x1cd12e:0x4f};if(!_0x4f9c5d[_0x3d255c(_0x5ee301._0x4ed045,_0x5ee301._0x4aef2e,_0x5ee301._0x2db3ff,0x4f0)])return;function _0x5356de(_0x5d3736,_0x184b68,_0x488013,_0xf3f3c7){return _0x5b2413(_0x5d3736-0x1da,_0x184b68-0x29,_0xf3f3c7- -0x164,_0x5d3736);}if(_0x9911e9)try{_0x8eb15b(_0x3d255c(_0x5ee301._0x7b2efd,0x1ed,0x4d3,_0x5ee301._0x24e2ad),[_0x5356de(_0x5ee301._0xfef93c,_0x5ee301._0x579078,_0x5ee301._0x5dc646,0x5be),_0x4f9c5d['pid'][_0x5356de(0x719,_0x5ee301._0x12dfbb,_0x5ee301._0x29725b,0x5db)](),'/T','/F'],{'stdio':_0x5356de(0x51d,0x43a,_0x5ee301._0x2bdbef,_0x5ee301._0x5a3314)});return;}catch{_0x4f9c5d[_0x3d255c(0x52d,0x418,_0x5ee301._0x37470a,_0x5ee301._0x4bfbc8)](_0x336010);return;}function _0x3d255c(_0x4ac80d,_0x8fed74,_0x3069fc,_0x2f101a){return _0x28bc81(_0x4ac80d-_0x5096d2._0x1cd12e,_0x8fed74-0x54,_0x2f101a- -0xcb,_0x3069fc);}try{process[_0x5356de(0x6c0,0x78f,_0x5ee301._0x2c9d83,_0x5ee301._0x5ae9cc)](-_0x4f9c5d[_0x5356de(_0x5ee301._0x1feca5,0x71b,_0x5ee301._0xdc6d53,_0x5ee301._0x262650)],_0x336010);}catch{_0x4f9c5d[_0x3d255c(_0x5ee301._0x178285,_0x5ee301._0x4b1136,0x1a9,_0x5ee301._0x4276ac)](_0x336010);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x5b2413(0x8a1,0xa43,0x83e,0x71d)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x2a6e9e,_0x45b98f,_0x253f89){const _0x2ae44e={_0x3c7eba:0x3fa,_0x5808ba:0x4ae,_0x50a94a:0x3d4,_0x43067d:0x58c,_0x3e1cc3:0x188,_0xbcd0c1:0x169,_0x561f67:0x35b,_0x4c781f:0x312,_0x1cec36:0x4f6,_0x15b6fc:0x25a,_0x1ff478:0x325,_0x5dba59:0x3d1};function _0x47c622(_0x479ec2,_0x511b5f,_0x594220,_0x482889){return _0x5b2413(_0x479ec2-0x1e3,_0x511b5f-0x1c3,_0x482889- -0x242,_0x594220);}const _0x2a3fb5={...process['env'],..._0x2a6e9e??{}};function _0x51e033(_0x56d851,_0x21ee8a,_0x9d1e71,_0x6215ee){return _0x5b2413(_0x56d851-0x136,_0x21ee8a-0xc8,_0x56d851- -0x58d,_0x6215ee);}if(_0x16433e['platform']()==='win32'){const _0x11ad35=new Set(_0x45b98f['map'](_0x566a7d=>_0x566a7d[_0x47c622(0x5da,0x52b,0x3e2,0x4d3)]()));for(const _0x2980ea of Object[_0x47c622(_0x2ae44e._0x3c7eba,0x457,_0x2ae44e._0x5808ba,_0x2ae44e._0x50a94a)](_0x2a3fb5)){if(_0x11ad35[_0x47c622(0x5ad,0x3ff,_0x2ae44e._0x43067d,0x468)](_0x2980ea[_0x51e033(_0x2ae44e._0x3e1cc3,0x3ab,_0x2ae44e._0xbcd0c1,0x4c)]()))delete _0x2a3fb5[_0x2980ea];}}else{for(const _0xc9a740 of _0x45b98f)delete _0x2a3fb5[_0xc9a740];if(_0x253f89[_0x51e033(_0x2ae44e._0x561f67,0x384,0x18d,_0x2ae44e._0x4c781f)]>0x0)for(const _0x5d8458 of Object[_0x47c622(_0x2ae44e._0x1cec36,0x513,_0x2ae44e._0x15b6fc,_0x2ae44e._0x50a94a)](_0x2a3fb5)){_0x253f89[_0x51e033(_0x2ae44e._0x1ff478,0x42e,_0x2ae44e._0x5dba59,0x4f6)](_0x59090b=>_0x5d8458[_0x51e033(0xf0,0x8c,-0x12d,-0xe9)](_0x59090b))&&delete _0x2a3fb5[_0x5d8458];}}return _0x2a3fb5;}function mapSpawnError(_0x29b01d,_0x37e995){const _0x125056={_0x35c599:0x769,_0x34321a:0x54a,_0x2f616a:0x6af,_0x3af969:0x857,_0x65b900:0x53a,_0x22c62a:0x381,_0x8fd03:0x6fc,_0x299771:0x7ae,_0x21b187:0x640,_0x42a2ca:0x63f},_0x3859a2={_0x2717cf:0x4,_0x225a3c:0x2cc},_0x3afe79={_0x247182:0x122};function _0xb7ef4(_0x3317de,_0x7b3aa,_0xad2adf,_0x5b99ec){return _0x28bc81(_0x3317de-_0x3afe79._0x247182,_0x7b3aa-0xfe,_0x3317de-0x1d0,_0x7b3aa);}function _0x8f5d3c(_0xe316b5,_0x5ace93,_0x15bb0d,_0x4394c1){return _0x5b2413(_0xe316b5-_0x3859a2._0x2717cf,_0x5ace93-0x6d,_0xe316b5- -_0x3859a2._0x225a3c,_0x15bb0d);}if(isErrnoException2(_0x29b01d)&&_0x29b01d[_0xb7ef4(_0x125056._0x35c599,0x904,_0x125056._0x34321a,0x5e8)]==='ENOENT')return new ToolExecutionError(_0x8f5d3c(_0x125056._0x2f616a,0x873,_0x125056._0x3af969,0x4df)+_0x37e995[_0xb7ef4(_0x125056._0x65b900,0x53e,_0x125056._0x22c62a,_0x125056._0x8fd03)],_0x37e995);return new ToolExecutionError(_0x29b01d instanceof Error?_0x29b01d[_0xb7ef4(_0x125056._0x299771,_0x125056._0x21b187,0x7d2,_0x125056._0x42a2ca)]:String(_0x29b01d),_0x37e995);}function shellExists(_0x323f93){try{const _0x515850=statSync(_0x323f93);return _0x515850['isFile']()&&(_0x515850['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x1585a2){const _0x3298a6={_0x439ae3:0x1c9,_0x1ae81e:0xa5,_0x2a7344:0x11e,_0x1c384d:0x5c,_0x591c0b:0x17c,_0x4d0fab:0x33a,_0x5e0ced:0x621,_0x51f251:0x26,_0x34c7b4:0x242},_0x2bbdda={_0x492682:0x267},_0x4553bf={_0x41eb3e:0x163,_0xbcc0a1:0x693};if(_0x1585a2)return _0x1585a2;if(_0x16433e[_0x2e3ccb(0xd5,_0x3298a6._0x439ae3,0x100,0x2f7)]()==='win32')return process[_0x2e3ccb(-0x26,-0x34,_0x3298a6._0x1ae81e,-_0x3298a6._0x2a7344)]['ComSpec']||'cmd.exe';const _0x3ccb4a=[_0x2e3ccb(_0x3298a6._0x1c384d,0x104,-_0x3298a6._0x591c0b,0x1db),_0x30dc7c(0x2c3,0x3a4,0x45a,0x54e),_0x30dc7c(0x4d1,_0x3298a6._0x4d0fab,0x52a,0x6ac),_0x30dc7c(0x4e5,_0x3298a6._0x5e0ced,0x524,0x36e)];for(const _0x5975ff of _0x3ccb4a){if(shellExists(_0x5975ff))return _0x5975ff;}const _0x2588be=process[_0x2e3ccb(-_0x3298a6._0x51f251,-0x91,-_0x3298a6._0x34c7b4,0x1f0)][_0x2e3ccb(0x221,0x13e,0x1d5,0x2a7)];if(_0x2588be&&shellExists(_0x2588be))return _0x2588be;function _0x2e3ccb(_0x1a39a6,_0x3b47fc,_0x43eca8,_0x294efc){return _0x5b2413(_0x1a39a6-_0x4553bf._0x41eb3e,_0x3b47fc-0xb9,_0x1a39a6- -_0x4553bf._0xbcc0a1,_0x294efc);}function _0x30dc7c(_0x10d863,_0x346698,_0x47fbd3,_0x1c55a2){return _0x28bc81(_0x10d863-0x85,_0x346698-0x1a8,_0x47fbd3-_0x2bbdda._0x492682,_0x10d863);}return'/bin/bash';}function buildShellArgs(_0x477f2a,_0x628830){const _0x3aaae8={_0x10e502:0x767,_0x3b70e4:0x870,_0x5986bd:0x230,_0x257450:0x64f,_0x361ccd:0x3f7,_0x5a78bb:0x2d5,_0x2c3588:0x6cb,_0x2dff5d:0x6ca,_0x3f9b27:0x57f,_0xb78fc9:0x4e1,_0x279b50:0x58b},_0x1061b1={_0x3c9a4a:0x184,_0x2652bd:0x9b,_0x3c09f6:0x30d},_0x742a83={_0xbba4fc:0x1aa,_0x3f9dd0:0x57,_0x54bdc7:0x2ce};function _0x2febc3(_0x36feb4,_0x2584dd,_0x50d57e,_0x6f49b6){return _0x5b2413(_0x36feb4-_0x742a83._0xbba4fc,_0x2584dd-_0x742a83._0x3f9dd0,_0x36feb4- -_0x742a83._0x54bdc7,_0x50d57e);}if(_0x16433e['platform']()===_0x230c45(0x904,0x93b,_0x3aaae8._0x10e502,_0x3aaae8._0x3b70e4)){const _0x1f3f21=/cmd(\.exe)?$/i[_0x2febc3(0x446,0x5ec,_0x3aaae8._0x5986bd,_0x3aaae8._0x257450)](_0x628830);return _0x1f3f21?['/d','/s','/c',_0x477f2a]:[_0x2febc3(_0x3aaae8._0x361ccd,0x1fc,0x355,_0x3aaae8._0x5a78bb),_0x2febc3(_0x3aaae8._0x2c3588,_0x3aaae8._0x2dff5d,0x668,_0x3aaae8._0x3f9b27),_0x230c45(_0x3aaae8._0xb78fc9,0x651,_0x3aaae8._0x279b50,0x491),_0x477f2a];}function _0x230c45(_0x11a3d4,_0x54eeb2,_0x52b050,_0x5cb987){return _0x28bc81(_0x11a3d4-_0x1061b1._0x3c9a4a,_0x54eeb2-_0x1061b1._0x2652bd,_0x52b050-_0x1061b1._0x3c09f6,_0x5cb987);}return['-c',_0x477f2a];}function resolveWorkingDirectory(_0x54101e,_0x582b18,_0x452899){const _0x39e2be={_0x30872a:0x1f0,_0x393adb:0xac,_0x230efa:0x2a9,_0x44889e:0x3fd,_0x59f6a9:0x25b,_0x3e7c89:0x23f,_0x2c5cf1:0x1c5},_0x21e885={_0x2097af:0x9f,_0x260359:0x38,_0x20faa2:0x4e8,_0x1ebfc6:0x65e},_0x1c3065={_0x3dd80c:0x376};function _0x4fbec2(_0x386052,_0x28a1a2,_0x107645,_0x1680a7){return _0x28bc81(_0x386052-0x195,_0x28a1a2-0x19c,_0x1680a7- -_0x1c3065._0x3dd80c,_0x386052);}const _0x487f5e=resolveAllowedPath(_0x582b18,_0x452899,_0x54101e??'.');function _0x422948(_0x1d4b5c,_0x570ec4,_0x4e0009,_0x1cfbdd){return _0x28bc81(_0x1d4b5c-0x12d,_0x570ec4-0xc2,_0x1d4b5c- -0x198,_0x4e0009);}try{const _0x566ed9=statSync(_0x487f5e);if(!_0x566ed9[_0x422948(_0x39e2be._0x30872a,0x1ee,_0x39e2be._0x393adb,_0x39e2be._0x230efa)]())throw new ToolExecutionError(_0x422948(0x262,0x36b,0x45d,0x13a)+_0x487f5e,{'cwd':_0x487f5e});const _0x133650=realpathSync(_0x487f5e),_0x5d62da=realpathSync(_0x582b18),_0x485ec5=_0x452899[_0x4fbec2(_0x39e2be._0x44889e,0x2a4,0xc9,_0x39e2be._0x59f6a9)](_0x5c05b1=>{const _0x2398a1={_0x341aa6:0x134};function _0x29cb30(_0x4abffe,_0x3a8182,_0x3ae7e3,_0x4c6fa3){return _0x422948(_0x3ae7e3-0x59c,_0x3a8182-0x13a,_0x4abffe,_0x4c6fa3-_0x2398a1._0x341aa6);}function _0x4c6d57(_0x39033b,_0xca2c06,_0xb3a04f,_0x51b1d8){return _0x422948(_0xca2c06- -0xfa,_0xca2c06-0x59,_0xb3a04f,_0x51b1d8-0xed);}try{return realpathSync(_0x4b8ae0[_0x4c6d57(-_0x21e885._0x2097af,-_0x21e885._0x260359,-0xd1,-0x1bb)](_0x5c05b1));}catch{return _0x4b8ae0[_0x29cb30(_0x21e885._0x20faa2,0x6db,_0x21e885._0x1ebfc6,0x54b)](_0x5c05b1);}});return resolveAllowedPath(_0x5d62da,_0x485ec5,_0x133650);}catch(_0x84e6bc){if(_0x84e6bc instanceof ToolExecutionError)throw _0x84e6bc;throw new ToolExecutionError(_0x4fbec2(_0x39e2be._0x3e7c89,_0x39e2be._0x2c5cf1,0x1b5,0x85)+_0x487f5e,{'cwd':_0x487f5e});}}function resolveBashExecutionTarget(_0xd5ffeb,_0xd431a0={}){const _0xcdeeb1={_0x4ae0f3:0x2f0,_0x3b2c97:0x223,_0x56350d:0x3e1,_0x2e346e:0x533,_0x1b5594:0x6b7,_0x1c1772:0x4cd,_0x468553:0x40e,_0x1b4b14:0x739,_0x12640a:0x55b,_0x322917:0x348,_0x2d7959:0x79a,_0x11815c:0x4f5,_0x45f5c0:0x678},_0x98fc1d={_0x2bb82b:0x161,_0x1fa407:0xe5},_0x4e9457={_0x2f232f:0x6f,_0x193a8c:0x16a,_0x2bbbdd:0x4d},_0x56f7b7=_0x4b8ae0['resolve'](_0xd431a0[_0x38e035(_0xcdeeb1._0x4ae0f3,_0xcdeeb1._0x3b2c97,_0xcdeeb1._0x56350d,_0xcdeeb1._0x2e346e)]??process[_0x2aca74(0x4e5,_0xcdeeb1._0x1b5594,0x5b9,_0xcdeeb1._0x1c1772)]());function _0x2aca74(_0x85d071,_0x133ac2,_0xbc1310,_0x5d0c27){return _0x28bc81(_0x85d071-_0x4e9457._0x2f232f,_0x133ac2-_0x4e9457._0x193a8c,_0xbc1310- -_0x4e9457._0x2bbbdd,_0x85d071);}const _0x37e227=resolveDefaultShell(_0xd431a0[_0x38e035(0x4b0,_0xcdeeb1._0x468553,0x44f,0x65f)]);function _0x38e035(_0x513f3b,_0x162e17,_0x4a5402,_0x4cb14f){return _0x28bc81(_0x513f3b-_0x98fc1d._0x2bb82b,_0x162e17-0x14b,_0x4a5402-_0x98fc1d._0x1fa407,_0x4cb14f);}return{'command':_0xd5ffeb[_0x2aca74(0x475,_0xcdeeb1._0x1b4b14,_0xcdeeb1._0x12640a,_0xcdeeb1._0x322917)],'cwd':resolveWorkingDirectory(_0xd5ffeb[_0x2aca74(0x6ed,_0xcdeeb1._0x2d7959,0x5b9,0x486)],_0x56f7b7,_0xd431a0[_0x38e035(0x37a,_0xcdeeb1._0x11815c,0x463,_0xcdeeb1._0x45f5c0)]??[]),'shellPath':_0x37e227,'dialect':resolveShellDialect(_0x37e227),'background':_0xd5ffeb['runInBackground']??![]};}function resolveShellDialect(_0xce11af){const _0x2c3bc7={_0x621a90:0x3d1,_0x20a6df:0x348,_0x7d528e:0x226,_0x1f8b50:0x464,_0x2e9be1:0x3d8,_0x49d173:0x458,_0x6a253d:0x675,_0x3d53b0:0x535,_0x1a0b5d:0x52a,_0x40254f:0x591,_0x560356:0x358,_0x229743:0x4fd},_0x39c14a={_0x4bc6b7:0x147};if(_0x16433e[_0x5a692c(0x3af,0x525,0x4af,0x287)]()==='win32')return'windows';const _0x42a9db=_0x4b8ae0[_0x275771(0x1ba,0x328,_0x2c3bc7._0x621a90,_0x2c3bc7._0x20a6df)](_0xce11af)[_0x275771(_0x2c3bc7._0x7d528e,_0x2c3bc7._0x1f8b50,0x3c2,_0x2c3bc7._0x2e9be1)]();function _0x275771(_0x16ea17,_0x48878c,_0x4d7722,_0x2ae54c){return _0x5b2413(_0x16ea17-0x67,_0x48878c-0x16b,_0x4d7722- -0x353,_0x2ae54c);}if(_0x42a9db===_0x5a692c(0x461,0x66d,_0x2c3bc7._0x49d173,_0x2c3bc7._0x6a253d))return _0x275771(0x4f9,0x5e4,0x4c7,_0x2c3bc7._0x3d53b0);function _0x5a692c(_0x45f553,_0x489a2f,_0x560555,_0x2894a8){return _0x28bc81(_0x45f553-0x1e5,_0x489a2f-_0x39c14a._0x4bc6b7,_0x45f553- -0x1a,_0x489a2f);}if(_0x42a9db==='sh'||_0x42a9db===_0x5a692c(0x3a6,0x23e,_0x2c3bc7._0x1a0b5d,_0x2c3bc7._0x40254f))return'posix';return _0x5a692c(_0x2c3bc7._0x560356,_0x2c3bc7._0x229743,0x263,0x4c5);}function emitChunk(_0xed6683,_0x2573ba,_0x3cebb4,_0xaf1d7e){const _0x3077f9={_0x79f69e:0x2ea},_0x344f3a={_0x1c7141:0x11e,_0x4730a1:0x46b},_0x2eaf60={_0x5d3224:0x1bb};function _0x3816b6(_0x7cdaa8,_0xde55ec,_0x4f8329,_0x8c1d1c){return _0x28bc81(_0x7cdaa8-_0x2eaf60._0x5d3224,_0xde55ec-0xd1,_0xde55ec-0x82,_0x7cdaa8);}_0xed6683[_0x4f5c05(0x3db,0x11e,0x4d1,_0x3077f9._0x79f69e)](_0x3cebb4);function _0x4f5c05(_0x1c6e2b,_0x442c87,_0x19d8d5,_0x50b05d){return _0x5b2413(_0x1c6e2b-0x1e,_0x442c87-_0x344f3a._0x1c7141,_0x50b05d- -_0x344f3a._0x4730a1,_0x19d8d5);}_0x2573ba[_0x3816b6(0x441,0x438,0x4da,0x218)](_0x3cebb4),_0xaf1d7e();}function appendChunk(_0x5699d9,_0x2c7fbf,_0x2b3a18,_0x18eb60,_0x3f83ef,_0x390a4d){const _0x39b1f8={_0x2c328f:0x38d,_0x5b0fde:0x413,_0x4b16fa:0x54b,_0x395c23:0x3,_0x5daec4:0xa6,_0x5d2eaf:0xf9,_0x29062a:0x510,_0x2badd4:0x3f4,_0x25d8b2:0x523,_0xfd4fb2:0x161,_0x544fea:0x319,_0x4cc86e:0x235,_0x4b3202:0x33e,_0x2177be:0x1aa,_0x43de93:0x52,_0x359c9e:0x64,_0x3298bd:0x148,_0x58b290:0x5b7,_0x476182:0x6e9,_0xf9ae9d:0x368,_0x1f31e9:0x537,_0x2308ab:0x339,_0x4524da:0x338,_0x293cb7:0x6e3,_0x4595b3:0x697,_0x3191d1:0x4ca,_0x3d9270:0x3b,_0x228ab1:0xd,_0x45b6b7:0x239,_0x414ab7:0x3e0,_0xb94d9b:0x38d,_0x883dd7:0x224,_0x236c6e:0x477,_0x34493f:0x409,_0x19e4b3:0x1fa,_0xca0d7b:0x111,_0x4a14b2:0x134,_0x3bfcba:0x5cf,_0x24b23b:0x6d3},_0x5db367={_0xa67496:0x162,_0x2b40cb:0x10d,_0x221ea9:0x15a},_0x177fb5={_0x17f9bd:0x10b,_0x2e617a:0xc0},_0x3e95ad=_0x18eb60?stripAnsiAndControls(_0x2b3a18):_0x2b3a18;if(_0x3e95ad[_0x14648e(0x54e,_0x39b1f8._0x2c328f,_0x39b1f8._0x5b0fde,_0x39b1f8._0x4b16fa)]===0x0)return;if(!_0x390a4d){emitChunk(_0x5699d9,_0x2c7fbf,_0x3e95ad,_0x3f83ef);return;}function _0x14648e(_0x567f80,_0x589744,_0x5af5cc,_0x3922f7){return _0x5b2413(_0x567f80-_0x177fb5._0x17f9bd,_0x589744-_0x177fb5._0x2e617a,_0x589744- -0x55b,_0x567f80);}let _0x3c4d71=0x0,_0x4b0ed9=_0x3e95ad[_0x14648e(-_0x39b1f8._0x395c23,_0x39b1f8._0x5daec4,_0x39b1f8._0x5d2eaf,0x237)]('\x0a');while(_0x4b0ed9>=0x0){_0x390a4d['trailingChunks'][_0x54f02a(_0x39b1f8._0x29062a,0x657,_0x39b1f8._0x2badd4,_0x39b1f8._0x25d8b2)](_0x3e95ad[_0x14648e(_0x39b1f8._0xfd4fb2,_0x39b1f8._0x544fea,_0x39b1f8._0x4cc86e,_0x39b1f8._0x4b3202)](_0x3c4d71,_0x4b0ed9));const _0x3c915e=_0x390a4d[_0x14648e(_0x39b1f8._0x2177be,_0x39b1f8._0x43de93,_0x39b1f8._0x359c9e,-_0x39b1f8._0x3298bd)][_0x54f02a(_0x39b1f8._0x58b290,0x7b0,_0x39b1f8._0x476182,0x4bc)]('');_0x390a4d[_0x54f02a(_0x39b1f8._0xf9ae9d,_0x39b1f8._0x1f31e9,0x2eb,_0x39b1f8._0x2308ab)][_0x14648e(0x499,_0x39b1f8._0x2c328f,0x59e,_0x39b1f8._0x4524da)]=0x0,_0x390a4d[_0x54f02a(_0x39b1f8._0x293cb7,0x60d,_0x39b1f8._0x4595b3,_0x39b1f8._0x3191d1)][_0x14648e(0x49,0x1b9,-_0x39b1f8._0x3d9270,-_0x39b1f8._0x228ab1)](_0x3c915e)&&emitChunk(_0x5699d9,_0x2c7fbf,_0x3c915e+'\x0a',_0x3f83ef),_0x3c4d71=_0x4b0ed9+0x1,_0x4b0ed9=_0x3e95ad[_0x54f02a(0x3bc,_0x39b1f8._0x45b6b7,0x507,_0x39b1f8._0x414ab7)]('\x0a',_0x3c4d71);}function _0x54f02a(_0x50e7fb,_0x466b07,_0xc5df31,_0x27d236){return _0x28bc81(_0x50e7fb-_0x5db367._0xa67496,_0x466b07-_0x5db367._0x2b40cb,_0x50e7fb-_0x5db367._0x221ea9,_0x27d236);}_0x3c4d71<_0x3e95ad[_0x14648e(0x58f,_0x39b1f8._0xb94d9b,_0x39b1f8._0x883dd7,0x379)]&&_0x390a4d[_0x54f02a(0x368,_0x39b1f8._0x236c6e,0x15a,_0x39b1f8._0x34493f)][_0x14648e(0x97,_0x39b1f8._0x19e4b3,_0x39b1f8._0xca0d7b,_0x39b1f8._0x4a14b2)](_0x3e95ad[_0x54f02a(0x62f,_0x39b1f8._0x3bfcba,_0x39b1f8._0x24b23b,0x764)](_0x3c4d71));}function flushOutputRegex(_0x1aeb32,_0x3c7290,_0x13cccb,_0x1175d2){const _0x3416ad={_0x81b9e8:0xa7,_0x46402a:0x3f,_0x51f9c9:0x5b6,_0x17f774:0x3e2,_0x18c8f7:0x31e,_0x1377d6:0x12b,_0x1157c9:0x7fa,_0x5909d7:0x8dc,_0x5089cd:0x6bf,_0x13d40b:0x415,_0x4e557f:0x53d,_0x4e32ac:0x470,_0x558587:0x5e1,_0x59ba34:0x39a,_0x55b512:0x3e2,_0x2643cd:0x577},_0x51c083={_0xd3eee:0x167},_0x316f46={_0x55a76c:0x136};function _0x327c6e(_0x145a37,_0x459f5b,_0x2c5f7f,_0x35ab0e){return _0x5b2413(_0x145a37-_0x316f46._0x55a76c,_0x459f5b-0xee,_0x35ab0e- -0x13d,_0x459f5b);}if(!_0x13cccb||_0x13cccb[_0x284f18(0x146,0x1c0,_0x3416ad._0x81b9e8,_0x3416ad._0x46402a)][_0x284f18(0x451,_0x3416ad._0x51f9c9,_0x3416ad._0x17f774,_0x3416ad._0x18c8f7)]===0x0)return;const _0x214997=_0x13cccb[_0x284f18(-0x43,-0xf4,0xa7,-_0x3416ad._0x1377d6)][_0x327c6e(_0x3416ad._0x1157c9,_0x3416ad._0x5909d7,0x883,_0x3416ad._0x5089cd)]('');function _0x284f18(_0x3ad9d5,_0x23b690,_0x4ccdeb,_0x43a225){return _0x28bc81(_0x3ad9d5-0x1c9,_0x23b690-0x17a,_0x4ccdeb- -_0x51c083._0xd3eee,_0x3ad9d5);}_0x13cccb[_0x327c6e(0x44c,_0x3416ad._0x13d40b,_0x3416ad._0x4e557f,_0x3416ad._0x4e32ac)][_0x284f18(_0x3416ad._0x558587,_0x3416ad._0x59ba34,_0x3416ad._0x55b512,0x437)]=0x0,_0x13cccb[_0x284f18(_0x3416ad._0x2643cd,0x49e,0x422,0x269)]['test'](_0x214997)&&emitChunk(_0x1aeb32,_0x3c7290,_0x214997,_0x1175d2);}function createBashTool(_0x514699={}){const _0xd2a129={_0x34523d:0x4c8,_0x474c74:0x473,_0xce5740:0x4fd,_0x1711df:0x363,_0x52089b:0x5a1,_0x195ec3:0x36e,_0x154b29:0x275,_0x2b15de:0x205,_0x4188c0:0x1ca,_0x2f988a:0x388,_0x95a9f2:0x79f,_0x5d66aa:0x686,_0x3a3edc:0x591,_0x5025d0:0x4f4,_0x4bdb9f:0xde,_0x2df50f:0x172,_0x2322ac:0x6,_0x34532b:0x132,_0x3a59d1:0x455,_0x294ebe:0x348,_0x5f2ad1:0x72c,_0xf3fed7:0x3fc,_0x4a98e4:0x273,_0x48a03d:0x244,_0x5306e1:0x41c,_0x54a06f:0x314,_0x223a20:0x2f2,_0x34ee51:0x16f,_0x49f055:0x3c5,_0x322006:0x5a2,_0x1c1775:0xfa,_0x15eaa9:0x2c6,_0x3a26b4:0x6d0,_0x4b1396:0x5ee,_0x44549f:0x5a2,_0x3cfd5c:0x5b6},_0x1fe39f={_0x586a1a:0x49b,_0xda070c:0x532,_0x749f3e:0x37f,_0x2fe29f:0x2bb,_0x144c82:0x46a,_0x4e1e9d:0x43d,_0x23c7b6:0x3c1,_0x6426d0:0x21,_0x19f6a3:0x111,_0x17dc5b:0x3e3,_0x40b141:0x2b1,_0x4dc79e:0x161,_0x5c3d8c:0xdc,_0x3e3fa8:0x382,_0x4c5cc8:0x247,_0x426291:0x35c,_0x2e3e7f:0x2cb,_0x158981:0x3b4,_0x33af4f:0x55a,_0x4076e5:0x298,_0x23c975:0x318,_0x8f63fe:0x4cc,_0x460cc7:0x541,_0x4a5ca4:0x33a,_0x2d7308:0x418,_0x27b6bf:0x9,_0x48568d:0x45,_0x1b2705:0x3,_0x368c9c:0x268,_0x5649f1:0x165,_0xea3d9d:0x24,_0x4edbff:0x75,_0x31dd72:0x27d,_0x23274a:0x9a,_0x4807d7:0x6c,_0x3ccaba:0xed,_0x147f8a:0x479,_0x1e0309:0x1f4,_0x4fe16e:0x1ca,_0x1748dc:0x2c2,_0x4e5d30:0x170,_0x2f70a9:0x1bc,_0x4912bf:0x3bd,_0x1f4a71:0x2f6,_0x2bd355:0x3b5,_0x53f206:0xe5,_0x3cfe54:0x130,_0x596eee:0x353,_0x437954:0x3b0,_0x2c802f:0x3a3,_0x5ddc96:0x498,_0x2a6b8f:0x1b5,_0x207e21:0x2d8,_0xb35914:0x655,_0x45adbd:0x466,_0x46d591:0x4b6,_0x394962:0x29a,_0x1dd076:0x258,_0xcc462f:0x39e,_0x487389:0x565,_0x526d85:0x2d7,_0x52cf37:0x60d,_0x29f3f7:0x3ce,_0x1badf6:0x228,_0x56a2c5:0x61e,_0x57af61:0x441,_0x1ff4e9:0x63,_0x24a1a3:0x33b,_0x4c65c7:0x433,_0x4377d6:0x27b,_0xeb602a:0x2,_0x1e369e:0xbc,_0x1ea954:0x12c,_0x502f5f:0x2a6,_0x3e21b8:0x8c,_0x197c78:0x17,_0x1e243b:0x20,_0x4d14a5:0x4fc,_0x75fcc6:0x466,_0x2a1549:0x16c,_0x20b73c:0x11,_0x284de7:0xe4,_0x2c23bc:0x191,_0x1ded7e:0x27,_0x28431d:0x137,_0xde0320:0x4ff,_0x7fe053:0x5ad,_0x3fdfb8:0x3cd,_0x563e10:0x297,_0x1606dc:0x30c,_0x5d3b15:0x263,_0x100310:0x9f,_0x178cf5:0x37b,_0x1de525:0x158,_0x42c66d:0x293,_0x5c7f47:0x504,_0x290cfe:0x2e1,_0x559cf0:0x168,_0x5527e9:0x17c,_0x3755ec:0x53f,_0x1bbd0b:0x398,_0x2cd45c:0x521,_0x5813d2:0x474,_0x2c1f0e:0x370,_0x138d18:0x482,_0x264129:0x660,_0x2ece3b:0x5e1,_0xe3b8dc:0x3c0,_0x6986a5:0x3f7,_0x3260af:0xae,_0x4f3aa6:0x28b,_0x21ef92:0x267,_0x3925ac:0xde,_0x1cb88c:0x24b,_0x5c7c74:0x4d8,_0x5b02f5:0x6a2,_0x1a36a2:0x443,_0x152809:0x605,_0x5377aa:0x1fe,_0x254cc6:0x550,_0x42a117:0x410,_0x260971:0x2a7,_0x391c22:0x372,_0x12375e:0xd6,_0x24ae93:0x29f,_0x14124e:0x1b4,_0x2b19be:0x370,_0x4ea716:0x2af,_0x2ee713:0x54,_0x1465bf:0x79,_0x542505:0x402,_0x5ad2aa:0x4b2,_0x206080:0x2d},_0x560792={_0x542636:0x4f9,_0x49027f:0x5be},_0x29ef9e={_0x3dfd1f:0x189},_0x43d1f3={_0x24b8a0:0x1a7},_0xb86566=_0x4b8ae0[_0x44c91d(0x480,_0xd2a129._0x34523d,_0xd2a129._0x474c74,0x2d8)](_0x514699['defaultCwd']??process[_0x32d096(0x610,_0xd2a129._0xce5740,_0xd2a129._0x1711df,_0xd2a129._0x52089b)]()),_0x1a5076=_0x514699[_0x32d096(_0xd2a129._0x195ec3,_0xd2a129._0x154b29,_0xd2a129._0x2b15de,0xd4)]??[],_0x34ce05=_0x514699[_0x32d096(0x2a9,_0xd2a129._0x4188c0,_0xd2a129._0x2f988a,0x248)]??DEFAULT_TIMEOUT_MS,_0x20effb=_0x514699[_0x44c91d(0x818,0x695,_0xd2a129._0x95a9f2,_0xd2a129._0x5d66aa)]??!![],_0xae02e8=_0x514699[_0x44c91d(0x47e,_0xd2a129._0x3a3edc,0x4d0,_0xd2a129._0x5025d0)]??'Bash';function _0x44c91d(_0x44afd1,_0x531169,_0x5835b2,_0x4aa4cf){return _0x5b2413(_0x44afd1-0x47,_0x531169-_0x43d1f3._0x24b8a0,_0x4aa4cf- -0x321,_0x531169);}const _0x2c9b02=_0x514699[_0x32d096(_0xd2a129._0x4bdb9f,_0xd2a129._0x2df50f,0xb5,-_0xd2a129._0x2322ac)]??[],_0x211e60=_0x514699['scrubEnvPrefixes']??[];function _0x32d096(_0x24c26e,_0x214eac,_0x32c121,_0x487c9d){return _0x5b2413(_0x24c26e-0x3a,_0x214eac-_0x29ef9e._0x3dfd1f,_0x214eac- -0x4a8,_0x487c9d);}const _0x844a43=_0x514699[_0x44c91d(0x539,_0xd2a129._0x34532b,_0xd2a129._0x3a59d1,_0xd2a129._0x294ebe)];return defineTool({'name':_0xae02e8,'permissionClass':'always-confirm','description':_0x514699[_0x44c91d(0x3ed,_0xd2a129._0x5f2ad1,_0xd2a129._0xf3fed7,0x580)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x32d096(0x178,0x15c,_0xd2a129._0x4a98e4,0x12e),'properties':{'command':{'type':_0x32d096(0x299,0x18d,0x25c,0xec)},'description':{'type':_0x44c91d(_0xd2a129._0x48a03d,0x418,0x2d3,0x314),'description':_0x44c91d(0xb7,0x431,0x99,0x2b9)},'cwd':{'type':_0x44c91d(_0xd2a129._0xce5740,0x2cb,_0xd2a129._0x5306e1,_0xd2a129._0x54a06f)},'timeoutMs':{'type':_0x32d096(_0xd2a129._0x223a20,0x317,_0xd2a129._0x34ee51,0x224)},'ignoreOutput':{'type':_0x44c91d(0x4fe,0x690,_0xd2a129._0x49f055,_0xd2a129._0x322006)},'outputRegex':{'type':'string','description':_0x44c91d(0x15d,0x2e4,_0xd2a129._0x1c1775,_0xd2a129._0x15eaa9)},'runInBackground':{'type':_0x44c91d(0x46c,_0xd2a129._0x3a26b4,_0xd2a129._0x4b1396,_0xd2a129._0x44549f)}},'required':['command',_0x44c91d(0x6dc,0x642,_0xd2a129._0x3cfd5c,0x580)]},async *'execute'(_0x3eb2b3,_0x150e22){const _0x150190={_0x3ed01d:0x51c,_0x5354c8:0x703,_0x2f9b0c:0x433,_0x6a5838:0x4c4,_0x1fc20f:0x3ad,_0x2d5265:0x2d5,_0x507828:0x4ab,_0xb304bf:0x360},_0x44eaa8={_0x3c4e2c:0x23d},_0x1030f8={_0x13a9ee:0x385,_0x40adc5:0x52a,_0x13a01a:0x4a9,_0x43bd96:0x32c},_0x1d73ad={_0x20ecc3:0x521,_0x15d544:0x48},_0x46eed5={_0x1d8abd:0xd5,_0x7fe78f:0x101,_0x1cd703:0x139,_0x1dd2c6:0x2da,_0x3a2d35:0xde},_0x29a4b8={_0x515f7d:0x7c8,_0x38d315:0x438},_0x4dd799={_0x5714bc:0x39,_0x3d57da:0x194},_0x6e9e6={_0x235cac:0xa12,_0x175c7c:0xa76},_0x1f2aaa=_0x3eb2b3[_0x2cea86(_0x1fe39f._0x586a1a,_0x1fe39f._0xda070c,0x3cd,_0x1fe39f._0x749f3e)]??_0x34ce05;if(!Number[_0x2cea86(_0x1fe39f._0x2fe29f,_0x1fe39f._0x144c82,_0x1fe39f._0x4e1e9d,_0x1fe39f._0x23c7b6)](_0x1f2aaa)||_0x1f2aaa<0x1)throw new ToolExecutionError(_0x2cea86(_0x1fe39f._0x6426d0,_0x1fe39f._0x19f6a3,_0x1fe39f._0x17dc5b,0x1d5),{'command':_0x3eb2b3['command']});throwIfAborted(_0x150e22[_0x49cfd6(_0x1fe39f._0x40b141,0x165,0x16c,_0x1fe39f._0x4dc79e)]);const _0x50539c=_0x3eb2b3[_0x2cea86(_0x1fe39f._0x5c3d8c,-0x79,_0x1fe39f._0x3e3fa8,0x162)]??![],_0x42eb36=resolveBashExecutionTarget(_0x3eb2b3,{'defaultCwd':_0xb86566,'allowedDirs':_0x1a5076,'shellPath':_0x514699[_0x2cea86(_0x1fe39f._0x4c5cc8,_0x1fe39f._0x426291,_0x1fe39f._0x2e3e7f,0x228)]}),{cwd:_0x42b221,shellPath:_0x52fe81}=_0x42eb36,_0x1eae66=buildShellArgs(_0x3eb2b3[_0x2cea86(_0x1fe39f._0x158981,_0x1fe39f._0x33af4f,0x27e,0x466)],_0x52fe81),_0x5bd083=_0x16433e[_0x49cfd6(0x46,0x161,0x1d2,0x377)]()===_0x2cea86(0x2f5,0x358,_0x1fe39f._0x4076e5,_0x1fe39f._0x23c975);function _0x49cfd6(_0x3498d9,_0x402bd8,_0x5b578a,_0x3b29b3){return _0x32d096(_0x3498d9-0x166,_0x402bd8- -0x15f,_0x5b578a-0x35,_0x3498d9);}const _0x57de96=buildChildEnv(_0x514699[_0x49cfd6(-0xbb,0x66,0x285,0x16e)],_0x2c9b02,_0x211e60);if(_0x3eb2b3[_0x2cea86(_0x1fe39f._0x8f63fe,0x12c,_0x1fe39f._0x460cc7,_0x1fe39f._0x4a5ca4)]){if(!_0x844a43)throw new ToolExecutionError(_0x2cea86(_0x1fe39f._0x2d7308,0x3a2,0x3d7,0x37d),{'command':_0x3eb2b3['command']});throwIfAborted(_0x150e22['signal']),await _0x514699[_0x49cfd6(-0x8d,-_0x1fe39f._0x27b6bf,_0x1fe39f._0x48568d,-0x22c)]?.(_0x42eb36,_0x150e22[_0x49cfd6(0x173,0x1c0,_0x1fe39f._0x1b2705,_0x1fe39f._0x368c9c)],_0x150e22),throwIfAborted(_0x150e22[_0x49cfd6(0x49,_0x1fe39f._0x5649f1,0x33e,_0x1fe39f._0xea3d9d)]);const _0x3b15de=_0x844a43[_0x49cfd6(0x246,0xf0,0x2ae,_0x1fe39f._0x4edbff)]();let _0x2f8a01;try{_0x2f8a01=_0x56d76b(_0x52fe81,_0x1eae66,{'cwd':_0x42b221,'env':_0x57de96,'stdio':['ignore',_0x49cfd6(-0x20b,-0x9a,-0x1a8,-0x14e),_0x49cfd6(-_0x1fe39f._0x31dd72,-_0x1fe39f._0x23274a,_0x1fe39f._0x4807d7,_0x1fe39f._0x3ccaba)],'shell':![],'windowsHide':!![],'detached':!_0x5bd083});}catch(_0x21caa3){_0x844a43['release'](_0x3b15de);throw mapSpawnError(_0x21caa3,{'command':_0x3eb2b3['command'],'cwd':_0x42b221,'shellPath':_0x52fe81});}let _0x5d2531;try{_0x5d2531=_0x844a43['attach'](_0x3b15de,{'child':_0x2f8a01,'command':_0x3eb2b3['command'],'cwd':_0x42b221,'stripAnsi':_0x20effb,...!_0x5bd083&&_0x2f8a01['pid']!==void 0x0?{'processGroupId':_0x2f8a01[_0x2cea86(0x409,0x481,0x596,_0x1fe39f._0x147f8a)]}:{}});}catch(_0x2fbfeb){_0x844a43[_0x49cfd6(_0x1fe39f._0x1e0309,0x2d7,_0x1fe39f._0x4c5cc8,_0x1fe39f._0x4fe16e)](_0x3b15de),_0x2f8a01['once'](_0x49cfd6(_0x1fe39f._0x1748dc,_0x1fe39f._0x4e5d30,0xba,_0x1fe39f._0x2f70a9),()=>{});try{killProcessGroup(_0x2f8a01,_0x5bd083);}catch{}throw _0x2fbfeb;}return createToolOutput(_0x2cea86(0x1c6,_0x1fe39f._0x4912bf,_0x1fe39f._0x1f4a71,_0x1fe39f._0x2bd355)+_0x5d2531['shellId']+_0x49cfd6(-0x112,_0x1fe39f._0x53f206,-_0x1fe39f._0x3cfe54,0x30)+(_0x5d2531[_0x49cfd6(0x4b4,_0x1fe39f._0x596eee,_0x1fe39f._0x437954,0x1d0)]??'?')+_0x2cea86(_0x1fe39f._0x2c802f,0x671,0x66a,_0x1fe39f._0x5ddc96),{'shellId':_0x5d2531[_0x2cea86(_0x1fe39f._0x2a6b8f,0x3bc,0x397,_0x1fe39f._0x207e21)],'status':_0x5d2531['status'],'command':_0x5d2531[_0x2cea86(0x670,_0x1fe39f._0xb35914,0x50f,_0x1fe39f._0x45adbd)],'description':_0x3eb2b3[_0x49cfd6(_0x1fe39f._0x46d591,_0x1fe39f._0x394962,_0x1fe39f._0x1dd076,0x45b)],'cwd':_0x5d2531[_0x49cfd6(0x1b4,_0x1fe39f._0xcc462f,_0x1fe39f._0x487389,0x293)],'pid':_0x5d2531[_0x2cea86(_0x1fe39f._0x526d85,_0x1fe39f._0x52cf37,_0x1fe39f._0x29f3f7,0x479)]??null});}let _0x42a5d1,_0x1e8ebc;if(_0x3eb2b3['outputRegex']!==void 0x0)try{const _0x427633=new RegExp(_0x3eb2b3[_0x49cfd6(_0x1fe39f._0x1badf6,0x267,0x3b0,0x2ce)]);_0x42a5d1={'regex':_0x427633,'trailingChunks':[]},_0x1e8ebc={'regex':_0x427633,'trailingChunks':[]};}catch(_0x520a7b){throw new ToolExecutionError('Invalid\x20outputRegex:\x20'+(_0x520a7b instanceof Error?_0x520a7b[_0x2cea86(_0x1fe39f._0x56a2c5,_0x1fe39f._0x57af61,0x686,0x49c)]:String(_0x520a7b)),{'command':_0x3eb2b3['command'],'outputRegex':_0x3eb2b3['outputRegex']});}await _0x514699[_0x49cfd6(-0x150,-0x9,0x109,-_0x1fe39f._0x1ff4e9)]?.(_0x42eb36,_0x150e22['executionAuthorization'],_0x150e22),throwIfAborted(_0x150e22['signal']);let _0xeb4b94;try{_0xeb4b94=_0x56d76b(_0x52fe81,_0x1eae66,{'cwd':_0x42b221,'env':_0x57de96,'stdio':_0x50539c?[_0x2cea86(_0x1fe39f._0x24a1a3,0x23e,_0x1fe39f._0x4c65c7,0x27b),'ignore',_0x2cea86(0xa3,0x3ba,0x482,_0x1fe39f._0x4377d6)]:[_0x49cfd6(0x306,0x155,-_0x1fe39f._0xeb602a,0x2dd),_0x2cea86(_0x1fe39f._0x1e369e,_0x1fe39f._0x1ea954,_0x1fe39f._0x502f5f,_0x1fe39f._0x3e21b8),_0x2cea86(_0x1fe39f._0x197c78,_0x1fe39f._0x1e243b,0x3e,0x8c)],'shell':![],'windowsHide':!![],'detached':!_0x5bd083});}catch(_0x1150ad){throw mapSpawnError(_0x1150ad,{'command':_0x3eb2b3[_0x2cea86(0x4af,_0x1fe39f._0x4d14a5,0x309,_0x1fe39f._0x75fcc6)],'cwd':_0x42b221,'shellPath':_0x52fe81});}const _0x1c476e=[],_0x52a154=[],_0x169c30=new _0x2d4ce9(_0x49cfd6(-_0x1fe39f._0x2a1549,_0x1fe39f._0x20b73c,-0x34,-_0x1fe39f._0x284de7)),_0x2333eb=new _0x2d4ce9(_0x2cea86(_0x1fe39f._0x2c23bc,0x1f7,_0x1fe39f._0x1ded7e,_0x1fe39f._0x28431d));let _0x1044fc,_0xb9a51=![],_0x12e753;const _0x3c0690=()=>{if(!_0x1044fc)return;const _0x316131=_0x1044fc;_0x1044fc=void 0x0,_0x316131();},_0x4903f2=async()=>{if(_0x52a154['length']>0x0||_0xb9a51)return;await new Promise(_0x51ce87=>{_0x1044fc=_0x51ce87;});},_0x15df11=_0x1f6356=>{const _0x33050d={_0x4a3226:0x7c,_0x5cd07d:0x1b5};function _0x3f5a36(_0x5226de,_0x3e3087,_0x2a9b19,_0x16def9){return _0x2cea86(_0x5226de-_0x33050d._0x4a3226,_0x3e3087,_0x2a9b19-_0x33050d._0x5cd07d,_0x16def9-0x1af);}appendChunk(_0x1c476e,_0x52a154,_0x169c30[_0x3f5a36(_0x560792._0x542636,0x66a,0x54a,_0x560792._0x49027f)](_0x1f6356),_0x20effb,_0x3c0690,_0x42a5d1);},_0x31802b=_0x41b6e=>{function _0x5bcbc5(_0x420436,_0x26e96d,_0x13b9fc,_0xdd9b99){return _0x49cfd6(_0x13b9fc,_0xdd9b99-0x5af,_0x13b9fc-0x90,_0xdd9b99-0x89);}appendChunk(_0x1c476e,_0x52a154,_0x2333eb[_0x5bcbc5(_0x6e9e6._0x235cac,0xa27,_0x6e9e6._0x175c7c,0x898)](_0x41b6e),_0x20effb,_0x3c0690,_0x1e8ebc);};_0xeb4b94[_0x2cea86(0x22c,_0x1fe39f._0xde0320,_0x1fe39f._0x7fe053,_0x1fe39f._0x3fdfb8)]?.['on'](_0x2cea86(0x9b,_0x1fe39f._0x563e10,_0x1fe39f._0x1606dc,0x158),_0x15df11);function _0x2cea86(_0x1d9c50,_0x5c994f,_0x3d1449,_0x552486){return _0x32d096(_0x1d9c50-0xfa,_0x552486- -_0x4dd799._0x5714bc,_0x3d1449-_0x4dd799._0x3d57da,_0x5c994f);}_0xeb4b94['stderr']?.['on'](_0x2cea86(_0x1fe39f._0x5d3b15,_0x1fe39f._0x100310,_0x1fe39f._0x178cf5,_0x1fe39f._0x1de525),_0x31802b);let _0x47b9a8=![],_0x5e5e99;const _0x344d4f=addAbortListener(_0x150e22['signal'],()=>{const _0x42600b={_0x1bfe28:0x146,_0x7de467:0x359};function _0x43447e(_0x5033c0,_0x26a269,_0x2303f1,_0x48e384){return _0x2cea86(_0x5033c0-0x130,_0x2303f1,_0x2303f1-_0x42600b._0x1bfe28,_0x48e384-_0x42600b._0x7de467);}_0x12e753=toAbortError(_0x150e22[_0x43447e(_0x29a4b8._0x515f7d,_0x29a4b8._0x38d315,0x432,0x5e4)]['reason']),_0xb9a51=!![],_0x3c0690();try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}});try{const _0x1ca763=new Promise((_0x1b778b,_0x32a033)=>{const _0x367e0d={_0x24da3e:0x70},_0x4c8b2d={_0xf28abe:0x11c},_0x7e296c={_0x2ffe69:0x4e4,_0x335459:0x41f},_0x3ff1f1=()=>{const _0x511eea={_0x49a58f:0x1ca};_0x5e5e99&&(clearTimeout(_0x5e5e99),_0x5e5e99=void 0x0);function _0x190513(_0xeb4940,_0x4e9c3a,_0x52eb7e,_0x50380a){return _0x8662(_0x4e9c3a- -_0x511eea._0x49a58f,_0x50380a);}function _0x3d0a4d(_0x3b0ec3,_0x133f6e,_0x5740ed,_0x3050c2){return _0x8662(_0x3b0ec3- -0x291,_0x5740ed);}_0xeb4b94[_0x3d0a4d(_0x46eed5._0x1d8abd,0x91,-_0x46eed5._0x7fe78f,0x169)](_0x3d0a4d(0x16f,_0x46eed5._0x1cd703,0x36,0x2c8),_0x4c21b8),_0xeb4b94[_0x3d0a4d(0xd5,-0xc6,-0x10d,_0x46eed5._0x1dd2c6)](_0x3d0a4d(_0x46eed5._0x3a2d35,-0x5,0x2d0,0x135),_0x229b4f);},_0x4c21b8=_0x3fe31e=>{_0xb9a51=!![],_0x3c0690(),_0x3ff1f1(),_0x32a033(_0x12e753??_0x3fe31e);};function _0x250cc0(_0x33c8f0,_0x54c01d,_0xc9e7f8,_0x42d88a){return _0x49cfd6(_0x54c01d,_0x33c8f0-_0x1d73ad._0x20ecc3,_0xc9e7f8-_0x1d73ad._0x15d544,_0x42d88a-0x178);}const _0x229b4f=(_0x5c02ca,_0x40a7df)=>{_0x47b9a8=!![],appendChunk(_0x1c476e,_0x52a154,_0x169c30['end'](),_0x20effb,_0x3c0690,_0x42a5d1),appendChunk(_0x1c476e,_0x52a154,_0x2333eb[_0x43a0c1(_0x7e296c._0x2ffe69,0x51d,0x4a1,_0x7e296c._0x335459)](),_0x20effb,_0x3c0690,_0x1e8ebc),flushOutputRegex(_0x1c476e,_0x52a154,_0x42a5d1,_0x3c0690);function _0x43a0c1(_0x3e3bad,_0x44b519,_0x5229a6,_0x2c114d){return _0x8662(_0x5229a6- -0xb5,_0x3e3bad);}flushOutputRegex(_0x1c476e,_0x52a154,_0x1e8ebc,_0x3c0690),_0xb9a51=!![],_0x3c0690(),_0x3ff1f1();if(_0x12e753){_0x32a033(_0x12e753);return;}_0x1b778b({'code':_0x5c02ca,'signal':_0x40a7df});};_0x5e5e99=setTimeout(()=>{_0xb9a51=!![];function _0x331bb3(_0x47729e,_0x3659d5,_0xb767ba,_0x3314be){return _0x8662(_0x47729e-_0x4c8b2d._0xf28abe,_0x3659d5);}_0x3c0690();function _0x268e64(_0x34f12f,_0xb74135,_0x34e417,_0x4b1dbb){return _0x8662(_0x34e417- -_0x367e0d._0x24da3e,_0xb74135);}_0x3ff1f1();try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}_0x32a033(new ToolExecutionError(_0x331bb3(0x47f,0x336,_0x1030f8._0x13a9ee,_0x1030f8._0x40adc5)+_0x1f2aaa+_0x331bb3(_0x1030f8._0x13a01a,0x4ec,0x571,_0x1030f8._0x43bd96),{'command':_0x3eb2b3[_0x268e64(0x583,0x722,0x560,0x40d)],'cwd':_0x42b221,'shellPath':_0x52fe81,'timeoutMs':_0x1f2aaa,'timedOut':!![]}));},_0x1f2aaa),_0xeb4b94[_0x250cc0(_0x150190._0x3ed01d,0x5d5,0x620,_0x150190._0x5354c8)](_0x557c22(_0x150190._0x2f9b0c,_0x150190._0x6a5838,_0x150190._0x1fc20f,_0x150190._0x2d5265),_0x4c21b8);function _0x557c22(_0x17bedc,_0x2d6f65,_0x1bca4d,_0x33b5aa){return _0x49cfd6(_0x2d6f65,_0x1bca4d-_0x44eaa8._0x3c4e2c,_0x1bca4d-0x9d,_0x33b5aa-0xf4);}_0xeb4b94[_0x250cc0(_0x150190._0x3ed01d,0x42c,0x442,0x3c3)](_0x557c22(_0x150190._0x507828,0x205,0x31c,_0x150190._0xb304bf),_0x229b4f);});while(_0x52a154[_0x49cfd6(_0x1fe39f._0x42c66d,0x2e1,_0x1fe39f._0x5c7f47,0x461)]>0x0||!_0xb9a51){if(_0x52a154[_0x49cfd6(0x4bf,_0x1fe39f._0x290cfe,_0x1fe39f._0x559cf0,0x3c4)]===0x0){await _0x4903f2();continue;}const _0x1b5e12=_0x52a154[_0x2cea86(0x44d,_0x1fe39f._0x5527e9,_0x1fe39f._0x3755ec,_0x1fe39f._0x1bbd0b)]();_0x1b5e12!==void 0x0&&(yield _0x1b5e12);}const _0x35eb03=await _0x1ca763,_0x43d53f=_0x50539c?_0x2cea86(0x53a,0x4ea,0x26d,0x455)+(_0x35eb03[_0x2cea86(_0x1fe39f._0x2cd45c,_0x1fe39f._0x5813d2,0x325,0x457)]??0x0):_0x1c476e[_0x2cea86(0x44e,_0x1fe39f._0x2c1f0e,0x309,0x31b)](''),_0x53e20b={'command':_0x3eb2b3[_0x2cea86(_0x1fe39f._0x138d18,0x2fd,_0x1fe39f._0x264129,0x466)],'description':_0x3eb2b3[_0x2cea86(_0x1fe39f._0x2ece3b,0x521,0x1c7,_0x1fe39f._0xe3b8dc)],'cwd':_0x42b221,'exitCode':_0x35eb03['code']??0x0,'signal':_0x35eb03[_0x2cea86(_0x1fe39f._0x6986a5,0xb5,_0x1fe39f._0x3260af,_0x1fe39f._0x4f3aa6)],'ignoreOutput':_0x50539c,'outputRegex':_0x3eb2b3[_0x49cfd6(0x321,_0x1fe39f._0x21ef92,_0x1fe39f._0x3925ac,0x12c)]??null,'shellPath':_0x52fe81,'timeoutMs':_0x1f2aaa};if(_0x35eb03[_0x49cfd6(_0x1fe39f._0x1cb88c,0x331,_0x1fe39f._0x5c7c74,0x3c1)]!==0x0)throw new ToolExecutionError(_0x43d53f||_0x2cea86(_0x1fe39f._0x5b02f5,_0x1fe39f._0x1a36a2,_0x1fe39f._0x152809,0x491)+(_0x35eb03[_0x49cfd6(_0x1fe39f._0x5377aa,0x331,0x320,_0x1fe39f._0x254cc6)]??0x0),_0x53e20b);return createToolOutput(_0x43d53f,_0x53e20b);}catch(_0x3f26ab){while(_0x52a154['length']>0x0){const _0x359a12=_0x52a154['shift']();_0x359a12!==void 0x0&&(yield _0x359a12);}if(_0x3f26ab instanceof ToolExecutionError)throw _0x3f26ab;if(_0x12e753)throw _0x12e753;throw mapSpawnError(_0x3f26ab,{'command':_0x3eb2b3[_0x49cfd6(0x530,0x340,_0x1fe39f._0x42a117,0x140)],'cwd':_0x42b221,'shellPath':_0x52fe81});}finally{_0x5e5e99&&clearTimeout(_0x5e5e99);_0x344d4f(),_0xeb4b94[_0x49cfd6(_0x1fe39f._0x46d591,_0x1fe39f._0x260971,_0x1fe39f._0x391c22,0xc8)]?.[_0x49cfd6(-0xaf,_0x1fe39f._0x12375e,_0x1fe39f._0x24ae93,0x153)]('data',_0x15df11),_0xeb4b94[_0x2cea86(0x30b,_0x1fe39f._0x14124e,_0x1fe39f._0x2b19be,0x1b6)]?.[_0x2cea86(0x24c,0x274,_0x1fe39f._0x4ea716,0x1fc)](_0x2cea86(_0x1fe39f._0x2ee713,0x340,-_0x1fe39f._0x1465bf,0x158),_0x31802b);if(!_0x47b9a8&&_0xeb4b94[_0x2cea86(_0x1fe39f._0x542505,0x3c7,_0x1fe39f._0x5ad2aa,_0x1fe39f._0x147f8a)]&&!_0xeb4b94[_0x49cfd6(-0x1b7,_0x1fe39f._0x206080,0x6a,0x49)])try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}}}});}function createShellExecTool(_0x107111={}){return createBashTool(_0x107111);}import{readdir as _0x30f500,readFile as _0xf377ae}from'fs/promises';import{extname as _0x2f5363,join as _0x58616f}from'path';import{open}from'fs/promises';import{dirname as _0x53f078,isAbsolute as _0x593af7,join as _0x46d1b9,relative as _0x144694,resolve as _0x157b07}from'path';import{readdir as _0x54e9c0,readFile as _0x344c7c}from'fs/promises';import{join as _0x29b58f,relative as _0x6e5b96,sep}from'path';import{delimiter}from'path';import{mkdir as _0x786c59,rm as _0x1c48f5,stat as _0xba2914,writeFile as _0x432d92}from'fs/promises';import{hostname}from'os';import{dirname as _0x21289c}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x448945,readFile as _0x29369e,rename as _0x2e3b6d,rm as _0x5a47a8,stat as _0x1324f3,writeFile as _0x266ba6}from'fs/promises';import{homedir as _0x4efd1a}from'os';import{dirname as _0x3bd447,isAbsolute as _0x51e55f,join as _0xe65ec4,resolve as _0x57366b}from'path';import{parse as _0x263e76,stringify as _0x46f194}from'yaml';import{randomUUID as _0x1668c0}from'crypto';import{cp,lstat,mkdir as _0x5767d6,readdir as _0x3aebdc,readFile as _0x39a0dc,rename as _0x96347a,rm as _0xd0b9ac,writeFile as _0x5d2795}from'fs/promises';import{homedir}from'os';import{join as _0x583c65}from'path';import{parse as _0x2c4c7a,stringify as _0x129d2b}from'yaml';import{z}from'zod';import{readdir as _0x5a0292,readFile as _0x36be4f}from'fs/promises';import{join as _0x376330}from'path';import{randomUUID as _0x115d25}from'crypto';import{mkdir as _0x53fb08,readdir as _0xf94c9b,readFile as _0x50ce0a,rename as _0x4ae14f,rm as _0x5ce67f,writeFile as _0x3d2956}from'fs/promises';import{homedir as _0x5bd8bc}from'os';import{basename as _0xe225c8,isAbsolute as _0x545c01,join as _0x7a9121,relative as _0x190aa2,resolve as _0x196ba6}from'path';import{parse as _0x3f579a,stringify as _0x3e5e38}from'yaml';import{delimiter as _0x133da7,resolve as _0x16cbb1}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x28bc81(0x234,0x54a,0x3cf,0x3ca)](Object[_0x28bc81(0x512,0x347,0x490,0x55f)]),_0x28bc81(0x654,0x604,0x490,0x3ea)]);function isValidAgentModelSetName(_0x3d5adb){const _0x415447={_0x407c09:0x353,_0x3904a7:0x265,_0x910bc3:0x39e},_0x38a68f={_0x50dc8e:0xa6},_0x397d02={_0x4864a5:0xdd};function _0x2c5bd1(_0x26b938,_0x22dcd8,_0x3ca142,_0x41699b){return _0x28bc81(_0x26b938-0xcc,_0x22dcd8-0xbc,_0x26b938-_0x397d02._0x4864a5,_0x41699b);}function _0x1e064b(_0x4a9b59,_0x3b0840,_0x87281a,_0x3f1c7f){return _0x28bc81(_0x4a9b59-0x1de,_0x3b0840-0x12d,_0x4a9b59- -_0x38a68f._0x50dc8e,_0x3b0840);}return AGENT_MODEL_SET_NAME_PATTERN[_0x2c5bd1(0x452,0x24f,_0x415447._0x407c09,0x3ac)](_0x3d5adb)&&!PROTOTYPE_SENSITIVE_NAMES[_0x1e064b(_0x415447._0x3904a7,0x43e,_0x415447._0x910bc3,0x48)](_0x3d5adb);}function parseProviderQualifiedModelSelector(_0x43c6f0){const _0x387de6={_0x4952a8:0x50d,_0x4fc7a4:0x39d,_0x58d56f:0xa8,_0x3e97ab:0x2c3,_0x492e81:0x288,_0x4a1475:0x53b,_0x3ca518:0x30e,_0x10c6ba:0x3bb,_0xbeb375:0x1c4,_0x33ff6a:0x25b,_0x244206:0x35b,_0x5f00a9:0x279,_0x22d502:0x390,_0x48c4a8:0x366},_0x226afa={_0x2c82f5:0x5f},_0x2a764c={_0x1bf967:0x4b9};if(_0x43c6f0!==_0x43c6f0[_0x4f8104(0x4c8,_0x387de6._0x4952a8,_0x387de6._0x4fc7a4,0x4b5)]())return void 0x0;const _0x682b7b=_0x43c6f0[_0x5dd22c(_0x387de6._0x58d56f,0x10d,0x148,_0x387de6._0x3e97ab)](':');if(_0x682b7b<=0x0||_0x682b7b===_0x43c6f0[_0x5dd22c(_0x387de6._0x492e81,_0x387de6._0x4a1475,0x42f,_0x387de6._0x3ca518)]-0x1)return void 0x0;function _0x5dd22c(_0xf724aa,_0x4675ad,_0x2ab79a,_0x17ac9b){return _0x5b2413(_0xf724aa-0x167,_0x4675ad-0x1d9,_0x2ab79a- -_0x2a764c._0x1bf967,_0xf724aa);}const _0xe25b5d=_0x43c6f0['slice'](0x0,_0x682b7b);function _0x4f8104(_0x42091d,_0xb14319,_0x36a406,_0x4e44cc){return _0x28bc81(_0x42091d-0x1b9,_0xb14319-_0x226afa._0x2c82f5,_0x36a406-0x85,_0x42091d);}const _0x1ba5f0=_0x43c6f0[_0x5dd22c(0x1c8,0x203,_0x387de6._0x10c6ba,0x1ef)](_0x682b7b+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x5dd22c(0x212,_0x387de6._0xbeb375,_0x387de6._0x33ff6a,_0x387de6._0x244206)](_0xe25b5d)||PROTOTYPE_SENSITIVE_NAMES[_0x4f8104(_0x387de6._0x5f00a9,0x24e,_0x387de6._0x22d502,0x437)](_0xe25b5d)||_0x1ba5f0!==_0x1ba5f0[_0x4f8104(0x307,_0x387de6._0x48c4a8,0x39d,0x395)]()||/[\u0000-\u001F\u007F-\u009F]/u['test'](_0x1ba5f0))return void 0x0;return{'provider':_0xe25b5d,'model':_0x1ba5f0};}function tokenizeCommandArguments(_0x11e7ed){const _0xcf2a91={_0xb917b:0x45d,_0xc0a94:0x593,_0x1fe7e0:0x551,_0x1b553c:0x55f,_0x5b9ae6:0x3e6,_0x2a6168:0x23b,_0x66cd5b:0x1b4,_0x355334:0x318,_0x5f2a26:0x1ba,_0x1770e2:0x67,_0x58f420:0x23b,_0x310dd7:0x19,_0xf47ef7:0x3be,_0x12f912:0x33,_0x5f112a:0xa8},_0x46b112={_0xa516b5:0x22,_0x368f51:0xca,_0x4dc686:0x397},_0x37bb75={_0x5ca329:0x7c,_0x217532:0x30e};function _0x10587a(_0x568363,_0x3d341e,_0x34b78f,_0x11c27b){return _0x28bc81(_0x568363-0x165,_0x3d341e-_0x37bb75._0x5ca329,_0x11c27b- -_0x37bb75._0x217532,_0x34b78f);}const _0x2d4160=[];let _0x1e7ae9='',_0x28ca25=0x0;while(_0x28ca25<_0x11e7ed[_0x5db75e(_0xcf2a91._0xb917b,_0xcf2a91._0xc0a94,_0xcf2a91._0x1fe7e0,_0xcf2a91._0x1b553c)]){const _0x4e451d=_0x11e7ed[_0x28ca25];if(_0x4e451d==='\x5c'&&_0x28ca25+0x1<_0x11e7ed[_0x10587a(_0xcf2a91._0x5b9ae6,0x3e8,0xe4,_0xcf2a91._0x2a6168)])_0x1e7ae9+=_0x11e7ed[_0x28ca25+0x1],_0x28ca25+=0x2;else{if(_0x4e451d==='\x22'||_0x4e451d==='\x27'){const _0x1ea96e=_0x4e451d;_0x28ca25++;while(_0x28ca25<_0x11e7ed[_0x10587a(_0xcf2a91._0x66cd5b,0x28b,_0xcf2a91._0x355334,0x23b)]&&_0x11e7ed[_0x28ca25]!==_0x1ea96e){_0x11e7ed[_0x28ca25]==='\x5c'&&_0x28ca25+0x1<_0x11e7ed[_0x10587a(0x50,_0xcf2a91._0x5f2a26,_0xcf2a91._0x1770e2,_0xcf2a91._0x58f420)]?(_0x1e7ae9+=_0x11e7ed[_0x28ca25+0x1],_0x28ca25+=0x2):(_0x1e7ae9+=_0x11e7ed[_0x28ca25],_0x28ca25++);}_0x28ca25++;}else _0x4e451d!==void 0x0&&/\s/[_0x10587a(0x16d,-0x1b2,_0xcf2a91._0x310dd7,0x67)](_0x4e451d)?(_0x1e7ae9&&(_0x2d4160[_0x5db75e(0x4f9,0x355,_0xcf2a91._0xf47ef7,0x595)](_0x1e7ae9),_0x1e7ae9=''),_0x28ca25++):(_0x1e7ae9+=_0x4e451d,_0x28ca25++);}}function _0x5db75e(_0x4c1cf0,_0x156071,_0x55693c,_0x2e159d){return _0x5b2413(_0x4c1cf0-_0x46b112._0xa516b5,_0x156071-_0x46b112._0x368f51,_0x55693c- -_0x46b112._0x4dc686,_0x156071);}if(_0x1e7ae9)_0x2d4160[_0x10587a(-_0xcf2a91._0x12f912,0x22b,0x1b1,_0xcf2a91._0x5f112a)](_0x1e7ae9);return _0x2d4160;}function renderCommandInstructions(_0x3d9406){const _0x14f13e={_0x2b2eea:0x245,_0x5e8452:0xb23,_0x3d6ee0:0x936,_0x3dd2c4:0xb57,_0x80ba2f:0x976,_0x1a7dee:0x3f9,_0x513ec8:0x39a,_0x34a166:0x48f,_0x408acd:0x8b0,_0x5e2ac8:0x8af,_0x151b70:0xacd,_0x44a86e:0x726,_0x56acea:0x920,_0x1f5d21:0x93e,_0x427c20:0x9a1,_0x1bb569:0x766,_0x4227f7:0x939,_0x474793:0x511,_0x284636:0x5e4,_0x27b234:0x50b},_0x2eed7b={_0x1ca63f:0x27,_0x3680fe:0x21},_0x5d063b={_0x33a938:0x150,_0x60e710:0x4e},_0x2b04b1={_0x57dd33:0x62e};let _0x3580fa=_0x3d9406[_0x87458e(0x340,_0x14f13e._0x2b2eea,0x162,0x26d)],_0x4cca4d=![];const _0x4df485=tokenizeCommandArguments(_0x3d9406[_0x50a24e(_0x14f13e._0x5e8452,0xbf8,_0x14f13e._0x3d6ee0,0x9d6)]);_0x3580fa=_0x3580fa[_0x50a24e(_0x14f13e._0x3dd2c4,0x885,_0x14f13e._0x80ba2f,0x94c)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5d9d45,_0x3a8d2a)=>{return _0x4cca4d=!![],_0x4df485[Number(_0x3a8d2a)]??'';}),_0x3580fa=_0x3580fa[_0x87458e(_0x14f13e._0x1a7dee,_0x14f13e._0x513ec8,_0x14f13e._0x34a166,0x5a5)](/\$ARGUMENTS\b/g,()=>{_0x4cca4d=!![];function _0x16aff3(_0x3f9580,_0x566602,_0x1ca3dd,_0xdd1cb0){return _0x50a24e(_0x3f9580-0x1c5,_0x566602-0x66,_0x3f9580,_0x566602- -0x551);}return _0x3d9406[_0x16aff3(_0x2b04b1._0x57dd33,0x485,0x647,0x59e)];});if(_0x3d9406[_0x50a24e(0x737,0x7aa,_0x14f13e._0x408acd,0x936)]&&_0x3d9406[_0x50a24e(0x82e,0x86e,_0x14f13e._0x5e2ac8,0x936)][_0x50a24e(0x84d,0xa91,_0x14f13e._0x151b70,0x93e)]>0x0)for(let _0xf7d33c=0x0;_0xf7d33c<_0x3d9406['argumentNames'][_0x50a24e(0x964,_0x14f13e._0x44a86e,_0x14f13e._0x56acea,_0x14f13e._0x1f5d21)];_0xf7d33c++){const _0x1208b7=_0x3d9406[_0x50a24e(_0x14f13e._0x427c20,0xa6a,_0x14f13e._0x1bb569,0x936)][_0xf7d33c];if(_0x1208b7){const _0x256c4c=new RegExp('\x5c$'+_0x1208b7+'\x5cb','g');_0x3580fa=_0x3580fa[_0x50a24e(_0x14f13e._0x4227f7,0x955,0xab8,0x94c)](_0x256c4c,()=>{return _0x4cca4d=!![],_0x4df485[_0xf7d33c]??'';});}}function _0x87458e(_0x44432f,_0x53a7fc,_0x4249f3,_0xdc7450){return _0x28bc81(_0x44432f-0x184,_0x53a7fc-_0x5d063b._0x33a938,_0xdc7450-_0x5d063b._0x60e710,_0x4249f3);}function _0x50a24e(_0x1d6bfd,_0x461e7a,_0x473d3f,_0x309e80){return _0x5b2413(_0x1d6bfd-_0x2eed7b._0x1ca63f,_0x461e7a-_0x2eed7b._0x3680fe,_0x309e80-0x56,_0x473d3f);}return _0x3580fa=_0x3580fa[_0x87458e(_0x14f13e._0x474793,_0x14f13e._0x284636,0x73c,0x5a5)](/\$(\d+)\b/g,(_0xf868e0,_0x384ffa)=>{return _0x4cca4d=!![],_0x4df485[Number(_0x384ffa)]??'';}),!_0x4cca4d&&_0x3d9406['argumentsText']['trim']()&&(_0x3580fa=_0x3580fa+_0x87458e(0x3fb,_0x14f13e._0x27b234,0x6ea,0x4ef)+_0x3d9406['argumentsText']),_0x3580fa;}var PROVIDER_API_KEY_ENVS=[{'env':_0x5b2413(0x9fc,0x939,0x7e2,0x701),'provider':_0x28bc81(0x532,0x389,0x311,0xf1)},{'env':_0x5b2413(0x770,0x831,0x8da,0x96b),'provider':_0x5b2413(0x778,0xa7e,0x963,0x802)},{'env':_0x28bc81(0x206,0x270,0x3f8,0x2a9),'provider':_0x28bc81(0x7a1,0x554,0x607,0x52b)},{'env':_0x5b2413(0x9d4,0x915,0x831,0x77b),'provider':'github'},{'env':_0x5b2413(0x3c7,0x643,0x57d,0x630),'provider':'grok'},{'env':'DEEPINFRA_API_KEY','provider':_0x28bc81(0x394,0x3b3,0x3d9,0x383)},{'env':'ZAI_API_KEY','provider':_0x5b2413(0xabf,0xa60,0x926,0xb28)},{'env':_0x28bc81(0x406,0x66f,0x4b5,0x5ad),'provider':_0x5b2413(0x7f5,0x69c,0x7dd,0x9bd)},{'env':_0x5b2413(0x95b,0xb07,0x8f7,0xaba),'provider':'minimax'},{'env':_0x5b2413(0x4c6,0x660,0x5fd,0x5af),'provider':'kimi'},{'env':_0x5b2413(0xa2d,0xb93,0x98b,0x8dd),'provider':_0x5b2413(0x6cf,0x7f9,0x851,0x8ff)},{'env':'DEEPSEEK_API_KEY','provider':_0x5b2413(0xa17,0x8ce,0x988,0xaec)},{'env':_0x5b2413(0x55b,0x6af,0x6af,0x8c7),'provider':_0x28bc81(0x406,0x41e,0x497,0x3df)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x28bc81(0x7e7,0x640,0x5d1,0x4b6)](_0x56c957=>_0x56c957['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x28bc81(0x76,0x140,0x237,0x175),_0x5b2413(0x951,0x5c2,0x7b7,0x9bb),_0x5b2413(0x59b,0x893,0x70e,0x59f)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x5b2413(0x62e,0x82a,0x7ca,0x81b),'ENV',_0x5b2413(0x853,0x9ba,0x98e,0xa95),_0x28bc81(0x1c4,0x4e5,0x39e,0x1f1),_0x28bc81(0x4ea,0x54d,0x395,0x3f5),_0x28bc81(0x2cf,0x3db,0x1ea,0x3c4)],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x28bc81(0x36d,0x468,0x3cf,0x2e7)](Object[_0x5b2413(0x9f9,0x959,0x82f,0x846)]),_0x5b2413(0x6ea,0x75f,0x82f,0x84b)]),PRODUCTION_FILE_EDIT_MODES=['exact',_0x5b2413(0x9d9,0x91f,0x859,0x90c),_0x5b2413(0x844,0x65c,0x646,0x692)];function prototypeSafeRecord(_0x165dcd){const _0xec0102={_0x564445:0x2d4,_0x577679:0x490,_0x52ac1d:0x1ba,_0x42cf8d:0x39d,_0x426f95:0x34d,_0xe018a3:0x59e},_0x45a2a7={_0xce7b19:0x121,_0x4ea8d4:0x34,_0x531c62:0x53,_0xd01c38:0x0,_0x212952:0x28c,_0x16e1c3:0x29,_0x126a01:0x111,_0x4564db:0x8,_0x48eb3c:0x123},_0x14e930={_0x360a9c:0x171,_0x3bd98e:0x10,_0x255207:0x33d},_0x279637={_0x2336d9:0x25,_0x2f679e:0x1a7};function _0xa5d0e8(_0x4d7739,_0x28dbad,_0x292c85,_0x8f616d){return _0x28bc81(_0x4d7739-_0x279637._0x2336d9,_0x28dbad-_0x279637._0x2f679e,_0x8f616d-0x215,_0x4d7739);}function _0x166040(_0x1c9c24,_0x43c492,_0xce4f1c,_0x3f381e){return _0x5b2413(_0x1c9c24-_0x14e930._0x360a9c,_0x43c492-_0x14e930._0x3bd98e,_0x1c9c24- -_0x14e930._0x255207,_0x43c492);}return z['preprocess'](_0x260e53=>{const _0x454704={_0x390de4:0x265};if(_0x260e53===null||typeof _0x260e53!==_0x25a826(-_0x45a2a7._0xce7b19,_0x45a2a7._0x4ea8d4,-_0x45a2a7._0x531c62,_0x45a2a7._0xd01c38)||Array[_0x25a826(-0xfd,-_0x45a2a7._0x212952,-0x74,-_0x45a2a7._0x16e1c3)](_0x260e53))return null;const _0x5c6c87=Object['getPrototypeOf'](_0x260e53);if(_0x5c6c87!==Object['prototype']&&_0x5c6c87!==null)return null;function _0x25a826(_0x17919a,_0x1f22ec,_0x53c40c,_0xe6023f){return _0x8662(_0x53c40c- -0x2e0,_0x17919a);}function _0x3bc5de(_0xbea843,_0x502eb2,_0x1e7ab7,_0x5dcd7b){return _0x8662(_0xbea843- -_0x454704._0x390de4,_0x1e7ab7);}return{'entries':Object[_0x25a826(0x1d1,_0x45a2a7._0x126a01,-_0x45a2a7._0x4564db,-_0x45a2a7._0x48eb3c)](_0x260e53)};},z[_0x166040(0x2c7,_0xec0102._0x564445,_0xec0102._0x577679,0x47c)]({'entries':z[_0x166040(0x35c,_0xec0102._0x52ac1d,_0xec0102._0x42cf8d,_0xec0102._0x426f95)](z[_0xa5d0e8(0x81b,0x8fb,0x5fd,0x806)]([z['string'](),_0x165dcd]))}))[_0x166040(0x4ea,0x67f,0x2cf,_0xec0102._0xe018a3)](({entries:_0x51e32c})=>Object['fromEntries'](_0x51e32c));}var chatModelAuthSchemeSchema=z[_0x5b2413(0x726,0x568,0x6b4,0x75a)](['bearer',_0x28bc81(0x255,0x16b,0x284,0x14b)]),apiKeyAuthSchema=z['object']({'type':z[_0x5b2413(0x82b,0xae8,0x918,0x8bd)]('apiKey'),'apiKey':z[_0x28bc81(0x1f5,0x427,0x296,0x247)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x5b2413(0x860,0x803,0x87e,0xa1b)](),oauthAuthSchema=z['object']({'type':z[_0x5b2413(0x736,0xa08,0x918,0x739)]('oauth'),'access':z[_0x5b2413(0x53d,0x6e4,0x635,0x6fa)](),'refresh':z[_0x28bc81(0x22a,0x1fc,0x296,0x3b5)](),'expires':z[_0x28bc81(0x311,0x56e,0x420,0x456)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x5b2413(0x9aa,0x88d,0x915,0xb08)]()})['passthrough'](),finiteNonNegative=z[_0x5b2413(0x651,0x991,0x7bf,0x914)]()[_0x28bc81(0x2a9,0x13b,0x2a2,0x328)]()[_0x28bc81(0x484,0x331,0x4bc,0x69c)](),chatGptAuthSchema=z[_0x28bc81(0x28b,0x24b,0x265,0x1ac)]({'type':z[_0x28bc81(0x6f0,0x684,0x579,0x41e)]('chatgpt'),'access':z['string']()[_0x28bc81(0x415,0x2d3,0x340,0x3a7)](0x1),'refresh':z['string']()[_0x28bc81(0x24d,0x25d,0x340,0x18a)](0x1),'idToken':z['string']()[_0x5b2413(0x7c4,0x72c,0x6df,0x776)](0x1),'accountId':z[_0x5b2413(0x826,0x44a,0x635,0x4f2)]()[_0x28bc81(0x195,0x4c7,0x340,0x4a7)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x28bc81(0x734,0x6a6,0x576,0x5bd)]()})[_0x28bc81(0x609,0x522,0x4df,0x612)](),authMethodSchema=z[_0x28bc81(0x56d,0x63c,0x5b0,0x65a)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x5b2413(0x8bb,0x845,0x6b4,0x68f)]([_0x5b2413(0x646,0x3fe,0x593,0x72d),_0x28bc81(0x4dc,0x21f,0x2ea,0x1c2),_0x28bc81(0x195,0x32e,0x3a1,0x45e),_0x28bc81(-0x44,0x1f2,0x1dd,0x80),'xhigh',_0x28bc81(0x264,0x346,0x467,0x31d)]),reasoningOptionSchema=z[_0x28bc81(0x62,0xae,0x265,0xb2)]({'id':z[_0x28bc81(0x21e,0xc0,0x296,0x278)]()[_0x28bc81(0x35d,0x390,0x318,0x4a0)]()[_0x28bc81(0x3ba,0x4b6,0x340,0x55b)](0x1),'description':z[_0x28bc81(0x8f,0x3ee,0x296,0x33b)]()[_0x28bc81(0x68b,0x46a,0x576,0x57c)](),'mode':z['enum'](['adaptive',_0x5b2413(0x739,0x66c,0x624,0x652)])['optional'](),'effort':reasoningEffortSchema[_0x5b2413(0x7d1,0x7d0,0x915,0xb27)](),'budgetTokens':z[_0x28bc81(0x5ba,0x303,0x420,0x279)]()['int']()['min'](0x400)[_0x5b2413(0x8c3,0xa41,0x915,0xb22)]()})[_0x5b2413(0x717,0x714,0x6d0,0x8ee)]((_0x5b7885,_0x516065)=>{const _0x58dc70={_0x1bfa86:0x6e8,_0x42f1a5:0x68a,_0x54f59f:0x5b2,_0x44f875:0x487,_0xcd54c5:0x3ec,_0x1a2240:0x6d7,_0x210a58:0x571,_0xf2871e:0x765,_0x260685:0x4f9,_0x55b221:0x611,_0x854e43:0x4ec,_0x2be419:0x89,_0x5264be:0x74,_0x3a8aca:0x6f0,_0x4124ce:0x4c2,_0x28ca8f:0x3c3,_0x1ea02d:0x545,_0x12a6af:0x550,_0x315043:0x4dd,_0x4ce24f:0x28e,_0x38b104:0x3a3,_0x404d68:0x419,_0x117e08:0x478,_0x195570:0x4fa,_0x2abab3:0x31c,_0xd0dbf0:0x210,_0x59fa01:0x5aa,_0x5a6c42:0x361,_0x2a8268:0x371,_0x553911:0x2f1,_0x1031b6:0x533,_0x3fa807:0x69e,_0x6ee31a:0x542,_0x5a2d4c:0x64f,_0x4528d2:0x553,_0x5953f3:0x4ba,_0x5627a0:0x193,_0x33bd76:0x350},_0x373f90={_0x442b83:0xc,_0x2a7cf7:0x1b5},_0x7d7e3={_0x5622b3:0x8a,_0x30ed4d:0x49c},_0x252f06=_0x5b7885['id']['toLowerCase']();(_0x252f06==='off'||_0x252f06===_0x348d34(0x4ed,0x4b4,0x203,0x3cb)||_0x252f06===_0x348d34(0x550,0x81c,0x7d1,_0x58dc70._0x1bfa86))&&_0x516065[_0x348d34(0x561,_0x58dc70._0x42f1a5,_0x58dc70._0x54f59f,0x69e)]({'code':'custom','path':['id'],'message':'Reasoning\x20option\x20\x22'+_0x252f06+_0xc08046(0x47b,_0x58dc70._0x44f875,_0x58dc70._0xcd54c5,0x324)});if(_0x5b7885[_0x348d34(_0x58dc70._0x1a2240,0x6ba,0x734,0x6c6)]==='manual'){_0x5b7885[_0x348d34(0x4fe,_0x58dc70._0x210a58,0x869,0x68a)]===void 0x0&&_0x516065['addIssue']({'code':_0x348d34(0x81a,0x42c,0x6db,0x603),'path':[_0x348d34(_0x58dc70._0xf2871e,0x5d4,0x732,0x68a)],'message':_0x348d34(0x5d0,_0x58dc70._0x260685,_0x58dc70._0x55b221,_0x58dc70._0x854e43)});_0x5b7885[_0xc08046(-_0x58dc70._0x2be419,-_0x58dc70._0x5264be,-0xd6,0xdc)]!==void 0x0&&_0x516065[_0x348d34(_0x58dc70._0x3a8aca,0x6a1,0x7ea,0x69e)]({'code':'custom','path':[_0x348d34(0x3b8,_0x58dc70._0x4124ce,0x213,_0x58dc70._0x28ca8f)],'message':_0x348d34(0x6a4,0x451,_0x58dc70._0x1ea02d,0x530)});return;}function _0xc08046(_0x390dac,_0x42dbf8,_0x4cac6c,_0xf965db){return _0x5b2413(_0x390dac-_0x7d7e3._0x5622b3,_0x42dbf8-0x14,_0xf965db- -_0x7d7e3._0x30ed4d,_0x4cac6c);}_0x5b7885[_0xc08046(_0x58dc70._0x12a6af,_0x58dc70._0x315043,_0x58dc70._0x4ce24f,_0x58dc70._0x38b104)]!==void 0x0&&_0x516065[_0xc08046(0x591,_0x58dc70._0x404d68,_0x58dc70._0x117e08,0x3b7)]({'code':_0xc08046(0x304,_0x58dc70._0x195570,0x14d,_0x58dc70._0x2abab3),'path':[_0xc08046(0x573,_0x58dc70._0xd0dbf0,_0x58dc70._0x59fa01,0x3a3)],'message':_0xc08046(_0x58dc70._0x5a6c42,_0x58dc70._0x2a8268,_0x58dc70._0x553911,0x43a)});function _0x348d34(_0x4fdac2,_0x2ad1db,_0x797583,_0x20571c){return _0x5b2413(_0x4fdac2-_0x373f90._0x442b83,_0x2ad1db-0x38,_0x20571c- -_0x373f90._0x2a7cf7,_0x797583);}_0x5b7885['mode']===void 0x0&&_0x5b7885['effort']===void 0x0&&_0x516065[_0x348d34(0x65b,0x858,_0x58dc70._0x1031b6,_0x58dc70._0x3fa807)]({'code':_0x348d34(0x75c,_0x58dc70._0x6ee31a,_0x58dc70._0x5a2d4c,0x603),'path':['effort'],'message':_0xc08046(_0x58dc70._0x4528d2,_0x58dc70._0x5953f3,_0x58dc70._0x5627a0,_0x58dc70._0x33bd76)});});function validateReasoningOptionIds(_0x2dd39c,_0x1d0c9c){const _0x1bfc17={_0x2621e2:0x397,_0x43115d:0x41d,_0x1d7ed9:0x562,_0x57e1dd:0xc5,_0x469399:0x1df,_0x191f32:0x50c,_0x1fc990:0x205,_0x8c210b:0x3e1,_0x246af6:0x257,_0xe15d66:0x2ed,_0x489126:0x177,_0x48e9ff:0x182,_0x3123a8:0x2a2},_0x826148={_0x112629:0x1d9,_0x29206b:0x12c},_0x2f39ad=new Set();function _0x46b559(_0x358298,_0x3ad366,_0xefe72f,_0x3a8d88){return _0x5b2413(_0x358298-0x16e,_0x3ad366-0x1f4,_0x358298- -0x6ab,_0xefe72f);}function _0x1ea8b8(_0x3a5db8,_0x559c24,_0x3b9a81,_0x4f8483){return _0x28bc81(_0x3a5db8-0x164,_0x559c24-_0x826148._0x112629,_0x3b9a81- -_0x826148._0x29206b,_0x559c24);}for(let _0x31c567=0x0;_0x31c567<_0x2dd39c[_0x1ea8b8(0x56d,_0x1bfc17._0x2621e2,_0x1bfc17._0x43115d,_0x1bfc17._0x1d7ed9)];_0x31c567+=0x1){const _0x2b993f=_0x2dd39c[_0x31c567]?.['id']['toLowerCase']();if(!_0x2b993f)continue;if(_0x2f39ad[_0x1ea8b8(_0x1bfc17._0x57e1dd,-0x3c,_0x1bfc17._0x469399,0x21c)](_0x2b993f)){_0x1d0c9c[_0x1ea8b8(_0x1bfc17._0x191f32,_0x1bfc17._0x1fc990,0x388,_0x1bfc17._0x8c210b)]({'code':_0x1ea8b8(0x293,_0x1bfc17._0x246af6,_0x1bfc17._0xe15d66,0x161),'path':[_0x46b559(_0x1bfc17._0x489126,0x366,-0x34,0x166),_0x31c567,'id'],'message':_0x1ea8b8(_0x1bfc17._0x48e9ff,_0x1bfc17._0x3123a8,0x33c,0x3e1)+_0x2b993f+'\x22'});continue;}_0x2f39ad['add'](_0x2b993f);}}var providerReasoningConfigSchema=z[_0x5b2413(0x412,0x76f,0x604,0x513)]({'options':z[_0x5b2413(0x6ed,0x507,0x699,0x876)](reasoningOptionSchema)})['superRefine']((_0x2b90db,_0x287f9d)=>{validateReasoningOptionIds(_0x2b90db['options'],_0x287f9d);}),modelReasoningConfigSchema=z[_0x5b2413(0x76f,0x61c,0x604,0x41f)]({'defaultOption':z['string']()[_0x28bc81(0x135,0x511,0x318,0x367)]()['min'](0x1)[_0x5b2413(0xa68,0xa7c,0x915,0x766)](),'canDisable':z[_0x28bc81(0x39c,0x39f,0x524,0x695)]()[_0x28bc81(0x534,0x366,0x576,0x6eb)](),'options':z[_0x28bc81(0x4b5,0x3c9,0x2fa,0x1a1)](reasoningOptionSchema)})[_0x28bc81(0x42f,0x4c6,0x331,0x14d)]((_0x5c91f6,_0x36192c)=>{const _0x20593f={_0x5a16c6:0x59e,_0x1fff46:0x499,_0x1632e0:0x177,_0x5df764:0x16a,_0x457a92:0x322,_0x5840cc:0x193,_0x202ccb:0x462,_0x176883:0x459,_0x2358e5:0x403,_0x17a404:0x7ba,_0x479735:0x2a8,_0x2448ff:0x35f,_0x4ae52a:0x482,_0x1035cd:0xdf,_0x17eef1:0x2be,_0x315328:0x280,_0x43a886:0x55,_0x388058:0x3d7,_0x11fb0b:0x5dd,_0x58e2ee:0x4ff,_0x318256:0x506,_0x385c0c:0x223,_0x243e96:0x5f7,_0x1e8669:0x4d0,_0x47aa1a:0x1b1,_0x4cfa3a:0x511,_0x3d5c73:0x5d0,_0x14bdb0:0x38b},_0x572833={_0x3ad66d:0x6b,_0x238312:0xb8,_0x200f01:0x5ab},_0x3eb0b0={_0x172e01:0x172};validateReasoningOptionIds(_0x5c91f6[_0x367c6c(0x535,_0x20593f._0x5a16c6,_0x20593f._0x1fff46,0x3fe)],_0x36192c);function _0x367c6c(_0x145e3b,_0x61effd,_0x2a8040,_0x2a5fc0){return _0x5b2413(_0x145e3b-_0x3eb0b0._0x172e01,_0x61effd-0x1d9,_0x61effd- -0x284,_0x2a8040);}function _0x2c2b80(_0x32b827,_0x5350e0,_0xaf095a,_0x4484c5){return _0x5b2413(_0x32b827-_0x572833._0x3ad66d,_0x5350e0-_0x572833._0x238312,_0x32b827- -_0x572833._0x200f01,_0x4484c5);}const _0x2a832e=_0x5c91f6[_0x2c2b80(0x1ea,0x1f8,0x169,_0x20593f._0x1632e0)]?.[_0x2c2b80(_0x20593f._0x5df764,_0x20593f._0x457a92,_0x20593f._0x5840cc,0x345)]();if(_0x2a832e===void 0x0)return;if(_0x2a832e===_0x367c6c(_0x20593f._0x202ccb,_0x20593f._0x176883,0x4dd,_0x20593f._0x2358e5)){_0x5c91f6[_0x367c6c(_0x20593f._0x17a404,0x5e7,0x3c5,0x68a)]!==!![]&&_0x36192c[_0x2c2b80(_0x20593f._0x479735,_0x20593f._0x2448ff,_0x20593f._0x2448ff,_0x20593f._0x4ae52a)]({'code':_0x2c2b80(0x20d,_0x20593f._0x1035cd,_0x20593f._0x17eef1,_0x20593f._0x315328),'path':[_0x2c2b80(0x1ea,-0x1f,0xd2,_0x20593f._0x43a886)],'message':_0x367c6c(0x5f6,_0x20593f._0x388058,0x283,0x213)});return;}!_0x5c91f6[_0x367c6c(_0x20593f._0x11fb0b,0x59e,0x3eb,_0x20593f._0x58e2ee)][_0x367c6c(0x71c,0x62e,_0x20593f._0x318256,0x554)](_0x5acc38=>_0x5acc38['id'][_0x367c6c(0x4a6,0x491,0x5ef,0x280)]()===_0x2a832e)&&_0x36192c['addIssue']({'code':_0x2c2b80(0x20d,0x3b1,0x67,_0x20593f._0x385c0c),'path':[_0x367c6c(_0x20593f._0x243e96,0x511,_0x20593f._0x1e8669,0x5b7)],'message':_0x2c2b80(0x115,_0x20593f._0x47aa1a,0xd6,-0x57)+_0x5c91f6[_0x367c6c(0x66a,_0x20593f._0x4cfa3a,0x5ae,_0x20593f._0x3d5c73)]+_0x367c6c(_0x20593f._0x14bdb0,0x580,0x56d,0x416)});}),modelDefinitionSchema=z['object']({'id':z[_0x5b2413(0x64b,0x700,0x635,0x71a)](),'name':z[_0x28bc81(0x46c,0xfd,0x296,0x31c)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0x28bc81(0x4ca,0x53c,0x576,0x622)]()})[_0x5b2413(0x693,0x838,0x87e,0x8f6)](),modelConfigSchema=z['union']([z['literal'](![]),z['literal'](!![]),z[_0x28bc81(0x2df,0x88,0x296,0x224)](),z['array'](z['string']()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x28bc81(0x5d4,0x72c,0x56c,0x6c5),'openai-chat-completions',_0x5b2413(0x84f,0x8ca,0x7ab,0x78b),_0x28bc81(0x348,0x2ea,0x2c0,0x37d)]),providerNameSchema=z['string']()[_0x5b2413(0x55a,0x788,0x6df,0x716)](0x1,'Provider\x20name\x20cannot\x20be\x20empty')[_0x28bc81(-0xc,0x3aa,0x1f8,0x194)](_0x30906d=>!_0x30906d[_0x5b2413(0x58b,0x591,0x760,0x77d)](':'),_0x5b2413(0xad6,0x75b,0x8c5,0x825)),providerConfigSchema=z['object']({'apiKey':z[_0x28bc81(0x162,0x3cb,0x296,0xd9)]()['optional'](),'token':z[_0x5b2413(0x7ab,0x7ba,0x635,0x510)]()[_0x5b2413(0x7b0,0xaf8,0x915,0x99f)](),'defaultModel':z[_0x5b2413(0x737,0x855,0x635,0x5da)]()[_0x28bc81(0x5dc,0x726,0x576,0x4f5)](),'smallModel':z[_0x28bc81(0x44a,0x162,0x296,0x175)]()[_0x5b2413(0x6f4,0xb19,0x915,0x7f6)](),'currentAuth':z[_0x28bc81(0x155,0x3eb,0x296,0x108)]()[_0x28bc81(0x35e,0x6a0,0x576,0x580)](),'auth':z[_0x5b2413(0x508,0x554,0x699,0x698)](authMethodSchema)[_0x28bc81(0x6cd,0x400,0x576,0x436)](),'surface':chatModelSurfaceSchema[_0x28bc81(0x634,0x713,0x576,0x776)](),'providerId':providerNameSchema[_0x28bc81(0x753,0x76f,0x576,0x65f)](),'baseUrl':z[_0x5b2413(0x80a,0x6f5,0x635,0x439)]()[_0x28bc81(0x60b,0x48a,0x576,0x497)](),'models':modelConfigSchema[_0x28bc81(0x5f0,0x431,0x576,0x6e5)](),'customHeaders':z[_0x5b2413(0x78b,0x5a7,0x58f,0x781)](z[_0x5b2413(0x76a,0x438,0x635,0x454)](),z[_0x28bc81(0x2e9,0x2dc,0x296,0x46f)]())['optional'](),'reasoning':providerReasoningConfigSchema[_0x5b2413(0x9df,0x8fa,0x915,0x903)]()})[_0x5b2413(0xa71,0x86a,0x87e,0x8df)](),mcpServerConfigSchema=z[_0x28bc81(0x2f8,0xe8,0x265,0x291)]({'command':z[_0x5b2413(0x509,0x826,0x635,0x41f)]()[_0x5b2413(0x931,0x746,0x915,0xa18)](),'args':z[_0x5b2413(0x4aa,0x50d,0x699,0x63e)](z[_0x5b2413(0x42a,0x4f4,0x635,0x6da)]())['optional'](),'env':z[_0x28bc81(0x11a,0x185,0x1f0,0x2e1)](z[_0x28bc81(0x395,0x427,0x296,0x191)](),z['string']())[_0x28bc81(0x473,0x595,0x576,0x53f)](),'transport':z[_0x5b2413(0x801,0x84f,0x6b4,0x8cc)]([_0x5b2413(0x6ba,0x401,0x573,0x469),_0x28bc81(0x46c,0x327,0x4eb,0x53d)])['optional'](),'url':z[_0x28bc81(0x14d,0x35f,0x296,0x1c3)]()[_0x28bc81(0x370,0x5a2,0x576,0x3b5)](),'headers':z[_0x5b2413(0x458,0x6ae,0x58f,0x52e)](z[_0x28bc81(0x15d,0x348,0x296,0x282)](),z[_0x28bc81(0x2bf,0x362,0x296,0x122)]())[_0x28bc81(0x37e,0x5dd,0x576,0x3f3)](),'prefix':z[_0x5b2413(0x62b,0x716,0x635,0x41d)]()['optional'](),'timeoutMs':z[_0x28bc81(0x3c8,0x4f3,0x420,0x4b6)]()[_0x5b2413(0xa27,0x7ff,0x915,0x94f)](),'enabled':z[_0x5b2413(0x933,0x8ab,0x8c3,0x9dd)]()[_0x5b2413(0x835,0xa2d,0x915,0xa20)](),'auth':z[_0x5b2413(0x4f9,0x69f,0x604,0x4fe)]({'type':z[_0x5b2413(0x6e6,0x50f,0x6b4,0x879)]([_0x5b2413(0x8f2,0x7be,0x9ac,0x9e5),_0x28bc81(0x20c,0x1c4,0x3cb,0x296),'oauth']),'token':z['string']()[_0x5b2413(0x925,0xaa2,0x915,0x746)](),'oauth':z[_0x5b2413(0x736,0x48c,0x604,0x448)]({'clientId':z[_0x5b2413(0x5e3,0x588,0x635,0x494)]()[_0x5b2413(0x779,0xaf9,0x915,0x9fb)](),'clientMetadataUrl':z['string']()[_0x28bc81(0x430,0x696,0x576,0x542)](),'authorizationServer':z['string']()[_0x5b2413(0x87c,0x9e2,0x915,0x74f)](),'scopes':z[_0x28bc81(0x457,0x511,0x2fa,0x277)](z['string']())['optional'](),'tokenStorageKey':z[_0x28bc81(0x3c7,0x417,0x296,0xeb)]()[_0x28bc81(0x371,0x5e9,0x576,0x68c)]()})['passthrough']()[_0x28bc81(0x620,0x636,0x576,0x480)]()})['passthrough']()[_0x28bc81(0x57f,0x74d,0x576,0x6a7)]()})[_0x5b2413(0x964,0x8af,0x87e,0xa82)](),mcpToolPermissionClassSchema=z[_0x28bc81(0x18f,0x162,0x315,0x164)](['read','write',_0x5b2413(0x9fc,0x8da,0x8f5,0xa65)]),mcpSettingsSchema=z[_0x5b2413(0x463,0x47c,0x604,0x711)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x5b2413(0x8c2,0xa0b,0x915,0x7f8)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x28bc81(0x487,0x3e3,0x576,0x585)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x28bc81(0x73e,0x6e4,0x576,0x747)](),'defaultTimeoutMs':z['number']()[_0x5b2413(0x8e9,0xad8,0x915,0xa4a)]()})[_0x28bc81(0x34a,0x2dd,0x4df,0x451)](),skillsSettingsSchema=z[_0x5b2413(0x592,0x6ea,0x604,0x3e3)]({'enabled':z[_0x5b2413(0x958,0xa0e,0x8c3,0xa8b)]()[_0x5b2413(0x86f,0x92a,0x915,0x9be)](),'includeDefaults':z[_0x5b2413(0x97f,0x760,0x8c3,0x980)]()[_0x28bc81(0x6ee,0x47b,0x576,0x655)](),'directories':z['array'](z['string']())[_0x5b2413(0xa5d,0x73d,0x915,0x97b)](),'exclude':z[_0x28bc81(0x2c7,0x12e,0x2fa,0x498)](z[_0x28bc81(0xa8,0x4b2,0x296,0x7b)]())['optional']()})[_0x28bc81(0x453,0x561,0x4df,0x506)](),commandsSettingsSchema=z[_0x5b2413(0x523,0x579,0x604,0x637)]({'enabled':z[_0x28bc81(0x397,0x4ef,0x524,0x54d)]()[_0x28bc81(0x415,0x3de,0x576,0x5ae)](),'directories':z[_0x28bc81(0x348,0x17b,0x2fa,0x2d2)](z['string']())[_0x5b2413(0x733,0x7f0,0x915,0x858)]()})[_0x28bc81(0x64b,0x40b,0x4df,0x471)](),agentsSettingsSchema=z[_0x28bc81(0x423,0x148,0x265,0xec)]({'enabled':z[_0x28bc81(0x732,0x704,0x524,0x4e8)]()[_0x5b2413(0x877,0x942,0x915,0x87d)](),'includeDefaults':z['boolean']()['optional'](),'directories':z[_0x5b2413(0x84c,0x4c6,0x699,0x7cb)](z[_0x28bc81(0x31f,0x289,0x296,0x223)]())[_0x5b2413(0xae4,0x9e3,0x915,0x916)](),'maxConcurrency':z[_0x5b2413(0x85c,0x6a1,0x7bf,0x630)]()[_0x28bc81(0x364,0x206,0x2a2,0x3e1)]()[_0x5b2413(0x5de,0x3b7,0x5a5,0x5fe)]()[_0x28bc81(0x369,0x356,0x4b9,0x40f)]()[_0x28bc81(0x5fd,0x705,0x576,0x50c)]()})[_0x28bc81(0x372,0x5aa,0x4df,0x516)](),uiThemeSettingsSchema=z[_0x5b2413(0x567,0x69d,0x604,0x77c)]({'mode':z[_0x28bc81(0x373,0x169,0x315,0x2f1)](['auto',_0x5b2413(0x7c3,0x8b2,0x7f5,0x94f),_0x28bc81(0x6a9,0x4d8,0x522,0x3fe)])[_0x28bc81(0x64b,0x43f,0x576,0x3bd)](),'colorLevel':z[_0x28bc81(0x4e1,0x1da,0x315,0x2dc)](['auto',_0x28bc81(0x53f,0x62b,0x60d,0x511),_0x5b2413(0x75c,0x754,0x88d,0x822),'ansi256',_0x28bc81(0x501,0x5f7,0x507,0x672)])[_0x5b2413(0x853,0x74e,0x915,0x8fc)](),'backgrounds':z[_0x5b2413(0x6a0,0x6e3,0x6b4,0x81f)]([_0x5b2413(0x8a2,0x7db,0x705,0x55a),'on',_0x5b2413(0x551,0x577,0x6dd,0x6ed)])[_0x28bc81(0x678,0x500,0x576,0x538)](),'messageStyle':z[_0x5b2413(0x4cf,0x4ac,0x6b4,0x75f)]([_0x5b2413(0x63f,0x6f6,0x5d3,0x6e2),_0x5b2413(0xa4b,0x72a,0x87c,0x6e7)])[_0x5b2413(0x890,0x806,0x915,0x851)]()})[_0x28bc81(0x686,0x685,0x4df,0x558)](),statuslineSegmentSchema=z['enum']([_0x28bc81(0x3dc,0x556,0x5e6,0x7f0),_0x5b2413(0x94f,0x7c8,0x88b,0xa2a),_0x28bc81(0x236,0x2cc,0x2ae,0x16d),_0x5b2413(0x8aa,0xb43,0x98d,0xb93),'tokens',_0x28bc81(-0x2b,0x167,0x1f5,0x185),_0x28bc81(0x20b,0x1bd,0x30d,0x433),_0x28bc81(0x40f,0x400,0x50d,0x327),'tools',_0x28bc81(0x260,0x472,0x3f4,0x5f9),_0x28bc81(0x318,0x139,0x27f,0x394),_0x5b2413(0x927,0x670,0x870,0x6de),_0x28bc81(0x748,0x500,0x5c0,0x69b),_0x5b2413(0x6e3,0x6ef,0x587,0x7a7),'rss']),statuslineItemSchema=z[_0x5b2413(0x79a,0xb0e,0x94f,0xaf3)]([statuslineSegmentSchema,z[_0x28bc81(0x610,0x418,0x579,0x5fa)]('|')]),statuslineRowSchema=z[_0x28bc81(0x193,0x124,0x2fa,0x474)](statuslineItemSchema),statuslineConfigSchema=z[_0x28bc81(0x2b8,0x35b,0x265,0x16a)]({'rows':z[_0x28bc81(0x718,0x5fb,0x5f1,0x6b8)]([statuslineRowSchema,statuslineRowSchema])[_0x5b2413(0xae6,0xa85,0x915,0xa2c)]()})['passthrough'](),memoryExtractionSettingsSchema=z[_0x5b2413(0x79f,0x4b0,0x604,0x7ae)]({'enabled':z[_0x28bc81(0x5e7,0x65a,0x524,0x5a3)]()['optional'](),'provider':z[_0x28bc81(0xc6,0x3cb,0x296,0x247)]()[_0x28bc81(0x2e4,0x12b,0x340,0x146)](0x1)[_0x5b2413(0x9e7,0xab0,0x915,0x886)](),'model':z['string']()[_0x28bc81(0x485,0x125,0x340,0x19c)](0x1)[_0x28bc81(0x415,0x3cc,0x576,0x688)](),'minUserMessages':z['number']()[_0x28bc81(0x1ca,0x385,0x206,0x14b)]()[_0x5b2413(0x786,0x517,0x6df,0x8b2)](0x1)[_0x28bc81(0x36a,0x673,0x576,0x4a5)](),'structuredOutput':z[_0x28bc81(0x56e,0x330,0x524,0x4b8)]()[_0x28bc81(0x489,0x718,0x576,0x5da)](),'maxSeedTokens':z[_0x28bc81(0x638,0x53d,0x420,0x26e)]()[_0x5b2413(0x728,0x617,0x5a5,0x636)]()[_0x28bc81(0x17c,0x32a,0x340,0x4c5)](0x1)[_0x5b2413(0x919,0xb09,0x915,0x7f6)](),'trimToolOutputs':z['boolean']()[_0x28bc81(0x42f,0x747,0x576,0x69b)]()})[_0x5b2413(0x886,0x951,0x962,0xaff)](),memoryInjectionSettingsSchema=z[_0x28bc81(0x178,0x12c,0x265,0x310)]({'tokenBudget':z[_0x28bc81(0x468,0x377,0x420,0x405)]()['int']()['min'](0x80)[_0x28bc81(0x404,0x3d4,0x467,0x268)](0x2000)['optional'](),'rankByUsage':z[_0x5b2413(0x8f0,0x9e4,0x8c3,0x958)]()['optional']()})[_0x28bc81(0x4ed,0x7e0,0x5c3,0x609)](),memoryConsolidateSettingsSchema=z[_0x5b2413(0x480,0x4b5,0x604,0x826)]({'enabled':z[_0x5b2413(0x88b,0x9e3,0x8c3,0x951)]()['optional'](),'provider':z['string']()[_0x5b2413(0x792,0x8d8,0x6df,0x595)](0x1)[_0x5b2413(0x95d,0x7e1,0x915,0x83c)](),'model':z[_0x5b2413(0x4df,0x457,0x635,0x679)]()['min'](0x1)[_0x28bc81(0x5af,0x62b,0x576,0x3e1)](),'maxExtractsPerRun':z[_0x5b2413(0x7b5,0x963,0x7bf,0x852)]()[_0x5b2413(0x746,0x6a8,0x5a5,0x68e)]()[_0x5b2413(0x602,0x80d,0x6df,0x762)](0x1)['optional'](),'maxUnusedDays':z[_0x5b2413(0x6a8,0x77e,0x7bf,0x5d9)]()[_0x5b2413(0x655,0x699,0x5a5,0x575)]()['min'](0x1)[_0x28bc81(0x745,0x4c5,0x576,0x373)](),'requireReview':z[_0x28bc81(0x65b,0x3a4,0x524,0x5ac)]()[_0x28bc81(0x4a7,0x4c4,0x576,0x437)](),'writeSkills':z[_0x5b2413(0x925,0xaca,0x8c3,0x961)]()[_0x5b2413(0x821,0xa2f,0x915,0x8ea)](),'readSourceTranscripts':z[_0x5b2413(0x98d,0x6ac,0x8c3,0x6f6)]()[_0x5b2413(0x8a7,0x74a,0x915,0x9c1)](),'maxTranscriptReadsPerRun':z[_0x28bc81(0x542,0x5f1,0x420,0x54c)]()['int']()[_0x28bc81(0x446,0x215,0x340,0x15b)](0x0)['optional']()})['strict'](),memorySettingsSchema=z[_0x5b2413(0x42c,0x750,0x604,0x6f2)]({'enabled':z['boolean']()['optional'](),'extraction':memoryExtractionSettingsSchema[_0x5b2413(0x8c1,0x717,0x915,0x6fa)](),'consolidate':memoryConsolidateSettingsSchema[_0x28bc81(0x39a,0x6a0,0x576,0x504)](),'injection':memoryInjectionSettingsSchema[_0x28bc81(0x6a4,0x3b4,0x576,0x75e)]()})[_0x5b2413(0xa0f,0x9c2,0x962,0x822)]();function _0x5b2413(_0x2dafb5,_0x2539af,_0x524694,_0x4b613a){return _0x8662(_0x524694-0x377,_0x4b613a);}var recentModelSchema=z[_0x28bc81(0x117,0x157,0x265,0x121)]({'provider':z[_0x5b2413(0x5e6,0x7f2,0x635,0x454)](),'model':z[_0x28bc81(0xa1,0x370,0x296,0x79)](),'usedAt':z[_0x28bc81(0x60f,0x31b,0x420,0x52a)]()})['passthrough'](),lspServerEntrySchema=z[_0x5b2413(0x6b2,0x7fc,0x604,0x4bc)]({'disabled':z['boolean']()[_0x5b2413(0xae4,0x847,0x915,0xa35)](),'command':z[_0x28bc81(0x4a6,0x187,0x296,0x3c9)]()[_0x28bc81(0x554,0x45d,0x576,0x5f9)](),'args':z[_0x28bc81(0x512,0x109,0x2fa,0x160)](z[_0x28bc81(0x3d5,0x3fb,0x296,0x145)]())[_0x5b2413(0xaa8,0x983,0x915,0x92f)](),'rootMarkers':z[_0x5b2413(0x773,0x708,0x699,0x84a)](z[_0x28bc81(0x111,0x378,0x296,0x115)]())[_0x5b2413(0x7b3,0x90f,0x915,0xb1b)]()})[_0x28bc81(0x697,0x2c5,0x4df,0x430)](),lspConfigSchema=z[_0x28bc81(0x29a,0x2fd,0x265,0x20b)]({'enabled':z[_0x5b2413(0xa80,0x856,0x8c3,0x708)]()[_0x28bc81(0x5e1,0x6ce,0x576,0x78b)](),'servers':z['record'](z[_0x5b2413(0x585,0x7cc,0x635,0x84c)](),lspServerEntrySchema)['optional']()})[_0x28bc81(0x6f6,0x2c2,0x4df,0x614)](),serverEndpointSchema=z[_0x28bc81(0x383,0xd3,0x265,0x449)]({'url':z[_0x5b2413(0x4af,0x650,0x635,0x48f)](),'token':z['string']()[_0x5b2413(0x87c,0xa98,0x915,0x8fb)]()})[_0x5b2413(0x6f4,0x91b,0x87e,0x771)](),commandHookConfigSchema=z['object']({'type':z[_0x28bc81(0x4d3,0x6e2,0x579,0x78f)](_0x5b2413(0x979,0x9f5,0x947,0x956)),'command':z[_0x28bc81(0x236,0x431,0x296,0x18c)](),'timeout':z[_0x28bc81(0x3ce,0x2cf,0x420,0x244)]()['optional']()}),hookMatcherGroupSchema=z[_0x28bc81(0xa1,0x120,0x265,0xcd)]({'matcher':z[_0x28bc81(0x2d2,0x10d,0x296,0x1d2)]()[_0x5b2413(0x858,0x89e,0x915,0x851)](),'hooks':z[_0x28bc81(0x189,0x2a2,0x2fa,0x517)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5b2413(0x3f6,0x526,0x604,0x59c)]({'PreToolUse':z['array'](hookMatcherGroupSchema)[_0x28bc81(0x476,0x41c,0x576,0x497)](),'PostToolUse':z[_0x5b2413(0x792,0x6b3,0x699,0x626)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x28bc81(0x1e5,0x107,0x2fa,0x4fa)](hookMatcherGroupSchema)[_0x28bc81(0x56a,0x3dc,0x576,0x4dd)](),'Stop':z[_0x5b2413(0x5a2,0x524,0x699,0x7db)](hookMatcherGroupSchema)[_0x5b2413(0x961,0xb34,0x915,0xa14)](),'Notification':z[_0x5b2413(0x5ef,0x78d,0x699,0x4b6)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)[_0x28bc81(0x45c,0x52d,0x576,0x70d)](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x5b2413(0xa40,0x9a1,0x915,0x833)](),'SessionEnd':z['array'](hookMatcherGroupSchema)['optional']()}),agentModelSetNameSchema=z[_0x28bc81(0x3a8,0x219,0x296,0xd6)]()[_0x5b2413(0x5c2,0x6a1,0x597,0x769)](isValidAgentModelSetName,_0x5b2413(0x85c,0x9ef,0x8e9,0x951)),agentModelSelectorSchema=z[_0x28bc81(0x284,0x239,0x296,0x173)]()['refine'](_0xe2f346=>parseProviderQualifiedModelSelector(_0xe2f346)!==void 0x0,'Expected\x20a\x20canonical\x20provider-qualified\x20model\x20selector'),agentModelSetSchema=z['object']({'fast':agentModelSelectorSchema[_0x28bc81(0x3a3,0x747,0x576,0x44d)](),'balanced':agentModelSelectorSchema[_0x28bc81(0x373,0x3ce,0x576,0x468)](),'powerful':agentModelSelectorSchema[_0x5b2413(0x997,0x84a,0x915,0xa9c)]()})[_0x28bc81(0x531,0x6d8,0x5c3,0x615)]()['refine'](_0x58269b=>Object[_0x5b2413(0x797,0x586,0x616,0x4c7)](_0x58269b)[_0x5b2413(0x717,0xa18,0x8e8,0x925)]>0x0,_0x5b2413(0x6be,0x8c6,0x8c9,0x6ff)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)['superRefine']((_0x14e130,_0x22011c)=>{const _0x382f9c={_0x5d3fe3:0x2a4,_0x1033d1:0x2cc,_0x43bd4f:0x229,_0x35bc73:0x2f9,_0xe3460c:0x4e1,_0x467ed8:0x383,_0x114966:0x58b,_0x131875:0x2ec,_0x774c18:0x35e,_0x27b845:0x25a},_0x11d5e9={_0x2732d8:0xfe},_0x5c70d0={_0x303b9f:0x96,_0x5822fa:0x372};function _0x11fd27(_0x10c67f,_0x32154f,_0x10157e,_0x40073d){return _0x5b2413(_0x10c67f-0x19d,_0x32154f-_0x5c70d0._0x303b9f,_0x10c67f- -_0x5c70d0._0x5822fa,_0x32154f);}function _0x2865f2(_0x1d66b6,_0x3bc74f,_0xec2540,_0x548b9c){return _0x5b2413(_0x1d66b6-0x42,_0x3bc74f-_0x11d5e9._0x2732d8,_0x1d66b6- -0x5fd,_0x3bc74f);}for(const _0x43b303 of Object[_0x11fd27(_0x382f9c._0x5d3fe3,0x2c9,_0x382f9c._0x1033d1,0x342)](_0x14e130)){!agentModelSetNameSchema[_0x11fd27(0x3ca,0x5e0,_0x382f9c._0x43bd4f,0x2b4)](_0x43b303)[_0x11fd27(0x4a7,0x584,_0x382f9c._0x35bc73,0x5d3)]&&_0x22011c[_0x11fd27(_0x382f9c._0xe3460c,0x566,0x35c,0x471)]({'code':_0x11fd27(0x446,_0x382f9c._0x467ed8,0x622,_0x382f9c._0x114966),'path':[_0x43b303],'message':_0x2865f2(_0x382f9c._0x131875,0x1e6,_0x382f9c._0x774c18,_0x382f9c._0x27b845)});}}),bashPolicyRuleSchema=z['object']({'id':z[_0x28bc81(0x3a6,0x128,0x296,0x4ae)]()[_0x5b2413(0x5fe,0x827,0x6b7,0x722)]()[_0x28bc81(0x4c1,0x14a,0x340,0x20f)](0x1)[_0x28bc81(0x444,0x41d,0x467,0x606)](0x80),'action':z[_0x5b2413(0x716,0x6e3,0x6b4,0x7af)](['allow',_0x5b2413(0x901,0x739,0x7b6,0x5f3)]),'cwd':z['enum']([_0x5b2413(0x938,0x844,0x8bd,0x6cb),'any-allowed'])[_0x5b2413(0x8e3,0x950,0x915,0x749)](),'commands':z[_0x5b2413(0x561,0x6ac,0x699,0x5a8)](z[_0x5b2413(0x80c,0x5ff,0x635,0x7cd)]()[_0x5b2413(0x7f3,0x81d,0x6df,0x610)](0x1))[_0x5b2413(0x5fa,0x8b1,0x6df,0x8f7)](0x1)})['strict'](),bashPolicyConfigSchema=z[_0x5b2413(0x4d1,0x4e6,0x604,0x5c1)]({'default':z[_0x28bc81(0x42a,0x4a2,0x579,0x52e)](_0x28bc81(0xaa,0x1fa,0x205,0x16d))[_0x5b2413(0x923,0x9d4,0x915,0xa7b)](),'rules':z[_0x28bc81(0x464,0x3e8,0x2fa,0x262)](bashPolicyRuleSchema)[_0x28bc81(0x678,0x67c,0x467,0x350)](0x3e8)})[_0x5b2413(0x90f,0x956,0x962,0xa46)](),fileEditSettingsSchema=z[_0x5b2413(0x570,0x59c,0x604,0x4c0)]({'mode':z['enum'](PRODUCTION_FILE_EDIT_MODES)[_0x5b2413(0xa37,0x954,0x915,0x90b)]()})[_0x28bc81(0x3bd,0x7b8,0x5c3,0x538)](),toolsSettingsSchema=z[_0x28bc81(0x4b,0x344,0x265,0xee)]({'fileEdit':fileEditSettingsSchema[_0x28bc81(0x6c4,0x4d6,0x576,0x3fa)]()})['passthrough'](),cliConfigSchema=z[_0x28bc81(0x13a,0x1c6,0x265,0xa4)]({'activeProvider':providerNameSchema[_0x28bc81(0x582,0x50b,0x576,0x47a)](),'activeModel':z[_0x5b2413(0x71d,0x4da,0x635,0x7f8)]()['optional'](),'agentModelSets':agentModelSetsSchema['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0x28bc81(0x58a,0x755,0x576,0x415)](),'apiKey':z[_0x28bc81(0x359,0x100,0x296,0x370)]()['optional'](),'providers':z[_0x28bc81(0x58,0x207,0x1f0,0x43)](providerNameSchema,providerConfigSchema)[_0x5b2413(0x7e8,0x83c,0x915,0x75c)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x28bc81(0x631,0x627,0x576,0x5ee)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x28bc81(-0x2a,0x71,0x1f0,0x9e)](z['string'](),z['boolean']())[_0x28bc81(0x50a,0x559,0x576,0x39c)](),'allowedDirs':z['array'](z[_0x5b2413(0x6a3,0x62c,0x635,0x523)]())[_0x28bc81(0x5de,0x769,0x576,0x6e6)](),'mcpEnabled':prototypeSafeRecord(z[_0x28bc81(0x5a9,0x737,0x524,0x445)]())[_0x28bc81(0x6a0,0x6ac,0x576,0x533)](),'commandsEnabled':z[_0x5b2413(0x488,0x67f,0x58f,0x683)](z[_0x5b2413(0x761,0x4dc,0x635,0x7c2)](),z[_0x5b2413(0x6cb,0x8ca,0x8c3,0xa68)]())[_0x28bc81(0x5b9,0x59a,0x576,0x41e)](),'memory':memorySettingsSchema[_0x28bc81(0x40e,0x769,0x576,0x6af)](),'session':z['object']({'memPersist':z[_0x28bc81(0x698,0x71c,0x524,0x3e3)]()[_0x5b2413(0x732,0x8a5,0x915,0xb12)](),'persistEventLog':z['boolean']()[_0x5b2413(0x816,0x81e,0x915,0xac3)](),'persistHttpLog':z['boolean']()[_0x5b2413(0xa97,0x9ac,0x915,0xaca)]()})['passthrough']()[_0x28bc81(0x56b,0x603,0x576,0x517)](),'requireToolApproval':z[_0x28bc81(0x307,0x6b1,0x524,0x6ad)]()[_0x5b2413(0x767,0x6fa,0x915,0xa74)](),'thinking':z['object']({'selections':z[_0x5b2413(0x666,0x6a2,0x58f,0x3ad)](z[_0x28bc81(0x230,0x134,0x296,0x4ad)](),z[_0x28bc81(0x9d,0xef,0x296,0x2cf)]())[_0x28bc81(0x503,0x592,0x576,0x6bf)]()})['optional'](),'streamingChunks':z[_0x28bc81(0x668,0x465,0x524,0x434)]()['optional'](),'agentsEnabled':z[_0x5b2413(0x704,0x3fd,0x58f,0x516)](z[_0x28bc81(0x20a,0x2b8,0x296,0x27c)](),z[_0x28bc81(0x4e2,0x515,0x524,0x5d2)]())[_0x5b2413(0x834,0xae3,0x915,0x975)](),'recentModels':z[_0x5b2413(0x60a,0x81c,0x699,0x623)](recentModelSchema)[_0x5b2413(0x6f7,0x7a6,0x915,0x89f)](),'lsp':lspConfigSchema[_0x5b2413(0x9c6,0xb30,0x915,0x798)](),'servers':z[_0x28bc81(0x2f,0x33a,0x1f0,0x318)](z['string'](),serverEndpointSchema)[_0x5b2413(0xacb,0x8e0,0x915,0x9f6)](),'ui':z['object']({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x5b2413(0x86c,0x92f,0x915,0x854)]()})[_0x5b2413(0x8cf,0xa17,0x87e,0x97a)]()[_0x28bc81(0x598,0x662,0x576,0x58c)](),'tools':toolsSettingsSchema[_0x5b2413(0xae7,0x71c,0x915,0x899)](),'hooks':hooksConfigSchema[_0x5b2413(0x7dd,0xaac,0x915,0x7ae)](),'bashPolicy':z[_0x5b2413(0x688,0x64c,0x711,0x86b)]()['optional']()})[_0x28bc81(0x4e0,0x2bd,0x4df,0x61b)](),workspaceOverlaySchema=z['object']({'root':z['string']()[_0x5b2413(0x854,0x9aa,0x915,0xa71)](),'allowedDirs':z[_0x28bc81(0x245,0x403,0x2fa,0x11a)](z[_0x28bc81(0x3a2,0xc1,0x296,0x277)]())[_0x5b2413(0x935,0xb29,0x915,0x9cf)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z['string']()[_0x28bc81(0x585,0x6df,0x576,0x49a)](),'activeAgentModelSet':agentModelSetNameSchema[_0x28bc81(0x5d0,0x5e0,0x576,0x60e)](),'mcp':mcpSettingsSchema[_0x28bc81(0x5c3,0x712,0x576,0x752)](),'skills':skillsSettingsSchema[_0x28bc81(0x37d,0x6f9,0x576,0x702)](),'agents':agentsSettingsSchema[_0x5b2413(0x8be,0x969,0x915,0x9c4)](),'commands':commandsSettingsSchema[_0x28bc81(0x78a,0x355,0x576,0x508)](),'hooks':hooksConfigSchema[_0x28bc81(0x5fc,0x573,0x576,0x35d)](),'memory':memorySettingsSchema[_0x28bc81(0x5e9,0x43a,0x576,0x78b)](),'mcpEnabled':prototypeSafeRecord(z[_0x28bc81(0x4b7,0x6e2,0x524,0x601)]())['optional'](),'skillsEnabled':z[_0x28bc81(0x2e,0x16d,0x1f0,0x3c8)](z[_0x28bc81(0x2e7,0x139,0x296,0x371)](),z[_0x28bc81(0x31e,0x406,0x524,0x423)]())['optional'](),'agentsEnabled':z[_0x5b2413(0x4b1,0x603,0x58f,0x47b)](z[_0x28bc81(0x427,0x1d0,0x296,0x223)](),z['boolean']())[_0x28bc81(0x61e,0x557,0x576,0x63c)](),'commandsEnabled':z[_0x28bc81(0x25d,0x138,0x1f0,0x6)](z[_0x28bc81(0x2a6,0x100,0x296,0x16b)](),z[_0x5b2413(0x830,0x841,0x8c3,0x724)]())[_0x5b2413(0xa45,0x777,0x915,0xa4d)](),'bashPolicy':z[_0x28bc81(0x2b5,0x549,0x372,0x164)]()[_0x28bc81(0x70b,0x3be,0x576,0x5ab)](),'tools':toolsSettingsSchema['optional']()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object[_0x5b2413(0x693,0x63e,0x76e,0x88b)](Object[_0x28bc81(0x613,0x444,0x490,0x423)]),'prototype']);function buildDescription2(_0x2d1991){const _0x335918={_0xc91e74:0x669,_0x17aace:0x78b,_0x23af0c:0x88d,_0x398717:0x5f5,_0x5c4407:0x4d0,_0x5b7850:0x696,_0x368b23:0x514,_0x23ead5:0x81e,_0x1f3ae1:0x678,_0x25e909:0x7f6,_0x362223:0x826,_0x312db9:0x79f,_0xed7e69:0x84d,_0x22511c:0x7d8,_0x56ad5f:0x73a,_0x96fcc0:0x875,_0x37973c:0x69f,_0x46c24d:0x4ec},_0x4f4588={_0x1b1ec8:0x1c7,_0x4e0f8c:0x242},_0x1aa12a={_0x5e2a0a:0x6d,_0x83cbfa:0xce,_0x190ecd:0x3f9};if(_0x2d1991[_0x421785(_0x335918._0xc91e74,_0x335918._0x17aace,0x8ca,_0x335918._0x23af0c)]===0x0)return[_0x421785(_0x335918._0x398717,_0x335918._0x5c4407,0x600,0x650),_0x583f5f(_0x335918._0x5b7850,0x421,_0x335918._0x368b23,0x505),_0x421785(_0x335918._0x23ead5,_0x335918._0x1f3ae1,_0x335918._0x25e909,0x55a)][_0x421785(_0x335918._0x362223,0x69f,_0x335918._0x312db9,_0x335918._0xed7e69)]('\x0a');function _0x583f5f(_0x5dfd54,_0x330eae,_0x1072d6,_0x2b1a62){return _0x5b2413(_0x5dfd54-_0x1aa12a._0x5e2a0a,_0x330eae-_0x1aa12a._0x83cbfa,_0x1072d6- -_0x1aa12a._0x190ecd,_0x330eae);}const _0x2d1fba=[_0x421785(0x670,0x4d0,0x658,0x48a),_0x421785(0x635,0x7b0,_0x335918._0x22511c,_0x335918._0x56ad5f),'Available\x20commands:',..._0x2d1991[_0x421785(_0x335918._0x96fcc0,0x813,0x62b,0x842)](_0xe8cb7e=>_0xe8cb7e[_0x583f5f(0xf5,0xa0,0x1c9,0x316)]?'-\x20'+_0xe8cb7e[_0x583f5f(0x2e7,0x26a,0x41c,0x40d)]+'\x20'+_0xe8cb7e[_0x583f5f(0x315,0x38b,0x1c9,0x138)]+':\x20'+_0xe8cb7e[_0x583f5f(0x2a4,0x33e,0x4a8,0x2d3)]:'-\x20'+_0xe8cb7e[_0x421785(0x80e,0x6b8,0x6d9,0x501)]+':\x20'+_0xe8cb7e['description'])];function _0x421785(_0x40b1d4,_0x1318e7,_0x153153,_0x160756){return _0x28bc81(_0x40b1d4-_0x4f4588._0x1b1ec8,_0x1318e7-0x16f,_0x1318e7-_0x4f4588._0x4e0f8c,_0x153153);}return _0x2d1fba[_0x421785(0x51a,_0x335918._0x37973c,0x4e5,_0x335918._0x46c24d)]('\x0a');}function createInvokeCommandTool(_0x25cd65){const _0x52b9b5={_0x34c2ca:0x1a7,_0x5abed9:0xe5,_0x5211d9:0x578,_0x2bb2d1:0x5b2,_0xa8d0c:0x557,_0x24418f:0x699,_0x358c0d:0x36c,_0x3b2556:0x2ea,_0x50d5e6:0x3cb,_0x1725fc:0x25d,_0x22ad63:0x399,_0x44a7a6:0x555,_0x1cb1fd:0x59e,_0x4665de:0xf1,_0x249217:0xf,_0x32531f:0x1b0,_0x152264:0x50b,_0x2a2cc8:0x6f5,_0x3acf5a:0x5cf},_0x50e159={_0x43d5d9:0x57d,_0x135083:0x58d,_0x1e806c:0x38d,_0x3f392d:0x210,_0x1857da:0x123,_0xc1ac48:0xbf,_0x244189:0x206,_0x37fab2:0x403,_0x4aabb5:0x383,_0xf789ed:0x207,_0x5b34b9:0x446,_0x49ac74:0x14,_0x1aba3d:0x55,_0x66ca05:0x61,_0x50fd5c:0x22,_0x546cd8:0x9b,_0x2dbf34:0x4a5,_0x30ff6b:0x138,_0x346483:0x464,_0x58d8cd:0x679,_0x223c66:0x80b,_0x18d030:0x44,_0x1e4784:0x33e,_0x3e77a1:0x2f8,_0xb78070:0x184},_0x3406e9={_0x526c1e:0x1e1},_0x14cefc={_0x56ca04:0x4c,_0x5463ef:0x410},_0x5ccf92={_0x1399e3:0x85,_0x1e3d3a:0x698};function _0x4e5d1a(_0x15da76,_0x34bfca,_0x5f81c0,_0x512505){return _0x5b2413(_0x15da76-0x5,_0x34bfca-0x84,_0x512505- -0x66,_0x34bfca);}function _0x4a14a2(_0x48b5b8,_0xb858d2,_0x507f60,_0x3e9412){return _0x5b2413(_0x48b5b8-0x147,_0xb858d2-_0x5ccf92._0x1399e3,_0x3e9412- -_0x5ccf92._0x1e3d3a,_0xb858d2);}const _0x1806cc=new Map(_0x25cd65[_0x4a14a2(-_0x52b9b5._0x34c2ca,0x20a,_0x52b9b5._0x5abed9,0x67)][_0x4a14a2(0x450,0x261,0x2fc,0x2d8)](_0x14b0cc=>[_0x14b0cc['id'],_0x14b0cc])),_0x4eda96=buildDescription2(_0x25cd65[_0x4e5d1a(_0x52b9b5._0x5211d9,_0x52b9b5._0x2bb2d1,_0x52b9b5._0xa8d0c,_0x52b9b5._0x24418f)]);return defineTool({'name':_0x4a14a2(_0x52b9b5._0x358c0d,_0x52b9b5._0x3b2556,0x421,0x2c6),'permissionClass':_0x4a14a2(0x62,_0x52b9b5._0x50d5e6,0x372,_0x52b9b5._0x1725fc),'description':_0x4eda96,'inputSchema':{'type':_0x4e5d1a(_0x52b9b5._0x2bb2d1,_0x52b9b5._0x22ad63,_0x52b9b5._0x44a7a6,_0x52b9b5._0x1cb1fd),'properties':{'name':{'type':_0x4a14a2(_0x52b9b5._0x4665de,_0x52b9b5._0x249217,-_0x52b9b5._0x32531f,-0x63)},'args':{'type':_0x4e5d1a(_0x52b9b5._0x152264,_0x52b9b5._0x2a2cc8,0x704,_0x52b9b5._0x3acf5a)}},'required':['name']},async *'execute'(_0x11fc06){const _0x11793a=_0x1806cc['get'](_0x11fc06[_0xcebf36(_0x50e159._0x43d5d9,_0x50e159._0x135083,0x468,_0x50e159._0x1e806c)]);function _0xcebf36(_0xea5f70,_0x6221b7,_0xe7728c,_0x3c8379){return _0x4a14a2(_0xea5f70-_0x14cefc._0x56ca04,_0xea5f70,_0xe7728c-0x14a,_0x6221b7-_0x14cefc._0x5463ef);}if(!_0x11793a){const _0x486e7a=Array[_0x511744(-_0x50e159._0x3f392d,0x28,-_0x50e159._0x1857da,-_0x50e159._0xc1ac48)](_0x1806cc['keys']())['join'](',\x20');throw new ToolExecutionError(_0xcebf36(_0x50e159._0x244189,_0x50e159._0x37fab2,_0x50e159._0x4aabb5,_0x50e159._0xf789ed)+_0x11fc06[_0xcebf36(0x67b,_0x50e159._0x135083,0x3ca,_0x50e159._0x5b34b9)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x486e7a,{'name':_0x11fc06[_0x511744(-_0x50e159._0x49ac74,_0x50e159._0x1aba3d,_0x50e159._0x66ca05,0x1af)]});}const _0x5381ea=await _0x25cd65[_0x511744(_0x50e159._0x50fd5c,0xd6,_0x50e159._0x546cd8,-0x3e)](_0x11793a),_0x2e6bf8=_0x11fc06[_0xcebf36(0x377,_0x50e159._0x2dbf34,0x487,0x685)]??'',_0x4986f0=renderCommandInstructions({'instructions':_0x5381ea[_0xcebf36(0x156,0x336,_0x50e159._0x30ff6b,0x273)],'argumentsText':_0x2e6bf8,'argumentNames':_0x5381ea[_0xcebf36(_0x50e159._0x346483,_0x50e159._0x58d8cd,_0x50e159._0x223c66,0x47d)]});yield createToolOutput(_0x4986f0,{'id':_0x5381ea['id'],'name':_0x5381ea[_0x511744(0x251,-_0x50e159._0x18d030,_0x50e159._0x1e4784,0x1af)],'path':_0x11793a[_0x511744(0x57,_0x50e159._0x3e77a1,0x359,_0x50e159._0xb78070)]['path']});function _0x511744(_0xdb963e,_0x5e1eae,_0x2469ba,_0x260b49){return _0x4e5d1a(_0xdb963e-_0x3406e9._0x526c1e,_0x5e1eae,_0x2469ba-0x96,_0x260b49- -0x600);}return void 0x0;}});}function createKillShellTool(_0x3b4560){const _0x120695={_0x34900d:0x35,_0x5906d7:0x73,_0x3d0ba7:0x2c9,_0x43e6d8:0x7,_0x238e26:0x21,_0x25a33a:0x163,_0x5193c8:0x1d9,_0x19a349:0x2a1,_0x395588:0x1d4,_0x2a447d:0x39},_0x311d94={_0x2a0c95:0x6aa,_0x458141:0x664,_0x586954:0x865,_0x1b2cb9:0x7ec,_0x31ee97:0x811,_0x30c80b:0x82e,_0x2b127a:0x8a2,_0x458efa:0x6ba,_0x40159e:0x935,_0x5a9144:0x74e,_0x516c68:0x451,_0x556d24:0x5f5,_0x4dd976:0x85c,_0x141a61:0x8ad,_0x524fe5:0x6d5,_0x4b09e2:0x731,_0x1f1dd4:0x6ca,_0x4ff804:0x679,_0x3d8659:0x6e9,_0x332627:0x8d3,_0x5456f1:0xa31,_0x41051c:0xad6,_0x13e78e:0x6d0,_0x3e57ab:0x74f,_0xb8c29e:0x90a,_0x10b5f7:0x875,_0x214777:0x7e1,_0x111e44:0x6d6,_0x3dd8d3:0x9a1,_0xa0db50:0x749,_0x572a2d:0xa1e,_0x3cca90:0x6df,_0x21c40f:0x971,_0x466ef5:0x823,_0x5e5e9a:0x8fb,_0x52dee8:0x6a3,_0x505896:0x49e,_0x4125ed:0x6a0,_0x46e3cc:0x75f,_0x5e69b2:0x8b7,_0x24652a:0x6ce},_0x13b84b={_0x474bd4:0x19e};function _0x3bb3db(_0x440488,_0x5cf64d,_0xbafd76,_0x19e03d){return _0x28bc81(_0x440488-0x40,_0x5cf64d-0x179,_0xbafd76-0x4b,_0x5cf64d);}function _0x2f2320(_0x37080b,_0xa47640,_0x5c1a21,_0x39dcf7){return _0x5b2413(_0x37080b-0x193,_0xa47640-_0x13b84b._0x474bd4,_0x5c1a21- -0x5e5,_0x39dcf7);}const {registry:_0x571c3f}=_0x3b4560;return defineTool({'name':_0x2f2320(_0x120695._0x34900d,-_0x120695._0x5906d7,0x127,_0x120695._0x3d0ba7),'permissionClass':'always-confirm','description':_0x2f2320(0x1dd,_0x120695._0x43e6d8,_0x120695._0x238e26,-0xb7),'inputSchema':{'type':_0x2f2320(0xd,-_0x120695._0x25a33a,0x1f,0x8b),'properties':{'shellId':{'type':_0x2f2320(0x239,_0x120695._0x5193c8,0x50,-0x4f)}},'required':[_0x2f2320(_0x120695._0x19a349,0x391,_0x120695._0x395588,-_0x120695._0x2a447d)]},async *'execute'(_0x5a4ca7){const _0x5c5066={_0x43f69e:0x3be},_0x4e42b6={_0x1db943:0x4b,_0x542f31:0x3ac,_0x2b28e1:0x1c2},_0x5056b1=await _0x571c3f[_0x1f784c(_0x311d94._0x2a0c95,_0x311d94._0x458141,_0x311d94._0x586954,_0x311d94._0x1b2cb9)](_0x5a4ca7[_0x1f784c(0x632,0x68b,_0x311d94._0x31ee97,0x9a8)]);function _0x1f784c(_0xefd8e,_0x42600d,_0x1f5e5a,_0x1382c8){return _0x3bb3db(_0xefd8e-_0x4e42b6._0x1db943,_0xefd8e,_0x1f5e5a-_0x4e42b6._0x542f31,_0x1382c8-_0x4e42b6._0x2b28e1);}function _0x2edb57(_0x5ef80e,_0x1f7801,_0x680438,_0x51fe8c){return _0x3bb3db(_0x5ef80e-0x17b,_0x680438,_0x5ef80e-_0x5c5066._0x43f69e,_0x51fe8c-0xf6);}const _0x139baa={'shellId':_0x5056b1[_0x1f784c(_0x311d94._0x30c80b,0x80c,_0x311d94._0x31ee97,_0x311d94._0x2b127a)],'outcome':_0x5056b1[_0x2edb57(0x7bd,_0x311d94._0x458efa,_0x311d94._0x40159e,0x846)],'status':_0x5056b1[_0x1f784c(_0x311d94._0x5a9144,_0x311d94._0x516c68,_0x311d94._0x556d24,0x4d4)],'exitCode':_0x5056b1[_0x1f784c(_0x311d94._0x4dd976,0xab3,_0x311d94._0x141a61,0x89c)],'signal':_0x5056b1['signal'],'error':_0x5056b1[_0x1f784c(0x7a6,0x715,0x7cf,_0x311d94._0x524fe5)],'gracefulRequested':_0x5056b1[_0x1f784c(_0x311d94._0x4b09e2,_0x311d94._0x1f1dd4,_0x311d94._0x4ff804,_0x311d94._0x3d8659)],'forceRequested':_0x5056b1[_0x2edb57(_0x311d94._0x332627,_0x311d94._0x5456f1,0xa6b,_0x311d94._0x41051c)]};if(_0x5056b1['outcome']===_0x1f784c(0x888,0x8c8,0x85a,0x989))throw new ToolExecutionError(_0x2edb57(0x890,_0x311d94._0x13e78e,_0x311d94._0x3e57ab,0x877)+_0x5a4ca7[_0x1f784c(_0x311d94._0xb8c29e,_0x311d94._0x10b5f7,0x811,0x922)]+':\x20'+(_0x5056b1[_0x2edb57(_0x311d94._0x214777,0x5e1,_0x311d94._0x111e44,_0x311d94._0x3dd8d3)]??_0x2edb57(0x87e,_0x311d94._0xa0db50,_0x311d94._0x572a2d,_0x311d94._0x3cca90)),_0x139baa);const _0x644e33=_0x5056b1['outcome']===_0x1f784c(0x928,0x702,0x77d,0x85e)?_0x1f784c(0xaad,0xb7e,_0x311d94._0x21c40f,0xa6e)+_0x5a4ca7[_0x2edb57(_0x311d94._0x466ef5,_0x311d94._0x5e5e9a,0x900,0x61d)]+_0x1f784c(0x65f,_0x311d94._0x52dee8,0x7fc,0x72b)+_0x5056b1[_0x2edb57(0x607,_0x311d94._0x505896,_0x311d94._0x4125ed,0x445)]+'.':_0x2edb57(0x90d,0x725,0x971,_0x311d94._0x46e3cc)+_0x5a4ca7[_0x1f784c(0x943,_0x311d94._0x5e69b2,_0x311d94._0x31ee97,_0x311d94._0x24652a)]+'.';return createToolOutput(_0x644e33,_0x139baa);}});}import _0x568fbe from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x171965=>{const {lookup:_0x19ca09}=await import('dns/promises');return _0x19ca09(_0x171965,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x516393){const _0x411fdb={_0x40ad09:0x723,_0x4d3919:0x60a,_0xda3fc9:0x712,_0x24e343:0x5dc},_0x4a1b55={_0x428812:0x1cc,_0x751daa:0x1c5},_0x373f93={_0x36fdba:0xa5,_0x46af9e:0x168,_0x46aa11:0x78},_0x2bbe85=_0x516393['split']('.');function _0x10ea2d(_0xc99692,_0x23bc9c,_0x21b128,_0x211569){return _0x28bc81(_0xc99692-_0x373f93._0x36fdba,_0x23bc9c-_0x373f93._0x46af9e,_0x211569-_0x373f93._0x46aa11,_0x21b128);}if(_0x2bbe85[_0x4c1a1a(0x556,_0x411fdb._0x40ad09,_0x411fdb._0x4d3919,_0x411fdb._0xda3fc9)]!==0x4)return null;let _0x2c2cc7=0x0;function _0x4c1a1a(_0x1cb064,_0x35f78a,_0x425de4,_0xa4f264){return _0x5b2413(_0x1cb064-0x1eb,_0x35f78a-_0x4a1b55._0x428812,_0x35f78a- -_0x4a1b55._0x751daa,_0x1cb064);}for(const _0x3009ee of _0x2bbe85){if(!/^\d{1,3}$/[_0x4c1a1a(0x3dd,0x54f,_0x411fdb._0x24e343,0x473)](_0x3009ee))return null;const _0x22fa03=Number(_0x3009ee);if(_0x22fa03>0xff)return null;_0x2c2cc7=_0x2c2cc7*0x100+_0x22fa03;}return _0x2c2cc7>>>0x0;}function isBlockedIpv4(_0x3dae4f){const _0x137c69={_0x94b094:0x3cd,_0x1aef31:0x2a2,_0x463ca0:0x46a,_0x1bf64b:0x28f,_0x42020c:0x3b4,_0x19c99c:0x34c,_0x52b0bb:0x2de,_0x38f3d8:0x3e7,_0x51bc7f:0x3e0,_0x40eccf:0x4b7,_0x3e91f7:0x2e9,_0x1c592b:0x2cc,_0x4dae34:0x54b,_0x449241:0x25e,_0x33775e:0x41f,_0x8bb135:0x1db},_0x17f9bf={_0x41ab06:0xa6,_0x2c24ab:0x9},_0x87d8e0={_0x38f069:0x1f4,_0x2c66e9:0x1d6},_0x212a42=ipv4ToInt(_0x3dae4f);if(_0x212a42===null)return!![];const _0x3ee3d7=(_0x4295f7,_0x3bd6bd)=>{const _0x3158d0=ipv4ToInt(_0x4295f7);if(_0x3158d0===null)return![];const _0x257e68=_0x3bd6bd===0x0?0x0:0xffffffff<<0x20-_0x3bd6bd>>>0x0;return(_0x212a42&_0x257e68)===(_0x3158d0&_0x257e68);};function _0x33f1f3(_0x5d05e2,_0x5eb696,_0x52a066,_0x31363f){return _0x28bc81(_0x5d05e2-_0x87d8e0._0x38f069,_0x5eb696-0xc2,_0x5d05e2- -_0x87d8e0._0x2c66e9,_0x5eb696);}function _0x2fe913(_0x1bb971,_0x2818c1,_0xb1427c,_0x3c3ccd){return _0x28bc81(_0x1bb971-_0x17f9bf._0x41ab06,_0x2818c1-_0x17f9bf._0x2c24ab,_0x1bb971- -0x6e,_0x3c3ccd);}return _0x3ee3d7('0.0.0.0',0x8)||_0x3ee3d7(_0x2fe913(_0x137c69._0x94b094,_0x137c69._0x1aef31,_0x137c69._0x463ca0,0x32e),0x8)||_0x3ee3d7(_0x33f1f3(0x352,0x1b5,0x139,0x3fb),0xa)||_0x3ee3d7(_0x33f1f3(0x44,0xd9,0x1a0,-0x72),0x8)||_0x3ee3d7(_0x2fe913(_0x137c69._0x1bf64b,_0x137c69._0x42020c,0x1a7,0x1f9),0x10)||_0x3ee3d7(_0x33f1f3(0x2b4,_0x137c69._0x19c99c,_0x137c69._0x52b0bb,_0x137c69._0x38f3d8),0xc)||_0x3ee3d7(_0x2fe913(_0x137c69._0x51bc7f,0x345,_0x137c69._0x40eccf,0x202),0x18)||_0x3ee3d7(_0x33f1f3(0x436,_0x137c69._0x3e91f7,_0x137c69._0x1c592b,_0x137c69._0x4dae34),0x10)||_0x3ee3d7('198.18.0.0',0xf)||_0x3ee3d7(_0x2fe913(_0x137c69._0x449241,_0x137c69._0x33775e,0x157,0x381),0x4)||_0x3ee3d7(_0x2fe913(0x2fe,0x51a,_0x137c69._0x8bb135,0x3e1),0x4);}function expandIpv6(_0x2b0fc1){const _0x1e1986={_0x1bc042:0x5b5,_0x5d982e:0x51f,_0x299153:0x33d,_0x29c4f9:0x4d7,_0x2113de:0x732,_0x3c1ae4:0x559,_0x58ae76:0x713,_0x1f03fa:0x4fd,_0x575331:0x6fe,_0x1c0440:0x860,_0x45b5ff:0x5cd,_0x52d14e:0x4bf,_0x46cedf:0x431,_0x2b880d:0x3bb,_0xb048ee:0x454,_0x12d85e:0x643,_0xd4545b:0x450,_0x500ba3:0x72b,_0x3430ab:0x90b,_0xf32beb:0x4e1,_0x1319b2:0x330,_0x51caed:0x462},_0x175342={_0x4f14db:0x1ea},_0xb28f2b={_0x1af53c:0x43,_0x16eb8e:0x7d};let _0x4cc0d0=_0x2b0fc1,_0x13edea;const _0x59f22b=_0x4cc0d0[_0xe20648(_0x1e1986._0x1bc042,0x5b4,_0x1e1986._0x5d982e,_0x1e1986._0x299153)](':');function _0x13d72c(_0x3313ae,_0x4119fa,_0x4caeb0,_0x24bd61){return _0x28bc81(_0x3313ae-_0xb28f2b._0x1af53c,_0x4119fa-_0xb28f2b._0x16eb8e,_0x3313ae-0x38b,_0x4caeb0);}_0x4cc0d0[_0xe20648(_0x1e1986._0x29c4f9,_0x1e1986._0x2113de,_0x1e1986._0x3c1ae4,0x3a2)](_0x59f22b+0x1)[_0x13d72c(0x74c,_0x1e1986._0x58ae76,0x907,0x6ed)]('.')&&(_0x13edea=_0x4cc0d0[_0xe20648(_0x1e1986._0x1f03fa,0x4b2,0x559,_0x1e1986._0x575331)](_0x59f22b+0x1),_0x4cc0d0=_0x4cc0d0[_0x13d72c(_0x1e1986._0x1c0440,0x674,0x86f,0x853)](0x0,_0x59f22b+0x1));const _0x46af24=_0x4cc0d0[_0xe20648(0x6d5,0x315,0x4c9,0x46b)]('::');if(_0x46af24['length']>0x2)return null;const _0x59fa7c=_0x5e093f=>_0x5e093f['split'](':')[_0xe20648(0x647,0x53b,0x509,0x2e8)](_0x55966a=>_0x55966a[_0xe20648(0x61a,0x520,0x5cd,0x76a)]>0x0)[_0x13d72c(0x95c,0xabe,0x8b4,0xa9d)](_0x55326d=>Number['parseInt'](_0x55326d,0x10)),_0x42fe3a=_0x46af24[0x0]?_0x59fa7c(_0x46af24[0x0]):[],_0x46a040=_0x46af24[_0xe20648(0x5d6,0x4a9,_0x1e1986._0x45b5ff,0x50b)]===0x2&&_0x46af24[0x1]?_0x59fa7c(_0x46af24[0x1]):[],_0x142f80=[];if(_0x13edea){const _0x2b1360=ipv4ToInt(_0x13edea);if(_0x2b1360===null)return null;_0x142f80[_0xe20648(_0x1e1986._0x52d14e,_0x1e1986._0x46cedf,0x43a,_0x1e1986._0x2b880d)](_0x2b1360>>>0x10&0xffff,_0x2b1360&0xffff);}const _0x16f633=[..._0x46a040,..._0x142f80],_0x31cdd0=0x8-_0x42fe3a[_0xe20648(0x77e,_0x1e1986._0xb048ee,0x5cd,0x63c)]-_0x16f633[_0xe20648(0x4b0,_0x1e1986._0x12d85e,_0x1e1986._0x45b5ff,_0x1e1986._0xd4545b)];if(_0x46af24[_0x13d72c(0x8d4,_0x1e1986._0x500ba3,_0x1e1986._0x3430ab,0x72e)]===0x1)return _0x42fe3a['length']+_0x16f633[_0xe20648(_0x1e1986._0xf32beb,0x58c,0x5cd,0x52d)]===0x8?[..._0x42fe3a,..._0x16f633]:null;if(_0x31cdd0<0x0)return null;function _0xe20648(_0x461ae2,_0x4da973,_0x393fa1,_0x35f5fa){return _0x5b2413(_0x461ae2-_0x175342._0x4f14db,_0x4da973-0x9,_0x393fa1- -0x31b,_0x461ae2);}return[..._0x42fe3a,...new Array(_0x31cdd0)[_0xe20648(0x319,_0x1e1986._0x1319b2,0x459,_0x1e1986._0x51caed)](0x0),..._0x16f633];}function isBlockedIpv6(_0x36ae13){const _0x4a4a45={_0x19b202:0x2b5,_0x24f42c:0x417,_0x464f36:0x546,_0x2c29d3:0x33e,_0x33944f:0x781,_0x5e983e:0x680,_0x13530f:0x821,_0x2bf48d:0x832},_0x951c18={_0x4ab66d:0xef},_0x3e2dfc={_0x48bf56:0x18d};function _0x52de3b(_0x5293e4,_0x10d821,_0x3031a8,_0x216360){return _0x28bc81(_0x5293e4-0x130,_0x10d821-_0x3e2dfc._0x48bf56,_0x3031a8- -0x197,_0x10d821);}const _0x509d94=expandIpv6(_0x36ae13);if(!_0x509d94||_0x509d94[_0x38aacf(0x97b,0x743,0x8e8,0x88c)](_0x5ce550=>Number[_0x38aacf(0x6d8,0x778,0x72a,0x734)](_0x5ce550)))return!![];const _0x23d514=_0x509d94['slice'](0x0,0x7)[_0x52de3b(0xf3,_0x4a4a45._0x19b202,0x2b5,0x3e4)](_0x14bd2d=>_0x14bd2d===0x0);if(_0x23d514&&(_0x509d94[0x7]===0x0||_0x509d94[0x7]===0x1))return!![];if(_0x509d94[_0x52de3b(_0x4a4a45._0x24f42c,_0x4a4a45._0x464f36,_0x4a4a45._0x2c29d3,0x2a4)](0x0,0x5)[_0x38aacf(_0x4a4a45._0x33944f,_0x4a4a45._0x5e983e,_0x4a4a45._0x13530f,0xa2d)](_0x1e8b03=>_0x1e8b03===0x0)&&(_0x509d94[0x5]===0xffff||_0x509d94[0x5]===0x0)){const _0x2de7cb=(_0x509d94[0x6]<<0x10|_0x509d94[0x7])>>>0x0,_0x1a015a=[_0x2de7cb>>>0x18&0xff,_0x2de7cb>>>0x10&0xff,_0x2de7cb>>>0x8&0xff,_0x2de7cb&0xff][_0x38aacf(0x6fc,0xa55,_0x4a4a45._0x2bf48d,0x8a6)]('.');return isBlockedIpv4(_0x1a015a);}const _0x73454=_0x509d94[0x0];if((_0x73454&0xff00)===0xfc00||(_0x73454&0xfe00)===0xfc00)return!![];function _0x38aacf(_0x2ae589,_0x4214c5,_0x216215,_0x1efea1){return _0x5b2413(_0x2ae589-_0x951c18._0x4ab66d,_0x4214c5-0x1c1,_0x216215-0x36,_0x4214c5);}if((_0x73454&0xffc0)===0xfe80)return!![];if((_0x73454&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x5aa90c){const _0x1c7367=isIP(_0x5aa90c);if(_0x1c7367===0x4)return isBlockedIpv4(_0x5aa90c);if(_0x1c7367===0x6)return isBlockedIpv6(_0x5aa90c);return!![];}async function assertPublicUrl(_0x267ff3,_0x1522a1={}){const _0x3c65b6={_0x1596d3:0x1d,_0x24a310:0x1d6,_0x240746:0x76b,_0x5c388b:0x71f,_0x230b51:0xf1,_0x1e4321:0x3e9,_0x53e104:0x88d,_0x26173b:0x32b,_0x267bd0:0x5e6,_0x23a72b:0x551,_0x1f0e4f:0x5ae,_0x552012:0xd3,_0x554092:0xc4,_0x3cfde5:0x395,_0x40a440:0x5c3,_0x5da613:0x644,_0x46e259:0x9b,_0xefb23d:0x5c,_0x40acf1:0x4b5,_0x40ff09:0x29a,_0x2b3d93:0x3d2,_0x4de64f:0x4e0,_0x21b673:0x3b8,_0x26a803:0x382,_0x39cf07:0x2d7,_0x9a832f:0x245,_0xe0c10d:0x556,_0x37f0ab:0x41e,_0x12ff67:0x3e0,_0x53e6fd:0x7a9,_0x190b00:0x79a,_0xa4cdad:0x69a},_0x18d592={_0x53efe7:0x7c,_0xd04b7f:0x1d8,_0x38322f:0x284},_0x557bbf={_0x244eb8:0x112,_0x2e9224:0x508};let _0x4b96a8;try{_0x4b96a8=new URL(_0x267ff3);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x267ff3});}if(_0x4b96a8[_0x1733db(-_0x3c65b6._0x1596d3,0x253,0x2b1,_0x3c65b6._0x24a310)]!==_0x3ea7c9(_0x3c65b6._0x240746,_0x3c65b6._0x5c388b,0x628,0x70d)&&_0x4b96a8[_0x1733db(_0x3c65b6._0x230b51,0x41,_0x3c65b6._0x1e4321,0x1d6)]!==_0x3ea7c9(0x451,0x40e,0x4bd,0x5fb))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x267ff3});if(_0x4b96a8[_0x3ea7c9(0x7b1,_0x3c65b6._0x53e104,0x99a,0x818)]||_0x4b96a8[_0x1733db(_0x3c65b6._0x26173b,_0x3c65b6._0x267bd0,0x5ae,0x406)])throw new ToolExecutionError(_0x3ea7c9(0x6a7,0x4cd,0x71b,_0x3c65b6._0x23a72b),{'url':_0x4b96a8[_0x3ea7c9(0x5c3,0x6ed,0x66f,_0x3c65b6._0x1f0e4f)]+'//'+_0x4b96a8[_0x1733db(0x297,0x9e,-_0x3c65b6._0x552012,_0x3c65b6._0x554092)]+_0x4b96a8['pathname']});const _0x15cd28=_0x4b96a8[_0x3ea7c9(0x545,0x3ea,0x392,_0x3c65b6._0x3cfde5)]['replace'](/^\[|\]$/g,''),_0x52adcd=_0x4b96a8[_0x3ea7c9(_0x3c65b6._0x40a440,0x7d5,_0x3c65b6._0x5da613,0x43e)]+'//'+_0x4b96a8[_0x1733db(0x50,-_0x3c65b6._0x46e259,-_0x3c65b6._0xefb23d,0xc4)]+_0x4b96a8[_0x3ea7c9(_0x3c65b6._0x40acf1,0x4e1,0x297,_0x3c65b6._0x40ff09)];if(isIP(_0x15cd28)){if(isBlockedAddress(_0x15cd28))throw new ToolExecutionError(_0x1733db(_0x3c65b6._0x2b3d93,0x39d,_0x3c65b6._0x4de64f,_0x3c65b6._0x21b673),{'url':_0x52adcd});return _0x4b96a8;}function _0x1733db(_0x9568ca,_0x318263,_0x235d4d,_0x5c2927){return _0x5b2413(_0x9568ca-0xdc,_0x318263-_0x557bbf._0x244eb8,_0x5c2927- -_0x557bbf._0x2e9224,_0x9568ca);}const _0x271773=_0x1522a1[_0x1733db(0x317,0x271,0x4fe,0x459)]??defaultLookup;let _0x5d5ca9;try{_0x5d5ca9=await _0x271773(_0x15cd28);}catch{throw new ToolExecutionError(_0x1733db(0x54a,_0x3c65b6._0x26a803,_0x3c65b6._0x39cf07,0x3bc),{'url':_0x52adcd});}function _0x3ea7c9(_0x1a7393,_0x2210d6,_0x74fb53,_0x2b3284){return _0x28bc81(_0x1a7393-_0x18d592._0x53efe7,_0x2210d6-_0x18d592._0xd04b7f,_0x1a7393-_0x18d592._0x38322f,_0x2210d6);}if(_0x5d5ca9[_0x1733db(_0x3c65b6._0x9a832f,_0x3c65b6._0xe0c10d,_0x3c65b6._0x37f0ab,_0x3c65b6._0x12ff67)]===0x0)throw new ToolExecutionError(_0x3ea7c9(_0x3c65b6._0x53e6fd,_0x3c65b6._0x190b00,0x912,_0x3c65b6._0xa4cdad),{'url':_0x52adcd});for(const {address:_0x1cc6f7}of _0x5d5ca9){if(isBlockedAddress(_0x1cc6f7))throw new ToolExecutionError(_0x1733db(0x336,0xe8,-0x6e,0x156),{'url':_0x52adcd});}return _0x4b96a8;}async function safeFetch(_0x8e3b65,_0x1130aa={},_0x3ab9a6={}){const _0x1d11c3={_0x59b7f9:0x441,_0x367c27:0x43a,_0x544941:0x131,_0x43e27f:0x17,_0x256b25:0x3a,_0x9631f0:0x10f,_0xa17662:0x1e4,_0x40a726:0x35,_0x496152:0xc9,_0x4ad7ed:0x123,_0x17ca1b:0x14e,_0x5ac668:0x14f,_0x3614a7:0x237,_0x292b41:0x3b,_0x1ede28:0x1fe,_0x31a8e8:0x531,_0x2bef5f:0x56b,_0x66f25f:0x44a},_0x30a81d={_0x591c95:0xe,_0x1e1db7:0x1bc},_0x1c447={_0x21390c:0x0},_0x82dc54=_0x3ab9a6[_0x57106e(_0x1d11c3._0x59b7f9,_0x1d11c3._0x367c27,0x2ec,0x37f)]??fetch;function _0x57106e(_0x6a5725,_0x2cdb2f,_0x5e5327,_0x44dc3a){return _0x28bc81(_0x6a5725-0x5e,_0x2cdb2f-_0x1c447._0x21390c,_0x2cdb2f-0x1cb,_0x44dc3a);}const _0xd6b0d8=_0x3ab9a6[_0xece971(-_0x1d11c3._0x544941,_0x1d11c3._0x43e27f,-_0x1d11c3._0x256b25,-0x1fc)]??DEFAULT_MAX_REDIRECTS;function _0xece971(_0x36c1ec,_0x90aa8,_0x3a1a6e,_0x294d78){return _0x28bc81(_0x36c1ec-_0x30a81d._0x591c95,_0x90aa8-0x1b9,_0x90aa8- -_0x30a81d._0x1e1db7,_0x36c1ec);}let _0x43e4e4=_0x8e3b65;for(let _0x300903=0x0;;_0x300903+=0x1){const _0xe85b68=await assertPublicUrl(_0x43e4e4,_0x3ab9a6),_0x373c31=await _0x82dc54(_0xe85b68[_0xece971(_0x1d11c3._0x9631f0,_0x1d11c3._0xa17662,-0x16,_0x1d11c3._0x40a726)](),{..._0x1130aa,'redirect':_0xece971(-0x56,_0x1d11c3._0x496152,0x2c,-_0x1d11c3._0x4ad7ed)}),_0x1396d2=_0x373c31['headers']['get'](_0xece971(0x193,0x32e,_0x1d11c3._0x17ca1b,0x423));if(!REDIRECT_STATUSES[_0xece971(0x173,_0x1d11c3._0x5ac668,_0x1d11c3._0x3614a7,_0x1d11c3._0x292b41)](_0x373c31[_0x57106e(0x4e5,0x3c9,0x38e,0x37c)])||!_0x1396d2)return _0x373c31;if(_0x300903>=_0xd6b0d8)throw new ToolExecutionError(_0xece971(0xf5,_0x1d11c3._0x1ede28,0x2f1,0x229),{'url':_0xe85b68[_0x57106e(_0x1d11c3._0x31a8e8,_0x1d11c3._0x2bef5f,0x6a1,0x60c)]()});_0x43e4e4=new URL(_0x1396d2,_0xe85b68)[_0x57106e(0x70a,0x56b,0x714,_0x1d11c3._0x66f25f)]();}}var USER_AGENT=_0x5b2413(0x7e4,0x85a,0x695,0x875),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2fd469,_0x49cfd5){const _0x20e379={_0x5ef7cb:0x701,_0x512ecf:0x698,_0x149666:0x54a,_0x12c80f:0x6db,_0x45ab70:0x5db,_0x1611e2:0x5be,_0x5f327c:0x77e,_0x486daf:0x7b3,_0x3cda43:0x68c,_0x16be06:0x5b1},_0x366670={_0x20d3d6:0x14e},_0x3c2f5a={_0xfd88cd:0xc6,_0x1958fa:0x255},_0x1d6229=new AbortController();function _0x19a688(_0x20780f,_0x9bd962,_0x2e420e,_0x221d91){return _0x5b2413(_0x20780f-_0x3c2f5a._0xfd88cd,_0x9bd962-0xbb,_0x221d91- -_0x3c2f5a._0x1958fa,_0x20780f);}const _0x5cd4a1=setTimeout(()=>_0x1d6229[_0x19a688(0x7f1,0x7b6,0x5e7,0x628)](new Error('Fetch\x20timed\x20out')),_0x49cfd5),_0x386981=()=>_0x1d6229[_0x4acab0(0x701,0x764,0x78d,0x76a)](_0x2fd469[_0x4acab0(0x6db,0x72b,0x549,0x50a)]);_0x2fd469['aborted']?_0x1d6229[_0x4acab0(_0x20e379._0x5ef7cb,0x505,_0x20e379._0x512ecf,_0x20e379._0x149666)](_0x2fd469[_0x4acab0(_0x20e379._0x12c80f,0x8d8,0x89c,0x5a7)]):_0x2fd469[_0x4acab0(_0x20e379._0x45ab70,0x428,0x6a4,_0x20e379._0x1611e2)](_0x4acab0(0x701,0x630,_0x20e379._0x5f327c,_0x20e379._0x486daf),_0x386981,{'once':!![]});function _0x4acab0(_0x4a100d,_0x18ce02,_0x546ce4,_0x7d7425){return _0x5b2413(_0x4a100d-0xdd,_0x18ce02-_0x366670._0x20d3d6,_0x4a100d- -0x17c,_0x546ce4);}return{'signal':_0x1d6229[_0x19a688(_0x20e379._0x3cda43,0x59f,_0x20e379._0x16be06,0x517)],'cleanup':()=>{clearTimeout(_0x5cd4a1),_0x2fd469['removeEventListener']('abort',_0x386981);}};}function createWebFetchTool(_0x67f65e={}){const _0x257732={_0x2e0ac0:0x8c4,_0x34da50:0x67b,_0x5e370c:0x46a,_0x34882c:0x79b,_0xf0972:0x98a,_0x2db7f1:0x89b,_0x3eab49:0x852,_0x18ec44:0x493,_0x1ccf7f:0x4de,_0x4e4ca5:0x51d,_0x5a3234:0x823,_0x4fc6ed:0x8bc,_0xdf46a1:0x652,_0x113d43:0x7a2,_0x335e1f:0x797,_0x2196de:0x6d8,_0x3cf012:0x530,_0x1677ce:0x64a,_0x3dd32f:0x57c,_0x156438:0x602,_0x50f8a0:0x542,_0x471574:0x380,_0x5372dc:0x4d3,_0x3279fc:0x354,_0x5b8fc0:0x343,_0x45cd5e:0x536,_0xce7bb7:0x7c2,_0x2fa92d:0x659,_0x4aee1e:0x71a,_0x1af6f5:0x5a0,_0x3e2c3e:0x74f,_0x43c787:0x808,_0x3a4637:0x839,_0x5bf2d2:0x82a,_0xae47e0:0x7a4,_0x3f2dba:0x7f6,_0x5ca3e3:0x48e,_0x57dbba:0x461,_0x39d9fa:0x431,_0x104c46:0x577,_0x5c494a:0x44a},_0x495ec8={_0x1e2c17:0x6fa,_0xd3af8f:0x553,_0x3d55b8:0x5c4,_0x1a1176:0x54d,_0x476d57:0x685,_0x16827d:0x5b0,_0x36e8cf:0x710,_0x3be4f4:0x58f,_0x594033:0x5d8,_0x421e28:0x575,_0x2fd23d:0x855,_0x39fc5c:0x63b,_0x465564:0x765,_0x4a723b:0x628,_0x5a2f96:0x73b,_0x2721c7:0x618,_0xf7accb:0x4a3,_0x59399d:0x786,_0xea9bb0:0x7a0,_0x5e23f2:0x997,_0x177e8c:0x6b7,_0x4aae97:0x5a2,_0x24a318:0x819,_0x242ea5:0x70b,_0x572180:0x6c4,_0x4a895c:0x467,_0xdedf75:0x5e5,_0x1cf25f:0x7b7,_0x2aace9:0x6d5,_0x281b19:0x4f6,_0x9f07f8:0x48b,_0xca233d:0x2c6,_0x6bdb10:0x2d2,_0x3040be:0x59d,_0x3d708d:0x9d8,_0x208717:0x88a,_0x592317:0x412,_0x4275d4:0x271,_0x3848f3:0x4f7,_0x4755c1:0x664,_0x2cb598:0x787},_0x161b16={_0x47137f:0x15f,_0x50305e:0x98},_0x2770a4={_0x116e6a:0xd6,_0x1a2085:0xdf,_0x3123d8:0xe},_0x2d1c11={_0x5d891b:0x34},_0x12e66d=_0x67f65e[_0x5b40bc(_0x257732._0x2e0ac0,0x78f,0x620,0x807)]??_0x17a58e(_0x257732._0x34da50,0x5cb,_0x257732._0x5e370c,0x4dc);function _0x17a58e(_0x4ffa9e,_0xe6849c,_0x2568eb,_0xc460ec){return _0x5b2413(_0x4ffa9e-_0x2d1c11._0x5d891b,_0xe6849c-0x15b,_0xc460ec- -0x444,_0xe6849c);}const _0x4264dc=_0x67f65e[_0x5b40bc(_0x257732._0x34882c,_0x257732._0xf0972,_0x257732._0x2db7f1,_0x257732._0x3eab49)]??DEFAULT_TIMEOUT_MS2;function _0x5b40bc(_0x248d9d,_0x283a52,_0x9aef0c,_0x121bc1){return _0x5b2413(_0x248d9d-_0x2770a4._0x116e6a,_0x283a52-_0x2770a4._0x1a2085,_0x121bc1- -_0x2770a4._0x3123d8,_0x9aef0c);}const _0x478119=_0x67f65e[_0x17a58e(_0x257732._0x18ec44,0x2fe,_0x257732._0x1ccf7f,_0x257732._0x4e4ca5)],_0x588da2=new _0x568fbe({'headingStyle':_0x5b40bc(0x9b6,0x6a0,0x62f,0x84f),'codeBlockStyle':_0x5b40bc(_0x257732._0x5a3234,_0x257732._0x4fc6ed,_0x257732._0xdf46a1,_0x257732._0x113d43),'bulletListMarker':'-'});return _0x588da2[_0x5b40bc(_0x257732._0x335e1f,_0x257732._0x2196de,0x5aa,0x728)](['script','style',_0x5b40bc(_0x257732._0x3cf012,_0x257732._0x1677ce,0x715,_0x257732._0x3dd32f),_0x17a58e(_0x257732._0x156438,_0x257732._0x50f8a0,_0x257732._0x471574,_0x257732._0x5372dc),_0x17a58e(_0x257732._0x3279fc,0x191,_0x257732._0x5b8fc0,0x23b),_0x5b40bc(_0x257732._0x45cd5e,_0x257732._0xce7bb7,_0x257732._0x2fa92d,_0x257732._0x4aee1e),_0x5b40bc(_0x257732._0x1af6f5,_0x257732._0x3e2c3e,0x76d,0x6ba),_0x5b40bc(_0x257732._0x43c787,_0x257732._0x3a4637,0x701,_0x257732._0x5bf2d2)]),defineTool({'name':_0x12e66d,'permissionClass':'read','description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x5b40bc(_0x257732._0xae47e0,0x46f,_0x257732._0x3f2dba,0x5f6),'properties':{'description':{'type':'string'},'url':{'type':_0x5b40bc(_0x257732._0x5ca3e3,0x41a,_0x257732._0x57dbba,0x627)}},'required':[_0x17a58e(_0x257732._0x39d9fa,_0x257732._0x104c46,0x533,_0x257732._0x5c494a)]},async *'execute'(_0x36b3b4,_0x147ec2){const _0x54d7c1={_0x501741:0x9f},_0x35d0f2=(await assertPublicUrl(_0x36b3b4[_0x26ce9c(_0x495ec8._0x1e2c17,_0x495ec8._0xd3af8f,0x8c8,0x85f)],{'lookup':_0x478119}))[_0x26ce9c(0x5ab,_0x495ec8._0x3d55b8,_0x495ec8._0x1a1176,_0x495ec8._0x476d57)]();function _0x26ce9c(_0x190055,_0x36174b,_0x179b5b,_0x462487){return _0x5b40bc(_0x190055-_0x161b16._0x47137f,_0x36174b-_0x161b16._0x50305e,_0x36174b,_0x190055- -0x186);}if(_0x147ec2[_0x13ae69(0x752,0x6bf,0x76e,0x841)]['aborted'])throw new ToolExecutionError(_0x26ce9c(_0x495ec8._0x16827d,_0x495ec8._0x36e8cf,0x4ab,_0x495ec8._0x3be4f4),{'url':_0x35d0f2});const _0x505e4c=createTimeoutSignal(_0x147ec2[_0x26ce9c(_0x495ec8._0x594033,0x628,_0x495ec8._0x421e28,0x673)],_0x4264dc);let _0x342454='',_0x44ccc5=0x0,_0x3d7885;try{const _0x4c418a=await safeFetch(_0x35d0f2,{'headers':{'User-Agent':USER_AGENT},'signal':_0x505e4c['signal']},{'lookup':_0x478119});if(!_0x4c418a['ok'])throw new ToolExecutionError(_0x13ae69(0x6d0,_0x495ec8._0x2fd23d,_0x495ec8._0x39fc5c,0x665)+_0x4c418a['status']+'\x20'+_0x4c418a[_0x13ae69(_0x495ec8._0x465564,_0x495ec8._0x4a723b,_0x495ec8._0x5a2f96,0x536)],{'url':_0x35d0f2,'statusCode':_0x4c418a['status']});_0x342454=_0x4c418a[_0x26ce9c(_0x495ec8._0x2721c7,_0x495ec8._0xf7accb,_0x495ec8._0x59399d,_0x495ec8._0xea9bb0)][_0x26ce9c(0x79c,0x740,_0x495ec8._0x5e23f2,_0x495ec8._0x177e8c)]('content-type')??'',_0x44ccc5=_0x4c418a[_0x13ae69(0x4ca,0x4f0,0x601,0x5a1)],_0x3d7885=await _0x4c418a[_0x26ce9c(0x631,_0x495ec8._0x4aae97,0x5a0,_0x495ec8._0x24a318)]();}catch(_0x6f4341){if(_0x6f4341 instanceof ToolExecutionError)throw _0x6f4341;const _0x3cfbe6=_0x6f4341 instanceof Error?_0x6f4341['message']:String(_0x6f4341);throw new ToolExecutionError(_0x3cfbe6,{'url':_0x35d0f2});}finally{_0x505e4c[_0x26ce9c(_0x495ec8._0x242ea5,_0x495ec8._0x572180,0x690,0x520)]();}const _0x486108=new Date()[_0x13ae69(_0x495ec8._0x4a895c,0x528,_0x495ec8._0xdedf75,0x42b)]();let _0x549ac2,_0x53674c;function _0x13ae69(_0x199b81,_0x5b0e53,_0x5aef11,_0x183bfb){return _0x5b40bc(_0x199b81-0xa,_0x5b0e53-0x14c,_0x5aef11,_0x5b0e53- -_0x54d7c1._0x501741);}if(_0x342454['includes']('application/json'))_0x549ac2=_0x13ae69(_0x495ec8._0x1cf25f,_0x495ec8._0x2aace9,_0x495ec8._0x281b19,0x76a)+_0x3d7885+_0x26ce9c(_0x495ec8._0x9f07f8,_0x495ec8._0xca233d,0x43c,_0x495ec8._0x6bdb10),_0x53674c='json';else _0x342454[_0x26ce9c(0x5cc,0x536,0x720,_0x495ec8._0x3040be)](_0x13ae69(_0x495ec8._0x3d708d,0x899,_0x495ec8._0x208717,0x908))?(_0x549ac2=_0x588da2[_0x26ce9c(_0x495ec8._0x592317,0x2e1,0x287,_0x495ec8._0x4275d4)](_0x3d7885),_0x53674c=_0x26ce9c(0x5fc,0x3ed,0x44b,_0x495ec8._0x3848f3)):(_0x549ac2=_0x3d7885,_0x53674c=_0x13ae69(0x850,0x718,_0x495ec8._0x4755c1,_0x495ec8._0x2cb598));return yield createToolOutput(_0x549ac2,{'url':_0x35d0f2,'contentType':_0x342454,'statusCode':_0x44ccc5,'format':_0x53674c,'size':_0x3d7885['length'],'fetchedAt':_0x486108}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x28bc81(0x308,0x1e7,0x23d,0x319);function normalizeUrl(_0x5cce13){const _0x3091e6={_0x3bf171:0xb0,_0x20c0bf:0x48,_0x2606f5:0x124,_0x1596d8:0x74,_0x27b077:0x1c,_0x368848:0x481,_0x45e72c:0x3b3,_0x23b84b:0x2e1,_0x28bb85:0x18a,_0x270cfc:0x341,_0x72ccb:0x661,_0x3d0240:0x51e,_0x5a0b0c:0x5f8,_0x3b4d18:0x41d,_0x19e8d9:0x334,_0x4ca65a:0x2e2,_0x2ef36c:0xaa,_0x6c6865:0x23,_0x1a5ef7:0x3a9},_0x276efa={_0x23232b:0xfe,_0x163e84:0x372};function _0xacd2b(_0x83bac1,_0x57e21f,_0x3fa8d4,_0x59fd49){return _0x5b2413(_0x83bac1-0x96,_0x57e21f-0x3c,_0x57e21f- -0x47d,_0x59fd49);}function _0x53daa9(_0x2235d1,_0x2f06d3,_0x4188c6,_0x16c79c){return _0x28bc81(_0x2235d1-_0x276efa._0x23232b,_0x2f06d3-0xe4,_0x2f06d3- -_0x276efa._0x163e84,_0x2235d1);}try{const _0x2a83b0=new URL(_0x5cce13);for(const _0x354459 of[_0x53daa9(-0x16e,-0x143,-0x91,_0x3091e6._0x3bf171),_0x53daa9(_0x3091e6._0x20c0bf,-0x14,-_0x3091e6._0x2606f5,-0x1e9),'utm_campaign','utm_term',_0x53daa9(-0x1f4,-_0x3091e6._0x1596d8,_0x3091e6._0x27b077,-0xd3),_0xacd2b(0x2dc,_0x3091e6._0x368848,_0x3091e6._0x45e72c,0x4e2),_0xacd2b(_0x3091e6._0x23b84b,_0x3091e6._0x28bb85,0x265,_0x3091e6._0x270cfc),_0xacd2b(_0x3091e6._0x72ccb,_0x3091e6._0x3d0240,_0x3091e6._0x5a0b0c,0x56b),_0xacd2b(_0x3091e6._0x3b4d18,_0x3091e6._0x19e8d9,_0x3091e6._0x4ca65a,0x12d)]){_0x2a83b0[_0x53daa9(_0x3091e6._0x2ef36c,-_0x3091e6._0x6c6865,-0x1e9,0x38)][_0x53daa9(_0x3091e6._0x1a5ef7,0x194,0x1b5,0x268)](_0x354459);}return _0x2a83b0['toString']();}catch{return _0x5cce13;}}function cseDateRestrict(_0x3a4a67){const _0x57bfc2={_0x3b9cc0:0x560,_0x3f8861:0x4d0},_0x484805={_0xe820c5:0x1af,_0x25d776:0x77,_0xb8b89b:0x231},_0x3dd8cb={_0x51d5a8:0x11e,_0x49220d:0x101};function _0x222a9f(_0x274f72,_0xb25ba5,_0x7fc50c,_0x1f26e7){return _0x28bc81(_0x274f72-_0x3dd8cb._0x51d5a8,_0xb25ba5-_0x3dd8cb._0x49220d,_0x7fc50c-0x289,_0xb25ba5);}function _0x39fabc(_0x196668,_0x4cd35a,_0x321ef8,_0x18dab9){return _0x28bc81(_0x196668-_0x484805._0xe820c5,_0x4cd35a-_0x484805._0x25d776,_0x321ef8-_0x484805._0xb8b89b,_0x196668);}if(_0x3a4a67<=0x0)return void 0x0;if(_0x3a4a67<=0x1e)return'd'+Math['max'](0x1,Math['floor'](_0x3a4a67));if(_0x3a4a67<=0x16d)return'm'+Math[_0x39fabc(_0x57bfc2._0x3b9cc0,0x6fa,0x5cb,_0x57bfc2._0x3f8861)](_0x3a4a67/0x1e);return'y'+Math[_0x222a9f(0x70b,0x5d8,0x623,0x417)](_0x3a4a67/0x16d);}function addSiteFilters(_0x3f723d,_0x283931){const _0x7eb723={_0x30d7c9:0x4f3,_0x52fa19:0x1e4,_0x3ef36a:0x4b8,_0x57bb26:0x380,_0x1f47dd:0x646,_0x41817b:0x3c2},_0x4d1ba2={_0x57cc47:0x56},_0x4a41ba={_0x2648b3:0x2bc};if(_0x283931[_0x421318(0x512,0x3d6,0x705,_0x7eb723._0x30d7c9)]===0x0)return _0x3f723d[_0x3e122d(0x421,0x3fb,0x3cf,_0x7eb723._0x52fa19)]();function _0x3e122d(_0x554fb5,_0x2d6a0e,_0x310d55,_0x93819f){return _0x5b2413(_0x554fb5-0x1e2,_0x2d6a0e-0x187,_0x2d6a0e- -_0x4a41ba._0x2648b3,_0x310d55);}function _0x421318(_0x387619,_0x2d0ba3,_0xf5a948,_0x378b0b){return _0x28bc81(_0x387619-0x16f,_0x2d0ba3-0x13a,_0x378b0b- -_0x4d1ba2._0x57cc47,_0x2d0ba3);}return(_0x3f723d+'\x20('+_0x283931['map'](_0x32c9ce=>'site:'+_0x32c9ce)[_0x421318(_0x7eb723._0x3ef36a,0x460,_0x7eb723._0x57bb26,0x407)](_0x421318(_0x7eb723._0x1f47dd,_0x7eb723._0x41817b,0x604,0x46f))+')')['trim']();}function normalizeType(_0x51406a){const _0x449a55={_0x3d229c:0x347,_0x3d4cf6:0x48c,_0xcf4061:0x36d,_0x5d6f51:0x157},_0x46bcb6={_0x4c14b3:0x235},_0x7ef5c0={_0x4e8530:0x50,_0x217d86:0x28b};function _0x13b71b(_0x38ed1c,_0x42b734,_0x4e0e03,_0x1550d5){return _0x28bc81(_0x38ed1c-_0x7ef5c0._0x4e8530,_0x42b734-0x174,_0x1550d5- -_0x7ef5c0._0x217d86,_0x38ed1c);}function _0x21f4f5(_0x3cbd38,_0x5dc228,_0x302f70,_0x734fed){return _0x5b2413(_0x3cbd38-0x162,_0x5dc228-0x1bb,_0x734fed- -_0x46bcb6._0x4c14b3,_0x5dc228);}return _0x51406a===_0x21f4f5(_0x449a55._0x3d229c,0x3ee,0x3f2,_0x449a55._0x3d4cf6)?'images':_0x13b71b(0x104,0x288,_0x449a55._0xcf4061,_0x449a55._0x5d6f51);}async function fetchJson(_0x408d9d,_0x15e0d2,_0x517b1b){const _0x430c14={_0x22b49a:0x4eb,_0x500e7e:0x203,_0x490d58:0x3f5,_0x110a7c:0x3df,_0x1a2521:0x5e1,_0x2be7fd:0x459,_0x1f6fb6:0x4ae,_0x5ca52c:0x35c,_0x69daef:0x2d9,_0xee9627:0x3cf,_0x3c924c:0x2a7,_0x86abe:0x420,_0x434df9:0x593,_0x415dff:0x695,_0x1ebf3c:0x558,_0x246e57:0x53d,_0xee3e69:0x2a1,_0x36b2f3:0x355,_0x1ead43:0x358,_0xd3a32:0x7f2,_0x17a4ff:0x728,_0x141043:0x5ef,_0x283d62:0x156,_0x49f31a:0x7f,_0x9c9a4c:0x3ba,_0x16af87:0x319,_0xb8e17d:0x5d5,_0xf84f53:0x1ff,_0x98302c:0x377,_0x1f2ece:0x2e8,_0x4441bf:0x1dc,_0x360eb7:0x24e},_0x421b09={_0x205c22:0x173,_0x110e7f:0x1e4},_0x22861e={_0x5e980a:0x9e,_0xbd616e:0x4d6};function _0x1dee53(_0x46607d,_0x124cf8,_0x1bf1b7,_0x570dc0){return _0x5b2413(_0x46607d-_0x22861e._0x5e980a,_0x124cf8-0x25,_0x46607d- -_0x22861e._0xbd616e,_0x1bf1b7);}const _0x30dec0=await fetch(_0x408d9d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x29aa95(_0x430c14._0x22b49a,_0x430c14._0x500e7e,_0x430c14._0x490d58,0x509),..._0x517b1b?.['headers']},'signal':_0x15e0d2,..._0x517b1b});if(!_0x30dec0['ok']){let _0x3a371c,_0x309c3d;try{_0x3a371c=await _0x30dec0[_0x29aa95(0x647,_0x430c14._0x110a7c,_0x430c14._0x1a2521,_0x430c14._0x2be7fd)]();const _0x5cca81=JSON[_0x1dee53(_0x430c14._0x1f6fb6,0x3c6,_0x430c14._0x5ca52c,0x6b2)](_0x3a371c),_0x3ec91f=typeof _0x5cca81[_0x1dee53(_0x430c14._0x69daef,_0x430c14._0xee9627,0x35a,0x2b9)]===_0x29aa95(_0x430c14._0x3c924c,0x581,_0x430c14._0x86abe,0x421)?_0x5cca81['detail'][_0x29aa95(0x483,0x394,_0x430c14._0x434df9,_0x430c14._0x415dff)]:void 0x0;_0x309c3d=_0x5cca81['error']?.[_0x1dee53(0x4a7,0x47f,_0x430c14._0x1ebf3c,_0x430c14._0x246e57)]??_0x5cca81[_0x1dee53(_0x430c14._0xee3e69,0x400,_0x430c14._0x36b2f3,0x2f0)]?.[_0x1dee53(_0x430c14._0x1ead43,0x343,0x41b,0x1ce)]?.[0x0]?.[_0x29aa95(_0x430c14._0xd3a32,0x5ff,0x799,_0x430c14._0x17a4ff)]??_0x3ec91f;}catch{}const _0x2970d0=_0x309c3d?_0x29aa95(0x58c,0x829,0x71e,_0x430c14._0x141043)+_0x30dec0[_0x1dee53(0xc7,-_0x430c14._0x283d62,_0x430c14._0x49f31a,0x13a)]+':\x20'+_0x309c3d:_0x1dee53(0x42c,_0x430c14._0x9c9a4c,_0x430c14._0x16af87,0x56e)+_0x30dec0[_0x29aa95(0x3d9,0x43c,0x3b9,_0x430c14._0xb8e17d)]+'\x20'+_0x30dec0[_0x1dee53(_0x430c14._0xf84f53,_0x430c14._0x98302c,0x365,_0x430c14._0x1f2ece)];throw new ToolExecutionError(_0x2970d0,{'statusCode':_0x30dec0['status'],..._0x3a371c?{'body':_0x3a371c}:{}});}function _0x29aa95(_0x9128a6,_0x2fc6ff,_0x566209,_0x549197){return _0x5b2413(_0x9128a6-0x1cb,_0x2fc6ff-_0x421b09._0x205c22,_0x566209- -_0x421b09._0x110e7f,_0x549197);}return await _0x30dec0[_0x1dee53(_0x430c14._0x4441bf,0xe9,_0x430c14._0x360eb7,0xc8)]();}async function hydrateResults(_0x4dbc9d,_0x4aaea0,_0x27b639,_0x1606ae){const _0x3033fa={_0x47c33b:0x7d6,_0x3eff63:0x662,_0x148a14:0xa02,_0x45f40a:0x6e7,_0x2e81ca:0xa19,_0x54cd6c:0x23d},_0x39efb2={_0x3c18be:0x143},_0x458df2={_0x1bfb10:0x84d,_0x563f50:0x6cc,_0x2bd702:0x8d9,_0xeeba4a:0x5c6,_0x627cdc:0x1d3,_0x14011e:0x240,_0x3f6342:0x188,_0x28a05b:0x11d,_0x1c3204:0xa4,_0x355b9b:0x282,_0xc331f3:0x27d,_0x13fcdc:0x61b,_0x3a569b:0x621,_0x55a01b:0x75a,_0x4fc197:0x5be,_0x17959c:0x438,_0x46d7fa:0x6ef,_0x2397c5:0xd8,_0x71c87f:0x3b6,_0x3f4b3c:0x4c8,_0x457286:0x44a,_0x1f7f51:0x4e7,_0x456e38:0x59d,_0x5c5192:0x14a,_0x23a346:0x2fc,_0x5ec4b2:0x329,_0x123cb9:0x3bc,_0x5d663e:0x579,_0x4f0114:0x777,_0x64bb20:0x55c,_0x2405c8:0x79,_0x4a60da:0x93,_0x5c5d2c:0x134,_0x2469c5:0x777,_0x571bef:0x646,_0x19e8ea:0x3c3,_0x2df86e:0x728,_0x8c17dc:0x6f3,_0x29b662:0x7e5,_0xdcaa71:0x657,_0x18e86c:0x58c,_0x519deb:0x17c,_0x457af7:0x3f,_0xc2ff9d:0x7aa,_0x1eebac:0x35d,_0x57f718:0x140,_0x3044cf:0x4b,_0x5c8013:0x4a2,_0x292deb:0x6de,_0x43332b:0x958,_0x13adea:0x502,_0x298079:0x37b},_0x311e92={_0x13bbd0:0x4b},_0x527214=await Promise['all'](_0x4dbc9d[_0x34b874(0x730,_0x3033fa._0x47c33b,0x8dd,0x659)](0x0,0xa)[_0x34b874(0x82c,0xa36,_0x3033fa._0x3eff63,_0x3033fa._0x148a14)](async _0x2b9a6d=>{const _0x202b45={_0x31b7b2:0x541,_0x4e43e5:0x153};function _0x526ffa(_0x467c35,_0x480a4a,_0x309d9c,_0x5193ec){return _0x34b874(_0x467c35- -_0x202b45._0x31b7b2,_0x480a4a-0x1aa,_0x480a4a,_0x5193ec-_0x202b45._0x4e43e5);}function _0x4203a7(_0x39e005,_0x11f285,_0x284ac4,_0x1920ba){return _0x34b874(_0x39e005-_0x311e92._0x13bbd0,_0x11f285-0x14b,_0x11f285,_0x1920ba-0x9e);}try{const _0xfd915=await safeFetch(_0x2b9a6d['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x4aaea0,'Accept':_0x4203a7(_0x458df2._0x1bfb10,0x863,0x734,0x94a)},'signal':_0x27b639},{'lookup':_0x1606ae});if(!_0xfd915['ok'])return _0x2b9a6d;const _0x407ee6=await _0xfd915[_0x4203a7(_0x458df2._0x563f50,0x4f0,0x740,_0x458df2._0x2bd702)](),_0x7402d0=load(_0x407ee6),_0x372e6f=_0x7402d0(_0x4203a7(0x621,0x4c7,0x81b,_0x458df2._0xeeba4a))[_0x526ffa(0x29,_0x458df2._0x627cdc,_0x458df2._0x14011e,-_0x458df2._0x3f6342)](_0x526ffa(0x1e8,_0x458df2._0x28a05b,0x105,0x396))||_0x7402d0(_0x526ffa(-_0x458df2._0x1c3204,-0xdc,-_0x458df2._0x355b9b,-_0x458df2._0xc331f3))['first']()[_0x4203a7(_0x458df2._0x563f50,_0x458df2._0x13fcdc,_0x458df2._0x3a569b,_0x458df2._0x55a01b)]()[_0x4203a7(_0x458df2._0x4fc197,_0x458df2._0x17959c,0x64e,_0x458df2._0x46d7fa)](),_0x2f14f5=_0x7402d0(_0x526ffa(-0xfa,_0x458df2._0x2397c5,-0xd7,-0x286))['attr'](_0x526ffa(0x1e8,0x3e2,0x96,_0x458df2._0x71c87f))||_0x7402d0(_0x4203a7(_0x458df2._0x3f4b3c,_0x458df2._0x457286,_0x458df2._0x1f7f51,0x511))['attr'](_0x4203a7(0x774,0x828,_0x458df2._0x456e38,0x934))||_0x2b9a6d[_0x526ffa(_0x458df2._0x5c5192,0x187,_0x458df2._0x23a346,_0x458df2._0x5ec4b2)],_0x2727bb=_0x7402d0('meta[property=\x27article:published_time\x27]')[_0x4203a7(0x5b5,_0x458df2._0x123cb9,0x53e,_0x458df2._0x5d663e)](_0x4203a7(0x774,_0x458df2._0x4f0114,0x808,_0x458df2._0x64bb20))||_0x7402d0(_0x526ffa(_0x458df2._0x2405c8,-_0x458df2._0x4a60da,_0x458df2._0x5c5d2c,0x292))[_0x4203a7(0x5b5,_0x458df2._0x2469c5,_0x458df2._0x571bef,_0x458df2._0x19e8ea)](_0x4203a7(_0x458df2._0x2df86e,_0x458df2._0x8c17dc,_0x458df2._0x29b662,0x7c0))||_0x2b9a6d[_0x4203a7(0x52e,0x6c0,_0x458df2._0xdcaa71,_0x458df2._0x18e86c)],_0x357eba=_0x7402d0(_0x526ffa(_0x458df2._0x519deb,0x12d,0x27,_0x458df2._0x457af7))[_0x4203a7(0x5b5,_0x458df2._0xc2ff9d,0x634,0x5f5)](_0x526ffa(0x16f,_0x458df2._0x1eebac,_0x458df2._0x57f718,_0x458df2._0x3044cf));return{..._0x2b9a6d,'title':_0x372e6f||_0x2b9a6d[_0x4203a7(0x4e8,0x462,0x61a,_0x458df2._0x5c8013)],'snippet':_0x2f14f5,'url':_0x357eba?normalizeUrl(new URL(_0x357eba,_0x2b9a6d[_0x4203a7(0x795,0x927,_0x458df2._0x292deb,_0x458df2._0x43332b)])[_0x4203a7(_0x458df2._0x571bef,0x70e,0x533,_0x458df2._0x13adea)]()):_0x2b9a6d[_0x526ffa(0x209,0xd2,0x2b7,_0x458df2._0x298079)],'publishedAt':_0x2727bb};}catch{return _0x2b9a6d;}})),_0x29b8d3=new Map(_0x4dbc9d['slice'](0x0,0xa)[_0x34b874(0x82c,0x8cd,_0x3033fa._0x45f40a,_0x3033fa._0x2e81ca)]((_0x483b73,_0x2901d2)=>[_0x483b73[_0x34fbfd(0x225,0x23a,0x334,0x92)],_0x527214[_0x2901d2]]));function _0x34b874(_0x21f39b,_0x5a802a,_0xfd8035,_0xd1704f){return _0x28bc81(_0x21f39b-0x160,_0x5a802a-0x1d,_0x21f39b-0x25b,_0xfd8035);}function _0x34fbfd(_0x23500d,_0x3cefd4,_0xe75dca,_0x1d8789){return _0x5b2413(_0x23500d-0x1c1,_0x3cefd4-_0x39efb2._0x3c18be,_0x23500d- -0x669,_0x1d8789);}return _0x4dbc9d[_0x34fbfd(0x307,0x394,_0x3033fa._0x54cd6c,0x1ec)](_0x49906b=>_0x29b8d3[_0x34b874(0x7ec,0x90c,0x756,0x88a)](_0x49906b[_0x34fbfd(0x225,0xfe,0x2b6,0x15)])??_0x49906b);}function formatResults(_0x30ae97){const _0x4ee1ba={_0x27312e:0x160,_0x4fa33e:0x54,_0xdc4b40:0x215,_0x8d849:0x690,_0x22200d:0x4a9,_0x3f97a2:0x107,_0x3611f3:0x2dd},_0x13518e={_0xa835de:0x49f,_0x4d4d2d:0x38e,_0x556bd2:0x40e,_0x1b54e0:0x1ec,_0x4cb22c:0x172,_0x243304:0x2e2,_0x440bbb:0x4b5,_0x5ca8c9:0x38d,_0x5cd78a:0x647,_0x2f8f86:0x488,_0x339b80:0x484,_0x385afc:0x208,_0x2be143:0x5ed,_0x115819:0x50f},_0xa15fc1={_0x1d29a5:0x1eb,_0x448526:0x150,_0x218d77:0x164},_0x40b6ab={_0x226b15:0xd5,_0x55248d:0xfc};function _0x42a74b(_0x29bceb,_0x575f47,_0xf6a257,_0x4c6138){return _0x5b2413(_0x29bceb-_0x40b6ab._0x226b15,_0x575f47-_0x40b6ab._0x55248d,_0x4c6138- -0x6d3,_0xf6a257);}function _0x3ac0ae(_0x402baa,_0x4edf0c,_0xc71391,_0x53a07a){return _0x28bc81(_0x402baa-_0xa15fc1._0x1d29a5,_0x4edf0c-_0xa15fc1._0x448526,_0x53a07a-_0xa15fc1._0x218d77,_0xc71391);}if(_0x30ae97[_0x42a74b(0x72,_0x4ee1ba._0x27312e,_0x4ee1ba._0x4fa33e,_0x4ee1ba._0xdc4b40)]===0x0)return _0x3ac0ae(_0x4ee1ba._0x8d849,0x441,0x624,_0x4ee1ba._0x22200d);return _0x30ae97[_0x3ac0ae(0x6d9,0x876,0x6c0,0x735)](_0x4894b4=>{const _0xbe8e7c={_0x2cf81b:0x3ae},_0x3ad216={_0x12482c:0x14e,_0x5b4add:0x110},_0x1a0a2e=[_0x4894b4[_0x123a00(0x2e1,0x319,0x62c,_0x13518e._0xa835de)][_0x4bc910(0x210,_0x13518e._0x4d4d2d,_0x13518e._0x556bd2,0x305)]+'.\x20'+_0x4894b4[_0x123a00(0x89,_0x13518e._0x1b54e0,_0x13518e._0x4cb22c,0x296)],_0x4894b4[_0x123a00(0x479,0x5ee,0x41c,0x543)]];if(_0x4894b4[_0x123a00(0x633,0x61b,0x2aa,0x484)])_0x1a0a2e[_0x4bc910(_0x13518e._0x243304,0x430,_0x13518e._0x440bbb,0x47e)](_0x4894b4[_0x123a00(_0x13518e._0x5ca8c9,_0x13518e._0x5cd78a,_0x13518e._0x2f8f86,_0x13518e._0x339b80)]);function _0x123a00(_0x3c1414,_0x401f94,_0x12ee42,_0x45076c){return _0x3ac0ae(_0x3c1414-_0x3ad216._0x12482c,_0x401f94-0xfc,_0x12ee42,_0x45076c- -_0x3ad216._0x5b4add);}if(_0x4894b4[_0x123a00(_0x13518e._0x385afc,0x3b2,0x1ec,0x2dc)])_0x1a0a2e[_0x123a00(_0x13518e._0x2be143,0x5c7,0x567,0x40a)]('Published:\x20'+_0x4894b4[_0x123a00(0x172,0x1b4,0x4c0,0x2dc)]);function _0x4bc910(_0x1d9fb4,_0x4c8cf5,_0x1b41cf,_0x2e4142){return _0x42a74b(_0x1d9fb4-0x50,_0x4c8cf5-0x1ec,_0x1b41cf,_0x4c8cf5-_0xbe8e7c._0x2cf81b);}return _0x1a0a2e[_0x4bc910(0x522,0x4d7,_0x13518e._0x115819,0x51e)]('\x0a');})[_0x42a74b(-0x77,_0x4ee1ba._0x3f97a2,_0x4ee1ba._0x3611f3,0x129)]('\x0a\x0a');}async function searchOllama(_0x396433,_0xce393e,_0x1a3e28){const _0x1dd7f6={_0x1b8967:0x76,_0x3adea1:0xe3,_0x13b698:0x8a,_0x30fd09:0x367,_0x1c53ed:0x9f,_0xf477cc:0x30a,_0xf67c59:0x759,_0x536a91:0x756,_0x5f20dc:0x822,_0x2e0d93:0x672,_0x16d51d:0x9a5,_0xecca5b:0x9e6,_0x26069c:0x70e,_0x5a47a7:0x77b,_0x3b655b:0x57c,_0x4f11b6:0x7ec,_0x17219b:0x65,_0xc665c0:0x438,_0x2cbe5a:0x1b9,_0x40cb2e:0x145,_0x26629e:0x151,_0x3ee1a5:0x21a},_0x5dba27={_0x5506eb:0x7e0,_0xaa9947:0x7a9,_0x299bbf:0x669,_0xee1e31:0x49c,_0x25c390:0x5c4},_0x2c7962={_0x4a4323:0x163,_0x295d4e:0x11f,_0x4a46e4:0x681},_0x1c1c5d={_0xb89af0:0x129},_0x379cca={_0x533671:0x16a,_0x5e24b0:0xe7},_0x5db664={_0x1aea61:0x390},_0x55b6c3=Math['max'](0x1,Math['min'](0xa,_0xce393e[_0x1163d7(0x206,_0x1dd7f6._0x1b8967,_0x1dd7f6._0x3adea1,-_0x1dd7f6._0x13b698)])),_0x15ff66=addSiteFilters(_0xce393e['query'],_0xce393e[_0x1163d7(-_0x1dd7f6._0x30fd09,-_0x1dd7f6._0x1c53ed,-0x160,-_0x1dd7f6._0xf477cc)]),_0x35f634=await fetchJson('https://ollama.com/api/web_search',_0x1a3e28,{'method':_0x3c8841(_0x1dd7f6._0xf67c59,0x811,_0x1dd7f6._0x536a91,_0x1dd7f6._0x5f20dc),'headers':{'Authorization':_0x3c8841(_0x1dd7f6._0x2e0d93,_0x1dd7f6._0x16d51d,0x829,_0x1dd7f6._0xecca5b)+_0x396433[_0x3c8841(0x898,_0x1dd7f6._0x26069c,_0x1dd7f6._0x5a47a7,_0x1dd7f6._0x3b655b)]},'body':JSON[_0x3c8841(0x9a2,0x6eb,_0x1dd7f6._0x4f11b6,0x8c7)]({'query':_0x15ff66,'max_results':_0x55b6c3})});function _0x1163d7(_0x361115,_0x1a1b22,_0x26a6c1,_0x246e17){return _0x28bc81(_0x361115-0x85,_0x1a1b22-0x1d7,_0x26a6c1- -_0x5db664._0x1aea61,_0x246e17);}const _0x2629f1=_0x35f634[_0x1163d7(-_0x1dd7f6._0x17219b,-0x14,-0xc7,-0x2af)]??[];function _0x3c8841(_0x6e28bf,_0x4f60a3,_0x5badae,_0x21ee1a){return _0x5b2413(_0x6e28bf-0xf,_0x4f60a3-_0x379cca._0x533671,_0x5badae- -_0x379cca._0x5e24b0,_0x4f60a3);}const _0x799b9c=_0x2629f1[_0x1163d7(0xb0,0x1bb,0x241,_0x1dd7f6._0xc665c0)]((_0x1b1094,_0x193d3d)=>{const _0x5dee3e=_0x1b1094[_0xb0ccdd(0x73f,_0x5dba27._0x5506eb,_0x5dba27._0xaa9947,_0x5dba27._0x299bbf)]||'';function _0x259044(_0x1329f8,_0x3712b3,_0x59fc0d,_0x167a3e){return _0x1163d7(_0x1329f8-0x4,_0x3712b3-_0x1c1c5d._0xb89af0,_0x1329f8-0x5ff,_0x59fc0d);}function _0xb0ccdd(_0x27a311,_0x2f7c8d,_0x828e21,_0x2c7238){return _0x1163d7(_0x27a311-_0x2c7962._0x4a4323,_0x2f7c8d-_0x2c7962._0x295d4e,_0x2f7c8d-_0x2c7962._0x4a46e4,_0x828e21);}let _0xf97a56;try{_0xf97a56=new URL(_0x5dee3e)[_0x259044(_0x5dba27._0xee1e31,0x4b0,0x677,0x338)];}catch{_0xf97a56=null;}return{'title':_0x1b1094['title']||_0xb0ccdd(_0x5dba27._0x25c390,0x6b0,0x67d,0x8cd),'url':normalizeUrl(_0x5dee3e),'snippet':_0x1b1094[_0x259044(0x73d,0x5ce,0x886,0x53e)]??null,'displayUrl':_0xf97a56,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x193d3d+0x1}};});return{'items':_0x799b9c[_0x1163d7(_0x1dd7f6._0x2cbe5a,0x6a,_0x1dd7f6._0x40cb2e,0xf)](0x0,_0x55b6c3),'engine':_0x1163d7(_0x1dd7f6._0x26629e,0x259,_0x1dd7f6._0x3ee1a5,0x2b5)};}async function searchTavily(_0xf0228c,_0x20e188,_0x27c24b){const _0x3406b={_0x156e9b:0x44a,_0x3a962f:0x267,_0x6f687:0x590,_0x39c147:0x87b,_0x576a93:0x743,_0x35c13d:0x726,_0x34a037:0x598,_0xc3766d:0x90,_0xcf3712:0x4ce,_0x251b65:0x356,_0x20bccc:0x4c1,_0x43a38e:0x77c,_0xd17a10:0x896,_0x423f34:0x84f,_0x13558a:0x767,_0xb0af4:0x633,_0x5ecc77:0x608,_0x1a89ae:0x9fb,_0x5bb20e:0x2ea,_0x51840f:0x213,_0x1aaff2:0x324,_0x43640c:0x1aa,_0x41c704:0x372,_0x430579:0x6b5,_0x54f215:0x5ee,_0x470cb0:0x3d1,_0x523781:0x751,_0x589872:0x33d,_0x4e2a7d:0x4b8,_0x5b6af6:0x59b},_0x1e0043={_0x2db162:0x4cc,_0x1f9314:0x2e3,_0x3a5ff1:0x1b6,_0x4d3d21:0x5,_0x2b5c41:0x10f,_0x33a42e:0x388,_0x1bdb37:0x440},_0x45453e={_0x4fa310:0x18c},_0x647a3d={_0x5e9fa2:0x12d},_0x1284b0=Math[_0x415f6f(0x4a9,_0x3406b._0x156e9b,_0x3406b._0x3a962f,_0x3406b._0x6f687)](0x1,Math[_0x3590f7(_0x3406b._0x39c147,_0x3406b._0x576a93,_0x3406b._0x35c13d,0x8f1)](0x14,_0x20e188['count']));function _0x3590f7(_0x3f89d2,_0x4fbb41,_0x509c43,_0x27b27b){return _0x5b2413(_0x3f89d2-_0x647a3d._0x5e9fa2,_0x4fbb41-0x80,_0x4fbb41-0x64,_0x509c43);}const _0x2db3e4={'query':_0x20e188['query'],'max_results':_0x1284b0,'search_depth':_0xf0228c[_0x3590f7(_0x3406b._0x34a037,0x628,0x530,0x58c)]??_0x415f6f(_0x3406b._0xc3766d,0x1c2,0x1b4,0x34f),'topic':_0xf0228c[_0x415f6f(_0x3406b._0xcf3712,_0x3406b._0x251b65,_0x3406b._0x20bccc,0x50c)]??_0x3590f7(_0x3406b._0x43a38e,0x6a6,_0x3406b._0xd17a10,_0x3406b._0x423f34)};function _0x415f6f(_0xb90f1b,_0x5f6463,_0x4bfaa0,_0x308845){return _0x5b2413(_0xb90f1b-0xcd,_0x5f6463-_0x45453e._0x4fa310,_0x5f6463- -0x3bc,_0x4bfaa0);}if(_0x20e188[_0x3590f7(_0x3406b._0x13558a,_0x3406b._0xb0af4,_0x3406b._0x5ecc77,0x5a0)]['length']>0x0)_0x2db3e4[_0x3590f7(0xa9f,0x9f6,_0x3406b._0x1a89ae,0x82f)]=_0x20e188[_0x415f6f(_0x3406b._0x5bb20e,_0x3406b._0x51840f,_0x3406b._0x1aaff2,0x2b8)];const _0x71e37=await fetchJson('https://api.tavily.com/search',_0x27c24b,{'method':'POST','headers':{'Authorization':_0x415f6f(0x5cd,0x554,0x479,0x60c)+_0xf0228c['tavilyApiKey'],'Content-Type':_0x415f6f(_0x3406b._0x43640c,0x21d,_0x3406b._0x41c704,0x3de)},'body':JSON['stringify'](_0x2db3e4)}),_0x407510=_0x71e37[_0x3590f7(0x5a6,0x6cc,_0x3406b._0x430579,0x72b)]??[],_0x39f026=_0x407510[_0x415f6f(_0x3406b._0x54f215,0x5b4,_0x3406b._0x470cb0,_0x3406b._0x523781)]((_0x135061,_0x6af19f)=>{const _0x4ddf8f={_0x5c6c77:0xb4,_0x2d85bc:0x1ef,_0x2032f8:0xd9},_0x42fe1b=_0x135061[_0x607e11(_0x1e0043._0x2db162,_0x1e0043._0x1f9314,0x3ca,_0x1e0043._0x3a5ff1)]||'';function _0x2489f1(_0x589bde,_0x501a11,_0x194905,_0x553d6b){return _0x3590f7(_0x589bde-0x115,_0x553d6b- -0x517,_0x501a11,_0x553d6b-0x13);}let _0x29c52b;function _0x607e11(_0x253a26,_0x501d62,_0x3c9af1,_0x1c2fb9){return _0x415f6f(_0x253a26-_0x4ddf8f._0x5c6c77,_0x501d62- -_0x4ddf8f._0x2d85bc,_0x1c2fb9,_0x1c2fb9-_0x4ddf8f._0x2032f8);}try{_0x29c52b=new URL(_0x42fe1b)['host'];}catch{_0x29c52b=null;}return{'title':_0x135061[_0x607e11(0x1cd,0x36,-0x1b2,-_0x1e0043._0x4d3d21)]||_0x2489f1(_0x1e0043._0x2b5c41,0x3ac,0x2af,0x2ab),'url':normalizeUrl(_0x42fe1b),'snippet':_0x135061[_0x607e11(0x279,0x2c2,0x17d,0x2a1)]??null,'displayUrl':_0x29c52b,'favicon':null,'publishedAt':null,'source':{'engine':_0x2489f1(0x2f9,_0x1e0043._0x33a42e,0x5b2,_0x1e0043._0x1bdb37),'rank':_0x6af19f+0x1}};});return{'items':_0x39f026[_0x415f6f(_0x3406b._0x589872,_0x3406b._0x4e2a7d,_0x3406b._0x5b6af6,0x2e2)](0x0,_0x1284b0),'engine':'tavily'};}async function searchGoogleCse(_0x36ad63,_0x212cca,_0x1d3b50){const _0x36f20f={_0x4ea3f5:0x63,_0x447d1a:0x1cc,_0x459304:0x2a6,_0x509073:0x1a0,_0x3f2267:0x24d,_0x4f4eb8:0x8a,_0x443458:0x40b,_0x58d110:0x173,_0x496acc:0x77,_0x26b035:0x19f,_0x5c25b7:0x71,_0x3f28b7:0x126,_0x3c8b39:0x1f5,_0x438a8e:0x132,_0x445dee:0x20e,_0x364ba7:0x221,_0x282468:0x14e,_0x230fac:0x91,_0x29395f:0x214,_0x3a9f82:0x1d9,_0xfe0357:0x48,_0x4420d9:0x234,_0x3b0818:0xc1,_0x5095df:0x41e,_0x2ccc33:0x26f,_0x5a0744:0xa7,_0x18046a:0x26d,_0x9d3822:0x14,_0x52c049:0x2cb,_0x1b3eef:0x4c,_0x61a194:0x46,_0x154deb:0x89,_0x5c3c89:0x3c1,_0x255fe9:0x245,_0x162b63:0x126,_0x3593d6:0x1dc,_0x121db6:0x239,_0x37d80f:0x457,_0x16a5bc:0x373,_0x274579:0x2a5,_0x336644:0x167,_0x58b699:0x8,_0x5ebd17:0x15a,_0xdf417:0xc1,_0x26ab65:0x326,_0x55bde7:0x1a9,_0x16aef6:0x2a,_0xa34296:0x1a9,_0x44a7cb:0x122,_0x4a8f4d:0x1b0,_0xc44606:0x369,_0x5589e7:0x21e,_0x56fe63:0x3c8,_0x4e08b8:0x2e1,_0x3c89c9:0x3b,_0x510e0a:0x9e,_0x34bc9d:0x175,_0x22e759:0xb9,_0x53da54:0x1f,_0x424c4b:0x1d,_0x40877d:0x64,_0x5a0f81:0x3a2,_0x414fa3:0x2d8,_0x599979:0x270,_0x4881e0:0xdb,_0xac9ca5:0x15e,_0x47a1a5:0xa6,_0x1b634a:0x211,_0x575069:0xbb,_0x34c3d8:0x133,_0x506c24:0x233,_0x4b4734:0x3a,_0x242d51:0x132,_0x44ef70:0x129,_0x4d4d31:0x228,_0x25579c:0x177,_0x24c365:0x2c4,_0x483e6b:0x11f,_0x4e19fb:0xa0,_0x5f1689:0x2fa,_0x511866:0x538,_0x4bf1d2:0x1c1,_0x511dcc:0x3e1,_0x229c39:0x2bb,_0x1f00c6:0x2ae,_0x379275:0x14b,_0x1636b7:0x490,_0x337d88:0x340,_0x344587:0x109,_0x247bfd:0x4c,_0xfe2299:0xaa,_0x10a93f:0x2,_0x132071:0x237,_0x40eb1f:0x13f,_0x446f4d:0x1b2,_0x285209:0x425,_0xec7dfe:0x4,_0x5cdbd0:0x91,_0x24dbd6:0x21d,_0x45eda0:0x18d,_0x388350:0x17f,_0x109fea:0xf7,_0x463cee:0x107,_0x519be2:0x1f1,_0x536e0d:0x12c,_0x3cdbcb:0x70,_0x54df75:0xdd,_0x16e274:0x3f8,_0x197cde:0x320,_0x43506b:0x333,_0x11de75:0x321,_0x53b200:0x15c,_0x157a0e:0x476,_0x46f0c7:0x242,_0x24abd9:0x1b4,_0x351774:0x1fe},_0x2d4359={_0x37cd41:0x28e},_0x2e8498={_0x11077e:0x229},_0x336f47=Math[_0x233655(_0x36f20f._0x4ea3f5,_0x36f20f._0x447d1a,0x2d,0x1d9)](0x1,Math['min'](0x32,_0x212cca[_0x127798(0x24a,0x448,0x442,_0x36f20f._0x459304)]));if(_0x212cca['offset']+_0x336f47>0x64)throw new ToolExecutionError(_0x127798(0x1fc,_0x36f20f._0x509073,_0x36f20f._0x3f2267,_0x36f20f._0x4f4eb8),{'offset':_0x212cca[_0x233655(0x1fb,0x44e,0x2c8,0x308)],'count':_0x336f47,'maxResults':0x64});function _0x127798(_0x2803aa,_0x586d6f,_0x313dae,_0x3023a0){return _0x28bc81(_0x2803aa-0x91,_0x586d6f-0x46,_0x2803aa- -_0x2e8498._0x11077e,_0x313dae);}const _0x211d60=cseDateRestrict(_0x212cca[_0x233655(_0x36f20f._0x443458,_0x36f20f._0x58d110,0x35c,0x2fa)]),_0x1b7394=addSiteFilters(_0x212cca[_0x233655(-0x70,0x226,_0x36f20f._0x496acc,_0x36f20f._0x26b035)],_0x212cca[_0x233655(-0x26c,0xc4,0x1bf,-0x5e)]);let _0x5bbdb1=0x0;function _0x233655(_0x27274b,_0x101d5f,_0x10f73a,_0x513baf){return _0x28bc81(_0x27274b-0x197,_0x101d5f-0xcb,_0x513baf- -_0x2d4359._0x37cd41,_0x10f73a);}let _0x40bcb7=_0x212cca['offset']+0x1;const _0x19966d=[];while(_0x5bbdb1<_0x336f47){const _0x4b6318=Math[_0x233655(0x2b3,-0x38,_0x36f20f._0x5c25b7,0xb2)](0xa,_0x336f47-_0x5bbdb1),_0x4a6aab=new URL('https://www.googleapis.com/customsearch/v1');_0x4a6aab[_0x127798(_0x36f20f._0x3f28b7,_0x36f20f._0x3c8b39,-0x78,_0x36f20f._0x438a8e)][_0x127798(_0x36f20f._0x445dee,0x148,_0x36f20f._0x364ba7,0x34e)](_0x233655(0x7d,-0x1c7,-_0x36f20f._0x282468,-_0x36f20f._0x230fac),_0x36ad63[_0x233655(-_0x36f20f._0x29395f,-0x1f,_0x36f20f._0x3a9f82,-_0x36f20f._0xfe0357)]),_0x4a6aab[_0x233655(_0x36f20f._0x4420d9,-0xe4,0x232,_0x36f20f._0x3b0818)]['set']('cx',_0x36ad63['googleCseCx']),_0x4a6aab['searchParams'][_0x127798(_0x36f20f._0x445dee,_0x36f20f._0x5095df,_0x36f20f._0x2ccc33,_0x36f20f._0x5a0744)]('q',_0x1b7394),_0x4a6aab[_0x127798(_0x36f20f._0x3f28b7,_0x36f20f._0x18046a,-_0x36f20f._0x9d3822,0x1d4)][_0x233655(_0x36f20f._0x52c049,_0x36f20f._0x1b3eef,_0x36f20f._0x61a194,0x1a9)](_0x233655(0x190,_0x36f20f._0x154deb,_0x36f20f._0x5c3c89,_0x36f20f._0x255fe9),String(_0x4b6318)),_0x4a6aab[_0x127798(_0x36f20f._0x162b63,0x1cb,-0x7,-0x90)]['set'](_0x233655(0x34c,0x249,0x28c,0x321),String(_0x40bcb7)),_0x4a6aab['searchParams'][_0x127798(0x20e,0x293,_0x36f20f._0x3593d6,0x302)](_0x233655(_0x36f20f._0x121db6,_0x36f20f._0x37d80f,0x291,0x305),_0x212cca[_0x127798(0x36a,_0x36f20f._0x16a5bc,0x2e6,_0x36f20f._0x274579)]?_0x127798(_0x36f20f._0x336644,0x43,0x2fe,0x164):_0x233655(0x277,0x1de,-_0x36f20f._0x58b699,0xb0));_0x212cca['lang']&&(_0x4a6aab[_0x233655(0x18,0x1b7,-_0x36f20f._0x5ebd17,_0x36f20f._0xdf417)][_0x233655(_0x36f20f._0x26ab65,0x302,0x49,_0x36f20f._0x55bde7)]('hl',_0x212cca[_0x127798(_0x36f20f._0x16aef6,_0x36f20f._0xa34296,-_0x36f20f._0x44a7cb,0x58)]),_0x4a6aab[_0x233655(0x13a,-0x2f,0xad,_0x36f20f._0x3b0818)][_0x127798(0x20e,_0x36f20f._0x4a8f4d,0x429,0x85)]('lr',_0x127798(_0x36f20f._0xc44606,_0x36f20f._0x5589e7,_0x36f20f._0x56fe63,_0x36f20f._0x4e08b8)+_0x212cca[_0x233655(-0x171,0x11a,-0x92,-_0x36f20f._0x3c89c9)]));if(_0x212cca[_0x233655(_0x36f20f._0x510e0a,-_0x36f20f._0x34bc9d,0x263,0x64)])_0x4a6aab[_0x127798(0x126,0x335,0x2f8,-_0x36f20f._0x22e759)]['set']('gl',_0x212cca[_0x233655(_0x36f20f._0x53da54,-_0x36f20f._0x424c4b,-0x17b,_0x36f20f._0x40877d)][_0x127798(_0x36f20f._0x5a0f81,0x19e,0x26b,_0x36f20f._0x414fa3)]());if(_0x212cca[_0x127798(0x10e,_0x36f20f._0x599979,-_0x36f20f._0x4881e0,_0x36f20f._0xac9ca5)]===_0x233655(-_0x36f20f._0x47a1a5,_0x36f20f._0x1b634a,-_0x36f20f._0x575069,0x94))_0x4a6aab['searchParams'][_0x127798(0x20e,_0x36f20f._0x34c3d8,0x255,0x271)]('searchType','image');if(_0x211d60)_0x4a6aab[_0x233655(0x28a,_0x36f20f._0x506c24,_0x36f20f._0x4b4734,0xc1)][_0x127798(0x20e,_0x36f20f._0x242d51,_0x36f20f._0x44ef70,0x16a)](_0x127798(_0x36f20f._0x4d4d31,0x47,0x74,0x35b),_0x211d60);const _0x353dbd=await fetchJson(_0x4a6aab[_0x127798(_0x36f20f._0x25579c,_0x36f20f._0x24c365,0xd5,0xc2)](),_0x1d3b50),_0x13e27a=_0x353dbd[_0x127798(0x11f,_0x36f20f._0x483e6b,-_0x36f20f._0x4e19fb,-0x96)]??[];if(_0x13e27a[_0x127798(0x320,_0x36f20f._0x5f1689,0x47b,_0x36f20f._0x511866)]===0x0)break;const _0x444997=_0x5bbdb1;for(let _0x339d71=0x0;_0x339d71<_0x13e27a[_0x233655(_0x36f20f._0x4bf1d2,_0x36f20f._0x511dcc,_0x36f20f._0x364ba7,_0x36f20f._0x229c39)];_0x339d71++){const _0x1fb386=_0x13e27a[_0x339d71];if(!_0x1fb386)continue;const _0x1cb4dc=_0x1fb386[_0x127798(0x22e,0x139,0x310,_0x36f20f._0x52c049)]||_0x1fb386[_0x127798(_0x36f20f._0x1f00c6,_0x36f20f._0x379275,_0x36f20f._0x1636b7,_0x36f20f._0x337d88)]?.['contextLink']||'',_0x270b54=_0x1fb386[_0x233655(-_0x36f20f._0x58d110,-_0x36f20f._0x4d4d31,_0x36f20f._0x344587,-_0x36f20f._0x247bfd)]||_0x1fb386['image']?.[_0x233655(_0x36f20f._0xfe2299,-0x24f,_0x36f20f._0x10a93f,-0x4c)]||_0x233655(_0x36f20f._0x132071,-0xb5,0x308,0x131),_0x5d7f2a=_0x1fb386['snippet']||_0x1fb386[_0x127798(_0x36f20f._0x40eb1f,-0x8d,0x0,0x286)]?.['replace'](/<[^>]+>/g,''),_0x163aec=_0x1fb386[_0x233655(_0x36f20f._0x446f4d,_0x36f20f._0x285209,0x114,0x277)]?.['metatags']?.[0x0]??{};let _0x294863;try{_0x294863=new URL(_0x1cb4dc)[_0x127798(_0x36f20f._0xec7dfe,_0x36f20f._0x5cdbd0,-0x8,-_0x36f20f._0x24dbd6)];}catch{_0x294863=null;}_0x19966d[_0x127798(_0x36f20f._0x45eda0,_0x36f20f._0x388350,_0x36f20f._0x109fea,0x335)]({'title':_0x270b54,'url':normalizeUrl(_0x1cb4dc),'snippet':_0x5d7f2a??null,'displayUrl':_0x294863,'favicon':null,'publishedAt':_0x163aec[_0x127798(_0x36f20f._0x4bf1d2,_0x36f20f._0x40877d,0x36c,_0x36f20f._0x463cee)]||_0x163aec[_0x233655(_0x36f20f._0x519be2,_0x36f20f._0x536e0d,-_0x36f20f._0x3cdbcb,_0x36f20f._0x54df75)]||null,'source':{'engine':_0x127798(0x3c4,_0x36f20f._0x16e274,0x545,0x521),'rank':_0x444997+_0x339d71+0x1}});}_0x5bbdb1+=_0x13e27a[_0x127798(_0x36f20f._0x197cde,0x273,_0x36f20f._0x43506b,0x4ad)],_0x40bcb7+=_0x13e27a[_0x127798(0x320,_0x36f20f._0x11de75,0x26b,_0x36f20f._0x53b200)];if(_0x13e27a[_0x127798(0x320,_0x36f20f._0x157a0e,_0x36f20f._0x46f0c7,0x289)]<_0x4b6318)break;}return _0x19966d[_0x233655(_0x36f20f._0x24abd9,0x2d7,_0x36f20f._0x351774,0x247)](0x0,_0x336f47);}function isGoogleCseEngine(_0x3af45f){const _0x46a81c={_0x266034:0x120,_0x1098f4:0x1af,_0x5eddf1:0x1a9},_0x59d744={_0x37459a:0xac,_0x1a1fa4:0x2d,_0x41e235:0x43c};function _0x466878(_0x3244df,_0x52f6c5,_0x5bde82,_0x35e39b){return _0x5b2413(_0x3244df-_0x59d744._0x37459a,_0x52f6c5-_0x59d744._0x1a1fa4,_0x35e39b- -_0x59d744._0x41e235,_0x52f6c5);}return _0x466878(_0x46a81c._0x266034,0x45,_0x46a81c._0x1098f4,_0x46a81c._0x5eddf1)in _0x3af45f;}function isOllamaEngine(_0x181d4c){const _0x5ea647={_0x3b727a:0x58},_0x2d40c1={_0x2d1edf:0x1c9};function _0x782776(_0x20f449,_0x16b37c,_0x22bbf2,_0x4f9c67){return _0x28bc81(_0x20f449-_0x2d40c1._0x2d1edf,_0x16b37c-0x12,_0x22bbf2- -0x27f,_0x20f449);}return _0x782776(0x16e,_0x5ea647._0x3b727a,0x244,0xe8)in _0x181d4c;}function isTavilyEngine(_0x5b8d9e){const _0x4f7e48={_0x2e61de:0x541};function _0x45f125(_0xf70a40,_0x34834e,_0x3b0cf,_0x2bd35e){return _0x5b2413(_0xf70a40-0x100,_0x34834e-0x9c,_0x2bd35e- -0x3e4,_0x34834e);}return _0x45f125(0x552,0x721,_0x4f7e48._0x2e61de,0x518)in _0x5b8d9e;}function createWebSearchTool(_0x59d78d){const _0x22aced={_0x24a7f5:0x9c5,_0x142f03:0x81d,_0x1f59a8:0x413,_0x974103:0x485,_0x1a6054:0x4e7,_0x3c5515:0x8b0,_0x4e463a:0x6ef,_0x2a2680:0x26b,_0x32d731:0x505,_0x3dd6b6:0x6ce,_0x312502:0x46e,_0x498eba:0x32f,_0x2fb1e7:0x513,_0x4a5aae:0x602,_0x295697:0x4ba,_0x3ebdc2:0x44,_0x471f5c:0x191,_0x165ae7:0x56d,_0x4b3592:0x699,_0x27764d:0x5a6,_0x46bd34:0x23d,_0x33ead1:0x35f,_0x28a51f:0x2ff,_0x1a8c48:0x42e,_0x406871:0x1d9,_0x15d560:0x363,_0x107721:0x5ff,_0x508e91:0x62f,_0x518d5e:0x50f,_0x57d54a:0x7a3,_0x4b0bff:0x79d,_0x11eca0:0x89b,_0x18f68f:0x2d8,_0x5c2829:0x79d,_0x51da21:0x7b7},_0x48de8a={_0x37a341:0x675,_0x49fe07:0x828,_0x338112:0x687,_0x56ebe1:0x712,_0x509459:0x74f,_0x174c1b:0x807,_0xef70d5:0x69e,_0x52a8f9:0x328,_0x137cef:0x53e,_0x19b833:0x597,_0x221092:0x745,_0x1c1559:0x406,_0x179547:0x5fd,_0x1e8976:0x789,_0x2b29be:0x783,_0x9f0d0e:0x630,_0x3fde17:0x150,_0x2e5a03:0x3cb,_0x44e21e:0x6ac,_0x5be2f7:0x620,_0x527bf7:0x829,_0x378212:0x7df,_0x127966:0x53b,_0x529cf0:0x2df,_0x307ce7:0x6f5,_0x5db688:0x781,_0x124ffe:0x768,_0x6584fb:0x650,_0x2f4127:0x7ca,_0x21576e:0x9ba,_0x2201bd:0x79a,_0x3c75f0:0x6d8,_0x1dde2f:0x511,_0x75deb1:0x392,_0x44de55:0x4cf,_0x4ce6b1:0x2ef,_0x153e1b:0x3be,_0x1c89c5:0x747,_0x22699c:0x916,_0xb8335e:0x343,_0x453851:0x4bb,_0x1831ca:0x58e,_0x2e5e7b:0x49b,_0x3a817e:0x92c,_0x449999:0x79a,_0x4e73d4:0x7be,_0x20ddcf:0xad6,_0x10f0d2:0x99e,_0x65bdb0:0x5fd,_0x28f6a1:0xa81,_0x1a8de6:0x975,_0x493c0f:0xb5e,_0x583bea:0x8a6,_0x5572c1:0x955,_0x59fe09:0x937,_0x29823f:0x955,_0x45a047:0x722,_0xbd4846:0x1fb,_0x548176:0x82e,_0x68683b:0x6bf,_0x497054:0x29a,_0x28f204:0x870,_0xa321ae:0x6bf,_0x14d01d:0x79b,_0x42562e:0x8fb},_0x49df83={_0x3dbe6e:0xbd},_0x47b6e9={_0x1ee9b5:0xdd};function _0x2b80c3(_0x2cbe07,_0x772a81,_0x3f70d0,_0xaaf166){return _0x5b2413(_0x2cbe07-_0x47b6e9._0x1ee9b5,_0x772a81-0x193,_0x3f70d0- -0x126,_0x2cbe07);}function _0x290c2d(_0x503de4,_0x8dd66f,_0x39b0fe,_0x465844){return _0x28bc81(_0x503de4-0xba,_0x8dd66f-0x143,_0x503de4- -_0x49df83._0x3dbe6e,_0x8dd66f);}if(!_0x59d78d['engines']||_0x59d78d['engines'][_0x2b80c3(_0x22aced._0x24a7f5,_0x22aced._0x142f03,0x7c2,0x84c)]===0x0)throw new Error(_0x290c2d(0x430,_0x22aced._0x1f59a8,0x3e0,_0x22aced._0x974103));const _0x3797e2=_0x59d78d[_0x2b80c3(_0x22aced._0x1a6054,_0x22aced._0x3c5515,_0x22aced._0x4e463a,0x4e6)]??_0x290c2d(0x155,_0x22aced._0x2a2680,-0x75,0x1f9),_0x328cf4=_0x59d78d[_0x290c2d(_0x22aced._0x32d731,_0x22aced._0x3dd6b6,_0x22aced._0x312502,0x639)];return defineTool({'name':_0x3797e2,'permissionClass':'read','description':_0x290c2d(0x48b,_0x22aced._0x498eba,_0x22aced._0x2fb1e7,_0x22aced._0x4a5aae),'inputSchema':{'type':_0x2b80c3(_0x22aced._0x295697,0x502,0x4de,0x3fd),'properties':{'description':{'type':'string'},'query':{'type':_0x290c2d(0x1d9,-_0x22aced._0x3ebdc2,0x3a1,_0x22aced._0x471f5c)},'count':{'type':_0x290c2d(0x363,0x458,_0x22aced._0x165ae7,0x2d2)},'offset':{'type':_0x2b80c3(0x8b9,0x7ff,_0x22aced._0x4b3592,_0x22aced._0x27764d)},'domains':{'type':_0x290c2d(_0x22aced._0x46bd34,_0x22aced._0x33ead1,_0x22aced._0x28a51f,_0x22aced._0x1a8c48),'items':{'type':_0x290c2d(_0x22aced._0x406871,0x148,0x30d,0xdc)}},'recencyDays':{'type':_0x290c2d(_0x22aced._0x15d560,0x327,0x578,0x238)},'lang':{'type':_0x2b80c3(0x66d,0x4b7,0x50f,_0x22aced._0x107721)},'region':{'type':_0x2b80c3(0x341,_0x22aced._0x508e91,_0x22aced._0x518d5e,0x359)},'safe':{'type':_0x2b80c3(_0x22aced._0x57d54a,0x68e,_0x22aced._0x4b0bff,_0x22aced._0x11eca0)},'type':{'type':_0x290c2d(0x1d9,0x373,_0x22aced._0x18f68f,_0x22aced._0x406871)},'hydrateMeta':{'type':_0x2b80c3(0x6bc,0x8f0,_0x22aced._0x5c2829,_0x22aced._0x51da21)}},'required':['query']},async *'execute'(_0x34b218,_0x254773){const _0x22e35c={_0x50e8e:0x590,_0x448508:0x4e8,_0x561faf:0x42e,_0x500169:0x212,_0x1516e5:0x7,_0x113e2f:0xbd,_0x37b396:0x10b},_0xa18fae={_0xc500ec:0x1b7,_0x2975c5:0x1d7},_0x404452={_0x58a815:0x106},_0x526b0e=_0x34b218['query']['trim']();if(!_0x526b0e)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x3bee53={'query':_0x526b0e,'count':Math['max'](0x1,Math[_0x1e4cf5(_0x48de8a._0x37a341,0x64e,_0x48de8a._0x49fe07,0x70d)](0x32,Math[_0x1e4cf5(_0x48de8a._0x338112,_0x48de8a._0x56ebe1,_0x48de8a._0x509459,0x701)](_0x34b218['count']??0xa))),'offset':Math[_0x1e4cf5(0x96e,_0x48de8a._0x174c1b,_0x48de8a._0xef70d5,0x834)](0x0,Math[_0x47956c(0x38f,0x2dc,0x2aa,_0x48de8a._0x52a8f9)](_0x34b218[_0x47956c(0x5d7,_0x48de8a._0x137cef,_0x48de8a._0x19b833,_0x48de8a._0x221092)]??0x0)),'domains':_0x34b218[_0x1e4cf5(0x5e3,_0x48de8a._0x1c1559,0x5ce,_0x48de8a._0x179547)]??[],'recencyDays':Math[_0x1e4cf5(_0x48de8a._0x1e8976,_0x48de8a._0x2b29be,_0x48de8a._0x9f0d0e,0x834)](0x0,Math[_0x47956c(0x250,0x2dc,0x1ec,_0x48de8a._0x3fde17)](_0x34b218[_0x47956c(0x311,0x530,_0x48de8a._0x2e5a03,0x4ee)]??0x0)),'lang':_0x34b218[_0x1e4cf5(0x658,0x841,_0x48de8a._0x44e21e,_0x48de8a._0x5be2f7)]??'en','region':_0x34b218[_0x1e4cf5(_0x48de8a._0x527bf7,_0x48de8a._0x378212,0x80e,0x6bf)]??'','safe':_0x34b218[_0x47956c(0x6a5,_0x48de8a._0x127966,0x69f,0x5f4)]??!![],'type':normalizeType(_0x34b218[_0x47956c(0x136,_0x48de8a._0x529cf0,0x47e,0x304)]),'hydrateMeta':_0x34b218[_0x1e4cf5(0x809,0x8b1,0x5eb,_0x48de8a._0x307ce7)]??![]};let _0x2ed8db=[],_0x43e339='unknown';for(const _0x21787c of _0x59d78d[_0x1e4cf5(0x826,_0x48de8a._0x5db688,0x6a1,_0x48de8a._0x124ffe)]){try{if(isGoogleCseEngine(_0x21787c))_0x2ed8db=await searchGoogleCse(_0x21787c,_0x3bee53,_0x254773[_0x1e4cf5(0x876,_0x48de8a._0x6584fb,0x95e,0x79a)]),_0x43e339=_0x1e4cf5(0xbd8,_0x48de8a._0x2f4127,0xb3c,_0x48de8a._0x21576e);else{if(isOllamaEngine(_0x21787c)){const _0x46fc8a=await searchOllama(_0x21787c,_0x3bee53,_0x254773[_0x1e4cf5(0x824,_0x48de8a._0x2201bd,0x820,_0x48de8a._0x2201bd)]);_0x2ed8db=_0x46fc8a[_0x1e4cf5(_0x48de8a._0x3c75f0,0x8d6,_0x48de8a._0x1dde2f,0x715)],_0x43e339=_0x46fc8a[_0x47956c(0x359,0x32f,0x50c,_0x48de8a._0x75deb1)];}else{if(isTavilyEngine(_0x21787c)){const _0x5eb2de=await searchTavily(_0x21787c,_0x3bee53,_0x254773[_0x47956c(_0x48de8a._0x44de55,0x375,_0x48de8a._0x4ce6b1,_0x48de8a._0x153e1b)]);_0x2ed8db=_0x5eb2de['items'],_0x43e339=_0x5eb2de['engine'];}}}if(_0x2ed8db[_0x1e4cf5(0xb28,0x762,_0x48de8a._0x1c89c5,_0x48de8a._0x22699c)]>0x0)break;}catch(_0xa8c5b6){if(_0x21787c===_0x59d78d[_0x47956c(0x3ec,_0x48de8a._0xb8335e,_0x48de8a._0x453851,0x26d)][_0x59d78d[_0x1e4cf5(0x5e8,0x947,0x86b,_0x48de8a._0x124ffe)]['length']-0x1])throw _0xa8c5b6;}}_0x3bee53['hydrateMeta']&&_0x2ed8db[_0x47956c(0x3b7,0x4f1,_0x48de8a._0x1831ca,_0x48de8a._0x2e5e7b)]>0x0&&(_0x2ed8db=await hydrateResults(_0x2ed8db,_0x3bee53['lang'],_0x254773[_0x1e4cf5(0x8ff,0x73c,_0x48de8a._0x3a817e,_0x48de8a._0x449999)],_0x328cf4));function _0x1e4cf5(_0xfeb7e,_0x1aea7b,_0x4f332b,_0x153ac5){return _0x290c2d(_0x153ac5-0x48a,_0xfeb7e,_0x4f332b-0x1f2,_0x153ac5-_0x404452._0x58a815);}function _0x47956c(_0x41771d,_0x212324,_0x246fdd,_0x4cd7f3){return _0x2b80c3(_0x4cd7f3,_0x212324-_0xa18fae._0xc500ec,_0x212324- -0x2d1,_0x4cd7f3-_0xa18fae._0x2975c5);}const _0x486a2d=new Set();_0x2ed8db=_0x2ed8db['filter'](_0x3e0fbd=>{const _0x1361e2={_0x16f7d8:0x52d},_0x57ec1e={_0x5106e2:0xa5,_0x25fd7c:0x30,_0x392c2d:0xdc},_0x5de5ba=_0x3e0fbd[_0x42ea1c(0x24e,0x57e,0x184,0x38f)][_0x59590b(0x851,0x667,0x82f,_0x22e35c._0x50e8e)]();function _0x59590b(_0x12db80,_0x398e64,_0x3a1f27,_0x1e721d){return _0x1e4cf5(_0x1e721d,_0x398e64-_0x57ec1e._0x5106e2,_0x3a1f27-_0x57ec1e._0x25fd7c,_0x398e64- -_0x57ec1e._0x392c2d);}function _0x42ea1c(_0x467977,_0x1d5a7b,_0x5ce99c,_0x3c3c74){return _0x1e4cf5(_0x1d5a7b,_0x1d5a7b-0x54,_0x5ce99c-0x198,_0x3c3c74- -_0x1361e2._0x16f7d8);}if(!_0x5de5ba||_0x486a2d[_0x59590b(_0x22e35c._0x448508,0x5fc,0x78e,_0x22e35c._0x561faf)](_0x5de5ba))return![];return _0x486a2d[_0x42ea1c(_0x22e35c._0x500169,_0x22e35c._0x1516e5,_0x22e35c._0x113e2f,_0x22e35c._0x37b396)](_0x5de5ba),!![];}),_0x2ed8db=_0x2ed8db[_0x1e4cf5(0xa58,_0x48de8a._0x4e73d4,_0x48de8a._0x20ddcf,_0x48de8a._0x10f0d2)]((_0x59a7aa,_0x178060)=>({..._0x59a7aa,'source':{..._0x59a7aa[_0x1e4cf5(0x8fa,0x737,0xa23,0x818)],'rank':_0x178060+0x1}}));const _0xa53491={};if(_0x3bee53[_0x1e4cf5(0x4c7,0x480,0x47e,_0x48de8a._0x65bdb0)][_0x1e4cf5(_0x48de8a._0x28f6a1,0x8da,_0x48de8a._0x1a8de6,0x916)]>0x0)_0xa53491[_0x1e4cf5(0x59e,0x579,0x587,_0x48de8a._0x65bdb0)]=_0x3bee53[_0x1e4cf5(_0x48de8a._0x6584fb,0x7e3,0x51a,0x5fd)];if(_0x3bee53['recencyDays']>0x0)_0xa53491[_0x1e4cf5(0xa88,_0x48de8a._0x493c0f,_0x48de8a._0x583bea,_0x48de8a._0x5572c1)]=_0x3bee53[_0x1e4cf5(_0x48de8a._0x59fe09,0x982,0x7fb,_0x48de8a._0x29823f)];if(_0x3bee53['lang']!=='en')_0xa53491[_0x1e4cf5(0x437,_0x48de8a._0x45a047,0x590,0x620)]=_0x3bee53[_0x47956c(0x1ba,_0x48de8a._0xbd4846,0x2b,-0x11)];if(_0x3bee53[_0x1e4cf5(_0x48de8a._0x548176,0x6ef,0x4bb,_0x48de8a._0x68683b)])_0xa53491[_0x47956c(0x138,_0x48de8a._0x497054,0x3ca,0xd7)]=_0x3bee53[_0x1e4cf5(0x6cc,0x5d6,_0x48de8a._0x28f204,_0x48de8a._0xa321ae)];return yield createToolOutput(formatResults(_0x2ed8db),{'engine':_0x43e339,'count':_0x2ed8db['length'],'items':_0x2ed8db,'query':_0x3bee53['query'],...Object['keys'](_0xa53491)[_0x1e4cf5(0x877,0x712,0x70e,_0x48de8a._0x22699c)]>0x0?{'appliedFilters':_0xa53491}:{},'offset':_0x3bee53['offset'],'totalRequested':_0x3bee53[_0x1e4cf5(_0x48de8a._0x14d01d,0x638,0x9ab,0x840)],'hydrated':_0x3bee53[_0x1e4cf5(0x7e6,0x8b2,_0x48de8a._0x42562e,0x6f5)]}),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};
|
|
1
|
+
(function(_0x36a970,_0x588f27){const _0x3a0b3b={_0x35a734:0x52,_0x3aa897:0x502,_0x1155b9:0x56a,_0x514135:0x117,_0x9b451c:0x319,_0x358694:0x129,_0x3a5572:0x14c,_0x254373:0x91,_0x4a2543:0xa0,_0x3c8e36:0x671,_0x309874:0x678,_0x558d9d:0x395,_0x4576cd:0x257,_0x5e0ccc:0x40c,_0x27513e:0x188,_0x2bd6ec:0x374,_0x4d685b:0x52d},_0x2acc79={_0x206ee0:0x180},_0x4eb331={_0x3a7420:0xff};function _0xe7cc5f(_0x4f6bdd,_0x45c583,_0x3164e2,_0xa919cd){return _0xa933(_0x4f6bdd-_0x4eb331._0x3a7420,_0xa919cd);}const _0x2cff49=_0x36a970();function _0x42dc36(_0xa1bf65,_0x1a6b71,_0x55f01f,_0x572f5a){return _0xa933(_0x572f5a- -_0x2acc79._0x206ee0,_0x55f01f);}while(!![]){try{const _0x37dedf=-parseInt(_0x42dc36(0x1e0,0x171,_0x3a0b3b._0x35a734,0xd2))/0x1+-parseInt(_0xe7cc5f(0x432,0x39a,_0x3a0b3b._0x3aa897,_0x3a0b3b._0x1155b9))/0x2*(-parseInt(_0x42dc36(0x30f,_0x3a0b3b._0x514135,_0x3a0b3b._0x9b451c,0x17c))/0x3)+-parseInt(_0x42dc36(_0x3a0b3b._0x358694,_0x3a0b3b._0x3a5572,0xaf,_0x3a0b3b._0x254373))/0x4+-parseInt(_0x42dc36(0x1c3,0x127,-0xeb,_0x3a0b3b._0x4a2543))/0x5+parseInt(_0xe7cc5f(0x620,_0x3a0b3b._0x3c8e36,0x463,0x75a))/0x6*(parseInt(_0xe7cc5f(_0x3a0b3b._0x309874,0x52f,0x6e1,0x6cf))/0x7)+-parseInt(_0xe7cc5f(_0x3a0b3b._0x558d9d,0x250,_0x3a0b3b._0x4576cd,_0x3a0b3b._0x5e0ccc))/0x8+parseInt(_0x42dc36(_0x3a0b3b._0x27513e,_0x3a0b3b._0x2bd6ec,_0x3a0b3b._0x4d685b,0x347))/0x9;if(_0x37dedf===_0x588f27)break;else _0x2cff49['push'](_0x2cff49['shift']());}catch(_0xcd7fb){_0x2cff49['push'](_0x2cff49['shift']());}}}(_0x5a62,0x6b215));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 _0x4bb817 from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':'typescriptreact','.js':'javascript','.jsx':_0x16ac01(0x158,0xce,0x29d,0x1e8),'.mjs':_0x5885dd(0x1ea,0x369,-0x46,0x1b9),'.cjs':_0x16ac01(0x136,-0xd6,0x6,0x26),'.mts':_0x16ac01(-0xe4,0x64,0x18d,0x21e),'.cts':_0x16ac01(-0xb2,0x64,-0x188,0xf0),'.json':_0x5885dd(0x2e7,0x39a,0x138,0x31c),'.jsonc':_0x5885dd(0x176,0x7b,0x2d2,0x1bb)};function getLanguageId(_0x55299b){return EXTENSION_TO_LANGUAGE[_0x4bb817['extname'](_0x55299b)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x42d2b1){return pathToFileURL(_0x42d2b1)['toString']();}function textDocumentPosition(_0x20966a){const _0x45c732={_0x5610a1:0x4f5,_0x21462b:0x2df},_0x1effd0={_0xec3f25:0xb0};function _0x21a9f0(_0x2335d6,_0x166c1e,_0x31e38e,_0x37c72f){return _0x16ac01(_0x2335d6-0x1b8,_0x31e38e-0x27a,_0x31e38e-_0x1effd0._0xec3f25,_0x2335d6);}return{'textDocument':{'uri':uriForPath(_0x20966a['file'])},'position':{'line':_0x20966a[_0x21a9f0(0x33c,_0x45c732._0x5610a1,_0x45c732._0x21462b,0x31d)],'character':_0x20966a['character']}};}function normalizeLocations(_0x297ae2){const _0x2d715a={_0x4ac12d:0xb5,_0x52fbec:0x114,_0x1f6456:0x188},_0x2c0df7={_0x12e408:0xe1,_0xfcdae8:0xfb};if(!_0x297ae2)return[];function _0x2b05e1(_0x1937b0,_0x29f9bc,_0x197468,_0x10498b){return _0x16ac01(_0x1937b0-0x1f4,_0x10498b-_0x2c0df7._0x12e408,_0x197468-_0x2c0df7._0xfcdae8,_0x197468);}return Array[_0x2b05e1(-_0x2d715a._0x4ac12d,_0x2d715a._0x52fbec,-_0x2d715a._0x1f6456,0x78)](_0x297ae2)?_0x297ae2:[_0x297ae2];}async function withLspTimeout(_0x3b2da2,_0x70e08d,_0x288131){const _0x619b11={_0xdf5c8f:0x8b4,_0x37cc42:0x9a4,_0x18d4cd:0x86a,_0x108619:0x76b,_0x34d47b:0x4f1,_0x3e7b23:0x53b},_0x45278c={_0x3cfffe:0x3b},_0x6a2dae={_0x5af5f5:0x698,_0x360214:0x18f};if(!Number[_0x27c8ce(0x668,0xa04,0x84c,0x74f)](_0x70e08d)||_0x70e08d<0x1)throw new Error(_0x27c8ce(_0x619b11._0xdf5c8f,_0x619b11._0x37cc42,_0x619b11._0x18d4cd,_0x619b11._0x108619)+_0x288131+':\x20expected\x20a\x20positive\x20number');let _0x329daa;function _0x27c8ce(_0x276993,_0x131ea1,_0x21199b,_0x46b1b6){return _0x16ac01(_0x276993-0x15e,_0x21199b-_0x6a2dae._0x5af5f5,_0x21199b-_0x6a2dae._0x360214,_0x276993);}function _0xa4caea(_0x178d76,_0x26821c,_0x543255,_0x57886a){return _0x16ac01(_0x178d76-0x12d,_0x543255-0x4e5,_0x543255-_0x45278c._0x3cfffe,_0x57886a);}try{return await Promise[_0xa4caea(_0x619b11._0x34d47b,0x670,_0x619b11._0x3e7b23,0x727)]([_0x3b2da2,new Promise((_0x4a6eb8,_0x329afb)=>{const _0xc5441c={_0x5c62cd:0x14,_0x2b9753:0x32d,_0x4397a6:0x15f,_0x4a6919:0x452,_0x1f1712:0x45d,_0x16c989:0x2d3,_0x3683ee:0x2fb};_0x329daa=setTimeout(()=>{function _0x53c8bc(_0x31a465,_0x53fbd,_0x2a52c5,_0x36e714){return _0xa933(_0x36e714- -0x1ce,_0x31a465);}function _0x5ae370(_0x45918c,_0x4fd852,_0x13aa67,_0x4d4d82){return _0xa933(_0x13aa67-0x140,_0x4d4d82);}_0x329afb(new Error(_0x53c8bc(_0xc5441c._0x5c62cd,0x34f,_0xc5441c._0x2b9753,_0xc5441c._0x4397a6)+_0x288131+_0x5ae370(_0xc5441c._0x4a6919,_0xc5441c._0x1f1712,_0xc5441c._0x16c989,_0xc5441c._0x3683ee)+_0x70e08d+'\x20ms'));},_0x70e08d);})]);}finally{if(_0x329daa!==void 0x0)clearTimeout(_0x329daa);}}async function createLspClient(_0x28dec5){const _0x35d616={_0x356422:0x608,_0x564dba:0x8f5,_0x3f0e0d:0x77b,_0x281ed5:0x7fe,_0x18f085:0x605,_0x22fa98:0x59e,_0x272833:0x8b7,_0x5b3962:0x980,_0x1718df:0x797,_0x126793:0x8fc,_0x2c3d70:0x51e,_0x519d7e:0x633,_0x1044f3:0x4ae,_0x56358c:0x5f8,_0x20cdf0:0x503,_0x183d37:0x4c1,_0x52cce6:0x493,_0x25c787:0x58b,_0x4bd91f:0x4fc,_0x263492:0x38d,_0xe94cba:0x7e0,_0x3dcb51:0x579,_0x4e24f0:0x50f,_0xd9d426:0x4c1,_0xa58a3d:0x5ff,_0x240321:0x796,_0x59c202:0x5cc,_0x27e3e5:0x648,_0x471be8:0x663,_0x4875e7:0x6ea,_0x1626a2:0x81c,_0x1f1b89:0x9ed,_0x11c503:0x91d,_0x5f4294:0x569,_0x4fd788:0x2ba,_0x5cca70:0x3c3,_0x52a334:0x51e,_0x1db022:0x768},_0xbbc822={_0xca86ea:0x872,_0x5e08a1:0x97f,_0x3a9cd2:0x82d,_0x5b7f28:0x737,_0x1c27d8:0x7e1,_0x5ace91:0x5cf,_0x344039:0x673,_0x226174:0x74d,_0xcac454:0x757,_0x4018b3:0x72e,_0x2b48f2:0x63a},_0x2a3c84={_0x55975a:0x24,_0x3bfa1a:0x1c2},_0x51d4f0={_0x2df2e7:0x12e},_0x119772={_0x24621c:0x46d},_0x3897df={_0x33ce55:0x122,_0x3d728a:0x252},_0x5bbb8a={_0x257da2:0x3d9,_0x5b14eb:0x5e0},_0x5a1dc1={_0x25a008:0x4a3},_0x9ffe99={_0x4aaccf:0x15e,_0x33eec3:0x386},_0xa081d0={_0x4d781d:0x99,_0x537c75:0x8c},_0x141278={_0x78e7d6:0x8f},_0x4340e3={_0x898b12:0x126},_0x1dd53b={_0x33e6db:0x52f,_0x7dc8b1:0x429,_0x344c8f:0x4dd},_0x184c6e={_0x324fdb:0x16d,_0x55b20c:0xc5,_0x885c43:0x2ed},_0x37ff8b={_0x1be4a4:0x7e7,_0x18a534:0x552,_0x12191b:0x6c6},_0xa2262={_0x4791f3:0x95,_0x5e9fa5:0x145,_0x50a1f6:0x8d},_0x1555d1={_0x38682f:0x4a5,_0x33c59c:0x63f,_0x4446fb:0x670,_0x40624b:0x33c,_0x37f3c2:0x815,_0x5683ec:0x588,_0x24f05f:0x787},_0x1cd1a7={_0x2b5c31:0x17e},_0x21d3ba={_0x3b9c63:0x9d},_0x5ecc73={_0x44b25f:0x734,_0xc781e3:0x45b,_0x2a3666:0x503,_0x3222de:0x829,_0x23621b:0x69d,_0x46997f:0xa25,_0x43bbd5:0x5f1,_0x1d5528:0x5e7,_0x22e61e:0x501,_0xc54f31:0x55c,_0x5d8e2f:0x57b,_0xcd4fc0:0x5ed},_0x7330d1={_0x25fe22:0x30},_0x44fe06={_0x164266:0x360,_0x51004f:0x239,_0xbee8f3:0x34},_0x4086aa={_0x31291d:0x1d7},_0x88e0b2={_0x1459f8:0x1a,_0x215ee9:0x303},_0x388a62=_0x28dec5['handle'][_0x5ae650(_0x35d616._0x356422,0x80c,0x74e,0x920)]['stdout'],_0x5d98bc=_0x28dec5['handle']['process']['stdin'];if(!_0x388a62||!_0x5d98bc)throw new Error(_0x1c61ac(0x77f,_0x35d616._0x564dba,_0x35d616._0x3f0e0d,0x6ba));const _0x307aef=_0x28dec5[_0x1c61ac(0x895,0x68d,0x862,0x9aa)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x57f816=createMessageConnection(new StreamMessageReader(_0x388a62),new StreamMessageWriter(_0x5d98bc));function _0x1c61ac(_0x4df673,_0x5d635b,_0xfc77fa,_0x122c40){return _0x5885dd(_0x4df673-_0x88e0b2._0x1459f8,_0x4df673,_0xfc77fa-0x12e,_0xfc77fa-_0x88e0b2._0x215ee9);}const _0x115c3c=new Map(),_0x1098b3=new Map();let _0x250144=![];const _0x389503=async(_0x5392d2,_0x3d8616)=>{function _0x2e0154(_0x1642f9,_0x99822f,_0x5a7e0b,_0x2a37b9){return _0x5ae650(_0x1642f9-_0x4086aa._0x31291d,_0x99822f-0x6f,_0x2a37b9- -0x5b8,_0x99822f);}return withLspTimeout(_0x57f816[_0x2e0154(_0x44fe06._0x164266,_0x44fe06._0x51004f,-_0x44fe06._0xbee8f3,0x16c)](_0x5392d2,_0x3d8616),_0x307aef,_0x5392d2);};_0x57f816['onNotification'](_0x5ae650(_0x35d616._0x281ed5,0x419,_0x35d616._0x18f085,_0x35d616._0x22fa98),_0x5367e6=>{_0x115c3c['set'](_0x5367e6[_0x1eec4f(0x645,_0x5ecc73._0x44b25f,_0x5ecc73._0xc781e3,_0x5ecc73._0x2a3666)],_0x5367e6['diagnostics']);function _0x1a6f22(_0xdbc75e,_0x5880aa,_0x449cad,_0x4572f7){return _0x5ae650(_0xdbc75e-0x24,_0x5880aa-0x46,_0x5880aa- -_0x7330d1._0x25fe22,_0xdbc75e);}const _0x4af2e6=_0x1098b3[_0x1eec4f(_0x5ecc73._0x3222de,_0x5ecc73._0x23621b,_0x5ecc73._0x46997f,0x733)](_0x5367e6[_0x1a6f22(_0x5ecc73._0x43bbd5,0x64f,0x720,0x701)]);if(!_0x4af2e6)return;_0x1098b3[_0x1a6f22(_0x5ecc73._0x1d5528,_0x5ecc73._0x22e61e,0x3e7,0x4d4)](_0x5367e6[_0x1eec4f(0x645,_0x5ecc73._0xc54f31,_0x5ecc73._0x5d8e2f,_0x5ecc73._0xcd4fc0)]);function _0x1eec4f(_0x47245f,_0x12667c,_0x50f28c,_0x3f4b76){return _0x5ae650(_0x47245f-0x14c,_0x12667c-0xd1,_0x47245f- -0x3a,_0x12667c);}for(const _0x53c34f of _0x4af2e6)_0x53c34f();}),_0x57f816[_0x1c61ac(_0x35d616._0x272833,_0x35d616._0x5b3962,_0x35d616._0x1718df,_0x35d616._0x126793)]();let _0x5876a5;try{_0x5876a5=await _0x389503(_0x1c61ac(_0x35d616._0x2c3d70,_0x35d616._0x519d7e,0x54c,0x738),{'processId':process[_0x5ae650(_0x35d616._0x1044f3,_0x35d616._0x56358c,0x5e5,0x500)],'rootUri':uriForPath(_0x28dec5[_0x1c61ac(_0x35d616._0x20cdf0,0x67c,_0x35d616._0x183d37,_0x35d616._0x52cce6)]),'workspaceFolders':[{'uri':uriForPath(_0x28dec5[_0x1c61ac(_0x35d616._0x25c787,_0x35d616._0x4bd91f,0x4c1,_0x35d616._0x263492)]),'name':_0x28dec5[_0x5ae650(_0x35d616._0xe94cba,0x6a9,0x70b,_0x35d616._0x3dcb51)]['id']}],'initializationOptions':_0x28dec5['handle'][_0x5ae650(0x637,0x3a2,0x45e,_0x35d616._0x4e24f0)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x1c61ac(_0x35d616._0xd9d426,0x657,0x50a,0x457),_0x5ae650(0x84e,_0x35d616._0xa58a3d,0x68c,_0x35d616._0x240321)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x3cfefd){_0x57f816[_0x5ae650(0x507,0x78d,_0x35d616._0x59c202,_0x35d616._0x27e3e5)](),_0x28dec5['handle']['process'][_0x1c61ac(0x9e4,0x947,0x7ed,_0x35d616._0x471be8)]();throw _0x3cfefd;}function _0x5ae650(_0x268110,_0x3ee807,_0xd2a6c9,_0x54977d){return _0x5885dd(_0x268110-_0x21d3ba._0x3b9c63,_0x54977d,_0xd2a6c9-0x9a,_0xd2a6c9-0x2ff);}_0x57f816[_0x5ae650(_0x35d616._0x4875e7,0x910,_0x35d616._0x1626a2,_0x35d616._0x1f1b89)](_0x5ae650(_0x35d616._0x11c503,0x662,0x796,0x661),{});const _0xd659f0={'serverId':_0x28dec5['server']['id'],'root':_0x28dec5[_0x1c61ac(_0x35d616._0x5f4294,_0x35d616._0x4fd788,0x4c1,_0x35d616._0x5cca70)],'connection':_0x57f816,'diagnostics':_0x115c3c,'capabilities':_0x5876a5[_0x5ae650(0x86e,_0x35d616._0x52a334,0x696,_0x35d616._0x1db022)]??{},'notify':{async 'open'({path:_0x445896}){const _0x2933ed={_0x4c9871:0x11f,_0x21b632:0x128,_0x32d9c6:0x13e},_0x4483e3=await readFile(_0x445896,_0x49e693(_0x1555d1._0x38682f,_0x1555d1._0x33c59c,_0x1555d1._0x4446fb,_0x1555d1._0x40624b));function _0x49e693(_0x126d5d,_0x4b3fa6,_0x1006f8,_0x311c9a){return _0x1c61ac(_0x1006f8,_0x4b3fa6-_0x2933ed._0x4c9871,_0x126d5d- -_0x2933ed._0x21b632,_0x311c9a-_0x2933ed._0x32d9c6);}function _0x994785(_0xf7803d,_0x2767cb,_0x4ea55f,_0x6c4555){return _0x1c61ac(_0x2767cb,_0x2767cb-0x14e,_0x4ea55f- -0x19b,_0x6c4555-_0x1cd1a7._0x2b5c31);}_0x57f816[_0x49e693(0x6f8,_0x1555d1._0x37f3c2,_0x1555d1._0x5683ec,_0x1555d1._0x24f05f)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x445896),'languageId':getLanguageId(_0x445896)??'plaintext','version':0x1,'text':_0x4483e3}});},async 'change'({path:_0x2dc4cb,version:_0x12b40d}){const _0x20e53c=await readFile(_0x2dc4cb,'utf8');function _0x4c6c4f(_0x34780b,_0x5dd62a,_0x19141f,_0x43edba){return _0x1c61ac(_0x5dd62a,_0x5dd62a-0x4a,_0x34780b-0xec,_0x43edba-0x1a2);}function _0x223744(_0x5a8499,_0x2ca2d0,_0x24cb7a,_0x286a1f){return _0x1c61ac(_0x24cb7a,_0x2ca2d0-_0xa2262._0x4791f3,_0x286a1f- -_0xa2262._0x5e9fa5,_0x286a1f-_0xa2262._0x50a1f6);}_0x57f816[_0x223744(_0x37ff8b._0x1be4a4,0x5db,_0x37ff8b._0x18a534,0x6db)](_0x223744(0x512,0x4aa,_0x37ff8b._0x12191b,0x596),{'textDocument':{'uri':uriForPath(_0x2dc4cb),'version':_0x12b40d},'contentChanges':[{'text':_0x20e53c}]});},async 'close'({path:_0x5dba1d}){const _0x3f92e8={_0x50c5be:0x155,_0x436f25:0xf7};function _0x3c491d(_0x5b759f,_0x3411d9,_0x156348,_0x1eb8f2){return _0x5ae650(_0x5b759f-_0x184c6e._0x324fdb,_0x3411d9-_0x184c6e._0x55b20c,_0x5b759f- -_0x184c6e._0x885c43,_0x1eb8f2);}function _0x402e6a(_0x3a419b,_0x1bd5db,_0x41eec5,_0x208f35){return _0x1c61ac(_0x208f35,_0x1bd5db-_0x3f92e8._0x50c5be,_0x3a419b- -_0x3f92e8._0x436f25,_0x208f35-0x9f);}_0x57f816[_0x3c491d(_0x1dd53b._0x33e6db,0x390,0x486,0x6c9)](_0x3c491d(0x4b3,_0x1dd53b._0x7dc8b1,0x3b3,_0x1dd53b._0x344c8f),{'textDocument':{'uri':uriForPath(_0x5dba1d)}});}},'request':{async 'definition'(_0x27ba91){function _0x59d2ff(_0x407fc3,_0x25d2d2,_0x489154,_0x4e5b4a){return _0x1c61ac(_0x407fc3,_0x25d2d2-0x132,_0x489154- -0x523,_0x4e5b4a-0x1a6);}return normalizeLocations(await _0x389503(_0x59d2ff(0x5c,0x328,0x1d0,0x267),textDocumentPosition(_0x27ba91)));},async 'references'(_0x35ac0c){return normalizeLocations(await _0x389503('textDocument/references',{...textDocumentPosition(_0x35ac0c),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x3d0143){function _0x14b444(_0x58dee2,_0x2c3da6,_0x23ec39,_0x4c2067){return _0x1c61ac(_0x23ec39,_0x2c3da6-0x4c,_0x2c3da6- -0x6b7,_0x4c2067-0xb7);}return await _0x389503(_0x14b444(-0xdb,-_0x4340e3._0x898b12,0x3e,-0x18d),textDocumentPosition(_0x3d0143))??null;},async 'documentSymbol'(_0x8b3a82){function _0x251b7a(_0x5de275,_0x141e72,_0x17daf0,_0x2228f5){return _0x5ae650(_0x5de275-0x11e,_0x141e72-_0x141278._0x78e7d6,_0x2228f5- -0x415,_0x5de275);}return await _0x389503(_0x251b7a(-_0xa081d0._0x4d781d,-_0xa081d0._0x537c75,0x1de,0x144),{'textDocument':{'uri':uriForPath(_0x8b3a82)}})??[];},async 'workspaceSymbol'(_0x4463a6){return await _0x389503('workspace/symbol',{'query':_0x4463a6})??[];},async 'implementation'(_0x176dc0){return normalizeLocations(await _0x389503('textDocument/implementation',textDocumentPosition(_0x176dc0)));},async 'prepareCallHierarchy'(_0x4f1481){function _0x3368b4(_0x4b8b56,_0x4dbd26,_0xdd1d99,_0xcfc7d0){return _0x5ae650(_0x4b8b56-0x10f,_0x4dbd26-_0x9ffe99._0x4aaccf,_0xdd1d99- -_0x9ffe99._0x33eec3,_0x4dbd26);}return await _0x389503(_0x3368b4(0x292,_0x5a1dc1._0x25a008,0x2dd,0x27f),textDocumentPosition(_0x4f1481))??[];},async 'incomingCalls'(_0x14b54f){const _0x51a6cd={_0x57af92:0x10d,_0x523936:0xc0};function _0x330351(_0x34cbb0,_0x216e96,_0x59845f,_0x123cbe){return _0x5ae650(_0x34cbb0-_0x51a6cd._0x57af92,_0x216e96-0xe1,_0x123cbe- -_0x51a6cd._0x523936,_0x59845f);}return await _0x389503(_0x330351(_0x5bbb8a._0x257da2,0x73b,0x411,_0x5bbb8a._0x5b14eb),{'item':_0x14b54f})??[];},async 'outgoingCalls'(_0x3b1ebc){function _0x2c57af(_0x49a47f,_0x4193d2,_0x4472cf,_0xf00ed5){return _0x5ae650(_0x49a47f-0xba,_0x4193d2-_0x3897df._0x33ce55,_0x4472cf- -_0x3897df._0x3d728a,_0xf00ed5);}return await _0x389503(_0x2c57af(0x52a,_0x119772._0x24621c,0x400,0x442),{'item':_0x3b1ebc})??[];}},'waitForDiagnostics'({path:_0x4a3314,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x26ed44={_0x23d552:0x511,_0xbad869:0x2f0,_0x130903:0x154,_0x2ce9b3:0x32a},_0x3be588={_0x228893:0x4ef,_0x4cb3fc:0x342,_0x48266f:0x340,_0x539290:0x48f,_0x428002:0x596,_0x1fec61:0x692,_0x811382:0x10,_0x29b40b:0x1bd},_0x4634f3={_0x26fafc:0x12a,_0x498a70:0x185},_0x235b2b=uriForPath(_0x4a3314);function _0x50fb45(_0x32a3d6,_0x3f4066,_0x5c45eb,_0x3d290f){return _0x5ae650(_0x32a3d6-_0x4634f3._0x26fafc,_0x3f4066-_0x4634f3._0x498a70,_0x5c45eb- -0x493,_0x32a3d6);}if(_0x115c3c[_0x50fb45(_0x51d4f0._0x2df2e7,0x2a5,0x12c,0x74)](_0x235b2b))return Promise['resolve']();return new Promise(_0x598580=>{const _0x51033f={_0x390a94:0x1cb,_0x5bea9f:0x185},_0x5db2c1=setTimeout(()=>{const _0x3559c1={_0x50b2b4:0xea},_0x258900=_0x1098b3[_0x270a6e(0x544,_0x3be588._0x228893,0x555,_0x3be588._0x4cb3fc)](_0x235b2b);function _0x270a6e(_0x4ca14c,_0x45e5ab,_0x446a6a,_0x3cb718){return _0xa933(_0x45e5ab- -0x99,_0x3cb718);}_0x258900?.[_0x404018(0x503,_0x3be588._0x48266f,_0x3be588._0x539290,0x2a6)](_0x583478);function _0x404018(_0x5a0752,_0x50d24b,_0x45b3ef,_0x3c4024){return _0xa933(_0x50d24b-_0x3559c1._0x50b2b4,_0x5a0752);}if(_0x258900?.[_0x404018(_0x3be588._0x428002,0x528,0x47b,_0x3be588._0x1fec61)]===0x0)_0x1098b3[_0x270a6e(_0x3be588._0x811382,_0x3be588._0x29b40b,-0x29,0x33e)](_0x235b2b);_0x598580();},timeoutMs),_0x583478=()=>{clearTimeout(_0x5db2c1),_0x598580();},_0x1a3ca4=_0x1098b3['get'](_0x235b2b)??new Set();_0x1a3ca4[_0x5f082a(0x49c,_0x26ed44._0x23d552,_0x26ed44._0xbad869,0x5c1)](_0x583478);function _0x1575f0(_0x49e41d,_0x220ab8,_0x243608,_0x4fb20e){return _0x50fb45(_0x243608,_0x220ab8-0x155,_0x220ab8-0x269,_0x4fb20e-0x137);}function _0x5f082a(_0x163294,_0x49fdfa,_0x37a7ac,_0x46b6fb){return _0x50fb45(_0x37a7ac,_0x49fdfa-_0x51033f._0x390a94,_0x163294-0x479,_0x46b6fb-_0x51033f._0x5bea9f);}_0x1098b3[_0x1575f0(_0x26ed44._0x130903,0x31b,0x21f,_0x26ed44._0x2ce9b3)](_0x235b2b,_0x1a3ca4);});},async 'shutdown'(){const _0x204d85={_0x5aeb76:0x81};if(_0x250144)return;_0x250144=!![];function _0x15a747(_0x36b8fa,_0x30cb50,_0x50ea50,_0x3e7e8d){return _0x1c61ac(_0x36b8fa,_0x30cb50-0xf2,_0x30cb50- -_0x2a3c84._0x55975a,_0x3e7e8d-_0x2a3c84._0x3bfa1a);}function _0x22fe99(_0x36bd4b,_0x52e659,_0x1eec5b,_0x507414){return _0x1c61ac(_0x52e659,_0x52e659-0xe3,_0x1eec5b-0xa3,_0x507414-_0x204d85._0x5aeb76);}try{await _0x389503(_0x22fe99(0x7f7,0x9e2,0x83c,_0xbbc822._0xca86ea),null),_0x57f816[_0x22fe99(0x7b0,_0xbbc822._0x5e08a1,0x8c3,0x8d7)](_0x22fe99(_0xbbc822._0x3a9cd2,_0xbbc822._0x5b7f28,_0xbbc822._0x1c27d8,0x5db));}catch{}finally{_0x57f816[_0x22fe99(_0xbbc822._0x5ace91,0x860,_0xbbc822._0x344039,_0xbbc822._0x226174)](),_0x28dec5[_0x15a747(_0xbbc822._0xcac454,0x6d8,0x561,0x795)][_0x15a747(0x882,_0xbbc822._0x4018b3,0x614,_0xbbc822._0x2b48f2)]['kill']();}}};return _0xd659f0;}import{spawn as _0x4203a1}from'child_process';import{access as _0x15bf01}from'fs/promises';import _0x10da83 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x33177b from'os';import _0x348930 from'path';import _0x3d7b35 from'which';var installPromises=new Map();function sanitizePackageName(_0x16a705){return _0x16a705['replace'](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0xb6a623){const _0xfba52f={_0x4d4143:0x184,_0x3ab807:0xf0,_0x24d825:0x1ba,_0x1f2ce8:0x62,_0x3fcd6d:0xe5,_0x2e4580:0x660,_0x1fd36f:0x749,_0x11a376:0x766,_0x41de5f:0x525},_0x151750={_0x21dc80:0x1e0,_0x4ad827:0x68},_0x164356={_0x444e6c:0x16b};function _0x37921c(_0x4b799a,_0x201ed8,_0x453eb5,_0x35f666){return _0x5885dd(_0x4b799a-_0x164356._0x444e6c,_0x35f666,_0x453eb5-0x1af,_0x4b799a-0x240);}function _0x188a05(_0x56c9c5,_0x157cdc,_0x4de459,_0x501f6f){return _0x5885dd(_0x56c9c5-_0x151750._0x21dc80,_0x56c9c5,_0x4de459-_0x151750._0x4ad827,_0x4de459- -0x257);}return process[_0x188a05(0x1d3,_0xfba52f._0x4d4143,_0xfba52f._0x3ab807,_0xfba52f._0x24d825)]===_0x188a05(-_0xfba52f._0x1f2ce8,-_0xfba52f._0x3fcd6d,-0x26,0xea)?_0xb6a623+_0x37921c(_0xfba52f._0x2e4580,_0xfba52f._0x1fd36f,_0xfba52f._0x11a376,_0xfba52f._0x41de5f):_0xb6a623;}function _0x5a62(){const _0x2c2a5d=['DxnLCM5HBwu','zxjYB3i','igj5DgvZks4','AxngAw5PDgu','u0HfteW','zNjLzxPL','A2LSBfjLCxvLC3rLza','BgLUzv9UDw1Izxi','Bwf4q29Uy3vYCMvUDa','B2zM','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','C2HHmJu2','C3rHCNrmAw5L','Ahr0Chm6','r3jLCa','ChjVy2vZCW','Dg9KB3m','u25HChnOB3qGDgfNia','Aw52ywXPzf9Yyw5Nzq','Dw5PB24','BwnWlxjLCxvLC3qTDgLTzw91Da','A2v5CW','rvnsq0G','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','y29TBwfUza','C3bSAwnL','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','l3vZCI9SB2nHBc9IAw4VCMC','ChjVCgvYDgLLCW','B2jZzxj2yxrPB25Z','z2L0qNjHBMnO','tuLnrtOG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','C3bHD24','q29TBwfUzcaN','BhnWlxbYB3H5','Aw52ywXPzf90B2rVx3n0yxr1CW','yMLVBwu','qxv0Ag9YAxPHDgLVBG','DgfN','lNDLyNa','C3vJy2vZCW','lMDPzG','Dw5ZzwvUx2XPBMvZ','Aw1Hz2uVCg5N','lMPWzW','zgLZy292zxj5','r09pr0Xfx0ntrv9dwa','C2v2zxjPDhK','igzHAwXLzc4','mtK4lJe4lJaUma','yNL0zxm','u25HChnOB3qGzM9Yia','Cgf0DgvYBIbPCYbYzxf1AxjLza','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','zMLSzvzLCNnPB25Z','CNnZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','AxnbyNnVBhv0zq','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','B2XKvgv4Da','Bw9KzwXuAwvY','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','xqPgAwXLihDYAxr0zw4GyxqG','A2LUza','AxnfBMfIBgvK','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','DgfNrM9YrgLNzxn0','ywXSu2v0DgXLza','tM8GCMvZDwX0CYbMB3vUzc4','Aw1Hz2vZ','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','Cgf0Aa','ig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYihbHDgnOlG','CMvMAw5L','yNvUlMXVy2TI','zMLUzfjLzMvYzw5Jzxm','Aw5ZDgfSBa','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','AwzYyw1L','DxrTx3nVDxjJzq','BgLZDgvU','AM9PBG','C2H1DgrVD24','Aw5PDgLHBgL6zwq','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','B3rOzxi','C2vUza','Ag9ZDa','iYmGu2TPBgW6ia','igj5DgvZ','BMv3u3rHCNrmAw5L','cMbGya','w1jfrefdvevexq','Dgv4DerVy3vTzw50l2rPzenSB3nL','ygbG','mtGYnZeYotzZy3nVvg0','zxH0zw5ZAw9UCW','BM90lwzVDw5K','BMfTzq','CgfYC2vjBNq','y2fSBfrVB2W','zxHPDenVzgu','zwzMB3j0','l3vZCI9IAw4VCMC','CMvXDwvZDgvKtw9KzwXuAwvY','yM94zwq','z2v0u3rHDhm','CMLWz3jLCa','BNbT','y2XPzw50CW','D2HLCMuGCMC','CMvZzxq','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C3rHCNrLzef0','DhjHBNnMB3jTCW','yMLVBwuUANnVBG','BgLTAxq','C2HPzNq','BxrPBwvnCW','Ahr0Ca','B25uzxjTAw5HBevYCM9Y','C2vSzwn0B3i','B3bLBKzPBgvZ','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Bwf4rw50CMLLCW','yMLVBwuUANnVBMm','lMnQCW','igj5DguTAwrLBNrPy2fSlG','zw9S','DgvYBwLUyxrPBMC','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','BgLUzxm','vg9KBYa','Cg93zxjMDwW','uxvLC3rPB24G','zMLSzvbHDgG','Bg9HzfnRAwXS','Aw52ywXPzf90B2rVx2L0zw0','ywDLBNrZ','v2vIrMv0y2G','zw5KtgLUzq','BM93','zgvMyxvSDfrPBwvVDxrnCW','CxvLC3rPB24T','DgLTzw91De1Z','zw5NAw5L','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','phn5C3rLBs1Yzw1PBMrLCJ4','zMfZDa','zM9Yy2vszxf1zxn0zwq','l2jPBI9IyxnO','C3rHBgvFC25HChnOB3q','yMfZzw5HBwu','zxjYB3jZ','zNvSzMLSBgvK','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','CMvZzxroB0nOyw5Nzq','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Aw5JBhvKzxm','rxjYB3i','C3rYAw5N','sw52ywXPzcbVDxrWDxrszwDLEdOG','ue9tva','zgLZy292zxi','A2LSBa','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','lu5VuhjVzMLSzq','qvbjx0Tfwq','Aw1Hz2uVz2LM','zxHPDcbJB2rLia','C2v0DgXLvgvYBwLUywW','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','B3bLBMnVzguTz28','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','lMPWzwC','u0HfteXpufrt','B3bLCMf0Aw9U','yw5ZAti1nG','BgfUzW','DgfPBhm','CMvZB2X2zq','y29UDgv4DeXPBMS','zMfPBgvK','ndqWnZu0C1LAuhL2','yxnJAwK','ChjLChjVy2vZCW','C3rYAwn0','yxjNCW','AhjLzG','zgvLChnLzwS','yMvHCMvY','BMv3rw5KtgLUzq','ls1MB2XSB3C','y2fSBeLK','yxr0CG','z29uB0rLzMLUAxrPB24','C2vZC2LVBG','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','CgXHAw4','Aw5WDxq','y2vPBa','ig1HDgnO','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','CMvXDwLYzwrmAw5LCW','sw5MB3jTyxrPB24','y2HHCKnVzgvbDa','vg9WAwmGC2v0ihrVici','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','yMLUzfnLC3nPB24','qMfZzsbKAxjLy3rVCNK6ia','CMvWBgfJzsbYyw5NzsbB','Aw5WDxrty2HLBwe','zgvMyxvSDe9WDgLVBG','C3bSAxq','C2vUze5VDgLMAwnHDgLVBG','DgvYBwLUywXqCM9TAxnL','zw52','yMLUza','zw5JB2rL','yw5ZD2vYCW','Bw9KzwW','Aw52ywXPzf9WyxrJAa','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','uMvXDwvZDfrPBwvVDxq','AxntEw1IB2XPy0XPBMS','CMvSzwfZzuj5DgvZ','z29Vz2XLq3nLq3G','BM9Uzq','B2jQzwn0','z3jHy2vMDwW','yMLYDgH0Aw1L','DhnZzxj2zxiUANm','AgvHzgvY','C3rYAxbbBNnP','Dg9Rzw4','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','DgHLBG','yxv0Ag9YAxPHDgLVBL9JB2rL','DxrTx3rLCM0','CMCUzxHL','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','BgLI','B3bLBG','yxr0ywnO','BgLUzu51Bq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','Bw9Kzq','zxzLCNK','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','Aw5JBhvKzq','B3v0Chv0','igzHAwXLzcb0BYbJBg9Zzq','lu5Vtg9NBW','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','yMvMB3jL','ru5pru5u','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','zgvSzxrLigvUzeXPBMu','CMvKDwnL','Dg91y2HgAwXL','Aw52ywXPzf90B3bPyW','CMvNAxn0zxjby3rPDMvbz2vUDa','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','C2HLBgXqyxrO','ignVBxbSzxrLzc4','icHWAwqG','mtrQzhn1CfK','ls0T','BwnFy2LK','C3rHBgvFC25HChnOB3q6iezPBguG','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','y29UDgv4Da','BhnWu2vYDMLJzq','DxrTx2nVBNrLBNq','CMvWBgfJzs5LBMrmAw5L','zg9JDw1LBNrtEw1IB2W','CMvXDwvZDfrPBwvVDxrnCW','AhLKCMf0zu1LDge','vMfSAwrHDgvKia','lMPZB24','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','z2v0','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','qMvHCMvYia','Dw5RBM93BG','zxHLyW','CMvWBgfJzq','C2fMzq','CMvZDwX0CW','zgvMyxvSDa','z2v0vg9KB3m','C3jJl3nOyxjLzc90ExbLCY50CW','zgLHz25VC3rPy3m','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vSzwn0Aw9UuMfUz2u','ywz0zxi','DhjHAwXPBMDdAhvUA3m','D2fYBG','B3v0z29PBMDdywXSCW','s2LSBfnOzwXS','AxndB250zxH0','ugfJA2fNzxm','A2v5yMLUzgLUz3m','BwfW','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','BM9dAgfUz2vdB3vUDgvYCW','y2XPzw50','CMvHC29U','v0vcua','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','CgfZC3DVCMq','y2XPzw50x3nLy3jLDf9WB3n0','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','B2f1DgG','CgfNzw1HCa','r2XVyG','CNvUswq','CMfUzg9T','zgvUEq','Aw5PDgLHBgL6yxrPB24','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','y2HHCMfJDgvY','CgfZC3rOCM91z2G','yxjNDw1LBNroyw1LCW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','sw52ywXPzcbvuKWGCgfYyw1LDgvY','y291BNq','zw5NAw5LCW','Aw50zxjUywXmAwzLy3LJBgu','Dg9KB3ncEvnLC3nPB24','igj5DgvZicH0B3rHBdOG','lM10CW','Dg9Rzw5Z','qxbWBgLLzca','mc4WlJa','ihrPBwvKig91DcbHzNrLCIa','zhvWBgLJyxrLx3rVzg9FAwrZ','y29KzvzLCMLMAwvY','y3jSzG','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BM9Kzv9TB2r1BgvZ','B3jPz2LUywW','zMv0y2HjBxbS','B2C6DxbKyxrLzf90Aw1L','yxnZAwDU','B25szwrPCMvJDa','zxnJyxbL','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','B2XSyw1H','y2XVC2vbBgW','BgLTAxrZ','zgnZ','oIbPBNzHBgLKihn0yxr1CW','rM91BMqG','yMXVy2TZ','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','C2H1DgrVD25tDgfYDgvK','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','C29YDa','Dg90ywXqCM9KDwnLza','C3rKB3v0rgvJB2rLCG','CNvUrxHJBhvZAxzL','B2XKrw5KtgLUzq','lunVBw1HBMq','AwDUB3jL','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','revfufnfruTFqvbjx0Tfwq','vw5HyMXLihrVihjLywqG','C2XPy2u','Aw52ywXPzf90B2rVx2nVBNrLBNq','CMvXDwLYzwq','y3DK','zhj5uNvU','rMLSzsb3CML0DgvUigf0ia','CMvSzwfZzufNzw50uMvZB3vYy2vZ','AxnfCNjVCG','ls1NBg9Ipq','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','yM9T','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','yw5UB3rHDgLVBNm','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','zw5HyMXLza','r0Lusfvcx1rps0vo','sw52ywXPzcbiyxnOBgLUzsbgAwXLrwrPDcbPBNb1DdOG','C2vZC2LVBKLK','B2jZzxj2zwrmAw5LCW','D2HPy2GGCMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','tNv2Aw4','C3rYzwfTC0zSDxnOzwq','B3jPz2LUvg9VBenHBgXjza','DgLTzvTKyxrLDgLTzv0','lNbUzW','DgfZA2TPBgW','Bw9KzwXjzgvUDgL0Eq','Bwf4u25HChnOB3rcExrLCW','C3vWzxjszwzPBMu','wKfjx0fqsv9lrvK','Ag9TzwrPCG','Dhj1zq','DgvYBwLUywXtzxr0BgvK','q29Tu3bLyW','uMvHC29UAw5NigrLzMf1BhqGiG','mJqWlJaUmc4W','Dg9VBhm','ywrK','AhrTBfnUAxbWzxq','AMf2yxnJCMLWDa','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','ANnVBMm','mty5lJi1nc4WlJa','BgLZDfrVB2XZ','CM9VDa','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','tM8GAg92zxiGAw5MB3jTyxrPB24','Dg9mB3DLCKnHC2u','Axnoyu4','BwLU','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','lMPZB25J','BgLUzvn0yxj0','C3rHCNrZv2L0Aa','ywDLBNrnB2rLBfnLDa','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','D3jPDgvFzMfPBgvK','CMvSzwfZzq','Aw5qCM9NCMvZCW','y29ZDa','BwnWxW','zgvSzxrLq291BNq','C3LTBgLUAW','lM51DMLUlwnVzgu','Dgf2AwX5qxbPs2v5','zMLSDgvY','DgvYBwLUyxrL','CM93CW','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','C2vHCMnOrgvWDgG','yxv0Aa','C3rHDgu','CMvWBgfJzsbLBMrmAw5L','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','sfruuca','igLZia','zMvUy2vK','C3rHDhvZ','CMvJB3jKtM9dAgfUz2u','zgvSAxzLCMvK','BgL0zxjHBa','ChjVDg90ExbL','C2vYDMvYtMfTzq','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','zM9VDgvY','zgfZAa','mZqWnZm2neHJy1zyAW','Cgf0Ag5HBwu','l29WDc9OB21LyNjLDY9IAw4VCMC','CgfJA2fNzs1SB2nRlMPZB24','Dhj1BMnHDgvK','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','C3jJl2fNzw50l2fNzw50lNrZ','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','vg9KB1DYAxrL','Aw5KzxHpzG','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','zg9TywLUCW','v2vIu2vHCMnO','DgvYBwLUyxrPB25qCM9TAxnL','yw5ZAte2','mZqYoti0mg5hvMX3ua','C2nVCgvZ','BgfUz3vHz2u','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','C291CMnLrw5K','D3jPDgu','Aw1WBgvTzw50yxrPB24','zMLSztOVlW','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','Aw5Zzxj0igXPBMu','ChvZAa','BwfYA2rVD24','zg5Zl3bYB21PC2vZ','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','ie9sia','DMfSDwvZ','lI4U','Bwf4uMvKAxjLy3rZ','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','y29UDgvUDhm','AxntywzLsw50zwDLCG','yxnR','yMLUyxj5tMfTzq','zgvSzxrLihjHBMDLifS','zgf0zvjLC3rYAwn0','DgfZAW','igLZigfTyMLNDw91CYbMB3iG','igzYB20G','Bwf4ugf0Ahm','BxmU','C291CMnLu3rHCNq','C3vIyxjYyxK','ls1MAwXLCW','Bwf4','t1bftKnprevFqvbjx0Tfwq','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','B2zMC2v0','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','CxvLC3rPB25Z','Bwf4vMvYC2LVBNnqzxjqyxrO','ig11C3qGyMuGB2jZzxj2zwqGyNKGrMLSzvjLywqGyMvMB3jLigL0ignHBIbIzsb1C2vKigfZigfUigvKAxqGyw5JAg9YlG','C2vYDMvYswq','AxnbCNjHEq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','BwvKAxvT','y2HPBgq','y3jLyxrLzef0','Bg9HzenVBw1HBMq','tM8GzgLHz25VC3rPy3m','y3nP','mtu2nJK3rhnPyw16','zNvUy3rPB24','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','D2LUmZi','zgvSzxrL','zw5K','BNv2Aw4','BhnW','ls1ZDgrPBW','C2TPBgXZ','l2jPBI9ZAa','zxHPDgvK','mtaWlJy0lJaUma','CMvZDwX0','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zgLZCgXHEwvKtgLUzxm','z2nSAwq','zgvUBY5QC29UyW','qxnRvxnLCLrVB2W','Dg9tDhjPBMC','Bwf4qNL0zxm','tM8GBg9JyxrPB25ZigzVDw5K','oIbPBNzHBgLKihbYAw9YAxr5','y29UBMvJDa','C2v0','y2XPzw50twv0ywrHDgfvCMW','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','Aw5PDgLHBgL6zq','u0Lhs0Lmta','yxbWzw5KrgvJB2rLza','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','Dg90ywW','DhjPBuvUza','y29UDgvUDc10ExbL','y2fWq2HHCNm','Bg9VA3vW','lNrZEa','u3rHCNrLzcbHz2vUDcbYDw4G','CxvLCNK','y2fJAgvK','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','Aw5FChjVz3jLC3m','z2fW','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','Dg90ywXeCM9WCgvK','z29Vz2XLq3nLs2v5','BhmGlwXH','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','uhjVz3jHBuzPBgvZ','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','z2L0AhvI','CMvTB3zLrxzLBNrmAxn0zw5LCG','CMvXDwvZDhm','u0Lhvevstq','zM9Yy2u','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','mc4WlJaUma','Aw50','C3rKzxjYtM9YBwfSAxPLCG','ChjVy2vZC0DYB3vWswq','ywXS','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','C2LNBMfS','CMvUzgvYu3LZDgvTuhjVBxb0','vw5RBM93BIb0B29SoIa','Bxv0yxrPB25Z','nJu2nZy4oevnr3jKtG','zxHHy3q','CMvWBgfJzs5ZDgfYDeXPBMu','C2fMzvbHCNnL','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','z29Vz2XLlwnZzq','C3rVCMfNzurPCG','B25JBg9Zzq','ywnXDwLYzuj5DgvZ','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','ChjVDg9JB2W','y29TCgXLDgvK','A2v5','BNvT','rMLSzuvKAxq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zgLYzwn0B3j5','w291Dhb1Dcb0CNvUy2f0zwq6ia','DhLWzq','lNrTCc4','B25LCNjVCG','z2XVyG','ugf0AcbPCYbUB3qGysbMAwXLoIa','yNvMzMvY','t1bftKfjx0fqsv9lrvK','Dg9VBe5HBwu','Dgv4DerVy3vTzw50l2HVDMvY','B2XKu3rHCNrmAw5L','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','zgvSzxrLlMvUzeXPBMu','r09pr0Xfx0ntrv9lrvK','Ec1HCgKTA2v5','Aw1Hz2uVD2vICa','ANnJB25MAwCUANnVBG','zxH0BMfTzq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','ihDHCYbHBhjLywr5ia','CMvXDwvZDa','zNjVBuvUDhjPzxm','v2fYBMLUzW','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','Dg90ywXcExrLCW','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','BwLUAw1HBa','ywrKsxnZDwu','thnW','ihrVB2WGy2fSBcbMywLSzwq','C2v0vg9WAwm','B3v0Chv0uMvNzxG','y291BNrLCG','zMLYC3q','Dg9VBa','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','ywX3yxLZlwnVBMzPCM0','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLig9UBhKGAw4GDgHLihnHBwuGCMvZCg9UC2uGyxmGCMvHBcb3B3jRicHYzwfKlcbNCMvWlcbLzgL0lcbIyxnOlcbMzxrJAcKUie5LDMvYihnLBMqGysbYzxnWB25Zzsb3Ag9ZzsbVBMX5ihrVB2WGy2fSBcbPCYbuB2rVv3jPDguUierVig5VDcbVCgvUigeGDhvYBIb3AxrOigL0lIbeBYbUB3qGywrKigeGD3jHCc11CcbJywXSigfMDgvYihrOzsbWCM92Aw5NihrLC3qGB3iGyNvPBgqGAxmGz3jLzw4UcGPtA2LWigL0igzVCIbJB252zxjZyxrPB25HBcbXDwvZDgLVBNmSigeGC2LUz2XLihn0CMfPz2H0zM9YD2fYzcb0yxnRlcbVCIbHihnOB3j0igzSyxqGC2vXDwvUy2uUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4GvxbKyxrLig9UBhKGyxqGBwvHBMLUz2z1BcbTAwXLC3rVBMvZlcbPBIb0AguGC2fTzsbYzxnWB25ZzsbHCYb0AguGD29YAYb0Agf0ignOyw5NzwqGDgHVC2uGC3rHDhvZzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGzMLUAxnOzwqGAxrLBxmGy29TCgXLDgvKigfUzcbZzxqGDgHLig5LEhqGBwLSzxn0B25LigLUx3bYB2DYzxnZihrVz2v0AgvYlGOTierVig5VDcbJywXSifrVzg9xCML0zsbHzNrLCIbLDMvYEsb0B29SignHBgWSig1PBM9Yihn1yNn0zxaSig9YihbYB2DYzxnZig1LC3nHz2uUcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcbVCIb2zxjPzMLJyxrPB24GzMfPBhmUifjLDMLZzsbPDgvTCYbVBMX5ihDOzw4GDgHLihbSyw4GBwf0zxjPywXSEsbJAgfUz2vZlGOTifbYzxnLCNzLigL0zw0GsurZigfUzcbPBMnSDwrLihrOzsbMDwXSign1CNjLBNqGBgLZDcbPBIbLDMvYEsb1CgrHDguU','Cg9ZDf93CML0zv9KCMLMDa','ChjLzML4','y2fUB25Py2fS','uMvHC29UAw5Nig9WDgLVBIaI','z29uB0LTCgXLBwvUDgf0Aw9U','CMvZB2X2zvrLCM1PBMfS','D2fPDezVCKrPywDUB3n0AwnZ','zgvUBY5QC29U','BgLMzwn5y2XL','BwnWlxrYyw5ZCg9YDc1LCNjVCG','B3bLCMf0Aw9UCW','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','BxvSDgLtzwXLy3q','Dg91y2HqyxrO','DxrMoej5DgvZ','EwfYBI5SB2nR','DgvYBwLUyxrPB25tzxr0BgvK','ls1QC29U','yNL0zuXLBMD0Aa','zMLSzxm','AgfZ','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','r0LgodLH','CMvZzxj2yxrPB25Z','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','y29TBwfUzhm','zxzPy3rjzK5LzwrLza','Dgv4Da','zxjYB3jnzxnZywDL','DxrMoa','BwLUAw1HEa','Bg9JyxrPB24','zgLZCg9Zzq','CgfJA2fNzs5QC29U','zgf0yq','D2vI','Aw5Zzxj0igXPBMuG','CgfYC2u','DMvYC2LVBNncEvbHDgG','DgL0Bgu','tgLUzsa','ywjVCNq','zgvZy3jPChrPB24','otbKvLbqtfK','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','ywXYzwfKEs10zxjTAw5HBa','ywXSB3C','ignOyxjHy3rLCNm','yxjYyxK','qMfZAa','Dg9VBenHBgXjza','y3vZDg9T','DMvYAwzPzxi','yxv0BW','BMv4DeXPBMvtDgfYDa','y2fUB25Py2fSugf0Aa','CMfJzq','CgLK','yNL0zxncEurPz2vZDa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','AgLNAa','uKLgrG','Bwf0y2G','zgvSzwDHDgvKlxj1BI0','C25PChbLDa','y2XLyxi','zgLYBMfTzq','CMvZB2X2zwrnB2rLBeLKzw50Axr5','AgfZAgXPBMu','D2fPDezVCLrLCM1PBMfS','DhLWzxnJCMLWDa','BgLUzq','zgLZy292zxj5u3rHDgu','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','l3vZCI9IAw4VC2G','BwnWlwnSB3nLlwzHAwXLza','BM90Awz5','ywXSB3DLzerPCNm','rMfPBgvKihrVihrLCM1PBMf0zsa','zgLNzxn0','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','zgvLCgLUzNjH','BNvTyMvY','ChjLCgfYzunHBgXiAwvYyxjJAhK','Dg9VBenHBgW','yxbWzw5K','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','Aw52ywXPzf90B2rVCW','Dg9VBfjLC3vSDhm','tfnqia','AxneAxjLy3rVCNK','BxrPBwu','z2v0uhjVDg90ExbLt2y','yxnRvxnLCG','Dg9WAwm','nte4mdzpuxjPuwi','lMn0CW','zMLSzunVDw50','y29UDgvUDa','zMXHDe1HCa','BgLUzuvUza','C3bHD25PBMC','CxvLC3rPB24','C2LNBMfSqwrHChrLCG','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','BgfZDeLUzgv4t2y','ig9WzxjHDgLVBNmU','AgfZt3DU','ANnVBG','BwvZC2fNzq','B3nJ','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','Dg9VBc1VDxrWDxqTB2zMBg9Hza','C3rKB3v0','l1bjra','igzHAwXLzcb0BYbJB25Uzwn0','Dhj1BMm','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','Bwf0y2HLCW','D2LUzg93CW','Dgv4Dc9ODg1S','rgLHz25VC3rPyW','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','yMfSyw5Jzwq','yxjNDw1LBNrZvgv4Da','yxr4','tg9HzgvKigzYB206ia','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','Dg9vChbLCKnHC2u','CMvJzw5JEurHExm','zgv0ywLS','BgfIzwW','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','Dg9ju09tDhjPBMC','CgLWzq','mtaUmc4WlJa','q0rqqvri','uhjVz3jHBuzPBgvZkhG4nIK','sgLUDa','oIbJB250zw50ihjLCxvPCMvK','Aw5JB21PBMDdywXSCW','yxbWBgLJyxrPB24VANnVBG','C2nYDwjfBNzlzxLZ','ywrKrxzLBNrmAxn0zw5LCG','CMfUz2u','yw55lwfSBg93zwq','u2HLBgWGBM90igzVDw5KoIa','DhvWBgu','Aw5JBhvKzv9KB21HAw5Z','BgLZDa','CgXHDgzVCM0','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','y2fSBgjHy2TvCMW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','rxHWzwn0zwqGysbJyw5VBMLJywWGChjVDMLKzxiTCxvHBgLMAwvKig1VzgvSihnLBgvJDg9Y','zMLUywXnzxnZywDL','CMvNzxG','yxjNDw1LBNriAw50','BwnWlxrVB2WTy2fSBc1MywLSzwq','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','z3jHy2vMDwXszxf1zxn0zwq','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','C3rKAw8','BwfUDwfS','ls1OAwrKzw4','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','BwnFzwLK','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','B25Jzq','CNvUBMLUzW','AMf2yxnJCMLWDhjLywn0','wefjx0fqsv9lrvK','CMvHza','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','C3rKzxjYrgvJB2rLCG','CMvMCMvZAf90B2TLBG','zxf1ywXZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','q291BgqGBM90ihjLC29SDMuGAg9ZDa','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','igfMDgvYihDYAxrPBMCGka','Bwf0y2HdB3vUDa','mtCYlJe2lJaUma','C3rYDwn0DxjLza','qwDLBNqGCNvUia','zgvMyxvSDen3za','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','yNvKz2v0vg9Rzw5Z','C291CMnL','zgvMAw5PDgLVBG','BMf2','yNjVA2vU','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','C3rHCNq','y2XPzw50sw5MB3jTyxrPB24','zgf0zxrPBwu','Agv4','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','zMLUza','ls1NBg9IpseUz2L0lYO','DxjS','wZ0+nY04kcLD','ChvIBgLZAgvKqxq','zgLHz25VC3rPy3ngB3jgAwXL','DxjP','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','B3v0y29Tzq','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','mtKYlJe2oc4WlJa','v2LUr2v0','y2HHDe1VzgvS','mti3lJaUmc4W','Aw50zwDLCG','DgLTzw91DfnVDxjJzq','Dw5RBM93BL9ZBMfWC2HVDa','BgvUz3rO','C3rKB3v0tM9YBwfSAxPLCG','CgXHAw50zxH0','zw5KC1DPDgG','y29Uy2f0','tuLosu1bwf9bueLFs0vz','y29KzvbVAw50qxq','AwDUB3jLt3v0Chv0','qKftsf9ftLy','cGPbuKDvtuvovfm6ia','AxngAwXL','ywjZ','y2fWywjPBgL0AwvZ','DhvYBMrVD24','C3rHDhvZvgv4Da','yNvUlMXVy2S','Dw1HC2S','uhjVy2vZCYa','D29YA3nWywnL','Dg9Rzw5tDg9YywDLs2v5','y2XVC2u','y29UDgv4DeXPBMvZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','twLJCM9ZB2z0','CgvYBwLZC2LVBKnSyxnZ','tu9ptLnit1rFqvbjx0Tfwq','zMjJBgLK','zNjVBq','yMfZzty0','Bg93','ywDLBNrjza','oIbPzcbYzxf1AxjLza','y2f0y2G','CgvUzgLUzW','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','CMvZzxj2zq','C3rKzxjY','zgvZy3jPChrVCNm','ihDHCYbHyM9YDgvKlG','DhjHBNnWB3j0','Bwv0yxrHz3m','y2HTB2q','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','rgv0ywLSoIa','ls1NBg9I','tM8GC3vJAcbMAwXLoIaN','BgLUzu51BwjLCNm','Aw5ZDhj1y3rPB25Z','ygbGANnVBGO','sw52B2TLq29TBwfUza','z2v0t3DUuhjVCgvYDhLoyw1LCW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','B3bLBMfP','lMjPBG','mtKYlJaUmc4W','yMfZAa','Bgv4AwnHBfbHDgG','DhjPBq','CgfJA2fNzu5HBwu','Aw1Hz2u','rgvSzwDHDgvKuMvZB2X1DgLVBKvYCM9Y','CMvJzw5JEq','y29Kzq','AxrLBxm','r0Lusfvcx0fdq0vtu19ut0TftG','DhjHBNnMB3jT','rMLSzvjLywq','B3v0Chv0qNvKz2v0qNL0zxm','ywjVCNrLza','tM8GC3LTyM9SCYbMB3vUza','vw5ZDxbWB3j0zwqGsgfZAgXPBMuGCM93oIa','rMLSzu5LDW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','vw50AxrSzwq','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','Cgf0DgvYBG','tunqihnLCNzLCIa','vg9Vig1HBNKGCMvKAxjLy3rZ','y29UzMLYBwvK','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','zgvSzxrLlNn0yxj0tgLUzq','zMLUAxnO','B3bLBNjVDxrLCG','C29Tzq','zw50CMLLCW','iIbPCYbYzxnLCNzLza','sw52ywXPzcbYzwDLEdOG','DhnJB25MAwCUANnVBG','Aw1Hz2uVANbLzW','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','CMvSyxrPDMu','C3rHDa','BMv3tgLUzunVDw50','zMX1C2HtDhjLyw1Z','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','zgvWCW','rMLSzsa','CMvJB3jK','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','igj5DgvZlG','Bg9JywXLq29TCgfYzq','C2HLBgXjza','CM91DgLUzW','zgvJB2rL','Aw5Zzxj0','AgvHzgvYCW','A2LSBgvK','AgfUzgXL','zMLUAxrL','y2HHBMDL','qxqGBw9ZDca','ywXSB3DLzfrVB2XZ','B3b0Aw9UywW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','D29YA3nWywnLu3LTyM9S','BMv3vgv4Da','ChjPB3jPDhK','CMvHzen1CNnVCG','BwnWlxnKAY1JBgLLBNqTzxjYB3i','BwnWlwnVBM5Ly3qTzMfPBgvK','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','BgLNAhq','C2v0vg9KB3m','BM9Fy2HHBMDL','s2LSBgvKia','yMCT','C2vYDMvY','CM9VDfbPza','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','zwrPDa','BM9Zy3jPChq','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','C25HChnOB3q','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','CMvNAw9U','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','EgHPz2G','ihrVB2WGzgLZy292zxj5igzHAwXLza','C2L6zq','yxbPs2v5','DwX0CMe','DxrTx2nHBxbHAwDU','Dhj1zwnVBg9Y','Ag92zxi','lMnTza','Cg9ZAxrPB24','C3rYAw5NAwz5','C2vHCMnOugfYyw1Z','B3bLBMfPlxjLC3bVBNnLCW','C2vUzfjLCxvLC3q','qwXSia','qgjPB21LANmVyMLVBwu','zMLSzq','yM9VBgvHBG','zw51Bq','lNrZ','y21KlMv4zq','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','y29UzMLN','B3b0Aw9UCW','Aw52ywXPzf90B2rVx2LK','Cg5WBs1SB2nRlNLHBwW','lwXPBMuGC25HChnOB3qU','C3bSAwnLsw5KzxG','yw5JAg9YzwqTANnVBG','D3jPDgvgAwXL','DgvZDa','Dg9VBhmVy2fSBa','yw50AhjVCgLJ','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','zxHPDa','DMfSDwu','yNvMzMvYq2HHCNm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Bwv0yq'];_0x5a62=function(){return _0x2c2a5d;};return _0x5a62();}async function exists(_0x4a5f9c){try{return await access(_0x4a5f9c),!![];}catch{return![];}}function runNpmInstall(_0x281d47,_0x731ec7,_0xd90ed8){const _0x54636d={_0xc4976:0x35f,_0x4732b5:0x53c,_0x5536e4:0x3c1,_0x33b036:0x46e,_0x43f3cb:0x370,_0x2280ba:0x5a4,_0x3376e0:0x4ed,_0x41d067:0x5d4,_0x12a22c:0x4f1};return new Promise(_0x1a5d23=>{function _0x2665d1(_0x143223,_0x1c0f63,_0xaf56f1,_0x2b0409){return _0xa933(_0x2b0409-0x88,_0xaf56f1);}const _0x2b4b9f=spawn(_0x2665d1(0x6ec,0x5a4,0x531,0x55c),[_0x2665d1(0x32b,0x41f,_0x54636d._0xc4976,_0x54636d._0x4732b5),'--prefix',_0x281d47,_0x731ec7],{'env':_0xd90ed8,'stdio':_0x3415f3(_0x54636d._0x5536e4,_0x54636d._0x33b036,_0x54636d._0x43f3cb,_0x54636d._0x2280ba)});function _0x3415f3(_0x47a94d,_0x5cf7dc,_0x182a1c,_0x10feb9){return _0xa933(_0x47a94d-0x211,_0x182a1c);}_0x2b4b9f['on'](_0x2665d1(0x60d,0x65d,0x37c,_0x54636d._0x3376e0),()=>_0x1a5d23(![])),_0x2b4b9f['on'](_0x3415f3(_0x54636d._0x41d067,_0x54636d._0x12a22c,0x662,0x691),_0x13a2a4=>_0x1a5d23(_0x13a2a4===0x0));});}function shouldDisableLspDownload(_0x363d7e=process[_0x5885dd(0x478,0x51f,0x3db,0x51f)]){const _0x35e938={_0x4aae55:0x4e9,_0x5a397c:0x337,_0x5041cf:0x281,_0x26ecec:0xe1,_0x3ab005:0x25},_0xc8f81b={_0x1bd1dd:0xff,_0x4fe44a:0x94},_0x19fafa={_0x5b7e67:0x66},_0x5a7fc5=_0x363d7e[_0x2054ad(_0x35e938._0x4aae55,0x525,_0x35e938._0x5a397c,0x38f)]?.[_0x2054ad(0xcc,0x282,_0x35e938._0x5041cf,_0x35e938._0x26ecec)]();function _0x2054ad(_0x448969,_0x4516b1,_0x1f451d,_0x57c270){return _0x5885dd(_0x448969-0x1b2,_0x448969,_0x1f451d-_0x19fafa._0x5b7e67,_0x1f451d-0xbf);}function _0x4abb7a(_0x7b2866,_0x1f997e,_0x225795,_0x5655f4){return _0x5885dd(_0x7b2866-_0xc8f81b._0x1bd1dd,_0x225795,_0x225795-_0xc8f81b._0x4fe44a,_0x7b2866- -0x296);}return _0x5a7fc5===_0x4abb7a(-0xe5,-0x1c0,-_0x35e938._0x3ab005,-0x286)||_0x5a7fc5==='1'||_0x5a7fc5==='yes'||_0x5a7fc5==='on';}function getLspPackageDir(_0x36aace){const _0x513c12={_0x4b8726:0x3c8,_0x2ef4a7:0x61,_0x5afd92:0x1be,_0x186739:0x4f,_0x1b8b36:0x186,_0x61b9a9:0x3ee,_0x41b757:0x4b9},_0x239344={_0x50a038:0x8},_0x4dc831={_0x56bb8c:0x1a5,_0xdf4dd3:0x6c};function _0xb13e43(_0x336e75,_0x34d7ec,_0x241ff6,_0x481f8b){return _0x16ac01(_0x336e75-_0x4dc831._0x56bb8c,_0x481f8b-_0x4dc831._0xdf4dd3,_0x241ff6-0x154,_0x34d7ec);}function _0x339159(_0x2d07f1,_0x1bd4d3,_0x473b84,_0x5d3003){return _0x5885dd(_0x2d07f1-_0x239344._0x50a038,_0x5d3003,_0x473b84-0x7c,_0x473b84-0x8d);}return _0x348930['join'](_0x33177b[_0x339159(_0x513c12._0x4b8726,0x3a8,0x23d,_0x513c12._0x2ef4a7)](),_0xb13e43(-_0x513c12._0x5afd92,-0x130,0xa7,-_0x513c12._0x186739),_0x339159(_0x513c12._0x1b8b36,_0x513c12._0x61b9a9,0x2c2,_0x513c12._0x41b757),'packages',sanitizePackageName(_0x36aace));}function getLspBinDir(_0xa1cd9e){const _0x2857b3={_0x42ae21:0x7eb,_0xea7e7:0x562,_0x25570c:0x72d,_0x59f35a:0x16c,_0x2df5bd:0xed,_0x1f077d:0x329,_0x42b219:0x4b2};function _0x41ac49(_0x236deb,_0x48e802,_0x11fec0,_0x572864){return _0x16ac01(_0x236deb-0x1b0,_0x11fec0-0x527,_0x11fec0-0x8d,_0x572864);}function _0x5bdbf5(_0x1e8cc7,_0x11a4c7,_0x32c14b,_0x57b110){return _0x16ac01(_0x1e8cc7-0xcd,_0x11a4c7-0x1f7,_0x32c14b-0x195,_0x57b110);}return _0x348930[_0x41ac49(_0x2857b3._0x42ae21,_0x2857b3._0xea7e7,_0x2857b3._0x25570c,0x5fb)](getLspPackageDir(_0xa1cd9e),_0x5bdbf5(_0x2857b3._0x59f35a,0xdc,0x13a,_0x2857b3._0x2df5bd),_0x5bdbf5(0x2ac,_0x2857b3._0x1f077d,0x278,_0x2857b3._0x42b219));}async function findPackageBinary(_0x5ee795,_0x4108f5){const _0x5ac857={_0x487628:0x347,_0x105a75:0x3ac,_0x3a885a:0x201,_0x5b4146:0x174,_0x2b69a0:0x793,_0x160ab1:0x52c,_0x274a36:0x6b4,_0x4c6e02:0x67f,_0xe1af0d:0x56b},_0x476e1e={_0x92b29b:0x1a6,_0x57fd96:0x17d},_0x471666={_0x53a1a2:0x27c};let _0x3f5ed1=_0x348930['resolve'](_0x4108f5);const _0x170091=binaryNameForPlatform(_0x5ee795);function _0x5db6ad(_0x366a96,_0x8cc489,_0x56b8b6,_0x322ecd){return _0x5885dd(_0x366a96-0xa5,_0x8cc489,_0x56b8b6-0x153,_0x322ecd-_0x471666._0x53a1a2);}function _0x5e2b6b(_0x3ef8c7,_0x40887f,_0x364ea6,_0x2f8a7c){return _0x16ac01(_0x3ef8c7-0xa5,_0x364ea6-_0x476e1e._0x92b29b,_0x364ea6-_0x476e1e._0x57fd96,_0x40887f);}while(!![]){const _0x5a41aa=_0x348930[_0x5e2b6b(_0x5ac857._0x487628,0x32f,_0x5ac857._0x105a75,0x228)](_0x3f5ed1,_0x5e2b6b(-0x160,_0x5ac857._0x3a885a,0x8b,-_0x5ac857._0x5b4146),_0x5db6ad(_0x5ac857._0x2b69a0,_0x5ac857._0x160ab1,_0x5ac857._0x274a36,0x63d),_0x170091);if(await exists(_0x5a41aa))return _0x5a41aa;const _0x153dfb=_0x348930[_0x5db6ad(0x4d9,0x445,_0x5ac857._0x4c6e02,_0x5ac857._0xe1af0d)](_0x3f5ed1);if(_0x153dfb===_0x3f5ed1)return void 0x0;_0x3f5ed1=_0x153dfb;}}async function findPathBinary(_0xa14388,_0x20ef5a){const _0x4fa309={_0xfbcacb:0x4a6},_0x2aa6f7={_0x3062a1:0x19a,_0x30ce47:0xe,_0x27d38a:0x165},_0x56adb7={_0x220cc7:0x8a},_0x6f4d0c=getLspBinDir(_0x20ef5a),_0xb2d8b8=[_0x6f4d0c,process[_0x52bd02(0x45b,_0x4fa309._0xfbcacb,0x18b,0x31a)]['PATH']][_0x5d4cf8(0x32c,0x212,0x33b,0x268)](Boolean)['join'](_0x348930['delimiter']);function _0x52bd02(_0x266d41,_0x2ddd5,_0x28a008,_0x586424){return _0x16ac01(_0x266d41-0x14f,_0x586424-_0x56adb7._0x220cc7,_0x28a008-0xfa,_0x266d41);}function _0x5d4cf8(_0x74f30,_0x1a3e70,_0x464eeb,_0x35457c){return _0x5885dd(_0x74f30-_0x2aa6f7._0x3062a1,_0x74f30,_0x464eeb-_0x2aa6f7._0x30ce47,_0x464eeb-_0x2aa6f7._0x27d38a);}try{return await _0x3d7b35(_0xa14388,{'path':_0xb2d8b8});}catch{return void 0x0;}}async function resolvePackageBinary(_0x414aac){const _0x15999a={_0x2edb8a:0x1be,_0x251214:0x3d0,_0x377907:0x3d6,_0x11370c:0x66e,_0x274e5e:0x45b,_0x27c417:0x2b5,_0xe412ed:0xb8,_0x2fc2d0:0xed,_0x50e500:0x399,_0x388c0f:0x14d,_0x575756:0x12b},_0x289b2d={_0x7085ec:0x82b,_0xe268fb:0x5de},_0x1e6735={_0x5641d6:0x291,_0x37cca4:0x158},_0x2c0f2a={_0x2d4b9a:0x324},_0x18a803={_0x5b856c:0x7a,_0x4212a0:0x83},_0x27bd7b=_0x414aac[_0x142ef9(-_0x15999a._0x2edb8a,0x48,-0x10f,-0xfc)]??_0x414aac[_0x1881b0(0x45b,_0x15999a._0x251214,_0x15999a._0x377907,_0x15999a._0x11370c)],_0x5f1161=await findPackageBinary(_0x27bd7b,_0x414aac['startDir']);if(_0x5f1161)return _0x5f1161;const _0x5b9447=await findPathBinary(_0x27bd7b,_0x414aac[_0x1881b0(_0x15999a._0x274e5e,0x2b4,0x573,0x3fd)]);if(_0x5b9447)return _0x5b9447;const _0x5aad4b=_0x414aac['env']??process['env'];function _0x142ef9(_0xf9e86d,_0x24f97c,_0x105911,_0x3ac356){return _0x16ac01(_0xf9e86d-_0x18a803._0x5b856c,_0x3ac356- -0x7f,_0x105911-_0x18a803._0x4212a0,_0xf9e86d);}if(shouldDisableLspDownload(_0x5aad4b))return void 0x0;const _0x3a939c=getLspPackageDir(_0x414aac[_0x1881b0(_0x15999a._0x274e5e,0x5dd,0x438,_0x15999a._0x27c417)]),_0x443465=_0x414aac[_0x142ef9(0xee,0xdb,-0x50,_0x15999a._0xe412ed)]+':'+_0x27bd7b;function _0x1881b0(_0xb2cd5e,_0x13ff04,_0x45f970,_0x32d901){return _0x16ac01(_0xb2cd5e-0xed,_0xb2cd5e-_0x2c0f2a._0x2d4b9a,_0x45f970-0x109,_0x32d901);}let _0x1facd4=installPromises[_0x142ef9(_0x15999a._0x2fc2d0,0x391,_0x15999a._0x50e500,0x256)](_0x443465);!_0x1facd4&&(_0x1facd4=((async()=>{const _0xfa2328={_0x53f9b4:0x428};await mkdir(_0x3a939c,{'recursive':!![]});function _0x53affd(_0xcdc4d8,_0x12008d,_0x1a2586,_0x270552){return _0x1881b0(_0x270552-_0x1e6735._0x5641d6,_0x12008d-_0x1e6735._0x37cca4,_0x1a2586-0x1c2,_0x1a2586);}const _0x305d73=await runNpmInstall(_0x3a939c,_0x414aac[_0x53affd(0x7d4,0x698,0x66a,0x6ec)],_0x5aad4b);if(!_0x305d73)return void 0x0;const _0x459163=_0x348930['join'](getLspBinDir(_0x414aac[_0x53affd(_0x289b2d._0x7085ec,0x5dd,_0x289b2d._0xe268fb,0x6ec)]),binaryNameForPlatform(_0x27bd7b));function _0x1436c2(_0x57bc96,_0x507e09,_0x4e6045,_0x1712dd){return _0x1881b0(_0x1712dd- -_0xfa2328._0x53f9b4,_0x507e09-0x1de,_0x4e6045-0x1b4,_0x507e09);}return await exists(_0x459163)?_0x459163:void 0x0;})()),installPromises[_0x142ef9(-_0x15999a._0x388c0f,-0x6e,_0x15999a._0x575756,-0xc8)](_0x443465,_0x1facd4));try{return await _0x1facd4;}catch{return void 0x0;}finally{installPromises['delete'](_0x443465);}}var TYPESCRIPT_EXTENSIONS=[_0x5885dd(0x556,0x352,0x279,0x42b),_0x16ac01(0xa3,-0x3d,-0x10,-0xdf),'.js','.jsx','.mjs',_0x16ac01(0x272,0x234,0xba,0x286),_0x5885dd(-0x57,0xda,0x1b8,0x16b),_0x5885dd(0x3e5,0x1e8,0x4fe,0x310)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x16ac01(0x211,0x2d3,0x18f,0x148),_0x16ac01(-0x27b,-0xc9,-0x261,-0x6e)],TYPESCRIPT_ROOT_MARKERS=[_0x5885dd(0x268,0x37b,0x114,0x1f0),_0x16ac01(0x216,0x1ff,0x31e,0x414),_0x5885dd(0x4fc,0x2e2,0x2d2,0x39a),_0x16ac01(0x35,0x1a3,-0x37,0x322),_0x16ac01(0x11c,0x2c,-0x67,0xf9),_0x5885dd(0x569,0x513,0x213,0x3e5),_0x5885dd(0xa0,0x1e2,0x253,0x295),_0x5885dd(0x437,0x108,0x45a,0x2ce)],BIOME_ROOT_MARKERS=[_0x5885dd(0x35f,0x2aa,0x357,0x4b7),_0x5885dd(0x35a,0x3b8,0x51f,0x4c2),_0x5885dd(-0x12,-0x2,0x57,0x1f0),_0x5885dd(0x2c7,0x336,0x52d,0x48e),_0x5885dd(0x543,0x4c4,0x292,0x39a),'pnpm-lock.yaml','yarn.lock','package.json'];async function exists2(_0x41bd1e){try{return await _0x15bf01(_0x41bd1e),!![];}catch{return![];}}async function findUp(_0x7aac10,_0x216394){const _0x39e216={_0x5d9efc:0x209,_0x2251be:0x234,_0x16f29a:0x28a,_0x1982c6:0x127,_0x3ffe17:0x195,_0x1d771d:0x33,_0x3c8ebc:0xce,_0x160c12:0x279,_0x4f333f:0x10e,_0x30cde4:0xca,_0x5860c9:0xf9,_0x4baa7c:0x462},_0x492d45={_0x2f2d96:0x58},_0xe876e2={_0x57638c:0x2b8};let _0x144ee4=_0x10da83[_0x49b767(0x13d,_0x39e216._0x5d9efc,_0x39e216._0x2251be,_0x39e216._0x16f29a)](_0x7aac10);const _0x1c2d6f=_0x10da83[_0x49b767(-_0x39e216._0x1982c6,-_0x39e216._0x3ffe17,0x79,-_0x39e216._0x1d771d)](_0x144ee4);function _0x56a46e(_0x179723,_0x4a11c5,_0x309ed0,_0x70fa6e){return _0x16ac01(_0x179723-0xcc,_0x309ed0-_0xe876e2._0x57638c,_0x309ed0-0xa4,_0x4a11c5);}function _0x49b767(_0x21bfa9,_0x577150,_0x3c94ef,_0x509a62){return _0x5885dd(_0x21bfa9-0x167,_0x509a62,_0x3c94ef-_0x492d45._0x2f2d96,_0x21bfa9- -0x3bd);}if(_0x1c2d6f)_0x144ee4=_0x10da83[_0x49b767(-_0x39e216._0x3c8ebc,0x69,-_0x39e216._0x160c12,_0x39e216._0x4f333f)](_0x144ee4);while(!![]){for(const _0x5896ff of _0x216394){if(await exists2(_0x10da83[_0x49b767(0xd8,0xb3,_0x39e216._0x30cde4,-_0x39e216._0x5860c9)](_0x144ee4,_0x5896ff)))return _0x144ee4;}const _0xde10c8=_0x10da83[_0x56a46e(_0x39e216._0x4baa7c,0x2e1,0x318,0x502)](_0x144ee4);if(_0xde10c8===_0x144ee4)return void 0x0;_0x144ee4=_0xde10c8;}}async function hasDenoRoot(_0x184f59){const _0x3594b8={_0xf20370:0x813,_0x5bc12c:0xa17,_0x113a9d:0x631,_0x3b2806:0x511,_0x253260:0x7fb,_0x19897e:0x4bc,_0x2792e4:0x5ad,_0x267b66:0x5a5},_0x78fb8e={_0x1de4b7:0x7c,_0x16e380:0x37e},_0x3d78b4={_0x36b64a:0x126,_0x5c0e73:0x10e};function _0x3ce6a3(_0x5e932d,_0x15bd5d,_0x13281d,_0x4bd0f5){return _0x16ac01(_0x5e932d-_0x3d78b4._0x36b64a,_0x13281d-0x5f5,_0x13281d-_0x3d78b4._0x5c0e73,_0x15bd5d);}function _0x3a8895(_0x138e35,_0x3726e1,_0x88a08e,_0x129d9a){return _0x5885dd(_0x138e35-0xf7,_0x138e35,_0x88a08e-_0x78fb8e._0x1de4b7,_0x3726e1-_0x78fb8e._0x16e380);}return await exists2(_0x10da83[_0x3a8895(0x991,_0x3594b8._0xf20370,_0x3594b8._0x5bc12c,0x6ed)](_0x184f59,_0x3a8895(0x6e5,_0x3594b8._0x113a9d,_0x3594b8._0x3b2806,0x754)))||await exists2(_0x10da83[_0x3ce6a3(0x660,0x612,_0x3594b8._0x253260,0x84f)](_0x184f59,_0x3ce6a3(_0x3594b8._0x19897e,_0x3594b8._0x2792e4,_0x3594b8._0x267b66,0x479)));}async function resolveTsserverPath(_0x4c27e8){const _0x25560f={_0x50de31:0x34a,_0x22d255:0x55d,_0x46040c:0x367,_0xf2bca7:0x3f5,_0xacd57:0x6fd,_0x2443a3:0x426,_0x5b0e77:0x18e,_0x1c5971:0x44f,_0x4b7908:0x59b,_0x28faa6:0xa93,_0x54f922:0x8b0,_0x1e421d:0xaaa,_0x4ccda1:0x7a0,_0x169536:0x671,_0x5a5e78:0x5b6,_0x1e4660:0x5b5,_0x192079:0x5d1,_0xe1a6c4:0x509,_0x436ae9:0x63c,_0x186c0c:0x633,_0x3bcdb2:0x4d4,_0x387cf0:0x494,_0x1806fd:0x61a,_0x2d918f:0x3a8,_0x3a82e5:0x591},_0x82534={_0x5dc21f:0x5e,_0x42923f:0x63},_0x5be3a8={_0x492acd:0x78,_0x346523:0x611,_0x3daeeb:0x30};let _0x560a36=_0x10da83[_0x37eff4(0x3b1,_0x25560f._0x50de31,_0x25560f._0x22d255,_0x25560f._0x46040c)](_0x4c27e8);function _0x4cd530(_0x56dea2,_0x16e03b,_0x10baec,_0x4f406a){return _0x16ac01(_0x56dea2-_0x5be3a8._0x492acd,_0x16e03b-_0x5be3a8._0x346523,_0x10baec-_0x5be3a8._0x3daeeb,_0x56dea2);}while(!![]){const _0x4ec93c=_0x10da83[_0x37eff4(_0x25560f._0xf2bca7,_0x25560f._0xacd57,0x4f8,_0x25560f._0x2443a3)](_0x560a36,_0x37eff4(0x26f,0x37a,0x1d7,0x2f3),_0x37eff4(0x1ac,_0x25560f._0x5b0e77,0x356,0x26a),_0x37eff4(_0x25560f._0x1c5971,0x4ae,_0x25560f._0x4b7908,0x5bd),_0x4cd530(_0x25560f._0x28faa6,_0x25560f._0x54f922,0x7a7,_0x25560f._0x1e421d));if(await exists2(_0x4ec93c))return _0x4ec93c;const _0x6c1823=_0x10da83[_0x4cd530(_0x25560f._0x4ccda1,_0x25560f._0x169536,0x730,0x7d1)](_0x560a36);if(_0x6c1823===_0x560a36)break;_0x560a36=_0x6c1823;}const _0x40c4c8=getLspPackageDir(_0x4cd530(_0x25560f._0x5a5e78,0x675,_0x25560f._0x1e4660,_0x25560f._0x192079));function _0x37eff4(_0x4db9e2,_0x1340b1,_0x48ef0e,_0x1fb8b0){return _0x5885dd(_0x4db9e2-0x6f,_0x4db9e2,_0x48ef0e-_0x82534._0x5dc21f,_0x48ef0e-_0x82534._0x42923f);}const _0x49cf4e=await resolvePackageBinary({'packageName':_0x4cd530(0x65a,0x675,_0x25560f._0xe1a6c4,0x870),'binaryName':'tsc','startDir':_0x4c27e8});if(!_0x49cf4e)return void 0x0;const _0x5db491=_0x10da83['join'](_0x40c4c8,_0x4cd530(_0x25560f._0x436ae9,0x4f6,0x48c,_0x25560f._0x186c0c),_0x37eff4(_0x25560f._0x3bcdb2,0x30e,0x356,_0x25560f._0x387cf0),_0x37eff4(_0x25560f._0x1806fd,0x642,0x59b,0x67e),_0x37eff4(_0x25560f._0x2d918f,0x5ac,_0x25560f._0x3a82e5,0x568));return await exists2(_0x5db491)?_0x5db491:void 0x0;}var TypeScriptServer={'id':'typescript','name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x22b1e1){const _0x2f6bbd=await findUp(_0x22b1e1,TYPESCRIPT_ROOT_MARKERS);if(!_0x2f6bbd)return void 0x0;return await hasDenoRoot(_0x2f6bbd)?void 0x0:_0x2f6bbd;},async 'spawn'(_0x3fb3c1){const _0x11380d={_0x32843f:0x584,_0x126046:0x6c8,_0x2e1283:0x730,_0x50f70e:0x84c,_0x7db50a:0x44e},_0x319ac2={_0xa7d42d:0x2e6},_0x454dbd={_0x25b6cf:0x1e5,_0x15b978:0x63f};function _0x143d49(_0x531837,_0x14a70f,_0x497f94,_0x38d8d8){return _0x16ac01(_0x531837-_0x454dbd._0x25b6cf,_0x14a70f-_0x454dbd._0x15b978,_0x497f94-0x44,_0x531837);}const _0x2f1fdf=await resolveTsserverPath(_0x3fb3c1);if(!_0x2f1fdf)return void 0x0;function _0x34d3a5(_0x529079,_0x520d03,_0x433455,_0x4b575f){return _0x5885dd(_0x529079-0x171,_0x433455,_0x433455-0x121,_0x520d03-_0x319ac2._0xa7d42d);}const _0x165c39=await resolvePackageBinary({'packageName':_0x34d3a5(0x672,_0x11380d._0x32843f,_0x11380d._0x126046,_0x11380d._0x2e1283),'binaryName':_0x143d49(_0x11380d._0x50f70e,0x64e,0x5b4,0x55d),'startDir':_0x3fb3c1});if(!_0x165c39)return void 0x0;return{'process':_0x4203a1(_0x165c39,[_0x143d49(_0x11380d._0x7db50a,0x5e6,0x461,0x627)],{'cwd':_0x3fb3c1,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x2f1fdf}}};}},BiomeServer={'id':_0x16ac01(0x2e6,0x1d7,0x1d7,0x116),'name':_0x5885dd(0x456,0x235,0x4aa,0x373),'extensions':BIOME_EXTENSIONS,async 'root'(_0x1dcc46){return findUp(_0x1dcc46,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2cb33d){const _0x56fe1a={_0xaa1636:0x351,_0xabea2d:0x22a,_0x1479c2:0x42d,_0x37df74:0x652,_0x65c72c:0x460,_0xb8292d:0x52e,_0x517ae2:0x424,_0x3e8f2c:0x574,_0x4643ce:0x4ed,_0x35a298:0x59d},_0x2f4ae7={_0x155570:0x1e1,_0xff6f8f:0x19d,_0x56e28a:0xd6},_0x217530={_0x5949c0:0x19};function _0x413208(_0xb805cb,_0x10b541,_0x2bb368,_0x243409){return _0x5885dd(_0xb805cb-0x2,_0x10b541,_0x2bb368-_0x217530._0x5949c0,_0x243409-0x1ee);}const _0x1ffe3b=await findPackageBinary('biome',_0x2cb33d)??await resolvePackageBinary({'packageName':_0x22d04e(0x324,_0x56fe1a._0xaa1636,_0x56fe1a._0xabea2d,0x293),'binaryName':_0x22d04e(0x1ac,0x390,0x3c6,_0x56fe1a._0x1479c2),'startDir':_0x2cb33d});if(!_0x1ffe3b)return void 0x0;function _0x22d04e(_0x59c83b,_0x233ef9,_0x640472,_0x8aa108){return _0x5885dd(_0x59c83b-_0x2f4ae7._0x155570,_0x640472,_0x640472-_0x2f4ae7._0xff6f8f,_0x233ef9- -_0x2f4ae7._0x56e28a);}return{'process':_0x4203a1(_0x1ffe3b,[_0x413208(0x4b7,0x730,0x76d,_0x56fe1a._0x37df74),_0x413208(0x300,_0x56fe1a._0x65c72c,_0x56fe1a._0xb8292d,_0x56fe1a._0x517ae2)],{'cwd':_0x2cb33d,'stdio':_0x413208(_0x56fe1a._0x3e8f2c,_0x56fe1a._0x4643ce,_0x56fe1a._0x35a298,0x525)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x26f0ca){const _0x5aa8da={_0x5857e:0x454,_0x3ed4fa:0x4a1,_0x36ecd1:0x49a,_0x454430:0x2b5,_0x286be3:0x4d5,_0x2ca3d7:0x3da},_0x5b3a42={_0x2795be:0x14e,_0x587790:0x660,_0x592534:0x1cb};function _0x55f555(_0x3a585a,_0x30b674,_0x3899f0,_0x3bb35c){return _0x16ac01(_0x3a585a-_0x5b3a42._0x2795be,_0x3a585a-_0x5b3a42._0x587790,_0x3899f0-_0x5b3a42._0x592534,_0x30b674);}function _0x485022(_0x52fe78,_0x53e7f8,_0x203610,_0x2f1a4d){return _0x5885dd(_0x52fe78-0x3c,_0x53e7f8,_0x203610-0x16,_0x2f1a4d-0x204);}const _0xb1a11f=_0x10da83[_0x485022(_0x5aa8da._0x5857e,_0x5aa8da._0x3ed4fa,0x40d,_0x5aa8da._0x36ecd1)](_0x26f0ca)['toLowerCase']();return BUILTIN_LSP_SERVERS[_0x485022(0x234,_0x5aa8da._0x454430,_0x5aa8da._0x286be3,_0x5aa8da._0x2ca3d7)](_0x48f7e5=>_0x48f7e5[_0x55f555(0x875,0x712,0xa24,0x7ed)][_0x485022(0x656,0x4dd,0x5b3,0x6e8)](_0xb1a11f));}function stateKey(_0x2991b5,_0x5f521f){return _0x5f521f+':'+_0x2991b5['id'];}function diagnosticsKeyToPath(_0x20c611){const _0x39e957={_0x12d20f:0xe9,_0x2fc58d:0x2b1},_0x52287e={_0x15c8f4:0x8f,_0x34a878:0x6,_0x522306:0x2dc};if(!_0x20c611['startsWith'](_0x53b135(-_0x39e957._0x12d20f,-0x133,-0xd9,-_0x39e957._0x2fc58d)))return _0x20c611;function _0x53b135(_0x90ccd4,_0xae8a2c,_0x33989c,_0x4d9c28){return _0x5885dd(_0x90ccd4-_0x52287e._0x15c8f4,_0xae8a2c,_0x33989c-_0x52287e._0x34a878,_0x33989c- -_0x52287e._0x522306);}return fileURLToPath(_0x20c611);}function nextFileVersion(_0x2bcc94,_0x5e7136){const _0x39d018={_0x21d4d3:0x89e,_0xb9a298:0x80b,_0x335148:0x6d8,_0x54abd2:0x609,_0x1893b2:0x720,_0x65090d:0x7e6,_0x29b700:0x5e2,_0x4dcc3b:0x8bb,_0x440f2f:0x4fb},_0x146777={_0x484eaa:0xf5,_0x1d98b4:0x2b5};function _0x2be45b(_0x2ecb07,_0x153158,_0x1981c1,_0x429642){return _0x5885dd(_0x2ecb07-0x171,_0x153158,_0x1981c1-0x195,_0x2ecb07-0x2a7);}const _0x6e0d70=(_0x2bcc94[_0x4bd45d(0x72e,0x755,0x89b,_0x39d018._0x21d4d3)][_0x2be45b(_0x39d018._0xb9a298,0x74c,_0x39d018._0x335148,_0x39d018._0x54abd2)](_0x5e7136)??0x1)+0x1;_0x2bcc94[_0x2be45b(_0x39d018._0x1893b2,_0x39d018._0x65090d,_0x39d018._0x29b700,_0x39d018._0x4dcc3b)][_0x4bd45d(_0x39d018._0x440f2f,0x38d,0x406,0x4b6)](_0x5e7136,_0x6e0d70);function _0x4bd45d(_0x39789b,_0x84be8a,_0x514a2e,_0x4c410e){return _0x5885dd(_0x39789b-_0x146777._0x484eaa,_0x514a2e,_0x514a2e-0x1cd,_0x39789b-_0x146777._0x1d98b4);}return _0x6e0d70;}async function collectClientResults(_0x1e42b5){const _0xd39ad5={_0x330668:0x4e3,_0x8323d0:0x61e,_0x5cf6fd:0x7aa,_0x692c55:0x6f6},_0xc0aaa2={_0x58aecc:0x26f};function _0xd4bba4(_0x1588fc,_0x2e5156,_0xd81ea2,_0x3d5bfb){return _0x16ac01(_0x1588fc-0x1ab,_0x1588fc-0x30e,_0xd81ea2-0x1c5,_0x2e5156);}function _0x4155af(_0xf9e792,_0x48db81,_0x360c54,_0x57ad68){return _0x5885dd(_0xf9e792-0x180,_0x360c54,_0x360c54-0x4d,_0x57ad68-_0xc0aaa2._0x58aecc);}const _0x283e2a=await Promise[_0x4155af(_0xd39ad5._0x330668,_0xd39ad5._0x8323d0,_0xd39ad5._0x5cf6fd,_0xd39ad5._0x692c55)](_0x1e42b5);return _0x283e2a['flatMap'](_0x5203d6=>_0x5203d6[_0xd4bba4(0x263,0x11f,0xa1,0xe4)]===_0xd4bba4(0x55e,0x486,0x3c1,0x75f)?_0x5203d6['value']:[]);}function createLspService(_0x3f664b={}){const _0x48ae77={_0x42acca:0x7a4,_0x1fcb66:0x909,_0x278222:0x7a3},_0x4ae558={_0x2a5b53:0x1cc,_0x5d2f96:0x163},_0x260634={_0x49e573:0x4b,_0x3228bf:0x2b0,_0x51a24b:0x732,_0x53204f:0x910,_0x137261:0x70e,_0x531220:0x796,_0x2df6ea:0x596,_0x514465:0x5d9,_0x3b732e:0x14c,_0x46f248:0x44,_0x37ae48:0x12a,_0x2a3c51:0xa4,_0x6697b9:0x68,_0x170223:0x196,_0x377551:0x69,_0x3f98e9:0x1a1,_0x5a6d94:0x141,_0xa33823:0x56f},_0x1c352d={_0x11305c:0xb3,_0x2619df:0x13},_0x5b7402={_0xd2d53e:0x80b,_0x1d18e8:0x63d},_0x441976={_0x532677:0x272,_0x25509a:0x163},_0x595cc8={_0xe0704f:0xc8,_0xd8015a:0xdf},_0x5d7736={_0x4d8b61:0x68c,_0x2693dd:0x53d,_0x1e5973:0x33c},_0x5f39e6={_0x49aa91:0xdf,_0x38fa16:0x192},_0x242b42={_0x16d487:0x6e,_0x41836d:0x1ab,_0x3b84c5:0x18f},_0x528076={_0x563292:0x5ca,_0x4bb554:0x4d4,_0x2b8154:0x495,_0x1eea9f:0x337},_0x5ce4cf={_0x419c8c:0x42,_0x513eee:0x9,_0x2ee259:0x1d7},_0x427c88={_0x36df51:0x3ae},_0x41d539={_0x5d93a5:0x434},_0x28663c={_0x4673e9:0x29,_0x32d16a:0x184,_0x4b8a15:0x206},_0x30fade={_0x227bee:0x342,_0x1a1a26:0x4a7},_0x16db2c={_0x3aa787:0x30c,_0x2ee114:0x15b,_0x1ed2a9:0xa56,_0x3a8cbb:0x706,_0x59161c:0x8d6},_0x29104d={_0x39bc42:0x8a,_0x3ee1fc:0x79},_0x5e6c1c={_0x12da70:0x6be,_0x5817b0:0x604,_0x1fdec1:0x803,_0x527a03:0x51a},_0xb4813d={_0x2e1610:0x113},_0x419ac5={_0x26b7ab:0x17c,_0x5a01dc:0x5ff},_0x589ca8={_0x468b91:0x292,_0x51172d:0x3ee,_0x2752d5:0x2c4},_0x19342a={_0x4b9d67:0x69,_0x395b84:0x0},_0x1b0886={_0x1350c1:0x13d},_0x2167ef={_0x58743f:0x28e,_0x12d835:0x376,_0x83a936:0x2d0,_0x3a89fe:0x172,_0xa2a8e7:0x1b5,_0x578cf4:0x1b2},_0x5cf788={_0x51cd4b:0x374,_0x33613d:0x348,_0x63d0af:0x528,_0x3ce200:0x160,_0x51c8b5:0x104,_0x14b64b:0x233,_0x5b2309:0x29b,_0x53539c:0x279,_0x5c5c02:0x39,_0x427ba5:0x142,_0x49df44:0x2ef,_0x1c359e:0x418,_0x20426d:0x52c,_0x1146f8:0x36d,_0x14ffbd:0x91,_0x2de2bf:0x14,_0x15a1c6:0x1a9,_0x3d08fe:0x48,_0x4fee66:0x32c,_0x5734b2:0x344,_0x481867:0x4e7,_0x25aa11:0x167,_0x370824:0x44f},_0x2fcc11={_0x4d38ad:0x184,_0x4f6caf:0x5b},_0x52da40={_0x118157:0x308,_0x35f174:0x3db,_0x5a91d3:0x697,_0x4a156c:0x76b,_0x2b5f5e:0x80b,_0x4d99c8:0x25a,_0x26c574:0x262},_0x538e23={_0x18e6b8:0x738,_0x23a5c8:0x78c,_0x2da2f8:0x838,_0x117b3e:0x7c2,_0x214f7d:0x64d,_0x2a3dd4:0x59b,_0x453691:0x7a7,_0x33f63b:0x872,_0x42c0f8:0x697,_0x13a453:0x61a,_0x45cecb:0x6d5},_0x3fbd8a={_0x20c6ae:0x5a7},_0x2a6023={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x127dbb=()=>_0x3f664b[_0x6ec7fe(-0x175,-0x17a,-0x12d,-0x197)]!==![];async function _0x103629(_0x390b7a,_0x40e9e7){const _0x350220={_0x3bf101:0x15b,_0x58c1ff:0x312,_0x5bf1d1:0x42a,_0x423237:0x209,_0x5e815d:0x399,_0x594566:0x2d5,_0x1b3436:0x3b4,_0x593e8c:0x378,_0x426670:0x322,_0xbfdf03:0x275,_0x240bc:0x464,_0x614cea:0x204,_0x20b2f2:0x23a,_0x571406:0x28d,_0x4552e5:0x3a4,_0x3bae9d:0x43b},_0x163b02={_0x5b1886:0x22,_0x3dc0f1:0x12a,_0x30ab85:0x169},_0x172f7f={_0x5d44a4:0x12a},_0x59dfb7=stateKey(_0x390b7a,_0x40e9e7),_0x311a52=_0x2a6023[_0x256e9d(_0x538e23._0x18e6b8,0x8bb,0x99e,_0x538e23._0x23a5c8)]['find'](_0x2d5a80=>_0x2d5a80['serverId']===_0x390b7a['id']&&_0x2d5a80['root']===_0x40e9e7);function _0x256e9d(_0x411972,_0x120142,_0x4608d7,_0x3df7bb){return _0x6ec7fe(_0x411972-0xe1,_0x120142,_0x3df7bb-_0x3fbd8a._0x20c6ae,_0x3df7bb-0x5d);}if(_0x311a52)return _0x311a52;function _0x6b7f01(_0x1889f0,_0x28a77d,_0x1cfe03,_0x5b510a){return _0x6ec7fe(_0x1889f0-_0x172f7f._0x5d44a4,_0x28a77d,_0x1cfe03-0x5da,_0x5b510a-0xae);}if(_0x2a6023[_0x256e9d(_0x538e23._0x2da2f8,0x522,_0x538e23._0x117b3e,_0x538e23._0x214f7d)][_0x256e9d(0x6c8,0x3ba,0x4a9,_0x538e23._0x2a3dd4)](_0x59dfb7))return void 0x0;const _0x317fe1=_0x2a6023[_0x6b7f01(0x6e8,0x6c9,0x623,0x7b2)][_0x6b7f01(0x829,_0x538e23._0x453691,_0x538e23._0x33f63b,_0x538e23._0x42c0f8)](_0x59dfb7);if(_0x317fe1)return _0x317fe1;const _0x5a7f24=((async()=>{const _0x375ebd={_0x5637af:0xed};function _0x2576ea(_0x3ca18a,_0x4d404b,_0x5a72a6,_0x106aed){return _0x256e9d(_0x3ca18a-_0x163b02._0x5b1886,_0x4d404b,_0x5a72a6-_0x163b02._0x3dc0f1,_0x3ca18a- -_0x163b02._0x30ab85);}function _0x37d4cd(_0x5b36b6,_0x3c82ed,_0x12ec25,_0x4dff7e){return _0x6b7f01(_0x5b36b6-0x105,_0x3c82ed,_0x5b36b6- -0x40b,_0x4dff7e-_0x375ebd._0x5637af);}try{const _0x253a4b=await _0x390b7a[_0x37d4cd(0x365,0x559,_0x350220._0x3bf101,_0x350220._0x58c1ff)](_0x40e9e7);if(!_0x253a4b)return _0x2a6023['broken']['add'](_0x59dfb7),void 0x0;const _0x3b9c54=await createLspClient({'server':_0x390b7a,'root':_0x40e9e7,'handle':_0x253a4b}),_0x10bc3c=_0x2a6023['clients'][_0x37d4cd(0x27d,_0x350220._0x5bf1d1,_0x350220._0x423237,0x2cd)](_0x557553=>_0x557553[_0x37d4cd(0x128,0x6e,-0xc0,-0xef)]===_0x390b7a['id']&&_0x557553[_0x2576ea(0x330,0x36e,0x2b6,0x1ad)]===_0x40e9e7);if(_0x10bc3c)return await _0x3b9c54[_0x37d4cd(_0x350220._0x5e815d,_0x350220._0x594566,0x3a7,0x1b1)](),_0x10bc3c;return _0x2a6023[_0x37d4cd(_0x350220._0x1b3436,0x4d6,0x3ba,0x47c)][_0x2576ea(_0x350220._0x593e8c,0x4e1,_0x350220._0x426670,0x328)](_0x3b9c54),_0x3b9c54;}catch{return _0x2a6023[_0x37d4cd(_0x350220._0xbfdf03,_0x350220._0x240bc,_0x350220._0x614cea,0x395)][_0x37d4cd(0xba,_0x350220._0x20b2f2,_0x350220._0x571406,0x113)](_0x59dfb7),void 0x0;}finally{_0x2a6023['spawning'][_0x2576ea(_0x350220._0x4552e5,0x3ca,_0x350220._0x3bae9d,0x519)](_0x59dfb7);}})());return _0x2a6023[_0x6b7f01(0x5c2,0x4c1,0x623,_0x538e23._0x13a453)][_0x6b7f01(0x515,0x5b3,0x554,_0x538e23._0x45cecb)](_0x59dfb7,_0x5a7f24),_0x5a7f24;}async function _0x9c6b3c(_0x347069,_0x1b9704){const _0x4285bb={_0x47f7c4:0x62,_0x3dc512:0x50d},_0x412676={_0x4b6d81:0x146,_0x2dcc19:0x1ed};if(!_0x127dbb())return[];const _0x13ee72=[];function _0x2cc1d5(_0x39b4ed,_0x1a623f,_0x24e9ab,_0x2cc131){return _0x6ec7fe(_0x39b4ed-_0x412676._0x4b6d81,_0x2cc131,_0x1a623f-0x320,_0x2cc131-_0x412676._0x2dcc19);}function _0x38f9f5(_0x2d95b0,_0x3ef9b7,_0x3daa36,_0x4e7a0f){return _0x6ec7fe(_0x2d95b0-_0x4285bb._0x47f7c4,_0x2d95b0,_0x4e7a0f-_0x4285bb._0x3dc512,_0x4e7a0f-0x17e);}for(const _0x155750 of getServersForFile(_0x347069)){const _0x2a9c9f=await _0x155750[_0x2cc1d5(_0x52da40._0x118157,0x212,0x2d,0x2a9)](_0x347069);if(!_0x2a9c9f)continue;const _0x5462c2=stateKey(_0x155750,_0x2a9c9f);if(_0x2a6023[_0x38f9f5(_0x52da40._0x35f174,0x4db,_0x52da40._0x5a91d3,0x5b3)]['has'](_0x5462c2))continue;const _0x264a6b=_0x2a6023[_0x38f9f5(_0x52da40._0x4a156c,0x8c7,_0x52da40._0x2b5f5e,0x6f2)]['find'](_0x5056fb=>_0x5056fb[_0x2cc1d5(0x443,0x279,0x7c,0x1d4)]===_0x155750['id']&&_0x5056fb[_0x2cc1d5(0xe4,0x212,0x74,0x297)]===_0x2a9c9f);if(_0x264a6b){_0x13ee72['push'](_0x264a6b);continue;}if(!_0x1b9704)continue;const _0x1d3dbc=await _0x103629(_0x155750,_0x2a9c9f);if(_0x1d3dbc)_0x13ee72[_0x2cc1d5(0xef,_0x52da40._0x4d99c8,0x44d,_0x52da40._0x26c574)](_0x1d3dbc);}return _0x13ee72;}async function _0xa9c130(_0x25ce4b,_0x7df255=![]){const _0x1e0f8b={_0xe89460:0x15c},_0x2c1059={_0x42b1fe:0x112};function _0x1671d3(_0x40ca97,_0x510c95,_0x1416bd,_0x153c95){return _0x6ec7fe(_0x40ca97-0x135,_0x510c95,_0x1416bd- -0xe5,_0x153c95-_0x2c1059._0x42b1fe);}const _0x23a081=await _0x9c6b3c(_0x25ce4b,!![]);function _0x5e7ffd(_0x494bfd,_0x2e7c89,_0x42368d,_0x26bc7e){return _0x6ec7fe(_0x494bfd-_0x2fcc11._0x4d38ad,_0x2e7c89,_0x26bc7e-0x330,_0x26bc7e-_0x2fcc11._0x4f6caf);}await Promise[_0x5e7ffd(_0x2167ef._0x58743f,0x3b9,_0x2167ef._0x12d835,_0x2167ef._0x83a936)](_0x23a081[_0x5e7ffd(_0x2167ef._0x3a89fe,_0x2167ef._0xa2a8e7,0x223,_0x2167ef._0x578cf4)](async _0x3fc8af=>{const _0x4fb5da={_0x18a8f9:0x56};!_0x2a6023[_0x14a0f6(_0x5cf788._0x51cd4b,_0x5cf788._0x33613d,0x4cc,_0x5cf788._0x63d0af)]['has'](_0x3fc8af[_0x14a0f6(_0x5cf788._0x3ce200,_0x5cf788._0x51c8b5,_0x5cf788._0x14b64b,0x15f)]+':'+_0x3fc8af[_0x392e9d(_0x5cf788._0x5b2309,_0x5cf788._0x53539c,-_0x5cf788._0x5c5c02,_0x5cf788._0x427ba5)]+':'+_0x25ce4b)&&(await _0x3fc8af[_0x392e9d(_0x5cf788._0x49df44,0xdf,_0x5cf788._0x1c359e,0x27e)][_0x392e9d(0x44b,0x690,_0x5cf788._0x20426d,0x4bd)]({'path':_0x25ce4b}),_0x2a6023[_0x392e9d(_0x5cf788._0x1146f8,0x4ab,0x472,0x442)][_0x14a0f6(0x149,0x130,0x1c5,0x7b)](_0x3fc8af[_0x392e9d(_0x5cf788._0x14ffbd,0x27b,_0x5cf788._0x2de2bf,_0x5cf788._0x15a1c6)]+':'+_0x3fc8af[_0x14a0f6(_0x5cf788._0x3ce200,-_0x5cf788._0x3d08fe,0x1cc,0x2df)]+':'+_0x25ce4b));function _0x392e9d(_0x49e4fd,_0x3ef462,_0xf59016,_0x1805e3){return _0x1671d3(_0x49e4fd-_0x1e0f8b._0xe89460,_0x3ef462,_0x1805e3-0x335,_0x1805e3-0xc7);}await _0x3fc8af[_0x14a0f6(0x4ad,_0x5cf788._0x4fee66,0x308,_0x5cf788._0x5734b2)][_0x392e9d(_0x5cf788._0x481867,0x562,0x298,0x37f)]({'path':_0x25ce4b,'version':nextFileVersion(_0x2a6023,_0x25ce4b)});function _0x14a0f6(_0x56498c,_0x3b3652,_0x45af77,_0x21cdab){return _0x5e7ffd(_0x56498c-0xb9,_0x21cdab,_0x45af77-0xe8,_0x45af77- -_0x4fb5da._0x18a8f9);}if(_0x7df255)await _0x3fc8af[_0x14a0f6(_0x5cf788._0x25aa11,0x19c,0x2c0,_0x5cf788._0x370824)]({'path':_0x25ce4b});}));}function _0x6ec7fe(_0x4dfc8a,_0x3b07fa,_0x1cf7e0,_0x11c80a){return _0x16ac01(_0x4dfc8a-0xbb,_0x1cf7e0- -0x3d,_0x1cf7e0-0x196,_0x3b07fa);}async function _0x3bdc36(_0x4362d4){return await _0xa9c130(_0x4362d4['file'],![]),_0x9c6b3c(_0x4362d4['file'],![]);}async function _0xa1d6d5(_0x36aed8){function _0x428db2(_0xff2cfc,_0x11c8c8,_0x53a8a8,_0x1cfee2){return _0x6ec7fe(_0xff2cfc-_0x1b0886._0x1350c1,_0x1cfee2,_0xff2cfc-0x52d,_0x1cfee2-0xfc);}const _0x4e2665=await _0x3bdc36(_0x36aed8);function _0xa0ddd3(_0x5a4f78,_0x3f660f,_0x3254de,_0x273b0b){return _0x6ec7fe(_0x5a4f78-0x6b,_0x5a4f78,_0x273b0b- -_0x19342a._0x4b9d67,_0x273b0b-_0x19342a._0x395b84);}return collectClientResults(_0x4e2665[_0xa0ddd3(-_0x589ca8._0x468b91,-_0x589ca8._0x51172d,-_0x589ca8._0x2752d5,-0x1e7)](_0x242f82=>_0x242f82[_0x428db2(0x4fa,0x4f1,0x4e0,0x454)][_0x428db2(0x562,0x6cd,0x498,0x75f)](_0x36aed8)));}return{'isEnabled':_0x127dbb,async 'hasClients'(_0x22d529){function _0xeb3407(_0xaa7c05,_0x4781ca,_0x694dc2,_0x1fbbba){return _0x6ec7fe(_0xaa7c05-_0x419ac5._0x26b7ab,_0x694dc2,_0xaa7c05-_0x419ac5._0x5a01dc,_0x1fbbba-0x1f2);}function _0x4b87f2(_0x1ffb6,_0x3bc551,_0x58609a,_0x2fafdb){return _0x6ec7fe(_0x1ffb6-_0xb4813d._0x2e1610,_0x3bc551,_0x1ffb6-0x511,_0x2fafdb-0x26);}return(await _0x9c6b3c(_0x22d529,![]))[_0xeb3407(_0x5e6c1c._0x12da70,0x7af,0x5c0,_0x5e6c1c._0x5817b0)]>0x0||getServersForFile(_0x22d529)[_0xeb3407(0x6be,0x776,_0x5e6c1c._0x1fdec1,_0x5e6c1c._0x527a03)]>0x0;},'touchFile':_0xa9c130,async 'diagnostics'(){const _0x2fd28f={_0x41c9fc:0x633};function _0x2a406d(_0x479cf0,_0x27bf5b,_0x32f646,_0x5b72c4){return _0x6ec7fe(_0x479cf0-0x1e2,_0x5b72c4,_0x32f646- -_0x29104d._0x39bc42,_0x5b72c4-_0x29104d._0x3ee1fc);}function _0x1f1b8f(_0x3464e9,_0xd26b06,_0x2ccd87,_0x51f313){return _0x6ec7fe(_0x3464e9-0x1c1,_0x2ccd87,_0x51f313-_0x2fd28f._0x41c9fc,_0x51f313-0x1d9);}const _0x39d639={};for(const _0x347013 of _0x2a6023[_0x2a406d(_0x16db2c._0x3aa787,0x1f1,_0x16db2c._0x2ee114,0x23f)]){for(const [_0xc8910f,_0x478620]of _0x347013[_0x1f1b8f(_0x16db2c._0x1ed2a9,_0x16db2c._0x3a8cbb,0x727,_0x16db2c._0x59161c)]){_0x39d639[diagnosticsKeyToPath(_0xc8910f)]=_0x478620;}}return _0x39d639;},async 'diagnosticsForFile'(_0x440780){function _0x12d79b(_0x38f285,_0x187368,_0x5d3f03,_0x5a8b3c){return _0x6ec7fe(_0x38f285-0x1ba,_0x187368,_0x38f285-0xcb,_0x5a8b3c-0x89);}await _0xa9c130(_0x440780,!![]);const _0x3ac5da=[];for(const _0x5838f4 of await _0x9c6b3c(_0x440780,![])){for(const [_0x32043a,_0x7639f8]of _0x5838f4[_0x12d79b(0x36e,0x327,_0x30fade._0x227bee,_0x30fade._0x1a1a26)]){if(diagnosticsKeyToPath(_0x32043a)===_0x440780)_0x3ac5da['push'](..._0x7639f8);}}return _0x3ac5da;},async 'definition'(_0x1d82eb){const _0x46aaf5={_0x3e7530:0x488};function _0x26a2be(_0x2a1625,_0x1ac33e,_0x119b75,_0xc8f79d){return _0x6ec7fe(_0x2a1625-0x44,_0x1ac33e,_0x2a1625-_0x46aaf5._0x3e7530,_0xc8f79d-0x54);}function _0x18f2ab(_0x57296a,_0x5eb76c,_0x39be82,_0x5bfe74){return _0x6ec7fe(_0x57296a-0x116,_0x39be82,_0x57296a-0x1a7,_0x5bfe74-0x169);}return collectClientResults((await _0x3bdc36(_0x1d82eb))[_0x18f2ab(_0x28663c._0x4673e9,-_0x28663c._0x32d16a,0xed,_0x28663c._0x4b8a15)](_0x100575=>_0x100575[_0x18f2ab(0x174,0xde,0xa9,0x34b)]['definition'](_0x1d82eb)));},async 'references'(_0x4424ec){function _0x36a5df(_0x1fd57d,_0x51484e,_0x1b8cf6,_0x4340aa){return _0x6ec7fe(_0x1fd57d-0x1f1,_0x1b8cf6,_0x51484e-_0x41d539._0x5d93a5,_0x4340aa-0x82);}return collectClientResults((await _0x3bdc36(_0x4424ec))[_0x36a5df(0x3c7,0x2b6,_0x427c88._0x36df51,0x349)](_0x2ab35d=>_0x2ab35d['request']['references'](_0x4424ec)));},async 'hover'(_0x53be64){const _0x3c7280={_0xbc884f:0xdc},_0x2177ff={_0x24eb94:0x1aa,_0x4b65ef:0x176},_0x26c501=await Promise['allSettled']((await _0x3bdc36(_0x53be64))['map'](_0x1f1368=>_0x1f1368[_0x24f6bc(-0xfb,0x174,0xf3,0xa9)][_0x4e173e(0x168,0x15d,0x120,-0x47)](_0x53be64)));function _0x4e173e(_0x5195ed,_0x3c756a,_0x43a157,_0x1f66f9){return _0x6ec7fe(_0x5195ed-_0x2177ff._0x24eb94,_0x5195ed,_0x43a157- -0x33,_0x1f66f9-_0x2177ff._0x4b65ef);}function _0x24f6bc(_0x38dd30,_0x2f8c4c,_0x43ae12,_0x24e5c3){return _0x6ec7fe(_0x38dd30-0x179,_0x2f8c4c,_0x24e5c3-_0x3c7280._0xbc884f,_0x24e5c3-0x147);}return _0x26c501[_0x24f6bc(_0x5ce4cf._0x419c8c,-_0x5ce4cf._0x513eee,_0x5ce4cf._0x2ee259,0x123)](_0x2b641b=>_0x2b641b[_0x4e173e(-0xc4,-0x244,-0x11b,0xbe)]===_0x4e173e(0x212,0x288,0x1e0,0x35f)&&_0x2b641b['value']?[_0x2b641b[_0x4e173e(0x2f7,0x23c,0x13d,0x6d)]]:[]);},async 'documentSymbol'(_0x3099f1){const _0x573479={_0x573b68:0x113},_0x1a906d={_0x4096a7:0xc4};function _0x4716da(_0x32d280,_0x581056,_0x590ff8,_0x5e9ee8){return _0x6ec7fe(_0x32d280-_0x1a906d._0x4096a7,_0x590ff8,_0x581056-0x40e,_0x5e9ee8-0x52);}function _0x2366a0(_0x58157e,_0x2d71b8,_0x141d5a,_0x33a4d1){return _0x6ec7fe(_0x58157e-0x2c,_0x33a4d1,_0x2d71b8-0x66,_0x33a4d1-_0x573479._0x573b68);}return await _0xa9c130(_0x3099f1,![]),collectClientResults((await _0x9c6b3c(_0x3099f1,![]))['map'](_0x26cfab=>_0x26cfab[_0x4716da(0x1dc,0x3db,0x40e,0x285)][_0x4716da(0x551,0x6a0,0x8b4,0x48f)](_0x3099f1)));},async 'workspaceSymbol'(_0x3ac3eb){const _0x56f4c2={_0x560d74:0x12,_0x5a13a9:0x502,_0x483661:0x36},_0x22b8ef={_0x50c290:0x3e5,_0x3801f7:0x9a};function _0x45862e(_0x381180,_0xaf206d,_0x43b836,_0x276249){return _0x6ec7fe(_0x381180-0x36,_0x43b836,_0x381180-_0x22b8ef._0x50c290,_0x276249-_0x22b8ef._0x3801f7);}function _0x1bf0f0(_0x5b83b6,_0x52865c,_0xf69aa7,_0x30b0d9){return _0x6ec7fe(_0x5b83b6-_0x56f4c2._0x560d74,_0x52865c,_0xf69aa7-_0x56f4c2._0x5a13a9,_0x30b0d9-_0x56f4c2._0x483661);}return collectClientResults(_0x2a6023[_0x45862e(_0x528076._0x563292,0x77b,0x714,0x5b2)][_0x1bf0f0(_0x528076._0x4bb554,_0x528076._0x2b8154,0x384,_0x528076._0x1eea9f)](_0x32bb9c=>_0x32bb9c['request'][_0x1bf0f0(0x4e9,0x649,0x636,0x65d)](_0x3ac3eb)));},async 'implementation'(_0x478a40){function _0x57b1c1(_0x429631,_0x2307ad,_0x5836fc,_0x5430a8){return _0x6ec7fe(_0x429631-_0x242b42._0x16d487,_0x5430a8,_0x5836fc-_0x242b42._0x41836d,_0x5430a8-_0x242b42._0x3b84c5);}function _0xb0561c(_0x293a7c,_0x46e34c,_0x2bce5a,_0x594db4){return _0x6ec7fe(_0x293a7c-_0x5f39e6._0x49aa91,_0x594db4,_0x2bce5a-0x6bb,_0x594db4-_0x5f39e6._0x38fa16);}return collectClientResults((await _0x3bdc36(_0x478a40))[_0xb0561c(0x598,_0x5d7736._0x4d8b61,_0x5d7736._0x2693dd,_0x5d7736._0x1e5973)](_0x3777f3=>_0x3777f3[_0xb0561c(0x47a,0x641,0x688,0x7f5)][_0xb0561c(0x765,0x4b9,0x5f1,0x6dd)](_0x478a40)));},async 'prepareCallHierarchy'(_0x1296bf){return _0xa1d6d5(_0x1296bf);},async 'incomingCalls'(_0x308d81){const _0x308964={_0x435664:0x19f,_0x3ed2d3:0x9f},_0x3bdefc=await _0xa1d6d5(_0x308d81);function _0x35217a(_0x1475c5,_0x1042f7,_0x3b1a8c,_0xf22b48){return _0x6ec7fe(_0x1475c5-_0x595cc8._0xe0704f,_0x1475c5,_0x3b1a8c-0x415,_0xf22b48-_0x595cc8._0xd8015a);}const _0x5aa718=await _0x3bdc36(_0x308d81);function _0x2b418f(_0x583c08,_0xe5c26a,_0x39eef9,_0x287571){return _0x6ec7fe(_0x583c08-_0x308964._0x435664,_0xe5c26a,_0x39eef9-0x255,_0x287571-_0x308964._0x3ed2d3);}return collectClientResults(_0x5aa718[_0x2b418f(_0x441976._0x532677,_0x441976._0x25509a,0x29c,0x1b8)](_0xc2f37b=>_0x3bdefc[_0x35217a(0x2fc,0x2f2,0x297,0x349)](_0x31ac8a=>_0xc2f37b[_0x2b418f(0x2f4,0x2c,0x222,0x145)][_0x2b418f(0x307,0x344,0x2c6,0x14a)](_0x31ac8a))));},async 'outgoingCalls'(_0x5a4ad2){const _0x16bb5e={_0x117bd8:0x1c0},_0x51c6f3={_0x584e8b:0xf0,_0xe628d9:0xcb};function _0x58346f(_0x257a73,_0x4e4e05,_0x45164a,_0x5cc0dc){return _0x6ec7fe(_0x257a73-_0x51c6f3._0x584e8b,_0x257a73,_0x45164a-0x1d7,_0x5cc0dc-_0x51c6f3._0xe628d9);}const _0x22f030=await _0xa1d6d5(_0x5a4ad2),_0x1e980c=await _0x3bdc36(_0x5a4ad2);function _0x4fd81c(_0x342cc5,_0x11887d,_0x50405c,_0x3ebed8){return _0x6ec7fe(_0x342cc5-0xbb,_0x11887d,_0x3ebed8-0x5f6,_0x3ebed8-_0x16bb5e._0x117bd8);}return collectClientResults(_0x1e980c[_0x4fd81c(_0x5b7402._0xd2d53e,0x718,0x666,_0x5b7402._0x1d18e8)](_0x48ff15=>_0x22f030[_0x58346f(-0x7f,0x1e5,0x59,0x1f0)](_0xd9f5e6=>_0x48ff15[_0x58346f(0x88,0xb9,0x1a4,0x6e)][_0x4fd81c(0x5ee,0x658,0x60d,0x473)](_0xd9f5e6))));},async 'shutdown'(){if(_0x2a6023[_0x15b893(-0x298,-0x126,_0x260634._0x49e573,-0x2bf)])return;function _0x15b893(_0x46d65c,_0x2b9351,_0x32aba4,_0x2bd766){return _0x6ec7fe(_0x46d65c-_0x1c352d._0x11305c,_0x2bd766,_0x2b9351-0x22,_0x2bd766-_0x1c352d._0x2619df);}_0x2a6023['shutdownStarted']=!![],await Promise['allSettled'](_0x2a6023['clients'][_0xf1dd51(0x3cf,0x3ec,0x2e4,_0x260634._0x3228bf)](_0x504ab2=>_0x504ab2['shutdown']())),_0x2a6023[_0xf1dd51(_0x260634._0x51a24b,_0x260634._0x53204f,_0x260634._0x137261,_0x260634._0x531220)]=[],_0x2a6023[_0xf1dd51(_0x260634._0x2df6ea,0x381,0x75b,_0x260634._0x514465)][_0x15b893(-_0x260634._0x3b732e,_0x260634._0x46f248,_0x260634._0x37ae48,0xee)](),_0x2a6023[_0x15b893(-_0x260634._0x2a3c51,0xc8,-_0x260634._0x6697b9,0x39)][_0x15b893(_0x260634._0x170223,_0x260634._0x46f248,_0x260634._0x377551,-0x1a0)](),_0x2a6023['fileVersions'][_0x15b893(-0xb,0x44,-_0x260634._0x3f98e9,-_0x260634._0x5a6d94)]();function _0xf1dd51(_0x4018b5,_0x1b0bb3,_0x3c90e2,_0xd8074d){return _0x6ec7fe(_0x4018b5-0x144,_0xd8074d,_0x4018b5-0x54d,_0xd8074d-0x1e9);}_0x2a6023['openFiles'][_0xf1dd51(_0x260634._0xa33823,0x3bb,0x3b4,0x363)]();},'status'(){const _0x2041f7={_0x302e1b:0x183,_0x334d3b:0x185};function _0x2c9fd3(_0x2fd6c9,_0x37709e,_0x223aad,_0xd15bb4){return _0x6ec7fe(_0x2fd6c9-_0x4ae558._0x2a5b53,_0x223aad,_0xd15bb4-_0x4ae558._0x5d2f96,_0xd15bb4-0xfd);}function _0x2f835b(_0x2c98ac,_0x5aded4,_0x411b40,_0x1e370c){return _0x6ec7fe(_0x2c98ac-_0x2041f7._0x302e1b,_0x5aded4,_0x2c98ac-0x5bf,_0x1e370c-_0x2041f7._0x334d3b);}return{'connectedClients':_0x2a6023[_0x2f835b(_0x48ae77._0x42acca,_0x48ae77._0x1fcb66,0x6ef,0x6ab)][_0x2f835b(0x67e,0x5f8,_0x48ae77._0x278222,0x85d)]};}};}function getCommand(_0x365637){const _0x237c3b={_0x593cfa:0x500,_0x35b2cb:0x5a6,_0x438867:0x743,_0x2bbdf4:0x61b,_0x3136f6:0x487,_0x2b01e7:0x631,_0x574f3e:0x5ce,_0x3b4f7b:0x3a6,_0x3e3b1a:0x547},_0x1b6923={_0x5ab0b7:0xeb},_0x2c38c1={_0xc69cba:0x9};if(_0x365637&&typeof _0x365637===_0x58c1b7(_0x237c3b._0x593cfa,0x703,0x905,_0x237c3b._0x35b2cb)&&!Array[_0x5b2b55(0x37f,0x6c4,0x54c,0x510)](_0x365637)&&typeof _0x365637[_0x5b2b55(0x94f,_0x237c3b._0x438867,_0x237c3b._0x2bbdf4,0x743)]==='string')return _0x365637[_0x58c1b7(_0x237c3b._0x3136f6,_0x237c3b._0x2b01e7,0x619,0x490)];function _0x5b2b55(_0x23653a,_0x4c4c74,_0x3f0721,_0x28f2c2){return _0x16ac01(_0x23653a-_0x2c38c1._0xc69cba,_0x28f2c2-0x579,_0x3f0721-0x1ad,_0x4c4c74);}function _0x58c1b7(_0x188a95,_0x13737,_0x2fc6f7,_0x1cec9b){return _0x16ac01(_0x188a95-0x83,_0x13737-0x467,_0x2fc6f7-_0x1b6923._0x5ab0b7,_0x2fc6f7);}return _0x5b2b55(_0x237c3b._0x574f3e,0x49f,_0x237c3b._0x3b4f7b,_0x237c3b._0x3e3b1a);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md','docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x5885dd(0x4ec,0x30d,0x4f5,0x381),_0x16ac01(-0xcb,0x3f,-0xd5,0x2e),_0x5885dd(0x26e,0x40,0x184,0x1f3),_0x16ac01(-0x1e2,0x1,0x1b8,0x131),'src/examples/demo.ts',_0x16ac01(-0x64,0x68,0x21b,0x222),_0x5885dd(0x30c,0x643,0x2d2,0x48a),'src/tools/core/mock-tool-runtime.ts',_0x5885dd(0x323,0x386,0x2c1,0x348),'src/agent/turn-engine.ts',_0x16ac01(0x397,0x2df,0x3cb,0x372),'src/agent/agent.test.ts','src/models/anthropic-model.ts',_0x5885dd(0x2ef,0x2,0x4,0x1f7),_0x5885dd(0x24f,0x46a,0x413,0x3bf)]['join']('\x0a'),SHELL_EXEC_TOOL={'name':_0x5885dd(0x286,0x133,0x246,0x2de),'description':_0x5885dd(0x24e,0x50,0x131,0x1ff),'input_schema':{'type':_0x5885dd(0x382,0x4f3,0x4ac,0x52b),'properties':{'command':{'type':_0x16ac01(0x21e,0x257,0x2bd,0x285)}},'required':[_0x5885dd(0x26b,0x5db,0x417,0x459)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x557f70){return{'output':_0x557f70,'structured':{'value':_0x557f70}};}function createUnknownToolResult(_0x5d9726){const _0xb204b={_0x5b4167:0x960,_0x5dce6d:0x81c,_0x11d5a7:0x6,_0x3c7f9c:0x1a,_0x406a2b:0x72d,_0x2cce6b:0x98c},_0x4bdcaa={_0x2094ab:0x21,_0x5daf9f:0x7};function _0x5c915b(_0x56252e,_0x230b12,_0x19750a,_0x31f38f){return _0x16ac01(_0x56252e-_0x4bdcaa._0x2094ab,_0x230b12-0x25,_0x19750a-_0x4bdcaa._0x5daf9f,_0x31f38f);}function _0x23f29a(_0x4a4d67,_0x17dd88,_0x50c02e,_0x337fed){return _0x5885dd(_0x4a4d67-0xe7,_0x17dd88,_0x50c02e-0x1cb,_0x337fed-0x3db);}return{'callId':_0x5d9726['id'],'toolName':_0x5d9726[_0x5c915b(0x2c3,0x23c,0x1da,0x3fe)],'status':_0x23f29a(_0xb204b._0x5b4167,0x6d6,0x79e,_0xb204b._0x5dce6d),'output':_0x5c915b(-0x80,_0xb204b._0x11d5a7,-0x15,-_0xb204b._0x3c7f9c)+_0x5d9726[_0x23f29a(0x87b,_0xb204b._0x406a2b,_0xb204b._0x2cce6b,0x881)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x5ab93e,_0x3f5aaf){const _0x232b31={_0x34e6db:0x6f9,_0x3f9a68:0x7a7},_0x3f3a62={_0x38f325:0x1a5};function _0xfedb94(_0x5d081c,_0x537ad6,_0x16287f,_0x129027){return _0x5885dd(_0x5d081c-0x1e3,_0x16287f,_0x16287f-0x145,_0x537ad6-0x253);}function _0x483882(_0x1db9aa,_0x52c990,_0x172ff1,_0x4543ba){return _0x5885dd(_0x1db9aa-0x79,_0x172ff1,_0x172ff1-_0x3f3a62._0x38f325,_0x4543ba- -0x3c4);}return{'callId':_0x5ab93e['id'],'toolName':_0x5ab93e[_0xfedb94(0x729,_0x232b31._0x34e6db,_0x232b31._0x3f9a68,0x70d)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x5ab93e[_0xfedb94(0x5dc,0x760,0x820,0x93b)]),'exitCode':0x0},'chunks':[_0x3f5aaf],'meta':createMeta()};}function createMockToolRuntime(){const _0x58f128={_0xc627c8:0xde,_0x332b08:0x26d,_0x4c1b7e:0x252,_0x1de86e:0x447},_0x31001e={_0x17e339:0x131,_0x4f80ff:0xcb},_0x289978={_0x429f8e:0x237},_0x32dd03=async(_0x32ded7,_0x2ae544)=>{if(_0x32ded7['name']!==_0x402d9a(-0x99,0x21a,-_0x31001e._0x17e339,_0x31001e._0x4f80ff))return createUnknownToolResult(_0x32ded7);const _0xe0b90=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x402d9a(_0x543eb2,_0x1acf2c,_0x3dae73,_0x19fab1){return _0xa933(_0x19fab1- -_0x289978._0x429f8e,_0x3dae73);}return createSuccessToolResult(_0x32ded7,_0xe0b90);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x27705b,_0x2db693){const _0x2cf467={_0x52272a:0x2cf};function _0x4e1b5a(_0x2b3a85,_0x35f5f4,_0x1a6cc9,_0x358f8d){return _0xa933(_0x2b3a85-0xfb,_0x358f8d);}function _0x1602cc(_0x3a2190,_0xe28510,_0x39fb99,_0x4e1ecd){return _0xa933(_0xe28510- -_0x2cf467._0x52272a,_0x3a2190);}return await Promise[_0x1602cc(-0x17f,-0x3f,0x169,_0x58f128._0xc627c8)](_0x27705b[_0x4e1b5a(_0x58f128._0x332b08,_0x58f128._0x4c1b7e,_0x58f128._0x1de86e,0x56)](async _0x577739=>{return await _0x32dd03(_0x577739,_0x2db693);}));},async 'execute'(_0x390b72,_0x5b49e3){return await _0x32dd03(_0x390b72,_0x5b49e3);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0x5885dd(0x354,0x395,0x5fc,0x4d9),_0x5885dd(0x194,0x4be,0x495,0x32b),_0x5885dd(0x5fa,0x47a,0x5c1,0x4ca)],DelegatedResolutionError=class extends Error{[_0x5885dd(0x33b,0x61d,0x699,0x4ac)];[_0x16ac01(0xc6,-0xc6,-0x2a4,-0x2a9)];[_0x16ac01(0x105,0x22e,0x360,0x417)];constructor(_0x3f6749,_0x59f1a3,_0x4e37aa){const _0x335591={_0x322951:0x725,_0x5644e4:0x759,_0x43dcbc:0x732,_0x403a25:0x1ec,_0x2f4b5c:0x1c0,_0x202357:0x41,_0x3aba92:0x6f,_0x56db6b:0x252,_0x373d48:0x136,_0x76bca6:0x125},_0x12c9a5={_0x5d062e:0x24},_0x48315d={_0x1bc2bd:0x1e7,_0x3e2dd3:0x5f9};function _0x39ba15(_0x4056c5,_0x1c4f67,_0x39054c,_0x96c3a){return _0x16ac01(_0x4056c5-_0x48315d._0x1bc2bd,_0x96c3a-_0x48315d._0x3e2dd3,_0x39054c-0x21,_0x1c4f67);}super(_0x3f6749,_0x4e37aa);function _0x1dfec4(_0x3d7213,_0x2820c1,_0x480c37,_0x177079){return _0x16ac01(_0x3d7213-0xfb,_0x2820c1-_0x12c9a5._0x5d062e,_0x480c37-0xfa,_0x3d7213);}this[_0x39ba15(0x99f,_0x335591._0x322951,_0x335591._0x5644e4,0x810)]=_0x39ba15(0x8b7,0x7e7,0x535,_0x335591._0x43dcbc),this['requestedModelTier']=_0x59f1a3['requestedModelTier'],this[_0x1dfec4(-_0x335591._0x403a25,-0xa2,-_0x335591._0x2f4b5c,-0x17)]=_0x59f1a3[_0x1dfec4(0x128,-0xa2,-_0x335591._0x202357,-_0x335591._0x3aba92)],this['selector']=_0x59f1a3[_0x1dfec4(0xff,_0x335591._0x56db6b,_0x335591._0x373d48,_0x335591._0x76bca6)];}};function createDelegatedRunId(){const _0x321c39={_0x1fa329:0x333,_0x5d204e:0x36d,_0x47c836:0x1db},_0xcd50fe={_0x5374d8:0x74,_0x35e416:0x81};function _0x152608(_0x2da837,_0x5db741,_0x31fede,_0x51685b){return _0x5885dd(_0x2da837-_0xcd50fe._0x5374d8,_0x31fede,_0x31fede-0x1a4,_0x5db741-_0xcd50fe._0x35e416);}return _0x152608(_0x321c39._0x1fa329,_0x321c39._0x5d204e,0x360,_0x321c39._0x47c836)+randomUUID();}function rethrowDelegatedError(_0x2f1278){throw _0x2f1278;}async function resolveDelegatedAgentOptions(_0x416868,_0x3eb25a){const _0x3ecb3d={_0x45fbbe:0x13e,_0x31a55f:0xb5,_0x5b727b:0x13a,_0x3a8a8a:0x2c2,_0x3d43be:0x265,_0x358f00:0x2ee,_0x5b31a5:0xb2,_0xcc008f:0x45},_0x16ed3c={_0x35ef55:0x7,_0x2f632b:0x26,_0x52b8ef:0x6c},_0x2cc7fa={_0x59033c:0x5b};function _0x1ca3e4(_0xc8d0d0,_0x453aa7,_0x4a856f,_0x4a5939){return _0x5885dd(_0xc8d0d0-_0x2cc7fa._0x59033c,_0xc8d0d0,_0x4a856f-0x8d,_0x4a5939-0x313);}function _0x22356a(_0x211517,_0x2a0ef1,_0x29e99d,_0x1f2989){return _0x16ac01(_0x211517-_0x16ed3c._0x35ef55,_0x211517-_0x16ed3c._0x2f632b,_0x29e99d-_0x16ed3c._0x52b8ef,_0x29e99d);}const _0x121221=typeof _0x416868===_0x22356a(-0x3a,-_0x3ecb3d._0x45fbbe,_0x3ecb3d._0x31a55f,-_0x3ecb3d._0x5b727b)?await _0x416868(_0x3eb25a):_0x416868;return typeof _0x121221===_0x22356a(_0x3ecb3d._0x3a8a8a,_0x3ecb3d._0x3d43be,_0x3ecb3d._0x358f00,0x274)&&_0x121221!==null&&Object[_0x22356a(_0x3ecb3d._0x5b31a5,-0x93,0x86,_0x3ecb3d._0xcc008f)](_0x121221,_0x22356a(0x1c7,0x357,0x204,0xad))?_0x121221:{'options':_0x121221};}function awaitWithAbort(_0x55a6c1,_0x98aa81){return throwIfAborted(_0x98aa81),new Promise((_0x3689cb,_0x1edbd1)=>{const _0x18588a={_0x235c86:0x431,_0x130a46:0x163};let _0x5244f7=![];const _0x2ca0fd=addAbortListener(_0x98aa81,()=>{const _0x4e34a2={_0x5a2f0e:0x1d0};if(_0x5244f7)return;function _0x580cbf(_0x3fd467,_0x65b996,_0x419c0c,_0x426449){return _0xa933(_0x419c0c-_0x4e34a2._0x5a2f0e,_0x426449);}_0x5244f7=!![],_0x1edbd1(toAbortError(_0x98aa81[_0x580cbf(_0x18588a._0x235c86,_0x18588a._0x130a46,0x347,0x44f)]));});_0x55a6c1['then'](_0x1aaba7=>{if(_0x5244f7)return;_0x5244f7=!![],_0x2ca0fd(),_0x3689cb(_0x1aaba7);},_0x278650=>{if(_0x5244f7)return;_0x5244f7=!![],_0x2ca0fd(),_0x1edbd1(_0x278650);});});}function getDelegatedAgentDefinition(_0x2b4230,_0x9f146a){const _0x30fba5={_0x6d321c:0x81c,_0x14fed8:0x65b};function _0x2076ec(_0x11f779,_0x1d82d5,_0x30c90a,_0xb1686c){return _0x5885dd(_0x11f779-0x1f0,_0xb1686c,_0x30c90a-0x12a,_0x11f779-0x28b);}return _0x2b4230[_0x2076ec(0x75a,_0x30fba5._0x6d321c,0x945,_0x30fba5._0x14fed8)]?.[_0x9f146a];}function createRoutingSummary(_0x5542fb){const _0x442ea9={_0x1ec813:0x17b,_0x45a063:0x30,_0x49e095:0x1b1,_0x1f1e9f:0x50d,_0x56b8ce:0x432,_0x54797b:0x522,_0x34635a:0x2f,_0x1e8274:0x266,_0x25cbfe:0xca,_0x4cd5eb:0x5d7,_0x4c5226:0x5e6,_0x418f64:0x7b,_0x3f3b8d:0xc2,_0x5a08ce:0x135},_0x28faef={_0xf9b973:0xb},_0x38aa34={_0x46e7e1:0x6c};if(_0x5542fb[_0x3566dd(_0x442ea9._0x1ec813,-_0x442ea9._0x45a063,0x1ef,_0x442ea9._0x49e095)]===void 0x0)return{};function _0x3566dd(_0x5a2976,_0x25eb83,_0x325a27,_0x4853f2){return _0x16ac01(_0x5a2976-0xb5,_0x4853f2- -_0x38aa34._0x46e7e1,_0x325a27-0x4a,_0x25eb83);}function _0xfb4a66(_0x57a06e,_0x3029ec,_0x112b62,_0x233c0f){return _0x5885dd(_0x57a06e-_0x28faef._0xf9b973,_0x233c0f,_0x112b62-0x198,_0x3029ec-0x192);}const _0xa03ccf=_0x5542fb[_0xfb4a66(_0x442ea9._0x1f1e9f,0x586,_0x442ea9._0x56b8ce,_0x442ea9._0x54797b)]?.[_0x3566dd(-0x12a,-0x237,-0x27,-0x132)]??_0x5542fb[_0x3566dd(-_0x442ea9._0x34635a,-_0x442ea9._0x1e8274,_0x442ea9._0x25cbfe,-0x132)];return{'requestedModelTier':_0x5542fb[_0xfb4a66(_0x442ea9._0x4cd5eb,0x63e,0x6a3,_0x442ea9._0x4c5226)],..._0xa03ccf===void 0x0?{}:{'agentModelSet':_0xa03ccf},..._0x5542fb[_0x3566dd(-_0x442ea9._0x418f64,0x86,0x124,0xf9)]?.['resolvedModelIdentity']===void 0x0?{}:{'resolvedModelIdentity':_0x5542fb[_0x3566dd(0x1dd,_0x442ea9._0x3f3b8d,_0x442ea9._0x5a08ce,0xf9)]['resolvedModelIdentity']}};}function createStructuredWithRoutingSummary(_0x4781e6,_0x5cb452){const _0x1d3b1e={_0x2900cd:0x428,_0x56ae68:0x538,_0xc52a08:0x520,_0x3ec3cc:0x405,_0x2bd9ff:0x437,_0xb9b2a0:0x25d,_0xd5af87:0x4b7},_0xeb23f8={_0x4e5cc3:0x9},_0x575c7a={_0x53a45e:0x1e1},_0x8d543={..._0x4781e6};delete _0x8d543[_0x3d5587(_0x1d3b1e._0x2900cd,_0x1d3b1e._0x56ae68,_0x1d3b1e._0xc52a08,0x31e)];function _0x3d5587(_0x4893e6,_0x1484cf,_0x5227f1,_0x237039){return _0x5885dd(_0x4893e6-_0x575c7a._0x53a45e,_0x237039,_0x5227f1-0x1ab,_0x5227f1-0x74);}delete _0x8d543[_0x37bef2(0x454,_0x1d3b1e._0x3ec3cc,0x2ca,0x262)],delete _0x8d543[_0x3d5587(_0x1d3b1e._0x2bd9ff,_0x1d3b1e._0xb9b2a0,0x364,_0x1d3b1e._0xd5af87)];function _0x37bef2(_0x476638,_0xabb44c,_0x28b644,_0x3c04ac){return _0x16ac01(_0x476638-_0xeb23f8._0x4e5cc3,_0xabb44c-0x4cb,_0x28b644-0x1cf,_0x3c04ac);}return{..._0x8d543,...createRoutingSummary(_0x5cb452)};}function createRunSummary(_0x379f50){const _0x304e34={_0x4b5e9b:0x141,_0x2c36d2:0xd0,_0x4c3ef0:0x123,_0x2110a6:0x31,_0x323251:0x2,_0x5aa428:0x5c,_0x4d48bb:0x399,_0x13fd57:0x3c9,_0x808de8:0x328,_0x17a534:0x1e9,_0x27e37f:0x155,_0x46c0ff:0x8d,_0x38bb50:0x1db,_0x15d3a2:0x2cb,_0x41e82c:0x34,_0x5e025e:0x8a},_0x7262c2={_0x5d823d:0x11e},_0x3a7771={_0x5091cc:0x59};function _0x361347(_0x359882,_0x3fc234,_0x22e6ea,_0x427ddf){return _0x5885dd(_0x359882-0x124,_0x22e6ea,_0x22e6ea-_0x3a7771._0x5091cc,_0x427ddf- -0xe6);}function _0x3909eb(_0x16b3dd,_0x21dee4,_0x363ce7,_0x4fa3ce){return _0x16ac01(_0x16b3dd-0x2a,_0x4fa3ce-_0x7262c2._0x5d823d,_0x363ce7-0x149,_0x21dee4);}return{'runId':_0x379f50['runId'],'agentId':_0x379f50['agentId'],..._0x379f50[_0x3909eb(-0x3a,-0x16c,-_0x304e34._0x4b5e9b,0x31)]!==void 0x0?{'sessionId':_0x379f50[_0x3909eb(-_0x304e34._0x2c36d2,-_0x304e34._0x4c3ef0,-0x6f,_0x304e34._0x2110a6)]}:{},'status':_0x379f50['status'],'parentSessionId':_0x379f50['parentSessionId'],..._0x379f50[_0x361347(_0x304e34._0x323251,-0x108,0x227,0xc2)]!==void 0x0?{'originToolCallId':_0x379f50['originToolCallId']}:{},...createRoutingSummary(_0x379f50),..._0x379f50[_0x3909eb(-_0x304e34._0x5aa428,0x31b,0x341,0x158)]!==void 0x0?{'errorMessage':_0x379f50[_0x361347(0x2c9,_0x304e34._0x4d48bb,_0x304e34._0x13fd57,0x1e3)]}:{},..._0x379f50[_0x361347(_0x304e34._0x808de8,_0x304e34._0x17a534,-0x95,_0x304e34._0x27e37f)]?.[_0x3909eb(_0x304e34._0x46c0ff,0xfc,0x3ad,_0x304e34._0x38bb50)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x379f50[_0x3909eb(_0x304e34._0x15d3a2,-_0x304e34._0x41e82c,_0x304e34._0x5e025e,0xca)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x1ee538,_0x2f13b8){const _0x112949={_0x46e8dd:0x38b};function _0x57546d(_0x4de925,_0x2d05ba,_0x50b271,_0x315a94){return _0x5885dd(_0x4de925-0xd2,_0x315a94,_0x50b271-0x155,_0x50b271-0x331);}function _0x326f74(_0x3e8c2d,_0x113421,_0x5efd18,_0x4ea292){return _0x16ac01(_0x3e8c2d-0x7f,_0x113421-_0x112949._0x46e8dd,_0x5efd18-0x13e,_0x5efd18);}const _0x4095e1=createRunSummary(_0x1ee538),_0x4e4316=_0x4095e1['finalMessageText'];return createToolOutput(typeof _0x4e4316===_0x326f74(0x7b6,0x5e2,0x5ce,0x4ab)&&_0x4e4316[_0x326f74(0x5aa,0x487,0x594,0x29f)]>0x0?_0x4e4316:_0x2f13b8,_0x4095e1);}function getRunTerminalErrorMessage(_0x5505d5){const _0x255539={_0x271483:0x2d,_0x1ad89a:0xc5,_0x2d5737:0x38a,_0x2fe23e:0x1a7,_0x51e757:0x1cd,_0x55140b:0x326,_0x3f91df:0x21f,_0x5ca3f9:0x483,_0x5d60b4:0x619,_0x2fe710:0x25b,_0x18644c:0x66,_0x323951:0x1ce,_0x5a821e:0xb3},_0x5d4b9a={_0x3f7a5e:0x16a},_0x213e2f={_0x2017b2:0x8f};function _0x5536ba(_0x307dcc,_0x2cff3d,_0x5d2fc4,_0xd3a4a8){return _0x5885dd(_0x307dcc-_0x213e2f._0x2017b2,_0x5d2fc4,_0x5d2fc4-0xe2,_0x2cff3d- -0xc1);}const _0x3ada61=_0x5505d5?.[_0x4d262c(-0x93,0x74,-_0x255539._0x271483,-0x15e)][_0x5536ba(0x15e,0x247,_0x255539._0x1ad89a,_0x255539._0x2d5737)]['at'](-0x1);if(_0x3ada61?.[_0x5536ba(-0xae,0x123,_0x255539._0x2fe23e,_0x255539._0x51e757)]===_0x5536ba(_0x255539._0x55140b,0x380,0x3fc,_0x255539._0x3f91df)&&_0x3ada61[_0x5536ba(0x475,_0x255539._0x5ca3f9,_0x255539._0x5d60b4,0x2c7)][_0x4d262c(0x1e2,_0x255539._0x2fe710,0x194,_0x255539._0x18644c)]()[_0x5536ba(_0x255539._0x323951,0x2ca,0x4d5,_0x255539._0x5a821e)]>0x0)return _0x3ada61['output'];function _0x4d262c(_0x2f28c9,_0x35e57f,_0x3b89f2,_0x12c0e6){return _0x5885dd(_0x2f28c9-0x96,_0x3b89f2,_0x3b89f2-0x40,_0x35e57f- -_0x5d4b9a._0x3f7a5e);}return void 0x0;}function _0xa933(_0x469f26,_0x13e715){_0x469f26=_0x469f26-0x168;const _0x5a626f=_0x5a62();let _0xa933c4=_0x5a626f[_0x469f26];if(_0xa933['oNSbby']===undefined){var _0x496927=function(_0x4ff3f7){const _0x5812ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4bb817='',_0x4203a1='';for(let _0x15bf01=0x0,_0x10da83,_0x33177b,_0x348930=0x0;_0x33177b=_0x4ff3f7['charAt'](_0x348930++);~_0x33177b&&(_0x10da83=_0x15bf01%0x4?_0x10da83*0x40+_0x33177b:_0x33177b,_0x15bf01++%0x4)?_0x4bb817+=String['fromCharCode'](0xff&_0x10da83>>(-0x2*_0x15bf01&0x6)):0x0){_0x33177b=_0x5812ca['indexOf'](_0x33177b);}for(let _0x3d7b35=0x0,_0x2a9ef1=_0x4bb817['length'];_0x3d7b35<_0x2a9ef1;_0x3d7b35++){_0x4203a1+='%'+('00'+_0x4bb817['charCodeAt'](_0x3d7b35)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4203a1);};_0xa933['RqihlE']=_0x496927,_0xa933['YCOBco']={},_0xa933['oNSbby']=!![];}const _0x8d6af0=_0x5a626f[0x0],_0x377d2c=_0x469f26+_0x8d6af0,_0x178f46=_0xa933['YCOBco'][_0x377d2c];return!_0x178f46?(_0xa933c4=_0xa933['RqihlE'](_0xa933c4),_0xa933['YCOBco'][_0x377d2c]=_0xa933c4):_0xa933c4=_0x178f46,_0xa933c4;}function formatAbortedRunMessage(_0x3d25d4,_0x3dc7e5){const _0x2d5c12={_0x4f67ab:0x54d,_0x972cbd:0x67d},_0x33f3ec={_0x1c7470:0x1c4,_0x14c05f:0x25f},_0x4d8a6f={_0x5cab9a:0xe1},_0x146e74=_0xab9f36(0x354,0x3e7,_0x2d5c12._0x4f67ab,0x4ad)+_0x3d25d4+_0x7abc51(0x610,_0x2d5c12._0x972cbd,0x7a6,0x3ff);if(!_0x3dc7e5||_0x3dc7e5['trim']()['length']===0x0||_0x3dc7e5===_0x146e74)return _0x146e74;function _0xab9f36(_0x1d85da,_0x52e063,_0x38bea2,_0x5a9454){return _0x16ac01(_0x1d85da-0x1eb,_0x5a9454-0x3d1,_0x38bea2-_0x4d8a6f._0x5cab9a,_0x38bea2);}function _0x7abc51(_0x5515b6,_0x1ff3c4,_0x163ee0,_0x136113){return _0x5885dd(_0x5515b6-0x7a,_0x163ee0,_0x163ee0-_0x33f3ec._0x1c7470,_0x5515b6-_0x33f3ec._0x14c05f);}return _0x146e74+'\x20Cause:\x20'+_0x3dc7e5;}function createAssignTaskTool(_0x38287a){const _0x4903d8={_0x117766:0x4d2,_0x5df068:0x3b7,_0x2e6dbd:0x32d,_0x40e13f:0x408,_0x30a6ba:0x391,_0x3ea521:0x540,_0x5ae763:0x4d9,_0x264099:0x83,_0x5ec565:0x1b6,_0x4ed5c4:0x588,_0x5cdf53:0x508,_0x46232e:0x5f0,_0x49a053:0x512,_0x277370:0x28a,_0x42b26f:0x148,_0x258cae:0x34c,_0x80831:0x2f8,_0x21abfc:0x460,_0x579a45:0x3cc,_0x3bf7f4:0x48c,_0x2e2975:0x347,_0x526a80:0x446,_0x83fefc:0x382,_0xdcfbbd:0x13d,_0x533367:0x13f,_0x2d176b:0x7b,_0x54c728:0x11b},_0x3deb8c={_0x5bc944:0x7c,_0x28565b:0x454,_0x279081:0x1a3,_0x4488fc:0x2df,_0x33161d:0xd7,_0x45923:0x125,_0x5b61c2:0x1a8,_0x26e7e9:0x1f,_0x22241f:0xd9,_0x30a280:0x74,_0x19717e:0x4c,_0x3b7057:0x207,_0x36cd6a:0x358,_0x47d0f3:0x27c,_0x4d1d1a:0x13e,_0x71d52a:0x2c5,_0x497c2c:0x64,_0x2ada16:0x1a7,_0x1bcf08:0xd9,_0x556d37:0x1b5,_0x1ab301:0xd9,_0x139951:0x29e,_0x4372a8:0x68,_0x33a0fb:0x42,_0x315041:0x114,_0x2201e0:0x20f,_0x588db4:0x227,_0x2eeb7d:0x0,_0x23b1f8:0x261,_0x2b24b3:0x30f,_0x1345c0:0x162,_0x1fead3:0x36,_0x5eceb8:0x1eb,_0x14e5a6:0x3c0,_0x2c1926:0xed,_0xe74a45:0x16c,_0x46e0e4:0xf7,_0x3bc82d:0x109,_0xc1f47e:0x69,_0x551951:0x12d,_0x4b846f:0x284,_0x46e2f1:0xdb,_0x570171:0xf,_0x4ffce3:0x155,_0x4d5fd4:0xf4,_0x1c024b:0x100,_0x37d75b:0x91,_0x5d9386:0x1c7,_0x3d46fe:0xc8,_0x58942e:0x19,_0x911ba0:0x34a,_0x1c0ae1:0x3da,_0xe5b9b4:0x189,_0x2bc05d:0x16f,_0x75842b:0x5f,_0x2fd7e1:0x199,_0x585186:0x1a1,_0x50ec03:0x1e1,_0x146ba3:0x254,_0x4d7ef9:0x217,_0xbb6907:0x2b5,_0xf81769:0x249,_0x294b0a:0x22,_0x35835f:0xc3,_0x17daac:0x25,_0x48b59f:0x161,_0x190cd9:0x196,_0x58ccb3:0x1ba,_0x67e6f1:0x179,_0x2690bd:0x196,_0x58990a:0x7d,_0x34043f:0x24,_0xa46f3d:0x269,_0x68f883:0x129,_0x253a03:0x394,_0x5c32fa:0x1ca,_0x109050:0xf9,_0x32fe6a:0x28,_0x47e6a4:0x524,_0xa128e4:0x369,_0x1bea02:0x159,_0x33daaf:0x243,_0x5b1cf7:0x54,_0x214edf:0x18a,_0x51cc5d:0x1a,_0x55626a:0x2cf,_0x56a365:0x10e,_0x47e52f:0x1de,_0xa54758:0x1ee,_0x782c8e:0x124,_0x57addf:0x1cc,_0x5bf540:0x16c,_0x36b00f:0x32b,_0x397934:0x280,_0x588eb6:0x1a9,_0x4189eb:0xd8,_0x8283bb:0x40,_0x45cd36:0x219,_0x5e7c19:0x18,_0x4b98c9:0x32,_0xf4eea7:0x2b7,_0x24405f:0x2f1,_0x463004:0x3ee,_0x36e14d:0x466,_0x4ffb79:0x32a,_0x5ecd76:0x478,_0x25ac1e:0x2f2,_0x6019d1:0x92,_0x4a159f:0x1c9,_0x391b07:0xdb,_0x42a962:0x67,_0x1aa554:0x391,_0x324e30:0x195,_0x41a115:0x117,_0xd36f2f:0x226,_0xb9446c:0x231,_0x1dfc9d:0x1c2,_0x2b24a4:0x1b4,_0x8a035b:0x26c,_0x19702b:0xf0,_0x256cb6:0x2ce,_0x24ab3c:0x2fd,_0x4edc7a:0x3e3,_0x999261:0x1ca,_0x3ab136:0x3c8,_0x46160d:0x369},_0x533aea={_0x4ca9e1:0x228,_0xdc0748:0x1de},_0x1dd47b={_0x58921e:0x1a8,_0x206642:0xf5,_0x32a898:0x2c};function _0x1efae2(_0x5c2fd8,_0x47cbe6,_0x7b3a2e,_0xbe06d6){return _0x5885dd(_0x5c2fd8-0x188,_0x47cbe6,_0x7b3a2e-0x154,_0x7b3a2e-0x22);}function _0x532aec(_0x5c7029,_0x1433cf,_0x53fb5d,_0x51d8dc){return _0x16ac01(_0x5c7029-_0x1dd47b._0x58921e,_0x1433cf-_0x1dd47b._0x206642,_0x53fb5d-_0x1dd47b._0x32a898,_0x5c7029);}return defineTool({'name':'AssignTask','permissionClass':'always-confirm','description':_0x532aec(_0x4903d8._0x117766,_0x4903d8._0x5df068,_0x4903d8._0x2e6dbd,_0x4903d8._0x40e13f),'inputSchema':{'type':_0x532aec(0x398,_0x4903d8._0x30a6ba,_0x4903d8._0x3ea521,_0x4903d8._0x5ae763),'properties':{'agentId':{'type':'string','description':_0x532aec(_0x4903d8._0x264099,_0x4903d8._0x5ec565,0x159,0xc3)},'description':{'type':'string','description':_0x1efae2(0x5a6,0x386,0x3f7,0x51a)},'nickname':{'type':_0x1efae2(_0x4903d8._0x4ed5c4,0x6b9,_0x4903d8._0x5cdf53,_0x4903d8._0x46232e),'description':_0x1efae2(0x357,_0x4903d8._0x49a053,0x3ff,_0x4903d8._0x277370)},'task':{'type':_0x532aec(_0x4903d8._0x42b26f,_0x4903d8._0x258cae,0x2a6,_0x4903d8._0x80831),'description':'Complete,\x20self-contained\x20instructions\x20sent\x20verbatim\x20to\x20the\x20delegated\x20agent.\x20Include\x20relevant\x20context,\x20scope,\x20constraints,\x20and\x20expected\x20output.'},'modelTier':{'type':_0x1efae2(0x6f5,_0x4903d8._0x21abfc,0x508,_0x4903d8._0x579a45),'enum':[...MODEL_TIERS],'description':_0x1efae2(_0x4903d8._0x3bf7f4,0x4f9,_0x4903d8._0x2e2975,_0x4903d8._0x526a80)}},'required':[_0x1efae2(0x2f2,_0x4903d8._0x83fefc,0x3cb,0x314),_0x532aec(0x1e9,_0x4903d8._0xdcfbbd,_0x4903d8._0x533367,-0xae),_0x532aec(0xb3,_0x4903d8._0x2d176b,0xf7,-_0x4903d8._0x54c728)]},async *'execute'(_0x5a5d31,_0x290dc6){const _0x97911c={_0xec11d9:0xff},_0x353636={_0x436852:0x52f,_0x16f453:0x4c9,_0x3225ea:0x4c7,_0x157441:0x3ac},_0x185d8e={_0x2b65fb:0x11c,_0x3c5a57:0xf9},_0x451c13=createDelegatedRunId(),_0x3226ca=new AbortController(),_0x32dd22=_0x5a5d31[_0x92c92e(0x27a,0x12f,_0x3deb8c._0x5bc944,_0x3deb8c._0x28565b)],_0x48efe3={'agentId':_0x5a5d31[_0x92c92e(_0x3deb8c._0x279081,_0x3deb8c._0x4488fc,_0x3deb8c._0x33161d,0x29a)],'parentSessionId':_0x290dc6[_0x8e6423(_0x3deb8c._0x45923,0xf,_0x3deb8c._0x5b61c2,-_0x3deb8c._0x26e7e9)],'runId':_0x451c13,'signal':_0x3226ca['signal'],..._0x290dc6[_0x92c92e(_0x3deb8c._0x22241f,_0x3deb8c._0x30a280,0x2bb,0xe)]!==void 0x0?{'toolCallId':_0x290dc6[_0x92c92e(0xd9,-0xac,_0x3deb8c._0x19717e,0x155)]}:{},..._0x32dd22===void 0x0?{}:{'modelTier':_0x32dd22}},_0x579efa=getDelegatedAgentDefinition(_0x38287a,_0x5a5d31[_0x92c92e(0x1a3,0xd8,0x132,-0x71)]);if(!_0x579efa)throw new ToolExecutionError(_0x8e6423(_0x3deb8c._0x3b7057,_0x3deb8c._0x36cd6a,0x39a,_0x3deb8c._0x47d0f3)+_0x5a5d31['agentId'],{'agentId':_0x5a5d31['agentId'],..._0x32dd22===void 0x0?{}:{'requestedModelTier':_0x32dd22}});function _0x92c92e(_0x45d2e7,_0x20ff51,_0x2b32a4,_0x465bed){return _0x1efae2(_0x45d2e7-0x3f,_0x2b32a4,_0x45d2e7- -_0x533aea._0x4ca9e1,_0x465bed-_0x533aea._0xdc0748);}let _0xe0aec2={'runId':_0x451c13,'agentId':_0x5a5d31[_0x8e6423(_0x3deb8c._0x4d1d1a,0x216,0x2d9,0x303)],'status':_0x8e6423(_0x3deb8c._0x71d52a,0x1c9,0x89,0x126),'parentSessionId':_0x290dc6[_0x92c92e(-_0x3deb8c._0x497c2c,0x164,-0xdf,-_0x3deb8c._0x2ada16)],..._0x290dc6[_0x92c92e(_0x3deb8c._0x1bcf08,_0x3deb8c._0x71d52a,_0x3deb8c._0x556d37,-0x62)]!==void 0x0?{'originToolCallId':_0x290dc6[_0x92c92e(_0x3deb8c._0x1ab301,_0x3deb8c._0x139951,-0x10c,0xa9)]}:{},..._0x32dd22===void 0x0?{}:{'requestedModelTier':_0x32dd22}};const _0x514da5=addAbortListener(_0x290dc6[_0x92c92e(_0x3deb8c._0x4372a8,0xb2,0x221,-0x141)],()=>{const _0x3e3a0d={_0x4c38ac:0x64};function _0x391332(_0x201c97,_0x518d0d,_0x46cbf9,_0x26b310){return _0x92c92e(_0x201c97-_0x185d8e._0x2b65fb,_0x518d0d-_0x185d8e._0x3c5a57,_0x518d0d,_0x26b310-0x10);}function _0x31e8f4(_0x1564c9,_0x407877,_0xf9cfe6,_0x334cdd){return _0x8e6423(_0x334cdd,_0x407877-0x3ec,_0xf9cfe6-0x55,_0x334cdd-_0x3e3a0d._0x4c38ac);}_0x3226ca[_0x31e8f4(0x421,_0x353636._0x436852,0x4b6,_0x353636._0x16f453)](_0x290dc6[_0x31e8f4(0x3f9,_0x353636._0x3225ea,0x6ba,0x564)][_0x31e8f4(0x2d7,_0x353636._0x157441,0x5a6,0x50b)]);});let _0x4102f2,_0x6daa6c;function _0x8e6423(_0x1a4960,_0x132a4a,_0x4f6100,_0x3a660f){return _0x1efae2(_0x1a4960-0x14,_0x1a4960,_0x132a4a- -0x1b5,_0x3a660f-_0x97911c._0xec11d9);}let _0x126db2,_0x498195,_0x5cc83a=![],_0x415232,_0x2491e3,_0x111773=![];const _0x3a1314=_0x38287a[_0x92c92e(0xae,-_0x3deb8c._0x33a0fb,-0x75,0x3)];try{_0x38287a['semaphore']!==void 0x0&&(_0x4102f2=await _0x38287a['semaphore']['acquire'](_0x3226ca[_0x92c92e(0x68,-0xe5,_0x3deb8c._0x315041,-0x15e)]));throwIfAborted(_0x3226ca[_0x8e6423(_0x3deb8c._0x2201e0,0xdb,_0x3deb8c._0x588db4,_0x3deb8c._0x2eeb7d)]);const _0x46eb4c=await awaitWithAbort(resolveDelegatedAgentOptions(_0x579efa,_0x48efe3),_0x3226ca['signal']);_0xe0aec2={..._0xe0aec2,..._0x32dd22===void 0x0||_0x46eb4c[_0x8e6423(0x1da,_0x3deb8c._0x23b1f8,_0x3deb8c._0x2b24b3,0xdc)]?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x46eb4c['routing'][_0x8e6423(-_0x3deb8c._0x1345c0,_0x3deb8c._0x1fead3,-0x160,-0x170)]}};const _0x55797d=_0x46eb4c[_0x92c92e(0x22a,_0x3deb8c._0x5eceb8,_0x3deb8c._0x14e5a6,_0x3deb8c._0x2c1926)];throwIfAborted(_0x3226ca['signal']);const _0x2a455b=_0x38287a[_0x92c92e(0x69,-_0x3deb8c._0xe74a45,_0x3deb8c._0x46e0e4,_0x3deb8c._0x3bc82d)]!==void 0x0&&_0x55797d['systemPrompt']!==void 0x0?{..._0x55797d,'systemPrompt':_0x38287a[_0x92c92e(_0x3deb8c._0xc1f47e,0x132,0x176,-_0x3deb8c._0x551951)](_0x55797d['systemPrompt'])}:_0x55797d;throwIfAborted(_0x3226ca[_0x8e6423(_0x3deb8c._0x4b846f,_0x3deb8c._0x46e2f1,-0x69,0x12)]);const _0x1ecfc2=new Agent(_0x2a455b);_0xe0aec2={..._0xe0aec2,'sessionId':_0x1ecfc2[_0x8e6423(-0x77,_0x3deb8c._0x570171,0xd,0x1bf)],..._0x32dd22===void 0x0?{}:{'routing':{'requestedModelTier':_0x32dd22,..._0xe0aec2[_0x8e6423(0x1ed,0x36,-_0x3deb8c._0x4ffce3,-0x3e)]===void 0x0?{}:{'agentModelSet':_0xe0aec2[_0x8e6423(_0x3deb8c._0x4d5fd4,_0x3deb8c._0x1fead3,-0xa0,_0x3deb8c._0x1c024b)]},'resolvedModelIdentity':_0x1ecfc2[_0x8e6423(_0x3deb8c._0x37d75b,0x25a,0x2b1,_0x3deb8c._0x5d9386)][_0x8e6423(_0x3deb8c._0x3d46fe,0x1f3,0x30c,0x17)][_0x8e6423(-0x28,_0x3deb8c._0x58942e,0x134,0xdb)]}}},_0x6daa6c=_0x38287a[_0x92c92e(_0x3deb8c._0x911ba0,_0x3deb8c._0x1c0ae1,0x45e,_0x3deb8c._0xe5b9b4)]?.(_0x1ecfc2,_0x48efe3);const _0x583173=new Promise(_0xf3fae2=>{_0x498195=_0xf3fae2;});_0x126db2=_0x38287a['registerActiveRun']?.({'runId':_0x451c13,'abortController':_0x3226ca,'completion':_0x583173});_0x3a1314!==void 0x0&&(await _0x3a1314[_0x92c92e(_0x3deb8c._0x2bc05d,-_0x3deb8c._0x75842b,-0x85,_0x3deb8c._0x2fd7e1)](_0x1ecfc2,_0x48efe3),_0x5cc83a=!![]);yield createToolOutput(_0x8e6423(_0x3deb8c._0x585186,0xc0,0x222,_0x3deb8c._0x50ec03)+_0xe0aec2['runId']+'.',createRunSummary(_0xe0aec2)),throwIfAborted(_0x3226ca[_0x92c92e(0x68,0x53,_0x3deb8c._0x146ba3,_0x3deb8c._0x4d7ef9)]);const _0x296bf6=await _0x1ecfc2[_0x8e6423(0x491,0x307,_0x3deb8c._0xbb6907,_0x3deb8c._0xf81769)](_0x5a5d31['task'],{'streaming':!![],'signal':_0x3226ca[_0x92c92e(0x68,0x4f,0x1ef,-0xce)]});_0xe0aec2={..._0xe0aec2,'status':_0x296bf6[_0x92c92e(-_0x3deb8c._0x294b0a,-0x225,-_0x3deb8c._0x35835f,_0x3deb8c._0x17daac)],'result':_0x296bf6};if(_0x296bf6[_0x8e6423(-_0x3deb8c._0x48b59f,0x51,-_0x3deb8c._0x190cd9,0xaa)]!==_0x8e6423(_0x3deb8c._0x58ccb3,0xec,_0x3deb8c._0x67e6f1,-0xfb)){const _0x21b883=getRunTerminalErrorMessage(_0x296bf6),_0x544806=formatAbortedRunMessage(_0xe0aec2[_0x92c92e(-0xaa,-0x15,-_0x3deb8c._0x2690bd,-_0x3deb8c._0x58990a)],_0x21b883);_0xe0aec2={..._0xe0aec2,'status':'aborted','errorMessage':_0x544806},_0x415232={'status':_0x92c92e(0x1ca,_0x3deb8c._0x34043f,0x8c,0x2f),'errorMessage':_0x544806};throw new ToolExecutionError(_0x544806,{...createRunSummary(_0xe0aec2),'aborted':!![],'errorMessage':_0x544806});}return _0x415232={'status':_0x8e6423(0x2c4,0xec,-0xa,0x1b2)},createRunSummaryOutput(_0xe0aec2,'Agent\x20run\x20'+_0xe0aec2[_0x92c92e(-0xaa,-_0x3deb8c._0xa46f3d,_0x3deb8c._0x68f883,-0x66)]+_0x8e6423(0x25d,_0x3deb8c._0x14e5a6,0x44f,_0x3deb8c._0x253a03));}catch(_0x228b6d){_0x2491e3=_0x228b6d,_0x111773=!![];if(_0x228b6d instanceof ToolExecutionError){if(_0x415232===void 0x0){if(isAbortError(_0x228b6d)||_0x3226ca['signal']['aborted']||_0x290dc6[_0x8e6423(-0xa2,_0x3deb8c._0x46e2f1,-0xcc,-0x87)][_0x92c92e(_0x3deb8c._0x5c32fa,0x185,_0x3deb8c._0x109050,_0x3deb8c._0x32fe6a)])_0x415232={'status':_0x92c92e(0x1ca,0x380,0x155,0x2bc)};else{const _0xf1a254=_0x228b6d['message'];_0xe0aec2={..._0xe0aec2,'status':_0x8e6423(_0x3deb8c._0x47e6a4,_0x3deb8c._0xa128e4,_0x3deb8c._0x1bea02,_0x3deb8c._0x33daaf),'errorMessage':_0xf1a254},_0x415232={'status':_0x8e6423(0x37b,0x369,0x451,0x348),'errorMessage':_0xf1a254};}}if(_0x32dd22===void 0x0)throw _0x228b6d;throw new ToolExecutionError(_0x228b6d[_0x8e6423(_0x3deb8c._0x5b1cf7,_0x3deb8c._0x214edf,_0x3deb8c._0x51cc5d,_0x3deb8c._0x55626a)],createStructuredWithRoutingSummary(_0x228b6d[_0x92c92e(0x164,_0x3deb8c._0x56a365,_0x3deb8c._0x47e52f,0x81)],_0xe0aec2));}if(_0x228b6d instanceof DelegatedResolutionError){const _0x7bc0da={..._0xe0aec2};delete _0x7bc0da[_0x92c92e(_0x3deb8c._0xa54758,0x12f,0x1b5,_0x3deb8c._0x782c8e)],delete _0x7bc0da[_0x92c92e(-0x3d,_0x3deb8c._0x57addf,-_0x3deb8c._0x5bf540,-0x134)],_0xe0aec2={..._0x7bc0da,'status':'failed','errorMessage':_0x228b6d[_0x8e6423(_0x3deb8c._0x36b00f,0x18a,0x23f,_0x3deb8c._0x397934)],..._0x32dd22===void 0x0||_0x228b6d[_0x8e6423(_0x3deb8c._0x588eb6,0x36,_0x3deb8c._0x4189eb,-_0x3deb8c._0x8283bb)]===void 0x0?{}:{'agentModelSet':_0x228b6d[_0x92c92e(-0x3d,-_0x3deb8c._0x45cd36,-_0x3deb8c._0x5e7c19,_0x3deb8c._0x4b98c9)]}};throw new ToolExecutionError(_0x228b6d['message'],{...createRunSummary(_0xe0aec2),..._0x32dd22===void 0x0||_0x228b6d[_0x92c92e(_0x3deb8c._0xf4eea7,_0x3deb8c._0x24405f,_0x3deb8c._0x463004,0x385)]===void 0x0?{}:{'selector':_0x228b6d[_0x8e6423(_0x3deb8c._0x36e14d,_0x3deb8c._0x4ffb79,0x2ff,_0x3deb8c._0x5ecd76)]},'errorMessage':_0x228b6d[_0x8e6423(0x53,0x18a,0x23c,_0x3deb8c._0x25ac1e)]});}if(isAbortError(_0x228b6d)||_0x3226ca[_0x92c92e(0x68,-_0x3deb8c._0x6019d1,_0x3deb8c._0x4a159f,-0x59)]['aborted']||_0x290dc6[_0x8e6423(-0xf8,_0x3deb8c._0x391b07,-_0x3deb8c._0x42a962,-0x5d)]['aborted']){const _0x29fa4d=getRunTerminalErrorMessage(_0xe0aec2['result'])??(_0x228b6d instanceof Error?_0x228b6d[_0x8e6423(_0x3deb8c._0x1aa554,0x18a,0xb7,0x251)]:String(_0x228b6d)),_0x22fce0=formatAbortedRunMessage(_0xe0aec2[_0x8e6423(-0x50,-0x37,_0x3deb8c._0x324e30,-0x111)],_0x29fa4d);_0xe0aec2={..._0xe0aec2,'status':_0x92c92e(_0x3deb8c._0x5c32fa,0x142,0x3ac,0x1f6),'errorMessage':_0x22fce0},_0x415232={'status':'aborted','errorMessage':_0x22fce0};throw new ToolExecutionError(_0x22fce0,{...createRunSummary(_0xe0aec2),'aborted':!![],'errorMessage':_0x22fce0});}const _0x28c2d5=getRunTerminalErrorMessage(_0xe0aec2['result'])??(_0x228b6d instanceof Error?_0x228b6d[_0x92c92e(_0x3deb8c._0x41a115,_0x3deb8c._0xd36f2f,_0x3deb8c._0xb9446c,_0x3deb8c._0x1dfc9d)]:String(_0x228b6d))??_0x8e6423(0x3ea,0x1d8,0x6,_0x3deb8c._0x2b24a4)+_0xe0aec2['runId']+_0x92c92e(_0x3deb8c._0x8a035b,_0x3deb8c._0x19702b,0xaa,_0x3deb8c._0x256cb6);_0xe0aec2={..._0xe0aec2,'status':_0x92c92e(0x2f6,_0x3deb8c._0x24ab3c,0x207,0x1b0),'errorMessage':_0x28c2d5},_0x415232={'status':_0x8e6423(_0x3deb8c._0x4edc7a,_0x3deb8c._0xa128e4,0x26b,0x555),'errorMessage':_0x28c2d5};throw new ToolExecutionError(_0x28c2d5,{...createRunSummary(_0xe0aec2),'errorMessage':_0x28c2d5});}finally{let _0x23cb68,_0x92f9d0;const _0x5918d9=_0x4533cc=>{if(_0x4533cc===void 0x0)return;try{_0x4533cc();}catch(_0x6b269){_0x92f9d0??=_0x6b269 instanceof Error?_0x6b269:new Error(String(_0x6b269));}};if(_0x5cc83a&&_0x3a1314!==void 0x0){const _0x3a3064=_0x415232??{'status':_0x92c92e(_0x3deb8c._0x999261,0x18,0x110,0x34e)};try{await _0x3a1314[_0x92c92e(0x1d9,_0x3deb8c._0x3ab136,0x183,_0x3deb8c._0x46160d)](_0x48efe3,_0x3a3064);}catch(_0x435904){_0x23cb68=_0x435904 instanceof Error?_0x435904:new Error(String(_0x435904));}}_0x5918d9(_0x38287a[_0x8e6423(0x1cd,0x4,-0x26,0x197)]===void 0x0?void 0x0:()=>_0x38287a['releaseAgentResources']?.(_0x48efe3)),_0x5918d9(_0x498195),_0x5918d9(_0x126db2),_0x5918d9(_0x6daa6c),_0x5918d9(_0x4102f2),_0x5918d9(_0x514da5),_0x23cb68!==void 0x0&&(_0x111773&&(_0x23cb68['cause']=_0x2491e3),rethrowDelegatedError(_0x23cb68)),_0x92f9d0!==void 0x0&&rethrowDelegatedError(_0x92f9d0);}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4127ad){return[createAssignTaskTool(_0x4127ad)];}import{mkdir as _0x2a9ef1,writeFile}from'fs/promises';import*as _0x427220 from'path';function sanitizeFileName(_0x30c25c){const _0x30fdf7={_0x2f817b:0x8f1,_0x1c197f:0x9c9},_0x4fa161={_0x220121:0x65,_0x30959f:0x66a};function _0x19b65f(_0x2ea127,_0x515ce6,_0x129b64,_0x24df70){return _0x16ac01(_0x2ea127-_0x4fa161._0x220121,_0x24df70-_0x4fa161._0x30959f,_0x129b64-0x23,_0x2ea127);}return _0x30c25c[_0x19b65f(_0x30fdf7._0x2f817b,_0x30fdf7._0x1c197f,0xa73,0x944)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x42223d,_0x491f0d){const _0x1acaaf={_0x3ee212:0x542,_0x47eca6:0x3d2,_0x1e38a1:0x37e,_0x57b031:0x542,_0x4cb19a:0x343,_0x244414:0x358,_0x136919:0x3d1,_0x5f30f4:0x1f6,_0x261097:0x10d,_0x124023:0x6f7,_0xa0e756:0xd3,_0xc06500:0x119,_0x3b4070:0x5c0,_0xc15640:0x555,_0x4907a2:0x37e,_0x2c53e5:0x2f2,_0x3d988a:0x154,_0x3823b4:0x2a,_0x47aac6:0xb,_0x184731:0x56e,_0x565871:0x98,_0x4628b0:0x17e,_0x534372:0x6ca,_0x3e7e59:0x316,_0x4595cc:0x18f,_0xdff60f:0x317,_0x5b9da9:0x466,_0xd70da5:0x2e8,_0x2e32c3:0x64,_0x48d6d9:0x2a3,_0x343128:0x506,_0x417308:0x464,_0x3cd7d1:0x611,_0x4294d0:0xfd,_0x17bb7c:0x214,_0x297e9d:0x273,_0x33adb1:0x8b,_0x2c9319:0x168,_0x176ab1:0x20,_0x3fdf2f:0x246,_0x4eb993:0x440,_0xabb309:0x304,_0x22ede3:0x1d9,_0x201587:0x20d,_0x320a8e:0x47,_0x3411e0:0x368,_0x115ef0:0x57f,_0x5288ca:0x2c1,_0x4607b6:0x140,_0x579ec3:0x1f1},_0x4c4d3c={_0x4161ac:0x9a,_0xc56a48:0x1c5,_0x2df277:0x232},_0x45d982={_0x2508a5:0x7b,_0x6f9ecb:0x28d,_0x5e7495:0x1b},{maxBytes:_0x4f47fb,sessionDir:_0x3f0095}=_0x491f0d;function _0x328466(_0x3eba7a,_0x2e9027,_0xa9c02b,_0x2bc2fe){return _0x16ac01(_0x3eba7a-_0x45d982._0x2508a5,_0x2e9027-_0x45d982._0x6f9ecb,_0xa9c02b-_0x45d982._0x5e7495,_0x2bc2fe);}if(!_0x42223d[_0x328466(0x652,_0x1acaaf._0x3ee212,0x508,_0x1acaaf._0x47eca6)]||Buffer['byteLength'](_0x42223d[_0x328466(_0x1acaaf._0x1e38a1,_0x1acaaf._0x57b031,0x633,_0x1acaaf._0x4cb19a)],_0x328466(0x480,0x2c8,_0x1acaaf._0x244414,0x32c))<=_0x4f47fb)return _0x42223d;const _0x44fab9=Buffer['byteLength'](_0x42223d['output'],_0x328466(_0x1acaaf._0x136919,0x2c8,_0x1acaaf._0x5f30f4,_0x1acaaf._0x261097));if(!_0x3f0095){const _0x11a8de=_0x42223d[_0x328466(_0x1acaaf._0x124023,0x542,0x73c,0x546)][_0x328466(_0x1acaaf._0xa0e756,0x18f,_0x1acaaf._0xc06500,0x2cd)](0x0,_0x4f47fb);return{..._0x42223d,'output':_0x11a8de+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x4f47fb+'\x20bytes\x20(original:\x20'+_0x44fab9+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x42223d[_0x328466(_0x1acaaf._0x3b4070,0x43d,_0x1acaaf._0xc15640,0x37f)],'truncated':!![],'originalBytes':_0x44fab9,'transforms':[..._0x42223d['meta'][_0x2f2add(0x284,_0x1acaaf._0x4907a2,_0x1acaaf._0x2c53e5,0x48d)],_0x2f2add(0xee,_0x1acaaf._0x3d988a,-_0x1acaaf._0x3823b4,0x28d)]}};}const _0x3d8f6d=_0x42223d[_0x2f2add(0x5b,-_0x1acaaf._0x47aac6,0x251,-0x114)]+'_'+sanitizeFileName(_0x42223d[_0x328466(_0x1acaaf._0x184731,0x505,0x713,0x671)])+'.log';function _0x2f2add(_0x402a89,_0x33b72b,_0x5d8202,_0x4709a4){return _0x5885dd(_0x402a89-_0x4c4d3c._0x4161ac,_0x5d8202,_0x5d8202-_0x4c4d3c._0xc56a48,_0x402a89- -_0x4c4d3c._0x2df277);}const _0x26cf64=_0x427220['join'](_0x3f0095,_0x3d8f6d);await _0x2a9ef1(_0x3f0095,{'recursive':!![]}),await writeFile(_0x26cf64,_0x42223d['output'],_0x2f2add(_0x1acaaf._0x565871,0x103,_0x1acaaf._0x4628b0,-0x129));let _0x33f9a2=_0x42223d[_0x328466(_0x1acaaf._0x534372,_0x1acaaf._0x3ee212,0x70d,0x64a)][_0x328466(_0x1acaaf._0x3e7e59,_0x1acaaf._0x4595cc,0x1a3,-0x6d)](0x0,_0x4f47fb);const _0x4806fc=_0x33f9a2[_0x328466(0x149,_0x1acaaf._0xdff60f,_0x1acaaf._0x5b9da9,_0x1acaaf._0xd70da5)]('\x0a');_0x4806fc>_0x4f47fb*0.5&&(_0x33f9a2=_0x33f9a2[_0x2f2add(-0xa1,_0x1acaaf._0x2e32c3,-_0x1acaaf._0x48d6d9,0x64)](0x0,_0x4806fc));const _0x1aa0c0=['',_0x328466(_0x1acaaf._0x343128,0x4d6,_0x1acaaf._0x417308,_0x1acaaf._0x3cd7d1),_0x2f2add(_0x1acaaf._0x4294d0,_0x1acaaf._0x17bb7c,0x16a,_0x1acaaf._0x297e9d)+_0x4f47fb+_0x328466(_0x1acaaf._0x33adb1,_0x1acaaf._0x2c9319,_0x1acaaf._0x176ab1,0x137)+_0x44fab9+_0x328466(_0x1acaaf._0x3fdf2f,_0x1acaaf._0x4eb993,0x61c,0x31a),'Full\x20output\x20saved\x20to:\x20'+_0x26cf64,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.','</system-reminder>'][_0x2f2add(0x263,_0x1acaaf._0xabb309,0xce,_0x1acaaf._0x22ede3)]('\x0a');return{..._0x42223d,'output':_0x33f9a2+_0x1aa0c0,'meta':{..._0x42223d[_0x2f2add(_0x1acaaf._0x201587,_0x1acaaf._0x320a8e,_0x1acaaf._0x3411e0,0x1a1)],'truncated':!![],'originalBytes':_0x44fab9,'transforms':[..._0x42223d[_0x328466(0x404,0x43d,0x582,_0x1acaaf._0x115ef0)][_0x2f2add(0x284,0x31e,_0x1acaaf._0x5288ca,0x202)],_0x328466(0x122,0x31e,_0x1acaaf._0x4607b6,_0x1acaaf._0x579ec3)]}};}import{readFile as _0x2f0223,stat as _0x817f6a}from'fs/promises';function createAnchoredFileError(_0x587699,_0x5b5bc9,_0x488a15){return new ToolExecutionError(_0x5b5bc9,{'error':_0x587699,..._0x488a15});}import{createHash}from'crypto';function sha256Bytes(_0x317eca){const _0x1c8324={_0x198aa2:0x566,_0x2900df:0x500,_0x33e4eb:0x523,_0x240122:0x5b4,_0x4a37b8:0x752,_0x32df9d:0x5c1,_0x1f3890:0x453},_0x6b1c1e={_0x59309f:0x4d8,_0x4ac4cb:0xd8},_0x39155a={_0x560309:0x15c};function _0x589db8(_0x40e8b4,_0x3b8c44,_0x3a0e0d,_0x3cb5ce){return _0x5885dd(_0x40e8b4-_0x39155a._0x560309,_0x40e8b4,_0x3a0e0d-0x8f,_0x3cb5ce-0x2b7);}function _0x349af6(_0xa8bc1b,_0x3531e4,_0x9a28f9,_0x3703c4){return _0x16ac01(_0xa8bc1b-0x135,_0x3531e4-_0x6b1c1e._0x59309f,_0x9a28f9-_0x6b1c1e._0x4ac4cb,_0x9a28f9);}return createHash(_0x349af6(_0x1c8324._0x198aa2,0x694,0x84d,_0x1c8324._0x2900df))['update'](_0x317eca)[_0x589db8(_0x1c8324._0x33e4eb,0x3bc,0x742,_0x1c8324._0x240122)](_0x349af6(_0x1c8324._0x4a37b8,_0x1c8324._0x32df9d,_0x1c8324._0x1f3890,0x614));}function countLines(_0x36d5c9){const _0x5cb9a5={_0x12400e:0x37a,_0x1905a6:0x3a0,_0x587177:0x4a0,_0x48d5b2:0x31d,_0x58451e:0x441,_0x3173f5:0x496,_0x2a0c56:0x177,_0x1bbda2:0x1e5},_0xcf30a5={_0x215350:0x43,_0x34b338:0x1a6},_0x3559ca={_0x4cd324:0x3b,_0x249c90:0xdb};function _0x2d8cb8(_0xb7840a,_0xbc977d,_0x3b12a5,_0x47f182){return _0x5885dd(_0xb7840a-0x87,_0xbc977d,_0x3b12a5-_0x3559ca._0x4cd324,_0xb7840a- -_0x3559ca._0x249c90);}function _0x1fce5a(_0x1c7ad1,_0x263220,_0x432739,_0x33a4a6){return _0x16ac01(_0x1c7ad1-0x16f,_0x33a4a6-_0xcf30a5._0x215350,_0x432739-_0xcf30a5._0x34b338,_0x432739);}const _0x354626=_0x36d5c9[_0x1fce5a(_0x5cb9a5._0x12400e,_0x5cb9a5._0x1905a6,_0x5cb9a5._0x587177,_0x5cb9a5._0x48d5b2)](/\n$/,'');return _0x354626['length']===0x0?0x0:_0x354626[_0x2d8cb8(_0x5cb9a5._0x58451e,0x40f,_0x5cb9a5._0x3173f5,0x4cd)]('\x0a')[_0x2d8cb8(0x2b0,_0x5cb9a5._0x2a0c56,0x33e,_0x5cb9a5._0x1bbda2)];}function replaceFirstExact(_0x36af3d,_0x3fa070,_0x52391b){const _0x1bc0aa={_0xec2f74:0x4ae,_0x48bcd5:0x579,_0x27b1b4:0x33,_0x1ad1d7:0x12f,_0x400755:0x2cf,_0x2ca74b:0x2a0,_0xd0c066:0x33e,_0x15f857:0x384,_0x386726:0x235,_0x219ed7:0xd3},_0x173e96={_0x3a2e90:0x182,_0x21f716:0x21},_0x31ef3a=_0x36af3d[_0x436dee(0x596,_0x1bc0aa._0xec2f74,_0x1bc0aa._0x48bcd5,0x3c0)](_0x3fa070);if(_0x31ef3a===-0x1)return void 0x0;function _0x353a85(_0x30237f,_0x14ee6e,_0x2151bf,_0x31f8a0){return _0x16ac01(_0x30237f-_0x173e96._0x3a2e90,_0x14ee6e- -0x12f,_0x2151bf-_0x173e96._0x21f716,_0x31f8a0);}function _0x436dee(_0x599aa5,_0xce3b2a,_0x3bbc80,_0x4b6e4a){return _0x5885dd(_0x599aa5-0x5d,_0x3bbc80,_0x3bbc80-0xe4,_0x4b6e4a-0x1ca);}const _0x35a789=_0x36af3d['slice'](0x0,_0x31ef3a)['split']('\x0a')[_0x353a85(0x8c,-_0x1bc0aa._0x27b1b4,-0x55,-_0x1bc0aa._0x1ad1d7)],_0x189577=countLines(_0x3fa070),_0x406c77=countLines(_0x52391b);return{'before':_0x36af3d,'after':_0x36af3d[_0x436dee(_0x1bc0aa._0x400755,0x476,_0x1bc0aa._0x2ca74b,0x35b)](0x0,_0x31ef3a)+_0x52391b+_0x36af3d[_0x436dee(_0x1bc0aa._0xd0c066,0x2a8,_0x1bc0aa._0x15f857,0x35b)](_0x31ef3a+_0x3fa070[_0x353a85(0x56,-0x33,-_0x1bc0aa._0x386726,_0x1bc0aa._0x219ed7)]),'lineNumbers':{'oldStartLine':_0x35a789,'oldEndLine':_0x35a789+_0x189577-0x1,'newStartLine':_0x35a789,'newEndLine':_0x35a789+_0x406c77-0x1,'oldLineCount':_0x189577,'newLineCount':_0x406c77}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x45edef){const _0x103573={_0x9de1aa:0x187,_0x2c5dfb:0x282,_0xb36df2:0x551,_0x4aadc6:0x5eb,_0x1504a1:0x47a,_0x3e6a37:0x2fc},_0xf41af2={_0x5b333b:0x428,_0x2330fa:0x176},_0x3d3d3e={_0x59e924:0x226};function _0x4202a4(_0x4284af,_0x28a6c8,_0x39f00f,_0xfceffc){return _0x16ac01(_0x4284af-0x35,_0x28a6c8-_0x3d3d3e._0x59e924,_0x39f00f-0x12c,_0x4284af);}function _0x223264(_0x40e08d,_0x9f5c84,_0x58efef,_0x41d988){return _0x16ac01(_0x40e08d-0x1e,_0x9f5c84-_0xf41af2._0x5b333b,_0x58efef-_0xf41af2._0x2330fa,_0x40e08d);}if(!Number[_0x4202a4(_0x103573._0x9de1aa,0x1a7,_0x103573._0x2c5dfb,0x378)](_0x45edef)||_0x45edef<0x1)throw createAnchoredFileError(_0x223264(_0x103573._0xb36df2,_0x103573._0x4aadc6,_0x103573._0x1504a1,0x775),_0x4202a4(_0x103573._0x3e6a37,0x415,0x217,0x349)+String(_0x45edef)+'.');}function rangeLines(_0x1bc6b7,_0x2ce5c6){const _0x5a7f02={_0x2fdbbe:0x399,_0xaf718d:0x49f,_0x465dab:0x579};function _0x8a4ace(_0x60e678,_0x3e6f7b,_0x5eee3a,_0x493edf){return _0x5885dd(_0x60e678-0xcc,_0x5eee3a,_0x5eee3a-0x1a4,_0x3e6f7b-0x299);}const _0x184d12=[];for(let _0x141de0=_0x1bc6b7;_0x141de0<=_0x2ce5c6;_0x141de0+=0x1){_0x184d12[_0x8a4ace(_0x5a7f02._0x2fdbbe,_0x5a7f02._0xaf718d,0x307,_0x5a7f02._0x465dab)](_0x141de0);}return _0x184d12;}function normalizeContent(_0xc7f6ea){const _0x528169={_0x4561a9:0x9d4,_0x369633:0x861,_0x568b73:0x6b2,_0x1cf92b:0x814},_0x21f2c8={_0x254ae0:0x182},_0x4e9d03={_0x508f21:0x17b};function _0xe35dee(_0x55e366,_0x598b20,_0x418c03,_0x9b7012){return _0x16ac01(_0x55e366-_0x4e9d03._0x508f21,_0x55e366-0x3b1,_0x418c03-0x1d7,_0x9b7012);}function _0x5b9041(_0x3cb4a4,_0x507fe3,_0x1062ac,_0x102eb6){return _0x5885dd(_0x3cb4a4-0x154,_0x1062ac,_0x1062ac-_0x21f2c8._0x254ae0,_0x102eb6-0x2f8);}return _0xc7f6ea[_0x5b9041(0x7b1,0x828,_0x528169._0x4561a9,_0x528169._0x369633)](/\r\n/g,'\x0a')[_0x5b9041(0x723,0x8f1,_0x528169._0x568b73,_0x528169._0x1cf92b)]('\x0a');}function planOperations(_0x40c8f5,_0x38ddfc){const _0x287a48={_0x5a8dad:0x272,_0x2d7ea1:0x426,_0x22aa4a:0x301,_0xd4ccec:0x714,_0x3f7dd4:0x532,_0x568707:0x272,_0x5bfc11:0x2de,_0xccdd0e:0x45b,_0x3f3b53:0x309,_0x33628b:0x507,_0x1a69cb:0x2d1,_0x2eaee5:0x35c,_0x38c3e5:0x431,_0x55d8bc:0x396,_0x471ec1:0x47f,_0x59926f:0x18a,_0x1f9af2:0x35b,_0x1d3960:0x25a,_0x4e7c2b:0x1fa,_0x290bf0:0x1d1,_0x42482a:0x1d4,_0x1c0573:0x448,_0x56f661:0x3ab,_0x47c4e6:0x294,_0x576d83:0x35,_0xa799a3:0x65,_0x25b795:0x1b7},_0x2188da={_0x50df0e:0x408,_0x543b3e:0x417,_0x97055a:0x84d,_0x3f9d8c:0x730,_0x5bac28:0x717,_0x4a18fe:0x42b,_0x65ac3c:0x4d4,_0x30613d:0x8ac,_0x5091bd:0x802,_0x11806b:0x1b0,_0x2ec43c:0x554,_0x65cccc:0x43f,_0x40a5cc:0x373,_0x47e20d:0x185,_0x5375b0:0x6d4,_0x490165:0x3e7,_0x5e2339:0x255,_0x3fc8ac:0x407,_0x4992df:0x3f9,_0x4e7780:0x44b,_0x43c9fb:0x1c6,_0x5b04d4:0x272,_0x1964fc:0x260,_0x5802e8:0x322,_0x39e1ff:0x30f,_0x44374e:0x4fd,_0x285038:0x73d,_0x121f25:0x507,_0x10be1a:0x736,_0x5eadb8:0x585,_0x610d18:0x2d8,_0x49c724:0x43a,_0x364ad9:0x61d,_0xda8546:0x747,_0x472efa:0x81,_0x3622d4:0x2eb,_0x1a9e04:0x7ac,_0x3262b5:0x6d6,_0x32e08f:0x689,_0x3e49b2:0xfd,_0x617876:0xff,_0x2422dd:0x71e,_0x2eb7dd:0x5ef,_0x2de939:0x231,_0x16cbde:0x233,_0x13e468:0x4ec,_0x3d65c2:0x300,_0x3e6077:0x392,_0x7bc2c0:0x48a,_0x207283:0x84d,_0x4288e7:0x945,_0x2a090e:0x47b,_0x16e6ee:0x36d,_0x34f93b:0x376,_0x2efc57:0x45c,_0x3476ef:0x3a3,_0x2b4560:0x602,_0x189e65:0x3c4,_0x5f3078:0x692,_0x5f3019:0x931,_0x4e309e:0x5fa,_0x3db880:0x7b5,_0x3c6ecc:0x5a5,_0x5402c9:0x99d,_0x2b9904:0x822,_0x112c42:0x86f,_0x306190:0x5e3,_0x33f48d:0x3e6,_0x52e543:0x473,_0x509886:0x66f,_0x446423:0x7c6,_0x586c8d:0x525,_0x508e01:0x636,_0x20f3f9:0x82e,_0x419ebd:0x65b,_0x47b53e:0x4f7,_0x1bf392:0x38b,_0x26eb7:0x396,_0x54004f:0x4b5,_0x1b8760:0x36d,_0x5ed462:0x878,_0xf86e2a:0x17,_0x5deb69:0x1a,_0x12241e:0x5c4,_0x318b01:0x19d,_0x1714a0:0x338,_0x469b18:0x2d4,_0x16259a:0x72b,_0x500721:0x88a,_0x31e553:0x8d3,_0x2b9e01:0x7e7,_0x4b4b1f:0x542,_0x1d0a81:0x9b2,_0x2f33a3:0x7a0,_0x1bd7c2:0x602,_0x3c0340:0x203,_0xf4b352:0x34f,_0xe9cadc:0x522,_0x4cc35c:0x317,_0x3561f4:0x63e,_0x3f213e:0x482,_0x490889:0x2b1,_0xa3def0:0x342,_0x25b153:0x469,_0x1fefed:0x497,_0x2f4536:0x4cd,_0x3c16a4:0x342,_0x348ccc:0x74e,_0xfdf4bf:0x60d,_0x12a69f:0x7ae,_0x58ab91:0x12,_0x128803:0xe4,_0xd9d1:0xec,_0x2fd016:0x2f6,_0x1391cd:0x4e9,_0x17c7b7:0x5f4,_0x3ced22:0x2ad,_0x3d3fea:0x397,_0x3c4a4d:0x1c0,_0x353b85:0x492,_0x12c2a8:0x373,_0x381d40:0x654,_0x3e6199:0x616,_0x443f68:0x70,_0x31464c:0x215,_0x40f3dc:0x6fb,_0x5ea3ab:0x59a,_0x16081a:0x8e2,_0x5c7453:0x5b3,_0x3f2171:0x5b1,_0x525094:0x750,_0x5c3fe0:0x21e,_0x4b30e0:0x406,_0x5e4bfe:0x354,_0x28766c:0x17d,_0x4b38b2:0x38a,_0x35864a:0x566,_0x138a25:0x610,_0x2c558a:0x17e,_0x51967b:0xc9,_0x169fc8:0x1d0,_0x5b8274:0x215,_0x3e7b6e:0x5d8,_0x5cec62:0x4ed,_0x197ed6:0x4be,_0x53e2cf:0x356,_0x15f49a:0x270,_0xab8657:0x4d8,_0x1293cf:0x3b0,_0x3f9b57:0x3b1,_0xb93c43:0x100,_0x2268f2:0x4e2,_0xd2b6e0:0x545,_0x5260e9:0x3b6,_0x57d14d:0x1f9,_0x7b8280:0x215,_0x221a96:0x736,_0x2525b7:0x694,_0x1ac0f2:0x7c7,_0x19eb45:0x7fb},_0x377ede={_0x124c93:0x3a,_0x2fd8e9:0x40},_0x2f20d9={_0x2a4066:0x176,_0x58a566:0x1c3},_0x157d76={_0x6096bc:0x29,_0x1c0f54:0xb5};if(_0x38ddfc[_0x561e09(_0x287a48._0x5a8dad,_0x287a48._0x2d7ea1,_0x287a48._0x22aa4a,0x39c)]===0x0)throw createAnchoredFileError('invalid_range',_0x5abe88(_0x287a48._0xd4ccec,0x561,_0x287a48._0x3f7dd4,0x4cf));if(_0x38ddfc[_0x561e09(_0x287a48._0x568707,_0x287a48._0x5bfc11,_0x287a48._0xccdd0e,0x46f)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x5abe88(0x4ef,_0x287a48._0x3f3b53,_0x287a48._0x33628b,0x6ff),_0x5abe88(_0x287a48._0x1a69cb,0x30a,0x4b1,_0x287a48._0x2eaee5)+MAX_OPERATIONS+_0x561e09(_0x287a48._0x38c3e5,0x473,_0x287a48._0x55d8bc,_0x287a48._0x471ec1));function _0x5abe88(_0xb47dd0,_0x2d556e,_0x146c6b,_0xd0263){return _0x5885dd(_0xb47dd0-0x15d,_0xd0263,_0x146c6b-_0x157d76._0x6096bc,_0x146c6b-_0x157d76._0x1c0f54);}function _0x561e09(_0x326446,_0x55ef1d,_0x4a2d35,_0x4f82ea){return _0x16ac01(_0x326446-0xc6,_0x326446-_0x2f20d9._0x2a4066,_0x4a2d35-_0x2f20d9._0x58a566,_0x55ef1d);}if(_0x40c8f5['lines'][_0x561e09(0x272,0x351,_0x287a48._0x59926f,_0x287a48._0x1f9af2)]===0x0)throw createAnchoredFileError(_0x561e09(0x339,_0x287a48._0x1d3960,_0x287a48._0x4e7c2b,_0x287a48._0x290bf0),_0x5abe88(_0x287a48._0x42482a,_0x287a48._0x1c0573,_0x287a48._0x56f661,_0x287a48._0x47c4e6));return _0x38ddfc[_0x561e09(_0x287a48._0x576d83,-0x156,-_0x287a48._0xa799a3,_0x287a48._0x25b795)](_0x4590bd=>{function _0x2c3c63(_0x509b3a,_0x2d534f,_0x1229a8,_0x5378f2){return _0x5abe88(_0x509b3a-0x118,_0x2d534f-0x1a3,_0x509b3a-0x22f,_0x5378f2);}function _0x217fb8(_0x5a1a4f,_0x1da36c,_0xeaf182,_0x396d50){return _0x561e09(_0x396d50-_0x377ede._0x124c93,_0x1da36c,_0xeaf182-0x15,_0x396d50-_0x377ede._0x2fd8e9);}switch(_0x4590bd[_0x217fb8(0x44e,0x477,_0x2188da._0x50df0e,_0x2188da._0x543b3e)]){case _0x2c3c63(_0x2188da._0x97055a,0x707,0x96b,0x879):{requireValidAnchorLine(_0x4590bd[_0x2c3c63(_0x2188da._0x3f9d8c,0x646,_0x2188da._0x5bac28,0x633)]),requireValidAnchorLine(_0x4590bd['endLine']);if(_0x4590bd[_0x217fb8(_0x2188da._0x4a18fe,0x46f,_0x2188da._0x65ac3c,0x36d)]>_0x4590bd[_0x2c3c63(0x7b5,_0x2188da._0x30613d,0x6ab,_0x2188da._0x5091bd)])throw createAnchoredFileError(_0x217fb8(_0x2188da._0x11806b,_0x2188da._0x2ec43c,_0x2188da._0x65cccc,_0x2188da._0x40a5cc),_0x217fb8(0xb1,_0x2188da._0x47e20d,0x370,0x240));if(typeof _0x4590bd[_0x2c3c63(0x5f6,0x5a7,0x3e8,_0x2188da._0x5375b0)]!==_0x217fb8(_0x2188da._0x490165,0x552,_0x2188da._0x5e2339,_0x2188da._0x3fc8ac))throw createAnchoredFileError(_0x217fb8(0x3b5,_0x2188da._0x4992df,_0x2188da._0x4e7780,_0x2188da._0x40a5cc),_0x217fb8(0x30b,0x282,_0x2188da._0x43c9fb,_0x2188da._0x5b04d4));if(_0x4590bd[_0x217fb8(0x2b0,_0x2188da._0x1964fc,_0x2188da._0x5802e8,0x3f2)]>_0x40c8f5[_0x217fb8(_0x2188da._0x39e1ff,0x58b,0x3f6,0x3e9)][_0x2c3c63(0x66f,_0x2188da._0x44374e,_0x2188da._0x285038,_0x2188da._0x121f25)])throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x10be1a,0x880,0x82e,0x85e),_0x217fb8(0x493,_0x2188da._0x5eadb8,_0x2188da._0x610d18,_0x2188da._0x49c724)+_0x4590bd['startLine']+',\x20'+_0x4590bd[_0x2c3c63(0x7b5,0x650,_0x2188da._0x364ad9,_0x2188da._0xda8546)]+_0x217fb8(_0x2188da._0x472efa,_0x2188da._0x3622d4,0x11c,0x101)+_0x40c8f5[_0x2c3c63(_0x2188da._0x1a9e04,_0x2188da._0x3262b5,_0x2188da._0x32e08f,0x919)][_0x217fb8(_0x2188da._0x3e49b2,0x45d,_0x2188da._0x617876,0x2ac)]+_0x2c3c63(0x717,0x8af,_0x2188da._0x2422dd,_0x2188da._0x2eb7dd));const _0x2a3463=normalizeContent(_0x4590bd[_0x217fb8(_0x2188da._0x2de939,0x152,_0x2188da._0x43c9fb,_0x2188da._0x16cbde)]);return{'kind':_0x217fb8(_0x2188da._0x13e468,_0x2188da._0x3d65c2,_0x2188da._0x3e6077,_0x2188da._0x7bc2c0),'canonical':{'operation':_0x2c3c63(_0x2188da._0x207283,0x6c3,0xa18,0x95f),'startLine':_0x4590bd['startLine'],'endLine':_0x4590bd[_0x2c3c63(0x7b5,0x602,0x5b2,_0x2188da._0x4288e7)],'content':_0x2a3463['join']('\x0a')},'spliceIndex':_0x4590bd[_0x217fb8(_0x2188da._0x2a090e,0x4f8,0x19e,_0x2188da._0x16e6ee)]-0x1,'deleteCount':_0x4590bd['endLine']-_0x4590bd[_0x217fb8(_0x2188da._0x34f93b,0x553,_0x2188da._0x2efc57,_0x2188da._0x16e6ee)]+0x1,'rows':_0x2a3463,'sourceStart':_0x4590bd[_0x217fb8(0x4f8,0x448,0x25e,0x36d)],'sourceEnd':_0x4590bd[_0x217fb8(0x328,_0x2188da._0x3476ef,_0x2188da._0x2b4560,0x3f2)],'requiredLines':rangeLines(_0x4590bd[_0x217fb8(_0x2188da._0x189e65,0x32e,0x30f,0x36d)],_0x4590bd[_0x2c3c63(0x7b5,_0x2188da._0x5f3078,_0x2188da._0x5f3019,_0x2188da._0x4e309e)])};}case'delete':{requireValidAnchorLine(_0x4590bd['startLine']),requireValidAnchorLine(_0x4590bd[_0x2c3c63(_0x2188da._0x3db880,_0x2188da._0x3c6ecc,_0x2188da._0x5402c9,0x8bd)]);if(_0x4590bd[_0x2c3c63(0x730,0x91d,0x60b,_0x2188da._0x2b9904)]>_0x4590bd[_0x2c3c63(0x7b5,0x902,0x8dd,_0x2188da._0x112c42)])throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x10be1a,0x6bf,0x75c,_0x2188da._0x306190),_0x2c3c63(0x544,0x75b,0x4e0,0x3fd));if(_0x4590bd[_0x2c3c63(_0x2188da._0x3db880,0x970,0x7b1,0x7ea)]>_0x40c8f5[_0x217fb8(_0x2188da._0x33f48d,0x418,_0x2188da._0x52e543,0x3e9)][_0x2c3c63(_0x2188da._0x509886,_0x2188da._0x446423,_0x2188da._0x586c8d,_0x2188da._0x508e01)])throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x10be1a,_0x2188da._0x20f3f9,_0x2188da._0x419ebd,0x6b7),_0x2c3c63(_0x2188da._0x47b53e,0x54b,0x5f3,_0x2188da._0x1bf392)+_0x4590bd[_0x217fb8(_0x2188da._0x26eb7,_0x2188da._0x54004f,0x4ea,_0x2188da._0x1b8760)]+',\x20'+_0x4590bd[_0x2c3c63(_0x2188da._0x3db880,0x81a,_0x2188da._0x5ed462,0x9a4)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x40c8f5['lines']['length']+'-line\x20snapshot.');return{'kind':_0x217fb8(-_0x2188da._0xf86e2a,_0x2188da._0x5deb69,0x158,0x153),'canonical':{'operation':_0x2c3c63(0x516,0x380,_0x2188da._0x12241e,0x6de),'startLine':_0x4590bd[_0x217fb8(0x2d3,_0x2188da._0x318b01,0x4b7,0x36d)],'endLine':_0x4590bd[_0x217fb8(0x289,_0x2188da._0x1714a0,_0x2188da._0x469b18,0x3f2)]},'spliceIndex':_0x4590bd[_0x2c3c63(_0x2188da._0x3f9d8c,_0x2188da._0x16259a,0x6ba,_0x2188da._0x500721)]-0x1,'deleteCount':_0x4590bd['endLine']-_0x4590bd[_0x2c3c63(0x730,_0x2188da._0x31e553,_0x2188da._0x2b9e01,0x8c6)]+0x1,'rows':[],'sourceStart':_0x4590bd[_0x2c3c63(0x730,_0x2188da._0x4b4b1f,0x609,0x884)],'sourceEnd':_0x4590bd[_0x2c3c63(0x7b5,0x979,_0x2188da._0x1d0a81,0x850)],'requiredLines':rangeLines(_0x4590bd[_0x2c3c63(0x730,0x659,_0x2188da._0x2f33a3,_0x2188da._0x1bd7c2)],_0x4590bd[_0x217fb8(0x246,0x597,_0x2188da._0x3c0340,0x3f2)])};}case _0x217fb8(_0x2188da._0xf4b352,0x4af,_0x2188da._0xe9cadc,_0x2188da._0x4cc35c):{requireValidAnchorLine(_0x4590bd[_0x2c3c63(0x5d8,0x3df,0x7a1,_0x2188da._0x3561f4)]);if(_0x4590bd[_0x217fb8(0x252,_0x2188da._0x3f213e,_0x2188da._0x490889,_0x2188da._0xa3def0)]!==_0x217fb8(0x4dd,0x5e5,0x3fb,_0x2188da._0x25b153)&&_0x4590bd[_0x217fb8(_0x2188da._0x1fefed,0x423,_0x2188da._0x2f4536,_0x2188da._0x3c16a4)]!=='after')throw createAnchoredFileError(_0x2c3c63(0x736,_0x2188da._0x348ccc,_0x2188da._0xfdf4bf,_0x2188da._0x12a69f),_0x217fb8(-_0x2188da._0x58ab91,0x2b6,-_0x2188da._0x128803,_0x2188da._0xd9d1));if(typeof _0x4590bd['content']!=='string')throw createAnchoredFileError(_0x217fb8(0x3aa,_0x2188da._0x2fd016,0x315,_0x2188da._0x40a5cc),_0x217fb8(0x5b3,_0x2188da._0x1391cd,_0x2188da._0x17c7b7,0x45e));if(_0x4590bd['line']>_0x40c8f5[_0x217fb8(0x39e,0x46a,0x44e,0x3e9)][_0x217fb8(_0x2188da._0x3ced22,_0x2188da._0x3d3fea,_0x2188da._0x3c4a4d,0x2ac)])throw createAnchoredFileError(_0x217fb8(0x1af,_0x2188da._0x353b85,0x34d,_0x2188da._0x12c2a8),_0x2c3c63(0x5b5,_0x2188da._0x381d40,_0x2188da._0x3e6199,0x773)+_0x4590bd[_0x217fb8(0xf3,_0x2188da._0x443f68,0x35e,_0x2188da._0x31464c)]+_0x2c3c63(_0x2188da._0x40f3dc,_0x2188da._0x5ea3ab,_0x2188da._0x16081a,_0x2188da._0x5c7453)+_0x40c8f5[_0x2c3c63(0x7ac,_0x2188da._0x3f2171,_0x2188da._0x525094,0x6a9)][_0x217fb8(_0x2188da._0x5c3fe0,0x3ab,0x447,0x2ac)]+_0x217fb8(_0x2188da._0x4b30e0,0x51e,0x470,_0x2188da._0x5e4bfe));const _0x50a583=normalizeContent(_0x4590bd[_0x217fb8(_0x2188da._0x28766c,0x157,_0x2188da._0x4b38b2,0x233)]),_0x5940c3=_0x4590bd['position']===_0x217fb8(_0x2188da._0x35864a,_0x2188da._0x138a25,0x386,0x469)?_0x4590bd[_0x217fb8(_0x2188da._0x2c558a,_0x2188da._0x51967b,_0x2188da._0x169fc8,_0x2188da._0x5b8274)]-0x1:_0x4590bd[_0x2c3c63(_0x2188da._0x3e7b6e,_0x2188da._0x5cec62,0x4ca,_0x2188da._0x197ed6)];return{'kind':_0x217fb8(_0x2188da._0x53e2cf,0x17e,_0x2188da._0x15f49a,0x317),'canonical':{'operation':_0x217fb8(0x4de,0x185,_0x2188da._0xab8657,_0x2188da._0x4cc35c),'position':_0x4590bd[_0x217fb8(_0x2188da._0x1293cf,0x2a2,_0x2188da._0x3f9b57,0x342)],'line':_0x4590bd[_0x217fb8(_0x2188da._0xb93c43,0x2f0,0x3c2,_0x2188da._0x31464c)],'content':_0x50a583[_0x217fb8(_0x2188da._0x2268f2,_0x2188da._0xd2b6e0,0x597,_0x2188da._0x5260e9)]('\x0a')},'spliceIndex':_0x5940c3,'deleteCount':0x0,'rows':_0x50a583,'gap':_0x5940c3,'requiredLines':[_0x4590bd[_0x217fb8(0x2d7,_0x2188da._0x57d14d,_0x2188da._0x3e49b2,_0x2188da._0x7b8280)]]};}default:{const _0x142f73=_0x4590bd;throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x221a96,0x562,_0x2188da._0x2525b7,_0x2188da._0x1ac0f2),_0x2c3c63(0x60e,_0x2188da._0x543b3e,_0x2188da._0x19eb45,0x450)+String(_0x142f73[_0x217fb8(0x540,0x3e9,0x3df,0x417)])+'\x27.');}}});}function assertNoOverlaps(_0x4430cb){const _0x2521a4={_0x534231:0x230,_0x56045f:0x48,_0x150611:0xe2,_0x384ca3:0x338,_0x1982e2:0x142,_0x48ad4a:0x2ca,_0xfa006b:0x1b8,_0x6ec496:0xdb,_0x3b62ee:0x1d1,_0x14610c:0x4a,_0x2497a0:0x126,_0x42f3d0:0xd0,_0x53aac3:0x233,_0x19f279:0xa1,_0x3fbf35:0xc3,_0x252e63:0x47,_0x350a9f:0xdd,_0xdeb49b:0x15,_0x12afe6:0x14a,_0xa055e:0xa8,_0x235503:0x82,_0x33c63e:0x2d,_0x2cac6e:0x51,_0x2f2b6a:0x15,_0x9b7337:0x1ae,_0x5dfc7b:0x7b,_0x479f45:0x327,_0x555876:0x1dc,_0x2d2149:0x1ea,_0x6d86e0:0x188,_0x1654e8:0x369,_0x1d03fb:0x22,_0x1e35c5:0x249,_0x2f91c5:0xa9,_0x3a6724:0x28f,_0x300466:0x1c2,_0x3626d9:0xa9,_0x1ddd1c:0x262,_0x517c05:0xe,_0x56cb45:0x20,_0xf4483b:0x17b,_0x4b947f:0x191,_0x4a1678:0x85,_0x181b39:0x2a5},_0x4c6203={_0x34192f:0x52,_0x3a6705:0xa4,_0x1754dd:0x1d3},_0x4fbed3={_0x329735:0x1af},_0x520fd1=_0x4430cb[_0x1939dd(_0x2521a4._0x534231,_0x2521a4._0x56045f,0x27,0x23b)](_0x5342d8=>_0x5342d8[_0x19588f(0x3bb,0x386,0x23d,0x2b0)]===_0x1939dd(0x1c1,0x371,0x3ba,0x415)||_0x5342d8[_0x19588f(0x172,0x41e,0x3b3,0x2b0)]==='delete'),_0x1e2936=_0x4430cb[_0x19588f(-_0x2521a4._0x150611,-0x172,-0x9e,0x3)](_0x2e9cb3=>_0x2e9cb3[_0x1939dd(0x16e,0xdb,0x2d4,0xc6)]===_0x19588f(0x39b,0x90,0x5f,0x223));for(let _0x363006=0x0;_0x363006<_0x520fd1[_0x1939dd(0x100,_0x2521a4._0x384ca3,0x1dc,_0x2521a4._0x1982e2)];_0x363006+=0x1){for(let _0x4d4eb4=_0x363006+0x1;_0x4d4eb4<_0x520fd1[_0x19588f(_0x2521a4._0x48ad4a,0x34d,0x28d,_0x2521a4._0xfa006b)];_0x4d4eb4+=0x1){const _0x496221=_0x520fd1[_0x363006],_0x18c73c=_0x520fd1[_0x4d4eb4];if(Math[_0x19588f(0x43,-_0x2521a4._0x6ec496,_0x2521a4._0x3b62ee,_0x2521a4._0x14610c)](_0x496221[_0x19588f(0x1c4,-_0x2521a4._0x2497a0,-_0x2521a4._0x42f3d0,0x47)],_0x18c73c[_0x19588f(_0x2521a4._0x53aac3,_0x2521a4._0x19f279,_0x2521a4._0x3fbf35,_0x2521a4._0x252e63)])<=Math[_0x1939dd(_0x2521a4._0x350a9f,-0x1c9,_0x2521a4._0xdeb49b,-0x1aa)](_0x496221[_0x19588f(-_0x2521a4._0x12afe6,_0x2521a4._0xa055e,-_0x2521a4._0x235503,_0x2521a4._0x33c63e)],_0x18c73c[_0x1939dd(0xd2,-0x12a,_0x2521a4._0x2cac6e,0x2f)]))throw createAnchoredFileError(_0x1939dd(-0xd6,0x28,-_0x2521a4._0x2f2b6a,-0x201),_0x1939dd(0x1d4,-0x34,0x5f,-_0x2521a4._0x9b7337));}}function _0x1939dd(_0x2d9ec6,_0x4b62ef,_0x16c0f2,_0x58cb7c){return _0x5885dd(_0x2d9ec6-0x15e,_0x58cb7c,_0x16c0f2-0x1ab,_0x16c0f2- -_0x4fbed3._0x329735);}for(let _0x191140=0x0;_0x191140<_0x1e2936[_0x1939dd(_0x2521a4._0x5dfc7b,_0x2521a4._0x479f45,_0x2521a4._0x555876,_0x2521a4._0x2d2149)];_0x191140+=0x1){for(let _0x16f74c=_0x191140+0x1;_0x16f74c<_0x1e2936[_0x1939dd(0x25d,_0x2521a4._0x6d86e0,0x1dc,_0x2521a4._0x1654e8)];_0x16f74c+=0x1){if(_0x1e2936[_0x191140][_0x1939dd(-_0x2521a4._0x1d03fb,_0x2521a4._0x1e35c5,_0x2521a4._0x2f91c5,_0x2521a4._0x3a6724)]===_0x1e2936[_0x16f74c][_0x1939dd(0x16f,_0x2521a4._0x300466,_0x2521a4._0x3626d9,_0x2521a4._0x1ddd1c)])throw createAnchoredFileError(_0x19588f(0x57,0xf6,-0x13a,-0x39),'Multiple\x20insertions\x20target\x20the\x20same\x20line\x20gap.');}}function _0x19588f(_0x5d9dcd,_0x58512a,_0x4e5c8d,_0x426057){return _0x5885dd(_0x5d9dcd-_0x4c6203._0x34192f,_0x4e5c8d,_0x4e5c8d-_0x4c6203._0x3a6705,_0x426057- -_0x4c6203._0x1754dd);}for(const _0x34e92e of _0x1e2936){for(const _0x14727b of _0x520fd1){if(_0x34e92e[_0x19588f(-_0x2521a4._0x517c05,0x13b,_0x2521a4._0x56cb45,0x85)]>=_0x14727b['sourceStart']&&_0x34e92e[_0x19588f(_0x2521a4._0xf4483b,-0xa5,-_0x2521a4._0x4b947f,_0x2521a4._0x4a1678)]<=_0x14727b['sourceEnd']-0x1)throw createAnchoredFileError('overlapping_operations',_0x19588f(0xe0,0xd7,_0x2521a4._0x181b39,0x2a4));}}}function assertLinesObserved(_0x5a13ef,_0x5c166c){const _0x476205={_0x2d9f6b:0x62c,_0x396696:0x7d,_0x1eaa2b:0x188,_0x23fe77:0x2e,_0x56a240:0x77,_0x3a7aed:0x322,_0x5c9884:0x107,_0x357a1f:0x1de},_0x1e4473={_0x4d68d1:0xa0,_0x44a7a8:0x20e,_0x359e13:0xf5},_0x575863={_0x180be0:0x7f},_0x5e7a87=new Set();for(const _0x24c02d of _0x5a13ef){for(const _0x5dd621 of _0x24c02d[_0x390056(0x55f,0x609,_0x476205._0x2d9f6b,0x490)]){_0x5e7a87[_0x2fb748(-0x157,-_0x476205._0x396696,-0x2b0,-0x253)](_0x5dd621);}}function _0x2fb748(_0x4aabde,_0x2d12b1,_0x49a894,_0x5583d0){return _0x16ac01(_0x4aabde-0x16f,_0x4aabde- -_0x575863._0x180be0,_0x49a894-0x135,_0x49a894);}function _0x390056(_0x9b8443,_0x1d5de7,_0x57b852,_0x163905){return _0x16ac01(_0x9b8443-_0x1e4473._0x4d68d1,_0x163905-_0x1e4473._0x44a7a8,_0x57b852-_0x1e4473._0x359e13,_0x9b8443);}const _0x20e1b4=[..._0x5e7a87][_0x2fb748(-_0x476205._0x1eaa2b,-0xd5,_0x476205._0x23fe77,-_0x476205._0x56a240)]((_0x585159,_0x37634c)=>_0x585159-_0x37634c);for(const _0x150431 of _0x20e1b4){if(!_0x5c166c[_0x390056(_0x476205._0x3a7aed,0x20d,0x38f,0x23f)](_0x150431))throw createAnchoredFileError('unseen_lines',_0x390056(_0x476205._0x5c9884,0x23e,0x33f,0x254)+_0x150431+_0x390056(0x1be,_0x476205._0x357a1f,0x30c,0x1a3),{'requiredLines':_0x20e1b4});}return _0x20e1b4;}function applyOperations(_0x65027f,_0x473326){const _0x2d5e7f={_0x53166c:0x996,_0x177684:0x683,_0xb0c288:0x59c,_0x1b62cf:0x790,_0x31154e:0x8f3,_0x32e6b8:0x6c3,_0x1fd826:0x334,_0x15a454:0x508,_0x437837:0x603,_0x234550:0x722,_0x4d6dd9:0x4f8,_0x22b8f2:0xa0f,_0x112892:0x76f,_0x35ed05:0x853,_0x587da0:0x683},_0x463473={_0x528784:0x64d},_0x425d10={_0xcabeb8:0x206,_0x2d4a4a:0xc5,_0x1c65ab:0xa5,_0x59d6cf:0x1e4,_0x400bc6:0x10a,_0x89ea21:0x39a,_0x1d21ca:0x6af,_0x51edf1:0x179,_0x2e4fea:0x87,_0x2dceb4:0x9c,_0x38e4f3:0xd};function _0x569e16(_0x11f201,_0x464dff,_0x19bc41,_0x1aae48){return _0x5885dd(_0x11f201-0x1d4,_0x11f201,_0x19bc41-0x102,_0x19bc41-0x336);}const _0x909878=[..._0x65027f[_0x569e16(_0x2d5e7f._0x53166c,_0x2d5e7f._0x177684,0x7fe,0x833)]],_0x39c94a=[..._0x473326]['sort']((_0x341b7f,_0x26bd44)=>{const _0x1c632d={_0x2946dc:0x16c},_0x31e95b={_0x42aaf8:0x6a5,_0xfd9764:0x16b};function _0x4198f5(_0x248bf9,_0x4c465d,_0x26e700,_0x2bcee6){return _0x569e16(_0x2bcee6,_0x4c465d-0x7e,_0x4c465d- -_0x31e95b._0x42aaf8,_0x2bcee6-_0x31e95b._0xfd9764);}if(_0x341b7f[_0xa6f2c0(0x46d,0x61a,0x6dd,0x4e7)]!==_0x26bd44['spliceIndex'])return _0x26bd44[_0x4198f5(_0x425d10._0xcabeb8,_0x425d10._0x2d4a4a,-0x13e,-_0x425d10._0x1c65ab)]-_0x341b7f[_0x4198f5(0x80,_0x425d10._0x2d4a4a,_0x425d10._0x59d6cf,_0x425d10._0x400bc6)];const _0x38c050=_0x341b7f[_0xa6f2c0(0x654,0x3c5,0x71d,0x536)]===_0xa6f2c0(0x482,0x613,0x3e4,0x4a9),_0x2a051c=_0x26bd44[_0xa6f2c0(_0x425d10._0x89ea21,_0x425d10._0x1d21ca,0x64a,0x536)]===_0x4198f5(_0x425d10._0x51edf1,_0x425d10._0x2e4fea,_0x425d10._0x2dceb4,_0x425d10._0x38e4f3);if(_0x38c050!==_0x2a051c)return _0x38c050?0x1:-0x1;function _0xa6f2c0(_0x412d73,_0x49b64e,_0x5c89da,_0x404551){return _0x569e16(_0x49b64e,_0x49b64e-_0x1c632d._0x2946dc,_0x404551- -0x283,_0x404551-0x1bc);}return 0x0;});for(const _0x277e18 of _0x39c94a){_0x909878[_0x569e16(0x789,_0x2d5e7f._0xb0c288,_0x2d5e7f._0x1b62cf,0x889)](_0x277e18[_0x3d1655(_0x2d5e7f._0x31154e,_0x2d5e7f._0x32e6b8,0x7f2,0x7bc)],_0x277e18[_0x569e16(0x3b8,_0x2d5e7f._0x1fd826,_0x2d5e7f._0x15a454,_0x2d5e7f._0x437837)],..._0x277e18[_0x3d1655(_0x2d5e7f._0x234550,_0x2d5e7f._0x4d6dd9,0x596,0x38d)]);}function _0x3d1655(_0x542da9,_0x136444,_0x1d275a,_0x1a2a4d){return _0x16ac01(_0x542da9-0x1c2,_0x1d275a-_0x463473._0x528784,_0x1d275a-0x1af,_0x136444);}if(_0x909878['length']===0x0)return'';const _0x445090=_0x909878[_0x3d1655(_0x2d5e7f._0x22b8f2,_0x2d5e7f._0x112892,_0x2d5e7f._0x35ed05,_0x2d5e7f._0x587da0)]('\x0a');return _0x65027f['finalNewline']?_0x445090+'\x0a':_0x445090;}function operationRowDelta(_0x98d601){const _0x301315={_0x7e143a:0x36,_0x4f7090:0x71},_0x32072e={_0x10d358:0x1c7},_0x18abed={_0x4fe088:0x1e7};function _0x18f7b0(_0x1a4231,_0x3a5311,_0x3f2114,_0x4c0f14){return _0x16ac01(_0x1a4231-0x1e8,_0x4c0f14-_0x18abed._0x4fe088,_0x3f2114-0x7,_0x1a4231);}function _0xd4934d(_0x375ae9,_0x27901d,_0x19ccf9,_0x1152ff){return _0x5885dd(_0x375ae9-_0x32072e._0x10d358,_0x19ccf9,_0x19ccf9-0x179,_0x1152ff- -0x30e);}return _0x98d601[_0xd4934d(-_0x301315._0x7e143a,-0x28d,-0x2f3,-0x136)][_0xd4934d(-_0x301315._0x4f7090,0xfa,-0x166,0x7d)]-_0x98d601['deleteCount'];}function finalFileOrder(_0x21ee1f){const _0x2d145a={_0x56cefb:0x329,_0x50c307:0x16f,_0x59867f:0x25c,_0x2479a4:0x27f,_0x328361:0x2c7,_0x272b71:0x300,_0x32b93a:0x6e,_0x2d2bce:0x1e0,_0x1d77f4:0x25,_0x48e1d2:0x3b,_0x33549c:0x131,_0x51e54d:0x6a},_0x5acf64={_0x5679c1:0x2e9};return[..._0x21ee1f]['sort']((_0x3c7c5b,_0x356412)=>{function _0x295bf2(_0x82fa47,_0x1997b3,_0x5ef113,_0x5aef87){return _0xa933(_0x5aef87- -0x230,_0x1997b3);}function _0x19e559(_0x683655,_0x35712a,_0x7bafd7,_0x262ee0){return _0xa933(_0x7bafd7- -_0x5acf64._0x5679c1,_0x35712a);}if(_0x3c7c5b[_0x19e559(_0x2d145a._0x56cefb,0x1b7,0x16f,0x5)]!==_0x356412[_0x19e559(0x1b1,0xb,_0x2d145a._0x50c307,_0x2d145a._0x59867f)])return _0x3c7c5b['spliceIndex']-_0x356412[_0x19e559(_0x2d145a._0x2479a4,_0x2d145a._0x328361,_0x2d145a._0x50c307,0x365)];const _0x1ec4d3=_0x3c7c5b[_0x19e559(0x3c1,0xc7,0x1be,_0x2d145a._0x272b71)]===_0x295bf2(_0x2d145a._0x32b93a,_0x2d145a._0x2d2bce,-_0x2d145a._0x1d77f4,0x1ea),_0x47140=_0x356412['kind']===_0x19e559(0x315,_0x2d145a._0x48e1d2,_0x2d145a._0x33549c,-_0x2d145a._0x51e54d);if(_0x1ec4d3!==_0x47140)return _0x1ec4d3?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x13164e){const _0x3d9f30={_0x340b31:0x161,_0x1a6896:0x10f,_0x4808fa:0x1aa,_0x33f890:0x16f,_0x2aa484:0x125,_0xcdb32b:0xf6,_0x64a19b:0x175,_0x262ca8:0x150,_0x46e8eb:0x14e,_0x2a8eb6:0x428,_0x3a36aa:0x529,_0x13e95c:0x3e3,_0x5c9f6b:0xe4,_0x52e8de:0x5c,_0x511624:0x23,_0x5cd199:0x1d3,_0x287d71:0x175,_0xc8a925:0x1ac,_0x33d20a:0x141,_0xf9648c:0x38,_0x3a799b:0x28a,_0x4fe8a9:0x2c2,_0x1518f6:0x24d,_0x1d21e2:0x1b2,_0x948f07:0x2a0,_0x44abc3:0x112,_0x3924a6:0x94,_0xc74eb8:0x26b,_0x1e6939:0x2ae,_0x4de622:0x7f,_0x48e2d6:0xfd},_0x4ef039={_0x32464a:0x127,_0x15d54a:0x120},_0x2f6db1={_0x597bc9:0x1a8,_0x1a4593:0x13c},_0x3df734=new Array(_0x13164e[_0x6745bd(0x26b,_0x3d9f30._0x340b31,0x254,_0x3d9f30._0x1a6896)]);let _0x40113c=0x0;function _0x4b8f65(_0x354cc6,_0x2f9651,_0x1324b3,_0x188462){return _0x16ac01(_0x354cc6-_0x2f6db1._0x597bc9,_0x1324b3- -0x42,_0x1324b3-_0x2f6db1._0x1a4593,_0x354cc6);}for(const _0x4b120c of finalFileOrder(_0x13164e)){const _0xf7e27=_0x4b120c[_0x4b8f65(0x32b,0x199,0x1b2,_0x3d9f30._0x4808fa)]===_0x4b8f65(_0x3d9f30._0x33f890,-0x4d,_0x3d9f30._0x2aa484,0x10f)?_0x4b120c['canonical'][_0x4b8f65(_0x3d9f30._0xcdb32b,_0x3d9f30._0x64a19b,_0x3d9f30._0x262ca8,_0x3d9f30._0x46e8eb)]===_0x6745bd(_0x3d9f30._0x2a8eb6,_0x3d9f30._0x3a36aa,0x4cc,_0x3d9f30._0x13e95c)?_0x4b120c[_0x4b8f65(_0x3d9f30._0x5c9f6b,-_0x3d9f30._0x52e8de,-_0x3d9f30._0x511624,-_0x3d9f30._0x5cd199)][_0x4b8f65(_0x3d9f30._0x287d71,-_0x3d9f30._0xc8a925,_0x3d9f30._0x511624,0x20e)]:_0x4b120c[_0x4b8f65(-_0x3d9f30._0x33d20a,0x10f,-0x23,0x83)][_0x6745bd(0x1d4,-_0x3d9f30._0xf9648c,_0x3d9f30._0x3a799b,_0x3d9f30._0x4fe8a9)]+0x1:_0x4b120c['sourceStart'],_0x29e66d=_0xf7e27+_0x40113c,_0x418ead=_0x4b120c[_0x4b8f65(_0x3d9f30._0x1518f6,0xb3,_0x3d9f30._0x1d21e2,_0x3d9f30._0x948f07)]===_0x6745bd(_0x3d9f30._0x44abc3,0x309,-0xf3,_0x3d9f30._0x3924a6)?0x0:_0x4b120c['rows'][_0x6745bd(_0x3d9f30._0xc74eb8,_0x3d9f30._0x1e6939,0x8b,_0x3d9f30._0x4de622)];_0x3df734[_0x13164e[_0x4b8f65(0x24,0x20,-0xdb,_0x3d9f30._0x48e2d6)](_0x4b120c)]={'newStartLine':_0x29e66d,'newEndLine':_0x29e66d+_0x418ead-0x1},_0x40113c+=operationRowDelta(_0x4b120c);}function _0x6745bd(_0x528d8e,_0x1322af,_0x532e61,_0x299d6e){return _0x5885dd(_0x528d8e-0x7,_0x532e61,_0x532e61-_0x4ef039._0x32464a,_0x528d8e- -_0x4ef039._0x15d54a);}return _0x3df734;}function buildBlock(_0x327a21,_0x1ea425,_0x1b695f,_0x1af942){const _0x5b6fd7={_0x1877ff:0x8bd,_0x574333:0x6e7,_0x6ce88b:0x771,_0x82dab7:0x6dd,_0xaabbdb:0x583,_0x1b5d90:0x3f0,_0xbc38cb:0x47b,_0xfbb2d9:0x73e,_0x35a30b:0x42f,_0x4a4478:0x32a,_0x347e29:0x566,_0x569468:0x61a,_0x420459:0x5c4,_0x35f861:0x3e8,_0x30d333:0x482,_0x55644f:0x285,_0x1ca8dc:0x263,_0x2b9464:0x471,_0x28c115:0x457,_0x188424:0x2c2,_0x3f4bb6:0x647,_0x481151:0x6ec,_0x928317:0x6f8,_0x53581f:0x4f1,_0x29e624:0x4dd,_0x24b6a7:0x30f,_0x5721ff:0x6da,_0x1570b3:0x50f,_0x1d377e:0x837,_0x397e3c:0x725,_0x39495b:0x523,_0x13cf0c:0x3fb,_0x40dd9b:0x47b,_0x32f040:0x4e5,_0x2d2477:0x301,_0x388c02:0x744,_0x54bab4:0x517,_0x185122:0x4c9,_0x5918dc:0x644,_0x1d58d6:0x644,_0x2a92e2:0x707,_0x16a521:0x67c,_0xf57f47:0x6a5},_0x4b7759={_0x3d1721:0x131,_0x1ae8b4:0x7d},_0x2ad6fd={_0xf0ff6b:0x31,_0x19e1d7:0x166,_0x11ac7a:0x2f1};function _0x424a04(_0x150270,_0x6bc884,_0x5f22ac,_0x29ac2f){return _0x5885dd(_0x150270-_0x2ad6fd._0xf0ff6b,_0x29ac2f,_0x5f22ac-_0x2ad6fd._0x19e1d7,_0x6bc884-_0x2ad6fd._0x11ac7a);}if(_0x1ea425['kind']===_0x424a04(_0x5b6fd7._0x1877ff,_0x5b6fd7._0x574333,0x64e,_0x5b6fd7._0x6ce88b)){const {line:_0x5e5b77,position:_0x293081}=_0x1ea425[_0x5c1ce1(0x505,0x646,0x6f6,_0x5b6fd7._0x82dab7)],_0x2e50a6=_0x293081==='before'?_0x5e5b77:_0x5e5b77+0x1;return{'oldText':'','newText':_0x1ea425[_0x5c1ce1(0x42f,_0x5b6fd7._0xaabbdb,_0x5b6fd7._0x1b5d90,_0x5b6fd7._0xbc38cb)][_0x5c1ce1(0x6ec,0x7de,0x625,_0x5b6fd7._0xfbb2d9)]('\x0a'),'lineNumbers':{'oldStartLine':_0x2e50a6,'oldEndLine':_0x2e50a6-0x1,'newStartLine':_0x1b695f,'newEndLine':_0x1af942,'oldLineCount':0x0,'newLineCount':_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x35a30b,0x49e,0x502,_0x5b6fd7._0x4a4478)][_0x5c1ce1(0x5e2,_0x5b6fd7._0x347e29,_0x5b6fd7._0x569468,0x5cb)]}};}const _0x4c6810=_0x327a21[_0x424a04(0x68a,0x7b9,0x735,_0x5b6fd7._0x420459)][_0x5c1ce1(_0x5b6fd7._0x35f861,_0x5b6fd7._0x30d333,_0x5b6fd7._0x55644f,_0x5b6fd7._0x1ca8dc)](_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x2b9464,0x5db,0x28c,0x522)]-0x1,_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x28c115,_0x5b6fd7._0x188424,_0x5b6fd7._0x3f4bb6,0x27b)])[_0x5c1ce1(_0x5b6fd7._0x481151,0x7f2,0x631,0x621)]('\x0a');function _0x5c1ce1(_0x2e19f4,_0x117f66,_0xea3b7f,_0x1b0ac4){return _0x5885dd(_0x2e19f4-_0x4b7759._0x3d1721,_0x117f66,_0xea3b7f-_0x4b7759._0x1ae8b4,_0x2e19f4-0x257);}const _0x3b72ba=_0x1ea425[_0x424a04(_0x5b6fd7._0x928317,_0x5b6fd7._0x53581f,_0x5b6fd7._0x29e624,_0x5b6fd7._0x24b6a7)]-_0x1ea425['sourceStart']+0x1;if(_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x5721ff,_0x5b6fd7._0x1570b3,0x773,_0x5b6fd7._0x1d377e)]===_0x424a04(_0x5b6fd7._0x397e3c,_0x5b6fd7._0x39495b,_0x5b6fd7._0x13cf0c,_0x5b6fd7._0x40dd9b))return{'oldText':_0x4c6810,'newText':'','lineNumbers':{'oldStartLine':_0x1ea425['sourceStart'],'oldEndLine':_0x1ea425[_0x424a04(_0x5b6fd7._0x420459,0x4f1,_0x5b6fd7._0x32f040,0x4f7)],'newStartLine':_0x1b695f,'newEndLine':_0x1b695f-0x1,'oldLineCount':_0x3b72ba,'newLineCount':0x0}};return{'oldText':_0x4c6810,'newText':_0x1ea425[_0x424a04(_0x5b6fd7._0x2d2477,0x4c9,0x608,0x533)][_0x424a04(_0x5b6fd7._0x388c02,0x786,0x636,0x670)]('\x0a'),'lineNumbers':{'oldStartLine':_0x1ea425['sourceStart'],'oldEndLine':_0x1ea425[_0x424a04(0x387,0x4f1,0x62e,_0x5b6fd7._0x54bab4)],'newStartLine':_0x1b695f,'newEndLine':_0x1af942,'oldLineCount':_0x3b72ba,'newLineCount':_0x1ea425[_0x424a04(0x447,_0x5b6fd7._0x185122,_0x5b6fd7._0x5918dc,_0x5b6fd7._0x1d58d6)][_0x424a04(_0x5b6fd7._0x2a92e2,_0x5b6fd7._0x16a521,_0x5b6fd7._0xf57f47,0x87a)]}};}function stableStringify(_0x2b4cc3){const _0x3dcd25={_0x10c9f6:0xa2,_0x538c4f:0x1fd,_0x579900:0x359,_0x1c925c:0x5ec,_0x48a8a0:0x4dd,_0x287509:0x55b,_0x531db6:0x657,_0x1d7e71:0x7a3,_0x4d1bc3:0xa5c,_0x3d418c:0x6da,_0x1e1b83:0x9bf},_0x4686ff={_0x1494d7:0x138,_0x39c22e:0x664},_0x527e80={_0x55bdac:0xdf,_0x439973:0x2ce};function _0x2212d1(_0x107ab8,_0x29a447,_0x356368,_0x3ca2a2){return _0x5885dd(_0x107ab8-0xbd,_0x356368,_0x356368-_0x527e80._0x55bdac,_0x107ab8- -_0x527e80._0x439973);}function _0x13e67d(_0x595b39,_0x59dcfc,_0x32a42a,_0x81c874){return _0x16ac01(_0x595b39-_0x4686ff._0x1494d7,_0x59dcfc-_0x4686ff._0x39c22e,_0x32a42a-0xc4,_0x595b39);}if(Array[_0x2212d1(-0xa8,-_0x3dcd25._0x10c9f6,-0x242,-_0x3dcd25._0x538c4f)](_0x2b4cc3))return'['+_0x2b4cc3[_0x13e67d(_0x3dcd25._0x579900,0x523,_0x3dcd25._0x1c925c,0x371)](stableStringify)['join'](',')+']';if(_0x2b4cc3!==null&&typeof _0x2b4cc3==='object'){const _0x4b832c=_0x2b4cc3;return'{'+Object['keys'](_0x4b832c)[_0x13e67d(_0x3dcd25._0x48a8a0,_0x3dcd25._0x287509,0x666,0x471)]()['map'](_0x2d84fd=>JSON[_0x13e67d(0x851,0x7f7,0x892,0x76c)](_0x2d84fd)+':'+stableStringify(_0x4b832c[_0x2d84fd]))[_0x13e67d(_0x3dcd25._0x531db6,0x86a,_0x3dcd25._0x1d7e71,_0x3dcd25._0x4d1bc3)](',')+'}';}return JSON[_0x13e67d(_0x3dcd25._0x3d418c,0x7f7,0x67a,_0x3dcd25._0x1e1b83)](_0x2b4cc3);}function prepareCanonicalFileEdit(_0x1a96dc,_0x605068,_0x43094c){const _0x21180a={_0x315736:0x259,_0x291dbe:0x100,_0x3ffd63:0x284,_0x56552f:0x64},_0x5e677e={_0x5e2b5e:0x1e2,_0x4f4596:0x21e},_0x48d825={_0x5a9618:0x97,_0x25dd00:0x1b1},_0x4bf503=planOperations(_0x1a96dc,_0x43094c);assertNoOverlaps(_0x4bf503);const _0x16c3c6=assertLinesObserved(_0x4bf503,_0x605068),_0xbbbe9b=applyOperations(_0x1a96dc,_0x4bf503);function _0x5b5075(_0x37ef35,_0x35927a,_0x47877f,_0x49e70c){return _0x16ac01(_0x37ef35-_0x48d825._0x5a9618,_0x47877f-0x1e4,_0x47877f-_0x48d825._0x25dd00,_0x35927a);}function _0x150ae2(_0x3291a6,_0x302c67,_0x688317,_0x4ae314){return _0x5885dd(_0x3291a6-_0x5e677e._0x5e2b5e,_0x302c67,_0x688317-0xfa,_0x688317-_0x5e677e._0x4f4596);}if(_0xbbbe9b===_0x1a96dc['text'])throw createAnchoredFileError(_0x5b5075(_0x21180a._0x315736,0x159,0x35e,0x2f7),'The\x20anchored\x20operations\x20would\x20leave\x20the\x20file\x20byte-identical.');const _0x5caf14=_0x4bf503[_0x5b5075(-_0x21180a._0x291dbe,0x1cd,0xa3,-0xa7)](_0x2cc4fc=>_0x2cc4fc[_0x150ae2(0x44e,0x440,0x4cc,0x3f0)]),_0x2dcd26=computeFinalFileNewSideLines(_0x4bf503);return{'afterText':_0xbbbe9b,'operations':_0x5caf14,'blocks':_0x4bf503[_0x5b5075(_0x21180a._0x3ffd63,0x268,0xa3,-_0x21180a._0x56552f)]((_0x5c2cb2,_0xca42c5)=>{const {newStartLine:_0x56a64f,newEndLine:_0x427953}=_0x2dcd26[_0xca42c5];return buildBlock(_0x1a96dc,_0x5c2cb2,_0x56a64f,_0x427953);}),'requiredLines':_0x16c3c6,'payloadDigest':sha256Bytes(stableStringify(_0x5caf14))};}import _0x302d85 from'string-width';var EMPTY_FILE_MESSAGE='File\x20is\x20empty;\x20anchored\x20edits\x20require\x20an\x20observed\x20line.';function clampLine(_0x190914,_0x29018c){const _0x176e1b={_0x48e34c:0x5fa,_0x5aff1d:0x61a,_0x100dd3:0x538,_0x3ee734:0x3a4,_0x3e4bb2:0x58d,_0x269670:0x66d},_0x339356={_0x385ae0:0x269};function _0x6ad20e(_0x15ea42,_0x1d62cf,_0x86de77,_0xb43e00){return _0x5885dd(_0x15ea42-0x141,_0x86de77,_0x86de77-0x198,_0x15ea42-0x3dd);}function _0x59fc20(_0x7fc555,_0x3fecaf,_0x578d01,_0x5384f1){return _0x5885dd(_0x7fc555-0x1d1,_0x3fecaf,_0x578d01-0x11d,_0x578d01-_0x339356._0x385ae0);}if(!Number['isFinite'](_0x190914))return 0x1;return Math[_0x6ad20e(_0x176e1b._0x48e34c,_0x176e1b._0x5aff1d,0x5e2,_0x176e1b._0x100dd3)](0x1,Math['min'](Math[_0x59fc20(_0x176e1b._0x3ee734,0x5f8,_0x176e1b._0x3e4bb2,_0x176e1b._0x269670)](_0x190914),_0x29018c));}function formatAnchoredFileRead(_0x2645b3){const _0x53b688={_0x34bf5c:0x4ea,_0x519f68:0x1fe,_0xd90f9c:0x447,_0x2553f5:0x181,_0x5d50f8:0x5a6,_0x45ac13:0x197,_0x299e46:0x16,_0xa3ab7e:0x43f,_0x2ff0eb:0x431,_0x39b3bd:0x32b,_0x6be69d:0x246,_0x870476:0x189,_0x4ba55e:0x206,_0x3a49cd:0xb5,_0x48c130:0xb6,_0x34298e:0x111,_0x156b13:0x22,_0x51860f:0x23b,_0x11ae39:0x462,_0x401cc0:0x63d,_0x4acd26:0x6d6,_0xfb875a:0x49a,_0x3d36bb:0x59a,_0x40ab1a:0x80,_0xc30cbe:0xbb,_0x3c307d:0x242,_0xbb6398:0x14a,_0x397708:0x21c,_0x130816:0xf8,_0x5529dd:0x168,_0x338b81:0x11d,_0x377e8c:0x625},_0x8e339b={_0x3d8652:0x1bb,_0x4215da:0xb7},_0x8dc771={_0x3b2487:0x10e},{displayPath:_0x3df668,snapshot:_0x3bf3cd,maxBytes:_0x512412}=_0x2645b3,_0x18b9bb=_0x3bf3cd[_0x309429(0x3ba,_0x53b688._0x34bf5c,_0x53b688._0x519f68,_0x53b688._0xd90f9c)][_0x309429(0x27d,_0x53b688._0x2553f5,0x1c1,0x422)],_0x1bddb7='['+_0x3df668+'#'+_0x3bf3cd[_0x20a118(0x5dd,_0x53b688._0x5d50f8,0x6de,0x63e)]+']\x0a',_0x2b5388=Buffer[_0x309429(0x1b0,_0x53b688._0x45ac13,-_0x53b688._0x299e46,0x170)](_0x1bddb7,_0x20a118(_0x53b688._0xa3ab7e,0x2c5,0x4c4,_0x53b688._0x2ff0eb));if(_0x18b9bb===0x0){const _0x46b160=''+_0x1bddb7+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x46b160,'displayedLines':[],'truncated':![]};}const _0x2535bc=clampLine(_0x2645b3[_0x20a118(0x33c,_0x53b688._0x39b3bd,_0x53b688._0x6be69d,_0x53b688._0x870476)]??0x1,_0x18b9bb);function _0x309429(_0xad9868,_0x1c1573,_0x1c435b,_0x255b9a){return _0x5885dd(_0xad9868-0x96,_0x1c1573,_0x1c435b-0x7e,_0xad9868- -_0x8dc771._0x3b2487);}const _0x56e5fc=clampLine(_0x2645b3[_0x309429(_0x53b688._0x4ba55e,0x74,_0x53b688._0x3a49cd,0x1c9)]??_0x18b9bb,_0x18b9bb),_0x4aefba=Math[_0x309429(_0x53b688._0x48c130,-_0x53b688._0x34298e,-_0x53b688._0x156b13,_0x53b688._0x51860f)](_0x2535bc,_0x56e5fc),_0x346b62=Math[_0x20a118(0x392,0x4ab,_0x53b688._0x11ae39,0x2f1)](_0x2535bc,_0x56e5fc),_0x445e18=[],_0x5a1a32=[];let _0x1b9121=_0x2b5388;for(let _0x4e43de=_0x4aefba;_0x4e43de<=_0x346b62;_0x4e43de+=0x1){const _0x315226=_0x4e43de+':'+_0x3bf3cd[_0x20a118(_0x53b688._0x401cc0,0x72d,_0x53b688._0x11ae39,_0x53b688._0x4acd26)][_0x4e43de-0x1]+'\x0a',_0x4fdf6f=Buffer['byteLength'](_0x315226,_0x20a118(_0x53b688._0xa3ab7e,0x639,_0x53b688._0xfb875a,_0x53b688._0x3d36bb)),_0x8f9aec=_0x4e43de+0x1,_0x297352=Buffer['byteLength'](_0x309429(_0x53b688._0x40ab1a,-0xb5,0x11a,-_0x53b688._0xc30cbe)+_0x8f9aec+'.\x0a',_0x309429(0x1bc,_0x53b688._0x3c307d,0x38d,0x2cf));if(_0x1b9121+_0x4fdf6f+_0x297352>_0x512412){const _0x1a4f83='Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x4e43de+'.\x0a';return{'output':''+_0x1bddb7+_0x445e18['join']('')+_0x1a4f83,'displayedLines':_0x5a1a32,'lineStart':_0x4aefba,'lineEnd':_0x5a1a32[_0x5a1a32[_0x309429(0x27d,0x2d7,_0x53b688._0xbb6398,_0x53b688._0x397708)]-0x1],'truncated':!![],'nextLineStart':_0x4e43de};}_0x445e18[_0x309429(_0x53b688._0x130816,0x230,_0x53b688._0x5529dd,-_0x53b688._0x338b81)](_0x315226),_0x5a1a32[_0x20a118(0x37b,0x532,0x251,0x591)](_0x4e43de),_0x1b9121+=_0x4fdf6f;}function _0x20a118(_0x1640bb,_0xfd71ca,_0x545cca,_0x218fef){return _0x16ac01(_0x1640bb-_0x8e339b._0x3d8652,_0x1640bb-0x404,_0x545cca-_0x8e339b._0x4215da,_0x218fef);}return{'output':''+_0x1bddb7+_0x445e18[_0x20a118(0x60a,0x469,_0x53b688._0x377e8c,0x467)](''),'displayedLines':_0x5a1a32,'lineStart':_0x4aefba,'lineEnd':_0x346b62,'truncated':![]};}function isWithinDisplayColumns(_0x588c88,_0x45c482){return _0x302d85(_0x588c88)<=_0x45c482;}import{randomUUID as _0x5a3d2b}from'crypto';function _0x5885dd(_0x312e67,_0x3fa7af,_0x35845c,_0x3c2bc4){return _0xa933(_0x3c2bc4- -0x24,_0x3fa7af);}import{chmod,rename,rm,writeFile as _0x4bdbee}from'fs/promises';import*as _0x55049d from'path';var defaultFileSystem={'writeFile':_0x4bdbee,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0xd77b66,_0x3a97eb,_0x3a78d1,_0x49ac08){const _0x40ec96={_0x51564d:0x56e,_0x5700e8:0x496,_0x1ce6c9:0x5a2,_0x29a4ba:0x40a,_0xfea34f:0x53a,_0x12e768:0x910,_0x4f40a5:0x61f,_0x1f882a:0x91e,_0x5d558c:0x790,_0x2d2caf:0x3f5,_0x46632f:0x581,_0x925016:0x7d8},_0x2a07f3={_0x2fc46a:0x8f,_0x22a992:0x2b3},_0x253156=_0x49ac08??defaultFileSystem,_0x5493f6=_0x55049d[_0x559601(_0x40ec96._0x51564d,0x4e9,_0x40ec96._0x5700e8,_0x40ec96._0x1ce6c9)](_0xd77b66);function _0x559601(_0x3f511e,_0x56c19b,_0x39d76b,_0x11b0e1){return _0x5885dd(_0x3f511e-_0x2a07f3._0x2fc46a,_0x56c19b,_0x39d76b-0x193,_0x11b0e1-_0x2a07f3._0x22a992);}const _0x18bc82=_0x55049d['join'](_0x5493f6,_0x559601(0x323,0x70e,_0x40ec96._0x29a4ba,_0x40ec96._0xfea34f)+_0x55049d[_0x559601(_0x40ec96._0x12e768,_0x40ec96._0x4f40a5,_0x40ec96._0x1f882a,_0x40ec96._0x5d558c)](_0xd77b66)+'.'+_0x5a3d2b());function _0x3c8875(_0x32f66e,_0x5f0a1b,_0x43b485,_0x459bb0){return _0x16ac01(_0x32f66e-0x10b,_0x459bb0-0x24e,_0x43b485-0x10d,_0x5f0a1b);}const _0x1878f4=_0x3a78d1&0xfff;try{await _0x253156[_0x3c8875(0x3d5,0x235,0x4ae,_0x40ec96._0x2d2caf)](_0x18bc82,_0x3a97eb,{'mode':_0x1878f4}),await _0x253156[_0x559601(_0x40ec96._0x46632f,_0x40ec96._0x925016,0x4f1,0x667)](_0x18bc82,_0x1878f4),await _0x253156['rename'](_0x18bc82,_0xd77b66);}finally{await _0x253156['rm'](_0x18bc82,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x546652,_0x408df2){const _0x3818df={_0x34d598:0x9f,_0x2194ad:0x1e2},_0x459127={_0x5b00ee:0x1b9,_0x471aed:0x12a,_0x29e6c8:0x1a8};function _0x2b553e(_0x3eca89,_0x3860c5,_0x1c972e,_0x34a67b){return _0x5885dd(_0x3eca89-_0x459127._0x5b00ee,_0x3eca89,_0x1c972e-_0x459127._0x471aed,_0x34a67b- -_0x459127._0x29e6c8);}throw createAnchoredFileError(_0x2b553e(0x1f9,0x37b,_0x3818df._0x34d598,_0x3818df._0x2194ad),_0x408df2+'\x20'+_0x546652+';\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x546652});}function createNormalizedFileSnapshot(_0x379de8,_0x605e40,_0x2b9b45){const _0x26a577={_0x8a99e2:0x553,_0x30f635:0x35a,_0x68d5fe:0xcc,_0x905c04:0x4a0,_0x6fca10:0x4ea,_0x428880:0x5d2,_0x2b0b09:0x123,_0x6c3da6:0xf7,_0x45398d:0x31f,_0x17749d:0x308,_0x28a054:0x30f,_0x36f5ce:0x211,_0x1c59e4:0x13a,_0x4fc67c:0x283,_0x26c8d9:0x13a,_0x426cf2:0x59d,_0x30c136:0x41d,_0x490721:0x5,_0x525e92:0x281,_0x2f81b2:0x2a5,_0x13c31c:0xb3,_0x4eef38:0x13,_0x3ebaa5:0x75b,_0x3ef246:0xc3,_0x54c5aa:0x8b,_0x1ebcb1:0x1f0,_0xff40bd:0x177,_0x23d3da:0x245,_0x43d2fe:0x6e,_0x2628b3:0x66,_0x11286f:0x1dc,_0x12604c:0x69,_0x4b6a5b:0x272,_0x11012c:0x2b0,_0x472d54:0x2e1},_0x24fd32={_0x313389:0x18c,_0x21317d:0x1a},_0x2b08bd={_0x1250fe:0x1da};Buffer[_0x5153ad(_0x26a577._0x8a99e2,0x568,0x38c,_0x26a577._0x30f635)](_0x605e40)[_0x31c519(0x219,_0x26a577._0x68d5fe,0x405,0x1ab)](0x0)&&exactReplacementGuidance(_0x379de8,_0x5153ad(0x1c1,0x29e,0x3d4,_0x26a577._0x905c04)+_0x379de8+'\x20contains\x20NUL\x20bytes.');let _0x42ac80;function _0x31c519(_0x1c7ab6,_0x3a259d,_0x411033,_0x14a05f){return _0x5885dd(_0x1c7ab6-0x166,_0x411033,_0x411033-_0x2b08bd._0x1250fe,_0x1c7ab6- -0x2cb);}try{_0x42ac80=utf8Decoder[_0x5153ad(0x57a,_0x26a577._0x6fca10,0x3db,_0x26a577._0x428880)](_0x605e40);}catch{exactReplacementGuidance(_0x379de8,_0x31c519(_0x26a577._0x2b0b09,_0x26a577._0x6c3da6,_0x26a577._0x45398d,_0x26a577._0x17749d)+_0x379de8+'\x20is\x20not\x20valid\x20UTF-8.');}const _0x46845b=_0x42ac80[_0x31c519(0x248,0x24e,_0x26a577._0x28a054,_0x26a577._0x36f5ce)](0x0)===0xfeff;if(_0x46845b)_0x42ac80=_0x42ac80[_0x31c519(-_0x26a577._0x1c59e4,-_0x26a577._0x4fc67c,-0x349,-_0x26a577._0x26c8d9)](0x1);const _0x2f89a3=_0x42ac80['includes']('\x0d\x0a'),_0x3b4740=/(?<!\r)\n/[_0x5153ad(0x62e,_0x26a577._0x426cf2,_0x26a577._0x30c136,0x428)](_0x42ac80);_0x2f89a3&&_0x3b4740&&exactReplacementGuidance(_0x379de8,_0x31c519(_0x26a577._0x2b0b09,0xd0,-_0x26a577._0x490721,_0x26a577._0x525e92)+_0x379de8+_0x31c519(_0x26a577._0x2f81b2,0x33d,_0x26a577._0x13c31c,0x21e));const _0x157568=_0x2f89a3?_0x31c519(-0x159,0x9b,-0x109,_0x26a577._0x4eef38):'lf',_0xc67be=_0x2f89a3?_0x42ac80[_0x5153ad(0x4be,0x5bf,0x54f,_0x26a577._0x3ebaa5)](/\r\n/g,'\x0a'):_0x42ac80,_0x322919=_0xc67be[_0x31c519(_0x26a577._0x3ef246,0xcc,-_0x26a577._0x54c5aa,_0x26a577._0x1ebcb1)]('\x0a'),_0x90e086=_0xc67be===''?[]:_0xc67be['split']('\x0a')[_0x5153ad(0x297,0x94,_0x26a577._0xff40bd,_0x26a577._0x23d3da)](0x0,_0x322919?-0x1:void 0x0);function _0x5153ad(_0x43b010,_0x3fb879,_0x4f803a,_0x1691e8){return _0x5885dd(_0x43b010-_0x24fd32._0x313389,_0x1691e8,_0x4f803a-0x103,_0x4f803a- -_0x24fd32._0x21317d);}const _0x489753=sha256Bytes(_0xc67be),_0x565c3a=_0x489753[_0x5153ad(0x1ab,_0x26a577._0x26c8d9,0x177,_0x26a577._0x43d2fe)](0x0,0xc)[_0x31c519(_0x26a577._0x2628b3,_0x26a577._0x11286f,_0x26a577._0x12604c,0x219)]();return{'canonicalPath':_0x379de8,'text':_0xc67be,'lines':_0x90e086,'finalNewline':_0x322919,'bom':_0x46845b,'eol':_0x157568,'digest':_0x489753,'tag':_0x565c3a,'utf8Bytes':Buffer[_0x5153ad(0x353,0x2f5,0x2a4,_0x26a577._0x4b6a5b)](_0xc67be,_0x5153ad(0x42c,0x489,_0x26a577._0x11012c,0x3a2)),'recordedAt':_0x2b9b45??Date[_0x5153ad(_0x26a577._0x472d54,0x3a3,0x4b8,0x490)]()};}function serializeNormalizedFile(_0x2e10de,_0x56437a){const _0x1a12bd={_0x2d9746:0xcc,_0x57f1a7:0x17,_0x502d71:0x1f0,_0x4af197:0x6e4,_0x3ae5f2:0x4df,_0x45c842:0x5c1,_0x2176df:0x22,_0x2dbb49:0x14a},_0xba0eb2={_0x122954:0x10d},_0xc5d559={_0x382a39:0x205};function _0x30390e(_0x2d2abe,_0x37195e,_0xb7c07b,_0x19efd8){return _0x16ac01(_0x2d2abe-0x17,_0xb7c07b-_0xc5d559._0x382a39,_0xb7c07b-0x1bc,_0x37195e);}const _0x33887c=_0x56437a[_0xa4963b(0x34b,0x3f5,0x753,0x543)]===_0xa4963b(0x1be,_0x1a12bd._0x2d9746,-_0x1a12bd._0x57f1a7,_0x1a12bd._0x502d71)?_0x2e10de[_0x30390e(0x456,_0x1a12bd._0x4af197,_0x1a12bd._0x3ae5f2,_0x1a12bd._0x45c842)](/\n/g,'\x0d\x0a'):_0x2e10de,_0x2815dd=Buffer['from'](_0x33887c,'utf8');function _0xa4963b(_0x277848,_0x149b29,_0x5b18b8,_0x25248d){return _0x16ac01(_0x277848-0x7a,_0x25248d-0x30d,_0x5b18b8-_0xba0eb2._0x122954,_0x277848);}return _0x56437a[_0x30390e(0x166,-_0x1a12bd._0x2176df,0x111,_0x1a12bd._0x2dbb49)]?Buffer['concat']([Buffer['from']([0xef,0xbb,0xbf]),_0x2815dd]):_0x2815dd;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x41a299){const _0x392c70={_0xbe1c8e:0x2c9},_0x2f3feb={_0x28c7a3:0x7};function _0x12596f(_0x283e7b,_0x9df6bb,_0x90d956,_0x1a3da6){return _0x16ac01(_0x283e7b-_0x2f3feb._0x28c7a3,_0x283e7b-0x11b,_0x90d956-0x1b9,_0x90d956);}return textEncoder[_0x12596f(0x3ad,0x575,0x5b4,_0x392c70._0xbe1c8e)](_0x41a299)['length'];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x5885dd(0x69f,0x571,0x4f8,0x52b),'properties':{'operation':{'type':_0x16ac01(0x315,0x257,0x146,0x1d4),'enum':['replace']},'startLine':{'type':'number'},'endLine':{'type':'number'},'content':{'type':'string'}},'required':[_0x5885dd(0x318,0x459,0x570,0x4f6),_0x16ac01(0x36d,0x1bd,0x386,0x1a6),_0x16ac01(0x32c,0x242,0x449,0x3dc),_0x16ac01(-0x51,0x83,-0x8,0x1a1)],'additionalProperties':![]},deleteOperationSchema={'type':'object','properties':{'operation':{'type':'string','enum':[_0x16ac01(-0xff,-0x5d,0xc0,-0x14f)]},'startLine':{'type':_0x16ac01(0x221,0x71,-0xbf,-0x38)},'endLine':{'type':_0x5885dd(0x32e,0x2e8,0x12c,0x300)}},'required':[_0x5885dd(0x2f1,0x411,0x662,0x4f6),_0x5885dd(0x62c,0x39e,0x416,0x44c),_0x5885dd(0x316,0x312,0x389,0x4d1)],'additionalProperties':![]},insertOperationSchema={'type':_0x16ac01(0x308,0x29c,0x2d5,0x1d5),'properties':{'operation':{'type':_0x16ac01(0x296,0x257,0x392,0x46b),'enum':['insert']},'position':{'type':_0x5885dd(0x47e,0x63c,0x629,0x4e6),'enum':['before','after']},'line':{'type':_0x5885dd(0x396,0x495,0x4a2,0x300)},'content':{'type':_0x5885dd(0x62f,0x68a,0x673,0x4e6)}},'required':[_0x5885dd(0x306,0x672,0x532,0x4f6),'position',_0x16ac01(-0x176,0x65,0xd9,0x122),_0x16ac01(-0x111,0x83,-0x17a,0x220)],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x16ac01(0x2a2,0x29c,0x258,0xb0),'properties':{'filePath':{'type':_0x16ac01(0x339,0x257,0x278,0x299)},'tag':{'type':_0x16ac01(0xfe,0x257,0x1e3,0x183)},'description':{'type':'string'},'operations':{'type':_0x16ac01(0x168,0x4e,0x25d,-0x6),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x5885dd(0x627,0x45b,0x564,0x429)}},'required':['filePath','tag','operations'],'additionalProperties':![]};function requireValidLineNumber(_0x49e884,_0x14d435){const _0xa257d2={_0x31e674:0x506},_0x50e4f2={_0x3119ca:0x8e,_0x25a0a7:0x1da,_0x3c773f:0x2a2};function _0xbb599f(_0x276084,_0x1a2131,_0xf25cbc,_0x2b8db1){return _0x5885dd(_0x276084-_0x50e4f2._0x3119ca,_0x276084,_0xf25cbc-_0x50e4f2._0x25a0a7,_0xf25cbc-_0x50e4f2._0x3c773f);}if(!Number[_0xbb599f(0x31d,_0xa257d2._0x31e674,0x4b2,0x3ab)](_0x49e884)||_0x49e884<0x1)throw createAnchoredFileError('invalid_patch',_0x14d435+'\x20must\x20be\x20a\x20positive\x20safe\x20integer;\x20got\x20'+String(_0x49e884)+'.');}function parseStructuredFileEditInput(_0x3ee4fe){const _0xf10242={_0x30a426:0x73,_0x32ea2b:0x295,_0x3eec3a:0x436,_0x2683e7:0x5a1,_0x3987e3:0xf4,_0x396e91:0x148,_0x2045c:0x64,_0x40e745:0xc1,_0x391cc3:0x4a,_0x49aafe:0x13a,_0xe7a4a8:0x1fd,_0x39d38c:0x57c,_0x34fcc2:0x591,_0x37b88a:0x624,_0x36c1d0:0x242,_0x25a564:0x49d,_0x328927:0x367,_0x6815ac:0xaf,_0x3c0bbc:0x1b2,_0x379a54:0x4d1,_0x52257f:0x5ac,_0x517d7f:0x29a,_0x18db48:0x7,_0x4617d5:0x8f,_0x4921bf:0x4f2,_0x26d3bf:0x3e4,_0x10ce2e:0x54c,_0x24990f:0x869,_0x27ab10:0x4f5,_0x246292:0x5e8,_0xcb12c9:0x482,_0x156644:0x46e,_0x5c415b:0x303,_0x3861ac:0x34b,_0x204ece:0x6a4,_0x2c7c4d:0x7b6,_0x216769:0x5fa,_0x4259b6:0x5fd,_0x1a00c6:0x74a,_0x4e3547:0x787,_0x23dd21:0x4d8,_0x2c7268:0x557,_0x550344:0xc,_0x37bf67:0x37a,_0x4d8bee:0x1fd,_0x17a72f:0x436,_0x327c5f:0x3e0,_0x230546:0x65f,_0x37149f:0x3ba,_0x4cb47f:0x443,_0x4e8b6:0x329,_0x204ff6:0x3f4,_0x53f93d:0x300,_0x4adcda:0x339,_0x55a654:0x1aa,_0x53275b:0x6dd,_0x43ed64:0x67d,_0x1f0750:0x651,_0xd96a8:0x7ee,_0x425dc0:0x6f6,_0x7836d2:0x5b0,_0x1037ec:0x79a,_0x45dedb:0x18b,_0x2ccc79:0x23,_0x55265e:0x8,_0x1bc3b4:0x146,_0x1605bc:0x88,_0x1ef43c:0x167,_0x3beda4:0x15,_0x41eaba:0x86b,_0x149967:0x2a5,_0x12f759:0xe0,_0x302962:0x314,_0x5a2aae:0x430,_0x155bef:0x227,_0x3b3287:0x125,_0x1d6e7d:0x651,_0x5c6424:0x709,_0x2157d6:0x492,_0xfac9cc:0x484,_0x569354:0x34,_0x517679:0xf5,_0x4c09ec:0xb7,_0x15b463:0x1c0,_0x1d3a5c:0x28,_0x499ba2:0x96,_0x533b74:0x125,_0x35dc95:0x2f,_0x4ff45a:0x1fd,_0x1dd9a9:0x1c1,_0x2cda52:0x44,_0x1b5d03:0x8d,_0x550ee2:0x39e,_0x5e506e:0x9b,_0x61a6c6:0x1f6,_0x21f497:0x474,_0x1b7a3c:0x2d2,_0x5286fa:0x21c,_0x4ba5a3:0x8a,_0x563857:0x15,_0x8f8071:0x718,_0x2bb8e9:0x6c2,_0x5e2e30:0x1c4,_0x51116c:0x62,_0xc5b671:0xbd,_0x512ae7:0x16e,_0x11434a:0x121,_0x23f6f5:0x576,_0x470c9d:0x523,_0x17f72b:0x6ac,_0x56f57d:0xfa,_0x2e501e:0x474,_0x4e64c1:0xfa,_0x34cbc7:0x2bd,_0xdfbf01:0x26,_0x22b20a:0x457,_0x968a97:0x457,_0xc6acae:0x5e9},_0x56cb6f={_0x509082:0x98,_0x5088a2:0x3e},_0x1d5b7e={_0x47aee7:0x40f},_0x45b780=_0x3ee4fe;if(_0x45b780!==null&&typeof _0x45b780==='object'&&!Array[_0x515586(_0xf10242._0x30a426,0x9,-_0xf10242._0x32ea2b,-0x101)](_0x45b780)&&Array['isArray'](_0x45b780[_0x556d30(_0xf10242._0x3eec3a,0x60e,_0xf10242._0x2683e7,0x310)])&&_0x45b780['operations'][_0x515586(_0xf10242._0x3987e3,-0xfa,_0xf10242._0x396e91,_0xf10242._0x2045c)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x515586(_0xf10242._0x40e745,_0xf10242._0x391cc3,_0xf10242._0x49aafe,_0xf10242._0xe7a4a8),_0x556d30(_0xf10242._0x39d38c,0x6fd,_0xf10242._0x34fcc2,_0xf10242._0x37b88a)+MAX_ANCHORED_OPERATIONS+_0x515586(0x16e,_0xf10242._0x36c1d0,0x209,0x223));let _0x20f4f9;try{_0x20f4f9=validateToolInput(_0x3ee4fe,structuredFileEditInputSchema);}catch(_0x3e550c){const _0x4eeab8=_0x3e550c instanceof Error?_0x3e550c[_0x556d30(_0xf10242._0x25a564,_0xf10242._0x328927,0x392,0x451)]:String(_0x3e550c);throw createAnchoredFileError(_0x515586(0xf7,_0xf10242._0x6815ac,_0xf10242._0x3c0bbc,_0xf10242._0xe7a4a8),_0x556d30(0x6be,_0xf10242._0x379a54,0x4ef,_0xf10242._0x52257f)+_0x4eeab8);}if(!TAG_PATTERN[_0x515586(_0xf10242._0x517d7f,-_0xf10242._0x18db48,-_0xf10242._0x4617d5,0x110)](_0x20f4f9[_0x556d30(0x5e8,_0xf10242._0x4921bf,_0xf10242._0x26d3bf,_0xf10242._0x10ce2e)]))throw createAnchoredFileError(_0x556d30(0x6a4,0x67c,_0xf10242._0x24990f,_0xf10242._0x27ab10),'tag\x20must\x20be\x20exactly\x2012\x20uppercase\x20hex\x20characters;\x20got\x20\x27'+_0x20f4f9[_0x556d30(_0xf10242._0x246292,_0xf10242._0xcb12c9,0x54d,0x45f)]+'\x27.');if(_0x20f4f9[_0x556d30(_0xf10242._0x3eec3a,_0xf10242._0x156644,_0xf10242._0x5c415b,_0xf10242._0x3861ac)]['length']===0x0)throw createAnchoredFileError(_0x556d30(_0xf10242._0x204ece,_0xf10242._0x2c7c4d,0x880,_0xf10242._0x216769),_0x556d30(_0xf10242._0x4259b6,_0xf10242._0x1a00c6,_0xf10242._0x4e3547,0x57e));if(_0x20f4f9[_0x556d30(0x436,_0xf10242._0x23dd21,0x3df,_0xf10242._0x2c7268)]['length']>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x515586(_0xf10242._0x550344,_0xf10242._0x37bf67,0x3b3,_0xf10242._0x4d8bee),'At\x20most\x20'+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x639a1e=0x0;function _0x556d30(_0x4e3f2d,_0x51c768,_0x26c81c,_0xfa617a){return _0x16ac01(_0x4e3f2d-0x125,_0x4e3f2d-_0x1d5b7e._0x47aee7,_0x26c81c-0x5f,_0x51c768);}const _0x5c0ce8=[];for(const _0x20a9d4 of _0x20f4f9[_0x556d30(_0xf10242._0x17a72f,_0xf10242._0x327c5f,0x39b,0x561)]){switch(_0x20a9d4[_0x556d30(0x676,_0xf10242._0x230546,0x650,0x530)]){case _0x515586(_0xf10242._0x37149f,_0xf10242._0x4cb47f,_0xf10242._0x4e8b6,0x242):{requireValidLineNumber(_0x20a9d4['startLine'],_0x556d30(_0xf10242._0x204ff6,0x3f9,_0xf10242._0x53f93d,0x435)),requireValidLineNumber(_0x20a9d4[_0x515586(0x2b2,_0xf10242._0x4adcda,0x131,_0xf10242._0x55a654)],_0x556d30(_0xf10242._0x53275b,0x601,_0xf10242._0x43ed64,0x783));if(_0x20a9d4['startLine']>_0x20a9d4[_0x556d30(_0xf10242._0x1f0750,0x847,_0xf10242._0xd96a8,_0xf10242._0x425dc0)])throw createAnchoredFileError(_0x556d30(0x6a4,_0xf10242._0x7836d2,_0xf10242._0x1037ec,0x4bd),_0x515586(_0xf10242._0x45dedb,_0xf10242._0x2ccc79,-0x41,-_0xf10242._0x55265e));_0x639a1e+=utf8Bytes(_0x20a9d4[_0x515586(_0xf10242._0x1bc3b4,-_0xf10242._0x1605bc,_0xf10242._0x1ef43c,-_0xf10242._0x3beda4)]);if(_0x639a1e>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x556d30(0x6a4,_0xf10242._0x41eaba,0x581,0x7e2),'Total\x20authored\x20replacement\x20content\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+_0x515586(0xe7,_0xf10242._0x149967,-0x149,0xca));_0x5c0ce8[_0x515586(-_0xf10242._0x12f759,0xde,0x5e,-0x121)]({'operation':_0x515586(_0xf10242._0x302962,_0xf10242._0x5a2aae,_0xf10242._0x155bef,_0xf10242._0x36c1d0),'startLine':_0x20a9d4[_0x515586(0x1b1,0xa,0x23a,_0xf10242._0x3b3287)],'endLine':_0x20a9d4[_0x556d30(_0xf10242._0x1d6e7d,_0xf10242._0x5c6424,0x582,0x658)],'content':_0x20a9d4[_0x556d30(_0xf10242._0x2157d6,0x48c,_0xf10242._0xfac9cc,0x48b)]});break;}case _0x515586(-0xca,-_0xf10242._0x569354,0xdd,-_0xf10242._0x517679):{requireValidLineNumber(_0x20a9d4[_0x515586(0x1ab,_0xf10242._0x6815ac,0x2,0x125)],_0x515586(0x1d6,0x111,-0x2f,_0xf10242._0x4c09ec)),requireValidLineNumber(_0x20a9d4['endLine'],_0x515586(-0x1f0,-_0xf10242._0x15b463,_0xf10242._0x1d3a5c,-_0xf10242._0x499ba2));if(_0x20a9d4[_0x515586(0x1e0,0x63,0xc4,_0xf10242._0x533b74)]>_0x20a9d4['endLine'])throw createAnchoredFileError(_0x515586(0x4c,0x334,_0xf10242._0x35dc95,_0xf10242._0x4ff45a),'delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x5c0ce8['push']({'operation':_0x515586(-_0xf10242._0x1dd9a9,-0x1d4,_0xf10242._0x2cda52,-0xf5),'startLine':_0x20a9d4[_0x515586(-0xa5,-_0xf10242._0x1b5d03,0x129,_0xf10242._0x533b74)],'endLine':_0x20a9d4[_0x515586(_0xf10242._0x550ee2,_0xf10242._0x5e506e,_0xf10242._0x61a6c6,0x1aa)]});break;}case'insert':{requireValidLineNumber(_0x20a9d4[_0x556d30(_0xf10242._0x21f497,0x26a,0x444,_0xf10242._0x1b7a3c)],'insert.line'),_0x639a1e+=utf8Bytes(_0x20a9d4[_0x515586(0x1da,-_0xf10242._0x5286fa,-_0xf10242._0x4ba5a3,-_0xf10242._0x563857)]);if(_0x639a1e>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x556d30(0x647,_0xf10242._0x8f8071,_0xf10242._0x2bb8e9,0x511)+MAX_ANCHORED_CONTENT_BYTES+_0x515586(_0xf10242._0x5e2e30,_0xf10242._0x51116c,_0xf10242._0xc5b671,0xca));_0x5c0ce8[_0x515586(-0x9c,-_0xf10242._0x512ae7,-0x144,-_0xf10242._0x11434a)]({'operation':_0x556d30(_0xf10242._0x23f6f5,_0xf10242._0x470c9d,_0xf10242._0x17f72b,0x518),'position':_0x20a9d4[_0x515586(0x1a6,-0x92,-0xbe,_0xf10242._0x56f57d)],'line':_0x20a9d4[_0x556d30(_0xf10242._0x2e501e,0x385,0x5f0,0x65d)],'content':_0x20a9d4[_0x515586(-0x119,-0x19e,0x118,-0x15)]});break;}}}function _0x515586(_0x2c002a,_0x488305,_0x8cbe70,_0x313ab1){return _0x16ac01(_0x2c002a-0x6,_0x313ab1- -_0x56cb6f._0x509082,_0x8cbe70-_0x56cb6f._0x5088a2,_0x8cbe70);}return{'filePath':_0x20f4f9['filePath'],'tag':_0x20f4f9['tag'],'operations':_0x5c0ce8,'dryRun':_0x20f4f9[_0x515586(-_0xf10242._0x4e64c1,-_0xf10242._0x34cbc7,_0xf10242._0xdfbf01,-0x192)]??![],..._0x20f4f9[_0x556d30(_0xf10242._0x22b20a,0x2e0,0x510,0x426)]!==void 0x0?{'description':_0x20f4f9[_0x556d30(_0xf10242._0x968a97,0x558,0x272,_0xf10242._0xc6acae)]}:{}};}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(_0x148044){const _0x4ab810={_0xada634:0x7c5,_0x57e0d8:0x4cd,_0x2af2f2:0x61d,_0x3553c7:0x53a},_0x464031={_0x42ed7b:0x335,_0x2d4831:0x16c},_0x5eb093={_0x367b20:0x7b,_0x524141:0x16};function _0x243346(_0x2d112a,_0x47a417,_0x3abf91,_0xb51ab2){return _0x16ac01(_0x2d112a-_0x5eb093._0x367b20,_0x47a417-0x533,_0x3abf91-_0x5eb093._0x524141,_0x3abf91);}function _0x2bdffe(_0x35d6be,_0x23e489,_0x3a9073,_0x135175){return _0x16ac01(_0x35d6be-0x65,_0x35d6be-_0x464031._0x42ed7b,_0x3a9073-_0x464031._0x2d4831,_0x23e489);}return textEncoder2[_0x243346(0x968,_0x4ab810._0xada634,0x90a,0x9d0)](_0x148044)[_0x243346(_0x4ab810._0x57e0d8,0x62f,_0x4ab810._0x2af2f2,_0x4ab810._0x3553c7)];}function preview(_0x34434e){const _0x36d48e={_0x94f8ff:0x664,_0x4495e5:0x6cc,_0xdfbc94:0x62d,_0xe40662:0x188,_0x56d528:0x309,_0x2c1be:0x24c},_0x1ec0ff={_0x27ed5b:0x2d},_0x3b8c8c={_0x1b4050:0x82,_0x1111a8:0x127,_0x57e103:0x40};function _0x5a3782(_0x54413d,_0x59d795,_0x4bc869,_0xc97c1d){return _0x5885dd(_0x54413d-_0x3b8c8c._0x1b4050,_0xc97c1d,_0x4bc869-_0x3b8c8c._0x1111a8,_0x4bc869-_0x3b8c8c._0x57e103);}function _0x563ecb(_0x473ede,_0x2f154d,_0xaf6f95,_0x1319c1){return _0x16ac01(_0x473ede-0x1c5,_0x1319c1-0x5d0,_0xaf6f95-_0x1ec0ff._0x27ed5b,_0x473ede);}return _0x34434e[_0x563ecb(_0x36d48e._0x94f8ff,0x861,0x4e4,_0x36d48e._0x4495e5)]>0x3c?_0x34434e[_0x563ecb(0x420,_0x36d48e._0xdfbc94,0x677,0x4d2)](0x0,0x3c)+_0x5a3782(_0x36d48e._0xe40662,_0x36d48e._0x56d528,_0x36d48e._0x2c1be,0x129):_0x34434e;}var hashlineFileEditInputSchema={'type':_0x5885dd(0x5c9,0x56a,0x6b4,0x52b),'properties':{'patch':{'type':_0x16ac01(0x97,0x257,0x76,0x449)},'description':{'type':_0x16ac01(0x406,0x257,0x360,0x450)},'dryRun':{'type':_0x16ac01(0x352,0x19a,-0x68,-0x43)}},'required':['patch'],'additionalProperties':![]};function requireLineNumber(_0xe5b3bd,_0x1014b4){const _0x26ce2f={_0x2bf21a:0x1ff,_0x38be2b:0x335,_0x59e375:0x381,_0x8c6e1f:0x416,_0x127631:0x256,_0x17facd:0x1ad,_0x7b7c73:0xbb,_0x4b99b4:0x19e,_0x39cdd8:0x13d,_0x417379:0x1ab},_0x8f0dd6={_0x270dd7:0x179,_0x5e64d0:0x6a};function _0xe6e569(_0x2896cb,_0x3da457,_0xba9280,_0x55c41e){return _0x16ac01(_0x2896cb-_0x8f0dd6._0x270dd7,_0x55c41e- -0x11f,_0xba9280-_0x8f0dd6._0x5e64d0,_0xba9280);}function _0x39601e(_0x3393b0,_0x3c9630,_0x10e3b5,_0x22c10c){return _0x16ac01(_0x3393b0-0x101,_0x3c9630-0x2dc,_0x10e3b5-0x123,_0x10e3b5);}if(_0xe5b3bd[_0x39601e(_0x26ce2f._0x2bf21a,0x3d8,_0x26ce2f._0x38be2b,0x58b)]>0x10)throw createAnchoredFileError(_0x39601e(0x527,0x571,0x372,_0x26ce2f._0x59e375),_0x1014b4+_0x39601e(_0x26ce2f._0x8c6e1f,_0x26ce2f._0x127631,_0x26ce2f._0x17facd,0x1a5));const _0x597a92=Number(_0xe5b3bd);if(!Number[_0xe6e569(-0x15b,-_0x26ce2f._0x7b7c73,-0x210,-_0x26ce2f._0x4b99b4)](_0x597a92)||_0x597a92<0x1)throw createAnchoredFileError('invalid_patch',_0x1014b4+_0xe6e569(0x1ef,0x93,_0x26ce2f._0x39cdd8,_0x26ce2f._0x417379)+_0xe5b3bd+'.');return _0x597a92;}function parseHashlineFileEditInput(_0x272890){const _0xaf576d={_0xa5412a:0x478,_0x33c5db:0x422,_0x4e8604:0x3d0,_0x329780:0x22d,_0xbd4117:0x337,_0x1d6156:0x242,_0x7f01d9:0x138,_0xd3ea7c:0x36b,_0x5c4529:0x2c,_0x30a736:0x7e,_0x525274:0x105,_0x137f1a:0x140,_0x6d6c65:0x1fc,_0x5da393:0x74,_0x21e0da:0x242,_0x26ada9:0x42a,_0x532649:0x5ea,_0x4d5634:0x695,_0x80d577:0x43e,_0x3fa9cf:0x39b,_0x589856:0xfb,_0x2bc5c7:0x498,_0x11b21b:0xcf,_0x41d5e2:0x286,_0x295650:0x5e5,_0xcaa8cb:0x7de,_0x422151:0x61b,_0x3ce46b:0x4c8,_0x564121:0x30,_0x9dc91f:0x103,_0x14dbe2:0x155,_0x12bc6f:0x19f,_0x1b4ebf:0x3d,_0x3e59a9:0x2b8,_0x565246:0x499,_0x5ada9e:0x4a9,_0x5081bd:0x6ea,_0x2fe4d4:0x7e7,_0x47d9b7:0x72b,_0x5050a9:0x462,_0xa70901:0x444,_0x4d23d6:0x1e3,_0x10aed8:0x82,_0x3aa5b1:0x11,_0x2f6a82:0x22,_0x139410:0x41,_0xf68697:0xf0,_0xcc10c6:0xaa,_0x4750e4:0xa9,_0x17ae8c:0x347,_0x486211:0x111,_0x3931ff:0xb},_0xefa8a8={_0x458aae:0x407,_0x2216a4:0x3cf,_0x26c88c:0x2bd,_0x3cfbbc:0x25c,_0x581477:0x414,_0x3a4611:0x162,_0x135997:0x351},_0x205df4={_0x56d2ef:0x4e7,_0x500570:0x631,_0x3b1a3b:0x4d6,_0x563948:0x181,_0x1fb730:0x2d6,_0x5d6068:0x2ee,_0x5ec171:0x4,_0x344969:0xe0},_0x8e84c0={_0x40989c:0x1f3},_0x567d7a={_0x126205:0x35},_0x2156f4={_0x5b59dd:0x1dc,_0x481d0e:0x165,_0x33d3ff:0x2e2};let _0x39f7fa;try{_0x39f7fa=validateToolInput(_0x272890,hashlineFileEditInputSchema);}catch(_0x21c62b){const _0x57d3e5=_0x21c62b instanceof Error?_0x21c62b[_0x48a24c(_0xaf576d._0xa5412a,_0xaf576d._0x33c5db,_0xaf576d._0x4e8604,0x300)]:String(_0x21c62b);throw createAnchoredFileError(_0x39953e(0x36d,_0xaf576d._0x329780,0x17a,0x242),_0x48a24c(_0xaf576d._0xbd4117,_0xaf576d._0x1d6156,0x254,_0xaf576d._0x7f01d9)+_0x57d3e5);}const {patch:_0x1f334a}=_0x39f7fa;function _0x39953e(_0x1696ea,_0x2903f5,_0x163fc9,_0x27293a){return _0x5885dd(_0x1696ea-_0x2156f4._0x5b59dd,_0x2903f5,_0x163fc9-_0x2156f4._0x481d0e,_0x27293a- -_0x2156f4._0x33d3ff);}function _0x48a24c(_0x99f855,_0x4f0204,_0x65148e,_0x2dc723){return _0x16ac01(_0x99f855-_0x567d7a._0x126205,_0x65148e-0x342,_0x65148e-0x75,_0x99f855);}if(utf8Bytes2(_0x1f334a)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x39953e(0x248,0x31f,_0xaf576d._0xd3ea7c,0x242),_0x39953e(-_0xaf576d._0x5c4529,_0xaf576d._0x30a736,0x71,_0xaf576d._0x525274)+MAX_ANCHORED_CONTENT_BYTES+_0x39953e(-0x13,_0xaf576d._0x137f1a,_0xaf576d._0x6d6c65,0x10f));if(_0x1f334a['includes']('\x0d'))throw createAnchoredFileError(_0x39953e(0x66,0xee,_0xaf576d._0x5da393,_0xaf576d._0x21e0da),_0x48a24c(0x602,_0xaf576d._0x26ada9,_0xaf576d._0x532649,_0xaf576d._0x4d5634));const _0x23e2dc=_0x1f334a['split']('\x0a'),_0xd2fb29=[],_0xb55d5c=_0xccd0f4=>{function _0x39e070(_0x5e7fb0,_0x343288,_0x52e560,_0x233425){return _0x48a24c(_0x343288,_0x343288-0x1dc,_0x233425-_0x8e84c0._0x40989c,_0x233425-0x176);}function _0x3dbb5c(_0xa73193,_0x5820a4,_0xea0052,_0x5d64d8){return _0x48a24c(_0xa73193,_0x5820a4-0x1d2,_0xea0052- -0x1d9,_0x5d64d8-0x2c);}if(_0xd2fb29[_0x39e070(0x80c,0x66e,_0x205df4._0x56d2ef,_0x205df4._0x500570)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError('invalid_patch',_0x3dbb5c(_0x205df4._0x3b1a3b,_0x205df4._0x563948,_0x205df4._0x1fb730,_0x205df4._0x5d6068)+MAX_ANCHORED_OPERATIONS+_0x39e070(0x89b,0x655,0x5e3,0x732));_0xd2fb29[_0x3dbb5c(0x1e1,_0x205df4._0x5ec171,_0x205df4._0x344969,0x1fd)](_0xccd0f4);};let _0x204939,_0x36ad0a,_0x3b3071=![],_0x2c3a17=![],_0x33e5e1,_0x41bc06,_0x43b806=0x0,_0x41ee7=0x0,_0x883d3a=[];const _0x391921=()=>{const _0x4efae1={_0x4632a4:0xa,_0x575711:0x18d},_0x3b65d4={_0xb207c0:0x304};if(!_0x2c3a17)return;if(_0x883d3a['length']===0x0)throw createAnchoredFileError(_0x8b29e7(0x1f8,_0xefa8a8._0x458aae,0x5e3,_0xefa8a8._0x2216a4),'PUT\x20requires\x20at\x20least\x20one\x20payload\x20row.');const _0x22d1b7=_0x883d3a['join']('\x0a');_0x33e5e1===_0x8b29e7(_0xefa8a8._0x26c88c,0x44c,_0xefa8a8._0x3cfbbc,_0xefa8a8._0x581477)?_0xb55d5c({'operation':'replace','startLine':_0x43b806,'endLine':_0x41ee7,'content':_0x22d1b7}):_0xb55d5c({'operation':_0x8b29e7(0x1e0,_0xefa8a8._0x3a4611,_0xefa8a8._0x135997,0x2a1),'position':_0x41bc06,'line':_0x43b806,'content':_0x22d1b7});function _0x17c6a5(_0xf0a3a1,_0x558b6c,_0x32fd95,_0x40b688){return _0x39953e(_0xf0a3a1-0x19e,_0x558b6c,_0x32fd95-0x1e5,_0xf0a3a1-_0x3b65d4._0xb207c0);}_0x2c3a17=![];function _0x8b29e7(_0x165f5e,_0x128d17,_0x295760,_0x3ca9d4){return _0x39953e(_0x165f5e-_0x4efae1._0x4632a4,_0x128d17,_0x295760-0x1a2,_0x3ca9d4-_0x4efae1._0x575711);}_0x883d3a=[];};for(const _0x225d89 of _0x23e2dc){if(_0x225d89[_0x48a24c(0x5f9,0x37d,_0xaf576d._0x80d577,_0xaf576d._0x3fa9cf)]===0x0)continue;if(_0x2c3a17&&_0x225d89['startsWith']('+')){_0x883d3a[_0x48a24c(_0xaf576d._0x589856,0xa8,0x2b9,_0xaf576d._0x2bc5c7)](_0x225d89['slice'](0x1));continue;}_0x391921();if(!_0x3b3071){const _0x318676=HEADER[_0x39953e(_0xaf576d._0x11b21b,0x31d,0x20b,_0xaf576d._0x41d5e2)](_0x225d89);if(_0x318676===null)throw createAnchoredFileError('invalid_patch',_0x48a24c(0x45f,0x7db,_0xaf576d._0x295650,0x6db));_0x204939=_0x318676[0x1],_0x36ad0a=_0x318676[0x2],_0x3b3071=!![];continue;}const _0xdb5af1=REPLACE[_0x48a24c(0x43f,_0xaf576d._0xcaa8cb,_0xaf576d._0x422151,_0xaf576d._0x3ce46b)](_0x225d89);if(_0xdb5af1!==null){const _0xeea326=requireLineNumber(_0xdb5af1[0x1],'replace\x20startLine'),_0x176856=requireLineNumber(_0xdb5af1[0x2],_0x39953e(0xbf,-_0xaf576d._0x564121,-0x2c8,-_0xaf576d._0x9dc91f));if(_0xeea326>_0x176856)throw createAnchoredFileError(_0x39953e(_0xaf576d._0x14dbe2,0x437,0x14d,0x242),_0x39953e(0x33,0x33,_0xaf576d._0x12bc6f,_0xaf576d._0x1b4ebf));_0x2c3a17=!![],_0x33e5e1=_0x39953e(0x3ae,0x284,0x92,0x287),_0x43b806=_0xeea326,_0x41ee7=_0x176856,_0x883d3a=[];continue;}const _0x393eb6=INSERT['exec'](_0x225d89);if(_0x393eb6!==null){const _0x83ec77=requireLineNumber(_0x393eb6[0x2],_0x48a24c(0x138,0x4c8,_0xaf576d._0x3e59a9,0x1ea));_0x2c3a17=!![],_0x33e5e1=_0x48a24c(_0xaf576d._0x565246,0x462,_0xaf576d._0x5ada9e,0x512),_0x41bc06=_0x393eb6[0x1]==='<'?_0x48a24c(_0xaf576d._0x5081bd,0x5bd,0x5fb,_0xaf576d._0x2fe4d4):'after',_0x43b806=_0x83ec77,_0x883d3a=[];continue;}const _0x5660a3=DELETE[_0x48a24c(_0xaf576d._0x47d9b7,0x6a3,_0xaf576d._0x422151,0x4fd)](_0x225d89);if(_0x5660a3!==null){const _0x48c9bd=requireLineNumber(_0x5660a3[0x1],'delete\x20startLine'),_0x56480e=requireLineNumber(_0x5660a3[0x2],_0x48a24c(_0xaf576d._0x5050a9,0x574,0x5ff,0x480));if(_0x48c9bd>_0x56480e)throw createAnchoredFileError(_0x39953e(0xed,0x3db,_0xaf576d._0xa70901,_0xaf576d._0x21e0da),_0x39953e(-_0xaf576d._0x4d23d6,-0x119,0x191,-_0xaf576d._0x10aed8));_0xb55d5c({'operation':_0x39953e(-_0xaf576d._0x3aa5b1,-0xb6,-0x26,-0xb0),'startLine':_0x48c9bd,'endLine':_0x56480e});continue;}throw createAnchoredFileError('invalid_patch',_0x39953e(-_0xaf576d._0x2f6a82,0x1d,_0xaf576d._0x139410,_0xaf576d._0xf68697)+preview(_0x225d89));}_0x391921();if(!_0x3b3071)throw createAnchoredFileError('invalid_patch','Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0xd2fb29[_0x39953e(0x297,-_0xaf576d._0xcc10c6,0x222,_0xaf576d._0x4750e4)]===0x0)throw createAnchoredFileError('invalid_patch','Patch\x20contains\x20no\x20operations.');return{'filePath':_0x204939,'tag':_0x36ad0a,'operations':_0xd2fb29,'dryRun':_0x39f7fa[_0x48a24c(0x3be,0xc3,0x248,_0xaf576d._0x17ae8c)]??![],..._0x39f7fa[_0x39953e(-0x46,-0x208,-_0xaf576d._0x486211,-_0xaf576d._0x3931ff)]!==void 0x0?{'description':_0x39f7fa['description']}:{}};}import{realpath,stat}from'fs/promises';import*as _0x40b17e from'path';function isPathInside(_0x30d155,_0x1c23df){const _0x43a51f={_0x375df4:0x29c,_0x585e73:0xc8},_0x1e476c={_0x31a903:0x1d,_0x219c4e:0x100},_0x4efec1={_0x294f47:0x1d5,_0x3c0144:0x4f4,_0x3893c5:0x132};function _0x361ce9(_0x46ade8,_0x18e823,_0x305d17,_0x56b5ad){return _0x16ac01(_0x46ade8-_0x4efec1._0x294f47,_0x46ade8-_0x4efec1._0x3c0144,_0x305d17-_0x4efec1._0x3893c5,_0x305d17);}function _0x4f6d48(_0x22abb3,_0xe10c33,_0x1d8164,_0x3fe101){return _0x5885dd(_0x22abb3-0x12c,_0x22abb3,_0x1d8164-_0x1e476c._0x31a903,_0x1d8164- -_0x1e476c._0x219c4e);}const _0x3542b0=_0x40b17e[_0x4f6d48(0x530,0x560,0x3fa,_0x43a51f._0x375df4)](_0x30d155),_0x226b39=_0x40b17e['relative'](_0x3542b0,_0x1c23df);return _0x226b39===''||!_0x226b39[_0x4f6d48(0x279,0x9,_0x43a51f._0x585e73,-0x60)]('..')&&!_0x40b17e[_0x361ce9(0x6e1,0x75b,0x84e,0x682)](_0x226b39);}function resolveWorkspacePath(_0x428117,_0x20868f){return resolveAllowedPath(_0x428117,[],_0x20868f);}function resolveAllowedPath(_0x3c458d,_0x240c5f,_0x20c0dc){const _0x356569={_0x52200d:0x434,_0x458cc5:0x3a2,_0x4634a7:0x4e0,_0x8f7fb8:0x4ee,_0x30d046:0x6c6,_0x2d79e0:0x1b1,_0x327bdf:0x82,_0x2f644c:0x1a3,_0x2f9239:0x134,_0x51a77c:0x4b5,_0x5f188f:0x301,_0x5ce5a1:0x3c7,_0x47f0e4:0x1eb},_0x15d7e7={_0x540a85:0xd5,_0x276fb4:0x86},_0x2f2c68={_0x47007c:0x1a2,_0x17d89b:0x2ec},_0x92d072=_0x40b17e[_0x516415(_0x356569._0x52200d,0x5e7,_0x356569._0x458cc5,_0x356569._0x4634a7)](_0x3c458d),_0x433fc7=_0x40b17e[_0x516415(_0x356569._0x8f7fb8,0x2dc,_0x356569._0x30d046,_0x356569._0x4634a7)](_0x92d072,_0x20c0dc),_0x56defc=[_0x92d072,..._0x240c5f[_0x516415(_0x356569._0x2d79e0,_0x356569._0x327bdf,_0x356569._0x2f644c,_0x356569._0x2f9239)](_0x12ae62=>_0x40b17e[_0x31df59(0x2a8,0x1ce,0x33b,0x20e)](_0x12ae62))];function _0x31df59(_0x2b54f1,_0x6b7797,_0x1c9612,_0x523d53){return _0x5885dd(_0x2b54f1-_0x2f2c68._0x47007c,_0x6b7797,_0x1c9612-0x165,_0x523d53- -_0x2f2c68._0x17d89b);}if(_0x56defc[_0x516415(_0x356569._0x51a77c,_0x356569._0x5f188f,0x208,_0x356569._0x5ce5a1)](_0x5ac465=>isPathInside(_0x5ac465,_0x433fc7)))return _0x433fc7;function _0x516415(_0x35a386,_0x4fc6c2,_0x39ec1a,_0x2c5464){return _0x16ac01(_0x35a386-_0x15d7e7._0x540a85,_0x2c5464-0x275,_0x39ec1a-_0x15d7e7._0x276fb4,_0x4fc6c2);}throw new ToolExecutionError(_0x516415(0x3ef,0x85,_0x356569._0x47f0e4,0x282)+_0x20c0dc,{'path':_0x20c0dc,'rootDir':_0x92d072,'allowedDirs':_0x56defc});}async function resolveCanonicalAllowedFile(_0x246a96,_0x8b9992,_0x4f895a){const _0x1dbc46={_0x48f1df:0x24c,_0x1be268:0x443,_0x56f54f:0x324,_0x2bf28d:0x62e,_0x56a9b7:0x3e5,_0x5116b1:0x385,_0x5ee923:0x395,_0x3e03ae:0x3eb,_0x635667:0x51e,_0x52263a:0x383,_0x296bfb:0x270,_0x51e519:0x268},_0x37cb94={_0x1d1e05:0x182,_0x50db7a:0x388},_0x233d80=resolveAllowedPath(_0x246a96,_0x8b9992,_0x4f895a),_0x25c946=await realpath(_0x233d80),_0x30fab8=[];for(const _0x391a20 of[_0x246a96,..._0x8b9992]){try{_0x30fab8[_0x34b16d(_0x1dbc46._0x48f1df,0x4cc,_0x1dbc46._0x1be268,_0x1dbc46._0x56f54f)](await realpath(_0x391a20));}catch{}}if(!_0x30fab8[_0x573385(0x4da,_0x1dbc46._0x2bf28d,_0x1dbc46._0x56a9b7,_0x1dbc46._0x5116b1)](_0x3b0257=>isPathInside(_0x3b0257,_0x25c946)))throw new ToolExecutionError(_0x573385(_0x1dbc46._0x5ee923,0x36c,_0x1dbc46._0x3e03ae,_0x1dbc46._0x635667)+_0x4f895a,{'path':_0x4f895a,'lexicalPath':_0x233d80,'canonicalPath':_0x25c946,'allowedDirs':_0x30fab8});const _0x2d63cf=await stat(_0x25c946);function _0x34b16d(_0x300032,_0x78efc5,_0x5907d,_0x50f834){return _0x5885dd(_0x300032-0x9b,_0x78efc5,_0x5907d-0xec,_0x50f834-0x11e);}function _0x573385(_0x3c3aa0,_0x232dbf,_0x6683bd,_0x5644ae){return _0x16ac01(_0x3c3aa0-_0x37cb94._0x1d1e05,_0x3c3aa0-_0x37cb94._0x50db7a,_0x6683bd-0x18a,_0x6683bd);}if(!_0x2d63cf[_0x573385(0x48e,0x29e,0x3a5,0x603)]())throw new ToolExecutionError(_0x573385(_0x1dbc46._0x52263a,_0x1dbc46._0x296bfb,0x33d,_0x1dbc46._0x51e519)+_0x4f895a,{'path':_0x4f895a,'lexicalPath':_0x233d80,'canonicalPath':_0x25c946});return{'authoredPath':_0x4f895a,'lexicalPath':_0x233d80,'canonicalPath':_0x25c946};}async function assertWorkspaceFile(_0xaa9337){const _0x5d5384={_0x3c12e9:0x3b3};function _0x345e5f(_0x4d9b59,_0x42a246,_0x295306,_0x3282e0){return _0x16ac01(_0x4d9b59-0x181,_0x3282e0-0x1db,_0x295306-0x7e,_0x295306);}const _0x4a1309=await stat(_0xaa9337);if(!_0x4a1309['isFile']())throw new ToolExecutionError(_0x345e5f(0x62,_0x5d5384._0x3c12e9,0x2ce,0x1d6)+_0xaa9337,{'path':_0xaa9337});}function isProbablyBinary(_0x467aea){const _0x4ba90c={_0x362b4d:0x43c},_0x558059={_0x4a464d:0x29b};function _0x33a125(_0x8582be,_0x13c4ae,_0x8d422,_0x42b385){return _0x16ac01(_0x8582be-0x12c,_0x8d422-_0x558059._0x4a464d,_0x8d422-0xa,_0x13c4ae);}return _0x467aea[_0x33a125(_0x4ba90c._0x362b4d,0x566,0x4f0,0x454)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x49182c=>_0x2f0223(_0x49182c),'stat':_0x11e75e=>_0x817f6a(_0x11e75e),'atomicWrite':(_0x3a8bae,_0x44190b,_0x26b456)=>atomicReplaceFile(_0x3a8bae,_0x44190b,_0x26b456)};function parseAnchoredInput(_0x507e1b,_0x5239bf){const _0xddfe9b={_0x1f5e3c:0x2e0,_0x428680:0x44a,_0x366c1f:0x5ee},_0x2101ac={_0x24f279:0x5d,_0x2112a9:0x9c};function _0xb62329(_0x20e0d9,_0xcf7b53,_0x4425aa,_0x40a2e6){return _0x5885dd(_0x20e0d9-_0x2101ac._0x24f279,_0x40a2e6,_0x4425aa-_0x2101ac._0x2112a9,_0x4425aa-0x159);}if(_0x507e1b===_0xb62329(_0xddfe9b._0x1f5e3c,0x394,_0xddfe9b._0x428680,_0xddfe9b._0x366c1f))return parseHashlineFileEditInput(_0x5239bf);return parseStructuredFileEditInput(_0x5239bf);}function stableStringify2(_0x3dcf9a){const _0x5194a4={_0x12a631:0x6f,_0x5765f7:0xf3,_0x59c765:0x2c7,_0x290fdc:0x3a,_0x4ea98c:0x1c9,_0x16ee6e:0xd6,_0x3e650c:0x2cd,_0x27c56f:0x41,_0x11274c:0x185,_0x446366:0x2e4,_0x73a243:0x3fe,_0x4837f2:0x18a,_0x5ed1f8:0xd2,_0x3a2644:0x39,_0x2505ca:0x12f},_0x3c6938={_0x542a93:0xb5},_0x65e6d1={_0xd9406a:0x1d5,_0x1b9ac4:0x30b};if(Array[_0x1afedf(-0x13c,-0x2d4,_0x5194a4._0x12a631,-_0x5194a4._0x5765f7)](_0x3dcf9a))return'['+_0x3dcf9a[_0x1afedf(-0x214,-_0x5194a4._0x59c765,-0xae,-_0x5194a4._0x290fdc)](stableStringify2)['join'](',')+']';function _0x4bed62(_0x436aac,_0x38df2e,_0x38d769,_0x4ad68f){return _0x5885dd(_0x436aac-_0x65e6d1._0xd9406a,_0x436aac,_0x38d769-0x7f,_0x38df2e- -_0x65e6d1._0x1b9ac4);}function _0x1afedf(_0x262b64,_0x4be2f8,_0x4d6291,_0x46136f){return _0x5885dd(_0x262b64-0x1a5,_0x4be2f8,_0x4d6291-_0x3c6938._0x542a93,_0x262b64- -0x362);}if(_0x3dcf9a!==null&&typeof _0x3dcf9a===_0x1afedf(_0x5194a4._0x4ea98c,0x12d,_0x5194a4._0x16ee6e,_0x5194a4._0x3e650c)){const _0x570a34=_0x3dcf9a;return'{'+Object[_0x1afedf(0xf3,0x7f,_0x5194a4._0x27c56f,0xd)](_0x570a34)[_0x4bed62(-0x24d,-_0x5194a4._0x11274c,-_0x5194a4._0x446366,0x68)]()[_0x1afedf(-0x214,-0x27,-0x36e,-_0x5194a4._0x73a243)](_0x3ed47a=>JSON[_0x4bed62(0x22b,0x117,0xfc,-0x8d)](_0x3ed47a)+':'+stableStringify2(_0x570a34[_0x3ed47a]))[_0x4bed62(-0x8d,_0x5194a4._0x4837f2,0x20f,_0x5194a4._0x5ed1f8)](',')+'}';}return JSON[_0x1afedf(0xc0,-_0x5194a4._0x3a2644,-_0x5194a4._0x2505ca,0x264)](_0x3dcf9a);}function normalizeOperationContent(_0xf3c64b){const _0x240436={_0x830f25:0x206,_0x50055a:0x224,_0x4fda87:0x6b8,_0x3160cf:0x13c,_0x28ee3f:0x28d,_0x22ff29:0x3b5,_0x36ace6:0x335,_0x365508:0x2a0,_0x4cd8f6:0x259,_0x45ad4b:0x15c,_0x460c8c:0x17c},_0x143488={_0x2c01ac:0x1b6},_0x4d705f={_0xd3ca93:0x46,_0x594767:0x16f,_0x53120f:0x14f};if(_0xf3c64b[_0x3d1434(_0x240436._0x830f25,0x340,_0x240436._0x50055a,0x550)]===_0x1f3dee(0x57f,0x6a1,_0x240436._0x4fda87,0x5b6)||_0xf3c64b[_0x3d1434(_0x240436._0x3160cf,0x340,_0x240436._0x28ee3f,_0x240436._0x22ff29)]===_0x3d1434(0x309,0x240,_0x240436._0x36ace6,_0x240436._0x365508))return{..._0xf3c64b,'content':_0xf3c64b[_0x3d1434(_0x240436._0x4cd8f6,_0x240436._0x45ad4b,_0x240436._0x460c8c,0x34e)][_0x3d1434(0x50d,0x3b3,0x55f,0x2b9)](/\r\n/g,'\x0a')};function _0x1f3dee(_0x522f5c,_0x4a051a,_0x3b8d48,_0x111139){return _0x5885dd(_0x522f5c-_0x4d705f._0xd3ca93,_0x4a051a,_0x3b8d48-_0x4d705f._0x594767,_0x3b8d48-_0x4d705f._0x53120f);}function _0x3d1434(_0x3fa156,_0x4fc99b,_0x4d057c,_0x416b8a){return _0x5885dd(_0x3fa156-0x18e,_0x416b8a,_0x4d057c-0x71,_0x4fc99b- -_0x143488._0x2c01ac);}return _0xf3c64b;}function computePayloadDigest(_0x24f29f){const _0x95978d={_0x1344eb:0x235,_0x5d27db:0x34d,_0x451b56:0x23},_0x184ca3={_0x2d2f20:0x2b0};function _0x1b53bd(_0x449282,_0x35ea01,_0x3394a6,_0x4ec5d2){return _0x5885dd(_0x449282-0x7c,_0x3394a6,_0x3394a6-0x14f,_0x449282- -_0x184ca3._0x2d2f20);}return sha256Bytes(stableStringify2(_0x24f29f[_0x1b53bd(-0x162,-_0x95978d._0x1344eb,-_0x95978d._0x5d27db,-_0x95978d._0x451b56)](normalizeOperationContent)));}function collectRequiredLines(_0x52a994){const _0x1e7041={_0x1e5a22:0x773,_0x470649:0x848,_0xad5bf2:0x78b,_0x5bec59:0x835,_0x426446:0x5d3,_0x1fec57:0xc0,_0x43bf55:0x10f,_0x5c2cfb:0x836,_0x4e88f:0x751,_0x1c56f8:0x145,_0x5ff9ba:0xab,_0x607a87:0x70,_0x5121d1:0x16c,_0x50151c:0x68a,_0x527cc9:0x42d,_0x123b3f:0x509,_0x213062:0x41f,_0x32c760:0x2fa},_0x2809bf={_0x519b17:0x26},_0x3527ec={_0x40e812:0x14c,_0x3d3bb0:0xfd,_0x5f5a43:0xd0};function _0x4fc3fb(_0x5c6a28,_0x1ba3c7,_0x3125ca,_0x830a48){return _0x16ac01(_0x5c6a28-_0x3527ec._0x40e812,_0x5c6a28- -_0x3527ec._0x3d3bb0,_0x3125ca-_0x3527ec._0x5f5a43,_0x1ba3c7);}function _0x349536(_0x22a1c7,_0x2a80e,_0xf1e43f,_0x5b7599){return _0x5885dd(_0x22a1c7-0x12a,_0x22a1c7,_0xf1e43f-_0x2809bf._0x519b17,_0xf1e43f-0x352);}const _0x5d208e=new Set();for(const _0x25898c of _0x52a994){if(_0x25898c[_0x349536(0x8a1,_0x1e7041._0x1e5a22,_0x1e7041._0x470649,_0x1e7041._0xad5bf2)]===_0x349536(_0x1e7041._0x5bec59,_0x1e7041._0x426446,0x748,0x953))_0x5d208e['add'](_0x25898c[_0x4fc3fb(-0x98,_0x1e7041._0x1fec57,-0xab,_0x1e7041._0x43bf55)]);else for(let _0x2b423d=_0x25898c[_0x349536(_0x1e7041._0x5c2cfb,0x7df,0x79e,_0x1e7041._0x4e88f)];_0x2b423d<=_0x25898c[_0x4fc3fb(_0x1e7041._0x1c56f8,_0x1e7041._0x5ff9ba,_0x1e7041._0x607a87,_0x1e7041._0x5121d1)];_0x2b423d+=0x1){_0x5d208e[_0x349536(_0x1e7041._0x50151c,_0x1e7041._0x527cc9,_0x1e7041._0x123b3f,0x6a3)](_0x2b423d);}}return[..._0x5d208e][_0x349536(0x494,_0x1e7041._0x213062,0x4d8,_0x1e7041._0x32c760)]((_0x163ea7,_0x2f8e64)=>_0x163ea7-_0x2f8e64);}async function resolveEditTarget(_0x4a62ca,_0x362b33,_0x25ed22){const _0x1d6abf={_0x420785:0x45a,_0x285ed4:0x46d,_0x184051:0x190,_0x159c72:0x6d9,_0x4a50f4:0x297,_0x20b963:0x16a,_0x5751e0:0x95},_0x5f4d87={_0x43bddd:0xd2,_0x124149:0x1d8,_0x44df60:0x56},_0x2b7512={_0x87f726:0x34d};function _0x14de16(_0x1eabbe,_0x13ebb2,_0x84945,_0x2a141d){return _0x16ac01(_0x1eabbe-0x47,_0x2a141d-_0x2b7512._0x87f726,_0x84945-0x15f,_0x1eabbe);}function _0x244be9(_0x2a01f2,_0x5ef9a8,_0x3d2a68,_0x3e63c4){return _0x5885dd(_0x2a01f2-_0x5f4d87._0x43bddd,_0x5ef9a8,_0x3d2a68-_0x5f4d87._0x124149,_0x3d2a68- -_0x5f4d87._0x44df60);}try{return await resolveCanonicalAllowedFile(_0x4a62ca,_0x362b33,_0x25ed22);}catch(_0x2c8dca){if(_0x2c8dca instanceof ToolExecutionError)throw _0x2c8dca;const _0x4adf31=_0x2c8dca instanceof Error?_0x2c8dca[_0x244be9(0x27d,0x3fb,0x2c7,_0x1d6abf._0x420785)]:String(_0x2c8dca);throw createAnchoredFileError(_0x244be9(_0x1d6abf._0x285ed4,0x36b,0x334,_0x1d6abf._0x184051),_0x244be9(0x683,0x5cf,0x4f1,_0x1d6abf._0x159c72)+_0x25ed22+'\x20for\x20an\x20anchored\x20edit\x20('+_0x4adf31+_0x244be9(_0x1d6abf._0x4a50f4,0x2ed,_0x1d6abf._0x20b963,_0x1d6abf._0x5751e0),{'path':_0x25ed22});}}async function readLiveSnapshot(_0x2ec73e,_0x485eba){const _0x57cafe={_0x5d9b23:0x7f2,_0x3a69dc:0x54a,_0x43225c:0x7be,_0x5bc39f:0x821,_0x42fbfa:0x890,_0x3514bb:0x8ec,_0x10a218:0x288,_0x2f105a:0x49a,_0x4536a8:0x3ee,_0x2fd437:0x5c1,_0x9528bf:0x3bd},_0x4fc56d={_0x5a6e85:0x117,_0x180d96:0x29e};let _0x594179;function _0x4288dc(_0xfdec23,_0x50786c,_0x5081d1,_0x3c0a74){return _0x16ac01(_0xfdec23-0x2a,_0xfdec23-0x569,_0x5081d1-0x1b3,_0x3c0a74);}function _0x1e1a92(_0x4b22e2,_0x3a92a0,_0x3b7e43,_0xfd1176){return _0x16ac01(_0x4b22e2-_0x4fc56d._0x5a6e85,_0xfd1176-_0x4fc56d._0x180d96,_0x3b7e43-0xb8,_0x3b7e43);}try{_0x594179=await _0x2f0223(_0x2ec73e);}catch(_0x2ac409){const _0x3dca63=_0x2ac409 instanceof Error?_0x2ac409[_0x4288dc(0x5f7,_0x57cafe._0x5d9b23,_0x57cafe._0x3a69dc,_0x57cafe._0x43225c)]:String(_0x2ac409);throw createAnchoredFileError('unknown_snapshot',_0x4288dc(_0x57cafe._0x5bc39f,_0x57cafe._0x42fbfa,_0x57cafe._0x3514bb,0x798)+_0x485eba+_0x1e1a92(_0x57cafe._0x10a218,0x153,0x331,0x27c)+_0x3dca63+_0x4288dc(_0x57cafe._0x2f105a,_0x57cafe._0x4536a8,_0x57cafe._0x2fd437,_0x57cafe._0x9528bf),{'path':_0x485eba});}return createNormalizedFileSnapshot(_0x2ec73e,_0x594179);}function staleSnapshotMessageText(_0x8d1576,_0x197ee0){const _0x54470d={_0x52978e:0x460,_0x351249:0x576},_0x11fd0e={_0x209775:0xd1};function _0x590360(_0x55b135,_0x2795d9,_0x34344e,_0x428576){return _0x16ac01(_0x55b135-0x186,_0x55b135-0x3b9,_0x34344e-_0x11fd0e._0x209775,_0x2795d9);}return{'reasonLine':'stale_snapshot:\x20the\x20file\x20changed\x20since\x20snapshot\x20'+_0x197ee0+'\x20was\x20read.','guidance':_0x590360(0x518,_0x54470d._0x52978e,_0x54470d._0x351249,0x607)+_0x8d1576+'\x20changed\x20on\x20disk;\x20re-read\x20with\x20FileRead\x20and\x20retry\x20with\x20the\x20fresh\x20tag.'};}function unseenLinesMessageText(){const _0x343b05={_0x3789a3:0x254,_0x194383:0x26d,_0x276864:0x5a8,_0x4e704a:0x72e},_0x1bf580={_0x47273a:0x310},_0xfb6d29={_0x3ac54f:0x39f,_0x730c9b:0x189};function _0x3d4ed3(_0x19f68e,_0xa1a2c0,_0x1be9cf,_0x10ebcf){return _0x16ac01(_0x19f68e-0x118,_0xa1a2c0-_0xfb6d29._0x3ac54f,_0x1be9cf-_0xfb6d29._0x730c9b,_0x19f68e);}function _0x218219(_0x1b141a,_0xa7cc95,_0x3887b2,_0x3e1a7e){return _0x5885dd(_0x1b141a-0x1ca,_0x3887b2,_0x3887b2-0x153,_0x3e1a7e- -_0x1bf580._0x47273a);}return{'reasonLine':_0x3d4ed3(_0x343b05._0x3789a3,0x265,0x128,_0x343b05._0x194383),'guidance':_0x3d4ed3(0x6b2,_0x343b05._0x276864,0x6dd,_0x343b05._0x4e704a)};}function noChangeMessageText(_0xeae1e6,_0x151040){const _0x3429fc={_0x5ed3f4:0x33c,_0x176747:0x399,_0x47d6e0:0x160,_0x4f3053:0x32b,_0x30307c:0x8a,_0x33982c:0x8b},_0x6e5105={_0x3c8776:0x44,_0x291a46:0xf9,_0x3d0e15:0x109},_0x2d65b9={_0x295815:0xbc},_0x3697a2=_0x151040>=0x3;function _0x111c5a(_0x65d797,_0x1231e7,_0x3db3bc,_0x43762c){return _0x16ac01(_0x65d797-_0x2d65b9._0x295815,_0x1231e7-0x107,_0x3db3bc-0xe4,_0x65d797);}function _0x23465b(_0x4f07e6,_0x4bd556,_0x4102ef,_0x9c9ae3){return _0x5885dd(_0x4f07e6-_0x6e5105._0x3c8776,_0x4102ef,_0x4102ef-_0x6e5105._0x291a46,_0x9c9ae3- -_0x6e5105._0x3d0e15);}return{'reasonLine':'no_change:\x20the\x20requested\x20edit\x20would\x20leave\x20'+_0xeae1e6+_0x111c5a(0x1ec,_0x3429fc._0x5ed3f4,0x28c,_0x3429fc._0x176747),'guidance':_0x3697a2?_0x23465b(0x26,_0x3429fc._0x47d6e0,_0x3429fc._0x4f3053,0x118):_0x111c5a(0x1c0,0x12f,-_0x3429fc._0x30307c,-_0x3429fc._0x33982c)};}function buildRecoveryContext(_0x3894d8,_0x3fb5b2,_0x173de5,_0x21b1bd,_0x2f6a1c,_0x2bb12f){const _0x2bd075={_0x349dc7:0x21a,_0x31a390:0x13c,_0x26ace5:0x57,_0x1add40:0x108,_0x2f60f9:0x12a,_0x2d43d4:0xc8,_0x6fc853:0x1d8,_0x307a7:0x1b3,_0x8544f9:0x233,_0x2b4bae:0xd4,_0x5d2e0a:0x1a5,_0xdfb7f8:0x2d4,_0x53d82d:0x5e,_0x16962f:0x16d,_0x35963e:0x187,_0x2203c0:0x1a4,_0x3659b5:0x121,_0x8c2dc8:0x151,_0x59b3e5:0x111,_0x31bf6a:0xe2,_0x31201b:0xa6,_0x16c417:0x167,_0x2dabac:0x107,_0x192a9f:0x67,_0x2d9617:0x262,_0x4481ce:0x298},_0x287563={_0x5f263a:0x19f},_0x20ec04='['+_0x3894d8+'#'+_0x3fb5b2[_0x1e64be(_0x2bd075._0x349dc7,_0x2bd075._0x31a390,_0x2bd075._0x26ace5,0x1a6)]+']',_0x14fd09={'tag':_0x3fb5b2[_0x4a52ca(0x102,0x321,0x10a,-_0x2bd075._0x1add40)],'digest':_0x3fb5b2['digest'],'contextLines':[],'output':_0x2f6a1c+'\x0a'+_0x20ec04+'\x0a'+_0x2bb12f},_0x2fb2c6=_0x3fb5b2['lines'][_0x1e64be(0x62,0x5f,_0x2bd075._0x2f60f9,-0x94)];function _0x4a52ca(_0x4dea49,_0x5a2d5e,_0x398765,_0x8a94b3){return _0x5885dd(_0x4dea49-0x5a,_0x5a2d5e,_0x398765-0x4b,_0x398765- -0x35e);}const _0x20dccc=[...new Set(_0x173de5[_0x1e64be(-0x16e,-0x156,-0x1c6,0x46)](_0x5863fa=>Number['isSafeInteger'](_0x5863fa)&&_0x5863fa>=0x1&&_0x5863fa<=_0x2fb2c6))][_0x4a52ca(-0x239,-_0x2bd075._0x2d43d4,-_0x2bd075._0x6fc853,-_0x2bd075._0x307a7)]((_0x3532aa,_0x4d2dfd)=>_0x3532aa-_0x4d2dfd);if(_0x20dccc['length']===0x0)return _0x14fd09;const _0x418503=_0x20dccc[_0x20dccc[_0x1e64be(_0x2bd075._0x8544f9,0x5f,-_0x2bd075._0x2b4bae,0x9c)]-0x1]-_0x20dccc[0x0]+0x1;if(_0x418503>0x14)return _0x14fd09;function _0x1e64be(_0xf8545b,_0x484ea7,_0x126040,_0x333156){return _0x16ac01(_0xf8545b-0x65,_0x484ea7- -0x9d,_0x126040-_0x287563._0x5f263a,_0x333156);}for(const _0x4ba81c of _0x20dccc){if(!isWithinDisplayColumns(_0x3fb5b2[_0x1e64be(-0x3c,0x19c,0x3b1,0x21f)][_0x4ba81c-0x1],0x200))return _0x14fd09;}const _0x53e32d=formatAnchoredFileRead({'displayPath':_0x3894d8,'snapshot':_0x3fb5b2,'lineStart':_0x20dccc[0x0],'lineEnd':_0x20dccc[_0x20dccc[_0x1e64be(0x58,0x5f,-0x102,_0x2bd075._0x5d2e0a)]-0x1],'maxBytes':_0x21b1bd});if(_0x53e32d[_0x4a52ca(-_0x2bd075._0xdfb7f8,_0x2bd075._0x53d82d,-_0x2bd075._0x16962f,-0x2cb)]||_0x53e32d[_0x4a52ca(-_0x2bd075._0x35963e,-_0x2bd075._0x2203c0,-_0x2bd075._0x3659b5,-0x1f5)][_0x1e64be(-0x44,0x5f,_0x2bd075._0x8c2dc8,-0xaf)]===0x0)return _0x14fd09;const _0x3f2b8a=_0x2f6a1c+'\x0a'+_0x53e32d['output']['trimEnd']()+'\x0a'+_0x2bb12f;if(Buffer[_0x4a52ca(_0x2bd075._0x59b3e5,_0x2bd075._0x31bf6a,-0xa0,_0x2bd075._0x31201b)](_0x3f2b8a,_0x1e64be(_0x2bd075._0x16c417,-0x62,_0x2bd075._0x2dabac,-_0x2bd075._0x192a9f))>_0x21b1bd)return _0x14fd09;return{'tag':_0x3fb5b2['tag'],'digest':_0x3fb5b2['digest'],'contextLines':[..._0x53e32d[_0x4a52ca(-0x270,-_0x2bd075._0x2d9617,-0x121,-_0x2bd075._0x4481ce)]],'output':_0x3f2b8a};}function assertPreviewWithinBounds(_0x5832a8,_0x165631,_0x2f1c96){const _0x1b8a66={_0x49b572:0x187,_0x586ac2:0x368,_0x257736:0x2b1},_0x3f71bb={_0x5d9fd5:0xaa},_0x2694cf={_0x1d821d:0xb4};function _0x484816(_0x20a798,_0x44c52a,_0x70039e,_0x5dc34f){return _0x5885dd(_0x20a798-0x18,_0x20a798,_0x70039e-_0x2694cf._0x1d821d,_0x44c52a-0x197);}const _0x2801f5=_0x5832a8[_0x1a3ebf(_0x1b8a66._0x49b572,0x568,_0x1b8a66._0x586ac2,0x196)]((_0x2f1b0a,_0x5db200)=>_0x2f1b0a+Buffer['byteLength'](_0x5db200[_0x484816(0x51f,0x616,0x731,0x54c)],_0x1a3ebf(0x2da,0x2a,0xe5,-0x4e))+Buffer['byteLength'](_0x5db200[_0x1a3ebf(0x323,0x1c1,0x21c,0x17a)],'utf8'),0x0);function _0x1a3ebf(_0x1f919a,_0x18875d,_0x3d5338,_0x2386f5){return _0x16ac01(_0x1f919a-0xc9,_0x3d5338-_0x3f71bb._0x5d9fd5,_0x3d5338-0x1a3,_0x2386f5);}if(_0x2801f5>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x484816(0x714,0x5e9,0x5ac,0x6e1),'invalid_range:\x20the\x20edit\x27s\x20source-derived\x20preview\x20text\x20is\x20'+_0x2801f5+_0x1a3ebf(0x129,_0x1b8a66._0x257736,0x255,0x85)+MAX_ANCHORED_PREVIEW_BYTES+_0x484816(0x406,0x5a9,0x489,0x5dd),{'path':_0x2f1c96,'canonicalPath':_0x165631,'previewBytes':_0x2801f5});}function buildPreview(_0x239989,_0x301d2e,_0x5486fb,_0x5cf389,_0x5944f6){const _0x205a48={_0xd46cec:0x1d7,_0x11cbfd:0x362,_0x351b79:0x244,_0x2ed3d6:0x373,_0x2b9b2b:0x3e4,_0xf3b45c:0x8f,_0x5c7a4f:0x1f8,_0x4329ce:0x13d,_0x5f33a8:0x2e9,_0xd435ec:0x58,_0x4b9cb1:0xb6,_0x1b7de7:0x1cd,_0x243495:0x27},_0x3ccc55={_0x9adff5:0x91,_0x529f8b:0xa0},_0x1eaa89={_0x29c36c:0x83};function _0x2a7e21(_0xa69b6b,_0x25a79d,_0x4efa7e,_0x58ae42){return _0x16ac01(_0xa69b6b-0xf4,_0x4efa7e-_0x1eaa89._0x29c36c,_0x4efa7e-0x1ac,_0xa69b6b);}function _0x5e970c(_0xcfbc4a,_0x56ed0c,_0x4ac2a3,_0x2d851c){return _0x5885dd(_0xcfbc4a-0x16,_0x2d851c,_0x4ac2a3-_0x3ccc55._0x9adff5,_0xcfbc4a- -_0x3ccc55._0x529f8b);}return{'mode':_0x239989,'filePath':_0x301d2e[_0x2a7e21(_0x205a48._0xd46cec,_0x205a48._0x11cbfd,0x2c0,0x428)],'canonicalPath':_0x5486fb[_0x5e970c(_0x205a48._0x351b79,0x21a,0x37,0x40a)],'tag':_0x301d2e['tag'],'digest':_0x5cf389[_0x5e970c(_0x205a48._0x2ed3d6,0x44b,0x346,_0x205a48._0x2b9b2b)]['digest'],'operationCount':_0x5944f6[_0x2a7e21(_0x205a48._0xf3b45c,_0x205a48._0x5c7a4f,0xaa,_0x205a48._0x4329ce)][_0x2a7e21(_0x205a48._0x5f33a8,-_0x205a48._0xd435ec,0x17f,0x367)],'operations':_0x5944f6[_0x2a7e21(_0x205a48._0x4b9cb1,_0x205a48._0x1b7de7,0xaa,0x230)],'blocks':_0x5944f6[_0x5e970c(0xe2,0xc0,_0x205a48._0x243495,-0x7)]};}function buildResultText(_0x198b4e,_0x497de4,_0x3f1ad0,_0x5da366,_0x11ef77){const _0x558ee3={_0x98ff30:0x53,_0x586afb:0x694,_0x5800e9:0x90,_0x2ec4e2:0x6a,_0x396ef6:0x7c,_0x5d9f25:0x2a3,_0x1fe707:0x16e,_0x576eba:0x100,_0x54ce9f:0x190,_0x476913:0x5e},_0x2df32b={_0x37e606:0xcb},_0xd21e97={_0x1280b7:0x64a},_0x2e97e4='['+_0x198b4e+'#'+_0x497de4[_0x546169(0x5,0x10e,0xd7,_0x558ee3._0x98ff30)]+']\x0a'+_0x11ef77+'\x0a';let _0x59a17d=Buffer[_0x329b8a(0x573,0x679,_0x558ee3._0x586afb,0x4f9)](_0x2e97e4,_0x546169(-0x24a,-_0x558ee3._0x5800e9,_0x558ee3._0x2ec4e2,-_0x558ee3._0x396ef6));const _0x1b48d7=[],_0x36a222=[];for(const _0x37e8a9 of _0x3f1ad0){const _0x16065c=_0x37e8a9+':'+(_0x497de4[_0x546169(_0x558ee3._0x5d9f25,_0x558ee3._0x1fe707,0x1c7,_0x558ee3._0x576eba)][_0x37e8a9-0x1]??'')+'\x0a',_0x3001eb=Buffer[_0x546169(-0x1c,-0x9c,-_0x558ee3._0x54ce9f,_0x558ee3._0x476913)](_0x16065c,_0x546169(-0x25,-_0x558ee3._0x5800e9,-0xc4,-0x5c));if(_0x59a17d+_0x3001eb>_0x5da366)break;_0x1b48d7['push'](_0x16065c),_0x36a222['push'](_0x37e8a9),_0x59a17d+=_0x3001eb;}function _0x329b8a(_0x3c8d2e,_0x1dfa77,_0x22af83,_0x158914){return _0x16ac01(_0x3c8d2e-0x15d,_0x1dfa77-_0xd21e97._0x1280b7,_0x22af83-0x8d,_0x3c8d2e);}function _0x546169(_0x512364,_0x47ba7d,_0x399f03,_0xd5fec1){return _0x16ac01(_0x512364-0x4,_0x47ba7d- -_0x2df32b._0x37e606,_0x399f03-0x106,_0x399f03);}return{'output':''+_0x2e97e4+_0x1b48d7['join'](''),'observedLines':_0x36a222};}function selectChangedContextLines(_0x5f4120,_0x55aac2,_0xc003a6){const _0x44311f={_0x330ce1:0x4ef,_0x4bc3bc:0x5ac,_0x35a394:0x37a,_0x16719f:0x451,_0x39d507:0x11e,_0x96ce50:0x15f,_0x334751:0x51f,_0x1b4697:0x68d,_0x6d802:0x50c,_0x5b7225:0x5d3,_0x3b4f67:0x5d1,_0x56814a:0x41a,_0x54d2a5:0x63a,_0x521df7:0x5c0,_0x433ec6:0x839,_0x382e01:0x491,_0xbef473:0x651,_0x5caa46:0x6e7,_0x50cf54:0x2ec,_0x457ae2:0x502,_0x1b47ab:0x40d,_0xd781fe:0x4e3,_0x9fe6c8:0x4d4,_0x53a909:0x359,_0x43bc9f:0x355,_0x270942:0x500,_0x39c0f1:0x278,_0x15c370:0x3d6,_0x4e401d:0x6f4,_0x1e23bf:0x421,_0x2ba73c:0x1d3,_0x4b609b:0x3a9,_0x1280db:0x606,_0x2691e6:0x8ca,_0x350b7d:0x76e,_0x241d91:0x77f,_0x1940e7:0x603,_0x11f51f:0x2ec,_0x39b973:0x5ac,_0x49b5dc:0x5fd,_0x8dd221:0x2e9,_0x40f5e1:0x433,_0x40d6d7:0x3ba,_0xc72cc8:0x543,_0x5e2f50:0x539,_0x260cbb:0x21d},_0x2c023c={_0x15aaa1:0x189},_0x5b68f1={_0x45cbcc:0x90},_0x5b8fd4=new Set();for(const _0x36f4b6 of _0x5f4120){const _0x22bea7=_0x36f4b6[_0x451e54(_0x44311f._0x330ce1,_0x44311f._0x4bc3bc,_0x44311f._0x35a394,_0x44311f._0x16719f)];if(_0xc003a6===_0x451e54(0x27b,_0x44311f._0x39d507,_0x44311f._0x96ce50,0x1e9)){if(_0x22bea7[_0x451e54(_0x44311f._0x334751,_0x44311f._0x1b4697,_0x44311f._0x6d802,0x5f3)]>0x0)for(let _0x263bb2=_0x22bea7[_0x451e54(_0x44311f._0x5b7225,_0x44311f._0x3b4f67,0x5e8,_0x44311f._0x56814a)];_0x263bb2<=_0x22bea7[_0x451e54(_0x44311f._0x54d2a5,_0x44311f._0x521df7,_0x44311f._0x433ec6,_0x44311f._0x382e01)]&&_0x263bb2<=_0x55aac2[_0x3a2a7e(0x6ff,0x6d7,_0x44311f._0xbef473,_0x44311f._0x5caa46)]['length'];_0x263bb2+=0x1){_0x5b8fd4[_0x451e54(_0x44311f._0x50cf54,0x180,_0x44311f._0x457ae2,_0x44311f._0x1b47ab)](_0x263bb2);}else _0x22bea7['newStartLine']>=0x1&&_0x22bea7[_0x3a2a7e(_0x44311f._0xd781fe,0x8cf,_0x44311f._0x9fe6c8,0x6bd)]<=_0x55aac2[_0x451e54(0x5fd,0x5f4,0x483,0x6f3)][_0x451e54(0x4c0,_0x44311f._0x53a909,_0x44311f._0x43bc9f,0x338)]&&_0x5b8fd4[_0x3a2a7e(_0x44311f._0x270942,0x57f,_0x44311f._0x39c0f1,_0x44311f._0x15c370)](_0x22bea7[_0x451e54(_0x44311f._0x5b7225,_0x44311f._0x4e401d,0x4ce,_0x44311f._0x1e23bf)]);}else{if(_0x22bea7['oldLineCount']>0x0)for(let _0x458435=_0x22bea7['oldStartLine'];_0x458435<=_0x22bea7[_0x3a2a7e(_0x44311f._0x2ba73c,0x1ed,0x3c7,_0x44311f._0x4b609b)]&&_0x458435<=_0x55aac2[_0x3a2a7e(_0x44311f._0x1280db,_0x44311f._0x2691e6,0x82a,_0x44311f._0x5caa46)][_0x3a2a7e(_0x44311f._0x350b7d,_0x44311f._0x241d91,_0x44311f._0x1940e7,0x5aa)];_0x458435+=0x1){_0x5b8fd4[_0x451e54(_0x44311f._0x11f51f,0x264,0x234,0x220)](_0x458435);}else _0x22bea7['oldStartLine']>=0x1&&_0x22bea7[_0x3a2a7e(_0x44311f._0x39b973,0x35a,0x602,0x4ae)]<=_0x55aac2[_0x451e54(_0x44311f._0x49b5dc,0x7c7,0x685,0x666)]['length']&&_0x5b8fd4['add'](_0x22bea7['oldStartLine']);}}function _0x3a2a7e(_0x2d8e77,_0x43aa04,_0x1ae112,_0x124d1a){return _0x16ac01(_0x2d8e77-_0x5b68f1._0x45cbcc,_0x124d1a-0x4ae,_0x1ae112-0x13b,_0x1ae112);}function _0x451e54(_0x21f167,_0x5b12bd,_0x48af96,_0x4fac06){return _0x16ac01(_0x21f167-0x175,_0x21f167-0x3c4,_0x48af96-_0x2c023c._0x15aaa1,_0x4fac06);}return[..._0x5b8fd4][_0x451e54(0x2bb,_0x44311f._0x8dd221,_0x44311f._0x40f5e1,_0x44311f._0x40d6d7)]((_0x4112f5,_0x4f2eea)=>_0x4112f5-_0x4f2eea)[_0x3a2a7e(_0x44311f._0xc72cc8,_0x44311f._0x5e2f50,_0x44311f._0x260cbb,0x3b0)](0x0,0x14);}function throwStaleSnapshot(_0x3d6aed,_0x26d43e,_0x156466,_0x3342cf){const _0x46a5ba={_0x22614f:0x23b,_0x332430:0x8f,_0x532010:0x47d,_0x5478a9:0x17a,_0x13d528:0x2f3,_0x4f24b4:0x3eb,_0x43caf6:0x1af,_0x30c2d4:0x52c},_0x130ca4={_0x5ce4f5:0xca};function _0x1c4b19(_0x5c1931,_0x5189f0,_0x4eeb1b,_0x1c5974){return _0x5885dd(_0x5c1931-0x2b,_0x5c1931,_0x4eeb1b-0x1df,_0x4eeb1b- -0x251);}function _0xb0b58(_0x1b31d6,_0xce0186,_0x4cb4c8,_0x3a1d1d){return _0x16ac01(_0x1b31d6-_0x130ca4._0x5ce4f5,_0x3a1d1d-0x611,_0x4cb4c8-0x178,_0xce0186);}throw createAnchoredFileError(_0x1c4b19(0x379,_0x46a5ba._0x22614f,0x28b,_0x46a5ba._0x332430),_0x3342cf[_0x1c4b19(_0x46a5ba._0x532010,_0x46a5ba._0x5478a9,_0x46a5ba._0x13d528,0x2a2)],{'path':_0x3d6aed,'canonicalPath':_0x26d43e,'tag':_0x156466[_0x1c4b19(_0x46a5ba._0x4f24b4,0x390,0x217,0x17d)],'digest':_0x156466['digest'],..._0x3342cf['contextLines'][_0x1c4b19(0x264,0x24c,0x13a,_0x46a5ba._0x43caf6)]>0x0?{'contextLines':[..._0x3342cf[_0xb0b58(0x5aa,0x7be,_0x46a5ba._0x30c2d4,0x722)]]}:{}});}function throwUnseenLines(_0x68bc9,_0x27f115,_0x3d84fd,_0x5f06e5,_0x2b63c0){const _0x456935={_0x2fa166:0xc2,_0x199b1f:0x107,_0x111d67:0x128,_0x111769:0x36e,_0x213785:0x126,_0x5ac212:0xcb,_0x1a1905:0x26,_0x5fe325:0x254},_0x4a845e={_0x3abd86:0x115,_0xfd070d:0xe2},_0xf6a7de={_0x29be9a:0x13a};function _0xcd3556(_0x3b224e,_0x396c74,_0x56b784,_0x2e4d20){return _0x16ac01(_0x3b224e-_0xf6a7de._0x29be9a,_0x3b224e- -0x1,_0x56b784-0xa,_0x2e4d20);}function _0x4c73bf(_0x35610d,_0x40b911,_0x2b7f70,_0x2f03e3){return _0x5885dd(_0x35610d-_0x4a845e._0x3abd86,_0x2f03e3,_0x2b7f70-_0x4a845e._0xfd070d,_0x2b7f70- -0x2d3);}throw createAnchoredFileError('unseen_lines',_0x2b63c0[_0xcd3556(0x2b4,0x424,0x2b9,_0x456935._0x2fa166)],{'path':_0x68bc9,'canonicalPath':_0x27f115,'tag':_0x3d84fd[_0x4c73bf(_0x456935._0x199b1f,_0x456935._0x111d67,0x195,_0x456935._0x111769)],'digest':_0x3d84fd[_0x4c73bf(-0xb8,-_0x456935._0x213785,0x2a,-_0x456935._0x5ac212)],'requiredLines':[..._0x5f06e5],..._0x2b63c0['contextLines'][_0xcd3556(0xfb,-_0x456935._0x1a1905,0x211,_0x456935._0x5fe325)]>0x0?{'contextLines':[..._0x2b63c0['contextLines']]}:{}});}function throwNoChange(_0x21fe1e,_0x459842,_0x3e8c16,_0x400b3f,_0x2fb3ae){const _0x3e2994={_0x2893b2:0x63f,_0x15047f:0x501,_0x52939c:0x465,_0x2d6ad4:0x198,_0x37094c:0x32c,_0x3f182f:0x22c,_0x2a6fce:0x1b0,_0x1878f7:0x359,_0xed4fbe:0x145,_0xf30689:0x57,_0x596a27:0x130,_0x5f9fd6:0x4c,_0x568e65:0xdd,_0x49c6aa:0x56c,_0xa9e7c9:0x322,_0x77e44a:0x3fc},_0xd77f44={_0x486c18:0x82},_0xdcd322={_0x550e3b:0xc6,_0x55eee1:0xe0,_0x561d3f:0x5c};function _0x172eb6(_0x413ef9,_0x449af3,_0x3960b3,_0x129004){return _0x5885dd(_0x413ef9-_0xdcd322._0x550e3b,_0x413ef9,_0x3960b3-_0xdcd322._0x55eee1,_0x129004-_0xdcd322._0x561d3f);}function _0x1188eb(_0x30a6f7,_0x33b88f,_0x4ff6f6,_0x50d9fa){return _0x16ac01(_0x30a6f7-0x16f,_0x33b88f-0x34,_0x4ff6f6-_0xd77f44._0x486c18,_0x50d9fa);}throw createAnchoredFileError(_0x172eb6(_0x3e2994._0x2893b2,_0x3e2994._0x15047f,0x3af,_0x3e2994._0x52939c),_0x400b3f[_0x1188eb(0xff,0x2e9,_0x3e2994._0x2d6ad4,_0x3e2994._0x37094c)],{'path':_0x21fe1e,'canonicalPath':_0x459842,'tag':_0x3e8c16['tag'],'digest':_0x3e8c16[_0x172eb6(_0x3e2994._0x3f182f,_0x3e2994._0x2a6fce,0x1f5,_0x3e2994._0x1878f7)],'attemptCount':_0x2fb3ae,..._0x400b3f[_0x1188eb(0x1b8,_0x3e2994._0xed4fbe,_0x3e2994._0xf30689,-0x46)][_0x1188eb(0x37,_0x3e2994._0x596a27,_0x3e2994._0x5f9fd6,_0x3e2994._0x568e65)]>0x0?{'contextLines':[..._0x400b3f[_0x172eb6(_0x3e2994._0x49c6aa,0x313,_0x3e2994._0xa9e7c9,_0x3e2994._0x77e44a)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x40ae7d,_0x373635,_0x5986ab,_0x3e2a17){const _0x4eed31={_0x2c0784:0x3a6,_0x2f148e:0x2cf,_0x8a022c:0x1c5,_0x257394:0x93,_0x265784:0x9e,_0x56ed3d:0x363,_0x572604:0x683,_0x4fbd41:0x5e4,_0xffe625:0x452,_0x46b11a:0x706,_0x518b57:0x55d,_0xebf1e0:0x580,_0x3a837f:0x56c,_0x24fae2:0x2b7,_0xea55c6:0x4bf,_0x1bf6bf:0x409,_0x1c98e3:0x74f,_0x3e0205:0x610,_0x223a54:0x59f,_0x42f24e:0x3af,_0x750598:0x52b,_0x266c60:0x3c0,_0x5cb611:0x258,_0x215b2b:0x50b,_0x223822:0x4c0,_0x524b50:0x45e,_0x3034cd:0x580,_0x59d54c:0x3cd,_0x5bca03:0x43a,_0x4df1b6:0x3ce,_0x59281e:0x59f,_0xfec0f4:0x2bf,_0x1525df:0x3e6,_0x28bd66:0x2a3,_0x588569:0x228,_0x1c3e1f:0x387,_0x4b810f:0x190,_0x55b579:0x165,_0x53cec3:0x260,_0x5d2a09:0x6,_0x2dd2fd:0x471,_0x501729:0x6cd,_0x3f1335:0x46a,_0x5bafc7:0x1ed,_0x302e60:0x271,_0x22cc07:0x35d,_0xa9c97b:0x444,_0x5c712d:0x64a,_0x2b3391:0x559,_0x59996d:0x269,_0x49ed97:0x258,_0x56bf31:0x2c5,_0x4b8b35:0x81e,_0x1d614f:0x501,_0x2d6766:0x10f,_0x341a20:0x663,_0x3eea4b:0x6ca,_0x104ee2:0xc2,_0x47f2b5:0x224,_0x19b2b6:0x3f9,_0x174562:0x248,_0x5ba1f5:0x398,_0x331362:0x28e,_0x53db07:0x362,_0x330aac:0x3df,_0x1cd312:0x1dc,_0x15f688:0x9e,_0x394005:0x4d,_0x507642:0x13d,_0x36ae38:0x6d1,_0x44ae4b:0x521,_0xa0ab8a:0x35f,_0x126d07:0x1a5,_0x20943e:0xa4,_0x368495:0x39c,_0x3fa384:0x72a,_0x47a24e:0x472,_0x490434:0x2d5,_0x59dfa2:0x2fa,_0x28aca7:0x319,_0x286e15:0x3fa,_0x3461e6:0x79e,_0x307075:0x7c3,_0x3e9709:0x3fc,_0x15f14c:0x608,_0x46bf79:0x16b,_0x13f06d:0xf1,_0x37c735:0x206,_0x22412d:0x31a,_0x5bc6b8:0x3f5},_0x4275fe={_0x5a74b9:0x162,_0x2afaa2:0x116,_0x10869a:0x118},_0x5d71ad={_0x2a7d6d:0xe6},_0xfaffc3=parseAnchoredInput(_0x40ae7d,_0x373635),_0x18f7df=await resolveEditTarget(_0x3e2a17[_0x3d6185(0x1fa,_0x4eed31._0x2c0784,_0x4eed31._0x2f148e,_0x4eed31._0x8a022c)],_0x3e2a17[_0x3d6185(-_0x4eed31._0x257394,-_0x4eed31._0x265784,_0x4eed31._0x56ed3d,0x154)],_0xfaffc3[_0x3a9743(0x5ff,_0x4eed31._0x572604,_0x4eed31._0x4fbd41,_0x4eed31._0xffe625)]);function _0x3d6185(_0x1232e6,_0x107c17,_0x161cd4,_0x2fe6d8){return _0x16ac01(_0x1232e6-0xd5,_0x2fe6d8-0xe8,_0x161cd4-_0x5d71ad._0x2a7d6d,_0x107c17);}function _0x3a9743(_0x1274fd,_0x1c1e11,_0x264261,_0x327815){return _0x5885dd(_0x1274fd-_0x4275fe._0x5a74b9,_0x327815,_0x264261-_0x4275fe._0x2afaa2,_0x264261-_0x4275fe._0x10869a);}const {observations:_0x1391bd}=_0x3e2a17;_0x1391bd[_0x3a9743(0x80e,0x826,0x62f,_0x4eed31._0x46b11a)](_0x5986ab);const _0x4f86c2=_0x1391bd['resolve'](_0x18f7df['canonicalPath'],_0xfaffc3[_0x3a9743(0x409,_0x4eed31._0x518b57,_0x4eed31._0xebf1e0,_0x4eed31._0x3a837f)]),_0x1183c7=await readLiveSnapshot(_0x18f7df[_0x3a9743(_0x4eed31._0x24fae2,_0x4eed31._0xea55c6,0x3fc,_0x4eed31._0x1bf6bf)],_0xfaffc3[_0x3a9743(_0x4eed31._0x1c98e3,_0x4eed31._0x3e0205,0x5e4,_0x4eed31._0x223a54)]),_0x2c99b3=computePayloadDigest(_0xfaffc3['operations']);if(_0x1183c7['digest']!==_0x4f86c2[_0x3a9743(0x4c2,_0x4eed31._0x42f24e,_0x4eed31._0x750598,_0x4eed31._0x266c60)][_0x3a9743(0x577,0x622,0x415,0x564)]){const {reasonLine:_0x30b07d,guidance:_0x3bc02e}=staleSnapshotMessageText(_0xfaffc3[_0x3d6185(_0x4eed31._0x5cb611,_0x4eed31._0x215b2b,0x4fe,0x325)],_0xfaffc3[_0x3a9743(_0x4eed31._0x223822,_0x4eed31._0x524b50,_0x4eed31._0x3034cd,_0x4eed31._0x59d54c)]),_0x56a6d9=buildRecoveryContext(_0xfaffc3[_0x3d6185(0x3c0,0x2f1,_0x4eed31._0x5bca03,0x325)],_0x1183c7,collectRequiredLines(_0xfaffc3[_0x3a9743(0x388,0x3df,_0x4eed31._0x4df1b6,_0x4eed31._0x59281e)]),_0x3e2a17[_0x3d6185(_0x4eed31._0xfec0f4,_0x4eed31._0x1525df,_0x4eed31._0x28bd66,_0x4eed31._0x588569)],_0x30b07d,_0x3bc02e);_0x1391bd[_0x3d6185(_0x4eed31._0x1c3e1f,0x185,_0x4eed31._0x4b810f,0x248)](_0x1183c7,_0x56a6d9[_0x3d6185(_0x4eed31._0x55b579,_0x4eed31._0x53cec3,-_0x4eed31._0x5d2a09,0x1f9)]),throwStaleSnapshot(_0xfaffc3[_0x3a9743(0x450,_0x4eed31._0x2dd2fd,_0x4eed31._0x4fbd41,0x598)],_0x18f7df[_0x3a9743(0x308,0x388,0x3fc,0x33c)],_0x1183c7,_0x56a6d9);}let _0x18fe70;try{_0x18fe70=prepareCanonicalFileEdit(_0x4f86c2[_0x3a9743(_0x4eed31._0x501729,_0x4eed31._0x3f1335,0x52b,0x31c)],_0x4f86c2[_0x3d6185(0x33,-_0x4eed31._0x5bafc7,-0x4e,-0x4)],_0xfaffc3['operations']);}catch(_0x134720){if(_0x134720 instanceof ToolExecutionError&&_0x134720[_0x3a9743(_0x4eed31._0x302e60,_0x4eed31._0x22cc07,0x482,0x676)][_0x3a9743(_0x4eed31._0xa9c97b,_0x4eed31._0x5c712d,_0x4eed31._0x2b3391,0x3d0)]===_0x3d6185(_0x4eed31._0x59996d,_0x4eed31._0x49ed97,0x3f1,_0x4eed31._0x56bf31)){const _0x4ef31d=_0x134720['structured'][_0x3a9743(_0x4eed31._0x4b8b35,0x419,0x629,_0x4eed31._0x1d614f)]??collectRequiredLines(_0xfaffc3[_0x3d6185(-0x57,-0xd0,0x3e,_0x4eed31._0x2d6766)]),{reasonLine:_0x5912a0,guidance:_0x58bc3}=unseenLinesMessageText(),_0x368bc2=buildRecoveryContext(_0xfaffc3[_0x3a9743(0x68b,_0x4eed31._0x341a20,0x5e4,_0x4eed31._0x3eea4b)],_0x1183c7,_0x4ef31d,_0x3e2a17[_0x3d6185(_0x4eed31._0x104ee2,_0x4eed31._0x47f2b5,0x36e,_0x4eed31._0x588569)],_0x5912a0,_0x58bc3);_0x1391bd[_0x3d6185(0x226,0x1d9,_0x4eed31._0x19b2b6,_0x4eed31._0x174562)](_0x1183c7,_0x368bc2[_0x3d6185(_0x4eed31._0x5ba1f5,_0x4eed31._0x331362,_0x4eed31._0x53db07,0x1f9)]),throwUnseenLines(_0xfaffc3[_0x3d6185(0x32b,0x47d,_0x4eed31._0x330aac,0x325)],_0x18f7df[_0x3d6185(_0x4eed31._0x1cd312,_0x4eed31._0x15f688,_0x4eed31._0x394005,_0x4eed31._0x507642)],_0x1183c7,_0x4ef31d,_0x368bc2);}if(_0x134720 instanceof ToolExecutionError&&_0x134720[_0x3a9743(0x444,0x2cf,0x482,0x2ba)][_0x3a9743(0x5c7,0x56b,0x559,_0x4eed31._0x36ae38)]===_0x3a9743(0x6ed,0x682,_0x4eed31._0x44ae4b,_0x4eed31._0xa0ab8a)){const _0x561e99=_0x1391bd[_0x3d6185(0x141,_0x4eed31._0x126d07,-_0x4eed31._0x20943e,0x3e)](_0x18f7df[_0x3a9743(0x2f6,0x5ec,0x3fc,_0x4eed31._0x368495)],_0x2c99b3),{reasonLine:_0x217c24,guidance:_0x575253}=noChangeMessageText(_0xfaffc3['filePath'],_0x561e99),_0x51ccc9=buildRecoveryContext(_0xfaffc3[_0x3a9743(0x7d6,_0x4eed31._0x3fa384,0x5e4,0x53c)],_0x1183c7,collectRequiredLines(_0xfaffc3[_0x3a9743(_0x4eed31._0x47a24e,_0x4eed31._0x490434,_0x4eed31._0x4df1b6,_0x4eed31._0x59dfa2)]),_0x3e2a17[_0x3a9743(0x582,0x58d,0x4e7,_0x4eed31._0x28aca7)],_0x217c24,_0x575253);_0x1391bd['record'](_0x1183c7,_0x51ccc9['contextLines']),throwNoChange(_0xfaffc3[_0x3a9743(_0x4eed31._0x286e15,_0x4eed31._0x3461e6,0x5e4,_0x4eed31._0x307075)],_0x18f7df[_0x3a9743(0x472,0x258,_0x4eed31._0x3e9709,_0x4eed31._0x15f14c)],_0x1183c7,_0x51ccc9,_0x561e99);}throw _0x134720;}return assertPreviewWithinBounds(_0x18fe70['blocks'],_0x18f7df[_0x3d6185(_0x4eed31._0x46bf79,_0x4eed31._0x13f06d,_0x4eed31._0x37c735,_0x4eed31._0x507642)],_0xfaffc3[_0x3d6185(_0x4eed31._0x1525df,_0x4eed31._0x22412d,_0x4eed31._0x5bc6b8,0x325)]),buildPreview(_0x40ae7d,_0xfaffc3,_0x18f7df,_0x4f86c2,_0x18fe70);}async function reResolveUnderLock(_0x446aeb,_0x5a86f7,_0x57baad,_0x267673){const _0x1981a3={_0xa7662b:0x658,_0x253123:0x377,_0x3a8fee:0x41a,_0x28f17a:0x668,_0x470788:0x65f,_0x362fb8:0x3ec,_0x186578:0x356,_0x1ca978:0x388,_0x4331f:0x228,_0x5e6dfe:0x3e2,_0x48e64d:0x117,_0x6339b8:0x72,_0x341af3:0x39a,_0x525d63:0x4e6,_0x106ea5:0x4be,_0x5de691:0x2c5,_0x3cd92c:0x53a,_0x4caa07:0x5f9,_0x2050d9:0x422,_0x4f442c:0x52e,_0x227ba3:0x222,_0x262e36:0x272,_0x417ec1:0x218},_0x1ae314={_0x1b5b3a:0x1cd},_0x37ce0a={_0x781f94:0x1b9};function _0x4b8805(_0x311b85,_0x2b42df,_0x10a09b,_0x216603){return _0x5885dd(_0x311b85-_0x37ce0a._0x781f94,_0x311b85,_0x10a09b-0x5,_0x2b42df- -0x1e);}let _0x4f6353;function _0x1937dc(_0x1d6e71,_0xa5bb8c,_0x1b9163,_0x3aef78){return _0x16ac01(_0x1d6e71-0x3e,_0x1d6e71-_0x1ae314._0x1b5b3a,_0x1b9163-0x179,_0xa5bb8c);}try{_0x4f6353=await resolveCanonicalAllowedFile(_0x446aeb,_0x5a86f7,_0x57baad[_0x4b8805(0x5c2,0x4ae,_0x1981a3._0xa7662b,_0x1981a3._0x253123)]);}catch(_0x5ce708){if(_0x5ce708 instanceof ToolExecutionError)throw _0x5ce708;const _0xd3e7ea=_0x5ce708 instanceof Error?_0x5ce708['message']:String(_0x5ce708);throw createAnchoredFileError(_0x1937dc(_0x1981a3._0x3a8fee,0x321,0x3bd,0x2dc),_0x4b8805(0x4ef,0x53a,_0x1981a3._0x28f17a,_0x1981a3._0x470788)+_0x57baad[_0x1937dc(0x40a,0x4e2,_0x1981a3._0x362fb8,_0x1981a3._0x186578)]+_0x1937dc(_0x1981a3._0x1ca978,_0x1981a3._0x4331f,_0x1981a3._0x5e6dfe,0x193)+_0xd3e7ea+_0x1937dc(_0x1981a3._0x48e64d,0x15a,-_0x1981a3._0x6339b8,0x49),{'path':_0x57baad[_0x4b8805(_0x1981a3._0x341af3,0x4ae,0x52f,_0x1981a3._0x525d63)]});}if(_0x4f6353[_0x4b8805(0x2de,0x2c6,0xcd,0x284)]!==_0x267673)throw createAnchoredFileError(_0x4b8805(0x583,_0x1981a3._0x106ea5,0x5c3,_0x1981a3._0x5de691),_0x4b8805(0x40d,_0x1981a3._0x3cd92c,0x43b,0x4d0)+_0x57baad[_0x4b8805(_0x1981a3._0x4caa07,0x4ae,0x297,_0x1981a3._0x2050d9)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x57baad[_0x4b8805(0x37d,0x4ae,0x311,_0x1981a3._0x4f442c)],'canonicalPath':_0x4f6353[_0x1937dc(_0x1981a3._0x227ba3,_0x1981a3._0x262e36,_0x1981a3._0x417ec1,0x272)]});return _0x4f6353;}async function executeAnchoredFileEdit(_0x3a7853,_0x435f31,_0x37c120,_0xac3a72,_0x381a37=defaultFileSystem2){const _0x2fd09f={_0x448c4d:0x19a,_0x51032f:0x3ba,_0x3602aa:0x323,_0x13ca9c:0x121,_0x44abec:0x89,_0x2cb50d:0xeb,_0x4c3ba1:0x681,_0x43911f:0x55e},_0x3aeea2={_0x4e913b:0x447,_0x4949ed:0x501,_0x18fe75:0x7ac,_0x3e755c:0x811,_0x23084f:0x639,_0x512adc:0x853,_0x1b7f01:0x6df,_0xc90a99:0x54c,_0x26ea83:0x84,_0x3c57ca:0x1fe,_0x41aac7:0x120,_0x32a6e5:0x274,_0x444a4a:0x451,_0xc84b4d:0x586,_0x237c8a:0x2b,_0x17ff6e:0x97,_0x1e1d41:0x751,_0x29f28f:0x140,_0x4ab4f9:0x1b5,_0x12b6f8:0x4fd,_0x3ca938:0x788,_0x930cb4:0x502,_0x54ed06:0x2fd,_0x44616e:0x40c,_0x2dee15:0x4c9,_0x232070:0x58b,_0x436982:0xcd,_0x2c687f:0x478,_0x2729e6:0x4ed,_0x77f609:0x4e2,_0x413b63:0x4fa,_0x4490ec:0x577,_0xf63c99:0x3a8,_0x500523:0x1aa,_0x84adde:0x2a4,_0x44effa:0x32e,_0x57b809:0x2e8,_0x44cc78:0x408,_0x371e8b:0x17f,_0x4adf28:0x2b,_0x2a4d59:0x22b,_0x547e59:0x54,_0x2f4a74:0x120,_0x16eb7e:0x2c7,_0x4d03db:0x24f,_0x58eadc:0x1da,_0x4ff344:0x11a,_0x2681bf:0x29d,_0x231399:0x320,_0x5d65a3:0x16d,_0x598c92:0x1a6,_0xb88489:0x550,_0x4a6bc8:0x626,_0x17645f:0x7b3,_0x3634fc:0x67f,_0x1a1dc8:0x5e8,_0x472080:0x54f,_0x16ce2c:0x5c3,_0x4ab4d4:0x52c,_0x217be1:0x1e4,_0x261399:0x308,_0x43ab14:0x202,_0x1b68f0:0x2a6,_0x45302f:0x3fc,_0x1abe8c:0x5d4,_0x10e3fb:0x494,_0x44f2fe:0x4a8,_0x1498a1:0x6b1,_0x39d872:0x5f1,_0x4a7300:0x56b,_0x501122:0x766,_0x242074:0x27d,_0xe434e5:0x288,_0x5d0e7f:0x2fb,_0x1972ca:0x245,_0x3c7482:0x2e5,_0x15e170:0x62d,_0x34b0b4:0x49b,_0x4d0cea:0x467,_0x1be1d1:0x585,_0xc4c8e8:0x47a,_0x598184:0x48e,_0x41409c:0x308,_0x185214:0x1b2,_0x3d2513:0x14a,_0x4e9eff:0x22,_0x14317c:0x122,_0x5ba920:0x210,_0x24f1cf:0x2ab,_0x5b3a55:0x776,_0x41cfc4:0x433,_0x2baf8d:0x2cb,_0x526288:0x49b,_0x52d039:0x3af,_0x2c4d4d:0x214,_0x17745b:0x1c7,_0x5f27b5:0x161,_0x3fe43c:0x725,_0xfa7f92:0x174,_0x5835f5:0x1a9,_0x4b7c92:0x2f,_0x33baa3:0x193,_0x45b40d:0x3fa,_0x128dfb:0x336,_0x33309c:0x423,_0x22a899:0x40d,_0x4798d5:0x39d,_0x5e1565:0x4,_0x519e50:0xdc,_0x2e7d16:0x1c,_0x97c8ee:0x1a2,_0x2df847:0x60a,_0x10ef5d:0x545,_0xf3e463:0x55a,_0x24fd6b:0x426,_0x3012c1:0x40b,_0x5ce5db:0x5f8,_0x134d4b:0x401,_0x351c57:0x2a,_0x107a13:0x20,_0x2bb7a7:0xd1,_0x30ed44:0x475,_0x3548e0:0x64d,_0x35ad6b:0x30d,_0x1555e2:0x25a,_0x39cf40:0x3c1,_0x445d13:0x729,_0x861f47:0x3b2,_0x2e9293:0xb1,_0x2b4467:0x3f,_0x567430:0x118,_0x3a2d32:0x96,_0x5b21c1:0x2bc,_0x3f7354:0x3c5,_0xd4b724:0x4c9,_0x1df3a3:0x313,_0x2cea9f:0x290,_0x20ae71:0x23e,_0x574407:0x159,_0x387ba1:0x138,_0x3e9cf5:0x6d,_0x197fe1:0x87,_0x5eb487:0x4d8,_0x118207:0x308,_0x40c151:0x62,_0x4ec6d7:0x28,_0x1aeb24:0x1a3,_0x1864c1:0x477,_0x26708e:0x50f,_0x253b3c:0x142,_0x5774ef:0x308,_0x2f4bf6:0x1af,_0xe8a83d:0x2d7,_0x218301:0x48d,_0x619ebf:0x596,_0x56f951:0x232,_0x225abc:0x3d4,_0xbf154b:0x584,_0x720af2:0x3d0,_0x230d34:0x7a1,_0x226095:0x69,_0x38fd7e:0x1dc,_0x1b1c94:0x66,_0x4b6499:0x127,_0x1cec22:0x77a,_0x5c1969:0x62d,_0x221aca:0x4c2,_0x10ff00:0x814,_0x518d5f:0x6b1,_0x5e4826:0x655,_0x50fea0:0x10c,_0x369481:0x42,_0x5779c5:0x16,_0x7c12ce:0x7e,_0x1dcc3e:0x4bc,_0x79f83a:0x54a,_0x5ab63a:0x432,_0xb5b4eb:0x61,_0x116d5e:0x211,_0x24e0ce:0x4b8,_0x276be:0x79d,_0x504e4c:0x70a,_0x2e1207:0x6c7,_0x44ccfa:0xa2,_0x536bb0:0xc6,_0x128774:0x139,_0x133dfe:0x409,_0x1968e0:0x713,_0x55b459:0x622,_0x21d3a1:0x4ec,_0x1d9c2f:0x581,_0x4641a5:0x7fc,_0x5106fa:0x710,_0x3d6b76:0x458,_0x4bb3db:0x2c2,_0x52a1ec:0x25d,_0x16d5e1:0x24c,_0x2cd425:0x53b,_0x58500d:0x6f8},_0x5f0cec={_0x3a8e75:0xfd,_0x242005:0x97},_0x3d1f17={_0x544225:0x112},_0x1b19f2={_0x372bf4:0xab};function _0x2d5437(_0x459500,_0x2d2c51,_0x3d04bd,_0x53ba19){return _0x5885dd(_0x459500-0x65,_0x53ba19,_0x3d04bd-_0x1b19f2._0x372bf4,_0x3d04bd- -0x25b);}const _0x4a25f2=parseAnchoredInput(_0x3a7853,_0x435f31);function _0x25089c(_0x14dca2,_0x2275df,_0x112dab,_0x35d61d){return _0x16ac01(_0x14dca2-_0x3d1f17._0x544225,_0x35d61d-0x57f,_0x112dab-0x140,_0x2275df);}const _0x1041e4=await resolveEditTarget(_0xac3a72['defaultCwd'],_0xac3a72[_0x25089c(0x54e,0x7c9,0x7b7,0x5eb)],_0x4a25f2[_0x2d5437(_0x2fd09f._0x448c4d,_0x2fd09f._0x51032f,0x271,_0x2fd09f._0x3602aa)]);return _0xac3a72['mutations'][_0x2d5437(_0x2fd09f._0x13ca9c,-0x18a,-0xd2,-0xaf)](_0x1041e4[_0x2d5437(0x1dc,0x41,_0x2fd09f._0x44abec,_0x2fd09f._0x2cb50d)],_0x37c120[_0x25089c(_0x2fd09f._0x4c3ba1,0x700,0x36e,_0x2fd09f._0x43911f)],async()=>{const _0x2b64e9={_0x4ee9a6:0x1d,_0x1882c8:0x440},_0x9d9a61=await reResolveUnderLock(_0xac3a72['defaultCwd'],_0xac3a72['allowedDirs'],_0x4a25f2,_0x1041e4[_0xcaeea4(_0x3aeea2._0x4e913b,0x521,0x4c9,_0x3aeea2._0x4949ed)]);function _0xf93cec(_0x24631c,_0x52b8dc,_0x20343f,_0x477624){return _0x2d5437(_0x24631c-_0x5f0cec._0x3a8e75,_0x52b8dc-0xff,_0x477624-_0x5f0cec._0x242005,_0x20343f);}const {observations:_0xd35195}=_0xac3a72;_0xd35195[_0xcaeea4(_0x3aeea2._0x18fe75,_0x3aeea2._0x3e755c,0x6fc,_0x3aeea2._0x4949ed)](_0x37c120['sessionId']);const _0x4a3de9=_0xd35195[_0xcaeea4(_0x3aeea2._0x23084f,_0x3aeea2._0x512adc,_0x3aeea2._0x1b7f01,_0x3aeea2._0xc90a99)](_0x9d9a61[_0xf93cec(-_0x3aeea2._0x26ea83,0x26,_0x3aeea2._0x3c57ca,_0x3aeea2._0x41aac7)],_0x4a25f2['tag']);let _0x2d4382,_0x11feef;try{[_0x2d4382,_0x11feef]=await Promise[_0xcaeea4(0x30f,_0x3aeea2._0x32a6e5,_0x3aeea2._0x444a4a,_0x3aeea2._0xc84b4d)]([_0x381a37['readFile'](_0x9d9a61['canonicalPath']),_0x381a37[_0xf93cec(0x8f,0x289,0x297,0x225)](_0x9d9a61[_0xf93cec(-_0x3aeea2._0x237c8a,_0x3aeea2._0x17ff6e,0xc1,0x120)])]);}catch(_0x300ba4){const _0x17a143=_0x300ba4 instanceof Error?_0x300ba4['message']:String(_0x300ba4);throw createAnchoredFileError(_0xcaeea4(_0x3aeea2._0x1e1d41,0x655,0x6c1,0x884),_0xf93cec(0x182,_0x3aeea2._0x29f28f,0x174,_0x3aeea2._0x4ab4f9)+_0x4a25f2[_0xcaeea4(_0x3aeea2._0x12b6f8,_0x3aeea2._0x3ca938,0x6b1,0x5a2)]+'\x20while\x20the\x20edit\x20was\x20pending\x20('+_0x17a143+_0xcaeea4(0x4b6,0x34a,0x3be,_0x3aeea2._0x930cb4),{'path':_0x4a25f2['filePath']});}const _0xadd26d=createNormalizedFileSnapshot(_0x9d9a61[_0xcaeea4(_0x3aeea2._0x54ed06,_0x3aeea2._0x44616e,_0x3aeea2._0x2dee15,_0x3aeea2._0x232070)],_0x2d4382);if(_0xadd26d[_0xf93cec(-_0x3aeea2._0x436982,0x267,0x2a6,0x139)]!==_0x4a3de9[_0xcaeea4(0x7fb,0x3e3,0x5f8,_0x3aeea2._0x2c687f)][_0xcaeea4(_0x3aeea2._0x2729e6,0x334,_0x3aeea2._0x77f609,_0x3aeea2._0x413b63)]){const {reasonLine:_0x42166e,guidance:_0x2a7c38}=staleSnapshotMessageText(_0x4a25f2[_0xcaeea4(0x7c2,0x4aa,0x6b1,_0x3aeea2._0x4490ec)],_0x4a25f2[_0xf93cec(_0x3aeea2._0xf63c99,_0x3aeea2._0x500523,0x4a1,_0x3aeea2._0x84adde)]),_0x183c54=buildRecoveryContext(_0x4a25f2[_0xf93cec(_0x3aeea2._0x44effa,_0x3aeea2._0x57b809,0x1f2,0x308)],_0xadd26d,collectRequiredLines(_0x4a25f2[_0xf93cec(-0x6c,0x26c,0x145,0xf2)]),_0xac3a72[_0xf93cec(_0x3aeea2._0x44cc78,0x207,0x170,0x20b)],_0x42166e,_0x2a7c38);_0xd35195[_0xf93cec(_0x3aeea2._0x371e8b,0x36d,_0x3aeea2._0x4adf28,_0x3aeea2._0x2a4d59)](_0xadd26d,_0x183c54['contextLines']),throwStaleSnapshot(_0x4a25f2['filePath'],_0x9d9a61[_0xf93cec(0xe3,_0x3aeea2._0x547e59,0x1f5,_0x3aeea2._0x2f4a74)],_0xadd26d,_0x183c54);}let _0x1988c6;try{_0x1988c6=prepareCanonicalFileEdit(_0x4a3de9[_0xf93cec(_0x3aeea2._0x16eb7e,0x1aa,0x326,_0x3aeea2._0x4d03db)],_0x4a3de9[_0xcaeea4(0x4d3,0x34b,0x388,_0x3aeea2._0x58eadc)],_0x4a25f2[_0xf93cec(0x179,0x2f3,_0x3aeea2._0x4ff344,0xf2)]);}catch(_0x3d8176){if(_0x3d8176 instanceof ToolExecutionError&&_0x3d8176[_0xf93cec(_0x3aeea2._0x2681bf,_0x3aeea2._0x231399,_0x3aeea2._0x5d65a3,_0x3aeea2._0x598c92)][_0xcaeea4(0x5d7,_0x3aeea2._0xb88489,_0x3aeea2._0x4a6bc8,_0x3aeea2._0x17645f)]==='unseen_lines'){const _0x1f56a5=_0x3d8176[_0xcaeea4(_0x3aeea2._0x3634fc,_0x3aeea2._0x1a1dc8,_0x3aeea2._0x472080,_0x3aeea2._0x16ce2c)][_0xcaeea4(0x6c3,_0x3aeea2._0x4ab4d4,0x6f6,0x69f)]??collectRequiredLines(_0x4a25f2[_0xf93cec(0x223,-0x116,_0x3aeea2._0x217be1,0xf2)]),{reasonLine:_0x53dbc3,guidance:_0x5e04e7}=unseenLinesMessageText(),_0x4381e0=buildRecoveryContext(_0x4a25f2[_0xf93cec(0x104,0x3fc,0x480,_0x3aeea2._0x261399)],_0xadd26d,_0x1f56a5,_0xac3a72[_0xf93cec(_0x3aeea2._0x43ab14,_0x3aeea2._0x1b68f0,0x1b0,0x20b)],_0x53dbc3,_0x5e04e7);_0xd35195[_0xcaeea4(0x5a0,_0x3aeea2._0x45302f,_0x3aeea2._0x1abe8c,0x57d)](_0xadd26d,_0x4381e0[_0xcaeea4(_0x3aeea2._0x10e3fb,0x6c8,0x585,0x743)]),throwUnseenLines(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x44f2fe,0x581,_0x3aeea2._0x1498a1,_0x3aeea2._0x39d872)],_0x9d9a61['canonicalPath'],_0xadd26d,_0x1f56a5,_0x4381e0);}if(_0x3d8176 instanceof ToolExecutionError&&_0x3d8176[_0xcaeea4(_0x3aeea2._0x4a7300,_0x3aeea2._0x501122,0x54f,0x5c6)][_0xf93cec(0x218,0x416,0x300,_0x3aeea2._0x242074)]===_0xf93cec(0x7d,_0x3aeea2._0xe434e5,_0x3aeea2._0x5d0e7f,_0x3aeea2._0x1972ca)){const {reasonLine:_0x7e46ca,guidance:_0x5c91d0}=noChangeMessageText(_0x4a25f2[_0xcaeea4(0x8a1,0x8a3,0x6b1,0x782)],0x1),_0x22ecec=buildRecoveryContext(_0x4a25f2['filePath'],_0xadd26d,collectRequiredLines(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x3c7482,_0x3aeea2._0x15e170,_0x3aeea2._0x34b0b4,0x666)]),_0xac3a72['outputBudgetBytes'],_0x7e46ca,_0x5c91d0);_0xd35195[_0xf93cec(0x37c,0x361,0x23b,_0x3aeea2._0x2a4d59)](_0xadd26d,_0x22ecec[_0xcaeea4(_0x3aeea2._0x4d0cea,0x652,_0x3aeea2._0x1be1d1,_0x3aeea2._0xc4c8e8)]),throwNoChange(_0x4a25f2[_0xf93cec(_0x3aeea2._0x598184,0x3da,0x31e,_0x3aeea2._0x41409c)],_0x9d9a61['canonicalPath'],_0xadd26d,_0x22ecec,0x1);}throw _0x3d8176;}assertPreviewWithinBounds(_0x1988c6[_0xf93cec(-_0x3aeea2._0x185214,-_0x3aeea2._0x3d2513,-_0x3aeea2._0x4e9eff,-0x42)],_0x9d9a61[_0xf93cec(_0x3aeea2._0x14317c,_0x3aeea2._0x5ba920,_0x3aeea2._0x24f1cf,0x120)],_0x4a25f2[_0xcaeea4(0x751,_0x3aeea2._0x5b3a55,_0x3aeea2._0x1498a1,0x7e1)]);function _0xcaeea4(_0x3eecc2,_0xa638a6,_0x36013d,_0x503e02){return _0x2d5437(_0x3eecc2-0xf0,_0xa638a6-_0x2b64e9._0x4ee9a6,_0x36013d-_0x2b64e9._0x1882c8,_0xa638a6);}const _0x1c62cf=_0x1988c6[_0xcaeea4(_0x3aeea2._0x41cfc4,_0x3aeea2._0x2baf8d,_0x3aeea2._0x526288,_0x3aeea2._0x52d039)][_0xf93cec(0x57,0x10e,_0x3aeea2._0x2c4d4d,_0x3aeea2._0x17745b)],_0xfb01a9=serializeNormalizedFile(_0x1988c6['afterText'],{'bom':_0xadd26d[_0xf93cec(0x8d,-_0x3aeea2._0x5f27b5,0x15c,-0x29)],'eol':_0xadd26d['eol']}),_0x316dc4=_0x11feef[_0xcaeea4(0x520,0x8cb,_0x3aeea2._0x3fe43c,0x51b)];if(_0x4a25f2[_0xf93cec(-_0x3aeea2._0xfa7f92,_0x3aeea2._0x5835f5,-0x1d9,-_0x3aeea2._0x4b7c92)]){const _0x3d39e1=buildResultText(_0x4a25f2['filePath'],_0xadd26d,selectChangedContextLines(_0x1988c6[_0xf93cec(-0x250,-_0x3aeea2._0x33baa3,0x142,-0x42)],_0xadd26d,_0xf93cec(_0x3aeea2._0x45b40d,_0x3aeea2._0x128dfb,_0x3aeea2._0x33309c,0x384)),_0xac3a72[_0xcaeea4(_0x3aeea2._0x22a899,0x4c4,0x5b4,0x5d2)],_0xf93cec(0x194,0x43d,0x3d3,_0x3aeea2._0x4798d5)+_0x1c62cf+_0xf93cec(_0x3aeea2._0x5e1565,_0x3aeea2._0x519e50,-_0x3aeea2._0x2e7d16,_0x3aeea2._0x97c8ee));_0xd35195[_0xcaeea4(_0x3aeea2._0x2df847,_0x3aeea2._0x10ef5d,0x5d4,0x4ec)](_0xadd26d,_0x3d39e1[_0xcaeea4(0x1ac,0x1b2,0x388,_0x3aeea2._0xf3e463)]);const _0x320cff={'preview':buildPreview(_0x3a7853,_0x4a25f2,_0x9d9a61,_0x4a3de9,_0x1988c6),'beforeDigest':_0x4a3de9[_0xcaeea4(_0x3aeea2._0x24fd6b,_0x3aeea2._0x3012c1,_0x3aeea2._0x5ce5db,0x535)][_0xcaeea4(0x47b,0x4cc,0x4e2,_0x3aeea2._0x134d4b)],'afterDigest':_0xadd26d[_0xf93cec(_0x3aeea2._0x351c57,-_0x3aeea2._0x107a13,-_0x3aeea2._0x2bb7a7,0x139)],'beforeTag':_0x4a25f2['tag'],'afterTag':_0xadd26d[_0xcaeea4(0x7c8,_0x3aeea2._0x30ed44,_0x3aeea2._0x3548e0,0x48d)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x1c62cf,'tokenClassification':_0xf93cec(_0x3aeea2._0x35ad6b,_0x3aeea2._0x1555e2,_0x3aeea2._0x39cf40,0x24c)};return createToolOutput(_0x3d39e1[_0xcaeea4(0x61f,0x7ee,_0x3aeea2._0x445d13,0x89c)],_0x320cff);}try{await _0x381a37['atomicWrite'](_0x9d9a61['canonicalPath'],_0xfb01a9,_0x316dc4);}catch(_0x43ac4e){const _0x3bdb0f=_0x43ac4e instanceof Error?_0x43ac4e['message']:String(_0x43ac4e);throw createAnchoredFileError(_0xcaeea4(0x45c,0x534,_0x3aeea2._0x861f47,0x343),_0xf93cec(0x185,_0x3aeea2._0x2e9293,0x1fe,0x213)+_0x4a25f2['filePath']+':\x20'+_0x3bdb0f+_0xf93cec(_0x3aeea2._0x2b4467,-0xda,-_0x3aeea2._0x567430,0x92),{'path':_0x4a25f2['filePath'],'canonicalPath':_0x9d9a61[_0xf93cec(0x2c2,_0x3aeea2._0x3a2d32,-_0x3aeea2._0x3a2d32,0x120)]});}let _0x28a147,_0x5257e7;try{[_0x28a147,_0x5257e7]=await Promise[_0xf93cec(0xd8,-0x113,_0x3aeea2._0x5b21c1,0xa8)]([_0x381a37['readFile'](_0x9d9a61[_0xcaeea4(0x5bd,_0x3aeea2._0x3f7354,_0x3aeea2._0xd4b724,0x66f)]),_0x381a37[_0xf93cec(0x18d,0x236,_0x3aeea2._0x1df3a3,0x225)](_0x9d9a61['canonicalPath'])]);}catch(_0x4c7fa3){const _0xa974f=_0x4c7fa3 instanceof Error?_0x4c7fa3[_0xf93cec(_0x3aeea2._0x2cea9f,0x164,_0x3aeea2._0x20ae71,_0x3aeea2._0x574407)]:String(_0x4c7fa3);throw createAnchoredFileError(_0xf93cec(-0x3f,_0x3aeea2._0x387ba1,0x12a,0xe8),_0xf93cec(0xa4,-_0x3aeea2._0x3e9cf5,_0x3aeea2._0x197fe1,0x17)+_0x4a25f2[_0xf93cec(0x120,_0x3aeea2._0x5eb487,0x32a,_0x3aeea2._0x118207)]+_0xf93cec(_0x3aeea2._0x40c151,-0x35,_0x3aeea2._0x4ec6d7,_0x3aeea2._0x1aeb24)+_0xa974f+_0xcaeea4(0x275,_0x3aeea2._0x1864c1,0x3b1,_0x3aeea2._0x861f47),{'path':_0x4a25f2[_0xf93cec(0x3fb,0x1ec,_0x3aeea2._0x26708e,0x308)],'canonicalPath':_0x9d9a61['canonicalPath']});}if(!_0x28a147['equals'](_0xfb01a9)||(_0x5257e7['mode']&0x1ff)!==(_0x316dc4&0x1ff)){const _0x13cd65='post_write_drift:\x20'+_0x4a25f2[_0xf93cec(0x472,0x306,_0x3aeea2._0x253b3c,_0x3aeea2._0x5774ef)]+_0xcaeea4(0x395,0x447,0x335,_0x3aeea2._0x2f4bf6),_0x43afed='The\x20write\x20landed,\x20but\x20the\x20read-back\x20did\x20not\x20match\x20the\x20intended\x20bytes\x20or\x20permissions.\x20No\x20rollback\x20was\x20performed;\x20re-read\x20with\x20FileRead\x20to\x20confirm\x20the\x20current\x20state.';let _0x9d4fef;try{_0x9d4fef=createNormalizedFileSnapshot(_0x9d9a61[_0xcaeea4(_0x3aeea2._0xe8a83d,_0x3aeea2._0x218301,0x4c9,0x57f)],_0x28a147);}catch{_0x9d4fef=void 0x0;}let _0x2651d0;_0x9d4fef!==void 0x0?(_0x2651d0=buildRecoveryContext(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x619ebf,0x4ad,0x6b1,0x65d)],_0x9d4fef,selectChangedContextLines(_0x1988c6[_0xcaeea4(_0x3aeea2._0x56f951,_0x3aeea2._0x225abc,0x367,0x299)],_0x9d4fef,'after'),_0xac3a72[_0xcaeea4(0x745,_0x3aeea2._0xbf154b,0x5b4,0x54e)],_0x13cd65,_0x43afed),_0xd35195[_0xcaeea4(_0x3aeea2._0x720af2,0x57f,_0x3aeea2._0x1abe8c,_0x3aeea2._0x230d34)](_0x9d4fef,_0x2651d0[_0xf93cec(0x24f,_0x3aeea2._0x226095,0x314,_0x3aeea2._0x38fd7e)])):_0x2651d0={'tag':'','digest':'','contextLines':[],'output':_0x13cd65+'\x0a'+_0x43afed};throw createAnchoredFileError(_0xf93cec(0x163,_0x3aeea2._0x41aac7,0x14f,0xe8),_0x2651d0[_0xcaeea4(0x7cb,0x544,0x729,0x6a2)],{'path':_0x4a25f2['filePath'],'canonicalPath':_0x9d9a61['canonicalPath'],..._0x9d4fef!==void 0x0?{'tag':_0x9d4fef['tag'],'digest':_0x9d4fef['digest']}:{},..._0x2651d0[_0xf93cec(0xf1,_0x3aeea2._0x1b1c94,_0x3aeea2._0x4b6499,_0x3aeea2._0x38fd7e)][_0xcaeea4(0x369,0x52d,0x570,_0x3aeea2._0x1cec22)]>0x0?{'contextLines':[..._0x2651d0[_0xcaeea4(_0x3aeea2._0x598184,_0x3aeea2._0x5c1969,0x585,_0x3aeea2._0x221aca)]]}:{}});}const _0x2142fa=createNormalizedFileSnapshot(_0x9d9a61[_0xcaeea4(0x523,0x652,0x4c9,0x630)],_0x28a147),_0x57712c=buildResultText(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x10ff00,0x7d7,_0x3aeea2._0x518d5f,_0x3aeea2._0x5e4826)],_0x2142fa,selectChangedContextLines(_0x1988c6[_0xf93cec(-0x226,-_0x3aeea2._0x3e9cf5,-_0x3aeea2._0x50fea0,-_0x3aeea2._0x369481)],_0x2142fa,_0xf93cec(_0x3aeea2._0x5779c5,0x1d,-0x128,-_0x3aeea2._0x7c12ce)),_0xac3a72[_0xf93cec(0x178,0x1b6,0x3c7,0x20b)],_0xcaeea4(0x49a,0x1fb,0x352,_0x3aeea2._0x1dcc3e)+_0x1c62cf+_0xcaeea4(0x56b,_0x3aeea2._0x79f83a,0x4ff,_0x3aeea2._0x5ab63a));_0xd35195[_0xf93cec(0x41e,_0x3aeea2._0xb5b4eb,0x66,_0x3aeea2._0x2a4d59)](_0x2142fa,_0x57712c[_0xcaeea4(_0x3aeea2._0x116d5e,0x341,0x388,_0x3aeea2._0x24e0ce)]),_0xd35195[_0xcaeea4(_0x3aeea2._0x276be,_0x3aeea2._0x504e4c,_0x3aeea2._0x2e1207,0x734)](_0x9d9a61['canonicalPath']);const _0x1272df={'preview':buildPreview(_0x3a7853,_0x4a25f2,_0x9d9a61,_0x4a3de9,_0x1988c6),'beforeDigest':_0x4a3de9['snapshot'][_0xf93cec(0x10c,_0x3aeea2._0x44ccfa,_0x3aeea2._0x536bb0,_0x3aeea2._0x128774)],'afterDigest':_0x2142fa[_0xcaeea4(0x375,0x5f0,0x4e2,_0x3aeea2._0x133dfe)],'beforeTag':_0x4a25f2[_0xcaeea4(_0x3aeea2._0x1968e0,_0x3aeea2._0x55b459,_0x3aeea2._0x3548e0,_0x3aeea2._0x21d3a1)],'afterTag':_0x2142fa[_0xcaeea4(0x58a,_0x3aeea2._0x1d9c2f,0x64d,_0x3aeea2._0x4641a5)],'bytesWritten':_0xfb01a9[_0xcaeea4(_0x3aeea2._0x5106fa,0x70c,0x570,0x515)],'dryRun':![],'operationCount':_0x1c62cf,'tokenClassification':_0xf93cec(_0x3aeea2._0x3d6b76,_0x3aeea2._0x4bb3db,_0x3aeea2._0x52a1ec,_0x3aeea2._0x16d5e1)};return createToolOutput(_0x57712c[_0xcaeea4(_0x3aeea2._0x2cd425,_0x3aeea2._0x58500d,0x729,0x8b9)],_0x1272df);});}import{readFile as _0x4b1750,stat as _0x3e33ae}from'fs/promises';import*as _0x212bcd from'path';function detectEol(_0x189d32){const _0x2d4a1d={_0x3520b1:0x251,_0x372cd9:0x32b,_0x244b1f:0x223,_0x20dc76:0x137},_0x2ef7f4={_0x1cce24:0x4d5,_0x2fc167:0x6},_0x5412bc={_0x102ae2:0x77};function _0x37aaa3(_0x122880,_0x2f1356,_0x3463b9,_0x3a50fe){return _0x5885dd(_0x122880-0x9d,_0x122880,_0x3463b9-_0x5412bc._0x102ae2,_0x3a50fe- -0x133);}function _0x370aa9(_0x410eac,_0x102f35,_0x420f50,_0x481cc1){return _0x16ac01(_0x410eac-0x3a,_0x410eac-_0x2ef7f4._0x1cce24,_0x420f50-_0x2ef7f4._0x2fc167,_0x102f35);}return/\r\n/[_0x37aaa3(_0x2d4a1d._0x3520b1,_0x2d4a1d._0x372cd9,0x265,0x304)](_0x189d32[_0x370aa9(0x487,0x480,0x2a0,0x567)]('utf8'))?_0x37aaa3(0x125,_0x2d4a1d._0x244b1f,-_0x2d4a1d._0x20dc76,0x3f):'lf';}function normalizeToLf(_0x34e552){return _0x34e552['replace'](/\r\n/g,'\x0a');}function convertEol(_0x50a6a9,_0x410711){const _0x54afd3={_0x16942e:0x8f,_0x413ac0:0x124},_0x2e2c22={_0x2c90ef:0x20f};function _0x376ace(_0x8f0949,_0x22592e,_0x36e14a,_0x390e20){return _0x5885dd(_0x8f0949-0x66,_0x36e14a,_0x36e14a-0xe6,_0x8f0949- -_0x2e2c22._0x2c90ef);}return _0x410711===_0x376ace(-0x9d,-0x239,-_0x54afd3._0x16942e,_0x54afd3._0x413ac0)?_0x50a6a9['replace'](/\n/g,'\x0d\x0a'):_0x50a6a9;}function resolveAnchoredEditTarget(_0x4a5600,_0x122494,_0x2b11b1,_0x352ab9){const _0x573217={_0x303950:0x254,_0x26a455:0x2b3,_0x5ae73f:0x2e3,_0x4c5174:0x546,_0x5d60a1:0x3d6,_0x571548:0x2b,_0x332e72:0x26a,_0x402c92:0x1e9,_0x1fa40b:0x408,_0x2c8ea7:0x21e,_0xd7fddd:0x347,_0x28cdcd:0x47,_0x227b25:0x235,_0x53ef0d:0xcb,_0xbd6699:0x2fc},_0x344cc8={_0x4cc3d3:0xf1},_0x2e0581={_0x21a83c:0x34},_0x3c987b=_0x4a5600[_0x2d1d92(0x366,_0x573217._0x303950,0x23c,_0x573217._0x26a455)]??'exact';if(_0x3c987b==='exact')return void 0x0;const _0x2d0d13=_0x4a5600[_0x253f21(_0x573217._0x5ae73f,0x3f5,_0x573217._0x4c5174,_0x573217._0x5d60a1)],_0x5e0bce=_0x4a5600[_0x253f21(-_0x573217._0x571548,0x1e9,_0x573217._0x332e72,_0x573217._0x402c92)],_0x39a307=_0x4a5600[_0x253f21(0x4f3,_0x573217._0x1fa40b,_0x573217._0x2c8ea7,_0x573217._0xd7fddd)];function _0x253f21(_0x41357c,_0x25b77c,_0x3e5c79,_0x124200){return _0x5885dd(_0x41357c-_0x2e0581._0x21a83c,_0x3e5c79,_0x3e5c79-0x14,_0x124200- -0x88);}function _0x2d1d92(_0x36abad,_0x3c922a,_0x5cd3ec,_0x55cdf3){return _0x5885dd(_0x36abad-_0x344cc8._0x4cc3d3,_0x36abad,_0x5cd3ec-0x1c9,_0x5cd3ec- -0x304);}if(_0x2d0d13===void 0x0||_0x5e0bce===void 0x0||_0x39a307===void 0x0){const _0x2ff1bc=[_0x2d0d13===void 0x0?'observations':void 0x0,_0x5e0bce===void 0x0?_0x2d1d92(_0x573217._0x28cdcd,-0x182,-0x93,-_0x573217._0x227b25):void 0x0,_0x39a307===void 0x0?_0x2d1d92(-0x12f,0x9b,_0x573217._0x53ef0d,0x34):void 0x0]['filter'](_0x35e401=>_0x35e401!==void 0x0)['join'](',\x20');throw new Error(_0x122494+'\x20'+_0x3c987b+'\x20mode\x20requires\x20injected\x20'+_0x2ff1bc+_0x253f21(0x104,0x77,_0x573217._0xbd6699,0x23d));}return{'mode':_0x3c987b,'environment':{'defaultCwd':_0x2b11b1,'allowedDirs':_0x352ab9,'observations':_0x2d0d13,'mutations':_0x5e0bce,'outputBudgetBytes':_0x39a307}};}function createFileEditTool(_0x28f75f={}){const _0x55b0ce={_0x340de3:0x670,_0x2fb1ea:0x225,_0x47ac3f:0x287,_0x449f8a:0x19e,_0x288bed:0xeb,_0x4c5815:0x334,_0x3d015d:0x276,_0x122556:0xe3,_0x3ef7ec:0x14b,_0x2c55e0:0x6,_0x5f2355:0xe1,_0x20647c:0xc1,_0x4d5a22:0xf7,_0x7d4f14:0x144,_0x261981:0xc,_0x2d6a1b:0x31b,_0x3c3b00:0x3b7,_0x2189f0:0x602,_0x4e36ae:0x320,_0x421098:0x1ae,_0x3f5604:0x4da,_0x14ddd1:0x39a,_0x4ab4ac:0x5ba,_0x3e0d94:0x204,_0x3e4daf:0x647},_0x5bc412={_0x2e947c:0x417,_0x171be9:0x483,_0x2c6055:0x18c,_0x2d195d:0x2ee,_0x33308b:0xf1,_0x2f15a5:0x4d,_0x116113:0xb8,_0x197b05:0x20a,_0x5e008c:0x9,_0x35f5a6:0x121,_0x3a6844:0x81,_0x41c34e:0x401,_0x49bfb4:0x2d6,_0x52ae67:0x3d1,_0x45348a:0x414,_0x2ca4ce:0x91,_0x1afbd2:0x126,_0x6951e:0x125,_0x2d4247:0x2f1,_0x5f4bdc:0x438,_0x45ed2d:0xe0,_0x27f9e6:0x58,_0xcf608c:0x1c,_0x476b84:0x48b,_0x46a590:0x18d,_0x317723:0x417,_0x1e7bc7:0x450,_0x46d03c:0x17d,_0x5ea86d:0x281,_0x3d4425:0x21c,_0x3e080d:0xf9,_0x2bc59d:0x73,_0x3d587a:0x124,_0x3ccd30:0x26b,_0x2d7569:0x154,_0x26eb1a:0xcd,_0xee04:0x2d6,_0x4db410:0x1e1,_0x574628:0x387,_0xd7c2a7:0x305,_0x234707:0x22c,_0x234de3:0x1de},_0x53ec90={_0x4d6d5c:0x7f,_0x3a7a58:0x167},_0x5a1d19={_0x5a4e80:0x102,_0x326763:0x1c2},_0x55b3ec=_0x212bcd[_0x51e19a(0x4ee,0x4bd,_0x55b0ce._0x340de3,0x360)](_0x28f75f[_0x51e19a(0x360,0x1da,0x4d9,0x507)]??process[_0x51e19a(0x188,_0x55b0ce._0x2fb1ea,-0x8a,0x1ab)]()),_0x3bd8e4=_0x28f75f[_0x5b162b(_0x55b0ce._0x47ac3f,0xfb,_0x55b0ce._0x449f8a,_0x55b0ce._0x288bed)]??[],_0x27f589=_0x28f75f[_0x51e19a(0x49a,0x3b9,0x5a1,_0x55b0ce._0x4c5815)]??_0x51e19a(_0x55b0ce._0x3d015d,0x1f0,_0x55b0ce._0x122556,0x30a),_0x263b86=resolveAnchoredEditTarget(_0x28f75f,_0x27f589,_0x55b3ec,_0x3bd8e4);function _0x51e19a(_0x5c4291,_0x139f77,_0x69e92c,_0x4bb9eb){return _0x16ac01(_0x5c4291-_0x5a1d19._0x5a4e80,_0x5c4291-0x283,_0x69e92c-_0x5a1d19._0x326763,_0x139f77);}function _0x5b162b(_0x5bcf4b,_0x1a695a,_0x10f20a,_0x4f37be){return _0x16ac01(_0x5bcf4b-0x8f,_0x4f37be-_0x53ec90._0x4d6d5c,_0x10f20a-_0x53ec90._0x3a7a58,_0x5bcf4b);}if(_0x263b86!==void 0x0){const {mode:_0x451d7e,environment:_0x49b377}=_0x263b86;return defineTool({'name':_0x27f589,'permissionClass':_0x5b162b(-0x39,-0x167,-_0x55b0ce._0x3ef7ec,-0xf),'description':_0x451d7e===_0x5b162b(-0x43,0x11d,_0x55b0ce._0x2c55e0,_0x55b0ce._0x5f2355)?'Edit\x20a\x20UTF-8\x20text\x20file\x20using\x20a\x20snapshot-anchored\x20Hashline\x20patch.\x20Call\x20FileRead\x20first\x20to\x20obtain\x20the\x20current\x20[path#TAG]\x20header\x20and\x20N:\x20line\x20numbers;\x20every\x20edit\x20requires\x20that\x20tag,\x20and\x20all\x20line\x20numbers\x20below\x20refer\x20to\x20the\x20N:\x20rows\x20from\x20your\x20most\x20recent\x20read.\x20Reuse\x20the\x20fresh\x20#TAG\x20returned\x20by\x20a\x20successful\x20edit\x20for\x20the\x20next\x20edit\x20on\x20the\x20same\x20file;\x20re-read\x20only\x20when\x20you\x20need\x20unseen\x20line\x20numbers\x20or\x20a\x20tag\x20is\x20rejected.\x0aThe\x20patch\x20string\x20is\x20one\x20[path#TAG]\x20header\x20row\x20followed\x20by\x20one\x20or\x20more\x20commands,\x20each\x20applied\x20against\x20the\x20original\x20snapshot:\x0a-\x20PUT\x20START.=END:\x20replaces\x20lines\x20START\x20through\x20END\x20(inclusive)\x20with\x20the\x20payload\x20rows\x20that\x20follow;\x20each\x20payload\x20row\x20starts\x20with\x20+\x20(a\x20bare\x20+\x20is\x20a\x20blank\x20line).\x0a-\x20PUT\x20<N:\x20inserts\x20the\x20payload\x20rows\x20before\x20line\x20N.\x20PUT\x20>N:\x20inserts\x20them\x20after\x20line\x20N.\x0a-\x20CUT\x20START.=END\x20deletes\x20lines\x20START\x20through\x20END\x20(inclusive).\x0aExample\x20(replace\x20line\x202,\x20then\x20insert\x20after\x20line\x209):\x0a[src/app.ts#7F21A93C5D10]\x0aPUT\x202.=2:\x0a+const\x20result\x20=\x20calculate(input);\x0aPUT\x20>9:\x0a+return\x20result;\x0aUse\x20LF\x20line\x20endings\x20only\x20(no\x20carriage\x20returns).\x20At\x20most\x20100\x20operations\x20and\x20256\x20KiB\x20of\x20patch\x20text\x20per\x20call.':_0x5b162b(0x1b,-0x12f,-0x136,-_0x55b0ce._0x20647c),'inputSchema':_0x451d7e===_0x51e19a(0x2e5,0x4da,_0x55b0ce._0x4d5a22,0xd7)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x147251,_0x3fb911){return yield await executeAnchoredFileEdit(_0x451d7e,_0x147251,_0x3fb911,_0x49b377),void 0x0;}});}return defineTool({'name':_0x27f589,'permissionClass':_0x51e19a(0x1f5,_0x55b0ce._0x7d4f14,0x39b,_0x55b0ce._0x261981),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x5b162b(0x2ac,0x4d0,0x32f,_0x55b0ce._0x2d6a1b),'properties':{'filePath':{'type':'string'},'description':{'type':_0x51e19a(0x4da,0x6a9,_0x55b0ce._0x3c3b00,_0x55b0ce._0x2189f0),'description':_0x51e19a(0x277,0x23f,_0x55b0ce._0x4e36ae,_0x55b0ce._0x421098)},'oldText':{'type':_0x5b162b(0x110,0x315,0x330,0x2d6)},'newText':{'type':_0x51e19a(_0x55b0ce._0x3f5604,_0x55b0ce._0x14ddd1,_0x55b0ce._0x4ab4ac,0x536)},'dryRun':{'type':_0x5b162b(0x3a9,_0x55b0ce._0x3e0d94,0x10,0x219)}},'required':['filePath',_0x51e19a(0x473,0x2b1,0x286,_0x55b0ce._0x3e4daf),'newText']},async *'execute'(_0xa56d66){const _0x1a8544={_0x5d7f26:0xa9,_0x3f6d18:0x104},_0x4c60f4={_0x386b00:0x206,_0x105a68:0x17b},_0x4a1f7f=resolveAllowedPath(_0x55b3ec,_0x3bd8e4,_0xa56d66[_0x2a5983(_0x5bc412._0x2e947c,0x496,0x5c2,_0x5bc412._0x171be9)]);await assertWorkspaceFile(_0x4a1f7f);function _0x557e1e(_0x2cff86,_0x3c3fac,_0x12c7b6,_0x2699f8){return _0x51e19a(_0x2699f8- -_0x4c60f4._0x386b00,_0x3c3fac,_0x12c7b6-_0x4c60f4._0x105a68,_0x2699f8-0x1ce);}const _0x2c6ad0=await _0x3e33ae(_0x4a1f7f),_0xce71ad=await _0x4b1750(_0x4a1f7f),_0x2bc0b4=detectEol(_0xce71ad),_0x2c5efc=normalizeToLf(_0xce71ad[_0x2a5983(_0x5bc412._0x2c6055,_0x5bc412._0x2d195d,0x211,_0x5bc412._0x33308b)](_0x557e1e(0x131,-_0x5bc412._0x2f15a5,0x1,_0x5bc412._0x116113))),_0x21fa7c=normalizeToLf(_0xa56d66['oldText']),_0x1a9bc1=normalizeToLf(_0xa56d66[_0x557e1e(_0x5bc412._0x197b05,-_0x5bc412._0x5e008c,_0x5bc412._0x35f5a6,0x1ef)]),_0x1b4291=replaceFirstExact(_0x2c5efc,_0x21fa7c,_0x1a9bc1);if(_0x1b4291===void 0x0){const _0x3f37c9=_0x21fa7c[_0x557e1e(0x80,0x7,-0xe5,-_0x5bc412._0x3a6844)](0x0,0x64)[_0x557e1e(0x1f7,0x16c,_0x5bc412._0x41c34e,0x357)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x3f37c9+(_0x21fa7c[_0x2a5983(_0x5bc412._0x49bfb4,_0x5bc412._0x52ae67,0x2ca,0x2da)]>0x64?'...':'')+'\x22',{'filePath':_0xa56d66[_0x2a5983(0x417,0x292,_0x5bc412._0x45348a,0x255)]});}const _0x3ec05d=convertEol(_0x1b4291[_0x2a5983(_0x5bc412._0x2ca4ce,0x25d,-_0x5bc412._0x1afbd2,_0x5bc412._0x6951e)],_0x2bc0b4),_0xca26d=Buffer[_0x2a5983(_0x5bc412._0x2d4247,0x407,0x282,_0x5bc412._0x5f4bdc)](_0x3ec05d,'utf8'),_0x2db63c=sha256Bytes(_0xce71ad),_0x298193=sha256Bytes(_0xca26d);function _0x2a5983(_0x48fe71,_0x542d95,_0xd44379,_0x48f7db){return _0x51e19a(_0x48fe71- -_0x1a8544._0x5d7f26,_0x48f7db,_0xd44379-_0x1a8544._0x3f6d18,_0x48f7db-0x48);}const _0x48a25f=_0x2db63c===_0x298193,_0x37f56c=_0xa56d66[_0x2a5983(_0x5bc412._0x45ed2d,0x22e,-_0x5bc412._0x27f9e6,-_0x5bc412._0xcf608c)]??![];return!_0x37f56c&&!_0x48a25f&&await atomicReplaceFile(_0x4a1f7f,_0xca26d,_0x2c6ad0[_0x2a5983(_0x5bc412._0x476b84,0x593,0x613,0x4fb)]),yield createToolOutput(_0x48a25f?'No\x20changes\x20(content\x20identical).':_0x37f56c?_0x557e1e(_0x5bc412._0x46a590,0x4cd,0xc3,0x2c5):'Edit\x20applied\x20successfully.',{'filePath':_0xa56d66[_0x2a5983(0x417,0x520,0x431,_0x5bc412._0x317723)],'resolvedPath':_0x4a1f7f,'created':_0x2c6ad0[_0x557e1e(_0x5bc412._0x1e7bc7,0x35a,_0x5bc412._0x46d03c,0x31b)][_0x2a5983(_0x5bc412._0x5ea86d,0x16e,0x2be,0x27f)](),'modified':_0x2c6ad0[_0x557e1e(0x72,0x30c,_0x5bc412._0x3d4425,_0x5bc412._0x3e080d)][_0x557e1e(0x145,_0x5bc412._0x2bc59d,0x94,_0x5bc412._0x3d587a)](),'size':_0x2c6ad0['size'],'eol':_0x2bc0b4,'oldTextLength':_0x21fa7c[_0x2a5983(_0x5bc412._0x49bfb4,_0x5bc412._0x3ccd30,_0x5bc412._0x2d7569,_0x5bc412._0x26eb1a)],'newTextLength':_0x1a9bc1['length'],'bytesWritten':_0x48a25f||_0x37f56c?0x0:_0xca26d[_0x2a5983(_0x5bc412._0xee04,_0x5bc412._0x4db410,_0x5bc412._0x574628,0x2e1)],'beforeSha':_0x2db63c,'afterSha':_0x298193,'dryRun':_0x37f56c,'noChange':_0x48a25f,'lineNumbers':_0x1b4291[_0x2a5983(_0x5bc412._0xd7c2a7,_0x5bc412._0x234707,0x4c2,_0x5bc412._0x234de3)]}),void 0x0;}});}var FileMutationCoordinator=class{[_0x16ac01(0x3d7,0x26a,0x1b4,0x1f2)]=new Map();async['runExclusive'](_0xfaf40,_0x19e050,_0xa81ecc){const _0x217dd2={_0x3e4433:0x4eb,_0x32d690:0x380,_0x36bd65:0x376,_0x5f0ea5:0x1ea,_0x40e233:0x4c9,_0x115639:0x4fc,_0x4e5a44:0x2ef,_0x335e85:0x536},_0x55ebd5={_0x13eeb2:0x1e5,_0x49dcb5:0x40b,_0x23e8c0:0x368,_0x5366e7:0x230},_0x15a7ab={_0x35ea07:0xc1},_0x3c9667={_0x338295:0xd6,_0x96c328:0x4f1},_0xb209e2={_0x4aa30a:0x19f,_0x47d062:0x1f};throwIfAborted(_0x19e050);const _0x523202=this[_0x2f5ca0(_0x217dd2._0x3e4433,0x393,_0x217dd2._0x32d690,_0x217dd2._0x36bd65)][_0x2f5ca0(0x224,_0x217dd2._0x5f0ea5,0x2fe,0x3e1)](_0xfaf40)??Promise[_0x2f5ca0(0x323,_0x217dd2._0x40e233,0x2b7,0x377)]();function _0x2f5ca0(_0x168ad0,_0x522eb1,_0x5e1062,_0x2368b6){return _0x16ac01(_0x168ad0-_0xb209e2._0x4aa30a,_0x2368b6-0x10c,_0x5e1062-_0xb209e2._0x47d062,_0x168ad0);}const _0x19a4bb=_0x523202['then'](async()=>{return throwIfAborted(_0x19e050),_0xa81ecc();}),_0x9e2c83=_0x19a4bb[_0x2f5ca0(0x1cd,_0x217dd2._0x115639,0x473,0x3b0)](()=>void 0x0,()=>void 0x0);this[_0x2f5ca0(_0x217dd2._0x4e5a44,0x2e8,_0x217dd2._0x335e85,0x376)]['set'](_0xfaf40,_0x9e2c83);function _0x17ed1a(_0x3994d4,_0x2bd319,_0x490394,_0x25298a){return _0x16ac01(_0x3994d4-_0x3c9667._0x338295,_0x3994d4-_0x3c9667._0x96c328,_0x490394-0x18f,_0x25298a);}return void _0x9e2c83['finally'](()=>{const _0x41084f={_0x2c8f35:0x1f8,_0x34a67c:0x139,_0x55e2aa:0x68};function _0x5d1b72(_0x392a51,_0x112084,_0xf1b3d6,_0x382724){return _0x17ed1a(_0xf1b3d6- -0x3be,_0x112084-_0x15a7ab._0x35ea07,_0xf1b3d6-0x6c,_0x112084);}function _0x583992(_0xba85ce,_0x2805b1,_0x224211,_0x24433d){return _0x17ed1a(_0x224211- -_0x41084f._0x2c8f35,_0x2805b1-_0x41084f._0x34a67c,_0x224211-_0x41084f._0x55e2aa,_0x2805b1);}this[_0x5d1b72(0x513,_0x55ebd5._0x13eeb2,0x39d,_0x55ebd5._0x49dcb5)]['get'](_0xfaf40)===_0x9e2c83&&this[_0x5d1b72(_0x55ebd5._0x23e8c0,_0x55ebd5._0x5366e7,0x39d,0x1f3)]['delete'](_0xfaf40);}),_0x19a4bb;}};import{mkdir as _0x51b279,stat as _0x1d39d0}from'fs/promises';import*as _0x2031df from'path';function createFileNewTool(_0x3fddd5={}){const _0x24a39d={_0x127c54:0x23d,_0x2a8d64:0x7e,_0x5891e8:0x65,_0x1ddbcf:0x320,_0x265b09:0x1cc,_0x3ba2bb:0x7ef,_0x30cd48:0x20b,_0x12810f:0x1bd,_0xc3a902:0x7ac,_0xbf4594:0x86f,_0x4ebbc5:0x85d,_0x501bc8:0x65b,_0x4818e9:0x41d,_0x547d87:0x3fc,_0xbc1792:0x1c5,_0x55d084:0x35f,_0x4b30c9:0x39d},_0x48073a={_0x4e9814:0x2d8,_0x51ec5f:0x34d,_0x276c89:0x29f,_0x3eebf7:0x590,_0x321cf7:0x86,_0x3fe369:0x12d,_0x196a08:0x162,_0x4f466e:0x2be,_0x2d3635:0x3c1,_0x30b48a:0xe2,_0x56e08a:0x6a,_0x542e56:0x38a,_0x39bb78:0x518,_0x4c222e:0x16c,_0x4d571a:0x56,_0x4db8d8:0x360,_0x4b4d8a:0x532,_0x4d9b53:0x335,_0x401687:0x3e8,_0x1321dd:0xe,_0x579fd9:0x18,_0x46282f:0x2e,_0x2cebd8:0x3a2,_0x1c6328:0x364,_0x46a57c:0x43e,_0x568939:0x51d,_0x42df06:0x567,_0x2cb586:0x633,_0xec1b04:0x6f4,_0x3a2d0d:0x315,_0x43850c:0x52b},_0x154b0e={_0x53b6ed:0x295},_0x2e5045={_0x171a55:0x1ce,_0xa3a060:0x80},_0xd14311={_0x426d3f:0x163,_0x598147:0xc4};function _0x23c8c4(_0x39b444,_0x57e41b,_0x4520a2,_0x389d2d){return _0x16ac01(_0x39b444-_0xd14311._0x426d3f,_0x389d2d-0x160,_0x4520a2-_0xd14311._0x598147,_0x39b444);}const _0x1ce882=_0x2031df['resolve'](_0x3fddd5[_0x23c8c4(0x6e,0x21d,0x107,_0x24a39d._0x127c54)]??process[_0x23c8c4(0x5c,_0x24a39d._0x2a8d64,-0x22,_0x24a39d._0x5891e8)]());function _0x43b437(_0x358f60,_0x2eeec3,_0x5a1f0b,_0x5babad){return _0x16ac01(_0x358f60-0x82,_0x2eeec3-0x5bf,_0x5a1f0b-0x6a,_0x358f60);}const _0x1065ef=_0x3fddd5[_0x23c8c4(0x308,_0x24a39d._0x1ddbcf,0x259,_0x24a39d._0x265b09)]??[],_0x3193a1=_0x3fddd5['name']??_0x43b437(0x548,0x703,0x58a,_0x24a39d._0x3ba2bb),{observations:_0x5c7ccf,anchored:anchored=![]}=_0x3fddd5;return defineTool({'name':_0x3193a1,'permissionClass':_0x23c8c4(0x1c2,_0x24a39d._0x30cd48,_0x24a39d._0x12810f,0xd2),'description':_0x43b437(_0x24a39d._0xc3a902,_0x24a39d._0xbf4594,_0x24a39d._0x4ebbc5,_0x24a39d._0x501bc8),'inputSchema':{'type':_0x23c8c4(_0x24a39d._0x4818e9,0x283,0x210,_0x24a39d._0x547d87),'properties':{'filePath':{'type':'string'},'content':{'type':'string'}},'required':[_0x23c8c4(_0x24a39d._0xbc1792,0x273,_0x24a39d._0x55d084,_0x24a39d._0x4b30c9),'content']},async *'execute'(_0x5a8610,_0x42d088){const _0x420172=resolveAllowedPath(_0x1ce882,_0x1065ef,_0x5a8610[_0x31b8a6(0x4ea,0x522,0x364,0x487)]);function _0x31b8a6(_0x54b567,_0x348a90,_0x5c257e,_0x2079f1){return _0x43b437(_0x348a90,_0x5c257e- -0x498,_0x5c257e-_0x2e5045._0x171a55,_0x2079f1-_0x2e5045._0xa3a060);}function _0x430ad8(_0x13d0c0,_0x56e723,_0x48a0c3,_0x4b7562){return _0x43b437(_0x4b7562,_0x13d0c0- -_0x154b0e._0x53b6ed,_0x48a0c3-0x8f,_0x4b7562-0x17d);}const _0x564cdd=await _0x1d39d0(_0x420172)[_0x31b8a6(0x1c1,_0x48073a._0x4e9814,0x243,_0x48073a._0x51ec5f)](()=>void 0x0),_0x5676d3=_0x564cdd!==void 0x0,_0x39f565=Buffer[_0x430ad8(0x441,_0x48073a._0x276c89,_0x48073a._0x3eebf7,0x30b)](_0x5a8610[_0x31b8a6(_0x48073a._0x321cf7,0x358,0x1aa,0x200)],_0x31b8a6(_0x48073a._0x3fe369,0x287,_0x48073a._0x196a08,_0x48073a._0x4f466e)),_0x1212a8=_0x564cdd!==void 0x0?_0x564cdd[_0x31b8a6(_0x48073a._0x2d3635,0x28f,0x3d8,0x1d4)]&0xfff:0x1b6&~process[_0x31b8a6(_0x48073a._0x30b48a,0x258,0x233,_0x48073a._0x56e08a)]();let _0x562972;anchored&&_0x5c7ccf!==void 0x0&&(_0x562972=createNormalizedFileSnapshot(_0x420172,_0x39f565)[_0x430ad8(0x503,0x317,0x400,0x59b)]);await _0x51b279(_0x2031df[_0x430ad8(_0x48073a._0x542e56,0x490,_0x48073a._0x542e56,0x440)](_0x420172),{'recursive':!![]}),await atomicReplaceFile(_0x420172,_0x39f565,_0x1212a8);if(_0x562972!==void 0x0&&_0x5c7ccf!==void 0x0){const _0x55ba11=await resolveCanonicalAllowedFile(_0x1ce882,_0x1065ef,_0x5a8610['filePath']),_0x3505a7=createNormalizedFileSnapshot(_0x55ba11['canonicalPath'],_0x39f565);_0x5c7ccf[_0x430ad8(0x5b2,_0x48073a._0x39bb78,0x4d7,0x5ff)](_0x42d088[_0x31b8a6(-0x5b,-_0x48073a._0x4c222e,0x3a,_0x48073a._0x4d571a)]),_0x5c7ccf['record'](_0x3505a7,_0x3505a7[_0x31b8a6(0x3ff,0x507,_0x48073a._0x4db8d8,_0x48073a._0x4b4d8a)][_0x430ad8(0x1e9,_0x48073a._0x4d9b53,0x3df,_0x48073a._0x401687)]((_0x3cfb13,_0x3dd4f0)=>_0x3dd4f0+0x1));}return yield createToolOutput(_0x562972===void 0x0?_0x31b8a6(_0x48073a._0x1321dd,-_0x48073a._0x579fd9,_0x48073a._0x46282f,0x1b2)+_0x5a8610['filePath']+'.':'['+_0x5a8610[_0x31b8a6(_0x48073a._0x2cebd8,0x3b4,_0x48073a._0x1c6328,_0x48073a._0x46a57c)]+'#'+_0x562972+_0x430ad8(_0x48073a._0x568939,0x3b1,0x670,0x714)+_0x5a8610[_0x430ad8(_0x48073a._0x42df06,0x497,_0x48073a._0x2cb586,_0x48073a._0xec1b04)]+'.',{'filePath':_0x5a8610['filePath'],'resolvedPath':_0x420172,'bytes':_0x39f565[_0x31b8a6(0x389,0x289,0x223,_0x48073a._0x3a2d0d)],'lines':_0x5a8610['content']['split'](/\r?\n/)[_0x430ad8(0x426,_0x48073a._0x43850c,0x2f4,0x3e7)],'created':new Date()['toISOString'](),'overwritten':_0x5676d3,..._0x562972===void 0x0?{}:{'tag':_0x562972}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{['limits'];[_0x5885dd(0x3d9,0x3c8,0x4f2,0x486)];['sessionId'];['versionsByPath']=new Map();[_0x16ac01(-0xda,0x13a,0x15,0x6d)]=[];[_0x5885dd(0x1c7,0x261,0x47e,0x29d)]=0x0;[_0x16ac01(0x6f,0x58,0x74,-0x63)]=new Map();[_0x16ac01(0x47,-0x13e,-0x1aa,-0x34b)]=new Map();constructor(_0x286e49={}){const _0x545dab={_0x4b8933:0x337,_0x3adf96:0x18e,_0x3d34f1:0x4e2},_0x5b6bcd={_0x5bf7eb:0x19f,_0x3a27d1:0x7d,_0x42ce2d:0x134};function _0x98e0cd(_0x24a3d4,_0x171501,_0x5af2cf,_0xb42482){return _0x16ac01(_0x24a3d4-_0x5b6bcd._0x5bf7eb,_0xb42482- -_0x5b6bcd._0x3a27d1,_0x5af2cf-_0x5b6bcd._0x42ce2d,_0x5af2cf);}function _0x777f05(_0x31e1af,_0x45103d,_0x8b41b2,_0x54f82e){return _0x5885dd(_0x31e1af-0x130,_0x54f82e,_0x8b41b2-0x61,_0x8b41b2-0x248);}this['limits']={...FILE_OBSERVATION_LIMITS,..._0x286e49[_0x98e0cd(-0x1cb,-0x177,-_0x545dab._0x4b8933,-_0x545dab._0x3adf96)]},this[_0x98e0cd(0x17,0xde,0x17e,0x17a)]=_0x286e49[_0x777f05(_0x545dab._0x3d34f1,0x857,0x6ce,0x635)];}['bindSession'](_0x3c8a74){const _0x2d10de={_0x460805:0x4db,_0x37c2d2:0x69a};function _0x32c87f(_0x2a68de,_0x4ca12e,_0x2228e9,_0x41d33d){return _0x5885dd(_0x2a68de-0xe1,_0x2a68de,_0x2228e9-0xde,_0x2228e9-0x377);}if(this['sessionId']===_0x3c8a74)return;this['clear'](),this[_0x32c87f(_0x2d10de._0x460805,0x31d,0x519,_0x2d10de._0x37c2d2)]=_0x3c8a74;}[_0x5885dd(0x232,0x51f,0x54a,0x3ef)](_0x4b381c,_0x2360bb){const _0x27d732={_0x1b6913:0x1d,_0x188add:0x3e,_0x289ffb:0x83,_0x10d3c4:0x1fe,_0x45f147:0x137,_0x5c8358:0x57,_0x110d9a:0xbf,_0x24b199:0x1ad,_0x656357:0x29c,_0x291c82:0x17b,_0x22f073:0x387,_0x10eb1d:0xc0,_0x41a0cf:0x11f,_0x11869d:0xf4,_0x3b71a0:0x2f1,_0x27859f:0x13c,_0xde65a0:0x1cc,_0x581d9f:0x4f1,_0x41b605:0x2da,_0x37a1ea:0xc2,_0x5527b3:0x11e,_0x2cbcfd:0x33e,_0x3aad29:0x178,_0x2f801d:0x11,_0x59a328:0x16e,_0x39666f:0x129,_0x9adf97:0x49,_0x12c747:0x1a,_0x33caa9:0x398,_0x55996a:0x402,_0x114d9d:0x20f,_0xd19872:0x25e,_0xa5cd01:0x476,_0x303c69:0x30f,_0x55524e:0x1af,_0x3dbdc4:0x1f6,_0x5a1d14:0x2d7,_0x5e1d4b:0x20c,_0x2d824f:0x154,_0x369b88:0x17,_0x37b72f:0x1b3,_0xb247ec:0x2a6,_0x467bc3:0xc9,_0x64d275:0x8f,_0x1565ea:0x1a0,_0x5950d9:0x73,_0xde3ad2:0xe6,_0x1f10ed:0x1a3,_0x334996:0x15a,_0x679340:0x90,_0x51c9ff:0x75,_0x590ae3:0x348,_0x3663a3:0x135,_0x305f0d:0x355,_0x158a3d:0x210,_0x264e59:0x3c8,_0x4c789d:0x230,_0x2d6921:0x10,_0x995065:0x1c3,_0xba88a7:0xba,_0x2e5901:0x290,_0x58a5a3:0x1b,_0x5c3d98:0x319,_0x1e32a3:0x377,_0x40bbe0:0x1cb,_0x3668a4:0x1f6,_0x50a794:0x2fa,_0x3d7771:0x32c,_0x1fd854:0x1d0,_0x3f2681:0x62,_0x1a791a:0x208,_0xe2457:0x46,_0xcb6abb:0x9a,_0x30e172:0x328,_0x494cee:0x1af,_0x1a76c8:0x18a,_0x923ac6:0x21d,_0x8c4917:0xb1,_0x36cb07:0x146,_0xcf0201:0x77,_0x2f200a:0x202,_0x7caa:0x2fc,_0x3e96bb:0xfb,_0x5accaa:0x58,_0x54f1b0:0xc6,_0x312766:0x175},_0x556edb={_0x271c8a:0x1a1},_0x44d5c4={_0xc2e23:0xd1,_0x32dcba:0x318};if(_0x4b381c[_0x358d5b(0x29b,-0x39,_0x27d732._0x1b6913,0x1cc)]>this[_0x358d5b(0xc0,-_0x27d732._0x188add,-_0x27d732._0x289ffb,0x90)][_0x358d5b(_0x27d732._0x10d3c4,_0x27d732._0x45f147,-_0x27d732._0x5c8358,_0x27d732._0x110d9a)])throw createAnchoredFileError(_0x358d5b(0x10a,0x426,_0x27d732._0x24b199,_0x27d732._0x656357),_0x358d5b(_0x27d732._0x291c82,0x320,0x41e,_0x27d732._0x22f073)+_0x4b381c[_0x358d5b(0x241,_0x27d732._0x10eb1d,0x4b,0x1f6)]+_0x358d5b(0x154,0xa9,-_0x27d732._0x41a0cf,_0x27d732._0x11869d)+_0x4b381c[_0x358d5b(0x2c5,_0x27d732._0x3b71a0,_0x27d732._0x27859f,_0x27d732._0xde65a0)]+_0x358d5b(0x16f,_0x27d732._0x581d9f,_0x27d732._0x41b605,0x320)+this[_0x358d5b(-_0x27d732._0x37a1ea,0x1e9,_0x27d732._0x5527b3,0x90)][_0x358d5b(-0xb0,0x192,0x18f,0xbf)]+_0x358d5b(0x150,_0x27d732._0x2cbcfd,0x2d5,_0x27d732._0x3aad29),{'path':_0x4b381c[_0x358d5b(_0x27d732._0x2f801d,0x4e,0x41,0x1f6)],'size':_0x4b381c['utf8Bytes']});const _0x4010a1=this[_0x590af6(_0x27d732._0x59a328,_0x27d732._0x39666f,-_0x27d732._0x9adf97,_0x27d732._0x12c747)]?this[_0x358d5b(0x56e,0x3f8,0x348,_0x27d732._0x33caa9)](_0x4b381c[_0x358d5b(0x329,_0x27d732._0x55996a,0x8d,_0x27d732._0x114d9d)]):_0x4b381c['tag'],_0x2ae86f=this[_0x358d5b(0x2a7,0x1eb,_0x27d732._0xd19872,0x1e5)][_0x358d5b(0x4c7,0x4b2,0x3c2,_0x27d732._0xa5cd01)](_0x4b381c[_0x358d5b(_0x27d732._0x303c69,_0x27d732._0x55524e,0x2da,_0x27d732._0x3dbdc4)]),_0xe68328=_0x2ae86f?.[_0x358d5b(_0x27d732._0x5a1d14,_0x27d732._0x5e1d4b,_0x27d732._0x2d824f,0x28c)](_0x4bb8bf=>_0x4bb8bf[_0x358d5b(0x345,0x294,0x290,0x325)][_0x590af6(-0x1b,-0x206,-0x205,0x1b3)]===_0x4b381c[_0x590af6(-0x1b,-0x193,0xd3,0x29)]);let _0x337c90;if(_0xe68328){for(const _0x3a1c27 of _0x2360bb)_0xe68328[_0x590af6(-0x175,-_0x27d732._0x369b88,0x7f,-_0x27d732._0x37b72f)][_0x358d5b(0x20d,0x131,_0x27d732._0xb247ec,_0x27d732._0x467bc3)](_0x3a1c27);_0x337c90=_0xe68328;}else{_0x337c90={'snapshot':_0x4b381c,'tag':_0x4010a1,'observedLines':new Set(_0x2360bb)};if(!_0x2ae86f)this[_0x590af6(-0x45,0x19d,-0x86,0xfa)][_0x358d5b(0x2c1,_0x27d732._0x64d275,_0x27d732._0x1565ea,0x158)](_0x4b381c[_0x590af6(-0x34,-0x16b,0x159,0xf7)],[_0x337c90]);else{if(_0x2ae86f[_0x590af6(_0x27d732._0x5950d9,-_0x27d732._0xde3ad2,_0x27d732._0x1f10ed,-0x15b)]>=this[_0x358d5b(-0x7d,-_0x27d732._0x334996,-0x79,_0x27d732._0x679340)][_0x358d5b(-_0x27d732._0x51c9ff,_0x27d732._0x590ae3,0x89,_0x27d732._0x3663a3)]){const _0x44aac8=_0x2ae86f[_0x590af6(0x1a1,_0x27d732._0x305f0d,0x316,0x253)]();if(_0x44aac8)this[_0x590af6(_0x27d732._0x158a3d,0x12c,0x2bf,_0x27d732._0x264e59)](_0x44aac8[_0x358d5b(0x1ce,0x1e1,_0x27d732._0x4c789d,0x325)][_0x358d5b(0x5b,_0x27d732._0x2d6921,0xb1,_0x27d732._0x114d9d)]);}_0x2ae86f[_0x590af6(-0x112,-0x238,0xa9,-_0x27d732._0x995065)](_0x337c90);}this[_0x590af6(-0x9c,-_0x27d732._0xba88a7,0x3f,-_0x27d732._0x2e5901)](_0x4b381c[_0x590af6(-_0x27d732._0x58a5a3,0x42,-0x24,-_0x27d732._0x45f147)],_0x4b381c[_0x358d5b(0x18,0x347,0x95,0x1cc)]);}function _0x590af6(_0x32968b,_0x57e0bd,_0x418e9e,_0x468a3d){return _0x5885dd(_0x32968b-0x16f,_0x468a3d,_0x418e9e-_0x44d5c4._0xc2e23,_0x32968b- -_0x44d5c4._0x32dcba);}this[_0x358d5b(_0x27d732._0x5c3d98,_0x27d732._0x1e32a3,0x28f,_0x27d732._0x40bbe0)](_0x4b381c[_0x358d5b(0x9b,0x2ff,0x4e,_0x27d732._0x3668a4)]);function _0x358d5b(_0x211273,_0x40c8da,_0x39ffa4,_0x31201c){return _0x16ac01(_0x211273-0x174,_0x31201c-_0x556edb._0x271c8a,_0x39ffa4-0x97,_0x211273);}while(this[_0x358d5b(0x36,0x2a4,_0x27d732._0x50a794,0x1e5)][_0x358d5b(0x41b,0x2c2,0x34b,_0x27d732._0x3d7771)]>this[_0x590af6(-0x19a,-0x1bb,-_0x27d732._0x1fd854,_0x27d732._0x3f2681)][_0x358d5b(_0x27d732._0x1a791a,0x2fa,_0x27d732._0xe2457,0x12a)]){this['evictLeastRecentlyUsedPath']();}while(this[_0x358d5b(_0x27d732._0xcb6abb,_0x27d732._0x30e172,0x2d6,_0x27d732._0x494cee)]>this[_0x590af6(-0x19a,-_0x27d732._0x1a76c8,-0x26c,-_0x27d732._0x923ac6)][_0x358d5b(0xd8,0x2ca,-0x7a,_0x27d732._0x110d9a)]&&this[_0x590af6(_0x27d732._0x8c4917,0x3b,0x12f,-_0x27d732._0x36cb07)][_0x590af6(0x73,-_0x27d732._0xcf0201,0x253,0x16d)]>0x1){this[_0x358d5b(0x4f2,_0x27d732._0x2f200a,_0x27d732._0x7caa,0x2fe)]();}return{'snapshot':_0x337c90[_0x590af6(_0x27d732._0x3e96bb,-_0x27d732._0x5accaa,-0x10c,_0x27d732._0x54f1b0)],'observedLines':new Set(_0x337c90[_0x590af6(-_0x27d732._0x312766,-0x15,-0xaa,-0x162)])};}[_0x5885dd(0x5e2,0x481,0x4f6,0x4fa)](_0x3291bf,_0x254b1e){const _0x57fc7d={_0x4bd6b5:0x206,_0x496024:0x160,_0x10d017:0x34e,_0x266c7c:0x44b,_0x1c966d:0x7e1,_0x402c2c:0x5df,_0x59f586:0x4e5,_0x1b631d:0x4f9,_0x4dd1e2:0x578,_0x2ac40a:0x26e,_0x429d57:0x31e,_0x14622f:0x323,_0x207ccd:0x46f,_0x5db402:0x27e,_0x41393a:0x35d,_0x58ca89:0x433,_0x1bcbd4:0x282,_0x53f08f:0x3b9,_0x3dbdb0:0x432,_0xa4c72d:0x574,_0x80a4b8:0x370,_0x454a7b:0x5e7,_0x105859:0x19b,_0x42ed2d:0x545,_0x864866:0x406,_0x5198b9:0x60,_0x5c6d9e:0xc5,_0x560fa2:0x375,_0xe3b95c:0x2be,_0x369937:0x484,_0x2724c2:0x361,_0x1e5ded:0x5bd,_0xb3b554:0x4bb,_0x49d6b9:0x575,_0x2fdec2:0x146},_0x4d9106={_0x4172d7:0x15d,_0x2f5354:0x7b};function _0x19cfae(_0x1d3112,_0x4cadea,_0x11a75d,_0x1975c4){return _0x16ac01(_0x1d3112-0x1e,_0x11a75d-0x337,_0x11a75d-0x7f,_0x1d3112);}const _0x34bb75=this[_0x1328e7(0x4a7,_0x57fc7d._0x4bd6b5,_0x57fc7d._0x496024,_0x57fc7d._0x10d017)][_0x1328e7(_0x57fc7d._0x266c7c,0x751,_0x57fc7d._0x1c966d,_0x57fc7d._0x402c2c)](_0x3291bf);if(!_0x34bb75)throw createAnchoredFileError(_0x1328e7(0x2a9,0x3a6,0x4ad,0x405),_0x19cfae(0x32c,_0x57fc7d._0x59f586,_0x57fc7d._0x1b631d,_0x57fc7d._0x4dd1e2)+_0x254b1e+'\x20is\x20unknown\x20for\x20'+_0x3291bf+_0x19cfae(0x335,_0x57fc7d._0x2ac40a,_0x57fc7d._0x429d57,_0x57fc7d._0x14622f),{'path':_0x3291bf,'tag':_0x254b1e});function _0x1328e7(_0xf7fcf,_0x47919d,_0x590118,_0x3a0c0a){return _0x5885dd(_0xf7fcf-_0x4d9106._0x4172d7,_0x47919d,_0x590118-0x1ae,_0x3a0c0a-_0x4d9106._0x2f5354);}const _0x398372=_0x34bb75[_0x19cfae(0x7b,_0x57fc7d._0x207ccd,_0x57fc7d._0x5db402,_0x57fc7d._0x41393a)](_0x36eeb4=>_0x36eeb4[_0x1328e7(0x69c,0x3ac,0x609,0x4e3)]===_0x254b1e);if(_0x398372[_0x19cfae(0x30e,0x365,_0x57fc7d._0x58ca89,_0x57fc7d._0x1bcbd4)]===0x0)throw createAnchoredFileError(_0x19cfae(0x3c4,_0x57fc7d._0x53f08f,_0x57fc7d._0x3dbdb0,_0x57fc7d._0xa4c72d),_0x19cfae(_0x57fc7d._0x80a4b8,_0x57fc7d._0x454a7b,0x4f9,0x351)+_0x254b1e+'\x20is\x20unknown\x20for\x20'+_0x3291bf+_0x1328e7(_0x57fc7d._0x105859,0x3c4,0x283,0x2f1),{'path':_0x3291bf,'tag':_0x254b1e});if(_0x398372[_0x1328e7(0x5ea,_0x57fc7d._0x42ed2d,0x527,_0x57fc7d._0x864866)]>0x1)throw createAnchoredFileError(_0x1328e7(_0x57fc7d._0x5198b9,0x3e1,_0x57fc7d._0x5c6d9e,0x240),'Snapshot\x20tag\x20'+_0x254b1e+_0x19cfae(_0x57fc7d._0x560fa2,0x267,_0x57fc7d._0xe3b95c,0x233)+_0x3291bf+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x3291bf,'tag':_0x254b1e});return this[_0x19cfae(0x4e0,_0x57fc7d._0x369937,_0x57fc7d._0x2724c2,0x237)](_0x3291bf),{'snapshot':_0x398372[0x0][_0x19cfae(0x63f,_0x57fc7d._0x1e5ded,_0x57fc7d._0xb3b554,_0x57fc7d._0x49d6b9)],'observedLines':new Set(_0x398372[0x0][_0x19cfae(0x190,_0x57fc7d._0x2fdec2,0x24b,0x177)])};}[_0x16ac01(-0x262,-0xaa,-0x28c,0xa5)](_0x2f2910,_0x382154){const _0x5dbbb={_0x4b1037:0x192,_0x93a09c:0x37f},_0x122ec6={_0x834d41:0x17d,_0x31796c:0x249},_0x1b00a8={_0x88ba68:0xb8,_0x50a374:0x128},_0x4e80e4=_0x2f2910+'\x00'+_0x382154,_0x23fd2d=(this[_0x205ecf(-0x1f6,-0x66,-_0x5dbbb._0x4b1037,-0x37f)]['get'](_0x4e80e4)??0x0)+0x1;function _0x205ecf(_0x2b8d5,_0xf58c3e,_0x3850bd,_0x3ea7f5){return _0x16ac01(_0x2b8d5-0x191,_0x2b8d5- -_0x1b00a8._0x88ba68,_0x3850bd-_0x1b00a8._0x50a374,_0x3850bd);}function _0x38650f(_0x26cec7,_0x3c8bd9,_0x56e130,_0x3f40b9){return _0x5885dd(_0x26cec7-_0x122ec6._0x834d41,_0x26cec7,_0x56e130-0x1bb,_0x56e130- -_0x122ec6._0x31796c);}return this[_0x205ecf(-0x1f6,-0x2a7,-_0x5dbbb._0x93a09c,-0x69)]['set'](_0x4e80e4,_0x23fd2d),_0x23fd2d;}[_0x5885dd(0x3fa,0x369,0x674,0x4e2)](_0x404a90){const _0x6a5c3b={_0x20ff6d:0xa3,_0x4af901:0x29f,_0x56c7ff:0x32b,_0x54ee76:0x3da,_0x13a953:0x496,_0x476dfe:0x583,_0x27f258:0x383,_0x138713:0x60,_0x44b003:0xf6,_0x24b077:0x311,_0x4e33a0:0x1c7},_0x4a2e5d={_0x3753a0:0xd2},_0x4aa231={_0x18be3a:0x1ce,_0x41bad5:0x14e},_0x5ec281=_0x404a90+'\x00';function _0x4d1bd5(_0x4d738c,_0x487799,_0x36d720,_0x5a7670){return _0x5885dd(_0x4d738c-_0x4aa231._0x18be3a,_0x4d738c,_0x36d720-0xbb,_0x487799-_0x4aa231._0x41bad5);}function _0x22dd5e(_0x4fff81,_0x1039c7,_0x3aa2d3,_0x1fbdb0){return _0x5885dd(_0x4fff81-0xe3,_0x3aa2d3,_0x3aa2d3-0x16c,_0x1fbdb0- -_0x4a2e5d._0x3753a0);}for(const _0x526814 of[...this[_0x4d1bd5(_0x6a5c3b._0x20ff6d,_0x6a5c3b._0x4af901,_0x6a5c3b._0x56c7ff,_0x6a5c3b._0x54ee76)][_0x22dd5e(0x388,_0x6a5c3b._0x13a953,_0x6a5c3b._0x476dfe,_0x6a5c3b._0x27f258)]()]){if(_0x526814[_0x22dd5e(0x2b7,_0x6a5c3b._0x138713,0x256,_0x6a5c3b._0x44b003)](_0x5ec281))this['noChangeCounters'][_0x22dd5e(0x23f,_0x6a5c3b._0x24b077,_0x6a5c3b._0x4e33a0,0x160)](_0x526814);}}[_0x5885dd(0x2c1,0x460,0x319,0x2ee)](){const _0x2d2847={_0x1db28a:0x2ab,_0x1631c4:0x241,_0x4a7d7d:0x138,_0x521a5e:0x20f,_0x32dc4c:0x7e,_0x553cd0:0x134,_0x338e88:0xdb},_0x57cceb={_0x104a69:0x1c2},_0x550fbc={_0x153c2e:0x6c};this['versionsByPath'][_0x5119e6(_0x2d2847._0x1db28a,-0xdd,0x10b,0xdb)](),this[_0x589764(0x3bb,_0x2d2847._0x1631c4,0x38f,0x53f)]=[],this['totalBytes']=0x0;function _0x5119e6(_0x9f2162,_0x56f099,_0x103b88,_0x32a82e){return _0x16ac01(_0x9f2162-_0x550fbc._0x153c2e,_0x32a82e-0x7c,_0x103b88-0x145,_0x9f2162);}function _0x589764(_0x48c973,_0xd638b8,_0x312b35,_0x1c5515){return _0x16ac01(_0x48c973-0xbb,_0x312b35-0x255,_0x312b35-_0x57cceb._0x104a69,_0x1c5515);}this[_0x5119e6(_0x2d2847._0x4a7d7d,_0x2d2847._0x521a5e,0x2a6,0xd4)][_0x5119e6(0x124,-_0x2d2847._0x32dc4c,_0x2d2847._0x553cd0,_0x2d2847._0x338e88)](),this[_0x589764(0x16f,0x31a,0x117,-0x88)]['clear']();}[_0x16ac01(0x17,0x2a,-0x131,-0xa2)](_0x4d0bf3){const _0x1eb06d={_0x55aa84:0x3c5,_0xb33065:0x1ab,_0x3f1dca:0x3c0,_0x3b8b03:0x286,_0x7a02e3:0x53,_0x2bf13b:0x1c5,_0x5327c4:0x194,_0x3fa210:0x215},_0x5ef24a={_0x27add5:0x109,_0x20a2f4:0x8b},_0x3cd44a={_0x673ad5:0x183};function _0x33c691(_0xa7624b,_0x1e0723,_0x4ac1d6,_0x34ef80){return _0x16ac01(_0xa7624b-_0x3cd44a._0x673ad5,_0x34ef80-0x42f,_0x4ac1d6-0x5,_0x1e0723);}const _0x1d436e=this['recency']['indexOf'](_0x4d0bf3);function _0x4242aa(_0x2bef7d,_0x37a6e5,_0x245ced,_0x2ecb0a){return _0x16ac01(_0x2bef7d-_0x5ef24a._0x27add5,_0x245ced-_0x5ef24a._0x20a2f4,_0x245ced-0x106,_0x37a6e5);}if(_0x1d436e!==-0x1)this[_0x4242aa(_0x1eb06d._0x55aa84,_0x1eb06d._0xb33065,0x1c5,_0x1eb06d._0x3f1dca)][_0x4242aa(0x55,_0x1eb06d._0x3b8b03,0x256,0x34a)](_0x1d436e,0x1);this[_0x4242aa(_0x1eb06d._0x7a02e3,0x2d8,_0x1eb06d._0x2bf13b,_0x1eb06d._0x5327c4)][_0x4242aa(-0x2d,0x17e,0x2,-_0x1eb06d._0x3fa210)](_0x4d0bf3);}[_0x16ac01(0x336,0x15d,0x330,0x13e)](){const _0x518fba={_0x5a127c:0x61,_0x1e0c25:0x83,_0x46535e:0xf3,_0x4b03ff:0x459,_0x1c14ff:0x30a,_0x57b86f:0x129,_0x38ff49:0x1b,_0x300dde:0xa9,_0x487c71:0x170,_0x1d0caa:0x132,_0x372c96:0x77,_0x10f557:0x261,_0x3a0333:0x66,_0x4c8d3e:0x1f2,_0x2843a5:0x1e2,_0x644df2:0x15b,_0xb4b67b:0x100,_0x4a2671:0x307,_0x5cb3d8:0x85,_0x3d6203:0x45},_0xfe62cb={_0x57e9be:0x91},_0x5867d7={_0x43f834:0x346},_0x2422c9=this[_0x20de61(-0x18e,-_0x518fba._0x5a127c,-0x9a,_0x518fba._0x1e0c25)][_0x20de61(0x16f,0x2b0,_0x518fba._0x46535e,0x173)]();function _0x20de61(_0x17455c,_0x262d2f,_0x632f45,_0x13e628){return _0x5885dd(_0x17455c-0x11c,_0x17455c,_0x632f45-0x78,_0x13e628- -_0x5867d7._0x43f834);}if(_0x2422c9===void 0x0)return;const _0x4e5bf8=this['versionsByPath'][_0x11724f(_0x518fba._0x4b03ff,0x2ac,_0x518fba._0x1c14ff,0x4be)](_0x2422c9);function _0x11724f(_0x5db4b8,_0x3e0f3f,_0x4928d2,_0x35eefd){return _0x5885dd(_0x5db4b8-_0xfe62cb._0x57e9be,_0x4928d2,_0x4928d2-0x2,_0x3e0f3f- -0x2b8);}this[_0x11724f(-_0x518fba._0x57b86f,_0x518fba._0x38ff49,_0x518fba._0x300dde,-_0x518fba._0x487c71)][_0x11724f(_0x518fba._0x1d0caa,-0x86,-0x245,-_0x518fba._0x372c96)](_0x2422c9);if(_0x4e5bf8){for(const _0xabf49 of _0x4e5bf8)this[_0x20de61(_0x518fba._0x10f557,_0x518fba._0x3a0333,_0x518fba._0x4c8d3e,_0x518fba._0x2843a5)](_0xabf49[_0x11724f(-0x33,_0x518fba._0x644df2,_0x518fba._0xb4b67b,_0x518fba._0x4a2671)][_0x11724f(_0x518fba._0x5cb3d8,_0x518fba._0x3d6203,-0x87,0x256)]);}}[_0x16ac01(-0x10a,-0x13,0x157,0x151)](_0x332ff9,_0x464159){const _0x455189={_0x18ac47:0x2cc,_0x249d2c:0x289},_0x4fa1f2={_0x4251f2:0x29b};function _0x40cfb6(_0x87f425,_0x4b4f17,_0x5619b0,_0x5b3dbc){return _0x16ac01(_0x87f425-0x30,_0x87f425-_0x4fa1f2._0x4251f2,_0x5619b0-0x137,_0x5b3dbc);}!this['bytesByDigest'][_0x40cfb6(_0x455189._0x18ac47,_0x455189._0x249d2c,0x3df,0x4b7)](_0x332ff9)&&(this['bytesByDigest']['set'](_0x332ff9,_0x464159),this['totalBytes']+=_0x464159);}[_0x5885dd(0x547,0x60f,0x5cf,0x528)](_0x9c990e){const _0x204346={_0x39de5b:0x5b6,_0xe24d0e:0x4ec,_0x5442da:0x502,_0x156a2f:0x5d5,_0x3ca7f3:0x564,_0xa0c1b4:0x44e,_0x237042:0x40f,_0x4415c5:0x445,_0x5e1678:0x58a,_0x3cbf34:0x8a0,_0x524aca:0x915,_0x44ccb6:0x3e4,_0x2d7e99:0x62d,_0x286190:0x4ec,_0xcd285d:0x35a,_0x49228b:0x4a6},_0x45b211={_0x1ee0cd:0x138,_0x2a4a50:0x205},_0xf8f241={_0x56001a:0x15,_0xeaad5e:0x128};if(!this[_0x31f060(_0x204346._0x39de5b,0x2dd,_0x204346._0xe24d0e,_0x204346._0x5442da)]['has'](_0x9c990e))return;function _0x34ea27(_0x13426f,_0xb17198,_0x2386d8,_0x4655b6){return _0x5885dd(_0x13426f-0x157,_0x2386d8,_0x2386d8-_0xf8f241._0x56001a,_0x13426f-_0xf8f241._0xeaad5e);}function _0x31f060(_0x300f41,_0x26fb42,_0x3bb6dd,_0x5d1966){return _0x5885dd(_0x300f41-0x191,_0x300f41,_0x3bb6dd-_0x45b211._0x1ee0cd,_0x3bb6dd-_0x45b211._0x2a4a50);}const _0x171694=[...this[_0x31f060(0x5d9,0x420,0x4d8,0x6c0)][_0x31f060(_0x204346._0x156a2f,0x35f,0x410,0x41c)]()]['some'](_0x4a4974=>_0x4a4974[_0x34ea27(0x509,0x2f7,0x31a,0x409)](_0x8eb532=>_0x8eb532[_0x31f060(0x63a,0x788,0x618,0x5ee)][_0x34ea27(0x425,0x393,0x3e8,0x3c6)]===_0x9c990e));!_0x171694&&(this[_0x34ea27(0x3c5,0x483,_0x204346._0x3ca7f3,_0x204346._0xa0c1b4)]-=this[_0x34ea27(_0x204346._0x237042,_0x204346._0x4415c5,_0x204346._0x5e1678,0x403)][_0x31f060(_0x204346._0x3cbf34,_0x204346._0x524aca,0x769,0x5fa)](_0x9c990e)??0x0,this[_0x31f060(_0x204346._0x44ccb6,_0x204346._0x2d7e99,_0x204346._0x286190,0x6fd)][_0x34ea27(_0x204346._0xcd285d,0x17c,_0x204346._0x49228b,0x2ec)](_0x9c990e));}};import{readFile as _0x552d9b,stat as _0x5557ff}from'fs/promises';import*as _0xb20315 from'path';function stripUtfBom(_0x3ee54f){const _0x575dd8={_0x36959b:0x2fd,_0x21e904:0x1a1},_0x224d66={_0x2c2aba:0xf6,_0x317882:0x114},_0x4d5851={_0x4f2e30:0x23,_0x4c2d34:0x17};function _0x366584(_0x979d7c,_0x807011,_0x1d594a,_0x114112){return _0x16ac01(_0x979d7c-_0x4d5851._0x4f2e30,_0x114112-0x236,_0x1d594a-_0x4d5851._0x4c2d34,_0x807011);}function _0x2b784d(_0xaf451e,_0x191bd6,_0x9ae3ec,_0xb92230){return _0x16ac01(_0xaf451e-0x1da,_0x191bd6-_0x224d66._0x2c2aba,_0x9ae3ec-_0x224d66._0x317882,_0xaf451e);}return _0x3ee54f[_0x2b784d(_0x575dd8._0x36959b,0x37a,0x50e,0x533)](0x0)===0xfeff?_0x3ee54f[_0x366584(_0x575dd8._0x21e904,0x5c,0x112,0x138)](0x1):_0x3ee54f;}function clampLine2(_0x4b95ad,_0x126e89){const _0x461d24={_0xca2144:0x616,_0x17edba:0x6c2,_0x183d0b:0x731,_0x549b0c:0x774,_0x19a07d:0x363,_0xe971e1:0x482,_0x5ee29f:0x3f9},_0x14358f={_0x1ba2e2:0x57,_0x58ab17:0x390},_0x5ed9cc={_0x36bccf:0x41,_0x98bfc8:0xd5};function _0x5f226b(_0x16d310,_0x2d6dfe,_0x3b234c,_0x35e9e1){return _0x5885dd(_0x16d310-_0x5ed9cc._0x36bccf,_0x3b234c,_0x3b234c-0x172,_0x35e9e1-_0x5ed9cc._0x98bfc8);}if(!Number[_0x5f226b(_0x461d24._0xca2144,0x4ec,_0x461d24._0x17edba,0x518)](_0x4b95ad))return 0x1;function _0x4a6083(_0x17c23a,_0x42adf3,_0x437ad4,_0x28621c){return _0x5885dd(_0x17c23a-_0x14358f._0x1ba2e2,_0x17c23a,_0x437ad4-0x1c6,_0x28621c-_0x14358f._0x58ab17);}return Math[_0x4a6083(_0x461d24._0x183d0b,_0x461d24._0x549b0c,0x5d6,0x5ad)](0x1,Math[_0x5f226b(0x474,0x3aa,_0x461d24._0x19a07d,0x299)](Math[_0x5f226b(0x589,0x320,_0x461d24._0xe971e1,_0x461d24._0x5ee29f)](_0x4b95ad),_0x126e89));}function resolveAnchoredTarget(_0x4626d7){const _0x47f72a={_0x5c4933:0x3b8,_0x3ab952:0x158,_0x51c626:0x47,_0x2e57eb:0x1b3,_0x58d121:0x1ec,_0x4093aa:0xe6,_0x58b108:0x3b1,_0x35299d:0x51,_0x57ece9:0x114,_0xe33150:0xee,_0xedce3a:0xe8,_0x58b256:0x2a1,_0x370b6b:0x229,_0x18470a:0x265,_0x3200e0:0x21f,_0x26cb68:0x115,_0x2a6b0c:0x10c,_0x529d73:0x94,_0xa8ed3f:0x251,_0x389c80:0x128,_0x2aa56d:0x174,_0x3649d6:0x3b2,_0x3570d8:0x74,_0x4e423c:0x1f9},_0x4a9e64={_0x4d90aa:0x174,_0x49c1e2:0x92},_0x77e2ba={_0x1a5578:0x89},_0x64b2b7=_0x4626d7[_0x592793(0x473,0x286,0x185,_0x47f72a._0x5c4933)]??_0x592793(_0x47f72a._0x3ab952,-_0x47f72a._0x51c626,-0x24c,_0x47f72a._0x2e57eb);if(_0x64b2b7==='exact')return void 0x0;function _0x592793(_0x4f893f,_0x4fe1db,_0x58fd16,_0x2f360){return _0x5885dd(_0x4f893f-0x82,_0x58fd16,_0x58fd16-_0x77e2ba._0x1a5578,_0x4fe1db- -0x2ba);}if(_0x4626d7['observations']===void 0x0)throw new Error((_0x4626d7[_0x592793(0x1b3,_0x47f72a._0x58d121,_0x47f72a._0x4093aa,_0x47f72a._0x58b108)]??_0x592793(_0x47f72a._0x35299d,_0x47f72a._0x57ece9,-_0x47f72a._0xe33150,_0x47f72a._0xedce3a))+_0x592793(_0x47f72a._0x58b256,0x2ab,_0x47f72a._0x370b6b,_0x47f72a._0x18470a));if(_0x4626d7[_0x592793(_0x47f72a._0x3200e0,_0x47f72a._0x26cb68,0x268,_0x47f72a._0x2a6b0c)]===void 0x0)throw new Error((_0x4626d7[_0x592793(0x98,_0x47f72a._0x58d121,0x1f0,_0x47f72a._0x529d73)]??_0x592793(_0x47f72a._0xa8ed3f,0x114,0x214,-0xc3))+'\x20anchored\x20mode\x20requires\x20injected\x20outputBudgetBytes.');function _0x1f5a8d(_0x4e0413,_0x286594,_0x4dca81,_0x1d8d8e){return _0x16ac01(_0x4e0413-_0x4a9e64._0x4d90aa,_0x286594- -0xe4,_0x4dca81-_0x4a9e64._0x49c1e2,_0x4dca81);}return{'mode':_0x64b2b7,'observations':_0x4626d7[_0x592793(_0x47f72a._0x389c80,0x1a4,_0x47f72a._0x2aa56d,_0x47f72a._0x3649d6)],'outputBudgetBytes':_0x4626d7[_0x592793(-_0x47f72a._0x3570d8,0x115,0x176,_0x47f72a._0x4e423c)]};}function isErrnoException(_0x2c7037){const _0x209afc={_0x136b5f:0x297,_0xa730a7:0x300,_0x42f53c:0x1ee,_0x313916:0x366},_0x53912c={_0x190a6a:0x185,_0x5d1a1e:0xf},_0x27cf12={_0x9a9ac0:0x1b0,_0x2b3e49:0x10a};function _0x58fd1e(_0x541048,_0x301ee6,_0x319079,_0x201d6f){return _0x5885dd(_0x541048-_0x27cf12._0x9a9ac0,_0x319079,_0x319079-_0x27cf12._0x2b3e49,_0x201d6f- -0x180);}function _0x3985bb(_0x4de4d1,_0x5ab456,_0x59e1bb,_0x3a76f5){return _0x16ac01(_0x4de4d1-_0x53912c._0x190a6a,_0x5ab456- -0x117,_0x59e1bb-_0x53912c._0x5d1a1e,_0x59e1bb);}return _0x2c7037 instanceof Error&&'code'in _0x2c7037&&typeof _0x2c7037[_0x58fd1e(_0x209afc._0x136b5f,0x3e3,0x2eb,0x24a)]===_0x58fd1e(_0x209afc._0xa730a7,_0x209afc._0x42f53c,0x168,_0x209afc._0x313916);}function wrapAnchoredFsError(_0x1d5f4f,_0x4d19cb){const _0x2efc12={_0xa63186:0x1a6,_0x2a2a6e:0x1c2,_0x322aa1:0xbd,_0x606ece:0x1f,_0x20e2de:0x38,_0x31f2c9:0x1b1,_0x5da04a:0x4f,_0x2c222d:0x24,_0x50f19d:0x1f9,_0x1f2479:0x5,_0x3f1f07:0x20b},_0xaa292d={_0x3e1cf9:0x113},_0x447a0c={_0x563dca:0x1ba,_0xb6140b:0x1c8};function _0x2e959f(_0x4d0531,_0x14d8dd,_0x55640e,_0x48bee8){return _0x5885dd(_0x4d0531-_0x447a0c._0x563dca,_0x4d0531,_0x55640e-0x187,_0x55640e- -_0x447a0c._0xb6140b);}if(_0x1d5f4f instanceof ToolExecutionError)throw _0x1d5f4f;if(!isErrnoException(_0x1d5f4f))throw _0x1d5f4f;function _0x12f022(_0x26d1f8,_0x185172,_0xf67cd,_0x14b2fe){return _0x5885dd(_0x26d1f8-0x92,_0x185172,_0xf67cd-_0xaa292d._0x3e1cf9,_0xf67cd- -0x1bb);}throw createAnchoredFileError(_0x2e959f(0x108,_0x2efc12._0xa63186,_0x2efc12._0x2a2a6e,_0x2efc12._0x322aa1),_0x2e959f(_0x2efc12._0x606ece,-0xb6,-_0x2efc12._0x20e2de,_0x2efc12._0x31f2c9)+_0x4d19cb+_0x2e959f(-_0x2efc12._0x5da04a,_0x2efc12._0x2c222d,0xa5,0x9d)+_0x1d5f4f['message']+_0x12f022(-0xd7,-_0x2efc12._0x50f19d,_0x2efc12._0x1f2479,_0x2efc12._0x3f1f07),{'path':_0x4d19cb});}async function executeAnchoredRead(_0x5737b2,_0x361612,_0xaf35e5,_0x1a9a48,_0x1ed764,_0x2c18a5,_0x2df359){const _0x52de87={_0x485d7e:0x47b,_0x4d18b3:0x755,_0x598dc3:0xd,_0x3dc5a1:0x500,_0x53f952:0x855,_0x5999a6:0x668,_0x434899:0x586,_0x3dabe1:0x447,_0x118ceb:0x1e,_0x395353:0x1cc,_0x781a69:0x4c0,_0x364712:0x5ce,_0x4c3f10:0x42d,_0x3e2783:0x6b9,_0xc01bd1:0x4ee,_0x1dc4af:0x504,_0x151825:0x115,_0x5e5e91:0x50b,_0x309ceb:0x646,_0x290f2d:0x290,_0x20dbe4:0x56f,_0x10ffea:0x4ed,_0x196536:0x37d},_0x1861a6={_0x5c151d:0xe9,_0x49cd0c:0x57};let _0x23a5d8;function _0x10aa8f(_0x521126,_0x443eb6,_0x32e50e,_0x491214){return _0x16ac01(_0x521126-0xcd,_0x491214- -_0x1861a6._0x5c151d,_0x32e50e-_0x1861a6._0x49cd0c,_0x32e50e);}try{_0x23a5d8=await resolveCanonicalAllowedFile(_0x361612,_0xaf35e5,_0x1a9a48);}catch(_0x4a0696){wrapAnchoredFsError(_0x4a0696,_0x1a9a48);}let _0x27c1d2;try{_0x27c1d2=await _0x552d9b(_0x23a5d8[_0x56183a(0x5dd,0x4ee,_0x52de87._0x485d7e,0x6cc)]);}catch(_0x3fd676){wrapAnchoredFsError(_0x3fd676,_0x1a9a48);}const _0x42622f=createNormalizedFileSnapshot(_0x23a5d8['canonicalPath'],_0x27c1d2);function _0x56183a(_0x2238c5,_0x831e52,_0x1ab758,_0x51bc10){return _0x16ac01(_0x2238c5-0x1ac,_0x831e52-0x499,_0x1ab758-0x176,_0x2238c5);}_0x5737b2[_0x56183a(0x6f4,0x668,_0x52de87._0x4d18b3,0x514)][_0x10aa8f(-0x75,0x38f,_0x52de87._0x598dc3,0x19f)](_0x2df359);const _0x20fcce=formatAnchoredFileRead({'displayPath':_0x1a9a48,'snapshot':_0x42622f,'lineStart':_0x1ed764,'lineEnd':_0x2c18a5,'maxBytes':_0x5737b2[_0x56183a(0x574,0x5d9,_0x52de87._0x3dc5a1,0x516)]});return _0x5737b2[_0x56183a(_0x52de87._0x53f952,_0x52de87._0x5999a6,0x661,_0x52de87._0x434899)]['record'](_0x42622f,_0x20fcce[_0x56183a(0x460,_0x52de87._0x3dabe1,0x4f5,0x41f)]),createToolOutput(_0x20fcce[_0x10aa8f(0x380,-0x25,_0x52de87._0x118ceb,_0x52de87._0x395353)],{'mode':_0x5737b2['mode'],'path':_0x1a9a48,'resolvedPath':_0x23a5d8[_0x56183a(_0x52de87._0x781a69,_0x52de87._0x364712,_0x52de87._0x4c3f10,_0x52de87._0x3e2783)],'canonicalPath':_0x23a5d8[_0x56183a(0x322,_0x52de87._0xc01bd1,_0x52de87._0x1dc4af,0x5e5)],'tag':_0x42622f['tag'],'digest':_0x42622f[_0x10aa8f(-0x19c,-0x99,-_0x52de87._0x151825,-0x7b)],'displayedLines':[..._0x20fcce[_0x56183a(0x506,0x447,_0x52de87._0x5e5e91,_0x52de87._0x309ceb)]],'truncated':_0x20fcce[_0x10aa8f(-_0x52de87._0x290f2d,0x41,-0x13f,-0x187)],..._0x20fcce[_0x56183a(_0x52de87._0x20dbe4,0x4ed,0x63f,0x642)]!==void 0x0?{'nextLineStart':_0x20fcce[_0x56183a(0x365,_0x52de87._0x10ffea,0x2e4,_0x52de87._0x196536)]}:{}});}function createFileReadTool(_0x205e83={}){const _0x599eac={_0x3699e6:0x47d,_0x51bbdd:0x813,_0x3eaad6:0x7b3,_0xaec4bd:0x582,_0x108696:0x6db,_0x4645d4:0x578,_0x5d0d40:0x5dc,_0x4636a5:0x610,_0x24df66:0x4ce,_0x32526f:0x52d,_0x2c85ac:0x360,_0x5cd5ea:0x7b2,_0x14b173:0x838,_0x561fdf:0x68c,_0x2f4f90:0x591,_0x506a7b:0x4f5,_0x2efe82:0x6af,_0x14f686:0x55d,_0x4903db:0x68d,_0x21e0cc:0x5e4,_0x34324b:0x6eb,_0x4e9cc4:0x750,_0x5d74f1:0x4d4,_0x34d1af:0x39b,_0x23914c:0x7e2},_0x17fc75={_0x53391a:0x3ad,_0x56f589:0x1f2,_0x1c6e89:0x53b,_0x139707:0x244,_0x1164ad:0x16a,_0x271934:0x2d1,_0x1a78be:0x163,_0x363e70:0x2ca,_0x475b02:0xa8,_0x295583:0x2b4,_0x9e707c:0x111,_0xce518a:0x2ba,_0xdf980f:0x18c,_0x23ea37:0x195,_0x34af21:0x104,_0x45fe68:0x28d,_0x2cadb5:0x104,_0x2f4711:0x1a6,_0x4f815a:0x1a5,_0x452e3e:0x22d,_0x43c842:0x9e,_0x15a11b:0x1ef,_0x44e69a:0x202,_0x36727a:0x51,_0x3263d9:0x187,_0x4ce953:0x12c,_0x27a036:0x93,_0x16cb37:0x56,_0x4f02f9:0x4,_0x31b5f4:0x30,_0x2c6c8d:0x1c0,_0x61d41f:0x52,_0x30a67a:0x3,_0x58e2a3:0x85,_0x159c99:0xbb,_0x47a9b9:0x2f,_0x1a4c11:0xce,_0x39bad4:0xc,_0xeff908:0xc7,_0x539cdb:0x137,_0x489a0b:0xd6,_0x358557:0x33a,_0x1b35fd:0x4,_0x5ce704:0x17d,_0x9db827:0x55,_0x38d3b8:0x200,_0x44b092:0x1f6,_0xe2f37f:0x288,_0x4252b3:0x198,_0x8548d6:0x123,_0x3713dc:0x22a,_0x574bf2:0x481,_0x267e29:0x13b,_0x580367:0xd1,_0x289ad4:0x220,_0x4079c5:0x4f,_0x47410b:0x3ac},_0x1f3417={_0x4b0f48:0x2a,_0x31f002:0x1dd},_0xbf0025={_0x1072aa:0x3eb,_0x141361:0x47},_0x32f406={_0x4ec914:0x1b1,_0x31f916:0x435},_0x8bb85a={_0x328333:0x7,_0x14da0b:0x49},_0x3818e4=_0xb20315[_0x3560b0(0x659,0x95a,0x807,0x758)](_0x205e83[_0x3560b0(0x56e,0x484,0x679,_0x599eac._0x3699e6)]??process['cwd']()),_0x2b9208=_0x205e83['allowedDirs']??[];function _0x3560b0(_0x2e46a0,_0x4dc7b9,_0x5a2d61,_0x353aeb){return _0x16ac01(_0x2e46a0-_0x8bb85a._0x328333,_0x5a2d61-0x59c,_0x5a2d61-_0x8bb85a._0x14da0b,_0x4dc7b9);}const _0x448337=_0x205e83[_0x3560b0(_0x599eac._0x51bbdd,0x683,_0x599eac._0x3eaad6,0x62f)]??_0x3560b0(0x7db,_0x599eac._0xaec4bd,_0x599eac._0x108696,_0x599eac._0x4645d4);function _0x28193a(_0x3cfbec,_0x2ed82a,_0x38a476,_0x167afe){return _0x16ac01(_0x3cfbec-_0x32f406._0x4ec914,_0x3cfbec-_0x32f406._0x31f916,_0x38a476-0x1d3,_0x167afe);}const _0x46abf4=resolveAnchoredTarget(_0x205e83);return defineTool({'name':_0x448337,'permissionClass':_0x28193a(0x505,_0x599eac._0x5d0d40,_0x599eac._0x4636a5,_0x599eac._0x24df66),'description':_0x46abf4===void 0x0?_0x3560b0(0x435,_0x599eac._0x32526f,0x52c,_0x599eac._0x2c85ac):'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':_0x3560b0(0x88f,_0x599eac._0x5cd5ea,_0x599eac._0x14b173,0x95f),'properties':{'path':{'type':_0x28193a(_0x599eac._0x561fdf,_0x599eac._0x2f4f90,_0x599eac._0x506a7b,_0x599eac._0x2efe82)},'lineStart':{'type':_0x28193a(0x4a6,0x5c3,_0x599eac._0x14f686,_0x599eac._0x4903db),'description':_0x28193a(0x6b6,_0x599eac._0x21e0cc,_0x599eac._0x34324b,_0x599eac._0x4e9cc4)},'lineEnd':{'type':'number','description':_0x28193a(0x553,_0x599eac._0x5d74f1,_0x599eac._0x34d1af,0x6c4)}},'required':[_0x3560b0(_0x599eac._0x23914c,0x83b,0x798,0x6a2)]},async *'execute'(_0x38684a,_0x2f8589){const _0x2e3bbf=resolveAllowedPath(_0x3818e4,_0x2b9208,_0x38684a[_0x2c9e14(_0x17fc75._0x53391a,_0x17fc75._0x56f589,_0x17fc75._0x1c6e89,0x3b1)]);function _0x2c9e14(_0x464bbe,_0x5d08cc,_0x10f2bf,_0x587990){return _0x3560b0(_0x464bbe-0x2e,_0x587990,_0x464bbe- -_0xbf0025._0x1072aa,_0x587990-_0xbf0025._0x141361);}if(_0x46abf4===void 0x0){await assertWorkspaceFile(_0x2e3bbf);const _0x2d39e6=await _0x5557ff(_0x2e3bbf),_0x3aa0b8=await _0x552d9b(_0x2e3bbf);if(isProbablyBinary(_0x3aa0b8))throw new ToolExecutionError(_0x383c3b(-0x9c,_0x17fc75._0x139707,_0x17fc75._0x1164ad,0x3)+_0x38684a['path'],{'path':_0x38684a[_0x383c3b(_0x17fc75._0x271934,0x41,0x104,0x56)]});let _0x28ad6f=_0x3aa0b8[_0x2c9e14(_0x17fc75._0x1a78be,_0x17fc75._0x363e70,_0x17fc75._0x475b02,_0x17fc75._0x295583)](_0x2c9e14(0x1ec,0x208,_0x17fc75._0x9e707c,0x1f8));const _0x8dc12c=_0x28ad6f[_0x383c3b(_0x17fc75._0xce518a,-0x6b,_0x17fc75._0xdf980f,-0x34)](0x0)===0xfeff;_0x28ad6f=stripUtfBom(_0x28ad6f);const _0x148374=_0x28ad6f[_0x383c3b(0xee,0x4c,_0x17fc75._0x23ea37,0xee)](/\r?\n/),_0x4c284a={'path':_0x38684a[_0x383c3b(_0x17fc75._0x34af21,_0x17fc75._0x45fe68,_0x17fc75._0x2cadb5,0x1bf)],'resolvedPath':_0x2e3bbf,'created':_0x2d39e6[_0x383c3b(0x353,0x331,_0x17fc75._0x2f4711,_0x17fc75._0x4f815a)]['toISOString'](),'modified':_0x2d39e6[_0x2c9e14(_0x17fc75._0x452e3e,0x33c,0x32f,_0x17fc75._0x43c842)][_0x383c3b(-_0x17fc75._0x15a11b,-_0x17fc75._0x44e69a,-_0x17fc75._0x36727a,-_0x17fc75._0x3263d9)](),'size':_0x2d39e6[_0x383c3b(-_0x17fc75._0x4ce953,-0x94,_0x17fc75._0x27a036,-_0x17fc75._0x16cb37)],'encoding':_0x2c9e14(0x1ec,0x3d9,0x25f,0x1a3),'bomStripped':_0x8dc12c,'truncated':![],'totalLines':_0x148374[_0x383c3b(-0x4d,-0xc5,_0x17fc75._0x4f02f9,_0x17fc75._0x31b5f4)]};if(_0x38684a[_0x383c3b(-0x2f,0x26,-_0x17fc75._0x2c6c8d,-0x38f)]!==void 0x0||_0x38684a[_0x383c3b(-_0x17fc75._0x61d41f,-_0x17fc75._0x30a67a,-0x73,-_0x17fc75._0x58e2a3)]!==void 0x0){const _0x5b2a26=clampLine2(_0x38684a[_0x383c3b(-_0x17fc75._0x159c99,-0xb1,-_0x17fc75._0x2c6c8d,_0x17fc75._0x47a9b9)]??0x1,_0x148374[_0x383c3b(_0x17fc75._0x1a4c11,0x1aa,0x4,_0x17fc75._0x39bad4)]),_0x55c1ac=clampLine2(_0x38684a[_0x383c3b(-_0x17fc75._0xeff908,_0x17fc75._0x539cdb,-0x73,_0x17fc75._0x489a0b)]??_0x148374[_0x2c9e14(0x2ad,0x9b,0x9f,_0x17fc75._0x358557)],_0x148374[_0x383c3b(-0xe7,0x13d,_0x17fc75._0x1b35fd,-_0x17fc75._0x5ce704)]),_0x53fdad=Math['min'](_0x5b2a26,_0x55c1ac),_0x26a028=Math[_0x383c3b(-_0x17fc75._0x9db827,-0x28e,-0x16a,-_0x17fc75._0x38d3b8)](_0x5b2a26,_0x55c1ac),_0x7715ff=_0x148374[_0x383c3b(-0xa6,-0x195,-_0x17fc75._0x44b092,-_0x17fc75._0xe2f37f)](_0x53fdad-0x1,_0x26a028)[_0x2c9e14(0x70,-_0x17fc75._0x4252b3,0x234,-_0x17fc75._0x8548d6)]((_0x5b956f,_0x5e3442)=>_0x53fdad+_0x5e3442+'|'+_0x5b956f)[_0x2c9e14(0x3b7,_0x17fc75._0x3713dc,_0x17fc75._0x574bf2,0x4b8)]('\x0a');return yield createToolOutput(_0x7715ff,{..._0x4c284a,'lineRange':{'lineStart':_0x53fdad,'lineEnd':_0x26a028,'linesTotal':_0x148374[_0x383c3b(-_0x17fc75._0x267e29,_0x17fc75._0x2f4711,0x4,_0x17fc75._0x580367)]}}),void 0x0;}return yield createToolOutput(_0x28ad6f,_0x4c284a),void 0x0;}yield await executeAnchoredRead(_0x46abf4,_0x3818e4,_0x2b9208,_0x38684a['path'],_0x38684a[_0x383c3b(-0x12,-0x29c,-0x1c0,-_0x17fc75._0x289ad4)],_0x38684a['lineEnd'],_0x2f8589[_0x383c3b(-_0x17fc75._0x4079c5,-_0x17fc75._0xce518a,-0x1e5,-_0x17fc75._0x47410b)]);function _0x383c3b(_0x2284d0,_0xa1e794,_0x2ed0f6,_0x1d8bb7){return _0x3560b0(_0x2284d0-_0x1f3417._0x4b0f48,_0x1d8bb7,_0x2ed0f6- -0x694,_0x1d8bb7-_0x1f3417._0x31f002);}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 _0x40d802}from'crypto';import{mkdir as _0x1dc7af,readFile as _0x550ff3,writeFile as _0x3bf961}from'fs/promises';import{join as _0x3bc2d8}from'path';function sanitizeStorageKey(_0x2a5155){const _0x525ee8={_0x3e8a7a:0x672,_0x54aa18:0x914,_0x10fb1f:0x5c4};function _0x3b0e79(_0xa9187d,_0x24f80f,_0x1df09c,_0x28f0bb){return _0x5885dd(_0xa9187d-0x1cd,_0x24f80f,_0x1df09c-0x64,_0x1df09c-0x1b8);}function _0x128c5b(_0x38ea2a,_0x546f0d,_0x5e0f30,_0x3d9782){return _0x5885dd(_0x38ea2a-0x13b,_0x546f0d,_0x5e0f30-0x104,_0x5e0f30- -0x27);}return _0x2a5155['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x3b0e79(_0x525ee8._0x3e8a7a,_0x525ee8._0x54aa18,0x721,0x61f)](/^_+|_+$/g,'')||_0x3b0e79(0x49e,0x55f,_0x525ee8._0x10fb1f,0x5b0);}function storagePath(_0xc4ae3d){const _0x15ce3c={_0x502fc5:0x593,_0x387c22:0x3a1,_0x306188:0x261,_0xb9d2fe:0x5f5,_0x1254e8:0x61e,_0x261b39:0x3a7,_0x39568a:0x675},_0x1e6a5d={_0x4cee19:0x657,_0x324411:0x80},_0x47d413={_0x185d08:0xbe};function _0x3983bd(_0x19affd,_0x364c9c,_0x118305,_0x237376){return _0x5885dd(_0x19affd-0x72,_0x237376,_0x118305-_0x47d413._0x185d08,_0x19affd- -0x44);}function _0x5d25bf(_0x2ac0f6,_0x5f37b2,_0x4bc292,_0x43e8da){return _0x16ac01(_0x2ac0f6-0x60,_0x2ac0f6-_0x1e6a5d._0x4cee19,_0x4bc292-_0x1e6a5d._0x324411,_0x43e8da);}const _0x5687e6=sanitizeStorageKey(_0xc4ae3d[_0x3983bd(0x3eb,_0x15ce3c._0x502fc5,0x31e,_0x15ce3c._0x387c22)]['oauth']?.[_0x3983bd(0x35a,_0x15ce3c._0x306188,0x160,0x3f4)]??_0xc4ae3d['serverName']);return _0x3bc2d8(_0xc4ae3d[_0x5d25bf(0x642,_0x15ce3c._0xb9d2fe,_0x15ce3c._0x1254e8,0x4dd)],_0x5687e6+_0x3983bd(0x51e,_0x15ce3c._0x261b39,_0x15ce3c._0x39568a,0x617));}async function readStore(_0x38c51c){const _0x5d3720={_0x39cc92:0x59c,_0x276583:0x41f,_0x4825ec:0x52e,_0x57d84a:0x588,_0x3fe6de:0x585,_0x3d12f0:0x844,_0x35b8d8:0x62e,_0x333f2e:0x53f},_0x12f9d6={_0x3bdda9:0x9d,_0x1c50d7:0x111,_0x450178:0x264},_0x5eed29={_0x5bee40:0x15c,_0x2e59ca:0x47a};function _0x3adce8(_0x589ab5,_0xe84394,_0x595dbf,_0x540478){return _0x16ac01(_0x589ab5-_0x5eed29._0x5bee40,_0x595dbf-_0x5eed29._0x2e59ca,_0x595dbf-0x88,_0x540478);}function _0x454663(_0x528840,_0x1d74fc,_0x118cf3,_0x187e44){return _0x5885dd(_0x528840-_0x12f9d6._0x3bdda9,_0x118cf3,_0x118cf3-_0x12f9d6._0x1c50d7,_0x1d74fc-_0x12f9d6._0x450178);}try{return JSON[_0x454663(_0x5d3720._0x39cc92,0x536,_0x5d3720._0x276583,0x36a)](await _0x550ff3(_0x38c51c,_0x454663(0x641,_0x5d3720._0x4825ec,_0x5d3720._0x57d84a,0x4d3)));}catch(_0x3db699){if(_0x3db699 instanceof Error&&_0x454663(_0x5d3720._0x3fe6de,0x62e,0x5d7,_0x5d3720._0x3d12f0)in _0x3db699&&_0x3db699[_0x454663(0x5ee,_0x5d3720._0x35b8d8,_0x5d3720._0x333f2e,0x762)]==='ENOENT')return{};throw _0x3db699;}}async function writeStore(_0x17eb7d,_0x218420){const _0x5b5601={_0x4d0b9f:0x1c9,_0x497298:0x65};function _0x2b3a0c(_0x710225,_0x412536,_0x34cc3d,_0x6d5f73){return _0x16ac01(_0x710225-_0x5b5601._0x4d0b9f,_0x412536- -0xbd,_0x34cc3d-_0x5b5601._0x497298,_0x6d5f73);}await _0x1dc7af(_0x3bc2d8(_0x17eb7d,'..'),{'recursive':!![]}),await _0x3bf961(_0x17eb7d,JSON['stringify'](_0x218420,null,0x2),_0x2b3a0c(0xc3,-0x82,0x16f,-0xb7));}async function updateStore(_0x40a67e,_0x418499){const _0x647019=await readStore(_0x40a67e);_0x418499(_0x647019),await writeStore(_0x40a67e,_0x647019);}function createMcpOAuthProvider(_0x1392f9){const _0x5184eb={_0x585f42:0x2df,_0x47de4c:0x37e,_0x45b10d:0x20a,_0x11a6ef:0x622,_0x3ba7a4:0x2c8,_0x6895bd:0x414,_0x46cb65:0x1,_0x2c7627:0x58b,_0x459ee0:0x3b4,_0x246011:0x199,_0x404be8:0x45a,_0x1cc528:0x442,_0x5f2f5d:0x5e1,_0x2d2321:0x7b,_0x4b50e4:0x2b8,_0x1fe958:0x2e,_0x32dd72:0x118,_0x5186b3:0x14,_0x51dbe8:0x2dd},_0x5e1a7c={_0x254a18:0x132,_0x1a7818:0xb8},_0xd286c5={_0x2c6fc3:0x13e},_0x574769={_0x28fde2:0x3a9,_0x357cb6:0x3d0},_0x13cdc1={_0x25de4a:0x1d5,_0x13b6f6:0x2f4},_0x2ebb65={_0x1bf19a:0x114,_0x342c97:0x2ef,_0x24ee8b:0x222,_0x2f49b9:0x278},_0x34b3f6={_0x9532a1:0xc2,_0x286a6d:0x159},_0x36fe71={_0x4d4bde:0x3c7,_0x479e26:0x57c},_0x395597={_0x16d044:0x18c},_0x25ff65={_0x31c634:0x160,_0x456d8d:0x11b},_0x583669={_0x200648:0x72,_0x5f21b8:0x4a6,_0xc25448:0x3d},_0x168ada=storagePath(_0x1392f9),_0x1abc61=_0x1392f9[_0x14f8c9(0x152,0x300,0x254,0x3e3)][_0x190e1f(_0x5184eb._0x585f42,_0x5184eb._0x47de4c,_0x5184eb._0x45b10d,0x370)]?.[_0x190e1f(0x5bf,_0x5184eb._0x11a6ef,_0x5184eb._0x3ba7a4,_0x5184eb._0x6895bd)]?.['join']('\x20');function _0x190e1f(_0x55d97b,_0x3bbdb4,_0x4fed1f,_0x5cdab4){return _0x16ac01(_0x55d97b-_0x583669._0x200648,_0x5cdab4-_0x583669._0x5f21b8,_0x4fed1f-_0x583669._0xc25448,_0x3bbdb4);}const _0x1210bc={'client_name':_0x14f8c9(0x45,0x77,_0x5184eb._0x46cb65,0x176),'redirect_uris':[_0x1392f9['callbackUrl']],'grant_types':[_0x14f8c9(_0x5184eb._0x2c7627,0x405,0x301,_0x5184eb._0x459ee0),_0x14f8c9(0x3d5,0x233,0x126,_0x5184eb._0x246011)],'response_types':[_0x190e1f(_0x5184eb._0x404be8,0x4f3,_0x5184eb._0x1cc528,_0x5184eb._0x5f2f5d)],'token_endpoint_auth_method':_0x14f8c9(-_0x5184eb._0x2d2321,0x28,0x102,0x34),..._0x1abc61?{'scope':_0x1abc61}:{}};function _0x14f8c9(_0x4fa394,_0xbb27c4,_0x3665fc,_0x19b836){return _0x16ac01(_0x4fa394-0x142,_0xbb27c4-_0x25ff65._0x31c634,_0x3665fc-_0x25ff65._0x456d8d,_0x4fa394);}return{'clientMetadataUrl':_0x1392f9['config'][_0x190e1f(0x275,_0x5184eb._0x4b50e4,0x459,0x370)]?.[_0x14f8c9(_0x5184eb._0x1fe958,_0x5184eb._0x32dd72,-_0x5184eb._0x5186b3,_0x5184eb._0x51dbe8)],get 'redirectUrl'(){return _0x1392f9['callbackUrl'];},get 'clientMetadata'(){return _0x1210bc;},async 'state'(){const _0x2ac81e={_0x3b22e9:0x62,_0x5b507a:0xc},_0x53670a=await readStore(_0x168ada);if(_0x53670a[_0x5baa75(-0x224,-_0x2ebb65._0x1bf19a,-0x1a5,-0x303)])return _0x53670a[_0x5baa75(-_0x2ebb65._0x342c97,-_0x2ebb65._0x24ee8b,-0x1a5,-_0x2ebb65._0x2f49b9)];function _0x2eeb3b(_0x5093e6,_0x53a4b9,_0x25f13e,_0x536120){return _0x190e1f(_0x5093e6-0x1f2,_0x25f13e,_0x25f13e-_0x395597._0x16d044,_0x5093e6- -0x461);}const _0x344173=_0x40d802();await updateStore(_0x168ada,_0x152b5c=>{function _0x2f445c(_0x88a80f,_0x423263,_0x33fa1e,_0xf04554){return _0x5baa75(_0x88a80f-_0x2ac81e._0x3b22e9,_0x423263-_0x2ac81e._0x5b507a,_0x33fa1e-0x56c,_0x88a80f);}_0x152b5c[_0x2f445c(0x4de,0x25c,_0x36fe71._0x4d4bde,_0x36fe71._0x479e26)]=_0x344173;});function _0x5baa75(_0xf2bb5b,_0x26b6ed,_0x4a35be,_0x20bddc){return _0x14f8c9(_0x20bddc,_0x4a35be- -0x254,_0x4a35be-_0x34b3f6._0x9532a1,_0x20bddc-_0x34b3f6._0x286a6d);}return _0x344173;},async 'clientInformation'(){return(await readStore(_0x168ada))['clientInformation'];},async 'saveClientInformation'(_0x4ea72d){const _0x5ae67b={_0x531b0d:0xba,_0x639b05:0xde};await updateStore(_0x168ada,_0x3ffc5d=>{function _0x46a5a0(_0x30089b,_0x1bcf84,_0x26d55e,_0x36997b){return _0xa933(_0x30089b- -0x2e0,_0x36997b);}_0x3ffc5d[_0x46a5a0(_0x5ae67b._0x531b0d,_0x5ae67b._0x639b05,0xf3,0x1e2)]=_0x4ea72d;});},async 'tokens'(){const _0x20bdaf={_0x3c5e7f:0x198,_0x3b6354:0x104};function _0x53ab03(_0x2e4ca1,_0x500eb2,_0x5abfd9,_0x514bce){return _0x14f8c9(_0x5abfd9,_0x2e4ca1-_0x20bdaf._0x3c5e7f,_0x5abfd9-0x14c,_0x514bce-_0x20bdaf._0x3b6354);}return(await readStore(_0x168ada))[_0x53ab03(_0x13cdc1._0x25de4a,0x217,_0x13cdc1._0x13b6f6,0x2f8)];},async 'saveTokens'(_0x3798df){const _0x494037={_0x23e15c:0x106},_0xbc216b={_0x44ebe2:0xa3};await updateStore(_0x168ada,_0x4e003d=>{function _0x310a6d(_0x31a473,_0xbc1aac,_0x26cfa1,_0x553a2c){return _0xa933(_0x26cfa1-_0xbc216b._0x44ebe2,_0x553a2c);}_0x4e003d[_0x310a6d(0x369,0x3f,0x233,_0x494037._0x23e15c)]=_0x3798df;});},async 'redirectToAuthorization'(_0xceb470){await _0x1392f9['onRedirect'](_0xceb470);},async 'saveCodeVerifier'(_0x555c38){await updateStore(_0x168ada,_0x3276d8=>{const _0xe69fb0={_0x8abf3e:0x3c4};function _0x15eb5e(_0x431e6e,_0x12f391,_0x595e7f,_0x4d1084){return _0xa933(_0x4d1084- -_0xe69fb0._0x8abf3e,_0x12f391);}_0x3276d8[_0x15eb5e(-_0x574769._0x28fde2,-_0x574769._0x357cb6,-0x1f8,-0x22f)]=_0x555c38;});},async 'codeVerifier'(){const _0x22d8fd={_0x511302:0x75},_0x5ba72a=(await readStore(_0x168ada))[_0x1f89d3(_0xd286c5._0x2c6fc3,0x272,0xd9,0xdf)];if(!_0x5ba72a)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');function _0x1f89d3(_0x500d4f,_0x106e6e,_0x135dba,_0x48b932){return _0x14f8c9(_0x135dba,_0x500d4f-0xfc,_0x135dba-_0x22d8fd._0x511302,_0x48b932-0x1e9);}return _0x5ba72a;},async 'invalidateCredentials'(_0x31e06d){const _0x2a9671={_0xc69967:0x160,_0x387b1a:0x49a,_0x28c2ba:0xad,_0x3ea3e0:0x390,_0x35514c:0x5e9,_0x41e79b:0xa5,_0x426b68:0x34,_0x387160:0x5e6,_0x33e1c3:0x4a3,_0x1e9794:0xf,_0x28267f:0x7f,_0x461177:0xda,_0x4b8ebd:0x85,_0x3f1fbf:0x105,_0x132622:0x1cb,_0x3ac1eb:0x101,_0x45f869:0x108,_0x4f6c75:0x3e,_0x52fb79:0x16a,_0x3f146e:0xa1};await updateStore(_0x168ada,_0x10f604=>{const _0x4288c1={_0x9c374e:0x396};function _0x5dd11c(_0x28b0be,_0x3def12,_0x132bd5,_0x551a87){return _0xa933(_0x28b0be- -0x211,_0x132bd5);}(_0x31e06d===_0x5dd11c(0x7f,0x4b,_0x2a9671._0xc69967,0x6e)||_0x31e06d===_0x2a2652(0x37f,0x50c,0x631,_0x2a9671._0x387b1a))&&(_0x10f604[_0x5dd11c(0x189,_0x2a9671._0x28c2ba,_0x2a9671._0x3ea3e0,0x33f)]=void 0x0);function _0x2a2652(_0x5696b2,_0x16f550,_0x3d4361,_0x1541ce){return _0xa933(_0x16f550-_0x4288c1._0x9c374e,_0x3d4361);}(_0x31e06d===_0x2a2652(_0x2a9671._0x35514c,0x626,0x584,0x56d)||_0x31e06d==='tokens')&&(_0x10f604[_0x5dd11c(-0x81,0x11a,-0x1a9,0x172)]=void 0x0),(_0x31e06d===_0x5dd11c(0x7f,-0x18d,_0x2a9671._0x41e79b,_0x2a9671._0x426b68)||_0x31e06d===_0x2a2652(0x767,0x69b,_0x2a9671._0x387160,_0x2a9671._0x33e1c3))&&(_0x10f604['codeVerifier']=void 0x0,_0x10f604[_0x5dd11c(-_0x2a9671._0x1e9794,0xcb,-0xce,-0xd9)]=void 0x0),(_0x31e06d===_0x5dd11c(_0x2a9671._0x28267f,0xa9,_0x2a9671._0x461177,-_0x2a9671._0x4b8ebd)||_0x31e06d===_0x5dd11c(0x282,_0x2a9671._0x3f1fbf,_0x2a9671._0x132622,_0x2a9671._0x3ac1eb))&&(_0x10f604[_0x5dd11c(_0x2a9671._0x45f869,-_0x2a9671._0x4f6c75,_0x2a9671._0x52fb79,_0x2a9671._0x3f146e)]=void 0x0);});},async 'saveDiscoveryState'(_0x726c1e){const _0x156722={_0x4420a3:0x1e7};await updateStore(_0x168ada,_0x358b7a=>{function _0x375ad5(_0x3c1922,_0x3d1c01,_0x251b94,_0x507cd2){return _0xa933(_0x3d1c01- -_0x156722._0x4420a3,_0x507cd2);}_0x358b7a[_0x375ad5(-0xa7,_0x5e1a7c._0x254a18,-_0x5e1a7c._0x1a7818,0x13d)]=_0x726c1e;});},async 'discoveryState'(){return(await readStore(_0x168ada))['discoveryState'];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x16ac01(0x4,0x6a,-0xd6,0x20c),'message':_0x159538=>'MCP\x20server\x20'+_0x159538+_0x5885dd(0x660,0x595,0x34f,0x545)},'connect':{'code':_0x5885dd(0x1ee,0x490,0x3cb,0x405),'message':_0x5709ea=>_0x16ac01(0x225,0x14b,0x1ae,0x1b)+_0x5709ea+_0x5885dd(0x20a,0x33a,0x1de,0x323)},'discover':{'code':'mcp-discovery-failed','message':_0x2d9df4=>'MCP\x20server\x20'+_0x2d9df4+_0x5885dd(0x437,0x209,0x280,0x419)},'toolCall':{'code':_0x16ac01(0xe3,0xc0,0x22,0x17c),'message':_0x38abb9=>_0x5885dd(0x4c1,0x3b3,0x1e1,0x3da)+_0x38abb9+_0x16ac01(0x188,0x14,0x8f,0x203)}},timeoutMessageByOperation={'close':_0x27491d=>_0x5885dd(0x53f,0x416,0x449,0x3da)+_0x27491d+'\x20close\x20timed\x20out','connect':_0x2b4696=>_0x5885dd(0x244,0x58f,0x39a,0x3da)+_0x2b4696+'\x20connection\x20timed\x20out','discover':_0x45940a=>_0x16ac01(0x8b,0x14b,0xb0,-0xbf)+_0x45940a+_0x16ac01(0x1d9,0x1ec,0x83,0x14b),'toolCall':_0x29cd13=>_0x5885dd(0x3b3,0x4bf,0x1eb,0x3da)+_0x29cd13+'\x20tool\x20call\x20timed\x20out'};function toMcpSafeError(_0x19490a){const _0x4aa3e9={_0x1ddf14:0x62a,_0x29615a:0x445,_0x5e7b9f:0x46d,_0x799bdc:0x54e,_0x38e03a:0x642,_0x37124b:0x641,_0x52bddc:0x6ad,_0x112839:0x595,_0x477d63:0x289,_0x208d9d:0x697,_0x1832d1:0x2db,_0x68d485:0x476,_0x3a10ca:0x2c3,_0x2eecf2:0x315,_0x26bad6:0x3d7,_0x44f4f0:0x26c,_0x246616:0x173,_0x1a0e95:0xbf,_0xb65bb9:0x10,_0x2178c2:0x13c,_0x5bfdf7:0x439,_0x3ab95a:0x5c2,_0x470db2:0x24f},_0x2fd60b={_0xb6e8d5:0x61},_0x113171={_0x1d8c30:0x4df,_0x31025e:0x19c};function _0x325962(_0x2c51d8,_0x3ef3e3,_0xce4758,_0x5744b8){return _0x16ac01(_0x2c51d8-0x104,_0x2c51d8-_0x113171._0x1d8c30,_0xce4758-_0x113171._0x31025e,_0x3ef3e3);}if(_0x19490a['error']instanceof UnauthorizedError)return Object[_0x50f86f(0x126,0x224,0x2d0,0x264)]({'code':'mcp-auth-required','message':_0x325962(_0x4aa3e9._0x1ddf14,0x7d8,0x509,0x43a)+_0x19490a[_0x325962(0x439,0x2c9,_0x4aa3e9._0x29615a,_0x4aa3e9._0x5e7b9f)]+_0x325962(_0x4aa3e9._0x799bdc,_0x4aa3e9._0x38e03a,0x552,0x4e4)});function _0x50f86f(_0x288f48,_0x1e2667,_0x5778d6,_0x7f3642){return _0x5885dd(_0x288f48-0xb2,_0x1e2667,_0x5778d6-_0x2fd60b._0xb6e8d5,_0x7f3642- -0x1e1);}if(_0x19490a[_0x325962(0x691,0x52d,_0x4aa3e9._0x37124b,_0x4aa3e9._0x52bddc)]instanceof McpError&&_0x19490a['error'][_0x325962(0x61a,_0x4aa3e9._0x112839,0x784,0x776)]===ErrorCode[_0x50f86f(0x4d9,_0x4aa3e9._0x477d63,0x340,0x345)])return Object['freeze']({'code':_0x325962(0x6a4,0x507,_0x4aa3e9._0x208d9d,_0x4aa3e9._0x1ddf14),'message':timeoutMessageByOperation[_0x19490a[_0x50f86f(_0x4aa3e9._0x1832d1,_0x4aa3e9._0x68d485,_0x4aa3e9._0x3a10ca,_0x4aa3e9._0x2eecf2)]](_0x19490a[_0x50f86f(0x120,0x1c6,0x12d,0x8)])});const _0x2d5884=failureByOperation[_0x19490a[_0x50f86f(0x374,0x1b7,_0x4aa3e9._0x26bad6,0x315)]];return Object['freeze']({'code':_0x2d5884[_0x50f86f(0x339,_0x4aa3e9._0x44f4f0,_0x4aa3e9._0x246616,0x1e9)],'message':_0x2d5884[_0x50f86f(_0x4aa3e9._0x1a0e95,_0x4aa3e9._0xb65bb9,-0xa,_0x4aa3e9._0x2178c2)](_0x19490a[_0x325962(_0x4aa3e9._0x5bfdf7,_0x4aa3e9._0x3ab95a,_0x4aa3e9._0x470db2,0x259)])});}function redactMcpDiagnostic(_0x252d7c,_0x24a893){const _0x28efd8={_0xdc4a61:0x493,_0x395f71:0x34f,_0x372935:0x5e8,_0x43729b:0x401,_0x19e03d:0x4f8,_0x3a7d98:0x3bf,_0x59fa14:0x38f,_0x59d374:0x295,_0x35f5c3:0x25d,_0x4bd69f:0x39e,_0xdf3b08:0x5c1,_0x342990:0x3bf,_0x259985:0x258},_0x41f1a6={_0x43212c:0x179,_0x2e194c:0x1b9,_0x43d0c0:0x16d},_0x449660={_0x512162:0x1b9,_0x489f4b:0x34},_0x5b52de=[...new Set(_0x24a893['filter'](_0x23c42c=>_0x23c42c[_0x510708(0x3bf,0x2c2,0x5c1,0x3f6)]>0x0))][_0x510708(0x1ba,0x17d,0x2b1,0x253)]((_0x7b5fb,_0x4b7a4d)=>_0x4b7a4d['length']-_0x7b5fb[_0x3584cc(0x49f,0x380,0x6d2,0x4f8)]);if(_0x252d7c[_0x510708(0x3bf,_0x28efd8._0xdc4a61,_0x28efd8._0x395f71,0x590)]===0x0||_0x5b52de[_0x3584cc(_0x28efd8._0x372935,0x609,_0x28efd8._0x43729b,_0x28efd8._0x19e03d)]===0x0)return _0x252d7c;function _0x510708(_0x3dd103,_0x5de4e4,_0x58f9bf,_0x5559f4){return _0x5885dd(_0x3dd103-_0x449660._0x512162,_0x5559f4,_0x58f9bf-0x69,_0x3dd103-_0x449660._0x489f4b);}let _0x24b752='';function _0x3584cc(_0x1afbe1,_0x2983e0,_0x47f7ca,_0x398473){return _0x5885dd(_0x1afbe1-_0x41f1a6._0x43212c,_0x2983e0,_0x47f7ca-_0x41f1a6._0x2e194c,_0x398473-_0x41f1a6._0x43d0c0);}let _0x1dd5d9=0x0;while(_0x1dd5d9<_0x252d7c[_0x510708(_0x28efd8._0x3a7d98,_0x28efd8._0x59fa14,_0x28efd8._0x59d374,_0x28efd8._0x35f5c3)]){const _0xb47e52=_0x5b52de['find'](_0x130d13=>_0x252d7c['startsWith'](_0x130d13,_0x1dd5d9));_0xb47e52?(_0x24b752+=_0x510708(0x4d4,0x65b,_0x28efd8._0x4bd69f,_0x28efd8._0xdf3b08),_0x1dd5d9+=_0xb47e52[_0x510708(_0x28efd8._0x342990,0x540,_0x28efd8._0x259985,0x32c)]):(_0x24b752+=_0x252d7c[_0x1dd5d9],_0x1dd5d9+=0x1);}return _0x24b752;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x41387a){const _0xa13e77={_0x402c61:0x811,_0x48b7f2:0x61e,_0x231366:0x559},_0x2d0c41={_0x1f689e:0x4e6,_0x502d99:0x1c6},_0x17a27c={_0x277c35:0x11e,_0x2a231e:0x3ef};function _0x46f036(_0x5a0723,_0x494324,_0x4bd601,_0x15963c){return _0x5885dd(_0x5a0723-_0x17a27c._0x277c35,_0x494324,_0x4bd601-0x118,_0x5a0723-_0x17a27c._0x2a231e);}function _0x3f107f(_0x153128,_0x4984d4,_0x1a1d0e,_0x5c0f57){return _0x16ac01(_0x153128-0xa4,_0x153128-_0x2d0c41._0x1f689e,_0x1a1d0e-_0x2d0c41._0x502d99,_0x4984d4);}return typeof _0x41387a===_0x46f036(0x91a,0x7da,_0xa13e77._0x402c61,0x92f)&&_0x41387a!==null||typeof _0x41387a===_0x46f036(_0xa13e77._0x48b7f2,_0xa13e77._0x231366,0x7be,0x607);}function createOwnedMcpSafeError(_0x39c688){const _0x550928={_0x3879ee:0x157,_0x10e634:0x427,_0x3460c1:0x275,_0x43c3ed:0xd5,_0x24d20e:0x272,_0x179889:0x1c8},_0x288b8a={_0x12470a:0x184,_0x3909ee:0x210},_0x5f12db={_0x56c597:0xcc,_0xb3db7:0x176};function _0x1b50c(_0x4d15b5,_0x20d1e0,_0x3cf39a,_0x4eee46){return _0x5885dd(_0x4d15b5-_0x5f12db._0x56c597,_0x4d15b5,_0x3cf39a-_0x5f12db._0xb3db7,_0x4eee46- -0x155);}function _0x24e87d(_0x24c48b,_0x1b2789,_0x794580,_0x3e77c0){return _0x5885dd(_0x24c48b-_0x288b8a._0x12470a,_0x1b2789,_0x794580-0x17,_0x794580- -_0x288b8a._0x3909ee);}const _0x2337ee=toMcpSafeError(_0x39c688),_0x1c4f76=Object[_0x1b50c(0x26e,0x2f4,_0x550928._0x3879ee,0x2f0)]({'code':_0x2337ee[_0x1b50c(_0x550928._0x10e634,0x434,0x158,_0x550928._0x3460c1)],'message':_0x2337ee[_0x1b50c(0x378,_0x550928._0x43c3ed,_0x550928._0x24d20e,_0x550928._0x179889)]});return ownedMcpSafeErrors['set'](_0x2337ee,_0x1c4f76),_0x2337ee;}function extractOwnedMcpSafeError(_0x48d50c){const _0x44256a={_0x211793:0x752,_0x554ba4:0xa5,_0x3f7fae:0xcb,_0x3becd5:0xef,_0xbbfd94:0x2a,_0x124ac7:0x1ec,_0x2ed09f:0x178},_0x2edc71={_0x20f074:0x145},_0x31acd5={_0x41b46f:0x290};if(!isWeakMapKey(_0x48d50c))return void 0x0;const _0x3c1fc4=ownedMcpSafeErrors[_0x172ef2(0x70f,_0x44256a._0x211793,0x7f4,0x883)](_0x48d50c);if(!_0x3c1fc4)return void 0x0;const _0x113e29=Object[_0x3d7dc4(_0x44256a._0x554ba4,_0x44256a._0x3f7fae,_0x44256a._0x3becd5,0x21e)]({'code':_0x3c1fc4[_0x3d7dc4(_0x44256a._0xbbfd94,_0x44256a._0x124ac7,-_0x44256a._0x2ed09f,-0x1d4)],'message':_0x3c1fc4['message']});function _0x172ef2(_0x3b7b31,_0x475c44,_0x548056,_0x44d1ad){return _0x5885dd(_0x3b7b31-0x7b,_0x3b7b31,_0x548056-0x30,_0x548056-_0x31acd5._0x41b46f);}function _0x3d7dc4(_0x3a5779,_0x3357b5,_0x3750cb,_0x2c22cb){return _0x5885dd(_0x3a5779-0xdc,_0x3357b5,_0x3750cb-_0x2edc71._0x20f074,_0x3a5779- -0x3a0);}return ownedMcpSafeErrors['set'](_0x113e29,_0x3c1fc4),_0x113e29;}function ownValue(_0x4786c2,_0x3cfbca){const _0x571565={_0x1e88f3:0x15a,_0x5586fc:0x1cf};function _0x3ea523(_0x738ce7,_0x76a775,_0x36a13a,_0x16ccdb){return _0x5885dd(_0x738ce7-_0x571565._0x1e88f3,_0x76a775,_0x36a13a-_0x571565._0x5586fc,_0x36a13a- -0x1a5);}return _0x4786c2&&Object[_0x3ea523(-0x81,0x2c5,0x176,0x256)](_0x4786c2,_0x3cfbca)?_0x4786c2[_0x3cfbca]:void 0x0;}function isToolPermissionClass(_0x1f4f6d){const _0x35a851={_0x50b1a1:0x39d,_0x6e9e75:0x4de,_0x311236:0x5ad,_0x21100a:0x595},_0x371a38={_0x3c9a6f:0xb5},_0x1c0038={_0x59e9fe:0x1a3,_0x29e48e:0x224};function _0x164975(_0x104940,_0x5e3b3e,_0x14a518,_0x264bf5){return _0x5885dd(_0x104940-_0x1c0038._0x59e9fe,_0x14a518,_0x14a518-0x13a,_0x5e3b3e- -_0x1c0038._0x29e48e);}function _0x5d58dc(_0x5452a7,_0x58c4f0,_0x34b5d3,_0x2cf8f8){return _0x16ac01(_0x5452a7-0x130,_0x5452a7-0x4c3,_0x34b5d3-_0x371a38._0x3c9a6f,_0x58c4f0);}return _0x1f4f6d==='read'||_0x1f4f6d===_0x5d58dc(0x435,_0x35a851._0x50b1a1,0x3fb,0x5ce)||_0x1f4f6d===_0x5d58dc(_0x35a851._0x6e9e75,0x44a,_0x35a851._0x311236,_0x35a851._0x21100a);}function suggestedPermissionClass(_0x30c525){const _0x24cbf0={_0x107535:0x26d,_0x1050b2:0x28,_0x2e0fd2:0x119,_0x540029:0x228,_0x33a9c0:0x2ae,_0x417515:0x30b},_0x41fcd4={_0x14d4a0:0x1ea,_0x46a6c4:0x399},_0x455216={_0x3ce71f:0x8b,_0x1a2d4d:0x2b6},_0x43ca35=_0x30c525[_0xbb4ac6(-_0x24cbf0._0x107535,-_0x24cbf0._0x1050b2,-0x227,-_0x24cbf0._0x2e0fd2)]?.['readOnlyHint'];function _0xbb4ac6(_0x31b1d5,_0x4bb55f,_0x2168ec,_0x35f51a){return _0x5885dd(_0x31b1d5-0xa4,_0x31b1d5,_0x2168ec-_0x455216._0x3ce71f,_0x35f51a- -_0x455216._0x1a2d4d);}if(_0x43ca35===!![])return'read';if(_0x43ca35===![])return _0x31f91d(_0x24cbf0._0x540029,_0x24cbf0._0x33a9c0,_0x24cbf0._0x417515,0x23a);function _0x31f91d(_0x573fbf,_0x1f979c,_0x55b41d,_0x48c816){return _0x16ac01(_0x573fbf-_0x41fcd4._0x14d4a0,_0x55b41d-_0x41fcd4._0x46a6c4,_0x55b41d-0x79,_0x48c816);}return void 0x0;}function isJsonValue(_0x2c2997){const _0xeaf81c={_0x1abe65:0x5a9,_0x4bcc89:0x6b0,_0x2ee024:0x776,_0x17c498:0x724,_0x3f29e3:0x8a6,_0x3e94bb:0x3c9,_0x4ccbdc:0x814},_0x543609={_0x3e7316:0x8f},_0x3e286e={_0x283521:0x94,_0x5af60a:0x15d,_0x593ef4:0x1e3};if(_0x2c2997===null||typeof _0x2c2997==='string'||typeof _0x2c2997===_0x3f6680(0x4e3,0x494,_0xeaf81c._0x1abe65,0x465)||typeof _0x2c2997===_0x20b972(0x614,0x874,_0xeaf81c._0x4bcc89,_0xeaf81c._0x2ee024))return!![];function _0x3f6680(_0x2d097b,_0x36cb81,_0x150f03,_0x357aa1){return _0x5885dd(_0x2d097b-_0x3e286e._0x283521,_0x150f03,_0x150f03-_0x3e286e._0x5af60a,_0x2d097b-_0x3e286e._0x593ef4);}function _0x20b972(_0x53da4a,_0x433880,_0x43c964,_0x5d85f0){return _0x16ac01(_0x53da4a-0x9,_0x5d85f0-0x5dc,_0x43c964-_0x543609._0x3e7316,_0x433880);}if(Array['isArray'](_0x2c2997))return _0x2c2997[_0x3f6680(_0xeaf81c._0x17c498,0x556,0x679,_0xeaf81c._0x3f29e3)](isJsonValue);if(!isObject(_0x2c2997))return![];return Object[_0x3f6680(0x3ee,0x4e3,_0xeaf81c._0x3e94bb,0x593)](_0x2c2997)[_0x20b972(0x6b4,0x776,_0xeaf81c._0x4ccbdc,0x88e)](isJsonValue);}function projectMcpTools(_0x441170){const _0x8039eb={_0x4a737f:0x314,_0xa710f4:0x415,_0x17d37a:0x41c,_0x16a286:0x3c1,_0xc3675a:0x31b,_0x3361be:0x653,_0x24ab6d:0x5c0,_0x14c15d:0x4a6,_0x7e77fe:0x3c5,_0x3a247a:0x4a6,_0x1df964:0x611,_0x47e58e:0x389,_0x5932d0:0x1b6,_0x119cea:0x1f6,_0x3a56cb:0x378,_0x54f801:0x76e,_0x576182:0x192,_0x3bc4b2:0x54e,_0x342f75:0x4f1,_0x20d2e1:0x377,_0x45b68d:0x3fb,_0xa6b28a:0x42d,_0x1e6f7c:0x3bc,_0x3575dc:0x369,_0x2b1e74:0x318,_0xd5d81c:0x288,_0x12a60a:0x4f8,_0x5beb29:0x44e,_0x5438e8:0x6ba},_0xe3b0af={_0x511d0e:0x8d,_0x10bd38:0x74},_0x5127f0={_0x51da4e:0xc0},_0x1eda7f=[],_0x2ce4bd=[];function _0x5a019c(_0x212190,_0x1bcd71,_0x12f6cd,_0x22242c){return _0x16ac01(_0x212190-0x33,_0x1bcd71-0x4d3,_0x12f6cd-_0x5127f0._0x51da4e,_0x22242c);}function _0x23b0c5(_0x3d2869,_0x52d4b3,_0x55b440,_0x2e74db){return _0x5885dd(_0x3d2869-0x1eb,_0x2e74db,_0x55b440-_0xe3b0af._0x511d0e,_0x3d2869- -_0xe3b0af._0x10bd38);}for(const _0x51f9a6 of _0x441170[_0x23b0c5(0x33c,_0x8039eb._0x4a737f,0x33b,_0x8039eb._0xa710f4)]){const _0x45a16e=ownValue(_0x441170['toolPermissions'],_0x51f9a6['name']),_0x215394=isToolPermissionClass(_0x45a16e)?_0x45a16e:void 0x0,_0x2708cf=_0x215394??_0x23b0c5(0x236,_0x8039eb._0x17d37a,0x1cb,0x3a0),_0x4a7220=suggestedPermissionClass(_0x51f9a6);_0x2ce4bd['push']({'name':_0x51f9a6[_0x23b0c5(0x432,0x53b,_0x8039eb._0x16a286,_0x8039eb._0xc3675a)],..._0x51f9a6[_0x5a019c(_0x8039eb._0x3361be,0x51b,_0x8039eb._0x24ab6d,0x6cb)]!==void 0x0?{'description':_0x51f9a6['description']}:{},...isJsonValue(_0x51f9a6[_0x23b0c5(_0x8039eb._0x14c15d,0x340,_0x8039eb._0x7e77fe,0x3d8)])?{'inputSchema':_0x51f9a6[_0x23b0c5(_0x8039eb._0x3a247a,0x301,_0x8039eb._0x1df964,0x4f2)]}:{},'permissionClass':_0x2708cf,'permissionConfigured':_0x215394!==void 0x0,..._0x4a7220!==void 0x0?{'suggestedPermissionClass':_0x4a7220}:{}});if(ownValue(_0x441170[_0x23b0c5(_0x8039eb._0x47e58e,_0x8039eb._0x5932d0,_0x8039eb._0x119cea,_0x8039eb._0x3a56cb)],_0x51f9a6[_0x5a019c(0x502,0x6ea,0x7ee,_0x8039eb._0x54f801)])===![])continue;_0x1eda7f[_0x23b0c5(_0x8039eb._0x576182,0x33f,0x8a,0x26b)](createMcpTool({'serverName':_0x441170[_0x5a019c(_0x8039eb._0x3bc4b2,_0x8039eb._0x342f75,_0x8039eb._0x20d2e1,_0x8039eb._0x45b68d)]??_0x441170[_0x5a019c(0x32e,_0x8039eb._0xa6b28a,_0x8039eb._0x1e6f7c,_0x8039eb._0x3575dc)],'tool':_0x51f9a6,'client':_0x441170[_0x5a019c(_0x8039eb._0x2b1e74,0x396,0x18a,_0x8039eb._0xd5d81c)],'permissionClass':_0x2708cf,'internalLifecycle':_0x441170[_0x5a019c(0x4eb,_0x8039eb._0x12a60a,_0x8039eb._0x5beb29,_0x8039eb._0x5438e8)]}));}return{'tools':_0x1eda7f,'descriptors':_0x2ce4bd};}function createMcpToolName(_0x5a9aa1,_0x144a03){const _0x5b48ba={_0x5c9b88:0x9b,_0x33220c:0x62},_0x4e0b5f={_0x55a844:0x150},_0x10e746={_0x1c9f8c:0x183},_0x4fd680=_0x167357=>_0x167357['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x23137d(0x555,0x4fe,0x377,0x3f9)](/^_+|_+$/g,'');function _0x334e7e(_0x46ce10,_0x326d1b,_0x4d3f4d,_0x3aa332){return _0x16ac01(_0x46ce10-_0x10e746._0x1c9f8c,_0x3aa332-0x5c,_0x4d3f4d-0x4a,_0x326d1b);}function _0x23137d(_0x4d34da,_0x3dd736,_0x218131,_0x765067){return _0x5885dd(_0x4d34da-_0x4e0b5f._0x55a844,_0x218131,_0x218131-0x15a,_0x3dd736- -0x6b);}return _0x334e7e(-0x13e,_0x5b48ba._0x5c9b88,-0x204,-_0x5b48ba._0x33220c)+_0x4fd680(_0x5a9aa1)+'_'+_0x4fd680(_0x144a03);}function isObject(_0x313810){const _0x3a2d8a={_0x53ca50:0x445,_0x3fc18c:0x509,_0x3211f0:0x508,_0x310191:0x5ec},_0x2caace={_0x41eb48:0x235},_0x4d204e={_0x4d317e:0x2bd,_0x4c76ec:0xce};function _0x2db82c(_0x49856f,_0x43c5ce,_0x1ab392,_0x4d9c8a){return _0x16ac01(_0x49856f-0xec,_0x4d9c8a-_0x4d204e._0x4d317e,_0x1ab392-_0x4d204e._0x4c76ec,_0x1ab392);}function _0x33c7d8(_0x11db39,_0x2aa50e,_0xb958bc,_0x46e816){return _0x5885dd(_0x11db39-0x4f,_0xb958bc,_0xb958bc-0x1a0,_0x46e816-_0x2caace._0x41eb48);}return typeof _0x313810===_0x2db82c(_0x3a2d8a._0x53ca50,0x5c9,_0x3a2d8a._0x3fc18c,0x559)&&_0x313810!==null&&!Array[_0x33c7d8(0x2cf,_0x3a2d8a._0x3211f0,_0x3a2d8a._0x310191,0x45b)](_0x313810);}function toSupportedSchema(_0x106b07){const _0x70d0e1={_0x5d61d9:0x481,_0x489cd1:0x5c4,_0x5129aa:0x245,_0x262af6:0x364,_0x2fbe00:0x3e0,_0x36590f:0x77e,_0x400a07:0x871,_0x50a270:0x4d8,_0x15e461:0x873,_0x2b15c1:0x5f4,_0x1c1940:0x6c6,_0x39f96e:0x5f,_0x3eb499:0x22,_0x53faaf:0x188,_0x160e93:0x97,_0xb604f9:0x3c,_0x30e320:0x798,_0x84f2e1:0x8d5,_0x383213:0x5fb,_0x10d433:0x767,_0x54e5fe:0x7fd,_0x2393dd:0x653,_0x3d374a:0x4f9,_0x2032e2:0x5b7,_0x1aaa92:0x709,_0x512be2:0x611,_0x167276:0x7d6,_0x5b48e1:0x556},_0x218509={_0x19511b:0x135},_0x16678d={_0x17380:0xcb};function _0x34741a(_0xc0b983,_0x3e718c,_0x3b93da,_0x42b95a){return _0x5885dd(_0xc0b983-0xd0,_0x3b93da,_0x3b93da-_0x16678d._0x17380,_0xc0b983- -0x2a1);}if(!isObject(_0x106b07))return void 0x0;if(_0x106b07[_0x49aa3b(0x657,0x688,_0x70d0e1._0x5d61d9,_0x70d0e1._0x489cd1)]===_0x34741a(_0x70d0e1._0x5129aa,0x20e,_0x70d0e1._0x262af6,_0x70d0e1._0x2fbe00))return{'type':_0x49aa3b(_0x70d0e1._0x36590f,_0x70d0e1._0x400a07,0x912,0x824)};function _0x49aa3b(_0xb79b3,_0x3f90a7,_0x5f51aa,_0x501d15){return _0x5885dd(_0xb79b3-_0x218509._0x19511b,_0x5f51aa,_0x5f51aa-0x14e,_0x501d15-0x33e);}if(_0x106b07['type']===_0x34741a(0x5f,0x15d,0xbc,0xdd)||_0x106b07[_0x49aa3b(0x68a,0x3af,0x6f7,0x5c4)]===_0x49aa3b(_0x70d0e1._0x50a270,_0x70d0e1._0x15e461,_0x70d0e1._0x2b15c1,_0x70d0e1._0x1c1940))return{'type':_0x34741a(_0x70d0e1._0x39f96e,0x1d4,-_0x70d0e1._0x3eb499,0x1b6)};if(_0x106b07[_0x34741a(-0x1b,0x164,-0x136,-0x43)]===_0x34741a(_0x70d0e1._0x53faaf,_0x70d0e1._0x160e93,-_0x70d0e1._0xb604f9,0x48))return{'type':_0x49aa3b(_0x70d0e1._0x30e320,_0x70d0e1._0x84f2e1,_0x70d0e1._0x383213,_0x70d0e1._0x10d433)};if(_0x106b07['type']==='array')return{'type':_0x49aa3b(_0x70d0e1._0x54e5fe,_0x70d0e1._0x2393dd,_0x70d0e1._0x3d374a,0x61b),'items':toSupportedSchema(_0x106b07[_0x49aa3b(0x633,_0x70d0e1._0x2032e2,0x90f,_0x70d0e1._0x1aaa92)])??{'type':_0x49aa3b(0x757,_0x70d0e1._0x512be2,_0x70d0e1._0x167276,0x824)}};if(_0x106b07[_0x49aa3b(0x50f,_0x70d0e1._0x5b48e1,0x5bb,0x5c4)]==='object')return toNuvinToolSchema(_0x106b07);return void 0x0;}function toNuvinToolSchema(_0x1bc4f6){const _0x3333af={_0x452d90:0x497,_0x5931c1:0x3a2,_0x1a7377:0x528,_0x351ecd:0x4fc,_0xa47bc6:0x438,_0x33da2f:0x3fe,_0x438eec:0x36a,_0x3a0210:0x36e,_0x326a1c:0x4af,_0x4afc57:0x590,_0x120fce:0x25a,_0x3279a4:0x1a4,_0x2684f4:0x133,_0x548ec2:0x344,_0x438832:0x4b8,_0x5afeba:0x1d2,_0x547847:0xcc,_0x5b135b:0xca,_0x368c4d:0xe3,_0x21575f:0x2ec,_0x42e57f:0x674,_0x412771:0x3a4,_0x45b57a:0x4be,_0x4cff2c:0x3ee,_0x459859:0x444,_0x50dc21:0x438,_0x523c2f:0x604},_0x308bcf={_0x1e68a2:0x1bd};function _0x42020c(_0x21fe9a,_0x59c5ce,_0x487d06,_0x3f6fcc){return _0x16ac01(_0x21fe9a-0xa,_0x3f6fcc-0x3c2,_0x487d06-0x15a,_0x487d06);}if(!isObject(_0x1bc4f6)||_0x1bc4f6[_0x42020c(_0x3333af._0x452d90,_0x3333af._0x5931c1,_0x3333af._0x1a7377,0x3b9)]!=='object')return{'type':_0x2f7592(_0x3333af._0x351ecd,0x4b6,_0x3333af._0xa47bc6,0x586),'properties':{}};const _0x2930f2={},_0x5cafa8=isObject(_0x1bc4f6[_0x2f7592(0x1da,_0x3333af._0x33da2f,_0x3333af._0x438eec,_0x3333af._0x3a0210)])?_0x1bc4f6[_0x42020c(_0x3333af._0x326a1c,0x3bd,0x4a9,_0x3333af._0x4afc57)]:{};for(const [_0x2bb040,_0x285507]of Object['entries'](_0x5cafa8)){const _0x2376a2=toSupportedSchema(_0x285507);if(_0x2376a2)_0x2930f2[_0x2bb040]=_0x2376a2;}const _0x4866da=Array[_0x2f7592(_0x3333af._0x120fce,_0x3333af._0x3279a4,_0x3333af._0x2684f4,_0x3333af._0x548ec2)](_0x1bc4f6[_0x42020c(_0x3333af._0x438832,_0x3333af._0x5afeba,0x4dd,0x2c6)])?_0x1bc4f6['required'][_0x2f7592(-_0x3333af._0x547847,-_0x3333af._0x5b135b,_0x3333af._0x368c4d,_0x3333af._0x21575f)](_0x334376=>typeof _0x334376===_0x2f7592(0x522,0x319,0x3f3,0x5d2)):void 0x0;function _0x2f7592(_0x23875f,_0x3c9a15,_0x5ae0c7,_0x346be0){return _0x5885dd(_0x23875f-0x1b1,_0x23875f,_0x5ae0c7-_0x308bcf._0x1e68a2,_0x5ae0c7- -0xf3);}return _0x4866da?.[_0x42020c(_0x3333af._0x42e57f,_0x3333af._0x412771,0x61b,_0x3333af._0x45b57a)]?{'type':'object','properties':_0x2930f2,'required':_0x4866da}:{'type':_0x2f7592(_0x3333af._0x4cff2c,_0x3333af._0x459859,_0x3333af._0x50dc21,_0x3333af._0x523c2f),'properties':_0x2930f2};}function isJsonObject(_0x33ec8e){const _0x21967b={_0x4eea37:0x913,_0x310810:0x5d2,_0x79e321:0x4b1,_0x33a2bb:0x615,_0x35c24c:0x4a8},_0x10c0e8={_0x2fc018:0x9c,_0xcdd73c:0x282},_0x368e26={_0x4f33ba:0x5e7,_0x3fedd2:0x10f};function _0x326859(_0x4a63d9,_0x394c77,_0x167110,_0x4f40fc){return _0x16ac01(_0x4a63d9-0x170,_0x394c77-_0x368e26._0x4f33ba,_0x167110-_0x368e26._0x3fedd2,_0x167110);}function _0x1789a9(_0x2f73d4,_0x25945c,_0x289986,_0x2e88e8){return _0x5885dd(_0x2f73d4-0xc4,_0x2f73d4,_0x289986-_0x10c0e8._0x2fc018,_0x289986-_0x10c0e8._0xcdd73c);}return typeof _0x33ec8e===_0x1789a9(_0x21967b._0x4eea37,_0x21967b._0x310810,0x7ad,0x8ca)&&_0x33ec8e!==null&&!Array[_0x1789a9(_0x21967b._0x79e321,_0x21967b._0x33a2bb,_0x21967b._0x35c24c,0x31a)](_0x33ec8e);}function formatMcpContent(_0x35fcbf){const _0xf30bcf={_0x3246b7:0x291,_0x46ae1f:0x2ae,_0x858158:0x48d,_0x50eacc:0x34a,_0x29c593:0x41c,_0x37a6ee:0x4a9,_0x3f3e89:0x2,_0xdaeed6:0x11f,_0x4f9896:0x68,_0x54c43a:0x33f,_0x185212:0x3f5,_0x3fe7a5:0x206,_0x51a3a4:0x634,_0x47bc81:0x526},_0x3d64b6={_0x4481d5:0x1f3,_0xdf9b71:0x6a},_0x31e2d7={_0x59c493:0x36,_0x19fbc3:0x6b},_0x493c97={_0x3fd8db:0x2,_0x15f393:0xa6,_0x143868:0x1c5,_0x10d010:0x31,_0x10056e:0xfc,_0x166105:0x40,_0x16d024:0x194,_0x43aab0:0x4e,_0x29e48c:0xbc,_0xd95d42:0xe1,_0x53ad3a:0x45},_0x1b977f={_0x3ab700:0x1da,_0x2d4c17:0x1f0},_0x2aeaa2=Array[_0x49ca06(_0xf30bcf._0x3246b7,0xd2,_0xf30bcf._0x46ae1f,_0xf30bcf._0x858158)](_0x35fcbf['content'])?_0x35fcbf[_0x4d3feb(_0xf30bcf._0x50eacc,0x37c,_0xf30bcf._0x29c593,_0xf30bcf._0x37a6ee)]:[],_0x2f630c=_0x2aeaa2[_0x49ca06(0x1b9,0x2e8,0x368,_0xf30bcf._0x3f3e89)](_0x22b197=>{const _0x462aa={_0x1f901b:0x3ac};function _0x1ede46(_0x2aa9c4,_0x136599,_0x573d15,_0x4f5f31){return _0x49ca06(_0x2aa9c4- -_0x462aa._0x1f901b,_0x136599-0x1e2,_0x573d15-0x1f3,_0x136599);}function _0x46315b(_0x191a14,_0x1b04d6,_0x5e0fbc,_0x58fe5b){return _0x49ca06(_0x191a14- -0x2f3,_0x1b04d6-_0x1b977f._0x3ab700,_0x5e0fbc-_0x1b977f._0x2d4c17,_0x58fe5b);}if(!isObject(_0x22b197))return'';if(_0x22b197[_0x46315b(-_0x493c97._0x3fd8db,_0x493c97._0x15f393,-0x10e,_0x493c97._0x143868)]===_0x1ede46(-0x79,_0x493c97._0x10d010,-_0x493c97._0x10056e,-0x1dd)&&typeof _0x22b197[_0x46315b(_0x493c97._0x166105,_0x493c97._0x16d024,-_0x493c97._0x43aab0,0x1f)]==='string')return _0x22b197[_0x46315b(0x40,0x1e9,0x252,_0x493c97._0x29e48c)];return JSON[_0x1ede46(_0x493c97._0xd95d42,0x3c,_0x493c97._0x53ad3a,0x154)](_0x22b197);})[_0x4d3feb(_0xf30bcf._0xdaeed6,0x240,0x20c,_0xf30bcf._0x4f9896)](_0x25ad3f=>_0x25ad3f[_0x4d3feb(0x2c5,0x3f5,0x419,0x290)]>0x0)['join']('\x0a');if(_0x2f630c[_0x4d3feb(_0xf30bcf._0x54c43a,_0xf30bcf._0x185212,0x4a3,_0xf30bcf._0x3fe7a5)]>0x0)return _0x2f630c;function _0x49ca06(_0xedaf02,_0x32e094,_0x1554fa,_0x52424d){return _0x5885dd(_0xedaf02-_0x31e2d7._0x59c493,_0x52424d,_0x1554fa-0x14f,_0xedaf02-_0x31e2d7._0x19fbc3);}function _0x4d3feb(_0x557ed1,_0x58302b,_0x484cbb,_0x48634a){return _0x5885dd(_0x557ed1-_0x3d64b6._0x4481d5,_0x484cbb,_0x484cbb-0xcf,_0x58302b-_0x3d64b6._0xdf9b71);}return JSON[_0x49ca06(_0xf30bcf._0x858158,_0xf30bcf._0x51a3a4,_0xf30bcf._0x47bc81,0x60a)](_0x35fcbf,null,0x2);}function createMcpTool(_0x2b1cba){const _0x4b101a={_0x159ad6:0x629,_0x488cbd:0x464,_0x507300:0x384,_0xb54da0:0x592,_0x333177:0x580,_0x4edfae:0x4ed,_0x37b235:0x674,_0x939574:0x526,_0x5194af:0x6a7,_0x482d40:0x712,_0x256846:0x7f6,_0x1ea28f:0x666,_0x3ab93e:0x4e1,_0x5cc4c5:0x828,_0x11549d:0x519,_0x37f50c:0x4dc,_0x322a48:0x413,_0x1e7a38:0xa36,_0x4057e5:0x96d,_0x4fb546:0x838},_0x4c728d={_0x57190f:0x3e8,_0x19befd:0x549,_0x332f4d:0x417,_0x3a823d:0x1e8,_0x142064:0x244,_0x2469a0:0x25e,_0x1c9aa0:0x395,_0x2a1864:0x6a,_0x325e2d:0x18d,_0x2cae53:0x180,_0x424a9e:0x97,_0x42a0b9:0xdd,_0x4ac940:0x1a8,_0x2acfa6:0x69,_0x2385a2:0x3d,_0x41be75:0x14e,_0x252437:0x204,_0x576286:0x3e6},_0x2c87b6={_0x6a8c88:0x17a,_0x4894f9:0x3be},_0x20cfb1={_0xdb4176:0x17a,_0x1e8b88:0x88};function _0x665667(_0x179fd9,_0x335bdd,_0x52394f,_0x8a9b17){return _0x5885dd(_0x179fd9-_0x20cfb1._0xdb4176,_0x8a9b17,_0x52394f-_0x20cfb1._0x1e8b88,_0x52394f-0xdc);}function _0x5912a4(_0x1269ff,_0x2cd9fd,_0x214f93,_0x4c27db){return _0x5885dd(_0x1269ff-0x124,_0x214f93,_0x214f93-_0x2c87b6._0x6a8c88,_0x4c27db-_0x2c87b6._0x4894f9);}const _0x214a06=createMcpToolName(_0x2b1cba[_0x5912a4(0x50a,0x78b,_0x4b101a._0x159ad6,0x5a7)],_0x2b1cba[_0x665667(_0x4b101a._0x488cbd,0x3c0,_0x4b101a._0x507300,_0x4b101a._0xb54da0)][_0x5912a4(0x9bc,0x682,0x79f,0x864)]);return defineTool({'name':_0x214a06,'permissionClass':_0x2b1cba[_0x5912a4(_0x4b101a._0x333177,0x618,0x893,0x761)],..._0x2b1cba['internalLifecycle']!==void 0x0?{'internalLifecycle':_0x2b1cba[_0x5912a4(_0x4b101a._0x4edfae,_0x4b101a._0x37b235,0x4bc,_0x4b101a._0x939574)]}:{},'description':_0x2b1cba[_0x5912a4(_0x4b101a._0x5194af,_0x4b101a._0x482d40,_0x4b101a._0x256846,_0x4b101a._0x1ea28f)][_0x5912a4(_0x4b101a._0x3ab93e,_0x4b101a._0x5cc4c5,0x8a7,0x695)]??'MCP\x20tool\x20'+_0x2b1cba[_0x665667(_0x4b101a._0x11549d,0x2b2,0x384,_0x4b101a._0x37f50c)]['name']+_0x5912a4(_0x4b101a._0x322a48,0x407,0x698,0x5d5)+_0x2b1cba['serverName'],'inputSchema':toNuvinToolSchema(_0x2b1cba['tool'][_0x5912a4(_0x4b101a._0x1e7a38,_0x4b101a._0x4057e5,_0x4b101a._0x4fb546,0x8d8)]),async *'execute'(_0x15498e){const _0x42cca6={_0x4f4e50:0x10b,_0x15baa2:0x1a7};function _0x22c6ae(_0x5d0f5d,_0x314a79,_0x54041f,_0x49c000){return _0x665667(_0x5d0f5d-0x8b,_0x314a79-0x11c,_0x5d0f5d- -0x19c,_0x314a79);}let _0x490b8d;try{_0x490b8d=await _0x2b1cba['client'][_0x22c6ae(_0x4c728d._0x57190f,_0x4c728d._0x19befd,_0x4c728d._0x332f4d,0x224)]({'name':_0x2b1cba[_0x22c6ae(_0x4c728d._0x3a823d,_0x4c728d._0x142064,0x1c6,_0x4c728d._0x2469a0)][_0x31f16e(0x23b,0x2de,0x295,_0x4c728d._0x1c9aa0)],'arguments':isJsonObject(_0x15498e)?_0x15498e:{}});if(_0x490b8d[_0x31f16e(-0xd3,_0x4c728d._0x2a1864,-0x1cb,-0x2d2)])throw toMcpSafeError({'serverName':_0x2b1cba[_0x22c6ae(0x129,_0x4c728d._0x325e2d,0x15b,0x3a)],'operation':_0x31f16e(0x97,_0x4c728d._0x2cae53,-0x158,-0x8f),'error':_0x490b8d});}catch(_0x424f65){throw extractOwnedMcpSafeError(_0x424f65)??toMcpSafeError({'serverName':_0x2b1cba['serverName'],'operation':_0x31f16e(_0x4c728d._0x424a9e,-0xbf,0x1a6,-_0x4c728d._0x42a0b9),'error':_0x424f65});}yield createToolOutput(formatMcpContent(_0x490b8d),{'serverName':_0x2b1cba[_0x22c6ae(0x129,_0x4c728d._0x4ac940,-_0x4c728d._0x2acfa6,0x1dc)],'toolName':_0x2b1cba[_0x31f16e(_0x4c728d._0x2385a2,_0x4c728d._0x41be75,_0x4c728d._0x252437,0x2d)][_0x22c6ae(_0x4c728d._0x576286,0x2c5,0x42f,0x317)],'result':_0x490b8d});function _0x31f16e(_0x346c65,_0x4dcf1d,_0x41d754,_0x9d0d42){return _0x5912a4(_0x346c65-_0x42cca6._0x4f4e50,_0x4dcf1d-_0x42cca6._0x15baa2,_0x4dcf1d,_0x346c65- -0x629);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x3ae565){let _0x1c63fd=_0x3ae565;return{'get'(){return _0x1c63fd;},'set'(_0x547d1b){_0x1c63fd=_0x547d1b;}};}function resolveMcpTimeoutMs(_0x520074,_0x50ac59){const _0x510f09={_0x506939:0x4bb,_0x4ce9e2:0x6bb},_0x2054f4={_0x3d9f9d:0x1d8};function _0xd58efd(_0x5deef0,_0x374d15,_0x29c4c7,_0xabf157){return _0x16ac01(_0x5deef0-_0x2054f4._0x3d9f9d,_0x29c4c7-0x467,_0x29c4c7-0x15b,_0x374d15);}return _0x520074[_0xd58efd(0x807,_0x510f09._0x506939,0x6ad,_0x510f09._0x4ce9e2)]??_0x50ac59??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x27be56,_0x401e58){return(_0x401e58?extractOwnedMcpSafeError(_0x27be56['error']):void 0x0)??createOwnedMcpSafeError(_0x27be56);}function createMcpGenerationLifecycle(_0x3b8195){const _0x1d8ba4={_0x3e3cb8:0x222,_0x12fe67:0x3fc,_0x263524:0x3da,_0xcf1dc9:0x390},_0x431565={_0x2e1fc1:0x3fd,_0x207d07:0x378,_0x432266:0x50a},_0x16d737={_0x1a78f7:0x48},_0x43f1c0={_0x2444d3:0x1df};let _0x554ebb=0x0,_0x245440=![],_0x4f24f5=![],_0x1959f6,_0x7460aa,_0x3f6667;const _0xa3f3ee=()=>{function _0x287901(_0x613558,_0x4beedc,_0xac1d47,_0x5e1932){return _0xa933(_0xac1d47- -_0x43f1c0._0x2444d3,_0x613558);}if(!_0x245440||_0x554ebb!==0x0||_0x4f24f5)return;function _0x4e3416(_0x5d41ce,_0x51b518,_0x1670c7,_0x26f3c0){return _0xa933(_0x1670c7-_0x16d737._0x1a78f7,_0x26f3c0);}_0x4f24f5=!![],void Promise[_0x4e3416(0x5fd,0x6a0,0x566,0x6ba)]()[_0x287901(_0x431565._0x2e1fc1,0x1f2,_0x431565._0x207d07,0x374)](_0x3b8195)[_0x4e3416(0x4de,_0x431565._0x432266,0x59f,0x757)](_0x7460aa,_0x3f6667);};return{'acquire'(){if(_0x245440)throw new Error(_0x4ec709(_0x1d8ba4._0x3e3cb8,_0x1d8ba4._0x12fe67,_0x1d8ba4._0x263524,_0x1d8ba4._0xcf1dc9));function _0x4ec709(_0x360bc9,_0x4d8ee6,_0xffe49e,_0x54ccb3){return _0xa933(_0x360bc9-0x44,_0xffe49e);}_0x554ebb+=0x1;let _0x2fa7fb=![];return()=>{if(_0x2fa7fb)return;_0x2fa7fb=!![],_0x554ebb-=0x1,_0xa3f3ee();};},'retire'(){return!_0x1959f6&&(_0x1959f6=new Promise((_0xee4b20,_0x450591)=>{_0x7460aa=_0xee4b20,_0x3f6667=_0x450591;})),_0x245440=!![],_0xa3f3ee(),_0x1959f6;}};}function buildMcpHttpHeaders(_0x4f0be8){const _0x33f0c8={_0xa31fb0:0x1f7,_0xbd2a41:0x1de,_0xd78846:0x95,_0x282513:0x1ac,_0x4f7442:0x111,_0x3c7f17:0x141,_0x3d5b9d:0x1a8,_0x5ee7b8:0x49,_0x5f0a0a:0x160,_0x1f7909:0x15a,_0x4403c1:0xde,_0x2e369d:0x291,_0x411d2d:0xdf,_0x15fa96:0x403,_0x58eff2:0x272,_0x6fa757:0x255,_0x336890:0x426,_0x47ab84:0x18b,_0x1b9fdf:0x3c},_0x48b4ec={_0x51e3d0:0x1a8},_0x5283b8={..._0x4f0be8[_0x38480c(0x18e,_0x33f0c8._0xa31fb0,0x15e,_0x33f0c8._0xbd2a41)]??{}};_0x4f0be8[_0x24eee7(-0x3b3,-_0x33f0c8._0xd78846,-_0x33f0c8._0x282513,-_0x33f0c8._0x4f7442)]?.['type']==='bearer'&&_0x4f0be8['auth'][_0x24eee7(_0x33f0c8._0x3c7f17,0x28a,_0x33f0c8._0x3d5b9d,_0x33f0c8._0x5ee7b8)]&&_0x5283b8['Authorization']===void 0x0&&(_0x5283b8[_0x24eee7(_0x33f0c8._0x5f0a0a,_0x33f0c8._0x1f7909,_0x33f0c8._0x4403c1,_0x33f0c8._0x2e369d)]='Bearer\x20'+_0x4f0be8[_0x38480c(-_0x33f0c8._0x411d2d,-0x23,-0xaf,-0x6)][_0x38480c(_0x33f0c8._0x15fa96,0x331,0x520,0x1bc)]);function _0x24eee7(_0x880888,_0x24cf11,_0x84cb9a,_0xf684e){return _0x16ac01(_0x880888-_0x48b4ec._0x51e3d0,_0x84cb9a- -0xfa,_0x84cb9a-0x1aa,_0x24cf11);}function _0x38480c(_0x937346,_0x573496,_0x4f84e1,_0x1ac07a){return _0x16ac01(_0x937346-0x1e5,_0x573496-0x8f,_0x4f84e1-0x1c5,_0x937346);}return Object[_0x38480c(_0x33f0c8._0x58eff2,_0x33f0c8._0x6fa757,_0x33f0c8._0x336890,0x3e1)](_0x5283b8)[_0x38480c(0x25e,_0x33f0c8._0x47ab84,_0x33f0c8._0x1b9fdf,0x127)]>0x0?_0x5283b8:void 0x0;}async function connectMcpServer(_0x5e75ff,_0x370b81,_0x28d3cc){const _0xae2987={_0x275696:0x35,_0x2b7efb:0x4c,_0x369c62:0x13d,_0x37b4a7:0xb,_0x42673c:0x199,_0x7ece3c:0x180,_0x2ed7ab:0x2e2,_0x5d4be4:0x1aa,_0x1daad1:0x4d6,_0x350e1a:0x342,_0xd09bea:0x516,_0x2e0726:0x4a0,_0xedebdb:0x441,_0x518470:0x513,_0x527fe9:0x2ee,_0x3b1227:0x3bf,_0x1288ab:0x64e,_0x39d120:0x605,_0xe30260:0x715,_0x460728:0x3cb,_0x4598c1:0x26a,_0x56e467:0x27d,_0x2179f5:0xff,_0x4a5a73:0x38e,_0x4493e6:0x424,_0x36eca2:0x4fe,_0x2e5507:0x378,_0x3914b5:0x125,_0x1499e2:0x130,_0x3ca3a5:0x1fb,_0x4bc90a:0x88,_0x35992a:0x35b,_0xe929b5:0x569,_0x3a421e:0x46d,_0x3f5c4c:0x2a5,_0x411a3e:0x1dc,_0x4786:0x4d5,_0x2cfb92:0x10b,_0x14862d:0x1d0,_0x246392:0x175,_0x5a6431:0x369,_0x5b5b1c:0x1c3,_0x44fa16:0x779,_0x4530d5:0x6f7,_0x2f6e28:0xe6,_0x312b70:0x2da,_0x1d3497:0x392,_0x38461f:0x627,_0x25330b:0x57d,_0x45cadd:0x4fe,_0x396d2e:0x6b5,_0x16733c:0x4c3,_0x5cd63a:0x57f,_0x472275:0x478,_0xe01de8:0x54b,_0x4d9f5b:0x5af,_0x5db459:0x556,_0x27fcdc:0x1c7,_0x196968:0x1be,_0x30f66c:0x1d,_0x211f65:0x50,_0x4dfa91:0xbc,_0xd92024:0x1ac,_0x13aab4:0x9d,_0x3c92d9:0x210,_0x5e8d94:0x3cd,_0x1e2db4:0x408,_0x1a3eb4:0x419,_0x2ce15c:0x518,_0x464afd:0x281,_0x317d91:0x422,_0x100b5b:0xe6,_0x17cf4b:0x10c,_0xdabd5b:0x2d9,_0x1ff095:0x201},_0x2f568f={_0x16504f:0x7f,_0x59f5f4:0x112,_0x24e111:0x79,_0x8018f6:0xf6,_0x131a07:0x12c,_0x2f2b22:0x51,_0x24bcac:0x215,_0x47f0d5:0xff},_0xaea68f={_0x8c2b51:0x3c1,_0x5e27d6:0x500,_0x366b4d:0x4ed},_0x584cdf={_0x4fdbca:0x163,_0x58f3a6:0x231,_0x2605e4:0x537,_0x3d8bea:0x4dc,_0x52e55:0x392,_0xa695cc:0x722,_0x662ba4:0x676,_0x1c13b2:0x796,_0x56da6b:0x682,_0x7e29d3:0x665},_0x29fc26={_0x273ca8:0x437,_0x294e0b:0x187,_0xb3869b:0x6b},_0x213328={_0x583d3e:0x1d9,_0x991ca8:0xc7},_0x326311={_0x3d6b8c:0x62a,_0x3595f6:0x376,_0x1999e4:0x496,_0xec8ada:0x9a9,_0x5812ee:0x9af},_0x5d2043={_0x44da88:0x68a,_0x5d08ca:0xe3},_0x1c3300={_0x2a7dd7:0x3cc,_0x5cfafa:0x62d},_0x4eec22={_0x3a6b58:0xbe,_0x4f7947:0xc5,_0xfad69d:0xea};function _0x511825(_0x252377,_0x267b28,_0xbd5c66,_0x18fe2e){return _0x16ac01(_0x252377-_0x4eec22._0x3a6b58,_0x252377- -_0x4eec22._0x4f7947,_0xbd5c66-_0x4eec22._0xfad69d,_0x267b28);}const _0x4a617f=new Client({'name':_0x511825(-0x120,_0xae2987._0x275696,-_0xae2987._0x2b7efb,-_0xae2987._0x369c62),'version':_0x511825(-0x1e6,_0xae2987._0x37b4a7,-0x3c5,-0x26e)}),_0x511b39=_0x28d3cc?.[_0x511825(_0xae2987._0x275696,-0x20,-_0xae2987._0x42673c,-_0xae2987._0x7ece3c)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x53ac2a=new Set();let _0x3223b6,_0x21516a=![];const _0x59f51a=()=>{const _0x38700d={_0x424d9f:0x19c,_0x59873e:0x1e};if(_0x21516a||_0x3223b6)return;_0x3223b6={'code':_0x4c7131(0x588,_0x1c3300._0x2a7dd7,0x54c,_0x1c3300._0x5cfafa),'cause':new Error('MCP\x20transport\x20closed\x20unexpectedly')};function _0x4c7131(_0x285bfa,_0x2c5c03,_0x3e41f9,_0x48d0cd){return _0x2f60a6(_0x285bfa-_0x38700d._0x424d9f,_0x285bfa,_0x3e41f9-0x173,_0x48d0cd-_0x38700d._0x59873e);}for(const _0x5913ee of _0x53ac2a){try{_0x5913ee(_0x3223b6);}catch{}}};_0x4a617f['onerror']=()=>{function _0x210828(_0x407204,_0x2ecd95,_0x5f5740,_0x5d3114){return _0x511825(_0x407204-0x708,_0x2ecd95,_0x5f5740-0xb0,_0x5d3114-0x164);}function _0x2f223d(_0x2a0944,_0x2288ac,_0xd62134,_0x5d8bd6){return _0x511825(_0xd62134-_0x5d2043._0x44da88,_0x2288ac,_0xd62134-_0x5d2043._0x5d08ca,_0x5d8bd6-0x22);}console[_0x2f223d(_0x326311._0x3d6b8c,_0x326311._0x3595f6,0x47e,0x5ee)](_0x2f223d(0x584,0x2b0,_0x326311._0x1999e4,0x5c1),{'server':_0x5e75ff,'code':_0x210828(0x7b8,0x976,_0x326311._0xec8ada,_0x326311._0x5812ee)});},_0x4a617f[_0x511825(-0xd9,-0x77,-_0xae2987._0x2ed7ab,-_0xae2987._0x5d4be4)]=_0x59f51a;try{if(_0x370b81[_0x2f60a6(0x313,0x664,_0xae2987._0x1daad1,0x36f)]==='http'||_0x370b81[_0x2f60a6(_0xae2987._0x350e1a,_0xae2987._0xd09bea,_0xae2987._0x2e0726,_0xae2987._0xedebdb)]){if(!_0x370b81[_0x2f60a6(_0xae2987._0x518470,_0xae2987._0x527fe9,0x4a0,_0xae2987._0x3b1227)])throw new Error('MCP\x20server\x20'+_0x5e75ff+_0x2f60a6(_0xae2987._0x1288ab,0x43a,_0xae2987._0x39d120,_0xae2987._0xe30260));if(_0x370b81['auth']?.[_0x2f60a6(0x23a,0x28a,0x3aa,0x337)]===_0x2f60a6(_0xae2987._0x460728,_0xae2987._0x4598c1,_0xae2987._0x56e467,0x44e)&&!_0x28d3cc?.[_0x2f60a6(0x152,0x41a,_0xae2987._0x56e467,_0xae2987._0x2179f5)])throw new Error(_0x2f60a6(_0xae2987._0x4a5a73,_0xae2987._0x4493e6,_0xae2987._0x36eca2,_0xae2987._0x2e5507)+_0x5e75ff+_0x511825(-0x1cf,-_0xae2987._0x3914b5,-0x347,0x3a));const _0x2d59f3=buildMcpHttpHeaders(_0x370b81),_0x3786be=_0x370b81[_0x511825(-0x177,-_0xae2987._0x1499e2,0x88,-0x7f)]?.['type']==='oauth'&&_0x28d3cc?.[_0x2f60a6(0x467,0x470,_0xae2987._0x56e467,0x459)]?createMcpOAuthProvider({'serverName':_0x5e75ff,'callbackUrl':_0x28d3cc[_0x511825(-_0xae2987._0x3ca3a5,0xb,-_0xae2987._0x4bc90a,-_0xae2987._0x35992a)][_0x2f60a6(_0xae2987._0xe929b5,0x3db,_0xae2987._0x3a421e,_0xae2987._0x3f5c4c)],'storageDir':_0x28d3cc[_0x2f60a6(0x492,0xc4,0x27d,_0xae2987._0x411a3e)][_0x2f60a6(0x1cd,_0xae2987._0x4786,0x39e,0x536)],'config':_0x370b81['auth'],'onRedirect':_0x1a81d6=>_0x28d3cc[_0x2f60a6(0x6a,0x1cd,0x27d,0x358)]?.[_0x2f60a6(0x1a9,0x2e2,0x29d,0x480)](_0x5e75ff,_0x1a81d6)}):void 0x0,_0x418409=new StreamableHTTPClientTransport(new URL(_0x370b81[_0x511825(0x28,-0x1e1,-_0xae2987._0x2cfb92,_0xae2987._0x14862d)]),{'authProvider':_0x3786be,'requestInit':_0x2d59f3?{'headers':_0x2d59f3}:void 0x0});await _0x4a617f[_0x2f60a6(0x4b2,_0xae2987._0x246392,_0xae2987._0x5a6431,_0xae2987._0x5b5b1c)](_0x418409,{'timeout':_0x511b39[_0x2f60a6(_0xae2987._0x44fa16,_0xae2987._0x4530d5,0x688,0x5d5)](),..._0x28d3cc?.[_0x511825(-_0xae2987._0x2f6e28,0x7d,-0x139,-_0xae2987._0x312b70)]!==void 0x0?{'signal':_0x28d3cc['signal']}:{}});}else{if(!_0x370b81[_0x2f60a6(_0xae2987._0x1d3497,_0xae2987._0x38461f,_0xae2987._0x25330b,0x6d1)])throw new Error(_0x2f60a6(0x6fe,0x424,_0xae2987._0x45cadd,_0xae2987._0x396d2e)+_0x5e75ff+_0x2f60a6(_0xae2987._0x16733c,_0xae2987._0x5cd63a,_0xae2987._0x472275,_0xae2987._0xe01de8));const _0x2a01f3=new StdioClientTransport({'command':_0x370b81[_0x2f60a6(0x5e5,_0xae2987._0x4d9f5b,0x57d,_0xae2987._0x5db459)],'args':_0x370b81['args']??[],'env':_0x370b81[_0x511825(0x1cb,_0xae2987._0x27fcdc,0x275,_0xae2987._0x196968)],'stderr':_0x511825(-_0xae2987._0x30f66c,-_0xae2987._0x211f65,_0xae2987._0x4dfa91,-0x11)});await _0x4a617f[_0x511825(-0x10f,-0x13b,-_0xae2987._0xd92024,-_0xae2987._0x13aab4)](_0x2a01f3,{'timeout':_0x511b39[_0x511825(_0xae2987._0x3c92d9,_0xae2987._0x5e8d94,_0xae2987._0x1e2db4,_0xae2987._0x1a3eb4)](),..._0x28d3cc?.[_0x2f60a6(_0xae2987._0x2ce15c,_0xae2987._0x464afd,_0xae2987._0x1d3497,_0xae2987._0x317d91)]!==void 0x0?{'signal':_0x28d3cc[_0x511825(-_0xae2987._0x100b5b,_0xae2987._0x17cf4b,-_0xae2987._0xdabd5b,-_0xae2987._0x1ff095)]}:{}});}}catch(_0x4db2ce){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':'connect','error':_0x4db2ce});}function _0x2f60a6(_0x188a7d,_0x45070d,_0x3f059a,_0x17e2cd){return _0x5885dd(_0x188a7d-_0x213328._0x583d3e,_0x45070d,_0x3f059a-_0x213328._0x991ca8,_0x3f059a-0x124);}return{async 'listTools'(_0x2a7f93){const _0xf5c79f={_0x580a48:0x13f};function _0x2e9a5b(_0x2fd78c,_0x48fd1b,_0x2ff660,_0x334bb0){return _0x511825(_0x2fd78c-0x673,_0x48fd1b,_0x2ff660-_0xf5c79f._0x580a48,_0x334bb0-0xb1);}const _0x4b36a7=_0x2a7f93?.['signal']??_0x28d3cc?.[_0x535efb(_0x584cdf._0x4fdbca,0x351,_0x584cdf._0x58f3a6,_0x584cdf._0x2605e4)];function _0x535efb(_0x1e7530,_0x182e12,_0x2379c5,_0x110155){return _0x511825(_0x182e12-_0x29fc26._0x273ca8,_0x1e7530,_0x2379c5-_0x29fc26._0x294e0b,_0x110155-_0x29fc26._0xb3869b);}try{return await _0x4a617f[_0x2e9a5b(_0x584cdf._0x3d8bea,0x62d,0x392,_0x584cdf._0x52e55)](void 0x0,{'timeout':_0x511b39[_0x2e9a5b(0x883,_0x584cdf._0xa695cc,_0x584cdf._0x662ba4,_0x584cdf._0x1c13b2)](),..._0x4b36a7!==void 0x0?{'signal':_0x4b36a7}:{}});}catch(_0x4d618e){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':_0x2e9a5b(0x808,0x638,_0x584cdf._0x56da6b,_0x584cdf._0x7e29d3),'error':_0x4d618e});}},'onTerminalError'(_0x1a04bb){_0x53ac2a['add'](_0x1a04bb);const _0x558d59=_0x3223b6;return _0x558d59&&queueMicrotask(()=>{if(_0x53ac2a['has'](_0x1a04bb))_0x1a04bb(_0x558d59);}),()=>_0x53ac2a['delete'](_0x1a04bb);},async 'callTool'(_0x51c526){const _0x18c745={_0x5d0632:0x34e,_0x2b4152:0x1e9};function _0x1d5992(_0x101101,_0x21d9e8,_0x42ea42,_0xa4efed){return _0x511825(_0x21d9e8-_0x18c745._0x5d0632,_0x101101,_0x42ea42-_0x18c745._0x2b4152,_0xa4efed-0x182);}function _0x143591(_0x4316d0,_0x543189,_0x3431e6,_0x3b4ce8){return _0x2f60a6(_0x4316d0-0x19,_0x3b4ce8,_0x4316d0- -0x19b,_0x3b4ce8-0x68);}try{return await _0x4a617f['request']({'method':_0x143591(_0xaea68f._0x8c2b51,0x3df,0x532,_0xaea68f._0x5e27d6),'params':_0x51c526},CallToolResultSchema,{'timeout':_0x511b39[_0x143591(_0xaea68f._0x366b4d,0x47f,0x5c5,0x3ef)]()});}catch(_0x3af4eb){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':'toolCall','error':_0x3af4eb});}},async 'close'(){const _0x38d58b={_0x1dae0b:0x6,_0x492103:0x187},_0x579d00={_0x53fda7:0x187};function _0x6b1800(_0x40abd4,_0x5c972a,_0x10a821,_0x335f1f){return _0x2f60a6(_0x40abd4-0xde,_0x40abd4,_0x5c972a- -0x32d,_0x335f1f-_0x579d00._0x53fda7);}_0x21516a=!![];function _0x1ca25a(_0x414d9a,_0x3a85be,_0x27c465,_0x2b2918){return _0x511825(_0x3a85be-_0x38d58b._0x1dae0b,_0x27c465,_0x27c465-0x158,_0x2b2918-_0x38d58b._0x492103);}_0x4a617f[_0x6b1800(0x10a,_0x2f568f._0x16504f,-_0x2f568f._0x59f5f4,0x158)]=void 0x0,_0x4a617f['onclose']=void 0x0,_0x53ac2a[_0x6b1800(-_0x2f568f._0x24e111,0xe5,_0x2f568f._0x8018f6,-0x67)]();try{await _0x4a617f[_0x1ca25a(-_0x2f568f._0x131a07,_0x2f568f._0x2f2b22,_0x2f568f._0x24bcac,_0x2f568f._0x47f0d5)]();}catch(_0x26bcf5){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':'close','error':_0x26bcf5});}}};}async function createMcpConnectionGeneration(_0x229c32){const _0x5c9a36={_0x5dd6fd:0xd1,_0x3cb2f7:0x3a,_0x2a9c83:0x2f,_0x4f650a:0x60,_0xd706ae:0x2a,_0x2dfc23:0x211,_0x3091ae:0x239,_0x72f7fc:0x53,_0x291468:0x2b8,_0x11ebd8:0x372,_0x3bf005:0xec,_0x257c3b:0x5b,_0x18efb6:0x6e3,_0x3f6db2:0x789,_0xfa0add:0x91,_0x224daf:0x6f,_0xd2d6e4:0x10b,_0x398f26:0x2ce,_0xbb2846:0x1c5,_0x3259ea:0x184,_0x2fd878:0x285,_0x40f483:0x47d},_0x4cfd9f={_0x1c272b:0x143,_0x2e69ee:0x13},_0x61976f={_0x37aff5:0xaa},_0x2df252={_0x52fa8c:0x1f,_0x1df0c9:0x268,_0x73f18a:0x434},_0x5aba1a={_0x5b7655:0x1da,_0x52b0ef:0x11e},_0x1931ca={_0x330f9d:0x5ac,_0x6e6dae:0x64},_0x3e1452={_0x273f75:0x300,_0x57034c:0x390,_0x397bbf:0x2c3},_0x443f4d={_0x56a951:0x222,_0x8ecaea:0x303},_0x5703f4={_0x1005a3:0xf1},_0xb7d4f2=_0x229c32[_0x4b10fb(-_0x5c9a36._0x5dd6fd,0x2a,-_0x5c9a36._0x3cb2f7,-_0x5c9a36._0x2a9c83)]??connectMcpServer,_0xdbf1a=_0x229c32[_0x4b10fb(-_0x5c9a36._0x4f650a,_0x5c9a36._0xd706ae,_0x5c9a36._0x2dfc23,0x87)]===void 0x0,_0x1ee0ea={..._0x229c32['connection'],'timeoutSource':_0x229c32['timeoutSource'],..._0x229c32['signal']!==void 0x0?{'signal':_0x229c32[_0x4b10fb(_0x5c9a36._0x3091ae,_0x5c9a36._0x72f7fc,0xf0,-0x1a)]}:{}};let _0x1265ff;try{_0x1265ff=await _0xb7d4f2(_0x229c32[_0x51c54c(_0x5c9a36._0x291468,_0x5c9a36._0x11ebd8,0x371,0x2b7)],_0x229c32['config'],_0x1ee0ea);}catch(_0x260b61){throw mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x4b10fb(-0x158,-0x32,-_0x5c9a36._0x3bf005,_0x5c9a36._0x257c3b)],'operation':'connect','error':_0x260b61},_0xdbf1a);}function _0x4b10fb(_0x10ceb0,_0x271f18,_0x3b4aca,_0x283854){return _0x16ac01(_0x10ceb0-0x4,_0x271f18-0x74,_0x3b4aca-_0x5703f4._0x1005a3,_0x10ceb0);}const _0x5f724=new Set();let _0x328eed;const _0x10e984=_0x1265ff[_0x51c54c(0x58b,_0x5c9a36._0x18efb6,0x505,_0x5c9a36._0x3f6db2)]?.(_0x90d343=>{if(_0x328eed)return;_0x328eed=_0x90d343;for(const _0x57524e of _0x5f724)_0x57524e(_0x90d343);});let _0x1a3b88=![];const _0x5488ac=()=>{if(_0x1a3b88)return;_0x1a3b88=!![];function _0x5933b7(_0x525246,_0x278c59,_0x5b78c2,_0x3ab08e){return _0x51c54c(_0x525246- -0x19b,_0x278c59-0xe5,_0x5b78c2-0xb7,_0x278c59);}_0x5f724[_0x5933b7(_0x443f4d._0x56a951,_0x443f4d._0x8ecaea,0x3b7,0x1a8)](),_0x10e984?.();};let _0x26744b;try{_0x26744b=await _0x1265ff[_0x51c54c(0x28c,0x3ce,0x28e,0x375)](_0x229c32['signal']!==void 0x0?{'signal':_0x229c32[_0x51c54c(0x33d,0x1f8,0x3f2,0x4b9)]}:void 0x0);}catch(_0x293000){const _0x3ea14d=mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x4b10fb(-_0x5c9a36._0xfa0add,-0x32,_0x5c9a36._0x224daf,_0x5c9a36._0xd2d6e4)],'operation':_0x4b10fb(0x3df,_0x5c9a36._0x398f26,0x2e2,_0x5c9a36._0xbb2846),'error':_0x293000},_0xdbf1a);_0x5488ac();try{await _0x1265ff[_0x4b10fb(0x64,_0x5c9a36._0x3259ea,0x88,0x42)]();}catch{}throw _0x3ea14d;}const _0x974b2d=[..._0x26744b[_0x51c54c(_0x5c9a36._0x2fd878,0x1b9,0x447,_0x5c9a36._0x40f483)]],_0x19b845={async 'callTool'(_0x2f288e){const _0x4864d7={_0x571ddd:0x465},_0x1ffb4f={_0x9d3f77:0x10e,_0x43c225:0xa1,_0x3103dd:0x16};function _0x118d15(_0x1de033,_0x136925,_0x75b315,_0x4c8ecf){return _0x51c54c(_0x4c8ecf- -_0x1ffb4f._0x9d3f77,_0x136925-_0x1ffb4f._0x43c225,_0x75b315-_0x1ffb4f._0x3103dd,_0x136925);}function _0x5c39d8(_0x26c7fa,_0x4d4b28,_0x50a330,_0x57b240){return _0x51c54c(_0x57b240- -_0x4864d7._0x571ddd,_0x4d4b28-0x185,_0x50a330-0xf,_0x4d4b28);}try{return await _0x1265ff['callTool'](_0x2f288e);}catch(_0x48bb1e){throw mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x5c39d8(-0x326,-_0x3e1452._0x273f75,-0xba,-0x1ad)],'operation':_0x118d15(0x24d,0x404,_0x3e1452._0x57034c,_0x3e1452._0x397bbf),'error':_0x48bb1e},_0xdbf1a);}}},_0x22a820=createMcpGenerationLifecycle(async()=>{_0x5488ac();function _0x26e284(_0x221e26,_0x2d830b,_0x4ccae5,_0xaa19f0){return _0x4b10fb(_0x221e26,_0x4ccae5-_0x1931ca._0x330f9d,_0x4ccae5-0x2c,_0xaa19f0-_0x1931ca._0x6e6dae);}function _0x283bde(_0x234801,_0x835bd0,_0x3a37c1,_0x353e20){return _0x51c54c(_0x234801- -0xc2,_0x835bd0-_0x5aba1a._0x5b7655,_0x3a37c1-_0x5aba1a._0x52b0ef,_0x835bd0);}try{await _0x1265ff['close']();}catch(_0x38e059){throw mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x283bde(0x1f6,0x2db,0x37d,_0x2df252._0x52fa8c)],'operation':_0x283bde(0x3ac,_0x2df252._0x1df0c9,_0x2df252._0x73f18a,0x340),'error':_0x38e059},_0xdbf1a);}});function _0x51c54c(_0x39a25a,_0x33adac,_0xf65b99,_0x4e4e61){return _0x5885dd(_0x39a25a-_0x61976f._0x37aff5,_0x4e4e61,_0xf65b99-0x1f0,_0x39a25a-0xcf);}return{'client':_0x1265ff,'descriptors':_0x974b2d,'lifecycle':_0x22a820,'projectTools'(_0x4b4baf){return projectMcpTools({..._0x4b4baf,'descriptors':_0x974b2d,'client':_0x19b845,'lifecycle':_0x22a820});},'onTerminalError'(_0x151e92){const _0xaba28b={_0x504d21:0xe1,_0x2b15b0:0x14};if(_0x1a3b88)return()=>{};_0x5f724['add'](_0x151e92);const _0x148576=_0x328eed;function _0x204a3b(_0x58982d,_0x1d042c,_0x141cd2,_0xb96650){return _0x4b10fb(_0x141cd2,_0x1d042c-0x3ed,_0x141cd2-_0x4cfd9f._0x1c272b,_0xb96650-_0x4cfd9f._0x2e69ee);}return _0x148576&&queueMicrotask(()=>{function _0x4cfed8(_0x2aa619,_0x21ea0e,_0x4050c4,_0x1da93e){return _0xa933(_0x21ea0e- -0x203,_0x1da93e);}if(_0x5f724[_0x4cfed8(-0x43,_0xaba28b._0x504d21,0x74,_0xaba28b._0x2b15b0)](_0x151e92))_0x151e92(_0x148576);}),()=>_0x5f724[_0x204a3b(0x2aa,0x404,0x578,0x25b)](_0x151e92);},'retire'(){return _0x5488ac(),_0x22a820['retire']();}};}import{stat as _0x51ba39}from'fs/promises';import*as _0x23eeb8 from'path';import{execSync,spawn as _0x551dda}from'child_process';import{existsSync}from'fs';import{stat as _0x31539d}from'fs/promises';import*as _0x3efd46 from'os';import*as _0x1c8eb3 from'path';import{rgPath as _0x4870b8}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2d8b2b={_0x2ee01f:0xb,_0x4129c1:0x1d,_0x5c514d:0x14b,_0x255552:0x2e0,_0x20b92d:0x268,_0x11adb5:0x120,_0x366e46:0x1bc,_0x3bb228:0x358,_0x224a44:0x137,_0xe6e6f2:0x6b,_0x5923e3:0x33f,_0x2466b2:0x3c2,_0x4ec6d2:0x40b,_0x391698:0x1f2,_0x5179dc:0x1fd,_0xdf30c3:0x11,_0x221232:0x29,_0x4fa646:0x21d,_0x3242a9:0x351,_0x3f2312:0x261,_0x70bee6:0x23c,_0x2d79f8:0x1c3,_0x440e6f:0x1f4,_0x3cb290:0x2a3,_0x395601:0xec,_0x33ceb8:0x5d6,_0x3de3f5:0x415,_0x224b6a:0x1f8,_0x406b2f:0x668,_0x4188d1:0x501,_0x38dd51:0x3e9,_0x2e9e2f:0x705,_0x1b01f2:0x436,_0x4237f6:0x4c8,_0x2aafcb:0x2aa,_0x549dc6:0x6,_0xd28af0:0x7e,_0x27efe7:0x27b,_0x21c977:0xe9,_0x490057:0x10a,_0x585ff2:0x678,_0x3a06ed:0x44f,_0x1aad38:0x145,_0xd83264:0x2ce},_0x2033bf={_0x43533b:0x334},_0x1b5763={_0x261543:0x41},_0x3494ae=_0x3efd46['platform']()===_0x5f549e(-_0x2d8b2b._0x2ee01f,0x8f,-_0x2d8b2b._0x4129c1,-_0x2d8b2b._0x5c514d);function _0x5f549e(_0x55de59,_0x5573ee,_0x16151a,_0x25aed4){return _0x16ac01(_0x55de59-0x65,_0x16151a-_0x1b5763._0x261543,_0x16151a-0xcb,_0x5573ee);}const _0x12d171=_0x3494ae?[_0x1c8eb3[_0x5f549e(0x195,_0x2d8b2b._0x255552,0x247,0x1d7)](process[_0x5f549e(_0x2d8b2b._0x20b92d,_0x2d8b2b._0x11adb5,0x2d1,_0x2d8b2b._0x366e46)]['LOCALAPPDATA']||'',_0x360e74(0x423,0x447,0x245,_0x2d8b2b._0x3bb228),_0x5f549e(0x26a,0xc2,_0x2d8b2b._0x224a44,_0x2d8b2b._0xe6e6f2),_0x360e74(0x11d,0x1f1,_0x2d8b2b._0x5923e3,_0x2d8b2b._0x2466b2)),_0x1c8eb3[_0x5f549e(0x1bc,0x4c,0x247,_0x2d8b2b._0x4ec6d2)](process['env'][_0x5f549e(_0x2d8b2b._0x391698,_0x2d8b2b._0x5179dc,_0x2d8b2b._0xdf30c3,-_0x2d8b2b._0x221232)]||'',_0x5f549e(_0x2d8b2b._0x4fa646,_0x2d8b2b._0x3242a9,_0x2d8b2b._0x3f2312,0x428),_0x360e74(0x654,0x5db,0x548,0x709)),_0x1c8eb3[_0x5f549e(0x35b,0xa7,0x247,_0x2d8b2b._0x70bee6)](process[_0x5f549e(0x32b,_0x2d8b2b._0x2d79f8,0x2d1,_0x2d8b2b._0x440e6f)][_0x5f549e(_0x2d8b2b._0x3cb290,-0x117,_0x2d8b2b._0x395601,-0x99)]||'',_0x360e74(_0x2d8b2b._0x33ceb8,0x554,0x4e2,_0x2d8b2b._0x3de3f5),_0x5f549e(_0x2d8b2b._0x224b6a,0x1f1,0x2e8,0x39a))]:[_0x5f549e(-0x1f1,0x1f,-0x5f,-0x1fc),_0x360e74(_0x2d8b2b._0x406b2f,_0x2d8b2b._0x4188d1,0x41e,_0x2d8b2b._0x38dd51),_0x360e74(_0x2d8b2b._0x2e9e2f,0x550,_0x2d8b2b._0x1b01f2,_0x2d8b2b._0x4237f6),'/bin/rg'];for(const _0x18b4eb of _0x12d171){if(existsSync(_0x18b4eb))return _0x18b4eb;}function _0x360e74(_0x34a452,_0x2041b3,_0x53d60d,_0x44aad2){return _0x16ac01(_0x34a452-0x5b,_0x2041b3-_0x2033bf._0x43533b,_0x53d60d-0x181,_0x44aad2);}try{const _0x50fe7d=_0x3494ae?_0x5f549e(_0x2d8b2b._0x2aafcb,0x29c,0x264,0x254):_0x360e74(0x251,0x249,0x2c6,0x3d5),_0x36b479=execSync(_0x50fe7d,{'encoding':_0x5f549e(0x245,-_0x2d8b2b._0x549dc6,0x7c,-_0x2d8b2b._0xd28af0),'stdio':['pipe',_0x5f549e(-0xe4,_0x2d8b2b._0x27efe7,_0x2d8b2b._0x21c977,_0x2d8b2b._0x490057),'ignore']})[_0x360e74(_0x2d8b2b._0x585ff2,0x46a,0x486,0x65e)]()[_0x5f549e(_0x2d8b2b._0x3a06ed,_0x2d8b2b._0x1aad38,_0x2d8b2b._0xd83264,0x295)](/\r?\n/)[0x0];if(_0x36b479&&existsSync(_0x36b479))return _0x36b479;}catch{return null;}return null;}async function filepath(){if(cachedRgPath)return cachedRgPath;if(_0x4870b8&&existsSync(_0x4870b8))return cachedRgPath=_0x4870b8,_0x4870b8;const _0x1611ac=findSystemRipgrep();if(!_0x1611ac)throw new Error('ripgrep\x20executable\x20not\x20found.\x20Install\x20rg\x20to\x20use\x20Glob\x20and\x20Grep\x20tools.');return cachedRgPath=_0x1611ac,_0x1611ac;}async function*files(_0x200d53){const _0x20dbbf={_0x53344c:0xa5,_0x3e6f02:0x229,_0x31aa45:0xf8,_0x10078c:0x355,_0x162929:0xbc,_0x2c3959:0x153,_0x2bb743:0x61,_0x4f915c:0xd,_0x5e0749:0xc9,_0x1b688a:0xf1,_0x149821:0x82,_0x302cdd:0x3a6,_0x539be5:0x127,_0x3a306b:0x189,_0x2972c0:0x55,_0x21141a:0x310,_0x5560e5:0x145,_0x108c41:0x1c4,_0x2c5af8:0x14e,_0xcc241d:0x62,_0x1f24cd:0xd,_0x487b6c:0xd2,_0x3cfb0a:0x29b,_0x502ff4:0x1a6,_0xfd8cfc:0x238,_0x206998:0x41a,_0x438bd7:0x213,_0x3c7925:0x29,_0x4b1af5:0x23,_0x542a24:0x5f,_0x630604:0x220,_0x58d832:0x27,_0x5016ab:0xfa,_0x159f29:0xe7,_0x2a9898:0x8b,_0x2da7ff:0x27f,_0x3f81a0:0x8a,_0x384a7c:0x3ce,_0x1e6c02:0x114,_0x3e7c14:0x10f,_0x4c1c1f:0x7f,_0x4df33d:0x84,_0x19b112:0x21,_0x515a44:0x118,_0x55563c:0xd4,_0x447641:0x1c4},_0x240178={_0x25f543:0x11d,_0x2136a6:0x1c4},_0x53d88a={_0x2e494f:0x1bb},_0x52b081=await filepath(),_0x14f3bb=await _0x31539d(_0x200d53[_0x491ee8(-0x16b,-_0x20dbbf._0x53344c,-_0x20dbbf._0x3e6f02,-0x23)])[_0x491ee8(0xb5,0x187,_0x20dbbf._0x31aa45,0x1f4)](()=>null);if(!_0x14f3bb?.[_0x491ee8(_0x20dbbf._0x10078c,-_0x20dbbf._0x162929,0x21e,_0x20dbbf._0x2c3959)]())throw Object[_0x491ee8(-0x4a,_0x20dbbf._0x2bb743,-_0x20dbbf._0x4f915c,-0x3f)](new Error(_0x491ee8(0x31d,0x3ac,_0x20dbbf._0x5e0749,0x25f)+_0x200d53[_0x491ee8(-_0x20dbbf._0x1b688a,_0x20dbbf._0x149821,0x58,-0x23)]+'\x27'),{'code':'ENOENT'});function _0x491ee8(_0x23db64,_0x5c9570,_0x345526,_0x48e8d1){return _0x5885dd(_0x23db64-_0x53d88a._0x2e494f,_0x345526,_0x345526-0x157,_0x48e8d1- -0x1b7);}function _0xa07228(_0x2e056a,_0x2f873b,_0x15a57c,_0x49dd29){return _0x16ac01(_0x2e056a-0x13d,_0x49dd29- -_0x240178._0x25f543,_0x15a57c-_0x240178._0x2136a6,_0x2e056a);}const _0x330592=[_0xa07228(-0x1bf,-_0x20dbbf._0x302cdd,0x24,-0x190),_0xa07228(0x4e,0xf1,0x8e,0x15a),_0xa07228(-_0x20dbbf._0x539be5,_0x20dbbf._0x3a306b,-0x11b,-_0x20dbbf._0x2972c0),_0x491ee8(_0x20dbbf._0x21141a,0xcb,_0x20dbbf._0x5560e5,_0x20dbbf._0x108c41)];for(const _0x5b99e4 of _0x200d53[_0x491ee8(_0x20dbbf._0x2c5af8,-_0x20dbbf._0xcc241d,_0x20dbbf._0x1f24cd,_0x20dbbf._0x487b6c)]??[]){_0x330592[_0xa07228(-0xa6,-0x22c,-_0x20dbbf._0x3cfb0a,-_0x20dbbf._0x502ff4)](_0xa07228(-_0x20dbbf._0xfd8cfc,-0x12a,-_0x20dbbf._0x206998,-_0x20dbbf._0x438bd7)+_0x5b99e4);}const _0x4a3a34=_0x551dda(_0x52b081,_0x330592,{'cwd':_0x200d53[_0x491ee8(0x25,_0x20dbbf._0x3c7925,-0x19c,-_0x20dbbf._0x4b1af5)],'stdio':[_0xa07228(-0x10e,-0x21e,-_0x20dbbf._0x542a24,-_0x20dbbf._0x630604),_0x491ee8(_0x20dbbf._0x58d832,_0x20dbbf._0x5016ab,-0x74,0x180),'pipe']});let _0xf7dfc8='';for await(const _0x5981ca of _0x4a3a34[_0xa07228(-0x27b,-0x1dc,-_0x20dbbf._0x159f29,-_0x20dbbf._0x2a9898)]??[]){_0xf7dfc8+=_0x5981ca[_0x491ee8(-0x2d,_0x20dbbf._0x2da7ff,-0x84,_0x20dbbf._0x3f81a0)]();const _0x4e7925=_0xf7dfc8['split'](/\r?\n/);_0xf7dfc8=_0x4e7925['pop']()??'';for(const _0x35bef6 of _0x4e7925){if(_0x35bef6[_0xa07228(0x15b,-0x6c,-0xb6,-0x21)]>0x0)yield _0x35bef6;}}_0xf7dfc8[_0x491ee8(_0x20dbbf._0x384a7c,0xc4,_0x20dbbf._0x1e6c02,0x20e)]()[_0xa07228(-_0x20dbbf._0x3e7c14,_0x20dbbf._0x4c1c1f,_0x20dbbf._0x4df33d,-_0x20dbbf._0x19b112)]>0x0&&(yield _0xf7dfc8[_0xa07228(-_0x20dbbf._0x515a44,_0x20dbbf._0x55563c,-_0x20dbbf._0x447641,0x19)]());}function objectValue(_0x2f3802){return typeof _0x2f3802==='object'&&_0x2f3802!==null?_0x2f3802:void 0x0;}function decodeRipgrepText(_0x35fd2d){const _0x35e439={_0x1d6167:0x15c,_0x54689b:0x14c,_0x4efb39:0x17b,_0x2cbb5a:0x364,_0x34767e:0x197,_0x1f57d2:0x378,_0x2c8d8c:0x343,_0x5f4741:0x153,_0x5541b4:0x45a,_0x18b40c:0x50b,_0x856574:0x35d,_0x7ace3b:0xb0,_0x423a06:0x2ea,_0x4eb499:0xf4},_0x13d391={_0x1f7b50:0x131},_0x4b410f={_0x23c973:0x142};function _0x37dac5(_0x5e09cc,_0x1d02f7,_0x4bd945,_0x370e8f){return _0x16ac01(_0x5e09cc-0xd1,_0x4bd945-_0x4b410f._0x23c973,_0x4bd945-0x143,_0x5e09cc);}function _0x21fd93(_0x203089,_0x150f93,_0x119928,_0x9cd2b5){return _0x5885dd(_0x203089-0xb4,_0x203089,_0x119928-0x42,_0x150f93- -_0x13d391._0x1f7b50);}const _0x3ff7c7=objectValue(_0x35fd2d);if(typeof _0x3ff7c7?.[_0x37dac5(_0x35e439._0x1d6167,_0x35e439._0x54689b,_0x35e439._0x4efb39,0x177)]==='string')return _0x3ff7c7[_0x21fd93(_0x35e439._0x2cbb5a,_0x35e439._0x34767e,0x38b,_0x35e439._0x1f57d2)];if(typeof _0x3ff7c7?.[_0x21fd93(0x1b6,_0x35e439._0x2c8d8c,0x232,_0x35e439._0x5f4741)]===_0x37dac5(0x534,_0x35e439._0x5541b4,0x399,_0x35e439._0x18b40c))return Buffer[_0x37dac5(_0x35e439._0x856574,0x315,0x259,_0x35e439._0x7ace3b)](_0x3ff7c7['bytes'],_0x37dac5(0x42a,0xe3,0x25a,0x11b))[_0x37dac5(_0x35e439._0x423a06,-0x6f,_0x35e439._0x4eb499,0x2f4)]('utf8');return void 0x0;}function parseMatchLine(_0x10cbc2,_0x928a41){const _0x27e203={_0x2bf60d:0x564,_0x4834e6:0x416,_0x203d9d:0x358,_0x558a32:0x410,_0x5c3890:0x252,_0x81d08:0x3ea,_0x3e28f3:0x49a,_0x1bde21:0x4d7,_0x503ed3:0x503,_0x1bc3b3:0x6be,_0x32db98:0x5c5,_0x26cad1:0x35a,_0x342739:0x1ef,_0x26bd12:0x516,_0x302043:0x725,_0x47afb4:0x62c,_0x504bcc:0x4af,_0xf85217:0x52a,_0x5e6543:0x38b,_0x6a4990:0x739,_0x5355fb:0x47b,_0x528eec:0x5e0,_0x128aa7:0x7b1,_0x32a860:0x5d9,_0x1aeba9:0x6fb,_0x290884:0x58f,_0x2a4a7b:0x523,_0x32d5ed:0x23a,_0x1a9993:0x2c5,_0x12821a:0x5f8},_0x50307d={_0x3440ca:0x105},_0x25c6bc={_0xff9d99:0x144};function _0x39668c(_0x465697,_0x9e82b7,_0xc63033,_0x52b7b5){return _0x5885dd(_0x465697-_0x25c6bc._0xff9d99,_0x52b7b5,_0xc63033-0xc3,_0x9e82b7-0x164);}if(_0x10cbc2[_0xe4b795(_0x27e203._0x2bf60d,_0x27e203._0x4834e6,0x429,0x280)]===0x0)return null;const _0x181d8e=objectValue(JSON[_0x39668c(_0x27e203._0x203d9d,0x436,0x28d,_0x27e203._0x558a32)](_0x10cbc2));if(_0x181d8e?.[_0x39668c(_0x27e203._0x5c3890,_0x27e203._0x81d08,0x202,0x209)]!==_0xe4b795(_0x27e203._0x3e28f3,0x376,_0x27e203._0x1bde21,0x273)&&_0x181d8e?.['type']!==_0x39668c(_0x27e203._0x503ed3,_0x27e203._0x1bc3b3,0x77e,_0x27e203._0x32db98))return null;const _0x3a6223=objectValue(_0x181d8e[_0xe4b795(0x277,_0x27e203._0x26cad1,0x30b,_0x27e203._0x342739)]);function _0xe4b795(_0x55120f,_0x776a4b,_0x118281,_0xb7b6bb){return _0x16ac01(_0x55120f-0x1ef,_0x776a4b-0x31a,_0x118281-_0x50307d._0x3440ca,_0x118281);}const _0x39ee9d=decodeRipgrepText(_0x3a6223?.[_0xe4b795(0x58a,_0x27e203._0x26bd12,0x41b,0x490)]),_0xf4c859=decodeRipgrepText(_0x3a6223?.[_0x39668c(_0x27e203._0x302043,_0x27e203._0x47afb4,_0x27e203._0x504bcc,_0x27e203._0xf85217)]),_0x4f3833=_0x3a6223?.[_0xe4b795(0x50a,0x4d2,0x4da,0x57a)];if(_0x39ee9d===void 0x0||_0xf4c859===void 0x0||typeof _0x4f3833!==_0xe4b795(0x298,_0x27e203._0x5e6543,0x432,0x545))throw new Error(_0xe4b795(_0x27e203._0x6a4990,0x5cd,_0x27e203._0x5355fb,0x5a5));return{'filePath':_0x1c8eb3[_0x39668c(0x44e,_0x27e203._0x528eec,_0x27e203._0x128aa7,_0x27e203._0x32a860)](_0x39ee9d)?_0x39ee9d:_0x1c8eb3[_0x39668c(0x7c9,0x65e,0x6eb,_0x27e203._0x1aeba9)](_0x928a41,_0x39ee9d),'lineNum':_0x4f3833,'lineText':_0xf4c859[_0x39668c(0x5cb,0x6cd,_0x27e203._0x290884,_0x27e203._0x2a4a7b)](/\r?\n$/,''),..._0x181d8e[_0xe4b795(_0x27e203._0x32d5ed,0x311,0x39e,_0x27e203._0x1a9993)]===_0x39668c(_0x27e203._0x12821a,_0x27e203._0x1bc3b3,0x5dc,0x54c)?{'isContext':!![]}:{}};}async function search(_0x352c15){const _0x4ff39c={_0xa45d6e:0x3d9,_0x21ea2e:0x286,_0x11b83e:0x84b,_0x194c96:0x266,_0x127f8a:0x154,_0x4cfc2e:0x383,_0x32de68:0x31a,_0x5087a2:0x90,_0xf25457:0x76,_0x18b81d:0x5a7,_0x1fa996:0x55d,_0x7342c2:0x10a,_0x43c024:0x166,_0x45e4ec:0x6a1,_0x10f9a9:0x7e4,_0x31092d:0xa3,_0x1d94fa:0xcc,_0xa65c86:0x46,_0x11392b:0x17c,_0xbd669a:0x7a,_0x53bfe1:0x71f,_0x3e0027:0x7a9,_0x2819d9:0x789,_0x1ae4c6:0x54,_0x3415e0:0x249,_0x513eaf:0x47c,_0x4f3dc5:0x3de,_0x94f368:0x966,_0x1a1f0f:0x9ea,_0x10708c:0x6f5,_0x50c1d3:0x15c,_0x581e0e:0x16d,_0x32f21f:0x539,_0x3e946a:0x5a5,_0x3d0360:0x842,_0x1e2f41:0x7ad,_0x42dfb1:0x5e8,_0x473a16:0x81d,_0x3ee94e:0x6d5,_0x497951:0x64c,_0x17ef92:0x688,_0x3da5c8:0x963,_0x5c933e:0x842,_0xbbf07f:0x868,_0x178915:0x7eb,_0x352359:0x5a7,_0x1fbf97:0x3ab,_0x26f4be:0x177,_0xc35ba8:0x332,_0x17e29f:0x189,_0x3e9c03:0x337,_0x473f0d:0x67c,_0x54ecc0:0x571,_0x3c7746:0x90,_0x43af8f:0xa5,_0x3dfc6a:0x600,_0x41d2e1:0x4ee,_0x343fe0:0x5b4,_0x4a3e3c:0x471,_0x474f80:0x65,_0x1da72f:0x0,_0x2cdb99:0x60c,_0x191399:0x4ee,_0x4582ff:0x2eb,_0x467a0f:0x458,_0x271014:0x191,_0x50a66b:0x1f9,_0x3c9dc5:0x33e,_0xdb74b4:0x16,_0x2f66ae:0x85},_0x1c4ec4={_0x11ef2a:0x307,_0x58240d:0xe5,_0x38639b:0x3f8,_0x4e9565:0x4aa,_0x4ee7d2:0x1c2,_0x473e1f:0x3b4,_0x4586fc:0x3c4,_0xccd0f8:0x165},_0x2db24b={_0x20bcc5:0x526,_0x1233de:0x3aa,_0x511cbf:0x432},_0x521bcb={_0x2bd3db:0xd0,_0xaf14b3:0x60,_0x3906df:0x1d2},_0x2dd18c={_0x148853:0x1e5};function _0x3834df(_0x56e5b4,_0x29c218,_0x562239,_0x36ce39){return _0x16ac01(_0x56e5b4-0xe2,_0x29c218-0x577,_0x562239-_0x2dd18c._0x148853,_0x36ce39);}if(_0x352c15[_0x5afc8b(_0x4ff39c._0xa45d6e,0x217,0x1f9,_0x4ff39c._0x21ea2e)]!==void 0x0&&_0x352c15[_0x3834df(0x451,0x5a7,0x637,0x44a)]!==void 0x0)throw new Error('Ripgrep.search\x20accepts\x20either\x20file\x20or\x20files,\x20not\x20both');if(_0x352c15[_0x3834df(0x509,0x710,_0x4ff39c._0x11b83e,0x547)]){const _0x38c485=await _0x31539d(_0x352c15['file'])['catch'](()=>null);if(!_0x38c485?.[_0x5afc8b(_0x4ff39c._0x194c96,_0x4ff39c._0x127f8a,0x166,0x26e)]())throw Object['assign'](new Error('No\x20such\x20file:\x20\x27'+_0x352c15['file']+'\x27'),{'code':_0x5afc8b(_0x4ff39c._0x4cfc2e,0x15e,_0x4ff39c._0x32de68,0x3c6)});}else{if(_0x352c15[_0x5afc8b(0x4c,0x14a,_0x4ff39c._0x5087a2,-_0x4ff39c._0xf25457)]!==void 0x0)for(const _0x2d7abe of _0x352c15[_0x3834df(0x477,_0x4ff39c._0x18b81d,0x569,_0x4ff39c._0x1fa996)]){if(!_0x1c8eb3['isAbsolute'](_0x2d7abe))throw new Error('Ripgrep.search\x20explicit\x20files\x20must\x20be\x20absolute:\x20\x27'+_0x2d7abe+'\x27');const _0x188b61=await _0x31539d(_0x2d7abe)['catch'](()=>null);if(!_0x188b61?.[_0x5afc8b(0xf4,_0x4ff39c._0x7342c2,_0x4ff39c._0x43c024,0x316)]())throw Object['assign'](new Error(_0x3834df(0x7e6,_0x4ff39c._0x45e4ec,0x629,_0x4ff39c._0x10f9a9)+_0x2d7abe+'\x27'),{'code':'ENOENT'});}else{const _0x5909fb=await _0x31539d(_0x352c15[_0x5afc8b(_0x4ff39c._0x31092d,-0x294,-0x9b,-_0x4ff39c._0x1d94fa)])[_0x5afc8b(-_0x4ff39c._0xa65c86,0x382,_0x4ff39c._0x11392b,_0x4ff39c._0xbd669a)](()=>null);if(!_0x5909fb?.[_0x3834df(_0x4ff39c._0x53bfe1,0x5f2,_0x4ff39c._0x3e0027,_0x4ff39c._0x2819d9)]())throw Object['assign'](new Error(_0x5afc8b(0x90,_0x4ff39c._0x1ae4c6,0x1e7,_0x4ff39c._0x3415e0)+_0x352c15[_0x3834df(0x45b,_0x4ff39c._0x513eaf,0x564,_0x4ff39c._0x4f3dc5)]+'\x27'),{'code':_0x3834df(_0x4ff39c._0x94f368,0x831,_0x4ff39c._0x1a1f0f,_0x4ff39c._0x10708c)});}}if(_0x352c15[_0x5afc8b(-0x5,0x1db,0x90,0x7d)]?.[_0x5afc8b(0x223,0x324,_0x4ff39c._0x50c1d3,_0x4ff39c._0x581e0e)]===0x0)return[];const _0x8fb637=await filepath(),_0x576e24=[_0x3834df(_0x4ff39c._0x32f21f,_0x4ff39c._0x3e946a,0x67c,0x73a),'--regexp',_0x352c15[_0x5afc8b(0x36d,0x35,0x1aa,0x1de)]],_0x2d563c=typeof _0x352c15[_0x3834df(0x6d6,_0x4ff39c._0x3d0360,_0x4ff39c._0x1e2f41,0x8f7)]===_0x3834df(0x7c8,_0x4ff39c._0x42dfb1,0x42d,0x497)&&_0x352c15[_0x3834df(_0x4ff39c._0x473a16,0x842,_0x4ff39c._0x3ee94e,_0x4ff39c._0x497951)]>0x0;_0x2d563c&&_0x576e24[_0x3834df(_0x4ff39c._0x17ef92,0x4ee,0x31d,0x2fc)]('-C',String(_0x352c15[_0x3834df(_0x4ff39c._0x3da5c8,_0x4ff39c._0x5c933e,_0x4ff39c._0xbbf07f,_0x4ff39c._0x178915)]));function _0x5afc8b(_0x4a65a6,_0xce7feb,_0xc9b4a4,_0x59d852){return _0x16ac01(_0x4a65a6-_0x521bcb._0x2bd3db,_0xc9b4a4-_0x521bcb._0xaf14b3,_0xc9b4a4-_0x521bcb._0x3906df,_0x4a65a6);}return _0x352c15['glob']&&!_0x352c15[_0x5afc8b(0x293,0x34e,0x1f9,0x2b8)]&&_0x352c15[_0x3834df(0x4d8,_0x4ff39c._0x352359,_0x4ff39c._0x1fbf97,0x3cf)]===void 0x0&&_0x576e24[_0x5afc8b(-0x158,_0x4ff39c._0x26f4be,-0x29,0x41)](_0x5afc8b(_0x4ff39c._0xc35ba8,0x2ff,_0x4ff39c._0x17e29f,_0x4ff39c._0x3e9c03),_0x352c15[_0x3834df(_0x4ff39c._0x473f0d,_0x4ff39c._0x54ecc0,0x599,0x54c)]),_0x352c15[_0x5afc8b(0x103,-0x160,_0x4ff39c._0x3c7746,_0x4ff39c._0x43af8f)]!==void 0x0?_0x576e24[_0x3834df(_0x4ff39c._0x3dfc6a,_0x4ff39c._0x41d2e1,_0x4ff39c._0x343fe0,_0x4ff39c._0x4a3e3c)](..._0x352c15[_0x5afc8b(-_0x4ff39c._0x474f80,0x224,_0x4ff39c._0x5087a2,_0x4ff39c._0x1da72f)]):_0x576e24[_0x3834df(_0x4ff39c._0x2cdb99,_0x4ff39c._0x191399,_0x4ff39c._0x4582ff,_0x4ff39c._0x467a0f)](_0x352c15[_0x5afc8b(_0x4ff39c._0x271014,0x36a,_0x4ff39c._0x50a66b,_0x4ff39c._0x3c9dc5)]??_0x352c15[_0x5afc8b(0x13a,-_0x4ff39c._0xdb74b4,-0x9b,-_0x4ff39c._0x2f66ae)]),await new Promise((_0x1fc4d7,_0x5566ea)=>{const _0x5e1334={_0x32478c:0x434,_0x432755:0x4dc,_0x16b3f8:0x627,_0x3d7fb0:0x638,_0x56a82:0x76d,_0x2a0070:0x97f,_0x233dc5:0x65d,_0x4d323c:0x47a,_0x35976c:0x64e,_0x6ccda6:0x51e,_0x4d0b41:0x6fa,_0x2ec1b1:0x7f0,_0x5c1534:0x595,_0x3497a4:0x8e5,_0x191a25:0x467,_0x438d3d:0x4de,_0x56e304:0x565,_0x50738:0x4d2,_0x197f5f:0x64b,_0x546cb6:0x6d1,_0x3dbf4a:0x8ed,_0x4af075:0x8f5,_0x1422b3:0x6cd,_0x582a42:0x6aa,_0x614dea:0x500,_0x1e4c6c:0x65f},_0x3ebfcf={_0xb758bd:0x2d,_0x1afda5:0x263},_0x2f4c95={_0x147730:0x1dc,_0x228f13:0x13c,_0x315155:0x245},_0x57933d={_0x191bce:0xf4},_0x5e384b={_0x90d70b:0x4a9},_0x10a102={_0x1e8494:0xd6,_0x4068f0:0x13e},_0x68a3f1={_0x103669:0x4,_0xe7cda3:0x1d6},_0x38917c=_0x551dda(_0x8fb637,_0x576e24,{'cwd':_0x352c15['cwd'],'stdio':['ignore','pipe',_0x1d2562(_0x1c4ec4._0x11ef2a,0x296,0x2d,0x104)]});let _0x2a4194='',_0x804e22='';function _0x1d2562(_0x468e2a,_0x18a574,_0x15f2b6,_0x4f18bf){return _0x5afc8b(_0x468e2a,_0x18a574-0x5e,_0x4f18bf- -_0x68a3f1._0x103669,_0x4f18bf-_0x68a3f1._0xe7cda3);}_0x38917c[_0x1d2562(0x2e4,0x108,-_0x1c4ec4._0x58240d,0xee)]?.['on'](_0x699f2d(0x468,_0x1c4ec4._0x38639b,0x3b4,_0x1c4ec4._0x4e9565),_0x3ea3b0=>{function _0x543a88(_0x2bee50,_0x10c31e,_0x5dda79,_0x1ee96c){return _0x1d2562(_0x2bee50,_0x10c31e-_0x10a102._0x1e8494,_0x5dda79-_0x10a102._0x4068f0,_0x5dda79-0x3c0);}_0x2a4194+=_0x3ea3b0[_0x543a88(0x3e6,_0x5e384b._0x90d70b,0x3ce,0x525)]();});function _0x699f2d(_0x230c8a,_0x2d41e5,_0x32a158,_0x3cf7c9){return _0x5afc8b(_0x3cf7c9,_0x2d41e5-_0x57933d._0x191bce,_0x32a158-0x314,_0x3cf7c9-0x2a);}_0x38917c[_0x699f2d(0x3b1,0x352,0x494,0x49e)]?.['on'](_0x699f2d(_0x1c4ec4._0x4ee7d2,0x23b,_0x1c4ec4._0x473e1f,_0x1c4ec4._0x4586fc),_0x32441e=>{const _0x2181a0={_0x1a5aac:0xe0,_0x489118:0x145,_0x5200ab:0x518};function _0x5c796b(_0x10bcbc,_0x1398e5,_0x411102,_0x1724b5){return _0x1d2562(_0x10bcbc,_0x1398e5-_0x2181a0._0x1a5aac,_0x411102-_0x2181a0._0x489118,_0x1398e5-_0x2181a0._0x5200ab);}_0x804e22+=_0x32441e[_0x5c796b(0x637,_0x2db24b._0x20bcc5,_0x2db24b._0x1233de,_0x2db24b._0x511cbf)]();}),_0x38917c['on'](_0x1d2562(_0x1c4ec4._0xccd0f8,0xb8,0x37b,0x16c),_0xab32ab=>{const _0x3322e0={_0x117587:0xf8,_0x521ac5:0xaf,_0x475d77:0x2e,_0x2d54c:0x116},_0x42dcc0={_0x3e4582:0x12,_0x9caa20:0x10};if(_0xab32ab===0x1&&_0x2a4194===''){_0x1fc4d7([]);return;}if(_0xab32ab!==0x0&&_0xab32ab!==0x1){_0x5566ea(new Error('ripgrep\x20failed:\x20'+_0x804e22));return;}function _0x37429a(_0x510e62,_0x1f5127,_0x2c187f,_0x32dc2c){return _0x699f2d(_0x510e62-_0x2f4c95._0x147730,_0x1f5127-_0x2f4c95._0x228f13,_0x2c187f-_0x2f4c95._0x315155,_0x32dc2c);}const _0x57e3c9=[];try{for(const _0x51c81e of _0x2a4194['split'](/\r?\n/)){const _0x5e0edc=parseMatchLine(_0x51c81e,_0x352c15[_0x406fff(_0x5e1334._0x32478c,0x5ba,_0x5e1334._0x432755,0x607)]);if(_0x5e0edc)_0x57e3c9['push'](_0x5e0edc);}}catch(_0x5180f0){_0x5566ea(_0x5180f0);return;}const _0x5a4de0=_0x352c15[_0x37429a(0x8cd,_0x5e1334._0x16b3f8,0x7e2,0x631)]??0x64,_0xcc4d85=Number[_0x37429a(_0x5e1334._0x3d7fb0,0x601,_0x5e1334._0x56a82,_0x5e1334._0x2a0070)](_0x5a4de0)?Math['max'](0x0,Math[_0x37429a(_0x5e1334._0x233dc5,_0x5e1334._0x4d323c,_0x5e1334._0x35976c,0x572)](_0x5a4de0)):0x64,_0x55194f=_0x57e3c9[_0x406fff(0x5ef,0x591,_0x5e1334._0x6ccda6,_0x5e1334._0x4d0b41)](_0x1eb715=>!_0x1eb715['isContext']);if(_0x55194f[_0x406fff(_0x5e1334._0x2ec1b1,_0x5e1334._0x5c1534,0x6d3,_0x5e1334._0x3497a4)]<=_0xcc4d85){_0x1fc4d7(_0x57e3c9);return;}const _0x48b1de=_0x55194f[_0x37429a(0x5c9,_0x5e1334._0x191a25,0x4bb,_0x5e1334._0x438d3d)](0x0,_0xcc4d85);function _0x406fff(_0x4314c5,_0x485873,_0xb1fa08,_0x53d2b4){return _0x699f2d(_0x4314c5-0x72,_0x485873-_0x3ebfcf._0xb758bd,_0xb1fa08-_0x3ebfcf._0x1afda5,_0x485873);}const _0x5200c7=new Set(_0x48b1de),_0x225b85=_0x2d563c?Math[_0x406fff(0x448,0x6c8,_0x5e1334._0x56e304,0x3fa)](0x0,Math[_0x37429a(_0x5e1334._0x50738,_0x5e1334._0x197f5f,0x64e,0x73a)](_0x352c15[_0x37429a(_0x5e1334._0x546cb6,_0x5e1334._0x3dbf4a,0x884,_0x5e1334._0x4af075)]??0x0)):0x0;_0x1fc4d7(_0x57e3c9[_0x37429a(_0x5e1334._0x1422b3,_0x5e1334._0x582a42,_0x5e1334._0x614dea,_0x5e1334._0x1e4c6c)](_0x4783a4=>{const _0x46b81f={_0x5b60eb:0x5f5};function _0x23b82d(_0x386c72,_0x26e3d3,_0x3c7d71,_0xb2dade){return _0x37429a(_0x386c72-0x24,_0x26e3d3-0x78,_0x3c7d71- -_0x46b81f._0x5b60eb,_0x26e3d3);}if(!_0x4783a4['isContext'])return _0x5200c7[_0x23b82d(_0x3322e0._0x117587,-0x57,-0xb,-_0x3322e0._0x521ac5)](_0x4783a4);function _0x4e6a2a(_0x4bd9bd,_0x1c7a2a,_0x49eadd,_0x4af17c){return _0x406fff(_0x4bd9bd-_0x42dcc0._0x3e4582,_0x49eadd,_0x4af17c- -0x10a,_0x4af17c-_0x42dcc0._0x9caa20);}return _0x48b1de[_0x23b82d(_0x3322e0._0x475d77,-0xab,_0x3322e0._0x2d54c,0x3f)](_0x48305d=>_0x48305d[_0x4e6a2a(0x5b4,0x653,0x646,0x70a)]===_0x4783a4['filePath']&&Math[_0x23b82d(0x11f,0x98,0xcb,0x111)](_0x48305d[_0x23b82d(0x37a,0x1ae,0x270,0x8a)]-_0x4783a4[_0x23b82d(0x30e,0x38f,0x270,0x30b)])<=_0x225b85);}));}),_0x38917c['on']('error',_0x5566ea);});}function createGlobTool(_0x1deda9={}){const _0x3dc2f1={_0x5e6e8a:0x36a,_0x4a1237:0x43,_0x37cd2c:0x19f,_0x3d1fbd:0x3c8,_0x16d975:0x20c,_0x472672:0x19d,_0x37a0c6:0x328,_0x31cd91:0x34a,_0x6a1e41:0x45,_0x438044:0xba,_0x3ed457:0x137,_0x5d36e8:0x192,_0x590053:0x21f,_0x4afd07:0x386,_0x2da43f:0x526,_0x19599a:0x3cf,_0x1b98dd:0x3ee,_0x4fd35b:0x38a,_0x524a87:0x1a4,_0x22386b:0x249,_0x498802:0x27d},_0x13c0f6={_0x1e3d80:0x267,_0x3e6d07:0x1b6,_0x23881a:0x8c,_0xe5bf7f:0x28c,_0x485b7c:0x20,_0x7f399f:0x168,_0x2bdc75:0x35,_0x4aa235:0x539,_0x588701:0x77e,_0x144b7f:0x5d1,_0x1155c7:0x1ac,_0x1d1a31:0x3f5,_0xc5cfce:0x141,_0x28e54a:0x137,_0x56f26e:0x268,_0x2001b9:0x6b3,_0x4d761f:0x748,_0x54c5c4:0x83,_0x3fb644:0x6f5,_0x58e4cf:0x46a,_0x2bfb80:0x61b,_0x19d545:0x327,_0x2ee19e:0x89,_0x52ce93:0x1b5,_0x56ad18:0x1d,_0x514138:0xa9,_0x5a50ae:0x52,_0x33b440:0x84e,_0x1a5965:0x800,_0x6e5fb4:0x74a,_0x201263:0xda,_0x587494:0x9d,_0x95e83b:0xd5,_0x1369a6:0x83,_0x10016a:0xcc,_0x21cd18:0x57f,_0x4521a2:0x61b,_0x5b03e1:0x7e7,_0x161274:0x669,_0x1d82b5:0x2c4,_0x48a36c:0x1b1,_0x555e9b:0x69d,_0x316118:0x551,_0x1e4744:0x16a,_0x5277ce:0x1c5,_0x4326ce:0x1c7,_0x595b50:0x16},_0xd9eeb7={_0xfca665:0xff},_0x4a2268={_0x431a6e:0x15c};function _0xefdf9b(_0xaa4842,_0x52f2db,_0x3932f6,_0x1a32b5){return _0x5885dd(_0xaa4842-0xe7,_0xaa4842,_0x3932f6-0x190,_0x1a32b5- -_0x4a2268._0x431a6e);}const _0x166345=_0x23eeb8[_0x5d7c9a(0x24e,0x41a,0x1e6,_0x3dc2f1._0x5e6e8a)](_0x1deda9[_0xefdf9b(0x9d,0x2a2,0x19c,0x210)]??process['cwd']()),_0x54a004=_0x1deda9[_0xefdf9b(0x350,-_0x3dc2f1._0x4a1237,0x60,_0x3dc2f1._0x37cd2c)]??[],_0x41e0cb=_0x1deda9[_0x5d7c9a(_0x3dc2f1._0x3d1fbd,_0x3dc2f1._0x16d975,_0x3dc2f1._0x472672,_0x3dc2f1._0x37a0c6)]??0x64,_0x35a3fe=_0x1deda9[_0xefdf9b(0x4dc,0x3b4,0x281,_0x3dc2f1._0x31cd91)]??_0x5d7c9a(-0x165,_0x3dc2f1._0x6a1e41,_0x3dc2f1._0x438044,-0x35);function _0x5d7c9a(_0x4bcbd3,_0x322f0a,_0x18918e,_0x32496a){return _0x16ac01(_0x4bcbd3-0xe9,_0x32496a-_0xd9eeb7._0xfca665,_0x18918e-0xbb,_0x322f0a);}return defineTool({'name':_0x35a3fe,'permissionClass':_0x5d7c9a(_0x3dc2f1._0x3ed457,0x2cd,_0x3dc2f1._0x5d36e8,0x1cf),'description':_0x5d7c9a(0x29d,_0x3dc2f1._0x590053,0x577,_0x3dc2f1._0x4afd07),'inputSchema':{'type':_0xefdf9b(0x457,0x5c0,_0x3dc2f1._0x2da43f,_0x3dc2f1._0x19599a),'properties':{'pattern':{'type':'string'},'path':{'type':_0xefdf9b(0x531,0x407,_0x3dc2f1._0x1b98dd,_0x3dc2f1._0x4fd35b)},'limit':{'type':_0xefdf9b(0xfd,0xe9,0x395,_0x3dc2f1._0x524a87)}},'required':[_0xefdf9b(_0x3dc2f1._0x22386b,0x2e9,0x2ed,_0x3dc2f1._0x498802)]},async *'execute'(_0x312f26){const _0x160a7b={_0x1895c4:0x16},_0x540686={_0x1d301c:0x5e,_0x5b3834:0x0,_0x32ca4c:0x3ec};if(_0x312f26[_0x559aa9(_0x13c0f6._0x1e3d80,_0x13c0f6._0x3e6d07,_0x13c0f6._0x23881a,_0x13c0f6._0xe5bf7f)]['trim']()[_0x559aa9(-_0x13c0f6._0x485b7c,_0x13c0f6._0x7f399f,0xc5,_0x13c0f6._0x2bdc75)]===0x0)throw new ToolExecutionError(_0x4d790c(_0x13c0f6._0x4aa235,_0x13c0f6._0x588701,_0x13c0f6._0x144b7f,0x706),{});const _0x2d8862=resolveAllowedPath(_0x166345,_0x54a004,_0x312f26[_0x559aa9(0xf6,0x268,_0x13c0f6._0x1155c7,_0x13c0f6._0x1d1a31)]??'.'),_0xa4ee59=await _0x51ba39(_0x2d8862)[_0x559aa9(0x179,0x188,0x1e,_0x13c0f6._0xc5cfce)](()=>null);if(!_0xa4ee59?.[_0x559aa9(0x256,0xe7,_0x13c0f6._0x28e54a,0x64)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x312f26['path']??'.'),{'path':_0x312f26[_0x559aa9(0x15c,_0x13c0f6._0x56f26e,0x8f,0x270)]??'.'});function _0x4d790c(_0x5e94a2,_0x6b2b17,_0x56b54b,_0x23896c){return _0xefdf9b(_0x6b2b17,_0x6b2b17-_0x540686._0x1d301c,_0x56b54b-_0x540686._0x5b3834,_0x23896c-_0x540686._0x32ca4c);}const _0x13adaf=_0x312f26[_0x4d790c(0x78c,_0x13c0f6._0x2001b9,0x80f,_0x13c0f6._0x4d761f)]??_0x41e0cb,_0x43825e=Math['max'](0x1,Math[_0x559aa9(_0x13c0f6._0x54c5c4,0x101,0x162,0x1bd)](_0x13adaf));function _0x559aa9(_0x223f49,_0xd9d33,_0x3b940a,_0x447bcc){return _0xefdf9b(_0x3b940a,_0xd9d33-_0x160a7b._0x1895c4,_0x3b940a-0x193,_0xd9d33- -0xc7);}const _0x403d62=[];let _0x432546=![];for await(const _0x1c3441 of files({'cwd':_0x2d8862,'glob':[_0x312f26['pattern']]})){if(_0x403d62[_0x4d790c(_0x13c0f6._0x3fb644,_0x13c0f6._0x58e4cf,0x630,_0x13c0f6._0x2bfb80)]>=_0x43825e){_0x432546=!![];break;}const _0x18f6b5=await _0x51ba39(_0x23eeb8['join'](_0x2d8862,_0x1c3441))[_0x559aa9(_0x13c0f6._0x19d545,0x188,-_0x13c0f6._0x2ee19e,0x37c)](()=>null);_0x403d62[_0x559aa9(_0x13c0f6._0x52ce93,-_0x13c0f6._0x56ad18,-_0x13c0f6._0x514138,_0x13c0f6._0x5a50ae)]({'path':_0x1c3441,'mtime':_0x18f6b5?.[_0x4d790c(0x907,_0x13c0f6._0x33b440,_0x13c0f6._0x1a5965,_0x13c0f6._0x6e5fb4)]??0x0});}_0x403d62[_0x559aa9(-_0x13c0f6._0x201263,-_0x13c0f6._0x587494,-0x145,0x13a)]((_0x5cbe29,_0x1ef50e)=>_0x1ef50e[_0x559aa9(-0xd1,0xe8,0x245,0x1d4)]-_0x5cbe29['mtime']);const _0x2e05fc=_0x403d62[_0x559aa9(-0x2df,-_0x13c0f6._0x95e83b,-_0x13c0f6._0x1369a6,-_0x13c0f6._0x10016a)](_0x10bd8f=>_0x10bd8f['path']),_0x3a61ec=_0x2e05fc[_0x4d790c(0x5cc,_0x13c0f6._0x21cd18,0x608,_0x13c0f6._0x4521a2)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x312f26[_0x4d790c(_0x13c0f6._0x5b03e1,0x779,0x51f,_0x13c0f6._0x161274)]:''+_0x2e05fc[_0x559aa9(_0x13c0f6._0x1d82b5,0x272,0x1a1,_0x13c0f6._0x48a36c)]('\x0a')+(_0x432546?_0x4d790c(_0x13c0f6._0x555e9b,0x39c,0x4e1,_0x13c0f6._0x316118):'');return yield createToolOutput(_0x3a61ec,{'pattern':_0x312f26['pattern'],'searchPath':_0x23eeb8[_0x559aa9(_0x13c0f6._0x1e4744,_0x13c0f6._0x5277ce,_0x13c0f6._0x4326ce,_0x13c0f6._0x595b50)](_0x166345,_0x2d8862)||'.','matches':_0x2e05fc,'count':_0x2e05fc['length'],'truncated':_0x432546}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x19d83d){const _0x150fc5={_0x1c5620:0x104,_0x37518b:0x138,_0x526862:0xd,_0x37e7a5:0x1b6},_0x29a9a1={_0xe7afb9:0x32b},_0x17c287={_0x3f28cb:0x4b};if(_0x19d83d['trim']()[_0x53dc7b(0x60,_0x150fc5._0x1c5620,0x1df,-_0x150fc5._0x37518b)]===0x0)throw new Error('pattern\x20is\x20required');function _0x291f6a(_0x2db62a,_0xf5ca13,_0x10faef,_0xfd2fe1){return _0x5885dd(_0x2db62a-_0x17c287._0x3f28cb,_0x2db62a,_0x10faef-0x36,_0xf5ca13-0x7a);}function _0x53dc7b(_0x2b7335,_0x4a9598,_0x1e5f31,_0x1f9767){return _0x5885dd(_0x2b7335-0x49,_0x1e5f31,_0x1e5f31-0x102,_0x2b7335- -_0x29a9a1._0xe7afb9);}if(_0x19d83d['length']>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x53dc7b(-0x18f,-0x4a,0x30,_0x150fc5._0x526862)+GREP_MAX_PATTERN_LENGTH+_0x291f6a(_0x150fc5._0x37e7a5,0x356,0x434,0x1b2));}function boundedGrepSnippet(_0x52fa30){const _0x43316f={_0x25c81d:0x5c5,_0x3156b7:0x356,_0x37f8c2:0x474,_0x3b4b44:0x485,_0xc9fbe3:0x54d},_0x3fadd7={_0x34c7a8:0x9,_0x54a319:0x1bd};function _0x58c344(_0x377d58,_0x441def,_0x33fae8,_0x5d3bcf){return _0x16ac01(_0x377d58-0x3e,_0x33fae8-0x495,_0x33fae8-0x176,_0x441def);}function _0x26150e(_0x54e965,_0x1a2837,_0x39dd11,_0x5a264d){return _0x16ac01(_0x54e965-_0x3fadd7._0x34c7a8,_0x5a264d-0x572,_0x39dd11-_0x3fadd7._0x54a319,_0x1a2837);}return _0x52fa30['length']>GREP_MAX_SNIPPET_LENGTH?_0x52fa30[_0x26150e(0x44f,_0x43316f._0x25c81d,_0x43316f._0x3156b7,_0x43316f._0x37f8c2)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x58c344(_0x43316f._0x3b4b44,_0x43316f._0xc9fbe3,0x412,0x4cc):_0x52fa30;}async function searchRegex(_0x5667b4){const _0x2de51a={_0x2d9061:0x8a0,_0x1232e2:0x624,_0x23baaf:0x7e5,_0x288f77:0x705,_0xe58398:0x6b9,_0x3ccb79:0x489,_0xf7b4a4:0x549,_0x5264bc:0x6fd,_0x56e0be:0x675,_0x5ba099:0x5c9,_0x1e77a7:0x6b7,_0x25a144:0x102,_0x29f036:0x365,_0x1a8c93:0x5eb,_0x23a43b:0x67d,_0x354db7:0x4a2,_0x5879c0:0x5eb,_0x3a66f9:0x545,_0x39e1e2:0x37e,_0x1ea790:0x7b6,_0x34378e:0x67a,_0x1e85dd:0x395,_0x5327a5:0x27d,_0x50765a:0x494,_0x464489:0x419,_0x60f00c:0x6d8,_0xeb3395:0x4c3,_0x3b4106:0x502,_0x3af5d3:0x516,_0x450b0a:0x480,_0x2ad7c0:0x3a5,_0x35fcd5:0x24b,_0x5b40c0:0x243,_0x3365f5:0x8fe},_0x4e5570={_0x2f4acf:0x5bb},_0x3043bf={_0x106b10:0x28f,_0x47e473:0x300,_0x49c992:0x4a1,_0x39de31:0x41e,_0x322a8c:0x3a8,_0x3b964d:0x5f6},_0x3e22bc={_0x3f6967:0xf5};validateGrepPattern(_0x5667b4[_0x8c2d67(_0x2de51a._0x2d9061,_0x2de51a._0x1232e2,_0x2de51a._0x23baaf,_0x2de51a._0x288f77)]);const _0x34959d=_0x5667b4[_0x8c2d67(_0x2de51a._0xe58398,0x691,0x87f,0x7e4)]??GREP_DEFAULT_LIMIT,_0x1c4108=Number['isFinite'](_0x34959d)?Math[_0x8c2d67(0x450,0x541,_0x2de51a._0x3ccb79,_0x2de51a._0xf7b4a4)](0x1,Math['trunc'](_0x34959d)):GREP_DEFAULT_LIMIT;if(_0x5667b4[_0x8c2d67(_0x2de51a._0x5264bc,0x549,0x537,0x5eb)]?.[_0x8c2d67(_0x2de51a._0x56e0be,0x8bb,_0x2de51a._0x5ba099,_0x2de51a._0x1e77a7)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x560c45=await search({'cwd':_0x5667b4[_0xda0cc5(0x8c,0x289,_0x2de51a._0x25a144,_0x2de51a._0x29f036)],'pattern':_0x5667b4['pattern'],..._0x5667b4[_0x8c2d67(0x40b,0x3d8,0x78e,_0x2de51a._0x1a8c93)]===void 0x0?{}:{'files':_0x5667b4[_0x8c2d67(_0x2de51a._0x23a43b,_0x2de51a._0x354db7,0x478,_0x2de51a._0x5879c0)]},..._0x5667b4[_0xda0cc5(0x339,0x37e,_0x2de51a._0x3a66f9,0x40e)]===void 0x0?{}:{'glob':_0x5667b4[_0xda0cc5(0x41a,_0x2de51a._0x39e1e2,0x402,0x226)]},..._0x5667b4['context']===void 0x0?{}:{'context':_0x5667b4[_0xda0cc5(0x499,0x64f,_0x2de51a._0x1ea790,0x5a0)]},'limit':_0x1c4108+0x1}),_0x4569a7=_0x560c45['filter'](_0x4706b5=>!_0x4706b5[_0xda0cc5(0x16f,0x240,0x5e,0x64)]),_0x1b2471=_0x4569a7[_0xda0cc5(_0x2de51a._0x34378e,0x480,0x61d,0x358)]>_0x1c4108,_0x62a0a4=_0x4569a7[_0xda0cc5(_0x2de51a._0x1e85dd,0x286,_0x2de51a._0x5327a5,_0x2de51a._0x50765a)](0x0,_0x1c4108),_0xadd2bb=new Set(_0x62a0a4);function _0xda0cc5(_0x4cc6d4,_0x23e63f,_0x57810f,_0x5a7202){return _0x5885dd(_0x4cc6d4-0x11f,_0x5a7202,_0x57810f-0x169,_0x23e63f-_0x3e22bc._0x3f6967);}const _0x234241=Math['max'](0x0,Math[_0xda0cc5(0x555,_0x2de51a._0x464489,0x5ed,0x492)](_0x5667b4['context']??0x0)),_0xce32bf=_0x1b2471?_0x560c45[_0x8c2d67(_0x2de51a._0x60f00c,0x517,_0x2de51a._0xeb3395,_0x2de51a._0x3b4106)](_0x3878f7=>{const _0x479d34={_0x4c60a9:0xdb,_0x2324ab:0x2d1};function _0x547993(_0x6b3865,_0x333db1,_0x2bcc77,_0x865f96){return _0x8c2d67(_0x865f96,_0x333db1-_0x479d34._0x4c60a9,_0x2bcc77-0x131,_0x333db1- -_0x479d34._0x2324ab);}if(!_0x3878f7[_0x208624(_0x3043bf._0x106b10,_0x3043bf._0x47e473,_0x3043bf._0x49c992,_0x3043bf._0x39de31)])return _0xadd2bb['has'](_0x3878f7);function _0x208624(_0x1ad9af,_0x4a0a7c,_0x537e7a,_0x135e39){return _0xda0cc5(_0x1ad9af-0x73,_0x537e7a-0x261,_0x537e7a-0x2b,_0x1ad9af);}return _0x62a0a4[_0x547993(_0x3043bf._0x322a8c,0x43c,0x31f,_0x3043bf._0x3b964d)](_0x10d094=>_0x10d094[_0x547993(0x6e6,0x527,0x35c,0x63e)]===_0x3878f7['filePath']&&Math['abs'](_0x10d094['lineNum']-_0x3878f7[_0x547993(0x50d,0x596,0x7ab,0x471)])<=_0x234241);}):_0x560c45;function _0x8c2d67(_0x546545,_0x592208,_0x132354,_0x25988a){return _0x16ac01(_0x546545-0x15f,_0x25988a-_0x4e5570._0x2f4acf,_0x132354-0x189,_0x546545);}return{'matches':_0xce32bf,'matchCount':_0x62a0a4[_0xda0cc5(_0x2de51a._0x3af5d3,_0x2de51a._0x450b0a,0x3c6,_0x2de51a._0x2ad7c0)],'fileCount':new Set(_0xce32bf[_0xda0cc5(_0x2de51a._0x35fcd5,_0x2de51a._0x5b40c0,0xf1,0x319)](_0x45dc6f=>_0x45dc6f[_0x8c2d67(0x725,0x770,0x98a,0x7f8)]))[_0x8c2d67(0x85f,0x63a,_0x2de51a._0x3365f5,0x746)],'truncated':_0x1b2471};}import{stat as _0x392777}from'fs/promises';import*as _0x45e992 from'path';function createGrepTool(_0x347a17={}){const _0x358b2d={_0x45b0a7:0x322,_0x105f0a:0x22c,_0x77387d:0x25f,_0x1d0239:0x12d,_0x3479ef:0x33,_0x49c95e:0x57,_0x1d8c6a:0x2fc,_0x19ca7a:0x15a,_0x179a4a:0x2f,_0x475ab6:0xed,_0x2311e9:0xf6,_0x170d8f:0x138,_0x1fca14:0x225,_0x29ca99:0xf3,_0x472eaf:0x273,_0x1dde36:0x309,_0x349067:0x2ab,_0xb0e771:0xd5,_0x49bdfe:0xed,_0x12f992:0xde,_0x3d1cf2:0x5e,_0x330022:0x252,_0x4a1e47:0x3f},_0x237def={_0x536351:0x804,_0x1e5d4a:0x4d8,_0x58fa81:0x53f,_0xfd1c97:0x89e,_0x44504a:0x51b,_0x6670e:0x42a,_0x2d4272:0x50f,_0x2beb1d:0x52f,_0x1eb3af:0x61d,_0x14eee7:0x8d2,_0x30e532:0x777,_0x1072f4:0x549,_0x4ca9c1:0x6b3,_0x5677a1:0x840,_0x433118:0x521,_0x366fc4:0x4cc,_0x5df188:0x423,_0x42b986:0x481,_0x21f15e:0x6cc,_0x22ba60:0x6dc,_0x1d55bc:0x4e6,_0x3af58d:0x692,_0x2fe5bb:0x532,_0x41ea02:0x7a6,_0x4eef78:0x9fb,_0x2558b4:0x892,_0x2dc3b6:0x63c,_0x30f3f0:0x516,_0x4e609a:0x5ab,_0x3f3d28:0x6bb,_0x5d208f:0x612,_0x1b3998:0x376,_0x2c7b1f:0x46d,_0x2fc22c:0x63f,_0x3e4399:0x64e,_0x61c6a6:0x519,_0x1b2d1a:0x3f8,_0x2fe612:0x4e7,_0x7257fb:0x769,_0x41fc50:0x871,_0x3e92cc:0x44f,_0x3e6935:0x6a5,_0x3acba1:0x563,_0x35c25e:0x46f,_0x12aafa:0x94a,_0x3a1794:0x87f,_0x2ae763:0x4b9,_0x55c644:0x604,_0x5a757d:0x646,_0x452213:0x6d4,_0x483110:0x496,_0x2c3af9:0x584,_0x1dc1c2:0x4a8,_0x55e8e5:0x49c,_0x1a85ee:0x6f2,_0x177eaa:0x5c1,_0x18fa1f:0xa2b,_0xb3b16b:0x7d6,_0x1ac8ef:0x361,_0x133621:0x4e6,_0x531b17:0x45d,_0x322b11:0x6cb,_0x1b4441:0x607,_0x13d3e3:0x461,_0x514323:0x370,_0x17612d:0x380,_0x126396:0x361,_0x5eb612:0x44d,_0x4d7d78:0x171,_0x3ba25a:0x3ef,_0x33b2f5:0x861,_0x69dc9c:0x717,_0x28c97a:0x61f,_0x29978f:0x6b3,_0x1ff3f6:0x8a1,_0x47a11c:0x676,_0x298863:0x66f,_0x193242:0x6f4,_0x41034b:0x82f,_0x365c7b:0x75a,_0x5c5681:0x7ab},_0x1a7d40={_0x37ff15:0x1c3,_0xc5d1b:0x64a},_0x1ae83e={_0x1590b1:0x109,_0x5ce4a8:0xd0},_0x21f54b={_0xa4d20b:0x192},_0x449d76=_0x45e992[_0x1e9a52(_0x358b2d._0x45b0a7,_0x358b2d._0x105f0a,_0x358b2d._0x77387d,0x19c)](_0x347a17[_0x1b2e56(0xe,0xab,0x2b9,-0x14e)]??process[_0x1b2e56(-0x2da,-_0x358b2d._0x1d0239,_0x358b2d._0x3479ef,-_0x358b2d._0x49c95e)]());function _0x1b2e56(_0x5879a4,_0x2181f6,_0x3f856d,_0x3cdc80){return _0x5885dd(_0x5879a4-0xea,_0x3f856d,_0x3f856d-_0x21f54b._0xa4d20b,_0x2181f6- -0x2c1);}const _0x3069c0=_0x347a17['allowedDirs']??[],_0x5d624d=_0x347a17[_0x1e9a52(_0x358b2d._0x1d8c6a,0x19b,0x238,_0x358b2d._0x19ca7a)]??GREP_DEFAULT_LIMIT,_0x472295=_0x347a17['name']??_0x1e9a52(_0x358b2d._0x179a4a,-_0x358b2d._0x475ab6,0xf,0xf0);function _0x1e9a52(_0x52b730,_0x4c24aa,_0x35f3a3,_0x281ee3){return _0x5885dd(_0x52b730-_0x1ae83e._0x1590b1,_0x52b730,_0x35f3a3-_0x1ae83e._0x5ce4a8,_0x281ee3- -0x35e);}return defineTool({'name':_0x472295,'permissionClass':_0x1b2e56(0x1b4,0x9e,-_0x358b2d._0x2311e9,_0x358b2d._0x170d8f),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':'object','properties':{'pattern':{'type':_0x1b2e56(0x3d5,_0x358b2d._0x1fca14,_0x358b2d._0x29ca99,_0x358b2d._0x472eaf)},'path':{'type':_0x1e9a52(_0x358b2d._0x1dde36,0xbb,_0x358b2d._0x349067,0x188)},'include':{'type':_0x1e9a52(0x62,0x200,0xda,0x188)},'limit':{'type':_0x1e9a52(-_0x358b2d._0xb0e771,-_0x358b2d._0x49bdfe,_0x358b2d._0x12f992,-_0x358b2d._0x3d1cf2)},'context':{'type':_0x1b2e56(_0x358b2d._0x330022,_0x358b2d._0x4a1e47,0x1a5,0x4b)}},'required':['pattern']},async *'execute'(_0xd4d4c){const _0x2709d3={_0x2bb973:0x1b9,_0x5735c8:0x4ce};try{validateGrepPattern(_0xd4d4c[_0x298b6e(_0x237def._0x536351,0x549,_0x237def._0x1e5d4a,0x6c5)]);}catch(_0x30ca33){throw new ToolExecutionError(_0x30ca33[_0x124ed3(0x48d,0x513,_0x237def._0x58fa81,0x69b)],{});}const _0x4259e5=resolveAllowedPath(_0x449d76,_0x3069c0,_0xd4d4c[_0x298b6e(0x650,0x65b,_0x237def._0xfd1c97,0x777)]??'.'),_0x1c1df1=await _0x392777(_0x4259e5)[_0x124ed3(_0x237def._0x44504a,0x72d,_0x237def._0x6670e,0x429)](()=>null),_0x1eebb2=_0x1c1df1?.[_0x298b6e(0x7c8,_0x237def._0x2d4272,_0x237def._0x2beb1d,0x681)]()??![],_0x1e60e7=_0x1c1df1?.[_0x298b6e(_0x237def._0x1eb3af,0x3e2,0x479,0x5f6)]()??![];if(!_0x1eebb2&&!_0x1e60e7)throw new ToolExecutionError('Path\x20not\x20found:\x20'+(_0xd4d4c[_0x298b6e(_0x237def._0x14eee7,0x786,0x878,_0x237def._0x30e532)]??'.'),{'path':_0xd4d4c[_0x298b6e(0x95f,0x889,0x85c,_0x237def._0x30e532)]??'.'});const _0x1b3ce8=await searchRegex({'cwd':_0x1e60e7?_0x4259e5:_0x45e992['dirname'](_0x4259e5),'pattern':_0xd4d4c[_0x124ed3(_0x237def._0x1072f4,0x72c,0x6e3,0x698)],'glob':_0x1e60e7?_0xd4d4c[_0x124ed3(_0x237def._0x4ca9c1,0x76c,_0x237def._0x5677a1,_0x237def._0x433118)]:void 0x0,'limit':_0xd4d4c[_0x124ed3(0x628,_0x237def._0x366fc4,_0x237def._0x5df188,_0x237def._0x42b986)]??_0x5d624d,'files':_0x1eebb2?[_0x4259e5]:void 0x0,'context':_0xd4d4c[_0x124ed3(0x6ca,0x87d,0x7bc,_0x237def._0x21f15e)]}),{matches:_0x41577d}=_0x1b3ce8,_0xb052d0=new Map();for(const _0x32eea6 of _0x41577d){if(!_0xb052d0[_0x298b6e(0x5d9,0x44e,_0x237def._0x22ba60,0x5ac)](_0x32eea6['filePath'])){const _0x2ccdc6=await _0x392777(_0x32eea6['filePath'])[_0x124ed3(0x51b,_0x237def._0x1d55bc,0x670,_0x237def._0x3af58d)](()=>null);_0xb052d0[_0x298b6e(0x5bd,0x43b,_0x237def._0x42b986,_0x237def._0x2fe5bb)](_0x32eea6[_0x298b6e(0x5da,0x694,0x8b5,0x7b8)],{'matches':[],'mtime':_0x2ccdc6?.[_0x298b6e(0x7ad,0x88b,0x6d1,_0x237def._0x41ea02)]??0x0});}_0xb052d0[_0x298b6e(_0x237def._0x4eef78,_0x237def._0x2558b4,0x7c9,0x850)](_0x32eea6[_0x124ed3(_0x237def._0x2dc3b6,0x57e,0x650,_0x237def._0x30f3f0)])?.[_0x298b6e(_0x237def._0x4e609a,0x6f4,_0x237def._0x3f3d28,_0x237def._0x5d208f)][_0x124ed3(_0x237def._0x1b3998,0x311,0x500,_0x237def._0x2c7b1f)](_0x32eea6);}const _0x1ec86b=[..._0xb052d0[_0x298b6e(_0x237def._0x2fc22c,_0x237def._0x3e4399,0x894,0x6ce)]()][_0x298b6e(_0x237def._0x61c6a6,0x4e5,_0x237def._0x1b2d1a,0x472)]((_0x4a0997,_0x58b6e6)=>_0x58b6e6[0x1][_0x124ed3(0x47b,0x5eb,0x50a,0x690)]-_0x4a0997[0x1][_0x124ed3(0x47b,0x49d,0x26a,0x32f)]),_0x26d6e5=_0x1eebb2?_0x45e992['dirname'](_0x4259e5):_0x4259e5;function _0x124ed3(_0x12bd73,_0x24d7e8,_0x4f4cda,_0x1ac075){return _0x1e9a52(_0x4f4cda,_0x24d7e8-_0x2709d3._0x2bb973,_0x4f4cda-0x2d,_0x12bd73-_0x2709d3._0x5735c8);}let _0x5d6aa4='';if(_0x41577d[_0x298b6e(_0x237def._0x2fe612,_0x237def._0x7257fb,_0x237def._0x41fc50,0x677)]===0x0)_0x5d6aa4=_0x298b6e(0x75b,_0x237def._0x3e92cc,_0x237def._0x3e6935,_0x237def._0x3acba1)+_0xd4d4c['pattern'];else{_0x5d6aa4=_0x298b6e(0x662,_0x237def._0x35c25e,0x58c,_0x237def._0x2c7b1f)+_0x1b3ce8[_0x124ed3(_0x237def._0x1e5d4a,0x4b8,0x62c,0x372)]+_0x298b6e(0x7e3,_0x237def._0x12aafa,_0x237def._0x3a1794,0x7fb)+(_0x1b3ce8['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x3c8535,_0x17731b]of _0x1ec86b){const _0x1524cd=_0x1eebb2?_0x45e992[_0x124ed3(0x64d,0x539,0x4e6,_0x237def._0x2ae763)](_0x3c8535):_0x45e992[_0x298b6e(_0x237def._0x55c644,0x669,_0x237def._0x5a757d,_0x237def._0x452213)](_0x26d6e5,_0x3c8535);_0x5d6aa4+='\x0a'+_0x1524cd+':\x0a';for(const _0x562cae of _0x17731b[_0x124ed3(_0x237def._0x483110,_0x237def._0x2c3af9,_0x237def._0x1dc1c2,_0x237def._0x55e8e5)]){const _0x12780d=boundedGrepSnippet(_0x562cae['lineText']),_0x3c9516=_0x562cae['isContext']?'\x20\x20':'>\x20';_0x5d6aa4+=_0x3c9516+_0x298b6e(0x465,_0x237def._0x1a85ee,0x717,_0x237def._0x177eaa)+_0x562cae[_0x298b6e(0x6e5,_0x237def._0x18fa1f,_0x237def._0xb3b16b,0x827)]+':\x20'+_0x12780d+'\x0a';}}_0x1b3ce8[_0x124ed3(_0x237def._0x1ac8ef,_0x237def._0x133621,_0x237def._0x531b17,0x1dc)]&&(_0x5d6aa4+=_0x124ed3(0x431,0x3d1,0x3c3,0x3a8));}const _0x2dd9c2={'searchPath':_0x45e992['relative'](_0x449d76,_0x4259e5)||'.','pattern':_0xd4d4c[_0x298b6e(0x510,_0x237def._0x322b11,0x88c,0x6c5)],'matchCount':_0x1b3ce8[_0x124ed3(_0x237def._0x1e5d4a,_0x237def._0x1b4441,_0x237def._0x13d3e3,0x4ad)],'fileCount':_0x1b3ce8[_0x124ed3(0x481,0x2da,_0x237def._0x514323,_0x237def._0x17612d)],'truncated':_0x1b3ce8[_0x124ed3(_0x237def._0x126396,_0x237def._0x5eb612,_0x237def._0x4d7d78,_0x237def._0x3ba25a)]};_0x1e60e7&&_0xd4d4c[_0x298b6e(_0x237def._0x33b2f5,_0x237def._0x69dc9c,_0x237def._0x28c97a,0x82f)]!==void 0x0&&(_0x2dd9c2[_0x124ed3(_0x237def._0x29978f,_0x237def._0x1ff3f6,_0x237def._0x47a11c,0x582)]=_0xd4d4c[_0x298b6e(_0x237def._0x298863,0x91a,_0x237def._0x193242,_0x237def._0x41034b)]);function _0x298b6e(_0x98f913,_0x36cac9,_0x16fcf4,_0x41c90c){return _0x1e9a52(_0x98f913,_0x36cac9-0x158,_0x16fcf4-_0x1a7d40._0x37ff15,_0x41c90c-_0x1a7d40._0xc5d1b);}return yield createToolOutput(_0x5d6aa4[_0x298b6e(_0x237def._0x365c7b,_0x237def._0x5c5681,0x5c2,0x6b1)](),_0x2dd9c2),void 0x0;}});}import{readdir,readFile as _0x4cb5e1,stat as _0x3a9a0f}from'fs/promises';import*as _0x1785be from'path';import*as _0x13480f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x183819,_0x5b8508){const _0x55b011={_0x78f5fc:0x605,_0x2fcd12:0x4e6,_0x4494ff:0x47d,_0xd1823a:0x4a5,_0x585c8c:0x325,_0x45cd03:0x265,_0xdbbee4:0x476,_0x275178:0x1b3,_0x2ac19b:0x6b2,_0x3b7de7:0x631,_0x51c18a:0x5ee,_0x7aa7a3:0x62f,_0x10c7b3:0x614,_0x1103dd:0x45d},_0x139893={_0x361b5f:0x176},_0x3a5677={_0x58f7cc:0x19b,_0xe52680:0xd2};if(_0x5b8508>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x14a9f2(_0x5404ef,_0x1939e0,_0x201495,_0xce5321){return _0x5885dd(_0x5404ef-_0x3a5677._0x58f7cc,_0x1939e0,_0x201495-_0x3a5677._0xe52680,_0x5404ef- -0x2ad);}const _0x4e07c1=await _0x4cb5e1(_0x183819)[_0x324148(_0x55b011._0x78f5fc,_0x55b011._0x2fcd12,0x2cc,_0x55b011._0x4494ff)](()=>null);if(!_0x4e07c1||isProbablyBinary(_0x4e07c1))return void 0x0;function _0x324148(_0x16aaf4,_0x447451,_0x5f6f99,_0x11b22f){return _0x5885dd(_0x16aaf4-0x7f,_0x447451,_0x5f6f99-_0x139893._0x361b5f,_0x11b22f-0xd2);}return _0x4e07c1[_0x324148(0x1da,_0x55b011._0xd1823a,_0x55b011._0x585c8c,0x313)](_0x324148(_0x55b011._0x45cd03,_0x55b011._0xdbbee4,_0x55b011._0x275178,0x39c))[_0x324148(_0x55b011._0x2ac19b,_0x55b011._0x3b7de7,0x6f5,_0x55b011._0x51c18a)](/\r?\n/)[_0x324148(0x494,_0x55b011._0x7aa7a3,_0x55b011._0x10c7b3,_0x55b011._0x1103dd)];}function createLsTool(_0x49ab8a={}){const _0x131673={_0x46e6d6:0x6b2,_0xbb47fa:0x736,_0x5cd523:0x65,_0x4c6a57:0x15,_0x27bfef:0x544,_0x162aa8:0x33f,_0x530a77:0x42f,_0x19ca62:0x520,_0x3f81b2:0x52f,_0x3f7d3d:0x5fb},_0x54af39={_0x4eb6c8:0x808,_0x33881f:0x6cb,_0xdf93aa:0x878,_0x55c4f6:0x82e,_0x3b3360:0x481,_0x18bcc3:0x3b5,_0x7c3980:0x73f,_0x3dff38:0x50e,_0x47a6dc:0x6fd,_0x5f3c09:0x9df,_0x31b364:0x85b,_0x1e6c7d:0x5fb,_0x15a897:0x3c8,_0x45f25a:0x567,_0xc06819:0x3ce,_0x5bf258:0x30b,_0x3cb1ce:0x19b,_0xadf03d:0x39c,_0x917e6e:0x1ea,_0x3f83dd:0x49f,_0x974120:0x4bf,_0x16fac8:0x666,_0xb0809d:0x699,_0x4d370a:0x66d,_0x33c1a9:0x3a7,_0x57130a:0x4a3,_0x4e7d6a:0x5a7,_0x4a5529:0x738,_0x16cc0c:0x848,_0x59bfab:0x83a,_0x3a6155:0x8b6,_0x6d18f7:0x79d,_0x2143c0:0x630,_0x3f2d0c:0x5dd,_0x2ed374:0x627,_0x13c5b0:0x689,_0xb695a1:0x59b,_0x363c0e:0x4da,_0x1f7f8e:0x972,_0x27259c:0x845,_0x3acec2:0x91c,_0x20c93c:0x7ab,_0x11abc2:0x6d6,_0x3a8ed8:0xa53,_0x5c342c:0x8e3,_0x28780b:0x766,_0x226e2d:0x44b,_0x91d13a:0x715,_0x6bb096:0x729,_0x9dd8ff:0x529,_0xbd8cd7:0x1d3,_0x305d16:0x395,_0x4c5069:0x2d4},_0x3e3bd2={_0x2e3dd4:0xe9},_0x2fe51f={_0x57ae09:0x114},_0x1a6a04=_0x1785be[_0x19d7a4(0x5f1,_0x131673._0x46e6d6,_0x131673._0xbb47fa,0x5ca)](_0x49ab8a[_0x19d7a4(0x4b9,0x39b,0x27a,0x43c)]??process[_0x231474(0x4b,0xa7,_0x131673._0x5cd523,_0x131673._0x4c6a57)]()),_0x331643=_0x49ab8a['allowedDirs']??[];function _0x19d7a4(_0x5cd720,_0x41e088,_0x399f8f,_0xe4e0c7){return _0x5885dd(_0x5cd720-_0x2fe51f._0x57ae09,_0x41e088,_0x399f8f-0x41,_0xe4e0c7-0xd0);}function _0x231474(_0x38ffb1,_0x58f662,_0x56ba67,_0x180fe5){return _0x16ac01(_0x38ffb1-0x152,_0x56ba67-0x160,_0x56ba67-0x137,_0x180fe5);}const _0x4a2ac2=_0x49ab8a['name']??'Ls';return defineTool({'name':_0x4a2ac2,'permissionClass':_0x19d7a4(_0x131673._0x27bfef,0x347,_0x131673._0x162aa8,_0x131673._0x530a77),'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x19d7a4(_0x131673._0x19ca62,0x7b8,_0x131673._0x3f81b2,_0x131673._0x3f7d3d),'properties':{'path':{'type':'string'},'limit':{'type':'number'}}},async *'execute'(_0x52c583){const _0x3817e8=_0x52c583[_0x4d0838(_0x54af39._0x4eb6c8,_0x54af39._0x33881f,_0x54af39._0xdf93aa,_0x54af39._0x55c4f6)]??'.',_0xefe6f5=resolveAllowedPath(_0x1a6a04,_0x331643,_0x3817e8),_0x1a9e29=await _0x3a9a0f(_0xefe6f5)[_0x4387b8(_0x54af39._0x3b3360,_0x54af39._0x18bcc3,0x2f1,0x206)](()=>null);if(!_0x1a9e29?.[_0x4387b8(0x48c,0x314,0x295,0x39b)]())throw new ToolExecutionError(_0x4d0838(_0x54af39._0x7c3980,_0x54af39._0x3dff38,0x7ea,_0x54af39._0x47a6dc)+_0x3817e8,{'path':_0x3817e8});function _0x4387b8(_0x2bebd2,_0x4443e3,_0x4f7ba1,_0x347f86){return _0x231474(_0x2bebd2-0x163,_0x4443e3-_0x3e3bd2._0x2e3dd4,_0x4443e3-0x139,_0x4f7ba1);}const _0xbc10fa=_0x52c583[_0x4d0838(0x7a2,0xa05,_0x54af39._0x5f3c09,_0x54af39._0x31b364)]??0x3e8,_0x497a48=Math[_0x4d0838(0x5ff,_0x54af39._0x1e6c7d,_0x54af39._0x15a897,_0x54af39._0x45f25a)](Math[_0x4387b8(0x429,0x227,0x241,_0x54af39._0xc06819)](Math['trunc'](_0xbc10fa),0x1),0x2710),_0x1103ad=await readdir(_0xefe6f5),_0x28678d=[];function _0x4d0838(_0xe20f03,_0x3eab4c,_0x10f3dd,_0x976cca){return _0x19d7a4(_0xe20f03-0x86,_0xe20f03,_0x10f3dd-0x1c5,_0x976cca-0x2d3);}for(const _0x272cce of _0x1103ad[_0x4387b8(_0x54af39._0x5bf258,_0x54af39._0x3cb1ce,_0x54af39._0xadf03d,_0x54af39._0x917e6e)](0x0,_0x497a48)){const _0x2f28ae=_0x1785be[_0x4387b8(0x3aa,_0x54af39._0x3f83dd,_0x54af39._0x974120,_0x54af39._0x16fac8)](_0xefe6f5,_0x272cce),_0x40cde9=await _0x3a9a0f(_0x2f28ae)[_0x4d0838(0x8a6,_0x54af39._0xb0809d,_0x54af39._0x4d370a,0x74e)](()=>null);if(!_0x40cde9)continue;let _0x5f017d=_0x4387b8(_0x54af39._0x33c1a9,_0x54af39._0x57130a,0x382,0x3ec);if(_0x40cde9[_0x4d0838(0x93a,0x78c,_0x54af39._0x4e7d6a,_0x54af39._0x4a5529)]())_0x5f017d=_0x4d0838(_0x54af39._0x16cc0c,0x868,_0x54af39._0x59bfab,0x7cb);else{if(_0x40cde9[_0x4d0838(0x510,_0x54af39._0x3a6155,_0x54af39._0x6d18f7,0x6ad)]())_0x5f017d=_0x4d0838(_0x54af39._0x2143c0,0x53d,_0x54af39._0x3f2d0c,_0x54af39._0x2ed374);else{if(_0x40cde9[_0x4387b8(_0x54af39._0x13c5b0,0x531,_0x54af39._0xb695a1,_0x54af39._0x363c0e)]())_0x5f017d=_0x4387b8(0x1bd,0x1dd,0x1db,0x124);}}const _0x2c014e={'name':_0x272cce,'type':_0x5f017d,'size':_0x40cde9[_0x4d0838(_0x54af39._0x1f7f8e,_0x54af39._0x27259c,_0x54af39._0x3acec2,0x7bd)],'mtime':_0x40cde9[_0x4d0838(0x943,_0x54af39._0x20c93c,_0x54af39._0x11abc2,0x85d)],'mode':_0x40cde9[_0x4d0838(0xa83,0x919,_0x54af39._0x3a8ed8,_0x54af39._0x5c342c)]},_0x2b6b57=_0x5f017d===_0x4d0838(0x837,_0x54af39._0x28780b,0x857,0x7cb)?await countTextLines(_0x2f28ae,_0x40cde9[_0x4387b8(_0x54af39._0x226e2d,0x424,0x449,0x236)]):void 0x0;if(_0x2b6b57!==void 0x0)_0x2c014e['lines']=_0x2b6b57;_0x28678d[_0x4d0838(_0x54af39._0x91d13a,0x7a5,0x7bf,0x5a9)](_0x2c014e);}_0x28678d[_0x4d0838(0x636,0x398,_0x54af39._0x6bb096,_0x54af39._0x9dd8ff)]((_0x5c6b6f,_0x208cd3)=>_0x5c6b6f[_0x4d0838(0x894,0x80a,0x9f3,0x849)][_0x4d0838(0x5cc,0x83a,0x8dd,0x795)](_0x208cd3[_0x4d0838(0x6e8,0x9f0,0x702,0x849)]));const _0x4ef4f0={'path':_0x3817e8,'total':_0x28678d['length'],'truncated':_0x1103ad['length']>_0x497a48,'entries':_0x28678d};return yield createToolOutput(_0x13480f['stringify'](_0x4ef4f0,{'indent':0x2,'lineWidth':0x0})[_0x4387b8(0x78,0x258,0x2bd,0x161)](),{'path':_0x3817e8,'total':_0x28678d[_0x4387b8(_0x54af39._0xbd8cd7,_0x54af39._0x305d16,0x1ca,0x596)],'truncated':_0x1103ad[_0x4387b8(0x326,0x395,_0x54af39._0x4c5069,0x2c3)]>_0x497a48,'limit':_0x497a48,'entries':_0x28678d}),void 0x0;}});}import{readFile as _0x2261be,stat as _0x1ffa8a}from'fs/promises';import*as _0x2de289 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x5885dd(0x438,0x49f,0x3ff,0x2e2),_0x16ac01(-0x14a,0x5a,0x4c,0x87),_0x5885dd(0x392,0x293,0x4f9,0x3a8),_0x16ac01(-0x2d6,-0x11a,-0x187,-0x10f)]),PNG_SIGNATURE=Buffer[_0x5885dd(0x5ab,0x4b8,0x33d,0x3a6)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x1d6998,_0x4cdf11){const _0x353e9a={_0x1f7342:0x11,_0x525f49:0x30c,_0x382af9:0x397,_0x54ab97:0x38c,_0x4bce9c:0x3a5,_0x564fb5:0x1ba,_0x14a02c:0x15,_0x16bba5:0x17f,_0x3092ae:0xd3,_0x172ba9:0x288,_0x10d0d5:0xf2,_0x1f1a3b:0x3b,_0x2adc76:0x15e,_0x307deb:0x3f4,_0x2c2c12:0x2f8,_0x2436da:0x448,_0x14b5dd:0xb2,_0x4dd280:0xbe,_0x1aabe3:0x1bc,_0x5153f1:0x213,_0xafe567:0x23,_0x5b326c:0x8e,_0x3c072e:0xa9,_0x283462:0x1a,_0xecfcc2:0x6a,_0x54427d:0x176,_0x557250:0x94,_0x28f0d8:0x1d9,_0x1d1490:0x2ee,_0x4d9cd4:0x2b1,_0x33a86a:0x2d7,_0x1c3808:0x31d,_0x14022d:0x1ba,_0x59788f:0x21e,_0x5b443c:0x2c2,_0x295e20:0x2dc,_0x2a19ae:0x203,_0x26974f:0x26d},_0x224725={_0x56a701:0xb4,_0x1558b9:0x89,_0x4cfbf8:0xa8};if(_0x1d6998[_0x485c0f(0x1ae,0x1b1,-0x84,-_0x353e9a._0x1f7342)](0x0,0x8)[_0x485c0f(0x2ee,_0x353e9a._0x525f49,0x2a,0x137)](PNG_SIGNATURE))return _0x485c0f(0x11e,_0x353e9a._0x382af9,_0x353e9a._0x54ab97,0x241);if(_0x1d6998[0x0]===0xff&&_0x1d6998[0x1]===0xd8&&_0x1d6998[0x2]===0xff)return _0x485c0f(-0x11,0x34c,_0x353e9a._0x4bce9c,_0x353e9a._0x564fb5);const _0x4ee5c9=_0x1d6998[_0x19c43a(0xb9,_0x353e9a._0x14a02c,0x15c,-0x1c9)](0x0,0x6)[_0x485c0f(0x1a4,_0x353e9a._0x16bba5,_0x353e9a._0x3092ae,_0x353e9a._0x14a02c)](_0x485c0f(_0x353e9a._0x172ba9,0x39a,0x306,0x2d2));if(_0x4ee5c9==='GIF87a'||_0x4ee5c9===_0x485c0f(0x16a,-0xc0,_0x353e9a._0x10d0d5,0x97))return'image/gif';function _0x19c43a(_0x3862ad,_0x544912,_0x1cbaee,_0x73595c){return _0x16ac01(_0x3862ad-_0x224725._0x56a701,_0x544912-_0x224725._0x1558b9,_0x1cbaee-_0x224725._0x4cfbf8,_0x73595c);}if(_0x1d6998['subarray'](0x0,0x4)[_0x19c43a(0xb7,_0x353e9a._0x1f1a3b,-_0x353e9a._0x2adc76,-0xb9)](_0x19c43a(_0x353e9a._0x307deb,_0x353e9a._0x2c2c12,_0x353e9a._0x2436da,0x474))===_0x485c0f(0x195,_0x353e9a._0x14b5dd,0x1c9,_0x353e9a._0x4dd280)&&_0x1d6998[_0x485c0f(-0xae,0x37,-_0x353e9a._0x1aabe3,-0x11)](0x8,0xc)['toString']('ascii')===_0x19c43a(0x6f,-0xb2,-_0x353e9a._0x5153f1,-0x1cc))return _0x19c43a(_0x353e9a._0xafe567,_0x353e9a._0x5b326c,-_0x353e9a._0x3c072e,0x16f);const _0x25929b=_0x2de289[_0x485c0f(-_0x353e9a._0x283462,0xd3,-0xec,_0x353e9a._0xecfcc2)](_0x4cdf11)[_0x485c0f(_0x353e9a._0x54427d,0x32,0x139,-_0x353e9a._0xecfcc2)]();if(_0x25929b===_0x485c0f(_0x353e9a._0x557250,0xe1,0x45,-0x82))return _0x19c43a(0x459,0x267,0x449,0x138);if(_0x25929b===_0x485c0f(0x76,_0x353e9a._0x28f0d8,0x2fd,0x242)||_0x25929b===_0x19c43a(0x428,_0x353e9a._0x1d1490,_0x353e9a._0x4d9cd4,_0x353e9a._0x33a86a))return _0x485c0f(_0x353e9a._0x1c3808,0x308,0x26d,_0x353e9a._0x14022d);if(_0x25929b==='.gif')return _0x485c0f(0x168,0x446,_0x353e9a._0x59788f,_0x353e9a._0x5b443c);if(_0x25929b===_0x485c0f(0x1f7,_0x353e9a._0x295e20,_0x353e9a._0x2a19ae,0x23d))return _0x485c0f(0xb7,_0x353e9a._0x26974f,_0x353e9a._0xecfcc2,0x68);function _0x485c0f(_0x479cfc,_0x440467,_0x52c44f,_0x55f728){return _0x5885dd(_0x479cfc-0x7e,_0x479cfc,_0x52c44f-0x1e2,_0x55f728- -0x22c);}return void 0x0;}function normalizeDetail(_0x5e7045){const _0x3ebd85={_0x5a802a:0x85c,_0x327116:0x634,_0x3e1188:0x7ca,_0x35887f:0x560,_0x31b3b0:0x441,_0x1be0a4:0x354,_0x1f20aa:0x61b,_0x514095:0x720,_0x1bea7b:0x576,_0x28b346:0x63d,_0x29c269:0x68c,_0x31aecb:0x647},_0x21e608={_0x2d038e:0x7e,_0x2fa1ec:0x160};if(_0x5e7045===void 0x0)return void 0x0;const _0x55e87c=_0x5e7045[_0x5a5f59(_0x3ebd85._0x5a802a,_0x3ebd85._0x327116,_0x3ebd85._0x3e1188,0x77f)]()[_0x14471a(0x47f,_0x3ebd85._0x35887f,_0x3ebd85._0x31b3b0,_0x3ebd85._0x1be0a4)]();if(!SUPPORTED_DETAILS[_0x14471a(_0x3ebd85._0x1f20aa,0x65e,_0x3ebd85._0x514095,_0x3ebd85._0x1bea7b)](_0x55e87c))throw new ToolExecutionError(_0x14471a(0x55f,_0x3ebd85._0x28b346,_0x3ebd85._0x29c269,_0x3ebd85._0x31aecb)+_0x5e7045,{'detail':_0x5e7045});function _0x5a5f59(_0x1da186,_0x930fbc,_0x1ddc63,_0x5bfdff){return _0x5885dd(_0x1da186-_0x21e608._0x2d038e,_0x1ddc63,_0x1ddc63-_0x21e608._0x2fa1ec,_0x5bfdff-0x3ba);}function _0x14471a(_0x4deb46,_0x134616,_0xc26015,_0x5256e9){return _0x5885dd(_0x4deb46-0xb3,_0x5256e9,_0xc26015-0x113,_0x134616-0x39e);}return _0x55e87c;}function createViewFileTool(_0x310aac={}){const _0x289ebb={_0x3a8f1a:0x654,_0x441259:0x615,_0x415154:0x62b,_0x390d5d:0x57c,_0x442f71:0x4ef,_0x29c669:0x3e1,_0x21b919:0x760,_0x4b85e3:0x850,_0x350428:0x422,_0x2183dc:0x33e,_0x4fca51:0x175,_0x1b09e8:0x407,_0x185d04:0x333,_0x40acd5:0x6ee,_0x3f93fe:0x6cc,_0x1d41cf:0x7a5,_0x1b1b1c:0x7b5,_0x1c2e67:0x99f,_0x469996:0x585},_0x5ec6ec={_0x2be489:0x8b0,_0x34bc07:0x6f7,_0x5301cd:0x45,_0x31e40e:0x3,_0x4f2bb5:0x88e,_0x203a15:0x8f7,_0x8304c3:0x762,_0x47f05c:0x28a,_0x4c4789:0x155,_0x17d40c:0xa7,_0x36a104:0xc4,_0x246bf3:0x9c,_0x17efcc:0x16e,_0x21e4a9:0x1c6,_0x21e315:0x93,_0x1fbb1e:0x5c4,_0x4575c2:0x5a5,_0x5cd064:0x6bb,_0x14f1af:0x7cb,_0xe3f526:0x5cb,_0x1f4d5c:0x8fc,_0x5d9198:0x538,_0x16cc32:0x506,_0x28b11c:0x10a,_0x4cd701:0x7d8,_0x462890:0x60a,_0x3ab0f0:0x61a,_0x52f618:0x143,_0x1340e4:0x36c,_0x5b9bec:0x887,_0x3de2aa:0x953,_0x2ea640:0x795,_0x27c2b6:0x68d,_0x32718e:0x250,_0x7e7eef:0xf2,_0x2fd032:0x281,_0x758c72:0x200,_0x6806a0:0xe2,_0x2d82b0:0x20,_0xc91578:0x124,_0x2a3a86:0x289,_0x572777:0x73d,_0x381441:0x700,_0x523335:0x264,_0x4a27b5:0x891,_0x49d29e:0x7bf,_0x14aa6a:0x60d,_0x2976f3:0x43e,_0x3f4b3d:0x717,_0x1653f4:0x5e2,_0x486e44:0x190,_0x3dc6d7:0x126,_0x3f8173:0x6f1,_0x5d1c36:0x61d},_0x3df0a9={_0x14282a:0x2f,_0x135321:0x2a4},_0x3fe2b7={_0x33ed9d:0x128,_0x56a8bc:0x2f8,_0x1813fa:0x119},_0x3af05d={_0xa508da:0x15e},_0x21c4fa={_0x1d59fa:0x54e},_0x217e73=_0x2de289[_0x2c79bf(0x7b9,0x6a2,_0x289ebb._0x3a8f1a,_0x289ebb._0x441259)](_0x310aac[_0x2c79bf(_0x289ebb._0x415154,0x5a1,_0x289ebb._0x390d5d,0x4e0)]??process['cwd']());function _0x2c79bf(_0x443144,_0x13c585,_0x2a6bcb,_0x35ae03){return _0x16ac01(_0x443144-0x1a4,_0x443144-_0x21c4fa._0x1d59fa,_0x2a6bcb-0xa2,_0x2a6bcb);}const _0x232ed7=_0x310aac['allowedDirs']??[],_0x1846f9=_0x310aac[_0x2c79bf(0x501,_0x289ebb._0x442f71,_0x289ebb._0x29c669,0x5e1)]??DEFAULT_MAX_BYTES;function _0x51e734(_0x31def8,_0xe2f3ff,_0x11c71c,_0x37c201){return _0x16ac01(_0x31def8-_0x3af05d._0xa508da,_0xe2f3ff-0x26e,_0x11c71c-0x17e,_0x11c71c);}const _0x5d9dd5=_0x310aac[_0x2c79bf(0x765,_0x289ebb._0x21b919,0x7f0,_0x289ebb._0x4b85e3)]??'ViewFile';return defineTool({'name':_0x5d9dd5,'permissionClass':_0x51e734(_0x289ebb._0x350428,_0x289ebb._0x2183dc,_0x289ebb._0x4fca51,_0x289ebb._0x1b09e8),'description':_0x2c79bf(0x50b,0x5fb,_0x289ebb._0x185d04,_0x289ebb._0x40acd5),'inputSchema':{'type':_0x2c79bf(0x7ea,0x692,0x80d,_0x289ebb._0x3f93fe),'properties':{'path':{'type':'string'},'detail':{'type':_0x2c79bf(_0x289ebb._0x1d41cf,_0x289ebb._0x1b1b1c,0x6f8,_0x289ebb._0x1c2e67)}},'required':[_0x2c79bf(0x74a,_0x289ebb._0x469996,0x5e7,0x919)]},async *'execute'(_0x5ad726){function _0x3fea27(_0x4f3004,_0x327b86,_0x44b555,_0x3e3749){return _0x51e734(_0x4f3004-_0x3fe2b7._0x33ed9d,_0x327b86-_0x3fe2b7._0x56a8bc,_0x44b555,_0x3e3749-_0x3fe2b7._0x1813fa);}const _0xb73fcb=resolveAllowedPath(_0x217e73,_0x232ed7,_0x5ad726[_0x3fea27(_0x5ec6ec._0x2be489,0x762,_0x5ec6ec._0x34bc07,0x67c)]);await assertWorkspaceFile(_0xb73fcb);const _0x55db95=await _0x1ffa8a(_0xb73fcb);if(_0x55db95[_0x3fea27(0x623,0x6f1,0x8ed,0x6af)]>_0x1846f9)throw new ToolExecutionError(_0xac8e47(_0x5ec6ec._0x5301cd,-0x1c4,-_0x5ec6ec._0x31e40e,-0xb7)+_0x5ad726[_0x3fea27(_0x5ec6ec._0x4f2bb5,0x762,_0x5ec6ec._0x203a15,0x5c7)],{'path':_0x5ad726[_0x3fea27(0x70a,_0x5ec6ec._0x8304c3,0x80e,0x580)],'maxBytes':_0x1846f9,'size':_0x55db95[_0xac8e47(_0x5ec6ec._0x47f05c,0x34,_0x5ec6ec._0x4c4789,_0x5ec6ec._0x17d40c)]});const _0x4ae326=await _0x2261be(_0xb73fcb),_0x256645=detectImageMediaType(_0x4ae326,_0xb73fcb);if(!_0x256645)throw new ToolExecutionError(_0xac8e47(_0x5ec6ec._0x36a104,-_0x5ec6ec._0x246bf3,0x14,0x1f7)+_0x5ad726['path'],{'path':_0x5ad726[_0xac8e47(0x19b,_0x5ec6ec._0x17efcc,_0x5ec6ec._0x21e4a9,_0x5ec6ec._0x21e315)],'supported':[_0x3fea27(_0x5ec6ec._0x1fbb1e,0x742,0x65c,_0x5ec6ec._0x4575c2),_0x3fea27(_0x5ec6ec._0x5cd064,_0x5ec6ec._0x14f1af,_0x5ec6ec._0xe3f526,_0x5ec6ec._0x1f4d5c),'.jpg',_0x3fea27(0x66d,0x481,_0x5ec6ec._0x5d9198,_0x5ec6ec._0x16cc32),_0xac8e47(_0x5ec6ec._0x28b11c,0x1d9,0x1a4,0xfd)]});const _0x94cb7f=normalizeDetail(_0x5ad726[_0x3fea27(_0x5ec6ec._0x4cd701,_0x5ec6ec._0x462890,_0x5ec6ec._0x3ab0f0,0x61a)]);function _0xac8e47(_0x6f5f53,_0x982328,_0x2cf885,_0x1d4fff){return _0x51e734(_0x6f5f53-_0x3df0a9._0x14282a,_0x2cf885- -_0x3df0a9._0x135321,_0x1d4fff,_0x1d4fff-0x8e);}const _0x140362=['Viewed\x20image\x20file:\x20'+_0x5ad726[_0xac8e47(_0x5ec6ec._0x52f618,0x37c,_0x5ec6ec._0x21e4a9,_0x5ec6ec._0x1340e4)],_0x3fea27(0x779,0x737,0x5b0,_0x5ec6ec._0x5b9bec)+_0x256645,'Size:\x20'+_0x55db95['size']+_0x3fea27(_0x5ec6ec._0x3de2aa,0x774,0x58a,_0x5ec6ec._0x2ea640)][_0x3fea27(_0x5ec6ec._0x27c2b6,0x666,0x696,0x81e)](_0x94cb7f?[_0xac8e47(0x94,_0x5ec6ec._0x32718e,_0x5ec6ec._0x7e7eef,0xcf)+_0x94cb7f]:[])['join']('\x0a'),_0x3605aa=[{'type':'image','source':{'type':_0xac8e47(_0x5ec6ec._0x2fd032,_0x5ec6ec._0x758c72,_0x5ec6ec._0x6806a0,_0x5ec6ec._0x2d82b0),'media_type':_0x256645,'data':_0x4ae326['toString'](_0xac8e47(0x253,_0x5ec6ec._0xc91578,0xe2,_0x5ec6ec._0x2a3a86))}},{'type':_0x3fea27(_0x5ec6ec._0x572777,0x59f,_0x5ec6ec._0x381441,0x6f4),'text':_0x140362}];return yield createToolOutput(_0x140362,{'path':_0x5ad726[_0xac8e47(_0x5ec6ec._0x523335,0x33,_0x5ec6ec._0x21e4a9,0x1eb)],'resolvedPath':_0xb73fcb,'created':_0x55db95[_0x3fea27(0x647,0x804,0x9e8,_0x5ec6ec._0x4a27b5)][_0x3fea27(_0x5ec6ec._0x49d29e,_0x5ec6ec._0x14aa6a,0x5ec,_0x5ec6ec._0x2976f3)](),'modified':_0x55db95[_0x3fea27(_0x5ec6ec._0x3f4b3d,_0x5ec6ec._0x1653f4,0x6a1,0x53d)][_0xac8e47(_0x5ec6ec._0x486e44,-0x18d,0x71,_0x5ec6ec._0x3dc6d7)](),'size':_0x55db95[_0x3fea27(0x7a1,_0x5ec6ec._0x3f8173,0x661,_0x5ec6ec._0x5d1c36)],'mimeType':_0x256645,'encoding':_0xac8e47(0x26b,0xb7,0xe2,0x28a),..._0x94cb7f?{'detail':_0x94cb7f}:{}},_0x3605aa),void 0x0;}});}function createQuestionId(){const _0x9c9e81={_0x2693e5:0x661,_0x59edb4:0x69b,_0x178f0d:0x674,_0xf6769d:0x659,_0x48ea60:0x56b,_0x38fb84:0x3ec,_0x39c5ac:0x3e1},_0x246b59={_0x1c1b3b:0x95},_0x2f00eb={_0xec9d9e:0x104};function _0x2b9952(_0x370b32,_0x3ec440,_0x2c613f,_0x4a7371){return _0x5885dd(_0x370b32-0x1d2,_0x2c613f,_0x2c613f-_0x2f00eb._0xec9d9e,_0x370b32-0x24f);}function _0xe30af8(_0x2c1b9f,_0x4b8de2,_0x212b0d,_0x128152){return _0x16ac01(_0x2c1b9f-_0x246b59._0x1c1b3b,_0x128152-0x42f,_0x212b0d-0x1b7,_0x2c1b9f);}return _0xe30af8(_0x9c9e81._0x2693e5,_0x9c9e81._0x59edb4,0x4fa,_0x9c9e81._0x178f0d)+Date[_0xe30af8(_0x9c9e81._0xf6769d,_0x9c9e81._0x48ea60,0x61e,0x672)]()+'-'+Math[_0xe30af8(0x206,0x1cc,0x40a,0x2fd)]()[_0xe30af8(0x524,_0x9c9e81._0x38fb84,0x201,_0x9c9e81._0x39c5ac)](0x24)[_0x2b9952(0x3e0,0x5bb,0x2cd,0x1df)](0x2,0x9);}function validateInput(_0x341bf0){const _0x361853={_0x109613:0x789,_0x41319b:0x611,_0xdddd59:0x426,_0x2a418b:0x26e,_0xde2f87:0x63c,_0x22bc5c:0x2c3,_0x231f7b:0x585,_0xd184e7:0x290,_0x514fb4:0x798,_0x1e6802:0x776,_0x244ab1:0x776,_0x36e24f:0x571,_0x5e895c:0x56e,_0x3b5d43:0x60c,_0x337dff:0x699,_0x212bfb:0x5f8,_0x66eb1f:0x583,_0x5c69d0:0x677,_0x9fd754:0x421,_0x571dc3:0x2a2,_0x22bf84:0x556,_0x40e8e8:0xa15,_0x28e09a:0x6f9,_0x2dbbbe:0x4f1,_0x4c1cbd:0xad4,_0x3758f2:0x8d1,_0x29166b:0x959,_0x1e7b4f:0x88f,_0x5514d6:0x76c,_0x130b18:0x58c,_0x4f4939:0x8a0,_0x22c689:0x8b2,_0x46f99f:0x92d,_0x367600:0x8b6,_0x36321a:0x75b,_0x22e1c0:0x35c,_0x3e8dfa:0x152,_0x54611c:0x3f0,_0x132c80:0x956,_0x5463a5:0x856,_0x462d3c:0x42a,_0x497530:0x593,_0x5137ac:0x41f,_0x81424e:0x82f,_0x2749c0:0x78c,_0x5340c2:0x996,_0x5bcd01:0x58f,_0x1d842c:0x3ad,_0x265c2a:0x776,_0x10cec1:0x56c,_0x154ab8:0x507,_0x442e70:0x740,_0x3caed7:0x993,_0x40cc06:0x538,_0x100acb:0x4f5,_0x15d922:0x72e,_0x52a3d3:0xa07,_0x2664a0:0x8e5,_0xe55fbd:0x7fa,_0x4116a6:0x98d,_0x32a394:0x78d,_0x49f59b:0x6ae,_0x53a6e6:0x7d6,_0x32da8c:0x6c5,_0x1d20f9:0x75b},_0x1a4431={_0x1f1273:0xa0};function _0x318122(_0x5440ea,_0x1bed57,_0x1f28c5,_0x4aefa8){return _0x5885dd(_0x5440ea-0x182,_0x1f28c5,_0x1f28c5-_0x1a4431._0x1f1273,_0x1bed57-0x3eb);}if(!Array[_0x318122(_0x361853._0x109613,_0x361853._0x41319b,0x43d,0x642)](_0x341bf0[_0x9a8642(_0x361853._0xdddd59,_0x361853._0x2a418b,_0x361853._0xde2f87,_0x361853._0x22bc5c)])||_0x341bf0[_0x9a8642(0x426,0x355,_0x361853._0x231f7b,_0x361853._0xd184e7)][_0x318122(_0x361853._0x514fb4,_0x361853._0x1e6802,0x8f4,0x6ae)]<0x1||_0x341bf0['questions'][_0x318122(0x69c,_0x361853._0x244ab1,_0x361853._0x36e24f,0x7fb)]>0xa)throw new ToolExecutionError(_0x318122(0x41e,_0x361853._0x5e895c,0x627,_0x361853._0x3b5d43),{'error':'invalid_questions'});function _0x9a8642(_0x525eb0,_0x395369,_0x45f937,_0x1b2ef4){return _0x5885dd(_0x525eb0-0x87,_0x395369,_0x45f937-0x3c,_0x525eb0-0x204);}for(let _0x3a03c5=0x0;_0x3a03c5<_0x341bf0[_0x318122(_0x361853._0x337dff,0x60d,_0x361853._0x212bfb,_0x361853._0x66eb1f)][_0x318122(0x960,_0x361853._0x1e6802,0x778,_0x361853._0x5c69d0)];_0x3a03c5+=0x1){const _0x3a3d35=_0x341bf0[_0x9a8642(_0x361853._0xdddd59,_0x361853._0x9fd754,_0x361853._0x571dc3,0x5c1)][_0x3a03c5];if(!_0x3a3d35['question']||typeof _0x3a3d35['question']!==_0x9a8642(0x6ea,0x6db,_0x361853._0x22bf84,0x683))throw new ToolExecutionError('Question\x20'+(_0x3a03c5+0x1)+_0x318122(_0x361853._0x40e8e8,0x936,0xa05,0x9a8));if(!_0x3a3d35[_0x318122(0x612,_0x361853._0x28e09a,0x6d2,0x888)]||typeof _0x3a3d35[_0x318122(_0x361853._0x2dbbbe,0x6f9,0x7e9,0x89b)]!==_0x318122(_0x361853._0x4c1cbd,_0x361853._0x3758f2,0x7f5,_0x361853._0x29166b))throw new ToolExecutionError('Question\x20'+(_0x3a03c5+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3a3d35[_0x318122(_0x361853._0x1e7b4f,0x6f9,_0x361853._0x5514d6,_0x361853._0x130b18)][_0x318122(0x5ba,_0x361853._0x1e6802,_0x361853._0x4f4939,_0x361853._0x22c689)]>0x1e)throw new ToolExecutionError(_0x318122(_0x361853._0x46f99f,_0x361853._0x367600,0x902,_0x361853._0x36321a)+(_0x3a03c5+0x1)+_0x9a8642(_0x361853._0x22e1c0,0x14e,_0x361853._0x3e8dfa,0x485)+_0x3a3d35[_0x9a8642(0x512,0x709,0x6ab,_0x361853._0x54611c)][_0x318122(_0x361853._0x132c80,0x776,_0x361853._0x5463a5,0x92e)]);if(!Array[_0x9a8642(_0x361853._0x462d3c,0x438,_0x361853._0x497530,_0x361853._0x5137ac)](_0x3a3d35[_0x318122(_0x361853._0x81424e,0x81b,0x892,_0x361853._0x2749c0)])||_0x3a3d35[_0x318122(_0x361853._0x5340c2,0x81b,0x81d,0x621)][_0x9a8642(_0x361853._0x5bcd01,_0x361853._0x1d842c,0x4dc,0x780)]<0x2||_0x3a3d35['options'][_0x318122(0x70b,_0x361853._0x265c2a,0x682,_0x361853._0x10cec1)]>0x4)throw new ToolExecutionError(_0x9a8642(0x6cf,0x6bf,_0x361853._0x154ab8,0x61f)+(_0x3a03c5+0x1)+_0x9a8642(_0x361853._0x442e70,0x6ad,0x630,0x811));for(let _0x3273bf=0x0;_0x3273bf<_0x3a3d35['options']['length'];_0x3273bf+=0x1){const _0x1393f0=_0x3a3d35[_0x318122(_0x361853._0x3caed7,0x81b,0x89b,0x6db)][_0x3273bf];if(!_0x1393f0[_0x9a8642(_0x361853._0x40cc06,0x3a1,_0x361853._0x100acb,_0x361853._0x15d922)]||!_0x1393f0[_0x318122(0x68c,0x6c2,0x6ca,0x566)])throw new ToolExecutionError(_0x318122(0xa8a,0x8b6,_0x361853._0x52a3d3,0xa30)+(_0x3a03c5+0x1)+',\x20Option\x20'+(_0x3273bf+0x1)+_0x318122(_0x361853._0x2664a0,_0x361853._0xe55fbd,_0x361853._0x4116a6,_0x361853._0x32a394));}if(typeof _0x3a3d35['multiSelect']!==_0x318122(_0x361853._0x49f59b,0x814,_0x361853._0x53a6e6,_0x361853._0x32da8c))throw new ToolExecutionError('Question\x20'+(_0x3a03c5+0x1)+_0x9a8642(0x5ba,0x3a9,_0x361853._0x1d20f9,0x70d));}}function buildQuestions(_0x449b86){const _0x334dc2={_0xc04c5e:0x195,_0x21945d:0x2b6,_0x2aca31:0xe6,_0x31fd8f:0xc2},_0x4c5c4c={_0x36f3ce:0x4f,_0x26cd01:0x7f,_0x2d68df:0x1ee};function _0x287660(_0x5552e3,_0x390f0c,_0x58f5fe,_0x57ef67){return _0x16ac01(_0x5552e3-_0x4c5c4c._0x36f3ce,_0x58f5fe-_0x4c5c4c._0x26cd01,_0x58f5fe-_0x4c5c4c._0x2d68df,_0x57ef67);}function _0x3f1a29(_0x52bd44,_0x3b6257,_0x3899b4,_0x398af5){return _0x16ac01(_0x52bd44-0x18,_0x3b6257- -0x128,_0x3899b4-0x3a,_0x52bd44);}return _0x449b86[_0x3f1a29(-0x349,-_0x334dc2._0xc04c5e,-0x22,-_0x334dc2._0x21945d)][_0x287660(-0x221,_0x334dc2._0x2aca31,-_0x334dc2._0x31fd8f,0x102)]((_0x4e0068,_0x56f005)=>({'id':'q'+_0x56f005,'question':_0x4e0068[_0x3f1a29(-0x23b,-0xa1,-0x164,0x8d)],'topic':_0x4e0068[_0x287660(0x1e8,-0x54,0xfe,-0x54)],'options':_0x4e0068[_0x3f1a29(0xbe,0x79,0xf9,0xe0)],'multiSelect':_0x4e0068['multiSelect']}));}function createResult(_0x229c00,_0x833ad0,_0x380a1f){const _0x104ec8={_0x5a6537:0x129,_0x5bbb2c:0x27d},_0x5b496b={_0x39b3e9:0x166,_0x186b4c:0x1a5},_0x44ba12={'questionId':_0x229c00,'questionCount':_0x833ad0,'answers':_0x380a1f};function _0x238cac(_0x5c3a03,_0x465076,_0x21f380,_0x5d3cbf){return _0x5885dd(_0x5c3a03-0x1a0,_0x5c3a03,_0x21f380-_0x5b496b._0x39b3e9,_0x21f380- -_0x5b496b._0x186b4c);}return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x238cac(0x296,_0x104ec8._0x5a6537,_0x104ec8._0x5bbb2c,0x28a)](_0x380a1f,null,0x2),_0x44ba12);}function createAskUserTool(){const _0x43bf32={_0x8d1c36:0x64,_0x254e19:0x1a0,_0x5b976f:0x268,_0x25269f:0x3af,_0x91358e:0x54e,_0x447b02:0x388,_0x58cba0:0x446,_0x1ff626:0x560,_0x44b650:0x4a8,_0x589cb9:0x14d,_0xfb03bf:0x2fb,_0x3dd363:0x1fa,_0x44dac6:0x48b,_0x14e524:0x455,_0x44223a:0x352,_0x322d99:0x657,_0x297e51:0x4fa,_0x53a1d9:0x4fa,_0x2432a9:0x226,_0xed763c:0x114,_0xd1aa17:0x202,_0x518066:0x23d,_0x29094e:0x447,_0x12b732:0x5a4,_0x4a83fe:0x5f2,_0x2261ab:0x39a,_0x19352e:0x415,_0x496cb0:0x3a9,_0x2373e1:0x218,_0x291cc8:0x156},_0x359e8a={_0x21f38a:0xe9,_0x14d3f5:0x186,_0x27b418:0x108,_0x4824bb:0x4fc,_0x300ee4:0x4f2,_0x1b1a9b:0x5cb,_0xa05033:0x1b0,_0xbf0568:0x330,_0x4adafa:0x4e7,_0x2ab2d5:0x491,_0x10db14:0x55c,_0x28e0a5:0x568,_0x4a2aa6:0x1f2,_0x5f15e:0x2a1,_0x461bdb:0x31c,_0xdf0a42:0x492,_0xfe4520:0x5bc,_0x23563a:0x50e,_0x3e4f08:0x43e,_0x5287da:0x251,_0x4b05f1:0x3ac,_0x136d92:0x4b1,_0x2d7f23:0x2dd,_0x4bde31:0xfc,_0x32764e:0x1d8,_0x51fc08:0x28e},_0xbb30f5={_0x1bbb5c:0x103},_0x5ce47a={_0xad0a4b:0x16c,_0xbb3413:0x2ad};function _0x3fa178(_0x3263c3,_0x296017,_0x393aa0,_0x3da699){return _0x16ac01(_0x3263c3-_0x5ce47a._0xad0a4b,_0x296017-_0x5ce47a._0xbb3413,_0x393aa0-0x154,_0x3da699);}function _0x29775c(_0x57a2d5,_0x38da45,_0x3d5773,_0x4fdaad){return _0x16ac01(_0x57a2d5-0x10,_0x38da45-0x1ef,_0x3d5773-_0xbb30f5._0x1bbb5c,_0x3d5773);}return defineTool({'name':_0x29775c(_0x43bf32._0x8d1c36,_0x43bf32._0x254e19,_0x43bf32._0x5b976f,0x387),'permissionClass':'read','description':_0x29775c(_0x43bf32._0x25269f,0x440,0x602,0x3e0),'inputSchema':{'type':_0x3fa178(_0x43bf32._0x91358e,0x549,0x369,_0x43bf32._0x447b02),'properties':{'questions':{'type':'array','items':{'type':_0x29775c(0x42f,0x48b,0x456,0x50c),'properties':{'question':{'type':_0x29775c(0x48a,_0x43bf32._0x58cba0,_0x43bf32._0x1ff626,_0x43bf32._0x44b650)},'topic':{'type':_0x3fa178(0x5e2,0x504,0x45e,0x548)},'options':{'type':_0x3fa178(_0x43bf32._0x589cb9,_0x43bf32._0xfb03bf,0x458,_0x43bf32._0x3dd363),'items':{'type':_0x29775c(0x385,_0x43bf32._0x44dac6,0x4fd,_0x43bf32._0x14e524),'properties':{'label':{'type':_0x3fa178(_0x43bf32._0x44223a,0x504,_0x43bf32._0x322d99,_0x43bf32._0x297e51)},'description':{'type':'string'}},'required':[_0x3fa178(_0x43bf32._0x53a1d9,0x352,0x532,_0x43bf32._0x2432a9),_0x29775c(_0x43bf32._0xed763c,0x237,0x3e6,_0x43bf32._0xd1aa17)]}},'multiSelect':{'type':_0x3fa178(_0x43bf32._0x518066,_0x43bf32._0x29094e,_0x43bf32._0x12b732,_0x43bf32._0x4a83fe)}},'required':['question',_0x29775c(_0x43bf32._0x2261ab,0x26e,_0x43bf32._0x19352e,_0x43bf32._0x496cb0),_0x3fa178(0x379,0x44e,0x39a,0x597),_0x29775c(0x1c7,_0x43bf32._0x2373e1,0x109,0x98)]}},'answers':{'type':_0x29775c(0x29c,0x48b,0x4b6,0x4b2),'properties':{}}},'required':[_0x3fa178(0x2de,0x240,0x3db,_0x43bf32._0x291cc8)]},async *'execute'(_0x36dd3e,_0x3c05e6){const _0x30f181={_0x2eb3d5:0x140,_0x52c870:0x165},_0x2dc141=_0x36dd3e;validateInput(_0x2dc141);const _0x24f439=_0x3c05e6[_0x54ad52(_0x359e8a._0x21f38a,_0x359e8a._0x14d3f5,0x2af,_0x359e8a._0x27b418)]??createQuestionId();if(_0x2dc141[_0x54ad52(_0x359e8a._0x4824bb,0x60f,_0x359e8a._0x300ee4,_0x359e8a._0x1b1a9b)]&&Object[_0xeec6d9(_0x359e8a._0xa05033,0x32f,_0x359e8a._0xbf0568,_0x359e8a._0x4adafa)](_0x2dc141[_0x54ad52(_0x359e8a._0x2ab2d5,_0x359e8a._0x10db14,0x4f2,_0x359e8a._0x28e0a5)])['length']>0x0)return createResult(_0x24f439,_0x2dc141[_0x54ad52(0x3a3,0x8c,_0x359e8a._0x4a2aa6,_0x359e8a._0x5f15e)][_0x54ad52(_0x359e8a._0x461bdb,_0x359e8a._0xdf0a42,0x35b,0x458)],_0x2dc141[_0xeec6d9(0x5a3,0x3fc,_0x359e8a._0xfe4520,_0x359e8a._0x23563a)]);if(!_0x3c05e6[_0x54ad52(0x2e0,_0x359e8a._0x3e4f08,0x2dd,_0x359e8a._0x5287da)])throw new ToolExecutionError(_0xeec6d9(_0x359e8a._0x4b05f1,0x36b,0x167,0x28c));const _0x5414a6=buildQuestions(_0x2dc141);function _0x54ad52(_0x7f24fa,_0x2b6736,_0x50c912,_0x568ca0){return _0x3fa178(_0x7f24fa-0x1f2,_0x50c912- -0x4e,_0x50c912-0x11c,_0x7f24fa);}const _0x43c35d=await _0x3c05e6[_0x54ad52(_0x359e8a._0x5287da,_0x359e8a._0x136d92,_0x359e8a._0x2d7f23,0x48e)]({'questionId':_0x24f439,'questions':_0x5414a6});function _0xeec6d9(_0x35ecd7,_0x17ce2a,_0x4e8356,_0x4de988){return _0x3fa178(_0x35ecd7-_0x30f181._0x2eb3d5,_0x17ce2a- -0x144,_0x4e8356-_0x30f181._0x52c870,_0x4de988);}yield createResult(_0x24f439,_0x2dc141[_0xeec6d9(0x25f,_0x359e8a._0x4bde31,_0x359e8a._0x32764e,0x16)][_0xeec6d9(_0x359e8a._0x51fc08,0x265,0x38a,_0x359e8a._0x4bde31)],_0x43c35d);}});}import{stat as _0x476bf3}from'fs/promises';import _0x4a4c80 from'path';import{fileURLToPath as _0x5550b4}from'url';function awaitWithAbort2(_0xf3394e,_0x3db261){const _0x4eb5db={_0x2dcfc5:0x5f4,_0x4701f0:0x4b7,_0xa30517:0x3f5},_0x33d724={_0x48ccf6:0x13d,_0x1ae76e:0x26},_0x71d76e={_0x11db64:0x31c,_0xee64df:0x177},_0x5188b1={_0x494a96:0x55f};if(!_0x3db261)return _0xf3394e;function _0x4b6d72(_0x54dae2,_0x5572e1,_0x3aab2e,_0x18164){return _0x5885dd(_0x54dae2-0xb7,_0x5572e1,_0x3aab2e-0x19e,_0x3aab2e-0x355);}function _0x2ea4e5(_0x3107bf,_0x2f6848,_0x4f7b3b,_0x588646){return _0x16ac01(_0x3107bf-0x17c,_0x2f6848-_0x5188b1._0x494a96,_0x4f7b3b-0x19a,_0x4f7b3b);}if(_0x3db261[_0x2ea4e5(0x817,0x6a0,_0x4eb5db._0x2dcfc5,0x85a)])return Promise['reject'](toAbortError(_0x3db261[_0x2ea4e5(0x28d,0x423,_0x4eb5db._0x4701f0,_0x4eb5db._0xa30517)]));return new Promise((_0x5ecb60,_0x29a38c)=>{const _0x5a5621=()=>{_0x2b21ee(),_0x29a38c(toAbortError(_0x3db261['reason']));},_0x2b21ee=()=>_0x3db261[_0x33821e(0x29b,0xce,0xcc,0xf4)](_0x29baaa(0x18f,0x135,0x52,0x1c),_0x5a5621);_0x3db261['addEventListener']('abort',_0x5a5621,{'once':!![]});function _0x33821e(_0x1fd3a3,_0x5e28c9,_0x55c87f,_0x518405){return _0x4b6d72(_0x1fd3a3-0xe0,_0x5e28c9,_0x1fd3a3- -_0x71d76e._0x11db64,_0x518405-_0x71d76e._0xee64df);}function _0x29baaa(_0x222790,_0x2104e5,_0x1527e9,_0x5cac8e){return _0x4b6d72(_0x222790-_0x33d724._0x48ccf6,_0x1527e9,_0x2104e5- -0x4f6,_0x5cac8e-_0x33d724._0x1ae76e);}_0xf3394e['then'](_0x1ab537=>{_0x2b21ee(),_0x5ecb60(_0x1ab537);},_0x369a87=>{_0x2b21ee(),_0x29a38c(_0x369a87);});});}function severityName(_0x529370){const _0x350855={_0x377a22:0x59d,_0x44207c:0x76e,_0x413a29:0x318,_0x32aae6:0x1bf,_0x91bcac:0x59d,_0x3e2ce4:0x141,_0x274080:0x319,_0x32ac1b:0x31e},_0xa3cecd={_0x26f75a:0x68},_0x5717b4={_0x18e3d9:0x11d};function _0x242845(_0x4d6ee5,_0x3e57e7,_0x3480d6,_0x31d40a){return _0x5885dd(_0x4d6ee5-_0x5717b4._0x18e3d9,_0x3e57e7,_0x3480d6-0x1d7,_0x4d6ee5-0x7d);}function _0x28eff6(_0x51c770,_0x48355f,_0x4a2eb7,_0x5bde56){return _0x5885dd(_0x51c770-0x57,_0x51c770,_0x4a2eb7-_0xa3cecd._0x26f75a,_0x48355f- -0x22);}switch(_0x529370){case 0x1:return _0x242845(0x562,_0x350855._0x377a22,_0x350855._0x44207c,0x5d3);case 0x2:return _0x242845(_0x350855._0x413a29,0x2e8,0x316,_0x350855._0x32aae6);case 0x3:return _0x242845(0x58f,0x652,_0x350855._0x91bcac,0x569);case 0x4:return _0x28eff6(_0x350855._0x3e2ce4,_0x350855._0x274080,0x3ac,0x465);default:return _0x28eff6(0x344,0x307,_0x350855._0x32ac1b,0x130);}}function formatSingleHover(_0x9cc56e){const _0x560739={_0x18084e:0x5f2,_0x50594d:0x671,_0x4c0684:0x4a1,_0x4dba43:0x5b9,_0x1af947:0x3a8,_0x1f83dc:0x473,_0x5a0af4:0x69d,_0x5cb40a:0x670,_0x2a66a0:0x63a,_0x55e202:0x5ce,_0x1cbaf3:0x452,_0x8cf9d:0x702,_0x30e582:0x7cb,_0x563e41:0x5e1,_0x32d3b1:0x450,_0x3977f8:0x885,_0x37fb23:0x954,_0x16e4fd:0x81f,_0x1ee9c8:0x5a0},_0x38c07a={_0x2706d6:0xda,_0x298163:0x672},_0x3d1dc3={_0xcd4772:0x191};function _0x735579(_0x4d9ae8,_0x7a7d7f,_0x4f1e87,_0x34624b){return _0x16ac01(_0x4d9ae8-_0x3d1dc3._0xcd4772,_0x34624b-0x434,_0x4f1e87-0x37,_0x4f1e87);}const _0x3c0958=_0x9cc56e[_0x3f7fb4(_0x560739._0x18084e,_0x560739._0x50594d,_0x560739._0x4c0684,0x631)];if(typeof _0x3c0958==='string')return _0x3c0958;function _0x3f7fb4(_0x40693b,_0x1155ae,_0x5b8dfc,_0x48db0a){return _0x16ac01(_0x40693b-_0x38c07a._0x2706d6,_0x40693b-_0x38c07a._0x298163,_0x5b8dfc-0x53,_0x5b8dfc);}if(Array['isArray'](_0x3c0958))return _0x3c0958['map'](_0x2150cd=>typeof _0x2150cd===_0x3f7fb4(0x8c9,0xac8,0xabd,0xa27)?_0x2150cd:_0x2150cd['value'])[_0x3f7fb4(_0x560739._0x4dba43,_0x560739._0x1af947,_0x560739._0x1f83dc,_0x560739._0x5a0af4)](Boolean)[_0x735579(0x6c6,_0x560739._0x5cb40a,0x462,_0x560739._0x2a66a0)]('\x0a\x0a');if(_0x735579(0x6ae,_0x560739._0x55e202,_0x560739._0x1cbaf3,0x628)in _0x3c0958)return _0x3c0958[_0x735579(_0x560739._0x8cf9d,_0x560739._0x30e582,0x5f1,0x5e1)];return _0x3c0958[_0x3f7fb4(_0x560739._0x563e41,_0x560739._0x32d3b1,0x45f,0x666)]?_0x3f7fb4(_0x560739._0x3977f8,_0x560739._0x37fb23,0xa42,0x8e9)+_0x3c0958['language']+'\x0a'+_0x3c0958[_0x3f7fb4(_0x560739._0x16e4fd,0x973,0x9e8,0x7a4)]+'\x0a```':_0x3c0958[_0x735579(0x6d6,_0x560739._0x1ee9c8,0x4dc,_0x560739._0x563e41)];}function formatHover(_0xcbef0d){const _0x398047={_0x5b3a17:0x141,_0x3a6b43:0x2bd,_0x5151da:0x1b4},_0x2d8424={_0x3cbb4f:0x1a3};function _0x1ce642(_0x53591c,_0x542a89,_0x33260d,_0xb67240){return _0x16ac01(_0x53591c-0xf1,_0x53591c-0x3c9,_0x33260d-_0x2d8424._0x3cbb4f,_0xb67240);}if(_0xcbef0d['length']===0x0)return _0x31931d(0x6e,-_0x398047._0x5b3a17,-0x5,-_0x398047._0x3a6b43);function _0x31931d(_0x5a8bf7,_0x3fb600,_0x490dfa,_0x132fa0){return _0x16ac01(_0x5a8bf7-0x16d,_0x3fb600- -0x73,_0x490dfa-0x149,_0x5a8bf7);}return _0xcbef0d[_0x31931d(-0x90,-_0x398047._0x5151da,-0x1d4,-0x29a)](formatSingleHover)['join']('\x0a\x0a---\x0a\x0a');}function locationPath(_0x1481f9){const _0x126cf5={_0x61c9fb:0x628,_0x2805c9:0x2d5,_0x48a86a:0x4fe,_0x2b1fff:0x528,_0x444e6e:0x4f7},_0x4a4fde={_0x4c5d21:0x2fb},_0xb7015d={_0x2a7f94:0xb5,_0xf2f943:0x279};if(!_0x1481f9[_0x197878(0x4c3,0x34d,_0x126cf5._0x61c9fb,_0x126cf5._0x2805c9)](_0x197878(_0x126cf5._0x48a86a,_0x126cf5._0x2b1fff,_0x126cf5._0x444e6e,0x3fb)))return _0x1481f9;function _0x36dd5b(_0x213626,_0x3c2546,_0x18ee23,_0x102fe1){return _0x5885dd(_0x213626-0xfc,_0x3c2546,_0x18ee23-_0xb7015d._0x2a7f94,_0x18ee23-_0xb7015d._0xf2f943);}function _0x197878(_0x4c60f7,_0x55b838,_0xf2d365,_0x21f975){return _0x5885dd(_0x4c60f7-0xa6,_0x55b838,_0xf2d365-0x25,_0x4c60f7-_0x4a4fde._0x4c5d21);}return _0x5550b4(_0x1481f9);}function formatLocations(_0x32f8d5){const _0x78663e={_0x886abf:0x173,_0x264726:0x1d,_0x392b8e:0x3e,_0x130bfd:0x36,_0x384833:0x29f,_0xd097d3:0x86c,_0x6431e2:0x47d,_0x3ba035:0x512},_0x51b646={_0x236401:0xe2,_0x4f437b:0x14c,_0x5ba585:0x5b,_0x3cd6af:0x5a8,_0x446185:0x4da,_0x1ef905:0x109,_0x9cbea9:0x348,_0x137a2b:0x1ef,_0x4e58d4:0x2c6},_0x43a2ad={_0x3e7284:0xad,_0x1aee18:0x16c},_0x4c3846={_0x165e87:0x0,_0x17409d:0x9d},_0x32dcb3={_0x4da51e:0x1a0,_0x4efc54:0x1c9},_0x11a2b5={_0x1a6528:0x1c5};function _0x7a9028(_0x4b9457,_0x52ac66,_0x54c143,_0x3fbed3){return _0x16ac01(_0x4b9457-0x184,_0x52ac66-0x8c,_0x54c143-_0x11a2b5._0x1a6528,_0x3fbed3);}function _0xafd27d(_0x5bdfc2,_0xa66ecf,_0x21f3ee,_0x7c91a3){return _0x5885dd(_0x5bdfc2-_0x32dcb3._0x4da51e,_0x5bdfc2,_0x21f3ee-0x1d5,_0x7c91a3-_0x32dcb3._0x4efc54);}if(_0x32f8d5[_0x7a9028(0x15,0x188,0xfb,_0x78663e._0x886abf)]===0x0)return _0x7a9028(-_0x78663e._0x264726,0x40,-0x55,0xc7);return _0x32f8d5[_0x7a9028(_0x78663e._0x392b8e,-0xb5,-_0x78663e._0x130bfd,-_0x78663e._0x384833)](_0x3b73bd=>{function _0x5e4e47(_0x45759f,_0x4f518f,_0x346a6d,_0x234ab3){return _0x7a9028(_0x45759f-_0x4c3846._0x165e87,_0x234ab3- -0x199,_0x346a6d-_0x4c3846._0x17409d,_0x45759f);}function _0x5b3eab(_0x582b42,_0x5cdf4d,_0x11d24f,_0x510fc5){return _0x7a9028(_0x582b42-_0x43a2ad._0x3e7284,_0x11d24f-0x368,_0x11d24f-_0x43a2ad._0x1aee18,_0x582b42);}const _0x4f116f=_0x3b73bd[_0x5e4e47(-_0x51b646._0x236401,-0x226,_0x51b646._0x4f437b,-_0x51b646._0x5ba585)][_0x5b3eab(_0x51b646._0x3cd6af,0x347,_0x51b646._0x446185,0x56b)];return locationPath(_0x3b73bd['uri'])+':'+(_0x4f116f[_0x5e4e47(_0x51b646._0x1ef905,-0x6,-0x1a8,-0xa8)]+0x1)+':'+(_0x4f116f[_0x5b3eab(_0x51b646._0x9cbea9,_0x51b646._0x137a2b,_0x51b646._0x4e58d4,0x2bc)]+0x1);})[_0xafd27d(_0x78663e._0xd097d3,_0x78663e._0x6431e2,_0x78663e._0x3ba035,0x65e)]('\x0a');}function isDocumentSymbol(_0x271451){const _0x58261c={_0x53de89:0x478,_0x4b3232:0x47a,_0x1d0d31:0x591,_0x4a0e3c:0x459},_0x1f0f09={_0xdaa6be:0x1ad,_0x4405e6:0x81,_0x1ad0f2:0x12c},_0x2f98b5={_0x4246d9:0x3d,_0x4ff1f7:0x55a};function _0x287f8a(_0x1dfef4,_0x249c87,_0x2b3fcd,_0x411f72){return _0x16ac01(_0x1dfef4-_0x2f98b5._0x4246d9,_0x249c87-_0x2f98b5._0x4ff1f7,_0x2b3fcd-0x75,_0x2b3fcd);}function _0x11e832(_0x4afa84,_0x46e55c,_0x1756d4,_0x45905b){return _0x5885dd(_0x4afa84-_0x1f0f09._0xdaa6be,_0x45905b,_0x1756d4-_0x1f0f09._0x4405e6,_0x46e55c-_0x1f0f09._0x1ad0f2);}return _0x11e832(_0x58261c._0x53de89,0x46d,_0x58261c._0x4b3232,_0x58261c._0x1d0d31)in _0x271451&&_0x287f8a(0x5dc,0x410,0x303,_0x58261c._0x4a0e3c)in _0x271451;}function formatSymbols(_0x4c9d53){const _0x4432de={_0x13aedf:0x17,_0x2205a3:0x10,_0xee0093:0xfa,_0x48e68a:0x199,_0x1731fc:0x1fe,_0x4da810:0x36,_0x3d66b4:0x20b,_0x5c220e:0x29e,_0x36b32a:0x247,_0x418c7b:0x24d},_0x274d0b={_0x4e0e4f:0x597,_0x190460:0x395,_0x16417b:0x59c,_0x144e2b:0x5e5,_0x3c3c7d:0x717,_0x597c24:0x57e,_0x41c3eb:0x97d,_0x1daa57:0x87c,_0x3f1c02:0x813,_0x1e9b99:0x4dd,_0x530adc:0x494,_0x20be3c:0x676,_0x338137:0x6a7,_0x16214f:0x730,_0x235acb:0x5c8,_0x1c140f:0x517},_0x50de34={_0x59045d:0xa9};function _0x2b7e3b(_0x447387,_0x1ed5a1,_0x29d00b,_0x35236c){return _0x16ac01(_0x447387-0x4,_0x29d00b- -0x10c,_0x29d00b-_0x50de34._0x59045d,_0x447387);}function _0x5c5c7a(_0x334597,_0x1956f1,_0x1bf574,_0x1a1b5b){return _0x5885dd(_0x334597-0x56,_0x334597,_0x1bf574-0x3e,_0x1a1b5b- -0x1f4);}if(_0x4c9d53[_0x2b7e3b(_0x4432de._0x13aedf,-0x92,-_0x4432de._0x2205a3,-_0x4432de._0xee0093)]===0x0)return _0x2b7e3b(-_0x4432de._0x48e68a,_0x4432de._0x1731fc,_0x4432de._0x4da810,_0x4432de._0x3d66b4);return _0x4c9d53[_0x2b7e3b(-_0x4432de._0x5c220e,-_0x4432de._0x36b32a,-_0x4432de._0x418c7b,-0x3a8)](_0x5af4f4=>{const _0x4ca719={_0xb1f953:0x14a};function _0x302877(_0x35c636,_0x3fbbeb,_0x1b4c48,_0x3b6c14){return _0x5c5c7a(_0x35c636,_0x3fbbeb-0x127,_0x1b4c48-0x1c4,_0x1b4c48-0x5ca);}function _0x4e5fd8(_0x4c38d5,_0x203372,_0x392f63,_0x1c6f4f){return _0x2b7e3b(_0x1c6f4f,_0x203372-0x91,_0x203372-0x4af,_0x1c6f4f-_0x4ca719._0xb1f953);}if(isDocumentSymbol(_0x5af4f4))return _0x5af4f4[_0x302877(0x8d1,0x8a9,0x87c,0x973)]+'\x20('+_0x5af4f4[_0x4e5fd8(0x52a,_0x274d0b._0x4e0e4f,_0x274d0b._0x190460,_0x274d0b._0x16417b)]+')\x20['+(_0x5af4f4[_0x302877(0x8b7,_0x274d0b._0x144e2b,_0x274d0b._0x3c3c7d,_0x274d0b._0x597c24)]['start']['line']+0x1)+':'+(_0x5af4f4['range']['start']['character']+0x1)+']';return _0x5af4f4[_0x302877(0x67d,_0x274d0b._0x41c3eb,_0x274d0b._0x1daa57,0x8cb)]+'\x20('+_0x5af4f4[_0x302877(0x8f4,0x878,0x859,0x9fd)]+')\x20'+locationPath(_0x5af4f4[_0x302877(_0x274d0b._0x3f1c02,_0x274d0b._0x1e9b99,0x6a2,0x7f8)][_0x4e5fd8(0x4ab,_0x274d0b._0x530adc,_0x274d0b._0x20be3c,0x4ba)])+':'+(_0x5af4f4[_0x302877(_0x274d0b._0x338137,0x75d,0x6a2,0x52f)][_0x302877(_0x274d0b._0x16214f,_0x274d0b._0x235acb,0x717,0x6b2)]['start']['line']+0x1)+':'+(_0x5af4f4[_0x4e5fd8(0x3d5,0x3e0,0x288,0x40b)][_0x4e5fd8(_0x274d0b._0x1c140f,0x455,0x579,0x3fd)][_0x4e5fd8(0x68d,0x489,0x367,0x2b3)]['character']+0x1);})['join']('\x0a');}function formatDiagnostics(_0x226354){const _0x3b7ab2={_0x36c327:0x1a2,_0x23f5fb:0x4a,_0x3d7984:0x7c,_0x483452:0xc2,_0x3d749f:0x3d,_0x6496f9:0x409},_0xe8f8ee={_0x1ba993:0x389,_0x52743e:0x4b1,_0x2486fb:0x34b,_0x279cac:0x656,_0x4f5977:0x4b9,_0x560059:0x675,_0x40409a:0x34c,_0x3b5ac3:0x12f,_0x27e8af:0xd},_0x4e9541={_0x5a5530:0x204,_0x188d7f:0xc4},_0x188cdd={_0x297865:0xa6};function _0x6c29e7(_0x54f3e6,_0x39318e,_0xc7b88b,_0x477f4f){return _0x16ac01(_0x54f3e6-0x15d,_0x54f3e6-0x203,_0xc7b88b-0x81,_0x477f4f);}if(_0x226354[_0x38d43b(_0x3b7ab2._0x36c327,0x354,_0x3b7ab2._0x23f5fb,-0x7)]===0x0)return _0x38d43b(0x43,-0x7f,-_0x3b7ab2._0x3d7984,-0x155);function _0x38d43b(_0x610cb6,_0x4dbecb,_0x1ece57,_0x9573d7){return _0x16ac01(_0x610cb6-0xc,_0x610cb6-_0x188cdd._0x297865,_0x1ece57-0x74,_0x9573d7);}return _0x226354[_0x6c29e7(_0x3b7ab2._0x483452,_0x3b7ab2._0x3d749f,0x255,-0x76)](_0x15d3f4=>{const _0x370a8e={_0x5a41a3:0x9e},_0x245585=_0x15d3f4[_0xa0f817(0x586,0x527,_0xe8f8ee._0x1ba993,_0xe8f8ee._0x52743e)][_0xa0f817(0x31d,0x5d4,0x3bd,_0xe8f8ee._0x2486fb)];function _0x1a7782(_0x5187eb,_0x5d1e2f,_0x47a2c4,_0x6626a0){return _0x6c29e7(_0x5187eb- -_0x4e9541._0x5a5530,_0x5d1e2f-0xef,_0x47a2c4-_0x4e9541._0x188d7f,_0x6626a0);}function _0xa0f817(_0x4de6a6,_0x14e1d9,_0x1dd284,_0xb2d91e){return _0x6c29e7(_0x1dd284-0xd4,_0x14e1d9-_0x370a8e._0x5a41a3,_0x1dd284-0x31,_0x4de6a6);}return severityName(_0x15d3f4[_0xa0f817(_0xe8f8ee._0x279cac,0x4ff,_0xe8f8ee._0x4f5977,_0xe8f8ee._0x560059)])+'\x20['+(_0x245585[_0xa0f817(0x4c8,_0xe8f8ee._0x40409a,0x33c,0x1d4)]+0x1)+':'+(_0x245585[_0x1a7782(-_0xe8f8ee._0x3b5ac3,-0x27,_0xe8f8ee._0x27e8af,-0xe6)]+0x1)+']\x20'+_0x15d3f4[_0x1a7782(0x8d,-0xf8,-0x155,0x5c)];})[_0x6c29e7(_0x3b7ab2._0x6496f9,0x3e1,0x599,0x3d2)]('\x0a');}function formatIncomingCalls(_0x218a80){const _0x4871e9={_0x554607:0x493,_0x163bbd:0x4e0,_0x51cd6d:0x2f1,_0x2ffcba:0x629,_0x12c91e:0x5d6,_0x4a7611:0x451},_0x46c7e4={_0xfd87a0:0x1e8,_0x2a5239:0x44},_0x182608={_0x57af23:0xaa,_0x3c9a99:0x3,_0x573afb:0x345};function _0x1fb5b4(_0x50aef2,_0x17c0fc,_0x14a117,_0x3784dc){return _0x5885dd(_0x50aef2-_0x182608._0x57af23,_0x3784dc,_0x14a117-_0x182608._0x3c9a99,_0x50aef2-_0x182608._0x573afb);}function _0x3e7dab(_0x1cf005,_0x4b6757,_0x2300d7,_0x4da584){return _0x5885dd(_0x1cf005-_0x46c7e4._0xfd87a0,_0x4b6757,_0x2300d7-0x138,_0x2300d7- -_0x46c7e4._0x2a5239);}if(_0x218a80['length']===0x0)return'No\x20call\x20hierarchy\x20results';return _0x218a80[_0x1fb5b4(_0x4871e9._0x554607,_0x4871e9._0x163bbd,_0x4871e9._0x51cd6d,0x47e)](_0x333c3e=>_0x333c3e[_0x1fb5b4(0x6eb,0x790,0x7ed,0x529)][_0x1fb5b4(0x7eb,0x804,0x5ee,0x94e)])[_0x3e7dab(_0x4871e9._0x2ffcba,_0x4871e9._0x12c91e,_0x4871e9._0x4a7611,0x486)]('\x0a');}function formatOutgoingCalls(_0x39ffe1){const _0xa9ee57={_0x542d74:0x733,_0x6e44d8:0x56c,_0xd59805:0x779,_0x487897:0xea,_0x276999:0x14d,_0x412003:0xa9,_0x241523:0x1c7,_0x48bdee:0x161},_0x2ff35a={_0x5ec70d:0x65};function _0x39c1fc(_0x5d50f0,_0x55497c,_0x193534,_0x3afff3){return _0x16ac01(_0x5d50f0-0x2b,_0x193534-0x67d,_0x193534-0xab,_0x5d50f0);}function _0x5ef15a(_0x471369,_0x36f647,_0x5696ea,_0x11be39){return _0x5885dd(_0x471369-_0x2ff35a._0x5ec70d,_0x5696ea,_0x5696ea-0x152,_0x36f647- -0x29b);}if(_0x39ffe1[_0x39c1fc(_0xa9ee57._0x542d74,_0xa9ee57._0x6e44d8,_0xa9ee57._0xd59805,0x8b4)]===0x0)return _0x5ef15a(_0xa9ee57._0x487897,-0x42,0xc7,0x55);return _0x39ffe1[_0x5ef15a(0x2a,-_0xa9ee57._0x276999,-_0xa9ee57._0x412003,-0x26f)](_0x2e8104=>_0x2e8104['to']['name'])[_0x5ef15a(_0xa9ee57._0x241523,0x1fa,_0xa9ee57._0x48bdee,0x1ec)]('\x0a');}function toStructured(_0x1fcc38){const _0x219de0={_0x40ec08:0x177};function _0x54ec1d(_0x76b66c,_0x54075c,_0x22f294,_0x2bd94b){return _0x5885dd(_0x76b66c-0xd1,_0x22f294,_0x22f294-_0x219de0._0x40ec08,_0x2bd94b-0xf7);}return JSON[_0x54ec1d(0x2a2,0x548,0x2bb,0x3c9)](JSON['stringify'](_0x1fcc38));}async function assertFile(_0xa0b8cb){const _0x52f0ed={_0x120d53:0x1c4,_0x56e9aa:0x380},_0x509da8={_0x4c61d4:0x23};function _0x1b8b23(_0x14987c,_0x3e4401,_0x37ac45,_0x5b4583){return _0x5885dd(_0x14987c-0x29,_0x14987c,_0x37ac45-0x19e,_0x3e4401- -_0x509da8._0x4c61d4);}const _0x14ed2d=await _0x476bf3(_0xa0b8cb);if(!_0x14ed2d['isFile']())throw new ToolExecutionError(_0x1b8b23(_0x52f0ed._0x120d53,0x267,0x2b2,_0x52f0ed._0x56e9aa)+_0xa0b8cb,{'path':_0xa0b8cb});}function validatePosition(_0x46cf75,_0x8e8617){const _0x1fc311={_0x271987:0x195,_0x29ff3f:0x23b,_0x14ca27:0x77d,_0x3260f5:0x660,_0x452d27:0x6a6,_0x2b4628:0x81c},_0x9cc4f9={_0x41eb06:0xa4};if(!Number['isInteger'](_0x46cf75)||_0x46cf75<0x1)throw new ToolExecutionError(_0x420f8a(_0x1fc311._0x271987,0x47,0x1b0,_0x1fc311._0x29ff3f),{'line':_0x46cf75});function _0x420f8a(_0x159d71,_0x192a02,_0x519eac,_0x290b19){return _0x16ac01(_0x159d71-_0x9cc4f9._0x41eb06,_0x290b19-0xb,_0x519eac-0x1a1,_0x519eac);}function _0x4dcaa3(_0x656094,_0x5539e0,_0x994f21,_0x456302){return _0x5885dd(_0x656094-0xa5,_0x5539e0,_0x994f21-0x1f,_0x456302-0x339);}if(!Number['isInteger'](_0x8e8617)||_0x8e8617<0x1)throw new ToolExecutionError(_0x4dcaa3(_0x1fc311._0x14ca27,_0x1fc311._0x3260f5,_0x1fc311._0x452d27,_0x1fc311._0x2b4628),{'character':_0x8e8617});}function createLspTool(_0x48ba56={}){const _0xacef41={_0x119ce3:0x43,_0x46a68b:0x2f,_0x58ec7a:0x1d7,_0x1dd653:0x209,_0x5301e8:0x9a,_0x50f6b4:0xa0,_0x2b0354:0x57,_0x2403a0:0x10c,_0x240ce8:0x22d,_0x23562f:0x97,_0x2b3ec8:0x1b2,_0x37a930:0x18d,_0x7f8140:0xad,_0x5e66b8:0x425,_0x4bd2e8:0x4ac,_0x103912:0x318,_0x2ab366:0x467,_0x1a40b6:0x533,_0x2581c4:0x60e,_0x3d7511:0xe0,_0x1c7bcc:0x4b,_0x2b9e99:0x8a,_0x292fb3:0x1b6,_0xc2cabc:0x147,_0xdcb6a1:0x3cc,_0x1c6389:0x231,_0x82cd69:0x374,_0x37c18b:0x1b7,_0x4255eb:0xbe,_0x50ddb1:0xca,_0x1b35d6:0x6b7,_0x498e6a:0x6a4,_0x579b64:0x27d,_0x53089b:0xe2,_0x1e0f2b:0x44e,_0x141ced:0x2c2,_0x5f3c35:0x44d,_0x1c0e9a:0x1bc,_0x46b961:0x25f},_0x25a801={_0x35b341:0x264,_0x5ae8e7:0x1f5,_0x43eeae:0x320,_0x2c98a9:0x36c,_0x342bb7:0x373,_0x5f26f2:0x3f5,_0x25bf2d:0x3fc,_0xaf7c00:0x540,_0x231a09:0x549,_0x5df3e4:0x65e,_0xaa5b95:0x637,_0x373e86:0x426,_0x3dbb22:0x435,_0x38a719:0x472,_0x5948d1:0x9,_0xb240d5:0xda,_0x95ec0c:0x2ff,_0x2dbdfe:0x391,_0x26035:0x10e,_0x4a3442:0x18a,_0x266d4c:0x1dd,_0x23e5ba:0x26c,_0x3ef9fd:0x21c,_0x14827a:0x4b9,_0x27b7aa:0x618,_0x5b36b7:0x18f,_0xc53ee3:0x1c,_0x571092:0x20,_0x1b220e:0x8c,_0x25b399:0x18a,_0x60bbc:0x302,_0x580dfb:0x3b8,_0x128e52:0x4fb,_0x400200:0x44b,_0x4e8183:0x3af,_0x811f15:0x1c0,_0x593761:0x1da,_0x377b52:0x11e,_0x37d58f:0x14,_0x5275a7:0x56e,_0x6bdea7:0x389,_0x3997c7:0x90,_0x207313:0x291,_0xd5f11b:0x18e,_0x20be3e:0x313,_0x330c86:0x215,_0x1580bd:0xe7,_0x3cc57c:0x74,_0x56817a:0x35,_0x5b79ba:0xb9,_0x5e0829:0x2a2,_0x442a6d:0x315,_0x37dacf:0x1e4,_0x10fe83:0x1dc,_0x2ed006:0x55b,_0x7342b0:0x6b0,_0x322524:0x697,_0x1eaf08:0x2c2,_0x34bf3b:0x5fd,_0x12f363:0x4c0,_0x2a7258:0x13e,_0x524927:0x3d,_0x28076f:0x33,_0x107d66:0x1b3,_0x21254f:0x4ae,_0x26cd98:0x1e3,_0x5b5224:0x2ce,_0x488bf3:0x527,_0x50527a:0x4b1,_0x5ca343:0x69b,_0x87cbb5:0x443,_0x5d5b2c:0x10c,_0xa104cc:0x254,_0x21f16c:0x1b1,_0x2f094b:0x108,_0x55e14b:0x1f6,_0x14d3ec:0x15b,_0x3695c7:0x1a7,_0x3beddd:0x4d9,_0x179d3d:0x323,_0x2bfdef:0x4d3,_0x2c6891:0x442,_0x21b6a4:0x1b3,_0x4264be:0x3a5,_0x2988d6:0x2f7,_0x126c68:0x51b,_0xc5cc91:0x134,_0x2ee753:0x4bc,_0x16a06a:0x477},_0x4fd9c2={_0x4f2c8d:0x4f0,_0x3e72b5:0xa6,_0x5b4709:0x44},_0x44a11f={_0x38377f:0x120},_0x111864={_0x155c9b:0x34},_0x1c528d=_0x4a4c80['resolve'](_0x48ba56[_0x9acdba(-_0xacef41._0x119ce3,-0x185,-_0xacef41._0x46a68b,-0xe4)]??process[_0x9acdba(-0x21b,-0x1fe,-_0xacef41._0x58ec7a,-_0xacef41._0x1dd653)]());function _0x2713c5(_0x4131aa,_0x21bad8,_0x4a257e,_0x2b2c8f){return _0x5885dd(_0x4131aa-_0x111864._0x155c9b,_0x4a257e,_0x4a257e-0xc7,_0x21bad8- -0x7f);}const _0x122077=_0x48ba56[_0x9acdba(-0xb4,-_0xacef41._0x5301e8,0x3c,_0xacef41._0x50f6b4)]??[],_0x47e46c=_0x48ba56['name']??_0x2713c5(_0xacef41._0x2b0354,0x223,_0xacef41._0x2403a0,_0xacef41._0x240ce8);function _0x9acdba(_0x46bd65,_0x18504f,_0x5f4000,_0x4b0a6e){return _0x16ac01(_0x46bd65-0xd3,_0x46bd65- -_0x44a11f._0x38377f,_0x5f4000-0x1a4,_0x18504f);}return defineTool({'name':_0x47e46c,'permissionClass':'read','description':_0x9acdba(-_0xacef41._0x23562f,-_0xacef41._0x2b3ec8,-_0xacef41._0x37a930,_0xacef41._0x7f8140),'inputSchema':{'type':_0x2713c5(_0xacef41._0x5e66b8,_0xacef41._0x4bd2e8,_0xacef41._0x103912,0x641),'properties':{'operation':{'type':_0x2713c5(0x647,_0xacef41._0x2ab366,_0xacef41._0x1a40b6,0x4e7),'enum':[_0x2713c5(0x4d7,0x48a,_0xacef41._0x2581c4,0x5f4),_0x9acdba(_0xacef41._0x3d7511,0x232,0x175,_0xacef41._0x1c7bcc),'hover','documentSymbol',_0x9acdba(0x51,-_0xacef41._0x2b9e99,_0xacef41._0x292fb3,_0xacef41._0xc2cabc),_0x2713c5(_0xacef41._0xdcb6a1,_0xacef41._0x1c6389,0x5c,_0xacef41._0x82cd69),_0x9acdba(-0xae,-_0xacef41._0x37c18b,-_0xacef41._0x4255eb,-0x155),_0x9acdba(-0x72,0x11,-0x40,-0x151),_0x2713c5(0x2b,_0xacef41._0x50ddb1,0x38,0x21e),_0x2713c5(0x4c0,0x4f0,_0xacef41._0x1b35d6,_0xacef41._0x498e6a)]},'filePath':{'type':_0x9acdba(0x137,0x11b,0x2ca,_0xacef41._0x579b64)},'line':{'type':_0x9acdba(-0xaf,-0x1ad,_0xacef41._0x53089b,0x1b)},'character':{'type':'number'},'query':{'type':_0x2713c5(_0xacef41._0x1e0f2b,0x467,_0xacef41._0x141ced,0x26e)}},'required':['operation',_0x2713c5(0x427,_0xacef41._0x5f3c35,0x650,0x452),'line',_0x2713c5(_0xacef41._0x1c0e9a,0xe2,-0x11b,_0xacef41._0x46b961)]},async *'execute'(_0xed7f11,_0x2a8701){const _0x232f77=_0x48ba56[_0x274c10(0x20d,_0x25a801._0x35b341,_0x25a801._0x5ae8e7,_0x25a801._0x43eeae)];if(!_0x232f77)throw new ToolExecutionError(_0x560a2e(0x630,0x3ba,0x57f,_0x25a801._0x2c98a9));if(!_0x232f77[_0x274c10(_0x25a801._0x342bb7,0x28e,_0x25a801._0x5f26f2,0x249)]())throw new ToolExecutionError(_0x560a2e(0x5c1,_0x25a801._0x25bf2d,_0x25a801._0xaf7c00,_0x25a801._0x231a09));const _0x1bdedf=_0xed7f11[_0x560a2e(0x789,_0x25a801._0x5df3e4,_0x25a801._0xaa5b95,_0x25a801._0x373e86)];validatePosition(_0xed7f11[_0x560a2e(0x5a2,0x4dc,_0x25a801._0x3dbb22,_0x25a801._0x38a719)],_0xed7f11[_0x274c10(-0x266,_0x25a801._0x5948d1,-0x2bb,-_0x25a801._0xb240d5)]);function _0x274c10(_0x49d772,_0x3c5b23,_0x4b37f7,_0x33e743){return _0x2713c5(_0x49d772-0xa8,_0x33e743- -0x1bc,_0x4b37f7,_0x33e743-0x1eb);}if(_0x1bdedf===_0x274c10(_0x25a801._0x95ec0c,_0x25a801._0x2dbdfe,-0x41,0x1c5)){if(!_0xed7f11['query']?.[_0x274c10(0x22c,0x1cb,_0x25a801._0x26035,_0x25a801._0x4a3442)]())throw new ToolExecutionError(_0x274c10(0x1cc,_0x25a801._0x266d4c,_0x25a801._0x23e5ba,_0x25a801._0x3ef9fd));const _0x306c58=await awaitWithAbort2(_0x232f77[_0x560a2e(_0x25a801._0x14827a,0x3dc,0x541,_0x25a801._0x27b7aa)](_0xed7f11[_0x274c10(_0x25a801._0x5b36b7,-_0x25a801._0xc53ee3,0x204,0x19)][_0x274c10(-0x40,-_0x25a801._0x571092,-_0x25a801._0x1b220e,_0x25a801._0x25b399)]()),_0x2a8701[_0x560a2e(_0x25a801._0x60bbc,_0x25a801._0x580dfb,0x3af,_0x25a801._0x128e52)]);return yield createToolOutput(formatSymbols(_0x306c58),{'operation':_0x1bdedf,'query':_0xed7f11[_0x274c10(0xcd,0xae,0x10a,0x19)],'symbols':_0x306c58}),void 0x0;}function _0x560a2e(_0xf18217,_0x3bee40,_0x3c8aa6,_0x43429d){return _0x9acdba(_0x3c8aa6-_0x4fd9c2._0x4f2c8d,_0x43429d,_0x3c8aa6-_0x4fd9c2._0x3e72b5,_0x43429d-_0x4fd9c2._0x5b4709);}const _0x51a9a1=resolveAllowedPath(_0x1c528d,_0x122077,_0xed7f11['filePath']);await assertFile(_0x51a9a1);if(!await awaitWithAbort2(_0x232f77['hasClients'](_0x51a9a1),_0x2a8701[_0x560a2e(_0x25a801._0x400200,0x414,_0x25a801._0x4e8183,_0x25a801._0x811f15)]))throw new ToolExecutionError(_0x274c10(_0x25a801._0x593761,-0x16b,-_0x25a801._0x377b52,-_0x25a801._0x37d58f)+_0xed7f11[_0x560a2e(_0x25a801._0x5275a7,0x6b7,0x60d,0x4a4)],{'filePath':_0xed7f11[_0x274c10(0x3af,_0x25a801._0x6bdea7,_0x25a801._0x3997c7,_0x25a801._0x207313)]});await awaitWithAbort2(_0x232f77[_0x274c10(_0x25a801._0xd5f11b,0x326,0x105,_0x25a801._0x20be3e)](_0x51a9a1,!![]),_0x2a8701[_0x274c10(_0x25a801._0x330c86,0x157,0x1c2,0x33)]);const _0x4658d7={'file':_0x51a9a1,'line':_0xed7f11[_0x274c10(_0x25a801._0x1580bd,-_0x25a801._0x3cc57c,-_0x25a801._0x56817a,_0x25a801._0x5b79ba)]-0x1,'character':_0xed7f11[_0x560a2e(0x4b0,0x40d,_0x25a801._0x5e0829,_0x25a801._0x442a6d)]-0x1};switch(_0x1bdedf){case _0x274c10(0x220,0x2b0,0x25f,_0x25a801._0x37dacf):{const _0x4ce221=await awaitWithAbort2(_0x232f77['hover'](_0x4658d7),_0x2a8701[_0x274c10(0x20f,-0x11e,_0x25a801._0x10fe83,0x33)]);return yield createToolOutput(formatHover(_0x4ce221),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'hover':_0x4ce221}),void 0x0;}case _0x560a2e(_0x25a801._0x2ed006,0x7f3,_0x25a801._0x7342b0,_0x25a801._0x322524):{const _0x24d893=await awaitWithAbort2(_0x232f77[_0x560a2e(_0x25a801._0x1eaf08,_0x25a801._0x34bf3b,_0x25a801._0x12f363,0x2d6)](_0x51a9a1),_0x2a8701[_0x274c10(-_0x25a801._0x2a7258,-_0x25a801._0x524927,-0x15b,_0x25a801._0x28076f)]);return yield createToolOutput(formatDiagnostics(_0x24d893),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'diagnostics':_0x24d893}),void 0x0;}case _0x274c10(_0x25a801._0x107d66,_0x25a801._0x21254f,_0x25a801._0x26cd98,_0x25a801._0x5b5224):{const _0x39799b=await awaitWithAbort2(_0x232f77[_0x560a2e(0x515,_0x25a801._0x488bf3,_0x25a801._0x50527a,_0x25a801._0x5ca343)](_0x4658d7),_0x2a8701['signal']);return yield createToolOutput(formatLocations(_0x39799b),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'locations':_0x39799b}),void 0x0;}case _0x274c10(_0x25a801._0x87cbb5,0x2ad,_0x25a801._0x5d5b2c,_0x25a801._0xa104cc):{const _0x38d7f4=await awaitWithAbort2(_0x232f77['references'](_0x4658d7),_0x2a8701[_0x274c10(_0x25a801._0x21f16c,-_0x25a801._0x2f094b,_0x25a801._0x55e14b,0x33)]);return yield createToolOutput(formatLocations(_0x38d7f4),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'locations':_0x38d7f4}),void 0x0;}case'goToImplementation':{const _0x3be786=await awaitWithAbort2(_0x232f77[_0x274c10(_0x25a801._0x14d3ec,0x1da,-_0x25a801._0x3695c7,-0x39)](_0x4658d7),_0x2a8701['signal']);return yield createToolOutput(formatLocations(_0x3be786),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'locations':_0x3be786}),void 0x0;}case _0x274c10(0x195,_0x25a801._0x3beddd,0x412,_0x25a801._0x179d3d):{const _0x4941b8=await awaitWithAbort2(_0x232f77[_0x560a2e(0x866,_0x25a801._0x2bfdef,0x69f,0x85b)](_0x51a9a1),_0x2a8701['signal']);return yield createToolOutput(formatSymbols(_0x4941b8),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'symbols':_0x4941b8}),void 0x0;}case _0x560a2e(0x4a4,0x2f1,_0x25a801._0x2c6891,0x298):{const _0x478885=await awaitWithAbort2(_0x232f77['prepareCallHierarchy'](_0x4658d7),_0x2a8701[_0x560a2e(0x46b,_0x25a801._0x21b6a4,0x3af,_0x25a801._0x4264be)]);return yield createToolOutput(formatSymbols(_0x478885),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'symbols':toStructured(_0x478885)}),void 0x0;}case _0x560a2e(0x482,_0x25a801._0x2988d6,0x47e,_0x25a801._0x126c68):{const _0xf6347=await awaitWithAbort2(_0x232f77['incomingCalls'](_0x4658d7),_0x2a8701[_0x274c10(-0x15b,-0xd5,-0x142,0x33)]);return yield createToolOutput(formatIncomingCalls(_0xf6347),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'calls':toStructured(_0xf6347)}),void 0x0;}case _0x274c10(-_0x25a801._0xc5cc91,-0x45,-0x69,-0xf2):{const _0x16aa4d=await awaitWithAbort2(_0x232f77['outgoingCalls'](_0x4658d7),_0x2a8701[_0x560a2e(0x372,_0x25a801._0x2ee753,0x3af,_0x25a801._0x16a06a)]);return yield createToolOutput(formatOutgoingCalls(_0x16aa4d),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'calls':toStructured(_0x16aa4d)}),void 0x0;}}}});}import*as _0x175c15 from'path';function buildDescription(_0x1e4193){const _0x445dcf={_0x14cf4b:0x6ea,_0x524a81:0x76f,_0x25ae08:0x71d,_0x417154:0x4e9,_0x18886a:0x494,_0x24eefa:0x12f,_0x201a02:0x42,_0x66dcb5:0x168,_0x4a0df4:0x5f0,_0x2002b7:0x49e,_0x3bc427:0x70d,_0x238758:0x600,_0x15d3e8:0x7e5},_0x1b3336={_0x5a91f9:0x5df,_0x158254:0x93};function _0x5c09dc(_0x50f76a,_0x27ef82,_0xd9f755,_0x51e9a1){return _0x16ac01(_0x50f76a-0xe0,_0x51e9a1-_0x1b3336._0x5a91f9,_0xd9f755-_0x1b3336._0x158254,_0xd9f755);}if(_0x1e4193[_0x5c09dc(_0x445dcf._0x14cf4b,_0x445dcf._0x524a81,_0x445dcf._0x25ae08,0x6db)]===0x0)return _0x5c09dc(0x3bb,_0x445dcf._0x417154,0x3ba,_0x445dcf._0x18886a);function _0x1c3d61(_0x7cddb3,_0x507a61,_0x360585,_0x277092){return _0x5885dd(_0x7cddb3-0x8d,_0x277092,_0x360585-0xab,_0x360585- -0x396);}const _0x3c92c3=[_0x1c3d61(-_0x445dcf._0x24eefa,-0x168,-0x14e,-_0x445dcf._0x201a02),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x5c09dc(0x6e1,0x671,0x9ca,0x7d1),_0x1c3d61(-0x204,0xac,-0xed,-_0x445dcf._0x66dcb5),..._0x1e4193[_0x5c09dc(_0x445dcf._0x4a0df4,0x2d5,0x519,_0x445dcf._0x2002b7)](_0x40570d=>'-\x20'+_0x40570d[_0x5c09dc(0x741,0x8d0,0x89e,0x7f6)]+':\x20'+_0x40570d['description'])];return _0x3c92c3[_0x5c09dc(_0x445dcf._0x3bc427,_0x445dcf._0x238758,0x8c7,_0x445dcf._0x15d3e8)]('\x0a');}function createLoadSkillTool(_0x192c55){const _0x40ac97={_0x570d81:0xab,_0x3a3eef:0x1ed,_0xecf7d5:0x116,_0x244c3e:0xee,_0x3e3744:0xb0,_0x507e54:0x2f9,_0x528152:0x142,_0x325255:0x78,_0x2fdb92:0x375,_0x243255:0x161,_0x2b4de6:0x4e8,_0x4fcfd0:0x5b2,_0x1a3574:0x430,_0x4a37e9:0x16d,_0x1b6ba5:0x1b8,_0x4ecdb0:0x3b5},_0x1c578c={_0x35c8c2:0x438,_0x150011:0x386,_0x122335:0x502,_0x2c94cd:0x421,_0x4a2340:0x4f1,_0x4763b1:0x388,_0xf2c75f:0x5be,_0x143144:0x43c,_0x3ccaad:0x3a2,_0x48880f:0x553,_0x27ba45:0x601,_0x21284a:0x210,_0x4efcde:0xa7,_0x5bd6fd:0x298,_0x2be99a:0x444,_0x4f6f72:0x44d,_0xa40056:0x2d7,_0x13d781:0x4b9,_0x521c92:0x427,_0x3a6de3:0x3d3,_0xc1dfd1:0x432,_0x2279fb:0x4e2,_0x5129f1:0x5a1,_0x72e0ac:0x591,_0x3cb14f:0x6d6,_0x4764c2:0x464,_0x52559b:0x401,_0x49db55:0x5fb,_0x305eff:0x41c,_0x2234ca:0x727,_0x46da9f:0x337,_0x28cc02:0x538,_0x5a6650:0x610,_0x43e7f6:0x5c5,_0x1235d9:0x431,_0x5a93fd:0x4e1,_0x4c5767:0x542,_0x3c3d6c:0x765,_0x537369:0x639,_0x6145e5:0x479,_0x4bdfc4:0x2da,_0x21928b:0x3bb,_0x11b9f4:0x70b,_0x2defc6:0x53b},_0x4e86ca={_0x37b2c9:0xae};function _0x30b181(_0x2c74c0,_0x551461,_0x3cc4be,_0x458b52){return _0x5885dd(_0x2c74c0-0x135,_0x458b52,_0x3cc4be-0x64,_0x551461- -0x43);}const _0x41c3ca=new Map(_0x192c55[_0x1bd5bb(_0x40ac97._0x570d81,-0xf3,_0x40ac97._0x3a3eef,0x39)][_0x1bd5bb(-0x21c,-_0x40ac97._0xecf7d5,-_0x40ac97._0x244c3e,-_0x40ac97._0x3e3744)](_0x2cdfe4=>[_0x2cdfe4[_0x1bd5bb(0x37d,0x2ce,0x271,0x2a8)],_0x2cdfe4]));function _0x1bd5bb(_0x495606,_0x59e53e,_0x4c6789,_0x21bbf7){return _0x5885dd(_0x495606-0x174,_0x495606,_0x4c6789-0x198,_0x21bbf7- -0x1fe);}const _0x4a4a8f=buildDescription(_0x192c55[_0x30b181(_0x40ac97._0x507e54,0x1f4,-0x22,_0x40ac97._0x528152)]);return defineTool({'name':'LoadSkill','permissionClass':_0x1bd5bb(_0x40ac97._0x325255,_0x40ac97._0x2fdb92,0xb4,_0x40ac97._0x243255),'description':_0x4a4a8f,'inputSchema':{'type':_0x30b181(0x2e1,_0x40ac97._0x2b4de6,_0x40ac97._0x4fcfd0,_0x40ac97._0x1a3574),'properties':{'name':{'type':_0x1bd5bb(_0x40ac97._0x4a37e9,_0x40ac97._0x1b6ba5,_0x40ac97._0x4ecdb0,0x2e8)}},'required':['name']},async *'execute'(_0x166976){const _0x4bb6bc={_0x25190b:0x2ab},_0x15a50a=_0x41c3ca['get'](_0x166976[_0x15aa3c(0x4a3,0x3c9,_0x1c578c._0x35c8c2,0x553)]);if(!_0x15a50a){const _0x2bdf8d=Array['from'](_0x41c3ca[_0x15aa3c(0x481,_0x1c578c._0x150011,0x384,_0x1c578c._0x122335)]())[_0x28ec0a(_0x1c578c._0x2c94cd,0x34f,_0x1c578c._0x4a2340,_0x1c578c._0x4763b1)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x166976[_0x15aa3c(_0x1c578c._0xf2c75f,0x768,0x4d8,0x553)]+_0x15aa3c(_0x1c578c._0x143144,0x5df,0x35f,0x56d)+_0x2bdf8d,{'name':_0x166976[_0x15aa3c(_0x1c578c._0x3ccaad,0x500,0x68b,_0x1c578c._0x48880f)]});}const _0x3478b0=await _0x192c55[_0x15aa3c(0x4c5,0x6d4,_0x1c578c._0x27ba45,0x57a)](_0x15a50a),_0x31d191=_0x15a50a['source'][_0x28ec0a(_0x1c578c._0x21284a,_0x1c578c._0x4efcde,0x11d,_0x1c578c._0x5bd6fd)]??_0x175c15['dirname'](_0x15a50a[_0x15aa3c(0x36c,_0x1c578c._0x2be99a,0x4ae,0x41c)][_0x28ec0a(0x417,_0x1c578c._0x4f6f72,_0x1c578c._0xa40056,_0x1c578c._0x13d781)]),_0x764a9b=[_0x15aa3c(0x60f,_0x1c578c._0x521c92,_0x1c578c._0x3a6de3,0x549)+_0x3478b0[_0x28ec0a(_0x1c578c._0xc1dfd1,0x5b3,0x25b,0x5ef)],'',_0x3478b0['instructions'],'',_0x28ec0a(_0x1c578c._0x2279fb,_0x1c578c._0x5129f1,_0x1c578c._0x72e0ac,_0x1c578c._0x3cb14f),_0x28ec0a(0x2ba,_0x1c578c._0x4764c2,0x448,_0x1c578c._0x52559b)+_0x15a50a[_0x15aa3c(_0x1c578c._0x49db55,0x4f2,0x247,_0x1c578c._0x305eff)][_0x15aa3c(_0x1c578c._0x2234ca,_0x1c578c._0x46da9f,0x414,_0x1c578c._0x28cc02)],_0x15aa3c(_0x1c578c._0x5a6650,0x48a,0x551,_0x1c578c._0x43e7f6)+_0x31d191][_0x15aa3c(_0x1c578c._0x1235d9,0x6d4,_0x1c578c._0x5a93fd,_0x1c578c._0x4c5767)]('\x0a');yield createToolOutput(_0x764a9b,{'id':_0x3478b0['id'],'name':_0x3478b0[_0x15aa3c(_0x1c578c._0x3c3d6c,_0x1c578c._0x537369,_0x1c578c._0x6145e5,0x553)],'path':_0x15a50a[_0x15aa3c(_0x1c578c._0x4bdfc4,0x5d1,_0x1c578c._0x21928b,0x41c)][_0x15aa3c(_0x1c578c._0x11b9f4,0x6db,_0x1c578c._0x2defc6,0x538)],'baseDirectory':_0x31d191});function _0x15aa3c(_0x4bdcf4,_0x201282,_0x15402e,_0x9bc77f){return _0x1bd5bb(_0x15402e,_0x201282-0x1,_0x15402e-0x13a,_0x9bc77f-_0x4bb6bc._0x25190b);}function _0x28ec0a(_0x4db86b,_0x5a04fc,_0x31d669,_0x488f97){return _0x1bd5bb(_0x5a04fc,_0x5a04fc-_0x4e86ca._0x37b2c9,_0x31d669-0x15d,_0x4db86b-0x18a);}return void 0x0;}});}var TODO_STATUSES=new Set([_0x5885dd(0x59d,0x244,0x425,0x3ac),_0x16ac01(0x2d,-0x38,-0xdf,-0x108),'completed']),TODO_PRIORITIES=new Set(['high',_0x16ac01(-0x10a,-0x67,0x107,-0x259),_0x5885dd(0x205,0x1a4,0x45c,0x3a8)]);function isTodoStatus(_0x4d26f6){return typeof _0x4d26f6==='string'&&TODO_STATUSES['has'](_0x4d26f6);}function isTodoPriority(_0x150d7f){const _0x2ebf30={_0x3d05b2:0x58a,_0x4e516d:0x79d,_0x238527:0x364,_0x500057:0x2ac,_0x8a7575:0x361},_0x177915={_0x318932:0xa4},_0x4d6086={_0x45b3a7:0x2c};function _0x36b262(_0x8cf564,_0x5b49c7,_0x184df0,_0x2c905f){return _0x16ac01(_0x8cf564-0x10f,_0x5b49c7-0x192,_0x184df0-_0x4d6086._0x45b3a7,_0x8cf564);}function _0x8af6da(_0x346aad,_0x4299b7,_0x41a034,_0x2522ec){return _0x5885dd(_0x346aad-0x137,_0x2522ec,_0x41a034-0x1d6,_0x346aad-_0x177915._0x318932);}return typeof _0x150d7f===_0x8af6da(_0x2ebf30._0x3d05b2,0x69c,_0x2ebf30._0x4e516d,0x684)&&TODO_PRIORITIES[_0x8af6da(_0x2ebf30._0x238527,0x45e,_0x2ebf30._0x500057,_0x2ebf30._0x8a7575)](_0x150d7f);}var TodoStore=class{['todosBySession']=new Map();[_0x5885dd(0x450,0x611,0x3e2,0x56d)](_0x1db2ab){const _0x31bd11={_0x6c1ce:0x519},_0x1ab022={_0xfd7378:0x9c};function _0x57b45d(_0x395bb7,_0x2efa9c,_0x5e1822,_0xe09aaa){return _0x16ac01(_0x395bb7-_0x1ab022._0xfd7378,_0x5e1822-0x4ec,_0x5e1822-0x1d8,_0x2efa9c);}return this[_0x57b45d(0x485,_0x31bd11._0x6c1ce,0x3c6,0x508)]['get'](_0x1db2ab)??[];}[_0x5885dd(0x227,0x405,0x399,0x408)](_0x4f32b9,_0x5dac84){this['todosBySession']['set'](_0x4f32b9,_0x5dac84);}[_0x16ac01(0x419,0x21f,0x1eb,0xc1)](_0x5711ce){const _0x24d63c={_0x2cbf3e:0x49a,_0x3a9898:0x32,_0x40b3e1:0x19f,_0x24cf2a:0x327,_0x3eafe1:0x286,_0x4d18ab:0x427,_0x65ba97:0x142,_0x1a2208:0x2fd,_0x50c73b:0x2d9,_0x5c5f23:0x1e0,_0x1e8e3e:0x175,_0x51ff4f:0xf4,_0x170a85:0x1c,_0x274db6:0x193,_0x167397:0x104,_0x57c87a:0x143,_0x2006b2:0x133,_0x3ad775:0x96,_0x306af1:0x1ac},_0x44f15d={_0x35d8b5:0x18f},_0xd003f9={_0x8477a:0x79},_0x5bf582=this[_0x3c9f70(0x577,0x5a0,0x39e,_0x24d63c._0x2cbf3e)](_0x5711ce);function _0x3c9f70(_0x177905,_0x5022f7,_0x206c28,_0x44a0d0){return _0x5885dd(_0x177905-_0xd003f9._0x8477a,_0x206c28,_0x206c28-0x8d,_0x44a0d0- -0xd3);}const _0x3e6546={'total':_0x5bf582[_0x3acaa9(_0x24d63c._0x3a9898,_0x24d63c._0x40b3e1,0x183,-0x149)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x33cf47 of _0x5bf582){if(_0x33cf47[_0x3c9f70(_0x24d63c._0x24cf2a,-0x60,_0x24d63c._0x3eafe1,0x111)]===_0x3c9f70(_0x24d63c._0x4d18ab,_0x24d63c._0x65ba97,_0x24d63c._0x1a2208,_0x24d63c._0x50c73b))_0x3e6546[_0x3c9f70(0x48c,_0x24d63c._0x5c5f23,0x2bb,0x2d9)]+=0x1;else{if(_0x33cf47[_0x3acaa9(-_0x24d63c._0x1e8e3e,-_0x24d63c._0x51ff4f,-_0x24d63c._0x170a85,-_0x24d63c._0x274db6)]===_0x3c9f70(_0x24d63c._0x167397,0xc0,0x2f7,0x184))_0x3e6546[_0x3acaa9(-0x18a,-_0x24d63c._0x57c87a,-0x15e,-_0x24d63c._0x2006b2)]+=0x1;else _0x3e6546[_0x3c9f70(_0x24d63c._0x3ad775,0x1fb,0x18c,_0x24d63c._0x306af1)]+=0x1;}}function _0x3acaa9(_0x4c457f,_0x20cf77,_0x291d1d,_0x462c87){return _0x16ac01(_0x4c457f-_0x44f15d._0x35d8b5,_0x4c457f- -0xca,_0x291d1d-0x23,_0x462c87);}return _0x3e6546;}};function validateTodos(_0x4bc4fc){const _0x60679f={_0xe5db3c:0x47c,_0xeade2c:0x529,_0x21976e:0x413,_0x44ac65:0x3f5,_0xe83e10:0x106,_0x249cd1:0x138,_0x1a2569:0x1ca,_0x1a18eb:0x14d,_0x36c414:0x6a6,_0x5a952b:0x567,_0x457c40:0x5ab,_0x426bd6:0x504,_0x1d9acb:0xd1,_0x4018b9:0x126,_0x539879:0xd,_0x3e5a5a:0x57c,_0x147702:0x6e3,_0x53d37a:0x713,_0x4a730c:0x671,_0x5d002d:0x387,_0x54847d:0x44a,_0x3bf8f8:0x4ea,_0x5b107e:0x234,_0x3393ef:0x2e9,_0x25c458:0x1b6,_0x3c3cb5:0x2ab,_0x3c984f:0x70,_0x653d46:0x1ce,_0x2c2f0d:0x254,_0x273bc6:0x73,_0x17edcf:0x17f,_0x29f074:0x18d,_0x77245d:0x1b1,_0x161d91:0x356,_0x59593d:0x3a7,_0x42d72d:0x92,_0xa148d4:0x11d,_0x319c74:0x2,_0x572897:0xab,_0x5c1a87:0x6ff,_0x2d41ca:0x3ac,_0x40f004:0x5af,_0x2bd858:0x850,_0x4e0015:0x40e,_0x1fb21b:0x61b,_0x593a77:0x73,_0x4b02c7:0x1ac,_0x235904:0x1b1,_0x15ec11:0xbf,_0x1d9c01:0x249,_0x46c807:0x6c1,_0x4f6cd2:0x149,_0x2888b7:0x36,_0xd77ef5:0x1dd,_0x38849e:0x134,_0x4b4b7f:0x33,_0xa0de71:0x7d1,_0xfab2b0:0x40f,_0x365f42:0x6bb,_0x2a0f60:0x567,_0xf5ad9c:0x80e,_0xb1e9ee:0x20,_0x84001d:0x274,_0x3e8ea1:0x326,_0xfe1719:0x1b1,_0x51df4d:0x2e7,_0x34a18f:0x6a6,_0x341402:0x6d1,_0x384386:0x225,_0x38acf0:0x4c,_0x55e2c2:0x102,_0x174de7:0x2fb,_0x5ee6dd:0xd2,_0x43a8a2:0x2c1,_0x502ff6:0xfb,_0x592ee8:0x388},_0x28555e={_0x4a554f:0x89,_0x863e6b:0x15f},_0x3f27a5={_0x2c42db:0x9f};if(!Array[_0x13dd44(_0x60679f._0xe5db3c,_0x60679f._0xeade2c,_0x60679f._0x21976e,_0x60679f._0x44ac65)](_0x4bc4fc[_0x4defc9(_0x60679f._0xe83e10,_0x60679f._0x249cd1,_0x60679f._0x1a2569,_0x60679f._0x1a18eb)])||_0x4bc4fc[_0x13dd44(_0x60679f._0x36c414,_0x60679f._0x5a952b,_0x60679f._0x457c40,_0x60679f._0x426bd6)]['length']===0x0)throw new ToolExecutionError(_0x4defc9(-_0x60679f._0x1d9acb,-_0x60679f._0x4018b9,-_0x60679f._0x539879,-0x95),{'error':_0x13dd44(0x55d,0x62f,_0x60679f._0x3e5a5a,0x712)});for(let _0x485337=0x0;_0x485337<_0x4bc4fc[_0x13dd44(0x6a6,_0x60679f._0x147702,0x5e1,0x850)][_0x13dd44(0x5e1,0x70e,_0x60679f._0x53d37a,0x781)];_0x485337+=0x1){const _0x5d857c=_0x4bc4fc[_0x13dd44(0x6a6,_0x60679f._0x4a730c,0x6f8,0x4d3)][_0x485337];if(!_0x5d857c||typeof _0x5d857c!==_0x4defc9(0x35c,0x213,_0x60679f._0x5d002d,0x2ec))throw new ToolExecutionError('Todo\x20'+(_0x485337+0x1)+_0x13dd44(_0x60679f._0x54847d,_0x60679f._0x3bf8f8,_0x60679f._0x5b107e,0x3fd),{'error':_0x4defc9(_0x60679f._0x3393ef,_0x60679f._0x25c458,_0x60679f._0x3c3cb5,0x3bb)});if(typeof _0x5d857c['id']!==_0x4defc9(_0x60679f._0x3c984f,_0x60679f._0x653d46,_0x60679f._0x2c2f0d,0x6f)||_0x5d857c['id']['trim']()[_0x4defc9(-0x92,_0x60679f._0x273bc6,-_0x60679f._0x17edcf,-_0x60679f._0x29f074)]===0x0)throw new ToolExecutionError(_0x4defc9(-0x4,_0x60679f._0x77245d,_0x60679f._0x161d91,_0x60679f._0x59593d)+(_0x485337+0x1)+_0x4defc9(0x1df,_0x60679f._0x42d72d,0x0,-_0x60679f._0xa148d4),{'error':_0x4defc9(_0x60679f._0x319c74,0x119,0x314,-_0x60679f._0x572897)});if(typeof _0x5d857c[_0x13dd44(0x568,0x416,_0x60679f._0x5c1a87,_0x60679f._0x2d41ca)]!==_0x13dd44(0x73c,_0x60679f._0x40f004,0x857,_0x60679f._0x2bd858)||_0x5d857c[_0x13dd44(0x568,0x777,_0x60679f._0x4e0015,0x423)][_0x13dd44(_0x60679f._0x1fb21b,0x5ca,0x75f,0x4ec)]()[_0x4defc9(-0x100,_0x60679f._0x593a77,0x7a,_0x60679f._0x4b02c7)]===0x0)throw new ToolExecutionError(_0x4defc9(0xe7,_0x60679f._0x235904,_0x60679f._0x15ec11,_0x60679f._0x1d9c01)+(_0x485337+0x1)+_0x13dd44(0x592,0x475,0x405,_0x60679f._0x46c807),{'error':_0x4defc9(-_0x60679f._0x4f6cd2,-0x186,_0x60679f._0x2888b7,-_0x60679f._0xd77ef5)});if(!isTodoStatus(_0x5d857c[_0x4defc9(-0x5a,-_0x60679f._0x38849e,_0x60679f._0x4b4b7f,0xcf)]))throw new ToolExecutionError(_0x13dd44(0x71f,_0x60679f._0xa0de71,0x5ed,0x52a)+(_0x485337+0x1)+_0x13dd44(0x3d6,0x361,_0x60679f._0xfab2b0,0x3e5),{'error':_0x13dd44(_0x60679f._0x365f42,_0x60679f._0x2a0f60,_0x60679f._0xf5ad9c,0x6cf)});if(!isTodoPriority(_0x5d857c[_0x4defc9(-_0x60679f._0xb1e9ee,0xea,-0x63,_0x60679f._0x84001d)]))throw new ToolExecutionError(_0x4defc9(_0x60679f._0x3e8ea1,_0x60679f._0xfe1719,0x303,_0x60679f._0x51df4d)+(_0x485337+0x1)+_0x13dd44(0x49a,0x2e3,0x49b,0x3a6),{'error':'invalid_todo_priority'});}const _0x18d654=_0x4bc4fc[_0x13dd44(_0x60679f._0x34a18f,_0x60679f._0x341402,0x7f4,0x510)][_0x4defc9(-_0x60679f._0x384386,-_0x60679f._0x1a2569,-0x3b3,-0x14)](_0x24821e=>_0x24821e['id']);function _0x13dd44(_0x3078a7,_0x554b89,_0x4583f8,_0x17e79d){return _0x16ac01(_0x3078a7-_0x3f27a5._0x2c42db,_0x3078a7-0x4e5,_0x4583f8-0x1cb,_0x4583f8);}function _0x4defc9(_0x12c707,_0x453c24,_0x4a001a,_0x401a34){return _0x16ac01(_0x12c707-0x157,_0x453c24- -_0x28555e._0x4a554f,_0x4a001a-_0x28555e._0x863e6b,_0x4a001a);}if(new Set(_0x18d654)[_0x4defc9(-_0x60679f._0x38acf0,_0x60679f._0x55e2c2,_0x60679f._0x174de7,-0xe)]!==_0x18d654[_0x4defc9(0x130,0x73,0x21a,_0x60679f._0x5ee6dd)])throw new ToolExecutionError(_0x4defc9(0x19d,0xbc,_0x60679f._0x43a8a2,_0x60679f._0x502ff6),{'error':_0x4defc9(-0x10f,-0x1a8,-_0x60679f._0x592ee8,-0x229)});}function createStatsProgress(_0x4ecf07){const _0x45e4a1={_0x533530:0x228,_0x31634e:0x25a},_0x6d841a={_0x36180f:0x178,_0x1303e8:0xd};function _0x322329(_0x22bb40,_0x2678cb,_0x1038a2,_0x34c3d5){return _0x5885dd(_0x22bb40-0xa0,_0x22bb40,_0x1038a2-_0x6d841a._0x36180f,_0x34c3d5-_0x6d841a._0x1303e8);}return _0x4ecf07[_0x322329(0x27e,0x3ca,_0x45e4a1._0x533530,_0x45e4a1._0x31634e)]>0x0?Math['round'](_0x4ecf07['completed']/_0x4ecf07['total']*0x64)+'%':'0%';}function createReminderItems(_0x1521c0){const _0x522255={_0x32dda9:0x11d,_0x3e7c86:0x36,_0x4b5660:0x8e},_0x104819={_0x477673:0x1d7},_0x428fc7={_0x566e82:0xf9,_0x56fca8:0x7d};function _0x3a776d(_0x1133fb,_0x1913ec,_0x587322,_0x4f33f3){return _0x16ac01(_0x1133fb-_0x428fc7._0x566e82,_0x1133fb-0x25e,_0x587322-_0x428fc7._0x56fca8,_0x587322);}function _0x3ab477(_0x1762a8,_0x531e50,_0x5ae3a5,_0x14fdc1){return _0x16ac01(_0x1762a8-0x1b3,_0x5ae3a5-_0x104819._0x477673,_0x5ae3a5-0x111,_0x14fdc1);}return _0x1521c0[_0x3a776d(_0x522255._0x32dda9,0x26,-_0x522255._0x3e7c86,_0x522255._0x4b5660)](_0xba0bcf=>({'content':_0xba0bcf[_0x3a776d(0x2e1,0x4d3,0x2ef,0x3e7)],'status':_0xba0bcf[_0x3a776d(0x1b3,0x97,-0x5a,0x1f7)],'id':_0xba0bcf['id']}));}function createStructuredResult(_0x5c0a67,_0x2fc7d6,_0x3d0d8b,_0x37960a){const _0x5d3af3={_0xe3bb16:0x4a,_0x1a891a:0x1d7,_0x1d7e7e:0x341,_0x447457:0x39a},_0x10f40d={_0x2a6c24:0x193};function _0x329fcd(_0x1b11c1,_0x564610,_0x12846b,_0x8783da){return _0x16ac01(_0x1b11c1-0x1f0,_0x12846b-0x394,_0x12846b-_0x10f40d._0x2a6c24,_0x8783da);}function _0x2944cd(_0x3d4a5e,_0x5cf390,_0x5381d7,_0x755806){return _0x16ac01(_0x3d4a5e-0x112,_0x755806-0x29e,_0x5381d7-0x198,_0x5cf390);}return{'allCompleted':_0x37960a,'items':_0x2fc7d6[_0x329fcd(0x275,_0x5d3af3._0xe3bb16,0x253,0x342)](_0x6d6e10=>({'id':_0x6d6e10['id'],'content':_0x6d6e10[_0x2944cd(0x1b4,0x16a,0x284,0x321)],'status':_0x6d6e10[_0x2944cd(0x1fe,0x3e,0x68,0x1f3)],'priority':_0x6d6e10[_0x2944cd(0x593,0x481,0x424,0x411)],'createdAt':_0x6d6e10[_0x2944cd(0x227,0x164,0x284,0x239)]})),'progress':createStatsProgress(_0x3d0d8b),'recentChanges':!![],'sessionId':_0x5c0a67,'stats':_0x3d0d8b,'todosWritten':_0x2fc7d6[_0x2944cd(_0x5d3af3._0x1a891a,0x4aa,_0x5d3af3._0x1d7e7e,_0x5d3af3._0x447457)]};}function createOutputText(_0x5dc6d4,_0x1038ab){const _0x2856f0={_0x32a59f:0x44d,_0x128111:0x35f,_0x230ab1:0x362,_0x1de1f6:0x15d,_0x568f47:0x157,_0x213fb8:0x1b4,_0x33a856:0x15b,_0x4f5c6d:0x119,_0x52fd34:0x2ac,_0x560e80:0x405,_0x3037c0:0x3fd,_0x40bfe5:0x1fe,_0x194480:0xbc},_0x2acdf1={_0x4a889e:0x1d,_0x21376b:0x1f},_0x331f44={_0x1a1606:0x13c,_0x3b6f68:0x2ba},_0x56b498=JSON[_0x28bc3b(_0x2856f0._0x32a59f,_0x2856f0._0x128111,0x628,_0x2856f0._0x230ab1)](createReminderItems(_0x5dc6d4));if(_0x1038ab)return _0xb874e(_0x2856f0._0x1de1f6,_0x2856f0._0x568f47,_0x2856f0._0x213fb8,0x361)+_0x5dc6d4[_0xb874e(_0x2856f0._0x33a856,0x7f,_0x2856f0._0x4f5c6d,_0x2856f0._0x52fd34)]+_0x28bc3b(0x43f,0x4f3,_0x2856f0._0x560e80,0x2e0)+_0x56b498+'.\x0a</system-reminder>';function _0x28bc3b(_0x294798,_0x3fae19,_0x251c84,_0x55d772){return _0x16ac01(_0x294798-_0x331f44._0x1a1606,_0x294798-_0x331f44._0x3b6f68,_0x251c84-0x168,_0x55d772);}function _0xb874e(_0x5ad838,_0x183cdc,_0x2d505f,_0x2e4865){return _0x16ac01(_0x5ad838-0x194,_0x2d505f-_0x2acdf1._0x4a889e,_0x2d505f-_0x2acdf1._0x21376b,_0x2e4865);}return _0x28bc3b(0x25b,_0x2856f0._0x3037c0,0x2df,_0x2856f0._0x40bfe5)+_0x56b498+_0xb874e(_0x2856f0._0x194480,0x19c,-0xb,0x10f);}function createTodoWriteTool(_0x5454d2=new TodoStore()){const _0x3d8508={_0x3ff052:0x609,_0x3392ea:0x771,_0x3ebe82:0x66d,_0x3bdd00:0x4fa,_0x31e30b:0x631,_0x3c76d3:0x8c3,_0x1a030c:0x854,_0x59d4ec:0x52c,_0xb4655b:0x3f8,_0x82a11e:0x86b,_0x1d2b8c:0x90e,_0x301a24:0xa89,_0x50703f:0x766,_0x168d2e:0x7f2,_0x516803:0x735,_0x1961cc:0x562,_0x4af6ae:0x64f,_0x32a8ff:0x9b6,_0x29c7bf:0x6b5,_0x1489fa:0xa68,_0x2d5795:0x6f5,_0x2fb2ff:0x883,_0x1a1f2a:0x485,_0x344bb6:0x5c7,_0x3d5efe:0x5dc,_0xef033e:0x69f,_0xbceccd:0x597},_0x32d728={_0x22dbbf:0x3d4,_0x2148dd:0x2b6,_0x4778a9:0xeb,_0x4ef42b:0x6d,_0x3a94ca:0x44,_0x31459e:0xac,_0x3a1f60:0x425,_0x8851ff:0x37d,_0x1c38c3:0xba,_0x43c7bd:0xab,_0x342d18:0x13c,_0x181212:0xd7},_0x2ee223={_0x5e7980:0x49a,_0x1ce7e7:0x18c},_0x323a6e={_0xb454e5:0xad},_0x3f1fb8={_0x2af334:0x117,_0x51c971:0x91};function _0x3ff3d8(_0x4725c8,_0x268da1,_0x3ddf09,_0x592384){return _0x16ac01(_0x4725c8-_0x3f1fb8._0x2af334,_0x268da1-0x672,_0x3ddf09-_0x3f1fb8._0x51c971,_0x592384);}function _0x39a321(_0x3f19db,_0x18d525,_0x141462,_0x4abc43){return _0x16ac01(_0x3f19db-_0x323a6e._0xb454e5,_0x3f19db-0x4de,_0x141462-0x87,_0x4abc43);}return defineTool({'name':_0x3ff3d8(_0x3d8508._0x3ff052,0x5d8,0x7a6,0x51d),'permissionClass':_0x3ff3d8(0x8b9,0x742,_0x3d8508._0x3392ea,_0x3d8508._0x3ebe82),'description':_0x39a321(_0x3d8508._0x3bdd00,0x4fb,0x4a3,_0x3d8508._0x31e30b),'inputSchema':{'type':_0x39a321(0x77a,_0x3d8508._0x3c76d3,_0x3d8508._0x1a030c,0x712),'properties':{'todos':{'type':_0x39a321(_0x3d8508._0x59d4ec,_0x3d8508._0xb4655b,0x343,0x475),'items':{'type':_0x3ff3d8(_0x3d8508._0x82a11e,_0x3d8508._0x1d2b8c,_0x3d8508._0x301a24,_0x3d8508._0x50703f),'properties':{'content':{'type':'string'},'status':{'type':_0x39a321(0x735,0x796,0x60e,_0x3d8508._0x168d2e)},'priority':{'type':_0x39a321(_0x3d8508._0x516803,_0x3d8508._0x1961cc,0x8c1,_0x3d8508._0x4af6ae)},'id':{'type':_0x3ff3d8(0x9f6,0x8c9,0x874,_0x3d8508._0x32a8ff)},'createdAt':{'type':_0x3ff3d8(_0x3d8508._0x29c7bf,0x8c9,0x6c0,_0x3d8508._0x1489fa)}},'required':[_0x3ff3d8(0x79a,_0x3d8508._0x2d5795,_0x3d8508._0x2fb2ff,0x550),_0x3ff3d8(_0x3d8508._0x1a1f2a,_0x3d8508._0x344bb6,0x68e,_0x3d8508._0x3d5efe),'priority','id']}}},'required':[_0x39a321(_0x3d8508._0xef033e,0x85f,0x4fb,_0x3d8508._0xbceccd)]},async *'execute'(_0x31589c,_0x5d6b92){const _0x4ee706={_0x1e42ae:0x5fd,_0x2761ba:0x10a},_0x34fe14=_0x31589c;validateTodos(_0x34fe14);const _0x4cbff3=_0x5d6b92[_0xcd272b(-0x1eb,-0x3b9,-_0x32d728._0x22dbbf,-0x20c)]||_0x3c4247(0x1d0,0x321,_0x32d728._0x2148dd,0x306),_0x366812=new Date()[_0x3c4247(0xb9,_0x32d728._0x4778a9,0xde,-_0x32d728._0x4ef42b)](),_0x352364=_0x34fe14['todos'][_0x3c4247(-_0x32d728._0x3a94ca,-0xfd,-0x1c9,-_0x32d728._0x31459e)](_0x55051d=>({'id':_0x55051d['id'],'content':_0x55051d[_0xcd272b(-0x1a7,-0x1bf,0x8d,-0x9c)],'status':_0x55051d['status'],'priority':_0x55051d[_0xcd272b(0x5c,-0x136,0xc9,0x54)],'sessionId':_0x4cbff3,'createdAt':_0x55051d['createdAt']||_0x366812,'updatedAt':_0x366812}));_0x5454d2[_0x3c4247(0x280,0x1bd,0xb5,0x1a6)](_0x4cbff3,_0x352364);function _0xcd272b(_0x368cf8,_0x21c3cc,_0x56045e,_0xd237ac){return _0x39a321(_0xd237ac- -_0x4ee706._0x1e42ae,_0x21c3cc-0x1b7,_0x56045e-_0x4ee706._0x2761ba,_0x56045e);}function _0x3c4247(_0x5f0369,_0x177efd,_0x20a956,_0x54918f){return _0x39a321(_0x177efd- -_0x2ee223._0x5e7980,_0x177efd-0xa1,_0x20a956-_0x2ee223._0x1ce7e7,_0x20a956);}const _0x11df04=_0x5454d2[_0x3c4247(0x21f,0x263,_0x32d728._0x3a1f60,_0x32d728._0x8851ff)](_0x4cbff3),_0x17d59c=_0x352364[_0xcd272b(_0x32d728._0x1c38c3,-0x15a,_0x32d728._0x43c7bd,-0x23)]>0x0&&_0x352364[_0xcd272b(0x256,_0x32d728._0x342d18,_0x32d728._0x181212,0x193)](_0x131020=>_0x131020[_0x3c4247(-0x180,-0x67,-0x33,-0x71)]===_0x3c4247(-0x4c,0x34,0x171,0xfe));return createToolOutput(createOutputText(_0x352364,_0x17d59c),createStructuredResult(_0x4cbff3,_0x352364,_0x11df04,_0x17d59c));}});}function createUpdateTopicTool(){const _0x1b0e8c={_0x15f8e8:0x16f,_0x943c93:0x12b,_0x22f8ea:0x25f,_0x2dc564:0x33b,_0x31f8fb:0x36d,_0x46a5d:0x18d,_0x2b4fd7:0x30e,_0xd57e29:0x21e,_0x17ebba:0x2bf,_0x8bbe3e:0x1dd},_0x2d14be={_0x4d61a0:0x7d1,_0x5cdb10:0x56c,_0x4f4f6d:0x58b,_0x28b52b:0x53a,_0x1fcb7e:0x429,_0x1d73d4:0x760,_0x1c8fa6:0x325,_0x550482:0x1a0,_0x975c8e:0x312,_0x146295:0x4f6,_0x2c6fea:0x9a1},_0x1e7bef={_0x37b20a:0x91},_0x323384={_0x3e89ed:0x12,_0x17f170:0x13d},_0x1f9b32={_0x10540f:0xb7,_0x36bc62:0xf7};function _0x4fdc60(_0x3f1331,_0x1820d6,_0x7d4077,_0x29b16f){return _0x16ac01(_0x3f1331-0x8b,_0x3f1331-_0x1f9b32._0x10540f,_0x7d4077-_0x1f9b32._0x36bc62,_0x29b16f);}function _0x38b287(_0x1597a7,_0x2e8e9f,_0x53a32a,_0x2f1bfc){return _0x5885dd(_0x1597a7-_0x323384._0x3e89ed,_0x2f1bfc,_0x53a32a-_0x323384._0x17f170,_0x1597a7- -0x1f0);}return defineTool({'name':'UpdateTopic','permissionClass':_0x38b287(_0x1b0e8c._0x15f8e8,0x2,_0x1b0e8c._0x943c93,_0x1b0e8c._0x22f8ea),'description':'Set\x20a\x20concise\x203-6\x20word\x20noun-phrase\x20session\x20topic\x20when\x20the\x20main\x20subject\x20becomes\x20clear\x20or\x20materially\x20changes.\x20Skip\x20minor\x20tangents.\x20Prefer\x20\x22Debug\x20TS\x20generics\x20error\x22;\x20avoid\x20full\x20sentences\x20or\x20vague\x20labels\x20such\x20as\x20\x22coding\x22.','inputSchema':{'type':_0x38b287(_0x1b0e8c._0x2dc564,0x4d0,_0x1b0e8c._0x31f8fb,_0x1b0e8c._0x46a5d),'properties':{'topic':{'type':_0x4fdc60(_0x1b0e8c._0x2b4fd7,0x285,0x423,_0x1b0e8c._0xd57e29)}},'required':[_0x4fdc60(0x136,_0x1b0e8c._0x17ebba,0xf5,_0x1b0e8c._0x8bbe3e)]},async *'execute'(_0x35f700,_0x3eb886){const _0x192834={_0x400adf:0x599,_0xa7fe02:0xf6},{topic:_0x3f6919}=_0x35f700;if(typeof _0x3f6919!=='string'||_0x3f6919[_0x4c9e28(_0x2d14be._0x4d61a0,0x8c9,0x786,0x700)]()['length']===0x0)throw new ToolExecutionError(_0x4c9e28(_0x2d14be._0x5cdb10,0x62c,_0x2d14be._0x4f4f6d,_0x2d14be._0x28b52b),{'error':_0x343d76(_0x2d14be._0x1fcb7e,0x4f9,0x5bd,_0x2d14be._0x1d73d4)});function _0x4c9e28(_0x1a036b,_0x4cc01a,_0x3356f7,_0x18416e){return _0x4fdc60(_0x3356f7-_0x192834._0x400adf,_0x4cc01a-0x14b,_0x3356f7-_0x192834._0xa7fe02,_0x18416e);}function _0x343d76(_0x3100b9,_0x45d91c,_0x4cc5b3,_0x5d496d){return _0x4fdc60(_0x4cc5b3-0x246,_0x45d91c-_0x1e7bef._0x37b20a,_0x4cc5b3-0x41,_0x3100b9);}const _0x3df110=_0x3f6919[_0x343d76(0x356,0x3b3,0x433,_0x2d14be._0x1c8fa6)]();return _0x3eb886[_0x343d76(_0x2d14be._0x550482,0x2f4,_0x2d14be._0x975c8e,_0x2d14be._0x146295)]?.(_0x3df110),yield createToolOutput(_0x4c9e28(_0x2d14be._0x2c6fea,0x82a,0x8d5,0xae8)+_0x3df110+'\x22',{'topic':_0x3df110}),void 0x0;}});}import{randomUUID as _0x53a132}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x50cc89}from'child_process';function errorMessage(_0x939658){function _0x25d7b4(_0x4c8020,_0x476897,_0x1ba75a,_0x55c7be){return _0x5885dd(_0x4c8020-0xc0,_0x55c7be,_0x1ba75a-0x4,_0x4c8020-0x201);}return _0x939658 instanceof Error?_0x939658[_0x25d7b4(0x51e,0x32e,0x33d,0x5b4)]:String(_0x939658);}function isNotFound(_0x450d7d){const _0x3dd77c={_0x526249:0x7e0,_0x25f5fd:0x64e,_0x989ddc:0x67f,_0x23777d:0x6ef,_0xf246d6:0x130,_0x41d48a:0xa1,_0x548927:0x1bc},_0x143182={_0x23d42c:0xf6};function _0x263a5f(_0x549008,_0x1ad797,_0x1ed790,_0x32c0ba){return _0x5885dd(_0x549008-_0x143182._0x23d42c,_0x1ed790,_0x1ed790-0x73,_0x549008- -0x29a);}function _0x20f81b(_0x52007f,_0x2a49e0,_0x3e75bd,_0x285a4a){return _0x16ac01(_0x52007f-0xb6,_0x2a49e0-0x544,_0x3e75bd-0x1ca,_0x52007f);}return typeof _0x450d7d===_0x20f81b(0x80c,_0x3dd77c._0x526249,0x905,_0x3dd77c._0x25f5fd)&&_0x450d7d!==null&&_0x20f81b(0x6b6,_0x3dd77c._0x989ddc,0x761,_0x3dd77c._0x23777d)in _0x450d7d&&_0x450d7d[_0x263a5f(_0x3dd77c._0xf246d6,-0xe,0x157,_0x3dd77c._0x41d48a)]===_0x263a5f(_0x3dd77c._0x548927,0x1cd,0x62,0x20d);}function isSafeProcessId(_0x2cd357){const _0x52dfe8={_0x4feefa:0x4aa},_0x50ce6c={_0x2dc3c5:0x7b};function _0x4baba0(_0x2877e3,_0x3e2f86,_0x4ae5a4,_0x3adf45){return _0x16ac01(_0x2877e3-_0x50ce6c._0x2dc3c5,_0x3e2f86-0x529,_0x4ae5a4-0xe3,_0x3adf45);}return _0x2cd357!==void 0x0&&Number[_0x4baba0(0x313,_0x52dfe8._0x4feefa,0x676,0x3cc)](_0x2cd357)&&_0x2cd357>0x1;}function createProcessTreeSignalAdapter(_0x4925db={}){const _0x473543={_0x1370a5:0x2b9,_0x5b077e:0x487,_0x26472d:0x375,_0xd5ecd6:0x45c,_0x235166:0x623,_0x1f5bc2:0x667,_0x3ff9ea:0x426,_0x4948c9:0x492,_0x2f708d:0x2b3,_0x51b418:0x45c,_0x406c10:0x1dd,_0x25ca8a:0x276},_0x596883={_0x554ab6:0x571,_0x47d60c:0x84c,_0x56201f:0x773,_0x1e86c5:0x666,_0x461f14:0x206,_0x327ecd:0x454,_0xe7faec:0x329,_0x4dcb5a:0x4ff,_0x2771d4:0x310,_0x35a6c0:0x7c0,_0x3ed9d6:0x2ca,_0x3a3079:0x384,_0x2a7fe6:0x331,_0x313617:0x154,_0x2ffcef:0x6b1,_0x1d69c0:0x91a,_0x40272d:0x595,_0x414275:0x5e4},_0x5af267={_0x285b0e:0x1f1},_0x2d4841={_0x5668d5:0x115,_0x5af3fc:0x135,_0x1f4e45:0x8e},_0x3b34aa={_0x715ab1:0x9e},_0x445eea=_0x4925db[_0x149d01(0x198,0x138,-0x1d,0x17)]??process[_0x575ac3(0x13a,0x2d0,_0x473543._0x1370a5,_0x473543._0x5b077e)],_0x4b49f1=_0x4925db[_0x575ac3(0x66c,_0x473543._0x26472d,_0x473543._0xd5ecd6,_0x473543._0x235166)]??process[_0x575ac3(0x30e,_0x473543._0x1f5bc2,0x45c,0x56d)][_0x575ac3(0x69b,_0x473543._0x3ff9ea,_0x473543._0x4948c9,0x48b)](process);function _0x149d01(_0x3f8741,_0x47171d,_0x5c9458,_0xce831e){return _0x16ac01(_0x3f8741-_0x3b34aa._0x715ab1,_0x3f8741-0xe0,_0x5c9458-0x96,_0x5c9458);}const _0x410d5a=_0x4925db[_0x149d01(_0x473543._0x2f708d,_0x473543._0x51b418,_0x473543._0x406c10,_0x473543._0x25ca8a)]??_0x50cc89;function _0x575ac3(_0x1dc17a,_0x13957f,_0x90d4f5,_0x368691){return _0x5885dd(_0x1dc17a-_0x2d4841._0x5668d5,_0x1dc17a,_0x90d4f5-_0x2d4841._0x5af3fc,_0x90d4f5- -_0x2d4841._0x1f4e45);}return{async 'signal'(_0x51bfed,_0x6506ba){const _0x3b64cd={_0x34d93f:0x283,_0x4767a4:0x54,_0x200212:0x183,_0x4ce920:0x23,_0x512f9e:0x181,_0x328352:0xfc,_0x1e6b6c:0x218,_0x1718fe:0x36,_0xa08be6:0x140,_0x27f56c:0x91,_0x82d034:0x2a0,_0x12df0b:0x89,_0x35d3cf:0x272,_0x1a9c18:0x102,_0x28bf16:0x1b7,_0x448749:0x10e,_0x254de4:0xa7,_0x38f1ff:0x115},_0x38f138={_0x3f7e9c:0x8d6},_0x3bccfd={_0x3251f8:0x1a0};if(_0x445eea!==_0x249876(0x57d,0x1a7,_0x596883._0x554ab6,0x39b)){if(!isSafeProcessId(_0x51bfed['processGroupId']))return{'outcome':_0x249876(_0x596883._0x47d60c,_0x596883._0x56201f,0x782,_0x596883._0x1e86c5),'error':_0x249876(_0x596883._0x461f14,_0x596883._0x327ecd,0x311,_0x596883._0xe7faec)};try{return _0x4b49f1(-_0x51bfed[_0x178b71(0x3ec,_0x596883._0x4dcb5a,_0x596883._0x2771d4,0x463)],_0x6506ba===_0x178b71(0x8c7,_0x596883._0x35a6c0,0x9a5,0x8b1)?_0x249876(0x4c9,0x305,_0x596883._0x3ed9d6,0x3ce):_0x178b71(_0x596883._0x3a3079,0x4de,0x383,_0x596883._0x2a7fe6)),{'outcome':_0x249876(0x3d1,_0x596883._0x313617,0x144,0x350)};}catch(_0x48c476){return isNotFound(_0x48c476)?{'outcome':_0x178b71(_0x596883._0x2ffcef,0x739,_0x596883._0x1d69c0,_0x596883._0x40272d),'error':errorMessage(_0x48c476)}:{'outcome':'failed','error':errorMessage(_0x48c476)};}}if(!isSafeProcessId(_0x51bfed['rootPid']))return{'outcome':_0x178b71(0x5f8,0x790,_0x596883._0x414275,0x8ba),'error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};function _0x249876(_0x27a6c0,_0x5c3dbb,_0x43e828,_0x5baf27){return _0x149d01(_0x5baf27-0x319,_0x5c3dbb-0x162,_0x43e828,_0x5baf27-0x14e);}function _0x178b71(_0x2e7765,_0x904b79,_0x4d27b3,_0x4a79c7){return _0x149d01(_0x904b79-0x443,_0x904b79-_0x5af267._0x285b0e,_0x4d27b3,_0x4a79c7-0x2e);}return new Promise(_0x15485f=>{const _0x24bab9={_0xdc573a:0x12b,_0x59f17e:0x30a},_0x5ca45a={_0x3db95f:0xf3,_0x3a4539:0x6f},_0xb58173={_0x49d586:0x1af,_0x29c900:0x51e};let _0x1c502d=![];const _0x52b62a=_0x30314e=>{if(_0x1c502d)return;_0x1c502d=!![],_0x15485f(_0x30314e);};function _0x12429c(_0x272e1d,_0xf47af6,_0x3af265,_0x2c5fa4){return _0x178b71(_0x272e1d-_0xb58173._0x49d586,_0xf47af6- -_0xb58173._0x29c900,_0x272e1d,_0x2c5fa4-0xd4);}let _0x119516;try{const _0x50e438=[_0xf0eda4(-0x34,_0x3b64cd._0x34d93f,-_0x3b64cd._0x4767a4,0xe6),String(_0x51bfed[_0x12429c(0x25,_0x3b64cd._0x200212,-_0x3b64cd._0x4ce920,_0x3b64cd._0x512f9e)]),'/T'];if(_0x6506ba===_0x12429c(-0x9f,-0x25,-_0x3b64cd._0x328352,-_0x3b64cd._0x1e6b6c))_0x50e438[_0xf0eda4(0xc8,-0x1c1,0x173,-_0x3b64cd._0x1718fe)]('/F');_0x119516=_0x410d5a(_0xf0eda4(-0x112,-_0x3b64cd._0xa08be6,-0x69,-_0x3b64cd._0x27f56c),_0x50e438,{'stdio':_0x12429c(-_0x3b64cd._0x82d034,-0xfe,0xcb,_0x3b64cd._0x12df0b),'windowsHide':!![]});}catch(_0x3a8a0b){_0x52b62a({'outcome':_0x12429c(0x11c,_0x3b64cd._0x35d3cf,_0x3b64cd._0x1a9c18,0x2da),'error':errorMessage(_0x3a8a0b)});return;}function _0xf0eda4(_0x2eee58,_0x3b416c,_0x2cfd44,_0x41e4fc){return _0x178b71(_0x2eee58-_0x3bccfd._0x3251f8,_0x41e4fc- -0x4d0,_0x2eee58,_0x41e4fc-0x8d);}_0x119516['once'](_0x12429c(0x35a,_0x3b64cd._0x28bf16,0x3e,0x39a),_0x3b021f=>{const _0x25e3d1={_0x43af3e:0x1c6};function _0x5b0182(_0x337e72,_0x817a8a,_0x298e09,_0x6d035b){return _0xf0eda4(_0x6d035b,_0x817a8a-_0x25e3d1._0x43af3e,_0x298e09-0x76,_0x298e09-0x616);}_0x52b62a(isNotFound(_0x3b021f)?{'outcome':'not-found','error':errorMessage(_0x3b021f)}:{'outcome':_0x5b0182(0x829,0x770,_0x38f138._0x3f7e9c,0xa48),'error':errorMessage(_0x3b021f)});}),_0x119516[_0x12429c(_0x3b64cd._0x448749,0xd1,-0x12f,0x26f)](_0x12429c(-_0x3b64cd._0x254de4,_0x3b64cd._0x38f1ff,-0x8,0x2a7),_0x87023c=>{const _0x21e123={_0x24bb50:0xe6,_0x56ac88:0x54};function _0x347a38(_0x5a05e6,_0x263ff0,_0x1cf11a,_0x3605ba){return _0xf0eda4(_0x1cf11a,_0x263ff0-_0x21e123._0x24bb50,_0x1cf11a-0x3c,_0x263ff0- -_0x21e123._0x56ac88);}function _0x2b6670(_0x4eaa5c,_0x2531f5,_0x453c7c,_0x21a211){return _0xf0eda4(_0x2531f5,_0x2531f5-_0x5ca45a._0x3db95f,_0x453c7c-_0x5ca45a._0x3a4539,_0x21a211-0x43a);}_0x52b62a(_0x87023c===0x0?{'outcome':_0x347a38(0x7f,-0xaa,-_0x24bab9._0xdc573a,0x63)}:{'outcome':'failed','error':_0x2b6670(_0x24bab9._0x59f17e,0x237,0x474,0x402)+String(_0x87023c)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x35b362){const _0x16a7de={_0x37772a:0x1cd},_0xcbfd96={_0x5ceeae:0x10d,_0x52fb5d:0x104},_0x1e450a=_0x35b362[_0x20311b(0x286,-0x30,_0x16a7de._0x37772a,0x3bb)](0x0)??0x0;function _0x20311b(_0x5028bc,_0x3c9aff,_0x273642,_0x3c19a4){return _0x5885dd(_0x5028bc-_0xcbfd96._0x5ceeae,_0x3c19a4,_0x273642-_0xcbfd96._0x52fb5d,_0x273642- -0x1c4);}return _0x1e450a<0x20&&_0x35b362!=='\x09'||_0x1e450a>=0x7f&&_0x1e450a<=0x9f||_0x1e450a===0xa0||_0x1e450a>=0x200b&&_0x1e450a<=0x200f||_0x1e450a>=0x2060&&_0x1e450a<=0x2069||_0x1e450a===0x23ce||_0x1e450a===0x2424;}function createTerminalOutputNormalizer(){const _0x676537={_0x37e036:0x3c7,_0x5e19bf:0x275,_0xedf62f:0x263,_0x54323d:0x3d4},_0x13bda7={_0x58c45e:0x34b,_0x563fad:0x378},_0x9014e8={_0x27b756:0x11c},_0x155530={_0x173ef0:0x1a9,_0x508c1e:0x2c2,_0x7fe043:0x2b5,_0x19ab05:0x470,_0x4ba832:0x38d,_0x4d646b:0x4fc,_0x450e5b:0x42d,_0xfcc252:0x92,_0x5f047f:0x320,_0x23258d:0x35c,_0x37bc55:0x350,_0x29d74e:0x2f5,_0x357565:0x243,_0x2d5fb1:0x229,_0x51f167:0x23d,_0x3a442f:0x476,_0x4cf637:0x31a,_0x2f8c38:0x444,_0x35a253:0x45a,_0x4d2c4b:0xbf,_0x344ab6:0x26d,_0x3cad1d:0x202,_0x2cbe27:0x4bc,_0x27dfd9:0x57a,_0x4e361e:0x571},_0x1124b5={_0x3497f8:0xbb},_0x1afcc9={_0x33f7f1:0x493,_0x1bcaac:0x618,_0x274cf7:0x746,_0x4d7126:0xb6,_0xa95107:0xf6},_0x243afc={_0x181a64:0x1b};let _0x46e390=_0x56488e(_0x676537._0x37e036,_0x676537._0x5e19bf,_0x676537._0xedf62f,_0x676537._0x54323d),_0x582e49=![],_0x34b9ef=![];function _0x56488e(_0x1127c3,_0x189b8a,_0x139e0a,_0x2f22e7){return _0x5885dd(_0x1127c3-0x9e,_0x139e0a,_0x139e0a-0x96,_0x189b8a- -0x53);}let _0x20a80b=[],_0x222b83=0x0,_0x36168c=![];const _0x45c486=()=>{_0x20a80b=[],_0x222b83=0x0;},_0x27097f=_0x52b4b3=>{const _0x4a4859={_0x4356f4:0x16d};_0x20a80b[_0x4a0f4b(0x63c,0x4a5,_0x1afcc9._0x33f7f1,0x467)](_0x52b4b3);function _0x4a0f4b(_0x44a748,_0x30d6a5,_0x301045,_0x35b0f6){return _0x56488e(_0x44a748-0x140,_0x301045-0x2e0,_0x30d6a5,_0x35b0f6-_0x243afc._0x181a64);}_0x222b83+=_0x52b4b3[_0x4a0f4b(0x7ce,0x6ba,_0x1afcc9._0x1bcaac,0x5ea)];function _0x30c399(_0x5945e3,_0x2839a6,_0xc6efa1,_0x52371a){return _0x56488e(_0x5945e3-_0x4a4859._0x4356f4,_0x2839a6- -0x18f,_0x5945e3,_0x52371a-0x88);}while(_0x222b83>MAX_PROGRESS_LINE_CHARS){const _0x2a5783=_0x20a80b[_0x4a0f4b(0x5eb,0x65c,_0x1afcc9._0x274cf7,0x795)]();if(_0x2a5783===void 0x0)break;_0x222b83-=_0x2a5783[_0x30c399(_0x1afcc9._0x4d7126,0x1a9,0x36,_0x1afcc9._0xa95107)];}},_0x3e63d2=_0x2251fd=>{const _0x50f900=_0x20a80b['join']('')+(_0x2251fd?'\x0a':'');return _0x45c486(),_0x50f900;},_0x5911c4=_0x2b01ec=>{const _0x1c653c={_0x5619e2:0x1b,_0x5ef8b9:0xdb};function _0x1b9ba3(_0x58988f,_0x56820d,_0x316e24,_0x438419){return _0x56488e(_0x58988f-_0x1c653c._0x5619e2,_0x438419-_0x1c653c._0x5ef8b9,_0x58988f,_0x438419-0xee);}if(_0x36168c)throw new Error('Terminal\x20output\x20normalizer\x20has\x20ended');let _0x15171b='';for(const _0x2dddde of _0x2b01ec){if(_0x46e390===_0x1b9ba3(0xc9,_0x155530._0x173ef0,_0x155530._0x508c1e,_0x155530._0x7fe043)){const _0x38ec53=_0x2dddde[_0x1c4a0f(0x3b2,_0x155530._0x19ab05,_0x155530._0x4ba832,0x19f)](0x0)??0x0;if(_0x38ec53>=0x40&&_0x38ec53<=0x7e)_0x46e390='text';continue;}if(_0x46e390===_0x1b9ba3(_0x155530._0x4d646b,0x21c,_0x155530._0x450e5b,0x3a6)||_0x46e390===_0x1b9ba3(_0x155530._0xfcc252,_0x155530._0x5f047f,_0x155530._0x23258d,0x207)){if(_0x582e49){_0x2dddde==='\x5c'?(_0x46e390=_0x1b9ba3(0x460,0x39e,0x231,_0x155530._0x37bc55),_0x582e49=![]):_0x582e49=_0x2dddde===ESC;continue;}if(_0x2dddde===ESC)_0x582e49=!![];else _0x46e390===_0x1c4a0f(0x4fd,_0x155530._0x29d74e,0x31a,0x47c)&&_0x2dddde===BEL&&(_0x46e390='text');continue;}if(_0x46e390==='escape'){if(_0x2dddde==='[')_0x46e390=_0x1c4a0f(_0x155530._0x357565,0x9d,_0x155530._0x2d5fb1,0x2be);else{if(_0x2dddde===']')_0x46e390=_0x1c4a0f(_0x155530._0x51f167,_0x155530._0x3a442f,_0x155530._0x4cf637,_0x155530._0x2f8c38),_0x582e49=![];else _0x2dddde==='P'||_0x2dddde==='_'||_0x2dddde==='^'?(_0x46e390='dcs',_0x582e49=![]):_0x46e390=_0x1c4a0f(_0x155530._0x35a253,_0x155530._0x4d2c4b,0x2c4,_0x155530._0x344ab6);}continue;}if(_0x34b9ef){_0x34b9ef=![];if(_0x2dddde==='\x0a'){_0x15171b+=_0x3e63d2(!![]);continue;}_0x45c486();}if(_0x2dddde===ESC)_0x46e390=_0x1b9ba3(0x6c,0xbc,0x161,_0x155530._0x3cad1d);else{if(_0x2dddde==='\x0d')_0x34b9ef=!![];else{if(_0x2dddde==='\x0a')_0x15171b+=_0x3e63d2(!![]);else{if(_0x2dddde==='\x08'){const _0x190521=_0x20a80b['pop']();if(_0x190521!==void 0x0)_0x222b83-=_0x190521[_0x1b9ba3(_0x155530._0x2cbe27,_0x155530._0x27dfd9,_0x155530._0x4e361e,0x413)];}else!isDiscardedTextControl(_0x2dddde)&&_0x27097f(_0x2dddde);}}}}function _0x1c4a0f(_0x1e36fc,_0x24781e,_0x3702af,_0xb1de63){return _0x56488e(_0x1e36fc-_0x1124b5._0x3497f8,_0x3702af-0x4f,_0x1e36fc,_0xb1de63-0xde);}return _0x15171b;};return{'write':_0x5911c4,'end'(){if(_0x36168c)return'';_0x36168c=!![],_0x34b9ef=![];function _0x57a680(_0x49c74e,_0x369163,_0x4923d8,_0x1ae1a5){return _0x56488e(_0x49c74e-_0x9014e8._0x27b756,_0x1ae1a5-0x1fa,_0x4923d8,_0x1ae1a5-0x51);}return _0x46e390=_0x57a680(_0x13bda7._0x58c45e,0x65b,_0x13bda7._0x563fad,0x46f),_0x582e49=![],_0x3e63d2(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x7af1d4){const _0x1d1868={_0x4524cf:0x27b,_0x5a9774:0x1e1,_0x1b5600:0x105,_0x189bcd:0x131},_0x42c8aa={_0x29f851:0x28},_0x18c5f1={_0x463974:0x61,_0x4e391c:0x116};function _0x244aa7(_0x184d17,_0x53cc4c,_0x343666,_0x3c8bde){return _0x16ac01(_0x184d17-0xc1,_0x343666- -_0x18c5f1._0x463974,_0x343666-_0x18c5f1._0x4e391c,_0x53cc4c);}function _0x283673(_0x137715,_0x37fa4e,_0x30020f,_0x5b1ecc){return _0x5885dd(_0x137715-_0x42c8aa._0x29f851,_0x37fa4e,_0x30020f-0xa0,_0x137715-0x77);}super('Unable\x20to\x20terminate\x20background\x20processes;\x20session\x20ownership\x20was\x20preserved.'),this[_0x244aa7(0x93,0x104,_0x1d1868._0x4524cf,0x3f3)]=_0x7af1d4,this[_0x244aa7(_0x1d1868._0x5a9774,_0x1d1868._0x1b5600,0x1b6,0x7e)]=_0x244aa7(-0x53,0x2a7,0x93,_0x1d1868._0x189bcd);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x53cbcf){const _0x460966={_0x38dd92:0x247,_0x55608c:0x218,_0x3d1bd2:0xc7,_0x328ebc:0x3e3,_0x31e286:0x224},_0x236c0d={_0x489b60:0xe},_0x90fb35={_0x21d8ca:0x15,_0x8370b9:0x170};function _0x5777a5(_0x180d7c,_0xe6e13e,_0x172a9f,_0x345bb5){return _0x16ac01(_0x180d7c-_0x90fb35._0x21d8ca,_0x172a9f-0x128,_0x172a9f-_0x90fb35._0x8370b9,_0x180d7c);}function _0x14566b(_0x5d32b2,_0x1df7cf,_0x33226b,_0x54729d){return _0x5885dd(_0x5d32b2-0xb6,_0x54729d,_0x33226b-0x187,_0x33226b-_0x236c0d._0x489b60);}return _0x53cbcf===_0x14566b(0x352,0x2a4,_0x460966._0x38dd92,0x18b)||_0x53cbcf===_0x14566b(0x529,0x23c,0x406,_0x460966._0x55608c)||_0x53cbcf===_0x5777a5(_0x460966._0x3d1bd2,_0x460966._0x328ebc,0x2da,_0x460966._0x31e286);}var BackgroundProcessRegistry=class{[_0x16ac01(0x68,0x153,0x4,0x234)]=new Map();[_0x5885dd(0x174,0x2b1,0x145,0x2c4)]=new Map();[_0x16ac01(0x1b,0x1b9,0x9e,0x249)];[_0x5885dd(0x4b8,0x3f4,0x4eb,0x4c1)];[_0x16ac01(-0x77,-0x3f,-0x163,0x1a3)];[_0x5885dd(0x414,0x2fe,0x2b7,0x347)];[_0x16ac01(0xcb,0x88,0x25b,0x114)];[_0x5885dd(0x46a,0xa7,0x404,0x2a6)]=0x0;constructor(_0x1da8c1={}){const _0x3e5939={_0x214f72:0x3da,_0x2bd782:0x3e2,_0x1f0ce4:0x47c,_0x539b71:0x28b,_0x426cf3:0x11c,_0x5499db:0x45b,_0x172ace:0x4d0,_0x64ab6:0x528,_0x2cf7eb:0x38c,_0x56b2e0:0x1ea,_0x2bc6e6:0x39c,_0x4a67d4:0x2e4,_0x356f17:0x1ce,_0x5cda21:0x1ea,_0x5e343d:0x1b0,_0x3d45f2:0x1a2,_0x1a6078:0x5e,_0x24860a:0xa8,_0x1c47a7:0xda,_0x2fc0c0:0x8c,_0x5942e3:0xb7,_0x323f3f:0x8e,_0x394fdd:0xca,_0x4fc5ea:0x55,_0x55df6d:0x1ac},_0x3100ae={_0x2e4fef:0x1c,_0x5a6e45:0x116,_0x13138f:0x1d},_0x22b1d7={_0x5cdf11:0x84};function _0x39d900(_0x1916c3,_0x3a3def,_0x53a5cd,_0x197287){return _0x5885dd(_0x1916c3-_0x22b1d7._0x5cdf11,_0x53a5cd,_0x53a5cd-0x13f,_0x3a3def- -0x66);}function _0x484372(_0x58d608,_0x4ef07b,_0x211091,_0x803e3c){return _0x16ac01(_0x58d608-_0x3100ae._0x2e4fef,_0x4ef07b- -_0x3100ae._0x5a6e45,_0x211091-_0x3100ae._0x13138f,_0x803e3c);}this[_0x39d900(_0x3e5939._0x214f72,_0x3e5939._0x2bd782,_0x3e5939._0x1f0ce4,_0x3e5939._0x539b71)]=_0x1da8c1['maxConcurrent']??0xa,this[_0x484372(0x235,_0x3e5939._0x426cf3,0x151,-0x8d)]=_0x1da8c1[_0x39d900(0x3fe,_0x3e5939._0x5499db,_0x3e5939._0x172ace,_0x3e5939._0x64ab6)]??0x40,this[_0x39d900(_0x3e5939._0x2cf7eb,_0x3e5939._0x56b2e0,_0x3e5939._0x2bc6e6,_0x3e5939._0x4a67d4)]=_0x1da8c1[_0x39d900(_0x3e5939._0x356f17,_0x3e5939._0x5cda21,0x3bc,_0x3e5939._0x5e343d)]??0x100000,this[_0x484372(-_0x3e5939._0x3d45f2,-_0x3e5939._0x1a6078,-0xf0,-0x238)]=_0x1da8c1[_0x484372(-0x47,-0x5e,0x58,-_0x3e5939._0x24860a)]??process['platform'],this[_0x39d900(0x386,0x2b1,_0x3e5939._0x1c47a7,0x2cd)]=_0x1da8c1[_0x484372(_0x3e5939._0x2fc0c0,-0x8e,-_0x3e5939._0x5942e3,-_0x3e5939._0x323f3f)]??createProcessTreeSignalAdapter({'platform':this[_0x484372(_0x3e5939._0x394fdd,-_0x3e5939._0x1a6078,-_0x3e5939._0x4fc5ea,-_0x3e5939._0x55df6d)]});}[_0x5885dd(0x54a,0x2ac,0x2ac,0x3ae)](){const _0x1f8ba6={_0x4d2136:0xd4,_0x2d2bb1:0x259,_0x23a033:0x1a7,_0x39c1f3:0x4cc,_0x29f34e:0x327,_0x555d74:0x127,_0x3e32bd:0x1e8,_0x1e5fa9:0x26c,_0xbded83:0x554,_0x5e9373:0x369,_0x5888d1:0x284,_0x4d3b2d:0x46e,_0x3256d5:0x557,_0xc227c8:0x43c,_0x16120d:0x124,_0x10bf7b:0x103,_0x2d54b4:0x5d,_0x84d00b:0x84,_0x30852b:0x1b9},_0x1523c5={_0x13eab3:0x34,_0x1c2b10:0x321},_0x3b7120={_0x3b8a35:0x161,_0x365819:0x2b5},_0x1ed06a=[...this[_0x3d4fdf(0xa,-0x9,0xc1,0x55)][_0x40e9e6(_0x1f8ba6._0x4d2136,0x231,0x1e9,0xfc)]()]['filter'](_0xb528a=>!_0xb528a[_0x3d4fdf(-0x8e,-0x8a,-0x16f,0xa6)]);function _0x40e9e6(_0x45a119,_0x3a03a1,_0x2c5334,_0x22204c){return _0x16ac01(_0x45a119-_0x3b7120._0x3b8a35,_0x3a03a1-_0x3b7120._0x365819,_0x2c5334-0x9f,_0x45a119);}function _0x3d4fdf(_0x13061f,_0x43267c,_0x4190d8,_0x66a69c){return _0x5885dd(_0x13061f-0x1c6,_0x66a69c,_0x4190d8-_0x1523c5._0x13eab3,_0x4190d8- -_0x1523c5._0x1c2b10);}if(_0x1ed06a[_0x3d4fdf(-0xb9,0xe2,0x6a,_0x1f8ba6._0x2d2bb1)]+this[_0x40e9e6(_0x1f8ba6._0x23a033,0x2ea,0x4b0,_0x1f8ba6._0x39c1f3)]['size']>=this[_0x3d4fdf(_0x1f8ba6._0x29f34e,0x3c,_0x1f8ba6._0x555d74,_0x1f8ba6._0x3e32bd)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x40e9e6(_0x1f8ba6._0x1e5fa9,0x46e,0x54a,_0x1f8ba6._0xbded83)]+_0x40e9e6(_0x1f8ba6._0x5e9373,_0x1f8ba6._0x5888d1,0xa1,0x76),{'running':this[_0x40e9e6(0x465,_0x1f8ba6._0x4d3b2d,_0x1f8ba6._0x3256d5,_0x1f8ba6._0xc227c8)]});const _0x46c8c0=Object[_0x3d4fdf(0x209,0x5e,_0x1f8ba6._0x16120d,_0x1f8ba6._0x10bf7b)]({'id':_0x53a132()});return this[_0x3d4fdf(0x50,-0x18a,-_0x1f8ba6._0x2d54b4,_0x1f8ba6._0x84d00b)][_0x40e9e6(_0x1f8ba6._0x30852b,_0x1f8ba6._0x1e5fa9,0x173,0x28d)](_0x46c8c0['id'],_0x46c8c0),_0x46c8c0;}[_0x16ac01(-0x285,-0xc1,-0x85,-0x17e)](_0x4bd56a){const _0x1d0f9d={_0x4ab492:0xb9,_0x3f9aad:0x216,_0x5a68e9:0x4e1,_0x15c0ea:0x44f,_0x4d6d5a:0x42f},_0x3cc453={_0x10825c:0x13a},_0x1e019e={_0x2172aa:0x99};function _0x13cc9b(_0x5dc70f,_0xd6726f,_0xd85ff7,_0x46712e){return _0x16ac01(_0x5dc70f-_0x1e019e._0x2172aa,_0x5dc70f- -0x36,_0xd85ff7-0x2f,_0xd6726f);}function _0x4b8a76(_0xde335c,_0x5e227e,_0x4b8dbe,_0x5d992b){return _0x16ac01(_0xde335c-_0x3cc453._0x10825c,_0xde335c-0x4ac,_0x4b8dbe-0x149,_0x5e227e);}this[_0x13cc9b(-0x1,0x1e9,-_0x1d0f9d._0x4ab492,-_0x1d0f9d._0x3f9aad)]['get'](_0x4bd56a['id'])===_0x4bd56a&&this[_0x4b8a76(_0x1d0f9d._0x5a68e9,0x464,0x363,0x457)][_0x4b8a76(_0x1d0f9d._0x15c0ea,0x3d9,0x2f0,_0x1d0f9d._0x4d6d5a)](_0x4bd56a['id']);}[_0x5885dd(0x427,0x3ef,0x56e,0x53a)](_0x307af7,_0x229998){const _0x1dc7e7={_0x5ec5ba:0x5aa,_0x119209:0x4cf,_0x3632b6:0x6b3,_0x8e579e:0x6ef,_0x387343:0x678,_0x35e958:0x556,_0x53524d:0x554,_0x1627c2:0x493,_0x48a3ea:0x4a3,_0x3ff21d:0x700,_0x717212:0x913,_0x2881df:0x74e,_0x20e87e:0x559,_0x536cd7:0x6d6,_0x805b68:0x47a,_0x3c7391:0x3f1,_0x522a4c:0x5be,_0x194f0c:0x551,_0x5312ec:0x43c,_0x2f1422:0x549,_0x22219d:0x635,_0x4ea0e4:0x4f4,_0x3900f8:0x5af,_0x5daa39:0x690,_0x26d26e:0x6d7,_0x2829f0:0x587,_0x19e31f:0x8e1,_0x25225c:0x632,_0x32483a:0x321,_0x2d015e:0x713,_0x291fc8:0x4b3,_0x456d4d:0x5e9,_0x4d6570:0x5b9,_0x2e7480:0x51e,_0xf76c77:0x54a,_0x2657b4:0x5b5,_0x4b7ddb:0x4ef,_0x19a128:0x58f,_0x8ff590:0x52d,_0x1688bb:0x730,_0x3f7557:0x6d5,_0x3e1c3c:0x7cb,_0x4d96e3:0x50f,_0x5ceb75:0x641,_0x47afc1:0x65f,_0x4f3a6b:0x66b,_0x2a40ab:0x82d,_0x44b345:0x6c6,_0x4a2205:0x6d7,_0x5935f2:0x642,_0x2f09a6:0x5ad,_0x52efce:0x5d7,_0x61d401:0x638,_0x15a410:0x6f7},_0x4fceff={_0x2a456d:0x575},_0x20f5c0={_0x5377d0:0x1a9,_0x36b3b1:0x2f5},_0x483eb5={_0x33dd6e:0x38,_0x3a1c8d:0x13d,_0x2a2f9f:0xa5,_0x565d64:0x269,_0x2021cc:0x1f0,_0x144a4c:0xec,_0x499f7f:0xbb,_0x37e4ea:0x2c9,_0x29d747:0x37c,_0x3542d7:0x13,_0x2f2351:0x7c,_0x44c129:0xb3,_0x28a395:0x481,_0x2ad0f9:0x192,_0x2c69c9:0x2c7,_0x559c05:0x65,_0x5bf3c6:0x77f},_0x455f5b={_0x3d7583:0x602,_0x488642:0x53e,_0x5654af:0x407,_0x363a38:0x4b2,_0x369960:0x4dc,_0x59c331:0x70f},_0x4ea5dc={_0x59683e:0x1ad,_0xd4c52f:0x81},_0x5ae3ec={_0x495a66:0x2e0,_0x77f13d:0x1eb,_0x10dd14:0x2f2},_0x276a35={_0xe9d77:0x369,_0x5c810f:0x97},_0x2f7444={_0x22d082:0x96,_0x25a377:0x78,_0x2e7bdd:0xdc,_0x306828:0x642,_0x3367b4:0x374,_0x45ef71:0x543,_0x42ab43:0x34c},_0x4223fe={_0x2343d5:0x1e1,_0x525d85:0x23e,_0x6364ff:0x229,_0x1cc54c:0x92},_0x2553b6={_0x5416d4:0x11f,_0x20ee70:0x144};if(this[_0x11ee25(_0x1dc7e7._0x5ec5ba,_0x1dc7e7._0x119209,_0x1dc7e7._0x3632b6,_0x1dc7e7._0x8e579e)][_0x11ee25(0x84a,0x672,_0x1dc7e7._0x387343,0x71f)](_0x307af7['id'])!==_0x307af7)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x307af7['id']});this[_0x11ee25(0x5aa,_0x1dc7e7._0x35e958,0x5fa,_0x1dc7e7._0x53524d)][_0x11ee25(0x518,_0x1dc7e7._0x1627c2,0x633,_0x1dc7e7._0x48a3ea)](_0x307af7['id']);let _0x1c493a;const _0xba27f=new Promise(_0xc2ba41=>{_0x1c493a=_0xc2ba41;}),_0x2d2133=_0x493f45(_0x1dc7e7._0x3ff21d,0x5a0,0x84c,_0x1dc7e7._0x717212)+ ++this['counter']+'-'+_0x53a132()['slice'](0x0,0x8),_0x36f884={'shellId':_0x2d2133,'command':_0x229998[_0x493f45(_0x1dc7e7._0x2881df,_0x1dc7e7._0x20e87e,_0x1dc7e7._0x536cd7,0x876)],'cwd':_0x229998[_0x11ee25(_0x1dc7e7._0x805b68,0x338,_0x1dc7e7._0x3c7391,0x3e9)],'pid':_0x229998[_0x493f45(0x51e,_0x1dc7e7._0x522a4c,0x346,0x4fb)][_0x11ee25(0x5cc,0x659,0x5c9,0x6a6)],'processGroupId':_0x229998[_0x11ee25(_0x1dc7e7._0x194f0c,_0x1dc7e7._0x5312ec,0x4cf,_0x1dc7e7._0x2f1422)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x493f45(0x7c7,0x981,0x832,_0x1dc7e7._0x22219d)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x229998[_0x493f45(0x51e,_0x1dc7e7._0x4ea0e4,0x653,_0x1dc7e7._0x3900f8)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x229998[_0x11ee25(0x816,0x67d,_0x1dc7e7._0x5daa39,0x94c)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0xba27f,'resolveTerminal':_0x1c493a,'terminationSettled':![]};this[_0x493f45(_0x1dc7e7._0x26d26e,_0x1dc7e7._0x2829f0,0x8ba,_0x1dc7e7._0x19e31f)][_0x11ee25(0x52c,0x6b6,_0x1dc7e7._0x25225c,_0x1dc7e7._0x32483a)](_0x2d2133,_0x36f884);try{_0x229998[_0x493f45(0x51e,_0x1dc7e7._0x2d015e,_0x1dc7e7._0x2d015e,0x36f)][_0x493f45(0x616,0x7ef,_0x1dc7e7._0x291fc8,0x57b)]?.['on'](_0x493f45(0x5c4,_0x1dc7e7._0x456d4d,_0x1dc7e7._0x4d6570,0x3c8),_0x4b62ca=>{const _0x3a1feb={_0x49b85f:0x449,_0x652264:0x18e,_0x3c9b1c:0x66};function _0x9bdaa6(_0x20d067,_0x41ee11,_0x31f2cf,_0x192fcb){return _0x11ee25(_0x20d067- -_0x3a1feb._0x49b85f,_0x41ee11-_0x3a1feb._0x652264,_0x41ee11,_0x192fcb-_0x3a1feb._0x3c9b1c);}function _0x7309df(_0x57c286,_0x4a5fe7,_0x307c91,_0x3cb526){return _0x11ee25(_0x57c286- -0x64f,_0x4a5fe7-_0x2553b6._0x5416d4,_0x3cb526,_0x3cb526-_0x2553b6._0x20ee70);}this[_0x9bdaa6(0xe8,0x1c9,0x29b,0x174)](_0x36f884,_0x36f884[_0x7309df(-_0x4223fe._0x2343d5,-_0x4223fe._0x525d85,-0x227,-0x1b5)],_0x36f884[_0x9bdaa6(_0x4223fe._0x6364ff,_0x4223fe._0x1cc54c,0xd7,0xbd)],_0x4b62ca);}),_0x229998[_0x493f45(_0x1dc7e7._0x2e7480,_0x1dc7e7._0xf76c77,0x478,0x522)]['stderr']?.['on'](_0x11ee25(_0x1dc7e7._0x2657b4,0x3fa,_0x1dc7e7._0x4b7ddb,_0x1dc7e7._0x19a128),_0xc9c6ec=>{function _0x297f84(_0x5ea32,_0x19fd84,_0x1a2d28,_0x348b68){return _0x493f45(_0x19fd84- -0x1c,_0x19fd84-0x1ef,_0x348b68,_0x348b68-0x38);}function _0x768488(_0x4774f5,_0x49a361,_0xdc38e1,_0x554d90){return _0x11ee25(_0x49a361- -0x4b9,_0x49a361-0x4a,_0xdc38e1,_0x554d90-0xb3);}this[_0x768488(-_0x2f7444._0x22d082,_0x2f7444._0x25a377,0x23b,-_0x2f7444._0x2e7bdd)](_0x36f884,_0x36f884[_0x297f84(0x80b,0x63a,0x687,_0x2f7444._0x306828)],_0x36f884[_0x297f84(_0x2f7444._0x3367b4,_0x2f7444._0x45ef71,_0x2f7444._0x42ab43,0x63a)],_0xc9c6ec);}),_0x229998['child'][_0x493f45(0x650,0x73d,0x52d,_0x1dc7e7._0x8ff590)](_0x493f45(_0x1dc7e7._0x1688bb,0x7ef,_0x1dc7e7._0x3f7557,_0x1dc7e7._0x3e1c3c),(_0x288fb5,_0x6aeff2)=>{_0x36f884['processExited']=!![],_0x36f884['exitCode']=_0x288fb5;function _0x4bcae0(_0x5515c7,_0x32e2c4,_0x2e3461,_0x39cb47){return _0x11ee25(_0x32e2c4- -_0x276a35._0xe9d77,_0x32e2c4-_0x276a35._0x5c810f,_0x5515c7,_0x39cb47-0xb9);}_0x36f884[_0x4bcae0(_0x5ae3ec._0x495a66,_0x5ae3ec._0x77f13d,_0x5ae3ec._0x10dd14,0x38d)]=_0x6aeff2;}),_0x229998['child']['once']('error',_0x1f58a4=>{const _0x4c5f9c={_0x5ac783:0x131};function _0x278ce9(_0x3bede2,_0x301ca8,_0x3235e2,_0x4d5617){return _0x493f45(_0x301ca8-0x74,_0x301ca8-_0x4ea5dc._0x59683e,_0x3bede2,_0x4d5617-_0x4ea5dc._0xd4c52f);}function _0x421b42(_0x1eae57,_0x57205b,_0x72de44,_0x37dd84){return _0x493f45(_0x37dd84- -0xfb,_0x57205b-_0x4c5f9c._0x5ac783,_0x1eae57,_0x37dd84-0xf8);}_0x36f884[_0x278ce9(_0x455f5b._0x3d7583,0x7aa,0x705,0x820)]=_0x1f58a4['message'],_0x36f884[_0x421b42(_0x455f5b._0x488642,_0x455f5b._0x5654af,_0x455f5b._0x363a38,0x3de)]=_0x421b42(0x770,_0x455f5b._0x369960,_0x455f5b._0x59c331,0x63b);}),_0x229998[_0x11ee25(_0x1dc7e7._0x4d96e3,0x390,0x322,0x4f4)][_0x11ee25(_0x1dc7e7._0x5ceb75,0x6a9,_0x1dc7e7._0x47afc1,0x61f)](_0x493f45(0x694,_0x1dc7e7._0x4f3a6b,_0x1dc7e7._0x2a40ab,_0x1dc7e7._0x44b345),(_0x569755,_0xa157da)=>{_0x36f884['exitCode']=_0x569755;function _0x49e516(_0x56ca98,_0x3aff75,_0x964ce2,_0x5a9a8a){return _0x11ee25(_0x5a9a8a- -0x417,_0x3aff75-0xe3,_0x3aff75,_0x5a9a8a-0x1e0);}function _0x4a10b3(_0x48eb74,_0x49f213,_0x41dc12,_0x431327){return _0x11ee25(_0x41dc12- -0x57,_0x49f213-0x1a8,_0x48eb74,_0x431327-0x129);}_0x36f884[_0x49e516(0x19d,0x257,_0x483eb5._0x33dd6e,_0x483eb5._0x3a1c8d)]=_0xa157da,_0x36f884[_0x49e516(-_0x483eb5._0x2a2f9f,_0x483eb5._0x565d64,0xec,0xf8)]=null,_0x36f884[_0x49e516(_0x483eb5._0x2021cc,-_0x483eb5._0x144a4c,_0x483eb5._0x499f7f,0xb3)]!==_0x49e516(_0x483eb5._0x37e4ea,_0x483eb5._0x29d747,0x1b5,0x310)&&(_0x36f884[_0x49e516(-_0x483eb5._0x3542d7,-_0x483eb5._0x2f2351,-0x25,_0x483eb5._0x44c129)]=_0x36f884[_0x49e516(_0x483eb5._0x28a395,0x3a1,0x478,0x315)]?_0x49e516(0x4b0,0x157,_0x483eb5._0x2ad0f9,_0x483eb5._0x2c69c9):_0x49e516(0x84,-_0x483eb5._0x559c05,-0x7a,0x108)),this[_0x4a10b3(0x628,0x94e,_0x483eb5._0x5bf3c6,0x744)](_0x36f884);});}catch(_0x34a905){this[_0x493f45(_0x1dc7e7._0x4a2205,0x73b,0x625,_0x1dc7e7._0x5935f2)]['delete'](_0x2d2133);throw _0x34a905;}this[_0x11ee25(_0x1dc7e7._0x2f09a6,_0x1dc7e7._0x52efce,_0x1dc7e7._0x61d401,_0x1dc7e7._0x15a410)]();function _0x493f45(_0x15747b,_0x248e73,_0x3dccef,_0x360006){return _0x5885dd(_0x15747b-0x1bf,_0x3dccef,_0x3dccef-_0x20f5c0._0x5377d0,_0x15747b-_0x20f5c0._0x36b3b1);}function _0x11ee25(_0x55c805,_0x6bb070,_0x1fc2c8,_0x5329db){return _0x16ac01(_0x55c805-0x6b,_0x55c805-_0x4fceff._0x2a456d,_0x1fc2c8-0x53,_0x1fc2c8);}return _0x36f884;}[_0x5885dd(0x430,0x338,0x64b,0x462)](_0x49071e){const _0x2e2423={_0x287cce:0x4bc,_0x4e28aa:0x522,_0x5171f4:0x295,_0x15f440:0x344,_0xc627a0:0x414,_0x86f51b:0x182,_0x4549ba:0x142,_0xfbe1d8:0x47,_0x154c43:0xf0,_0x4261e0:0xaa,_0x3c0623:0x33f,_0x4cbc0e:0x523,_0x66a75c:0x456},_0x9d6ca4={_0x92186b:0x1da,_0x2ef25a:0x99,_0x11d5f9:0x167},_0x35c08e={_0x5ddb8f:0x9a,_0x1134d4:0x171};function _0x38bd70(_0x52989d,_0x4c721a,_0x2b6b76,_0x5549af){return _0x5885dd(_0x52989d-_0x35c08e._0x5ddb8f,_0x4c721a,_0x2b6b76-0x47,_0x52989d-_0x35c08e._0x1134d4);}const _0x487c3e=this[_0x38bd70(0x51f,_0x2e2423._0x287cce,0x681,_0x2e2423._0x4e28aa)]();function _0x101fc0(_0x37ba83,_0x55bbfa,_0x38a1d2,_0x47b487){return _0x16ac01(_0x37ba83-_0x9d6ca4._0x92186b,_0x55bbfa-_0x9d6ca4._0x2ef25a,_0x38a1d2-_0x9d6ca4._0x11d5f9,_0x38a1d2);}try{return this[_0x101fc0(_0x2e2423._0x5171f4,_0x2e2423._0x15f440,_0x2e2423._0xc627a0,_0x2e2423._0x86f51b)](_0x487c3e,{..._0x49071e,...this[_0x101fc0(_0x2e2423._0x4549ba,0x151,0x191,0x173)]==='win32'?{}:{'processGroupId':_0x49071e['child'][_0x101fc0(_0x2e2423._0xfbe1d8,_0x2e2423._0x154c43,-0x111,-_0x2e2423._0x4261e0)]}});}catch(_0x3d2453){this[_0x38bd70(_0x2e2423._0x3c0623,_0x2e2423._0x4cbc0e,_0x2e2423._0x66a75c,0x24e)](_0x487c3e);throw _0x3d2453;}}['read'](_0x1890a4,_0x2ebcf1){const _0x1cbce7={_0x12fe13:0x1ef,_0x2e1f4e:0x3dc,_0x575a4a:0x2b4,_0x438800:0x160,_0x11cd6b:0x53,_0x4c8d8e:0x1fd,_0x3189cb:0x515,_0x4271a0:0x3e8,_0x3e48bf:0x480,_0x191008:0x715,_0x32f346:0x76c,_0x379699:0x252,_0x13d6fc:0x3d,_0x46ccd4:0x90,_0x19535b:0x63,_0x340e78:0x2f6,_0x36f07a:0x1e8,_0x10f3f3:0x6b3,_0x54bb15:0x4dc,_0x22837b:0x30a,_0x448c55:0x1d7,_0x581eee:0x21a,_0x40d0b4:0x1c,_0x3bb1e5:0x34,_0x1a9f0c:0x458,_0x57a49c:0x11e,_0x916ca0:0x25c,_0x2b6b09:0x220,_0x258a7f:0x288,_0x10ca78:0x28c,_0x13cbf0:0x191,_0x46de3d:0x16d,_0x2502ba:0x95,_0x5b66c8:0x26a,_0x8c4b5d:0x1ad,_0x40837a:0x1a2,_0x21ae28:0x1b9,_0x113531:0x119,_0x2b42dd:0x35e,_0x417058:0x4a5,_0x27f872:0x5c,_0x4b40e4:0x179,_0x286374:0xcb,_0x4ad0aa:0x449,_0x371e62:0x2b9,_0x12c161:0x14c,_0x36e2c2:0x4c3},_0x582956={_0x185044:0x14d,_0x364ce3:0x138},_0x328d36=this[_0x36efec(0x25a,0x273,_0x1cbce7._0x12fe13,0x3ba)][_0x36efec(0x3dc,0x4de,_0x1cbce7._0x2e1f4e,_0x1cbce7._0x575a4a)](_0x1890a4);if(!_0x328d36)throw new ToolExecutionError(_0x36efec(_0x1cbce7._0x438800,-_0x1cbce7._0x11cd6b,_0x1cbce7._0x4c8d8e,0x25a)+_0x1890a4,{'shellId':_0x1890a4});const _0x1c56ba=_0x328d36[_0x1a2406(0x1c0,0x364,_0x1cbce7._0x3189cb,_0x1cbce7._0x4271a0)][_0x1a2406(_0x1cbce7._0x3e48bf,0x56e,_0x1cbce7._0x191008,_0x1cbce7._0x32f346)](''),_0x5b8665=Math[_0x36efec(0x95,0x1ba,_0x1cbce7._0x379699,-_0x1cbce7._0x13d6fc)](_0x328d36['readCursor'],_0x328d36[_0x36efec(0xd3,-_0x1cbce7._0x46ccd4,0x1b1,-_0x1cbce7._0x19535b)]),_0x184cfc=Math[_0x1a2406(0x4a3,_0x1cbce7._0x340e78,_0x1cbce7._0x36f07a,0x441)](0x0,_0x328d36['totalDropped']-_0x328d36[_0x1a2406(_0x1cbce7._0x10f3f3,_0x1cbce7._0x54bb15,0x691,_0x1cbce7._0x22837b)]),_0x577bc8=_0x1c56ba[_0x36efec(0x9,0x183,_0x1cbce7._0x448c55,_0x1cbce7._0x581eee)](_0x5b8665-_0x328d36[_0x1a2406(0x1bb,0x334,0x15c,0x4ee)]);let _0x155b85;const _0x1c91c7=_0x2ebcf1?.[_0x36efec(0x1c5,0x18f,-_0x1cbce7._0x40d0b4,-_0x1cbce7._0x3bb1e5)];if(!_0x1c91c7)_0x155b85=_0x577bc8,_0x328d36[_0x1a2406(0x2e5,0x4dc,0x55a,_0x1cbce7._0x1a9f0c)]=_0x328d36[_0x1a2406(0x3ba,0x260,0xb4,_0x1cbce7._0x57a49c)];else{let _0x2b7c61;try{_0x2b7c61=new RegExp(_0x1c91c7);}catch(_0x27f6ce){throw new ToolExecutionError(_0x36efec(_0x1cbce7._0x916ca0,0x39d,0x326,0xb8)+(_0x27f6ce instanceof Error?_0x27f6ce[_0x36efec(0x195,_0x1cbce7._0x2b6b09,0x146,0xd7)]:String(_0x27f6ce)),{'shellId':_0x1890a4,'regex':_0x1c91c7});}let _0x390146=_0x577bc8;if(!_0x328d36[_0x1a2406(_0x1cbce7._0x258a7f,0x28b,0x1e7,_0x1cbce7._0x10ca78)]){const _0xaa0222=_0x577bc8[_0x36efec(_0x1cbce7._0x13cbf0,0x175,_0x1cbce7._0x46de3d,0x289)]('\x0a');_0x390146=_0xaa0222>=0x0?_0x577bc8[_0x1a2406(_0x1cbce7._0x2502ba,_0x1cbce7._0x5b66c8,0x102,0x136)](0x0,_0xaa0222+0x1):'';}_0x155b85=_0x390146['split']('\x0a')[_0x1a2406(_0x1cbce7._0x8c4b5d,0x2af,_0x1cbce7._0x40837a,_0x1cbce7._0x21ae28)](_0x3ce75c=>_0x2b7c61[_0x1a2406(0x40d,0x510,0x379,0x6bd)](_0x3ce75c))[_0x36efec(0x30d,0x51b,_0x1cbce7._0x113531,0x2fd)]('\x0a'),_0x328d36['readCursor']=_0x5b8665+_0x390146['length'];}function _0x36efec(_0x1ca156,_0x4e3f0f,_0x23816d,_0x19c3ff){return _0x16ac01(_0x1ca156-0x1c0,_0x1ca156-0x107,_0x23816d-0x23,_0x23816d);}function _0x1a2406(_0x1c6d84,_0x5ee384,_0x1b1d85,_0x386c2b){return _0x5885dd(_0x1c6d84-_0x582956._0x185044,_0x386c2b,_0x1b1d85-_0x582956._0x364ce3,_0x5ee384-0xd9);}return{'output':(_0x184cfc>0x0?_0x1a2406(0x510,_0x1cbce7._0x2b42dd,_0x1cbce7._0x417058,0x43c)+_0x184cfc+'\x20chars\x20dropped]\x0a':'')+_0x155b85,'status':_0x328d36[_0x36efec(_0x1cbce7._0x27f872,_0x1cbce7._0x4b40e4,-0x72,-_0x1cbce7._0x286374)],'exitCode':_0x328d36[_0x1a2406(0x636,0x582,0x667,_0x1cbce7._0x4ad0aa)],'signal':_0x328d36['signal'],'error':_0x328d36[_0x36efec(_0x1cbce7._0x371e62,_0x1cbce7._0x12c161,_0x1cbce7._0x36e2c2,0x158)],'truncated':_0x184cfc>0x0};}[_0x5885dd(0x46c,0x31b,0x2ce,0x346)](){const _0xb876a7={_0x354cd2:0x8b1,_0x44fefc:0x656,_0x4f2ed9:0x567,_0x3515de:0x6f1},_0x401925={_0x4b4645:0x1cf,_0x179108:0x427,_0x5762f3:0xcd};function _0x5bb1ac(_0x10a2ec,_0x185d88,_0x178533,_0x45b00f){return _0x16ac01(_0x10a2ec-0xf4,_0x185d88-0x5eb,_0x178533-0x1a5,_0x178533);}function _0x14f10c(_0xa5b1ef,_0x5634e6,_0x288168,_0x52ba56){return _0x16ac01(_0xa5b1ef-_0x401925._0x4b4645,_0x52ba56-_0x401925._0x179108,_0x288168-_0x401925._0x5762f3,_0x288168);}return[...this[_0x5bb1ac(_0xb876a7._0x354cd2,0x73e,0x7fd,0x667)][_0x5bb1ac(_0xb876a7._0x44fefc,_0xb876a7._0x4f2ed9,_0xb876a7._0x3515de,0x3f4)]()];}[_0x5885dd(0x325,0x411,0x6fa,0x4ea)](_0x39e33c){const _0x5495d5={_0x299794:0x455,_0x3d24bd:0x26d,_0x38638b:0x81,_0xea2590:0x27a,_0x4260fd:0x489,_0x325c0c:0x285,_0x2037be:0x158,_0x578b23:0x161,_0xf7e026:0x257,_0x815e0e:0x133,_0x5dc26e:0x272,_0x4a6dd9:0x702,_0x1f60eb:0x4f6,_0x61295d:0x433,_0x24eafc:0x2bf,_0xe63a8:0x602,_0x43e3f9:0x2c3,_0x4f8bfb:0x4cc,_0x4ce07c:0x32b,_0xe5981a:0x26f,_0x3e1f1d:0x539,_0x40348f:0x326,_0x296365:0x59a,_0x216b63:0x65b,_0x1fff70:0x26d,_0x40d5f4:0x2d4,_0x4262bc:0xcb,_0x1acf6f:0x24a,_0x1b8c64:0x129,_0x929bc8:0x5be,_0x36a42c:0x120},_0x91e553={_0xa1b3a2:0x864},_0x12f94a={_0x125558:0x235},_0x5437b9={_0x8739c5:0x102,_0x2434ac:0x31a},_0x336792={_0x46d6e0:0x40,_0x58cfcf:0x73},_0x30730b=this[_0x1dafa7(_0x5495d5._0x299794,0x35a,0x4eb,0x39f)]['get'](_0x39e33c);if(!_0x30730b)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x39e33c,{'shellId':_0x39e33c});if(_0x30730b[_0x1dafa7(_0x5495d5._0x3d24bd,_0x5495d5._0x38638b,_0x5495d5._0xea2590,0x24e)]&&!_0x30730b[_0x444318(_0x5495d5._0x4260fd,0x397,0x29d,0x347)])return _0x30730b[_0x444318(0x3bb,0x278,0x2e4,_0x5495d5._0x325c0c)];if(_0x30730b[_0x1dafa7(0x225,0x34b,_0x5495d5._0x2037be,_0x5495d5._0x578b23)]&&isTerminalStatus(_0x30730b[_0x1dafa7(_0x5495d5._0xf7e026,_0x5495d5._0x815e0e,0x3d7,_0x5495d5._0x5dc26e)]))return Promise[_0x1dafa7(0x56d,0x74d,0x409,_0x5495d5._0x4a6dd9)](this['result'](_0x30730b,_0x444318(0x396,_0x5495d5._0x1f60eb,0x4ae,0x365)));function _0x1dafa7(_0x288fb8,_0x38a4c3,_0x4449e,_0x405501){return _0x5885dd(_0x288fb8-0x44,_0x38a4c3,_0x4449e-_0x336792._0x46d6e0,_0x288fb8-_0x336792._0x58cfcf);}if(_0x30730b[_0x1dafa7(0x257,_0x5495d5._0x61295d,_0x5495d5._0x24eafc,0x3e1)]!==_0x444318(_0x5495d5._0xe63a8,0x4f9,_0x5495d5._0x43e3f9,_0x5495d5._0x4f8bfb))_0x30730b[_0x444318(_0x5495d5._0x4ce07c,0x28d,0x441,_0x5495d5._0xe5981a)]=_0x1dafa7(_0x5495d5._0x3e1f1d,_0x5495d5._0x40348f,0x5b8,_0x5495d5._0x296365);function _0x444318(_0x29164e,_0x27fd46,_0x4f7084,_0x514fca){return _0x16ac01(_0x29164e-_0x5437b9._0x8739c5,_0x514fca-_0x5437b9._0x2434ac,_0x4f7084-0xa7,_0x27fd46);}return _0x30730b[_0x444318(_0x5495d5._0x216b63,0x669,0x44b,0x4d1)]=!![],_0x30730b['terminationSettled']=![],_0x30730b[_0x1dafa7(_0x5495d5._0x1fff70,_0x5495d5._0x40d5f4,_0x5495d5._0x4262bc,0x366)]=this[_0x1dafa7(_0x5495d5._0x1acf6f,0x2f0,_0x5495d5._0x1b8c64,0x2aa)](_0x30730b),void _0x30730b['terminationPromise'][_0x444318(0x6d9,0x57b,0x74c,_0x5495d5._0x929bc8)](()=>{const _0x267610={_0xd6d8a5:0xf2,_0x1d555f:0xd0,_0x5c818b:0x112};function _0xa74771(_0x3df07b,_0x26e686,_0x2884c8,_0x131cdc){return _0x444318(_0x3df07b-_0x267610._0xd6d8a5,_0x3df07b,_0x2884c8-_0x267610._0x1d555f,_0x26e686- -_0x267610._0x5c818b);}_0x30730b[_0xa74771(0x88,_0x12f94a._0x125558,0x44a,0x3a)]=!![];},()=>{const _0x22e324={_0x2815d6:0x60};function _0x8cbbcc(_0x42f48a,_0x2de6a0,_0x4328db,_0x2ba6dd){return _0x1dafa7(_0x2ba6dd-0x383,_0x2de6a0,_0x4328db-_0x22e324._0x2815d6,_0x2ba6dd-0x69);}_0x30730b[_0x8cbbcc(_0x91e553._0xa1b3a2,0x7f4,0x72b,0x6b2)]=!![];}),_0x30730b[_0x1dafa7(_0x5495d5._0x3d24bd,0x3f7,_0x5495d5._0x36a42c,0x2cd)];}['closeAll'](){const _0xb5c1cb={_0x5d3b79:0x4d6,_0x3750f6:0x719,_0x44a8ca:0x8de,_0x1386e5:0x4ba,_0x45ccdd:0x524},_0x57f6ce={_0x4ff41b:0x19f,_0x4a6f24:0x665,_0x3817a0:0xda},_0x55bad3={_0x5e590e:0x2b9};function _0x1552ab(_0x32e32e,_0x449697,_0x3ddbce,_0x177d39){return _0x16ac01(_0x32e32e-0x3,_0x177d39-_0x55bad3._0x5e590e,_0x3ddbce-0x1e6,_0x449697);}function _0x5d6a58(_0x49455e,_0x40ea01,_0x2c7637,_0x215c13){return _0x16ac01(_0x49455e-_0x57f6ce._0x4ff41b,_0x215c13-_0x57f6ce._0x4a6f24,_0x2c7637-_0x57f6ce._0x3817a0,_0x40ea01);}return Promise[_0x5d6a58(_0xb5c1cb._0x5d3b79,_0xb5c1cb._0x3750f6,0x63c,0x642)]([...this[_0x5d6a58(0x5f3,_0xb5c1cb._0x44a8ca,0x64c,0x7b8)][_0x5d6a58(0x432,_0xb5c1cb._0x1386e5,_0xb5c1cb._0x45ccdd,0x5e1)]()]['map'](_0x4f7ce9=>this['kill'](_0x4f7ce9[_0x5d6a58(0x8d7,0x819,0x5e9,0x7c9)])));}async[_0x5885dd(0x3b5,0x623,0x356,0x4b3)](){const _0x50664={_0x498d34:0x31e,_0x2c021a:0x394,_0x2fff40:0x2b9,_0x2c2a36:0x42e,_0x3aeff3:0x279,_0x3292ab:0x3c3,_0x10c8e2:0x1b4,_0x16b0bf:0x2a9,_0x4c6641:0x2ce,_0x34aecf:0x14b},_0x5cf18f=await this[_0x4b079c(_0x50664._0x498d34,0x1ca,0xb9,_0x50664._0x2c021a)]();if(_0x5cf18f[_0x4b079c(_0x50664._0x2fff40,_0x50664._0x2c2a36,_0x50664._0x3aeff3,0x4da)](_0x5b59c2=>_0x5b59c2[_0x4b079c(0x3ee,0x3cf,0x5b6,0x34a)]==='failed'))throw new BackgroundProcessCleanupError(_0x5cf18f);function _0x4b079c(_0x5376a0,_0x208092,_0x4630d9,_0x2cfdde){return _0x5885dd(_0x5376a0-0x10,_0x5376a0,_0x4630d9-0x17b,_0x208092-0x4d);}this[_0x4b079c(_0x50664._0x3292ab,0x42f,0x48f,0x4f0)]['clear'](),this[_0x4b079c(_0x50664._0x10c8e2,0x311,_0x50664._0x16b0bf,0x201)][_0x4b079c(_0x50664._0x4c6641,0x33b,0x474,_0x50664._0x34aecf)]();function _0x70e5e8(_0x78872a,_0x1d2aab,_0x14f2fa,_0x44633a){return _0x5885dd(_0x78872a-0x1a9,_0x44633a,_0x14f2fa-0x1e,_0x78872a-0x20c);}return _0x5cf18f;}async[_0x5885dd(0x199,0x146,0x2a4,0x1d7)](_0x5cce2b){const _0x412db9={_0x10fb7e:0x3cc,_0x41668d:0x46e,_0x105191:0x589,_0x2f6621:0x87,_0x40e419:0x93,_0x11637d:0xf4,_0x1165ac:0x142,_0x356212:0x3ab,_0x31bbee:0x49a,_0x541d0:0x1d1,_0x19ad26:0x4ae,_0x16ece0:0x38,_0x106ba3:0x2de,_0x52f484:0x1a,_0x38794c:0x13b,_0x559f72:0x2b1,_0x4cf9e9:0x3d2,_0x318d6d:0xe0,_0x3007c3:0xa7,_0x46422f:0xf4,_0x1706e5:0x6a6,_0x4e907e:0x19f,_0x5d7e08:0x2cc,_0x29aa6e:0x459,_0x257a66:0x495,_0x414b3f:0x35c,_0x5b0533:0x49c,_0x1b3def:0x23c,_0x2491c7:0x190,_0x5f4a7f:0x1c7,_0x17276d:0x3d5,_0x41bebe:0x1e9,_0x20d4ec:0x197,_0x5b2006:0x354,_0x893b3f:0x5be,_0x415769:0x733},_0x4b9974={_0x44b16e:0x20,_0x883ba7:0x4c6},_0x1a0244={_0x57f849:0x24b};function _0x5673c8(_0x3b8993,_0x3a7052,_0x5a5d12,_0x48467d){return _0x5885dd(_0x3b8993-0xcb,_0x48467d,_0x5a5d12-0x1c9,_0x3a7052- -_0x1a0244._0x57f849);}_0x5cce2b[_0xd14a31(_0x412db9._0x10fb7e,0x38e,_0x412db9._0x41668d,_0x412db9._0x105191)]=!![];const _0x522827=await this[_0xd14a31(0x54f,0x52a,0x4ff,0x54e)][_0x5673c8(-0x1ef,0x23,_0x412db9._0x2f6621,0x1b0)]({'rootPid':_0x5cce2b[_0x5673c8(-_0x412db9._0x40e419,0x9b,_0x412db9._0x11637d,_0x412db9._0x1165ac)],'processGroupId':_0x5cce2b[_0xd14a31(_0x412db9._0x356212,_0x412db9._0x31bbee,0x69a,0x4a2)]},_0x5673c8(_0x412db9._0x541d0,0x2e1,0x3d7,_0x412db9._0x19ad26));if(_0x522827[_0x5673c8(-_0x412db9._0x16ece0,0x137,_0x412db9._0x106ba3,-_0x412db9._0x52f484)]===_0x5673c8(_0x412db9._0x38794c,_0x412db9._0x559f72,_0x412db9._0x4cf9e9,0x1b5))return this['failed'](_0x5cce2b,_0x522827['error']);if(await this[_0x5673c8(-_0x412db9._0x318d6d,_0x412db9._0x3007c3,_0x412db9._0x46422f,0x23a)](_0x5cce2b,TERMINATION_WINDOW_MS))return this[_0xd14a31(_0x412db9._0x1706e5,0x812,0x521,0x613)](_0x5cce2b);_0x5cce2b[_0x5673c8(0x349,0x28f,_0x412db9._0x4e907e,_0x412db9._0x5d7e08)]=!![];const _0x3ba80d=await this['signalAdapter']['signal']({'rootPid':_0x5cce2b[_0xd14a31(0x413,_0x412db9._0x29aa6e,_0x412db9._0x257a66,0x51d)],'processGroupId':_0x5cce2b['processGroupId']},_0xd14a31(_0x412db9._0x414b3f,0x5ef,0x533,_0x412db9._0x5b0533));function _0xd14a31(_0x152cd0,_0x12b5df,_0x3563ff,_0x590ea4){return _0x16ac01(_0x152cd0-_0x4b9974._0x44b16e,_0x590ea4-_0x4b9974._0x883ba7,_0x3563ff-0x159,_0x152cd0);}if(_0x3ba80d[_0x5673c8(-0x58,0x137,_0x412db9._0x1b3def,0x126)]===_0x5673c8(_0x412db9._0x2491c7,_0x412db9._0x559f72,_0x412db9._0x5f4a7f,_0x412db9._0x17276d))return this[_0x5673c8(0x14a,0x2b1,_0x412db9._0x41bebe,0x279)](_0x5cce2b,_0x3ba80d[_0x5673c8(0x303,0x1f6,_0x412db9._0x20d4ec,_0x412db9._0x5b2006)]);if(await this['waitForTerminal'](_0x5cce2b,TERMINATION_WINDOW_MS))return this['confirmed'](_0x5cce2b);return this[_0xd14a31(_0x412db9._0x893b3f,0x82e,0x877,_0x412db9._0x415769)](_0x5cce2b,'Background\x20process\x20termination\x20timed\x20out\x20after\x204000ms');}[_0x16ac01(0x6,0x14d,-0x24,0x15c)](_0x213b8f){const _0x5914e0={_0x3469b0:0x546,_0x333a76:0x4be,_0x2fe4a8:0xa33,_0x381ea7:0x813,_0x2d5085:0x91f,_0x2c1dc0:0x5c2,_0x40fffc:0x3f8,_0xe8be75:0x71c},_0x4ab5bb={_0x15f0e7:0x89,_0x62660c:0x569,_0x4aa629:0x181};function _0x3f72e7(_0x39cfc8,_0x3ada4f,_0x3428ee,_0x560a0e){return _0x16ac01(_0x39cfc8-_0x4ab5bb._0x15f0e7,_0x3428ee-_0x4ab5bb._0x62660c,_0x3428ee-_0x4ab5bb._0x4aa629,_0x560a0e);}function _0x526189(_0x1f28a5,_0x278cee,_0x2c0b46,_0x13b08f){return _0x5885dd(_0x1f28a5-0x143,_0x278cee,_0x2c0b46-0x136,_0x2c0b46-0x324);}return _0x213b8f[_0x3f72e7(_0x5914e0._0x3469b0,0x684,_0x5914e0._0x333a76,0x335)]==='error'?this[_0x526189(0x901,0x662,0x820,_0x5914e0._0x2fe4a8)](_0x213b8f,_0x213b8f[_0x526189(0x73f,0x70a,0x765,_0x5914e0._0x381ea7)]??_0x3f72e7(_0x5914e0._0x2d5085,0x8f1,0x7cd,_0x5914e0._0x2c1dc0)):this[_0x526189(0x5a5,0x4d2,0x55f,_0x5914e0._0x40fffc)](_0x213b8f,_0x526189(0x636,0x801,_0x5914e0._0xe8be75,0x7c4));}[_0x16ac01(0xdd,0x26d,0x2ef,0x127)](_0x3e2b58,_0x3b5b1d){const _0x131ff3={_0x5c0c7e:0xee,_0x54bdef:0x12,_0xdbb281:0x1d3,_0x394be0:0x95,_0x36c1fe:0x1f},_0x1e4a24={_0x39fa43:0x163},_0x457961={_0x5c3469:0x199,_0x464203:0x3b};_0x3e2b58['error']=_0x3b5b1d;function _0x30fa30(_0x5b9808,_0x21a1c5,_0xa3f0e0,_0x4db29c){return _0x16ac01(_0x5b9808-_0x457961._0x5c3469,_0x5b9808-0x3dc,_0xa3f0e0-_0x457961._0x464203,_0x21a1c5);}function _0x5a3204(_0xb485c8,_0x4e84c7,_0x5ac03e,_0xb3499c){return _0x16ac01(_0xb485c8-0x103,_0x4e84c7- -0x9a,_0x5ac03e-_0x1e4a24._0x39fa43,_0xb3499c);}return this[_0x5a3204(0x64,-_0x131ff3._0x5c0c7e,0x5,_0x131ff3._0x54bdef)](_0x3e2b58,_0x5a3204(0x256,_0x131ff3._0xdbb281,_0x131ff3._0x394be0,-_0x131ff3._0x36c1fe));}[_0x16ac01(0xd4,-0x54,-0x110,0x10)](_0x582bba,_0x26cef1){const _0x5da2a9={_0x4ebaa3:0x7ff,_0x281c90:0x757,_0x4ec632:0x830,_0x230e80:0xa88,_0x153781:0x584,_0xe2a125:0x6b4,_0x196796:0x47d,_0x17c64e:0x84d,_0x4a124:0xa52,_0x3aab63:0x876,_0x25d769:0x4c7,_0x21aed4:0x632,_0x331c33:0x66f};function _0x384dc7(_0x5f4d90,_0x3de31c,_0x46fa17,_0x4a1314){return _0x16ac01(_0x5f4d90-0x112,_0x3de31c-0x5a5,_0x46fa17-0x4e,_0x4a1314);}function _0x2b60cb(_0x1b810e,_0x4aceb6,_0x2d1c00,_0x3e2b6d){return _0x16ac01(_0x1b810e-0xaa,_0x1b810e-0x69b,_0x2d1c00-0xe3,_0x2d1c00);}return{'shellId':_0x582bba[_0x2b60cb(_0x5da2a9._0x4ebaa3,0x9f7,_0x5da2a9._0x281c90,_0x5da2a9._0x4ec632)],'outcome':_0x26cef1,'status':_0x582bba[_0x384dc7(0x456,0x4fa,0x694,0x5dc)],'exitCode':_0x582bba[_0x2b60cb(0x8b5,_0x5da2a9._0x230e80,0xa24,0x961)],'signal':_0x582bba[_0x384dc7(0x652,_0x5da2a9._0x153781,_0x5da2a9._0xe2a125,_0x5da2a9._0x196796)],'error':_0x582bba[_0x2b60cb(_0x5da2a9._0x17c64e,0xa64,_0x5da2a9._0x4a124,_0x5da2a9._0x3aab63)],'gracefulRequested':_0x582bba[_0x384dc7(_0x5da2a9._0x25d769,0x668,_0x5da2a9._0x21aed4,0x6c8)],'forceRequested':_0x582bba[_0x384dc7(0x7f5,0x7f0,0x834,_0x5da2a9._0x331c33)]};}[_0x5885dd(0x14e,0x11c,0x34d,0x2f2)](_0x432203,_0x4d0e62){const _0x3f4b39={_0x1057e8:0x156,_0x407884:0x335,_0x5aec64:0x4f9},_0xed5aba={_0x5f5d27:0x176,_0x2bf4ac:0x2a0,_0xe42c2f:0x5c8,_0x2610b3:0x4b1},_0x4f3079={_0x530b30:0x1eb,_0x3810ff:0xee},_0x156cbd={_0xb6df73:0x412,_0x4ebc6b:0x1cd};function _0x461b52(_0x2f3edb,_0x46ac70,_0x2b0dc6,_0x3b832b){return _0x16ac01(_0x2f3edb-0x129,_0x46ac70-_0x156cbd._0xb6df73,_0x2b0dc6-_0x156cbd._0x4ebc6b,_0x2b0dc6);}if(_0x432203[_0x461b52(_0x3f4b39._0x1057e8,_0x3f4b39._0x407884,_0x3f4b39._0x5aec64,0x313)])return Promise['resolve'](!![]);return new Promise(_0x164994=>{const _0x56db27={_0x2145b1:0x8f};let _0x12b55c=![];function _0x30c1cd(_0x410963,_0x206a91,_0x23436f,_0x17cdb3){return _0x461b52(_0x410963-_0x56db27._0x2145b1,_0x206a91- -0x52b,_0x410963,_0x17cdb3-0xc1);}const _0x440c3d=setTimeout(()=>{if(_0x12b55c)return;_0x12b55c=!![],_0x164994(![]);},_0x4d0e62);function _0x3805cf(_0xf8278d,_0x1c671b,_0x42d2a6,_0x55f4ef){return _0x461b52(_0xf8278d-_0x4f3079._0x530b30,_0x1c671b- -_0x4f3079._0x3810ff,_0x55f4ef,_0x55f4ef-0x138);}void _0x432203[_0x30c1cd(0xb5,_0xed5aba._0x5f5d27,_0xed5aba._0x2bf4ac,0xde)][_0x3805cf(0x4c2,_0xed5aba._0xe42c2f,_0xed5aba._0x2610b3,0x503)](()=>{if(_0x12b55c)return;_0x12b55c=!![],clearTimeout(_0x440c3d),_0x164994(!![]);});});}['appendDecoded'](_0xd1e2cc,_0x3bcb4e,_0x4ddc69,_0xaf67a4){const _0x406c88={_0x585e10:0xdb,_0x170d78:0x701,_0x1b3a5e:0x583,_0x5d18c4:0x92e,_0x359119:0xaa2,_0x55878a:0x9ac,_0x33f6ab:0x35,_0x539e73:0x99,_0x41c2b6:0xc6,_0x4e38d4:0xdb},_0x4816e7={_0x21b6f7:0x1a6},_0xfb505b={_0xed0da6:0x126,_0x21dffd:0x4d,_0x5d07a3:0xcb};function _0x21f401(_0x4aa901,_0x447dc1,_0x39f225,_0x48c0c5){return _0x16ac01(_0x4aa901-_0xfb505b._0xed0da6,_0x48c0c5- -_0xfb505b._0x21dffd,_0x39f225-_0xfb505b._0x5d07a3,_0x4aa901);}function _0x4bc1cd(_0x1b1d19,_0x4ced16,_0xf3deb9,_0x29b12c){return _0x5885dd(_0x1b1d19-_0x4816e7._0x21b6f7,_0x29b12c,_0xf3deb9-0x11a,_0x4ced16-0x3fe);}const _0xb1d673=_0x3bcb4e[_0x21f401(0xe4,-0x249,-0x32,-_0x406c88._0x585e10)](_0xaf67a4);this[_0x4bc1cd(0x716,_0x406c88._0x170d78,_0x406c88._0x1b3a5e,0x8de)](_0xd1e2cc,_0xd1e2cc[_0x4bc1cd(0x850,_0x406c88._0x5d18c4,_0x406c88._0x359119,_0x406c88._0x55878a)]?_0x4ddc69[_0x21f401(_0x406c88._0x33f6ab,-_0x406c88._0x539e73,-_0x406c88._0x41c2b6,-_0x406c88._0x4e38d4)](_0xb1d673):_0xb1d673);}[_0x16ac01(0x1d1,0x261,0x245,0x221)](_0xe1df95){const _0x4a16d4={_0x2e5fff:0x66f,_0x530ec8:0x7b9,_0x39a7f9:0x591,_0x313ab2:0x4e9,_0x1de3ac:0x2bd,_0x31d50e:0x42a,_0xf3f41d:0x690,_0x1331f5:0x669,_0x58360f:0x7c2,_0x1aeab6:0x4e6},_0x20c168={_0x485faf:0x32e},_0x261bf9={_0x408292:0x11a,_0x2eebd0:0x66e};function _0x4deb5a(_0x2aa980,_0x79900b,_0x518373,_0x4157e5){return _0x16ac01(_0x2aa980-_0x261bf9._0x408292,_0x2aa980-_0x261bf9._0x2eebd0,_0x518373-0x116,_0x4157e5);}this[_0x4deb5a(0x7ca,_0x4a16d4._0x2e5fff,_0x4a16d4._0x530ec8,0x9bc)](_0xe1df95);function _0x560feb(_0x441b69,_0x12d2b1,_0xaee572,_0x52abf2){return _0x16ac01(_0x441b69-0xdc,_0xaee572-_0x20c168._0x485faf,_0xaee572-0x62,_0x441b69);}!_0xe1df95[_0x4deb5a(_0x4a16d4._0x39a7f9,_0x4a16d4._0x313ab2,0x65d,0x527)]&&(_0xe1df95[_0x560feb(_0x4a16d4._0x1de3ac,_0x4a16d4._0x31d50e,0x251,0xb3)]=!![],_0xe1df95[_0x4deb5a(_0x4a16d4._0xf3f41d,_0x4a16d4._0x1331f5,0x669,0x70a)]()),this[_0x4deb5a(0x6a6,_0x4a16d4._0x58360f,_0x4a16d4._0x1aeab6,0x639)]();}[_0x5885dd(0x1ea,0x2d9,0x50b,0x3eb)](_0x558d68){const _0x4854d2={_0x254377:0x1ed,_0x1d087:0x2ac,_0x5b5fc1:0x472,_0x1cad24:0x9,_0x3d5eb0:0x13,_0x5e171e:0x1be,_0x3e6f30:0x2eb,_0x29120b:0x156,_0x192658:0x3b2,_0x289b06:0x570,_0x546e8e:0x3b,_0x18109e:0x1f8,_0x1ecad1:0xb6,_0x12860f:0xc7,_0x5b8dbb:0x7,_0x4a340c:0x16a,_0x5d2edc:0x1c3,_0x4184ca:0x43b,_0x2b0b29:0x501,_0x58c5ed:0x2e,_0x188097:0x110,_0x1afa90:0x124,_0x2144da:0x22,_0x5e6e0c:0xe9},_0x1ad8b6={_0x22ae04:0x180,_0x112109:0x10b},_0x5d10c9={_0x163d12:0xb6,_0xc14186:0x147};if(_0x558d68[_0x2b1b63(0x2b2,0xe2,_0x4854d2._0x254377,0x3d2)])return;function _0x1efdac(_0x55a99b,_0x26b265,_0x35c04d,_0x25d0d7){return _0x5885dd(_0x55a99b-_0x5d10c9._0x163d12,_0x26b265,_0x35c04d-_0x5d10c9._0xc14186,_0x55a99b- -0x23c);}_0x558d68[_0x2b1b63(0x2b2,_0x4854d2._0x1d087,_0x4854d2._0x5b5fc1,0x2a3)]=!![];const _0x22a42c=_0x558d68['stdoutDecoder'][_0x1efdac(-_0x4854d2._0x1cad24,0x1ad,_0x4854d2._0x3d5eb0,0x179)](),_0x2311d6=_0x558d68['stderrDecoder'][_0x2b1b63(0x33e,_0x4854d2._0x5e171e,_0x4854d2._0x3e6f30,0x41c)]();this[_0x1efdac(0xc7,-0xf7,_0x4854d2._0x29120b,-0xe3)](_0x558d68,_0x558d68['stripAnsi']?_0x558d68[_0x2b1b63(0x497,_0x4854d2._0x192658,_0x4854d2._0x289b06,0x2f2)][_0x1efdac(-_0x4854d2._0x546e8e,-0x3e,-_0x4854d2._0x18109e,-_0x4854d2._0x1ecad1)](_0x22a42c)+_0x558d68['stdoutNormalizer']['end']():_0x22a42c);function _0x2b1b63(_0x4fccc6,_0x359ab3,_0x549b59,_0x50d360){return _0x5885dd(_0x4fccc6-_0x1ad8b6._0x22ae04,_0x50d360,_0x549b59-0x111,_0x4fccc6-_0x1ad8b6._0x112109);}this[_0x1efdac(_0x4854d2._0x12860f,_0x4854d2._0x5b8dbb,_0x4854d2._0x4a340c,_0x4854d2._0x5d2edc)](_0x558d68,_0x558d68[_0x1efdac(0x2f4,_0x4854d2._0x4184ca,_0x4854d2._0x2b0b29,0x261)]?_0x558d68[_0x1efdac(_0x4854d2._0x58c5ed,-0x1e8,-_0x4854d2._0x188097,-0x38)][_0x2b1b63(0x30c,0x4d7,0x399,0x285)](_0x2311d6)+_0x558d68[_0x1efdac(0x2e,_0x4854d2._0x1afa90,-_0x4854d2._0x2144da,_0x4854d2._0x5e6e0c)]['end']():_0x2311d6);}[_0x16ac01(0xd8,0x74,0x1e6,0x16b)](_0x1f2aad,_0x3b8117){const _0x158963={_0x14febc:0x32f,_0x884c1a:0x25e,_0x1827f6:0x15e,_0x40926c:0xd9,_0x22a834:0x2b7,_0x3f1625:0x587,_0x577422:0x41a,_0x161d21:0x448,_0x5c974c:0x11e,_0x212a5a:0x25e,_0x2650f7:0x3c0,_0x7f0358:0x225,_0x5ccb18:0x310,_0x5ead0c:0x381,_0x62c266:0x4c7,_0x1ffb99:0x22c,_0x5b7340:0x2f0,_0x544f62:0x31a,_0x29cdd1:0x41a,_0x1cdbfd:0x2cc,_0x3726c5:0x15e,_0x2a8bd7:0x548,_0x270572:0x50e,_0x84797d:0x509,_0x91484e:0x2fc,_0xb2d96d:0x479,_0x48ea9d:0x2d0,_0x44ea3d:0x2cb,_0x38fbd2:0x25e,_0x4b8a58:0x1a2,_0x45ef14:0x31a,_0x2a8d79:0x4d9,_0x4f2a34:0x177,_0x3c126f:0x137,_0x1b8fef:0x64,_0x152f6d:0x109,_0x486dc8:0xd7,_0x9422d1:0x4fd,_0x4bbede:0x165,_0x5c6f2e:0xb7,_0x5e0625:0x2ce},_0x14af46={_0x56d839:0x0};if(_0x3b8117[_0x4b2efb(_0x158963._0x14febc,_0x158963._0x884c1a,0x21c,0x211)]===0x0)return;function _0x4b2efb(_0x591a4a,_0x131a2d,_0x360c89,_0xde122e){return _0x16ac01(_0x591a4a-_0x14af46._0x56d839,_0x131a2d-0x162,_0x360c89-0x1bb,_0x591a4a);}_0x1f2aad[_0x4b2efb(0x26a,_0x158963._0x1827f6,0x232,-0x86)][_0x4b2efb(0x8c,_0x158963._0x40926c,_0x158963._0x22a834,0x1c6)](_0x3b8117);function _0x4ecaba(_0x93d63f,_0x6adedd,_0x51abd6,_0x41be99){return _0x5885dd(_0x93d63f-0x112,_0x41be99,_0x51abd6-0x114,_0x6adedd-0x8f);}_0x1f2aad['bufferChars']+=_0x3b8117[_0x4ecaba(_0x158963._0x3f1625,_0x158963._0x577422,_0x158963._0x161d21,0x414)],_0x1f2aad['totalProduced']+=_0x3b8117[_0x4b2efb(_0x158963._0x5c974c,_0x158963._0x212a5a,0x269,_0x158963._0x2650f7)];while(_0x1f2aad[_0x4b2efb(0x342,0x310,0x2ae,0x110)]>this['capChars']){const _0x3b4f20=_0x1f2aad[_0x4b2efb(_0x158963._0x7f0358,_0x158963._0x5ccb18,_0x158963._0x5ead0c,0x50b)]-this[_0x4ecaba(0x291,0x2df,_0x158963._0x62c266,_0x158963._0x1ffb99)],_0x47acf3=_0x1f2aad[_0x4ecaba(_0x158963._0x5b7340,_0x158963._0x544f62,0x1bb,0x14f)][0x0];if(_0x47acf3===void 0x0)break;_0x47acf3[_0x4ecaba(0x3e1,_0x158963._0x29cdd1,_0x158963._0x1cdbfd,0x5ee)]<=_0x3b4f20?(_0x1f2aad[_0x4b2efb(0x9d,_0x158963._0x3726c5,-0x25,0x222)][_0x4ecaba(0x42c,_0x158963._0x2a8bd7,0x441,_0x158963._0x270572)](),_0x1f2aad['bufferChars']-=_0x47acf3[_0x4ecaba(0x536,0x41a,_0x158963._0x84797d,_0x158963._0x91484e)],_0x1f2aad[_0x4ecaba(_0x158963._0xb2d96d,0x2ea,0x250,_0x158963._0x48ea9d)]+=_0x47acf3[_0x4b2efb(_0x158963._0x44ea3d,_0x158963._0x38fbd2,0x46f,_0x158963._0x4b8a58)]):(_0x1f2aad[_0x4ecaba(0x1eb,_0x158963._0x45ef14,_0x158963._0x2a8d79,_0x158963._0x4f2a34)][0x0]=_0x47acf3[_0x4b2efb(-_0x158963._0x3c126f,_0x158963._0x1b8fef,-_0x158963._0x152f6d,-_0x158963._0x486dc8)](_0x3b4f20),_0x1f2aad[_0x4b2efb(_0x158963._0x9422d1,0x310,0x1e3,_0x158963._0x4bbede)]-=_0x3b4f20,_0x1f2aad[_0x4b2efb(-_0x158963._0x5c6f2e,0x12e,0x260,_0x158963._0x5e0625)]+=_0x3b4f20);}}[_0x5885dd(0xd8,0x25b,0xcb,0x2c7)](){const _0x294ccf={_0x2693d4:0x6a7,_0x308c92:0x504,_0x6cffb4:0x48d,_0x2fe8a2:0x674,_0x4dfc70:0x46b,_0x50ab19:0x612,_0x4193e1:0x502,_0x751505:0x44e,_0x29c3aa:0x6a9,_0xf805c3:0x1a1,_0x30db29:0x354},_0x131e3f={_0x17045e:0x53},_0x4d48a4={_0x3e1866:0x8e};function _0x4cccf3(_0x3ebd95,_0x500769,_0x3052b8,_0x427bfc){return _0x16ac01(_0x3ebd95-_0x4d48a4._0x3e1866,_0x500769-0x3b1,_0x3052b8-0xfa,_0x427bfc);}function _0x36bb56(_0x234a7b,_0x1e29f6,_0x39b3f8,_0x4efb28){return _0x5885dd(_0x234a7b-0x44,_0x234a7b,_0x39b3f8-_0x131e3f._0x17045e,_0x39b3f8-0x25a);}while(this[_0x4cccf3(_0x294ccf._0x2693d4,_0x294ccf._0x308c92,0x417,0x659)][_0x36bb56(0x66a,_0x294ccf._0x6cffb4,_0x294ccf._0x2fe8a2,0x48d)]>this[_0x4cccf3(_0x294ccf._0x4dfc70,0x5e3,_0x294ccf._0x50ab19,0x61b)]){const _0x50e3ba=[...this[_0x4cccf3(_0x294ccf._0x4193e1,0x504,_0x294ccf._0x751505,_0x294ccf._0x29c3aa)]['values']()]['filter'](_0x8c8760=>_0x8c8760[_0x36bb56(0x57a,0x2a1,0x40c,0x4ca)]&&isTerminalStatus(_0x8c8760[_0x36bb56(0x426,0x396,0x43e,0x336)]))['sort']((_0x254b81,_0x59f5c2)=>_0x254b81[_0x36bb56(0x84d,0x70c,0x70f,0x7b6)]-_0x59f5c2[_0x4cccf3(0x77d,0x5d7,0x6f2,0x68e)])[0x0];if(!_0x50e3ba)return;this[_0x36bb56(0x839,0x757,0x63c,0x473)][_0x4cccf3(_0x294ccf._0xf805c3,_0x294ccf._0x30db29,0x4b8,0x2bc)](_0x50e3ba['shellId']);}}};function createBashOutputTool(_0x480ce2){const _0x3ff526={_0x4062e7:0x464,_0x4d7907:0x4cd,_0x1c9b26:0x21b,_0x172233:0x128,_0x1a5f35:0x4ac,_0x598b46:0x5c1,_0x4ce9bb:0x467,_0x36ac4b:0x658,_0x527265:0x321,_0x2fc8cd:0x5d4,_0x27cf8e:0x570,_0x101ca0:0x252},_0x3d84c0={_0x41ed0:0x3c9,_0x26502f:0x881,_0x31d4e0:0x54c,_0x5b75f2:0x67c,_0x5a352f:0x298,_0x251289:0x5b4,_0x4d2710:0x3de,_0x2423f9:0x747,_0x55f878:0x5d6,_0xe508ee:0x52b,_0x205814:0x59d,_0x3417e0:0x578,_0x1ed03b:0x3f1,_0x4b195f:0x6c0,_0xededd7:0x7b5,_0x4a21c8:0x836,_0x428e17:0x1da,_0x45ea69:0x53,_0x2d4dfd:0x513,_0x4ec7d5:0x5d7,_0x460224:0x4f7,_0x4b77f8:0x332,_0x348a50:0x1ea,_0xcdff1d:0x25b},_0x1b7bde={_0x2e1fa5:0x26};function _0x43d6b3(_0x230f9e,_0x2a27f5,_0x2114df,_0x5511be){return _0x5885dd(_0x230f9e-_0x1b7bde._0x2e1fa5,_0x230f9e,_0x2114df-0x143,_0x2a27f5- -0x7f);}function _0x1dbf86(_0x27fa4f,_0x355559,_0x226651,_0x401126){return _0x16ac01(_0x27fa4f-0x25,_0x226651-0x31d,_0x226651-0x12f,_0x355559);}const {registry:_0x4d823c}=_0x480ce2;return defineTool({'name':'BashOutput','permissionClass':_0x1dbf86(_0x3ff526._0x4062e7,0x2e0,0x338,_0x3ff526._0x4d7907),'description':_0x1dbf86(0xa,0x30e,_0x3ff526._0x1c9b26,_0x3ff526._0x172233),'inputSchema':{'type':_0x43d6b3(0x687,_0x3ff526._0x1a5f35,_0x3ff526._0x598b46,0x296),'properties':{'shellId':{'type':_0x43d6b3(0x5d2,_0x3ff526._0x4ce9bb,_0x3ff526._0x36ac4b,_0x3ff526._0x527265)},'regex':{'type':_0x43d6b3(_0x3ff526._0x2fc8cd,_0x3ff526._0x4ce9bb,_0x3ff526._0x27cf8e,_0x3ff526._0x101ca0)}},'required':['shellId']},async *'execute'(_0x32afb0){const _0x5d7fb6={_0x538025:0xd6};function _0x4066de(_0x1b8ad9,_0x3ac1e7,_0x4a14cf,_0xff547c){return _0x43d6b3(_0x4a14cf,_0xff547c-0xe9,_0x4a14cf-0x1d8,_0xff547c-_0x5d7fb6._0x538025);}const _0x88b28d=_0x4d823c[_0x4066de(0x3f3,0x32e,0x328,_0x3d84c0._0x41ed0)](_0x32afb0[_0x5f8ec(_0x3d84c0._0x26502f,_0x3d84c0._0x31d4e0,_0x3d84c0._0x5b75f2,0x4d1)],_0x32afb0[_0x4066de(_0x3d84c0._0x5a352f,_0x3d84c0._0x251289,_0x3d84c0._0x4d2710,0x3b7)]?{'regex':_0x32afb0[_0x5f8ec(0x478,_0x3d84c0._0x2423f9,_0x3d84c0._0x55f878,_0x3d84c0._0xe508ee)]}:void 0x0);function _0x5f8ec(_0x44fd87,_0x21422f,_0x4a1356,_0x376f01){return _0x1dbf86(_0x44fd87-0x191,_0x44fd87,_0x4a1356-0x1fb,_0x376f01-0x14d);}return createToolOutput(_0x88b28d[_0x4066de(_0x3d84c0._0x205814,_0x3d84c0._0x3417e0,_0x3d84c0._0x1ed03b,0x5ae)],{'shellId':_0x32afb0[_0x5f8ec(_0x3d84c0._0x4b195f,_0x3d84c0._0xededd7,0x67c,_0x3d84c0._0x4a21c8)],'status':_0x88b28d[_0x4066de(_0x3d84c0._0x428e17,0x2c0,_0x3d84c0._0x45ea69,0x24e)],'exitCode':_0x88b28d[_0x4066de(0x4af,0x3a6,0x33b,_0x3d84c0._0x2d4dfd)],'signal':_0x88b28d[_0x5f8ec(0x323,_0x3d84c0._0x4ec7d5,_0x3d84c0._0x460224,_0x3d84c0._0x4b77f8)],'error':_0x88b28d['error'],'truncated':_0x88b28d[_0x4066de(0x187,0x222,_0x3d84c0._0x348a50,_0x3d84c0._0xcdff1d)]});}});}import{spawn as _0x2fce51}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x1ebf74 from'os';import*as _0x2fba8d from'path';import{StringDecoder as _0x24ef57}from'string_decoder';import{spawn as _0x5b8787}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x167be9){return _0x167be9 instanceof Error;}function resolveCarriageReturns(_0x4ee980){const _0x4b37c7={_0xb96150:0x58a,_0xdcd9c6:0x419,_0x4e0d88:0x3af,_0x1e396a:0x1a5,_0xfe71fe:0x41},_0x3b3074={_0xdf46a8:0x716,_0x1140e3:0x5cc,_0xbd39d4:0x563,_0x57f1ed:0x10,_0x3bff07:0x172},_0x5b4aa6={_0xf2e207:0x2a5,_0x2ece50:0x28,_0x4d1ee2:0x16f},_0x4f2a9d={_0x5a0504:0x92,_0x470144:0xfe},_0x4f3f17={_0x23e17a:0x105};function _0x528b27(_0x226219,_0x1baabd,_0x1c77e6,_0x5f4199){return _0x5885dd(_0x226219-0x14f,_0x1baabd,_0x1c77e6-0xce,_0x226219- -_0x4f3f17._0x23e17a);}function _0x28ae89(_0x18229b,_0x3b311d,_0x542165,_0x5b53ae){return _0x5885dd(_0x18229b-0x6b,_0x542165,_0x542165-0x1f,_0x5b53ae- -0x16d);}return _0x4ee980[_0x28ae89(_0x4b37c7._0xb96150,_0x4b37c7._0xdcd9c6,0x534,_0x4b37c7._0x4e0d88)]('\x0a')[_0x28ae89(-0xe5,_0x4b37c7._0x1e396a,-_0x4b37c7._0xfe71fe,-0x1f)](_0x11b5cd=>{if(!_0x11b5cd[_0x31b107(_0x3b3074._0xdf46a8,_0x3b3074._0x1140e3,0x782,_0x3b3074._0xbd39d4)]('\x0d'))return _0x11b5cd;function _0x31b107(_0x45e167,_0x2d2bee,_0x58ac0c,_0x31df9e){return _0x28ae89(_0x45e167-_0x4f2a9d._0x5a0504,_0x2d2bee-_0x4f2a9d._0x470144,_0x58ac0c,_0x45e167-0x39f);}const _0x26003b=_0x11b5cd[_0x28d9cf(_0x3b3074._0x57f1ed,0xc3,_0x3b3074._0x3bff07,0x32d)]('\x0d');function _0x28d9cf(_0x4fdedd,_0x2027c0,_0x1aac9b,_0x3c8c90){return _0x528b27(_0x1aac9b- -_0x5b4aa6._0xf2e207,_0x2027c0,_0x1aac9b-_0x5b4aa6._0x2ece50,_0x3c8c90-_0x5b4aa6._0x4d1ee2);}return _0x26003b[_0x26003b['length']-0x1]??'';})['join']('\x0a');}function _0x16ac01(_0x1440a2,_0x20956e,_0xbbfcf1,_0x23b960){return _0xa933(_0x20956e- -0x2b3,_0x23b960);}function resolveBackspaces(_0x22a95e){const _0x3458a2={_0x55e888:0x68b,_0x398bae:0x5c7,_0x5d3bde:0x651,_0x3b2cd7:0x7ec},_0x5e0e3b={_0x266e64:0x1bc,_0x4220f0:0x2e,_0x58553e:0x1b5},_0x5ac5cb={_0x418472:0x1ce,_0x2d27b7:0x209},_0x49e9db=[];function _0x2f6950(_0x44477b,_0x281c24,_0x24aae5,_0x3cdc44){return _0x5885dd(_0x44477b-0xd6,_0x3cdc44,_0x24aae5-_0x5ac5cb._0x418472,_0x24aae5- -_0x5ac5cb._0x2d27b7);}for(const _0x5f6c5 of Array[_0x5b7c54(_0x3458a2._0x55e888,_0x3458a2._0x398bae,0x55b,_0x3458a2._0x5d3bde)](_0x22a95e)){_0x5f6c5==='\x08'?_0x49e9db['pop']():_0x49e9db['push'](_0x5f6c5);}function _0x5b7c54(_0x4f7050,_0xfe97d7,_0x113390,_0x2e2ae2){return _0x5885dd(_0x4f7050-_0x5e0e3b._0x266e64,_0x2e2ae2,_0x113390-_0x5e0e3b._0x4220f0,_0x113390-_0x5e0e3b._0x58553e);}return _0x49e9db[_0x5b7c54(0x4f7,0x43a,0x64a,_0x3458a2._0x3b2cd7)]('');}function stripAnsiAndControls(_0x13f60b){const _0x2503c2={_0x598e1c:0x872,_0x27b34f:0x375,_0x5b9d22:0x315,_0x416649:0x3e1,_0x56709f:0x164,_0x5811b6:0x3ff,_0x2ec28a:0x39d,_0xef25bc:0x290,_0x25cbd4:0x189,_0x3e03a4:0x247,_0x5867fc:0x379,_0x435fa8:0x4e4,_0x47e648:0x2a9,_0x1f40bf:0x7d0,_0x4a1c10:0x6f6},_0x364528={_0x1ccd2a:0x1a4},_0x3c600d={_0x180597:0x1a,_0x55373d:0x1c3,_0xeb2f18:0x267};_0x13f60b=resolveCarriageReturns(_0x13f60b);function _0x59b306(_0x3f6d32,_0x4dd34d,_0x3d8afd,_0x552c17){return _0x5885dd(_0x3f6d32-_0x3c600d._0x180597,_0x552c17,_0x3d8afd-_0x3c600d._0x55373d,_0x3d8afd-_0x3c600d._0xeb2f18);}function _0x524b76(_0x39a9fa,_0x35ecc9,_0x5b7de4,_0x8b9abf){return _0x5885dd(_0x39a9fa-0x1ad,_0x39a9fa,_0x5b7de4-_0x364528._0x1ccd2a,_0x35ecc9- -0x1f4);}_0x13f60b=resolveBackspaces(_0x13f60b),_0x13f60b=stripVTControlCharacters(_0x13f60b);const _0x1b716f='\x1b',_0x2f4030='\x07';return _0x13f60b=_0x13f60b[_0x59b306(0x603,0x824,0x7d0,_0x2503c2._0x598e1c)](new RegExp(';[^'+_0x2f4030+'\x5cn]*?'+_0x2f4030,'g'),''),_0x13f60b=_0x13f60b[_0x524b76(0x1d4,_0x2503c2._0x27b34f,_0x2503c2._0x5b9d22,0x505)](new RegExp(';[^\x5cn]*?'+_0x1b716f+'\x5c\x5c','g'),''),_0x13f60b=_0x13f60b['replace'](new RegExp(_0x2f4030,'g'),''),_0x13f60b=_0x13f60b[_0x524b76(_0x2503c2._0x416649,0x375,0x4de,_0x2503c2._0x56709f)](new RegExp(_0x1b716f+'[P_^][\x5cs\x5cS]*?'+_0x1b716f+'\x5c\x5c','g'),''),_0x13f60b=_0x13f60b[_0x524b76(_0x2503c2._0x5811b6,0x375,_0x2503c2._0x2ec28a,0x561)](new RegExp(_0x1b716f+_0x524b76(_0x2503c2._0xef25bc,_0x2503c2._0x25cbd4,0x109,_0x2503c2._0x3e03a4),'g'),''),_0x13f60b=_0x13f60b['replace'](/[\u0080-\u009F]/g,''),_0x13f60b=_0x13f60b[_0x524b76(_0x2503c2._0x5867fc,0x375,_0x2503c2._0x435fa8,_0x2503c2._0x47e648)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x13f60b=_0x13f60b[_0x59b306(0x6bb,0x81c,_0x2503c2._0x1f40bf,_0x2503c2._0x4a1c10)](/[\u23CE\u2424]/g,''),_0x13f60b;}function killProcessGroup(_0x3251a2,_0x85654c,_0x52af60='SIGKILL'){const _0x521041={_0x179405:0x2f,_0x4c44f0:0x1ef,_0x138d77:0x1b6,_0x6afb25:0x12d,_0xa19644:0x2,_0x19df2f:0xb4,_0x1e5d7e:0x3cb,_0x17fcb9:0x2cd,_0x6ee70a:0x103,_0x4d8d51:0x304,_0x264197:0x18e,_0x50fc63:0x4e9,_0x4ef75a:0x4d1,_0x8733f0:0x559,_0x434b68:0x6a7,_0x5922d9:0x6d1,_0xda9621:0x3e8},_0x4dfb98={_0xbbc83:0x169},_0x4da8a7={_0x22aac0:0xd3,_0x57bf27:0x95,_0x5ecf3d:0x340};function _0x187120(_0x37be5f,_0x27e452,_0x316467,_0x56fe80){return _0x5885dd(_0x37be5f-_0x4da8a7._0x22aac0,_0x56fe80,_0x316467-_0x4da8a7._0x57bf27,_0x37be5f- -_0x4da8a7._0x5ecf3d);}if(!_0x3251a2[_0x187120(-0x5a,-_0x521041._0x179405,-_0x521041._0x4c44f0,_0x521041._0x138d77)])return;function _0xc7fbfc(_0x4bbd86,_0x8534e4,_0x2a9dfb,_0x5db601){return _0x5885dd(_0x4bbd86-_0x4dfb98._0xbbc83,_0x4bbd86,_0x2a9dfb-0x1e5,_0x2a9dfb- -0x19);}if(_0x85654c)try{_0x5b8787(_0xc7fbfc(_0x521041._0x6afb25,-_0x521041._0xa19644,0x192,_0x521041._0x19df2f),['/pid',_0x3251a2[_0xc7fbfc(0x2d7,_0x521041._0x1e5d7e,_0x521041._0x17fcb9,_0x521041._0x6ee70a)]['toString'](),'/T','/F'],{'stdio':_0x187120(-0x1b4,0x4c,-_0x521041._0x4d8d51,-_0x521041._0x264197)});return;}catch{_0x3251a2[_0xc7fbfc(0x6cd,_0x521041._0x50fc63,_0x521041._0x4ef75a,_0x521041._0x8733f0)](_0x52af60);return;}try{process[_0xc7fbfc(_0x521041._0x434b68,_0x521041._0x5922d9,0x4d1,_0x521041._0xda9621)](-_0x3251a2['pid'],_0x52af60);}catch{_0x3251a2[_0xc7fbfc(0x58a,0x631,0x4d1,0x2c4)](_0x52af60);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION='Run\x20a\x20non-interactive\x20shell\x20command\x20with\x20timeout\x20protection\x20and\x20capture\x20stdout/stderr.\x20Use\x20FileRead\x20for\x20file\x20contents.\x20Use\x20outputRegex\x20for\x20focused\x20foreground\x20output,\x20ignoreOutput\x20when\x20only\x20the\x20exit\x20status\x20matters,\x20and\x20runInBackground\x20for\x20servers\x20or\x20watchers;\x20follow\x20background\x20runs\x20with\x20BashOutput\x20or\x20KillShell.\x20Provide\x20a\x20concise\x20user-facing\x20purpose\x20in\x20description.\x20Default\x20timeout:\x20'+DEFAULT_TIMEOUT_MS+_0x16ac01(-0xc,-0x76,-0x284,-0x12c);function buildChildEnv(_0x5d53ff,_0x4f8a7e,_0xf730f4){const _0x1d6b01={_0x3d460b:0x3ac,_0x25f085:0x2ae,_0x37ec8c:0x2a1,_0x4f41a7:0x534,_0x25c9a2:0xc2,_0x2a1fa1:0x487,_0x333e75:0x49c,_0x3fdef3:0x3bc,_0x10ac84:0x673,_0x127fa1:0x417},_0x420695={_0x5c5643:0x155,_0x527f59:0xe4,_0x2e7fbf:0x1b2},_0x5191d9={_0x20cf08:0x1cd,_0x34afc1:0x47};function _0x4ac9b1(_0x1ca211,_0xcce032,_0x92168,_0x1b46a4){return _0x5885dd(_0x1ca211-_0x5191d9._0x20cf08,_0x1b46a4,_0x92168-0xf6,_0xcce032-_0x5191d9._0x34afc1);}const _0x31c295={...process['env'],..._0x5d53ff??{}};function _0x39f15c(_0x311376,_0x29b12d,_0x27bfcf,_0x2361c4){return _0x5885dd(_0x311376-_0x420695._0x5c5643,_0x311376,_0x27bfcf-_0x420695._0x527f59,_0x27bfcf-_0x420695._0x2e7fbf);}if(_0x1ebf74[_0x4ac9b1(0x19e,0x38e,_0x1d6b01._0x3d460b,_0x1d6b01._0x25f085)]()===_0x39f15c(_0x1d6b01._0x37ec8c,0x5c1,0x3e3,_0x1d6b01._0x4f41a7)){const _0x4892a6=new Set(_0x4f8a7e[_0x4ac9b1(0x32d,0x195,_0x1d6b01._0x25c9a2,0x193)](_0x5b0203=>_0x5b0203[_0x39f15c(0x1fd,0x200,0x374,0x41a)]()));for(const _0x3e9457 of Object[_0x4ac9b1(_0x1d6b01._0x2a1fa1,_0x1d6b01._0x333e75,0x3e8,_0x1d6b01._0x3fdef3)](_0x31c295)){if(_0x4892a6['has'](_0x3e9457['toLowerCase']()))delete _0x31c295[_0x3e9457];}}else{for(const _0x4e6a41 of _0x4f8a7e)delete _0x31c295[_0x4e6a41];if(_0xf730f4[_0x4ac9b1(0x554,0x3d2,0x3a7,0x1e6)]>0x0)for(const _0x4d08b0 of Object[_0x4ac9b1(0x478,0x49c,_0x1d6b01._0x10ac84,0x387)](_0x31c295)){_0xf730f4[_0x4ac9b1(0x48e,0x428,_0x1d6b01._0x127fa1,0x339)](_0xb9fa14=>_0x4d08b0[_0x39f15c(0x545,0x1d1,0x37a,0x1eb)](_0xb9fa14))&&delete _0x31c295[_0x4d08b0];}}return _0x31c295;}function mapSpawnError(_0x146132,_0x59cc0a){const _0x554eff={_0x55b2e3:0x54e,_0x46717e:0x4bc,_0x162190:0x301,_0x432f08:0x3ec,_0x301936:0x41d,_0x54f6da:0x286,_0xe0d628:0x30a,_0x520774:0x1c2,_0x251c77:0x12a},_0x2a24ba={_0x27bb05:0x1e3},_0x251065={_0x4d2692:0x1d9};if(isErrnoException2(_0x146132)&&_0x146132[_0x3edb63(0x3b6,_0x554eff._0x55b2e3,_0x554eff._0x46717e,0x3d1)]===_0x2d282b(_0x554eff._0x162190,_0x554eff._0x432f08,0x2e1,0x316))return new ToolExecutionError(_0x3edb63(0x321,_0x554eff._0x301936,_0x554eff._0x54f6da,0x34a)+_0x59cc0a[_0x2d282b(_0x554eff._0xe0d628,0x2d0,_0x554eff._0x520774,0x140)],_0x59cc0a);function _0x3edb63(_0x86a6ac,_0x344877,_0x4c0e55,_0x5ba962){return _0x16ac01(_0x86a6ac-_0x251065._0x4d2692,_0x5ba962-0x296,_0x4c0e55-0x106,_0x344877);}function _0x2d282b(_0x2946d8,_0x553b38,_0x5adc8a,_0x16acdf){return _0x5885dd(_0x2946d8-0x42,_0x553b38,_0x5adc8a-_0x2a24ba._0x27bb05,_0x2946d8- -0x248);}return new ToolExecutionError(_0x146132 instanceof Error?_0x146132[_0x2d282b(0xd5,0xcc,-_0x554eff._0x251c77,0x1f7)]:String(_0x146132),_0x59cc0a);}function shellExists(_0x2b39dd){const _0x418d01={_0x274330:0x6d2,_0xb28e58:0x6f2},_0x3b3db7={_0x2e1b30:0xa4,_0x4f497a:0x82};function _0x34e835(_0xc65efd,_0xe1e312,_0x1d23db,_0x2f75c5){return _0x16ac01(_0xc65efd-_0x3b3db7._0x2e1b30,_0x2f75c5-0x577,_0x1d23db-_0x3b3db7._0x4f497a,_0xc65efd);}try{const _0x119db=statSync(_0x2b39dd);return _0x119db[_0x34e835(0x5f6,_0x418d01._0x274330,_0x418d01._0xb28e58,0x67d)]()&&(_0x119db['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3b2a83){const _0x51fbad={_0x32a752:0x316,_0x54e258:0x4bf,_0x3493f9:0x4e6,_0x1a18bd:0x493,_0xa60183:0x502,_0x4e9599:0x3d0,_0x50345e:0x587,_0x1971aa:0x6be,_0x29031c:0x667,_0xa37a46:0x412,_0x21172e:0x127,_0x10da10:0x67a,_0x257901:0x847,_0x2b5117:0x2dc,_0x42a22b:0x497,_0x1bdcda:0x3d7,_0xfc26be:0x4bd,_0x319915:0x810,_0x588120:0x8cd,_0x5a4b76:0x75a,_0x84696:0x7f2,_0xc3ca53:0x5e3,_0x4e9fa9:0x3f4,_0x29f7b9:0x10e,_0x4f80d4:0x324},_0x2cc54e={_0x73b6d5:0x15c,_0x56f9b1:0x66},_0x4a7d47={_0x20ed54:0xd8,_0x41a84e:0xc2};if(_0x3b2a83)return _0x3b2a83;if(_0x1ebf74[_0x5aac18(_0x51fbad._0x32a752,_0x51fbad._0x54e258,_0x51fbad._0x3493f9,_0x51fbad._0x1a18bd)]()===_0x5aac18(_0x51fbad._0xa60183,0x41b,_0x51fbad._0x4e9599,0x201))return process[_0x5aac18(0x86e,_0x51fbad._0x50345e,_0x51fbad._0x1971aa,_0x51fbad._0x29031c)][_0x5aac18(0x379,0x484,0x352,_0x51fbad._0xa37a46)]||_0x3360e3(_0x51fbad._0x21172e,0x187,0x275,0x2c3);function _0x3360e3(_0x20034f,_0x468ea0,_0x25e3cd,_0x262a5e){return _0x16ac01(_0x20034f-0x173,_0x25e3cd-_0x4a7d47._0x20ed54,_0x25e3cd-_0x4a7d47._0x41a84e,_0x262a5e);}const _0x21e0e0=[_0x5aac18(0x84e,0x5e3,_0x51fbad._0x10da10,_0x51fbad._0x257901),_0x5aac18(_0x51fbad._0x2b5117,_0x51fbad._0x42a22b,_0x51fbad._0x1bdcda,0x441),'/usr/bin/bash',_0x5aac18(0x4af,_0x51fbad._0xfc26be,0x497,0x34a)];for(const _0xd36c0b of _0x21e0e0){if(shellExists(_0xd36c0b))return _0xd36c0b;}function _0x5aac18(_0x334d89,_0x34435f,_0x583433,_0x591b36){return _0x5885dd(_0x334d89-_0x2cc54e._0x73b6d5,_0x334d89,_0x583433-_0x2cc54e._0x56f9b1,_0x583433-0x19f);}const _0x4e5243=process[_0x5aac18(_0x51fbad._0x319915,_0x51fbad._0x588120,0x6be,_0x51fbad._0x5a4b76)][_0x5aac18(_0x51fbad._0x84696,0x7a1,_0x51fbad._0xc3ca53,_0x51fbad._0x4e9fa9)];if(_0x4e5243&&shellExists(_0x4e5243))return _0x4e5243;return _0x3360e3(0x497,_0x51fbad._0x29f7b9,_0x51fbad._0x4f80d4,0x3a4);}function buildShellArgs(_0x5bd596,_0x251a26){const _0x766889={_0x2951c5:0x5f7,_0x50b7f6:0x44a,_0x4b0738:0x538,_0x1783bd:0x615,_0x50bbd6:0x7ce,_0x4d7cb4:0x6e2,_0x5d878e:0x21b},_0x5356b9={_0x132f4b:0xb8},_0x1bd64f={_0x82e616:0x514,_0x37fe45:0x135};if(_0x1ebf74['platform']()==='win32'){const _0x2a113d=/cmd(\.exe)?$/i[_0x8b5ed0(_0x766889._0x2951c5,_0x766889._0x50b7f6,0x75a,_0x766889._0x4b0738)](_0x251a26);return _0x2a113d?['/d','/s','/c',_0x5bd596]:[_0x24c557(0x7cb,0x60b,_0x766889._0x1783bd,0x8eb),_0x8b5ed0(0x6ac,_0x766889._0x50bbd6,_0x766889._0x4d7cb4,0x5eb),_0x8b5ed0(0x34b,0x2f2,0x50b,_0x766889._0x5d878e),_0x5bd596];}function _0x24c557(_0xcff14,_0x1f9022,_0x2745c7,_0x3e2013){return _0x16ac01(_0xcff14-0x1a5,_0xcff14-_0x1bd64f._0x82e616,_0x2745c7-_0x1bd64f._0x37fe45,_0x1f9022);}function _0x8b5ed0(_0x5b179b,_0x5573f0,_0x8c43c1,_0x4fb7f0){return _0x16ac01(_0x5b179b-_0x5356b9._0x132f4b,_0x5b179b-0x44f,_0x8c43c1-0x17e,_0x5573f0);}return['-c',_0x5bd596];}function resolveWorkingDirectory(_0x5d4659,_0x19587e,_0x44ecd3){const _0xdc38c4={_0x178904:0x133,_0x434368:0x91,_0x4e4328:0x18e},_0x13189d={_0x5da699:0x54c,_0x5f2157:0x668,_0x4d1858:0x5db,_0x1d9c72:0x4d4,_0xff11c5:0x5d6},_0x225ab0={_0x578d25:0x14c,_0x59d9ae:0x16b,_0x37f1f:0x157},_0xcc5f5c={_0xbc7588:0x29,_0xa32625:0x158};function _0x27fed4(_0x46eed5,_0xec0a97,_0x2e32f4,_0x313859){return _0x5885dd(_0x46eed5-_0xcc5f5c._0xbc7588,_0x46eed5,_0x2e32f4-_0xcc5f5c._0xa32625,_0x313859- -0x3ab);}function _0x32b8ec(_0x33f056,_0x3ef283,_0x64694f,_0x348d9a){return _0x5885dd(_0x33f056-_0x225ab0._0x578d25,_0x64694f,_0x64694f-_0x225ab0._0x59d9ae,_0x3ef283- -_0x225ab0._0x37f1f);}const _0x2abe01=resolveAllowedPath(_0x19587e,_0x44ecd3,_0x5d4659??'.');try{const _0x1dab8c=statSync(_0x2abe01);if(!_0x1dab8c['isDirectory']())throw new ToolExecutionError(_0x27fed4(-0x1f0,-_0xdc38c4._0x178904,-0x19a,-0x206)+_0x2abe01,{'cwd':_0x2abe01});const _0x564ad3=realpathSync(_0x2abe01),_0x5ca524=realpathSync(_0x19587e),_0x2e75dd=_0x44ecd3[_0x32b8ec(-0x6f,-0x9,_0xdc38c4._0x434368,_0xdc38c4._0x4e4328)](_0x20f373=>{const _0x251dc8={_0xef1b3c:0x165};function _0x250655(_0x5c57c0,_0x43aef5,_0x5ca7f4,_0x1a12a1){return _0x32b8ec(_0x5c57c0-0x125,_0x5c57c0-0x2c5,_0x1a12a1,_0x1a12a1-0xcb);}function _0x4428f5(_0x1590f2,_0xcd63f2,_0xb86dfa,_0x1e0989){return _0x32b8ec(_0x1590f2-_0x251dc8._0xef1b3c,_0xcd63f2-0xfe,_0x1590f2,_0x1e0989-0x1ed);}try{return realpathSync(_0x2fba8d[_0x4428f5(_0x13189d._0x5da699,0x4a1,0x3cd,0x46c)](_0x20f373));}catch{return _0x2fba8d[_0x250655(_0x13189d._0x5f2157,_0x13189d._0x4d1858,_0x13189d._0x1d9c72,_0x13189d._0xff11c5)](_0x20f373);}});return resolveAllowedPath(_0x5ca524,_0x2e75dd,_0x564ad3);}catch(_0x4ebac3){if(_0x4ebac3 instanceof ToolExecutionError)throw _0x4ebac3;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x2abe01,{'cwd':_0x2abe01});}}function resolveBashExecutionTarget(_0x2f2989,_0x4dca03={}){const _0x401942={_0x41df53:0x5f2,_0x5cf58d:0x540,_0x8f4cef:0x4b7,_0x187bf2:0x400,_0x4a18bb:0x5b4,_0x3fa3f1:0x480,_0x3f9f3d:0x492,_0x4b219e:0x4a3,_0x4ef203:0x54b,_0x19be07:0x75f,_0x435d89:0x65e},_0x3c64cb={_0x14d572:0xd},_0x29661f={_0x1dcacb:0x2dd};function _0x4affad(_0x5b68f2,_0x2ab925,_0x128620,_0x5ba8ee){return _0x16ac01(_0x5b68f2-0xeb,_0x5b68f2-_0x29661f._0x1dcacb,_0x128620-0x194,_0x128620);}const _0x5ca622=_0x2fba8d[_0x4affad(0x548,_0x401942._0x41df53,_0x401942._0x5cf58d,0x3ae)](_0x4dca03[_0x30304a(_0x401942._0x8f4cef,_0x401942._0x187bf2,_0x401942._0x4a18bb,0x571)]??process[_0x30304a(_0x401942._0x3fa3f1,0x3da,_0x401942._0x3f9f3d,0x399)]());function _0x30304a(_0x1b6ea,_0x1106a5,_0x242d02,_0x2b5814){return _0x5885dd(_0x1b6ea-_0x3c64cb._0x14d572,_0x1106a5,_0x242d02-0x1d9,_0x2b5814-0x205);}const _0x32a710=resolveDefaultShell(_0x4dca03['shellPath']);return{'command':_0x2f2989[_0x30304a(_0x401942._0x4b219e,_0x401942._0x4ef203,_0x401942._0x19be07,_0x401942._0x435d89)],'cwd':resolveWorkingDirectory(_0x2f2989[_0x30304a(0x34c,0x22a,0x4f0,0x399)],_0x5ca622,_0x4dca03['allowedDirs']??[]),'shellPath':_0x32a710,'dialect':resolveShellDialect(_0x32a710),'background':_0x2f2989['runInBackground']??![]};}function resolveShellDialect(_0x59d5dd){const _0x39c7b4={_0x4fc440:0x6d6,_0x111c8:0x5c0,_0x2c8f25:0x758,_0x2a264e:0x5b2,_0x252f04:0x6b6,_0x56d45d:0x695,_0xaf406b:0x238,_0x19d079:0x4fb,_0x325a7c:0x5fa,_0x3c3945:0x752,_0xb429d9:0x880,_0x56f829:0x8a5,_0x195e97:0x34c,_0x315515:0x284,_0x3701a2:0x273,_0x4dad14:0xfa,_0x5babbf:0xc0,_0x119c81:0x475},_0x4e9917={_0x127548:0x1b0,_0x4fc72c:0x175};if(_0x1ebf74[_0x4771d6(0x8db,_0x39c7b4._0x4fc440,0x4d3,0x706)]()===_0x4771d6(0x7c8,_0x39c7b4._0x111c8,_0x39c7b4._0x2c8f25,0x52e))return _0x4771d6(_0x39c7b4._0x2a264e,_0x39c7b4._0x252f04,0x55f,_0x39c7b4._0x56d45d);function _0x23fc8d(_0x40c0f0,_0x34fc90,_0xf8e007,_0x389f30){return _0x5885dd(_0x40c0f0-_0x4e9917._0x127548,_0x389f30,_0xf8e007-_0x4e9917._0x4fc72c,_0xf8e007- -0xf2);}const _0x376e9f=_0x2fba8d[_0x23fc8d(_0x39c7b4._0xaf406b,_0x39c7b4._0x19d079,0x3eb,_0x39c7b4._0x325a7c)](_0x59d5dd)['toLowerCase']();function _0x4771d6(_0x1ac64f,_0xc0a63b,_0x1501d8,_0xda073e){return _0x16ac01(_0x1ac64f-0x18,_0xc0a63b-0x61e,_0x1501d8-0x26,_0xda073e);}if(_0x376e9f===_0x4771d6(0x66c,_0x39c7b4._0x3c3945,_0x39c7b4._0xb429d9,_0x39c7b4._0x56f829))return _0x23fc8d(_0x39c7b4._0x195e97,0x17f,0x2d1,_0x39c7b4._0x315515);if(_0x376e9f==='sh'||_0x376e9f===_0x23fc8d(0x214,_0x39c7b4._0x3701a2,_0x39c7b4._0x4dad14,_0x39c7b4._0x5babbf))return'posix';return _0x23fc8d(0x3f0,0x33d,_0x39c7b4._0x119c81,0x37f);}function emitChunk(_0x2c3ce5,_0x2ad01f,_0x5dc2e2,_0x43dd9e){const _0x5851c7={_0x4cdf88:0x27e,_0x3ef6cc:0x143},_0x10f0ac={_0xea2f1f:0xd4,_0x28649a:0x11a};_0x2c3ce5[_0x4fbb07(_0x5851c7._0x4cdf88,0x81,_0x5851c7._0x3ef6cc,0x2aa)](_0x5dc2e2);function _0x4fbb07(_0x47dc9a,_0x1d14b5,_0xb930a4,_0x2e6268){return _0x5885dd(_0x47dc9a-_0x10f0ac._0xea2f1f,_0x2e6268,_0xb930a4-_0x10f0ac._0x28649a,_0xb930a4- -0xc3);}_0x2ad01f['push'](_0x5dc2e2),_0x43dd9e();}function appendChunk(_0x53a8f3,_0x53216b,_0xfa9086,_0x581efd,_0x2d4b12,_0x890e7e){const _0x44490b={_0x4570d3:0x703,_0x4cf8db:0x415,_0x15ca0e:0x451,_0x593dfb:0x540,_0x182246:0x460,_0xd078a5:0x4b7,_0x19d9e3:0x245,_0x53a7fd:0x127,_0x5025ec:0x2e0,_0x43b878:0x6ff,_0x2c06f8:0x465,_0x3f3961:0x716,_0x10062f:0x446,_0x2cf072:0x473,_0x21c7a0:0x469,_0x22b7ca:0x5db,_0x4940c5:0x1a6,_0xab98fa:0x27d,_0x4fa978:0x533,_0x5e93cc:0x2a6},_0x14fbd5={_0x2a19fb:0x4df,_0x5e3d5f:0x1a3},_0x4fc165={_0x5276f6:0x1b2,_0xa0ac10:0x1c7};function _0x4fb7be(_0x21df70,_0x25cf5d,_0x528c23,_0x19a723){return _0x16ac01(_0x21df70-_0x4fc165._0x5276f6,_0x19a723-0x444,_0x528c23-_0x4fc165._0xa0ac10,_0x21df70);}const _0x5c4668=_0x581efd?stripAnsiAndControls(_0xfa9086):_0xfa9086;if(_0x5c4668[_0x4fb7be(_0x44490b._0x4570d3,_0x44490b._0x4cf8db,_0x44490b._0x15ca0e,_0x44490b._0x593dfb)]===0x0)return;if(!_0x890e7e){emitChunk(_0x53a8f3,_0x53216b,_0x5c4668,_0x2d4b12);return;}let _0x492ed0=0x0;function _0x590b1f(_0x26f6b7,_0x4c9c9a,_0x46af6d,_0x3e5858){return _0x16ac01(_0x26f6b7-0x172,_0x46af6d-_0x14fbd5._0x2a19fb,_0x46af6d-_0x14fbd5._0x5e3d5f,_0x4c9c9a);}let _0x3a97dd=_0x5c4668['indexOf']('\x0a');while(_0x3a97dd>=0x0){_0x890e7e['trailingChunks'][_0x590b1f(0x474,0x62f,0x456,_0x44490b._0x182246)](_0x5c4668[_0x4fb7be(0x350,0x4f6,_0x44490b._0xd078a5,0x346)](_0x492ed0,_0x3a97dd));const _0x332342=_0x890e7e[_0x4fb7be(_0x44490b._0x19d9e3,_0x44490b._0x53a7fd,_0x44490b._0x5025ec,0x2fc)][_0x590b1f(0x800,0x5b9,0x6e5,_0x44490b._0x43b878)]('');_0x890e7e['trailingChunks'][_0x4fb7be(_0x44490b._0x2c06f8,0x585,_0x44490b._0x3f3961,_0x44490b._0x593dfb)]=0x0,_0x890e7e['regex']['test'](_0x332342)&&emitChunk(_0x53a8f3,_0x53216b,_0x332342+'\x0a',_0x2d4b12),_0x492ed0=_0x3a97dd+0x1,_0x3a97dd=_0x5c4668[_0x590b1f(0x35e,0x447,_0x44490b._0x10062f,_0x44490b._0x2cf072)]('\x0a',_0x492ed0);}_0x492ed0<_0x5c4668[_0x590b1f(0x59d,_0x44490b._0x21c7a0,_0x44490b._0x22b7ca,0x4d1)]&&_0x890e7e[_0x4fb7be(_0x44490b._0x4940c5,_0x44490b._0xab98fa,0x409,0x2fc)][_0x4fb7be(0x21c,0x1b7,0x4ad,0x3bb)](_0x5c4668[_0x590b1f(0x35f,_0x44490b._0x4fa978,0x3e1,_0x44490b._0x5e93cc)](_0x492ed0));}function flushOutputRegex(_0x2716b5,_0x35259b,_0x429cd6,_0x2cc269){const _0x39c631={_0x5dedce:0x2b4,_0x50f966:0x38f,_0x26e18d:0x372,_0x560941:0x3a3,_0x269389:0x3e4,_0x3bacf5:0x55,_0x594935:0x179},_0x17f090={_0xd14cd2:0x12a,_0x25f314:0x128},_0x5c7235={_0x311086:0x43,_0x4ecaa2:0x4};function _0x34c978(_0x37636c,_0x2c38af,_0x2627d1,_0x22a752){return _0x5885dd(_0x37636c-0x36,_0x22a752,_0x2627d1-_0x5c7235._0x311086,_0x2c38af-_0x5c7235._0x4ecaa2);}if(!_0x429cd6||_0x429cd6['trailingChunks'][_0x34c978(_0x39c631._0x5dedce,_0x39c631._0x50f966,0x39c,0x56c)]===0x0)return;const _0x553700=_0x429cd6[_0x34c978(-0x35,0x14b,0x6c,0x173)][_0x301289(_0x39c631._0x26e18d,_0x39c631._0x560941,_0x39c631._0x269389,0x2a4)]('');function _0x301289(_0x2b4946,_0x26c98e,_0x11a295,_0x47164c){return _0x5885dd(_0x2b4946-_0x17f090._0xd14cd2,_0x11a295,_0x11a295-_0x17f090._0x25f314,_0x26c98e- -0xf2);}_0x429cd6[_0x301289(0x22,_0x39c631._0x3bacf5,-0x142,-0x6f)][_0x301289(_0x39c631._0x594935,0x299,0x351,0x386)]=0x0,_0x429cd6['regex']['test'](_0x553700)&&emitChunk(_0x2716b5,_0x35259b,_0x553700,_0x2cc269);}function createBashTool(_0x59ea4b={}){const _0x26aed4={_0x551f1e:0x3f7,_0x2713c1:0x589,_0x43a8df:0x676,_0x418c00:0x379,_0x17f62b:0x29f,_0x49245c:0x38a,_0x5b1c03:0x64b,_0xbf3378:0x332,_0x4a8321:0x575,_0x548145:0x3e4,_0x534cdb:0x6f4,_0x370fe5:0x2e1,_0x49b157:0x1d7,_0xe86809:0x13e,_0x18017a:0x339,_0x57880a:0x2bd,_0x3910a3:0x18b,_0x3f4dff:0x520,_0x5af2d5:0x61f,_0x2985fd:0x41d,_0x2eec8d:0x3f8,_0x3873b1:0x575,_0x313345:0x36b,_0x24a456:0x432,_0x209a00:0x38f,_0x3c0a97:0x378,_0x1e3de8:0x707,_0x31fe38:0x609,_0x2e9f81:0x64a,_0x2a021c:0x33b,_0x5e792a:0x2c1,_0x37ad18:0x258,_0x2923aa:0xbb,_0x4b3a6b:0x46e,_0x1d9c25:0x468,_0x5e54b0:0x4e8,_0xae9a15:0x2f8},_0x47a0e8={_0x620418:0x122,_0x5ae04a:0x172,_0x44e48c:0x1d3,_0x49afc3:0x568,_0x2c91ae:0x12,_0x2f217d:0x188,_0x40903b:0x12d,_0x3b2910:0xe,_0x14e671:0x2e,_0x4152c:0x34a,_0x4de58b:0x281,_0x323059:0x5d8,_0x3e305b:0x56d,_0x1837b8:0x501,_0x29dca7:0x584,_0x49c85f:0x387,_0x2053ed:0x583,_0x212889:0x769,_0x311925:0xd4,_0x2e4240:0x1e7,_0xb57086:0x51c,_0x214d8d:0x40c,_0x14603b:0x33d,_0x502c3a:0x195,_0x4344fb:0x3b0,_0x3e4d7c:0x254,_0x41f7e1:0x24a,_0x203387:0x115,_0x265ee2:0x1aa,_0x2bb1f2:0x3e,_0x1b1dee:0xb2,_0x58efd6:0x29d,_0x48083c:0x188,_0x57e692:0x512,_0x5d4378:0x2b3,_0x5ee60c:0x88,_0x26da54:0x3b5,_0x516e59:0x1d5,_0x28f115:0x36,_0x2d8920:0x1c4,_0x1999c4:0xcc,_0x57035c:0x52,_0x19768a:0x8a,_0x395396:0x70,_0x185078:0x12b,_0x189387:0x2ad,_0x40cfc5:0x4c2,_0x392030:0x579,_0x5d7502:0x42c,_0xc38761:0x144,_0x3aa5b2:0x2f,_0x11202b:0x6cd,_0x548577:0x560,_0x201a32:0x203,_0xb90bbb:0x85,_0x5ea2ae:0xed,_0x2ae880:0x5e,_0x29951b:0x391,_0x119684:0x249,_0x563b55:0x263,_0x3edcac:0x2c7,_0x5a5f3d:0x4dd,_0x104851:0x374,_0x3a4330:0x24b,_0x41079b:0x216,_0x21b3e8:0x1a,_0x405978:0x4c,_0x2b0e50:0x190,_0x1a435d:0x66,_0x254810:0xd8,_0x401ff0:0x3d7,_0x3a57c8:0x33d,_0x236d87:0x290,_0x1e4738:0x73,_0x6fb8ea:0x145,_0x4a2f80:0x1d2,_0x42b729:0x10d,_0x47f03d:0x39a,_0x584f85:0x406,_0x387536:0x3cd,_0x9eaffb:0x4e9,_0x3041bf:0x528,_0x458dbf:0x82,_0x496101:0x168,_0x1a4989:0xde,_0x1dfc5f:0x470,_0xb08a56:0x33d,_0xd48cfd:0x3e1,_0x326c52:0xba,_0x3b3c98:0x519,_0xf08705:0x45a,_0x24a237:0x28e,_0x5ed03c:0x531,_0x4549b8:0x21e,_0xec7e42:0x116,_0x5f59e4:0x5d3,_0x2a0777:0xa5,_0x300e39:0x182,_0x91934f:0x6,_0x5c5246:0x103,_0x29e766:0x189,_0x35f492:0x3d,_0xf0c14c:0x63,_0x5964df:0xa0,_0x3ef9bc:0x31,_0x10c7f6:0x2c,_0x56ac6e:0x1af,_0x428077:0x7f,_0x506e18:0x155,_0x229faf:0xc6,_0x374cc5:0x4d7,_0x27934d:0x8f,_0x11ac1e:0x313,_0x59c769:0x1e8,_0x2c8f4f:0x21b,_0x248fb3:0x500,_0x48f542:0x3f0,_0x1055c8:0x447,_0x3ac61f:0x5f9,_0x430ef2:0x518,_0x71639b:0x50d,_0xb5d23d:0x2,_0x219da3:0x18f,_0x4fea32:0x16d,_0xcc7b3b:0x2f0},_0x11c129={_0x31530e:0xcf,_0xbf4ce2:0x124,_0x2bf04e:0xf5,_0x431566:0x425,_0x129622:0x45b,_0x3c2b50:0x365,_0xcb1478:0x32e,_0x5c620e:0x168},_0x3a02c4={_0x2cb5f8:0x2fc,_0x5a1e85:0x1a3,_0x392ffb:0x117},_0x424d86={_0x1bcdd6:0x237,_0x40af02:0xd9},_0x3f170={_0x28df12:0x439},_0x291dcf={_0x14f5aa:0x3b},_0x5ae43e={_0x62b46b:0x195,_0x23a63e:0x11f},_0x49ef6b={_0x420493:0x48,_0x1b43ce:0x168};function _0x52a3ca(_0x1eb799,_0x50cac4,_0x4f9468,_0x461c48){return _0x5885dd(_0x1eb799-0xc6,_0x50cac4,_0x4f9468-_0x49ef6b._0x420493,_0x1eb799- -_0x49ef6b._0x1b43ce);}function _0x733099(_0x2bb1c4,_0x39c40b,_0x49b9ec,_0x2ff6d3){return _0x16ac01(_0x2bb1c4-_0x5ae43e._0x62b46b,_0x39c40b-0x31e,_0x49b9ec-_0x5ae43e._0x23a63e,_0x49b9ec);}const _0x2e316a=_0x2fba8d[_0x733099(_0x26aed4._0x551f1e,_0x26aed4._0x2713c1,0x61a,_0x26aed4._0x43a8df)](_0x59ea4b[_0x52a3ca(0x204,0x2e2,_0x26aed4._0x418c00,_0x26aed4._0x17f62b)]??process[_0x733099(0x323,0x223,0x181,0x219)]()),_0x1fa79f=_0x59ea4b[_0x733099(0x2be,_0x26aed4._0x49245c,0x43d,0x1c5)]??[],_0x21a389=_0x59ea4b[_0x733099(_0x26aed4._0x5b1c03,0x562,0x3ec,0x350)]??DEFAULT_TIMEOUT_MS,_0x3f4d02=_0x59ea4b[_0x52a3ca(0x3c8,_0x26aed4._0xbf3378,_0x26aed4._0x4a8321,0x558)]??!![],_0xe97f89=_0x59ea4b[_0x733099(0x437,0x535,_0x26aed4._0x548145,_0x26aed4._0x534cdb)]??_0x733099(0x557,0x36d,0x3ce,_0x26aed4._0x370fe5),_0x57bf71=_0x59ea4b[_0x52a3ca(_0x26aed4._0x49b157,0x176,_0x26aed4._0xe86809,0x213)]??[],_0x5c2aa2=_0x59ea4b['scrubEnvPrefixes']??[],_0x5f7271=_0x59ea4b['backgroundRegistry'];return defineTool({'name':_0xe97f89,'permissionClass':_0x733099(0x401,_0x26aed4._0x18017a,0x3d3,_0x26aed4._0x57880a),'description':_0x59ea4b[_0x733099(0x556,0x366,_0x26aed4._0x3910a3,_0x26aed4._0x3f4dff)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x733099(_0x26aed4._0x5af2d5,0x5ba,0x4f3,_0x26aed4._0x2985fd),'properties':{'command':{'type':'string'},'description':{'type':_0x733099(_0x26aed4._0x2eec8d,0x575,0x4f1,0x513),'description':'User-facing\x20purpose:\x20what\x20the\x20command\x20does\x20and\x20the\x20goal\x20it\x20advances,\x20e.g.\x20\x27Run\x20auth\x20tests\x20to\x20verify\x20the\x20refresh\x20fix\x27.'},'cwd':{'type':_0x733099(0x69d,_0x26aed4._0x3873b1,_0x26aed4._0x313345,0x69d)},'timeoutMs':{'type':_0x733099(_0x26aed4._0x24a456,_0x26aed4._0x209a00,_0x26aed4._0x3c0a97,0x4ee)},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x733099(_0x26aed4._0x1e3de8,0x575,_0x26aed4._0x31fe38,_0x26aed4._0x2e9f81),'description':_0x52a3ca(0x29e,0x32a,0x167,_0x26aed4._0x2a021c)},'runInBackground':{'type':_0x52a3ca(_0x26aed4._0x5e792a,_0x26aed4._0x37ad18,_0x26aed4._0x2923aa,_0x26aed4._0x4b3a6b)}},'required':[_0x733099(_0x26aed4._0x1d9c25,_0x26aed4._0x5e54b0,0x388,_0x26aed4._0xae9a15),'description']},async *'execute'(_0x3c7970,_0x3ef91c){const _0x4c5f0a={_0x10cc30:0x9a,_0x453ae2:0x97},_0x392853={_0x3db197:0x3ea,_0x393a52:0x492,_0x3186c5:0x479},_0x4000e9={_0x4bc035:0x240,_0x59c45c:0x290,_0x57600c:0x14d,_0x47d7c2:0x16e,_0x5e804b:0x2a9,_0x1254f0:0x10c},_0x4aabbe={_0x429766:0x19d,_0xe8ad3a:0x321,_0x59a8ea:0x7e},_0x3cf6cf={_0x2cf628:0xe6,_0x279675:0x152},_0x26a493={_0x5219e5:0x29f,_0x167dbf:0xaa},_0x43700d={_0x57f8ad:0x3c2},_0xfed716=_0x3c7970['timeoutMs']??_0x21a389;function _0x420825(_0x7a123d,_0x38e342,_0x3ed4b0,_0x4cce4a){return _0x733099(_0x7a123d-_0x291dcf._0x14f5aa,_0x3ed4b0- -0x360,_0x38e342,_0x4cce4a-0x15a);}if(!Number[_0x420825(-0x71,_0x47a0e8._0x620418,_0x47a0e8._0x5ae04a,_0x47a0e8._0x44e48c)](_0xfed716)||_0xfed716<0x1)throw new ToolExecutionError(_0x5a7773(0x705,0x73e,0x5e4,_0x47a0e8._0x49afc3),{'command':_0x3c7970[_0x420825(_0x47a0e8._0x2c91ae,0x19e,_0x47a0e8._0x2f217d,0x391)]});throwIfAborted(_0x3ef91c[_0x420825(_0x47a0e8._0x40903b,0xeb,-0x63,-0x19e)]);const _0x9d311b=_0x3c7970[_0x420825(_0x47a0e8._0x3b2910,-0x9e,0xc1,_0x47a0e8._0x14e671)]??![],_0x247836=resolveBashExecutionTarget(_0x3c7970,{'defaultCwd':_0x2e316a,'allowedDirs':_0x1fa79f,'shellPath':_0x59ea4b[_0x420825(0x178,_0x47a0e8._0x4152c,_0x47a0e8._0x4de58b,0x180)]}),{cwd:_0x384d2a,shellPath:_0x997678}=_0x247836,_0x1d9386=buildShellArgs(_0x3c7970['command'],_0x997678),_0x24f2dc=_0x1ebf74['platform']()==='win32',_0x4947bb=buildChildEnv(_0x59ea4b[_0x5a7773(_0x47a0e8._0x323059,_0x47a0e8._0x3e305b,0x5ee,_0x47a0e8._0x1837b8)],_0x57bf71,_0x5c2aa2);if(_0x3c7970['runInBackground']){if(!_0x5f7271)throw new ToolExecutionError(_0x5a7773(_0x47a0e8._0x29dca7,_0x47a0e8._0x49c85f,_0x47a0e8._0x2053ed,_0x47a0e8._0x212889),{'command':_0x3c7970[_0x420825(0x288,_0x47a0e8._0x311925,0x188,_0x47a0e8._0x2e4240)]});throwIfAborted(_0x3ef91c[_0x5a7773(_0x47a0e8._0xb57086,_0x47a0e8._0x214d8d,_0x47a0e8._0x14603b,0x1de)]),await _0x59ea4b['verifyExecution']?.(_0x247836,_0x3ef91c[_0x420825(_0x47a0e8._0x502c3a,_0x47a0e8._0x4344fb,_0x47a0e8._0x3e4d7c,0x274)],_0x3ef91c),throwIfAborted(_0x3ef91c[_0x420825(-0x1b8,0x1c,-0x63,0x64)]);const _0xb5adca=_0x5f7271['reserve']();let _0x3f853c;try{_0x3f853c=_0x2fce51(_0x997678,_0x1d9386,{'cwd':_0x384d2a,'env':_0x4947bb,'stdio':[_0x420825(-_0x47a0e8._0x41f7e1,-_0x47a0e8._0x203387,-0x145,-_0x47a0e8._0x265ee2),_0x420825(_0x47a0e8._0x2bb1f2,-0xb1,0x66,0x16a),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x24f2dc});}catch(_0x1f3bae){_0x5f7271[_0x5a7773(0x268,_0x47a0e8._0x1b1dee,_0x47a0e8._0x58efd6,0x2a0)](_0xb5adca);throw mapSpawnError(_0x1f3bae,{'command':_0x3c7970[_0x420825(0x2e0,0x131,_0x47a0e8._0x48083c,0x106)],'cwd':_0x384d2a,'shellPath':_0x997678});}let _0x339146;try{_0x339146=_0x5f7271[_0x5a7773(_0x47a0e8._0x57e692,0x6b4,0x609,0x40a)](_0xb5adca,{'child':_0x3f853c,'command':_0x3c7970[_0x420825(_0x47a0e8._0x5d4378,-_0x47a0e8._0x5ee60c,0x188,0x36b)],'cwd':_0x384d2a,'stripAnsi':_0x3f4d02,...!_0x24f2dc&&_0x3f853c[_0x5a7773(0x4ca,0x3f2,_0x47a0e8._0x26da54,0x557)]!==void 0x0?{'processGroupId':_0x3f853c[_0x5a7773(0x525,0x3ba,0x3b5,_0x47a0e8._0x516e59)]}:{}});}catch(_0x15bbe6){_0x5f7271[_0x420825(-_0x47a0e8._0x28f115,-0x1ee,-0x103,-_0x47a0e8._0x2d8920)](_0xb5adca),_0x3f853c[_0x420825(-_0x47a0e8._0x1999c4,-_0x47a0e8._0x57035c,_0x47a0e8._0x19768a,-0xb2)](_0x420825(-_0x47a0e8._0x395396,_0x47a0e8._0x185078,0x170,_0x47a0e8._0x189387),()=>{});try{killProcessGroup(_0x3f853c,_0x24f2dc);}catch{}throw _0x15bbe6;}return createToolOutput('Started\x20background\x20process\x20'+_0x339146[_0x5a7773(0x657,0x467,_0x47a0e8._0x40cfc5,_0x47a0e8._0x392030)]+_0x420825(0x27a,_0x47a0e8._0x5d7502,0x283,_0x47a0e8._0xc38761)+(_0x339146[_0x420825(-0x11f,-_0x47a0e8._0x3aa5b2,0x15,-0x80)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x339146[_0x5a7773(_0x47a0e8._0x11202b,0x62d,0x4c2,_0x47a0e8._0x548577)],'status':_0x339146[_0x420825(-_0x47a0e8._0x201a32,_0x47a0e8._0xb90bbb,-_0x47a0e8._0x5ea2ae,-0x86)],'command':_0x339146['command'],'description':_0x3c7970[_0x420825(-0x191,_0x47a0e8._0x2ae880,0x6,-0x20c)],'cwd':_0x339146[_0x5a7773(_0x47a0e8._0x29951b,_0x47a0e8._0x119684,_0x47a0e8._0x563b55,0x2cc)],'pid':_0x339146['pid']??null});}let _0x4055ce,_0x91c731;if(_0x3c7970[_0x5a7773(_0x47a0e8._0x3edcac,0x46d,0x374,0x3ec)]!==void 0x0)try{const _0x400550=new RegExp(_0x3c7970[_0x5a7773(0x53d,_0x47a0e8._0x5a5f3d,_0x47a0e8._0x104851,_0x47a0e8._0x3a4330)]);_0x4055ce={'regex':_0x400550,'trailingChunks':[]},_0x91c731={'regex':_0x400550,'trailingChunks':[]};}catch(_0x3ce3ed){throw new ToolExecutionError(_0x420825(0x1ff,0x31e,_0x47a0e8._0x41079b,0x10f)+(_0x3ce3ed instanceof Error?_0x3ce3ed[_0x420825(_0x47a0e8._0x21b3e8,0xe7,_0x47a0e8._0x405978,_0x47a0e8._0x2b0e50)]:String(_0x3ce3ed)),{'command':_0x3c7970[_0x420825(_0x47a0e8._0x1a435d,_0x47a0e8._0x254810,_0x47a0e8._0x2f217d,0x39b)],'outputRegex':_0x3c7970[_0x420825(-0x108,-0x27,-0x2c,0xb0)]});}await _0x59ea4b['verifyExecution']?.(_0x247836,_0x3ef91c['executionAuthorization'],_0x3ef91c),throwIfAborted(_0x3ef91c[_0x5a7773(_0x47a0e8._0x401ff0,0x431,_0x47a0e8._0x3a57c8,0x252)]);let _0x70ff4f;try{_0x70ff4f=_0x2fce51(_0x997678,_0x1d9386,{'cwd':_0x384d2a,'env':_0x4947bb,'stdio':_0x9d311b?[_0x420825(0x58,-_0x47a0e8._0x236d87,-0x145,-_0x47a0e8._0x1e4738),'ignore','ignore']:[_0x420825(0xab,-0x13a,-_0x47a0e8._0x6fb8ea,-_0x47a0e8._0x4a2f80),_0x420825(0xb6,-_0x47a0e8._0x42b729,0x66,-0xd),_0x5a7773(0x2ff,_0x47a0e8._0x47f03d,_0x47a0e8._0x584f85,_0x47a0e8._0x387536)],'shell':![],'windowsHide':!![],'detached':!_0x24f2dc});}catch(_0x3172cb){throw mapSpawnError(_0x3172cb,{'command':_0x3c7970[_0x5a7773(_0x47a0e8._0x9eaffb,0x513,_0x47a0e8._0x3041bf,0x5ae)],'cwd':_0x384d2a,'shellPath':_0x997678});}const _0x145533=[],_0x227f7c=[],_0x20741d=new _0x24ef57('utf8'),_0x453d4a=new _0x24ef57('utf8');let _0x5d77eb,_0x365e66=![],_0x459378;const _0x445bf3=()=>{if(!_0x5d77eb)return;const _0xe036b6=_0x5d77eb;_0x5d77eb=void 0x0,_0xe036b6();},_0x509907=async()=>{function _0x1fbd0c(_0x53acfd,_0x2e282c,_0x25c63d,_0x485863){return _0x5a7773(_0x25c63d,_0x2e282c-0x16c,_0x53acfd- -0x193,_0x485863-0x1e2);}if(_0x227f7c[_0x1fbd0c(0x2c7,0x14b,_0x43700d._0x57f8ad,0x22c)]>0x0||_0x365e66)return;await new Promise(_0x26090e=>{_0x5d77eb=_0x26090e;});},_0x135693=_0x201f30=>{function _0x55e7d1(_0x3f4ed5,_0x42fb51,_0x47b08d,_0x14c5c2){return _0x420825(_0x3f4ed5-0xe7,_0x47b08d,_0x3f4ed5-0x346,_0x14c5c2-0xf1);}appendChunk(_0x145533,_0x227f7c,_0x20741d[_0x55e7d1(0x276,_0x26a493._0x5219e5,0x335,_0x26a493._0x167dbf)](_0x201f30),_0x3f4d02,_0x445bf3,_0x4055ce);},_0x2120f9=_0x3b09d5=>{function _0x593b32(_0x5ccf00,_0x36e12b,_0x1c8c65,_0x312722){return _0x5a7773(_0x312722,_0x36e12b-_0x3cf6cf._0x2cf628,_0x1c8c65-0x1a7,_0x312722-_0x3cf6cf._0x279675);}appendChunk(_0x145533,_0x227f7c,_0x453d4a[_0x593b32(_0x3f170._0x28df12,0x3c3,0x477,0x5fd)](_0x3b09d5),_0x3f4d02,_0x445bf3,_0x91c731);};function _0x5a7773(_0x41788a,_0x502ec1,_0x5233af,_0x271c2a){return _0x52a3ca(_0x5233af-_0x424d86._0x1bcdd6,_0x41788a,_0x5233af-_0x424d86._0x40af02,_0x271c2a-0x99);}_0x70ff4f['stdout']?.['on'](_0x420825(_0x47a0e8._0x458dbf,_0x47a0e8._0x496101,-0x2,-0x12e),_0x135693),_0x70ff4f[_0x420825(0x25e,-0x109,_0x47a0e8._0x1a4989,-0xa)]?.['on']('data',_0x2120f9);let _0x5ce08e=![],_0x5b9ceb;const _0x37d56a=addAbortListener(_0x3ef91c[_0x5a7773(_0x47a0e8._0x1dfc5f,0x51a,_0x47a0e8._0xb08a56,_0x47a0e8._0xd48cfd)],()=>{_0x459378=toAbortError(_0x3ef91c['signal'][_0x273834(0x2ac,_0x3a02c4._0x2cb5f8,_0x3a02c4._0x5a1e85,_0x3a02c4._0x392ffb)]),_0x365e66=!![];function _0x273834(_0x1808ec,_0x115277,_0xe4e39e,_0x5988bc){return _0x420825(_0x1808ec-_0x4aabbe._0x429766,_0x5988bc,_0xe4e39e-_0x4aabbe._0xe8ad3a,_0x5988bc-_0x4aabbe._0x59a8ea);}_0x445bf3();try{killProcessGroup(_0x70ff4f,_0x24f2dc);}catch{}});try{const _0x47c47d=new Promise((_0x1bc344,_0x28258b)=>{const _0x12309f={_0x548da7:0x222},_0x2d954f={_0xd5df5e:0x91,_0x401066:0x31,_0x566c07:0x2b},_0x150f88={_0x6da6e4:0x255},_0x234323=()=>{function _0x44ad74(_0xd47e1c,_0xe13287,_0xa887a5,_0x1dba65){return _0xa933(_0xd47e1c- -_0x150f88._0x6da6e4,_0xa887a5);}_0x5b9ceb&&(clearTimeout(_0x5b9ceb),_0x5b9ceb=void 0x0);_0x70ff4f[_0x4e2c3c(_0x4000e9._0x4bc035,_0x4000e9._0x59c45c,0x2a5,0x348)]('error',_0x219792);function _0x4e2c3c(_0x481d2c,_0x571425,_0x3fa247,_0x1070a0){return _0xa933(_0x3fa247- -0x1c8,_0x481d2c);}_0x70ff4f[_0x44ad74(0x218,_0x4000e9._0x57600c,0x37f,0x2b6)](_0x44ad74(_0x4000e9._0x47d7c2,_0x4000e9._0x5e804b,0x1af,_0x4000e9._0x1254f0),_0x162962);};function _0x35f0f7(_0x4c8c7c,_0xdbbb59,_0x16e0dd,_0x2a35a0){return _0x5a7773(_0x2a35a0,_0xdbbb59-_0x2d954f._0xd5df5e,_0xdbbb59-_0x2d954f._0x401066,_0x2a35a0-_0x2d954f._0x566c07);}const _0x219792=_0x30e90d=>{_0x365e66=!![],_0x445bf3(),_0x234323(),_0x28258b(_0x459378??_0x30e90d);},_0x162962=(_0x2a3639,_0x5c9ddd)=>{_0x5ce08e=!![],appendChunk(_0x145533,_0x227f7c,_0x20741d[_0x3d8ded(_0x392853._0x3db197,0x68a,_0x392853._0x393a52,_0x392853._0x3186c5)](),_0x3f4d02,_0x445bf3,_0x4055ce);function _0x3d8ded(_0x207f2f,_0x5e58bd,_0x6833ec,_0xfa4d7c){return _0xa933(_0xfa4d7c-_0x12309f._0x548da7,_0x6833ec);}appendChunk(_0x145533,_0x227f7c,_0x453d4a['end'](),_0x3f4d02,_0x445bf3,_0x91c731),flushOutputRegex(_0x145533,_0x227f7c,_0x4055ce,_0x445bf3),flushOutputRegex(_0x145533,_0x227f7c,_0x91c731,_0x445bf3),_0x365e66=!![],_0x445bf3(),_0x234323();if(_0x459378){_0x28258b(_0x459378);return;}_0x1bc344({'code':_0x2a3639,'signal':_0x5c9ddd});};function _0x546800(_0x4bf145,_0x41b68f,_0xe7105,_0x13d721){return _0x420825(_0x4bf145-0xaf,_0x4bf145,_0x41b68f-_0x4c5f0a._0x10cc30,_0x13d721-_0x4c5f0a._0x453ae2);}_0x5b9ceb=setTimeout(()=>{_0x365e66=!![],_0x445bf3(),_0x234323();try{killProcessGroup(_0x70ff4f,_0x24f2dc);}catch{}_0x28258b(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0xfed716+'\x20ms',{'command':_0x3c7970['command'],'cwd':_0x384d2a,'shellPath':_0x997678,'timeoutMs':_0xfed716,'timedOut':!![]}));},_0xfed716),_0x70ff4f[_0x546800(-_0x11c129._0x31530e,_0x11c129._0xbf4ce2,_0x11c129._0x2bf04e,0x88)](_0x35f0f7(0x49f,0x541,0x6cc,0x400),_0x219792),_0x70ff4f[_0x35f0f7(_0x11c129._0x431566,_0x11c129._0x129622,_0x11c129._0x3c2b50,0x66c)](_0x546800(_0x11c129._0xcb1478,_0x11c129._0x5c620e,0x1fb,0x2c5),_0x162962);});while(_0x227f7c[_0x420825(-0xe9,-0x19,_0x47a0e8._0x326c52,-0x13)]>0x0||!_0x365e66){if(_0x227f7c[_0x5a7773(_0x47a0e8._0x3b3c98,0x500,_0x47a0e8._0xf08705,_0x47a0e8._0x24a237)]===0x0){await _0x509907();continue;}const _0xbbf84c=_0x227f7c[_0x5a7773(0x699,_0x47a0e8._0x5ed03c,0x588,0x5f9)]();_0xbbf84c!==void 0x0&&(yield _0xbbf84c);}const _0xf4b483=await _0x47c47d,_0x41ab0f=_0x9d311b?_0x420825(0xe3,0x345,_0x47a0e8._0x4549b8,0x3f)+(_0xf4b483[_0x420825(_0x47a0e8._0xec7e42,-0x91,0xf9,0x1f1)]??0x0):_0x145533['join'](''),_0x7d0a6a={'command':_0x3c7970[_0x5a7773(0x579,0x34a,0x528,_0x47a0e8._0x5f59e4)],'description':_0x3c7970[_0x420825(-_0x47a0e8._0x2a0777,_0x47a0e8._0x300e39,_0x47a0e8._0x91934f,0xee)],'cwd':_0x384d2a,'exitCode':_0xf4b483[_0x420825(-_0x47a0e8._0x5c5246,0x9a,0xf9,0x1ce)]??0x0,'signal':_0xf4b483[_0x420825(_0x47a0e8._0x29e766,_0x47a0e8._0x35f492,-_0x47a0e8._0xf0c14c,-_0x47a0e8._0x5964df)],'ignoreOutput':_0x9d311b,'outputRegex':_0x3c7970[_0x420825(-_0x47a0e8._0x3ef9bc,0x91,-_0x47a0e8._0x10c7f6,-_0x47a0e8._0x56ac6e)]??null,'shellPath':_0x997678,'timeoutMs':_0xfed716};if(_0xf4b483[_0x420825(-_0x47a0e8._0x428077,0x32,0xf9,_0x47a0e8._0x5964df)]!==0x0)throw new ToolExecutionError(_0x41ab0f||'Command\x20exited\x20with\x20code\x20'+(_0xf4b483[_0x420825(_0x47a0e8._0x506e18,0x2f1,0xf9,-_0x47a0e8._0x229faf)]??0x0),_0x7d0a6a);return createToolOutput(_0x41ab0f,_0x7d0a6a);}catch(_0x1f6ca3){while(_0x227f7c[_0x5a7773(0x60c,0x352,0x45a,_0x47a0e8._0x374cc5)]>0x0){const _0x1982db=_0x227f7c[_0x420825(_0x47a0e8._0x27934d,_0x47a0e8._0x11ac1e,_0x47a0e8._0x59c769,_0x47a0e8._0x2c8f4f)]();_0x1982db!==void 0x0&&(yield _0x1982db);}if(_0x1f6ca3 instanceof ToolExecutionError)throw _0x1f6ca3;if(_0x459378)throw _0x459378;throw mapSpawnError(_0x1f6ca3,{'command':_0x3c7970['command'],'cwd':_0x384d2a,'shellPath':_0x997678});}finally{_0x5b9ceb&&clearTimeout(_0x5b9ceb);_0x37d56a(),_0x70ff4f[_0x5a7773(_0x47a0e8._0x248fb3,0x3d6,_0x47a0e8._0x48f542,0x37c)]?.[_0x5a7773(_0x47a0e8._0x1055c8,_0x47a0e8._0x3ac61f,_0x47a0e8._0x430ef2,_0x47a0e8._0x71639b)](_0x420825(-0xe,-0xf0,-_0x47a0e8._0xb5d23d,_0x47a0e8._0x219da3),_0x135693),_0x70ff4f[_0x420825(0x2d1,-0x10c,0xde,0xfc)]?.[_0x420825(_0x47a0e8._0x4fea32,_0x47a0e8._0xcc7b3b,0x178,0x15a)]('data',_0x2120f9);if(!_0x5ce08e&&_0x70ff4f['pid']&&!_0x70ff4f['killed'])try{killProcessGroup(_0x70ff4f,_0x24f2dc);}catch{}}}});}function createShellExecTool(_0x181aee={}){return createBashTool(_0x181aee);}import{readdir as _0x2be0af,readFile as _0x208d64}from'fs/promises';import{extname as _0x34c898,join as _0x411532}from'path';import{open}from'fs/promises';import{dirname as _0x8f342f,isAbsolute as _0x54e3a9,join as _0x1e401a,relative as _0x387f3d,resolve as _0x1d714e}from'path';import{readdir as _0x5f4f53,readFile as _0x43457a}from'fs/promises';import{join as _0x4776ec,relative as _0xf74229,sep}from'path';import{delimiter}from'path';import{mkdir as _0x556aba,rm as _0x2c0143,stat as _0x28f165,writeFile as _0x472312}from'fs/promises';import{hostname}from'os';import{dirname as _0x595420}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x1b6a1a,readFile as _0x380e87,rename as _0x3dac9a,rm as _0x38f9d6,stat as _0x2280a0,writeFile as _0x2e09c2}from'fs/promises';import{homedir as _0x2fb00e}from'os';import{dirname as _0x14b45b,isAbsolute as _0xc35aaa,join as _0x1383b0,resolve as _0x43cee1}from'path';import{parse as _0x7ca203,stringify as _0x439be5}from'yaml';import{randomUUID as _0x382f4a}from'crypto';import{cp,lstat,mkdir as _0x260f62,readdir as _0x1c9947,readFile as _0x202563,rename as _0x50bda6,rm as _0x1d6b85,writeFile as _0x52cc8b}from'fs/promises';import{homedir}from'os';import{join as _0x27f9be}from'path';import{parse as _0x540c74,stringify as _0x47385f}from'yaml';import{z}from'zod';import{readdir as _0x1a1bdc,readFile as _0x3a3fce}from'fs/promises';import{join as _0x379c42}from'path';import{randomUUID as _0x1c6511}from'crypto';import{mkdir as _0x3d3ca0,readdir as _0x552206,readFile as _0x3232cb,rename as _0x59bcc8,rm as _0x4f34e7,writeFile as _0x4bdbcb}from'fs/promises';import{homedir as _0x577686}from'os';import{basename as _0x5ea6cb,isAbsolute as _0x5d5386,join as _0x509576,relative as _0x539182,resolve as _0x293609}from'path';import{parse as _0x1f9d78,stringify as _0x4898c3}from'yaml';import{delimiter as _0x505698,resolve as _0x8b6749}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x16ac01(0x228,0x12f,0x253,0x3e)](Object[_0x16ac01(-0x26d,-0xa7,0xcb,-0x194)]),'prototype']);function isValidAgentModelSetName(_0xed8970){const _0x236386={_0x472a73:0x483,_0x33da5f:0x3d8,_0x27569f:0x2af,_0x41283b:0x28d,_0x29ec6a:0x34c},_0x29bd00={_0x15d459:0xbe,_0x57b78c:0xd0},_0x385c5b={_0x24a94e:0x1a7};function _0x2f204f(_0x1e8e28,_0x14c0cc,_0x185159,_0x1825e7){return _0x16ac01(_0x1e8e28-0x14e,_0x1e8e28-0x2db,_0x185159-_0x385c5b._0x24a94e,_0x1825e7);}function _0x3eb4c8(_0x1d8cca,_0x2724d7,_0x285139,_0x526f49){return _0x5885dd(_0x1d8cca-_0x29bd00._0x15d459,_0x285139,_0x285139-_0x29bd00._0x57b78c,_0x526f49- -0x33);}return AGENT_MODEL_SET_NAME_PATTERN[_0x2f204f(_0x236386._0x472a73,_0x236386._0x33da5f,_0x236386._0x27569f,0x2f5)](_0xed8970)&&!PROTOTYPE_SENSITIVE_NAMES[_0x2f204f(0x30c,_0x236386._0x41283b,0x108,_0x236386._0x29ec6a)](_0xed8970);}function parseProviderQualifiedModelSelector(_0x51aa56){const _0x98821={_0x44d457:0x354,_0x13c519:0x486,_0x4737ae:0x52e,_0x36ffcb:0x7b8,_0x52127c:0x4a8,_0x568d83:0x4cf,_0x14e9b0:0x3af,_0xbf7e7:0x34f,_0x34652e:0x265,_0x314814:0x1a8},_0x348a9={_0x6c62f8:0x207},_0x353180={_0x15e2b3:0x8b,_0x54b106:0x515,_0x4b4374:0x69};function _0x8d9026(_0x545849,_0x32b9a8,_0x54947d,_0x23db39){return _0x16ac01(_0x545849-_0x353180._0x15e2b3,_0x545849-_0x353180._0x54b106,_0x54947d-_0x353180._0x4b4374,_0x32b9a8);}if(_0x51aa56!==_0x51aa56[_0x5c11f4(0x33d,_0x98821._0x44d457,0x180,0x195)]())return void 0x0;const _0xe4c309=_0x51aa56['indexOf'](':');if(_0xe4c309<=0x0||_0xe4c309===_0x51aa56[_0x8d9026(0x611,0x7a4,0x592,0x775)]-0x1)return void 0x0;const _0x258068=_0x51aa56['slice'](0x0,_0xe4c309);function _0x5c11f4(_0x59ed82,_0x1f05c1,_0x719da,_0x256791){return _0x16ac01(_0x59ed82-0x1be,_0x59ed82-_0x348a9._0x6c62f8,_0x719da-0xe8,_0x719da);}const _0x3eb554=_0x51aa56[_0x8d9026(0x417,0x3ec,_0x98821._0x13c519,_0x98821._0x4737ae)](_0xe4c309+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x8d9026(0x6bd,_0x98821._0x36ffcb,0x69d,0x8b3)](_0x258068)||PROTOTYPE_SENSITIVE_NAMES[_0x8d9026(0x546,_0x98821._0x52127c,0x680,_0x98821._0x568d83)](_0x258068)||_0x3eb554!==_0x3eb554['trim']()||/[\u0000-\u001F\u007F-\u009F]/u[_0x5c11f4(_0x98821._0x14e9b0,_0x98821._0xbf7e7,_0x98821._0x34652e,_0x98821._0x314814)](_0x3eb554))return void 0x0;return{'provider':_0x258068,'model':_0x3eb554};}function tokenizeCommandArguments(_0x3a5b1b){const _0xc44214={_0x49fd12:0x405,_0x29b51b:0x4d5,_0x45a003:0x613,_0x170365:0x38c},_0xb3f208={_0x2e67da:0x37},_0x274798={_0xfa1b72:0x166,_0x5d8103:0x180},_0x21177a=[];let _0x2c295c='';function _0x33e934(_0x537f0e,_0x47dde9,_0x48fc99,_0x58fe88){return _0x5885dd(_0x537f0e-_0x274798._0xfa1b72,_0x58fe88,_0x48fc99-0x158,_0x537f0e-_0x274798._0x5d8103);}let _0xc546a6=0x0;function _0x40176b(_0x40a6b6,_0x29fc1e,_0x32a53b,_0x44b6a0){return _0x16ac01(_0x40a6b6-0x167,_0x40a6b6-0x50a,_0x32a53b-_0xb3f208._0x2e67da,_0x44b6a0);}while(_0xc546a6<_0x3a5b1b[_0x40176b(0x606,0x4ec,_0xc44214._0x49fd12,_0xc44214._0x29b51b)]){const _0x588735=_0x3a5b1b[_0xc546a6];if(_0x588735==='\x5c'&&_0xc546a6+0x1<_0x3a5b1b['length'])_0x2c295c+=_0x3a5b1b[_0xc546a6+0x1],_0xc546a6+=0x2;else{if(_0x588735==='\x22'||_0x588735==='\x27'){const _0x1b8e54=_0x588735;_0xc546a6++;while(_0xc546a6<_0x3a5b1b['length']&&_0x3a5b1b[_0xc546a6]!==_0x1b8e54){_0x3a5b1b[_0xc546a6]==='\x5c'&&_0xc546a6+0x1<_0x3a5b1b[_0x33e934(0x50b,0x378,_0xc44214._0x45a003,_0xc44214._0x170365)]?(_0x2c295c+=_0x3a5b1b[_0xc546a6+0x1],_0xc546a6+=0x2):(_0x2c295c+=_0x3a5b1b[_0xc546a6],_0xc546a6++);}_0xc546a6++;}else _0x588735!==void 0x0&&/\s/['test'](_0x588735)?(_0x2c295c&&(_0x21177a['push'](_0x2c295c),_0x2c295c=''),_0xc546a6++):(_0x2c295c+=_0x588735,_0xc546a6++);}}if(_0x2c295c)_0x21177a['push'](_0x2c295c);return _0x21177a;}function renderCommandInstructions(_0x17609f){const _0x5eca9d={_0x4b2dc6:0x259,_0x192fb2:0x437,_0x1365ff:0x9d0,_0x51c2c8:0x408,_0x58cd98:0x523,_0x2774a0:0x37b,_0x1ba4da:0xe3,_0x348f09:0x31,_0x59d400:0x3db,_0x322834:0x259,_0x56c4e8:0x80e,_0x10bb93:0x911,_0x1909a9:0x789,_0x40dd37:0x823,_0x56a62a:0x5bf,_0x599d9e:0x4bd,_0xf3919c:0x5f3,_0x46cbda:0x3f6,_0x4893f6:0x293,_0x1f1ff8:0x408,_0x1023a6:0x2b1},_0x426e1e={_0x2edfd4:0x15d,_0xbf6541:0x194},_0x254c6a={_0x2a1d60:0x84},_0x844661={_0x480d20:0x37};let _0x1d8682=_0x17609f[_0x5b1737(0x660,0x6d0,0x85f,0x744)],_0x264979=![];const _0x4487c8=tokenizeCommandArguments(_0x17609f['argumentsText']);_0x1d8682=_0x1d8682[_0x2aaff3(0x3da,_0x5eca9d._0x4b2dc6,0x402,_0x5eca9d._0x192fb2)](/\$ARGUMENTS\[(\d+)\]/g,(_0x4f7af4,_0x54f1a7)=>{return _0x264979=!![],_0x4487c8[Number(_0x54f1a7)]??'';});function _0x5b1737(_0x15684c,_0xbb195e,_0x41cedd,_0x3df304){return _0x5885dd(_0x15684c-_0x844661._0x480d20,_0xbb195e,_0x41cedd-0xab,_0x15684c-0x2a5);}_0x1d8682=_0x1d8682[_0x5b1737(0x80e,0x974,0x608,_0x5eca9d._0x1365ff)](/\$ARGUMENTS\b/g,()=>{const _0x269e82={_0xcbbb5b:0x14a};_0x264979=!![];function _0x598e18(_0x1ccf84,_0x389009,_0x6df87e,_0x1c1496){return _0x2aaff3(_0x1ccf84-_0x269e82._0xcbbb5b,_0x389009-0x1ea,_0x389009,_0x6df87e- -0x27e);}return _0x17609f[_0x598e18(-0x217,-0x225,-_0x254c6a._0x2a1d60,0x181)];});if(_0x17609f[_0x5b1737(_0x5eca9d._0x51c2c8,0x1fd,_0x5eca9d._0x58cd98,_0x5eca9d._0x2774a0)]&&_0x17609f[_0x2aaff3(-0x3,-0x1a7,_0x5eca9d._0x1ba4da,_0x5eca9d._0x348f09)]['length']>0x0)for(let _0x59ecbe=0x0;_0x59ecbe<_0x17609f['argumentNames'][_0x2aaff3(_0x5eca9d._0x59d400,0x3f1,0x347,_0x5eca9d._0x322834)];_0x59ecbe++){const _0x3f0448=_0x17609f[_0x5b1737(0x408,0x601,0x4f5,0x334)][_0x59ecbe];if(_0x3f0448){const _0xa4c744=new RegExp('\x5c$'+_0x3f0448+'\x5cb','g');_0x1d8682=_0x1d8682[_0x5b1737(_0x5eca9d._0x56c4e8,_0x5eca9d._0x10bb93,_0x5eca9d._0x1909a9,_0x5eca9d._0x40dd37)](_0xa4c744,()=>{return _0x264979=!![],_0x4487c8[_0x59ecbe]??'';});}}function _0x2aaff3(_0x2c37de,_0x525bcb,_0x2c3fd3,_0x307276){return _0x16ac01(_0x2c37de-0xcd,_0x307276-_0x426e1e._0x2edfd4,_0x2c3fd3-_0x426e1e._0xbf6541,_0x2c3fd3);}return _0x1d8682=_0x1d8682[_0x2aaff3(0x4ea,_0x5eca9d._0x56a62a,0x3a5,0x437)](/\$(\d+)\b/g,(_0x353ebb,_0xf87c38)=>{return _0x264979=!![],_0x4487c8[Number(_0xf87c38)]??'';}),!_0x264979&&_0x17609f[_0x5b1737(0x5d1,_0x5eca9d._0x599d9e,_0x5eca9d._0xf3919c,0x7c8)][_0x2aaff3(_0x5eca9d._0x46cbda,0x437,0x1c3,_0x5eca9d._0x4893f6)]()&&(_0x1d8682=_0x1d8682+_0x2aaff3(0x112,_0x5eca9d._0x1f1ff8,0x67,0x262)+_0x17609f[_0x2aaff3(0x27f,0x39f,_0x5eca9d._0x1023a6,0x1fa)]),_0x1d8682;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x16ac01(0x19a,0x151,-0x65,0x23b)},{'env':'ANTHROPIC_API_KEY','provider':_0x16ac01(0x16a,0x1aa,0x2ed,-0x5e)},{'env':_0x5885dd(0x1ff,0x463,0x3e9,0x3cc),'provider':_0x16ac01(-0xa3,-0x2e,-0x163,0x73)},{'env':_0x5885dd(0xfa,-0x57,0x278,0x1a0),'provider':_0x5885dd(0x442,0x2fd,0x1fd,0x261)},{'env':_0x16ac01(0x2a0,0xcf,-0x7c,0xdb),'provider':'grok'},{'env':'DEEPINFRA_API_KEY','provider':_0x16ac01(0x1f8,0x70,-0x11b,0x10f)},{'env':_0x16ac01(-0x239,-0xe0,-0xe,0x137),'provider':'zai'},{'env':_0x5885dd(0x3ed,0x56e,0x44b,0x3a4),'provider':'moonshot'},{'env':_0x16ac01(0x31,0x101,-0x11,0x91),'provider':_0x5885dd(0x254,0x387,0xf8,0x2cb)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x16ac01(0x1ef,-0x3,0xb9,-0xc7),'provider':_0x5885dd(0x57d,0x43c,0x32c,0x3c0)},{'env':_0x5885dd(0x254,0x33f,0x91,0x18f),'provider':_0x5885dd(0x3e8,0x301,0x47d,0x503)},{'env':_0x16ac01(-0x19e,-0x71,-0x229,0x54),'provider':_0x5885dd(0x6c9,0x4a8,0x5b2,0x4f2)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x16ac01(-0x12f,-0x141,-0x1ad,0xa8)](_0xd5a6b5=>_0xd5a6b5[_0x5885dd(0x6db,0x36d,0x371,0x51f)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x5885dd(0x661,0x500,0x395,0x4ed),_0x16ac01(-0xc1,0x3,-0xe3,0x1cc),_0x16ac01(0x288,0x1e1,0x3e5,0x1b7)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x16ac01(0x13,0x104,0x115,-0x6e),'ENV',_0x5885dd(0x2ea,0x41e,0x53c,0x4f5),'BASHOPTS',_0x5885dd(0x47f,0x401,0x4c8,0x339),'GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x5885dd(0x369,0x37a,0x551,0x3be)](Object['prototype']),_0x5885dd(0x77,0x332,0x28a,0x1e8)]),PRODUCTION_FILE_EDIT_MODES=[_0x16ac01(-0x23,-0x1c,0x1dd,-0xe6),_0x16ac01(0x2f6,0x1a6,0x17c,0x21b),_0x5885dd(0x14a,0x34e,0x217,0x2f1)];function prototypeSafeRecord(_0x337f5f){const _0xd94548={_0x5dc1fb:0x43a,_0x3cd0eb:0x4f6,_0x48ba88:0x919,_0x1602d1:0x935,_0x5e9fe0:0x6fe,_0x199958:0x60b,_0x11fcb0:0x732,_0xd17996:0xa8f,_0x5ea726:0x8d4,_0x31cca3:0x5f7,_0x42eaaa:0x278},_0x603de5={_0x2decdd:0x1ba,_0x2637ab:0xcf,_0x4c3a83:0x70,_0x3250f3:0x31b,_0x581857:0x209,_0xb862c5:0x1,_0x5bb72b:0xa8,_0x5957ac:0x9,_0x16c2e3:0x558},_0x99555d={_0x349c96:0x120},_0x248af4={_0x43ef10:0x110,_0x4153ab:0x3ee};function _0xef4a6b(_0x2116fd,_0x25ae7b,_0x5f2ac5,_0x265aba){return _0x16ac01(_0x2116fd-0x18a,_0x265aba-0x348,_0x5f2ac5-0xef,_0x25ae7b);}function _0x48e026(_0xde1b73,_0x356613,_0x38dcb5,_0x25743e){return _0x5885dd(_0xde1b73-_0x248af4._0x43ef10,_0xde1b73,_0x38dcb5-0x1ad,_0x38dcb5-_0x248af4._0x4153ab);}return z[_0xef4a6b(_0xd94548._0x5dc1fb,0x3e8,_0xd94548._0x3cd0eb,0x5b8)](_0x32d8b0=>{const _0x396e83={_0x5794bc:0x8f,_0x480131:0x173,_0x3b9c11:0x1bc};function _0x544b80(_0x20a17f,_0x480076,_0x1573a2,_0x3574db){return _0xef4a6b(_0x20a17f-_0x396e83._0x5794bc,_0x3574db,_0x1573a2-_0x396e83._0x480131,_0x480076- -_0x396e83._0x3b9c11);}if(_0x32d8b0===null||typeof _0x32d8b0!=='object'||Array[_0x1cbf16(_0x603de5._0x2decdd,0x1bf,_0x603de5._0x2637ab,_0x603de5._0x4c3a83)](_0x32d8b0))return null;const _0x2ae89c=Object[_0x544b80(_0x603de5._0x3250f3,_0x603de5._0x581857,0x5e,0x392)](_0x32d8b0);function _0x1cbf16(_0x6b4112,_0x63ca65,_0x14d5a8,_0x4c7d6c){return _0xef4a6b(_0x6b4112-0x1c5,_0x14d5a8,_0x14d5a8-0x4,_0x63ca65- -_0x99555d._0x349c96);}if(_0x2ae89c!==Object[_0x544b80(-_0x603de5._0xb862c5,0xe5,-_0x603de5._0x5bb72b,_0x603de5._0x5957ac)]&&_0x2ae89c!==null)return null;return{'entries':Object[_0x1cbf16(0x329,0x37b,_0x603de5._0x16c2e3,0x307)](_0x32d8b0)};},z[_0x48e026(0xa9e,0x7a6,_0xd94548._0x48ba88,_0xd94548._0x1602d1)]({'entries':z['array'](z[_0x48e026(_0xd94548._0x5e9fe0,_0xd94548._0x199958,_0xd94548._0x11fcb0,0x6bf)]([z[_0x48e026(_0xd94548._0xd17996,0x7d0,_0xd94548._0x5ea726,0x708)](),_0x337f5f]))}))[_0xef4a6b(0x2e6,_0xd94548._0x31cca3,_0xd94548._0x42eaaa,0x486)](({entries:_0x11ec0c})=>Object[_0x48e026(0x6fc,0x556,0x688,0x5eb)](_0x11ec0c));}var chatModelAuthSchemeSchema=z[_0x16ac01(-0x7,0x19b,0x16f,0x1a7)]([_0x5885dd(0x4ac,0x702,0x6a3,0x504),_0x5885dd(0x48e,0x42b,0x305,0x293)]),apiKeyAuthSchema=z[_0x16ac01(0xad,0x29c,0xa5,0x19f)]({'type':z[_0x5885dd(0x1de,0x2ef,0x2b3,0x1e7)]('apiKey'),'apiKey':z[_0x5885dd(0x52f,0x3c2,0x386,0x4e6)](),'authScheme':chatModelAuthSchemeSchema[_0x5885dd(0x2df,0x522,0x22b,0x3fe)]()})[_0x5885dd(-0x7b,0x311,0x32d,0x162)](),oauthAuthSchema=z['object']({'type':z[_0x16ac01(0x125,-0xa8,0x4f,-0x96)]('oauth'),'access':z[_0x5885dd(0x592,0x3a6,0x52f,0x4e6)](),'refresh':z[_0x16ac01(0x142,0x257,0xe8,0x138)](),'expires':z['number']()[_0x16ac01(0x1ec,0x16f,-0x9e,-0x4d)](),'authScheme':chatModelAuthSchemeSchema[_0x5885dd(0x340,0x3e2,0x3cd,0x3fe)]()})[_0x16ac01(-0x109,-0x12d,-0x1e9,-0x15)](),finiteNonNegative=z[_0x5885dd(0x514,0x380,0x2fc,0x300)]()[_0x16ac01(0x2b5,0x16b,0x201,-0x3a)]()['nonnegative'](),chatGptAuthSchema=z[_0x5885dd(0x640,0x576,0x64e,0x52b)]({'type':z['literal']('chatgpt'),'access':z[_0x16ac01(0x1aa,0x257,0x161,0xde)]()[_0x5885dd(0x133,0x1c7,0x2b0,0x1c4)](0x1),'refresh':z[_0x16ac01(0x1af,0x257,0x6f,0x12c)]()['min'](0x1),'idToken':z[_0x5885dd(0x52b,0x2df,0x4bf,0x4e6)]()['min'](0x1),'accountId':z['string']()[_0x5885dd(0xee,0x116,-0x44,0x1c4)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x5885dd(0x443,0x385,0x494,0x3fe)]()})[_0x5885dd(0xb9,0x181,0x27c,0x162)](),authMethodSchema=z[_0x16ac01(0x117,0x1c4,0x2f,0x174)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x16ac01(0x328,0x19b,0x35,0x2e5)]([_0x16ac01(0xd7,0x11,-0xb8,0x1d),_0x5885dd(0x45e,0x314,0x267,0x3a8),_0x5885dd(0x2cc,0x3bb,0x2e9,0x228),_0x16ac01(0x74,0x5a,0x1c9,-0xa9),_0x5885dd(0x26e,0x274,0x592,0x418),'max']),reasoningOptionSchema=z['object']({'id':z[_0x5885dd(0x586,0x565,0x32a,0x4e6)]()[_0x16ac01(-0x8d,0x136,-0x8b,-0xf)]()[_0x5885dd(0x3d8,0x51,0x27,0x1c4)](0x1),'description':z[_0x5885dd(0x323,0x4f4,0x4f3,0x4e6)]()[_0x5885dd(0x2c2,0x284,0x5a3,0x3fe)](),'mode':z['enum'](['adaptive',_0x16ac01(0x265,0xc7,0xed,0x11e)])['optional'](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z[_0x16ac01(0x139,0x71,0xa,-0x15b)]()[_0x16ac01(0x3b,-0x26,-0x15,0x195)]()[_0x16ac01(-0xc8,-0xcb,-0x5,-0x78)](0x400)['optional']()})['superRefine']((_0x1b1a6a,_0x4ba07d)=>{const _0x12d562={_0x55ef69:0x448,_0x8f208:0x5b8,_0x5d88a4:0x363,_0x2e0b73:0x468,_0x2b740a:0x12f,_0x4e79d6:0x1b4,_0x3337c5:0x2b7,_0x3c3df1:0x2c6,_0x31b48f:0x65f,_0x44f4d6:0x412,_0x9ba34c:0x4be,_0x11dd5f:0x400,_0x17b3d9:0x414,_0x2c86e4:0x438,_0x4e56f4:0x25e,_0x24c9b2:0x59c,_0x41daf9:0x3ba,_0x44abaf:0x391,_0x5ebb19:0x3d,_0x40e39c:0x550,_0x4ad152:0x60b,_0x22d987:0x2b5,_0x57d068:0x347,_0x401ebd:0x536,_0x2e812c:0x386,_0x41e01b:0x2a1,_0x3cf420:0x381,_0x1ff23b:0x155,_0x1d6574:0x294,_0x34abf7:0x4e2,_0x3a18b1:0x38d,_0x423688:0x414,_0x2058e5:0x5a9,_0x1a65c2:0x12c,_0x101cca:0x502,_0x453ea4:0x4ea,_0x3d8913:0x796,_0x5916ce:0x4cd,_0x12c0f5:0x4ec,_0x28af04:0xf5,_0x29ccc1:0x40a,_0x4cbd55:0x47c},_0x45b28e={_0x30cc03:0x335,_0x52f163:0x1d2},_0x338a72={_0x50443b:0xc5,_0x53d056:0x105},_0x47e967=_0x1b1a6a['id']['toLowerCase']();(_0x47e967===_0x103c62(0x562,0x680,0x495,_0x12d562._0x55ef69)||_0x47e967===_0x103c62(0x773,0x577,_0x12d562._0x8f208,0x3fd)||_0x47e967===_0x103c62(0x3f1,_0x12d562._0x5d88a4,_0x12d562._0x2e0b73,0x472))&&_0x4ba07d['addIssue']({'code':_0x103c62(_0x12d562._0x2b740a,_0x12d562._0x4e79d6,0x32c,0x314),'path':['id'],'message':_0x103c62(_0x12d562._0x3337c5,0x25c,0x2fb,_0x12d562._0x3c3df1)+_0x47e967+_0x339410(0x33d,0x489,0x678,_0x12d562._0x31b48f)});function _0x103c62(_0x4ea8ed,_0xad454d,_0x1de541,_0x436735){return _0x16ac01(_0x4ea8ed-_0x338a72._0x50443b,_0x1de541-0x2db,_0x1de541-_0x338a72._0x53d056,_0xad454d);}function _0x339410(_0xf5fed0,_0x2a6eee,_0x9bf199,_0x3d1533){return _0x16ac01(_0xf5fed0-0x156,_0x2a6eee-_0x45b28e._0x30cc03,_0x9bf199-_0x45b28e._0x52f163,_0xf5fed0);}if(_0x1b1a6a[_0x339410(_0x12d562._0x44f4d6,0x5e6,0x5d2,0x540)]===_0x103c62(0x44e,_0x12d562._0x9ba34c,0x3a2,_0x12d562._0x11dd5f)){_0x1b1a6a[_0x339410(0x251,_0x12d562._0x17b3d9,_0x12d562._0x2c86e4,_0x12d562._0x4e56f4)]===void 0x0&&_0x4ba07d['addIssue']({'code':'custom','path':[_0x103c62(0x45e,_0x12d562._0x24c9b2,_0x12d562._0x41daf9,0x1ec)],'message':_0x103c62(_0x12d562._0x44abaf,0x1ba,0x236,_0x12d562._0x5ebb19)});_0x1b1a6a[_0x339410(0x38f,_0x12d562._0x40e39c,_0x12d562._0x4ad152,0x4e3)]!==void 0x0&&_0x4ba07d[_0x339410(_0x12d562._0x22d987,_0x12d562._0x57d068,_0x12d562._0x401ebd,0x4da)]({'code':_0x339410(0x1a1,_0x12d562._0x2e812c,0x565,0x524),'path':['effort'],'message':_0x103c62(_0x12d562._0x41e01b,0x31a,_0x12d562._0x3cf420,0x426)});return;}_0x1b1a6a[_0x103c62(0x2ac,0x382,_0x12d562._0x41daf9,0x21d)]!==void 0x0&&_0x4ba07d[_0x103c62(0x125,0x459,0x2ed,_0x12d562._0x1ff23b)]({'code':_0x339410(_0x12d562._0x1d6574,0x386,_0x12d562._0x34abf7,0x43d),'path':[_0x339410(_0x12d562._0x3a18b1,_0x12d562._0x423688,0x51e,_0x12d562._0x2058e5)],'message':_0x339410(_0x12d562._0x1a65c2,0x33d,_0x12d562._0x101cca,_0x12d562._0x453ea4)}),_0x1b1a6a[_0x103c62(0x77d,0x454,0x58c,_0x12d562._0x3d8913)]===void 0x0&&_0x1b1a6a[_0x339410(0x6fb,0x550,_0x12d562._0x5916ce,0x352)]===void 0x0&&_0x4ba07d[_0x103c62(_0x12d562._0x12c0f5,0x3cc,0x2ed,_0x12d562._0x28af04)]({'code':'custom','path':[_0x339410(_0x12d562._0x29ccc1,0x550,0x612,_0x12d562._0x4cbd55)],'message':'Reasoning\x20option\x20requires\x20mode\x20or\x20effort'});});function validateReasoningOptionIds(_0xc7fbc9,_0x1ba22c){const _0x1357a8={_0x4f213f:0x52,_0x55297c:0x18b,_0x4e6263:0x29d,_0x506165:0x6e,_0x2dbec0:0x5b,_0x261832:0x90,_0x12dcd4:0x133,_0x8c41c:0x22e,_0x139498:0xbe,_0x55b4f3:0x70,_0x245fc6:0xac,_0x3cb4c2:0xce,_0x262058:0x79,_0x3c1d30:0x200,_0x492e33:0x109},_0x3dceaa={_0x7830e5:0x1b4},_0x1007cd={_0x429e44:0x230};function _0x3594d4(_0x4ddd26,_0x354053,_0x50b760,_0x114d79){return _0x5885dd(_0x4ddd26-0xdd,_0x114d79,_0x50b760-0x142,_0x4ddd26- -_0x1007cd._0x429e44);}function _0x25db31(_0x5b0806,_0x34549f,_0x45012e,_0x3df7fd){return _0x16ac01(_0x5b0806-0x173,_0x34549f- -0xbe,_0x45012e-_0x3dceaa._0x7830e5,_0x45012e);}const _0x23de05=new Set();for(let _0x3dc31b=0x0;_0x3dc31b<_0xc7fbc9[_0x3594d4(0x15b,-_0x1357a8._0x4f213f,_0x1357a8._0x55297c,_0x1357a8._0x4e6263)];_0x3dc31b+=0x1){const _0xf2aca2=_0xc7fbc9[_0x3dc31b]?.['id'][_0x3594d4(-_0x1357a8._0x506165,0xb2,-0x1a0,_0x1357a8._0x2dbec0)]();if(!_0xf2aca2)continue;if(_0x23de05[_0x3594d4(_0x1357a8._0x261832,-_0x1357a8._0x12dcd4,_0x1357a8._0x8c41c,_0x1357a8._0x139498)](_0xf2aca2)){_0x1ba22c[_0x25db31(_0x1357a8._0x55b4f3,-_0x1357a8._0x245fc6,0x1,_0x1357a8._0x3cb4c2)]({'code':'custom','path':['options',_0x3dc31b,'id'],'message':'Duplicate\x20reasoning\x20option\x20\x22'+_0xf2aca2+'\x22'});continue;}_0x23de05[_0x3594d4(-_0x1357a8._0x262058,-_0x1357a8._0x3c1d30,_0x1357a8._0x492e33,0xcf)](_0xf2aca2);}}var providerReasoningConfigSchema=z[_0x16ac01(0x168,0x29c,0x461,0x334)]({'options':z[_0x5885dd(0x33a,0x4b3,0x374,0x2dd)](reasoningOptionSchema)})[_0x16ac01(-0x235,-0xe1,-0x1e1,0x6)]((_0x3b3934,_0x295c2c)=>{const _0xfe8fdb={_0xad8376:0xf8,_0x3d0140:0x6f};function _0x22aa02(_0x2e519e,_0x32ee9f,_0x2edaac,_0x4e65c9){return _0x16ac01(_0x2e519e-_0xfe8fdb._0xad8376,_0x4e65c9-_0xfe8fdb._0x3d0140,_0x2edaac-0xd7,_0x32ee9f);}validateReasoningOptionIds(_0x3b3934[_0x22aa02(0x4f,0x1a5,0x32e,0x210)],_0x295c2c);}),modelReasoningConfigSchema=z[_0x16ac01(0x193,0x29c,0x1ab,0x324)]({'defaultOption':z[_0x16ac01(0x209,0x257,0x304,0x5e)]()[_0x16ac01(0x23b,0x136,0x0,-0x31)]()[_0x16ac01(-0x64,-0xcb,-0x109,-0xb2)](0x1)[_0x16ac01(0xce,0x16f,-0x44,0x14f)](),'canDisable':z[_0x5885dd(0x301,0x3a8,0x3d5,0x429)]()[_0x5885dd(0x45f,0x2c0,0x593,0x3fe)](),'options':z[_0x16ac01(0x21a,0x4e,-0xe5,0x42)](reasoningOptionSchema)})[_0x16ac01(-0x1b2,-0xe1,0x46,-0x208)]((_0x1a64ea,_0x36867f)=>{const _0x28bc16={_0x28f0f7:0x65f,_0x50e240:0x484,_0x359c2f:0x74a,_0x52c0c2:0x74b,_0x5ad9b8:0x573,_0x7d4a4d:0x29f,_0x46175e:0x205,_0x69fd38:0x472,_0x461cab:0x413,_0xd51aae:0x8ac,_0x283ac9:0x286,_0x41ca4e:0x2ec,_0xccd972:0x409,_0x599bfb:0x30a,_0x14512a:0x802,_0x1935e2:0x4ea,_0x1964ce:0x6dd,_0x2f64cb:0x344,_0x5f08c2:0x4da,_0x12e86c:0x4c6,_0x28107a:0x3d5,_0x3611e1:0x166,_0x47b412:0xeb,_0x9cc026:0x65c,_0x3bc09f:0x874,_0x479171:0x687,_0xecc13c:0x771},_0x44f91b={_0x34b9b3:0x85};validateReasoningOptionIds(_0x1a64ea[_0x286035(_0x28bc16._0x28f0f7,0x4dc,_0x28bc16._0x50e240,0x5dd)],_0x36867f);const _0xcd39d5=_0x1a64ea[_0x286035(_0x28bc16._0x359c2f,_0x28bc16._0x52c0c2,_0x28bc16._0x5ad9b8,0x625)]?.['toLowerCase']();if(_0xcd39d5===void 0x0)return;function _0x5018d1(_0x3c57d4,_0x3aedbc,_0xd6913d,_0x558666){return _0x16ac01(_0x3c57d4-0xaf,_0x3c57d4-0xe5,_0xd6913d-0x8f,_0x558666);}function _0x286035(_0x7937e,_0x39f3e7,_0x3ac08,_0xba1b17){return _0x5885dd(_0x7937e-0x94,_0x39f3e7,_0x3ac08-_0x44f91b._0x34b9b3,_0x7937e-0x22f);}if(_0xcd39d5===_0x5018d1(_0x28bc16._0x7d4a4d,_0x28bc16._0x46175e,_0x28bc16._0x69fd38,0x378)){_0x1a64ea['canDisable']!==!![]&&_0x36867f['addIssue']({'code':_0x286035(0x50f,0x3c7,_0x28bc16._0x461cab,0x467),'path':[_0x286035(0x74a,_0x28bc16._0xd51aae,0x7a5,0x5ad)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}!_0x1a64ea[_0x5018d1(_0x28bc16._0x283ac9,_0x28bc16._0x41ca4e,_0x28bc16._0xccd972,_0x28bc16._0x599bfb)][_0x286035(0x610,0x42b,_0x28bc16._0x14512a,0x683)](_0x4be748=>_0x4be748['id'][_0x286035(0x3f1,0x243,0x269,0x4d8)]()===_0xcd39d5)&&_0x36867f[_0x286035(0x4d0,_0x28bc16._0x1935e2,0x432,_0x28bc16._0x1964ce)]({'code':_0x286035(0x50f,_0x28bc16._0x2f64cb,_0x28bc16._0x5f08c2,_0x28bc16._0x12e86c),'path':[_0x5018d1(0x371,0x290,_0x28bc16._0x28107a,_0x28bc16._0x3611e1)],'message':_0x5018d1(0xa,-_0x28bc16._0x47b412,-0x71,0x1be)+_0x1a64ea[_0x286035(0x74a,_0x28bc16._0x9cc026,0x5f0,_0x28bc16._0x3bc09f)]+_0x286035(_0x28bc16._0x479171,_0x28bc16._0xecc13c,0x63a,0x80e)});}),modelDefinitionSchema=z['object']({'id':z[_0x16ac01(0x45e,0x257,0x18f,0x2f7)](),'name':z[_0x5885dd(0x617,0x5b2,0x6e4,0x4e6)]()[_0x16ac01(0x4f,0x16f,0x157,0x229)](),'reasoning':modelReasoningConfigSchema[_0x5885dd(0x2db,0x3a9,0x4da,0x3fe)]()})[_0x16ac01(-0x57,-0x12d,-0x2de,-0x96)](),modelConfigSchema=z[_0x5885dd(0x514,0x37f,0x491,0x453)]([z[_0x5885dd(0x3e5,0x3c0,0x345,0x1e7)](![]),z['literal'](!![]),z['string'](),z[_0x5885dd(0x441,0x473,0x11c,0x2dd)](z[_0x5885dd(0x4e2,0x6b4,0x5c5,0x4e6)]()),z[_0x5885dd(0x1bd,0x190,0x12d,0x2dd)](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum'](['anthropic-messages',_0x16ac01(0x26f,0x75,0x189,0x245),_0x16ac01(0x16c,0x195,0x6b,0x62),'openai-responses-ws']),providerNameSchema=z[_0x16ac01(0x356,0x257,0x1c0,0x1d3)]()['min'](0x1,_0x16ac01(0x169,0x27c,0x1c3,0x18e))[_0x5885dd(0x38e,0x4c6,0x35a,0x48d)](_0x24bc15=>!_0x24bc15['includes'](':'),_0x5885dd(0x43e,0x3f8,0x5b2,0x3b5)),providerConfigSchema=z['object']({'apiKey':z[_0x5885dd(0x696,0x34e,0x5a2,0x4e6)]()[_0x16ac01(0x15b,0x16f,0xe9,0x11d)](),'token':z['string']()[_0x16ac01(0x28b,0x16f,0x2c5,0x47)](),'defaultModel':z[_0x16ac01(0x256,0x257,0x3d6,0x3d4)]()[_0x5885dd(0x243,0x2a9,0x4ff,0x3fe)](),'smallModel':z[_0x16ac01(0x15a,0x257,0x129,0x419)]()[_0x5885dd(0x36c,0x401,0x4ea,0x3fe)](),'currentAuth':z[_0x5885dd(0x47b,0x3e0,0x69c,0x4e6)]()[_0x5885dd(0x467,0x375,0x59c,0x3fe)](),'auth':z['array'](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x5885dd(0x362,0x5a0,0x480,0x3fe)](),'providerId':providerNameSchema[_0x16ac01(-0xd,0x16f,0x2f6,0x1d6)](),'baseUrl':z[_0x5885dd(0x370,0x5fe,0x621,0x4e6)]()[_0x16ac01(0x180,0x16f,-0xa0,0x2a4)](),'models':modelConfigSchema[_0x16ac01(-0x5b,0x16f,0x275,0x372)](),'customHeaders':z[_0x16ac01(0x2ba,0x160,0x26d,0x349)](z[_0x16ac01(0x343,0x257,0x43,0x3f1)](),z[_0x16ac01(0x239,0x257,0x2d6,0x3a1)]())[_0x16ac01(0x146,0x16f,0x2ae,0x290)](),'reasoning':providerReasoningConfigSchema[_0x5885dd(0x348,0x5a7,0x255,0x3fe)]()})[_0x16ac01(0xe2,-0x12d,0x7,-0x179)](),mcpServerConfigSchema=z[_0x16ac01(0x45f,0x29c,0x35d,0x2f0)]({'command':z[_0x16ac01(0x432,0x257,0x2f5,0x387)]()[_0x16ac01(0x248,0x16f,0x8e,0xc3)](),'args':z[_0x5885dd(0x483,0xfe,0x421,0x2dd)](z[_0x16ac01(0x44b,0x257,0x3cc,0x441)]())[_0x16ac01(0x77,0x16f,0x1fd,0x28b)](),'env':z[_0x16ac01(-0x39,0x160,0x1f9,-0xaa)](z[_0x5885dd(0x5d4,0x521,0x511,0x4e6)](),z[_0x5885dd(0x644,0x634,0x316,0x4e6)]())['optional'](),'transport':z[_0x16ac01(0x39b,0x19b,-0x45,0x2e8)]([_0x5885dd(0x2c8,0x415,0x181,0x355),_0x5885dd(0x54f,0x429,0x540,0x4bb)])[_0x16ac01(0x282,0x16f,0x8a,-0xa4)](),'url':z[_0x16ac01(0x90,0x257,0x128,0x212)]()[_0x5885dd(0x58e,0x212,0x2ad,0x3fe)](),'headers':z['record'](z['string'](),z['string']())[_0x5885dd(0x35b,0x2fa,0x4d4,0x3fe)](),'prefix':z[_0x5885dd(0x404,0x441,0x39f,0x4e6)]()[_0x5885dd(0x590,0x605,0x3e7,0x3fe)](),'timeoutMs':z[_0x16ac01(0x69,0x71,0x221,0x39)]()[_0x5885dd(0x226,0x555,0x3cc,0x3fe)](),'enabled':z[_0x16ac01(0xa1,0x19a,0x2a6,0x11b)]()['optional'](),'auth':z[_0x16ac01(0x2a3,0x29c,0x362,0x253)]({'type':z[_0x16ac01(0x47,0x19b,0x2c7,0x3b)]([_0x16ac01(0x2f9,0x29b,0x42e,0x23c),_0x16ac01(0x2d9,0x275,0x2ff,0x2a6),_0x16ac01(-0x14c,-0x136,-0x85,-0xd)]),'token':z[_0x16ac01(0x1e9,0x257,0x1c5,0xc6)]()['optional'](),'oauth':z[_0x5885dd(0x396,0x652,0x336,0x52b)]({'clientId':z[_0x16ac01(0x42d,0x257,0x42e,0x132)]()[_0x16ac01(0x204,0x16f,0xb9,0xa3)](),'clientMetadataUrl':z[_0x16ac01(0x130,0x257,0x244,0x155)]()[_0x5885dd(0x2b9,0x412,0x48a,0x3fe)](),'authorizationServer':z[_0x5885dd(0x463,0x3e6,0x54c,0x4e6)]()[_0x5885dd(0x3a0,0x33e,0x44f,0x3fe)](),'scopes':z['array'](z[_0x16ac01(0x38a,0x257,0xc2,0x353)]())[_0x5885dd(0x397,0x300,0x376,0x3fe)](),'tokenStorageKey':z[_0x16ac01(0x3b1,0x257,0x351,0x48)]()[_0x5885dd(0x34f,0x5f4,0x21a,0x3fe)]()})[_0x16ac01(-0xc1,-0x12d,-0x171,-0xb6)]()[_0x5885dd(0x525,0x373,0x2f1,0x3fe)]()})[_0x16ac01(-0x12d,-0x12d,-0x32a,-0x94)]()['optional']()})[_0x5885dd(-0x72,0x259,0x21e,0x162)](),mcpToolPermissionClassSchema=z[_0x16ac01(0x1ca,0x19b,0x19f,0x317)]([_0x5885dd(0x175,0x2db,0x4e0,0x35f),'write',_0x16ac01(0x58,0x1b,0x4f,-0xe7)]),mcpSettingsSchema=z[_0x5885dd(0x355,0x6a3,0x565,0x52b)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x5885dd(0x469,0x373,0x23d,0x3fe)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x5885dd(0x587,0x249,0x3c5,0x3fe)](),'defaultTimeoutMs':z[_0x16ac01(0x1e2,0x71,0x258,0x172)]()[_0x5885dd(0x355,0x4a4,0x341,0x3fe)]()})['passthrough'](),skillsSettingsSchema=z[_0x5885dd(0x492,0x41e,0x3d6,0x52b)]({'enabled':z[_0x5885dd(0x447,0x2e6,0x55e,0x429)]()[_0x16ac01(0x2e7,0x16f,0x4c,0x1a1)](),'includeDefaults':z[_0x16ac01(0x2ce,0x19a,0xe6,0x287)]()[_0x16ac01(0x176,0x16f,0x13b,0x29b)](),'directories':z[_0x5885dd(0x49b,0x228,0x46d,0x2dd)](z[_0x16ac01(0xe4,0x257,0x40a,0x38d)]())['optional'](),'exclude':z[_0x5885dd(0x22b,0x4f0,0x150,0x2dd)](z[_0x5885dd(0x54b,0x4c3,0x4ce,0x4e6)]())[_0x16ac01(0xab,0x16f,0x2,0xa4)]()})['passthrough'](),commandsSettingsSchema=z[_0x16ac01(0x411,0x29c,0x323,0x350)]({'enabled':z['boolean']()[_0x16ac01(0x18b,0x16f,-0x9c,0x31)](),'directories':z[_0x16ac01(-0x181,0x4e,0x7,-0x77)](z[_0x16ac01(0x3ff,0x257,0x2ea,0x3c1)]())['optional']()})[_0x16ac01(-0x22b,-0x12d,-0x37,-0x303)](),agentsSettingsSchema=z[_0x16ac01(0x1fb,0x29c,0x2ff,0xce)]({'enabled':z[_0x5885dd(0x258,0x347,0x509,0x429)]()[_0x16ac01(-0x27,0x16f,0xc0,0x11b)](),'includeDefaults':z[_0x5885dd(0x3bb,0x34e,0x412,0x429)]()[_0x5885dd(0x2b4,0x2b2,0x30f,0x3fe)](),'directories':z[_0x16ac01(-0x9,0x4e,-0x61,-0x132)](z[_0x5885dd(0x3b7,0x33d,0x4b6,0x4e6)]())[_0x16ac01(0x1f2,0x16f,0x327,0xf9)](),'maxConcurrency':z['number']()[_0x16ac01(-0x33,0x16b,0x1dc,0x18a)]()[_0x5885dd(0x2bb,0x23c,0x190,0x269)]()['positive']()[_0x5885dd(0x215,0x3ba,0x3f3,0x3fe)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x5885dd(0x6a1,0x4a2,0x321,0x52b)]({'mode':z[_0x16ac01(0x154,0x19b,0x25f,0x355)]([_0x16ac01(0xb3,0x53,-0x15c,0xd0),'dark',_0x5885dd(0x468,0x36d,0x5ec,0x407)])['optional'](),'colorLevel':z['enum'](['auto',_0x16ac01(0x1ef,0x29b,0xc7,0x1db),_0x5885dd(0x1d5,0x1d7,0x244,0x1fb),_0x5885dd(0x601,0x6e8,0x538,0x4f7),_0x5885dd(0x209,0x555,0x381,0x41e)])[_0x5885dd(0x429,0x46c,0x2cf,0x3fe)](),'backgrounds':z[_0x5885dd(0x388,0x3f6,0x4a9,0x42a)]([_0x5885dd(0x2e8,0x3db,0x1e3,0x2e2),'on',_0x5885dd(0x2d1,0x37d,0x24b,0x449)])[_0x16ac01(0x313,0x16f,0x335,0xbe)](),'messageStyle':z[_0x16ac01(0x12e,0x19b,0x399,-0x26)]([_0x5885dd(0x4d7,0x335,0x3e4,0x50c),_0x5885dd(0x66e,0x52b,0x3f4,0x4ad)])[_0x5885dd(0x29a,0x288,0x2bc,0x3fe)]()})[_0x16ac01(-0x15e,-0x12d,-0x121,0x9f)](),statuslineSegmentSchema=z['enum']([_0x5885dd(0x5f0,0x50a,0x447,0x523),_0x16ac01(0xb4,0x27b,0x1ad,0x124),'thinking','sudo','tokens',_0x16ac01(0xbb,0x2cb,0x359,0x162),_0x5885dd(0x3b6,0x167,0x150,0x255),_0x16ac01(0x192,-0x2c,-0x12b,-0xef),_0x16ac01(-0xb5,-0xd9,-0x33,-0xe1),_0x16ac01(-0x157,-0xbf,-0xdc,0x10),'lsp',_0x16ac01(0x2ad,0x1d0,0xa4,-0xd),_0x16ac01(-0x9c,-0x142,-0x1f8,-0x2b8),'memory',_0x16ac01(0x2c4,0x1eb,0x355,0x14b)]),statuslineItemSchema=z[_0x16ac01(0x37f,0x1c4,0x211,0x2f4)]([statuslineSegmentSchema,z[_0x16ac01(-0x291,-0xa8,-0xab,-0x63)]('|')]),statuslineRowSchema=z[_0x16ac01(0xec,0x4e,-0x5,-0xd7)](statuslineItemSchema),statuslineConfigSchema=z[_0x5885dd(0x436,0x69b,0x3e7,0x52b)]({'rows':z[_0x16ac01(0x2a6,0xb5,0x1d,-0x9f)]([statuslineRowSchema,statuslineRowSchema])[_0x16ac01(0x94,0x16f,0x1d9,0xb8)]()})[_0x16ac01(-0x265,-0x12d,-0xe5,-0x317)](),memoryExtractionSettingsSchema=z[_0x5885dd(0x41c,0x614,0x5db,0x52b)]({'enabled':z[_0x16ac01(0x139,0x19a,0x18a,0x2a0)]()[_0x16ac01(0x237,0x16f,0x27e,0x24d)](),'provider':z[_0x5885dd(0x5ab,0x500,0x37a,0x4e6)]()['min'](0x1)[_0x16ac01(-0x93,0x16f,-0x7f,0x84)](),'model':z[_0x5885dd(0x464,0x352,0x672,0x4e6)]()[_0x16ac01(0x77,-0xcb,-0x1bf,-0x99)](0x1)['optional'](),'minUserMessages':z[_0x16ac01(0x158,0x71,0x277,0x251)]()[_0x16ac01(-0x61,-0x26,-0x4c,-0x93)]()['min'](0x1)['optional'](),'structuredOutput':z[_0x5885dd(0x29d,0x428,0x286,0x429)]()[_0x5885dd(0x29a,0x57d,0x4f0,0x3fe)](),'maxSeedTokens':z[_0x5885dd(0x2b2,0x270,0x209,0x300)]()[_0x16ac01(0xa8,-0x26,-0x71,-0x11c)]()['min'](0x1)[_0x16ac01(0x7,0x16f,0x13c,0x1d3)](),'trimToolOutputs':z[_0x5885dd(0x328,0x527,0x215,0x429)]()[_0x5885dd(0x33d,0x593,0x4bf,0x3fe)]()})[_0x16ac01(0x209,0x271,0x182,0x142)](),memoryInjectionSettingsSchema=z['object']({'tokenBudget':z[_0x5885dd(0x197,0x40f,0x382,0x300)]()[_0x16ac01(0x178,-0x26,-0xf6,0x11)]()[_0x5885dd(0x338,0x326,0x9,0x1c4)](0x80)['max'](0x2000)['optional'](),'rankByUsage':z[_0x5885dd(0x637,0x3ba,0x256,0x429)]()['optional']()})['strict'](),memoryConsolidateSettingsSchema=z[_0x16ac01(0x13d,0x29c,0x8c,0x3e8)]({'enabled':z['boolean']()[_0x16ac01(0x329,0x16f,0x86,0x25d)](),'provider':z[_0x16ac01(0x10d,0x257,0x2a9,0xe3)]()[_0x5885dd(0xcf,0x187,0x268,0x1c4)](0x1)[_0x5885dd(0x337,0x3df,0x34f,0x3fe)](),'model':z['string']()[_0x5885dd(0xa9,0x32e,0x2f5,0x1c4)](0x1)['optional'](),'maxExtractsPerRun':z[_0x5885dd(0x14a,0x192,0x1ec,0x300)]()[_0x16ac01(-0x1ab,-0x26,-0xd7,-0x33)]()[_0x16ac01(-0x2c2,-0xcb,0xba,0x26)](0x1)['optional'](),'maxUnusedDays':z[_0x5885dd(0x22d,0x3e2,0x3d4,0x300)]()[_0x5885dd(0x128,0x15f,0xf1,0x269)]()[_0x16ac01(-0x2c0,-0xcb,-0x216,-0x163)](0x1)[_0x5885dd(0x5a5,0x4b7,0x602,0x3fe)](),'requireReview':z[_0x16ac01(0x12f,0x19a,0x322,0x269)]()[_0x5885dd(0x445,0x4d8,0x554,0x3fe)](),'writeSkills':z[_0x5885dd(0x4f8,0x462,0x5e7,0x429)]()[_0x16ac01(0x212,0x16f,0x2e2,0x372)](),'readSourceTranscripts':z[_0x16ac01(0x142,0x19a,0x2b2,0x26f)]()[_0x5885dd(0x221,0x3d9,0x5bd,0x3fe)](),'maxTranscriptReadsPerRun':z[_0x5885dd(0x302,0x247,0x47f,0x300)]()[_0x5885dd(0x6f,0x106,0x242,0x269)]()[_0x16ac01(-0xde,-0xcb,-0x1af,-0x40)](0x0)[_0x16ac01(0x13d,0x16f,0x28c,-0x6d)]()})[_0x16ac01(0x44a,0x271,0x290,0x29f)](),memorySettingsSchema=z[_0x5885dd(0x569,0x530,0x6d4,0x52b)]({'enabled':z[_0x5885dd(0x479,0x519,0x262,0x429)]()[_0x5885dd(0x473,0x24f,0x41e,0x3fe)](),'extraction':memoryExtractionSettingsSchema[_0x5885dd(0x399,0x5f9,0x5ec,0x3fe)](),'consolidate':memoryConsolidateSettingsSchema[_0x5885dd(0x4c3,0x30e,0x406,0x3fe)](),'injection':memoryInjectionSettingsSchema['optional']()})[_0x16ac01(0x216,0x271,0x35f,0xc2)](),recentModelSchema=z[_0x16ac01(0x43f,0x29c,0x43d,0x386)]({'provider':z[_0x16ac01(0x287,0x257,0x39d,0x137)](),'model':z[_0x5885dd(0x48c,0x3e4,0x396,0x4e6)](),'usedAt':z[_0x16ac01(0x8c,0x71,-0x1b,-0x52)]()})[_0x16ac01(-0x14f,-0x12d,0xc7,-0x204)](),lspServerEntrySchema=z[_0x5885dd(0x591,0x498,0x486,0x52b)]({'disabled':z['boolean']()['optional'](),'command':z[_0x16ac01(0x20d,0x257,0x3e4,0x56)]()['optional'](),'args':z[_0x5885dd(0x3c4,0x2b9,0x262,0x2dd)](z[_0x16ac01(0x218,0x257,0x17a,0x210)]())[_0x5885dd(0x336,0x1eb,0x25f,0x3fe)](),'rootMarkers':z[_0x16ac01(-0x1c5,0x4e,0x13b,0x234)](z[_0x5885dd(0x569,0x38c,0x688,0x4e6)]())['optional']()})[_0x16ac01(0x9,-0x12d,-0x189,-0x2de)](),lspConfigSchema=z['object']({'enabled':z[_0x5885dd(0x38b,0x50c,0x582,0x429)]()['optional'](),'servers':z[_0x5885dd(0x2da,0x270,0x1f8,0x3ef)](z[_0x5885dd(0x65f,0x57c,0x2e4,0x4e6)](),lspServerEntrySchema)[_0x16ac01(0x25e,0x16f,-0x80,0x228)]()})[_0x16ac01(0xcf,-0x12d,0x55,-0x2fd)](),serverEndpointSchema=z[_0x16ac01(0x4ad,0x29c,0x175,0x186)]({'url':z['string'](),'token':z[_0x5885dd(0x2fc,0x64d,0x338,0x4e6)]()[_0x5885dd(0x24b,0x54c,0x433,0x3fe)]()})[_0x16ac01(-0x46,-0x12d,-0x10a,-0x1d1)](),commandHookConfigSchema=z[_0x16ac01(0x1dd,0x29c,0x24e,0x3c4)]({'type':z[_0x16ac01(-0x186,-0xa8,0x13b,-0xd6)](_0x16ac01(0x381,0x1ca,0xd1,0x27)),'command':z[_0x16ac01(0x2ef,0x257,0x3c2,0x2de)](),'timeout':z[_0x5885dd(0x22a,0x160,0x2d1,0x300)]()['optional']()}),hookMatcherGroupSchema=z['object']({'matcher':z['string']()[_0x16ac01(0xc9,0x16f,0x2fb,0x1d7)](),'hooks':z[_0x5885dd(0x4ce,0x18f,0x285,0x2dd)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5885dd(0x73b,0x622,0x59a,0x52b)]({'PreToolUse':z[_0x16ac01(-0x158,0x4e,-0x94,-0xde)](hookMatcherGroupSchema)[_0x5885dd(0x1f4,0x29f,0x5fb,0x3fe)](),'PostToolUse':z[_0x16ac01(-0xfe,0x4e,0x4a,-0x73)](hookMatcherGroupSchema)[_0x16ac01(0x2e4,0x16f,0x2b,0x2c7)](),'UserPromptSubmit':z[_0x5885dd(0x243,0x2a6,0x470,0x2dd)](hookMatcherGroupSchema)[_0x16ac01(-0x99,0x16f,0x224,0x341)](),'Stop':z[_0x5885dd(0x1f3,0x2f3,0x239,0x2dd)](hookMatcherGroupSchema)[_0x5885dd(0x487,0x2c0,0x5b5,0x3fe)](),'Notification':z[_0x16ac01(0x187,0x4e,0x181,-0xd5)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x16ac01(0x1f9,0x4e,-0xc8,0xbb)](hookMatcherGroupSchema)[_0x16ac01(-0x98,0x16f,0x19f,-0x88)](),'SessionStart':z[_0x5885dd(0x19e,0x107,0x1c5,0x2dd)](hookMatcherGroupSchema)[_0x5885dd(0x557,0x2a5,0x611,0x3fe)](),'SessionEnd':z[_0x5885dd(0x11f,0x1d6,0x2d0,0x2dd)](hookMatcherGroupSchema)[_0x5885dd(0x28b,0x4a6,0x436,0x3fe)]()}),agentModelSetNameSchema=z[_0x5885dd(0x366,0x493,0x4a4,0x4e6)]()[_0x16ac01(0x241,0x1fe,0x24d,0x42)](isValidAgentModelSetName,'Invalid\x20agent\x20model\x20set\x20name'),agentModelSelectorSchema=z[_0x5885dd(0x3a2,0x5af,0x545,0x4e6)]()[_0x16ac01(0x229,0x1fe,0x198,0x1f4)](_0x1646ff=>parseProviderQualifiedModelSelector(_0x1646ff)!==void 0x0,_0x16ac01(0x30,0xbc,0xee,0xc0)),agentModelSetSchema=z[_0x16ac01(0x137,0x29c,0x3c8,0x429)]({'fast':agentModelSelectorSchema[_0x5885dd(0x23e,0x3bd,0x32d,0x3fe)](),'balanced':agentModelSelectorSchema[_0x16ac01(0x47,0x16f,-0x56,0x223)](),'powerful':agentModelSelectorSchema[_0x5885dd(0x331,0x397,0x4f1,0x3fe)]()})['strict']()['refine'](_0x43af72=>Object[_0x5885dd(0x5e5,0x3c1,0x2f7,0x455)](_0x43af72)[_0x5885dd(0x480,0x2fc,0x40f,0x38b)]>0x0,_0x5885dd(0x40b,0x1dc,0x1b3,0x374)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)['superRefine']((_0x4a59ad,_0x27e273)=>{const _0x3eceab={_0x586ee8:0x565,_0x3213f7:0x33e,_0x1fdacb:0x2b2,_0x44188e:0x468,_0x4c6776:0x49e,_0x95e8b9:0xa0,_0x9ea79c:0x288,_0x3875b1:0x47d,_0x3a1018:0x3f7,_0x11032f:0x264,_0x57a941:0x22b,_0x4c892c:0x3d4,_0x2400b0:0x2f3,_0x3dfcc7:0x155,_0x4b4551:0x55},_0x56587d={_0x4c8a19:0xa4,_0x135261:0x13},_0xbe8268={_0x1822e9:0x146};function _0x52f7eb(_0x438542,_0x2fa457,_0x36ad58,_0x12f6eb){return _0x16ac01(_0x438542-0x22,_0x2fa457-_0xbe8268._0x1822e9,_0x36ad58-0x2,_0x12f6eb);}function _0x55059a(_0x1ec133,_0x367970,_0xd222c0,_0x3f75fe){return _0x5885dd(_0x1ec133-_0x56587d._0x4c8a19,_0x1ec133,_0xd222c0-0x13a,_0x3f75fe-_0x56587d._0x135261);}for(const _0xa87d63 of Object[_0x55059a(_0x3eceab._0x586ee8,_0x3eceab._0x3213f7,_0x3eceab._0x1fdacb,_0x3eceab._0x44188e)](_0x4a59ad)){!agentModelSetNameSchema[_0x55059a(_0x3eceab._0x4c6776,_0x3eceab._0x95e8b9,0x433,_0x3eceab._0x9ea79c)](_0xa87d63)[_0x55059a(0x636,0x4de,0x578,_0x3eceab._0x3875b1)]&&_0x27e273[_0x55059a(_0x3eceab._0x3a1018,0x305,_0x3eceab._0x11032f,0x2b4)]({'code':_0x55059a(0x480,_0x3eceab._0x57a941,_0x3eceab._0x4c892c,_0x3eceab._0x2400b0),'path':[_0xa87d63],'message':_0x52f7eb(_0x3eceab._0x3dfcc7,_0x3eceab._0x4b4551,0x12e,-0x142)});}}),bashPolicyRuleSchema=z[_0x16ac01(0x25d,0x29c,0x210,0x2a7)]({'id':z[_0x5885dd(0x6d6,0x46f,0x6a3,0x4e6)]()[_0x5885dd(0x390,0x53a,0x2d9,0x3c5)]()[_0x16ac01(-0x213,-0xcb,0x26,-0xd9)](0x1)['max'](0x80),'action':z['enum']([_0x16ac01(-0x17d,0x4c,0x66,0x7a),_0x16ac01(-0x106,-0x131,0x22,-0x197)]),'cwd':z['enum']([_0x16ac01(0x309,0x10e,0x24b,-0xb1),_0x5885dd(0x2e9,0x3ae,0x510,0x342)])[_0x5885dd(0x24a,0x40f,0x38e,0x3fe)](),'commands':z[_0x5885dd(0x3f2,0x34d,0x2a3,0x2dd)](z[_0x16ac01(0x136,0x257,0x46,0x90)]()[_0x5885dd(0x320,0x3ab,0x156,0x1c4)](0x1))[_0x16ac01(-0x1fb,-0xcb,-0xa8,-0x2c8)](0x1)})[_0x16ac01(0x26e,0x271,0x6a,0x317)](),bashPolicyConfigSchema=z[_0x5885dd(0x5a9,0x489,0x6a0,0x52b)]({'default':z[_0x16ac01(-0x84,-0xa8,-0x154,-0x1a4)](_0x5885dd(0x22b,0xf4,0x40f,0x211))[_0x16ac01(0x1c7,0x16f,0x1e,0xba)](),'rules':z[_0x5885dd(0x245,0x394,0x10e,0x2dd)](bashPolicyRuleSchema)[_0x5885dd(0x32b,0x316,0x291,0x21d)](0x3e8)})[_0x16ac01(0x348,0x271,0x35b,0x405)](),fileEditSettingsSchema=z['object']({'mode':z[_0x5885dd(0x348,0x45f,0x5b3,0x42a)](PRODUCTION_FILE_EDIT_MODES)[_0x5885dd(0x25d,0x25a,0x40c,0x3fe)]()})[_0x5885dd(0x3f9,0x55f,0x526,0x500)](),toolsSettingsSchema=z['object']({'fileEdit':fileEditSettingsSchema[_0x16ac01(-0x7,0x16f,0x40,-0x3c)]()})[_0x16ac01(0x3,-0x12d,-0x3a,-0x2f0)](),cliConfigSchema=z[_0x16ac01(0xad,0x29c,0xfc,0x39f)]({'activeProvider':providerNameSchema[_0x16ac01(0x313,0x16f,0x100,0x227)](),'activeModel':z[_0x16ac01(0x166,0x257,0x340,0x186)]()[_0x5885dd(0x38c,0x2c7,0x3cf,0x3fe)](),'agentModelSets':agentModelSetsSchema[_0x5885dd(0x3d8,0x514,0x444,0x3fe)](),'activeAgentModelSet':agentModelSetNameSchema[_0x5885dd(0x57a,0x331,0x57f,0x3fe)](),'apiKey':z[_0x5885dd(0x3dc,0x582,0x376,0x4e6)]()[_0x16ac01(0x1bb,0x16f,0x184,0x1fa)](),'providers':z[_0x16ac01(0x1ef,0x160,0xd1,0x1b6)](providerNameSchema,providerConfigSchema)[_0x5885dd(0x2d8,0x5b0,0x2ff,0x3fe)](),'mcp':mcpSettingsSchema[_0x5885dd(0x508,0x434,0x233,0x3fe)](),'skills':skillsSettingsSchema[_0x16ac01(0x3c,0x16f,0x239,-0x3f)](),'agents':agentsSettingsSchema[_0x5885dd(0x45e,0x52d,0x518,0x3fe)](),'commands':commandsSettingsSchema[_0x5885dd(0x5d7,0x4a6,0x314,0x3fe)](),'skillsEnabled':z[_0x16ac01(0x84,0x160,-0x7a,0x2e6)](z[_0x16ac01(0x113,0x257,0x298,0x187)](),z[_0x5885dd(0x481,0x3fb,0x35a,0x429)]())[_0x5885dd(0x427,0x389,0x612,0x3fe)](),'allowedDirs':z[_0x16ac01(0x1e4,0x4e,0xca,0x1d2)](z[_0x5885dd(0x3e1,0x372,0x5ca,0x4e6)]())[_0x5885dd(0x5e3,0x417,0x4f6,0x3fe)](),'mcpEnabled':prototypeSafeRecord(z[_0x16ac01(-0x67,0x19a,-0x43,0x104)]())['optional'](),'commandsEnabled':z[_0x5885dd(0x347,0x28f,0x35b,0x3ef)](z[_0x5885dd(0x318,0x330,0x5fb,0x4e6)](),z[_0x5885dd(0x294,0x24b,0x54c,0x429)]())[_0x5885dd(0x462,0x578,0x3fe,0x3fe)](),'memory':memorySettingsSchema[_0x5885dd(0x5de,0x4fe,0x5f0,0x3fe)](),'session':z['object']({'memPersist':z[_0x5885dd(0x45d,0x2b4,0x580,0x429)]()[_0x5885dd(0x2b4,0x313,0x528,0x3fe)](),'persistEventLog':z[_0x5885dd(0x63e,0x3a7,0x371,0x429)]()['optional'](),'persistHttpLog':z[_0x5885dd(0x34a,0x3d9,0x5a0,0x429)]()[_0x5885dd(0x4e8,0x27a,0x53c,0x3fe)]()})[_0x16ac01(0x48,-0x12d,-0x154,-0x206)]()['optional'](),'requireToolApproval':z['boolean']()[_0x5885dd(0x365,0x52b,0x467,0x3fe)](),'thinking':z[_0x5885dd(0x658,0x483,0x61c,0x52b)]({'selections':z['record'](z['string'](),z[_0x16ac01(0x442,0x257,0x407,0x351)]())[_0x16ac01(0xa6,0x16f,0x14e,-0xa5)]()})[_0x16ac01(0x13,0x16f,0x311,0x16e)](),'streamingChunks':z[_0x5885dd(0x5e4,0x373,0x3fa,0x429)]()[_0x5885dd(0x351,0x57f,0x3fc,0x3fe)](),'agentsEnabled':z[_0x5885dd(0x36f,0x384,0x23d,0x3ef)](z['string'](),z[_0x5885dd(0x3c1,0x32d,0x480,0x429)]())['optional'](),'recentModels':z[_0x5885dd(0x213,0xf9,0x29f,0x2dd)](recentModelSchema)[_0x5885dd(0x5b4,0x20b,0x499,0x3fe)](),'lsp':lspConfigSchema[_0x16ac01(0x26c,0x16f,0x1fb,0x1ae)](),'servers':z[_0x16ac01(0x2d5,0x160,0x148,-0xa0)](z[_0x16ac01(0x446,0x257,0x413,0x119)](),serverEndpointSchema)['optional'](),'ui':z[_0x5885dd(0x717,0x44f,0x358,0x52b)]({'theme':uiThemeSettingsSchema[_0x5885dd(0x42c,0x383,0x48a,0x3fe)](),'statusline':statuslineConfigSchema[_0x5885dd(0x48a,0x319,0x4de,0x3fe)]()})[_0x5885dd(0x2f6,-0x44,0x89,0x162)]()[_0x16ac01(0x1b2,0x16f,-0x58,0x5e)](),'tools':toolsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x5885dd(0x290,0x350,0x609,0x3fe)](),'bashPolicy':z[_0x5885dd(0x46a,0x665,0x6dc,0x567)]()['optional']()})[_0x16ac01(-0x325,-0x12d,0xca,0x58)](),workspaceOverlaySchema=z['object']({'root':z[_0x16ac01(0x276,0x257,0x38a,0xa1)]()[_0x16ac01(0x5,0x16f,0x1a6,0x90)](),'allowedDirs':z[_0x5885dd(0xfc,0x4ac,0x2a1,0x2dd)](z['string']())[_0x16ac01(0x2c1,0x16f,0x2b6,0x1d)](),'activeProvider':providerNameSchema[_0x5885dd(0x485,0x330,0x463,0x3fe)](),'activeModel':z[_0x16ac01(0x343,0x257,0x32d,0x46e)]()['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0x5885dd(0x238,0x5c3,0x26b,0x3fe)](),'mcp':mcpSettingsSchema[_0x16ac01(0x28a,0x16f,0x33e,0x173)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x5885dd(0x342,0x2a8,0x236,0x3fe)](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x5885dd(0x30b,0x5c7,0x487,0x3fe)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x16ac01(0x2cb,0x19a,0x2e9,0x212)]())['optional'](),'skillsEnabled':z[_0x16ac01(0x6b,0x160,-0x8f,0x1aa)](z[_0x5885dd(0x4fe,0x396,0x53d,0x4e6)](),z[_0x5885dd(0x2e5,0x24a,0x491,0x429)]())[_0x5885dd(0x2ce,0x2b6,0x2ab,0x3fe)](),'agentsEnabled':z[_0x5885dd(0x55d,0x53b,0x4dd,0x3ef)](z[_0x5885dd(0x386,0x5bc,0x405,0x4e6)](),z[_0x5885dd(0x442,0x489,0x5a7,0x429)]())[_0x5885dd(0x571,0x539,0x580,0x3fe)](),'commandsEnabled':z[_0x16ac01(-0x31,0x160,0x2f1,0x182)](z[_0x5885dd(0x4fd,0x425,0x55d,0x4e6)](),z['boolean']())['optional'](),'bashPolicy':z[_0x5885dd(0x54d,0x737,0x771,0x567)]()[_0x5885dd(0x513,0x429,0x4ec,0x3fe)](),'tools':toolsSettingsSchema[_0x5885dd(0x3bb,0x3be,0x25a,0x3fe)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object['getOwnPropertyNames'](Object[_0x5885dd(0x17d,0x377,0x106,0x1e8)]),_0x5885dd(0x217,0xcd,0x39c,0x1e8)]);function buildDescription2(_0x281345){const _0x3b5d6c={_0x4a4311:0xcf,_0x54a255:0x25e,_0x3a8feb:0x4db,_0xba2959:0xb,_0x4b8ac9:0x2c6,_0x22d2c9:0x8f},_0x2ef376={_0x9b734d:0x192,_0x2264c1:0x2a,_0x4c43c5:0x6b},_0x14bb76={_0x536794:0x5b,_0x53e615:0x123};function _0x1645d4(_0x1a73e3,_0x367f22,_0xa8cf84,_0x11bd03){return _0x16ac01(_0x1a73e3-_0x14bb76._0x536794,_0x11bd03-0x293,_0xa8cf84-_0x14bb76._0x53e615,_0x1a73e3);}if(_0x281345['length']===0x0)return[_0x3c9836(-_0x3b5d6c._0x4a4311,0x254,_0x3b5d6c._0x54a255,0x91),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.','No\x20commands\x20are\x20currently\x20available.']['join']('\x0a');function _0x3c9836(_0x148232,_0x355faf,_0x2edbbc,_0x99a656){return _0x16ac01(_0x148232-_0x2ef376._0x9b734d,_0x99a656- -_0x2ef376._0x2264c1,_0x2edbbc-_0x2ef376._0x4c43c5,_0x2edbbc);}const _0x2b2928=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x1645d4(0x27e,_0x3b5d6c._0x3a8feb,0x4c9,0x334),'Available\x20commands:',..._0x281345['map'](_0x1c5535=>_0x1c5535[_0x1645d4(0x162,0x447,0x20c,0x352)]?'-\x20'+_0x1c5535[_0x1645d4(0x33f,0x675,0x616,0x4aa)]+'\x20'+_0x1c5535['argumentHint']+':\x20'+_0x1c5535[_0x1645d4(0x3ff,0x238,0x27e,0x2db)]:'-\x20'+_0x1c5535[_0x1645d4(0x2b5,0x513,0x394,0x4aa)]+':\x20'+_0x1c5535['description'])];return _0x2b2928[_0x3c9836(_0x3b5d6c._0xba2959,_0x3b5d6c._0x4b8ac9,_0x3b5d6c._0x22d2c9,0x1dc)]('\x0a');}function createInvokeCommandTool(_0x2d5e72){const _0xa400ef={_0x59cda6:0x3e8,_0x22a11d:0x3b8,_0x4ff92b:0x1c8,_0x5ad975:0x1a5,_0x4b466c:0x116,_0x59b7da:0x2a9,_0x3e32ae:0x19f,_0x35ad8f:0x46,_0x349017:0x7b7,_0x163ba4:0x5f6,_0x128933:0x4f7,_0x189041:0xe5,_0x5307c8:0x257,_0x2910c5:0x282,_0x1e5d66:0x581},_0x35ecc2={_0xc9f35d:0x6d1,_0x25d06b:0x294,_0xcb840c:0x407,_0x33fb52:0x5e4,_0x171f62:0x4a9,_0x2b7844:0x272,_0xaa45c4:0xaa,_0x431cb7:0x2bc,_0x14e402:0x24b,_0x259fa3:0xfb,_0xd98084:0x5f,_0x39d276:0xda,_0x4b0174:0xd5,_0x26aee3:0x3ac,_0xd38146:0x446,_0x243845:0x1d7,_0x448297:0xfb,_0x4be604:0x505,_0x27a8fc:0x590,_0x44b468:0x5f5,_0x275a79:0x58e},_0x1aea9b={_0x5787f8:0x15f},_0x1a24b3={_0x30e7db:0xd3},_0x47359a={_0x5c106e:0x6f},_0x4b0de0=new Map(_0x2d5e72[_0xd8ddd8(_0xa400ef._0x59cda6,0x33b,0x391,_0xa400ef._0x22a11d)][_0xb8a0ad(-_0xa400ef._0x4ff92b,-_0xa400ef._0x5ad975,-0x43,-_0xa400ef._0x4b466c)](_0x406891=>[_0x406891['id'],_0x406891]));function _0xd8ddd8(_0x3c2f45,_0x30c0f2,_0x5bdb23,_0x39b9be){return _0x16ac01(_0x3c2f45-_0x47359a._0x5c106e,_0x5bdb23-0x35a,_0x5bdb23-0x162,_0x3c2f45);}function _0xb8a0ad(_0x511f35,_0x53a401,_0xb4e811,_0x28c98e){return _0x16ac01(_0x511f35-_0x1a24b3._0x30e7db,_0x28c98e-0x2b,_0xb4e811-0xd1,_0xb4e811);}const _0x3c587a=buildDescription2(_0x2d5e72['commands']);return defineTool({'name':_0xd8ddd8(_0xa400ef._0x59b7da,0x612,0x488,0x663),'permissionClass':_0xb8a0ad(-_0xa400ef._0x3e32ae,-0x17f,0x67,_0xa400ef._0x35ad8f),'description':_0x3c587a,'inputSchema':{'type':_0xd8ddd8(_0xa400ef._0x349017,0x452,_0xa400ef._0x163ba4,_0xa400ef._0x128933),'properties':{'name':{'type':_0xb8a0ad(_0xa400ef._0x189041,_0xa400ef._0x5307c8,0x33b,_0xa400ef._0x2910c5)},'args':{'type':_0xd8ddd8(0x522,_0xa400ef._0x1e5d66,0x5b1,_0xa400ef._0x1e5d66)}},'required':['name']},async *'execute'(_0x254f04){const _0x61b197={_0x15856f:0x19e,_0x204e72:0x367},_0x3663db=_0x4b0de0[_0x5d2504(0x576,_0x35ecc2._0xc9f35d,0x485,0x667)](_0x254f04['name']);if(!_0x3663db){const _0x11233c=Array[_0x5d2504(_0x35ecc2._0x25d06b,_0x35ecc2._0xcb840c,_0x35ecc2._0x33fb52,_0x35ecc2._0x171f62)](_0x4b0de0[_0x4f77a0(0xfc,-0x15e,_0x35ecc2._0x2b7844,_0x35ecc2._0xaa45c4)]())['join'](',\x20');throw new ToolExecutionError(_0x4f77a0(-0x118,_0x35ecc2._0x431cb7,-0x4e,0xb8)+_0x254f04[_0x4f77a0(_0x35ecc2._0x14e402,-0x116,0x262,_0x35ecc2._0x259fa3)]+_0x4f77a0(0x26b,-_0x35ecc2._0xd98084,-0x2a,_0x35ecc2._0x39d276)+_0x11233c,{'name':_0x254f04[_0x4f77a0(0x15f,-_0x35ecc2._0x4b0174,0x19a,0xfb)]});}function _0x5d2504(_0x35b1fa,_0x54f315,_0x2a7f51,_0x4e1f78){return _0xb8a0ad(_0x35b1fa-0x14f,_0x54f315-_0x61b197._0x15856f,_0x54f315,_0x4e1f78-_0x61b197._0x204e72);}const _0x3cec46=await _0x2d5e72[_0x5d2504(_0x35ecc2._0x26aee3,0x43e,_0x35ecc2._0xd38146,0x32e)](_0x3663db),_0xcb16aa=_0x254f04[_0x4f77a0(0xab,0x337,0x4f,0x156)]??'',_0x33ca2a=renderCommandInstructions({'instructions':_0x3cec46['instructions'],'argumentsText':_0xcb16aa,'argumentNames':_0x3cec46['arguments']});yield createToolOutput(_0x33ca2a,{'id':_0x3cec46['id'],'name':_0x3cec46[_0x4f77a0(0x143,_0x35ecc2._0x243845,0x13d,_0x35ecc2._0x448297)],'path':_0x3663db[_0x5d2504(_0x35ecc2._0x4be604,0x2fa,_0x35ecc2._0x27a8fc,0x472)][_0x5d2504(_0x35ecc2._0x44b468,0x613,0x65c,_0x35ecc2._0x275a79)]});function _0x4f77a0(_0x551809,_0x4bdb99,_0x2454e3,_0x70797c){return _0xd8ddd8(_0x2454e3,_0x4bdb99-_0x1aea9b._0x5787f8,_0x70797c- -0x476,_0x70797c-0x167);}return void 0x0;}});}function createKillShellTool(_0x3ce1a1){const _0x3babe5={_0x321c8e:0x2e9,_0x41db40:0x615,_0x2106d3:0x5eb,_0x4afe40:0x509,_0x4019af:0x50a,_0x3ab40d:0x78b,_0x257367:0x743,_0x55ae0d:0x5b0,_0xb68695:0x4ce,_0xd98991:0x689,_0x277a6f:0x6ee,_0x32e840:0x697},_0x15b321={_0x3d08a3:0x50f,_0x59857b:0x33a,_0x256e38:0x468,_0x2cf663:0x55b,_0x1a9ea1:0x418,_0x353a7d:0x547,_0x141293:0x2a3,_0x582589:0x34,_0x474ffd:0x280,_0x53fdcb:0x105,_0x4d4818:0x5f,_0x303f77:0x262,_0x1676c7:0x61,_0x1887c2:0x3b3,_0xc617b3:0xb1,_0x1e1b34:0x1f7,_0x36fcfe:0x273,_0x574c92:0x324,_0x3ad299:0x4f6,_0x233146:0x557,_0x1c7b7e:0xec,_0x24e1c2:0xfb,_0x34c736:0x119,_0x4e46e8:0x521,_0x5aaff4:0x19d,_0x297b62:0x21d,_0x44cc68:0x5b2,_0x3cda06:0x466,_0x1ec071:0x3c3,_0xb846f1:0x532,_0x9329a:0x2ff,_0x19496a:0x33c,_0x20e861:0x51d,_0x266bb9:0x203,_0x4dbfc6:0x2df,_0x4aff9c:0x529,_0x94bf08:0x314,_0x1a7c1d:0x1b3,_0x25c6c0:0x7d,_0x41ccef:0x40,_0x4ec347:0x1b9,_0x368c27:0xa5,_0x42cee4:0x1be,_0x6d0111:0x619,_0xa4fcf8:0x4f0,_0x6322d9:0x2f4,_0x16170e:0x320,_0x209197:0x3d1},_0x4b0597={_0x86fee8:0xfc,_0x4a5f0d:0x3da},_0x5a11b9={_0x3effc0:0x13c},_0x292bd7={_0xc0f7cd:0x58a},_0x167b11={_0x2e8da7:0x58,_0x135e7d:0x18};function _0x1e878c(_0x42e178,_0x4ec8e3,_0xe12f33,_0x4b5479){return _0x5885dd(_0x42e178-0xe4,_0xe12f33,_0xe12f33-_0x167b11._0x2e8da7,_0x4b5479- -_0x167b11._0x135e7d);}function _0x52b6a1(_0x5282cf,_0xd5da83,_0x27ee7d,_0x5b7e00){return _0x16ac01(_0x5282cf-0xa7,_0x27ee7d-_0x292bd7._0xc0f7cd,_0x27ee7d-0x1f4,_0xd5da83);}const {registry:_0x2ac1c4}=_0x3ce1a1;return defineTool({'name':_0x52b6a1(_0x3babe5._0x321c8e,_0x3babe5._0x41db40,0x445,_0x3babe5._0x2106d3),'permissionClass':_0x52b6a1(_0x3babe5._0x4afe40,0x6e9,0x5a5,_0x3babe5._0x4019af),'description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x52b6a1(_0x3babe5._0x3ab40d,0x84b,0x826,_0x3babe5._0x257367),'properties':{'shellId':{'type':_0x1e878c(0x39c,_0x3babe5._0x55ae0d,0x2e3,_0x3babe5._0xb68695)}},'required':[_0x52b6a1(_0x3babe5._0xd98991,0x555,_0x3babe5._0x277a6f,_0x3babe5._0x32e840)]},async *'execute'(_0x21bcf1){const _0x2c36eb=await _0x2ac1c4[_0x149396(_0x15b321._0x3d08a3,0x601,_0x15b321._0x59857b,_0x15b321._0x256e38)](_0x21bcf1[_0x149396(0x418,_0x15b321._0x2cf663,0x53e,0x48b)]);function _0x149396(_0x2e9aa8,_0x19e804,_0x2954d2,_0xfe923d){return _0x1e878c(_0x2e9aa8-_0x5a11b9._0x3effc0,_0x19e804-0x92,_0x2954d2,_0x2e9aa8-0x3d);}const _0x37535c={'shellId':_0x2c36eb[_0x149396(_0x15b321._0x1a9ea1,_0x15b321._0x353a7d,0x25e,0x3bd)],'outcome':_0x2c36eb[_0x415264(0x1fc,0x3ca,0x274,_0x15b321._0x141293)],'status':_0x2c36eb[_0x415264(0x149,-_0x15b321._0x582589,_0x15b321._0x474ffd,_0x15b321._0x53fdcb)],'exitCode':_0x2c36eb['exitCode'],'signal':_0x2c36eb[_0x415264(-_0x15b321._0x4d4818,_0x15b321._0x303f77,-_0x15b321._0x1676c7,0x18f)],'error':_0x2c36eb[_0x149396(0x466,0x288,_0x15b321._0x1887c2,0x3fc)],'gracefulRequested':_0x2c36eb[_0x415264(_0x15b321._0xc617b3,_0x15b321._0x1e1b34,0x2dc,_0x15b321._0x36fcfe)],'forceRequested':_0x2c36eb[_0x415264(_0x15b321._0x574c92,_0x15b321._0x3ad299,_0x15b321._0x233146,0x3fb)]};if(_0x2c36eb[_0x415264(_0x15b321._0x1c7b7e,_0x15b321._0x24e1c2,_0x15b321._0x34c736,0x2a3)]===_0x149396(_0x15b321._0x4e46e8,0x4fc,0x607,0x3f1))throw new ToolExecutionError(_0x415264(0x17e,0x12f,_0x15b321._0x5aaff4,_0x15b321._0x297b62)+_0x21bcf1[_0x149396(0x418,0x45d,_0x15b321._0x44cc68,0x502)]+':\x20'+(_0x2c36eb[_0x149396(_0x15b321._0x3cda06,0x423,_0x15b321._0x1ec071,_0x15b321._0xb846f1)]??'unknown\x20termination\x20error'),_0x37535c);const _0x34ffcb=_0x2c36eb['outcome']===_0x149396(_0x15b321._0x9329a,0x3dd,0x40d,_0x15b321._0x19496a)?_0x149396(0x3c1,0x1d7,_0x15b321._0x20e861,_0x15b321._0x266bb9)+_0x21bcf1[_0x415264(_0x15b321._0x4dbfc6,_0x15b321._0x4aff9c,0x25f,_0x15b321._0x94bf08)]+_0x415264(_0x15b321._0x1a7c1d,_0x15b321._0x25c6c0,_0x15b321._0x41ccef,_0x15b321._0x4ec347)+_0x2c36eb[_0x415264(-_0x15b321._0x368c27,0x15,_0x15b321._0x42cee4,0x105)]+'.':_0x149396(0x42f,_0x15b321._0x6d0111,_0x15b321._0xa4fcf8,_0x15b321._0x6322d9)+_0x21bcf1[_0x415264(_0x15b321._0x16170e,_0x15b321._0x209197,0x42c,0x314)]+'.';function _0x415264(_0x5b00d1,_0x5936df,_0x3f6a9b,_0x372bea){return _0x52b6a1(_0x5b00d1-_0x4b0597._0x86fee8,_0x5b00d1,_0x372bea- -_0x4b0597._0x4a5f0d,_0x372bea-0xe7);}return createToolOutput(_0x34ffcb,_0x37535c);}});}import _0x10effa from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x42efc0=>{const _0x25ac95={_0x58420b:0x58,_0x1a0f52:0x26d,_0x2770d4:0x11b},_0x25daa0={_0x21edf4:0xd0,_0x1e1510:0x260},{lookup:_0x1950c9}=await import(_0xd747a6(-_0x25ac95._0x58420b,-_0x25ac95._0x1a0f52,0xe3,-_0x25ac95._0x2770d4));function _0xd747a6(_0x4248de,_0x55c10f,_0x2303d7,_0x396034){return _0x5885dd(_0x4248de-_0x25daa0._0x21edf4,_0x2303d7,_0x2303d7-0x5c,_0x4248de- -_0x25daa0._0x1e1510);}return _0x1950c9(_0x42efc0,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x32f380){const _0x3635f4={_0x197972:0x49e,_0x2eddc9:0x73c,_0x5036bd:0x4dd,_0x415452:0x372,_0x1a5a3d:0x3cb,_0x3703b4:0x578},_0x3744ff={_0x492afc:0x168},_0x324153={_0x422680:0x1ed},_0x26d491=_0x32f380[_0xe0a731(_0x3635f4._0x197972,0x5ea,_0x3635f4._0x2eddc9,0x680)]('.');if(_0x26d491[_0x322f31(_0x3635f4._0x5036bd,_0x3635f4._0x415452,_0x3635f4._0x1a5a3d,_0x3635f4._0x3703b4)]!==0x4)return null;function _0x322f31(_0x492cfa,_0x21eb46,_0x87d71a,_0x138fad){return _0x5885dd(_0x492cfa-0x194,_0x87d71a,_0x87d71a-0x89,_0x138fad-_0x324153._0x422680);}let _0x3f9087=0x0;function _0xe0a731(_0x47dafb,_0x308789,_0x470657,_0x594741){return _0x5885dd(_0x47dafb-0xdf,_0x470657,_0x470657-_0x3744ff._0x492afc,_0x594741-0x164);}for(const _0x378848 of _0x26d491){if(!/^\d{1,3}$/['test'](_0x378848))return null;const _0x3d815e=Number(_0x378848);if(_0x3d815e>0xff)return null;_0x3f9087=_0x3f9087*0x100+_0x3d815e;}return _0x3f9087>>>0x0;}function isBlockedIpv4(_0x570c40){const _0xc35729={_0x50c3cf:0x698,_0x1639e5:0x2f0,_0x172c1b:0x62d,_0x3b4240:0x3f7,_0xc1a8f3:0x2f,_0x3ba4dd:0x19c,_0x512f9d:0x258,_0x197415:0x324,_0x483108:0x2ee,_0x4f174c:0x7cb,_0x503be2:0x6b1,_0x36a4ed:0x6a,_0x1acabc:0x160,_0x386d94:0x44,_0xda33b0:0x184,_0x15d90b:0x20c,_0x3be811:0x1a3},_0x16156a={_0x3f0e4f:0x29,_0x5ccfff:0x1c6,_0x8b9494:0x358};function _0x28d577(_0x354f1f,_0x10bc71,_0x960c40,_0x17c784){return _0x5885dd(_0x354f1f-0x175,_0x960c40,_0x960c40-0x99,_0x17c784-0x2bc);}const _0x4ac786=ipv4ToInt(_0x570c40);if(_0x4ac786===null)return!![];const _0x8da6b2=(_0x413139,_0x350d82)=>{const _0x77d55c=ipv4ToInt(_0x413139);if(_0x77d55c===null)return![];const _0xddac3d=_0x350d82===0x0?0x0:0xffffffff<<0x20-_0x350d82>>>0x0;return(_0x4ac786&_0xddac3d)===(_0x77d55c&_0xddac3d);};function _0x121ebe(_0x5ee469,_0x41ab00,_0x5b482b,_0x931863){return _0x5885dd(_0x5ee469-_0x16156a._0x3f0e4f,_0x41ab00,_0x5b482b-_0x16156a._0x5ccfff,_0x5ee469- -_0x16156a._0x8b9494);}return _0x8da6b2(_0x28d577(0x325,0x434,0x5c7,0x524),0x8)||_0x8da6b2(_0x28d577(0x533,0x66b,_0xc35729._0x50c3cf,0x5f4),0x8)||_0x8da6b2(_0x28d577(_0xc35729._0x1639e5,_0xc35729._0x172c1b,_0xc35729._0x3b4240,0x4f6),0xa)||_0x8da6b2(_0x121ebe(_0xc35729._0xc1a8f3,0x1b4,-0x1e3,0x164),0x8)||_0x8da6b2(_0x121ebe(-_0xc35729._0x3ba4dd,-_0xc35729._0x512f9d,-_0xc35729._0x197415,-_0xc35729._0x483108),0x10)||_0x8da6b2(_0x28d577(_0xc35729._0x4f174c,0x412,_0xc35729._0x503be2,0x625),0xc)||_0x8da6b2(_0x121ebe(_0xc35729._0x36a4ed,_0xc35729._0x1acabc,0xec,_0xc35729._0x386d94),0x18)||_0x8da6b2(_0x121ebe(0x2c,_0xc35729._0xda33b0,0x2b,_0xc35729._0x15d90b),0x10)||_0x8da6b2(_0x28d577(0x8b0,0x656,0x90b,0x72f),0xf)||_0x8da6b2('224.0.0.0',0x4)||_0x8da6b2(_0x121ebe(-_0xc35729._0x3be811,0x19,-0x114,-0x317),0x4);}function expandIpv6(_0x239152){const _0x989c3c={_0x37d48e:0x2e2,_0x5e7011:0x4d3,_0x3bd93b:0x372,_0x5d8ad7:0x30f,_0x44a522:0x4d5,_0x37c90e:0x270,_0x22417e:0xa3,_0x32f7e6:0x6a7,_0x19a616:0x524,_0x460a59:0x54e,_0x172294:0x118,_0x5bb797:0x227,_0x8080a9:0x29d,_0x18ed5a:0x3c3,_0x3802aa:0x277,_0x1c7a15:0x1e3,_0x31936f:0x3ab,_0x328f38:0x3d6,_0x46e405:0x160,_0x5ea98b:0x29d},_0x11d2f4={_0x16d3de:0x8f,_0x35d17c:0xee},_0x4994bf={_0x5b7cb1:0x1ef};let _0x14d005=_0x239152,_0x5f37cb;const _0x198e1c=_0x14d005[_0x63e0f7(0x497,_0x989c3c._0x37d48e,_0x989c3c._0x5e7011,_0x989c3c._0x3bd93b)](':');_0x14d005[_0x63e0f7(_0x989c3c._0x5d8ad7,_0x989c3c._0x44a522,0x1d5,_0x989c3c._0x37c90e)](_0x198e1c+0x1)['includes']('.')&&(_0x5f37cb=_0x14d005[_0x47b836(0x8e,0xc9,0xa3,-0xd4)](_0x198e1c+0x1),_0x14d005=_0x14d005[_0x47b836(0x202,0x161,_0x989c3c._0x22417e,-0xb9)](0x0,_0x198e1c+0x1));function _0x63e0f7(_0xed0712,_0xacdc3d,_0x2ca501,_0x3bfce1){return _0x16ac01(_0xed0712-0x1a9,_0xed0712-0x40d,_0x2ca501-_0x4994bf._0x5b7cb1,_0x2ca501);}function _0x47b836(_0x724e67,_0x440f33,_0x57500a,_0x44de8c){return _0x5885dd(_0x724e67-0x12d,_0x44de8c,_0x57500a-_0x11d2f4._0x16d3de,_0x57500a- -_0x11d2f4._0x35d17c);}const _0x54f103=_0x14d005['split']('::');if(_0x54f103[_0x63e0f7(0x509,_0x989c3c._0x32f7e6,_0x989c3c._0x19a616,_0x989c3c._0x460a59)]>0x2)return null;const _0x14968e=_0x468aaa=>_0x468aaa[_0x63e0f7(0x69a,0x60b,0x82b,0x60d)](':')['filter'](_0x2c4baf=>_0x2c4baf[_0x47b836(0x3e1,0x193,0x29d,0x48e)]>0x0)[_0x63e0f7(0x2cc,0x4c3,0x3cd,0x277)](_0x20f06c=>Number[_0x47b836(0x3cc,0x2c6,0x3b9,0x37f)](_0x20f06c,0x10)),_0x2a8023=_0x54f103[0x0]?_0x14968e(_0x54f103[0x0]):[],_0x102f44=_0x54f103[_0x63e0f7(0x509,0x42c,0x414,0x62b)]===0x2&&_0x54f103[0x1]?_0x14968e(_0x54f103[0x1]):[],_0x284a7e=[];if(_0x5f37cb){const _0x508dbd=ipv4ToInt(_0x5f37cb);if(_0x508dbd===null)return null;_0x284a7e[_0x47b836(0xbd,0x51,_0x989c3c._0x172294,0xc7)](_0x508dbd>>>0x10&0xffff,_0x508dbd&0xffff);}const _0x2ee74c=[..._0x102f44,..._0x284a7e],_0x221621=0x8-_0x2a8023[_0x47b836(0x3c9,_0x989c3c._0x5bb797,_0x989c3c._0x8080a9,0x155)]-_0x2ee74c[_0x47b836(0x259,_0x989c3c._0x18ed5a,0x29d,_0x989c3c._0x3802aa)];if(_0x54f103[_0x47b836(0x32b,0x13d,0x29d,_0x989c3c._0x1c7a15)]===0x1)return _0x2a8023[_0x47b836(_0x989c3c._0x31936f,0x2bd,0x29d,0x128)]+_0x2ee74c[_0x47b836(_0x989c3c._0x328f38,_0x989c3c._0x46e405,_0x989c3c._0x5ea98b,0x20b)]===0x8?[..._0x2a8023,..._0x2ee74c]:null;if(_0x221621<0x0)return null;return[..._0x2a8023,...new Array(_0x221621)['fill'](0x0),..._0x2ee74c];}function isBlockedIpv6(_0x15ad3c){const _0x5e5cd8={_0x150864:0xa7,_0x42d233:0x228,_0xf9c7d0:0x100,_0xca0c89:0x17,_0x5884ce:0x150,_0x1aa2a7:0x918,_0x5543aa:0x842,_0x2ce331:0x65d,_0x14bd2c:0x281,_0x4fb997:0x31b,_0x297d88:0x89f,_0x312528:0x937},_0x6db38={_0x2463fc:0x74},_0x44f7cc={_0x47ec77:0x1d5,_0x56cf01:0x590},_0x5dcede=expandIpv6(_0x15ad3c);if(!_0x5dcede||_0x5dcede[_0x131f19(-_0x5e5cd8._0x150864,_0x5e5cd8._0x42d233,_0x5e5cd8._0xf9c7d0,-0x54)](_0x53cb71=>Number[_0x131f19(-0x260,-0x177,-0x11e,0xeb)](_0x53cb71)))return!![];const _0xae8ce4=_0x5dcede[_0x131f19(-_0x5e5cd8._0xca0c89,0x5c,-_0x5e5cd8._0x5884ce,-0x320)](0x0,0x7)[_0x1f2d55(_0x5e5cd8._0x1aa2a7,0x73d,0x991,_0x5e5cd8._0x5543aa)](_0x48f9de=>_0x48f9de===0x0);function _0x1f2d55(_0x4165f8,_0x52c5c4,_0x3122a3,_0x2969cb){return _0x16ac01(_0x4165f8-_0x44f7cc._0x47ec77,_0x2969cb-_0x44f7cc._0x56cf01,_0x3122a3-0x41,_0x3122a3);}if(_0xae8ce4&&(_0x5dcede[0x7]===0x0||_0x5dcede[0x7]===0x1))return!![];if(_0x5dcede[_0x1f2d55(_0x5e5cd8._0x2ce331,_0x5e5cd8._0x14bd2c,_0x5e5cd8._0x4fb997,0x492)](0x0,0x5)['every'](_0x1f1be2=>_0x1f1be2===0x0)&&(_0x5dcede[0x5]===0xffff||_0x5dcede[0x5]===0x0)){const _0x431e2f=(_0x5dcede[0x6]<<0x10|_0x5dcede[0x7])>>>0x0,_0x1fa017=[_0x431e2f>>>0x18&0xff,_0x431e2f>>>0x10&0xff,_0x431e2f>>>0x8&0xff,_0x431e2f&0xff][_0x1f2d55(0x6f4,_0x5e5cd8._0x297d88,_0x5e5cd8._0x312528,0x796)]('.');return isBlockedIpv4(_0x1fa017);}const _0x165e66=_0x5dcede[0x0];if((_0x165e66&0xff00)===0xfc00||(_0x165e66&0xfe00)===0xfc00)return!![];function _0x131f19(_0x11028b,_0x185323,_0x30c62a,_0x34522d){return _0x5885dd(_0x11028b-_0x6db38._0x2463fc,_0x11028b,_0x30c62a-0x9f,_0x30c62a- -0x2e1);}if((_0x165e66&0xffc0)===0xfe80)return!![];if((_0x165e66&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x21e0d4){const _0x4d5ca0=isIP(_0x21e0d4);if(_0x4d5ca0===0x4)return isBlockedIpv4(_0x21e0d4);if(_0x4d5ca0===0x6)return isBlockedIpv6(_0x21e0d4);return!![];}async function assertPublicUrl(_0x2b52ff,_0x52b531={}){const _0x3febf0={_0xe1bf17:0x333,_0x5434a8:0x290,_0x5eaef1:0x480,_0x297324:0x5a4,_0x1c03b9:0x57c,_0xda0b34:0x5f,_0x186309:0x1e8,_0x5a54a4:0x86,_0x436aed:0xe5,_0x431207:0x1e,_0x4a5bbd:0x373,_0x525f4d:0x471,_0x2302f9:0x424,_0x32eb26:0x682,_0x76eacc:0x140,_0x4e7671:0x61,_0x2f02fe:0x16d,_0x29c66b:0x102,_0x19684c:0x16d,_0x2f1391:0x985,_0x3f1cf1:0x7b6,_0x475e16:0x49b,_0x240f13:0x6f6,_0x18a33f:0x107,_0xab6a9b:0x693,_0x4a102c:0x671,_0x584f01:0x573,_0xdaba1e:0x7c9,_0x388fd1:0x680,_0x364c79:0xec,_0x219d66:0x210,_0x5b1e41:0xd4,_0x39b3a5:0x5d,_0x38d401:0x781,_0x145405:0x673},_0x52c345={_0x2eaa7d:0xcc,_0x582787:0x83},_0x2f94c6={_0x2eb670:0xbb,_0x50e0dc:0x15f};let _0x5dbed3;try{_0x5dbed3=new URL(_0x2b52ff);}catch{throw new ToolExecutionError(_0x5a3273(_0x3febf0._0xe1bf17,_0x3febf0._0x5434a8,0x522,_0x3febf0._0x5eaef1),{'url':_0x2b52ff});}if(_0x5dbed3[_0x5a3273(0x5ae,_0x3febf0._0x297324,_0x3febf0._0x1c03b9,0x599)]!=='http:'&&_0x5dbed3[_0x196a8d(_0x3febf0._0xda0b34,-0xdd,-_0x3febf0._0x186309,-_0x3febf0._0x5a54a4)]!==_0x5a3273(0x8eb,0x6fb,0x911,0x768))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x2b52ff});if(_0x5dbed3[_0x196a8d(0x8a,_0x3febf0._0x436aed,_0x3febf0._0x431207,0x7d)]||_0x5dbed3[_0x5a3273(0x3ee,0x28b,_0x3febf0._0x4a5bbd,_0x3febf0._0x525f4d)])throw new ToolExecutionError(_0x5a3273(0x433,_0x3febf0._0x2302f9,_0x3febf0._0x32eb26,0x496),{'url':_0x5dbed3['protocol']+'//'+_0x5dbed3[_0x196a8d(0x178,_0x3febf0._0x76eacc,0x5d,_0x3febf0._0x4e7671)]+_0x5dbed3[_0x196a8d(0x4c,-_0x3febf0._0x2f02fe,-0x255,-0x222)]});const _0x4581f3=_0x5dbed3['hostname'][_0x196a8d(0xdf,0x20e,0x105,0x249)](/^\[|\]$/g,''),_0x4d77ac=_0x5dbed3[_0x196a8d(-_0x3febf0._0x29c66b,-0xdd,-_0x3febf0._0x19684c,-0x252)]+'//'+_0x5dbed3[_0x5a3273(0x80e,_0x3febf0._0x2f1391,0x703,_0x3febf0._0x3f1cf1)]+_0x5dbed3[_0x5a3273(_0x3febf0._0x475e16,_0x3febf0._0x240f13,0x389,0x509)];function _0x5a3273(_0x1fae71,_0xe8c9c8,_0x3c54d1,_0x416988){return _0x5885dd(_0x1fae71-_0x2f94c6._0x2eb670,_0x1fae71,_0x3c54d1-_0x2f94c6._0x50e0dc,_0x416988-0x31b);}if(isIP(_0x4581f3)){if(isBlockedAddress(_0x4581f3))throw new ToolExecutionError(_0x196a8d(-_0x3febf0._0x18a33f,0xd3,-0x7d,-0x27),{'url':_0x4d77ac});return _0x5dbed3;}const _0x824f01=_0x52b531[_0x5a3273(_0x3febf0._0xab6a9b,0x3e6,_0x3febf0._0x4a102c,0x56c)]??defaultLookup;let _0x106823;function _0x196a8d(_0x4bacb9,_0x10ee69,_0x40a171,_0x452bdb){return _0x16ac01(_0x4bacb9-0x0,_0x10ee69- -_0x52c345._0x2eaa7d,_0x40a171-_0x52c345._0x582787,_0x40a171);}try{_0x106823=await _0x824f01(_0x4581f3);}catch{throw new ToolExecutionError(_0x5a3273(_0x3febf0._0x584f01,0x596,_0x3febf0._0xdaba1e,_0x3febf0._0x388fd1),{'url':_0x4d77ac});}if(_0x106823[_0x196a8d(-0xf1,0x30,-_0x3febf0._0x364c79,_0x3febf0._0x219d66)]===0x0)throw new ToolExecutionError(_0x196a8d(_0x3febf0._0x5b1e41,0xa,_0x3febf0._0x39b3a5,-0xf2),{'url':_0x4d77ac});for(const {address:_0x47c383}of _0x106823){if(isBlockedAddress(_0x47c383))throw new ToolExecutionError(_0x5a3273(0x86d,0x46f,_0x3febf0._0x38d401,_0x3febf0._0x145405),{'url':_0x4d77ac});}return _0x5dbed3;}async function safeFetch(_0xb09ce8,_0x555e67={},_0x32807d={}){const _0x2b84ff={_0x3c497d:0x2af,_0x1183d9:0x33,_0x531ce7:0x11a,_0x46b7d8:0x20,_0x4814f1:0x348,_0x199cbc:0x540,_0x4cf26b:0x4c7,_0x43810e:0x5f4,_0x1f2651:0x4ad,_0x1fa788:0x343,_0x24a44:0x521,_0x33afd8:0x405,_0x1b9c0f:0x681,_0x39ab65:0x515,_0x34db8d:0x4b0,_0x2b08b4:0x630,_0xd79a43:0x7ef,_0x460ae4:0x531,_0x4df82d:0x6a2,_0x4b79b6:0x496},_0x3450d2={_0xcb6dc6:0x255};function _0xd86116(_0x34b09e,_0x253435,_0x515005,_0x2fcd07){return _0x5885dd(_0x34b09e-0xb4,_0x515005,_0x515005-0x3f,_0x34b09e- -0x358);}const _0x4e521e=_0x32807d[_0xd86116(-0x1e2,-0xc,-_0x2b84ff._0x3c497d,-_0x2b84ff._0x1183d9)]??fetch,_0x24c956=_0x32807d[_0xd86116(-0x14b,-_0x2b84ff._0x531ce7,_0x2b84ff._0x46b7d8,-_0x2b84ff._0x4814f1)]??DEFAULT_MAX_REDIRECTS;function _0x48100a(_0x4aa663,_0x529a5f,_0x358f81,_0x2fa1a7){return _0x5885dd(_0x4aa663-0x132,_0x4aa663,_0x358f81-0x168,_0x529a5f-_0x3450d2._0xcb6dc6);}let _0x4848d3=_0xb09ce8;for(let _0x500448=0x0;;_0x500448+=0x1){const _0x3acfe3=await assertPublicUrl(_0x4848d3,_0x32807d),_0x50d127=await _0x4e521e(_0x3acfe3[_0x48100a(0x56f,0x496,_0x2b84ff._0x199cbc,_0x2b84ff._0x4cf26b)](),{..._0x555e67,'redirect':'manual'}),_0x22473b=_0x50d127[_0x48100a(0x6d3,0x64c,_0x2b84ff._0x43810e,_0x2b84ff._0x1f2651)]['get'](_0x48100a(_0x2b84ff._0x1fa788,_0x2b84ff._0x24a44,_0x2b84ff._0x33afd8,0x4d0));if(!REDIRECT_STATUSES[_0x48100a(_0x2b84ff._0x1b9c0f,_0x2b84ff._0x39ab65,0x63d,_0x2b84ff._0x34db8d)](_0x50d127['status'])||!_0x22473b)return _0x50d127;if(_0x500448>=_0x24c956)throw new ToolExecutionError(_0x48100a(0x61c,_0x2b84ff._0x2b08b4,_0x2b84ff._0xd79a43,_0x2b84ff._0x460ae4),{'url':_0x3acfe3[_0x48100a(_0x2b84ff._0x4df82d,_0x2b84ff._0x4b79b6,0x510,0x4f5)]()});_0x4848d3=new URL(_0x22473b,_0x3acfe3)['toString']();}}var USER_AGENT=_0x5885dd(0x653,0x38e,0x5f2,0x563),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x1ba875,_0x1ead05){const _0x475a1c={_0x2370de:0x4a5,_0x3ada4d:0x47a,_0x24032e:0x577,_0xe02764:0x28,_0x2a5e3b:0x15b,_0x88ba31:0x353,_0xbf0406:0x415,_0x4c1568:0x52c,_0x2b2d1e:0x3ab,_0x159d79:0x23e,_0x26660a:0x368,_0x3131bc:0x47e},_0x285564={_0x4f203c:0xcd,_0x47f585:0x7b},_0x109d9c={_0x325ace:0x364},_0x5b3c11={_0xca90:0x133,_0x33d156:0x2ae};function _0x505258(_0x7886e3,_0x58718d,_0x205828,_0x2e9a62){return _0x5885dd(_0x7886e3-_0x5b3c11._0xca90,_0x205828,_0x205828-0x180,_0x58718d- -_0x5b3c11._0x33d156);}const _0x4253ec=new AbortController(),_0x45f04e=setTimeout(()=>_0x4253ec[_0x505258(-0x9a,0x28,-0x77,0x17c)](new Error('Fetch\x20timed\x20out')),_0x1ead05),_0x431e6f=()=>_0x4253ec['abort'](_0x1ba875[_0x2776ab(0x228,0x22a,0x3fc,0x285)]);function _0x2776ab(_0x5f04eb,_0x1eefd3,_0x45f383,_0x57c027){return _0x16ac01(_0x5f04eb-0x80,_0x5f04eb-_0x109d9c._0x325ace,_0x45f383-0x93,_0x45f383);}return _0x1ba875[_0x2776ab(_0x475a1c._0x2370de,0x4a4,_0x475a1c._0x3ada4d,_0x475a1c._0x24032e)]?_0x4253ec[_0x505258(-0x11a,_0x475a1c._0xe02764,0x1df,-0x100)](_0x1ba875[_0x505258(-0x28d,-_0x475a1c._0x2a5e3b,-0x132,-_0x475a1c._0x88ba31)]):_0x1ba875[_0x2776ab(_0x475a1c._0xbf0406,0x2ba,_0x475a1c._0x4c1568,0x31d)](_0x2776ab(_0x475a1c._0x2b2d1e,_0x475a1c._0x159d79,0x584,_0x475a1c._0x26660a),_0x431e6f,{'once':!![]}),{'signal':_0x4253ec[_0x2776ab(0x343,0x3f9,_0x475a1c._0x3131bc,0x2dc)],'cleanup':()=>{const _0x1e2845={_0x43b10b:0x17f};clearTimeout(_0x45f04e);function _0x2ae2f8(_0x51abad,_0x59964e,_0x87dfa8,_0x10b5ab){return _0x505258(_0x51abad-0x177,_0x87dfa8- -0x7,_0x59964e,_0x10b5ab-_0x1e2845._0x43b10b);}_0x1ba875[_0x2ae2f8(-_0x285564._0x4f203c,0x1bf,-0x53,_0x285564._0x47f585)]('abort',_0x431e6f);}};}function createWebFetchTool(_0x256d65={}){const _0x3b0550={_0x114035:0x32c,_0x4b3c20:0x523,_0x4f3052:0x341,_0x159517:0x196,_0x90d68a:0x3df,_0x4801ea:0x254,_0x5eff31:0xda,_0x293d10:0x11f,_0x5c8bd7:0x219,_0x374a61:0x26d,_0x4f75ad:0x20b,_0x47aba8:0x251,_0x4cfb13:0x2a6,_0x50fc68:0x129,_0xa15b36:0x33f,_0x2f37b6:0x1e2,_0x1f9823:0x198,_0xcd091d:0x5c,_0x19a0fd:0xd4,_0x2660b1:0xf2,_0x212f28:0x1d0,_0x3956ee:0x1f0,_0x4b9424:0x3cc,_0x223f1e:0x355,_0x8b7d83:0x33f,_0x33206a:0x176,_0x1101bf:0x485,_0x456458:0x2fa,_0x1617d4:0x3c2,_0x459bce:0x279},_0x3abcd8={_0x3e8a32:0x571,_0xce86da:0x748,_0x13d05c:0x71e,_0x46a6d9:0xdb,_0x38f7f8:0x3b,_0x4735f2:0x116,_0x358cbf:0x4,_0x5bb4b9:0x166,_0x26edf8:0xde,_0x116b57:0xe1,_0x29d465:0x48c,_0x5825c1:0x6ef,_0x5e5de0:0x511,_0x4ff860:0x498,_0x5b9af4:0x586,_0x161d75:0x1bf,_0x4859de:0x49,_0x31f41d:0x52e,_0x130554:0x17,_0x1eb962:0x61,_0x16f36e:0x31,_0x320592:0x8c0,_0x2e0d60:0x6d8,_0x57b20e:0x39f,_0x5d64a0:0x204,_0x44155b:0x288,_0x3cbb11:0x868,_0x5bc6bf:0x555,_0x22ba7a:0x6d5,_0x2f07b8:0x553,_0x5eca22:0x659,_0x3521a4:0x841,_0x4de0a0:0x8f,_0xc3e721:0x20b,_0x319d2b:0x54e,_0x177cde:0x664,_0x22f8df:0x5a9,_0x24d1e0:0x6c3},_0x5c0468={_0x4b6006:0xa9},_0x1424ac={_0x2d782c:0x1f0,_0xfd12e0:0x100},_0xd2f099={_0x382f7b:0x78},_0x11a9b4=_0x256d65[_0x39c2b2(0x211,_0x3b0550._0x114035,0x2a9,0x2ba)]??_0x3d569d(_0x3b0550._0x4b3c20,0x443,_0x3b0550._0x4f3052,0x1f4);function _0x39c2b2(_0x10e12c,_0x18777e,_0x2da612,_0x5f5b87){return _0x16ac01(_0x10e12c-0x1ec,_0x5f5b87-0xa3,_0x2da612-_0xd2f099._0x382f7b,_0x2da612);}const _0x2505fc=_0x256d65[_0x39c2b2(_0x3b0550._0x159517,_0x3b0550._0x90d68a,0x29f,0x2e9)]??DEFAULT_TIMEOUT_MS2,_0xd1a087=_0x256d65['lookup'],_0x2ab325=new _0x10effa({'headingStyle':_0x3d569d(_0x3b0550._0x4801ea,_0x3b0550._0x5eff31,0x19e,-0x15),'codeBlockStyle':_0x3d569d(_0x3b0550._0x293d10,-0x104,0x54,0x116),'bulletListMarker':'-'});_0x2ab325['remove'](['script','style',_0x3d569d(0x169,_0x3b0550._0x5c8bd7,0x282,_0x3b0550._0x374a61),_0x39c2b2(_0x3b0550._0x4f75ad,0x12b,_0x3b0550._0x47aba8,_0x3b0550._0x4cfb13),_0x3d569d(_0x3b0550._0x50fc68,_0x3b0550._0xa15b36,_0x3b0550._0x2f37b6,_0x3b0550._0x1f9823),_0x3d569d(0x17e,0x126,_0x3b0550._0xcd091d,-0x121),_0x39c2b2(0x4be,0x375,0x45e,0x343),'aside']);function _0x3d569d(_0x595d95,_0x24284f,_0x191827,_0x24e08c){return _0x16ac01(_0x595d95-_0x1424ac._0x2d782c,_0x191827-_0x1424ac._0xfd12e0,_0x191827-0x179,_0x595d95);}return defineTool({'name':_0x11a9b4,'permissionClass':_0x3d569d(_0x3b0550._0x19a0fd,_0x3b0550._0x2660b1,_0x3b0550._0x212f28,_0x3b0550._0x3956ee),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x39c2b2(0x324,_0x3b0550._0x4b9424,_0x3b0550._0x223f1e,_0x3b0550._0x8b7d83),'properties':{'description':{'type':_0x39c2b2(_0x3b0550._0x33206a,0x399,_0x3b0550._0x1101bf,_0x3b0550._0x456458)},'url':{'type':'string'}},'required':[_0x3d569d(_0x3b0550._0x1617d4,0x10d,0x1ed,_0x3b0550._0x459bce)]},async *'execute'(_0x478b8f,_0x5361cd){const _0x2206c4={_0x296c46:0x58,_0x397906:0x122},_0x195a67=(await assertPublicUrl(_0x478b8f[_0x58ee0d(_0x3abcd8._0x3e8a32,0x5c9,_0x3abcd8._0xce86da,_0x3abcd8._0x13d05c)],{'lookup':_0xd1a087}))['toString']();if(_0x5361cd[_0x5d9dec(0x36,-_0x3abcd8._0x46a6d9,_0x3abcd8._0x38f7f8,_0x3abcd8._0x4735f2)]['aborted'])throw new ToolExecutionError(_0x5d9dec(_0x3abcd8._0x358cbf,_0x3abcd8._0x5bb4b9,-0x211,-0x41),{'url':_0x195a67});const _0x2552f8=createTimeoutSignal(_0x5361cd[_0x5d9dec(0x36,-_0x3abcd8._0x26edf8,0x2a,_0x3abcd8._0x116b57)],_0x2505fc);let _0x2c74cb='',_0x208428=0x0,_0x7afcf9;function _0x5d9dec(_0x4fc2ff,_0x163cf0,_0x46c7a3,_0xb867e9){return _0x3d569d(_0x163cf0,_0x163cf0-0x119,_0x4fc2ff- -_0x5c0468._0x4b6006,_0xb867e9-0x4);}try{const _0x528cfc=await safeFetch(_0x195a67,{'headers':{'User-Agent':USER_AGENT},'signal':_0x2552f8['signal']},{'lookup':_0xd1a087});if(!_0x528cfc['ok'])throw new ToolExecutionError('HTTP\x20'+_0x528cfc[_0x58ee0d(_0x3abcd8._0x29d465,_0x3abcd8._0x5825c1,0x3ff,0x586)]+'\x20'+_0x528cfc['statusText'],{'url':_0x195a67,'statusCode':_0x528cfc[_0x58ee0d(0x539,_0x3abcd8._0x5e5de0,_0x3abcd8._0x4ff860,_0x3abcd8._0x5b9af4)]});_0x2c74cb=_0x528cfc[_0x5d9dec(_0x3abcd8._0x161d75,0x269,0x3be,-_0x3abcd8._0x4859de)][_0x5d9dec(0x32c,0x1d5,0x26d,_0x3abcd8._0x31f41d)](_0x5d9dec(_0x3abcd8._0x130554,-0x15b,0xe8,0x145))??'',_0x208428=_0x528cfc[_0x5d9dec(-0x54,_0x3abcd8._0x1eb962,-0x71,-_0x3abcd8._0x16f36e)],_0x7afcf9=await _0x528cfc['text']();}catch(_0x2f7203){if(_0x2f7203 instanceof ToolExecutionError)throw _0x2f7203;const _0x1c33d3=_0x2f7203 instanceof Error?_0x2f7203['message']:String(_0x2f7203);throw new ToolExecutionError(_0x1c33d3,{'url':_0x195a67});}finally{_0x2552f8['cleanup']();}function _0x58ee0d(_0xc03d80,_0x41ce5c,_0x1932a5,_0x474467){return _0x3d569d(_0x41ce5c,_0x41ce5c-_0x2206c4._0x296c46,_0x474467-0x531,_0x474467-_0x2206c4._0x397906);}const _0x23b297=new Date()[_0x58ee0d(0x4cd,_0x3abcd8._0x320592,0x697,_0x3abcd8._0x2e0d60)]();let _0x179557,_0x36bb84;if(_0x2c74cb[_0x5d9dec(0x2ac,_0x3abcd8._0x57b20e,_0x3abcd8._0x5d64a0,_0x3abcd8._0x44155b)](_0x58ee0d(_0x3abcd8._0x3cbb11,_0x3abcd8._0x5bc6bf,_0x3abcd8._0x22ba7a,0x6e0)))_0x179557=_0x58ee0d(0x838,_0x3abcd8._0x2f07b8,_0x3abcd8._0x5eca22,0x75e)+_0x7afcf9+_0x58ee0d(0x78e,0xa3e,0x773,_0x3abcd8._0x3521a4),_0x36bb84=_0x5d9dec(0xe4,0x3a,0x2b0,0x275);else _0x2c74cb['includes'](_0x5d9dec(0xf0,-_0x3abcd8._0x4de0a0,0x15b,_0x3abcd8._0xc3e721))?(_0x179557=_0x2ab325[_0x58ee0d(_0x3abcd8._0x319d2b,0x5ca,0x87f,0x73a)](_0x7afcf9),_0x36bb84=_0x58ee0d(0x624,_0x3abcd8._0x177cde,0x636,_0x3abcd8._0x22f8df)):(_0x179557=_0x7afcf9,_0x36bb84=_0x58ee0d(0x4c9,0x68f,_0x3abcd8._0x24d1e0,0x66a));return yield createToolOutput(_0x179557,{'url':_0x195a67,'contentType':_0x2c74cb,'statusCode':_0x208428,'format':_0x36bb84,'size':_0x7afcf9['length'],'fetchedAt':_0x23b297}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x16ac01(-0x265,-0xb5,-0x234,-0x13e);function normalizeUrl(_0x499a94){const _0x266695={_0x106378:0x8c2,_0x5d3d24:0x6ef,_0x4c7ec2:0x7df,_0x31b551:0x85b,_0x474b3a:0x817,_0xcae66e:0x811,_0x4ed26b:0x8fb,_0x499091:0x87b,_0x93ffe5:0x83e,_0x4288c6:0x709,_0x25d6c9:0x78f,_0xb558a8:0x4b2,_0x561bd0:0x3a3,_0x5b1866:0x58a,_0x424e00:0x66f,_0x13e4c0:0x7dc,_0x5b9596:0x55f,_0x4b7d4c:0x8e1,_0x7ce8bc:0x6fc,_0x471279:0x839,_0x18d7dd:0x594,_0x2bae0c:0x555,_0x268f02:0x705,_0x507867:0x3a8},_0x523bf0={_0x5e8725:0xb8},_0x5a742c={_0x45e0f0:0xaf};function _0x87c6cb(_0x417184,_0x5a7fcf,_0x4b661a,_0x41d993){return _0x16ac01(_0x417184-0x1e2,_0x41d993-0x5db,_0x4b661a-_0x5a742c._0x45e0f0,_0x417184);}function _0x47235c(_0x1d1c0e,_0x5093c3,_0x404b86,_0x4414ed){return _0x16ac01(_0x1d1c0e-_0x523bf0._0x5e8725,_0x404b86-0x571,_0x404b86-0x1d7,_0x5093c3);}try{const _0x5abbed=new URL(_0x499a94);for(const _0x5c6c66 of[_0x87c6cb(_0x266695._0x106378,0x654,_0x266695._0x5d3d24,_0x266695._0x4c7ec2),'utm_medium',_0x87c6cb(0x97b,0x959,0x74c,0x769),_0x47235c(0x625,_0x266695._0x31b551,_0x266695._0x474b3a,_0x266695._0xcae66e),_0x47235c(_0x266695._0x4ed26b,_0x266695._0x499091,_0x266695._0x93ffe5,_0x266695._0x4288c6),_0x87c6cb(_0x266695._0x25d6c9,_0x266695._0xb558a8,_0x266695._0x561bd0,_0x266695._0x5b1866),_0x47235c(_0x266695._0x424e00,_0x266695._0x13e4c0,0x687,_0x266695._0x5b9596),_0x47235c(_0x266695._0x4b7d4c,_0x266695._0x7ce8bc,_0x266695._0x471279,0x894),_0x87c6cb(_0x266695._0x18d7dd,0x731,0x6b3,0x6a5)]){_0x5abbed[_0x47235c(0x583,_0x266695._0x2bae0c,_0x266695._0x268f02,0x6ed)]['delete'](_0x5c6c66);}return _0x5abbed[_0x47235c(0x371,0x3f3,0x523,_0x266695._0x507867)]();}catch{return _0x499a94;}}function cseDateRestrict(_0x1e1014){const _0x2d3022={_0x580dab:0x49a,_0x11f976:0x541,_0x324889:0x24e,_0x551a22:0x198,_0x2fb64b:0x460},_0x42728f={_0xf83b8a:0x122};if(_0x1e1014<=0x0)return void 0x0;function _0x5920d2(_0x1b74f8,_0x1502a6,_0x2cbbd6,_0x2b47b4){return _0x16ac01(_0x1b74f8-0x106,_0x1b74f8- -0x31,_0x2cbbd6-0x11d,_0x2b47b4);}if(_0x1e1014<=0x1e)return'd'+Math['max'](0x1,Math['floor'](_0x1e1014));function _0x29b53c(_0x150c33,_0x28543f,_0x479060,_0x27f392){return _0x16ac01(_0x150c33-0x16d,_0x27f392-0x2c2,_0x479060-_0x42728f._0xf83b8a,_0x28543f);}if(_0x1e1014<=0x16d)return'm'+Math[_0x29b53c(0x6ea,0x3ba,_0x2d3022._0x580dab,_0x2d3022._0x11f976)](_0x1e1014/0x1e);return'y'+Math[_0x5920d2(_0x2d3022._0x324889,_0x2d3022._0x551a22,_0x2d3022._0x2fb64b,0x2f5)](_0x1e1014/0x16d);}function addSiteFilters(_0x33bc52,_0x2d17de){const _0x4830df={_0x3831ff:0x1,_0x4e6ff3:0x1c7,_0x3c8c56:0x1d9,_0x4299a9:0x201,_0x13d3f8:0x36,_0x417e0c:0x11f,_0x1adcb4:0xc4,_0x2d6e1c:0x57,_0x15e99b:0x207,_0x5cba43:0x1b3},_0x46c8fa={_0x3cdc05:0x1da,_0x226167:0x1c4},_0x52e5d0={_0x17d506:0x17b,_0x38a109:0xa0};function _0x27b4e8(_0x5f07f8,_0x1f3a19,_0x5de86c,_0x4a5423){return _0x16ac01(_0x5f07f8-_0x52e5d0._0x17d506,_0x4a5423-0x7d,_0x5de86c-_0x52e5d0._0x38a109,_0x1f3a19);}if(_0x2d17de[_0x357612(-_0x4830df._0x3831ff,0x261,_0x4830df._0x4e6ff3,_0x4830df._0x3c8c56)]===0x0)return _0x33bc52[_0x357612(0xc5,0x15f,_0x4830df._0x4299a9,0x1d)]();function _0x357612(_0x340ec9,_0x490ea,_0x474da5,_0x228424){return _0x5885dd(_0x340ec9-_0x46c8fa._0x3cdc05,_0x340ec9,_0x474da5-0x11a,_0x474da5- -_0x46c8fa._0x226167);}return(_0x33bc52+'\x20('+_0x2d17de[_0x27b4e8(_0x4830df._0x13d3f8,-0x4d,-_0x4830df._0x417e0c,-_0x4830df._0x1adcb4)](_0xec3d56=>'site:'+_0xec3d56)['join'](_0x27b4e8(-0x1d1,_0x4830df._0x2d6e1c,-_0x4830df._0x15e99b,-0x8))+')')[_0x27b4e8(0x8d,0x33d,0x245,_0x4830df._0x5cba43)]();}function normalizeType(_0x37b629){const _0x6802c={_0x346421:0x38d,_0x493f32:0x444,_0xd6f9d7:0x54d,_0x3543e7:0x39c,_0x2f5b60:0x464,_0x3cba86:0x29c,_0x404732:0x398},_0x16932b={_0x31d50c:0x126},_0x332a2d={_0x11f011:0x5a};function _0x4a2808(_0x32665e,_0x1e6516,_0x41d385,_0x5c3fea){return _0x5885dd(_0x32665e-0x1d2,_0x5c3fea,_0x41d385-_0x332a2d._0x11f011,_0x1e6516-0x194);}function _0x2e5db4(_0x2b85b8,_0x55dde8,_0x739cf9,_0x4899a6){return _0x16ac01(_0x2b85b8-_0x16932b._0x31d50c,_0x739cf9-0x353,_0x739cf9-0x184,_0x55dde8);}return _0x37b629==='images'?_0x2e5db4(_0x6802c._0x346421,_0x6802c._0x493f32,_0x6802c._0xd6f9d7,0x4a8):_0x4a2808(_0x6802c._0x3543e7,_0x6802c._0x2f5b60,_0x6802c._0x3cba86,_0x6802c._0x404732);}async function fetchJson(_0xb24878,_0x3c9927,_0x21edf7){const _0x1c9001={_0x341279:0x367,_0x2339a0:0x1a0,_0x4a670d:0x189,_0x3d0e08:0x137,_0x5c0d98:0x2b9,_0xef105c:0x4b4,_0x3f8e32:0x38d,_0x194362:0x248,_0x4754be:0x1f4,_0x46d54e:0x1c4,_0x542a18:0x190,_0x8f69d3:0x3d0,_0x4d0af0:0x466,_0x133d7f:0x39f,_0x2bf072:0x412,_0x333b15:0x2cf,_0x25291b:0x1de,_0x41279e:0x80,_0x1e64df:0x65,_0x3170b9:0x195,_0x4df72a:0x15d,_0x1ef6ff:0x35e,_0x835ea0:0x1da,_0x3f992c:0x407,_0x4585bc:0xae,_0x523ea4:0x29f,_0x41e668:0x411,_0xcf9d3d:0x407,_0x3c9015:0x55e},_0x3d73eb={_0x5d969e:0xbb},_0x315571=await fetch(_0xb24878,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x24b385(0x1ff,_0x1c9001._0x341279,_0x1c9001._0x2339a0,0x2f),..._0x21edf7?.['headers']},'signal':_0x3c9927,..._0x21edf7});if(!_0x315571['ok']){let _0x53196b,_0x3aa000;try{_0x53196b=await _0x315571[_0x24b385(_0x1c9001._0x4a670d,_0x1c9001._0x3d0e08,0x254,_0x1c9001._0x5c0d98)]();const _0x5b0945=JSON[_0x4ad83f(_0x1c9001._0xef105c,0x1c6,_0x1c9001._0x3f8e32,_0x1c9001._0x194362)](_0x53196b),_0x2aac14=typeof _0x5b0945[_0x24b385(_0x1c9001._0x4754be,0x1a6,_0x1c9001._0x46d54e,_0x1c9001._0x542a18)]==='object'?_0x5b0945[_0x4ad83f(0x562,0x269,0x3ee,0x5f8)][_0x24b385(0x302,0x369,_0x1c9001._0x8f69d3,0x22c)]:void 0x0;_0x3aa000=_0x5b0945[_0x24b385(0x302,0x344,0x2b2,_0x1c9001._0x4d0af0)]?.['message']??_0x5b0945['error']?.[_0x24b385(_0x1c9001._0x133d7f,0x253,_0x1c9001._0x2bf072,_0x1c9001._0x333b15)]?.[0x0]?.[_0x24b385(_0x1c9001._0x25291b,_0x1c9001._0x41279e,0x27e,_0x1c9001._0x1e64df)]??_0x2aac14;}catch{}const _0x2a7e26=_0x3aa000?_0x24b385(0xa2,_0x1c9001._0x3170b9,0x90,-_0x1c9001._0x4df72a)+_0x315571['status']+':\x20'+_0x3aa000:_0x4ad83f(_0x1c9001._0x1ef6ff,_0x1c9001._0x835ea0,0x29c,_0x1c9001._0x3f992c)+_0x315571[_0x4ad83f(0xdd,_0x1c9001._0x4585bc,_0x1c9001._0x523ea4,0x235)]+'\x20'+_0x315571[_0x4ad83f(_0x1c9001._0x41e668,0x637,0x454,0x26a)];throw new ToolExecutionError(_0x2a7e26,{'statusCode':_0x315571[_0x4ad83f(0x39d,_0x1c9001._0xcf9d3d,_0x1c9001._0x523ea4,0x3a4)],..._0x53196b?{'body':_0x53196b}:{}});}function _0x4ad83f(_0x138eaf,_0x4b6cd1,_0x3ed267,_0x203614){return _0x5885dd(_0x138eaf-0x120,_0x203614,_0x3ed267-0xe4,_0x3ed267-_0x3d73eb._0x5d969e);}function _0x24b385(_0x1f96bb,_0x457dc7,_0x1d4525,_0x3168a6){return _0x16ac01(_0x1f96bb-0xef,_0x1f96bb-0x150,_0x1d4525-0x183,_0x1d4525);}return await _0x315571[_0x4ad83f(_0x1c9001._0x3c9015,0x345,0x3d7,0x1eb)]();}async function hydrateResults(_0x3516aa,_0x3807b7,_0x5ad865,_0x342103){const _0x1cff89={_0x2d5b91:0x34e,_0xc4b8bf:0x155,_0x95ba7b:0x7f,_0x3221eb:0x450,_0x2b079a:0x17c,_0x1f1b75:0x37,_0x533896:0x216,_0x1eb373:0x1d6,_0x294460:0x399,_0x5d9a6c:0x4d7,_0x3f7c0c:0x37},_0x311dd6={_0x4f38e6:0x18e},_0xbd85e9={_0x596699:0x190},_0x5551ce={_0x5cbc6c:0x6de,_0x41b083:0x4cb,_0x426416:0x952,_0x19605a:0x8be,_0xbce1db:0x56e,_0x491887:0x644,_0x40659a:0x65d,_0x6c08fe:0x7bf,_0x2a84b6:0x506,_0x5f377e:0x6aa,_0x1ad0e3:0x3c1,_0x22263f:0x386,_0x5bd836:0x515,_0x42d054:0x720,_0x322c27:0x7c4,_0x23594c:0x649,_0xa7e586:0x53a,_0xc8dfc6:0x7ed,_0x5baed2:0x747,_0x55f8fe:0x781,_0x19c896:0xa1e,_0x163956:0x6c8,_0x52a3bb:0x886,_0x2aacbe:0x3ac,_0x4dd52d:0x76c,_0x29a214:0x57a,_0x554bd1:0x3af,_0x5bf57f:0x5cb,_0x4fa51c:0x782,_0xf0ea5f:0x7fe,_0x1e001d:0x95d,_0x3f1e0d:0x794,_0x4b6624:0x68a,_0x1515c1:0x6e9,_0x2b0674:0x260,_0x3caeeb:0x444,_0x50f149:0x3e7,_0x4fc97b:0x3be,_0x2c7bd1:0x56d,_0xecbbfc:0x444},_0x3c3d04=await Promise[_0x57c80f(_0x1cff89._0x2d5b91,_0x1cff89._0xc4b8bf,_0x1cff89._0x95ba7b,-0x9b)](_0x3516aa[_0x5e840b(_0x1cff89._0x3221eb,0x433,0x3c4,0x4d9)](0x0,0xa)[_0x57c80f(-_0x1cff89._0x2b079a,_0x1cff89._0x1f1b75,_0x1cff89._0x533896,-_0x1cff89._0x1eb373)](async _0x6e3137=>{function _0x332eab(_0x4e007a,_0x48b245,_0xbbff77,_0x3f1655){return _0x57c80f(_0x3f1655,_0xbbff77-0x4cd,_0xbbff77-0x2d,_0x3f1655-0x1ca);}function _0x178f9a(_0x555988,_0x26e91b,_0x3e1ac0,_0x5c953a){return _0x5e840b(_0x555988-0x1ec,_0x26e91b-0x185,_0x555988,_0x3e1ac0- -0x145);}try{const _0x4035b0=await safeFetch(_0x6e3137['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x3807b7,'Accept':_0x332eab(0x8db,0x87e,_0x5551ce._0x5cbc6c,0x6c9)},'signal':_0x5ad865},{'lookup':_0x342103});if(!_0x4035b0['ok'])return _0x6e3137;const _0xa6fc6e=await _0x4035b0[_0x178f9a(0x377,0x3c3,_0x5551ce._0x41b083,0x5e9)](),_0x303d8d=load(_0xa6fc6e),_0x4fa223=_0x303d8d('meta[property=\x27og:title\x27]')[_0x332eab(0x7d0,_0x5551ce._0x426416,_0x5551ce._0x19605a,0x6cd)]('content')||_0x303d8d(_0x178f9a(0x608,_0x5551ce._0xbce1db,0x4d7,0x6c3))[_0x332eab(_0x5551ce._0x491887,0x59d,_0x5551ce._0x40659a,_0x5551ce._0x6c08fe)]()[_0x178f9a(0x63d,_0x5551ce._0x2a84b6,_0x5551ce._0x41b083,_0x5551ce._0x5f377e)]()['trim'](),_0x16f042=_0x303d8d('meta[name=\x27description\x27]')['attr'](_0x178f9a(_0x5551ce._0x1ad0e3,_0x5551ce._0x22263f,_0x5551ce._0x5bd836,_0x5551ce._0x42d054))||_0x303d8d('meta[property=\x27og:description\x27]')[_0x332eab(0x6ff,_0x5551ce._0x322c27,0x8be,0xa4b)](_0x332eab(0x78e,0x831,0x6c8,_0x5551ce._0x23594c))||_0x6e3137[_0x332eab(_0x5551ce._0xa7e586,_0x5551ce._0xc8dfc6,0x6a3,_0x5551ce._0x5baed2)],_0x36a564=_0x303d8d(_0x332eab(_0x5551ce._0x55f8fe,0x8ff,0x811,_0x5551ce._0x19c896))['attr'](_0x332eab(0x785,0x70d,_0x5551ce._0x163956,_0x5551ce._0x52a3bb))||_0x303d8d(_0x178f9a(0x2ab,0x2f8,_0x5551ce._0x2aacbe,0x2b7))['attr'](_0x178f9a(0x45e,_0x5551ce._0x4dd52d,_0x5551ce._0x29a214,_0x5551ce._0x554bd1))||_0x6e3137[_0x332eab(0x86e,_0x5551ce._0x5bf57f,0x734,0x66c)],_0x4a309f=_0x303d8d(_0x178f9a(0x699,0x75b,0x570,_0x5551ce._0x4fa51c))['attr'](_0x332eab(0x8a8,_0x5551ce._0xf0ea5f,0x8b8,_0x5551ce._0x1e001d));return{..._0x6e3137,'title':_0x4fa223||_0x6e3137[_0x332eab(0x87f,_0x5551ce._0x3f1e0d,_0x5551ce._0x4b6624,_0x5551ce._0x1515c1)],'snippet':_0x16f042,'url':_0x4a309f?normalizeUrl(new URL(_0x4a309f,_0x6e3137['url'])[_0x178f9a(_0x5551ce._0x2b0674,0x605,_0x5551ce._0x3caeeb,_0x5551ce._0x50f149)]()):_0x6e3137[_0x178f9a(_0x5551ce._0x4fc97b,_0x5551ce._0x2c7bd1,0x57f,_0x5551ce._0xecbbfc)],'publishedAt':_0x36a564};}catch{return _0x6e3137;}}));function _0x57c80f(_0x260c99,_0x1f947e,_0x54a82f,_0x17c084){return _0x5885dd(_0x260c99-_0xbd85e9._0x596699,_0x260c99,_0x54a82f-0x48,_0x1f947e- -0x117);}function _0x5e840b(_0x4c1dd9,_0x24a0ef,_0x1fb568,_0x51b067){return _0x16ac01(_0x4c1dd9-_0x311dd6._0x4f38e6,_0x51b067-0x5d7,_0x1fb568-0xf2,_0x1fb568);}const _0x385e19=new Map(_0x3516aa[_0x5e840b(_0x1cff89._0x294460,0x377,0x5ce,0x4d9)](0x0,0xa)[_0x5e840b(0x34c,0x5c1,_0x1cff89._0x5d9a6c,0x496)]((_0x2e67a8,_0x459efb)=>[_0x2e67a8[_0x5e840b(0x8ae,0x792,0x4f5,0x6c4)],_0x3c3d04[_0x459efb]]));return _0x3516aa[_0x57c80f(-0xb3,_0x1cff89._0x3f7c0c,0xfe,-0xad)](_0x6a402a=>_0x385e19['get'](_0x6a402a[_0x57c80f(0x30b,0x265,0x60,0x41c)])??_0x6a402a);}function formatResults(_0x3b23f0){const _0x21b2a2={_0x22bc03:0x609,_0x26f040:0x54a,_0x18b0cb:0x8a0,_0x2cae66:0x409,_0x12cc53:0x379},_0x14c3ef={_0x42fc29:0x289,_0x33594c:0x40f,_0x2ba6b6:0x58a,_0x446513:0x5b4,_0x30b205:0x3d,_0x4423fa:0x62,_0x8ecf34:0x1b1,_0x4ee4aa:0x1cb,_0x5b6851:0x38b,_0x5f57e7:0x452,_0x583852:0x2a6,_0x1a096d:0x25a,_0x30275a:0x1ba,_0x3e7c11:0x2f6,_0x273031:0x3ff,_0x2e3845:0xcd,_0x3c635c:0x45,_0x2271c6:0x25c,_0x9ccfda:0x11f,_0x3ef63:0x135,_0x485e61:0x6d,_0x53ea53:0x13f,_0x1a4dbd:0xe1,_0xd45f80:0xc9,_0x209460:0x184,_0x5ece29:0x7d,_0x187e4f:0x149},_0x1b4a28={_0x4e61c0:0x7e,_0x37d7dc:0x4ba,_0x27ebe8:0xd0},_0x313138={_0x14ea52:0x3b,_0x561b36:0x84};function _0x41ed81(_0x5cd6a5,_0x5de365,_0x253aeb,_0x1d40c1){return _0x5885dd(_0x5cd6a5-_0x313138._0x14ea52,_0x5de365,_0x253aeb-_0x313138._0x561b36,_0x5cd6a5-0x337);}function _0x260f8f(_0x3748c5,_0x10bc47,_0x1fb0b0,_0x396e7f){return _0x16ac01(_0x3748c5-_0x1b4a28._0x4e61c0,_0x396e7f-_0x1b4a28._0x37d7dc,_0x1fb0b0-_0x1b4a28._0x27ebe8,_0x10bc47);}if(_0x3b23f0[_0x260f8f(0x78f,0x51b,_0x21b2a2._0x22bc03,0x5b6)]===0x0)return _0x260f8f(0x5b2,_0x21b2a2._0x26f040,_0x21b2a2._0x18b0cb,0x6b3);return _0x3b23f0[_0x260f8f(0x394,_0x21b2a2._0x2cae66,0x406,_0x21b2a2._0x12cc53)](_0x36bd09=>{const _0x283b47={_0x3cd095:0x83},_0x201019={_0x26cb40:0xdf,_0x37c0a0:0x53c},_0x5d3140=[_0x36bd09[_0x44999d(_0x14c3ef._0x42fc29,_0x14c3ef._0x33594c,_0x14c3ef._0x2ba6b6,_0x14c3ef._0x446513)]['rank']+'.\x20'+_0x36bd09[_0x36ee8a(-_0x14c3ef._0x30b205,_0x14c3ef._0x4423fa,_0x14c3ef._0x8ecf34,_0x14c3ef._0x4ee4aa)],_0x36bd09[_0x44999d(_0x14c3ef._0x5b6851,0x41c,0x232,0x443)]];function _0x36ee8a(_0xdde9fd,_0x11ff7e,_0x569f69,_0x4a0330){return _0x260f8f(_0xdde9fd-0x4a,_0x569f69,_0x569f69-_0x201019._0x26cb40,_0xdde9fd- -_0x201019._0x37c0a0);}if(_0x36bd09[_0x36ee8a(-0x24,-0x13d,-0x8b,-0x117)])_0x5d3140[_0x44999d(_0x14c3ef._0x5f57e7,_0x14c3ef._0x583852,_0x14c3ef._0x1a096d,_0x14c3ef._0x30275a)](_0x36bd09[_0x44999d(_0x14c3ef._0x3e7c11,0x38d,0x294,_0x14c3ef._0x273031)]);function _0x44999d(_0x4e8409,_0x18a8a5,_0x5d7055,_0x9c1786){return _0x260f8f(_0x4e8409-_0x283b47._0x3cd095,_0x4e8409,_0x5d7055-0x3c,_0x18a8a5- -0x18b);}if(_0x36bd09[_0x36ee8a(0x6d,_0x14c3ef._0x2e3845,-_0x14c3ef._0x3c635c,_0x14c3ef._0x2271c6)])_0x5d3140[_0x36ee8a(-0x10b,-_0x14c3ef._0x9ccfda,-0x148,-_0x14c3ef._0x3ef63)]('Published:\x20'+_0x36bd09[_0x36ee8a(_0x14c3ef._0x485e61,-_0x14c3ef._0x53ea53,-_0x14c3ef._0x1a4dbd,_0x14c3ef._0xd45f80)]);return _0x5d3140[_0x36ee8a(_0x14c3ef._0x209460,-0x9,_0x14c3ef._0x5ece29,_0x14c3ef._0x187e4f)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x204a5f,_0x271ff2,_0x2ce7ee){const _0x1a41dd={_0x8de3b5:0x239,_0x250195:0x1ee,_0x351b7b:0xf,_0x238ee3:0x224,_0x3d7835:0x319,_0x29c995:0x117,_0x2dd28d:0x1a1,_0x4cdf77:0xdc,_0x5cfa7b:0x283,_0x499cb0:0x13a,_0x19f477:0x1c2,_0x1ba675:0x32e,_0x4049f7:0x16e,_0x5554ce:0x2f0,_0x4bd319:0x3b5,_0x31e6ff:0x45e,_0x2ac0ac:0x4dc,_0x12c2db:0x58a,_0x2e4f9a:0x2a7,_0x3dcdd4:0x2,_0x3c30b0:0x5c,_0x456240:0x247,_0x108f9d:0x217},_0x46125d={_0x32da72:0x129,_0x20cd53:0x77,_0x57e3e0:0x14a,_0x564d20:0x4f,_0x4bd0f8:0x1a8,_0x4ec4f9:0x20f,_0x91c1c:0x180,_0x5166f8:0x1b2,_0x27f0b0:0x26e},_0x20411c={_0x4d5831:0x134,_0x1a6652:0xcc},_0x27a007=Math[_0x58aecd(_0x1a41dd._0x8de3b5,_0x1a41dd._0x250195,_0x1a41dd._0x351b7b,0x193)](0x1,Math[_0x1921e7(-_0x1a41dd._0x238ee3,-0x1ff,-_0x1a41dd._0x3d7835,-0x36c)](0xa,_0x271ff2[_0x58aecd(_0x1a41dd._0x29c995,0x1a6,_0x1a41dd._0x2dd28d,_0x1a41dd._0x4cdf77)]));function _0x58aecd(_0x36ab6b,_0x226d48,_0x34b0c6,_0x2ea150){return _0x16ac01(_0x36ab6b-0x39,_0x2ea150-0x205,_0x34b0c6-0xf3,_0x34b0c6);}function _0x1921e7(_0x53edfc,_0x426c60,_0x2a449c,_0x9194c5){return _0x16ac01(_0x53edfc-0xad,_0x426c60- -_0x20411c._0x4d5831,_0x2a449c-_0x20411c._0x1a6652,_0x9194c5);}const _0x2c54b1=addSiteFilters(_0x271ff2[_0x58aecd(_0x1a41dd._0x5cfa7b,0x2e7,_0x1a41dd._0x499cb0,0x1ca)],_0x271ff2[_0x58aecd(_0x1a41dd._0x19f477,_0x1a41dd._0x1ba675,0x1e7,_0x1a41dd._0x4049f7)]),_0x15721d=await fetchJson(_0x58aecd(_0x1a41dd._0x5554ce,0xb4,-0x49,0xda),_0x2ce7ee,{'method':_0x58aecd(_0x1a41dd._0x4bd319,0x548,_0x1a41dd._0x4bd319,_0x1a41dd._0x31e6ff),'headers':{'Authorization':_0x58aecd(0x454,0x5cd,0x56b,_0x1a41dd._0x2ac0ac)+_0x204a5f[_0x58aecd(_0x1a41dd._0x12c2db,0x395,_0x1a41dd._0x2e4f9a,0x391)]},'body':JSON['stringify']({'query':_0x2c54b1,'max_results':_0x27a007})}),_0x284f1d=_0x15721d[_0x1921e7(-_0x1a41dd._0x3dcdd4,0x1a8,_0x1a41dd._0x3c30b0,0x19c)]??[],_0x58d7b9=_0x284f1d['map']((_0x5aea84,_0x1c1737)=>{const _0x258ac7={_0x59b5a5:0x4c},_0xec2458={_0x490bcf:0x1c1};function _0x338d77(_0x51c8ca,_0xafbe68,_0x6f4986,_0x1d874d){return _0x58aecd(_0x51c8ca-_0xec2458._0x490bcf,_0xafbe68-0x1c2,_0x6f4986,_0x1d874d- -0x2bc);}const _0x39fead=_0x5aea84[_0xc6a050(_0x46125d._0x32da72,0x260,_0x46125d._0x20cd53,-0x10)]||'';let _0x3dff59;try{_0x3dff59=new URL(_0x39fead)[_0xc6a050(_0x46125d._0x57e3e0,0x272,0x196,0x2af)];}catch{_0x3dff59=null;}function _0xc6a050(_0x39b1d0,_0x321fb9,_0x304b9b,_0x5df3ba){return _0x1921e7(_0x39b1d0-_0x258ac7._0x59b5a5,_0x304b9b-0xbe,_0x304b9b-0x125,_0x39b1d0);}return{'title':_0x5aea84['title']||_0x338d77(_0x46125d._0x564d20,0x184,_0x46125d._0x4bd0f8,0x90),'url':normalizeUrl(_0x39fead),'snippet':_0x5aea84[_0x338d77(-_0x46125d._0x4ec4f9,_0x46125d._0x91c1c,0xcd,-0x34)]??null,'displayUrl':_0x3dff59,'favicon':null,'publishedAt':null,'source':{'engine':_0x338d77(-_0x46125d._0x5166f8,-_0x46125d._0x27f0b0,-0x52,-0x1ca),'rank':_0x1c1737+0x1}};});return{'items':_0x58d7b9['slice'](0x0,_0x27a007),'engine':_0x1921e7(-0x81,-_0x1a41dd._0x456240,-0x2ff,-_0x1a41dd._0x108f9d)};}async function searchTavily(_0xeddc55,_0x43c131,_0x3e3514){const _0x1be7d3={_0x3e1d9e:0x146,_0x4633f1:0x5a,_0x24a3ff:0x14,_0x10a9c0:0xe9,_0x3cfa6e:0xc,_0x390f38:0xe0,_0x2337cc:0x212,_0x52eae5:0x2f,_0x4e65e1:0xbe,_0x46f43b:0x17a,_0x4d3e2a:0x1d1,_0x20b3d3:0x2e6,_0x509353:0x32a,_0x18f836:0x458,_0x3ed9e9:0x50f,_0x1391aa:0x1d1,_0x431a1a:0x157,_0x5e57c9:0xe3,_0x4bd766:0x191,_0x34e7e3:0x1cd,_0x4aeaa8:0x1a9,_0x32d93b:0x3f2,_0x4e8350:0x4b8,_0x238d48:0x483,_0x130e5d:0x61,_0x568c3f:0xa4,_0x4c09f8:0x154,_0x376ed2:0x115,_0x36c1ea:0x1ca,_0x50e6ef:0x26d,_0x3aa9bd:0x3c,_0x16ba39:0x1ba,_0x237515:0xea,_0x2aca25:0x4a0,_0x699b7e:0xaa},_0x21e830={_0x31f6b9:0x2f4,_0xb9002:0x335,_0x4486a3:0x1c1,_0x13b9dc:0x375,_0x22f363:0x8c},_0x108198={_0x3cb758:0xac},_0x5eb249={_0x2a411e:0x33},_0x459b66={_0x4cab37:0x212},_0x216c56=Math[_0x224932(_0x1be7d3._0x3e1d9e,0x1a0,-_0x1be7d3._0x4633f1,0x293)](0x1,Math[_0xf5893a(0x50,_0x1be7d3._0x24a3ff,0x1c,0xc0)](0x14,_0x43c131[_0x224932(-0x9,_0x1be7d3._0x10a9c0,_0x1be7d3._0x3cfa6e,0x271)])),_0x223b1e={'query':_0x43c131[_0xf5893a(_0x1be7d3._0x390f38,0x6f,_0x1be7d3._0x2337cc,_0x1be7d3._0x52eae5)],'max_results':_0x216c56,'search_depth':_0xeddc55[_0x224932(_0x1be7d3._0x4e65e1,0x15f,_0x1be7d3._0x46f43b,0x127)]??'basic','topic':_0xeddc55[_0xf5893a(0x19a,_0x1be7d3._0x4d3e2a,_0x1be7d3._0x20b3d3,0x74)]??'general'};if(_0x43c131['domains'][_0x224932(_0x1be7d3._0x509353,0x30e,_0x1be7d3._0x18f836,_0x1be7d3._0x3ed9e9)]>0x0)_0x223b1e[_0xf5893a(_0x1be7d3._0x1391aa,0x346,_0x1be7d3._0x431a1a,0x307)]=_0x43c131[_0xf5893a(0x84,-_0x1be7d3._0x5e57c9,0x1c3,0x284)];function _0x224932(_0x45f9bb,_0x264a8e,_0x3a1ec8,_0x381cf7){return _0x16ac01(_0x45f9bb-0x53,_0x264a8e-_0x459b66._0x4cab37,_0x3a1ec8-0xc5,_0x3a1ec8);}const _0x4d0f93=await fetchJson(_0xf5893a(_0x1be7d3._0x4bd766,_0x1be7d3._0x34e7e3,-0x4,_0x1be7d3._0x4aeaa8),_0x3e3514,{'method':'POST','headers':{'Authorization':_0xf5893a(_0x1be7d3._0x32d93b,_0x1be7d3._0x4e8350,_0x1be7d3._0x238d48,0x526)+_0xeddc55[_0xf5893a(_0x1be7d3._0x130e5d,-_0x1be7d3._0x568c3f,_0x1be7d3._0x4c09f8,-_0x1be7d3._0x376ed2)],'Content-Type':_0xf5893a(_0x1be7d3._0x36c1ea,_0x1be7d3._0x50e6ef,_0x1be7d3._0x3aa9bd,0x4e)},'body':JSON[_0xf5893a(0x2ae,_0x1be7d3._0x16ba39,0x313,_0x1be7d3._0x237515)](_0x223b1e)});function _0xf5893a(_0x1f856f,_0x204ae1,_0x479e49,_0x227682){return _0x16ac01(_0x1f856f-0x93,_0x1f856f-0x11b,_0x479e49-_0x5eb249._0x2a411e,_0x479e49);}const _0x69b357=_0x4d0f93[_0xf5893a(0x3f7,_0x1be7d3._0x2aca25,0x4e3,0x548)]??[],_0x1e1f4=_0x69b357[_0x224932(-_0x1be7d3._0x699b7e,0xd1,0x217,0x234)]((_0x5dbd94,_0xddbc69)=>{const _0x184e55={_0x44fbd7:0x1ed,_0x14a238:0xc4};function _0x296662(_0x2ea6d7,_0x368620,_0x5e9090,_0x343867){return _0x224932(_0x2ea6d7-_0x184e55._0x44fbd7,_0x343867- -0xa9,_0x5e9090,_0x343867-_0x184e55._0x14a238);}const _0x2a4e14=_0x5dbd94[_0x2a02f2(0xf6,-0x17,0x1f2,_0x21e830._0x31f6b9)]||'';function _0x2a02f2(_0x37da2f,_0x255716,_0xf35ee6,_0x170366){return _0xf5893a(_0x37da2f- -0x112,_0x255716-_0x108198._0x3cb758,_0xf35ee6,_0x170366-0x93);}let _0x1f4969;try{_0x1f4969=new URL(_0x2a4e14)[_0x296662(_0x21e830._0xb9002,0x333,_0x21e830._0x4486a3,_0x21e830._0x13b9dc)];}catch{_0x1f4969=null;}return{'title':_0x5dbd94['title']||'Untitled','url':normalizeUrl(_0x2a4e14),'snippet':_0x5dbd94[_0x2a02f2(_0x21e830._0x22f363,-0x50,-0x26,0x115)]??null,'displayUrl':_0x1f4969,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0xddbc69+0x1}};});return{'items':_0x1e1f4['slice'](0x0,_0x216c56),'engine':'tavily'};}async function searchGoogleCse(_0x4ef440,_0x1848d8,_0x1dd84c){const _0x55f63d={_0x1b3bf1:0xc3,_0x4752dc:0x268,_0x260126:0x56f,_0x4399fc:0x552,_0x2e617c:0x45,_0x168f0a:0x17a,_0x4a81f8:0x92b,_0x1bde79:0x643,_0x573df1:0x7bb,_0x52f3b6:0x1c4,_0x5e065c:0x80,_0x12b86b:0x2b1,_0x48780e:0x603,_0x509029:0x2b4,_0x57ffa1:0x69b,_0x1277d0:0x985,_0x4691ed:0x58e,_0x4f6917:0x556,_0x2ab863:0x803,_0x494e9c:0x4e2,_0x32e1d9:0x570,_0x20329d:0x5ea,_0x10b127:0x9a,_0x2bed83:0x8b7,_0x595ad7:0x57,_0x3e1571:0x9a,_0x589c91:0x20,_0x32fc8d:0x143,_0x59dc06:0x160,_0x55f61a:0x116,_0x5976df:0x7a9,_0x29d4be:0x484,_0x5dba6c:0x5c4,_0x382a1e:0x688,_0x15d2ff:0x60f,_0x5b4aa2:0x95,_0x4ffbba:0x73,_0x10b60e:0x1cf,_0x1d2677:0x28a,_0x4b3fa4:0x3f5,_0xecbe93:0xd5,_0x3ee515:0x1bf,_0x52828d:0x2fd,_0x4bf3b3:0x3ce,_0x1a7934:0x936,_0x265d1e:0x664,_0x1aa659:0x340,_0x5239a0:0x133,_0x453edf:0x9a,_0x5d136b:0x870,_0x23be24:0x7b1,_0x1b9a09:0x886,_0x1f4955:0x8f5,_0x2d27dd:0x959,_0xcbd6d3:0x7a3,_0x32890e:0x1eb,_0x55b6ac:0x39,_0x4a0807:0x229,_0x1fc960:0x197,_0x5213ec:0x5b7,_0x4e1706:0x6f7,_0x5074dc:0x6bf,_0x5014cf:0x820,_0x23c85f:0x514,_0x5bb77c:0x614,_0x40343b:0x1bb,_0x6630d3:0x1a9,_0x587489:0x289,_0x35c262:0x89b,_0xf98579:0x764,_0x96626a:0x7b1,_0x31b69b:0xbe,_0xd7a676:0x9a,_0x2fac1c:0x1ba,_0x5a37f8:0x123,_0x4c8def:0xcc,_0x5665bb:0x118,_0x5cc231:0x7c,_0x301758:0x574,_0x4e709b:0x525,_0x39b9e7:0x28f,_0x3530ce:0x14f,_0x39013d:0x918,_0x14c963:0xe7,_0x38a18d:0x7f,_0x4253d3:0x38,_0x802df6:0x1f9,_0x2b81a4:0x15a,_0x2594b6:0xc3,_0x12260e:0x25c,_0x5ae7fe:0x759,_0x3c6a65:0x80b,_0x3dcd39:0x96,_0x243294:0x6c7,_0x2e258a:0x652,_0x3113e8:0x591,_0x1a3c19:0x546,_0x508546:0x7c5,_0x321ad5:0xa9a,_0x134209:0x108,_0x30f2a2:0x186,_0x5cd5c9:0x1ee,_0x2c7909:0x5fd,_0x1226df:0x632,_0xdfdad2:0x741,_0x975ee6:0x96,_0x541b4d:0x322,_0x28df90:0x1c5,_0x185c55:0xda,_0x88c821:0x64,_0x1b7889:0x169,_0x2a7332:0xaa,_0x5bd01c:0xab,_0x21add5:0x24,_0x4b3034:0x71,_0x2e45a3:0x54c,_0x16cf55:0x51f},_0x209111={_0x58a1c3:0x53,_0x346201:0x2e0},_0x2eb0ab={_0x40f5c0:0x157},_0x1d037d=Math[_0x4d8852(-0xc3,-_0x55f63d._0x1b3bf1,0xc4,-_0x55f63d._0x4752dc)](0x1,Math[_0x50186e(_0x55f63d._0x260126,0x3c0,0x3c0,_0x55f63d._0x4399fc)](0x32,_0x1848d8[_0x4d8852(_0x55f63d._0x2e617c,-_0x55f63d._0x168f0a,-0x30b,0x59)]));if(_0x1848d8['offset']+_0x1d037d>0x64)throw new ToolExecutionError(_0x50186e(0x5f4,_0x55f63d._0x4a81f8,_0x55f63d._0x1bde79,_0x55f63d._0x573df1),{'offset':_0x1848d8[_0x4d8852(-_0x55f63d._0x52f3b6,-0xc0,_0x55f63d._0x5e065c,-_0x55f63d._0x12b86b)],'count':_0x1d037d,'maxResults':0x64});const _0x34cf86=cseDateRestrict(_0x1848d8[_0x50186e(_0x55f63d._0x48780e,0x4e7,0x4de,0x6c0)]);function _0x50186e(_0x1d9593,_0x1d9e8c,_0x5c9741,_0x5d84c2){return _0x16ac01(_0x1d9593-0x37,_0x5d84c2-0x61d,_0x5c9741-_0x2eb0ab._0x40f5c0,_0x1d9e8c);}const _0x1afefc=addSiteFilters(_0x1848d8['query'],_0x1848d8[_0x50186e(0x5cf,0x414,0x6d2,0x586)]);let _0x6a39f4=0x0;function _0x4d8852(_0xb9e16e,_0x320c9f,_0x566ce4,_0x4ba2c1){return _0x5885dd(_0xb9e16e-0x9a,_0x4ba2c1,_0x566ce4-_0x209111._0x58a1c3,_0x320c9f- -_0x209111._0x346201);}let _0x503441=_0x1848d8[_0x4d8852(-0x69,-0xc0,-0x239,-_0x55f63d._0x509029)]+0x1;const _0x5639d3=[];while(_0x6a39f4<_0x1d037d){const _0xe80a4f=Math['min'](0xa,_0x1d037d-_0x6a39f4),_0x19f2e5=new URL('https://www.googleapis.com/customsearch/v1');_0x19f2e5[_0x50186e(_0x55f63d._0x57ffa1,0x94c,_0x55f63d._0x1277d0,0x7b1)][_0x50186e(_0x55f63d._0x4691ed,_0x55f63d._0x4f6917,0x5aa,0x5d4)](_0x50186e(0x4f2,_0x55f63d._0x2ab863,_0x55f63d._0x494e9c,0x60e),_0x4ef440[_0x50186e(_0x55f63d._0x32e1d9,0x47d,0x72d,_0x55f63d._0x20329d)]),_0x19f2e5['searchParams'][_0x4d8852(-0x1ea,-_0x55f63d._0x10b127,-0x29a,-0x3)]('cx',_0x4ef440[_0x50186e(0x7d7,0x7f8,0x8e2,_0x55f63d._0x2bed83)]),_0x19f2e5[_0x4d8852(0x3c,0x143,0xe2,-_0x55f63d._0x595ad7)][_0x4d8852(-0x2,-_0x55f63d._0x3e1571,-0xcf,_0x55f63d._0x589c91)]('q',_0x1afefc),_0x19f2e5[_0x4d8852(-0xc4,_0x55f63d._0x32fc8d,_0x55f63d._0x59dc06,_0x55f63d._0x55f61a)][_0x50186e(_0x55f63d._0x5976df,_0x55f63d._0x29d4be,0x63e,0x5d4)](_0x50186e(_0x55f63d._0x5dba6c,0x70d,_0x55f63d._0x382a1e,_0x55f63d._0x15d2ff),String(_0xe80a4f)),_0x19f2e5[_0x50186e(0x8c0,0x70b,0x64c,0x7b1)]['set'](_0x4d8852(-0x98,_0x55f63d._0x5b4aa2,0x29a,_0x55f63d._0x4ffbba),String(_0x503441)),_0x19f2e5['searchParams']['set'](_0x4d8852(_0x55f63d._0x10b60e,_0x55f63d._0x1d2677,_0x55f63d._0x4b3fa4,_0x55f63d._0xecbe93),_0x1848d8[_0x4d8852(_0x55f63d._0x3ee515,_0x55f63d._0x1d2677,_0x55f63d._0x52828d,_0x55f63d._0x4bf3b3)]?'active':_0x50186e(_0x55f63d._0x1a7934,0x6f4,_0x55f63d._0x265d1e,0x7d7));_0x1848d8[_0x4d8852(0x165,0x218,0xbd,_0x55f63d._0x1aa659)]&&(_0x19f2e5['searchParams'][_0x4d8852(-_0x55f63d._0x5239a0,-_0x55f63d._0x453edf,0xe9,-0x7)]('hl',_0x1848d8['lang']),_0x19f2e5[_0x50186e(_0x55f63d._0x5d136b,0x626,0x641,_0x55f63d._0x23be24)]['set']('lr','lang_'+_0x1848d8[_0x50186e(0x94a,0x9b0,0x7da,_0x55f63d._0x1b9a09)]));if(_0x1848d8[_0x50186e(_0x55f63d._0x1f4955,0x903,_0x55f63d._0x2d27dd,_0x55f63d._0xcbd6d3)])_0x19f2e5[_0x4d8852(_0x55f63d._0x32890e,0x143,-_0x55f63d._0x55b6ac,0x2f1)][_0x4d8852(-_0x55f63d._0x4a0807,-0x9a,-_0x55f63d._0x1fc960,-0x2a2)]('gl',_0x1848d8[_0x50186e(0x666,_0x55f63d._0x5213ec,_0x55f63d._0x4e1706,0x7a3)][_0x50186e(0x61e,0x559,0x675,_0x55f63d._0x5074dc)]());if(_0x1848d8[_0x50186e(0x426,_0x55f63d._0x5014cf,_0x55f63d._0x23c85f,_0x55f63d._0x5bb77c)]===_0x4d8852(_0x55f63d._0x40343b,_0x55f63d._0x6630d3,_0x55f63d._0x587489,0x27c))_0x19f2e5[_0x50186e(_0x55f63d._0x35c262,_0x55f63d._0xf98579,_0x55f63d._0x96626a,0x7b1)][_0x4d8852(_0x55f63d._0x31b69b,-_0x55f63d._0xd7a676,0x12d,-_0x55f63d._0x2fac1c)]('searchType','image');if(_0x34cf86)_0x19f2e5['searchParams']['set'](_0x4d8852(-_0x55f63d._0x5a37f8,-_0x55f63d._0x4c8def,-_0x55f63d._0x5665bb,-_0x55f63d._0x5cc231),_0x34cf86);const _0x18ea55=await fetchJson(_0x19f2e5[_0x50186e(_0x55f63d._0x301758,_0x55f63d._0x4e709b,0x5f0,0x5cf)](),_0x1dd84c),_0x1dee2b=_0x18ea55[_0x4d8852(_0x55f63d._0x39b9e7,0xeb,_0x55f63d._0x3530ce,_0x55f63d._0x52828d)]??[];if(_0x1dee2b[_0x50186e(_0x55f63d._0x39013d,0x8f6,0x7a7,0x719)]===0x0)break;const _0x2f0ba7=_0x6a39f4;for(let _0x213978=0x0;_0x213978<_0x1dee2b['length'];_0x213978++){const _0x30ff8a=_0x1dee2b[_0x213978];if(!_0x30ff8a)continue;const _0x1b5573=_0x30ff8a['link']||_0x30ff8a[_0x4d8852(0x230,_0x55f63d._0x14c963,_0x55f63d._0x38a18d,_0x55f63d._0x4253d3)]?.[_0x50186e(0x672,0x793,0x8c2,0x889)]||'',_0x24f3df=_0x30ff8a[_0x4d8852(-_0x55f63d._0x802df6,-0xc,-0x1e6,_0x55f63d._0x2b81a4)]||_0x30ff8a[_0x4d8852(_0x55f63d._0x2594b6,0xe7,_0x55f63d._0x12260e,-0xc9)]?.[_0x50186e(_0x55f63d._0x5ae7fe,0x541,0x55d,0x662)]||_0x50186e(_0x55f63d._0x2ab863,0x675,_0x55f63d._0x3c6a65,0x764),_0xc4b24d=_0x30ff8a[_0x4d8852(-0x22,0xd,0x1dc,-_0x55f63d._0x3dcd39)]||_0x30ff8a[_0x50186e(_0x55f63d._0x243294,_0x55f63d._0x2e258a,_0x55f63d._0x3113e8,_0x55f63d._0x1a3c19)]?.[_0x50186e(0x944,_0x55f63d._0x508546,_0x55f63d._0x321ad5,0x8f7)](/<[^>]+>/g,''),_0x16f68a=_0x30ff8a[_0x4d8852(-_0x55f63d._0x134209,-_0x55f63d._0x30f2a2,-0x1ab,-_0x55f63d._0x5cd5c9)]?.[_0x50186e(_0x55f63d._0x5014cf,_0x55f63d._0x2c7909,_0x55f63d._0x1226df,_0x55f63d._0xdfdad2)]?.[0x0]??{};let _0x2e489f;try{_0x2e489f=new URL(_0x1b5573)[_0x4d8852(_0x55f63d._0x975ee6,_0x55f63d._0x40343b,_0x55f63d._0x541b4d,_0x55f63d._0x28df90)];}catch{_0x2e489f=null;}_0x5639d3[_0x4d8852(-0x1d0,-_0x55f63d._0x185c55,-0x1fb,-0x29b)]({'title':_0x24f3df,'url':normalizeUrl(_0x1b5573),'snippet':_0xc4b24d??null,'displayUrl':_0x2e489f,'favicon':null,'publishedAt':_0x16f68a['article:published_time']||_0x16f68a[_0x4d8852(-_0x55f63d._0x88c821,-_0x55f63d._0x1b7889,-_0x55f63d._0x2a7332,-0x194)]||null,'source':{'engine':_0x50186e(0x5e8,0x461,0x48d,0x607),'rank':_0x2f0ba7+_0x213978+0x1}});}_0x6a39f4+=_0x1dee2b[_0x4d8852(0x14b,_0x55f63d._0x5bd01c,-_0x55f63d._0x21add5,_0x55f63d._0x4b3034)],_0x503441+=_0x1dee2b['length'];if(_0x1dee2b[_0x50186e(_0x55f63d._0x2e45a3,0x8e2,0x5d8,0x719)]<_0xe80a4f)break;}return _0x5639d3[_0x50186e(0x626,0x454,0x6af,_0x55f63d._0x16cf55)](0x0,_0x1d037d);}function isGoogleCseEngine(_0x296251){const _0x5d8254={_0x286540:0x1a6,_0x56f713:0x50c,_0x1d37b4:0x323},_0x3cc4c8={_0xa2e314:0xef,_0x588097:0xee};function _0x5c30b4(_0x5ad610,_0x1b69ee,_0x5124a2,_0x37b6b0){return _0x5885dd(_0x5ad610-0x98,_0x1b69ee,_0x5124a2-_0x3cc4c8._0xa2e314,_0x37b6b0-_0x3cc4c8._0x588097);}return _0x5c30b4(_0x5d8254._0x286540,_0x5d8254._0x56f713,_0x5d8254._0x1d37b4,0x34a)in _0x296251;}function isOllamaEngine(_0x21ae5e){const _0x207e31={_0x4a7bbb:0x7c2,_0x4963b7:0x70f,_0x2ec235:0x684},_0x1137a8={_0x204a1e:0x158,_0x3d63c5:0x4f8};function _0x12e36e(_0x31343f,_0x2fd716,_0x41ea33,_0x10a934){return _0x16ac01(_0x31343f-_0x1137a8._0x204a1e,_0x10a934-_0x1137a8._0x3d63c5,_0x41ea33-0x1c3,_0x41ea33);}return _0x12e36e(0x4a9,_0x207e31._0x4a7bbb,_0x207e31._0x4963b7,_0x207e31._0x2ec235)in _0x21ae5e;}function isTavilyEngine(_0x58c162){const _0x21f920={_0x4bfde8:0x36c,_0x5cdce7:0x3ca},_0x14f889={_0x42788c:0x10a};function _0x4e2ce5(_0x42e98d,_0x2f1a87,_0x29a072,_0x32fec9){return _0x16ac01(_0x42e98d-0x138,_0x42e98d-0x519,_0x29a072-_0x14f889._0x42788c,_0x29a072);}return _0x4e2ce5(0x45f,0x59b,_0x21f920._0x4bfde8,_0x21f920._0x5cdce7)in _0x58c162;}function createWebSearchTool(_0x275dd2){const _0xb31363={_0xf5d94b:0x10f,_0x1186dc:0x6,_0x2059c1:0xd7,_0x1d6f1d:0x169,_0x3ce4e0:0x132,_0x143564:0x4,_0xe74c2e:0x14d,_0x53bd93:0xc7,_0x2c5e64:0x18e,_0x37b973:0x15f,_0x1e5a35:0xdf,_0x95d721:0x581,_0x140c7b:0x67e,_0x3cae6c:0x5e8,_0x135890:0x3,_0x166a60:0x859,_0x1bc5e2:0x689,_0x46b157:0x56a,_0x4c601e:0x2a5,_0x4da958:0x28c,_0x55ab62:0xde,_0x14d8b6:0x962,_0x1a53ec:0x367,_0x2870b7:0x2c4,_0x1ec2eb:0x3c1,_0x2883eb:0x2b6,_0x4f65a6:0x260,_0x4c217e:0x5dd,_0x849e42:0x8c4,_0x28c826:0x536,_0x1aafed:0x65d,_0x52b86e:0x3aa},_0x59db8e={_0x53657f:0xda,_0x1ba275:0x11a,_0x1de4ab:0x4b1,_0x48609b:0x4c7,_0x5e9adc:0x410,_0x384a1f:0x158,_0x2ecf3:0x1f7,_0x49df19:0xc8,_0xd5559d:0x5,_0xbaee3:0x39e,_0x597cc9:0xa2,_0x1688dc:0xf5,_0x3e7cb4:0x151,_0x494a78:0x303,_0x2740a6:0x65,_0x3016a7:0x49,_0x583a83:0x572,_0x39d22c:0x5fc,_0xb5725d:0x2d,_0x4cc562:0x300,_0x5ea3e:0x49b,_0x57197c:0x1a7,_0x4f6df1:0x105,_0x51ddd4:0x238,_0x258661:0x44a,_0x160908:0x5e1,_0x235ee0:0x40f,_0x5e1314:0x364,_0x5a47c6:0x2bd,_0x168475:0x4a1,_0x2183a2:0x2e8,_0x2ec0db:0x24a,_0x13f026:0x11c,_0x4342ae:0x13d,_0x2bcc5c:0xd4,_0x150057:0x64,_0x29d8de:0x2a,_0x300337:0x5d,_0x3c1ab7:0xdd,_0x223b99:0x550,_0x102d50:0x568,_0x47b2e0:0x44,_0x48c90a:0x3e3,_0x391f3f:0x1e1,_0x5afaf3:0x2af,_0x199b3f:0x240,_0x240631:0x409,_0x11fca5:0x1f2,_0x1016aa:0x49,_0x2c5ceb:0xc1,_0x16489f:0x11,_0x829bc0:0x1d,_0x34d2aa:0x572,_0x1420bd:0x3d8,_0x2b19dc:0x250,_0x3e54ec:0x1c8,_0x37d3ac:0xc4,_0x2b4fc2:0x316,_0x513366:0x59,_0x4d3b49:0x176,_0x1a1fb8:0x376,_0x33696f:0xc9,_0x3a0b23:0x20f,_0x1ac363:0x3ac,_0x935c26:0x5a9,_0x5f2bee:0x431,_0x556f5f:0x104,_0x1ce33f:0x1d0,_0x124741:0x234,_0x55ba7f:0x193,_0x5e288f:0x76,_0x2549f7:0xe0,_0x416435:0x405,_0x1cf030:0x445,_0x20abe6:0x2ce,_0x5f8622:0x409,_0x2a66a5:0x309,_0x1f9629:0x4cf,_0x491910:0x654,_0x306884:0x1f8,_0x186027:0x14e},_0x5c3bbb={_0x28fb69:0x1d5};if(!_0x275dd2[_0x5955e6(-0xbb,-_0xb31363._0xf5d94b,-_0xb31363._0x1186dc,-_0xb31363._0x2059c1)]||_0x275dd2[_0x5955e6(-0xbb,0x12d,-0x25a,-0x24a)][_0x5955e6(_0xb31363._0x1d6f1d,_0xb31363._0x3ce4e0,0x112,-_0xb31363._0x143564)]===0x0)throw new Error(_0x5955e6(0x13e,0x69,_0xb31363._0xe74c2e,_0xb31363._0x53bd93));const _0x3184d9=_0x275dd2[_0x5955e6(0x284,_0xb31363._0x2c5e64,0x237,0x480)]??_0x5955e6(-0x29,-_0xb31363._0x37b973,-_0xb31363._0x1e5a35,-0x1d9),_0x2322b7=_0x275dd2[_0xb95d33(0x496,_0xb31363._0x95d721,0x6a3,0x4e5)];function _0xb95d33(_0x36fc6a,_0x156cca,_0x180001,_0x4bb357){return _0x5885dd(_0x36fc6a-0x97,_0x180001,_0x180001-0x5,_0x4bb357-0x294);}function _0x5955e6(_0x1dcfec,_0x52fb2a,_0x40138e,_0x2b1b2e){return _0x5885dd(_0x1dcfec-0x102,_0x2b1b2e,_0x40138e-_0x5c3bbb._0x28fb69,_0x1dcfec- -0x222);}return defineTool({'name':_0x3184d9,'permissionClass':_0xb95d33(0x532,_0xb31363._0x140c7b,_0xb31363._0x3cae6c,0x5f3),'description':_0x5955e6(-0xaf,-_0xb31363._0x135890,0x80,-0x19e),'inputSchema':{'type':'object','properties':{'description':{'type':_0xb95d33(_0xb31363._0x166a60,_0xb31363._0x1bc5e2,_0xb31363._0x46b157,0x77a)},'query':{'type':'string'},'count':{'type':_0x5955e6(0xde,_0xb31363._0x4c601e,_0xb31363._0x4da958,0x1b5)},'offset':{'type':_0x5955e6(_0xb31363._0x55ab62,-0x23,0x153,-0xaa)},'domains':{'type':'array','items':{'type':_0xb95d33(_0xb31363._0x14d8b6,0x635,0x83f,0x77a)}},'recencyDays':{'type':'number'},'lang':{'type':_0x5955e6(0x2c4,_0xb31363._0x1a53ec,0xf2,0x37a)},'region':{'type':_0x5955e6(_0xb31363._0x2870b7,0x2cd,0xee,_0xb31363._0x1ec2eb)},'safe':{'type':_0x5955e6(0x207,_0xb31363._0x2883eb,0x233,_0xb31363._0x4f65a6)},'type':{'type':_0xb95d33(_0xb31363._0x4c217e,0x880,_0xb31363._0x849e42,0x77a)},'hydrateMeta':{'type':_0xb95d33(_0xb31363._0x28c826,0x56b,0x5ad,0x6bd)}},'required':[_0xb95d33(_0xb31363._0x1aafed,0x4d7,_0xb31363._0x52b86e,0x4e8)]},async *'execute'(_0x5f0cb3,_0x1b535c){const _0xd18425={_0x32aacc:0x1f1,_0x4f0ce4:0x11e,_0x125ca1:0xae,_0x22260f:0x105,_0x2011d4:0xc4,_0x91fa9e:0xfe,_0x53196a:0x4c,_0x2fd6b0:0xb9,_0xd322d:0x28,_0xda7f5b:0x1d4},_0x57fa54={_0x5c8f79:0x154};function _0x436198(_0x3a07a4,_0x1af27c,_0x5f0589,_0x32f941){return _0x5955e6(_0x1af27c-0x29c,_0x1af27c-0x16e,_0x5f0589-0x134,_0x3a07a4);}const _0x267b15=_0x5f0cb3[_0x54465c(-0x18d,0xa3,_0x59db8e._0x53657f,-_0x59db8e._0x1ba275)][_0x436198(_0x59db8e._0x1de4ab,0x43f,0x5bf,_0x59db8e._0x48609b)]();if(!_0x267b15)throw new ToolExecutionError(_0x436198(_0x59db8e._0x5e9adc,0x2f7,_0x59db8e._0x384a1f,_0x59db8e._0x2ecf3));const _0x1e763e={'query':_0x267b15,'count':Math['max'](0x1,Math[_0x54465c(-0x222,-_0x59db8e._0x49df19,-_0x59db8e._0xd5559d,-0x1aa)](0x32,Math[_0x436198(0x3ab,_0x59db8e._0xbaee3,0x36c,0x1cd)](_0x5f0cb3['count']??0xa))),'offset':Math[_0x54465c(_0x59db8e._0x597cc9,-0x362,-_0x59db8e._0x1688dc,-_0x59db8e._0x3e7cb4)](0x0,Math[_0x436198(0x199,_0x59db8e._0xbaee3,_0x59db8e._0x494a78,0x344)](_0x5f0cb3['offset']??0x0)),'domains':_0x5f0cb3['domains']??[],'recencyDays':Math[_0x54465c(-0x16,-0x252,0x13,-0x151)](0x0,Math[_0x54465c(-0x21f,-_0x59db8e._0x2740a6,_0x59db8e._0x3016a7,-0x4a)](_0x5f0cb3['recencyDays']??0x0)),'lang':_0x5f0cb3[_0x436198(0x4a3,_0x59db8e._0x583a83,0x4bc,_0x59db8e._0x39d22c)]??'en','region':_0x5f0cb3['region']??'','safe':_0x5f0cb3[_0x54465c(0x11,_0x59db8e._0xb5725d,0x37d,0x1fc)]??!![],'type':normalizeType(_0x5f0cb3[_0x436198(0x47e,_0x59db8e._0x4cc562,_0x59db8e._0x5ea3e,_0x59db8e._0x57197c)]),'hydrateMeta':_0x5f0cb3[_0x54465c(_0x59db8e._0x4f6df1,0x3eb,_0x59db8e._0x51ddd4,0x1f2)]??![]};let _0x5af687=[],_0x5b7214=_0x436198(_0x59db8e._0x258661,_0x59db8e._0x160908,_0x59db8e._0x235ee0,0x4cf);for(const _0x3eeeb3 of _0x275dd2[_0x436198(_0x59db8e._0x5e1314,0x1e1,_0x59db8e._0x5a47c6,0x235)]){try{if(isGoogleCseEngine(_0x3eeeb3))_0x5af687=await searchGoogleCse(_0x3eeeb3,_0x1e763e,_0x1b535c[_0x436198(_0x59db8e._0x168475,_0x59db8e._0x2183a2,_0x59db8e._0x2ec0db,_0x59db8e._0x13f026)]),_0x5b7214=_0x54465c(-_0x59db8e._0x4342ae,0x8f,_0x59db8e._0x2bcc5c,-0xf5);else{if(isOllamaEngine(_0x3eeeb3)){const _0x364a44=await searchOllama(_0x3eeeb3,_0x1e763e,_0x1b535c[_0x54465c(-0x28,-0x14,-0x1dc,-0x100)]);_0x5af687=_0x364a44[_0x54465c(_0x59db8e._0x150057,0x17c,_0x59db8e._0x29d8de,_0x59db8e._0x300337)],_0x5b7214=_0x364a44['engine'];}else{if(isTavilyEngine(_0x3eeeb3)){const _0x4c044b=await searchTavily(_0x3eeeb3,_0x1e763e,_0x1b535c[_0x54465c(0xcb,-0x298,_0x59db8e._0x3c1ab7,-0x100)]);_0x5af687=_0x4c044b['items'],_0x5b7214=_0x4c044b[_0x436198(0x33c,_0x59db8e._0x223b99,0x5da,_0x59db8e._0x102d50)];}}}if(_0x5af687[_0x54465c(0x1bd,-_0x59db8e._0x47b2e0,-0x3b,0x1d)]>0x0)break;}catch(_0x41dcda){if(_0x3eeeb3===_0x275dd2['engines'][_0x275dd2[_0x436198(_0x59db8e._0x48c90a,_0x59db8e._0x391f3f,0xfa,0x30a)][_0x436198(_0x59db8e._0x5afaf3,0x405,0x33d,0x219)]-0x1])throw _0x41dcda;}}function _0x54465c(_0x8533cf,_0x5e98e2,_0x1cd8f2,_0x328dc1){return _0x5955e6(_0x328dc1- -0x14c,_0x5e98e2-0x167,_0x1cd8f2-0x1b0,_0x5e98e2);}_0x1e763e[_0x54465c(0x38e,_0x59db8e._0x199b3f,_0x59db8e._0x240631,_0x59db8e._0x11fca5)]&&_0x5af687[_0x54465c(-_0x59db8e._0x1016aa,_0x59db8e._0x2c5ceb,_0x59db8e._0x16489f,_0x59db8e._0x829bc0)]>0x0&&(_0x5af687=await hydrateResults(_0x5af687,_0x1e763e[_0x436198(0x548,_0x59db8e._0x34d2aa,0x44c,0x721)],_0x1b535c['signal'],_0x2322b7));const _0x19676a=new Set();_0x5af687=_0x5af687[_0x436198(_0x59db8e._0x1420bd,_0x59db8e._0x2b19dc,0xae,0x3aa)](_0x270e8c=>{const _0xef982e={_0x1ebcbf:0x27,_0x68ba5:0x16b},_0x406485=_0x270e8c[_0x53984d(0x10c,_0xd18425._0x32aacc,_0xd18425._0x4f0ce4,0xd7)][_0x53984d(-_0xd18425._0x125ca1,_0xd18425._0x22260f,-0x8d,-0x231)]();function _0x4fd85a(_0x32448d,_0x1e2a99,_0x5a30e4,_0x215f47){return _0x436198(_0x32448d,_0x5a30e4-0x358,_0x5a30e4-0x3b,_0x215f47-_0x57fa54._0x5c8f79);}if(!_0x406485||_0x19676a[_0x53984d(0x50,_0xd18425._0x2011d4,_0xd18425._0x91fa9e,_0xd18425._0x53196a)](_0x406485))return![];_0x19676a[_0x53984d(-_0xd18425._0x2fd6b0,_0xd18425._0xd322d,0x145,-_0xd18425._0xda7f5b)](_0x406485);function _0x53984d(_0x3c128c,_0x2a2e55,_0x506a4c,_0x9e1581){return _0x436198(_0x2a2e55,_0x3c128c- -0x2ea,_0x506a4c-_0xef982e._0x1ebcbf,_0x9e1581-_0xef982e._0x68ba5);}return!![];}),_0x5af687=_0x5af687[_0x436198(0x43,_0x59db8e._0x3e54ec,0x1cb,_0x59db8e._0x37d3ac)]((_0x16777c,_0x461aa6)=>({..._0x16777c,'source':{..._0x16777c['source'],'rank':_0x461aa6+0x1}}));const _0x23338f={};if(_0x1e763e[_0x54465c(-_0x59db8e._0x2b4fc2,0x8d,_0x59db8e._0x513366,-_0x59db8e._0x4d3b49)][_0x436198(_0x59db8e._0x1a1fb8,0x405,0x26a,0x2bb)]>0x0)_0x23338f[_0x54465c(-0x7a,-_0x59db8e._0x33696f,-_0x59db8e._0x3a0b23,-0x176)]=_0x1e763e['domains'];if(_0x1e763e[_0x436198(0x219,_0x59db8e._0x1ac363,_0x59db8e._0x935c26,_0x59db8e._0x5f2bee)]>0x0)_0x23338f[_0x54465c(0xc8,-0x1dd,-_0x59db8e._0x556f5f,-0x3c)]=_0x1e763e['recencyDays'];if(_0x1e763e[_0x436198(0x47e,0x572,0x3d9,0x38e)]!=='en')_0x23338f[_0x54465c(_0x59db8e._0x1ce33f,_0x59db8e._0x124741,_0x59db8e._0x55ba7f,0x18a)]=_0x1e763e['lang'];if(_0x1e763e[_0x54465c(0x69,0x289,0x179,0xa7)])_0x23338f['region']=_0x1e763e[_0x54465c(_0x59db8e._0x5e288f,0x1f5,_0x59db8e._0x2549f7,0xa7)];return yield createToolOutput(formatResults(_0x5af687),{'engine':_0x5b7214,'count':_0x5af687[_0x436198(0x36b,_0x59db8e._0x416435,_0x59db8e._0x1cf030,0x553)],'items':_0x5af687,'query':_0x1e763e[_0x436198(0x488,_0x59db8e._0x20abe6,_0x59db8e._0x5f8622,_0x59db8e._0x2a66a5)],...Object[_0x436198(0x63a,_0x59db8e._0x1f9629,0x4e1,_0x59db8e._0x491910)](_0x23338f)[_0x436198(0x4db,0x405,0x33e,0x423)]>0x0?{'appliedFilters':_0x23338f}:{},'offset':_0x1e763e[_0x54465c(-0x2cd,-_0x59db8e._0x306884,-0x3e,-_0x59db8e._0x186027)],'totalRequested':_0x1e763e['count'],'hydrated':_0x1e763e['hydrateMeta']}),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};
|