@nuvin/agent-core 0.2.0-rc.9 → 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 -0
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-KIIEBXJF.js +1 -0
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +11 -2
- package/dist/tools/{internal-tool-runtime.d.ts → core/internal-tool-runtime.d.ts} +1 -1
- package/dist/tools/core/mock-tool-runtime.d.ts +3 -0
- package/dist/tools/core/runtime-manager-tools.d.ts +132 -0
- package/dist/tools/{tool-output-offload.d.ts → core/tool-output-offload.d.ts} +1 -1
- package/dist/tools/{tools.d.ts → core/tools.d.ts} +1 -1
- package/dist/tools/file-editing/anchored-file-edit.d.ts +53 -0
- package/dist/tools/file-editing/anchored-file-errors.d.ts +5 -0
- package/dist/tools/file-editing/anchored-file-operations.d.ts +38 -0
- package/dist/tools/file-editing/anchored-file-read.d.ts +37 -0
- package/dist/tools/file-editing/atomic-file-write.d.ts +19 -0
- package/dist/tools/file-editing/file-edit-tool.d.ts +166 -0
- package/dist/tools/file-editing/file-mutation-coordinator.d.ts +13 -0
- package/dist/tools/{file-new-tool.d.ts → file-editing/file-new-tool.d.ts} +5 -2
- package/dist/tools/file-editing/file-observation-store.d.ts +40 -0
- package/dist/tools/{file-read-tool.d.ts → file-editing/file-read-tool.d.ts} +8 -2
- package/dist/tools/file-editing/file-snapshot.d.ts +16 -0
- package/dist/tools/file-editing/hashline-file-edit-adapter.d.ts +19 -0
- package/dist/tools/file-editing/structured-file-edit-adapter.d.ts +94 -0
- package/dist/tools/file-editing/workspace-paths.d.ts +20 -0
- package/dist/tools/index.d.ts +43 -34
- package/dist/tools/index.js +1 -1
- package/dist/tools/{mcp-connection-generation.d.ts → mcp/mcp-connection-generation.d.ts} +1 -1
- package/dist/tools/{mcp-tool-adapter.d.ts → mcp/mcp-tool-adapter.d.ts} +3 -3
- package/dist/tools/{glob-tool.d.ts → search/glob-tool.d.ts} +2 -2
- package/dist/tools/{grep-tool.d.ts → search/grep-tool.d.ts} +3 -3
- package/dist/tools/{ls-tool.d.ts → search/ls-tool.d.ts} +2 -2
- package/dist/tools/{view-file-tool.d.ts → search/view-file-tool.d.ts} +2 -2
- package/dist/tools/{ask-user-tool.d.ts → session/ask-user-tool.d.ts} +4 -4
- package/dist/tools/{lsp-tool.d.ts → session/lsp-tool.d.ts} +4 -4
- package/dist/tools/{skill-tool.d.ts → session/skill-tool.d.ts} +2 -2
- package/dist/tools/{todo-write-tool.d.ts → session/todo-write-tool.d.ts} +2 -2
- package/dist/tools/session/update-topic-tool.d.ts +12 -0
- package/dist/tools/{bash-output-tool.d.ts → shell/bash-output-tool.d.ts} +2 -2
- package/dist/tools/{bash-tool.d.ts → shell/bash-tool.d.ts} +7 -7
- package/dist/tools/{command-tool.d.ts → shell/command-tool.d.ts} +2 -2
- package/dist/tools/{kill-shell-tool.d.ts → shell/kill-shell-tool.d.ts} +2 -2
- package/dist/tools/{web-fetch-tool.d.ts → web/web-fetch-tool.d.ts} +2 -2
- package/dist/tools/{web-search-tool.d.ts → web/web-search-tool.d.ts} +2 -2
- package/package.json +3 -2
- package/dist/chunk-VYW6MSQ3.js +0 -1
- package/dist/tools/file-edit-tool.d.ts +0 -34
- package/dist/tools/mock-tool-runtime.d.ts +0 -3
- package/dist/tools/runtime-manager-tools.d.ts +0 -79
- package/dist/tools/update-topic-tool.d.ts +0 -12
- package/dist/tools/workspace-paths.d.ts +0 -5
- /package/dist/tools/{file-mutation.d.ts → file-editing/file-mutation.d.ts} +0 -0
- /package/dist/tools/{mcp-oauth-provider.d.ts → mcp/mcp-oauth-provider.d.ts} +0 -0
- /package/dist/tools/{mcp-safe-error-provenance.d.ts → mcp/mcp-safe-error-provenance.d.ts} +0 -0
- /package/dist/tools/{mcp-safe-error.d.ts → mcp/mcp-safe-error.d.ts} +0 -0
- /package/dist/tools/{mcp-server-manager.d.ts → mcp/mcp-server-manager.d.ts} +0 -0
- /package/dist/tools/{grep-engine.d.ts → search/grep-engine.d.ts} +0 -0
- /package/dist/tools/{ripgrep.d.ts → search/ripgrep.d.ts} +0 -0
- /package/dist/tools/{background-process-registry.d.ts → shell/background-process-registry.d.ts} +0 -0
- /package/dist/tools/{bash-internals.d.ts → shell/bash-internals.d.ts} +0 -0
- /package/dist/tools/{process-tree-termination.d.ts → shell/process-tree-termination.d.ts} +0 -0
- /package/dist/tools/{terminal-output-normalizer.d.ts → shell/terminal-output-normalizer.d.ts} +0 -0
- /package/dist/tools/{safe-fetch.d.ts → web/safe-fetch.d.ts} +0 -0
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3d6ea4,_0x23fda0){const _0x189caf={_0x2d0579:0x3e0,_0x392edc:0x268,_0x4da016:0x526,_0x1651bb:0x39d,_0x412255:0x3d6,_0x1d60c6:0x56e,_0x2311f0:0x477,_0x5f2641:0x34b,_0x1b2d9f:0x39f,_0x2d9aba:0x462,_0x4dff50:0x519,_0x7415f8:0x481,_0x610492:0x3db,_0x198371:0x331,_0x4ac7dd:0x29a,_0x556d5e:0x50d,_0x4c1b30:0x376,_0x3ff4f2:0x360,_0x5b6d11:0x43c,_0x53980a:0x617},_0x2fb532={_0x4227d8:0x257},_0xc991c9={_0x53ec6f:0x100};function _0x4fdbcc(_0xe32e1c,_0x51505f,_0x5be5b7,_0x37e2da){return _0x102a(_0x37e2da-_0xc991c9._0x53ec6f,_0x5be5b7);}function _0x28eb8b(_0x40ec1d,_0x8ad58f,_0x2f9dae,_0x49db7c){return _0x102a(_0x49db7c-_0x2fb532._0x4227d8,_0x40ec1d);}const _0x196992=_0x3d6ea4();while(!![]){try{const _0x491d0a=parseInt(_0x4fdbcc(0x228,0x3b0,0x496,_0x189caf._0x2d0579))/0x1+-parseInt(_0x28eb8b(0x61a,0x571,0x5a2,0x661))/0x2*(-parseInt(_0x4fdbcc(0x3b9,_0x189caf._0x392edc,_0x189caf._0x4da016,_0x189caf._0x1651bb))/0x3)+-parseInt(_0x4fdbcc(0x21b,_0x189caf._0x412255,0xca,0x28a))/0x4+-parseInt(_0x4fdbcc(_0x189caf._0x1d60c6,0x613,0x5f7,_0x189caf._0x2311f0))/0x5+-parseInt(_0x4fdbcc(_0x189caf._0x5f2641,_0x189caf._0x1b2d9f,_0x189caf._0x2d9aba,0x402))/0x6+-parseInt(_0x4fdbcc(0x56c,_0x189caf._0x4dff50,_0x189caf._0x7415f8,_0x189caf._0x610492))/0x7*(-parseInt(_0x4fdbcc(0x3d3,_0x189caf._0x198371,0x3c5,_0x189caf._0x4ac7dd))/0x8)+-parseInt(_0x4fdbcc(_0x189caf._0x556d5e,_0x189caf._0x4c1b30,0x3c8,_0x189caf._0x3ff4f2))/0x9*(-parseInt(_0x4fdbcc(_0x189caf._0x5b6d11,_0x189caf._0x53980a,0x5fb,0x57d))/0xa);if(_0x491d0a===_0x23fda0)break;else _0x196992['push'](_0x196992['shift']());}catch(_0x36cbd4){_0x196992['push'](_0x196992['shift']());}}}(_0x3758,0xef30c));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-VYW6MSQ3.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 _0x1a7bef from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x5da4fe(0x4cf,0x629,0x519,0x45e),'.tsx':_0x2389b1(0x406,0x3a7,0x67f,0x4fc),'.js':_0x2389b1(0x7b8,0x905,0x682,0x7a3),'.jsx':_0x5da4fe(0x1a9,0x133,0x1e5,0x33b),'.mjs':'javascript','.cjs':_0x5da4fe(0x44e,0x368,0x435,0x4b8),'.mts':_0x2389b1(0x929,0x700,0x907,0x824),'.cts':_0x2389b1(0x91d,0x99a,0x9b6,0x824),'.json':_0x5da4fe(0x34b,0x45f,0x1f0,0x20b),'.jsonc':_0x5da4fe(0x3ef,0x29d,0x439,0x57f)};function getLanguageId(_0x3d4a9a){const _0x33e292={_0x2def28:0x172};function _0x2351d7(_0x2e4acd,_0x2ee421,_0x2cd17e,_0x5c4fae){return _0x2389b1(_0x2e4acd-_0x33e292._0x2def28,_0x2ee421-0x39,_0x2cd17e,_0x2e4acd- -0x1be);}return EXTENSION_TO_LANGUAGE[_0x1a7bef[_0x2351d7(0x38c,0x341,0x3bc,0x212)](_0x3d4a9a)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x408b63){const _0x437026={_0x44e1cb:0x70},_0x40b409={_0x46f6da:0x146};function _0x1ef2b9(_0x2de5ae,_0x5de059,_0xc225fe,_0x59da6){return _0x5da4fe(_0x59da6- -0x111,_0x5de059-_0x40b409._0x46f6da,_0x2de5ae,_0x59da6-0x12);}return pathToFileURL(_0x408b63)[_0x1ef2b9(_0x437026._0x44e1cb,-0x36,-0xd9,0xc7)]();}function textDocumentPosition(_0x390749){const _0x34c940={_0x148020:0x1e1,_0x2181ae:0x170,_0x418e06:0x36f,_0x2723e9:0x598,_0x1d2d64:0x4a5};function _0x396b1f(_0x218e07,_0x327dab,_0x339e3a,_0x5e66eb){return _0x5da4fe(_0x5e66eb- -0x399,_0x327dab-0x56,_0x327dab,_0x5e66eb-0x19);}function _0x29ef37(_0x4139ed,_0x212079,_0x537f5f,_0x3dfc02){return _0x2389b1(_0x4139ed-0x197,_0x212079-0x86,_0x537f5f,_0x3dfc02- -0x43);}return{'textDocument':{'uri':uriForPath(_0x390749[_0x396b1f(-_0x34c940._0x148020,-0x18e,-_0x34c940._0x2181ae,-0x95)])},'position':{'line':_0x390749[_0x29ef37(0x763,0x754,0x5da,0x6fb)],'character':_0x390749[_0x29ef37(0x36e,_0x34c940._0x418e06,_0x34c940._0x2723e9,_0x34c940._0x1d2d64)]}};}function normalizeLocations(_0x5c427f){if(!_0x5c427f)return[];return Array['isArray'](_0x5c427f)?_0x5c427f:[_0x5c427f];}async function withLspTimeout(_0x26e4d3,_0x2ac1d2,_0x1eb358){const _0x1fc3ca={_0x26a380:0x1c8,_0xeb9b6d:0x1b7,_0x3ec9cb:0xc9,_0x2cb22a:0x75,_0x577cc1:0x1d2,_0x75ba15:0x381,_0x2f0820:0x10c},_0x2a9c5c={_0x59a95d:0x368,_0x2a2ae7:0x7c},_0x58766d={_0x2c4b81:0xaf};function _0xad389a(_0x5bbdfa,_0x1f8a16,_0x15e6d3,_0x3b7c64){return _0x2389b1(_0x5bbdfa-0x79,_0x1f8a16-_0x58766d._0x2c4b81,_0x3b7c64,_0x5bbdfa- -0x637);}if(!Number[_0x3aaae8(-_0x1fc3ca._0x26a380,-0x191,-_0x1fc3ca._0xeb9b6d,-_0x1fc3ca._0x3ec9cb)](_0x2ac1d2)||_0x2ac1d2<0x1)throw new Error(_0xad389a(0x194,0x231,-0x4,_0x1fc3ca._0x2cb22a)+_0x1eb358+_0x3aaae8(-0xbd,-_0x1fc3ca._0x577cc1,-_0x1fc3ca._0x75ba15,-0x102));function _0x3aaae8(_0x279134,_0x4e7977,_0x98058,_0x2a4c1e){return _0x5da4fe(_0x4e7977- -_0x2a9c5c._0x59a95d,_0x4e7977-_0x2a9c5c._0x2a2ae7,_0x98058,_0x2a4c1e-0xbf);}let _0x10d3c5;try{return await Promise[_0x3aaae8(-0x74,-_0x1fc3ca._0x2f0820,-0x6f,-0x148)]([_0x26e4d3,new Promise((_0x4c4498,_0xe1327)=>{const _0x2cbf74={_0x82969b:0x4b8,_0x45d8f6:0x33b,_0x1f7d1e:0x18e,_0x8f9471:0x39c};_0x10d3c5=setTimeout(()=>{function _0x10e0f3(_0x20e6d7,_0x1a430a,_0x142345,_0x4f13c8){return _0x102a(_0x20e6d7-0x76,_0x1a430a);}function _0x36708f(_0xc641c5,_0x55c814,_0x40ecca,_0x47f51b){return _0x102a(_0x55c814- -0x1e4,_0x47f51b);}_0xe1327(new Error('LSP\x20'+_0x1eb358+_0x10e0f3(0x48a,0x30f,_0x2cbf74._0x82969b,0x3d0)+_0x2ac1d2+_0x10e0f3(_0x2cbf74._0x45d8f6,_0x2cbf74._0x1f7d1e,0x380,_0x2cbf74._0x8f9471)));},_0x2ac1d2);})]);}finally{if(_0x10d3c5!==void 0x0)clearTimeout(_0x10d3c5);}}async function createLspClient(_0x126e4a){const _0x3a1071={_0x1e25af:0x694,_0xbfb825:0x5d2,_0x454dfd:0x41,_0xdc9814:0x13a,_0x110edf:0x3e4,_0x1e0147:0x568,_0x21d58f:0x2e1,_0x2dcdf9:0x39b,_0x10b5bf:0x220,_0x521cc6:0x5c4,_0x5837cf:0x5cc,_0x58bbc2:0x524,_0x117942:0x759,_0x1ab6ac:0x1f3,_0x5b66ae:0x542,_0x154247:0x5d4,_0x2ecdf9:0x20,_0x419a43:0x76,_0x24eb05:0x638,_0x28f8f6:0x1a,_0x4d0a4e:0xde,_0x32f9e4:0x7f2,_0x383e1e:0x736,_0x7e7d46:0x8,_0x1b9ad2:0x31,_0x340c69:0x1c1,_0x2557a0:0x190,_0x52eada:0x32a,_0x24f563:0x17f,_0x30dbad:0x6b2,_0x361ce6:0x555,_0x5210f9:0x5c6,_0x59edc0:0x300,_0x41a870:0x59c,_0x5e919e:0x44a},_0x5ea10b={_0x3a2452:0x149,_0x335f3d:0xb9,_0x4f502e:0x34,_0x32436a:0x7d,_0x2c0a47:0x21e,_0x576f3f:0x12c,_0x281e1c:0x79,_0x3e88f7:0x1d5,_0x17cb8f:0xd5,_0x380ced:0x88},_0x22c34a={_0x2f5f09:0x30b,_0x3e7334:0x16d,_0x1fe531:0x15,_0x2fcb47:0x87},_0x41bc1e={_0x5a4287:0x967,_0x112dc2:0x717,_0x24b8b3:0x61c},_0x32442b={_0x382b7e:0x62},_0x6f8456={_0x562e84:0x9d},_0xe395fe={_0x37af7d:0x27,_0x41f85d:0x1f6,_0x4595d2:0x8},_0x105117={_0x3402f3:0xd8},_0xc0fc96={_0x22e7e1:0x317,_0x32b6b9:0x149,_0x54d3b9:0x299},_0x5a579e={_0x9da3c4:0x5f},_0x17a43a={_0xbacf41:0x180},_0x80177f={_0xe25770:0x3de,_0x1a4b8c:0x215,_0x37423e:0x291},_0x48af08={_0x12e999:0x190,_0x4060c0:0x147},_0x2f2f9b={_0x56f523:0x181,_0x2699d2:0x97,_0x5802e4:0x1d1},_0x1f2b39={_0x2c68ee:0x1e8,_0x306ff7:0x326},_0x4ad596={_0x5f5631:0x143,_0x9cf6d0:0xf4,_0x34c876:0x2bd,_0x2e4300:0x219,_0x13b55e:0x430,_0x3b6217:0x348},_0x5ec22d={_0x1ad3b4:0x178},_0x4cb335={_0x738d6c:0x1d9,_0x2279ca:0x69,_0x527a64:0x1d6,_0xad296c:0xe1,_0x57141e:0x420,_0x1f81d9:0x301,_0xce3855:0x2dd,_0x4d2c51:0x5ba},_0x4a62b5={_0x57a178:0x3f5,_0x46d577:0x178,_0x4c8e24:0xf5,_0xa2ee7e:0xfd,_0x5aa6f7:0x3be,_0x454a86:0x290,_0x201b8f:0x2a3,_0x44c2d1:0x44},_0x5cd67a={_0x100eda:0x1ad,_0x458fea:0x112},_0x43ac7c={_0x5df31a:0x381,_0x5aae3c:0x215,_0x4884cf:0x53e},_0x33c307={_0x29c322:0x13d,_0xcd68aa:0x1bf},_0x4b9b3a={_0x457dc7:0x18c};function _0x329d3e(_0x31b27c,_0x412c93,_0x198f19,_0x111800){return _0x2389b1(_0x31b27c-0xe9,_0x412c93-0x35,_0x111800,_0x198f19- -_0x4b9b3a._0x457dc7);}const _0x862232=_0x126e4a['handle']['process']['stdout'],_0x42fe95=_0x126e4a[_0x329d3e(0x453,_0x3a1071._0x1e25af,_0x3a1071._0xbfb825,0x506)]['process']['stdin'];if(!_0x862232||!_0x42fe95)throw new Error(_0x244762(-0x13,0xae,_0x3a1071._0x454dfd,-_0x3a1071._0xdc9814));const _0x5199ca=_0x126e4a['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x32d345=createMessageConnection(new StreamMessageReader(_0x862232),new StreamMessageWriter(_0x42fe95)),_0x3226d6=new Map();function _0x244762(_0x2acafc,_0x57d06a,_0x3354bb,_0x414ed2){return _0x2389b1(_0x2acafc-_0x33c307._0x29c322,_0x57d06a-_0x33c307._0xcd68aa,_0x3354bb,_0x2acafc- -0x545);}const _0x958bae=new Map();let _0x403306=![];const _0x3cb4d3=async(_0x3e0c0c,_0x38946e)=>{function _0x4a8c7b(_0xcdda18,_0xead915,_0xc8fd35,_0x386859){return _0x244762(_0xead915-0x144,_0xead915-0x1bf,_0x386859,_0x386859-0xd0);}return withLspTimeout(_0x32d345[_0x4a8c7b(0x49d,_0x43ac7c._0x5df31a,_0x43ac7c._0x5aae3c,_0x43ac7c._0x4884cf)](_0x3e0c0c,_0x38946e),_0x5199ca,_0x3e0c0c);};_0x32d345[_0x329d3e(0x5de,_0x3a1071._0x110edf,_0x3a1071._0x1e0147,0x629)](_0x329d3e(0x380,0x44a,0x40a,_0x3a1071._0x21d58f),_0xd21833=>{function _0x25d807(_0x49ea52,_0x4592d8,_0x2c5293,_0x42a34e){return _0x244762(_0x4592d8-_0x5cd67a._0x100eda,_0x4592d8-_0x5cd67a._0x458fea,_0x49ea52,_0x42a34e-0x187);}_0x3226d6['set'](_0xd21833[_0x3c4363(_0x4a62b5._0x57a178,0x266,0x189,0x242)],_0xd21833[_0x25d807(0x332,_0x4a62b5._0x46d577,_0x4a62b5._0x4c8e24,_0x4a62b5._0xa2ee7e)]);const _0x4a828f=_0x958bae['get'](_0xd21833['uri']);if(!_0x4a828f)return;function _0x3c4363(_0x13c824,_0x37fc91,_0x5ee705,_0x2bd780){return _0x244762(_0x37fc91-0x2b1,_0x37fc91-0x1d6,_0x2bd780,_0x2bd780-0x7d);}_0x958bae[_0x3c4363(_0x4a62b5._0x5aa6f7,_0x4a62b5._0x454a86,0x202,_0x4a62b5._0x201b8f)](_0xd21833[_0x25d807(0x2d4,0x162,-_0x4a62b5._0x44c2d1,0x19f)]);for(const _0x4fced9 of _0x4a828f)_0x4fced9();}),_0x32d345[_0x244762(0x294,0x24d,_0x3a1071._0x2dcdf9,_0x3a1071._0x10b5bf)]();let _0x850abd;try{_0x850abd=await _0x3cb4d3('initialize',{'processId':process[_0x329d3e(_0x3a1071._0x521cc6,_0x3a1071._0x5837cf,_0x3a1071._0x58bbc2,0x36a)],'rootUri':uriForPath(_0x126e4a[_0x329d3e(_0x3a1071._0x117942,0x7b3,0x6a0,0x6cc)]),'workspaceFolders':[{'uri':uriForPath(_0x126e4a[_0x244762(0x2e7,_0x3a1071._0x1ab6ac,0x2d2,0x427)]),'name':_0x126e4a['server']['id']}],'initializationOptions':_0x126e4a[_0x329d3e(_0x3a1071._0x5b66ae,_0x3a1071._0x154247,0x5d2,0x6ea)][_0x244762(-_0x3a1071._0x2ecdf9,0x1e,_0x3a1071._0x419a43,0x158)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x329d3e(0x469,0x5a5,0x5be,_0x3a1071._0x24eb05),'plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x38c0d6){_0x32d345[_0x244762(0x13c,-_0x3a1071._0x28f8f6,_0x3a1071._0x4d0a4e,0x1ca)](),_0x126e4a['handle']['process'][_0x329d3e(_0x3a1071._0x32f9e4,_0x3a1071._0x383e1e,0x67c,0x631)]();throw _0x38c0d6;}_0x32d345[_0x244762(_0x3a1071._0x7e7d46,_0x3a1071._0x1b9ad2,_0x3a1071._0x340c69,-0x7f)](_0x244762(_0x3a1071._0x2557a0,_0x3a1071._0x52eada,0x18e,_0x3a1071._0x24f563),{});const _0x9b8a91={'serverId':_0x126e4a[_0x329d3e(_0x3a1071._0x30dbad,0x659,_0x3a1071._0x361ce6,0x52d)]['id'],'root':_0x126e4a[_0x329d3e(0x757,0x809,0x6a0,_0x3a1071._0x5210f9)],'connection':_0x32d345,'diagnostics':_0x3226d6,'capabilities':_0x850abd[_0x329d3e(_0x3a1071._0x59edc0,_0x3a1071._0x41a870,_0x3a1071._0x5e919e,0x577)]??{},'notify':{async 'open'({path:_0x5c7884}){const _0x717a20={_0x28fc18:0x1d3,_0x1bd885:0x1c1,_0x3483f2:0x7a},_0x3bc421={_0x145078:0x1c1,_0x34ed90:0x166},_0x4a6b38=await readFile(_0x5c7884,_0x4de35(_0x4cb335._0x738d6c,_0x4cb335._0x2279ca,0x20f,_0x4cb335._0x527a64));function _0x4de35(_0x3ae6c7,_0x542dc8,_0x24e68c,_0x24dbb9){return _0x329d3e(_0x3ae6c7-_0x3bc421._0x145078,_0x542dc8-0x115,_0x3ae6c7- -_0x3bc421._0x34ed90,_0x24dbb9);}function _0x3e6898(_0x15e651,_0x2227ce,_0x4fb79b,_0x9f41d5){return _0x244762(_0x15e651-_0x717a20._0x28fc18,_0x2227ce-_0x717a20._0x1bd885,_0x4fb79b,_0x9f41d5-_0x717a20._0x3483f2);}_0x32d345['sendNotification'](_0x4de35(0x1c9,0xc9,0x67,_0x4cb335._0xad296c),{'textDocument':{'uri':uriForPath(_0x5c7884),'languageId':getLanguageId(_0x5c7884)??_0x4de35(_0x4cb335._0x57141e,_0x4cb335._0x1f81d9,_0x4cb335._0xce3855,_0x4cb335._0x4d2c51),'version':0x1,'text':_0x4a6b38}});},async 'change'({path:_0x4f62c1,version:_0x1c65f9}){const _0x11ae9d={_0x22fe23:0x41,_0x4e31a7:0x6b},_0x3e1c27=await readFile(_0x4f62c1,'utf8');function _0x3c5ab9(_0x49eb70,_0x2dd396,_0x15a943,_0x2600cb){return _0x244762(_0x15a943- -_0x11ae9d._0x22fe23,_0x2dd396-0xc2,_0x2dd396,_0x2600cb-_0x11ae9d._0x4e31a7);}function _0x585f08(_0x5c41a1,_0x5b854a,_0xd9b657,_0x15d9f8){return _0x329d3e(_0x5c41a1-_0x5ec22d._0x1ad3b4,_0x5b854a-0x154,_0x15d9f8- -0x184,_0xd9b657);}_0x32d345[_0x585f08(_0x4ad596._0x5f5631,_0x4ad596._0x9cf6d0,_0x4ad596._0x34c876,0x23d)](_0x585f08(_0x4ad596._0x2e4300,0x4b1,_0x4ad596._0x13b55e,_0x4ad596._0x3b6217),{'textDocument':{'uri':uriForPath(_0x4f62c1),'version':_0x1c65f9},'contentChanges':[{'text':_0x3e1c27}]});},async 'close'({path:_0x21ef36}){const _0x567b58={_0x1bac43:0xb4};function _0x51a503(_0x20b98a,_0x5c8eee,_0x215186,_0x2757ff){return _0x329d3e(_0x20b98a-0x9,_0x5c8eee-_0x567b58._0x1bac43,_0x215186-0x1e9,_0x2757ff);}function _0x4ed603(_0x24e094,_0x44ed2a,_0x2b0fd3,_0x56cf16){return _0x329d3e(_0x24e094-_0x1f2b39._0x2c68ee,_0x44ed2a-0xda,_0x24e094- -_0x1f2b39._0x306ff7,_0x56cf16);}_0x32d345[_0x4ed603(0x9b,0x143,_0x2f2f9b._0x56f523,-_0x2f2f9b._0x2699d2)](_0x4ed603(0x290,0x2c4,_0x2f2f9b._0x5802e4,0x1ba),{'textDocument':{'uri':uriForPath(_0x21ef36)}});}},'request':{async 'definition'(_0x64707f){function _0x332419(_0x40eaa8,_0x3abcd9,_0x491c05,_0x5b238d){return _0x244762(_0x5b238d-0x1b1,_0x3abcd9-_0x48af08._0x12e999,_0x40eaa8,_0x5b238d-_0x48af08._0x4060c0);}return normalizeLocations(await _0x3cb4d3(_0x332419(_0x80177f._0xe25770,0x306,_0x80177f._0x1a4b8c,_0x80177f._0x37423e),textDocumentPosition(_0x64707f)));},async 'references'(_0x1f659e){function _0x1852a1(_0x3e907f,_0x40ff5d,_0x1cc78a,_0xe8e348){return _0x329d3e(_0x3e907f-0x95,_0x40ff5d-_0x17a43a._0xbacf41,_0x40ff5d- -0x2e7,_0xe8e348);}return normalizeLocations(await _0x3cb4d3(_0x1852a1(_0x5a579e._0x9da3c4,0x76,0xf4,0x231),{...textDocumentPosition(_0x1f659e),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x595a0a){return await _0x3cb4d3('textDocument/hover',textDocumentPosition(_0x595a0a))??null;},async 'documentSymbol'(_0xb2860){const _0x142332={_0xc505a9:0x91};function _0x3cdaab(_0x3c1f9b,_0x998476,_0x206995,_0x5f2380){return _0x244762(_0x206995-0xb0,_0x998476-_0x142332._0xc505a9,_0x3c1f9b,_0x5f2380-0x1d5);}return await _0x3cb4d3(_0x3cdaab(_0xc0fc96._0x22e7e1,_0xc0fc96._0x32b6b9,_0xc0fc96._0x54d3b9,0x302),{'textDocument':{'uri':uriForPath(_0xb2860)}})??[];},async 'workspaceSymbol'(_0x58ec9b){function _0x5c1add(_0x2ccdcd,_0x2c0822,_0x42420b,_0x483f84){return _0x329d3e(_0x2ccdcd-_0x105117._0x3402f3,_0x2c0822-0xf6,_0x483f84- -0x3ac,_0x2c0822);}return await _0x3cb4d3(_0x5c1add(_0xe395fe._0x37af7d,_0xe395fe._0x41f85d,-_0xe395fe._0x4595d2,0x11d),{'query':_0x58ec9b})??[];},async 'implementation'(_0x38765d){return normalizeLocations(await _0x3cb4d3('textDocument/implementation',textDocumentPosition(_0x38765d)));},async 'prepareCallHierarchy'(_0x18a76e){const _0x1ff0bc={_0x26ac71:0x9a};function _0xfa4a73(_0x29d9c1,_0x3f8f2a,_0xad55ba,_0x9efcaa){return _0x244762(_0x3f8f2a- -_0x1ff0bc._0x26ac71,_0x3f8f2a-0x5f,_0x29d9c1,_0x9efcaa-0xd9);}return await _0x3cb4d3(_0xfa4a73(-0xf9,0x97,-_0x6f8456._0x562e84,-0xdd),textDocumentPosition(_0x18a76e))??[];},async 'incomingCalls'(_0x37969e){function _0x2ea4dc(_0x35dfc5,_0x9b874f,_0x54cd62,_0x3108e3){return _0x329d3e(_0x35dfc5-0xc,_0x9b874f-_0x32442b._0x382b7e,_0x9b874f-0x137,_0x3108e3);}return await _0x3cb4d3(_0x2ea4dc(_0x41bc1e._0x5a4287,0x7aa,_0x41bc1e._0x112dc2,_0x41bc1e._0x24b8b3),{'item':_0x37969e})??[];},async 'outgoingCalls'(_0xd6edbf){return await _0x3cb4d3('callHierarchy/outgoingCalls',{'item':_0xd6edbf})??[];}},'waitForDiagnostics'({path:_0x13924e,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x1b2a97={_0x561c2a:0xcb,_0x4dbeb8:0xd4,_0x504809:0xbc,_0x22d5e9:0x5f9,_0x2d3c10:0x563,_0x268e8c:0x5eb,_0x2c4167:0x628,_0x100c19:0x3cb},_0x9463d3={_0x22d362:0xc6,_0x2ef2d0:0x3,_0x23adac:0x1a},_0x79f5ad={_0xce6376:0x104,_0x553891:0x4f9},_0x1ef5d3={_0xef7a71:0x517,_0x337ee4:0x266,_0x136d88:0x3ac,_0x347f4a:0x354,_0x49b85b:0x2ca},_0x2bf8f5={_0x4842fc:0x4e,_0x42fbd8:0x127},_0x1d7310=uriForPath(_0x13924e);function _0x1f7539(_0x1ecdcd,_0x59aa2c,_0x5bdd3b,_0x465ee5){return _0x244762(_0x465ee5- -_0x2bf8f5._0x4842fc,_0x59aa2c-_0x2bf8f5._0x42fbd8,_0x59aa2c,_0x465ee5-0x195);}function _0x143e53(_0x4b2032,_0x339e0d,_0x1a3ca8,_0x1e4ebc){return _0x244762(_0x1e4ebc- -0xa,_0x339e0d-0xf3,_0x339e0d,_0x1e4ebc-0x121);}if(_0x3226d6[_0x1f7539(-0x37,_0x22c34a._0x2f5f09,0x95,_0x22c34a._0x3e7334)](_0x1d7310))return Promise[_0x1f7539(-_0x22c34a._0x1fe531,0x4a,0x1d,-_0x22c34a._0x2fcb47)]();return new Promise(_0x23a8a3=>{const _0x303d43=setTimeout(()=>{const _0x3a6b02=_0x958bae[_0x32e227(0x5a4,_0x1ef5d3._0xef7a71,0x4bc,0x66f)](_0x1d7310);function _0x4ad40b(_0x17270f,_0x4c01b1,_0xc90207,_0x51f7c7){return _0x102a(_0x51f7c7-0x3a,_0x17270f);}_0x3a6b02?.[_0x32e227(0x220,_0x1ef5d3._0x337ee4,_0x1ef5d3._0x136d88,0x200)](_0x57837a);if(_0x3a6b02?.[_0x32e227(0x2fd,0x25e,_0x1ef5d3._0x347f4a,_0x1ef5d3._0x49b85b)]===0x0)_0x958bae['delete'](_0x1d7310);function _0x32e227(_0x1c6ff0,_0x145f41,_0x3ad39e,_0x171312){return _0x102a(_0x3ad39e-0x20f,_0x145f41);}_0x23a8a3();},timeoutMs),_0x57837a=()=>{clearTimeout(_0x303d43),_0x23a8a3();};function _0x166fd3(_0x3b337f,_0x2c7fe8,_0xdaa31b,_0x2ed4ab){return _0x1f7539(_0x3b337f-0x9,_0x2ed4ab,_0xdaa31b-_0x79f5ad._0xce6376,_0x3b337f-_0x79f5ad._0x553891);}const _0x40fca1=_0x958bae[_0x2a90c1(_0x1b2a97._0x561c2a,-0x1b,-_0x1b2a97._0x4dbeb8,-_0x1b2a97._0x504809)](_0x1d7310)??new Set();function _0x2a90c1(_0x31bdab,_0x31bcde,_0xee80dd,_0x17903d){return _0x143e53(_0x31bdab-_0x9463d3._0x22d362,_0x31bcde,_0xee80dd-_0x9463d3._0x2ef2d0,_0x31bdab- -_0x9463d3._0x23adac);}_0x40fca1[_0x166fd3(0x78f,_0x1b2a97._0x22d5e9,0x87f,0x64d)](_0x57837a),_0x958bae[_0x166fd3(_0x1b2a97._0x2d3c10,_0x1b2a97._0x268e8c,_0x1b2a97._0x2c4167,_0x1b2a97._0x100c19)](_0x1d7310,_0x40fca1);});},async 'shutdown'(){const _0x18cf2a={_0x318674:0xed},_0x1376cd={_0x55d17d:0xa3};function _0x386d86(_0x4f05f5,_0x136eda,_0x3d4a25,_0x286b1d){return _0x244762(_0x4f05f5- -_0x1376cd._0x55d17d,_0x136eda-0x138,_0x3d4a25,_0x286b1d-0x3d);}function _0x291b53(_0x389688,_0x44473d,_0x230f72,_0x2eeed9){return _0x244762(_0x389688-0x141,_0x44473d-_0x18cf2a._0x318674,_0x230f72,_0x2eeed9-0x48);}if(_0x403306)return;_0x403306=!![];try{await _0x3cb4d3(_0x291b53(0x31f,0x3c2,0x4c2,0x17d),null),_0x32d345[_0x291b53(_0x5ea10b._0x3a2452,_0x5ea10b._0x335f3d,0xc9,-_0x5ea10b._0x4f502e)]('exit');}catch{}finally{_0x32d345[_0x386d86(0x99,-0x7d,0x7c,_0x5ea10b._0x32436a)](),_0x126e4a[_0x386d86(0x176,0x2f9,_0x5ea10b._0x2c0a47,_0x5ea10b._0x576f3f)][_0x386d86(-_0x5ea10b._0x281e1c,-_0x5ea10b._0x3e88f7,-_0x5ea10b._0x17cb8f,-0x10c)][_0x386d86(0x220,0x8a,_0x5ea10b._0x380ced,0x2bc)]();}}};return _0x9b8a91;}import{spawn as _0x26c10b}from'child_process';import{access as _0x75fc84}from'fs/promises';import _0x16bfa4 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x2bb333 from'os';import _0x3f332c from'path';import _0x1b933b from'which';var installPromises=new Map();function sanitizePackageName(_0x383235){const _0x5e8829={_0x5760ae:0x414,_0x4417e7:0x497,_0xaf70c7:0x443,_0x896267:0xf,_0x59bb32:0x275,_0x40be12:0x32f},_0x52e82a={_0x1e740e:0xda},_0x39d05a={_0x37be92:0x14,_0x11788e:0x152};function _0x3e1429(_0x51d76c,_0x49aef2,_0x3d2ea5,_0x5a1f51){return _0x5da4fe(_0x49aef2- -_0x39d05a._0x37be92,_0x49aef2-0x1b1,_0x51d76c,_0x5a1f51-_0x39d05a._0x11788e);}function _0x43a75e(_0x604876,_0x211166,_0x32cf62,_0x2190c4){return _0x5da4fe(_0x211166-0x2b3,_0x211166-_0x52e82a._0x1e740e,_0x604876,_0x2190c4-0x56);}return _0x383235[_0x43a75e(_0x5e8829._0x5760ae,_0x5e8829._0x4417e7,0x602,_0x5e8829._0xaf70c7)](/^@/,'')[_0x3e1429(_0x5e8829._0x896267,0x1d0,_0x5e8829._0x59bb32,_0x5e8829._0x40be12)](/[/]/g,'__');}function binaryNameForPlatform(_0x267f32){const _0x61caa3={_0x46047f:0x4c5,_0x9db9eb:0x321},_0x5d4b74={_0xe7970:0x2dc};function _0x5021a0(_0x58f6df,_0x563c2b,_0x37c286,_0x4d39c8){return _0x5da4fe(_0x58f6df-_0x5d4b74._0xe7970,_0x563c2b-0x6d,_0x37c286,_0x4d39c8-0xd4);}return process[_0x5021a0(_0x61caa3._0x46047f,0x302,_0x61caa3._0x9db9eb,0x5bc)]==='win32'?_0x267f32+'.cmd':_0x267f32;}async function exists(_0x24149e){try{return await access(_0x24149e),!![];}catch{return![];}}function runNpmInstall(_0x3e6010,_0x2faaec,_0x5edd9b){const _0x412d56={_0x146b12:0x451,_0x49ae38:0x506,_0x288ada:0x349,_0x5a436d:0x3e8,_0x46f556:0x1c0};return new Promise(_0x2fe556=>{const _0x37fd73=spawn('npm',['install',_0x2a1c7e(0x3c7,_0x412d56._0x146b12,0x4d4,0x35a),_0x3e6010,_0x2faaec],{'env':_0x5edd9b,'stdio':'ignore'});function _0x2a1c7e(_0x1e2106,_0x3fa971,_0x267ee0,_0x286b76){return _0x102a(_0x286b76-0x10,_0x267ee0);}function _0x46b01f(_0x2d64f9,_0x47a45e,_0x4da83a,_0x3f7439){return _0x102a(_0x47a45e-0xac,_0x4da83a);}_0x37fd73['on'](_0x2a1c7e(_0x412d56._0x49ae38,0x23f,_0x412d56._0x288ada,_0x412d56._0x5a436d),()=>_0x2fe556(![])),_0x37fd73['on'](_0x2a1c7e(0x33b,0x2d6,_0x412d56._0x46f556,0x234),_0x2a679b=>_0x2fe556(_0x2a679b===0x0));});}function shouldDisableLspDownload(_0x207a0d=process[_0x5da4fe(0x1de,0x149,0x46,0x6a)]){const _0x52b720={_0x594ed0:0x356,_0x410442:0x459,_0x2a94c2:0x449,_0x19b094:0x62c,_0x352f29:0x644,_0x2b80d4:0x541,_0x15f0b9:0x5b2,_0x958ca8:0x710},_0x42c4ce={_0x1da039:0xb3},_0x54103e=_0x207a0d['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x1b6cd6(_0x52b720._0x594ed0,0x3b5,_0x52b720._0x410442,_0x52b720._0x2a94c2)]();function _0xdb72aa(_0x4e3b9c,_0x32fba9,_0x2e4100,_0xf37701){return _0x5da4fe(_0x4e3b9c-0x2e2,_0x32fba9-_0x42c4ce._0x1da039,_0x2e4100,_0xf37701-0x170);}function _0x1b6cd6(_0x5cebd4,_0x34ff23,_0x4bb79b,_0x3d6d00){return _0x5da4fe(_0x5cebd4-0x2d,_0x34ff23-0x75,_0x3d6d00,_0x3d6d00-0x158);}return _0x54103e===_0xdb72aa(_0x52b720._0x19b094,0x4f9,_0x52b720._0x352f29,_0x52b720._0x2b80d4)||_0x54103e==='1'||_0x54103e===_0xdb72aa(0x5cc,_0x52b720._0x15f0b9,0x62b,_0x52b720._0x958ca8)||_0x54103e==='on';}function getLspPackageDir(_0x3c617e){const _0x2bb1cf={_0x48fe36:0x3c3,_0x13d0be:0x3c9,_0x5870b6:0x377,_0xe9af02:0x4a1,_0x273f09:0x3b5,_0x5f31da:0x379},_0x194e5a={_0x437a32:0x147};function _0x3148ff(_0x293bb3,_0x3350f5,_0x39465b,_0x241583){return _0x5da4fe(_0x39465b- -0xe9,_0x3350f5-0xd1,_0x241583,_0x241583-0xef);}function _0x261f33(_0x24ba60,_0x25a382,_0x4fa262,_0x1731ef){return _0x5da4fe(_0x4fa262- -0x5e,_0x25a382-0x36,_0x1731ef,_0x1731ef-_0x194e5a._0x437a32);}return _0x3f332c['join'](_0x2bb333[_0x261f33(_0x2bb1cf._0x48fe36,_0x2bb1cf._0x13d0be,_0x2bb1cf._0x5870b6,0x507)](),'.nuvin-code',_0x261f33(_0x2bb1cf._0xe9af02,_0x2bb1cf._0x273f09,0x3dd,0x3d8),_0x3148ff(_0x2bb1cf._0x5f31da,0x20e,0x386,0x20b),sanitizePackageName(_0x3c617e));}function getLspBinDir(_0x5fbe88){const _0x1b5e14={_0x1258f1:0x274,_0x159ab7:0x1b8,_0x142918:0xcd,_0x38eca9:0x5b2,_0x508e11:0x476,_0x18433d:0x644,_0x434d8b:0x51f},_0x3eb589={_0x5d714e:0x98},_0x2e3fb5={_0x51a863:0xe0};function _0x192532(_0x5e2a4,_0x2af8e5,_0x433b36,_0x59c326){return _0x5da4fe(_0x59c326-0x104,_0x2af8e5-_0x2e3fb5._0x51a863,_0x2af8e5,_0x59c326-0xc);}function _0x5de777(_0x1bc656,_0x6ec5dc,_0x195e58,_0x3d1c25){return _0x5da4fe(_0x1bc656-0xca,_0x6ec5dc-_0x3eb589._0x5d714e,_0x3d1c25,_0x3d1c25-0x130);}return _0x3f332c['join'](getLspPackageDir(_0x5fbe88),_0x5de777(_0x1b5e14._0x1258f1,0x23f,_0x1b5e14._0x159ab7,_0x1b5e14._0x142918),_0x5de777(_0x1b5e14._0x38eca9,_0x1b5e14._0x508e11,_0x1b5e14._0x18433d,_0x1b5e14._0x434d8b));}async function findPackageBinary(_0x218036,_0x27e8d6){const _0x18fe65={_0xfd1673:0x78,_0x34b6c2:0xe7,_0x2de4df:0x88a,_0x16484d:0xa33,_0x2c76a3:0x193,_0x212244:0x36c,_0x1f686f:0x2ec,_0x5358b7:0x204},_0x4fccd4={_0x153aae:0xbf,_0x5b54a2:0x5f3},_0x2d5c00={_0x42345e:0x3a2,_0x4e7a86:0x19d};function _0x565563(_0x20fb3d,_0x4fb5d4,_0x3b2876,_0x514c48){return _0x5da4fe(_0x20fb3d-_0x2d5c00._0x42345e,_0x4fb5d4-0x13f,_0x4fb5d4,_0x514c48-_0x2d5c00._0x4e7a86);}let _0x459868=_0x3f332c[_0x5bc4c5(0x48,-0x297,-_0x18fe65._0xfd1673,-_0x18fe65._0x34b6c2)](_0x27e8d6);const _0x28812e=binaryNameForPlatform(_0x218036);function _0x5bc4c5(_0xad4f63,_0x3723a3,_0x3c18ae,_0x3ba406){return _0x2389b1(_0xad4f63-0x173,_0x3723a3-_0x4fccd4._0x153aae,_0x3c18ae,_0x3ba406- -_0x4fccd4._0x5b54a2);}while(!![]){const _0x68bc84=_0x3f332c['join'](_0x459868,_0x5bc4c5(-0xf4,0xa1,-0x65,-0xf4),_0x565563(_0x18fe65._0x2de4df,0x900,0x8b5,_0x18fe65._0x16484d),_0x28812e);if(await exists(_0x68bc84))return _0x68bc84;const _0x42d05c=_0x3f332c[_0x5bc4c5(_0x18fe65._0x2c76a3,_0x18fe65._0x212244,_0x18fe65._0x1f686f,_0x18fe65._0x5358b7)](_0x459868);if(_0x42d05c===_0x459868)return void 0x0;_0x459868=_0x42d05c;}}async function findPathBinary(_0x5ceb04,_0x21b881){const _0x42b841={_0x4e99e2:0x5c1},_0x152d17={_0x26e1ae:0x13},_0x19f966=getLspBinDir(_0x21b881),_0x325404=[_0x19f966,process['env']['PATH']][_0x334323(0x60a,_0x42b841._0x4e99e2,0x4b0,0x63b)](Boolean)['join'](_0x3f332c['delimiter']);function _0x334323(_0x14b93a,_0x23baaa,_0x20bd06,_0x4136aa){return _0x5da4fe(_0x20bd06-_0x152d17._0x26e1ae,_0x23baaa-0x2f,_0x23baaa,_0x4136aa-0x4d);}try{return await _0x1b933b(_0x5ceb04,{'path':_0x325404});}catch{return void 0x0;}}async function resolvePackageBinary(_0x497e13){const _0x2d41d2={_0x5db0af:0x51b,_0x344164:0x5e6,_0x8b857b:0x412,_0x239f70:0x3c5,_0x1cf57a:0x5bc,_0x4d8035:0x5b7,_0x1ef52e:0x48b,_0x4478f6:0x4a5,_0x1b0d85:0x419,_0x1a2c15:0x5a9,_0x244318:0x643,_0x441dbf:0x3f6},_0x1f3dbe={_0x3cc2e9:0x3e6,_0x5c069c:0x540,_0x47a11d:0x3a5,_0x3e8e9b:0x60c},_0x5ca904={_0x53e884:0x104,_0x373b60:0x1d9,_0x4b5f81:0x170},_0xa2eaa4={_0x2cde3f:0x198},_0x2abe13={_0x249fd9:0x47},_0x129ef3={_0x22f1ca:0x2ca},_0x789dbc=_0x497e13[_0x16aa4d(0x4a6,_0x2d41d2._0x5db0af,0x498,0x3c6)]??_0x497e13['packageName'],_0x247e5d=await findPackageBinary(_0x789dbc,_0x497e13[_0x1f64bc(0x5e3,_0x2d41d2._0x344164,0x72f,0x4c4)]);if(_0x247e5d)return _0x247e5d;const _0x44cf25=await findPathBinary(_0x789dbc,_0x497e13['packageName']);function _0x1f64bc(_0x24c14b,_0x3e2184,_0x4a306a,_0x386036){return _0x5da4fe(_0x24c14b-_0x129ef3._0x22f1ca,_0x3e2184-0x87,_0x4a306a,_0x386036-0x189);}if(_0x44cf25)return _0x44cf25;const _0x3028fa=_0x497e13[_0x1f64bc(0x4a8,_0x2d41d2._0x8b857b,_0x2d41d2._0x239f70,0x47e)]??process[_0x1f64bc(0x4a8,_0x2d41d2._0x1cf57a,0x3d4,0x5e0)];function _0x16aa4d(_0x1809cb,_0x2dc119,_0x63a6c2,_0x5e5f01){return _0x2389b1(_0x1809cb-0x4f,_0x2dc119-_0x2abe13._0x249fd9,_0x5e5f01,_0x2dc119- -0x1b7);}if(shouldDisableLspDownload(_0x3028fa))return void 0x0;const _0x4bf757=getLspPackageDir(_0x497e13[_0x1f64bc(_0x2d41d2._0x4d8035,0x4bf,0x403,0x6b7)]),_0x29dab2=_0x497e13[_0x16aa4d(0x4ed,_0x2d41d2._0x1ef52e,_0x2d41d2._0x4478f6,_0x2d41d2._0x1b0d85)]+':'+_0x789dbc;let _0x1073e9=installPromises[_0x1f64bc(_0x2d41d2._0x1a2c15,_0x2d41d2._0x244318,0x721,0x5b5)](_0x29dab2);!_0x1073e9&&(_0x1073e9=((async()=>{function _0x4f6fba(_0x557ec4,_0x4ffd53,_0x11a8f7,_0x5203e2){return _0x1f64bc(_0x5203e2- -0x77,_0x4ffd53-0x6a,_0x4ffd53,_0x5203e2-_0xa2eaa4._0x2cde3f);}function _0x42f716(_0x2fdab1,_0x10ecb5,_0x3488b9,_0x19ca35){return _0x16aa4d(_0x2fdab1-_0x5ca904._0x53e884,_0x2fdab1-_0x5ca904._0x373b60,_0x3488b9-_0x5ca904._0x4b5f81,_0x10ecb5);}await mkdir(_0x4bf757,{'recursive':!![]});const _0x25b341=await runNpmInstall(_0x4bf757,_0x497e13[_0x4f6fba(_0x1f3dbe._0x3cc2e9,0x3f6,0x6d3,_0x1f3dbe._0x5c069c)],_0x3028fa);if(!_0x25b341)return void 0x0;const _0x37fe25=_0x3f332c[_0x42f716(0x4e8,_0x1f3dbe._0x47a11d,0x4d2,_0x1f3dbe._0x3e8e9b)](getLspBinDir(_0x497e13[_0x4f6fba(0x6cd,0x483,0x534,0x540)]),binaryNameForPlatform(_0x789dbc));return await exists(_0x37fe25)?_0x37fe25:void 0x0;})()),installPromises['set'](_0x29dab2,_0x1073e9));try{return await _0x1073e9;}catch{return void 0x0;}finally{installPromises[_0x16aa4d(0x229,0x36d,0x1f0,_0x2d41d2._0x441dbf)](_0x29dab2);}}var TYPESCRIPT_EXTENSIONS=[_0x5da4fe(0x203,0x2a1,0x310,0x3c5),_0x5da4fe(0x4cc,0x5d5,0x495,0x337),_0x5da4fe(0x1d2,0x290,0x396,0x2e9),_0x5da4fe(0x253,0x17c,0x1c5,0x198),_0x2389b1(0x402,0x6fb,0x432,0x545),_0x5da4fe(0x36a,0x466,0x45a,0x3f2),_0x2389b1(0x784,0x55f,0x845,0x6be),_0x5da4fe(0x1dc,0x87,0x286,0x30a)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x2389b1(0x416,0x3da,0x411,0x52b),_0x2389b1(0x67b,0x5d5,0x48e,0x51a)],TYPESCRIPT_ROOT_MARKERS=[_0x5da4fe(0x2cb,0x419,0x1ee,0x14c),_0x2389b1(0x589,0x65a,0x781,0x664),_0x5da4fe(0x3ac,0x3c0,0x395,0x382),_0x2389b1(0x3cd,0x3b6,0x6c7,0x516),_0x2389b1(0x937,0x805,0x866,0x7bf),_0x2389b1(0x734,0x491,0x55b,0x5df),_0x2389b1(0x5b3,0x495,0x6a0,0x56e),_0x5da4fe(0x45d,0x394,0x421,0x474)],BIOME_ROOT_MARKERS=[_0x5da4fe(0x3e6,0x582,0x48f,0x4b8),_0x5da4fe(0x231,0x2b1,0x9d,0x20f),_0x5da4fe(0x2cb,0x125,0x182,0x45d),_0x5da4fe(0x30f,0x42a,0x3a9,0x351),_0x5da4fe(0x3ac,0x53b,0x2fb,0x26c),_0x5da4fe(0x1c1,0x4f,0x8e,0x34b),_0x2389b1(0x839,0x72f,0x6fa,0x7bf),'package.json'];async function exists2(_0x151b22){try{return await _0x75fc84(_0x151b22),!![];}catch{return![];}}async function findUp(_0x11e280,_0x58979a){const _0x33e86a={_0x364533:0x54,_0xaf118e:0x29b,_0x5444a9:0x3a9,_0x232ba2:0x419,_0x4b82d0:0x6d3,_0x105914:0x3a5,_0x3c37f7:0x654,_0x3d25cd:0x525},_0x4a0a0f={_0x154975:0x162};let _0x53f962=_0x16bfa4[_0x29cc54(0x1fd,_0x33e86a._0x364533,_0x33e86a._0xaf118e,_0x33e86a._0x5444a9)](_0x11e280);function _0x29cc54(_0x1d0358,_0x2a9c6c,_0x13bfe0,_0x2fb7ea){return _0x2389b1(_0x1d0358-0xcc,_0x2a9c6c-0x197,_0x13bfe0,_0x1d0358- -0x30f);}const _0x2eafc0=_0x16bfa4['extname'](_0x53f962);function _0x14f450(_0x14e8d6,_0x247827,_0x80355b,_0x304055){return _0x2389b1(_0x14e8d6-0x1ed,_0x247827-_0x4a0a0f._0x154975,_0x247827,_0x304055-0x5f);}if(_0x2eafc0)_0x53f962=_0x16bfa4[_0x29cc54(0x4e8,0x39d,0x3b5,_0x33e86a._0x232ba2)](_0x53f962);while(!![]){for(const _0x117360 of _0x58979a){if(await exists2(_0x16bfa4[_0x14f450(_0x33e86a._0x4b82d0,_0x33e86a._0x105914,_0x33e86a._0x3c37f7,_0x33e86a._0x3d25cd)](_0x53f962,_0x117360)))return _0x53f962;}const _0x6020e8=_0x16bfa4['dirname'](_0x53f962);if(_0x6020e8===_0x53f962)return void 0x0;_0x53f962=_0x6020e8;}}async function hasDenoRoot(_0x252424){const _0x1bf291={_0xe14431:0x1be,_0x50fcdf:0x3a3,_0x3299d5:0x21f,_0x359211:0x297,_0x4088e9:0x196,_0x289fad:0x21f,_0x5059df:0x162,_0x288fd4:0xd9,_0x5ca6db:0xd5,_0x2e8f6f:0x191},_0x2e0c28={_0x2bce94:0xd1,_0x3307df:0x41,_0x525b44:0x6e5},_0x1ba7dc={_0x5bff95:0x6f5};function _0x3303ba(_0x24c43f,_0x82f10f,_0x2ac16a,_0x5f1ed3){return _0x2389b1(_0x24c43f-0x13e,_0x82f10f-0x18,_0x5f1ed3,_0x24c43f- -_0x1ba7dc._0x5bff95);}function _0x3c78e4(_0x3180c5,_0x7e8a28,_0x40c8f7,_0x9387d2){return _0x2389b1(_0x3180c5-_0x2e0c28._0x2bce94,_0x7e8a28-_0x2e0c28._0x3307df,_0x9387d2,_0x40c8f7- -_0x2e0c28._0x525b44);}return await exists2(_0x16bfa4[_0x3c78e4(-_0x1bf291._0xe14431,-_0x1bf291._0x50fcdf,-_0x1bf291._0x3299d5,-_0x1bf291._0x359211)](_0x252424,'deno.json'))||await exists2(_0x16bfa4[_0x3c78e4(-_0x1bf291._0x4088e9,-0x2c9,-_0x1bf291._0x289fad,-_0x1bf291._0x5059df)](_0x252424,_0x3c78e4(-0x8c,-_0x1bf291._0x288fd4,_0x1bf291._0x5ca6db,_0x1bf291._0x2e8f6f)));}async function resolveTsserverPath(_0x4cfe9a){const _0x155be7={_0x5c3883:0x231,_0x19b6ca:0x10c,_0x136819:0x802,_0xa5ceb0:0x7ad,_0x14e225:0x7bd,_0x36618f:0x142,_0x188e59:0x2e5,_0x5ccba5:0x582,_0x741b66:0x100,_0x393a8f:0x12d,_0x515ca7:0xc0,_0x27201a:0x4b8,_0x12a1f3:0x44f,_0x583cde:0x423,_0x84d5e4:0x488,_0x440e53:0x266},_0x273bd1={_0x2493c2:0x115,_0xb6711e:0xeb};let _0x5d5ff5=_0x16bfa4['resolve'](_0x4cfe9a);while(!![]){const _0x566523=_0x16bfa4[_0x1bfaca(-_0x155be7._0x5c3883,-0xae,-0x32e,-_0x155be7._0x19b6ca)](_0x5d5ff5,'node_modules',_0x255919(_0x155be7._0x136819,_0x155be7._0xa5ceb0,0x702,_0x155be7._0x14e225),_0x1bfaca(_0x155be7._0x36618f,_0x155be7._0x188e59,0x7d,0x2a0),_0x255919(0x477,0x50c,0x381,_0x155be7._0x5ccba5));if(await exists2(_0x566523))return _0x566523;const _0x937268=_0x16bfa4[_0x1bfaca(_0x155be7._0x741b66,0x213,0x153,0x158)](_0x5d5ff5);if(_0x937268===_0x5d5ff5)break;_0x5d5ff5=_0x937268;}const _0x59642a=getLspPackageDir(_0x1bfaca(_0x155be7._0x393a8f,0xa9,0xe4,0x3e));function _0x1bfaca(_0x539088,_0x1e07b3,_0x2c8a16,_0x30eea7){return _0x5da4fe(_0x539088- -0x3a2,_0x1e07b3-_0x273bd1._0x2493c2,_0x2c8a16,_0x30eea7-_0x273bd1._0xb6711e);}function _0x255919(_0x904adb,_0x193305,_0x7723c,_0x6d1f20){return _0x2389b1(_0x904adb-0x14d,_0x193305-0x1d0,_0x6d1f20,_0x193305- -0x77);}const _0x3ba1f1=await resolvePackageBinary({'packageName':_0x1bfaca(_0x155be7._0x393a8f,0x2d2,-0x6a,_0x155be7._0x515ca7),'binaryName':'tsc','startDir':_0x4cfe9a});if(!_0x3ba1f1)return void 0x0;const _0x203cb5=_0x16bfa4[_0x255919(_0x155be7._0x27201a,_0x155be7._0x12a1f3,0x2a9,_0x155be7._0x583cde)](_0x59642a,_0x255919(0x348,_0x155be7._0x84d5e4,0x4f1,0x53f),_0x1bfaca(0x12d,_0x155be7._0x440e53,0xa,0x12e),'lib',_0x1bfaca(-0x174,-0x30,-0x1d9,-0x93));return await exists2(_0x203cb5)?_0x203cb5:void 0x0;}var TypeScriptServer={'id':_0x5da4fe(0x4cf,0x620,0x42c,0x338),'name':_0x5da4fe(0x3d6,0x345,0x42e,0x4e5),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x557437){const _0x367abd=await findUp(_0x557437,TYPESCRIPT_ROOT_MARKERS);if(!_0x367abd)return void 0x0;return await hasDenoRoot(_0x367abd)?void 0x0:_0x367abd;},async 'spawn'(_0x4f8145){const _0x2d7783={_0x5acaf4:0x2,_0x2ffe0b:0x1aa,_0x56fc56:0x17e,_0x6916d4:0x57,_0x28ead0:0x7f},_0x57f2ef={_0x5c31f8:0x1b5,_0x368a81:0x4fd};function _0x18ac00(_0x5c37ed,_0x1effd1,_0x35a51b,_0xe48925){return _0x2389b1(_0x5c37ed-0x6f,_0x1effd1-0xa0,_0x35a51b,_0x5c37ed- -0x258);}const _0x245789=await resolveTsserverPath(_0x4f8145);if(!_0x245789)return void 0x0;const _0x353b14=await resolvePackageBinary({'packageName':_0x57859e(-_0x2d7783._0x5acaf4,0x154,_0x2d7783._0x2ffe0b,0x1b8),'binaryName':'typescript-language-server','startDir':_0x4f8145});function _0x57859e(_0x55a780,_0x5f0404,_0x5dc594,_0x30b310){return _0x2389b1(_0x55a780-_0x57f2ef._0x5c31f8,_0x5f0404-0x159,_0x55a780,_0x5dc594- -_0x57f2ef._0x368a81);}if(!_0x353b14)return void 0x0;return{'process':_0x26c10b(_0x353b14,[_0x57859e(0x101,-0x29,0xb7,-0xb1)],{'cwd':_0x4f8145,'stdio':_0x57859e(_0x2d7783._0x56fc56,-_0x2d7783._0x6916d4,_0x2d7783._0x28ead0,-0xfc)}),'initialization':{'tsserver':{'path':_0x245789}}};}},BiomeServer={'id':_0x5da4fe(0x21e,0x225,0x3bd,0x152),'name':_0x2389b1(0x7d0,0x7e8,0x8bb,0x798),'extensions':BIOME_EXTENSIONS,async 'root'(_0xb47ca7){return findUp(_0xb47ca7,BIOME_ROOT_MARKERS);},async 'spawn'(_0x53dce2){const _0x413267={_0x46db91:0x366,_0x444b02:0x3a4,_0x3f1521:0x343,_0x56689e:0x3b7,_0x3d66e2:0x1df,_0x22aa42:0xb9,_0x4e0e14:0x78,_0x35ae20:0xf0,_0x2e2b17:0xb6,_0x24fed4:0x2a},_0x2431fb={_0x2a9725:0x186,_0x352201:0x24},_0x311a04={_0x55a9ad:0x1fd};function _0x371435(_0x2c08a8,_0x116666,_0x4af7cd,_0x224b60){return _0x5da4fe(_0x224b60- -_0x311a04._0x55a9ad,_0x116666-0x1b9,_0x4af7cd,_0x224b60-0x1e);}const _0x4dfc74=await findPackageBinary(_0x51b451(0x228,0x3a4,0x444,_0x413267._0x46db91),_0x53dce2)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x51b451(0x2d3,_0x413267._0x444b02,_0x413267._0x3f1521,_0x413267._0x56689e),'startDir':_0x53dce2});function _0x51b451(_0xc270ca,_0x1b3344,_0x150d7d,_0x3b443a){return _0x5da4fe(_0x1b3344-_0x2431fb._0x2a9725,_0x1b3344-_0x2431fb._0x352201,_0xc270ca,_0x3b443a-0x1d7);}if(!_0x4dfc74)return void 0x0;return{'process':_0x26c10b(_0x4dfc74,['lsp-proxy',_0x371435(_0x413267._0x3d66e2,-_0x413267._0x22aa42,_0x413267._0x4e0e14,0x62)],{'cwd':_0x53dce2,'stdio':_0x371435(0x9d,-_0x413267._0x35ae20,_0x413267._0x2e2b17,_0x413267._0x24fed4)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x3f1bb6){const _0x125f80={_0x2449f0:0x2dd,_0x551464:0x62,_0x25ea3f:0x190,_0x47caa0:0xcb},_0x270ed2={_0x27fa78:0x709},_0x14a71c={_0x40cc39:0x188,_0x5ab061:0x38,_0x5d68de:0x3d4};function _0x242759(_0x1a8642,_0xde53a4,_0x577073,_0x2420fe){return _0x2389b1(_0x1a8642-_0x14a71c._0x40cc39,_0xde53a4-_0x14a71c._0x5ab061,_0xde53a4,_0x577073- -_0x14a71c._0x5d68de);}function _0x418068(_0x5bcb19,_0x191ed1,_0x3f6b4a,_0x25e8cc){return _0x2389b1(_0x5bcb19-0x1dd,_0x191ed1-0x4a,_0x25e8cc,_0x191ed1- -_0x270ed2._0x27fa78);}const _0x95871d=_0x16bfa4[_0x242759(0x217,0x1be,0x176,_0x125f80._0x2449f0)](_0x3f1bb6)[_0x418068(-_0x125f80._0x551464,-0x8b,-_0x125f80._0x25ea3f,_0x125f80._0x47caa0)]();return BUILTIN_LSP_SERVERS[_0x418068(0x1d0,0xe9,0x23,-0xd2)](_0x4eeb01=>_0x4eeb01['extensions'][_0x242759(0x49c,0x365,0x461,0x40d)](_0x95871d));}function stateKey(_0x5debe9,_0x1b9ff7){return _0x1b9ff7+':'+_0x5debe9['id'];}function diagnosticsKeyToPath(_0x266c4f){const _0x31c598={_0x3d1fb7:0x3,_0xfc95ba:0x268},_0x5f044e={_0x113d36:0x1f0},_0x129553={_0x20a919:0x112};function _0x5278c0(_0x2e1f5d,_0x34411d,_0x4c960a,_0x161a66){return _0x2389b1(_0x2e1f5d-_0x129553._0x20a919,_0x34411d-0x135,_0x2e1f5d,_0x34411d- -0x6d8);}function _0x307bf5(_0x451dff,_0x4206e6,_0x2df508,_0x864b67){return _0x2389b1(_0x451dff-_0x5f044e._0x113d36,_0x4206e6-0xf1,_0x4206e6,_0x2df508- -0x5cc);}if(!_0x266c4f[_0x307bf5(0x30,-0x165,-_0x31c598._0x3d1fb7,0x13d)](_0x307bf5(0xe2,0x363,_0x31c598._0xfc95ba,0x157)))return _0x266c4f;return fileURLToPath(_0x266c4f);}function nextFileVersion(_0x253188,_0xb7f311){const _0x407460={_0x4b444c:0x254,_0x3f6691:0x139,_0x1e616f:0x2de,_0xd811c4:0x3cd,_0x4f8d07:0x39b},_0x13bee2={_0x220048:0x229},_0x1bb7d7={_0x4f3ab9:0xd5,_0x432871:0x74f};function _0xf2d9bb(_0x2bbe64,_0x232579,_0xe87570,_0x2276b1){return _0x2389b1(_0x2bbe64-0x1b,_0x232579-_0x1bb7d7._0x4f3ab9,_0x232579,_0x2276b1- -_0x1bb7d7._0x432871);}const _0x28d8e9=(_0x253188[_0xf2d9bb(-0x363,-0x3dc,-0xb2,-_0x407460._0x4b444c)][_0xf2d9bb(-_0x407460._0x3f6691,-0xf,-_0x407460._0x1e616f,-0x11b)](_0xb7f311)??0x1)+0x1;_0x253188[_0xf2d9bb(-_0x407460._0xd811c4,-0x38a,-_0x407460._0x4f8d07,-0x254)]['set'](_0xb7f311,_0x28d8e9);function _0x169774(_0x477baf,_0x547e8a,_0x3c2946,_0x1175b7){return _0x5da4fe(_0x547e8a-_0x13bee2._0x220048,_0x547e8a-0xbd,_0x3c2946,_0x1175b7-0x58);}return _0x28d8e9;}async function collectClientResults(_0x3a13bc){const _0x1f31fa={_0x5df753:0x117,_0x4a4641:0xc0},_0x1e96ee={_0x289373:0x148},_0x4e9e6c={_0x4c0a3b:0x187,_0x2b2753:0x3,_0x3e0090:0x447};function _0x5776e5(_0x2f3909,_0x149ec3,_0x12fb68,_0x569a1a){return _0x2389b1(_0x2f3909-_0x4e9e6c._0x4c0a3b,_0x149ec3-_0x4e9e6c._0x2b2753,_0x569a1a,_0x12fb68- -_0x4e9e6c._0x3e0090);}function _0x48210a(_0x331753,_0x47aeff,_0x5060db,_0x18b9b0){return _0x5da4fe(_0x47aeff- -0x3c1,_0x47aeff-0xad,_0x18b9b0,_0x18b9b0-_0x1e96ee._0x289373);}const _0x2d6aac=await Promise['allSettled'](_0x3a13bc);return _0x2d6aac[_0x48210a(-_0x1f31fa._0x5df753,-_0x1f31fa._0x4a4641,-0x1d1,0x55)](_0x585017=>_0x585017[_0x5776e5(0x3c8,0x230,0x2d9,0x48d)]===_0x5776e5(0x101,0x27f,0x2aa,0x165)?_0x585017[_0x48210a(0xf9,0x1e,-0x4d,-0x4)]:[]);}function createLspService(_0x437fee={}){const _0x34f550={_0x1f5293:0x2d2,_0x4b6711:0x8e,_0xeafa74:0x3a1,_0xfd93b9:0x231,_0x3b2107:0x3a0,_0x4b1f13:0x28e,_0x4086c0:0x420,_0x1a567c:0x402,_0x489943:0x5f4,_0xa07006:0x15b,_0x406848:0x2e3,_0x3de2ea:0x19d,_0x59d526:0x78,_0x4ca445:0xf7,_0x4e1e22:0x219,_0x15cc77:0x26a,_0x4fed55:0x621,_0x5b4d1d:0xd8,_0x22f905:0x219,_0xe4dbd5:0x1d5},_0x294bbb={_0x47a386:0x12,_0x42befd:0x251,_0x3d19ee:0x11d},_0x2dccb4={_0x51b5e3:0x182,_0x5b16ea:0xf},_0x55ada3={_0x491790:0x104,_0x321817:0x81},_0x5724eb={_0x29eb47:0x87},_0x208f8c={_0x178802:0x5d0,_0x126f25:0x762},_0x5dc63d={_0x32d993:0x543},_0x40b0ed={_0x35b258:0x182,_0x5b6098:0x114,_0x25b339:0x1},_0x597e97={_0x13a02f:0xf1,_0x545df5:0x184},_0x290412={_0xd59029:0x60,_0x426702:0x2e2,_0x9ce110:0x248,_0x44965c:0x260},_0x47e2eb={_0x75236e:0x1f3},_0x569e7c={_0x318598:0x6f},_0x5728d4={_0x27ae6f:0x100,_0x1b8d4e:0xe1},_0x225baa={_0x258cf6:0x52,_0x5b4460:0x166,_0x4a5ff6:0xa0},_0x5a7ecd={_0xa2ea85:0x299,_0x258d0e:0x3f,_0x4af4c3:0x3e},_0x50fcf6={_0x5ba649:0x78},_0x54814a={_0x5276f0:0xd,_0x89c868:0x2d},_0x2839ce={_0xb2c655:0x554,_0x4f88e5:0x657,_0x31abec:0x733,_0x1cc7c1:0x657},_0x4d0bfe={_0x53eef7:0x128,_0x54cf2f:0x157},_0xfa0b30={_0x40653f:0xf2,_0x6ddae:0x7e},_0x55b772={_0x3c929c:0xed},_0x4cfe80={_0x5a28af:0x122,_0x23ef7f:0xb2,_0x33a34f:0x2e},_0xeb0b21={_0xfb3a55:0x17e},_0x15ab27={_0x144956:0x43b,_0x25ed34:0x487,_0x2894ac:0x43a,_0xea03e3:0x5c4},_0x22ffa2={_0x2b9722:0x49d,_0x4e9f61:0x538,_0xdfaee9:0x40a,_0x5d3db5:0x5bc,_0x8ecbd7:0x5b8,_0x2462d1:0x54a,_0x3a699f:0x6fe,_0x389461:0x59d,_0x208eac:0x27d,_0x50b197:0x49a,_0x260c3a:0x35,_0x6aaec8:0x112,_0xf66793:0x568,_0x716a77:0x1d1,_0x5d0705:0x13f,_0x37c709:0x10e},_0x5efc82={_0x506c56:0x49a,_0x3af349:0x90,_0xdd0649:0x2},_0x1c22a1={_0x51aedc:0x44d,_0x3a175f:0x36e,_0x5ef755:0x384,_0x353e61:0x1fd,_0x2f6d10:0x262,_0x3950dd:0x298,_0xd5b018:0xb2},_0x5ec5b2={_0x20655f:0x2e3,_0x4ce4e0:0x18f,_0x250b29:0x149,_0x5507d6:0x8,_0x12f1a9:0x330,_0x2e9b3f:0x41c,_0x29e531:0x631,_0x5cd204:0x710,_0x385d7f:0x436,_0x11044e:0x3a1,_0x9704a9:0x2f8,_0x4f56a4:0x1d8,_0xd8934c:0x493,_0x258561:0x31a},_0x870e65={_0x32d3c5:0x1b4,_0x22aa67:0x1bd,_0x52a1c8:0x100,_0x422e89:0x326,_0x2e1559:0x133,_0x44d305:0xc0,_0x2203d7:0xb,_0x1622ce:0x347,_0x14cc32:0x2b,_0x1ce370:0x234,_0x39b77e:0x26c,_0x291298:0x38e,_0x4cde47:0x3b2,_0x1d1cd2:0x2c0,_0x4894e2:0x12c,_0x1b0e14:0x84,_0x28a63b:0x1a4},_0x452c06={_0x37f2a:0x151,_0xd69db9:0x1bc},_0x377752={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]};function _0x195353(_0xb0ea58,_0x150375,_0x3aa334,_0x55e3ba){return _0x5da4fe(_0xb0ea58- -0x300,_0x150375-0x148,_0x150375,_0x55e3ba-0xa6);}const _0x5a3954=()=>_0x437fee[_0x195353(0x90,-0xf4,0x1c6,0x49)]!==![];async function _0x177d6d(_0xd43059,_0x2ba4e2){const _0x29a4a6={_0x30c0ae:0x13d},_0x38da77={_0x2128e2:0x48,_0x4fbb28:0x1e4},_0x104774=stateKey(_0xd43059,_0x2ba4e2),_0x2a72a0=_0x377752[_0x19f7cd(_0x5ec5b2._0x20655f,_0x5ec5b2._0x4ce4e0,_0x5ec5b2._0x250b29,_0x5ec5b2._0x5507d6)][_0x26e337(0x3bd,0x382,_0x5ec5b2._0x12f1a9,_0x5ec5b2._0x2e9b3f)](_0x300fb9=>_0x300fb9['serverId']===_0xd43059['id']&&_0x300fb9[_0x26e337(0x61d,0x3f6,0x599,0x577)]===_0x2ba4e2);function _0x19f7cd(_0x51b88e,_0x3c62ee,_0x1d1b76,_0x17f233){return _0x195353(_0x3c62ee-0x255,_0x17f233,_0x1d1b76-_0x452c06._0x37f2a,_0x17f233-_0x452c06._0xd69db9);}if(_0x2a72a0)return _0x2a72a0;if(_0x377752[_0x26e337(0x707,_0x5ec5b2._0x29e531,0x592,_0x5ec5b2._0x5cd204)]['has'](_0x104774))return void 0x0;const _0x5a7011=_0x377752['spawning'][_0x26e337(0x36f,_0x5ec5b2._0x385d7f,_0x5ec5b2._0x11044e,_0x5ec5b2._0x9704a9)](_0x104774);if(_0x5a7011)return _0x5a7011;const _0x3575d8=((async()=>{const _0x3e90d3={_0x52aabc:0x35e};function _0x16c2a5(_0x19c78b,_0x31c748,_0x1e7fa7,_0x230089){return _0x26e337(_0x19c78b-0xc7,_0x31c748-0x1c4,_0x19c78b- -_0x3e90d3._0x52aabc,_0x230089);}function _0x101a45(_0xba5136,_0xff73d5,_0x2c25b6,_0x14a2c8){return _0x26e337(_0xba5136-_0x38da77._0x2128e2,_0xff73d5-0x149,_0xba5136- -_0x38da77._0x4fbb28,_0x2c25b6);}try{const _0x59b881=await _0xd43059[_0x101a45(0x2a4,_0x870e65._0x32d3c5,_0x870e65._0x22aa67,0x3e3)](_0x2ba4e2);if(!_0x59b881)return _0x377752['broken'][_0x16c2a5(0x238,_0x870e65._0x52a1c8,_0x870e65._0x422e89,0x385)](_0x104774),void 0x0;const _0x53a68e=await createLspClient({'server':_0xd43059,'root':_0x2ba4e2,'handle':_0x59b881}),_0x4c8b07=_0x377752[_0x16c2a5(-0x62,0xfc,-0x13,-_0x870e65._0x2e1559)][_0x16c2a5(-0x2e,-0x1a0,_0x870e65._0x44d305,_0x870e65._0x2203d7)](_0x13cb26=>_0x13cb26['serverId']===_0xd43059['id']&&_0x13cb26[_0x101a45(0x3b5,0x4a3,0x3a0,0x2dc)]===_0x2ba4e2);if(_0x4c8b07)return await _0x53a68e['shutdown'](),_0x4c8b07;return _0x377752['clients'][_0x101a45(0x1cf,_0x870e65._0x1622ce,0x353,_0x870e65._0x14cc32)](_0x53a68e),_0x53a68e;}catch{return _0x377752[_0x16c2a5(_0x870e65._0x1ce370,_0x870e65._0x39b77e,0x2c4,_0x870e65._0x291298)][_0x101a45(_0x870e65._0x4cde47,0x3b0,0x349,_0x870e65._0x1d1cd2)](_0x104774),void 0x0;}finally{_0x377752[_0x101a45(_0x870e65._0x4894e2,0x36,0xd6,-_0x870e65._0x1b0e14)][_0x101a45(0xad,_0x870e65._0x28a63b,0xca,0x236)](_0x104774);}})());function _0x26e337(_0x529170,_0x38c51f,_0x487220,_0x395f99){return _0x195353(_0x487220-0x3c2,_0x395f99,_0x487220-0x1ca,_0x395f99-_0x29a4a6._0x30c0ae);}return _0x377752[_0x26e337(_0x5ec5b2._0x4f56a4,_0x5ec5b2._0xd8934c,0x310,0x20c)][_0x26e337(0x397,0x1e7,0x36a,_0x5ec5b2._0x258561)](_0x104774,_0x3575d8),_0x3575d8;}async function _0x34812d(_0x2e98de,_0x117d5d){const _0x8a025={_0xd2330d:0xc1,_0x4bf783:0x4e},_0x185b13={_0x1d5d33:0xed};function _0x442aae(_0x29593c,_0x544fad,_0x184d9b,_0x262921){return _0x195353(_0x29593c-0x152,_0x184d9b,_0x184d9b-_0x185b13._0x1d5d33,_0x262921-0x173);}if(!_0x5a3954())return[];const _0x2b3c93=[];for(const _0x46f64f of getServersForFile(_0x2e98de)){const _0x396258=await _0x46f64f[_0x4ff7de(0x298,0x31d,_0x1c22a1._0x51aedc,0x2b1)](_0x2e98de);if(!_0x396258)continue;const _0x255992=stateKey(_0x46f64f,_0x396258);if(_0x377752[_0x442aae(0x322,_0x1c22a1._0x3a175f,0x1e7,_0x1c22a1._0x5ef755)][_0x442aae(_0x1c22a1._0x353e61,_0x1c22a1._0x2f6d10,0x51,_0x1c22a1._0x3950dd)](_0x255992))continue;const _0x4aa957=_0x377752['clients']['find'](_0x56dab5=>_0x56dab5['serverId']===_0x46f64f['id']&&_0x56dab5['root']===_0x396258);if(_0x4aa957){_0x2b3c93[_0x4ff7de(_0x1c22a1._0xd5b018,0x1fa,-0x10e,-0xaa)](_0x4aa957);continue;}if(!_0x117d5d)continue;const _0x5059bd=await _0x177d6d(_0x46f64f,_0x396258);if(_0x5059bd)_0x2b3c93['push'](_0x5059bd);}function _0x4ff7de(_0x172373,_0x319b62,_0x2b0e18,_0x1db0cb){return _0x195353(_0x172373-_0x8a025._0xd2330d,_0x2b0e18,_0x2b0e18-0x173,_0x1db0cb-_0x8a025._0x4bf783);}return _0x2b3c93;}async function _0x584eac(_0x2e075b,_0x1d6dd1=![]){const _0x1f4448={_0x3fc632:0x4c1,_0x5ce9ef:0xbb};function _0x5767d6(_0x31a512,_0x54528c,_0x322d32,_0x337be4){return _0x195353(_0x337be4-_0x5efc82._0x506c56,_0x54528c,_0x322d32-_0x5efc82._0x3af349,_0x337be4-_0x5efc82._0xdd0649);}const _0x3eb684=await _0x34812d(_0x2e075b,!![]);function _0x5ce6e0(_0x951da1,_0x1a846a,_0x456644,_0x43d0df){return _0x195353(_0x43d0df-_0x1f4448._0x3fc632,_0x456644,_0x456644-_0x1f4448._0x5ce9ef,_0x43d0df-0xbf);}await Promise[_0x5767d6(_0x15ab27._0x144956,_0x15ab27._0x25ed34,0x4cb,_0x15ab27._0x2894ac)](_0x3eb684[_0x5767d6(0x5ef,_0x15ab27._0xea03e3,0x3ce,0x431)](async _0x15f8fc=>{const _0x3c9f2a={_0x21f6bb:0x13f,_0x4d9b46:0x1a8,_0xf0bc0a:0x127};function _0x541555(_0x1d1197,_0x560840,_0x2c38d6,_0x48b13d){return _0x5767d6(_0x1d1197-_0x3c9f2a._0x21f6bb,_0x1d1197,_0x2c38d6-_0x3c9f2a._0x4d9b46,_0x560840- -_0x3c9f2a._0xf0bc0a);}!_0x377752[_0x541555(0x493,_0x22ffa2._0x2b9722,_0x22ffa2._0x4e9f61,0x627)]['has'](_0x15f8fc[_0x541555(0x448,0x49b,_0x22ffa2._0xdfaee9,_0x22ffa2._0x5d3db5)]+':'+_0x15f8fc[_0x541555(_0x22ffa2._0x8ecbd7,_0x22ffa2._0x2462d1,_0x22ffa2._0x3a699f,_0x22ffa2._0x389461)]+':'+_0x2e075b)&&(await _0x15f8fc['notify'][_0x2b31af(-0x18b,-0x350,-_0x22ffa2._0x208eac,-0x2ab)]({'path':_0x2e075b}),_0x377752[_0x541555(_0x22ffa2._0x50b197,0x49d,0x363,0x477)][_0x2b31af(_0x22ffa2._0x260c3a,0x1f,0xf2,-0xce)](_0x15f8fc[_0x2b31af(-_0x22ffa2._0x6aaec8,-0x114,0x46,0x120)]+':'+_0x15f8fc[_0x541555(0x6b3,0x54a,_0x22ffa2._0xf66793,0x690)]+':'+_0x2e075b));await _0x15f8fc[_0x2b31af(-_0x22ffa2._0x716a77,-_0x22ffa2._0x5d0705,-0xcc,-0x7f)]['change']({'path':_0x2e075b,'version':nextFileVersion(_0x377752,_0x2e075b)});function _0x2b31af(_0xf10396,_0x39c905,_0x2ab77b,_0x1fd20e){return _0x5ce6e0(_0xf10396-0x95,_0x39c905-0x177,_0x39c905,_0x2ab77b- -0x5a3);}if(_0x1d6dd1)await _0x15f8fc[_0x2b31af(-0x18c,0xae,-_0x22ffa2._0x37c709,-0x144)]({'path':_0x2e075b});}));}async function _0x309263(_0x5b255a){await _0x584eac(_0x5b255a[_0xf5d171(_0x4cfe80._0x5a28af,_0x4cfe80._0x23ef7f,-_0x4cfe80._0x33a34f,0x77)],![]);function _0xf5d171(_0x136d55,_0xaa0125,_0x52c9a9,_0x53e483){return _0x195353(_0x136d55-0x11e,_0x52c9a9,_0x52c9a9-0x142,_0x53e483-_0xeb0b21._0xfb3a55);}return _0x34812d(_0x5b255a['file'],![]);}async function _0x2e79d6(_0x299647){const _0x2e98d7={_0x359cf9:0x7c};function _0xe8d63b(_0x34382d,_0x2acfd3,_0x30ac7e,_0x3b164e){return _0x195353(_0x34382d-0x464,_0x3b164e,_0x30ac7e-0x39,_0x3b164e-_0x55b772._0x3c929c);}function _0x52244e(_0x17b077,_0x25b789,_0x228f5f,_0x409d7d){return _0x195353(_0x409d7d- -0x15,_0x17b077,_0x228f5f-_0x2e98d7._0x359cf9,_0x409d7d-0x172);}const _0x2b52fd=await _0x309263(_0x299647);return collectClientResults(_0x2b52fd[_0x52244e(-0x180,-0x1e5,-_0xfa0b30._0x40653f,-_0xfa0b30._0x6ddae)](_0x38e3a1=>_0x38e3a1['request'][_0x52244e(0x198,0x23f,0x264,0xa6)](_0x299647)));}return{'isEnabled':_0x5a3954,async 'hasClients'(_0x46526b){const _0xbe2639={_0x38d9e2:0x490,_0x1a9864:0xab};function _0x175cbc(_0x56c597,_0x4b9dfa,_0x1a1f83,_0x179647){return _0x195353(_0x4b9dfa-0x423,_0x56c597,_0x1a1f83-_0x4d0bfe._0x53eef7,_0x179647-_0x4d0bfe._0x54cf2f);}function _0x4d1fe9(_0x2978b3,_0x2a915e,_0x13ad41,_0x27f4a4){return _0x195353(_0x13ad41-_0xbe2639._0x38d9e2,_0x2a915e,_0x13ad41-0x11c,_0x27f4a4-_0xbe2639._0x1a9864);}return(await _0x34812d(_0x46526b,![]))[_0x4d1fe9(0x551,_0x2839ce._0xb2c655,_0x2839ce._0x4f88e5,_0x2839ce._0x31abec)]>0x0||getServersForFile(_0x46526b)[_0x4d1fe9(0x594,0x800,_0x2839ce._0x1cc7c1,0x678)]>0x0;},'touchFile':_0x584eac,async 'diagnostics'(){const _0x2fb043={_0x5e9a13:0xda,_0x593de5:0x112,_0x369955:0x17c};function _0x4562b8(_0x5cf324,_0x1e5c6d,_0x525246,_0x50a460){return _0x195353(_0x50a460- -_0x2fb043._0x5e9a13,_0x525246,_0x525246-_0x2fb043._0x593de5,_0x50a460-_0x2fb043._0x369955);}const _0x1f8952={};for(const _0x3eebb3 of _0x377752[_0x4562b8(-_0x54814a._0x5276f0,-_0x54814a._0x89c868,-0x50,-0x1a0)]){for(const [_0x2d54df,_0x431a4f]of _0x3eebb3['diagnostics']){_0x1f8952[diagnosticsKeyToPath(_0x2d54df)]=_0x431a4f;}}return _0x1f8952;},async 'diagnosticsForFile'(_0x30007c){const _0x5b2285={_0x188217:0x1c};await _0x584eac(_0x30007c,!![]);const _0x488dc2=[];for(const _0x594074 of await _0x34812d(_0x30007c,![])){for(const [_0x5d182a,_0x6934d3]of _0x594074[_0x16b28a(-0x28d,-_0x5a7ecd._0xa2ea85,_0x5a7ecd._0x258d0e,-0x100)]){if(diagnosticsKeyToPath(_0x5d182a)===_0x30007c)_0x488dc2[_0x2f789d(0xd,-0x144,-0xc,-_0x5a7ecd._0x4af4c3)](..._0x6934d3);}}function _0x16b28a(_0x44c2be,_0xa70736,_0x30000d,_0x265328){return _0x195353(_0x265328-0x45,_0xa70736,_0x30000d-0x61,_0x265328-_0x50fcf6._0x5ba649);}function _0x2f789d(_0x3b9233,_0x4b2f69,_0x48ed7b,_0x386a87){return _0x195353(_0x3b9233-_0x5b2285._0x188217,_0x4b2f69,_0x48ed7b-0x1dc,_0x386a87-0x11e);}return _0x488dc2;},async 'definition'(_0x5b8ba0){const _0x2aa9eb={_0x274db9:0x17,_0x32ebd4:0x146},_0xd7f223={_0x5b08e8:0x1ba};function _0x5bd92e(_0x5a7da0,_0x4fb330,_0x490832,_0x53a51f){return _0x195353(_0x5a7da0- -0xb3,_0x53a51f,_0x490832-_0xd7f223._0x5b08e8,_0x53a51f-0xe6);}function _0xdfe6b0(_0x2463b7,_0xfdffd9,_0x1b74fe,_0x17b1ea){return _0x195353(_0x2463b7-_0x2aa9eb._0x274db9,_0x1b74fe,_0x1b74fe-0x29,_0x17b1ea-_0x2aa9eb._0x32ebd4);}return collectClientResults((await _0x309263(_0x5b8ba0))[_0xdfe6b0(-_0x225baa._0x258cf6,-_0x225baa._0x5b4460,-0x36,-_0x225baa._0x4a5ff6)](_0x41fcc8=>_0x41fcc8[_0xdfe6b0(0x189,0x170,0x2f3,0x154)]['definition'](_0x5b8ba0)));},async 'references'(_0x4f6a73){const _0x5a6e68={_0x2eda3c:0x169,_0x1c23d4:0x13e};function _0x5b1c13(_0x544814,_0x3628d2,_0x2c5f14,_0x453165){return _0x195353(_0x3628d2- -0xad,_0x544814,_0x2c5f14-_0x5728d4._0x27ae6f,_0x453165-_0x5728d4._0x1b8d4e);}function _0x34864f(_0x571bf6,_0x3eea19,_0x739c38,_0x6447a5){return _0x195353(_0x739c38-0x155,_0x571bf6,_0x739c38-_0x5a6e68._0x2eda3c,_0x6447a5-_0x5a6e68._0x1c23d4);}return collectClientResults((await _0x309263(_0x4f6a73))[_0x5b1c13(-0x1dc,-0x116,0x64,-_0x569e7c._0x318598)](_0x12d10e=>_0x12d10e['request'][_0x5b1c13(-0xa2,0xc4,0x12a,0x38)](_0x4f6a73)));},async 'hover'(_0x5a270a){const _0x2ed7ac={_0x22fb59:0x434,_0x13621d:0x16b};function _0xbe21ac(_0xb7a83d,_0x3fa03a,_0x13c623,_0x43fd16){return _0x195353(_0xb7a83d-0x2e1,_0x13c623,_0x13c623-0x1a2,_0x43fd16-_0x47e2eb._0x75236e);}const _0x905f87=await Promise[_0xbe21ac(0x1ef,_0x290412._0xd59029,0xf4,0x295)]((await _0x309263(_0x5a270a))['map'](_0x551089=>_0x551089[_0x195dbd(0x6c4,0x5a6,0x563,0x64b)]['hover'](_0x5a270a)));function _0x195dbd(_0x3c9771,_0x4df447,_0x1235e3,_0x107f60){return _0x195353(_0x4df447-_0x2ed7ac._0x22fb59,_0x3c9771,_0x1235e3-_0x2ed7ac._0x13621d,_0x107f60-0x1eb);}return _0x905f87[_0xbe21ac(_0x290412._0x426702,_0x290412._0x9ce110,_0x290412._0x44965c,0x157)](_0x139cbc=>_0x139cbc[_0xbe21ac(0x3ac,0x24d,0x336,0x569)]===_0x195dbd(0x36e,0x4d0,0x5e3,0x371)&&_0x139cbc['value']?[_0x139cbc[_0x195dbd(0x64c,0x513,0x496,0x3fc)]]:[]);},async 'documentSymbol'(_0x5552d6){await _0x584eac(_0x5552d6,![]);function _0x2ae592(_0x40fbc1,_0x479b0e,_0x5a1292,_0x32b835){return _0x195353(_0x40fbc1-0x92,_0x5a1292,_0x5a1292-0x1ad,_0x32b835-0x55);}return collectClientResults((await _0x34812d(_0x5552d6,![]))['map'](_0x4113c1=>_0x4113c1[_0x2ae592(0x204,0x1f3,0x177,0x261)]['documentSymbol'](_0x5552d6)));},async 'workspaceSymbol'(_0x25c5b2){const _0x4d554b={_0x8f1d57:0xc5,_0x3cd086:0x195,_0x546f1b:0x1be};function _0x4eb558(_0x5066f3,_0x3a5cef,_0x442456,_0x1e5132){return _0x195353(_0x442456-_0x4d554b._0x8f1d57,_0x5066f3,_0x442456-_0x4d554b._0x3cd086,_0x1e5132-_0x4d554b._0x546f1b);}function _0x345680(_0x53cbee,_0x5c14d1,_0x5690e5,_0x241f29){return _0x195353(_0x241f29-0xa5,_0x5c14d1,_0x5690e5-_0x597e97._0x13a02f,_0x241f29-_0x597e97._0x545df5);}return collectClientResults(_0x377752[_0x4eb558(-_0x40b0ed._0x35b258,-_0x40b0ed._0x5b6098,-_0x40b0ed._0x25b339,0x193)]['map'](_0x315fd9=>_0x315fd9[_0x4eb558(0x2e3,0x38a,0x237,0x12d)][_0x345680(0xe0,0x1f2,0x100,0x1ac)](_0x25c5b2)));},async 'implementation'(_0x2923af){const _0x4df4a8={_0x374a72:0x2a};function _0x553cb5(_0x2878f6,_0x47df32,_0x3f964d,_0x2c1b46){return _0x195353(_0x47df32-0x639,_0x2878f6,_0x3f964d-_0x4df4a8._0x374a72,_0x2c1b46-0x135);}function _0x2914fd(_0x2f1954,_0x113416,_0x46e96b,_0x127041){return _0x195353(_0x127041-_0x5dc63d._0x32d993,_0x46e96b,_0x46e96b-0x121,_0x127041-0xfd);}return collectClientResults((await _0x309263(_0x2923af))[_0x553cb5(0x594,_0x208f8c._0x178802,0x4e0,_0x208f8c._0x126f25)](_0x462f1f=>_0x462f1f[_0x553cb5(0x6d5,0x7ab,0x7e5,0x7a5)][_0x553cb5(0x76c,0x7d4,0x7ab,0x7b4)](_0x2923af)));},async 'prepareCallHierarchy'(_0x30801b){return _0x2e79d6(_0x30801b);},async 'incomingCalls'(_0x3139eb){function _0x380961(_0xc4d9a5,_0x5aae99,_0x2680a3,_0x867238){return _0x195353(_0x5aae99-0x2d6,_0x2680a3,_0x2680a3-0xde,_0x867238-0x1c0);}const _0x218525=await _0x2e79d6(_0x3139eb),_0x2fdfad=await _0x309263(_0x3139eb);function _0x2ba073(_0x20c19d,_0x6b6ea2,_0x13ed17,_0x384a1){return _0x195353(_0x6b6ea2- -0x82,_0x384a1,_0x13ed17-_0x5724eb._0x29eb47,_0x384a1-0xcd);}return collectClientResults(_0x2fdfad[_0x2ba073(-_0x55ada3._0x491790,-_0x55ada3._0x321817,-0x115,-0x1ef)](_0x36b724=>_0x218525[_0x380961(0x239,0x26d,0x33b,0x203)](_0x28c8d8=>_0x36b724['request']['incomingCalls'](_0x28c8d8))));},async 'outgoingCalls'(_0x12bb71){function _0x4fbc4a(_0x453f2e,_0x5cf451,_0x3eb2b7,_0xe139cf){return _0x195353(_0xe139cf-0x11c,_0x3eb2b7,_0x3eb2b7-_0x2dccb4._0x51b5e3,_0xe139cf-_0x2dccb4._0x5b16ea);}function _0x514251(_0x14103b,_0x4a7880,_0x2a8428,_0x177ef0){return _0x195353(_0x2a8428-0x384,_0x177ef0,_0x2a8428-0xa7,_0x177ef0-0x7b);}const _0x242099=await _0x2e79d6(_0x12bb71),_0x36620f=await _0x309263(_0x12bb71);return collectClientResults(_0x36620f[_0x4fbc4a(-_0x294bbb._0x47a386,-0x9f,_0x294bbb._0x42befd,_0x294bbb._0x3d19ee)](_0x198fb9=>_0x242099[_0x4fbc4a(0x1e0,-0x49,0x170,0xb3)](_0x1dd321=>_0x198fb9[_0x4fbc4a(0x2d2,0x3af,0x3c8,0x28e)][_0x514251(0x476,0x4cf,0x467,0x545)](_0x1dd321))));},async 'shutdown'(){const _0x446ce7={_0x1ecdec:0x2f7},_0x2076fd={_0x3c11df:0x1ed};if(_0x377752[_0x4502de(0x1f8,0x2d2,0x223,0x282)])return;function _0x4502de(_0x1eabba,_0xab40ef,_0x285e1c,_0x4bddaf){return _0x195353(_0xab40ef-0x3bb,_0x1eabba,_0x285e1c-_0x2076fd._0x3c11df,_0x4bddaf-0x42);}_0x377752[_0x4502de(0x301,_0x34f550._0x1f5293,0x210,0x1bd)]=!![],await Promise[_0x4502de(0x1d3,0x2c9,0x22f,0x340)](_0x377752[_0x398bd7(_0x34f550._0x4b6711,_0x34f550._0xeafa74,_0x34f550._0xfd93b9,0x3bb)][_0x398bd7(_0x34f550._0x3b2107,0x3c1,_0x34f550._0x4b1f13,0x18a)](_0x56a19b=>_0x56a19b[_0x398bd7(0x23b,0x46b,0x3c5,0x2e9)]())),_0x377752[_0x4502de(_0x34f550._0x4086c0,0x2f5,_0x34f550._0x1a567c,0x412)]=[],_0x377752['spawning']['clear'](),_0x377752[_0x398bd7(0x5ac,_0x34f550._0x489943,0x4c7,0x510)][_0x4502de(_0x34f550._0xa07006,0x2dd,_0x34f550._0x406848,0x46a)](),_0x377752[_0x398bd7(0x160,0x1b8,_0x34f550._0x3de2ea,_0x34f550._0x59d526)][_0x398bd7(_0x34f550._0x4ca445,0x61,_0x34f550._0x4e1e22,_0x34f550._0x15cc77)]();function _0x398bd7(_0x8fdcc5,_0x502c28,_0x10a505,_0x551bbd){return _0x195353(_0x10a505-_0x446ce7._0x1ecdec,_0x502c28,_0x10a505-0x13c,_0x551bbd-0x1d);}_0x377752[_0x4502de(0x474,0x4e5,0x4cc,_0x34f550._0x4fed55)][_0x398bd7(_0x34f550._0x5b4d1d,0x3a2,_0x34f550._0x22f905,_0x34f550._0xe4dbd5)]();},'status'(){return{'connectedClients':_0x377752['clients']['length']};}};}function createQuestionId(){const _0x182600={_0x45e33e:0x1c,_0x9a0d67:0x20f,_0x20094d:0x108,_0x2d1c90:0x11a,_0x27618f:0x86,_0x24afb3:0x110,_0x571cfe:0x8d,_0x1ed70d:0x5f,_0x4d23f2:0x92},_0x26ded4={_0x23b4c7:0x181},_0x2c1d38={_0x2f0fea:0x72,_0x5495f1:0x583};function _0x27af9b(_0x3ba550,_0x5cbba9,_0x5d71b2,_0x4a847){return _0x2389b1(_0x3ba550-_0x2c1d38._0x2f0fea,_0x5cbba9-0x28,_0x5d71b2,_0x3ba550- -_0x2c1d38._0x5495f1);}function _0x52928f(_0x596e0b,_0x2eb8d3,_0x5ec376,_0x500594){return _0x5da4fe(_0x5ec376- -0x25e,_0x2eb8d3-_0x26ded4._0x23b4c7,_0x500594,_0x500594-0x1a8);}return _0x52928f(-0x1c,0x143,_0x182600._0x45e33e,0x1db)+Date[_0x27af9b(-0x70,-0x148,-0x173,-_0x182600._0x9a0d67)]()+'-'+Math['random']()[_0x52928f(_0x182600._0x20094d,_0x182600._0x2d1c90,-_0x182600._0x27618f,-_0x182600._0x24afb3)](0x24)[_0x52928f(-_0x182600._0x571cfe,-_0x182600._0x1ed70d,_0x182600._0x4d23f2,0x9)](0x2,0x9);}function validateInput(_0x3279cb){const _0x5939f6={_0x249d44:0x658,_0x33a731:0x683,_0x27607e:0x7a3,_0x503591:0x83e,_0x5a21b7:0x3af,_0x265d3f:0x3b2,_0x50321f:0x382,_0xe8a3f6:0x5e4,_0x9f462a:0x4fd,_0x5f2508:0x3d4,_0x306a45:0x545,_0x4ca9f7:0x6f6,_0x48f48a:0x35a,_0x30fa24:0x4c7,_0x27b8eb:0x451,_0x41644b:0x882,_0x1e4769:0x886,_0x48b8c0:0x55f,_0x249f0e:0x52f,_0x2dd319:0x5ec,_0x46bcc1:0x799,_0x2c89d0:0x429,_0x5eaa34:0x37d,_0x42a1bf:0x19f,_0x3a0315:0x57a,_0x294b8f:0x5b4,_0x50a3c6:0x70e,_0x211e1d:0x7eb,_0x59b15d:0x705,_0x4510ed:0x35c,_0x38f2a8:0x4bc,_0x48947a:0x278,_0x2d54c9:0x4cf,_0x514c08:0x37e,_0x73aafd:0x40c,_0x3f806b:0x4af,_0x2a231e:0x3e3,_0x1d4790:0x654,_0x1b25ec:0x59f,_0x55e5e8:0x196,_0x44a15e:0x185,_0x18ae24:0x209,_0x3b6cf4:0x186,_0x46da9d:0x577,_0x494b53:0x59d,_0x4a3970:0x933,_0x3739cf:0x14b,_0x401b13:0x1f4,_0x43036f:0x5c9,_0x2867ca:0x656,_0x10c491:0x54e,_0x317740:0x403,_0x4ae64f:0x480,_0x463948:0x3f4,_0x27f47f:0x5cb,_0xc246a8:0x6bc,_0x2cf421:0x536,_0x26747c:0x238},_0x1a2bba={_0x1c2dbc:0x31},_0x520428={_0x59ce8e:0x7e,_0x32bcd9:0xd5,_0x3f3354:0x16d};function _0x980971(_0x50326e,_0x44b515,_0x221b47,_0x2bb300){return _0x5da4fe(_0x221b47-_0x520428._0x59ce8e,_0x44b515-_0x520428._0x32bcd9,_0x44b515,_0x2bb300-_0x520428._0x3f3354);}function _0x4180de(_0x16a57d,_0x29aa06,_0x5d5442,_0x118f5e){return _0x2389b1(_0x16a57d-0x1b1,_0x29aa06-0x110,_0x16a57d,_0x5d5442- -_0x1a2bba._0x1c2dbc);}if(!Array[_0x4180de(0x824,_0x5939f6._0x249d44,_0x5939f6._0x33a731,0x786)](_0x3279cb[_0x4180de(0x872,0x6e6,_0x5939f6._0x27607e,_0x5939f6._0x503591)])||_0x3279cb[_0x980971(_0x5939f6._0x5a21b7,0x5d9,0x4fd,_0x5939f6._0x265d3f)][_0x980971(_0x5939f6._0x50321f,_0x5939f6._0xe8a3f6,0x545,0x421)]<0x1||_0x3279cb[_0x980971(0x620,0x591,_0x5939f6._0x9f462a,0x37b)][_0x980971(_0x5939f6._0x5f2508,0x416,_0x5939f6._0x306a45,_0x5939f6._0x4ca9f7)]>0xa)throw new ToolExecutionError(_0x980971(0x545,_0x5939f6._0x48f48a,_0x5939f6._0x30fa24,_0x5939f6._0x27b8eb),{'error':_0x980971(0x321,0x248,0x287,0x20f)});for(let _0x55f79c=0x0;_0x55f79c<_0x3279cb['questions'][_0x4180de(_0x5939f6._0x41644b,_0x5939f6._0x1e4769,0x7eb,0x7b7)];_0x55f79c+=0x1){const _0x11f39b=_0x3279cb[_0x980971(_0x5939f6._0x48b8c0,0x668,_0x5939f6._0x9f462a,_0x5939f6._0x249f0e)][_0x55f79c];if(!_0x11f39b[_0x4180de(0x67a,0x4cb,_0x5939f6._0x2dd319,_0x5939f6._0x46bcc1)]||typeof _0x11f39b['question']!==_0x980971(_0x5939f6._0x2c89d0,_0x5939f6._0x5eaa34,0x30e,_0x5939f6._0x42a1bf))throw new ToolExecutionError('Question\x20'+(_0x55f79c+0x1)+_0x4180de(0x752,_0x5939f6._0x3a0315,0x5a3,0x4d6));if(!_0x11f39b['topic']||typeof _0x11f39b['topic']!==_0x4180de(0x620,0x4f5,_0x5939f6._0x294b8f,0x5a4))throw new ToolExecutionError('Question\x20'+(_0x55f79c+0x1)+_0x4180de(0x60a,0x852,0x7c9,_0x5939f6._0x50a3c6));if(_0x11f39b['topic'][_0x4180de(0x8a1,0x963,_0x5939f6._0x211e1d,_0x5939f6._0x59b15d)]>0x1e)throw new ToolExecutionError(_0x4180de(_0x5939f6._0x4510ed,0x410,_0x5939f6._0x38f2a8,0x502)+(_0x55f79c+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x11f39b[_0x980971(_0x5939f6._0x48947a,0x209,0x353,_0x5939f6._0x2d54c9)]['length']);if(!Array['isArray'](_0x11f39b[_0x4180de(_0x5939f6._0x514c08,_0x5939f6._0x73aafd,_0x5939f6._0x3f806b,_0x5939f6._0x2a231e)])||_0x11f39b[_0x4180de(_0x5939f6._0x1d4790,_0x5939f6._0x1b25ec,0x4af,0x5ed)]['length']<0x2||_0x11f39b[_0x980971(_0x5939f6._0x55e5e8,_0x5939f6._0x44a15e,_0x5939f6._0x18ae24,_0x5939f6._0x3b6cf4)][_0x4180de(0x8b1,0x757,_0x5939f6._0x211e1d,0x826)]>0x4)throw new ToolExecutionError(_0x4180de(0x393,_0x5939f6._0x46da9d,0x4bc,0x660)+(_0x55f79c+0x1)+_0x980971(0x32a,0x1d4,0x2f1,0x373));for(let _0x582b46=0x0;_0x582b46<_0x11f39b[_0x4180de(0x312,_0x5939f6._0x494b53,0x4af,0x314)][_0x4180de(_0x5939f6._0x4a3970,0x847,0x7eb,0x67d)];_0x582b46+=0x1){const _0x42f7f2=_0x11f39b[_0x980971(_0x5939f6._0x3739cf,0x165,_0x5939f6._0x18ae24,_0x5939f6._0x401b13)][_0x582b46];if(!_0x42f7f2['label']||!_0x42f7f2[_0x4180de(_0x5939f6._0x43036f,_0x5939f6._0x2867ca,_0x5939f6._0x10c491,_0x5939f6._0x317740)])throw new ToolExecutionError(_0x980971(0x8a,0x248,0x216,0x2e9)+(_0x55f79c+0x1)+_0x980971(_0x5939f6._0x4ae64f,_0x5939f6._0x463948,0x4b0,0x2f3)+(_0x582b46+0x1)+_0x4180de(0x69f,0x652,0x64b,0x7e6));}if(typeof _0x11f39b[_0x4180de(_0x5939f6._0x27f47f,0x8bd,0x701,_0x5939f6._0xc246a8)]!==_0x4180de(_0x5939f6._0x2cf421,0x3ee,0x575,0x728))throw new ToolExecutionError('Question\x20'+(_0x55f79c+0x1)+_0x980971(0x89,0xe5,_0x5939f6._0x26747c,0x1bb));}}function buildQuestions(_0x447586){const _0xb90c40={_0x2a677a:0x98},_0x4ecaaf={_0x193e49:0x192,_0x439d9e:0x1f4};function _0x31cfb3(_0x1bf366,_0x364521,_0x420dd4,_0x19050e){return _0x5da4fe(_0x420dd4- -_0x4ecaaf._0x193e49,_0x364521-_0x4ecaaf._0x439d9e,_0x1bf366,_0x19050e-0x1c7);}function _0x19b73a(_0x1663f5,_0x3d31ad,_0x2ea461,_0x1788af){return _0x2389b1(_0x1663f5-_0xb90c40._0x2a677a,_0x3d31ad-0x5a,_0x1663f5,_0x1788af- -0x64f);}return _0x447586[_0x19b73a(0x120,0x17f,0x336,0x185)]['map']((_0x52b72b,_0x13b60a)=>({'id':'q'+_0x13b60a,'question':_0x52b72b[_0x31cfb3(-0x33,0x1a0,0x136,0x5b)],'topic':_0x52b72b[_0x19b73a(0x40,-0x14f,0x146,-0x25)],'options':_0x52b72b[_0x31cfb3(-0x1,0x1a2,-0x7,-0x2c)],'multiSelect':_0x52b72b[_0x31cfb3(0x3a8,0x3ef,0x24b,0x168)]}));}function createResult(_0x14bd45,_0x25567c,_0x183b27){const _0x11011a={'questionId':_0x14bd45,'questionCount':_0x25567c,'answers':_0x183b27};return createToolOutput('User\x20responses\x20received:\x20'+JSON['stringify'](_0x183b27,null,0x2),_0x11011a);}function createAskUserTool(){const _0x1ac182={_0x5699da:0x14f,_0x590c4a:0x1de,_0x221462:0x586,_0x2d5a48:0x3db,_0x1d1b88:0x1fb,_0x5838cf:0x1f1,_0x5ef000:0x22e,_0x4669ab:0x10,_0x451116:0xd5,_0x4064c9:0x429,_0x5ae1f4:0x340,_0x13231f:0x357,_0x329ade:0x3cf,_0x49a654:0x139,_0xc85e8d:0x1ad,_0xe1d0ea:0x317,_0x50c613:0x29b,_0x1b7865:0x37e,_0x55d31b:0x2f1,_0x33e49b:0x2bf,_0x50ceb1:0x2da,_0x16a325:0x318,_0x42efea:0x4bf,_0x54d596:0x1ef,_0x5f10be:0x269,_0x8bbcd3:0x31d,_0x2119d3:0x3c6,_0x155e38:0x252,_0x3c177d:0x473,_0x2a205c:0x595,_0x3ab27c:0x69b,_0x1eb42e:0x3f8,_0x482ef2:0x546},_0x54702e={_0x43e361:0x10f,_0x1873ad:0x2fb,_0x1b97a9:0x3b,_0x354354:0x119,_0x4323ee:0x9b,_0x53feca:0x97,_0x566a06:0xd1,_0x20bc4b:0x276,_0x18e581:0xc4,_0x3c795f:0x3f,_0x3f3489:0x148,_0x57576d:0x200,_0x55fcd5:0x79,_0x5e71bf:0x1ad,_0x192c2d:0xbf,_0x5acd1c:0x14,_0xb51d3b:0x102,_0x1f4b84:0x2f},_0x5324fd={_0xfcbe01:0xe8,_0x5572eb:0x475},_0x231718={_0x4db9fa:0xad},_0x1e132e={_0x5ef816:0x8b};function _0x11ff27(_0x5b49ab,_0xe9d4ae,_0x18f8ec,_0xad94b2){return _0x2389b1(_0x5b49ab-0xf0,_0xe9d4ae-_0x1e132e._0x5ef816,_0x18f8ec,_0xad94b2- -0x28e);}function _0x258c1e(_0x38987f,_0x215d52,_0x450fff,_0x44e523){return _0x2389b1(_0x38987f-0x1e7,_0x215d52-_0x231718._0x4db9fa,_0x450fff,_0x215d52- -0x763);}return defineTool({'name':_0x258c1e(-_0x1ac182._0x5699da,-_0x1ac182._0x590c4a,-0xb3,-0x297),'permissionClass':_0x11ff27(0x551,0x4a0,_0x1ac182._0x221462,_0x1ac182._0x2d5a48),'description':_0x258c1e(-0x238,-0x1a8,-_0x1ac182._0x1d1b88,-_0x1ac182._0x5838cf),'inputSchema':{'type':'object','properties':{'questions':{'type':_0x258c1e(-0x174,-_0x1ac182._0x5ef000,-0x217,-0x38d),'items':{'type':'object','properties':{'question':{'type':_0x258c1e(-0x228,-0x17e,-_0x1ac182._0x4669ab,-_0x1ac182._0x451116)},'topic':{'type':_0x11ff27(_0x1ac182._0x4064c9,0x336,_0x1ac182._0x5ae1f4,_0x1ac182._0x13231f)},'options':{'type':_0x11ff27(0x2f4,0x1dd,_0x1ac182._0x329ade,0x2a7),'items':{'type':_0x258c1e(_0x1ac182._0x49a654,0xc0,0xb4,-0x12),'properties':{'label':{'type':_0x258c1e(-0x21e,-0x17e,-_0x1ac182._0xc85e8d,-0x2a5)},'description':{'type':_0x258c1e(-_0x1ac182._0xe1d0ea,-0x17e,-0x329,-0x24c)}},'required':[_0x258c1e(-0x1a1,-_0x1ac182._0x50c613,-0x28e,-0x376),_0x11ff27(_0x1ac182._0x1b7865,0x2c9,0x1f6,_0x1ac182._0x55d31b)]}},'multiSelect':{'type':_0x11ff27(0x493,_0x1ac182._0x33e49b,_0x1ac182._0x50ceb1,_0x1ac182._0x16a325)}},'required':[_0x11ff27(_0x1ac182._0x42efea,_0x1ac182._0x54d596,_0x1ac182._0x5f10be,0x38f),'topic',_0x11ff27(_0x1ac182._0x8bbcd3,0x1e7,_0x1ac182._0x2119d3,_0x1ac182._0x155e38),'multiSelect']}},'answers':{'type':_0x11ff27(0x41d,0x719,_0x1ac182._0x3c177d,_0x1ac182._0x2a205c),'properties':{}}},'required':[_0x11ff27(_0x1ac182._0x3ab27c,_0x1ac182._0x1eb42e,0x38e,_0x1ac182._0x482ef2)]},async *'execute'(_0x3e90c6,_0x2126b7){const _0xb157c6={_0x157df9:0x7d,_0x3dc0b3:0x79},_0x373d37=_0x3e90c6;validateInput(_0x373d37);const _0x411592=_0x2126b7[_0x459084(0x4,0x1b9,0x1a,-0xa)]??createQuestionId();if(_0x373d37[_0x459084(0x26a,0x38f,0x17d,0x3b5)]&&Object[_0x459084(0x13a,_0x54702e._0x43e361,_0x54702e._0x1873ad,0x53)](_0x373d37['answers'])[_0x18be7a(_0x54702e._0x1b97a9,-0x9d,_0x54702e._0x354354,0x2f)]>0x0)return createResult(_0x411592,_0x373d37[_0x18be7a(-_0x54702e._0x4323ee,_0x54702e._0x53feca,_0x54702e._0x566a06,0x43)][_0x459084(_0x54702e._0x20bc4b,0x2bb,0x173,_0x54702e._0x18e581)],_0x373d37['answers']);function _0x18be7a(_0x3bb71c,_0x31236d,_0x9834ec,_0x5b8d0a){return _0x11ff27(_0x3bb71c-0x38,_0x31236d-_0x5324fd._0xfcbe01,_0x5b8d0a,_0x9834ec- -_0x5324fd._0x5572eb);}if(!_0x2126b7[_0x459084(0x149,0x2a1,_0x54702e._0x3c795f,_0x54702e._0x3f3489)])throw new ToolExecutionError(_0x459084(_0x54702e._0x57576d,0x9b,_0x54702e._0x55fcd5,_0x54702e._0x5e71bf));function _0x459084(_0x302bb2,_0x2d73ec,_0x50a8a5,_0xec157){return _0x11ff27(_0x302bb2-_0xb157c6._0x157df9,_0x2d73ec-_0xb157c6._0x3dc0b3,_0x2d73ec,_0x302bb2- -0x318);}const _0x472c34=buildQuestions(_0x373d37),_0x244747=await _0x2126b7[_0x459084(0x149,0x20b,0x1d6,0x1b8)]({'questionId':_0x411592,'questions':_0x472c34});yield createResult(_0x411592,_0x373d37[_0x18be7a(_0x54702e._0x192c2d,0xea,0xd1,-_0x54702e._0x5acd1c)][_0x18be7a(-0x25,_0x54702e._0xb51d3b,0x119,_0x54702e._0x1f4b84)],_0x244747);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0xa2f8c1}from'child_process';function errorMessage(_0x1b068b){const _0x3e711b={_0x3c1037:0x2c3,_0x684d7c:0x1bc},_0x37b272={_0x562be1:0x13b,_0x174129:0x5a};function _0x19269e(_0x31ee06,_0x29520f,_0x16db7c,_0x1af71b){return _0x5da4fe(_0x16db7c- -_0x37b272._0x562be1,_0x29520f-0x93,_0x29520f,_0x1af71b-_0x37b272._0x174129);}return _0x1b068b instanceof Error?_0x1b068b[_0x19269e(_0x3e711b._0x3c1037,0x8f,0x1cb,_0x3e711b._0x684d7c)]:String(_0x1b068b);}function isNotFound(_0x2ae772){const _0x4c989d={_0x5a9e3f:0x853,_0x5b1fc3:0x6d1,_0x3e2743:0x7c3,_0x3ffbc9:0x2dc,_0x590feb:0x229,_0x9cacc:0x2ed,_0x332b8e:0x2ad,_0x29040c:0x3cc,_0x4a1239:0x286},_0x4ee102={_0x3639e1:0x1ea,_0x14e8dc:0x24f},_0x45be54={_0x4433d7:0x385};function _0x363fbb(_0x102ba6,_0x23090f,_0x14f3a0,_0x172d43){return _0x5da4fe(_0x102ba6-_0x45be54._0x4433d7,_0x23090f-0x3d,_0x172d43,_0x172d43-0x55);}function _0xee1e5b(_0xf81b62,_0x75d2cd,_0x29cc7a,_0x1e7277){return _0x2389b1(_0xf81b62-0x135,_0x75d2cd-_0x4ee102._0x3639e1,_0x1e7277,_0x75d2cd- -_0x4ee102._0x14e8dc);}return typeof _0x2ae772===_0x363fbb(_0x4c989d._0x5a9e3f,_0x4c989d._0x5b1fc3,0x99f,_0x4c989d._0x3e2743)&&_0x2ae772!==null&&_0xee1e5b(_0x4c989d._0x3ffbc9,0x2ed,_0x4c989d._0x590feb,0x28b)in _0x2ae772&&_0x2ae772[_0xee1e5b(0x375,_0x4c989d._0x9cacc,0x3c4,0x184)]===_0xee1e5b(_0x4c989d._0x332b8e,_0x4c989d._0x29040c,0x230,_0x4c989d._0x4a1239);}function isSafeProcessId(_0x4be5e5){const _0x43cede={_0x3b3a1f:0x28d,_0x5b8365:0x209,_0x1cdae0:0xf9},_0x3a99db={_0x1982f1:0x1a,_0x5a20d8:0xb};function _0x3035ba(_0x55f0a9,_0x173df6,_0x4d9927,_0x2b79fc){return _0x5da4fe(_0x173df6- -0x2b1,_0x173df6-_0x3a99db._0x1982f1,_0x55f0a9,_0x2b79fc-_0x3a99db._0x5a20d8);}return _0x4be5e5!==void 0x0&&Number[_0x3035ba(_0x43cede._0x3b3a1f,_0x43cede._0x5b8365,0x56,_0x43cede._0x1cdae0)](_0x4be5e5)&&_0x4be5e5>0x1;}function createProcessTreeSignalAdapter(_0x529f13={}){const _0x22eb08={_0x45d55f:0x155,_0x11a64b:0x99,_0x16c6bf:0x16b,_0xbd537:0x48,_0x5ce48d:0x19,_0x556c16:0x293,_0x82d72a:0x2d7,_0x3417ec:0x2a8,_0x56ea65:0x911,_0x36bc9f:0x81f,_0x538161:0x892,_0x412689:0x5ec},_0x220f61={_0x18cdc1:0xee,_0x27ba0d:0xd1,_0x2c15bf:0x161,_0x5110ed:0x2c,_0x13f27f:0xe6,_0x55ba6a:0x1a,_0x5be58a:0xca,_0x4e503b:0x282,_0x1c31d1:0x54,_0x294560:0x1ba,_0x5f0661:0x284,_0x803ce4:0xe8,_0x1375bd:0xc5,_0x184f1b:0x33e,_0x46cc17:0x4e,_0x3e137d:0x1f3,_0x105490:0x2f,_0x5dad5b:0x2a},_0x8ffeb={_0x489a9c:0x1e6,_0x44de01:0x70},_0xc21cca={_0x1a33dc:0x6b2},_0x4017d2={_0x175304:0x20b,_0x23b908:0x15b,_0x466103:0x1be},_0x184b17={_0xf4e415:0x1cd};function _0x319a3e(_0x59faf7,_0x56ccea,_0x572b83,_0x5bc451){return _0x5da4fe(_0x572b83-0x36c,_0x56ccea-0x1f0,_0x56ccea,_0x5bc451-_0x184b17._0xf4e415);}const _0x8086d=_0x529f13[_0x58ace4(-_0x22eb08._0x45d55f,-_0x22eb08._0x11a64b,0x82,-0x22)]??process[_0x58ace4(-_0x22eb08._0x16c6bf,-_0x22eb08._0xbd537,_0x22eb08._0x5ce48d,-0x22)];function _0x58ace4(_0x508e55,_0x3a9e39,_0x54d32f,_0x31f288){return _0x5da4fe(_0x31f288- -_0x4017d2._0x175304,_0x3a9e39-_0x4017d2._0x23b908,_0x54d32f,_0x31f288-_0x4017d2._0x466103);}const _0x4859f0=_0x529f13[_0x58ace4(0x1a1,_0x22eb08._0x556c16,_0x22eb08._0x82d72a,_0x22eb08._0x3417ec)]??process[_0x319a3e(0x805,_0x22eb08._0x56ea65,_0x22eb08._0x36bc9f,_0x22eb08._0x538161)]['bind'](process),_0x141ce5=_0x529f13[_0x319a3e(_0x22eb08._0x538161,0x862,0x732,_0x22eb08._0x412689)]??_0xa2f8c1;return{async 'signal'(_0x4d181f,_0xf96d17){const _0x934aff={_0x2bef9:0x2d2,_0x4636a6:0x448,_0x5a7a28:0x445,_0x3e9173:0x39f,_0x4db5cb:0x439,_0x49e578:0x70,_0xacdc73:0x2b,_0x1d1673:0x24,_0x527829:0x3d9,_0x627523:0x528,_0x5d62d1:0x7d6,_0x219a37:0x5dd,_0x4e2482:0x4c2,_0x304aec:0x456,_0xb0395c:0x58,_0x1b168d:0xc1,_0xc0e4e0:0x33,_0x3f2478:0x601,_0x2fd048:0x5f7,_0x342a0f:0x4e8,_0x5d6d25:0x57f,_0xa8b992:0x650,_0x2a45dd:0x643,_0x5aa5e7:0x423,_0x251e7e:0x58a};function _0x4058e6(_0x3da335,_0x27e5a5,_0xbaa0db,_0x5eaa1d){return _0x319a3e(_0x3da335-0xab,_0x5eaa1d,_0x27e5a5- -_0xc21cca._0x1a33dc,_0x5eaa1d-0x79);}if(_0x8086d!==_0x4058e6(0x127,_0x220f61._0x18cdc1,-_0x220f61._0x27ba0d,_0x220f61._0x2c15bf)){if(!isSafeProcessId(_0x4d181f[_0x4058e6(_0x220f61._0x5110ed,-_0x220f61._0x13f27f,-0xb3,-0x88)]))return{'outcome':_0x141502(-_0x220f61._0x55ba6a,_0x220f61._0x5be58a,0xd5,0x84),'error':_0x141502(_0x220f61._0x4e503b,0x172,_0x220f61._0x1c31d1,-0x35)};try{return _0x4859f0(-_0x4d181f['processGroupId'],_0xf96d17===_0x4058e6(_0x220f61._0x294560,0xe1,_0x220f61._0x5f0661,-0x64)?_0x141502(0x242,_0x220f61._0x803ce4,0x1e2,-_0x220f61._0x1375bd):'SIGKILL'),{'outcome':'delivered'};}catch(_0x5d3a53){return isNotFound(_0x5d3a53)?{'outcome':_0x141502(_0x220f61._0x184f1b,0x233,0xa1,0x308),'error':errorMessage(_0x5d3a53)}:{'outcome':_0x141502(-0xa6,_0x220f61._0x5be58a,_0x220f61._0x46cc17,_0x220f61._0x3e137d),'error':errorMessage(_0x5d3a53)};}}if(!isSafeProcessId(_0x4d181f[_0x4058e6(-0x215,-0x153,0x46,-0x261)]))return{'outcome':_0x4058e6(-_0x220f61._0x105490,-_0x220f61._0x5dad5b,-0x38,-0x1eb),'error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};function _0x141502(_0x60df5d,_0x240cde,_0x2b4b5c,_0x549292){return _0x319a3e(_0x60df5d-_0x8ffeb._0x489a9c,_0x549292,_0x240cde- -0x5be,_0x549292-_0x8ffeb._0x44de01);}return new Promise(_0x28c75a=>{const _0x44b413={_0x4dabd5:0x4e,_0x60823c:0x197,_0x34bca4:0x34,_0x407817:0x53a,_0x29543a:0x38f,_0x1a2cca:0x5aa,_0x3dc6e0:0x7d8,_0x16fa5c:0x63c},_0x3b88ac={_0x429d04:0x478,_0x38d95b:0x94},_0x301fe5={_0x274eb2:0x11d,_0x1a017e:0x1ea},_0x3d6ef8={_0x2d85d6:0x4e,_0xeb5789:0xf7},_0x4ce1bb={_0x53a4c4:0x84,_0x39509c:0x6,_0x1f089c:0x10a},_0x331975={_0x260ab6:0xf,_0x5bf157:0xaa,_0x5e552d:0xd3};let _0x52f94f=![];const _0x302e0a=_0x40d633=>{if(_0x52f94f)return;_0x52f94f=!![],_0x28c75a(_0x40d633);};let _0x121a68;function _0x5cb723(_0x47b2e6,_0x3deff8,_0x34618a,_0x10cb9b){return _0x141502(_0x47b2e6-0x107,_0x3deff8- -0xc4,_0x34618a-0x59,_0x47b2e6);}try{const _0x3ac03e=[_0x134ee7(_0x934aff._0x2bef9,0x4f6,0x2ff,_0x934aff._0x4636a6),String(_0x4d181f[_0x134ee7(_0x934aff._0x5a7a28,0x4a6,_0x934aff._0x3e9173,_0x934aff._0x4db5cb)]),'/T'];if(_0xf96d17===_0x5cb723(_0x934aff._0x49e578,-_0x934aff._0xacdc73,0x20,_0x934aff._0x1d1673))_0x3ac03e[_0x134ee7(0x538,_0x934aff._0x527829,_0x934aff._0x627523,0x537)]('/F');_0x121a68=_0x141ce5(_0x134ee7(_0x934aff._0x5d62d1,0x62a,_0x934aff._0x219a37,0x729),_0x3ac03e,{'stdio':_0x134ee7(_0x934aff._0x4e2482,0x368,0x40a,_0x934aff._0x304aec),'windowsHide':!![]});}catch(_0x6f3d15){_0x302e0a({'outcome':_0x5cb723(-_0x934aff._0xb0395c,0x6,_0x934aff._0x1b168d,_0x934aff._0xc0e4e0),'error':errorMessage(_0x6f3d15)});return;}_0x121a68[_0x134ee7(_0x934aff._0x3f2478,_0x934aff._0x2fd048,0x2fa,0x49d)](_0x134ee7(0x657,_0x934aff._0x342a0f,_0x934aff._0x5d6d25,_0x934aff._0xa8b992),_0x3d994d=>{const _0x36c34e={_0x1f2ead:0x150};function _0x28e892(_0x5c9133,_0x291fd2,_0xf03cbe,_0x49127f){return _0x5cb723(_0x49127f,_0x291fd2- -_0x331975._0x260ab6,_0xf03cbe-_0x331975._0x5bf157,_0x49127f-_0x331975._0x5e552d);}function _0x2d3c94(_0x21a39c,_0x5dcc18,_0x50a2fd,_0x15d004){return _0x134ee7(_0x5dcc18,_0x5dcc18-0x110,_0x50a2fd-_0x36c34e._0x1f2ead,_0x15d004- -0x56c);}_0x302e0a(isNotFound(_0x3d994d)?{'outcome':_0x2d3c94(_0x4ce1bb._0x53a4c4,-_0x4ce1bb._0x39509c,0x1eb,0x15f),'error':errorMessage(_0x3d994d)}:{'outcome':_0x28e892(-_0x4ce1bb._0x1f089c,-0x9,-0x1cc,0x17e),'error':errorMessage(_0x3d994d)});});function _0x134ee7(_0x411b07,_0x193532,_0x117108,_0x391e7b){return _0x4058e6(_0x411b07-_0x3d6ef8._0x2d85d6,_0x391e7b-0x58c,_0x117108-_0x3d6ef8._0xeb5789,_0x411b07);}_0x121a68[_0x5cb723(-0x11b,-0xbf,-0x27e,0xf6)](_0x134ee7(_0x934aff._0x2a45dd,_0x934aff._0x5aa5e7,_0x934aff._0x251e7e,0x49c),_0x5dae62=>{function _0x19d6c4(_0x77d9f4,_0x3d8704,_0xb9e38e,_0x50afda){return _0x134ee7(_0x50afda,_0x3d8704-_0x301fe5._0x274eb2,_0xb9e38e-_0x301fe5._0x1a017e,_0x3d8704- -0x49a);}function _0x1945f4(_0x388a13,_0x2b234c,_0x5529d4,_0x1b954f){return _0x5cb723(_0x1b954f,_0x2b234c-_0x3b88ac._0x429d04,_0x5529d4-_0x3b88ac._0x38d95b,_0x1b954f-0x1f3);}_0x302e0a(_0x5dae62===0x0?{'outcome':_0x19d6c4(_0x44b413._0x4dabd5,_0x44b413._0x60823c,_0x44b413._0x34bca4,0x17e)}:{'outcome':_0x1945f4(_0x44b413._0x407817,0x47e,_0x44b413._0x29543a,_0x44b413._0x1a2cca),'error':_0x1945f4(_0x44b413._0x3dc6e0,_0x44b413._0x16fa5c,0x772,0x6a4)+String(_0x5dae62)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x16604c){const _0x592315={_0x3f300e:0x264,_0x30c54e:0x261,_0x14472f:0x2f0},_0x3086ae={_0x28bc8d:0x71,_0x13da30:0x194,_0x26f552:0x2f1},_0x43d5bb=_0x16604c[_0x355fcc(_0x592315._0x3f300e,_0x592315._0x30c54e,0x38b,_0x592315._0x14472f)](0x0)??0x0;function _0x355fcc(_0xe1b2de,_0x7ad7e5,_0x16ae42,_0x174264){return _0x2389b1(_0xe1b2de-_0x3086ae._0x28bc8d,_0x7ad7e5-_0x3086ae._0x13da30,_0x174264,_0x7ad7e5- -_0x3086ae._0x26f552);}return _0x43d5bb<0x20&&_0x16604c!=='\x09'||_0x43d5bb>=0x7f&&_0x43d5bb<=0x9f||_0x43d5bb===0xa0||_0x43d5bb>=0x200b&&_0x43d5bb<=0x200f||_0x43d5bb>=0x2060&&_0x43d5bb<=0x2069||_0x43d5bb===0x23ce||_0x43d5bb===0x2424;}function createTerminalOutputNormalizer(){const _0xe827f={_0x105f4e:0x418,_0x1dac69:0x2da,_0x41ad25:0x23c},_0x1f23c7={_0x689246:0xab,_0x2412b5:0xeb,_0x179f2c:0x1d,_0x3df27b:0xcb,_0x4d6727:0x7e,_0xcf8063:0x1aa,_0x279136:0x2ca,_0x517ae1:0xa0,_0x1f843a:0x29f,_0x2da788:0x1dc,_0x59e50f:0x1e8,_0x1e388f:0x12f,_0x2080b2:0x2a,_0x4c9cb7:0x1ba,_0x5c6567:0xb3,_0x46434e:0x6c,_0x5259cc:0x11c,_0x6f13f4:0xc9,_0x1620e3:0x97,_0x587c94:0x264,_0x3ce47f:0x6a,_0x47fd79:0xa6,_0x257beb:0x63,_0x30dc62:0x18a,_0x59b69c:0x1c5,_0x4c9940:0x138,_0x2e6b56:0x8f,_0x20c146:0x1df,_0x1478a0:0x16d,_0x119e03:0x1ca,_0x4fddc3:0x144},_0x322822={_0x55970f:0x30b},_0x52ba71={_0x4265ae:0xeb,_0x1f6d9e:0x1c6};let _0x4a8079='text',_0x228a8f=![],_0x2304f4=![],_0x2536ba=[],_0x30e9aa=0x0,_0x4da06c=![];const _0x8340f7=()=>{_0x2536ba=[],_0x30e9aa=0x0;},_0x5b714c=_0x366f97=>{_0x2536ba['push'](_0x366f97);function _0x4c1c41(_0x10a227,_0x578d36,_0x5c4e48,_0x368d4c){return _0x102a(_0x578d36-0x365,_0x10a227);}function _0x14e85a(_0x1638e2,_0x53b4fb,_0xa67460,_0x16253f){return _0x102a(_0x1638e2- -0x292,_0x53b4fb);}_0x30e9aa+=_0x366f97[_0x14e85a(0x203,_0x52ba71._0x4265ae,0x1b4,0x379)];while(_0x30e9aa>MAX_PROGRESS_LINE_CHARS){const _0x36c919=_0x2536ba[_0x14e85a(0x188,_0x52ba71._0x1f6d9e,0x253,0x9b)]();if(_0x36c919===void 0x0)break;_0x30e9aa-=_0x36c919['length'];}},_0x544c6a=_0x3f62e0=>{const _0x1a2a01=_0x2536ba['join']('')+(_0x3f62e0?'\x0a':'');return _0x8340f7(),_0x1a2a01;},_0x4b506f=_0x1ca13f=>{function _0x31d143(_0x326625,_0x25c6f0,_0x13db2b,_0x1123bc){return _0x102a(_0x25c6f0- -_0x322822._0x55970f,_0x1123bc);}if(_0x4da06c)throw new Error(_0x31d143(-0xeb,_0x1f23c7._0x689246,-_0x1f23c7._0x2412b5,-_0x1f23c7._0x179f2c));let _0x44fc1e='';for(const _0x56b1c4 of _0x1ca13f){if(_0x4a8079===_0x31d143(-_0x1f23c7._0x3df27b,0x10,0x1a2,0x2b)){const _0x1b48e4=_0x56b1c4[_0x31d143(_0x1f23c7._0x4d6727,-0x140,-_0x1f23c7._0xcf8063,-_0x1f23c7._0x279136)](0x0)??0x0;if(_0x1b48e4>=0x40&&_0x1b48e4<=0x7e)_0x4a8079=_0x15a21e(0x1dd,_0x1f23c7._0x517ae1,0x2a,-0x160);continue;}if(_0x4a8079===_0x15a21e(_0x1f23c7._0x1f843a,0x4b,_0x1f23c7._0x2da788,0x352)||_0x4a8079===_0x15a21e(-_0x1f23c7._0x59e50f,-0x2aa,-_0x1f23c7._0x1e388f,-0x5)){if(_0x228a8f){_0x56b1c4==='\x5c'?(_0x4a8079=_0x15a21e(-0x90,-0x44,_0x1f23c7._0x2080b2,_0x1f23c7._0x4c9cb7),_0x228a8f=![]):_0x228a8f=_0x56b1c4===ESC;continue;}if(_0x56b1c4===ESC)_0x228a8f=!![];else _0x4a8079==='osc'&&_0x56b1c4===BEL&&(_0x4a8079=_0x31d143(_0x1f23c7._0x5c6567,-_0x1f23c7._0x46434e,_0x1f23c7._0x5259cc,_0x1f23c7._0x6f13f4));continue;}if(_0x4a8079===_0x31d143(-0x18f,0x2e,-_0x1f23c7._0x1620e3,0x175)){if(_0x56b1c4==='[')_0x4a8079=_0x15a21e(_0x1f23c7._0x587c94,-_0x1f23c7._0x3ce47f,_0x1f23c7._0x47fd79,_0x1f23c7._0x257beb);else{if(_0x56b1c4===']')_0x4a8079='osc',_0x228a8f=![];else _0x56b1c4==='P'||_0x56b1c4==='_'||_0x56b1c4==='^'?(_0x4a8079=_0x31d143(-_0x1f23c7._0x30dc62,-_0x1f23c7._0x59b69c,-0xef,-0x255),_0x228a8f=![]):_0x4a8079=_0x31d143(0x14d,-0x6c,-_0x1f23c7._0x4c9940,-_0x1f23c7._0x2e6b56);}continue;}if(_0x2304f4){_0x2304f4=![];if(_0x56b1c4==='\x0a'){_0x44fc1e+=_0x544c6a(!![]);continue;}_0x8340f7();}if(_0x56b1c4===ESC)_0x4a8079=_0x15a21e(_0x1f23c7._0x20c146,0x275,0xc4,_0x1f23c7._0x1478a0);else{if(_0x56b1c4==='\x0d')_0x2304f4=!![];else{if(_0x56b1c4==='\x0a')_0x44fc1e+=_0x544c6a(!![]);else{if(_0x56b1c4==='\x08'){const _0x5b9917=_0x2536ba[_0x31d143(-_0x1f23c7._0x119e03,-0x45,-0x7d,0x13d)]();if(_0x5b9917!==void 0x0)_0x30e9aa-=_0x5b9917[_0x31d143(0x0,0x18a,0x18,_0x1f23c7._0x4fddc3)];}else!isDiscardedTextControl(_0x56b1c4)&&_0x5b714c(_0x56b1c4);}}}}function _0x15a21e(_0x18eec9,_0x3cbb46,_0x4443a1,_0x2575ea){return _0x102a(_0x4443a1- -0x275,_0x3cbb46);}return _0x44fc1e;};return{'write':_0x4b506f,'end'(){function _0x1a8ffc(_0x4b88de,_0x191d6f,_0x445ae6,_0x3e24e7){return _0x102a(_0x445ae6-0x3b,_0x4b88de);}if(_0x4da06c)return'';return _0x4da06c=!![],_0x2304f4=![],_0x4a8079=_0x1a8ffc(_0xe827f._0x105f4e,0x44d,_0xe827f._0x1dac69,_0xe827f._0x41ad25),_0x228a8f=![],_0x544c6a(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x43bdf4){const _0x438517={_0x1d9715:0x109,_0xb9a516:0x3d8,_0x55faa9:0x248,_0x4b24df:0x68e,_0x432cf6:0x7ea,_0x163aba:0x636,_0x52d562:0x253,_0x4386ed:0x6,_0x217dd0:0x140},_0x4dd2d0={_0x2ea7d3:0x251,_0x8d2523:0x1f3},_0x4a51b7={_0x5868d9:0x2a7,_0x1beae2:0x1af};function _0xee5862(_0x43b9f7,_0x207116,_0x2c48fe,_0x1ec3fa){return _0x5da4fe(_0x2c48fe- -_0x4a51b7._0x5868d9,_0x207116-0x144,_0x207116,_0x1ec3fa-_0x4a51b7._0x1beae2);}function _0x29b963(_0x445ab8,_0x5779b4,_0x4ee827,_0x5ce0ee){return _0x5da4fe(_0x445ab8-_0x4dd2d0._0x2ea7d3,_0x5779b4-0x1aa,_0x5ce0ee,_0x5ce0ee-_0x4dd2d0._0x8d2523);}super(_0xee5862(0x1e0,-_0x438517._0x1d9715,0x94,-0x117)),this[_0x29b963(_0x438517._0xb9a516,_0x438517._0x55faa9,0x33d,0x291)]=_0x43bdf4,this[_0x29b963(_0x438517._0x4b24df,_0x438517._0x432cf6,0x52a,_0x438517._0x163aba)]=_0xee5862(_0x438517._0x52d562,_0x438517._0x4386ed,0x92,_0x438517._0x217dd0);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x514755){const _0x4a538c={_0x4f5ec7:0x3d4,_0x16730f:0x32a,_0x204aeb:0x7a2,_0x5b3b8f:0x8b5},_0x4e59b5={_0x331feb:0xdc},_0x551e8c={_0x5e8308:0x1c7};function _0x590ac1(_0x5b02e7,_0x3ac423,_0x267437,_0x45da41){return _0x2389b1(_0x5b02e7-0x1d0,_0x3ac423-_0x551e8c._0x5e8308,_0x45da41,_0x3ac423- -0x347);}function _0x537b15(_0x2c7643,_0x5989b9,_0x5d2c39,_0x4885a7){return _0x2389b1(_0x2c7643-_0x4e59b5._0x331feb,_0x5989b9-0x151,_0x4885a7,_0x5d2c39-0x43);}return _0x514755==='exited'||_0x514755===_0x590ac1(0x4a4,0x365,_0x4a538c._0x4f5ec7,_0x4a538c._0x16730f)||_0x514755===_0x537b15(0x801,0x85a,_0x4a538c._0x204aeb,_0x4a538c._0x5b3b8f);}var BackgroundProcessRegistry=class{[_0x5da4fe(0x18e,0x1f7,0x195,0x123)]=new Map();['reservations']=new Map();[_0x5da4fe(0x4e6,0x63c,0x3bc,0x48e)];['maxEntries'];[_0x5da4fe(0x215,0x25c,0x1fa,0x2dc)];['platform'];[_0x2389b1(0x3fc,0x435,0x733,0x575)];[_0x5da4fe(0x1fa,0x323,0x7b,0xfb)]=0x0;constructor(_0x18d411={}){const _0x50672d={_0x41994:0x12d,_0x708b95:0x203,_0x3a6737:0x2af,_0x213850:0x433,_0xc5dce9:0x59c,_0x531385:0x553,_0x548165:0x48c,_0x1a1fc6:0x263,_0x5c8567:0x2a3,_0x5e0937:0x23c,_0x109551:0x1d0,_0x432163:0x127,_0x394f25:0x2e2,_0xfc093f:0x3ab,_0x3121a4:0x2c6,_0x52088f:0x498,_0x400384:0x364,_0x5cda38:0x1e0,_0x5babaf:0x19,_0x3c6950:0xf9,_0x2391b7:0x298},_0x37616a={_0x46a708:0x1ba,_0xf59ca5:0x70e},_0x32349a={_0x56573c:0x144,_0x3f0e2d:0x1d5};this[_0x1df799(_0x50672d._0x41994,_0x50672d._0x708b95,0x228,_0x50672d._0x3a6737)]=_0x18d411['maxConcurrent']??0xa,this[_0x2d8b77(0x40f,_0x50672d._0x213850,_0x50672d._0xc5dce9,_0x50672d._0x531385)]=_0x18d411[_0x2d8b77(0x333,_0x50672d._0x213850,0x45d,0x4d8)]??0x40,this[_0x2d8b77(0x3ad,0x359,_0x50672d._0x548165,0x236)]=_0x18d411[_0x1df799(-0x1a4,-0x26c,-_0x50672d._0x1a1fc6,-_0x50672d._0x5c8567)]??0x100000,this[_0x1df799(-0x1d0,-0x121,-_0x50672d._0x5e0937,-0x34)]=_0x18d411[_0x1df799(-_0x50672d._0x109551,-_0x50672d._0x432163,-0x1bf,-0xe3)]??process[_0x2d8b77(_0x50672d._0x394f25,0x32d,_0x50672d._0xfc093f,_0x50672d._0x3121a4)];function _0x2d8b77(_0x4b2186,_0x4bfa23,_0x35be11,_0x4a69cc){return _0x5da4fe(_0x4bfa23-_0x32349a._0x56573c,_0x4bfa23-0x181,_0x4a69cc,_0x4a69cc-_0x32349a._0x3f0e2d);}function _0x1df799(_0x2ca2d0,_0x47b7ce,_0x8473bb,_0x3f8783){return _0x2389b1(_0x2ca2d0-0xee,_0x47b7ce-_0x37616a._0x46a708,_0x47b7ce,_0x2ca2d0- -_0x37616a._0xf59ca5);}this[_0x2d8b77(_0x50672d._0x52088f,_0x50672d._0x400384,0x4f2,_0x50672d._0x5cda38)]=_0x18d411[_0x1df799(-0x199,_0x50672d._0x5babaf,-0x1a8,-_0x50672d._0x3c6950)]??createProcessTreeSignalAdapter({'platform':this[_0x1df799(-0x1d0,-0x24f,-0x15b,-_0x50672d._0x2391b7)]});}[_0x2389b1(0x6d6,0x480,0x731,0x5f6)](){const _0x446fd9={_0x2ffdeb:0x16c,_0x394aec:0x9e,_0x460789:0x35,_0x513f70:0x94,_0x3c8abe:0x263,_0x2e54f8:0x863,_0xced678:0x4bd,_0x51746e:0x513,_0x338fed:0x5f4,_0x45646f:0x64b,_0x4149a3:0x6c5,_0x2ab318:0x908,_0x44a21b:0x2fd,_0x4a268b:0x552,_0x158246:0xea,_0x3fe8d1:0x62e,_0x104d8e:0x765},_0x180287={_0x5c7990:0x39c,_0x19916f:0x178,_0x4a8827:0x0},_0x58a593={_0x5e5fb2:0x11},_0x3bc15b=[...this[_0x4d27c7(-_0x446fd9._0x2ffdeb,-0x44,0x13b,-0x5b)][_0x4d27c7(0x14b,_0x446fd9._0x394aec,-_0x446fd9._0x460789,_0x446fd9._0x513f70)]()][_0x4d27c7(0x378,_0x446fd9._0x3c8abe,0x1bd,0x2b4)](_0x4498f2=>!_0x4498f2[_0x244a70(0x610,0x6e4,0x5ff,0x65a)]);function _0x4d27c7(_0x4c2151,_0x10b748,_0xc39cb8,_0x2ccf43){return _0x2389b1(_0x4c2151-0x34,_0x10b748-_0x58a593._0x5e5fb2,_0x4c2151,_0x2ccf43- -0x53e);}if(_0x3bc15b[_0x244a70(0x942,_0x446fd9._0x2e54f8,0x9a6,0x744)]+this[_0x4d27c7(0xb4,0x132,0x1b6,0xea)][_0x244a70(_0x446fd9._0xced678,_0x446fd9._0x51746e,0x57d,0x4f1)]>=this['maxConcurrent'])throw new ToolExecutionError(_0x244a70(_0x446fd9._0x338fed,0x511,_0x446fd9._0x45646f,_0x446fd9._0x4149a3)+this[_0x244a70(0x79f,0x882,0x6c5,0x9ff)]+_0x244a70(0x8de,0x7b2,0x737,_0x446fd9._0x2ab318),{'running':this[_0x4d27c7(0x1cd,0x1ea,0x37f,_0x446fd9._0x44a21b)]});const _0x28be43=Object[_0x244a70(0x70c,0x628,0x5d3,_0x446fd9._0x4a268b)]({'id':randomUUID()});this[_0x4d27c7(0x12f,0x17e,0x14f,_0x446fd9._0x158246)][_0x244a70(_0x446fd9._0x3fe8d1,0x644,_0x446fd9._0x104d8e,0x7b4)](_0x28be43['id'],_0x28be43);function _0x244a70(_0x2ab079,_0x32e79b,_0x308c5b,_0x5a4516){return _0x5da4fe(_0x32e79b-_0x180287._0x5c7990,_0x32e79b-_0x180287._0x19916f,_0x2ab079,_0x5a4516-_0x180287._0x4a8827);}return _0x28be43;}[_0x2389b1(0x888,0x8c3,0x7e6,0x7ca)](_0x5b6533){const _0x5c600c={_0x27c0d6:0x15e,_0x1e2a9e:0xd5,_0x566aa1:0xa0,_0x66d67f:0xaf,_0x3b5375:0x1d9,_0x5b198c:0x6b,_0x404051:0x66,_0x122a4f:0xfe,_0x45fba0:0x12f,_0x2e1ef4:0xb0},_0xbb9c8c={_0x5b8fdb:0x145},_0x1bd734={_0x253172:0x2c,_0x15eadf:0x1e2};function _0x28ead3(_0xb68175,_0x38c963,_0xdebf8c,_0x28847d){return _0x2389b1(_0xb68175-_0x1bd734._0x253172,_0x38c963-_0x1bd734._0x15eadf,_0x38c963,_0xb68175- -0x58a);}function _0x50d150(_0x546f57,_0x130394,_0x36700b,_0x49655b){return _0x2389b1(_0x546f57-_0xbb9c8c._0x5b8fdb,_0x130394-0x109,_0x130394,_0x546f57- -0x594);}this[_0x28ead3(0x9e,_0x5c600c._0x27c0d6,-_0x5c600c._0x1e2a9e,0x1a1)][_0x50d150(_0x5c600c._0x566aa1,_0x5c600c._0x66d67f,0xff,0x194)](_0x5b6533['id'])===_0x5b6533&&this[_0x50d150(0x94,_0x5c600c._0x3b5375,0x2d,_0x5c600c._0x5b198c)][_0x28ead3(-_0x5c600c._0x404051,_0x5c600c._0x122a4f,-_0x5c600c._0x45fba0,-_0x5c600c._0x2e1ef4)](_0x5b6533['id']);}[_0x2389b1(0x929,0x8db,0x791,0x7e2)](_0x17db95,_0x206646){const _0x56c115={_0x3e720f:0x3c4,_0x573edc:0x27f,_0x540cb5:0x431,_0x3ea430:0x4b6,_0x24dcdd:0x7ab,_0x299191:0x5b3,_0x339042:0x611,_0x26d3ec:0x65e,_0x2821c6:0x368,_0x327eae:0x5c1,_0x269658:0x3ec,_0x336fae:0x26c,_0x1590c4:0x48c,_0x158a1a:0x6cd,_0x950a9:0x4c5,_0x5f2b51:0x39f,_0x269070:0x3d1,_0x211dba:0x684,_0x3bec43:0x46c,_0x4b27b7:0x502,_0x1e3eec:0x445,_0x9ab076:0x55c,_0x4a2048:0x5ce,_0xcb2e5e:0x6ce,_0x56701e:0x5ee,_0x5c1839:0x532,_0x57ac02:0x6a5,_0x46c74a:0x7ad,_0x6cc42e:0x613,_0x1474d7:0x6bc,_0x5aced6:0x23d,_0x198e3a:0x476,_0x279ba4:0x5b4,_0x5e61a9:0x3cd,_0x546319:0x2e9,_0x494ee1:0x4bc,_0x2ba7a2:0x63c,_0x334b37:0x2ba,_0x38fb4e:0x532,_0x327509:0x5a7,_0x11e3c3:0x3e1,_0x49cd50:0x409,_0x1214d4:0x33d,_0x3a6383:0x289,_0x237a16:0x35c,_0x1a39cb:0x259,_0x4a165:0x39f,_0x5b57cc:0x565,_0x4c3f74:0x55c,_0x4ea121:0x52f,_0x216be3:0x4ea,_0x41cc0c:0x687,_0x2acdbc:0x383,_0x385115:0x5ab,_0x127202:0x58d,_0x264e6f:0x399,_0xea2ba8:0x43d,_0x57e13e:0x338,_0x19c05c:0x355,_0x52b17b:0x566,_0x27ffeb:0x240,_0x5e56bb:0x536,_0x3585b5:0x5da,_0x4b7a4e:0x383,_0x5e91df:0x1c7,_0x2db978:0x3b4,_0x2560b8:0x225,_0x55e5b1:0x29c,_0x11f445:0x3a6,_0x5a7f8e:0x404,_0x5542db:0x41d},_0x270b5c={_0xe21dad:0xcb,_0x309523:0x1e2,_0x3964b6:0x3d1,_0x2dc57f:0x232,_0x34fec7:0x3f,_0x325e94:0xfd,_0x377270:0x383,_0x7893a8:0x13c,_0x1e3cff:0x170,_0x2ddf82:0x133},_0x5edcab={_0x92636f:0x107,_0x88852f:0x275},_0x29d4a5={_0x5ca9c6:0x561,_0x51a6e3:0x6d2,_0x3a6f67:0x58c,_0x3dc927:0x5b1,_0x5a6895:0x3fb,_0xe51441:0x4c0,_0x228256:0x5ed},_0x2185b3={_0x1c90ad:0x19c},_0x4587bc={_0x130f1b:0x41a,_0x325824:0x2e2,_0x66b8b3:0x562},_0x181158={_0x2f23c7:0x1de},_0x56d16e={_0x36b416:0x41c},_0x714127={_0x203c51:0x6e},_0x48ba1c={_0x92d4b2:0x5cd,_0x41765d:0x510,_0x5e52f3:0x529,_0x4db5b9:0x64a,_0x5c3a7e:0x802,_0x49b011:0x69b,_0x43195b:0x505,_0x56d07d:0x549},_0x5db4e6={_0x1f2394:0x17e,_0x574537:0x99},_0x3cb66e={_0x546926:0x1d9,_0x33a1a9:0x5f},_0x586324={_0xb8b5cc:0x78,_0x3de19a:0x91};if(this[_0x523cfe(0x3ff,_0x56c115._0x3e720f,0x330,_0x56c115._0x573edc)][_0x279949(_0x56c115._0x540cb5,0x47a,0x5ca,_0x56c115._0x3ea430)](_0x17db95['id'])!==_0x17db95)throw new ToolExecutionError(_0x279949(_0x56c115._0x24dcdd,_0x56c115._0x299191,_0x56c115._0x339042,_0x56c115._0x26d3ec),{'reservationId':_0x17db95['id']});this[_0x523cfe(0x3ff,_0x56c115._0x2821c6,_0x56c115._0x327eae,0x4bd)][_0x523cfe(0x2fb,_0x56c115._0x269658,_0x56c115._0x336fae,_0x56c115._0x1590c4)](_0x17db95['id']);let _0x5a462d;const _0x558855=new Promise(_0x28eade=>{_0x5a462d=_0x28eade;});function _0x523cfe(_0x4ef443,_0x12ef20,_0x1150d9,_0x595451){return _0x5da4fe(_0x4ef443-0x12c,_0x12ef20-_0x586324._0xb8b5cc,_0x12ef20,_0x595451-_0x586324._0x3de19a);}const _0x106a7f=_0x279949(_0x56c115._0x158a1a,_0x56c115._0x950a9,0x53e,0x5f3)+ ++this[_0x279949(_0x56c115._0x5f2b51,0x588,0x251,_0x56c115._0x269070)]+'-'+randomUUID()['slice'](0x0,0x8),_0x2f52cd={'shellId':_0x106a7f,'command':_0x206646['command'],'cwd':_0x206646[_0x279949(0x6ea,0x64c,0x59c,_0x56c115._0x211dba)],'pid':_0x206646[_0x279949(_0x56c115._0x3bec43,_0x56c115._0x4b27b7,_0x56c115._0x1e3eec,_0x56c115._0x9ab076)][_0x279949(_0x56c115._0x4a2048,_0x56c115._0xcb2e5e,_0x56c115._0x56701e,_0x56c115._0x5c1839)],'processGroupId':_0x206646[_0x279949(0x44d,0x4e0,0x4f2,0x437)],'status':_0x279949(_0x56c115._0x57ac02,_0x56c115._0x46c74a,_0x56c115._0x6cc42e,_0x56c115._0x1474d7),'exitCode':null,'signal':null,'startedAt':Date[_0x279949(_0x56c115._0x5aced6,_0x56c115._0x198e3a,0x3d3,0x395)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x206646[_0x279949(0x6ed,_0x56c115._0x279ba4,_0x56c115._0x5e61a9,0x55c)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x523cfe(0x2a2,0x180,0x27c,_0x56c115._0x546319)),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x206646[_0x279949(_0x56c115._0x494ee1,_0x56c115._0x2ba7a2,0x6db,0x55d)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x558855,'resolveTerminal':_0x5a462d,'terminationSettled':![]};function _0x279949(_0x4fc002,_0x5037e3,_0x1c15b2,_0xeff7e){return _0x2389b1(_0x4fc002-_0x3cb66e._0x546926,_0x5037e3-_0x3cb66e._0x33a1a9,_0x5037e3,_0xeff7e- -0x17e);}this[_0x523cfe(_0x56c115._0x334b37,0x10e,0x3d8,0x466)][_0x279949(0x3f8,_0x56c115._0x38fb4e,_0x56c115._0x327509,0x47f)](_0x106a7f,_0x2f52cd);try{_0x206646[_0x279949(_0x56c115._0x11e3c3,0x4cc,0x719,0x55c)][_0x279949(_0x56c115._0x49cd50,_0x56c115._0x1214d4,_0x56c115._0x3a6383,_0x56c115._0x237a16)]?.['on'](_0x523cfe(0x394,0x216,_0x56c115._0x1a39cb,_0x56c115._0x4a165),_0x571470=>{const _0x23906d={_0x4d9741:0x20,_0x585303:0x18e};function _0x60a633(_0x7bf24,_0x39f841,_0xf0d7bc,_0x270a13){return _0x523cfe(_0x270a13- -_0x23906d._0x4d9741,_0x39f841,_0xf0d7bc-_0x23906d._0x585303,_0x270a13-0x75);}function _0x35a475(_0x33730f,_0xda1c8f,_0x4aff1d,_0x6088cd){return _0x523cfe(_0x4aff1d-0x1e7,_0x6088cd,_0x4aff1d-_0x5db4e6._0x1f2394,_0x6088cd-_0x5db4e6._0x574537);}this[_0x35a475(_0x48ba1c._0x92d4b2,0x3f8,0x4da,0x427)](_0x2f52cd,_0x2f52cd[_0x35a475(_0x48ba1c._0x41765d,_0x48ba1c._0x5e52f3,_0x48ba1c._0x4db5b9,_0x48ba1c._0x5c3a7e)],_0x2f52cd[_0x35a475(_0x48ba1c._0x49b011,0x5d2,_0x48ba1c._0x43195b,_0x48ba1c._0x56d07d)],_0x571470);}),_0x206646[_0x279949(0x3a0,_0x56c115._0x5b57cc,0x5b7,_0x56c115._0x4c3f74)][_0x523cfe(_0x56c115._0x4ea121,_0x56c115._0x216be3,_0x56c115._0x41cc0c,0x474)]?.['on'](_0x523cfe(0x394,0x4e8,_0x56c115._0x2acdbc,0x431),_0x27d3c9=>{function _0x204956(_0x45c266,_0x338fa3,_0x2e5a75,_0x3c3e48){return _0x279949(_0x45c266-_0x714127._0x203c51,_0x338fa3,_0x2e5a75-0x8f,_0x3c3e48-0xf5);}this['appendDecoded'](_0x2f52cd,_0x2f52cd[_0x204956(_0x56d16e._0x36b416,0x445,0x55f,0x526)],_0x2f52cd['stderrNormalizer'],_0x27d3c9);}),_0x206646[_0x279949(0x4c1,0x520,_0x56c115._0x385115,_0x56c115._0x9ab076)][_0x279949(_0x56c115._0x127202,0x5d5,0x3f5,0x42e)](_0x523cfe(_0x56c115._0x264e6f,_0x56c115._0xea2ba8,_0x56c115._0x57e13e,_0x56c115._0x19c05c),(_0x5328c7,_0x53a71e)=>{const _0x29823f={_0x5553ed:0x69,_0xe86eb1:0xe9,_0x12ff74:0x1ac};_0x2f52cd['processExited']=!![];function _0x3e0b9f(_0x284da9,_0x2b0685,_0x12e5b7,_0x87f616){return _0x279949(_0x284da9-_0x29823f._0x5553ed,_0x2b0685,_0x12e5b7-_0x29823f._0xe86eb1,_0x284da9- -_0x29823f._0x12ff74);}_0x2f52cd[_0x53e063(_0x4587bc._0x130f1b,_0x4587bc._0x325824,_0x4587bc._0x66b8b3,0x2f7)]=_0x5328c7;function _0x53e063(_0x17c39e,_0x140b44,_0x3f8262,_0x4a0349){return _0x279949(_0x17c39e-_0x181158._0x2f23c7,_0x3f8262,_0x3f8262-0x16c,_0x17c39e- -0x282);}_0x2f52cd[_0x53e063(0x1d5,0x100,0x2f9,0x277)]=_0x53a71e;}),_0x206646[_0x279949(0x48e,0x551,_0x56c115._0x52b17b,0x55c)][_0x523cfe(0x383,0x422,0x33b,_0x56c115._0x27ffeb)](_0x523cfe(_0x56c115._0x5e56bb,_0x56c115._0x3585b5,0x493,0x553),_0x24d378=>{_0x2f52cd[_0x3ae1b9(_0x29d4a5._0x5ca9c6,_0x29d4a5._0x51a6e3,0x557,_0x29d4a5._0x3a6f67)]=_0x24d378[_0x1d19b0(_0x29d4a5._0x3dc927,0x589,_0x29d4a5._0x5a6895,0x58a)];function _0x1d19b0(_0x423f4c,_0x35ac54,_0x29daed,_0x1dccc0){return _0x279949(_0x423f4c-0x50,_0x35ac54,_0x29daed-0x109,_0x29daed- -0xe2);}function _0x3ae1b9(_0x435e0f,_0x4e75dd,_0x5d6296,_0x3fca39){return _0x523cfe(_0x4e75dd-_0x2185b3._0x1c90ad,_0x435e0f,_0x5d6296-0x14b,_0x3fca39-0x19c);}_0x2f52cd[_0x1d19b0(_0x29d4a5._0xe51441,_0x29d4a5._0x228256,0x4c0,0x509)]='error';}),_0x206646[_0x279949(0x5d4,0x58c,0x665,0x55c)][_0x523cfe(_0x56c115._0x4b7a4e,_0x56c115._0x5e91df,_0x56c115._0x2db978,0x28b)]('close',(_0x24cf64,_0x5bd056)=>{const _0xd9cbdb={_0x1e94e2:0xac};_0x2f52cd['exitCode']=_0x24cf64;function _0x473607(_0x47e0c0,_0x3c0210,_0xaa8a5c,_0x15352b){return _0x523cfe(_0x3c0210- -0x45a,_0x15352b,_0xaa8a5c-_0xd9cbdb._0x1e94e2,_0x15352b-0x146);}_0x2f52cd[_0x20faeb(_0x270b5c._0xe21dad,_0x270b5c._0x309523,0x2a8,0x365)]=_0x5bd056;function _0x20faeb(_0x5ac3cc,_0x2460d6,_0x172428,_0x11701c){return _0x279949(_0x5ac3cc-0x1a6,_0x5ac3cc,_0x172428-_0x5edcab._0x92636f,_0x2460d6- -_0x5edcab._0x88852f);}_0x2f52cd[_0x20faeb(0x38a,0x2e7,0x36b,0x1c8)]=null,_0x2f52cd[_0x473607(0x4,0x9d,0xa2,0xf)]!=='error'&&(_0x2f52cd[_0x20faeb(_0x270b5c._0x3964b6,0x32d,_0x270b5c._0x2dc57f,0x194)]=_0x2f52cd[_0x473607(-0x60,_0x270b5c._0x34fec7,0xb0,_0x270b5c._0x325e94)]?'killed':_0x20faeb(0x332,_0x270b5c._0x377270,0x21d,0x33d)),this[_0x20faeb(0xbf,_0x270b5c._0x7893a8,_0x270b5c._0x1e3cff,_0x270b5c._0x2ddf82)](_0x2f52cd);});}catch(_0x156ccb){this['entries'][_0x279949(0x35f,_0x56c115._0x2560b8,_0x56c115._0x55e5b1,_0x56c115._0x11f445)](_0x106a7f);throw _0x156ccb;}return this[_0x279949(_0x56c115._0x5a7f8e,0x616,_0x56c115._0x5542db,0x459)](),_0x2f52cd;}[_0x5da4fe(0x3c6,0x225,0x4b0,0x505)](_0x22c270){const _0x5032d4={_0x27f879:0x618,_0x54fcb2:0x5ec,_0x30edd5:0x78f,_0x578930:0x741,_0x532b36:0x4fa,_0x404610:0x66b,_0x18104e:0x696,_0x21719c:0x551,_0x2657eb:0x6c1,_0x91ff30:0x7a1,_0x3ff572:0x83c},_0x2bf194={_0x144f79:0x1bc,_0x5b673e:0x22},_0x470531={_0x59abc1:0xc9};function _0x8a675c(_0xf70d58,_0x24787b,_0x1a89e1,_0x9a896b){return _0x5da4fe(_0x24787b-0x311,_0x24787b-0xf,_0xf70d58,_0x9a896b-_0x470531._0x59abc1);}function _0x9f3826(_0x43c5e2,_0x1a7d1b,_0x3f919c,_0x1ca8d8){return _0x2389b1(_0x43c5e2-_0x2bf194._0x144f79,_0x1a7d1b-0x16c,_0x1ca8d8,_0x1a7d1b-_0x2bf194._0x5b673e);}const _0x4f6a49=this[_0x9f3826(0x6db,_0x5032d4._0x27f879,0x754,_0x5032d4._0x54fcb2)]();try{return this[_0x8a675c(0x7cd,0x79e,_0x5032d4._0x30edd5,_0x5032d4._0x578930)](_0x4f6a49,{..._0x22c270,...this[_0x8a675c(0x5ed,_0x5032d4._0x532b36,0x5a9,_0x5032d4._0x404610)]==='win32'?{}:{'processGroupId':_0x22c270[_0x8a675c(0x564,_0x5032d4._0x18104e,_0x5032d4._0x21719c,_0x5032d4._0x2657eb)][_0x9f3826(0x683,0x6d2,_0x5032d4._0x91ff30,_0x5032d4._0x3ff572)]}});}catch(_0x39ec6f){this['release'](_0x4f6a49);throw _0x39ec6f;}}['read'](_0x6d8cd0,_0x4de6fa){const _0x5740e4={_0x503ee0:0x26,_0x43280c:0x44,_0x39bc9f:0x48,_0x348a4a:0x39,_0x50b1f5:0x159,_0xc9e6ff:0x2f5,_0x2cc812:0x1b2,_0x25615c:0x30e,_0x1b36c9:0x135,_0x43a553:0x5c9,_0x25a8df:0x624,_0x38eb36:0x74b,_0x3bd241:0x66,_0x4a03b1:0x1c0,_0x584f17:0x622,_0x7ad397:0x640,_0x37f1ee:0x4b1,_0x29df79:0x586,_0x8bfff8:0x660,_0x3e592b:0x570,_0x1605cb:0x52c,_0x3f5818:0x6a3,_0x53a88c:0x57d,_0x11522e:0x5f2,_0x3d995c:0x5ec,_0x659455:0x4a9,_0x5cf47f:0x189,_0x1e85b6:0x1bb,_0x2373f6:0x1d,_0x6e9d40:0x157,_0x471001:0xa9,_0x3d7091:0x5c8,_0x3357cb:0x90,_0x30990c:0xb0,_0xd45eec:0x152,_0x135f98:0x23d,_0x4c01ff:0x3f1,_0x2ba444:0x577,_0x5e1864:0x16a,_0x3b6160:0x16,_0x414936:0x336,_0x119c8b:0x216,_0x1d1eb3:0xa8,_0x13d9d0:0x15,_0x41506e:0x892,_0x3ab0a9:0x7cc,_0x53ac0a:0x6c4},_0x11ec77={_0x234555:0x1df,_0xcfd9f2:0x149},_0xec8bb6={_0x161242:0x280};function _0x28f1d5(_0x290d4a,_0xb3db64,_0x55b7ab,_0x1359b1){return _0x5da4fe(_0x290d4a-_0xec8bb6._0x161242,_0xb3db64-0x19f,_0xb3db64,_0x1359b1-0x1ee);}const _0x3bf259=this['entries'][_0xffe47b(_0x5740e4._0x503ee0,-_0x5740e4._0x43280c,-0x1f7,0x2e)](_0x6d8cd0);if(!_0x3bf259)throw new ToolExecutionError(_0xffe47b(_0x5740e4._0x39bc9f,_0x5740e4._0x348a4a,-0x5,_0x5740e4._0x50b1f5)+_0x6d8cd0,{'shellId':_0x6d8cd0});const _0x293d23=_0x3bf259['buffer'][_0xffe47b(-_0x5740e4._0xc9e6ff,-_0x5740e4._0x2cc812,-_0x5740e4._0x25615c,-_0x5740e4._0x1b36c9)](''),_0x513cd0=Math['max'](_0x3bf259[_0x28f1d5(_0x5740e4._0x43a553,_0x5740e4._0x25a8df,0x750,_0x5740e4._0x38eb36)],_0x3bf259[_0xffe47b(0x13a,-_0x5740e4._0x3bd241,-_0x5740e4._0x4a03b1,-0x17e)]),_0xc80e90=Math['max'](0x0,_0x3bf259[_0x28f1d5(0x53d,_0x5740e4._0x584f17,_0x5740e4._0x7ad397,_0x5740e4._0x37f1ee)]-_0x3bf259[_0x28f1d5(0x5c9,_0x5740e4._0x29df79,_0x5740e4._0x8bfff8,0x754)]),_0x151ec7=_0x293d23[_0x28f1d5(_0x5740e4._0x3e592b,0x6e9,_0x5740e4._0x1605cb,_0x5740e4._0x3f5818)](_0x513cd0-_0x3bf259[_0xffe47b(-0x74,-0x66,0xbc,-0x19f)]);let _0x5c33ee;const _0x473a7f=_0x4de6fa?.['regex'];if(!_0x473a7f)_0x5c33ee=_0x151ec7,_0x3bf259[_0x28f1d5(0x5c9,0x4ba,_0x5740e4._0x53a88c,0x714)]=_0x3bf259[_0x28f1d5(_0x5740e4._0x11522e,_0x5740e4._0x3d995c,_0x5740e4._0x659455,0x544)];else{let _0x10cb78;try{_0x10cb78=new RegExp(_0x473a7f);}catch(_0x5a0463){throw new ToolExecutionError(_0xffe47b(_0x5740e4._0x5cf47f,-0x1e,0x50,-_0x5740e4._0x1e85b6)+(_0x5a0463 instanceof Error?_0x5a0463[_0xffe47b(-0x5a,-_0x5740e4._0x2373f6,_0x5740e4._0x6e9d40,-_0x5740e4._0x471001)]:String(_0x5a0463)),{'shellId':_0x6d8cd0,'regex':_0x473a7f});}let _0x5b2235=_0x151ec7;if(!_0x3bf259[_0x28f1d5(_0x5740e4._0x3d7091,0x4d5,0x778,0x67e)]){const _0x186bea=_0x151ec7[_0xffe47b(-0x5,-0x27,_0x5740e4._0x3357cb,_0x5740e4._0x30990c)]('\x0a');_0x5b2235=_0x186bea>=0x0?_0x151ec7[_0xffe47b(-0x1c0,-0x33,0xc,-_0x5740e4._0xd45eec)](0x0,_0x186bea+0x1):'';}_0x5c33ee=_0x5b2235[_0xffe47b(-_0x5740e4._0x135f98,-0x192,-0x346,-0xf2)]('\x0a')['filter'](_0x3770af=>_0x10cb78[_0x28f1d5(0x694,0x5fa,0x563,0x7ec)](_0x3770af))[_0x28f1d5(_0x5740e4._0x4c01ff,0x51a,0x26a,_0x5740e4._0x2ba444)]('\x0a'),_0x3bf259['readCursor']=_0x513cd0+_0x5b2235[_0xffe47b(0x12a,0x1a4,_0x5740e4._0x5e1864,_0x5740e4._0x3b6160)];}function _0xffe47b(_0x1186bc,_0xe9c6fa,_0x59297b,_0x52032c){return _0x5da4fe(_0xe9c6fa- -0x323,_0xe9c6fa-_0x11ec77._0x234555,_0x1186bc,_0x52032c-_0x11ec77._0xcfd9f2);}return{'output':(_0xc80e90>0x0?_0xffe47b(0x354,0x1c7,0x205,_0x5740e4._0x414936)+_0xc80e90+'\x20chars\x20dropped]\x0a':'')+_0x5c33ee,'status':_0x3bf259[_0xffe47b(_0x5740e4._0x119c8b,_0x5740e4._0x1d1eb3,-0xc3,_0x5740e4._0x13d9d0)],'exitCode':_0x3bf259[_0x28f1d5(0x745,_0x5740e4._0x41506e,_0x5740e4._0x3ab0a9,0x82f)],'signal':_0x3bf259['signal'],'error':_0x3bf259[_0x28f1d5(0x68a,0x5a9,0x627,_0x5740e4._0x53ac0a)],'truncated':_0xc80e90>0x0};}[_0x2389b1(0x6b5,0x8c8,0x7bb,0x7af)](){const _0x5d2e80={_0x2b16be:0xe1,_0x16e575:0x3ae,_0x2fa3cd:0x348},_0xd85eac={_0x51537d:0x1ec};function _0x448e52(_0x2f6cb3,_0x3213ec,_0x521b46,_0xd62502){return _0x2389b1(_0x2f6cb3-0xd6,_0x3213ec-0x1cc,_0x3213ec,_0x2f6cb3- -0x5c4);}function _0x2fd20c(_0x1052cd,_0x4defcc,_0x378b5e,_0x3ab4e9){return _0x5da4fe(_0x1052cd-0x131,_0x4defcc-_0xd85eac._0x51537d,_0x4defcc,_0x3ab4e9-0x8c);}return[...this[_0x448e52(-_0x5d2e80._0x2b16be,-0x255,0x5a,0x80)][_0x2fd20c(_0x5d2e80._0x16e575,0x55f,0x520,_0x5d2e80._0x2fa3cd)]()];}[_0x5da4fe(0x4b3,0x58b,0x508,0x549)](_0xe3615){const _0x1ae04a={_0x38245e:0x3a9,_0x2dd25d:0x380,_0x53ab04:0x4a1,_0x1b7eba:0x66e,_0x6cb931:0x3e6,_0x242fb2:0x3da,_0xd88291:0x493,_0x1b6536:0x41d,_0x3d556e:0x259,_0x403118:0x38c,_0x37ff1c:0x4da,_0x5e491:0x38c,_0x58c7fa:0x26c,_0x5cae96:0x537,_0x2bf69e:0x3c0,_0x2c4e54:0x2b6,_0x12b49e:0x350,_0x126054:0x449,_0x9f1f0:0x391,_0x527406:0x4aa,_0x2c7f53:0x2a6,_0x19db1a:0x3d2,_0x468b01:0x529,_0x248da1:0x497,_0x389007:0x84b,_0x14d0d8:0x6d4,_0x2a359f:0x726,_0x598f2b:0x594,_0x5e9c7a:0x57d,_0x45a3d9:0x488,_0x55e76f:0x412,_0x578a7b:0x6d8,_0x43307e:0x4c5,_0x5a38e2:0x3eb,_0x4ac97b:0x34c,_0x544409:0x297,_0x4b3511:0x4aa,_0x48eb99:0x5cc,_0x395ea4:0x63e,_0x4bb214:0x55f,_0x2e33da:0x56b,_0x2e518f:0x481,_0x110450:0x364,_0xf7b5d0:0x329,_0xfdd12d:0x65e,_0x29d6f1:0x3d6},_0xd54c65={_0x13a3d4:0x5a9,_0xf68c17:0x546},_0x2341c5={_0x38a662:0x9c,_0x1826ad:0x1e8},_0x5c912b={_0x2b0374:0x16d},_0x4d8fde={_0x3ad0e5:0x1e4},_0x350c62=this[_0x594c09(0x549,_0x1ae04a._0x38245e,0x1ec,_0x1ae04a._0x2dd25d)][_0x594c09(_0x1ae04a._0x53ab04,0x4fa,_0x1ae04a._0x1b7eba,_0x1ae04a._0x6cb931)](_0xe3615);if(!_0x350c62)throw new ToolExecutionError(_0x29e755(_0x1ae04a._0x242fb2,_0x1ae04a._0xd88291,_0x1ae04a._0x1b6536,_0x1ae04a._0x3d556e)+_0xe3615,{'shellId':_0xe3615});function _0x594c09(_0x10880e,_0xebb8ac,_0x234d2b,_0x289901){return _0x2389b1(_0x10880e-0x9f,_0xebb8ac-_0x4d8fde._0x3ad0e5,_0x10880e,_0xebb8ac- -0x13a);}function _0x29e755(_0x10663a,_0x340934,_0x58accb,_0x459234){return _0x5da4fe(_0x10663a-0x7e,_0x340934-_0x5c912b._0x2b0374,_0x58accb,_0x459234-0xc4);}if(_0x350c62[_0x29e755(_0x1ae04a._0x403118,_0x1ae04a._0x37ff1c,0x431,0x513)]&&!_0x350c62['terminationSettled'])return _0x350c62[_0x29e755(_0x1ae04a._0x5e491,_0x1ae04a._0x58c7fa,0x238,_0x1ae04a._0x5cae96)];if(_0x350c62[_0x29e755(0x3c6,_0x1ae04a._0x2bf69e,_0x1ae04a._0x2c4e54,_0x1ae04a._0x12b49e)]&&isTerminalStatus(_0x350c62[_0x29e755(_0x1ae04a._0x126054,_0x1ae04a._0x9f1f0,_0x1ae04a._0x527406,0x5a9)]))return Promise[_0x594c09(_0x1ae04a._0x2c7f53,_0x1ae04a._0x19db1a,_0x1ae04a._0x468b01,_0x1ae04a._0x248da1)](this['result'](_0x350c62,_0x594c09(_0x1ae04a._0x389007,_0x1ae04a._0x14d0d8,_0x1ae04a._0x2a359f,0x551)));if(_0x350c62[_0x29e755(0x449,_0x1ae04a._0x598f2b,_0x1ae04a._0x5e9c7a,0x579)]!==_0x29e755(_0x1ae04a._0x45a3d9,0x604,_0x1ae04a._0x55e76f,0x52a))_0x350c62[_0x594c09(0x44c,0x5e6,_0x1ae04a._0x578a7b,0x574)]=_0x594c09(0x4c9,_0x1ae04a._0x43307e,0x44c,0x3e2);return _0x350c62[_0x29e755(_0x1ae04a._0x5a38e2,_0x1ae04a._0x4ac97b,_0x1ae04a._0x248da1,_0x1ae04a._0x544409)]=!![],_0x350c62[_0x29e755(_0x1ae04a._0x4b3511,_0x1ae04a._0x48eb99,0x3fb,_0x1ae04a._0x395ea4)]=![],_0x350c62['terminationPromise']=this['terminate'](_0x350c62),void _0x350c62[_0x594c09(0x58f,0x529,_0x1ae04a._0x4bb214,_0x1ae04a._0x2e33da)][_0x29e755(0x4d5,_0x1ae04a._0x2e518f,_0x1ae04a._0x110450,_0x1ae04a._0xf7b5d0)](()=>{function _0x105894(_0x807383,_0x530bbd,_0x290de1,_0x10e01f){return _0x29e755(_0x10e01f-_0x2341c5._0x38a662,_0x530bbd-0xd,_0x530bbd,_0x10e01f-_0x2341c5._0x1826ad);}_0x350c62[_0x105894(_0xd54c65._0x13a3d4,0x58d,0x3cc,_0xd54c65._0xf68c17)]=!![];},()=>{_0x350c62['terminationSettled']=!![];}),_0x350c62[_0x594c09(0x642,0x529,_0x1ae04a._0xfdd12d,_0x1ae04a._0x29d6f1)];}['closeAll'](){const _0x584101={_0x4e6a4d:0x57,_0x56636d:0xd4,_0x590396:0x261,_0x34fc6d:0x13c,_0x51cff2:0x262,_0x2a12d9:0x158,_0x2c2124:0x2ba},_0x4993b6={_0xa86fec:0xb1,_0x24ccc4:0x511},_0x54e355={_0x2f6b27:0x3ef,_0x449a5e:0x3};function _0x58bc5c(_0x531bcf,_0x5c39f8,_0x12a8d2,_0x2d6748){return _0x5da4fe(_0x531bcf- -_0x54e355._0x2f6b27,_0x5c39f8-0x1eb,_0x5c39f8,_0x2d6748-_0x54e355._0x449a5e);}function _0x51321d(_0x4cadd9,_0x57748a,_0x2ac9cf,_0x282ddf){return _0x2389b1(_0x4cadd9-_0x4993b6._0xa86fec,_0x57748a-0x105,_0x2ac9cf,_0x4cadd9- -_0x4993b6._0x24ccc4);}return Promise[_0x58bc5c(-0x14f,-_0x584101._0x4e6a4d,-0x29,-_0x584101._0x56636d)]([...this[_0x58bc5c(-_0x584101._0x590396,-_0x584101._0x34fc6d,-_0x584101._0x51cff2,-0x25a)]['values']()][_0x58bc5c(-_0x584101._0x2a12d9,-0x48,-0xdb,-_0x584101._0x2c2124)](_0x2951e6=>this[_0x51321d(0x2f7,0x29f,0x32f,0x343)](_0x2951e6[_0x51321d(0x1e7,0xc2,0x37a,0x188)])));}async[_0x5da4fe(0x3bc,0x3a1,0x48b,0x4b7)](){const _0xc7aff3={_0x3a8e7b:0x363,_0x4de538:0x48,_0x4a74a1:0x4b,_0x5364cb:0x75,_0x2ec382:0x383,_0xbcbebf:0x202,_0x222799:0x4c8,_0x41c43f:0x37b,_0x3f120d:0x417,_0x1e20d6:0x4ab,_0x2b729f:0x403},_0x3bd971={_0x363e8b:0x3f,_0x51d2e4:0x196},_0x23dc59=await this[_0x5853f4(0x3ff,_0xc7aff3._0x3a8e7b,0x335,0x295)]();function _0x5853f4(_0xd63f2e,_0x26f915,_0x5c182b,_0x427d6f){return _0x5da4fe(_0x26f915-0x1f5,_0x26f915-_0x3bd971._0x363e8b,_0xd63f2e,_0x427d6f-_0x3bd971._0x51d2e4);}function _0x4c8646(_0x437615,_0xcb68d1,_0x1ed91c,_0x25ba36){return _0x5da4fe(_0x1ed91c- -0x3cd,_0xcb68d1-0x1e,_0x25ba36,_0x25ba36-0x87);}if(_0x23dc59[_0x4c8646(_0xc7aff3._0x4de538,-_0xc7aff3._0x4a74a1,-0xed,_0xc7aff3._0x5364cb)](_0x1d41c2=>_0x1d41c2['outcome']===_0x4c8646(-0x206,-0x1c8,-0xb1,0x10)))throw new BackgroundProcessCleanupError(_0x23dc59);return this[_0x5853f4(0x2fb,_0xc7aff3._0x2ec382,_0xc7aff3._0xbcbebf,0x4d9)]['clear'](),this[_0x5853f4(0x378,_0xc7aff3._0x222799,0x4ce,0x401)][_0x5853f4(_0xc7aff3._0x41c43f,_0xc7aff3._0x3f120d,_0xc7aff3._0x1e20d6,_0xc7aff3._0x2b729f)](),_0x23dc59;}async[_0x2389b1(0x71f,0x4d6,0x559,0x580)](_0x3a7de8){const _0x2db495={_0x126f97:0x4e3,_0x47137b:0x405,_0x225bb8:0x4bd,_0x175c4b:0x22c,_0x572f18:0x1fb,_0x4348a1:0x16e,_0x3732e0:0x262,_0x3da10e:0x353,_0x3d3555:0x1db,_0x3f1f73:0x357,_0x25195b:0x7a5,_0x3fc225:0x65a,_0x770922:0x421,_0x19d6e2:0x2df,_0x29ee50:0x69a,_0xaaf8f7:0x3d7,_0xfbc42c:0x81d,_0x3f54c3:0x83c,_0x5a2b7d:0x285,_0x5c9c98:0x282,_0x257233:0x4a5,_0x511de3:0x291,_0xec09f4:0x186,_0x2bfe30:0x547,_0x5ec898:0x2d5,_0x2cd2aa:0x59e,_0x416626:0x75b,_0x176303:0x4a,_0x2e77df:0x352,_0x537da7:0x623,_0xbb5505:0x115,_0x407018:0x297,_0x4eaf44:0x3ed,_0x249614:0x3f9,_0x5183c5:0x8d2,_0x108018:0x901,_0x1607fd:0x38b,_0x4219e2:0x60f,_0x2e5e55:0x5c4,_0x550da3:0x461,_0x441eb6:0x6bf},_0x587d7a={_0x1c27f2:0x85,_0x3b90d0:0x177},_0x474cd6={_0x4d45a0:0x66};_0x3a7de8[_0x147164(_0x2db495._0x126f97,_0x2db495._0x47137b,_0x2db495._0x225bb8,0x37e)]=!![];function _0x376e48(_0x1371bb,_0x5844ed,_0x74e811,_0x41ed0c){return _0x5da4fe(_0x5844ed-0x37e,_0x5844ed-_0x474cd6._0x4d45a0,_0x41ed0c,_0x41ed0c-0xbd);}const _0x188f74=await this[_0x147164(0x24e,0x19b,0x1e7,_0x2db495._0x175c4b)][_0x147164(0x126,_0x2db495._0x572f18,_0x2db495._0x4348a1,_0x2db495._0x3732e0)]({'rootPid':_0x3a7de8[_0x376e48(0x69e,0x6d9,0x5e3,0x6ba)],'processGroupId':_0x3a7de8[_0x147164(_0x2db495._0x3da10e,_0x2db495._0x3d3555,0x2b,_0x2db495._0x3f1f73)]},_0x376e48(0x71f,_0x2db495._0x25195b,0x655,_0x2db495._0x3fc225));function _0x147164(_0x458a73,_0x1a5bcd,_0x4914a9,_0x301d87){return _0x5da4fe(_0x1a5bcd- -_0x587d7a._0x1c27f2,_0x1a5bcd-_0x587d7a._0x3b90d0,_0x4914a9,_0x301d87-0x5f);}if(_0x188f74[_0x147164(0x5b0,_0x2db495._0x770922,_0x2db495._0x19d6e2,0x400)]===_0x376e48(0x64a,_0x2db495._0x29ee50,0x61c,0x6b5))return this['failed'](_0x3a7de8,_0x188f74[_0x147164(0x3ad,0x385,0x2ec,_0x2db495._0xaaf8f7)]);if(await this[_0x376e48(_0x2db495._0xfbc42c,_0x2db495._0x3f54c3,0x930,0x8c1)](_0x3a7de8,TERMINATION_WINDOW_MS))return this[_0x147164(_0x2db495._0x5a2b7d,0x3d6,_0x2db495._0x5c9c98,_0x2db495._0x257233)](_0x3a7de8);_0x3a7de8[_0x147164(_0x2db495._0x511de3,_0x2db495._0xec09f4,0xc2,0x235)]=!![];const _0x2e0543=await this[_0x376e48(_0x2db495._0x2bfe30,0x59e,0x734,0x511)][_0x147164(0x150,0x1fb,0x10a,_0x2db495._0x5ec898)]({'rootPid':_0x3a7de8[_0x376e48(_0x2db495._0x2cd2aa,0x6d9,_0x2db495._0x416626,0x5e3)],'processGroupId':_0x3a7de8[_0x147164(0x23a,0x1db,_0x2db495._0x176303,_0x2db495._0x2e77df)]},'force');if(_0x2e0543['outcome']===_0x376e48(_0x2db495._0x537da7,0x69a,0x821,0x73a))return this[_0x147164(_0x2db495._0xbb5505,_0x2db495._0x407018,_0x2db495._0x4eaf44,_0x2db495._0x249614)](_0x3a7de8,_0x2e0543[_0x376e48(0x88d,0x788,_0x2db495._0x5183c5,_0x2db495._0x108018)]);if(await this[_0x147164(0x283,0x439,_0x2db495._0x1607fd,0x519)](_0x3a7de8,TERMINATION_WINDOW_MS))return this['confirmed'](_0x3a7de8);return this[_0x376e48(0x6c6,0x69a,0x66b,0x669)](_0x3a7de8,_0x376e48(_0x2db495._0x4219e2,_0x2db495._0x2e5e55,_0x2db495._0x550da3,_0x2db495._0x441eb6));}[_0x5da4fe(0x45b,0x576,0x471,0x37e)](_0x4f30ed){const _0x37c7db={_0x137718:0x40e,_0xa9c672:0x67d,_0x1d8214:0x3a0,_0x243d93:0x541,_0x4504d9:0x3f6,_0x164574:0x519,_0x33fb8b:0x3c0,_0x165f40:0x5f6},_0x2ee7a1={_0x2fe592:0x19a},_0x17d6c2={_0x23a104:0xb5};function _0x5a9753(_0x3b7719,_0x590c0a,_0x2bbdd3,_0x271718){return _0x2389b1(_0x3b7719-_0x17d6c2._0x23a104,_0x590c0a-0x1eb,_0x271718,_0x3b7719- -0x193);}function _0x425267(_0x4945d0,_0x55e189,_0x54ecc0,_0x5f0bb9){return _0x5da4fe(_0x55e189-0x84,_0x55e189-_0x2ee7a1._0x2fe592,_0x5f0bb9,_0x5f0bb9-0xfc);}return _0x4f30ed[_0x5a9753(0x58d,0x5ea,_0x37c7db._0x137718,0x60e)]===_0x5a9753(0x5cc,0x6e9,0x549,_0x37c7db._0xa9c672)?this[_0x425267(0x510,_0x37c7db._0x1d8214,0x225,0x280)](_0x4f30ed,_0x4f30ed[_0x5a9753(0x5cc,_0x37c7db._0x243d93,0x4f0,0x554)]??_0x425267(0x487,0x366,_0x37c7db._0x4504d9,0x4f0)):this['result'](_0x4f30ed,_0x5a9753(_0x37c7db._0x164574,_0x37c7db._0x33fb8b,_0x37c7db._0x165f40,0x61e));}[_0x2389b1(0x611,0x646,0x734,0x671)](_0x19368c,_0x95bd0f){const _0x1dd4ec={_0x5a585e:0x7f,_0x38270f:0x137,_0x8bb574:0x27b},_0x48bba5={_0x44452a:0xda};function _0x26f1c3(_0x33a6f1,_0x3ab3a7,_0xe2435e,_0x1203aa){return _0x2389b1(_0x33a6f1-_0x48bba5._0x44452a,_0x3ab3a7-0x1a0,_0xe2435e,_0x3ab3a7- -0x62b);}return _0x19368c['error']=_0x95bd0f,this[_0x26f1c3(-_0x1dd4ec._0x5a585e,-_0x1dd4ec._0x38270f,0x57,-_0x1dd4ec._0x8bb574)](_0x19368c,'failed');}['result'](_0x45215d,_0x27cf17){const _0x131473={_0x5db5ed:0x721,_0x53cad6:0x629,_0x65ad3e:0x60e,_0x19d91d:0x5bc,_0xc1d683:0x6f0,_0x41a3d3:0x730,_0xdc8b2b:0x39e,_0xfe20c6:0x320,_0xfb0dde:0x61a,_0x4934b6:0x708,_0x271ae4:0x675,_0x393b33:0x7f2,_0x1f35cf:0x6f5,_0x3d4773:0x624},_0x3cf4e5={_0x25db4a:0xea};function _0x44ce74(_0x2b88df,_0x2a4042,_0x33af74,_0x304b81){return _0x2389b1(_0x2b88df-0x1db,_0x2a4042-0xb2,_0x2a4042,_0x304b81- -_0x3cf4e5._0x25db4a);}function _0x830b15(_0x977ef5,_0x4439e6,_0x12c1ad,_0x2b4ab1){return _0x2389b1(_0x977ef5-0x192,_0x4439e6-0x65,_0x2b4ab1,_0x977ef5- -0x164);}return{'shellId':_0x45215d[_0x44ce74(_0x131473._0x5db5ed,_0x131473._0x53cad6,0x579,_0x131473._0x65ad3e)],'outcome':_0x27cf17,'status':_0x45215d[_0x830b15(_0x131473._0x19d91d,0x480,0x515,0x719)],'exitCode':_0x45215d[_0x44ce74(0x7dc,_0x131473._0xc1d683,0x896,_0x131473._0x41a3d3)],'signal':_0x45215d[_0x830b15(0x471,_0x131473._0xdc8b2b,_0x131473._0xfe20c6,0x572)],'error':_0x45215d[_0x44ce74(0x4e7,_0x131473._0xfb0dde,_0x131473._0x4934b6,_0x131473._0x271ae4)],'gracefulRequested':_0x45215d[_0x44ce74(0x868,0x6bb,_0x131473._0x393b33,_0x131473._0x1f35cf)],'forceRequested':_0x45215d[_0x44ce74(_0x131473._0x3d4773,0x4cf,0x311,0x476)]};}['waitForTerminal'](_0x316b15,_0x326f11){const _0x38bfa9={_0x13d5b2:0x258,_0x2ee6c2:0x202,_0x386221:0x27a,_0xc2f39b:0x227},_0x538dfa={_0x8b2a43:0xd1,_0xe3cf49:0xc3,_0x33eefb:0xa6,_0x4c266a:0x117},_0xfa5616={_0x4fe402:0x1c1};function _0x5dd261(_0x28088f,_0x1352a8,_0x220fb4,_0x13fb99){return _0x2389b1(_0x28088f-_0xfa5616._0x4fe402,_0x1352a8-0x5b,_0x220fb4,_0x1352a8- -0xd);}function _0x1e2b63(_0x470740,_0x23473c,_0x360e60,_0x37758d){return _0x5da4fe(_0x23473c-0x70,_0x23473c-0x19d,_0x37758d,_0x37758d-0xcc);}if(_0x316b15[_0x1e2b63(_0x38bfa9._0x13d5b2,0x3b8,0x216,_0x38bfa9._0x2ee6c2)])return Promise[_0x1e2b63(_0x38bfa9._0x386221,_0x38bfa9._0xc2f39b,0x237,0x107)](!![]);return new Promise(_0x24227a=>{const _0x24fc06={_0x1ca35c:0x1c9,_0x1342a2:0x1dd},_0xca676d={_0x1756ce:0x2bf};function _0x452560(_0x9a5f7b,_0xc4ab1f,_0x2a76cb,_0x4f099a){return _0x1e2b63(_0x9a5f7b-0x1ed,_0xc4ab1f- -_0xca676d._0x1756ce,_0x2a76cb-0x192,_0x2a76cb);}let _0x5cd4b2=![];function _0x2c46c2(_0x2c6328,_0x43dd16,_0x126492,_0x3b3186){return _0x5dd261(_0x2c6328-_0x24fc06._0x1ca35c,_0x3b3186- -0x688,_0x126492,_0x3b3186-_0x24fc06._0x1342a2);}const _0x3b91ad=setTimeout(()=>{if(_0x5cd4b2)return;_0x5cd4b2=!![],_0x24227a(![]);},_0x326f11);void _0x316b15[_0x452560(-0x162,-_0x538dfa._0x8b2a43,-0x272,_0x538dfa._0xe3cf49)][_0x2c46c2(-_0x538dfa._0x33eefb,0x1f0,0x69,_0x538dfa._0x4c266a)](()=>{if(_0x5cd4b2)return;_0x5cd4b2=!![],clearTimeout(_0x3b91ad),_0x24227a(!![]);});});}[_0x5da4fe(0x1c7,0x1b8,0x95,0x1f9)](_0x572cbb,_0xf1d629,_0x30e5b1,_0x3900d0){const _0x5a233d={_0x28ed42:0x9,_0x260be6:0xbd,_0x4e7454:0x5f6,_0x257ee0:0x59f},_0x13d48f={_0x111187:0xc3},_0x4c3dee={_0x3aabcc:0x5e8};function _0xc0caea(_0x81669b,_0x1f8d82,_0x1a4fd5,_0x341f46){return _0x2389b1(_0x81669b-0xf0,_0x1f8d82-0x8f,_0x1a4fd5,_0x81669b- -_0x4c3dee._0x3aabcc);}function _0x24d249(_0x19c807,_0x249ffd,_0x3f5111,_0x1dfbeb){return _0x5da4fe(_0x3f5111-0x270,_0x249ffd-_0x13d48f._0x111187,_0x19c807,_0x1dfbeb-0x28);}const _0x42ddcc=_0xf1d629[_0xc0caea(_0x5a233d._0x28ed42,0x143,0x13d,-_0x5a233d._0x260be6)](_0x3900d0);this['append'](_0x572cbb,_0x572cbb[_0x24d249(0x4ec,0x45f,_0x5a233d._0x4e7454,_0x5a233d._0x257ee0)]?_0x30e5b1['write'](_0x42ddcc):_0x42ddcc);}[_0x5da4fe(0x1da,0x34a,0x21,0xca)](_0x51908c){const _0x231672={_0x56d256:0x3b2,_0x4cfb93:0x367,_0x34d4fa:0x4d5,_0x390189:0x432,_0xfbe1a0:0x691,_0x40e1d6:0x5fa,_0x316ae7:0x4d5,_0x4fc3d1:0x563,_0x3d6c19:0x3ee,_0x300cb2:0x3fd,_0x30d32f:0x2c5},_0x59a7f8={_0x5f2dd4:0x5},_0x4b7840={_0x3e76cb:0xcb};function _0x217e99(_0x4506e1,_0x5ab994,_0x236956,_0x108e91){return _0x5da4fe(_0x108e91- -0x25,_0x5ab994-_0x4b7840._0x3e76cb,_0x236956,_0x108e91-0x52);}function _0x2776f7(_0x4ed27c,_0x3d8aed,_0xdd72a9,_0x1a4514){return _0x2389b1(_0x4ed27c-0x93,_0x3d8aed-_0x59a7f8._0x5f2dd4,_0x3d8aed,_0xdd72a9- -0x1c8);}this['flushStreams'](_0x51908c),!_0x51908c[_0x2776f7(_0x231672._0x56d256,_0x231672._0x4cfb93,_0x231672._0x34d4fa,_0x231672._0x390189)]&&(_0x51908c[_0x2776f7(_0x231672._0xfbe1a0,_0x231672._0x40e1d6,_0x231672._0x316ae7,0x467)]=!![],_0x51908c[_0x217e99(0x4a1,0x313,_0x231672._0x4fc3d1,_0x231672._0x3d6c19)]()),this[_0x2776f7(_0x231672._0x300cb2,0x4f7,0x40f,_0x231672._0x30d32f)]();}[_0x5da4fe(0x29e,0x299,0x1c6,0x231)](_0x45cf7b){const _0x5d0d49={_0x447372:0x136,_0x1bc8f4:0x1c0,_0x348a76:0x256,_0x3fed3d:0x32f,_0x323a49:0x3b6,_0x482198:0x4e2,_0x242863:0x1b4,_0x1edb3e:0x2de,_0x4421a6:0x1e5,_0x590f2d:0x32f,_0x557484:0x334,_0x275379:0x3e4,_0x18c9a6:0x450,_0x21ffb6:0x49a,_0x41bd99:0x38f,_0x53b9f8:0x30a,_0x1245fd:0x371,_0xcc1dd9:0x47c,_0x213b02:0x40a,_0x291e99:0x396,_0x4d1af9:0x2e8,_0x4856de:0x2b,_0x12b26a:0xff,_0x5db5de:0x2c2,_0x409a70:0x350,_0x1310f7:0x49f,_0x307a8e:0x213,_0x5cd989:0x511,_0x489482:0x48b,_0x6ca26c:0x3f1},_0x446681={_0x33439b:0x1c8,_0x2e5c78:0xb9},_0x1a2aad={_0x5e7d89:0xe4,_0x240caf:0x6f};if(_0x45cf7b[_0x3f8586(_0x5d0d49._0x447372,0x14b,_0x5d0d49._0x1bc8f4,_0x5d0d49._0x348a76)])return;function _0x3f8586(_0x56e721,_0x9d0ccd,_0xb3f38f,_0x37fbd6){return _0x5da4fe(_0xb3f38f- -0xe2,_0x9d0ccd-_0x1a2aad._0x5e7d89,_0x37fbd6,_0x37fbd6-_0x1a2aad._0x240caf);}_0x45cf7b[_0x999a6c(_0x5d0d49._0x3fed3d,_0x5d0d49._0x323a49,_0x5d0d49._0x482198,0x398)]=!![];const _0x5effa9=_0x45cf7b[_0x3f8586(_0x5d0d49._0x242863,0x324,0x255,0x1e0)][_0x3f8586(0x1e9,_0x5d0d49._0x1edb3e,0x2c2,_0x5d0d49._0x4421a6)]();function _0x999a6c(_0x40abcb,_0x22d951,_0x4a9a00,_0x3ce20d){return _0x2389b1(_0x40abcb-_0x446681._0x33439b,_0x22d951-_0x446681._0x2e5c78,_0x22d951,_0x3ce20d- -0x25f);}const _0x10d78b=_0x45cf7b[_0x3f8586(-0xc,0x9d,0x178,_0x5d0d49._0x590f2d)][_0x999a6c(_0x5d0d49._0x557484,_0x5d0d49._0x275379,_0x5d0d49._0x18c9a6,_0x5d0d49._0x21ffb6)]();this[_0x3f8586(0x40f,_0x5d0d49._0x41bd99,_0x5d0d49._0x53b9f8,0x46d)](_0x45cf7b,_0x45cf7b[_0x999a6c(_0x5d0d49._0x1245fd,0x46e,0x2ef,_0x5d0d49._0xcc1dd9)]?_0x45cf7b[_0x999a6c(_0x5d0d49._0x213b02,_0x5d0d49._0x291e99,0x465,_0x5d0d49._0x4d1af9)][_0x3f8586(0x182,0x36,0x1ba,_0x5d0d49._0x4856de)](_0x5effa9)+_0x45cf7b['stdoutNormalizer'][_0x3f8586(0x29b,_0x5d0d49._0x12b26a,_0x5d0d49._0x5db5de,0x186)]():_0x5effa9),this['append'](_0x45cf7b,_0x45cf7b[_0x999a6c(_0x5d0d49._0x409a70,_0x5d0d49._0x1310f7,_0x5d0d49._0x53b9f8,0x47c)]?_0x45cf7b[_0x999a6c(_0x5d0d49._0x307a8e,_0x5d0d49._0x5cd989,0x4e3,0x3a5)][_0x999a6c(_0x5d0d49._0x489482,_0x5d0d49._0x6ca26c,0x355,0x392)](_0x10d78b)+_0x45cf7b['stderrNormalizer']['end']():_0x10d78b);}[_0x2389b1(0x6da,0x8b1,0x6e3,0x741)](_0x329a5e,_0x27c490){const _0x5b0ae0={_0x44f2e4:0x53c,_0x55d94b:0x508,_0xf1d7a4:0x428,_0x4acafa:0x3d3,_0x3384e5:0x6aa,_0x516406:0x570,_0x2ab82d:0x38e,_0x320566:0x386,_0x5d5171:0x58d,_0x250ddd:0x45b,_0x4f0bdd:0x551,_0x108c8f:0x207,_0x486f7e:0x4d7,_0xf69a9b:0x5b0,_0x408826:0x5e5,_0x2df7d0:0x33a,_0x1f6bcf:0x5e3,_0x59d7ba:0x4d4,_0x245e3a:0x4d2,_0x4a88c6:0x353,_0x1d022c:0x396,_0x2f7727:0x3ce,_0x206283:0x62c,_0x59c266:0x176,_0x2430e6:0x222,_0x139ff3:0x495,_0x1736f9:0x366},_0x45f5c7={_0x4c7c38:0x217,_0x4fb027:0x11e,_0x55685b:0xf3},_0x3f592c={_0x16aed4:0x1b7};function _0xd3c127(_0x45d13d,_0x3b8b9d,_0x45009c,_0x1b9cae){return _0x2389b1(_0x45d13d-_0x3f592c._0x16aed4,_0x3b8b9d-0xc9,_0x45d13d,_0x1b9cae- -0x2ac);}if(_0x27c490[_0x43a2dd(0x6de,0x81c,_0x5b0ae0._0x44f2e4,0x5a8)]===0x0)return;_0x329a5e['buffer'][_0x43a2dd(_0x5b0ae0._0x55d94b,_0x5b0ae0._0xf1d7a4,0x512,_0x5b0ae0._0x4acafa)](_0x27c490),_0x329a5e['bufferChars']+=_0x27c490['length'],_0x329a5e['totalProduced']+=_0x27c490[_0xd3c127(0x610,0x6a1,_0x5b0ae0._0x3384e5,_0x5b0ae0._0x516406)];function _0x43a2dd(_0x291307,_0x322ccb,_0x2a0887,_0x1fce5b){return _0x5da4fe(_0x291307-_0x45f5c7._0x4c7c38,_0x322ccb-_0x45f5c7._0x4fb027,_0x1fce5b,_0x1fce5b-_0x45f5c7._0x55685b);}while(_0x329a5e['bufferChars']>this['capChars']){const _0x13f8e4=_0x329a5e[_0xd3c127(_0x5b0ae0._0x2ab82d,_0x5b0ae0._0x320566,_0x5b0ae0._0x5d5171,_0x5b0ae0._0x250ddd)]-this['capChars'],_0x5b6de1=_0x329a5e['buffer'][0x0];if(_0x5b6de1===void 0x0)break;_0x5b6de1[_0xd3c127(0x689,0x644,_0x5b0ae0._0x4f0bdd,0x570)]<=_0x13f8e4?(_0x329a5e[_0xd3c127(0x69,0x288,_0x5b0ae0._0x108c8f,0x222)][_0xd3c127(_0x5b0ae0._0x486f7e,_0x5b0ae0._0xf69a9b,0x575,0x4f5)](),_0x329a5e[_0xd3c127(_0x5b0ae0._0x408826,_0x5b0ae0._0x2df7d0,_0x5b0ae0._0x1f6bcf,0x45b)]-=_0x5b6de1['length'],_0x329a5e[_0x43a2dd(_0x5b0ae0._0x59d7ba,_0x5b0ae0._0x245e3a,_0x5b0ae0._0x4a88c6,_0x5b0ae0._0x1d022c)]+=_0x5b6de1[_0xd3c127(_0x5b0ae0._0x2f7727,_0x5b0ae0._0x206283,0x55c,0x570)]):(_0x329a5e[_0xd3c127(0x208,_0x5b0ae0._0x59c266,0x1f3,_0x5b0ae0._0x2430e6)][0x0]=_0x5b6de1['slice'](_0x13f8e4),_0x329a5e['bufferChars']-=_0x13f8e4,_0x329a5e[_0xd3c127(0x3ad,0x42b,_0x5b0ae0._0x139ff3,_0x5b0ae0._0x1736f9)]+=_0x13f8e4);}}[_0x5da4fe(0x282,0x433,0x42a,0x1a8)](){const _0x46c045={_0x26c45a:0x119,_0x52e9f5:0x2a,_0x150436:0x9b,_0x576e97:0x77,_0x8f5e00:0xf5,_0x556256:0x110,_0x30f37a:0x7d,_0x1b8da7:0x11,_0x45952e:0x29c,_0x28d78e:0x11d,_0x419d03:0x309,_0x396d97:0x240,_0xb47641:0x1d7,_0x393a7e:0x31b},_0x4b6536={_0x53f927:0x195,_0x5a4ef7:0x76},_0x16f90c={_0x1e32e2:0x201,_0xbed51a:0x117};function _0xdb6fee(_0x3f4ded,_0x37ff74,_0x100d8b,_0x1c46ca){return _0x5da4fe(_0x100d8b- -_0x16f90c._0x1e32e2,_0x37ff74-0x15d,_0x37ff74,_0x1c46ca-_0x16f90c._0xbed51a);}function _0x448643(_0x524378,_0x31b5e0,_0x506780,_0x3c00dd){return _0x5da4fe(_0x524378- -0x117,_0x31b5e0-_0x4b6536._0x53f927,_0x506780,_0x3c00dd-_0x4b6536._0x5a4ef7);}while(this[_0xdb6fee(-_0x46c045._0x26c45a,_0x46c045._0x52e9f5,-0x73,-0xab)][_0xdb6fee(0x4f,_0x46c045._0x150436,-0x8a,0x77)]>this['maxEntries']){const _0x2ef2a6=[...this[_0x448643(_0x46c045._0x576e97,-_0x46c045._0x8f5e00,0x223,-_0x46c045._0x556256)][_0x448643(0x166,_0x46c045._0x30f37a,0x134,_0x46c045._0x1b8da7)]()][_0xdb6fee(0x357,0x40b,_0x46c045._0x45952e,0x2a0)](_0x25bafc=>_0x25bafc[_0xdb6fee(0xaf,0xda,0x147,0x25e)]&&isTerminalStatus(_0x25bafc[_0x448643(0x2b4,0x19b,0x152,0x321)]))[_0xdb6fee(_0x46c045._0x28d78e,_0x46c045._0x419d03,_0x46c045._0x396d97,0x123)]((_0x1d474a,_0x3afc32)=>_0x1d474a[_0x448643(0x14a,0x57,0xf9,0x2e1)]-_0x3afc32[_0xdb6fee(0x1dd,0x141,0x60,0x137)])[0x0];if(!_0x2ef2a6)return;this[_0xdb6fee(0x2f,-0x23,-0x73,-_0x46c045._0xb47641)]['delete'](_0x2ef2a6[_0x448643(0x28c,0x39f,0x3cc,_0x46c045._0x393a7e)]);}}};function createBashOutputTool(_0x4eb7a0){const _0x414e16={_0x547acc:0xa8,_0x2a5340:0x2d9,_0xc243e5:0x185,_0x1f7a1a:0x1aa,_0x39f476:0x29e,_0x4d326b:0x2de,_0x398466:0x96,_0x416f3e:0x13d,_0x51711a:0x138,_0x319422:0xf3},_0x2fc8cd={_0x1b7d5f:0x31f,_0x5b9ca0:0x45e,_0x4c7bbb:0x158,_0x169d64:0xfc,_0x3b473d:0x4fd,_0xe494e9:0x44f,_0xf50ecb:0x257,_0x39d1a5:0xe6,_0x53162f:0x276,_0x412261:0x15c,_0xbb20fe:0xab,_0x52d705:0x155},_0x12af20={_0x1698e5:0x76,_0x1c423c:0xbe},_0x4cb566={_0xecae5b:0x110};function _0x295968(_0x84c43c,_0x1f9b49,_0x1daf16,_0x478796){return _0x2389b1(_0x84c43c-0x1e4,_0x1f9b49-_0x4cb566._0xecae5b,_0x1daf16,_0x478796- -0x71d);}function _0x872ee0(_0x50592e,_0x2d464d,_0x4f4684,_0x5d7f4a){return _0x2389b1(_0x50592e-_0x12af20._0x1698e5,_0x2d464d-_0x12af20._0x1c423c,_0x4f4684,_0x5d7f4a- -0x605);}const {registry:_0x8f4231}=_0x4eb7a0;return defineTool({'name':_0x872ee0(_0x414e16._0x547acc,0x1d9,_0x414e16._0x2a5340,_0x414e16._0xc243e5),'permissionClass':'always-confirm','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':_0x872ee0(_0x414e16._0x1f7a1a,_0x414e16._0x39f476,_0x414e16._0x4d326b,0x21e),'properties':{'shellId':{'type':_0x295968(-0x14d,-_0x414e16._0x398466,-0x174,-0x138)},'regex':{'type':_0x295968(-0x16f,-_0x414e16._0x416f3e,-0x122,-_0x414e16._0x51711a)}},'required':[_0x872ee0(0x183,0x129,0x270,_0x414e16._0x319422)]},async *'execute'(_0x3aebef){const _0x387638={_0x4bbb42:0x18c},_0x1efcbb={_0x244ddb:0x1d7,_0x310cea:0x78};function _0x47be31(_0xff049a,_0x49aa77,_0x58ea1b,_0x74ed4f){return _0x872ee0(_0xff049a-_0x1efcbb._0x244ddb,_0x49aa77-_0x1efcbb._0x310cea,_0xff049a,_0x58ea1b-0x2e6);}const _0x5df53f=_0x8f4231[_0x47be31(0x32f,_0x2fc8cd._0x1b7d5f,0x34a,_0x2fc8cd._0x5b9ca0)](_0x3aebef['shellId'],_0x3aebef[_0x6240eb(0x1c3,_0x2fc8cd._0x4c7bbb,0x64,_0x2fc8cd._0x169d64)]?{'regex':_0x3aebef['regex']}:void 0x0);function _0x6240eb(_0x2dcbe7,_0x1f5ded,_0x56fb19,_0x3d119d){return _0x872ee0(_0x2dcbe7-0xb5,_0x1f5ded-0x16a,_0x2dcbe7,_0x56fb19-_0x387638._0x4bbb42);}return createToolOutput(_0x5df53f[_0x47be31(_0x2fc8cd._0x3b473d,_0x2fc8cd._0xe494e9,0x387,_0x2fc8cd._0xf50ecb)],{'shellId':_0x3aebef['shellId'],'status':_0x5df53f[_0x6240eb(0x226,_0x2fc8cd._0x39d1a5,0x2a7,_0x2fc8cd._0x53162f)],'exitCode':_0x5df53f['exitCode'],'signal':_0x5df53f[_0x6240eb(0x279,0x137,_0x2fc8cd._0x412261,_0x2fc8cd._0xbb20fe)],'error':_0x5df53f['error'],'truncated':_0x5df53f[_0x6240eb(0x146,0x17e,_0x2fc8cd._0x52d705,0x3e)]});}});}import{spawn as _0x112d19}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x1b2294 from'os';import*as _0x38f171 from'path';import{StringDecoder as _0x54935d}from'string_decoder';import{spawn as _0x5bd434}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x29f8f1){return _0x29f8f1 instanceof Error;}function resolveCarriageReturns(_0x1778e5){const _0x153a2a={_0x49d90e:0x300,_0x39e5ab:0x222,_0x1dd8f1:0x27d,_0x4d7643:0x1a9,_0x2c03e3:0x406,_0x8bffec:0x47e,_0x3a207b:0x2f0,_0x4c2d44:0x3c6},_0x3922b3={_0x2e3d38:0x17f},_0x57a409={_0x1a6ffd:0x1c0,_0x56386c:0x3e};function _0x46c833(_0x4fa1b9,_0x12c47f,_0x51a283,_0x252ecd){return _0x5da4fe(_0x51a283-0xec,_0x12c47f-_0x57a409._0x1a6ffd,_0x4fa1b9,_0x252ecd-_0x57a409._0x56386c);}function _0x1a4815(_0x19c8b1,_0x43d151,_0x3688da,_0x2b98d6){return _0x5da4fe(_0x43d151-_0x3922b3._0x2e3d38,_0x43d151-0x1e4,_0x19c8b1,_0x2b98d6-0x141);}return _0x1778e5[_0x46c833(_0x153a2a._0x49d90e,_0x153a2a._0x39e5ab,_0x153a2a._0x1dd8f1,_0x153a2a._0x4d7643)]('\x0a')[_0x46c833(_0x153a2a._0x2c03e3,0x23a,0x383,_0x153a2a._0x8bffec)](_0x40b885=>{if(!_0x40b885['includes']('\x0d'))return _0x40b885;const _0x49b726=_0x40b885['split']('\x0d');return _0x49b726[_0x49b726['length']-0x1]??'';})[_0x1a4815(0x255,_0x153a2a._0x3a207b,_0x153a2a._0x4c2d44,0x216)]('\x0a');}function resolveBackspaces(_0x287fdf){const _0x5392f6={_0x374779:0x176,_0x201670:0x37,_0x45c1ac:0x2d9,_0x20d9b9:0x2fc,_0x1adf89:0x341},_0x5eddef={_0x1c1172:0x133,_0x3b9604:0x4d0},_0x3be526={_0x50eefe:0xf,_0x1770b1:0x86},_0x510063=[];function _0x16e45f(_0x5433e3,_0x2e92e8,_0x5f8108,_0x179f23){return _0x2389b1(_0x5433e3-_0x3be526._0x50eefe,_0x2e92e8-_0x3be526._0x1770b1,_0x5433e3,_0x2e92e8- -0x1ca);}for(const _0x508ce3 of Array[_0x40bce9(0x4,-0xce,-0xc4,0xad)](_0x287fdf)){_0x508ce3==='\x08'?_0x510063[_0x16e45f(0x399,0x483,0x45a,0x46f)]():_0x510063[_0x40bce9(_0x5392f6._0x374779,-_0x5392f6._0x201670,0x187,_0x5392f6._0x45c1ac)](_0x508ce3);}function _0x40bce9(_0x4d2958,_0x283cf9,_0x5e7c02,_0x3c5387){return _0x2389b1(_0x4d2958-_0x5eddef._0x1c1172,_0x283cf9-0x7d,_0x5e7c02,_0x4d2958- -_0x5eddef._0x3b9604);}return _0x510063[_0x16e45f(0x173,_0x5392f6._0x20d9b9,0x3fd,_0x5392f6._0x1adf89)]('');}function stripAnsiAndControls(_0x5debd5){const _0x450967={_0x2503ac:0x1c9,_0x54b2c6:0x19c,_0x4f9eed:0x333,_0x4d3115:0x17,_0x1281e6:0xfc,_0x1ecd0a:0x86,_0x354086:0x1d6,_0x59601b:0x2fe,_0x247507:0x2ad,_0x5ad6b0:0x95,_0x45484c:0x2c,_0x37b74b:0x95,_0x197e2c:0xc9,_0x110c75:0x1bb,_0x96e02e:0xf0,_0x14ff5c:0xd5,_0x2dad96:0x213,_0x4c859c:0x161,_0x43fa81:0x150,_0x1bce5b:0x249},_0x15421b={_0x2ed7d0:0x1a2},_0x3c8baa={_0x49901d:0x2e,_0x48276a:0xfc};function _0x26ab18(_0x4a9519,_0xfbc0e7,_0x3f7a47,_0x2b4102){return _0x5da4fe(_0x4a9519- -0x3f7,_0xfbc0e7-_0x3c8baa._0x49901d,_0x2b4102,_0x2b4102-_0x3c8baa._0x48276a);}_0x5debd5=resolveCarriageReturns(_0x5debd5),_0x5debd5=resolveBackspaces(_0x5debd5),_0x5debd5=stripVTControlCharacters(_0x5debd5);const _0x2f0949='\x1b',_0x349bcd='\x07';_0x5debd5=_0x5debd5[_0x26ab18(-0x213,-_0x450967._0x2503ac,-_0x450967._0x54b2c6,-_0x450967._0x4f9eed)](new RegExp(_0x395cc4(_0x450967._0x4d3115,0x12e,_0x450967._0x1281e6,_0x450967._0x1ecd0a)+_0x349bcd+'\x5cn]*?'+_0x349bcd,'g'),''),_0x5debd5=_0x5debd5[_0x395cc4(-0x6,0x207,0x95,-0xc8)](new RegExp(_0x395cc4(_0x450967._0x354086,_0x450967._0x59601b,0x373,_0x450967._0x247507)+_0x2f0949+'\x5c\x5c','g'),''),_0x5debd5=_0x5debd5[_0x395cc4(0x92,0x85,_0x450967._0x5ad6b0,-0x78)](new RegExp(_0x349bcd,'g'),''),_0x5debd5=_0x5debd5[_0x395cc4(0x1b6,-_0x450967._0x45484c,_0x450967._0x37b74b,0x1e0)](new RegExp(_0x2f0949+'[P_^][\x5cs\x5cS]*?'+_0x2f0949+'\x5c\x5c','g'),'');function _0x395cc4(_0x1afb54,_0x58090b,_0x8024bc,_0x4983d0){return _0x5da4fe(_0x8024bc- -0x14f,_0x58090b-0x5e,_0x4983d0,_0x4983d0-_0x15421b._0x2ed7d0);}return _0x5debd5=_0x5debd5[_0x26ab18(-0x213,-0x2a8,-_0x450967._0x197e2c,-0xfc)](new RegExp(_0x2f0949+_0x395cc4(-0x1,-0x3e,0x18,_0x450967._0x110c75),'g'),''),_0x5debd5=_0x5debd5[_0x395cc4(0x1ee,-_0x450967._0x96e02e,0x95,_0x450967._0x14ff5c)](/[\u0080-\u009F]/g,''),_0x5debd5=_0x5debd5[_0x26ab18(-_0x450967._0x2dad96,-0x3cb,-0x17e,-_0x450967._0x4c859c)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x5debd5=_0x5debd5[_0x395cc4(0x19,_0x450967._0x43fa81,0x95,_0x450967._0x1bce5b)](/[\u23CE\u2424]/g,''),_0x5debd5;}function killProcessGroup(_0xaee5d2,_0xce7e9e,_0x283093=_0x5da4fe(0x459,0x4f3,0x3b2,0x446)){const _0x535599={_0x4e6ccc:0x9d,_0x427a29:0xf7,_0x9beb33:0x202,_0x225284:0xbd,_0x2ea456:0x36,_0x52bfea:0x5d,_0x2112c8:0x133,_0x5440e4:0x137,_0x761299:0x2c,_0x56f5af:0xfb,_0x4e6d61:0x256,_0x40822c:0x23c,_0x44b319:0xed,_0x5c9e65:0x297,_0x55fefb:0xe0,_0x54bc85:0x18d,_0xaa1a40:0x273,_0x10e0e3:0x50,_0x25d555:0x99,_0x465094:0xdd,_0x10834e:0x269,_0x442f6c:0x33f,_0x781a0:0x118},_0x51fc8e={_0x17bcf7:0xd2},_0x4d04fd={_0x147f1b:0x141};function _0xbad11c(_0x1c78dd,_0x1b49c5,_0x3af936,_0x5c1f78){return _0x5da4fe(_0x1c78dd- -0x30b,_0x1b49c5-0x185,_0x3af936,_0x5c1f78-_0x4d04fd._0x147f1b);}if(!_0xaee5d2[_0x170ea2(-_0x535599._0x4e6ccc,_0x535599._0x427a29,_0x535599._0x9beb33,0x11b)])return;function _0x170ea2(_0x3f28f8,_0x52c334,_0x331371,_0x5676e4){return _0x5da4fe(_0x5676e4- -0x240,_0x52c334-_0x51fc8e._0x17bcf7,_0x52c334,_0x5676e4-_0x51fc8e._0x17bcf7);}if(_0xce7e9e)try{_0x5bd434('taskkill',[_0x170ea2(0x4a,-0xc8,-_0x535599._0x225284,0x6c),_0xaee5d2[_0xbad11c(0x50,-_0x535599._0x2ea456,0xd7,-_0x535599._0x52bfea)][_0xbad11c(-_0x535599._0x2112c8,-_0x535599._0x5440e4,-0xde,-_0x535599._0x761299)](),'/T','/F'],{'stdio':_0xbad11c(-_0x535599._0x56f5af,-_0x535599._0x4e6d61,-0x22,-0x16c)});return;}catch{_0xaee5d2[_0x170ea2(_0x535599._0x40822c,_0x535599._0x44b319,0x2f7,0x273)](_0x283093);return;}try{process[_0x170ea2(_0x535599._0x5c9e65,_0x535599._0x55fefb,_0x535599._0x54bc85,_0x535599._0xaa1a40)](-_0xaee5d2[_0xbad11c(_0x535599._0x10e0e3,-_0x535599._0x25d555,0x20d,_0x535599._0x465094)],_0x283093);}catch{_0xaee5d2[_0x170ea2(_0x535599._0x10834e,_0x535599._0x442f6c,_0x535599._0x781a0,0x273)](_0x283093);}}import{stat}from'fs/promises';import*as _0x5aed75 from'path';function isPathInside(_0x41b2ed,_0x8d0b11){const _0x22e863={_0x4ffd71:0x5a7,_0x2f899e:0x71a,_0x640c5b:0x2a7,_0x25417d:0x2ed,_0x32dbf0:0x10a},_0x2fcf1e={_0x5118a6:0x19c},_0x2c1248={_0x570883:0xc0,_0x4459a9:0x13c};function _0x5a373d(_0x2e8c1a,_0x51d75c,_0x26d2a3,_0xeb8982){return _0x5da4fe(_0x2e8c1a-_0x2c1248._0x570883,_0x51d75c-0x174,_0x51d75c,_0xeb8982-_0x2c1248._0x4459a9);}const _0x343fd4=_0x5aed75['resolve'](_0x41b2ed),_0x52e2ec=_0x5aed75[_0x5a373d(_0x22e863._0x4ffd71,0x551,0x57d,_0x22e863._0x2f899e)](_0x343fd4,_0x8d0b11);function _0x2f5f5e(_0x1d01e9,_0xe50874,_0x51a40e,_0x3c9daa){return _0x2389b1(_0x1d01e9-_0x2fcf1e._0x5118a6,_0xe50874-0xa,_0x51a40e,_0x3c9daa- -0x442);}return _0x52e2ec===''||!_0x52e2ec[_0x2f5f5e(_0x22e863._0x640c5b,0x1a5,_0x22e863._0x25417d,0x187)]('..')&&!_0x5aed75[_0x2f5f5e(0x2e,0x94,0x127,_0x22e863._0x32dbf0)](_0x52e2ec);}function resolveWorkspacePath(_0x5349ca,_0x4471a0){return resolveAllowedPath(_0x5349ca,[],_0x4471a0);}function resolveAllowedPath(_0x29bfcf,_0xafba85,_0x34657c){const _0x5c29ac={_0x28e1b0:0x5c0,_0x247da0:0x42e,_0x4729f9:0x4d3,_0xfbe49d:0x3ca,_0x4c4a13:0x77f,_0x55f596:0x556},_0x89cc76={_0x52884a:0x1ed},_0x24efdc={_0x241c11:0x1a},_0x59a871=_0x5aed75[_0x260e88(0x57c,_0x5c29ac._0x28e1b0,_0x5c29ac._0x247da0,_0x5c29ac._0x4729f9)](_0x29bfcf);function _0x1e8034(_0x30401d,_0x49c8a1,_0x257bd7,_0x4cd396){return _0x5da4fe(_0x4cd396-0xb8,_0x49c8a1-_0x24efdc._0x241c11,_0x30401d,_0x4cd396-0x2d);}const _0x301cfd=_0x5aed75['resolve'](_0x59a871,_0x34657c);function _0x260e88(_0x2a2651,_0x68202a,_0x10b7e5,_0x41545f){return _0x5da4fe(_0x41545f-0x31c,_0x68202a-_0x89cc76._0x52884a,_0x10b7e5,_0x41545f-0x10c);}const _0x4b3e2f=[_0x59a871,..._0xafba85[_0x1e8034(_0x5c29ac._0xfbe49d,0x4a2,0x458,0x34f)](_0x5ec4e2=>_0x5aed75[_0x260e88(0x496,0x535,0x47f,0x4d3)](_0x5ec4e2))];if(_0x4b3e2f['some'](_0x45d41a=>isPathInside(_0x45d41a,_0x301cfd)))return _0x301cfd;throw new ToolExecutionError(_0x260e88(_0x5c29ac._0x4c4a13,0x641,_0x5c29ac._0x55f596,0x5f2)+_0x34657c,{'path':_0x34657c,'rootDir':_0x59a871,'allowedDirs':_0x4b3e2f});}async function assertWorkspaceFile(_0x142e81){const _0x4f37a4={_0x4d8b76:0x652,_0x271e13:0x501},_0x391b07={_0x2fc944:0xd4};function _0x10475e(_0x281dd2,_0x45b16e,_0x5a086f,_0x10ec3b){return _0x2389b1(_0x281dd2-0x19e,_0x45b16e-_0x391b07._0x2fc944,_0x5a086f,_0x281dd2- -0x72);}const _0x53e0bd=await stat(_0x142e81);if(!_0x53e0bd[_0x10475e(_0x4f37a4._0x4d8b76,0x80e,_0x4f37a4._0x271e13,0x7a3)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x142e81,{'path':_0x142e81});}function isProbablyBinary(_0x43b0b2){const _0x28b696={_0x548908:0x5d8,_0x113570:0x71e},_0x43ee7c={_0x4283a5:0x172,_0xa7ba7e:0x276};function _0x51b388(_0x852129,_0x4c7ed2,_0x54c233,_0x13a02b){return _0x2389b1(_0x852129-_0x43ee7c._0x4283a5,_0x4c7ed2-0x12c,_0x4c7ed2,_0x852129- -_0x43ee7c._0xa7ba7e);}return _0x43b0b2[_0x51b388(0x5bf,_0x28b696._0x548908,_0x28b696._0x113570,0x5af)](0x0);}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+_0x5da4fe(0x269,0x179,0x271,0x29a);function buildChildEnv(_0x288a8b,_0x33df49,_0x848bd7){const _0x221c52={_0xbe1a5:0x66,_0x1e8442:0x98,_0x487bd2:0x185,_0x549767:0x1d2,_0x1925da:0x123,_0x4f2ea2:0x276,_0x5ca3e8:0x348,_0x3d7ce3:0x3a5,_0x9f84b5:0x48e},_0x8ce292={_0x3b8f9a:0x281},_0x4ce3de={_0x4902a6:0x166};function _0x52fc43(_0x554ab8,_0x2edffd,_0x447cf4,_0x5274e6){return _0x2389b1(_0x554ab8-_0x4ce3de._0x4902a6,_0x2edffd-0x141,_0x2edffd,_0x5274e6- -0x408);}const _0x229021={...process['env'],..._0x288a8b??{}};if(_0x1b2294[_0x4f059f(0x7f,-0x9c,_0x221c52._0xbe1a5,-_0x221c52._0x1e8442)]()==='win32'){const _0x463790=new Set(_0x33df49[_0x4f059f(_0x221c52._0x487bd2,_0x221c52._0x549767,0x19a,0x16)](_0x578c31=>_0x578c31['toLowerCase']()));for(const _0x224887 of Object['keys'](_0x229021)){if(_0x463790[_0x4f059f(0x204,0xae,_0x221c52._0x1925da,0x12a)](_0x224887[_0x52fc43(0x2b7,0x2fb,0x3a7,_0x221c52._0x4f2ea2)]()))delete _0x229021[_0x224887];}}else{for(const _0x1ea947 of _0x33df49)delete _0x229021[_0x1ea947];if(_0x848bd7[_0x52fc43(_0x221c52._0x5ca3e8,_0x221c52._0x3d7ce3,_0x221c52._0x9f84b5,0x414)]>0x0)for(const _0x55fe54 of Object['keys'](_0x229021)){_0x848bd7['some'](_0x5b8075=>_0x55fe54[_0x52fc43(0x330,0x36,0x1df,0x1c1)](_0x5b8075))&&delete _0x229021[_0x55fe54];}}function _0x4f059f(_0x2c7b0b,_0x159960,_0x52d33b,_0x1820fc){return _0x5da4fe(_0x1820fc- -_0x8ce292._0x3b8f9a,_0x159960-0x18a,_0x159960,_0x1820fc-0x1f);}return _0x229021;}function mapSpawnError(_0x3e9598,_0x327424){const _0x3926e={_0x2c0e84:0x63c,_0xbcc70a:0x5b6,_0xf174e7:0x74c,_0x447402:0x607},_0x113cb0={_0x262032:0xb6,_0x194f5f:0x155,_0x567fd6:0xa4},_0x13b99b={_0x252abc:0xea};function _0x4657b4(_0x1cc249,_0x2acacc,_0x10402c,_0x33ab61){return _0x2389b1(_0x1cc249-0x49,_0x2acacc-_0x13b99b._0x252abc,_0x1cc249,_0x2acacc-0x13);}if(isErrnoException(_0x3e9598)&&_0x3e9598['code']==='ENOENT')return new ToolExecutionError(_0x4657b4(_0x3926e._0x2c0e84,0x505,_0x3926e._0xbcc70a,0x36e)+_0x327424[_0x4657b4(_0x3926e._0xf174e7,_0x3926e._0x447402,0x56d,0x6ac)],_0x327424);function _0x129412(_0x22b791,_0x11e99c,_0x218310,_0x2410dd){return _0x5da4fe(_0x2410dd-_0x113cb0._0x262032,_0x11e99c-_0x113cb0._0x194f5f,_0x22b791,_0x2410dd-_0x113cb0._0x567fd6);}return new ToolExecutionError(_0x3e9598 instanceof Error?_0x3e9598['message']:String(_0x3e9598),_0x327424);}function shellExists(_0x5eef9a){const _0x2a1b09={_0x384dfb:0xe5};function _0x2c6c6a(_0x1c387e,_0x12c76a,_0x629b88,_0xd9a346){return _0x2389b1(_0x1c387e-0x1d5,_0x12c76a-_0x2a1b09._0x384dfb,_0x629b88,_0xd9a346- -0x745);}try{const _0x45615d=statSync(_0x5eef9a);return _0x45615d[_0x2c6c6a(-0x19f,-0x1d9,0x3d,-0x81)]()&&(_0x45615d['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0xf60cc9){const _0x3914ae={_0x4c50b6:0x6b,_0x2b3b24:0x3fb,_0x446f94:0x112,_0x29060d:0x12,_0x169de2:0x1ab,_0x320387:0x479,_0x59d765:0x491,_0x41cb32:0x39f,_0x2f2e58:0x17c,_0x16de34:0x1d5,_0x3e284c:0x266,_0x5d8be3:0x3c0,_0xc5409:0x400,_0x263162:0x2c2,_0x1dbb80:0x1f},_0x856f60={_0xc45f2e:0x170},_0x3d25bd={_0x33e035:0x6e};if(_0xf60cc9)return _0xf60cc9;if(_0x1b2294[_0x2116ac(-_0x3914ae._0x4c50b6,0x21,-0x92,-0x17f)]()===_0x408be4(0x1e4,_0x3914ae._0x2b3b24,0x19d,0x343))return process[_0x2116ac(-0x1a,0x16,0x106,0xd5)][_0x2116ac(-_0x3914ae._0x446f94,-_0x3914ae._0x29060d,0x86,-_0x3914ae._0x169de2)]||'cmd.exe';const _0xf39ca1=[_0x408be4(_0x3914ae._0x320387,0x3eb,_0x3914ae._0x59d765,_0x3914ae._0x41cb32),'/bin/sh',_0x2116ac(_0x3914ae._0x2f2e58,_0x3914ae._0x16de34,0x7d,_0x3914ae._0x3e284c),_0x408be4(_0x3914ae._0x5d8be3,_0x3914ae._0xc5409,0x30c,_0x3914ae._0x263162)];function _0x408be4(_0x185b09,_0x350d14,_0x1d9939,_0x1459d5){return _0x2389b1(_0x185b09-0x19c,_0x350d14-_0x3d25bd._0x33e035,_0x1d9939,_0x1459d5- -0x446);}for(const _0x5efd05 of _0xf39ca1){if(shellExists(_0x5efd05))return _0x5efd05;}function _0x2116ac(_0x454ea3,_0x59a244,_0x3e0c33,_0x1800fd){return _0x2389b1(_0x454ea3-0x57,_0x59a244-_0x856f60._0xc45f2e,_0x1800fd,_0x59a244- -0x51d);}const _0x961759=process[_0x408be4(-_0x3914ae._0x1dbb80,0x254,0x10a,0xed)][_0x408be4(0x29e,0x4fe,0x216,0x3d8)];if(_0x961759&&shellExists(_0x961759))return _0x961759;return'/bin/bash';}function buildShellArgs(_0x82ad52,_0x53bdcc){const _0x320647={_0x5cc46f:0x373,_0x33d667:0x4d9,_0x2f3e2b:0x66f,_0x4b52f8:0x3eb,_0x1ff871:0x7e1,_0x11b72f:0x724,_0x3bb027:0x703,_0x586c06:0x767,_0x140731:0x584,_0xb30f24:0x782,_0xa10efc:0x473},_0x16ba41={_0xa403c2:0x9d,_0x907008:0x65},_0x195e77={_0x525899:0x1ea,_0x1a85e3:0x44};function _0x193e3a(_0x2fbcee,_0x426acd,_0x2dbfd4,_0x12265b){return _0x2389b1(_0x2fbcee-_0x195e77._0x525899,_0x426acd-_0x195e77._0x1a85e3,_0x426acd,_0x2fbcee-0x16);}if(_0x1b2294[_0x525d42(_0x320647._0x5cc46f,_0x320647._0x33d667,_0x320647._0x2f3e2b,_0x320647._0x4b52f8)]()===_0x525d42(_0x320647._0x1ff871,_0x320647._0x11b72f,0x70e,0x7e5)){const _0x5e2abc=/cmd(\.exe)?$/i[_0x193e3a(0x77f,_0x320647._0x3bb027,0x5e4,_0x320647._0x586c06)](_0x53bdcc);return _0x5e2abc?['/d','/s','/c',_0x82ad52]:[_0x525d42(0x40b,0x532,0x570,_0x320647._0x140731),_0x525d42(0x75d,_0x320647._0xb30f24,0x89e,0x72a),_0x193e3a(0x51a,0x5eb,_0x320647._0xa10efc,0x52d),_0x82ad52];}function _0x525d42(_0x16a06a,_0x53a69f,_0x31003c,_0x548ca3){return _0x2389b1(_0x16a06a-_0x16ba41._0xa403c2,_0x53a69f-0x193,_0x16a06a,_0x53a69f- -_0x16ba41._0x907008);}return['-c',_0x82ad52];}function resolveWorkingDirectory(_0x167709,_0x27c6d4,_0x261202){const _0x38d947={_0x515ddb:0xe5,_0xce332d:0x284},_0xa44027={_0x42b18c:0x1ad,_0x3d3173:0x34,_0x1a158b:0x46e},_0x33d9c7={_0x230e9e:0x93},_0x5b80ca={_0x4fbaa6:0x61,_0x31470d:0x79,_0x5b601a:0x6ec},_0x40c0ea={_0x48d51a:0xaf,_0x4b23c9:0xa8},_0x19f8cb=resolveAllowedPath(_0x27c6d4,_0x261202,_0x167709??'.');function _0x4b523c(_0x5a499a,_0x2c1699,_0x2190de,_0x1473d6){return _0x2389b1(_0x5a499a-_0x40c0ea._0x48d51a,_0x2c1699-_0x40c0ea._0x4b23c9,_0x5a499a,_0x2190de- -0x431);}function _0x103161(_0x510fed,_0x7e92de,_0xd91c5,_0x1705a1){return _0x2389b1(_0x510fed-_0x5b80ca._0x4fbaa6,_0x7e92de-_0x5b80ca._0x31470d,_0xd91c5,_0x7e92de- -_0x5b80ca._0x5b601a);}try{const _0x55589b=statSync(_0x19f8cb);if(!_0x55589b['isDirectory']())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x19f8cb,{'cwd':_0x19f8cb});const _0x44f1e7=realpathSync(_0x19f8cb),_0x45e019=realpathSync(_0x27c6d4),_0x2e7654=_0x261202[_0x103161(-_0x38d947._0x515ddb,-0x100,-0x20b,-0x2bc)](_0x3a3876=>{const _0x99b08c={_0x4a26b5:0xf0,_0x2b404a:0x51b};function _0x5c6790(_0x28fb98,_0x3edce5,_0xecd76,_0x3794ab){return _0x103161(_0x28fb98-_0x33d9c7._0x230e9e,_0x28fb98-0x1ca,_0x3794ab,_0x3794ab-0xc5);}function _0x38102d(_0x364c18,_0x3d6d32,_0x4850b6,_0x2ab28f){return _0x103161(_0x364c18-_0x99b08c._0x4a26b5,_0x2ab28f-_0x99b08c._0x2b404a,_0x3d6d32,_0x2ab28f-0x69);}try{return realpathSync(_0x38f171[_0x5c6790(-0x16,_0xa44027._0x42b18c,0xa0,-_0xa44027._0x3d3173)](_0x3a3876));}catch{return _0x38f171[_0x38102d(0x1cf,_0xa44027._0x1a158b,0x45f,0x33b)](_0x3a3876);}});return resolveAllowedPath(_0x45e019,_0x2e7654,_0x44f1e7);}catch(_0xc00b56){if(_0xc00b56 instanceof ToolExecutionError)throw _0xc00b56;throw new ToolExecutionError(_0x4b523c(0x3cd,0xc6,_0x38d947._0xce332d,0x1cb)+_0x19f8cb,{'cwd':_0x19f8cb});}}function resolveBashExecutionTarget(_0x3c8012,_0x3effc6={}){const _0xee4786={_0x22f079:0x5a1,_0x460190:0x465,_0x40ece7:0x109,_0x1583cd:0x165,_0x5b46eb:0x158,_0x192a19:0x19a,_0x39b25f:0x6cc,_0x4bfd29:0x34b,_0x406bad:0x5ea,_0x493903:0x541,_0x65ef78:0x6a1,_0x5a2126:0x56b,_0x477062:0x83},_0x3b06ec={_0x20e639:0xe3,_0x11eaeb:0x5f9},_0x508362={_0x1649e5:0x174,_0x6aa1c0:0x129},_0x563776=_0x38f171[_0x484089(0x3c4,0x3e3,_0xee4786._0x22f079,_0xee4786._0x460190)](_0x3effc6[_0x338fad(_0xee4786._0x40ece7,_0xee4786._0x1583cd,_0xee4786._0x5b46eb,_0xee4786._0x192a19)]??process[_0x484089(_0xee4786._0x39b25f,0x6d9,0x883,0x5dc)]());function _0x484089(_0xfda248,_0x163829,_0x53bff2,_0x526be9){return _0x2389b1(_0xfda248-0x1e6,_0x163829-_0x508362._0x1649e5,_0x526be9,_0x163829- -_0x508362._0x6aa1c0);}function _0x338fad(_0x1bf888,_0x32b97b,_0x19d234,_0xb6ad64){return _0x2389b1(_0x1bf888-_0x3b06ec._0x20e639,_0x32b97b-0x1f3,_0x32b97b,_0x19d234- -_0x3b06ec._0x11eaeb);}const _0x5d8ec7=resolveDefaultShell(_0x3effc6[_0x484089(_0xee4786._0x4bfd29,0x4cb,0x5e1,0x369)]);return{'command':_0x3c8012[_0x484089(0x4e0,0x458,0x5ad,0x374)],'cwd':resolveWorkingDirectory(_0x3c8012[_0x484089(_0xee4786._0x406bad,0x6d9,_0xee4786._0x493903,_0xee4786._0x65ef78)],_0x563776,_0x3effc6[_0x484089(0x3d5,_0xee4786._0x5a2126,0x47c,0x616)]??[]),'shellPath':_0x5d8ec7,'dialect':resolveShellDialect(_0x5d8ec7),'background':_0x3c8012[_0x338fad(0xa0,_0xee4786._0x477062,-0x7f,0x102)]??![]};}function resolveShellDialect(_0x4d057a){const _0x3c04d3={_0x263f70:0x78,_0x5a77e5:0x74,_0x45e88c:0x418,_0x16d4f2:0x422,_0x52d7bb:0x519,_0x4ce237:0x6b7,_0x485517:0x618,_0x32f861:0x42b,_0x235433:0x344,_0x2b6eb9:0x537,_0x318236:0xb4,_0x72f66d:0x106,_0x4b3620:0x115,_0x27ac13:0x3b3},_0x12a507={_0x2f861f:0x60};if(_0x1b2294[_0x433147(0x133,0x17c,_0x3c04d3._0x263f70,_0x3c04d3._0x5a77e5)]()===_0x17f06e(0x79c,0x8ca,0x79a,0x7c4))return _0x433147(0x410,_0x3c04d3._0x45e88c,0x2b4,_0x3c04d3._0x16d4f2);const _0x33ab86=_0x38f171[_0x17f06e(_0x3c04d3._0x52d7bb,0x698,0x6d2,0x56b)](_0x4d057a)[_0x17f06e(_0x3c04d3._0x4ce237,0x7d1,_0x3c04d3._0x485517,0x6b9)]();function _0x433147(_0x3d9a7e,_0x1d225a,_0x54da70,_0x4f69ea){return _0x5da4fe(_0x3d9a7e- -0xb6,_0x1d225a-0x88,_0x1d225a,_0x4f69ea-0x194);}function _0x17f06e(_0x479cd6,_0x565598,_0x27b16b,_0x5d90dd){return _0x2389b1(_0x479cd6-0xd5,_0x565598-_0x12a507._0x2f861f,_0x27b16b,_0x5d90dd-0x3b);}if(_0x33ab86==='bash')return _0x433147(_0x3c04d3._0x32f861,0x2e8,_0x3c04d3._0x235433,0x485);if(_0x33ab86==='sh'||_0x33ab86===_0x433147(0x3c8,0x2d7,0x3a2,_0x3c04d3._0x2b6eb9))return _0x433147(_0x3c04d3._0x318236,0x179,0x43,_0x3c04d3._0x72f66d);return _0x433147(0x288,_0x3c04d3._0x4b3620,0x2e6,_0x3c04d3._0x27ac13);}function emitChunk(_0x1dbcce,_0x331b4d,_0x234d03,_0x1518ba){const _0x4862a9={_0x15c7e6:0x293,_0x4762e7:0x1b4,_0x59637b:0x152},_0x5c1706={_0x4b9424:0x191,_0x505926:0x197,_0x2ac608:0xa5},_0x223091={_0x48a14e:0x19f};_0x1dbcce[_0x24c2c3(0x206,0x125,-0x33,0x152)](_0x234d03);function _0x24c2c3(_0x464a47,_0x32ee54,_0x494b51,_0x887e0){return _0x5da4fe(_0x887e0- -_0x223091._0x48a14e,_0x32ee54-0x1bf,_0x464a47,_0x887e0-0x121);}function _0x507240(_0x3d317d,_0x9dc376,_0x4682ed,_0x34b99b){return _0x2389b1(_0x3d317d-_0x5c1706._0x4b9424,_0x9dc376-_0x5c1706._0x505926,_0x3d317d,_0x34b99b- -_0x5c1706._0x2ac608);}_0x331b4d[_0x24c2c3(0xab,_0x4862a9._0x15c7e6,_0x4862a9._0x4762e7,_0x4862a9._0x59637b)](_0x234d03),_0x1518ba();}function appendChunk(_0x51ce2d,_0x3a22ce,_0x3f7854,_0x5f30f6,_0x33c589,_0xf55d6d){const _0x1da591={_0x2045e1:0x6ff,_0x22b801:0x72f,_0x41fecd:0x304,_0x1cab70:0x3fe,_0x9b9b2e:0x528,_0x338b87:0x3b4,_0x3b6f3e:0x5c7,_0x598f06:0x335,_0x26fdb6:0x30a,_0x11110b:0xa2,_0x1cf9d2:0x14b,_0x1b15ee:0x48e,_0x58d860:0x3c0,_0x100f7e:0x4c6,_0x46ae51:0x623,_0x1a7955:0x36e,_0x4ab6a4:0x4b5,_0x249e36:0x62e,_0x471024:0x46f,_0x4f60f3:0x5a3,_0x166698:0x48a,_0x21d4f8:0x65f,_0x35c299:0x498,_0x415409:0x3a3},_0x536b3c={_0x3de972:0x42},_0x282bc3={_0x3ee740:0x4,_0x431f75:0xa},_0x247723=_0x5f30f6?stripAnsiAndControls(_0x3f7854):_0x3f7854;function _0x5ab8a8(_0x4559f6,_0x2b7ba6,_0xbd31bd,_0x30b643){return _0x5da4fe(_0x2b7ba6-_0x282bc3._0x3ee740,_0x2b7ba6-0x147,_0x4559f6,_0x30b643-_0x282bc3._0x431f75);}if(_0x247723[_0x587649(_0x1da591._0x2045e1,0x895,0x810,_0x1da591._0x22b801)]===0x0)return;if(!_0xf55d6d){emitChunk(_0x51ce2d,_0x3a22ce,_0x247723,_0x33c589);return;}let _0x5253bb=0x0;function _0x587649(_0x4c73ff,_0x4734a3,_0x40348c,_0x2bf707){return _0x5da4fe(_0x4c73ff-0x238,_0x4734a3-0x104,_0x40348c,_0x2bf707-_0x536b3c._0x3de972);}let _0x4f7df1=_0x247723[_0x5ab8a8(_0x1da591._0x41fecd,0x292,0x267,0x2d0)]('\x0a');while(_0x4f7df1>=0x0){_0xf55d6d['trailingChunks'][_0x5ab8a8(0x373,0x2f5,_0x1da591._0x1cab70,0x4a9)](_0x247723[_0x587649(_0x1da591._0x9b9b2e,0x55f,_0x1da591._0x338b87,0x44c)](_0x5253bb,_0x4f7df1));const _0x29e143=_0xf55d6d[_0x5ab8a8(_0x1da591._0x3b6f3e,0x44c,0x5bb,_0x1da591._0x598f06)][_0x5ab8a8(_0x1da591._0x26fdb6,0x175,_0x1da591._0x11110b,_0x1da591._0x1cf9d2)]('');_0xf55d6d[_0x587649(0x680,0x7a6,0x818,0x5fb)][_0x5ab8a8(0x5c7,0x4cb,0x38c,_0x1da591._0x1b15ee)]=0x0,_0xf55d6d[_0x587649(_0x1da591._0x58d860,0x4c0,0x445,0x2ca)]['test'](_0x29e143)&&emitChunk(_0x51ce2d,_0x3a22ce,_0x29e143+'\x0a',_0x33c589),_0x5253bb=_0x4f7df1+0x1,_0x4f7df1=_0x247723[_0x587649(_0x1da591._0x100f7e,_0x1da591._0x46ae51,0x4b5,_0x1da591._0x1a7955)]('\x0a',_0x5253bb);}_0x5253bb<_0x247723[_0x5ab8a8(_0x1da591._0x4ab6a4,0x4cb,_0x1da591._0x249e36,_0x1da591._0x471024)]&&_0xf55d6d[_0x5ab8a8(_0x1da591._0x4f60f3,0x44c,_0x1da591._0x166698,0x404)][_0x587649(0x529,_0x1da591._0x21d4f8,_0x1da591._0x35c299,0x56c)](_0x247723[_0x587649(_0x1da591._0x9b9b2e,_0x1da591._0x415409,0x633,0x5ed)](_0x5253bb));}function flushOutputRegex(_0x289207,_0x34bab2,_0x585084,_0x5851f2){const _0x909091={_0x4820f2:0x2b3,_0x5f2983:0x2c1,_0xfc1ff9:0x231,_0x4a8c2d:0x35e,_0x17132e:0x421,_0x5ccfb0:0x4f3,_0x2b7625:0xb6,_0x299dd5:0x1b2,_0x5b68bb:0x2df,_0x3fe7e3:0x336,_0xdc0be4:0x332,_0x43426f:0x276,_0x34716e:0x2ab,_0x2c6a44:0x26d,_0x33f659:0x271},_0x4ddbdd={_0x4893aa:0x146},_0x3e9b3c={_0x58ffe6:0x17a,_0x21c731:0x4ea};if(!_0x585084||_0x585084[_0x5dc1d6(_0x909091._0x4820f2,_0x909091._0x5f2983,_0x909091._0xfc1ff9,0x3b2)][_0xd32647(_0x909091._0x4a8c2d,_0x909091._0x17132e,0x30c,_0x909091._0x5ccfb0)]===0x0)return;function _0x5dc1d6(_0x1e2eae,_0x382310,_0x524161,_0x23431f){return _0x2389b1(_0x1e2eae-0x129,_0x382310-_0x3e9b3c._0x58ffe6,_0x524161,_0x1e2eae- -_0x3e9b3c._0x21c731);}const _0x2f8296=_0x585084['trailingChunks'][_0x5dc1d6(-0x24,-_0x909091._0x2b7625,-_0x909091._0x299dd5,-0x1a4)]('');_0x585084[_0xd32647(_0x909091._0x5b68bb,0x13e,0x18b,_0x909091._0x3fe7e3)][_0x5dc1d6(_0x909091._0xdc0be4,0x32d,0x18a,_0x909091._0x43426f)]=0x0;function _0xd32647(_0x26972e,_0x182d65,_0x429ca2,_0x9b0bd8){return _0x5da4fe(_0x26972e- -0x169,_0x182d65-0xbf,_0x429ca2,_0x9b0bd8-_0x4ddbdd._0x4893aa);}_0x585084['regex'][_0xd32647(_0x909091._0x34716e,_0x909091._0x2c6a44,_0x909091._0x33f659,0x1c3)](_0x2f8296)&&emitChunk(_0x289207,_0x34bab2,_0x2f8296,_0x5851f2);}function createBashTool(_0x15ee60={}){const _0x29baf0={_0x1f4c68:0x19c,_0x537185:0x15a,_0x49c3c4:0xbd,_0x285714:0x3cf,_0x2d9d45:0x40a,_0x16f532:0x17f,_0x3c58ce:0x1ac,_0x25db6f:0x21f,_0x52b647:0xbb,_0x55a6d5:0x1e9,_0x3c68ea:0xf6,_0x42de4d:0x385,_0x11d8e0:0x2a0,_0x249402:0x1e4,_0x23bb68:0x1db,_0x3e26b9:0x21c,_0x17a375:0x293,_0x5bd25c:0x335,_0x1e3609:0x207,_0x247dcb:0xf3,_0x1f4f70:0x1d1,_0x365877:0xfd,_0x2580e1:0x9,_0x162387:0x1fc,_0x30e2fc:0xa2,_0xf94b3d:0x257,_0x215bc8:0x55,_0x23e5e5:0x50,_0x3bae8a:0x132,_0x1e6bd9:0x23e},_0x2dd910={_0x14c603:0x2bb,_0x21cf7a:0x328,_0x51aa83:0x12d,_0x548486:0x36b,_0x211d7c:0x5fd,_0x52b2e5:0x3d4,_0x2d67f9:0x492,_0x37c9a5:0x356,_0x528c34:0x439,_0x3a409e:0x69a,_0x23af11:0x44b,_0x51e63d:0x3ea,_0x562a70:0x264,_0x4eeca8:0x3aa,_0x636d06:0x288,_0x14745d:0x1ff,_0x226fc5:0x109,_0x3ff064:0x257,_0x103171:0x6f4,_0x7609da:0x823,_0x5a9168:0x613,_0xc3a32f:0x97,_0xfe15ce:0x64,_0x479289:0x41,_0x4dad37:0x5ff,_0x405974:0x4e6,_0x1f33b1:0x618,_0x4eed16:0x69f,_0x4ec3fc:0x1a6,_0x1ba59:0x1fb,_0x4aa922:0x137,_0x55534e:0x48d,_0x1963ea:0x40c,_0x315986:0x3ae,_0xbc94e0:0x9a,_0x5c7665:0x457,_0x30c582:0x5c1,_0x39a6dd:0x591,_0x257bae:0x3f4,_0x306f2b:0x24c,_0x1f62b4:0x2f9,_0x301d7a:0x347,_0x2c352b:0x30a,_0x47335a:0x3ce,_0x36f7fb:0x322,_0x170d94:0x37f,_0x14267d:0x43a,_0x1b85dc:0x609,_0x32973d:0x490,_0x2bd203:0x7ce,_0x14cc4d:0x8b0,_0x1bcf75:0x65e,_0x5a5cad:0x7d5,_0x51f978:0x809,_0x3c182e:0x4b4,_0x5820cf:0x2a3,_0x5e1fc4:0x5e1,_0x4e0e9e:0x80f,_0x1e7d8a:0x1ab,_0x37c5ab:0x157,_0x1f0fab:0x705,_0x1d9f76:0x6cc,_0x3daa77:0x19f,_0x2b1af2:0xa1,_0x1502e4:0x391,_0x13a09b:0x18f,_0x21e0c1:0x22b,_0xb2b829:0x12b,_0x54e1a5:0x2f9,_0x318175:0x234,_0x2d5b6a:0x2a8,_0x1cd6d8:0x2b7,_0x1fc192:0x1c,_0x225c14:0x2a,_0x32d7d2:0x354,_0x4ba5e5:0x492,_0x3d8a5b:0x572,_0x29228c:0x220,_0x15c7a4:0x3dc,_0x2323cb:0x3d3,_0x3fa259:0x3b1,_0x117310:0x2e5,_0x462f41:0x1e7,_0x331a47:0x24e,_0x1d8088:0x80,_0x3076b5:0x11b,_0x18dd60:0x75f,_0x3ebbec:0x72e,_0x1d7420:0x68a,_0x3abda1:0x352,_0x5181b3:0x446,_0x3da8cb:0x5a0,_0x1d9b6b:0x7f5,_0x4c3d9f:0x7de,_0x561a24:0x565,_0x5bd3b9:0x332,_0x4aae09:0x54b,_0x289b2a:0x3d4,_0x167608:0x3d7,_0x3855c8:0x517,_0x209c96:0x4ec,_0xe9dda2:0x5c1,_0x19d7d7:0x44d,_0x244ec8:0x27a,_0x16c3f1:0x129,_0x4eb059:0x546,_0x5e562e:0x6da,_0x36f5f0:0x616,_0x495946:0x404,_0x117ec0:0x3cb,_0x198ca7:0x39e,_0x17b9e3:0x3ba,_0x4429f1:0x4ce,_0x362647:0x645,_0x4eb6cb:0x628,_0x3bb4d2:0x524,_0x373709:0x4e6,_0x2bf83c:0x73f,_0x411355:0x5bd},_0x1419d1={_0x45c856:0x1a,_0x24d881:0x23},_0x39dd41={_0x395984:0x5c5,_0x3c312a:0x507},_0x53f959={_0x33f9b7:0x19f},_0x35c44d={_0x4c073e:0x4f2},_0x157802=_0x38f171[_0x33d6cd(0x35,0xd3,0x1a,0x170)](_0x15ee60[_0x5157d7(-_0x29baf0._0x1f4c68,0x12,_0x29baf0._0x537185,-_0x29baf0._0x49c3c4)]??process[_0x33d6cd(_0x29baf0._0x285714,_0x29baf0._0x2d9d45,0x310,_0x29baf0._0x16f532)]());function _0x33d6cd(_0x117fa9,_0x59dbfc,_0x38a9d2,_0x17cd1d){return _0x2389b1(_0x117fa9-0x125,_0x59dbfc-0xe8,_0x17cd1d,_0x38a9d2- -_0x35c44d._0x4c073e);}const _0x15cec2=_0x15ee60[_0x33d6cd(0x290,0x1ff,0x1a2,0x22)]??[],_0x17af14=_0x15ee60[_0x5157d7(-0xbe,-_0x29baf0._0x3c58ce,-0x34d,-_0x29baf0._0x25db6f)]??DEFAULT_TIMEOUT_MS,_0x216f74=_0x15ee60[_0x33d6cd(_0x29baf0._0x52b647,0x140,_0x29baf0._0x55a6d5,0x289)]??!![];function _0x5157d7(_0x4d8acc,_0x4633ae,_0x393a90,_0x526d32){return _0x2389b1(_0x4d8acc-0xc7,_0x4633ae-_0x53f959._0x33f9b7,_0x526d32,_0x4633ae- -0x73f);}const _0xeac4e5=_0x15ee60[_0x33d6cd(_0x29baf0._0x3c68ea,_0x29baf0._0x42de4d,_0x29baf0._0x11d8e0,_0x29baf0._0x249402)]??_0x5157d7(-_0x29baf0._0x23bb68,-0x1cb,-0x1e4,-0x1fd),_0x5b3026=_0x15ee60[_0x5157d7(-0x86,-_0x29baf0._0x3e26b9,-_0x29baf0._0x17a375,-_0x29baf0._0x5bd25c)]??[],_0x5e89b0=_0x15ee60['scrubEnvPrefixes']??[],_0x579ea5=_0x15ee60['backgroundRegistry'];return defineTool({'name':_0xeac4e5,'permissionClass':_0x33d6cd(0x29b,0x10a,0x14f,_0x29baf0._0x1e3609),'description':_0x15ee60['description']??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':'string'},'description':{'type':_0x5157d7(-0xeb,-0x15a,0x21,-0x192),'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':_0x33d6cd(-0x6d,0xf7,_0x29baf0._0x247dcb,_0x29baf0._0x1f4f70)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':_0x33d6cd(_0x29baf0._0x365877,_0x29baf0._0x2580e1,0xb4,_0x29baf0._0x162387)},'outputRegex':{'type':_0x33d6cd(0x191,_0x29baf0._0x30e2fc,_0x29baf0._0x247dcb,_0x29baf0._0xf94b3d),'description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':_0x33d6cd(_0x29baf0._0x215bc8,0x95,0xb4,-0xd0)}},'required':['command',_0x33d6cd(-_0x29baf0._0x23e5e5,-_0x29baf0._0x3bae8a,0x8d,_0x29baf0._0x1e6bd9)]},async *'execute'(_0x1f0235,_0x49775c){const _0x2d0793={_0x57280c:0x2ed,_0x436e41:0xe,_0x5205bf:0x1cd,_0x40a793:0xea,_0x2865dd:0x194},_0x2ec03e={_0x3c795c:0x93,_0x3bf4b8:0x328},_0x180906={_0x5c1f9b:0x70,_0x4ca593:0x89,_0x1f2b67:0x4b2,_0x2b5dc7:0x3cf,_0x56ebe9:0x43b},_0x5bc921={_0x4e7860:0x4be,_0x1cc5f0:0x420},_0x9dbcdf={_0x393ae3:0xef,_0x1c5168:0x29,_0x481c1c:0x80,_0x15d7df:0x51,_0x2da3bd:0x29c,_0x56f168:0x1b0},_0x1df170={_0x58f06d:0x1c9,_0x1836fa:0xb2,_0x430355:0x1e,_0x3a5e4f:0x156},_0xc6e2aa={_0x3fb159:0x1ca},_0x2314ab={_0x21b3be:0x1b1},_0x3969c6={_0x2cdf33:0x558},_0x162901={_0x3dd00b:0x95},_0x26174d={_0x69f3cd:0x141},_0x48142c=_0x1f0235[_0xf6ab9c(0x3fc,_0x2dd910._0x14c603,_0x2dd910._0x21cf7a,0x25b)]??_0x17af14;if(!Number[_0xf6ab9c(0x156,0xea,0x289,_0x2dd910._0x51aa83)](_0x48142c)||_0x48142c<0x1)throw new ToolExecutionError(_0xf6ab9c(0x454,0x32c,_0x2dd910._0x548486,_0x2dd910._0x211d7c),{'command':_0x1f0235[_0x26f614(_0x2dd910._0x52b2e5,_0x2dd910._0x2d67f9,0x35e,_0x2dd910._0x37c9a5)]});throwIfAborted(_0x49775c['signal']);function _0xf6ab9c(_0x4333fb,_0x27c021,_0x460a37,_0x9a5826){return _0x5157d7(_0x4333fb-0x8c,_0x4333fb-0x369,_0x460a37-_0x26174d._0x69f3cd,_0x460a37);}const _0x2ad4c2=_0x1f0235[_0xf6ab9c(0x290,0x3d6,_0x2dd910._0x528c34,0x398)]??![],_0x33ea67=resolveBashExecutionTarget(_0x1f0235,{'defaultCwd':_0x157802,'allowedDirs':_0x15cec2,'shellPath':_0x15ee60['shellPath']}),{cwd:_0xe7aa99,shellPath:_0x777810}=_0x33ea67,_0x2e3ae2=buildShellArgs(_0x1f0235['command'],_0x777810),_0x1e41ea=_0x1b2294['platform']()===_0x26f614(0x58f,_0x2dd910._0x3a409e,0x7f8,0x56e),_0x2484a4=buildChildEnv(_0x15ee60['env'],_0x5b3026,_0x5e89b0);if(_0x1f0235[_0x26f614(_0x2dd910._0x23af11,0x48b,0x4bd,0x3a6)]){if(!_0x579ea5)throw new ToolExecutionError(_0x26f614(0x46b,_0x2dd910._0x51e63d,_0x2dd910._0x562a70,_0x2dd910._0x4eeca8),{'command':_0x1f0235[_0xf6ab9c(0x1ab,0x23e,0x30d,_0x2dd910._0x636d06)]});throwIfAborted(_0x49775c[_0xf6ab9c(_0x2dd910._0x14745d,0x27f,_0x2dd910._0x226fc5,_0x2dd910._0x3ff064)]),await _0x15ee60[_0x26f614(0x6a3,_0x2dd910._0x103171,_0x2dd910._0x7609da,_0x2dd910._0x5a9168)]?.(_0x33ea67,_0x49775c[_0xf6ab9c(0x121,-_0x2dd910._0xc3a32f,-_0x2dd910._0xfe15ce,-_0x2dd910._0x479289)],_0x49775c),throwIfAborted(_0x49775c[_0x26f614(_0x2dd910._0x4dad37,_0x2dd910._0x405974,_0x2dd910._0x1f33b1,_0x2dd910._0x4eed16)]);const _0xd5c29b=_0x579ea5['reserve']();let _0xc0d4fb;try{_0xc0d4fb=_0x112d19(_0x777810,_0x2e3ae2,{'cwd':_0xe7aa99,'env':_0x2484a4,'stdio':['ignore',_0xf6ab9c(_0x2dd910._0x4ec3fc,_0x2dd910._0x1ba59,0x5c,_0x2dd910._0x4aa922),_0x26f614(0x307,_0x2dd910._0x55534e,0x3df,0x3ce)],'shell':![],'windowsHide':!![],'detached':!_0x1e41ea});}catch(_0x3501f1){_0x579ea5[_0x26f614(0x66c,0x6db,0x5a4,0x7dc)](_0xd5c29b);throw mapSpawnError(_0x3501f1,{'command':_0x1f0235[_0x26f614(0x638,_0x2dd910._0x2d67f9,0x2e1,0x49f)],'cwd':_0xe7aa99,'shellPath':_0x777810});}let _0x59ef79;try{_0x59ef79=_0x579ea5[_0xf6ab9c(_0x2dd910._0x1963ea,0x503,_0x2dd910._0x315986,0x3b6)](_0xd5c29b,{'child':_0xc0d4fb,'command':_0x1f0235[_0xf6ab9c(0x1ab,_0x2dd910._0xbc94e0,0x5d,0x1e5)],'cwd':_0xe7aa99,'stripAnsi':_0x216f74,...!_0x1e41ea&&_0xc0d4fb[_0x26f614(_0x2dd910._0x5c7665,_0x2dd910._0x30c582,0x745,_0x2dd910._0x39a6dd)]!==void 0x0?{'processGroupId':_0xc0d4fb['pid']}:{}});}catch(_0x1bb540){_0x579ea5[_0xf6ab9c(_0x2dd910._0x257bae,_0x2dd910._0x306f2b,0x51d,0x35c)](_0xd5c29b),_0xc0d4fb[_0xf6ab9c(0x1d6,_0x2dd910._0x1f62b4,0x359,_0x2dd910._0x301d7a)]('error',()=>{});try{killProcessGroup(_0xc0d4fb,_0x1e41ea);}catch{}throw _0x1bb540;}return createToolOutput(_0xf6ab9c(0x3de,_0x2dd910._0x2c352b,0x38d,_0x2dd910._0x47335a)+_0x59ef79[_0xf6ab9c(_0x2dd910._0x36f7fb,_0x2dd910._0x170d94,_0x2dd910._0x14267d,0x16d)]+'\x20(pid\x20'+(_0x59ef79['pid']??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x59ef79[_0x26f614(0x707,_0x2dd910._0x1b85dc,0x5dd,0x797)],'status':_0x59ef79['status'],'command':_0x59ef79[_0x26f614(0x368,_0x2dd910._0x2d67f9,0x384,0x31f)],'description':_0x1f0235[_0x26f614(0x2f8,_0x2dd910._0x32973d,0x330,0x2f8)],'cwd':_0x59ef79[_0x26f614(_0x2dd910._0x2bd203,0x713,_0x2dd910._0x14cc4d,0x896)],'pid':_0x59ef79['pid']??null});}let _0x470d0a,_0xc737ac;if(_0x1f0235[_0x26f614(0x587,_0x2dd910._0x1bcf75,_0x2dd910._0x5a5cad,_0x2dd910._0x51f978)]!==void 0x0)try{const _0x169870=new RegExp(_0x1f0235[_0xf6ab9c(0x377,0x4c5,_0x2dd910._0x3c182e,_0x2dd910._0x5820cf)]);_0x470d0a={'regex':_0x169870,'trailingChunks':[]},_0xc737ac={'regex':_0x169870,'trailingChunks':[]};}catch(_0x5acbc9){throw new ToolExecutionError(_0x26f614(_0x2dd910._0x5e1fc4,0x6bb,0x5f1,_0x2dd910._0x4e0e9e)+(_0x5acbc9 instanceof Error?_0x5acbc9['message']:String(_0x5acbc9)),{'command':_0x1f0235[_0xf6ab9c(_0x2dd910._0x1e7d8a,0x1bd,0x230,_0x2dd910._0x37c5ab)],'outputRegex':_0x1f0235['outputRegex']});}await _0x15ee60[_0x26f614(_0x2dd910._0x1f0fab,0x6f4,0x5de,_0x2dd910._0x1d9f76)]?.(_0x33ea67,_0x49775c[_0xf6ab9c(0x121,_0x2dd910._0x3daa77,0x134,-_0x2dd910._0x2b1af2)],_0x49775c),throwIfAborted(_0x49775c['signal']);let _0x355d80;try{_0x355d80=_0x112d19(_0x777810,_0x2e3ae2,{'cwd':_0xe7aa99,'env':_0x2484a4,'stdio':_0x2ad4c2?[_0x26f614(0x325,0x476,_0x2dd910._0x1502e4,0x413),_0xf6ab9c(_0x2dd910._0x13a09b,0x9e,_0x2dd910._0x21e0c1,_0x2dd910._0xb2b829),_0xf6ab9c(_0x2dd910._0x13a09b,_0x2dd910._0x54e1a5,_0x2dd910._0x318175,_0x2dd910._0x2d5b6a)]:[_0xf6ab9c(0x18f,0x17f,_0x2dd910._0x1cd6d8,0xf),_0xf6ab9c(0x1a6,0xbb,-_0x2dd910._0x1fc192,_0x2dd910._0x225c14),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x1e41ea});}catch(_0x4895f8){throw mapSpawnError(_0x4895f8,{'command':_0x1f0235[_0x26f614(_0x2dd910._0x32d7d2,_0x2dd910._0x4ba5e5,_0x2dd910._0x3d8a5b,0x379)],'cwd':_0xe7aa99,'shellPath':_0x777810});}const _0x503f6d=[],_0x4ed6b9=[],_0x4c1c4b=new _0x54935d('utf8'),_0x493bab=new _0x54935d(_0x26f614(_0x2dd910._0x29228c,_0x2dd910._0x15c7a4,0x4a5,_0x2dd910._0x2323cb));let _0x1d942a,_0x3e74d5=![],_0x34c7da;const _0x474db3=()=>{if(!_0x1d942a)return;const _0x55e45a=_0x1d942a;_0x1d942a=void 0x0,_0x55e45a();},_0x421d6a=async()=>{const _0x2f62fd={_0x16f055:0x166,_0x9c622c:0x19};function _0x44b39a(_0x4d9d55,_0x719a4,_0x11baa5,_0x34a83b){return _0xf6ab9c(_0x719a4-_0x2f62fd._0x16f055,_0x719a4-_0x2f62fd._0x9c622c,_0x11baa5,_0x34a83b-0x1a9);}if(_0x4ed6b9[_0x44b39a(0x716,0x5ac,_0x39dd41._0x395984,_0x39dd41._0x3c312a)]>0x0||_0x3e74d5)return;await new Promise(_0x12e471=>{_0x1d942a=_0x12e471;});},_0x527c31=_0x3e4b36=>{function _0x5c8cac(_0x41f251,_0x44519f,_0xdbafa,_0x556d4a){return _0xf6ab9c(_0x41f251-0x33d,_0x44519f-0x17,_0x556d4a,_0x556d4a-_0x162901._0x3dd00b);}appendChunk(_0x503f6d,_0x4ed6b9,_0x4c1c4b[_0x5c8cac(_0x3969c6._0x2cdf33,0x4d8,0x4a6,0x610)](_0x3e4b36),_0x216f74,_0x474db3,_0x470d0a);},_0x3625fc=_0x1eecf6=>{function _0x5dc830(_0x1ed0ed,_0x226bd6,_0x5c1683,_0x3cf5e0){return _0x26f614(_0x1ed0ed-0x19d,_0x1ed0ed- -0x4e8,_0x5c1683-_0x2314ab._0x21b3be,_0x226bd6);}appendChunk(_0x503f6d,_0x4ed6b9,_0x493bab[_0x5dc830(_0x1419d1._0x45c856,0x196,0x61,_0x1419d1._0x24d881)](_0x1eecf6),_0x216f74,_0x474db3,_0xc737ac);};_0x355d80[_0x26f614(_0x2dd910._0x3fa259,0x3eb,_0x2dd910._0x117310,0x33e)]?.['on'](_0xf6ab9c(_0x2dd910._0x462f41,_0x2dd910._0x331a47,_0x2dd910._0x1d8088,_0x2dd910._0x3076b5),_0x527c31),_0x355d80[_0x26f614(_0x2dd910._0x18dd60,0x669,_0x2dd910._0x3ebbec,_0x2dd910._0x1d7420)]?.['on'](_0xf6ab9c(0x1e7,0x3b,0x2fa,_0x2dd910._0x3abda1),_0x3625fc);let _0x21fb04=![],_0x46ca79;function _0x26f614(_0xd40fb3,_0x4a66d5,_0x3cc997,_0x173f04){return _0x5157d7(_0xd40fb3-_0xc6e2aa._0x3fb159,_0x4a66d5-0x650,_0x3cc997-0x148,_0x173f04);}const _0x38912b=addAbortListener(_0x49775c['signal'],()=>{const _0x442410={_0x5862de:0x19b,_0xed786c:0x55};_0x34c7da=toAbortError(_0x49775c['signal'][_0x5480e3(-_0x1df170._0x58f06d,-_0x1df170._0x1836fa,_0x1df170._0x430355,-_0x1df170._0x3a5e4f)]),_0x3e74d5=!![];function _0x5480e3(_0x4304d9,_0x51d840,_0x54a7da,_0x194b9e){return _0x26f614(_0x4304d9-_0x442410._0x5862de,_0x51d840- -0x5d7,_0x54a7da-_0x442410._0xed786c,_0x4304d9);}_0x474db3();try{killProcessGroup(_0x355d80,_0x1e41ea);}catch{}});try{const _0x3f87d2=new Promise((_0x421aaf,_0xb6982c)=>{const _0x35429d={_0x44f89e:0x9},_0x35e459={_0x4ccc2b:0x1d5},_0x2d4c53={_0x2ad6b0:0x233},_0x46177b=()=>{function _0x221dee(_0x2cc61a,_0x3bada8,_0xa88e43,_0x44c876){return _0x102a(_0xa88e43- -0x191,_0x2cc61a);}_0x46ca79&&(clearTimeout(_0x46ca79),_0x46ca79=void 0x0);_0x355d80[_0x221dee(0x1c4,_0x9dbcdf._0x393ae3,_0x9dbcdf._0x1c5168,-_0x9dbcdf._0x481c1c)]('error',_0x245dc0);function _0x5c30d4(_0x3f97c7,_0xa07f3e,_0xc68ec8,_0x1ad1a0){return _0x102a(_0x3f97c7- -0x3d7,_0xa07f3e);}_0x355d80['off'](_0x5c30d4(-0x1b3,-_0x9dbcdf._0x15d7df,-_0x9dbcdf._0x2da3bd,-_0x9dbcdf._0x56f168),_0x455d57);},_0x245dc0=_0x42e7ab=>{_0x3e74d5=!![],_0x474db3(),_0x46177b(),_0xb6982c(_0x34c7da??_0x42e7ab);},_0x455d57=(_0x49879b,_0x52d00d)=>{_0x21fb04=!![],appendChunk(_0x503f6d,_0x4ed6b9,_0x4c1c4b[_0x75df57(_0x5bc921._0x4e7860,0x5a5,_0x5bc921._0x1cc5f0,0x629)](),_0x216f74,_0x474db3,_0x470d0a),appendChunk(_0x503f6d,_0x4ed6b9,_0x493bab['end'](),_0x216f74,_0x474db3,_0xc737ac),flushOutputRegex(_0x503f6d,_0x4ed6b9,_0x470d0a,_0x474db3),flushOutputRegex(_0x503f6d,_0x4ed6b9,_0xc737ac,_0x474db3);function _0x75df57(_0x1c0698,_0x1ced3b,_0x3eb2e8,_0x8ae552){return _0x102a(_0x1ced3b-_0x2d4c53._0x2ad6b0,_0x8ae552);}_0x3e74d5=!![],_0x474db3(),_0x46177b();if(_0x34c7da){_0xb6982c(_0x34c7da);return;}_0x421aaf({'code':_0x49879b,'signal':_0x52d00d});};_0x46ca79=setTimeout(()=>{const _0x40dc20={_0x48d9a0:0x23c};_0x3e74d5=!![];function _0x2aa248(_0x348aa9,_0x533679,_0xfa785d,_0x592204){return _0x102a(_0xfa785d-_0x35e459._0x4ccc2b,_0x592204);}_0x474db3(),_0x46177b();try{killProcessGroup(_0x355d80,_0x1e41ea);}catch{}function _0x20d4d8(_0x38cdfc,_0x58e10f,_0xf43969,_0x5dafb0){return _0x102a(_0xf43969- -_0x40dc20._0x48d9a0,_0x58e10f);}_0xb6982c(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0x48142c+_0x20d4d8(-0xe8,-_0x180906._0x5c1f9b,_0x180906._0x4ca593,0x1a3),{'command':_0x1f0235[_0x2aa248(0x566,_0x180906._0x1f2b67,_0x180906._0x2b5dc7,_0x180906._0x56ebe9)],'cwd':_0xe7aa99,'shellPath':_0x777810,'timeoutMs':_0x48142c,'timedOut':!![]}));},_0x48142c);function _0x330d0e(_0x5cddfb,_0x43565d,_0x4c2929,_0x610eda){return _0x26f614(_0x5cddfb-_0x2ec03e._0x3c795c,_0x610eda- -_0x2ec03e._0x3bf4b8,_0x4c2929-0xf7,_0x4c2929);}function _0x3ae194(_0x3e98fb,_0xfa1e62,_0x2a7a71,_0x123c29){return _0xf6ab9c(_0x123c29- -_0x35429d._0x44f89e,_0xfa1e62-0x97,_0x3e98fb,_0x123c29-0x42);}_0x355d80['once']('error',_0x245dc0),_0x355d80[_0x3ae194(_0x2d0793._0x57280c,0x96,_0x2d0793._0x436e41,_0x2d0793._0x5205bf)](_0x330d0e(0x41,_0x2d0793._0x40a793,0x25f,_0x2d0793._0x2865dd),_0x455d57);});while(_0x4ed6b9[_0xf6ab9c(_0x2dd910._0x5181b3,_0x2dd910._0x3da8cb,0x388,0x4a4)]>0x0||!_0x3e74d5){if(_0x4ed6b9['length']===0x0){await _0x421d6a();continue;}const _0x2c362c=_0x4ed6b9[_0x26f614(_0x2dd910._0x1d9b6b,0x6b2,_0x2dd910._0x4c3d9f,_0x2dd910._0x561a24)]();_0x2c362c!==void 0x0&&(yield _0x2c362c);}const _0x38241f=await _0x3f87d2,_0x5aeaec=_0x2ad4c2?_0x26f614(0x505,0x69e,0x6e8,0x5bb)+(_0x38241f[_0x26f614(_0x2dd910._0x5bd3b9,0x44d,_0x2dd910._0x4aae09,0x489)]??0x0):_0x503f6d[_0x26f614(_0x2dd910._0x289b2a,_0x2dd910._0x167608,0x22b,_0x2dd910._0x3855c8)](''),_0x1e9a2e={'command':_0x1f0235[_0x26f614(0x5af,_0x2dd910._0x2d67f9,0x59b,_0x2dd910._0x209c96)],'description':_0x1f0235['description'],'cwd':_0xe7aa99,'exitCode':_0x38241f[_0x26f614(_0x2dd910._0xe9dda2,_0x2dd910._0x19d7d7,0x53d,0x538)]??0x0,'signal':_0x38241f[_0xf6ab9c(0x1ff,0x1b0,0x35c,_0x2dd910._0x244ec8)],'ignoreOutput':_0x2ad4c2,'outputRegex':_0x1f0235['outputRegex']??null,'shellPath':_0x777810,'timeoutMs':_0x48142c};if(_0x38241f[_0xf6ab9c(0x166,0x24c,0x271,_0x2dd910._0x16c3f1)]!==0x0)throw new ToolExecutionError(_0x5aeaec||_0x26f614(_0x2dd910._0x4eb059,_0x2dd910._0x5e562e,0x89d,_0x2dd910._0x36f5f0)+(_0x38241f['code']??0x0),_0x1e9a2e);return createToolOutput(_0x5aeaec,_0x1e9a2e);}catch(_0x28e905){while(_0x4ed6b9[_0xf6ab9c(0x446,_0x2dd910._0x495946,0x493,0x449)]>0x0){const _0x52a5df=_0x4ed6b9[_0xf6ab9c(_0x2dd910._0x117ec0,_0x2dd910._0x198ca7,0x4f0,_0x2dd910._0x17b9e3)]();_0x52a5df!==void 0x0&&(yield _0x52a5df);}if(_0x28e905 instanceof ToolExecutionError)throw _0x28e905;if(_0x34c7da)throw _0x34c7da;throw mapSpawnError(_0x28e905,{'command':_0x1f0235[_0xf6ab9c(0x1ab,0x151,-0xe,0x29b)],'cwd':_0xe7aa99,'shellPath':_0x777810});}finally{_0x46ca79&&clearTimeout(_0x46ca79);_0x38912b(),_0x355d80['stdout']?.['off'](_0x26f614(0x370,_0x2dd910._0x4429f1,0x471,_0x2dd910._0x362647),_0x527c31),_0x355d80[_0x26f614(_0x2dd910._0x4eb6cb,0x669,0x559,0x764)]?.['off'](_0x26f614(_0x2dd910._0x3bb4d2,0x4ce,0x5ff,_0x2dd910._0x373709),_0x3625fc);if(!_0x21fb04&&_0x355d80['pid']&&!_0x355d80[_0x26f614(_0x2dd910._0x2bf83c,_0x2dd910._0x411355,0x6aa,0x6dd)])try{killProcessGroup(_0x355d80,_0x1e41ea);}catch{}}}});}function createShellExecTool(_0x2e772d={}){return createBashTool(_0x2e772d);}import{readdir,readFile as _0x193cce}from'fs/promises';import{extname,join as _0xd8d65a}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x38dcb4,join,relative as _0x107290,resolve as _0x26e560}from'path';import{readdir as _0x1aae6b,readFile as _0x419a00}from'fs/promises';import{join as _0x5024b6,relative as _0x5ecb06,sep}from'path';import{delimiter}from'path';import{mkdir as _0x4a3ae4,rm,stat as _0x1bdf14,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x34e682}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x1d2ebc,rename as _0x1d65d3,rm as _0x44add7,stat as _0x137f6e,writeFile as _0x23d020}from'fs/promises';import{homedir as _0xc910e7}from'os';import{dirname as _0x207196,isAbsolute as _0x556e21,join as _0x463af5,resolve as _0x4b511c}from'path';import{parse as _0x3fcf55,stringify as _0x3a3e76}from'yaml';import{randomUUID as _0x394629}from'crypto';import{cp,lstat,mkdir as _0x393691,readdir as _0x16b952,readFile as _0x51f2c7,rename,rm as _0x540169,writeFile as _0x7266ff}from'fs/promises';import{homedir}from'os';import{join as _0x199368}from'path';import{parse as _0x31ed68,stringify as _0x25a147}from'yaml';import{z}from'zod';import{readdir as _0x36f47e,readFile as _0x51ed02}from'fs/promises';import{join as _0x3b19b0}from'path';import{randomUUID as _0x34b28f}from'crypto';import{mkdir as _0xfbe484,readdir as _0x48a701,readFile as _0x55270a,rename as _0xa3aea5,rm as _0x59bb63,writeFile as _0x5c19f9}from'fs/promises';import{homedir as _0xa9777c}from'os';import{basename as _0x40ef64,isAbsolute as _0x331f8b,join as _0x391b75,relative as _0x202eb0,resolve as _0x19434d}from'path';import{parse as _0x42d2c9,stringify as _0x49814c}from'yaml';import{delimiter as _0x2861bf,resolve as _0x1ef98b}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x286f15){const _0x4e6181={_0x580814:0x370,_0x34fd7b:0x3a4,_0x595457:0x196,_0x2d3e5:0x1e2,_0x161a1d:0x85,_0x29384d:0x28b,_0x46968c:0xed,_0x4e5406:0x13d,_0x3fd3de:0x291,_0x2681d5:0x331,_0x3e6921:0x48e,_0x410fd7:0x261,_0x20383d:0x1eb},_0x51d458={_0xe9c4bd:0x40,_0x47a1ed:0x180},_0x1aa5b9=[];let _0x526c54='',_0x2c66f3=0x0;function _0x311c0f(_0x5cce73,_0x3c9330,_0x3e0c9a,_0xb7d918){return _0x5da4fe(_0x3e0c9a- -0x2e5,_0x3c9330-0x167,_0x3c9330,_0xb7d918-0x1eb);}function _0x11a119(_0x46551a,_0x31f1bd,_0x472089,_0x347ed2){return _0x5da4fe(_0x46551a-_0x51d458._0xe9c4bd,_0x31f1bd-_0x51d458._0x47a1ed,_0x472089,_0x347ed2-0xa8);}while(_0x2c66f3<_0x286f15[_0x11a119(0x507,_0x4e6181._0x580814,_0x4e6181._0x34fd7b,0x59c)]){const _0x2f9dc0=_0x286f15[_0x2c66f3];if(_0x2f9dc0==='\x5c'&&_0x2c66f3+0x1<_0x286f15[_0x311c0f(_0x4e6181._0x595457,0x28c,_0x4e6181._0x2d3e5,0x111)])_0x526c54+=_0x286f15[_0x2c66f3+0x1],_0x2c66f3+=0x2;else{if(_0x2f9dc0==='\x22'||_0x2f9dc0==='\x27'){const _0x29297d=_0x2f9dc0;_0x2c66f3++;while(_0x2c66f3<_0x286f15[_0x311c0f(_0x4e6181._0x161a1d,_0x4e6181._0x29384d,0x1e2,0x2d8)]&&_0x286f15[_0x2c66f3]!==_0x29297d){_0x286f15[_0x2c66f3]==='\x5c'&&_0x2c66f3+0x1<_0x286f15[_0x311c0f(_0x4e6181._0x46968c,_0x4e6181._0x4e5406,0x1e2,_0x4e6181._0x3fd3de)]?(_0x526c54+=_0x286f15[_0x2c66f3+0x1],_0x2c66f3+=0x2):(_0x526c54+=_0x286f15[_0x2c66f3],_0x2c66f3++);}_0x2c66f3++;}else _0x2f9dc0!==void 0x0&&/\s/['test'](_0x2f9dc0)?(_0x526c54&&(_0x1aa5b9[_0x11a119(_0x4e6181._0x2681d5,0x238,_0x4e6181._0x3e6921,0x2f3)](_0x526c54),_0x526c54=''),_0x2c66f3++):(_0x526c54+=_0x2f9dc0,_0x2c66f3++);}}if(_0x526c54)_0x1aa5b9[_0x11a119(_0x4e6181._0x2681d5,_0x4e6181._0x410fd7,_0x4e6181._0x20383d,0x32c)](_0x526c54);return _0x1aa5b9;}function renderCommandInstructions(_0x937858){const _0x5a0421={_0x3b929a:0x505,_0x5c14ca:0x393,_0x2c5a9f:0x33b,_0x33b530:0x3f9,_0x1762ba:0x53a,_0x3b9639:0x546,_0x41353e:0x27c,_0x76da34:0x234,_0x416b0a:0x19d,_0x17a7ca:0x88c,_0xb7b86e:0x844,_0x3e57e7:0x680,_0x3e884a:0x829,_0x55dba0:0x5c1,_0x493521:0x7ba,_0x55d398:0x829,_0x5ccb58:0x1,_0x1b8ec0:0x42,_0x1d44f6:0x1fa,_0x766cb1:0x6e1,_0x227cab:0x65f,_0x441631:0x579,_0x444b4a:0x65d,_0x5924f7:0x5e7,_0x70029a:0x1eb,_0x43e273:0x15,_0x2c5e9e:0x234},_0x3ef9fc={_0x3b5454:0x170,_0x55ba29:0x5c,_0x131aad:0x10e,_0x4da5f7:0x6d},_0x5bae12={_0x1b62ed:0x13c,_0x429869:0x1c},_0x238d64={_0x59e241:0x362,_0x4dda19:0x7c};let _0x150141=_0x937858[_0x1bef23(_0x5a0421._0x3b929a,_0x5a0421._0x5c14ca,0x54f,0x3dd)],_0x356bd0=![];const _0xeb77ca=tokenizeCommandArguments(_0x937858[_0x3dcd53(_0x5a0421._0x2c5a9f,0x57a,_0x5a0421._0x33b530,0x4fe)]);function _0x3dcd53(_0x2ea69b,_0x4b9167,_0x24baa6,_0x10a1a4){return _0x5da4fe(_0x10a1a4-_0x238d64._0x59e241,_0x4b9167-_0x238d64._0x4dda19,_0x2ea69b,_0x10a1a4-0x1dc);}function _0x1bef23(_0x53b3c3,_0x3b2193,_0x594eb2,_0x440a4f){return _0x5da4fe(_0x440a4f- -0xac,_0x3b2193-_0x5bae12._0x1b62ed,_0x53b3c3,_0x440a4f-_0x5bae12._0x429869);}_0x150141=_0x150141[_0x3dcd53(0x3aa,_0x5a0421._0x1762ba,0x6c2,_0x5a0421._0x3b9639)](/\$ARGUMENTS\[(\d+)\]/g,(_0x4cca1a,_0x5a7198)=>{return _0x356bd0=!![],_0xeb77ca[Number(_0x5a7198)]??'';}),_0x150141=_0x150141['replace'](/\$ARGUMENTS\b/g,()=>{const _0x16a3da={_0x311673:0x76,_0x127949:0x38e};_0x356bd0=!![];function _0x9c022c(_0x12e682,_0x12dfea,_0x106ec4,_0x35cf53){return _0x3dcd53(_0x12dfea,_0x12dfea-0xc1,_0x106ec4-_0x16a3da._0x311673,_0x12e682- -_0x16a3da._0x127949);}return _0x937858[_0x9c022c(_0x3ef9fc._0x3b5454,_0x3ef9fc._0x55ba29,_0x3ef9fc._0x131aad,_0x3ef9fc._0x4da5f7)];});if(_0x937858['argumentNames']&&_0x937858[_0x1bef23(0x1e5,_0x5a0421._0x41353e,_0x5a0421._0x76da34,_0x5a0421._0x416b0a)][_0x3dcd53(_0x5a0421._0x17a7ca,_0x5a0421._0xb7b86e,_0x5a0421._0x3e57e7,_0x5a0421._0x3e884a)]>0x0)for(let _0x111377=0x0;_0x111377<_0x937858[_0x3dcd53(0x446,0x69b,_0x5a0421._0x55dba0,0x5ab)][_0x3dcd53(0x873,_0x5a0421._0x493521,0x7d1,_0x5a0421._0x55d398)];_0x111377++){const _0x514a93=_0x937858[_0x1bef23(-_0x5a0421._0x5ccb58,_0x5a0421._0x1b8ec0,_0x5a0421._0x1d44f6,0x19d)][_0x111377];if(_0x514a93){const _0xddcaa0=new RegExp('\x5c$'+_0x514a93+'\x5cb','g');_0x150141=_0x150141[_0x3dcd53(_0x5a0421._0x766cb1,_0x5a0421._0x227cab,_0x5a0421._0x441631,0x546)](_0xddcaa0,()=>{return _0x356bd0=!![],_0xeb77ca[_0x111377]??'';});}}return _0x150141=_0x150141['replace'](/\$(\d+)\b/g,(_0xb9f476,_0x2f39df)=>{return _0x356bd0=!![],_0xeb77ca[Number(_0x2f39df)]??'';}),!_0x356bd0&&_0x937858['argumentsText'][_0x3dcd53(0x6e2,0x506,_0x5a0421._0x444b4a,_0x5a0421._0x5924f7)]()&&(_0x150141=_0x150141+'\x0a\x0aARGUMENTS:\x20'+_0x937858[_0x1bef23(_0x5a0421._0x70029a,-_0x5a0421._0x43e273,_0x5a0421._0x2c5e9e,0xf0)]),_0x150141;}var PROVIDER_API_KEY_ENVS=[{'env':_0x5da4fe(0x417,0x54b,0x483,0x550),'provider':'openrouter'},{'env':'ANTHROPIC_API_KEY','provider':_0x5da4fe(0x2b4,0x385,0x2c2,0x275)},{'env':_0x2389b1(0x4eb,0x710,0x781,0x6a1),'provider':'github'},{'env':'GITHUB_TOKEN','provider':_0x2389b1(0x56e,0x692,0x7a8,0x616)},{'env':_0x2389b1(0x874,0x739,0x707,0x7ee),'provider':_0x2389b1(0x3cf,0x4fe,0x69a,0x57e)},{'env':_0x2389b1(0x70d,0x755,0x6ac,0x7b1),'provider':_0x2389b1(0x4ae,0x6d2,0x482,0x5ef)},{'env':_0x5da4fe(0x2b7,0x122,0x2ee,0x275),'provider':'zai'},{'env':_0x5da4fe(0x2dc,0x1e3,0x3c0,0x422),'provider':_0x5da4fe(0x419,0x437,0x308,0x414)},{'env':_0x5da4fe(0x387,0x20d,0x528,0x35b),'provider':_0x5da4fe(0x1f4,0x23c,0x2a0,0x14e)},{'env':_0x2389b1(0x690,0x773,0x76f,0x714),'provider':_0x5da4fe(0x288,0x33f,0x2de,0x3fa)},{'env':_0x2389b1(0x4d5,0x764,0x4d0,0x5a7),'provider':_0x5da4fe(0x239,0x362,0xc4,0x3d9)},{'env':_0x5da4fe(0x402,0x409,0x486,0x56a),'provider':'deepseek'},{'env':_0x5da4fe(0x25b,0xdd,0x338,0x1f7),'provider':_0x2389b1(0x3db,0x46b,0x61c,0x505)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x39d689=>_0x39d689[_0x2389b1(0x6d8,0x5ca,0x41c,0x533)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x5da4fe(0x172,0x3a,0x1c4,0xb2),_0x5da4fe(0x3da,0x3d3,0x28b,0x367),_0x5da4fe(0x41e,0x291,0x335,0x5dc)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x5da4fe(0x263,0x3d6,0x2bc,0x2c0),'ENV',_0x2389b1(0x750,0x7a8,0x9d7,0x818),'BASHOPTS','CDPATH',_0x2389b1(0x4d0,0x73c,0x3fc,0x5ae)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x5da4fe(0x439,0x4d1,0x493,0x4d3)](Object['prototype']),_0x2389b1(0x779,0x689,0x922,0x7eb)]);function prototypeSafeRecord(_0x992496){const _0x3549a3={_0x2e78e5:0x36d,_0x32fd01:0x492,_0x5ac7b2:0x40d,_0x1a9faa:0x3cf,_0x5e9f81:0x473,_0x380a5b:0x472,_0x3ac416:0x6a6,_0x31973b:0x143,_0xcbba5c:0x282,_0x31fee5:0x7b5,_0x2ff752:0x596,_0x37e80e:0x6af},_0x5d39c3={_0x208abd:0x13b,_0x5444e8:0x19e,_0x3a9e10:0x38,_0x2ee97d:0xe1,_0x27e610:0x203},_0x3156f0={_0x180476:0x40b,_0x600fbc:0x71},_0x38e48d={_0x24ec01:0xb2},_0x4157e1={_0xb36edb:0x12c,_0x58c7b7:0x7,_0x2f3d0d:0x1be};function _0x253e4e(_0x42d140,_0x107f4f,_0x3f328d,_0x393ece){return _0x2389b1(_0x42d140-_0x4157e1._0xb36edb,_0x107f4f-_0x4157e1._0x58c7b7,_0x3f328d,_0x42d140- -_0x4157e1._0x2f3d0d);}function _0x431e7e(_0x1f522c,_0x187d38,_0x50de28,_0x43bc66){return _0x2389b1(_0x1f522c-_0x38e48d._0x24ec01,_0x187d38-0x1b0,_0x1f522c,_0x50de28- -0x363);}return z[_0x431e7e(_0x3549a3._0x2e78e5,0x3aa,_0x3549a3._0x32fd01,_0x3549a3._0x5ac7b2)](_0x2b95ef=>{const _0x5bcbd0={_0x3352f5:0x3a7,_0x4987ed:0x107};function _0x4abc6c(_0x404a8a,_0x8c69f,_0x39e3da,_0x11f14b){return _0x431e7e(_0x8c69f,_0x8c69f-0x14b,_0x39e3da- -_0x5bcbd0._0x3352f5,_0x11f14b-_0x5bcbd0._0x4987ed);}if(_0x2b95ef===null||typeof _0x2b95ef!==_0x4abc6c(_0x5d39c3._0x208abd,0x25,0x119,0x192)||Array['isArray'](_0x2b95ef))return null;const _0x37230b=Object[_0x372331(-0x203,-0x32e,-0x1a2,-_0x5d39c3._0x5444e8)](_0x2b95ef);if(_0x37230b!==Object[_0x4abc6c(0xb0,-_0x5d39c3._0x3a9e10,_0x5d39c3._0x2ee97d,_0x5d39c3._0x27e610)]&&_0x37230b!==null)return null;function _0x372331(_0x1284e9,_0x44f68a,_0x3f8c90,_0x27a493){return _0x431e7e(_0x3f8c90,_0x44f68a-0x123,_0x27a493- -_0x3156f0._0x180476,_0x27a493-_0x3156f0._0x600fbc);}return{'entries':Object['entries'](_0x2b95ef)};},z[_0x431e7e(_0x3549a3._0x1a9faa,0x494,0x4c0,0x3d9)]({'entries':z[_0x253e4e(0x377,0x30d,_0x3549a3._0x5e9f81,_0x3549a3._0x380a5b)](z[_0x253e4e(0x529,_0x3549a3._0x3ac416,0x630,0x5bd)]([z[_0x431e7e(_0x3549a3._0x31973b,0x147,_0x3549a3._0xcbba5c,0x24f)](),_0x992496]))}))[_0x253e4e(0x657,_0x3549a3._0x31fee5,_0x3549a3._0x2ff752,_0x3549a3._0x37e80e)](({entries:_0x45710b})=>Object[_0x431e7e(0x3fe,0x3fb,0x36c,0x429)](_0x45710b));}var chatModelAuthSchemeSchema=z[_0x5da4fe(0x236,0x113,0x1a2,0x39d)]([_0x5da4fe(0x375,0x1da,0x4c3,0x1f8),_0x2389b1(0x843,0x72f,0x762,0x780)]),apiKeyAuthSchema=z['object']({'type':z[_0x5da4fe(0x342,0x475,0x3f4,0x350)](_0x5da4fe(0x488,0x415,0x584,0x498)),'apiKey':z[_0x2389b1(0x77d,0x52d,0x7a6,0x5e5)](),'authScheme':chatModelAuthSchemeSchema[_0x2389b1(0x799,0x60f,0x7a0,0x7bc)]()})[_0x5da4fe(0x213,0x3bf,0x35b,0x144)](),oauthAuthSchema=z[_0x5da4fe(0x4ce,0x358,0x477,0x64a)]({'type':z[_0x5da4fe(0x342,0x2bc,0x3c3,0x272)](_0x5da4fe(0x1c0,0x15e,0x51,0x36d)),'access':z[_0x2389b1(0x78e,0x741,0x657,0x5e5)](),'refresh':z[_0x5da4fe(0x290,0x40e,0x296,0x3ca)](),'expires':z[_0x5da4fe(0x406,0x350,0x4f3,0x2c1)]()[_0x2389b1(0x8e5,0x95c,0x6f8,0x7bc)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x2389b1(0x5fa,0x6b0,0x48b,0x568)](),finiteNonNegative=z['number']()[_0x2389b1(0x576,0x6f0,0x686,0x6fa)]()['nonnegative'](),chatGptAuthSchema=z[_0x5da4fe(0x4ce,0x369,0x5f2,0x501)]({'type':z['literal'](_0x2389b1(0x8df,0x670,0x716,0x7b9)),'access':z[_0x2389b1(0x78a,0x4de,0x6ed,0x5e5)]()[_0x5da4fe(0x1bd,0xd9,0x29d,0x6b)](0x1),'refresh':z[_0x5da4fe(0x290,0x19f,0x43c,0x11a)]()['min'](0x1),'idToken':z[_0x5da4fe(0x290,0x318,0x3b5,0x2af)]()[_0x2389b1(0x52c,0x390,0x4ab,0x512)](0x1),'accountId':z['string']()['min'](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x5da4fe(0x467,0x399,0x372,0x3d0)]()})[_0x5da4fe(0x213,0x2b3,0xbc,0x17c)](),authMethodSchema=z[_0x5da4fe(0x338,0x1fc,0x2e0,0x3b9)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x5da4fe(0x2b5,0x3a7,0x3b2,0x420),_0x5da4fe(0x1c6,0x1ec,0x41,0x101),_0x5da4fe(0x186,0x1ee,0x16e,0x2fc),_0x5da4fe(0x1e8,0x350,0x254,0x1dc),'xhigh',_0x2389b1(0x7a6,0x4b0,0x685,0x64b)]),reasoningOptionSchema=z['object']({'id':z[_0x2389b1(0x4f7,0x509,0x782,0x5e5)]()[_0x2389b1(0x665,0x719,0x784,0x5da)]()[_0x2389b1(0x491,0x434,0x43c,0x512)](0x1),'description':z[_0x5da4fe(0x290,0x31e,0x284,0x3de)]()['optional'](),'mode':z[_0x2389b1(0x503,0x46f,0x658,0x58b)]([_0x2389b1(0x798,0x777,0x75f,0x5e6),_0x2389b1(0x825,0x82f,0x70f,0x760)])['optional'](),'effort':reasoningEffortSchema[_0x2389b1(0x85f,0x6ba,0x8a7,0x7bc)](),'budgetTokens':z['number']()[_0x5da4fe(0x182,0x16b,0x23d,0x2f5)]()[_0x2389b1(0x355,0x472,0x4d0,0x512)](0x400)[_0x2389b1(0x8e8,0x7de,0x8e3,0x7bc)]()})['superRefine']((_0x489f51,_0x5c928a)=>{const _0x4b6755={_0x46442e:0x521,_0x19255d:0x44,_0x3d4cd3:0xf9,_0x4e01f0:0xba,_0x5527ca:0x23,_0x369a1d:0x34,_0x49c142:0xd1,_0x4434de:0xac,_0x1ba6c3:0x2b6,_0x185d1a:0x2fd,_0x9607a9:0x41,_0x13f4f6:0xd5,_0xb248d8:0x1d,_0x5bb40d:0x7db,_0x405647:0x943,_0xd9a813:0x16d,_0x2147be:0x216,_0x3668b3:0x1f2,_0x9416d2:0x1df,_0x51f304:0x8,_0x5da361:0x1c3,_0xe70eaa:0x15,_0x5bcf72:0x245,_0x258bc0:0x106,_0x29a0dd:0x30,_0x3484cb:0x712,_0x3c0b27:0x877,_0x20a927:0x748,_0x1b7646:0x57e,_0x5ca1e0:0x42e,_0x33104e:0x61e,_0x5a80fa:0x59a,_0x2f7ffe:0x894,_0x54f938:0x811,_0x2bca03:0x79e,_0xbdf2f1:0x682,_0x945ad8:0x73a,_0x1af85c:0x147,_0x81af43:0x10,_0x585a96:0xfe},_0x534b11={_0x5c2953:0x47,_0x23340f:0x185,_0x56273e:0x13};function _0x3b7b58(_0x8b7584,_0x497ec9,_0x1794d7,_0x3201bf){return _0x2389b1(_0x8b7584-_0x534b11._0x5c2953,_0x497ec9-_0x534b11._0x23340f,_0x497ec9,_0x3201bf-_0x534b11._0x56273e);}const _0x31dcf1=_0x489f51['id']['toLowerCase']();function _0x11f675(_0x8fb90c,_0xf58f10,_0x38406a,_0x154a82){return _0x2389b1(_0x8fb90c-0xe9,_0xf58f10-0x77,_0x38406a,_0x8fb90c- -0x5c8);}(_0x31dcf1===_0x11f675(-0x87,-0x1e1,-0x1be,0xa5)||_0x31dcf1==='default'||_0x31dcf1==='ultra')&&_0x5c928a['addIssue']({'code':_0x3b7b58(0x469,_0x4b6755._0x46442e,0x42a,0x59a),'path':['id'],'message':_0x11f675(-_0x4b6755._0x19255d,0x6c,0x95,_0x4b6755._0x3d4cd3)+_0x31dcf1+_0x11f675(-_0x4b6755._0x4e01f0,0x57,_0x4b6755._0x5527ca,-0x1)});if(_0x489f51[_0x11f675(-_0x4b6755._0x369a1d,_0x4b6755._0x49c142,_0x4b6755._0x4434de,-0x1c6)]===_0x11f675(0x198,0x1c8,_0x4b6755._0x1ba6c3,_0x4b6755._0x185d1a)){_0x489f51['budgetTokens']===void 0x0&&_0x5c928a['addIssue']({'code':_0x11f675(-_0x4b6755._0x9607a9,0x2c,-_0x4b6755._0x13f4f6,-_0x4b6755._0xb248d8),'path':['budgetTokens'],'message':_0x3b7b58(0x984,0x628,0x81f,_0x4b6755._0x5bb40d)});_0x489f51[_0x3b7b58(0x868,0x71c,_0x4b6755._0x405647,0x79e)]!==void 0x0&&_0x5c928a[_0x11f675(_0x4b6755._0xd9a813,0x141,0x2e2,_0x4b6755._0x2147be)]({'code':_0x11f675(-_0x4b6755._0x9607a9,-_0x4b6755._0x3668b3,-_0x4b6755._0x9416d2,_0x4b6755._0x51f304),'path':[_0x11f675(_0x4b6755._0x5da361,0x251,_0x4b6755._0xe70eaa,_0x4b6755._0x5bcf72)],'message':_0x11f675(-0xcb,-_0x4b6755._0x258bc0,-_0x4b6755._0x29a0dd,-0xdb)});return;}_0x489f51[_0x3b7b58(0x7fc,0x75b,0x898,_0x4b6755._0x3484cb)]!==void 0x0&&_0x5c928a[_0x3b7b58(0x8a9,0x723,_0x4b6755._0x3c0b27,_0x4b6755._0x20a927)]({'code':_0x3b7b58(_0x4b6755._0x1b7646,_0x4b6755._0x5ca1e0,_0x4b6755._0x33104e,_0x4b6755._0x5a80fa),'path':['budgetTokens'],'message':'budgetTokens\x20requires\x20manual\x20mode'}),_0x489f51['mode']===void 0x0&&_0x489f51[_0x3b7b58(_0x4b6755._0x2f7ffe,0x64f,_0x4b6755._0x54f938,_0x4b6755._0x2bca03)]===void 0x0&&_0x5c928a[_0x3b7b58(0x760,_0x4b6755._0xbdf2f1,_0x4b6755._0x945ad8,_0x4b6755._0x20a927)]({'code':'custom','path':[_0x11f675(0x1c3,0x2e0,0x251,0x222)],'message':_0x11f675(_0x4b6755._0x1af85c,-_0x4b6755._0x81af43,0x262,_0x4b6755._0x585a96)});});function validateReasoningOptionIds(_0x5f1d81,_0x5c3463){const _0x359d6c={_0x1dbcb9:0x506,_0x2ad056:0x40b,_0x3ee3fc:0x28f,_0x3ce240:0x5df,_0x9b929c:0x45f,_0x2f5534:0x5ac,_0x325bf5:0x487,_0x4c3ff:0x481,_0x2641c9:0x1b5,_0x42580c:0x3eb,_0x2fcba7:0x1ac,_0x4b347e:0x22c,_0x77e4b4:0x4c6,_0x575b1a:0x575},_0x102409={_0x3983d4:0x16d,_0x5ed66a:0x5d};function _0x1c1d1a(_0x5598d2,_0x55b18e,_0x223d9f,_0x59805b){return _0x5da4fe(_0x59805b-0xa1,_0x55b18e-0x1f1,_0x5598d2,_0x59805b-0x136);}function _0x37f31e(_0x5c2fd1,_0x4815c1,_0x5b0a90,_0x1ce685){return _0x5da4fe(_0x4815c1-0x3f,_0x4815c1-_0x102409._0x3983d4,_0x1ce685,_0x1ce685-_0x102409._0x5ed66a);}const _0x458711=new Set();for(let _0x17df09=0x0;_0x17df09<_0x5f1d81[_0x37f31e(0x408,_0x359d6c._0x1dbcb9,0x3af,0x3b9)];_0x17df09+=0x1){const _0x4e7f87=_0x5f1d81[_0x17df09]?.['id'][_0x1c1d1a(0x56f,0x49f,_0x359d6c._0x2ad056,0x3ca)]();if(!_0x4e7f87)continue;if(_0x458711[_0x1c1d1a(_0x359d6c._0x3ee3fc,_0x359d6c._0x3ce240,_0x359d6c._0x9b929c,0x44c)](_0x4e7f87)){_0x5c3463[_0x1c1d1a(_0x359d6c._0x2f5534,0x36f,_0x359d6c._0x325bf5,_0x359d6c._0x4c3ff)]({'code':'custom','path':[_0x1c1d1a(_0x359d6c._0x2641c9,_0x359d6c._0x42580c,_0x359d6c._0x2fcba7,_0x359d6c._0x4b347e),_0x17df09,'id'],'message':_0x37f31e(0x170,0x2e5,0x1fb,0x2ce)+_0x4e7f87+'\x22'});continue;}_0x458711[_0x1c1d1a(0x3c6,_0x359d6c._0x77e4b4,0x617,_0x359d6c._0x575b1a)](_0x4e7f87);}}var providerReasoningConfigSchema=z['object']({'options':z['array'](reasoningOptionSchema)})['superRefine']((_0x2af0ff,_0x841d65)=>{const _0x5dd72e={_0x27fdff:0x16b};function _0x351204(_0x5a82bc,_0x21341d,_0x20b916,_0x54f7f3){return _0x2389b1(_0x5a82bc-0x13c,_0x21341d-0x30,_0x54f7f3,_0x5a82bc- -0x5ca);}validateReasoningOptionIds(_0x2af0ff[_0x351204(-0xea,0xa1,-0x278,-_0x5dd72e._0x27fdff)],_0x841d65);}),modelReasoningConfigSchema=z['object']({'defaultOption':z[_0x5da4fe(0x290,0x383,0x26b,0x150)]()['trim']()[_0x5da4fe(0x1bd,0x1,0xcd,0x7)](0x1)[_0x2389b1(0x90f,0x6ae,0x608,0x7bc)](),'canDisable':z[_0x5da4fe(0x251,0x3f3,0x3c4,0x3c1)]()[_0x2389b1(0x751,0x7bc,0x70e,0x7bc)](),'options':z['array'](reasoningOptionSchema)})[_0x2389b1(0x932,0x742,0x64b,0x770)]((_0x51186b,_0x1fced8)=>{const _0xdbc7fc={_0x6bdd8d:0x274,_0x28a9dc:0xd1,_0x121183:0x3e,_0x8753bd:0xa,_0xee9fd5:0x152,_0x589c93:0x14f,_0xcaa97f:0x1e3,_0x129c5a:0xa3,_0x132ad9:0x128,_0x2616d4:0x12,_0x53de0a:0x77,_0x2c52bf:0x77e,_0x4599b4:0x6c7,_0x4f62ca:0x585,_0x28ecc1:0x56c,_0x224b85:0x660,_0x4b86f5:0x53a,_0x425a:0x1d2,_0x1c2ff0:0x49a,_0xe33fcf:0x54d},_0x3144f1={_0x22f67e:0x62},_0x14a3fa={_0x157f99:0xa7,_0x11e956:0xb0};validateReasoningOptionIds(_0x51186b[_0x306121(-_0xdbc7fc._0x6bdd8d,-0x14a,-_0xdbc7fc._0x28a9dc,0x46)],_0x1fced8);function _0x1c2f55(_0x408213,_0x182daa,_0x31d520,_0x1dd65e){return _0x2389b1(_0x408213-_0x14a3fa._0x157f99,_0x182daa-_0x14a3fa._0x11e956,_0x31d520,_0x1dd65e- -0x1b);}const _0x43b59a=_0x51186b[_0x306121(0x1a9,_0xdbc7fc._0x121183,-_0xdbc7fc._0x8753bd,-_0xdbc7fc._0xee9fd5)]?.['toLowerCase']();if(_0x43b59a===void 0x0)return;function _0x306121(_0x1210f8,_0x27bb8a,_0x14c82a,_0x236f3f){return _0x2389b1(_0x1210f8-0x62,_0x27bb8a-_0x3144f1._0x22f67e,_0x1210f8,_0x27bb8a- -0x62a);}if(_0x43b59a==='off'){_0x51186b[_0x306121(0x2f3,_0xdbc7fc._0x589c93,_0xdbc7fc._0xcaa97f,0x11f)]!==!![]&&_0x1fced8['addIssue']({'code':_0x306121(-0x14d,-_0xdbc7fc._0x129c5a,-0x257,-0x23f),'path':[_0x306121(-_0xdbc7fc._0x132ad9,0x3e,0x122,0x121)],'message':_0x1c2f55(0x484,0x623,0x546,0x5c1)});return;}!_0x51186b['options'][_0x306121(_0xdbc7fc._0x2616d4,0xb,_0xdbc7fc._0x53de0a,-0x174)](_0x3d3910=>_0x3d3910['id'][_0x1c2f55(0x617,0x61b,0x552,0x663)]()===_0x43b59a)&&_0x1fced8[_0x1c2f55(_0xdbc7fc._0x2c52bf,0x64e,0x5d4,0x71a)]({'code':_0x1c2f55(0x6e4,_0xdbc7fc._0x4599b4,_0xdbc7fc._0x4f62ca,_0xdbc7fc._0x28ecc1),'path':[_0x1c2f55(0x673,_0xdbc7fc._0x224b85,_0xdbc7fc._0x4b86f5,0x64d)],'message':_0x306121(-0x13f,0x60,-0xea,_0xdbc7fc._0x425a)+_0x51186b[_0x1c2f55(0x591,_0xdbc7fc._0x1c2ff0,0x572,0x64d)]+_0x1c2f55(0x6af,0x53e,_0xdbc7fc._0xe33fcf,0x637)});}),modelDefinitionSchema=z['object']({'id':z[_0x5da4fe(0x290,0x277,0x3e3,0x1a1)](),'name':z[_0x5da4fe(0x290,0x255,0x2f9,0xd8)]()[_0x5da4fe(0x467,0x4a3,0x5ed,0x300)](),'reasoning':modelReasoningConfigSchema['optional']()})[_0x5da4fe(0x213,0x2d7,0x1ad,0x1aa)](),modelConfigSchema=z[_0x5da4fe(0x338,0x214,0x30f,0x1e9)]([z[_0x2389b1(0x581,0x6cc,0x667,0x697)](![]),z[_0x2389b1(0x819,0x836,0x519,0x697)](!![]),z['string'](),z[_0x2389b1(0x5b9,0x528,0x377,0x535)](z[_0x5da4fe(0x290,0x17e,0x2e3,0x330)]()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x5da4fe(0x221,0x2e5,0x1b3,0x121),_0x2389b1(0x61b,0x468,0x3e5,0x554),_0x5da4fe(0x410,0x2a7,0x342,0x293),_0x5da4fe(0x19a,0x2c7,0x234,0x274)]),providerConfigSchema=z[_0x5da4fe(0x4ce,0x3ba,0x319,0x373)]({'apiKey':z['string']()[_0x5da4fe(0x467,0x2d8,0x40a,0x2ec)](),'token':z[_0x2389b1(0x768,0x68d,0x71f,0x5e5)]()[_0x5da4fe(0x467,0x46d,0x372,0x347)](),'defaultModel':z[_0x5da4fe(0x290,0x322,0x416,0x1ab)]()[_0x5da4fe(0x467,0x61d,0x45d,0x559)](),'smallModel':z['string']()['optional'](),'currentAuth':z[_0x5da4fe(0x290,0x28f,0x1e5,0x203)]()['optional'](),'auth':z['array'](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x5da4fe(0x467,0x4e7,0x606,0x4a6)](),'baseUrl':z[_0x2389b1(0x624,0x4bb,0x563,0x5e5)]()[_0x2389b1(0x6ac,0x7fa,0x6c7,0x7bc)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x5da4fe(0x469,0x300,0x60f,0x312)](z['string'](),z[_0x5da4fe(0x290,0x3f7,0x2cc,0x117)]())[_0x2389b1(0x7cd,0x7bb,0x778,0x7bc)](),'reasoning':providerReasoningConfigSchema[_0x2389b1(0x839,0x67a,0x8cb,0x7bc)]()})[_0x2389b1(0x717,0x3bc,0x58d,0x568)](),mcpServerConfigSchema=z[_0x2389b1(0x988,0x7bb,0x6bb,0x823)]({'command':z['string']()[_0x5da4fe(0x467,0x364,0x357,0x466)](),'args':z['array'](z[_0x5da4fe(0x290,0x1fc,0x42b,0x2b4)]())[_0x2389b1(0x8e9,0x7c6,0x781,0x7bc)](),'env':z[_0x5da4fe(0x469,0x387,0x396,0x3a0)](z[_0x2389b1(0x46c,0x6ea,0x530,0x5e5)](),z['string']())[_0x2389b1(0x654,0x7c4,0x64a,0x7bc)](),'transport':z[_0x5da4fe(0x236,0x37e,0x299,0xe8)]([_0x2389b1(0x8f1,0x7f1,0x821,0x79c),_0x5da4fe(0x4b6,0x644,0x3cc,0x53e)])[_0x2389b1(0x722,0x96d,0x746,0x7bc)](),'url':z[_0x2389b1(0x772,0x64e,0x6ab,0x5e5)]()[_0x5da4fe(0x467,0x328,0x4a8,0x4b5)](),'headers':z[_0x5da4fe(0x469,0x2ef,0x39b,0x5a7)](z[_0x2389b1(0x618,0x47e,0x491,0x5e5)](),z[_0x5da4fe(0x290,0x226,0x3f8,0x15f)]())[_0x5da4fe(0x467,0x473,0x5da,0x4e9)](),'prefix':z[_0x2389b1(0x74a,0x58c,0x68e,0x5e5)]()[_0x5da4fe(0x467,0x4b7,0x409,0x4d0)](),'timeoutMs':z[_0x2389b1(0x611,0x62c,0x68c,0x75b)]()['optional'](),'enabled':z[_0x5da4fe(0x251,0x361,0x24b,0x106)]()[_0x2389b1(0x6b9,0x855,0x641,0x7bc)](),'auth':z['object']({'type':z['enum'](['none','bearer',_0x2389b1(0x3e6,0x35e,0x443,0x515)]),'token':z[_0x2389b1(0x6e2,0x5f2,0x517,0x5e5)]()[_0x2389b1(0x776,0x6a3,0x8dd,0x7bc)](),'oauth':z[_0x2389b1(0x6ae,0x80d,0x6fb,0x823)]({'clientId':z['string']()[_0x2389b1(0x6f0,0x7a0,0x7dc,0x7bc)](),'clientMetadataUrl':z[_0x2389b1(0x6ea,0x731,0x7a0,0x5e5)]()[_0x2389b1(0x7a0,0x8d0,0x6b0,0x7bc)](),'authorizationServer':z['string']()['optional'](),'scopes':z[_0x5da4fe(0x1e0,0x21d,0x28d,0x273)](z[_0x2389b1(0x45c,0x77c,0x4ac,0x5e5)]())['optional'](),'tokenStorageKey':z[_0x2389b1(0x497,0x6c9,0x46c,0x5e5)]()['optional']()})[_0x5da4fe(0x213,0xf0,0x392,0x26a)]()[_0x5da4fe(0x467,0x5db,0x46b,0x605)]()})['passthrough']()[_0x2389b1(0x626,0x818,0x874,0x7bc)]()})[_0x2389b1(0x450,0x593,0x440,0x568)](),mcpToolPermissionClassSchema=z[_0x2389b1(0x58d,0x5f4,0x562,0x58b)](['read',_0x2389b1(0x6cb,0x754,0x59d,0x5f1),_0x5da4fe(0x2ec,0x14e,0x28c,0x3c4)]),mcpSettingsSchema=z[_0x5da4fe(0x4ce,0x65a,0x438,0x31c)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x2389b1(0x6e0,0x8c2,0x68c,0x7bc)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x2389b1(0x5ce,0x6d9,0x4a4,0x5a6)]()))[_0x5da4fe(0x467,0x3c3,0x57a,0x54f)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))['optional'](),'defaultTimeoutMs':z[_0x2389b1(0x80c,0x8fc,0x723,0x75b)]()[_0x5da4fe(0x467,0x593,0x3e2,0x2fb)]()})[_0x2389b1(0x3b3,0x4c8,0x4e8,0x568)](),skillsSettingsSchema=z[_0x5da4fe(0x4ce,0x540,0x412,0x593)]({'enabled':z['boolean']()[_0x5da4fe(0x467,0x5ad,0x512,0x619)](),'includeDefaults':z[_0x2389b1(0x71c,0x6ad,0x51a,0x5a6)]()[_0x2389b1(0x677,0x8dd,0x8ce,0x7bc)](),'directories':z['array'](z[_0x2389b1(0x595,0x6cc,0x668,0x5e5)]())['optional'](),'exclude':z['array'](z[_0x5da4fe(0x290,0x387,0x27a,0x2ec)]())[_0x2389b1(0x8ad,0x7b4,0x825,0x7bc)]()})[_0x5da4fe(0x213,0x1dc,0x393,0x296)](),commandsSettingsSchema=z[_0x5da4fe(0x4ce,0x4fa,0x47d,0x3f4)]({'enabled':z[_0x5da4fe(0x251,0x228,0x285,0x254)]()[_0x5da4fe(0x467,0x5a0,0x2af,0x4ac)](),'directories':z[_0x2389b1(0x39b,0x49a,0x6ae,0x535)](z[_0x5da4fe(0x290,0xf7,0x44a,0x210)]())['optional']()})[_0x5da4fe(0x213,0x10d,0x18f,0x2fa)](),agentsSettingsSchema=z['object']({'enabled':z[_0x2389b1(0x477,0x615,0x3f1,0x5a6)]()[_0x5da4fe(0x467,0x315,0x4e5,0x301)](),'includeDefaults':z[_0x5da4fe(0x251,0x300,0x28a,0x3aa)]()[_0x2389b1(0x8a0,0x7b6,0x656,0x7bc)](),'directories':z[_0x2389b1(0x418,0x578,0x687,0x535)](z['string']())['optional'](),'maxConcurrency':z[_0x5da4fe(0x406,0x45b,0x504,0x573)]()[_0x5da4fe(0x3a5,0x567,0x493,0x39c)]()['int']()[_0x2389b1(0x436,0x4ca,0x3bc,0x522)]()[_0x5da4fe(0x467,0x36f,0x4e0,0x5a6)]()})[_0x5da4fe(0x213,0x1e6,0x51,0xea)](),uiThemeSettingsSchema=z[_0x2389b1(0x90b,0x8ce,0x9d2,0x823)]({'mode':z[_0x2389b1(0x436,0x573,0x5c1,0x58b)](['auto',_0x2389b1(0x719,0x79a,0x81b,0x6b2),'light'])[_0x2389b1(0x732,0x88d,0x794,0x7bc)](),'colorLevel':z[_0x5da4fe(0x236,0xcb,0x313,0x330)]([_0x2389b1(0x4b0,0x4c5,0x758,0x661),'none',_0x5da4fe(0x4e2,0x509,0x4c3,0x5db),_0x5da4fe(0x374,0x4dd,0x488,0x3a2),_0x2389b1(0x463,0x483,0x563,0x4f9)])[_0x2389b1(0x908,0x85e,0x76a,0x7bc)](),'backgrounds':z[_0x5da4fe(0x236,0x105,0xd4,0x177)](['auto','on','off'])[_0x2389b1(0x616,0x62b,0x7f4,0x7bc)](),'messageStyle':z[_0x5da4fe(0x236,0x233,0x250,0x26d)]([_0x2389b1(0x890,0x7de,0x55d,0x6cd),_0x5da4fe(0x3cf,0x3da,0x447,0x26c)])['optional']()})['passthrough'](),statuslineSegmentSchema=z[_0x2389b1(0x433,0x681,0x481,0x58b)]([_0x2389b1(0x7bd,0x6d8,0x770,0x657),_0x2389b1(0x909,0x7dd,0x914,0x7cf),'thinking',_0x5da4fe(0x46e,0x440,0x36c,0x5e0),'tokens',_0x5da4fe(0x28b,0x17e,0x256,0x3a5),_0x2389b1(0x6c2,0x7b2,0x97f,0x7bd),'requests',_0x5da4fe(0x23d,0x3eb,0x1d6,0xb3),_0x2389b1(0x77c,0x91d,0x662,0x81f),_0x5da4fe(0x43b,0x41f,0x4e6,0x30a),'gitBranch','keybindings',_0x2389b1(0x75a,0x701,0x8b9,0x80c),'rss']),statuslineItemSchema=z[_0x2389b1(0x70c,0x7ba,0x62f,0x68d)]([statuslineSegmentSchema,z[_0x2389b1(0x714,0x4ea,0x811,0x697)]('|')]),statuslineRowSchema=z[_0x2389b1(0x6dc,0x5db,0x4c5,0x535)](statuslineItemSchema),statuslineConfigSchema=z[_0x5da4fe(0x4ce,0x5d5,0x5b7,0x656)]({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x2389b1(0x73d,0x627,0x970,0x7bc)]()})[_0x2389b1(0x714,0x464,0x6f4,0x568)](),memoryExtractionSettingsSchema=z['object']({'enabled':z[_0x5da4fe(0x251,0x1af,0xcc,0x167)]()[_0x2389b1(0x646,0x6f4,0x6ce,0x7bc)](),'provider':z[_0x2389b1(0x607,0x455,0x59c,0x5e5)]()[_0x5da4fe(0x1bd,0x35a,0x199,0x1f3)](0x1)[_0x2389b1(0x6e6,0x741,0x952,0x7bc)](),'model':z[_0x5da4fe(0x290,0x424,0x18a,0x2d2)]()['min'](0x1)['optional'](),'minUserMessages':z[_0x5da4fe(0x406,0x409,0x4d5,0x5c7)]()['int']()['min'](0x1)[_0x5da4fe(0x467,0x57c,0x3ad,0x321)](),'structuredOutput':z['boolean']()[_0x2389b1(0x70f,0x612,0x891,0x7bc)](),'maxSeedTokens':z[_0x2389b1(0x681,0x774,0x6aa,0x75b)]()[_0x5da4fe(0x182,0x13b,-0x2b,0x2d3)]()[_0x5da4fe(0x1bd,0x125,0x2c7,0x39)](0x1)['optional'](),'trimToolOutputs':z[_0x5da4fe(0x251,0x3db,0x301,0x1cb)]()[_0x5da4fe(0x467,0x56a,0x62a,0x5fb)]()})['strict'](),memoryInjectionSettingsSchema=z['object']({'tokenBudget':z[_0x5da4fe(0x406,0x3cc,0x3eb,0x371)]()[_0x5da4fe(0x182,0x45,0x176,0x27f)]()[_0x2389b1(0x53e,0x3bb,0x487,0x512)](0x80)['max'](0x2000)['optional'](),'rankByUsage':z['boolean']()[_0x5da4fe(0x467,0x533,0x325,0x42b)]()})[_0x5da4fe(0x22d,0x1b6,0x3c6,0x8d)](),memoryConsolidateSettingsSchema=z[_0x2389b1(0x91c,0x715,0x7f2,0x823)]({'enabled':z['boolean']()['optional'](),'provider':z[_0x5da4fe(0x290,0x197,0x382,0x364)]()[_0x2389b1(0x4d9,0x62d,0x376,0x512)](0x1)[_0x5da4fe(0x467,0x5c9,0x499,0x416)](),'model':z[_0x5da4fe(0x290,0x12f,0x2a1,0x422)]()[_0x2389b1(0x459,0x3bf,0x3d5,0x512)](0x1)[_0x5da4fe(0x467,0x540,0x373,0x3a5)](),'maxExtractsPerRun':z[_0x5da4fe(0x406,0x489,0x2f4,0x5ac)]()['int']()['min'](0x1)['optional'](),'maxUnusedDays':z[_0x2389b1(0x762,0x7e5,0x75f,0x75b)]()[_0x2389b1(0x425,0x33e,0x67a,0x4d7)]()[_0x5da4fe(0x1bd,0x116,0x46,0x33d)](0x1)[_0x2389b1(0x7b5,0x877,0x681,0x7bc)](),'requireReview':z[_0x5da4fe(0x251,0x135,0x319,0x3b1)]()[_0x2389b1(0x732,0x869,0x6cf,0x7bc)](),'writeSkills':z[_0x2389b1(0x4ca,0x54d,0x71e,0x5a6)]()['optional'](),'readSourceTranscripts':z[_0x5da4fe(0x251,0x246,0xf0,0x2d1)]()[_0x2389b1(0x787,0x93a,0x660,0x7bc)](),'maxTranscriptReadsPerRun':z['number']()[_0x5da4fe(0x182,0x158,0xd9,0x2d7)]()[_0x2389b1(0x4ef,0x6a8,0x52a,0x512)](0x0)[_0x5da4fe(0x467,0x2fb,0x341,0x550)]()})['strict'](),memorySettingsSchema=z['object']({'enabled':z[_0x5da4fe(0x251,0x3da,0x3cb,0x309)]()['optional'](),'extraction':memoryExtractionSettingsSchema[_0x2389b1(0x5ff,0x90a,0x70d,0x7bc)](),'consolidate':memoryConsolidateSettingsSchema[_0x5da4fe(0x467,0x57d,0x4ea,0x465)](),'injection':memoryInjectionSettingsSchema[_0x2389b1(0x806,0x761,0x7b3,0x7bc)]()})[_0x5da4fe(0x22d,0x2e6,0x308,0x3d0)](),recentModelSchema=z[_0x2389b1(0x6ff,0x955,0x6cf,0x823)]({'provider':z[_0x5da4fe(0x290,0xf2,0x2a7,0x2c6)](),'model':z['string'](),'usedAt':z[_0x5da4fe(0x406,0x45b,0x2c6,0x44c)]()})[_0x5da4fe(0x213,0x9e,0x34b,0x11b)](),lspServerEntrySchema=z[_0x5da4fe(0x4ce,0x661,0x58c,0x4ef)]({'disabled':z[_0x2389b1(0x46c,0x429,0x5bc,0x5a6)]()[_0x2389b1(0x5f8,0x87a,0x77c,0x7bc)](),'command':z['string']()[_0x5da4fe(0x467,0x422,0x2ba,0x3b0)](),'args':z[_0x2389b1(0x521,0x6df,0x533,0x535)](z['string']())[_0x5da4fe(0x467,0x4f7,0x30f,0x572)](),'rootMarkers':z['array'](z['string']())[_0x2389b1(0x89c,0x827,0x799,0x7bc)]()})['passthrough'](),lspConfigSchema=z[_0x2389b1(0x748,0x723,0x7cc,0x823)]({'enabled':z[_0x2389b1(0x487,0x575,0x5a1,0x5a6)]()[_0x2389b1(0x68f,0x6c5,0x6e6,0x7bc)](),'servers':z['record'](z['string'](),lspServerEntrySchema)['optional']()})[_0x5da4fe(0x213,0x39e,0x17c,0x380)](),serverEndpointSchema=z[_0x5da4fe(0x4ce,0x35b,0x3e1,0x4c8)]({'url':z['string'](),'token':z[_0x2389b1(0x4d3,0x46a,0x4c5,0x5e5)]()[_0x2389b1(0x6a0,0x851,0x638,0x7bc)]()})['passthrough'](),commandHookConfigSchema=z[_0x2389b1(0x960,0x958,0x6bc,0x823)]({'type':z[_0x2389b1(0x6ab,0x526,0x6d9,0x697)]('command'),'command':z['string'](),'timeout':z[_0x5da4fe(0x406,0x3cf,0x3f2,0x460)]()[_0x2389b1(0x8b3,0x61e,0x8e2,0x7bc)]()}),hookMatcherGroupSchema=z[_0x5da4fe(0x4ce,0x587,0x4ce,0x43c)]({'matcher':z[_0x5da4fe(0x290,0x132,0x2f7,0x2f0)]()[_0x2389b1(0x611,0x940,0x793,0x7bc)](),'hooks':z[_0x5da4fe(0x1e0,0x107,0x1a6,0x34d)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5da4fe(0x4ce,0x38d,0x317,0x48d)]({'PreToolUse':z[_0x2389b1(0x402,0x3a2,0x5c6,0x535)](hookMatcherGroupSchema)[_0x5da4fe(0x467,0x3a6,0x39a,0x35d)](),'PostToolUse':z[_0x5da4fe(0x1e0,0x136,0x358,0x1ee)](hookMatcherGroupSchema)[_0x5da4fe(0x467,0x313,0x52d,0x48f)](),'UserPromptSubmit':z[_0x2389b1(0x63d,0x6ea,0x385,0x535)](hookMatcherGroupSchema)[_0x2389b1(0x743,0x694,0x83c,0x7bc)](),'Stop':z[_0x2389b1(0x428,0x63d,0x4b3,0x535)](hookMatcherGroupSchema)[_0x5da4fe(0x467,0x3c6,0x4f4,0x442)](),'Notification':z['array'](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x2389b1(0x526,0x377,0x493,0x535)](hookMatcherGroupSchema)[_0x5da4fe(0x467,0x41f,0x4eb,0x2e7)](),'SessionStart':z[_0x5da4fe(0x1e0,0x2d5,0x27f,0x1a2)](hookMatcherGroupSchema)[_0x5da4fe(0x467,0x3a9,0x519,0x593)](),'SessionEnd':z[_0x5da4fe(0x1e0,0x25d,0x22c,0x1a7)](hookMatcherGroupSchema)[_0x5da4fe(0x467,0x4cd,0x5d9,0x592)]()}),providerNameSchema=z[_0x2389b1(0x4c9,0x480,0x49b,0x5e5)]()[_0x5da4fe(0x1bd,0x2e9,0x20,0x21f)](0x1,_0x5da4fe(0x1b8,0x3d,0x125,0x1d9))[_0x5da4fe(0x389,0x283,0x1ed,0x1d2)](_0xf4c8cb=>!_0xf4c8cb[_0x2389b1(0x83d,0x851,0x952,0x835)](':'),'Provider\x20name\x20cannot\x20contain\x20\x27:\x27'),bashPolicyRuleSchema=z[_0x5da4fe(0x4ce,0x4a9,0x3fd,0x4b0)]({'id':z[_0x2389b1(0x4fa,0x556,0x6a7,0x5e5)]()[_0x2389b1(0x470,0x471,0x68e,0x5da)]()[_0x2389b1(0x552,0x48b,0x56d,0x512)](0x1)[_0x5da4fe(0x2f6,0x455,0x470,0x20b)](0x80),'action':z[_0x2389b1(0x6ee,0x447,0x680,0x58b)]([_0x5da4fe(0x18a,0x1b5,0xba,0x34a),'deny']),'cwd':z[_0x5da4fe(0x236,0x1de,0x20f,0x242)]([_0x2389b1(0x78a,0x654,0x450,0x5cc),'any-allowed'])['optional'](),'commands':z['array'](z[_0x2389b1(0x646,0x713,0x64a,0x5e5)]()[_0x5da4fe(0x1bd,0x27e,0x15d,0x3e)](0x1))['min'](0x1)})[_0x5da4fe(0x22d,0x261,0x23a,0x2d0)](),bashPolicyConfigSchema=z['object']({'default':z[_0x5da4fe(0x342,0x40d,0x44e,0x206)](_0x5da4fe(0x44b,0x3df,0x2c6,0x338))['optional'](),'rules':z[_0x2389b1(0x558,0x5aa,0x49b,0x535)](bashPolicyRuleSchema)[_0x2389b1(0x630,0x7e7,0x77a,0x64b)](0x3e8)})[_0x2389b1(0x676,0x712,0x663,0x582)](),cliConfigSchema=z['object']({'activeProvider':providerNameSchema[_0x2389b1(0x701,0x953,0x6a3,0x7bc)](),'activeModel':z[_0x5da4fe(0x290,0xd7,0x3a4,0x325)]()[_0x2389b1(0x705,0x768,0x94d,0x7bc)](),'apiKey':z[_0x2389b1(0x69c,0x74a,0x66e,0x5e5)]()[_0x2389b1(0x622,0x693,0x827,0x7bc)](),'providers':z[_0x2389b1(0x910,0x755,0x8ce,0x7be)](providerNameSchema,providerConfigSchema)[_0x2389b1(0x88f,0x940,0x737,0x7bc)](),'mcp':mcpSettingsSchema[_0x5da4fe(0x467,0x349,0x317,0x422)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x2389b1(0x970,0x75b,0x7c0,0x7bc)](),'commands':commandsSettingsSchema[_0x2389b1(0x6ef,0x614,0x600,0x7bc)](),'skillsEnabled':z[_0x5da4fe(0x469,0x32b,0x60c,0x3df)](z['string'](),z[_0x5da4fe(0x251,0x93,0x37e,0x390)]())[_0x5da4fe(0x467,0x544,0x39f,0x4a4)](),'allowedDirs':z[_0x2389b1(0x6a5,0x5b6,0x3e7,0x535)](z[_0x2389b1(0x549,0x740,0x793,0x5e5)]())[_0x2389b1(0x779,0x89c,0x632,0x7bc)](),'mcpEnabled':prototypeSafeRecord(z[_0x5da4fe(0x251,0x216,0x273,0x1e8)]())[_0x5da4fe(0x467,0x394,0x5db,0x322)](),'commandsEnabled':z['record'](z['string'](),z[_0x5da4fe(0x251,0x2bf,0x2d7,0x32e)]())[_0x2389b1(0x6d6,0x609,0x97f,0x7bc)](),'memory':memorySettingsSchema[_0x2389b1(0x6dd,0x65f,0x85c,0x7bc)](),'session':z[_0x5da4fe(0x4ce,0x5ce,0x4fe,0x3a4)]({'memPersist':z['boolean']()[_0x2389b1(0x885,0x5f8,0x8bb,0x7bc)](),'persistEventLog':z[_0x5da4fe(0x251,0x131,0x2b7,0x3fc)]()[_0x2389b1(0x681,0x75e,0x701,0x7bc)](),'persistHttpLog':z['boolean']()[_0x2389b1(0x88d,0x8c5,0x680,0x7bc)]()})[_0x2389b1(0x3b8,0x3ac,0x53c,0x568)]()['optional'](),'requireToolApproval':z['boolean']()['optional'](),'thinking':z['object']({'selections':z[_0x5da4fe(0x469,0x59a,0x576,0x3fa)](z['string'](),z[_0x5da4fe(0x290,0x286,0x2b5,0x2bb)]())[_0x5da4fe(0x467,0x56b,0x303,0x4eb)]()})[_0x5da4fe(0x467,0x33f,0x395,0x368)](),'streamingChunks':z[_0x2389b1(0x490,0x510,0x57b,0x5a6)]()['optional'](),'agentsEnabled':z[_0x5da4fe(0x469,0x2d1,0x3b2,0x520)](z['string'](),z[_0x5da4fe(0x251,0x203,0x3c9,0xf8)]())[_0x5da4fe(0x467,0x2fa,0x538,0x326)](),'recentModels':z['array'](recentModelSchema)['optional'](),'lsp':lspConfigSchema[_0x5da4fe(0x467,0x357,0x354,0x341)](),'servers':z['record'](z['string'](),serverEndpointSchema)['optional'](),'ui':z[_0x5da4fe(0x4ce,0x56b,0x582,0x349)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x2389b1(0x892,0x63b,0x6b9,0x7bc)]()})[_0x2389b1(0x4c3,0x42d,0x42a,0x568)]()[_0x2389b1(0x7a3,0x837,0x848,0x7bc)](),'tools':z[_0x5da4fe(0x469,0x4a5,0x5e7,0x536)](z[_0x5da4fe(0x290,0x22b,0x284,0x3aa)](),z[_0x5da4fe(0x33e,0x4f6,0x1f8,0x418)]())[_0x5da4fe(0x467,0x501,0x48a,0x491)](),'hooks':hooksConfigSchema[_0x2389b1(0x7a3,0x7ea,0x744,0x7bc)](),'bashPolicy':z[_0x2389b1(0x6a9,0x5bc,0x571,0x693)]()['optional']()})[_0x2389b1(0x435,0x3bf,0x418,0x568)](),workspaceOverlaySchema=z[_0x2389b1(0x852,0x719,0x6a6,0x823)]({'root':z[_0x2389b1(0x529,0x667,0x718,0x5e5)]()['optional'](),'allowedDirs':z[_0x5da4fe(0x1e0,0x249,0x24c,0x359)](z[_0x2389b1(0x6d9,0x55e,0x562,0x5e5)]())[_0x5da4fe(0x467,0x5c8,0x3d3,0x4cb)](),'activeProvider':providerNameSchema[_0x2389b1(0x72b,0x8ff,0x6ac,0x7bc)](),'activeModel':z['string']()['optional'](),'mcp':mcpSettingsSchema[_0x2389b1(0x87f,0x747,0x940,0x7bc)](),'skills':skillsSettingsSchema[_0x5da4fe(0x467,0x45e,0x33b,0x2d9)](),'agents':agentsSettingsSchema[_0x2389b1(0x8fa,0x86c,0x6fd,0x7bc)](),'commands':commandsSettingsSchema[_0x5da4fe(0x467,0x341,0x5f2,0x3d3)](),'hooks':hooksConfigSchema[_0x2389b1(0x8f7,0x963,0x683,0x7bc)](),'memory':memorySettingsSchema[_0x5da4fe(0x467,0x329,0x5a4,0x53c)](),'mcpEnabled':prototypeSafeRecord(z[_0x5da4fe(0x251,0x27a,0x258,0x385)]())[_0x2389b1(0x979,0x77a,0x8e4,0x7bc)](),'skillsEnabled':z[_0x5da4fe(0x469,0x5a8,0x621,0x4d0)](z['string'](),z[_0x5da4fe(0x251,0x2f6,0x17c,0xe2)]())[_0x2389b1(0x611,0x66e,0x61e,0x7bc)](),'agentsEnabled':z['record'](z[_0x5da4fe(0x290,0x18c,0x33c,0x418)](),z[_0x2389b1(0x5d9,0x419,0x59e,0x5a6)]())[_0x5da4fe(0x467,0x33d,0x5e1,0x3c1)](),'commandsEnabled':z[_0x2389b1(0x701,0x979,0x8d5,0x7be)](z[_0x5da4fe(0x290,0x163,0xdb,0x18e)](),z[_0x5da4fe(0x251,0x2be,0x411,0x10f)]())[_0x2389b1(0x6cb,0x88f,0x8f7,0x7bc)](),'bashPolicy':z['unknown']()[_0x2389b1(0x62d,0x826,0x8be,0x7bc)]()})[_0x5da4fe(0x213,0x1a8,0xe8,0x1c4)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x2389b1(0x91a,0x801,0x6b2,0x78e)](Object['prototype']),_0x5da4fe(0x496,0x39f,0x44d,0x31d)]);function buildDescription(_0x3a8d09){const _0x19199d={_0x19002b:0x506,_0x577af3:0xa,_0x383ff2:0x16d,_0x58c733:0x225,_0x406518:0x426,_0x34045e:0x3da,_0x48c5bd:0x567,_0x182dac:0x688,_0x234d89:0x152,_0x583390:0x401,_0x15007a:0x2ba,_0xd7d070:0x20d,_0x15dba7:0x2a6,_0x24cc7c:0x11f},_0x120aee={_0x59e770:0xe6},_0x268688={_0x337595:0x5e5};if(_0x3a8d09[_0x3e60f7(0x631,_0x19199d._0x19002b,0x64a,0x67c)]===0x0)return[_0x3450c1(-_0x19199d._0x577af3,0x76,0xcc,_0x19199d._0x383ff2),_0x3450c1(-0x2e,_0x19199d._0x58c733,0x61,0xd7),_0x3e60f7(_0x19199d._0x406518,_0x19199d._0x34045e,0x409,0x591)]['join']('\x0a');function _0x3450c1(_0x5b7a21,_0x8bcb2a,_0x1815e8,_0x61acc5){return _0x2389b1(_0x5b7a21-0xa8,_0x8bcb2a-0x1ea,_0x8bcb2a,_0x61acc5- -_0x268688._0x337595);}function _0x3e60f7(_0x22f6ac,_0xe767fa,_0x6507ab,_0x3e6939){return _0x5da4fe(_0x22f6ac-0x16a,_0xe767fa-0xfe,_0x3e6939,_0x3e6939-_0x120aee._0x59e770);}const _0x113228=[_0x3e60f7(_0x19199d._0x48c5bd,0x66c,_0x19199d._0x182dac,0x544),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x3450c1(0x1a4,0xfe,0xc4,_0x19199d._0x234d89),..._0x3a8d09[_0x3e60f7(_0x19199d._0x583390,_0x19199d._0x15007a,0x2ed,0x335)](_0x2a3026=>_0x2a3026['argumentHint']?'-\x20'+_0x2a3026['name']+'\x20'+_0x2a3026['argumentHint']+':\x20'+_0x2a3026[_0x3450c1(0x118,-0x14c,-0x185,-0x66)]:'-\x20'+_0x2a3026[_0x3450c1(0x1b3,0x13c,0x176,0x1ad)]+':\x20'+_0x2a3026['description'])];return _0x113228[_0x3450c1(-0x13a,-_0x19199d._0xd7d070,-_0x19199d._0x15dba7,-_0x19199d._0x24cc7c)]('\x0a');}function createInvokeCommandTool(_0x32eeb7){const _0x3cf953={_0x588e02:0x4d3,_0x2508b2:0xdc,_0x110b88:0x3f2,_0x468c15:0x417,_0x6f68ec:0x2f0},_0x2fe1e0={_0x29e24d:0x49e,_0x17d2e5:0x645,_0x15cb05:0x175,_0x1d35aa:0x136,_0x28069b:0x8,_0x374c86:0xb3,_0x399eb8:0x15f,_0x4b844c:0x137,_0x2dae12:0x222,_0x21d8a4:0x13c,_0x149f90:0x2c4,_0x3f42f1:0x35b,_0x1bb718:0x68b,_0x20962a:0x6fb,_0xb29484:0x7f6,_0x51116b:0x392,_0x349651:0x283,_0x53756a:0x37e,_0x526358:0x1ba,_0x3231b5:0x125,_0x339aff:0x166,_0x98a7c7:0x687,_0x21e80d:0x8db,_0x2c083e:0x63c,_0x16f93e:0x775,_0x4f8b1d:0xee,_0xe25a63:0x11b,_0x19f3b9:0x18c},_0x5f1735={_0x570da8:0xea,_0x1948ee:0x97};function _0x179fe4(_0x3a8a3b,_0x478ee8,_0x2e8c99,_0x45d699){return _0x5da4fe(_0x2e8c99- -0x210,_0x478ee8-0xcf,_0x478ee8,_0x45d699-0x25);}const _0x5194c6=new Map(_0x32eeb7['commands'][_0x1d0199(0x449,0x378,0x526,_0x3cf953._0x588e02)](_0x1ec175=>[_0x1ec175['id'],_0x1ec175])),_0x509e22=buildDescription(_0x32eeb7[_0x179fe4(0x13f,-0xdb,-0xc,0x89)]);function _0x1d0199(_0x40aa40,_0x1df726,_0x54769a,_0x2b14c8){return _0x2389b1(_0x40aa40-0x76,_0x1df726-0x1a2,_0x54769a,_0x40aa40- -0x1a3);}return defineTool({'name':'InvokeCommand','permissionClass':_0x179fe4(0x60,0xdc,_0x3cf953._0x2508b2,0x1a0),'description':_0x509e22,'inputSchema':{'type':_0x179fe4(0x44b,_0x3cf953._0x110b88,0x2be,_0x3cf953._0x468c15),'properties':{'name':{'type':'string'},'args':{'type':_0x1d0199(0x442,0x3b1,_0x3cf953._0x6f68ec,0x5e7)}},'required':['name']},async *'execute'(_0xea9e59){const _0x340987=_0x5194c6['get'](_0xea9e59[_0x386c63(0x702,0x75c,0x7b7,0x5dd)]);if(!_0x340987){const _0x3902e1=Array[_0x386c63(0x34c,_0x2fe1e0._0x29e24d,_0x2fe1e0._0x17d2e5,0x5d4)](_0x5194c6[_0x472e08(0x212,_0x2fe1e0._0x15cb05,_0x2fe1e0._0x1d35aa,0x3b4)]())[_0x472e08(-_0x2fe1e0._0x28069b,_0x2fe1e0._0x374c86,0x38,_0x2fe1e0._0x399eb8)](',\x20');throw new ToolExecutionError(_0x472e08(_0x2fe1e0._0x4b844c,0x9f,_0x2fe1e0._0x2dae12,_0x2fe1e0._0x21d8a4)+_0xea9e59[_0x472e08(_0x2fe1e0._0x149f90,0x3d8,0x3c8,_0x2fe1e0._0x3f42f1)]+_0x386c63(0x5a8,_0x2fe1e0._0x1bb718,_0x2fe1e0._0x20962a,_0x2fe1e0._0xb29484)+_0x3902e1,{'name':_0xea9e59[_0x472e08(0x2c4,_0x2fe1e0._0x51116b,_0x2fe1e0._0x349651,_0x2fe1e0._0x53756a)]});}const _0x2fe490=await _0x32eeb7['loadCommand'](_0x340987),_0x2d00ed=_0xea9e59[_0x472e08(0x2,_0x2fe1e0._0x526358,_0x2fe1e0._0x3231b5,-_0x2fe1e0._0x339aff)]??'',_0x4703e2=renderCommandInstructions({'instructions':_0x2fe490['instructions'],'argumentsText':_0x2d00ed,'argumentNames':_0x2fe490['arguments']});yield createToolOutput(_0x4703e2,{'id':_0x2fe490['id'],'name':_0x2fe490[_0x386c63(0x654,0x75c,_0x2fe1e0._0x98a7c7,_0x2fe1e0._0x21e80d)],'path':_0x340987[_0x386c63(0x6de,_0x2fe1e0._0x2c083e,0x6f8,_0x2fe1e0._0x16f93e)][_0x472e08(0x1e1,_0x2fe1e0._0x4f8b1d,_0x2fe1e0._0xe25a63,_0x2fe1e0._0x19f3b9)]});function _0x472e08(_0x513949,_0x15996c,_0x58f08f,_0x96c059){return _0x179fe4(_0x513949-_0x5f1735._0x570da8,_0x96c059,_0x513949-_0x5f1735._0x1948ee,_0x96c059-0x58);}function _0x386c63(_0x18653a,_0x3dbe2b,_0x3abf1c,_0x3ec4e4){return _0x1d0199(_0x3dbe2b-0x16d,_0x3dbe2b-0x15,_0x3abf1c,_0x3ec4e4-0x4d);}return void 0x0;}});}import{readFile as _0x1bffa7,rename as _0x3a6290,stat as _0x3b028c,writeFile as _0x404921}from'fs/promises';import*as _0x329143 from'path';import{createHash}from'crypto';function sha256Bytes(_0x17a7f0){const _0x172c2f={_0x45ba56:0x37d,_0x2fbe55:0x25b,_0xc9d3d2:0x384,_0x3e6768:0x1bc},_0x1ed55d={_0x36f46e:0x118};function _0x18ddcc(_0x14468d,_0x4d7705,_0x4430d1,_0x3844f7){return _0x2389b1(_0x14468d-0x5d,_0x4d7705-_0x1ed55d._0x36f46e,_0x3844f7,_0x4d7705- -0x261);}function _0xa02c01(_0x4517fa,_0x18ccea,_0xfae3de,_0x201e19){return _0x2389b1(_0x4517fa-0xa3,_0x18ccea-0x85,_0x201e19,_0x4517fa- -0x307);}return createHash(_0xa02c01(_0x172c2f._0x45ba56,0x200,0x1f0,0x398))[_0x18ddcc(_0x172c2f._0x2fbe55,0x329,0x180,0x3d1)](_0x17a7f0)[_0xa02c01(_0x172c2f._0xc9d3d2,0x3db,0x20e,0x441)](_0x18ddcc(0x31a,0x2ef,_0x172c2f._0x3e6768,0x1d5));}function countLines(_0x4b24c5){const _0x5529b8={_0x26345c:0xf5,_0x336a8f:0xac,_0x3bc5d0:0x16d,_0x20881d:0x754,_0x2b47cc:0x5bf,_0x13a9b5:0x250,_0x1459cc:0x1b8,_0x629e22:0x1ee,_0x1ec7fe:0x200,_0x10e6c7:0xcd},_0x4320bf={_0x4be8f6:0x8,_0x49e07f:0x131},_0x46dc4b={_0x1c1c23:0x152,_0xf1b1dc:0x1ae,_0x11ee31:0x196};function _0x1e42a1(_0x311238,_0xdde248,_0x9b940d,_0x40fbd7){return _0x2389b1(_0x311238-_0x46dc4b._0x1c1c23,_0xdde248-_0x46dc4b._0xf1b1dc,_0x311238,_0x9b940d- -_0x46dc4b._0x11ee31);}function _0x364f34(_0x6b88a3,_0x5221f3,_0x484e7b,_0x295759){return _0x2389b1(_0x6b88a3-_0x4320bf._0x4be8f6,_0x5221f3-_0x4320bf._0x49e07f,_0x5221f3,_0x6b88a3- -0x62e);}const _0x1960ee=_0x4b24c5[_0x364f34(-_0x5529b8._0x26345c,-_0x5529b8._0x336a8f,-0x277,-_0x5529b8._0x3bc5d0)](/\n$/,'');return _0x1960ee[_0x1e42a1(_0x5529b8._0x20881d,0x593,0x686,_0x5529b8._0x2b47cc)]===0x0?0x0:_0x1960ee[_0x364f34(-0x148,-_0x5529b8._0x13a9b5,-_0x5529b8._0x1459cc,-0xf9)]('\x0a')[_0x364f34(_0x5529b8._0x629e22,_0x5529b8._0x1ec7fe,0xc0,_0x5529b8._0x10e6c7)];}function replaceFirstExact(_0x53337c,_0x28c25e,_0x1b1780){const _0x52cbc0={_0x35155e:0x391,_0x3b2a42:0x515,_0x2c5df1:0x2ed,_0x245ba7:0x3d,_0x3b8c58:0x171,_0x3f566e:0x164,_0x542956:0x48,_0x117f9c:0x15,_0x4334fe:0xf1,_0x5c4a63:0xad,_0x537c15:0xe4,_0x35880b:0xe6},_0x174a9b={_0x443e19:0x15e,_0x2ce360:0x11f},_0x2cd242={_0x147f7d:0x89},_0x533aaf=_0x53337c[_0x5a7bdc(_0x52cbc0._0x35155e,0x3fe,_0x52cbc0._0x3b2a42,_0x52cbc0._0x2c5df1)](_0x28c25e);if(_0x533aaf===-0x1)return void 0x0;const _0x25a9b1=_0x53337c[_0x1dce46(-0x41,_0x52cbc0._0x245ba7,0x12,-0xf1)](0x0,_0x533aaf)[_0x1dce46(-_0x52cbc0._0x3b8c58,-0x289,-0x255,-0x250)]('\x0a')['length'];function _0x1dce46(_0x2faba7,_0x307459,_0x30ee94,_0x49ad9e){return _0x5da4fe(_0x49ad9e- -0x3e1,_0x307459-_0x2cd242._0x147f7d,_0x2faba7,_0x49ad9e-0x103);}function _0x5a7bdc(_0xd61009,_0x39e794,_0x3f425e,_0x12c5a8){return _0x2389b1(_0xd61009-_0x174a9b._0x443e19,_0x39e794-_0x174a9b._0x2ce360,_0x3f425e,_0x39e794- -0x1e5);}const _0x4b8ddd=countLines(_0x28c25e),_0x59f363=countLines(_0x1b1780);return{'before':_0x53337c,'after':_0x53337c[_0x1dce46(-_0x52cbc0._0x3f566e,-0x6d,-0x16c,-0xf1)](0x0,_0x533aaf)+_0x1b1780+_0x53337c[_0x1dce46(_0x52cbc0._0x542956,-0x248,-_0x52cbc0._0x117f9c,-_0x52cbc0._0x4334fe)](_0x533aaf+_0x28c25e[_0x1dce46(_0x52cbc0._0x5c4a63,0x25f,_0x52cbc0._0x537c15,_0x52cbc0._0x35880b)]),'lineNumbers':{'oldStartLine':_0x25a9b1,'oldEndLine':_0x25a9b1+_0x4b8ddd-0x1,'newStartLine':_0x25a9b1,'newEndLine':_0x25a9b1+_0x59f363-0x1,'oldLineCount':_0x4b8ddd,'newLineCount':_0x59f363}};}function detectEol(_0x4585de){const _0x45ecce={_0x2fed59:0x718,_0x452290:0x5e5,_0x47d47a:0x1e4,_0x5a36c4:0x301,_0x3aabb4:0x47a,_0x4471d1:0x3ec},_0x270ed8={_0x122b76:0x60},_0x275241={_0x573bcb:0xec,_0x5d9551:0x1e8};function _0x51f449(_0x11814c,_0x3fea1e,_0x3e9fdd,_0x537fd6){return _0x5da4fe(_0x3fea1e-0x304,_0x3fea1e-_0x275241._0x573bcb,_0x11814c,_0x537fd6-_0x275241._0x5d9551);}function _0x318317(_0x191c81,_0x293994,_0x57b3ac,_0xbc02b){return _0x2389b1(_0x191c81-_0x270ed8._0x122b76,_0x293994-0xf8,_0x57b3ac,_0xbc02b- -0x6a9);}return/\r\n/[_0x51f449(0x877,_0x45ecce._0x2fed59,_0x45ecce._0x452290,0x5e7)](_0x4585de[_0x318317(-0x21f,-_0x45ecce._0x47d47a,-_0x45ecce._0x5a36c4,-0x17c)](_0x51f449(0x4fa,_0x45ecce._0x3aabb4,_0x45ecce._0x4471d1,0x3af)))?'crlf':'lf';}function normalizeToLf(_0x3df687){const _0x4079e7={_0x4aad8a:0xfb},_0x4d94e4={_0x2993a5:0xd0};function _0x36ee85(_0x45348e,_0x2756b5,_0x27cf84,_0x12b533){return _0x2389b1(_0x45348e-_0x4d94e4._0x2993a5,_0x2756b5-0x3a,_0x2756b5,_0x27cf84- -0x634);}return _0x3df687[_0x36ee85(-0x6b,-0x1a7,-_0x4079e7._0x4aad8a,-0x280)](/\r\n/g,'\x0a');}function convertEol(_0x141820,_0x20fac5){const _0x5bd022={_0x117d26:0x638,_0x34369e:0x3cb,_0x24fa5a:0x283,_0x36a20a:0x48f},_0x1bd3aa={_0x4535a2:0x1b8};function _0x6dfa79(_0x51deef,_0x8626dc,_0x205f3f,_0x4d12e0){return _0x2389b1(_0x51deef-_0x1bd3aa._0x4535a2,_0x8626dc-0x181,_0x205f3f,_0x51deef- -0x4f0);}function _0x5980a8(_0x4d5163,_0x5e0b69,_0x1d1472,_0x628ca8){return _0x5da4fe(_0x4d5163-0x262,_0x5e0b69-0x15f,_0x1d1472,_0x628ca8-0x53);}return _0x20fac5===_0x5980a8(0x561,_0x5bd022._0x117d26,0x580,_0x5bd022._0x34369e)?_0x141820[_0x5980a8(0x446,_0x5bd022._0x24fa5a,_0x5bd022._0x36a20a,0x502)](/\n/g,'\x0d\x0a'):_0x141820;}async function atomicWrite(_0x59764c,_0x1448be){const _0x50b9f5={_0x4ac839:0x1c5,_0xec9522:0x3c3,_0x1977cb:0x26c,_0x3112aa:0xcd,_0x42dfc7:0x360,_0x1d91f9:0x254,_0x222e8a:0x17,_0x3cae63:0xa3,_0x4678bc:0x80,_0xd3de29:0x1f4,_0x4b07e9:0x2bc,_0xb87111:0x219,_0x9dc71f:0x4e,_0x266aa2:0x95,_0x482af3:0xb2},_0x2dcbac={_0x360caa:0x721},_0x56bd8e={_0x1a6f29:0x101},_0x5ce135=_0x329143[_0xb6a046(_0x50b9f5._0x4ac839,0x208,_0x50b9f5._0xec9522,0x264)](_0x59764c),_0x4e6407=_0x329143[_0xb6a046(-_0x50b9f5._0x1977cb,0x2d,0xe6,-_0x50b9f5._0x3112aa)](_0x5ce135,'.tmp.'+_0x329143[_0xc96e79(-0x1f1,-_0x50b9f5._0x42dfc7,-0x157,-_0x50b9f5._0x1d91f9)](_0x59764c)+'.'+Date[_0xb6a046(0x10b,_0x50b9f5._0x222e8a,-_0x50b9f5._0x3cae63,-_0x50b9f5._0x4678bc)]()+'.'+Math['random']()[_0xc96e79(-_0x50b9f5._0xd3de29,-0x239,-_0x50b9f5._0x4b07e9,-0x120)](0x24)[_0xb6a046(_0x50b9f5._0xb87111,-_0x50b9f5._0x9dc71f,-_0x50b9f5._0x266aa2,_0x50b9f5._0x482af3)](0x2));function _0xb6a046(_0xf6355a,_0x52eee2,_0x134bea,_0x1a4505){return _0x5da4fe(_0x1a4505- -0x23e,_0x52eee2-0x53,_0xf6355a,_0x1a4505-_0x56bd8e._0x1a6f29);}function _0xc96e79(_0x25d40a,_0x2c63a9,_0x23429d,_0x550a08){return _0x2389b1(_0x25d40a-0x127,_0x2c63a9-0x109,_0x550a08,_0x25d40a- -_0x2dcbac._0x360caa);}await _0x404921(_0x4e6407,_0x1448be),await _0x3a6290(_0x4e6407,_0x59764c);}function createFileEditTool(_0x5d3d20={}){const _0x54731a={_0x4383fe:0x358,_0x9bb100:0xdd,_0x5c7f65:0x4a1,_0x127edf:0x376,_0x2e5c96:0x4ac,_0x3f89c9:0x447,_0x19b7da:0x357,_0x2db3f2:0x4f8,_0x2deb90:0x207,_0x2d7caa:0xa2,_0x35a86:0x3c1,_0x31bbf0:0x28f,_0x987580:0x7e,_0xd6afb8:0xdc,_0x573795:0x115,_0x4dc840:0x41f,_0xb21bb7:0x1bc,_0x4b43e8:0x1c5,_0x1a6129:0x218,_0x5b4919:0x2ba,_0x140605:0x265,_0x489798:0x2e0,_0x5b7f6b:0x338,_0x3c8399:0x238,_0x35d13c:0xfb,_0x546a3a:0x46},_0x41aeb6={_0x35c1b4:0x349,_0x27acea:0x4e8,_0x7d6740:0x67a,_0x465551:0x4a8,_0x4d8fc4:0x27a,_0x5624d3:0x23e,_0x532b11:0x485,_0x49aaa7:0x45f,_0x3101a7:0x1d0,_0x116d21:0x1f6,_0x434297:0x545,_0x5ee93c:0x407,_0x2ee6a7:0x14a,_0x362a9b:0x9d,_0x57345e:0x107,_0x49c90e:0x2e5,_0x4e00d7:0x311,_0x4f2456:0x3bc,_0x264e1e:0x429,_0x541781:0x118,_0x570c16:0xea,_0x3ae466:0x5a,_0x395618:0x255,_0x3e13ce:0x336,_0x4953ae:0x30f,_0x5c7ea5:0x6f6,_0x4701cd:0x6c0,_0x226485:0x635,_0x54fee0:0x44f,_0x164c98:0x3ea,_0x1cd4be:0x28b,_0x2aa38b:0x191,_0xec6de4:0x705,_0x5883e1:0x55e,_0x48e0a4:0x432,_0x5150d8:0x6f3,_0x391404:0x7e1,_0x8497b1:0x6c5,_0x3d6859:0x51c,_0x507156:0x6f9,_0x286bc0:0x570,_0x534816:0x51b,_0x22759a:0x2b5,_0x5cbc85:0x3a4,_0x2d56d7:0x5cd,_0x36cc11:0x6f4,_0x5d85b5:0x828,_0x5e4927:0x50a,_0x316476:0x355},_0x4d81a4={_0x45727e:0x56d,_0x509120:0x13f},_0x49471f={_0x559c74:0x168},_0x3fc8e7={_0x128169:0x179},_0x36719d=_0x329143[_0x8189d8(0x219,_0x54731a._0x4383fe,0x1b6,_0x54731a._0x9bb100)](_0x5d3d20['defaultCwd']??process[_0x8189d8(_0x54731a._0x5c7f65,_0x54731a._0x127edf,_0x54731a._0x2e5c96,0x63b)]());function _0x8189d8(_0x386b64,_0x16645a,_0x186618,_0x484b20){return _0x2389b1(_0x386b64-_0x3fc8e7._0x128169,_0x16645a-0xfd,_0x16645a,_0x186618- -0x356);}function _0x54d53d(_0x5f3e1d,_0x5cae1a,_0x118d31,_0x11400d){return _0x5da4fe(_0x118d31- -0x340,_0x5cae1a-_0x49471f._0x559c74,_0x5cae1a,_0x11400d-0x61);}const _0x3cfca4=_0x5d3d20['allowedDirs']??[],_0x2c76a1=_0x5d3d20[_0x8189d8(_0x54731a._0x3f89c9,_0x54731a._0x19b7da,0x43c,_0x54731a._0x2db3f2)]??'FileEdit';return defineTool({'name':_0x2c76a1,'permissionClass':'write','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':_0x54d53d(-_0x54731a._0x2deb90,_0x54731a._0x2d7caa,-0xb0,-0x59)},'description':{'type':_0x8189d8(_0x54731a._0x35a86,0x245,_0x54731a._0x31bbf0,0x2d4),'description':_0x8189d8(0x126,0x15a,_0x54731a._0x2deb90,0x332)},'oldText':{'type':_0x54d53d(_0x54731a._0x987580,0x104,-0xb0,-0x3f)},'newText':{'type':_0x8189d8(_0x54731a._0xd6afb8,_0x54731a._0x573795,_0x54731a._0x31bbf0,_0x54731a._0x4dc840)},'dryRun':{'type':_0x54d53d(-_0x54731a._0xb21bb7,-_0x54731a._0x4b43e8,-0xef,-0x12a)}},'required':[_0x8189d8(_0x54731a._0x1a6129,0x38b,_0x54731a._0x5b4919,0x163),_0x8189d8(0x442,_0x54731a._0x140605,_0x54731a._0x489798,_0x54731a._0x5b7f6b),_0x54d53d(-_0x54731a._0x3c8399,-_0x54731a._0x35d13c,-0xe8,-_0x54731a._0x546a3a)]},async *'execute'(_0x4228ba){const _0x13aa88={_0x16b6f9:0x1a,_0x428bfc:0x66,_0xd44ad3:0x1d2},_0x12cbe1=resolveAllowedPath(_0x36719d,_0x3cfca4,_0x4228ba[_0x1c0a33(0x464,_0x41aeb6._0x35c1b4,_0x41aeb6._0x27acea,_0x41aeb6._0x7d6740)]);await assertWorkspaceFile(_0x12cbe1);const _0x4bd1e3=await _0x3b028c(_0x12cbe1),_0x3677e7=await _0x1bffa7(_0x12cbe1),_0x5cf1be=detectEol(_0x3677e7),_0x3c065d=normalizeToLf(_0x3677e7['toString'](_0x1c0a33(0x38a,0x439,0x3a3,_0x41aeb6._0x465551))),_0x22c0ac=normalizeToLf(_0x4228ba[_0x34b265(_0x41aeb6._0x4d8fc4,0x1c8,0x365,_0x41aeb6._0x5624d3)]),_0x12b25a=normalizeToLf(_0x4228ba[_0x1c0a33(0x335,0x4f9,_0x41aeb6._0x532b11,_0x41aeb6._0x49aaa7)]),_0x20c024=replaceFirstExact(_0x3c065d,_0x22c0ac,_0x12b25a);if(_0x20c024===void 0x0){const _0x102a01=_0x22c0ac[_0x34b265(0x289,0x1d1,_0x41aeb6._0x3101a7,_0x41aeb6._0x116d21)](0x0,0x64)[_0x1c0a33(_0x41aeb6._0x434297,0x55d,0x411,_0x41aeb6._0x5ee93c)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x34b265(_0x41aeb6._0x2ee6a7,_0x41aeb6._0x362a9b,0x23c,0x1f3)+_0x102a01+(_0x22c0ac['length']>0x64?_0x34b265(0x28e,0x434,_0x41aeb6._0x57345e,_0x41aeb6._0x49c90e):'')+'\x22',{'filePath':_0x4228ba[_0x34b265(0x254,_0x41aeb6._0x4e00d7,_0x41aeb6._0x4f2456,_0x41aeb6._0x35c1b4)]});}const _0x19de0f=convertEol(_0x20c024[_0x1c0a33(0x4e1,0x5ab,_0x41aeb6._0x264e1e,0x3d3)],_0x5cf1be),_0x18265f=Buffer[_0x34b265(_0x41aeb6._0x541781,_0x41aeb6._0x570c16,_0x41aeb6._0x3ae466,_0x41aeb6._0x395618)](_0x19de0f,'utf8'),_0x2fbb79=sha256Bytes(_0x3677e7),_0x1f0f19=sha256Bytes(_0x18265f),_0x18fc22=_0x2fbb79===_0x1f0f19;function _0x1c0a33(_0x158934,_0x2758c0,_0x88d47e,_0x28df6b){return _0x54d53d(_0x158934-0xfd,_0x2758c0,_0x88d47e-_0x4d81a4._0x45727e,_0x28df6b-_0x4d81a4._0x509120);}function _0x34b265(_0x28789b,_0x56fd9f,_0x516bf7,_0x815cca){return _0x8189d8(_0x28789b-_0x13aa88._0x16b6f9,_0x56fd9f,_0x28789b- -_0x13aa88._0x428bfc,_0x815cca-_0x13aa88._0xd44ad3);}const _0x2676d6=_0x4228ba[_0x34b265(0x2a3,_0x41aeb6._0x3e13ce,_0x41aeb6._0x4953ae,0x3c9)]??![];return!_0x2676d6&&!_0x18fc22&&await atomicWrite(_0x12cbe1,_0x18265f),yield createToolOutput(_0x18fc22?_0x1c0a33(0x545,_0x41aeb6._0x5c7ea5,_0x41aeb6._0x4701cd,_0x41aeb6._0x226485):_0x2676d6?_0x1c0a33(_0x41aeb6._0x54fee0,_0x41aeb6._0x164c98,0x3f5,0x497):'Edit\x20applied\x20successfully.',{'filePath':_0x4228ba[_0x34b265(0x254,_0x41aeb6._0x1cd4be,0x399,_0x41aeb6._0x2aa38b)],'resolvedPath':_0x12cbe1,'created':_0x4bd1e3[_0x1c0a33(0x3cb,0x6e7,0x544,_0x41aeb6._0xec6de4)][_0x1c0a33(_0x41aeb6._0x5883e1,_0x41aeb6._0x48e0a4,0x570,_0x41aeb6._0x5150d8)](),'modified':_0x4bd1e3[_0x1c0a33(0x56c,_0x41aeb6._0x391404,_0x41aeb6._0x8497b1,_0x41aeb6._0x3d6859)][_0x1c0a33(0x3be,_0x41aeb6._0x507156,_0x41aeb6._0x286bc0,_0x41aeb6._0x534816)](),'size':_0x4bd1e3[_0x1c0a33(0x2f3,_0x41aeb6._0x22759a,_0x41aeb6._0x5cbc85,0x506)],'eol':_0x5cf1be,'oldTextLength':_0x22c0ac[_0x1c0a33(_0x41aeb6._0x2d56d7,0x7f3,0x6f4,0x6b6)],'newTextLength':_0x12b25a[_0x1c0a33(0x5f3,0x6e6,_0x41aeb6._0x36cc11,_0x41aeb6._0x5d85b5)],'bytesWritten':_0x18fc22||_0x2676d6?0x0:_0x18265f['length'],'beforeSha':_0x2fbb79,'afterSha':_0x1f0f19,'dryRun':_0x2676d6,'noChange':_0x18fc22,'lineNumbers':_0x20c024[_0x1c0a33(0x541,_0x41aeb6._0x534816,_0x41aeb6._0x5e4927,_0x41aeb6._0x316476)]}),void 0x0;}});}import{mkdir as _0x5f5442,rename as _0x362616,stat as _0x14aebc,writeFile as _0x570bbc}from'fs/promises';import*as _0x5318c8 from'path';function _0x102a(_0x46d5b4,_0x55924d){_0x46d5b4=_0x46d5b4-0x133;const _0x37586f=_0x3758();let _0x102a9c=_0x37586f[_0x46d5b4];if(_0x102a['lhHrOq']===undefined){var _0x36cb86=function(_0x2a3108){const _0x4ef903='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a7bef='',_0x26c10b='';for(let _0x75fc84=0x0,_0x16bfa4,_0x2bb333,_0x3f332c=0x0;_0x2bb333=_0x2a3108['charAt'](_0x3f332c++);~_0x2bb333&&(_0x16bfa4=_0x75fc84%0x4?_0x16bfa4*0x40+_0x2bb333:_0x2bb333,_0x75fc84++%0x4)?_0x1a7bef+=String['fromCharCode'](0xff&_0x16bfa4>>(-0x2*_0x75fc84&0x6)):0x0){_0x2bb333=_0x4ef903['indexOf'](_0x2bb333);}for(let _0x1b933b=0x0,_0xa2f8c1=_0x1a7bef['length'];_0x1b933b<_0xa2f8c1;_0x1b933b++){_0x26c10b+='%'+('00'+_0x1a7bef['charCodeAt'](_0x1b933b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26c10b);};_0x102a['riSJFo']=_0x36cb86,_0x102a['NJzzvI']={},_0x102a['lhHrOq']=!![];}const _0x282274=_0x37586f[0x0],_0x2ba7c4=_0x46d5b4+_0x282274,_0x315175=_0x102a['NJzzvI'][_0x2ba7c4];return!_0x315175?(_0x102a9c=_0x102a['riSJFo'](_0x102a9c),_0x102a['NJzzvI'][_0x2ba7c4]=_0x102a9c):_0x102a9c=_0x315175,_0x102a9c;}async function atomicWrite2(_0x440600,_0x564d63){const _0xdda4f3={_0x4c9461:0x7f2,_0x87fe22:0x951,_0x374c97:0x178,_0xce832d:0x187,_0x574edc:0xf0,_0x532d57:0x3f3,_0x4921c8:0x637,_0xc37445:0x50e,_0x31d60a:0x5c6,_0x56e76b:0x520},_0x2999a0={_0x28a48d:0x142},_0x390c32=_0x5318c8[_0x1023ac(0x868,0x781,_0xdda4f3._0x4c9461,_0xdda4f3._0x87fe22)](_0x440600);await _0x5f5442(_0x390c32,{'recursive':!![]});const _0x17a547=_0x5318c8[_0x3b958d(-_0xdda4f3._0x374c97,-0x6d,-_0xdda4f3._0xce832d,_0xdda4f3._0x574edc)](_0x390c32,_0x1023ac(_0xdda4f3._0x532d57,0x5d5,0x59a,_0xdda4f3._0x4921c8)+_0x5318c8['basename'](_0x440600)+'.'+Date[_0x1023ac(0x34a,0x642,_0xdda4f3._0xc37445,0x440)]()+'.'+Math['random']()[_0x1023ac(0x626,_0xdda4f3._0x31d60a,0x528,_0xdda4f3._0x56e76b)](0x24)['slice'](0x2));function _0x1023ac(_0x27df3b,_0x37a9c1,_0x4e3bd8,_0x5aa538){return _0x2389b1(_0x27df3b-_0x2999a0._0x28a48d,_0x37a9c1-0x15b,_0x27df3b,_0x4e3bd8- -0x5);}await _0x570bbc(_0x17a547,_0x564d63);function _0x3b958d(_0x427721,_0x530339,_0x4c89b7,_0x45ed28){return _0x5da4fe(_0x530339- -0x1de,_0x530339-0x1ae,_0x427721,_0x45ed28-0x62);}await _0x362616(_0x17a547,_0x440600);}function createFileNewTool(_0x232f13={}){const _0x205f51={_0x5e6b3c:0x2ed,_0x5366a2:0x242,_0x50295b:0x4ca,_0x30205f:0x46b,_0x46496b:0x7bc,_0x4adfbd:0x80b,_0x2e6e61:0x69a,_0x2d1479:0x7cf,_0xc7b46d:0x743,_0x5ae564:0x803,_0x2edc02:0x702,_0x56feac:0x67e,_0x5a47ec:0x918,_0xaae7fe:0x7fe,_0x1bc028:0x794,_0x243413:0x38f,_0x287e01:0x30b,_0x411530:0x445,_0x4bb9cf:0x151,_0x59bbf3:0x1d3,_0x3ed1c5:0x2e5,_0x52fe6f:0xcc,_0x369b9c:0x633,_0x4e1ed8:0x76d,_0x257d3a:0x616,_0x5cf557:0x7b1,_0x4605b6:0x5e4,_0x559528:0x5b5,_0x4ecd5f:0x6c1},_0x38e1fd={_0x34123e:0x281,_0x379452:0x1c8,_0x34348c:0x1a7,_0x2f59b5:0x13f,_0x4aff10:0x66,_0x330a4e:0x232,_0x5d9273:0x7a,_0x11bfd8:0x1f2,_0x2504ce:0x89,_0x3037ae:0x2c,_0x33fd1f:0x1b9,_0x5dffef:0x217,_0x5ba35f:0x1f1,_0x4d1552:0xe1,_0x70c63f:0x11f,_0x7b9c44:0x2ae,_0x5b28f8:0x14a},_0x965b6b={_0x12f17d:0x56},_0x523bf5={_0x31e14a:0x87},_0x419f83={_0x1ae2eb:0x35b,_0x54b658:0x11e,_0x1eb5b0:0x183},_0x36d345=_0x5318c8['resolve'](_0x232f13[_0x3f0396(0x2bd,_0x205f51._0x5e6b3c,0x3e4,0x11d)]??process[_0x3f0396(0x36e,_0x205f51._0x5366a2,_0x205f51._0x50295b,_0x205f51._0x30205f)]());function _0x4b3809(_0x46fd25,_0x2b7555,_0x18ffc1,_0x213d88){return _0x5da4fe(_0x18ffc1-_0x419f83._0x1ae2eb,_0x2b7555-_0x419f83._0x54b658,_0x2b7555,_0x213d88-_0x419f83._0x1eb5b0);}function _0x3f0396(_0x1ed47e,_0x1f374d,_0x12cc3f,_0x51bfeb){return _0x5da4fe(_0x1ed47e- -0x13f,_0x1f374d-_0x523bf5._0x31e14a,_0x51bfeb,_0x51bfeb-0xa9);}const _0x1ababd=_0x232f13[_0x4b3809(_0x205f51._0x46496b,_0x205f51._0x4adfbd,_0x205f51._0x2e6e61,0x78b)]??[],_0x3aa9eb=_0x232f13['name']??_0x4b3809(_0x205f51._0x2d1479,_0x205f51._0xc7b46d,0x81c,_0x205f51._0x5ae564);return defineTool({'name':_0x3aa9eb,'permissionClass':_0x4b3809(_0x205f51._0x2edc02,0x6f0,0x5f7,0x5c1),'description':_0x4b3809(_0x205f51._0x56feac,_0x205f51._0x5a47ec,_0x205f51._0xaae7fe,_0x205f51._0x1bc028),'inputSchema':{'type':_0x3f0396(_0x205f51._0x243413,0x294,_0x205f51._0x287e01,_0x205f51._0x411530),'properties':{'filePath':{'type':_0x3f0396(_0x205f51._0x4bb9cf,_0x205f51._0x59bbf3,_0x205f51._0x3ed1c5,_0x205f51._0x52fe6f)},'content':{'type':_0x4b3809(0x77e,0x549,0x5eb,0x618)}},'required':[_0x4b3809(_0x205f51._0x369b9c,_0x205f51._0x4e1ed8,_0x205f51._0x257d3a,_0x205f51._0x5cf557),_0x4b3809(_0x205f51._0x4605b6,_0x205f51._0x559528,_0x205f51._0x4ecd5f,0x697)]},async *'execute'(_0x1a0d7c){const _0x33576f={_0x47863e:0x100,_0x312b94:0x6e};function _0x1cb212(_0xaff171,_0x2fefd9,_0x2a6031,_0x5ba5d5){return _0x3f0396(_0x5ba5d5- -0x171,_0x2fefd9-_0x33576f._0x47863e,_0x2a6031-_0x33576f._0x312b94,_0x2a6031);}const _0x1936b5=resolveAllowedPath(_0x36d345,_0x1ababd,_0x1a0d7c[_0x525a0d(0x1a,-0x96,0xc2,_0x38e1fd._0x34123e)]),_0x13a22e=await _0x14aebc(_0x1936b5)[_0x1cb212(0x2ce,_0x38e1fd._0x379452,0x2ab,_0x38e1fd._0x34348c)](()=>!![])[_0x1cb212(-_0x38e1fd._0x2f59b5,0x89,-_0x38e1fd._0x4aff10,0x74)](()=>![]);function _0x525a0d(_0x1530c0,_0x33b8fd,_0x5a005b,_0x3dae75){return _0x4b3809(_0x1530c0-0xcf,_0x33b8fd,_0x5a005b- -0x554,_0x3dae75-_0x965b6b._0x12f17d);}const _0xbaddc=Buffer[_0x525a0d(-_0x38e1fd._0x330a4e,0x6c,-_0x38e1fd._0x5d9273,-0x3c)](_0x1a0d7c[_0x525a0d(0x52,_0x38e1fd._0x11bfd8,0x16d,0x1e0)],_0x1cb212(0x68,-_0x38e1fd._0x2504ce,_0x38e1fd._0x3037ae,-0x13a));return await atomicWrite2(_0x1936b5,_0xbaddc),yield createToolOutput('File\x20written\x20at\x20'+_0x1a0d7c['filePath']+'.',{'filePath':_0x1a0d7c['filePath'],'resolvedPath':_0x1936b5,'bytes':_0xbaddc[_0x1cb212(0x199,0x381,_0x38e1fd._0x33fd1f,_0x38e1fd._0x5dffef)],'lines':_0x1a0d7c[_0x525a0d(0x183,0xa4,0x16d,0x1d8)][_0x1cb212(-0xcc,-_0x38e1fd._0x5ba35f,-_0x38e1fd._0x4d1552,-_0x38e1fd._0x70c63f)](/\r?\n/)['length'],'created':new Date()[_0x525a0d(_0x38e1fd._0x7b9c44,0x1a4,_0x38e1fd._0x5b28f8,0x144)](),'overwritten':_0x13a22e}),void 0x0;}});}import{readFile as _0x4ed238,stat as _0x80ba64}from'fs/promises';import*as _0x1136a0 from'path';function stripUtfBom(_0x26b9ed){const _0x1d7ab2={_0x4b1def:0x2b,_0x588559:0x2b,_0x11a5a3:0x156,_0x1e474f:0x1b9,_0x51b1e4:0xa2,_0x583a9e:0xdc},_0x12c115={_0x31f981:0x72},_0x427fa9={_0x2a91d9:0xba};function _0x545819(_0x5b2d4f,_0x2e1aef,_0x2248a1,_0x1226e5){return _0x5da4fe(_0x2248a1- -0x3b3,_0x2e1aef-_0x427fa9._0x2a91d9,_0x1226e5,_0x1226e5-0x2d);}function _0x1e665b(_0x3c0cbb,_0x50d6a1,_0x11cb58,_0x19f7f1){return _0x2389b1(_0x3c0cbb-0x12c,_0x50d6a1-0x1e8,_0x3c0cbb,_0x11cb58- -_0x12c115._0x31f981);}return _0x26b9ed[_0x545819(-_0x1d7ab2._0x4b1def,-_0x1d7ab2._0x588559,-0x1e2,-_0x1d7ab2._0x11a5a3)](0x0)===0xfeff?_0x26b9ed[_0x545819(-_0x1d7ab2._0x1e474f,-_0x1d7ab2._0x51b1e4,-0xc3,-_0x1d7ab2._0x583a9e)](0x1):_0x26b9ed;}function clampLine(_0x162201,_0xca9074){const _0xacf612={_0x516968:0x558,_0x546ecf:0x6ee,_0x21e06c:0x6b9},_0x2a1593={_0x18c74c:0x30d},_0x53b35a={_0x3ac31a:0x46};if(!Number['isFinite'](_0x162201))return 0x1;function _0x3798d0(_0x19446f,_0x1ee246,_0x1629aa,_0xef633){return _0x2389b1(_0x19446f-0x53,_0x1ee246-0x51,_0xef633,_0x19446f-_0x53b35a._0x3ac31a);}function _0xeca62(_0x11ac87,_0x3a8c46,_0xf40a06,_0x464413){return _0x5da4fe(_0x3a8c46-_0x2a1593._0x18c74c,_0x3a8c46-0x1db,_0x11ac87,_0x464413-0x10e);}return Math['max'](0x1,Math[_0x3798d0(_0xacf612._0x516968,0x646,0x543,_0xacf612._0x546ecf)](Math[_0x3798d0(_0xacf612._0x21e06c,0x784,0x63a,0x870)](_0x162201),_0xca9074));}function createFileReadTool(_0x1ed01d={}){const _0x23eefd={_0x1e0184:0x2a4,_0x67666d:0x4e9,_0x4ce51c:0x33a,_0x55fdad:0x59a,_0x2ca7a4:0x5ec,_0x2e6aa3:0x290,_0x17a17c:0x10a,_0xab24c4:0x25a,_0x3ada41:0x15c,_0x14641c:0x5a,_0x2c03d0:0x5da,_0xca1232:0x408,_0x3bed41:0x493,_0x1beba2:0x1fc,_0x352167:0x4b6,_0x3bcfe8:0x387,_0x68d2d8:0x22f,_0x3e0288:0x45a,_0x3b3792:0x373,_0x5769cf:0x3ff,_0x512426:0x1b8},_0x34cd56={_0x3b3c8c:0x268,_0x550c3e:0x109,_0x475fd5:0x1f,_0x117066:0x151,_0x2b993f:0xf,_0x6dee3f:0xb7,_0x5d7b63:0x5d,_0x42f9c7:0x251,_0x52cfdf:0xcb,_0x4393bb:0x83,_0x47cd30:0x204,_0x404d87:0x80,_0x4de0c4:0xd2,_0x499980:0xb6,_0x5ee724:0x20f,_0x3331fe:0x16e,_0x59d3ff:0x74,_0x33db9c:0xeb,_0x565e81:0xb9,_0x5ea8d1:0x1e1,_0x2bc129:0x119,_0x3c5c50:0x2bf,_0x485697:0x36e,_0x3e119f:0x3af,_0x4bc61c:0x224,_0x19855b:0x257,_0x23a216:0x132,_0xeabfc7:0x16,_0x4eef71:0x67,_0x5c2a67:0xa2,_0x4ba507:0x9e,_0x54be2:0x26d,_0xaf9aa6:0xe3,_0x1c1448:0xf0,_0x1b763f:0xe3,_0x518387:0x311,_0x3d837b:0x224,_0x8deca8:0x297,_0x48fbaf:0x216,_0x393dc3:0xb,_0x334ed9:0x227,_0x301b6f:0xa5,_0x19cb60:0xb3,_0x5a1fe8:0x53,_0x6116c9:0xd0,_0x1234b1:0x14e,_0x55e4f5:0x223,_0x50b57d:0x15d},_0x18e52c={_0x3ed7b0:0x1af},_0x37363c=_0x1136a0[_0x126ca0(0x1ab,0x1b8,_0x23eefd._0x1e0184,0x15c)](_0x1ed01d[_0x126ca0(0x681,0x50d,_0x23eefd._0x67666d,_0x23eefd._0x4ce51c)]??process[_0x126ca0(0x6b1,0x5a4,_0x23eefd._0x55fdad,0x544)]());function _0x126ca0(_0x17bbc4,_0x3a7f4d,_0x2bbb4d,_0x3a90fb){return _0x2389b1(_0x17bbc4-0x54,_0x3a7f4d-0x1bf,_0x17bbc4,_0x2bbb4d- -0x268);}const _0x5be230=_0x1ed01d[_0x126ca0(_0x23eefd._0x2ca7a4,_0x23eefd._0x2e6aa3,0x42c,0x5dc)]??[],_0x535718=_0x1ed01d[_0x5c42e9(_0x23eefd._0x17a17c,0x183,_0x23eefd._0xab24c4,0x2db)]??'FileRead';function _0x5c42e9(_0x45ac54,_0x11d722,_0x11b6f1,_0x1f684e){return _0x5da4fe(_0x11d722- -0x2ba,_0x11d722-0x1bf,_0x1f684e,_0x1f684e-_0x18e52c._0x3ed7b0);}return defineTool({'name':_0x535718,'permissionClass':_0x5c42e9(_0x23eefd._0x3ada41,_0x23eefd._0x14641c,-0x4e,0x18d),'description':_0x126ca0(_0x23eefd._0x2c03d0,_0x23eefd._0xca1232,_0x23eefd._0x3bed41,0x339),'inputSchema':{'type':'object','properties':{'path':{'type':_0x126ca0(_0x23eefd._0x1beba2,_0x23eefd._0x352167,0x37d,0x459)},'lineStart':{'type':'number','description':_0x5c42e9(_0x23eefd._0x3bcfe8,_0x23eefd._0x68d2d8,_0x23eefd._0x68d2d8,0x3c7)},'lineEnd':{'type':'number','description':_0x126ca0(0x42a,_0x23eefd._0x3e0288,_0x23eefd._0x3b3792,_0x23eefd._0x5769cf)}},'required':[_0x5c42e9(0x191,0xa0,_0x23eefd._0x512426,0xc1)]},async *'execute'(_0x53e97e){const _0x28fb9d={_0x2ecae4:0x36,_0x8ff74b:0x390,_0x5f3b21:0xb4},_0x2eb647=resolveAllowedPath(_0x37363c,_0x5be230,_0x53e97e[_0x17ce03(_0x34cd56._0x3b3c8c,_0x34cd56._0x550c3e,_0x34cd56._0x475fd5,-0x93)]);await assertWorkspaceFile(_0x2eb647);const _0x40047f=await _0x80ba64(_0x2eb647);function _0x17ce03(_0x4a11ce,_0x91ba0d,_0x23c53c,_0x57d4ea){return _0x126ca0(_0x57d4ea,_0x91ba0d-0x3b,_0x91ba0d- -0x33e,_0x57d4ea-0x109);}const _0x20ff39=await _0x4ed238(_0x2eb647);if(isProbablyBinary(_0x20ff39))throw new ToolExecutionError(_0x5acb49(0x85,_0x34cd56._0x117066,0x235,_0x34cd56._0x2b993f)+_0x53e97e[_0x5acb49(0x89,_0x34cd56._0x6dee3f,0x166,-_0x34cd56._0x5d7b63)],{'path':_0x53e97e['path']});let _0x469a60=_0x20ff39[_0x5acb49(-_0x34cd56._0x42f9c7,-_0x34cd56._0x52cfdf,-0x31,_0x34cd56._0x4393bb)](_0x17ce03(-0x104,-0xdb,0xc9,-_0x34cd56._0x47cd30));function _0x5acb49(_0x4cda71,_0x5418df,_0x458bf2,_0x5dcbdb){return _0x126ca0(_0x458bf2,_0x5418df-_0x28fb9d._0x2ecae4,_0x5418df- -_0x28fb9d._0x8ff74b,_0x5dcbdb-_0x28fb9d._0x5f3b21);}const _0x1e2674=_0x469a60[_0x5acb49(_0x34cd56._0x404d87,-_0x34cd56._0x4de0c4,-_0x34cd56._0x499980,-_0x34cd56._0x5ee724)](0x0)===0xfeff;_0x469a60=stripUtfBom(_0x469a60);const _0x61bf06=_0x469a60['split'](/\r?\n/),_0xb32d7b={'path':_0x53e97e['path'],'resolvedPath':_0x2eb647,'created':_0x40047f[_0x5acb49(_0x34cd56._0x3331fe,_0x34cd56._0x59d3ff,_0x34cd56._0x33db9c,0xd7)][_0x5acb49(_0x34cd56._0x565e81,0xa0,_0x34cd56._0x5ea8d1,-_0x34cd56._0x2bc129)](),'modified':_0x40047f[_0x5acb49(_0x34cd56._0x3c5c50,0x1f5,0x8e,_0x34cd56._0x485697)]['toISOString'](),'size':_0x40047f['size'],'encoding':'utf8','bomStripped':_0x1e2674,'truncated':![],'totalLines':_0x61bf06[_0x5acb49(_0x34cd56._0x3e119f,_0x34cd56._0x4bc61c,_0x34cd56._0x19855b,0xf5)]};if(_0x53e97e[_0x17ce03(-0x16f,-0x15,-_0x34cd56._0x23a216,-0xd8)]!==void 0x0||_0x53e97e['lineEnd']!==void 0x0){const _0x5eb820=clampLine(_0x53e97e[_0x5acb49(-_0x34cd56._0xeabfc7,-_0x34cd56._0x4eef71,_0x34cd56._0x5c2a67,-0x12f)]??0x1,_0x61bf06[_0x5acb49(_0x34cd56._0x4ba507,0x224,_0x34cd56._0x54be2,_0x34cd56._0xaf9aa6)]),_0x2e56d4=clampLine(_0x53e97e[_0x17ce03(-0xaf,0x5a,-_0x34cd56._0x1c1448,-_0x34cd56._0x1b763f)]??_0x61bf06['length'],_0x61bf06[_0x5acb49(_0x34cd56._0x518387,_0x34cd56._0x3d837b,_0x34cd56._0x8deca8,_0x34cd56._0x48fbaf)]),_0x583c2c=Math[_0x5acb49(-_0x34cd56._0x393dc3,-0xe6,-0x196,0x3a)](_0x5eb820,_0x2e56d4),_0x6f7297=Math[_0x17ce03(_0x34cd56._0x334ed9,_0x34cd56._0x301b6f,_0x34cd56._0x19cb60,_0x34cd56._0x5a1fe8)](_0x5eb820,_0x2e56d4),_0x1f78ad=_0x61bf06[_0x17ce03(0x23a,0x9f,-_0x34cd56._0x6116c9,0x1e1)](_0x583c2c-0x1,_0x6f7297)[_0x5acb49(0x9a,-0xc,_0x34cd56._0x1234b1,-0x19d)]((_0x2aea40,_0xdd9475)=>_0x583c2c+_0xdd9475+'|'+_0x2aea40)[_0x5acb49(-0x2b7,-_0x34cd56._0x23a216,-0x2ae,-_0x34cd56._0x55e4f5)]('\x0a');return yield createToolOutput(_0x1f78ad,{..._0xb32d7b,'lineRange':{'lineStart':_0x583c2c,'lineEnd':_0x6f7297,'linesTotal':_0x61bf06[_0x17ce03(0x2fc,0x276,0x2bb,_0x34cd56._0x50b57d)]}}),void 0x0;}return yield createToolOutput(_0x469a60,_0xb32d7b),void 0x0;}});}import{stat as _0x13d34b}from'fs/promises';import*as _0x41e487 from'path';import{execSync,spawn as _0x32c744}from'child_process';import{existsSync}from'fs';import{stat as _0x5a57f9}from'fs/promises';import*as _0x22d59d from'os';import*as _0x34ea8a from'path';import{rgPath as _0x43db9c}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x1eed97={_0x4e7854:0x52d,_0x34d0e5:0x550,_0x2378da:0x663,_0x497df2:0x331,_0x2ae018:0x6df,_0x4ea9ea:0x27c,_0x11a143:0x29f,_0x58b926:0x392,_0x4aa20c:0x3fd,_0x4649f2:0x72e,_0x461b87:0x485,_0x212685:0x444,_0xada186:0x608,_0x8e5532:0x66f,_0x16bea7:0x545,_0x4e16c2:0x72a,_0x28a0da:0x500,_0x496477:0xf7,_0x5b69e9:0x150,_0x291b24:0x17,_0x4ccc1c:0x17a,_0x1836b1:0xcb,_0xcc106f:0x397,_0x113c42:0x3a1,_0x38975c:0x545,_0x103d32:0x678,_0x8f8114:0x4d,_0x524a92:0x24,_0xd74224:0x99,_0x4057e8:0x167,_0x1e3535:0x306,_0x2a1eb6:0x203,_0x4e8d7f:0x645,_0x5ddcc7:0x53c,_0xa8ca9d:0x5f6,_0x428d53:0x6a3,_0x478a2d:0x7ca,_0x849b02:0x90,_0x7f2d0e:0x6e5,_0xfe63db:0x638,_0x3b91f3:0xeb,_0x85d583:0x85,_0x5ac301:0x61,_0x3ff006:0x94,_0xb4c321:0xfa},_0x56ee37={_0x17c1d7:0x13c},_0x1bfa3d={_0x3e251a:0x18b},_0x3fb751=_0x22d59d[_0x502785(0x689,0x6c2,_0x1eed97._0x4e7854,_0x1eed97._0x34d0e5)]()==='win32';function _0x26151b(_0x52044b,_0x826e08,_0x4929b7,_0x5ed596){return _0x5da4fe(_0x5ed596- -_0x1bfa3d._0x3e251a,_0x826e08-0x1e8,_0x52044b,_0x5ed596-0x1ce);}function _0x502785(_0x2512ad,_0x40367c,_0x45d043,_0x266755){return _0x5da4fe(_0x266755-0x367,_0x40367c-_0x56ee37._0x17c1d7,_0x40367c,_0x266755-0x145);}const _0x125444=_0x3fb751?[_0x34ea8a[_0x502785(0x554,_0x1eed97._0x2378da,_0x1eed97._0x497df2,0x4d8)](process[_0x502785(0x65a,_0x1eed97._0x2ae018,0x61c,0x545)][_0x26151b(_0x1eed97._0x4ea9ea,_0x1eed97._0x11a143,_0x1eed97._0x58b926,0x223)]||'',_0x26151b(0x258,0x1a8,_0x1eed97._0x4aa20c,0x251),'WinGet',_0x502785(0x8a5,0x720,_0x1eed97._0x4649f2,0x774)),_0x34ea8a[_0x502785(_0x1eed97._0x461b87,_0x1eed97._0x212685,_0x1eed97._0xada186,0x4d8)](process[_0x502785(0x696,_0x1eed97._0x8e5532,0x461,_0x1eed97._0x16bea7)]['ProgramFiles']||'',_0x502785(0x663,_0x1eed97._0x4e16c2,_0x1eed97._0x28a0da,0x58b),_0x26151b(-0x59,_0x1eed97._0x496477,-_0x1eed97._0x5b69e9,-_0x1eed97._0x291b24)),_0x34ea8a[_0x26151b(_0x1eed97._0x4ccc1c,-0x148,-_0x1eed97._0x1836b1,-0x1a)](process[_0x502785(_0x1eed97._0xcc106f,_0x1eed97._0x2378da,_0x1eed97._0x113c42,_0x1eed97._0x38975c)][_0x502785(0x640,_0x1eed97._0x103d32,0x68d,0x59e)]||'',_0x26151b(-_0x1eed97._0x8f8114,-_0x1eed97._0x524a92,-0x101,_0x1eed97._0xd74224),_0x26151b(0x187,_0x1eed97._0x4057e8,0x10c,-_0x1eed97._0x291b24))]:[_0x26151b(_0x1eed97._0x1e3535,0x1b5,0xcb,_0x1eed97._0x2a1eb6),'/usr/local/bin/rg',_0x502785(_0x1eed97._0x4e8d7f,_0x1eed97._0x5ddcc7,0x6f9,_0x1eed97._0xa8ca9d),_0x502785(0x665,0x7da,_0x1eed97._0x428d53,_0x1eed97._0x478a2d)];for(const _0x2ae202 of _0x125444){if(existsSync(_0x2ae202))return _0x2ae202;}try{const _0x301bac=_0x3fb751?'where\x20rg':'which\x20rg',_0x5e7239=execSync(_0x301bac,{'encoding':'utf8','stdio':[_0x26151b(_0x1eed97._0x8f8114,-_0x1eed97._0x849b02,0x139,0x9c),_0x502785(0x733,_0x1eed97._0x7f2d0e,_0x1eed97._0xfe63db,0x58e),_0x26151b(-_0x1eed97._0x3b91f3,-0x36,-0xb1,_0x1eed97._0x85d583)]})[_0x26151b(-_0x1eed97._0x5ac301,_0x1eed97._0x3ff006,0x24c,_0x1eed97._0xb4c321)]()['split'](/\r?\n/)[0x0];if(_0x5e7239&&existsSync(_0x5e7239))return _0x5e7239;}catch{return null;}return null;}async function filepath(){const _0x33c15={_0x3aed65:0x5b4,_0x19e8d0:0x58b,_0x2f5dd5:0x3ff,_0x2c27b6:0x3f2},_0xd744ae={_0x26b363:0x294,_0x231523:0x1a9};if(cachedRgPath)return cachedRgPath;if(_0x43db9c&&existsSync(_0x43db9c))return cachedRgPath=_0x43db9c,_0x43db9c;const _0x181f03=findSystemRipgrep();function _0x409e9f(_0x481cd6,_0x252080,_0x2a10b8,_0x4a57a5){return _0x5da4fe(_0x2a10b8-_0xd744ae._0x26b363,_0x252080-0xaf,_0x4a57a5,_0x4a57a5-_0xd744ae._0x231523);}if(!_0x181f03)throw new Error(_0x409e9f(_0x33c15._0x3aed65,_0x33c15._0x19e8d0,_0x33c15._0x2f5dd5,_0x33c15._0x2c27b6));return cachedRgPath=_0x181f03,_0x181f03;}async function*files(_0x2670dd){const _0x9b86d9={_0x2f6ba4:0x649,_0x2b8197:0x512,_0x10f472:0x37e,_0x219c5e:0x3a1,_0x3925f7:0x4a5,_0x1ea74a:0x34a,_0x50129b:0x3eb,_0x4b7e9d:0x459,_0x3a0915:0x2cb,_0x20a771:0x350,_0x9d7c6:0x4cf,_0x5d78ab:0x415,_0x5cba3e:0x31b,_0x8af5f7:0x47a,_0x2e1ae1:0x2fe,_0x3372c5:0x356,_0x1549d8:0x366,_0xfd7c99:0x304,_0x4d99f9:0x512,_0x29fcd8:0x4ac,_0x5e7d5c:0x3c3,_0x385732:0x455,_0x5ebe39:0x242,_0xbdebdd:0x3ab,_0xefc03b:0x41a,_0x2e64e0:0x66f},_0x18d4b9={_0x5e57d6:0x5a},_0x194d1f={_0x2f6b2e:0x19c},_0x56c331=await filepath(),_0x56f594=await _0x5a57f9(_0x2670dd[_0x26b3ad(0x626,0x6a3,_0x9b86d9._0x2f6ba4,_0x9b86d9._0x2b8197)])[_0x51a264(0x2e3,0x41a,0x3ba,0x425)](()=>null);if(!_0x56f594?.[_0x26b3ad(0x20e,_0x9b86d9._0x10f472,_0x9b86d9._0x219c5e,0x25b)]())throw Object[_0x26b3ad(0x41d,0x3ba,_0x9b86d9._0x3925f7,_0x9b86d9._0x1ea74a)](new Error(_0x26b3ad(0x4c2,0x24b,_0x9b86d9._0x50129b,0x400)+_0x2670dd[_0x51a264(0x418,0x5a3,0x4d4,_0x9b86d9._0x4b7e9d)]+'\x27'),{'code':_0x26b3ad(0x3c4,_0x9b86d9._0x3a0915,_0x9b86d9._0x20a771,_0x9b86d9._0x9d7c6)});function _0x26b3ad(_0x1a34f9,_0x137f55,_0x3bdea0,_0x3f2402){return _0x5da4fe(_0x3bdea0-_0x194d1f._0x2f6b2e,_0x137f55-0x1de,_0x3f2402,_0x3f2402-0x1c1);}const _0x4b8d9f=['--files',_0x26b3ad(_0x9b86d9._0x5d78ab,_0x9b86d9._0x5cba3e,_0x9b86d9._0x8af5f7,_0x9b86d9._0x2e1ae1),_0x51a264(0x534,0x5e1,0x6a6,0x69b),'--glob=!.git/*'];for(const _0x10b25f of _0x2670dd['glob']??[]){_0x4b8d9f['push'](_0x51a264(_0x9b86d9._0x3372c5,_0x9b86d9._0x1549d8,_0x9b86d9._0xfd7c99,_0x9b86d9._0x2e1ae1)+_0x10b25f);}function _0x51a264(_0xec3f8b,_0x5cc9f2,_0x54642c,_0x420e59){return _0x2389b1(_0xec3f8b-0x20,_0x5cc9f2-_0x18d4b9._0x5e57d6,_0x420e59,_0x5cc9f2- -0x25f);}const _0x39a054=_0x32c744(_0x56c331,_0x4b8d9f,{'cwd':_0x2670dd[_0x51a264(_0x9b86d9._0x4d99f9,0x5a3,0x5ac,0x5c6)],'stdio':['ignore','pipe',_0x26b3ad(0x2d0,_0x9b86d9._0x29fcd8,_0x9b86d9._0x5e7d5c,0x459)]});let _0x22e7aa='';for await(const _0x23fc3e of _0x39a054[_0x26b3ad(0x455,_0x9b86d9._0x385732,0x321,_0x9b86d9._0x5ebe39)]??[]){_0x22e7aa+=_0x23fc3e['toString']();const _0x81e0bf=_0x22e7aa['split'](/\r?\n/);_0x22e7aa=_0x81e0bf[_0x51a264(_0x9b86d9._0xbdebdd,0x3ee,_0x9b86d9._0xefc03b,0x331)]()??'';for(const _0x3d3b60 of _0x81e0bf){if(_0x3d3b60[_0x51a264(0x455,0x5bd,_0x9b86d9._0x2e64e0,0x408)]>0x0)yield _0x3d3b60;}}_0x22e7aa['trim']()[_0x51a264(0x615,0x5bd,0x487,0x4a9)]>0x0&&(yield _0x22e7aa['trim']());}function objectValue(_0x31314f){const _0x3e6185={_0x5c9f35:0x2da,_0x3281c0:0x44};function _0x2de769(_0x3c438e,_0x1684b9,_0x510ab4,_0x3a7473){return _0x5da4fe(_0x3a7473-_0x3e6185._0x5c9f35,_0x1684b9-_0x3e6185._0x3281c0,_0x1684b9,_0x3a7473-0x11a);}return typeof _0x31314f===_0x2de769(0x625,0x902,0x733,0x7a8)&&_0x31314f!==null?_0x31314f:void 0x0;}function decodeRipgrepText(_0x5bd533){const _0x44b2d2={_0xdf3d09:0x10f,_0x1d877d:0x23a,_0x969534:0x193,_0x24bf3c:0x230,_0x4c932b:0x181,_0x4157e9:0xe3,_0x472e1c:0xf4,_0x27dc54:0xf1,_0xf974d9:0x1c0,_0x498b8e:0x257},_0x5015cc={_0x40b2de:0x300},_0x33d447=objectValue(_0x5bd533);if(typeof _0x33d447?.['text']==='string')return _0x33d447[_0x52df42(-0x92,-_0x44b2d2._0xdf3d09,0xf6,-_0x44b2d2._0x1d877d)];function _0x29f447(_0x1e012e,_0x1d9763,_0xb56c3b,_0x5415d1){return _0x5da4fe(_0x1d9763- -_0x5015cc._0x40b2de,_0x1d9763-0x1d3,_0x5415d1,_0x5415d1-0x186);}function _0x52df42(_0x53c403,_0x49d67e,_0x2b9498,_0x421fac){return _0x2389b1(_0x53c403-0x186,_0x49d67e-0x1cc,_0x2b9498,_0x53c403- -0x6b8);}if(typeof _0x33d447?.['bytes']===_0x52df42(-0xd3,-_0x44b2d2._0x969534,0xdf,-_0x44b2d2._0x24bf3c))return Buffer[_0x29f447(-0x268,-_0x44b2d2._0x4c932b,-_0x44b2d2._0x4157e9,-_0x44b2d2._0x472e1c)](_0x33d447[_0x52df42(_0x44b2d2._0x27dc54,0x29a,-0x27,-0x1b)],_0x29f447(_0x44b2d2._0xf974d9,0xfe,0x13,_0x44b2d2._0x498b8e))['toString']('utf8');return void 0x0;}function parseMatchLine(_0x16e62c,_0x3ebe57){const _0x22bf85={_0x2435b7:0x9aa,_0x2b6ce3:0x957,_0x25f0f8:0x6b6,_0x1965ae:0x51e,_0x3a8d75:0x161,_0x56ec37:0x396,_0x197076:0xc7,_0x262c69:0x257,_0x181d09:0x40e,_0x201bfd:0x775,_0x247561:0x68b,_0x3b1b57:0x268,_0x583048:0x3d1,_0x43b2b0:0x26e,_0x106322:0x337,_0x5dd8dd:0x2d7,_0x272dc9:0x7b1,_0x56265e:0x786,_0x37744c:0x736,_0x8bbd75:0x3c7,_0x474946:0x6b0,_0x311fcf:0x577,_0x51a5d6:0x537,_0x5327fa:0x129,_0x220946:0x1,_0x20920f:0x568,_0x400b6b:0x731,_0x1af33e:0x679,_0xb8c0e3:0x463,_0x484c27:0x6ec,_0x49bd0a:0x694,_0x37f563:0x60b},_0x8c415={_0x5b6341:0x1cb,_0x31cc85:0xfb},_0x51570c={_0xc87e52:0x23,_0x226ec6:0xd3,_0x34a6a9:0x1e0};if(_0x16e62c[_0x11fa23(_0x22bf85._0x2435b7,_0x22bf85._0x2b6ce3,0x9a8,0x847)]===0x0)return null;function _0x2304e3(_0x1669ab,_0xbedcd3,_0x24dbe6,_0x2b8e31){return _0x5da4fe(_0x1669ab- -_0x51570c._0xc87e52,_0xbedcd3-_0x51570c._0x226ec6,_0x2b8e31,_0x2b8e31-_0x51570c._0x34a6a9);}const _0x164575=objectValue(JSON[_0x11fa23(_0x22bf85._0x25f0f8,0x6d3,0x5b4,_0x22bf85._0x1965ae)](_0x16e62c));if(_0x164575?.[_0x2304e3(0x2d6,0x37e,_0x22bf85._0x3a8d75,_0x22bf85._0x56ec37)]!==_0x2304e3(0x284,_0x22bf85._0x197076,_0x22bf85._0x262c69,_0x22bf85._0x181d09)&&_0x164575?.[_0x11fa23(_0x22bf85._0x201bfd,0x7d8,_0x22bf85._0x247561,0x679)]!==_0x2304e3(_0x22bf85._0x3b1b57,_0x22bf85._0x583048,0x29a,_0x22bf85._0x43b2b0))return null;const _0x386ed2=objectValue(_0x164575['data']),_0x6fc9d5=decodeRipgrepText(_0x386ed2?.[_0x2304e3(_0x22bf85._0x106322,_0x22bf85._0x5dd8dd,0x33b,0x465)]);function _0x11fa23(_0x489683,_0x20dd8e,_0x30e472,_0x476135){return _0x2389b1(_0x489683-_0x8c415._0x5b6341,_0x20dd8e-_0x8c415._0x31cc85,_0x20dd8e,_0x476135-0x2b);}const _0x1437d4=decodeRipgrepText(_0x386ed2?.[_0x11fa23(0x7ba,0x6e0,0x696,0x701)]),_0x5e24de=_0x386ed2?.['line_number'];if(_0x6fc9d5===void 0x0||_0x1437d4===void 0x0||typeof _0x5e24de!==_0x11fa23(_0x22bf85._0x272dc9,0x86e,0x798,_0x22bf85._0x56265e))throw new Error(_0x11fa23(0x743,0x8d5,0x801,_0x22bf85._0x37744c));return{'filePath':_0x34ea8a[_0x11fa23(_0x22bf85._0x8bbd75,0x56f,_0x22bf85._0x474946,_0x22bf85._0x311fcf)](_0x6fc9d5)?_0x6fc9d5:_0x34ea8a[_0x11fa23(0x67a,0x495,0x545,_0x22bf85._0x51a5d6)](_0x3ebe57,_0x6fc9d5),'lineNum':_0x5e24de,'lineText':_0x1437d4[_0x2304e3(0x1c1,0x19a,_0x22bf85._0x5327fa,_0x22bf85._0x220946)](/\r?\n$/,''),..._0x164575[_0x11fa23(_0x22bf85._0x20920f,_0x22bf85._0x400b6b,0x507,_0x22bf85._0x1af33e)]===_0x11fa23(_0x22bf85._0xb8c0e3,_0x22bf85._0x484c27,_0x22bf85._0x49bd0a,_0x22bf85._0x37f563)?{'isContext':!![]}:{}};}async function search(_0x321294){const _0x307517={_0x3eecab:0x11a,_0x5a2326:0x7a,_0x795e1d:0x6b,_0x27ca40:0x55e,_0x585c83:0x433,_0x2d1bc1:0x5be,_0x383a79:0x234,_0x510096:0x2d0,_0x2189cd:0x1e4,_0x23c342:0x51,_0x3dda58:0x7b,_0x3c1f95:0x2d7,_0x57a688:0x35e,_0x4a3d8d:0x19a,_0x13db28:0x19,_0x158b3a:0xd,_0x503fb0:0x1a,_0x1e5340:0x70,_0x2053b2:0x11c,_0x58452c:0x25,_0x25ac15:0x373,_0xc36f37:0x433,_0x2955c4:0x4ab,_0x1f1d21:0xa9,_0xe51cb1:0x2e3,_0x215a22:0x232,_0x41c111:0x15f,_0x1b1fe2:0x1aa,_0x538a27:0x24,_0x421b19:0xa3,_0x412690:0x16,_0x3d77cc:0x4e,_0x4636c8:0xd6,_0x570caa:0x94,_0x251a6e:0x92,_0x274af0:0xa1,_0x336e2f:0xb0,_0x373736:0x63,_0x1b81cd:0x230,_0x246d80:0x70,_0x1cb836:0xee,_0x4b7042:0xe2,_0x36a164:0x104,_0x1464ff:0x3ab,_0x1a8a68:0x18b,_0x54debd:0x29d,_0x24dbb5:0x9e,_0x3bc8bc:0x1c7,_0x4dbdee:0xaf,_0x80ea45:0x25,_0x4b1bcf:0x192,_0x51fd5f:0x281,_0x1c8619:0x2f0,_0x450a53:0x16d,_0x55a29a:0x1f3,_0x38700c:0x1f3,_0x20f007:0xe3,_0x7f2bb7:0x103,_0x19cc71:0x234,_0x11a0a3:0x277,_0x4cc8ca:0x16c,_0x3ed7b9:0x236,_0x26ef44:0x2be,_0x3c6e67:0x93,_0x197b2b:0x2e9,_0x2a1021:0x130,_0x146b13:0x58,_0x38bf5e:0xdd,_0x5b95ed:0xe7},_0x5de4d1={_0x227561:0x4c,_0x324a87:0x1a7,_0x196019:0x3c,_0x28fc9f:0x128,_0xde8045:0x5c,_0x146430:0x111,_0x88e70e:0x29a,_0x4ac734:0x44d,_0x4d18b0:0xcb,_0x4ce124:0xbf,_0x9c1be:0x156,_0xbe87c6:0xc3,_0x2e6fc1:0xe4,_0x479aea:0x4b3,_0x240f73:0x3b4},_0x41ab02={_0x325a81:0x60f,_0x57396c:0x6d6,_0x45fe23:0x15a,_0x4a99a3:0x2de,_0x18ea0d:0x52,_0x492274:0x172,_0x1f9b47:0x247,_0x5b3fc1:0x216,_0x3e83d7:0x2f,_0x403fa7:0x1fb,_0x3af506:0x4ac,_0xa2aac0:0x306,_0x3facd7:0xd1,_0x24ba40:0x159,_0x1db12c:0x274,_0x58c9b8:0x15f,_0x217e3a:0x1f9,_0xf00414:0x622,_0x3b87dc:0x253,_0x31c03c:0x306,_0x3cdc29:0x15b,_0x56ba24:0x42b},_0x1d4db5={_0x16c182:0x37f},_0x4f99b5={_0x1b2170:0xbc},_0x54ae32={_0x4911b0:0x10d,_0x5c38bf:0x3ed},_0x3f5e99={_0x19ac7e:0x110,_0x344bb9:0x5ee};if(_0x321294[_0x46601e(-_0x307517._0x3eecab,0x172,-_0x307517._0x5a2326,_0x307517._0x795e1d)]!==void 0x0&&_0x321294[_0x14e297(_0x307517._0x27ca40,_0x307517._0x585c83,_0x307517._0x2d1bc1,0x5d6)]!==void 0x0)throw new Error(_0x14e297(0xcf,0x28b,_0x307517._0x383a79,_0x307517._0x510096));if(_0x321294[_0x14e297(0x1af,0x26c,_0x307517._0x2189cd,0x2f1)]){const _0x5a9bf4=await _0x5a57f9(_0x321294['file'])[_0x46601e(_0x307517._0x23c342,0x177,_0x307517._0x3dda58,0x8b)](()=>null);if(!_0x5a9bf4?.[_0x14e297(0x178,_0x307517._0x3c1f95,_0x307517._0x57a688,_0x307517._0x4a3d8d)]())throw Object[_0x46601e(_0x307517._0x13db28,-_0x307517._0x158b3a,-_0x307517._0x503fb0,_0x307517._0x1e5340)](new Error('No\x20such\x20file:\x20\x27'+_0x321294['file']+'\x27'),{'code':_0x14e297(0x2ac,_0x307517._0x2053b2,_0x307517._0x58452c,0x1dd)});}else{if(_0x321294[_0x14e297(_0x307517._0x25ac15,_0x307517._0xc36f37,0x3ef,_0x307517._0x2955c4)]!==void 0x0)for(const _0x524db9 of _0x321294[_0x46601e(_0x307517._0x1f1d21,_0x307517._0xe51cb1,0x397,_0x307517._0x215a22)]){if(!_0x34ea8a[_0x14e297(0x2ac,_0x307517._0x41c111,0x186,_0x307517._0x1b1fe2)](_0x524db9))throw new Error(_0x46601e(_0x307517._0x538a27,0xc7,-0xd1,_0x307517._0x421b19)+_0x524db9+'\x27');const _0x4c9213=await _0x5a57f9(_0x524db9)[_0x46601e(-_0x307517._0x412690,-0xa9,_0x307517._0x3d77cc,0x8b)](()=>null);if(!_0x4c9213?.[_0x46601e(0x1e7,0x263,0xd0,_0x307517._0x4636c8)]())throw Object['assign'](new Error(_0x46601e(-0xe9,0x107,-_0x307517._0x570caa,-_0x307517._0x251a6e)+_0x524db9+'\x27'),{'code':_0x46601e(_0x307517._0x570caa,-0x21c,-0x132,-0xe5)});}else{const _0xd24370=await _0x5a57f9(_0x321294['cwd'])['catch'](()=>null);if(!_0xd24370?.[_0x46601e(_0x307517._0x3d77cc,-0xf8,-_0x307517._0x274af0,-_0x307517._0x570caa)]())throw Object[_0x46601e(-_0x307517._0x336e2f,_0x307517._0x373736,_0x307517._0x1b81cd,_0x307517._0x246d80)](new Error(_0x46601e(-0x4,_0x307517._0x1cb836,-0x158,-0x4a)+_0x321294['cwd']+'\x27'),{'code':'ENOENT'});}}function _0x46601e(_0x5c0553,_0x1c34ce,_0x5539b2,_0x405ab1){return _0x2389b1(_0x5c0553-_0x3f5e99._0x19ac7e,_0x1c34ce-0x197,_0x1c34ce,_0x405ab1- -_0x3f5e99._0x344bb9);}if(_0x321294[_0x46601e(_0x307517._0x4b7042,_0x307517._0x36a164,0x237,_0x307517._0x215a22)]?.[_0x46601e(_0x307517._0x1464ff,0x2f6,_0x307517._0x1a8a68,0x22e)]===0x0)return[];const _0x5e73d8=await filepath();function _0x14e297(_0x4ce373,_0x597fa3,_0x18f94d,_0x3b88a6){return _0x2389b1(_0x4ce373-0x50,_0x597fa3-_0x54ae32._0x4911b0,_0x3b88a6,_0x597fa3- -_0x54ae32._0x5c38bf);}const _0x22d4ea=[_0x46601e(0x2a0,0x257,_0x307517._0x54debd,0x1f3),_0x46601e(-_0x307517._0x24dbb5,-0x166,-_0x307517._0x3bc8bc,-_0x307517._0x4dbdee),_0x321294[_0x46601e(-_0x307517._0x80ea45,-0xe9,-_0x307517._0x4b1bcf,-0xb4)]],_0x22b47d=typeof _0x321294['context']===_0x46601e(_0x307517._0x51fd5f,0x2f9,_0x307517._0x1c8619,_0x307517._0x450a53)&&_0x321294[_0x14e297(0x22b,_0x307517._0x55a29a,0x323,0x78)]>0x0;return _0x22b47d&&_0x22d4ea['push']('-C',String(_0x321294[_0x14e297(0x1b9,_0x307517._0x38700c,0x46,_0x307517._0x20f007)])),_0x321294['glob']&&!_0x321294[_0x14e297(0x3b3,0x26c,_0x307517._0x7f2bb7,0x25c)]&&_0x321294[_0x46601e(0xcb,_0x307517._0x19cc71,_0x307517._0x11a0a3,0x232)]===void 0x0&&_0x22d4ea[_0x14e297(_0x307517._0x4cc8ca,0x259,_0x307517._0x3ed7b9,0x3c5)](_0x46601e(-0x58,-_0x307517._0x26ef44,-0x34,-0x107),_0x321294['glob']),_0x321294[_0x46601e(0x205,0x232,0x1fc,_0x307517._0x215a22)]!==void 0x0?_0x22d4ea[_0x46601e(-0x35,-_0x307517._0x3c6e67,0x1c8,0x58)](..._0x321294[_0x46601e(0x208,0x308,_0x307517._0x197b2b,0x232)]):_0x22d4ea[_0x46601e(0xe,-0x14e,-_0x307517._0x2a1021,_0x307517._0x146b13)](_0x321294[_0x46601e(_0x307517._0x38bf5e,-_0x307517._0x5b95ed,0x20c,0x6b)]??_0x321294['cwd']),await new Promise((_0x3e4592,_0x5c0c89)=>{const _0x30adaa={_0x176184:0x57d,_0x136231:0x674,_0x397602:0x4e9,_0x5cc585:0x590,_0x5eea67:0x1f7,_0x510cce:0x195},_0xeee711={_0x144ad8:0x1ee,_0x5bfefe:0x1cf},_0x27f813={_0x384f9c:0x566},_0x3be911=_0x32c744(_0x5e73d8,_0x22d4ea,{'cwd':_0x321294[_0x41dc24(0x175,_0x5de4d1._0x227561,_0x5de4d1._0x324a87,_0x5de4d1._0x196019)],'stdio':[_0x41dc24(-_0x5de4d1._0x28fc9f,-_0x5de4d1._0xde8045,-0x13b,-0x29),'pipe',_0x41dc24(-_0x5de4d1._0x146430,-0x1d6,-_0x5de4d1._0x88e70e,-0x71)]});let _0x3cb31d='',_0x452554='';function _0x5aacfa(_0x5e8ef6,_0x5b9947,_0x3b3e26,_0x4c0e00){return _0x46601e(_0x5e8ef6-0x100,_0x5b9947,_0x3b3e26-0x117,_0x3b3e26-0x58e);}function _0x41dc24(_0x1fd26e,_0x2604e8,_0x20a250,_0x397a05){return _0x46601e(_0x1fd26e-0xea,_0x20a250,_0x20a250-_0x4f99b5._0x1b2170,_0x1fd26e- -0x9f);}_0x3be911['stdout']?.['on'](_0x5aacfa(0x4d8,_0x5de4d1._0x4ac734,0x55d,0x3e2),_0x386599=>{_0x3cb31d+=_0x386599['toString']();}),_0x3be911[_0x41dc24(_0x5de4d1._0x4d18b0,-0x77,0x190,_0x5de4d1._0x4ce124)]?.['on'](_0x41dc24(-0xd0,-_0x5de4d1._0x9c1be,-_0x5de4d1._0xbe87c6,_0x5de4d1._0x2e6fc1),_0x2a5592=>{function _0x2a6902(_0x49c2f3,_0x4e4529,_0x1902e8,_0x3e76f8){return _0x41dc24(_0x49c2f3-_0x27f813._0x384f9c,_0x4e4529-0x1b0,_0x3e76f8,_0x3e76f8-0x6e);}_0x452554+=_0x2a5592[_0x2a6902(0x406,_0x1d4db5._0x16c182,0x37e,0x5a5)]();}),_0x3be911['on'](_0x5aacfa(_0x5de4d1._0x479aea,_0x5de4d1._0x240f73,0x54b,0x5a8),_0x188d2d=>{const _0x1ffea2={_0x1b4b0b:0x3fa,_0x109030:0xbb},_0x9fd405={_0x48463e:0x49a,_0x4608ac:0x184};if(_0x188d2d===0x1&&_0x3cb31d===''){_0x3e4592([]);return;}if(_0x188d2d!==0x0&&_0x188d2d!==0x1){_0x5c0c89(new Error('ripgrep\x20failed:\x20'+_0x452554));return;}const _0x16dc50=[];function _0x17a70e(_0xf4721b,_0xaadc81,_0x264f0b,_0x24e2c3){return _0x41dc24(_0xaadc81-0x1a1,_0xaadc81-_0xeee711._0x144ad8,_0xf4721b,_0x24e2c3-_0xeee711._0x5bfefe);}function _0x1ab060(_0x46d21c,_0x5154b0,_0x7990b1,_0x362978){return _0x41dc24(_0x46d21c-_0x9fd405._0x48463e,_0x5154b0-_0x9fd405._0x4608ac,_0x5154b0,_0x362978-0xcc);}try{for(const _0x4e9f3b of _0x3cb31d['split'](/\r?\n/)){const _0x20bf6c=parseMatchLine(_0x4e9f3b,_0x321294[_0x1ab060(_0x41ab02._0x325a81,0x4f1,_0x41ab02._0x57396c,0x6f3)]);if(_0x20bf6c)_0x16dc50[_0x17a70e(0x20e,_0x41ab02._0x45fe23,_0x41ab02._0x4a99a3,-_0x41ab02._0x18ea0d)](_0x20bf6c);}}catch(_0x567a7f){_0x5c0c89(_0x567a7f);return;}const _0x214aaf=_0x321294['limit']??0x64,_0x1d81cd=Number[_0x17a70e(0x12b,0x40,-_0x41ab02._0x492274,0x6d)](_0x214aaf)?Math[_0x17a70e(0x14b,0x15f,_0x41ab02._0x1f9b47,_0x41ab02._0x5b3fc1)](0x0,Math[_0x17a70e(-0x29,0x187,_0x41ab02._0x3e83d7,_0x41ab02._0x403fa7)](_0x214aaf)):0x64,_0x15dc9d=_0x16dc50[_0x17a70e(_0x41ab02._0x3af506,_0x41ab02._0xa2aac0,0x44c,0x20c)](_0x53342a=>!_0x53342a[_0x17a70e(0x25c,0x305,0x4b8,0x368)]);if(_0x15dc9d['length']<=_0x1d81cd){_0x3e4592(_0x16dc50);return;}const _0x3b586e=_0x15dc9d[_0x17a70e(_0x41ab02._0x3facd7,_0x41ab02._0x24ba40,0x12c,0x19b)](0x0,_0x1d81cd),_0x448a43=new Set(_0x3b586e),_0x593d55=_0x22b47d?Math[_0x17a70e(_0x41ab02._0x1db12c,_0x41ab02._0x58c9b8,_0x41ab02._0x217e3a,-0x56)](0x0,Math[_0x1ab060(0x480,0x49f,_0x41ab02._0xf00414,0x558)](_0x321294['context']??0x0)):0x0;_0x3e4592(_0x16dc50[_0x17a70e(_0x41ab02._0x3b87dc,_0x41ab02._0x31c03c,_0x41ab02._0x3cdc29,_0x41ab02._0x56ba24)](_0x2cdd2d=>{const _0x36e1ca={_0x1374f6:0x105};function _0x1c2c5d(_0x4046fc,_0x3fc1bf,_0x2ad71c,_0x47f9d3){return _0x17a70e(_0x3fc1bf,_0x47f9d3-_0x1ffea2._0x1b4b0b,_0x2ad71c-0x34,_0x47f9d3-_0x1ffea2._0x109030);}if(!_0x2cdd2d[_0x1c2c5d(0x676,0x898,_0x30adaa._0x176184,0x6ff)])return _0x448a43[_0x1c2c5d(_0x30adaa._0x136231,_0x30adaa._0x397602,_0x30adaa._0x5cc585,0x60e)](_0x2cdd2d);function _0x2a3d41(_0x1f3f36,_0x16c7a0,_0x1d8f38,_0x2ca54d){return _0x1ab060(_0x2ca54d- -0x1a2,_0x1d8f38,_0x1d8f38-_0x36e1ca._0x1374f6,_0x2ca54d-0x11e);}return _0x3b586e[_0x2a3d41(_0x30adaa._0x5eea67,_0x30adaa._0x510cce,0x314,0x2a0)](_0x172acd=>_0x172acd[_0x1c2c5d(0x381,0x55e,0x449,0x51e)]===_0x2cdd2d[_0x1c2c5d(0x670,0x3b2,0x3ef,0x51e)]&&Math['abs'](_0x172acd[_0x1c2c5d(0x57e,0x412,0x6f0,0x58e)]-_0x2cdd2d[_0x1c2c5d(0x6bc,0x40e,0x686,0x58e)])<=_0x593d55);}));}),_0x3be911['on'](_0x5aacfa(0x650,0x75b,0x6ff,0x6e7),_0x5c0c89);});}function createGlobTool(_0x1c1808={}){const _0x312ad9={_0x49cee2:0x122,_0xe85807:0x112,_0x44a9c8:0x245,_0x2b85d1:0x38c,_0x33de66:0x2be,_0x25ea30:0x2d,_0x4bb822:0x36,_0x5137c2:0x16,_0x3a6ea3:0x117,_0x43a6bd:0x16e,_0x5f78a4:0x2,_0x41159b:0x26f,_0x77ed69:0x41b,_0x219250:0xbc,_0x108363:0x82,_0x5ba85c:0x56,_0x12b1d4:0xf4},_0x2cbaca={_0x1ed9ab:0x35,_0xe88a6a:0xde,_0x19a1d7:0x166,_0x596658:0xbe,_0x16db88:0x23,_0x222f67:0xdc,_0x4a3a01:0xa8,_0x51784d:0x473,_0x108348:0x55a,_0xe0fc7a:0x51d,_0x2dbd96:0x320,_0x145e73:0xd3,_0x348e8e:0x144,_0xd129b:0x380,_0x2b6812:0x206,_0x61d00b:0x489,_0x1c3a7:0x3a7,_0x554f2f:0x371,_0x24a439:0x597,_0x27e1dd:0x55a,_0x4ea50a:0x3e2,_0x5d2bb9:0x28a,_0x3a3d67:0xfa,_0x4a2a04:0x24,_0x48bc5c:0x655,_0x2a3434:0x8a7,_0x5c32dd:0x448,_0x5a14c3:0x5e7,_0x5387c9:0x676,_0x25c712:0x44d,_0x5f4a63:0x3ee,_0xab87f4:0x41b,_0x2e2e14:0x114,_0x227bb0:0x11e,_0xf56d38:0x27a,_0x3b7e06:0x5c,_0x3aac08:0x7b,_0x20cb7f:0xeb,_0x4911f6:0x1f,_0x2d79df:0xc9,_0x18cdd7:0x18c,_0x3837eb:0xdc},_0x32b49f={_0x4eb936:0x1ae},_0x5c3095={_0x5edecd:0x191},_0x5a6e58=_0x41e487[_0x450a65(_0x312ad9._0x49cee2,0x9,_0x312ad9._0xe85807,0x15c)](_0x1c1808['defaultCwd']??process['cwd']());function _0x3b8f63(_0x387b19,_0x2fb5b,_0x37411d,_0xa58124){return _0x2389b1(_0x387b19-_0x5c3095._0x5edecd,_0x2fb5b-0xd7,_0x387b19,_0xa58124- -0x667);}const _0x1b3349=_0x1c1808['allowedDirs']??[],_0xeaf60a=_0x1c1808[_0x450a65(0x32e,_0x312ad9._0x44a9c8,_0x312ad9._0x2b85d1,_0x312ad9._0x33de66)]??0x64,_0x41c354=_0x1c1808['name']??_0x3b8f63(-_0x312ad9._0x25ea30,0x36,-_0x312ad9._0x4bb822,_0x312ad9._0x5137c2);function _0x450a65(_0x3769dd,_0x2c57e5,_0x25b04a,_0x1c9ad3){return _0x5da4fe(_0x2c57e5- -_0x32b49f._0x4eb936,_0x2c57e5-0xce,_0x1c9ad3,_0x1c9ad3-0x12d);}return defineTool({'name':_0x41c354,'permissionClass':_0x3b8f63(-_0x312ad9._0x3a6ea3,-_0x312ad9._0x43a6bd,-0xd8,_0x312ad9._0x5f78a4),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x450a65(0x3ee,0x320,_0x312ad9._0x41159b,_0x312ad9._0x77ed69),'properties':{'pattern':{'type':'string'},'path':{'type':_0x3b8f63(-0xc,0x58,_0x312ad9._0x219250,-_0x312ad9._0x108363)},'limit':{'type':_0x3b8f63(-_0x312ad9._0x5ba85c,-0x1b,0x2a,_0x312ad9._0x12b1d4)}},'required':['pattern']},async *'execute'(_0x58da1d){const _0x21fd22={_0x41aed2:0x2b};if(_0x58da1d['pattern'][_0x1445db(-_0x2cbaca._0x1ed9ab,-_0x2cbaca._0xe88a6a,-_0x2cbaca._0x19a1d7,-_0x2cbaca._0x596658)]()[_0x1445db(0x1e6,_0x2cbaca._0x16db88,_0x2cbaca._0x222f67,_0x2cbaca._0x4a3a01)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});function _0x1445db(_0x1b25d8,_0x30f45e,_0x187058,_0x133d94){return _0x3b8f63(_0x30f45e,_0x30f45e-0x11,_0x187058-0x1b7,_0x187058- -0xd9);}function _0x52f93f(_0x192c6a,_0x3e9233,_0x31f8ff,_0x589a48){return _0x3b8f63(_0x192c6a,_0x3e9233-_0x21fd22._0x41aed2,_0x31f8ff-0x113,_0x31f8ff-0x548);}const _0x1457a5=resolveAllowedPath(_0x5a6e58,_0x1b3349,_0x58da1d[_0x52f93f(0x661,0x3cd,0x590,_0x2cbaca._0x51784d)]??'.'),_0x448d5d=await _0x13d34b(_0x1457a5)[_0x52f93f(0x433,0x70b,_0x2cbaca._0x108348,0x478)](()=>null);if(!_0x448d5d?.['isDirectory']())throw new ToolExecutionError(_0x52f93f(0x458,_0x2cbaca._0xe0fc7a,0x4ca,_0x2cbaca._0x2dbd96)+(_0x58da1d['path']??'.'),{'path':_0x58da1d[_0x1445db(-_0x2cbaca._0x145e73,-0x33,-0x91,0x11)]??'.'});const _0x3e3382=_0x58da1d['limit']??_0xeaf60a,_0x508c75=Math['max'](0x1,Math[_0x1445db(-0x11f,-_0x2cbaca._0x348e8e,-0xcd,-0x17)](_0x3e3382)),_0x4e3ecc=[];let _0x5915ab=![];for await(const _0x404661 of files({'cwd':_0x1457a5,'glob':[_0x58da1d[_0x1445db(-_0x2cbaca._0xd129b,-0x3ac,-_0x2cbaca._0x2b6812,-0x5b)]]})){if(_0x4e3ecc['length']>=_0x508c75){_0x5915ab=!![];break;}const _0x5060d7=await _0x13d34b(_0x41e487[_0x52f93f(0x4c4,_0x2cbaca._0x61d00b,_0x2cbaca._0x1c3a7,_0x2cbaca._0x554f2f)](_0x1457a5,_0x404661))[_0x52f93f(_0x2cbaca._0x24a439,0x6c9,_0x2cbaca._0x27e1dd,_0x2cbaca._0x4ea50a)](()=>null);_0x4e3ecc[_0x1445db(0x36,-_0x2cbaca._0x5d2bb9,-_0x2cbaca._0x3a3d67,-0x134)]({'path':_0x404661,'mtime':_0x5060d7?.['mtimeMs']??0x0});}_0x4e3ecc['sort']((_0x2ef872,_0x3d02e7)=>_0x3d02e7[_0x52f93f(0x581,0x667,0x6ce,0x60a)]-_0x2ef872[_0x1445db(0x243,-0x25,0xad,0x4e)]);const _0x2a2167=_0x4e3ecc[_0x1445db(0x63,-0x2b,-0x154,-_0x2cbaca._0x4a2a04)](_0x28c4e0=>_0x28c4e0[_0x52f93f(0x5d0,0x4bd,0x590,0x4ed)]),_0xf31879=_0x2a2167[_0x52f93f(0x7bc,_0x2cbaca._0x48bc5c,0x6fd,_0x2cbaca._0x2a3434)]===0x0?_0x52f93f(_0x2cbaca._0x5c32dd,0x7a1,_0x2cbaca._0x5a14c3,_0x2cbaca._0x5387c9)+_0x58da1d[_0x52f93f(_0x2cbaca._0x25c712,_0x2cbaca._0x5f4a63,_0x2cbaca._0xab87f4,0x2f8)]:''+_0x2a2167[_0x1445db(-_0x2cbaca._0x2e2e14,-_0x2cbaca._0x227bb0,-_0x2cbaca._0xf56d38,-0x2c2)]('\x0a')+(_0x5915ab?_0x1445db(-0x39,-_0x2cbaca._0x3b7e06,_0x2cbaca._0x3aac08,-0xc1):'');return yield createToolOutput(_0xf31879,{'pattern':_0x58da1d['pattern'],'searchPath':_0x41e487[_0x1445db(_0x2cbaca._0x20cb7f,-_0x2cbaca._0x4911f6,0xfc,_0x2cbaca._0x2d79df)](_0x5a6e58,_0x1457a5)||'.','matches':_0x2a2167,'count':_0x2a2167[_0x1445db(_0x2cbaca._0x18cdd7,0x28,_0x2cbaca._0x3837eb,-0x80)],'truncated':_0x5915ab}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x460b2e){const _0x3b12c7={_0x4d08f9:0x69e,_0x1669e0:0x85a,_0x583e91:0x37f,_0x582601:0x373,_0x34f872:0x27f,_0x528bdc:0x2ee,_0x5daa7b:0x54e},_0x1854b4={_0x4d437a:0x1db,_0x20d1c6:0x184},_0x41a0a2={_0x24bda2:0x4b,_0x4eff07:0x4a9};function _0x1467f5(_0x33b45c,_0x374768,_0x3c5d01,_0xadec72){return _0x2389b1(_0x33b45c-_0x41a0a2._0x24bda2,_0x374768-0xa9,_0x374768,_0xadec72- -_0x41a0a2._0x4eff07);}function _0x31a3c4(_0x1ad1b4,_0x1b9a8e,_0x5acbe5,_0x5e2ad1){return _0x5da4fe(_0x1ad1b4-0x1d7,_0x1b9a8e-_0x1854b4._0x4d437a,_0x5e2ad1,_0x5e2ad1-_0x1854b4._0x20d1c6);}if(_0x460b2e['trim']()[_0x31a3c4(_0x3b12c7._0x4d08f9,0x777,0x73b,_0x3b12c7._0x1669e0)]===0x0)throw new Error('pattern\x20is\x20required');if(_0x460b2e[_0x1467f5(0x1e7,0x4c8,_0x3b12c7._0x583e91,_0x3b12c7._0x582601)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x1467f5(_0x3b12c7._0x34f872,_0x3b12c7._0x528bdc,0x438,0x361)+GREP_MAX_PATTERN_LENGTH+_0x31a3c4(_0x3b12c7._0x5daa7b,0x424,0x613,0x485));}function boundedGrepSnippet(_0x45bd3b){const _0x15145={_0x175cb8:0x3cf,_0x572066:0x2fd,_0x581bd2:0x3f2,_0x38df52:0x278,_0x3a7297:0xe8},_0x29c8a6={_0x254aad:0x82},_0x21e145={_0x2e9981:0x20d};function _0x14ec9b(_0x167060,_0x9e876a,_0x2c6547,_0x3c44f9){return _0x5da4fe(_0x2c6547- -_0x21e145._0x2e9981,_0x9e876a-0x101,_0x167060,_0x3c44f9-0x1b1);}function _0x1dbebc(_0x527233,_0xac3e5a,_0x1cea15,_0x4d24c0){return _0x2389b1(_0x527233-_0x29c8a6._0x254aad,_0xac3e5a-0x20,_0xac3e5a,_0x1cea15- -0x348);}return _0x45bd3b['length']>GREP_MAX_SNIPPET_LENGTH?_0x45bd3b[_0x1dbebc(0x38c,_0x15145._0x175cb8,_0x15145._0x572066,_0x15145._0x581bd2)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x14ec9b(0x24e,_0x15145._0x38df52,_0x15145._0x3a7297,0x122):_0x45bd3b;}async function searchRegex(_0x94fb72){const _0x2cd494={_0x5d4d8e:0x142,_0x2384a8:0x131,_0x849e75:0x1a5,_0x16be00:0x305,_0x321bd0:0x51f,_0x2a9a99:0x1e8,_0x5a5496:0x194,_0x737db8:0x20,_0x47d83d:0x123,_0x2879fc:0x1c1,_0xbfe3df:0x28e,_0x182952:0x20c,_0x28f8fc:0x5fa,_0xd50892:0x1f6,_0x24f169:0x351,_0x482c10:0x4dc,_0x5564c5:0x54f,_0x250957:0x33c,_0x5ac21e:0x443,_0x204330:0x63a,_0x2204d3:0x60,_0x22eb1b:0x153,_0x4c0e23:0x31b,_0x389f75:0xda,_0x5ace91:0x385,_0x57ec11:0x1fd,_0x20e514:0x1f,_0xb839ab:0x8b,_0x592bd3:0x4ae,_0x176c7f:0x2f8,_0x5bf836:0x650,_0x41d376:0x301,_0xa82e1a:0x43a,_0xd6c55e:0x49b,_0x4c8622:0x184,_0x3d9236:0xcf,_0x52bb11:0x579,_0xcfcc60:0x2a8,_0x40e5b1:0x11b,_0x1e3416:0x110,_0x222c35:0x188,_0x57ffbc:0x4b,_0x2173bb:0x67},_0x392882={_0x346b93:0x459,_0x3c2108:0x4eb},_0xb2ec45={_0x4e236d:0xaf},_0x1eacb5={_0x1fd092:0x76,_0x818e8b:0x9},_0x376b03={_0x4b9f4d:0x316},_0x4b08b9={_0x3f48b7:0x11,_0x1da88f:0x137};validateGrepPattern(_0x94fb72[_0x58fee5(-_0x2cd494._0x5d4d8e,-_0x2cd494._0x2384a8,-_0x2cd494._0x849e75,-0xee)]);const _0x1fdeef=_0x94fb72[_0x55aba5(0x404,_0x2cd494._0x16be00,_0x2cd494._0x321bd0,0x534)]??GREP_DEFAULT_LIMIT;function _0x55aba5(_0x4484a5,_0x559edb,_0x4c5f88,_0x3bf0b4){return _0x5da4fe(_0x4484a5-_0x4b08b9._0x3f48b7,_0x559edb-0xef,_0x3bf0b4,_0x3bf0b4-_0x4b08b9._0x1da88f);}const _0x31deec=Number[_0x55aba5(_0x2cd494._0x2a9a99,0x1c3,0x2f8,0x26f)](_0x1fdeef)?Math[_0x58fee5(-_0x2cd494._0x5a5496,-_0x2cd494._0x737db8,-0xd7,-_0x2cd494._0x47d83d)](0x1,Math[_0x55aba5(0x32f,_0x2cd494._0x2879fc,_0x2cd494._0xbfe3df,0x269)](_0x1fdeef)):GREP_DEFAULT_LIMIT;if(_0x94fb72['files']?.[_0x58fee5(0x195,0x1b1,0x28,_0x2cd494._0x182952)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x11d3c4=await search({'cwd':_0x94fb72[_0x55aba5(0x4be,0x474,0x4d4,_0x2cd494._0x28f8fc)],'pattern':_0x94fb72[_0x55aba5(_0x2cd494._0xd50892,0x82,0x3af,_0x2cd494._0x24f169)],..._0x94fb72[_0x55aba5(_0x2cd494._0x482c10,_0x2cd494._0x5564c5,_0x2cd494._0x250957,0x3bf)]===void 0x0?{}:{'files':_0x94fb72[_0x55aba5(0x4dc,_0x2cd494._0x5ac21e,_0x2cd494._0x204330,0x40a)]},..._0x94fb72[_0x58fee5(_0x2cd494._0x2204d3,-_0x2cd494._0x22eb1b,-0x288,_0x2cd494._0x2204d3)]===void 0x0?{}:{'glob':_0x94fb72[_0x55aba5(0x1d4,_0x2cd494._0x4c0e23,_0x2cd494._0x389f75,0x221)]},..._0x94fb72[_0x55aba5(0x29c,0x44f,_0x2cd494._0x5ace91,_0x2cd494._0x57ec11)]===void 0x0?{}:{'context':_0x94fb72[_0x58fee5(-_0x2cd494._0x20e514,-_0x2cd494._0xb839ab,-0x1cb,-0x22e)]},'limit':_0x31deec+0x1}),_0x3bc978=_0x11d3c4[_0x55aba5(_0x2cd494._0x592bd3,_0x2cd494._0x176c7f,0x5ba,_0x2cd494._0x5bf836)](_0x1e0c21=>!_0x1e0c21[_0x58fee5(0x341,0x186,0x247,0x18e)]),_0x2aa38f=_0x3bc978['length']>_0x31deec,_0x417459=_0x3bc978[_0x55aba5(_0x2cd494._0x41d376,0x234,0x225,_0x2cd494._0xa82e1a)](0x0,_0x31deec),_0xdc095d=new Set(_0x417459);function _0x58fee5(_0xfb4cc2,_0x2c62b5,_0x472b94,_0x9315d0){return _0x5da4fe(_0x2c62b5- -_0x376b03._0x4b9f4d,_0x2c62b5-0x68,_0x9315d0,_0x9315d0-0xb4);}const _0x3a6576=Math[_0x55aba5(0x307,0x185,0x359,_0x2cd494._0xd6c55e)](0x0,Math[_0x58fee5(_0x2cd494._0x4c8622,0x8,-0x105,-0x10e)](_0x94fb72[_0x58fee5(-0xe2,-_0x2cd494._0xb839ab,-0xf9,_0x2cd494._0x3d9236)]??0x0)),_0x15e881=_0x2aa38f?_0x11d3c4[_0x55aba5(0x4ae,0x61b,_0x2cd494._0x52bb11,0x307)](_0x4f56c4=>{if(!_0x4f56c4['isContext'])return _0xdc095d[_0x11a354(0x32d,_0x392882._0x346b93,_0x392882._0x3c2108,0x349)](_0x4f56c4);function _0x711d04(_0x2134b7,_0x1ecb92,_0x57a63b,_0x473312){return _0x58fee5(_0x2134b7-_0x1eacb5._0x1fd092,_0x1ecb92-0x660,_0x57a63b-_0x1eacb5._0x818e8b,_0x57a63b);}function _0x11a354(_0x59ef3e,_0x48e846,_0xdfa25c,_0x5d3e93){return _0x58fee5(_0x59ef3e-0x1e9,_0xdfa25c-0x456,_0xdfa25c-_0xb2ec45._0x4e236d,_0x48e846);}return _0x417459['some'](_0x1f88d3=>_0x1f88d3[_0x11a354(0x34a,0x35f,0x3fb,0x24d)]===_0x4f56c4[_0x11a354(0x3e3,0x404,0x3fb,0x502)]&&Math[_0x11a354(0x1ac,0x416,0x30b,0x168)](_0x1f88d3[_0x711d04(0x5f2,0x675,0x7dd,0x74d)]-_0x4f56c4[_0x711d04(0x77a,0x675,0x4d5,0x70a)])<=_0x3a6576);}):_0x11d3c4;return{'matches':_0x15e881,'matchCount':_0x417459[_0x58fee5(0x356,0x1b1,0x95,0x2f9)],'fileCount':new Set(_0x15e881[_0x55aba5(_0x2cd494._0xcfcc60,_0x2cd494._0x40e5b1,0x304,_0x2cd494._0x1e3416)](_0x95b791=>_0x95b791[_0x58fee5(-0x1fd,-0x5b,-0x17b,-0x8a)]))[_0x55aba5(_0x2cd494._0x222c35,0x277,_0x2cd494._0x57ffbc,_0x2cd494._0x2173bb)],'truncated':_0x2aa38f};}import{stat as _0xfdb935}from'fs/promises';import*as _0x5bd485 from'path';function createGrepTool(_0x42fc63={}){const _0x5e2a01={_0x62bc82:0x739,_0x5bb3b9:0x6c5,_0x5c0973:0x456,_0x39474f:0x4d3,_0x26af08:0x67f,_0x45e86c:0x60b,_0x471c24:0x6b1,_0x4c3adc:0x6c9,_0xdefe46:0x84f,_0x3788d5:0x5cf,_0xd5ac42:0x5a0,_0x11760d:0x5e6,_0x7af63b:0x68b,_0x1bee2d:0x77d,_0x164da0:0x588,_0x103830:0x3b8,_0x1e9554:0x405,_0x50c09e:0x3e5,_0x162f74:0x522,_0xe0f84e:0x51b,_0x1e097d:0x3ab,_0xbc13d4:0x4b8,_0xf4dbe5:0x2ca},_0x3665f5={_0x9b290c:0x371,_0x335674:0x2f6,_0xda2d37:0x4c6,_0x5d830b:0x4a2,_0xba5549:0x3a3,_0x53c52a:0x34a,_0x4dadca:0x304,_0x971dff:0x583,_0x13508f:0x5e2,_0x1bfb9f:0x411,_0xb418d0:0x3b6,_0x413b74:0x3f7,_0x45e435:0x102,_0x28d147:0x63e,_0x2523d8:0x534,_0x1813c4:0x4b0,_0x152ae9:0x326,_0x4f489b:0x2f4,_0xd8be5b:0x24a,_0x364b5f:0x492,_0xcdf6b9:0x155,_0x344533:0x232,_0x429db9:0x311,_0x41c91b:0x2b3,_0x2a31e5:0x28e,_0x1e4a6a:0x324,_0x58ffc5:0x54f,_0x2dfa6b:0x230,_0xff3907:0x38e,_0x334cf0:0x1f7,_0x347b0c:0x4aa,_0x3f9648:0x3e3,_0x7e761d:0x5cd,_0x278601:0x541,_0x2a39c8:0x508,_0x23f9a4:0x413,_0x152f85:0xce,_0x91b51f:0x2ff,_0x4eae14:0x31f,_0x550e5e:0x3fd,_0x20c378:0x3fb,_0x590d30:0x43d,_0x414b11:0x2c7,_0x2891a5:0x4b2,_0x16083c:0x47b,_0x92d9c0:0x3fb,_0x1c7a69:0x34a,_0x3f94cf:0x34a,_0x18dca7:0x25f,_0x7b3a27:0x3ce,_0x12efdd:0x4ba,_0x50ece6:0x614,_0x13c452:0x48a,_0x3edfe0:0x394,_0x20b0a4:0x2dc,_0x56f4d7:0x4c3,_0x37f970:0x67c,_0x15e667:0x5a4,_0x658c51:0x10c,_0x258713:0x24e,_0x30162a:0x36a,_0x2ff693:0x3a2,_0x3efb73:0x4b9,_0x4336c2:0x420,_0x190512:0x18e,_0xbe5f87:0x4a1,_0x1a5652:0x65b,_0xe7481a:0x500,_0x535f3c:0x56e,_0x131f99:0x364,_0x1e9aec:0x371,_0x37043b:0x379},_0x51642e={_0x30656e:0x157,_0x1e1a7c:0x78},_0x35751d={_0x25c640:0x223},_0x247206={_0x2fbbf3:0x240},_0x41a862={_0x426709:0xd6,_0x3294ab:0xc9},_0x1a52fd=_0x5bd485['resolve'](_0x42fc63['defaultCwd']??process[_0x4e991e(0x848,_0x5e2a01._0x62bc82,_0x5e2a01._0x5bb3b9,0x7d2)]());function _0x4e991e(_0xd2ba08,_0xc6a169,_0x2f93fc,_0x199c0f){return _0x2389b1(_0xd2ba08-0xf8,_0xc6a169-_0x41a862._0x426709,_0x2f93fc,_0xc6a169- -_0x41a862._0x3294ab);}function _0x26a703(_0x48fb3c,_0x30115b,_0x2cbea9,_0x309a96){return _0x2389b1(_0x48fb3c-0xdf,_0x30115b-0x1ba,_0x48fb3c,_0x309a96- -_0x247206._0x2fbbf3);}const _0x45ba9c=_0x42fc63[_0x4e991e(0x773,0x5cb,_0x5e2a01._0x5c0973,_0x5e2a01._0x39474f)]??[],_0x3fbb48=_0x42fc63[_0x4e991e(0x7c6,_0x5e2a01._0x26af08,_0x5e2a01._0x45e86c,0x644)]??GREP_DEFAULT_LIMIT,_0x309d01=_0x42fc63[_0x4e991e(_0x5e2a01._0x471c24,_0x5e2a01._0x4c3adc,0x7a6,_0x5e2a01._0xdefe46)]??'Grep';return defineTool({'name':_0x309d01,'permissionClass':_0x4e991e(_0x5e2a01._0x3788d5,_0x5e2a01._0xd5ac42,_0x5e2a01._0x11760d,0x422),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x26a703(0x5ff,_0x5e2a01._0x7af63b,_0x5e2a01._0x1bee2d,0x5e3),'properties':{'pattern':{'type':_0x4e991e(_0x5e2a01._0x164da0,0x51c,_0x5e2a01._0x103830,0x56c)},'path':{'type':_0x26a703(_0x5e2a01._0x1e9554,0x283,0x2d9,0x3a5)},'include':{'type':_0x4e991e(0x48d,0x51c,0x4e4,0x462)},'limit':{'type':'number'},'context':{'type':_0x26a703(_0x5e2a01._0x50c09e,0x637,_0x5e2a01._0x162f74,_0x5e2a01._0xe0f84e)}},'required':[_0x26a703(_0x5e2a01._0x1e097d,_0x5e2a01._0xbc13d4,_0x5e2a01._0xf4dbe5,0x2fa)]},async *'execute'(_0x9afa3d){try{validateGrepPattern(_0x9afa3d[_0x2aa0bf(_0x3665f5._0x9b290c,_0x3665f5._0x335674,0x37b,0x282)]);}catch(_0x558571){throw new ToolExecutionError(_0x558571[_0x2aa0bf(_0x3665f5._0xda2d37,0x506,_0x3665f5._0x5d830b,_0x3665f5._0xba5549)],{});}const _0x39d76d=resolveAllowedPath(_0x1a52fd,_0x45ba9c,_0x9afa3d['path']??'.'),_0x4ae355=await _0xfdb935(_0x39d76d)[_0x2aa0bf(_0x3665f5._0x53c52a,_0x3665f5._0x4dadca,0x314,0x3c1)](()=>null),_0x5e7e8c=_0x4ae355?.['isFile']()??![],_0x3bbbec=_0x4ae355?.[_0x2ff127(0x1b1,0xf5,0x26e,0x13d)]()??![];function _0x2ff127(_0x56f38a,_0x5c2d3b,_0x4dc0bd,_0x52a7a7){return _0x4e991e(_0x56f38a-0x91,_0x4dc0bd- -_0x35751d._0x25c640,_0x52a7a7,_0x52a7a7-0x9b);}if(!_0x5e7e8c&&!_0x3bbbec)throw new ToolExecutionError(_0x2ff127(_0x3665f5._0x971dff,_0x3665f5._0x13508f,0x475,0x41a)+(_0x9afa3d['path']??'.'),{'path':_0x9afa3d[_0x2aa0bf(0x36a,_0x3665f5._0x1bfb9f,_0x3665f5._0xb418d0,_0x3665f5._0x413b74)]??'.'});const _0x4734b3=await searchRegex({'cwd':_0x3bbbec?_0x39d76d:_0x5bd485['dirname'](_0x39d76d),'pattern':_0x9afa3d[_0x2ff127(0xa9,0xc2,0x24e,_0x3665f5._0x45e435)],'glob':_0x3bbbec?_0x9afa3d[_0x2aa0bf(_0x3665f5._0x28d147,0x4ef,0x3d4,_0x3665f5._0x2523d8)]:void 0x0,'limit':_0x9afa3d[_0x2ff127(_0x3665f5._0x1813c4,0x4f6,0x45c,_0x3665f5._0x152ae9)]??_0x3fbb48,'files':_0x5e7e8c?[_0x39d76d]:void 0x0,'context':_0x9afa3d[_0x2ff127(0x17b,0x2bd,_0x3665f5._0x4f489b,_0x3665f5._0xd8be5b)]}),{matches:_0x552bbe}=_0x4734b3,_0x58ab59=new Map();for(const _0xfc9f89 of _0x552bbe){if(!_0x58ab59[_0x2ff127(0x3f4,0x4a2,0x414,0x278)](_0xfc9f89['filePath'])){const _0x267f9c=await _0xfdb935(_0xfc9f89['filePath'])[_0x2ff127(_0x3665f5._0x364b5f,0x223,0x38d,0x1e8)](()=>null);_0x58ab59[_0x2ff127(_0x3665f5._0xcdf6b9,_0x3665f5._0x344533,_0x3665f5._0x429db9,0x33c)](_0xfc9f89['filePath'],{'matches':[],'mtime':_0x267f9c?.[_0x2aa0bf(0x3c0,0x384,_0x3665f5._0x41c91b,0x36f)]??0x0});}_0x58ab59['get'](_0xfc9f89[_0x2ff127(0x1e7,_0x3665f5._0x2a31e5,_0x3665f5._0x1e4a6a,0x4c5)])?.[_0x2ff127(0x377,0x4b0,0x316,0x1c8)][_0x2aa0bf(_0x3665f5._0x58ffc5,_0x3665f5._0x2dfa6b,0x517,_0x3665f5._0xff3907)](_0xfc9f89);}const _0x3fcf6b=[..._0x58ab59[_0x2ff127(0x113,0x303,_0x3665f5._0x334cf0,0x3aa)]()][_0x2ff127(0x539,0x486,_0x3665f5._0x347b0c,0x54a)]((_0xe7ab2f,_0x594295)=>_0x594295[0x1][_0x2ff127(0x4c0,0x379,0x501,0x4b3)]-_0xe7ab2f[0x1][_0x2aa0bf(0x47b,0x61c,0x4d1,0x535)]),_0x45c10e=_0x5e7e8c?_0x5bd485[_0x2aa0bf(_0x3665f5._0x3f9648,0x670,_0x3665f5._0x7e761d,0x53f)](_0x39d76d):_0x39d76d;let _0x32ea20='';function _0x2aa0bf(_0x1212cf,_0x2c827f,_0x5152d5,_0x149ea4){return _0x26a703(_0x2c827f,_0x2c827f-_0x51642e._0x30656e,_0x5152d5-0x4e,_0x149ea4- -_0x51642e._0x1e1a7c);}if(_0x552bbe['length']===0x0)_0x32ea20=_0x2aa0bf(0x57b,_0x3665f5._0x278601,_0x3665f5._0x2a39c8,_0x3665f5._0x23f9a4)+_0x9afa3d[_0x2aa0bf(0x1c8,_0x3665f5._0x152f85,_0x3665f5._0x91b51f,0x282)];else{_0x32ea20='Found\x20'+_0x4734b3[_0x2aa0bf(0x4b2,_0x3665f5._0x4eae14,_0x3665f5._0x550e5e,_0x3665f5._0x20c378)]+_0x2ff127(_0x3665f5._0x590d30,0x365,_0x3665f5._0x414b11,0x39d)+(_0x4734b3[_0x2aa0bf(0x31c,_0x3665f5._0x2891a5,_0x3665f5._0x16083c,0x3fb)]===0x1?'':'es')+'\x0a';for(const [_0x524e01,_0x5c22db]of _0x3fcf6b){const _0x1f99cf=_0x5e7e8c?_0x5bd485[_0x2aa0bf(0x13f,0x3fe,0x134,0x278)](_0x524e01):_0x5bd485['relative'](_0x45c10e,_0x524e01);_0x32ea20+='\x0a'+_0x1f99cf+':\x0a';for(const _0x4df285 of _0x5c22db[_0x2aa0bf(_0x3665f5._0x92d9c0,_0x3665f5._0x1c7a69,0x21a,_0x3665f5._0x3f94cf)]){const _0x2b4ad0=boundedGrepSnippet(_0x4df285[_0x2aa0bf(0x435,0x43b,_0x3665f5._0x18dca7,_0x3665f5._0x7b3a27)]),_0x1d04c0=_0x4df285[_0x2ff127(0x402,_0x3665f5._0x12efdd,0x505,_0x3665f5._0x50ece6)]?'\x20\x20':'>\x20';_0x32ea20+=_0x1d04c0+'Line\x20'+_0x4df285[_0x2ff127(0x454,_0x3665f5._0x13c452,_0x3665f5._0x3edfe0,0x38e)]+':\x20'+_0x2b4ad0+'\x0a';}}_0x4734b3[_0x2aa0bf(0x406,_0x3665f5._0x20b0a4,0x3f5,0x316)]&&(_0x32ea20+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x305956={'searchPath':_0x5bd485[_0x2ff127(_0x3665f5._0x56f4d7,_0x3665f5._0x37f970,0x550,_0x3665f5._0x15e667)](_0x1a52fd,_0x39d76d)||'.','pattern':_0x9afa3d[_0x2ff127(_0x3665f5._0x658c51,0x2bd,_0x3665f5._0x258713,_0x3665f5._0x30162a)],'matchCount':_0x4734b3[_0x2ff127(_0x3665f5._0x2ff693,0x3cb,0x3c7,_0x3665f5._0x3efb73)],'fileCount':_0x4734b3['fileCount'],'truncated':_0x4734b3[_0x2ff127(_0x3665f5._0x4336c2,_0x3665f5._0x190512,0x2e2,0x45d)]};return _0x3bbbec&&_0x9afa3d[_0x2ff127(_0x3665f5._0xbe5f87,_0x3665f5._0x1a5652,_0x3665f5._0xe7481a,_0x3665f5._0x535f3c)]!==void 0x0&&(_0x305956[_0x2ff127(0x6a1,0x440,0x500,_0x3665f5._0x131f99)]=_0x9afa3d['include']),yield createToolOutput(_0x32ea20[_0x2aa0bf(0x2f9,_0x3665f5._0x1e9aec,_0x3665f5._0x37043b,0x322)](),_0x305956),void 0x0;}});}function createKillShellTool(_0x226ccc){const _0x355c1d={_0x318d51:0x20c,_0x26102b:0x301,_0x2e08c7:0x238,_0x2afcca:0x1a4,_0x3d3fc6:0xc6,_0x1ca454:0xda,_0x528bdf:0x17a,_0x591bdb:0x10d,_0x4e4701:0x26a},_0x2325ba={_0xb2e02:0x1d8,_0x503267:0x9c,_0x3116dd:0x189,_0x47a507:0x182,_0x4d8b56:0x299,_0x15e916:0x1fe,_0x280a16:0x123,_0x16376c:0x450,_0x27060c:0x3e5,_0xa559fe:0x20b,_0x34d71c:0x383,_0x42f719:0x36c,_0x3a6f51:0x1e2,_0x355209:0x335,_0x5a7f43:0x103,_0x1f2ece:0xf6,_0x4d9db7:0x1fe,_0x3597ef:0x22f,_0x5e6479:0x2ab,_0x552875:0x90,_0xb8a228:0xfb,_0xf3d318:0x555,_0x1bc0e8:0x348,_0x20cb33:0x479,_0x425018:0x444,_0x3b4bc9:0x1c8,_0x5e3154:0x3d2,_0x244b8a:0x2ae,_0x4239b3:0x12d},_0x1b200d={_0x6aa36e:0x221,_0x153fb6:0x1d0},_0x5a2102={_0x39d67f:0x89,_0x5df14a:0xf6,_0x54c109:0x583},_0x50aa62={_0x3603b3:0x296,_0x39bd74:0x1af,_0x5ebb70:0x13},{registry:_0x5680e7}=_0x226ccc;function _0x5257af(_0x495802,_0x4c3470,_0xf701f9,_0x16278e){return _0x5da4fe(_0x495802- -_0x50aa62._0x3603b3,_0x4c3470-_0x50aa62._0x39bd74,_0xf701f9,_0x16278e-_0x50aa62._0x5ebb70);}function _0x435229(_0x304e06,_0x21abaf,_0x55ba2f,_0x3c2508){return _0x2389b1(_0x304e06-_0x5a2102._0x39d67f,_0x21abaf-_0x5a2102._0x5df14a,_0x304e06,_0x21abaf- -_0x5a2102._0x54c109);}return defineTool({'name':_0x435229(0x21d,_0x355c1d._0x318d51,0x18e,_0x355c1d._0x26102b),'permissionClass':'always-confirm','description':_0x435229(0x140,0x1e3,0x85,0xaf),'inputSchema':{'type':_0x5257af(_0x355c1d._0x2e08c7,0xca,_0x355c1d._0x2afcca,_0x355c1d._0x3d3fc6),'properties':{'shellId':{'type':_0x5257af(-0x6,_0x355c1d._0x1ca454,0x14e,-_0x355c1d._0x528bdf)}},'required':[_0x5257af(_0x355c1d._0x591bdb,0x15a,0x1bc,_0x355c1d._0x4e4701)]},async *'execute'(_0x33866f){const _0x437760=await _0x5680e7[_0x104773(0x43e,0x3d3,0x4e0,0x50b)](_0x33866f[_0x8dee12(_0x2325ba._0xb2e02,-0x56,_0x2325ba._0x503267,0xfb)]);function _0x104773(_0x125f4f,_0x4bbcd5,_0x5c714a,_0xf23782){return _0x5257af(_0x125f4f-_0x1b200d._0x6aa36e,_0x4bbcd5-_0x1b200d._0x153fb6,_0x5c714a,_0xf23782-0x1ca);}const _0x4d0ba6={'shellId':_0x437760[_0x104773(0x32e,0x4ef,0x257,0x33e)],'outcome':_0x437760[_0x8dee12(_0x2325ba._0x3116dd,_0x2325ba._0x47a507,_0x2325ba._0x4d8b56,_0x2325ba._0x15e916)],'status':_0x437760[_0x8dee12(0x11,0x49,0x69,_0x2325ba._0x280a16)],'exitCode':_0x437760[_0x104773(_0x2325ba._0x16376c,_0x2325ba._0x27060c,0x5da,0x2dc)],'signal':_0x437760[_0x104773(_0x2325ba._0xa559fe,0x2ee,0x358,0x19b)],'error':_0x437760['error'],'gracefulRequested':_0x437760[_0x8dee12(_0x2325ba._0x34d71c,0x30d,_0x2325ba._0x42f719,_0x2325ba._0x3a6f51)],'forceRequested':_0x437760['forceRequested']};function _0x8dee12(_0x31ae4b,_0x53668a,_0x505caf,_0x32ec10){return _0x5257af(_0x32ec10- -0x12,_0x53668a-0x175,_0x53668a,_0x32ec10-0x16f);}if(_0x437760[_0x8dee12(_0x2325ba._0x355209,_0x2325ba._0x5a7f43,_0x2325ba._0x1f2ece,_0x2325ba._0x4d9db7)]==='failed')throw new ToolExecutionError('Failed\x20to\x20terminate\x20'+_0x33866f[_0x8dee12(_0x2325ba._0x3597ef,_0x2325ba._0x5e6479,-_0x2325ba._0x552875,_0x2325ba._0xb8a228)]+':\x20'+(_0x437760[_0x104773(0x395,_0x2325ba._0xf3d318,0x40a,_0x2325ba._0x1bc0e8)]??_0x104773(0x332,0x293,0x3ee,0x428)),_0x4d0ba6);const _0x2a2b1d=_0x437760[_0x104773(0x431,0x33e,0x435,_0x2325ba._0x20cb33)]===_0x104773(_0x2325ba._0x425018,0x4a8,0x344,0x3a5)?'Process\x20'+_0x33866f[_0x104773(0x32e,0x18a,0x4b7,0x30d)]+_0x104773(0x27d,0x2bd,_0x2325ba._0x3b4bc9,_0x2325ba._0x5e3154)+_0x437760['status']+'.':_0x104773(0x209,0x2aa,_0x2325ba._0x244b8a,_0x2325ba._0x4239b3)+_0x33866f['shellId']+'.';return createToolOutput(_0x2a2b1d,_0x4d0ba6);}});}import{readdir as _0x2fbb86,readFile as _0x488b1f,stat as _0x32efbc}from'fs/promises';import*as _0x1c80d1 from'path';import*as _0x213288 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x3543b8,_0x1c9810){const _0x20947f={_0x5c8d2d:0x210,_0x50165e:0x1be,_0x21ee3d:0x281,_0x5fe22b:0x2a8,_0x29a69b:0x178},_0x291797={_0x2aad6f:0x1d4,_0x2d8bbd:0xd4};if(_0x1c9810>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x26d8a2=await _0x488b1f(_0x3543b8)['catch'](()=>null);function _0xf63143(_0x514f53,_0x1ef211,_0x89ef62,_0xc0e2f8){return _0x2389b1(_0x514f53-0x2d,_0x1ef211-0x50,_0xc0e2f8,_0x1ef211- -0x6a4);}if(!_0x26d8a2||isProbablyBinary(_0x26d8a2))return void 0x0;function _0x2f3af5(_0x1db07c,_0x4f21ab,_0x13d2b3,_0x5c2301){return _0x5da4fe(_0x13d2b3- -_0x291797._0x2aad6f,_0x4f21ab-0x111,_0x1db07c,_0x5c2301-_0x291797._0x2d8bbd);}return _0x26d8a2[_0xf63143(-0x25a,-0x177,-0x17b,-0x214)]('utf8')[_0xf63143(-_0x20947f._0x5c8d2d,-_0x20947f._0x50165e,-_0x20947f._0x21ee3d,-0x296)](/\r?\n/)[_0xf63143(_0x20947f._0x5fe22b,_0x20947f._0x29a69b,0x245,0x27)];}function createLsTool(_0x1bb1e0={}){const _0x2cc83d={_0x4d2d8c:0x27d,_0x1fdee0:0x235,_0xcded30:0x465,_0x2d6196:0x684,_0x3dc74a:0x7fa,_0x4c9f13:0x1ad,_0x2469dd:0x115,_0xa78ac7:0x183,_0x4e5a8c:0x1a9,_0x51c9c1:0x363,_0x1b8c19:0x4fc,_0xa03d39:0x106,_0x285101:0x184,_0x4ec4fb:0x1cd,_0x4fae5b:0x1dc},_0x2a15e4={_0x3c903c:0xf0,_0x41bcee:0xd4,_0x3f678d:0xae,_0x7abeab:0xba,_0x56531b:0x115,_0x254dcd:0x1ad,_0x56ce7c:0x140,_0x33e02c:0xad,_0x148352:0x18a,_0xff5b43:0x24,_0x1a277c:0x9b,_0x551e55:0x460,_0x2f2d4c:0x42b,_0xbe2ddf:0x643,_0x39c124:0x4b1,_0x5d5af0:0x35d,_0x1a4d4b:0x518,_0x4a3bf1:0x149,_0x30eb09:0x14f,_0x478c28:0x200,_0x535aa0:0x2b9,_0x2a850d:0x23a,_0x2df7d4:0xe9,_0x555d94:0x193,_0x5f2af2:0xb0,_0x236c6a:0x5c4,_0x187869:0x30c,_0x106331:0xc,_0x4f9018:0x412,_0x3c546c:0x5c9,_0x2521a5:0xf3,_0x48f27a:0xf7,_0x1a9731:0x279,_0x3572aa:0x25d,_0x305049:0xdc,_0x4afc76:0x250,_0x387ec7:0x299,_0x546033:0x2cb,_0x42a754:0x21b},_0x5098ac={_0x3ec705:0x151,_0x4eca77:0x74},_0x217120={_0xed2f22:0x119},_0x4647c1={_0x5632b8:0x15d,_0x30926c:0x17e},_0x370a2e={_0x2c1231:0x11b},_0x1535ac=_0x1c80d1[_0x33d059(0x38e,_0x2cc83d._0x4d2d8c,0x4db,_0x2cc83d._0x1fdee0)](_0x1bb1e0[_0x33d059(0x5d3,_0x2cc83d._0xcded30,0x5db,0x518)]??process[_0x33d059(_0x2cc83d._0x2d6196,0x617,_0x2cc83d._0x3dc74a,0x4c7)]());function _0x52ead5(_0x34f00c,_0xd83ec3,_0x5ce8ad,_0x22825f){return _0x2389b1(_0x34f00c-_0x370a2e._0x2c1231,_0xd83ec3-0x14a,_0x22825f,_0x5ce8ad- -0x57f);}function _0x33d059(_0x25a68e,_0x338f85,_0x22e5a1,_0x1c7c96){return _0x2389b1(_0x25a68e-0x18,_0x338f85-_0x4647c1._0x5632b8,_0x1c7c96,_0x25a68e- -_0x4647c1._0x30926c);}const _0x3868be=_0x1bb1e0[_0x52ead5(0x1b1,_0x2cc83d._0x4c9f13,_0x2cc83d._0x2469dd,-0xac)]??[],_0x21f4ee=_0x1bb1e0['name']??'Ls';return defineTool({'name':_0x21f4ee,'permissionClass':_0x52ead5(0x1d3,_0x2cc83d._0xa78ac7,0xea,_0x2cc83d._0x4e5a8c),'description':_0x33d059(_0x2cc83d._0x51c9c1,0x44f,_0x2cc83d._0x1b8c19,0x1f9),'inputSchema':{'type':_0x52ead5(0x12c,_0x2cc83d._0xa03d39,0x2a4,0x22a),'properties':{'path':{'type':'string'},'limit':{'type':_0x52ead5(_0x2cc83d._0x285101,_0x2cc83d._0x4ec4fb,_0x2cc83d._0x4fae5b,0x2b7)}}},async *'execute'(_0xed46a6){const _0xf1465f=_0xed46a6[_0x86c147(0x1f6,_0x2a15e4._0x3c903c,_0x2a15e4._0x41bcee,0x291)]??'.',_0x2aa9f1=resolveAllowedPath(_0x1535ac,_0x3868be,_0xf1465f);function _0x86c147(_0x13da3a,_0x59ac89,_0x51dee9,_0x418956){return _0x33d059(_0x59ac89- -0x441,_0x59ac89-_0x217120._0xed2f22,_0x51dee9-0x8,_0x418956);}const _0x4452bc=await _0x32efbc(_0x2aa9f1)[_0x86c147(_0x2a15e4._0x3f678d,_0x2a15e4._0x7abeab,_0x2a15e4._0x56531b,-0xa5)](()=>null);if(!_0x4452bc?.[_0x86c147(-_0x2a15e4._0x254dcd,-0x65,-0x1d6,-0xc4)]())throw new ToolExecutionError(_0x86c147(-0x69,0x2a,_0x2a15e4._0x56ce7c,0xca)+_0xf1465f,{'path':_0xf1465f});const _0x2a529b=_0xed46a6[_0x558469(0x489,0x3a1,0x535,0x6f3)]??0x3e8,_0x2c2659=Math[_0x86c147(-0x109,-_0x2a15e4._0x33e02c,-_0x2a15e4._0x148352,-_0x2a15e4._0xff5b43)](Math[_0x86c147(0x2a,0x8c,-0x39,0x31)](Math['trunc'](_0x2a529b),0x1),0x2710),_0x4aff93=await _0x2fbb86(_0x2aa9f1),_0x2b93d0=[];for(const _0x21a00d of _0x4aff93[_0x86c147(_0x2a15e4._0x1a277c,0x86,0xc5,0xab)](0x0,_0x2c2659)){const _0x449891=_0x1c80d1['join'](_0x2aa9f1,_0x21a00d),_0x31163b=await _0x32efbc(_0x449891)[_0x558469(0x38a,_0x2a15e4._0x551e55,0x466,0x407)](()=>null);if(!_0x31163b)continue;let _0x5dc85b='other';if(_0x31163b[_0x558469(_0x2a15e4._0x2f2d4c,_0x2a15e4._0xbe2ddf,_0x2a15e4._0x39c124,_0x2a15e4._0x5d5af0)]())_0x5dc85b=_0x558469(_0x2a15e4._0x1a4d4b,0x504,0x446,0x38c);else{if(_0x31163b[_0x86c147(_0x2a15e4._0x4a3bf1,-0x65,-0x14b,-0x11d)]())_0x5dc85b=_0x86c147(0x175,_0x2a15e4._0x30eb09,0x22e,_0x2a15e4._0x478c28);else{if(_0x31163b['isSymbolicLink']())_0x5dc85b='symlink';}}const _0x56f2fb={'name':_0x21a00d,'type':_0x5dc85b,'size':_0x31163b[_0x558469(0x301,0x3dc,_0x2a15e4._0x535aa0,_0x2a15e4._0x2a850d)],'mtime':_0x31163b[_0x86c147(0xf9,0x68,-_0x2a15e4._0x2df7d4,-0x38)],'mode':_0x31163b[_0x86c147(-0xf1,-0x2b,_0x2a15e4._0x555d94,-_0x2a15e4._0x5f2af2)]},_0x569ab0=_0x5dc85b===_0x558469(_0x2a15e4._0x236c6a,0x319,0x446,_0x2a15e4._0x187869)?await countTextLines(_0x449891,_0x31163b[_0x86c147(-0x32,-0xf3,-0x1ad,-_0x2a15e4._0x106331)]):void 0x0;if(_0x569ab0!==void 0x0)_0x56f2fb['lines']=_0x569ab0;_0x2b93d0[_0x558469(_0x2a15e4._0x4f9018,_0x2a15e4._0x3c546c,0x433,0x46f)](_0x56f2fb);}_0x2b93d0[_0x86c147(_0x2a15e4._0x2521a5,0x1d7,0x146,_0x2a15e4._0x48f27a)]((_0x2cf7d5,_0x64b08)=>_0x2cf7d5[_0x558469(0x559,0x48a,0x57f,0x70e)][_0x558469(0x4de,0x504,0x546,0x66e)](_0x64b08[_0x86c147(0x163,0x1d3,0x1ce,0x33b)]));const _0x54d8f1={'path':_0xf1465f,'total':_0x2b93d0[_0x86c147(_0x2a15e4._0x1a9731,_0x2a15e4._0x3572aa,0xb1,_0x2a15e4._0x305049)],'truncated':_0x4aff93['length']>_0x2c2659,'entries':_0x2b93d0};function _0x558469(_0x1b0950,_0x381fc7,_0x31981a,_0x4e8bbd){return _0x52ead5(_0x1b0950-_0x5098ac._0x3ec705,_0x381fc7-_0x5098ac._0x4eca77,_0x31981a-0x36c,_0x4e8bbd);}return yield createToolOutput(_0x213288['stringify'](_0x54d8f1,{'indent':0x2,'lineWidth':0x0})[_0x86c147(_0x2a15e4._0x4afc76,0x1d6,_0x2a15e4._0x387ec7,0x1b)](),{'path':_0xf1465f,'total':_0x2b93d0['length'],'truncated':_0x4aff93[_0x86c147(_0x2a15e4._0x546033,_0x2a15e4._0x3572aa,0x122,_0x2a15e4._0x42a754)]>_0x2c2659,'limit':_0x2c2659,'entries':_0x2b93d0}),void 0x0;}});}import{stat as _0x15de2e}from'fs/promises';import _0x4c5123 from'path';function _0x3758(){const _0x5372d0=['vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','BgLUzq','ywXSB3DLzfrVB2XZ','zgvSAxzLCMvK','yxbWzw5K','Dgv4DerVy3vTzw50l2rPzenSB3nL','B2zMC2v0','ANnVBMm','ChjPB3jPDhK','mtaWlJy0lJaUma','Dg9Rzw4','BgLTAxq','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','BwfYA2rVD24','thnW','zw5NAw5L','B3v0Chv0uMvNzxG','lNDLyNa','lNbUzW','Bg9JyxrPB24','zgvMyxvSDen3za','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','yMfZzty0','C25PChbLDa','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','CMvMCMvZAf90B2TLBG','revfufnfruTFqvbjx0Tfwq','C3rKzxjY','Bg9JywXLq29TCgfYzq','B3jPz2LUvg9VBenHBgXjza','BNvTyMvY','D29YA3nWywnLu3LTyM9S','AhLKCMf0zu1LDge','AgfUzgXL','zxjYB3i','BwfUDwfS','ugf0AcbUB3qGzM91BMq6ia','ugfJA2fNzxm','y29UDgvUDhm','BwnFy2LK','B3bLBMfPlxjLC3bVBNnLCW','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','CMvTB3zLrxzLBNrmAxn0zw5LCG','CMvZB2X2zvrLCM1PBMfS','DgvZDa','y29Uy2f0','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','t1bftLjpvvrfuL9bueLFs0vz','v2vIrMv0y2G','Bw9VBNnOB3q','AxnjBNrLz2vY','C3vWzxjszwzPBMu','yMCT','zMv0y2HjBxbS','r09pr0Xfx0ntrv9dwa','cGOTls0kcG','ugf0AcbPCYbUB3qGysbMAwXLoIa','zxHPDgvK','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','C3jJl2fNzw50l2fNzw50lNrZ','y2fUrgLZywjSzq','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','tunqihrVB2WG','z3jHy2vMDwW','C2vYDMvYswq','BwnWlwf1DgGTCMvXDwLYzwq','B3bLBKzPBgvZ','Ec1HCgKTA2v5','DgvYBwLUyxrPB25tzxr0BgvK','C2vUzfjLCxvLC3q','y29TCgXLDgvK','C2L0ztO','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','mtK4lJe4lJaUma','lcbpChrPB24G','ChjVDg9JB2W','D2LUmZi','qMfZAe91Dhb1Da','zwzMB3j0','y2XPzw50x3nLy3jLDf9WB3n0','zxHPDcbJB2rLia','z2v0t3DUuhjVCgvYDhLoyw1LCW','s2LSBfnOzwXS','BhnW','mZqZoda2nLD2r2L3ta','BMfTzq','C3jJl2v4yw1WBgvZl2rLBw8UDhm','ChvIBgLZAgvKqxq','DhjPBuvUza','C29YDa','zg9JDw1LBNrtEw1IB2W','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','v2fYBMLUzW','B25LCNjVCG','ihrPBwvKig91DcbHzNrLCIa','C3rKAw8','DhjHAwXPBMDdAhvUA3m','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','AgfZq2XPzw50CW','yxnR','C2HPzNq','qxv0Ag9YAxPHDgLVBG','AMf2yxnJCMLWDa','AgfZt3DU','Dg90ywW','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','Aw1Hz2vZ','phn5C3rLBs1Yzw1PBMrLCJ4','yNL0zxm','sw52ywXPzcbVDxrWDxrszwDLEdOG','DxrTx2nVBNrLBNq','DgHLBG','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','u0Lhs0Lmta','BgLZDa','y29UzMLYBwvK','revfueLorLjbx0fqsv9lrvK','CgfJA2fNzs5QC29U','B2XSyw1H','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','Ahr0CdO','lMPWzW','ywjVCNrLza','l2jPBI9YzW','y2HHDgDWDa','zgvUBY5QC29UyW','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','B3b0Aw9UywW','y2fJAgvK','CMvJB3jK','EwfYBI5SB2nR','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','z2v0u3rHDhm','C3vKBW','CgfJA2fNzxm','Dg9VBfjLC3vSDhm','CMvMzxjLBMnLCW','CMvXDwvZDa','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','CMvSzwfZzq','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','C2v2zxjPDhK','yNL0zuXLBMD0Aa','y29UDgvUDc10ExbL','C2vZC2LVBG','ywjVCNq','Aw52ywXPzf90B2rVx2LK','DgLTzw91De1Z','zgfZAa','CxvLC3rPB25Z','ls0T','Dg9vChbLCKnHC2u','Bwf4uMvKAxjLy3rZ','B3nJ','BgLZDgvU','BM90lwzVDw5K','y2XPzw50','qMfJA2DYB3vUzcbWCM9JzxnZihjLC2vYDMf0Aw9UigLZig1PC3nPBMCGB3iGywXYzwfKEsbJB25ZDw1Lza','yxbPs2v5','Aw5ZDhj1y3rPB25Z','z3jHy2vMDwXszxf1zxn0zwq','cMbGya','ls1QC29U','yxr0ywnO','DMvYAwz5rxHLy3v0Aw9U','v0vcua','l2jPBI9IyxnO','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','lu5VuhjVzMLSzq','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','zw5NAw5LCW','ChjVDg90ExbL','Aw5JBhvKzq','BxrPBwu','wefjx0fqsv9lrvK','DhvYBMrVD24','Aw1WBgvTzw50yxrPB24','AxndB250zxH0','zMLSDgvY','mti3lJaUmc4W','tNv2Aw4','ChjLChjVy2vZCW','AwzYyw1L','zgLYBMfTzq','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','Dg9VBc1VDxrWDxqTB2zMBg9Hza','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','B3v0y29Tzq','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','Bg9HzfnRAwXS','w1jfrefdvevexq','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','vMLLD0zPBgu','Aw5WDxq','y3DK','yxnPzgu','mtmWwMTPy05T','C2vHCMnOugfYyw1Z','C3r5Bgu','CMvJzw5JEurHExm','A2LSBa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','Ahr0Ca','BwvTB3j5','Dg91y2HgAwXL','ywXYzwfKEs10zxjTAw5HBa','AxntywzLsw50zwDLCG','yw5ZD2vYCW','rxjYB3i','uMvXDwvZDfrPBwvVDxq','D2fPDezVCLrLCM1PBMfS','D2fYBG','DhjHBNnMB3jT','rMLSzu5LDW','o1TExg5DkJ8','u0HfteXpufrt','Aw50zwDLCG','zxHPDenVzgu','D2LUzg93CW','BgvUz3rO','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','u0HfteW','y29ZDa','zMLSzxm','lNrZEa','r0LgodDH','B2jQzwn0','DhLWzxnJCMLWDa','yNjVA2vU','vxbKyxrLvg9WAwm','zgLZy292zxj5u3rHDgu','DxrTx2nHBxbHAwDU','ywrK','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','AxnfCNjVCG','CM9VDa','Ag92zxi','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','zg5Zl3bYB21PC2vZ','Aw52ywXPzf90B2rVx2nVBNrLBNq','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vHCMnOvhLWzq','zMLSztOVlW','Aw5JBhvKzxm','yMfZAa','yw5ZAte2','DgfZA2TPBgW','BgLI','CNvUBMLUzW','Bwf4q29Uy3vYCMvUDa','CMvSyxrPDMu','lMjPBG','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','w291Dhb1Dcb0CNvUy2f0zwq6ia','ls1OAwrKzw4','B3bLBG','Dgv4DerVy3vTzw50l2rPze9Wzw4','wZ0+nY04kcLD','zMvUy2vK','Dg9KB3ncEvnLC3nPB24','Cg9ZAxG','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','BwnWlxnKAY1JBgLLBNqTzxjYB3i','y2XVC2vbBgW','igj5DgvZicHVCMLNAw5HBdOG','zgv0ywLS','AM9PBG','qvbjx0Tfwq','BgfIzwW','CMCUzxHL','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','DxrMoa','C2L6zq','zgnZ','yNvMzMvY','vg9Vig1HBNKGCMvKAxjLy3rZ','yxjNCW','CgfZC3DVCMq','CgvUzgLUzW','DgvYBwLUywXqCM9TAxnL','zNjVBq','y29KzvzLCMLMAwvY','zgLHz25VC3rPy3ngB3jgAwXL','Aw50','DxrTx21LzgL1Bq','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C3rKB3v0','BwvKAxvT','CMvZDwX0CW','CMvNzxG','DxrTx3rLCM0','ywXSB3C','B3b0Aw9UCW','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','B3jPz2LUywW','zw50CMLLCW','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','zgvSzwDHDgvKlxj1BI0','C3bSAxq','ls1NBg9I','y2HHCMfJDgvY','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','Aw5JB21PBMDdywXSCW','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','igzYB20G','uxvLC3rPB24G','zMLUywXnzxnZywDLvgv4Da','B3bLBMfPlxjLC3bVBNnLCY13CW','vg9KBYa','yxjNDw1LBNrZvgv4Da','u2HLBgWGBM90igzVDw5KoIa','CgfYC2u','CMvZDwX0','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','BgLMzwn5y2XL','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Dhj1zwnVBg9Y','DxjP','zMLSzvzLCNnPB25Z','DhLWzxnJCMLWDhjLywn0','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','AMf2yxnJCMLWDhjLywn0','BM9Kzv9TB2r1BgvZ','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','BgfUz3vHz2u','C2v0vg9KB3m','lunVBw1HBMq','B3bLBMnVzguTz28','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','C2vHCMnOrgvWDgG','ru5pru5u','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','q29Tu3bLyW','CMvZB2X2zq','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','iIbPCYbYzxnLCNzLza','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','zgLHz25VC3rPy3m','ntq0mZe4nePHA2jyAq','BwLU','BM93','oIbPzcbYzxf1AxjLza','B2f1DgG','Cg5WBs1SB2nRlNLHBwW','vw50AxrSzwq','z2XVyG','BwnWlwnSB3nLlwzHAwXLza','lMPZB25J','Bg93','yxbWzw5KrgvJB2rLza','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','CMvHze9UBhLiAw50','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','ywjZ','nJeYodG3mKPMD0rXrG','Cg9ZAxrPDMu','C2nYDwjfBNzlzxLZ','zgvSzxrL','Aw5PDgLHBgL6yxrPB24','y2HHCKnVzgvbDa','lMPZ','zgvMAw5PDgLVBG','y2XPzw50twv0ywrHDgfvCMW','CMv0AxjL','lMPZB24','AxngAw5PDgu','Dg9tDhjPBMC','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','C2v0DgXLvgvYBwLUywW','yMfZzw5HBwu','lMn0CW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','zw52','ChjLzML4','yxjYyxK','Aw50zxjUywXmAwzLy3LJBgu','zgvZy3jPChrVCNm','Aw52ywXPzf90B2rVx2L0zw0','CMvWBgfJzq','Cgf0DgvYBG','tg9HzfnRAwXS','y29Kzq','AgLNAa','CgXHDgzVCM0','ls1YzwDLEha','qwDLBNqGCNvUia','B2zM','y2XLyw51Ca','z2nSAwq','Aw1Hz2uVCg5N','lM1QCW','y2fSBeLK','C3rKB3v0tM9YBwfSAxPLCG','CM9VDfbPza','BwLUAw1HEa','zxH0BMfTzq','igj5DgvZks4','AxnbyNnVBhv0zq','C2vUze5VDgLMAwnHDgLVBG','igzHAwXLzcb0BYbJBg9Zzq','y291BNrLCG','Agv4','ywz0zxi','y29KzvbVAw50qxq','ChjVCgvYDgLLCW','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','ywrKrxzLBNrmAxn0zw5LCG','z29uB0rLzMLUAxrPB24','l1bjra','lNrZ','y29TBwfUzhm','AxneAxjLy3rVCNK','Bwv0yq','tM8GC3vJAcbMAwXLoIaN','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','Aw52ywXPzf9XDwvZDgLVBNm','CgfYzw50u2vZC2LVBKLK','zM9Yy2vszxf1zxn0zwq','y2vPBa','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','ywXSu2v0DgXLza','oIbPBNzHBgLKihbYAw9YAxr5','AwDUB3jL','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','sw5MB3jTyxrPB24','CgfZC3rOCM91z2G','BwnFzwLK','y2fWq2HHCNm','yxr0CG','C2H1DgrVD25tDgfYDgvK','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','ANnJB25MAwCUANnVBG','ChjVy2vZCW','Dgf2AwX5qxbPs2v5','Aw5FChjVz3jLC3m','CMfUAW','yMLVBwu','qMfZAa','C2LNBMfSqwrHChrLCG','yw50AhjVCgLJlw1LC3nHz2vZ','y2XLyxi','lMDPzG','CMLWz3jLCa','CNvUsw5cywnRz3jVDw5K','CM91BMq','CgLWzq','tuLnrtOG','z3jVAW','zgvZy3jPChrPB24','DgvYBwLUyxrL','y29TBwfUza','C3rYAwn0','DhnZzxj2zxiUANm','uMvHC29UAw5Nig9WDgLVBIaI','qxnRvxnLCLrVB2W','yMLVBwuUANnVBMm','y3vZDg9T','ignVBxbSzxrLzc4','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','DxbKyxrL','zw51Bq','uhjVz3jHBuzPBgvZkhG4nIK','ignVBM5Ly3rPB24GDgLTzwqGB3v0','B3bLBMfP','y2XPzw50CW','C2nYAxb0','BgLUzvn0yxj0','Dg9VBhm','zgvMyxvSDfrPBwvVDxrnCW','Bw9Kzq','zMLYC3q','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','lu5Vtg9NBW','BNv2Aw4','B25szwrPCMvJDa','Aw1Hz2u','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','C3rHDhvZvgv4Da','mJqWlJaUmc4W','yxjNDw1LBNroyw1LCW','lNrTCc4','o1TE','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','lMPWzwC','C3bHD25PBMC','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Aw5WDxrty2HLBwe','yM9VBgvHBG','t1bftKfjx0fqsv9lrvK','lMPZEa','yxv0Aa','Dg9VBenHBgXjza','y2XVC2u','B25Jzq','BMv3vgv4Da','r0XpqKLhtK9srq','C3rKzxjYrgvJB2rLCG','t1bftKnprevFqvbjx0Tfwq','CMfJzq','sw52ywXPzcbvuKWGCgfYyw1LDgvY','ig1HDgnO','ls1ZDgrPBW','ChjVy2vZC0DYB3vWswq','C3rHCNrLzef0','CgfYC2vjBNq','qKftsf9ftLy','uKLgrG','BwnWlxrYyw5ZCg9YDc1LCNjVCG','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','zgf0yq','BxmU','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','iYmGu2TPBgW6ia','Dg9VBenHBgW','zxHPDa','zMLUza','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','ls1NBg9Ipq','B2C6DxbKyxrLzf90Aw1L','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','C3rHCNrZv2L0Aa','sfruuca','DxrTx3nVDxjJzq','D29YA3nWywnL','AhjLzG','Dhj1BMnHDgvK','CxvLC3rPB24T','z2v0uhjVDg90ExbLt2y','Ahr0Chm6','DMfSDwvZ','s2LSBgvKia','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','C2LNBMfS','y2fWywjPBgL0AwvZ','zxzPy3rjzK5LzwrLza','mtCYlJe2lJaUma','rMv0y2GGDgLTzwqGB3v0','DhjPBq','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','A2LTAq','Dg9Rzw5tDg9YywDLs2v5','DhnJB25MAwCUANnVBG','y29UDgv4Da','zNjLzxPL','ywDLBNrZ','Aw5KzxHpzG','l3vZCI9IAw4VCMC','C3rYAw5N','ywrHChrPDMu','nte0ndy3BvfqwhzH','BM9Zy3jPChq','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','y2fSBgjHy2TvCMW','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','BwfW','DgL0Bgu','CxvLCNK','zgvLCgLUzNjH','Dg9VBhmVy2fSBa','D3jPDgu','C3rYAw5NAwz5','zMX1C2HtDhjLyw1Z','C2HLBgXqyxrO','ywXS','CMvZzxj2zq','C3rYzwfTC0zSDxnOzwq','BwnWlwnVBM5Ly3qTzMfPBgvK','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','C2vYDMvYtMfTzq','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','Bwf0y2G','C2v0','BhnWu2vYDMLJzq','DgvYBwLUyxrPBMC','BgLUzuvUza','l3bPza','Bwf0y2HLCW','AgvHzgvYCW','C3rKzxjYtM9YBwfSAxPLCG','q29TBwfUzcaN','zMjJBgLK','tM8GAg92zxiGAw5MB3jTyxrPB24','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','yw50AhjVCgLJ','BwLUAw1HBa','q291BgqGBM90ihjLC29SDMuGAg9ZDa','wKfjx0fqsv9lrvK','u2L6ztOG','oIbPBNzHBgLKihn0yxr1CW','CMvQzwn0','zMLSzvbHDgG','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','Dg90ywXeCM9WCgvK','DgfZAW','CMvHC29U','Aw52ywXPzf90B2rVCW','z2L0AhvI','ue9tva','y3jLyxrLzef0','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','C3rHCNq','rvnsq0G','Dg9Rzw5Z','CxvLC3rPB24','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','ihrVB2WGzgLZy292zxj5igzHAwXLza','CgfJA2fNzs1SB2nRlMPZB24','CMfUz2u','Cgf0Ag5HBwu','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','m0rRELjTuq','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','Dgv4Da','BxrPBwvnCW','CMvZzxj2yxrPB25Z','D2fPDezVCKrPywDUB3n0AwnZ','Dg9WAwm','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','Ag9ZDa','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Dgf2AwX5','tu9ptLnit1rFqvbjx0Tfwq','BgLUzu51BwjLCNm','ls1MB2XSB3C','z2v0','C29Tzq','B2XKvgv4Da','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','tunqihnLCNzLCIa','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','zMXVB3i','zxjYB3jZ','ie9sia','C2vUza','ywn0AxzL','EwvZ','zM9Yy2u','ywX3yxLZlwnVBMzPCM0','CgfJA2fNzu5HBwu','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Bwf4rw50CMLLCW','C2XPy2u','ChvZAa','ihDHCYbHBhjLywr5ia','D2vI','ignSB3nLihrPBwvKig91Da','lI4U','Bwf4','ig1Z','Cg9W','DhLWzq','qMvHCMvYia','vw5RBM93BIb0B29SoIa','BgfZDeLUzgv4t2y','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','u3rHCNrLzcbHz2vUDcbYDw4G','y3jSzG','D29YA3nWywnLl3n5BwjVBa','zMXHDe1HCa','Bw9KzwW','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','zMLSzq','sw52ywXPzcbYzwDLEdOG','BwvZC2fNzq','zgf0zxrPBwu','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','yxnZAwDU','zhj5uNvU','y2fSBfrVB2W','yxv0BW','n3btBMr2Ca','DgvYBwLUyxrPB25qCM9TAxnL','yNvUlMXVy2TI','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','AwDUB3jLt3v0Chv0','mtqXnJC3og5QCevmtq','zgvMyxvSDe9WDgLVBG','CMvHza','tM8GBg9JyxrPB25ZigzVDw5K','BM90Awz5','yMLYDgH0Aw1L','Aw1Hz2uVANbLzW','C3rHCNreAxi','DxjS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','zMfPBgvK','C291CMnL','Dhj1BMm','zxzLCNK','C2vSzwn0Aw9UuMfUz2u','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','y2XPzw50sw5MB3jTyxrPB24','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','y2f0y2G','vMLLD2vKigLTywDLigzPBgu6ia','CMvNAxn0zxjby3rPDMvsDw4','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','r2XVyG','Dg9mB3DLCKnHC2u','C3vIyxjYyxK','BgLUzu51Bq','zgLZCg9Zzq','Dg9VBa','yxbWBgLJyxrPB24VANnVBG','C2HHmJu2','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','BgLUzvrLEhq','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','zMLUzfjLzMvYzw5Jzxm','mZe4ntC2mgnIBwL4EG','uMvHC29UAw5NigrLzMf1BhqGiG','zgLNzxn0','C3rKB3v0rgvJB2rLCG','Dw5PB24','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','u0Lhvevstq','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','Aw1Hz2uVD2vICa','Dw5RBM93BG','ywXSB3DLzerPCNm','C2vZC2LVBKLK','ygbGANnVBGO','BgL0zxjHBa','Dg9ju09tDhjPBMC','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','mtKYlJe2oc4WlJa','B25JBg9Zzq','sgLUDa','DgvYBwLUywXtzxr0BgvK','CMvHzen1CNnVCG','Dhj1zq','ANnVBG','r0Lusfvcx0fdq0vtu19ut0TftG','y3nP','Dgv4Dc9ODg1S','oIbJB250zw50ihjLCxvPCMvK','zxf1ywXZ','B3v0Chv0','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','ywDLBNrjza','AxrLBxm','mtKYlJaUmc4W','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','A2LSBgvK','BgfUzW','tM8GCMvZDwX0CYbMB3vUzc4','Cgf0Aa','CgLK','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zgfYAW','Bwf0y2HdB3vUDa','AxnbCNjHEq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','A2LUza','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','AxnfBMfIBgvK','ygbG','y29UDgvUDa','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','lM10CW','lMnQCW','zxnJyxbL','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','A2LSBfjLCxvLC3rLza','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','AxngAwXL','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','B3bLCMf0Aw9U','Dg90ywXqCM9KDwnLza','C2fMzq','yw5ZAti1nG','yMvHCMvY','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ignOyxjHy3rLCNm','CgXHAw4','Dg9VBfbLCM1PC3nPB25Z','zNjVBuvUDhjPzxm','C3rHDgu','ls1WCMvMAxG','yMLUyxj5tMfTzq','tM8GzgLHz25VC3rPy3m','CMvNAxn0zxjby3rPDMvbz2vUDa','Aw5PDgLHBgL6zwq','BgLUzxm','zg9TywLUCW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','y2HPBgq','C3rYAxbbBNnP','tuLosu1bwf9bueLFs0vz','CMvNAw9U','CMvMAw5L','yxnJAwK','A2v5CW','C2vYDMvY','y291BNq','l29WDc9OB21LyNjLDY9IAw4VCMC','Aw52ywXPzf90B2rVx3n0yxr1CW','zw5HyMXLza','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','DhvWBgu','igj5DgvZicH0B3rHBdOG','zxjYB3jnzxnZywDL','Dg9KB3m','vg9WAwmGC2v0ihrVici','tg9HzgvKigzYB206ia','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','BwnWxW','yxnRvxnLCG','CMvUzgvYu3LZDgvTuhjVBxb0','zNvSzMLSBgvK','l3vZCI9IAw4VyMfZAa','ihrVB2WGy2fSBcbMywLSzwq','B25oB3rPzMLJyxrPB24','v2vIu2vHCMnO','yxr4','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','C2HLBgXjza','zw5K','zMLUAxrL','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','igzHAwXLzc4','odG2nZC5nuDZDLfwEa','yNvKz2v0vg9Rzw5Z','AgfZ','yNvUlMXVy2S','qxnZAwDUvgfZAW','te9dquXbufbeqvrb','zMLUywXnzxnZywDL','Bg9VA3vW','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','yNvMzMvYq2HHCNm','l3vZCI9IAw4VC2G','DgLTzvTKyxrLDgLTzv0','zNvUy3rPB24','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','BgLZDfrVB2XZ','z29Vz2XLq3nLs2v5','zgLYzwn0B3j5','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','ChjLCgfYzunHBgXiAwvYyxjJAhK','CMvZzxq','CgXHAw50zxH0','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','s0Lnsv9bueLFs0vz','mc4WlJa','CgvYBwLZC2LVBKnSyxnZ','y29UzMLN','Bwv0yxrHz3m','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','C3bHD24','DhjHBNnMB3jTCW','BgfUz18','C2vTyxbOB3jL','ksbB','C3rHDhvZ','y29UBMvJDa','zM9VDgvY','C2H1DgrVD24','yM94zwq','Aw1Hz2uVz2LM','CNvUswq','BwnWlxjLCxvLC3qTDgLTzw91Da','CgfNzw1HCa','DhjHBNnWB3j0','Ag9TzwrPCG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','z29uB0LTCgXLBwvUDgf0Aw9U','CMvXDwLYzwq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','r09pr0Xfx0ntrv9lrvK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','twLJCM9ZB2z0','BxvSDgLtzwXLy3q','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','DMfSDwu','ywrKsxnZDwu','lMXVzW','qxzHAwXHyMXLignVBw1HBMrZoG','B3v0z29PBMDdywXSCW','C3rVCMfNzurPCG','C2TPBgXZ','yMLVBwuUANnVBG','BNvT'];_0x3758=function(){return _0x5372d0;};return _0x3758();}import{fileURLToPath as _0x2c8ed8}from'url';function awaitWithAbort(_0x19de34,_0x18ae84){const _0x23b30c={_0x2a76b3:0x17b,_0x1aee56:0x75,_0x5164dd:0x2f6,_0x4b8d15:0x237},_0x17cfb2={_0x206dda:0x3e0,_0x43f3cc:0x6a4,_0xef6ef7:0x384,_0x53e6bb:0x669,_0x5168e6:0x7bf},_0x5970c6={_0x1c743a:0x507,_0x5717ba:0x10d,_0x2b9848:0x14c},_0x51777c={_0xd82425:0x229},_0x2b330b={_0x121229:0x494},_0x177106={_0x1a60de:0x47};function _0xc92720(_0x216331,_0xa1084a,_0x3d890c,_0x5a7a91){return _0x5da4fe(_0x216331-0x10a,_0xa1084a-_0x177106._0x1a60de,_0x5a7a91,_0x5a7a91-0xda);}if(!_0x18ae84)return _0x19de34;function _0x4c0ec2(_0x27bbc3,_0x5e0787,_0x1d28c7,_0x35ea04){return _0x2389b1(_0x27bbc3-0x16b,_0x5e0787-0x18d,_0x1d28c7,_0x27bbc3- -_0x2b330b._0x121229);}if(_0x18ae84['aborted'])return Promise[_0x4c0ec2(_0x23b30c._0x2a76b3,0x14b,_0x23b30c._0x1aee56,_0x23b30c._0x5164dd)](toAbortError(_0x18ae84[_0x4c0ec2(0x180,-0x30,_0x23b30c._0x4b8d15,0x170)]));return new Promise((_0x49946d,_0x5c16a3)=>{const _0x53531e=()=>{_0x33ba3d(),_0x5c16a3(toAbortError(_0x18ae84['reason']));};function _0x58af86(_0x53c17a,_0x33a177,_0x1bd433,_0x4d35d6){return _0xc92720(_0x1bd433-_0x51777c._0xd82425,_0x33a177-0xcf,_0x1bd433-0x192,_0x53c17a);}const _0x33ba3d=()=>_0x18ae84[_0x2b405e(-0xbd,0xf1,0x15,-0x152)](_0x58af86(0x69d,0x93a,0x7ae,0x856),_0x53531e);_0x18ae84[_0x58af86(_0x17cfb2._0x206dda,_0x17cfb2._0x43f3cc,0x533,_0x17cfb2._0xef6ef7)](_0x58af86(0x83e,0x950,0x7ae,_0x17cfb2._0x53e6bb),_0x53531e,{'once':!![]});function _0x2b405e(_0x55b891,_0x1b1ad4,_0x44c68f,_0x37f300){return _0xc92720(_0x44c68f- -_0x5970c6._0x1c743a,_0x1b1ad4-_0x5970c6._0x5717ba,_0x44c68f-_0x5970c6._0x2b9848,_0x37f300);}_0x19de34[_0x58af86(0x821,_0x17cfb2._0x5168e6,0x78a,0x775)](_0x215d03=>{_0x33ba3d(),_0x49946d(_0x215d03);},_0x5d092f=>{_0x33ba3d(),_0x5c16a3(_0x5d092f);});});}function severityName(_0xce99f5){const _0x32f9bb={_0x527857:0x4f0,_0x51ba1e:0x7be,_0x2b8a9d:0x333,_0x46e844:0x214,_0x45092f:0x2b,_0x33100c:0x1af},_0x1d6db6={_0x4c6c1a:0x1c3},_0x99c95f={_0x1423e9:0x153};function _0x3a7276(_0x22ab0b,_0x39d840,_0x391cf5,_0x309675){return _0x2389b1(_0x22ab0b-_0x99c95f._0x1423e9,_0x39d840-0x1e5,_0x309675,_0x391cf5- -0x17b);}function _0x5b5229(_0x3e894a,_0x287351,_0x5eb9e1,_0xd83fcb){return _0x2389b1(_0x3e894a-0x1a8,_0x287351-_0x1d6db6._0x4c6c1a,_0x5eb9e1,_0x287351- -0x4ed);}switch(_0xce99f5){case 0x1:return _0x3a7276(_0x32f9bb._0x527857,0x740,0x696,_0x32f9bb._0x51ba1e);case 0x2:return _0x5b5229(_0x32f9bb._0x2b8a9d,0x2ac,_0x32f9bb._0x46e844,0x124);case 0x3:return _0x5b5229(0x96,0x7a,-0xc6,0x69);case 0x4:return _0x5b5229(_0x32f9bb._0x45092f,_0x32f9bb._0x33100c,0x17c,0x184);default:return'Diagnostic';}}function formatSingleHover(_0x2a1736){const _0x15a66b={_0x5d1c73:0x5a2,_0x2b1b77:0x8ee,_0x1e96cf:0x74c,_0x51f60d:0x3b,_0x456785:0x613,_0x10e5b6:0x559,_0x7a24f7:0x1e4,_0x136940:0x2c5,_0x441bea:0x232,_0x468c66:0x14d,_0x5bf61c:0x185,_0x7b2c5e:0x37,_0x283d11:0x601,_0x430572:0x46e,_0x4ca80d:0x4de,_0x1f3419:0x63d,_0x45c84c:0x5cd,_0x336f1d:0x412,_0x4acc7e:0x626,_0x5245d9:0x23b,_0x466c0a:0x314,_0x54abb4:0x1d3,_0x2610a8:0xf7},_0x1b5336={_0xec5290:0x331,_0x73101:0x52},_0x1c2104={_0x17e05e:0x34};function _0x47d448(_0x29e9f7,_0x4069e4,_0x246b4b,_0x3d32ad){return _0x2389b1(_0x29e9f7-0x11e,_0x4069e4-_0x1c2104._0x17e05e,_0x4069e4,_0x29e9f7- -0x4f9);}const _0x411f21=_0x2a1736[_0x4c1654(_0x15a66b._0x5d1c73,_0x15a66b._0x2b1b77,0x73f,_0x15a66b._0x1e96cf)];if(typeof _0x411f21===_0x47d448(0xec,0x1e3,0x279,-_0x15a66b._0x51f60d))return _0x411f21;if(Array[_0x4c1654(_0x15a66b._0x456785,_0x15a66b._0x10e5b6,0x690,0x650)](_0x411f21))return _0x411f21['map'](_0x3f1f4c=>typeof _0x3f1f4c===_0x47d448(0xec,-0x35,-0x4c,0x1cc)?_0x3f1f4c:_0x3f1f4c[_0x4c1654(0x6d1,0x768,0x710,0x7af)])[_0x47d448(0x2f9,_0x15a66b._0x7a24f7,_0x15a66b._0x136940,_0x15a66b._0x441bea)](Boolean)[_0x47d448(-0x33,0x190,0x178,-_0x15a66b._0x468c66)]('\x0a\x0a');function _0x4c1654(_0xaf2c5b,_0xb4b671,_0x57cb98,_0x26460b){return _0x5da4fe(_0x57cb98-_0x1b5336._0xec5290,_0xb4b671-_0x1b5336._0x73101,_0xb4b671,_0x26460b-0xf3);}if(_0x47d448(0x1bd,0x1c2,_0x15a66b._0x5bf61c,_0x15a66b._0x7b2c5e)in _0x411f21)return _0x411f21[_0x4c1654(0x7ed,_0x15a66b._0x283d11,0x710,0x7dd)];return _0x411f21[_0x4c1654(0x610,_0x15a66b._0x430572,_0x15a66b._0x4ca80d,_0x15a66b._0x1f3419)]?_0x4c1654(0x7bc,_0x15a66b._0x45c84c,0x696,0x538)+_0x411f21[_0x4c1654(0x614,_0x15a66b._0x336f1d,0x4de,_0x15a66b._0x4acc7e)]+'\x0a'+_0x411f21[_0x47d448(_0x15a66b._0x5245d9,0x3ec,0x252,0x3cf)]+_0x47d448(0x2e7,0x139,_0x15a66b._0x466c0a,0x4a5):_0x411f21[_0x47d448(0x23b,_0x15a66b._0x54abb4,0x138,_0x15a66b._0x2610a8)];}function formatHover(_0x22b196){const _0x41c63d={_0x4785b0:0x4e5,_0x243624:0x1b1,_0x3d165d:0x357,_0x63ae97:0x619},_0x2250f2={_0x371b81:0x169,_0x1662ca:0x1ee};function _0x4eec71(_0x115379,_0x108e11,_0x8eda6c,_0x556653){return _0x5da4fe(_0x556653- -0x302,_0x108e11-0x11c,_0x115379,_0x556653-0x66);}function _0x4a92b1(_0x2fa59a,_0x206ae2,_0xd14031,_0x4387b3){return _0x2389b1(_0x2fa59a-0x121,_0x206ae2-_0x2250f2._0x371b81,_0x206ae2,_0xd14031- -_0x2250f2._0x1662ca);}if(_0x22b196[_0x4eec71(0x2dd,0x1d6,0x1ac,0x1c5)]===0x0)return _0x4a92b1(0x486,0x479,0x419,0x4b4);return _0x22b196[_0x4a92b1(0x3da,0x241,0x3fe,_0x41c63d._0x4785b0)](formatSingleHover)[_0x4a92b1(_0x41c63d._0x243624,0x37c,0x2d8,_0x41c63d._0x3d165d)](_0x4a92b1(_0x41c63d._0x63ae97,0x704,0x586,0x412));}function locationPath(_0x2de03d){const _0x5a030b={_0x45b3d3:0x1e0,_0x22732e:0x10b,_0x5a7a03:0x2e,_0x5bafff:0x6e5},_0x5361f1={_0x5c2b28:0xae},_0x39151c={_0x21a451:0xb4};if(!_0x2de03d[_0x2ae81d(-_0x5a030b._0x45b3d3,-_0x5a030b._0x22732e,-_0x5a030b._0x5a7a03,-0x22)](_0x13eb78(0x593,_0x5a030b._0x5bafff,0x70e,0x609)))return _0x2de03d;function _0x13eb78(_0x5c125a,_0x4c7412,_0x406f4f,_0x552d2f){return _0x5da4fe(_0x5c125a-_0x39151c._0x21a451,_0x4c7412-0x161,_0x406f4f,_0x552d2f-0x1a0);}function _0x2ae81d(_0x3f512a,_0x16d1cf,_0x273810,_0x4924a4){return _0x5da4fe(_0x4924a4- -0x296,_0x16d1cf-0xed,_0x3f512a,_0x4924a4-_0x5361f1._0x5c2b28);}return _0x2c8ed8(_0x2de03d);}function formatLocations(_0x350841){const _0x1ef538={_0x1f55ba:0x396,_0x3aa62f:0x47d,_0x191ab1:0xea},_0x4fb0bb={_0x14cdf:0x4b7,_0x1d3dff:0x200,_0x57876c:0x1c0,_0x4aa47f:0xa7,_0x3fbdfe:0x390,_0x487b79:0x205},_0x2c9b9f={_0xbf65aa:0x308,_0x416ea5:0x1ea},_0x221b23={_0x466fce:0x19a};function _0x1b00c6(_0x2d7ee2,_0x36d711,_0x16e1f9,_0x1e9ed2){return _0x2389b1(_0x2d7ee2-0xeb,_0x36d711-0x5b,_0x2d7ee2,_0x16e1f9- -0x26b);}if(_0x350841[_0x4c1ce3(_0x1ef538._0x1f55ba,0x379,_0x1ef538._0x3aa62f,0x2af)]===0x0)return _0x1b00c6(0x2a8,0x251,0x3ff,0x3aa);function _0x4c1ce3(_0x353870,_0x2f0fff,_0x115994,_0x45199d){return _0x2389b1(_0x353870-_0x221b23._0x466fce,_0x2f0fff-0x50,_0x115994,_0x353870- -0x486);}return _0x350841['map'](_0x305ec7=>{const _0x1304f0={_0x4918f7:0x1b5};function _0x31ea1c(_0xce1e89,_0x296422,_0x14157c,_0x40c7f9){return _0x4c1ce3(_0x14157c-0x31c,_0x296422-_0x1304f0._0x4918f7,_0x40c7f9,_0x40c7f9-0x133);}function _0x23f317(_0x2faea4,_0x3fcec9,_0x41913d,_0x10eaca){return _0x1b00c6(_0x2faea4,_0x3fcec9-0x192,_0x10eaca- -_0x2c9b9f._0xbf65aa,_0x10eaca-_0x2c9b9f._0x416ea5);}const _0x4177fd=_0x305ec7[_0x31ea1c(0x3f6,0x545,_0x4fb0bb._0x14cdf,0x56f)][_0x23f317(-0x104,_0x4fb0bb._0x1d3dff,_0x4fb0bb._0x57876c,_0x4fb0bb._0x4aa47f)];return locationPath(_0x305ec7[_0x31ea1c(0x50a,0x444,_0x4fb0bb._0x3fbdfe,_0x4fb0bb._0x487b79)])+':'+(_0x4177fd['line']+0x1)+':'+(_0x4177fd['character']+0x1);})[_0x4c1ce3(0x40,-_0x1ef538._0x191ab1,0x1ea,-0x95)]('\x0a');}function isDocumentSymbol(_0x4ba23c){const _0x1632e4={_0x52377d:0x4c6,_0x55cfad:0x2f9},_0x241353={_0x461b7d:0xf7};function _0x3ede79(_0x43841b,_0x2dd724,_0x5d2bf1,_0x232ca3){return _0x2389b1(_0x43841b-_0x241353._0x461b7d,_0x2dd724-0x36,_0x2dd724,_0x232ca3- -0x23d);}return'range'in _0x4ba23c&&_0x3ede79(_0x1632e4._0x52377d,_0x1632e4._0x55cfad,0x499,0x438)in _0x4ba23c;}function formatSymbols(_0x2298d0){const _0x208710={_0x16150d:0x2c8,_0x343267:0x106,_0x32b2df:0x1c2,_0x39a657:0x182},_0x23ffe8={_0x3739fe:0x380,_0x153d5c:0x458,_0x1cb159:0x324,_0x87d0b7:0x562,_0x84196f:0x459,_0x207f63:0x274,_0x4103f8:0x10c,_0x78b108:0x5e,_0x137d73:0x121,_0x173149:0x659,_0x6f64c7:0x534,_0x4e54e6:0x6ea,_0x217cab:0x367,_0x43c7c1:0x490,_0x10e116:0x4f2,_0x1ff2e2:0x493,_0x47719d:0x14,_0x729edd:0x7a,_0x281d93:0xbc,_0x32e113:0x242,_0xca7c04:0x285,_0x11a117:0x36e,_0x322d68:0x3c3,_0x25291f:0x47f,_0x25103a:0x12e,_0x502340:0x2b,_0x50aada:0x392,_0x749ad5:0x4e0,_0x410dce:0x3f9,_0x2df869:0x215,_0x22e5f2:0x1cc,_0x1a2393:0x27e,_0x50a78b:0x540,_0x10b35e:0x357,_0x5071ec:0x111,_0xe5cdd6:0x2b8},_0x2c9b0e={_0x1afcdb:0x3c1,_0x1d7b19:0x152,_0x20e990:0x49},_0x1b9b0b={_0x15edc3:0xa};function _0x97f4b1(_0x1410f2,_0x39eb08,_0x36b3c1,_0x3179c8){return _0x2389b1(_0x1410f2-0x125,_0x39eb08-_0x1b9b0b._0x15edc3,_0x1410f2,_0x36b3c1- -0x596);}if(_0x2298d0[_0x2be674(-0x34,0x85,_0x208710._0x16150d,_0x208710._0x343267)]===0x0)return'No\x20symbols\x20found';function _0x2be674(_0x110377,_0x1c20eb,_0x486735,_0x1fc0ff){return _0x5da4fe(_0x1fc0ff- -_0x2c9b0e._0x1afcdb,_0x1c20eb-_0x2c9b0e._0x1d7b19,_0x110377,_0x1fc0ff-_0x2c9b0e._0x20e990);}return _0x2298d0['map'](_0x44652a=>{const _0x418329={_0x3ea0c2:0xe7,_0x43f923:0x106},_0xe00ff6={_0x27e8a2:0x197,_0x43ee33:0x157};if(isDocumentSymbol(_0x44652a))return _0x44652a['name']+'\x20('+_0x44652a[_0x46b41e(_0x23ffe8._0x3739fe,0x3fd,_0x23ffe8._0x153d5c,0x5a0)]+_0x46b41e(0x4f5,_0x23ffe8._0x1cb159,0x4c1,_0x23ffe8._0x87d0b7)+(_0x44652a[_0x46b41e(_0x23ffe8._0x84196f,0x3ad,0x3c3,_0x23ffe8._0x207f63)][_0x181cce(_0x23ffe8._0x4103f8,_0x23ffe8._0x78b108,-0x32,_0x23ffe8._0x137d73)][_0x46b41e(0x38b,0x61b,0x4e0,_0x23ffe8._0x173149)]+0x1)+':'+(_0x44652a['range']['start']['character']+0x1)+']';function _0x46b41e(_0xd8816b,_0x5d8ab6,_0x1c7d5f,_0x53c40b){return _0x2be674(_0x53c40b,_0x5d8ab6-_0xe00ff6._0x27e8a2,_0x1c7d5f-_0xe00ff6._0x43ee33,_0x1c7d5f-0x4b8);}function _0x181cce(_0x4a8593,_0x36ab68,_0x1b816d,_0x3712d8){return _0x2be674(_0x3712d8,_0x36ab68-_0x418329._0x3ea0c2,_0x1b816d-_0x418329._0x43f923,_0x4a8593-0x208);}return _0x44652a[_0x46b41e(0x439,0x670,_0x23ffe8._0x6f64c7,_0x23ffe8._0x4e54e6)]+'\x20('+_0x44652a[_0x46b41e(0x597,0x399,_0x23ffe8._0x153d5c,0x49a)]+')\x20'+locationPath(_0x44652a[_0x46b41e(_0x23ffe8._0x217cab,_0x23ffe8._0x43c7c1,_0x23ffe8._0x10e116,_0x23ffe8._0x1ff2e2)][_0x181cce(-_0x23ffe8._0x47719d,_0x23ffe8._0x729edd,_0x23ffe8._0x281d93,0x4f)])+':'+(_0x44652a[_0x181cce(_0x23ffe8._0x32e113,0x271,_0x23ffe8._0xca7c04,0x301)][_0x46b41e(_0x23ffe8._0x11a117,0x3c4,_0x23ffe8._0x322d68,_0x23ffe8._0x25291f)][_0x181cce(0x10c,_0x23ffe8._0x25103a,-_0x23ffe8._0x502340,-0xb2)][_0x46b41e(_0x23ffe8._0x50aada,0x659,_0x23ffe8._0x749ad5,_0x23ffe8._0x410dce)]+0x1)+':'+(_0x44652a[_0x181cce(_0x23ffe8._0x32e113,_0x23ffe8._0x2df869,0x33c,_0x23ffe8._0x22e5f2)][_0x46b41e(_0x23ffe8._0x1a2393,_0x23ffe8._0x50a78b,0x3c3,_0x23ffe8._0x10b35e)][_0x181cce(0x10c,_0x23ffe8._0x5071ec,0x0,_0x23ffe8._0xe5cdd6)]['character']+0x1);})[_0x97f4b1(-0x15c,-_0x208710._0x32b2df,-0xd0,-_0x208710._0x39a657)]('\x0a');}function formatDiagnostics(_0x2e37cb){const _0x2cafee={_0x5bf14d:0x681,_0xe03911:0x696,_0x1efd4e:0x40b,_0x2dc80b:0x2ba,_0x3052d4:0x5f5,_0x2fa311:0x555,_0x2b92e5:0x1da},_0x5bd228={_0x3371ac:0xa4,_0x22aed1:0x11d,_0x3369b4:0x2af,_0x22ada4:0x311,_0x568269:0x32d,_0x29512e:0xd7},_0xe6ab9f={_0x19950d:0x4c},_0x376209={_0x33171f:0x1a0,_0x6009f0:0x12a};function _0x5ee488(_0x466a45,_0x167717,_0x40cd71,_0x314e24){return _0x5da4fe(_0x466a45-_0x376209._0x33171f,_0x167717-_0x376209._0x6009f0,_0x167717,_0x314e24-0x1d);}function _0xab8ec7(_0x2e0524,_0xa8a9b0,_0x36b5ab,_0xcf16e7){return _0x5da4fe(_0xa8a9b0-0x8d,_0xa8a9b0-0xc,_0xcf16e7,_0xcf16e7-0x87);}if(_0x2e37cb[_0x5ee488(0x667,_0x2cafee._0x5bf14d,0x544,_0x2cafee._0xe03911)]===0x0)return _0xab8ec7(0x322,_0x2cafee._0x1efd4e,0x524,0x2f4);return _0x2e37cb[_0x5ee488(0x437,_0x2cafee._0x2dc80b,_0x2cafee._0x3052d4,_0x2cafee._0x2fa311)](_0x32bd79=>{const _0x439755={_0x5a69b7:0xd3,_0xc370f8:0xca};function _0x2166a0(_0x4bea4b,_0x2ab385,_0x4ca177,_0x3fabd7){return _0x5ee488(_0x3fabd7- -0x25c,_0x4bea4b,_0x4ca177-_0x439755._0x5a69b7,_0x3fabd7-_0x439755._0xc370f8);}const _0x5257a=_0x32bd79[_0x244a21(0x104,-0x4b,0x87,0x85)][_0x2166a0(0xc7,_0x5bd228._0x3371ac,_0x5bd228._0x22aed1,0x209)];function _0x244a21(_0x3209b5,_0x4d36ed,_0x32f52d,_0xa7fbbc){return _0xab8ec7(_0x3209b5-0x1c7,_0x3209b5- -0x255,_0x32f52d-_0xe6ab9f._0x19950d,_0x4d36ed);}return severityName(_0x32bd79[_0x244a21(_0x5bd228._0x3369b4,0x37e,0x23f,_0x5bd228._0x22ada4)])+'\x20['+(_0x5257a[_0x2166a0(0x349,0x1c7,0x224,_0x5bd228._0x568269)]+0x1)+':'+(_0x5257a[_0x2166a0(0xc4,0x15b,0x1c9,_0x5bd228._0x29512e)]+0x1)+']\x20'+_0x32bd79['message'];})[_0xab8ec7(0xa7,0x1fe,_0x2cafee._0x2b92e5,0x64)]('\x0a');}function formatIncomingCalls(_0x53fd5d){const _0x24e95c={_0x35e6e5:0xe7,_0x4c174b:0x21a},_0xa9ac0c={_0x2abc2a:0x293,_0x2d9357:0xf},_0x316f0e={_0x194b67:0x1cc,_0x15aa6d:0x19a};function _0x4924f8(_0x21228e,_0x35106c,_0x3b7a7b,_0x11222e){return _0x5da4fe(_0x11222e- -_0x316f0e._0x194b67,_0x35106c-0x98,_0x35106c,_0x11222e-_0x316f0e._0x15aa6d);}if(_0x53fd5d['length']===0x0)return _0x581273(0x4b5,0x5f5,0x57b,0x509);function _0x581273(_0x5c9d02,_0x393c04,_0xa16cb1,_0x590e3e){return _0x5da4fe(_0x393c04-_0xa9ac0c._0x2abc2a,_0x393c04-0x34,_0x590e3e,_0x590e3e-_0xa9ac0c._0x2d9357);}return _0x53fd5d['map'](_0xc88155=>_0xc88155[_0x581273(0x540,0x412,0x3af,0x2b1)][_0x581273(0x87f,0x6d0,0x7a4,0x6e9)])[_0x4924f8(-0x15a,-_0x24e95c._0x35e6e5,-_0x24e95c._0x4c174b,-0x5b)]('\x0a');}function formatOutgoingCalls(_0xb7afc7){const _0x2ed827={_0x404de5:0x4c4,_0x2dac52:0x569,_0x1bd8ac:0x136,_0x3162b1:0x18},_0xccba8b={_0x2521b1:0x3d9,_0x4836b9:0x15b},_0x40ce14={_0x194a94:0x86,_0x379fcc:0x32,_0x1c79a2:0x2b3};if(_0xb7afc7[_0x1efece(0x4a6,_0x2ed827._0x404de5,0x720,_0x2ed827._0x2dac52)]===0x0)return _0x41b1d5(-_0x2ed827._0x1bd8ac,-0x77,-_0x2ed827._0x3162b1,0x32);function _0x1efece(_0x250acc,_0x1e9aef,_0x3f2aba,_0x25e5a1){return _0x2389b1(_0x250acc-_0x40ce14._0x194a94,_0x1e9aef-_0x40ce14._0x379fcc,_0x250acc,_0x25e5a1- -_0x40ce14._0x1c79a2);}function _0x41b1d5(_0x256118,_0x590baa,_0x54aa6f,_0x27f0c1){return _0x5da4fe(_0x590baa- -_0xccba8b._0x2521b1,_0x590baa-0xb2,_0x27f0c1,_0x27f0c1-_0xccba8b._0x4836b9);}return _0xb7afc7['map'](_0x18cfc9=>_0x18cfc9['to'][_0x1efece(0x40a,0x57e,0x5dc,0x4df)])['join']('\x0a');}function toStructured(_0x51567c){return JSON['parse'](JSON['stringify'](_0x51567c));}async function assertFile(_0x2c961e){const _0x5195d0={_0x39fb5a:0x5d7,_0x1b141f:0x6b8,_0x452315:0x5b4,_0x5a579d:0x371,_0x42ece9:0x520},_0x4fb36c={_0x31c79e:0x150,_0x4125c6:0xc},_0x3483f5=await _0x15de2e(_0x2c961e);function _0x184208(_0x354854,_0xeef512,_0x36a5f9,_0x51d972){return _0x5da4fe(_0x51d972-0x100,_0xeef512-0x16f,_0xeef512,_0x51d972-0x17);}function _0x5e4d36(_0x5a1846,_0x4da325,_0x344f9d,_0x4db21a){return _0x2389b1(_0x5a1846-_0x4fb36c._0x31c79e,_0x4da325-0x154,_0x5a1846,_0x4db21a- -_0x4fb36c._0x4125c6);}if(!_0x3483f5[_0x5e4d36(0x537,_0x5195d0._0x39fb5a,0x538,_0x5195d0._0x1b141f)]())throw new ToolExecutionError(_0x184208(_0x5195d0._0x452315,_0x5195d0._0x5a579d,0x6b9,_0x5195d0._0x42ece9)+_0x2c961e,{'path':_0x2c961e});}function validatePosition(_0x456970,_0x3ae6cc){const _0x19c01c={_0x3d4ae1:0x6a2,_0x107591:0x477,_0x245c10:0x5ff},_0x502c60={_0x56c645:0x19c},_0x3ca0c7={_0x1fd4f2:0xe2};if(!Number[_0x15271e(0x4d1,_0x19c01c._0x3d4ae1,_0x19c01c._0x107591,0x60f)](_0x456970)||_0x456970<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x456970});function _0x241208(_0x30c3d5,_0x59778d,_0xf31722,_0xf77f71){return _0x5da4fe(_0x59778d-_0x3ca0c7._0x1fd4f2,_0x59778d-0x28,_0x30c3d5,_0xf77f71-0x47);}function _0x15271e(_0x2868e7,_0x4a7737,_0x2fb8c1,_0x367bf0){return _0x2389b1(_0x2868e7-_0x502c60._0x56c645,_0x4a7737-0x105,_0x2868e7,_0x367bf0- -0x160);}if(!Number[_0x241208(_0x19c01c._0x245c10,0x4fc,0x3fe,0x503)](_0x3ae6cc)||_0x3ae6cc<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x3ae6cc});}function createLspTool(_0x5364fa={}){const _0x58bdd2={_0x1f8975:0x145,_0x44e793:0x6f0,_0x118011:0x656,_0x2dbfa7:0x60b,_0x298017:0x422,_0x15af92:0x371,_0x3de7b7:0x394,_0x45bc9:0x32a,_0x4b84b3:0x3dc,_0x1ba8db:0x649,_0x2dbc47:0x5e0,_0x1894b8:0x59a,_0x50ec0a:0x26b,_0x14cee2:0x33b,_0x2028ad:0x470,_0x34ebbd:0x71e,_0x2562da:0x40c,_0x5cde6d:0x527,_0x38079b:0x849,_0x1f8732:0x6d3,_0x32825a:0x7bb,_0x469dd2:0x6a3,_0x17fde6:0x759,_0x13ab4e:0x687,_0x47af91:0x410,_0x5c9cf2:0x2c9,_0xfc3644:0x317,_0x474d43:0x489,_0x2bffe1:0x3b7,_0x4045ad:0x18c,_0x410597:0x33a,_0x139f76:0x21d,_0x4f4109:0x2db,_0x2e6b0a:0x800,_0x26a0bd:0x6b5,_0x3897cf:0xc7},_0x3331d3={_0x36541d:0x316,_0x38df51:0x340,_0x5eddee:0x4c2,_0x30eb11:0x448,_0xd09d20:0x31c,_0x3220a2:0x63e,_0x37487f:0x49a,_0x634229:0x299,_0x1b8edc:0x4d8,_0x2aac6a:0x33a,_0x1e0253:0x3c2,_0x54dd86:0x47a,_0x1f6eb0:0x3ae,_0x1d5023:0x32e,_0x4ea24f:0x33f,_0x3cc65c:0x54d,_0x151f72:0x50c,_0x4334fc:0x472,_0x2fa8af:0x3eb,_0xa05746:0x3a9,_0x6571fc:0x385,_0x1e986c:0x483,_0x3f66b5:0x507,_0x6147ac:0x5e7,_0x29c392:0x2d2,_0x4160e5:0x482,_0x219882:0x622,_0x8381e5:0x758,_0x42bfb0:0x4d9,_0x404d6d:0x342,_0x979e1b:0x36f,_0x7a2013:0x141,_0x2f714c:0x534,_0x3f0012:0x4b4,_0x229111:0x59a,_0x46caa3:0x592,_0x151d71:0x446,_0x2e67f1:0x24e,_0x46684b:0x1e1,_0x44456e:0x243,_0x35831c:0x2c3,_0x492112:0x437,_0x49c177:0x32a,_0x361a43:0x3e6,_0x3afbf3:0x455,_0x58fe5f:0x296,_0x5ca879:0x397,_0x23976b:0x500,_0x51de45:0x5a8,_0x492f4a:0x3d9,_0x3cb12d:0x55d,_0x6e5494:0x506,_0x537ef0:0x342,_0x11ce1d:0x4e9,_0x54f097:0x553,_0x19832a:0x1bf,_0x551689:0x48e,_0x370d68:0x388,_0xf7aa68:0x4e4,_0x34f033:0x5e2,_0x197e46:0x306,_0x4fef32:0xaa,_0x268ba4:0x15b,_0x4a261c:0x257,_0xf6db67:0x612,_0x52d62b:0x342,_0x5a3c9c:0x282},_0x390d56={_0x1e801e:0x20a},_0x3153d7={_0x55f67e:0x188},_0x1ad162={_0x2e8d48:0xcc,_0x4f8c53:0x6e},_0x5bbb8e=_0x4c5123[_0x475086(_0x58bdd2._0x1f8975,-0x47,0xeb,0x212)](_0x5364fa['defaultCwd']??process[_0x475086(0x531,0x2cb,0x3e1,0x54d)]());function _0x475086(_0x555d9e,_0x319ea9,_0x25b23a,_0x416741){return _0x5da4fe(_0x25b23a- -_0x1ad162._0x2e8d48,_0x319ea9-_0x1ad162._0x4f8c53,_0x416741,_0x416741-0x6f);}const _0x38d3fe=_0x5364fa[_0xc195ae(_0x58bdd2._0x44e793,_0x58bdd2._0x118011,0x491,_0x58bdd2._0x2dbfa7)]??[];function _0xc195ae(_0x16bdd7,_0x1233d1,_0x2574d6,_0x22b50e){return _0x5da4fe(_0x22b50e-0x2cc,_0x1233d1-0x2c,_0x1233d1,_0x22b50e-_0x3153d7._0x55f67e);}const _0x32e99e=_0x5364fa[_0x475086(0x4ea,_0x58bdd2._0x298017,_0x58bdd2._0x15af92,0x25e)]??_0x475086(_0x58bdd2._0x3de7b7,0x456,_0x58bdd2._0x45bc9,_0x58bdd2._0x4b84b3);return defineTool({'name':_0x32e99e,'permissionClass':_0xc195ae(0x506,_0x58bdd2._0x1ba8db,0x703,_0x58bdd2._0x2dbc47),'description':_0x475086(_0x58bdd2._0x1894b8,0x33b,0x40d,_0x58bdd2._0x50ec0a),'inputSchema':{'type':_0x475086(0x303,_0x58bdd2._0x14cee2,0x402,_0x58bdd2._0x2028ad),'properties':{'operation':{'type':'string','enum':[_0xc195ae(0x4cd,0x343,0x3f7,0x4cd),_0xc195ae(0x700,_0x58bdd2._0x34ebbd,0x592,0x5ff),_0x475086(0x3ad,0x471,_0x58bdd2._0x2562da,0x3d2),'documentSymbol',_0xc195ae(0x83e,_0x58bdd2._0x5cde6d,_0x58bdd2._0x38079b,_0x58bdd2._0x1f8732),_0xc195ae(_0x58bdd2._0x32825a,0x7be,0x53f,_0x58bdd2._0x469dd2),_0xc195ae(_0x58bdd2._0x17fde6,0x4d8,0x7b9,_0x58bdd2._0x13ab4e),_0xc195ae(0x33b,0x308,_0x58bdd2._0x47af91,0x461),_0x475086(0x3d8,_0x58bdd2._0x5c9cf2,_0x58bdd2._0xfc3644,_0x58bdd2._0x474d43),_0xc195ae(0x2db,0x41f,0x541,0x487)]},'filePath':{'type':'string'},'line':{'type':_0x475086(_0x58bdd2._0x2bffe1,_0x58bdd2._0x4045ad,_0x58bdd2._0x410597,0x3f2)},'character':{'type':'number'},'query':{'type':'string'}},'required':[_0xc195ae(0x754,0x79c,0x6e8,0x63d),_0x475086(_0x58bdd2._0x139f76,_0x58bdd2._0x4f4109,0x1ef,0x37d),_0xc195ae(0x5a5,0x616,_0x58bdd2._0x2e6b0a,_0x58bdd2._0x26a0bd),_0x475086(0x18d,-0xa4,_0x58bdd2._0x3897cf,0x242)]},async *'execute'(_0x265619,_0x3cfd69){const _0x2cafe5=_0x5364fa[_0x1a6ef7(0x2a2,_0x3331d3._0x36541d,0x36b,_0x3331d3._0x38df51)];if(!_0x2cafe5)throw new ToolExecutionError(_0x1a6ef7(0x530,0x610,_0x3331d3._0x5eddee,0x399));if(!_0x2cafe5[_0x1a6ef7(0x37d,0x3e3,0x426,_0x3331d3._0x30eb11)]())throw new ToolExecutionError(_0x4c5c63(0x2ec,0x35d,_0x3331d3._0xd09d20,0x4de));const _0x4023ae=_0x265619[_0x4c5c63(_0x3331d3._0x3220a2,_0x3331d3._0x37487f,0x61f,0x597)];function _0x4c5c63(_0x1b59d5,_0x20d470,_0x2e7ad7,_0xa93277){return _0xc195ae(_0x1b59d5-0x4c,_0xa93277,_0x2e7ad7-0x18b,_0x20d470- -0x1a3);}validatePosition(_0x265619['line'],_0x265619['character']);if(_0x4023ae==='workspaceSymbol'){if(!_0x265619[_0x1a6ef7(_0x3331d3._0x634229,0x4ef,0x35b,0x1d7)]?.['trim']())throw new ToolExecutionError(_0x4c5c63(_0x3331d3._0x1b8edc,_0x3331d3._0x2aac6a,0x17e,0x1f6));const _0x10ddec=await awaitWithAbort(_0x2cafe5['workspaceSymbol'](_0x265619[_0x4c5c63(0x316,_0x3331d3._0x1e0253,0x29a,_0x3331d3._0x54dd86)][_0x4c5c63(0x55d,_0x3331d3._0x1f6eb0,0x524,0x3fa)]()),_0x3cfd69['signal']);return yield createToolOutput(formatSymbols(_0x10ddec),{'operation':_0x4023ae,'query':_0x265619['query'],'symbols':_0x10ddec}),void 0x0;}function _0x1a6ef7(_0x31f897,_0x475526,_0x292567,_0x5a6acf){return _0xc195ae(_0x31f897-0x4,_0x475526,_0x292567-0x7,_0x292567- -_0x390d56._0x1e801e);}const _0x26b3da=resolveAllowedPath(_0x5bbb8e,_0x38d3fe,_0x265619[_0x4c5c63(_0x3331d3._0x1d5023,0x3e4,_0x3331d3._0x4ea24f,_0x3331d3._0x3cc65c)]);await assertFile(_0x26b3da);if(!await awaitWithAbort(_0x2cafe5[_0x1a6ef7(0x6c8,0x3b7,_0x3331d3._0x151f72,_0x3331d3._0x4334fc)](_0x26b3da),_0x3cfd69[_0x4c5c63(_0x3331d3._0x2fa8af,_0x3331d3._0xa05746,_0x3331d3._0x6571fc,_0x3331d3._0x1e986c)]))throw new ToolExecutionError(_0x4c5c63(0x52e,_0x3331d3._0x3f66b5,_0x3331d3._0x6147ac,0x3ec)+_0x265619[_0x4c5c63(_0x3331d3._0x29c392,0x3e4,0x4a7,0x3f0)],{'filePath':_0x265619[_0x1a6ef7(_0x3331d3._0x4160e5,0x4b1,0x37d,0x2d5)]});await awaitWithAbort(_0x2cafe5[_0x4c5c63(_0x3331d3._0x219882,0x5e1,_0x3331d3._0x8381e5,_0x3331d3._0x42bfb0)](_0x26b3da,!![]),_0x3cfd69[_0x1a6ef7(0x1e0,0x418,_0x3331d3._0x404d6d,_0x3331d3._0x979e1b)]);const _0x594582={'file':_0x26b3da,'line':_0x265619['line']-0x1,'character':_0x265619[_0x4c5c63(_0x3331d3._0x7a2013,0x2bc,0x1cb,0x2c0)]-0x1};switch(_0x4023ae){case _0x1a6ef7(_0x3331d3._0x2f714c,_0x3331d3._0x3f0012,_0x3331d3._0x229111,_0x3331d3._0x46caa3):{const _0x1f27eb=await awaitWithAbort(_0x2cafe5['hover'](_0x594582),_0x3cfd69[_0x1a6ef7(0x41a,0x180,_0x3331d3._0x404d6d,_0x3331d3._0x151d71)]);return yield createToolOutput(formatHover(_0x1f27eb),{'operation':_0x4023ae,'filePath':_0x26b3da,'hover':_0x1f27eb}),void 0x0;}case _0x4c5c63(_0x3331d3._0x2e67f1,0x2e4,0x2c7,0x375):{const _0x1d7352=await awaitWithAbort(_0x2cafe5[_0x1a6ef7(_0x3331d3._0x46684b,0x271,_0x3331d3._0x44456e,_0x3331d3._0x35831c)](_0x26b3da),_0x3cfd69['signal']);return yield createToolOutput(formatDiagnostics(_0x1d7352),{'operation':_0x4023ae,'filePath':_0x26b3da,'diagnostics':_0x1d7352}),void 0x0;}case _0x4c5c63(_0x3331d3._0x492112,_0x3331d3._0x49c177,0x3e0,0x3a5):{const _0x55826d=await awaitWithAbort(_0x2cafe5[_0x4c5c63(0x391,0x2fc,_0x3331d3._0x361a43,0x307)](_0x594582),_0x3cfd69[_0x4c5c63(0x459,0x3a9,_0x3331d3._0x3afbf3,0x266)]);return yield createToolOutput(formatLocations(_0x55826d),{'operation':_0x4023ae,'filePath':_0x26b3da,'locations':_0x55826d}),void 0x0;}case'findReferences':{const _0x285354=await awaitWithAbort(_0x2cafe5['references'](_0x594582),_0x3cfd69[_0x4c5c63(0x513,_0x3331d3._0xa05746,_0x3331d3._0x58fe5f,_0x3331d3._0x5ca879)]);return yield createToolOutput(formatLocations(_0x285354),{'operation':_0x4023ae,'filePath':_0x26b3da,'locations':_0x285354}),void 0x0;}case _0x4c5c63(0x4b7,_0x3331d3._0x23976b,0x4d5,0x386):{const _0x33c7a1=await awaitWithAbort(_0x2cafe5[_0x1a6ef7(_0x3331d3._0x51de45,_0x3331d3._0x492f4a,_0x3331d3._0x3cb12d,0x5f6)](_0x594582),_0x3cfd69[_0x1a6ef7(0x3f5,_0x3331d3._0x6e5494,_0x3331d3._0x537ef0,_0x3331d3._0x11ce1d)]);return yield createToolOutput(formatLocations(_0x33c7a1),{'operation':_0x4023ae,'filePath':_0x26b3da,'locations':_0x33c7a1}),void 0x0;}case'documentSymbol':{const _0x56365c=await awaitWithAbort(_0x2cafe5[_0x4c5c63(0x494,0x56b,0x52c,_0x3331d3._0x54f097)](_0x26b3da),_0x3cfd69[_0x1a6ef7(_0x3331d3._0x19832a,_0x3331d3._0x551689,0x342,_0x3331d3._0x370d68)]);return yield createToolOutput(formatSymbols(_0x56365c),{'operation':_0x4023ae,'filePath':_0x26b3da,'symbols':_0x56365c}),void 0x0;}case _0x4c5c63(0x609,_0x3331d3._0xf7aa68,_0x3331d3._0x34f033,0x4d9):{const _0x148ff4=await awaitWithAbort(_0x2cafe5[_0x1a6ef7(0x4c1,0x5b4,0x47d,0x43a)](_0x594582),_0x3cfd69['signal']);return yield createToolOutput(formatSymbols(_0x148ff4),{'operation':_0x4023ae,'filePath':_0x26b3da,'symbols':toStructured(_0x148ff4)}),void 0x0;}case _0x4c5c63(_0x3331d3._0x197e46,0x2be,0x236,0x278):{const _0xbaf51c=await awaitWithAbort(_0x2cafe5[_0x1a6ef7(_0x3331d3._0x4fef32,_0x3331d3._0x268ba4,_0x3331d3._0x4a261c,0x30c)](_0x594582),_0x3cfd69['signal']);return yield createToolOutput(formatIncomingCalls(_0xbaf51c),{'operation':_0x4023ae,'filePath':_0x26b3da,'calls':toStructured(_0xbaf51c)}),void 0x0;}case'outgoingCalls':{const _0x2e42d5=await awaitWithAbort(_0x2cafe5[_0x4c5c63(_0x3331d3._0xf6db67,_0x3331d3._0x151f72,0x616,0x593)](_0x594582),_0x3cfd69[_0x1a6ef7(0x400,0x27f,_0x3331d3._0x52d62b,_0x3331d3._0x5a3c9c)]);return yield createToolOutput(formatOutgoingCalls(_0x2e42d5),{'operation':_0x4023ae,'filePath':_0x26b3da,'calls':toStructured(_0x2e42d5)}),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 _0x5a9996}from'crypto';import{mkdir as _0x40ccbd,readFile as _0x28da05,writeFile as _0x414b90}from'fs/promises';import{join as _0x6d765f}from'path';function sanitizeStorageKey(_0x5e7590){const _0x315eaf={_0x83fca3:0x36c,_0x2ba86b:0x224,_0x58ff00:0x3a2,_0x5ac1ab:0x2c2,_0x53e9c3:0x3c4,_0x1fab4a:0x3d8,_0x3ee02b:0x5dd},_0x34b120={_0x4ee64f:0x137,_0x268110:0x210},_0x41b3e1={_0x1b11d5:0xfc};function _0x113eee(_0x3b0b95,_0x2ca769,_0x1eef62,_0xb2c64d){return _0x2389b1(_0x3b0b95-_0x41b3e1._0x1b11d5,_0x2ca769-0xd5,_0x1eef62,_0xb2c64d- -0x161);}function _0x300561(_0x4997e7,_0x4b1fd0,_0x212f4c,_0x279c89){return _0x2389b1(_0x4997e7-_0x34b120._0x4ee64f,_0x4b1fd0-0xd7,_0x212f4c,_0x4997e7- -_0x34b120._0x268110);}return _0x5e7590[_0x300561(0x329,_0x315eaf._0x83fca3,0x4ae,_0x315eaf._0x2ba86b)](/[^a-zA-Z0-9_]+/g,'_')[_0x113eee(_0x315eaf._0x58ff00,_0x315eaf._0x5ac1ab,_0x315eaf._0x53e9c3,_0x315eaf._0x1fab4a)](/^_+|_+$/g,'')||_0x113eee(0x451,0x5b3,_0x315eaf._0x3ee02b,0x580);}function storagePath(_0x4a1bed){const _0x1f5b70={_0x3fd68a:0xcd,_0x8c6097:0x52,_0x3d53f2:0x25b,_0x2d3528:0x11d,_0x323971:0x142,_0x31498f:0xef},_0x1d3e15={_0x1a383d:0x1dd,_0x3198f0:0x6},_0x4cdab2={_0xf590d6:0x19d,_0x96681e:0xba};function _0x19cc8f(_0x567425,_0x87986,_0x2d98cc,_0xf6b793){return _0x5da4fe(_0x87986-_0x4cdab2._0xf590d6,_0x87986-_0x4cdab2._0x96681e,_0x567425,_0xf6b793-0x10e);}function _0x48bd28(_0x37b061,_0x278c1d,_0x3bd082,_0x5575de){return _0x2389b1(_0x37b061-_0x1d3e15._0x1a383d,_0x278c1d-_0x1d3e15._0x3198f0,_0x278c1d,_0x37b061- -0x64a);}const _0x2f39a1=sanitizeStorageKey(_0x4a1bed[_0x48bd28(_0x1f5b70._0x3fd68a,_0x1f5b70._0x8c6097,_0x1f5b70._0x3d53f2,-0x6)][_0x48bd28(-0x135,-0x1f2,-0x239,-0x270)]?.[_0x48bd28(-0x6c,-_0x1f5b70._0x2d3528,_0x1f5b70._0x323971,-0xef)]??_0x4a1bed[_0x19cc8f(0x5d0,0x442,0x46d,0x462)]);return _0x6d765f(_0x4a1bed[_0x48bd28(_0x1f5b70._0x31498f,0x5a,-0x22,-0x4f)],_0x2f39a1+'.json');}async function readStore(_0x827ba8){const _0x10200f={_0xbdb2c7:0x169,_0xd1eed6:0x24c,_0x3f1c0f:0x303,_0x1e4b79:0x226,_0x405278:0x124,_0x16c78d:0xa8,_0x156d1e:0x259},_0xc3f9b1={_0x275401:0xe4,_0x1661c3:0x166},_0x55484d={_0x4eaba5:0x1d9};function _0x29901e(_0x402e15,_0x43712f,_0x1af07e,_0x39a7a0){return _0x5da4fe(_0x1af07e-_0x55484d._0x4eaba5,_0x43712f-0xa3,_0x402e15,_0x39a7a0-0x3d);}function _0x994b7a(_0x477f59,_0x52f07e,_0x2e3cfc,_0x3ad8b3){return _0x5da4fe(_0x3ad8b3- -0x40d,_0x52f07e-_0xc3f9b1._0x275401,_0x2e3cfc,_0x3ad8b3-_0xc3f9b1._0x1661c3);}try{return JSON['parse'](await _0x28da05(_0x827ba8,_0x994b7a(-0x27a,-0x322,-_0x10200f._0xbdb2c7,-0x297)));}catch(_0x1cd344){if(_0x1cd344 instanceof Error&&'code'in _0x1cd344&&_0x1cd344[_0x994b7a(-_0x10200f._0xd1eed6,-0x305,-_0x10200f._0x3f1c0f,-_0x10200f._0x1e4b79)]===_0x994b7a(-_0x10200f._0x405278,-_0x10200f._0x16c78d,-0x3d8,-_0x10200f._0x156d1e))return{};throw _0x1cd344;}}async function writeStore(_0x5878e9,_0x5b130a){const _0x4d1ce1={_0xd1b015:0x2be,_0x435f71:0x2a5,_0x44a0c4:0x365,_0x23fd62:0x486},_0x5e2c81={_0x4a5961:0x1da,_0x4db19d:0x24},_0x225727={_0x4c291b:0x6b,_0x56307f:0x159};await _0x40ccbd(_0x6d765f(_0x5878e9,'..'),{'recursive':!![]});function _0x20bcc9(_0x5b5799,_0x5be666,_0xee010,_0x1bf551){return _0x5da4fe(_0x1bf551- -_0x225727._0x4c291b,_0x5be666-0x70,_0x5b5799,_0x1bf551-_0x225727._0x56307f);}function _0x499000(_0x4014be,_0x387a79,_0x5c152b,_0x53ec08){return _0x2389b1(_0x4014be-_0x5e2c81._0x4a5961,_0x387a79-0xd5,_0x387a79,_0x4014be- -_0x5e2c81._0x4db19d);}await _0x414b90(_0x5878e9,JSON[_0x20bcc9(0x266,_0x4d1ce1._0xd1b015,_0x4d1ce1._0x435f71,0x232)](_0x5b130a,null,0x2),_0x499000(0x4a7,_0x4d1ce1._0x44a0c4,0x4c9,_0x4d1ce1._0x23fd62));}async function updateStore(_0xe9751,_0x3e9ed4){const _0x5a87d4=await readStore(_0xe9751);_0x3e9ed4(_0x5a87d4),await writeStore(_0xe9751,_0x5a87d4);}function createMcpOAuthProvider(_0x4c63e0){const _0x12605f={_0x5d0013:0x3f,_0x4f5cf0:0x3b,_0x5411a0:0x204,_0x30a0d9:0xc6,_0xb846f8:0x443,_0x310f79:0x249,_0x361b90:0x12d,_0x1d4589:0xa2,_0x37dcd2:0x84,_0x26be93:0x1aa,_0x432649:0x7d,_0x5c9a11:0x16b,_0x329103:0x6d,_0x23c005:0xfa,_0x5bfcc7:0x53},_0x5be0df={_0x24539c:0x34a,_0x18c5ba:0x4d6,_0x308139:0x34d},_0x9f34f1={_0x2b7cc9:0x3be,_0x340d61:0x1d2,_0x433aa9:0x27f,_0x405cf2:0x404,_0x4bee3a:0x3dd,_0x5dc029:0x465,_0xf90d71:0x3aa,_0x1182bb:0x111,_0x50b06d:0x2b1,_0x17694c:0x2f3,_0x3e5032:0x3cc,_0x41148c:0x297,_0x3c3bdc:0x440,_0x24f554:0x50c},_0x3f5d28={_0x75304e:0x1d9,_0x5efda0:0x92,_0x57e7f8:0x3f,_0x409139:0xba},_0x3f8e9f={_0x25615b:0x3ba},_0x3e65b2={_0x3553c0:0x12d},_0x89aa41={_0x2093ee:0x123},_0xc57849={_0x15fb8c:0x3a9,_0x315662:0x259},_0x3f2ee5={_0x15f325:0x3eb,_0xc1aa2a:0x208},_0xa230cd={_0x4da5f4:0x19e,_0x19856a:0xe8},_0x401c79={_0x55b44d:0x7c,_0x1ce5f2:0x97,_0x4fca7a:0x104},_0x135567={_0x2142c7:0x1b7},_0x2f358a={_0x50a323:0x6b3,_0x10aaea:0x4e8,_0x8a1088:0x24c,_0x5e9db4:0x33e,_0x34eeb4:0x27b},_0x278263={_0x9476b3:0x4a,_0x50b815:0x178},_0xda3340={_0x4babd2:0x87,_0x2c4c75:0xb8,_0x16fb32:0xc9},_0x49c253={_0x1dfd72:0x60,_0x298f46:0x62},_0x2933c2={_0x341d0c:0xf6,_0x4c6151:0x116,_0x161885:0x50a},_0x215948={_0x153d88:0x1da,_0x34fae0:0x752},_0x132d5c=storagePath(_0x4c63e0),_0x3355b0=_0x4c63e0[_0x417fba(-0x142,0x121,_0x12605f._0x5d0013,-_0x12605f._0x4f5cf0)][_0x417fba(-_0x12605f._0x5411a0,-0x37d,-_0x12605f._0x30a0d9,-0x23d)]?.['scopes']?.[_0x417fba(-_0x12605f._0xb846f8,-_0x12605f._0x310f79,-0x348,-0x28c)]('\x20');function _0x417fba(_0x5b49ea,_0x487a2b,_0x756656,_0x1e2fd8){return _0x2389b1(_0x5b49ea-0x34,_0x487a2b-_0x215948._0x153d88,_0x487a2b,_0x1e2fd8- -_0x215948._0x34fae0);}const _0x17217b={'client_name':_0x417fba(_0x12605f._0x361b90,-0xeb,0x9d,_0x12605f._0x1d4589),'redirect_uris':[_0x4c63e0[_0x3714fd(_0x12605f._0x37dcd2,-0x18,0xe0,-0x4c)]],'grant_types':['authorization_code',_0x3714fd(_0x12605f._0x26be93,0x397,0x24c,0x327)],'response_types':['code'],'token_endpoint_auth_method':_0x417fba(_0x12605f._0x432649,0xb,0x40,0x3a),..._0x3355b0?{'scope':_0x3355b0}:{}};function _0x3714fd(_0x29c4aa,_0x3f3b86,_0x2ed9df,_0x3947be){return _0x2389b1(_0x29c4aa-_0x2933c2._0x341d0c,_0x3f3b86-_0x2933c2._0x4c6151,_0x3947be,_0x2ed9df- -_0x2933c2._0x161885);}return{'clientMetadataUrl':_0x4c63e0[_0x417fba(0x5,-0x24,-_0x12605f._0x5c9a11,-0x3b)][_0x3714fd(-_0x12605f._0x329103,0x171,0xb,_0x12605f._0x23c005)]?.[_0x3714fd(-0x163,-_0x12605f._0x5bfcc7,0x1f,0x7e)],get 'redirectUrl'(){function _0xb19c9b(_0x50ba17,_0x256bb1,_0x635eef,_0x2de6a2){return _0x3714fd(_0x50ba17-_0x49c253._0x1dfd72,_0x256bb1-0x15a,_0x50ba17- -_0x49c253._0x298f46,_0x635eef);}return _0x4c63e0[_0xb19c9b(0x7e,-_0xda3340._0x4babd2,-_0xda3340._0x2c4c75,_0xda3340._0x16fb32)];},get 'clientMetadata'(){return _0x17217b;},async 'state'(){const _0x269adc={_0x461423:0xb3,_0x4152aa:0x51},_0x14eedd=await readStore(_0x132d5c);function _0x31b71f(_0x57c42c,_0x5a5265,_0x40528c,_0xd24899){return _0x3714fd(_0x57c42c-0x170,_0x5a5265-_0x278263._0x9476b3,_0x5a5265-_0x278263._0x50b815,_0x57c42c);}if(_0x14eedd[_0x308642(0x5b5,0x529,_0x2f358a._0x50a323,_0x2f358a._0x10aaea)])return _0x14eedd[_0x31b71f(_0x2f358a._0x8a1088,_0x2f358a._0x5e9db4,0x394,_0x2f358a._0x34eeb4)];function _0x308642(_0x3c66f8,_0x1395a7,_0x11dea0,_0x5645c6){return _0x3714fd(_0x3c66f8-_0x269adc._0x461423,_0x1395a7-_0x269adc._0x4152aa,_0x1395a7-0x363,_0x5645c6);}const _0x268c54=_0x5a9996();return await updateStore(_0x132d5c,_0x46259a=>{_0x46259a['state']=_0x268c54;}),_0x268c54;},async 'clientInformation'(){function _0x18dfdc(_0x5ed43f,_0x2d8f73,_0x363fa8,_0x3e2472){return _0x3714fd(_0x5ed43f-_0x135567._0x2142c7,_0x2d8f73-0xa2,_0x3e2472- -0x69,_0x5ed43f);}return(await readStore(_0x132d5c))[_0x18dfdc(-_0x401c79._0x55b44d,0x124,_0x401c79._0x1ce5f2,_0x401c79._0x4fca7a)];},async 'saveClientInformation'(_0x1cf904){await updateStore(_0x132d5c,_0x9a965a=>{_0x9a965a['clientInformation']=_0x1cf904;});},async 'tokens'(){function _0x125d81(_0x5ed26b,_0xfc9297,_0x3b9583,_0x1c7073){return _0x3714fd(_0x5ed26b-_0xa230cd._0x4da5f4,_0xfc9297-_0xa230cd._0x19856a,_0x1c7073-0x1b7,_0x5ed26b);}return(await readStore(_0x132d5c))[_0x125d81(_0x3f2ee5._0x15f325,0x369,_0x3f2ee5._0xc1aa2a,0x2c9)];},async 'saveTokens'(_0xb24889){await updateStore(_0x132d5c,_0x260c01=>{function _0x3b8add(_0x259fd2,_0x346039,_0x38be8b,_0x6da1c1){return _0x102a(_0x346039-0x114,_0x259fd2);}_0x260c01[_0x3b8add(0x501,_0xc57849._0x15fb8c,0x2b3,_0xc57849._0x315662)]=_0xb24889;});},async 'redirectToAuthorization'(_0x40744a){function _0x5da41c(_0x56cb36,_0x18fc09,_0x7b2efa,_0x2e47f0){return _0x3714fd(_0x56cb36-0x73,_0x18fc09-0x1d,_0x2e47f0-0x94,_0x56cb36);}await _0x4c63e0[_0x5da41c(0x236,0x209,0x1ff,_0x89aa41._0x2093ee)](_0x40744a);},async 'saveCodeVerifier'(_0x547641){const _0x578358={_0x5400e0:0x122};await updateStore(_0x132d5c,_0x25297c=>{function _0x3de165(_0x33e20f,_0x95498,_0x23ecaa,_0x26c7f0){return _0x102a(_0x23ecaa-_0x578358._0x5400e0,_0x26c7f0);}_0x25297c[_0x3de165(_0x3e65b2._0x3553c0,0xe7,0x270,0x140)]=_0x547641;});},async 'codeVerifier'(){const _0x2bf83f=(await readStore(_0x132d5c))[_0x59cc06(_0x3f5d28._0x75304e,-_0x3f5d28._0x5efda0,_0x3f5d28._0x57e7f8,0x48)];function _0x3c0e31(_0xc27423,_0xa477d1,_0x4d6d72,_0x311858){return _0x417fba(_0xc27423-0x38,_0x311858,_0x4d6d72-0x62,_0x4d6d72-_0x3f8e9f._0x25615b);}function _0x59cc06(_0x39f934,_0x1e29e7,_0x38b8d6,_0x5e4c14){return _0x3714fd(_0x39f934-0xb1,_0x1e29e7-0x1a0,_0x38b8d6-0x74,_0x1e29e7);}if(!_0x2bf83f)throw new Error(_0x59cc06(_0x3f5d28._0x409139,0x348,0x243,0x2c2));return _0x2bf83f;},async 'invalidateCredentials'(_0x19ea1d){const _0x1863c7={_0x50c365:0x108},_0x16ba09={_0x2d0fda:0x11};await updateStore(_0x132d5c,_0x36730a=>{(_0x19ea1d===_0x3c3e90(_0x9f34f1._0x2b7cc9,_0x9f34f1._0x340d61,_0x9f34f1._0x433aa9,_0x9f34f1._0x405cf2)||_0x19ea1d===_0x3c3e90(0x621,_0x9f34f1._0x4bee3a,_0x9f34f1._0x5dc029,_0x9f34f1._0xf90d71))&&(_0x36730a['clientInformation']=void 0x0);function _0x3c3e90(_0x1f7080,_0x27f6fa,_0x4cc5ee,_0x57a48d){return _0x102a(_0x4cc5ee-_0x16ba09._0x2d0fda,_0x57a48d);}function _0x1faa5c(_0x31c851,_0x5adf05,_0x31a24f,_0x25f95a){return _0x102a(_0x25f95a-_0x1863c7._0x50c365,_0x5adf05);}(_0x19ea1d==='all'||_0x19ea1d==='tokens')&&(_0x36730a[_0x3c3e90(_0x9f34f1._0x1182bb,0x29d,0x2a6,_0x9f34f1._0x50b06d)]=void 0x0),(_0x19ea1d===_0x1faa5c(_0x9f34f1._0x17694c,_0x9f34f1._0x3e5032,_0x9f34f1._0x41148c,0x376)||_0x19ea1d==='verifier')&&(_0x36730a[_0x1faa5c(0x23a,0x126,0x331,0x256)]=void 0x0,_0x36730a[_0x3c3e90(0x261,_0x9f34f1._0x3c3bdc,0x35a,_0x9f34f1._0x24f554)]=void 0x0),(_0x19ea1d==='all'||_0x19ea1d==='discovery')&&(_0x36730a['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x119182){await updateStore(_0x132d5c,_0x5146d5=>{_0x5146d5['discoveryState']=_0x119182;});},async 'discoveryState'(){function _0x4394e2(_0x28999e,_0x11fa75,_0x266c63,_0x45e9ce){return _0x3714fd(_0x28999e-0x5e,_0x11fa75-0x180,_0x266c63-0xb2,_0x45e9ce);}return(await readStore(_0x132d5c))[_0x4394e2(_0x5be0df._0x24539c,_0x5be0df._0x18c5ba,0x3cf,_0x5be0df._0x308139)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x5da4fe(0x1c4,0x100,0x1b5,0x33b),'message':_0x3a8e4e=>_0x2389b1(0x67f,0x545,0x722,0x638)+_0x3a8e4e+_0x2389b1(0x6c3,0x45b,0x60f,0x54e)},'connect':{'code':_0x2389b1(0x704,0x71a,0x456,0x5f8),'message':_0x3c5fb0=>_0x5da4fe(0x2e3,0x344,0x197,0x388)+_0x3c5fb0+'\x20failed\x20to\x20connect'},'discover':{'code':'mcp-discovery-failed','message':_0x453f21=>'MCP\x20server\x20'+_0x453f21+_0x5da4fe(0x2ca,0x1d9,0x1cc,0x3f3)},'toolCall':{'code':'mcp-tool-call-failed','message':_0x561502=>'MCP\x20server\x20'+_0x561502+_0x2389b1(0x6e6,0x634,0x5b2,0x6f3)}},timeoutMessageByOperation={'close':_0x3c1352=>_0x2389b1(0x6a9,0x7d7,0x704,0x638)+_0x3c1352+_0x5da4fe(0x2f4,0x3ea,0x1af,0x151),'connect':_0x2c2967=>_0x5da4fe(0x2e3,0x2c1,0x14e,0x19e)+_0x2c2967+_0x5da4fe(0x238,0x280,0x1f0,0x1cd),'discover':_0x5f2602=>_0x2389b1(0x622,0x4c6,0x7ed,0x638)+_0x5f2602+_0x5da4fe(0x3c5,0x4ef,0x2f6,0x36b),'toolCall':_0x266068=>_0x5da4fe(0x2e3,0x211,0x286,0x3eb)+_0x266068+_0x2389b1(0x68f,0x967,0x82e,0x7c0)};function toMcpSafeError(_0x3cb7c3){const _0x974c87={_0x45303f:0x452,_0x485968:0x4ed,_0x160497:0x3b9,_0x1245a7:0x14b,_0x1b60b5:0x3fc,_0x26d850:0x2e5,_0x1bfa63:0x4fd,_0x1525bf:0x388,_0x177c32:0x206,_0xb74896:0x4b8,_0x4da14:0x2e,_0x422ada:0x41b,_0x4284b7:0x94,_0x30b43e:0xcf,_0xb32776:0x274,_0x38e1e3:0x454,_0x1cf5c0:0x216,_0x2e5723:0x124,_0x5e15bf:0x32c,_0x1bae3f:0x36f,_0x4a82a8:0x20c,_0x1d9e3a:0x15c,_0x1a3b0b:0x23,_0x528fbf:0x240},_0x36db50={_0x1cad7a:0xdf,_0x42b224:0x272},_0x2d7bcf={_0x37ac7e:0x519};if(_0x3cb7c3[_0x48aea9(_0x974c87._0x45303f,0x3e7,_0x974c87._0x485968,0x44b)]instanceof UnauthorizedError)return Object['freeze']({'code':_0x9576b(0x385,0x265,_0x974c87._0x160497,_0x974c87._0x1245a7),'message':_0x48aea9(0x54d,0x273,0x3c6,_0x974c87._0x1b60b5)+_0x3cb7c3[_0x48aea9(_0x974c87._0x26d850,_0x974c87._0x1bfa63,_0x974c87._0x1525bf,_0x974c87._0x177c32)]+'\x20requires\x20authentication'});function _0x9576b(_0x3c351b,_0x5a1ecb,_0x190795,_0x2474e1){return _0x2389b1(_0x3c351b-0x21,_0x5a1ecb-0x99,_0x3c351b,_0x5a1ecb- -_0x2d7bcf._0x37ac7e);}if(_0x3cb7c3[_0x48aea9(0x4b6,0x634,0x4ed,_0x974c87._0xb74896)]instanceof McpError&&_0x3cb7c3['error'][_0x9576b(_0x974c87._0x4da14,0x23,-0x17c,-0x10a)]===ErrorCode[_0x48aea9(0x3ff,_0x974c87._0x422ada,0x5a0,0x6b8)])return Object[_0x9576b(_0x974c87._0x4284b7,0xc8,_0x974c87._0x30b43e,0x27b)]({'code':_0x9576b(0x7e,0x20e,_0x974c87._0xb32776,0x378),'message':timeoutMessageByOperation[_0x3cb7c3[_0x48aea9(0x35b,0x523,_0x974c87._0x38e1e3,0x5de)]](_0x3cb7c3[_0x9576b(_0x974c87._0x1cf5c0,0xe1,_0x974c87._0x2e5723,0x98)])});const _0x48ccdc=failureByOperation[_0x3cb7c3[_0x9576b(0x126,0x1ad,0x2f,_0x974c87._0x5e15bf)]];function _0x48aea9(_0x23cd5a,_0x55d575,_0x185d53,_0x11834c){return _0x2389b1(_0x23cd5a-0x109,_0x55d575-_0x36db50._0x1cad7a,_0x11834c,_0x185d53- -_0x36db50._0x42b224);}return Object[_0x48aea9(0x2d9,0x448,_0x974c87._0x1bae3f,_0x974c87._0x4a82a8)]({'code':_0x48ccdc[_0x9576b(_0x974c87._0x1d9e3a,_0x974c87._0x1a3b0b,-0x117,-0x19)],'message':_0x48ccdc['message'](_0x3cb7c3[_0x48aea9(_0x974c87._0x528fbf,0x538,0x388,0x3fc)])});}function redactMcpDiagnostic(_0x1b3bac,_0x264352){const _0x29bbc9={_0x494967:0x6a3,_0xa366f4:0x55f,_0x1a5ffb:0x194,_0x46f95b:0x269,_0x2d466c:0x604,_0x1b918:0x2e1,_0x1023da:0x478,_0x46ae27:0x28e,_0x198949:0x1b0,_0x111c44:0x3b8,_0x1bb06d:0x19c,_0x2132d7:0x686,_0x24d050:0x439,_0x57b61e:0x60f,_0x110689:0x701,_0x9bb466:0x67b},_0x27e449={_0x4dea82:0xa3,_0x433be7:0x53b},_0xcd4cf5={_0xa34f6f:0x20f};function _0x514628(_0x18bcda,_0x5562b3,_0x494b85,_0x3d974b){return _0x2389b1(_0x18bcda-0x1c3,_0x5562b3-0x60,_0x3d974b,_0x5562b3- -_0xcd4cf5._0xa34f6f);}const _0x2e645b=[...new Set(_0x264352[_0x514628(0x4d3,0x5e3,_0x29bbc9._0x494967,_0x29bbc9._0xa366f4)](_0x37ae47=>_0x37ae47[_0x514628(0x7c2,0x60d,0x74f,0x7ac)]>0x0))][_0x4e08c3(0x25b,_0x29bbc9._0x1a5ffb,_0x29bbc9._0x46f95b,0xe9)]((_0x14528c,_0x2b710a)=>_0x2b710a[_0x4e08c3(0x2e1,0x14d,0x2b3,0x214)]-_0x14528c['length']);if(_0x1b3bac[_0x514628(_0x29bbc9._0x2d466c,0x60d,0x633,0x47d)]===0x0||_0x2e645b[_0x4e08c3(_0x29bbc9._0x1b918,0x426,_0x29bbc9._0x1023da,_0x29bbc9._0x46ae27)]===0x0)return _0x1b3bac;let _0x362bbd='',_0x137d70=0x0;while(_0x137d70<_0x1b3bac[_0x4e08c3(_0x29bbc9._0x1b918,_0x29bbc9._0x198949,_0x29bbc9._0x111c44,_0x29bbc9._0x1bb06d)]){const _0x2752c6=_0x2e645b[_0x4e08c3(0x88,0x21f,0x10e,-0xe7)](_0xe3a1ce=>_0x1b3bac[_0x4e08c3(0x8e,-0xad,0x163,0x19c)](_0xe3a1ce,_0x137d70));_0x2752c6?(_0x362bbd+=_0x514628(_0x29bbc9._0x2132d7,0x5ef,_0x29bbc9._0x24d050,_0x29bbc9._0x57b61e),_0x137d70+=_0x2752c6[_0x514628(_0x29bbc9._0x110689,0x60d,_0x29bbc9._0x9bb466,0x459)]):(_0x362bbd+=_0x1b3bac[_0x137d70],_0x137d70+=0x1);}function _0x4e08c3(_0x4d53ae,_0x3804d7,_0x5129fb,_0x1d1e32){return _0x2389b1(_0x4d53ae-0x10b,_0x3804d7-_0x27e449._0x4dea82,_0x1d1e32,_0x4d53ae- -_0x27e449._0x433be7);}return _0x362bbd;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x12ed35){const _0x506b3c={_0x30a1ab:0x54},_0x44a679={_0x51a213:0x1e6,_0x25619c:0x80};function _0xabdb73(_0x5cc23a,_0x345e04,_0x3104dd,_0x27a427){return _0x2389b1(_0x5cc23a-_0x44a679._0x51a213,_0x345e04-_0x44a679._0x25619c,_0x3104dd,_0x5cc23a- -0x6f4);}return typeof _0x12ed35==='object'&&_0x12ed35!==null||typeof _0x12ed35===_0xabdb73(0x16,0xb7,-0xa6,_0x506b3c._0x30a1ab);}function createOwnedMcpSafeError(_0x48b89b){const _0x243480={_0x230de8:0x91,_0x55b1e4:0x2f,_0x2b0a1d:0x1b3,_0x365ecd:0x75,_0x30e0f9:0x155,_0xe4559d:0x170},_0x5d801e={_0x23440e:0x1d1,_0x3ca2cf:0x4a8},_0x50b4d6=toMcpSafeError(_0x48b89b),_0x25196f=Object[_0x37d809(-0x23f,-_0x243480._0x230de8,-0x87,_0x243480._0x55b1e4)]({'code':_0x50b4d6[_0x1cbbd1(0x94,0x140,0x4e,-0x106)],'message':_0x50b4d6[_0x1cbbd1(_0x243480._0x2b0a1d,0x15f,0x30d,_0x243480._0x365ecd)]});function _0x1cbbd1(_0x1aa0be,_0x62b579,_0x4f9824,_0x16440b){return _0x2389b1(_0x1aa0be-_0x5d801e._0x23440e,_0x62b579-0x16d,_0x62b579,_0x1aa0be- -_0x5d801e._0x3ca2cf);}function _0x37d809(_0x111395,_0x59f05d,_0x53d688,_0x338fd1){return _0x2389b1(_0x111395-0x11b,_0x59f05d-0x1ca,_0x338fd1,_0x53d688- -0x668);}return ownedMcpSafeErrors[_0x1cbbd1(_0x243480._0x30e0f9,0x43,0x210,_0x243480._0xe4559d)](_0x50b4d6,_0x25196f),_0x50b4d6;}function extractOwnedMcpSafeError(_0x4c7786){const _0x364ad2={_0x23ed6f:0x367,_0x14c1ed:0x2aa,_0x58df66:0x37a,_0x250d7b:0x2b9,_0x1870ff:0x1db,_0x426904:0x238,_0x5a0019:0xf3},_0x9451fa={_0x13af41:0x149},_0x24602c={_0x354bfd:0x4d};if(!isWeakMapKey(_0x4c7786))return void 0x0;const _0x20fd53=ownedMcpSafeErrors[_0x37790d(0x201,_0x364ad2._0x23ed6f,0xf6,_0x364ad2._0x14c1ed)](_0x4c7786);if(!_0x20fd53)return void 0x0;function _0x2db4eb(_0x36dc13,_0x567f9e,_0x592e1b,_0x47bb3b){return _0x5da4fe(_0x592e1b- -0x70,_0x567f9e-0x162,_0x47bb3b,_0x47bb3b-_0x24602c._0x354bfd);}function _0x37790d(_0x1d2300,_0x5493d0,_0x2c6b8d,_0x18c543){return _0x5da4fe(_0x1d2300- -0xde,_0x5493d0-_0x9451fa._0x13af41,_0x2c6b8d,_0x18c543-0x1a3);}const _0x5caa11=Object['freeze']({'code':_0x20fd53['code'],'message':_0x20fd53[_0x2db4eb(0x1bd,_0x364ad2._0x58df66,0x296,_0x364ad2._0x250d7b)]});return ownedMcpSafeErrors[_0x2db4eb(0x9b,_0x364ad2._0x1870ff,_0x364ad2._0x426904,_0x364ad2._0x5a0019)](_0x5caa11,_0x20fd53),_0x5caa11;}function ownValue(_0x10f74d,_0x2897fd){const _0xd47e46={_0x13b13c:0x499,_0x58579c:0x239,_0x2005c2:0x227},_0x5299e7={_0xc7e2c9:0x62};function _0x51e284(_0x1dad3a,_0x410b12,_0x55929e,_0x232001){return _0x5da4fe(_0x1dad3a- -0xd0,_0x410b12-_0x5299e7._0xc7e2c9,_0x55929e,_0x232001-0x17d);}return _0x10f74d&&Object[_0x51e284(0x37f,_0xd47e46._0x13b13c,_0xd47e46._0x58579c,_0xd47e46._0x2005c2)](_0x10f74d,_0x2897fd)?_0x10f74d[_0x2897fd]:void 0x0;}function _0x5da4fe(_0x3df344,_0x3a6f58,_0x2738d3,_0x214344){const _0x209e8c={_0x2366c2:0x32};return _0x102a(_0x3df344-_0x209e8c._0x2366c2,_0x2738d3);}function isToolPermissionClass(_0x55f7b0){const _0x54c01b={_0x29d9c4:0x487,_0x3f57e9:0x58f,_0x4b6206:0x623},_0x25d56b={_0x1ea85f:0x19b,_0x5f521a:0x7b};function _0x30d9df(_0x1a2b35,_0x16d0ec,_0x44da9e,_0x4dfaf7){return _0x5da4fe(_0x16d0ec-_0x25d56b._0x1ea85f,_0x16d0ec-_0x25d56b._0x5f521a,_0x1a2b35,_0x4dfaf7-0x1bd);}return _0x55f7b0==='read'||_0x55f7b0==='write'||_0x55f7b0===_0x30d9df(0x590,_0x54c01b._0x29d9c4,_0x54c01b._0x3f57e9,_0x54c01b._0x4b6206);}function suggestedPermissionClass(_0x42f68c){const _0x33309a={_0x82ced8:0x38e,_0x3d9b83:0x265,_0x27547b:0x395,_0x3690da:0x309},_0x362b9b={_0x5af073:0x8e},_0x50a741={_0x5ca416:0x45,_0x3000c9:0x2d4};function _0x43fc00(_0x2aa3f9,_0x26dd9a,_0xca8a23,_0x3feba2){return _0x2389b1(_0x2aa3f9-_0x50a741._0x5ca416,_0x26dd9a-0x188,_0x2aa3f9,_0xca8a23- -_0x50a741._0x3000c9);}const _0x3d07a3=_0x42f68c['annotations']?.[_0x42074c(0x4ea,0x4b1,_0x33309a._0x82ced8,0x3c0)];if(_0x3d07a3===!![])return _0x43fc00(0x472,_0x33309a._0x3d9b83,_0x33309a._0x27547b,0x45a);if(_0x3d07a3===![])return _0x43fc00(0x1f8,_0x33309a._0x3690da,0x31d,0x444);function _0x42074c(_0x2ad4b0,_0x572e8f,_0x192d5c,_0x35dbf7){return _0x2389b1(_0x2ad4b0-0x14,_0x572e8f-_0x362b9b._0x5af073,_0x2ad4b0,_0x192d5c- -0x190);}return void 0x0;}function isJsonValue(_0x1582c1){const _0x48c44f={_0x247b20:0x4cb,_0x1a1686:0x60c,_0x286c75:0x6c2,_0x559fb0:0x14f,_0xdbdc73:0x1bf,_0x249f6a:0x270,_0x215041:0x424,_0x12469a:0x632,_0x2acb2b:0x59a},_0x14b649={_0x5b8cfa:0x97,_0x564f51:0x457},_0x748997={_0x41628b:0x15b,_0x4cd0fc:0x11a};function _0x45797d(_0x1c9c62,_0x518006,_0x1132fc,_0x318567){return _0x2389b1(_0x1c9c62-_0x748997._0x41628b,_0x518006-0xdc,_0x1c9c62,_0x318567- -_0x748997._0x4cd0fc);}if(_0x1582c1===null||typeof _0x1582c1===_0x45797d(0x662,0x46b,0x493,_0x48c44f._0x247b20)||typeof _0x1582c1===_0x45797d(0x73a,_0x48c44f._0x1a1686,_0x48c44f._0x286c75,0x641)||typeof _0x1582c1===_0x2e4522(_0x48c44f._0x559fb0,_0x48c44f._0xdbdc73,_0x48c44f._0x249f6a,0x4a))return!![];function _0x2e4522(_0x4a7b85,_0x210770,_0xdfb1f5,_0x2c8ddf){return _0x2389b1(_0x4a7b85-0x190,_0x210770-_0x14b649._0x5b8cfa,_0x2c8ddf,_0x4a7b85- -_0x14b649._0x564f51);}if(Array[_0x45797d(0x3e7,_0x48c44f._0x215041,_0x48c44f._0x12469a,_0x48c44f._0x2acb2b)](_0x1582c1))return _0x1582c1['every'](isJsonValue);if(!isObject(_0x1582c1))return![];return Object['values'](_0x1582c1)['every'](isJsonValue);}function projectMcpTools(_0x3edd65){const _0x3fd6bc={_0x5917f7:0x264,_0x158d29:0x281,_0x808e41:0x19f,_0x22d246:0x1d,_0x4b237b:0x3af,_0x546972:0x288,_0x20d888:0x397,_0x2fc9ad:0x112,_0x3b5fb9:0x12a,_0x421352:0x263,_0x13e315:0x2ea,_0xf9d460:0x1f9,_0x5e9add:0x1c2,_0x4d85c4:0x271,_0x5e0695:0x222,_0xa516c:0x380,_0x5d81a7:0x5,_0x46c3a7:0x11a,_0x47a395:0xcb,_0x4683c1:0x209,_0x13c6ec:0x54c,_0x588839:0x3fa,_0x4619f1:0x3ee},_0x3d1b68={_0x771ff3:0xe9,_0x592bc6:0x1d0},_0x49bf72={_0x438210:0x1d8},_0x2e807b=[],_0x5446f6=[];for(const _0xeedf8e of _0x3edd65[_0x4674c4(0x154,0x235,_0x3fd6bc._0x5917f7,_0x3fd6bc._0x158d29)]){const _0x15a0bd=ownValue(_0x3edd65[_0x42e77a(_0x3fd6bc._0x808e41,0x1c8,0x26e,_0x3fd6bc._0x22d246)],_0xeedf8e[_0x4674c4(_0x3fd6bc._0x4b237b,_0x3fd6bc._0x546972,_0x3fd6bc._0x20d888,0x3fb)]),_0x2bcd73=isToolPermissionClass(_0x15a0bd)?_0x15a0bd:void 0x0,_0x27551c=_0x2bcd73??_0x42e77a(_0x3fd6bc._0x2fc9ad,0x257,0xb0,_0x3fd6bc._0x3b5fb9),_0x55411c=suggestedPermissionClass(_0xeedf8e);_0x5446f6['push']({'name':_0xeedf8e[_0x42e77a(_0x3fd6bc._0x421352,0x3af,0x28a,0x322)],..._0xeedf8e[_0x42e77a(0x50,0x10b,0x146,0x113)]!==void 0x0?{'description':_0xeedf8e[_0x4674c4(0x19c,_0x3fd6bc._0x13e315,0x130,_0x3fd6bc._0xf9d460)]}:{},...isJsonValue(_0xeedf8e['inputSchema'])?{'inputSchema':_0xeedf8e[_0x4674c4(_0x3fd6bc._0x5e9add,0x2fc,0x143,0xbe)]}:{},'permissionClass':_0x27551c,'permissionConfigured':_0x2bcd73!==void 0x0,..._0x55411c!==void 0x0?{'suggestedPermissionClass':_0x55411c}:{}});if(ownValue(_0x3edd65[_0x42e77a(0x210,0x14d,_0x3fd6bc._0x4d85c4,0x264)],_0xeedf8e[_0x42e77a(0x263,_0x3fd6bc._0x5e0695,0x249,0x3bc)])===![])continue;_0x2e807b[_0x4674c4(0x263,0x1f8,_0x3fd6bc._0xa516c,0x211)](createMcpTool({'serverName':_0x3edd65[_0x42e77a(_0x3fd6bc._0x5d81a7,-_0x3fd6bc._0x46c3a7,-0xd2,0xe0)]??_0x3edd65[_0x42e77a(_0x3fd6bc._0x47a395,-0xcf,-0x74,_0x3fd6bc._0x4683c1)],'tool':_0xeedf8e,'client':_0x3edd65[_0x4674c4(0x3f8,_0x3fd6bc._0x13c6ec,_0x3fd6bc._0x588839,_0x3fd6bc._0x4619f1)],'permissionClass':_0x27551c,'internalLifecycle':_0x3edd65[_0x42e77a(-0x39,0x66,-0x14a,0x17f)]}));}function _0x42e77a(_0x4d85fb,_0x1aef2a,_0x53279c,_0x2e1377){return _0x5da4fe(_0x4d85fb- -0x1da,_0x1aef2a-_0x49bf72._0x438210,_0x1aef2a,_0x2e1377-0x1ea);}function _0x4674c4(_0x15d38f,_0x499cff,_0x55c15f,_0x2e200c){return _0x5da4fe(_0x15d38f- -0x8e,_0x499cff-_0x3d1b68._0x771ff3,_0x55c15f,_0x2e200c-_0x3d1b68._0x592bc6);}return{'tools':_0x2e807b,'descriptors':_0x5446f6};}function createMcpToolName(_0x2407f4,_0x43554e){const _0x8cc92f={_0x38de65:0xee};function _0x3c0e23(_0x1fbaf6,_0x5993e6,_0x4f8c51,_0x3b3a5a){return _0x5da4fe(_0x5993e6- -0x3e2,_0x5993e6-0x1ef,_0x1fbaf6,_0x3b3a5a-0x168);}const _0x10c487=_0x5ea696=>_0x5ea696['replace'](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'');return _0x3c0e23(-0x1b8,-0x49,_0x8cc92f._0x38de65,0x10f)+_0x10c487(_0x2407f4)+'_'+_0x10c487(_0x43554e);}function isObject(_0xfa14cb){const _0x38e9ff={_0x7e7e48:0x193,_0xc21e84:0x2d6},_0x40c3c3={_0x498a19:0xc6,_0x116870:0xff,_0x8b856f:0x54d};function _0x278ec2(_0x1c9225,_0x326128,_0x221a4b,_0x1cf7ab){return _0x2389b1(_0x1c9225-_0x40c3c3._0x498a19,_0x326128-_0x40c3c3._0x116870,_0x1c9225,_0x221a4b- -_0x40c3c3._0x8b856f);}return typeof _0xfa14cb===_0x278ec2(_0x38e9ff._0x7e7e48,0x24a,_0x38e9ff._0xc21e84,0x366)&&_0xfa14cb!==null&&!Array['isArray'](_0xfa14cb);}function toSupportedSchema(_0x311ecc){const _0x5e6499={_0x54cebb:0x5,_0x52c6ab:0x1f,_0x504d57:0x82,_0xcb151e:0x131,_0x16126a:0x2b4,_0x51899f:0xc8,_0x2bc0fd:0xd4,_0x2cff13:0x45,_0x2e7dea:0x178,_0x375fd7:0xf0,_0x10b22c:0x97,_0xa9d028:0x381,_0x57b222:0x157,_0x2be5d7:0x5e,_0x45eab7:0x170,_0x28cb8a:0x66,_0x4d5cde:0x1,_0x45eaae:0x21f},_0x2564fc={_0x32b4a5:0xbd},_0x2300c8={_0x8be59e:0x3c1,_0x254775:0x18e};function _0x392143(_0x3e883a,_0x436f2e,_0x4e0a85,_0x437617){return _0x5da4fe(_0x436f2e- -_0x2300c8._0x8be59e,_0x436f2e-_0x2300c8._0x254775,_0x437617,_0x437617-0x19f);}if(!isObject(_0x311ecc))return void 0x0;if(_0x311ecc[_0x14385d(0x4a,0x114,0x60,-_0x5e6499._0x54cebb)]===_0x14385d(-_0x5e6499._0x52c6ab,-0x4c,_0x5e6499._0x504d57,0x17b))return{'type':_0x392143(-0x1b6,-_0x5e6499._0xcb151e,-_0x5e6499._0x16126a,-0x283)};if(_0x311ecc[_0x392143(0x56,-_0x5e6499._0x51899f,_0x5e6499._0x2bc0fd,-0x94)]===_0x392143(0x1ab,_0x5e6499._0x2cff13,-_0x5e6499._0x2e7dea,0x132)||_0x311ecc[_0x392143(-0x32,-_0x5e6499._0x51899f,-_0x5e6499._0x375fd7,-_0x5e6499._0x10b22c)]===_0x14385d(0x215,0x34e,0x240,_0x5e6499._0xa9d028))return{'type':_0x14385d(_0x5e6499._0x57b222,0x215,0x9,-0x10)};function _0x14385d(_0x2c82d7,_0x17df64,_0x41f81e,_0x32228c){return _0x5da4fe(_0x2c82d7- -0x2af,_0x17df64-0xf8,_0x32228c,_0x32228c-_0x2564fc._0x32b4a5);}if(_0x311ecc['type']===_0x14385d(-_0x5e6499._0x2be5d7,0x162,-0x15,0xe))return{'type':_0x392143(0x47,-_0x5e6499._0x45eab7,-_0x5e6499._0x28cb8a,-0x321)};if(_0x311ecc['type']==='array')return{'type':'array','items':toSupportedSchema(_0x311ecc[_0x392143(-_0x5e6499._0x4d5cde,-0x6d,0x136,0x6)])??{'type':'string'}};if(_0x311ecc['type']===_0x14385d(_0x5e6499._0x45eaae,0x3dc,0x28e,0x36c))return toNuvinToolSchema(_0x311ecc);return void 0x0;}function toNuvinToolSchema(_0x289b63){const _0x1cdf1d={_0x5c4c6c:0x1aa,_0xf235df:0x1ae,_0x1b2555:0x25a,_0x3e1c69:0x4d1,_0x555dd0:0x10d,_0x56698a:0x390,_0x33ad28:0x201,_0x1fa984:0x239,_0x442fb4:0x6a,_0x5e077d:0xe6,_0x1afd13:0x3db,_0x3ae32e:0x315,_0x1258bc:0x293,_0x298bf0:0x4a0,_0x29b37f:0x4aa,_0x14e543:0x46c,_0x4d8c93:0x25a,_0x2cb508:0x23f},_0x64fe79={_0x2290d7:0x6a,_0x2c1e98:0x85,_0xcc4070:0x352},_0xe75985={_0x3dd9df:0x139};if(!isObject(_0x289b63)||_0x289b63[_0x3b08ac(0x2fc,_0x1cdf1d._0x5c4c6c,_0x1cdf1d._0xf235df,0x35f)]!==_0x114130(0xeb,0x24a,_0x1cdf1d._0x1b2555,0x38a))return{'type':_0x3b08ac(_0x1cdf1d._0x3e1c69,0x31c,0x670,0x59d),'properties':{}};function _0x114130(_0x412e93,_0x514b46,_0x6c9a8a,_0x452885){return _0x2389b1(_0x412e93-_0xe75985._0x3dd9df,_0x514b46-0xb6,_0x514b46,_0x6c9a8a- -0x5c9);}function _0x3b08ac(_0x429c59,_0x5649ef,_0x1d1767,_0x46a08f){return _0x2389b1(_0x429c59-_0x64fe79._0x2290d7,_0x5649ef-_0x64fe79._0x2c1e98,_0x1d1767,_0x429c59- -_0x64fe79._0xcc4070);}const _0x1c4c89={},_0x340583=isObject(_0x289b63[_0x3b08ac(0x201,0x141,_0x1cdf1d._0x555dd0,_0x1cdf1d._0x56698a)])?_0x289b63[_0x3b08ac(_0x1cdf1d._0x33ad28,_0x1cdf1d._0x1fa984,0x124,0x119)]:{};for(const [_0x581cb7,_0x2a9a77]of Object[_0x114130(0x8f,_0x1cdf1d._0x442fb4,-_0x1cdf1d._0x5e077d,-0x176)](_0x340583)){const _0x3432c5=toSupportedSchema(_0x2a9a77);if(_0x3432c5)_0x1c4c89[_0x581cb7]=_0x3432c5;}const _0x42bdce=Array[_0x3b08ac(0x362,0x250,0x34e,0x4b2)](_0x289b63[_0x3b08ac(_0x1cdf1d._0x1afd13,_0x1cdf1d._0x3ae32e,0x2dc,_0x1cdf1d._0x1258bc)])?_0x289b63[_0x114130(0x136,-0x32,0x164,0x2ba)][_0x3b08ac(_0x1cdf1d._0x298bf0,_0x1cdf1d._0x29b37f,_0x1cdf1d._0x14e543,0x588)](_0xc803b1=>typeof _0xc803b1===_0x3b08ac(0x293,0x26e,0x2f6,0x376)):void 0x0;return _0x42bdce?.['length']?{'type':'object','properties':_0x1c4c89,'required':_0x42bdce}:{'type':_0x114130(0x389,0x1ae,_0x1cdf1d._0x4d8c93,_0x1cdf1d._0x2cb508),'properties':_0x1c4c89};}function isJsonObject(_0x1246ab){const _0x403915={_0x56d74b:0x1c3,_0x152883:0x2a6,_0x1eb5be:0x344},_0x3de21a={_0x36c23c:0x2f};function _0x2e2d88(_0x229d71,_0x2cec5,_0x1f766b,_0x1ca526){return _0x5da4fe(_0x2cec5- -0xb9,_0x2cec5-_0x3de21a._0x36c23c,_0x229d71,_0x1ca526-0x1c9);}return typeof _0x1246ab==='object'&&_0x1246ab!==null&&!Array[_0x2e2d88(_0x403915._0x56d74b,_0x403915._0x152883,_0x403915._0x1eb5be,0x320)](_0x1246ab);}function formatMcpContent(_0x230381){const _0x2cf22b={_0x294d77:0x18b,_0x3797a1:0x17d,_0x48438f:0x37,_0x186ecf:0x1af,_0x5cfbac:0x199,_0x1f14e9:0x3e,_0x2c3283:0x5cb,_0xefb65:0x44e,_0x3266bb:0x2fe,_0x27a546:0x38,_0x42a482:0xe,_0x3fe289:0x1b,_0x21b61b:0x19f},_0x306494={_0xd36dbc:0x86,_0x4be93a:0x67d},_0x20a534={_0xb26618:0x102,_0x2c429c:0x21,_0x2babab:0x13e,_0x1cc43c:0xf6},_0xcf37d1={_0x1c414c:0x15f,_0x40c20c:0x71},_0x5ccb8c={_0x10c98a:0xca},_0x493ef6=Array[_0x818946(0x130,-_0x2cf22b._0x294d77,-_0x2cf22b._0x3797a1,_0x2cf22b._0x48438f)](_0x230381[_0x818946(_0x2cf22b._0x186ecf,_0x2cf22b._0x5cfbac,0xd3,0x3e)])?_0x230381[_0x818946(0x43,-0x11f,0x137,_0x2cf22b._0x1f14e9)]:[];function _0x1120b2(_0x4481b3,_0x19b23b,_0x279900,_0x3ebc0c){return _0x5da4fe(_0x279900-_0x5ccb8c._0x10c98a,_0x19b23b-0x116,_0x4481b3,_0x3ebc0c-0x10);}const _0x53a088=_0x493ef6['map'](_0x3d598d=>{function _0x518b76(_0x14b6bc,_0x35c268,_0x1b42ac,_0x17ee55){return _0x818946(_0x1b42ac,_0x35c268-_0xcf37d1._0x1c414c,_0x1b42ac-0x6b,_0x17ee55- -_0xcf37d1._0x40c20c);}function _0x57005c(_0x4bd758,_0x4fdcbb,_0xd4241a,_0x599392){return _0x818946(_0xd4241a,_0x4fdcbb-0x13c,_0xd4241a-0x4,_0x599392-0x681);}if(!isObject(_0x3d598d))return'';if(_0x3d598d[_0x518b76(0xfe,-0x22c,_0x20a534._0xb26618,-0xa0)]==='text'&&typeof _0x3d598d[_0x518b76(-_0x20a534._0x2c429c,-_0x20a534._0x2babab,-_0x20a534._0x1cc43c,-0xc8)]==='string')return _0x3d598d['text'];return JSON['stringify'](_0x3d598d);})[_0x1120b2(0x3f6,_0x2cf22b._0x2c3283,0x567,_0x2cf22b._0xefb65)](_0x2b0eba=>_0x2b0eba[_0x818946(0x264,0xb0,-0xb,0x19f)]>0x0)[_0x818946(-_0x2cf22b._0x3266bb,-0x12e,-_0x2cf22b._0x27a546,-0x1b7)]('\x0a');function _0x818946(_0x4d06c1,_0x4b5e93,_0x35b2bd,_0x24361c){return _0x2389b1(_0x4d06c1-_0x306494._0xd36dbc,_0x4b5e93-0xa8,_0x4d06c1,_0x24361c- -_0x306494._0x4be93a);}if(_0x53a088[_0x818946(-_0x2cf22b._0x42a482,_0x2cf22b._0x3fe289,0x319,_0x2cf22b._0x21b61b)]>0x0)return _0x53a088;return JSON['stringify'](_0x230381,null,0x2);}function createMcpTool(_0x3b99f0){const _0x5b965a={_0xd8eb07:0x4c7,_0x2f3664:0x2db,_0x3b296b:0x4c0,_0x1c4e13:0x7c,_0x5f1878:0x1ba,_0xcb81d5:0x172,_0x1046f2:0x299,_0x29e722:0x3c7,_0x43dc4d:0x510,_0x1a149e:0x391,_0x32aea0:0x2dc,_0x115b1d:0x50a,_0x1a1507:0x39c,_0xbecac8:0x3d6,_0x3751b8:0x20d,_0x3d51b5:0x379,_0xba5004:0x442},_0x2907c4={_0x50ab76:0x503,_0x1372dc:0x511,_0x370950:0x3e6,_0x15b523:0x271,_0x3fa39d:0x316,_0x163d4c:0x3d9,_0x4b1318:0x336,_0xa29486:0x3c4,_0x5b6134:0x487,_0x57a53b:0x394,_0x3b7224:0x2e3,_0x333540:0x321,_0x237bf2:0x491,_0x22a5dc:0x356,_0x2e61f3:0x4a6,_0xb35768:0x38f,_0x8f1dfa:0x485,_0x38af9a:0x24c,_0x46f73a:0x35e,_0xd1f792:0x5ff},_0x4f28d5={_0xc167ea:0x52,_0x444e29:0x48,_0x55cc68:0x159},_0x2149ea={_0x4b32bc:0x3c4},_0x5abfdc={_0x257ea4:0x1e4},_0x274bdb=createMcpToolName(_0x3b99f0[_0x5a8eca(0x8b,0x391,0x236,0x130)],_0x3b99f0[_0x5a8eca(0x2db,0x168,0x2be,0x268)][_0xcbb2b2(0x48d,0x5bf,0x5da,0x557)]);function _0xcbb2b2(_0x1dc520,_0x4c0852,_0x2dd240,_0x26dc28){return _0x2389b1(_0x1dc520-0x1e,_0x4c0852-_0x5abfdc._0x257ea4,_0x26dc28,_0x2dd240- -0x1b8);}function _0x5a8eca(_0x121be2,_0x310611,_0x4f4725,_0x334e4c){return _0x2389b1(_0x121be2-0x183,_0x310611-0xb8,_0x334e4c,_0x4f4725- -_0x2149ea._0x4b32bc);}return defineTool({'name':_0x274bdb,'permissionClass':_0x3b99f0[_0x5a8eca(_0x5b965a._0xd8eb07,_0x5b965a._0x2f3664,0x352,_0x5b965a._0x3b296b)],..._0x3b99f0[_0x5a8eca(0x68,0x261,0x172,_0x5b965a._0x1c4e13)]!==void 0x0?{'internalLifecycle':_0x3b99f0[_0x5a8eca(_0x5b965a._0x5f1878,0x75,_0x5b965a._0xcb81d5,0x13b)]}:{},'description':_0x3b99f0[_0xcbb2b2(0x454,0x3a5,0x4ca,0x30a)][_0xcbb2b2(0x328,_0x5b965a._0x1046f2,_0x5b965a._0x29e722,_0x5b965a._0x43dc4d)]??_0x5a8eca(_0x5b965a._0x1a149e,0x556,0x3b7,0x3cc)+_0x3b99f0['tool'][_0x5a8eca(0x3db,_0x5b965a._0x32aea0,0x3ce,_0x5b965a._0x115b1d)]+_0xcbb2b2(_0x5b965a._0x1a1507,_0x5b965a._0xbecac8,0x334,_0x5b965a._0x3751b8)+_0x3b99f0[_0xcbb2b2(0x3d1,_0x5b965a._0x3d51b5,_0x5b965a._0xba5004,0x406)],'inputSchema':toNuvinToolSchema(_0x3b99f0['tool']['inputSchema']),async *'execute'(_0x3c3a80){let _0x539b7c;try{_0x539b7c=await _0x3b99f0[_0x46a294(_0x2907c4._0x50ab76,0x570,_0x2907c4._0x1372dc,_0x2907c4._0x370950)][_0x46a294(_0x2907c4._0x15b523,0x3f5,_0x2907c4._0x3fa39d,0x41a)]({'name':_0x3b99f0[_0x46a294(_0x2907c4._0x163d4c,0x417,0x2fd,_0x2907c4._0x4b1318)][_0x46a294(_0x2907c4._0xa29486,0x527,_0x2907c4._0x5b6134,_0x2907c4._0x57a53b)],'arguments':isJsonObject(_0x3c3a80)?_0x3c3a80:{}});if(_0x539b7c[_0x530d6a(0x2d2,0x54b,_0x2907c4._0x3b7224,0x3c6)])throw toMcpSafeError({'serverName':_0x3b99f0[_0x46a294(0x3c2,0x38f,_0x2907c4._0x333540,_0x2907c4._0x237bf2)],'operation':_0x46a294(0x275,_0x2907c4._0x22a5dc,0x3b7,_0x2907c4._0x2e61f3),'error':_0x539b7c});}catch(_0x24824d){throw extractOwnedMcpSafeError(_0x24824d)??toMcpSafeError({'serverName':_0x3b99f0['serverName'],'operation':'toolCall','error':_0x24824d});}yield createToolOutput(formatMcpContent(_0x539b7c),{'serverName':_0x3b99f0[_0x46a294(0x227,_0x2907c4._0xb35768,_0x2907c4._0x8f1dfa,0x400)],'toolName':_0x3b99f0[_0x530d6a(_0x2907c4._0x38af9a,0x302,_0x2907c4._0x46f73a,0x21d)][_0x46a294(0x537,0x527,_0x2907c4._0xd1f792,0x596)],'result':_0x539b7c});function _0x46a294(_0x3a88b6,_0x1b60a2,_0x3d2056,_0x45dadb){return _0x5a8eca(_0x3a88b6-_0x4f28d5._0xc167ea,_0x1b60a2-_0x4f28d5._0x444e29,_0x1b60a2-_0x4f28d5._0x55cc68,_0x3a88b6);}function _0x530d6a(_0x4fde2f,_0x5171b0,_0x4b8200,_0x50078e){return _0x5a8eca(_0x4fde2f-0x16d,_0x5171b0-0x9b,_0x50078e- -0xa1,_0x5171b0);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x4679ab){let _0x440c73=_0x4679ab;return{'get'(){return _0x440c73;},'set'(_0x10a7b2){_0x440c73=_0x10a7b2;}};}function resolveMcpTimeoutMs(_0x2a0b5e,_0x10acf5){const _0x116dfd={_0x30a111:0x261,_0x591f99:0x2b1,_0x443ef3:0x1dd},_0x3b7f1e={_0x38ac2e:0x21c};function _0x3255c0(_0x5bc954,_0x4a099b,_0x15c41b,_0x744d05){return _0x5da4fe(_0x5bc954- -_0x3b7f1e._0x38ac2e,_0x4a099b-0x192,_0x15c41b,_0x744d05-0x137);}return _0x2a0b5e[_0x3255c0(_0x116dfd._0x30a111,0x18f,_0x116dfd._0x591f99,_0x116dfd._0x443ef3)]??_0x10acf5??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0xff2d78,_0x3dbae0){const _0x418c0c={_0xa7e1ee:0x814},_0x342a79={_0x37b90a:0x2e4,_0x17a6f6:0x11c,_0x92e99f:0x1c7};function _0x91e8c5(_0x3db1be,_0x4a9478,_0x464000,_0x46457f){return _0x5da4fe(_0x4a9478-_0x342a79._0x37b90a,_0x4a9478-_0x342a79._0x17a6f6,_0x3db1be,_0x46457f-_0x342a79._0x92e99f);}return(_0x3dbae0?extractOwnedMcpSafeError(_0xff2d78[_0x91e8c5(_0x418c0c._0xa7e1ee,0x6ee,0x6e9,0x6a8)]):void 0x0)??createOwnedMcpSafeError(_0xff2d78);}function createMcpGenerationLifecycle(_0x56d24){const _0x1aa26c={_0x539d31:0x4fa},_0x48506d={_0x54e769:0x16e,_0x5e29aa:0x122,_0x19b454:0x2a,_0x47a6d6:0x87},_0x59cbcc={_0x4d0509:0xde},_0x2dbc82={_0x26fb8c:0x303};let _0x371f2d=0x0,_0x58f077=![],_0x5b4dd2=![],_0xcf3e41,_0x242671,_0x323550;const _0xbcb789=()=>{function _0xf51b69(_0x5505c,_0x5b9e31,_0x566560,_0x22aab0){return _0x102a(_0x566560- -_0x2dbc82._0x26fb8c,_0x22aab0);}if(!_0x58f077||_0x371f2d!==0x0||_0x5b4dd2)return;_0x5b4dd2=!![];function _0x3b60f4(_0x1c5b3d,_0x46a53d,_0x4a9492,_0x3c00c0){return _0x102a(_0x3c00c0-_0x59cbcc._0x4d0509,_0x46a53d);}void Promise[_0xf51b69(-0x240,0x16,-0x17e,-0xb7)]()[_0xf51b69(0x78,_0x48506d._0x54e769,_0x48506d._0x5e29aa,0xcf)](_0x56d24)[_0xf51b69(-_0x48506d._0x19b454,-0x3d,_0x48506d._0x5e29aa,-_0x48506d._0x47a6d6)](_0x242671,_0x323550);};return{'acquire'(){const _0x449652={_0x15224d:0xd0};if(_0x58f077)throw new Error(_0x10a698(_0x1aa26c._0x539d31,0x545,0x6bc,0x4d5));function _0x10a698(_0x1bbf64,_0xa2df97,_0x106166,_0x1df013){return _0x102a(_0xa2df97-_0x449652._0x15224d,_0x1bbf64);}_0x371f2d+=0x1;let _0x2314c2=![];return()=>{if(_0x2314c2)return;_0x2314c2=!![],_0x371f2d-=0x1,_0xbcb789();};},'retire'(){return!_0xcf3e41&&(_0xcf3e41=new Promise((_0x2cf831,_0x39b788)=>{_0x242671=_0x2cf831,_0x323550=_0x39b788;})),_0x58f077=!![],_0xbcb789(),_0xcf3e41;}};}function buildMcpHttpHeaders(_0x2d7230){const _0x1b8bbb={_0x5f4c90:0xec,_0x5550af:0x149,_0x4faf3a:0x1e1,_0x28b26f:0x49c,_0x4457e4:0x574,_0x58da5b:0x554,_0x5579d0:0x467,_0x59ad2d:0x4e8,_0x4c143f:0x7ac,_0x37f236:0x90e,_0x59d315:0x7d4,_0x4801a0:0x775,_0xc1d647:0x6cd,_0x1d18fd:0x5a5,_0x567cf5:0x51,_0x3a03c7:0x196,_0x2c4cc2:0x196,_0x186b9e:0x1ef,_0x1971f5:0x120,_0x21a59f:0x63c},_0x187b95={_0x19b58e:0x15f};function _0x2cdda9(_0x58da2f,_0x124490,_0x298fe9,_0x583696){return _0x2389b1(_0x58da2f-_0x187b95._0x19b58e,_0x124490-0x1ab,_0x583696,_0x124490- -0x558);}const _0xdab5ea={..._0x2d7230[_0x2cdda9(-_0x1b8bbb._0x5f4c90,0xab,-0xb,0x7b)]??{}};_0x2d7230[_0x2cdda9(-0x1a,0x51,_0x1b8bbb._0x5550af,_0x1b8bbb._0x4faf3a)]?.[_0x2dad3e(0x7c8,_0x1b8bbb._0x28b26f,0x621,_0x1b8bbb._0x4457e4)]===_0x2dad3e(_0x1b8bbb._0x58da5b,0x711,0x69d,0x5ae)&&_0x2d7230[_0x2dad3e(0x56c,_0x1b8bbb._0x5579d0,0x57c,_0x1b8bbb._0x59ad2d)][_0x2dad3e(_0x1b8bbb._0x4c143f,0x8b1,0x71a,0x870)]&&_0xdab5ea[_0x2dad3e(0x7e5,0x763,0x775,_0x1b8bbb._0x37f236)]===void 0x0&&(_0xdab5ea[_0x2dad3e(0x83c,_0x1b8bbb._0x59d315,_0x1b8bbb._0x4801a0,_0x1b8bbb._0xc1d647)]=_0x2dad3e(0x61f,0x50c,0x622,_0x1b8bbb._0x1d18fd)+_0x2d7230[_0x2cdda9(0x11c,_0x1b8bbb._0x567cf5,_0x1b8bbb._0x3a03c7,-0xd)][_0x2cdda9(_0x1b8bbb._0x2c4cc2,_0x1b8bbb._0x186b9e,_0x1b8bbb._0x1971f5,0x46)]);function _0x2dad3e(_0x3413de,_0x903c6e,_0x4031cf,_0x45e7fd){return _0x2389b1(_0x3413de-0x150,_0x903c6e-0xb5,_0x3413de,_0x4031cf- -0x2d);}return Object['keys'](_0xdab5ea)[_0x2dad3e(0x915,0x6e4,0x7ef,_0x1b8bbb._0x21a59f)]>0x0?_0xdab5ea:void 0x0;}async function connectMcpServer(_0xb75cb1,_0xde7097,_0x5b5fc0){const _0x54a5e1={_0x4d5caf:0x3ca,_0x2152e6:0x463,_0x58a91a:0x56d,_0x1794fc:0x429,_0x474231:0x3b4,_0x212531:0x4b6,_0x1e8cef:0x6bf,_0xd65c6e:0x3f8,_0x2fdfe4:0x566,_0x198527:0x47c,_0x1b8d1f:0x3a0,_0x191ce6:0x4ca,_0x4077ff:0x372,_0x5e3ec1:0x503,_0x46b530:0x354,_0x1043b9:0x474,_0xcf55d8:0x3bf,_0x12b0a9:0x50c,_0xeb9bb0:0x457,_0x22b573:0x3ef,_0x142e29:0x2b6,_0x255623:0x290,_0x3bd00d:0x3e0,_0x396c6e:0x4c9,_0x1f1849:0x5c6,_0xab473:0x503,_0x3ab91a:0x536,_0x269d04:0x595,_0x174453:0x474,_0xb5c64b:0x36c,_0x5a772b:0x468,_0x399554:0x28b,_0x25b967:0x439,_0x5a03af:0x3f7,_0x1360fa:0x273,_0x4b243b:0x42c,_0x4b2374:0x4ad,_0xc869ba:0x2cd,_0x4c2f9d:0x239,_0x53e0ab:0x33c,_0x42b1f1:0x161,_0x1cff90:0x2b6,_0x4f5fa0:0x394,_0x529ff3:0x566,_0x7ced46:0x474,_0x1e0ad:0x431,_0x229173:0x5c3,_0x54d198:0x410,_0x9bdbaf:0x678,_0x354a58:0x584,_0x450882:0x3da,_0x45d20e:0x3d5,_0x1de42a:0x4f2,_0x3d3407:0x329,_0x3996e4:0x2d5,_0x3a4056:0x3af,_0x339a7e:0x240,_0x1bde1f:0x1a0,_0x321ef0:0x271,_0x1e6343:0x19a,_0x561b9b:0x45f,_0x5d3b6c:0x2d4,_0x4c1ad4:0x48f,_0x167e5b:0x643,_0x5b085a:0x4b5,_0x4cab76:0x5a5},_0x32cf2e={_0x31d228:0x25,_0x3a345a:0x4e,_0x37ad4a:0xa5,_0x102d03:0x615,_0x445b67:0x551,_0x3e3fe9:0x59d,_0x14c4c9:0x368,_0x509915:0x133,_0x395795:0x461,_0x28c5a9:0x16f,_0xa1982e:0x314},_0xa2c05a={_0xeb9c14:0xc6},_0x3699fe={_0x3baa31:0x2ef,_0x9b8b2d:0x137,_0x4dfd44:0x118,_0x2c12d5:0x309,_0x43fd0f:0x31d,_0x800add:0x4af},_0x3f5adc={_0x3cba11:0x3a3,_0x2f5ea1:0xc1},_0x210551={_0x54e1d4:0x308,_0x4f920e:0x1ab},_0x4a1e21={_0x5eb85f:0x11a,_0x408048:0x3ec},_0xba883d={_0x591c5c:0x1ce},_0x54483e={_0x431a81:0x3c4,_0x4f2ab0:0x2b9,_0x1c29f9:0x22e,_0x13554d:0xb9,_0x3f9821:0x305,_0x5ccd63:0x3be,_0x58062e:0x500,_0x275f55:0x3ac,_0x44055f:0x2ba},_0x4dc374={_0x48a36a:0x148},_0x3e45b5={_0xa739bc:0xba,_0x51b2ad:0x1ac},_0x25b9ec={_0xa8c792:0x1be,_0x14e075:0x135},_0x4e8130={_0x389b31:0x327,_0x4c20e5:0x2b,_0x4d2cb2:0x134,_0x5da69a:0x17f},_0x5c29ec={_0x2aac57:0x5b2,_0x20cd30:0x6c9,_0x32bc91:0x49b,_0x2e2b0a:0x43a},_0x5580b8={_0x3dcb31:0x18d},_0x25635b={_0x114efc:0x0,_0x44108d:0x25f};function _0x85409(_0x423060,_0x52bd65,_0x208932,_0x2b3cd0){return _0x2389b1(_0x423060-0x46,_0x52bd65-_0x25635b._0x114efc,_0x52bd65,_0x2b3cd0- -_0x25635b._0x44108d);}const _0x5dee9d=new Client({'name':_0x36be3c(_0x54a5e1._0x4d5caf,0x2ee,_0x54a5e1._0x2152e6,0x3bd),'version':_0x85409(_0x54a5e1._0x58a91a,_0x54a5e1._0x1794fc,_0x54a5e1._0x474231,_0x54a5e1._0x212531)}),_0x467418=_0x5b5fc0?.['timeoutSource']??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x2be2d8=new Set();let _0x4740a1,_0x26eb17=![];const _0x5a90e2=()=>{const _0x5d3096={_0x2ed977:0x9b};if(_0x26eb17||_0x4740a1)return;function _0x391047(_0x1ccfdc,_0x45607a,_0x791ff0,_0x55fff4){return _0x85409(_0x1ccfdc-0x116,_0x55fff4,_0x791ff0-_0x5d3096._0x2ed977,_0x791ff0-0x137);}function _0x125a70(_0x406926,_0x28ad2f,_0xb48906,_0x2abf64){return _0x36be3c(_0x406926-0x2c,_0x406926,_0x28ad2f-0x12d,_0x2abf64-_0x5580b8._0x3dcb31);}_0x4740a1={'code':_0x125a70(0x690,_0x5c29ec._0x2aac57,0x667,_0x5c29ec._0x20cd30),'cause':new Error(_0x391047(_0x5c29ec._0x32bc91,0x3ca,_0x5c29ec._0x2e2b0a,0x4bb))};for(const _0x598cdd of _0x2be2d8){try{_0x598cdd(_0x4740a1);}catch{}}};_0x5dee9d[_0x85409(_0x54a5e1._0x1e8cef,0x415,0x6ae,0x53b)]=()=>{const _0x3c11a4={_0x5ea8a5:0x8f},_0x224434={_0x34fd58:0xd9,_0x278f7e:0xbe};function _0x36a03e(_0x2df683,_0xc43179,_0x3fae44,_0x45bc75){return _0x85409(_0x2df683-_0x224434._0x34fd58,_0xc43179,_0x3fae44-_0x224434._0x278f7e,_0x2df683-0xdd);}function _0x2c0ce9(_0x234b91,_0x24dbd2,_0x15cc81,_0x377a9f){return _0x85409(_0x234b91-0x15c,_0x377a9f,_0x15cc81-_0x3c11a4._0x5ea8a5,_0x24dbd2- -0x28e);}console[_0x2c0ce9(0x480,_0x4e8130._0x389b31,0x4a4,0x1a9)]('MCP\x20SDK\x20client\x20reported\x20a\x20recoverable\x20error',{'server':_0xb75cb1,'code':_0x2c0ce9(-0x10f,-_0x4e8130._0x4c20e5,-_0x4e8130._0x4d2cb2,_0x4e8130._0x5da69a)});},_0x5dee9d[_0x36be3c(0x6a8,_0x54a5e1._0xd65c6e,_0x54a5e1._0x2fdfe4,_0x54a5e1._0x198527)]=_0x5a90e2;function _0x36be3c(_0x1a8e67,_0x2e3fb0,_0x43ab66,_0x341d02){return _0x2389b1(_0x1a8e67-0x1d8,_0x2e3fb0-_0x25b9ec._0xa8c792,_0x2e3fb0,_0x43ab66- -_0x25b9ec._0x14e075);}try{if(_0xde7097[_0x85409(0x342,_0x54a5e1._0x1b8d1f,0x41b,_0x54a5e1._0x191ce6)]==='http'||_0xde7097['url']){if(!_0xde7097['url'])throw new Error(_0x36be3c(0x3a6,_0x54a5e1._0x4077ff,_0x54a5e1._0x5e3ec1,_0x54a5e1._0x46b530)+_0xb75cb1+'\x20requires\x20url\x20for\x20http\x20transport');if(_0xde7097[_0x36be3c(0x395,0x392,_0x54a5e1._0x1043b9,_0x54a5e1._0xcf55d8)]?.[_0x85409(_0x54a5e1._0x12b0a9,0x24b,_0x54a5e1._0xeb9bb0,_0x54a5e1._0x22b573)]===_0x85409(0x147,0x367,0x322,_0x54a5e1._0x142e29)&&!_0x5b5fc0?.[_0x36be3c(_0x54a5e1._0x255623,0x4d0,_0x54a5e1._0x3bd00d,_0x54a5e1._0x396c6e)])throw new Error(_0x36be3c(_0x54a5e1._0x1f1849,0x50e,_0x54a5e1._0xab473,_0x54a5e1._0x3ab91a)+_0xb75cb1+_0x36be3c(0x3ed,0x513,0x4e9,0x692));const _0x3a387f=buildMcpHttpHeaders(_0xde7097),_0x508903=_0xde7097[_0x36be3c(_0x54a5e1._0x269d04,0x3de,_0x54a5e1._0x174453,0x541)]?.[_0x85409(_0x54a5e1._0xb5c64b,_0x54a5e1._0x5a772b,0x263,_0x54a5e1._0x22b573)]===_0x36be3c(0x43a,_0x54a5e1._0x399554,0x3e0,_0x54a5e1._0x25b967)&&_0x5b5fc0?.[_0x36be3c(_0x54a5e1._0x5a03af,_0x54a5e1._0x1360fa,0x3e0,_0x54a5e1._0x4b243b)]?createMcpOAuthProvider({'serverName':_0xb75cb1,'callbackUrl':_0x5b5fc0[_0x36be3c(_0x54a5e1._0x4b2374,0x41c,0x3e0,_0x54a5e1._0xc869ba)][_0x85409(_0x54a5e1._0x4c2f9d,0x299,0x3af,0x38b)],'storageDir':_0x5b5fc0[_0x85409(_0x54a5e1._0x53e0ab,0x169,_0x54a5e1._0x42b1f1,_0x54a5e1._0x1cff90)]['storageDir'],'config':_0xde7097[_0x36be3c(_0x54a5e1._0x4f5fa0,_0x54a5e1._0x529ff3,_0x54a5e1._0x7ced46,0x4f9)],'onRedirect':_0xa11e1b=>_0x5b5fc0[_0x36be3c(0x382,0x2b1,0x3e0,0x428)]?.[_0x36be3c(0x32d,0x3f2,0x464,0x4df)](_0xb75cb1,_0xa11e1b)}):void 0x0,_0x13cb31=new StreamableHTTPClientTransport(new URL(_0xde7097[_0x85409(_0x54a5e1._0x1e0ad,_0x54a5e1._0x229173,0x4d4,_0x54a5e1._0x54d198)]),{'authProvider':_0x508903,'requestInit':_0x3a387f?{'headers':_0x3a387f}:void 0x0});await _0x5dee9d[_0x85409(0x3a4,_0x54a5e1._0x9bdbaf,0x576,0x4c2)](_0x13cb31,{'timeout':_0x467418[_0x85409(_0x54a5e1._0x354a58,_0x54a5e1._0x450882,0x543,_0x54a5e1._0x45d20e)](),..._0x5b5fc0?.['signal']!==void 0x0?{'signal':_0x5b5fc0[_0x36be3c(_0x54a5e1._0x1de42a,0x3d0,0x4a0,_0x54a5e1._0x3d3407)]}:{}});}else{if(!_0xde7097['command'])throw new Error('MCP\x20server\x20'+_0xb75cb1+_0x36be3c(_0x54a5e1._0x3996e4,0x368,_0x54a5e1._0x3a4056,_0x54a5e1._0x339a7e));const _0x4c268c=new StdioClientTransport({'command':_0xde7097['command'],'args':_0xde7097[_0x85409(0x3ef,0x375,_0x54a5e1._0x1bde1f,_0x54a5e1._0x321ef0)]??[],'env':_0xde7097[_0x85409(_0x54a5e1._0x1e6343,0x16d,_0x54a5e1._0x561b9b,_0x54a5e1._0x5d3b6c)],'stderr':_0x36be3c(_0x54a5e1._0x4c1ad4,0x2a3,0x447,0x570)});await _0x5dee9d[_0x36be3c(_0x54a5e1._0x167e5b,0x4f1,0x5ec,_0x54a5e1._0x5b085a)](_0x4c268c,{'timeout':_0x467418['get'](),..._0x5b5fc0?.['signal']!==void 0x0?{'signal':_0x5b5fc0[_0x36be3c(0x385,_0x54a5e1._0x4cab76,0x4a0,0x428)]}:{}});}}catch(_0x3b5a66){throw createOwnedMcpSafeError({'serverName':_0xb75cb1,'operation':'connect','error':_0x3b5a66});}return{async 'listTools'(_0x582b53){function _0x4f9829(_0x36fbe4,_0x1b6c48,_0x2bfc22,_0x582bbb){return _0x85409(_0x36fbe4-_0x3e45b5._0xa739bc,_0x2bfc22,_0x2bfc22-_0x3e45b5._0x51b2ad,_0x1b6c48- -0x29);}function _0xac30ce(_0x352617,_0x288d44,_0x3ba5cd,_0x5d696c){return _0x85409(_0x352617-0x3,_0x3ba5cd,_0x3ba5cd-0x103,_0x288d44- -_0x4dc374._0x48a36a);}const _0xe3bc4b=_0x582b53?.[_0xac30ce(0x126,0x22e,_0x54483e._0x431a81,_0x54483e._0x4f2ab0)]??_0x5b5fc0?.[_0xac30ce(0xe2,_0x54483e._0x1c29f9,_0x54483e._0x13554d,0x30a)];try{return await _0x5dee9d[_0xac30ce(_0x54483e._0x3f9821,0x365,_0x54483e._0x5ccd63,_0x54483e._0x58062e)](void 0x0,{'timeout':_0x467418[_0x4f9829(0x2f1,_0x54483e._0x275f55,_0x54483e._0x44055f,0x516)](),..._0xe3bc4b!==void 0x0?{'signal':_0xe3bc4b}:{}});}catch(_0x5f152b){throw createOwnedMcpSafeError({'serverName':_0xb75cb1,'operation':'discover','error':_0x5f152b});}},'onTerminalError'(_0x18fccb){const _0xfef22={_0x440078:0x2b3,_0x46aa22:0x284,_0x12ed14:0xee,_0x322bc6:0x273},_0x4cf2d3={_0x2269b3:0x77,_0x2cc55c:0xa5,_0x56ee18:0x1e6};_0x2be2d8[_0x4fd9b5(0x3d0,_0x210551._0x54e1d4,_0x210551._0x4f920e,0x365)](_0x18fccb);const _0x183486=_0x4740a1;_0x183486&&queueMicrotask(()=>{function _0x47610e(_0x406464,_0x18d335,_0x2370a0,_0x20f4ff){return _0x4fd9b5(_0x406464-_0x4cf2d3._0x2269b3,_0x18d335-_0x4cf2d3._0x2cc55c,_0x2370a0-_0x4cf2d3._0x56ee18,_0x2370a0);}if(_0x2be2d8[_0x47610e(_0xfef22._0x440078,_0xfef22._0x46aa22,_0xfef22._0x12ed14,_0xfef22._0x322bc6)](_0x18fccb))_0x18fccb(_0x183486);});function _0x1e853b(_0x17ed0a,_0x384184,_0xfeb8d8,_0x27ac8e){return _0x85409(_0x17ed0a-_0xba883d._0x591c5c,_0x27ac8e,_0xfeb8d8-0x125,_0x17ed0a- -0x12);}function _0x4fd9b5(_0x2c2529,_0x54dbdf,_0x37d10b,_0x56984f){return _0x36be3c(_0x2c2529-_0x4a1e21._0x5eb85f,_0x56984f,_0x54dbdf- -_0x4a1e21._0x408048,_0x56984f-0x38);}return()=>_0x2be2d8[_0x4fd9b5(0x18e,0x3,-0xf7,-0x63)](_0x18fccb);},async 'callTool'(_0x38c5f9){const _0x3ccff8={_0x442875:0x105,_0x27c746:0x191};function _0xc33b25(_0x358664,_0x4a01af,_0x27df52,_0xd0e496){return _0x36be3c(_0x358664-0x13f,_0x358664,_0xd0e496- -_0x3f5adc._0x3cba11,_0xd0e496-_0x3f5adc._0x2f5ea1);}function _0x36b150(_0x31cced,_0xd3e69,_0x3a1327,_0x26bae1){return _0x36be3c(_0x31cced-_0x3ccff8._0x442875,_0xd3e69,_0x26bae1-0x23,_0x26bae1-_0x3ccff8._0x27c746);}try{return await _0x5dee9d[_0xc33b25(0x25e,0x1f4,0x31c,_0x3699fe._0x3baa31)]({'method':_0xc33b25(0x154,_0x3699fe._0x9b8b2d,0x22e,_0x3699fe._0x4dfd44),'params':_0x38c5f9},CallToolResultSchema,{'timeout':_0x467418['get']()});}catch(_0x513702){throw createOwnedMcpSafeError({'serverName':_0xb75cb1,'operation':_0x36b150(_0x3699fe._0x2c12d5,_0x3699fe._0x43fd0f,0x321,_0x3699fe._0x800add),'error':_0x513702});}},async 'close'(){_0x26eb17=!![];function _0x45abfd(_0x53f39b,_0x31ceca,_0x10937c,_0x56c2cd){return _0x36be3c(_0x53f39b-0x1e3,_0x56c2cd,_0x31ceca- -0x617,_0x56c2cd-0x87);}function _0x5c7bbb(_0x211aa2,_0x69fe59,_0x2225b5,_0x1b57dc){return _0x36be3c(_0x211aa2-0x9d,_0x1b57dc,_0x2225b5- -0x15,_0x1b57dc-_0xa2c05a._0xeb9c14);}_0x5dee9d[_0x45abfd(_0x32cf2e._0x31d228,_0x32cf2e._0x3a345a,-_0x32cf2e._0x37ad4a,-0x18)]=void 0x0,_0x5dee9d[_0x5c7bbb(_0x32cf2e._0x102d03,0x5b4,_0x32cf2e._0x445b67,_0x32cf2e._0x3e3fe9)]=void 0x0,_0x2be2d8[_0x45abfd(-_0x32cf2e._0x14c4c9,-0x1d5,-0x189,-_0x32cf2e._0x509915)]();try{await _0x5dee9d[_0x5c7bbb(0x5a6,0x5ee,_0x32cf2e._0x395795,0x5e2)]();}catch(_0x435a1c){throw createOwnedMcpSafeError({'serverName':_0xb75cb1,'operation':_0x45abfd(-0x312,-0x1a1,-_0x32cf2e._0x28c5a9,-_0x32cf2e._0xa1982e),'error':_0x435a1c});}}};}async function createMcpConnectionGeneration(_0x245408){const _0x1eb807={_0x20a2d4:0x17d,_0x3a86ab:0x17d,_0x497aaa:0xbb,_0x55b053:0x123,_0x595fb7:0x65,_0x53fd77:0x31,_0xfa30ef:0xa5,_0x411c47:0xe,_0x447d24:0x8c,_0x3eb64f:0x56,_0x2777f9:0x51,_0x47b4cd:0xc0,_0x8edd85:0x16e,_0x9419e1:0xa,_0x2cff90:0x17d,_0x549087:0xdc,_0x54ccf7:0x1bd,_0x13390f:0xd1,_0x1ddde6:0x7,_0x58e4a6:0x103,_0x1a3e79:0xed,_0x1181d1:0xff},_0x21d48e={_0x121312:0x1fa},_0x35d78d={_0x2d6d58:0x2db},_0x4eb27b={_0x2fc77a:0x1a9,_0x259b45:0x18,_0x529a64:0x1d5},_0xd8968d={_0x4e6ef0:0x17e,_0x28e589:0xec},_0x44652e={_0xeb0fde:0x2a1,_0xb7cdf5:0x11c,_0x49e6af:0x1b8},_0x494bb4={_0x171415:0x1a,_0x56881e:0x129},_0x1b1f68={_0x12770a:0x68d,_0x45e1ac:0x74},_0x58d9b5={_0xe363e:0x23d,_0x4a36f8:0x140},_0x204eee={_0x9d45c6:0xc,_0x27505f:0x43c},_0x212a70={_0x34e12a:0x22f,_0x47524f:0x1a4},_0x3804d8={_0x2a926e:0xd9,_0x4a05f2:0x177,_0x3700b4:0xe0},_0x53c9cb={_0x4f1434:0x1f4},_0x3b2112=_0x245408[_0xf489b3(0x1cf,_0x1eb807._0x20a2d4,0x118,0x2ff)]??connectMcpServer,_0xf2f9cc=_0x245408[_0xf489b3(0x18d,_0x1eb807._0x3a86ab,_0x1eb807._0x497aaa,_0x1eb807._0x55b053)]===void 0x0,_0x46025e={..._0x245408['connection'],'timeoutSource':_0x245408['timeoutSource'],..._0x245408[_0x9522f0(-0x139,-0x193,-0x1bc,-0x123)]!==void 0x0?{'signal':_0x245408[_0xf489b3(_0x1eb807._0x595fb7,_0x1eb807._0x53fd77,_0x1eb807._0xfa30ef,-_0x1eb807._0x411c47)]}:{}};let _0x3c76cf;try{_0x3c76cf=await _0x3b2112(_0x245408[_0xf489b3(_0x1eb807._0x447d24,_0x1eb807._0x3eb64f,-0x47,0x66)],_0x245408[_0x9522f0(-_0x1eb807._0x2777f9,-_0x1eb807._0x2777f9,-0x3c,-0xb9)],_0x46025e);}catch(_0x2d58d6){throw mapOwnedMcpBoundaryError({'serverName':_0x245408[_0x9522f0(-_0x1eb807._0x47b4cd,-_0x1eb807._0x8edd85,-0xf6,-0x2e)],'operation':_0xf489b3(_0x1eb807._0x9419e1,_0x1eb807._0x2cff90,0x35,0xb3),'error':_0x2d58d6},_0xf2f9cc);}const _0x1293f1=new Set();let _0x446222;function _0xf489b3(_0x5d0bd0,_0x1a32cb,_0x97207,_0x4c39e0){return _0x2389b1(_0x5d0bd0-0x175,_0x1a32cb-_0x53c9cb._0x4f1434,_0x97207,_0x1a32cb- -0x5a4);}const _0x9bf884=_0x3c76cf['onTerminalError']?.(_0xf71580=>{if(_0x446222)return;_0x446222=_0xf71580;for(const _0x426668 of _0x1293f1)_0x426668(_0xf71580);});let _0x511598=![];function _0x9522f0(_0x232274,_0x424aba,_0x336136,_0x48070e){return _0x5da4fe(_0x424aba- -0x413,_0x424aba-0x17f,_0x336136,_0x48070e-0x5b);}const _0x4df309=()=>{if(_0x511598)return;_0x511598=!![],_0x1293f1[_0x56cbac(-_0x212a70._0x34e12a,-0x2f3,-_0x212a70._0x47524f,-0x2b5)]();function _0x56cbac(_0x59f4a1,_0x22a8ee,_0x1838cb,_0x45c107){return _0xf489b3(_0x59f4a1-_0x3804d8._0x2a926e,_0x1838cb- -_0x3804d8._0x4a05f2,_0x22a8ee,_0x45c107-_0x3804d8._0x3700b4);}_0x9bf884?.();};let _0x34c037;try{_0x34c037=await _0x3c76cf[_0x9522f0(_0x1eb807._0x549087,-0x5c,0xd7,-_0x1eb807._0x54ccf7)](_0x245408['signal']!==void 0x0?{'signal':_0x245408['signal']}:void 0x0);}catch(_0x2f8b44){const _0x59affa=mapOwnedMcpBoundaryError({'serverName':_0x245408['serverName'],'operation':'discover','error':_0x2f8b44},_0xf2f9cc);_0x4df309();try{await _0x3c76cf[_0xf489b3(-_0x1eb807._0x13390f,_0x1eb807._0x1ddde6,0xc3,-0x66)]();}catch{}throw _0x59affa;}const _0x3176fa=[..._0x34c037[_0xf489b3(-_0x1eb807._0x58e4a6,-0x12,-_0x1eb807._0x1a3e79,_0x1eb807._0x1181d1)]],_0x18e945={async 'callTool'(_0x5a90e4){function _0x32de19(_0x46583e,_0x30a868,_0x4285f3,_0x1b32f1){return _0xf489b3(_0x46583e-_0x204eee._0x9d45c6,_0x4285f3-_0x204eee._0x27505f,_0x1b32f1,_0x1b32f1-0x1f);}function _0x2fef67(_0x5f127b,_0x3bd892,_0x362c99,_0xb54c7){return _0x9522f0(_0x5f127b-0xde,_0x5f127b-_0x58d9b5._0xe363e,_0xb54c7,_0xb54c7-_0x58d9b5._0x4a36f8);}try{return await _0x3c76cf[_0x32de19(0x555,0x5f6,0x4f8,_0x1b1f68._0x12770a)](_0x5a90e4);}catch(_0x5871d0){throw mapOwnedMcpBoundaryError({'serverName':_0x245408['serverName'],'operation':_0x2fef67(0x96,-0x3d,-_0x1b1f68._0x45e1ac,0x132),'error':_0x5871d0},_0xf2f9cc);}}},_0x5f3c25=createMcpGenerationLifecycle(async()=>{_0x4df309();function _0x4ad16f(_0x11b263,_0xd601b0,_0x1dec2b,_0x113a45){return _0xf489b3(_0x11b263-_0x494bb4._0x171415,_0x11b263-0x24b,_0x113a45,_0x113a45-_0x494bb4._0x56881e);}try{await _0x3c76cf['close']();}catch(_0x5557fe){throw mapOwnedMcpBoundaryError({'serverName':_0x245408[_0x4ad16f(_0x44652e._0xeb0fde,_0x44652e._0xb7cdf5,0x3b2,_0x44652e._0x49e6af)],'operation':'close','error':_0x5557fe},_0xf2f9cc);}});return{'client':_0x3c76cf,'descriptors':_0x3176fa,'lifecycle':_0x5f3c25,'projectTools'(_0x853b7c){return projectMcpTools({..._0x853b7c,'descriptors':_0x3176fa,'client':_0x18e945,'lifecycle':_0x5f3c25});},'onTerminalError'(_0x57e045){const _0x272856={_0x9bfb54:0xb8};if(_0x511598)return()=>{};_0x1293f1[_0x477709(0x45c,_0x35d78d._0x2d6d58,0x613,0x3a4)](_0x57e045);function _0x477709(_0x3a3cad,_0x5d600a,_0x1bb55d,_0x31140d){return _0xf489b3(_0x3a3cad-_0x272856._0x9bfb54,_0x3a3cad-0x1d7,_0x31140d,_0x31140d-0xdf);}function _0x498d03(_0x3ad587,_0x3c5181,_0xc83bf4,_0x5c3f81){return _0x9522f0(_0x3ad587-_0xd8968d._0x4e6ef0,_0x3c5181-0x67,_0x5c3f81,_0x5c3f81-_0xd8968d._0x28e589);}const _0x59b160=_0x446222;return _0x59b160&&queueMicrotask(()=>{const _0xae9d50={_0x2d30bf:0xb9,_0x99d7:0x8f};function _0x281dee(_0x6e3b92,_0x25c2b9,_0x549a57,_0x1e02a5){return _0x477709(_0x25c2b9- -0x31b,_0x25c2b9-_0xae9d50._0x2d30bf,_0x549a57-_0xae9d50._0x99d7,_0x6e3b92);}if(_0x1293f1[_0x281dee(-_0x4eb27b._0x2fc77a,_0x4eb27b._0x259b45,_0x4eb27b._0x529a64,-0x9a)](_0x57e045))_0x57e045(_0x59b160);}),()=>_0x1293f1[_0x498d03(-0xee,-0x1dd,-0x227,-0x42)](_0x57e045);},'retire'(){const _0xb22e4d={_0x11db34:0x34f,_0x5e75b0:0x1ae};_0x4df309();function _0x57bec1(_0x3c9b04,_0x2a9ceb,_0x4aad1d,_0x2bdb71){return _0x9522f0(_0x3c9b04-0x161,_0x3c9b04-_0xb22e4d._0x11db34,_0x2a9ceb,_0x2bdb71-_0xb22e4d._0x5e75b0);}return _0x5f3c25[_0x57bec1(0x111,0x136,_0x21d48e._0x121312,-0xa5)]();}};}function getCommand(_0x49fa3e){const _0x39869d={_0x573d43:0x319,_0x35d463:0x430,_0x5b49e1:0x491,_0x33a261:0x3d2,_0x3d3291:0x240,_0x3a5d28:0x44e},_0x22343a={_0xa7f418:0x2b1,_0x5371f3:0x140},_0x3cebed={_0x2916d2:0x97};function _0x4375b6(_0x59c27e,_0xd3cc66,_0x5d3519,_0x556bfe){return _0x2389b1(_0x59c27e-0x71,_0xd3cc66-_0x3cebed._0x2916d2,_0x5d3519,_0x59c27e- -0x268);}if(_0x49fa3e&&typeof _0x49fa3e==='object'&&!Array['isArray'](_0x49fa3e)&&typeof _0x49fa3e[_0x4375b6(_0x39869d._0x573d43,_0x39869d._0x35d463,_0x39869d._0x5b49e1,0x1fb)]===_0x4375b6(0x37d,_0x39869d._0x33a261,_0x39869d._0x3d3291,_0x39869d._0x3a5d28))return _0x49fa3e[_0x4375b6(0x319,0x2ee,0x27d,0x199)];function _0x189f38(_0x3fa414,_0x50f8de,_0x410ff5,_0x30cbd3){return _0x5da4fe(_0x3fa414- -_0x22343a._0xa7f418,_0x50f8de-0x187,_0x30cbd3,_0x30cbd3-_0x22343a._0x5371f3);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x5da4fe(0x31b,0x493,0x4d5,0x1d9),_0x2389b1(0x77a,0x702,0x7d6,0x62d),_0x2389b1(0x8f5,0x87b,0x816,0x81d),_0x2389b1(0x62d,0x6f5,0x669,0x7b2),_0x5da4fe(0x423,0x3c8,0x362,0x3f1),_0x2389b1(0x409,0x687,0x5f4,0x52e),_0x2389b1(0x6da,0x88e,0x85a,0x793),_0x2389b1(0x885,0x88c,0x93e,0x7ad),_0x5da4fe(0x46c,0x35c,0x404,0x603),_0x5da4fe(0x370,0x2cb,0x20d,0x4f9),'src/formats/provider-adapters.ts',_0x2389b1(0x395,0x42f,0x488,0x501),'src/shared/types.ts',_0x2389b1(0x68b,0x6db,0x63f,0x608),'src/models/anthropic-model.ts',_0x5da4fe(0x491,0x62b,0x322,0x324),_0x2389b1(0x5ba,0x623,0x6c1,0x730)][_0x5da4fe(0x171,0x109,0x1bf,0x2e2)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x2389b1(0x4ce,0x4b0,0x4f0,0x574),'description':_0x5da4fe(0x1b5,0x65,0x326,0x17b),'input_schema':{'type':_0x2389b1(0x66c,0x7b4,0x98f,0x823),'properties':{'command':{'type':'string'}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x37ff65){return{'output':_0x37ff65,'structured':{'value':_0x37ff65}};}function createUnknownToolResult(_0x273354){const _0x127dc0={_0x1d6acc:0x530,_0x12e992:0x55d,_0x4ea9a1:0x5c2,_0x205cdd:0x5ff,_0x4de023:0x69f,_0x4bcacb:0x5e0},_0x1a011f={_0x4b510e:0x262,_0x2b0025:0x50,_0x2bcbcd:0x49},_0x39ab50={_0x5e42f0:0x3};function _0x4bd211(_0x18fd8b,_0x538709,_0x4dcbe5,_0x1f50a8){return _0x5da4fe(_0x18fd8b- -_0x39ab50._0x5e42f0,_0x538709-0xaa,_0x1f50a8,_0x1f50a8-0xe2);}function _0x2e4e38(_0x14d46b,_0x5d7772,_0x1d364d,_0x3fb616){return _0x5da4fe(_0x1d364d-_0x1a011f._0x4b510e,_0x5d7772-_0x1a011f._0x2b0025,_0x14d46b,_0x3fb616-_0x1a011f._0x2bcbcd);}return{'callId':_0x273354['id'],'toolName':_0x273354[_0x2e4e38(0x5f1,_0x127dc0._0x1d6acc,0x69f,0x5f6)],'status':'error','output':_0x2e4e38(0x625,0x579,_0x127dc0._0x12e992,_0x127dc0._0x4ea9a1)+_0x273354[_0x2e4e38(_0x127dc0._0x205cdd,0x677,_0x127dc0._0x4de023,_0x127dc0._0x4bcacb)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x378fd2,_0x436258){const _0x5b6cc4={_0x67725c:0x54d,_0x389616:0x5bc,_0x38490d:0x17e,_0x519dfc:0x19b,_0x53a437:0x102},_0x1a9e01={_0x2af7f3:0x110},_0x56502a={_0x12a842:0x311,_0x416b10:0x1cf};function _0x3500d3(_0x180766,_0xca147b,_0x14d5e5,_0x15d837){return _0x5da4fe(_0xca147b- -_0x56502a._0x12a842,_0xca147b-0x22,_0x180766,_0x15d837-_0x56502a._0x416b10);}function _0x49c330(_0x49f654,_0x5d44d7,_0x7a1ff9,_0x14bfe5){return _0x5da4fe(_0x5d44d7-_0x1a9e01._0x2af7f3,_0x5d44d7-0x88,_0x7a1ff9,_0x14bfe5-0x157);}return{'callId':_0x378fd2['id'],'toolName':_0x378fd2[_0x49c330(0x5d1,_0x5b6cc4._0x67725c,0x606,_0x5b6cc4._0x389616)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x378fd2[_0x3500d3(_0x5b6cc4._0x38490d,_0x5b6cc4._0x519dfc,_0x5b6cc4._0x53a437,0xeb)]),'exitCode':0x0},'chunks':[_0x436258],'meta':createMeta()};}function createMockToolRuntime(){const _0xb396b7={_0x90ee50:0x191,_0x2b9a65:0x3e6,_0x29b5dc:0x267,_0xe1baf9:0x3aa,_0x5eb83a:0x502},_0x36b8b3={_0x5bf61f:0x7},_0x37aea5={_0x3c1fdf:0x49a,_0x406ec2:0x57a,_0x52f557:0x5c6,_0xb0e8dd:0x6ec},_0x25876c=async(_0x3222ec,_0x515761)=>{if(_0x3222ec[_0x5ccf5c(_0x37aea5._0x3c1fdf,_0x37aea5._0x406ec2,_0x37aea5._0x52f557,_0x37aea5._0xb0e8dd)]!=='Bash')return createUnknownToolResult(_0x3222ec);const _0x570544=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x5ccf5c(_0x2255c3,_0x329df6,_0x5c7fa9,_0x687e39){return _0x102a(_0x329df6-0x16f,_0x687e39);}return createSuccessToolResult(_0x3222ec,_0x570544);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2b46b0,_0xe28228){const _0x137915={_0x53ff6a:0x352};function _0x49590f(_0x3efcdc,_0x1484a2,_0x4c6711,_0x5c1f76){return _0x102a(_0x3efcdc-_0x137915._0x53ff6a,_0x1484a2);}function _0x40b809(_0x47666b,_0x5bcff8,_0x59bbe2,_0x4ab740){return _0x102a(_0x59bbe2- -_0x36b8b3._0x5bf61f,_0x4ab740);}return await Promise[_0x40b809(_0xb396b7._0x90ee50,_0xb396b7._0x2b9a65,_0xb396b7._0x29b5dc,_0xb396b7._0xe1baf9)](_0x2b46b0[_0x49590f(0x5b7,0x45c,_0xb396b7._0x5eb83a,0x6fc)](async _0x344418=>{return await _0x25876c(_0x344418,_0xe28228);}));},async 'execute'(_0x1b3b87,_0x44cb3c){return await _0x25876c(_0x1b3b87,_0x44cb3c);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x14ad69={_0x12e6ee:0x240},_0x48d1bc={_0x1a3b7c:0xb0,_0x5ae9ba:0x47};delegatedRunCounter+=0x1;function _0x1e7e4b(_0x10c230,_0x5b4a28,_0x98d8df,_0x1be31f){return _0x5da4fe(_0x10c230-_0x48d1bc._0x1a3b7c,_0x5b4a28-_0x48d1bc._0x5ae9ba,_0x98d8df,_0x1be31f-0x158);}return _0x1e7e4b(_0x14ad69._0x12e6ee,0x258,0x3a0,0x151)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3c1000,_0x56f3a6){const _0xe72e80={_0x21d4ec:0x4ea,_0x5308bb:0x28f,_0x102b6e:0x4f1},_0x12ebb4={_0x324dce:0x161};function _0x8293e3(_0x3dc49b,_0x3b05af,_0x1b7121,_0x54843d){return _0x2389b1(_0x3dc49b-0x18f,_0x3b05af-_0x12ebb4._0x324dce,_0x1b7121,_0x54843d- -0x31c);}return typeof _0x3c1000===_0x8293e3(_0xe72e80._0x21d4ec,_0xe72e80._0x5308bb,_0xe72e80._0x102b6e,0x3ee)?await _0x3c1000(_0x56f3a6):_0x3c1000;}function awaitWithAbort2(_0x4bb04b,_0x39e2d5){const _0x5cb974={_0x3b7ce1:0x15b,_0x28801f:0xc5},_0x432958={_0x4df501:0x46e,_0x13ff24:0x592};return throwIfAborted(_0x39e2d5),new Promise((_0x4c1eb0,_0x549eac)=>{const _0x55f253={_0x200733:0x3cb};let _0x5295ec=![];const _0x57fa62=addAbortListener(_0x39e2d5,()=>{const _0x403a60={_0x36a8ee:0x35d};if(_0x5295ec)return;function _0x5cc284(_0x13f7b7,_0xc4b37b,_0xf774c2,_0x363075){return _0x102a(_0xf774c2-_0x403a60._0x36a8ee,_0xc4b37b);}_0x5295ec=!![],_0x549eac(toAbortError(_0x39e2d5[_0x5cc284(_0x432958._0x4df501,0x503,0x5ea,_0x432958._0x13ff24)]));});function _0x3ce927(_0x1c5331,_0x17e2df,_0x311e8b,_0x224050){return _0x102a(_0x311e8b- -_0x55f253._0x200733,_0x224050);}_0x4bb04b[_0x3ce927(0x19d,_0x5cb974._0x3b7ce1,0x5a,_0x5cb974._0x28801f)](_0x588b44=>{if(_0x5295ec)return;_0x5295ec=!![],_0x57fa62(),_0x4c1eb0(_0x588b44);},_0x57a329=>{if(_0x5295ec)return;_0x5295ec=!![],_0x57fa62(),_0x549eac(_0x57a329);});});}function getDelegatedAgentDefinition(_0x4777a7,_0x4a77cf){const _0x21a459={_0x4b91eb:0x297},_0x2c6ddd={_0x56bd8c:0x152};function _0x14ba79(_0x45ec22,_0x2c4ab9,_0x363506,_0x23290){return _0x5da4fe(_0x363506- -0xce,_0x2c4ab9-_0x2c6ddd._0x56bd8c,_0x2c4ab9,_0x23290-0x2);}return _0x4777a7[_0x14ba79(_0x21a459._0x4b91eb,0x1c5,0x1bf,0x41)]?.[_0x4a77cf];}function createRunSummary(_0x4c943e){const _0xb11e08={_0x3c39c8:0x411,_0x5ec15c:0x5ca,_0x1ee5aa:0x3e,_0x26b893:0x3e2,_0x52b1e3:0x591,_0x14fe57:0x5d7,_0xeba834:0x1d7,_0x4c236d:0x324,_0xd73143:0x82,_0x5f2375:0x4cd,_0x579a3f:0x5cb,_0x102fa8:0x4fd,_0x2abd57:0xfb,_0x47a121:0x1aa,_0x25beb7:0x4d,_0x694cb7:0x46,_0x41ee98:0xcf,_0x4b3ad1:0x3a6,_0x119d44:0x3b9,_0x36ba60:0x2ba,_0x106977:0x651,_0x21778c:0x400},_0x24ea0e={_0x35b1de:0x3e1,_0x18a1c6:0x19e,_0x710317:0x106},_0x4fda4d={_0x1d33aa:0x1c6,_0x339aeb:0x105};function _0x5ae735(_0x502b26,_0x5579e9,_0x5a5902,_0x143321){return _0x5da4fe(_0x5a5902-_0x4fda4d._0x1d33aa,_0x5579e9-_0x4fda4d._0x339aeb,_0x143321,_0x143321-0xd2);}function _0x31156d(_0x41c43b,_0xb8c7cd,_0x3acec4,_0x58b803){return _0x5da4fe(_0xb8c7cd- -_0x24ea0e._0x35b1de,_0xb8c7cd-_0x24ea0e._0x18a1c6,_0x41c43b,_0x58b803-_0x24ea0e._0x710317);}return{'runId':_0x4c943e[_0x5ae735(0x6be,0x496,0x597,0x4c2)],'agentId':_0x4c943e[_0x5ae735(0x493,_0xb11e08._0x3c39c8,0x519,_0xb11e08._0x5ec15c)],..._0x4c943e['sessionId']!==void 0x0?{'sessionId':_0x4c943e[_0x31156d(-0x3,-0xa1,-_0xb11e08._0x1ee5aa,0xa)]}:{},'status':_0x4c943e[_0x5ae735(0x504,_0xb11e08._0x26b893,_0xb11e08._0x52b1e3,_0xb11e08._0x14fe57)],'parentSessionId':_0x4c943e[_0x31156d(-0x22f,-_0xb11e08._0xeba834,-_0xb11e08._0x4c236d,-_0xb11e08._0xd73143)],..._0x4c943e[_0x5ae735(0x6d9,_0xb11e08._0x5f2375,_0xb11e08._0x579a3f,_0xb11e08._0x102fa8)]!==void 0x0?{'originToolCallId':_0x4c943e['originToolCallId']}:{},..._0x4c943e[_0x31156d(0x16,-0x4d,-_0xb11e08._0x2abd57,-_0xb11e08._0x47a121)]!==void 0x0?{'errorMessage':_0x4c943e[_0x31156d(-0xaa,-_0xb11e08._0x25beb7,-_0xb11e08._0x694cb7,_0xb11e08._0x41ee98)]}:{},..._0x4c943e[_0x31156d(-0x2db,-0x242,-_0xb11e08._0x4b3ad1,-_0xb11e08._0x119d44)]?.['finalMessage']!==void 0x0?{'finalMessageText':getTextFromMessage(_0x4c943e[_0x5ae735(_0xb11e08._0x36ba60,0x2cc,0x365,0x3db)][_0x5ae735(0x62f,_0xb11e08._0x106977,0x575,_0xb11e08._0x21778c)])}:{}};}function createRunSummaryOutput(_0x45c8f3,_0x369930){const _0x462e55={_0x1ca714:0x4a5,_0x3758db:0x5c2,_0x26a06a:0x9b,_0x8c76f8:0x242,_0x52b930:0x15a,_0x556bab:0x873,_0x9cacfb:0x7a7},_0x42caab={_0x58e840:0x3ea},_0x35c413={_0x557cd5:0x1a2,_0x73820e:0x75},_0x3f667c=createRunSummary(_0x45c8f3);function _0x1fbc02(_0xc71b8,_0x5bbc01,_0x2a27ce,_0x4ef0e9){return _0x2389b1(_0xc71b8-0x68,_0x5bbc01-_0x35c413._0x557cd5,_0x5bbc01,_0x4ef0e9- -_0x35c413._0x73820e);}const _0x113865=_0x3f667c[_0x1fbc02(0x41e,_0x462e55._0x1ca714,_0x462e55._0x3758db,0x479)];function _0x4614cb(_0x42ee8d,_0x5b4396,_0x299185,_0x184711){return _0x5da4fe(_0x184711- -_0x42caab._0x58e840,_0x5b4396-0xd3,_0x42ee8d,_0x184711-0xb0);}return createToolOutput(typeof _0x113865===_0x4614cb(-_0x462e55._0x26a06a,-_0x462e55._0x8c76f8,0x45,-_0x462e55._0x52b930)&&_0x113865[_0x1fbc02(0x857,_0x462e55._0x556bab,0x81e,_0x462e55._0x9cacfb)]>0x0?_0x113865:_0x369930,_0x3f667c);}function getRunTerminalErrorMessage(_0x12ac33){const _0x3d7659={_0x42a0cf:0x6c4,_0x35b11f:0x6e6,_0x2eea15:0xc4,_0x165fc2:0xc0,_0x28c29b:0xac,_0x561fc2:0xee,_0x55b129:0x222,_0xe3e2c3:0x1a0},_0x12429d={_0x2b691f:0x15c,_0x560d1e:0x5fa},_0x21876c={_0x41da46:0x17,_0x356d0a:0xdf},_0x396324=_0x12ac33?.['state'][_0x2988c0(_0x3d7659._0x42a0cf,0x678,0x680,_0x3d7659._0x35b11f)]['at'](-0x1);function _0x2988c0(_0x3f0cae,_0x36a966,_0x2ee619,_0x4a8905){return _0x2389b1(_0x3f0cae-0x16d,_0x36a966-_0x21876c._0x41da46,_0x2ee619,_0x4a8905- -_0x21876c._0x356d0a);}function _0x5415b7(_0xef91b5,_0x2009fd,_0x3d0cb5,_0x14d3a2){return _0x2389b1(_0xef91b5-_0x12429d._0x2b691f,_0x2009fd-0x2b,_0xef91b5,_0x14d3a2- -_0x12429d._0x560d1e);}if(_0x396324?.['status']==='error'&&_0x396324[_0x5415b7(_0x3d7659._0x2eea15,-_0x3d7659._0x165fc2,0x22f,_0x3d7659._0x28c29b)]['trim']()[_0x5415b7(0x137,_0x3d7659._0x561fc2,0xfb,_0x3d7659._0x55b129)]>0x0)return _0x396324[_0x5415b7(0x14e,0x1f,_0x3d7659._0xe3e2c3,_0x3d7659._0x28c29b)];return void 0x0;}function formatAbortedRunMessage(_0x2b9fd9,_0x29168b){const _0x406a41={_0x5ccd78:0x41f,_0x41c35e:0x558},_0x242c6d={_0x18edb7:0x1f3},_0x2a054a='Agent\x20run\x20'+_0x2b9fd9+'\x20was\x20aborted.';function _0x511a9a(_0x13abdf,_0x111f50,_0x249294,_0x57fdf2){return _0x2389b1(_0x13abdf-_0x242c6d._0x18edb7,_0x111f50-0x22,_0x249294,_0x111f50- -0x2c4);}if(!_0x29168b||_0x29168b['trim']()[_0x511a9a(_0x406a41._0x5ccd78,_0x406a41._0x41c35e,0x57b,0x623)]===0x0||_0x29168b===_0x2a054a)return _0x2a054a;return _0x2a054a+'\x20Cause:\x20'+_0x29168b;}function createAssignTaskTool(_0x4efa84){const _0x11dc7e={_0x4fe62f:0x5c1,_0x3572d8:0x68a,_0x1e7e23:0x772,_0x1ad275:0x5d6,_0x4ec6f:0x576,_0x3fa2f5:0x2ba,_0x2f3750:0x7c0,_0x2ccb5c:0x37f,_0x36410a:0x3f2,_0x3aa536:0x57d,_0x313fae:0x640,_0x180dd0:0x6d0,_0x1bb497:0x299,_0x51133a:0x2ea,_0x541dc1:0x2f8,_0x5c663d:0x3a8,_0x1d9199:0x3f2,_0x292a53:0x3d3,_0x4c423c:0x282,_0x29df0f:0x3c9,_0x2592f2:0x56d,_0x13dbb4:0x69c,_0x22f062:0x592,_0x4a4a39:0x3ba,_0x4f38ce:0x330,_0x644b02:0x4ac,_0x48d0d6:0x451,_0x2c1a32:0x695},_0x27f395={_0x7f38df:0x592,_0x519fee:0x46e,_0x2db020:0x3ec,_0x23d8bb:0x46f,_0x5afed7:0x355,_0x51bcd9:0x304,_0x1fa20d:0x4ea,_0xa70e01:0x2b3,_0x45d0c9:0x403,_0x3807d3:0x4c9,_0xb75890:0x4d7,_0x729787:0x5e8,_0x5e9086:0x5fc,_0x1fd1aa:0x51f,_0x804679:0x423,_0x2d87e5:0x4d3,_0xb959b8:0xb1,_0x5c570:0x317,_0x423d74:0x4f8,_0x239825:0x3ad,_0x4b1f81:0x560,_0x3feff4:0x264,_0x57c922:0x20a,_0x32ee6a:0xb5,_0x526eec:0x2d7,_0x485d69:0x1d2,_0xfcd173:0x264,_0x53e86b:0x3ba,_0x93bde3:0x520,_0x563a64:0x426,_0x2c2200:0x37f,_0x3ef8b4:0x45d,_0x4b9215:0x532,_0x33d3e6:0x4cf,_0x26aee9:0x56d,_0x1f6e3d:0x3fc,_0xf08911:0x43c,_0x3dcec1:0x5c5,_0x69dc4c:0x241,_0x16dc4e:0x4c3,_0x59fe0e:0x500,_0x25ea3b:0x4bb,_0x30dc3e:0x495,_0x4d2c21:0x5d9,_0x25ea93:0x5f9,_0xba4eda:0x568,_0x534a65:0x587,_0x27baac:0x576,_0xa2d303:0x698,_0x5631c9:0x3b8,_0x3690e1:0x456,_0x4ed466:0x2f3,_0x2bf6ef:0x531,_0x400e4f:0x32f,_0x3d594a:0x2cc,_0x455232:0x2c9,_0x5d879c:0x3d2,_0x556bde:0x2e5,_0x1260c7:0x2a2,_0xc01401:0x222,_0x3650d3:0x264,_0x1e9f23:0x6c4,_0x78c10c:0x550,_0x45a6cf:0x5b3,_0x14115a:0x598,_0x23ecc1:0x555,_0x196101:0x3d3,_0xcf0ad0:0x382,_0x53bb81:0x412,_0x20096f:0x465,_0x36a75d:0x636,_0x5bab4e:0x5b8,_0x20f9a5:0xaa,_0x5d52b8:0xf1,_0x31439c:0x369,_0x3790f3:0x264,_0x56f58d:0x40c,_0x448077:0x362,_0x54fa54:0x498,_0xbe293b:0x6f5,_0x28178f:0x2e5,_0x18259d:0x3bd,_0x3a2e65:0xf5,_0x135414:0x71d,_0x4195df:0x49d,_0x830c81:0x397,_0xa29390:0x52c,_0x449c01:0x61e,_0x252b1c:0x446,_0x45de83:0x527,_0x3bdce3:0x277,_0x1e1301:0x52a,_0x531c07:0x63f,_0x2eecef:0x1ce,_0x4bca9e:0x53f,_0x5b0d36:0x69e,_0x6b8be2:0x516},_0x5c502e={_0x339624:0xf7},_0x3785e5={_0x334796:0x45},_0x4ce95e={_0x5340a4:0x2dd,_0x3e5de9:0x1ac},_0x519956={_0x7c7ef3:0x162,_0x57ea75:0x53};function _0x3d3d87(_0x175dc8,_0xa4f2cc,_0x315503,_0x2f037e){return _0x5da4fe(_0x2f037e-_0x519956._0x7c7ef3,_0xa4f2cc-_0x519956._0x57ea75,_0x175dc8,_0x2f037e-0xa);}function _0x10809b(_0x2febc0,_0x1ceb2c,_0x9387b1,_0x58214a){return _0x5da4fe(_0x1ceb2c-_0x4ce95e._0x5340a4,_0x1ceb2c-_0x4ce95e._0x3e5de9,_0x2febc0,_0x58214a-0x42);}return defineTool({'name':_0x10809b(_0x11dc7e._0x4fe62f,_0x11dc7e._0x3572d8,_0x11dc7e._0x1e7e23,_0x11dc7e._0x1ad275),'permissionClass':_0x3d3d87(0x3df,_0x11dc7e._0x4ec6f,_0x11dc7e._0x3fa2f5,0x44e),'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':_0x10809b(0x6e6,0x7ab,0x8b4,_0x11dc7e._0x2f3750),'properties':{'agentId':{'type':_0x3d3d87(0x45b,_0x11dc7e._0x2ccb5c,0x39e,_0x11dc7e._0x36410a),'description':_0x10809b(_0x11dc7e._0x3aa536,_0x11dc7e._0x313fae,_0x11dc7e._0x180dd0,0x6a9)},'description':{'type':_0x3d3d87(0x34c,0x57e,_0x11dc7e._0x1bb497,_0x11dc7e._0x36410a),'description':_0x3d3d87(0x308,_0x11dc7e._0x51133a,_0x11dc7e._0x541dc1,0x492)},'nickname':{'type':_0x3d3d87(0x3a8,0x3db,_0x11dc7e._0x5c663d,_0x11dc7e._0x1d9199),'description':_0x3d3d87(0x289,_0x11dc7e._0x292a53,_0x11dc7e._0x4c423c,_0x11dc7e._0x29df0f)},'task':{'type':_0x10809b(0x642,_0x11dc7e._0x2592f2,0x5d1,0x6d7),'description':_0x3d3d87(0x70d,0x57f,_0x11dc7e._0x13dbb4,_0x11dc7e._0x22f062)}},'required':[_0x3d3d87(_0x11dc7e._0x4a4a39,0x52e,_0x11dc7e._0x4f38ce,0x4b5),_0x10809b(_0x11dc7e._0x644b02,0x507,_0x11dc7e._0x48d0d6,_0x11dc7e._0x2c1a32),'task']},async *'execute'(_0xc5988c,_0x1dc800){const _0x29f60c={_0x54835f:0x140,_0xc79225:0x2ee,_0x15796a:0x422,_0x2157cb:0xc3,_0x61d14a:0xa4,_0x3cf783:0xd0};function _0x3e42cb(_0xfbb94a,_0x154c25,_0xb83f94,_0x2e9899){return _0x3d3d87(_0x2e9899,_0x154c25-_0x3785e5._0x334796,_0xb83f94-0xf9,_0x154c25- -0x17e);}const _0x46399c=createDelegatedRunId(),_0x549ed7=new AbortController(),_0x44d08c={'agentId':_0xc5988c[_0x75a1f3(0x4ea,_0x27f395._0x7f38df,0x4e2,0x5f3)],'parentSessionId':_0x1dc800['sessionId'],'runId':_0x46399c,'signal':_0x549ed7[_0x75a1f3(0x417,0x41e,_0x27f395._0x519fee,0x338)],..._0x1dc800[_0x75a1f3(_0x27f395._0x2db020,_0x27f395._0x23d8bb,_0x27f395._0x5afed7,0x4a9)]!==void 0x0?{'toolCallId':_0x1dc800[_0x75a1f3(_0x27f395._0x2db020,0x3cc,_0x27f395._0x51bcd9,0x248)]}:{}},_0x5b108f=getDelegatedAgentDefinition(_0x4efa84,_0xc5988c[_0x75a1f3(0x4ea,0x476,0x67a,0x605)]);if(!_0x5b108f)throw new ToolExecutionError('Unknown\x20delegated\x20agent:\x20'+_0xc5988c[_0x75a1f3(_0x27f395._0x1fa20d,0x4dc,0x350,0x3f7)],{'agentId':_0xc5988c[_0x3e42cb(0x432,0x337,_0x27f395._0xa70e01,0x312)]});let _0x1b7140={'runId':_0x46399c,'agentId':_0xc5988c['agentId'],'status':_0x3e42cb(_0x27f395._0x45d0c9,_0x27f395._0x3807d3,0x610,0x33d),'parentSessionId':_0x1dc800[_0x75a1f3(_0x27f395._0xb75890,_0x27f395._0x729787,_0x27f395._0x5e9086,_0x27f395._0x1fd1aa)],..._0x1dc800[_0x75a1f3(_0x27f395._0x2db020,_0x27f395._0x804679,0x58d,_0x27f395._0x2d87e5)]!==void 0x0?{'originToolCallId':_0x1dc800['toolCallId']}:{}};const _0x54b2bd=addAbortListener(_0x1dc800[_0x3e42cb(0x297,0x264,_0x27f395._0xb959b8,_0x27f395._0x5c570)],()=>{const _0x452d1a={_0xf42ef7:0x31e,_0x323866:0xc5},_0x3d19dd={_0x12cd29:0x1};function _0x24000e(_0x2611da,_0x23d6b9,_0x15f38a,_0x2cd7c5){return _0x3e42cb(_0x2611da-0xfa,_0x2611da- -0x1e0,_0x15f38a-_0x3d19dd._0x12cd29,_0x15f38a);}function _0xc2a875(_0x2dd367,_0x4c6ffb,_0x14b2d9,_0x24b41a){return _0x3e42cb(_0x2dd367-0x12e,_0x24b41a- -_0x452d1a._0xf42ef7,_0x14b2d9-_0x452d1a._0x323866,_0x4c6ffb);}_0x549ed7[_0x24000e(0x27f,_0x29f60c._0x54835f,_0x29f60c._0xc79225,_0x29f60c._0x15796a)](_0x1dc800[_0xc2a875(-0x17,-0x72,-0xf9,-0xba)][_0x24000e(_0x29f60c._0x2157cb,_0x29f60c._0x61d14a,0x240,-_0x29f60c._0x3cf783)]);});let _0x4b6de3;function _0x75a1f3(_0x3ce004,_0x481e56,_0x22d5f3,_0x5baefd){return _0x3d3d87(_0x5baefd,_0x481e56-0xfb,_0x22d5f3-_0x5c502e._0x339624,_0x3ce004-0x35);}let _0x5bbc37,_0x3c8116,_0xa19b4a;try{_0x4efa84[_0x3e42cb(_0x27f395._0x423d74,_0x27f395._0x239825,0x264,0x4c2)]!==void 0x0&&(_0x4b6de3=await _0x4efa84[_0x75a1f3(_0x27f395._0x4b1f81,0x4ea,0x593,0x5fb)]['acquire'](_0x549ed7[_0x3e42cb(0x301,_0x27f395._0x3feff4,_0x27f395._0x57c922,_0x27f395._0x32ee6a)]));throwIfAborted(_0x549ed7[_0x3e42cb(_0x27f395._0x526eec,0x264,_0x27f395._0x485d69,0x270)]);const _0x39b9c3=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x5b108f,_0x44d08c),_0x549ed7[_0x3e42cb(0x309,_0x27f395._0xfcd173,_0x27f395._0x53e86b,0xff)]);throwIfAborted(_0x549ed7[_0x75a1f3(0x417,0x515,0x3ed,_0x27f395._0x93bde3)]);const _0x311349=_0x4efa84[_0x3e42cb(_0x27f395._0x563a64,_0x27f395._0x2c2200,0x53c,_0x27f395._0x3ef8b4)]!==void 0x0&&_0x39b9c3['systemPrompt']!==void 0x0?{..._0x39b9c3,'systemPrompt':_0x4efa84[_0x75a1f3(_0x27f395._0x4b9215,_0x27f395._0x33d3e6,_0x27f395._0x26aee9,_0x27f395._0x1f6e3d)](_0x39b9c3['systemPrompt'])}:_0x39b9c3;throwIfAborted(_0x549ed7['signal']);const _0x186f74=new Agent(_0x311349);_0x1b7140={..._0x1b7140,'sessionId':_0x186f74[_0x75a1f3(0x4d7,_0x27f395._0xf08911,_0x27f395._0x3dcec1,0x662)]},_0x5bbc37=_0x4efa84[_0x3e42cb(_0x27f395._0x69dc4c,0x363,_0x27f395._0x16dc4e,_0x27f395._0x59fe0e)]?.(_0x186f74,_0x44d08c);const _0xd901c=new Promise(_0x3be2bd=>{_0xa19b4a=_0x3be2bd;});_0x3c8116=_0x4efa84[_0x3e42cb(_0x27f395._0x519fee,0x30a,0x36f,_0x27f395._0x25ea3b)]?.({'runId':_0x46399c,'abortController':_0x549ed7,'completion':_0xd901c}),yield createToolOutput(_0x75a1f3(_0x27f395._0x30dc3e,_0x27f395._0x4d2c21,_0x27f395._0x25ea93,0x4a8)+_0x1b7140['runId']+'.',{'runId':_0x1b7140[_0x75a1f3(_0x27f395._0xba4eda,0x51a,_0x27f395._0x534a65,0x572)],'agentId':_0x1b7140[_0x75a1f3(0x4ea,0x677,_0x27f395._0x27baac,0x67d)],'sessionId':_0x186f74[_0x75a1f3(0x4d7,_0x27f395._0xa2d303,_0x27f395._0x5631c9,_0x27f395._0x3690e1)],'status':_0x1b7140['status']}),throwIfAborted(_0x549ed7[_0x75a1f3(0x417,_0x27f395._0x4ed466,_0x27f395._0x2bf6ef,0x333)]);const _0xab41a2=await _0x186f74[_0x3e42cb(_0x27f395._0x400e4f,_0x27f395._0x3d594a,_0x27f395._0x455232,_0x27f395._0x5d879c)](_0xc5988c[_0x3e42cb(_0x27f395._0x556bde,_0x27f395._0x1260c7,0x1d9,0x3ce)],{'streaming':!![],'signal':_0x549ed7[_0x3e42cb(_0x27f395._0xc01401,_0x27f395._0x3650d3,0x35c,0x30d)]});_0x1b7140={..._0x1b7140,'status':_0xab41a2[_0x75a1f3(0x562,0x510,_0x27f395._0x1e9f23,0x513)],'result':_0xab41a2};if(_0xab41a2['status']!==_0x75a1f3(_0x27f395._0x3dcec1,_0x27f395._0x78c10c,_0x27f395._0x45a6cf,0x42b)){const _0xf34dd3=getRunTerminalErrorMessage(_0xab41a2),_0x4a052c=formatAbortedRunMessage(_0x1b7140[_0x75a1f3(0x568,_0x27f395._0x14115a,_0x27f395._0x23ecc1,_0x27f395._0x196101)],_0xf34dd3);throw new ToolExecutionError(_0x4a052c,{...createRunSummary(_0x1b7140),'aborted':!![],'errorMessage':_0x4a052c});}return createRunSummaryOutput(_0x1b7140,_0x75a1f3(_0x27f395._0xcf0ad0,0x1e9,_0x27f395._0x53bb81,_0x27f395._0x20096f)+_0x1b7140[_0x75a1f3(0x568,0x3c8,_0x27f395._0x36a75d,_0x27f395._0x5bab4e)]+_0x3e42cb(0x1e2,0x217,_0x27f395._0x20f9a5,_0x27f395._0x5d52b8));}catch(_0x263649){if(_0x263649 instanceof ToolExecutionError)throw _0x263649;if(isAbortError(_0x263649)||_0x549ed7[_0x3e42cb(_0x27f395._0x31439c,_0x27f395._0x3790f3,_0x27f395._0x56f58d,_0x27f395._0x448077)][_0x75a1f3(0x5f9,0x52b,_0x27f395._0x54fa54,_0x27f395._0xbe293b)]||_0x1dc800[_0x3e42cb(_0x27f395._0x28178f,_0x27f395._0x3790f3,_0x27f395._0x18259d,_0x27f395._0x3a2e65)][_0x75a1f3(0x5f9,0x799,0x5f5,_0x27f395._0x135414)]){const _0x1e8acb=getRunTerminalErrorMessage(_0x1b7140['result'])??(_0x263649 instanceof Error?_0x263649[_0x75a1f3(_0x27f395._0x4195df,0x530,_0x27f395._0x830c81,_0x27f395._0xa29390)]:String(_0x263649)),_0x1c0ffe=formatAbortedRunMessage(_0x1b7140[_0x75a1f3(0x568,0x6f0,_0x27f395._0x449c01,0x6c2)],_0x1e8acb);_0x1b7140={..._0x1b7140,'status':_0x3e42cb(0x5e1,_0x27f395._0x252b1c,0x463,_0x27f395._0x45de83),'errorMessage':_0x1c0ffe};throw new ToolExecutionError(_0x1c0ffe,{...createRunSummary(_0x1b7140),'aborted':!![],'errorMessage':_0x1c0ffe});}const _0x505ab2=getRunTerminalErrorMessage(_0x1b7140[_0x3e42cb(0x1e2,0x183,_0x27f395._0x3bdce3,0x2cc)])??(_0x263649 instanceof Error?_0x263649[_0x75a1f3(_0x27f395._0x4195df,_0x27f395._0x1e1301,0x2e2,_0x27f395._0x531c07)]:String(_0x263649))??_0x3e42cb(_0x27f395._0x2eecef,0x1cf,0x145,0x2e5)+_0x1b7140['runId']+_0x75a1f3(_0x27f395._0x4bca9e,_0x27f395._0x5b0d36,_0x27f395._0x6b8be2,0x4f6);_0x1b7140={..._0x1b7140,'status':'failed','errorMessage':_0x505ab2};throw new ToolExecutionError(_0x505ab2,{...createRunSummary(_0x1b7140),'errorMessage':_0x505ab2});}finally{_0xa19b4a?.(),_0x3c8116?.(),_0x5bbc37?.(),_0x4b6de3?.(),_0x54b2bd();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x3c13c2){return[createAssignTaskTool(_0x3c13c2)];}import*as _0x40ba90 from'path';function buildDescription2(_0xce174f){const _0x501d0b={_0x421147:0x784,_0x171e74:0x62d,_0x88421f:0x6a9,_0x4bbddd:0x604,_0x18693c:0x49b,_0x453df2:0x5ad,_0xe5a07d:0x57f,_0x528cfa:0x500,_0x33bca0:0x552,_0x4ee1df:0x4ce,_0x36f07e:0x3d7,_0x45e26e:0x344,_0x235405:0x46f,_0x25406d:0x1b8,_0x12878a:0x2e8},_0xe0c22={_0x207582:0x177},_0x3bb7e3={_0x4bfe95:0x1ca};function _0x33d374(_0x5991fb,_0x21c8c4,_0x2b611e,_0x332012){return _0x2389b1(_0x5991fb-0x15b,_0x21c8c4-0x91,_0x5991fb,_0x21c8c4- -_0x3bb7e3._0x4bfe95);}if(_0xce174f[_0x33d374(_0x501d0b._0x421147,0x652,_0x501d0b._0x171e74,0x501)]===0x0)return _0x33d374(_0x501d0b._0x88421f,0x668,_0x501d0b._0x4bbddd,0x70d);const _0x2b4415=[_0x33d374(0x398,_0x501d0b._0x18693c,0x5cd,0x470),_0x33d374(0x6da,_0x501d0b._0x453df2,_0x501d0b._0xe5a07d,_0x501d0b._0x528cfa),_0x33d374(0x572,0x4f9,0x4b1,_0x501d0b._0x33bca0),_0x33d374(_0x501d0b._0x4ee1df,_0x501d0b._0x36f07e,_0x501d0b._0x45e26e,_0x501d0b._0x235405),..._0xce174f['map'](_0x366383=>'-\x20'+_0x366383[_0x33d374(0x55f,0x5c8,0x5f7,0x6c9)]+':\x20'+_0x366383['description'])];function _0x20e92b(_0xfc7a0b,_0x41164a,_0x15d1d8,_0xb9c819){return _0x5da4fe(_0xb9c819-_0xe0c22._0x207582,_0x41164a-0x88,_0x15d1d8,_0xb9c819-0xad);}return _0x2b4415[_0x20e92b(0x28c,_0x501d0b._0x25406d,0x23c,_0x501d0b._0x12878a)]('\x0a');}function createLoadSkillTool(_0x22114b){const _0x2fabf2={_0x2cc755:0x1d2,_0x467251:0x2eb,_0x20d689:0x198,_0x32b661:0x1d2,_0x2e41a9:0x36,_0x25c0e9:0x22e,_0x5b8578:0x168,_0x3c711e:0x2d,_0x462e5d:0x12c,_0x4c9278:0x2bb,_0xfb08b6:0x10a,_0x374f16:0x2a4,_0x5db3d8:0x22a,_0x54951a:0x37b,_0x3c18d5:0x3d5},_0x56b6ce={_0x51f160:0x39d,_0x3c56cd:0x141,_0x2f4bec:0x13,_0xd45a53:0x3d4,_0x4ddc08:0x2d0,_0x73bdd2:0x249,_0x337d2b:0x1ef,_0x46b6fa:0x3e3,_0x221dcb:0x2a,_0x505016:0xa6,_0xfdd89d:0xc6,_0x4435a6:0x249,_0x229efd:0x395,_0x25c81d:0x286,_0x1feb40:0x3d,_0x1a5216:0x30,_0x34b332:0x317,_0x1529bf:0x371,_0x98060d:0x328,_0xf40bb7:0xd6,_0x2cf544:0x4c,_0x5b36ee:0x212,_0x1ab555:0x6c,_0x13e287:0x8,_0x120b6a:0x1c,_0x28dd78:0x9e,_0xb638b7:0x249,_0x22bfdd:0x387,_0x4cefae:0x257,_0x539d62:0x3bd,_0xf633fa:0x2c2,_0x13b184:0x9d,_0x12b05f:0x149,_0x4a94b4:0xa1,_0x4a18ed:0x6f,_0x28910c:0xed},_0xdcdab6={_0x15b337:0x96},_0x387348={_0x55d676:0x8b},_0x3ba3c4=new Map(_0x22114b[_0x360ddc(0x2a4,_0x2fabf2._0x2cc755,0x6b,0x152)][_0x2bb213(0x258,_0x2fabf2._0x467251,0x2ee,_0x2fabf2._0x20d689)](_0x287a2e=>[_0x287a2e[_0x2bb213(0x3fe,0x42f,0x377,0x26c)],_0x287a2e]));function _0x360ddc(_0x177437,_0x2be495,_0x14e07a,_0x3c5aba){return _0x2389b1(_0x177437-_0x387348._0x55d676,_0x2be495-0x1f,_0x14e07a,_0x2be495- -0x568);}const _0x4fa152=buildDescription2(_0x22114b[_0x360ddc(0x1fa,_0x2fabf2._0x32b661,_0x2fabf2._0x2e41a9,_0x2fabf2._0x25c0e9)]);function _0x2bb213(_0x3c1743,_0x1fadba,_0x5511c0,_0x5d1dbc){return _0x5da4fe(_0x3c1743- -0x3f,_0x1fadba-0x130,_0x1fadba,_0x5d1dbc-0x19f);}return defineTool({'name':_0x360ddc(_0x2fabf2._0x5b8578,-_0x2fabf2._0x3c711e,-0x15f,_0x2fabf2._0x462e5d),'permissionClass':'read','description':_0x4fa152,'inputSchema':{'type':_0x360ddc(0x214,_0x2fabf2._0x4c9278,0x389,0x35c),'properties':{'name':{'type':_0x360ddc(-0xc,0x7d,-0xe8,-_0x2fabf2._0xfb08b6)}},'required':[_0x360ddc(_0x2fabf2._0x374f16,_0x2fabf2._0x5db3d8,_0x2fabf2._0x54951a,_0x2fabf2._0x3c18d5)]},async *'execute'(_0x451866){const _0x55b013={_0x5962f4:0x13},_0x2eed34=_0x3ba3c4[_0x28c225(0x20b,0x1f8,0x16d,0x3cd)](_0x451866['name']);if(!_0x2eed34){const _0x5c9201=Array[_0x3984cd(-0x93,-0x234,-0x24a,-_0x56b6ce._0x51f160)](_0x3ba3c4['keys']())[_0x3984cd(-0x28c,-0x242,-0x3eb,-_0x56b6ce._0x3c56cd)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x451866[_0x3984cd(0x190,0x8a,0x1dc,-0xca)]+_0x3984cd(-0x193,-0x81,0x11,-_0x56b6ce._0x2f4bec)+_0x5c9201,{'name':_0x451866['name']});}function _0x3984cd(_0x5d07cf,_0x4041ad,_0x148a86,_0x22687a){return _0x2bb213(_0x4041ad- -0x374,_0x22687a,_0x148a86-0xb6,_0x22687a-_0x55b013._0x5962f4);}const _0xc21c23=await _0x22114b[_0x28c225(_0x56b6ce._0xd45a53,0x48b,_0x56b6ce._0x4ddc08,0x3eb)](_0x2eed34);function _0x28c225(_0x176a2a,_0x61eb9a,_0x12c9be,_0x2c573d){return _0x2bb213(_0x176a2a- -0x95,_0x61eb9a,_0x12c9be-_0xdcdab6._0x15b337,_0x2c573d-0xda);}const _0x394fb7=_0x2eed34[_0x28c225(_0x56b6ce._0x73bdd2,0x2d3,_0x56b6ce._0x337d2b,_0x56b6ce._0x46b6fa)][_0x3984cd(0xd3,0x6,0x17f,_0x56b6ce._0x221dcb)]??_0x40ba90[_0x3984cd(0x126,0xef,-_0x56b6ce._0x505016,_0x56b6ce._0xfdd89d)](_0x2eed34[_0x28c225(_0x56b6ce._0x4435a6,0x147,0x197,_0x56b6ce._0x229efd)][_0x28c225(_0x56b6ce._0x25c81d,0x380,0x2d5,0x303)]),_0x2567ed=[_0x3984cd(_0x56b6ce._0x1feb40,-0x148,_0x56b6ce._0x1a5216,0x1d)+_0xc21c23[_0x28c225(0x369,_0x56b6ce._0x34b332,_0x56b6ce._0x1529bf,_0x56b6ce._0x98060d)],'',_0xc21c23[_0x3984cd(0x15f,_0x56b6ce._0xf40bb7,-_0x56b6ce._0x2cf544,0xda)],'',_0x3984cd(_0x56b6ce._0x5b36ee,0xcd,-_0x56b6ce._0x1ab555,0x65),_0x3984cd(-_0x56b6ce._0x13e287,-_0x56b6ce._0x120b6a,_0x56b6ce._0x3c56cd,-_0x56b6ce._0x28dd78)+_0x2eed34[_0x28c225(_0x56b6ce._0xb638b7,_0x56b6ce._0x22bfdd,_0x56b6ce._0x4cefae,0x17a)][_0x28c225(_0x56b6ce._0x25c81d,_0x56b6ce._0x539d62,_0x56b6ce._0xf633fa,_0x56b6ce._0xd45a53)],'Base\x20directory:\x20'+_0x394fb7][_0x28c225(_0x56b6ce._0x13b184,_0x56b6ce._0x12b05f,0x6e,0x102)]('\x0a');return yield createToolOutput(_0x2567ed,{'id':_0xc21c23['id'],'name':_0xc21c23['name'],'path':_0x2eed34[_0x3984cd(-0x1bb,-0x96,-0x178,-_0x56b6ce._0x4a94b4)][_0x3984cd(_0x56b6ce._0x4a18ed,-0x59,0x94,-_0x56b6ce._0x28910c)],'baseDirectory':_0x394fb7}),void 0x0;}});}var TODO_STATUSES=new Set([_0x5da4fe(0x17d,0xa8,0x294,0x26b),_0x2389b1(0x53b,0x51a,0x514,0x571),_0x5da4fe(0x42e,0x5e6,0x285,0x401)]),TODO_PRIORITIES=new Set([_0x5da4fe(0x1e8,0x1be,0x374,0x3a1),_0x5da4fe(0x186,0x68,0x194,-0x3c),'low']);function isTodoStatus(_0x15cf25){const _0x335e44={_0x4ee29c:0x58b,_0x287388:0x650},_0x40c572={_0x1a9e2b:0x2a5,_0x21c004:0x10e,_0x178d6e:0xba};function _0x835516(_0x335798,_0x142e8e,_0x33422a,_0x4b851b){return _0x5da4fe(_0x4b851b-_0x40c572._0x1a9e2b,_0x142e8e-_0x40c572._0x21c004,_0x142e8e,_0x4b851b-_0x40c572._0x178d6e);}return typeof _0x15cf25==='string'&&TODO_STATUSES[_0x835516(0x731,_0x335e44._0x4ee29c,0x67d,_0x335e44._0x287388)](_0x15cf25);}function isTodoPriority(_0x47d07a){function _0x7b2234(_0x2a10a6,_0x3a9fa3,_0x452d71,_0x1f31be){return _0x2389b1(_0x2a10a6-0x127,_0x3a9fa3-0x35,_0x2a10a6,_0x1f31be- -0x561);}return typeof _0x47d07a==='string'&&TODO_PRIORITIES[_0x7b2234(0x195,0x1e,0x2cd,0x19f)](_0x47d07a);}var TodoStore=class{[_0x2389b1(0x32a,0x439,0x408,0x4be)]=new Map();['getTodos'](_0x1cd8a4){const _0x1705af={_0xda586b:0x3c3,_0x50dfef:0x4b8,_0x1ba85e:0x578,_0x4021aa:0x6f6},_0x440aa4={_0x10462d:0xa},_0x2c1e76={_0x5de335:0x1f0};function _0x30bc02(_0x4c33ec,_0x34aa2c,_0x2102e2,_0x36ab8b){return _0x5da4fe(_0x2102e2- -_0x2c1e76._0x5de335,_0x34aa2c-0x18c,_0x34aa2c,_0x36ab8b-0x140);}function _0x291f95(_0x45a379,_0x42e18a,_0x162ce4,_0x5a096c){return _0x2389b1(_0x45a379-0x15a,_0x42e18a-_0x440aa4._0x10462d,_0x45a379,_0x42e18a- -0x6);}return this[_0x291f95(_0x1705af._0xda586b,_0x1705af._0x50dfef,0x375,0x639)][_0x291f95(_0x1705af._0x1ba85e,0x62e,0x5ca,_0x1705af._0x4021aa)](_0x1cd8a4)??[];}[_0x2389b1(0x5bd,0x4d8,0x45c,0x503)](_0xf0b24c,_0x1fe0d3){const _0x1a74ae={_0x2f1945:0x3d7,_0x1afc88:0x361,_0x3ca198:0x2f5,_0x1e8535:0x14,_0x5e50fc:0x90},_0x2144fc={_0x50f1ec:0x141};function _0x22b19d(_0x1defff,_0x201237,_0x54edec,_0x538bd7){return _0x5da4fe(_0x201237- -_0x2144fc._0x50f1ec,_0x201237-0xdc,_0x538bd7,_0x538bd7-0x175);}function _0x123624(_0x12609c,_0x498878,_0x25cc4e,_0x4c16c9){return _0x2389b1(_0x12609c-0x7a,_0x498878-0x143,_0x498878,_0x25cc4e- -0x15d);}this[_0x123624(_0x1a74ae._0x2f1945,0x368,_0x1a74ae._0x1afc88,_0x1a74ae._0x3ca198)][_0x22b19d(_0x1a74ae._0x1e8535,0x167,0x150,_0x1a74ae._0x5e50fc)](_0xf0b24c,_0x1fe0d3);}[_0x5da4fe(0x46d,0x35a,0x585,0x541)](_0x4311b9){const _0xcb4e4b={_0x37f0d8:0x29d,_0x317aaf:0x268,_0x1bfa2e:0x36e,_0x15afbe:0x417,_0x5acc3f:0x38d,_0x2a135e:0x1e1,_0x163e3c:0x277,_0x2b6a9c:0x1d5,_0x1d1057:0xbe,_0x16f890:0xd5,_0x5e29df:0x2cc,_0x170270:0x193,_0x3a537f:0x1fe},_0x1d04c6={_0x41786f:0x7b,_0x9ffc39:0x8f};function _0x123122(_0x368d4f,_0x2c28cd,_0x1bce95,_0x5b0101){return _0x2389b1(_0x368d4f-0xe5,_0x2c28cd-0x1b5,_0x1bce95,_0x5b0101- -0x393);}const _0x117683=this['getTodos'](_0x4311b9),_0xc9a9be={'total':_0x117683[_0x370ac7(0x2b0,_0xcb4e4b._0x37f0d8,_0xcb4e4b._0x317aaf,_0xcb4e4b._0x1bfa2e)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x370ac7(_0x2b55a6,_0x2c9387,_0x4f3725,_0xb1676e){return _0x2389b1(_0x2b55a6-_0x1d04c6._0x41786f,_0x2c9387-_0x1d04c6._0x9ffc39,_0xb1676e,_0x4f3725- -0x5b4);}for(const _0x5e607d of _0x117683){if(_0x5e607d[_0x123122(0x445,0x325,_0xcb4e4b._0x15afbe,_0xcb4e4b._0x5acc3f)]===_0x123122(0xa,_0xcb4e4b._0x2a135e,_0xcb4e4b._0x163e3c,0x13f))_0xc9a9be[_0x370ac7(-_0xcb4e4b._0x2b6a9c,_0xcb4e4b._0x1d1057,-0xe2,-_0xcb4e4b._0x16f890)]+=0x1;else{if(_0x5e607d[_0x370ac7(_0xcb4e4b._0x5e29df,0x249,0x16c,0x27a)]===_0x123122(_0xcb4e4b._0x170270,0x29d,_0xcb4e4b._0x3a537f,0x1de))_0xc9a9be['inProgress']+=0x1;else _0xc9a9be[_0x123122(0x3f4,0x459,0x338,0x3f0)]+=0x1;}}return _0xc9a9be;}};function validateTodos(_0x59a44f){const _0x50f806={_0x4103e0:0x534,_0x413b49:0x569,_0x43bbb9:0x467,_0x352134:0x7bf,_0x43e0e4:0x69b,_0x8ad6f9:0x590,_0x29c358:0x34e,_0x224953:0x394,_0x5f43a7:0x625,_0x20d862:0x54f,_0x379bd2:0x4b7,_0x1e9953:0x635,_0x5dfd47:0x6a4,_0x452589:0x682,_0x38cc0b:0x79b,_0x3dde97:0x3d1,_0x5a567b:0x84e,_0x4fa27e:0x2cc,_0x1840a0:0x493,_0x47a556:0x523,_0x5de73a:0x36f,_0xd4c565:0x3e0,_0x72da37:0x568,_0x431f96:0x350,_0x338b31:0x26f,_0x533432:0x526,_0x1cbfa2:0x39c,_0x1f3412:0x298,_0x59bf59:0x3ef,_0x27ee06:0x593,_0x3249dd:0x605,_0x29bd7f:0x430,_0x2b73c3:0x59e,_0x2492e3:0x43e,_0x196dd2:0x46d,_0x384d1f:0x356,_0x325999:0x45e,_0x4b038f:0x3c6,_0x3ba1a9:0x375,_0x6df3d1:0x325,_0x55fc60:0x378,_0x4da88f:0x49d,_0x179a6a:0x3d0,_0x328572:0x82c,_0xf3864a:0x6b9,_0x557725:0x662,_0x491273:0x414,_0x284278:0x5a8,_0x2e2844:0x554,_0x248921:0x767,_0x126142:0x40f,_0x478d21:0x516,_0x41c9ba:0x261,_0x4f8c33:0x3e1,_0x5aa36a:0x358,_0x1d2e4b:0x29a,_0x3cc4c8:0x4eb,_0x30413c:0x56c,_0x1c9d4f:0x553,_0x1a2abb:0x6b0,_0x32acf1:0x512,_0x4d08cc:0x136,_0x2e2802:0x110,_0x1c3589:0x2bd,_0x77b192:0x5ad,_0x27d118:0x3bd,_0x197b78:0x35b,_0x5ae593:0x4b7,_0x85fbd8:0x32a,_0xcccaba:0x31b,_0x1c7d1c:0x37c,_0x3c25e9:0x2db,_0x58cf8a:0x365,_0x27941e:0x557},_0x292115={_0x40c883:0x195};function _0x14ccdb(_0x336527,_0x1c195d,_0xa1eacb,_0x4eebb9){return _0x5da4fe(_0x1c195d-0x1dd,_0x1c195d-0x119,_0x336527,_0x4eebb9-0x63);}function _0x4d00b5(_0x9b46ac,_0x198007,_0x3f94c2,_0x458595){return _0x5da4fe(_0x458595-0x122,_0x198007-0x78,_0x3f94c2,_0x458595-_0x292115._0x40c883);}if(!Array[_0x4d00b5(0x442,_0x50f806._0x4103e0,0x475,0x481)](_0x59a44f['todos'])||_0x59a44f[_0x14ccdb(0x501,0x572,_0x50f806._0x413b49,_0x50f806._0x43bbb9)][_0x14ccdb(_0x50f806._0x352134,0x6a4,_0x50f806._0x43e0e4,0x642)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x4d00b5(_0x50f806._0x8ad6f9,_0x50f806._0x29c358,_0x50f806._0x224953,0x3e2)});for(let _0x515586=0x0;_0x515586<_0x59a44f[_0x4d00b5(_0x50f806._0x5f43a7,_0x50f806._0x20d862,0x5ed,_0x50f806._0x379bd2)][_0x14ccdb(_0x50f806._0x1e9953,_0x50f806._0x5dfd47,_0x50f806._0x452589,_0x50f806._0x38cc0b)];_0x515586+=0x1){const _0x518b59=_0x59a44f[_0x4d00b5(0x489,_0x50f806._0x3dde97,0x59c,_0x50f806._0x379bd2)][_0x515586];if(!_0x518b59||typeof _0x518b59!==_0x14ccdb(_0x50f806._0x5a567b,0x6ab,0x766,0x5da))throw new ToolExecutionError(_0x14ccdb(_0x50f806._0x4fa27e,0x378,_0x50f806._0x1840a0,0x314)+(_0x515586+0x1)+_0x4d00b5(0x2fe,0x348,_0x50f806._0x47a556,0x48a),{'error':_0x4d00b5(_0x50f806._0x5de73a,0x2b7,_0x50f806._0xd4c565,0x305)});if(typeof _0x518b59['id']!==_0x4d00b5(_0x50f806._0x72da37,_0x50f806._0x431f96,_0x50f806._0x338b31,0x3b2)||_0x518b59['id']['trim']()[_0x14ccdb(0x75c,_0x50f806._0x5dfd47,0x602,_0x50f806._0x533432)]===0x0)throw new ToolExecutionError(_0x4d00b5(0x1c2,0x256,0x43e,0x2bd)+(_0x515586+0x1)+_0x14ccdb(0x3f9,_0x50f806._0x1cbfa2,_0x50f806._0x1f3412,_0x50f806._0x59bf59),{'error':_0x4d00b5(_0x50f806._0x27ee06,_0x50f806._0x3249dd,_0x50f806._0x29bd7f,_0x50f806._0x2b73c3)});if(typeof _0x518b59[_0x14ccdb(_0x50f806._0x2492e3,0x543,0x50b,0x6c6)]!==_0x14ccdb(0x487,_0x50f806._0x196dd2,0x521,_0x50f806._0x384d1f)||_0x518b59[_0x14ccdb(0x4b4,0x543,_0x50f806._0x325999,0x503)][_0x4d00b5(_0x50f806._0x4b038f,0x544,_0x50f806._0x3ba1a9,0x3a7)]()[_0x4d00b5(0x595,0x5f4,0x493,0x5e9)]===0x0)throw new ToolExecutionError(_0x14ccdb(_0x50f806._0x6df3d1,_0x50f806._0x55fc60,_0x50f806._0x4da88f,0x529)+(_0x515586+0x1)+_0x4d00b5(0x59b,_0x50f806._0x179a6a,0x53d,0x471),{'error':_0x14ccdb(_0x50f806._0x328572,_0x50f806._0xf3864a,_0x50f806._0x557725,0x7fd)});if(!isTodoStatus(_0x518b59[_0x14ccdb(_0x50f806._0x491273,_0x50f806._0x284278,_0x50f806._0x2e2844,_0x50f806._0x248921)]))throw new ToolExecutionError(_0x14ccdb(_0x50f806._0x126142,_0x50f806._0x55fc60,_0x50f806._0x478d21,_0x50f806._0x41c9ba)+(_0x515586+0x1)+_0x4d00b5(_0x50f806._0x4f8c33,_0x50f806._0x5aa36a,_0x50f806._0x1d2e4b,0x3db),{'error':_0x14ccdb(_0x50f806._0x3cc4c8,_0x50f806._0x30413c,0x3ba,0x44e)});if(!isTodoPriority(_0x518b59[_0x4d00b5(_0x50f806._0x1c9d4f,_0x50f806._0x1a2abb,0x509,_0x50f806._0x32acf1)]))throw new ToolExecutionError(_0x4d00b5(_0x50f806._0x4d08cc,0x44c,_0x50f806._0x2e2802,_0x50f806._0x1c3589)+(_0x515586+0x1)+_0x14ccdb(0x3dd,0x3ec,_0x50f806._0x77b192,0x404),{'error':'invalid_todo_priority'});}const _0x469ad8=_0x59a44f[_0x4d00b5(_0x50f806._0x27d118,_0x50f806._0x197b78,0x4d3,_0x50f806._0x5ae593)][_0x4d00b5(0x2b6,_0x50f806._0x85fbd8,_0x50f806._0xcccaba,0x3b9)](_0x1ceaca=>_0x1ceaca['id']);if(new Set(_0x469ad8)[_0x14ccdb(_0x50f806._0x1c7d1c,0x354,_0x50f806._0x3c25e9,_0x50f806._0x58cf8a)]!==_0x469ad8[_0x4d00b5(_0x50f806._0x27941e,0x584,0x488,0x5e9)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x96860b){const _0x2adaa6={_0x17cb23:0x3fb,_0x506d0c:0x1f4,_0x340478:0x40a,_0x2186ba:0x420},_0x644801={_0x5b7f9f:0x102,_0x3ec44a:0x4bf},_0x3ef087={_0x40a10b:0x6d,_0x129487:0x20f};function _0x2b51ea(_0x2a5ccc,_0xf4441c,_0x268cc0,_0x260735){return _0x2389b1(_0x2a5ccc-0x7f,_0xf4441c-_0x3ef087._0x40a10b,_0x268cc0,_0xf4441c- -_0x3ef087._0x129487);}function _0x309f02(_0x3d9312,_0x2abd50,_0x405fd4,_0x4b7123){return _0x2389b1(_0x3d9312-_0x644801._0x5b7f9f,_0x2abd50-0x72,_0x405fd4,_0x4b7123- -_0x644801._0x3ec44a);}return _0x96860b[_0x2b51ea(0x45a,0x596,_0x2adaa6._0x17cb23,0x4c5)]>0x0?Math[_0x2b51ea(0x4b3,0x36c,_0x2adaa6._0x506d0c,0x357)](_0x96860b[_0x2b51ea(0x4aa,0x574,0x440,0x51c)]/_0x96860b[_0x309f02(_0x2adaa6._0x340478,0x237,_0x2adaa6._0x2186ba,0x2e6)]*0x64)+'%':'0%';}function createReminderItems(_0x53e39f){const _0x4d9a02={_0x138d4c:0x62b,_0x266179:0x47d,_0xc5ff3b:0x475},_0x344963={_0x434bf2:0x19a,_0x10ad09:0xe9,_0x1654ff:0x736};function _0x2e2c9a(_0x917cc2,_0x5980e1,_0x44f14b,_0x244a6c){return _0x2389b1(_0x917cc2-0x57,_0x5980e1-0x13f,_0x244a6c,_0x917cc2-0x3f);}function _0x52bea9(_0x6d1dc8,_0x2ae4b5,_0x3caca6,_0x37c49e){return _0x2389b1(_0x6d1dc8-_0x344963._0x434bf2,_0x2ae4b5-_0x344963._0x10ad09,_0x2ae4b5,_0x6d1dc8- -_0x344963._0x1654ff);}return _0x53e39f[_0x2e2c9a(_0x4d9a02._0x138d4c,_0x4d9a02._0x266179,_0x4d9a02._0xc5ff3b,0x765)](_0x1ebb6d=>({'content':_0x1ebb6d['content'],'status':_0x1ebb6d[_0x52bea9(-0x16,0x55,-0x1b3,-0x136)],'id':_0x1ebb6d['id']}));}function createStructuredResult(_0x20c6b3,_0x4db43a,_0x3e721d,_0x3923b4){const _0x10c535={_0xe267f2:0x53,_0x15aeec:0x28d,_0x407855:0x285,_0x4278de:0x73c,_0x3a08c3:0x4fd},_0x55a2a2={_0x30ce4e:0xa,_0x1fecb3:0x1e4},_0x56c9f4={_0x6f921f:0x1cd,_0x47d261:0x1a8};function _0x493bb0(_0x50be9a,_0xc4cbf4,_0x2e0bc0,_0x59aea1){return _0x5da4fe(_0xc4cbf4- -_0x56c9f4._0x6f921f,_0xc4cbf4-_0x56c9f4._0x47d261,_0x59aea1,_0x59aea1-0x170);}function _0x27af58(_0x1aa5c3,_0x5bc3f0,_0x10252e,_0x513de8){return _0x5da4fe(_0x513de8-0xdd,_0x5bc3f0-_0x55a2a2._0x30ce4e,_0x1aa5c3,_0x513de8-_0x55a2a2._0x1fecb3);}return{'allCompleted':_0x3923b4,'items':_0x4db43a[_0x493bb0(_0x10c535._0xe267f2,0xca,_0x10c535._0x15aeec,_0x10c535._0x407855)](_0xdc0705=>({'id':_0xdc0705['id'],'content':_0xdc0705['content'],'status':_0xdc0705[_0x27af58(0x512,0x65b,0x464,0x4a8)],'priority':_0xdc0705[_0x27af58(0x4e1,0x4bf,0x549,0x4cd)],'createdAt':_0xdc0705['createdAt']})),'progress':createStatsProgress(_0x3e721d),'recentChanges':!![],'sessionId':_0x20c6b3,'stats':_0x3e721d,'todosWritten':_0x4db43a[_0x27af58(_0x10c535._0x4278de,_0x10c535._0x3a08c3,0x638,0x5a4)]};}function createOutputText(_0x33ae6d,_0x203a88){const _0x49d04f={_0x2fe509:0x60,_0x4eb2c0:0x35d,_0x1b1ad5:0x28c,_0x20bb5c:0x28e,_0x486f22:0xfd,_0x2c7bc8:0x178,_0x52ed37:0x4d,_0x34347f:0xa2,_0x4fa6b1:0x11d,_0x109a9b:0xab},_0x5b3b0e={_0x43bb36:0x58e},_0x575496=JSON[_0x57717a(-_0x49d04f._0x2fe509,0x70,-0x7b,0x64)](createReminderItems(_0x33ae6d));function _0x57717a(_0x38c472,_0x2a2984,_0x10cca7,_0x228354){return _0x2389b1(_0x38c472-0xc7,_0x2a2984-0x7d,_0x10cca7,_0x228354- -_0x5b3b0e._0x43bb36);}function _0xd46737(_0x24772d,_0x11c63c,_0x484e44,_0x2d1cde){return _0x5da4fe(_0x2d1cde- -0x1b9,_0x11c63c-0x10a,_0x24772d,_0x2d1cde-0x15c);}if(_0x203a88)return'All\x20'+_0x33ae6d[_0x57717a(0x217,_0x49d04f._0x4eb2c0,_0x49d04f._0x1b1ad5,_0x49d04f._0x20bb5c)]+_0xd46737(_0x49d04f._0x486f22,-0xd6,_0x49d04f._0x2c7bc8,0xeb)+_0x575496+'.\x0a</system-reminder>';return _0xd46737(0x132,-0x9c,-0xf8,-_0x49d04f._0x52ed37)+_0x575496+_0x57717a(0x1fb,_0x49d04f._0x34347f,_0x49d04f._0x4fa6b1,_0x49d04f._0x109a9b);}function createTodoWriteTool(_0x165fb1=new TodoStore()){const _0x3a8284={_0x23c129:0x1d7,_0x20eb52:0x13a,_0x5af86b:0x4e,_0xd1790b:0x1b9,_0x47464c:0x2f0,_0x13e9ad:0x27d,_0x22cb74:0x140,_0x3326be:0x161,_0x3ec1ec:0xb9,_0x3eb185:0x2a0,_0x5e6b03:0x92,_0x2d215c:0xea,_0xcbae98:0x9f,_0x11e4bc:0x96,_0x11ec01:0x160,_0x40853d:0x1ad,_0x8af400:0x184,_0x3486e0:0x90},_0x571b03={_0x490ead:0x4d,_0x163727:0x9f,_0x5ce5f7:0x564,_0x2b8f39:0x603,_0x3538b5:0x23f,_0x115a71:0x15f,_0x26c33d:0x4be,_0x2a5e14:0x5fb,_0x33772f:0x8b5,_0xf69dec:0x5e4,_0x3f4d77:0x578,_0x478d92:0x9},_0x43ce94={_0x30e8f1:0x5b},_0x27ffb7={_0x2bfff4:0x1a6,_0x30d73b:0x50,_0x1bf1b6:0x609},_0x4ae2d7={_0x22f2ba:0xb3,_0x1d5350:0x6f0},_0x113b98={_0x42ba96:0x1f2};function _0xbba242(_0x339224,_0x43d63b,_0x5248b7,_0x2a0f39){return _0x2389b1(_0x339224-0x6,_0x43d63b-_0x113b98._0x42ba96,_0x5248b7,_0x43d63b- -0x725);}function _0x41e73a(_0xe1f971,_0x222490,_0x1362e2,_0x244a0f){return _0x2389b1(_0xe1f971-0xb3,_0x222490-_0x4ae2d7._0x22f2ba,_0x244a0f,_0x1362e2- -_0x4ae2d7._0x1d5350);}return defineTool({'name':'TodoWrite','permissionClass':'read','description':_0xbba242(-_0x3a8284._0x23c129,-_0x3a8284._0x20eb52,-0x2aa,-0x1a1),'inputSchema':{'type':_0xbba242(-_0x3a8284._0x5af86b,0xfe,0xd4,0x8d),'properties':{'todos':{'type':'array','items':{'type':_0x41e73a(0x258,_0x3a8284._0xd1790b,0x133,0x168),'properties':{'content':{'type':_0xbba242(-_0x3a8284._0x47464c,-0x140,-0x203,-_0x3a8284._0x13e9ad)},'status':{'type':'string'},'priority':{'type':_0xbba242(-0x1c4,-_0x3a8284._0x22cb74,-0x21,-_0x3a8284._0x3326be)},'id':{'type':'string'},'createdAt':{'type':_0x41e73a(-_0x3a8284._0x3ec1ec,-_0x3a8284._0x3eb185,-0x10b,-_0x3a8284._0x5e6b03)}},'required':['content',_0xbba242(-_0x3a8284._0x2d215c,-0x5,_0x3a8284._0xcbae98,-0x1c9),_0x41e73a(-_0x3a8284._0x11e4bc,-_0x3a8284._0x11ec01,0x55,_0x3a8284._0x40853d),'id']}}},'required':[_0xbba242(_0x3a8284._0x8af400,-0x3b,-0x1,_0x3a8284._0x3486e0)]},async *'execute'(_0x4ba3ac,_0x1f4a54){function _0xfa4630(_0x20bce5,_0x5576c4,_0x26ba84,_0x271c7a){return _0x41e73a(_0x20bce5-_0x27ffb7._0x2bfff4,_0x5576c4-_0x27ffb7._0x30d73b,_0x26ba84-_0x27ffb7._0x1bf1b6,_0x20bce5);}const _0x4a90a3=_0x4ba3ac;validateTodos(_0x4a90a3);const _0x2d51aa=_0x1f4a54['sessionId']||'default',_0x1c1dc8=new Date()[_0x39a09e(-_0x571b03._0x490ead,_0x571b03._0x163727,-0x37,-0xb3)](),_0x166418=_0x4a90a3[_0xfa4630(0x5ff,_0x571b03._0x5ce5f7,_0x571b03._0x2b8f39,0x577)][_0x39a09e(-0xe6,-0x1a,-_0x571b03._0x3538b5,-_0x571b03._0x115a71)](_0x22f210=>({'id':_0x22f210['id'],'content':_0x22f210['content'],'status':_0x22f210['status'],'priority':_0x22f210[_0xfa4630(0x7c7,0x6a5,0x65e,0x809)],'sessionId':_0x2d51aa,'createdAt':_0x22f210[_0xfa4630(0x37e,0x5a4,0x531,0x54e)]||_0x1c1dc8,'updatedAt':_0x1c1dc8}));_0x165fb1[_0xfa4630(_0x571b03._0x26c33d,0x4c8,0x41c,0x2f0)](_0x2d51aa,_0x166418);const _0x132b81=_0x165fb1[_0xfa4630(0x740,0x5de,0x6db,_0x571b03._0x2a5e14)](_0x2d51aa);function _0x39a09e(_0x2ae4bd,_0x453afd,_0x1c4433,_0x5d53bd){return _0x41e73a(_0x2ae4bd-0xab,_0x453afd-0x20,_0x5d53bd- -_0x43ce94._0x30e8f1,_0x453afd);}const _0x7941bd=_0x166418[_0xfa4630(_0x571b03._0x33772f,_0x571b03._0xf69dec,0x735,_0x571b03._0x3f4d77)]>0x0&&_0x166418[_0x39a09e(_0x571b03._0x478d92,-0xa2,-0x216,-0xd7)](_0x1a3a00=>_0x1a3a00[_0xfa4630(0x6dd,0x690,0x639,0x591)]==='completed');return createToolOutput(createOutputText(_0x166418,_0x7941bd),createStructuredResult(_0x2d51aa,_0x166418,_0x132b81,_0x7941bd));}});}function _0x2389b1(_0x2257e0,_0x1d727b,_0x49e4d8,_0x443f71){return _0x102a(_0x443f71-0x387,_0x49e4d8);}import{mkdir as _0x433294,writeFile as _0x4c34c3}from'fs/promises';import*as _0xfdf663 from'path';function sanitizeFileName(_0x5e0b24){return _0x5e0b24['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x27e2f8,_0x256eff){const _0x2c8479={_0x220fcd:0x12f,_0x4bd12a:0xbc,_0x1e346c:0x5a,_0x19bf6a:0x1de,_0x56b3ee:0x172,_0xd23a18:0x304,_0x42fb6f:0x26d,_0x33df45:0x181,_0xcbc0a9:0xd,_0x193807:0xa,_0x384f93:0x5a,_0x821cbb:0xdb,_0x4f7d62:0x43f,_0x3201c4:0x95,_0x301bd0:0x188,_0x4089b7:0x5,_0x5e74a1:0x1ea,_0x3bdd8e:0x91,_0x49a7a3:0x180,_0x4a8dcd:0x149,_0x25ff1d:0xd0,_0xa3e932:0x784,_0x5346ed:0x620,_0x169bf4:0x632,_0x79a42:0x6bc,_0x2173a4:0x37f,_0x36556a:0x292,_0x688695:0x5bf,_0x1774a4:0x5cd,_0x23bb35:0x56f,_0x356ea5:0x5ec,_0x26352c:0x1d3,_0x2aac17:0x495,_0x4a344f:0x4df,_0x328dcb:0xe6,_0x34a133:0x149,_0x31946a:0x89,_0x3513b7:0x7,_0x46b105:0x14c,_0x71f4c4:0x5e1,_0xdf5180:0x46a,_0x2dd29e:0xab,_0x4c0b76:0x4f5,_0x162d88:0x4d4,_0x4ac6b1:0x2ed,_0x2e65a3:0x384,_0x5bf2d8:0x120,_0x5c4b90:0x79b,_0x22e82b:0x722,_0xf9efa8:0x642,_0x50ce7e:0x5a7,_0x4cc926:0x2ff,_0x59899e:0x29f,_0xf3e6d:0x518,_0x4b7816:0x394,_0x4f0416:0x335,_0x2befae:0x422,_0x1a19f5:0x50c,_0x57eb64:0x714,_0x3eb98e:0x631,_0x1b4de1:0x632,_0xc1919e:0x7bc},_0x5f594b={_0x36c3af:0x10e,_0x2eefd8:0x1c7},_0x20c2d1={_0x2c060a:0x147,_0x659061:0x1ed,_0x12b95e:0x64c},{maxBytes:_0x293cfd,sessionDir:_0x434c5c}=_0x256eff;if(!_0x27e2f8['output']||Buffer[_0x35d5b3(0x555,0x624,0x606,0x457)](_0x27e2f8[_0x4681ee(_0x2c8479._0x220fcd,-_0x2c8479._0x4bd12a,_0x2c8479._0x1e346c,_0x2c8479._0x19bf6a)],_0x35d5b3(_0x2c8479._0x56b3ee,0x496,_0x2c8479._0xd23a18,0x1ff))<=_0x293cfd)return _0x27e2f8;const _0x3331a6=Buffer[_0x4681ee(0x31c,_0x2c8479._0x42fb6f,_0x2c8479._0x33df45,_0x2c8479._0xcbc0a9)](_0x27e2f8[_0x4681ee(0x10f,-_0x2c8479._0x193807,_0x2c8479._0x384f93,-0x24)],'utf8');function _0x4681ee(_0x581967,_0xc3530b,_0x2dcc6a,_0x1fae33){return _0x2389b1(_0x581967-_0x20c2d1._0x2c060a,_0xc3530b-_0x20c2d1._0x659061,_0x581967,_0x2dcc6a- -_0x20c2d1._0x12b95e);}if(!_0x434c5c){const _0x56be50=_0x27e2f8[_0x4681ee(_0x2c8479._0x821cbb,-0x122,0x5a,-0x153)][_0x35d5b3(0x4cb,_0x2c8479._0x4f7d62,0x47e,0x5ce)](0x0,_0x293cfd);return{..._0x27e2f8,'output':_0x56be50+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x293cfd+_0x4681ee(0x1b,-_0x2c8479._0x3201c4,-_0x2c8479._0x301bd0,-0xda)+_0x3331a6+_0x4681ee(-_0x2c8479._0x4089b7,0xa2,-0xdf,-_0x2c8479._0x5e74a1)),'meta':{..._0x27e2f8['meta'],'truncated':!![],'originalBytes':_0x3331a6,'transforms':[..._0x27e2f8[_0x4681ee(_0x2c8479._0x3bdd8e,-0x196,-0xf1,-_0x2c8479._0x49a7a3)][_0x4681ee(_0x2c8479._0x4a8dcd,0x18d,_0x2c8479._0x25ff1d,0x65)],_0x35d5b3(_0x2c8479._0xa3e932,_0x2c8479._0x5346ed,_0x2c8479._0x169bf4,_0x2c8479._0x79a42)]}};}const _0x1b10df=_0x27e2f8['toolName']+'_'+sanitizeFileName(_0x27e2f8[_0x35d5b3(0x3ca,0x425,_0x2c8479._0x2173a4,_0x2c8479._0x36556a)])+_0x35d5b3(_0x2c8479._0x688695,_0x2c8479._0x1774a4,_0x2c8479._0x23bb35,_0x2c8479._0x356ea5),_0x53114a=_0xfdf663[_0x35d5b3(_0x2c8479._0x26352c,0x462,0x2ff,0x202)](_0x434c5c,_0x1b10df);await _0x433294(_0x434c5c,{'recursive':!![]}),await _0x4c34c3(_0x53114a,_0x27e2f8[_0x35d5b3(0x682,_0x2c8479._0x2aac17,_0x2c8479._0x4a344f,0x32c)],'utf8');let _0x32c4d9=_0x27e2f8[_0x4681ee(-_0x2c8479._0x328dcb,_0x2c8479._0x34a133,0x5a,-_0x2c8479._0x31946a)][_0x4681ee(0x137,0x33,-_0x2c8479._0x3513b7,0x134)](0x0,_0x293cfd);const _0x4dcc62=_0x32c4d9[_0x4681ee(-_0x2c8479._0x46b105,0x79,0x5,-0x165)]('\x0a');_0x4dcc62>_0x293cfd*0.5&&(_0x32c4d9=_0x32c4d9['slice'](0x0,_0x4dcc62));const _0x328d4f=['',_0x35d5b3(0x6d3,0x5ed,_0x2c8479._0x71f4c4,_0x2c8479._0xdf5180),_0x4681ee(-0x8f,-0x99,_0x2c8479._0x2dd29e,0x182)+_0x293cfd+_0x35d5b3(0x556,_0x2c8479._0x4c0b76,0x521,_0x2c8479._0x162d88)+_0x3331a6+_0x35d5b3(0x428,_0x2c8479._0x4ac6b1,_0x2c8479._0x2e65a3,0x407),_0x4681ee(-_0x2c8479._0x5bf2d8,-0x1d5,-0x157,-0x25a)+_0x53114a,_0x35d5b3(_0x2c8479._0x5c4b90,_0x2c8479._0x22e82b,_0x2c8479._0xf9efa8,_0x2c8479._0x50ce7e),'</system-reminder>'][_0x35d5b3(0x3ed,0x469,_0x2c8479._0x4cc926,_0x2c8479._0x59899e)]('\x0a');function _0x35d5b3(_0x505a0c,_0x4e4d08,_0x2fa19f,_0x153422){return _0x2389b1(_0x505a0c-_0x5f594b._0x36c3af,_0x4e4d08-0x1b7,_0x153422,_0x2fa19f- -_0x5f594b._0x2eefd8);}return{..._0x27e2f8,'output':_0x32c4d9+_0x328d4f,'meta':{..._0x27e2f8['meta'],'truncated':!![],'originalBytes':_0x3331a6,'transforms':[..._0x27e2f8[_0x35d5b3(0x1e2,_0x2c8479._0xf3e6d,_0x2c8479._0x4b7816,_0x2c8479._0x4f0416)][_0x35d5b3(0x3fa,_0x2c8479._0x2befae,0x555,_0x2c8479._0x1a19f5)],_0x35d5b3(_0x2c8479._0x57eb64,_0x2c8479._0x3eb98e,_0x2c8479._0x1b4de1,_0x2c8479._0xc1919e)]}};}function createUpdateTopicTool(){const _0x1f9961={_0x1461b3:0x5ff,_0x2d25e1:0x755,_0x4a0a31:0x840},_0x2e8d37={_0xc0965f:0x3fb,_0x1e72a4:0x3e1,_0xf77d3f:0x6fd,_0x389acc:0x730,_0x40e943:0x58d,_0x13d635:0x1f1},_0x4d1a2f={_0x70225f:0x2d0},_0x107d72={_0x271beb:0x184,_0x19d479:0xa3},_0x2c9383={_0x55954e:0x1f4};function _0x4e74cf(_0x5d6a75,_0x3dd38e,_0xd7e0df,_0x549420){return _0x5da4fe(_0xd7e0df-0x372,_0x3dd38e-0x1e3,_0x549420,_0x549420-_0x2c9383._0x55954e);}function _0x369f39(_0x373403,_0xd421cd,_0x201b5a,_0x463784){return _0x2389b1(_0x373403-_0x107d72._0x271beb,_0xd421cd-0x116,_0x201b5a,_0x373403- -_0x107d72._0x19d479);}return defineTool({'name':_0x369f39(0x783,0x612,0x93f,_0x1f9961._0x1461b3),'permissionClass':_0x4e74cf(0x83c,_0x1f9961._0x2d25e1,0x686,0x653),'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':_0x4e74cf(0x86a,0x890,_0x1f9961._0x4a0a31,0x901),'properties':{'topic':{'type':'string'}},'required':['topic']},async *'execute'(_0x3e1771,_0xee3244){const _0x69c3b3={_0x5d20d6:0x157},{topic:_0x28f6b6}=_0x3e1771;function _0x3323db(_0x43217f,_0x25fad0,_0x4171bf,_0x5895be){return _0x369f39(_0x4171bf- -0x49,_0x25fad0-0x133,_0x25fad0,_0x5895be-_0x69c3b3._0x5d20d6);}if(typeof _0x28f6b6!==_0x2d4234(_0x2e8d37._0xc0965f,_0x2e8d37._0x1e72a4,0x435,0x332)||_0x28f6b6['trim']()[_0x3323db(0x6ca,_0x2e8d37._0xf77d3f,_0x2e8d37._0x389acc,_0x2e8d37._0x40e943)]===0x0)throw new ToolExecutionError(_0x2d4234(0x329,_0x2e8d37._0x13d635,0x2f6,0x311),{'error':'invalid_topic'});function _0x2d4234(_0xde7bdd,_0x1f03bb,_0x3d9c1f,_0x3f5f5e){return _0x4e74cf(_0xde7bdd-0x32,_0x1f03bb-0x1f3,_0x3f5f5e- -_0x4d1a2f._0x70225f,_0x3d9c1f);}const _0x47f855=_0x28f6b6['trim']();return _0xee3244['setTopic']?.(_0x47f855),yield createToolOutput(_0x3323db(0x57c,0x748,0x5ff,0x678)+_0x47f855+'\x22',{'topic':_0x47f855}),void 0x0;}});}import{readFile as _0x32f043,stat as _0x589223}from'fs/promises';import*as _0x513bff from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x5da4fe(0x30c,0x2d2,0x44e,0x42e),_0x5da4fe(0x1e8,0x190,0x180,0x28d),_0x5da4fe(0x1c6,0x12,0x205,0x31f),_0x2389b1(0x64e,0x49a,0x56c,0x4e2)]),PNG_SIGNATURE=Buffer[_0x5da4fe(0x17f,0xbc,0x111,0xa7)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x443efe,_0x254031){const _0x4e107f={_0x5f5632:0x116,_0x3974c1:0x9c,_0x40ad99:0x7d6,_0x36cb58:0x6fc,_0x42996e:0x68a,_0x56e8b5:0x132,_0x442b76:0x8f,_0x119242:0x59a,_0x4b113f:0x81c,_0xfbb41a:0x2e9,_0x4a190e:0x6f4,_0x235142:0x577,_0x278ded:0x6cf,_0x196a64:0x22,_0x4142df:0x82,_0x264f61:0x153,_0x3b1868:0x15b,_0x54daca:0x40,_0x106f5c:0x1ed,_0x25d251:0x97,_0xf1f3bb:0x694,_0x53e7f6:0x5ef,_0x35678d:0x611,_0x4cd0d2:0x6c5,_0x1688c3:0x854,_0x14c864:0x495,_0xe7a31:0x25,_0x1bdac7:0x705,_0x23cc26:0x6f4,_0x8c8677:0x7f9,_0x3023ee:0x8d5,_0x2cda21:0x6f7,_0x511eb2:0x6a7,_0x1712b6:0x822,_0x3697b1:0x556,_0x280dee:0x275,_0x50b927:0x117,_0x20fca5:0x108,_0x520a4a:0x405,_0x4ad0eb:0x503,_0x1e2a54:0xce,_0x186bc2:0x27f,_0x1378cd:0x289,_0x1b62ad:0x16d,_0x2a1079:0x20b,_0x4c6df1:0x27e,_0x484e39:0x32,_0x1f9472:0xc5},_0x15a7e4={_0xc0568b:0xda};if(_0x443efe[_0x4304c4(_0x4e107f._0x5f5632,-0x66,_0x4e107f._0x3974c1,0x3c)](0x0,0x8)[_0x41115a(0x6ba,_0x4e107f._0x40ad99,_0x4e107f._0x36cb58,_0x4e107f._0x42996e)](PNG_SIGNATURE))return'image/png';if(_0x443efe[0x0]===0xff&&_0x443efe[0x1]===0xd8&&_0x443efe[0x2]===0xff)return _0x4304c4(-0x1e6,-0x78,_0x4e107f._0x56e8b5,-_0x4e107f._0x442b76);const _0xe07f82=_0x443efe[_0x41115a(0x694,_0x4e107f._0x119242,_0x4e107f._0x4b113f,0x627)](0x0,0x6)[_0x4304c4(-_0x4e107f._0xfbb41a,-0x1b8,0xc,-0x1f5)](_0x41115a(_0x4e107f._0x4a190e,0x5b2,_0x4e107f._0x235142,_0x4e107f._0x278ded));function _0x4304c4(_0x451556,_0x49b7e0,_0x26136f,_0x2ba236){return _0x5da4fe(_0x49b7e0- -0x390,_0x49b7e0-0x127,_0x451556,_0x2ba236-0xbe);}if(_0xe07f82===_0x4304c4(-_0x4e107f._0x196a64,0x13d,-_0x4e107f._0x4142df,_0x4e107f._0x264f61)||_0xe07f82==='GIF89a')return _0x4304c4(_0x4e107f._0x3b1868,_0x4e107f._0x54daca,_0x4e107f._0x106f5c,-_0x4e107f._0x25d251);if(_0x443efe[_0x41115a(_0x4e107f._0xf1f3bb,_0x4e107f._0x53e7f6,_0x4e107f._0x35678d,_0x4e107f._0x4cd0d2)](0x0,0x4)[_0x4304c4(-0x19a,-0x1b8,-0x376,-0x303)](_0x41115a(0x6f4,0x6d5,_0x4e107f._0x1688c3,0x823))===_0x41115a(0x5ce,0x577,_0x4e107f._0x14c864,0x58d)&&_0x443efe[_0x4304c4(-_0x4e107f._0xe7a31,-0x66,-0xb8,-0xcd)](0x8,0xc)[_0x41115a(0x542,0x635,0x438,_0x4e107f._0x1bdac7)](_0x41115a(_0x4e107f._0x23cc26,0x5e0,0x773,0x531))===_0x41115a(_0x4e107f._0x8c8677,_0x4e107f._0x3023ee,0x7cf,_0x4e107f._0x2cda21))return _0x41115a(_0x4e107f._0x511eb2,0x7c8,_0x4e107f._0x1712b6,_0x4e107f._0x3697b1);function _0x41115a(_0x57d234,_0x1e0604,_0x13ed5c,_0x58ad80){return _0x2389b1(_0x57d234-0x14c,_0x1e0604-_0x15a7e4._0xc0568b,_0x58ad80,_0x57d234-0x15);}const _0x2851b1=_0x513bff[_0x4304c4(-_0x4e107f._0x280dee,-0x19b,-_0x4e107f._0x50b927,-0x255)](_0x254031)['toLowerCase']();if(_0x2851b1===_0x4304c4(-0x29,0x6a,-0x10e,-_0x4e107f._0x20fca5))return _0x41115a(0x559,_0x4e107f._0x520a4a,_0x4e107f._0x4ad0eb,0x70d);if(_0x2851b1==='.jpg'||_0x2851b1===_0x4304c4(-0x2f8,-0x143,-_0x4e107f._0x1e2a54,-_0x4e107f._0x186bc2))return'image/jpeg';if(_0x2851b1===_0x4304c4(-_0x4e107f._0x1378cd,-_0x4e107f._0x1b62ad,-_0x4e107f._0x2a1079,-_0x4e107f._0x4c6df1))return'image/gif';if(_0x2851b1===_0x4304c4(0x71,0x69,0x54,0x1c0))return _0x4304c4(_0x4e107f._0x484e39,-0x53,-_0x4e107f._0x1f9472,-0x1c9);return void 0x0;}function normalizeDetail(_0x3a4940){const _0x582c77={_0x1da4a3:0x3a5,_0xef26f2:0x49b,_0x5676e7:0x256,_0x154b54:0x2ca},_0x30328e={_0x103868:0x1c,_0xb9517a:0xbd},_0x1d1fbd={_0xfff811:0xa6,_0x347048:0x1aa};if(_0x3a4940===void 0x0)return void 0x0;function _0x262a72(_0x4ec1df,_0x243aaf,_0x1e833b,_0x22156c){return _0x5da4fe(_0x22156c- -0x283,_0x243aaf-_0x1d1fbd._0xfff811,_0x1e833b,_0x22156c-_0x1d1fbd._0x347048);}const _0x31454f=_0x3a4940['trim']()[_0x1d8474(_0x582c77._0x1da4a3,0x30d,_0x582c77._0xef26f2,0x2b0)]();if(!SUPPORTED_DETAILS['has'](_0x31454f))throw new ToolExecutionError(_0x1d8474(0x13e,_0x582c77._0x5676e7,_0x582c77._0x154b54,0x39f)+_0x3a4940,{'detail':_0x3a4940});function _0x1d8474(_0x2f3376,_0x369a1e,_0x2e4ec8,_0x24d795){return _0x5da4fe(_0x369a1e- -_0x30328e._0x103868,_0x369a1e-0xf1,_0x2f3376,_0x24d795-_0x30328e._0xb9517a);}return _0x31454f;}function createViewFileTool(_0x374628={}){const _0x35ad97={_0x10f8e8:0x839,_0xc43efa:0x764,_0x57023d:0x6fd,_0x3812c3:0x39f,_0x44ea1c:0x559,_0x35d2cb:0x699,_0x41e2c0:0x7f8,_0x1d6f30:0x68d,_0x5de153:0x70d,_0x506546:0x7fc,_0x2c06ea:0x2d7,_0x536e92:0x49a,_0x14b3e1:0x4f4,_0x1fcd83:0x46e,_0x1adcd0:0x50c,_0x319b11:0x321,_0x351264:0x195,_0x46cea1:0x2f0,_0xea375e:0x355,_0x56ae07:0x2ef},_0x23f6f4={_0x5b4c66:0x10,_0x15b573:0xec,_0x407b25:0x1d,_0xc41ff4:0x49,_0x10b756:0x129,_0x5651e2:0x37b,_0x5e5a3f:0x83,_0x1eddf5:0xc1,_0xd17b82:0x460,_0x3c61ad:0x1d,_0x2f7c22:0x59,_0x12fd92:0xde,_0x241258:0x369,_0x574fb3:0x342,_0x118a10:0x94,_0x61f2c0:0x1b,_0x1a1c60:0x30e,_0x5696ef:0x19f,_0x227ed2:0x82,_0x3299ae:0x1d1,_0x343b21:0x160,_0x1d204a:0x25f,_0x38e047:0xea,_0x3ea0e7:0x4b,_0x2283ea:0x53,_0x2414a2:0x23,_0x4d9a6c:0x52,_0x2e2986:0x1f1,_0x11a963:0x1a4,_0x28dacf:0x29,_0x291ba5:0xb8,_0x2cd59e:0xbf,_0x4e5c86:0x200,_0x35b2eb:0x391,_0x15214a:0x271,_0x3edebf:0x38f,_0x20087a:0x1ec,_0x19edc0:0x397,_0x5166f1:0x206,_0xd161c6:0x22d,_0xb14045:0x17b,_0x20b041:0x17,_0x2f596b:0x87,_0x553c00:0x6c,_0x2bb973:0x24d,_0x251317:0x286,_0x15ddea:0x161,_0x5c795b:0x14b,_0x48f440:0x2bf,_0x38815d:0x43a,_0x5ad191:0x34,_0x1a81a5:0x257,_0x4ee820:0x37a,_0x325b99:0x251,_0x234491:0x274},_0xe2845d={_0x187a75:0x1c0,_0x5f5210:0x8b,_0x2b96e5:0x2d4},_0x365286={_0x478fa1:0x95,_0x182e1b:0x2f5},_0x4465c8={_0x3331a3:0x250,_0x3e149a:0x53},_0x2d47de=_0x513bff['resolve'](_0x374628[_0x550ce0(0x4ca,0x55b,0x718,0x64c)]??process[_0x550ce0(_0x35ad97._0x10f8e8,_0x35ad97._0xc43efa,0x759,_0x35ad97._0x57023d)]()),_0x45667b=_0x374628[_0xf0ed42(_0x35ad97._0x3812c3,0x388,_0x35ad97._0x44ea1c,0x254)]??[],_0x4b84bc=_0x374628['maxBytes']??DEFAULT_MAX_BYTES;function _0x550ce0(_0x19074d,_0x562c69,_0x5e792f,_0x2b2638){return _0x5da4fe(_0x2b2638-_0x4465c8._0x3331a3,_0x562c69-_0x4465c8._0x3e149a,_0x19074d,_0x2b2638-0x2);}function _0xf0ed42(_0x5a2da0,_0x3e9ab8,_0x3c78a4,_0x734da4){return _0x2389b1(_0x5a2da0-0x40,_0x3e9ab8-_0x365286._0x478fa1,_0x734da4,_0x5a2da0- -_0x365286._0x182e1b);}const _0x559301=_0x374628[_0x550ce0(0x631,_0x35ad97._0x35d2cb,_0x35ad97._0x41e2c0,_0x35ad97._0x1d6f30)]??_0x550ce0(0x5bf,_0x35ad97._0x5de153,_0x35ad97._0x506546,0x6fb);return defineTool({'name':_0x559301,'permissionClass':_0xf0ed42(0x374,_0x35ad97._0x2c06ea,0x310,_0x35ad97._0x536e92),'description':_0xf0ed42(_0x35ad97._0x14b3e1,0x3de,_0x35ad97._0x1fcd83,0x665),'inputSchema':{'type':_0xf0ed42(0x52e,0x67a,0x657,_0x35ad97._0x1adcd0),'properties':{'path':{'type':_0xf0ed42(0x2f0,_0x35ad97._0x319b11,0x487,_0x35ad97._0x351264)},'detail':{'type':_0xf0ed42(_0x35ad97._0x46cea1,0x1f8,_0x35ad97._0xea375e,_0x35ad97._0x56ae07)}},'required':['path']},async *'execute'(_0x2d5b65){const _0x50800f={_0x1418fd:0x3d7,_0x1d25f0:0x3},_0x166a75=resolveAllowedPath(_0x2d47de,_0x45667b,_0x2d5b65[_0x81ec95(_0x23f6f4._0x5b4c66,-_0x23f6f4._0x15b573,-_0x23f6f4._0x407b25,_0x23f6f4._0xc41ff4)]);await assertWorkspaceFile(_0x166a75);function _0x81ec95(_0x36c399,_0x292ccd,_0x4ad205,_0x50414a){return _0xf0ed42(_0x4ad205- -_0x50800f._0x1418fd,_0x292ccd-0xc8,_0x4ad205-_0x50800f._0x1d25f0,_0x292ccd);}const _0x16b786=await _0x589223(_0x166a75);if(_0x16b786[_0x81ec95(-_0x23f6f4._0x10b756,-0x49,-0x200,-_0x23f6f4._0x5651e2)]>_0x4b84bc)throw new ToolExecutionError(_0x81ec95(-_0x23f6f4._0x5e5a3f,_0x23f6f4._0x1eddf5,0xae,0x32)+_0x2d5b65[_0x3c6083(0x2d6,0x37d,0x289,_0x23f6f4._0xd17b82)],{'path':_0x2d5b65[_0x81ec95(0x1a1,0x156,-_0x23f6f4._0x3c61ad,_0x23f6f4._0x2f7c22)],'maxBytes':_0x4b84bc,'size':_0x16b786[_0x3c6083(0xf3,-0x13,_0x23f6f4._0x12fd92,-0x5f)]});const _0x41ca5e=await _0x32f043(_0x166a75),_0x51d7d0=detectImageMediaType(_0x41ca5e,_0x166a75);if(!_0x51d7d0)throw new ToolExecutionError(_0x3c6083(0x240,_0x23f6f4._0x241258,_0x23f6f4._0x574fb3,0x33a)+_0x2d5b65[_0x81ec95(_0x23f6f4._0x118a10,_0x23f6f4._0x61f2c0,-0x1d,-0xb3)],{'path':_0x2d5b65[_0x3c6083(0x2d6,_0x23f6f4._0x1a1c60,0x484,0x3ec)],'supported':[_0x3c6083(_0x23f6f4._0x5696ef,0x2fb,0x11a,0xc8),_0x3c6083(0x1c9,_0x23f6f4._0x227ed2,_0x23f6f4._0x3299ae,_0x23f6f4._0x343b21),_0x81ec95(0x266,_0x23f6f4._0x1d204a,_0x23f6f4._0x38e047,0x1c0),'.png',_0x81ec95(-0x97,0x1f4,0x82,_0x23f6f4._0x3ea0e7)]});const _0x3f38e8=normalizeDetail(_0x2d5b65['detail']);function _0x3c6083(_0x5ff386,_0x3a95d3,_0x26cd16,_0x16617d){return _0x550ce0(_0x16617d,_0x3a95d3-_0xe2845d._0x187a75,_0x26cd16-_0xe2845d._0x5f5210,_0x5ff386- -_0xe2845d._0x2b96e5);}const _0x6c2687=[_0x81ec95(-_0x23f6f4._0x2283ea,_0x23f6f4._0x2414a2,-_0x23f6f4._0x4d9a6c,0x35)+_0x2d5b65[_0x3c6083(0x2d6,0x319,0x477,_0x23f6f4._0x2e2986)],_0x3c6083(_0x23f6f4._0x11a963,_0x23f6f4._0x28dacf,0x120,_0x23f6f4._0x291ba5)+_0x51d7d0,_0x81ec95(-0x260,-0x23e,-_0x23f6f4._0x2cd59e,_0x23f6f4._0x291ba5)+_0x16b786[_0x81ec95(-0x2e1,-0x15e,-_0x23f6f4._0x4e5c86,-0xca)]+'\x20bytes'][_0x3c6083(_0x23f6f4._0x35b2eb,_0x23f6f4._0x15214a,0x507,_0x23f6f4._0x3edebf)](_0x3f38e8?['Detail:\x20'+_0x3f38e8]:[])[_0x81ec95(-_0x23f6f4._0x20087a,-_0x23f6f4._0x19edc0,-_0x23f6f4._0x5166f1,-_0x23f6f4._0xd161c6)]('\x0a'),_0x8be001=[{'type':_0x81ec95(-_0x23f6f4._0xb14045,-0x1d5,-0x132,-0x224),'source':{'type':'base64','media_type':_0x51d7d0,'data':_0x41ca5e['toString'](_0x81ec95(_0x23f6f4._0x20b041,0x23b,_0x23f6f4._0x2f596b,_0x23f6f4._0x553c00))}},{'type':_0x3c6083(_0x23f6f4._0x2bb973,0x3ce,_0x23f6f4._0x251317,0x2b4),'text':_0x6c2687}];return yield createToolOutput(_0x6c2687,{'path':_0x2d5b65[_0x81ec95(0x17e,_0x23f6f4._0x15ddea,-0x1d,-_0x23f6f4._0x5c795b)],'resolvedPath':_0x166a75,'created':_0x16b786['birthtime'][_0x3c6083(_0x23f6f4._0x48f440,_0x23f6f4._0x5696ef,0x3b2,_0x23f6f4._0x38815d)](),'modified':_0x16b786['mtime'][_0x81ec95(0x14b,-0x187,-_0x23f6f4._0x5ad191,-0x37)](),'size':_0x16b786[_0x81ec95(-_0x23f6f4._0x1a81a5,-0x2f9,-0x200,-0x1db)],'mimeType':_0x51d7d0,'encoding':_0x3c6083(_0x23f6f4._0x4ee820,_0x23f6f4._0x325b99,0x4b2,_0x23f6f4._0x234491),..._0x3f38e8?{'detail':_0x3f38e8}:{}},_0x8be001),void 0x0;}});}import _0x4f0ed8 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0xac46d5=>{const _0x1f2488={_0x133fab:0x777,_0x1bb8dc:0x837},_0x141b0a={_0x4dd464:0x35c,_0x2b4746:0x5e,_0x3734e1:0xec};function _0x14b302(_0x2f4d77,_0x3f391d,_0x2c7484,_0x33a9f1){return _0x5da4fe(_0x33a9f1-_0x141b0a._0x4dd464,_0x3f391d-_0x141b0a._0x2b4746,_0x2c7484,_0x33a9f1-_0x141b0a._0x3734e1);}const {lookup:_0x37fe66}=await import(_0x14b302(_0x1f2488._0x133fab,0x9c8,0x8a0,_0x1f2488._0x1bb8dc));return _0x37fe66(_0xac46d5,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x2f7a12){const _0x5e1838={_0x4ca287:0x1ec,_0x3a7ffb:0x3a8,_0x252b6e:0x19c,_0x5e607f:0x654},_0x175a7d={_0x99ab09:0x1a1},_0x4b92e0=_0x2f7a12[_0x443203(-0x208,-_0x5e1838._0x4ca287,-_0x5e1838._0x3a7ffb,-_0x5e1838._0x252b6e)]('.');if(_0x4b92e0[_0x599d32(0x6e1,0x6b9,0x4a7,_0x5e1838._0x5e607f)]!==0x4)return null;function _0x443203(_0xaec11b,_0x1deb05,_0x3648b0,_0x523b33){return _0x2389b1(_0xaec11b-0xb8,_0x1deb05-0x99,_0x1deb05,_0xaec11b- -0x6ee);}function _0x599d32(_0x452b12,_0x35cdda,_0x5d4f07,_0x2286fa){return _0x5da4fe(_0x2286fa-0x18d,_0x35cdda-0x1ac,_0x5d4f07,_0x2286fa-_0x175a7d._0x99ab09);}let _0x3a9aea=0x0;for(const _0x2fe645 of _0x4b92e0){if(!/^\d{1,3}$/['test'](_0x2fe645))return null;const _0x5b2a8c=Number(_0x2fe645);if(_0x5b2a8c>0xff)return null;_0x3a9aea=_0x3a9aea*0x100+_0x5b2a8c;}return _0x3a9aea>>>0x0;}function isBlockedIpv4(_0x2efc1e){const _0x39ad84={_0x2e6aa1:0x5cc,_0xe9cd79:0x41a,_0x340812:0x48b,_0x211d27:0x679,_0x48192a:0x693,_0x2340f3:0x60f,_0xb3d93f:0x561,_0x20c4a3:0x3d0,_0x240203:0x52a,_0x2d26d1:0x520,_0x157dc5:0x3c6,_0x689193:0x479},_0x6b9156={_0x1c650d:0x17},_0x30eb3e=ipv4ToInt(_0x2efc1e);function _0x1d9a0e(_0x27e955,_0x2d31bb,_0x4d4c79,_0x2a25eb){return _0x2389b1(_0x27e955-0xda,_0x2d31bb-0x22,_0x27e955,_0x4d4c79- -0x4fa);}function _0x1281e4(_0x3ca346,_0x3290cf,_0x765bcb,_0x426053){return _0x2389b1(_0x3ca346-0x3d,_0x3290cf-_0x6b9156._0x1c650d,_0x765bcb,_0x3ca346- -0x17a);}if(_0x30eb3e===null)return!![];const _0x19c76c=(_0x15a430,_0x416577)=>{const _0x566efc=ipv4ToInt(_0x15a430);if(_0x566efc===null)return![];const _0x58d2f8=_0x416577===0x0?0x0:0xffffffff<<0x20-_0x416577>>>0x0;return(_0x30eb3e&_0x58d2f8)===(_0x566efc&_0x58d2f8);};return _0x19c76c('0.0.0.0',0x8)||_0x19c76c('10.0.0.0',0x8)||_0x19c76c(_0x1281e4(_0x39ad84._0x2e6aa1,_0x39ad84._0xe9cd79,0x669,_0x39ad84._0x340812),0xa)||_0x19c76c(_0x1281e4(_0x39ad84._0x211d27,_0x39ad84._0x48192a,_0x39ad84._0x2340f3,0x5b4),0x8)||_0x19c76c('169.254.0.0',0x10)||_0x19c76c(_0x1281e4(0x45e,_0x39ad84._0xb3d93f,_0x39ad84._0x20c4a3,_0x39ad84._0x240203),0xc)||_0x19c76c(_0x1281e4(0x530,0x59f,0x688,0x61a),0x18)||_0x19c76c(_0x1281e4(_0x39ad84._0x2d26d1,0x5ef,_0x39ad84._0x157dc5,0x46e),0x10)||_0x19c76c(_0x1281e4(0x60c,0x54d,0x64c,0x627),0xf)||_0x19c76c('224.0.0.0',0x4)||_0x19c76c(_0x1281e4(0x423,0x29b,0x292,_0x39ad84._0x689193),0x4);}function expandIpv6(_0x1432cf){const _0x5b20a6={_0x1fd3e4:0x30b,_0x278555:0x598,_0x4d7ba4:0x4ae,_0x25ac9a:0x2,_0x36825a:0x614,_0x51c202:0x685,_0x2518ef:0x29e,_0x4044de:0x33e,_0x51b552:0x4af,_0x3b1ee3:0x4e2,_0x3993a6:0x53f,_0x3e363f:0x4fa,_0x54d972:0x278,_0x2c5fb6:0x2fd,_0x35894f:0x255,_0x53b724:0x3cb,_0x52f6d5:0x27d,_0x691b6f:0x67a},_0x3ab765={_0x2469bb:0x1be,_0x1e65ca:0x16f},_0x2a6320={_0x2bd82d:0x1ca,_0x8b5af4:0x1b};function _0x2e368f(_0x1cf326,_0xb25034,_0x2d0797,_0x12c90d){return _0x5da4fe(_0x2d0797- -_0x2a6320._0x2bd82d,_0xb25034-_0x2a6320._0x8b5af4,_0x1cf326,_0x12c90d-0x10f);}let _0x350e3f=_0x1432cf,_0x31e11c;const _0x4a91fb=_0x350e3f[_0x53009a(0x41e,0x463,0x4ba,_0x5b20a6._0x1fd3e4)](':');_0x350e3f[_0x53009a(_0x5b20a6._0x278555,0x3ac,_0x5b20a6._0x4d7ba4,0x456)](_0x4a91fb+0x1)[_0x2e368f(0x209,0x1dd,0x316,0x305)]('.')&&(_0x31e11c=_0x350e3f[_0x2e368f(0x2e8,0x22b,0x126,0x86)](_0x4a91fb+0x1),_0x350e3f=_0x350e3f['slice'](0x0,_0x4a91fb+0x1));const _0x33b6ee=_0x350e3f[_0x2e368f(-0x12e,_0x5b20a6._0x25ac9a,-0x39,0x148)]('::');if(_0x33b6ee[_0x53009a(_0x5b20a6._0x36825a,0x68b,_0x5b20a6._0x51c202,0x751)]>0x2)return null;const _0x1a7e57=_0x5b61b5=>_0x5b61b5[_0x53009a(0x376,0x1eb,0x34f,0x220)](':')[_0x2e368f(0x264,0x3da,0x2d3,0x317)](_0x5b7037=>_0x5b7037[_0x53009a(0x4cb,0x81f,0x685,0x602)]>0x0)['map'](_0x579820=>Number[_0x53009a(0x2b6,0x447,0x420,0x328)](_0x579820,0x10)),_0x169cc8=_0x33b6ee[0x0]?_0x1a7e57(_0x33b6ee[0x0]):[],_0x345717=_0x33b6ee[_0x2e368f(0x217,0x371,0x2fd,_0x5b20a6._0x2518ef)]===0x2&&_0x33b6ee[0x1]?_0x1a7e57(_0x33b6ee[0x1]):[],_0x2c1d32=[];if(_0x31e11c){const _0xd925c8=ipv4ToInt(_0x31e11c);if(_0xd925c8===null)return null;_0x2c1d32[_0x53009a(0x347,_0x5b20a6._0x4044de,_0x5b20a6._0x51b552,0x5f9)](_0xd925c8>>>0x10&0xffff,_0xd925c8&0xffff);}function _0x53009a(_0x5ac613,_0x5644cd,_0x17c246,_0x17ddae){return _0x5da4fe(_0x17c246-_0x3ab765._0x2469bb,_0x5644cd-0x136,_0x5644cd,_0x17ddae-_0x3ab765._0x1e65ca);}const _0x3c8010=[..._0x345717,..._0x2c1d32],_0x3c8118=0x8-_0x169cc8[_0x53009a(_0x5b20a6._0x3b1ee3,_0x5b20a6._0x3993a6,_0x5b20a6._0x51c202,_0x5b20a6._0x3e363f)]-_0x3c8010[_0x2e368f(_0x5b20a6._0x54d972,0x31a,_0x5b20a6._0x2c5fb6,_0x5b20a6._0x35894f)];if(_0x33b6ee['length']===0x1)return _0x169cc8[_0x2e368f(0x212,_0x5b20a6._0x53b724,0x2fd,_0x5b20a6._0x52f6d5)]+_0x3c8010[_0x53009a(_0x5b20a6._0x691b6f,0x6c6,_0x5b20a6._0x51c202,0x838)]===0x8?[..._0x169cc8,..._0x3c8010]:null;if(_0x3c8118<0x0)return null;return[..._0x169cc8,...new Array(_0x3c8118)['fill'](0x0),..._0x3c8010];}function isBlockedIpv6(_0x1c6c15){const _0x4921df={_0x1bdfeb:0x10b,_0x2bf20d:0x1f9,_0x2cceec:0x54,_0x3955e5:0x1fd,_0x7325af:0x142,_0x5b7834:0x164,_0x528d88:0x45,_0x19544a:0x81,_0x29bbfa:0x116,_0x20d655:0x119},_0x4c250f={_0x2693de:0x2ab,_0x4e86cf:0x1bf,_0x20ac79:0x1eb},_0x27bc85={_0x4d4f18:0x530},_0xcb6354=expandIpv6(_0x1c6c15);function _0x1ed844(_0x36dca6,_0x2f67aa,_0x29a789,_0x4b44d9){return _0x2389b1(_0x36dca6-0x78,_0x2f67aa-0x156,_0x2f67aa,_0x4b44d9- -_0x27bc85._0x4d4f18);}if(!_0xcb6354||_0xcb6354[_0x4f3262(0x29,0xb0,0x35,0xde)](_0x364784=>Number['isNaN'](_0x364784)))return!![];const _0x3e496b=_0xcb6354[_0x4f3262(_0x4921df._0x1bdfeb,0x17b,0x45,_0x4921df._0x2bf20d)](0x0,0x7)[_0x1ed844(_0x4921df._0x2cceec,_0x4921df._0x3955e5,0x33,0x144)](_0x341181=>_0x341181===0x0);function _0x4f3262(_0x4eb84d,_0x53cd1,_0x4d57c5,_0x17797a){return _0x5da4fe(_0x4d57c5- -_0x4c250f._0x2693de,_0x53cd1-_0x4c250f._0x4e86cf,_0x53cd1,_0x17797a-_0x4c250f._0x20ac79);}if(_0x3e496b&&(_0xcb6354[0x7]===0x0||_0xcb6354[0x7]===0x1))return!![];if(_0xcb6354[_0x4f3262(-_0x4921df._0x7325af,-_0x4921df._0x5b7834,_0x4921df._0x528d88,_0x4921df._0x19544a)](0x0,0x5)[_0x4f3262(_0x4921df._0x29bbfa,0x1ea,0x74,-_0x4921df._0x20d655)](_0x2c92b1=>_0x2c92b1===0x0)&&(_0xcb6354[0x5]===0xffff||_0xcb6354[0x5]===0x0)){const _0x4e1f87=(_0xcb6354[0x6]<<0x10|_0xcb6354[0x7])>>>0x0,_0x51d569=[_0x4e1f87>>>0x18&0xff,_0x4e1f87>>>0x10&0xff,_0x4e1f87>>>0x8&0xff,_0x4e1f87&0xff][_0x1ed844(-0x10c,-0x16b,-0x25,-0x6a)]('.');return isBlockedIpv4(_0x51d569);}const _0x3c88e1=_0xcb6354[0x0];if((_0x3c88e1&0xff00)===0xfc00||(_0x3c88e1&0xfe00)===0xfc00)return!![];if((_0x3c88e1&0xffc0)===0xfe80)return!![];if((_0x3c88e1&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x2ef4f4){const _0x14a5ca=isIP(_0x2ef4f4);if(_0x14a5ca===0x4)return isBlockedIpv4(_0x2ef4f4);if(_0x14a5ca===0x6)return isBlockedIpv6(_0x2ef4f4);return!![];}async function assertPublicUrl(_0x1b0203,_0x1c7384={}){const _0x36da04={_0x54fee5:0xe8,_0x17cae8:0x269,_0x2db104:0xee,_0x4aee6d:0x79,_0x1c3844:0x42,_0x28059f:0x293,_0x402d34:0x194,_0x131552:0x43,_0x35b468:0x276,_0x56c261:0x21,_0x3fc0d3:0x348,_0x38caa2:0x171,_0x4e709a:0x6c,_0x30cea4:0x115,_0x1b11a3:0x6d,_0x329774:0x6b,_0x5f2881:0x8c,_0xf79b0a:0x227,_0xae8998:0x108,_0x3ac483:0x14d,_0x5dbecb:0xe3,_0x43db75:0x25e,_0xf313c:0x255,_0x581ba7:0x120,_0x31c0f4:0x25b,_0x44a4d1:0xce},_0x166211={_0x50549a:0x15b,_0x307a8f:0xf8},_0x14f9df={_0x5a3aa0:0x14e,_0x40b603:0x13d};let _0x40dd57;try{_0x40dd57=new URL(_0x1b0203);}catch{throw new ToolExecutionError(_0x169bc7(-_0x36da04._0x54fee5,-0x91,-0x187,-_0x36da04._0x17cae8),{'url':_0x1b0203});}if(_0x40dd57[_0x169bc7(_0x36da04._0x2db104,0x167,_0x36da04._0x4aee6d,_0x36da04._0x1c3844)]!==_0x169bc7(0x11b,_0x36da04._0x28059f,0x197,_0x36da04._0x402d34)&&_0x40dd57[_0x169bc7(0xee,_0x36da04._0x131552,_0x36da04._0x35b468,0x143)]!==_0x169bc7(-0xc9,0xe7,_0x36da04._0x56c261,0x31))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x1b0203});if(_0x40dd57['username']||_0x40dd57[_0x40e6d3(-0x23d,-_0x36da04._0x3fc0d3,-0x89,-0x22b)])throw new ToolExecutionError(_0x169bc7(-0x77,-0x21b,0x96,-0x1cd),{'url':_0x40dd57[_0x169bc7(_0x36da04._0x2db104,0x266,0x5e,_0x36da04._0x38caa2)]+'//'+_0x40dd57[_0x169bc7(-_0x36da04._0x4e709a,_0x36da04._0x30cea4,-0x21f,_0x36da04._0x1b11a3)]+_0x40dd57['pathname']});const _0x21d35e=_0x40dd57['hostname'][_0x40e6d3(-0x80,-0x2cc,-0x10f,-0x1c3)](/^\[|\]$/g,''),_0x56c9a2=_0x40dd57[_0x40e6d3(0x18a,_0x36da04._0x329774,0x208,_0x36da04._0x5f2881)]+'//'+_0x40dd57[_0x169bc7(-0x6c,-_0x36da04._0xf79b0a,-_0x36da04._0xae8998,_0x36da04._0x3ac483)]+_0x40dd57[_0x40e6d3(-0x1ea,-_0x36da04._0x5dbecb,-0x87,-0xda)];if(isIP(_0x21d35e)){if(isBlockedAddress(_0x21d35e))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x56c9a2});return _0x40dd57;}const _0x46c0fa=_0x1c7384['lookup']??defaultLookup;let _0x2f800f;try{_0x2f800f=await _0x46c0fa(_0x21d35e);}catch{throw new ToolExecutionError(_0x40e6d3(-_0x36da04._0x43db75,0x71,-0x13,-0xf1),{'url':_0x56c9a2});}function _0x169bc7(_0x63469b,_0x30dcd3,_0x1d7459,_0x436902){return _0x2389b1(_0x63469b-_0x14f9df._0x5a3aa0,_0x30dcd3-_0x14f9df._0x40b603,_0x1d7459,_0x63469b- -0x69a);}if(_0x2f800f[_0x40e6d3(_0x36da04._0xf313c,0x272,0x1aa,_0x36da04._0x581ba7)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x56c9a2});function _0x40e6d3(_0x195de7,_0x335a40,_0x1b1522,_0x105d23){return _0x2389b1(_0x195de7-_0x166211._0x50549a,_0x335a40-_0x166211._0x307a8f,_0x1b1522,_0x105d23- -0x6fc);}for(const {address:_0x268771}of _0x2f800f){if(isBlockedAddress(_0x268771))throw new ToolExecutionError(_0x40e6d3(-_0x36da04._0x31c0f4,-_0x36da04._0x44a4d1,0xd7,-0x9f),{'url':_0x56c9a2});}return _0x40dd57;}async function safeFetch(_0xca5230,_0x2a04c2={},_0x267114={}){const _0x122d28={_0x534102:0x32e,_0x56ec03:0x2bb,_0xd98fd8:0x1e6,_0x397f0b:0xa7,_0x20bdc7:0x36,_0x205654:0x10d,_0xe5ac25:0x3b2,_0x42b071:0x2be,_0x234974:0xfe,_0x3bdc7e:0x8,_0x59c842:0x133,_0x5c42cb:0xd5},_0x2956a4={_0x50c6b3:0xda,_0x19c631:0x99},_0xfb28b0=_0x267114[_0x436699(_0x122d28._0x534102,_0x122d28._0x56ec03,0x170,0x166)]??fetch,_0x58743f=_0x267114[_0x436699(0x28b,0x22d,0x1d5,_0x122d28._0xd98fd8)]??DEFAULT_MAX_REDIRECTS;function _0x436699(_0x82a302,_0x57e705,_0x20b6e0,_0x311668){return _0x2389b1(_0x82a302-0x1ab,_0x57e705-0xbe,_0x311668,_0x20b6e0- -0x602);}function _0xe29b51(_0x4f72f9,_0x25170d,_0xe92a9f,_0x4ff732){return _0x5da4fe(_0x4f72f9-_0x2956a4._0x50c6b3,_0x25170d-_0x2956a4._0x19c631,_0x25170d,_0x4ff732-0x1a9);}let _0x23e4f2=_0xca5230;for(let _0x554d7b=0x0;;_0x554d7b+=0x1){const _0x5c1594=await assertPublicUrl(_0x23e4f2,_0x267114),_0x49d8e7=await _0xfb28b0(_0x5c1594['toString'](),{..._0x2a04c2,'redirect':_0x436699(-0x9,_0x122d28._0x397f0b,0x15e,0x113)}),_0x5a0c2c=_0x49d8e7['headers'][_0x436699(-0x15a,-_0x122d28._0x20bdc7,0x32,_0x122d28._0x205654)](_0xe29b51(0x4d5,_0x122d28._0xe5ac25,0x34c,0x64e));if(!REDIRECT_STATUSES[_0x436699(0x16e,_0x122d28._0x42b071,_0x122d28._0x234974,0x169)](_0x49d8e7[_0x436699(_0x122d28._0x3bdc7e,0x13c,0x11e,0x2da)])||!_0x5a0c2c)return _0x49d8e7;if(_0x554d7b>=_0x58743f)throw new ToolExecutionError(_0x436699(0x6d,-0x1d9,-_0x122d28._0x59c842,-0x3e),{'url':_0x5c1594['toString']()});_0x23e4f2=new URL(_0x5a0c2c,_0x5c1594)[_0x436699(-0x122,-0x23e,-_0x122d28._0x5c42cb,-0x21a)]();}}var USER_AGENT=_0x2389b1(0x51e,0x4d2,0x478,0x62c),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x4d4e73,_0x54853c){const _0x1ac353={_0x541b74:0x395,_0x476272:0x1c3,_0x414e14:0x38f,_0x5191e0:0x232,_0x1ea3ed:0x1a6,_0x50afe9:0x258,_0x665012:0x4f4,_0x1cf2cc:0x648,_0x3ed170:0x48c,_0x3657e2:0x5d6,_0x5e0e36:0x5cc},_0x52a193={_0x329d36:0x56b,_0x478913:0x3af,_0xbd3335:0x566},_0x611384={_0x5308f2:0x153},_0x32d5e1={_0x45a5b2:0x1},_0xf4722d=new AbortController(),_0x4fa88c=setTimeout(()=>_0xf4722d[_0x579105(0x53e,0x5c7,0x4d3,0x55d)](new Error(_0x2ec736(0x5da,0x511,0x58f,0x647))),_0x54853c),_0x4d8dec=()=>_0xf4722d['abort'](_0x4d4e73[_0x579105(0x480,0x47c,0x317,0x1b0)]);_0x4d4e73[_0x579105(0x607,0x564,0x4ba,_0x1ac353._0x541b74)]?_0xf4722d['abort'](_0x4d4e73[_0x579105(_0x1ac353._0x476272,_0x1ac353._0x414e14,0x317,_0x1ac353._0x5191e0)]):_0x4d4e73[_0x579105(_0x1ac353._0x1ea3ed,0x2cf,_0x1ac353._0x50afe9,0x37c)](_0x579105(_0x1ac353._0x665012,_0x1ac353._0x1cf2cc,0x4d3,_0x1ac353._0x3ed170),_0x4d8dec,{'once':!![]});function _0x2ec736(_0x1fa255,_0x474105,_0x4a964e,_0x261d77){return _0x2389b1(_0x1fa255-0x1c6,_0x474105-0x96,_0x4a964e,_0x1fa255-_0x32d5e1._0x45a5b2);}function _0x579105(_0x23857d,_0x5bdb72,_0x4e3968,_0x3f1359){return _0x2389b1(_0x23857d-_0x611384._0x5308f2,_0x5bdb72-0x46,_0x5bdb72,_0x4e3968- -0x2fd);}return{'signal':_0xf4722d[_0x2ec736(_0x1ac353._0x3657e2,0x597,0x47a,_0x1ac353._0x5e0e36)],'cleanup':()=>{clearTimeout(_0x4fa88c);function _0x45bee6(_0x497ef7,_0x3efb4a,_0x3a09ed,_0x360d21){return _0x2ec736(_0x360d21- -0x202,_0x3efb4a-0x87,_0x3a09ed,_0x360d21-0x17b);}_0x4d4e73[_0x45bee6(_0x52a193._0x329d36,0x5d4,_0x52a193._0x478913,_0x52a193._0xbd3335)]('abort',_0x4d8dec);}};}function createWebFetchTool(_0x108fa9={}){const _0x3ec722={_0x160390:0x84d,_0x473475:0x7d0,_0x4029ad:0x78e,_0x26042d:0x5ed,_0x162d68:0x7f3,_0x3f057b:0x833,_0x1cc639:0x94a,_0x4ab627:0x77e,_0x52450c:0x539,_0xe7218f:0x5b1,_0x5ab166:0x454,_0x57a8db:0x712,_0x41a5e9:0x827,_0x1838e9:0x7e3,_0x1e5d3b:0x6f6,_0xa3e964:0x671,_0x19cbad:0x6cf,_0x4ce87f:0x755,_0x5a9f2f:0x7ce,_0x328e62:0x8d5,_0x2dfdd3:0x84f,_0x504c98:0x548,_0x1fa0cb:0x700,_0x3dcfe0:0x6b8,_0x2691a5:0x666,_0x557d7d:0x6dd,_0x239a2b:0x844,_0x231073:0x6b6,_0x2602b1:0x5ae,_0x97fee0:0x606,_0x197e20:0x4c9},_0x5a9469={_0x45c783:0x5e8,_0x42c55d:0x645,_0xa91cc:0x376,_0x4a77da:0x503,_0x4c9228:0x3ff,_0x347339:0x5ab,_0x58fb85:0x594,_0x2d80ef:0x6da,_0x453f96:0x4cb,_0x15e84e:0x67e,_0x3f6a52:0x1df,_0x13a87d:0x524,_0x19cff2:0x4c1,_0x3b212b:0x669,_0x2c3425:0x4bb,_0x30e814:0x87f,_0x3fc630:0x4cc,_0x16ff83:0x3a4,_0x30636d:0x537,_0xe9646c:0x3d5,_0x4e9a9a:0x31b,_0x55bd02:0x900,_0x23d18a:0x85a,_0x2b2184:0x564,_0x214ea5:0x7ab,_0x528b39:0x3fc,_0x374dd5:0x287,_0x1ec9f3:0x6bb,_0x3e88b3:0x518,_0x41b23f:0x5aa,_0x1a961b:0x611,_0x41e287:0x5e3,_0x1fc5e1:0x659,_0x513b65:0x5a2,_0x54b9d2:0x694,_0x16c78c:0x4ed,_0x1c0803:0x3c4,_0x2079a9:0x3a5,_0x190332:0x695,_0x568209:0x41e,_0x490efb:0x444,_0x194e07:0x4e3,_0x2634f2:0x3e1,_0x1663fd:0x62a,_0x3588a1:0x590,_0x558c78:0x5db,_0x3fbf1b:0x806,_0x31e605:0x3c7,_0x1507af:0x3c7,_0x180545:0x689,_0xdf585d:0x932,_0x4e32d0:0x6bf,_0x266117:0x7f2},_0x1dd4de={_0x11a8cb:0x4b,_0x3dd967:0x1f2},_0x57849c={_0x13b0dc:0x2c0,_0x56d9b2:0x107},_0x5173d9={_0x54368b:0x376,_0x3efcc2:0x4e},_0x3a8e72=_0x108fa9[_0x276d46(0x7f3,_0x3ec722._0x160390,_0x3ec722._0x473475,0x8a1)]??_0x4baaba(_0x3ec722._0x4029ad,0x752,0x709,_0x3ec722._0x26042d);function _0x276d46(_0x24d49a,_0x36fe70,_0x87c416,_0x1492a2){return _0x2389b1(_0x24d49a-0x91,_0x36fe70-0x0,_0x1492a2,_0x24d49a-0x61);}const _0x3671c8=_0x108fa9[_0x4baaba(_0x3ec722._0x162d68,0x688,_0x3ec722._0x3f057b,_0x3ec722._0x1cc639)]??DEFAULT_TIMEOUT_MS2,_0xc8174c=_0x108fa9['lookup'],_0x307dfd=new _0x4f0ed8({'headingStyle':_0x4baaba(0x717,0x56c,_0x3ec722._0x4ab627,0x7cb),'codeBlockStyle':_0x4baaba(0x4de,_0x3ec722._0x52450c,0x4e8,0x38b),'bulletListMarker':'-'});_0x307dfd['remove']([_0x4baaba(_0x3ec722._0xe7218f,0x68c,_0x3ec722._0x5ab166,_0x3ec722._0x57a8db),_0x4baaba(_0x3ec722._0x41a5e9,_0x3ec722._0x1838e9,0x915,0x9aa),_0x4baaba(0x609,0x739,0x5fa,0x604),_0x4baaba(0x817,_0x3ec722._0x1e5d3b,_0x3ec722._0xa3e964,_0x3ec722._0x19cbad),'nav',_0x4baaba(0x743,_0x3ec722._0x4ce87f,_0x3ec722._0x5a9f2f,0x58e),'header',_0x4baaba(0x824,0x720,_0x3ec722._0x328e62,_0x3ec722._0x2dfdd3)]);function _0x4baaba(_0x4ea8fc,_0x2f4c89,_0x21d70c,_0x59b738){return _0x5da4fe(_0x4ea8fc-_0x5173d9._0x54368b,_0x2f4c89-0x12f,_0x21d70c,_0x59b738-_0x5173d9._0x3efcc2);}return defineTool({'name':_0x3a8e72,'permissionClass':_0x4baaba(0x68a,_0x3ec722._0x504c98,_0x3ec722._0x1fa0cb,_0x3ec722._0x3dcfe0),'description':_0x276d46(0x747,_0x3ec722._0x2691a5,0x66c,_0x3ec722._0x557d7d),'inputSchema':{'type':_0x4baaba(_0x3ec722._0x239a2b,0x862,0x73b,_0x3ec722._0x231073),'properties':{'description':{'type':_0x4baaba(0x606,0x790,0x4ae,_0x3ec722._0x2602b1)},'url':{'type':_0x4baaba(_0x3ec722._0x97fee0,_0x3ec722._0x197e20,0x502,0x446)}},'required':['url']},async *'execute'(_0x1bc041,_0x22ca2b){const _0x53e74d=(await assertPublicUrl(_0x1bc041[_0x382cce(0x507,_0x5a9469._0x45c783,0x4e7,_0x5a9469._0x42c55d)],{'lookup':_0xc8174c}))[_0x382cce(0x375,0x4a3,_0x5a9469._0xa91cc,_0x5a9469._0x4a77da)]();if(_0x22ca2b[_0x382cce(0x5ed,_0x5a9469._0x4c9228,0x687,_0x5a9469._0x347339)][_0x5db28e(_0x5a9469._0x58fb85,0x558,0x656,_0x5a9469._0x2d80ef)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x53e74d});const _0x1ce420=createTimeoutSignal(_0x22ca2b[_0x5db28e(0x255,0x376,_0x5a9469._0x453f96,0x1de)],_0x3671c8);let _0x44f8c4='',_0x2ad077=0x0,_0x51d329;try{const _0x511c51=await safeFetch(_0x53e74d,{'headers':{'User-Agent':USER_AGENT},'signal':_0x1ce420[_0x382cce(0x5c9,_0x5a9469._0x15e84e,0x4b8,_0x5a9469._0x347339)]},{'lookup':_0xc8174c});if(!_0x511c51['ok'])throw new ToolExecutionError(_0x5db28e(0x2f1,0x36b,0x507,_0x5a9469._0x3f6a52)+_0x511c51[_0x5db28e(_0x5a9469._0x13a87d,_0x5a9469._0x19cff2,_0x5a9469._0x3b212b,_0x5a9469._0x2c3425)]+'\x20'+_0x511c51['statusText'],{'url':_0x53e74d,'statusCode':_0x511c51[_0x382cce(_0x5a9469._0x30e814,0x606,0x538,0x6f6)]});_0x44f8c4=_0x511c51[_0x5db28e(_0x5a9469._0x3fc630,_0x5a9469._0x16ff83,0x255,_0x5a9469._0x30636d)][_0x5db28e(0x2cf,_0x5a9469._0xe9646c,0x21f,_0x5a9469._0x4e9a9a)](_0x382cce(_0x5a9469._0x55bd02,0x878,_0x5a9469._0x23d18a,0x7a4))??'',_0x2ad077=_0x511c51[_0x382cce(_0x5a9469._0x2b2184,0x6a2,0x660,0x6f6)],_0x51d329=await _0x511c51[_0x382cce(0x46a,_0x5a9469._0x214ea5,0x443,0x5fc)]();}catch(_0x4fdbe6){if(_0x4fdbe6 instanceof ToolExecutionError)throw _0x4fdbe6;const _0x428210=_0x4fdbe6 instanceof Error?_0x4fdbe6[_0x5db28e(0x511,_0x5a9469._0x528b39,_0x5a9469._0x374dd5,0x392)]:String(_0x4fdbe6);throw new ToolExecutionError(_0x428210,{'url':_0x53e74d});}finally{_0x1ce420[_0x382cce(0x384,_0x5a9469._0x1ec9f3,0x6d4,_0x5a9469._0x3e88b3)]();}const _0x3a21db=new Date()[_0x5db28e(0x5be,0x439,_0x5a9469._0x41b23f,0x584)]();let _0x21e5ee,_0x297298;if(_0x44f8c4['includes'](_0x382cce(0x4b1,_0x5a9469._0x1a961b,_0x5a9469._0x41e287,_0x5a9469._0x1fc5e1)))_0x21e5ee=_0x382cce(_0x5a9469._0x513b65,_0x5a9469._0x54b9d2,_0x5a9469._0x16c78c,0x66c)+_0x51d329+_0x5db28e(_0x5a9469._0x1c0803,0x581,0x5ec,0x5b2),_0x297298=_0x5db28e(0x36c,0x441,0x4d6,_0x5a9469._0x2079a9);else _0x44f8c4[_0x382cce(_0x5a9469._0x190332,0x8f2,0x904,0x80b)](_0x5db28e(_0x5a9469._0x568209,_0x5a9469._0x490efb,_0x5a9469._0x194e07,_0x5a9469._0x2634f2))?(_0x21e5ee=_0x307dfd[_0x5db28e(_0x5a9469._0x1663fd,_0x5a9469._0x3588a1,_0x5a9469._0x558c78,0x52c)](_0x51d329),_0x297298=_0x382cce(_0x5a9469._0x3fbf1b,0x5ac,0x7b9,0x720)):(_0x21e5ee=_0x51d329,_0x297298=_0x5db28e(0x393,_0x5a9469._0x31e605,0x345,_0x5a9469._0x1507af));yield createToolOutput(_0x21e5ee,{'url':_0x53e74d,'contentType':_0x44f8c4,'statusCode':_0x2ad077,'format':_0x297298,'size':_0x51d329[_0x382cce(_0x5a9469._0x180545,_0x5a9469._0xdf585d,_0x5a9469._0x4e32d0,_0x5a9469._0x266117)],'fetchedAt':_0x3a21db});function _0x5db28e(_0x493eb6,_0x4e10ab,_0x162f90,_0x51886e){return _0x276d46(_0x4e10ab- -_0x57849c._0x13b0dc,_0x4e10ab-0x106,_0x162f90-_0x57849c._0x56d9b2,_0x493eb6);}function _0x382cce(_0x5f5b01,_0x2ca736,_0x5c7965,_0x1a1e5c){return _0x4baaba(_0x1a1e5c- -_0x1dd4de._0x11a8cb,_0x2ca736-_0x1dd4de._0x3dd967,_0x5f5b01,_0x1a1e5c-0x81);}return void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x2389b1(0x510,0x625,0x5c4,0x6ab);function normalizeUrl(_0x54ab31){const _0x22fab2={_0x46ec0b:0xb1,_0x298982:0xd,_0x11168c:0xdb,_0x2da5c3:0x1a3,_0x52d75b:0x21,_0x19ab32:0x165,_0x34890a:0x22e,_0x5edc6b:0x32,_0x59adb9:0x182,_0x4d35cd:0x357,_0x515e29:0x335,_0x18da77:0x27a,_0x477d8d:0x1c8,_0x1c0bf0:0x435,_0x4a79b2:0x2f4,_0x1f8037:0x163,_0x101298:0xa0,_0x103328:0xbf,_0x3d15b0:0x101,_0x36b970:0x7a,_0x19c05f:0x149,_0x36aba0:0x4d,_0x3e7f52:0x13d,_0x3a9d07:0x1f5,_0x178c15:0x2ee,_0x97c84b:0x34e,_0x1eae72:0x28a,_0x3ca8cf:0xf8,_0x354c54:0x5a},_0x4e414e={_0x5a2807:0x351,_0x18ac8c:0x4e},_0x448737={_0x44c5c6:0x4c,_0x3b9469:0x1c1,_0x134062:0x4b7};function _0x93d955(_0x1de88c,_0x1d837e,_0x282418,_0x2c4e64){return _0x2389b1(_0x1de88c-_0x448737._0x44c5c6,_0x1d837e-_0x448737._0x3b9469,_0x1de88c,_0x2c4e64- -_0x448737._0x134062);}function _0x1ec09e(_0x2712ca,_0x3a88ec,_0x287441,_0x56081a){return _0x5da4fe(_0x56081a- -_0x4e414e._0x5a2807,_0x3a88ec-0x1e7,_0x2712ca,_0x56081a-_0x4e414e._0x18ac8c);}try{const _0x465130=new URL(_0x54ab31);for(const _0x4ecef9 of[_0x1ec09e(_0x22fab2._0x46ec0b,-0x17,_0x22fab2._0x298982,-_0x22fab2._0x11168c),_0x93d955(-0x192,_0x22fab2._0x2da5c3,-0x99,_0x22fab2._0x52d75b),_0x1ec09e(_0x22fab2._0x19ab32,_0x22fab2._0x34890a,-_0x22fab2._0x5edc6b,_0x22fab2._0x59adb9),_0x1ec09e(-_0x22fab2._0x4d35cd,-_0x22fab2._0x515e29,-_0x22fab2._0x18da77,-_0x22fab2._0x477d8d),_0x93d955(0x1ad,_0x22fab2._0x1c0bf0,0x49c,_0x22fab2._0x4a79b2),_0x1ec09e(-0x23,-0x29d,-0x2b9,-_0x22fab2._0x1f8037),_0x1ec09e(-0x99,-0x21,-0x229,-_0x22fab2._0x101298),_0x1ec09e(-_0x22fab2._0x103328,_0x22fab2._0x3d15b0,_0x22fab2._0x36b970,0xbe),_0x1ec09e(-_0x22fab2._0x19c05f,-0x4c,_0x22fab2._0x36aba0,-_0x22fab2._0x3e7f52)]){_0x465130[_0x93d955(_0x22fab2._0x3a9d07,_0x22fab2._0x178c15,0x287,_0x22fab2._0x97c84b)][_0x1ec09e(-_0x22fab2._0x1eae72,-_0x22fab2._0x3ca8cf,-0x18d,-0x182)](_0x4ecef9);}return _0x465130[_0x1ec09e(-0x34,-0x309,-_0x22fab2._0x354c54,-0x179)]();}catch{return _0x54ab31;}}function cseDateRestrict(_0x204ecd){const _0x52e568={_0x1fb734:0xe0,_0x3dfb09:0x9,_0x551510:0x14b,_0x3b48aa:0x42a,_0x5135fc:0x512},_0x341367={_0xaf34f7:0x306,_0x4760e6:0xbc,_0x27a837:0x127},_0x49abbe={_0x5233c2:0xf8,_0x354d9b:0x44,_0x9103d1:0x63b};function _0x52175c(_0x10860b,_0xcd3e75,_0x5d9157,_0x4af328){return _0x2389b1(_0x10860b-_0x49abbe._0x5233c2,_0xcd3e75-_0x49abbe._0x354d9b,_0xcd3e75,_0x4af328- -_0x49abbe._0x9103d1);}if(_0x204ecd<=0x0)return void 0x0;function _0x17684c(_0x3042bb,_0x1f39e0,_0x5f08c5,_0x43a903){return _0x5da4fe(_0x43a903-_0x341367._0xaf34f7,_0x1f39e0-_0x341367._0x4760e6,_0x1f39e0,_0x43a903-_0x341367._0x27a837);}if(_0x204ecd<=0x1e)return'd'+Math['max'](0x1,Math[_0x52175c(-_0x52e568._0x1fb734,_0x52e568._0x3dfb09,_0x52e568._0x551510,-0x1)](_0x204ecd));if(_0x204ecd<=0x16d)return'm'+Math['ceil'](_0x204ecd/0x1e);return'y'+Math[_0x17684c(0x652,0x37d,_0x52e568._0x3b48aa,_0x52e568._0x5135fc)](_0x204ecd/0x16d);}function addSiteFilters(_0x397434,_0x2658b1){const _0x53747b={_0x5164b0:0x21e,_0x1e921e:0x334,_0x4201fc:0x27c,_0x335714:0x153,_0x4f286c:0x156,_0x3cc81f:0x12f,_0x5b9fbc:0x2db,_0x53d138:0x322,_0x3746b2:0x4e4},_0x490180={_0x51e919:0x1ad};if(_0x2658b1['length']===0x0)return _0x397434['trim']();function _0x248b62(_0x4d9bc2,_0x3541cc,_0x1187ce,_0x367899){return _0x2389b1(_0x4d9bc2-0x162,_0x3541cc-0xae,_0x4d9bc2,_0x367899- -0x50d);}function _0x24fbd2(_0x4b2057,_0x5c44e2,_0x549b3,_0x429d4a){return _0x2389b1(_0x4b2057-0x9a,_0x5c44e2-_0x490180._0x51e919,_0x5c44e2,_0x549b3- -0x2b8);}return(_0x397434+'\x20('+_0x2658b1[_0x24fbd2(_0x53747b._0x5164b0,0x301,_0x53747b._0x1e921e,0x43d)](_0x1867e4=>_0x24fbd2(0x4f1,0x4be,0x4cc,0x4de)+_0x1867e4)['join'](_0x248b62(_0x53747b._0x4201fc,_0x53747b._0x335714,_0x53747b._0x4f286c,_0x53747b._0x3cc81f))+')')[_0x24fbd2(0x21f,_0x53747b._0x5b9fbc,_0x53747b._0x53d138,_0x53747b._0x3746b2)]();}function normalizeType(_0x5945e8){const _0x1c7236={_0x3d824b:0x117,_0x42b4e6:0x393};function _0x5ca144(_0x143a24,_0x301f47,_0x560c39,_0x446b27){return _0x2389b1(_0x143a24-_0x1c7236._0x3d824b,_0x301f47-0x1d,_0x446b27,_0x143a24- -_0x1c7236._0x42b4e6);}return _0x5945e8==='images'?'images':_0x5ca144(0x2b5,0x2ec,0x366,0x454);}async function fetchJson(_0x351434,_0x530688,_0xf21ed4){const _0x3aff8b={_0x4c54b8:0x674,_0x45b614:0x35b,_0x27d9bf:0x69f,_0x8b2bc7:0x6d8,_0x32db8e:0x127,_0x5bac4f:0xde,_0x171f61:0x1db,_0x334ec3:0x678,_0x4d579b:0x543,_0x3335ee:0x459,_0x14ca53:0x612,_0x1edec3:0x24b,_0x532b4c:0xb7,_0x569684:0x59a,_0x40d461:0x3a4,_0x4c4a80:0x5d5,_0x18dcb:0x59b,_0x2dba15:0x61d,_0x49d706:0x1ee,_0xe88018:0xc8,_0x4d47ff:0x4f7,_0x35fdda:0x12a,_0x871d0:0x14a,_0x5f9f6a:0x18,_0x5f2cb0:0x5d5,_0x413077:0x78c,_0x21f3bc:0x4f8,_0xd5810a:0x713,_0x16062f:0x4e4},_0x2ee1a0={_0x1a2f1f:0xff},_0x4aa542={_0x12cacf:0x14b};function _0x2d1a49(_0x3dfa92,_0x513c24,_0x2389ff,_0x272115){return _0x2389b1(_0x3dfa92-0x1b,_0x513c24-0x1a6,_0x2389ff,_0x513c24- -_0x4aa542._0x12cacf);}const _0x3a6aa1=await fetch(_0x351434,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x2d1a49(_0x3aff8b._0x4c54b8,0x538,0x5e3,0x5ad),..._0xf21ed4?.['headers']},'signal':_0x530688,..._0xf21ed4});function _0x6c0427(_0x168089,_0x4ed721,_0xcb476c,_0xa4a176){return _0x5da4fe(_0xa4a176- -0x22f,_0x4ed721-0x29,_0xcb476c,_0xa4a176-_0x2ee1a0._0x1a2f1f);}if(!_0x3a6aa1['ok']){let _0x2b8850,_0x3b0d33;try{_0x2b8850=await _0x3a6aa1['text']();const _0x43ca9d=JSON[_0x2d1a49(0x2b6,0x3a8,0x1ea,_0x3aff8b._0x45b614)](_0x2b8850),_0x2361f7=typeof _0x43ca9d['detail']===_0x2d1a49(_0x3aff8b._0x27d9bf,_0x3aff8b._0x8b2bc7,0x5e0,0x6de)?_0x43ca9d[_0x6c0427(-_0x3aff8b._0x32db8e,-0x8a,_0x3aff8b._0x5bac4f,-0xbf)][_0x6c0427(0x2db,0x2c9,0x16f,_0x3aff8b._0x171f61)]:void 0x0;_0x3b0d33=_0x43ca9d[_0x2d1a49(_0x3aff8b._0x334ec3,0x614,_0x3aff8b._0x4d579b,_0x3aff8b._0x3335ee)]?.[_0x2d1a49(_0x3aff8b._0x14ca53,0x510,0x5ef,0x41b)]??_0x43ca9d['error']?.[_0x6c0427(_0x3aff8b._0x1edec3,0x1d8,-0xb2,_0x3aff8b._0x532b4c)]?.[0x0]?.['message']??_0x2361f7;}catch{}const _0x6c1806=_0x3b0d33?_0x2d1a49(_0x3aff8b._0x569684,0x47f,_0x3aff8b._0x40d461,0x4b7)+_0x3a6aa1[_0x2d1a49(0x4f3,_0x3aff8b._0x4c4a80,_0x3aff8b._0x18dcb,_0x3aff8b._0x2dba15)]+':\x20'+_0x3b0d33:_0x6c0427(_0x3aff8b._0x49d706,_0x3aff8b._0xe88018,0x56,0x46)+_0x3a6aa1[_0x2d1a49(0x4d4,0x5d5,0x6f3,_0x3aff8b._0x4d47ff)]+'\x20'+_0x3a6aa1[_0x6c0427(-_0x3aff8b._0x35fdda,-0x82,-_0x3aff8b._0x871d0,_0x3aff8b._0x5f9f6a)];throw new ToolExecutionError(_0x6c1806,{'statusCode':_0x3a6aa1[_0x2d1a49(0x4a6,_0x3aff8b._0x5f2cb0,_0x3aff8b._0x413077,_0x3aff8b._0x21f3bc)],..._0x2b8850?{'body':_0x2b8850}:{}});}return await _0x3a6aa1[_0x2d1a49(0x6c0,0x555,_0x3aff8b._0xd5810a,_0x3aff8b._0x16062f)]();}async function hydrateResults(_0x3ae08c,_0x53372b,_0x1776b3,_0x170bfc){const _0x228263={_0x475135:0x30b,_0x42cb0e:0x44a,_0x5bb6bb:0x380,_0x877b36:0x299,_0x236e7c:0x38b},_0x1b2680={_0xd7e019:0x1b4,_0xf2d5d6:0x159},_0x3f7716={_0x599e10:0xbe,_0x38fef6:0x1d0,_0x2812ec:0x194,_0x5f56be:0x46,_0x32d6cf:0x28,_0x3c93f4:0x1e7,_0x1505c7:0x347,_0x807158:0x58,_0x4142a8:0x253,_0x54c904:0x6df,_0x406dab:0x7ac,_0x504ee9:0x5ba,_0x15474a:0x6ff,_0x3489f3:0x536,_0x40e9af:0x105,_0x3e23f1:0x20,_0x290b75:0x43c,_0x533973:0x61f,_0x11a5eb:0x3e9,_0x15c654:0x3f2,_0x9323d:0xe2,_0x4f9b2e:0x24,_0x2560e9:0x107,_0x26ddac:0x1d,_0x59df7c:0x1e3,_0x2a1859:0x590,_0x5c92a3:0x65,_0x3ed3c5:0x5a,_0x17239f:0x180,_0xc9ec2:0x119,_0x38389e:0x6d5,_0x2269fb:0x49,_0xefb049:0x45,_0x3280fe:0xb5,_0x4e438d:0x573,_0x1d1430:0x66d,_0x2a688e:0x5f2,_0x15cc87:0x7b0,_0x5ed32a:0x510,_0x336141:0x117,_0x404369:0x2c7,_0x4c8f0e:0x619},_0x39e294={_0x2a8237:0x197,_0x16eb0c:0x1a9},_0x34dd7e=await Promise[_0x33fdd0(_0x228263._0x475135,_0x228263._0x42cb0e,0x441,0x3ee)](_0x3ae08c['slice'](0x0,0xa)['map'](async _0x456777=>{const _0x42e165={_0x236d3f:0x52b};function _0x51cd21(_0x136f4c,_0x5a2758,_0x4b9c63,_0xa7567a){return _0x33fdd0(_0x136f4c,_0x5a2758-0x194,_0x4b9c63- -_0x42e165._0x236d3f,_0xa7567a-0x70);}function _0x3e7758(_0x14b180,_0x4c5f6d,_0x2415a8,_0x347133){return _0x33fdd0(_0x14b180,_0x4c5f6d-_0x39e294._0x2a8237,_0x4c5f6d-0x1d9,_0x347133-_0x39e294._0x16eb0c);}try{const _0xbd7299=await safeFetch(_0x456777[_0x51cd21(_0x3f7716._0x599e10,-_0x3f7716._0x38fef6,-0x70,-_0x3f7716._0x2812ec)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x53372b,'Accept':'text/html'},'signal':_0x1776b3},{'lookup':_0x170bfc});if(!_0xbd7299['ok'])return _0x456777;const _0x5e0f4e=await _0xbd7299['text'](),_0x58719e=load(_0x5e0f4e),_0x5ebc52=_0x58719e(_0x51cd21(-_0x3f7716._0x5f56be,-_0x3f7716._0x32d6cf,-_0x3f7716._0x3c93f4,-_0x3f7716._0x1505c7))[_0x51cd21(-0x18d,-_0x3f7716._0x807158,-0x174,-_0x3f7716._0x4142a8)](_0x3e7758(_0x3f7716._0x54c904,0x6e0,_0x3f7716._0x406dab,0x7a9))||_0x58719e('title')[_0x3e7758(0x50a,_0x3f7716._0x504ee9,_0x3f7716._0x15474a,_0x3f7716._0x3489f3)]()['text']()[_0x51cd21(-0x127,-0x10f,-_0x3f7716._0x40e9af,-_0x3f7716._0x3e23f1)](),_0x4cb04f=_0x58719e(_0x3e7758(_0x3f7716._0x290b75,0x52c,_0x3f7716._0x533973,_0x3f7716._0x11a5eb))[_0x3e7758(0x5c8,0x590,_0x3f7716._0x15c654,0x4d8)](_0x51cd21(-_0x3f7716._0x9323d,-0x35,-_0x3f7716._0x4f9b2e,-0x48))||_0x58719e(_0x51cd21(-_0x3f7716._0x2560e9,_0x3f7716._0x26ddac,-0x46,-_0x3f7716._0x59df7c))[_0x3e7758(0x562,_0x3f7716._0x2a1859,0x61f,0x580)](_0x51cd21(-_0x3f7716._0x5c92a3,-0x85,-_0x3f7716._0x4f9b2e,-0xae))||_0x456777[_0x51cd21(-0x8e,-0xfc,0x75,-0x115)],_0x51d185=_0x58719e(_0x51cd21(_0x3f7716._0x3ed3c5,_0x3f7716._0x17239f,0x34,-0x117))['attr']('content')||_0x58719e(_0x51cd21(0x1b4,-_0x3f7716._0xc9ec2,0x2a,0xf0))[_0x3e7758(0x67b,_0x3f7716._0x2a1859,_0x3f7716._0x38389e,0x677)](_0x51cd21(-0x1d0,0x10f,-0x83,-0x4e))||_0x456777[_0x51cd21(-_0x3f7716._0x2269fb,-_0x3f7716._0xefb049,_0x3f7716._0x3280fe,0x64)],_0x211e4b=_0x58719e('link[rel=\x27canonical\x27]')[_0x3e7758(0x4d2,0x590,0x3e6,_0x3f7716._0x4e438d)](_0x3e7758(_0x3f7716._0x1d1430,_0x3f7716._0x2a688e,_0x3f7716._0x15cc87,0x4a9));return{..._0x456777,'title':_0x5ebc52||_0x456777[_0x3e7758(0x580,0x612,_0x3f7716._0x5ed32a,0x6e7)],'snippet':_0x4cb04f,'url':_0x211e4b?normalizeUrl(new URL(_0x211e4b,_0x456777[_0x51cd21(-_0x3f7716._0x336141,0x45,-0x70,0xdf)])[_0x51cd21(-0x337,-0x80,-0x1b2,-_0x3f7716._0x404369)]()):_0x456777[_0x3e7758(0x624,0x694,0x539,_0x3f7716._0x4c8f0e)],'publishedAt':_0x51d185};}catch{return _0x456777;}})),_0x42d8bf=new Map(_0x3ae08c['slice'](0x0,0xa)['map']((_0x3e8d0f,_0x1061a3)=>[_0x3e8d0f[_0x4c73a6(0x1ae,0x31c,0x3ce,0x1a3)],_0x34dd7e[_0x1061a3]]));function _0x33fdd0(_0x317aca,_0x41969d,_0xcf728c,_0x21fdcf){return _0x2389b1(_0x317aca-0x168,_0x41969d-0x13e,_0x317aca,_0xcf728c- -0x1b4);}function _0x4c73a6(_0x246700,_0x5942ed,_0x32c4fc,_0x51f07e){return _0x5da4fe(_0x5942ed-0x2,_0x5942ed-_0x1b2680._0xd7e019,_0x32c4fc,_0x51f07e-_0x1b2680._0xf2d5d6);}return _0x3ae08c[_0x4c73a6(_0x228263._0x5bb6bb,_0x228263._0x877b36,_0x228263._0x236e7c,0x221)](_0x5a21f5=>_0x42d8bf[_0x33fdd0(0x526,0x41c,0x480,0x3bc)](_0x5a21f5[_0x4c73a6(0x1f5,0x31c,0x1cc,0x4b3)])??_0x5a21f5);}function formatResults(_0x3f83a7){const _0x4bef54={_0x2613bd:0x264,_0x20a172:0xf6,_0x130e5c:0x1ba,_0x3abb8b:0xd7,_0x5d5999:0x34,_0xeef6a3:0x158,_0x4d752c:0x17b,_0x8bb524:0x187},_0x1fdf70={_0x3e69fb:0x4c4,_0x15465f:0x29d,_0x3ea40b:0x5d3,_0x2cefe9:0x4e3,_0x60161:0x655,_0x1b8e12:0x5be,_0xabc477:0x476,_0x65af42:0x45e,_0x5dad98:0x73a,_0x3f84ee:0x4c1,_0x36d018:0x528,_0x139275:0x582,_0x191802:0x6c7,_0x480a12:0x418,_0x5a5dca:0x5f9,_0x175aca:0x4ac,_0x1a0bf8:0x64b,_0x3a42e0:0x52a},_0x2ad83e={_0x4bbf2d:0x1},_0x115622={_0x41293b:0x83},_0xfbbf4c={_0x29deb5:0x10d,_0x315b1c:0x127};if(_0x3f83a7[_0x36908d(0x236,_0x4bef54._0x2613bd,_0x4bef54._0x20a172,_0x4bef54._0x130e5c)]===0x0)return _0x44e210(-_0x4bef54._0x3abb8b,_0x4bef54._0x5d5999,_0x4bef54._0xeef6a3,0x1ba);function _0x36908d(_0x88e124,_0x344232,_0x1b353d,_0x28be4a){return _0x2389b1(_0x88e124-_0xfbbf4c._0x29deb5,_0x344232-_0xfbbf4c._0x315b1c,_0x28be4a,_0x88e124- -0x5e6);}function _0x44e210(_0x55aa04,_0xe8f5a4,_0x53e1de,_0x72e78a){return _0x2389b1(_0x55aa04-0x96,_0xe8f5a4-_0x115622._0x41293b,_0x53e1de,_0xe8f5a4- -0x67a);}return _0x3f83a7[_0x44e210(-0x156,-0x8e,-_0x4bef54._0x4d752c,-0x2b)](_0x24e319=>{const _0x408190={_0x5dd8bb:0xa1,_0x38434a:0x492};function _0x10d3db(_0x2a9b7b,_0x5aed37,_0x9cd670,_0x3f45f0){return _0x44e210(_0x2a9b7b-_0x408190._0x5dd8bb,_0x9cd670-_0x408190._0x38434a,_0x5aed37,_0x3f45f0-0x1c);}const _0x21c32f=[_0x24e319[_0x267ba2(0x658,0x4ed,0x5d6,_0x1fdf70._0x3e69fb)][_0x10d3db(_0x1fdf70._0x15465f,0x53e,0x38a,0x34f)]+'.\x20'+_0x24e319[_0x267ba2(_0x1fdf70._0x3ea40b,0x4af,0x462,_0x1fdf70._0x2cefe9)],_0x24e319[_0x267ba2(_0x1fdf70._0x60161,0x497,0x49a,0x656)]];if(_0x24e319[_0x267ba2(0x73a,_0x1fdf70._0x1b8e12,0x8a1,0x686)])_0x21c32f[_0x10d3db(0x39f,_0x1fdf70._0xabc477,_0x1fdf70._0x65af42,0x5d1)](_0x24e319[_0x267ba2(_0x1fdf70._0x5dad98,0x75d,0x687,0x5f8)]);function _0x267ba2(_0x3ed5a7,_0x53329b,_0x50b294,_0x3ed9bc){return _0x44e210(_0x3ed5a7-_0x2ad83e._0x4bbf2d,_0x3ed5a7-0x660,_0x50b294,_0x3ed9bc-0x1e2);}if(_0x24e319[_0x10d3db(_0x1fdf70._0x3f84ee,0x55a,0x5ac,0x6b2)])_0x21c32f[_0x10d3db(_0x1fdf70._0x36d018,_0x1fdf70._0x139275,_0x1fdf70._0x65af42,0x4cf)]('Published:\x20'+_0x24e319[_0x10d3db(_0x1fdf70._0x191802,_0x1fdf70._0x480a12,0x5ac,_0x1fdf70._0x5a5dca)]);return _0x21c32f[_0x267ba2(_0x1fdf70._0x175aca,_0x1fdf70._0x1a0bf8,_0x1fdf70._0x3a42e0,0x413)]('\x0a');})[_0x36908d(-0x120,-0x239,-_0x4bef54._0x8bb524,-0x232)]('\x0a\x0a');}async function searchOllama(_0x1eb8eb,_0xacb591,_0x58305f){const _0x3a0191={_0xb4030a:0x21f,_0x25b88c:0x226,_0x337b4d:0x21,_0x146db0:0x132,_0x21fc25:0x19,_0x2c3a21:0x48b,_0x70ae9b:0x265,_0x28779e:0xd8,_0x3a197d:0x15b,_0xe7dbb9:0x307,_0x15631a:0x3af,_0x1db125:0x321,_0x1fb09e:0x314,_0x2cafed:0x27e,_0x4f17b7:0x1e0,_0x39f5cb:0x136,_0x4e7443:0x1da,_0x18ffe6:0x558,_0x40e5af:0x4ee,_0x55dd64:0x5b1,_0xef4c17:0x56a,_0x5c04f0:0x463,_0x2d4bd9:0x340,_0x4c39d3:0x2f7,_0x515d6b:0x34f},_0x1a9524={_0x52b0c3:0x3ff,_0x40c633:0x5c1,_0x26ed3c:0x5f5,_0x16c4b2:0x473,_0x3d5c0a:0x558,_0x3d61a1:0x469,_0x11a80e:0x6d3,_0x311f95:0x483},_0x13b7f9={_0xfcde2b:0x12f,_0x17f76a:0x84},_0x436a86={_0x1a1758:0x1a1},_0x114d28={_0x3b33e3:0x1f1,_0x4d2822:0x1e0,_0x1aa7bb:0x4bc},_0x3bb704=Math['max'](0x1,Math[_0x3ebfb7(0x47e,0x2bb,0x567,0x2d7)](0xa,_0xacb591[_0x2f245d(0x29f,_0x3a0191._0xb4030a,_0x3a0191._0x25b88c,0x154)])),_0x54c3b6=addSiteFilters(_0xacb591[_0x2f245d(0x201,-_0x3a0191._0x337b4d,_0x3a0191._0x146db0,-_0x3a0191._0x21fc25)],_0xacb591['domains']),_0x43a4d8=await fetchJson(_0x3ebfb7(_0x3a0191._0x2c3a21,0x2e5,0x552,0x618),_0x58305f,{'method':_0x2f245d(_0x3a0191._0x70ae9b,_0x3a0191._0x28779e,_0x3a0191._0x3a197d,_0x3a0191._0xe7dbb9),'headers':{'Authorization':'Bearer\x20'+_0x1eb8eb[_0x2f245d(_0x3a0191._0x15631a,0x1a0,_0x3a0191._0x1db125,_0x3a0191._0x1fb09e)]},'body':JSON[_0x2f245d(_0x3a0191._0x2cafed,_0x3a0191._0x4f17b7,_0x3a0191._0x39f5cb,_0x3a0191._0x4e7443)]({'query':_0x54c3b6,'max_results':_0x3bb704})}),_0x2a9479=_0x43a4d8['results']??[];function _0x2f245d(_0x912063,_0x2b66a2,_0x2ae207,_0x105a22){return _0x2389b1(_0x912063-_0x114d28._0x3b33e3,_0x2b66a2-_0x114d28._0x4d2822,_0x912063,_0x2ae207- -_0x114d28._0x1aa7bb);}function _0x3ebfb7(_0x1ac35b,_0x1716a7,_0x1ab395,_0x393655){return _0x5da4fe(_0x1ac35b-0x2c1,_0x1716a7-_0x436a86._0x1a1758,_0x1716a7,_0x393655-0xa0);}const _0x1a2123=_0x2a9479[_0x3ebfb7(_0x3a0191._0x18ffe6,_0x3a0191._0x40e5af,0x39b,0x554)]((_0x54f5bb,_0x197e5d)=>{const _0x54d1bc={_0x222d5a:0x1c6,_0x2076f1:0x40e,_0x2c5c35:0x119};function _0x4e7828(_0xb990f4,_0x207788,_0x3c15f1,_0x43afa6){return _0x3ebfb7(_0x43afa6- -0x2d1,_0xb990f4,_0x3c15f1-_0x13b7f9._0xfcde2b,_0x43afa6-_0x13b7f9._0x17f76a);}function _0x9c088f(_0x4006a1,_0x59fe07,_0x11dcb2,_0x23dd67){return _0x2f245d(_0x4006a1,_0x59fe07-_0x54d1bc._0x222d5a,_0x23dd67-_0x54d1bc._0x2076f1,_0x23dd67-_0x54d1bc._0x2c5c35);}const _0xba82fc=_0x54f5bb[_0x9c088f(0x569,0x6c8,_0x1a9524._0x52b0c3,_0x1a9524._0x40c633)]||'';let _0x467890;try{_0x467890=new URL(_0xba82fc)['host'];}catch{_0x467890=null;}return{'title':_0x54f5bb[_0x9c088f(_0x1a9524._0x26ed3c,0x50b,0x507,0x53f)]||_0x9c088f(_0x1a9524._0x16c4b2,_0x1a9524._0x3d5c0a,0x628,_0x1a9524._0x3d61a1),'url':normalizeUrl(_0xba82fc),'snippet':_0x54f5bb[_0x9c088f(0x5f2,_0x1a9524._0x11a80e,_0x1a9524._0x311f95,0x60d)]??null,'displayUrl':_0x467890,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x197e5d+0x1}};});return{'items':_0x1a2123[_0x3ebfb7(_0x3a0191._0x55dd64,0x760,_0x3a0191._0xef4c17,_0x3a0191._0x5c04f0)](0x0,_0x3bb704),'engine':_0x2f245d(0x144,_0x3a0191._0x2d4bd9,_0x3a0191._0x4c39d3,_0x3a0191._0x515d6b)};}async function searchTavily(_0x57d7dc,_0x4e54db,_0x2fb863){const _0x151e86={_0x3c696c:0x316,_0x12ed4c:0x220,_0x1fdc2f:0x146,_0x425970:0x3f,_0xb5640:0x70,_0x424bc6:0x190,_0x4e77b2:0xc3,_0x521658:0x27d,_0x4a101f:0x90,_0x5e67c0:0xd0,_0x4630f2:0x1b9,_0x15089a:0x90,_0xf18b42:0x108,_0x1b8299:0x29,_0x3d1ec1:0x18c,_0x1cfe7d:0x49f,_0x4aef16:0x420,_0x5a39fe:0x10f,_0x408b6f:0xa5,_0x5ae744:0x62,_0x2c32f3:0xfe,_0x2772a5:0x211,_0x17aa84:0xeb},_0x5839a6={_0x33c069:0x164,_0x121b67:0x547},_0x4d3558={_0xb7c64:0x4bc,_0x3d9c70:0x515,_0x19dce4:0x56a,_0x452a38:0x3bf,_0x47995d:0x44f,_0x3238cc:0x4a6,_0x40f78e:0x472,_0x3ea2f0:0x2ad,_0x375934:0x3ea,_0x11168e:0x5e4,_0xdeea1f:0x51d,_0xda54cb:0x5fc,_0x5a99b3:0x5bf,_0x16b361:0x375,_0x460c4e:0x41c,_0x402555:0x32a,_0x889f4a:0x4d6},_0x7b0b82={_0x16ac9f:0x3a9,_0x3b4c03:0x7f},_0x49a05f={_0x223364:0x20},_0x4c5834=Math[_0x26aaf4(_0x151e86._0x3c696c,0x4ba,_0x151e86._0x12ed4c,0x339)](0x1,Math[_0x40d348(-0x35,0x151,0x34,-0x1e4)](0x14,_0x4e54db['count'])),_0x212fa0={'query':_0x4e54db[_0x40d348(0xa7,0x15d,0x94,_0x151e86._0x1fdc2f)],'max_results':_0x4c5834,'search_depth':_0x57d7dc[_0x40d348(-_0x151e86._0x425970,_0x151e86._0xb5640,-0x1eb,0xdf)]??'basic','topic':_0x57d7dc['topic']??'general'};if(_0x4e54db['domains']['length']>0x0)_0x212fa0['include_domains']=_0x4e54db[_0x40d348(_0x151e86._0x424bc6,_0x151e86._0x4e77b2,_0x151e86._0x521658,0xd3)];const _0x158b51=await fetchJson(_0x40d348(0xe8,-_0x151e86._0x4a101f,0x296,0x1e6),_0x2fb863,{'method':_0x40d348(_0x151e86._0x5e67c0,-0xd,_0x151e86._0x4630f2,_0x151e86._0x15089a),'headers':{'Authorization':_0x40d348(_0x151e86._0xf18b42,0x1f8,0x127,0x1f6)+_0x57d7dc[_0x40d348(_0x151e86._0x1b8299,0xb9,-0x182,_0x151e86._0x3d1ec1)],'Content-Type':_0x26aaf4(0x34e,0x216,_0x151e86._0x1cfe7d,_0x151e86._0x4aef16)},'body':JSON['stringify'](_0x212fa0)}),_0x37c28e=_0x158b51[_0x40d348(-0x6b,0x153,-_0x151e86._0x5a39fe,0x49)]??[];function _0x26aaf4(_0x419bb0,_0x4541f5,_0x1a2219,_0x9f4790){return _0x5da4fe(_0x419bb0-_0x49a05f._0x223364,_0x4541f5-0x150,_0x9f4790,_0x9f4790-0x102);}const _0x32675d=_0x37c28e[_0x40d348(_0x151e86._0x408b6f,0x16a,-_0x151e86._0x5ae744,0x269)]((_0x8e7337,_0x36cc0b)=>{const _0x506489={_0x437b5a:0x1db};function _0x31d6ac(_0x47f77b,_0x1373f8,_0x5a7301,_0x5ddce0){return _0x26aaf4(_0x5ddce0-_0x506489._0x437b5a,_0x1373f8-_0x506489._0x437b5a,_0x5a7301-0x8d,_0x1373f8);}const _0x45f206=_0x8e7337[_0x31d6ac(0x4cf,0x589,_0x4d3558._0xb7c64,_0x4d3558._0x3d9c70)]||'';let _0x11f2f6;try{_0x11f2f6=new URL(_0x45f206)[_0x5e73c2(_0x4d3558._0x19dce4,0x490,0x2e2,_0x4d3558._0x452a38)];}catch{_0x11f2f6=null;}function _0x5e73c2(_0x15fe6d,_0x4817db,_0x1f418a,_0x275c8b){return _0x40d348(_0x4817db-_0x7b0b82._0x16ac9f,_0x4817db-_0x7b0b82._0x3b4c03,_0x1f418a-0xfc,_0x15fe6d);}return{'title':_0x8e7337[_0x5e73c2(0x32d,_0x4d3558._0x47995d,_0x4d3558._0x3238cc,_0x4d3558._0x40f78e)]||_0x31d6ac(_0x4d3558._0x3ea2f0,_0x4d3558._0x375934,0x35a,0x3bd),'url':normalizeUrl(_0x45f206),'snippet':_0x8e7337[_0x5e73c2(_0x4d3558._0x11168e,_0x4d3558._0xdeea1f,_0x4d3558._0xda54cb,_0x4d3558._0x5a99b3)]??null,'displayUrl':_0x11f2f6,'favicon':null,'publishedAt':null,'source':{'engine':_0x31d6ac(_0x4d3558._0x16b361,_0x4d3558._0x460c4e,_0x4d3558._0x402555,_0x4d3558._0x889f4a),'rank':_0x36cc0b+0x1}};});function _0x40d348(_0x5e748b,_0x4e9de9,_0x39d9d2,_0x59bdb5){return _0x2389b1(_0x5e748b-_0x5839a6._0x33c069,_0x4e9de9-0x73,_0x59bdb5,_0x5e748b- -_0x5839a6._0x121b67);}return{'items':_0x32675d[_0x40d348(_0x151e86._0x2c32f3,_0x151e86._0x2772a5,_0x151e86._0x17aa84,0x273)](0x0,_0x4c5834),'engine':'tavily'};}async function searchGoogleCse(_0xa4d14d,_0x474862,_0x20c2cf){const _0x58b9f8={_0x27d802:0x61c,_0x3e8f2b:0x459,_0x1daece:0x467,_0x4784fc:0x709,_0x190793:0x4e3,_0x23fed1:0x3c9,_0x3a3515:0x61e,_0x239043:0x39c,_0x4bf0f8:0x707,_0x1ce475:0x714,_0x58b7f6:0x733,_0x1763cb:0x7f1,_0xa5b7e8:0x6a9,_0x531d40:0x536,_0x4406d6:0x48c,_0x5a4c65:0x4ac,_0x142816:0x3b6,_0x2319ec:0x5b7,_0x32f09e:0x597,_0x502749:0x64d,_0x21874f:0x619,_0x218c91:0x441,_0x388cb1:0x6be,_0x4f470e:0x881,_0x3092a4:0x64c,_0x1ba7d9:0x77e,_0x52ca19:0x39d,_0x1c5cc3:0x582,_0x2ad173:0x619,_0x2a44a5:0x6e5,_0x40d4b9:0x837,_0x24ef16:0x658,_0x2efd24:0x4dd,_0x2449ff:0x5ce,_0x35bc3c:0x48b,_0x413976:0x712,_0x336f86:0x82d,_0x445045:0x73f,_0x5902d6:0x58c,_0x576701:0x5d5,_0x375bcd:0x471,_0x5c6a0b:0x5eb,_0x1453bf:0x672,_0x24d306:0x6e3,_0x55a0b4:0x78a,_0xa03d70:0x47c,_0x48087d:0x586,_0x536b7e:0x5a9,_0x236141:0x421,_0x455eba:0x67e,_0x58dcc0:0x649,_0x56d2e6:0x508,_0x36b487:0x6c8,_0x277598:0x7ad,_0x868e66:0x739,_0x2de467:0x58d,_0x59ed60:0x617,_0x13e8b3:0x676,_0x325996:0x545,_0x328d48:0x7d6,_0xd7afcd:0x97b,_0x50ab7c:0x63c,_0x2d09c4:0x518,_0x5b6199:0x7a7,_0x411d72:0x6d5,_0x585984:0x802,_0x303ee5:0x933,_0x191160:0x778,_0x30fdf9:0x650,_0x12d8a5:0x702,_0x4739ff:0x628,_0x5c69bd:0x615,_0x4fc4a3:0x3ea,_0x13251a:0x639,_0x5a47c8:0x713,_0x5bae59:0x5cf,_0x1345e1:0x87f,_0x1f8a4f:0x5ce,_0x308214:0x54c,_0x250383:0x4e2,_0x1ca475:0x3e9,_0x5d9bb6:0x54a,_0x28d3b9:0x6f7,_0x4b5d2e:0x596,_0x488e33:0x691,_0x2f9ba4:0x6fc,_0x274a04:0x56b,_0x514ed2:0x3ca,_0x1c50c9:0x3df,_0x5614e7:0x3d0,_0x4d2c60:0x4b3,_0x1217da:0x4cd,_0x161f1:0x30c,_0x1e1e26:0x355,_0x5818af:0x3af,_0xc6811f:0x4b9,_0x1c5d53:0x6f9,_0x460d67:0x889,_0xb88bd:0x50e,_0x455b70:0x55e,_0x267450:0x5b0,_0x25a9ae:0x559,_0x1693c7:0x6d4,_0x288d84:0x50b,_0x1c9d42:0x721,_0x4b040f:0x5e9,_0x50adc5:0x6fc,_0x35ca01:0x654,_0x29bdc3:0x734,_0x68be5a:0x7ca,_0x32bc59:0x80c,_0x44bae9:0x62a,_0x2de9ad:0x7f2,_0x586f02:0x6fc,_0x382068:0x6c9},_0x3dd51={_0x4baacf:0x235,_0x45210b:0x15e},_0x322aa2={_0xc79746:0x55,_0x4d01cb:0xe9},_0x33db2d=Math[_0x558ff4(_0x58b9f8._0x27d802,_0x58b9f8._0x3e8f2b,_0x58b9f8._0x1daece,_0x58b9f8._0x4784fc)](0x1,Math[_0x558ff4(_0x58b9f8._0x190793,_0x58b9f8._0x23fed1,_0x58b9f8._0x3a3515,_0x58b9f8._0x239043)](0x32,_0x474862[_0x558ff4(0x6b3,0x6c0,0x813,_0x58b9f8._0x4bf0f8)]));if(_0x474862[_0x558ff4(_0x58b9f8._0x1ce475,_0x58b9f8._0x58b7f6,_0x58b9f8._0x1763cb,0x8b7)]+_0x33db2d>0x64)throw new ToolExecutionError(_0x558ff4(_0x58b9f8._0xa5b7e8,0x6df,0x6f8,_0x58b9f8._0x531d40),{'offset':_0x474862[_0xd8fd26(0x6e6,0x52e,0x623,_0x58b9f8._0x4406d6)],'count':_0x33db2d,'maxResults':0x64});const _0x2ccad8=cseDateRestrict(_0x474862['recencyDays']),_0x4b1d5c=addSiteFilters(_0x474862[_0xd8fd26(_0x58b9f8._0x5a4c65,0x54e,0x4ce,_0x58b9f8._0x142816)],_0x474862[_0xd8fd26(0x4f3,0x5a8,_0x58b9f8._0x2319ec,_0x58b9f8._0x32f09e)]);function _0x558ff4(_0x43ebb9,_0x2b2acc,_0x4555e7,_0x251dba){return _0x2389b1(_0x43ebb9-_0x322aa2._0xc79746,_0x2b2acc-_0x322aa2._0x4d01cb,_0x251dba,_0x43ebb9- -0x2f);}let _0x20b6cd=0x0,_0x536a09=_0x474862[_0xd8fd26(_0x58b9f8._0x502749,0x654,0x623,0x6b5)]+0x1;const _0x18965a=[];while(_0x20b6cd<_0x33db2d){const _0x4fed50=Math[_0x558ff4(_0x58b9f8._0x190793,0x3d0,_0x58b9f8._0x21874f,_0x58b9f8._0x218c91)](0xa,_0x33db2d-_0x20b6cd),_0x4f5ca7=new URL(_0x558ff4(_0x58b9f8._0x388cb1,0x7af,_0x58b9f8._0x4f470e,_0x58b9f8._0x3092a4));_0x4f5ca7[_0xd8fd26(_0x58b9f8._0x1ba7d9,0x6c4,0x6e5,0x851)][_0xd8fd26(_0x58b9f8._0x52ca19,_0x58b9f8._0x1c5cc3,0x4dd,_0x58b9f8._0x2ad173)]('key',_0xa4d14d['googleCseKey']),_0x4f5ca7['searchParams']['set']('cx',_0xa4d14d['googleCseCx']),_0x4f5ca7[_0xd8fd26(0x745,0x523,_0x58b9f8._0x2a44a5,_0x58b9f8._0x40d4b9)][_0xd8fd26(0x5c2,_0x58b9f8._0x24ef16,_0x58b9f8._0x2efd24,0x4a7)]('q',_0x4b1d5c),_0x4f5ca7['searchParams'][_0x558ff4(_0x58b9f8._0x2449ff,_0x58b9f8._0x35bc3c,0x517,_0x58b9f8._0x413976)](_0xd8fd26(0x556,0x61c,0x61c,0x65e),String(_0x4fed50)),_0x4f5ca7[_0xd8fd26(_0x58b9f8._0x336f86,_0x58b9f8._0x445045,0x6e5,_0x58b9f8._0x5902d6)][_0xd8fd26(_0x58b9f8._0x576701,_0x58b9f8._0x375bcd,_0x58b9f8._0x2efd24,0x422)](_0x558ff4(_0x58b9f8._0x5c6a0b,0x5e1,_0x58b9f8._0x1453bf,0x696),String(_0x536a09)),_0x4f5ca7[_0xd8fd26(0x555,0x672,0x6e5,_0x58b9f8._0x24d306)]['set']('safe',_0x474862[_0x558ff4(0x699,0x696,0x4d7,_0x58b9f8._0x55a0b4)]?_0x558ff4(0x60f,0x463,0x6ba,_0x58b9f8._0xa03d70):_0xd8fd26(_0x58b9f8._0x48087d,_0x58b9f8._0x536b7e,_0x58b9f8._0x236141,0x5b7));_0x474862[_0x558ff4(_0x58b9f8._0x455eba,_0x58b9f8._0x58dcc0,_0x58b9f8._0x56d2e6,_0x58b9f8._0x36b487)]&&(_0x4f5ca7[_0x558ff4(0x7d6,_0x58b9f8._0x277598,_0x58b9f8._0x868e66,0x80f)]['set']('hl',_0x474862[_0xd8fd26(0x57e,0x637,_0x58b9f8._0x2de467,0x73e)]),_0x4f5ca7[_0xd8fd26(_0x58b9f8._0x59ed60,_0x58b9f8._0x13e8b3,0x6e5,0x7c9)]['set']('lr',_0x558ff4(0x6ee,0x871,_0x58b9f8._0x325996,0x8a8)+_0x474862['lang']));if(_0x474862[_0xd8fd26(0x461,0x56d,0x5bd,0x488)])_0x4f5ca7[_0x558ff4(_0x58b9f8._0x328d48,0x6fd,_0x58b9f8._0xd7afcd,_0x58b9f8._0x50ab7c)][_0x558ff4(_0x58b9f8._0x2449ff,_0x58b9f8._0x2d09c4,0x567,0x42d)]('gl',_0x474862['region'][_0x558ff4(_0x58b9f8._0x5b6199,0x619,0x667,0x6d5)]());if(_0x474862[_0xd8fd26(0x6d8,_0x58b9f8._0x411d72,0x52e,0x4a3)]===_0x558ff4(0x778,_0x58b9f8._0x585984,_0x58b9f8._0x303ee5,_0x58b9f8._0x191160))_0x4f5ca7[_0x558ff4(0x7d6,0x815,_0x58b9f8._0x30fdf9,_0x58b9f8._0x12d8a5)][_0xd8fd26(_0x58b9f8._0x4739ff,_0x58b9f8._0x5c69bd,0x4dd,_0x58b9f8._0x4fc4a3)](_0xd8fd26(0x670,_0x58b9f8._0x13251a,_0x58b9f8._0x5a47c8,_0x58b9f8._0x5bae59),'image');if(_0x2ccad8)_0x4f5ca7[_0xd8fd26(_0x58b9f8._0x1345e1,0x797,0x6e5,0x7ff)][_0x558ff4(_0x58b9f8._0x1f8a4f,_0x58b9f8._0x308214,0x4d4,_0x58b9f8._0x250383)]('dateRestrict',_0x2ccad8);const _0x7fbb9c=await fetchJson(_0x4f5ca7[_0xd8fd26(0x436,0x4f8,0x40d,_0x58b9f8._0x1ca475)](),_0x20c2cf),_0x22f3f0=_0x7fbb9c[_0xd8fd26(_0x58b9f8._0x5d9bb6,_0x58b9f8._0x28d3b9,0x589,_0x58b9f8._0x4b5d2e)]??[];if(_0x22f3f0['length']===0x0)break;const _0x43d40a=_0x20b6cd;for(let _0x515824=0x0;_0x515824<_0x22f3f0[_0xd8fd26(_0x58b9f8._0x488e33,0x889,_0x58b9f8._0x2f9ba4,0x7e5)];_0x515824++){const _0x540a4b=_0x22f3f0[_0x515824];if(!_0x540a4b)continue;const _0x427134=_0x540a4b['link']||_0x540a4b[_0x558ff4(_0x58b9f8._0x274a04,_0x58b9f8._0x514ed2,_0x58b9f8._0x1c50c9,0x580)]?.['contextLink']||'',_0x3cf007=_0x540a4b['title']||_0x540a4b[_0x558ff4(0x56b,0x486,_0x58b9f8._0x5614e7,0x3c6)]?.[_0xd8fd26(0x597,_0x58b9f8._0x4d2c60,_0x58b9f8._0x1217da,_0x58b9f8._0x161f1)]||'Untitled',_0x727582=_0x540a4b['snippet']||_0x540a4b['htmlSnippet']?.[_0x558ff4(0x50a,_0x58b9f8._0x1e1e26,_0x58b9f8._0x5818af,_0x58b9f8._0xc6811f)](/<[^>]+>/g,''),_0x527984=_0x540a4b[_0x558ff4(_0x58b9f8._0x1c5d53,_0x58b9f8._0x460d67,0x5f1,0x729)]?.[_0xd8fd26(_0x58b9f8._0x2a44a5,0x652,0x5f8,0x5c7)]?.[0x0]??{};let _0x520955;try{_0x520955=new URL(_0x427134)[_0xd8fd26(0x4ab,0x621,_0x58b9f8._0xb88bd,_0x58b9f8._0x455b70)];}catch{_0x520955=null;}_0x18965a[_0x558ff4(_0x58b9f8._0x59ed60,_0x58b9f8._0x267450,_0x58b9f8._0x25a9ae,0x4b8)]({'title':_0x3cf007,'url':normalizeUrl(_0x427134),'snippet':_0x727582??null,'displayUrl':_0x520955,'favicon':null,'publishedAt':_0x527984[_0xd8fd26(_0x58b9f8._0x1693c7,0x48b,0x523,0x61c)]||_0x527984[_0x558ff4(0x597,0x418,0x52d,_0x58b9f8._0x288d84)]||null,'source':{'engine':'google-cse','rank':_0x43d40a+_0x515824+0x1}});}_0x20b6cd+=_0x22f3f0[_0xd8fd26(_0x58b9f8._0x1c9d42,_0x58b9f8._0x4b040f,_0x58b9f8._0x50adc5,_0x58b9f8._0x35ca01)],_0x536a09+=_0x22f3f0[_0x558ff4(0x7ed,_0x58b9f8._0x29bdc3,_0x58b9f8._0x68be5a,_0x58b9f8._0x32bc59)];if(_0x22f3f0[_0xd8fd26(_0x58b9f8._0x44bae9,_0x58b9f8._0x2de9ad,_0x58b9f8._0x586f02,_0x58b9f8._0x382068)]<_0x4fed50)break;}function _0xd8fd26(_0x48ef82,_0x352421,_0x31b539,_0x488567){return _0x5da4fe(_0x31b539-_0x3dd51._0x4baacf,_0x352421-_0x3dd51._0x45210b,_0x352421,_0x488567-0xc5);}return _0x18965a[_0xd8fd26(0x547,_0x58b9f8._0x514ed2,0x525,0x562)](0x0,_0x33db2d);}function isGoogleCseEngine(_0x33da9a){const _0x2c745c={_0x21b5b7:0x5e5};function _0x2bc62a(_0xa74e0b,_0x152d62,_0x2ca6e9,_0x2d4e31){return _0x2389b1(_0xa74e0b-0xf4,_0x152d62-0x78,_0xa74e0b,_0x152d62- -0x161);}return _0x2bc62a(0x47d,0x5ac,_0x2c745c._0x21b5b7,0x5e4)in _0x33da9a;}function isOllamaEngine(_0x44f139){const _0x2864b5={_0x4dcc92:0x854},_0x409b9a={_0x58b88f:0x10c,_0x5eb6bf:0xe9,_0x135c32:0x47};function _0xa443cf(_0x3f86ca,_0x164b3c,_0x2512d8,_0x56ee66){return _0x2389b1(_0x3f86ca-_0x409b9a._0x58b88f,_0x164b3c-_0x409b9a._0x5eb6bf,_0x56ee66,_0x164b3c- -_0x409b9a._0x135c32);}return _0xa443cf(_0x2864b5._0x4dcc92,0x796,0x7bb,0x8e5)in _0x44f139;}function isTavilyEngine(_0x30e45e){const _0x105a4b={_0x4757e8:0x26e,_0x546c26:0x413,_0x502f05:0x357},_0xf820b1={_0x531828:0x197};function _0x521bb6(_0x479e94,_0x85e6e7,_0x215548,_0x3b37cf){return _0x2389b1(_0x479e94-0x45,_0x85e6e7-_0xf820b1._0x531828,_0x3b37cf,_0x479e94- -0x302);}return _0x521bb6(_0x105a4b._0x4757e8,0x29e,_0x105a4b._0x546c26,_0x105a4b._0x502f05)in _0x30e45e;}function createWebSearchTool(_0x2418a8){const _0x438d40={_0x43508d:0x1c0,_0x3de62e:0x26e,_0x58f445:0x206,_0xf08119:0x1cd,_0xa5643b:0x92b,_0x162b61:0x75a,_0x5e2ca3:0x139,_0x1eb48b:0x165,_0x2d17dc:0x51,_0x5945e9:0xa6,_0x33021c:0x7cb,_0x543a1c:0x1ef,_0x4839ad:0x29f,_0x406d5e:0x1cf,_0x12628c:0x1ae,_0x2305f3:0x9,_0x45adac:0x6a,_0x430a8c:0x5d4,_0x5369d1:0x929,_0xa26194:0x18f,_0x37d65d:0x1b6,_0x58c82a:0x10c,_0x50ae09:0x65,_0x4e4893:0x16d,_0x4b764f:0x11a,_0x2a8730:0x686,_0x21fc4e:0x5fb,_0x3399c8:0x646,_0x418687:0x85f,_0x14173f:0x771,_0x983441:0x66a,_0x46ee60:0x5fb,_0x504662:0x5fd,_0x1512da:0x5bc,_0x52b4f8:0x493,_0xd42a55:0x6ec,_0x44dbdd:0x4ff,_0x562454:0x52a},_0x1ec561={_0x1ba5ab:0x385,_0x13b479:0x36a,_0x2fc2a0:0x2a4,_0x570f64:0x2aa,_0x1298a2:0x265,_0x3a5941:0x35e,_0x48cc5a:0x315,_0xd44154:0x331,_0x2924bd:0x1ab,_0x16ee25:0x246,_0x5a85a0:0x15b,_0x246363:0x2bd,_0x57587d:0x3a5,_0x42d3ed:0x2db,_0x5489a7:0x3e0,_0x3ffd15:0x336,_0x183d5b:0x194,_0x5d3701:0x35e,_0x31d746:0x3f1,_0x249f74:0x2d7,_0x2e7f75:0x333,_0x1d6edd:0x30,_0x883f3b:0x1f1,_0x2e9ed3:0x257,_0x48aa21:0x29b,_0x12ae93:0x3d5,_0x3818f9:0x2d6,_0x5cfb95:0x323,_0x591d75:0x2d2,_0x18f4da:0x17f,_0xa6e628:0x18e,_0x389717:0x2c0,_0x40dc2c:0x2f2,_0x30d41c:0x445,_0x40bb9c:0x3b8,_0x13af03:0x43a,_0x1ccfc7:0x234,_0x4924fc:0x3d,_0x35f891:0x255,_0x4a0080:0x191,_0x60d248:0x7,_0x51af9d:0x347,_0x8a71e4:0xa3,_0x6e166a:0x366,_0xd79039:0x5b6,_0x3b9382:0x3d3,_0x3c1a95:0x354,_0x8ab08b:0x266,_0x509589:0x507,_0x268e30:0x654,_0x1c64bb:0x398,_0x2f0ce3:0x520,_0x4a239f:0x3d2,_0x6ef5ef:0x2df,_0x12b808:0x341,_0xa7ea11:0x2da,_0x4c76b9:0x3b2,_0x36f89a:0x284,_0x26c3af:0x2d7,_0x2b55e8:0x290,_0x1aff22:0x3de,_0x524dc1:0x326,_0x24109b:0x53c,_0x955695:0xda,_0x12c32b:0x283,_0x427284:0x354,_0x3037b8:0x6e,_0x3946fa:0x4f2,_0x5c20fb:0x639,_0x5a2b40:0x4c2,_0x41bd3e:0x2ef,_0x44e037:0x230,_0xbcef5:0x3cb,_0x353c0c:0x2ef,_0xc2a0a2:0x26f,_0x17e6d3:0x3c8,_0x3abb01:0x254,_0x311db6:0x3e3,_0x4c735c:0x364,_0x28a18d:0x304,_0x19e655:0x16a,_0x52698d:0x32a,_0x2b7c15:0x186,_0x23cbb8:0x310,_0x5371a1:0x3be,_0x21b667:0x107,_0xe08a70:0x4f1},_0xbf64f8={_0x7dea3e:0x1ed,_0x27f35c:0x137},_0x4ecabf={_0x6deb5a:0xf1},_0x44740c={_0x3a83be:0x191};if(!_0x2418a8['engines']||_0x2418a8[_0x13f75e(0x335,0x276,0xda,0x19b)][_0x13f75e(_0x438d40._0x43508d,_0x438d40._0x3de62e,_0x438d40._0x58f445,_0x438d40._0xf08119)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x13f75e(_0x38666f,_0x2f3cb7,_0x452fec,_0x27235a){return _0x2389b1(_0x38666f-_0x44740c._0x3a83be,_0x2f3cb7-0x4f,_0x38666f,_0x27235a- -0x64f);}const _0x42a075=_0x2418a8[_0xcdea8e(_0x438d40._0xa5643b,0x7ca,0x7a8,_0x438d40._0x162b61)]??_0x13f75e(_0x438d40._0x5e2ca3,_0x438d40._0x1eb48b,-_0x438d40._0x2d17dc,_0x438d40._0x5945e9),_0x3f2e7c=_0x2418a8[_0xcdea8e(0x6df,_0x438d40._0x33021c,0x71b,0x716)];function _0xcdea8e(_0x119439,_0x32ba85,_0x56041c,_0x34d1d1){return _0x2389b1(_0x119439-0x16a,_0x32ba85-_0x4ecabf._0x6deb5a,_0x34d1d1,_0x56041c-0x16);}return defineTool({'name':_0x42a075,'permissionClass':_0x13f75e(-0x15d,0x3e,-0x3a,0x1a),'description':_0x13f75e(-0xb1,-_0x438d40._0x543a1c,-_0x438d40._0x4839ad,-0x14f),'inputSchema':{'type':'object','properties':{'description':{'type':_0x13f75e(0xd0,-0x163,0x88,-0x6a)},'query':{'type':_0x13f75e(-_0x438d40._0x406d5e,-_0x438d40._0x12628c,-_0x438d40._0x2305f3,-_0x438d40._0x45adac)},'count':{'type':_0xcdea8e(_0x438d40._0x430a8c,0x8cb,0x771,_0x438d40._0x5369d1)},'offset':{'type':_0x13f75e(_0x438d40._0xa26194,0x131,_0x438d40._0x37d65d,_0x438d40._0x58c82a)},'domains':{'type':_0x13f75e(_0x438d40._0x50ae09,-_0x438d40._0x4e4893,-0x230,-_0x438d40._0x4b764f),'items':{'type':_0xcdea8e(_0x438d40._0x2a8730,0x77c,_0x438d40._0x21fc4e,_0x438d40._0x3399c8)}},'recencyDays':{'type':_0xcdea8e(_0x438d40._0x418687,0x67e,_0x438d40._0x14173f,_0x438d40._0x983441)},'lang':{'type':'string'},'region':{'type':_0xcdea8e(0x77c,0x5fe,_0x438d40._0x46ee60,0x450)},'safe':{'type':_0xcdea8e(0x572,_0x438d40._0x504662,_0x438d40._0x1512da,0x50c)},'type':{'type':_0xcdea8e(0x79f,0x782,0x5fb,_0x438d40._0x52b4f8)},'hydrateMeta':{'type':_0xcdea8e(_0x438d40._0xd42a55,_0x438d40._0x44dbdd,_0x438d40._0x1512da,0x3fb)}},'required':[_0xcdea8e(0x692,0x558,0x604,_0x438d40._0x562454)]},async *'execute'(_0x54f2d6,_0x4ba571){const _0xedf20b={_0x52b707:0x129},_0x3dad9d={_0x17afa8:0x542,_0x2eb2ce:0x724,_0x42f402:0xb8,_0x184c7a:0x723,_0x52cc27:0x553,_0x3991e3:0x82b,_0x345e1c:0x2a7,_0x5d7749:0x2a7,_0x1b03ed:0x2da},_0x49ca2d={_0x410dac:0x302,_0x22e80d:0x120,_0x520238:0x16e},_0x21e9a2=_0x54f2d6[_0x105c7e(0x2d9,0x251,_0x1ec561._0x1ba5ab,_0x1ec561._0x13b479)][_0x105c7e(0x2c5,0x354,0x1ad,_0x1ec561._0x2fc2a0)]();if(!_0x21e9a2)throw new ToolExecutionError(_0x105c7e(_0x1ec561._0x570f64,0x319,0x178,_0x1ec561._0x1298a2));const _0x4cd933={'query':_0x21e9a2,'count':Math['max'](0x1,Math['min'](0x32,Math[_0x105c7e(_0x1ec561._0x3a5941,0x36a,_0x1ec561._0x48cc5a,_0x1ec561._0xd44154)](_0x54f2d6[_0x440ab0(0x1ca,_0x1ec561._0x2924bd,_0x1ec561._0x16ee25,0x375)]??0xa))),'offset':Math['max'](0x0,Math[_0x440ab0(_0x1ec561._0x5a85a0,_0x1ec561._0x246363,-0x3e,0x23)](_0x54f2d6[_0x105c7e(0x42e,_0x1ec561._0x57587d,_0x1ec561._0x42d3ed,_0x1ec561._0x5489a7)]??0x0)),'domains':_0x54f2d6['domains']??[],'recencyDays':Math[_0x105c7e(_0x1ec561._0x3ffd15,_0x1ec561._0x183d5b,0x19a,0x2bf)](0x0,Math[_0x105c7e(_0x1ec561._0x5d3701,0x1c6,0x308,0x338)](_0x54f2d6[_0x440ab0(0x2ef,0x2ea,_0x1ec561._0x31d746,0x299)]??0x0)),'lang':_0x54f2d6['lang']??'en','region':_0x54f2d6[_0x440ab0(0x1c5,_0x1ec561._0x249f74,_0x1ec561._0x2e7f75,0x4)]??'','safe':_0x54f2d6[_0x440ab0(0x1b0,0x2f4,_0x1ec561._0x1d6edd,_0x1ec561._0x883f3b)]??!![],'type':normalizeType(_0x54f2d6[_0x105c7e(0x339,0x39b,_0x1ec561._0x2e9ed3,_0x1ec561._0x246363)]),'hydrateMeta':_0x54f2d6[_0x440ab0(0x245,_0x1ec561._0x48aa21,0x1d3,_0x1ec561._0x12ae93)]??![]};function _0x440ab0(_0x2b597f,_0x316e9c,_0x491212,_0x44fbca){return _0x13f75e(_0x44fbca,_0x316e9c-_0xbf64f8._0x7dea3e,_0x491212-0x112,_0x2b597f-_0xbf64f8._0x27f35c);}let _0x409c17=[],_0x412b7a=_0x105c7e(0x37e,_0x1ec561._0x3818f9,_0x1ec561._0x5cfb95,0x4de);for(const _0x36ae77 of _0x2418a8[_0x440ab0(_0x1ec561._0x591d75,0x372,0x18d,0x2d0)]){try{if(isGoogleCseEngine(_0x36ae77))_0x409c17=await searchGoogleCse(_0x36ae77,_0x4cd933,_0x4ba571[_0x440ab0(0xbd,_0x1ec561._0x18f4da,_0x1ec561._0xa6e628,-0x5a)]),_0x412b7a='google-cse';else{if(isOllamaEngine(_0x36ae77)){const _0x1a85d7=await searchOllama(_0x36ae77,_0x4cd933,_0x4ba571[_0x105c7e(_0x1ec561._0x389717,0x2ae,_0x1ec561._0x40dc2c,_0x1ec561._0x30d41c)]);_0x409c17=_0x1a85d7[_0x105c7e(0x394,_0x1ec561._0x40bb9c,_0x1ec561._0x13af03,_0x1ec561._0x5cfb95)],_0x412b7a=_0x1a85d7[_0x440ab0(_0x1ec561._0x1ccfc7,0x184,0xf3,0x14d)];}else{if(isTavilyEngine(_0x36ae77)){const _0x515d05=await searchTavily(_0x36ae77,_0x4cd933,_0x4ba571[_0x440ab0(0xbd,_0x1ec561._0x4924fc,0x171,_0x1ec561._0x35f891)]);_0x409c17=_0x515d05[_0x440ab0(_0x1ec561._0x4a0080,_0x1ec561._0x60d248,_0x1ec561._0x51af9d,0x32f)],_0x412b7a=_0x515d05[_0x440ab0(_0x1ec561._0x1ccfc7,_0x1ec561._0x8a71e4,_0x1ec561._0x6e166a,0x3eb)];}}}if(_0x409c17[_0x105c7e(0x507,0x3f5,_0x1ec561._0xd79039,_0x1ec561._0x3b9382)]>0x0)break;}catch(_0x28873d){if(_0x36ae77===_0x2418a8['engines'][_0x2418a8[_0x440ab0(0x2d2,_0x1ec561._0x3c1a95,_0x1ec561._0x8ab08b,0x47a)][_0x105c7e(_0x1ec561._0x509589,0x642,_0x1ec561._0x268e30,0x44d)]-0x1])throw _0x28873d;}}_0x4cd933['hydrateMeta']&&_0x409c17['length']>0x0&&(_0x409c17=await hydrateResults(_0x409c17,_0x4cd933[_0x105c7e(_0x1ec561._0x1c64bb,0x4c5,_0x1ec561._0x2f0ce3,_0x1ec561._0x4a239f)],_0x4ba571[_0x105c7e(_0x1ec561._0x389717,_0x1ec561._0x6ef5ef,0x3c6,_0x1ec561._0x12b808)],_0x3f2e7c));const _0x303b44=new Set();_0x409c17=_0x409c17[_0x440ab0(_0x1ec561._0xa7ea11,_0x1ec561._0x4c76b9,0x3c9,_0x1ec561._0x36f89a)](_0x702dac=>{function _0x3d52d0(_0x196090,_0x2a4aa4,_0x527d42,_0x1f8815){return _0x440ab0(_0x196090- -0xe9,_0x2a4aa4-0xdc,_0x527d42-0x1db,_0x1f8815);}function _0xf291a6(_0x5272bf,_0x397590,_0x4d05ed,_0x16a19f){return _0x105c7e(_0x5272bf-_0x49ca2d._0x410dac,_0x397590-_0x49ca2d._0x22e80d,_0x16a19f,_0x16a19f-_0x49ca2d._0x520238);}const _0x5b2651=_0x702dac[_0xf291a6(0x65c,0x543,_0x3dad9d._0x17afa8,_0x3dad9d._0x2eb2ce)][_0x3d52d0(0x7d,0x16d,0xc7,_0x3dad9d._0x42f402)]();if(!_0x5b2651||_0x303b44[_0xf291a6(0x6ed,_0x3dad9d._0x184c7a,_0x3dad9d._0x52cc27,_0x3dad9d._0x3991e3)](_0x5b2651))return![];return _0x303b44[_0x3d52d0(0x228,_0x3dad9d._0x345e1c,_0x3dad9d._0x5d7749,_0x3dad9d._0x1b03ed)](_0x5b2651),!![];}),_0x409c17=_0x409c17[_0x105c7e(_0x1ec561._0x26c3af,0x323,0x31a,0x3d2)]((_0x25de0e,_0x58e919)=>({..._0x25de0e,'source':{..._0x25de0e[_0x105c7e(0x35d,0x33b,0x49c,0x50e)],'rank':_0x58e919+0x1}}));const _0x38434f={};if(_0x4cd933[_0x105c7e(0x3c2,_0x1ec561._0x2b55e8,_0x1ec561._0x1aff22,_0x1ec561._0x524dc1)][_0x105c7e(_0x1ec561._0x509589,0x4d7,0x6a4,_0x1ec561._0x24109b)]>0x0)_0x38434f[_0x440ab0(0x1bf,_0x1ec561._0x955695,_0x1ec561._0x12c32b,0x9b)]=_0x4cd933[_0x440ab0(0x1bf,_0x1ec561._0x427284,_0x1ec561._0x3037b8,0x25b)];if(_0x4cd933[_0x105c7e(_0x1ec561._0x3946fa,_0x1ec561._0x5c20fb,_0x1ec561._0x5a2b40,0x45d)]>0x0)_0x38434f[_0x440ab0(_0x1ec561._0x41bd3e,0x251,_0x1ec561._0x44e037,_0x1ec561._0xbcef5)]=_0x4cd933[_0x440ab0(_0x1ec561._0x353c0c,0x306,0x2b9,0x376)];function _0x105c7e(_0x2397eb,_0x4627e7,_0x190cb8,_0x283dea){return _0xcdea8e(_0x2397eb-_0xedf20b._0x52b707,_0x4627e7-0xc,_0x2397eb- -0x32b,_0x190cb8);}if(_0x4cd933['lang']!=='en')_0x38434f[_0x105c7e(0x398,_0x1ec561._0xc2a0a2,0x544,0x27d)]=_0x4cd933['lang'];if(_0x4cd933[_0x105c7e(_0x1ec561._0x17e6d3,_0x1ec561._0x3abb01,0x397,_0x1ec561._0x311db6)])_0x38434f['region']=_0x4cd933[_0x440ab0(0x1c5,_0x1ec561._0x4c735c,0x2e0,0x226)];return yield createToolOutput(formatResults(_0x409c17),{'engine':_0x412b7a,'count':_0x409c17[_0x440ab0(_0x1ec561._0x28a18d,_0x1ec561._0x19e655,0x386,_0x1ec561._0x52698d)],'items':_0x409c17,'query':_0x4cd933['query'],...Object[_0x440ab0(0x1c8,0x217,_0x1ec561._0x2b7c15,0x2ad)](_0x38434f)[_0x440ab0(_0x1ec561._0x28a18d,0x144,0x238,_0x1ec561._0x23cbb8)]>0x0?{'appliedFilters':_0x38434f}:{},'offset':_0x4cd933[_0x440ab0(0x22b,_0x1ec561._0x5371a1,0x169,_0x1ec561._0x21b667)],'totalRequested':_0x4cd933[_0x105c7e(0x3cd,0x3ea,0x3fe,_0x1ec561._0xe08a70)],'hydrated':_0x4cd933['hydrateMeta']}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,extractOwnedMcpSafeError,filepath,files,isProbablyBinary,isTerminalStatus,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,sha256Bytes,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};
|