@nuvin/agent-core 0.2.0-rc.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-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} +2 -2
- 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} +5 -5
- 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} +5 -5
- 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(_0x4c37a2,_0x38c417){const _0x580ad2={_0x1893e2:0x357,_0x2996f1:0x2c4,_0x291a4b:0x27a,_0x3796fd:0x34b,_0x404b8a:0x482,_0x27baae:0x3c4,_0x3d107d:0x601,_0x5101fc:0x757,_0x551af5:0x39f,_0x3ab180:0x1f1,_0xfcf0e7:0x2b7,_0x313e33:0x194,_0x5c3df0:0x309,_0x47f480:0x11a,_0x3542f4:0x49a,_0x5be934:0x5bf,_0x2b7c51:0x2e5,_0x19d15f:0x1ab,_0x450c7d:0x2d8,_0x373954:0x4d1,_0x10c408:0x4b1,_0x2b9b44:0x423,_0x155713:0x304,_0x4a6fe0:0xe2},_0xd74860={_0x52166e:0x20};function _0x4be177(_0x4366f3,_0x2c6813,_0x30aaa9,_0x386c43){return _0x8662(_0x2c6813- -0x1cf,_0x386c43);}function _0x12851c(_0x17d61b,_0x216c34,_0x3f4e73,_0x55c09b){return _0x8662(_0x17d61b-_0xd74860._0x52166e,_0x216c34);}const _0x4e5789=_0x4c37a2();while(!![]){try{const _0x5551e5=-parseInt(_0x12851c(0x325,_0x580ad2._0x1893e2,_0x580ad2._0x2996f1,_0x580ad2._0x291a4b))/0x1+-parseInt(_0x12851c(_0x580ad2._0x3796fd,_0x580ad2._0x404b8a,0x423,_0x580ad2._0x27baae))/0x2*(parseInt(_0x12851c(_0x580ad2._0x3d107d,0x4ea,_0x580ad2._0x5101fc,0x575))/0x3)+parseInt(_0x12851c(_0x580ad2._0x551af5,_0x580ad2._0x3ab180,0x1e8,_0x580ad2._0xfcf0e7))/0x4+parseInt(_0x4be177(_0x580ad2._0x313e33,_0x580ad2._0x5c3df0,_0x580ad2._0x47f480,0x2fa))/0x5+-parseInt(_0x12851c(_0x580ad2._0x3542f4,0x320,_0x580ad2._0x5be934,_0x580ad2._0x2b7c51))/0x6*(parseInt(_0x4be177(0x21b,_0x580ad2._0x19d15f,0x213,_0x580ad2._0x450c7d))/0x7)+parseInt(_0x4be177(0xc6,0x80,-0x15a,0x3a))/0x8+parseInt(_0x12851c(_0x580ad2._0x373954,_0x580ad2._0x10c408,0x53e,0x4a1))/0x9*(parseInt(_0x4be177(_0x580ad2._0x2b9b44,_0x580ad2._0x155713,_0x580ad2._0x4a6fe0,0x23a))/0xa);if(_0x5551e5===_0x38c417)break;else _0x4e5789['push'](_0x4e5789['shift']());}catch(_0x473858){_0x4e5789['push'](_0x4e5789['shift']());}}}(_0x4cbe,0xb25b6));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-KIIEBXJF.js';import'../chunk-GAZGO6N7.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';function _0x8662(_0x5d2ced,_0x5d7f53){_0x5d2ced=_0x5d2ced-0x1f3;const _0x4cbe00=_0x4cbe();let _0x866204=_0x4cbe00[_0x5d2ced];if(_0x8662['YBbbtb']===undefined){var _0x89766a=function(_0xd498d9){const _0x2f5ab3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x33244f='',_0x5b5699='';for(let _0x2f40db=0x0,_0x55d1ae,_0xd1eee6,_0x1924bd=0x0;_0xd1eee6=_0xd498d9['charAt'](_0x1924bd++);~_0xd1eee6&&(_0x55d1ae=_0x2f40db%0x4?_0x55d1ae*0x40+_0xd1eee6:_0xd1eee6,_0x2f40db++%0x4)?_0x33244f+=String['fromCharCode'](0xff&_0x55d1ae>>(-0x2*_0x2f40db&0x6)):0x0){_0xd1eee6=_0x2f5ab3['indexOf'](_0xd1eee6);}for(let _0x2ad1ec=0x0,_0x2679ea=_0x33244f['length'];_0x2ad1ec<_0x2679ea;_0x2ad1ec++){_0x5b5699+='%'+('00'+_0x33244f['charCodeAt'](_0x2ad1ec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5b5699);};_0x8662['KInfjg']=_0x89766a,_0x8662['mgJcLo']={},_0x8662['YBbbtb']=!![];}const _0x4340ea=_0x4cbe00[0x0],_0xeea0f5=_0x5d2ced+_0x4340ea,_0x3a0a72=_0x8662['mgJcLo'][_0xeea0f5];return!_0x3a0a72?(_0x866204=_0x8662['KInfjg'](_0x866204),_0x8662['mgJcLo'][_0xeea0f5]=_0x866204):_0x866204=_0x3a0a72,_0x866204;}import _0x33244f from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x5b2413(0x581,0x4df,0x608,0x56e),'.tsx':_0x5b2413(0x613,0x4d4,0x571,0x711),'.js':_0x5b2413(0x72a,0x667,0x7e5,0x840),'.jsx':_0x28bc81(0x32c,0x40f,0x2a8,0x14e),'.mjs':_0x28bc81(0x54e,0x4b0,0x446,0x3fd),'.cjs':_0x5b2413(0x932,0x877,0x7e5,0x785),'.mts':_0x5b2413(0x508,0x3fd,0x608,0x51b),'.cts':'typescript','.json':_0x5b2413(0x6b8,0x7de,0x6b2,0x51c),'.jsonc':_0x28bc81(0x2ac,0x365,0x32e,0x230)};function getLanguageId(_0x7ec4b0){const _0x299249={_0x497367:0x4c,_0x2dffd5:0x42,_0x36ded5:0x16b,_0x5aa19c:0x13},_0x54c522={_0x259b2f:0x127,_0x1fbf02:0x2cf},_0x29880b={_0x27ea06:0xf6,_0x57b634:0x16f};function _0x257201(_0x2bde3,_0xe93613,_0x18c79b,_0x445a39){return _0x28bc81(_0x2bde3-_0x29880b._0x27ea06,_0xe93613-_0x29880b._0x57b634,_0xe93613- -0x2dd,_0x445a39);}function _0x331ea1(_0x3b820d,_0x4e138d,_0x73bfdc,_0x51d2a7){return _0x28bc81(_0x3b820d-0xb1,_0x4e138d-_0x54c522._0x259b2f,_0x4e138d-_0x54c522._0x1fbf02,_0x51d2a7);}return EXTENSION_TO_LANGUAGE[_0x33244f[_0x257201(-0xd5,-_0x299249._0x497367,0x38,-_0x299249._0x2dffd5)](_0x7ec4b0)[_0x257201(-_0x299249._0x36ded5,0x99,0x243,_0x299249._0x5aa19c)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x2f3d5b){const _0x33d4c2={_0x52d42e:0xbc},_0x524533={_0x5bc4c7:0x6d7};function _0x1f630e(_0x41d216,_0x13495f,_0x3ea4a0,_0x1ebe9d){return _0x5b2413(_0x41d216-0xd7,_0x13495f-0x51,_0x41d216- -_0x524533._0x5bc4c7,_0x3ea4a0);}return pathToFileURL(_0x2f3d5b)[_0x1f630e(0x68,-_0x33d4c2._0x52d42e,-0x65,-0x1ac)]();}function textDocumentPosition(_0x347484){const _0x395a32={_0x10afb7:0x56b,_0x36c951:0x46f,_0x27726e:0x2bf,_0x2f554c:0x27e,_0x272747:0x369,_0x16b90c:0x48,_0x449cbd:0x243,_0x2d2170:0x197};function _0x2a9521(_0x27c6cf,_0x1cdae3,_0x27c3a7,_0x54d4f2){return _0x28bc81(_0x27c6cf-0x66,_0x1cdae3-0x132,_0x54d4f2- -0x2a5,_0x27c3a7);}function _0xcceae7(_0x1a9878,_0x5d47b9,_0x276589,_0x22692f){return _0x28bc81(_0x1a9878-0x19b,_0x5d47b9-0xb6,_0x1a9878-0xe5,_0x5d47b9);}return{'textDocument':{'uri':uriForPath(_0x347484[_0xcceae7(_0x395a32._0x10afb7,0x6b9,0x6f6,0x43d)])},'position':{'line':_0x347484[_0x2a9521(_0x395a32._0x36c951,_0x395a32._0x27726e,_0x395a32._0x2f554c,_0x395a32._0x272747)],'character':_0x347484[_0x2a9521(-_0x395a32._0x16b90c,0x21a,_0x395a32._0x449cbd,_0x395a32._0x2d2170)]}};}function normalizeLocations(_0x46cd05){if(!_0x46cd05)return[];return Array['isArray'](_0x46cd05)?_0x46cd05:[_0x46cd05];}async function withLspTimeout(_0x12a793,_0x4078cd,_0x46c626){const _0x409183={_0xf0ca33:0x5bf,_0x3d2501:0x618,_0x5648b2:0x56c,_0x1d8e12:0x298,_0x15ad08:0x446},_0x5859b0={_0x275034:0x2d0,_0xbe1815:0x713,_0x3b0f2a:0x730},_0x11fb5e={_0x3b4f16:0x6f,_0x1f168c:0x25c};function _0x485823(_0x4c5897,_0x3d13d8,_0x4c5001,_0x1a8bc5){return _0x28bc81(_0x4c5897-0xab,_0x3d13d8-_0x11fb5e._0x3b4f16,_0x4c5001- -_0x11fb5e._0x1f168c,_0x3d13d8);}if(!Number[_0x3c2874(0x6b2,0x536,_0x409183._0xf0ca33,0x709)](_0x4078cd)||_0x4078cd<0x1)throw new Error(_0x3c2874(_0x409183._0x3d2501,0x464,0x433,_0x409183._0x5648b2)+_0x46c626+':\x20expected\x20a\x20positive\x20number');function _0x3c2874(_0x591156,_0x207c81,_0x1de5b8,_0x3da18b){return _0x5b2413(_0x591156-0x7b,_0x207c81-0x1e4,_0x591156- -0x1f0,_0x1de5b8);}let _0x5744da;try{return await Promise[_0x3c2874(0x3ab,_0x409183._0x1d8e12,0x4d9,_0x409183._0x15ad08)]([_0x12a793,new Promise((_0x40cfb4,_0x1b6087)=>{_0x5744da=setTimeout(()=>{function _0x675c62(_0x44b999,_0xb68772,_0x1efdd5,_0x521cf0){return _0x8662(_0x1efdd5-0x3a3,_0xb68772);}function _0x1eb7ce(_0x305f38,_0x15ba0d,_0xd52450,_0x5e0717){return _0x8662(_0x5e0717- -0x28,_0x305f38);}_0x1b6087(new Error('LSP\x20'+_0x46c626+_0x1eb7ce(0x4d4,0x42d,_0x5859b0._0x275034,0x470)+_0x4078cd+_0x675c62(_0x5859b0._0xbe1815,0x772,_0x5859b0._0x3b0f2a,0x951)));},_0x4078cd);})]);}finally{if(_0x5744da!==void 0x0)clearTimeout(_0x5744da);}}async function createLspClient(_0x1b3a9a){const _0x579b06={_0x115a53:0x9bc,_0x53093e:0x602,_0x166006:0x647,_0x26b306:0x5bd,_0x1483a1:0x5c4,_0x3ff420:0x7b2,_0x1350bd:0x8e4,_0x476f9b:0x483,_0x26dedd:0x274,_0x48acf5:0x1e7,_0x3bd1d1:0x3e3,_0xa6c323:0x522,_0x2ad215:0x53a,_0x441ed7:0x1f2,_0x3b3a42:0x483,_0x5a91f3:0x1ea,_0x525d2d:0x18b,_0x2775ea:0x13c,_0x46bd9b:0x51e,_0xef1626:0x425,_0xbd3b03:0x566,_0x318376:0x8a0,_0x1d04cf:0x966,_0x4d2fc3:0x546,_0x592eb8:0x50d,_0x5ecec1:0x6bc,_0x58544a:0x1b8,_0x17f1fe:0x389,_0x402d68:0x852,_0x535d0e:0x7b9,_0x317f83:0x83a,_0x1efab4:0x5f,_0x2c922c:0x929,_0x273cf5:0x868,_0x5eb0b3:0xa46,_0x1ad6dc:0x3db,_0xee5e25:0x45e,_0x5a90c2:0x248,_0x274502:0x4cf,_0x3b1d04:0x5b4,_0x41cf64:0x3fa,_0x2f6bf3:0x6ea,_0x22964c:0x649,_0x2a5b24:0x7f2,_0x3005f5:0x21d,_0x4f455d:0x272,_0x404943:0x653,_0x300cde:0x6a8,_0x5e9568:0x52a,_0x3f9431:0x546,_0x417718:0x369,_0xb5f255:0x65c,_0x590232:0x75a},_0x4ece0e={_0x1c6490:0x2ff,_0x3b78e3:0x11b,_0x1af0cb:0x62,_0x23852b:0xfe,_0x1899bd:0x36e,_0x5055cc:0x373,_0x2d913b:0x4c1,_0x5f07c6:0x168,_0x11ca2e:0x2e,_0x1f4413:0x1db,_0x3036d1:0x1c6,_0x354400:0x332,_0xb920bd:0x2a0,_0x431fb4:0x20b},_0x514afa={_0x10e699:0x5ec},_0x538c39={_0x152d6f:0x2d0,_0x41f50f:0x102},_0x5c9c1b={_0xd45d57:0x1f5,_0x74c7a4:0x2ba,_0x263001:0x125},_0x25ee06={_0x4945fc:0x504,_0x61a968:0x8e,_0x570f73:0x1ed},_0xf84bdf={_0x5c7579:0x385,_0x18ef75:0x5aa,_0x21ba4a:0x565},_0x17af7f={_0x3a9fa4:0x1a7,_0x535884:0x8f},_0x126f68={_0x50a4cd:0x47a,_0x2b5a93:0x54c,_0x35ddea:0x3f7},_0xb57b27={_0x40cb18:0xa0,_0x38304b:0x97},_0x439fd7={_0x3b13cf:0x2cf,_0x22acb2:0x480,_0x449d7e:0x456,_0xba3ec2:0x405},_0x230344={_0x121f42:0x1b3},_0x289617={_0x52b1f9:0x6ee,_0xdf6a96:0x4a2},_0x5990d1={_0x18627d:0x197},_0x2cda05={_0x4f04fe:0x65a,_0x16885f:0x30c},_0x4ea715={_0x1c11a6:0x5ad},_0x5c7a48={_0x20c2a1:0x121},_0x2ae2fc={_0x45c2b3:0x419,_0x43c0a3:0x6b7,_0x598bfa:0x628},_0x505798={_0xc736f7:0x428,_0x469f67:0x38a,_0x5dfcff:0x467,_0x432b57:0x4c4,_0x32d09a:0x61b,_0x470cd0:0x6ef,_0x2621c2:0x7fe},_0x4e1b90={_0x1c2255:0x16c,_0x4831c4:0x168,_0x37e648:0x1bf},_0x15cd5c={_0x435d4b:0x185},_0x5f5c02={_0x2c674f:0x413},_0x291399={_0x52d527:0x335,_0x29e6aa:0x35f,_0x12a7ac:0x4b4,_0x57e37a:0x93c,_0x71fdd1:0x80c,_0x1ce607:0x84c,_0x24dff4:0x11d,_0x4126fb:0xb9,_0x464d77:0x63e,_0x31f8b3:0x84b},_0x20bff7={_0x278e16:0x154};function _0x1cb1a1(_0x5a0e88,_0xd4fb06,_0x559411,_0x470c7b){return _0x28bc81(_0x5a0e88-_0x20bff7._0x278e16,_0xd4fb06-0xef,_0x5a0e88-0x31a,_0x470c7b);}const _0x4dc7f2=_0x1b3a9a[_0x1cb1a1(0x7b2,0x7fe,_0x579b06._0x115a53,0x6b6)][_0x1cb1a1(_0x579b06._0x53093e,0x781,_0x579b06._0x166006,_0x579b06._0x26b306)][_0x3937f2(0x5b1,0x49b,0x2ae,_0x579b06._0x1483a1)],_0x287735=_0x1b3a9a[_0x1cb1a1(_0x579b06._0x3ff420,0x801,0x6eb,_0x579b06._0x1350bd)][_0x3937f2(_0x579b06._0x476f9b,_0x579b06._0x26dedd,_0x579b06._0x48acf5,_0x579b06._0x3bd1d1)][_0x3937f2(0x718,0x543,_0x579b06._0xa6c323,_0x579b06._0x2ad215)];if(!_0x4dc7f2||!_0x287735)throw new Error(_0x3937f2(0x4dc,0x3fb,_0x579b06._0x441ed7,_0x579b06._0x3b3a42));const _0x3baa49=_0x1b3a9a['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x4b64c0=createMessageConnection(new StreamMessageReader(_0x4dc7f2),new StreamMessageWriter(_0x287735)),_0x461e3a=new Map(),_0x18a857=new Map();let _0x4ba97c=![];const _0x533e14=async(_0x3386fb,_0x28b526)=>{return withLspTimeout(_0x4b64c0['sendRequest'](_0x3386fb,_0x28b526),_0x3baa49,_0x3386fb);};_0x4b64c0[_0x3937f2(_0x579b06._0x5a91f3,_0x579b06._0x525d2d,_0x579b06._0x2775ea,0x2ae)](_0x1cb1a1(_0x579b06._0x46bd9b,0x3bc,_0x579b06._0xef1626,_0x579b06._0xbd3b03),_0x1b385e=>{const _0x1dc099={_0x505a96:0xb1,_0xaa20ea:0x8e};function _0x46b1fd(_0x57db7b,_0x3de787,_0x32a730,_0x218b2b){return _0x3937f2(_0x57db7b-_0x1dc099._0x505a96,_0x57db7b- -_0x1dc099._0xaa20ea,_0x3de787,_0x218b2b-0x1b9);}_0x461e3a[_0x46b1fd(_0x291399._0x52d527,0x348,_0x291399._0x29e6aa,0x12a)](_0x1b385e[_0x35ae45(0x41c,0x43f,_0x291399._0x12a7ac,0x4e5)],_0x1b385e[_0x35ae45(_0x291399._0x57e37a,_0x291399._0x71fdd1,0x82d,_0x291399._0x1ce607)]);const _0x2d2ea1=_0x18a857['get'](_0x1b385e[_0x46b1fd(0xf8,_0x291399._0x24dff4,0x1c3,_0x291399._0x4126fb)]);if(!_0x2d2ea1)return;_0x18a857[_0x35ae45(0x933,_0x291399._0x464d77,_0x291399._0x31f8b3,0x7f1)](_0x1b385e['uri']);function _0x35ae45(_0x15d8be,_0x328aad,_0x2b222f,_0xbae04e){return _0x1cb1a1(_0xbae04e- -0x2f,_0x328aad-0x147,_0x2b222f-0x138,_0x328aad);}for(const _0x1387d5 of _0x2d2ea1)_0x1387d5();}),_0x4b64c0['listen']();let _0x51ecfc;try{_0x51ecfc=await _0x533e14('initialize',{'processId':process[_0x1cb1a1(0x8d5,0x7cb,_0x579b06._0x318376,_0x579b06._0x1d04cf)],'rootUri':uriForPath(_0x1b3a9a[_0x1cb1a1(_0x579b06._0x4d2fc3,_0x579b06._0x592eb8,_0x579b06._0x5ecec1,0x5a8)]),'workspaceFolders':[{'uri':uriForPath(_0x1b3a9a[_0x3937f2(0x35a,_0x579b06._0x58544a,0x1c5,_0x579b06._0x17f1fe)]),'name':_0x1b3a9a[_0x1cb1a1(0x653,0x7c9,_0x579b06._0x402d68,_0x579b06._0x535d0e)]['id']}],'initializationOptions':_0x1b3a9a[_0x1cb1a1(0x7b2,_0x579b06._0x317f83,0x8c3,0x6b3)][_0x3937f2(0x3b1,0x1a0,-_0x579b06._0x1efab4,0x22a)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x1cb1a1(0x70b,0x518,_0x579b06._0x2c922c,0x5eb),_0x1cb1a1(_0x579b06._0x273cf5,_0x579b06._0x5eb0b3,0x7b5,0x731)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1b5c37){_0x4b64c0[_0x3937f2(_0x579b06._0x1ad6dc,_0x579b06._0xee5e25,0x2f7,0x46f)](),_0x1b3a9a[_0x3937f2(_0x579b06._0x5a90c2,0x424,_0x579b06._0x274502,_0x579b06._0x3b1d04)]['process'][_0x3937f2(0x4cb,_0x579b06._0x41cf64,0x1e4,0x286)]();throw _0x1b5c37;}_0x4b64c0[_0x1cb1a1(_0x579b06._0x2f6bf3,0x6c2,_0x579b06._0x22964c,_0x579b06._0x2a5b24)](_0x3937f2(_0x579b06._0x3005f5,0x252,_0x579b06._0x4f455d,0x454),{});function _0x3937f2(_0x3c53d7,_0x263dd9,_0x35edae,_0x180ec6){return _0x5b2413(_0x3c53d7-0x2f,_0x263dd9-0x7a,_0x263dd9- -_0x5f5c02._0x2c674f,_0x35edae);}const _0x240740={'serverId':_0x1b3a9a[_0x1cb1a1(_0x579b06._0x404943,_0x579b06._0x300cde,_0x579b06._0x5e9568,0x814)]['id'],'root':_0x1b3a9a[_0x1cb1a1(_0x579b06._0x3f9431,_0x579b06._0x417718,_0x579b06._0xb5f255,0x67f)],'connection':_0x4b64c0,'diagnostics':_0x461e3a,'capabilities':_0x51ecfc[_0x1cb1a1(0x7ff,0x8c7,_0x579b06._0x590232,0x97e)]??{},'notify':{async 'open'({path:_0x3d8f6b}){function _0x179c1a(_0x3d92b5,_0x1ee5f4,_0x48a90d,_0x59f30b){return _0x3937f2(_0x3d92b5-0x8a,_0x48a90d-_0x15cd5c._0x435d4b,_0x1ee5f4,_0x59f30b-0xb8);}function _0x582dd9(_0x5dcb58,_0x4d7725,_0x48eaa1,_0x21ed0a){return _0x3937f2(_0x5dcb58-_0x4e1b90._0x1c2255,_0x48eaa1-_0x4e1b90._0x4831c4,_0x21ed0a,_0x21ed0a-_0x4e1b90._0x37e648);}const _0x3ca8c7=await readFile(_0x3d8f6b,_0x179c1a(0x59e,_0x505798._0xc736f7,_0x505798._0x469f67,0x2ce));_0x4b64c0[_0x582dd9(0x394,_0x505798._0x5dfcff,_0x505798._0x432b57,_0x505798._0x32d09a)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x3d8f6b),'languageId':getLanguageId(_0x3d8f6b)??_0x582dd9(_0x505798._0x470cd0,0x55d,0x642,_0x505798._0x2621c2),'version':0x1,'text':_0x3ca8c7}});},async 'change'({path:_0x8e6496,version:_0x339149}){const _0x32d894={_0x33f08e:0x267,_0x3ce0a4:0x1e9},_0x21c4b4=await readFile(_0x8e6496,'utf8');function _0x51a3ee(_0x4e3eef,_0x50d416,_0x1abc1d,_0x5a23be){return _0x1cb1a1(_0x5a23be- -_0x32d894._0x33f08e,_0x50d416-_0x32d894._0x3ce0a4,_0x1abc1d-0xb0,_0x1abc1d);}_0x4b64c0['sendNotification'](_0x51a3ee(_0x2ae2fc._0x45c2b3,_0x2ae2fc._0x43c0a3,0x6ec,_0x2ae2fc._0x598bfa),{'textDocument':{'uri':uriForPath(_0x8e6496),'version':_0x339149},'contentChanges':[{'text':_0x21c4b4}]});},async 'close'({path:_0x46b817}){_0x4b64c0['sendNotification']('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x46b817)}});}},'request':{async 'definition'(_0x555102){return normalizeLocations(await _0x533e14('textDocument/definition',textDocumentPosition(_0x555102)));},async 'references'(_0xfd2bb1){function _0x140cb3(_0x239a29,_0x57520e,_0x1a31bd,_0x3b042a){return _0x3937f2(_0x239a29-0x7e,_0x3b042a- -_0x5c7a48._0x20c2a1,_0x57520e,_0x3b042a-0xcb);}return normalizeLocations(await _0x533e14(_0x140cb3(0x2e7,_0x4ea715._0x1c11a6,0x271,0x3d8),{...textDocumentPosition(_0xfd2bb1),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x4577bc){const _0x1f078a={_0x329666:0x1f};function _0x5c23a9(_0x2966ff,_0x25e2bb,_0x501b61,_0x3e2963){return _0x3937f2(_0x2966ff-_0x1f078a._0x329666,_0x3e2963-0x89,_0x25e2bb,_0x3e2963-0xc);}return await _0x533e14(_0x5c23a9(_0x2cda05._0x4f04fe,_0x2cda05._0x16885f,0x573,0x516),textDocumentPosition(_0x4577bc))??null;},async 'documentSymbol'(_0x570726){function _0x24dd07(_0x77d43b,_0x474dd5,_0x340eb,_0x56ee31){return _0x3937f2(_0x77d43b-0x1f4,_0x77d43b-_0x5990d1._0x18627d,_0x474dd5,_0x56ee31-0x13a);}return await _0x533e14(_0x24dd07(0x637,_0x289617._0x52b1f9,0x438,_0x289617._0xdf6a96),{'textDocument':{'uri':uriForPath(_0x570726)}})??[];},async 'workspaceSymbol'(_0x5b81f9){function _0x5d21ae(_0xe5abd0,_0x9e075,_0x5631e9,_0x457d1f){return _0x1cb1a1(_0x5631e9- -0x2ab,_0x9e075-0x195,_0x5631e9-_0x230344._0x121f42,_0xe5abd0);}return await _0x533e14(_0x5d21ae(_0x439fd7._0x3b13cf,_0x439fd7._0x22acb2,_0x439fd7._0x449d7e,_0x439fd7._0xba3ec2),{'query':_0x5b81f9})??[];},async 'implementation'(_0x421b52){function _0x1623e1(_0x394744,_0x1cef8c,_0x1217df,_0x542c69){return _0x3937f2(_0x394744-0x74,_0x1217df-_0xb57b27._0x40cb18,_0x542c69,_0x542c69-_0xb57b27._0x38304b);}return normalizeLocations(await _0x533e14(_0x1623e1(_0x126f68._0x50a4cd,_0x126f68._0x2b5a93,0x59c,_0x126f68._0x35ddea),textDocumentPosition(_0x421b52)));},async 'prepareCallHierarchy'(_0x138be3){function _0x1f2371(_0x205256,_0x156963,_0x43e3c8,_0x2220e2){return _0x3937f2(_0x205256-_0x17af7f._0x3a9fa4,_0x2220e2-0x12b,_0x43e3c8,_0x2220e2-_0x17af7f._0x535884);}return await _0x533e14(_0x1f2371(0x63d,0x7b1,0x54f,0x5c1),textDocumentPosition(_0x138be3))??[];},async 'incomingCalls'(_0x2555d9){const _0x1bf7d5={_0x3c310f:0x1a9};function _0x35c2cd(_0x57e432,_0x44a4b7,_0x535427,_0x4d1b44){return _0x1cb1a1(_0x4d1b44-0xc3,_0x44a4b7-0x22,_0x535427-_0x1bf7d5._0x3c310f,_0x535427);}return await _0x533e14(_0x35c2cd(0x89b,0x96b,0xa27,0x972),{'item':_0x2555d9})??[];},async 'outgoingCalls'(_0x49aed6){const _0x39ba93={_0x28e71a:0x5e,_0x12befd:0x115};function _0x54aeb2(_0x472225,_0x137d7e,_0xe444e2,_0x21cc04){return _0x1cb1a1(_0xe444e2- -0x32,_0x137d7e-_0x39ba93._0x28e71a,_0xe444e2-_0x39ba93._0x12befd,_0x472225);}return await _0x533e14(_0x54aeb2(_0xf84bdf._0x5c7579,_0xf84bdf._0x18ef75,0x55a,_0xf84bdf._0x21ba4a),{'item':_0x49aed6})??[];}},'waitForDiagnostics'({path:_0x840c8a,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x20d95b={_0x1890bc:0x8e3},_0x4c6ee0={_0x4445aa:0x1ef};function _0x48eb95(_0x2757a1,_0x5a880f,_0x2e02aa,_0x54a15b){return _0x1cb1a1(_0x5a880f- -_0x25ee06._0x4945fc,_0x5a880f-_0x25ee06._0x61a968,_0x2e02aa-_0x25ee06._0x570f73,_0x2e02aa);}function _0x1ea3a5(_0x360123,_0x147a60,_0x25bac1,_0x315b76){return _0x3937f2(_0x360123-0x1bb,_0x315b76- -0xc1,_0x360123,_0x315b76-_0x4c6ee0._0x4445aa);}const _0x1e0d11=uriForPath(_0x840c8a);if(_0x461e3a[_0x48eb95(-0x74,0x121,_0x5c9c1b._0xd45d57,0x21b)](_0x1e0d11))return Promise[_0x1ea3a5(0x1f3,_0x5c9c1b._0x74c7a4,0x28,_0x5c9c1b._0x263001)]();return new Promise(_0xbca956=>{const _0x1bd4c7={_0x29f912:0x4e4},_0x13ce73={_0x227a16:0x487,_0x484f49:0x477},_0x563ed8={_0x63e16c:0x309},_0xa3303e=setTimeout(()=>{const _0x40bbbb=_0x18a857[_0x374287(_0x13ce73._0x227a16,0x2b0,0x4ac,_0x13ce73._0x484f49)](_0x1e0d11);_0x40bbbb?.['delete'](_0x5b663a);function _0x366707(_0x228836,_0x2f0438,_0x504399,_0x420fbe){return _0x8662(_0x504399-0xba,_0x228836);}function _0x374287(_0x5dd703,_0x2d48e2,_0x33aee9,_0x198dc3){return _0x8662(_0x2d48e2- -_0x563ed8._0x63e16c,_0x33aee9);}if(_0x40bbbb?.[_0x374287(-0x1c1,-0xf,0x206,-0x165)]===0x0)_0x18a857[_0x366707(0x3c6,0x4fb,0x5e8,0x436)](_0x1e0d11);_0xbca956();},timeoutMs),_0x5b663a=()=>{clearTimeout(_0xa3303e),_0xbca956();};function _0x5a6096(_0x378fd5,_0x3b5c2b,_0x3cc19d,_0x4daa46){return _0x48eb95(_0x378fd5-0x6e,_0x3cc19d-_0x1bd4c7._0x29f912,_0x378fd5,_0x4daa46-0x68);}const _0x4b2d17=_0x18a857['get'](_0x1e0d11)??new Set();_0x4b2d17['add'](_0x5b663a),_0x18a857[_0x5a6096(0x5b7,0x582,0x731,_0x20d95b._0x1890bc)](_0x1e0d11,_0x4b2d17);});},async 'shutdown'(){function _0x4a3741(_0x158203,_0x49aa2a,_0x2c5767,_0x1a29cd){return _0x1cb1a1(_0x158203- -_0x538c39._0x152d6f,_0x49aa2a-0x1b9,_0x2c5767-_0x538c39._0x41f50f,_0x49aa2a);}function _0x498cc6(_0x99d4bc,_0x309c79,_0x691011,_0x4cded7){return _0x1cb1a1(_0x4cded7- -_0x514afa._0x10e699,_0x309c79-0x82,_0x691011-0xbe,_0x99d4bc);}if(_0x4ba97c)return;_0x4ba97c=!![];try{await _0x533e14('shutdown',null),_0x4b64c0[_0x498cc6(_0x4ece0e._0x1c6490,_0x4ece0e._0x3b78e3,-_0x4ece0e._0x1af0cb,_0x4ece0e._0x23852b)](_0x4a3741(_0x4ece0e._0x1899bd,_0x4ece0e._0x5055cc,_0x4ece0e._0x2d913b,_0x4ece0e._0x5f07c6));}catch{}finally{_0x4b64c0['dispose'](),_0x1b3a9a[_0x498cc6(0x309,-_0x4ece0e._0x11ca2e,_0x4ece0e._0x1f4413,_0x4ece0e._0x3036d1)][_0x4a3741(_0x4ece0e._0x354400,0x1c1,0x190,_0x4ece0e._0xb920bd)][_0x498cc6(0x134,_0x4ece0e._0x431fb4,0x238,0x19c)]();}}};return _0x240740;}import{spawn as _0x5b5699}from'child_process';import{access as _0x2f40db}from'fs/promises';import _0x55d1ae from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xd1eee6 from'os';import _0x1924bd from'path';import _0x2ad1ec from'which';var installPromises=new Map();function sanitizePackageName(_0xec19e8){const _0x3f389b={_0x106f17:0x5fd,_0x55faff:0x33f,_0x49a861:0x65f,_0x2dcfdf:0x3e7},_0x101e51={_0x39354a:0x193},_0x1e626e={_0x1ac3e5:0x165};function _0xa7feae(_0x546466,_0x58614f,_0x527a2f,_0x4101f0){return _0x28bc81(_0x546466-0x1c3,_0x58614f-0xd7,_0x4101f0-_0x1e626e._0x1ac3e5,_0x527a2f);}function _0x312365(_0x22f4cd,_0x107981,_0x344de2,_0x41331c){return _0x5b2413(_0x22f4cd-0x103,_0x107981-_0x101e51._0x39354a,_0x41331c- -0x402,_0x107981);}return _0xec19e8[_0x312365(_0x3f389b._0x106f17,0x32e,_0x3f389b._0x55faff,0x4f4)](/^@/,'')[_0x312365(0x693,_0x3f389b._0x49a861,_0x3f389b._0x2dcfdf,0x4f4)](/[/]/g,'__');}function binaryNameForPlatform(_0x4d7b9e){const _0x25d0cf={_0x36b09a:0x4d5,_0x6e88aa:0x365,_0x438f46:0x221,_0x77f4bf:0x4f9,_0x2fd1ea:0xd7,_0x410d17:0x1e5,_0x51f2fb:0x3b8,_0x38ff23:0x237},_0x106dc0={_0x189436:0x403};function _0x1551c0(_0x176ef8,_0x1f1aa2,_0x31d060,_0x92760a){return _0x5b2413(_0x176ef8-0x18c,_0x1f1aa2-0x76,_0x1f1aa2- -_0x106dc0._0x189436,_0x176ef8);}function _0x37b0c9(_0x152c53,_0x321164,_0x1fe718,_0xcb6074){return _0x5b2413(_0x152c53-0x1af,_0x321164-0x105,_0x321164- -0x722,_0xcb6074);}return process[_0x1551c0(_0x25d0cf._0x36b09a,_0x25d0cf._0x6e88aa,_0x25d0cf._0x438f46,_0x25d0cf._0x77f4bf)]===_0x37b0c9(0x190,_0x25d0cf._0x2fd1ea,0x24a,-0x92)?_0x4d7b9e+_0x1551c0(_0x25d0cf._0x410d17,0x2bf,_0x25d0cf._0x51f2fb,_0x25d0cf._0x38ff23):_0x4d7b9e;}async function exists(_0x1f787f){try{return await access(_0x1f787f),!![];}catch{return![];}}function runNpmInstall(_0x3924bf,_0x4729b8,_0x1f4a28){const _0x3093d4={_0x2531a8:0x1e2,_0x5813f6:0x4de,_0x3ac3a4:0x1f7,_0xf1132d:0x1c5,_0x18202c:0x1c9};return new Promise(_0x6fda51=>{const _0x132ec9=spawn('npm',[_0x127051(_0x3093d4._0x2531a8,_0x3093d4._0x5813f6,0x1fa,0x3c2),_0x127051(0x121,_0x3093d4._0x3ac3a4,0xd4,0xbb),_0x3924bf,_0x4729b8],{'env':_0x1f4a28,'stdio':_0x127051(0x219,0x3d9,0x50,_0x3093d4._0xf1132d)});function _0x59e311(_0x146adb,_0xae8a2e,_0x1d5708,_0x56be85){return _0x8662(_0xae8a2e-0x16,_0x146adb);}_0x132ec9['on'](_0x127051(0x31f,0x2f2,_0x3093d4._0x18202c,0x1e0),()=>_0x6fda51(![]));function _0x127051(_0x158c6b,_0x41952b,_0xae8f70,_0x17f4a8){return _0x8662(_0x17f4a8- -0x220,_0x158c6b);}_0x132ec9['on']('close',_0x565faf=>_0x6fda51(_0x565faf===0x0));});}function shouldDisableLspDownload(_0x3e3486=process['env']){const _0x5e8af7={_0x9dfcd4:0x4eb,_0x2a10de:0x2fc,_0x48ce54:0x74e,_0x5c98a0:0x5b9,_0x35a3e:0x2ff,_0x486177:0x43f},_0x523d02={_0x58a14b:0x85,_0x4e4f27:0x240},_0x604d6a={_0x4fcbb5:0x448};function _0x11f0e6(_0x24b078,_0x2d331c,_0xe727b7,_0x397fcc){return _0x5b2413(_0x24b078-0x143,_0x2d331c-0xd6,_0x24b078- -_0x604d6a._0x4fcbb5,_0x397fcc);}const _0x236246=_0x3e3486[_0x11f0e6(0x489,_0x5e8af7._0x9dfcd4,0x542,_0x5e8af7._0x2a10de)]?.['toLowerCase']();function _0x38fe0d(_0x358a85,_0x492a94,_0x3fbc45,_0x5e2fa7){return _0x28bc81(_0x358a85-_0x523d02._0x58a14b,_0x492a94-0xe9,_0x358a85-_0x523d02._0x4e4f27,_0x492a94);}return _0x236246===_0x38fe0d(_0x5e8af7._0x48ce54,0x6a5,_0x5e8af7._0x5c98a0,0x8cc)||_0x236246==='1'||_0x236246===_0x11f0e6(_0x5e8af7._0x35a3e,_0x5e8af7._0x486177,0x4a1,0x36d)||_0x236246==='on';}function getLspPackageDir(_0x832d1e){const _0x2878c0={_0x45ff9e:0x325,_0xf9dc18:0x685,_0x5471c0:0x36f,_0x21b4e4:0x53f,_0x212166:0xf5,_0x488ca4:0xcc,_0x250441:0x592,_0x11ce87:0x78b,_0x259bc8:0x61b},_0x359c10={_0x402124:0xe2},_0x32c02e={_0x4f1a05:0xc7,_0x54f00b:0x27};function _0x383a87(_0x440a97,_0x1f209e,_0x28ce07,_0x3f17c0){return _0x5b2413(_0x440a97-_0x32c02e._0x4f1a05,_0x1f209e-_0x32c02e._0x54f00b,_0x3f17c0- -0x597,_0x1f209e);}function _0x4423a8(_0x730551,_0x12953e,_0x11e745,_0x12fbcf){return _0x28bc81(_0x730551-0x156,_0x12953e-0x6c,_0x12fbcf-_0x359c10._0x402124,_0x730551);}return _0x1924bd[_0x4423a8(_0x2878c0._0x45ff9e,_0x2878c0._0xf9dc18,_0x2878c0._0x5471c0,_0x2878c0._0x21b4e4)](_0xd1eee6['homedir'](),_0x383a87(0x221,-_0x2878c0._0x212166,-_0x2878c0._0x488ca4,0x3),'lsp',_0x4423a8(_0x2878c0._0x250441,_0x2878c0._0x11ce87,_0x2878c0._0x259bc8,0x6eb),sanitizePackageName(_0x832d1e));}function getLspBinDir(_0x237e30){const _0x74c221={_0xab0f:0x28c,_0x4126d1:0x8b,_0x94aca:0x8,_0x459c6b:0x7f,_0x542b7b:0x14e},_0x2afb4e={_0x4bda5b:0x6dc},_0x41b832={_0x215b6e:0x149};function _0x44a8c8(_0x54f906,_0x286450,_0x1d223c,_0x28a8d5){return _0x5b2413(_0x54f906-_0x41b832._0x215b6e,_0x286450-0xe,_0x54f906- -0x72b,_0x28a8d5);}function _0x2bac98(_0x43fcec,_0x3881b7,_0x28578a,_0x401a49){return _0x5b2413(_0x43fcec-0x11d,_0x3881b7-0x182,_0x28578a- -_0x2afb4e._0x4bda5b,_0x3881b7);}return _0x1924bd['join'](getLspPackageDir(_0x237e30),_0x44a8c8(-0x136,-_0x74c221._0xab0f,0xc5,_0x74c221._0x4126d1),_0x2bac98(0x1eb,_0x74c221._0x94aca,_0x74c221._0x459c6b,-_0x74c221._0x542b7b));}async function findPackageBinary(_0x55bd79,_0x395d51){const _0x5c5a53={_0x280fff:0x111,_0x20e49d:0x209},_0x169c45={_0x33dc5b:0x106};let _0x4c8485=_0x1924bd[_0x2a1141(_0x5c5a53._0x280fff,0x1e9,-0x109,_0x5c5a53._0x20e49d)](_0x395d51);const _0xcbe8dd=binaryNameForPlatform(_0x55bd79);function _0x2a1141(_0x159336,_0x5c8671,_0x4f4a2c,_0x154823){return _0x28bc81(_0x159336-_0x169c45._0x33dc5b,_0x5c8671-0xcb,_0x159336- -0x149,_0x5c8671);}while(!![]){const _0x2340bd=_0x1924bd['join'](_0x4c8485,'node_modules','.bin',_0xcbe8dd);if(await exists(_0x2340bd))return _0x2340bd;const _0x501386=_0x1924bd['dirname'](_0x4c8485);if(_0x501386===_0x4c8485)return void 0x0;_0x4c8485=_0x501386;}}async function findPathBinary(_0x3b1688,_0x23cb15){const _0x319fb2={_0x48b95f:0x61,_0x23755a:0x20,_0x4c34fa:0x1b8,_0x2a9280:0x103,_0xdccc90:0x24d,_0xcde7a8:0xf2,_0x337455:0x374,_0x4f6707:0x31e,_0x1eebd9:0x3b9,_0x479c38:0x3a6,_0x59ca68:0x260},_0x46fdba={_0x2ba56b:0x10d,_0x393482:0x138},_0x443f3d={_0x2ae724:0x188,_0x3e8794:0x21a};function _0x4e34b4(_0x3c0202,_0x405942,_0x1be43a,_0x57116e){return _0x28bc81(_0x3c0202-0x12b,_0x405942-_0x443f3d._0x2ae724,_0x3c0202- -_0x443f3d._0x3e8794,_0x1be43a);}const _0x273ba9=getLspBinDir(_0x23cb15),_0x456b8a=[_0x273ba9,process[_0x5f72e7(-_0x319fb2._0x48b95f,-_0x319fb2._0x23755a,-_0x319fb2._0x4c34fa,-_0x319fb2._0x2a9280)][_0x5f72e7(0x37c,0x2f5,_0x319fb2._0xdccc90,0x3e9)]][_0x5f72e7(_0x319fb2._0xcde7a8,0x197,0x15a,_0x319fb2._0x337455)](Boolean)['join'](_0x1924bd[_0x4e34b4(_0x319fb2._0x4f6707,_0x319fb2._0x1eebd9,_0x319fb2._0x479c38,_0x319fb2._0x59ca68)]);function _0x5f72e7(_0x4cc432,_0x28845c,_0x36a5ee,_0x541303){return _0x5b2413(_0x4cc432-_0x46fdba._0x2ba56b,_0x28845c-_0x46fdba._0x393482,_0x28845c- -0x68d,_0x36a5ee);}try{return await _0x2ad1ec(_0x3b1688,{'path':_0x456b8a});}catch{return void 0x0;}}async function resolvePackageBinary(_0x4556c8){const _0xa37686={_0x3f7a71:0x54f,_0x15f6a4:0x44b,_0x48cb54:0x487,_0x1ff3a3:0x1eb,_0x45cd1e:0x12d,_0x56df65:0xf6,_0x207a39:0x7c7,_0x59f624:0x610,_0x1db441:0x18,_0x15db15:0x2a,_0x50acf5:0x189,_0x21352d:0x3ab,_0x36ed66:0x250,_0xd1bd12:0xad6,_0x47b693:0x7bb,_0x5ce90d:0x738,_0x50a68b:0x906},_0x497542={_0x56b4fc:0x2d6,_0x447c83:0x374,_0x416145:0x3c3,_0xa3b266:0xfb,_0x4f9c97:0x1e6,_0x44b860:0x2b},_0x34d5e9={_0x20d162:0x9f},_0x4914f5={_0x25fef5:0x23},_0x534329={_0x3d8f7b:0xca,_0x299327:0x188},_0x4d9cd5=_0x4556c8['binaryName']??_0x4556c8[_0x2f08ad(_0xa37686._0x3f7a71,0x50d,_0xa37686._0x15f6a4,0x610)];function _0x2f08ad(_0x3d50c5,_0x468ad3,_0xca580f,_0x2615ec){return _0x28bc81(_0x3d50c5-_0x534329._0x3d8f7b,_0x468ad3-_0x534329._0x299327,_0x2615ec-0x400,_0x3d50c5);}const _0x59f9a2=await findPackageBinary(_0x4d9cd5,_0x4556c8[_0xf890e0(_0xa37686._0x48cb54,0x4ea,0x2dc,0x488)]);if(_0x59f9a2)return _0x59f9a2;function _0xf890e0(_0x4aca44,_0x3158d5,_0x462aac,_0x5816ef){return _0x5b2413(_0x4aca44-0x1a8,_0x3158d5-_0x4914f5._0x25fef5,_0x462aac- -0x585,_0x3158d5);}const _0xcbc3b0=await findPathBinary(_0x4d9cd5,_0x4556c8['packageName']);if(_0xcbc3b0)return _0xcbc3b0;const _0x9b62f0=_0x4556c8[_0xf890e0(_0xa37686._0x1ff3a3,-_0xa37686._0x45cd1e,0xe8,0x29d)]??process[_0xf890e0(0x2ea,_0xa37686._0x56df65,0xe8,-0xa6)];if(shouldDisableLspDownload(_0x9b62f0))return void 0x0;const _0x52da46=getLspPackageDir(_0x4556c8[_0x2f08ad(0x751,_0xa37686._0x207a39,0x7d1,_0xa37686._0x59f624)]),_0xae3752=_0x4556c8[_0xf890e0(0x243,-_0xa37686._0x1db441,_0xa37686._0x15db15,0x23f)]+':'+_0x4d9cd5;let _0x189f9a=installPromises[_0xf890e0(0x552,_0xa37686._0x50acf5,_0xa37686._0x21352d,_0xa37686._0x36ed66)](_0xae3752);!_0x189f9a&&(_0x189f9a=((async()=>{await mkdir(_0x52da46,{'recursive':!![]});function _0x44a2da(_0x5bf45b,_0x104ecf,_0x367141,_0x209e52){return _0xf890e0(_0x5bf45b-0x1c,_0x367141,_0x5bf45b-0x2ac,_0x209e52-0x98);}const _0x3266fe=await runNpmInstall(_0x52da46,_0x4556c8[_0x44a2da(_0x497542._0x56b4fc,0xc3,_0x497542._0x447c83,0x2d8)],_0x9b62f0);if(!_0x3266fe)return void 0x0;function _0x4071c8(_0x4786b2,_0x2d3eaa,_0x25a703,_0x111be8){return _0xf890e0(_0x4786b2-_0x34d5e9._0x20d162,_0x4786b2,_0x111be8- -0x60,_0x111be8-0x162);}const _0x2e9ced=_0x1924bd[_0x4071c8(_0x497542._0x416145,0x314,_0x497542._0xa3b266,0x217)](getLspBinDir(_0x4556c8[_0x4071c8(-_0x497542._0x4f9c97,0xf6,_0x497542._0x44b860,-0x36)]),binaryNameForPlatform(_0x4d9cd5));return await exists(_0x2e9ced)?_0x2e9ced:void 0x0;})()),installPromises[_0xf890e0(0x165,0x174,0x251,0xd8)](_0xae3752,_0x189f9a));try{return await _0x189f9a;}catch{return void 0x0;}finally{installPromises[_0x2f08ad(_0xa37686._0xd1bd12,_0xa37686._0x47b693,_0xa37686._0x5ce90d,_0xa37686._0x50a68b)](_0xae3752);}}var TYPESCRIPT_EXTENSIONS=[_0x5b2413(0x973,0x770,0x8ca,0xaa5),_0x28bc81(0x529,0x7e2,0x5d2,0x57c),_0x5b2413(0xa33,0x959,0x951,0x8bc),'.jsx','.mjs','.cjs',_0x5b2413(0x524,0x507,0x570,0x70c),_0x5b2413(0x958,0x72e,0x742,0x5dd)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x5b2413(0x688,0x6f8,0x69a,0x67d)],TYPESCRIPT_ROOT_MARKERS=[_0x28bc81(0x275,0x26b,0x413,0x567),'bun.lockb','bun.lock',_0x28bc81(0x3af,0x5f8,0x565,0x4ad),_0x28bc81(0x318,0x450,0x4f5,0x634),_0x5b2413(0x7da,0xa51,0x8f1,0x765),_0x28bc81(0x695,0x65f,0x51d,0x435),_0x5b2413(0x796,0x808,0x636,0x67c)],BIOME_ROOT_MARKERS=[_0x5b2413(0x853,0x836,0x8e3,0x90f),_0x28bc81(0x4b4,0x442,0x36e,0x33f),'package-lock.json',_0x5b2413(0x5ce,0x531,0x750,0x7a8),_0x5b2413(0x84b,0x673,0x632,0x718),_0x5b2413(0x7df,0x6f2,0x904,0x782),'yarn.lock',_0x28bc81(0x47c,0x4b2,0x297,0x43a)];async function exists2(_0x268f28){try{return await _0x2f40db(_0x268f28),!![];}catch{return![];}}async function findUp(_0x25b785,_0x493232){const _0x146912={_0x4567a8:0x49c,_0xa1e9d7:0x2e7,_0x4e46a4:0x387,_0x4d4b7b:0x69d,_0xbfa244:0x4ea},_0x2374c6={_0x48c300:0x120,_0x4328ac:0x1e6,_0x5c5b6f:0x332},_0x7a8244={_0x5996ec:0xbe};let _0x54b211=_0x55d1ae[_0x585115(_0x146912._0x4567a8,0x152,0x2ee,_0x146912._0xa1e9d7)](_0x25b785);function _0x585115(_0x8de884,_0x39b537,_0x2b03e8,_0x5e295a){return _0x28bc81(_0x8de884-_0x7a8244._0x5996ec,_0x39b537-0x136,_0x5e295a-0x8d,_0x39b537);}const _0x2af205=_0x55d1ae['extname'](_0x54b211);if(_0x2af205)_0x54b211=_0x55d1ae[_0x108458(-0x5a,-0x15c,0x19,-0x1f4)](_0x54b211);function _0x108458(_0x1a0c04,_0x234a32,_0x570aed,_0x405818){return _0x28bc81(_0x1a0c04-_0x2374c6._0x48c300,_0x234a32-_0x2374c6._0x4328ac,_0x234a32- -_0x2374c6._0x5c5b6f,_0x570aed);}while(!![]){for(const _0x39a150 of _0x493232){if(await exists2(_0x55d1ae[_0x585115(_0x146912._0x4e46a4,_0x146912._0x4d4b7b,0x406,_0x146912._0xbfa244)](_0x54b211,_0x39a150)))return _0x54b211;}const _0x4967e6=_0x55d1ae['dirname'](_0x54b211);if(_0x4967e6===_0x54b211)return void 0x0;_0x54b211=_0x4967e6;}}async function hasDenoRoot(_0x2acbb2){const _0x5cc07c={_0x108247:0x991,_0x3b0e47:0x581,_0x3b15b4:0x778,_0x1a79d1:0x8b1,_0x492722:0x88c,_0x544d23:0x6f1,_0x30435f:0xa6,_0x56f416:0xbb},_0x5bb9c6={_0x26e495:0xe7,_0xdd82f8:0x50,_0x4d4bba:0x80},_0x246c3c={_0x2081a:0xab};function _0x179dcd(_0x88e6e0,_0xb1a15d,_0x55ed89,_0x2e3d49){return _0x28bc81(_0x88e6e0-_0x246c3c._0x2081a,_0xb1a15d-0x1e8,_0x55ed89- -0x297,_0xb1a15d);}function _0x36a1a5(_0x58340f,_0xc1273f,_0x179c0f,_0x624bca){return _0x5b2413(_0x58340f-_0x5bb9c6._0x26e495,_0xc1273f-_0x5bb9c6._0xdd82f8,_0xc1273f- -_0x5bb9c6._0x4d4bba,_0x624bca);}return await exists2(_0x55d1ae[_0x36a1a5(0x83f,0x77c,_0x5cc07c._0x108247,_0x5cc07c._0x3b0e47)](_0x2acbb2,_0x36a1a5(0x6da,_0x5cc07c._0x3b15b4,0x95e,_0x5cc07c._0x1a79d1)))||await exists2(_0x55d1ae[_0x36a1a5(_0x5cc07c._0x492722,0x77c,0x661,_0x5cc07c._0x544d23)](_0x2acbb2,_0x179dcd(-0x46,_0x5cc07c._0x30435f,-_0x5cc07c._0x56f416,0x68)));}async function resolveTsserverPath(_0x11ada7){const _0x2dd592={_0x5af030:0x64d,_0x4759b5:0x671,_0x2ae5dd:0x553,_0x52d129:0x34c,_0x14e9e1:0x1a1,_0x3bef7b:0x2e8,_0x4f4ff6:0x2f2,_0x39a1f4:0x11d,_0x14e059:0x29,_0x4234d1:0x322,_0x3787c1:0x2da,_0x277d72:0x6f,_0x569c2f:0x8a,_0x432a37:0x167,_0x36a514:0x266,_0x1fc01f:0x282,_0x588342:0x23e,_0xbde1c9:0x35f,_0x369abb:0x49d,_0x1a8964:0x24e,_0x487446:0x47a,_0xd6ed1f:0x584,_0x5b1408:0x426,_0x571567:0x5e7},_0x46f217={_0x1044a7:0x1d8,_0x31d3a9:0x1de},_0x5b6ca6={_0x1764de:0x44,_0x2d7cd3:0x155};function _0x18fc1c(_0xb59f74,_0x5a8acb,_0x4838dc,_0x3b0d83){return _0x28bc81(_0xb59f74-_0x5b6ca6._0x1764de,_0x5a8acb-_0x5b6ca6._0x2d7cd3,_0x5a8acb- -0x2f3,_0x3b0d83);}let _0x5a94f7=_0x55d1ae['resolve'](_0x11ada7);function _0x49105d(_0xf4f557,_0x14b509,_0x45e6b3,_0x14b362){return _0x5b2413(_0xf4f557-_0x46f217._0x1044a7,_0x14b509-_0x46f217._0x31d3a9,_0x45e6b3- -0x2a9,_0x14b362);}while(!![]){const _0x3516c2=_0x55d1ae[_0x49105d(_0x2dd592._0x5af030,_0x2dd592._0x4759b5,_0x2dd592._0x2ae5dd,0x3de)](_0x5a94f7,_0x49105d(0x16d,0x21d,_0x2dd592._0x52d129,_0x2dd592._0x14e9e1),_0x49105d(0x421,_0x2dd592._0x3bef7b,0x35f,0x38e),'lib',_0x18fc1c(_0x2dd592._0x4f4ff6,0x1fe,0x382,0x2c5));if(await exists2(_0x3516c2))return _0x3516c2;const _0x5c764b=_0x55d1ae[_0x18fc1c(-0x33a,-_0x2dd592._0x39a1f4,-0x246,-0x33d)](_0x5a94f7);if(_0x5c764b===_0x5a94f7)break;_0x5a94f7=_0x5c764b;}const _0x328520=getLspPackageDir(_0x18fc1c(0x3,-0x8a,-0x166,-_0x2dd592._0x14e059)),_0x2d25b3=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x49105d(0x14d,_0x2dd592._0x4234d1,_0x2dd592._0x3787c1,0x3b6),'startDir':_0x11ada7});if(!_0x2d25b3)return void 0x0;const _0x3d0cdf=_0x55d1ae[_0x18fc1c(0xb9,0x16a,-_0x2dd592._0x277d72,-_0x2dd592._0x569c2f)](_0x328520,_0x49105d(_0x2dd592._0x432a37,_0x2dd592._0x36a514,0x34c,0x408),_0x49105d(_0x2dd592._0x1fc01f,_0x2dd592._0x588342,_0x2dd592._0xbde1c9,_0x2dd592._0x369abb),_0x18fc1c(0x309,0x2c9,_0x2dd592._0x1a8964,_0x2dd592._0x487446),_0x49105d(_0x2dd592._0xd6ed1f,_0x2dd592._0x5b1408,_0x2dd592._0x571567,0x495));return await exists2(_0x3d0cdf)?_0x3d0cdf:void 0x0;}var TypeScriptServer={'id':'typescript','name':_0x28bc81(0x330,0xda,0x1e5,0x31d),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x86d60a){const _0x5737f9=await findUp(_0x86d60a,TYPESCRIPT_ROOT_MARKERS);if(!_0x5737f9)return void 0x0;return await hasDenoRoot(_0x5737f9)?void 0x0:_0x5737f9;},async 'spawn'(_0x41ff12){const _0x2f7335={_0x29f5f6:0x44a,_0x12395f:0x64d,_0x342368:0x2dc,_0x58f84e:0x402,_0x4af054:0x88d,_0x1159ec:0x786,_0x5f4137:0x48a,_0x4026d5:0x5f3},_0x58b3f4={_0x68c0c6:0x119,_0x2ce029:0x2e},_0x21b07b={_0x13a424:0x163,_0x33f3fe:0xe3},_0x24a538=await resolveTsserverPath(_0x41ff12);function _0x6bd535(_0x2c35f4,_0x31bc53,_0x3a4591,_0x368ed6){return _0x5b2413(_0x2c35f4-_0x21b07b._0x13a424,_0x31bc53-0x11,_0x31bc53- -_0x21b07b._0x33f3fe,_0x368ed6);}function _0x18bdea(_0x9f9fa3,_0x593e4c,_0x1273d5,_0x31daf1){return _0x5b2413(_0x9f9fa3-_0x58b3f4._0x68c0c6,_0x593e4c-_0x58b3f4._0x2ce029,_0x593e4c- -0x21f,_0x31daf1);}if(!_0x24a538)return void 0x0;const _0x5b51e8=await resolvePackageBinary({'packageName':_0x18bdea(0x596,0x477,_0x2f7335._0x29f5f6,0x3d0),'binaryName':_0x18bdea(_0x2f7335._0x12395f,0x477,_0x2f7335._0x342368,_0x2f7335._0x58f84e),'startDir':_0x41ff12});if(!_0x5b51e8)return void 0x0;return{'process':_0x5b5699(_0x5b51e8,[_0x6bd535(0x758,0x69c,_0x2f7335._0x4af054,_0x2f7335._0x1159ec)],{'cwd':_0x41ff12,'stdio':_0x6bd535(0x433,_0x2f7335._0x5f4137,0x538,_0x2f7335._0x4026d5)}),'initialization':{'tsserver':{'path':_0x24a538}}};}},BiomeServer={'id':_0x28bc81(0x6cd,0x58c,0x4f6,0x5e6),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x3bbfa1){return findUp(_0x3bbfa1,BIOME_ROOT_MARKERS);},async 'spawn'(_0x38b42a){const _0x272cc2={_0x3e7a8b:0xa6,_0x4060a7:0xc1,_0x4d18b9:0x2d2,_0x18091b:0x1d3,_0x44533e:0x24b,_0x1902a8:0x16b,_0x74f120:0x55,_0x323237:0x32,_0x49b14c:0x30},_0x4bbec0={_0x14dcc6:0xa1,_0x11df9e:0x1e1,_0x369e45:0x24b};function _0x269f14(_0x4ae23d,_0x90e909,_0x4d0b10,_0x46e8c8){return _0x28bc81(_0x4ae23d-_0x4bbec0._0x14dcc6,_0x90e909-_0x4bbec0._0x11df9e,_0x4ae23d- -_0x4bbec0._0x369e45,_0x46e8c8);}const _0x821115=await findPackageBinary(_0x479644(0x502,0x337,0x4a7,0x133),_0x38b42a)??await resolvePackageBinary({'packageName':_0x479644(0x2ba,0x118,_0x272cc2._0x3e7a8b,_0x272cc2._0x4060a7),'binaryName':_0x269f14(0x2ab,_0x272cc2._0x4d18b9,0x95,_0x272cc2._0x18091b),'startDir':_0x38b42a});if(!_0x821115)return void 0x0;function _0x479644(_0x202ac6,_0x378045,_0x2b74f8,_0x285436){return _0x28bc81(_0x202ac6-0xa0,_0x378045-0x8,_0x378045- -0x1bf,_0x2b74f8);}return{'process':_0x5b5699(_0x821115,[_0x269f14(_0x272cc2._0x44533e,0x1e8,_0x272cc2._0x1902a8,_0x272cc2._0x74f120),'--stdio'],{'cwd':_0x38b42a,'stdio':_0x479644(-_0x272cc2._0x323237,0xf,-_0x272cc2._0x49b14c,0x11d)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x343b6d){const _0x357c14={_0x29dd06:0x3f0,_0x193a06:0x607,_0x33f98c:0x716,_0x335c2f:0x886,_0x171afd:0x70b},_0x20c523={_0x83c246:0x2b4},_0x51646c={_0x1c81a7:0x10e};function _0x1759b3(_0x4b59fa,_0x16eae3,_0x3edf5c,_0x212421){return _0x5b2413(_0x4b59fa-0xa2,_0x16eae3-0x104,_0x4b59fa- -_0x51646c._0x1c81a7,_0x16eae3);}function _0x2bb618(_0x4381fd,_0x4498a4,_0x2c3325,_0x34fff1){return _0x5b2413(_0x4381fd-0x89,_0x4498a4-0x3e,_0x2c3325- -_0x20c523._0x83c246,_0x34fff1);}const _0x366849=_0x55d1ae[_0x2bb618(_0x357c14._0x29dd06,0x39e,0x37c,0x25e)](_0x343b6d)[_0x1759b3(_0x357c14._0x193a06,0x5bc,0x449,0x487)]();return BUILTIN_LSP_SERVERS[_0x1759b3(_0x357c14._0x33f98c,_0x357c14._0x335c2f,0x8e3,_0x357c14._0x171afd)](_0x9550c7=>_0x9550c7[_0x1759b3(0x693,0x8ad,0x729,0x4b4)][_0x2bb618(0x578,0x4cf,0x4ac,0x6aa)](_0x366849));}function stateKey(_0x10072e,_0x3ac287){return _0x3ac287+':'+_0x10072e['id'];}function diagnosticsKeyToPath(_0x32299e){const _0x15d5fc={_0x12e571:0x7d,_0x2c03fe:0xb3},_0x8ba235={_0x225c86:0x15e};if(!_0x32299e[_0x59daf2(_0x15d5fc._0x12e571,0x11f,0x271,-_0x15d5fc._0x2c03fe)]('file://'))return _0x32299e;function _0x59daf2(_0x24d435,_0x41953a,_0x451c2f,_0x53c420){return _0x28bc81(_0x24d435-_0x8ba235._0x225c86,_0x41953a-0xfa,_0x24d435- -0x261,_0x41953a);}return fileURLToPath(_0x32299e);}function nextFileVersion(_0x1f49b6,_0x11b54f){const _0x1abc5d={_0x22cc3a:0x7cc,_0x4cf7f7:0x512,_0x243249:0x64b,_0x287f93:0x61c,_0x2400c2:0x385,_0x1a8cbc:0x23,_0x21c55a:0x1d9,_0x54d94c:0x218,_0x7d970f:0x124},_0x26ceba={_0xe64a18:0x49,_0x4356ea:0x27},_0x8cf2b6={_0x1ae815:0x2e,_0x3a1e1a:0x143};function _0x374572(_0x2e8f9f,_0x146528,_0x5dc5ed,_0x3b4c6b){return _0x28bc81(_0x2e8f9f-0x171,_0x146528-_0x8cf2b6._0x1ae815,_0x5dc5ed-_0x8cf2b6._0x3a1e1a,_0x3b4c6b);}const _0x31b594=(_0x1f49b6[_0x374572(_0x1abc5d._0x22cc3a,_0x1abc5d._0x4cf7f7,_0x1abc5d._0x243249,_0x1abc5d._0x287f93)][_0x3c2ab1(_0x1abc5d._0x2400c2,_0x1abc5d._0x1a8cbc,_0x1abc5d._0x21c55a,_0x1abc5d._0x54d94c)](_0x11b54f)??0x1)+0x1;_0x1f49b6[_0x3c2ab1(-0xb4,0x26b,0x150,_0x1abc5d._0x7d970f)]['set'](_0x11b54f,_0x31b594);function _0x3c2ab1(_0x1bbaee,_0x421511,_0x4a7e20,_0x42d5b1){return _0x28bc81(_0x1bbaee-_0x26ceba._0xe64a18,_0x421511-_0x26ceba._0x4356ea,_0x4a7e20- -0x3b8,_0x1bbaee);}return _0x31b594;}async function collectClientResults(_0xfbdbfd){const _0x39d31f={_0x306bd8:0x51c,_0x1f19ff:0x612,_0x4bf4e2:0x2c6},_0x41e75b={_0x3b9cea:0xa1},_0x174521={_0x13bf5f:0xe6,_0x4eb246:0xe3};function _0x3f98f7(_0x50810d,_0x5d95c4,_0x383d7c,_0x11a060){return _0x28bc81(_0x50810d-_0x174521._0x13bf5f,_0x5d95c4-_0x174521._0x4eb246,_0x11a060-0x31d,_0x50810d);}function _0x3a65fb(_0x503d7c,_0xabf323,_0x2d436a,_0x870bf6){return _0x5b2413(_0x503d7c-_0x41e75b._0x3b9cea,_0xabf323-0x1a3,_0x2d436a- -0x43f,_0xabf323);}const _0x44f3dc=await Promise[_0x3a65fb(_0x39d31f._0x306bd8,_0x39d31f._0x1f19ff,0x480,_0x39d31f._0x4bf4e2)](_0xfbdbfd);return _0x44f3dc['flatMap'](_0x23276e=>_0x23276e[_0x3f98f7(0x6d9,0x5b7,0x300,0x51b)]===_0x3f98f7(0x819,0x874,0x822,0x70a)?_0x23276e[_0x3f98f7(0x77b,0x6e3,0x709,0x8d1)]:[]);}function createLspService(_0x2a4363={}){const _0x5b3815={_0x50aa78:0x5a,_0x3e4f2f:0xb8},_0x25547d={_0x43be00:0x14,_0x21d751:0x163},_0x326cc0={_0x4f6ca3:0x1c9,_0x389e00:0x261,_0x3e3e3c:0x310,_0x5f3a81:0x33a,_0x1bc3fd:0x11d,_0x589de1:0x6a7,_0x4bc89b:0x5de,_0x5ab270:0x26e,_0x50ef18:0x562,_0x10eeaa:0x1b0,_0x45e2ed:0x2eb,_0x145dc0:0x2c2,_0x43ad70:0x623,_0x5ad075:0x75c,_0x27b95d:0x674,_0x3bc6bc:0x59c,_0x16bc4b:0x6e0,_0xa21cbd:0xd6,_0x478864:0x262,_0x104338:0x1c9,_0x3f941e:0x21c,_0x12815f:0x26c},_0x5dfda4={_0x451270:0xd2},_0x3e4a10={_0x8090c1:0x735},_0x584f36={_0x3b6549:0x11f},_0x41223e={_0x41598b:0x1c0,_0x13d22c:0x161},_0x1c3b7b={_0x21f5fa:0x8e3,_0x9c7431:0x8c7,_0x42544a:0x7a0},_0x38ba60={_0x326d7d:0xd9},_0x4165f2={_0x7e3d21:0x47a,_0x1d31b5:0x4c0},_0x3f2a3a={_0xbd0861:0x1dc},_0x4ce5be={_0x259b09:0x9c3,_0x2a8ced:0x875},_0x3a38cd={_0x4e65e6:0xff},_0x2ce957={_0x31cdd4:0x1e7,_0x43917f:0x59},_0x124620={_0x5f3cc3:0x7db,_0x1f6b86:0x5dd,_0x30304d:0x88c,_0x39321d:0x921,_0xa018f:0x9a1,_0x9bff30:0x576,_0x22068a:0x7b4},_0x52103b={_0x19aacb:0x198},_0xd09dfc={_0x497c1a:0x1a4,_0x2d4757:0x28b,_0x12c50e:0x5b},_0x5f9ec7={_0x74576b:0x7c4,_0x52b017:0x602},_0x2af7ea={_0x471c6b:0x7a,_0x2fb546:0x303,_0x180013:0xe9},_0x478583={_0x25a5ed:0x121,_0x27c30a:0x379},_0x1e8a6c={_0xc073eb:0x448,_0x4ea244:0x75d,_0x3fa3f1:0x613},_0xe9d587={_0x41f63f:0x12b,_0x388836:0x2ab,_0x3dbac5:0x5a},_0x46d2a9={_0x341b6:0x372,_0x35228d:0x579,_0x5d06e5:0x727},_0x5aed07={_0x3b8f4b:0x37},_0xa70b29={_0x40a059:0x4a1,_0x58cf64:0x472,_0x2bf83e:0x389,_0x1fc2c2:0x36f,_0x4fa8ef:0x4ca},_0x2c5b7c={_0x20ef9c:0x6f,_0x176a11:0x122},_0x89426c={_0x470c71:0x141,_0x1d529b:0x4ff},_0x468df7={_0x337c38:0xc6},_0x501a79={_0x345fc6:0x1ba},_0x50773f={_0x5a987c:0x263,_0x2c70bf:0x1e6},_0x323c02={_0x5d3c4b:0x31c,_0x37be0c:0x370,_0x9c8add:0x6dc,_0x3c2635:0x6db,_0x2e1ff9:0x499},_0x4d4b2a={_0x564749:0x1f9},_0x2ae801={_0x2b5e03:0xe5,_0x37e561:0xbc,_0x4bbb7e:0x86,_0x12d78e:0x3fb,_0x35b92d:0x226,_0x3d50c9:0x24,_0x30acf3:0x5af,_0x406152:0x280},_0x55fd57={_0x7de01a:0x643,_0x36abcc:0x7b6,_0x495129:0x841,_0x29dd12:0x75a,_0x52c32d:0x695,_0x11b45f:0x6a9,_0x24c871:0x673},_0x24c874={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x5d72ad=()=>_0x2a4363[_0x530340(0x541,0x435,0x321,0x293)]!==![];async function _0x227218(_0x5c3e91,_0x10531e){const _0xc8eba2={_0x8e24b0:0x397,_0x2a0f57:0x466,_0x217d68:0x2c7,_0x33a559:0x643,_0x53382c:0x516,_0x14f5cd:0x433,_0x21d134:0x592,_0x1ad3b0:0x33b,_0x4bf84a:0x55b,_0x445b78:0x9f,_0x205e57:0x643,_0x481d8a:0x605,_0xbd9a4a:0x6c7,_0x4f31d2:0x40a,_0x5bdd2b:0x48f,_0x2a2a2f:0x286,_0x1212c5:0x440,_0x28e212:0x442,_0x35c7e2:0x86b,_0x12cca5:0x726},_0x35789c={_0x64a501:0x318,_0x4ad31c:0xbd},_0x418443={_0x29b5af:0x176,_0x200781:0x8a},_0x317123={_0x435a03:0x17,_0x4b3c18:0x572},_0x40c976=stateKey(_0x5c3e91,_0x10531e);function _0x4cb7fd(_0x426485,_0x43908b,_0x2805fd,_0x1a269b){return _0x530340(_0x426485-_0x317123._0x435a03,_0x1a269b,_0x426485-_0x317123._0x4b3c18,_0x1a269b-0x157);}const _0x35756f=_0x24c874['clients']['find'](_0x3fff22=>_0x3fff22['serverId']===_0x5c3e91['id']&&_0x3fff22[_0x150fb7(0x182,0x34c,0x4bf,0x355)]===_0x10531e);if(_0x35756f)return _0x35756f;function _0x150fb7(_0x11b857,_0x13af7d,_0x4ba2ec,_0x502d3f){return _0x530340(_0x11b857-_0x418443._0x29b5af,_0x11b857,_0x13af7d-0x319,_0x502d3f-_0x418443._0x200781);}if(_0x24c874[_0x150fb7(0x7c2,_0x55fd57._0x7de01a,_0x55fd57._0x36abcc,_0x55fd57._0x495129)]['has'](_0x40c976))return void 0x0;const _0x24087e=_0x24c874[_0x4cb7fd(_0x55fd57._0x29dd12,0x6fa,_0x55fd57._0x52c32d,_0x55fd57._0x11b45f)]['get'](_0x40c976);if(_0x24087e)return _0x24087e;const _0x1d767d=((async()=>{const _0x5856bb={_0x5ccd6f:0x12f,_0x794d4:0xcf,_0x2bf526:0xa7};function _0x33d1ce(_0x10846a,_0x30b21e,_0x51fb81,_0x1d6153){return _0x4cb7fd(_0x1d6153- -_0x35789c._0x64a501,_0x30b21e-0x50,_0x51fb81-_0x35789c._0x4ad31c,_0x30b21e);}function _0x438fcb(_0x1bde8f,_0x465e67,_0x1ad379,_0x138fa7){return _0x150fb7(_0x1ad379,_0x1bde8f-_0x5856bb._0x5ccd6f,_0x1ad379-_0x5856bb._0x794d4,_0x138fa7-_0x5856bb._0x2bf526);}try{const _0x2710a9=await _0x5c3e91[_0x33d1ce(_0xc8eba2._0x8e24b0,_0xc8eba2._0x2a0f57,0x13b,_0xc8eba2._0x217d68)](_0x10531e);if(!_0x2710a9)return _0x24c874[_0x33d1ce(0x5de,_0xc8eba2._0x33a559,0x65e,0x584)]['add'](_0x40c976),void 0x0;const _0x1475a1=await createLspClient({'server':_0x5c3e91,'root':_0x10531e,'handle':_0x2710a9}),_0x204b46=_0x24c874[_0x438fcb(_0xc8eba2._0x53382c,_0xc8eba2._0x14f5cd,0x702,0x3ad)][_0x33d1ce(_0xc8eba2._0x21d134,_0xc8eba2._0x1ad3b0,0x4db,_0xc8eba2._0x4bf84a)](_0x5da9b1=>_0x5da9b1['serverId']===_0x5c3e91['id']&&_0x5da9b1[_0x33d1ce(0x39e,0x6d,0xc5,0x28d)]===_0x10531e);if(_0x204b46)return await _0x1475a1[_0x33d1ce(0x339,0x2c0,_0xc8eba2._0x445b78,0x277)](),_0x204b46;return _0x24c874[_0x438fcb(0x516,0x4e4,_0xc8eba2._0x205e57,0x317)][_0x438fcb(_0xc8eba2._0x481d8a,_0xc8eba2._0xbd9a4a,_0xc8eba2._0x4f31d2,0x636)](_0x1475a1),_0x1475a1;}catch{return _0x24c874['broken'][_0x438fcb(0x4ba,0x5c8,0x3b1,0x5ba)](_0x40c976),void 0x0;}finally{_0x24c874[_0x33d1ce(_0xc8eba2._0x5bdd2b,_0xc8eba2._0x2a2a2f,_0xc8eba2._0x1212c5,_0xc8eba2._0x28e212)][_0x438fcb(0x755,_0xc8eba2._0x35c7e2,_0xc8eba2._0x12cca5,0x947)](_0x40c976);}})());return _0x24c874['spawning'][_0x4cb7fd(0x7b0,_0x55fd57._0x24c871,0x80f,0x81a)](_0x40c976,_0x1d767d),_0x1d767d;}async function _0x2b54ce(_0xc1120b,_0x4e006a){const _0x4fe391={_0xc5ed62:0x89},_0xfa95ad={_0x979c80:0x2e9,_0x4f417f:0x128};if(!_0x5d72ad())return[];const _0x5ee671=[];function _0x57cfba(_0x2e778a,_0x5f3dab,_0x4591b9,_0x431124){return _0x530340(_0x2e778a-0x75,_0x431124,_0x2e778a-_0xfa95ad._0x979c80,_0x431124-_0xfa95ad._0x4f417f);}for(const _0x163f8c of getServersForFile(_0xc1120b)){const _0x104d27=await _0x163f8c[_0x3f3b39(0x76,_0x2ae801._0x2b5e03,_0x2ae801._0x37e561,_0x2ae801._0x4bbb7e)](_0xc1120b);if(!_0x104d27)continue;const _0x515192=stateKey(_0x163f8c,_0x104d27);if(_0x24c874[_0x3f3b39(0x1d2,_0x2ae801._0x12d78e,0x3b3,_0x2ae801._0x35b92d)][_0x57cfba(0x3fb,0x5ac,0x51f,0x3a4)](_0x515192))continue;const _0x506bee=_0x24c874[_0x3f3b39(0x12d,_0x2ae801._0x3d50c9,0x157,-0x71)][_0x57cfba(0x5ea,0x774,0x462,_0x2ae801._0x30acf3)](_0x1fdc33=>_0x1fdc33[_0x3f3b39(0x43c,0x5f3,0x48d,0x653)]===_0x163f8c['id']&&_0x1fdc33[_0x57cfba(0x31c,0x346,0x519,0x358)]===_0x104d27);if(_0x506bee){_0x5ee671['push'](_0x506bee);continue;}if(!_0x4e006a)continue;const _0x1d9a62=await _0x227218(_0x163f8c,_0x104d27);if(_0x1d9a62)_0x5ee671[_0x3f3b39(_0x2ae801._0x406152,0x3a0,0x246,0x181)](_0x1d9a62);}function _0x3f3b39(_0x541012,_0x12a909,_0x55d649,_0x97f383){return _0x530340(_0x541012-0x184,_0x12a909,_0x55d649-_0x4fe391._0xc5ed62,_0x97f383-0x1aa);}return _0x5ee671;}function _0x530340(_0xfbffef,_0x576cab,_0xf23876,_0x52140a){return _0x28bc81(_0xfbffef-0x157,_0x576cab-0x1ce,_0xf23876- -_0x4d4b2a._0x564749,_0x576cab);}async function _0x22e64b(_0x30dbdf,_0x314a37=![]){const _0x13e7cf={_0x3a762d:0x447,_0x2d90c0:0x47f,_0x541d00:0x34c,_0x3e1910:0x7e7,_0x2778f8:0x795,_0x1394de:0x63e,_0x20ac50:0x41f,_0x2305d6:0x26d,_0x3d3ca9:0x2c0,_0x156a85:0x33a,_0xea9dd3:0xb41,_0x406557:0xa51,_0x1b6190:0x12b,_0x1f49e8:0x28f,_0x2e332b:0x252,_0x2923f7:0x46e,_0x105e9c:0xf6,_0x178b1f:0x2ac,_0x2e40b5:0x429,_0xe4f41f:0x1f9,_0x2d56d7:0xa16,_0x33e454:0x424},_0xea0d81={_0x5bdc41:0x5,_0x51f89d:0x78},_0x4441f8={_0x1f999e:0xbf},_0x469a1b={_0x2867fa:0x119,_0x3de7fa:0x1bc},_0x4cd6d7=await _0x2b54ce(_0x30dbdf,!![]);function _0x1f4585(_0x531833,_0x5289a5,_0x427a40,_0x565992){return _0x530340(_0x531833-0x18a,_0x5289a5,_0x565992-_0x469a1b._0x2867fa,_0x565992-_0x469a1b._0x3de7fa);}function _0x56edaf(_0x2e247e,_0x1eca84,_0x4b5775,_0x4cd708){return _0x530340(_0x2e247e-0x62,_0x4b5775,_0x1eca84- -0x13c,_0x4cd708-_0x4441f8._0x1f999e);}await Promise[_0x1f4585(0x217,0x1e9,_0x323c02._0x5d3c4b,_0x323c02._0x37be0c)](_0x4cd6d7[_0x1f4585(_0x323c02._0x9c8add,_0x323c02._0x3c2635,_0x323c02._0x2e1ff9,0x4f1)](async _0x4b04e3=>{const _0x6acc4c={_0x4a8ef7:0xd7,_0x45f4a3:0x121};function _0x55081a(_0x105ccc,_0x453dc8,_0x3bab87,_0x112b54){return _0x56edaf(_0x105ccc-_0xea0d81._0x5bdc41,_0x453dc8-0x72e,_0x105ccc,_0x112b54-_0xea0d81._0x51f89d);}function _0x26fc44(_0x19caca,_0x48fdaf,_0x52f7d2,_0x1f3f0e){return _0x1f4585(_0x19caca-_0x6acc4c._0x4a8ef7,_0x48fdaf,_0x52f7d2-0xab,_0x1f3f0e-_0x6acc4c._0x45f4a3);}!_0x24c874[_0x26fc44(0x447,0x496,_0x13e7cf._0x3a762d,0x2de)][_0x26fc44(0x39d,_0x13e7cf._0x2d90c0,0x2b4,_0x13e7cf._0x541d00)](_0x4b04e3[_0x26fc44(_0x13e7cf._0x3e1910,_0x13e7cf._0x2778f8,0x85a,_0x13e7cf._0x1394de)]+':'+_0x4b04e3[_0x26fc44(0x40a,0x170,_0x13e7cf._0x20ac50,_0x13e7cf._0x2305d6)]+':'+_0x30dbdf)&&(await _0x4b04e3[_0x26fc44(0x53f,_0x13e7cf._0x3d3ca9,0x402,_0x13e7cf._0x156a85)][_0x55081a(_0x13e7cf._0xea9dd3,0x998,0x9d4,_0x13e7cf._0x406557)]({'path':_0x30dbdf}),_0x24c874[_0x26fc44(_0x13e7cf._0x1b6190,_0x13e7cf._0x1f49e8,_0x13e7cf._0x2e332b,0x2de)][_0x26fc44(0x141,_0x13e7cf._0x2923f7,_0x13e7cf._0x105e9c,_0x13e7cf._0x178b1f)](_0x4b04e3['serverId']+':'+_0x4b04e3[_0x55081a(0x52a,0x625,_0x13e7cf._0x2e40b5,0x775)]+':'+_0x30dbdf));await _0x4b04e3[_0x26fc44(0x4bf,0x448,_0x13e7cf._0xe4f41f,_0x13e7cf._0x156a85)][_0x55081a(_0x13e7cf._0x2d56d7,0x970,0xb65,0x8e2)]({'path':_0x30dbdf,'version':nextFileVersion(_0x24c874,_0x30dbdf)});if(_0x314a37)await _0x4b04e3[_0x26fc44(_0x13e7cf._0x33e454,_0x13e7cf._0x20ac50,0x3ab,0x2eb)]({'path':_0x30dbdf});}));}async function _0x322251(_0x1517b7){function _0x2a2a44(_0x53d662,_0x3d17b1,_0x4711f1,_0xb286be){return _0x530340(_0x53d662-0x96,_0x3d17b1,_0x4711f1-0xdd,_0xb286be-0x70);}return await _0x22e64b(_0x1517b7['file'],![]),_0x2b54ce(_0x1517b7[_0x2a2a44(_0x50773f._0x5a987c,0x23d,0x36a,_0x50773f._0x2c70bf)],![]);}async function _0x36af8a(_0x482456){function _0x481988(_0x5d739e,_0x3aacdd,_0x4c78c4,_0x1a6517){return _0x530340(_0x5d739e-_0x501a79._0x345fc6,_0x1a6517,_0x4c78c4-0x294,_0x1a6517-0x1bf);}function _0x843ae1(_0x2c555b,_0x44d84f,_0x34fdfb,_0x17f07f){return _0x530340(_0x2c555b-_0x468df7._0x337c38,_0x34fdfb,_0x2c555b- -0x9e,_0x17f07f-0x1b5);}const _0xfcfcc0=await _0x322251(_0x482456);return collectClientResults(_0xfcfcc0[_0x843ae1(0x33a,_0x89426c._0x470c71,0x2d0,_0x89426c._0x1d529b)](_0x4d8626=>_0x4d8626[_0x843ae1(-0xaa,0x8,0x6f,-0x28a)][_0x843ae1(0xca,-0x14b,-0x79,-0xf8)](_0x482456)));}return{'isEnabled':_0x5d72ad,async 'hasClients'(_0x1af337){const _0x1888f9={_0xf52ac0:0x14,_0x2ad10c:0xf6};function _0x3b3540(_0x1c9eb8,_0x5edb8a,_0x5a1ed9,_0x11c2b8){return _0x530340(_0x1c9eb8-0x160,_0x11c2b8,_0x5edb8a-_0x1888f9._0xf52ac0,_0x11c2b8-_0x1888f9._0x2ad10c);}function _0x30aec7(_0x388270,_0x2672d6,_0x19883c,_0xbed6c){return _0x530340(_0x388270-_0x2c5b7c._0x20ef9c,_0xbed6c,_0x19883c-_0x2c5b7c._0x176a11,_0xbed6c-0x135);}return(await _0x2b54ce(_0x1af337,![]))[_0x30aec7(0x553,_0xa70b29._0x40a059,_0xa70b29._0x58cf64,_0xa70b29._0x2bf83e)]>0x0||getServersForFile(_0x1af337)[_0x30aec7(0x347,_0xa70b29._0x1fc2c2,_0xa70b29._0x58cf64,_0xa70b29._0x4fa8ef)]>0x0;},'touchFile':_0x22e64b,async 'diagnostics'(){const _0x5162ac={};for(const _0x2b8466 of _0x24c874[_0x5b3399(_0x46d2a9._0x341b6,0x44d,_0x46d2a9._0x35228d,_0x46d2a9._0x5d06e5)]){for(const [_0x2c8b78,_0x44f292]of _0x2b8466['diagnostics']){_0x5162ac[diagnosticsKeyToPath(_0x2c8b78)]=_0x44f292;}}function _0x5b3399(_0x262785,_0x48a660,_0x5e6765,_0xa93879){return _0x530340(_0x262785-0x62,_0xa93879,_0x5e6765-0x4ab,_0xa93879-_0x5aed07._0x3b8f4b);}return _0x5162ac;},async 'diagnosticsForFile'(_0x30b35a){await _0x22e64b(_0x30b35a,!![]);const _0x4ef58d=[];for(const _0x271d23 of await _0x2b54ce(_0x30b35a,![])){for(const [_0x193b48,_0xf907f2]of _0x271d23[_0x5b7223(_0x1e8a6c._0xc073eb,_0x1e8a6c._0x4ea244,_0x1e8a6c._0x3fa3f1,0x4dd)]){if(diagnosticsKeyToPath(_0x193b48)===_0x30b35a)_0x4ef58d['push'](..._0xf907f2);}}function _0x5b7223(_0x26a3f0,_0x1e701a,_0x1a846c,_0x5c6a53){return _0x530340(_0x26a3f0-_0xe9d587._0x41f63f,_0x5c6a53,_0x1a846c-_0xe9d587._0x388836,_0x5c6a53-_0xe9d587._0x3dbac5);}return _0x4ef58d;},async 'definition'(_0x4f7ca5){function _0x5e273f(_0x20cc01,_0x32ba7f,_0x5c529c,_0x25a167){return _0x530340(_0x20cc01-_0x478583._0x25a5ed,_0x5c529c,_0x25a167-_0x478583._0x27c30a,_0x25a167-0x1f1);}function _0x590f7f(_0x4a9f87,_0x16432b,_0x5ca323,_0x216e72){return _0x530340(_0x4a9f87-_0x2af7ea._0x471c6b,_0x4a9f87,_0x216e72-_0x2af7ea._0x2fb546,_0x216e72-_0x2af7ea._0x180013);}return collectClientResults((await _0x322251(_0x4f7ca5))[_0x590f7f(_0x5f9ec7._0x74576b,0x698,_0x5f9ec7._0x52b017,0x6db)](_0xd4fa7b=>_0xd4fa7b[_0x5e273f(0x3f5,0x437,0x52c,0x36d)]['definition'](_0x4f7ca5)));},async 'references'(_0x24b1fe){function _0x12d409(_0x49bbcb,_0x4b87f7,_0x96aae1,_0x228d04){return _0x530340(_0x49bbcb-0x76,_0x49bbcb,_0x96aae1-0x68,_0x228d04-0x50);}function _0x4013da(_0x4669d5,_0x3888f4,_0x4e9c20,_0x3511b3){return _0x530340(_0x4669d5-_0xd09dfc._0x497c1a,_0x4e9c20,_0x3888f4-_0xd09dfc._0x2d4757,_0x3511b3-_0xd09dfc._0x12c50e);}return collectClientResults((await _0x322251(_0x24b1fe))[_0x4013da(0x839,0x663,0x6da,0x82d)](_0x1dbf7c=>_0x1dbf7c['request'][_0x12d409(0x207,-0x17,0x93,0x13c)](_0x24b1fe)));},async 'hover'(_0x2b946a){const _0x551cb8=await Promise[_0x2d931b(_0x124620._0x5f3cc3,_0x124620._0x1f6b86,0x96e,0x5ca)]((await _0x322251(_0x2b946a))[_0x2d931b(_0x124620._0x30304d,_0x124620._0x39321d,_0x124620._0xa018f,0x7d7)](_0x155ef8=>_0x155ef8[_0x2d931b(0x4a8,0x3ec,0x5f1,0x56a)][_0x2d931b(0x508,0x3d3,0x344,0x58e)](_0x2b946a)));function _0x4a4be4(_0x590f4a,_0x47c8ea,_0x319efa,_0x27836e){return _0x530340(_0x590f4a-0xf9,_0x47c8ea,_0x319efa-0x5ee,_0x27836e-0x62);}function _0x2d931b(_0x28df2f,_0x2b02be,_0x26c350,_0x34dff8){return _0x530340(_0x28df2f-_0x52103b._0x19aacb,_0x26c350,_0x28df2f-0x4b4,_0x34dff8-0x3f);}return _0x551cb8[_0x4a4be4(_0x124620._0x9bff30,0x420,0x623,_0x124620._0x22068a)](_0x3194fa=>_0x3194fa['status']===_0x2d931b(0x6a8,0x8c0,0x6af,0x5d7)&&_0x3194fa[_0x2d931b(0x86f,0x676,0x89e,0x896)]?[_0x3194fa[_0x4a4be4(0x8bc,0x879,0x9a9,0x949)]]:[]);},async 'documentSymbol'(_0x151f19){await _0x22e64b(_0x151f19,![]);function _0x2de8d1(_0x4e9dbf,_0xf4a060,_0x1cae4d,_0x4fb9c7){return _0x530340(_0x4e9dbf-_0x2ce957._0x31cdd4,_0xf4a060,_0x4fb9c7-0x1f3,_0x4fb9c7-_0x2ce957._0x43917f);}function _0x3cd8c7(_0x2b85d3,_0x4da4a0,_0x27339c,_0x1d9d6a){return _0x530340(_0x2b85d3-0x130,_0x4da4a0,_0x1d9d6a-0x49d,_0x1d9d6a-_0x3a38cd._0x4e65e6);}return collectClientResults((await _0x2b54ce(_0x151f19,![]))[_0x3cd8c7(0xa7a,_0x4ce5be._0x259b09,0xa0f,_0x4ce5be._0x2a8ced)](_0x47ae4e=>_0x47ae4e['request'][_0x2de8d1(0x32a,0x1cb,0x4e1,0x2fe)](_0x151f19)));},async 'workspaceSymbol'(_0x304e5e){function _0x1a206d(_0x265511,_0x35f0f6,_0x1e9d65,_0x3ddb7c){return _0x530340(_0x265511-0xa2,_0x265511,_0x3ddb7c-0x2aa,_0x3ddb7c-0x1c4);}function _0x2c2baa(_0x34d218,_0x2ff2d0,_0xa7bf9c,_0x559215){return _0x530340(_0x34d218-_0x3f2a3a._0xbd0861,_0x34d218,_0xa7bf9c- -0x9a,_0x559215-0xea);}return collectClientResults(_0x24c874['clients'][_0x2c2baa(0x454,_0x4165f2._0x7e3d21,0x33e,_0x4165f2._0x1d31b5)](_0x4efae9=>_0x4efae9[_0x1a206d(0x326,0x3ff,0x20c,0x29e)][_0x1a206d(0x26f,0x550,0x551,0x40e)](_0x304e5e)));},async 'implementation'(_0x30c52d){const _0x53906a={_0x352342:0x7a,_0x1a8f92:0x143};function _0x5520dc(_0x2d0acd,_0x1ba503,_0x178fed,_0x3f7951){return _0x530340(_0x2d0acd-_0x53906a._0x352342,_0x178fed,_0x1ba503- -0x95,_0x3f7951-_0x53906a._0x1a8f92);}function _0x4d4219(_0x3a20c2,_0x334a6a,_0x1caf18,_0x5bbb69){return _0x530340(_0x3a20c2-0x10f,_0x1caf18,_0x334a6a-0x4ef,_0x5bbb69-_0x38ba60._0x326d7d);}return collectClientResults((await _0x322251(_0x30c52d))[_0x4d4219(_0x1c3b7b._0x21f5fa,_0x1c3b7b._0x9c7431,0x77f,_0x1c3b7b._0x42544a)](_0x213298=>_0x213298[_0x5520dc(-0x161,-0xa1,-0x134,-0xbe)]['implementation'](_0x30c52d)));},async 'prepareCallHierarchy'(_0x21272a){return _0x36af8a(_0x21272a);},async 'incomingCalls'(_0xded4d8){const _0x53763b={_0x54f73d:0xf,_0x5f0cb6:0x4fc},_0x330558=await _0x36af8a(_0xded4d8);function _0x5c49bd(_0x491d7a,_0x109b32,_0x386992,_0x17f739){return _0x530340(_0x491d7a-_0x53763b._0x54f73d,_0x386992,_0x491d7a-_0x53763b._0x5f0cb6,_0x17f739-0x9e);}function _0x418707(_0x9324f6,_0x1daac0,_0x8face2,_0x180288){return _0x530340(_0x9324f6-_0x41223e._0x41598b,_0x8face2,_0x9324f6-0x290,_0x180288-_0x41223e._0x13d22c);}const _0xd7e117=await _0x322251(_0xded4d8);return collectClientResults(_0xd7e117[_0x418707(0x2c5,_0x584f36._0x3b6549,0x10c,0x1af)](_0x50ef07=>_0x330558[_0x418707(0x668,0x80c,0x722,0x85c)](_0x286cc1=>_0x50ef07[_0x5c49bd(0x4f0,0x3f1,0x6ab,0x4a7)][_0x418707(0x60b,0x7c1,0x482,0x475)](_0x286cc1))));},async 'outgoingCalls'(_0x4a331e){const _0x10eb8c={_0x16159f:0x12},_0x533ad7={_0x486b9c:0x1f0,_0x51eb92:0x116},_0x26543d=await _0x36af8a(_0x4a331e),_0x346f0b=await _0x322251(_0x4a331e);function _0x290062(_0x2aefc3,_0xddda57,_0x17968e,_0x55d54a){return _0x530340(_0x2aefc3-_0x533ad7._0x486b9c,_0x17968e,_0x2aefc3-0x4dd,_0x55d54a-_0x533ad7._0x51eb92);}function _0x49499(_0x15328a,_0x4e9be9,_0x4c5a1c,_0x220e8b){return _0x530340(_0x15328a-_0x10eb8c._0x16159f,_0x15328a,_0x4e9be9-0x568,_0x220e8b-0x58);}return collectClientResults(_0x346f0b[_0x49499(_0x3e4a10._0x8090c1,0x59d,0x417,0x57a)](_0x180a4e=>_0x26543d[_0x49499(0xa0f,0x940,0x9a3,0x9f3)](_0x56df33=>_0x180a4e[_0x290062(0x4d1,0x43f,0x557,0x5a1)]['outgoingCalls'](_0x56df33))));},async 'shutdown'(){const _0x27d874={_0x37d4e2:0x95,_0x2178a8:0x17a};if(_0x24c874['shutdownStarted'])return;_0x24c874[_0x399590(0x167,0x166,_0x326cc0._0x4f6ca3,0x238)]=!![],await Promise[_0x399590(_0x326cc0._0x389e00,0x1ad,_0x326cc0._0x3e3e3c,_0x326cc0._0x5f3a81)](_0x24c874[_0x399590(-0x26e,-0xac,_0x326cc0._0x1bc3fd,0x14a)][_0x100d19(0x7f9,0x6b8,_0x326cc0._0x589de1,_0x326cc0._0x4bc89b)](_0x580c5b=>_0x580c5b['shutdown']())),_0x24c874['clients']=[],_0x24c874[_0x399590(0x1ac,0x6e,_0x326cc0._0x5ab270,0x4a)][_0x100d19(0x552,0x42b,_0x326cc0._0x50ef18,0x59c)](),_0x24c874[_0x399590(0x370,_0x326cc0._0x10eeaa,_0x326cc0._0x45e2ed,_0x326cc0._0x145dc0)][_0x100d19(_0x326cc0._0x43ad70,_0x326cc0._0x5ad075,_0x326cc0._0x27b95d,_0x326cc0._0x3bc6bc)]();function _0x100d19(_0x37073a,_0x173155,_0xbcdd54,_0x5d092e){return _0x530340(_0x37073a-0x94,_0xbcdd54,_0x5d092e-0x206,_0x5d092e-_0x5dfda4._0x451270);}function _0x399590(_0x900674,_0x359061,_0x53f797,_0xcfa08d){return _0x530340(_0x900674-_0x27d874._0x37d4e2,_0x900674,_0x359061- -_0x27d874._0x2178a8,_0xcfa08d-0x18c);}_0x24c874[_0x100d19(0x515,0x4e2,_0x326cc0._0x16bc4b,0x515)]['clear'](),_0x24c874[_0x399590(0x80,-_0x326cc0._0xa21cbd,0x13c,-_0x326cc0._0x478864)][_0x399590(_0x326cc0._0x104338,_0x326cc0._0x3f941e,_0x326cc0._0x12815f,0xf)]();},'status'(){function _0xad5e71(_0x3b489b,_0x54badb,_0x50db31,_0x1a5b77){return _0x530340(_0x3b489b-_0x25547d._0x43be00,_0x3b489b,_0x1a5b77- -0x1a9,_0x1a5b77-_0x25547d._0x21d751);}return{'connectedClients':_0x24c874['clients'][_0xad5e71(-_0x5b3815._0x50aa78,_0x5b3815._0x3e4f2f,0x20c,0x1a7)]};}};}function getCommand(_0x3f0158){const _0x3f7803={_0x17dd1d:0x37b,_0x4e1875:0x265,_0xd0cff4:0x166,_0x5396bf:0x17b,_0x27a08d:0x58d,_0x24d0d8:0x353,_0x31b8ea:0x52},_0x247508={_0xfa485c:0xcf,_0x33f8c2:0x468},_0x286a15={_0x4d12a3:0x1e4};function _0x5d9228(_0x5780ae,_0x552c6,_0x34407e,_0x2ac76b){return _0x28bc81(_0x5780ae-0x1da,_0x552c6-_0x286a15._0x4d12a3,_0x2ac76b- -0x107,_0x552c6);}function _0x5a4e98(_0x5eabe4,_0x4405aa,_0x251b14,_0x436909){return _0x5b2413(_0x5eabe4-_0x247508._0xfa485c,_0x4405aa-0x25,_0x4405aa- -_0x247508._0x33f8c2,_0x5eabe4);}if(_0x3f0158&&typeof _0x3f0158===_0x5a4e98(_0x3f7803._0x17dd1d,0x19c,_0x3f7803._0x4e1875,0x3a7)&&!Array[_0x5a4e98(_0x3f7803._0xd0cff4,_0x3f7803._0x5396bf,0x26a,0x96)](_0x3f0158)&&typeof _0x3f0158[_0x5a4e98(_0x3f7803._0x27a08d,0x4df,0x6c2,_0x3f7803._0x24d0d8)]==='string')return _0x3f0158['command'];return _0x5a4e98(0xc,0x120,0x1fe,-_0x3f7803._0x31b8ea);}var MOCK_WORKSPACE_LISTING=[_0x5b2413(0x662,0x961,0x765,0x829),'docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x28bc81(0x581,0x2dd,0x47e,0x5dd),'package.json',_0x28bc81(0x789,0x4b1,0x583,0x708),_0x5b2413(0x8a4,0x770,0x885,0x89f),_0x5b2413(0x5fe,0x721,0x7d3,0x7d5),_0x28bc81(0x4bf,0x2ef,0x3e4,0x20e),_0x5b2413(0x5ab,0x585,0x6fb,0x89d),'src/tools/core/mock-tool-runtime.ts',_0x28bc81(0x7a4,0x6dd,0x5b3,0x423),_0x5b2413(0x4c4,0x6da,0x63b,0x6d7),_0x5b2413(0x6dd,0x6d0,0x68d,0x7f6),_0x5b2413(0xb1a,0xa1c,0x989,0x91f),_0x5b2413(0x98d,0x995,0x977,0xb70),_0x28bc81(0x16,0x29d,0x211,0x6d),_0x5b2413(0x59e,0x5ec,0x5a8,0x38d)][_0x28bc81(0x5ed,0x33d,0x45d,0x4b0)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x5b2413(0x625,0x602,0x7ee,0x981),'description':_0x28bc81(0x7fa,0x4a4,0x610,0x5cd),'input_schema':{'type':_0x28bc81(0x198,0x477,0x265,0xe9),'properties':{'command':{'type':_0x5b2413(0x825,0x746,0x635,0x693)}},'required':[_0x28bc81(0x3ba,0x79b,0x5a8,0x745)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x33f0b6){return{'output':_0x33f0b6,'structured':{'value':_0x33f0b6}};}function createUnknownToolResult(_0x143d1d){const _0x31bfdc={_0x5903f1:0x3d6,_0x55c383:0x693,_0x43b78d:0x45,_0xdc03e6:0x17b,_0x3d8108:0x64,_0xa9e7a6:0x7fb,_0x2c49a6:0x62b,_0x464905:0x572,_0x322b86:0x269},_0x4e60a8={_0x3a9970:0x15d,_0x41a30a:0x92,_0x188602:0x393},_0x47a4e3={_0x1cdf8e:0x154,_0x3c9a4e:0x136};function _0x872e7f(_0x3c0700,_0x2713f6,_0x575d39,_0x3fbc19){return _0x28bc81(_0x3c0700-0x67,_0x2713f6-_0x47a4e3._0x1cdf8e,_0x2713f6-_0x47a4e3._0x3c9a4e,_0x575d39);}function _0x9cf416(_0x21448f,_0x398d85,_0x1f8372,_0x49ae06){return _0x28bc81(_0x21448f-_0x4e60a8._0x3a9970,_0x398d85-_0x4e60a8._0x41a30a,_0x21448f- -_0x4e60a8._0x188602,_0x49ae06);}return{'callId':_0x143d1d['id'],'toolName':_0x143d1d[_0x872e7f(_0x31bfdc._0x5903f1,0x5ac,_0x31bfdc._0x55c383,0x41e)],'status':_0x9cf416(_0x31bfdc._0x43b78d,-0x1a8,-_0x31bfdc._0xdc03e6,_0x31bfdc._0x3d8108),'output':_0x872e7f(_0x31bfdc._0xa9e7a6,0x6e7,_0x31bfdc._0x2c49a6,_0x31bfdc._0x464905)+_0x143d1d[_0x9cf416(0xe3,_0x31bfdc._0x322b86,0x147,0xcc)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x3d2c8d,_0x46608e){const _0x2c8fe9={_0x1c600d:0x64c,_0x41a232:0x666},_0xb7a606={_0x4923a2:0x120,_0x2e28c7:0x141};function _0x153eec(_0x4c68e4,_0x59f64f,_0x2a0902,_0x22609b){return _0x28bc81(_0x4c68e4-_0xb7a606._0x4923a2,_0x59f64f-_0xb7a606._0x2e28c7,_0x2a0902-0x1d6,_0x59f64f);}return{'callId':_0x3d2c8d['id'],'toolName':_0x3d2c8d[_0x153eec(0x596,0x516,_0x2c8fe9._0x1c600d,_0x2c8fe9._0x41a232)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x3d2c8d['input']),'exitCode':0x0},'chunks':[_0x46608e],'meta':createMeta()};}function createMockToolRuntime(){const _0x428391={_0x116f09:0x80a,_0xe112be:0x830},_0x1aab51={_0x2a686b:0x26e},_0x56b890=async(_0x3d4a48,_0x7eb565)=>{function _0xfce8ab(_0x20a41f,_0x500fd8,_0x500a65,_0x46fbae){return _0x8662(_0x500a65- -0x2a,_0x20a41f);}if(_0x3d4a48[_0xfce8ab(0x2d5,_0x1aab51._0x2a686b,0x474,0x25c)]!=='Bash')return createUnknownToolResult(_0x3d4a48);const _0x377c49=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x3d4a48,_0x377c49);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x3e04be,_0x2f5887){const _0x18ce08={_0x211d2e:0x237},_0x3c263f={_0x4f31d5:0x1e1};function _0x47e8f9(_0x27f513,_0x1d3a60,_0x334107,_0x414a0f){return _0x8662(_0x414a0f- -_0x3c263f._0x4f31d5,_0x334107);}function _0x39e1b9(_0x2178d0,_0x55ba2a,_0xa9c977,_0x5c3d41){return _0x8662(_0x5c3d41-_0x18ce08._0x211d2e,_0x2178d0);}return await Promise[_0x47e8f9(0x19b,0x2bf,0x86,0x297)](_0x3e04be[_0x39e1b9(0x72f,_0x428391._0x116f09,0x649,_0x428391._0xe112be)](async _0x3816b5=>{return await _0x56b890(_0x3816b5,_0x2f5887);}));},async 'execute'(_0x537b20,_0x322a37){return await _0x56b890(_0x537b20,_0x322a37);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0x5b2413(0x757,0x50e,0x661,0x59e),_0x5b2413(0x6c1,0x892,0x673,0x716),_0x28bc81(0x1ac,0x3ca,0x2eb,0x33d)],DelegatedResolutionError=class extends Error{[_0x5b2413(0x721,0x740,0x6b8,0x879)];[_0x5b2413(0x789,0x9f2,0x8be,0x9e2)];['selector'];constructor(_0x26d1e5,_0x171d30,_0x12aabe){const _0x3bae59={_0x4c6e39:0x27b,_0x151b0c:0x82a,_0x443f36:0x70d,_0x279022:0x36d,_0x188bc7:0x1fe,_0x3b4aa2:0x370,_0xbe9122:0x573,_0x2a959b:0x6ae,_0x19a96a:0x5c4,_0x5e4a14:0x374,_0x30d970:0x573,_0x4c19ad:0x399,_0x21c921:0x8f1,_0x2670c8:0x8ff,_0x3b5a74:0x60b,_0x1078ed:0x5c6},_0x280991={_0x42f263:0x1ef},_0x1cc232={_0x35cbf0:0x168};function _0x5a12ec(_0x12a0d2,_0x99478d,_0x2c9b53,_0x16af2e){return _0x5b2413(_0x12a0d2-_0x1cc232._0x35cbf0,_0x99478d-0x55,_0x12a0d2- -0x34b,_0x99478d);}super(_0x26d1e5,_0x12aabe),this['name']=_0x5a12ec(0x306,0x2da,_0x3bae59._0x4c6e39,0x3fa);function _0x565b64(_0x4dd4b8,_0x189ad3,_0xa7a6a0,_0x4f5f51){return _0x28bc81(_0x4dd4b8-_0x280991._0x42f263,_0x189ad3-0xc6,_0x4f5f51-0x3f4,_0x4dd4b8);}this[_0x565b64(0x895,0x7ed,_0x3bae59._0x151b0c,_0x3bae59._0x443f36)]=_0x171d30[_0x5a12ec(_0x3bae59._0x279022,_0x3bae59._0x188bc7,0x217,_0x3bae59._0x3b4aa2)],this[_0x5a12ec(_0x3bae59._0xbe9122,_0x3bae59._0x2a959b,_0x3bae59._0x19a96a,_0x3bae59._0x5e4a14)]=_0x171d30[_0x5a12ec(_0x3bae59._0x30d970,0x690,_0x3bae59._0x4c19ad,0x787)],this[_0x565b64(0x916,_0x3bae59._0x21c921,_0x3bae59._0x2670c8,0x6fc)]=_0x171d30[_0x565b64(0x746,_0x3bae59._0x3b5a74,_0x3bae59._0x1078ed,0x6fc)];}};function createDelegatedRunId(){return'delegated-run-'+randomUUID();}function rethrowDelegatedError(_0x2bd77b){throw _0x2bd77b;}async function resolveDelegatedAgentOptions(_0x1e207c,_0x117e76){const _0x32e9a5={_0x43d9fa:0xad,_0x3401d4:0x416},_0x3cf5ef={_0x246938:0x148,_0x4d5793:0x1f3},_0x2d037c={_0x96e3c2:0x1b5,_0x4c4edb:0x16c},_0x3f19af=typeof _0x1e207c==='function'?await _0x1e207c(_0x117e76):_0x1e207c;function _0x28118b(_0x53798d,_0x1be683,_0xe3102b,_0x234d21){return _0x28bc81(_0x53798d-_0x2d037c._0x96e3c2,_0x1be683-_0x2d037c._0x4c4edb,_0x1be683- -0x50,_0x53798d);}function _0x47df72(_0x1777fc,_0x40099c,_0x5e87de,_0x2e39f8){return _0x28bc81(_0x1777fc-_0x3cf5ef._0x246938,_0x40099c-0x1f,_0x2e39f8- -_0x3cf5ef._0x4d5793,_0x40099c);}return typeof _0x3f19af===_0x28118b(_0x32e9a5._0x43d9fa,0x215,0xe,_0x32e9a5._0x3401d4)&&_0x3f19af!==null&&Object['hasOwn'](_0x3f19af,_0x47df72(0x3b7,0x1c5,0x467,0x290))?_0x3f19af:{'options':_0x3f19af};}function awaitWithAbort(_0x27ea2b,_0x51da3b){const _0x3bceda={_0x2d52f7:0x4dd},_0x2918f3={_0x3998b9:0x920,_0x1d33d3:0x745,_0x37424b:0x5d4};return throwIfAborted(_0x51da3b),new Promise((_0x295ffd,_0x264f0d)=>{function _0xbd709f(_0x4f627d,_0x1f6e88,_0x3d9aa2,_0x15d459){return _0x8662(_0x1f6e88-0x15c,_0x4f627d);}let _0x5017a3=![];const _0x2fae44=addAbortListener(_0x51da3b,()=>{if(_0x5017a3)return;function _0xfec193(_0x25a0c8,_0x1faf91,_0x246def,_0x763cd8){return _0x8662(_0x1faf91-0x265,_0x763cd8);}_0x5017a3=!![],_0x264f0d(toAbortError(_0x51da3b[_0xfec193(_0x2918f3._0x3998b9,_0x2918f3._0x1d33d3,0x788,_0x2918f3._0x37424b)]));});_0x27ea2b[_0xbd709f(_0x3bceda._0x2d52f7,0x58b,0x7ac,0x554)](_0x2308ed=>{if(_0x5017a3)return;_0x5017a3=!![],_0x2fae44(),_0x295ffd(_0x2308ed);},_0x5fbc05=>{if(_0x5017a3)return;_0x5017a3=!![],_0x2fae44(),_0x264f0d(_0x5fbc05);});});}function getDelegatedAgentDefinition(_0x182a24,_0x29ffed){const _0x56b2c2={_0x258eae:0x400,_0x3fb9ee:0x2e8},_0x36251d={_0x39260f:0x1be};function _0x137d5f(_0x49d3c4,_0x98b8e0,_0x4437c7,_0x775507){return _0x5b2413(_0x49d3c4-0x1ec,_0x98b8e0-_0x36251d._0x39260f,_0x98b8e0- -0x687,_0x49d3c4);}return _0x182a24[_0x137d5f(_0x56b2c2._0x258eae,_0x56b2c2._0x3fb9ee,0x44e,0x2f3)]?.[_0x29ffed];}function createRoutingSummary(_0x27b3b8){const _0x560c91={_0x1026e9:0x635,_0x1bd5df:0x426,_0x4069b3:0x51c,_0x312020:0x241};if(_0x27b3b8['requestedModelTier']===void 0x0)return{};const _0x3ad75b=_0x27b3b8['routing']?.['agentModelSet']??_0x27b3b8['agentModelSet'];function _0x47fb46(_0x3031af,_0x28d531,_0x13833d,_0x33b30c){return _0x5b2413(_0x3031af-0x157,_0x28d531-0xea,_0x28d531- -0x4de,_0x13833d);}function _0x4abc31(_0x5857ed,_0x23e662,_0x2d5819,_0x17f4d3){return _0x5b2413(_0x5857ed-0x72,_0x23e662-0x63,_0x5857ed- -0x5a8,_0x2d5819);}return{'requestedModelTier':_0x27b3b8['requestedModelTier'],..._0x3ad75b===void 0x0?{}:{'agentModelSet':_0x3ad75b},..._0x27b3b8[_0x47fb46(_0x560c91._0x1026e9,0x44d,_0x560c91._0x1bd5df,_0x560c91._0x4069b3)]?.[_0x4abc31(0x109,_0x560c91._0x312020,0xd9,-0x84)]===void 0x0?{}:{'resolvedModelIdentity':_0x27b3b8['routing']['resolvedModelIdentity']}};}function createStructuredWithRoutingSummary(_0x468a87,_0x12cbcc){const _0x3cc190={_0x587b8:0x101,_0x34fade:0xb9,_0x2be14c:0x34,_0x1a3fc9:0x455,_0xfe9c6a:0x3e4,_0x389320:0x16e,_0x1a1b41:0xe5},_0x523980={_0x3d753a:0xcd,_0x131e56:0x288},_0x3fccf7={..._0x468a87};function _0x25d6ef(_0x30b930,_0x3fe8e9,_0x3c802c,_0x4dfebc){return _0x5b2413(_0x30b930-0xaa,_0x3fe8e9-0x117,_0x4dfebc- -0x684,_0x3fe8e9);}delete _0x3fccf7[_0x25d6ef(_0x3cc190._0x587b8,_0x3cc190._0x34fade,-0x6f,_0x3cc190._0x2be14c)],delete _0x3fccf7[_0x25d6ef(_0x3cc190._0x1a3fc9,0x340,_0x3cc190._0xfe9c6a,0x23a)],delete _0x3fccf7[_0x25d6ef(-_0x3cc190._0x389320,0x62,-_0x3cc190._0x1a1b41,0x2d)];function _0x27edc8(_0x231aa4,_0x14cfac,_0x30f755,_0x1ae37f){return _0x5b2413(_0x231aa4-_0x523980._0x3d753a,_0x14cfac-0xe2,_0x14cfac- -_0x523980._0x131e56,_0x30f755);}return{..._0x3fccf7,...createRoutingSummary(_0x12cbcc)};}function createRunSummary(_0x2bd3b1){const _0x1d3352={_0x85957:0x786,_0xda4823:0x790,_0x424e01:0x7a1,_0x31bd40:0xf7,_0x4ba0d2:0x20a,_0x3d23db:0x1ab,_0x17b4cf:0x892,_0x4dff4f:0x6ea,_0x15360a:0x8ed,_0x57711a:0x176,_0x2a36ed:0x3a,_0x344648:0x15a,_0x23aead:0x29e,_0x113f48:0x17,_0x450d71:0x11f,_0x30d65d:0xef,_0x5a27d0:0x83,_0x394f52:0x82e},_0x2e5fe2={_0x100e2a:0x161,_0x241653:0x139},_0x2e6336={_0x5bd0ef:0x11c};function _0x13ce09(_0x3d4ecb,_0x568d2e,_0x18021b,_0x401712){return _0x28bc81(_0x3d4ecb-0x151,_0x568d2e-_0x2e6336._0x5bd0ef,_0x568d2e-0x3cd,_0x401712);}function _0x2b6827(_0x5d279e,_0x61de34,_0x1868bb,_0x371f53){return _0x28bc81(_0x5d279e-_0x2e5fe2._0x100e2a,_0x61de34-_0x2e5fe2._0x241653,_0x5d279e- -0x222,_0x1868bb);}return{'runId':_0x2bd3b1['runId'],'agentId':_0x2bd3b1['agentId'],..._0x2bd3b1[_0x13ce09(0x8bc,0x790,0x710,0x6f7)]!==void 0x0?{'sessionId':_0x2bd3b1[_0x13ce09(_0x1d3352._0x85957,_0x1d3352._0xda4823,0x6c5,_0x1d3352._0x424e01)]}:{},'status':_0x2bd3b1[_0x2b6827(-0x24,-_0x1d3352._0x31bd40,-_0x1d3352._0x4ba0d2,-_0x1d3352._0x3d23db)],'parentSessionId':_0x2bd3b1[_0x13ce09(_0x1d3352._0x17b4cf,_0x1d3352._0x4dff4f,_0x1d3352._0x15360a,0x8ad)],..._0x2bd3b1['originToolCallId']!==void 0x0?{'originToolCallId':_0x2bd3b1[_0x2b6827(_0x1d3352._0x57711a,_0x1d3352._0x2a36ed,-0x66,0x344)]}:{},...createRoutingSummary(_0x2bd3b1),..._0x2bd3b1['errorMessage']!==void 0x0?{'errorMessage':_0x2bd3b1[_0x2b6827(0x155,-0x95,_0x1d3352._0x344648,_0x1d3352._0x23aead)]}:{},..._0x2bd3b1[_0x2b6827(-_0x1d3352._0x113f48,0x5e,0x92,_0x1d3352._0x450d71)]?.['finalMessage']!==void 0x0?{'finalMessageText':getTextFromMessage(_0x2bd3b1[_0x2b6827(-0x17,-_0x1d3352._0x30d65d,_0x1d3352._0x5a27d0,0x36)][_0x13ce09(0x839,0x8c6,0x8ac,_0x1d3352._0x394f52)])}:{}};}function createRunSummaryOutput(_0x1e9f5a,_0x166069){const _0x138474={_0x3897cf:0x9f6,_0x30905d:0x88d},_0x5b726d=createRunSummary(_0x1e9f5a);function _0x4ec30f(_0x575941,_0x5e5493,_0x5c661d,_0x55a41c){return _0x28bc81(_0x575941-0xe9,_0x5e5493-0x16b,_0x5c661d-0x344,_0x575941);}const _0x241cfa=_0x5b726d['finalMessageText'];return createToolOutput(typeof _0x241cfa==='string'&&_0x241cfa[_0x4ec30f(_0x138474._0x3897cf,0x88a,_0x138474._0x30905d,0xa78)]>0x0?_0x241cfa:_0x166069,_0x5b726d);}function getRunTerminalErrorMessage(_0x7cd54b){const _0x3e9b41={_0x587e0c:0x530,_0x522c2a:0x389,_0x538fc5:0x12b,_0x11e846:0x6e8,_0x1ae671:0x57e,_0x213fe3:0x5fd,_0x30474b:0x41d,_0x5b3973:0x226,_0x54a073:0x1f6,_0x5ab61d:0x573,_0x441b34:0x4be,_0x5eb772:0x67d,_0xca36f7:0x6ef,_0x427a84:0x6ae},_0x3f99a5={_0x29b2b0:0xb5},_0x314122={_0x577bce:0x1a6},_0x3aa5bf=_0x7cd54b?.[_0x577cad(_0x3e9b41._0x587e0c,0x45e,_0x3e9b41._0x522c2a,0x2c3)]['toolResults']['at'](-0x1);function _0x577cad(_0x50acee,_0xf163fe,_0x45730d,_0x4a81a6){return _0x28bc81(_0x50acee-0x8d,_0xf163fe-0x0,_0x45730d-_0x314122._0x577bce,_0x4a81a6);}function _0x38510d(_0x53ac07,_0x2d5ce3,_0x49d102,_0x30f195){return _0x28bc81(_0x53ac07-0xd1,_0x2d5ce3-0x164,_0x49d102- -_0x3f99a5._0x29b2b0,_0x30f195);}if(_0x3aa5bf?.[_0x38510d(_0x3e9b41._0x538fc5,0xea,0x149,0x314)]===_0x577cad(_0x3e9b41._0x11e846,0x76b,_0x3e9b41._0x1ae671,_0x3e9b41._0x213fe3)&&_0x3aa5bf[_0x38510d(0x3ad,_0x3e9b41._0x30474b,_0x3e9b41._0x5b3973,_0x3e9b41._0x54a073)][_0x577cad(_0x3e9b41._0x5ab61d,0x337,_0x3e9b41._0x441b34,0x643)]()[_0x577cad(_0x3e9b41._0x5eb772,0x612,_0x3e9b41._0xca36f7,_0x3e9b41._0x427a84)]>0x0)return _0x3aa5bf[_0x577cad(0x276,0x3a3,0x481,0x680)];return void 0x0;}function formatAbortedRunMessage(_0x5e6dfb,_0x5752c9){const _0x1dffec={_0x389501:0x130,_0x162c3b:0x168,_0x57a7a1:0x5c,_0x46b4c2:0xad4,_0x1bcd25:0x91a,_0xa32272:0x7c8,_0x4b03a0:0x71b,_0x11dfc6:0x916,_0x158cee:0x8a4,_0x1dd90a:0x94c,_0x153c51:0x988,_0x28ee58:0x89f,_0x5e0ebe:0x5dc},_0x13c2fe={_0x255500:0x182},_0x48d64c={_0x4424be:0x115,_0x49e787:0x1df,_0x165851:0x64};function _0x190b16(_0x21f0a6,_0x27f842,_0x435607,_0x43ef75){return _0x5b2413(_0x21f0a6-_0x48d64c._0x4424be,_0x27f842-_0x48d64c._0x49e787,_0x435607-_0x48d64c._0x165851,_0x27f842);}const _0x2bbb47=_0x3fee03(_0x1dffec._0x389501,0x157,_0x1dffec._0x162c3b,-_0x1dffec._0x57a7a1)+_0x5e6dfb+_0x190b16(_0x1dffec._0x46b4c2,0x9ae,_0x1dffec._0x1bcd25,0xa65);function _0x3fee03(_0x25d034,_0x328ff6,_0x2ca0f5,_0x4516db){return _0x5b2413(_0x25d034-_0x13c2fe._0x255500,_0x328ff6-0x56,_0x25d034- -0x486,_0x2ca0f5);}if(!_0x5752c9||_0x5752c9[_0x190b16(_0x1dffec._0xa32272,0x790,_0x1dffec._0x4b03a0,0x52a)]()[_0x190b16(_0x1dffec._0x11dfc6,_0x1dffec._0x158cee,_0x1dffec._0x1dd90a,_0x1dffec._0x153c51)]===0x0||_0x5752c9===_0x2bbb47)return _0x2bbb47;return _0x2bbb47+_0x190b16(_0x1dffec._0x28ee58,_0x1dffec._0x5e0ebe,0x684,0x6b0)+_0x5752c9;}function createAssignTaskTool(_0x33fd86){const _0x3d8c5f={_0x990ca0:0x36c,_0x26fb0e:0x54f,_0x383621:0x622,_0x102c1f:0x182,_0x40e9e0:0x1a7,_0x15604f:0x1b,_0x350c60:0x45,_0x14dac9:0x280,_0x1ac0ad:0x411,_0x7f1906:0x28f,_0x4c4b3e:0x33d,_0x3a8a93:0x323,_0x5e0f69:0x2a4,_0x4dd33d:0x3f2,_0x508abd:0x79,_0xfa4cf1:0x2b7,_0x113c7c:0x348,_0x1a8c7c:0x1c2,_0xac39f1:0x2c8,_0x3c396b:0x260,_0xec0499:0x56c,_0x136f46:0x470,_0x36ab7d:0x1d3,_0x68a8c:0x3c7,_0x56abdc:0x676,_0x4919df:0x4fb,_0x554241:0x2ed,_0x475e1a:0x1b6,_0x158045:0xee},_0x1cb0d7={_0x2a1b52:0x54b,_0x6765bd:0x611,_0x4dff71:0x47a,_0x1c0f5a:0x49,_0x33c342:0xc8,_0x56b882:0x21b,_0x480758:0x254,_0x19b026:0x1a3,_0x91b9fe:0x200,_0x1bd3b9:0x76,_0x58052f:0x5,_0x5a0480:0x13b,_0x56f39d:0x309,_0x1340c5:0x17,_0x5e00f1:0x12d,_0x57e69c:0x102,_0x5ad117:0x49,_0xfe9c84:0xbc,_0x33ff39:0x1cf,_0x477397:0xc9,_0x2aa615:0x277,_0x1595d6:0x0,_0x46ed31:0x33,_0x1759e0:0x501,_0x160558:0xbe,_0x312159:0x22,_0x4a473e:0x1db,_0x1ce401:0x431,_0xe5f12b:0x143,_0x1826d5:0x1ff,_0x3ef6a2:0x243,_0x469f1f:0x210,_0x2f6861:0x2be,_0x46090d:0x188,_0xf17aa:0x110,_0x5f3dda:0x1aa,_0x3f78e8:0x107,_0x103aef:0x320,_0x39e510:0x6c0,_0x5b0d4f:0x342,_0x42e80f:0x4df,_0x22409b:0x562,_0xf0c8d2:0x260,_0x506d0e:0x3b6,_0x2e14e:0x369,_0x260c81:0x528,_0x3a018b:0x7d,_0x1ae282:0x1da,_0x4de0da:0x63,_0xf56821:0x1c8,_0x334a09:0x33d,_0x3b8236:0x275,_0x4124ab:0x1aa,_0x3fa552:0x56,_0x31974f:0x17e,_0x278c1c:0x1a0,_0x17e050:0x2a3,_0x5131b5:0xe8,_0x81162a:0x38a,_0x241669:0x54a,_0x526387:0x393,_0xdc840a:0x43c,_0x7debcb:0x25e,_0x193c47:0x348,_0x5a9021:0x54f,_0x1e8cf:0xa6,_0x84ad50:0x71d,_0x33db87:0x6c5,_0xafac75:0xb2,_0x70d31b:0x289,_0x14ef16:0x41b,_0x2a5950:0x4a1,_0x4ba486:0x327,_0xa75a1a:0x46c,_0x176bd2:0x48e,_0x30ad72:0x307,_0x57fb9f:0x28c,_0x53ed3a:0xa4,_0x435230:0x151,_0x1527e7:0x16c,_0x110b41:0x2dd,_0x37d1e9:0xbc,_0x1b623:0x29d,_0x148888:0x2ca,_0x1f1a9f:0x1c7,_0x5043a2:0x1c3,_0x37e480:0x324,_0x491eae:0x312,_0x49c7d0:0x1dd,_0xaada79:0x319,_0x5cc6a3:0x136,_0x5931c9:0x1a9,_0x17ed03:0x473,_0x5e73d7:0x4a8,_0x44a543:0x1cc,_0x57a624:0x1db,_0x583173:0x505,_0x19d8e9:0x248,_0x49111e:0x1d8,_0x4b64a9:0x2fc,_0x9a9f02:0x417,_0x239f07:0x175,_0x2eaf9f:0x2b4,_0x242887:0x3b6,_0x219806:0x289,_0x127b43:0x19d,_0x4da750:0x363,_0x4aa707:0x2c9,_0x30b4be:0x638,_0x51d069:0x472,_0x3db2a6:0x2f6,_0xe5eedf:0x3c3,_0x281b20:0x25b,_0x5d5a67:0x64c,_0x2e4587:0x74f,_0x315a96:0x531,_0x29b2db:0x1c2,_0x3d0a49:0x26c,_0x4e77d6:0x3ee,_0x2eba55:0x351,_0x595a3e:0x2d5,_0x48f005:0x204,_0x4863f2:0x232,_0x23c6c4:0x15e,_0x675748:0x5b6,_0x7f7ca7:0x3bb,_0x55154a:0x40a,_0x426e54:0x23c,_0x387bf5:0x5ea,_0x31347a:0x39b,_0x3b36bf:0x121,_0x243b54:0x457,_0x3ffd60:0x557,_0x33af59:0x11d,_0x2b976a:0x16a,_0xd0a8b6:0x287,_0x722d44:0x49a,_0x9b485e:0x19c,_0x43aabf:0x41a,_0x303dc8:0x330,_0x2dd21e:0x27f,_0x13620f:0x72,_0x5a1b1f:0x3db,_0x2e2f43:0x232,_0x435f5a:0x93,_0x24ac5d:0x35},_0x410db0={_0x5efd96:0xab},_0x4f595f={_0x50cf2a:0xd6},_0x410e37={_0x3ae4c7:0x6c,_0x4ae8c4:0x3a6};function _0x340b47(_0x508f25,_0xfdc558,_0x294334,_0x4c8fe9){return _0x5b2413(_0x508f25-_0x410e37._0x3ae4c7,_0xfdc558-0x1d,_0x294334- -_0x410e37._0x4ae8c4,_0x508f25);}function _0xf40377(_0x3b701a,_0xa617bc,_0x543971,_0x19bf39){return _0x5b2413(_0x3b701a-_0x4f595f._0x50cf2a,_0xa617bc-0xdc,_0x543971- -0x66d,_0x3b701a);}return defineTool({'name':'AssignTask','permissionClass':_0x340b47(0x740,_0x3d8c5f._0x990ca0,_0x3d8c5f._0x26fb0e,_0x3d8c5f._0x383621),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`task`\x20is\x20the\x20complete\x20instruction\x20sent\x20to\x20the\x20agent.','inputSchema':{'type':_0x340b47(0x19d,0x2f8,0x25e,0x272),'properties':{'agentId':{'type':'string','description':_0xf40377(_0x3d8c5f._0x102c1f,_0x3d8c5f._0x40e9e0,_0x3d8c5f._0x15604f,-_0x3d8c5f._0x350c60)},'description':{'type':_0x340b47(_0x3d8c5f._0x14dac9,_0x3d8c5f._0x1ac0ad,_0x3d8c5f._0x7f1906,0x35a),'description':_0xf40377(_0x3d8c5f._0x4c4b3e,_0x3d8c5f._0x3a8a93,0x263,_0x3d8c5f._0x5e0f69)},'nickname':{'type':_0x340b47(0x3a9,_0x3d8c5f._0x4dd33d,0x28f,_0x3d8c5f._0x508abd),'description':'Optional\x20short\x20display\x20name\x20for\x20this\x20delegated\x20run.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'task':{'type':_0x340b47(_0x3d8c5f._0xfa4cf1,_0x3d8c5f._0x113c7c,_0x3d8c5f._0x7f1906,0x403),'description':'Complete,\x20self-contained\x20instructions\x20sent\x20verbatim\x20to\x20the\x20delegated\x20agent.\x20Include\x20relevant\x20context,\x20scope,\x20constraints,\x20and\x20expected\x20output.'},'modelTier':{'type':_0x340b47(0x14e,_0x3d8c5f._0x1a8c7c,0x28f,_0x3d8c5f._0xac39f1),'enum':[...MODEL_TIERS],'description':_0x340b47(_0x3d8c5f._0x3c396b,_0x3d8c5f._0xec0499,_0x3d8c5f._0x136f46,0x4b8)}},'required':[_0x340b47(0x4c,0x16f,_0x3d8c5f._0x36ab7d,_0x3d8c5f._0x68a8c),_0x340b47(0x520,_0x3d8c5f._0x56abdc,_0x3d8c5f._0x4919df,_0x3d8c5f._0x554241),_0xf40377(0x10a,-_0x3d8c5f._0x475e1a,-_0x3d8c5f._0x158045,-0x6e)]},async *'execute'(_0x405890,_0x420dde){const _0x30a64d=createDelegatedRunId(),_0x3cd876=new AbortController(),_0x25a962=_0x405890[_0x20ffc7(_0x1cb0d7._0x2a1b52,_0x1cb0d7._0x6765bd,0x302,_0x1cb0d7._0x4dff71)],_0x54518d={'agentId':_0x405890[_0x3189e7(0x31,-_0x1cb0d7._0x1c0f5a,-_0x1cb0d7._0x33c342,-_0x1cb0d7._0x56b882)],'parentSessionId':_0x420dde[_0x3189e7(-0xf,0x1a0,0x252,0x389)],'runId':_0x30a64d,'signal':_0x3cd876[_0x3189e7(0x12f,0x1aa,0x20a,0x233)],..._0x420dde[_0x20ffc7(0x32d,_0x1cb0d7._0x480758,_0x1cb0d7._0x19b026,_0x1cb0d7._0x91b9fe)]!==void 0x0?{'toolCallId':_0x420dde['toolCallId']}:{},..._0x25a962===void 0x0?{}:{'modelTier':_0x25a962}},_0x316c4f=getDelegatedAgentDefinition(_0x33fd86,_0x405890['agentId']);if(!_0x316c4f)throw new ToolExecutionError(_0x3189e7(-0x16e,_0x1cb0d7._0x1bd3b9,_0x1cb0d7._0x58052f,_0x1cb0d7._0x5a0480)+_0x405890[_0x20ffc7(0x10e,_0x1cb0d7._0x56f39d,_0x1cb0d7._0x1340c5,_0x1cb0d7._0x5e00f1)],{'agentId':_0x405890[_0x3189e7(-_0x1cb0d7._0x57e69c,-_0x1cb0d7._0x5ad117,-_0x1cb0d7._0xfe9c84,_0x1cb0d7._0x33ff39)],..._0x25a962===void 0x0?{}:{'requestedModelTier':_0x25a962}});let _0x51a439={'runId':_0x30a64d,'agentId':_0x405890['agentId'],'status':_0x3189e7(-_0x1cb0d7._0x477397,0xb3,_0x1cb0d7._0x2aa615,-0x153),'parentSessionId':_0x420dde['sessionId'],..._0x420dde[_0x20ffc7(_0x1cb0d7._0x1595d6,0x1f3,0x2c2,0x200)]!==void 0x0?{'originToolCallId':_0x420dde[_0x3189e7(0xf,0x8a,-_0x1cb0d7._0x46ed31,0x1ea)]}:{},..._0x25a962===void 0x0?{}:{'requestedModelTier':_0x25a962}};const _0x1187a4=addAbortListener(_0x420dde[_0x20ffc7(0x355,_0x1cb0d7._0x1759e0,0x49d,0x320)],()=>{_0x3cd876['abort'](_0x420dde['signal']['reason']);});let _0xec6bba,_0x326f2b;function _0x20ffc7(_0x315ef4,_0x43e2a6,_0x48efd8,_0x45df00){return _0x340b47(_0x48efd8,_0x43e2a6-0xa1,_0x45df00- -0xa6,_0x45df00-0x11b);}let _0x1ead4e,_0x2f01bc,_0x2b159d=![],_0x37a5e1,_0x1fcbcb,_0x2f8c6b=![];function _0x3189e7(_0x27f44a,_0x522978,_0x29285c,_0x1c6db0){return _0xf40377(_0x1c6db0,_0x522978-0x133,_0x522978-_0x410db0._0x5efd96,_0x1c6db0-0xdd);}const _0x4fd002=_0x33fd86[_0x3189e7(-_0x1cb0d7._0x160558,-_0x1cb0d7._0x312159,-0x22e,_0x1cb0d7._0x4a473e)];try{_0x33fd86[_0x20ffc7(_0x1cb0d7._0x1ce401,_0x1cb0d7._0xe5f12b,_0x1cb0d7._0x1826d5,_0x1cb0d7._0x3ef6a2)]!==void 0x0&&(_0xec6bba=await _0x33fd86['semaphore'][_0x20ffc7(_0x1cb0d7._0x469f1f,_0x1cb0d7._0x2f6861,0x39b,_0x1cb0d7._0x46090d)](_0x3cd876['signal']));throwIfAborted(_0x3cd876[_0x3189e7(_0x1cb0d7._0xf17aa,_0x1cb0d7._0x5f3dda,0x14a,0xe1)]);const _0x2e03f1=await awaitWithAbort(resolveDelegatedAgentOptions(_0x316c4f,_0x54518d),_0x3cd876[_0x20ffc7(_0x1cb0d7._0x3f78e8,0x4c9,0x1b8,_0x1cb0d7._0x103aef)]);_0x51a439={..._0x51a439,..._0x25a962===void 0x0||_0x2e03f1[_0x20ffc7(_0x1cb0d7._0x39e510,0x3a3,_0x1cb0d7._0x5b0d4f,_0x1cb0d7._0x42e80f)]?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x2e03f1['routing'][_0x20ffc7(0x61e,0x475,_0x1cb0d7._0x22409b,0x472)]}};const _0x1e977b=_0x2e03f1[_0x3189e7(0x196,_0x1cb0d7._0xf0c8d2,_0x1cb0d7._0x506d0e,0x348)];throwIfAborted(_0x3cd876[_0x20ffc7(0x4ac,_0x1cb0d7._0x2e14e,_0x1cb0d7._0x260c81,_0x1cb0d7._0x103aef)]);const _0x117816=_0x33fd86['renderSystemPrompt']!==void 0x0&&_0x1e977b[_0x3189e7(-0x140,_0x1cb0d7._0x3a018b,_0x1cb0d7._0x1ae282,-_0x1cb0d7._0x4de0da)]!==void 0x0?{..._0x1e977b,'systemPrompt':_0x33fd86[_0x3189e7(0x36d,_0x1cb0d7._0xf56821,_0x1cb0d7._0x334a09,0x289)](_0x1e977b[_0x3189e7(0xd,0x7d,0x114,_0x1cb0d7._0x3b8236)])}:_0x1e977b;throwIfAborted(_0x3cd876[_0x3189e7(0x248,_0x1cb0d7._0x4124ab,_0x1cb0d7._0x3fa552,0x27a)]);const _0x164480=new Agent(_0x117816);_0x51a439={..._0x51a439,'sessionId':_0x164480[_0x3189e7(_0x1cb0d7._0x31974f,_0x1cb0d7._0x278c1c,_0x1cb0d7._0x17e050,0x71)],..._0x25a962===void 0x0?{}:{'routing':{'requestedModelTier':_0x25a962,..._0x51a439[_0x3189e7(_0x1cb0d7._0x5131b5,0x2fc,0x3a7,0x148)]===void 0x0?{}:{'agentModelSet':_0x51a439[_0x3189e7(0x461,0x2fc,0x51f,0x288)]},'resolvedModelIdentity':_0x164480[_0x3189e7(_0x1cb0d7._0x480758,_0x1cb0d7._0x81162a,_0x1cb0d7._0x241669,_0x1cb0d7._0x526387)][_0x20ffc7(_0x1cb0d7._0xdc840a,0x5fb,0x3f8,0x419)]['modelIdentity']}}},_0x326f2b=_0x33fd86[_0x3189e7(_0x1cb0d7._0x7debcb,_0x1cb0d7._0x193c47,0x3e0,_0x1cb0d7._0x5a9021)]?.(_0x164480,_0x54518d);const _0x118db0=new Promise(_0x3267b1=>{_0x2f01bc=_0x3267b1;});_0x1ead4e=_0x33fd86[_0x3189e7(-_0x1cb0d7._0x1e8cf,-0xe,0xb8,-0x1b)]?.({'runId':_0x30a64d,'abortController':_0x3cd876,'completion':_0x118db0});_0x4fd002!==void 0x0&&(await _0x4fd002[_0x20ffc7(0x4b2,_0x1cb0d7._0x84ad50,_0x1cb0d7._0x33db87,0x502)](_0x164480,_0x54518d),_0x2b159d=!![]);yield createToolOutput(_0x3189e7(_0x1cb0d7._0xafac75,_0x1cb0d7._0x70d31b,_0x1cb0d7._0x14ef16,0x71)+_0x51a439[_0x3189e7(_0x1cb0d7._0x2a5950,0x324,_0x1cb0d7._0x4ba486,0x2c8)]+'.',createRunSummary(_0x51a439)),throwIfAborted(_0x3cd876[_0x20ffc7(_0x1cb0d7._0xa75a1a,0x16b,_0x1cb0d7._0x176bd2,_0x1cb0d7._0x103aef)]);const _0x1507a6=await _0x164480[_0x20ffc7(0x2a0,_0x1cb0d7._0x30ad72,_0x1cb0d7._0x57fb9f,0x404)](_0x405890[_0x20ffc7(0x14f,_0x1cb0d7._0x53ed3a,0x178,0x133)],{'streaming':!![],'signal':_0x3cd876['signal']});_0x51a439={..._0x51a439,'status':_0x1507a6[_0x20ffc7(0xd5,0x22e,0x242,_0x1cb0d7._0x435230)],'result':_0x1507a6};if(_0x1507a6[_0x3189e7(-0xc3,-0x25,-0x245,_0x1cb0d7._0x1527e7)]!==_0x20ffc7(0x305,0x3a7,0x246,0x352)){const _0x48e52a=getRunTerminalErrorMessage(_0x1507a6),_0x5cdde0=formatAbortedRunMessage(_0x51a439[_0x3189e7(_0x1cb0d7._0x81162a,0x324,0x236,0x371)],_0x48e52a);_0x51a439={..._0x51a439,'status':_0x3189e7(_0x1cb0d7._0x110b41,_0x1cb0d7._0xfe9c84,-0x45,0x1bb),'errorMessage':_0x5cdde0},_0x37a5e1={'status':_0x3189e7(0x9d,_0x1cb0d7._0x37d1e9,0xd2,_0x1cb0d7._0x1b623),'errorMessage':_0x5cdde0};throw new ToolExecutionError(_0x5cdde0,{...createRunSummary(_0x51a439),'aborted':!![],'errorMessage':_0x5cdde0});}return _0x37a5e1={'status':_0x20ffc7(_0x1cb0d7._0x148888,_0x1cb0d7._0x1f1a9f,0x20a,0x352)},createRunSummaryOutput(_0x51a439,'Agent\x20run\x20'+_0x51a439[_0x3189e7(_0x1cb0d7._0x5043a2,_0x1cb0d7._0x37e480,0x26d,_0x1cb0d7._0x491eae)]+'\x20completed.');}catch(_0x514872){_0x1fcbcb=_0x514872,_0x2f8c6b=!![];if(_0x514872 instanceof ToolExecutionError){if(_0x37a5e1===void 0x0){if(isAbortError(_0x514872)||_0x3cd876[_0x3189e7(_0x1cb0d7._0x49c7d0,_0x1cb0d7._0x5f3dda,_0x1cb0d7._0xaada79,_0x1cb0d7._0x5cc6a3)][_0x3189e7(-0xc5,0xbc,0x134,_0x1cb0d7._0x5931c9)]||_0x420dde[_0x20ffc7(_0x1cb0d7._0x17ed03,_0x1cb0d7._0x5e73d7,_0x1cb0d7._0x44a543,0x320)]['aborted'])_0x37a5e1={'status':_0x3189e7(_0x1cb0d7._0x57a624,0xbc,0x9a,0x2ac)};else{const _0x781f55=_0x514872[_0x20ffc7(0x49d,_0x1cb0d7._0x583173,0x462,0x531)];_0x51a439={..._0x51a439,'status':_0x20ffc7(0x490,_0x1cb0d7._0x19d8e9,0x5a7,0x3b6),'errorMessage':_0x781f55},_0x37a5e1={'status':'failed','errorMessage':_0x781f55};}}if(_0x25a962===void 0x0)throw _0x514872;throw new ToolExecutionError(_0x514872['message'],createStructuredWithRoutingSummary(_0x514872['structured'],_0x51a439));}if(_0x514872 instanceof DelegatedResolutionError){const _0x511005={..._0x51a439};delete _0x511005['routing'],delete _0x511005[_0x3189e7(_0x1cb0d7._0x49111e,_0x1cb0d7._0x4b64a9,_0x1cb0d7._0x9a9f02,_0x1cb0d7._0x239f07)],_0x51a439={..._0x511005,'status':_0x20ffc7(0x3af,_0x1cb0d7._0x2eaf9f,0x4f5,_0x1cb0d7._0x242887),'errorMessage':_0x514872[_0x3189e7(_0x1cb0d7._0x219806,0x3bb,0x5b9,0x284)],..._0x25a962===void 0x0||_0x514872[_0x3189e7(_0x1cb0d7._0x127b43,_0x1cb0d7._0x4b64a9,_0x1cb0d7._0x4da750,0xe0)]===void 0x0?{}:{'agentModelSet':_0x514872[_0x20ffc7(0x45c,_0x1cb0d7._0x4aa707,_0x1cb0d7._0x30b4be,_0x1cb0d7._0x51d069)]}};throw new ToolExecutionError(_0x514872[_0x3189e7(0x3e5,0x3bb,0x544,0x290)],{...createRunSummary(_0x51a439),..._0x25a962===void 0x0||_0x514872[_0x20ffc7(_0x1cb0d7._0x3db2a6,0x121,_0x1cb0d7._0xe5eedf,0x25b)]===void 0x0?{}:{'selector':_0x514872[_0x20ffc7(0x3d6,0xd4,0x70,_0x1cb0d7._0x281b20)]},'errorMessage':_0x514872[_0x20ffc7(_0x1cb0d7._0x5d5a67,_0x1cb0d7._0x2e4587,0x5b6,_0x1cb0d7._0x315a96)]});}if(isAbortError(_0x514872)||_0x3cd876['signal'][_0x20ffc7(_0x1cb0d7._0x29b2db,_0x1cb0d7._0x3d0a49,_0x1cb0d7._0x4e77d6,0x232)]||_0x420dde['signal'][_0x20ffc7(_0x1cb0d7._0x2eba55,_0x1cb0d7._0x595a3e,_0x1cb0d7._0x48f005,_0x1cb0d7._0x4863f2)]){const _0x1209af=getRunTerminalErrorMessage(_0x51a439[_0x20ffc7(0x28,0x14c,0x270,_0x1cb0d7._0x23c6c4)])??(_0x514872 instanceof Error?_0x514872[_0x3189e7(_0x1cb0d7._0x675748,_0x1cb0d7._0x7f7ca7,_0x1cb0d7._0x55154a,_0x1cb0d7._0x426e54)]:String(_0x514872)),_0x149f41=formatAbortedRunMessage(_0x51a439[_0x20ffc7(_0x1cb0d7._0x387bf5,0x499,_0x1cb0d7._0x31347a,0x49a)],_0x1209af);_0x51a439={..._0x51a439,'status':_0x3189e7(-_0x1cb0d7._0x1e8cf,_0x1cb0d7._0xfe9c84,0xdf,-_0x1cb0d7._0x3b36bf),'errorMessage':_0x149f41},_0x37a5e1={'status':'aborted','errorMessage':_0x149f41};throw new ToolExecutionError(_0x149f41,{...createRunSummary(_0x51a439),'aborted':!![],'errorMessage':_0x149f41});}const _0x46db09=getRunTerminalErrorMessage(_0x51a439['result'])??(_0x514872 instanceof Error?_0x514872[_0x20ffc7(0x375,_0x1cb0d7._0x243b54,_0x1cb0d7._0x3ffd60,_0x1cb0d7._0x315a96)]:String(_0x514872))??_0x20ffc7(0x2e9,_0x1cb0d7._0x33af59,-0x38,_0x1cb0d7._0x2b976a)+_0x51a439[_0x20ffc7(0x36a,_0x1cb0d7._0xd0a8b6,0x68a,_0x1cb0d7._0x722d44)]+_0x20ffc7(_0x1cb0d7._0x9b485e,_0x1cb0d7._0x43aabf,_0x1cb0d7._0x303dc8,_0x1cb0d7._0x2dd21e);_0x51a439={..._0x51a439,'status':'failed','errorMessage':_0x46db09},_0x37a5e1={'status':'failed','errorMessage':_0x46db09};throw new ToolExecutionError(_0x46db09,{...createRunSummary(_0x51a439),'errorMessage':_0x46db09});}finally{let _0x75e0e8,_0x2b0cc9;const _0x3fac2d=_0x575974=>{if(_0x575974===void 0x0)return;try{_0x575974();}catch(_0x175189){_0x2b0cc9??=_0x175189 instanceof Error?_0x175189:new Error(String(_0x175189));}};if(_0x2b159d&&_0x4fd002!==void 0x0){const _0x35f4bb=_0x37a5e1??{'status':_0x20ffc7(0x3b2,_0x1cb0d7._0x13620f,_0x1cb0d7._0x5a1b1f,_0x1cb0d7._0x2e2f43)};try{await _0x4fd002['finish'](_0x54518d,_0x35f4bb);}catch(_0x5b413a){_0x75e0e8=_0x5b413a instanceof Error?_0x5b413a:new Error(String(_0x5b413a));}}_0x3fac2d(_0x33fd86[_0x3189e7(0x212,0x7,_0x1cb0d7._0x435f5a,-_0x1cb0d7._0x24ac5d)]===void 0x0?void 0x0:()=>_0x33fd86[_0x3189e7(-0xec,0x7,-0xe3,0x8c)]?.(_0x54518d)),_0x3fac2d(_0x2f01bc),_0x3fac2d(_0x1ead4e),_0x3fac2d(_0x326f2b),_0x3fac2d(_0xec6bba),_0x3fac2d(_0x1187a4),_0x75e0e8!==void 0x0&&(_0x2f8c6b&&(_0x75e0e8['cause']=_0x1fcbcb),rethrowDelegatedError(_0x75e0e8)),_0x2b0cc9!==void 0x0&&rethrowDelegatedError(_0x2b0cc9);}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0xb3e23a){return[createAssignTaskTool(_0xb3e23a)];}import{mkdir as _0x2679ea,writeFile}from'fs/promises';import*as _0x528770 from'path';function sanitizeFileName(_0xb0e3f1){const _0x48b79a={_0x469d34:0x1a0},_0x37ad7e={_0x2dabf0:0x1ab,_0xef20b8:0x114,_0x4036c7:0x756};function _0x3af8e2(_0x3f3360,_0x252fee,_0x42e88f,_0x2f1d95){return _0x5b2413(_0x3f3360-_0x37ad7e._0x2dabf0,_0x252fee-_0x37ad7e._0xef20b8,_0x252fee- -_0x37ad7e._0x4036c7,_0x2f1d95);}return _0xb0e3f1[_0x3af8e2(0x1f7,_0x48b79a._0x469d34,0x44,0x166)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x1d3de8,_0x1a584a){const _0x495949={_0x8893b9:0x67b,_0x1d11f8:0x63c,_0x5a7ec0:0x586,_0x7432d9:0x298,_0x480e8c:0x51b,_0x4059bb:0x4de,_0x2f91a9:0x3a5,_0x5c40eb:0x3dd,_0x4704a5:0x3dc,_0x331466:0x4a1,_0x23727e:0x5b3,_0x4e9d80:0xba7,_0x499e93:0xa56,_0x171487:0x49c,_0x587023:0x2cf,_0x29d45b:0x6bf,_0x1cac0c:0x7d8,_0x1f317d:0x8f9,_0x952e84:0x2c8,_0x291bd1:0x1a4,_0x2d467c:0x987,_0x2e0888:0x8c0,_0x1c8858:0xb20,_0x15aa3d:0x431,_0x2d23f3:0x7b0,_0x12b6a6:0x55e,_0x54f8c4:0x7fd,_0xc372c7:0x612,_0x2c7196:0x890,_0x1ec715:0x725,_0xb76187:0x619,_0x1288b1:0x65d,_0x29430c:0x433,_0x5a1b3b:0x862,_0x269225:0x4a0,_0x3541bb:0x4f4,_0x3155df:0x521,_0x5bc67d:0x556,_0x3aa533:0x6f2,_0x15ff73:0x4c0,_0x499fc5:0x5f4,_0x5deee0:0x65b,_0x387bc8:0x451,_0x379ad2:0x685,_0x441708:0x8f9,_0x200373:0x454,_0x25bacb:0x5bc,_0x1860c3:0x7a6,_0x520f66:0x5e7,_0x4ee9b2:0x920,_0x382ad6:0xa87,_0x10f07f:0x534,_0x1d751d:0x481,_0x23aa02:0x28c,_0x4f6abd:0x2f9,_0x771419:0x705,_0x234513:0x7b1},_0xe299f={_0xf348eb:0x93,_0x380cef:0x11,_0x416590:0x3a0},_0x1cc043={_0x542388:0x4a},{maxBytes:_0x351740,sessionDir:_0x3496c2}=_0x1a584a;if(!_0x1d3de8[_0x5e45c1(_0x495949._0x8893b9,0x59b,_0x495949._0x1d11f8,_0x495949._0x5a7ec0)]||Buffer[_0xf2c270(_0x495949._0x7432d9,0x3c5,_0x495949._0x480e8c,0x2c7)](_0x1d3de8['output'],_0x5e45c1(0x619,0x6b9,_0x495949._0x4059bb,0x606))<=_0x351740)return _0x1d3de8;function _0xf2c270(_0x59bb54,_0xc70b2e,_0x56f40e,_0x5b2198){return _0x28bc81(_0x59bb54-0x1d3,_0xc70b2e-_0x1cc043._0x542388,_0xc70b2e-0x81,_0x5b2198);}const _0x2a26ab=Buffer[_0xf2c270(0x508,0x3c5,0x4c7,_0x495949._0x2f91a9)](_0x1d3de8[_0xf2c270(0x501,0x35c,_0x495949._0x5c40eb,_0x495949._0x4704a5)],_0x5e45c1(0x619,_0x495949._0x331466,0x78a,_0x495949._0x23727e));if(!_0x3496c2){const _0x4fce27=_0x1d3de8[_0xf2c270(0x4b7,0x35c,0x342,0x150)]['slice'](0x0,_0x351740);return{..._0x1d3de8,'output':_0x4fce27+(_0x5e45c1(0x98b,0x93a,0xb61,_0x495949._0x4e9d80)+_0x351740+_0x5e45c1(0x8b1,0x81f,0x8cb,_0x495949._0x499e93)+_0x2a26ab+_0xf2c270(_0x495949._0x171487,0x5ba,0x3fc,0x469)),'meta':{..._0x1d3de8[_0xf2c270(_0x495949._0x587023,0x4b9,0x3d2,_0x495949._0x29d45b)],'truncated':!![],'originalBytes':_0x2a26ab,'transforms':[..._0x1d3de8[_0x5e45c1(_0x495949._0x1cac0c,_0x495949._0x1f317d,0x6a7,0x7b0)][_0xf2c270(0x181,_0x495949._0x952e84,_0x495949._0x291bd1,0x24a)],_0x5e45c1(_0x495949._0x2d467c,0x826,_0x495949._0x2e0888,_0x495949._0x1c8858)]}};}const _0x5a37af=_0x1d3de8[_0xf2c270(0x301,_0x495949._0x15aa3d,0x211,0x48e)]+'_'+sanitizeFileName(_0x1d3de8['callId'])+_0x5e45c1(0x656,_0x495949._0x2d23f3,0x508,_0x495949._0x12b6a6),_0x43e285=_0x528770[_0x5e45c1(_0x495949._0x54f8c4,_0x495949._0xc372c7,0x8ba,_0x495949._0x2c7196)](_0x3496c2,_0x5a37af);await _0x2679ea(_0x3496c2,{'recursive':!![]}),await writeFile(_0x43e285,_0x1d3de8[_0x5e45c1(0x67b,_0x495949._0x1ec715,0x6da,0x81f)],_0x5e45c1(_0x495949._0xb76187,0x570,_0x495949._0x1288b1,_0x495949._0x29430c));let _0x1a1962=_0x1d3de8[_0x5e45c1(_0x495949._0x8893b9,_0x495949._0x5a1b3b,0x61d,_0x495949._0x269225)]['slice'](0x0,_0x351740);const _0x3b0f25=_0x1a1962[_0xf2c270(_0x495949._0x3541bb,0x51c,_0x495949._0x3155df,0x636)]('\x0a');function _0x5e45c1(_0x23bf21,_0x279af4,_0x4eaa30,_0x39fc23){return _0x28bc81(_0x23bf21-_0xe299f._0xf348eb,_0x279af4-_0xe299f._0x380cef,_0x23bf21-_0xe299f._0x416590,_0x279af4);}_0x3b0f25>_0x351740*0.5&&(_0x1a1962=_0x1a1962[_0xf2c270(0x5c7,_0x495949._0x5bc67d,_0x495949._0x3aa533,_0x495949._0x15ff73)](0x0,_0x3b0f25));const _0x396d70=['',_0x5e45c1(_0x495949._0x499fc5,_0x495949._0x5deee0,_0x495949._0x387bc8,_0x495949._0x379ad2),_0x5e45c1(_0x495949._0x441708,0xaa6,0x9f8,0xa41)+_0x351740+_0x5e45c1(0x64c,_0x495949._0x200373,_0x495949._0x25bacb,0x7f6)+_0x2a26ab+_0x5e45c1(_0x495949._0x1860c3,0x5c6,0x8c6,_0x495949._0x520f66),_0x5e45c1(_0x495949._0x4ee9b2,0x9d6,0x9e8,_0x495949._0x382ad6)+_0x43e285,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.','</system-reminder>'][_0xf2c270(0x30b,_0x495949._0x4059bb,_0x495949._0x10f07f,0x6f9)]('\x0a');return{..._0x1d3de8,'output':_0x1a1962+_0x396d70,'meta':{..._0x1d3de8['meta'],'truncated':!![],'originalBytes':_0x2a26ab,'transforms':[..._0x1d3de8[_0xf2c270(_0x495949._0x1d751d,0x4b9,0x589,0x3da)][_0xf2c270(0x167,0x2c8,_0x495949._0x23aa02,_0x495949._0x4f6abd)],_0xf2c270(0x827,0x668,_0x495949._0x771419,_0x495949._0x234513)]}};}import{readFile as _0x300b53,stat as _0x3dcd52}from'fs/promises';function createAnchoredFileError(_0x4beaad,_0x38e90d,_0x325bc4){return new ToolExecutionError(_0x38e90d,{'error':_0x4beaad,..._0x325bc4});}import{createHash}from'crypto';function sha256Bytes(_0x45a7f7){const _0x48162d={_0x428358:0x663,_0x433372:0x76e,_0x2712b5:0x1a1,_0x384cb2:0x558,_0x2a2e6d:0x38f},_0x208c04={_0x51cd17:0x24,_0x31951d:0x23d},_0x6c2792={_0x22af70:0x1d5};function _0x5d3391(_0x54fb5,_0xf3a6bb,_0x5d6720,_0x28e60d){return _0x28bc81(_0x54fb5-0x33,_0xf3a6bb-_0x6c2792._0x22af70,_0x54fb5-0x370,_0x5d6720);}function _0x6a457f(_0x425a08,_0x31e11e,_0x66896c,_0x2fcf3d){return _0x28bc81(_0x425a08-0x6,_0x31e11e-_0x208c04._0x51cd17,_0x2fcf3d- -_0x208c04._0x31951d,_0x425a08);}return createHash(_0x5d3391(0x7ad,_0x48162d._0x428358,0x5d3,_0x48162d._0x433372))['update'](_0x45a7f7)['digest'](_0x6a457f(0x588,_0x48162d._0x2712b5,_0x48162d._0x384cb2,_0x48162d._0x2a2e6d));}function _0x28bc81(_0x526092,_0x312368,_0x4606ce,_0x40aedb){const _0x464173={_0x169761:0x28};return _0x8662(_0x4606ce- -_0x464173._0x169761,_0x40aedb);}function countLines(_0x53ee1b){const _0x228cdf={_0x5b2ba4:0x6a6},_0x4bd14d={_0x263d0f:0x13e,_0x10e2be:0x1e1},_0x5c09e6={_0x2bae04:0xb5,_0x285889:0x6ca};function _0x2af230(_0x529a15,_0xb82181,_0x47c272,_0x4ff599){return _0x5b2413(_0x529a15-0x3b,_0xb82181-_0x5c09e6._0x2bae04,_0xb82181- -_0x5c09e6._0x285889,_0x529a15);}function _0x1a0597(_0x32d71a,_0x89b863,_0x12151f,_0x145f3c){return _0x28bc81(_0x32d71a-_0x4bd14d._0x263d0f,_0x89b863-0x1b,_0x89b863-_0x4bd14d._0x10e2be,_0x145f3c);}const _0x365f3f=_0x53ee1b[_0x1a0597(0x909,0x738,0x8b6,0x6b7)](/\n$/,'');return _0x365f3f[_0x1a0597(_0x228cdf._0x5b2ba4,0x72a,0x508,0x7b6)]===0x0?0x0:_0x365f3f['split']('\x0a')['length'];}function replaceFirstExact(_0x2c64bb,_0x54cc90,_0x464a4f){const _0xae37eb={_0x4e238d:0x7d7,_0x1a082d:0x9e8,_0x128c1e:0x6c7,_0x10ac48:0x940,_0x17e2d4:0x62a,_0x2e8a38:0x788,_0x1cadef:0x7d6,_0x409cb2:0x5f4,_0xae2575:0x75e,_0x3dc16d:0x647,_0x3f1e1e:0x84a},_0x1e9127={_0x350b77:0x78,_0x235abf:0x301},_0x19b30e={_0xcf185a:0x107,_0xf28785:0x1da,_0x5628df:0xa6},_0x46025d=_0x2c64bb['indexOf'](_0x54cc90);if(_0x46025d===-0x1)return void 0x0;function _0x1e992a(_0x375bc9,_0x5ec8b1,_0x1df76b,_0x13a28b){return _0x5b2413(_0x375bc9-_0x19b30e._0xcf185a,_0x5ec8b1-_0x19b30e._0xf28785,_0x5ec8b1- -_0x19b30e._0x5628df,_0x13a28b);}const _0x1006bc=_0x2c64bb[_0x1e992a(_0xae37eb._0x4e238d,0x7ce,_0xae37eb._0x1a082d,_0xae37eb._0x128c1e)](0x0,_0x46025d)[_0x3a3374(0x810,0x552,_0xae37eb._0x10ac48,0x746)]('\x0a')[_0x3a3374(0x89f,0x8c1,_0xae37eb._0x17e2d4,0x84a)],_0x1a54b6=countLines(_0x54cc90),_0x51204d=countLines(_0x464a4f);function _0x3a3374(_0x3114fe,_0x3b88fa,_0x2d8713,_0x3963ef){return _0x28bc81(_0x3114fe-0x42,_0x3b88fa-_0x1e9127._0x350b77,_0x3963ef-_0x1e9127._0x235abf,_0x3114fe);}return{'before':_0x2c64bb,'after':_0x2c64bb[_0x3a3374(0x8e0,_0xae37eb._0x2e8a38,0x992,_0xae37eb._0x1cadef)](0x0,_0x46025d)+_0x464a4f+_0x2c64bb[_0x3a3374(0x61c,_0xae37eb._0x409cb2,0x71d,_0xae37eb._0x1cadef)](_0x46025d+_0x54cc90[_0x3a3374(_0xae37eb._0xae2575,0xa20,_0xae37eb._0x3dc16d,_0xae37eb._0x3f1e1e)]),'lineNumbers':{'oldStartLine':_0x1006bc,'oldEndLine':_0x1006bc+_0x1a54b6-0x1,'newStartLine':_0x1006bc,'newEndLine':_0x1006bc+_0x51204d-0x1,'oldLineCount':_0x1a54b6,'newLineCount':_0x51204d}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x775438){const _0x94a5ce={_0x3356a3:0x349};function _0x5d5bd8(_0x4d53f2,_0x3b6dc1,_0x2c3394,_0x379245){return _0x28bc81(_0x4d53f2-0x1b9,_0x3b6dc1-0x1a5,_0x3b6dc1-0x192,_0x4d53f2);}if(!Number['isSafeInteger'](_0x775438)||_0x775438<0x1)throw createAnchoredFileError('invalid_range',_0x5d5bd8(0x6b2,0x4a0,_0x94a5ce._0x3356a3,0x5e0)+String(_0x775438)+'.');}function rangeLines(_0x3cca8a,_0x17a377){function _0x3a6521(_0x3bea3e,_0x310d8e,_0x285d22,_0x1af795){return _0x28bc81(_0x3bea3e-0x53,_0x310d8e-0x188,_0x1af795-0x156,_0x310d8e);}const _0x5d384b=[];for(let _0x5e63b1=_0x3cca8a;_0x5e63b1<=_0x17a377;_0x5e63b1+=0x1){_0x5d384b[_0x3a6521(0x450,0x4fd,0x72a,0x50c)](_0x5e63b1);}return _0x5d384b;}function normalizeContent(_0x505780){const _0x219f8a={_0x30e97d:0x3d7,_0x19905e:0x2a9,_0xee9489:0x3ba,_0x4df502:0x868,_0x126f79:0x733,_0x379e1b:0x944},_0x5a5bab={_0x4b17be:0x194,_0x45c1ab:0x3d,_0x1cbafa:0x51f},_0x184f4e={_0x22cb4d:0x139,_0x5a5ad1:0xb1};function _0x1b58ff(_0x39be19,_0x25280d,_0x3c3fe0,_0x508324){return _0x5b2413(_0x39be19-0x14d,_0x25280d-_0x184f4e._0x22cb4d,_0x25280d- -_0x184f4e._0x5a5ad1,_0x508324);}function _0x5313a0(_0x321784,_0x125703,_0x120196,_0x299c58){return _0x5b2413(_0x321784-_0x5a5bab._0x4b17be,_0x125703-_0x5a5bab._0x45c1ab,_0x321784- -_0x5a5bab._0x1cbafa,_0x299c58);}return _0x505780[_0x5313a0(_0x219f8a._0x30e97d,_0x219f8a._0x19905e,0x541,_0x219f8a._0xee9489)](/\r\n/g,'\x0a')[_0x1b58ff(_0x219f8a._0x4df502,_0x219f8a._0x126f79,0x5ed,_0x219f8a._0x379e1b)]('\x0a');}function planOperations(_0x574199,_0x5ef657){const _0x327570={_0x1ef1f1:0x3c4,_0xb19ccc:0x267,_0x397ba2:0x73b,_0x321fce:0x7a4,_0x44d8f0:0x42a,_0x3b9938:0x314,_0x597ff8:0x323,_0x1af978:0x305,_0x19d16b:0x1ec,_0x323538:0x3f8,_0x43e09b:0x545,_0x2dd45a:0x53f,_0x4d3822:0x357,_0x1cd2d0:0x412,_0x286321:0x5c7},_0x43ee0f={_0x48ee98:0x6a1,_0x175e68:0x74a,_0x567cd5:0x7d1,_0x51513e:0x751,_0x276181:0x804,_0xa3b7e8:0x4c3,_0x1a9274:0x809,_0x3bfc5e:0x8b0,_0x1e6f08:0x6df,_0x1299bd:0x6f6,_0x27c073:0x6f7,_0x215b54:0x58e,_0x239bfb:0x66a,_0x12d2ab:0x59c,_0x23c9a5:0x428,_0x3c9bda:0x403,_0x15150c:0x61f,_0x3c0518:0x718,_0x46fb9d:0x616,_0x2b3116:0x498,_0x17d3df:0x6e2,_0x223aff:0x392,_0x1e9b35:0x25e,_0x29da48:0x403,_0x4c775c:0x410,_0xfa1695:0x3da,_0x367473:0x7ab,_0x80936c:0x5bc,_0x2f61d1:0x670,_0x2d0b45:0x8e2,_0x1415b1:0xaa9,_0x3812ed:0x788,_0x113e02:0x5ea,_0x29cd4a:0xad5,_0x241d7a:0x596,_0x278eb4:0x8c7,_0xf1aeee:0x8b3,_0x4edcc2:0x538,_0x2a0de3:0x595,_0x1d36d7:0x662,_0x44b7d6:0x6d4,_0x4a9349:0x72e,_0x48a8a8:0x808,_0x72472d:0x70c,_0x2ea639:0xa03,_0x4de707:0x7f5,_0x2d626d:0x778,_0x36185a:0x7c0,_0x7f6a5b:0x8ff,_0x541ce0:0x649,_0x198c36:0x503,_0x173317:0x58e,_0x5aa985:0x649,_0x392e75:0x678,_0x32343b:0x521,_0x561232:0x394,_0x4d7a49:0x562,_0x272de1:0x4b4,_0x552ba8:0x4b6,_0x344630:0x9b5,_0x433414:0x649,_0x537f71:0x5e1,_0x1c2e61:0x4e7,_0x5830d8:0x9b6,_0x32c51f:0xacd,_0x129121:0xa80,_0x128787:0x8a6,_0x1db0e4:0x986,_0xa51b16:0x6cc,_0x9d0e6:0x698,_0x55a639:0x7f5,_0x5ba6c0:0x758,_0xf1149f:0x669,_0x317700:0x828,_0x3849c4:0x6dc,_0x4622f6:0x7a3,_0x232a98:0x773,_0x4f1537:0x7f5,_0x1f2845:0x687,_0x55517a:0x6db,_0x1f7de4:0x40e,_0x71facd:0x928,_0x47b823:0x5a7,_0x48366c:0x5b6,_0xd2281e:0x80c,_0x5bce58:0x40d,_0x5953d9:0x35d,_0x103c5b:0x624,_0x59b893:0x3b5,_0x1fd817:0x477,_0x56d14a:0x673,_0x5b1e74:0x675,_0x310414:0x788,_0x58a85c:0x952,_0x40dff1:0x1fc,_0x4eb05d:0x7a0,_0x1ef479:0x71e,_0x1fa80f:0x9f4,_0x25296a:0x7f7,_0x872653:0x5f6,_0x5b2b35:0xb24,_0x5ba4b1:0x800,_0x47f0b8:0x59e,_0x57fc34:0x7b4,_0xb694e6:0x4e0,_0x4ea397:0x548,_0x3308e7:0x4fb,_0x2c5de1:0xa66,_0x457982:0x888,_0x2c6376:0x69b,_0x109192:0x794,_0xba59de:0x60d,_0x8467d:0x884,_0x3b8363:0x77e,_0x512fc3:0xa07,_0x5e946a:0x86f,_0x3049a8:0xb16,_0x28ed29:0xb18,_0x21d7d6:0x961,_0xa6e8a1:0x8c3,_0x1cceb2:0x6f3,_0x4d6696:0x5d7,_0x1b8323:0x5fe,_0x3b2831:0x403,_0x49fb2b:0x389,_0x2453ce:0x6ca,_0x252e36:0x749},_0x291f00={_0x5d8fb1:0x347},_0x966fbf={_0x2e68a2:0x14c},_0x14a8b6={_0x2d9707:0x76,_0x401f9c:0xd8};function _0x3cd210(_0xa87cd8,_0x147b63,_0x398ab6,_0x137119){return _0x5b2413(_0xa87cd8-_0x14a8b6._0x2d9707,_0x147b63-_0x14a8b6._0x401f9c,_0x137119- -0x3a9,_0x147b63);}if(_0x5ef657['length']===0x0)throw createAnchoredFileError(_0x3cd210(0x46a,0x25b,_0x327570._0x1ef1f1,_0x327570._0xb19ccc),_0x3cd210(0x4af,0x5b6,0x323,0x3f3));if(_0x5ef657[_0x237a3c(_0x327570._0x397ba2,0x5bb,_0x327570._0x321fce,0x5fb)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x237a3c(0x3ba,_0x327570._0x44d8f0,_0x327570._0x3b9938,_0x327570._0x597ff8),_0x3cd210(_0x327570._0x1af978,0x22d,_0x327570._0x19d16b,0x1dd)+MAX_OPERATIONS+_0x237a3c(0x611,_0x327570._0x323538,0x4b2,0x593));function _0x237a3c(_0x1efbaa,_0x21e1e6,_0x18fa64,_0x56dcdd){return _0x28bc81(_0x1efbaa-0x1a9,_0x21e1e6-_0x966fbf._0x2e68a2,_0x56dcdd-0xb2,_0x21e1e6);}if(_0x574199['lines'][_0x3cd210(0x4cc,0x492,_0x327570._0x43e09b,_0x327570._0x2dd45a)]===0x0)throw createAnchoredFileError(_0x237a3c(_0x327570._0x4d3822,0x4c5,_0x327570._0x1cd2d0,0x323),'Empty\x20files\x20have\x20no\x20observable\x20line\x20anchors;\x20anchored\x20edits\x20require\x20at\x20least\x20one\x20line.');return _0x5ef657[_0x3cd210(0x768,0x7c8,0x5b6,_0x327570._0x286321)](_0xcb4f7=>{const _0x5094ad={_0x2f37d1:0x7f};function _0x49c468(_0x4bf4b3,_0x1e6585,_0x520099,_0x1495ee){return _0x237a3c(_0x4bf4b3-_0x5094ad._0x2f37d1,_0x1495ee,_0x520099-0xd6,_0x1e6585-0xe0);}function _0x5e2308(_0x1c5e3e,_0x4bb4df,_0x548440,_0x5df23b){return _0x237a3c(_0x1c5e3e-0x18b,_0x4bb4df,_0x548440-0x145,_0x1c5e3e-_0x291f00._0x5d8fb1);}switch(_0xcb4f7[_0x49c468(_0x43ee0f._0x48ee98,_0x43ee0f._0x175e68,_0x43ee0f._0x567cd5,0x8d9)]){case _0x5e2308(0x950,0x9b5,_0x43ee0f._0x51513e,_0x43ee0f._0x276181):{requireValidAnchorLine(_0xcb4f7[_0x49c468(0x728,0x649,_0x43ee0f._0xa3b7e8,_0x43ee0f._0x1a9274)]),requireValidAnchorLine(_0xcb4f7['endLine']);if(_0xcb4f7[_0x5e2308(_0x43ee0f._0x3bfc5e,_0x43ee0f._0x1e6f08,_0x43ee0f._0x1299bd,0x76c)]>_0xcb4f7[_0x49c468(_0x43ee0f._0x27c073,_0x43ee0f._0x215b54,0x3e5,0x52f)])throw createAnchoredFileError(_0x5e2308(_0x43ee0f._0x239bfb,0x74f,0x44f,0x50b),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');if(typeof _0xcb4f7['content']!==_0x49c468(_0x43ee0f._0x12d2ab,_0x43ee0f._0x23c9a5,0x399,0x3f3))throw createAnchoredFileError(_0x49c468(0x4fb,_0x43ee0f._0x3c9bda,_0x43ee0f._0x15150c,0x54f),_0x5e2308(_0x43ee0f._0x3c0518,0x5a8,0x50b,_0x43ee0f._0x46fb9d));if(_0xcb4f7['endLine']>_0x574199[_0x49c468(_0x43ee0f._0x2b3116,0x521,_0x43ee0f._0x17d3df,_0x43ee0f._0x223aff)]['length'])throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x1e9b35,_0x43ee0f._0x29da48,_0x43ee0f._0x4c775c,_0x43ee0f._0xfa1695),_0x5e2308(_0x43ee0f._0x367473,_0x43ee0f._0x80936c,_0x43ee0f._0x2f61d1,_0x43ee0f._0x2d0b45)+_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x1415b1,0x961,0xace)]+',\x20'+_0xcb4f7[_0x49c468(0x3a8,0x58e,0x79a,0x4f4)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x574199[_0x5e2308(_0x43ee0f._0x3812ed,0x669,_0x43ee0f._0x3c0518,_0x43ee0f._0x113e02)][_0x5e2308(0x942,0x8d8,_0x43ee0f._0x29cd4a,0x8b9)]+_0x49c468(0x66e,0x63f,_0x43ee0f._0x241d7a,0x580));const _0x22f700=normalizeContent(_0xcb4f7[_0x5e2308(_0x43ee0f._0x278eb4,0x9a9,0xa04,0x97f)]);return{'kind':'replace','canonical':{'operation':_0x49c468(_0x43ee0f._0xf1aeee,0x6e9,_0x43ee0f._0x4edcc2,_0x43ee0f._0x2a0de3),'startLine':_0xcb4f7['startLine'],'endLine':_0xcb4f7[_0x5e2308(0x7f5,_0x43ee0f._0x1d36d7,0x8a1,0x9ba)],'content':_0x22f700['join']('\x0a')},'spliceIndex':_0xcb4f7[_0x5e2308(0x8b0,0xab0,0x85b,_0x43ee0f._0x44b7d6)]-0x1,'deleteCount':_0xcb4f7[_0x49c468(0x515,_0x43ee0f._0x215b54,0x522,_0x43ee0f._0x4a9349)]-_0xcb4f7[_0x5e2308(0x8b0,0xa89,0x93c,_0x43ee0f._0x48a8a8)]+0x1,'rows':_0x22f700,'sourceStart':_0xcb4f7['startLine'],'sourceEnd':_0xcb4f7['endLine'],'requiredLines':rangeLines(_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x72472d,0x80c,_0x43ee0f._0x2ea639)],_0xcb4f7[_0x5e2308(_0x43ee0f._0x4de707,0x745,_0x43ee0f._0x2d626d,_0x43ee0f._0x36185a)])};}case _0x5e2308(_0x43ee0f._0x7f6a5b,0x821,0x7bb,0x930):{requireValidAnchorLine(_0xcb4f7[_0x49c468(0x803,_0x43ee0f._0x541ce0,0x755,0x4e6)]),requireValidAnchorLine(_0xcb4f7[_0x49c468(_0x43ee0f._0x198c36,_0x43ee0f._0x173317,0x3cb,0x747)]);if(_0xcb4f7[_0x49c468(0x867,_0x43ee0f._0x5aa985,0x65c,0x4b7)]>_0xcb4f7['endLine'])throw createAnchoredFileError(_0x5e2308(0x66a,_0x43ee0f._0x392e75,0x481,0x4d3),_0x5e2308(0x5fc,0x6f7,_0x43ee0f._0x113e02,0x446));if(_0xcb4f7['endLine']>_0x574199[_0x49c468(0x6ce,_0x43ee0f._0x32343b,0x499,_0x43ee0f._0x561232)]['length'])throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x4d7a49,0x403,_0x43ee0f._0x272de1,_0x43ee0f._0x552ba8),_0x5e2308(0xa03,0x910,_0x43ee0f._0x344630,0xb70)+_0xcb4f7[_0x49c468(0x680,_0x43ee0f._0x433414,_0x43ee0f._0x537f71,_0x43ee0f._0x1c2e61)]+',\x20'+_0xcb4f7['endLine']+_0x5e2308(_0x43ee0f._0x5830d8,_0x43ee0f._0x32c51f,0xaec,_0x43ee0f._0x129121)+_0x574199['lines']['length']+_0x5e2308(_0x43ee0f._0x128787,_0x43ee0f._0x1db0e4,0x786,_0x43ee0f._0xa51b16));return{'kind':_0x49c468(_0x43ee0f._0xa3b7e8,_0x43ee0f._0x9d0e6,0x778,0x80d),'canonical':{'operation':'delete','startLine':_0xcb4f7['startLine'],'endLine':_0xcb4f7[_0x5e2308(_0x43ee0f._0x55a639,0x679,0x82a,_0x43ee0f._0x5ba6c0)]},'spliceIndex':_0xcb4f7[_0x5e2308(0x8b0,0x9e4,0x879,0x857)]-0x1,'deleteCount':_0xcb4f7[_0x49c468(0x5e2,_0x43ee0f._0x215b54,0x5ea,_0x43ee0f._0xf1149f)]-_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x317700,_0x43ee0f._0x3849c4,0x941)]+0x1,'rows':[],'sourceStart':_0xcb4f7['startLine'],'sourceEnd':_0xcb4f7[_0x49c468(0x764,_0x43ee0f._0x173317,0x43b,_0x43ee0f._0x4622f6)],'requiredLines':rangeLines(_0xcb4f7[_0x5e2308(0x8b0,0x6a4,0x8dc,_0x43ee0f._0x232a98)],_0xcb4f7[_0x5e2308(_0x43ee0f._0x4f1537,0xa06,_0x43ee0f._0x1f2845,_0x43ee0f._0x55517a)])};}case'insert':{requireValidAnchorLine(_0xcb4f7['line']);if(_0xcb4f7[_0x49c468(0x5cb,_0x43ee0f._0x1f7de4,0x4b5,0x1f8)]!==_0x5e2308(0x747,_0x43ee0f._0x71facd,_0x43ee0f._0x47b823,_0x43ee0f._0x48366c)&&_0xcb4f7[_0x5e2308(0x675,_0x43ee0f._0xd2281e,0x5aa,0x66d)]!=='after')throw createAnchoredFileError('invalid_range',_0x49c468(_0x43ee0f._0x5bce58,_0x43ee0f._0x5953d9,0x234,0x297));if(typeof _0xcb4f7[_0x49c468(0x6a1,0x660,_0x43ee0f._0x1e6f08,_0x43ee0f._0x103c5b)]!==_0x49c468(_0x43ee0f._0x59b893,0x428,_0x43ee0f._0x1fd817,0x29b))throw createAnchoredFileError('invalid_range',_0x49c468(0x37d,0x506,0x665,_0x43ee0f._0x56d14a));if(_0xcb4f7[_0x49c468(0x823,0x7a0,_0x43ee0f._0x5b1e74,0x67f)]>_0x574199[_0x5e2308(_0x43ee0f._0x310414,_0x43ee0f._0x58a85c,0x811,0x7d6)][_0x5e2308(0x942,0x928,0xa23,0x8da)])throw createAnchoredFileError(_0x49c468(0x41e,0x403,_0x43ee0f._0x40dff1,0x243),'insert\x20line\x20'+_0xcb4f7[_0x49c468(0x86b,_0x43ee0f._0x4eb05d,_0x43ee0f._0x1ef479,0x8c0)]+_0x5e2308(_0x43ee0f._0x1fa80f,_0x43ee0f._0x25296a,0x83d,0xbb2)+_0x574199[_0x49c468(_0x43ee0f._0x872653,0x521,0x35e,0x5ff)][_0x5e2308(0x942,_0x43ee0f._0x5b2b35,0x9de,0xb05)]+_0x49c468(0x43f,0x63f,_0x43ee0f._0x5ba4b1,_0x43ee0f._0x47f0b8));const _0x387f8f=normalizeContent(_0xcb4f7[_0x5e2308(0x8c7,0x9ef,_0x43ee0f._0x57fc34,0x97a)]),_0x4e454e=_0xcb4f7[_0x5e2308(_0x43ee0f._0x5b1e74,0x897,0x4f1,0x519)]===_0x49c468(0x559,_0x43ee0f._0xb694e6,_0x43ee0f._0x4ea397,_0x43ee0f._0x3308e7)?_0xcb4f7[_0x5e2308(0xa07,0x9d9,_0x43ee0f._0x2c5de1,_0x43ee0f._0x457982)]-0x1:_0xcb4f7[_0x5e2308(0xa07,0x890,0x882,0xbd0)];return{'kind':_0x49c468(_0x43ee0f._0x2c6376,0x794,0x98c,0x5b2),'canonical':{'operation':_0x49c468(0x58f,_0x43ee0f._0x109192,0x971,_0x43ee0f._0xba59de),'position':_0xcb4f7[_0x5e2308(0x675,0x491,_0x43ee0f._0x8467d,_0x43ee0f._0x3b8363)],'line':_0xcb4f7[_0x5e2308(_0x43ee0f._0x512fc3,_0x43ee0f._0x5e946a,_0x43ee0f._0x3049a8,_0x43ee0f._0x28ed29)],'content':_0x387f8f[_0x5e2308(0x856,0x664,0x959,_0x43ee0f._0x21d7d6)]('\x0a')},'spliceIndex':_0x4e454e,'deleteCount':0x0,'rows':_0x387f8f,'gap':_0x4e454e,'requiredLines':[_0xcb4f7[_0x49c468(_0x43ee0f._0xa6e8a1,0x7a0,_0x43ee0f._0x1cceb2,_0x43ee0f._0x4d6696)]]};}default:{const _0x1dc545=_0xcb4f7;throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x1b8323,_0x43ee0f._0x3b2831,_0x43ee0f._0x49fb2b,0x1e8),_0x5e2308(_0x43ee0f._0x2453ce,_0x43ee0f._0x252e36,0x6cb,0x784)+String(_0x1dc545['operation'])+'\x27.');}}});}function assertNoOverlaps(_0x439f00){const _0x1d59b6={_0x5a0eae:0x850,_0x5742c1:0x848,_0x1a2e0c:0x72d,_0x1c582e:0x796,_0x1c3138:0x2b5,_0x447520:0x343,_0x32b0d0:0x99e,_0x14f16c:0x6e2,_0x4c0596:0x707,_0x2272b6:0x812,_0x277f7c:0x69c,_0x4a0266:0x6c4,_0x11627c:0x314,_0x34d57b:0x55,_0x20031e:0x387,_0x1c5c35:0x365,_0x3425b0:0x265,_0x9739b:0x425,_0x5891e9:0x1b2,_0x467de6:0x43a,_0x593150:0x746,_0x42c418:0x803,_0x164dbe:0x32a,_0x2100b8:0x269,_0xca8a04:0x747,_0x5e5a36:0x7a5,_0x382e16:0x82c,_0x1d1aed:0x940,_0x2b94aa:0x874,_0x3c5721:0x95d,_0x25bd6e:0x95d,_0x5dc629:0xa04,_0x3b07e8:0x12c,_0x428c4a:0x2e7,_0x4b4c11:0x8f3,_0x589a00:0x33},_0x262764={_0x2063e6:0x5a5};function _0x17ec2f(_0x6bb0bf,_0x4a89ac,_0x590475,_0x51cf45){return _0x28bc81(_0x6bb0bf-0x138,_0x4a89ac-0x4a,_0x4a89ac-0x35c,_0x51cf45);}function _0x4b533b(_0x5f0ce2,_0x4d54ad,_0x323ace,_0x45e923){return _0x5b2413(_0x5f0ce2-0x15e,_0x4d54ad-0x1b3,_0x323ace- -_0x262764._0x2063e6,_0x45e923);}const _0x38d7c4=_0x439f00['filter'](_0x17631c=>_0x17631c[_0x4b533b(0x455,0x4f6,0x305,0x519)]===_0x4b533b(0x36a,0x46a,0x351,0x511)||_0x17631c[_0x4b533b(0x22b,0x29d,0x305,0x112)]===_0x4b533b(0x4bb,0x215,0x300,0x2c7)),_0x4a1139=_0x439f00[_0x17ec2f(_0x1d59b6._0x5a0eae,0x7e1,0x6df,_0x1d59b6._0x5742c1)](_0x524199=>_0x524199[_0x17ec2f(0x680,0x867,0x9af,0x8aa)]===_0x17ec2f(0x7bb,0x95e,0x99d,0x9f2));for(let _0x51f915=0x0;_0x51f915<_0x38d7c4[_0x17ec2f(_0x1d59b6._0x1a2e0c,0x8a5,_0x1d59b6._0x1c582e,0x930)];_0x51f915+=0x1){for(let _0x569c2d=_0x51f915+0x1;_0x569c2d<_0x38d7c4[_0x4b533b(0x21f,_0x1d59b6._0x1c3138,_0x1d59b6._0x447520,0x2dc)];_0x569c2d+=0x1){const _0x3d3b50=_0x38d7c4[_0x51f915],_0xa40c37=_0x38d7c4[_0x569c2d];if(Math[_0x17ec2f(0x646,0x7c3,_0x1d59b6._0x32b0d0,_0x1d59b6._0x14f16c)](_0x3d3b50['sourceStart'],_0xa40c37[_0x17ec2f(0x4f7,_0x1d59b6._0x4c0596,0x817,_0x1d59b6._0x2272b6)])<=Math[_0x17ec2f(0x57d,_0x1d59b6._0x277f7c,_0x1d59b6._0x4a0266,0x852)](_0x3d3b50['sourceEnd'],_0xa40c37[_0x4b533b(_0x1d59b6._0x11627c,-_0x1d59b6._0x34d57b,0x1c6,_0x1d59b6._0x20031e)]))throw createAnchoredFileError(_0x4b533b(0x22c,_0x1d59b6._0x1c5c35,_0x1d59b6._0x3425b0,_0x1d59b6._0x9739b),_0x4b533b(0x24a,-_0x1d59b6._0x5891e9,0x56,-0x2c));}}for(let _0x6b97c0=0x0;_0x6b97c0<_0x4a1139[_0x4b533b(0x552,_0x1d59b6._0x467de6,0x343,0x348)];_0x6b97c0+=0x1){for(let _0x33a833=_0x6b97c0+0x1;_0x33a833<_0x4a1139[_0x17ec2f(0x917,0x8a5,0x99d,0x7fa)];_0x33a833+=0x1){if(_0x4a1139[_0x6b97c0][_0x17ec2f(_0x1d59b6._0x593150,0x95d,_0x1d59b6._0x42c418,0x95f)]===_0x4a1139[_0x33a833][_0x4b533b(0x57c,_0x1d59b6._0x164dbe,0x3fb,_0x1d59b6._0x2100b8)])throw createAnchoredFileError(_0x17ec2f(0x6fd,0x7c7,_0x1d59b6._0xca8a04,_0x1d59b6._0x5e5a36),_0x17ec2f(0x796,_0x1d59b6._0x382e16,_0x1d59b6._0x1d1aed,0x826));}}for(const _0x49a1e6 of _0x4a1139){for(const _0x3d83ce of _0x38d7c4){if(_0x49a1e6[_0x17ec2f(_0x1d59b6._0x2b94aa,_0x1d59b6._0x3c5721,0xa9f,0x9ba)]>=_0x3d83ce['sourceStart']&&_0x49a1e6[_0x17ec2f(0xa2f,_0x1d59b6._0x25bd6e,_0x1d59b6._0x5dc629,0x7c3)]<=_0x3d83ce[_0x4b533b(_0x1d59b6._0x3b07e8,_0x1d59b6._0x428c4a,0x1c6,0x2ea)]-0x1)throw createAnchoredFileError(_0x17ec2f(_0x1d59b6._0x4b4c11,0x7c7,_0x1d59b6._0xca8a04,0x843),_0x4b533b(0x92,0x1a9,_0x1d59b6._0x589a00,0x15b));}}}function assertLinesObserved(_0x4c233f,_0x2ab427){const _0x11ac52={_0x408876:0x5a4,_0x1bcff7:0x387,_0x59ba3b:0x1df,_0xe0772f:0xc1,_0x3b26db:0xb1,_0xf13efa:0x145,_0x58ec8d:0xdc,_0x900151:0x481,_0x39a9cb:0x509,_0x5d6b7a:0x207},_0x2dbedc={_0x112865:0x8f,_0x17c25f:0x6c2},_0x35380a={_0x8900bd:0xf4,_0x107ffb:0x2c2},_0x513a29=new Set();function _0x4c5f7b(_0x12cf12,_0x49b058,_0x1c5b05,_0x17339d){return _0x5b2413(_0x12cf12-_0x35380a._0x8900bd,_0x49b058-0x17c,_0x12cf12- -_0x35380a._0x107ffb,_0x17339d);}for(const _0xce58ea of _0x4c233f){for(const _0x1836be of _0xce58ea[_0x4c5f7b(_0x11ac52._0x408876,0x7a4,_0x11ac52._0x1bcff7,0x480)]){_0x513a29[_0x5c7851(-0xb8,-_0x11ac52._0x59ba3b,_0x11ac52._0xe0772f,0x12c)](_0x1836be);}}const _0x370348=[..._0x513a29][_0x5c7851(-0x5b,-0xc,-_0x11ac52._0x3b26db,_0x11ac52._0xf13efa)]((_0x513591,_0x572787)=>_0x513591-_0x572787);function _0x5c7851(_0x3cca27,_0x367f15,_0x5203f8,_0x37f16d){return _0x5b2413(_0x3cca27-_0x2dbedc._0x112865,_0x367f15-0x3d,_0x3cca27- -_0x2dbedc._0x17c25f,_0x37f16d);}for(const _0x2d19b8 of _0x370348){if(!_0x2ab427[_0x5c7851(-0x18,0x1a1,-0xda,_0x11ac52._0x58ec8d)](_0x2d19b8))throw createAnchoredFileError(_0x4c5f7b(_0x11ac52._0x900151,0x55d,_0x11ac52._0x39a9cb,0x589),_0x4c5f7b(0x320,_0x11ac52._0x5d6b7a,0x2cd,0x401)+_0x2d19b8+'\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20it\x20can\x20be\x20used\x20as\x20an\x20edit\x20anchor.',{'requiredLines':_0x370348});}return _0x370348;}function applyOperations(_0x26911f,_0x4129e8){const _0x40347d={_0x2fd82c:0xdf,_0x555359:0x1b6,_0x3298ca:0x308,_0x4b6d43:0x37,_0x95868f:0xc1,_0x13c0da:0xcd,_0x3bd59f:0x61,_0x4a7384:0x1fc,_0x1b2680:0x1ad,_0x574c42:0x75,_0x45a152:0xb6,_0x5a28f8:0x119,_0x24e614:0x113},_0x3207b0={_0x43cba1:0xc},_0x287261={_0x1b5c89:0x570,_0x66965b:0x708,_0x1ec1ef:0x7a3,_0x18e61a:0x708,_0x2cf6e5:0x5d2,_0x36bad5:0x84f,_0x12ff57:0x7a7,_0x5175cf:0x7f6,_0x436c94:0x734},_0x571d4d={_0x5ccf5f:0x10e},_0x12d873={_0x4fd57d:0x6d1,_0x5c90eb:0xd8,_0x2fa743:0x7a},_0x5d8540={_0x5c59cc:0x35},_0x1078c2=[..._0x26911f['lines']];function _0x47451c(_0x58d3e7,_0x5f2334,_0x418ef3,_0x10b8d5){return _0x5b2413(_0x58d3e7-0x11d,_0x5f2334-_0x5d8540._0x5c59cc,_0x418ef3- -0x222,_0x5f2334);}const _0x1b6af6=[..._0x4129e8][_0x1e0083(-_0x40347d._0x2fd82c,-0xdb,-_0x40347d._0x555359,0x46)]((_0x40d253,_0x7bf745)=>{if(_0x40d253[_0x5d284c(0x8e1,0x5ce,_0x287261._0x1b5c89,0x708)]!==_0x7bf745[_0x5d284c(0x5ad,0x80e,0x50e,_0x287261._0x66965b)])return _0x7bf745[_0x5d284c(0x52a,0x5bf,_0x287261._0x1ec1ef,_0x287261._0x18e61a)]-_0x40d253[_0x3d95a1(_0x287261._0x2cf6e5,_0x287261._0x36bad5,0x6c9,0x8b4)];const _0x5a1c4a=_0x40d253['kind']===_0x5d284c(0x899,0x957,0xb25,0x92c),_0x671365=_0x7bf745[_0x3d95a1(0x96c,_0x287261._0x12ff57,_0x287261._0x5175cf,_0x287261._0x436c94)]==='insert';function _0x5d284c(_0x9ffca9,_0x2af43d,_0x37148e,_0x237307){return _0x1e0083(_0x237307-_0x12d873._0x4fd57d,_0x9ffca9,_0x37148e-_0x12d873._0x5c90eb,_0x237307-_0x12d873._0x2fa743);}if(_0x5a1c4a!==_0x671365)return _0x5a1c4a?0x1:-0x1;function _0x3d95a1(_0x55944e,_0x1ad7bd,_0x15b652,_0x44fe02){return _0x1e0083(_0x15b652-0x692,_0x1ad7bd,_0x15b652-_0x571d4d._0x5ccf5f,_0x44fe02-0x90);}return 0x0;});for(const _0x448a11 of _0x1b6af6){_0x1078c2[_0x1e0083(-0xf3,-0x11c,-_0x40347d._0x3298ca,-0x27f)](_0x448a11[_0x1e0083(_0x40347d._0x4b6d43,0x234,_0x40347d._0x95868f,0x1e3)],_0x448a11[_0x1e0083(-0x13d,-0x10a,_0x40347d._0x13c0da,-_0x40347d._0x3bd59f)],..._0x448a11[_0x1e0083(_0x40347d._0x4a7384,0x13f,_0x40347d._0x1b2680,_0x40347d._0x574c42)]);}if(_0x1078c2['length']===0x0)return'';function _0x1e0083(_0x1c194c,_0x33a4bb,_0x3f0038,_0x1e6f0d){return _0x28bc81(_0x1c194c-_0x3207b0._0x43cba1,_0x33a4bb-0x1c,_0x1c194c- -0x3a7,_0x33a4bb);}const _0x34a281=_0x1078c2[_0x1e0083(_0x40347d._0x45a152,_0x40347d._0x5a28f8,0x8b,_0x40347d._0x24e614)]('\x0a');return _0x26911f['finalNewline']?_0x34a281+'\x0a':_0x34a281;}function operationRowDelta(_0x1429c7){const _0xa49555={_0x17bf77:0x556,_0x4573ee:0x6ff,_0x190b7b:0x76d,_0x1b83bb:0x88d},_0x319cb0={_0x390fa7:0x1a4,_0x150a13:0x243},_0xbc8b18={_0x359a5f:0x40};function _0x2ded59(_0x553e48,_0x411fd0,_0x4212f0,_0x29af18){return _0x5b2413(_0x553e48-_0xbc8b18._0x359a5f,_0x411fd0-0xb2,_0x4212f0- -0x116,_0x29af18);}function _0x475f1e(_0x3a69f8,_0x34d4a4,_0x1b46a3,_0xaf1a60){return _0x5b2413(_0x3a69f8-_0x319cb0._0x390fa7,_0x34d4a4-0x2,_0x34d4a4- -_0x319cb0._0x150a13,_0xaf1a60);}return _0x1429c7[_0x475f1e(_0xa49555._0x17bf77,_0xa49555._0x4573ee,0x6fd,_0xa49555._0x190b7b)][_0x475f1e(0x862,0x6a5,_0xa49555._0x1b83bb,0x89d)]-_0x1429c7['deleteCount'];}function finalFileOrder(_0x5fae07){const _0x33bf2e={_0x5dc32b:0x555,_0x4656a0:0x479,_0x5bb774:0x6f5,_0x533855:0x4e4},_0x1db72d={_0x17b0c1:0x1cc,_0x4e481e:0x17b,_0x2d76c0:0x210,_0x5e7ad1:0x2ce,_0x196c28:0x7a,_0x19495f:0x312,_0x134056:0x675,_0x434e04:0x61a},_0x184eba={_0x45f749:0x21a,_0x5b99d1:0xec},_0x40bc7f={_0x5e274a:0x1c2,_0x37ae64:0x14e};function _0x528661(_0x2c2efb,_0x2655f9,_0x492487,_0x43cf04){return _0x28bc81(_0x2c2efb-_0x40bc7f._0x5e274a,_0x2655f9-_0x40bc7f._0x37ae64,_0x2c2efb-0x28d,_0x2655f9);}return[..._0x5fae07][_0x528661(_0x33bf2e._0x5dc32b,_0x33bf2e._0x4656a0,_0x33bf2e._0x5bb774,_0x33bf2e._0x533855)]((_0x53ae73,_0x3df56b)=>{const _0x2a7235={_0x2fefde:0xa8};if(_0x53ae73[_0x3c46aa(_0x1db72d._0x17b0c1,_0x1db72d._0x4e481e,_0x1db72d._0x2d76c0,_0x1db72d._0x5e7ad1)]!==_0x3df56b['spliceIndex'])return _0x53ae73['spliceIndex']-_0x3df56b[_0x3c46aa(0x318,_0x1db72d._0x4e481e,0x322,_0x1db72d._0x196c28)];const _0x1b6c7f=_0x53ae73[_0x3c46aa(_0x1db72d._0x19495f,0x2a8,0x3a3,0x3a2)]===_0x2a4ced(0x5ed,_0x1db72d._0x134056,_0x1db72d._0x434e04,0x463);function _0x2a4ced(_0x47cd11,_0x2e7206,_0x515721,_0xf39013){return _0x528661(_0x2e7206- -_0x184eba._0x45f749,_0xf39013,_0x515721-_0x184eba._0x5b99d1,_0xf39013-0x128);}const _0x53ded8=_0x3df56b[_0x2a4ced(0x61c,0x57e,0x542,0x6bb)]==='insert';if(_0x1b6c7f!==_0x53ded8)return _0x1b6c7f?-0x1:0x1;function _0x3c46aa(_0x1e1a2e,_0x4719db,_0x3dbf34,_0x68fada){return _0x528661(_0x4719db- -0x4f0,_0x3dbf34,_0x3dbf34-_0x2a7235._0x2fefde,_0x68fada-0xb4);}return 0x0;});}function computeFinalFileNewSideLines(_0xf77d9d){const _0x456adb={_0x42a966:0x7b1,_0x5e2b17:0x8c2,_0x5e6ecb:0x5c9,_0x3f8279:0x5ee,_0x427252:0x329,_0x52bf3c:0x4ae,_0x34b63f:0x332,_0x5de29c:0x5b6,_0x233e72:0x583,_0x27fa9f:0x6f2,_0x23946b:0x696,_0x545fc9:0x9d9,_0x3bbd7f:0x876,_0x2a8032:0x44e,_0x1b3bbd:0x568,_0x115089:0xa04,_0x531a0d:0x6c5,_0x420f28:0x838,_0xc8bab7:0x168,_0x32c3cf:0x20b,_0x46c17e:0x52,_0x57f94f:0x773,_0x36daba:0x984,_0x40c76a:0x76e,_0xb0548c:0x802,_0x58b378:0x7b1,_0x370e99:0x705,_0x256862:0x95},_0x4791b5={_0x4ecf7d:0x1c4};function _0x431dbc(_0x9d7944,_0x31dd12,_0x442c5c,_0x589b0d){return _0x5b2413(_0x9d7944-_0x4791b5._0x4ecf7d,_0x31dd12-0x183,_0x442c5c- -0x53f,_0x31dd12);}const _0x3028db=new Array(_0xf77d9d[_0x4373b2(0x879,0x99e,_0x456adb._0x42a966,0x718)]);let _0x2f60dc=0x0;function _0x4373b2(_0x2bac65,_0x5f2ce8,_0xe6f01a,_0x317be0){return _0x5b2413(_0x2bac65-0x1aa,_0x5f2ce8-0x1bb,_0xe6f01a- -0x137,_0x317be0);}for(const _0x460f99 of finalFileOrder(_0xf77d9d)){const _0xd05b98=_0x460f99[_0x4373b2(0x5e2,_0x456adb._0x5e2b17,0x773,0x8a2)]==='insert'?_0x460f99[_0x4373b2(_0x456adb._0x5e6ecb,_0x456adb._0x3f8279,0x568,0x57a)][_0x4373b2(_0x456adb._0x427252,_0x456adb._0x52bf3c,0x4e4,_0x456adb._0x34b63f)]===_0x4373b2(0x610,0x5e0,_0x456adb._0x5de29c,0x4f2)?_0x460f99[_0x4373b2(0x57b,_0x456adb._0x233e72,0x568,_0x456adb._0x27fa9f)][_0x4373b2(_0x456adb._0x23946b,_0x456adb._0x545fc9,_0x456adb._0x3bbd7f,0x9b8)]:_0x460f99[_0x4373b2(0x41e,_0x456adb._0x2a8032,_0x456adb._0x1b3bbd,0x617)][_0x4373b2(_0x456adb._0x115089,_0x456adb._0x531a0d,0x876,_0x456adb._0x420f28)]+0x1:_0x460f99[_0x431dbc(_0x456adb._0xc8bab7,0x308,_0x456adb._0x32c3cf,_0x456adb._0x46c17e)],_0x4080fc=_0xd05b98+_0x2f60dc,_0x12c3cf=_0x460f99[_0x4373b2(0x7fb,0x891,_0x456adb._0x57f94f,_0x456adb._0x36daba)]===_0x4373b2(0x65b,_0x456adb._0x3bbd7f,_0x456adb._0x40c76a,0x620)?0x0:_0x460f99['rows'][_0x4373b2(0x613,_0x456adb._0xb0548c,_0x456adb._0x58b378,_0x456adb._0x370e99)];_0x3028db[_0xf77d9d[_0x431dbc(0x1e5,0x262,0xc2,_0x456adb._0x256862)](_0x460f99)]={'newStartLine':_0x4080fc,'newEndLine':_0x4080fc+_0x12c3cf-0x1},_0x2f60dc+=operationRowDelta(_0x460f99);}return _0x3028db;}function buildBlock(_0x2aa906,_0x1c1b38,_0x933682,_0x53629d){const _0x209e56={_0x5b949e:0x57e,_0x476995:0x2ee,_0x35433e:0x39b,_0x3d9328:0x2ca,_0xa5d3b7:0x5bc,_0xa7fb3:0x86d,_0x2c3df6:0x51f,_0x286ec8:0x393,_0x305548:0x4c5,_0x2d1115:0x48e,_0x34ce35:0x5cf,_0x4cc62f:0x548,_0x476644:0x5f2,_0x446aea:0x614,_0x3339c6:0x4b7,_0x587a06:0x5c4,_0x49e8c6:0x538,_0x8557a9:0x2e4,_0x9292c3:0x327,_0xe7cfc4:0x497,_0x9ccd04:0x487,_0x3abb3a:0x46b,_0x5eac5a:0x419,_0x392866:0x4f4,_0x2e75ed:0x60e,_0x14021c:0x605,_0x3c1c87:0x71d,_0x34b008:0x453,_0x4ac39c:0x36e,_0x1a745a:0x327,_0x3c3844:0x446,_0x597c4a:0x324,_0x162411:0x661},_0x43da7c={_0x57d1e0:0x18b,_0x5b5cc8:0x1e1};if(_0x1c1b38['kind']===_0x243697(0x78b,0x3ee,0x4a6,_0x209e56._0x5b949e)){const {line:_0x30cb53,position:_0x5903c9}=_0x1c1b38[_0x243697(_0x209e56._0x476995,0x443,0x452,0x27c)],_0x132c70=_0x5903c9===_0x243697(0x47d,0x469,_0x209e56._0x35433e,_0x209e56._0x3d9328)?_0x30cb53:_0x30cb53+0x1;return{'oldText':'','newText':_0x1c1b38[_0x5b27cb(0x68e,_0x209e56._0xa5d3b7,0x620,_0x209e56._0xa7fb3)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x132c70,'oldEndLine':_0x132c70-0x1,'newStartLine':_0x933682,'newEndLine':_0x53629d,'oldLineCount':0x0,'newLineCount':_0x1c1b38[_0x243697(0x64a,0x674,0x511,_0x209e56._0x2c3df6)][_0x243697(0x5f0,_0x209e56._0x286ec8,0x432,_0x209e56._0x305548)]}};}const _0x2db855=_0x2aa906['lines'][_0x5b27cb(0x5c0,_0x209e56._0x2d1115,_0x209e56._0x34ce35,0x65c)](_0x1c1b38['sourceStart']-0x1,_0x1c1b38['sourceEnd'])[_0x5b27cb(_0x209e56._0x4cc62f,0x62e,_0x209e56._0x476644,_0x209e56._0x446aea)]('\x0a');function _0x5b27cb(_0x23c523,_0x2c3fd9,_0x208530,_0x7e08c1){return _0x5b2413(_0x23c523-_0x43da7c._0x57d1e0,_0x2c3fd9-_0x43da7c._0x5b5cc8,_0x23c523- -0x2b4,_0x208530);}function _0x243697(_0x471266,_0x3d5437,_0x38b686,_0x409fcc){return _0x28bc81(_0x471266-0x80,_0x3d5437-0x75,_0x409fcc- -0x84,_0x471266);}const _0x52fe44=_0x1c1b38[_0x5b27cb(_0x209e56._0x3339c6,_0x209e56._0x587a06,_0x209e56._0x49e8c6,_0x209e56._0x8557a9)]-_0x1c1b38[_0x243697(0x1db,0x520,0x2f0,_0x209e56._0x9292c3)]+0x1;if(_0x1c1b38[_0x243697(0x649,_0x209e56._0xe7cfc4,0x2ea,_0x209e56._0x9ccd04)]===_0x243697(_0x209e56._0x3abb3a,_0x209e56._0x5eac5a,_0x209e56._0x392866,0x482))return{'oldText':_0x2db855,'newText':'','lineNumbers':{'oldStartLine':_0x1c1b38['sourceStart'],'oldEndLine':_0x1c1b38[_0x5b27cb(_0x209e56._0x3339c6,_0x209e56._0x2e75ed,_0x209e56._0x14021c,0x419)],'newStartLine':_0x933682,'newEndLine':_0x933682-0x1,'oldLineCount':_0x52fe44,'newLineCount':0x0}};return{'oldText':_0x2db855,'newText':_0x1c1b38[_0x243697(0x34d,_0x209e56._0x3c1c87,0x352,0x51f)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x1c1b38[_0x243697(0x3e9,_0x209e56._0x34b008,_0x209e56._0x4ac39c,_0x209e56._0x1a745a)],'oldEndLine':_0x1c1b38[_0x5b27cb(0x4b7,0x64d,_0x209e56._0x3c3844,0x5a3)],'newStartLine':_0x933682,'newEndLine':_0x53629d,'oldLineCount':_0x52fe44,'newLineCount':_0x1c1b38[_0x243697(0x6ff,_0x209e56._0x597c4a,_0x209e56._0x162411,0x51f)]['length']}};}function stableStringify(_0x1d422f){const _0x360370={_0x3f21ca:0x15b,_0xf940e1:0x56,_0x232d38:0x576,_0x18d9bc:0xbe,_0x52b788:0x31,_0x2ffae5:0x2b4,_0x4b7e13:0x7f,_0x56bbda:0x20a,_0x71b308:0x3ca,_0x261d11:0x25f,_0x33445b:0x26d,_0x5dc56d:0x749,_0x1be97c:0xbe,_0x2170d5:0x148},_0x2ac3ee={_0x554ae2:0x25,_0x500f63:0x73e},_0x1fcb9d={_0x10231c:0x1e2};if(Array[_0x271b1c(-0x33c,-_0x360370._0x3f21ca,_0x360370._0xf940e1,-0x24)](_0x1d422f))return'['+_0x1d422f[_0x1c7933(0x532,0x70f,0x5ba,_0x360370._0x232d38)](stableStringify)[_0x271b1c(-0x2a,_0x360370._0x18d9bc,-_0x360370._0x52b788,0x6e)](',')+']';function _0x1c7933(_0x375c2c,_0x124603,_0x4251fc,_0x16d5cd){return _0x28bc81(_0x375c2c-_0x1fcb9d._0x10231c,_0x124603-0xa8,_0x16d5cd- -0x5b,_0x124603);}function _0x271b1c(_0x37c90c,_0x56aae1,_0x5bd998,_0x45c911){return _0x5b2413(_0x37c90c-0x1a5,_0x56aae1-_0x2ac3ee._0x554ae2,_0x56aae1- -_0x2ac3ee._0x500f63,_0x5bd998);}if(_0x1d422f!==null&&typeof _0x1d422f===_0x1c7933(_0x360370._0x2ffae5,_0x360370._0x4b7e13,0x1f3,_0x360370._0x56bbda)){const _0x26c7e3=_0x1d422f;return'{'+Object['keys'](_0x26c7e3)[_0x1c7933(_0x360370._0x71b308,0x16d,_0x360370._0x261d11,_0x360370._0x33445b)]()[_0x1c7933(0x583,0x3f3,_0x360370._0x5dc56d,_0x360370._0x232d38)](_0x162abe=>JSON[_0x1c7933(0x6b4,0x2c0,0x553,0x4d9)](_0x162abe)+':'+stableStringify(_0x26c7e3[_0x162abe]))[_0x271b1c(0x106,_0x360370._0x1be97c,_0x360370._0x2170d5,0xde)](',')+'}';}return JSON['stringify'](_0x1d422f);}function prepareCanonicalFileEdit(_0x2c20c0,_0xc183f1,_0x3b71d6){const _0x550d96={_0x426595:0x44b,_0x7cdba6:0x928,_0x1c940c:0x6fc,_0x5bb928:0x913,_0x404581:0xa4c},_0x2fd3d1={_0x2146f9:0x66},_0xfa725b={_0x5d3519:0x12a},_0x2ff250=planOperations(_0x2c20c0,_0x3b71d6);assertNoOverlaps(_0x2ff250);function _0x4d0f5(_0x489e17,_0x154e31,_0x564de6,_0x34e28d){return _0x28bc81(_0x489e17-_0xfa725b._0x5d3519,_0x154e31-0x6c,_0x34e28d-0x18d,_0x154e31);}const _0x43609e=assertLinesObserved(_0x2ff250,_0xc183f1),_0x54fa53=applyOperations(_0x2c20c0,_0x2ff250);if(_0x54fa53===_0x2c20c0['text'])throw createAnchoredFileError(_0x396c34(0x4bb,_0x550d96._0x426595,0x371,0x4b9),_0x4d0f5(0x59c,_0x550d96._0x7cdba6,_0x550d96._0x1c940c,0x791));const _0x443c65=_0x2ff250[_0x396c34(0x87d,0x6f8,_0x550d96._0x5bb928,_0x550d96._0x404581)](_0x345e33=>_0x345e33[_0x4d0f5(0x56b,0x66f,0x60e,0x48d)]);function _0x396c34(_0x3886e9,_0xba759d,_0x114fc7,_0x38c64c){return _0x5b2413(_0x3886e9-_0x2fd3d1._0x2146f9,_0xba759d-0x9b,_0x3886e9- -0xf3,_0x114fc7);}const _0x1b2752=computeFinalFileNewSideLines(_0x2ff250);return{'afterText':_0x54fa53,'operations':_0x443c65,'blocks':_0x2ff250['map']((_0x1ff7d9,_0x45a0b0)=>{const {newStartLine:_0x5b4005,newEndLine:_0x41ae71}=_0x1b2752[_0x45a0b0];return buildBlock(_0x2c20c0,_0x1ff7d9,_0x5b4005,_0x41ae71);}),'requiredLines':_0x43609e,'payloadDigest':sha256Bytes(stableStringify(_0x443c65))};}import _0x1a7d95 from'string-width';var EMPTY_FILE_MESSAGE=_0x5b2413(0x767,0x896,0x788,0x89b);function clampLine(_0x59966d,_0x3143b5){const _0x51dc41={_0x18753f:0x204,_0x2ab97f:0x14b,_0x5a3f1d:0x35,_0x18f88a:0x1d8,_0x27185a:0xfd},_0xdefb45={_0x5e13a9:0x110},_0x5fcffe={_0x566a02:0x15e};function _0x36c497(_0x1dc15a,_0x3a9d18,_0x525062,_0x3856c8){return _0x28bc81(_0x1dc15a-0x1b,_0x3a9d18-_0x5fcffe._0x566a02,_0x1dc15a- -0x2ff,_0x3a9d18);}if(!Number[_0x36c497(_0x51dc41._0x18753f,0x305,0x1d0,_0x51dc41._0x2ab97f)](_0x59966d))return 0x1;function _0x1bce23(_0x2092ec,_0x5a3ac2,_0x103e96,_0x5245e2){return _0x28bc81(_0x2092ec-_0xdefb45._0x5e13a9,_0x5a3ac2-0xe0,_0x2092ec- -0x297,_0x5245e2);}return Math['max'](0x1,Math['min'](Math[_0x36c497(_0x51dc41._0x5a3f1d,0x58,-_0x51dc41._0x18f88a,_0x51dc41._0x27185a)](_0x59966d),_0x3143b5));}function formatAnchoredFileRead(_0x4e0fbc){const _0x50dd0c={_0x2f4a03:0x563,_0x528881:0x5ed,_0x194a7b:0x409,_0x30b688:0x3ae,_0x3f592c:0x32d,_0x51ae7d:0x45d,_0x416504:0x189,_0x310309:0x216,_0x360f34:0x523,_0x2a47c6:0x329,_0x12326b:0x3d3,_0x41e999:0x468,_0x9455fb:0x4af,_0x462bd4:0x4f5,_0x173d69:0x438,_0x11edce:0x3e8,_0x68bf02:0x2b5,_0x531df9:0x3b8,_0x59f874:0x473,_0x4c94ab:0x342,_0x31b183:0x3db,_0x28b07b:0x4e0,_0x3c8cdd:0x4c7,_0x2f6d4b:0x3a6,_0x50fc16:0x45a,_0x5a46cb:0x600,_0x288157:0x3e3},_0x4d973e={_0x446671:0xa4},_0x2c015c={_0x3d7569:0x153,_0x55ca8a:0x1cb,_0x4fd809:0x82},{displayPath:_0x12c085,snapshot:_0x5b4312,maxBytes:_0x143a74}=_0x4e0fbc,_0x1624ff=_0x5b4312['lines'][_0x5db706(_0x50dd0c._0x2f4a03,_0x50dd0c._0x528881,_0x50dd0c._0x194a7b,0x5b2)];function _0x1b4a56(_0x13c956,_0x50353b,_0x29aa2c,_0x2ff55b){return _0x28bc81(_0x13c956-_0x2c015c._0x3d7569,_0x50353b-_0x2c015c._0x55ca8a,_0x50353b- -_0x2c015c._0x4fd809,_0x2ff55b);}const _0x5171c0='['+_0x12c085+'#'+_0x5b4312[_0x5db706(0x509,_0x50dd0c._0x30b688,_0x50dd0c._0x3f592c,_0x50dd0c._0x51ae7d)]+']\x0a',_0x348be5=Buffer['byteLength'](_0x5171c0,'utf8');if(_0x1624ff===0x0){const _0x440687=''+_0x5171c0+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x440687,'displayedLines':[],'truncated':![]};}const _0x4319c5=clampLine(_0x4e0fbc[_0x1b4a56(_0x50dd0c._0x416504,0x3a0,0x18b,_0x50dd0c._0x310309)]??0x1,_0x1624ff),_0x41f493=clampLine(_0x4e0fbc[_0x1b4a56(0x741,_0x50dd0c._0x360f34,0x35d,0x459)]??_0x1624ff,_0x1624ff),_0x5ec70b=Math[_0x5db706(0x30a,0x3e4,0x568,0x34d)](_0x4319c5,_0x41f493);function _0x5db706(_0x51a308,_0x2a9ccd,_0x5a06e9,_0x1d31cc){return _0x28bc81(_0x51a308-0x5f,_0x2a9ccd-0x9d,_0x2a9ccd-_0x4d973e._0x446671,_0x51a308);}const _0x571cbd=Math[_0x5db706(_0x50dd0c._0x2a47c6,0x50b,_0x50dd0c._0x12326b,0x34f)](_0x4319c5,_0x41f493),_0x53748a=[],_0x237c78=[];let _0x3d84d0=_0x348be5;for(let _0xdda390=_0x5ec70b;_0xdda390<=_0x571cbd;_0xdda390+=0x1){const _0x12e4be=_0xdda390+':'+_0x5b4312[_0x5db706(_0x50dd0c._0x41e999,0x433,_0x50dd0c._0x9455fb,0x3a7)][_0xdda390-0x1]+'\x0a',_0x1f4444=Buffer['byteLength'](_0x12e4be,_0x5db706(0x266,0x31d,_0x50dd0c._0x462bd4,0x2e4)),_0x209801=_0xdda390+0x1,_0x1d9700=Buffer[_0x5db706(_0x50dd0c._0x173d69,_0x50dd0c._0x11edce,0x3ee,_0x50dd0c._0x68bf02)]('Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x209801+'.\x0a','utf8');if(_0x3d84d0+_0x1f4444+_0x1d9700>_0x143a74){const _0x29830a=_0x1b4a56(0x52d,_0x50dd0c._0x531df9,_0x50dd0c._0x59f874,0x5d2)+_0xdda390+'.\x0a';return{'output':''+_0x5171c0+_0x53748a[_0x1b4a56(_0x50dd0c._0x4c94ab,_0x50dd0c._0x31b183,0x29b,_0x50dd0c._0x28b07b)]('')+_0x29830a,'displayedLines':_0x237c78,'lineStart':_0x5ec70b,'lineEnd':_0x237c78[_0x237c78[_0x1b4a56(0x506,_0x50dd0c._0x3c8cdd,0x649,_0x50dd0c._0x2f6d4b)]-0x1],'truncated':!![],'nextLineStart':_0xdda390};}_0x53748a['push'](_0x12e4be),_0x237c78[_0x5db706(0x5b9,_0x50dd0c._0x50fc16,_0x50dd0c._0x5a46cb,_0x50dd0c._0x288157)](_0xdda390),_0x3d84d0+=_0x1f4444;}return{'output':''+_0x5171c0+_0x53748a['join'](''),'displayedLines':_0x237c78,'lineStart':_0x5ec70b,'lineEnd':_0x571cbd,'truncated':![]};}function isWithinDisplayColumns(_0x2410c0,_0x4eb97d){return _0x1a7d95(_0x2410c0)<=_0x4eb97d;}import{randomUUID as _0xee8a80}from'crypto';import{chmod,rename,rm,writeFile as _0x3fdff1}from'fs/promises';import*as _0x23d975 from'path';var defaultFileSystem={'writeFile':_0x3fdff1,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x53b828,_0x1f5088,_0x21a5c8,_0x2e1f43){const _0x1a9022={_0x36e57d:0x7f,_0x433b78:0x6f,_0x3ee65b:0x5c5,_0x11e781:0x83f,_0x2a8a91:0x7a1,_0x4baa8c:0x130,_0x5baabb:0x51,_0x1e2309:0x24a,_0x32fe09:0x3a0,_0x3fa658:0x5be,_0xd6d301:0x1dd},_0x472890={_0x17e100:0x195,_0x13bc8b:0x340},_0x2b6353={_0x580f62:0x84,_0x3a2365:0x255},_0x1c2be0=_0x2e1f43??defaultFileSystem,_0x340094=_0x23d975[_0x5368da(-_0x1a9022._0x36e57d,_0x1a9022._0x433b78,-0x15f,0x22)](_0x53b828);function _0x5368da(_0x337c8a,_0x5e818f,_0x55c609,_0x10a563){return _0x28bc81(_0x337c8a-_0x2b6353._0x580f62,_0x5e818f-0x108,_0x337c8a- -_0x2b6353._0x3a2365,_0x5e818f);}const _0x8d8d2b=_0x23d975[_0x358ca0(0x8fe,0x79d,0x6cf,_0x1a9022._0x3ee65b)](_0x340094,_0x358ca0(0x7dd,_0x1a9022._0x11e781,_0x1a9022._0x2a8a91,0x9f1)+_0x23d975[_0x5368da(_0x1a9022._0x4baa8c,_0x1a9022._0x5baabb,-0xae,_0x1a9022._0x1e2309)](_0x53b828)+'.'+_0xee8a80());function _0x358ca0(_0x2fa5d9,_0x5f29ca,_0x47b524,_0x2e54ce){return _0x28bc81(_0x2fa5d9-0x1e9,_0x5f29ca-_0x472890._0x17e100,_0x5f29ca-_0x472890._0x13bc8b,_0x2fa5d9);}const _0x38d1ec=_0x21a5c8&0xfff;try{await _0x1c2be0[_0x5368da(_0x1a9022._0x32fe09,0x30a,_0x1a9022._0x3fa658,0x2ad)](_0x8d8d2b,_0x1f5088,{'mode':_0x38d1ec}),await _0x1c2be0['chmod'](_0x8d8d2b,_0x38d1ec),await _0x1c2be0[_0x5368da(-0x55,-0x149,0x103,-_0x1a9022._0xd6d301)](_0x8d8d2b,_0x53b828);}finally{await _0x1c2be0['rm'](_0x8d8d2b,{'force':!![]});}}var utf8Decoder=new TextDecoder(_0x28bc81(0x5eb,0x6c5,0x598,0x6ad),{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x4a16b7,_0x2fd244){const _0xffc133={_0x3f023f:0x970,_0x572ec7:0xa6b,_0x3c877d:0xb81},_0x44cb68={_0x529227:0x3d3};function _0x2793e3(_0x1fb0c8,_0x1aacc4,_0x29cc5d,_0xab6e0c){return _0x28bc81(_0x1fb0c8-0xb9,_0x1aacc4-0x11a,_0x1fb0c8-_0x44cb68._0x529227,_0x29cc5d);}throw createAnchoredFileError('unknown_snapshot',_0x2fd244+'\x20'+_0x4a16b7+_0x2793e3(_0xffc133._0x3f023f,_0xffc133._0x572ec7,0x7b2,_0xffc133._0x3c877d),{'path':_0x4a16b7});}function createNormalizedFileSnapshot(_0x525a38,_0x4851fe,_0xdf3c8e){const _0x5c920c={_0x2355b5:0x5ed,_0xac277f:0x49e,_0x5eaf88:0x4ab,_0x5f1adc:0x786,_0x272427:0x8c9,_0x32cb55:0x643,_0x41c330:0x5d5,_0x24a67e:0x7cc,_0x4a6bf6:0x786,_0x116f57:0x7d0,_0xd9e119:0x8ee,_0x118ff5:0x753,_0x4b4cb6:0x53e,_0x2da2c2:0x72e,_0x50787f:0x3be,_0x315962:0xa9c,_0x2cf14f:0xa16,_0x1b56e8:0x8a8,_0x1a07b8:0x691,_0x4621b6:0x41c,_0x2eafa0:0x618,_0x4a4810:0x732,_0x5b8108:0x69f,_0x2c3221:0x65c,_0x8a5138:0x992,_0x2dbeec:0x95e,_0x58c41b:0x5a3,_0x40a9fc:0x778,_0x5da95c:0x88e,_0x1924e6:0x70f,_0x57c3d9:0x86e,_0x234d4e:0x472,_0x334fa2:0x69b,_0x1a69a5:0x74f,_0x43b540:0x6eb},_0x3da450={_0x456c4d:0xfc},_0x4cf5f3={_0x1ff208:0x1c8};Buffer[_0x4b4a9c(_0x5c920c._0x2355b5,0x40b,_0x5c920c._0xac277f,_0x5c920c._0x5eaf88)](_0x4851fe)[_0x150877(0x938,0x66d,_0x5c920c._0x5f1adc,0x783)](0x0)&&exactReplacementGuidance(_0x525a38,_0x150877(0x9c7,_0x5c920c._0x272427,0x850,_0x5c920c._0x32cb55)+_0x525a38+_0x4b4a9c(_0x5c920c._0x41c330,0x768,_0x5c920c._0x24a67e,_0x5c920c._0x4a6bf6));let _0x1a3f18;try{_0x1a3f18=utf8Decoder[_0x150877(0x64a,0x5cf,_0x5c920c._0x116f57,_0x5c920c._0xd9e119)](_0x4851fe);}catch{exactReplacementGuidance(_0x525a38,_0x4b4a9c(_0x5c920c._0x118ff5,_0x5c920c._0x4b4cb6,0x66b,_0x5c920c._0x2da2c2)+_0x525a38+_0x4b4a9c(0x408,_0x5c920c._0x50787f,0x4b5,0x503));}const _0x46b304=_0x1a3f18[_0x4b4a9c(_0x5c920c._0x315962,_0x5c920c._0x2cf14f,_0x5c920c._0x2cf14f,_0x5c920c._0x1b56e8)](0x0)===0xfeff;if(_0x46b304)_0x1a3f18=_0x1a3f18['slice'](0x1);function _0x150877(_0x1659e6,_0xe80b38,_0x2e7319,_0x59a55c){return _0x28bc81(_0x1659e6-0x94,_0xe80b38-_0x4cf5f3._0x1ff208,_0x2e7319-0x3c5,_0x1659e6);}const _0x5ad8cd=_0x1a3f18[_0x150877(_0x5c920c._0x1a07b8,0x850,_0x5c920c._0x5f1adc,0x837)]('\x0d\x0a'),_0x415768=/(?<!\r)\n/[_0x4b4a9c(0x615,0x55a,_0x5c920c._0x4621b6,_0x5c920c._0x2eafa0)](_0x1a3f18);function _0x4b4a9c(_0x4af52f,_0x5d0925,_0x59ce86,_0x37ee94){return _0x5b2413(_0x4af52f-0x19,_0x5d0925-0x13b,_0x37ee94- -_0x3da450._0x456c4d,_0x59ce86);}_0x5ad8cd&&_0x415768&&exactReplacementGuidance(_0x525a38,_0x150877(_0x5c920c._0x4a4810,_0x5c920c._0x5b8108,0x850,_0x5c920c._0x2c3221)+_0x525a38+_0x4b4a9c(0xa04,0x992,0x84d,0x885));const _0x4d8ae3=_0x5ad8cd?_0x150877(_0x5c920c._0x8a5138,0xa3e,0x8ce,0x7f8):'lf',_0x33656c=_0x5ad8cd?_0x1a3f18['replace'](/\r\n/g,'\x0a'):_0x1a3f18,_0x4bccae=_0x33656c['endsWith']('\x0a'),_0x45bbcc=_0x33656c===''?[]:_0x33656c['split']('\x0a')[_0x4b4a9c(0x8d8,_0x5c920c._0x2dbeec,_0x5c920c._0x58c41b,_0x5c920c._0x40a9fc)](0x0,_0x4bccae?-0x1:void 0x0),_0x25a3b6=sha256Bytes(_0x33656c),_0x114f53=_0x25a3b6['slice'](0x0,0xc)[_0x4b4a9c(_0x5c920c._0x5da95c,_0x5c920c._0x1924e6,0x97a,_0x5c920c._0x57c3d9)]();return{'canonicalPath':_0x525a38,'text':_0x33656c,'lines':_0x45bbcc,'finalNewline':_0x4bccae,'bom':_0x46b304,'eol':_0x4d8ae3,'digest':_0x25a3b6,'tag':_0x114f53,'utf8Bytes':Buffer['byteLength'](_0x33656c,_0x150877(0x591,0x5d5,0x63e,_0x5c920c._0x234d4e)),'recordedAt':_0xdf3c8e??Date[_0x150877(0x74f,_0x5c920c._0x334fa2,_0x5c920c._0x1a69a5,_0x5c920c._0x43b540)]()};}function serializeNormalizedFile(_0x59d55d,_0x108fce){const _0x1fdaa7={_0x5d08b3:0x4b0,_0x2dcc12:0x210,_0x32c86c:0x1fa,_0x7a1607:0x148,_0x555be9:0x388,_0xd181a4:0x256,_0x560fe9:0x1ef},_0x3d8b8b={_0x1883e3:0x4c,_0x286cba:0x19},_0x2266c2={_0x3f8838:0x3a,_0x3f8509:0x84},_0x227880=_0x108fce['eol']==='crlf'?_0x59d55d[_0x4e657d(_0x1fdaa7._0x5d08b3,0x368,0x40f,0x53e)](/\n/g,'\x0d\x0a'):_0x59d55d;function _0x5ce100(_0x2ef8c3,_0x59d56f,_0x34ed20,_0x52967f){return _0x28bc81(_0x2ef8c3-0xf9,_0x59d56f-_0x2266c2._0x3f8838,_0x2ef8c3- -_0x2266c2._0x3f8509,_0x52967f);}const _0x24a57e=Buffer['from'](_0x227880,'utf8');function _0x4e657d(_0x4c2030,_0x22a717,_0x1ee4d9,_0x4b1ea7){return _0x28bc81(_0x4c2030-0x5f,_0x22a717-_0x3d8b8b._0x1883e3,_0x4b1ea7- -_0x3d8b8b._0x286cba,_0x22a717);}return _0x108fce[_0x5ce100(0x3db,_0x1fdaa7._0x2dcc12,0x59e,0x330)]?Buffer[_0x5ce100(0x195,_0x1fdaa7._0x32c86c,_0x1fdaa7._0x7a1607,_0x1fdaa7._0x555be9)]([Buffer[_0x4e657d(_0x1fdaa7._0xd181a4,0x14a,-0xe,_0x1fdaa7._0x560fe9)]([0xef,0xbb,0xbf]),_0x24a57e]):_0x24a57e;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x345c4e){const _0x542c5f={_0xa7556f:0x450,_0x5c67d4:0x6be,_0x5a0f02:0x389,_0x59e28a:0x1f6},_0x44c41a={_0x272c2d:0x96,_0x3ac45d:0xc4},_0x19fb8b={_0x43e32d:0x18a,_0x164daa:0x2e0};function _0x2960d9(_0x3c2acd,_0x40b5c,_0x40444e,_0x3a301a){return _0x28bc81(_0x3c2acd-_0x19fb8b._0x43e32d,_0x40b5c-0xd9,_0x3c2acd-_0x19fb8b._0x164daa,_0x40b5c);}function _0x5e5810(_0x4d0433,_0x1027c1,_0x415e91,_0x49b53f){return _0x28bc81(_0x4d0433-_0x44c41a._0x272c2d,_0x1027c1-_0x44c41a._0x3ac45d,_0x415e91- -0x353,_0x4d0433);}return textEncoder[_0x2960d9(0x521,_0x542c5f._0xa7556f,0x521,_0x542c5f._0x5c67d4)](_0x345c4e)[_0x5e5810(_0x542c5f._0x5a0f02,0x29f,_0x542c5f._0x59e28a,0x30f)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x5b2413(0x5c6,0x46e,0x604,0x75e),'properties':{'operation':{'type':_0x28bc81(0x2ee,0x38a,0x296,0x18b),'enum':['replace']},'startLine':{'type':'number'},'endLine':{'type':'number'},'content':{'type':_0x5b2413(0x684,0x735,0x635,0x509)}},'required':[_0x28bc81(0x7b9,0x636,0x5b8,0x417),'startLine',_0x5b2413(0x779,0x5e4,0x79b,0x718),_0x28bc81(0x5f5,0x3c0,0x4ce,0x4a2)],'additionalProperties':![]},deleteOperationSchema={'type':_0x28bc81(0x452,0x2c8,0x265,0x32d),'properties':{'operation':{'type':_0x28bc81(0x85,0x162,0x296,0x461),'enum':[_0x5b2413(0x7a2,0x906,0x8a5,0x8ee)]},'startLine':{'type':_0x28bc81(0x25d,0x5a5,0x420,0x4bc)},'endLine':{'type':_0x5b2413(0x6bf,0x739,0x7bf,0x960)}},'required':[_0x28bc81(0x56c,0x41f,0x5b8,0x47d),_0x5b2413(0x914,0x797,0x856,0x760),_0x5b2413(0x631,0x8f9,0x79b,0x7d6)],'additionalProperties':![]},insertOperationSchema={'type':'object','properties':{'operation':{'type':_0x5b2413(0x659,0x7a3,0x635,0x443),'enum':[_0x28bc81(0x526,0x431,0x602,0x5ba)]},'position':{'type':_0x5b2413(0x618,0x537,0x635,0x552),'enum':[_0x5b2413(0x724,0x598,0x6ed,0x8cc),_0x28bc81(0x2aa,0x403,0x34a,0x1e6)]},'line':{'type':_0x5b2413(0x642,0x666,0x7bf,0x5be)},'content':{'type':_0x28bc81(0x231,0xb7,0x296,0x3d6)}},'required':[_0x5b2413(0x7da,0x977,0x957,0xa48),'position',_0x28bc81(0x732,0x5da,0x60e,0x6e7),'content'],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x28bc81(0x355,0x3b7,0x265,0x189),'properties':{'filePath':{'type':_0x5b2413(0x635,0x593,0x635,0x732)},'tag':{'type':_0x28bc81(0x128,0x2f2,0x296,0x87)},'description':{'type':_0x28bc81(0x19c,0x216,0x296,0x42b)},'operations':{'type':'array','items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x28bc81(0x505,0x722,0x524,0x4f8)}},'required':[_0x28bc81(0x1b5,0x395,0x249,0x3a),_0x5b2413(0x8bd,0x87b,0x6a9,0x4e1),'operations'],'additionalProperties':![]};function requireValidLineNumber(_0x16bdb4,_0x3e078b){const _0x4e883f={_0x572d2e:0x475,_0x2ff433:0x53c,_0x30a651:0x329,_0x2e4684:0x47a,_0x4e795e:0x436,_0xa00fce:0x463,_0x5f1d01:0x4ab,_0x4fe3b6:0x56b},_0x26a839={_0x47a3b6:0x20};function _0x1d483a(_0xa8c888,_0x40db17,_0x16d156,_0x209995){return _0x5b2413(_0xa8c888-0xc6,_0x40db17-0x1c1,_0x16d156- -0x21b,_0xa8c888);}function _0x450cc7(_0x5c9f4f,_0xf31110,_0x41c20f,_0x370f26){return _0x5b2413(_0x5c9f4f-_0x26a839._0x47a3b6,_0xf31110-0xa6,_0x370f26- -0x1c0,_0x5c9f4f);}if(!Number[_0x1d483a(_0x4e883f._0x572d2e,0x619,0x49a,0x3a0)](_0x16bdb4)||_0x16bdb4<0x1)throw createAnchoredFileError(_0x450cc7(_0x4e883f._0x2ff433,_0x4e883f._0x30a651,0x2e7,_0x4e883f._0x2e4684),_0x3e078b+_0x450cc7(_0x4e883f._0x4e795e,_0x4e883f._0xa00fce,_0x4e883f._0x5f1d01,_0x4e883f._0x4fe3b6)+String(_0x16bdb4)+'.');}function parseStructuredFileEditInput(_0x2aed9f){const _0x5237cc={_0x370fed:0x317,_0x5bdb93:0x327,_0xc9098c:0x37b,_0x10e771:0xcd,_0x562044:0xcb,_0x1a1dd1:0x20a,_0x4d1dc3:0xe8,_0x4bcc2c:0xc2,_0x619a5:0x24f,_0x22fc0d:0x68,_0x5a9c51:0x4aa,_0x3bb1f1:0x5e,_0xc24c47:0x1a,_0x1fcadf:0xfa,_0x10f183:0x368,_0x4b5943:0x586,_0x5653f0:0x438,_0x153343:0x54f,_0x211acc:0x122,_0x5c7f2b:0x2a,_0x560aac:0xbe,_0x155cb9:0x38c,_0x5e32c7:0x454,_0xbb84dd:0x39c,_0x44c871:0x1fc,_0x29c471:0x3da,_0x4a4f12:0xdf,_0x2896de:0x2f1,_0x2fb64f:0x27b,_0x58c753:0x144,_0x559002:0x7d,_0x1c5040:0x456,_0x1b69c6:0x2b6,_0x396bc1:0x122,_0x39efbc:0x260,_0xb096ea:0x25c,_0x21d8fd:0x36c,_0x536ded:0x36e,_0x4e65eb:0x403,_0x394fce:0x535,_0x180d74:0x5e3,_0x39ea6a:0x3a8,_0x1be2b3:0x22f,_0x4d597a:0x6e,_0x4510de:0x20c,_0xb03f93:0xad,_0x5d4740:0x611,_0x2c3f38:0x49f,_0x1c56ef:0x4c8,_0xc90588:0x647,_0x515637:0x43b,_0x26a868:0x428,_0x3b946e:0x217,_0x320302:0x11a,_0x2d9f30:0x283,_0x4989dd:0x476,_0x503b8c:0x482,_0x1fdbc1:0x33e,_0x8c5ed6:0x1c0,_0x60f7a:0x346,_0x10e25f:0x414,_0x2be09a:0x285,_0x2c89b8:0x20c,_0x3c52e7:0x2e5,_0x3fec93:0x5e4,_0xc219bc:0x3ab,_0x219073:0x1e3,_0x492e15:0x3c1,_0x1e613a:0x3d0,_0x4d5b36:0x46f,_0x459f04:0x5d0,_0x310cd0:0xfa,_0x6c5454:0x76f,_0x4f4a61:0x4a2,_0x20e9ba:0x497,_0x2ffead:0x3b0,_0x373314:0x4e3,_0x40846c:0x7a,_0x3f663f:0x130,_0x32875a:0x29e,_0x35aaad:0x59c,_0x1ce6c9:0x780,_0x16e9dc:0x241,_0x183d9c:0x13b,_0x44be2a:0x36e,_0x1d2df7:0x362,_0x402812:0x3be,_0xc9a563:0x70b,_0x1945ce:0x4b7,_0x3e67e5:0x33,_0x164cf4:0x23d,_0x3ccd46:0x60,_0x36a73a:0x489,_0x5d5a2a:0x3c8,_0x1e36df:0xd0,_0x8c7b46:0x90,_0x5bb277:0x186,_0x34963d:0x57,_0x3b6369:0x10e,_0x4f2524:0x373,_0x5d6149:0x473},_0xe5ccc6={_0x5b0d84:0xa2,_0x2c34aa:0x9},_0xd49d82={_0xce5f91:0x178,_0x105f9c:0x15b},_0x3a89f4=_0x2aed9f;if(_0x3a89f4!==null&&typeof _0x3a89f4===_0x34ef11(0x30e,_0x5237cc._0x370fed,0x360,0x1d6)&&!Array[_0x34ef11(_0x5237cc._0x5bdb93,_0x5237cc._0xc9098c,0x26,0x1b5)](_0x3a89f4)&&Array[_0x32dc2d(_0x5237cc._0x10e771,_0x5237cc._0x562044,_0x5237cc._0x1a1dd1,-_0x5237cc._0x4d1dc3)](_0x3a89f4[_0x32dc2d(_0x5237cc._0x4bcc2c,_0x5237cc._0x619a5,_0x5237cc._0x22fc0d,0x2b7)])&&_0x3a89f4['operations'][_0x34ef11(_0x5237cc._0x5a9c51,0x572,0x6ae,0x4ba)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x32dc2d(_0x5237cc._0x3bb1f1,0x122,-_0x5237cc._0xc24c47,-0x66),_0x34ef11(0x20a,0x272,_0x5237cc._0x1fcadf,0x158)+MAX_ANCHORED_OPERATIONS+_0x32dc2d(0x3dd,_0x5237cc._0x10f183,_0x5237cc._0x4b5943,0x2cd));let _0x54cfd0;try{_0x54cfd0=validateToolInput(_0x2aed9f,structuredFileEditInputSchema);}catch(_0x1166cb){const _0x4fb0d4=_0x1166cb instanceof Error?_0x1166cb[_0x34ef11(0x4c6,_0x5237cc._0x5653f0,0x54c,_0x5237cc._0x153343)]:String(_0x1166cb);throw createAnchoredFileError(_0x32dc2d(0x196,_0x5237cc._0x211acc,_0x5237cc._0x5c7f2b,-_0x5237cc._0x560aac),_0x32dc2d(_0x5237cc._0x155cb9,_0x5237cc._0x5e32c7,0x35e,_0x5237cc._0xbb84dd)+_0x4fb0d4);}if(!TAG_PATTERN[_0x32dc2d(0x1d3,_0x5237cc._0x44c871,_0x5237cc._0x29c471,0x2c0)](_0x54cfd0[_0x34ef11(_0x5237cc._0x4a4f12,0x3db,_0x5237cc._0x2896de,_0x5237cc._0x2fb64f)]))throw createAnchoredFileError(_0x32dc2d(_0x5237cc._0x58c753,0x122,0x11a,0xe6),'tag\x20must\x20be\x20exactly\x2012\x20uppercase\x20hex\x20characters;\x20got\x20\x27'+_0x54cfd0[_0x34ef11(0x2ce,_0x5237cc._0x559002,0x2e2,_0x5237cc._0x2fb64f)]+'\x27.');function _0x32dc2d(_0x3a1ae0,_0x237e2e,_0x459461,_0x40b1fb){return _0x5b2413(_0x3a1ae0-_0xd49d82._0xce5f91,_0x237e2e-_0xd49d82._0x105f9c,_0x237e2e- -0x518,_0x40b1fb);}if(_0x54cfd0[_0x32dc2d(0x106,_0x5237cc._0x619a5,_0x5237cc._0x1c5040,_0x5237cc._0x1b69c6)]['length']===0x0)throw createAnchoredFileError(_0x32dc2d(0xa9,_0x5237cc._0x396bc1,0x279,_0x5237cc._0x39efbc),_0x34ef11(0x3fa,_0x5237cc._0xb096ea,_0x5237cc._0x21d8fd,_0x5237cc._0x536ded));if(_0x54cfd0[_0x34ef11(_0x5237cc._0x4e65eb,_0x5237cc._0x394fce,0x3c9,0x339)][_0x34ef11(_0x5237cc._0x180d74,_0x5237cc._0x39ea6a,0x448,0x4ba)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x34ef11(_0x5237cc._0x1be2b3,0x2d4,0x1c7,0x20c),_0x32dc2d(0x192,_0x5237cc._0x4d597a,_0x5237cc._0x4510de,-_0x5237cc._0xb03f93)+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x1f87c3=0x0;const _0x1e8630=[];function _0x34ef11(_0x1e7aeb,_0x16a170,_0xde4d3e,_0x43117b){return _0x28bc81(_0x1e7aeb-_0xe5ccc6._0x5b0d84,_0x16a170-_0xe5ccc6._0x2c34aa,_0x43117b- -0x8f,_0x1e7aeb);}for(const _0x2caffa of _0x54cfd0['operations']){switch(_0x2caffa['operation']){case _0x34ef11(0x65d,_0x5237cc._0x5d4740,_0x5237cc._0x2c3f38,_0x5237cc._0x1c56ef):{requireValidLineNumber(_0x2caffa[_0x34ef11(_0x5237cc._0xc90588,0x3df,_0x5237cc._0x515637,_0x5237cc._0x26a868)],_0x34ef11(0x47b,0x343,_0x5237cc._0x3b946e,0x336)),requireValidLineNumber(_0x2caffa[_0x32dc2d(_0x5237cc._0x320302,_0x5237cc._0x2d9f30,0x31e,0x3b4)],_0x34ef11(_0x5237cc._0x4989dd,_0x5237cc._0x503b8c,0x43f,0x347));if(_0x2caffa[_0x32dc2d(0x4ee,_0x5237cc._0x1fdbc1,0x414,_0x5237cc._0x8c5ed6)]>_0x2caffa[_0x34ef11(0x20e,_0x5237cc._0x60f7a,_0x5237cc._0x10e25f,0x36d)])throw createAnchoredFileError('invalid_patch','replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x1f87c3+=utf8Bytes(_0x2caffa['content']);if(_0x1f87c3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x34ef11(_0x5237cc._0x2be09a,0xe9,0x31b,_0x5237cc._0x2c89b8),'Total\x20authored\x20replacement\x20content\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0x1e8630['push']({'operation':_0x32dc2d(_0x5237cc._0x3c52e7,0x3de,0x2e1,_0x5237cc._0x3fec93),'startLine':_0x2caffa[_0x32dc2d(_0x5237cc._0xc219bc,_0x5237cc._0x1fdbc1,_0x5237cc._0x219073,_0x5237cc._0x492e15)],'endLine':_0x2caffa['endLine'],'content':_0x2caffa['content']});break;}case _0x32dc2d(_0x5237cc._0x1e613a,0x38d,0x2a4,_0x5237cc._0x4d5b36):{requireValidLineNumber(_0x2caffa[_0x34ef11(0x4c7,_0x5237cc._0x459f04,0x632,_0x5237cc._0x26a868)],'delete.startLine'),requireValidLineNumber(_0x2caffa[_0x32dc2d(0xb4,0x283,_0x5237cc._0x310cd0,0x423)],_0x34ef11(0x35c,0x336,_0x5237cc._0x6c5454,0x550));if(_0x2caffa[_0x32dc2d(_0x5237cc._0x4f4a61,_0x5237cc._0x1fdbc1,0x4b7,_0x5237cc._0x20e9ba)]>_0x2caffa[_0x34ef11(0x4d7,_0x5237cc._0x2ffead,_0x5237cc._0x373314,0x36d)])throw createAnchoredFileError(_0x32dc2d(0x19,0x122,0x225,0xa2),_0x32dc2d(0x240,0x8a,-_0x5237cc._0x40846c,0x175));_0x1e8630[_0x34ef11(_0x5237cc._0x3f663f,0x3b0,0x345,0x327)]({'operation':_0x34ef11(0x3bd,0x3a7,0x2a5,0x477),'startLine':_0x2caffa[_0x34ef11(_0x5237cc._0x32875a,0x318,0x3ce,_0x5237cc._0x26a868)],'endLine':_0x2caffa['endLine']});break;}case'insert':{requireValidLineNumber(_0x2caffa[_0x34ef11(_0x5237cc._0x35aaad,_0x5237cc._0x1ce6c9,0x42d,0x57f)],_0x34ef11(0x1a9,0x270,0xfb,_0x5237cc._0x16e9dc)),_0x1f87c3+=utf8Bytes(_0x2caffa['content']);if(_0x1f87c3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x32dc2d(0x176,_0x5237cc._0x211acc,_0x5237cc._0x183d9c,0x84),_0x32dc2d(_0x5237cc._0x44be2a,_0x5237cc._0x1d2df7,0x1a8,_0x5237cc._0x402812)+MAX_ANCHORED_CONTENT_BYTES+_0x34ef11(_0x5237cc._0xc9a563,0x49c,_0x5237cc._0x1945ce,0x4f3));_0x1e8630[_0x32dc2d(_0x5237cc._0x3e67e5,_0x5237cc._0x164cf4,_0x5237cc._0x3ccd46,0x134)]({'operation':_0x32dc2d(0x2e2,_0x5237cc._0x36a73a,0x26f,0x32b),'position':_0x2caffa['position'],'line':_0x2caffa[_0x34ef11(0x6d4,0x712,_0x5237cc._0x5d5a2a,0x57f)],'content':_0x2caffa['content']});break;}}}return{'filePath':_0x54cfd0[_0x32dc2d(0x75,_0x5237cc._0x1e36df,-0xf9,_0x5237cc._0x8c7b46)],'tag':_0x54cfd0[_0x34ef11(0x17c,_0x5237cc._0x5bb277,0x2e7,0x27b)],'operations':_0x1e8630,'dryRun':_0x54cfd0[_0x32dc2d(-0x1b8,_0x5237cc._0x34963d,-_0x5237cc._0x4a4f12,_0x5237cc._0x3b6369)]??![],..._0x54cfd0['description']!==void 0x0?{'description':_0x54cfd0[_0x34ef11(0x64d,0x3fc,_0x5237cc._0x4f2524,_0x5237cc._0x5d6149)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/,REPLACE=/^PUT ([1-9]\d*)\.=([1-9]\d*):$/,INSERT=/^PUT ([<>])([1-9]\d*):$/,DELETE=/^CUT ([1-9]\d*)\.=([1-9]\d*)$/,textEncoder2=new TextEncoder();function utf8Bytes2(_0x44c50b){const _0x54135a={_0x951bfd:0x185,_0x5e2892:0x35b,_0x2260e1:0x169},_0xbbc574={_0x138016:0x80,_0x2b3555:0x285};function _0x1a99d2(_0x5bf219,_0x37488d,_0x4ba576,_0x388516){return _0x5b2413(_0x5bf219-_0xbbc574._0x138016,_0x37488d-0x41,_0x37488d- -_0xbbc574._0x2b3555,_0x4ba576);}return textEncoder2[_0x1a99d2(_0x54135a._0x951bfd,_0x54135a._0x5e2892,0x3c5,_0x54135a._0x2260e1)](_0x44c50b)['length'];}function preview(_0x277b35){const _0x3c2860={_0x781f:0x1d6,_0x15694f:0x30d,_0x36e7e7:0x67,_0x2f3583:0x162,_0x2f3acf:0x194,_0xbf5b26:0x22,_0x265b54:0x127,_0x337f07:0x1bf,_0x3df8b3:0x194},_0x3b7cf4={_0x8ed7c0:0x1df,_0x47e482:0x44b},_0x2ce754={_0x1d390d:0x712};function _0x2dfa6c(_0x48ce82,_0xb33a48,_0x5c13ee,_0x3ede02){return _0x5b2413(_0x48ce82-0xf9,_0xb33a48-0x1c6,_0x48ce82- -_0x2ce754._0x1d390d,_0x5c13ee);}function _0x59437b(_0x1966fa,_0x29f043,_0x2fc092,_0x1863d6){return _0x5b2413(_0x1966fa-_0x3b7cf4._0x8ed7c0,_0x29f043-0x3a,_0x29f043- -_0x3b7cf4._0x47e482,_0x2fc092);}return _0x277b35[_0x2dfa6c(_0x3c2860._0x781f,0x27c,_0x3c2860._0x15694f,_0x3c2860._0x36e7e7)]>0x3c?_0x277b35[_0x2dfa6c(_0x3c2860._0x2f3583,_0x3c2860._0x2f3acf,0x22c,-_0x3c2860._0xbf5b26)](0x0,0x3c)+_0x2dfa6c(_0x3c2860._0x265b54,0x2b9,_0x3c2860._0x337f07,_0x3c2860._0x3df8b3):_0x277b35;}var hashlineFileEditInputSchema={'type':'object','properties':{'patch':{'type':'string'},'description':{'type':_0x28bc81(0x29b,0x2f9,0x296,0x41a)},'dryRun':{'type':_0x5b2413(0x6be,0x783,0x8c3,0x9ab)}},'required':[_0x5b2413(0x8a5,0x98b,0x82c,0x700)],'additionalProperties':![]};function requireLineNumber(_0x251874,_0x32522a){const _0x38f0fa={_0x174519:0x1a9,_0x292c20:0x167,_0x3caa96:0x20d,_0x52436c:0x8b,_0x13dae1:0x27b,_0x493fdc:0xb4,_0x36700e:0x1e0,_0x1cef7:0x2fd},_0x770a81={_0x1aac40:0xbb,_0x1603d9:0x263};function _0xa85fd0(_0x6b937c,_0x5898b8,_0xfbb8b0,_0x2c6880){return _0x5b2413(_0x6b937c-0x16b,_0x5898b8-0x149,_0x2c6880- -0x5df,_0xfbb8b0);}function _0x35a117(_0x91c8da,_0x2144cc,_0x5ea7a2,_0x281470){return _0x28bc81(_0x91c8da-_0x770a81._0x1aac40,_0x2144cc-0x1e5,_0x91c8da- -_0x770a81._0x1603d9,_0x281470);}if(_0x251874[_0xa85fd0(_0x38f0fa._0x174519,0x2a0,0x15f,0x309)]>0x10)throw createAnchoredFileError(_0xa85fd0(-0x6c,0x23d,0x201,0x5b),_0x32522a+_0xa85fd0(-0xf4,-_0x38f0fa._0x292c20,_0x38f0fa._0x3caa96,_0x38f0fa._0x52436c));const _0x3ed701=Number(_0x251874);if(!Number[_0xa85fd0(_0x38f0fa._0x13dae1,-0xd1,-_0x38f0fa._0x493fdc,0xd6)](_0x3ed701)||_0x3ed701<0x1)throw createAnchoredFileError(_0xa85fd0(_0x38f0fa._0x36700e,0x80,0x1cb,0x5b),_0x32522a+_0x35a117(0x129,_0x38f0fa._0x1cef7,0x12d,0x2e5)+_0x251874+'.');return _0x3ed701;}function parseHashlineFileEditInput(_0x33e955){const _0x7d4247={_0x39af4d:0x858,_0x551bc2:0x54a,_0x1243d3:0x33f,_0xe67b1:0x21b,_0x5ca899:0x2bc,_0x5d855a:0x3ed,_0x5605ce:0x23c,_0x348f13:0x179,_0xeb7e22:0x43c,_0x1fe1e2:0x6e1,_0x35b37a:0x5ed,_0x157a6d:0x4b8,_0x412058:0x3c9,_0x59ec96:0x4de,_0x355f18:0x45a,_0x2786bb:0x373,_0x26d543:0x579,_0xf6c8da:0x701,_0x2f9cd4:0x3b9,_0x532da0:0x3f4,_0x169b24:0x574,_0x22a6a0:0x408,_0x5589e9:0x183,_0x25d5a7:0x31c,_0x28e5a4:0x42e,_0x40f94e:0x279,_0x41ec40:0x424,_0x40b502:0x1b2,_0x2f1a7e:0x3ae,_0x43eaf2:0x28d,_0x10d0bf:0x4a9,_0x270a28:0x3ca,_0x4d71d1:0xb0,_0xdf920f:0x18e,_0x101abd:0x303,_0x4aead5:0x404,_0x183546:0x406,_0x5e9fc9:0x4bf,_0x26c1de:0x301,_0x4ca5a7:0x2b9,_0x48c0ae:0x279,_0x48dc5e:0x2c4,_0x2ab9da:0x2b8,_0x43dd60:0x314,_0x372a10:0x137,_0x8087b6:0x1da,_0x15619b:0x2ac,_0x25ed1c:0x32,_0x3bcece:0x2ca,_0x2a23f5:0x24a,_0x1e3310:0x11d,_0x4cc17c:0x274,_0x35aab0:0x618,_0x26bec9:0x3dd,_0x43ac57:0x5a6},_0x37f831={_0x2f0a97:0x2d3,_0x13a32a:0x5e0,_0x415be4:0x5ea,_0x259879:0x504,_0x2e4d4e:0x4da,_0x3b5972:0x6e4,_0x54e78f:0x552,_0x31cf7c:0x53d,_0x4319e8:0x4f1,_0x1ca838:0x43f},_0x574d08={_0x47c002:0x4},_0x56e99e={_0x88437e:0x1c4,_0x324605:0x3c},_0x395ddd={_0x308aaa:0x46f,_0x3853f2:0x4ea,_0x8d7c1f:0x319,_0x191fd1:0x353,_0x21ab5c:0x4c2,_0x201394:0x413,_0x5e0c6c:0x10d,_0x2070d1:0x23e,_0x4e8ad3:0x5d8,_0x5db1d2:0x738,_0x287944:0x6a4},_0x7800e6={_0x24ebc2:0x1b8};let _0x43fd52;try{_0x43fd52=validateToolInput(_0x33e955,hashlineFileEditInputSchema);}catch(_0x4ab960){const _0x1e117a=_0x4ab960 instanceof Error?_0x4ab960[_0x560a5a(_0x7d4247._0x39af4d,0x746,_0x7d4247._0x551bc2,0x682)]:String(_0x4ab960);throw createAnchoredFileError('invalid_patch','Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x1e117a);}const {patch:_0x4cef3a}=_0x43fd52;if(utf8Bytes2(_0x4cef3a)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x560a5a(0x23f,0x32d,0x4f4,_0x7d4247._0x1243d3),_0x1bca70(_0x7d4247._0xe67b1,0x31e,_0x7d4247._0x5ca899,0x313)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');if(_0x4cef3a[_0x1bca70(0x300,0x47c,0x15f,0x212)]('\x0d'))throw createAnchoredFileError('invalid_patch',_0x1bca70(_0x7d4247._0x5d855a,0x45c,_0x7d4247._0x5605ce,0x3d5));const _0x15ef97=_0x4cef3a[_0x1bca70(0x384,_0x7d4247._0x348f13,0x1a1,_0x7d4247._0xeb7e22)]('\x0a'),_0x9e872e=[],_0x3df513=_0x5360a4=>{function _0x47d739(_0x536219,_0x58d9fe,_0x68c74f,_0x44bd52){return _0x560a5a(_0x44bd52,_0x58d9fe-0x1d,_0x68c74f-0x18e,_0x68c74f-0x24a);}function _0x3aa626(_0x4b8a69,_0x4fb8a9,_0xedc168,_0x3bfa3d){return _0x560a5a(_0x4fb8a9,_0x4fb8a9-0x112,_0xedc168-_0x7800e6._0x24ebc2,_0x4b8a69- -0x17e);}if(_0x9e872e[_0x3aa626(_0x395ddd._0x308aaa,_0x395ddd._0x3853f2,_0x395ddd._0x8d7c1f,_0x395ddd._0x191fd1)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x47d739(0x621,_0x395ddd._0x21ab5c,0x589,_0x395ddd._0x201394),_0x3aa626(_0x395ddd._0x5e0c6c,_0x395ddd._0x2070d1,-0x10e,0x291)+MAX_ANCHORED_OPERATIONS+'\x20operations\x20are\x20allowed\x20per\x20patch.');_0x9e872e[_0x47d739(_0x395ddd._0x4e8ad3,_0x395ddd._0x5db1d2,_0x395ddd._0x287944,0x8a9)](_0x5360a4);};let _0xb9890e,_0x5b7adb,_0x31a8c4=![],_0x2d0caa=![],_0x2f17d5;function _0x1bca70(_0x432200,_0x2c6852,_0xb92b44,_0x10544c){return _0x5b2413(_0x432200-0x8a,_0x2c6852-0x9d,_0x432200- -0x460,_0x2c6852);}let _0x330a81,_0x331921=0x0,_0x373867=0x0;function _0x560a5a(_0x4ab946,_0x1bfb9b,_0x43fbe5,_0x2e87b5){return _0x5b2413(_0x4ab946-_0x56e99e._0x88437e,_0x1bfb9b-_0x56e99e._0x324605,_0x2e87b5- -0x2fb,_0x4ab946);}let _0x4eb4d8=[];const _0x17e794=()=>{const _0x54e5c4={_0x581a5b:0x178,_0x4378aa:0xe9};if(!_0x2d0caa)return;if(_0x4eb4d8[_0x575c9a(0x68e,0x6d6,0x712,0x7f4)]===0x0)throw createAnchoredFileError('invalid_patch',_0x521685(0x4e7,0x587,_0x37f831._0x2f0a97,0x438));function _0x521685(_0x39234d,_0x18b0a7,_0x29f89b,_0x325073){return _0x1bca70(_0x39234d- -_0x574d08._0x47c002,_0x18b0a7,_0x29f89b-0x87,_0x325073-0x97);}const _0x409373=_0x4eb4d8[_0x575c9a(_0x37f831._0x13a32a,_0x37f831._0x415be4,_0x37f831._0x259879,_0x37f831._0x2e4d4e)]('\x0a');_0x2f17d5==='replace'?_0x3df513({'operation':_0x575c9a(0x5ce,_0x37f831._0x3b5972,_0x37f831._0x54e78f,0x529),'startLine':_0x331921,'endLine':_0x373867,'content':_0x409373}):_0x3df513({'operation':_0x521685(_0x37f831._0x31cf7c,_0x37f831._0x4319e8,_0x37f831._0x1ca838,0x6d0),'position':_0x330a81,'line':_0x331921,'content':_0x409373});function _0x575c9a(_0x56721b,_0x3556b4,_0x1dcb4d,_0x355ed4){return _0x560a5a(_0x355ed4,_0x3556b4-0x17,_0x1dcb4d-_0x54e5c4._0x581a5b,_0x3556b4-_0x54e5c4._0x4378aa);}_0x2d0caa=![],_0x4eb4d8=[];};for(const _0x2820b8 of _0x15ef97){if(_0x2820b8[_0x560a5a(0x3cf,_0x7d4247._0x1fe1e2,0x5ee,_0x7d4247._0x35b37a)]===0x0)continue;if(_0x2d0caa&&_0x2820b8['startsWith']('+')){_0x4eb4d8[_0x560a5a(_0x7d4247._0x157a6d,_0x7d4247._0x412058,_0x7d4247._0x59ec96,_0x7d4247._0x355f18)](_0x2820b8[_0x560a5a(0x39d,0x3a3,_0x7d4247._0x2786bb,_0x7d4247._0x26d543)](0x1));continue;}_0x17e794();if(!_0x31a8c4){const _0x30a13e=HEADER['exec'](_0x2820b8);if(_0x30a13e===null)throw createAnchoredFileError(_0x560a5a(0x1fd,0x493,0x1fb,0x33f),_0x560a5a(_0x7d4247._0xf6c8da,_0x7d4247._0x2f9cd4,0x7b2,0x5c0));_0xb9890e=_0x30a13e[0x1],_0x5b7adb=_0x30a13e[0x2],_0x31a8c4=!![];continue;}const _0x14ef84=REPLACE[_0x560a5a(0x4e9,0x5c9,_0x7d4247._0x532da0,0x3de)](_0x2820b8);if(_0x14ef84!==null){const _0x56e7e2=requireLineNumber(_0x14ef84[0x1],_0x1bca70(0x47b,_0x7d4247._0x169b24,_0x7d4247._0x22a6a0,0x48e)),_0x3abc84=requireLineNumber(_0x14ef84[0x2],_0x560a5a(0x554,0x402,0x6a3,0x504));if(_0x56e7e2>_0x3abc84)throw createAnchoredFileError(_0x560a5a(_0x7d4247._0x5589e9,_0x7d4247._0x25d5a7,_0x7d4247._0x28e5a4,0x33f),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x2d0caa=!![],_0x2f17d5='replace',_0x331921=_0x56e7e2,_0x373867=_0x3abc84,_0x4eb4d8=[];continue;}const _0x56f709=INSERT[_0x1bca70(_0x7d4247._0x40f94e,_0x7d4247._0x41ec40,0x285,_0x7d4247._0x40b502)](_0x2820b8);if(_0x56f709!==null){const _0x35aadc=requireLineNumber(_0x56f709[0x2],_0x1bca70(0x53f,0x435,0x4ba,0x689));_0x2d0caa=!![],_0x2f17d5=_0x1bca70(0x541,_0x7d4247._0x2f1a7e,0x405,0x723),_0x330a81=_0x56f709[0x1]==='<'?_0x1bca70(_0x7d4247._0x43eaf2,0x3b4,_0x7d4247._0x10d0bf,_0x7d4247._0x270a28):'after',_0x331921=_0x35aadc,_0x4eb4d8=[];continue;}const _0xa814da=DELETE['exec'](_0x2820b8);if(_0xa814da!==null){const _0x432612=requireLineNumber(_0xa814da[0x1],_0x560a5a(_0x7d4247._0x4d71d1,_0x7d4247._0xdf920f,_0x7d4247._0x101abd,0x295)),_0x386714=requireLineNumber(_0xa814da[0x2],_0x560a5a(_0x7d4247._0x4aead5,_0x7d4247._0x183546,_0x7d4247._0x5e9fc9,0x437));if(_0x432612>_0x386714)throw createAnchoredFileError(_0x560a5a(0x265,0x14b,_0x7d4247._0x26c1de,_0x7d4247._0x1243d3),_0x1bca70(0x142,-0x23,_0x7d4247._0x4ca5a7,_0x7d4247._0x48c0ae));_0x3df513({'operation':_0x1bca70(0x445,_0x7d4247._0x48dc5e,_0x7d4247._0x2ab9da,0x599),'startLine':_0x432612,'endLine':_0x386714});continue;}throw createAnchoredFileError(_0x1bca70(0x1da,0x3db,_0x7d4247._0x43dd60,_0x7d4247._0x372a10),'Unsupported\x20Hashline\x20row:\x20'+preview(_0x2820b8));}_0x17e794();if(!_0x31a8c4)throw createAnchoredFileError(_0x1bca70(_0x7d4247._0x8087b6,_0x7d4247._0x15619b,0x3c9,0x31d),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0x9e872e[_0x1bca70(0x488,0x27c,0x2de,0x69b)]===0x0)throw createAnchoredFileError('invalid_patch',_0x1bca70(0x1ad,-_0x7d4247._0x25ed1c,0x5c,0x1a9));return{'filePath':_0xb9890e,'tag':_0x5b7adb,'operations':_0x9e872e,'dryRun':_0x43fd52[_0x560a5a(_0x7d4247._0x3bcece,_0x7d4247._0x2a23f5,_0x7d4247._0x1e3310,_0x7d4247._0x4cc17c)]??![],..._0x43fd52['description']!==void 0x0?{'description':_0x43fd52[_0x560a5a(_0x7d4247._0x35aab0,_0x7d4247._0x26bec9,0x779,_0x7d4247._0x43ac57)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x4adc4c from'path';function isPathInside(_0x462e7a,_0x49472f){const _0x423b1b={_0x1b379a:0x35,_0x3a4969:0xc5,_0x36166c:0x52,_0x384e9f:0x147,_0x4cfd14:0x51,_0x33e746:0x199},_0x49215f={_0x5e0baa:0x16c,_0x46ab98:0x638};function _0x841cd5(_0x224b3b,_0x50401f,_0x138da2,_0x24395f){return _0x28bc81(_0x224b3b-0x170,_0x50401f-0x107,_0x138da2- -0x18b,_0x24395f);}const _0x1e1081=_0x4adc4c[_0x2487ab(-0xd9,-0x3f,-0x34,-_0x423b1b._0x1b379a)](_0x462e7a),_0x5a4e77=_0x4adc4c[_0x841cd5(_0x423b1b._0x3a4969,-_0x423b1b._0x36166c,0x159,-0x82)](_0x1e1081,_0x49472f);function _0x2487ab(_0x257bdf,_0x5561f0,_0x1737a3,_0x233e50){return _0x5b2413(_0x257bdf-0x189,_0x5561f0-_0x49215f._0x5e0baa,_0x5561f0- -_0x49215f._0x46ab98,_0x1737a3);}return _0x5a4e77===''||!_0x5a4e77[_0x841cd5(0x2b5,0x3d,0x153,_0x423b1b._0x384e9f)]('..')&&!_0x4adc4c[_0x2487ab(_0x423b1b._0x4cfd14,_0x423b1b._0x33e746,0x307,0x28d)](_0x5a4e77);}function resolveWorkspacePath(_0x296bd4,_0x2284f1){return resolveAllowedPath(_0x296bd4,[],_0x2284f1);}function resolveAllowedPath(_0x83286b,_0x402ea3,_0x4c393c){const _0x46fe26={_0x53d4e9:0x18c,_0x2407ca:0x4d9,_0x41b752:0x5ac,_0x24148f:0x543,_0x14ce60:0x6b0,_0x1ba9b3:0x32b,_0x44663f:0x28d,_0x18fc45:0x1b6,_0x185595:0x3fd,_0x24833c:0x2c6},_0x1741da={_0x45e907:0x29},_0x1ba101={_0x454f3c:0x2,_0x3193d8:0x8d},_0x3eb899=_0x4adc4c[_0x1c590b(_0x46fe26._0x53d4e9,0xd2,0x1cc,0x395)](_0x83286b),_0x63fefa=_0x4adc4c['resolve'](_0x3eb899,_0x4c393c),_0x2a3130=[_0x3eb899,..._0x402ea3[_0x1c590b(_0x46fe26._0x2407ca,_0x46fe26._0x41b752,_0x46fe26._0x24148f,_0x46fe26._0x14ce60)](_0x56479a=>_0x4adc4c['resolve'](_0x56479a))];function _0x1c590b(_0x56c0b3,_0x137804,_0x5ae72e,_0x4ad4e8){return _0x28bc81(_0x56c0b3-_0x1ba101._0x454f3c,_0x137804-_0x1ba101._0x3193d8,_0x5ae72e- -0x8e,_0x137804);}function _0x542306(_0x476a72,_0x9d3f9d,_0x16733a,_0x21b3f2){return _0x28bc81(_0x476a72-_0x1741da._0x45e907,_0x9d3f9d-0x16e,_0x21b3f2-0x40f,_0x476a72);}if(_0x2a3130[_0x1c590b(_0x46fe26._0x1ba9b3,0x3d0,0x485,_0x46fe26._0x44663f)](_0x5e4b5c=>isPathInside(_0x5e4b5c,_0x63fefa)))return _0x63fefa;throw new ToolExecutionError(_0x1c590b(_0x46fe26._0x18fc45,_0x46fe26._0x185595,_0x46fe26._0x24833c,0x2c8)+_0x4c393c,{'path':_0x4c393c,'rootDir':_0x3eb899,'allowedDirs':_0x2a3130});}async function resolveCanonicalAllowedFile(_0x3c4939,_0x260679,_0x3aa4da){const _0x388ee7={_0x58b839:0x4a5,_0x5d5b5f:0x45f,_0x583223:0x403,_0x1cbabf:0x325,_0x49375a:0x8d,_0x482d0e:0x36f},_0x5441e0={_0x11028c:0x175,_0x292c45:0x91},_0x2fd82d={_0x284d2d:0x1ba},_0xb319a3=resolveAllowedPath(_0x3c4939,_0x260679,_0x3aa4da),_0x225e58=await realpath(_0xb319a3),_0x5e14aa=[];for(const _0x22069b of[_0x3c4939,..._0x260679]){try{_0x5e14aa[_0x1b4322(_0x388ee7._0x58b839,_0x388ee7._0x5d5b5f,_0x388ee7._0x583223,_0x388ee7._0x1cbabf)](await realpath(_0x22069b));}catch{}}function _0x26b36e(_0x392021,_0x1c37ab,_0x1d232e,_0x44fb34){return _0x28bc81(_0x392021-_0x2fd82d._0x284d2d,_0x1c37ab-0x164,_0x1d232e- -0x17a,_0x1c37ab);}function _0x1b4322(_0x56b8d3,_0x50f349,_0x5c9611,_0x3f0798){return _0x28bc81(_0x56b8d3-0x14,_0x50f349-_0x5441e0._0x11028c,_0x3f0798- -_0x5441e0._0x292c45,_0x5c9611);}if(!_0x5e14aa[_0x1b4322(0x2d7,0x496,0x3fc,0x482)](_0x271a65=>isPathInside(_0x271a65,_0x225e58)))throw new ToolExecutionError(_0x26b36e(_0x388ee7._0x49375a,_0x388ee7._0x482d0e,0x1da,0x2e8)+_0x3aa4da,{'path':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58,'allowedDirs':_0x5e14aa});const _0x4f0a16=await stat(_0x225e58);if(!_0x4f0a16['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x3aa4da,{'path':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58});return{'authoredPath':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58};}async function assertWorkspaceFile(_0x2e711b){const _0x29344a={_0x3e240d:0x427,_0xfc1bdb:0x4fd,_0x2ac778:0x383},_0x5705bb={_0xc1a2a2:0x2d1},_0x66d75b=await stat(_0x2e711b);function _0x58a6ea(_0x2567da,_0x52ef8b,_0x3a7366,_0x1be924){return _0x5b2413(_0x2567da-0x120,_0x52ef8b-0xac,_0x52ef8b- -_0x5705bb._0xc1a2a2,_0x2567da);}if(!_0x66d75b[_0x58a6ea(_0x29344a._0x3e240d,_0x29344a._0xfc1bdb,_0x29344a._0x2ac778,0x38f)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x2e711b,{'path':_0x2e711b});}function isProbablyBinary(_0x183a12){const _0x4d010e={_0x18ed5f:0x126,_0x26bb29:0x184,_0x3f4a77:0x6e7};function _0x298cb3(_0x2fcabd,_0x5abeb2,_0x581651,_0xd41e1b){return _0x5b2413(_0x2fcabd-_0x4d010e._0x18ed5f,_0x5abeb2-_0x4d010e._0x26bb29,_0x2fcabd- -_0x4d010e._0x3f4a77,_0x5abeb2);}return _0x183a12[_0x298cb3(0x79,0x4b,0x287,-0x125)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x4ca09e=>_0x300b53(_0x4ca09e),'stat':_0x2de938=>_0x3dcd52(_0x2de938),'atomicWrite':(_0x2fc98f,_0x110c9c,_0x298179)=>atomicReplaceFile(_0x2fc98f,_0x110c9c,_0x298179)};function parseAnchoredInput(_0x168c7d,_0x379ecd){if(_0x168c7d==='hashline')return parseHashlineFileEditInput(_0x379ecd);return parseStructuredFileEditInput(_0x379ecd);}function stableStringify2(_0xc1e94d){const _0x2234da={_0x640bf3:0x232,_0x7cbaea:0x79b,_0x5e1d73:0x46,_0x56ef06:0x20f,_0x437283:0xcf,_0x2cc764:0x248,_0x405d35:0x8cc,_0x137c58:0x730,_0x29f2f4:0x53f,_0x5aa813:0x59b,_0x35b9d1:0x4d6,_0x3a1e65:0x7a9,_0x3f21ce:0x7af,_0x350896:0x47f},_0x345ecd={_0x12e831:0x80},_0x11c016={_0x54fcde:0x15f};if(Array[_0xfc1b23(_0x2234da._0x640bf3,0x2,0x202,0x1c4)](_0xc1e94d))return'['+_0xc1e94d[_0x392c60(0x7ea,0x730,0x554,_0x2234da._0x7cbaea)](stableStringify2)[_0x392c60(0x490,0x5bc,0x670,0x4e3)](',')+']';if(_0xc1e94d!==null&&typeof _0xc1e94d===_0xfc1b23(_0x2234da._0x5e1d73,0x2f,0x247,0x1e5)){const _0x42a5d4=_0xc1e94d;return'{'+Object[_0xfc1b23(0xd5,0x348,_0x2234da._0x56ef06,0x1f7)](_0x42a5d4)[_0xfc1b23(_0x2234da._0x437283,0xa0,0x2a3,_0x2234da._0x2cc764)]()[_0x392c60(_0x2234da._0x405d35,_0x2234da._0x137c58,_0x2234da._0x29f2f4,_0x2234da._0x5aa813)](_0x14b721=>JSON[_0xfc1b23(0x6a7,0x4b5,0x3c1,0x4b4)](_0x14b721)+':'+stableStringify2(_0x42a5d4[_0x14b721]))[_0xfc1b23(0x551,_0x2234da._0x35b9d1,0x3c4,0x3dd)](',')+'}';}function _0x392c60(_0x41cf2b,_0x144323,_0x14a3ad,_0x2ac5b7){return _0x28bc81(_0x41cf2b-0x121,_0x144323-0x1c4,_0x144323-_0x11c016._0x54fcde,_0x2ac5b7);}function _0xfc1b23(_0x1782b2,_0x1fc5ef,_0x336789,_0xe4a9f4){return _0x28bc81(_0x1782b2-0x1c1,_0x1fc5ef-0x13c,_0xe4a9f4- -_0x345ecd._0x12e831,_0x1fc5ef);}return JSON[_0x392c60(_0x2234da._0x3a1e65,0x693,_0x2234da._0x3f21ce,_0x2234da._0x350896)](_0xc1e94d);}function normalizeOperationContent(_0x3192ad){const _0x16a909={_0x17c575:0x452,_0x28b590:0x3f2,_0x5dcafb:0x28d,_0x4bad6a:0x29f,_0x495652:0x3f6,_0x3d48bb:0x3d7,_0x2d25f3:0x404,_0x99edeb:0x30c,_0x53d5a0:0x388,_0xb1f5d9:0x48b,_0x57b5d4:0x395,_0x490306:0x23e},_0x40a7cf={_0x4549f2:0x14e,_0x2be178:0x561},_0x3e4714={_0x7917e9:0x1b7};function _0x5b244b(_0x410387,_0x208391,_0x4b52c6,_0x24f9be){return _0x28bc81(_0x410387-0x69,_0x208391-_0x3e4714._0x7917e9,_0x410387- -0x105,_0x24f9be);}if(_0x3192ad[_0x5b244b(0x4b3,0x629,0x658,0x624)]===_0x5b244b(_0x16a909._0x17c575,0x3d1,_0x16a909._0x28b590,_0x16a909._0x5dcafb)||_0x3192ad[_0x15062f(_0x16a909._0x4bad6a,0x587,_0x16a909._0x495652,_0x16a909._0x3d48bb)]==='insert')return{..._0x3192ad,'content':_0x3192ad[_0x15062f(_0x16a909._0x2d25f3,0x313,_0x16a909._0x99edeb,0x399)][_0x15062f(_0x16a909._0x53d5a0,_0x16a909._0xb1f5d9,_0x16a909._0x57b5d4,_0x16a909._0x490306)](/\r\n/g,'\x0a')};function _0x15062f(_0x99b16b,_0xc540e9,_0x4b000,_0x2d5fb7){return _0x5b2413(_0x99b16b-_0x40a7cf._0x4549f2,_0xc540e9-0x19a,_0x4b000- -_0x40a7cf._0x2be178,_0xc540e9);}return _0x3192ad;}function computePayloadDigest(_0x45651a){return sha256Bytes(stableStringify2(_0x45651a['map'](normalizeOperationContent)));}function collectRequiredLines(_0x6b9e25){const _0x213ce0={_0x3d500c:0x192,_0x3e495b:0x374,_0x20b6ba:0x58e},_0x248312={_0x4132de:0x12e},_0x24fde3={_0x41a4ff:0x23,_0x41bb23:0x2f8},_0x2f6676=new Set();function _0x6bfd6e(_0x303873,_0x5a46b7,_0x4cf1ce,_0x2e1cba){return _0x5b2413(_0x303873-_0x24fde3._0x41a4ff,_0x5a46b7-0x67,_0x303873- -_0x24fde3._0x41bb23,_0x2e1cba);}function _0x4dfc0c(_0x54640e,_0x39c6ad,_0x499331,_0x1fe1e9){return _0x28bc81(_0x54640e-0x13f,_0x39c6ad-0x16b,_0x39c6ad- -_0x248312._0x4132de,_0x54640e);}for(const _0x26a948 of _0x6b9e25){if(_0x26a948['operation']==='insert')_0x2f6676[_0x6bfd6e(0x312,0x16e,_0x213ce0._0x3d500c,0x34c)](_0x26a948['line']);else for(let _0x457848=_0x26a948['startLine'];_0x457848<=_0x26a948[_0x6bfd6e(0x4a3,_0x213ce0._0x3e495b,0x42a,0x543)];_0x457848+=0x1){_0x2f6676['add'](_0x457848);}}return[..._0x2f6676][_0x6bfd6e(0x36f,0x274,_0x213ce0._0x20b6ba,0x363)]((_0x3b327a,_0x344b90)=>_0x3b327a-_0x344b90);}async function resolveEditTarget(_0x19c799,_0x1bf21c,_0x5a5aab){const _0x4747e2={_0x4e4c35:0x488,_0x400d51:0x5cf,_0x389598:0x9e,_0x5d3623:0x2ab,_0x1c23b8:0x205,_0x52f5d6:0x36e,_0x129366:0x289,_0x10d3ab:0x2ce},_0x2de981={_0x1ba6e7:0x1cf,_0x164ded:0x110},_0x5c01fc={_0x4c113a:0x120};function _0x1b8ee1(_0x3c453c,_0x14fbb6,_0x395108,_0x3d07df){return _0x28bc81(_0x3c453c-0xfe,_0x14fbb6-0x185,_0x3d07df-_0x5c01fc._0x4c113a,_0x3c453c);}function _0xb62f0(_0x421a2e,_0x4eef55,_0x1cb55e,_0x252bcf){return _0x5b2413(_0x421a2e-_0x2de981._0x1ba6e7,_0x4eef55-_0x2de981._0x164ded,_0x421a2e- -0x4f5,_0x4eef55);}try{return await resolveCanonicalAllowedFile(_0x19c799,_0x1bf21c,_0x5a5aab);}catch(_0x4c1031){if(_0x4c1031 instanceof ToolExecutionError)throw _0x4c1031;const _0x537207=_0x4c1031 instanceof Error?_0x4c1031[_0xb62f0(_0x4747e2._0x4e4c35,0x29f,_0x4747e2._0x400d51,0x31f)]:String(_0x4c1031);throw createAnchoredFileError('unknown_snapshot',_0xb62f0(0xb6,_0x4747e2._0x389598,0x42,-0x21)+_0x5a5aab+_0xb62f0(_0x4747e2._0x5d3623,0x144,0x3d5,_0x4747e2._0x1c23b8)+_0x537207+_0x1b8ee1(_0x4747e2._0x52f5d6,_0x4747e2._0x129366,_0x4747e2._0x10d3ab,0x473),{'path':_0x5a5aab});}}async function readLiveSnapshot(_0x463922,_0x286161){const _0x205f73={_0x420d1a:0x5c1,_0x5f8a03:0x3d2,_0x3c4298:0x442,_0x25889c:0x64f,_0x27a8ef:0x8df,_0x5ee5a3:0x740,_0x568a41:0x615,_0x787b58:0x521},_0x5f48c4={_0x114f81:0xd5,_0x2d01e3:0x382},_0x57bb06={_0x4cbd12:0x6b,_0x58d43d:0x198};function _0x517cd7(_0x4d06b5,_0x3e766a,_0x528116,_0x1d347a){return _0x28bc81(_0x4d06b5-_0x57bb06._0x4cbd12,_0x3e766a-_0x57bb06._0x58d43d,_0x4d06b5-0x3b5,_0x1d347a);}function _0x53d06b(_0x5105f6,_0x46702a,_0x2cc18b,_0x47017c){return _0x28bc81(_0x5105f6-0x1b1,_0x46702a-_0x5f48c4._0x114f81,_0x2cc18b-_0x5f48c4._0x2d01e3,_0x46702a);}let _0x48a1b2;try{_0x48a1b2=await _0x300b53(_0x463922);}catch(_0x5dbc53){const _0x3eff68=_0x5dbc53 instanceof Error?_0x5dbc53['message']:String(_0x5dbc53);throw createAnchoredFileError(_0x53d06b(0x3b6,0x485,_0x205f73._0x420d1a,_0x205f73._0x5f8a03),_0x53d06b(0x6e5,_0x205f73._0x3c4298,0x58e,_0x205f73._0x25889c)+_0x286161+_0x53d06b(0x5b1,_0x205f73._0x27a8ef,_0x205f73._0x5ee5a3,0x53c)+_0x3eff68+_0x53d06b(_0x205f73._0x568a41,_0x205f73._0x787b58,0x6d5,0x4b4),{'path':_0x286161});}return createNormalizedFileSnapshot(_0x463922,_0x48a1b2);}function staleSnapshotMessageText(_0x130a4f,_0x455ac7){const _0x3077f4={_0x49e741:0x1b5,_0x17a44f:0xd8,_0x43bac4:0x275,_0x5d1aa2:0x218,_0x4ea50b:0x275},_0x2eb113={_0x131d54:0x9e,_0x555001:0xf2,_0x43e07d:0x72a},_0x225b6b={_0x190ea5:0x187,_0x812797:0x625};function _0x38843a(_0x45887e,_0x17de8e,_0x3a836b,_0x122459){return _0x5b2413(_0x45887e-_0x225b6b._0x190ea5,_0x17de8e-0x192,_0x17de8e- -_0x225b6b._0x812797,_0x122459);}function _0x2102d3(_0xce78fb,_0x591cf7,_0x145649,_0x1683cc){return _0x5b2413(_0xce78fb-_0x2eb113._0x131d54,_0x591cf7-_0x2eb113._0x555001,_0x1683cc- -_0x2eb113._0x43e07d,_0x591cf7);}return{'reasonLine':_0x38843a(_0x3077f4._0x49e741,0x14b,0x1f4,-_0x3077f4._0x17a44f)+_0x455ac7+_0x38843a(0x3a7,0x2ca,_0x3077f4._0x43bac4,0xe8),'guidance':'File\x20'+_0x130a4f+_0x38843a(0x28f,0x1be,_0x3077f4._0x5d1aa2,_0x3077f4._0x4ea50b)};}function unseenLinesMessageText(){const _0x2729fa={_0x5d4503:0x247,_0x3b7ef1:0x3c7,_0x59bbfe:0x2b6},_0x735aec={_0x399017:0x195,_0x57effc:0x76},_0x5de583={_0x5cb2f6:0x1cc,_0x3ef413:0x145,_0x71700a:0x64c};function _0x22ba56(_0x384605,_0x2d9cd4,_0x211bda,_0x4a155a){return _0x5b2413(_0x384605-_0x5de583._0x5cb2f6,_0x2d9cd4-_0x5de583._0x3ef413,_0x211bda- -_0x5de583._0x71700a,_0x2d9cd4);}function _0x3d615c(_0x5c78cc,_0x579a01,_0x37a9fa,_0x354ad9){return _0x5b2413(_0x5c78cc-_0x735aec._0x399017,_0x579a01-_0x735aec._0x57effc,_0x354ad9- -0x5c1,_0x37a9fa);}return{'reasonLine':_0x3d615c(_0x2729fa._0x5d4503,_0x2729fa._0x3b7ef1,0x151,_0x2729fa._0x59bbfe),'guidance':_0x3d615c(-0x81,0x225,0x255,0x142)};}function noChangeMessageText(_0x12a2c0,_0x34f02b){const _0x404f64={_0x383dfe:0x443,_0x3f70f4:0x109,_0x54b200:0x143,_0x433cbe:0x146,_0x261ce5:0x3ad},_0x192080={_0x4394b4:0x165,_0x5a61db:0x3b8},_0x585d1f={_0x48f4d8:0xf1,_0x1f904a:0xca,_0x32fa9f:0x73c};function _0x12d8f9(_0x981c24,_0x111c35,_0x4d9466,_0x49e5b7){return _0x5b2413(_0x981c24-_0x585d1f._0x48f4d8,_0x111c35-_0x585d1f._0x1f904a,_0x111c35- -_0x585d1f._0x32fa9f,_0x981c24);}const _0x2d572b=_0x34f02b>=0x3;function _0x52544b(_0x7c6b30,_0x92bbd7,_0x3fad89,_0x5b8181){return _0x5b2413(_0x7c6b30-0x5d,_0x92bbd7-_0x192080._0x4394b4,_0x3fad89- -_0x192080._0x5a61db,_0x7c6b30);}return{'reasonLine':_0x52544b(_0x404f64._0x383dfe,0x27b,0x2f3,_0x404f64._0x3f70f4)+_0x12a2c0+_0x52544b(0x364,0x308,0x208,0x364),'guidance':_0x2d572b?_0x12d8f9(-0x2ef,-0x151,-_0x404f64._0x54b200,-_0x404f64._0x433cbe):_0x52544b(0x3f8,0x4c8,0x2cd,_0x404f64._0x261ce5)};}function buildRecoveryContext(_0x1c4d0e,_0xbde740,_0x40958e,_0x57f23c,_0x287a4a,_0x5f26dc){const _0x4a5697={_0x238230:0x6de,_0x5c9a8f:0x5a7,_0x38a33c:0xa8a,_0x47b138:0x8d0,_0x440192:0x8ca,_0x1e53eb:0x115,_0x3a44c3:0x14d,_0x279a4a:0xff,_0x56382:0x22e,_0x5837c9:0x162,_0x2a622f:0x1f5,_0xbecb81:0x7b5,_0xed0fa8:0x91d,_0x5759b1:0xa8b,_0x4ddba6:0x1d,_0x469f01:0x72,_0x498b33:0xad,_0x173294:0x4a,_0x35d1f2:0x623,_0x584130:0x81e,_0x378e96:0xb6,_0x27b871:0x1b,_0x4f1e40:0xb4,_0x2afa2d:0x1c,_0x6f818f:0x18d,_0x50e607:0x6d4,_0xfdce3:0x70d,_0x5aba91:0x6ae},_0x3bd764={_0x204f40:0xe4,_0x1fdd5b:0x62f},_0xf0a03a={_0x40c65a:0x11,_0x435f36:0x35},_0x21fc6f='['+_0x1c4d0e+'#'+_0xbde740[_0x10737d(-0x1d,-0x3c,0x242,0x7a)]+']',_0x408a5b={'tag':_0xbde740[_0x3ffa63(0x4d7,_0x4a5697._0x238230,0x5e0,_0x4a5697._0x5c9a8f)],'digest':_0xbde740[_0x3ffa63(_0x4a5697._0x38a33c,_0x4a5697._0x47b138,_0x4a5697._0x440192,0xac7)],'contextLines':[],'output':_0x287a4a+'\x0a'+_0x21fc6f+'\x0a'+_0x5f26dc};function _0x3ffa63(_0x4f531e,_0x51949c,_0x22a44d,_0x5cde27){return _0x5b2413(_0x4f531e-_0xf0a03a._0x40c65a,_0x51949c-0x1e5,_0x51949c-_0xf0a03a._0x435f36,_0x22a44d);}const _0x158275=_0xbde740[_0x10737d(_0x4a5697._0x1e53eb,0x4,_0x4a5697._0x3a44c3,_0x4a5697._0x279a4a)]['length'],_0x4db8c0=[...new Set(_0x40958e[_0x10737d(_0x4a5697._0x56382,0x323,_0x4a5697._0x5837c9,_0x4a5697._0x2a622f)](_0x30522e=>Number[_0x3ffa63(0x534,0x6ea,0x6d7,0x617)](_0x30522e)&&_0x30522e>=0x1&&_0x30522e<=_0x158275))]['sort']((_0x5c204f,_0x1c41a7)=>_0x5c204f-_0x1c41a7);function _0x10737d(_0x209df9,_0x1e1b88,_0xd6a905,_0x3a47ba){return _0x5b2413(_0x209df9-_0x3bd764._0x204f40,_0x1e1b88-0x8f,_0x3a47ba- -_0x3bd764._0x1fdd5b,_0x1e1b88);}if(_0x4db8c0[_0x3ffa63(_0x4a5697._0xbecb81,_0x4a5697._0xed0fa8,_0x4a5697._0x5759b1,0x7cf)]===0x0)return _0x408a5b;const _0x4d687d=_0x4db8c0[_0x4db8c0['length']-0x1]-_0x4db8c0[0x0]+0x1;if(_0x4d687d>0x14)return _0x408a5b;for(const _0x433b3e of _0x4db8c0){if(!isWithinDisplayColumns(_0xbde740[_0x10737d(0x307,_0x4a5697._0x4ddba6,0x95,0xff)][_0x433b3e-0x1],0x200))return _0x408a5b;}const _0x29eb16=formatAnchoredFileRead({'displayPath':_0x1c4d0e,'snapshot':_0xbde740,'lineStart':_0x4db8c0[0x0],'lineEnd':_0x4db8c0[_0x4db8c0['length']-0x1],'maxBytes':_0x57f23c});if(_0x29eb16['truncated']||_0x29eb16[_0x10737d(_0x4a5697._0x469f01,-_0x4a5697._0x498b33,0xe8,_0x4a5697._0x173294)][_0x10737d(0x46a,0x26f,0x406,0x2b9)]===0x0)return _0x408a5b;const _0x4f405c=_0x287a4a+'\x0a'+_0x29eb16[_0x3ffa63(_0x4a5697._0x35d1f2,0x6af,0x50a,_0x4a5697._0x584130)]['trimEnd']()+'\x0a'+_0x5f26dc;if(Buffer[_0x10737d(-_0x4a5697._0x378e96,-0x2a,-_0x4a5697._0x27b871,_0x4a5697._0x4f1e40)](_0x4f405c,_0x10737d(-_0x4a5697._0x2afa2d,0xad,_0x4a5697._0x6f818f,-0x17))>_0x57f23c)return _0x408a5b;return{'tag':_0xbde740[_0x3ffa63(0x795,_0x4a5697._0x238230,_0x4a5697._0x50e607,0x640)],'digest':_0xbde740[_0x3ffa63(0xa38,_0x4a5697._0x47b138,0x6d5,_0x4a5697._0xfdce3)],'contextLines':[..._0x29eb16[_0x3ffa63(0x619,_0x4a5697._0x5aba91,0x5aa,0x753)]],'output':_0x4f405c};}function assertPreviewWithinBounds(_0x439396,_0x3458e2,_0x379fcf){const _0x2edda3={_0x3712f9:0x4af,_0x254c51:0x5f5,_0x157a90:0x672,_0x2d2146:0x5d4,_0xe535ac:0x460,_0x137368:0x53e,_0x4099e9:0x751},_0x25a961={_0x426a42:0xce,_0x2baad8:0x2c2},_0x559733={_0x83ead7:0x47};function _0x46f279(_0xee0621,_0x2c72cb,_0x1314f2,_0x5dda53){return _0x5b2413(_0xee0621-0x1c4,_0x2c72cb-0x125,_0x5dda53-_0x559733._0x83ead7,_0x1314f2);}const _0x28e832=_0x439396[_0x46f279(0x5de,_0x2edda3._0x3712f9,_0x2edda3._0x254c51,_0x2edda3._0x157a90)]((_0x3a7ba7,_0x2a886c)=>_0x3a7ba7+Buffer[_0x46f279(0x540,0x594,0x81e,0x72a)](_0x2a886c[_0x2e5642(0x470,0x433,0x2f0,0x2cd)],_0x46f279(0x63a,0x608,0x5c1,0x65f))+Buffer[_0x2e5642(0x46f,0x3d3,0x421,0x5eb)](_0x2a886c[_0x46f279(0x80b,0x8ad,0x819,0x8c8)],_0x2e5642(0x4ba,0x283,0x356,0x1d2)),0x0);function _0x2e5642(_0xc311d7,_0x2150d0,_0x5d40c4,_0xbc00fc){return _0x5b2413(_0xc311d7-_0x25a961._0x426a42,_0x2150d0-0x2c,_0x5d40c4- -_0x25a961._0x2baad8,_0x2150d0);}if(_0x28e832>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x46f279(0x5ed,0x822,_0x2edda3._0x2d2146,0x657),'invalid_range:\x20the\x20edit\x27s\x20source-derived\x20preview\x20text\x20is\x20'+_0x28e832+_0x46f279(_0x2edda3._0xe535ac,0x6a0,_0x2edda3._0x137368,0x660)+MAX_ANCHORED_PREVIEW_BYTES+_0x2e5642(0x4ff,0x4c8,0x6a5,_0x2edda3._0x4099e9),{'path':_0x379fcf,'canonicalPath':_0x3458e2,'previewBytes':_0x28e832});}function buildPreview(_0x2d0882,_0x322d76,_0x36ae09,_0x1e7118,_0x17f35d){const _0x48f543={_0x524f81:0x52c,_0x46bbab:0x6ba,_0x49d696:0x49c,_0x3a158c:0x409,_0x78b15d:0x23c,_0x4d4416:0x4f4,_0x276ed2:0x44b,_0x13bcc5:0x4eb,_0x4d76ef:0x473,_0x4c3ca7:0x34d,_0x54f583:0x17a,_0xf3b1da:0x271,_0x13bc74:0x175,_0x1ee467:0x281,_0x117495:0x6a0,_0x35997e:0x4bf},_0x5ccf3f={_0x2a401f:0xd7,_0xb2c3d2:0x2e3},_0x2fa270={_0x47aacf:0x41a};function _0x2ef7a7(_0x158713,_0x3216e0,_0x31d071,_0x24a194){return _0x5b2413(_0x158713-0x1ca,_0x3216e0-0xbb,_0x3216e0- -_0x2fa270._0x47aacf,_0x24a194);}function _0x3fbad5(_0x400856,_0x2f3a44,_0x257d10,_0x23691){return _0x28bc81(_0x400856-0x70,_0x2f3a44-_0x5ccf3f._0x2a401f,_0x23691-_0x5ccf3f._0xb2c3d2,_0x400856);}return{'mode':_0x2d0882,'filePath':_0x322d76[_0x3fbad5(0x384,0x637,0x444,_0x48f543._0x524f81)],'canonicalPath':_0x36ae09[_0x3fbad5(0x580,0x699,0x6b2,_0x48f543._0x46bbab)],'tag':_0x322d76[_0x2ef7a7(_0x48f543._0x49d696,0x28f,_0x48f543._0x3a158c,_0x48f543._0x78b15d)],'digest':_0x1e7118[_0x3fbad5(_0x48f543._0x4d4416,_0x48f543._0x276ed2,_0x48f543._0x13bcc5,0x5e9)]['digest'],'operationCount':_0x17f35d[_0x2ef7a7(_0x48f543._0x4d76ef,_0x48f543._0x4c3ca7,_0x48f543._0x54f583,_0x48f543._0xf3b1da)]['length'],'operations':_0x17f35d[_0x2ef7a7(_0x48f543._0x13bc74,0x34d,0x383,_0x48f543._0x1ee467)],'blocks':_0x17f35d[_0x2ef7a7(_0x48f543._0x117495,_0x48f543._0x35997e,0x381,0x4e2)]};}function buildResultText(_0x2b903b,_0x193324,_0x2693c3,_0x5182df,_0x2666cc){const _0x256c78={_0xb736c6:0x1ae,_0x46ec00:0xc8,_0xdd2572:0x12a,_0x1fd3cf:0x63,_0x53c2e4:0x22b,_0x22c01c:0xdc,_0x3dfc62:0xb3,_0x5be70c:0xa4,_0x4deaba:0xf7,_0x39177f:0x8a,_0x17bd91:0x280,_0x34ba5a:0x343,_0xdda5cd:0x173,_0x55005f:0x2a8},_0x27f0eb={_0x1b0bff:0x1b5},_0x27c62e={_0x46fa99:0x117,_0x84e0e2:0x32f},_0x40503d='['+_0x2b903b+'#'+_0x193324['tag']+']\x0a'+_0x2666cc+'\x0a';let _0x3ceba9=Buffer[_0x5075a3(0x31,0xa7,0x18,_0x256c78._0xb736c6)](_0x40503d,'utf8');const _0x4de7a9=[],_0x2e1dbf=[];function _0x33de37(_0x16b890,_0x44c0f6,_0x80eefc,_0x52490f){return _0x28bc81(_0x16b890-_0x27c62e._0x46fa99,_0x44c0f6-0x1e5,_0x52490f- -_0x27c62e._0x84e0e2,_0x80eefc);}function _0x5075a3(_0x440026,_0x5c7cd0,_0x157d38,_0x1c005d){return _0x28bc81(_0x440026-0x114,_0x5c7cd0-_0x27f0eb._0x1b0bff,_0x157d38- -0x32c,_0x5c7cd0);}for(const _0x3d7c67 of _0x2693c3){const _0x4a1883=_0x3d7c67+':'+(_0x193324[_0x5075a3(_0x256c78._0x46ec00,_0x256c78._0xdd2572,_0x256c78._0x1fd3cf,0xe0)][_0x3d7c67-0x1]??'')+'\x0a',_0x118a22=Buffer[_0x5075a3(0x1a2,0x1ba,0x18,0x7)](_0x4a1883,_0x5075a3(-_0x256c78._0x53c2e4,-_0x256c78._0x22c01c,-_0x256c78._0x3dfc62,_0x256c78._0x5be70c));if(_0x3ceba9+_0x118a22>_0x5182df)break;_0x4de7a9[_0x5075a3(_0x256c78._0x4deaba,0xf4,_0x256c78._0x39177f,_0x256c78._0x17bd91)](_0x4a1883),_0x2e1dbf['push'](_0x3d7c67),_0x3ceba9+=_0x118a22;}return{'output':''+_0x40503d+_0x4de7a9[_0x33de37(_0x256c78._0x34ba5a,_0x256c78._0xdda5cd,_0x256c78._0x55005f,0x12e)](''),'observedLines':_0x2e1dbf};}function selectChangedContextLines(_0x377eac,_0x46a640,_0x4f22c8){const _0xc8912b={_0x2d62de:0x6ae,_0x1566f2:0x818,_0x20bca4:0x797,_0x4ea67f:0x743,_0x2f276d:0x24f,_0x4a2708:0x6aa,_0x16f306:0x4a3,_0x560285:0x288,_0x414a17:0x439,_0x4ccb29:0x5af,_0xc8c0c:0x728,_0x18bda2:0x8a0,_0x505995:0x545,_0x4fc7ae:0x468,_0xb05e2d:0x3dd,_0x2dd7cf:0x391,_0x113293:0x298,_0x151dac:0x580,_0x390fed:0x2b6,_0x50509a:0x4a6,_0x498e44:0x2b7,_0x39b238:0x10,_0x5b1d4d:0x23f,_0x5336b8:0x495,_0x317d04:0x102,_0x5c3e53:0x322,_0x361b77:0x5e1,_0x2d1f5b:0xc7,_0x3b15bd:0xe6,_0x34e48d:0x156,_0x48561a:0x99,_0x16f7ed:0x189,_0x206226:0x574,_0x55070f:0x58c,_0x366516:0x48f,_0x4b4255:0x497,_0xc61aec:0x420,_0x2c3ec7:0x41b},_0xa983e2={_0x3de8db:0x3f,_0x2e6efa:0x8e},_0x3916c4={_0x1476c1:0x5c6};function _0x18189d(_0x353c8c,_0x519206,_0x48a64f,_0x2b0309){return _0x5b2413(_0x353c8c-0x3d,_0x519206-0x199,_0x2b0309- -_0x3916c4._0x1476c1,_0x353c8c);}const _0x26ab55=new Set();function _0x59d99b(_0x5f36f8,_0xab5adb,_0x18536c,_0x26b472){return _0x28bc81(_0x5f36f8-_0xa983e2._0x3de8db,_0xab5adb-_0xa983e2._0x2e6efa,_0x18536c-0x1fd,_0x5f36f8);}for(const _0x273248 of _0x377eac){const _0x16f10d=_0x273248[_0x59d99b(_0xc8912b._0x2d62de,_0xc8912b._0x1566f2,_0xc8912b._0x20bca4,0x73e)];if(_0x4f22c8==='after'){if(_0x16f10d['newLineCount']>0x0)for(let _0x1d54e8=_0x16f10d['newStartLine'];_0x1d54e8<=_0x16f10d['newEndLine']&&_0x1d54e8<=_0x46a640[_0x59d99b(_0xc8912b._0x4ea67f,0x49d,0x58c,0x787)]['length'];_0x1d54e8+=0x1){_0x26ab55[_0x18189d(0x7f,-0x74,_0xc8912b._0x2f276d,0x44)](_0x1d54e8);}else _0x16f10d[_0x59d99b(0x618,_0xc8912b._0x4a2708,_0xc8912b._0x16f306,0x2a3)]>=0x1&&_0x16f10d[_0x59d99b(_0xc8912b._0x560285,_0xc8912b._0x414a17,0x4a3,_0xc8912b._0x4ccb29)]<=_0x46a640['lines'][_0x59d99b(_0xc8912b._0xc8c0c,_0xc8912b._0x18bda2,0x746,0x74e)]&&_0x26ab55[_0x59d99b(_0xc8912b._0x505995,0x63e,_0xc8912b._0x4fc7ae,_0xc8912b._0xb05e2d)](_0x16f10d['newStartLine']);}else{if(_0x16f10d[_0x18189d(_0xc8912b._0x2dd7cf,0x282,_0xc8912b._0x113293,0x280)]>0x0)for(let _0xa389e8=_0x16f10d[_0x59d99b(_0xc8912b._0x151dac,_0xc8912b._0x390fed,_0xc8912b._0x50509a,0x350)];_0xa389e8<=_0x16f10d[_0x59d99b(0x5ce,0x445,0x58f,0x3c4)]&&_0xa389e8<=_0x46a640[_0x18189d(_0xc8912b._0x498e44,-_0xc8912b._0x39b238,_0xc8912b._0x5b1d4d,0x168)][_0x18189d(_0xc8912b._0x5336b8,_0xc8912b._0x317d04,0x1e4,_0xc8912b._0x5c3e53)];_0xa389e8+=0x1){_0x26ab55[_0x59d99b(0x58f,_0xc8912b._0x361b77,_0xc8912b._0x4fc7ae,0x588)](_0xa389e8);}else _0x16f10d[_0x18189d(-0x97,-_0xc8912b._0x2d1f5b,_0xc8912b._0x3b15bd,0x82)]>=0x1&&_0x16f10d[_0x18189d(-_0xc8912b._0x34e48d,_0xc8912b._0x48561a,_0xc8912b._0x16f7ed,0x82)]<=_0x46a640[_0x59d99b(0x506,_0xc8912b._0x206226,_0xc8912b._0x55070f,0x4e9)][_0x18189d(0x282,_0xc8912b._0x366516,_0xc8912b._0x4b4255,0x322)]&&_0x26ab55[_0x59d99b(0x599,_0xc8912b._0xc61aec,0x468,_0xc8912b._0x2c3ec7)](_0x16f10d['oldStartLine']);}}return[..._0x26ab55]['sort']((_0x290d33,_0x3b2526)=>_0x290d33-_0x3b2526)['slice'](0x0,0x14);}function throwStaleSnapshot(_0x5623ae,_0xfc4b23,_0x3c203a,_0x8041d3){const _0x1e5290={_0x5ebcd4:0x2fb,_0x14ec23:0x3c0,_0x4be749:0x264,_0x845308:0x255,_0x1a5126:0x34c,_0x3a09c5:0x8d8,_0x40e825:0x6b5,_0x35604e:0x626,_0x17cd0e:0x94f,_0x33a3cd:0xb16,_0x5ab14b:0xaf},_0x267446={_0x5a6dfd:0x18e,_0x165cae:0x5},_0xf3ee44={_0x1e07f8:0x186,_0x461d13:0xe4,_0x310ef3:0x3dc};function _0x40a819(_0x43d722,_0x35b739,_0x2b1629,_0x109d88){return _0x28bc81(_0x43d722-_0xf3ee44._0x1e07f8,_0x35b739-_0xf3ee44._0x461d13,_0x2b1629-_0xf3ee44._0x310ef3,_0x109d88);}function _0x3de79e(_0x26dd53,_0x27bf8a,_0x1ecdbe,_0x38857c){return _0x28bc81(_0x26dd53-_0x267446._0x5a6dfd,_0x27bf8a-_0x267446._0x165cae,_0x1ecdbe- -0x134,_0x27bf8a);}throw createAnchoredFileError(_0x3de79e(_0x1e5290._0x5ebcd4,0x34c,_0x1e5290._0x14ec23,_0x1e5290._0x4be749),_0x8041d3[_0x3de79e(_0x1e5290._0x845308,_0x1e5290._0x1a5126,0x1a7,-0x2)],{'path':_0x5623ae,'canonicalPath':_0xfc4b23,'tag':_0x3c203a['tag'],'digest':_0x3c203a[_0x40a819(0x800,0xab7,_0x1e5290._0x3a09c5,0x80f)],..._0x8041d3[_0x40a819(0x75b,_0x1e5290._0x40e825,_0x1e5290._0x35604e,0x787)][_0x40a819(_0x1e5290._0x17cd0e,_0x1e5290._0x33a3cd,0x925,0x960)]>0x0?{'contextLines':[..._0x8041d3[_0x3de79e(_0x1e5290._0x5ab14b,-0xb5,0x116,0x163)]]}:{}});}function throwUnseenLines(_0x3380b3,_0x2c274a,_0x548a68,_0x425f28,_0x1184c1){const _0x57f335={_0x11ff7a:0x216,_0x10e95d:0x512,_0x4d5a13:0x1f2,_0x2f8a6f:0x340,_0x23b884:0x716,_0x1967ea:0x685,_0x13f613:0x2e3,_0x43964f:0x290,_0x26f628:0x3dd},_0x450a65={_0x43dabf:0x145,_0x3cb0a5:0x20c};function _0x12e72c(_0x41748b,_0x1f6ad9,_0x2babf2,_0x3c71a8){return _0x5b2413(_0x41748b-0x3c,_0x1f6ad9-_0x450a65._0x43dabf,_0x3c71a8- -_0x450a65._0x3cb0a5,_0x1f6ad9);}function _0x5db541(_0x1326c4,_0x5126ec,_0xcbcea3,_0x3be4cc){return _0x28bc81(_0x1326c4-0xa8,_0x5126ec-0x6f,_0x3be4cc-0x4b,_0xcbcea3);}throw createAnchoredFileError(_0x5db541(_0x57f335._0x11ff7a,0x60a,_0x57f335._0x10e95d,0x3ef),_0x1184c1[_0x5db541(0x235,0x44c,_0x57f335._0x4d5a13,0x326)],{'path':_0x3380b3,'canonicalPath':_0x2c274a,'tag':_0x548a68[_0x12e72c(_0x57f335._0x2f8a6f,0x285,0x581,0x49d)],'digest':_0x548a68[_0x5db541(0x6f7,0x5c7,_0x57f335._0x23b884,0x547)],'requiredLines':[..._0x425f28],..._0x1184c1['contextLines'][_0x5db541(0x443,0x6f3,_0x57f335._0x1967ea,0x594)]>0x0?{'contextLines':[..._0x1184c1[_0x12e72c(_0x57f335._0x13f613,_0x57f335._0x43964f,0x448,_0x57f335._0x26f628)]]}:{}});}function throwNoChange(_0x5179bd,_0xff0fb3,_0x23d745,_0x39ddbd,_0x2b4a00){const _0x2646a3={_0x2f49c2:0x2c6,_0x5c0170:0xc6,_0x15b7c6:0x20f,_0x1019f9:0x482,_0xc2f784:0x538,_0x2faaf8:0x514,_0x48c887:0x36a,_0x3b5df3:0x421,_0x5e9816:0x1fe},_0x4fb4d9={_0x1758d3:0xa7,_0x5367cb:0xbd,_0x53db98:0x4c},_0x305cb4={_0x4ff78c:0x5a};function _0x567820(_0x3f33d4,_0x3f5282,_0x197d7b,_0x1e9422){return _0x28bc81(_0x3f33d4-_0x305cb4._0x4ff78c,_0x3f5282-0x109,_0x3f33d4-0xb7,_0x1e9422);}function _0xe570c6(_0x47cfce,_0x5a7ead,_0x42890b,_0x41fae3){return _0x28bc81(_0x47cfce-_0x4fb4d9._0x1758d3,_0x5a7ead-_0x4fb4d9._0x5367cb,_0x42890b- -_0x4fb4d9._0x53db98,_0x47cfce);}throw createAnchoredFileError(_0x567820(_0x2646a3._0x2f49c2,0xe0,0x1cc,_0x2646a3._0x5c0170),_0x39ddbd[_0x567820(0x392,0x547,_0x2646a3._0x15b7c6,0x20e)],{'path':_0x5179bd,'canonicalPath':_0xff0fb3,'tag':_0x23d745[_0x567820(0x3c1,0x2bb,0x225,0x20a)],'digest':_0x23d745[_0x567820(0x5b3,_0x2646a3._0x1019f9,_0x2646a3._0xc2f784,_0x2646a3._0x2faaf8)],'attemptCount':_0x2b4a00,..._0x39ddbd['contextLines'][_0xe570c6(0x36e,0x674,0x4fd,_0x2646a3._0x48c887)]>0x0?{'contextLines':[..._0x39ddbd[_0xe570c6(_0x2646a3._0x3b5df3,0x150,_0x2646a3._0x5e9816,0x271)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x522050,_0x3e680b,_0x3df959,_0x3f3847){const _0x19362a={_0x485df5:0x5ee,_0x16a4aa:0x552,_0x3b193c:0x4fe,_0x4b7452:0x74a,_0x253c05:0x59c,_0x178912:0x43a,_0x4b2f3f:0x7fd,_0x4204ec:0x5fb,_0x38c16a:0x4de,_0x3248e2:0x44f,_0xcebca4:0x264,_0x3195a2:0x3c4,_0x2ac7f8:0x503,_0x119a39:0x2e4,_0x5916ac:0x681,_0x1b24d8:0x5b8,_0x12c174:0x649,_0x51e23c:0x5a3,_0xda7f4e:0x747,_0x4ca42e:0x60c,_0x28cb1b:0x45e,_0x5ea5e5:0x4ba,_0x2003e8:0x561,_0x24afbd:0x705,_0x51de9f:0x637,_0x521fee:0x584,_0x3bb7e2:0x114,_0x2f3d9b:0x38f,_0x1846b6:0x337,_0x177317:0x34a,_0x2eb029:0x471,_0xfd001c:0x5ea,_0x3569de:0x572,_0x3acf6e:0x4a1,_0x4ff178:0x4c4,_0x45fe29:0x539,_0x52f64c:0x320,_0x12c5c8:0x3e3,_0x352127:0x176,_0x4b971d:0x297,_0x57a25d:0x25e,_0x5b3128:0x2e3,_0x18607f:0x403,_0x266864:0x45d,_0x32b5ff:0x4c7,_0x48bd08:0x5d1,_0x5e65d2:0x122,_0x4b054e:0x328,_0x4db86e:0x391,_0x37e625:0x4e2,_0x3d596e:0x366,_0x462002:0x2e3,_0x2bcf27:0x594,_0x51c512:0x471,_0x3e1373:0x564,_0x3e2c49:0x616,_0x34c5b0:0x56d,_0x22df49:0x4d6},_0x395f38={_0xf7a3b:0x1c,_0x136c5a:0x109,_0x36ff81:0x9a},_0x3a4de4={_0x5a9c3e:0x5c},_0x5b5530=parseAnchoredInput(_0x522050,_0x3e680b),_0x15f84e=await resolveEditTarget(_0x3f3847['defaultCwd'],_0x3f3847[_0x30034a(0x332,_0x19362a._0x485df5,_0x19362a._0x16a4aa,_0x19362a._0x3b193c)],_0x5b5530['filePath']),{observations:_0x320e35}=_0x3f3847;_0x320e35['bindSession'](_0x3df959);const _0x4d2ff8=_0x320e35['resolve'](_0x15f84e['canonicalPath'],_0x5b5530['tag']),_0x31c69c=await readLiveSnapshot(_0x15f84e['canonicalPath'],_0x5b5530['filePath']);function _0x30034a(_0x1ecb76,_0x566e42,_0x54355d,_0x59e90b){return _0x5b2413(_0x1ecb76-0xb5,_0x566e42-_0x3a4de4._0x5a9c3e,_0x54355d- -0x1cb,_0x566e42);}const _0x53d239=computePayloadDigest(_0x5b5530[_0x30034a(_0x19362a._0x4b7452,0x757,_0x19362a._0x253c05,_0x19362a._0x178912)]);if(_0x31c69c['digest']!==_0x4d2ff8['snapshot'][_0x30034a(0x598,_0x19362a._0x4b2f3f,0x6d0,0x5a8)]){const {reasonLine:_0x43c283,guidance:_0x5e6541}=staleSnapshotMessageText(_0x5b5530['filePath'],_0x5b5530[_0x30034a(0x38c,_0x19362a._0x4204ec,_0x19362a._0x38c16a,0x559)]),_0x366ff7=buildRecoveryContext(_0x5b5530['filePath'],_0x31c69c,collectRequiredLines(_0x5b5530[_0x103ef1(_0x19362a._0x3248e2,0x31a,0x462,_0x19362a._0xcebca4)]),_0x3f3847['outputBudgetBytes'],_0x43c283,_0x5e6541);_0x320e35[_0x30034a(0x406,0x46a,_0x19362a._0x3195a2,0x1a6)](_0x31c69c,_0x366ff7[_0x103ef1(0x468,_0x19362a._0x2ac7f8,_0x19362a._0x119a39,0x29f)]),throwStaleSnapshot(_0x5b5530['filePath'],_0x15f84e['canonicalPath'],_0x31c69c,_0x366ff7);}let _0x2f837b;try{_0x2f837b=prepareCanonicalFileEdit(_0x4d2ff8['snapshot'],_0x4d2ff8['observedLines'],_0x5b5530['operations']);}catch(_0x28f443){if(_0x28f443 instanceof ToolExecutionError&&_0x28f443[_0x30034a(_0x19362a._0x5916ac,0x88a,0x746,_0x19362a._0x1b24d8)]['error']===_0x103ef1(0x436,0x527,0x43e,_0x19362a._0x12c174)){const _0x30be63=_0x28f443[_0x103ef1(_0x19362a._0x51e23c,_0x19362a._0xda7f4e,_0x19362a._0x4ca42e,0x5f4)][_0x103ef1(_0x19362a._0x28cb1b,_0x19362a._0x5ea5e5,_0x19362a._0x2003e8,_0x19362a._0x24afbd)]??collectRequiredLines(_0x5b5530[_0x30034a(_0x19362a._0x51de9f,_0x19362a._0x521fee,0x59c,0x474)]),{reasonLine:_0x439fad,guidance:_0x53a134}=unseenLinesMessageText(),_0x17ab67=buildRecoveryContext(_0x5b5530['filePath'],_0x31c69c,_0x30be63,_0x3f3847['outputBudgetBytes'],_0x439fad,_0x53a134);_0x320e35['record'](_0x31c69c,_0x17ab67['contextLines']),throwUnseenLines(_0x5b5530[_0x103ef1(_0x19362a._0x3bb7e2,0x273,0x2e3,_0x19362a._0x2f3d9b)],_0x15f84e[_0x103ef1(_0x19362a._0x1846b6,_0x19362a._0x177317,_0x19362a._0x2eb029,_0x19362a._0xfd001c)],_0x31c69c,_0x30be63,_0x17ab67);}if(_0x28f443 instanceof ToolExecutionError&&_0x28f443[_0x103ef1(_0x19362a._0x3569de,0x7ad,0x60c,_0x19362a._0x3acf6e)][_0x103ef1(_0x19362a._0x4ff178,_0x19362a._0x45fe29,0x472,0x4f0)]===_0x30034a(0x5cf,_0x19362a._0x52f64c,_0x19362a._0x12c5c8,0x5d2)){const _0x216578=_0x320e35[_0x103ef1(_0x19362a._0x352127,_0x19362a._0x4b971d,0x387,0x3e9)](_0x15f84e['canonicalPath'],_0x53d239),{reasonLine:_0x599817,guidance:_0x44f472}=noChangeMessageText(_0x5b5530[_0x103ef1(_0x19362a._0x3b193c,_0x19362a._0x57a25d,_0x19362a._0x5b3128,0xdc)],_0x216578),_0x316429=buildRecoveryContext(_0x5b5530[_0x103ef1(0x1ff,_0x19362a._0x18607f,_0x19362a._0x5b3128,_0x19362a._0x266864)],_0x31c69c,collectRequiredLines(_0x5b5530[_0x103ef1(0x428,0x672,0x462,0x629)]),_0x3f3847[_0x30034a(_0x19362a._0x32b5ff,0x41d,0x544,_0x19362a._0x48bd08)],_0x599817,_0x44f472);_0x320e35[_0x103ef1(0x374,_0x19362a._0x5e65d2,0x28a,0x16f)](_0x31c69c,_0x316429[_0x103ef1(_0x19362a._0x4b054e,_0x19362a._0x4db86e,0x2e4,_0x19362a._0x37e625)]),throwNoChange(_0x5b5530[_0x103ef1(_0x19362a._0x3d596e,0x3a8,_0x19362a._0x462002,0x221)],_0x15f84e[_0x103ef1(_0x19362a._0x2bcf27,0x597,_0x19362a._0x51c512,_0x19362a._0x3e1373)],_0x31c69c,_0x316429,_0x216578);}throw _0x28f443;}function _0x103ef1(_0x35edf7,_0x334cfd,_0x1c083b,_0x19a3d4){return _0x28bc81(_0x35edf7-_0x395f38._0xf7a3b,_0x334cfd-_0x395f38._0x136c5a,_0x1c083b-_0x395f38._0x36ff81,_0x35edf7);}return assertPreviewWithinBounds(_0x2f837b[_0x30034a(_0x19362a._0x3e2c49,_0x19362a._0x34c5b0,0x70e,0x847)],_0x15f84e['canonicalPath'],_0x5b5530[_0x103ef1(0x1ff,0x470,_0x19362a._0x5b3128,_0x19362a._0x22df49)]),buildPreview(_0x522050,_0x5b5530,_0x15f84e,_0x4d2ff8,_0x2f837b);}async function reResolveUnderLock(_0x51ef9c,_0x377e3a,_0xbbcebd,_0x4ac8bf){const _0x8e3960={_0x550ed4:0x260,_0x93c011:0x6ea,_0x3221e6:0x5f5,_0x1e3bed:0x180,_0x3d1e1e:0x183,_0x256326:0x295,_0x44ee11:0x198,_0x771b28:0x230,_0x3128fa:0x172,_0x13dbb3:0x76,_0xf1831e:0xab,_0x4e1336:0xad,_0x526d32:0x410,_0x14198e:0x1ef,_0x5cf022:0x295,_0x2f45d4:0x8c,_0x186a99:0x462,_0x588c94:0x205,_0x3935e4:0x260,_0xea4efe:0x1d4,_0x599073:0x4c5,_0x22a1e3:0x3ee},_0x5f4dd8={_0xea5aab:0x172,_0xfc2863:0x17},_0x462379={_0x4c73be:0x4b,_0x35011c:0xee,_0x3d4955:0x1e8};let _0x3046ab;function _0x351f7e(_0x1e075e,_0x278793,_0x3aef4a,_0x762937){return _0x28bc81(_0x1e075e-_0x462379._0x4c73be,_0x278793-_0x462379._0x35011c,_0x1e075e- -_0x462379._0x3d4955,_0x278793);}function _0x2aa137(_0x30232c,_0x14440d,_0x52875a,_0x45a4a2){return _0x28bc81(_0x30232c-0x162,_0x14440d-_0x5f4dd8._0xea5aab,_0x45a4a2-_0x5f4dd8._0xfc2863,_0x52875a);}try{_0x3046ab=await resolveCanonicalAllowedFile(_0x51ef9c,_0x377e3a,_0xbbcebd[_0x2aa137(0x453,0x224,0x201,_0x8e3960._0x550ed4)]);}catch(_0xc47b15){if(_0xc47b15 instanceof ToolExecutionError)throw _0xc47b15;const _0x50edf7=_0xc47b15 instanceof Error?_0xc47b15[_0x2aa137(0x665,_0x8e3960._0x93c011,0x66e,_0x8e3960._0x3221e6)]:String(_0xc47b15);throw createAnchoredFileError(_0x351f7e(0x30c,_0x8e3960._0x1e3bed,_0x8e3960._0x3d1e1e,0x2ae),_0x351f7e(_0x8e3960._0x256326,_0x8e3960._0x44ee11,0x1b0,_0x8e3960._0x771b28)+_0xbbcebd[_0x351f7e(0x61,0x97,-_0x8e3960._0x3128fa,-0x116)]+_0x351f7e(0x16e,_0x8e3960._0x13dbb3,_0x8e3960._0xf1831e,_0x8e3960._0x4e1336)+_0x50edf7+_0x351f7e(_0x8e3960._0x526d32,0x27b,0x621,0x5ea),{'path':_0xbbcebd['filePath']});}if(_0x3046ab[_0x351f7e(_0x8e3960._0x14198e,0x392,0x107,0x3c5)]!==_0x4ac8bf)throw createAnchoredFileError('stale_snapshot',_0x351f7e(_0x8e3960._0x5cf022,0x274,_0x8e3960._0x2f45d4,0xac)+_0xbbcebd[_0x2aa137(_0x8e3960._0x186a99,0x3b1,_0x8e3960._0x588c94,_0x8e3960._0x3935e4)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0xbbcebd[_0x2aa137(0x3ea,0x6f,_0x8e3960._0xea4efe,0x260)],'canonicalPath':_0x3046ab[_0x2aa137(_0x8e3960._0x599073,0x505,0x55c,_0x8e3960._0x22a1e3)]});return _0x3046ab;}async function executeAnchoredFileEdit(_0x569ca8,_0x3a5cc0,_0x3959bf,_0x37a105,_0x4540e3=defaultFileSystem2){const _0x370efc={_0x9bfd8e:0x5bf,_0x162137:0x555,_0x242847:0x290,_0x19f8db:0x618,_0x327ae0:0x6f2,_0x5f02b9:0x6ef,_0x50c00:0x7cf,_0x439ccd:0x766},_0x417664={_0x63254f:0x4fc,_0x37bab2:0x323,_0x2a72ff:0x57b,_0xe2b192:0x41e,_0x484840:0x19b,_0x19461a:0xb3,_0x1c4689:0x126,_0x1257d5:0xa3,_0x50a351:0x2ae,_0x27b1ea:0x683,_0x5da237:0x463,_0x4fca76:0x3d9,_0x22210a:0x114,_0x5ef0b7:0xa5,_0x9f5d27:0xb,_0x2e7a0c:0x3aa,_0x4978b2:0x1db,_0x370455:0x1c4,_0x9bd340:0x4f0,_0x1990ed:0x3a5,_0x2f732c:0x69f,_0x5516ea:0xab,_0x16d62c:0xc7,_0x54c0aa:0xe,_0x1bb7d7:0x669,_0x10530f:0x477,_0x387da8:0x695,_0x17769c:0x202,_0x3063b9:0x8,_0x246935:0x19b,_0x4e2494:0xb1,_0xdc6919:0xd8,_0x3834d5:0x13,_0x33201f:0x421,_0x11b139:0x71c,_0x28018d:0x594,_0x4b5af0:0x55d,_0x5a79b6:0x2c1,_0x504258:0x4b,_0x59163e:0x42f,_0x26f4a1:0x11a,_0xf3522e:0xc9,_0x4e638f:0x4d9,_0x3204bf:0x3a6,_0x30ba9a:0x3d6,_0x4960e3:0x62,_0x4983e5:0xb6,_0x1023b6:0x162,_0x18fc52:0x13a,_0x1b79f5:0x366,_0x512752:0xf8,_0x30b67f:0x2c5,_0x78d83f:0x10f,_0x250b54:0xdb,_0x31572d:0x169,_0x3817a6:0x2e9,_0x21b55d:0x27d,_0x4ce489:0x167,_0x19fa14:0x2d,_0x575897:0x2e5,_0x4c2c91:0x93,_0x31ed81:0xcd,_0x1d25e0:0x424,_0x25671d:0x3e1,_0xeb26cf:0xd9,_0x2b87f0:0x266,_0x302a26:0xa5,_0x5a92b2:0x7cf,_0x2f1e18:0x69f,_0x7003f2:0x9b,_0x5291f1:0x1c8,_0x3176a8:0xef,_0x2b4200:0x602,_0x547a53:0x484,_0x46fc04:0x490,_0xa8408f:0x2e9,_0x2a28e7:0x4af,_0x307dba:0x10f,_0x2bffae:0x59,_0x22fa65:0xb5,_0x19f272:0x1dd,_0x3e812a:0x23e,_0x50684e:0x258,_0x470332:0x273,_0x147b41:0x214,_0x3d4374:0x478,_0x57979:0x32d,_0x307709:0x2af,_0x47ee57:0xc2,_0x10804f:0x395,_0x35fea1:0x2da,_0x5359f1:0x161,_0x5ea150:0x22d,_0xca5001:0x468,_0x48e74e:0x4a4,_0x36b2db:0x287,_0x39196a:0xd4,_0x385980:0x71,_0x1c14b5:0x290,_0x225a41:0x2ea,_0x4a0475:0x3d4,_0x6ac389:0x249,_0x7b6a2e:0xa0,_0x59ac39:0x168,_0x17a506:0x269,_0x388986:0x513,_0x4f00e4:0x5ed,_0x1759a8:0x530,_0x3a500f:0x398,_0x2e660e:0x304,_0x12b13e:0x1dd,_0x2d7ddb:0x267,_0x429c02:0x9f,_0x1e95bf:0x61d,_0x4ef88b:0x4b3,_0x1e1686:0x270,_0x4aedb2:0x7f5,_0x5f2a9b:0x4ee,_0x557946:0xc8,_0xdf102d:0x189,_0x23c1ed:0x11,_0x35e888:0x1a5,_0x6971b6:0x46f,_0x45e4b3:0x5b6,_0x50e94a:0x567,_0x42b44c:0x56e,_0x19bda9:0x2ad,_0x2a3bc0:0x59c,_0x14b2c5:0x61,_0x383f87:0x2f6,_0x1ffe4c:0x67b,_0x56bea4:0x2eb,_0x7fd6a5:0x213,_0x3d1c03:0xb4,_0x306e8e:0x4ac,_0x1ed47c:0x2d8,_0x79cd7e:0x302,_0x45f817:0x188,_0x30e8e6:0xdb,_0x2b038d:0xf0,_0x1599f6:0x16d,_0x5a401e:0x172,_0xb87776:0x8,_0x2552bc:0x4dc,_0x1a90af:0x357,_0x539146:0x47c,_0x2209ce:0x3d8,_0x327fe8:0x41,_0xf2f1a9:0x76,_0x193a7f:0x2a5,_0x3c8842:0x2e9,_0x1c7f01:0x1b4,_0xe1e434:0x577,_0x3176b8:0x477,_0x36a019:0x2f9,_0x5de8d9:0x209,_0x3b08a1:0x8c,_0x734615:0xad,_0x28a9c5:0x76,_0x5d3f1f:0x3ca,_0x3bf0ef:0x37a,_0x3cbad4:0x2a1,_0xfc3578:0x260,_0x47c3d8:0x2e9,_0x2e7f43:0x796,_0x148153:0x1d2,_0x546dad:0x1d4,_0x281ac8:0x605,_0x5f000c:0x2df,_0x299f58:0x2ab,_0x5b8226:0x290,_0x21938c:0x87,_0x47b2a0:0x135,_0x5d667a:0x129,_0xe2619a:0x2a7,_0x436906:0x393,_0x2010c4:0x3c1,_0x53ca79:0x1fd,_0x3535f3:0x137,_0x3dc2a6:0x10e,_0x5bcf13:0x1b3,_0x58dc6c:0x5e9,_0x46232a:0x623,_0x492d0a:0x3f2,_0x4afc7a:0x17d,_0x543384:0xdc,_0x1b5f2d:0xb6,_0x5c2e3c:0x11f,_0x471cfb:0x518,_0x51a03a:0x278,_0x36f949:0x628,_0x401cb0:0x410,_0x1c8c9a:0x287,_0x107969:0xa3,_0x1ea47e:0x13f,_0x34ce7f:0x43c,_0x53cd14:0x475,_0x23b8a4:0x359,_0x206547:0x217,_0x479681:0xa4,_0x3a338c:0xd8,_0x5e735c:0x2b,_0x541b81:0x34f,_0x16c480:0x675,_0x11e3fe:0x59c,_0x2373b3:0x5c3,_0x1d0b15:0x242,_0xc410dc:0x209,_0x2c3ae2:0x24a,_0x2dfedc:0x12e,_0x28355e:0x3b7,_0x3df0c9:0xfd,_0x360618:0x2fa,_0x17a6db:0x0,_0x8c93bc:0x24},_0x1e36ce={_0x19a994:0x1a1},_0x5ddbc7={_0x3bf73c:0x19f},_0x125cda={_0x31d8bc:0x1d5,_0x1fa646:0x8e};function _0x4cbc1f(_0x2ab771,_0x426b09,_0x522696,_0x33a5bd){return _0x5b2413(_0x2ab771-_0x125cda._0x31d8bc,_0x426b09-_0x125cda._0x1fa646,_0x522696- -0x358,_0x2ab771);}const _0x99734d=parseAnchoredInput(_0x569ca8,_0x3a5cc0),_0x5986f2=await resolveEditTarget(_0x37a105['defaultCwd'],_0x37a105[_0x1feea8(_0x370efc._0x9bfd8e,_0x370efc._0x162137,0x3b4,0x563)],_0x99734d[_0x4cbc1f(0x2b2,0xbc,_0x370efc._0x242847,0x366)]);function _0x1feea8(_0x2d13bd,_0xc4fbcf,_0x5401f6,_0x6eefb5){return _0x5b2413(_0x2d13bd-_0x5ddbc7._0x3bf73c,_0xc4fbcf-0x120,_0x2d13bd- -0x15e,_0x5401f6);}return _0x37a105[_0x1feea8(0x61b,0x4cd,0x50b,0x7e8)]['runExclusive'](_0x5986f2[_0x1feea8(_0x370efc._0x19f8db,_0x370efc._0x327ae0,_0x370efc._0x5f02b9,_0x370efc._0x50c00)],_0x3959bf[_0x1feea8(0x60e,_0x370efc._0x439ccd,0x766,0x70d)],async()=>{const _0x2ef358={_0x2ab9e9:0x186,_0x2912f9:0x346},_0x2f1649=await reResolveUnderLock(_0x37a105[_0xa85334(_0x417664._0x63254f,0x39c,_0x417664._0x37bab2,0x330)],_0x37a105[_0xa85334(_0x417664._0x2a72ff,_0x417664._0xe2b192,0x36e,0x33d)],_0x99734d,_0x5986f2[_0x40a4e4(-0x68,_0x417664._0x484840,0xd8,-0xf1)]),{observations:_0x289624}=_0x37a105;_0x289624[_0x40a4e4(_0x417664._0x19461a,_0x417664._0x1c4689,_0x417664._0x1257d5,_0x417664._0x50a351)](_0x3959bf[_0xa85334(_0x417664._0x27b1ea,_0x417664._0x5da237,_0x417664._0x4fca76,0x548)]);const _0x39dfb6=_0x289624[_0x40a4e4(0x129,_0x417664._0x22210a,-_0x417664._0x5ef0b7,-_0x417664._0x9f5d27)](_0x2f1649['canonicalPath'],_0x99734d[_0xa85334(0x25f,_0x417664._0x2e7a0c,_0x417664._0x4978b2,_0x417664._0x370455)]);let _0x5032c0,_0x406c94;try{[_0x5032c0,_0x406c94]=await Promise[_0xa85334(0x4b2,_0x417664._0x9bd340,_0x417664._0x1990ed,_0x417664._0x2f732c)]([_0x4540e3[_0x40a4e4(_0x417664._0x5516ea,-0x176,-_0x417664._0x16d62c,-_0x417664._0x54c0aa)](_0x2f1649[_0xa85334(_0x417664._0x1bb7d7,_0x417664._0x10530f,_0x417664._0x387da8,0x57b)]),_0x4540e3[_0x40a4e4(0x16a,_0x417664._0x17769c,_0x417664._0x3063b9,_0x417664._0x246935)](_0x2f1649[_0x40a4e4(0x122,_0x417664._0x4e2494,_0x417664._0xdc6919,_0x417664._0x3834d5)])]);}catch(_0x36875a){const _0x3b6dc0=_0x36875a instanceof Error?_0x36875a[_0x40a4e4(0x275,_0x417664._0x33201f,0x2df,0x4e1)]:String(_0x36875a);throw createAnchoredFileError(_0xa85334(_0x417664._0x11b139,_0x417664._0x28018d,0x7b5,_0x417664._0x4b5af0),'stale_snapshot:\x20Unable\x20to\x20read\x20'+_0x99734d[_0x40a4e4(0xba,-0x211,-0xb6,-_0x417664._0x5a79b6)]+_0x40a4e4(-0x13b,-_0x417664._0x504258,-0x61,-0x16c)+_0x3b6dc0+_0x40a4e4(_0x417664._0x59163e,0x14d,0x2f9,0x4e9),{'path':_0x99734d[_0x40a4e4(-0x2c2,_0x417664._0x26f4a1,-0xb6,_0x417664._0xf3522e)]});}const _0xe8b8b1=createNormalizedFileSnapshot(_0x2f1649[_0xa85334(0x604,0x477,0x63a,0x40f)],_0x5032c0);if(_0xe8b8b1['digest']!==_0x39dfb6[_0xa85334(_0x417664._0x4e638f,_0x417664._0x3204bf,_0x417664._0x30ba9a,0x380)]['digest']){const {reasonLine:_0x1371fd,guidance:_0x4734b6}=staleSnapshotMessageText(_0x99734d[_0x40a4e4(-0x143,-_0x417664._0x4960e3,-_0x417664._0x4983e5,_0x417664._0x1023b6)],_0x99734d[_0x40a4e4(0x58,_0x417664._0x18fc52,_0x417664._0x9f5d27,_0x417664._0x19461a)]),_0x4151c1=buildRecoveryContext(_0x99734d[_0xa85334(0x2b2,0x2e9,0x3b9,_0x417664._0x1b79f5)],_0xe8b8b1,collectRequiredLines(_0x99734d[_0x40a4e4(_0x417664._0x512752,_0x417664._0x30b67f,_0x417664._0xf3522e,0x1e5)]),_0x37a105['outputBudgetBytes'],_0x1371fd,_0x4734b6);_0x289624[_0x40a4e4(0xa0,-0x1d9,-_0x417664._0x78d83f,0xcd)](_0xe8b8b1,_0x4151c1[_0xa85334(_0x417664._0x250b54,0x2ea,_0x417664._0x31572d,0x18d)]),throwStaleSnapshot(_0x99734d[_0xa85334(0x4a1,_0x417664._0x3817a6,_0x417664._0x21b55d,_0x417664._0x4ce489)],_0x2f1649[_0x40a4e4(_0x417664._0x19fa14,_0x417664._0x575897,0xd8,0xb5)],_0xe8b8b1,_0x4151c1);}let _0x3ab0f1;try{_0x3ab0f1=prepareCanonicalFileEdit(_0x39dfb6[_0x40a4e4(0xec,-_0x417664._0x4c2c91,0x7,_0x417664._0x31ed81)],_0x39dfb6[_0xa85334(_0x417664._0x1d25e0,0x5b6,0x589,_0x417664._0x25671d)],_0x99734d[_0x40a4e4(0x24d,-0x6e,0xc9,0x146)]);}catch(_0x47e417){if(_0x47e417 instanceof ToolExecutionError&&_0x47e417[_0xa85334(0x7b8,0x612,0x532,0x5c7)][_0x40a4e4(-0x42,0x198,_0x417664._0xeb26cf,0x22b)]===_0x40a4e4(_0x417664._0x2b87f0,-0x19,_0x417664._0x302a26,-0x8c)){const _0x5902ed=_0x47e417[_0xa85334(_0x417664._0x5a92b2,0x612,_0x417664._0x2f1e18,0x693)][_0x40a4e4(0x22b,_0x417664._0x7003f2,_0x417664._0x5291f1,_0x417664._0x3176a8)]??collectRequiredLines(_0x99734d[_0xa85334(0x62b,0x468,_0x417664._0x2b4200,_0x417664._0x547a53)]),{reasonLine:_0x1491d2,guidance:_0x5d80e2}=unseenLinesMessageText(),_0x3ad444=buildRecoveryContext(_0x99734d[_0xa85334(_0x417664._0x46fc04,_0x417664._0xa8408f,0x33e,0x12c)],_0xe8b8b1,_0x5902ed,_0x37a105[_0xa85334(0x4d8,0x410,0x3e5,_0x417664._0x2a28e7)],_0x1491d2,_0x5d80e2);_0x289624[_0x40a4e4(-0xa6,0x4d,-_0x417664._0x307dba,-_0x417664._0x2bffae)](_0xe8b8b1,_0x3ad444[_0x40a4e4(-0x1c5,-0x24a,-_0x417664._0x22fa65,-0x19a)]),throwUnseenLines(_0x99734d['filePath'],_0x2f1649[_0x40a4e4(0x1d3,_0x417664._0x19f272,_0x417664._0xdc6919,_0x417664._0x3e812a)],_0xe8b8b1,_0x5902ed,_0x3ad444);}if(_0x47e417 instanceof ToolExecutionError&&_0x47e417[_0x40a4e4(_0x417664._0x50684e,0x2ec,_0x417664._0x470332,_0x417664._0x147b41)][_0xa85334(0x493,_0x417664._0x3d4374,0x2e8,0x480)]===_0xa85334(_0x417664._0x57979,_0x417664._0x307709,_0x417664._0x47ee57,0x101)){const {reasonLine:_0x11f21f,guidance:_0x4ae352}=noChangeMessageText(_0x99734d[_0xa85334(_0x417664._0x10804f,_0x417664._0x3817a6,0x450,_0x417664._0x35fea1)],0x1),_0x5acbf7=buildRecoveryContext(_0x99734d[_0x40a4e4(_0x417664._0x5359f1,-_0x417664._0x5ea150,-0xb6,0xa1)],_0xe8b8b1,collectRequiredLines(_0x99734d[_0xa85334(0x2e4,_0x417664._0xca5001,_0x417664._0x48e74e,_0x417664._0x36b2db)]),_0x37a105[_0x40a4e4(_0x417664._0x39196a,0x87,_0x417664._0x385980,0x36)],_0x11f21f,_0x4ae352);_0x289624[_0xa85334(0x3b1,_0x417664._0x1c14b5,0x1ed,0x3e0)](_0xe8b8b1,_0x5acbf7[_0xa85334(0x4de,_0x417664._0x225a41,_0x417664._0x4a0475,0x4a8)]),throwNoChange(_0x99734d[_0x40a4e4(0x109,-_0x417664._0x6ac389,-0xb6,-_0x417664._0x7b6a2e)],_0x2f1649[_0x40a4e4(0x169,_0x417664._0x59ac39,0xd8,_0x417664._0x17a506)],_0xe8b8b1,_0x5acbf7,0x1);}throw _0x47e417;}function _0x40a4e4(_0x5619cf,_0x394d53,_0x15edb1,_0x21f3ec){return _0x4cbc1f(_0x21f3ec,_0x394d53-_0x2ef358._0x2ab9e9,_0x15edb1- -_0x2ef358._0x2912f9,_0x21f3ec-0x1e6);}assertPreviewWithinBounds(_0x3ab0f1[_0xa85334(0x7a0,0x5da,0x665,0x6c6)],_0x2f1649['canonicalPath'],_0x99734d[_0xa85334(0x3f8,_0x417664._0xa8408f,0x404,_0x417664._0x5291f1)]);function _0xa85334(_0x59b81d,_0x38bce6,_0xeab069,_0x3a5d40){return _0x1feea8(_0x38bce6- -_0x1e36ce._0x19a994,_0x38bce6-0x2d,_0x3a5d40,_0x3a5d40-0x59);}const _0x358c5f=_0x3ab0f1[_0xa85334(_0x417664._0x388986,_0x417664._0xca5001,_0x417664._0x4f00e4,_0x417664._0x1759a8)]['length'],_0x5cde44=serializeNormalizedFile(_0x3ab0f1[_0x40a4e4(0x399,_0x417664._0x3a500f,_0x417664._0x2e660e,_0x417664._0x12b13e)],{'bom':_0xe8b8b1['bom'],'eol':_0xe8b8b1[_0x40a4e4(0x39b,_0x417664._0x2d7ddb,0x2a3,_0x417664._0x429c02)]}),_0x4e9334=_0x406c94[_0xa85334(_0x417664._0x1e95bf,0x57c,0x3fa,_0x417664._0x4ef88b)];if(_0x99734d[_0xa85334(0x8e,_0x417664._0x1e1686,0x34b,0x1f1)]){const _0x101765=buildResultText(_0x99734d['filePath'],_0xe8b8b1,selectChangedContextLines(_0x3ab0f1[_0xa85334(0x5e8,0x5da,_0x417664._0x4aedb2,_0x417664._0x5f2a9b)],_0xe8b8b1,'before'),_0x37a105[_0x40a4e4(-_0x417664._0x557946,-_0x417664._0xdf102d,0x71,_0x417664._0x23c1ed)],'Validated\x20'+_0x358c5f+_0xa85334(_0x417664._0x35e888,0x26f,0xa1,0x2ab));_0x289624[_0xa85334(0x196,0x290,_0x417664._0x6971b6,0x1bd)](_0xe8b8b1,_0x101765[_0xa85334(0x6f3,_0x417664._0x45e4b3,0x5b7,_0x417664._0x50e94a)]);const _0xb93288={'preview':buildPreview(_0x569ca8,_0x99734d,_0x2f1649,_0x39dfb6,_0x3ab0f1),'beforeDigest':_0x39dfb6[_0xa85334(_0x417664._0x42b44c,0x3a6,_0x417664._0x19bda9,0x1cd)][_0xa85334(0x47b,_0x417664._0x2a3bc0,0x5c7,0x6d5)],'afterDigest':_0xe8b8b1[_0xa85334(0x520,0x59c,0x626,0x717)],'beforeTag':_0x99734d[_0x40a4e4(0x117,0x1ab,0xb,-0x133)],'afterTag':_0xe8b8b1[_0xa85334(0x55c,_0x417664._0x2e7a0c,0x1f1,0x453)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x358c5f,'tokenClassification':'edit'};return createToolOutput(_0x101765[_0x40a4e4(0x113,-_0x417664._0x14b2c5,-0x24,-0x1ba)],_0xb93288);}try{await _0x4540e3['atomicWrite'](_0x2f1649[_0x40a4e4(_0x417664._0x383f87,0xab,0xd8,-0x143)],_0x5cde44,_0x4e9334);}catch(_0xcfb42e){const _0x1785f6=_0xcfb42e instanceof Error?_0xcfb42e[_0xa85334(0x607,0x67e,0x747,_0x417664._0x1ffe4c)]:String(_0xcfb42e);throw createAnchoredFileError('write_failed',_0x40a4e4(_0x417664._0x56bea4,0x5d,_0x417664._0x7fd6a5,0x2c2)+_0x99734d[_0x40a4e4(0x63,-_0x417664._0x3d1c03,-_0x417664._0x4983e5,-0x185)]+':\x20'+_0x1785f6+_0xa85334(0x3ba,0x4cc,_0x417664._0x3204bf,_0x417664._0x306e8e),{'path':_0x99734d['filePath'],'canonicalPath':_0x2f1649['canonicalPath']});}let _0x30344f,_0x24a095;try{[_0x30344f,_0x24a095]=await Promise[_0xa85334(0x686,_0x417664._0x9bd340,0x2d2,0x2f3)]([_0x4540e3[_0xa85334(0x35e,_0x417664._0x1ed47c,0x467,_0x417664._0x79cd7e)](_0x2f1649[_0x40a4e4(_0x417664._0x45f817,-0x74,0xd8,-_0x417664._0x30e8e6)]),_0x4540e3[_0x40a4e4(_0x417664._0x2b038d,-_0x417664._0x1599f6,_0x417664._0x3063b9,0xc9)](_0x2f1649[_0x40a4e4(-0x1b,_0x417664._0x5a401e,_0x417664._0xdc6919,-_0x417664._0xb87776)])]);}catch(_0x554fbf){const _0x3bd105=_0x554fbf instanceof Error?_0x554fbf['message']:String(_0x554fbf);throw createAnchoredFileError(_0xa85334(0x3e5,0x364,_0x417664._0x2552bc,0x2b8),_0xa85334(0x411,_0x417664._0x1a90af,_0x417664._0x539146,_0x417664._0x2209ce)+_0x99734d[_0x40a4e4(-0x180,_0x417664._0x327fe8,-0xb6,0x12f)]+'\x20after\x20writing\x20('+_0x3bd105+_0x40a4e4(0x399,_0x417664._0xf2f1a9,0x269,_0x417664._0x193a7f),{'path':_0x99734d[_0xa85334(0x3b9,_0x417664._0x3c8842,_0x417664._0x1c7f01,0x1ad)],'canonicalPath':_0x2f1649[_0xa85334(_0x417664._0xe1e434,_0x417664._0x3176b8,0x32a,0x68b)]});}if(!_0x30344f['equals'](_0x5cde44)||(_0x24a095[_0x40a4e4(_0x417664._0x36a019,_0x417664._0x5de8d9,_0x417664._0x19f272,0x2c)]&0x1ff)!==(_0x4e9334&0x1ff)){const _0x350ec3='post_write_drift:\x20'+_0x99734d['filePath']+_0x40a4e4(-_0x417664._0x3b08a1,-0xad,-_0x417664._0x734615,_0x417664._0x28a9c5),_0x5e5749=_0xa85334(0x476,_0x417664._0x5d3f1f,_0x417664._0x3bf0ef,_0x417664._0x3cbad4);let _0x3ebd79;try{_0x3ebd79=createNormalizedFileSnapshot(_0x2f1649[_0xa85334(_0x417664._0xfc3578,0x477,0x578,0x512)],_0x30344f);}catch{_0x3ebd79=void 0x0;}let _0x5d0385;_0x3ebd79!==void 0x0?(_0x5d0385=buildRecoveryContext(_0x99734d[_0xa85334(0x477,_0x417664._0x47c3d8,0x3eb,0x3da)],_0x3ebd79,selectChangedContextLines(_0x3ab0f1[_0xa85334(_0x417664._0x2e7f43,0x5da,0x7cc,0x4a3)],_0x3ebd79,_0x40a4e4(-_0x417664._0x148153,_0x417664._0x546dad,0x4b,0x49)),_0x37a105[_0xa85334(_0x417664._0x281ac8,0x410,_0x417664._0x5f000c,_0x417664._0x299f58)],_0x350ec3,_0x5e5749),_0x289624[_0xa85334(0x350,_0x417664._0x5b8226,0x21b,_0x417664._0x370455)](_0x3ebd79,_0x5d0385['contextLines'])):_0x5d0385={'tag':'','digest':'','contextLines':[],'output':_0x350ec3+'\x0a'+_0x5e5749};throw createAnchoredFileError(_0x40a4e4(_0x417664._0x21938c,_0x417664._0x47b2a0,-0x3b,-0xd0),_0x5d0385[_0x40a4e4(0x1,-_0x417664._0x5d667a,-0x24,0xb0)],{'path':_0x99734d[_0xa85334(0x1a1,_0x417664._0x47c3d8,0x34a,0x476)],'canonicalPath':_0x2f1649[_0x40a4e4(0x1c5,-0x43,0xd8,_0x417664._0xe2619a)],..._0x3ebd79!==void 0x0?{'tag':_0x3ebd79[_0xa85334(0x2bf,0x3aa,_0x417664._0x436906,0x214)],'digest':_0x3ebd79[_0x40a4e4(_0x417664._0x2010c4,0x182,_0x417664._0x53ca79,_0x417664._0x3535f3)]}:{},..._0x5d0385[_0x40a4e4(-_0x417664._0x3dc2a6,-_0x417664._0x5bcf13,-0xb5,-0xac)][_0xa85334(0x3cf,_0x417664._0x58dc6c,_0x417664._0x46232a,0x799)]>0x0?{'contextLines':[..._0x5d0385[_0xa85334(_0x417664._0x35e888,0x2ea,0x1cc,_0x417664._0x492d0a)]]}:{}});}const _0x274118=createNormalizedFileSnapshot(_0x2f1649['canonicalPath'],_0x30344f),_0x23cdc9=buildResultText(_0x99734d[_0x40a4e4(-_0x417664._0x4afc7a,-_0x417664._0x543384,-_0x417664._0x1b5f2d,_0x417664._0x5c2e3c)],_0x274118,selectChangedContextLines(_0x3ab0f1['blocks'],_0x274118,_0xa85334(0x5d2,0x3ea,_0x417664._0x471cfb,_0x417664._0x51a03a)),_0x37a105[_0xa85334(_0x417664._0x36f949,_0x417664._0x401cb0,0x3d6,_0x417664._0x1c8c9a)],'Applied\x20'+_0x358c5f+_0x40a4e4(-_0x417664._0x107969,-_0x417664._0x1ea47e,0x39,_0x417664._0x3dc2a6));_0x289624[_0xa85334(0x30b,_0x417664._0x1c14b5,_0x417664._0x34ce7f,_0x417664._0x53cd14)](_0x274118,_0x23cdc9[_0x40a4e4(0x415,_0x417664._0x23b8a4,_0x417664._0x206547,0x1d2)]),_0x289624['resetNoChange'](_0x2f1649[_0x40a4e4(-_0x417664._0x479681,0x1ed,_0x417664._0x3a338c,-_0x417664._0x5e735c)]);const _0x109bf1={'preview':buildPreview(_0x569ca8,_0x99734d,_0x2f1649,_0x39dfb6,_0x3ab0f1),'beforeDigest':_0x39dfb6[_0xa85334(0x239,_0x417664._0x3204bf,_0x417664._0x541b81,0x4d5)][_0xa85334(_0x417664._0x16c480,_0x417664._0x11e3fe,0x596,0x415)],'afterDigest':_0x274118[_0xa85334(0x593,_0x417664._0x11e3fe,0x676,0x6fa)],'beforeTag':_0x99734d[_0xa85334(_0x417664._0x2373b3,_0x417664._0x2e7a0c,0x3fe,0x388)],'afterTag':_0x274118[_0xa85334(0x4ac,0x3aa,0x40f,_0x417664._0x1d0b15)],'bytesWritten':_0x5cde44[_0x40a4e4(0x11d,_0x417664._0xc410dc,_0x417664._0x2c3ae2,_0x417664._0x2dfedc)],'dryRun':![],'operationCount':_0x358c5f,'tokenClassification':_0x40a4e4(_0x417664._0x28355e,_0x417664._0x3df0c9,_0x417664._0x360618,_0x417664._0x53ca79)};return createToolOutput(_0x23cdc9[_0x40a4e4(0xc3,_0x417664._0x17a6db,-_0x417664._0x8c93bc,_0x417664._0x385980)],_0x109bf1);});}import{readFile as _0x18a980,stat as _0x568bae}from'fs/promises';import*as _0x2fedc2 from'path';function detectEol(_0x329ca6){const _0x3181ae={_0x528dba:0x236,_0x4f4c5f:0x3a7,_0x2f4b32:0x3dc,_0x448d8e:0x4ce},_0x3e4f7a={_0x45a03c:0x105,_0x457461:0x112,_0x593b66:0x517},_0x3fe6f7={_0x431fbb:0x78,_0x49a9e2:0x3da};function _0x3482dd(_0x17b054,_0x547d94,_0x4e7a37,_0x4e264e){return _0x5b2413(_0x17b054-0x191,_0x547d94-_0x3fe6f7._0x431fbb,_0x4e7a37- -_0x3fe6f7._0x49a9e2,_0x4e264e);}function _0x59b173(_0x167f60,_0xec1b99,_0x1e2140,_0x45e75b){return _0x5b2413(_0x167f60-_0x3e4f7a._0x45a03c,_0xec1b99-_0x3e4f7a._0x457461,_0x45e75b- -_0x3e4f7a._0x593b66,_0xec1b99);}return/\r\n/['test'](_0x329ca6[_0x3482dd(0x41e,0x417,0x365,_0x3181ae._0x528dba)]('utf8'))?_0x3482dd(_0x3181ae._0x4f4c5f,_0x3181ae._0x2f4b32,_0x3181ae._0x448d8e,0x5d6):'lf';}function normalizeToLf(_0x5679e0){const _0x461890={_0x41b1a6:0x31a,_0x24d536:0x435,_0x5cfd52:0x390,_0x26ef4f:0x41f},_0xbf1dc7={_0x5d7d0c:0xb};function _0x44341f(_0x19423c,_0x314569,_0x8853c2,_0x21c987){return _0x28bc81(_0x19423c-_0xbf1dc7._0x5d7d0c,_0x314569-0x13f,_0x21c987- -0x138,_0x19423c);}return _0x5679e0[_0x44341f(_0x461890._0x41b1a6,_0x461890._0x24d536,_0x461890._0x5cfd52,_0x461890._0x26ef4f)](/\r\n/g,'\x0a');}function convertEol(_0x222372,_0x418103){const _0x33f35d={_0x194f43:0x75d,_0x2efa61:0x5a6,_0x90049c:0x702},_0x2a24a2={_0x5dce22:0xc2,_0x49425f:0x254},_0x29b9a5={_0x4b5f3a:0x130,_0x48413a:0x4c,_0x3533e5:0x1f4};function _0x4461e4(_0xc99ec3,_0x31657e,_0x3a509f,_0x145e44){return _0x5b2413(_0xc99ec3-_0x29b9a5._0x4b5f3a,_0x31657e-_0x29b9a5._0x48413a,_0x3a509f- -_0x29b9a5._0x3533e5,_0x31657e);}function _0x2f809a(_0x3250f1,_0x2f9685,_0x568d22,_0x5c8c0c){return _0x28bc81(_0x3250f1-_0x2a24a2._0x5dce22,_0x2f9685-0x181,_0x568d22-_0x2a24a2._0x49425f,_0x5c8c0c);}return _0x418103===_0x2f809a(0x7b5,0x5d5,_0x33f35d._0x194f43,_0x33f35d._0x2efa61)?_0x222372[_0x4461e4(0x525,0x7b8,_0x33f35d._0x90049c,0x76a)](/\n/g,'\x0d\x0a'):_0x222372;}function resolveAnchoredEditTarget(_0x56f599,_0x4d1c76,_0x593002,_0x5dc308){const _0xbbb3f9={_0x3b3386:0xde,_0x1908f1:0x34e,_0x149d3b:0x959,_0x44375a:0xb08,_0x1ec378:0x305,_0x212186:0xe4,_0x395baf:0x134,_0x4a972a:0x1e,_0x24f906:0x977,_0xf03ddf:0x72a,_0xcab8c2:0x82c,_0x2e59e6:0x87a,_0x2de4aa:0x84},_0x2dac0b={_0x5b7945:0xac},_0x32fd0e={_0x361cee:0x170,_0x3f0719:0x4,_0x378cfe:0x56};function _0x312d33(_0xceddab,_0x1599ed,_0x4f9a65,_0x1d8c76){return _0x5b2413(_0xceddab-_0x32fd0e._0x361cee,_0x1599ed-_0x32fd0e._0x3f0719,_0x4f9a65-_0x32fd0e._0x378cfe,_0x1d8c76);}const _0x4f47bf=_0x56f599[_0x3c1baa(0x18a,0x1ea,_0xbbb3f9._0x3b3386,_0xbbb3f9._0x1908f1)]??_0x312d33(0x893,0x7e8,_0xbbb3f9._0x149d3b,0x877);if(_0x4f47bf===_0x312d33(_0xbbb3f9._0x44375a,0xaec,_0xbbb3f9._0x149d3b,0x78e))return void 0x0;function _0x3c1baa(_0x210ef7,_0x3ecb3a,_0x2b93ef,_0x4d0c64){return _0x5b2413(_0x210ef7-0x7e,_0x3ecb3a-_0x2dac0b._0x5b7945,_0x210ef7- -0x6f1,_0x2b93ef);}const _0x1fb4e1=_0x56f599[_0x3c1baa(0x201,_0xbbb3f9._0x1ec378,-0x8,_0xbbb3f9._0x212186)],_0x43c32e=_0x56f599[_0x3c1baa(0x88,-0x4e,-_0xbbb3f9._0x395baf,0x217)],_0x28a688=_0x56f599[_0x3c1baa(_0xbbb3f9._0x4a972a,0xde,0x14c,-0x10b)];if(_0x1fb4e1===void 0x0||_0x43c32e===void 0x0||_0x28a688===void 0x0){const _0x408f7d=[_0x1fb4e1===void 0x0?_0x312d33(_0xbbb3f9._0x24f906,0xa9b,0x948,0xb46):void 0x0,_0x43c32e===void 0x0?'mutations':void 0x0,_0x28a688===void 0x0?_0x312d33(_0xbbb3f9._0xf03ddf,0x766,0x765,0x836):void 0x0][_0x312d33(_0xbbb3f9._0xcab8c2,0x9c1,_0xbbb3f9._0x2e59e6,0xa7e)](_0x29b9c6=>_0x29b9c6!==void 0x0)[_0x312d33(0x781,0x6c9,0x852,0x9a2)](',\x20');throw new Error(_0x4d1c76+'\x20'+_0x4f47bf+_0x3c1baa(0x161,0xf5,-0x9b,_0xbbb3f9._0x2de4aa)+_0x408f7d+';\x20construct\x20with\x20observations,\x20mutations,\x20and\x20outputBudgetBytes.');}return{'mode':_0x4f47bf,'environment':{'defaultCwd':_0x593002,'allowedDirs':_0x5dc308,'observations':_0x1fb4e1,'mutations':_0x43c32e,'outputBudgetBytes':_0x28a688}};}function createFileEditTool(_0x52e3fd={}){const _0x10ec41={_0x526f68:0x665,_0x42202f:0x538,_0x1fa98a:0x21c,_0x4fcc67:0x327,_0x52e435:0x36b,_0x39a5d3:0x6bb,_0x2ebd33:0x96a,_0x496176:0x8fd,_0x1daca3:0x528,_0x10ae76:0x453,_0x2abbc1:0x410,_0x435e5f:0x480,_0xc895b5:0x514,_0x59cff0:0x6fb,_0x4cbbbf:0x344,_0x37f5b1:0x27d,_0x2ceeef:0x248,_0x64133c:0x541,_0x428039:0x56a,_0x54b68b:0x678,_0x33c926:0x433,_0x3f392a:0x4e7,_0x5bb7d5:0x1c0,_0x4b01b3:0xed,_0xd9e5f8:0x6b2,_0x5d2f0d:0x499,_0x16319b:0x452,_0x5511ec:0x34c,_0x10229b:0x461,_0x205b63:0x23f,_0x4a5c69:0x767,_0x4847dc:0x1f2,_0x428341:0x13f,_0x1415bf:0x308,_0x51fdd2:0x37c},_0x3aea94={_0x2bda4b:0x53f,_0x2e2a84:0x48a,_0x214940:0x3fe,_0x55444e:0x32f,_0x3f089c:0x2fd,_0x35ecb6:0x25f,_0x40789f:0x1d2,_0x12d8f5:0x5cc,_0x7ef202:0x490,_0x14f098:0x65a,_0x5f2047:0x750,_0x330039:0x6ca,_0x27e73e:0x565,_0x1d3ced:0x6b4,_0x4f24ff:0x731,_0x2bfd4c:0x84d,_0x5d9b8:0x7ee,_0x2fc571:0x401,_0x3853d5:0x478,_0x2596cd:0x3ce,_0x45441a:0x48c,_0x1483c8:0x465,_0x26b133:0x362,_0x42fb6c:0x38d,_0x223e58:0x414,_0x3c4a30:0x1e4,_0x3a205b:0x475,_0x36f957:0x4ac,_0x203bc8:0x558,_0x9b03db:0x52f,_0x37444e:0x32a,_0x37a906:0x26a,_0x587c3e:0x54f,_0x31f1bb:0x22d,_0x316c08:0x4a1,_0x5c4ad5:0x1c7,_0x3a5cac:0x593,_0x71fd3f:0x457,_0x1dd459:0x356,_0x47ac1c:0x442,_0x4165bc:0x5c9,_0x28de62:0x6ce,_0x15f9ac:0x4f8,_0x17ed46:0x633,_0x22f5d9:0x7b5},_0x50f934={_0x10768b:0x22,_0x14a107:0x244},_0x4b53b7={_0x326a21:0x13},_0x124afe={_0x66d2cc:0xd2,_0x253cb1:0x71},_0x41d84d=_0x2fedc2[_0x4f4e36(0x784,_0x10ec41._0x526f68,0x6a0,0x588)](_0x52e3fd['defaultCwd']??process[_0x178317(0x6b1,0x5af,_0x10ec41._0x42202f,0x450)]()),_0x4582ea=_0x52e3fd[_0x178317(_0x10ec41._0x1fa98a,_0x10ec41._0x4fcc67,0x28e,_0x10ec41._0x52e435)]??[],_0x43c2ee=_0x52e3fd[_0x4f4e36(_0x10ec41._0x39a5d3,_0x10ec41._0x2ebd33,_0x10ec41._0x496176,0x7a4)]??_0x178317(_0x10ec41._0x1daca3,_0x10ec41._0x10ae76,_0x10ec41._0x2abbc1,0x357);function _0x4f4e36(_0x45d498,_0x224545,_0x4ea302,_0x5e6ac2){return _0x5b2413(_0x45d498-0xf8,_0x224545-_0x124afe._0x66d2cc,_0x5e6ac2- -_0x124afe._0x253cb1,_0x45d498);}const _0x14e8b5=resolveAnchoredEditTarget(_0x52e3fd,_0x43c2ee,_0x41d84d,_0x4582ea);function _0x178317(_0x4feb86,_0x192bd4,_0x147efa,_0x1bf6d1){return _0x5b2413(_0x4feb86-_0x4b53b7._0x326a21,_0x192bd4-0x18f,_0x192bd4- -0x3f6,_0x1bf6d1);}if(_0x14e8b5!==void 0x0){const {mode:_0x1f42d1,environment:_0x3857e9}=_0x14e8b5;return defineTool({'name':_0x43c2ee,'permissionClass':_0x178317(_0x10ec41._0x435e5f,0x4fa,_0x10ec41._0xc895b5,_0x10ec41._0x59cff0),'description':_0x1f42d1===_0x178317(0x202,0x250,_0x10ec41._0x4cbbbf,_0x10ec41._0x37f5b1)?_0x178317(0x2f7,_0x10ec41._0x2ceeef,0x3d0,0xaa):_0x4f4e36(0x58e,_0x10ec41._0x64133c,0x5c5,_0x10ec41._0x428039),'inputSchema':_0x1f42d1===_0x4f4e36(0x695,_0x10ec41._0x54b68b,_0x10ec41._0x33c926,0x5d5)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x1304ae,_0x32d8f5){return yield await executeAnchoredFileEdit(_0x1f42d1,_0x1304ae,_0x32d8f5,_0x3857e9),void 0x0;}});}return defineTool({'name':_0x43c2ee,'permissionClass':_0x178317(0x6c9,0x4fa,_0x10ec41._0x3f392a,0x6bf),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':'object','properties':{'filePath':{'type':_0x178317(_0x10ec41._0x5bb7d5,0x23f,_0x10ec41._0x4b01b3,0x309)},'description':{'type':_0x4f4e36(_0x10ec41._0xd9e5f8,_0x10ec41._0x5d2f0d,0x5d6,0x5c4),'description':_0x178317(0x610,_0x10ec41._0x16319b,_0x10ec41._0x5511ec,0x2ae)},'oldText':{'type':_0x4f4e36(0x677,0x5ce,_0x10ec41._0x10229b,0x5c4)},'newText':{'type':_0x178317(0x1a5,_0x10ec41._0x205b63,0x15a,0x3a0)},'dryRun':{'type':_0x4f4e36(0x63e,_0x10ec41._0x4a5c69,0xa35,0x852)}},'required':[_0x178317(0x15,_0x10ec41._0x4847dc,_0x10ec41._0x428341,0xef),'oldText',_0x178317(_0x10ec41._0x1415bf,0x48b,0x325,_0x10ec41._0x51fdd2)]},async *'execute'(_0x3380dd){const _0x106280=resolveAllowedPath(_0x41d84d,_0x4582ea,_0x3380dd['filePath']);await assertWorkspaceFile(_0x106280);const _0x5e5668=await _0x568bae(_0x106280);function _0x1664df(_0x295dc4,_0x5efd35,_0x50040a,_0x38496f){return _0x4f4e36(_0x38496f,_0x5efd35-0xb9,_0x50040a-0x129,_0x50040a- -0x1a9);}const _0x55db52=await _0x18a980(_0x106280),_0x4a723a=detectEol(_0x55db52),_0x16959b=normalizeToLf(_0x55db52[_0xcdd81(_0x3aea94._0x2bda4b,_0x3aea94._0x2e2a84,0x2b3,0x315)](_0x1664df(0x4b8,0x5f4,_0x3aea94._0x214940,0x31c))),_0x4ee0c1=normalizeToLf(_0x3380dd[_0xcdd81(_0x3aea94._0x55444e,_0x3aea94._0x3f089c,_0x3aea94._0x35ecb6,_0x3aea94._0x40789f)]),_0x2b17c6=normalizeToLf(_0x3380dd[_0xcdd81(0x4c0,_0x3aea94._0x12d8f5,0x662,_0x3aea94._0x7ef202)]),_0x419742=replaceFirstExact(_0x16959b,_0x4ee0c1,_0x2b17c6);if(_0x419742===void 0x0){const _0x305a69=_0x4ee0c1[_0x1664df(0x5fc,0x81c,_0x3aea94._0x14f098,_0x3aea94._0x5f2047)](0x0,0x64)[_0x1664df(_0x3aea94._0x330039,0x6f1,0x6dc,0x657)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xcdd81(_0x3aea94._0x27e73e,_0x3aea94._0x1d3ced,_0x3aea94._0x4f24ff,_0x3aea94._0x2bfd4c)+_0x305a69+(_0x4ee0c1[_0x1664df(0x4fb,_0x3aea94._0x5d9b8,0x6ce,0x617)]>0x64?_0x1664df(_0x3aea94._0x2fc571,_0x3aea94._0x3853d5,0x61f,0x7f9):'')+'\x22',{'filePath':_0x3380dd[_0x1664df(0x4a0,0x54f,_0x3aea94._0x2596cd,_0x3aea94._0x45441a)]});}const _0x1a61c2=convertEol(_0x419742['after'],_0x4a723a),_0x5f4740=Buffer[_0x1664df(_0x3aea94._0x1483c8,_0x3aea94._0x26b133,_0x3aea94._0x42fb6c,_0x3aea94._0x223e58)](_0x1a61c2,_0xcdd81(_0x3aea94._0x3c4a30,0x363,0x321,0x517)),_0x2db018=sha256Bytes(_0x55db52),_0x45f7f7=sha256Bytes(_0x5f4740),_0x115fea=_0x2db018===_0x45f7f7;function _0xcdd81(_0x31388f,_0x8f713a,_0xa48c78,_0x21b3e8){return _0x4f4e36(_0x21b3e8,_0x8f713a-_0x50f934._0x10768b,_0xa48c78-0x1ab,_0x8f713a- -_0x50f934._0x14a107);}const _0x568465=_0x3380dd[_0xcdd81(_0x3aea94._0x3a205b,0x2ba,_0x3aea94._0x36f957,0x467)]??![];return!_0x568465&&!_0x115fea&&await atomicReplaceFile(_0x106280,_0x5f4740,_0x5e5668['mode']),yield createToolOutput(_0x115fea?_0xcdd81(0x5a5,0x534,_0x3aea94._0x203bc8,0x425):_0x568465?_0x1664df(0x6f4,0x472,_0x3aea94._0x9b03db,0x53c):_0xcdd81(0x523,_0x3aea94._0x37444e,_0x3aea94._0x37a906,0x527),{'filePath':_0x3380dd[_0x1664df(_0x3aea94._0x587c3e,_0x3aea94._0x31f1bb,0x3ce,0x50c)],'resolvedPath':_0x106280,'created':_0x5e5668[_0xcdd81(0x575,_0x3aea94._0x316c08,0x54a,0x326)][_0xcdd81(0x2ca,0x320,0x52f,0x180)](),'modified':_0x5e5668['mtime'][_0x1664df(_0x3aea94._0x5c4ad5,0x22d,0x3bb,0x2c9)](),'size':_0x5e5668[_0x1664df(0x31a,_0x3aea94._0x3a5cac,_0x3aea94._0x71fd3f,_0x3aea94._0x1dd459)],'eol':_0x4a723a,'oldTextLength':_0x4ee0c1[_0xcdd81(_0x3aea94._0x47ac1c,0x633,0x5af,0x81a)],'newTextLength':_0x2b17c6[_0x1664df(0x4dc,_0x3aea94._0x4165bc,_0x3aea94._0x28de62,_0x3aea94._0x15f9ac)],'bytesWritten':_0x115fea||_0x568465?0x0:_0x5f4740[_0xcdd81(0x627,_0x3aea94._0x17ed46,0x5a2,0x4fd)],'beforeSha':_0x2db018,'afterSha':_0x45f7f7,'dryRun':_0x568465,'noChange':_0x115fea,'lineNumbers':_0x419742[_0xcdd81(0x531,0x684,0x4c7,_0x3aea94._0x22f5d9)]}),void 0x0;}});}var FileMutationCoordinator=class{[_0x28bc81(0x32f,0x44e,0x3d4,0x5de)]=new Map();async[_0x28bc81(0x200,0x318,0x2d5,0x26f)](_0x4905f0,_0x5adf79,_0x2b00f6){const _0x1caf2d={_0x4aea60:0x589,_0x29b64d:0x7c3,_0x563a3e:0x3e0,_0x1bcfb9:0x292,_0x2a6a29:0x62f,_0x428281:0x72c,_0x343b37:0x72b,_0x2fdd67:0x80c,_0x28974a:0x673,_0xe9cee5:0x561,_0x3b8692:0x82c},_0x3b517f={_0x576836:0x5d9,_0x1fe6c0:0x606,_0x1717fd:0x816,_0x53cf92:0x547,_0x409269:0x35c,_0x4ba59d:0x21f,_0x35e557:0x1a9,_0x1c4435:0x348},_0x17e6ea={_0x2a1c48:0x1d,_0x7597d8:0x1df},_0x2e8174={_0x4d1809:0x15c},_0x27844f={_0x3e0dc4:0x36};throwIfAborted(_0x5adf79);const _0x19d573=this[_0x1c2868(0x7a9,_0x1caf2d._0x4aea60,0x82a,_0x1caf2d._0x29b64d)][_0x3faad2(0x473,_0x1caf2d._0x563a3e,_0x1caf2d._0x1bcfb9,_0x1caf2d._0x563a3e)](_0x4905f0)??Promise[_0x1c2868(_0x1caf2d._0x2a6a29,0x7b6,_0x1caf2d._0x428281,_0x1caf2d._0x343b37)](),_0x2ccf17=_0x19d573['then'](async()=>{return throwIfAborted(_0x5adf79),_0x2b00f6();});function _0x1c2868(_0x5dca05,_0x330677,_0x4ef45c,_0x175b68){return _0x5b2413(_0x5dca05-0x164,_0x330677-0x8f,_0x5dca05-_0x27844f._0x3e0dc4,_0x330677);}const _0x2dbf74=_0x2ccf17['then'](()=>void 0x0,()=>void 0x0);this['tails'][_0x1c2868(_0x1caf2d._0x2fdd67,0x672,0x679,_0x1caf2d._0x28974a)](_0x4905f0,_0x2dbf74);function _0x3faad2(_0x3c02c3,_0xd11d0f,_0x115d3f,_0x28df68){return _0x28bc81(_0x3c02c3-_0x2e8174._0x4d1809,_0xd11d0f-0x174,_0x28df68- -0x1b1,_0x3c02c3);}return void _0x2dbf74[_0x1c2868(0x759,_0x1caf2d._0xe9cee5,0x5d1,_0x1caf2d._0x3b8692)](()=>{const _0x28cc24={_0x5b6152:0x593,_0x3ce1ed:0xe4,_0x51f5ce:0x57};function _0xd2a14(_0x2b0de1,_0x4c1c11,_0x24f2e2,_0x1cff1c){return _0x1c2868(_0x1cff1c- -_0x28cc24._0x5b6152,_0x24f2e2,_0x24f2e2-_0x28cc24._0x3ce1ed,_0x1cff1c-_0x28cc24._0x51f5ce);}function _0x28bf1e(_0x1f6dc5,_0x210a0a,_0x38635e,_0x4076b3){return _0x1c2868(_0x1f6dc5- -0x1a3,_0x210a0a,_0x38635e-_0x17e6ea._0x2a1c48,_0x4076b3-_0x17e6ea._0x7597d8);}this[_0x28bf1e(0x606,0x440,0x4f6,0x818)][_0xd2a14(_0x3b517f._0x576836,0x442,0x366,0x3d3)](_0x4905f0)===_0x2dbf74&&this[_0x28bf1e(_0x3b517f._0x1fe6c0,_0x3b517f._0x1717fd,_0x3b517f._0x53cf92,0x726)][_0xd2a14(_0x3b517f._0x409269,_0x3b517f._0x4ba59d,_0x3b517f._0x35e557,_0x3b517f._0x1c4435)](_0x4905f0);}),_0x2ccf17;}};import{mkdir as _0x416e2e,stat as _0xd741b8}from'fs/promises';import*as _0x5db50a from'path';function createFileNewTool(_0x514f0c={}){const _0x143301={_0x2c7c18:0x4d8,_0x1858b6:0x23e,_0x23b41c:0x78,_0x36fc40:0x168,_0x16ac79:0x308,_0x2ae7bb:0x1b4,_0x5ad089:0x257,_0x2fdfd3:0xcd,_0x58b955:0x1a8,_0x439855:0x1bb,_0x4da70a:0x151,_0x2567b0:0x19,_0x3a5f84:0x3a0,_0x3be7d6:0x198},_0x4c9fa4={_0x1512c:0x544,_0x364af5:0x34b,_0x2aeec9:0x252,_0x5a4527:0x2ce,_0x4340ec:0x867,_0x590eab:0x124,_0x3ff924:0xbe,_0x155cd7:0xb3,_0x54613a:0x982,_0x20240a:0x5c4,_0xa7d5f3:0x6d4,_0x2da362:0xf8,_0x3141aa:0x1ac,_0x5abf8e:0x17e,_0x127f6a:0x3b5,_0x5f4299:0x376,_0x1aa2c3:0x5ac,_0x546f99:0x5,_0x2a8686:0xf4,_0x11767e:0x529,_0x30b54c:0x831,_0x169581:0x5bc,_0x277495:0x6f0,_0x1d889e:0x674,_0x58a7f0:0x9b1,_0x315a22:0x7d0,_0x139cb9:0x154,_0x182d68:0x9c,_0x21a455:0x17,_0x584f71:0x1d1,_0x4e1254:0x917,_0x4b8ba1:0x7a3,_0x340587:0x7e6,_0x575d6f:0x892,_0x39280e:0x71a,_0x3f110b:0x84d,_0x91a5e7:0x523,_0x4071ae:0xde,_0x9b7cc0:0x27f,_0x4674fb:0x268},_0x3bf19d={_0x4c77fc:0x26f},_0x4947bd={_0x58e061:0x1e9},_0x2a42ec={_0x14d361:0x1c0,_0x4fa7dc:0x19b,_0x34d2fd:0x4cd},_0x454d5f=_0x5db50a[_0x5c41fa(0x141,0x71,-0x75,0x51)](_0x514f0c[_0x358add(0x1ce,0x1a8,0x2ed,0x3bb)]??process[_0x358add(_0x143301._0x2c7c18,0x424,0x2ec,0x394)]()),_0x37147e=_0x514f0c['allowedDirs']??[],_0x84fbf2=_0x514f0c[_0x5c41fa(_0x143301._0x1858b6,0x149,0x3aa,0x26d)]??_0x5c41fa(0x233,-_0x143301._0x23b41c,0x350,_0x143301._0x36fc40);function _0x358add(_0x29a867,_0xa72021,_0x5a1fab,_0xb50b3c){return _0x5b2413(_0x29a867-_0x2a42ec._0x14d361,_0xa72021-_0x2a42ec._0x4fa7dc,_0x29a867- -_0x2a42ec._0x34d2fd,_0xa72021);}function _0x5c41fa(_0x4958e1,_0x56c791,_0x456b66,_0x49f2c9){return _0x28bc81(_0x4958e1-0x6,_0x56c791-_0x4947bd._0x58e061,_0x49f2c9- -0x209,_0x4958e1);}const {observations:_0xc8b7e3,anchored:anchored=![]}=_0x514f0c;return defineTool({'name':_0x84fbf2,'permissionClass':'write','description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x358add(0x137,_0x143301._0x16ac79,_0x143301._0x2ae7bb,_0x143301._0x5ad089),'properties':{'filePath':{'type':'string'},'content':{'type':_0x358add(0x168,_0x143301._0x2fdfd3,_0x143301._0x58b955,_0x143301._0x439855)}},'required':[_0x5c41fa(_0x143301._0x4da70a,_0x143301._0x2567b0,0x232,0x40),_0x358add(_0x143301._0x3a5f84,0x52b,0x1cf,_0x143301._0x3be7d6)]},async *'execute'(_0x4e3d68,_0x1e3321){const _0x11bbe0={_0x276736:0x403,_0x1fd730:0x15},_0x3d986e=resolveAllowedPath(_0x454d5f,_0x37147e,_0x4e3d68[_0x3db59f(_0x4c9fa4._0x1512c,0x51e,0x607,_0x4c9fa4._0x364af5)]),_0x31f753=await _0xd741b8(_0x3d986e)[_0x1840cc(-0x172,-_0x4c9fa4._0x2aeec9,-_0x4c9fa4._0x5a4527,-0x13a)](()=>void 0x0),_0x3eb226=_0x31f753!==void 0x0,_0x3c8e97=Buffer['from'](_0x4e3d68[_0x3db59f(0x94b,0x7a3,0x97c,_0x4c9fa4._0x4340ec)],_0x1840cc(-_0x4c9fa4._0x590eab,-0xf0,_0x4c9fa4._0x3ff924,-_0x4c9fa4._0x155cd7));function _0x3db59f(_0x32b2b2,_0x124982,_0x19f1cd,_0x364aa2){return _0x358add(_0x124982-_0x11bbe0._0x276736,_0x32b2b2,_0x19f1cd-_0x11bbe0._0x1fd730,_0x364aa2-0xa1);}const _0x35f95e=_0x31f753!==void 0x0?_0x31f753[_0x3db59f(0x6c1,0x7b1,_0x4c9fa4._0x54613a,0x5b2)]&0xfff:0x1b6&~process[_0x3db59f(0x482,_0x4c9fa4._0x20240a,_0x4c9fa4._0xa7d5f3,0x611)]();let _0x486e76;anchored&&_0xc8b7e3!==void 0x0&&(_0x486e76=createNormalizedFileSnapshot(_0x3d986e,_0x3c8e97)[_0x1840cc(-0x93,_0x4c9fa4._0x2da362,0x55,-0x1a4)]);await _0x416e2e(_0x5db50a[_0x1840cc(-0x1c7,-_0x4c9fa4._0x3141aa,-0x22e,-_0x4c9fa4._0x5abf8e)](_0x3d986e),{'recursive':!![]});function _0x1840cc(_0x38212a,_0x3c4e76,_0x592b50,_0x5dbe06){return _0x358add(_0x38212a- -_0x3bf19d._0x4c77fc,_0x3c4e76,_0x592b50-0x75,_0x5dbe06-0xd7);}await atomicReplaceFile(_0x3d986e,_0x3c8e97,_0x35f95e);if(_0x486e76!==void 0x0&&_0xc8b7e3!==void 0x0){const _0x4831c9=await resolveCanonicalAllowedFile(_0x454d5f,_0x37147e,_0x4e3d68[_0x3db59f(0x587,0x51e,_0x4c9fa4._0x127f6a,_0x4c9fa4._0x5f4299)]),_0x103efb=createNormalizedFileSnapshot(_0x4831c9[_0x3db59f(_0x4c9fa4._0x1aa2c3,0x6ac,0x741,0x7ab)],_0x3c8e97);_0xc8b7e3[_0x1840cc(_0x4c9fa4._0x546f99,0x95,-_0x4c9fa4._0x2a8686,-0x183)](_0x1e3321[_0x3db59f(_0x4c9fa4._0x11767e,0x698,_0x4c9fa4._0x30b54c,_0x4c9fa4._0x169581)]),_0xc8b7e3['record'](_0x103efb,_0x103efb[_0x3db59f(_0x4c9fa4._0x277495,0x664,_0x4c9fa4._0x1d889e,0x48b)][_0x3db59f(0x751,0x8a6,_0x4c9fa4._0x58a7f0,0x8d9)]((_0x5dc021,_0x847ce2)=>_0x847ce2+0x1));}return yield createToolOutput(_0x486e76===void 0x0?_0x3db59f(0x75d,_0x4c9fa4._0x315a22,0x5ea,0x935)+_0x4e3d68['filePath']+'.':'['+_0x4e3d68[_0x1840cc(-_0x4c9fa4._0x139cb9,-_0x4c9fa4._0x182d68,-0x34c,-_0x4c9fa4._0x21a455)]+'#'+_0x486e76+']\x0aFile\x20written\x20at\x20'+_0x4e3d68[_0x1840cc(-0x154,-0xe0,-0x63,-_0x4c9fa4._0x584f71)]+'.',{'filePath':_0x4e3d68[_0x1840cc(-_0x4c9fa4._0x139cb9,-0x24d,-0x116,-0x242)],'resolvedPath':_0x3d986e,'bytes':_0x3c8e97['length'],'lines':_0x4e3d68[_0x3db59f(_0x4c9fa4._0x4e1254,_0x4c9fa4._0x4b8ba1,_0x4c9fa4._0x340587,_0x4c9fa4._0x575d6f)][_0x3db59f(0x7ce,_0x4c9fa4._0x39280e,_0x4c9fa4._0x3f110b,_0x4c9fa4._0x91a5e7)](/\r?\n/)[_0x1840cc(0x1ac,_0x4c9fa4._0x4071ae,_0x4c9fa4._0x9b7cc0,_0x4c9fa4._0x4674fb)],'created':new Date()['toISOString'](),'overwritten':_0x3eb226,..._0x486e76===void 0x0?{}:{'tag':_0x486e76}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x5b2413(0xabe,0x9e9,0x912,0xb2c)];[_0x5b2413(0x7af,0x6b2,0x8d4,0x798)];[_0x28bc81(0x20e,0x2e3,0x3c3,0x245)];[_0x5b2413(0x917,0x514,0x708,0x74d)]=new Map();[_0x28bc81(0x717,0x66d,0x5db,0x416)]=[];[_0x28bc81(0x752,0x3c1,0x5a0,0x455)]=0x0;['bytesByDigest']=new Map();['noChangeCounters']=new Map();constructor(_0x18be5c={}){const _0x4de001={_0x11d90f:0x404,_0x375557:0x3c1,_0x462e68:0x706,_0x5b6907:0x81e,_0x28c6b2:0x966,_0x4bf22e:0x206,_0x57385c:0x29d},_0x4f0369={_0x33210e:0x1de},_0x538f20={_0x4f0cf2:0x1,_0x2f9d77:0x43};this[_0x1c1fcf(0x334,_0x4de001._0x11d90f,_0x4de001._0x375557,0x116)]={...FILE_OBSERVATION_LIMITS,..._0x18be5c[_0x45c92f(0x85c,_0x4de001._0x462e68,0x956,0x68d)]};function _0x45c92f(_0x460dac,_0x90bfa9,_0x18c0ae,_0x12f0b0){return _0x28bc81(_0x460dac-_0x538f20._0x4f0cf2,_0x90bfa9-_0x538f20._0x2f9d77,_0x460dac-0x2e9,_0x18c0ae);}function _0x1c1fcf(_0x3e1673,_0x5126db,_0xca268b,_0x4b9336){return _0x5b2413(_0x3e1673-0x25,_0x5126db-_0x4f0369._0x33210e,_0x3e1673- -0x5de,_0x4b9336);}this[_0x45c92f(_0x4de001._0x5b6907,0x88c,0x846,_0x4de001._0x28c6b2)]=_0x18be5c[_0x1c1fcf(0x2f6,_0x4de001._0x4bf22e,_0x4de001._0x57385c,0x225)];}[_0x5b2413(0x55f,0x8b3,0x741,0x8ed)](_0x53ff26){const _0x1cfd07={_0x27494f:0x156,_0x383e0d:0x197,_0x21065d:0x1b8,_0x5971b9:0x556,_0x4e5cbd:0x363,_0x3aa458:0x5d8,_0xf95ec3:0x42e,_0x5ebd66:0x4dd},_0x52b513={_0x1e1971:0xb7,_0x4a6c4b:0x11a},_0x505ba1={_0x4b4e1e:0x2c,_0x30551f:0x5cb};if(this[_0x20a697(0x192,_0x1cfd07._0x27494f,0x2d9,_0x1cfd07._0x383e0d)]===_0x53ff26)return;function _0x20a697(_0x596e1d,_0x3b60a3,_0x593a85,_0x2d85ff){return _0x5b2413(_0x596e1d-_0x505ba1._0x4b4e1e,_0x3b60a3-0x6f,_0x2d85ff- -_0x505ba1._0x30551f,_0x3b60a3);}this[_0x20a697(0x466,_0x1cfd07._0x21065d,_0x1cfd07._0x5971b9,_0x1cfd07._0x4e5cbd)]();function _0x1a5f17(_0x2ad680,_0x428cba,_0xdff12,_0x245251){return _0x28bc81(_0x2ad680-_0x52b513._0x1e1971,_0x428cba-0x18c,_0x245251-_0x52b513._0x4a6c4b,_0xdff12);}this[_0x1a5f17(_0x1cfd07._0x3aa458,0x534,_0x1cfd07._0xf95ec3,_0x1cfd07._0x5ebd66)]=_0x53ff26;}['record'](_0x52adf4,_0x6cb854){const _0x852af7={_0x1e2435:0x4c0,_0x29c12a:0x6fc,_0x49f7e1:0x15c,_0x153ac6:0x14a,_0x35f9dd:0x95,_0x198318:0x224,_0xe8c45:0x1a7,_0xd781a6:0x18c,_0xc4c108:0x10a,_0x1adb77:0x2a6,_0x4f813f:0x6f0,_0x130d89:0x579,_0x391a1d:0x743,_0x53d762:0x62c,_0x2cff86:0x755,_0x18060c:0x809,_0x1b9dfa:0x55c,_0x2b267e:0x4eb,_0x33b76e:0x34c,_0x134c2d:0x233,_0x2cdd1c:0x65,_0xee19eb:0x61,_0xfda208:0x365,_0x441638:0x268,_0x4a7682:0x65f,_0x46e4c6:0x52b,_0x59d931:0x685,_0x4698e7:0x14b,_0x52171f:0x3d,_0x30044b:0xc7,_0x427466:0x186,_0xb5df:0xdb,_0x5cff17:0x69f,_0xe8f447:0x899,_0x32919f:0x87f,_0x16a72b:0x214,_0x1cb850:0x62,_0x440347:0x4f2,_0x148144:0x305,_0x5ce14e:0x5c0,_0x13dcf4:0x4d0,_0x3773d6:0x419,_0x3e4964:0x55a,_0x535ab6:0x103,_0x3fbd89:0x209,_0x118718:0x6cf,_0x5056e1:0x7b8,_0x3a9dbe:0x80a,_0x5b3aaa:0x663,_0x52553f:0x580,_0x104813:0x22d,_0xf6dc08:0xe0,_0x409042:0x723,_0x3df2d3:0x69a,_0x2129ff:0x5e7,_0x47bdcd:0x5cf,_0xddf881:0x5ea,_0x280c3e:0x4e,_0x2e8d35:0x43,_0x15d71f:0x560,_0x3c4236:0x3d3,_0x4599e9:0x47a,_0x1f4938:0x6be,_0x18bf28:0x2a6,_0x52c6db:0x456,_0x25b266:0x166,_0x2fff90:0x106,_0x37de63:0x52c,_0x23faa5:0x2d3,_0x29abe9:0x1d0,_0x3ef24e:0x76b,_0x22cf04:0x25,_0x230de1:0x1b,_0x49861a:0x1d8,_0x45884d:0x39,_0x87af18:0x69f,_0x33850d:0x664,_0x5975b9:0x480},_0x4cec54={_0xe7c096:0x18b,_0x23f4db:0x2cd},_0x2a2fc2={_0x68f061:0x18a,_0x10dc86:0x8};if(_0x52adf4[_0x1ca5e4(0x5ea,_0x852af7._0x1e2435,0x74c,0x7fd)]>this[_0x1ca5e4(_0x852af7._0x29c12a,0x6da,0x8a2,0x6cd)][_0x1baca2(_0x852af7._0x49f7e1,-_0x852af7._0x153ac6,_0x852af7._0x35f9dd,_0x852af7._0x198318)])throw createAnchoredFileError('unknown_snapshot',_0x1baca2(0xa0,0x167,0x282,0x488)+_0x52adf4[_0x1baca2(_0x852af7._0xe8c45,_0x852af7._0xd781a6,_0x852af7._0xc4c108,_0x852af7._0x1adb77)]+_0x1ca5e4(0x589,0x5ab,_0x852af7._0x4f813f,0x7a8)+_0x52adf4[_0x1ca5e4(0x5ea,_0x852af7._0x130d89,0x783,_0x852af7._0x391a1d)]+_0x1ca5e4(_0x852af7._0x53d762,_0x852af7._0x2cff86,0x55e,0x845)+this[_0x1ca5e4(_0x852af7._0x29c12a,0x849,_0x852af7._0x18060c,_0x852af7._0x1b9dfa)][_0x1ca5e4(_0x852af7._0x2b267e,0x4fc,0x3fc,_0x852af7._0x33b76e)]+'\x20bytes;\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x52adf4[_0x1baca2(_0x852af7._0x134c2d,_0x852af7._0x2cdd1c,0x10a,-_0x852af7._0xee19eb)],'size':_0x52adf4['utf8Bytes']});const _0x28ae1b=this[_0x1baca2(0x3ca,_0x852af7._0xfda208,_0x852af7._0x441638,0xd6)]?this[_0x1ca5e4(0x6be,_0x852af7._0x4a7682,0x4f4,_0x852af7._0x46e4c6)](_0x52adf4[_0x1ca5e4(_0x852af7._0x59d931,0x5cd,0x739,0x859)]):_0x52adf4[_0x1baca2(-0x6c,-_0x852af7._0x4698e7,_0x852af7._0x52171f,_0x852af7._0x134c2d)],_0x19af9e=this[_0x1baca2(0x2b7,-_0x852af7._0x30044b,0x9c,_0x852af7._0x427466)][_0x1ca5e4(0x71a,0x5f0,0x87c,0x8e0)](_0x52adf4['canonicalPath']),_0x40cf33=_0x19af9e?.[_0x1baca2(_0x852af7._0xb5df,0x1a3,0x22d,0x3c5)](_0x7249da=>_0x7249da[_0x1ca5e4(0x48f,0x5b6,0x30b,0x3f1)][_0x1ca5e4(0x685,0x754,0x4e2,0x6ef)]===_0x52adf4['digest']);function _0x1ca5e4(_0x1e17ee,_0x287931,_0x4cab07,_0x46d2d4){return _0x5b2413(_0x1e17ee-_0x2a2fc2._0x68f061,_0x287931-_0x2a2fc2._0x10dc86,_0x1e17ee- -0x216,_0x287931);}let _0x2d9956;if(_0x40cf33){for(const _0x2cfb3a of _0x6cb854)_0x40cf33[_0x1ca5e4(_0x852af7._0x5cff17,_0x852af7._0xe8f447,_0x852af7._0x32919f,0x6fa)][_0x1baca2(-0x21f,-_0x852af7._0x16a72b,-_0x852af7._0x1cb850,-0x25b)](_0x2cfb3a);_0x2d9956=_0x40cf33;}else{_0x2d9956={'snapshot':_0x52adf4,'tag':_0x28ae1b,'observedLines':new Set(_0x6cb854)};if(!_0x19af9e)this[_0x1ca5e4(_0x852af7._0x440347,0x4a4,_0x852af7._0x148144,0x6c5)][_0x1ca5e4(_0x852af7._0x5ce14e,0x78b,0x4c9,0x524)](_0x52adf4[_0x1ca5e4(0x560,0x46d,_0x852af7._0x13dcf4,_0x852af7._0x3773d6)],[_0x2d9956]);else{if(_0x19af9e[_0x1ca5e4(0x6d2,0x89d,0x577,_0x852af7._0x3e4964)]>=this[_0x1baca2(_0x852af7._0x535ab6,_0x852af7._0x3fbd89,0x2a6,0x490)][_0x1ca5e4(_0x852af7._0x118718,_0x852af7._0x5056e1,_0x852af7._0x3a9dbe,0x8cb)]){const _0x4c6a7d=_0x19af9e[_0x1ca5e4(_0x852af7._0x5b3aaa,0x4a1,_0x852af7._0x52553f,0x6e4)]();if(_0x4c6a7d)this[_0x1baca2(_0x852af7._0x104813,_0x852af7._0xf6dc08,0xc,-0x7b)](_0x4c6a7d['snapshot']['digest']);}_0x19af9e[_0x1ca5e4(0x53f,0x492,0x4fc,_0x852af7._0x409042)](_0x2d9956);}this['acquireBytes'](_0x52adf4[_0x1ca5e4(_0x852af7._0x59d931,_0x852af7._0x3df2d3,_0x852af7._0x2129ff,_0x852af7._0x47bdcd)],_0x52adf4[_0x1ca5e4(_0x852af7._0xddf881,0x5f3,0x500,0x73a)]);}this[_0x1baca2(-_0x852af7._0x280c3e,0x174,0x32,-_0x852af7._0x2e8d35)](_0x52adf4[_0x1ca5e4(_0x852af7._0x15d71f,_0x852af7._0x3c4236,_0x852af7._0x4599e9,_0x852af7._0x1f4938)]);function _0x1baca2(_0x4af414,_0x5f44b3,_0x18a775,_0x132ccb){return _0x28bc81(_0x4af414-0x1c,_0x5f44b3-_0x4cec54._0xe7c096,_0x18a775- -_0x4cec54._0x23f4db,_0x4af414);}while(this['versionsByPath']['size']>this[_0x1baca2(0x2f6,0x20e,_0x852af7._0x18bf28,_0x852af7._0x52c6db)][_0x1baca2(0xcf,0x243,_0x852af7._0x25b266,_0x852af7._0x2fff90)]){this[_0x1ca5e4(0x36b,0x33a,_0x852af7._0x37de63,0x512)]();}while(this[_0x1baca2(0x293,0x2ce,_0x852af7._0x23faa5,_0x852af7._0x29abe9)]>this['limits']['maxSnapshotBytes']&&this[_0x1ca5e4(0x764,_0x852af7._0x3ef24e,0x7bd,0x71d)]['length']>0x1){this[_0x1baca2(-0x6d,0x132,-0xeb,_0x852af7._0x22cf04)]();}return{'snapshot':_0x2d9956[_0x1baca2(_0x852af7._0x230de1,_0x852af7._0x49861a,_0x852af7._0x45884d,0x19c)],'observedLines':new Set(_0x2d9956[_0x1ca5e4(_0x852af7._0x87af18,_0x852af7._0x33850d,0x854,_0x852af7._0x5975b9)])};}[_0x28bc81(0x3c,0xf2,0x25a,0x19c)](_0x49096e,_0x168101){const _0x5dcd7d={_0x11227b:0x204,_0x437875:0x1ad,_0x4cc566:0x1c7,_0x376a98:0x303,_0x2cb48d:0x456,_0x288db0:0x151,_0x16fd99:0xff,_0x4c9390:0x2a7,_0x1fd040:0x33d,_0x4c538d:0x1c0,_0x151213:0x20b,_0x195dba:0x165,_0x2ec7c9:0xde,_0x4e2055:0x268,_0x20ec8f:0x139,_0x1ae010:0x1da,_0x51e3a1:0x3dd,_0x299b0c:0x8c,_0x93907b:0x1af,_0x283fdf:0x34,_0x51eca3:0x184,_0x385eb6:0x15d,_0x5e78ed:0x8a,_0x39469a:0x164,_0xf76f4a:0x217},_0x257580={_0x1257bd:0xe9},_0x1f701f=this[_0x1bb4d1(_0x5dcd7d._0x11227b,_0x5dcd7d._0x437875,_0x5dcd7d._0x4cc566,0x1f6)][_0xd0daec(0x3d8,0x37c,0x57d,0x170)](_0x49096e);function _0xd0daec(_0x2687d9,_0xe6fec2,_0x136190,_0x592563){return _0x5b2413(_0x2687d9-_0x257580._0x1257bd,_0xe6fec2-0x89,_0xe6fec2- -0x5b4,_0x136190);}if(!_0x1f701f)throw createAnchoredFileError('unknown_snapshot',_0x1bb4d1(0x4a4,0x155,_0x5dcd7d._0x376a98,_0x5dcd7d._0x2cb48d)+_0x168101+_0x1bb4d1(0x27a,0x218,_0x5dcd7d._0x288db0,-0x8b)+_0x49096e+_0x1bb4d1(0x2b1,0x1f,_0x5dcd7d._0x16fd99,_0x5dcd7d._0x4c9390),{'path':_0x49096e,'tag':_0x168101});const _0x302242=_0x1f701f[_0xd0daec(0x1b1,0x270,0x41c,0x25b)](_0x12af61=>_0x12af61['tag']===_0x168101);if(_0x302242[_0xd0daec(_0x5dcd7d._0x1fd040,0x334,_0x5dcd7d._0x4c538d,0x237)]===0x0)throw createAnchoredFileError('unknown_snapshot',_0x1bb4d1(0x144,0x3f2,0x303,_0x5dcd7d._0x151213)+_0x168101+_0xd0daec(_0x5dcd7d._0x195dba,_0x5dcd7d._0x2ec7c9,_0x5dcd7d._0x4e2055,0x1f9)+_0x49096e+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x49096e,'tag':_0x168101});if(_0x302242['length']>0x1)throw createAnchoredFileError(_0x1bb4d1(0x8,0xbe,0x20d,_0x5dcd7d._0x20ec8f),_0xd0daec(0x168,0x290,_0x5dcd7d._0x1ae010,0x1aa)+_0x168101+_0xd0daec(0x551,_0x5dcd7d._0x51e3a1,0x31f,0x3b1)+_0x49096e+_0xd0daec(-0xf4,_0x5dcd7d._0x299b0c,_0x5dcd7d._0x93907b,_0x5dcd7d._0x283fdf),{'path':_0x49096e,'tag':_0x168101});this[_0x1bb4d1(_0x5dcd7d._0x51eca3,-0xb6,_0x5dcd7d._0x385eb6,0x16f)](_0x49096e);function _0x1bb4d1(_0x30960b,_0x2a59b0,_0x10a7be,_0x3515d2){return _0x5b2413(_0x30960b-0x164,_0x2a59b0-0x62,_0x10a7be- -0x541,_0x30960b);}return{'snapshot':_0x302242[0x0][_0x1bb4d1(-_0x5dcd7d._0x5e78ed,0x303,_0x5dcd7d._0x39469a,_0x5dcd7d._0xf76f4a)],'observedLines':new Set(_0x302242[0x0]['observedLines'])};}[_0x28bc81(0x38d,0x36b,0x2ed,0x266)](_0x55e821,_0x318b1d){const _0x143c86={_0x38e910:0xa0c,_0xe2a5ad:0x866,_0x412837:0x866},_0x44d8bf={_0x1c5762:0x15b},_0x4a07a5={_0x46e3f6:0x4a,_0x5ba100:0x4e},_0x2b041e=_0x55e821+'\x00'+_0x318b1d,_0x3ed192=(this[_0x3b04eb(_0x143c86._0x38e910,0x7ea,0xa06,_0x143c86._0xe2a5ad)]['get'](_0x2b041e)??0x0)+0x1;this[_0x3b04eb(0x715,0x702,0x80a,_0x143c86._0x412837)]['set'](_0x2b041e,_0x3ed192);function _0x57ede3(_0x422953,_0x330a5d,_0x5e0e44,_0x56daad){return _0x28bc81(_0x422953-_0x4a07a5._0x46e3f6,_0x330a5d-_0x4a07a5._0x5ba100,_0x330a5d-0x1bd,_0x422953);}function _0x3b04eb(_0x53bd91,_0x5d50a6,_0x36050e,_0x16fffa){return _0x28bc81(_0x53bd91-0x41,_0x5d50a6-_0x44d8bf._0x1c5762,_0x16fffa-0x2ca,_0x5d50a6);}return _0x3ed192;}[_0x28bc81(0x5b,0x3ed,0x21c,0x21)](_0x2584fb){const _0x4da997={_0x127712:0x2d4,_0x369b85:0x2f7,_0x33fa7b:0x33f,_0x4f39c2:0x118,_0xab0f54:0x1a,_0x1ee8ee:0x1e1,_0x13b9df:0x3d8,_0x3df1e5:0x4e2,_0x5a13fe:0xef,_0x2fba39:0x4bd},_0x5ab9d5={_0x350847:0x5fc},_0x442055={_0x481e95:0x19,_0x10309e:0x1d7};function _0x1c0f7b(_0x171c35,_0x1ccbb2,_0x3c2d28,_0x93e7a0){return _0x28bc81(_0x171c35-0x9e,_0x1ccbb2-_0x442055._0x481e95,_0x93e7a0- -_0x442055._0x10309e,_0x171c35);}function _0xcfdffe(_0x47610e,_0x5411bc,_0x1d0556,_0x57e093){return _0x5b2413(_0x47610e-0x5d,_0x5411bc-0x1ad,_0x57e093- -_0x5ab9d5._0x350847,_0x1d0556);}const _0x323a9b=_0x2584fb+'\x00';for(const _0x30b1c2 of[...this[_0xcfdffe(_0x4da997._0x127712,_0x4da997._0x369b85,0x4db,_0x4da997._0x33fa7b)][_0xcfdffe(-0xc8,0x161,_0x4da997._0x4f39c2,_0x4da997._0xab0f54)]()]){if(_0x30b1c2['startsWith'](_0x323a9b))this[_0x1c0f7b(_0x4da997._0x1ee8ee,_0x4da997._0x13b9df,_0x4da997._0x3df1e5,0x3c5)][_0xcfdffe(_0x4da997._0x5a13fe,_0x4da997._0x2fba39,0xba,0x2a9)](_0x30b1c2);}}[_0x5b2413(0x8a0,0x710,0x92e,0x7ca)](){const _0x2e8914={_0x4e868e:0x413,_0x5a176a:0x4a5,_0x1a298c:0x593,_0x49c3cd:0x6ea,_0x4101d4:0x449,_0xfc4601:0x286,_0x1df14c:0x674,_0x46a43d:0x35a,_0x3762bb:0x53b,_0x306532:0x553,_0x461526:0x5a6,_0x4f565c:0x3af,_0xba3f70:0x5e7},_0x13caad={_0x10a5a0:0xdc,_0x2cfefd:0x3e8};function _0x3e4e11(_0x391bc3,_0xee8e66,_0x105394,_0x356c15){return _0x5b2413(_0x391bc3-0x186,_0xee8e66-0x5d,_0xee8e66- -0x39b,_0x391bc3);}this[_0x52f981(0x1d7,_0x2e8914._0x4e868e,_0x2e8914._0x5a176a,0x320)][_0x3e4e11(0x422,_0x2e8914._0x1a298c,_0x2e8914._0x49c3cd,_0x2e8914._0x4101d4)](),this['recency']=[],this['totalBytes']=0x0;function _0x52f981(_0x242b8c,_0x28dbc1,_0x1b94be,_0x35578c){return _0x5b2413(_0x242b8c-_0x13caad._0x10a5a0,_0x28dbc1-0x1e9,_0x35578c- -_0x13caad._0x2cfefd,_0x242b8c);}this[_0x52f981(0x3e3,0x240,0x327,_0x2e8914._0xfc4601)][_0x52f981(0x666,_0x2e8914._0x1df14c,_0x2e8914._0x46a43d,0x546)](),this[_0x52f981(0x5f0,0x657,_0x2e8914._0x3762bb,_0x2e8914._0x306532)][_0x3e4e11(_0x2e8914._0x461526,0x593,_0x2e8914._0x4f565c,_0x2e8914._0xba3f70)]();}[_0x28bc81(0x3c4,0x127,0x2ff,0x43e)](_0xcd0083){const _0x304920={_0x16c44d:0x8bb,_0x29e056:0x777,_0x1650b9:0x7ea,_0x3521c9:0x548,_0x5b049c:0x500,_0x4e8cd1:0x5c4,_0x1d629d:0x42d,_0x4346b1:0x8eb,_0xa0728f:0x81a,_0x289ce5:0xa8a,_0x4f6d1d:0x804},_0x32262d={_0x4c74ef:0x52,_0x496945:0x6d,_0x1d5a5e:0x20f};function _0x464c27(_0x2e378d,_0x429176,_0x437da0,_0x188aef){return _0x28bc81(_0x2e378d-_0x32262d._0x4c74ef,_0x429176-_0x32262d._0x496945,_0x188aef-_0x32262d._0x1d5a5e,_0x2e378d);}function _0x3a3af4(_0x563e99,_0x4c27cf,_0x3cbe73,_0x456ca6){return _0x28bc81(_0x563e99-0xba,_0x4c27cf-0x12e,_0x563e99-0x310,_0x4c27cf);}const _0xa2abe7=this[_0x464c27(_0x304920._0x16c44d,_0x304920._0x29e056,0x612,_0x304920._0x1650b9)][_0x464c27(_0x304920._0x3521c9,_0x304920._0x5b049c,0x66d,0x471)](_0xcd0083);if(_0xa2abe7!==-0x1)this[_0x464c27(0x790,0x5ff,0x76a,_0x304920._0x1650b9)][_0x3a3af4(_0x304920._0x4e8cd1,0x409,0x634,_0x304920._0x1d629d)](_0xa2abe7,0x1);this[_0x3a3af4(_0x304920._0x4346b1,_0x304920._0xa0728f,_0x304920._0x289ce5,_0x304920._0x4f6d1d)]['push'](_0xcd0083);}[_0x5b2413(0x768,0x3ee,0x581,0x546)](){const _0x5496f2={_0x3972f2:0x3df,_0x1a57a6:0x6a9,_0x6b09fe:0x8a5,_0x1af011:0x129,_0x3f9df2:0x378,_0x452246:0x2fd,_0x4031bd:0xed,_0xfaef0a:0x538,_0x4b3401:0x1b4,_0x42537d:0x64,_0x445913:0x5e4,_0x4e28e0:0x6cb,_0x1c8ec7:0x858,_0x24c451:0x5a4},_0x88b614={_0x399801:0x1a0,_0x5b0c67:0x39},_0x5e7f9={_0x560d50:0x1cf},_0x14768e=this[_0x1184d3(0x502,_0x5496f2._0x3972f2,0x347,0x280)][_0xe43379(_0x5496f2._0x1a57a6,_0x5496f2._0x6b09fe,0x4b3,0x607)]();if(_0x14768e===void 0x0)return;function _0xe43379(_0x8e4e4f,_0xbad78,_0x298e26,_0x3a6bde){return _0x28bc81(_0x8e4e4f-0x1ee,_0xbad78-0x18,_0x8e4e4f-_0x5e7f9._0x560d50,_0x298e26);}const _0x370845=this[_0x1184d3(0x1ad,-_0x5496f2._0x1af011,0xd5,0x1d2)][_0x1184d3(_0x5496f2._0x3f9df2,0x438,_0x5496f2._0x452246,_0x5496f2._0x4031bd)](_0x14768e);this[_0xe43379(_0x5496f2._0xfaef0a,0x483,0x57b,0x5a9)][_0x1184d3(0x31c,_0x5496f2._0x4b3401,0x272,_0x5496f2._0x42537d)](_0x14768e);function _0x1184d3(_0x4e4bf3,_0x144c55,_0xba233e,_0x7e52ab){return _0x28bc81(_0x4e4bf3-_0x88b614._0x399801,_0x144c55-_0x88b614._0x5b0c67,_0xba233e- -0x294,_0x4e4bf3);}if(_0x370845){for(const _0x208a26 of _0x370845)this['releaseBytes'](_0x208a26[_0xe43379(0x4d5,_0x5496f2._0x445913,0x515,0x655)][_0xe43379(_0x5496f2._0x4e28e0,0x783,_0x5496f2._0x1c8ec7,_0x5496f2._0x24c451)]);}}[_0x28bc81(0x3b6,0x3e4,0x491,0x311)](_0x3f837f,_0x4c60b5){const _0x262ba5={_0x28f745:0x3f2,_0x3a1405:0x6e3,_0x4987f9:0x3e2,_0x2e0f64:0x26e,_0x17d05c:0x6ca,_0x4525c5:0x620,_0x298ceb:0x833},_0x310cc3={_0x2d921a:0xd9,_0x56c073:0x8f},_0x22acdf={_0x52fca2:0xf9};function _0xeae741(_0x3fd9a5,_0x490dba,_0x1c94d5,_0x1bec0c){return _0x5b2413(_0x3fd9a5-_0x22acdf._0x52fca2,_0x490dba-0x19e,_0x1bec0c- -0x10c,_0x3fd9a5);}function _0x38f594(_0x2991d5,_0x2c712b,_0x32b9c3,_0x3417b3){return _0x28bc81(_0x2991d5-0x1d3,_0x2c712b-_0x310cc3._0x2d921a,_0x32b9c3- -_0x310cc3._0x56c073,_0x2c712b);}!this[_0x38f594(_0x262ba5._0x28f745,0x25,0x240,0x191)][_0xeae741(_0x262ba5._0x3a1405,0x445,_0x262ba5._0x4987f9,0x59e)](_0x3f837f)&&(this[_0x38f594(0x298,0x91,0x240,_0x262ba5._0x2e0f64)][_0xeae741(0x61c,0x55c,0x6be,_0x262ba5._0x17d05c)](_0x3f837f,_0x4c60b5),this[_0xeae741(0x78f,_0x262ba5._0x4525c5,0x706,_0x262ba5._0x298ceb)]+=_0x4c60b5);}['releaseBytes'](_0x32c6e1){const _0xf7552={_0x54de42:0xad,_0x27b15f:0x52f,_0x2b0a0d:0x675,_0x337824:0x667,_0x241f50:0x6ec,_0x1148d4:0x5b9,_0xa60e:0x449,_0x5c07b7:0x510,_0x110471:0x34f,_0x1d7671:0x262,_0x31c16d:0x6f,_0x3c935c:0x173,_0x888094:0x89a,_0x1eef0c:0x889,_0x1319b1:0x7d6};function _0x285ed1(_0x3e438c,_0x566302,_0x1fed04,_0x45fe04){return _0x5b2413(_0x3e438c-0x86,_0x566302-0x145,_0x1fed04- -0x1c,_0x3e438c);}if(!this[_0x1ed120(0x18b,-0x6f,-_0xf7552._0x54de42,-0xf8)][_0x285ed1(_0xf7552._0x27b15f,_0xf7552._0x2b0a0d,0x68e,0x828)](_0x32c6e1))return;const _0x208fab=[...this[_0x285ed1(0x620,_0xf7552._0x337824,_0xf7552._0x241f50,_0xf7552._0x1148d4)][_0x285ed1(_0xf7552._0xa60e,0x6cb,0x5db,_0xf7552._0x5c07b7)]()]['some'](_0x79c4e8=>_0x79c4e8[_0x285ed1(0x9f1,0x9fe,0x896,0x8f5)](_0x5abff4=>_0x5abff4['snapshot'][_0x1ed120(-0x16,0x1be,0x1f5,0x2b)]===_0x32c6e1));function _0x1ed120(_0x34f9f7,_0x56c472,_0x248747,_0x3d5c07){return _0x28bc81(_0x34f9f7-0x98,_0x56c472-0x1af,_0x56c472- -0x33e,_0x3d5c07);}!_0x208fab&&(this[_0x1ed120(_0xf7552._0x110471,_0xf7552._0x1d7671,0x25e,0x32c)]-=this[_0x1ed120(-0x114,-0x6f,-0x163,-0x1e4)]['get'](_0x32c6e1)??0x0,this[_0x1ed120(_0xf7552._0x31c16d,-0x6f,-0x10,-_0xf7552._0x3c935c)][_0x285ed1(0x68f,_0xf7552._0x888094,_0xf7552._0x1eef0c,_0xf7552._0x1319b1)](_0x32c6e1));}};import{readFile as _0x505010,stat as _0x242fed}from'fs/promises';import*as _0x1ec189 from'path';function stripUtfBom(_0x760a5){const _0x5d47a9={_0x4f3be4:0x296,_0x5147c7:0x46d,_0x907448:0x33d},_0x175481={_0x2ecdf5:0xda,_0x2c042a:0x89},_0x18af3a={_0x28af77:0x1b8,_0x3725ac:0xd6,_0x4031cf:0x537};function _0x26836a(_0x10e459,_0x2334e7,_0x4623cb,_0x2db3ae){return _0x5b2413(_0x10e459-_0x18af3a._0x28af77,_0x2334e7-_0x18af3a._0x3725ac,_0x2334e7- -_0x18af3a._0x4031cf,_0x4623cb);}function _0x1edb15(_0xfb0747,_0x3bec6e,_0x16487f,_0x394f7f){return _0x28bc81(_0xfb0747-_0x175481._0x2ecdf5,_0x3bec6e-0x105,_0xfb0747-_0x175481._0x2c042a,_0x394f7f);}return _0x760a5[_0x26836a(_0x5d47a9._0x4f3be4,_0x5d47a9._0x5147c7,0x46c,0x4e4)](0x0)===0xfeff?_0x760a5[_0x26836a(0x52a,_0x5d47a9._0x907448,0x1f6,0x332)](0x1):_0x760a5;}function clampLine2(_0x4cde2f,_0x3b550d){const _0x4ccb13={_0x4ca148:0x52e,_0x4a95d8:0x752,_0x386442:0x4ac},_0x3a439b={_0x22a99b:0x1aa,_0x43fffe:0x11f,_0x3ae731:0x202},_0xd1e4d2={_0x58660d:0x24};function _0x183419(_0x1624b7,_0x1be9a5,_0x4a795e,_0x30666f){return _0x5b2413(_0x1624b7-0x5a,_0x1be9a5-_0xd1e4d2._0x58660d,_0x1be9a5- -0x593,_0x1624b7);}function _0x426f2c(_0x41e438,_0x6518b2,_0x1bdbdc,_0x2f58d2){return _0x28bc81(_0x41e438-_0x3a439b._0x22a99b,_0x6518b2-_0x3a439b._0x43fffe,_0x6518b2-_0x3a439b._0x3ae731,_0x1bdbdc);}if(!Number['isFinite'](_0x4cde2f))return 0x1;return Math[_0x426f2c(0x465,0x669,_0x4ccb13._0x4ca148,0x629)](0x1,Math['min'](Math[_0x426f2c(_0x4ccb13._0x4a95d8,0x536,0x65d,_0x4ccb13._0x386442)](_0x4cde2f),_0x3b550d));}function _0x4cbe(){const _0x1f625d=['tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','yxjNDw1LBNroyw1LCW','DMvYAwzPzxi','AxndB250zxH0','yMLVBwuUANnVBG','ywXSB3DLzfrVB2XZ','Bwf4vMvYC2LVBNnqzxjqyxrO','CNvUswq','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BgvUz3rO','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','CgXHAw50zxH0','u25HChnOB3qGzM9Yia','ihDHCYbYzwfKlG','D3jPDgu','DhnJB25MAwCUANnVBG','B2jZzxj2yxrPB25Z','Dgf2AwX5','yNL0zxm','ywX3yxLZlwnVBMzPCM0','CMvWBgfJzq','tuLosu1bwf9bueLFs0vz','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','DgvYBwLUyxrPB25qCM9TAxnL','yxbWzw5K','Dgf2AwX5qxbPs2v5','B25uzxjTAw5HBevYCM9Y','z2nSAwq','Dg90ywXeCM9WCgvK','zgLHz25VC3rPy3m','yxjNDw1LBNrZ','sfruuca','zxHHy3q','Cg5WBs1SB2nRlNLHBwW','u0Lhs0Lmta','C2LNBMfSqwrHChrLCG','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','ChjVy2vZC0v4AxrLza','Bwf4rw50CMLLCW','CMvNAxn0zxjby3rPDMvbz2vUDa','yw50AhjVCgLJlw1LC3nHz2vZ','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','CgfZC3DVCMq','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','qMvHCMvYia','C3rYDwn0DxjLza','BgLTAxrZ','Aw5JB21PBMDdywXSCW','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','B3b0Aw9UywW','y2HHBMDL','AwzYyw1L','BgL0zxjHBa','uhjVy2vZCYa','r2XVyG','y3jLyxrLzef0','CMfUzg9T','lMPZB24','B3v0z29PBMDdywXSCW','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','v2vIrMv0y2G','igj5DgvZlG','C3jJl2fNzw50l2fNzw50lNrZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','CMvMCMvZAf90B2TLBG','y29UzMLN','EMfP','CMvJzw5JEurHExm','CMvNzxG','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','B3rOzxi','CM91DgLUzW','DgvYBwLUywXqCM9TAxnL','zMX1C2HtDhjLyw1Z','y2XLyxi','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','z2v0','BgfUz18','C2fMzq','yxnRvxnLCG','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','B2zMC2v0','zxHPDcbJB2rLia','DxrMltG','y29Kzq','BgLUzu51BwjLCNm','tunqihrVB2WG','BM9dAgfUz2vdB3vUDgvYCW','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','cGOTls0kcG','B3bLBG','Dg90ywXcExrLCW','BxvSDgLtzwXLy3q','zw9S','CM93CW','ru5pru5u','BgLUzuvUza','y3nP','Dgv4Dc9ODg1S','y29TBwfUza','zxnJyxbL','B2XSyw1H','BgfUz3vHz2u','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','zgvWCW','B25JBg9Zzq','C3rHCNq','Dw5PB24','vw5RBM93BIb0B29SoIa','lMPZ','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','DMfSDwu','tM8GC3LTyM9SCYbMB3vUza','tg9HzgvKigzYB206ia','C3rKAw4','B3bLCMf0Aw9U','mJm3EKfbwhv1','Aw5ZDgfSBa','CgLK','BgLI','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','sw52B2TLq29TBwfUza','A2v5yMLUzgLUz3m','Aw52ywXPzf90B2rVx2LK','Bg9VA3vW','C3rYAwn0','yw50AhjVCgLJ','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','uMvXDwvZDfrPBwvVDxq','BwnWxW','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','zNvUy3rPB24','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','Dg9vChbLCKnHC2u','Agv4','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','rgLHz25VC3rPyW','C3rKzxjYtM9YBwfSAxPLCG','ywDLBNrZ','BwfW','lNrZEa','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','yxnZAwDU','o1TE','zNjLzxPL','CxvLC3rPB24T','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','ls1YzwDLEha','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMvJzw5JEq','u2HLBgWGBM90igzVDw5KoIa','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','BwvZC2fNzq','zgvSzxrLlMvUzeXPBMu','B3nJ','yxjNDw1LBNrZvgv4Da','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','uefusa','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','CgfYC2u','Bw9KzwW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ls1QC29U','zgvLChnLzwS','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','t1bftKfjx0fqsv9lrvK','z29Vz2XLlwnZzq','C3vKBW','u0HfteXpufrt','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','DhvWBgu','igLZigfTyMLNDw91CYbMB3iG','Aw5JBhvKzv9KB21HAw5Z','r0LgodDH','D3jPDgvgAwXL','zgLZy292zxj5u3rHDgu','C3rYzwfTC0zSDxnOzwq','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','zwrPDa','lu5VuhjVzMLSzq','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','BwnFy2LK','C2vYDMvYswq','rxjYB3i','y2fWq2HHCNm','Aw5Zzxj0igXPBMu','z2fW','Aw5Zzxj0','ywz0zxjuzxH0','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','y2HHCKnVzgvbDa','y3DK','z2L0AhvI','C3rYAxbbBNnP','CgfJA2fNzxm','zgvSzxrLihjHBMDLifS','sw52ywXPzcbYzwDLEdOG','mtKYlJe2oc4WlJa','BM9Uzq','BgLUzq','vg9WAwmGC2v0ihrVici','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','Aw52ywXPzf90B2rVx3n0yxr1CW','Ahr0Chm6','CgLWzq','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','zhj5uNvU','lM10CW','DhLWzxnJCMLWDhjLywn0','Bwf4uMvKAxjLy3rZ','C3rKAw8','Dg9Rzw4','zgLYBMfTzq','CMfUz2u','Aw52ywXPzf9XDwvZDgLVBNm','zwzMB3j0','ywDLBNrjza','rgv0ywLSoIa','zgvUBY5QC29UyW','AgLNAa','wefjx0fqsv9lrvK','yMfZAwm','DgfZAW','zgvMyxvSDa','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','C3rHDgu','DhnJ','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','z2v0u3rHDhm','qxqGBw9ZDca','BwvTB3j5','BhmGlwXH','r0XpqKLhtK9srq','BM9Zy3jPChq','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','CMvXDwvZDa','BwnWlxnKAY1JBgLLBNqTzxjYB3i','ygbG','CMvJB3jK','zgvSzxrLihn0yxj0tgLUzq','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','l2jPBI9ZAa','BwLUAw1HBa','y29UDgv4Da','Cg9W','DgvYBwLUywXtzxr0BgvK','CMvMAw5L','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','DxjP','lM51DMLUlwnVzgu','CMfJzq','A2v5','C3rHDhvZ','B25oB3rPzMLJyxrPB24','CMvUyw1L','BgLMzwn5y2XL','igzYB20G','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','yxnR','Aw50','DhvYBMrVD24','zNjVBq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','tM8GAg92zxiGAw5MB3jTyxrPB24','CMvZDwX0','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','Aw52ywXPzf90B2rVx3bYAw9YAxr5','DhjHAwXPBMDdAhvUA3m','BM9Fy2HHBMDL','CgfJA2fNzu5HBwu','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','v2vIu2vHCMnO','B2XKvgv4Da','Aw5PDgLHBgL6yxrPB24','CMvNAxn0zxjby3rPDMvsDw4','C2H1DgrVD24','qwDLBNqGCNvUia','tM8GzgLHz25VC3rPy3m','y29Uy2f0','mti3lJaUmc4W','iYmGu2TPBgW6ia','CMvZzxroB0nOyw5Nzq','Bwf4qNL0zxm','yxv0Ag9YAxPHDgLVBL9JB2rL','Aw5ZDhj1y3rPB25Z','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','igj5DguTAwrLBNrPy2fSlG','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','yxjNDw1LBNriAw50','CMvMzxjLBMnLCW','C2vHCMnOrgvWDgG','vg9KBYa','mJy4otq0mhnywxHszG','Dg9VBenHBgW','BwnWlwnVBM5Ly3qTzMfPBgvK','CMvSzwfZzufNzw50uMvZB3vYy2vZ','y2f0y2G','CM9VDa','Ag9ZDa','zMXHDe1HCa','DxrTx3nVDxjJzq','zg9TywLUCW','Cgf0Ag5HBwu','uMvHzcbHifvurI04ihrLEhqGzMLSzsbHCYbHihnUyxbZAg90lwfUy2HVCMvKifTWyxrOi3rHz10GAgvHzgvYihbSDxmGtJP0zxH0ihjVD3mUifrOzsb0ywCGAwrLBNrPzMLLCYb0AguGD2HVBguGzMLSzsWGC28GCMvHzcbVBMX5ihrOzsbSAw5LCYb5B3uGBMvLzcb3AxrOigXPBMvtDgfYDc9SAw5Lrw5KiokaLcb0AguGDgfNihn0yxLZihzHBgLKigzVCIbHihjHBMDLihjLywqUievTChr5igzPBgvZigHHDMuGBM8GzwrPDgfIBguGBgLUzs4GtwL4zwqGteyVq1jmrIWGtLvmlcbHBMqGAw52ywXPzcbvveyTocbHCMuGCMvQzwn0zwq7ihvZzsbLEgfJDcbgAwXLrwrPDcbPBNn0zwfKlG','BxrPBwvnCW','CgXHAw4','ywnXDwLYzq','Dg9ju09tDhjPBMC','qvbjx0Tfwq','CMvHzezPBgu','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','yxbWBgLJyxrPB24VANnVBG','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','CM9VDfbPza','Dw5RBM93BL9ZBMfWC2HVDa','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','zw5JB2rL','DgL0Bgu','tgLUzsa','AxnbCNjHEq','CMvZB2X2zvrLCM1PBMfS','z29Vz2XLq3nLs2v5','DhjHBNnMB3jTCW','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','zMLSzvbHDgG','y29UDgv4DeXPBMvZ','Bwf0y2HLCW','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','Ag92zxi','ksbB','DgvYBwLUyxrPBMC','y2fSBfrVB2W','Dhj1BMnHDgvK','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','BgfUzW','phn5C3rLBs1Yzw1PBMrLCJ4','CgvUzgLUzW','BM9Kzv9TB2r1BgvZ','ls1MB2XSB3C','DMfSDwvZ','BwnWlxrVB2WTy2fSBc1MywLSzwq','CMvZB2X2zq','Bwf0y2G','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','Dg90ywW','s0Lnsv9bueLFs0vz','DMvYAwz5rxHLy3v0Aw9U','igLZig5VDcb2ywXPzcbvveyToc4','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','Aw5KzxHpzG','B25Jzq','xg5DkJ8','B2jQzwn0','C3bHD24','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','zMjJBgLK','DhLWzxnJCMLWDa','zgvSzxrLq291BNq','ywrK','Aw52ywXPzf90B2rVx2nVBNrLBNq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','zMv0y2HjBxbS','BM90lwzVDw5K','Aw52ywXPzf9Yyw5Nzq','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','BgLTAxq','igzHAwXLzcb0BYbJB25Uzwn0','y29KzvbVAw50qxq','z29uB0LTCgXLBwvUDgf0Aw9U','A2v5CW','rM91BMqG','DxrMoa','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','C2nYDwjfBNzlzxLZ','Cg9ZAxrPB24','y2HPBgq','lunVBw1HBMq','BhnW','cMbGya','ienHDxnLoIa','z3jHy2vMDwXszxf1zxn0zwq','C2v0vg9WAwm','Ec1HCgKTA2v5','BwfUDwfS','B3jPz2LUywW','ChjPB3jPDhK','ChvIBgLZAgvKqxq','Bg9HzenVBw1HBMq','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','Bwf4q29Uy3vYCMvUDa','CMvKDwnL','yxnJAwK','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','r3jLCa','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','zxH0BMfTzq','BgLUzu51Bq','yNvUlMXVy2S','twLJCM9ZB2z0','A2LSBgvK','C3rYAw5N','CgfJA2fNzs5QC29U','w1bFxL1BxhnCu10QpW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','zgf0yq','Aw52ywXPzf9WyxrJAa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','B3bLBKzPBgvZ','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','C3LZDgvTuhjVBxb0','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','zMLUAxrL','z2vUzxjHBa','AwDUB3jLt3v0Chv0','Aw52ywXPzf90B2rVCW','BMv3u3rHCNrmAw5L','AgfZAgXPBMu','AMf2yxnJCMLWDhjLywn0','B2XKu3rHCNrmAw5L','D2fPDezVCKrPywDUB3n0AwnZ','rMLSzvjLywq','igj5DgvZicH0B3rHBdOG','Dg9VBenHBgXjza','DgHPBMTPBMC','zMLSzunVDw50','zw50CMLLCW','lNbUzW','rgvSzwDHDgvKuMvZB2X1DgLVBKvYCM9Y','ls1WCMvMAxG','C3bSAwnL','y29UBMvJDa','lMXVzW','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','CMvHza','A2LSBfjLCxvLC3rLza','C3rVCMfNzurPCG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','l3vZCI9IAw4VC2G','Dg9Rzw5Z','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','B3bLBMfPlxjLC3bVBNnLCY13CW','Ag9ZDg5HBwu','zMfZDa','l3vZCI9IAw4VyMfZAa','Cg9ZDf93CML0zv9KCMLMDa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Aw5PDgLHBgL6zwq','y2XPzw50CW','C29YDa','CMvZDwX0CW','yMfJA2DYB3vUzfjLz2LZDhj5','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','mJi0lJaUmc4W','ugf0AcbPCYbUB3qGysbMAwXLoIa','zw52','yNL0zxncEurPz2vZDa','Aw5Zzxj0lMXPBMu','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','C2L6zq','zgvMyxvSDfrPBwvVDxrnCW','yMfSyw5Jzwq','CNvUrxHJBhvZAxzL','CNvUBMLUzW','qgjPB21LANmVyMLVBwu','lMPWzW','CMvSzwfZzuj5DgvZ','zgLZCgXHEwvKtgLUzxm','B3v0Chv0','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','nJK0odG5rezMANbh','C3rHCNrZv2L0Aa','ywjVCNrLza','BMf2','yMfZzty0','ls1NBg9IpseUz2L0lYO','zgLZy292zxi','CMvSyxrPDMu','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','zMLSzxm','ChjVy2vZCW','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','Bg93','Cg93zxjMDwW','q29TBwfUzcaN','CMvJB3jKtM9dAgfUz2u','C3jJl3nOyxjLzc90ExbLCY50CW','Dw1HC2S','C2vTyxbOB3jL','lMPWzwC','CMvNAw9U','igLZihvUA25VD24GzM9Yia','BNv2Aw4','yMLUza','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','C3rKzxjY','BM90Awz5','yxjYyxK','lMPZB25J','zgvMyxvSDen3za','mty5lJi1nc4WlJa','DxrTx2nVBNrLBNq','Dg91y2HqyxrO','y2fUB25Py2fS','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','nJeYng54vMzYAq','zg9JDw1LBNrtEw1IB2W','D2HPy2GGCMC','C25HChnOB3q','C3rHDa','C2vSzwn0B3i','C3rHCNrLzef0','DgfN','AgfZ','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','y2fJAgvK','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','yxr0CG','t1bftKnprevFqvbjx0Tfwq','B3bLBNjVDxrLCG','CMvZB2X2zwrnB2rLBeLKzw50Axr5','ANnVBG','CMfUAW','zw51Bq','AxntywzLsw50zwDLCG','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','DhjPBq','CMvXDwvZDgvKtw9KzwXuAwvY','CxvLC3rPB25Z','v0vcua','CMvTB3zLrxzLBNrmAxn0zw5LCG','CgfYzw50u2vZC2LVBKLK','Dg9KB3m','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','BwnWlwnSB3nLlwzHAwXLza','uMvHC29UAw5NigrLzMf1BhqGiG','Aw1Hz2vZ','lMnTza','zxHPDa','vMLLD0zPBgu','lu5Vtg9NBW','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','AhLKCMf0zu1LDge','AgvHzgvY','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','igzHAwXLzc4','zgvMAw5PDgLVBG','ANnVBMm','B25LCNjVCG','ihrVB2WGy2fSBcbMywLSzwq','C3vWzxjszwzPBMu','zM9Yy2u','ignOyxjZigrYB3bWzwrDcG','Dhj1BMm','y2XPzw50','C3rHDhvZvgv4Da','DhLWzq','ig9WzxjHDgLVBNmU','C2vYDMvY','zxHLyW','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','B2zM','ChjVDg9JB2W','BwLU','C3rKB3v0tM9YBwfSAxPLCG','C2v2zxjPDhK','Aw52ywXPzf90B2rVx2L0zw0','yNL0zuXLBMD0Aa','tM8GCMvZDwX0CYbMB3vUzc4','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','y2XVC2u','AxrLBxm','y29UDgvUDhm','ywz0zxi','yw5UB3rHDgLVBNm','Dg9VBhmVy2fSBa','icHWAwqG','yMvMB3jL','C2vHCMnOugfYyw1Z','l2jPBI9IyxnO','Bwf0y2HdB3vUDa','mtq0ntiZnevdyuvJwa','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','Axnoyu4','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','mZaYntKWofDOENjuta','CMvZzxj2zq','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','y2fSBgjHy2TvCMW','te9dquXbufbeqvrb','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','D29YA3nWywnLu3LTyM9S','DxrTx21LzgL1Bq','DgLTzvTKyxrLDgLTzv0','y29TBwfUzhm','ChjLCgfYzunHBgXiAwvYyxjJAhK','Bwf4u25HChnOB3rcExrLCW','AxnfCNjVCG','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','ig1Z','yxv0BW','C2TPBgXZ','AhrTBfnUAxbWzxq','DMvYC2LVBNncEvbHDgG','C2HLBgXqyxrO','B2C6DxbKyxrLzf90Aw1L','mJqWlJaUmc4W','s2LSBfnOzwXS','yMLVBwuUANnVBMm','r09pr0Xfx0ntrv9dwa','B3v0Chv0qNvKz2v0qNL0zxm','rMLSzu5LDW','Dw5RBM93BG','Dg9WAwm','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','DgvZDa','Dg9mB3DLCKnHC2u','zxjYB3jnzxnZywDL','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','BwnWlxrYyw5ZCg9YDc1LCNjVCG','Bgv4AwnHBfbHDgG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','CxvLC3rPB24','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','ywXSB3DLzerPCNm','zgLYzwn0B3j5','igj5DgvZ','C2vYDMvYtMfTzq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','l3bPza','zMLUywXSEq','yMfZzw5HBwu','ywXYzwfKEs10zxjTAw5HBa','zw5NAw5L','AxneAxjLy3rVCNK','zM9VDgvY','BM93','AxnfBMfIBgvK','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','w1jfrefdvevexq','yxjNCW','BgLUzxm','ywn0AxzL','ig1HDgnO','B2XKrw5KtgLUzq','zgvSzxrLigvUzeXPBMu','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','q0rqqvri','zxzPy3rjzK5LzwrLza','CMvTB3zL','B3jPz2LUvg9VBenHBgXjza','CMvHze9UBhLiAw50','y2vPBa','zw5NAw5LCW','qMfZAe91Dhb1Da','C2fMzvbHCNnL','qKftse9qvfm','C3vIyxjYyxK','Dg9tDhjPBMC','BwvKAxvT','yMLUzfnLC3nPB24','lMn0CW','Dw5ZzwvUx2XPBMvZ','rMv0y2GGywjVCNrLzcbIEsb1C2vY','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','z2v0vg9KB3m','EwvZ','yNvMzMvY','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','C291CMnLu3rHCNq','ugf0AcbUB3qGzM91BMq6ia','y29KzvzLCMLMAwvY','qxv0Ag9YAxPHDgLVBG','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','Dg9VBe5HBwu','yNvUlMXVy2TI','CMvWBgfJzsbYyw5NzsbB','igzHAwXLzcb0BYbJBg9Zzq','B3v0y29Tzq','r0LgodLH','ChvZAa','yMLYDgH0Aw1L','ywrKrxzLBNrmAxn0zw5LCG','tM8GC3vJAcbMAwXLoIaN','vg9Vig1HBNKGCMvKAxjLy3rZ','Dg90ywXqCM9KDwnLza','lMjPBG','AwDUB3jL','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','vw50AxrSzwq','zgfZAa','Aw5JBhvKzxm','zgnZ','C2vZC2LVBKLK','ugfJA2fNzxm','CMvWBgfJzs5ZDgfYDeXPBMu','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','sw5MB3jTyxrPB24','B3bLCMf0Aw9UCW','CgXHDgzVCM0','vw5HyMXLihrVihjLywqG','yMvHCMvY','C291CMnLrw5K','C2LNBMfS','zgvZy3jPChrVCNm','z2v0t3DUuhjVCgvYDhLoyw1LCW','C2vUze5VDgLMAwnHDgLVBG','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','l3vZCI9SB2nHBc9IAw4VCMC','DgLTzw91DfnVDxjJzq','DgfPBhm','zMLSBa','CMvWBgfJzs5LBMrmAw5L','y2fUB25Py2fSugf0Aa','zxjYB3i','zgvLCgLUzNjH','Bxv0yxrPB25Z','Aw1Hz2uVANbLzW','Cgf0DgvYBG','ChjVy2vZC0DYB3vWswq','C3bSAwnLsw5KzxG','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ls1ZDgrPBW','C3bHD25PBMC','D2vI','ygbGANnVBGO','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','ls1OAwrKzw4','z2XVyG','D29YA3nWywnLl3n5BwjVBa','BgfIzwW','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','CMvUzgvYu3LZDgvTuhjVBxb0','Dg9VBfbLCM1PC3nPB25Z','zNvSzMLSBgvK','DgfZA2TPBgW','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3rKzxjYrgvJB2rLCG','BwfYA2rVD24','C3rKB3v0rgvJB2rLCG','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','y29ZDa','y291BNrLCG','zgvMyxvSDe9WDgLVBG','tuLnrtOG','r0Lusfvcx0fdq0vtu19ut0TftG','mc4WlJa','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','zw5KtgLUzq','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','vxbKyxrLvg9WAwm','y29TCgXLDgvK','igLZia','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','zxH0zw5ZAw9UCW','vg9KB1DYAxrL','zMLSztOVlW','ihDHCYbHBhjLywr5ia','igj5DgvZks4','DgHLBG','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','BMv4DeXPBMvtDgfYDa','zgvJB2rL','B3bLBMfPlxjLC3bVBNnLCW','AgvHzgvYCW','ignSB3nLihrPBwvKig91Da','tg9HzfnRAwXS','zgv0ywLS','zMvUy2vK','BwnFzwLK','CgfJA2fNzs1SB2nRlMPZB24','ChjLzML4','yxbWzw5KrgvJB2rLza','y2XPzw50sw5MB3jTyxrPB24','zgvUEq','r09pr0Xfx0ntrv9lrvK','y3vZDg9T','C2HLBgXjza','z29uB0rLzMLUAxrPB24','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','CMvZzxq','qwXSia','AxntEw1IB2XPy0XPBMS','BNvTyMvY','iIbPCYbYzxnLCNzLza','BgLUzvn0yxj0','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','z3jHy2vMDwW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Dgv4Da','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','B2f1DgG','BgLZDfrVB2XZ','qKftsf9ftLy','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','CxvLCNK','oIbPBNzHBgLKihbYAw9YAxr5','AxngAwXL','C25PChbLDa','Aw50zxjUywXmAwzLy3LJBgu','AxnbyNnVBhv0zq','Bwf4ugf0Ahm','C3jJl2v4yw1WBgvZl2rLBw8UDhm','u2TPBgWGjW','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2v0','Bwv0yq','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','mtaUmc4WlJa','y2HHCMfJDgvY','C2HHmJu2','Bw9VBNnOB3q','CMCUzxHL','uxvLC3rPB24G','y2XVC2vbBgW','yw5ZD2vYCW','t1bftLjpvvrfuL9bueLFs0vz','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','C3bSAxq','AMf2yxnJCMLWDa','qMfZzsbKAxjLy3rVCNK6ia','C2v0DgXLvgvYBwLUywW','o1TExg5DkJ8','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C291CMnL','zxzLCNK','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','mtKYlJaUmc4W','qMfZAa','ywXS','zgf0zvjLC3rYAwn0','mtHtB0jYsNC','D2fPDezVCLrLCM1PBMfS','BhnWu2vYDMLJzq','AhjLzG','zgfYAW','BgLUAW','BgLZDa','zgvUBY5QC29U','D2LUmZi','Dg9KB3ncEvnLC3nPB24','yxr0ywnO','AM9PBG','BgLUzvrLEhq','yM9T','CMvWBgfJzsbLBMrmAw5L','DxrMoej5DgvZ','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','zMfPBgvK','lNDLyNa','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','Aw1Hz2uVz2LM','Bwf4','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','zhvWBgLJyxrLx3rVzg9FAwrZ','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','DgvYBwLUyxrL','A2LSBa','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ihrPBwvKig91DcbHzNrLCIa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Aw5WDxrty2HLBwe','y291BNq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','BMfTzq','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','CMLWz3jLCa','y29UzMLYBwvK','C3vJy2vZCW','yMfZAa','CNvUsw5cywnRz3jVDw5K','C3rHBgvFC25HChnOB3q6iezPBguG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zxHPDgvK','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Aw5FChjVz3jLC3m','zgf0zxrPBwu','B3b0Aw9UCW','yxv0Aa','zMLSDgvY','zMLSzq','rMfPBgvKihrVihrLCM1PBMf0zsa','DhjHBNnMB3jT','mtq2ndu3u1LLyMPk','mtCYlJe2lJaUma','rMLSzsa','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Cgf0y2G','l29WDc9OB21LyNjLDY9IAw4VCMC','zxjYB3jZ','ChjVDg90ExbL','ywnXDwLYzuj5DgvZ','r0Lusfvcx1rps0vo','lMDPzG','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','tM8GBg9JyxrPB25ZigzVDw5K','BhnWlxbYB3H5','B3bLBMnVzguTz28','AgfUzgXL','yxnPzgu','lI4U','BgfZDeLUzgv4t2y','C2nVCgvZ','DgvYBwLUyxrPB25tzxr0BgvK','ue9tva','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','yNvKz2v0vg9Rzw5Z','cGPbuKDvtuvovfm6ia','AgfZq2XPzw50CW','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','u25HChnOB3qGDgfNia','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','B2XKtgLUzunVDw50','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','rMLSzuvKAxq','mJGWCLPrv2X0','u3rHCNrLzcbHz2vUDcbYDw4G','lwXPBMuGC25HChnOB3qU','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','oIbPzcbYzxf1AxjLza','mZy5mJeXmhfjzur3vq','C2vUza','B3bLBMfP','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','ywrKsxnZDwu','tu9ptLnit1rFqvbjx0Tfwq','zxHPDenVzgu','C3rHCNrmAw5L','CMvHC29U','Cg9ZAxrPDMu','yw5JAg9YzwqTANnVBG','B25szwrPCMvJDa','BM9UBMvNyxrPDMu','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','yxr4','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','DgLTzw91De1Z','C3rHCNreAxi','yxbPs2v5','C2v0vg9KB3m','ie9sia','y2HHDe1VzgvS','CMvXDwLYzwrmAw5LCW','zgvSAxzLCMvK','Cgf0Aa','zM9Yy2vszxf1zxn0zwq','zgLHz25VC3rPy3ngB3jgAwXL','y2fUrgLZywjSzq','CMvHzen1CNnVCG','y29UDgvUDa','B3v0Chv0uMvNzxG','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','z2L0qNjHBMnO','zgLZCg9Zzq','BNvT','yNvMzMvYq2HHCNm','C2XPy2u','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Aw1Hz2u','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','C2H1DgrVD25tDgfYDgvK','C2HPzNq','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','Bw9Kzq','yM94zwq','ywjVCNq','CgfZC3rOCM91z2G','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','BMv3vgv4Da','ignVBNrHAw5Zie5vtcbIExrLCY4','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','y2fWywjPBgL0AwvZ','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Ahr0CdO','zMLUzfjLzMvYzw5Jzxm','y2XPzw50twv0ywrHDgfvCMW','Bg9JyxrPB24','Ahr0Ca','C2vZC2LVBG','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','yw5ZAte2','DxjS','tunqihnLCNzLCIa','DhnZzxj2zxiUANm','ChjVCgvYDgLLCW','CMvQzwn0','C3rHBgvFC25HChnOB3q','EwfYBI5SB2nR','yMLVBwu','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','Aw1Hz2uVCg5N','zMLUywXnzxnZywDL','zMLUza','rMLSzsb3CML0DgvUigf0ia','zgLNzxn0','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','DwX0CMe','lNrTCc4','y2XLyw51Ca','Dgv4DerVy3vTzw50l2HVDMvY','zgvZy3jPChrPB24','AxngAw5PDgu','s2LSBgvKia','CgfNzw1HCa','zgvSzxrL','Dhj1zwnVBg9Y','zMLSzvzLCNnPB25Z','y3jSzG','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','A2LUza','uKLgrG','CMvXDwvZDhm','Dhj1zq','C3rKB3v0','vMLLD2vKigLTywDLigzPBgu6ia','igj5DgvZicHVCMLNAw5HBdOG','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','C29Tzq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','u0HfteW','B2jZzxj2zwrmAw5LCW','ihDHCYbHyM9YDgvKlG','Aw52ywXPzf90B3bPyW','Dg9VBa','zw5HyMXLza','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','ANnJB25MAwCUANnVBG','D29YA3nWywnL','ywDLBNrnB2rLBfnLDa','ywXSu2v0DgXLza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','BgLNAhq','yNjVA2vU','yM9VBgvHBG','q291BgqGBM90ihjLC29SDMuGAg9ZDa','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','Bw9KzwXuAwvY','mtaWlJy0lJaUma','CgvYBwLZC2LVBKnSyxnZ','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','lNrZ','Aw5qCM9NCMvZCW','DxnLCM5HBwu','zw5K','BxrPBwu','ywjZ','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','ls1NBg9I','C3rYAw5NAwz5','DgfNrM9YrgLNzxn0','Aw5JBhvKzq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zgvSAw1PDgvY','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','yMXVy2TZ','qu5usfjpueLdx0fqsv9lrvK','CMvWBgfJzsbZDgfYDeXPBMu','CMvZzxj2yxrPB25Z','ignVBM5Ly3rPB24GDgLTzwqGB3v0','CMvSzwfZzq'];_0x4cbe=function(){return _0x1f625d;};return _0x4cbe();}function resolveAnchoredTarget(_0x38f2e7){const _0x343625={_0x39bf7c:0x5b0,_0x423f40:0x4f3,_0xd4e99a:0x498,_0x5a2f35:0x638,_0x125400:0x4f1,_0x5325f4:0x54a,_0x4be39f:0x7e3,_0x70a8f9:0x64a,_0x64ad69:0x45a,_0x444ed2:0x600,_0x2d9717:0x4d9,_0x10c168:0x444,_0x44c9b5:0xa26,_0x53b0b2:0x4cc,_0x148923:0x5cf,_0x30d818:0x975,_0x24e652:0x7a7,_0x425c3e:0x626,_0x6ca8c8:0x2f4},_0x7eb366={_0x5031e1:0x1f4,_0x55e324:0x2cb},_0x1db02d={_0x1be7bb:0x111,_0x243936:0x0};function _0x15e632(_0x2a1ce3,_0x413529,_0x22b2ac,_0x4a2870){return _0x5b2413(_0x2a1ce3-_0x1db02d._0x1be7bb,_0x413529-0x1d0,_0x4a2870-_0x1db02d._0x243936,_0x2a1ce3);}const _0x326fd3=_0x38f2e7[_0x25cf91(0x740,_0x343625._0x39bf7c,_0x343625._0x423f40,_0x343625._0xd4e99a)]??_0x25cf91(0x53e,_0x343625._0x5a2f35,_0x343625._0x125400,0x4d8);if(_0x326fd3==='exact')return void 0x0;if(_0x38f2e7['observations']===void 0x0)throw new Error((_0x38f2e7[_0x25cf91(0x3f8,_0x343625._0x5325f4,0x6f3,0x327)]??_0x15e632(0x82d,0x6c9,_0x343625._0x4be39f,_0x343625._0x70a8f9))+_0x15e632(0x512,0x57b,_0x343625._0x64ad69,_0x343625._0x444ed2));if(_0x38f2e7[_0x25cf91(_0x343625._0x2d9717,_0x343625._0x10c168,0x38e,0x55d)]===void 0x0)throw new Error((_0x38f2e7[_0x15e632(0x7ec,_0x343625._0x44c9b5,0x7ff,0x815)]??_0x15e632(_0x343625._0x53b0b2,0x4bf,_0x343625._0x148923,0x64a))+_0x15e632(0x9b5,_0x343625._0x30d818,0x640,_0x343625._0x24e652));function _0x25cf91(_0x3db3a2,_0x5566b9,_0x5a870a,_0x2ff72f){return _0x5b2413(_0x3db3a2-0x9c,_0x5566b9-_0x7eb366._0x5031e1,_0x5566b9- -_0x7eb366._0x55e324,_0x5a870a);}return{'mode':_0x326fd3,'observations':_0x38f2e7['observations'],'outputBudgetBytes':_0x38f2e7[_0x25cf91(_0x343625._0x425c3e,0x444,_0x343625._0x6ca8c8,0x516)]};}function isErrnoException(_0x261f03){const _0x2d2d5f={_0x3439d5:0x254,_0x48800e:0x2db,_0x3ea1a4:0x396},_0x501d38={_0x4bd6fd:0x29};function _0x1f7048(_0x4606c4,_0x1e1874,_0x30f28a,_0x1be19d){return _0x28bc81(_0x4606c4-0x65,_0x1e1874-_0x501d38._0x4bd6fd,_0x1e1874- -0x345,_0x4606c4);}return _0x261f03 instanceof Error&&_0x1f7048(0x451,_0x2d2d5f._0x3439d5,_0x2d2d5f._0x48800e,_0x2d2d5f._0x3ea1a4)in _0x261f03&&typeof _0x261f03['code']==='string';}function wrapAnchoredFsError(_0x4baf44,_0x15f45e){const _0x54f95={_0x151e18:0x102,_0x25d044:0xb6,_0x14fa6b:0x297,_0x47a978:0xb3,_0x2b00ab:0x2ba,_0x4e6f2b:0x429,_0x7f1156:0x485,_0x1e4d20:0x2a9,_0x43f55b:0x24e},_0xa96fa7={_0x1c1296:0xf4},_0x6aadf6={_0xa6c92b:0x4a4};if(_0x4baf44 instanceof ToolExecutionError)throw _0x4baf44;function _0xec8598(_0x5984e7,_0x213461,_0x52cfda,_0x24c70b){return _0x5b2413(_0x5984e7-0x194,_0x213461-0x1bd,_0x24c70b- -_0x6aadf6._0xa6c92b,_0x213461);}function _0x2bd489(_0x22fa4e,_0x25680e,_0x221c04,_0x3916f1){return _0x5b2413(_0x22fa4e-0x9e,_0x25680e-_0xa96fa7._0x1c1296,_0x22fa4e- -0x4d2,_0x221c04);}if(!isErrnoException(_0x4baf44))throw _0x4baf44;throw createAnchoredFileError(_0x2bd489(0x10c,0x25b,-_0x54f95._0x151e18,-_0x54f95._0x25d044),_0x2bd489(_0x54f95._0x14fa6b,_0x54f95._0x47a978,_0x54f95._0x2b00ab,0x3ba)+_0x15f45e+_0x2bd489(0x28b,0x1d8,_0x54f95._0x4e6f2b,_0x54f95._0x7f1156)+_0x4baf44['message']+_0xec8598(0x1cd,0x1cb,_0x54f95._0x1e4d20,_0x54f95._0x43f55b),{'path':_0x15f45e});}async function executeAnchoredRead(_0x13d37f,_0x4d67da,_0x106948,_0x471bc9,_0x333ce7,_0x54ac45,_0x46f89b){const _0x48c599={_0x3c1431:0x5f0,_0x181592:0x7ca,_0x16dfcb:0x143,_0x1196c9:0x1c0,_0x3ab2e8:0x2bf,_0x1800e:0x62d,_0x5d4303:0x4f3,_0x1a1adf:0x44f,_0x4e51b9:0x712,_0x14c389:0x55a,_0xbbd60f:0x4d4,_0x2fe7f9:0x501,_0x119e52:0x1da,_0x3d7083:0x2a3,_0xcada24:0x28,_0x3af592:0xe6,_0x1ede1f:0x564,_0x3d36b4:0x416,_0x249f7b:0x76,_0x10283d:0x6fb,_0x3e6a97:0x3f9,_0x4673e4:0x565,_0x401daf:0x517,_0x3a45d1:0x763},_0x27cf56={_0xc9bc1e:0x180,_0x10902a:0xc1};let _0x41c407;try{_0x41c407=await resolveCanonicalAllowedFile(_0x4d67da,_0x106948,_0x471bc9);}catch(_0x559484){wrapAnchoredFsError(_0x559484,_0x471bc9);}let _0x4d59b3;try{_0x4d59b3=await _0x505010(_0x41c407[_0x122863(_0x48c599._0x3c1431,0x6da,_0x48c599._0x181592,0x5e7)]);}catch(_0x6a9204){wrapAnchoredFsError(_0x6a9204,_0x471bc9);}const _0xa9d22b=createNormalizedFileSnapshot(_0x41c407[_0x5f12ea(0x86,0x2b,_0x48c599._0x16dfcb,0x32a)],_0x4d59b3);function _0x5f12ea(_0x37fd5c,_0xcd71c5,_0x4a16b9,_0x3d0f3a){return _0x5b2413(_0x37fd5c-_0x27cf56._0xc9bc1e,_0xcd71c5-_0x27cf56._0x10902a,_0x4a16b9- -0x633,_0x3d0f3a);}_0x13d37f[_0x5f12ea(0x2a3,_0x48c599._0x1196c9,_0x48c599._0x3ab2e8,0x186)]['bindSession'](_0x46f89b);const _0x164aab=formatAnchoredFileRead({'displayPath':_0x471bc9,'snapshot':_0xa9d22b,'lineStart':_0x333ce7,'lineEnd':_0x54ac45,'maxBytes':_0x13d37f[_0x122863(0x589,0x3b3,0x423,0x787)]});_0x13d37f[_0x122863(0x76c,0x765,0x70b,_0x48c599._0x1800e)]['record'](_0xa9d22b,_0x164aab[_0x122863(_0x48c599._0x5d4303,_0x48c599._0x1a1adf,_0x48c599._0x4e51b9,_0x48c599._0x14c389)]);function _0x122863(_0x38843c,_0xe44bd4,_0x449a06,_0xe934d1){return _0x28bc81(_0x38843c-0x197,_0xe44bd4-0x18e,_0x38843c-0x219,_0x449a06);}return createToolOutput(_0x164aab[_0x122863(0x4f4,_0x48c599._0xbbd60f,_0x48c599._0x2fe7f9,0x69d)],{'mode':_0x13d37f[_0x5f12ea(0x2e7,_0x48c599._0x119e52,0x248,_0x48c599._0x3d7083)],'path':_0x471bc9,'resolvedPath':_0x41c407[_0x5f12ea(_0x48c599._0xcada24,0x110,_0x48c599._0x3af592,0x74)],'canonicalPath':_0x41c407[_0x122863(0x5f0,0x4f6,_0x48c599._0x1ede1f,_0x48c599._0x3d36b4)],'tag':_0xa9d22b[_0x5f12ea(0x279,0xf2,_0x48c599._0x249f7b,-0x7b)],'digest':_0xa9d22b[_0x122863(0x715,_0x48c599._0x10283d,0x5a4,0x591)],'displayedLines':[..._0x164aab[_0x122863(0x4f3,_0x48c599._0x3e6a97,_0x48c599._0x4673e4,0x31e)]],'truncated':_0x164aab['truncated'],..._0x164aab[_0x122863(0x623,_0x48c599._0x401daf,_0x48c599._0x3a45d1,0x40c)]!==void 0x0?{'nextLineStart':_0x164aab[_0x122863(0x623,0x73c,0x741,0x5d9)]}:{}});}function createFileReadTool(_0x38d818={}){const _0x19de6e={_0x1045e8:0x34d,_0xd9152d:0x52e,_0x120da4:0x70f,_0x2e0302:0x426,_0x56447a:0x864,_0x536021:0x6a8,_0x345bfb:0x16c,_0x43382f:0x148,_0x5edd22:0x4b4,_0x31d558:0xf3,_0x3d0462:0x92,_0x354f53:0x26c,_0x357982:0x225,_0x57d0d0:0x653,_0x2209d3:0x652,_0xc9014d:0x57e,_0xac8246:0x3a5,_0x5e3a82:0x690,_0x1c9cf5:0x68b,_0x4cf1e0:0x560,_0x118413:0x53b},_0x9d5d7a={_0xd44d7b:0x1b,_0x357596:0x206,_0x46a1c2:0x3c0,_0x42b55e:0x57c,_0x3e5b79:0x4d0,_0xf038e9:0x4cb,_0x36419d:0x1cd,_0xf663b1:0xcd,_0x2cd980:0x3fd,_0x1b6dfa:0x607,_0x39c27c:0x65b,_0x3f2273:0x447,_0x443440:0x433,_0x58bca9:0x41e,_0x444bfa:0x2b7,_0x26835a:0x4cb,_0x14ca97:0x1ec,_0x335fd5:0x59,_0x5e0f75:0x71,_0x1f021f:0x45a,_0x2bd3cc:0x531,_0x4f2021:0x26d,_0x4fb9e4:0x336,_0x413e2d:0x238,_0x51b661:0xd5,_0x24346a:0x264,_0x66f905:0xe8,_0x6447df:0x1a6,_0x3eda5e:0xeb,_0x420a64:0x404,_0x59cc23:0x49,_0x493eef:0x25f,_0x4c3092:0xef,_0x41df0f:0x108,_0x59bee7:0xdc,_0x676da1:0x3ca,_0x22c726:0x562,_0x21303d:0x5a7,_0x18b33d:0x324,_0x1777b0:0x243,_0x58fb4a:0x4fb,_0x37d6fe:0x282,_0x485ba7:0x4d7,_0xf2516c:0x100,_0x31650f:0x28b,_0x44012c:0x1f8,_0x306563:0x107,_0x1790fa:0x11c,_0x596d04:0x466,_0x307ecd:0x54b,_0x3d0b26:0x119,_0x537115:0x31a,_0x52eb9b:0x394,_0x34603b:0x527,_0x10a308:0x424},_0x31f061={_0x135613:0x1bc},_0x300009={_0x2944e8:0x153},_0x44027a={_0x3157c6:0x1ea,_0x59a07a:0x8f},_0x3f5df0=_0x1ec189['resolve'](_0x38d818[_0x5cac4e(_0x19de6e._0x1045e8,0x586,_0x19de6e._0xd9152d,_0x19de6e._0x120da4)]??process['cwd']()),_0x5005e2=_0x38d818[_0x5cac4e(0x450,0x446,0x5b0,_0x19de6e._0x2e0302)]??[];function _0x5cac4e(_0x338826,_0x1720a8,_0x44a21e,_0x1eedc7){return _0x28bc81(_0x338826-_0x44027a._0x3157c6,_0x1720a8-_0x44027a._0x59a07a,_0x44a21e-0x232,_0x1720a8);}function _0x420c0a(_0x5ab970,_0x256abd,_0x2ef761,_0x1cd179){return _0x28bc81(_0x5ab970-0x7f,_0x256abd-_0x300009._0x2944e8,_0x5ab970- -0x13f,_0x1cd179);}const _0x1788c4=_0x38d818[_0x5cac4e(_0x19de6e._0x56447a,0x5fe,_0x19de6e._0x536021,0x770)]??_0x420c0a(_0x19de6e._0x345bfb,0x1a8,_0x19de6e._0x43382f,0x2b8),_0x420f93=resolveAnchoredTarget(_0x38d818);return defineTool({'name':_0x1788c4,'permissionClass':_0x5cac4e(0x622,_0x19de6e._0x5edd22,0x4ea,0x588),'description':_0x420f93===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':_0x420c0a(_0x19de6e._0x31d558,0x241,-_0x19de6e._0x3d0462,0x2a1),'inputSchema':{'type':'object','properties':{'path':{'type':_0x420c0a(0x157,0x92,_0x19de6e._0x354f53,_0x19de6e._0x357982)},'lineStart':{'type':_0x5cac4e(_0x19de6e._0x57d0d0,0x859,_0x19de6e._0x2209d3,_0x19de6e._0xc9014d),'description':_0x420c0a(_0x19de6e._0xac8246,0x41d,0x207,0x415)},'lineEnd':{'type':_0x5cac4e(_0x19de6e._0x5e3a82,_0x19de6e._0x1c9cf5,0x652,_0x19de6e._0x4cf1e0),'description':_0x5cac4e(0x4e0,0x852,0x6d6,_0x19de6e._0x118413)}},'required':['path']},async *'execute'(_0x242e26,_0x526922){const _0x495395={_0x46f942:0x141,_0x1f070e:0xf5,_0x2117dd:0x79},_0x4b3830=resolveAllowedPath(_0x3f5df0,_0x5005e2,_0x242e26[_0x9fe993(0x2a7,0xb4,0xdf,0x183)]);if(_0x420f93===void 0x0){await assertWorkspaceFile(_0x4b3830);const _0x338ded=await _0x242fed(_0x4b3830),_0x48391f=await _0x505010(_0x4b3830);if(isProbablyBinary(_0x48391f))throw new ToolExecutionError(_0x9fe993(0x2b1,0x1ca,-_0x9d5d7a._0xd44d7b,_0x9d5d7a._0x357596)+_0x242e26[_0x2bf8b9(_0x9d5d7a._0x46a1c2,_0x9d5d7a._0x42b55e,0x2e3,0x4cb)],{'path':_0x242e26[_0x2bf8b9(_0x9d5d7a._0x3e5b79,0x5d8,0x36f,_0x9d5d7a._0xf038e9)]});let _0x1dd3f9=_0x48391f[_0x2bf8b9(0x24a,0x528,_0x9d5d7a._0x36419d,0x3a2)](_0x9fe993(-0x2c9,0x13e,-0xd4,-_0x9d5d7a._0xf663b1));const _0xe188b9=_0x1dd3f9[_0x2bf8b9(_0x9d5d7a._0x2cd980,0x714,0x603,_0x9d5d7a._0x1b6dfa)](0x0)===0xfeff;_0x1dd3f9=stripUtfBom(_0x1dd3f9);const _0x14f346=_0x1dd3f9[_0x2bf8b9(0x297,0x3af,_0x9d5d7a._0x39c27c,_0x9d5d7a._0x3f2273)](/\r?\n/),_0x2ef1a8={'path':_0x242e26[_0x2bf8b9(_0x9d5d7a._0x443440,_0x9d5d7a._0x58bca9,_0x9d5d7a._0x444bfa,_0x9d5d7a._0x26835a)],'resolvedPath':_0x4b3830,'created':_0x338ded[_0x9fe993(0x284,_0x9d5d7a._0x14ca97,_0x9d5d7a._0x335fd5,_0x9d5d7a._0x5e0f75)]['toISOString'](),'modified':_0x338ded[_0x2bf8b9(0x3de,0x749,_0x9d5d7a._0x1f021f,_0x9d5d7a._0x2bd3cc)][_0x2bf8b9(_0x9d5d7a._0x4f2021,0x21c,_0x9d5d7a._0x4fb9e4,_0x9d5d7a._0x413e2d)](),'size':_0x338ded[_0x2bf8b9(_0x9d5d7a._0x51b661,_0x9d5d7a._0x24346a,0x298,0x2d4)],'encoding':_0x2bf8b9(0x332,_0x9d5d7a._0x66f905,_0x9d5d7a._0x6447df,0x27b),'bomStripped':_0xe188b9,'truncated':![],'totalLines':_0x14f346['length']};if(_0x242e26['lineStart']!==void 0x0||_0x242e26[_0x9fe993(_0x9d5d7a._0x3eda5e,_0x9d5d7a._0x420a64,_0x9d5d7a._0x59cc23,_0x9d5d7a._0x493eef)]!==void 0x0){const _0x49faf6=clampLine2(_0x242e26[_0x9fe993(-_0x9d5d7a._0x4c3092,-_0x9d5d7a._0x41df0f,-0xd9,_0x9d5d7a._0x59bee7)]??0x1,_0x14f346[_0x9fe993(0xfa,_0x9d5d7a._0x676da1,0x2c7,0x203)]),_0x2739cc=clampLine2(_0x242e26[_0x2bf8b9(_0x9d5d7a._0x22c726,0x47d,0x464,_0x9d5d7a._0x21303d)]??_0x14f346[_0x9fe993(_0x9d5d7a._0x18b33d,0x3d7,_0x9d5d7a._0x1777b0,0x203)],_0x14f346['length']),_0x2e25ac=Math[_0x2bf8b9(0x380,_0x9d5d7a._0x58fb4a,_0x9d5d7a._0x37d6fe,0x342)](_0x49faf6,_0x2739cc),_0x874073=Math[_0x2bf8b9(0x281,0x3f8,0x2ec,0x469)](_0x49faf6,_0x2739cc),_0x275230=_0x14f346[_0x2bf8b9(0x3a7,0x65d,0x341,_0x9d5d7a._0x485ba7)](_0x2e25ac-0x1,_0x874073)[_0x9fe993(0x2e4,_0x9d5d7a._0xf2516c,0x1f2,_0x9d5d7a._0x31650f)]((_0x1b2763,_0x427812)=>_0x2e25ac+_0x427812+'|'+_0x1b2763)[_0x9fe993(_0x9d5d7a._0x44012c,_0x9d5d7a._0x306563,_0x9d5d7a._0x1790fa,0x117)]('\x0a');return yield createToolOutput(_0x275230,{..._0x2ef1a8,'lineRange':{'lineStart':_0x2e25ac,'lineEnd':_0x874073,'linesTotal':_0x14f346[_0x2bf8b9(_0x9d5d7a._0x596d04,0x4df,0x687,_0x9d5d7a._0x307ecd)]}}),void 0x0;}return yield createToolOutput(_0x1dd3f9,_0x2ef1a8),void 0x0;}function _0x9fe993(_0x353ab5,_0x5d26ab,_0x4b3a09,_0x3af39d){return _0x5cac4e(_0x353ab5-0xe2,_0x5d26ab,_0x3af39d- -0x578,_0x3af39d-_0x31f061._0x135613);}function _0x2bf8b9(_0x15ba34,_0x456527,_0x271299,_0x5e76a8){return _0x420c0a(_0x5e76a8-_0x495395._0x46f942,_0x456527-_0x495395._0x1f070e,_0x271299-_0x495395._0x2117dd,_0x271299);}return yield await executeAnchoredRead(_0x420f93,_0x3f5df0,_0x5005e2,_0x242e26[_0x9fe993(_0x9d5d7a._0x3d0b26,_0x9d5d7a._0x537115,_0x9d5d7a._0x52eb9b,0x183)],_0x242e26[_0x2bf8b9(_0x9d5d7a._0x34603b,0x367,0x2e0,_0x9d5d7a._0x10a308)],_0x242e26['lineEnd'],_0x526922['sessionId']),void 0x0;}});}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';import{randomUUID as _0x473870}from'crypto';import{mkdir as _0x50d659,readFile as _0x1f4517,writeFile as _0x31455b}from'fs/promises';import{join as _0x81920e}from'path';function sanitizeStorageKey(_0x542b5c){const _0x5eb512={_0x2c753b:0x389,_0x169fcf:0x666,_0xde6067:0x7d4,_0x51913c:0x677,_0x4c0296:0x727,_0x56ce2e:0x674,_0x50051a:0x1fc,_0x54e23d:0x104,_0x8b995b:0x252},_0x231f5b={_0x42d2cf:0x11d,_0x47f6ad:0x27d},_0x220357={_0x24653b:0x14b};function _0x553005(_0x9746ac,_0x2cb360,_0x151164,_0x2c13b4){return _0x5b2413(_0x9746ac-0x14b,_0x2cb360-_0x220357._0x24653b,_0x2c13b4- -0x486,_0x2cb360);}function _0xbee229(_0x35a8a7,_0x1d540e,_0x4be795,_0x289b57){return _0x28bc81(_0x35a8a7-0x184,_0x1d540e-_0x231f5b._0x42d2cf,_0x35a8a7-_0x231f5b._0x47f6ad,_0x4be795);}return _0x542b5c[_0x553005(0x30b,_0x5eb512._0x2c753b,_0x5eb512._0x169fcf,0x470)](/[^a-zA-Z0-9_]+/g,'_')[_0xbee229(_0x5eb512._0xde6067,_0x5eb512._0x51913c,_0x5eb512._0x4c0296,_0x5eb512._0x56ce2e)](/^_+|_+$/g,'')||_0x553005(0x234,_0x5eb512._0x50051a,_0x5eb512._0x54e23d,_0x5eb512._0x8b995b);}function storagePath(_0x5a7842){const _0x4b222c={_0x5a5df8:0x8df,_0x53ecce:0x7ea,_0xf80d10:0x3df,_0x153bb1:0x555,_0x56152d:0x5f5,_0x1c4e1f:0x51e,_0x3605a6:0x7a0,_0x59756e:0x98d,_0x181ffc:0x701},_0x4f1290={_0x5c86e0:0x20,_0x364619:0x222},_0x5964bf={_0x15465e:0x13b},_0x40b545=sanitizeStorageKey(_0x5a7842[_0x1ce57b(0x6ce,0x636,_0x4b222c._0x5a5df8,_0x4b222c._0x53ecce)][_0x1ce57b(0x699,0x52c,0x784,0x68d)]?.['tokenStorageKey']??_0x5a7842[_0x1ce57b(_0x4b222c._0xf80d10,_0x4b222c._0x153bb1,_0x4b222c._0x56152d,0x5e5)]);function _0x1ce57b(_0x2a0d8d,_0x11b6b0,_0x48c02b,_0x444e72){return _0x5b2413(_0x2a0d8d-0xb,_0x11b6b0-0xf6,_0x444e72- -_0x5964bf._0x15465e,_0x2a0d8d);}function _0x57c0e1(_0x584c61,_0x317697,_0x1c8cd4,_0x1c7f95){return _0x28bc81(_0x584c61-_0x4f1290._0x5c86e0,_0x317697-0xdc,_0x317697-_0x4f1290._0x364619,_0x584c61);}return _0x81920e(_0x5a7842[_0x1ce57b(0x305,0x3b0,0x35d,_0x4b222c._0x1c4e1f)],_0x40b545+_0x57c0e1(0x64d,_0x4b222c._0x3605a6,_0x4b222c._0x59756e,_0x4b222c._0x181ffc));}async function readStore(_0x2825e0){const _0x997ebc={_0x5084dc:0x4a1,_0x265c91:0x5cf,_0x38d136:0x135,_0x5d2fc1:0x10c,_0x33ad16:0x3b5,_0x2be452:0x2ff,_0x4807d9:0x64c,_0x19b9f0:0x455},_0x3fc72b={_0x2cd171:0xd1,_0x3c8678:0xe7,_0x3ee28b:0x144},_0x23aa22={_0x3b320e:0x7c,_0x453230:0x334};function _0x52c41b(_0xea4f8d,_0x555af1,_0x5b75c9,_0x54e930){return _0x28bc81(_0xea4f8d-0x1a9,_0x555af1-_0x23aa22._0x3b320e,_0x54e930- -_0x23aa22._0x453230,_0x5b75c9);}function _0xbe79b8(_0x906fcd,_0x25db88,_0x226c2a,_0x886038){return _0x28bc81(_0x906fcd-_0x3fc72b._0x2cd171,_0x25db88-_0x3fc72b._0x3c8678,_0x906fcd- -_0x3fc72b._0x3ee28b,_0x226c2a);}try{return JSON[_0xbe79b8(_0x997ebc._0x5084dc,_0x997ebc._0x265c91,0x45a,0x2d3)](await _0x1f4517(_0x2825e0,_0xbe79b8(_0x997ebc._0x38d136,_0x997ebc._0x5d2fc1,0x2b1,-0xcb)));}catch(_0x226288){if(_0x226288 instanceof Error&&_0xbe79b8(0x455,_0x997ebc._0x33ad16,_0x997ebc._0x2be452,_0x997ebc._0x4807d9)in _0x226288&&_0x226288[_0xbe79b8(_0x997ebc._0x19b9f0,0x624,0x368,0x495)]==='ENOENT')return{};throw _0x226288;}}async function writeStore(_0x4fcfaa,_0x5d69be){const _0x134d62={_0x370965:0x30d,_0x47d0fb:0x151,_0x57248e:0x1ad,_0x2a3c21:0x17,_0x3d9c81:0x1d,_0x42ca7c:0x10e};await _0x50d659(_0x81920e(_0x4fcfaa,'..'),{'recursive':!![]});function _0xaa877b(_0x30f778,_0x43fe93,_0x53e7c4,_0x1a9c3){return _0x5b2413(_0x30f778-0xb1,_0x43fe93-0x102,_0x1a9c3- -0x726,_0x30f778);}function _0x1ad2e0(_0x5a3032,_0x3caa5b,_0x14cde4,_0x3af655){return _0x28bc81(_0x5a3032-0x190,_0x3caa5b-0x1be,_0x5a3032-0x3e3,_0x3caa5b);}await _0x31455b(_0x4fcfaa,JSON[_0xaa877b(0x8a,_0x134d62._0x370965,_0x134d62._0x47d0fb,_0x134d62._0x57248e)](_0x5d69be,null,0x2),_0xaa877b(-_0x134d62._0x2a3c21,-0x3,-_0x134d62._0x3d9c81,-_0x134d62._0x42ca7c));}async function updateStore(_0x1a5032,_0x19765a){const _0x42fc3d=await readStore(_0x1a5032);_0x19765a(_0x42fc3d),await writeStore(_0x1a5032,_0x42fc3d);}function createMcpOAuthProvider(_0x32c96d){const _0x3c6641={_0x2afffc:0x422,_0x33d9ef:0x270,_0x2810a7:0x51c,_0x23019f:0x707,_0x4600e0:0x55c,_0xb90241:0x590,_0x22b3cf:0x459,_0x234fa2:0x12,_0x58b264:0x12c,_0x649cc2:0x684,_0x52a1fe:0x14b,_0x13b349:0x3bc,_0x20ad51:0x507,_0x115311:0x1fd,_0x12fb21:0x3e6,_0x5b3afb:0x1d7},_0x373263={_0x22dc72:0x8b0},_0x46cb92={_0x1f5bc2:0x258},_0x6603f1={_0xd9e2ab:0x71a,_0x39fe81:0x5fd,_0x55865d:0x8bd,_0x435d72:0x81c},_0x1e1100={_0x237eec:0x11},_0x4c48a7={_0x31e4bc:0x749,_0x5af7a8:0x81d},_0x41f1b0={_0x42c54c:0x23f,_0x4f1003:0x2e4},_0x4ae85f={_0x3c1eeb:0xff},_0x24537a={_0x39950f:0x52d},_0xc55e57={_0x4796b0:0xfb},_0x2c673b={_0x4aa4cd:0x54b},_0x3c66c9={_0x4ba75a:0x168,_0x43056d:0x12a,_0x33165c:0xde},_0x45c878={_0x335efe:0xca,_0x36e8d1:0x16f},_0x2b4597={_0x35c9ad:0x133},_0x2cf2bd=storagePath(_0x32c96d),_0x5dfde7=_0x32c96d[_0xfbf0d1(0x35a,_0x3c6641._0x2afffc,0x37f,0x29c)]['oauth']?.[_0xfbf0d1(_0x3c6641._0x33d9ef,0x1f2,0x42a,0x2b3)]?.[_0x467c20(_0x3c6641._0x2810a7,_0x3c6641._0x23019f,_0x3c6641._0x4600e0,0x422)]('\x20');function _0x467c20(_0xdd0670,_0x279fef,_0x3d7989,_0x233db4){return _0x5b2413(_0xdd0670-0x9b,_0x279fef-_0x2b4597._0x35c9ad,_0x3d7989- -0x2a0,_0x233db4);}const _0x58a366={'client_name':'Nuvin','redirect_uris':[_0x32c96d[_0x467c20(0x418,_0x3c6641._0xb90241,_0x3c6641._0x22b3cf,0x666)]],'grant_types':[_0xfbf0d1(-0xe,-_0x3c6641._0x234fa2,-_0x3c6641._0x58b264,0x198),_0x467c20(0x6ca,0x49b,_0x3c6641._0x649cc2,0x52a)],'response_types':[_0xfbf0d1(0x36d,0x211,_0x3c6641._0x52a1fe,_0x3c6641._0x13b349)],'token_endpoint_auth_method':'client_secret_post',..._0x5dfde7?{'scope':_0x5dfde7}:{}};function _0xfbf0d1(_0x110a0a,_0xea2572,_0x10e373,_0x543e6d){return _0x5b2413(_0x110a0a-_0x45c878._0x335efe,_0xea2572-_0x45c878._0x36e8d1,_0x110a0a- -0x5cb,_0xea2572);}return{'clientMetadataUrl':_0x32c96d[_0xfbf0d1(0x35a,_0x3c6641._0x20ad51,0x3a5,0x148)][_0xfbf0d1(_0x3c6641._0x115311,_0x3c6641._0x12fb21,_0x3c6641._0x5b3afb,0x41a)]?.[_0x467c20(0x495,0x6d7,0x5e8,0x4b0)],get 'redirectUrl'(){return _0x32c96d['callbackUrl'];},get 'clientMetadata'(){return _0x58a366;},async 'state'(){const _0x2855ed={_0x47afec:0x169},_0x126c27={_0x35e9a4:0xaa},_0xf7cd11=await readStore(_0x2cf2bd);if(_0xf7cd11['state'])return _0xf7cd11[_0x2ebc32(-_0x3c66c9._0x4ba75a,-_0x3c66c9._0x43056d,_0x3c66c9._0x33165c,-0x243)];function _0x2ebc32(_0x370e84,_0x226e98,_0x58e95e,_0x543b81){return _0x467c20(_0x370e84-0x38,_0x226e98-0x128,_0x226e98- -0x40c,_0x370e84);}const _0x3ddcb2=_0x473870();return await updateStore(_0x2cf2bd,_0x3ed87f=>{function _0x3e5b1e(_0xccfe73,_0x2df27e,_0x464bc2,_0x178861){return _0x2ebc32(_0x464bc2,_0x2df27e- -0x3f,_0x464bc2-_0x126c27._0x35e9a4,_0x178861-0x54);}_0x3ed87f[_0x3e5b1e(-0x212,-_0x2855ed._0x47afec,-0x247,-0x89)]=_0x3ddcb2;}),_0x3ddcb2;},async 'clientInformation'(){function _0x21e359(_0x3ec524,_0x2c45e6,_0x1773cd,_0x2143cf){return _0x467c20(_0x3ec524-0xaf,_0x2c45e6-0x127,_0x2c45e6-0x1c1,_0x3ec524);}return(await readStore(_0x2cf2bd))[_0x21e359(0x5dc,0x6d6,_0x2c673b._0x4aa4cd,0x521)];},async 'saveClientInformation'(_0x2be975){await updateStore(_0x2cf2bd,_0x3a0b02=>{_0x3a0b02['clientInformation']=_0x2be975;});},async 'tokens'(){function _0x3b6864(_0x25303e,_0x16d19a,_0xe473,_0x3495d8){return _0x467c20(_0x25303e-0x14e,_0x16d19a-0x30,_0x25303e-_0xc55e57._0x4796b0,_0x16d19a);}return(await readStore(_0x2cf2bd))[_0x3b6864(0x4b8,0x650,0x54d,_0x24537a._0x39950f)];},async 'saveTokens'(_0x37107b){const _0x2b5a2e={_0x3b1d8a:0x2f9};await updateStore(_0x2cf2bd,_0x5eecf8=>{function _0x330cc4(_0x2f5316,_0x528f2c,_0x5fa9f8,_0xef7ab9){return _0x8662(_0x528f2c-0xc2,_0x2f5316);}_0x5eecf8[_0x330cc4(_0x2b5a2e._0x3b1d8a,0x3a8,0x1ae,0x45e)]=_0x37107b;});},async 'redirectToAuthorization'(_0xaf8e49){function _0x518571(_0x4e1c4c,_0x278918,_0x1b5026,_0x40927d){return _0xfbf0d1(_0x40927d-0x55,_0x1b5026,_0x1b5026-0x21,_0x40927d-_0x4ae85f._0x3c1eeb);}await _0x32c96d[_0x518571(_0x41f1b0._0x42c54c,0x2a9,0x4ac,_0x41f1b0._0x4f1003)](_0xaf8e49);},async 'saveCodeVerifier'(_0x2e1431){await updateStore(_0x2cf2bd,_0x3b3ac1=>{function _0x3e3407(_0x5ae55f,_0x5cfcc1,_0x29a972,_0x4fa66a){return _0x8662(_0x29a972-0x374,_0x5ae55f);}_0x3b3ac1[_0x3e3407(0x807,0x73f,_0x4c48a7._0x31e4bc,_0x4c48a7._0x5af7a8)]=_0x2e1431;});},async 'codeVerifier'(){const _0x5e1b66={_0x215034:0x95};function _0x274a53(_0x4c0258,_0x338ad1,_0x1314e0,_0x1786e1){return _0xfbf0d1(_0x1786e1-0x4fd,_0x338ad1,_0x1314e0-_0x5e1b66._0x215034,_0x1786e1-0x1b6);}const _0x5df81b=(await readStore(_0x2cf2bd))[_0x47cff4(0x71f,_0x6603f1._0xd9e2ab,0x571,0x81a)];if(!_0x5df81b)throw new Error(_0x274a53(0x8fe,_0x6603f1._0x39fe81,_0x6603f1._0x55865d,_0x6603f1._0x435d72));function _0x47cff4(_0x49c5a0,_0x4f2289,_0x25a24c,_0x14cc0b){return _0x467c20(_0x49c5a0-0x67,_0x4f2289-_0x1e1100._0x237eec,_0x4f2289-0x26e,_0x25a24c);}return _0x5df81b;},async 'invalidateCredentials'(_0x48c5be){const _0x2baa57={_0x17c41c:0x210,_0x1b6422:0x3a5,_0x1264e7:0xf,_0xf7f682:0x100,_0x454e74:0xac,_0x52e3ba:0x11e,_0x286d57:0x1a2,_0x2a7cad:0x26b,_0x33e39f:0xf5,_0x4eb03f:0x24a,_0x5b4c6e:0x2c6,_0x9b1ed2:0x1f9,_0x401513:0xca,_0x24bc8e:0x80,_0x244c8f:0x210,_0x20cd69:0x169,_0x5dc572:0x18f,_0x57cfcb:0x3b6,_0x19787b:0x38c};await updateStore(_0x2cf2bd,_0x2eb6d0=>{function _0x66dfc3(_0x4e437f,_0x43be98,_0x114630,_0x33086b){return _0x8662(_0x33086b- -0x320,_0x114630);}(_0x48c5be===_0x258966(_0x2baa57._0x17c41c,_0x2baa57._0x1b6422,0x1a2,-_0x2baa57._0x1264e7)||_0x48c5be===_0x258966(0xf5,-0x9a,0x314,0x2c5))&&(_0x2eb6d0[_0x66dfc3(0x95,_0x2baa57._0xf7f682,_0x2baa57._0x454e74,_0x2baa57._0x52e3ba)]=void 0x0);(_0x48c5be===_0x66dfc3(_0x2baa57._0x286d57,0x2e4,0x211,0x158)||_0x48c5be==='tokens')&&(_0x2eb6d0['tokens']=void 0x0);(_0x48c5be==='all'||_0x48c5be===_0x66dfc3(0x312,_0x2baa57._0x2a7cad,_0x2baa57._0x33e39f,_0x2baa57._0x4eb03f))&&(_0x2eb6d0[_0x258966(0x16d,_0x2baa57._0x5b4c6e,0x154,_0x2baa57._0x9b1ed2)]=void 0x0,_0x2eb6d0[_0x66dfc3(0xc0,_0x2baa57._0x401513,-_0x2baa57._0x24bc8e,-0x115)]=void 0x0);function _0x258966(_0x44bd02,_0x478144,_0x1e456a,_0x721071){return _0x8662(_0x44bd02- -0x268,_0x478144);}(_0x48c5be===_0x258966(_0x2baa57._0x244c8f,_0x2baa57._0x20cd69,0x1ce,_0x2baa57._0x5dc572)||_0x48c5be==='discovery')&&(_0x2eb6d0[_0x258966(_0x2baa57._0x57cfcb,0x42d,0x4fe,_0x2baa57._0x19787b)]=void 0x0);});},async 'saveDiscoveryState'(_0x2f44d3){const _0x45b647={_0x25b923:0x5c3},_0x3e21ac={_0x38bc9a:0x194};await updateStore(_0x2cf2bd,_0x441e3b=>{function _0x101526(_0x56f3e5,_0xa88a79,_0x872157,_0xdc03ad){return _0x8662(_0xa88a79- -_0x3e21ac._0x38bc9a,_0xdc03ad);}_0x441e3b[_0x101526(_0x45b647._0x25b923,0x48a,0x5ab,0x3fc)]=_0x2f44d3;});},async 'discoveryState'(){function _0x1c979c(_0x3ede78,_0x1bc7b4,_0x103afd,_0x738a0f){return _0x467c20(_0x3ede78-0x46,_0x1bc7b4-0x174,_0x738a0f-_0x46cb92._0x1f5bc2,_0x1bc7b4);}return(await readStore(_0x2cf2bd))[_0x1c979c(_0x373263._0x22dc72,0x778,0x786,0x94d)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x28bc81(0x3fa,0x2c7,0x320,0x503),'message':_0x3d73a9=>'MCP\x20server\x20'+_0x3d73a9+_0x5b2413(0x7e4,0x55f,0x752,0x729)},'connect':{'code':_0x5b2413(0x7c1,0x5a2,0x5c8,0x539),'message':_0x513f25=>_0x5b2413(0x919,0x72d,0x88f,0x86d)+_0x513f25+_0x28bc81(0x1dd,0xfc,0x274,0x173)},'discover':{'code':'mcp-discovery-failed','message':_0x4a7fa2=>_0x5b2413(0x7ce,0x8c4,0x88f,0x9d1)+_0x4a7fa2+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':_0x28bc81(0x12b,0x1f1,0x259,0x3f9),'message':_0x1119eb=>_0x28bc81(0x4c9,0x45d,0x4f0,0x585)+_0x1119eb+_0x5b2413(0x69f,0x5c8,0x6cf,0x7a1)}},timeoutMessageByOperation={'close':_0x32cef6=>_0x5b2413(0x93a,0xa98,0x88f,0xa3c)+_0x32cef6+_0x28bc81(0x26f,0x482,0x40e,0x55a),'connect':_0x21375a=>_0x28bc81(0x4c6,0x533,0x4f0,0x41d)+_0x21375a+_0x28bc81(0x5cd,0x561,0x53e,0x664),'discover':_0x2be9f6=>_0x5b2413(0x7fe,0x754,0x88f,0x762)+_0x2be9f6+_0x28bc81(0x79f,0x3e4,0x584,0x6d8),'toolCall':_0x52f54f=>'MCP\x20server\x20'+_0x52f54f+_0x5b2413(0x794,0x77c,0x792,0x7b3)};function toMcpSafeError(_0x5c9952){const _0x3e2b30={_0xd3d1dd:0xb36,_0x2d0a30:0x5f8,_0x26d1b2:0x27f,_0x49fad8:0x74e,_0x1fed6f:0x6ae,_0x41cfab:0x8d1,_0x2aaa0e:0x58c,_0x40202a:0x628,_0x46731b:0x7a4,_0x18949f:0x499,_0x573aa1:0x665,_0x5b7ab3:0x885,_0x2871ef:0x4de,_0x353703:0x5a8,_0x2dba54:0x410,_0x5ab001:0x527,_0x40b155:0x7f8,_0x3880a3:0xa70,_0x299d60:0x9e9,_0x7490f8:0x262,_0x3dd13a:0x304,_0x566a5a:0x410},_0x39b3b9={_0x5c4bc0:0x37,_0x1b7745:0x1a4,_0x785c2a:0xb},_0x308841={_0x3c6388:0x183,_0x30d06:0x310};function _0x23f500(_0x23010a,_0x28258b,_0x501291,_0x39439f){return _0x5b2413(_0x23010a-0xf5,_0x28258b-_0x308841._0x3c6388,_0x39439f- -_0x308841._0x30d06,_0x23010a);}if(_0x5c9952[_0x23f500(0x3c4,0x512,0x3e5,0x467)]instanceof UnauthorizedError)return Object[_0x34af5b(_0x3e2b30._0xd3d1dd,0x864,0x9bc,0x980)]({'code':'mcp-auth-required','message':'MCP\x20server\x20'+_0x5c9952[_0x23f500(_0x3e2b30._0x2d0a30,_0x3e2b30._0x26d1b2,0x614,0x410)]+_0x34af5b(0x862,0x5a4,_0x3e2b30._0x49fad8,0x7b3)});if(_0x5c9952[_0x34af5b(_0x3e2b30._0x1fed6f,_0x3e2b30._0x41cfab,0x8e6,0x782)]instanceof McpError&&_0x5c9952[_0x23f500(0x5bd,0x5d5,0x306,0x467)][_0x23f500(0x617,_0x3e2b30._0x2aaa0e,0x42d,_0x3e2b30._0x40202a)]===ErrorCode[_0x34af5b(0xabe,0x915,0x794,0x970)])return Object[_0x23f500(_0x3e2b30._0x46731b,0x677,_0x3e2b30._0x18949f,_0x3e2b30._0x573aa1)]({'code':'mcp-request-timeout','message':timeoutMessageByOperation[_0x5c9952[_0x34af5b(0xb6b,_0x3e2b30._0x5b7ab3,0x9e9,0x962)]](_0x5c9952[_0x23f500(_0x3e2b30._0x2871ef,0x387,_0x3e2b30._0x353703,_0x3e2b30._0x2dba54)])});const _0x11ca5b=failureByOperation[_0x5c9952['operation']];function _0x34af5b(_0x51a0d5,_0x4d91c5,_0x1bedaa,_0x18df12){return _0x5b2413(_0x51a0d5-_0x39b3b9._0x5c4bc0,_0x4d91c5-_0x39b3b9._0x1b7745,_0x18df12-_0x39b3b9._0x785c2a,_0x51a0d5);}return Object[_0x23f500(0x7e3,_0x3e2b30._0x5ab001,0x6eb,0x665)]({'code':_0x11ca5b[_0x34af5b(_0x3e2b30._0x40b155,_0x3e2b30._0x3880a3,_0x3e2b30._0x299d60,0x943)],'message':_0x11ca5b[_0x34af5b(0xb34,0x888,0x8dd,0x988)](_0x5c9952[_0x23f500(0x2ac,_0x3e2b30._0x7490f8,_0x3e2b30._0x3dd13a,_0x3e2b30._0x566a5a)])});}function redactMcpDiagnostic(_0xac0d7d,_0x178476){const _0x3f04ff={_0x36b27a:0x616,_0x437b62:0x889,_0x7e523e:0x7f0,_0x518b76:0x7c8,_0x376001:0x6d0,_0x1c789d:0x610,_0x40cd47:0x7f0,_0x54b6e8:0x339,_0xe39311:0x202,_0x2343f3:0x29a},_0x19fa24={_0x4ca59c:0x19c,_0x1af178:0x28},_0x2ac692={_0x5b697f:0x1a6,_0x1a9325:0xc6,_0x5aff56:0x120};function _0x4407f4(_0x358f99,_0x3c833c,_0xb609e0,_0x2a4280){return _0x5b2413(_0x358f99-_0x2ac692._0x5b697f,_0x3c833c-_0x2ac692._0x1a9325,_0xb609e0- -_0x2ac692._0x5aff56,_0x3c833c);}const _0x1de2f2=[...new Set(_0x178476[_0x4407f4(_0x3f04ff._0x36b27a,0x676,0x704,_0x3f04ff._0x437b62)](_0x579d1c=>_0x579d1c[_0x4b0ecc(0x2b2,0x234,0x26b,0x251)]>0x0))][_0x4b0ecc(-0x34,0xcd,-0x145,-0x30)]((_0x40b271,_0x2cbb3b)=>_0x2cbb3b[_0x4407f4(0x6f1,0x9b1,0x7c8,0x907)]-_0x40b271[_0x4407f4(0x7aa,0x92d,0x7c8,0x92c)]);function _0x4b0ecc(_0x2628a8,_0x21a425,_0x5c64b8,_0x278f47){return _0x28bc81(_0x2628a8-_0x19fa24._0x4ca59c,_0x21a425-_0x19fa24._0x1af178,_0x278f47- -0x2f8,_0x2628a8);}if(_0xac0d7d[_0x4407f4(_0x3f04ff._0x7e523e,0x86f,_0x3f04ff._0x518b76,_0x3f04ff._0x376001)]===0x0||_0x1de2f2[_0x4407f4(_0x3f04ff._0x1c789d,0x820,0x7c8,_0x3f04ff._0x40cd47)]===0x0)return _0xac0d7d;let _0x41408e='',_0x39e395=0x0;while(_0x39e395<_0xac0d7d['length']){const _0x505c33=_0x1de2f2[_0x4b0ecc(0x290,0x2e0,_0x3f04ff._0x54b6e8,_0x3f04ff._0xe39311)](_0x32c45e=>_0xac0d7d['startsWith'](_0x32c45e,_0x39e395));_0x505c33?(_0x41408e+=_0x4b0ecc(_0x3f04ff._0x2343f3,-0x8,0x10a,0x95),_0x39e395+=_0x505c33['length']):(_0x41408e+=_0xac0d7d[_0x39e395],_0x39e395+=0x1);}return _0x41408e;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x3eb25b){const _0x52d553={_0x3e4992:0x55,_0x5766ca:0x5ba,_0x20014b:0x3de,_0x150fb8:0x458},_0x1a987b={_0x26f28a:0x17f},_0x72ba3e={_0x2d3d17:0xd,_0x122ba8:0x118};function _0xacfcfb(_0x2746e9,_0x56386e,_0x3d8554,_0x90bb9b){return _0x28bc81(_0x2746e9-_0x72ba3e._0x2d3d17,_0x56386e-_0x72ba3e._0x122ba8,_0x56386e- -0x1bf,_0x90bb9b);}function _0x23903e(_0x5045cf,_0x12a7e2,_0xf48db8,_0x280ce9){return _0x28bc81(_0x5045cf-_0x1a987b._0x26f28a,_0x12a7e2-0xbd,_0x280ce9- -0x39d,_0x12a7e2);}return typeof _0x3eb25b===_0x23903e(_0x52d553._0x3e4992,0xc5,-0x146,-0x138)&&_0x3eb25b!==null||typeof _0x3eb25b===_0xacfcfb(_0x52d553._0x5766ca,0x40a,_0x52d553._0x20014b,_0x52d553._0x150fb8);}function createOwnedMcpSafeError(_0x2721e5){const _0x2f4ce8={_0x50d1ec:0x981,_0x517434:0xa57,_0x45f479:0x9ce,_0xa35377:0x474,_0x3fdaa8:0x2e8,_0x30fcc2:0x4f4},_0x1f13e6={_0xacd1d3:0x22,_0x37e103:0xf4,_0x54b466:0x51},_0x4556b9={_0x269d32:0x3d};function _0x4dabe7(_0x4c6327,_0x5654ee,_0xa5bec4,_0xc89978){return _0x28bc81(_0x4c6327-0x16,_0x5654ee-0x1da,_0x4c6327-_0x4556b9._0x269d32,_0x5654ee);}const _0x5c6724=toMcpSafeError(_0x2721e5);function _0x304d93(_0x3c611f,_0x1a75cb,_0x267032,_0xa489c1){return _0x5b2413(_0x3c611f-_0x1f13e6._0xacd1d3,_0x1a75cb-_0x1f13e6._0x37e103,_0xa489c1-_0x1f13e6._0x54b466,_0x267032);}const _0x34ae7c=Object['freeze']({'code':_0x5c6724['code'],'message':_0x5c6724[_0x304d93(0xb01,_0x2f4ce8._0x50d1ec,_0x2f4ce8._0x517434,_0x2f4ce8._0x45f479)]});return ownedMcpSafeErrors[_0x4dabe7(_0x2f4ce8._0xa35377,0x61d,_0x2f4ce8._0x3fdaa8,_0x2f4ce8._0x30fcc2)](_0x5c6724,_0x34ae7c),_0x5c6724;}function extractOwnedMcpSafeError(_0x1b3cb2){const _0x45510f={_0x5e741f:0x3c0,_0x3335f4:0x397,_0x41808d:0x2f7,_0x131340:0x2d4,_0xc43bb3:0x673,_0x3eae22:0x378,_0x1a909e:0x54a},_0x440938={_0x5188bb:0xf9},_0x4aefdd={_0xf840a6:0x69,_0x30d1ef:0x496};function _0x264d73(_0xcf14a9,_0x428ca5,_0x5aa663,_0x2a6e99){return _0x5b2413(_0xcf14a9-_0x4aefdd._0xf840a6,_0x428ca5-0x15e,_0x428ca5- -_0x4aefdd._0x30d1ef,_0xcf14a9);}if(!isWeakMapKey(_0x1b3cb2))return void 0x0;const _0x5d7268=ownedMcpSafeErrors[_0xea54d(0x28e,0x136,_0x45510f._0x5e741f,0xff)](_0x1b3cb2);if(!_0x5d7268)return void 0x0;function _0xea54d(_0x5ea58f,_0x3d6470,_0x16fd1a,_0x47a117){return _0x28bc81(_0x5ea58f-_0x440938._0x5188bb,_0x3d6470-0xd0,_0x5ea58f- -0x303,_0x3d6470);}const _0xaa5f55=Object[_0xea54d(0x2d3,_0x45510f._0x3335f4,_0x45510f._0x41808d,0x30d)]({'code':_0x5d7268[_0x264d73(0x6bf,0x4a2,_0x45510f._0x131340,_0x45510f._0xc43bb3)],'message':_0x5d7268[_0x264d73(0x701,0x4e7,0x4c7,0x4dc)]});return ownedMcpSafeErrors[_0x264d73(_0x45510f._0x3eae22,0x340,_0x45510f._0x1a909e,0x320)](_0xaa5f55,_0x5d7268),_0xaa5f55;}function ownValue(_0xc23d94,_0x1a8a03){return _0xc23d94&&Object['hasOwn'](_0xc23d94,_0x1a8a03)?_0xc23d94[_0x1a8a03]:void 0x0;}function isToolPermissionClass(_0x59839c){const _0x113f49={_0x4818e5:0x3ad,_0x57df91:0x34f,_0x43fa0d:0x8d4,_0x594c77:0x6c3},_0x599574={_0x2ae92b:0x22d},_0x359f0b={_0x777a18:0x308};function _0x361c6e(_0x41bc86,_0x57ed84,_0x13f732,_0x36ed2e){return _0x5b2413(_0x41bc86-0xa1,_0x57ed84-0x47,_0x13f732- -_0x359f0b._0x777a18,_0x57ed84);}function _0x1cc47d(_0x2dc9b7,_0x1a2708,_0x111c24,_0x3dfeb4){return _0x5b2413(_0x2dc9b7-0x177,_0x1a2708-0x1be,_0x3dfeb4- -_0x599574._0x2ae92b,_0x1a2708);}return _0x59839c===_0x361c6e(0x243,_0x113f49._0x4818e5,_0x113f49._0x57df91,0x2fe)||_0x59839c===_0x1cc47d(0x6b4,_0x113f49._0x43fa0d,0x5ce,_0x113f49._0x594c77)||_0x59839c==='always-confirm';}function suggestedPermissionClass(_0x24c455){const _0x41d2e3={_0x493711:0x758,_0x4b68b8:0x617,_0x34a4ae:0x599,_0x163cec:0x75c,_0x35aee8:0x77f,_0x19b4cf:0x5c8,_0x5025a9:0x584,_0x2a3349:0x5d6,_0x57522a:0x92f,_0x3696a5:0x81d,_0x6a0822:0x82a},_0x5dbe80={_0x27b85f:0x1d6,_0x25ee46:0x17c,_0x2d3383:0x2cc},_0x2200ee={_0x551c98:0x47};function _0x2f42d2(_0x360aaa,_0x138e29,_0x312ab6,_0x36aa8a){return _0x5b2413(_0x360aaa-0x1a,_0x138e29-0x150,_0x312ab6-_0x2200ee._0x551c98,_0x138e29);}const _0x45246a=_0x24c455[_0x1fb552(_0x41d2e3._0x493711,0x4ba,_0x41d2e3._0x4b68b8,_0x41d2e3._0x34a4ae)]?.[_0x2f42d2(_0x41d2e3._0x163cec,0x645,_0x41d2e3._0x35aee8,_0x41d2e3._0x19b4cf)];if(_0x45246a===!![])return _0x1fb552(0x604,0x486,_0x41d2e3._0x5025a9,_0x41d2e3._0x2a3349);if(_0x45246a===![])return _0x1fb552(0x80d,_0x41d2e3._0x57522a,_0x41d2e3._0x3696a5,_0x41d2e3._0x6a0822);function _0x1fb552(_0xa9429e,_0x27bc7f,_0x192dcd,_0x211b69){return _0x28bc81(_0xa9429e-_0x5dbe80._0x27b85f,_0x27bc7f-_0x5dbe80._0x25ee46,_0x192dcd-_0x5dbe80._0x2d3383,_0xa9429e);}return void 0x0;}function isJsonValue(_0x5dc059){const _0x405b7d={_0x4fdc6a:0x216,_0x31fa75:0x14,_0x41ff5d:0x98,_0x114efc:0x26f,_0x5f5042:0x101,_0x5b359b:0x1c,_0x1fee2d:0x119,_0x2241c8:0xb7,_0x181e5f:0x39,_0x4b80ec:0xc3,_0x279d0b:0x28b,_0x2a355d:0x150,_0x571a1b:0x145},_0x5b7cff={_0x1e1c7e:0x16a,_0x1ddd39:0x307},_0x3ac97c={_0xf7f445:0x2f};function _0x332724(_0x526b3f,_0xca2f9a,_0x5a2497,_0x38b577){return _0x5b2413(_0x526b3f-_0x3ac97c._0xf7f445,_0xca2f9a-0xca,_0x38b577- -0x182,_0xca2f9a);}function _0x116fe1(_0x3b198e,_0x11a765,_0x3282ff,_0x47fd9a){return _0x28bc81(_0x3b198e-_0x5b7cff._0x1e1c7e,_0x11a765-0xbd,_0x47fd9a- -_0x5b7cff._0x1ddd39,_0x11a765);}if(_0x5dc059===null||typeof _0x5dc059===_0x116fe1(-_0x405b7d._0x4fdc6a,-_0x405b7d._0x31fa75,-_0x405b7d._0x41ff5d,-0x71)||typeof _0x5dc059===_0x116fe1(_0x405b7d._0x114efc,_0x405b7d._0x5f5042,-_0x405b7d._0x5b359b,_0x405b7d._0x1fee2d)||typeof _0x5dc059==='boolean')return!![];if(Array[_0x116fe1(-0x2bc,_0x405b7d._0x2241c8,-_0x405b7d._0x181e5f,-_0x405b7d._0x4b80ec)](_0x5dc059))return _0x5dc059[_0x116fe1(_0x405b7d._0x279d0b,_0x405b7d._0x2a355d,-0x58,_0x405b7d._0x571a1b)](isJsonValue);if(!isObject(_0x5dc059))return![];return Object['values'](_0x5dc059)[_0x332724(0x779,0x56f,0x82d,0x669)](isJsonValue);}function projectMcpTools(_0x3ed200){const _0x5d6c8e={_0x14659a:0x4bb,_0x414317:0x453,_0x3a2eb5:0x547,_0x3ca065:0x8a3,_0x594412:0x743,_0x1feec8:0x7a1,_0x5d9f5f:0x62d,_0x11b466:0x767,_0x477dec:0x587,_0x139b33:0x841,_0x60e4:0x7cf,_0x26fa52:0x78b,_0x1078c1:0x5bf,_0x54aeea:0x338,_0x400cef:0x615,_0x3075a8:0x4e6,_0x50ab52:0x499,_0x1d4964:0x5ee,_0x5014ff:0x406,_0x1b4d70:0x7b4,_0x5e7bd4:0x7ea,_0x4c63f7:0x6f3,_0x3c0d45:0x179,_0x481f50:0x32c},_0x469db7={_0x5c2c2a:0x63,_0x47d244:0x2cd},_0x5cc51c=[],_0x209241=[];function _0x10471b(_0x4fe032,_0x299ff9,_0x364e5d,_0x147d7c){return _0x28bc81(_0x4fe032-0x15c,_0x299ff9-_0x469db7._0x5c2c2a,_0x364e5d-_0x469db7._0x47d244,_0x147d7c);}for(const _0x19d342 of _0x3ed200[_0x24baf7(_0x5d6c8e._0x14659a,0x575,_0x5d6c8e._0x414317,_0x5d6c8e._0x3a2eb5)]){const _0x3dd844=ownValue(_0x3ed200[_0x24baf7(0x255,0x526,0x471,0x327)],_0x19d342['name']),_0x21909e=isToolPermissionClass(_0x3dd844)?_0x3dd844:void 0x0,_0x32f501=_0x21909e??'always-confirm',_0x3a5388=suggestedPermissionClass(_0x19d342);_0x209241['push']({'name':_0x19d342[_0x10471b(_0x5d6c8e._0x3ca065,0x965,_0x5d6c8e._0x594412,_0x5d6c8e._0x1feec8)],..._0x19d342[_0x24baf7(_0x5d6c8e._0x5d9f5f,_0x5d6c8e._0x11b466,_0x5d6c8e._0x477dec,0x3f1)]!==void 0x0?{'description':_0x19d342[_0x10471b(_0x5d6c8e._0x139b33,0x824,_0x5d6c8e._0x60e4,_0x5d6c8e._0x26fa52)]}:{},...isJsonValue(_0x19d342['inputSchema'])?{'inputSchema':_0x19d342[_0x10471b(0x946,0x64a,0x73f,0x5e4)]}:{},'permissionClass':_0x32f501,'permissionConfigured':_0x21909e!==void 0x0,..._0x3a5388!==void 0x0?{'suggestedPermissionClass':_0x3a5388}:{}});if(ownValue(_0x3ed200[_0x24baf7(0x52a,0x726,0x5ca,0x4d5)],_0x19d342[_0x10471b(0x6d5,_0x5d6c8e._0x1078c1,_0x5d6c8e._0x594412,0x7ae)])===![])continue;_0x5cc51c[_0x24baf7(0x4a3,_0x5d6c8e._0x54aeea,0x43b,0x56e)](createMcpTool({'serverName':_0x3ed200[_0x24baf7(_0x5d6c8e._0x400cef,_0x5d6c8e._0x3075a8,_0x5d6c8e._0x50ab52,0x295)]??_0x3ed200[_0x24baf7(_0x5d6c8e._0x1d4964,0x534,_0x5d6c8e._0x5014ff,0x503)],'tool':_0x19d342,'client':_0x3ed200[_0x10471b(_0x5d6c8e._0x1b4d70,_0x5d6c8e._0x5e7bd4,0x602,_0x5d6c8e._0x4c63f7)],'permissionClass':_0x32f501,'internalLifecycle':_0x3ed200[_0x24baf7(_0x5d6c8e._0x3c0d45,0x12d,0x286,_0x5d6c8e._0x481f50)]}));}function _0x24baf7(_0x1829e7,_0x2f2741,_0x37507c,_0x789f33){return _0x28bc81(_0x1829e7-0x88,_0x2f2741-0x141,_0x37507c-0x85,_0x2f2741);}return{'tools':_0x5cc51c,'descriptors':_0x209241};}function createMcpToolName(_0x69cf4f,_0x4d776e){const _0xc70a1a={_0x389060:0x77c,_0x12a869:0x37a,_0x5f13a4:0x58e},_0x40dcc8={_0x466448:0x12f,_0x50dcf9:0x69},_0x46532a={_0x16bf58:0x6c,_0x1f604f:0x701};function _0xa00320(_0x250533,_0x342ddb,_0x50dcbd,_0x2644c4){return _0x5b2413(_0x250533-0x146,_0x342ddb-_0x46532a._0x16bf58,_0x2644c4- -_0x46532a._0x1f604f,_0x250533);}const _0x5ab09b=_0x39c458=>_0x39c458[_0xa00320(0x20e,0xb6,0x1f4,0x1f5)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'');function _0x28c59c(_0xd82be5,_0x2dcf34,_0x35c6af,_0x3c9019){return _0x28bc81(_0xd82be5-_0x40dcc8._0x466448,_0x2dcf34-_0x40dcc8._0x50dcf9,_0x3c9019- -0x39,_0x35c6af);}return _0x28c59c(0x3e6,_0xc70a1a._0x389060,_0xc70a1a._0x12a869,_0xc70a1a._0x5f13a4)+_0x5ab09b(_0x69cf4f)+'_'+_0x5ab09b(_0x4d776e);}function isObject(_0x1a88ea){const _0x253327={_0x45cd0e:0x151,_0x3dae23:0x1e4,_0x31e11a:0x21f},_0x52fe99={_0x279dcc:0x2e,_0x5aacf3:0x11a,_0x19afbb:0xf5},_0x527377={_0x414ff4:0x30,_0x46e2ab:0x114};function _0x338a9a(_0x2e48cb,_0x52b8c9,_0x149f29,_0x1c07c0){return _0x28bc81(_0x2e48cb-_0x527377._0x414ff4,_0x52b8c9-0x46,_0x2e48cb- -_0x527377._0x46e2ab,_0x149f29);}function _0x20e1e9(_0x21af92,_0x257747,_0x292097,_0xb1b34a){return _0x28bc81(_0x21af92-_0x52fe99._0x279dcc,_0x257747-_0x52fe99._0x5aacf3,_0x21af92- -_0x52fe99._0x19afbb,_0x292097);}return typeof _0x1a88ea===_0x338a9a(_0x253327._0x45cd0e,_0x253327._0x3dae23,0x92,-0xaf)&&_0x1a88ea!==null&&!Array[_0x20e1e9(0x14f,-0xb4,0x2eb,_0x253327._0x31e11a)](_0x1a88ea);}function toSupportedSchema(_0x4fbabb){const _0x4009ab={_0x4bbf70:0x5a0,_0x492469:0x3c6,_0x35c1dc:0x1ad,_0x3cb7a1:0x675,_0x5f3e64:0x543,_0x402ba1:0x5cb,_0xa34b79:0x6de,_0x5e9c6b:0x515,_0x539b9e:0x46b,_0x4fcca5:0x720,_0x419e62:0x6c9,_0x4d2c90:0x378,_0x4aa11d:0x20e,_0x7450b6:0x3d5,_0x2bbc7e:0x668,_0x5b8bb5:0x43b,_0x2691fc:0x517,_0x17f602:0x358,_0xbbac56:0x51a,_0x94fd48:0x3b9,_0xb5e630:0x33c,_0x27abe2:0x284,_0x27cd63:0x3ca,_0x38deca:0x1cb,_0x531b38:0x4a2},_0xd7b5ca={_0x95d0a4:0x19c};if(!isObject(_0x4fbabb))return void 0x0;if(_0x4fbabb['type']===_0x41aa6a(0x5d7,0x64a,0x474,_0x4009ab._0x4bbf70))return{'type':_0xa2507b(0x496,_0x4009ab._0x492469,_0x4009ab._0x35c1dc,0x334)};function _0x41aa6a(_0x5eb442,_0x15f64d,_0x1cad10,_0x2e47c4){return _0x28bc81(_0x5eb442-0xa1,_0x15f64d-_0xd7b5ca._0x95d0a4,_0x1cad10-0x1de,_0x2e47c4);}if(_0x4fbabb['type']===_0x41aa6a(_0x4009ab._0x3cb7a1,_0x4009ab._0x5f3e64,0x5fe,0x504)||_0x4fbabb[_0x41aa6a(_0x4009ab._0x402ba1,_0x4009ab._0xa34b79,_0x4009ab._0x5e9c6b,_0x4009ab._0x539b9e)]==='integer')return{'type':_0x41aa6a(_0x4009ab._0x4fcca5,0x410,0x5fe,_0x4009ab._0x419e62)};function _0xa2507b(_0x4c4301,_0x32da6d,_0xcbb0d9,_0x40a744){return _0x5b2413(_0x4c4301-0x150,_0x32da6d-0x1aa,_0x40a744- -0x301,_0x32da6d);}if(_0x4fbabb[_0xa2507b(_0x4009ab._0x4d2c90,_0x4009ab._0x4aa11d,0x4f7,_0x4009ab._0x7450b6)]===_0xa2507b(0x3a3,_0x4009ab._0x2bbc7e,0x441,0x5c2))return{'type':'boolean'};if(_0x4fbabb[_0x41aa6a(0x603,_0x4009ab._0x5b8bb5,_0x4009ab._0x5e9c6b,_0x4009ab._0x2691fc)]===_0xa2507b(_0x4009ab._0x17f602,_0x4009ab._0xbbac56,_0x4009ab._0x94fd48,0x398))return{'type':_0xa2507b(0x47a,_0x4009ab._0xb5e630,0x4f7,0x398),'items':toSupportedSchema(_0x4fbabb['items'])??{'type':_0xa2507b(0x1ff,_0x4009ab._0x27abe2,_0x4009ab._0x27cd63,0x334)}};if(_0x4fbabb[_0xa2507b(0x5e0,_0x4009ab._0x38deca,_0x4009ab._0x531b38,_0x4009ab._0x7450b6)]==='object')return toNuvinToolSchema(_0x4fbabb);return void 0x0;}function toNuvinToolSchema(_0x5a1b17){const _0x3470c5={_0x224e39:0x35f,_0x4408aa:0x13b,_0x5f539a:0x93,_0x31eb39:0xa2,_0xe1f386:0x18a,_0x218ec3:0x93,_0x1df685:0x2b4,_0x2a4493:0x180,_0x3baccf:0x28d,_0x5a62c0:0x216,_0x41c50e:0xb2,_0xa4b206:0x2dd},_0x30aad9={_0x13d054:0xc0,_0x529f20:0x13f},_0x594fd1={_0x53f074:0x47,_0x19918a:0x571};function _0x40d5db(_0x587c2d,_0x28bf21,_0x1576fb,_0x10c988){return _0x5b2413(_0x587c2d-0xe0,_0x28bf21-_0x594fd1._0x53f074,_0x1576fb- -_0x594fd1._0x19918a,_0x587c2d);}if(!isObject(_0x5a1b17)||_0x5a1b17[_0x40d5db(-0x43,0x328,0x165,_0x3470c5._0x224e39)]!==_0x40d5db(_0x3470c5._0x4408aa,0x219,_0x3470c5._0x5f539a,-_0x3470c5._0x31eb39))return{'type':_0x40d5db(_0x3470c5._0xe1f386,-0xd6,_0x3470c5._0x218ec3,_0x3470c5._0x1df685),'properties':{}};const _0x37d734={};function _0x109e91(_0xe674ef,_0x4c1b60,_0x487aaf,_0x3f1785){return _0x28bc81(_0xe674ef-_0x30aad9._0x13d054,_0x4c1b60-_0x30aad9._0x529f20,_0x487aaf- -0x3a8,_0x4c1b60);}const _0x5e386c=isObject(_0x5a1b17[_0x40d5db(0x35e,0x16c,0x320,_0x3470c5._0x2a4493)])?_0x5a1b17['properties']:{};for(const [_0x8e774b,_0xc468a4]of Object[_0x109e91(0xeb,-0x11b,-0xf8,0x18)](_0x5e386c)){const _0x597786=toSupportedSchema(_0xc468a4);if(_0x597786)_0x37d734[_0x8e774b]=_0x597786;}const _0x1e2768=Array['isArray'](_0x5a1b17['required'])?_0x5a1b17['required'][_0x109e91(_0x3470c5._0x3baccf,-0x11a,0xdd,0x1e3)](_0x1cb38a=>typeof _0x1cb38a===_0x109e91(0x38,-0x31,-0x112,-0x130)):void 0x0;return _0x1e2768?.['length']?{'type':_0x40d5db(_0x3470c5._0x5a62c0,0x58,0x93,0x288),'properties':_0x37d734,'required':_0x1e2768}:{'type':_0x109e91(_0x3470c5._0x41c50e,-_0x3470c5._0xa4b206,-0x143,-0x2c4),'properties':_0x37d734};}function isJsonObject(_0x3b4472){const _0x4febbc={_0x153f3a:0x4fe},_0x3b6afd={_0x3f40a1:0x21,_0x413d88:0x31f};function _0xfa03a8(_0x47212e,_0x19f1d9,_0x4a3202,_0x26cff9){return _0x28bc81(_0x47212e-0x8e,_0x19f1d9-_0x3b6afd._0x3f40a1,_0x26cff9-_0x3b6afd._0x413d88,_0x19f1d9);}return typeof _0x3b4472===_0xfa03a8(_0x4febbc._0x153f3a,0x4b3,0x49b,0x584)&&_0x3b4472!==null&&!Array['isArray'](_0x3b4472);}function formatMcpContent(_0x3e5e37){const _0x5b70bd={_0x5332c3:0x59a,_0x2ca22d:0x628,_0x2ace0c:0x296,_0x2c1b55:0x358,_0x20006d:0x15a,_0x9bfa21:0x39e,_0x1aced7:0x30f,_0x589a23:0x472,_0x17033b:0x27d,_0x3cc918:0x4e3,_0x3c3c66:0x3be,_0x3a40e5:0x48f},_0x35b08d={_0x41bab6:0x989,_0x18f245:0x6b7,_0x1a72dd:0x7f3,_0x1c6f4a:0x4c8,_0x57df7d:0x506,_0x4f984f:0x663,_0x1da76b:0x6c9,_0x16fee8:0x847,_0x54aa14:0xad8,_0x5f5b4f:0x8e2},_0x26c416={_0x10c0a9:0x151},_0x186758={_0x15dcfc:0x10e,_0x10828b:0x2cb},_0x5bddd5={_0x58af5c:0xfa},_0x4c3dba=Array[_0x528f9c(0x3d6,_0x5b70bd._0x5332c3,_0x5b70bd._0x2ca22d,0x50f)](_0x3e5e37['content'])?_0x3e5e37[_0x4e51d7(_0x5b70bd._0x2ace0c,_0x5b70bd._0x2c1b55,0x303,_0x5b70bd._0x20006d)]:[];function _0x4e51d7(_0x270f0f,_0x33d6bf,_0x136c20,_0x538e5d){return _0x5b2413(_0x270f0f-_0x5bddd5._0x58af5c,_0x33d6bf-0x109,_0x33d6bf- -0x515,_0x270f0f);}function _0x528f9c(_0x3f72f3,_0x46f974,_0x51f0f5,_0x2c49c8){return _0x28bc81(_0x3f72f3-0x189,_0x46f974-_0x186758._0x15dcfc,_0x2c49c8-_0x186758._0x10828b,_0x51f0f5);}const _0x356ac1=_0x4c3dba[_0x528f9c(0x690,0x6db,0xa5b,0x89c)](_0x489b8a=>{const _0x4c0a39={_0x5b712e:0xc4};function _0x2dc21c(_0x3fc47e,_0x250e9f,_0x4a9c01,_0x3f3f1d){return _0x528f9c(_0x3fc47e-_0x26c416._0x10c0a9,_0x250e9f-0x107,_0x250e9f,_0x4a9c01-0x102);}function _0x220429(_0x2799e3,_0x459b63,_0x3a3d29,_0x4fa829){return _0x528f9c(_0x2799e3-0xd9,_0x459b63-_0x4c0a39._0x5b712e,_0x2799e3,_0x4fa829-0xe3);}if(!isObject(_0x489b8a))return'';if(_0x489b8a['type']==='text'&&typeof _0x489b8a[_0x2dc21c(_0x35b08d._0x41bab6,_0x35b08d._0x18f245,_0x35b08d._0x1a72dd,0x938)]===_0x2dc21c(_0x35b08d._0x1c6f4a,_0x35b08d._0x57df7d,_0x35b08d._0x4f984f,0x5a3))return _0x489b8a[_0x220429(0x622,0x7e1,_0x35b08d._0x1da76b,0x7d4)];return JSON[_0x220429(_0x35b08d._0x16fee8,0x6cd,_0x35b08d._0x54aa14,_0x35b08d._0x5f5b4f)](_0x489b8a);})[_0x4e51d7(_0x5b70bd._0x9bfa21,_0x5b70bd._0x1aced7,_0x5b70bd._0x589a23,_0x5b70bd._0x17033b)](_0x1d5d64=>_0x1d5d64[_0x4e51d7(0x25f,0x3d3,0x2bc,0x51a)]>0x0)['join']('\x0a');if(_0x356ac1['length']>0x0)return _0x356ac1;return JSON[_0x4e51d7(_0x5b70bd._0x3cc918,_0x5b70bd._0x3c3c66,0x4a8,_0x5b70bd._0x3a40e5)](_0x3e5e37,null,0x2);}function createMcpTool(_0x348de6){const _0xd957a8={_0x15aecc:0x26e,_0x51d17f:0x754,_0x4495bc:0x834,_0x4afebe:0x6be,_0x4e2e78:0x6b1,_0x577dc1:0x7d6,_0x13a915:0x8be,_0x452594:0x6e7,_0x68f9fc:0x949,_0x44dae6:0x7b0,_0x42f6db:0x2f1,_0x5f45e9:0x65e,_0x1b9207:0x58b,_0x351fb4:0x60c,_0x15bbb0:0x6d0,_0x41c7b1:0x621,_0x953355:0x7cf,_0x5970ea:0x754,_0x4e8d4e:0x929,_0x1e72dd:0x6d5,_0x4e3f05:0x340,_0x11b176:0x2b9,_0x5de2ef:0x1da,_0x5ae0ee:0x4f6,_0x4aa480:0x7cc,_0x22643b:0x6ad,_0x5321c0:0x7c4},_0xaa3cd6={_0x276126:0x534,_0xb5f0c1:0x589,_0x590bd6:0x700,_0x2d024e:0x7b6,_0x1d8679:0x380,_0x4b9a93:0x5c1,_0x5800c3:0x75c,_0x59a0f1:0x413,_0x253d27:0x6a7,_0x2dbbcc:0x75a,_0x2f63bf:0x559},_0x238e8d={_0x170178:0xd7,_0x29e0ba:0x1b5},_0x4768c4={_0x1e6adb:0x1e3,_0x46f662:0x2e8},_0x5e0ab3={_0x126a2d:0xae,_0x2d70d5:0x164};function _0x3ad97a(_0x1e7e0d,_0x506025,_0x520441,_0x17060b){return _0x5b2413(_0x1e7e0d-0x105,_0x506025-_0x5e0ab3._0x126a2d,_0x1e7e0d- -_0x5e0ab3._0x2d70d5,_0x506025);}function _0x5f090b(_0x101132,_0x1ca1fc,_0xd57175,_0x2da11b){return _0x5b2413(_0x101132-_0x4768c4._0x1e6adb,_0x1ca1fc-0xd3,_0xd57175- -_0x4768c4._0x46f662,_0x101132);}const _0x53a9dc=createMcpToolName(_0x348de6[_0x5f090b(0x2e0,_0xd957a8._0x15aecc,0x438,0x236)],_0x348de6[_0x3ad97a(_0xd957a8._0x51d17f,_0xd957a8._0x4495bc,0x58e,_0xd957a8._0x4afebe)][_0x3ad97a(_0xd957a8._0x4e2e78,0x4a8,_0xd957a8._0x577dc1,_0xd957a8._0x13a915)]);return defineTool({'name':_0x53a9dc,'permissionClass':_0x348de6[_0x3ad97a(0x764,_0xd957a8._0x452594,_0xd957a8._0x68f9fc,0x90e)],..._0x348de6[_0x3ad97a(0x66c,0x463,0x4b8,_0xd957a8._0x44dae6)]!==void 0x0?{'internalLifecycle':_0x348de6[_0x5f090b(_0xd957a8._0x42f6db,_0xd957a8._0x5f45e9,0x4e8,_0xd957a8._0x1b9207)]}:{},'description':_0x348de6[_0x5f090b(0x735,_0xd957a8._0x351fb4,0x5d0,0x7c5)]['description']??_0x3ad97a(0x7d6,_0xd957a8._0x15bbb0,_0xd957a8._0x41c7b1,_0xd957a8._0x953355)+_0x348de6[_0x3ad97a(_0xd957a8._0x5970ea,_0xd957a8._0x4e8d4e,0x7f9,0x556)][_0x3ad97a(_0xd957a8._0x4e2e78,0x53b,0x71b,_0xd957a8._0x1e72dd)]+_0x5f090b(_0xd957a8._0x4e3f05,0x213,_0xd957a8._0x11b176,_0xd957a8._0x5de2ef)+_0x348de6['serverName'],'inputSchema':toNuvinToolSchema(_0x348de6[_0x5f090b(0x52a,_0xd957a8._0x5ae0ee,0x5d0,_0xd957a8._0x4aa480)][_0x3ad97a(_0xd957a8._0x22643b,0x689,0x899,_0xd957a8._0x5321c0)]),async *'execute'(_0x3d1db5){const _0x49944a={_0x1237fe:0x189,_0x24002a:0xe1};function _0x477567(_0x19a91f,_0x1a0b3f,_0x42fe72,_0x4fdbe6){return _0x5f090b(_0x1a0b3f,_0x1a0b3f-0x184,_0x19a91f-_0x49944a._0x1237fe,_0x4fdbe6-_0x49944a._0x24002a);}let _0xedf7af;try{_0xedf7af=await _0x348de6['client'][_0x477567(0x490,0x60f,_0xaa3cd6._0x276126,_0xaa3cd6._0xb5f0c1)]({'name':_0x348de6['tool'][_0x561d4d(0x6da,_0xaa3cd6._0x590bd6,0x716,0x737)],'arguments':isJsonObject(_0x3d1db5)?_0x3d1db5:{}});if(_0xedf7af[_0x477567(0x5a3,_0xaa3cd6._0x2d024e,0x6d7,_0xaa3cd6._0x1d8679)])throw toMcpSafeError({'serverName':_0x348de6[_0x477567(_0xaa3cd6._0x4b9a93,_0xaa3cd6._0x5800c3,0x6c5,_0xaa3cd6._0x59a0f1)],'operation':'toolCall','error':_0xedf7af});}catch(_0x1eb4a2){throw extractOwnedMcpSafeError(_0x1eb4a2)??toMcpSafeError({'serverName':_0x348de6['serverName'],'operation':_0x561d4d(0x68b,0x4b2,_0xaa3cd6._0x253d27,0x325),'error':_0x1eb4a2});}function _0x561d4d(_0x3f64f7,_0x1cea49,_0x420e8b,_0x10f093){return _0x5f090b(_0x3f64f7,_0x1cea49-_0x238e8d._0x170178,_0x1cea49-0x1d3,_0x10f093-_0x238e8d._0x29e0ba);}return yield createToolOutput(formatMcpContent(_0xedf7af),{'serverName':_0x348de6['serverName'],'toolName':_0x348de6[_0x477567(0x759,0x69f,_0xaa3cd6._0x2dbbcc,_0xaa3cd6._0x2f63bf)]['name'],'result':_0xedf7af}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x35ae77){let _0x2eec90=_0x35ae77;return{'get'(){return _0x2eec90;},'set'(_0x5cb4cd){_0x2eec90=_0x5cb4cd;}};}function resolveMcpTimeoutMs(_0x54e611,_0x2b97db){const _0xd1eeda={_0x1dcb7f:0x3eb};function _0x27204f(_0x1b403c,_0x69bad4,_0x4c3916,_0x2e8a24){return _0x5b2413(_0x1b403c-0xb1,_0x69bad4-0x105,_0x2e8a24- -0x475,_0x69bad4);}return _0x54e611[_0x27204f(0x445,0x2b4,0x298,_0xd1eeda._0x1dcb7f)]??_0x2b97db??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x4a5ecf,_0x567432){const _0x4ebd44={_0x4c7afd:0x50c,_0x58e7ca:0x322},_0x25cd92={_0x3a503d:0x1a6};function _0xebb0f6(_0x49b3b0,_0x1060e6,_0x21928b,_0xccc827){return _0x5b2413(_0x49b3b0-0x123,_0x1060e6-_0x25cd92._0x3a503d,_0x49b3b0- -0x26b,_0xccc827);}return(_0x567432?extractOwnedMcpSafeError(_0x4a5ecf[_0xebb0f6(_0x4ebd44._0x4c7afd,0x3b6,_0x4ebd44._0x58e7ca,0x3df)]):void 0x0)??createOwnedMcpSafeError(_0x4a5ecf);}function createMcpGenerationLifecycle(_0x4e8aab){const _0x226b89={_0x1f9347:0x3b5,_0x1ffcb9:0x160},_0x3f23b7={_0x3bd8b1:0x145,_0x106f2b:0x82,_0x5d9d34:0x5,_0x5d52e4:0x1d3,_0x4bef08:0x342};let _0x414060=0x0,_0x1fdba1=![],_0x143190=![],_0xd805dd,_0x27b688,_0x184fb9;const _0x323b57=()=>{if(!_0x1fdba1||_0x414060!==0x0||_0x143190)return;function _0x44ed2d(_0x5de057,_0x311afa,_0x452433,_0x33835e){return _0x8662(_0x33835e- -0xbe,_0x5de057);}function _0x36d0eb(_0x53228b,_0x7ed101,_0x56ebde,_0x4d3aa5){return _0x8662(_0x53228b- -0x3c7,_0x56ebde);}_0x143190=!![],void Promise[_0x36d0eb(-_0x3f23b7._0x3bd8b1,-_0x3f23b7._0x106f2b,-_0x3f23b7._0x5d9d34,-_0x3f23b7._0x5d52e4)]()['then'](_0x4e8aab)[_0x44ed2d(0x525,0x1a9,_0x3f23b7._0x4bef08,0x371)](_0x27b688,_0x184fb9);};return{'acquire'(){if(_0x1fdba1)throw new Error(_0x588b65(0x21d,_0x226b89._0x1f9347,_0x226b89._0x1ffcb9,0x262));_0x414060+=0x1;function _0x588b65(_0x83c13e,_0x209949,_0x2e9a67,_0x42268c){return _0x8662(_0x83c13e- -0x308,_0x2e9a67);}let _0x17dac3=![];return()=>{if(_0x17dac3)return;_0x17dac3=!![],_0x414060-=0x1,_0x323b57();};},'retire'(){return!_0xd805dd&&(_0xd805dd=new Promise((_0x30a370,_0x39c4f5)=>{_0x27b688=_0x30a370,_0x184fb9=_0x39c4f5;})),_0x1fdba1=!![],_0x323b57(),_0xd805dd;}};}function buildMcpHttpHeaders(_0x5910e1){const _0x3fafe7={_0x53832d:0x366,_0xf9fece:0x428,_0x9020cc:0x26a,_0x35d1e9:0x2f7,_0x19d419:0x242,_0x5a88bc:0x3b7,_0x979d0d:0x405,_0x3e6d8e:0x50b,_0x597cb6:0x7c1,_0xa945d8:0x34a,_0x4766a4:0x50e,_0x46a310:0x547,_0x44607b:0x5b3,_0x266d8e:0x228,_0x4aa630:0x47c,_0xc75c0a:0x4d4,_0xcdc4c:0x3bc},_0x3ec4a5={_0x4cd95f:0x1b,_0x3697c2:0x43},_0x17626d={..._0x5910e1['headers']??{}};function _0x354f54(_0x243ccc,_0x138c83,_0x1e3d20,_0x317e6){return _0x28bc81(_0x243ccc-_0x3ec4a5._0x4cd95f,_0x138c83-_0x3ec4a5._0x3697c2,_0x317e6- -0x18d,_0x1e3d20);}_0x5910e1[_0x354f54(_0x3fafe7._0x53832d,_0x3fafe7._0xf9fece,_0x3fafe7._0x9020cc,_0x3fafe7._0x35d1e9)]?.[_0x354f54(0xfa,_0x3fafe7._0x19d419,_0x3fafe7._0x5a88bc,0x1aa)]===_0x15d7ae(_0x3fafe7._0x979d0d,_0x3fafe7._0x3e6d8e,0x5d0,_0x3fafe7._0x597cb6)&&_0x5910e1['auth'][_0x15d7ae(_0x3fafe7._0xa945d8,0x298,0x3da,0x387)]&&_0x17626d[_0x15d7ae(_0x3fafe7._0x4766a4,0x721,0x5b3,0x405)]===void 0x0&&(_0x17626d[_0x15d7ae(_0x3fafe7._0x46a310,0x444,_0x3fafe7._0x44607b,0x723)]='Bearer\x20'+_0x5910e1['auth'][_0x354f54(_0x3fafe7._0x266d8e,-0xa5,-0x128,0x48)]);function _0x15d7ae(_0x1b4ab5,_0x32da6f,_0x17e152,_0x3eabe0){return _0x28bc81(_0x1b4ab5-0xb2,_0x32da6f-0x7a,_0x17e152-0x205,_0x32da6f);}return Object[_0x15d7ae(0x525,0x2ac,_0x3fafe7._0x4aa630,0x518)](_0x17626d)[_0x354f54(0x1a4,_0x3fafe7._0xc75c0a,0x3c1,_0x3fafe7._0xcdc4c)]>0x0?_0x17626d:void 0x0;}async function connectMcpServer(_0x5a593c,_0x1aa968,_0x3f42b2){const _0x37b540={_0x5726d7:0x455,_0x23e5f2:0x28a,_0x7bc3df:0x11b,_0x31f594:0x571,_0x50fdfa:0x38f,_0x5d783e:0x2c4,_0x24ace6:0x369,_0x3debda:0x27e,_0x3ea8f1:0x534,_0x4cbff0:0x38b,_0x552c68:0x57e,_0x5b0e35:0x544,_0x4615d5:0x568,_0x5662e3:0x6f8,_0x5ad24c:0x54b,_0x18d024:0x5dd,_0x148d8a:0x379,_0x5e404e:0x509,_0x288f48:0x54c,_0x261a89:0x36b,_0x217761:0x4e0,_0xdf8bf6:0x55e,_0x540b0c:0x55b,_0x1c1740:0x4ce,_0x24c7c7:0x386,_0x325f4f:0x544,_0x5f54b0:0x2e3,_0xef3638:0x5d5,_0x51d20f:0x419,_0x1467a7:0x393,_0x67466:0x50c,_0xde79dc:0x3c9,_0x568af6:0x6a7,_0x4e9389:0x485,_0x56c96a:0xe0,_0x573ecb:0x35b,_0x15a5a9:0x3f6,_0x436851:0x3ed,_0x4911da:0x3a7,_0xc0668a:0x48b,_0x1b39d8:0x6fa,_0x27c67e:0x22b,_0x40ceeb:0x428,_0x4c322d:0x531,_0x10998c:0x3a3,_0x44bb29:0x47a,_0x598c1f:0x429,_0x2617c6:0x71f,_0x522387:0x41f,_0x2d3f58:0x6b0,_0x1b59ab:0x5b6,_0x3bb087:0x24e,_0x1a730c:0x44e,_0x54b94a:0x46d,_0x5d1560:0xc4,_0x18c8e3:0x3c7,_0x1fbf9f:0x45a},_0x24c51c={_0x33fb27:0x2fc,_0x5cce50:0x314,_0x24c274:0x71a,_0x3aacb5:0x851,_0xa9fdc:0x69c},_0x1b26da={_0x492132:0xf7,_0x171ec8:0x1d1},_0x546400={_0x4ec3c2:0x2da,_0x148462:0x1ca,_0x4113b8:0x33e,_0x46ff0f:0x10e,_0x59fb7b:0x480,_0x4e277b:0x9ba,_0x3e1bf3:0x978,_0x544fb3:0x597,_0x496b83:0x60f},_0x493970={_0x284e42:0x18d},_0xa7ae75={_0x7deb29:0x451},_0x19fa12={_0x25081c:0x4ea},_0x26c7c1={_0x3abcef:0xda,_0x1f5977:0xb6},_0x43864f={_0x36bb72:0x1b4,_0xb8ccc6:0x304,_0xbdf0cf:0x37,_0x625b58:0x377,_0x350e51:0x433,_0x445abc:0xca,_0x1f394:0xd0,_0x58ad67:0x133},_0x286aa8={_0x348263:0x1d4,_0x2ce012:0x125,_0x12f5af:0x275},_0x16b242={_0xcbb3d3:0xab,_0x515caa:0xec,_0x4e9044:0x6a},_0x33bdb0={_0x3aa71c:0x65},_0x408479={_0x27969c:0x46},_0x536c00={_0x3be10d:0x2b6,_0x2aae97:0x1d0},_0x5c58c5={_0x129f0d:0x1ce},_0x594a96={_0x11c6ca:0x17e,_0x31d904:0x92},_0x4aaf07=new Client({'name':_0xcd2cbf(_0x37b540._0x5726d7,0x242,_0x37b540._0x23e5f2,_0x37b540._0x7bc3df),'version':_0xcd2cbf(_0x37b540._0x31f594,0x34d,_0x37b540._0x50fdfa,_0x37b540._0x5d783e)}),_0x4b96ac=_0x3f42b2?.[_0xcd2cbf(0x2ca,0x3d6,_0x37b540._0x24ace6,_0x37b540._0x3debda)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x5d2561=new Set();let _0x1599d8,_0x499601=![];function _0x48fe60(_0xd912a3,_0x3f53a5,_0x1a6508,_0x51dc68){return _0x5b2413(_0xd912a3-_0x594a96._0x11c6ca,_0x3f53a5-_0x594a96._0x31d904,_0x51dc68- -0x343,_0x1a6508);}const _0x4d0654=()=>{if(_0x499601||_0x1599d8)return;_0x1599d8={'code':_0x56339d(_0x536c00._0x3be10d,_0x536c00._0x2aae97,0x494,0x9d),'cause':new Error('MCP\x20transport\x20closed\x20unexpectedly')};function _0x56339d(_0x44b1bd,_0x305102,_0x40cdab,_0x574c90){return _0x48fe60(_0x44b1bd-_0x5c58c5._0x129f0d,_0x305102-0x195,_0x305102,_0x44b1bd- -0x11f);}for(const _0x4c22f5 of _0x5d2561){try{_0x4c22f5(_0x1599d8);}catch{}}};_0x4aaf07[_0x48fe60(0x1bd,0x24e,_0x37b540._0x3ea8f1,_0x37b540._0x4cbff0)]=()=>{const _0x479b2d={_0x52efbe:0x4b,_0x122a95:0x127,_0x24dd0c:0x2d};function _0x2206e9(_0x4153ac,_0x5ba117,_0x3ac764,_0x92b15f){return _0x48fe60(_0x4153ac-0x91,_0x5ba117-0x7f,_0x4153ac,_0x3ac764-_0x408479._0x27969c);}function _0x536ad3(_0x349c62,_0x4ba4c1,_0x30554f,_0x5406c7){return _0x48fe60(_0x349c62-_0x479b2d._0x52efbe,_0x4ba4c1-_0x479b2d._0x122a95,_0x30554f,_0x5406c7-_0x479b2d._0x24dd0c);}console['warn'](_0x2206e9(0x523,0x454,0x582,0x699),{'server':_0x5a593c,'code':_0x536ad3(0xa8,0x3fb,_0x33bdb0._0x3aa71c,0x277)});},_0x4aaf07[_0xcd2cbf(0x3cb,_0x37b540._0x552c68,_0x37b540._0x5b0e35,0x3a8)]=_0x4d0654;try{if(_0x1aa968['transport']==='http'||_0x1aa968[_0x48fe60(_0x37b540._0x4615d5,_0x37b540._0x5662e3,0x59d,_0x37b540._0x5ad24c)]){if(!_0x1aa968[_0x48fe60(0x742,0x464,_0x37b540._0x18d024,0x54b)])throw new Error(_0x48fe60(0x368,_0x37b540._0x148d8a,_0x37b540._0x5e404e,_0x37b540._0x288f48)+_0x5a593c+_0xcd2cbf(0x4b8,0x3b0,0x46c,_0x37b540._0x261a89));if(_0x1aa968[_0x48fe60(0x38c,0x683,0x502,_0x37b540._0x217761)]?.[_0x48fe60(0x2c3,0x58c,0x1c8,0x393)]===_0x48fe60(_0x37b540._0xdf8bf6,_0x37b540._0x540b0c,_0x37b540._0x1c1740,0x485)&&!_0x3f42b2?.['oauth'])throw new Error(_0x48fe60(0x6f5,_0x37b540._0x24c7c7,0x6e9,0x54c)+_0x5a593c+_0xcd2cbf(_0x37b540._0x325f4f,0x4d5,0x422,_0x37b540._0x5f54b0));const _0xe58509=buildMcpHttpHeaders(_0x1aa968),_0x3ebf7a=_0x1aa968[_0x48fe60(0x358,0x2fd,_0x37b540._0xef3638,0x4e0)]?.[_0x48fe60(0x523,_0x37b540._0x51d20f,0x4a8,_0x37b540._0x1467a7)]===_0x48fe60(_0x37b540._0x67466,_0x37b540._0xde79dc,0x47e,0x485)&&_0x3f42b2?.['oauth']?createMcpOAuthProvider({'serverName':_0x5a593c,'callbackUrl':_0x3f42b2[_0x48fe60(0x680,_0x37b540._0x568af6,0x294,_0x37b540._0x4e9389)][_0xcd2cbf(_0x37b540._0x56c96a,0x2b6,0x2f0,0x1fc)],'storageDir':_0x3f42b2[_0x48fe60(_0x37b540._0x573ecb,_0x37b540._0x15a5a9,_0x37b540._0x436851,0x485)][_0x48fe60(0x13b,_0x37b540._0x4911da,0x2ef,0x316)],'config':_0x1aa968['auth'],'onRedirect':_0x58dc27=>_0x3f42b2[_0x48fe60(0x354,0x5c9,0x69f,0x485)]?.[_0x48fe60(0x55d,0x458,0x5eb,0x517)](_0x5a593c,_0x58dc27)}):void 0x0,_0x3601a1=new StreamableHTTPClientTransport(new URL(_0x1aa968[_0x48fe60(_0x37b540._0xc0668a,0x50f,_0x37b540._0x1b39d8,_0x37b540._0x5ad24c)]),{'authProvider':_0x3ebf7a,'requestInit':_0xe58509?{'headers':_0xe58509}:void 0x0});await _0x4aaf07[_0xcd2cbf(_0x37b540._0x27c67e,0xab,0x24b,_0x37b540._0x40ceeb)](_0x3601a1,{'timeout':_0x4b96ac[_0xcd2cbf(_0x37b540._0x4c322d,0x3df,0x527,_0x37b540._0x10998c)](),..._0x3f42b2?.[_0x48fe60(0x3ae,_0x37b540._0x44bb29,0x615,_0x37b540._0x598c1f)]!==void 0x0?{'signal':_0x3f42b2['signal']}:{}});}else{if(!_0x1aa968[_0x48fe60(0x5c0,0x468,_0x37b540._0x2617c6,0x604)])throw new Error('MCP\x20server\x20'+_0x5a593c+_0x48fe60(_0x37b540._0x522387,_0x37b540._0x2d3f58,0x5fa,_0x37b540._0x1b59ab));const _0xd56296=new StdioClientTransport({'command':_0x1aa968['command'],'args':_0x1aa968[_0xcd2cbf(_0x37b540._0x3bb087,_0x37b540._0x1a730c,0x324,0x182)]??[],'env':_0x1aa968[_0xcd2cbf(_0x37b540._0x54b94a,0x3a1,0x264,_0x37b540._0x5d1560)],'stderr':'pipe'});await _0x4aaf07['connect'](_0xd56296,{'timeout':_0x4b96ac['get'](),..._0x3f42b2?.[_0xcd2cbf(_0x37b540._0x18c8e3,_0x37b540._0x1fbf9f,0x363,0x2f1)]!==void 0x0?{'signal':_0x3f42b2[_0x48fe60(0x280,_0x37b540._0x598c1f,0x37d,0x429)]}:{}});}}catch(_0x2281a1){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':'connect','error':_0x2281a1});}function _0xcd2cbf(_0x3abb6f,_0x293261,_0x3f1d8c,_0x2c4df3){return _0x28bc81(_0x3abb6f-_0x16b242._0xcbb3d3,_0x293261-_0x16b242._0x515caa,_0x3f1d8c- -_0x16b242._0x4e9044,_0x3abb6f);}return{async 'listTools'(_0x2376ff){const _0x3762cb={_0xedfc10:0x171,_0x1eb962:0x9c,_0x59e297:0x10d},_0x911fbf=_0x2376ff?.[_0xd0734e(_0x43864f._0x36bb72,_0x43864f._0xb8ccc6,_0x43864f._0xbdf0cf,-0x52)]??_0x3f42b2?.[_0x23d4f1(_0x43864f._0x625b58,_0x43864f._0x350e51,0x398,0x3ff)];function _0x23d4f1(_0x31e1ac,_0xa482f9,_0x1be73d,_0x2e68a7){return _0xcd2cbf(_0x31e1ac,_0xa482f9-_0x3762cb._0xedfc10,_0x2e68a7-_0x3762cb._0x1eb962,_0x2e68a7-_0x3762cb._0x59e297);}function _0xd0734e(_0x4ef929,_0xe6e30,_0x233751,_0x3b5637){return _0x48fe60(_0x4ef929-_0x286aa8._0x348263,_0xe6e30-_0x286aa8._0x2ce012,_0x233751,_0x4ef929- -_0x286aa8._0x12f5af);}try{return await _0x4aaf07['listTools'](void 0x0,{'timeout':_0x4b96ac['get'](),..._0x911fbf!==void 0x0?{'signal':_0x911fbf}:{}});}catch(_0x502652){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':_0xd0734e(_0x43864f._0x445abc,_0x43864f._0x1f394,-_0x43864f._0x58ad67,0x2b4),'error':_0x502652});}},'onTerminalError'(_0x45895d){const _0x2007dc={_0x5c8a9b:0x145,_0x1c00c5:0xed,_0x2d7097:0x9b},_0x52ceb9={_0x2fb571:0x3b6,_0x53eb72:0x4ca},_0x478c12={_0x1e127b:0xb2};function _0x231dcf(_0x5c0099,_0x172529,_0x438f51,_0x55564e){return _0x48fe60(_0x5c0099-0xa5,_0x172529-_0x26c7c1._0x3abcef,_0x438f51,_0x172529-_0x26c7c1._0x1f5977);}_0x5d2561[_0x231dcf(_0x19fa12._0x25081c,0x37d,0x195,0x37e)](_0x45895d);const _0x37005f=_0x1599d8;_0x37005f&&queueMicrotask(()=>{function _0x20f767(_0x8aef91,_0x4ec8ec,_0x38e8c7,_0x21f601){return _0x231dcf(_0x8aef91-_0x478c12._0x1e127b,_0x21f601- -0x5c,_0x4ec8ec,_0x21f601-0x174);}if(_0x5d2561[_0x20f767(_0x52ceb9._0x2fb571,0x5e0,_0x52ceb9._0x53eb72,0x3c1)](_0x45895d))_0x45895d(_0x37005f);});function _0x154bf2(_0xae0ac5,_0x34b9ce,_0x4a65b2,_0x3c1c81){return _0x48fe60(_0xae0ac5-_0x2007dc._0x5c8a9b,_0x34b9ce-_0x2007dc._0x1c00c5,_0x34b9ce,_0x3c1c81-_0x2007dc._0x2d7097);}return()=>_0x5d2561[_0x231dcf(0x568,0x618,0x439,0x589)](_0x45895d);},async 'callTool'(_0x59aa3b){function _0x29b73c(_0x1d1921,_0x4f82c1,_0x4b00fd,_0x481dda){return _0xcd2cbf(_0x4f82c1,_0x4f82c1-0x104,_0x481dda-_0xa7ae75._0x7deb29,_0x481dda-0x10b);}function _0x557b83(_0x1d878f,_0x1f8878,_0x3b5827,_0x507fdf){return _0xcd2cbf(_0x507fdf,_0x1f8878-0x4f,_0x3b5827-0x47,_0x507fdf-_0x493970._0x284e42);}try{return await _0x4aaf07[_0x557b83(0x191,_0x546400._0x4ec3c2,_0x546400._0x148462,0x120)]({'method':_0x557b83(_0x546400._0x4113b8,_0x546400._0x46ff0f,0x329,_0x546400._0x59fb7b),'params':_0x59aa3b},CallToolResultSchema,{'timeout':_0x4b96ac[_0x29b73c(0x9e7,0x790,_0x546400._0x4e277b,_0x546400._0x3e1bf3)]()});}catch(_0x114f20){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':_0x29b73c(_0x546400._0x544fb3,0x5f2,0x768,_0x546400._0x496b83),'error':_0x114f20});}},async 'close'(){const _0x165aef={_0x110842:0x185,_0x1df5a7:0x1e1};_0x499601=!![],_0x4aaf07[_0x20dd95(_0x24c51c._0x33fb27,_0x24c51c._0x5cce50,0x20e,0x41d)]=void 0x0,_0x4aaf07[_0x20dd95(0x6a1,_0x24c51c._0x24c274,_0x24c51c._0x3aacb5,_0x24c51c._0xa9fdc)]=void 0x0,_0x5d2561[_0x314b85(0x843,0x862,0x7bc,0x5af)]();function _0x314b85(_0x2c355a,_0x17dc3f,_0x233995,_0x452718){return _0x48fe60(_0x2c355a-_0x1b26da._0x492132,_0x17dc3f-0x45,_0x17dc3f,_0x233995-_0x1b26da._0x171ec8);}function _0x20dd95(_0x2fb08e,_0x44a48a,_0x3e3b50,_0x122b3e){return _0x48fe60(_0x2fb08e-_0x165aef._0x110842,_0x44a48a-_0x165aef._0x1df5a7,_0x3e3b50,_0x122b3e-0x92);}try{await _0x4aaf07['close']();}catch(_0x9a186d){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':'close','error':_0x9a186d});}}};}async function createMcpConnectionGeneration(_0xe9fe53){const _0x479f41={_0x30a942:0x608,_0x479596:0x3f4,_0x32cc99:0x202,_0x467320:0x54e,_0x147ab2:0x3f4,_0x5afbda:0x20d,_0x3dd419:0x5b4,_0x2a51f8:0x676,_0x15091d:0x512,_0x1e6234:0x68e,_0x5eea45:0x6f9,_0x1f1e1e:0x529,_0x5e6826:0x62a,_0x3f9173:0x713,_0x1a60d5:0x62a,_0x1005dc:0x723,_0x48263f:0x480,_0x264b77:0x5de,_0x5b5fbb:0x62b,_0x70bbe9:0x9b9,_0x2e2d5e:0x5bf,_0x5d6cff:0x7bb,_0x56b50c:0x50c,_0xf6d693:0x3bf,_0x3ce9df:0x471,_0x5bfb63:0x49e,_0x1cce6d:0x584,_0x45c999:0x6e0,_0x275fb2:0x540},_0x49df91={_0x377bb4:0x18a,_0x30d184:0x102,_0x64c670:0x1ed},_0x384360={_0xf15869:0x5fb,_0x47cb5c:0x50a,_0x555389:0x298,_0x571264:0x3b3,_0x32d7f5:0x2e9,_0x78fda3:0x4a0},_0x43510b={_0x26afc9:0x129,_0x5ea725:0x104},_0x19b412={_0x35aeba:0x142},_0x5808a4={_0x1b27d6:0x32a,_0x1fbabf:0x2de,_0x2f2a13:0xe8,_0x112704:0x180},_0x4dced2={_0x3d9eaa:0x1e7},_0xf683c9={_0x280b8b:0x748,_0x9b65af:0x5de},_0x127b4b=_0xe9fe53[_0x2aa340(0x253,_0x479f41._0x30a942,_0x479f41._0x479596,_0x479f41._0x32cc99)]??connectMcpServer,_0x5de092=_0xe9fe53[_0x2aa340(_0x479f41._0x467320,0x4a2,_0x479f41._0x147ab2,_0x479f41._0x5afbda)]===void 0x0,_0x359ae7={..._0xe9fe53['connection'],'timeoutSource':_0xe9fe53[_0x2aa340(_0x479f41._0x3dd419,_0x479f41._0x2a51f8,_0x479f41._0x15091d,_0x479f41._0x1e6234)],..._0xe9fe53[_0x3eca72(_0x479f41._0x5eea45,0x7c3,_0x479f41._0x1f1e1e,_0x479f41._0x5e6826)]!==void 0x0?{'signal':_0xe9fe53[_0x3eca72(0x428,0x6eb,_0x479f41._0x3f9173,_0x479f41._0x1a60d5)]}:{}};let _0x34d0e9;try{_0x34d0e9=await _0x127b4b(_0xe9fe53[_0x3eca72(_0x479f41._0x1005dc,0x40e,_0x479f41._0x48263f,_0x479f41._0x264b77)],_0xe9fe53['config'],_0x359ae7);}catch(_0x4fc28e){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53['serverName'],'operation':'connect','error':_0x4fc28e},_0x5de092);}const _0x4b2b1b=new Set();let _0x26cd43;const _0xb50ca6=_0x34d0e9[_0x3eca72(_0x479f41._0x5b5fbb,_0x479f41._0x70bbe9,_0x479f41._0x2e2d5e,_0x479f41._0x5d6cff)]?.(_0x2c9415=>{if(_0x26cd43)return;_0x26cd43=_0x2c9415;for(const _0x126d09 of _0x4b2b1b)_0x126d09(_0x2c9415);});let _0x270a1c=![];const _0x11fa52=()=>{const _0x1676fa={_0x22c17c:0x14b,_0x560d7b:0x10};if(_0x270a1c)return;_0x270a1c=!![];function _0x3c9924(_0x5aa59b,_0x40bf71,_0x3f4997,_0x42864f){return _0x3eca72(_0x5aa59b-_0x1676fa._0x22c17c,_0x40bf71-0x1cc,_0x40bf71,_0x42864f-_0x1676fa._0x560d7b);}_0x4b2b1b[_0x3c9924(0x958,_0xf683c9._0x280b8b,_0xf683c9._0x9b65af,0x7fc)](),_0xb50ca6?.();};let _0x231351;function _0x2aa340(_0x3ff03f,_0x384bbf,_0x2c1df3,_0x1cd7f3){return _0x5b2413(_0x3ff03f-0x5e,_0x384bbf-0x180,_0x2c1df3- -0x260,_0x384bbf);}try{_0x231351=await _0x34d0e9[_0x2aa340(0x369,0x3a9,0x569,0x753)](_0xe9fe53[_0x2aa340(0x52f,0x72e,_0x479f41._0x56b50c,_0x479f41._0xf6d693)]!==void 0x0?{'signal':_0xe9fe53[_0x3eca72(_0x479f41._0x3ce9df,0x447,_0x479f41._0x5bfb63,0x62a)]}:void 0x0);}catch(_0x41ff7d){const _0x253b9d=mapOwnedMcpBoundaryError({'serverName':_0xe9fe53[_0x3eca72(0x46b,0x701,_0x479f41._0x1cce6d,0x5de)],'operation':_0x3eca72(0x651,0x4c5,_0x479f41._0x45c999,_0x479f41._0x275fb2),'error':_0x41ff7d},_0x5de092);_0x11fa52();try{await _0x34d0e9['close']();}catch{}throw _0x253b9d;}const _0x45ae2e=[..._0x231351['tools']],_0x20e29a={async 'callTool'(_0x5c4d78){const _0x9a065c={_0x203404:0x25,_0x45548a:0x29,_0xd8a438:0x300};function _0x1af185(_0x162ef2,_0x163c99,_0x425bfd,_0x47a95b){return _0x2aa340(_0x162ef2-0x182,_0x47a95b,_0x163c99- -_0x4dced2._0x3d9eaa,_0x47a95b-0x1e1);}function _0x2035a5(_0x14a75c,_0x40676c,_0x2427b0,_0xc744d1){return _0x3eca72(_0x14a75c-_0x9a065c._0x203404,_0x40676c-_0x9a065c._0x45548a,_0xc744d1,_0x14a75c- -_0x9a065c._0xd8a438);}try{return await _0x34d0e9[_0x2035a5(0x1ad,0x9,0xa0,_0x5808a4._0x1b27d6)](_0x5c4d78);}catch(_0x2b9a49){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53[_0x2035a5(_0x5808a4._0x1fbabf,0x2fe,0x312,0x13d)],'operation':_0x1af185(_0x5808a4._0x2f2a13,_0x5808a4._0x112704,0x119,0x352),'error':_0x2b9a49},_0x5de092);}}};function _0x3eca72(_0x3250e6,_0x57a232,_0x1febb9,_0x38c02c){return _0x5b2413(_0x3250e6-0x19f,_0x57a232-0x1d3,_0x38c02c- -_0x19b412._0x35aeba,_0x1febb9);}const _0x14faf7=createMcpGenerationLifecycle(async()=>{const _0x5255e2={_0x2f4ddf:0x84};_0x11fa52();function _0x2461c1(_0x23580a,_0x47d0f6,_0x44c094,_0x547df0){return _0x2aa340(_0x23580a-0x109,_0x44c094,_0x547df0-_0x5255e2._0x2f4ddf,_0x547df0-0x6f);}function _0x501811(_0x433cf1,_0xbe0e3b,_0x563bd7,_0xcfbf77){return _0x3eca72(_0x433cf1-_0x43510b._0x26afc9,_0xbe0e3b-0xc8,_0xbe0e3b,_0xcfbf77- -_0x43510b._0x5ea725);}try{await _0x34d0e9[_0x2461c1(_0x384360._0xf15869,0x72c,0x616,_0x384360._0x47cb5c)]();}catch(_0x4f0452){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53['serverName'],'operation':_0x501811(_0x384360._0x555389,_0x384360._0x571264,_0x384360._0x32d7f5,_0x384360._0x78fda3),'error':_0x4f0452},_0x5de092);}});return{'client':_0x34d0e9,'descriptors':_0x45ae2e,'lifecycle':_0x14faf7,'projectTools'(_0x17c927){return projectMcpTools({..._0x17c927,'descriptors':_0x45ae2e,'client':_0x20e29a,'lifecycle':_0x14faf7});},'onTerminalError'(_0x5d0139){if(_0x270a1c)return()=>{};_0x4b2b1b[_0x14b539(_0x49df91._0x377bb4,0x1af,_0x49df91._0x30d184,_0x49df91._0x64c670)](_0x5d0139);const _0x2b76de=_0x26cd43;function _0x14b539(_0x59c3ff,_0x210495,_0x38588e,_0x55d85a){return _0x3eca72(_0x59c3ff-0x105,_0x210495-0xb1,_0x55d85a,_0x59c3ff- -0x33e);}return _0x2b76de&&queueMicrotask(()=>{if(_0x4b2b1b['has'](_0x5d0139))_0x5d0139(_0x2b76de);}),()=>_0x4b2b1b['delete'](_0x5d0139);},'retire'(){return _0x11fa52(),_0x14faf7['retire']();}};}import{stat as _0x56e74c}from'fs/promises';import*as _0x43494c from'path';import{execSync,spawn as _0xf7162b}from'child_process';import{existsSync}from'fs';import{stat as _0x33ab89}from'fs/promises';import*as _0x3e46fa from'os';import*as _0x40dbfa from'path';import{rgPath as _0x11ca48}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x4aafec={_0x4715da:0x704,_0x28247e:0x5d7,_0x2b1774:0x6d8,_0x50bcb7:0x8b6,_0x54c51c:0x8f3,_0x464c4a:0x7f8,_0x5567db:0x740,_0x420835:0x707,_0x5c23b1:0x540,_0x4194fa:0x60b,_0x19f768:0x37b,_0x221a19:0x6ff,_0x1d906f:0x761,_0x306b1d:0x61c,_0x220419:0x92c,_0x4fd44f:0x897,_0x30048c:0x722,_0x195739:0x7ae,_0x5c7b82:0x5c2,_0x10a3fe:0x64c,_0x1ce750:0x62e,_0x3f0505:0x722,_0x13dd79:0x836,_0x112008:0x6e9,_0x430c67:0x8da,_0x3ce16a:0x6d1,_0x4acef6:0x591,_0x210512:0x5d9,_0x5283f3:0x67c,_0x34d413:0x787,_0x26d4ee:0x509,_0x4f3989:0x341,_0x339370:0x6f8,_0x36a840:0x6d5,_0x3dfda8:0x83e,_0x1f91b7:0x740,_0x3e5da2:0x4b9,_0x321dba:0x5b4,_0x4ebf2d:0x6fb},_0x24be65=_0x3e46fa[_0x304c09(_0x4aafec._0x4715da,_0x4aafec._0x28247e,0x856,_0x4aafec._0x2b1774)]()===_0x304c09(0x795,0x88f,_0x4aafec._0x50bcb7,_0x4aafec._0x54c51c),_0x4a8751=_0x24be65?[_0x40dbfa[_0x35a8a3(_0x4aafec._0x464c4a,_0x4aafec._0x5567db,0x4e5,_0x4aafec._0x420835)](process[_0x35a8a3(_0x4aafec._0x5c23b1,0x409,_0x4aafec._0x4194fa,0x578)][_0x304c09(0x696,0x720,0x861,0x5cd)]||'',_0x35a8a3(0x46f,0x46f,_0x4aafec._0x19f768,0x53e),'WinGet',_0x304c09(_0x4aafec._0x221a19,_0x4aafec._0x1d906f,0x5d4,0x6fa)),_0x40dbfa[_0x304c09(0x798,0x6d5,_0x4aafec._0x306b1d,_0x4aafec._0x220419)](process[_0x35a8a3(0x3fe,0x487,0x380,0x578)]['ProgramFiles']||'',_0x35a8a3(_0x4aafec._0x4fd44f,0x6b1,0x7dc,_0x4aafec._0x30048c),'rg.exe'),_0x40dbfa[_0x35a8a3(0x6c0,_0x4aafec._0x195739,_0x4aafec._0x5c7b82,0x707)](process['env']['ProgramFiles(x86)']||'',_0x35a8a3(_0x4aafec._0x10a3fe,0x80f,_0x4aafec._0x1ce750,_0x4aafec._0x3f0505),_0x35a8a3(0x5b5,_0x4aafec._0x13dd79,0x87a,_0x4aafec._0x112008))]:[_0x304c09(0x7c9,0x7c0,_0x4aafec._0x430c67,_0x4aafec._0x3ce16a),_0x35a8a3(_0x4aafec._0x4acef6,0x5fc,_0x4aafec._0x210512,_0x4aafec._0x5283f3),'/usr/bin/rg','/bin/rg'];function _0x304c09(_0x5922a1,_0x514ac5,_0x3de38f,_0x2017d8){return _0x5b2413(_0x5922a1-0xcd,_0x514ac5-0x1b6,_0x5922a1- -0x64,_0x514ac5);}for(const _0x15d0e2 of _0x4a8751){if(existsSync(_0x15d0e2))return _0x15d0e2;}function _0x35a8a3(_0x3fee55,_0x47dfb1,_0x39d32b,_0x43571f){return _0x5b2413(_0x3fee55-0x7,_0x47dfb1-0x6d,_0x43571f- -0xf5,_0x47dfb1);}try{const _0x5b1bf3=_0x24be65?'where\x20rg':_0x35a8a3(_0x4aafec._0x34d413,0x39b,0x5e2,0x5af),_0x4c9bc5=execSync(_0x5b1bf3,{'encoding':'utf8','stdio':[_0x304c09(_0x4aafec._0x26d4ee,0x5b7,0x48b,0x526),_0x304c09(0x509,0x6f0,_0x4aafec._0x4f3989,0x572),_0x304c09(_0x4aafec._0x339370,_0x4aafec._0x36a840,_0x4aafec._0x3dfda8,_0x4aafec._0x1f91b7)]})[_0x304c09(0x653,0x43e,0x4bd,_0x4aafec._0x3e5da2)]()[_0x304c09(0x780,_0x4aafec._0x321dba,_0x4aafec._0x4ebf2d,0x768)](/\r?\n/)[0x0];if(_0x4c9bc5&&existsSync(_0x4c9bc5))return _0x4c9bc5;}catch{return null;}return null;}async function filepath(){const _0x323336={_0x474c51:0x3cb,_0x42b62d:0x338,_0x804ab:0x2ab,_0xafef3a:0x151},_0x399d90={_0x3f2e50:0x40,_0x5e818e:0xa8};if(cachedRgPath)return cachedRgPath;if(_0x11ca48&&existsSync(_0x11ca48))return cachedRgPath=_0x11ca48,_0x11ca48;const _0x496cb9=findSystemRipgrep();function _0x66ff82(_0x255aa2,_0x153f67,_0x172434,_0x2daf91){return _0x28bc81(_0x255aa2-0x88,_0x153f67-_0x399d90._0x3f2e50,_0x153f67-_0x399d90._0x5e818e,_0x2daf91);}if(!_0x496cb9)throw new Error(_0x66ff82(_0x323336._0x474c51,_0x323336._0x42b62d,_0x323336._0x804ab,_0x323336._0xafef3a));return cachedRgPath=_0x496cb9,_0x496cb9;}async function*files(_0x1398dc){const _0x13ccac={_0x4b3701:0x2fd,_0x58c500:0x34e,_0x5aeb9d:0x4db,_0x52d8c0:0x14c,_0x4c1e17:0xd3,_0x495029:0x498,_0x2cc0db:0x4e5,_0x2640be:0x701,_0x5001df:0x56c,_0xdc8ce8:0x3b4,_0x5ba49b:0x43f,_0x5a5916:0x616,_0x397d4a:0x498,_0x50f568:0x28b,_0x34c8e6:0x11c,_0x58a573:0x178,_0x9dfa6:0xa3,_0x37ad82:0x369,_0xe46f36:0x1b0,_0x4f14eb:0x13a,_0x22660f:0x4ab,_0x2f1a7c:0x1ff,_0x558c49:0x332,_0x44787f:0x215,_0x27dfa0:0x367,_0x1e20dc:0x498},_0x474344={_0x30b298:0xaa},_0x190dcb={_0xcb7ad9:0x25,_0x2a3e14:0x12b};function _0x3439fa(_0x16b84d,_0x5defd4,_0x1d70ea,_0x3cbdc8){return _0x28bc81(_0x16b84d-0xcc,_0x5defd4-_0x190dcb._0xcb7ad9,_0x3cbdc8- -_0x190dcb._0x2a3e14,_0x5defd4);}const _0x67cd56=await filepath(),_0x4cb986=await _0x33ab89(_0x1398dc[_0x3439fa(_0x13ccac._0x4b3701,_0x13ccac._0x58c500,0x5ad,_0x13ccac._0x5aeb9d)])[_0x3439fa(-0x10a,_0x13ccac._0x52d8c0,-_0x13ccac._0x4c1e17,0x100)](()=>null);if(!_0x4cb986?.[_0x192348(_0x13ccac._0x495029,_0x13ccac._0x2cc0db,0x66f,0x47d)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x1398dc['cwd']+'\x27'),{'code':_0x192348(0x802,_0x13ccac._0x2640be,0x743,0x62a)});const _0x227a56=['--files',_0x192348(_0x13ccac._0x5001df,_0x13ccac._0xdc8ce8,0x2f5,0x3f0),_0x3439fa(0x25e,0x11f,0x176,0x2ba),_0x192348(0x5a5,_0x13ccac._0x5ba49b,0x33c,_0x13ccac._0x5a5916)];for(const _0x283413 of _0x1398dc['glob']??[]){_0x227a56[_0x3439fa(0x339,0x1cc,_0x13ccac._0x397d4a,_0x13ccac._0x50f568)]('--glob='+_0x283413);}const _0x38c9b0=_0xf7162b(_0x67cd56,_0x227a56,{'cwd':_0x1398dc['cwd'],'stdio':[_0x192348(0x4ce,0x51a,0x490,0x713),_0x3439fa(-_0x13ccac._0x34c8e6,0x1e9,_0x13ccac._0x58a573,_0x13ccac._0x9dfa6),_0x192348(_0x13ccac._0x37ad82,0x32b,_0x13ccac._0xe46f36,_0x13ccac._0x4f14eb)]});let _0x545240='';for await(const _0x58bb1d of _0x38c9b0[_0x192348(_0x13ccac._0x22660f,0x66c,0x82f,0x4a2)]??[]){_0x545240+=_0x58bb1d[_0x3439fa(0x1c4,0x2b0,_0x13ccac._0x2f1a7c,0x275)]();const _0x1d72be=_0x545240[_0x3439fa(_0x13ccac._0x558c49,0x1f6,0x347,0x31a)](/\r?\n/);_0x545240=_0x1d72be[_0x192348(_0x13ccac._0x44787f,0x353,0x211,_0x13ccac._0x27dfa0)]()??'';for(const _0x44fd03 of _0x1d72be){if(_0x44fd03[_0x192348(_0x13ccac._0x1e20dc,0x6a6,0x674,0x891)]>0x0)yield _0x44fd03;}}function _0x192348(_0x2f140a,_0x232cb2,_0x43d67b,_0x43c7aa){return _0x28bc81(_0x2f140a-0x146,_0x232cb2-_0x474344._0x30b298,_0x232cb2-0x15d,_0x43c7aa);}_0x545240['trim']()['length']>0x0&&(yield _0x545240['trim']());}function objectValue(_0x8946dc){const _0xfda5c1={_0x37a425:0x65,_0x42fc7b:0x1fc,_0x214197:0xbb},_0x7081b={_0x1913f4:0xf8};function _0x1ffb1(_0x40d340,_0x31057e,_0x5e4fe7,_0x207864){return _0x28bc81(_0x40d340-0x1f3,_0x31057e-_0x7081b._0x1913f4,_0x207864- -0x1aa,_0x5e4fe7);}return typeof _0x8946dc===_0x1ffb1(0x26,_0xfda5c1._0x37a425,_0xfda5c1._0x42fc7b,_0xfda5c1._0x214197)&&_0x8946dc!==null?_0x8946dc:void 0x0;}function decodeRipgrepText(_0x5be14b){const _0x2b279d={_0x33ea56:0x5cc,_0x1a7ed7:0x3d4,_0x28174c:0x420,_0x13d638:0x2e2,_0x5b1fdc:0x101,_0x165c4c:0x3ef,_0x375ddb:0x3fd,_0x2e0ae6:0x2ba,_0x532274:0x107,_0x4122e9:0x288,_0x56118c:0x74,_0x1a0dce:0x2c7,_0x2910fe:0x12f,_0x48eb43:0x1a0,_0x19560b:0x3b,_0x5e14cb:0x130,_0x4a87af:0x1de},_0x5d40cb={_0x431031:0xe5,_0x32324f:0x5b,_0x9b7a12:0x4c},_0x353fb1={_0x2bbd7a:0x27c},_0x4e2fc8=objectValue(_0x5be14b);function _0xfb1653(_0x32433e,_0x47cfd8,_0x544048,_0x565753){return _0x28bc81(_0x32433e-0xb2,_0x47cfd8-0x1d9,_0x544048- -_0x353fb1._0x2bbd7a,_0x32433e);}if(typeof _0x4e2fc8?.[_0x1eaf30(_0x2b279d._0x33ea56,0x51c,0x49a,0x472)]===_0x1eaf30(0x4ed,_0x2b279d._0x1a7ed7,_0x2b279d._0x28174c,_0x2b279d._0x13d638))return _0x4e2fc8[_0xfb1653(_0x2b279d._0x5b1fdc,0x13a,0x1aa,0x29)];function _0x1eaf30(_0x5c5758,_0xcff80,_0x46ded6,_0x3e4fb5){return _0x28bc81(_0x5c5758-_0x5d40cb._0x431031,_0xcff80-_0x5d40cb._0x32324f,_0x3e4fb5-_0x5d40cb._0x9b7a12,_0x46ded6);}if(typeof _0x4e2fc8?.[_0x1eaf30(0x746,_0x2b279d._0x165c4c,0x4eb,0x5a1)]===_0x1eaf30(0x18b,_0x2b279d._0x375ddb,_0x2b279d._0x2e0ae6,0x2e2))return Buffer[_0xfb1653(-_0x2b279d._0x532274,-_0x2b279d._0x4122e9,-_0x2b279d._0x56118c,0x196)](_0x4e2fc8[_0xfb1653(_0x2b279d._0x1a0dce,0x437,0x2d9,_0x2b279d._0x2910fe)],_0xfb1653(0x178,0x1ad,0x65,_0x2b279d._0x48eb43))[_0xfb1653(0xca,0xa3,0x124,0xe4)](_0xfb1653(_0x2b279d._0x19560b,-_0x2b279d._0x5e14cb,-0x3,_0x2b279d._0x4a87af));return void 0x0;}function parseMatchLine(_0x130d96,_0x122bac){const _0x3c44c5={_0x46d3dc:0x7cf,_0x135f60:0x7de,_0x3ed427:0x61b,_0x4fd2ec:0x617,_0x1805a0:0x49c,_0x1d5c43:0x46b,_0x4ee4ab:0x35b,_0x4ebded:0x1c6,_0x320583:0x43e,_0x44bf2b:0x60e,_0x460f34:0x1cd,_0x6d609e:0x3ee,_0x4daee3:0x4ad,_0x2e975d:0x2be,_0x3a6470:0x163,_0x2c576b:0x3cb,_0x5b3c1b:0x187,_0x373333:0x52a,_0x2243d7:0x33a,_0x26117f:0x51e,_0x4b9e8b:0x623,_0x2b4394:0x58d,_0x18b85e:0x523,_0x440974:0x62b,_0x7cd53e:0x231,_0x2002e9:0x41a,_0xccd82d:0x5a1,_0x17efa3:0x448},_0x451dba={_0x374d14:0xc9};if(_0x130d96[_0x30a08e(0x8ec,0x5a1,0x742,_0x3c44c5._0x46d3dc)]===0x0)return null;const _0x249fc2=objectValue(JSON[_0x30a08e(0x835,0x914,_0x3c44c5._0x135f60,_0x3c44c5._0x3ed427)](_0x130d96));if(_0x249fc2?.[_0x30a08e(0x5e3,0x46d,0x530,0x503)]!==_0x30a08e(_0x3c44c5._0x4fd2ec,_0x3c44c5._0x1805a0,0x454,_0x3c44c5._0x1d5c43)&&_0x249fc2?.[_0x1f76da(_0x3c44c5._0x4ee4ab,_0x3c44c5._0x4ebded,0x17b,_0x3c44c5._0x320583)]!==_0x30a08e(_0x3c44c5._0x44bf2b,_0x3c44c5._0x460f34,_0x3c44c5._0x6d609e,_0x3c44c5._0x4daee3))return null;const _0x42e3e8=objectValue(_0x249fc2[_0x1f76da(_0x3c44c5._0x2e975d,_0x3c44c5._0x3a6470,_0x3c44c5._0x2c576b,_0x3c44c5._0x5b3c1b)]),_0x120f83=decodeRipgrepText(_0x42e3e8?.[_0x1f76da(0x4ed,_0x3c44c5._0x373333,_0x3c44c5._0x2243d7,0x5ef)]),_0x37c07b=decodeRipgrepText(_0x42e3e8?.[_0x30a08e(_0x3c44c5._0x26117f,0x718,0x588,0x3bf)]);function _0x1f76da(_0x53e15c,_0x41cdf4,_0x3c2510,_0x2bf9b7){return _0x5b2413(_0x53e15c-0x71,_0x41cdf4-0x1d9,_0x53e15c- -0x37b,_0x2bf9b7);}function _0x30a08e(_0x5e74af,_0x216e63,_0x2046fc,_0x567735){return _0x5b2413(_0x5e74af-0x73,_0x216e63-_0x451dba._0x374d14,_0x2046fc- -0x1a6,_0x567735);}const _0xdcb13=_0x42e3e8?.['line_number'];if(_0x120f83===void 0x0||_0x37c07b===void 0x0||typeof _0xdcb13!=='number')throw new Error(_0x30a08e(0x67f,_0x3c44c5._0x4b9e8b,_0x3c44c5._0x2b4394,0x4d2));return{'filePath':_0x40dbfa[_0x30a08e(0x538,_0x3c44c5._0x18b85e,_0x3c44c5._0x440974,0x57a)](_0x120f83)?_0x120f83:_0x40dbfa[_0x30a08e(_0x3c44c5._0x7cd53e,_0x3c44c5._0x2002e9,0x453,_0x3c44c5._0xccd82d)](_0x122bac,_0x120f83),'lineNum':_0xdcb13,'lineText':_0x37c07b[_0x1f76da(0x57b,_0x3c44c5._0x17efa3,0x716,0x480)](/\r?\n$/,''),..._0x249fc2['type']===_0x1f76da(0x219,0x375,0x374,0x364)?{'isContext':!![]}:{}};}async function search(_0xfb8d50){const _0x4b8dfd={_0x4fd7f6:0x258,_0x18d62a:0x2a1,_0x40b49e:0x3ce,_0x239474:0x335,_0x26c476:0x484,_0x41d301:0x4d9,_0x3e1ddc:0x43f,_0x15c9e5:0x266,_0x36c5b6:0xd,_0x16af14:0x24c,_0x11fcbc:0x1a4,_0x4c0a6d:0x2a8,_0x3da6d0:0x17b,_0x2d7b62:0x34b,_0x3d997a:0x131,_0x5acdd7:0xdc,_0x198510:0xbb,_0x186bbb:0xa9,_0x2a6e2f:0xcf,_0x25f864:0x5d2,_0x557219:0x430,_0x437180:0x51f,_0x34bb6c:0x5bf,_0x13a50d:0x288,_0xa11932:0x1f0,_0x433223:0x301,_0x28c570:0x356,_0x2433e9:0x1fe,_0x4d5b00:0x3ba,_0x3a2005:0x366,_0x522576:0x495,_0x78216d:0x6d7,_0x17b95f:0x1bc,_0x21d04e:0x14a,_0x577fe6:0x12f,_0x524068:0x1a4,_0x5ed8da:0xfa,_0xa62e78:0xad,_0x2dec67:0x43a,_0x3e2a90:0x615,_0x1311ee:0x212,_0x1de546:0x39b,_0x528748:0x54e,_0x4a63ec:0x342,_0xb43cf7:0x5aa,_0x515cf0:0xf6,_0x3cec33:0x14f,_0x5a5163:0x10,_0x5d80d2:0x43,_0xd9e546:0x3b4,_0x5c4359:0x3e,_0x2278cb:0x49,_0x584857:0x39,_0x4e2702:0x33d,_0x1b7683:0x196,_0xe73eae:0x1f6,_0x3230d0:0x2f5,_0x531549:0xac,_0x521c15:0x1e2,_0x25efd2:0xa9,_0x142f99:0x304,_0x2c3580:0x197,_0x44e57b:0xa9,_0x5b749d:0x1ca,_0x1dde3a:0x54a,_0x7943cb:0x4dc,_0x4fb7a3:0x783,_0x1b3c2e:0x603},_0x26009f={_0x1f94e6:0x7db,_0xb9f537:0x87f,_0x46db25:0x213,_0x1d4836:0x267,_0x190147:0x259,_0x25e0a9:0x3bf,_0x562ada:0x4c4,_0x249adb:0x42a,_0x4df2d9:0x6b7,_0x3fb2c9:0x4fb,_0x25bd81:0x748,_0x3940ed:0x634,_0x5c2fa2:0x7ee,_0x30ab29:0x57c,_0x2f3804:0x63d,_0x54fa1e:0x3c9,_0x594fa7:0x546,_0x3da747:0x403,_0x15bfbe:0x2b8},_0x9922={_0x2f782c:0x7a},_0x1f6d16={_0x5e8034:0x640,_0x3a7645:0x41b},_0x360be6={_0x238ed6:0x134},_0x662ad8={_0x1fb109:0xba,_0x2d6a3b:0x269},_0x13de0c={_0x5c85e2:0x132,_0x5b5256:0x2};if(_0xfb8d50['file']!==void 0x0&&_0xfb8d50[_0x51b209(0x315,0x2e5,_0x4b8dfd._0x4fd7f6,0x132)]!==void 0x0)throw new Error(_0x51b209(0x408,0x46a,_0x4b8dfd._0x18d62a,_0x4b8dfd._0x40b49e));if(_0xfb8d50[_0x51b209(_0x4b8dfd._0x239474,_0x4b8dfd._0x26c476,_0x4b8dfd._0x41d301,0x596)]){const _0x4a6310=await _0x33ab89(_0xfb8d50[_0x51b209(_0x4b8dfd._0x3e1ddc,_0x4b8dfd._0x26c476,_0x4b8dfd._0x15c9e5,0x584)])[_0x340ec5(0xc1,-0x20a,-0x13,_0x4b8dfd._0x36c5b6)](()=>null);if(!_0x4a6310?.['isFile']())throw Object[_0x340ec5(_0x4b8dfd._0x40b49e,_0x4b8dfd._0x16af14,0x396,0x313)](new Error(_0x340ec5(_0x4b8dfd._0x11fcbc,_0x4b8dfd._0x4c0a6d,_0x4b8dfd._0x3da6d0,0xb1)+_0xfb8d50['file']+'\x27'),{'code':_0x340ec5(0x250,_0x4b8dfd._0x2d7b62,0x366,0x156)});}else{if(_0xfb8d50[_0x340ec5(-0x8d,_0x4b8dfd._0x3d997a,0xa9,0xd1)]!==void 0x0)for(const _0x12fd3e of _0xfb8d50[_0x340ec5(_0x4b8dfd._0x5acdd7,_0x4b8dfd._0x198510,_0x4b8dfd._0x186bbb,-_0x4b8dfd._0x2a6e2f)]){if(!_0x40dbfa[_0x51b209(_0x4b8dfd._0x25f864,_0x4b8dfd._0x557219,_0x4b8dfd._0x437180,_0x4b8dfd._0x34bb6c)](_0x12fd3e))throw new Error(_0x51b209(0x440,_0x4b8dfd._0x13a50d,_0x4b8dfd._0xa11932,0x340)+_0x12fd3e+'\x27');const _0x269517=await _0x33ab89(_0x12fd3e)['catch'](()=>null);if(!_0x269517?.[_0x340ec5(0x30b,_0x4b8dfd._0x433223,0x1f1,_0x4b8dfd._0x28c570)]())throw Object[_0x340ec5(0x2fb,_0x4b8dfd._0x2433e9,0x396,0x2ee)](new Error('No\x20such\x20file:\x20\x27'+_0x12fd3e+'\x27'),{'code':_0x340ec5(_0x4b8dfd._0x4d5b00,0x38c,_0x4b8dfd._0x3a2005,0x4aa)});}else{const _0x13341c=await _0x33ab89(_0xfb8d50[_0x51b209(0x815,0x604,_0x4b8dfd._0x522576,_0x4b8dfd._0x78216d)])['catch'](()=>null);if(!_0x13341c?.[_0x340ec5(_0x4b8dfd._0x17b95f,0x197,_0x4b8dfd._0x21d04e,_0x4b8dfd._0x577fe6)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xfb8d50['cwd']+'\x27'),{'code':_0x340ec5(_0x4b8dfd._0x524068,0x182,_0x4b8dfd._0x3a2005,0x1ed)});}}if(_0xfb8d50[_0x340ec5(_0x4b8dfd._0x5ed8da,0x1b4,_0x4b8dfd._0x186bbb,-_0x4b8dfd._0xa62e78)]?.[_0x51b209(_0x4b8dfd._0x2dec67,0x547,_0x4b8dfd._0x3e2a90,0x57c)]===0x0)return[];const _0x2934ce=await filepath(),_0x13b3fa=[_0x340ec5(0x1ee,0x48e,0x3aa,0x3f7),_0x340ec5(_0x4b8dfd._0x1311ee,0x224,_0x4b8dfd._0x1de546,_0x4b8dfd._0x2d7b62),_0xfb8d50[_0x51b209(_0x4b8dfd._0x528748,0x3da,_0x4b8dfd._0x4a63ec,_0x4b8dfd._0xb43cf7)]],_0x23d581=typeof _0xfb8d50[_0x340ec5(-_0x4b8dfd._0x515cf0,0x1c7,-0x49,0x16b)]==='number'&&_0xfb8d50[_0x51b209(_0x4b8dfd._0x3cec33,0x1f3,-_0x4b8dfd._0x5a5163,_0x4b8dfd._0x5d80d2)]>0x0;_0x23d581&&_0x13b3fa[_0x51b209(0x4bf,_0x4b8dfd._0xd9e546,0x1f8,0x1bd)]('-C',String(_0xfb8d50[_0x340ec5(0x22,_0x4b8dfd._0x5c4359,-_0x4b8dfd._0x2278cb,0x5a)]));_0xfb8d50[_0x340ec5(_0x4b8dfd._0x584857,_0x4b8dfd._0x4e2702,0x1a8,_0x4b8dfd._0x1b7683)]&&!_0xfb8d50[_0x51b209(0x540,0x484,0x401,0x6a1)]&&_0xfb8d50['files']===void 0x0&&_0x13b3fa['push'](_0x340ec5(_0x4b8dfd._0xe73eae,0xde,_0x4b8dfd._0x3230d0,0x45b),_0xfb8d50[_0x340ec5(0x24,_0x4b8dfd._0x531549,0x1a8,0x2a9)]);_0xfb8d50[_0x340ec5(0xf9,_0x4b8dfd._0x521c15,_0x4b8dfd._0x25efd2,0x57)]!==void 0x0?_0x13b3fa[_0x51b209(_0x4b8dfd._0x142f99,0x3b4,0x4c7,_0x4b8dfd._0x2c3580)](..._0xfb8d50[_0x340ec5(-0x116,0x2c1,_0x4b8dfd._0x44e57b,0xae)]):_0x13b3fa[_0x51b209(0x423,_0x4b8dfd._0xd9e546,0x3bd,_0x4b8dfd._0x5b749d)](_0xfb8d50[_0x51b209(0x649,0x484,_0x4b8dfd._0x1dde3a,0x492)]??_0xfb8d50[_0x51b209(_0x4b8dfd._0x7943cb,0x604,_0x4b8dfd._0x4fb7a3,_0x4b8dfd._0x1b3c2e)]);function _0x340ec5(_0x36bb52,_0xa2dd5d,_0xd5f92e,_0x14321f){return _0x28bc81(_0x36bb52-0x145,_0xa2dd5d-0xe6,_0xd5f92e- -0x23e,_0x14321f);}function _0x51b209(_0x48f384,_0x1120f7,_0x269176,_0x28cc5b){return _0x28bc81(_0x48f384-_0x13de0c._0x5c85e2,_0x1120f7-0x116,_0x1120f7- -_0x13de0c._0x5b5256,_0x48f384);}return await new Promise((_0x3433b7,_0x19640c)=>{const _0xdd5e34={_0x352b9c:0x7f1,_0x2755ff:0x711,_0x5eac82:0x8de,_0x554d9f:0x748,_0x194b41:0x47e,_0x429cf7:0x607,_0x2cfc1f:0x59c,_0xb91d43:0x7cf,_0xb6a95d:0x767,_0x307ee0:0x61b,_0x21781c:0x77c,_0x3f2d87:0x5c1,_0x4831d2:0x730,_0x1c6f9c:0x954,_0x23b15b:0x817,_0x239b4f:0x611,_0x527797:0x946,_0x3c8512:0x7a9,_0x478eb4:0x514,_0x23a54a:0x862,_0x4be3aa:0x676,_0x5f0582:0x7c7},_0xca9ddc={_0x3eb70d:0x24e},_0x55ef33=_0xf7162b(_0x2934ce,_0x13b3fa,{'cwd':_0xfb8d50[_0x4f6355(_0x26009f._0x1f94e6,_0x26009f._0xb9f537,0x945,0x8fc)],'stdio':[_0x2b641e(_0x26009f._0x46db25,_0x26009f._0x1d4836,0x3e8,0x2d2),_0x2b641e(_0x26009f._0x190147,0x78,0x1f9,0x306),_0x4f6355(_0x26009f._0x25e0a9,0x4d1,0x60a,_0x26009f._0x562ada)]});let _0x1004e7='';function _0x2b641e(_0xb1a0d7,_0x43e515,_0x2285e6,_0xd2ef7e){return _0x340ec5(_0xb1a0d7-_0x662ad8._0x1fb109,_0x43e515-0x143,_0x2285e6-_0x662ad8._0x2d6a3b,_0xd2ef7e);}let _0x381f6c='';function _0x4f6355(_0x51ce0b,_0x4936cd,_0x9b8fde,_0x723e78){return _0x51b209(_0x9b8fde,_0x723e78-0x2f8,_0x9b8fde-0x12e,_0x723e78-_0x360be6._0x238ed6);}_0x55ef33[_0x2b641e(_0x26009f._0x249adb,0x4d4,0x53a,0x4c1)]?.['on']('data',_0x1b5e22=>{const _0x371fb0={_0x1b462c:0x7,_0x3c9788:0x1df};function _0x3d8732(_0x522e4d,_0x49148c,_0x33629f,_0x5de5d7){return _0x4f6355(_0x522e4d-_0x371fb0._0x1b462c,_0x49148c-0x167,_0x49148c,_0x522e4d- -_0x371fb0._0x3c9788);}_0x1004e7+=_0x1b5e22[_0x3d8732(0x4b7,_0x1f6d16._0x5e8034,0x562,_0x1f6d16._0x3a7645)]();}),_0x55ef33[_0x4f6355(0x6a0,_0x26009f._0x4df2d9,_0x26009f._0x3fb2c9,0x5ee)]?.['on'](_0x4f6355(_0x26009f._0x25bd81,0x450,0x497,0x590),_0x4ead55=>{function _0x38016c(_0x473f37,_0x584317,_0x508c8e,_0x5e7cad){return _0x2b641e(_0x473f37-0x43,_0x584317-0xe3,_0x584317- -_0xca9ddc._0x3eb70d,_0x5e7cad);}_0x381f6c+=_0x4ead55[_0x38016c(_0x9922._0x2f782c,0x17d,0x305,0x1a2)]();}),_0x55ef33['on'](_0x4f6355(_0x26009f._0x3940ed,_0x26009f._0x5c2fa2,_0x26009f._0x30ab29,_0x26009f._0x2f3804),_0x3ac3d4=>{const _0x37dbb5={_0x48e10b:0x90c,_0x1d5e41:0x8f6,_0x1caa95:0x647,_0x274cc0:0x580},_0x2e2644={_0x7febe9:0xd5,_0x5b0673:0x153},_0x4c347c={_0x5c32a5:0x118,_0x267a55:0xf2},_0xb75088={_0x228e2d:0xa4,_0x5d6a82:0x4c};function _0x5e6be5(_0x47a597,_0x48e0d1,_0x33bb5a,_0x5356b9){return _0x4f6355(_0x47a597-0x1cb,_0x48e0d1-0x1c5,_0x33bb5a,_0x48e0d1- -0x2a);}if(_0x3ac3d4===0x1&&_0x1004e7===''){_0x3433b7([]);return;}if(_0x3ac3d4!==0x0&&_0x3ac3d4!==0x1){_0x19640c(new Error('ripgrep\x20failed:\x20'+_0x381f6c));return;}const _0x2413ef=[];try{for(const _0x250a55 of _0x1004e7[_0x5e6be5(_0xdd5e34._0x352b9c,_0xdd5e34._0x2755ff,_0xdd5e34._0x5eac82,0x5fe)](/\r?\n/)){const _0x4c63d0=parseMatchLine(_0x250a55,_0xfb8d50['cwd']);if(_0x4c63d0)_0x2413ef[_0x5e6be5(_0xdd5e34._0x554d9f,0x682,0x4fa,0x88d)](_0x4c63d0);}}catch(_0x53745c){_0x19640c(_0x53745c);return;}const _0x163eea=_0xfb8d50[_0x5e6be5(_0xdd5e34._0x194b41,0x53f,_0xdd5e34._0x429cf7,_0xdd5e34._0x2cfc1f)]??0x64,_0x5e00e1=Number[_0x5e6be5(0x9c9,_0xdd5e34._0xb91d43,_0xdd5e34._0xb6a95d,_0xdd5e34._0x307ee0)](_0x163eea)?Math[_0x5e6be5(0x5b6,0x733,0x5d7,_0xdd5e34._0x21781c)](0x0,Math[_0x7b9fe4(_0xdd5e34._0x3f2d87,0x7d2,0x5b3,0x676)](_0x163eea)):0x64,_0x1538b4=_0x2413ef[_0x5e6be5(0x5bc,0x751,_0xdd5e34._0x4831d2,0x77a)](_0x13516d=>!_0x13516d[_0x7b9fe4(0x858,0x7d0,0x6a5,0x885)]);if(_0x1538b4['length']<=_0x5e00e1){_0x3433b7(_0x2413ef);return;}const _0x341712=_0x1538b4[_0x7b9fe4(0x822,_0xdd5e34._0x1c6f9c,0x7fa,_0xdd5e34._0x23b15b)](0x0,_0x5e00e1),_0x4b310f=new Set(_0x341712);function _0x7b9fe4(_0x39140d,_0x5812ac,_0x190a00,_0x4f67d6){return _0x4f6355(_0x39140d-0x1a5,_0x5812ac-_0xb75088._0x228e2d,_0x39140d,_0x4f67d6-_0xb75088._0x5d6a82);}const _0x57ca5e=_0x23d581?Math[_0x7b9fe4(_0xdd5e34._0x239b4f,0x6c7,_0xdd5e34._0x527797,_0xdd5e34._0x3c8512)](0x0,Math[_0x7b9fe4(_0xdd5e34._0x478eb4,_0xdd5e34._0x23a54a,0x75c,_0xdd5e34._0x4be3aa)](_0xfb8d50['context']??0x0)):0x0;_0x3433b7(_0x2413ef[_0x7b9fe4(0x6ea,0x830,0x951,_0xdd5e34._0x5f0582)](_0x3180ba=>{function _0x1ae77b(_0x5a610a,_0x4ac7c5,_0x396e46,_0x3c5b36){return _0x5e6be5(_0x5a610a-0x112,_0x4ac7c5-_0x4c347c._0x5c32a5,_0x396e46,_0x3c5b36-_0x4c347c._0x267a55);}if(!_0x3180ba['isContext'])return _0x4b310f[_0x1ae77b(_0x37dbb5._0x48e10b,0x6ef,_0x37dbb5._0x1d5e41,_0x37dbb5._0x1caa95)](_0x3180ba);function _0x370a85(_0x5f2908,_0x3e098e,_0x36e49e,_0x248fd5){return _0x7b9fe4(_0x248fd5,_0x3e098e-_0x2e2644._0x7febe9,_0x36e49e-_0x2e2644._0x5b0673,_0x3e098e- -0x272);}return _0x341712[_0x370a85(0x3ce,0x5e3,_0x37dbb5._0x274cc0,0x62e)](_0x3a3654=>_0x3a3654[_0x370a85(0x3a5,0x319,0x2a4,0x1da)]===_0x3180ba['filePath']&&Math[_0x370a85(0x5a1,0x600,0x4e4,0x50e)](_0x3a3654[_0x1ae77b(0x68b,0x676,0x7d2,0x740)]-_0x3180ba[_0x370a85(0x488,0x362,0x486,0x357)])<=_0x57ca5e);}));}),_0x55ef33['on'](_0x2b641e(_0x26009f._0x54fa1e,_0x26009f._0x594fa7,_0x26009f._0x3da747,_0x26009f._0x15bfbe),_0x19640c);});}function createGlobTool(_0x5dfbad={}){const _0x124dec={_0x38a233:0x7a2,_0x4d6da2:0x354,_0x824777:0x2de,_0x198008:0x3d9,_0x1fe31a:0x4f1,_0x53c2fd:0x1a9,_0x54b719:0x2c4,_0x1c942d:0x593,_0x35a310:0x65a,_0x56797f:0x218,_0x103bb6:0xec,_0x3aa456:0x20,_0xbb4551:0x1c5,_0x168c51:0x289,_0x3825ce:0x3cc,_0x3c2feb:0x1f6,_0x2af60e:0x22f,_0x217775:0x6e0,_0x5012c3:0x63d,_0x4e4459:0x4ff,_0x58b67c:0x185,_0xd10c63:0x209},_0x1d7533={_0x16a89b:0x765,_0x5b7db1:0x620,_0x9d5d70:0x6b9,_0x38f96b:0x7d9,_0x1b75f2:0x5b0,_0x9d346a:0x7da,_0x40a8dd:0x5cc,_0x5e3938:0x4d6,_0x30fa82:0x53c,_0x50c436:0x86a,_0x131985:0x944,_0x3693f7:0x62d,_0x3d6187:0x52a,_0x297dc4:0x6ec,_0x572c2c:0x4da,_0x18cdf5:0x458,_0x1d0435:0x2dd,_0x12ea3f:0x414,_0x3cbf8b:0x44f,_0x200e02:0x8ea,_0xc77a50:0x837,_0x32491a:0x8f5,_0x1b0345:0x48e,_0x5a8562:0x280,_0x299013:0x33b,_0x3a2ad3:0x3dc,_0x3ecda4:0x56c,_0x307ee7:0x650,_0x5ed9a9:0x7d7,_0x1524d4:0x5de,_0x4392db:0x77d,_0x4e5a85:0x4d0,_0xdf77e8:0x24d,_0x2d5119:0x169,_0x16076d:0x862,_0x566f54:0x64c},_0x309d80={_0x2251a9:0x111},_0x133c48={_0x34e344:0x195,_0x52f36d:0xd1,_0x3673d:0xa0},_0x1272f6={_0x59e9f3:0x42,_0x350dee:0x2c0},_0x2bfbd5=_0x43494c[_0x350391(0x312,0x1ba,0xd0,0x2f7)](_0x5dfbad['defaultCwd']??process[_0x4e7018(0x7fc,_0x124dec._0x38a233,0x4c3,0x6e5)]()),_0x490d5d=_0x5dfbad[_0x350391(_0x124dec._0x4d6da2,_0x124dec._0x824777,_0x124dec._0x198008,_0x124dec._0x1fe31a)]??[],_0x1b07f8=_0x5dfbad[_0x350391(_0x124dec._0x53c2fd,0x1d3,0xe5,_0x124dec._0x54b719)]??0x64;function _0x4e7018(_0x5e1272,_0x3f55cc,_0x1dff7e,_0x49dd95){return _0x5b2413(_0x5e1272-0xe4,_0x3f55cc-_0x1272f6._0x59e9f3,_0x49dd95- -_0x1272f6._0x350dee,_0x3f55cc);}function _0x350391(_0x211b0e,_0x49c5bd,_0x1f294d,_0x352559){return _0x28bc81(_0x211b0e-_0x133c48._0x34e344,_0x49c5bd-_0x133c48._0x52f36d,_0x49c5bd- -_0x133c48._0x3673d,_0x1f294d);}const _0x3de955=_0x5dfbad[_0x350391(0x521,0x3d6,_0x124dec._0x1c942d,0x28e)]??_0x4e7018(0x6d3,0x58a,0x4e9,_0x124dec._0x35a310);return defineTool({'name':_0x3de955,'permissionClass':_0x350391(0x2f8,_0x124dec._0x56797f,_0x124dec._0x103bb6,_0x124dec._0x3aa456),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x350391(0x396,_0x124dec._0xbb4551,_0x124dec._0x168c51,_0x124dec._0x3825ce),'properties':{'pattern':{'type':'string'},'path':{'type':_0x350391(0x38d,_0x124dec._0x3c2feb,0x2fc,_0x124dec._0x2af60e)},'limit':{'type':_0x4e7018(_0x124dec._0x217775,0x575,_0x124dec._0x5012c3,_0x124dec._0x4e4459)}},'required':[_0x350391(_0x124dec._0x58b67c,0x33c,_0x124dec._0xd10c63,0x4d1)]},async *'execute'(_0x216300){const _0x384b06={_0x394b25:0x94,_0x230dcf:0x113,_0x2e1e05:0x1dc};if(_0x216300[_0x68856e(_0x1d7533._0x16a89b,0x77d,0x78e,_0x1d7533._0x5b7db1)][_0x68856e(0x738,_0x1d7533._0x9d5d70,0x797,_0x1d7533._0x38f96b)]()[_0x3cbf6b(0x73b,0x563,0x5bc,_0x1d7533._0x1b75f2)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x438176=resolveAllowedPath(_0x2bfbd5,_0x490d5d,_0x216300['path']??'.'),_0xea6e43=await _0x56e74c(_0x438176)[_0x68856e(_0x1d7533._0x9d346a,_0x1d7533._0x40a8dd,0x55f,_0x1d7533._0x5e3938)](()=>null);if(!_0xea6e43?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x216300[_0x3cbf6b(0x45f,0x72e,_0x1d7533._0x30fa82,0x593)]??'.'),{'path':_0x216300[_0x68856e(0x8e7,_0x1d7533._0x50c436,0x85e,_0x1d7533._0x131985)]??'.'});const _0x5e8fef=_0x216300[_0x68856e(_0x1d7533._0x3693f7,0x614,_0x1d7533._0x3d6187,0x725)]??_0x1b07f8,_0x4b49a5=Math[_0x3cbf6b(_0x1d7533._0x297dc4,0x3e9,_0x1d7533._0x572c2c,_0x1d7533._0x18cdf5)](0x1,Math['trunc'](_0x5e8fef)),_0xaa78f7=[];let _0x47b8d5=![];for await(const _0x1b443b of files({'cwd':_0x438176,'glob':[_0x216300[_0x3cbf6b(_0x1d7533._0x1d0435,_0x1d7533._0x12ea3f,_0x1d7533._0x3cbf8b,0x248)]]})){if(_0xaa78f7[_0x68856e(0x909,_0x1d7533._0x200e02,_0x1d7533._0xc77a50,0xa75)]>=_0x4b49a5){_0x47b8d5=!![];break;}const _0x1c36d1=await _0x56e74c(_0x43494c['join'](_0x438176,_0x1b443b))['catch'](()=>null);_0xaa78f7[_0x68856e(0x717,0x757,0x53c,_0x1d7533._0x32491a)]({'path':_0x1b443b,'mtime':_0x1c36d1?.['mtimeMs']??0x0});}function _0x68856e(_0x556f13,_0x5a041a,_0x44d595,_0x1f041f){return _0x350391(_0x556f13-0xd2,_0x5a041a-0x441,_0x556f13,_0x1f041f-_0x309d80._0x2251a9);}_0xaa78f7[_0x3cbf6b(_0x1d7533._0x1b0345,_0x1d7533._0x5a8562,_0x1d7533._0x299013,_0x1d7533._0x3a2ad3)]((_0x559bf3,_0x24fc5a)=>_0x24fc5a[_0x3cbf6b(0x6a4,0x6fa,0x5a2,0x464)]-_0x559bf3[_0x68856e(0x70a,0x8d0,0xad2,0xaa7)]);const _0x2fecea=_0xaa78f7[_0x68856e(0x983,0x972,0xa84,0xb67)](_0x3a0216=>_0x3a0216['path']);function _0x3cbf6b(_0x3cdba0,_0x428f65,_0x18e567,_0xc1951a){return _0x350391(_0x3cdba0-_0x384b06._0x394b25,_0x18e567-_0x384b06._0x230dcf,_0x428f65,_0xc1951a-_0x384b06._0x2e1e05);}const _0x32df8e=_0x2fecea['length']===0x0?_0x3cbf6b(0x43c,_0x1d7533._0x3ecda4,_0x1d7533._0x307ee7,_0x1d7533._0x5ed9a9)+_0x216300[_0x68856e(_0x1d7533._0x1524d4,_0x1d7533._0x4392db,0x82d,0x8ab)]:''+_0x2fecea[_0x3cbf6b(0x527,0x68f,_0x1d7533._0x4e5a85,0x694)]('\x0a')+(_0x47b8d5?_0x3cbf6b(_0x1d7533._0xdf77e8,_0x1d7533._0x2d5119,0x26c,0x173):'');return yield createToolOutput(_0x32df8e,{'pattern':_0x216300[_0x68856e(_0x1d7533._0x16076d,_0x1d7533._0x4392db,0x5db,_0x1d7533._0x566f54)],'searchPath':_0x43494c[_0x68856e(0x4f5,0x685,0x5e1,0x703)](_0x2bfbd5,_0x438176)||'.','matches':_0x2fecea,'count':_0x2fecea['length'],'truncated':_0x47b8d5}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x26b88c){const _0x42ebf4={_0x17f3a1:0x56a,_0x595a66:0x6a9,_0x45e8e8:0x4ce,_0x5c0826:0x79b,_0x11e076:0x82b,_0x30efdb:0x7d2,_0x1dc34c:0x472,_0x31b6d9:0x28a,_0xfb9603:0x41f},_0x38912f={_0x42cf4b:0x65,_0x4ad81f:0x1c4},_0x568cdc={_0x6a5a0:0x95,_0x11380d:0x65e};function _0x1e24b6(_0xca415,_0xb38b46,_0x597ad4,_0x326be7){return _0x5b2413(_0xca415-_0x568cdc._0x6a5a0,_0xb38b46-0x159,_0x597ad4- -_0x568cdc._0x11380d,_0xb38b46);}function _0x25dcab(_0x26a8ed,_0x238a25,_0x262d54,_0x392cd7){return _0x28bc81(_0x26a8ed-_0x38912f._0x42cf4b,_0x238a25-_0x38912f._0x4ad81f,_0x26a8ed-0x252,_0x392cd7);}if(_0x26b88c[_0x25dcab(_0x42ebf4._0x17f3a1,0x562,_0x42ebf4._0x595a66,_0x42ebf4._0x45e8e8)]()[_0x25dcab(_0x42ebf4._0x5c0826,_0x42ebf4._0x11e076,_0x42ebf4._0x30efdb,0x706)]===0x0)throw new Error('pattern\x20is\x20required');if(_0x26b88c[_0x1e24b6(0x130,_0x42ebf4._0x1dc34c,_0x42ebf4._0x31b6d9,_0x42ebf4._0xfb9603)]>GREP_MAX_PATTERN_LENGTH)throw new Error('pattern\x20must\x20be\x20at\x20most\x20'+GREP_MAX_PATTERN_LENGTH+'\x20characters');}function boundedGrepSnippet(_0x16a382){const _0x91401={_0x5752cc:0x105,_0x2e441c:0x3d,_0x199630:0x1fd,_0x23717f:0x39,_0x134b5b:0x189,_0x50431d:0x363,_0x1b419a:0x6f1,_0x2eb4d0:0x7a6},_0x12de40={_0x426626:0x1e0,_0x33ec83:0x1a,_0x10c5e8:0x63},_0x173906={_0x3c5f2f:0x1f1};function _0x1737f0(_0x39bf23,_0x2a6cc8,_0x3770f0,_0x836ca8){return _0x5b2413(_0x39bf23-0x8f,_0x2a6cc8-_0x173906._0x3c5f2f,_0x3770f0- -0x6eb,_0x2a6cc8);}function _0xdd689a(_0x53b93e,_0x4eb6f1,_0x2f455f,_0x37b2eb){return _0x5b2413(_0x53b93e-_0x12de40._0x426626,_0x4eb6f1-_0x12de40._0x33ec83,_0x2f455f- -_0x12de40._0x10c5e8,_0x53b93e);}return _0x16a382[_0x1737f0(_0x91401._0x5752cc,_0x91401._0x2e441c,_0x91401._0x199630,_0x91401._0x23717f)]>GREP_MAX_SNIPPET_LENGTH?_0x16a382[_0x1737f0(0x1e,0x16,_0x91401._0x134b5b,_0x91401._0x50431d)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0xdd689a(_0x91401._0x1b419a,_0x91401._0x2eb4d0,0x7d6,0x82e):_0x16a382;}async function searchRegex(_0x4e17e7){const _0x1eeefe={_0x28ae0a:0x118,_0x63b889:0x344,_0x2675e0:0x9a,_0x1822b2:0x1a3,_0x4540cd:0x1b3,_0x596c95:0x377,_0x15b956:0x363,_0x3c9cfa:0x584,_0x4996ec:0x564,_0x377e27:0x3b3,_0x16803f:0x592,_0x2c8609:0x1b5,_0x8d1a40:0x134,_0x1354bc:0x122,_0x4c4f37:0x46,_0x421ce5:0xae,_0x405416:0x293,_0x37e2d0:0x64f,_0x4af71b:0x5d0,_0x47bbf7:0x614,_0x4e85b4:0x772,_0x4ccb18:0x800,_0x4b50a3:0x62c,_0x14b29c:0x704,_0x5689db:0x54b,_0xc6020f:0x27,_0x44ac25:0x9,_0x10a560:0x39e,_0x45fb29:0x15b,_0x435cbc:0x339,_0x45047d:0x6f5,_0x131230:0x86e,_0x532f58:0x9ed,_0x32b3:0x36,_0xbcc771:0xe},_0x5451e5={_0x29aaca:0x5d},_0x3b31c4={_0x45f9d4:0x3b4,_0x169713:0x1a5,_0xed1ea8:0x144,_0x214111:0x93,_0x8ab13b:0x350,_0x1990ca:0x5b,_0x17767c:0x175},_0x380409={_0x1d2182:0x104,_0x4724fb:0x610},_0x3b870e={_0x574feb:0x1c6,_0x22aa68:0x1cd,_0x43eeb1:0x2c4};function _0x135a6a(_0x611e11,_0x626c9d,_0x478fcf,_0x4708b6){return _0x28bc81(_0x611e11-_0x3b870e._0x574feb,_0x626c9d-_0x3b870e._0x22aa68,_0x4708b6- -_0x3b870e._0x43eeb1,_0x611e11);}validateGrepPattern(_0x4e17e7[_0x135a6a(0xf9,0x31d,0x17c,_0x1eeefe._0x28ae0a)]);const _0x502c4c=_0x4e17e7['limit']??GREP_DEFAULT_LIMIT,_0x56b8f4=Number[_0x135a6a(_0x1eeefe._0x63b889,0x1a0,0x1f7,0x23f)](_0x502c4c)?Math[_0x135a6a(_0x1eeefe._0x2675e0,0x1b2,0x5f,_0x1eeefe._0x1822b2)](0x1,Math[_0x135a6a(-0x15a,-_0x1eeefe._0x4540cd,0x22b,0x70)](_0x502c4c)):GREP_DEFAULT_LIMIT;if(_0x4e17e7[_0x44a44e(0x754,0x584,_0x1eeefe._0x596c95,_0x1eeefe._0x15b956)]?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x5c8531=await search({'cwd':_0x4e17e7['cwd'],'pattern':_0x4e17e7['pattern'],..._0x4e17e7[_0x44a44e(0x3ce,_0x1eeefe._0x3c9cfa,_0x1eeefe._0x4996ec,0x688)]===void 0x0?{}:{'files':_0x4e17e7[_0x44a44e(_0x1eeefe._0x377e27,0x584,_0x1eeefe._0x16803f,0x470)]},..._0x4e17e7['glob']===void 0x0?{}:{'glob':_0x4e17e7[_0x135a6a(0xf2,_0x1eeefe._0x2c8609,_0x1eeefe._0x8d1a40,_0x1eeefe._0x1354bc)]},..._0x4e17e7[_0x135a6a(_0x1eeefe._0x4c4f37,0x85,-0x141,-0xcf)]===void 0x0?{}:{'context':_0x4e17e7[_0x135a6a(_0x1eeefe._0x421ce5,-_0x1eeefe._0x405416,0xeb,-0xcf)]},'limit':_0x56b8f4+0x1}),_0x2b4021=_0x5c8531[_0x44a44e(_0x1eeefe._0x37e2d0,0x722,_0x1eeefe._0x4af71b,0x53d)](_0x4034e0=>!_0x4034e0['isContext']),_0x10efe7=_0x2b4021['length']>_0x56b8f4,_0x5f3b1f=_0x2b4021[_0x44a44e(_0x1eeefe._0x47bbf7,_0x1eeefe._0x4e85b4,_0x1eeefe._0x4ccb18,0x755)](0x0,_0x56b8f4),_0x2c9982=new Set(_0x5f3b1f),_0x2e770b=Math[_0x44a44e(_0x1eeefe._0x4b50a3,_0x1eeefe._0x14b29c,0x855,_0x1eeefe._0x5689db)](0x0,Math[_0x135a6a(0x65,_0x1eeefe._0xc6020f,-_0x1eeefe._0x44ac25,0x70)](_0x4e17e7[_0x44a44e(0x313,0x492,_0x1eeefe._0x10a560,0x526)]??0x0)),_0x28203a=_0x10efe7?_0x5c8531[_0x135a6a(_0x1eeefe._0x45fb29,_0x1eeefe._0x435cbc,0xfd,0x1c1)](_0x44484e=>{if(!_0x44484e[_0x4a6692(0x2c3,_0x3b31c4._0x45f9d4,0xce,_0x3b31c4._0x169713)])return _0x2c9982[_0x4a6692(-0xa5,-_0x3b31c4._0xed1ea8,-0x1c0,-_0x3b31c4._0x214111)](_0x44484e);function _0x4a6692(_0x1691e0,_0xde33c,_0x5b58e1,_0x36da0b){return _0x44a44e(_0x1691e0-0x146,_0x36da0b- -0x63b,_0x5b58e1-0x1a9,_0x1691e0);}function _0x2cea8d(_0x2a7622,_0x1ff7fc,_0x36abce,_0x1fbcec){return _0x135a6a(_0x1fbcec,_0x1ff7fc-0x1bb,_0x36abce-_0x380409._0x1d2182,_0x1ff7fc-_0x380409._0x4724fb);}return _0x5f3b1f[_0x4a6692(0x1b8,_0x3b31c4._0x8ab13b,-_0x3b31c4._0x1990ca,_0x3b31c4._0x17767c)](_0x326957=>_0x326957[_0x2cea8d(0x6b8,0x595,0x381,0x5e6)]===_0x44484e[_0x4a6692(-0x71,0x52,-0x34,-0x155)]&&Math[_0x2cea8d(0x9e2,0x87c,0x9a3,0x7c7)](_0x326957['lineNum']-_0x44484e[_0x4a6692(-0x29,-0x2e5,0x3,-0x10c)])<=_0x2e770b);}):_0x5c8531;function _0x44a44e(_0x1a0830,_0x9e8c12,_0x25ea25,_0x4427fd){return _0x5b2413(_0x1a0830-_0x5451e5._0x29aaca,_0x9e8c12-0x2e,_0x9e8c12- -0x102,_0x4427fd);}return{'matches':_0x28203a,'matchCount':_0x5f3b1f['length'],'fileCount':new Set(_0x28203a[_0x44a44e(_0x1eeefe._0x45047d,_0x1eeefe._0x131230,_0x1eeefe._0x532f58,0x890)](_0x5cbe43=>_0x5cbe43['filePath']))[_0x135a6a(-_0x1eeefe._0x32b3,-0x1dd,0x125,_0x1eeefe._0xbcc771)],'truncated':_0x10efe7};}import{stat as _0x491e8d}from'fs/promises';import*as _0x4be3bc from'path';function createGrepTool(_0x16d886={}){const _0x4a50e5={_0x1a646a:0x18e,_0x4f9c63:0xbf,_0x4e10c6:0x1e1,_0x4987cc:0x26e,_0x183536:0x283,_0x576e0d:0x4a2,_0x3391a3:0xa37,_0x38f062:0x8f4,_0x3c2494:0x879,_0x5f22b5:0x1b8,_0x262ab7:0x12a,_0x43fe2d:0x1fa,_0x4f0b75:0x40,_0x5c320e:0x37c,_0x44254a:0x216,_0x464068:0x5f2,_0x25eb50:0x277,_0x3c4eee:0x260,_0x24fff8:0x21d,_0x591482:0x295,_0x345999:0x386,_0xa389d8:0xda,_0x3d4196:0x7e3,_0x13002c:0x812,_0x5ed53f:0x79e,_0x43fe36:0x70e,_0x4c24ba:0x3b2,_0x119012:0x3a7,_0x29ce34:0x363},_0x198aa7={_0x2c57b2:0x7fe,_0x468cb6:0x795,_0x2e5e4e:0x6a4,_0x5421f6:0x614,_0x3a5086:0x553,_0x392076:0x395,_0x31f3a3:0x547,_0x12d6ff:0x543,_0x1869ff:0x3d1,_0x1882e0:0x492,_0x62ff30:0x436,_0x492b85:0x5f2,_0x186c71:0x437,_0x4bab86:0x4bd,_0x1f1f7f:0x404,_0x143856:0x6ae,_0x1aed62:0x2d8,_0xa46feb:0x10d,_0x54e11c:0x1c4,_0x19a91a:0x1a2,_0x49c35a:0x27f,_0xeb35d4:0x45d,_0x39eebc:0x36a,_0x5b729d:0x385,_0x38bec3:0x542,_0x1ec044:0x403,_0x340666:0x524,_0x5b2385:0x603,_0x4f47e8:0x459,_0x4627c7:0x42b,_0x581532:0x319,_0x30a63b:0x94f,_0x45aee4:0x7e9,_0x54656a:0x88a,_0x519967:0x545,_0x38b4cf:0x536,_0x1f852e:0x388,_0x1cd5d6:0x50c,_0x3e9937:0x440,_0x2654bb:0x33a,_0xfd24b5:0x3bc,_0x27e0a8:0x69b,_0x22d4c1:0x5c1,_0x57209b:0x4cf,_0x5bba64:0x518,_0x501259:0x5d3,_0x8eac3e:0x5f1,_0x45063a:0x615,_0x124501:0x67f,_0xda6c6a:0x5c0,_0x1997e7:0x466,_0x5e3b2f:0x4a0,_0xcb8f72:0x49b,_0x1753d3:0x3ab,_0xc06a63:0x3db,_0x5925de:0x48c,_0x34e959:0x41b,_0xfcf3a8:0x67e,_0x42f7d2:0x420,_0x579bdf:0x5dd,_0x412dd9:0x1c9,_0xed67ca:0x476,_0x5d675b:0x2d5,_0x1b48ea:0x970,_0x2e1545:0x6ce,_0x17219d:0x71c,_0x5e8630:0x2cd,_0x448d40:0x357,_0x596db2:0x427,_0xd2fd31:0xf9,_0xecc0c1:0x355,_0xfe8bfa:0x43e,_0x201e65:0x2dd,_0xee7e1a:0x466,_0x28429b:0x624,_0x2bf941:0x5a8,_0x4b9b95:0x47d,_0x36ccb8:0x555,_0x29ac24:0x356,_0x25a054:0x3a2},_0x25da8f={_0x2ed97d:0x1ac,_0x270deb:0xdf},_0x3089ac={_0x18d1e8:0xf8,_0x5236d7:0xb1},_0x1088cb={_0x1b77dd:0x12c,_0x468e98:0x33},_0x471263=_0x4be3bc[_0x1bf382(_0x4a50e5._0x1a646a,_0x4a50e5._0x4f9c63,_0x4a50e5._0x4e10c6,_0x4a50e5._0x4987cc)](_0x16d886[_0x1bf382(0x31a,0x468,_0x4a50e5._0x183536,_0x4a50e5._0x576e0d)]??process[_0x55f013(_0x4a50e5._0x3391a3,0xa78,0x8b6,_0x4a50e5._0x38f062)]());function _0x1bf382(_0x54c8e2,_0x1acb05,_0x55fc33,_0x5161d8){return _0x28bc81(_0x54c8e2-_0x1088cb._0x1b77dd,_0x1acb05-_0x1088cb._0x468e98,_0x55fc33- -0x79,_0x5161d8);}function _0x55f013(_0x32c6cc,_0x224bc8,_0x5ef883,_0x4a47bd){return _0x5b2413(_0x32c6cc-0x62,_0x224bc8-_0x3089ac._0x18d1e8,_0x4a47bd- -_0x3089ac._0x5236d7,_0x5ef883);}const _0x5139a2=_0x16d886[_0x55f013(0x78d,_0x4a50e5._0x3c2494,0x5fe,0x66c)]??[],_0x1b4dc5=_0x16d886[_0x1bf382(_0x4a50e5._0x5f22b5,_0x4a50e5._0x262ab7,_0x4a50e5._0x43fe2d,0x1dd)]??GREP_DEFAULT_LIMIT,_0x31b796=_0x16d886['name']??_0x1bf382(_0x4a50e5._0x4f0b75,_0x4a50e5._0x5c320e,_0x4a50e5._0x44254a,0xe);return defineTool({'name':_0x31b796,'permissionClass':'read','description':_0x55f013(0x67d,_0x4a50e5._0x464068,0x720,0x794),'inputSchema':{'type':_0x55f013(0x52d,0x36c,0x6f3,0x553),'properties':{'pattern':{'type':_0x1bf382(_0x4a50e5._0x25eb50,_0x4a50e5._0x3c4eee,_0x4a50e5._0x24fff8,_0x4a50e5._0x591482)},'path':{'type':_0x55f013(0x57c,0x653,0x4e3,0x584)},'include':{'type':_0x1bf382(0xdc,_0x4a50e5._0x345999,0x21d,_0x4a50e5._0xa389d8)},'limit':{'type':_0x55f013(_0x4a50e5._0x3d4196,_0x4a50e5._0x13002c,_0x4a50e5._0x5ed53f,_0x4a50e5._0x43fe36)},'context':{'type':_0x1bf382(_0x4a50e5._0x4c24ba,0x2ab,_0x4a50e5._0x119012,0x3f6)}},'required':[_0x1bf382(0x299,0x4c4,_0x4a50e5._0x29ce34,0x3d5)]},async *'execute'(_0x3c1596){const _0x13126c={_0x373763:0x1cc,_0x4d51e9:0x191,_0x2dc666:0x372};try{validateGrepPattern(_0x3c1596['pattern']);}catch(_0x4952ba){throw new ToolExecutionError(_0x4952ba[_0x37330c(0x6b5,_0x198aa7._0x2c57b2,_0x198aa7._0x468cb6,0x668)],{});}const _0x35d3df=resolveAllowedPath(_0x471263,_0x5139a2,_0x3c1596[_0x37330c(0x6a8,_0x198aa7._0x2e5e4e,_0x198aa7._0x5421f6,_0x198aa7._0x3a5086)]??'.'),_0x4c53b3=await _0x491e8d(_0x35d3df)['catch'](()=>null),_0x232002=_0x4c53b3?.[_0x37330c(_0x198aa7._0x392076,_0x198aa7._0x31f3a3,0x3a3,0x4b9)]()??![],_0x812c43=_0x4c53b3?.[_0x37330c(_0x198aa7._0x12d6ff,0x366,_0x198aa7._0x1869ff,0x412)]()??![];function _0x1147d3(_0x3dda98,_0x83a947,_0x38ba6a,_0x48c165){return _0x1bf382(_0x3dda98-_0x13126c._0x373763,_0x83a947-_0x13126c._0x4d51e9,_0x48c165-_0x13126c._0x2dc666,_0x83a947);}if(!_0x232002&&!_0x812c43)throw new ToolExecutionError(_0x37330c(0x273,0x445,_0x198aa7._0x1882e0,_0x198aa7._0x62ff30)+(_0x3c1596[_0x37330c(0x614,0x3f3,_0x198aa7._0x492b85,_0x198aa7._0x3a5086)]??'.'),{'path':_0x3c1596[_0x37330c(_0x198aa7._0x186c71,0x505,_0x198aa7._0x4bab86,_0x198aa7._0x3a5086)]??'.'});const _0x534431=await searchRegex({'cwd':_0x812c43?_0x35d3df:_0x4be3bc[_0x37330c(0x20a,0x15e,_0x198aa7._0x1f1f7f,0x260)](_0x35d3df),'pattern':_0x3c1596['pattern'],'glob':_0x812c43?_0x3c1596[_0x1147d3(_0x198aa7._0x143856,0x887,0x89d,0x82f)]:void 0x0,'limit':_0x3c1596[_0x37330c(_0x198aa7._0x1aed62,0x121,_0x198aa7._0xa46feb,0x2fd)]??_0x1b4dc5,'files':_0x232002?[_0x35d3df]:void 0x0,'context':_0x3c1596[_0x37330c(_0x198aa7._0x54e11c,0x7f,_0x198aa7._0x19a91a,_0x198aa7._0x49c35a)]}),{matches:_0x114dbf}=_0x534431,_0xf932be=new Map();for(const _0x499302 of _0x114dbf){if(!_0xf932be[_0x37330c(0x428,_0x198aa7._0xeb35d4,0x1c4,_0x198aa7._0x392076)](_0x499302['filePath'])){const _0x15307d=await _0x491e8d(_0x499302[_0x1147d3(_0x198aa7._0x39eebc,_0x198aa7._0x5b729d,0x733,_0x198aa7._0x38bec3)])[_0x1147d3(_0x198aa7._0x1ec044,0x5a7,0x6a3,_0x198aa7._0x340666)](()=>null);_0xf932be[_0x37330c(0x657,_0x198aa7._0x5b2385,_0x198aa7._0x4f47e8,0x4c1)](_0x499302['filePath'],{'matches':[],'mtime':_0x15307d?.[_0x37330c(_0x198aa7._0x4627c7,0x120,_0x198aa7._0x581532,0x2bd)]??0x0});}_0xf932be[_0x1147d3(_0x198aa7._0x30a63b,0x8ef,_0x198aa7._0x45aee4,_0x198aa7._0x54656a)](_0x499302[_0x1147d3(0x4b8,_0x198aa7._0x519967,0x64d,0x542)])?.[_0x1147d3(0x754,_0x198aa7._0x38b4cf,_0x198aa7._0x1f852e,0x544)][_0x37330c(0x24d,_0x198aa7._0x1cd5d6,0x371,_0x198aa7._0x3e9937)](_0x499302);}const _0x10b539=[..._0xf932be[_0x37330c(0x2d6,0x4ee,0x295,_0x198aa7._0x2654bb)]()][_0x1147d3(0x6a7,_0x198aa7._0xfd24b5,_0x198aa7._0x27e0a8,_0x198aa7._0x22d4c1)]((_0xf82de3,_0x276898)=>_0x276898[0x1][_0x37330c(0x442,0x55b,0x5d4,0x5b9)]-_0xf82de3[0x1][_0x1147d3(0x683,0x747,0x6c7,0x828)]),_0x4c0b41=_0x232002?_0x4be3bc[_0x1147d3(0x6cd,0x539,0x47d,_0x198aa7._0x57209b)](_0x35d3df):_0x35d3df;function _0x37330c(_0x3b9d76,_0x7d253,_0x1f7df1,_0x268fee){return _0x55f013(_0x3b9d76-_0x25da8f._0x2ed97d,_0x7d253-_0x25da8f._0x270deb,_0x3b9d76,_0x268fee- -0x264);}let _0x17f847='';if(_0x114dbf[_0x37330c(0x714,_0x198aa7._0x5bba64,0x3d9,_0x198aa7._0x501259)]===0x0)_0x17f847=_0x37330c(0x76d,0x45a,_0x198aa7._0x8eac3e,0x648)+_0x3c1596[_0x37330c(_0x198aa7._0x45063a,_0x198aa7._0x124501,_0x198aa7._0xda6c6a,_0x198aa7._0x1997e7)];else{_0x17f847=_0x1147d3(_0x198aa7._0x5e3b2f,0x75d,_0x198aa7._0xcb8f72,0x571)+_0x534431[_0x37330c(_0x198aa7._0x1753d3,0x4be,0x2aa,_0x198aa7._0xc06a63)]+_0x37330c(0x608,0x327,_0x198aa7._0x5925de,_0x198aa7._0x34e959)+(_0x534431['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x49b24c,_0x46df89]of _0x10b539){const _0x29856b=_0x232002?_0x4be3bc[_0x1147d3(0x75f,0x6d0,0x5b4,_0x198aa7._0xfcf3a8)](_0x49b24c):_0x4be3bc[_0x1147d3(_0x198aa7._0x42f7d2,0x789,0x605,_0x198aa7._0x579bdf)](_0x4c0b41,_0x49b24c);_0x17f847+='\x0a'+_0x29856b+':\x0a';for(const _0x59dcd1 of _0x46df89[_0x37330c(_0x198aa7._0x412dd9,_0x198aa7._0x581532,_0x198aa7._0xed67ca,_0x198aa7._0x5d675b)]){const _0x20b255=boundedGrepSnippet(_0x59dcd1[_0x1147d3(_0x198aa7._0x1b48ea,0x92f,_0x198aa7._0x2e1545,0x757)]),_0x4a2437=_0x59dcd1[_0x37330c(_0x198aa7._0x17219d,0x508,0x5d2,0x5cd)]?'\x20\x20':'>\x20';_0x17f847+=_0x4a2437+_0x37330c(0x2c9,0x2a2,0x1a0,_0x198aa7._0x5e8630)+_0x59dcd1['lineNum']+':\x20'+_0x20b255+'\x0a';}}_0x534431[_0x37330c(0x2ab,_0x198aa7._0x448d40,0x3ac,0x2db)]&&(_0x17f847+=_0x37330c(_0x198aa7._0x596db2,_0x198aa7._0xd2fd31,0x17c,0x283));}const _0xe7883c={'searchPath':_0x4be3bc[_0x1147d3(0x49c,0x4ba,0x531,0x5dd)](_0x471263,_0x35d3df)||'.','pattern':_0x3c1596[_0x37330c(_0x198aa7._0xecc0c1,_0x198aa7._0xfe8bfa,_0x198aa7._0x201e65,_0x198aa7._0xee7e1a)],'matchCount':_0x534431['matchCount'],'fileCount':_0x534431[_0x1147d3(_0x198aa7._0x28429b,0x528,0x608,_0x198aa7._0x2bf941)],'truncated':_0x534431['truncated']};return _0x812c43&&_0x3c1596[_0x37330c(0x5c3,0x744,0x7cd,_0x198aa7._0xda6c6a)]!==void 0x0&&(_0xe7883c['include']=_0x3c1596['include']),yield createToolOutput(_0x17f847[_0x37330c(_0x198aa7._0x4b9b95,_0x198aa7._0x36ccb8,_0x198aa7._0x29ac24,_0x198aa7._0x25a054)](),_0xe7883c),void 0x0;}});}import{readdir,readFile as _0x3a206f,stat as _0x337fd9}from'fs/promises';import*as _0x27bf81 from'path';import*as _0x3a82fb from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x51f569,_0x301a52){const _0x3cd34d={_0x24ea7:0x6a2,_0x423eb4:0x57a,_0x403d2e:0x757,_0x41ee45:0x50d,_0x26f361:0x3b3,_0x2c7a7a:0x458,_0x2fd5d8:0x614,_0x592eec:0x93e,_0x2e4d78:0x8cc},_0x23a5af={_0x1ccd84:0x114},_0x5676ad={_0x106313:0x69};function _0x40494b(_0x39490a,_0xa642fe,_0x9b9bc2,_0x17a638){return _0x28bc81(_0x39490a-0x7d,_0xa642fe-_0x5676ad._0x106313,_0x17a638-0x1df,_0x39490a);}if(_0x301a52>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2d55c9=await _0x3a206f(_0x51f569)['catch'](()=>null);if(!_0x2d55c9||isProbablyBinary(_0x2d55c9))return void 0x0;function _0x4dda61(_0xb724d7,_0x3b0fb6,_0x5d0eee,_0x61c0c7){return _0x28bc81(_0xb724d7-0x54,_0x3b0fb6-_0x23a5af._0x1ccd84,_0x3b0fb6-0x2ce,_0x61c0c7);}return _0x2d55c9[_0x4dda61(_0x3cd34d._0x24ea7,0x66e,_0x3cd34d._0x423eb4,_0x3cd34d._0x403d2e)](_0x40494b(_0x3cd34d._0x41ee45,_0x3cd34d._0x26f361,0x337,_0x3cd34d._0x2c7a7a))[_0x40494b(_0x3cd34d._0x2fd5d8,0x6f2,0x7f4,0x624)](/\r?\n/)[_0x40494b(_0x3cd34d._0x592eec,_0x3cd34d._0x2e4d78,0x547,0x728)];}function createLsTool(_0x5ce9ef={}){const _0x5980ac={_0xa5ebed:0x46c,_0x4c3c67:0x5f3,_0x35fe36:0x319,_0x489ec5:0x47e,_0x41bcb2:0x509,_0x5d433f:0x399,_0x2973ff:0x2c6,_0x133afb:0x397},_0x84b33b={_0xf75bed:0x78b,_0x4c9077:0x589,_0x1ec2ee:0x1d3,_0x2aebec:0x57a,_0x1ff450:0x42a,_0x5cdea4:0x486,_0x2d7797:0x266,_0x2b1354:0x1b8,_0x1a37a9:0x18,_0x5a8d06:0x419,_0x1989d4:0x60a,_0x5f42a2:0x6a0,_0x57f666:0x4d7,_0x5efe78:0x5cb,_0x40e9f8:0xf3,_0x3b8567:0x1a0,_0x527d74:0x17d,_0x185af0:0x5c1,_0x1c41c3:0x600,_0x25169e:0x37a,_0x4370d8:0x3ce,_0x4db4fe:0x28f,_0x3eb4e8:0x69f,_0x15349a:0x543,_0x3450fa:0x72e,_0x4f8619:0x556,_0x3e2f51:0x685,_0x2a2cef:0xbf,_0x51f7d4:0xc7,_0x56fdc3:0x4b6,_0x28d3ef:0x1e3,_0x2aceae:0x3d6,_0x48bdb5:0x530,_0x8920fa:0x227,_0x1ed0ef:0x376,_0x50ac20:0x184,_0x32ce7b:0x193,_0x478fe3:0x2,_0xf33b21:0x308,_0x53187a:0x475,_0x25b375:0x329,_0x4b2a90:0x6cd,_0xfe5239:0x427,_0x5b2838:0x1a1,_0x4c462d:0x8f,_0x10e19b:0x225,_0x412435:0xea,_0x553d2a:0x2a6,_0x356a41:0x6ec,_0x1e5474:0x177,_0x301f80:0x3be,_0x3ec406:0x63,_0x155a20:0x397,_0x50298c:0x1f1},_0x31afab={_0x47818e:0x1cc},_0xae8d83={_0x55a89b:0x196,_0x6e3c08:0x112,_0x2149e3:0x61},_0xfce052=_0x27bf81['resolve'](_0x5ce9ef['defaultCwd']??process[_0x183ba6(_0x5980ac._0xa5ebed,_0x5980ac._0x4c3c67,0x64f,0x330)]()),_0x408a1d=_0x5ce9ef[_0x5e7a3b(0x3df,0x32b,0x5c0,0x600)]??[],_0x152173=_0x5ce9ef['name']??'Ls';function _0x5e7a3b(_0x3c468c,_0x4098aa,_0x32377e,_0xebe55){return _0x28bc81(_0x3c468c-_0xae8d83._0x55a89b,_0x4098aa-_0xae8d83._0x6e3c08,_0x3c468c-_0xae8d83._0x2149e3,_0xebe55);}function _0x183ba6(_0x4eb79c,_0x10d5ce,_0x44d1c6,_0x6bf25f){return _0x5b2413(_0x4eb79c-0xc7,_0x10d5ce-0x1e2,_0x4eb79c- -0x539,_0x6bf25f);}return defineTool({'name':_0x152173,'permissionClass':_0x5e7a3b(_0x5980ac._0x35fe36,0x290,_0x5980ac._0x489ec5,0x2d2),'description':_0x5e7a3b(_0x5980ac._0x41bcb2,0x4d4,_0x5980ac._0x5d433f,0x4fd),'inputSchema':{'type':_0x5e7a3b(_0x5980ac._0x2973ff,0x4d1,0x32d,0x400),'properties':{'path':{'type':'string'},'limit':{'type':_0x183ba6(0x286,0x6e,_0x5980ac._0x133afb,0x41d)}}},async *'execute'(_0xd384de){const _0x322546={_0x1174b8:0x113,_0x18109b:0x44},_0x3346c0=_0xd384de[_0xc2a088(0x79e,_0x84b33b._0xf75bed,0x66c,0x751)]??'.',_0x5861d9=resolveAllowedPath(_0xfce052,_0x408a1d,_0x3346c0),_0x71ec87=await _0x337fd9(_0x5861d9)[_0xc2a088(0x3ea,_0x84b33b._0x4c9077,0x3ce,_0x84b33b._0x1ec2ee)](()=>null);if(!_0x71ec87?.[_0xc2a088(_0x84b33b._0x2aebec,_0x84b33b._0x1ff450,0x52b,_0x84b33b._0x5cdea4)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x3346c0,{'path':_0x3346c0});const _0x2a063b=_0xd384de[_0x2d18e8(-0x2fa,-_0x84b33b._0x2d7797,-0xcd,-0xe5)]??0x3e8,_0x44055c=Math[_0x2d18e8(_0x84b33b._0x2b1354,-0x60,0x126,-_0x84b33b._0x1a37a9)](Math[_0xc2a088(_0x84b33b._0x5a8d06,0x5a0,_0x84b33b._0x1989d4,0x49c)](Math[_0xc2a088(0x682,_0x84b33b._0x5f42a2,_0x84b33b._0x57f666,_0x84b33b._0x5efe78)](_0x2a063b),0x1),0x2710);function _0xc2a088(_0x3e7cc5,_0x473cb1,_0xcd4e5b,_0x21f967){return _0x5e7a3b(_0xcd4e5b-0x142,_0x473cb1-_0x322546._0x1174b8,_0xcd4e5b-_0x322546._0x18109b,_0x473cb1);}const _0x3e5312=await readdir(_0x5861d9),_0x4b7411=[];for(const _0xb0a70c of _0x3e5312[_0x2d18e8(_0x84b33b._0x40e9f8,0x1a6,_0x84b33b._0x3b8567,_0x84b33b._0x527d74)](0x0,_0x44055c)){const _0x210044=_0x27bf81[_0xc2a088(_0x84b33b._0x185af0,0x448,_0x84b33b._0x1c41c3,0x66c)](_0x5861d9,_0xb0a70c),_0x5ef590=await _0x337fd9(_0x210044)[_0xc2a088(0x303,_0x84b33b._0x25169e,_0x84b33b._0x4370d8,_0x84b33b._0x4db4fe)](()=>null);if(!_0x5ef590)continue;let _0x5be154=_0xc2a088(_0x84b33b._0x3eb4e8,_0x84b33b._0x15349a,_0x84b33b._0x3450fa,_0x84b33b._0x4f8619);if(_0x5ef590['isFile']())_0x5be154='file';else{if(_0x5ef590['isDirectory']())_0x5be154=_0xc2a088(_0x84b33b._0x3e2f51,0x6ff,0x522,0x688);else{if(_0x5ef590[_0x2d18e8(0xd4,-_0x84b33b._0x2a2cef,0x2ea,_0x84b33b._0x51f7d4)]())_0x5be154='symlink';}}const _0x177342={'name':_0xb0a70c,'type':_0x5be154,'size':_0x5ef590[_0xc2a088(0x3fa,0x469,0x475,_0x84b33b._0x56fdc3)],'mtime':_0x5ef590[_0xc2a088(0x4d1,_0x84b33b._0x28d3ef,_0x84b33b._0x2aceae,_0x84b33b._0x48bdb5)],'mode':_0x5ef590[_0x2d18e8(_0x84b33b._0x8920fa,_0x84b33b._0x1ed0ef,0x24d,_0x84b33b._0x50ac20)]},_0x13188e=_0x5be154===_0x2d18e8(_0x84b33b._0x32ce7b,_0x84b33b._0x478fe3,-0x79,0x12e)?await countTextLines(_0x210044,_0x5ef590[_0xc2a088(0x59c,_0x84b33b._0xf33b21,_0x84b33b._0x53187a,_0x84b33b._0x25b375)]):void 0x0;if(_0x13188e!==void 0x0)_0x177342[_0xc2a088(0x641,_0x84b33b._0x4b2a90,0x532,_0x84b33b._0xfe5239)]=_0x13188e;_0x4b7411[_0x2d18e8(_0x84b33b._0x5b2838,-_0x84b33b._0x4c462d,_0x84b33b._0x10e19b,0x5e)](_0x177342);}_0x4b7411[_0x2d18e8(_0x84b33b._0x412435,-_0x84b33b._0x553d2a,0x9b,-0x90)]((_0x1eaac0,_0x480858)=>_0x1eaac0['name']['localeCompare'](_0x480858[_0xc2a088(0x737,0x406,0x619,0x706)]));const _0x5d592d={'path':_0x3346c0,'total':_0x4b7411[_0xc2a088(0x750,0x8d9,_0x84b33b._0x356a41,0x56f)],'truncated':_0x3e5312['length']>_0x44055c,'entries':_0x4b7411};yield createToolOutput(_0x3a82fb[_0x2d18e8(0x2ad,_0x84b33b._0x1e5474,_0x84b33b._0x301f80,0x1dc)](_0x5d592d,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x3346c0,'total':_0x4b7411[_0x2d18e8(_0x84b33b._0x3ec406,0xec,_0x84b33b._0x155a20,_0x84b33b._0x50298c)],'truncated':_0x3e5312['length']>_0x44055c,'limit':_0x44055c,'entries':_0x4b7411});function _0x2d18e8(_0x11bb6c,_0x313497,_0x3729f2,_0x55ded7){return _0x183ba6(_0x55ded7- -0x1be,_0x313497-_0x31afab._0x47818e,_0x3729f2-0x1e2,_0x313497);}return void 0x0;}});}import{readFile as _0x75aaf0,stat as _0x98e461}from'fs/promises';import*as _0x3ed9fb from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x28bc81(0x1b9,0x160,0x366,0x172),'high',_0x28bc81(0x230,0x348,0x2ea,0x447),_0x28bc81(0x230,0x118,0x286,0x426)]),PNG_SIGNATURE=Buffer[_0x5b2413(0x4b2,0x4a2,0x5a7,0x6a6)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x295855,_0x333522){const _0x48d22c={_0x1de3c6:0x19a,_0x5d65bc:0x2bd,_0x2ec0e0:0x3fe,_0x49d2d3:0x5de,_0xe9f095:0x416,_0x532088:0x329,_0x12d8a7:0x35f,_0x54b45a:0x2ca,_0x4dfeaa:0x4d8,_0x72cc67:0x4a6,_0x1715a6:0x360,_0xe05711:0x4fd,_0x24c759:0x4dc,_0x215199:0x5b4,_0x412454:0x2d3,_0x28a4b4:0x35f,_0x3e6e1d:0x174,_0x41d1b9:0x56e,_0x2d64bc:0x1b8,_0x5ea883:0x4cc,_0xff066e:0x6e0,_0x5a1de8:0x65c,_0x17972d:0xe7,_0x466121:0x404,_0x4dd4f0:0x24d,_0x3d0947:0x3fa,_0x35da73:0x39d,_0x21876c:0x33c,_0x30bf91:0x251,_0x4ab92c:0x425,_0x34abca:0x2ab,_0x9caf5b:0x9f,_0x26a761:0x4b1,_0xd607ca:0x3bf,_0x389b9f:0x20f,_0x12ec09:0x1de,_0xcb72b2:0x39b,_0x137fac:0x233,_0x5e7fab:0x507,_0x14170a:0x1e3,_0x292e2c:0x3b1,_0x5eb64b:0x426,_0x45fe12:0x4c4},_0x4162db={_0x29b52e:0x5d};if(_0x295855[_0x6fcf62(0x2f6,_0x48d22c._0x1de3c6,_0x48d22c._0x5d65bc,_0x48d22c._0x2ec0e0)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x6fcf62(_0x48d22c._0x49d2d3,0x609,_0x48d22c._0xe9f095,_0x48d22c._0x532088);function _0x6fcf62(_0x1b2cd5,_0x4aaf81,_0x52c4e0,_0x271cf4){return _0x5b2413(_0x1b2cd5-_0x4162db._0x29b52e,_0x4aaf81-0x5d,_0x52c4e0- -0x481,_0x4aaf81);}if(_0x295855[0x0]===0xff&&_0x295855[0x1]===0xd8&&_0x295855[0x2]===0xff)return'image/jpeg';const _0x132c38=_0x295855[_0x480768(_0x48d22c._0x12d8a7,_0x48d22c._0x54b45a,_0x48d22c._0x4dfeaa,_0x48d22c._0x72cc67)](0x0,0x6)[_0x480768(_0x48d22c._0x1715a6,_0x48d22c._0xe05711,0x18b,_0x48d22c._0x24c759)]('ascii');if(_0x132c38===_0x480768(_0x48d22c._0x215199,0x7b2,0x452,0x5f9)||_0x132c38===_0x6fcf62(0x2ba,0x283,_0x48d22c._0x412454,_0x48d22c._0x28a4b4))return _0x6fcf62(_0x48d22c._0x3e6e1d,0x2d4,0x384,_0x48d22c._0x41d1b9);function _0x480768(_0x19245f,_0x2201da,_0xe7814a,_0x5905f7){return _0x5b2413(_0x19245f-0x5,_0x2201da-0xec,_0x19245f- -0x3df,_0x2201da);}if(_0x295855[_0x6fcf62(0x182,0x36c,0x2bd,_0x48d22c._0x2d64bc)](0x0,0x4)['toString'](_0x480768(0x24d,0x434,0x13f,0x1f9))===_0x480768(_0x48d22c._0x5ea883,_0x48d22c._0xff066e,_0x48d22c._0x5a1de8,0x4ea)&&_0x295855[_0x6fcf62(0x480,0x338,0x2bd,_0x48d22c._0x17972d)](0x8,0xc)[_0x6fcf62(0x310,0x30d,0x2be,_0x48d22c._0x466121)](_0x480768(_0x48d22c._0x4dd4f0,0xd2,0x327,_0x48d22c._0x3d0947))===_0x480768(0x2db,_0x48d22c._0x35da73,_0x48d22c._0x21876c,0x4a5))return'image/webp';const _0x57a126=_0x3ed9fb[_0x480768(_0x48d22c._0x30bf91,_0x48d22c._0x4ab92c,_0x48d22c._0x34abca,_0x48d22c._0x9caf5b)](_0x333522)[_0x480768(0x336,0x2bf,0x33b,_0x48d22c._0x26a761)]();if(_0x57a126==='.png')return'image/png';if(_0x57a126===_0x480768(0x298,0x196,0x84,_0x48d22c._0xd607ca)||_0x57a126===_0x6fcf62(0x3e6,0x31d,_0x48d22c._0x389b9f,_0x48d22c._0x12ec09))return _0x480768(_0x48d22c._0xcb72b2,_0x48d22c._0x137fac,_0x48d22c._0x5e7fab,0x3f1);if(_0x57a126===_0x6fcf62(0x453,_0x48d22c._0x14170a,_0x48d22c._0x292e2c,0x39c))return _0x480768(_0x48d22c._0x5eb64b,0x3ed,_0x48d22c._0x45fe12,0x2bb);if(_0x57a126==='.webp')return'image/webp';return void 0x0;}function normalizeDetail(_0x1daf18){const _0x211220={_0xce8992:0x879,_0x4b822c:0x774,_0x9b3164:0x847,_0xb662af:0x76b,_0x425955:0x489,_0x50e7f8:0x7e9,_0x3db8e1:0x9c6},_0x42f510={_0x51dc2e:0xb2},_0x2ed6c3={_0xa873b1:0xed};function _0xbec027(_0x59bac7,_0x231320,_0x42e2fa,_0x3e1301){return _0x5b2413(_0x59bac7-_0x2ed6c3._0xa873b1,_0x231320-0x84,_0x3e1301- -0x32,_0x59bac7);}if(_0x1daf18===void 0x0)return void 0x0;const _0x1dd8bb=_0x1daf18[_0xbec027(_0x211220._0xce8992,_0x211220._0x4b822c,_0x211220._0x9b3164,0x685)]()[_0x5594bf(_0x211220._0xb662af,0x6a0,0x94b,0x82e)]();function _0x5594bf(_0x323ec3,_0x3b97b3,_0x2fd965,_0x4fea98){return _0x5b2413(_0x323ec3-_0x42f510._0x51dc2e,_0x3b97b3-0x26,_0x323ec3-0x56,_0x4fea98);}if(!SUPPORTED_DETAILS[_0xbec027(_0x211220._0x425955,0x52f,_0x211220._0x50e7f8,0x678)](_0x1dd8bb))throw new ToolExecutionError(_0x5594bf(0x811,_0x211220._0x3db8e1,0x721,0x8cf)+_0x1daf18,{'detail':_0x1daf18});return _0x1dd8bb;}function createViewFileTool(_0x104b92={}){const _0x67918d={_0x211aec:0x214,_0x6cd89d:0x12f,_0x1b0ee6:0x169,_0xf22974:0x80c,_0x15ceb5:0x873,_0x111bc3:0x6d0,_0x523da9:0x588,_0x536c1f:0x5d5,_0x518e42:0x577,_0x5dda02:0x11d,_0x4bc11b:0xda,_0x4345d2:0x690,_0x2d9e5f:0x6a8,_0x120ed3:0x67a,_0x83d20a:0x1d3,_0x2b7ef0:0x7d,_0x5c8cdd:0x47,_0x152015:0x601,_0x8a3447:0x5bf,_0x1aa034:0x5fe,_0x3c6bef:0x12d,_0x3e9453:0x61,_0x2f6643:0xe7},_0x2605b5={_0x323223:0x258,_0x2fc1b1:0x274,_0x464255:0x3a5,_0x2aac7b:0x2f9,_0x5c94f9:0x3e5,_0x1edd98:0x569,_0x311456:0x3f9,_0x3b52bb:0x247,_0x262fa:0x3ec,_0x4b2a7b:0x48d,_0x57e42f:0x226,_0x202cba:0x12e,_0xb072e1:0x18c,_0x1d3f12:0x1e2,_0x2bc1d0:0x406,_0x541f03:0x4b7,_0x35b723:0x4bf,_0x52a17b:0x654,_0x3932c7:0x5fd,_0x454909:0x425,_0x16bd13:0x4af,_0x4a6e55:0x42a,_0x43f88d:0x20b,_0x3845a6:0x322,_0x163dcf:0x215,_0x5f166f:0x276,_0x423802:0x593,_0x2ccab7:0x3ff,_0x23b218:0x442,_0x42955b:0x547,_0xe3f63b:0x410,_0x34a203:0x2ce,_0x403254:0x424,_0xb00ae9:0x172,_0x178fc2:0x2d9,_0x3a1693:0xed,_0x44030c:0x3ef,_0x5bf277:0x685,_0xe2ba85:0x2a5,_0x46c4c0:0x2f0,_0x28bc4e:0x70,_0x2a2c21:0x1fd,_0x543d4f:0x235,_0x2c6d0:0x2e1,_0x1c900f:0x3cb,_0x42fb08:0x274,_0x44a570:0x10f},_0x36b995={_0x264449:0xf8,_0x1197b9:0xdb},_0x30684a={_0x3bc2b1:0x1e1,_0xf21aaa:0x81},_0x1ed6a1=_0x3ed9fb['resolve'](_0x104b92[_0xc099d5(-_0x67918d._0x211aec,-0xa0,_0x67918d._0x6cd89d,_0x67918d._0x1b0ee6)]??process[_0x39a137(_0x67918d._0xf22974,0x971,_0x67918d._0x15ceb5,0x982)]()),_0x315372=_0x104b92['allowedDirs']??[],_0x581ef7=_0x104b92[_0x39a137(_0x67918d._0x111bc3,_0x67918d._0x523da9,_0x67918d._0x536c1f,_0x67918d._0x518e42)]??DEFAULT_MAX_BYTES;function _0x39a137(_0x22f249,_0x22fc2c,_0xbc6e2a,_0x4d373b){return _0x5b2413(_0x22f249-_0x30684a._0x3bc2b1,_0x22fc2c-_0x30684a._0xf21aaa,_0x22fc2c- -0x34,_0xbc6e2a);}function _0xc099d5(_0x357a39,_0x2d21e3,_0x3a2e41,_0x107f11){return _0x28bc81(_0x357a39-_0x36b995._0x264449,_0x2d21e3-_0x36b995._0x1197b9,_0x2d21e3- -0x39c,_0x107f11);}const _0x3f9191=_0x104b92[_0xc099d5(-_0x67918d._0x5dda02,_0x67918d._0x4bc11b,0x8,0x259)]??_0x39a137(0x7ac,_0x67918d._0x4345d2,0x87a,0x4e0);return defineTool({'name':_0x3f9191,'permissionClass':'read','description':_0x39a137(0x4b1,_0x67918d._0x2d9e5f,0x4f3,_0x67918d._0x120ed3),'inputSchema':{'type':_0xc099d5(-_0x67918d._0x83d20a,-0x137,_0x67918d._0x2b7ef0,-_0x67918d._0x5c8cdd),'properties':{'path':{'type':_0x39a137(0x7d2,_0x67918d._0x152015,_0x67918d._0x8a3447,_0x67918d._0x1aa034)},'detail':{'type':'string'}},'required':[_0xc099d5(-0x61,_0x67918d._0x3c6bef,-_0x67918d._0x3e9453,_0x67918d._0x2f6643)]},async *'execute'(_0x452c76){const _0x2c6900={_0x311904:0x33e,_0x51c280:0xae},_0x3d36d8={_0x224b06:0x2d5},_0x5c1b08=resolveAllowedPath(_0x1ed6a1,_0x315372,_0x452c76['path']);await assertWorkspaceFile(_0x5c1b08);const _0xdb7118=await _0x98e461(_0x5c1b08);if(_0xdb7118[_0x582a66(_0x2605b5._0x323223,0x33c,_0x2605b5._0x2fc1b1,0x497)]>_0x581ef7)throw new ToolExecutionError(_0x4db929(0x21f,_0x2605b5._0x464255,0x275,0x74)+_0x452c76[_0x4db929(_0x2605b5._0x2aac7b,0x4c3,0x402,0x33e)],{'path':_0x452c76['path'],'maxBytes':_0x581ef7,'size':_0xdb7118[_0x4db929(0x3af,0x2de,0x20b,0x1e9)]});const _0x531b19=await _0x75aaf0(_0x5c1b08),_0x5b92b2=detectImageMediaType(_0x531b19,_0x5c1b08);if(!_0x5b92b2)throw new ToolExecutionError(_0x4db929(_0x2605b5._0x5c94f9,_0x2605b5._0x1edd98,_0x2605b5._0x311456,0x278)+_0x452c76[_0x4db929(_0x2605b5._0x3b52bb,0x400,0x402,_0x2605b5._0x262fa)],{'path':_0x452c76['path'],'supported':[_0x582a66(0x359,0x382,0x435,_0x2605b5._0x4b2a7b),_0x582a66(0xbb,0x461,0x293,0x177),_0x582a66(_0x2605b5._0x57e42f,_0x2605b5._0x202cba,0x27a,0x153),_0x582a66(_0x2605b5._0xb072e1,_0x2605b5._0x1d3f12,0x253,0x88),_0x582a66(0x28b,0x439,_0x2605b5._0x2bc1d0,0x2e4)]});const _0x18e554=normalizeDetail(_0x452c76[_0x4db929(0x3bd,_0x2605b5._0x541f03,0x349,0x2f3)]),_0x38e761=[_0x582a66(_0x2605b5._0x35b723,_0x2605b5._0x52a17b,0x4b2,_0x2605b5._0x3932c7)+_0x452c76[_0x4db929(_0x2605b5._0x454909,0x286,0x402,_0x2605b5._0x16bd13)],_0x4db929(0x516,0x4c0,0x330,0x331)+_0x5b92b2,'Size:\x20'+_0xdb7118[_0x4db929(0x2ce,_0x2605b5._0x4a6e55,_0x2605b5._0x43f88d,0x14b)]+_0x582a66(0x14e,0x533,_0x2605b5._0x3845a6,0x147)]['concat'](_0x18e554?[_0x582a66(_0x2605b5._0x163dcf,0x17f,0x17d,_0x2605b5._0x5f166f)+_0x18e554]:[])[_0x582a66(0x3ce,_0x2605b5._0x423802,_0x2605b5._0x2ccab7,0x37d)]('\x0a');function _0x4db929(_0x2037e4,_0x3b1183,_0x2b795c,_0x1ee1f8){return _0xc099d5(_0x2037e4-0x9f,_0x2b795c-_0x3d36d8._0x224b06,_0x2b795c-0x2f,_0x3b1183);}function _0x582a66(_0x593685,_0x8d32ee,_0x4deda7,_0x22ebce){return _0xc099d5(_0x593685-0xf0,_0x4deda7-_0x2c6900._0x311904,_0x4deda7-_0x2c6900._0x51c280,_0x8d32ee);}const _0x24c1fa=[{'type':_0x4db929(_0x2605b5._0x23b218,_0x2605b5._0x42955b,_0x2605b5._0xe3f63b,_0x2605b5._0x34a203),'source':{'type':_0x4db929(_0x2605b5._0x403254,0x1a3,0x21a,0xe0),'media_type':_0x5b92b2,'data':_0x531b19[_0x4db929(0xbb,_0x2605b5._0xb00ae9,_0x2605b5._0x178fc2,_0x2605b5._0x3a1693)](_0x4db929(_0x2605b5._0x44030c,0x41d,0x21a,0x1d8))}},{'type':'text','text':_0x38e761}];return yield createToolOutput(_0x38e761,{'path':_0x452c76[_0x582a66(_0x2605b5._0x5bf277,0x435,0x46b,0x44b)],'resolvedPath':_0x5c1b08,'created':_0xdb7118[_0x4db929(0x15c,_0x2605b5._0xe2ba85,_0x2605b5._0x46c4c0,_0x2605b5._0x23b218)][_0x4db929(0x124,_0x2605b5._0x28bc4e,0x16f,0x31e)](),'modified':_0xdb7118[_0x4db929(0x529,0x3b4,0x468,0x2b4)][_0x4db929(_0x2605b5._0x2a2c21,_0x2605b5._0x543d4f,0x16f,_0x2605b5._0x2c6d0)](),'size':_0xdb7118[_0x582a66(0x1d5,_0x2605b5._0x1c900f,_0x2605b5._0x42fb08,_0x2605b5._0x44a570)],'mimeType':_0x5b92b2,'encoding':_0x582a66(0x3ff,0x205,0x283,0x3f4),..._0x18e554?{'detail':_0x18e554}:{}},_0x24c1fa),void 0x0;}});}function createQuestionId(){const _0x1fc032={_0x16534a:0x2cc,_0x136eba:0x4b9,_0x38218c:0x4c3,_0x368e37:0x425,_0x239d0b:0x3b3},_0x11dee1={_0x292dee:0x1e5,_0x3be68f:0x30b},_0x2713ad={_0x1f0c7e:0xe,_0x5ca6c1:0xcf};function _0x329290(_0x783970,_0x227eed,_0xd2162c,_0x2567c7){return _0x28bc81(_0x783970-_0x2713ad._0x1f0c7e,_0x227eed-_0x2713ad._0x5ca6c1,_0x2567c7- -0x8,_0xd2162c);}function _0x55e801(_0xf0074d,_0xb6c11a,_0x3b447f,_0x1c78b9){return _0x28bc81(_0xf0074d-0xf4,_0xb6c11a-_0x11dee1._0x292dee,_0xf0074d- -_0x11dee1._0x3be68f,_0xb6c11a);}return _0x55e801(_0x1fc032._0x16534a,0x271,_0x1fc032._0x136eba,0x2f4)+Date[_0x329290(0x3bd,_0x1fc032._0x38218c,0x39e,0x382)]()+'-'+Math[_0x55e801(0x272,_0x1fc032._0x368e37,_0x1fc032._0x239d0b,0x66)]()['toString'](0x24)['slice'](0x2,0x9);}function validateInput(_0x16f393){const _0x178aff={_0xdcdf2c:0x4b5,_0x231114:0x38d,_0x73f779:0x759,_0x59e133:0x612,_0x4318f0:0x4ed,_0x473bb0:0x713,_0xdb179d:0x7f4,_0x1a8e23:0x8ec,_0x451205:0x733,_0x2df772:0x361,_0x12b920:0x568,_0x1f2d25:0x866,_0x3f0dff:0x8e8,_0x275ec5:0x555,_0x581c65:0x6ec,_0x25c1a3:0x639,_0x16c633:0x53c,_0x1dc0b5:0x52f,_0x4b57d8:0x74e,_0x30b43a:0x6d0,_0x25fb19:0x6ef,_0x3f31ca:0x7e1,_0x5ed2e1:0x5d2,_0x5794a1:0x6b7,_0x585fea:0x4f5,_0x273118:0x958,_0x23905b:0x88d,_0xe0b5c8:0x7bd,_0x439888:0x716,_0x4af137:0x8f5,_0x46f487:0x44e,_0x2a326d:0x6e9,_0x273b44:0x64e,_0xbf4fc5:0x716,_0x10dfde:0x7a2,_0x59dc27:0x79a,_0x368823:0x68c,_0x10b92e:0x627,_0x401d08:0x6ca,_0x452688:0x89f,_0x4b2663:0x5e7,_0x4aabf5:0x7f3,_0x21916b:0x490,_0x3629e5:0x7d9,_0x329860:0x56a,_0x4b468b:0x623,_0x29e9df:0x6e2,_0x421ff1:0x6fe,_0x34e7fc:0x54a,_0x264443:0x6e2,_0x18432a:0x7b9,_0x5974b4:0x7fb,_0x1eda60:0x81f,_0x2fe70e:0x8da,_0x5dd89a:0x832,_0x489dc8:0x7a8,_0x83227c:0x561,_0x300455:0x647,_0x3077d0:0x8a5,_0x28aa0b:0x83a,_0x5acfbe:0xa04,_0x1bfd10:0x71c,_0x305404:0x944,_0xb063b6:0x90f,_0x1ef359:0x8c7,_0xe2c7e1:0x753,_0x1dd59c:0x9a2,_0x32f387:0x813,_0x23dc07:0x80b,_0x4f5113:0x69f,_0x4478e6:0x71b,_0x53315b:0x6ae,_0x2d72c1:0x7c9,_0x23bf18:0x90b},_0x35c709={_0x533bd3:0x5d,_0x4b8afa:0x25f};function _0x526364(_0x27a88a,_0x3a09b3,_0x3767dc,_0x4a1e15){return _0x28bc81(_0x27a88a-0xee,_0x3a09b3-0x1f0,_0x27a88a-0x3a3,_0x3a09b3);}function _0x4d01b5(_0x1207dd,_0xbec4f3,_0x301a31,_0x1046d1){return _0x28bc81(_0x1207dd-_0x35c709._0x533bd3,_0xbec4f3-0x189,_0x1046d1-_0x35c709._0x4b8afa,_0x1207dd);}if(!Array['isArray'](_0x16f393['questions'])||_0x16f393[_0x4d01b5(_0x178aff._0xdcdf2c,_0x178aff._0x231114,0x774,0x579)][_0x4d01b5(_0x178aff._0x73f779,_0x178aff._0x59e133,0x762,0x7a8)]<0x1||_0x16f393[_0x526364(0x6bd,_0x178aff._0x4318f0,_0x178aff._0x473bb0,_0x178aff._0xdb179d)][_0x526364(_0x178aff._0x1a8e23,0x9b6,0x8d4,0x992)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x526364(0x57b,0x54d,_0x178aff._0x451205,_0x178aff._0x2df772)});for(let _0x51942e=0x0;_0x51942e<_0x16f393['questions']['length'];_0x51942e+=0x1){const _0x3ec60c=_0x16f393[_0x526364(0x6bd,_0x178aff._0x12b920,_0x178aff._0x1f2d25,0x827)][_0x51942e];if(!_0x3ec60c[_0x526364(0x71f,_0x178aff._0x3f0dff,0x875,_0x178aff._0x275ec5)]||typeof _0x3ec60c[_0x4d01b5(0x6a4,0x52c,_0x178aff._0x581c65,0x5db)]!==_0x526364(_0x178aff._0x25c1a3,_0x178aff._0x16c633,0x4bd,0x734))throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(_0x178aff._0x1dc0b5,_0x178aff._0x4b57d8,0x80d,_0x178aff._0x30b43a));if(!_0x3ec60c[_0x526364(0x716,_0x178aff._0x25fb19,0x542,0x80a)]||typeof _0x3ec60c[_0x4d01b5(0x47b,_0x178aff._0x3f31ca,0x534,_0x178aff._0x5ed2e1)]!==_0x4d01b5(0x6ca,0x2d7,_0x178aff._0x5794a1,_0x178aff._0x585fea))throw new ToolExecutionError(_0x526364(0x7e3,_0x178aff._0x273118,_0x178aff._0x23905b,_0x178aff._0xe0b5c8)+(_0x51942e+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3ec60c[_0x526364(_0x178aff._0x439888,0x813,_0x178aff._0x4af137,0x6c2)]['length']>0x1e)throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(0x6bf,_0x178aff._0x46f487,_0x178aff._0x2a326d,_0x178aff._0x273b44)+_0x3ec60c[_0x526364(_0x178aff._0xbf4fc5,_0x178aff._0x10dfde,_0x178aff._0x59dc27,_0x178aff._0x368823)][_0x4d01b5(_0x178aff._0x10b92e,_0x178aff._0x401d08,_0x178aff._0x452688,0x7a8)]);if(!Array[_0x526364(_0x178aff._0x4b2663,_0x178aff._0x4aabf5,_0x178aff._0x21916b,_0x178aff._0x3629e5)](_0x3ec60c[_0x4d01b5(_0x178aff._0x329860,_0x178aff._0x4b468b,0x4f6,_0x178aff._0x29e9df)])||_0x3ec60c[_0x4d01b5(_0x178aff._0x421ff1,0x58a,_0x178aff._0x34e7fc,_0x178aff._0x264443)]['length']<0x2||_0x3ec60c[_0x4d01b5(0x694,_0x178aff._0x18432a,_0x178aff._0x5974b4,0x6e2)]['length']>0x4)throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(_0x178aff._0x1eda60,0x8dc,_0x178aff._0x2fe70e,0x6d3));for(let _0x2dfe9c=0x0;_0x2dfe9c<_0x3ec60c[_0x526364(0x826,0x8a0,0x7dd,0x9ff)][_0x4d01b5(0x645,0x689,_0x178aff._0x5dd89a,_0x178aff._0x489dc8)];_0x2dfe9c+=0x1){const _0x5075c5=_0x3ec60c[_0x526364(0x826,0x711,0x8d7,0x876)][_0x2dfe9c];if(!_0x5075c5[_0x4d01b5(0x521,0x82f,_0x178aff._0x83227c,_0x178aff._0x300455)]||!_0x5075c5[_0x526364(_0x178aff._0x3077d0,0x9f7,0x7c0,_0x178aff._0x28aa0b)])throw new ToolExecutionError(_0x526364(0x7e3,0x661,0x89d,_0x178aff._0x5acfbe)+(_0x51942e+0x1)+',\x20Option\x20'+(_0x2dfe9c+0x1)+_0x4d01b5(0x92f,0x653,0x641,_0x178aff._0x1bfd10));}if(typeof _0x3ec60c[_0x526364(_0x178aff._0x305404,_0x178aff._0xb063b6,0x824,0xa0d)]!==_0x526364(_0x178aff._0x1ef359,0x8bc,_0x178aff._0xe2c7e1,_0x178aff._0x1dd59c))throw new ToolExecutionError(_0x4d01b5(_0x178aff._0x32f387,_0x178aff._0x23dc07,0x6ee,_0x178aff._0x4f5113)+(_0x51942e+0x1)+_0x526364(_0x178aff._0x4478e6,_0x178aff._0x53315b,_0x178aff._0x2d72c1,_0x178aff._0x23bf18));}}function buildQuestions(_0x548ad2){const _0x48a9a3={_0x3ee4ca:0x370,_0x163751:0x467,_0x435db8:0x8b0,_0x161510:0x78d},_0x156c68={_0xcca56d:0x142},_0x523120={_0x508c21:0x7b,_0xa0de66:0x666};function _0x5c892d(_0x368254,_0x38b203,_0x422d21,_0x292d72){return _0x5b2413(_0x368254-0x6,_0x38b203-_0x523120._0x508c21,_0x368254- -_0x523120._0xa0de66,_0x292d72);}function _0x2e8f1e(_0x529286,_0x29d237,_0x4f61e9,_0x471ea0){return _0x28bc81(_0x529286-0x111,_0x29d237-_0x156c68._0xcca56d,_0x471ea0-0x15b,_0x4f61e9);}return _0x548ad2[_0x2e8f1e(_0x48a9a3._0x3ee4ca,_0x48a9a3._0x163751,0x684,0x475)][_0x2e8f1e(_0x48a9a3._0x435db8,0x604,_0x48a9a3._0x161510,0x72c)]((_0x3d1176,_0x318844)=>({'id':'q'+_0x318844,'question':_0x3d1176[_0x5c892d(0xb5,-0x125,0x23b,0x230)],'topic':_0x3d1176[_0x5c892d(0xac,0x1cb,-0x2d,-0x68)],'options':_0x3d1176[_0x2e8f1e(0x65e,0x763,0x570,0x5de)],'multiSelect':_0x3d1176[_0x5c892d(0x2da,0x21f,0x34f,0x4f5)]}));}function createResult(_0x113d19,_0x533537,_0x4419ab){const _0x5448be={_0x1cab2d:0x1ff,_0x6747a0:0x625,_0x79ade:0x730},_0x2908b4={_0x3693e6:0xda},_0x4be8d4={_0x498d23:0xc5,_0x3ed7c1:0x4f9};function _0x3b3c49(_0x2db623,_0x234979,_0x397f68,_0x4392b9){return _0x5b2413(_0x2db623-0x104,_0x234979-_0x4be8d4._0x498d23,_0x2db623- -_0x4be8d4._0x3ed7c1,_0x234979);}const _0xea808f={'questionId':_0x113d19,'questionCount':_0x533537,'answers':_0x4419ab};function _0x28a279(_0x384f25,_0x497211,_0x408e15,_0x358da2){return _0x28bc81(_0x384f25-_0x2908b4._0x3693e6,_0x497211-0xa0,_0x497211-0xf1,_0x408e15);}return createToolOutput(_0x3b3c49(_0x5448be._0x1cab2d,0xaf,0x1de,0x370)+JSON[_0x28a279(0x62d,_0x5448be._0x6747a0,0x573,_0x5448be._0x79ade)](_0x4419ab,null,0x2),_0xea808f);}function createAskUserTool(){const _0x785b20={_0x1b452e:0xc0,_0x10b3f2:0x48e,_0x1b9213:0x5bb,_0x3b0652:0x96,_0x28e1a3:0xc9,_0x2c1c03:0x25b,_0x300944:0xd1,_0x18e278:0x9e,_0x1b6803:0x2c4,_0x57fec7:0x2f0,_0x5864a6:0x6d,_0xce9b38:0x184,_0x15d7e2:0x159,_0xc26613:0x58,_0x157cb2:0x9e,_0x25e9e2:0xc1,_0x4ee5d0:0xbc,_0x444154:0x185,_0x139795:0x360,_0x253a29:0x28c,_0x4bae33:0x12e,_0x19bade:0x1f0,_0x2c7694:0x43c,_0x524516:0x41c,_0x2a9a29:0x3a6,_0x2d1618:0x3b2,_0x342154:0x61e,_0x4828d4:0x25b,_0xff575b:0x16e,_0x52d504:0x81,_0x228fe8:0x28b,_0x248212:0x442,_0x4150e6:0x66f,_0x2eaa57:0x55f,_0x2d34b4:0xcf,_0x917648:0x159,_0x5e6ada:0x167,_0x32247c:0x122,_0x2c9b40:0x179},_0x33df54={_0x34467f:0x1e1,_0x57c6f4:0x2c8,_0x2f8d91:0x3fd,_0x591f12:0x415,_0x194d2c:0x364,_0x4a6616:0x155,_0x3161fa:0x553,_0x4d0bab:0x721,_0x5d0830:0x51b,_0xa0123f:0x407,_0x464ed7:0x513,_0x50bf83:0x201,_0x2ca8f4:0x45,_0x47c765:0x6bb,_0x19d0e2:0x73a,_0x14316a:0x2d4,_0x1e5295:0x1ce,_0x4eec9c:0x284,_0x32a07f:0x1eb,_0x203141:0x507},_0x17cefc={_0x5e8a94:0xe2,_0x53d25f:0x142},_0x428b37={_0x54b7f7:0x18b,_0x1b8541:0x10c},_0x32b123={_0x2c0ea4:0x142};function _0x4d7120(_0x34c823,_0x594320,_0x45a9b5,_0x29fa9e){return _0x5b2413(_0x34c823-_0x32b123._0x2c0ea4,_0x594320-0x44,_0x29fa9e- -0x3a9,_0x45a9b5);}function _0x17e070(_0x32a002,_0x57f604,_0x30fe1a,_0xc2e0bb){return _0x28bc81(_0x32a002-_0x428b37._0x54b7f7,_0x57f604-_0x428b37._0x1b8541,_0x30fe1a- -0x1f8,_0x57f604);}return defineTool({'name':'AskUserTool','permissionClass':_0x17e070(0x25a,-0x1c,_0x785b20._0x1b452e,0x86),'description':_0x4d7120(0x6b5,0x715,_0x785b20._0x10b3f2,_0x785b20._0x1b9213),'inputSchema':{'type':'object','properties':{'questions':{'type':_0x17e070(-_0x785b20._0x3b0652,0xa3,0x102,0x2d5),'items':{'type':_0x4d7120(0x2d0,0x3d6,_0x785b20._0x28e1a3,_0x785b20._0x2c1c03),'properties':{'question':{'type':_0x17e070(_0x785b20._0x300944,0x38,_0x785b20._0x18e278,-0x9c)},'topic':{'type':'string'},'options':{'type':_0x4d7120(0x1dc,0x4ef,_0x785b20._0x1b6803,_0x785b20._0x57fec7),'items':{'type':_0x17e070(0x1e3,0x17f,_0x785b20._0x5864a6,_0x785b20._0xce9b38),'properties':{'label':{'type':_0x17e070(-_0x785b20._0x15d7e2,-_0x785b20._0xc26613,_0x785b20._0x157cb2,-_0x785b20._0x25e9e2)},'description':{'type':_0x4d7120(_0x785b20._0x4ee5d0,_0x785b20._0x444154,_0x785b20._0x139795,_0x785b20._0x253a29)}},'required':[_0x17e070(-0x1a,_0x785b20._0x4bae33,_0x785b20._0x19bade,0x376),_0x17e070(0xfd,_0x785b20._0x2c7694,0x30a,_0x785b20._0x524516)]}},'multiSelect':{'type':_0x4d7120(_0x785b20._0x2a9a29,_0x785b20._0x2d1618,_0x785b20._0x342154,0x51a)}},'required':['question',_0x17e070(0x2c5,-0x2c,0x17b,_0x785b20._0x4828d4),_0x17e070(_0x785b20._0xff575b,_0x785b20._0x52d504,_0x785b20._0x228fe8,_0x785b20._0x248212),_0x4d7120(0x626,_0x785b20._0x4150e6,_0x785b20._0x2eaa57,0x597)]}},'answers':{'type':_0x17e070(_0x785b20._0x2d34b4,_0x785b20._0x917648,0x6d,_0x785b20._0x5e6ada),'properties':{}}},'required':[_0x17e070(0x197,-0xe5,_0x785b20._0x32247c,_0x785b20._0x2c9b40)]},async *'execute'(_0x274286,_0x9a956b){const _0xdb7a2f={_0x4e966e:0x1bf,_0x24191d:0x2d1},_0x1fcf43=_0x274286;validateInput(_0x1fcf43);const _0x255428=_0x9a956b[_0x5ce5ea(0x2a0,0x161,_0x33df54._0x34467f,-0x9e)]??createQuestionId();function _0x5ce5ea(_0x27cd92,_0x60558f,_0x2a2567,_0x321578){return _0x4d7120(_0x27cd92-_0x17cefc._0x5e8a94,_0x60558f-0x1ec,_0x2a2567,_0x60558f- -_0x17cefc._0x53d25f);}if(_0x1fcf43['answers']&&Object['keys'](_0x1fcf43['answers'])[_0x5ce5ea(_0x33df54._0x57c6f4,_0x33df54._0x2f8d91,0x292,_0x33df54._0x591f12)]>0x0)return createResult(_0x255428,_0x1fcf43[_0x5ce5ea(0x24b,0x1ce,_0x33df54._0x194d2c,_0x33df54._0x4a6616)][_0x285dd1(_0x33df54._0x3161fa,0x622,0x76a,_0x33df54._0x4d0bab)],_0x1fcf43[_0x285dd1(0x6f2,_0x33df54._0x5d0830,_0x33df54._0xa0123f,0x52e)]);if(!_0x9a956b[_0x5ce5ea(0x498,0x448,_0x33df54._0x464ed7,0x30d)])throw new ToolExecutionError(_0x5ce5ea(0x195,0xd4,_0x33df54._0x50bf83,_0x33df54._0x2ca8f4));function _0x285dd1(_0x3b72b8,_0x351421,_0x47b4da,_0x55cd08){return _0x17e070(_0x3b72b8-_0xdb7a2f._0x4e966e,_0x55cd08,_0x351421-_0xdb7a2f._0x24191d,_0x55cd08-0xb5);}const _0x939291=buildQuestions(_0x1fcf43),_0x5e62e3=await _0x9a956b[_0x285dd1(0x5ab,0x66d,_0x33df54._0x47c765,_0x33df54._0x19d0e2)]({'questionId':_0x255428,'questions':_0x939291});yield createResult(_0x255428,_0x1fcf43[_0x5ce5ea(_0x33df54._0x14316a,_0x33df54._0x1e5295,_0x33df54._0x4eec9c,0xc0)][_0x5ce5ea(_0x33df54._0x32a07f,_0x33df54._0x2f8d91,_0x33df54._0x203141,0x451)],_0x5e62e3);}});}import{stat as _0x55f0a1}from'fs/promises';import _0x4dc652 from'path';import{fileURLToPath as _0x4eb52c}from'url';function awaitWithAbort2(_0x2f6233,_0x3ab0bd){const _0x3e4fd9={_0x1886bc:0x33f,_0x155222:0x4a2,_0x5e24d6:0x6b6,_0x544e66:0x582},_0x50c60d={_0x1cc15d:0x4f1,_0xe871d7:0x65f,_0x45b25e:0x658,_0x28f16d:0x617,_0x5bea40:0x5e3,_0x437ab4:0x676,_0x59e66f:0x35c,_0x1358f4:0x538},_0x320067={_0x5495f4:0xcb},_0x3328a9={_0x4115ce:0x175,_0x5c137d:0x1c3},_0x581202={_0xa9b01c:0x8b};function _0xc6648f(_0x18ca82,_0x511756,_0x3298be,_0x1955ba){return _0x28bc81(_0x18ca82-_0x581202._0xa9b01c,_0x511756-0xa1,_0x18ca82-0x2b6,_0x3298be);}function _0x9e93e0(_0x4901a1,_0x5e7847,_0x3d166a,_0x55d5fa){return _0x28bc81(_0x4901a1-0x1,_0x5e7847-_0x3328a9._0x4115ce,_0x3d166a-_0x3328a9._0x5c137d,_0x55d5fa);}if(!_0x3ab0bd)return _0x2f6233;if(_0x3ab0bd[_0x9e93e0(_0x3e4fd9._0x1886bc,0x4f0,_0x3e4fd9._0x155222,0x2d7)])return Promise[_0x9e93e0(0x6f5,0x5d0,_0x3e4fd9._0x5e24d6,_0x3e4fd9._0x544e66)](toAbortError(_0x3ab0bd['reason']));return new Promise((_0x45c81c,_0x446b46)=>{const _0xd7bb16={_0x4bc92b:0x3e},_0x9bb00e={_0x4c7119:0x6ce,_0x4a5eb7:0x513},_0x412cfd=()=>{const _0x45291c={_0x3d4fb3:0x20b};_0x5aceff();function _0x50c80d(_0x564353,_0x1c4b45,_0x2b8ec6,_0x35c119){return _0x8662(_0x35c119-_0x45291c._0x3d4fb3,_0x2b8ec6);}_0x446b46(toAbortError(_0x3ab0bd[_0x50c80d(0x884,_0x9bb00e._0x4c7119,_0x9bb00e._0x4a5eb7,0x6eb)]));},_0x5aceff=()=>_0x3ab0bd[_0x3de6d8(0x455,0x596,0x569,0x308)](_0x56b93d(0x443,0x60f,0x744,0x4de),_0x412cfd);function _0x56b93d(_0xada8b8,_0x27ad09,_0x54e6da,_0x360768){return _0x9e93e0(_0xada8b8-0x14a,_0x27ad09-_0xd7bb16._0x4bc92b,_0x27ad09- -0x92,_0x54e6da);}_0x3ab0bd[_0x3de6d8(_0x50c60d._0x1cc15d,_0x50c60d._0xe871d7,_0x50c60d._0x45b25e,0x54f)](_0x3de6d8(_0x50c60d._0x28f16d,_0x50c60d._0x5bea40,0x495,_0x50c60d._0x437ab4),_0x412cfd,{'once':!![]});function _0x3de6d8(_0x132d1e,_0x196ce1,_0x18d9d0,_0x24795b){return _0x9e93e0(_0x132d1e-_0x320067._0x5495f4,_0x196ce1-0x140,_0x132d1e- -0x8a,_0x24795b);}_0x2f6233[_0x56b93d(_0x50c60d._0x59e66f,_0x50c60d._0x1358f4,0x459,0x444)](_0x24876e=>{_0x5aceff(),_0x45c81c(_0x24876e);},_0x38dd0e=>{_0x5aceff(),_0x446b46(_0x38dd0e);});});}function severityName(_0x8ec0ca){const _0x2758df={_0x4d4f38:0x47e,_0x26e8d6:0x404,_0x380692:0x380,_0xd767ad:0x3aa,_0x1d34f5:0x3b6,_0x5ca1b6:0x416},_0x5a5e33={_0x196a95:0x46,_0x19dd9d:0x1b8};function _0x3d383e(_0x5530c9,_0x2ab037,_0x5827b8,_0x1eaee2){return _0x28bc81(_0x5530c9-0x1c6,_0x2ab037-_0x5a5e33._0x196a95,_0x1eaee2- -_0x5a5e33._0x19dd9d,_0x2ab037);}function _0x52ed53(_0x3f862e,_0x1a6856,_0x40162e,_0x22f0e6){return _0x28bc81(_0x3f862e-0x11c,_0x1a6856-0x199,_0x3f862e- -0x290,_0x40162e);}switch(_0x8ec0ca){case 0x1:return _0x52ed53(0x36e,_0x2758df._0x4d4f38,0x380,0x503);case 0x2:return'Warning';case 0x3:return _0x3d383e(_0x2758df._0x26e8d6,_0x2758df._0x380692,0x394,0x20f);case 0x4:return'Hint';default:return _0x3d383e(_0x2758df._0xd767ad,0x23b,_0x2758df._0x1d34f5,_0x2758df._0x5ca1b6);}}function formatSingleHover(_0xb36638){const _0x19891a={_0x330501:0x1ee,_0x2d7406:0x112,_0x41a630:0x33,_0x16c86f:0x35,_0x363f38:0x662,_0x38290f:0x553,_0x9cdc41:0x193,_0x37935e:0x23a,_0x551724:0x109,_0x3b74fc:0x18f,_0x4b3a6b:0x385,_0xf4744:0x238,_0x75a824:0x266,_0x3ff4d8:0x264,_0x22850f:0x3de,_0x3fc8ac:0x4fb,_0x4f9648:0xa08,_0x420321:0x9b8,_0x5a31ec:0x935,_0x3c107b:0xbd5,_0x4cafef:0x684,_0x16bbee:0x490,_0x188684:0x728,_0x2163cb:0x1e8,_0x2ea705:0x9f},_0x320d51={_0x518b61:0x12,_0x3de4e8:0x1f3,_0x2db820:0x65},_0x3d832e=_0xb36638[_0xd63d92(-_0x19891a._0x330501,-_0x19891a._0x2d7406,-_0x19891a._0x41a630,_0x19891a._0x16c86f)];function _0x49fe87(_0x5bbd47,_0x4a8e86,_0x25ee29,_0x190721){return _0x5b2413(_0x5bbd47-_0x320d51._0x518b61,_0x4a8e86-_0x320d51._0x3de4e8,_0x5bbd47-_0x320d51._0x2db820,_0x4a8e86);}if(typeof _0x3d832e===_0x49fe87(0x69a,_0x19891a._0x363f38,0x695,_0x19891a._0x38290f))return _0x3d832e;if(Array['isArray'](_0x3d832e))return _0x3d832e[_0xd63d92(0x3e8,_0x19891a._0x9cdc41,0x255,0x478)](_0x5621a4=>typeof _0x5621a4===_0x49fe87(0x69a,0x7d0,0x88f,0x717)?_0x5621a4:_0x5621a4['value'])[_0xd63d92(0x26a,_0x19891a._0x37935e,_0x19891a._0x551724,0x24d)](Boolean)['join']('\x0a\x0a');function _0xd63d92(_0x1a8532,_0x4663af,_0x31eb34,_0xd337d0){return _0x28bc81(_0x1a8532-0x168,_0x4663af-0x14e,_0x31eb34- -0x37c,_0xd337d0);}if(_0xd63d92(-0x54,0x1e1,_0x19891a._0x3b74fc,_0x19891a._0x4b3a6b)in _0x3d832e)return _0x3d832e[_0xd63d92(0x2ec,0x1c1,_0x19891a._0xf4744,0x228)];return _0x3d832e[_0xd63d92(_0x19891a._0x75a824,0x1de,0x22f,_0x19891a._0x3ff4d8)]?_0x49fe87(0x5f3,_0x19891a._0x22850f,0x4ef,_0x19891a._0x3fc8ac)+_0x3d832e[_0x49fe87(0x9af,0x991,_0x19891a._0x4f9648,0x869)]+'\x0a'+_0x3d832e[_0x49fe87(_0x19891a._0x420321,0x9b4,_0x19891a._0x5a31ec,_0x19891a._0x3c107b)]+_0x49fe87(_0x19891a._0x4cafef,_0x19891a._0x16bbee,_0x19891a._0x188684,0x484):_0x3d832e[_0xd63d92(_0x19891a._0x2163cb,0x194,_0x19891a._0xf4744,_0x19891a._0x2ea705)];}function formatHover(_0x1efd46){const _0x1fe801={_0x3c8606:0xcf,_0x134216:0x686,_0x7a357d:0x5fc,_0x50eb20:0x4bc,_0x27bebf:0x459,_0x4ea43b:0x1e9,_0x4c3f4d:0x348,_0x126bdb:0x2b1,_0x4fd22a:0x489},_0x348f36={_0x506bda:0x22},_0x3f6daf={_0x1e673f:0x7b,_0x36d00d:0x1dc,_0x547175:0x78};function _0x5b6942(_0x2012d7,_0x3d76e0,_0x18f2c4,_0x403888){return _0x5b2413(_0x2012d7-_0x3f6daf._0x1e673f,_0x3d76e0-_0x3f6daf._0x36d00d,_0x18f2c4- -_0x3f6daf._0x547175,_0x403888);}function _0x323a0c(_0x2aa9ca,_0xf37667,_0xb137f5,_0x29ae32){return _0x5b2413(_0x2aa9ca-_0x348f36._0x506bda,_0xf37667-0x82,_0x29ae32- -0x4b4,_0x2aa9ca);}if(_0x1efd46['length']===0x0)return _0x323a0c(-_0x1fe801._0x3c8606,0x28c,-0xa4,0xf5);return _0x1efd46[_0x323a0c(0x3a7,_0x1fe801._0x134216,_0x1fe801._0x7a357d,_0x1fe801._0x50eb20)](formatSingleHover)[_0x323a0c(0x31a,_0x1fe801._0x27bebf,_0x1fe801._0x4ea43b,_0x1fe801._0x4c3f4d)](_0x323a0c(0x5cc,_0x1fe801._0x126bdb,0x2a4,_0x1fe801._0x4fd22a));}function locationPath(_0x49064b){const _0x5f00ad={_0x5a7c03:0x1da,_0x369433:0x164,_0x47c1f6:0x22,_0x1aeb18:0x568,_0x503477:0x37b},_0x4041d6={_0x3de371:0x1a6,_0x4ef983:0x31},_0x56478f={_0x676ec:0xd,_0x35b18f:0x238};function _0x442ff6(_0x9bba05,_0x24e7b0,_0x291068,_0x3755f1){return _0x5b2413(_0x9bba05-0x1bd,_0x24e7b0-_0x56478f._0x676ec,_0x24e7b0- -_0x56478f._0x35b18f,_0x3755f1);}if(!_0x49064b[_0x3a38ff(_0x5f00ad._0x5a7c03,-_0x5f00ad._0x369433,-0x233,-_0x5f00ad._0x47c1f6)](_0x442ff6(0x717,0x56b,_0x5f00ad._0x1aeb18,_0x5f00ad._0x503477)))return _0x49064b;function _0x3a38ff(_0x4336da,_0x59b6c0,_0x286b24,_0x505d4a){return _0x5b2413(_0x4336da-_0x4041d6._0x3de371,_0x59b6c0-_0x4041d6._0x4ef983,_0x505d4a- -0x69f,_0x4336da);}return _0x4eb52c(_0x49064b);}function formatLocations(_0x3ad3e1){const _0x22773e={_0x44260b:0x2b3,_0x4caeab:0x3c2,_0x195b9a:0x1a7,_0x26f4e8:0x50d,_0x30c95b:0x309,_0x558c6f:0x30e,_0x1d1989:0x350,_0x276e52:0x4d2,_0x141f70:0x40f,_0x5c56c6:0x6f2,_0xebfcdb:0x64e,_0xd385ee:0x5f0},_0x5579a6={_0x1b9a83:0xb1,_0x581daa:0xf4,_0x2ff93e:0x141,_0x5565cd:0x1ea,_0x13e66e:0x386,_0x2eacd8:0x59b,_0x17c35d:0x1f7,_0x14a342:0x131,_0x4dd4a2:0x127},_0x38b8b7={_0x10c05e:0x1ae},_0x5e71cc={_0x102e19:0x106,_0x813d9c:0xf5,_0x352c16:0x187};function _0xbfd4ba(_0x1a14f4,_0x267de1,_0x1f7cd4,_0xbf9977){return _0x28bc81(_0x1a14f4-_0x5e71cc._0x102e19,_0x267de1-_0x5e71cc._0x813d9c,_0x267de1- -_0x5e71cc._0x352c16,_0x1a14f4);}if(_0x3ad3e1[_0xbfd4ba(_0x22773e._0x44260b,_0x22773e._0x4caeab,_0x22773e._0x195b9a,_0x22773e._0x26f4e8)]===0x0)return _0xbfd4ba(_0x22773e._0x30c95b,_0x22773e._0x558c6f,_0x22773e._0x1d1989,0x325);function _0x43a7ec(_0x5a1310,_0x1f57db,_0x12d7be,_0xd71470){return _0x5b2413(_0x5a1310-0x164,_0x1f57db-0x1b5,_0x12d7be- -_0x38b8b7._0x10c05e,_0xd71470);}return _0x3ad3e1[_0xbfd4ba(0x29c,0x44a,_0x22773e._0x276e52,_0x22773e._0x141f70)](_0x3a8bee=>{const _0x22406a={_0x47b5b8:0x479};function _0x5ada20(_0x53a5c5,_0x175521,_0x2b1fdd,_0x38ed10){return _0x43a7ec(_0x53a5c5-0x134,_0x175521-0x1f1,_0x53a5c5- -_0x22406a._0x47b5b8,_0x2b1fdd);}function _0x4254b6(_0xd2bf9e,_0x47eaeb,_0x550c66,_0x438b32){return _0xbfd4ba(_0x47eaeb,_0x438b32- -0x1ea,_0x550c66-0x12,_0x438b32-0x152);}const _0x147b8c=_0x3a8bee[_0x5ada20(-_0x5579a6._0x1b9a83,-_0x5579a6._0x581daa,-0x2d,-0x2b8)][_0x4254b6(0x227,_0x5579a6._0x2ff93e,_0x5579a6._0x5565cd,0x23e)];return locationPath(_0x3a8bee['uri'])+':'+(_0x147b8c[_0x5ada20(_0x5579a6._0x13e66e,_0x5579a6._0x2eacd8,0x5a4,0x1d9)]+0x1)+':'+(_0x147b8c[_0x4254b6(_0x5579a6._0x17c35d,-_0x5579a6._0x14a342,-_0x5579a6._0x4dd4a2,0xcb)]+0x1);})[_0x43a7ec(_0x22773e._0x5c56c6,0x821,_0x22773e._0xebfcdb,_0x22773e._0xd385ee)]('\x0a');}function isDocumentSymbol(_0x8d1e30){return'range'in _0x8d1e30&&'selectionRange'in _0x8d1e30;}function formatSymbols(_0x2f2af0){const _0x4d7fab={_0x15d161:0x7d6,_0x392f26:0x49c,_0x1c834a:0x453,_0x1a9fbb:0x21a,_0x44f4d4:0x2df},_0x310be7={_0x54c978:0xe0,_0x4d0f49:0x2d7,_0x15e515:0x104,_0x432584:0x1,_0x1d4d46:0x122,_0xd7a46c:0x1ae,_0x394e33:0x5e6,_0x5dc386:0x605,_0x1b3a05:0x567,_0x48ce71:0x69a,_0x3e5a6a:0xe4,_0x8ef1bd:0x2a0,_0xca81c1:0x20e,_0x51e68f:0x371,_0x5c47f6:0x1cb,_0x29cb2:0x896,_0x1c5d63:0x749,_0x394726:0x7de,_0xd3099:0x5d6},_0x4a184a={_0x579322:0x123},_0x44cd7e={_0xce704f:0xbb,_0x8fb228:0x2b4};function _0x3a361b(_0x62e970,_0x31830f,_0x276692,_0x462236){return _0x5b2413(_0x62e970-0x8b,_0x31830f-_0x44cd7e._0xce704f,_0x31830f- -_0x44cd7e._0x8fb228,_0x276692);}if(_0x2f2af0['length']===0x0)return _0x3a361b(_0x4d7fab._0x15d161,0x6a0,0x807,0x530);function _0x3737b9(_0x135869,_0x2df0bc,_0x5c5626,_0x42a17a){return _0x28bc81(_0x135869-0xaf,_0x2df0bc-_0x4a184a._0x579322,_0x5c5626- -0x17e,_0x2df0bc);}return _0x2f2af0[_0x3737b9(0x238,_0x4d7fab._0x392f26,_0x4d7fab._0x1c834a,0x524)](_0x3d2dab=>{const _0x5b2333={_0x1f5050:0x191,_0x5a46aa:0xaf,_0x466643:0xae},_0x36aa88={_0x537309:0xe9,_0x352432:0x3a6};function _0xb93cf(_0x24c769,_0x29ba06,_0xe0e2b1,_0x4eb76e){return _0x3a361b(_0x24c769-_0x36aa88._0x537309,_0x24c769- -_0x36aa88._0x352432,_0x29ba06,_0x4eb76e-0xfe);}function _0x313239(_0x440e5c,_0x3b8c5f,_0x506591,_0x49c0f6){return _0x3a361b(_0x440e5c-_0x5b2333._0x1f5050,_0x3b8c5f-_0x5b2333._0x5a46aa,_0x440e5c,_0x49c0f6-_0x5b2333._0x466643);}if(isDocumentSymbol(_0x3d2dab))return _0x3d2dab[_0xb93cf(0x1bb,_0x310be7._0x54c978,0x2bb,0x3ad)]+'\x20('+_0x3d2dab[_0xb93cf(0x250,0x2f2,0x90,_0x310be7._0x4d0f49)]+_0xb93cf(-0x6d,-_0x310be7._0x15e515,0x180,-_0x310be7._0x432584)+(_0x3d2dab[_0xb93cf(-0xe4,-_0x310be7._0x1d4d46,-_0x310be7._0xd7a46c,0x105)][_0x313239(0x61e,0x749,_0x310be7._0x394e33,0x82b)][_0x313239(0x717,0x7a8,0x66a,_0x310be7._0x5dc386)]+0x1)+':'+(_0x3d2dab['range']['start']['character']+0x1)+']';return _0x3d2dab[_0x313239(_0x310be7._0x1b3a05,0x610,0x57a,_0x310be7._0x48ce71)]+'\x20('+_0x3d2dab['kind']+')\x20'+locationPath(_0x3d2dab[_0xb93cf(0x22f,_0x310be7._0x3e5a6a,0x249,0x21a)]['uri'])+':'+(_0x3d2dab['location']['range']['start'][_0xb93cf(0x353,0x1f6,0x4f0,_0x310be7._0x8ef1bd)]+0x1)+':'+(_0x3d2dab['location'][_0x313239(_0x310be7._0xca81c1,_0x310be7._0x51e68f,0x375,_0x310be7._0x5c47f6)][_0x313239(_0x310be7._0x29cb2,_0x310be7._0x1c5d63,0x830,_0x310be7._0x394726)][_0x313239(0x565,_0x310be7._0xd3099,0x42f,0x6d3)]+0x1);})[_0x3737b9(_0x4d7fab._0x1a9fbb,0x2be,_0x4d7fab._0x44f4d4,0x35c)]('\x0a');}function formatDiagnostics(_0x34ef4f){const _0x5f536a={_0x4c7caf:0x2b0,_0x1ab3e4:0x416,_0x5d97e5:0x67,_0x9b4c73:0x187,_0x241052:0xce,_0x48297e:0x9c,_0x362151:0x836,_0x39d499:0x62a},_0x36b4bf={_0x2faf3f:0x51,_0x4152ec:0xa6,_0x399fb6:0x7e2,_0xf0bfe1:0x786,_0x4963ef:0x863,_0x2efca4:0xa82,_0x436141:0x76d,_0x5ca1a1:0x5f6,_0x2f45d6:0x543,_0x21b717:0xa56,_0x31f4a7:0x8c2,_0x4e0252:0x985,_0x17d79c:0x791},_0x37fa29={_0xe4f73a:0x1e6},_0x68040c={_0x59144e:0x11f,_0xfddf59:0x60};function _0x2b5a4b(_0x1671d2,_0x5f072b,_0x48ba01,_0x1d6d2c){return _0x5b2413(_0x1671d2-_0x68040c._0x59144e,_0x5f072b-_0x68040c._0xfddf59,_0x1d6d2c- -0x28d,_0x1671d2);}function _0x160e99(_0x284fbe,_0x1c581c,_0x158529,_0x4eb28c){return _0x5b2413(_0x284fbe-_0x37fa29._0xe4f73a,_0x1c581c-0xf3,_0x4eb28c- -0x51b,_0x1c581c);}if(_0x34ef4f[_0x160e99(_0x5f536a._0x4c7caf,0x238,_0x5f536a._0x1ab3e4,0x3cd)]===0x0)return _0x160e99(-_0x5f536a._0x5d97e5,-_0x5f536a._0x9b4c73,_0x5f536a._0x241052,_0x5f536a._0x48297e);return _0x34ef4f[_0x2b5a4b(0x803,_0x5f536a._0x362151,_0x5f536a._0x39d499,0x6e3)](_0x36bc03=>{const _0x41170a={_0x1ca64c:0x1a2},_0x1a52c4={_0x51752:0xe0,_0x5ef7fb:0x430},_0xe167b1=_0x36bc03[_0x36a1f1(-_0x36b4bf._0x2faf3f,-0xc2,-0x9b,_0x36b4bf._0x4152ec)][_0x47dbd1(_0x36b4bf._0x399fb6,_0x36b4bf._0xf0bfe1,_0x36b4bf._0x4963ef,_0x36b4bf._0x2efca4)];function _0x47dbd1(_0x3a1648,_0x117143,_0x30e2cc,_0x2e8a80){return _0x160e99(_0x3a1648-0x114,_0x2e8a80,_0x30e2cc-_0x1a52c4._0x51752,_0x30e2cc-_0x1a52c4._0x5ef7fb);}function _0x36a1f1(_0x3d168b,_0x19c96b,_0x34e46a,_0x369d17){return _0x160e99(_0x3d168b-_0x41170a._0x1ca64c,_0x369d17,_0x34e46a-0x77,_0x3d168b- -0xac);}return severityName(_0x36bc03[_0x47dbd1(0x4f2,_0x36b4bf._0x436141,_0x36b4bf._0x5ca1a1,_0x36b4bf._0x2f45d6)])+'\x20['+(_0xe167b1[_0x47dbd1(_0x36b4bf._0x21b717,0x7d2,_0x36b4bf._0x31f4a7,0xa46)]+0x1)+':'+(_0xe167b1['character']+0x1)+']\x20'+_0x36bc03[_0x47dbd1(_0x36b4bf._0x4e0252,0x75c,0x892,_0x36b4bf._0x17d79c)];})['join']('\x0a');}function formatIncomingCalls(_0x43d895){const _0x4a7a7f={_0x48b831:0x89f,_0x1c0700:0x6bb,_0x4b2377:0x59f,_0x2bb2df:0x523,_0x4d5a71:0x384},_0x413f2c={_0x321107:0x142},_0x3dd30c={_0x244095:0x29};if(_0x43d895[_0x311807(0x747,0x817,0x8b6,0x8ef)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x311807(_0x1704b4,_0x253b89,_0x4b5a63,_0xf4044d){return _0x5b2413(_0x1704b4-_0x3dd30c._0x244095,_0x253b89-0x150,_0x253b89- -0xd1,_0xf4044d);}function _0x3b6e36(_0x4d8b29,_0x2d62b8,_0x2936e9,_0x544dc0){return _0x28bc81(_0x4d8b29-0xbf,_0x2d62b8-0x132,_0x2d62b8-_0x413f2c._0x321107,_0x544dc0);}return _0x43d895[_0x311807(0x817,_0x4a7a7f._0x48b831,_0x4a7a7f._0x1c0700,0x71c)](_0x68d699=>_0x68d699['from'][_0x311807(0x6ee,0x744,0x551,0x890)])[_0x3b6e36(0x672,_0x4a7a7f._0x4b2377,_0x4a7a7f._0x2bb2df,_0x4a7a7f._0x4d5a71)]('\x0a');}function formatOutgoingCalls(_0x362bc2){const _0x4b0200={_0x46e7d2:0x5cf,_0x44a8ad:0x79d,_0xaa2b35:0x71a,_0x2841d0:0x5e3,_0x2efd2c:0x627,_0x272743:0x519,_0x54191d:0x410,_0x1026e1:0x926,_0x2b397a:0x725,_0x24dd36:0x719},_0x254840={_0x4d578d:0x1e,_0x45d383:0x1bd,_0x143eb0:0x254},_0x2ebb10={_0x3444d7:0xdb,_0x430201:0x257};if(_0x362bc2[_0x1d8d9d(_0x4b0200._0x46e7d2,_0x4b0200._0x44a8ad,_0x4b0200._0xaa2b35,_0x4b0200._0x2841d0)]===0x0)return _0x1d8d9d(_0x4b0200._0x2efd2c,_0x4b0200._0x272743,0x4d0,_0x4b0200._0x54191d);function _0x304f6(_0x48be6f,_0x353cde,_0x41b2ad,_0x174c51){return _0x5b2413(_0x48be6f-_0x2ebb10._0x3444d7,_0x353cde-0x1dd,_0x174c51- -_0x2ebb10._0x430201,_0x353cde);}function _0x1d8d9d(_0x513e64,_0x2b60a8,_0x47d05c,_0x466d55){return _0x28bc81(_0x513e64-_0x254840._0x4d578d,_0x2b60a8-_0x254840._0x45d383,_0x2b60a8-_0x254840._0x143eb0,_0x466d55);}return _0x362bc2[_0x304f6(0x4fd,_0x4b0200._0x1026e1,_0x4b0200._0x2b397a,_0x4b0200._0x24dd36)](_0x209c28=>_0x209c28['to']['name'])['join']('\x0a');}function toStructured(_0x3ecc05){const _0x45860d={_0x3a0b7c:0x839,_0xf47787:0x87e,_0x64d80e:0xa30,_0x496c47:0x949,_0x3c76b5:0x8b8},_0x308d3c={_0xa74398:0x53,_0x4a7952:0x7f},_0x17e0ec={_0xb911cf:0xb3,_0x28c760:0x25b};function _0x1f6b83(_0x4b60f0,_0x33ff77,_0x1b49a0,_0x5883e3){return _0x28bc81(_0x4b60f0-_0x17e0ec._0xb911cf,_0x33ff77-0x1cf,_0x5883e3-_0x17e0ec._0x28c760,_0x33ff77);}function _0x111d29(_0x28e27b,_0x2ddf00,_0x491c39,_0x268054){return _0x28bc81(_0x28e27b-_0x308d3c._0xa74398,_0x2ddf00-0x151,_0x2ddf00- -_0x308d3c._0x4a7952,_0x491c39);}return JSON[_0x1f6b83(_0x45860d._0x3a0b7c,_0x45860d._0xf47787,_0x45860d._0x64d80e,0x840)](JSON[_0x1f6b83(_0x45860d._0x496c47,_0x45860d._0x3c76b5,0x82e,0x78f)](_0x3ecc05));}async function assertFile(_0x1b0833){const _0x58f9f2={_0x4f8020:0x689,_0x3e2b8a:0x24d},_0x235743={_0x5e6210:0x151,_0x1e9e74:0xf6},_0x1d2ea8={_0x234e1d:0xa1,_0x4166da:0xa,_0x347bbc:0x1b2};function _0x5d4f6a(_0x23c4e9,_0x2660ec,_0x9673e6,_0x6f9e50){return _0x28bc81(_0x23c4e9-_0x1d2ea8._0x234e1d,_0x2660ec-_0x1d2ea8._0x4166da,_0x23c4e9- -_0x1d2ea8._0x347bbc,_0x6f9e50);}const _0x3b44de=await _0x55f0a1(_0x1b0833);function _0x4f408d(_0xed966d,_0x44ed91,_0x28615e,_0x5e5eca){return _0x28bc81(_0xed966d-_0x235743._0x5e6210,_0x44ed91-0x190,_0xed966d-_0x235743._0x1e9e74,_0x5e5eca);}if(!_0x3b44de[_0x4f408d(0x525,0x5cd,_0x58f9f2._0x4f8020,0x4a0)]())throw new ToolExecutionError(_0x4f408d(0x3c3,0x479,0x23f,_0x58f9f2._0x3e2b8a)+_0x1b0833,{'path':_0x1b0833});}function validatePosition(_0x956533,_0x54f8ba){if(!Number['isInteger'](_0x956533)||_0x956533<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x956533});if(!Number['isInteger'](_0x54f8ba)||_0x54f8ba<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x54f8ba});}function createLspTool(_0x20f78d={}){const _0x48f8a0={_0x3d6f9f:0x155,_0x2cf5c6:0x206,_0x3946a3:0x1aa,_0x281bda:0xb,_0x201276:0x4f6,_0x3e42c1:0x3a1,_0x3cd5c6:0x406,_0x587e27:0xd1,_0x5054d6:0x4d6,_0x3d821b:0x209,_0x49cf4d:0x43d,_0x990f89:0xb8,_0x509f68:0x12e,_0xb86d71:0x207,_0x47999f:0x110,_0x1550f2:0x73,_0x3117a7:0x8e,_0x1d6755:0x119,_0x1fbfc0:0xe0,_0x1305c8:0x24c,_0x1fe117:0x3ef,_0x3dc7fd:0xcf,_0x407abf:0xfc,_0x549768:0x46b,_0x27fc54:0x431,_0x4c34c6:0x3ed,_0x3e9b95:0x4b2,_0x3551e1:0x5ea,_0x2f3e00:0x442,_0x449d2f:0x494,_0x468cb4:0x2e6,_0x371233:0x173,_0x31f76c:0x116,_0x40e877:0x59,_0x36022f:0x22c,_0x18ddf2:0x1bb,_0x1ee168:0x275,_0x514d3c:0x153,_0x3a42b6:0x559,_0xc85387:0x40a,_0x49bea5:0x4eb,_0x10f585:0x17c,_0x3c473e:0x643,_0xe1798:0x66e,_0x4bec78:0x541,_0x48a409:0x217,_0x5ef9cd:0x4d9},_0x5df5ac={_0x3e784a:0xba,_0x320336:0x3a1,_0xa46e1f:0x2df,_0x1f29a2:0x635,_0x178838:0x268,_0x3ee512:0x196,_0x3a61b7:0x130,_0x57b3c4:0x3,_0x2daa1d:0x200,_0x4c904f:0x1de,_0x4daf00:0x36a,_0x5cf78c:0x8dd,_0x2916de:0x7c3,_0x181c87:0x944,_0x136bf3:0x55b,_0x105019:0x681,_0x5de9d3:0x49a,_0x4c55b0:0x2fc,_0x3ab5f0:0x512,_0x50cbf8:0x1e2,_0xbce11a:0x1d2,_0x5f4d68:0x376,_0x3ac60b:0x4cd,_0x478cdc:0x6ca,_0x36c5b2:0x53e,_0xfa5b11:0xbd,_0x1c3156:0x4d5,_0x160dc7:0x5fd,_0x3b5f44:0x5e2,_0x3701b5:0x3fe,_0x192085:0x292,_0x3b4186:0x657,_0x18be1e:0x707,_0x17b684:0x3c9,_0x203111:0x79,_0x487316:0x8e,_0x19134a:0x2ba,_0x5d9db9:0xe,_0x3e61de:0x21a,_0x21cd9b:0x306,_0x554e99:0x680,_0x515d69:0x49d,_0x1d83b3:0x150,_0x3c1e3d:0x2d,_0x445955:0xd2,_0x11d296:0x11c,_0x17f190:0x169,_0x21b763:0x37,_0x5dee4c:0x481,_0x1fd99c:0x379,_0x5baa1f:0x370,_0x40859e:0x2f,_0x117ef1:0x18c,_0x522db9:0x4ec,_0x435056:0x5b6,_0x3f65ae:0x62d,_0xd894a1:0x164,_0x219c51:0x39f,_0x5b4879:0x6a2,_0x3fed54:0x6f5,_0x161942:0x5ab,_0x41a594:0x570,_0x20b00c:0x582,_0x232a0d:0x6f0,_0x5110d0:0x480,_0x38d9a8:0x644,_0x3b9301:0x2f7,_0x3cdebb:0x319,_0x179549:0x582,_0x32ab50:0x528,_0x5e7e7a:0x8f1,_0x2ac262:0x734,_0x43edda:0x3a2},_0xac72ec={_0x3d4994:0xcd},_0x347d5b={_0x398e81:0x1a6,_0x1e361d:0x604},_0x5332d2=_0x4dc652[_0x21fc9a(-_0x48f8a0._0x3d6f9f,_0x48f8a0._0x2cf5c6,-_0x48f8a0._0x3946a3,-_0x48f8a0._0x281bda)](_0x20f78d['defaultCwd']??process[_0x21fc9a(0x2ab,_0x48f8a0._0x201276,0x38b,_0x48f8a0._0x3e42c1)]());function _0x21fc9a(_0x1024f1,_0x13b7a5,_0x3b381c,_0xbb71c0){return _0x5b2413(_0x1024f1-0x1cb,_0x13b7a5-_0x347d5b._0x398e81,_0xbb71c0- -_0x347d5b._0x1e361d,_0x13b7a5);}function _0x3527bb(_0x1bc402,_0xf171c0,_0x120a07,_0x2cec78){return _0x28bc81(_0x1bc402-0xb5,_0xf171c0-0x186,_0x2cec78- -_0xac72ec._0x3d4994,_0xf171c0);}const _0x5c71d4=_0x20f78d['allowedDirs']??[],_0x56b4e1=_0x20f78d[_0x21fc9a(0x3aa,0x1fa,_0x48f8a0._0x3cd5c6,0x211)]??'Lsp';return defineTool({'name':_0x56b4e1,'permissionClass':_0x3527bb(0x24f,_0x48f8a0._0x587e27,0x23c,0x1eb),'description':_0x21fc9a(_0x48f8a0._0x5054d6,_0x48f8a0._0x3d821b,_0x48f8a0._0x49cf4d,0x38b),'inputSchema':{'type':_0x21fc9a(0x15b,-0x211,_0x48f8a0._0x990f89,0x0),'properties':{'operation':{'type':_0x21fc9a(-0x39,-_0x48f8a0._0x509f68,_0x48f8a0._0xb86d71,0x31),'enum':[_0x21fc9a(_0x48f8a0._0x47999f,0x29c,0x217,0x1b6),_0x21fc9a(_0x48f8a0._0x1550f2,0x6c,0x273,0x283),_0x3527bb(0x132,_0x48f8a0._0x3117a7,0xda,0x180),_0x21fc9a(-_0x48f8a0._0x1d6755,0x48,-_0x48f8a0._0x1fbfc0,0x9f),_0x3527bb(_0x48f8a0._0x1305c8,0x1d2,_0x48f8a0._0x1fe117,0x290),_0x21fc9a(-0xe4,0x58,-0x1fd,0x11),_0x21fc9a(0x100,0x47,-_0x48f8a0._0x3dc7fd,_0x48f8a0._0x407abf),_0x21fc9a(0x23a,0x12c,0x31d,0x30f),_0x3527bb(_0x48f8a0._0x549768,_0x48f8a0._0x27fc54,_0x48f8a0._0x4c34c6,_0x48f8a0._0x3e9b95),_0x3527bb(0x5df,_0x48f8a0._0x3551e1,_0x48f8a0._0x2f3e00,_0x48f8a0._0x449d2f)]},'filePath':{'type':_0x3527bb(_0x48f8a0._0x468cb4,0x311,_0x48f8a0._0x371233,0x1c9)},'line':{'type':_0x21fc9a(_0x48f8a0._0x31f76c,-_0x48f8a0._0x40e877,_0x48f8a0._0x36022f,_0x48f8a0._0x18ddf2)},'character':{'type':_0x21fc9a(0x335,_0x48f8a0._0x1ee168,_0x48f8a0._0x514d3c,_0x48f8a0._0x18ddf2)},'query':{'type':'string'}},'required':[_0x3527bb(_0x48f8a0._0x3a42b6,0x65a,_0x48f8a0._0xc85387,_0x48f8a0._0x49bea5),_0x3527bb(0x2fd,0x388,-0xa,_0x48f8a0._0x10f585),_0x3527bb(_0x48f8a0._0x3c473e,0x495,_0x48f8a0._0xe1798,_0x48f8a0._0x4bec78),_0x3527bb(_0x48f8a0._0x48a409,_0x48f8a0._0x5ef9cd,0x392,0x36f)]},async *'execute'(_0x493374,_0x3d021c){const _0x4360bf={_0x192159:0x1d5},_0x198313={_0x3a0e9c:0x116,_0x20021e:0x282},_0x158fa7=_0x20f78d[_0x1340d1(_0x5df5ac._0x3e784a,_0x5df5ac._0x320336,_0x5df5ac._0xa46e1f,0x1f9)];if(!_0x158fa7)throw new ToolExecutionError(_0x26f583(0x7c9,_0x5df5ac._0x1f29a2,0x4fc,0x5b6));if(!_0x158fa7[_0x1340d1(_0x5df5ac._0x178838,_0x5df5ac._0x3ee512,0x1e1,_0x5df5ac._0x3a61b7)]())throw new ToolExecutionError(_0x1340d1(-0x1d,_0x5df5ac._0x57b3c4,_0x5df5ac._0x2daa1d,_0x5df5ac._0x4c904f));function _0x26f583(_0x1ae91f,_0x35b140,_0x50ac8a,_0x36c3fa){return _0x3527bb(_0x1ae91f-0x130,_0x1ae91f,_0x50ac8a-_0x198313._0x3a0e9c,_0x35b140-_0x198313._0x20021e);}function _0x1340d1(_0x2aaca2,_0x11a603,_0x3e0bce,_0x31b55d){return _0x21fc9a(_0x2aaca2-_0x4360bf._0x192159,_0x3e0bce,_0x3e0bce-0x1e6,_0x31b55d-0xa);}const _0x2c0076=_0x493374[_0x1340d1(0x37a,_0x5df5ac._0x4daf00,0x4c4,0x35d)];validatePosition(_0x493374[_0x26f583(_0x5df5ac._0x5cf78c,_0x5df5ac._0x2916de,0x69f,_0x5df5ac._0x181c87)],_0x493374[_0x26f583(_0x5df5ac._0x136bf3,0x5f1,_0x5df5ac._0x105019,_0x5df5ac._0x5de9d3)]);if(_0x2c0076===_0x26f583(_0x5df5ac._0x4c55b0,_0x5df5ac._0x3ab5f0,0x60a,0x412)){if(!_0x493374[_0x1340d1(_0x5df5ac._0x50cbf8,0x1b1,0x28,_0x5df5ac._0xbce11a)]?.[_0x26f583(_0x5df5ac._0x5f4d68,_0x5df5ac._0x3ac60b,0x453,_0x5df5ac._0x478cdc)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x4fd1cf=await awaitWithAbort2(_0x158fa7[_0x26f583(0x512,0x512,0x407,_0x5df5ac._0x36c5b2)](_0x493374['query'][_0x1340d1(-0x147,0x14c,0x226,_0x5df5ac._0xfa5b11)]()),_0x3d021c[_0x26f583(0x5bd,0x582,0x379,_0x5df5ac._0x1c3156)]);return yield createToolOutput(formatSymbols(_0x4fd1cf),{'operation':_0x2c0076,'query':_0x493374[_0x26f583(_0x5df5ac._0x160dc7,_0x5df5ac._0x3b5f44,0x5ba,0x692)],'symbols':_0x4fd1cf}),void 0x0;}const _0x4df1d9=resolveAllowedPath(_0x5332d2,_0x5c71d4,_0x493374[_0x26f583(0x2c0,_0x5df5ac._0x3701b5,0x486,_0x5df5ac._0x192085)]);await assertFile(_0x4df1d9);if(!await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x478cdc,_0x5df5ac._0x3b4186,_0x5df5ac._0x18be1e,0x7fb)](_0x4df1d9),_0x3d021c[_0x1340d1(0x5f,0x280,0x206,0x172)]))throw new ToolExecutionError(_0x1340d1(0x357,0x3ef,_0x5df5ac._0x17b684,0x2e5)+_0x493374[_0x1340d1(0x83,-0x9e,0x162,-0x12)],{'filePath':_0x493374[_0x1340d1(-0xed,_0x5df5ac._0x203111,-0x1c,-0x12)]});await awaitWithAbort2(_0x158fa7['touchFile'](_0x4df1d9,!![]),_0x3d021c['signal']);const _0x41bda1={'file':_0x4df1d9,'line':_0x493374['line']-0x1,'character':_0x493374[_0x1340d1(_0x5df5ac._0x487316,0x134,_0x5df5ac._0x19134a,0x1e1)]-0x1};switch(_0x2c0076){case'hover':{const _0x4b8c94=await awaitWithAbort2(_0x158fa7[_0x1340d1(-0xcb,-0xae,0xeb,-_0x5df5ac._0x5d9db9)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatHover(_0x4b8c94),{'operation':_0x2c0076,'filePath':_0x4df1d9,'hover':_0x4b8c94}),void 0x0;}case _0x1340d1(0x1bf,_0x5df5ac._0x3e61de,0x40c,_0x5df5ac._0x21cd9b):{const _0x370b2e=await awaitWithAbort2(_0x158fa7[_0x26f583(0x7e7,_0x5df5ac._0x554e99,0x4ae,_0x5df5ac._0x515d69)](_0x4df1d9),_0x3d021c['signal']);return yield createToolOutput(formatDiagnostics(_0x370b2e),{'operation':_0x2c0076,'filePath':_0x4df1d9,'diagnostics':_0x370b2e}),void 0x0;}case'goToDefinition':{const _0x1aad75=await awaitWithAbort2(_0x158fa7[_0x1340d1(-_0x5df5ac._0x1d83b3,-_0x5df5ac._0x3c1e3d,0x4a,_0x5df5ac._0x445955)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatLocations(_0x1aad75),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0x1aad75}),void 0x0;}case'findReferences':{const _0x36acfb=await awaitWithAbort2(_0x158fa7[_0x1340d1(_0x5df5ac._0x11d296,-0x47,_0x5df5ac._0x17f190,-_0x5df5ac._0x21b763)](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x5dee4c,0x582,_0x5df5ac._0x1fd99c,_0x5df5ac._0x5baa1f)]);return yield createToolOutput(formatLocations(_0x36acfb),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0x36acfb}),void 0x0;}case _0x1340d1(-_0x5df5ac._0x40859e,_0x5df5ac._0x117ef1,-0x1fd,0x1b):{const _0xe4e8af=await awaitWithAbort2(_0x158fa7['implementation'](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x522db9,0x582,_0x5df5ac._0x435056,_0x5df5ac._0x3f65ae)]);return yield createToolOutput(formatLocations(_0xe4e8af),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0xe4e8af}),void 0x0;}case _0x1340d1(0x18c,0x38,-_0x5df5ac._0xd894a1,0xa9):{const _0x33931a=await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x219c51,0x4b9,0x349,0x3b4)](_0x4df1d9),_0x3d021c[_0x26f583(_0x5df5ac._0x5b4879,0x582,_0x5df5ac._0x3fed54,0x79e)]);return yield createToolOutput(formatSymbols(_0x33931a),{'operation':_0x2c0076,'filePath':_0x4df1d9,'symbols':_0x33931a}),void 0x0;}case'prepareCallHierarchy':{const _0x57aba8=await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x161942,0x516,0x359,0x4f5)](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x41a594,_0x5df5ac._0x20b00c,_0x5df5ac._0x232a0d,_0x5df5ac._0x5110d0)]);return yield createToolOutput(formatSymbols(_0x57aba8),{'operation':_0x2c0076,'filePath':_0x4df1d9,'symbols':toStructured(_0x57aba8)}),void 0x0;}case _0x26f583(_0x5df5ac._0x38d9a8,0x729,0x8e8,0x69b):{const _0x231560=await awaitWithAbort2(_0x158fa7[_0x1340d1(0x38e,_0x5df5ac._0x3b9301,0x263,_0x5df5ac._0x3cdebb)](_0x41bda1),_0x3d021c[_0x26f583(0x49d,_0x5df5ac._0x179549,0x3ca,_0x5df5ac._0x32ab50)]);return yield createToolOutput(formatIncomingCalls(_0x231560),{'operation':_0x2c0076,'filePath':_0x4df1d9,'calls':toStructured(_0x231560)}),void 0x0;}case _0x26f583(_0x5df5ac._0x5e7e7a,_0x5df5ac._0x2ac262,0x539,0x91a):{const _0x16280b=await awaitWithAbort2(_0x158fa7[_0x1340d1(0x201,0x1c3,_0x5df5ac._0x43edda,0x324)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatOutgoingCalls(_0x16280b),{'operation':_0x2c0076,'filePath':_0x4df1d9,'calls':toStructured(_0x16280b)}),void 0x0;}}}});}import*as _0x1aaaf7 from'path';function buildDescription(_0x511342){const _0x294286={_0x73da59:0x424,_0x3bdbe2:0x37,_0x27c302:0x665,_0x50d367:0x682,_0x2af3ee:0x6ab,_0x284249:0x544,_0x536bae:0x229,_0x506756:0x651,_0x27cdb4:0x443,_0x271c1c:0x807,_0x45f7bd:0x5e7},_0x31dbc0={_0x125328:0x1bc},_0x318129={_0x2aaf51:0x17,_0x537881:0x3aa};function _0x3596ea(_0x33f7d3,_0x48faf3,_0x21fe4f,_0xff6938){return _0x28bc81(_0x33f7d3-_0x318129._0x2aaf51,_0x48faf3-0x106,_0x48faf3-_0x318129._0x537881,_0xff6938);}if(_0x511342[_0x598386(_0x294286._0x73da59,0x3b0,0x544,0x3bb)]===0x0)return _0x598386(0x1d6,0x10a,_0x294286._0x3bdbe2,0x157);function _0x598386(_0x488978,_0x1a84a4,_0x44c8ae,_0x72e36f){return _0x28bc81(_0x488978-0x1aa,_0x1a84a4-_0x31dbc0._0x125328,_0x72e36f- -0x18e,_0x488978);}const _0x31a7c0=[_0x3596ea(0x847,_0x294286._0x27c302,0x573,_0x294286._0x50d367),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x3596ea(0x498,_0x294286._0x2af3ee,_0x294286._0x284249,0x767),'Available\x20skills\x20(skill_name:\x20description):',..._0x511342[_0x598386(0x38b,_0x294286._0x536bae,_0x294286._0x506756,_0x294286._0x27cdb4)](_0x141c29=>'-\x20'+_0x141c29[_0x3596ea(0x98d,0x820,0x9c5,0x97a)]+':\x20'+_0x141c29[_0x3596ea(0x756,0x8ac,0x834,0x68a)])];return _0x31a7c0[_0x3596ea(0x98e,_0x294286._0x271c1c,0x995,_0x294286._0x45f7bd)]('\x0a');}function createLoadSkillTool(_0x1618b4){const _0x3c007d={_0x174ba0:0x195,_0x1b7118:0x125,_0xbeca92:0x3de,_0x2c9020:0x71b,_0x22b4dd:0x6db,_0x4b21aa:0x818,_0x54ed26:0x857,_0x5b8caa:0x783,_0x3dac91:0x97a,_0x1047b0:0x8a,_0x193870:0x7c0,_0x21428b:0x28e},_0xbc9cb6={_0x325903:0x78d,_0x19fa7e:0x992,_0x208462:0x609,_0x4ae8c1:0x49a,_0x51b85e:0x404,_0x553555:0x7e5,_0x323101:0x5f4,_0x3a8579:0x847,_0x4f0777:0x763,_0x2a6c7b:0x672,_0x3e64b5:0x480,_0x1e0707:0x4eb,_0x5ac642:0x6a9,_0x495c35:0x47e,_0x57cb21:0x5bf,_0x2c7677:0x85c,_0x4db00c:0x417,_0x5e16d4:0x202,_0x5a46d8:0x2b9,_0x2f44a7:0x41b,_0xd861a:0x596,_0x22b027:0x38d,_0x181611:0x727,_0x19bfe0:0x69b,_0x3475c5:0x669,_0x2c137a:0x6c5,_0x3da494:0x63c,_0x1884aa:0x643,_0x157d88:0x60e,_0x3264de:0x67b,_0x441513:0x51e,_0x24c4bc:0x7c5,_0x229e96:0x543,_0x10b7cc:0x674,_0x3f5504:0x70a,_0x46314b:0x8f4,_0x2cacc6:0x6e7},_0x31a645={_0x5392be:0x19b},_0x1e9942={_0x20cf63:0xe4},_0x1721fd={_0x511fd4:0x8a,_0x487bf6:0x5e};function _0x707e65(_0x1dee6f,_0xe9cf68,_0x55d964,_0x150f91){return _0x5b2413(_0x1dee6f-_0x1721fd._0x511fd4,_0xe9cf68-_0x1721fd._0x487bf6,_0xe9cf68- -0x5e1,_0x55d964);}const _0x575482=new Map(_0x1618b4[_0x707e65(_0x3c007d._0x174ba0,_0x3c007d._0x1b7118,0xb0,0x47)][_0x707e65(0x548,0x38f,_0x3c007d._0xbeca92,0x2e2)](_0x44abc3=>[_0x44abc3['name'],_0x44abc3]));function _0x32a3d2(_0x58f6bb,_0x449d8f,_0x2fc765,_0x26711e){return _0x28bc81(_0x58f6bb-0x1ce,_0x449d8f-_0x1e9942._0x20cf63,_0x449d8f-0x374,_0x2fc765);}const _0x4b2a24=buildDescription(_0x1618b4[_0x32a3d2(_0x3c007d._0x2c9020,_0x3c007d._0x22b4dd,0x7f1,_0x3c007d._0x4b21aa)]);return defineTool({'name':_0x32a3d2(_0x3c007d._0x54ed26,_0x3c007d._0x5b8caa,_0x3c007d._0x3dac91,0x5e8),'permissionClass':'read','description':_0x4b2a24,'inputSchema':{'type':_0x707e65(0x20e,0x23,-_0x3c007d._0x1047b0,-0x137),'properties':{'name':{'type':_0x32a3d2(0x6c5,0x60a,0x487,_0x3c007d._0x193870)}},'required':[_0x707e65(0x3b,0x234,_0x3c007d._0x21428b,0x19c)]},async *'execute'(_0x37caa4){const _0x341109={_0x3ced7e:0x178,_0x3b6311:0x19e},_0x2e59b2=_0x575482[_0x4cc55c(_0xbc9cb6._0x325903,0x5c9,0x786,_0xbc9cb6._0x19fa7e)](_0x37caa4[_0x4cc55c(0x672,0x681,_0xbc9cb6._0x208462,_0xbc9cb6._0x4ae8c1)]);if(!_0x2e59b2){const _0xc6323d=Array[_0x4cc55c(_0xbc9cb6._0x51b85e,0x573,0x452,0x207)](_0x575482['keys']())[_0x4cc55c(0x659,_0xbc9cb6._0x553555,_0xbc9cb6._0x323101,_0xbc9cb6._0x3a8579)](',\x20');throw new ToolExecutionError(_0xa113c1(0x86b,_0xbc9cb6._0x4f0777,0x705,0x653)+_0x37caa4[_0x4cc55c(_0xbc9cb6._0x2a6c7b,_0xbc9cb6._0x3e64b5,0x69e,_0xbc9cb6._0x1e0707)]+_0x4cc55c(0x527,0x6c0,0x5a3,0x4bf)+_0xc6323d,{'name':_0x37caa4['name']});}function _0xa113c1(_0x4ad378,_0x35161d,_0xb66876,_0x47976a){return _0x707e65(_0x4ad378-_0x31a645._0x5392be,_0x47976a-0x460,_0xb66876,_0x47976a-0x13a);}function _0x4cc55c(_0xb8f883,_0x24bb72,_0x37f5a4,_0x538c2e){return _0x32a3d2(_0xb8f883-0x196,_0xb8f883- -_0x341109._0x3ced7e,_0x24bb72,_0x538c2e-_0x341109._0x3b6311);}const _0x26fce3=await _0x1618b4['loadSkill'](_0x2e59b2),_0x244864=_0x2e59b2[_0x4cc55c(0x647,_0xbc9cb6._0x5ac642,0x709,0x50d)][_0x4cc55c(0x57b,0x73d,_0xbc9cb6._0x495c35,_0xbc9cb6._0x57cb21)]??_0x1aaaf7['dirname'](_0x2e59b2[_0x4cc55c(0x647,0x628,0x5d3,0x4ea)][_0xa113c1(0x61d,0x7ee,_0xbc9cb6._0x2c7677,0x6e7)]),_0x2c2fef=[_0x4cc55c(_0xbc9cb6._0x4db00c,0x5ac,_0xbc9cb6._0x5e16d4,_0xbc9cb6._0x5a46d8)+_0x26fce3[_0x4cc55c(0x672,0x4cb,0x5a0,0x842)],'',_0x26fce3[_0x4cc55c(_0xbc9cb6._0x2f44a7,_0xbc9cb6._0xd861a,0x416,_0xbc9cb6._0x22b027)],'','---',_0x4cc55c(0x7b2,_0xbc9cb6._0x181611,0x920,0x5ab)+_0x2e59b2[_0xa113c1(0x483,0x730,_0xbc9cb6._0x19bfe0,_0xbc9cb6._0x3475c5)][_0x4cc55c(_0xbc9cb6._0x2c137a,0x57e,0x6b1,_0xbc9cb6._0x3da494)],_0x4cc55c(_0xbc9cb6._0x1884aa,0x848,0x784,0x7f3)+_0x244864][_0xa113c1(0x835,0x651,_0xbc9cb6._0x157d88,_0xbc9cb6._0x3264de)]('\x0a');return yield createToolOutput(_0x2c2fef,{'id':_0x26fce3['id'],'name':_0x26fce3[_0x4cc55c(_0xbc9cb6._0x2a6c7b,_0xbc9cb6._0x441513,_0xbc9cb6._0x24c4bc,_0xbc9cb6._0x229e96)],'path':_0x2e59b2[_0xa113c1(_0xbc9cb6._0x10b7cc,0x5a0,_0xbc9cb6._0x3f5504,0x669)][_0xa113c1(0x6b5,0x59f,_0xbc9cb6._0x46314b,_0xbc9cb6._0x2cacc6)],'baseDirectory':_0x244864}),void 0x0;}});}var TODO_STATUSES=new Set(['pending',_0x28bc81(0x33b,0x51e,0x481,0x410),_0x5b2413(0x669,0x877,0x79e,0x8d9)]),TODO_PRIORITIES=new Set([_0x28bc81(0x141,0xd7,0x1dd,0x18),_0x28bc81(0x248,0x328,0x3a1,0x1b9),_0x5b2413(0x4e9,0x792,0x689,0x76a)]);function isTodoStatus(_0x151de4){const _0x138e06={_0x41d437:0x47f,_0x20e213:0x6c3,_0x4f6120:0x438},_0x5c5f9d={_0x170100:0x40,_0x5c2f57:0x165},_0x585a0d={_0x507383:0x161};function _0x3159ae(_0x4fa488,_0x3b071d,_0x55f6e7,_0x37bd10){return _0x5b2413(_0x4fa488-0x13d,_0x3b071d-_0x585a0d._0x507383,_0x4fa488- -0x1b6,_0x37bd10);}function _0x5dcbfc(_0x1f73e7,_0x13b150,_0xcd281e,_0x2b22a1){return _0x5b2413(_0x1f73e7-_0x5c5f9d._0x170100,_0x13b150-0x66,_0x1f73e7- -_0x5c5f9d._0x5c2f57,_0x13b150);}return typeof _0x151de4===_0x3159ae(_0x138e06._0x41d437,0x379,0x463,0x5fe)&&TODO_STATUSES[_0x3159ae(0x4f4,_0x138e06._0x20e213,_0x138e06._0x4f6120,0x659)](_0x151de4);}function isTodoPriority(_0x1a4eef){const _0x2da48c={_0x140a55:0x4d3,_0x59a09e:0x437,_0x10457a:0x5f1},_0x102356={_0x42958b:0x1a3,_0x13e3e0:0x131};function _0x48e98a(_0xb614d7,_0x5c7b86,_0x77975d,_0x5657f1){return _0x28bc81(_0xb614d7-_0x102356._0x42958b,_0x5c7b86-_0x102356._0x13e3e0,_0x77975d-0x35b,_0x5657f1);}return typeof _0x1a4eef===_0x48e98a(_0x2da48c._0x140a55,_0x2da48c._0x59a09e,_0x2da48c._0x10457a,0x734)&&TODO_PRIORITIES['has'](_0x1a4eef);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0x478f8c){const _0x21ed7d={_0x52b865:0x257,_0x488710:0x1ba,_0x415fdd:0x23a,_0x1c07b3:0x578},_0x5339a4={_0x443ac9:0x494},_0x49a6fb={_0x458816:0x9b,_0x22799d:0x160,_0x94be79:0x5a3};function _0x3238a7(_0x602462,_0x208c88,_0x15dcf1,_0x570e7c){return _0x5b2413(_0x602462-_0x49a6fb._0x458816,_0x208c88-_0x49a6fb._0x22799d,_0x208c88- -_0x49a6fb._0x94be79,_0x15dcf1);}function _0x1b4720(_0x20467c,_0x1f2554,_0x30c8c8,_0x121236){return _0x5b2413(_0x20467c-0xc0,_0x1f2554-0x1c5,_0x20467c- -_0x5339a4._0x443ac9,_0x30c8c8);}return this[_0x3238a7(0x404,_0x21ed7d._0x52b865,0x3cb,0x253)][_0x3238a7(_0x21ed7d._0x488710,0x38d,_0x21ed7d._0x415fdd,_0x21ed7d._0x1c07b3)](_0x478f8c)??[];}[_0x28bc81(0x5fc,0x59d,0x4c4,0x665)](_0x1f8861,_0xa05e9b){const _0x5967a3={_0x36820d:0x733,_0x285224:0x96c,_0x155a4e:0x8bf,_0x28059b:0x80c},_0x1b001d={_0x824bd0:0x0,_0x34737c:0x1d,_0xa0b4ca:0x36},_0x50abca={_0x58dac7:0x31f};function _0x5e5bcc(_0x584353,_0x3dc4bb,_0x4112f2,_0x1d0c86){return _0x5b2413(_0x584353-0xdc,_0x3dc4bb-0xfa,_0x4112f2- -_0x50abca._0x58dac7,_0x584353);}function _0x2cf5ee(_0x2e931a,_0x4e92a2,_0x4ec50c,_0x2413e5){return _0x5b2413(_0x2e931a-_0x1b001d._0x824bd0,_0x4e92a2-_0x1b001d._0x34737c,_0x2413e5-_0x1b001d._0xa0b4ca,_0x2e931a);}this[_0x2cf5ee(_0x5967a3._0x36820d,0x791,0x7cb,0x830)][_0x2cf5ee(_0x5967a3._0x285224,0xa22,_0x5967a3._0x155a4e,_0x5967a3._0x28059b)](_0x1f8861,_0xa05e9b);}[_0x28bc81(0x34f,0x3d7,0x1e6,0x143)](_0x1ee72a){const _0x319028={_0xf48a13:0x6ba,_0xe1487:0x5be,_0x100422:0x5d7,_0x3aed57:0x5c0,_0x437634:0x889,_0x47dd66:0x8dd,_0x21c9c0:0x3ea,_0x225d5e:0x3c0,_0x53fddc:0x46c,_0x49b47c:0x2c1,_0x48543c:0x327,_0x4360e2:0x5a6,_0x5cbd74:0x415,_0x5d4f6f:0x2ae,_0x2f2175:0x3b9,_0x512fe2:0x801},_0x88dca6={_0x47a642:0x1e4},_0x3c15f4={_0xabf5bb:0x67,_0x5ba132:0x188},_0x1416b3=this[_0x414ba9(_0x319028._0xf48a13,_0x319028._0xe1487,_0x319028._0x100422,_0x319028._0x3aed57)](_0x1ee72a);function _0x414ba9(_0x5a5e66,_0x52b181,_0x294924,_0x1e2aa7){return _0x5b2413(_0x5a5e66-0x96,_0x52b181-_0x3c15f4._0xabf5bb,_0x52b181- -_0x3c15f4._0x5ba132,_0x1e2aa7);}function _0x17264e(_0x514f50,_0x476a35,_0x30e7e1,_0x887cc0){return _0x28bc81(_0x514f50-0x180,_0x476a35-_0x88dca6._0x47a642,_0x476a35-0x2c1,_0x887cc0);}const _0x2ca49c={'total':_0x1416b3[_0x414ba9(_0x319028._0x437634,0x760,_0x319028._0x47dd66,0x6a6)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x37db58 of _0x1416b3){if(_0x37db58[_0x17264e(_0x319028._0x21c9c0,0x4bf,_0x319028._0x225d5e,0x49c)]===_0x414ba9(0x4a3,_0x319028._0x53fddc,0x5db,_0x319028._0x49b47c))_0x2ca49c[_0x17264e(_0x319028._0x48543c,0x516,_0x319028._0x4360e2,0x54c)]+=0x1;else{if(_0x37db58[_0x414ba9(0x307,_0x319028._0x5cbd74,_0x319028._0x5d4f6f,_0x319028._0x2f2175)]==='in_progress')_0x2ca49c[_0x17264e(0x89e,0x7ed,0x9ea,_0x319028._0x512fe2)]+=0x1;else _0x2ca49c['completed']+=0x1;}}return _0x2ca49c;}};function validateTodos(_0x2d7f26){const _0x5a94a3={_0x33878c:0x153,_0xaf0da2:0x154,_0x225eb0:0x26,_0x586353:0xdf,_0x3e171:0x27e,_0x1dfd0d:0x260,_0x37451e:0x30c,_0x2d871c:0x37e,_0x5878b6:0x342,_0xb28951:0x462,_0xfc7ef1:0x551,_0x28ab26:0x567,_0x3b35e3:0x4be,_0xec0590:0x584,_0x225d76:0x41f,_0x1b9c29:0x337,_0x342ef4:0x1dc,_0x4feca5:0x22c,_0x1d477a:0x9a,_0x410e33:0xa2,_0x1567a3:0x80,_0x42caf3:0x7f9,_0x3bede6:0xcb,_0xa031fa:0x9d,_0x1052cf:0x678,_0x55cf19:0x51e,_0x222c6a:0x882,_0x5aac40:0x26e,_0x422ecc:0x400,_0x5a1374:0xa02,_0x45c870:0xa71,_0x3e7356:0x954,_0x2d3591:0x924,_0x298209:0x303,_0x3ea55a:0x470,_0x5aab06:0x2cb,_0x553d46:0x4d7,_0x2e1c13:0x7b6,_0x981622:0x2ec,_0x156db4:0x431,_0x50d0cd:0x108,_0x55d89a:0x621,_0x5714b5:0x839,_0x101ec1:0xaa8,_0x41c849:0x898,_0x281c05:0x8ac,_0x39d0e5:0x589,_0x16f4c2:0x7b8,_0x2443cb:0x433,_0x32c731:0x68b,_0xb1fd62:0x561,_0x7ab184:0x5b,_0x4a4145:0xa7,_0x4a1df7:0x24b,_0x3ac5e2:0x345,_0x1422c9:0x3be,_0x4fff1c:0xbc,_0x32bfe2:0x39,_0x53f33c:0xd9,_0x276914:0x60d,_0xa55d1:0x6d2,_0x45714e:0x699,_0x26a1cd:0x791,_0x5813bc:0x570,_0x5b83bf:0x64b,_0x344a2d:0x681,_0x491d39:0x7d2,_0x10a99d:0x682,_0x2c7b87:0x73a,_0x89eca6:0xa17,_0x3f791b:0x8ac,_0x5c61be:0x912,_0x5a3341:0x709,_0x8fbe47:0x84e},_0x64bbe8={_0x55242c:0xa6,_0x5a27e5:0x1cb},_0x3b4614={_0x40cdd3:0x13d,_0x302611:0xec,_0x1a43ab:0x3c};if(!Array['isArray'](_0x2d7f26[_0x277bf4(_0x5a94a3._0x33878c,_0x5a94a3._0xaf0da2,-_0x5a94a3._0x225eb0,_0x5a94a3._0x586353)])||_0x2d7f26[_0x277bf4(0x153,_0x5a94a3._0x3e171,_0x5a94a3._0x1dfd0d,_0x5a94a3._0x37451e)][_0x277bf4(_0x5a94a3._0x2d871c,0x526,_0x5a94a3._0x5878b6,_0x5a94a3._0xb28951)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x1c6262(0x404,0x6b3,_0x5a94a3._0xfc7ef1,0x608)});function _0x1c6262(_0x302731,_0x37d55f,_0x1bd860,_0x394e27){return _0x5b2413(_0x302731-_0x3b4614._0x40cdd3,_0x37d55f-_0x3b4614._0x302611,_0x394e27- -_0x3b4614._0x1a43ab,_0x37d55f);}for(let _0x1810fc=0x0;_0x1810fc<_0x2d7f26[_0x1c6262(0x785,0x84b,_0x5a94a3._0x28ab26,0x681)][_0x277bf4(_0x5a94a3._0x2d871c,_0x5a94a3._0x3b35e3,_0x5a94a3._0xec0590,_0x5a94a3._0x225d76)];_0x1810fc+=0x1){const _0xcf058a=_0x2d7f26[_0x277bf4(0x153,_0x5a94a3._0x1b9c29,_0x5a94a3._0x342ef4,_0x5a94a3._0x4feca5)][_0x1810fc];if(!_0xcf058a||typeof _0xcf058a!==_0x277bf4(_0x5a94a3._0x1d477a,0x1ab,0x125,0x1c2))throw new ToolExecutionError('Todo\x20'+(_0x1810fc+0x1)+_0x277bf4(_0x5a94a3._0x410e33,-_0x5a94a3._0x1567a3,0x1e0,-0xe8),{'error':_0x1c6262(_0x5a94a3._0x42caf3,0x7c7,0x5ab,0x6a6)});if(typeof _0xcf058a['id']!==_0x277bf4(_0x5a94a3._0x3bede6,_0x5a94a3._0xa031fa,0x2cf,-0x14e)||_0xcf058a['id'][_0x1c6262(_0x5a94a3._0x1052cf,_0x5a94a3._0x55cf19,_0x5a94a3._0x222c6a,0x67b)]()[_0x277bf4(0x37e,0x3ff,_0x5a94a3._0x5aac40,_0x5a94a3._0x422ecc)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1810fc+0x1)+_0x1c6262(0x6bc,0x820,_0x5a94a3._0x5a1374,0x812),{'error':_0x1c6262(_0x5a94a3._0x45c870,_0x5a94a3._0x3e7356,0xb26,_0x5a94a3._0x2d3591)});if(typeof _0xcf058a[_0x277bf4(_0x5a94a3._0x298209,_0x5a94a3._0x3ea55a,_0x5a94a3._0x5aab06,_0x5a94a3._0x553d46)]!==_0x1c6262(0x810,0x791,_0x5a94a3._0x2e1c13,0x5f9)||_0xcf058a[_0x277bf4(0x303,_0x5a94a3._0x981622,_0x5a94a3._0x156db4,_0x5a94a3._0x50d0cd)][_0x1c6262(_0x5a94a3._0x55d89a,_0x5a94a3._0x5714b5,0x82f,0x67b)]()[_0x1c6262(0x69d,_0x5a94a3._0x101ec1,_0x5a94a3._0x41c849,_0x5a94a3._0x281c05)]===0x0)throw new ToolExecutionError(_0x1c6262(0x773,0x5f9,0x71a,_0x5a94a3._0x39d0e5)+(_0x1810fc+0x1)+':\x20content\x20required',{'error':_0x1c6262(0x573,0x535,_0x5a94a3._0x16f4c2,0x5cf)});if(!isTodoStatus(_0xcf058a[_0x1c6262(0x733,_0x5a94a3._0x2443cb,_0x5a94a3._0x32c731,_0x5a94a3._0xb1fd62)]))throw new ToolExecutionError(_0x277bf4(_0x5a94a3._0x7ab184,0x53,_0x5a94a3._0x4a4145,_0x5a94a3._0x4a1df7)+(_0x1810fc+0x1)+':\x20invalid\x20status',{'error':_0x1c6262(0x503,_0x5a94a3._0x3ac5e2,_0x5a94a3._0x1422c9,0x52f)});if(!isTodoPriority(_0xcf058a[_0x277bf4(_0x5a94a3._0x4fff1c,-0xdf,-_0x5a94a3._0x32bfe2,-_0x5a94a3._0x53f33c)]))throw new ToolExecutionError(_0x1c6262(_0x5a94a3._0x276914,_0x5a94a3._0xa55d1,0x4ff,_0x5a94a3._0x39d0e5)+(_0x1810fc+0x1)+_0x1c6262(0x5e1,0x98f,_0x5a94a3._0x45714e,_0x5a94a3._0x26a1cd),{'error':_0x1c6262(0x51d,0x450,0x66f,_0x5a94a3._0x5813bc)});}const _0x42e1e3=_0x2d7f26[_0x1c6262(0x802,0x4d2,_0x5a94a3._0x5b83bf,_0x5a94a3._0x344a2d)]['map'](_0x432658=>_0x432658['id']);function _0x277bf4(_0x2ba020,_0x5dd2b4,_0x14664e,_0x11f5d7){return _0x28bc81(_0x2ba020-_0x64bbe8._0x55242c,_0x5dd2b4-0x186,_0x2ba020- -_0x64bbe8._0x5a27e5,_0x14664e);}if(new Set(_0x42e1e3)[_0x1c6262(_0x5a94a3._0x491d39,_0x5a94a3._0x10a99d,0x5e8,0x635)]!==_0x42e1e3[_0x1c6262(0x7f6,_0x5a94a3._0x2c7b87,_0x5a94a3._0x89eca6,_0x5a94a3._0x3f791b)])throw new ToolExecutionError(_0x1c6262(0x752,0x514,_0x5a94a3._0x5c61be,_0x5a94a3._0x5a3341),{'error':_0x1c6262(0x91f,0x856,_0x5a94a3._0x8fbe47,0x7cd)});}function createStatsProgress(_0x109c7c){const _0x3f9168={_0x3ff992:0x436,_0x4155b2:0x14,_0x409d02:0x1fd,_0x469862:0x2b9,_0x4c15e3:0xb3},_0x48fe4f={_0x1b152f:0x154},_0x2da8c3={_0x54da86:0x22};function _0x35b5d3(_0xd55014,_0x580b98,_0x2981f5,_0x68ea14){return _0x5b2413(_0xd55014-_0x2da8c3._0x54da86,_0x580b98-0xc7,_0x580b98- -0x3ff,_0x2981f5);}function _0x4f77cf(_0xf113c2,_0x5f02e0,_0x552131,_0x494869){return _0x28bc81(_0xf113c2-_0x48fe4f._0x1b152f,_0x5f02e0-0x110,_0x494869-0x3b5,_0x552131);}return _0x109c7c['total']>0x0?Math['round'](_0x109c7c[_0x35b5d3(0x4db,0x39f,0x263,_0x3f9168._0x3ff992)]/_0x109c7c[_0x35b5d3(_0x3f9168._0x4155b2,_0x3f9168._0x409d02,_0x3f9168._0x469862,_0x3f9168._0x4c15e3)]*0x64)+'%':'0%';}function createReminderItems(_0x1f6eb1){const _0x5a0c61={_0x19e656:0xce},_0x2537f4={_0x114c97:0x134,_0x34bbd2:0x1d9,_0x15ff60:0x560};function _0x4beb21(_0x47ad6e,_0x5b07e6,_0x14fc5d,_0x5739c9){return _0x5b2413(_0x47ad6e-_0x2537f4._0x114c97,_0x5b07e6-_0x2537f4._0x34bbd2,_0x5739c9- -_0x2537f4._0x15ff60,_0x47ad6e);}function _0x4bb485(_0x5a15a5,_0x41e7ca,_0x396e6f,_0x467ba4){return _0x5b2413(_0x5a15a5-0x125,_0x41e7ca-_0x5a0c61._0x19e656,_0x41e7ca- -0x675,_0x5a15a5);}return _0x1f6eb1['map'](_0x1e6214=>({'content':_0x1e6214[_0x4beb21(0x358,0x244,0x281,0x30d)],'status':_0x1e6214[_0x4bb485(-0x2ad,-0xd8,-0xce,-0x9f)],'id':_0x1e6214['id']}));}function createStructuredResult(_0x2e9ee8,_0x3c67df,_0x5ad4f0,_0x467421){const _0x498a36={_0x4aae6d:0x816,_0x2e62d8:0x464,_0x280fc8:0x5de,_0x531623:0x600,_0x5c19fe:0x64c,_0x226b02:0x262},_0x163793={_0x1d5db9:0x91,_0xd12a74:0x165},_0x1b61cd={_0x16d939:0xc0};function _0x9a5007(_0x567f0b,_0xfe40b6,_0x19c6fe,_0x50597e){return _0x28bc81(_0x567f0b-_0x1b61cd._0x16d939,_0xfe40b6-0xc8,_0xfe40b6- -0xef,_0x50597e);}function _0x32005b(_0x4a9270,_0x303977,_0x4072b2,_0x9527d8){return _0x28bc81(_0x4a9270-_0x163793._0x1d5db9,_0x303977-_0x163793._0xd12a74,_0x9527d8-0x2f,_0x303977);}return{'allCompleted':_0x467421,'items':_0x3c67df[_0x32005b(_0x498a36._0x4aae6d,_0x498a36._0x2e62d8,_0x498a36._0x280fc8,_0x498a36._0x531623)](_0x13ddf0=>({'id':_0x13ddf0['id'],'content':_0x13ddf0[_0x32005b(0x549,0x6a3,0x4ee,0x4fd)],'status':_0x13ddf0['status'],'priority':_0x13ddf0[_0x9a5007(0x128,0x198,0x1b4,0x60)],'createdAt':_0x13ddf0[_0x32005b(0x548,0x4e6,0x6e9,0x5ab)]})),'progress':createStatsProgress(_0x5ad4f0),'recentChanges':!![],'sessionId':_0x2e9ee8,'stats':_0x5ad4f0,'todosWritten':_0x3c67df[_0x9a5007(0x627,0x45a,_0x498a36._0x5c19fe,_0x498a36._0x226b02)]};}function createOutputText(_0x20d5eb,_0x243d1){const _0x27bba6={_0x18e7ea:0x683,_0x38e69f:0x6fa,_0x19e2f4:0x56d,_0x16420d:0x5fe,_0x454c3c:0x638,_0x4ffb9a:0x55c,_0x40055a:0x492,_0x1a9e4f:0x514,_0x5b13c0:0x4d1,_0x16c6f6:0x6df,_0x12cde0:0x55b},_0x3dafec={_0x1b6f3c:0x68,_0x3a71bc:0x14f},_0x222119={_0x2a2a1e:0x1eb,_0x3fd008:0x197},_0x231e72=JSON[_0x4d04ac(_0x27bba6._0x18e7ea,_0x27bba6._0x38e69f,0x671,0x838)](createReminderItems(_0x20d5eb));function _0x45caf4(_0x4eaf78,_0x5afba6,_0x8bf1b6,_0x3d4dce){return _0x28bc81(_0x4eaf78-_0x222119._0x2a2a1e,_0x5afba6-0x32,_0x8bf1b6-_0x222119._0x3fd008,_0x4eaf78);}if(_0x243d1)return _0x4d04ac(_0x27bba6._0x19e2f4,0x433,0x412,0x6b1)+_0x20d5eb[_0x4d04ac(0x698,_0x27bba6._0x16420d,_0x27bba6._0x454c3c,_0x27bba6._0x4ffb9a)]+_0x45caf4(0x30b,_0x27bba6._0x40055a,_0x27bba6._0x1a9e4f,0x313)+_0x231e72+_0x4d04ac(_0x27bba6._0x5b13c0,0x398,0x34d,0x527);function _0x4d04ac(_0x5e5b71,_0x2ecb92,_0x4112ab,_0x5c1314){return _0x28bc81(_0x5e5b71-0x2,_0x2ecb92-_0x3dafec._0x1b6f3c,_0x5e5b71-_0x3dafec._0x3a71bc,_0x5c1314);}return _0x4d04ac(_0x27bba6._0x16c6f6,0x5c6,0x670,0x80c)+_0x231e72+_0x45caf4(0x50e,0x452,0x519,_0x27bba6._0x12cde0);}function createTodoWriteTool(_0x583fe8=new TodoStore()){const _0xf64a25={_0x117a26:0x4d3,_0x156023:0x5cc,_0x3c0a08:0x335,_0x33dea2:0x525,_0x1b996d:0x271,_0x42270:0x4e0,_0x594ee7:0x481,_0x4cd679:0x668,_0x502e96:0x52c,_0x275f8c:0x36c,_0x3e908b:0x394,_0x224c3d:0x540,_0x56af4f:0x5ca,_0x466150:0x5f0,_0x8f0b82:0x3e9,_0x5cd26c:0x42a,_0xeb499c:0x214,_0x4db7fc:0x357,_0xe7c369:0x3a2,_0x18528b:0x233,_0x1c8fb1:0x3ee,_0x3cf8f8:0x521,_0x12ab20:0x58d},_0x86d347={_0x264fa1:0x5f1,_0x56a5cd:0x791,_0xf02b7f:0x8ea,_0x129252:0x4de,_0xec5d5f:0x787,_0x3cd43d:0x439,_0x1a0229:0x709},_0x27e519={_0x692ba2:0x125,_0x513569:0x89},_0x1468fb={_0x42ed90:0x2cf},_0x37cb79={_0xd259ea:0x68,_0x12155f:0x1c6,_0x2d2be8:0x1b4};function _0xc83b26(_0xbf72d8,_0x4d6631,_0x1d5ea6,_0x5b1f90){return _0x5b2413(_0xbf72d8-_0x37cb79._0xd259ea,_0x4d6631-_0x37cb79._0x12155f,_0x4d6631- -_0x37cb79._0x2d2be8,_0xbf72d8);}function _0x22078a(_0x229db1,_0x32902b,_0x5d7d6a,_0xb5dd2){return _0x5b2413(_0x229db1-0x13e,_0x32902b-0x192,_0x229db1- -_0x1468fb._0x42ed90,_0x5d7d6a);}return defineTool({'name':_0x22078a(_0xf64a25._0x117a26,0x3a3,0x2b1,_0xf64a25._0x156023),'permissionClass':'read','description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20only\x20in\x20the\x20same\x20response\x20as\x20real\x20work\x20(read,\x20grep,\x20edit,\x20bash,\x20fetch).\x20Never\x20send\x20a\x20response\x20whose\x20only\x20tool\x20call\x20is\x20TodoWrite.\x20Do\x20not\x20open\x20a\x20turn\x20with\x20it.\x20Do\x20not\x20add\x20a\x20wrap-up\x20call\x20after\x20the\x20proving\x20test\x20or\x20build\x20is\x20green.\x0a\x0aSkip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Update\x20only\x20at\x20meaningful\x20milestones,\x20in\x20the\x20same\x20response\x20as\x20the\x20work\x20that\x20changed\x20those\x20statuses:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\x20finished\x20items\x20completed\x20and\x20set\x20the\x20next\x20milestone\x20in_progress\x20together.\x0a-\x20Do\x20not\x20call\x20TodoWrite\x20after\x20every\x20tool\x20call,\x20minor\x20substep,\x20or\x20progress\x20message.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked\x20or\x20verification\x20fails.\x20Revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.','inputSchema':{'type':_0x22078a(_0xf64a25._0x3c0a08,_0xf64a25._0x33dea2,_0xf64a25._0x1b996d,_0xf64a25._0x42270),'properties':{'todos':{'type':'array','items':{'type':'object','properties':{'content':{'type':'string'},'status':{'type':_0xc83b26(0x353,_0xf64a25._0x594ee7,_0xf64a25._0x4cd679,0x5bb)},'priority':{'type':_0x22078a(0x366,0x488,_0xf64a25._0x502e96,_0xf64a25._0x275f8c)},'id':{'type':'string'},'createdAt':{'type':_0xc83b26(_0xf64a25._0x3e908b,0x481,_0xf64a25._0x224c3d,0x3a0)}},'required':[_0xc83b26(_0xf64a25._0x56af4f,0x6b9,_0xf64a25._0x466150,0x75f),_0xc83b26(0x2e5,_0xf64a25._0x8f0b82,_0xf64a25._0x5cd26c,_0xf64a25._0xeb499c),_0x22078a(_0xf64a25._0x4db7fc,0x4f2,_0xf64a25._0xe7c369,_0xf64a25._0x18528b),'id']}}},'required':[_0x22078a(_0xf64a25._0x1c8fb1,_0xf64a25._0x3cf8f8,0x5e7,_0xf64a25._0x12ab20)]},async *'execute'(_0x539123,_0x489878){const _0x479403={_0x288348:0xf0,_0x376a7e:0x105};function _0x557330(_0x2840b5,_0x201b1c,_0x14452b,_0x9b199c){return _0x22078a(_0x201b1c-_0x479403._0x288348,_0x201b1c-_0x479403._0x376a7e,_0x2840b5,_0x9b199c-0xa3);}const _0x1ac423=_0x539123;validateTodos(_0x1ac423);const _0x27ea78=_0x489878[_0xafcb95(0x36f,0x6eb,0x583,_0x86d347._0x264fa1)]||'default',_0xa7e3cd=new Date()['toISOString'](),_0x4ff413=_0x1ac423['todos'][_0xafcb95(0x800,0x80e,_0x86d347._0x56a5cd,_0x86d347._0xf02b7f)](_0xdc43e2=>({'id':_0xdc43e2['id'],'content':_0xdc43e2[_0x557330(0x895,0x68e,0x7af,0x72f)],'status':_0xdc43e2[_0xafcb95(0x373,0x1f4,0x3be,0x324)],'priority':_0xdc43e2['priority'],'sessionId':_0x27ea78,'createdAt':_0xdc43e2['createdAt']||_0xa7e3cd,'updatedAt':_0xa7e3cd}));_0x583fe8[_0xafcb95(_0x86d347._0x129252,_0x86d347._0xec5d5f,0x684,0x717)](_0x27ea78,_0x4ff413);const _0x3673a0=_0x583fe8[_0xafcb95(_0x86d347._0x3cd43d,0x524,0x3a6,0x2d9)](_0x27ea78),_0x5e72f2=_0x4ff413[_0x557330(0x538,_0x86d347._0x1a0229,0x5a7,0x6fb)]>0x0&&_0x4ff413['every'](_0x488f68=>_0x488f68[_0xafcb95(0x3f6,0x1f5,0x3be,0x460)]===_0x557330(0x457,0x5bf,0x555,0x597));function _0xafcb95(_0x5490cd,_0x3aba6b,_0x2a4952,_0x4ef59d){return _0x22078a(_0x2a4952-0xf0,_0x3aba6b-_0x27e519._0x692ba2,_0x4ef59d,_0x4ef59d-_0x27e519._0x513569);}return createToolOutput(createOutputText(_0x4ff413,_0x5e72f2),createStructuredResult(_0x27ea78,_0x4ff413,_0x3673a0,_0x5e72f2));}});}function createUpdateTopicTool(){const _0x379ba9={_0x5d6cc9:0x6d3,_0x2c149d:0x555,_0x156c27:0x2df,_0x313821:0x40f,_0x48aaa2:0x590,_0x232fbc:0x6d7,_0x245dd5:0x89c,_0x56894f:0x524},_0x9b98f1={_0x102e29:0xad,_0x243b97:0x1b7,_0x499c5c:0x299,_0x376176:0x183,_0x2a517f:0xd0,_0x45b3d6:0x32c,_0x572feb:0x428,_0x348097:0x37d,_0x3c3ebc:0xbf,_0x2fac71:0x36,_0x15f2d7:0x1e,_0xd867d1:0x39a,_0x660f45:0x3b6},_0x3b20cd={_0x1b6073:0x3e3},_0x511f76={_0x2abf2a:0x159,_0x228e56:0xb3},_0x217b66={_0x449b77:0xea};function _0x175eb6(_0xcd5d9d,_0x4ee010,_0x2fd994,_0x28eaae){return _0x28bc81(_0xcd5d9d-0x119,_0x4ee010-_0x217b66._0x449b77,_0x28eaae-0x157,_0x2fd994);}function _0x1fcd33(_0x5ed40f,_0x58110a,_0x4ad347,_0x28b3dd){return _0x28bc81(_0x5ed40f-0x3f,_0x58110a-0x19c,_0x4ad347-0x18a,_0x58110a);}return defineTool({'name':_0x175eb6(_0x379ba9._0x5d6cc9,0x640,0x749,_0x379ba9._0x2c149d),'permissionClass':_0x175eb6(0x50c,0x258,_0x379ba9._0x156c27,_0x379ba9._0x313821),'description':_0x1fcd33(0x503,_0x379ba9._0x48aaa2,_0x379ba9._0x232fbc,_0x379ba9._0x245dd5),'inputSchema':{'type':'object','properties':{'topic':{'type':_0x175eb6(0x561,_0x379ba9._0x56894f,0x43f,0x3ed)}},'required':['topic']},async *'execute'(_0x1ac556,_0x8ac117){function _0x10c5d1(_0x5b7f03,_0x4dbc74,_0x184a76,_0x7b5454){return _0x175eb6(_0x5b7f03-_0x511f76._0x2abf2a,_0x4dbc74-_0x511f76._0x228e56,_0x184a76,_0x5b7f03- -0x1d6);}const {topic:_0x36c151}=_0x1ac556;if(typeof _0x36c151!==_0x10c5d1(0x217,_0x9b98f1._0x102e29,_0x9b98f1._0x243b97,0xee)||_0x36c151[_0x10c5d1(_0x9b98f1._0x499c5c,_0x9b98f1._0x376176,_0x9b98f1._0x2a517f,_0x9b98f1._0x45b3d6)]()['length']===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x10c5d1(0x499,_0x9b98f1._0x572feb,_0x9b98f1._0x348097,0x3da)});function _0x572d4b(_0xd012b1,_0x4fe142,_0x29df29,_0x78efa3){return _0x1fcd33(_0xd012b1-0x19d,_0xd012b1,_0x29df29- -_0x3b20cd._0x1b6073,_0x78efa3-0x35);}const _0x12c758=_0x36c151[_0x572d4b(-0xaa,-0x25,_0x9b98f1._0x3c3ebc,0xbd)]();return _0x8ac117[_0x572d4b(-_0x9b98f1._0x2fac71,-_0x9b98f1._0x15f2d7,0x2a,0x246)]?.(_0x12c758),yield createToolOutput(_0x572d4b(_0x9b98f1._0xd867d1,0x20c,_0x9b98f1._0x660f45,0x194)+_0x12c758+'\x22',{'topic':_0x12c758}),void 0x0;}});}import{randomUUID as _0x51feb2}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x48e481}from'child_process';function errorMessage(_0x5bb403){return _0x5bb403 instanceof Error?_0x5bb403['message']:String(_0x5bb403);}function isNotFound(_0xa3715b){const _0x3fbc90={_0x50ad4b:0x1a6,_0x344019:0x11,_0x3ceea4:0x428,_0x3ebfa8:0x433,_0x549968:0x1ac,_0x316f29:0x44c,_0x396ac1:0x38a,_0x1b2e1d:0x1f2},_0x17c417={_0x266c23:0x16f,_0x16e305:0x1e3,_0x231482:0x20f};function _0x320a96(_0x3284e7,_0x13101c,_0xac1335,_0x392192){return _0x28bc81(_0x3284e7-_0x17c417._0x266c23,_0x13101c-_0x17c417._0x16e305,_0xac1335- -_0x17c417._0x231482,_0x13101c);}function _0x4c0cc4(_0x28ecf7,_0x36c18a,_0x567d29,_0x47e8b3){return _0x28bc81(_0x28ecf7-0x20,_0x36c18a-0x125,_0x28ecf7-0x375,_0x36c18a);}return typeof _0xa3715b===_0x320a96(-_0x3fbc90._0x50ad4b,-0x78,0x56,_0x3fbc90._0x344019)&&_0xa3715b!==null&&_0x320a96(_0x3fbc90._0x3ceea4,_0x3fbc90._0x3ebfa8,0x38a,0x51e)in _0xa3715b&&_0xa3715b[_0x320a96(_0x3fbc90._0x549968,_0x3fbc90._0x316f29,_0x3fbc90._0x396ac1,_0x3fbc90._0x1b2e1d)]==='ESRCH';}function isSafeProcessId(_0x18ca0b){const _0x2546f={_0xe2d61b:0x144,_0x403902:0x17f,_0x5887f1:0x3f0};function _0x3b77c3(_0x2b2dc0,_0x15f20b,_0x4ff077,_0x1c8861){return _0x28bc81(_0x2b2dc0-_0x2546f._0xe2d61b,_0x15f20b-_0x2546f._0x403902,_0x15f20b-_0x2546f._0x5887f1,_0x2b2dc0);}return _0x18ca0b!==void 0x0&&Number[_0x3b77c3(0x68c,0x706,0x7d5,0x8d8)](_0x18ca0b)&&_0x18ca0b>0x1;}function createProcessTreeSignalAdapter(_0x185f4b={}){const _0x310bf4={_0x5b0e20:0x123,_0x3b1193:0x97,_0x3886c4:0x155,_0x4fea40:0x1c0,_0x42aea6:0x3f6,_0x5ca240:0x391,_0x2ce0ac:0x49b,_0xf8895b:0x683,_0xa4905b:0x4d5},_0x28f308={_0x49371b:0x700,_0x688eb6:0x68e,_0x300bb8:0x572,_0x13a229:0x5c8,_0x42dba9:0x746,_0x4beac6:0x61f,_0x2a4107:0x5d3,_0x229f01:0x6f3,_0x3e7237:0x684,_0x130065:0x49b,_0x2a247c:0x634,_0xf6c129:0x4c5,_0x27e34d:0x654,_0x3c33b4:0x63a},_0xfd0f28={_0x1bdf48:0x14c},_0x3a52de={_0x3b29dc:0x1c,_0x38f73d:0x220},_0x252729=_0x185f4b['platform']??process[_0x19863d(_0x310bf4._0x5b0e20,-_0x310bf4._0x3b1193,0x1f1,0x3a)];function _0x5b9d04(_0x1af716,_0x2d0122,_0x35a1cc,_0x430e5f){return _0x28bc81(_0x1af716-_0x3a52de._0x3b29dc,_0x2d0122-0x8d,_0x2d0122-_0x3a52de._0x38f73d,_0x430e5f);}const _0x5839db=_0x185f4b[_0x19863d(_0x310bf4._0x3886c4,_0x310bf4._0x4fea40,0x23d,0xdf)]??process['kill'][_0x5b9d04(_0x310bf4._0x42aea6,0x515,0x686,_0x310bf4._0x5ca240)](process);function _0x19863d(_0x43bca0,_0x2c7942,_0x1f3b34,_0x58e99d){return _0x28bc81(_0x43bca0-_0xfd0f28._0x1bdf48,_0x2c7942-0x123,_0x58e99d- -0x38f,_0x43bca0);}const _0x2a1d3a=_0x185f4b[_0x5b9d04(_0x310bf4._0x2ce0ac,0x486,_0x310bf4._0xf8895b,_0x310bf4._0xa4905b)]??_0x48e481;return{async 'signal'(_0x2c7a21,_0x1f65e9){const _0x20bc79={_0x33f14e:0x96,_0x371e4c:0x1f7,_0x228558:0x111,_0x27e54d:0x224,_0x1a1a7d:0x3,_0x5b8b6d:0x11c,_0x20f8ff:0xe2,_0x4deeed:0x108,_0x33e66a:0xfd,_0x2e0d98:0xc9,_0x22aac9:0xbf,_0x5202fb:0x56,_0x5ad96d:0x48,_0x153be1:0xcc,_0x101edf:0x104,_0x14a87f:0xa5,_0x1eafbf:0xf,_0x3849ca:0xb5,_0x31ef72:0x18},_0x13f375={_0x39579b:0x357,_0x1222a4:0x7a},_0x25f5b7={_0x4caa4e:0xb,_0x517297:0x1a0},_0x10d181={_0x77396a:0x1c4};if(_0x252729!=='win32'){if(!isSafeProcessId(_0x2c7a21['processGroupId']))return{'outcome':_0x2976ba(_0x28f308._0x49371b,0x559,0x59c,_0x28f308._0x688eb6),'error':_0x2976ba(0x555,_0x28f308._0x300bb8,_0x28f308._0x13a229,_0x28f308._0x42dba9)};try{return _0x5839db(-_0x2c7a21[_0x2976ba(_0x28f308._0x4beac6,0x510,0x65c,0x608)],_0x1f65e9===_0x1f6aae(0x44c,_0x28f308._0x2a4107,0x4fc,0x4de)?'SIGTERM':'SIGKILL'),{'outcome':_0x2976ba(0x7ab,0x6e1,0x5fa,_0x28f308._0x229f01)};}catch(_0x2e1cf3){return isNotFound(_0x2e1cf3)?{'outcome':_0x2976ba(_0x28f308._0x3e7237,0x31c,0x280,_0x28f308._0x130065),'error':errorMessage(_0x2e1cf3)}:{'outcome':_0x1f6aae(0x48b,_0x28f308._0x2a247c,0x360,_0x28f308._0xf6c129),'error':errorMessage(_0x2e1cf3)};}}function _0x1f6aae(_0x36b7df,_0x5e1fcf,_0x26c987,_0x4530e1){return _0x19863d(_0x26c987,_0x5e1fcf-0x1b7,_0x26c987-_0x10d181._0x77396a,_0x36b7df-0x3b7);}function _0x2976ba(_0x1a0090,_0x212145,_0x3d2899,_0x436eac){return _0x5b9d04(_0x1a0090-0x1ed,_0x436eac-_0x25f5b7._0x4caa4e,_0x3d2899-_0x25f5b7._0x517297,_0x212145);}if(!isSafeProcessId(_0x2c7a21['rootPid']))return{'outcome':_0x1f6aae(0x48b,_0x28f308._0x27e34d,0x32c,0x47c),'error':_0x2976ba(0x650,_0x28f308._0x3c33b4,0x557,0x552)};return new Promise(_0x3818e9=>{const _0x83ffa3={_0x14086b:0x33d,_0x13b84e:0x314,_0x4657a8:0x2d,_0x1ade6f:0xae,_0x309654:0x299},_0xdfedad={_0x364e66:0x12c},_0x1c6b5a={_0x186d40:0x2b7,_0x4d143e:0x699,_0x404b12:0x4a7,_0x4874c2:0x4b8},_0x5663f4={_0x1b8745:0x12f,_0x230cdb:0x4ff};function _0x463452(_0x30f9b2,_0x102aca,_0x5d7ea1,_0x1743a8){return _0x1f6aae(_0x5d7ea1- -_0x13f375._0x39579b,_0x102aca-0x1e4,_0x30f9b2,_0x1743a8-_0x13f375._0x1222a4);}function _0x55e5d6(_0x5e688f,_0x2b75f0,_0x1a29c7,_0x22bc45){return _0x2976ba(_0x5e688f-0x12b,_0x2b75f0,_0x1a29c7-_0x5663f4._0x1b8745,_0x5e688f- -_0x5663f4._0x230cdb);}let _0x35794b=![];const _0x2dc4a4=_0x37e336=>{if(_0x35794b)return;_0x35794b=!![],_0x3818e9(_0x37e336);};let _0x14b2bf;try{const _0x59311c=['/PID',String(_0x2c7a21[_0x55e5d6(-_0x20bc79._0x33f14e,-_0x20bc79._0x371e4c,0x25,-0x46)]),'/T'];if(_0x1f65e9===_0x463452(-_0x20bc79._0x228558,_0x20bc79._0x27e54d,_0x20bc79._0x1a1a7d,_0x20bc79._0x5b8b6d))_0x59311c[_0x55e5d6(_0x20bc79._0x20f8ff,-_0x20bc79._0x4deeed,-0x11f,-_0x20bc79._0x33e66a)]('/F');_0x14b2bf=_0x2a1d3a(_0x463452(-_0x20bc79._0x2e0d98,0x203,_0x20bc79._0x22aac9,-_0x20bc79._0x5202fb),_0x59311c,{'stdio':'ignore','windowsHide':!![]});}catch(_0x2a7734){_0x2dc4a4({'outcome':_0x55e5d6(0x18f,0x290,-0xf,0x1c0),'error':errorMessage(_0x2a7734)});return;}_0x14b2bf[_0x463452(-0x96,_0x20bc79._0x5ad96d,-_0x20bc79._0x153be1,-0x15b)](_0x55e5d6(_0x20bc79._0x101edf,0xa1,0x278,-0x87),_0x27654a=>{const _0xad03ca={_0x36a8e1:0x1c8,_0x3fd79a:0x566,_0x437b89:0x9f};function _0x2ee213(_0x10a1a6,_0xaa1031,_0x1f33aa,_0x547246){return _0x463452(_0x10a1a6,_0xaa1031-_0xad03ca._0x36a8e1,_0x1f33aa-_0xad03ca._0x3fd79a,_0x547246-_0xad03ca._0x437b89);}_0x2dc4a4(isNotFound(_0x27654a)?{'outcome':_0x2ee213(_0x1c6b5a._0x186d40,_0x1c6b5a._0x4d143e,_0x1c6b5a._0x404b12,_0x1c6b5a._0x4874c2),'error':errorMessage(_0x27654a)}:{'outcome':'failed','error':errorMessage(_0x27654a)});}),_0x14b2bf[_0x463452(-0x1c3,_0x20bc79._0x14a87f,-_0x20bc79._0x153be1,0x50)](_0x463452(-_0x20bc79._0x1eafbf,-_0x20bc79._0x3849ca,_0x20bc79._0x31ef72,-0x148),_0xabf9c2=>{const _0x383a05={_0x27b2fe:0x39c,_0x2d211c:0x156};function _0x388549(_0x6c74c0,_0x336772,_0x4073b2,_0x893838){return _0x463452(_0x6c74c0,_0x336772-0x8c,_0x4073b2- -0x2,_0x893838-_0xdfedad._0x364e66);}function _0x53ba20(_0xed6fe8,_0x569e78,_0x136118,_0x347f7f){return _0x55e5d6(_0x136118-_0x383a05._0x27b2fe,_0x569e78,_0x136118-_0x383a05._0x2d211c,_0x347f7f-0x13f);}_0x2dc4a4(_0xabf9c2===0x0?{'outcome':'delivered'}:{'outcome':_0x388549(0x100,_0x83ffa3._0x14086b,0x132,_0x83ffa3._0x13b84e),'error':_0x388549(_0x83ffa3._0x4657a8,0x97,_0x83ffa3._0x1ade6f,_0x83ffa3._0x309654)+String(_0xabf9c2)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x3778ae){const _0x192f9f={_0x339ff3:0xe3,_0x10c88c:0x87},_0x4f9dbc={_0x216589:0x17c,_0x391602:0xd3},_0x4f34bb=_0x3778ae[_0x11bb78(_0x192f9f._0x339ff3,-_0x192f9f._0x10c88c,0x6c,0xfa)](0x0)??0x0;function _0x11bb78(_0x3c5575,_0x5814d0,_0xbfd3a0,_0x9e0a3){return _0x28bc81(_0x3c5575-_0x4f9dbc._0x216589,_0x5814d0-_0x4f9dbc._0x391602,_0x5814d0- -0x2fc,_0x3c5575);}return _0x4f34bb<0x20&&_0x3778ae!=='\x09'||_0x4f34bb>=0x7f&&_0x4f34bb<=0x9f||_0x4f34bb===0xa0||_0x4f34bb>=0x200b&&_0x4f34bb<=0x200f||_0x4f34bb>=0x2060&&_0x4f34bb<=0x2069||_0x4f34bb===0x23ce||_0x4f34bb===0x2424;}function createTerminalOutputNormalizer(){const _0x3ff77d={_0x4cc67c:0x5c2,_0x5c2407:0x52c,_0x6ea876:0x3ed,_0x859468:0x50c,_0x10d9a5:0x339,_0x29e4a4:0x4a2,_0x1492eb:0x2b3,_0x16352a:0x36a,_0x3885af:0x191,_0x5bb309:0x388,_0x53f929:0x7d,_0x32a568:0x4f7,_0x432611:0x36a,_0x4b0768:0x21d,_0x859416:0x2a8,_0x1c331a:0x1b8,_0x473e7a:0x561,_0xe3bf09:0x629,_0x5be86e:0x809,_0x21abfd:0xc2,_0x5b4b87:0x9a,_0x2fa789:0x325,_0x5aed47:0x440,_0x28c712:0x52b,_0x1f3b95:0x72d,_0x114a9c:0x125,_0x344915:0x4e5},_0x154fc8={_0x17cbad:0x48},_0x10f4a2={_0x450f0f:0x32e},_0x264ab6={_0x2ce30d:0x299,_0x45891f:0x29d},_0xc46d={_0x44d8a5:0x816,_0x289b7b:0x667,_0x2983e8:0x376,_0x1ce9f9:0x3eb,_0x17c6ad:0x588,_0x379755:0x8f5,_0x54c9d4:0x754,_0x45c5cc:0x350};let _0x37b73e=_0x3e89db(0x2c9,0x184,0x1fd,0x3b0),_0x45ecd3=![];function _0x3e89db(_0x30b42f,_0x42fab1,_0x547831,_0x3b5aed){return _0x5b2413(_0x30b42f-0x1be,_0x42fab1-0xda,_0x547831- -0x5c8,_0x30b42f);}let _0x12e778=![],_0x29a606=[],_0x49cd30=0x0,_0x41ac20=![];const _0x16e981=()=>{_0x29a606=[],_0x49cd30=0x0;},_0x596445=_0x2a552f=>{const _0x4f5c01={_0x4939ff:0x12a,_0x2c83e6:0x4da},_0x868804={_0x14d80b:0x72};function _0x4c3bf1(_0x55ab2c,_0x3b945d,_0x31767e,_0x1da463){return _0x3e89db(_0x55ab2c,_0x3b945d-_0x868804._0x14d80b,_0x31767e-0x168,_0x1da463-0xd3);}_0x29a606[_0x993e11(0x4cb,0x7f9,_0xc46d._0x44d8a5,_0xc46d._0x289b7b)](_0x2a552f),_0x49cd30+=_0x2a552f[_0x4c3bf1(_0xc46d._0x2983e8,_0xc46d._0x1ce9f9,0x488,0x279)];function _0x993e11(_0x6a9adc,_0x4960ac,_0x4cb380,_0x17f42a){return _0x3e89db(_0x4cb380,_0x4960ac-_0x4f5c01._0x4939ff,_0x17f42a-_0x4f5c01._0x2c83e6,_0x17f42a-0x1da);}while(_0x49cd30>MAX_PROGRESS_LINE_CHARS){const _0x446dea=_0x29a606[_0x993e11(_0xc46d._0x17c6ad,_0xc46d._0x379755,_0xc46d._0x54c9d4,0x78b)]();if(_0x446dea===void 0x0)break;_0x49cd30-=_0x446dea[_0x4c3bf1(0x5df,0x4c4,0x488,_0xc46d._0x45c5cc)];}},_0x5eda81=_0x1af64a=>{const _0x608d27={_0x2c5cfe:0x19,_0x2cf80a:0x65};function _0x1d00c2(_0x186a85,_0x4477d2,_0x1175c2,_0x185a31){return _0x3e89db(_0x4477d2,_0x4477d2-_0x608d27._0x2c5cfe,_0x186a85-_0x608d27._0x2cf80a,_0x185a31-0x1e);}const _0x3255f7=_0x29a606[_0x1d00c2(_0x264ab6._0x2ce30d,0x2c7,0x278,_0x264ab6._0x45891f)]('')+(_0x1af64a?'\x0a':'');return _0x16e981(),_0x3255f7;},_0x305c5d=_0x36a4c7=>{if(_0x41ac20)throw new Error(_0x391b2e(_0x3ff77d._0x4cc67c,_0x3ff77d._0x5c2407,_0x3ff77d._0x6ea876,_0x3ff77d._0x859468));function _0x391b2e(_0x44e48c,_0x351d7f,_0x2dbf4c,_0x5562a0){return _0x3e89db(_0x2dbf4c,_0x351d7f-0x55,_0x351d7f-_0x10f4a2._0x450f0f,_0x5562a0-0x17);}let _0x43edf7='';function _0x32a706(_0x5d9e05,_0x1ee8aa,_0x1f6ecb,_0x227f8f){return _0x3e89db(_0x227f8f,_0x1ee8aa-0xd,_0x1ee8aa- -0x4d,_0x227f8f-_0x154fc8._0x17cbad);}for(const _0x3ffb03 of _0x36a4c7){if(_0x37b73e===_0x32a706(0x2dd,0x330,0x4c4,_0x3ff77d._0x10d9a5)){const _0x150828=_0x3ffb03[_0x391b2e(0x3a1,0x37a,0x33f,_0x3ff77d._0x29e4a4)](0x0)??0x0;if(_0x150828>=0x40&&_0x150828<=0x7e)_0x37b73e=_0x32a706(_0x3ff77d._0x1492eb,0x1b0,-0x12,0x189);continue;}if(_0x37b73e===_0x32a706(0x3fc,_0x3ff77d._0x16352a,0x201,_0x3ff77d._0x3885af)||_0x37b73e==='dcs'){if(_0x45ecd3){_0x3ffb03==='\x5c'?(_0x37b73e=_0x32a706(0x77,0x1b0,_0x3ff77d._0x5bb309,_0x3ff77d._0x53f929),_0x45ecd3=![]):_0x45ecd3=_0x3ffb03===ESC;continue;}if(_0x3ffb03===ESC)_0x45ecd3=!![];else _0x37b73e===_0x32a706(_0x3ff77d._0x32a568,_0x3ff77d._0x432611,_0x3ff77d._0x4b0768,0x1f1)&&_0x3ffb03===BEL&&(_0x37b73e=_0x32a706(0x196,0x1b0,_0x3ff77d._0x859416,_0x3ff77d._0x1c331a));continue;}if(_0x37b73e==='escape'){if(_0x3ffb03==='[')_0x37b73e=_0x391b2e(_0x3ff77d._0x473e7a,0x6ab,_0x3ff77d._0xe3bf09,_0x3ff77d._0x5be86e);else{if(_0x3ffb03===']')_0x37b73e='osc',_0x45ecd3=![];else _0x3ffb03==='P'||_0x3ffb03==='_'||_0x3ffb03==='^'?(_0x37b73e=_0x32a706(_0x3ff77d._0x21abfd,0x14c,_0x3ff77d._0x5b4b87,_0x3ff77d._0x2fa789),_0x45ecd3=![]):_0x37b73e=_0x391b2e(_0x3ff77d._0x5aed47,_0x3ff77d._0x28c712,_0x3ff77d._0x1f3b95,0x370);}continue;}if(_0x12e778){_0x12e778=![];if(_0x3ffb03==='\x0a'){_0x43edf7+=_0x5eda81(!![]);continue;}_0x16e981();}if(_0x3ffb03===ESC)_0x37b73e=_0x391b2e(0x8be,0x6ae,0x4dc,0x7cf);else{if(_0x3ffb03==='\x0d')_0x12e778=!![];else{if(_0x3ffb03==='\x0a')_0x43edf7+=_0x5eda81(!![]);else{if(_0x3ffb03==='\x08'){const _0x581f59=_0x29a606[_0x391b2e(_0x3ff77d._0x114a9c,0x2fb,0x4b6,_0x3ff77d._0x344915)]();if(_0x581f59!==void 0x0)_0x49cd30-=_0x581f59[_0x32a706(0x3c6,0x2d3,0x1e4,0x19f)];}else!isDiscardedTextControl(_0x3ffb03)&&_0x596445(_0x3ffb03);}}}}return _0x43edf7;};return{'write':_0x305c5d,'end'(){if(_0x41ac20)return'';return _0x41ac20=!![],_0x12e778=![],_0x37b73e='text',_0x45ecd3=![],_0x5eda81(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0xfe45e1){const _0x4f2778={_0x36b6c6:0x705,_0x76aabd:0x6a5,_0x46c486:0x6da,_0x41eca4:0x37c,_0x14a908:0x529},_0x215924={_0x486f13:0x1a0,_0x565dca:0x123,_0x41c361:0x1c9},_0xd0b463={_0x84e0b2:0x66};super(_0x536d95(_0x4f2778._0x36b6c6,_0x4f2778._0x76aabd,_0x4f2778._0x46c486,0x852));function _0x536d95(_0x35939b,_0x5e6bca,_0x4d2c0b,_0x2412f2){return _0x28bc81(_0x35939b-0x120,_0x5e6bca-_0xd0b463._0x84e0b2,_0x5e6bca-0x211,_0x4d2c0b);}this[_0x49448c(_0x4f2778._0x41eca4,0x53b,0x492,_0x4f2778._0x14a908)]=_0xfe45e1;function _0x49448c(_0x25a901,_0x17a78c,_0x48a44d,_0x23b301){return _0x28bc81(_0x25a901-_0x215924._0x486f13,_0x17a78c-_0x215924._0x565dca,_0x48a44d-_0x215924._0x41c361,_0x23b301);}this['name']='BackgroundProcessCleanupError';}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x2603c0){const _0x195d8c={_0x54415f:0x540,_0x3e6aed:0x5ee},_0x32c527={_0x19301e:0xe3,_0x1a2880:0x89},_0x19d2e1={_0x50b869:0x2a9};function _0x357844(_0x29e3a7,_0x51a50a,_0x1ce0b2,_0x5f06f8){return _0x28bc81(_0x29e3a7-0x1d4,_0x51a50a-0xfe,_0x29e3a7-_0x19d2e1._0x50b869,_0x5f06f8);}function _0x594fe2(_0x1ecb43,_0x5a49d6,_0x2d6c54,_0x4904ed){return _0x28bc81(_0x1ecb43-_0x32c527._0x19301e,_0x5a49d6-_0x32c527._0x1a2880,_0x1ecb43-0x3bb,_0x2d6c54);}return _0x2603c0===_0x357844(0x728,_0x195d8c._0x54415f,0x90f,_0x195d8c._0x3e6aed)||_0x2603c0==='killed'||_0x2603c0===_0x594fe2(0x793,0x9af,0x74b,0x676);}var BackgroundProcessRegistry=class{['entries']=new Map();[_0x28bc81(0x36c,0x347,0x53d,0x495)]=new Map();[_0x28bc81(0xd7,0xfa,0x28b,0x151)];[_0x28bc81(0x469,0x35f,0x56a,0x6ab)];[_0x28bc81(0x7db,0x7d7,0x5ff,0x495)];[_0x28bc81(0x1df,0x1bf,0x3c9,0x2ff)];[_0x5b2413(0x7a0,0x945,0x906,0x958)];[_0x5b2413(0x794,0x6bc,0x794,0x957)]=0x0;constructor(_0x5ee04d={}){const _0x224ab7={_0x48f8c8:0xfa,_0x3ffb5f:0x23b,_0x44555e:0x1f,_0x40949d:0x29f,_0x43b29b:0x397,_0x247f76:0x11,_0x20ee8f:0x291,_0x29045b:0x222,_0xcb042b:0x31f,_0x3c4c52:0x27a,_0xd81ed2:0x3da,_0x531772:0x19a,_0xdb2dfa:0x5b,_0x14ad04:0x199,_0x55fe4b:0x1b3,_0x418984:0x1ea,_0x4c0a44:0x101},_0x46048d={_0x16296e:0xe0,_0x200044:0x724},_0x200d12={_0x3a85ae:0x1b4,_0x1d6290:0x32};function _0x1f3339(_0x5345de,_0x47c7ea,_0x22d736,_0x269ee1){return _0x28bc81(_0x5345de-_0x200d12._0x3a85ae,_0x47c7ea-_0x200d12._0x1d6290,_0x47c7ea- -0x36e,_0x269ee1);}this[_0x206ba7(-_0x224ab7._0x48f8c8,0x99,-0x148,-0x278)]=_0x5ee04d[_0x206ba7(-0xfa,-_0x224ab7._0x3ffb5f,-_0x224ab7._0x44555e,-_0x224ab7._0x40949d)]??0xa,this['maxEntries']=_0x5ee04d[_0x206ba7(0x1e5,0x391,_0x224ab7._0x43b29b,_0x224ab7._0x247f76)]??0x40,this[_0x1f3339(0x452,_0x224ab7._0x20ee8f,_0x224ab7._0x29045b,_0x224ab7._0xcb042b)]=_0x5ee04d[_0x206ba7(_0x224ab7._0x3c4c52,0x415,0x1d4,_0x224ab7._0xd81ed2)]??0x100000;function _0x206ba7(_0x468c21,_0x515ce8,_0x2e7583,_0x1cb2c1){return _0x5b2413(_0x468c21-_0x46048d._0x16296e,_0x515ce8-0xf9,_0x468c21- -_0x46048d._0x200044,_0x515ce8);}this[_0x1f3339(_0x224ab7._0x531772,_0x224ab7._0xdb2dfa,0x11,0x171)]=_0x5ee04d[_0x206ba7(0x44,_0x224ab7._0x14ad04,-0xb4,-_0x224ab7._0x55fe4b)]??process[_0x206ba7(0x44,0x106,_0x224ab7._0x418984,-_0x224ab7._0x4c0a44)],this['signalAdapter']=_0x5ee04d['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x1f3339(0xfc,0x5b,-0x179,0x238)]});}['reserve'](){const _0x4ec870={_0x5a36d5:0x3d5,_0x18b0d9:0x1df,_0x1eb1bf:0x3bd,_0x23f24e:0x29c,_0x32da8e:0x114,_0x5b92a8:0x308,_0x42a5fd:0x339,_0x543ef9:0xb0,_0x51463b:0x581,_0x4c0738:0x3f5,_0x248c73:0x212,_0x2e1ce0:0xbd,_0xda890e:0xfd,_0x305027:0xff,_0x4eb4fb:0x94,_0x308d09:0x2cf,_0x4d989a:0x722,_0x266506:0x457,_0x5e4e24:0x768,_0x3eecda:0x47b,_0x5a4c18:0x664},_0x31b401={_0xff396f:0x172,_0x20d909:0x184,_0x3f2419:0x6be},_0x64484={_0x3df2a9:0x87,_0x3eba57:0xb2},_0x11240d=[...this[_0x13bb5f(_0x4ec870._0x5a36d5,0x2f4,_0x4ec870._0x18b0d9,0x2f3)][_0x13bb5f(_0x4ec870._0x1eb1bf,_0x4ec870._0x23f24e,_0x4ec870._0x32da8e,_0x4ec870._0x5b92a8)]()][_0x48079a(_0x4ec870._0x42a5fd,_0x4ec870._0x543ef9,0x353,0x166)](_0x68bb3e=>!_0x68bb3e[_0x48079a(-0x201,-0x114,-0x247,-0x128)]);if(_0x11240d['length']+this[_0x13bb5f(0x59f,_0x4ec870._0x51463b,_0x4ec870._0x4c0738,0x40b)][_0x48079a(-_0x4ec870._0x248c73,0x5a,0x1c2,-0x4d)]>=this['maxConcurrent'])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x48079a(-_0x4ec870._0x2e1ce0,-_0x4ec870._0xda890e,_0x4ec870._0x305027,-_0x4ec870._0x4eb4fb)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x13bb5f(0x243,_0x4ec870._0x308d09,0x25a,0x380)]});function _0x13bb5f(_0x1cb28f,_0x317499,_0x5d16fd,_0x2bd637){return _0x5b2413(_0x1cb28f-_0x64484._0x3df2a9,_0x317499-_0x64484._0x3eba57,_0x317499- -0x35b,_0x2bd637);}function _0x48079a(_0x59124e,_0x3c6447,_0x1e5713,_0x42852a){return _0x5b2413(_0x59124e-_0x31b401._0xff396f,_0x3c6447-_0x31b401._0x20d909,_0x42852a- -_0x31b401._0x3f2419,_0x59124e);}const _0x133af0=Object[_0x13bb5f(_0x4ec870._0x4d989a,0x61a,0x4fc,_0x4ec870._0x266506)]({'id':_0x51feb2()});return this[_0x13bb5f(0x55c,0x581,0x489,_0x4ec870._0x5e4e24)][_0x13bb5f(0x377,_0x4ec870._0x3eecda,_0x4ec870._0x5a4c18,0x58e)](_0x133af0['id'],_0x133af0),_0x133af0;}[_0x5b2413(0x92d,0xa99,0x8de,0x8d8)](_0x44ff85){const _0x16e186={_0x186356:0xa68,_0x810362:0x99c,_0x1f92e:0x78d,_0x4c7c6c:0x4b2},_0x16cf0b={_0x3f748f:0x127,_0x566fc0:0x6c},_0x37ecbb={_0x36bea5:0x89,_0x411037:0x19d};function _0x3a3433(_0x2f697f,_0xade92c,_0x2a6975,_0x12faea){return _0x5b2413(_0x2f697f-_0x37ecbb._0x36bea5,_0xade92c-_0x37ecbb._0x411037,_0x12faea- -0x229,_0xade92c);}function _0x3760bf(_0x2aaf14,_0x1fc04a,_0x1f9edf,_0x114cff){return _0x5b2413(_0x2aaf14-0x159,_0x1fc04a-_0x16cf0b._0x3f748f,_0x1f9edf-_0x16cf0b._0x566fc0,_0x2aaf14);}this['reservations'][_0x3760bf(_0x16e186._0x186356,0xb40,_0x16e186._0x810362,_0x16e186._0x1f92e)](_0x44ff85['id'])===_0x44ff85&&this['reservations'][_0x3a3433(_0x16e186._0x4c7c6c,0x6c2,0x714,0x67c)](_0x44ff85['id']);}[_0x5b2413(0x939,0x68e,0x7fb,0x9f1)](_0x1b8c6f,_0x3b2201){const _0x54a8af={_0x281270:0x74f,_0x4e8f17:0x8d3,_0x3b8f54:0x68f,_0x5243f6:0x907,_0x519ab6:0x7a5,_0x3148fc:0x892,_0x3d7735:0x7bf,_0x4e9fbd:0x73e,_0x317d02:0x89f,_0x1c702c:0xa58,_0x577a2a:0x647,_0x561391:0x830,_0x3c79f3:0xb8f,_0x516ca5:0x985,_0x406dc2:0x795,_0x1b8fa0:0x6fc,_0x43a52f:0x7a7,_0x449cc3:0x754,_0x383cf0:0x55d,_0x3f1bc2:0x6c8,_0x2fce00:0x464,_0x3e3f1e:0x4e1,_0x394b6a:0x887,_0x5980ab:0x67a,_0x30333e:0x2c2,_0x30d7a9:0x615,_0x1744d3:0x541,_0x380530:0x24f,_0x3fbd26:0x48d,_0x3893e4:0x647,_0x579d44:0x5eb,_0x5ba847:0x598,_0x3c0f69:0x5ca,_0x378587:0x647,_0x45dd8f:0x5e7,_0x1df14a:0x313,_0x36d0c8:0x59b,_0x9d1d90:0x647,_0x5db5ec:0x4ef,_0x11c97b:0x55f,_0x3b345c:0x71a,_0x42111c:0x37b,_0x3e7275:0x2c5,_0x5e1adf:0x57e,_0x165285:0x507,_0x12260c:0x62d,_0x5a812f:0x684,_0x537ed1:0x681},_0x4ee698={_0x1dd457:0x6a9,_0x59d9d3:0x53a,_0x58efa8:0x661,_0x293958:0x4c7,_0x26c05e:0x511,_0xb2d91d:0x549,_0x3c8a52:0x596,_0x26ece1:0x696,_0x41359b:0x62e,_0x8cb4de:0x721,_0x4efd91:0x8e1,_0x1d6718:0x2f0,_0x42b969:0x62a,_0xfcbe4e:0x541,_0x586043:0x400,_0x477a41:0x7f0,_0x565b23:0x7e5,_0x3b549f:0x6dc,_0x270017:0x822,_0x3544e5:0x8ae},_0x44d53e={_0x3375aa:0x144,_0x21b18f:0x268},_0x13cb49={_0x4830ac:0x54f,_0x37c931:0x4f4,_0x95c146:0x6ad,_0x389b13:0x9df,_0x74e79:0x990,_0x5de077:0x375,_0x3739c2:0x35d,_0x5d17f0:0x550,_0x3c0f80:0x438,_0x593f9b:0x475,_0x394318:0x539},_0x5aedfa={_0x21f38b:0x1c,_0x30e46f:0x96},_0x4794e3={_0x4d2f7d:0x191,_0x3a789a:0x2b4},_0x4432b0={_0x53f1db:0x339,_0x38f8ec:0x301,_0x28adb2:0x215},_0x1bdd5c={_0x556ebe:0x16c},_0x2fde9d={_0x48f408:0x4cb,_0x269153:0x534,_0x19d4f4:0x4a6,_0x4a506f:0x2dd,_0x9da61f:0x8d4},_0x2b67af={_0x2edb5c:0x17c,_0x1976ef:0x10},_0x491bc0={_0x3233db:0x811,_0x410945:0x405,_0x242c5d:0x46c,_0x12645e:0x5d8,_0x345fc0:0x3f7},_0x4f69e4={_0x336ca3:0x3fe,_0x449911:0x98},_0x4c77d3={_0x5a704a:0x16f,_0x465376:0x3ca},_0x56f065={_0x11e0f1:0xfa};function _0x3ae3a7(_0x196df7,_0x5c01be,_0x551dad,_0x59242e){return _0x28bc81(_0x196df7-0xce,_0x5c01be-_0x56f065._0x11e0f1,_0x5c01be-0xfe,_0x59242e);}if(this[_0x2c8dc3(_0x54a8af._0x281270,0xa16,0x907,_0x54a8af._0x4e8f17)][_0x3ae3a7(0x5f6,_0x54a8af._0x3b8f54,0x75b,0x505)](_0x1b8c6f['id'])!==_0x1b8c6f)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x1b8c6f['id']});this[_0x2c8dc3(0x78d,0x9fb,_0x54a8af._0x5243f6,_0x54a8af._0x519ab6)]['delete'](_0x1b8c6f['id']);let _0x15f724;function _0x2c8dc3(_0x9ffe88,_0x434fc7,_0x47e023,_0x311915){return _0x28bc81(_0x9ffe88-0x17,_0x434fc7-_0x4c77d3._0x5a704a,_0x47e023-_0x4c77d3._0x465376,_0x9ffe88);}const _0x4ac9e7=new Promise(_0x5ab69e=>{_0x15f724=_0x5ab69e;}),_0x4539dc='bg-'+ ++this[_0x2c8dc3(_0x54a8af._0x3148fc,0x75a,_0x54a8af._0x3d7735,0x8f9)]+'-'+_0x51feb2()[_0x2c8dc3(_0x54a8af._0x4e9fbd,0x994,_0x54a8af._0x317d02,0x68d)](0x0,0x8),_0x2db57e={'shellId':_0x4539dc,'command':_0x3b2201[_0x2c8dc3(0x884,_0x54a8af._0x1c702c,0x972,0x853)],'cwd':_0x3b2201['cwd'],'pid':_0x3b2201[_0x2c8dc3(0x543,0x579,_0x54a8af._0x577a2a,0x68d)][_0x2c8dc3(_0x54a8af._0x561391,_0x54a8af._0x3c79f3,_0x54a8af._0x516ca5,_0x54a8af._0x406dc2)],'processGroupId':_0x3b2201[_0x2c8dc3(0x7dc,_0x54a8af._0x1b8fa0,_0x54a8af._0x43a52f,0x597)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x2c8dc3(0x782,0x68b,_0x54a8af._0x449cc3,_0x54a8af._0x383cf0)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x3b2201[_0x2c8dc3(_0x54a8af._0x3f1bc2,_0x54a8af._0x2fce00,_0x54a8af._0x577a2a,0x590)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x3ae3a7(0x552,0x377,0x53a,0x363)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x3b2201['stripAnsi'],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x4ac9e7,'resolveTerminal':_0x15f724,'terminationSettled':![]};this[_0x2c8dc3(_0x54a8af._0x3e3f1e,_0x54a8af._0x394b6a,_0x54a8af._0x5980ab,0x636)]['set'](_0x4539dc,_0x2db57e);try{_0x3b2201[_0x3ae3a7(_0x54a8af._0x30333e,0x37b,0x298,0x291)][_0x3ae3a7(_0x54a8af._0x30d7a9,0x60d,0x648,_0x54a8af._0x1744d3)]?.['on'](_0x3ae3a7(0x3ee,0x398,0x4f2,_0x54a8af._0x380530),_0x5d77e0=>{function _0x557588(_0x174f5b,_0x50e55c,_0x3be418,_0x56a4e2){return _0x3ae3a7(_0x174f5b-0x44,_0x56a4e2-0x2fe,_0x3be418-0x10a,_0x50e55c);}function _0x4476f9(_0x13c498,_0x3895f,_0x343394,_0x262ca1){return _0x2c8dc3(_0x3895f,_0x3895f-0x92,_0x343394- -_0x4f69e4._0x336ca3,_0x262ca1-_0x4f69e4._0x449911);}this[_0x557588(0x966,0x5f4,0x6f7,_0x491bc0._0x3233db)](_0x2db57e,_0x2db57e[_0x4476f9(_0x491bc0._0x410945,_0x491bc0._0x242c5d,0x3be,_0x491bc0._0x12645e)],_0x2db57e[_0x4476f9(_0x491bc0._0x345fc0,0x35e,0x30d,0x30e)],_0x5d77e0);}),_0x3b2201[_0x2c8dc3(0x4b6,_0x54a8af._0x3fbd26,_0x54a8af._0x3893e4,_0x54a8af._0x579d44)]['stderr']?.['on'](_0x3ae3a7(0x3a4,0x398,0x4a6,0x1e2),_0x488bac=>{const _0x4beaa5={_0x57cf5a:0x1e6,_0x2d7f10:0x48};function _0xc10cc5(_0x2c3dbe,_0x32dc9d,_0x31cf95,_0x12201d){return _0x2c8dc3(_0x32dc9d,_0x32dc9d-_0x2b67af._0x2edb5c,_0x31cf95- -0xc5,_0x12201d-_0x2b67af._0x1976ef);}function _0x497962(_0x3389a0,_0x1b6aea,_0x4efb3b,_0x4fbd6d){return _0x3ae3a7(_0x3389a0-_0x4beaa5._0x57cf5a,_0x3389a0- -_0x4beaa5._0x2d7f10,_0x4efb3b-0x13a,_0x1b6aea);}this[_0x497962(_0x2fde9d._0x48f408,0x515,0x359,_0x2fde9d._0x269153)](_0x2db57e,_0x2db57e[_0x497962(_0x2fde9d._0x19d4f4,0x549,_0x2fde9d._0x4a506f,0x5ee)],_0x2db57e[_0xc10cc5(0x9da,0x79c,_0x2fde9d._0x9da61f,0xacc)],_0x488bac);}),_0x3b2201[_0x2c8dc3(_0x54a8af._0x5ba847,_0x54a8af._0x3c0f69,_0x54a8af._0x378587,_0x54a8af._0x45dd8f)]['once'](_0x3ae3a7(_0x54a8af._0x1df14a,0x422,0x3b7,0x562),(_0x3b22ff,_0x45b9f9)=>{const _0x43e596={_0x4ae5fe:0x148,_0x2f7a03:0xbc};function _0x1730b3(_0x40497e,_0x2d59b8,_0x47fbbc,_0x2b7457){return _0x3ae3a7(_0x40497e-_0x43e596._0x4ae5fe,_0x2d59b8-0x66,_0x47fbbc-_0x43e596._0x2f7a03,_0x2b7457);}_0x2db57e[_0x1730b3(0x5b7,0x6cd,0x816,0x59f)]=!![],_0x2db57e['exitCode']=_0x3b22ff;function _0xef0251(_0x331e8f,_0x123160,_0x9186e1,_0x5cae88){return _0x3ae3a7(_0x331e8f-_0x1bdd5c._0x556ebe,_0x5cae88- -0x2b6,_0x9186e1-0x1ab,_0x331e8f);}_0x2db57e[_0xef0251(_0x4432b0._0x53f1db,_0x4432b0._0x38f8ec,0x89,_0x4432b0._0x28adb2)]=_0x45b9f9;}),_0x3b2201[_0x2c8dc3(_0x54a8af._0x36d0c8,0x662,_0x54a8af._0x9d1d90,_0x54a8af._0x5db5ec)][_0x2c8dc3(_0x54a8af._0x11c97b,_0x54a8af._0x3b345c,0x62d,0x650)]('error',_0x510b34=>{function _0x50b536(_0x74a5cd,_0x1a1722,_0x5a424b,_0x47d30e){return _0x3ae3a7(_0x74a5cd-_0x4794e3._0x4d2f7d,_0x5a424b-_0x4794e3._0x3a789a,_0x5a424b-0xb0,_0x47d30e);}_0x2db57e[_0x5219b9(_0x13cb49._0x4830ac,_0x13cb49._0x37c931,_0x13cb49._0x95c146,0x612)]=_0x510b34[_0x50b536(_0x13cb49._0x389b13,0x986,_0x13cb49._0x74e79,0x9c0)];function _0x5219b9(_0x12bea3,_0x4053ed,_0x295efc,_0x31cac7){return _0x2c8dc3(_0x4053ed,_0x4053ed-_0x5aedfa._0x21f38b,_0x31cac7- -0x190,_0x31cac7-_0x5aedfa._0x30e46f);}_0x2db57e[_0x5219b9(_0x13cb49._0x5de077,_0x13cb49._0x3739c2,_0x13cb49._0x5d17f0,_0x13cb49._0x3c0f80)]=_0x5219b9(_0x13cb49._0x593f9b,_0x13cb49._0x394318,0x6fa,0x612);}),_0x3b2201[_0x3ae3a7(0x581,_0x54a8af._0x42111c,_0x54a8af._0x3e7275,_0x54a8af._0x5e1adf)][_0x2c8dc3(_0x54a8af._0x165285,0x4b4,_0x54a8af._0x12260c,_0x54a8af._0x5a812f)]('close',(_0x3e00a0,_0x4431f6)=>{const _0x1f5efb={_0x59229e:0x2c,_0x3ab966:0x196};_0x2db57e[_0x1168b1(0x74a,0x83f,_0x4ee698._0x1dd457,_0x4ee698._0x59d9d3)]=_0x3e00a0,_0x2db57e[_0x1168b1(_0x4ee698._0x58efa8,_0x4ee698._0x293958,0x55f,0x511)]=_0x4431f6,_0x2db57e[_0x1168b1(_0x4ee698._0x26c05e,_0x4ee698._0xb2d91d,_0x4ee698._0x3c8a52,0x3c8)]=null;function _0x56c29b(_0x292a21,_0x469293,_0x30389b,_0x2473cf){return _0x3ae3a7(_0x292a21-_0x44d53e._0x3375aa,_0x2473cf-_0x44d53e._0x21b18f,_0x30389b-0x101,_0x292a21);}_0x2db57e[_0x56c29b(_0x4ee698._0x26ece1,0x56f,_0x4ee698._0x41359b,0x564)]!==_0x56c29b(0x775,_0x4ee698._0x8cb4de,_0x4ee698._0x4efd91,0x73e)&&(_0x2db57e[_0x1168b1(0x492,0x4bc,0x3e4,_0x4ee698._0x1d6718)]=_0x2db57e[_0x56c29b(_0x4ee698._0x42b969,_0x4ee698._0xfcbe4e,_0x4ee698._0x586043,0x61f)]?_0x56c29b(_0x4ee698._0x477a41,0x42d,0x542,0x5fb):_0x56c29b(0x93f,0x5f6,0x7a4,_0x4ee698._0x565b23));function _0x1168b1(_0x21cd62,_0x1dcf7d,_0x1a01e2,_0x5536ae){return _0x3ae3a7(_0x21cd62-_0x1f5efb._0x59229e,_0x21cd62-_0x1f5efb._0x3ab966,_0x1a01e2-0x159,_0x1dcf7d);}this[_0x1168b1(_0x4ee698._0x3b549f,_0x4ee698._0x270017,_0x4ee698._0x3544e5,0x7bf)](_0x2db57e);});}catch(_0xea2520){this['entries']['delete'](_0x4539dc);throw _0xea2520;}return this[_0x2c8dc3(_0x54a8af._0x537ed1,0x7f5,0x760,0x60a)](),_0x2db57e;}['spawn'](_0x14cc98){const _0x387b14={_0x5304de:0x62,_0x3e9cfb:0x3f,_0x16f6af:0xfc,_0xe06064:0x90,_0x50b5ba:0xc5,_0x3b2ec5:0x2d0,_0x4e037d:0xae,_0x4cfee6:0x49,_0x59098d:0x2b8},_0x116e70={_0x10fc12:0x66,_0x536474:0x1b9,_0x27962f:0x577},_0x3e10d8={_0x50db6d:0x1c,_0x3894c5:0x35e},_0x2c6ba4=this[_0x1a8de0(_0x387b14._0x5304de,-_0x387b14._0x3e9cfb,0x180,0x1ac)]();function _0x10346c(_0x39d0a8,_0xa370b5,_0x4de487,_0x4c8ee7){return _0x28bc81(_0x39d0a8-0x18c,_0xa370b5-_0x3e10d8._0x50db6d,_0x39d0a8- -_0x3e10d8._0x3894c5,_0xa370b5);}function _0x1a8de0(_0x5d595e,_0x279b73,_0x48421d,_0x496556){return _0x5b2413(_0x5d595e-_0x116e70._0x10fc12,_0x279b73-_0x116e70._0x536474,_0x48421d- -_0x116e70._0x27962f,_0x5d595e);}try{return this['attach'](_0x2c6ba4,{..._0x14cc98,...this[_0x1a8de0(0x220,0x392,0x1f1,0x7a)]===_0x10346c(_0x387b14._0x16f6af,-_0x387b14._0xe06064,-_0x387b14._0x50b5ba,_0x387b14._0x3b2ec5)?{}:{'processGroupId':_0x14cc98['child'][_0x10346c(0x25d,_0x387b14._0x4e037d,_0x387b14._0x4cfee6,_0x387b14._0x59098d)]}});}catch(_0x2f7789){this['release'](_0x2c6ba4);throw _0x2f7789;}}['read'](_0x409cf5,_0x45e432){const _0x41a9f3={_0x367d3e:0x787,_0x1b5332:0x7b2,_0x50ce3b:0x637,_0x1eb80f:0xa72,_0x378a91:0x918,_0x4dc92c:0x921,_0x3e2c3b:0xb14,_0x80f2b0:0xa34,_0x5e2e94:0x538,_0x5e69fd:0x6c6,_0x543235:0x547,_0x37fd3f:0x520,_0x3e7918:0x8e4,_0x306f06:0x7ee,_0x20aef2:0x9e6,_0x346d1:0x745,_0x386ef6:0x63c,_0x597dd3:0x845,_0x4ec0a5:0x882,_0x2a8177:0x7d8,_0x25835b:0x999,_0xc35aee:0x712,_0x561c14:0x682,_0x36f4d3:0x6d1,_0x2353be:0x854,_0x463962:0x6dc,_0x535620:0x8c9,_0x239007:0x623,_0x2cabea:0x742,_0x1e5ba5:0x697,_0x27e5ea:0x883,_0x43603f:0x7a6,_0x3dcbac:0x970,_0x261944:0x7cc,_0x1492f2:0x965,_0x51ba56:0x6b2,_0x3f6248:0x713,_0x1e57f6:0x511,_0x3cd959:0x7ba,_0x2d2203:0x837,_0x17dbf6:0x5f5,_0x19c6d5:0x5cd,_0x22d68b:0x846,_0x26cae7:0x856,_0x31ef33:0x648,_0x27c922:0x9ea,_0x315c7d:0x9a9,_0x453f27:0x5ab,_0x19aa67:0x4f9,_0x3965e9:0x746,_0x2efbb9:0x83d,_0x10115e:0x91c,_0x19c9da:0x7ae,_0x547e08:0x592},_0x5d4e71={_0x3424be:0x278},_0x46e211={_0x1b7a2d:0x161,_0x386cd2:0x77,_0x1bf11a:0x18},_0x46d9be=this[_0x556de2(_0x41a9f3._0x367d3e,_0x41a9f3._0x1b5332,_0x41a9f3._0x50ce3b,0x743)][_0x556de2(_0x41a9f3._0x1eb80f,0x899,_0x41a9f3._0x378a91,_0x41a9f3._0x4dc92c)](_0x409cf5);if(!_0x46d9be)throw new ToolExecutionError(_0x556de2(_0x41a9f3._0x3e2c3b,_0x41a9f3._0x80f2b0,0x911,0x7d9)+_0x409cf5,{'shellId':_0x409cf5});const _0x221a91=_0x46d9be[_0x556de2(0x691,_0x41a9f3._0x5e2e94,0x730,_0x41a9f3._0x5e69fd)][_0x3edf09(0x8a1,0x6d5,_0x41a9f3._0x543235,_0x41a9f3._0x37fd3f)](''),_0x5ba8ab=Math[_0x3edf09(0x880,0x6df,0x5bf,0x7bd)](_0x46d9be['readCursor'],_0x46d9be[_0x3edf09(0x60f,0x7d8,0x7e5,0x76b)]),_0x5205fe=Math[_0x556de2(0x89d,_0x41a9f3._0x3e7918,_0x41a9f3._0x306f06,_0x41a9f3._0x20aef2)](0x0,_0x46d9be['totalDropped']-_0x46d9be[_0x3edf09(0x55b,_0x41a9f3._0x346d1,_0x41a9f3._0x386ef6,0x6d3)]),_0xe2b582=_0x221a91[_0x3edf09(0x79c,0x74d,0x6ed,_0x41a9f3._0x597dd3)](_0x5ba8ab-_0x46d9be[_0x3edf09(_0x41a9f3._0x4ec0a5,_0x41a9f3._0x2a8177,0x93e,_0x41a9f3._0x25835b)]);function _0x556de2(_0x8e4388,_0x17c7f8,_0x5867ae,_0x50b7df){return _0x5b2413(_0x8e4388-_0x46e211._0x1b7a2d,_0x17c7f8-_0x46e211._0x386cd2,_0x5867ae- -_0x46e211._0x1bf11a,_0x17c7f8);}function _0x3edf09(_0x5f5193,_0x4e0602,_0xdc31c4,_0xabde90){return _0x28bc81(_0x5f5193-0x11d,_0x4e0602-0x10b,_0x4e0602-_0x5d4e71._0x3424be,_0xdc31c4);}let _0x2b3502;const _0x55d51d=_0x45e432?.[_0x3edf09(_0x41a9f3._0xc35aee,0x801,0x84d,_0x41a9f3._0x561c14)];if(!_0x55d51d)_0x2b3502=_0xe2b582,_0x46d9be[_0x556de2(0x7c9,_0x41a9f3._0x36f4d3,_0x41a9f3._0x2353be,_0x41a9f3._0x463962)]=_0x46d9be[_0x556de2(_0x41a9f3._0x535620,_0x41a9f3._0x239007,_0x41a9f3._0x2cabea,0x948)];else{let _0x5ad7fb;try{_0x5ad7fb=new RegExp(_0x55d51d);}catch(_0x4ec7d9){throw new ToolExecutionError(_0x3edf09(_0x41a9f3._0x1e5ba5,_0x41a9f3._0x27e5ea,_0x41a9f3._0x43603f,_0x41a9f3._0x3dcbac)+(_0x4ec7d9 instanceof Error?_0x4ec7d9[_0x556de2(_0x41a9f3._0x261944,0xa02,_0x41a9f3._0x1492f2,0xb87)]:String(_0x4ec7d9)),{'shellId':_0x409cf5,'regex':_0x55d51d});}let _0x495937=_0xe2b582;if(!_0x46d9be['terminalSettled']){const _0x196a42=_0xe2b582[_0x3edf09(_0x41a9f3._0x51ba56,_0x41a9f3._0x3f6248,_0x41a9f3._0x1e57f6,_0x41a9f3._0x3cd959)]('\x0a');_0x495937=_0x196a42>=0x0?_0xe2b582['slice'](0x0,_0x196a42+0x1):'';}_0x2b3502=_0x495937['split']('\x0a')[_0x556de2(_0x41a9f3._0x2d2203,0x825,0x80c,_0x41a9f3._0x17dbf6)](_0x49bb7c=>_0x5ad7fb['test'](_0x49bb7c))[_0x3edf09(0x8a8,0x6d5,_0x41a9f3._0x19c6d5,_0x41a9f3._0x22d68b)]('\x0a'),_0x46d9be[_0x556de2(_0x41a9f3._0x26cae7,_0x41a9f3._0x31ef33,_0x41a9f3._0x2353be,0x910)]=_0x5ba8ab+_0x495937[_0x556de2(_0x41a9f3._0x27c922,0x83d,0x8d0,_0x41a9f3._0x315c7d)];}return{'output':(_0x5205fe>0x0?'[output\x20truncated:\x20'+_0x5205fe+_0x3edf09(0x7a4,_0x41a9f3._0x453f27,0x659,_0x41a9f3._0x19aa67):'')+_0x2b3502,'status':_0x46d9be['status'],'exitCode':_0x46d9be[_0x556de2(0x74a,_0x41a9f3._0x3965e9,_0x41a9f3._0x2efbb9,_0x41a9f3._0x10115e)],'signal':_0x46d9be[_0x3edf09(0x6d6,0x645,_0x41a9f3._0x19c9da,_0x41a9f3._0x547e08)],'error':_0x46d9be['error'],'truncated':_0x5205fe>0x0};}[_0x28bc81(0x4e0,0x2de,0x458,0x26e)](){return[...this['entries']['values']()];}[_0x28bc81(0x250,0x56b,0x46e,0x3f5)](_0x573707){const _0x22e4fe={_0x4ddf54:0x856,_0x1d8dc9:0x52e,_0x1d64e0:0x852,_0x64b9c9:0x8ab,_0x468e2a:0x6ce,_0x4b7a54:0x712,_0x12fa92:0x7e9,_0x389301:0x854,_0x14df16:0x8fc,_0x594f35:0x9cf,_0x2b20d3:0x7cb,_0x10ff7d:0x37f,_0x2adf1b:0x382,_0x532018:0x2f3,_0x241076:0x19f,_0x17c9d2:0x188,_0x25667a:0x7a7,_0x1e6b0a:0x5fb,_0x5b75ef:0x56e,_0x2f6bda:0x638,_0x2342b0:0x36a,_0x781fa4:0x500,_0x3872b6:0x438,_0x1c5a8f:0x290,_0x530047:0x386,_0x1a4bda:0x221,_0x44b356:0x41a,_0x37e3ab:0x262,_0x1a8510:0x3c5,_0x58b7eb:0x337,_0x35ee9e:0x65a,_0x296263:0x4c6,_0x43cedc:0x878,_0x36460d:0x83e,_0x48a7ff:0x882,_0x16b3db:0x899,_0x993cb0:0x5f5,_0x88fd18:0x62f,_0x2d16ae:0x673,_0x3a7cda:0xa3e,_0x513e5a:0x8fc,_0xa92f18:0x85a,_0x188053:0x8c9,_0x2a86ff:0x6e3},_0x3bc4af={_0x37a1e9:0xa4,_0x24cff2:0x13f,_0xde8a94:0x77},_0x34a81c={_0x598d72:0x4d9,_0x2fdd41:0x383},_0x127c58={_0x2b6f28:0x110,_0xc1087a:0x8b},_0x556749=this[_0x3092b3(_0x22e4fe._0x4ddf54,0x651,_0x22e4fe._0x1d8dc9,0x457)][_0x3092b3(_0x22e4fe._0x1d64e0,0x932,0xacb,_0x22e4fe._0x64b9c9)](_0x573707);if(!_0x556749)throw new ToolExecutionError(_0x31e28d(_0x22e4fe._0x468e2a,_0x22e4fe._0x4b7a54,_0x22e4fe._0x12fa92,0x781)+_0x573707,{'shellId':_0x573707});if(_0x556749[_0x3092b3(_0x22e4fe._0x389301,_0x22e4fe._0x14df16,_0x22e4fe._0x594f35,0x7ad)]&&!_0x556749[_0x31e28d(_0x22e4fe._0x2b20d3,0x625,0x4c4,0x673)])return _0x556749[_0x3092b3(0x9bd,0x8fc,0x700,0x7a3)];if(_0x556749[_0x31e28d(0x217,_0x22e4fe._0x10ff7d,_0x22e4fe._0x2adf1b,_0x22e4fe._0x532018)]&&isTerminalStatus(_0x556749[_0x31e28d(0x51b,0x386,_0x22e4fe._0x241076,_0x22e4fe._0x17c9d2)]))return Promise[_0x3092b3(_0x22e4fe._0x25667a,_0x22e4fe._0x1e6b0a,_0x22e4fe._0x5b75ef,_0x22e4fe._0x2f6bda)](this[_0x31e28d(_0x22e4fe._0x2342b0,0x393,0x4da,_0x22e4fe._0x781fa4)](_0x556749,_0x31e28d(_0x22e4fe._0x3872b6,0x50e,0x624,0x45e)));if(_0x556749[_0x31e28d(_0x22e4fe._0x1c5a8f,_0x22e4fe._0x530047,_0x22e4fe._0x1a4bda,0x42c)]!==_0x3092b3(0x703,0x779,0x579,0x91a))_0x556749[_0x31e28d(_0x22e4fe._0x44b356,0x386,_0x22e4fe._0x37e3ab,_0x22e4fe._0x1a8510)]=_0x31e28d(_0x22e4fe._0x58b7eb,0x3d7,0x5ad,0x529);_0x556749[_0x3092b3(0x6af,_0x22e4fe._0x35ee9e,0x800,_0x22e4fe._0x296263)]=!![],_0x556749[_0x3092b3(_0x22e4fe._0x43cedc,_0x22e4fe._0x36460d,_0x22e4fe._0x48a7ff,_0x22e4fe._0x16b3db)]=![];function _0x3092b3(_0x522e05,_0x51aedb,_0x30760a,_0x85db79){return _0x28bc81(_0x522e05-0x22,_0x51aedb-0x16d,_0x51aedb-0x3a1,_0x522e05);}function _0x31e28d(_0x366ec4,_0x6cb635,_0x224236,_0xeb03bc){return _0x28bc81(_0x366ec4-_0x127c58._0x2b6f28,_0x6cb635-_0x127c58._0xc1087a,_0x6cb635-0x188,_0x224236);}return _0x556749['terminationPromise']=this[_0x31e28d(0x586,_0x22e4fe._0x993cb0,_0x22e4fe._0x88fd18,_0x22e4fe._0x2d16ae)](_0x556749),void _0x556749[_0x3092b3(_0x22e4fe._0x3a7cda,_0x22e4fe._0x513e5a,0xaa6,_0x22e4fe._0xa92f18)]['then'](()=>{const _0x24e971={_0x2a0693:0x2d4,_0x5dc579:0xbb};function _0x3514e0(_0x6783f4,_0x24b47e,_0x285c90,_0x5dbd6e){return _0x31e28d(_0x6783f4-0x6d,_0x285c90- -_0x24e971._0x2a0693,_0x24b47e,_0x5dbd6e-_0x24e971._0x5dc579);}_0x556749[_0x3514e0(_0x34a81c._0x598d72,0x377,0x351,_0x34a81c._0x2fdd41)]=!![];},()=>{const _0x432d0b={_0x9e92af:0xeb};function _0x334860(_0x180d63,_0x37b294,_0x219e02,_0x18783f){return _0x31e28d(_0x180d63-_0x432d0b._0x9e92af,_0x219e02- -0x4e6,_0x180d63,_0x18783f-0xfc);}_0x556749[_0x334860(0xa4,-_0x3bc4af._0x37a1e9,_0x3bc4af._0x24cff2,-_0x3bc4af._0xde8a94)]=!![];}),_0x556749[_0x31e28d(_0x22e4fe._0x188053,_0x22e4fe._0x2a86ff,0x60e,0x64e)];}[_0x28bc81(0x350,0x4f3,0x441,0x36c)](){const _0x1efce1={_0xd12ecb:0x18f,_0x1b8814:0x34f},_0x3aecc3={_0x756b13:0x25,_0x3cd343:0x183},_0x5a4286={_0x133c0c:0xcc,_0x1a805d:0x32a};function _0x155273(_0x1b088a,_0x1b9dfd,_0x426e86,_0x3d2141){return _0x5b2413(_0x1b088a-0x131,_0x1b9dfd-_0x5a4286._0x133c0c,_0x426e86- -_0x5a4286._0x1a805d,_0x1b088a);}function _0x549eb7(_0xfd43ed,_0x53074f,_0x2b5dec,_0x4a50b9){return _0x28bc81(_0xfd43ed-_0x3aecc3._0x756b13,_0x53074f-_0x3aecc3._0x3cd343,_0x53074f-0xf7,_0x2b5dec);}return Promise['all']([...this['entries'][_0x549eb7(_0x1efce1._0xd12ecb,_0x1efce1._0x1b8814,0x172,0x4dc)]()]['map'](_0x1008ee=>this[_0x155273(0x5ef,0x3e2,0x4e3,0x502)](_0x1008ee['shellId'])));}async[_0x5b2413(0x963,0x7a1,0x7bc,0x616)](){const _0x3cfcca={_0x377746:0x9c0,_0x133ff4:0x902,_0xeaafaf:0x67c,_0x135877:0x7a1,_0x31a904:0x853,_0x28d8c2:0x82c,_0x3570dc:0x851,_0x518f40:0xae3},_0x53d1ac={_0x3b930d:0xc1,_0x43791b:0xf},_0x35568b=await this[_0x2abe9e(_0x3cfcca._0x377746,_0x3cfcca._0x133ff4,0x7ef,_0x3cfcca._0xeaafaf)]();function _0x559e80(_0x2b4c36,_0x14d540,_0x5efd64,_0x4dfb41){return _0x5b2413(_0x2b4c36-0x1a5,_0x14d540-0x2f,_0x14d540- -0x8b,_0x2b4c36);}if(_0x35568b['some'](_0x558ea0=>_0x558ea0[_0x2abe9e(0x794,0x8c9,0x762,0x8ad)]===_0x2abe9e(0x88e,0x727,0x811,0x93f)))throw new BackgroundProcessCleanupError(_0x35568b);function _0x2abe9e(_0x5410ac,_0x3f133b,_0x36f5cd,_0x4f87d1){return _0x5b2413(_0x5410ac-0xcc,_0x3f133b-_0x53d1ac._0x3b930d,_0x36f5cd-_0x53d1ac._0x43791b,_0x5410ac);}return this['entries'][_0x559e80(0x79f,0x8a3,_0x3cfcca._0x135877,_0x3cfcca._0x31a904)](),this['reservations'][_0x2abe9e(_0x3cfcca._0x28d8c2,_0x3cfcca._0x3570dc,0x93d,_0x3cfcca._0x518f40)](),_0x35568b;}async[_0x28bc81(0x5a8,0x595,0x46d,0x4a2)](_0x50457a){const _0x48ce68={_0x3a3554:0x499,_0x517098:0x73b,_0x3d4f95:0x6db,_0x160bac:0x7d4,_0x4e7f4d:0x9a6,_0x18ceeb:0xa1e,_0x2b1ca0:0x5ec,_0x188d45:0x56a,_0xd6219a:0x613,_0x10aec4:0x677,_0x3e7b5c:0x4c5,_0x7278eb:0x512,_0x38da5d:0x65a,_0x29da22:0x797,_0x24c01c:0x57a,_0x316cd2:0x655,_0x3941db:0x6af,_0x45440a:0x7fe,_0x392bd5:0x6a7,_0x4d59f8:0x7b8,_0x579079:0x745,_0x539996:0x701,_0x312e07:0x740,_0x4449ba:0x83d,_0x8843b:0x97b,_0x380241:0x59e,_0x2ee48e:0x5b0,_0x44067f:0x78f,_0x2d5dda:0x607,_0x1e4a3d:0x5ea,_0x5ccc34:0x9a7,_0x3b687c:0x4a4,_0x3a6794:0x4d3,_0x1ea85f:0x787,_0x1252fc:0x77c,_0x5f12c6:0x797,_0x34d876:0x89f,_0x300d10:0x790,_0x457c0b:0x69c,_0xb45589:0x738},_0x8c69fd={_0x1f3837:0x8a,_0x1c10a4:0x334};function _0x4b0608(_0x86ad37,_0x30e61c,_0x137d4f,_0x1d2d8d){return _0x5b2413(_0x86ad37-0x15b,_0x30e61c-0x1c9,_0x1d2d8d- -0x169,_0x30e61c);}_0x50457a[_0x5531ca(0x5b6,_0x48ce68._0x3a3554,0x5f7,_0x48ce68._0x517098)]=!![];const _0x371c53=await this[_0x4b0608(0x839,_0x48ce68._0x3d4f95,0x7f2,0x79d)][_0x4b0608(0x7ae,_0x48ce68._0x160bac,0x681,0x603)]({'rootPid':_0x50457a[_0x5531ca(0x8ef,_0x48ce68._0x4e7f4d,0x70f,_0x48ce68._0x18ceeb)],'processGroupId':_0x50457a[_0x4b0608(0x59a,_0x48ce68._0x2b1ca0,_0x48ce68._0x188d45,_0x48ce68._0xd6219a)]},_0x4b0608(_0x48ce68._0x10aec4,_0x48ce68._0x3e7b5c,_0x48ce68._0x7278eb,_0x48ce68._0x38da5d));if(_0x371c53['outcome']==='failed')return this[_0x5531ca(_0x48ce68._0x29da22,_0x48ce68._0x24c01c,_0x48ce68._0x316cd2,0x93f)](_0x50457a,_0x371c53['error']);if(await this['waitForTerminal'](_0x50457a,TERMINATION_WINDOW_MS))return this[_0x4b0608(0x5fd,0x494,0x848,_0x48ce68._0x3941db)](_0x50457a);function _0x5531ca(_0x591011,_0x37713c,_0x19f5da,_0x273902){return _0x28bc81(_0x591011-0x1d2,_0x37713c-_0x8c69fd._0x1f3837,_0x591011-_0x8c69fd._0x1c10a4,_0x19f5da);}_0x50457a[_0x5531ca(_0x48ce68._0x45440a,_0x48ce68._0x392bd5,_0x48ce68._0x4d59f8,_0x48ce68._0x579079)]=!![];const _0x35ccc3=await this['signalAdapter'][_0x5531ca(_0x48ce68._0x539996,_0x48ce68._0x312e07,0x640,0x694)]({'rootPid':_0x50457a[_0x4b0608(_0x48ce68._0x4449ba,_0x48ce68._0x8843b,0x614,0x7f1)],'processGroupId':_0x50457a[_0x5531ca(0x711,_0x48ce68._0x380241,_0x48ce68._0x2ee48e,0x634)]},_0x4b0608(0x3cd,0x6b3,0x722,0x568));if(_0x35ccc3[_0x4b0608(0x3f6,_0x48ce68._0x44067f,_0x48ce68._0x2d5dda,_0x48ce68._0x1e4a3d)]===_0x5531ca(0x797,0x6de,0x8bc,_0x48ce68._0x5ccc34))return this[_0x4b0608(0x76e,0x614,0x899,0x699)](_0x50457a,_0x35ccc3[_0x4b0608(_0x48ce68._0x3b687c,_0x48ce68._0x3a6794,0x7ac,0x60e)]);if(await this[_0x5531ca(_0x48ce68._0x1ea85f,_0x48ce68._0x1252fc,0x8ef,0x916)](_0x50457a,TERMINATION_WINDOW_MS))return this[_0x4b0608(0x48d,0x640,0x86e,0x6af)](_0x50457a);return this[_0x5531ca(_0x48ce68._0x5f12c6,_0x48ce68._0x34d876,0x5ac,_0x48ce68._0x300d10)](_0x50457a,_0x5531ca(0x526,0x3a3,_0x48ce68._0x457c0b,_0x48ce68._0xb45589));}[_0x28bc81(0x669,0x5b2,0x479,0x4c0)](_0x4adf22){const _0x24ad6a={_0x412230:0x82c,_0x4594be:0x6db,_0x12186a:0x709,_0x2bc3f2:0x955,_0x58a352:0x7a0,_0x211396:0x740,_0x2d3797:0x79f,_0x3a9ea9:0x917,_0x25c114:0xacc,_0x1eee3d:0xa73,_0x19d1ca:0x9c3,_0x4134d3:0x40e,_0x43e977:0x692},_0x387b23={_0x1c51e5:0x30,_0x28afab:0x303},_0x124bd9={_0x3b9956:0x27,_0x37fce7:0x3c8};function _0x987614(_0x55dac0,_0x1499d1,_0xb77e08,_0x48cc22){return _0x28bc81(_0x55dac0-_0x124bd9._0x3b9956,_0x1499d1-0x1ab,_0x55dac0-_0x124bd9._0x37fce7,_0xb77e08);}function _0x1cb964(_0xb4624f,_0x2cce44,_0x41116d,_0x2209fc){return _0x28bc81(_0xb4624f-0x54,_0x2cce44-_0x387b23._0x1c51e5,_0x2209fc-_0x387b23._0x28afab,_0x2cce44);}return _0x4adf22['status']===_0x1cb964(_0x24ad6a._0x412230,0x869,0x790,_0x24ad6a._0x4594be)?this[_0x1cb964(_0x24ad6a._0x12186a,_0x24ad6a._0x2bc3f2,0x6fc,0x766)](_0x4adf22,_0x4adf22[_0x987614(_0x24ad6a._0x58a352,_0x24ad6a._0x211396,_0x24ad6a._0x2d3797,_0x24ad6a._0x3a9ea9)]??_0x987614(0x9ac,_0x24ad6a._0x25c114,_0x24ad6a._0x1eee3d,_0x24ad6a._0x19d1ca)):this['result'](_0x4adf22,_0x1cb964(0x3aa,_0x24ad6a._0x4134d3,_0x24ad6a._0x43e977,0x598));}[_0x5b2413(0x93b,0x809,0x802,0x8b8)](_0x3d85ad,_0x17f060){const _0x49091d={_0x27d7fe:0x6d8,_0x57011c:0x6ba,_0x510fde:0x253,_0x31aef5:0x365,_0x446eab:0x33c,_0x4fcb96:0x550,_0x13a140:0x39c},_0x120d64={_0x5ab909:0x104},_0x1bf582={_0x126749:0x8b,_0x1172f6:0x39};function _0x489d0b(_0x536f93,_0x30a672,_0x25e956,_0x53a249){return _0x5b2413(_0x536f93-_0x1bf582._0x126749,_0x30a672-_0x1bf582._0x1172f6,_0x25e956- -0x26d,_0x53a249);}function _0xbc49a0(_0x5f1e47,_0x415bd6,_0x194614,_0x1336be){return _0x28bc81(_0x5f1e47-0x1ad,_0x415bd6-_0x120d64._0x5ab909,_0x1336be- -0xc7,_0x415bd6);}return _0x3d85ad[_0x489d0b(_0x49091d._0x27d7fe,0x71a,0x50a,_0x49091d._0x57011c)]=_0x17f060,this[_0x489d0b(_0x49091d._0x510fde,0x169,0x33d,_0x49091d._0x31aef5)](_0x3d85ad,_0xbc49a0(_0x49091d._0x446eab,0x5b5,_0x49091d._0x4fcb96,_0x49091d._0x13a140));}[_0x5b2413(0x55d,0x51c,0x5aa,0x3eb)](_0x2b0a64,_0x1bacff){const _0x7694e9={_0x4b125e:0x3fa,_0x5c44be:0x100,_0x2f8c21:0x198,_0x566511:0x8f,_0x1087f9:0x257,_0x561311:0x3c,_0x161877:0xfd,_0x5dc352:0x27c,_0x58218e:0x94,_0x893f8a:0x362,_0x1ba64f:0x3b4},_0x536fdf={_0x499a04:0x5d9},_0x5798ca={_0x7c1e4b:0x11e,_0xbd8df9:0xbb,_0xadfd74:0x28a};function _0x5262c6(_0x394c92,_0x977e7e,_0x168471,_0x781aa9){return _0x28bc81(_0x394c92-_0x5798ca._0x7c1e4b,_0x977e7e-_0x5798ca._0xbd8df9,_0x394c92- -_0x5798ca._0xadfd74,_0x977e7e);}function _0x316052(_0x36f201,_0x14f605,_0xbbe126,_0x13ef39){return _0x5b2413(_0x36f201-0x1e4,_0x14f605-0xa9,_0x13ef39- -_0x536fdf._0x499a04,_0x36f201);}return{'shellId':_0x2b0a64[_0x316052(_0x7694e9._0x4b125e,_0x7694e9._0x5c44be,_0x7694e9._0x2f8c21,0x1e0)],'outcome':_0x1bacff,'status':_0x2b0a64[_0x316052(_0x7694e9._0x566511,-_0x7694e9._0x1087f9,-0x1cb,-_0x7694e9._0x561311)],'exitCode':_0x2b0a64[_0x316052(0x3ae,0x3d2,_0x7694e9._0x161877,_0x7694e9._0x5dc352)],'signal':_0x2b0a64[_0x5262c6(0x143,0x134,0xe7,-_0x7694e9._0x58218e)],'error':_0x2b0a64[_0x316052(-0x7f,0x20,-0x78,0x19e)],'gracefulRequested':_0x2b0a64['gracefulRequested'],'forceRequested':_0x2b0a64[_0x5262c6(0x240,_0x7694e9._0x893f8a,_0x7694e9._0x1ba64f,0x359)]};}['waitForTerminal'](_0x21454d,_0x15d70f){const _0x3fd88f={_0x47cb0e:0x1d1,_0x360d9a:0x2b1},_0x4795c7={_0x271680:0x8df,_0x1c3b53:0x89f},_0x3da974={_0x2a6449:0x237,_0x19d70b:0x5a},_0x126dca={_0x5e5444:0x2d6};function _0x17bbd2(_0x276f82,_0x5c7d99,_0x27a56e,_0x4ca489){return _0x5b2413(_0x276f82-0x92,_0x5c7d99-0xe9,_0x27a56e- -_0x126dca._0x5e5444,_0x5c7d99);}if(_0x21454d['terminalSettled'])return Promise[_0x17bbd2(_0x3fd88f._0x47cb0e,0x106,0x323,_0x3fd88f._0x360d9a)](!![]);return new Promise(_0x30f938=>{let _0x8040b4=![];const _0x462672=setTimeout(()=>{if(_0x8040b4)return;_0x8040b4=!![],_0x30f938(![]);},_0x15d70f);function _0x143ac4(_0x1c1854,_0x3e09a4,_0x8891cb,_0x1856db){return _0x17bbd2(_0x1c1854-0x174,_0x8891cb,_0x3e09a4-_0x3da974._0x2a6449,_0x1856db-_0x3da974._0x19d70b);}void _0x21454d[_0x143ac4(_0x4795c7._0x271680,0x88d,0x98a,_0x4795c7._0x1c3b53)]['then'](()=>{if(_0x8040b4)return;_0x8040b4=!![],clearTimeout(_0x462672),_0x30f938(!![]);});});}[_0x5b2413(0x6d4,0x915,0x7b4,0x66f)](_0x14bd19,_0x5806d1,_0x2f5916,_0x42a825){const _0x3bd841={_0x5d4976:0x59f,_0x22b580:0x2ff,_0x52dfa6:0x4b5,_0x501512:0x471,_0x2e6d5a:0x399,_0x4723b2:0x4aa,_0xdbf197:0x8c9,_0x345369:0x5b8,_0x443cf8:0x50b,_0x18d832:0x650,_0x275b1a:0x28f,_0x20777d:0x4ad},_0x25f1a2={_0x31d73e:0x133,_0x1b81d0:0xeb},_0x470b14={_0x8564ae:0x171,_0x43d4f6:0x190};function _0x54d5d4(_0x4afbcb,_0x5daf60,_0x507f34,_0x8fa1bb){return _0x28bc81(_0x4afbcb-_0x470b14._0x8564ae,_0x5daf60-_0x470b14._0x43d4f6,_0x8fa1bb-0xca,_0x507f34);}function _0x528bf4(_0x4839ff,_0x1e769d,_0x48581f,_0x505ec7){return _0x28bc81(_0x4839ff-_0x25f1a2._0x31d73e,_0x1e769d-0x1a6,_0x1e769d- -_0x25f1a2._0x1b81d0,_0x4839ff);}const _0x566a1d=_0x5806d1[_0x528bf4(_0x3bd841._0x5d4976,0x466,_0x3bd841._0x22b580,_0x3bd841._0x52dfa6)](_0x42a825);this[_0x528bf4(0x638,_0x3bd841._0x501512,_0x3bd841._0x2e6d5a,_0x3bd841._0x4723b2)](_0x14bd19,_0x14bd19[_0x54d5d4(_0x3bd841._0xdbf197,_0x3bd841._0x345369,_0x3bd841._0x443cf8,0x6d2)]?_0x2f5916[_0x528bf4(_0x3bd841._0x18d832,0x466,_0x3bd841._0x275b1a,_0x3bd841._0x20777d)](_0x566a1d):_0x566a1d);}[_0x5b2413(0x94d,0x7b4,0x7e7,0x925)](_0x5d423a){const _0x5695c3={_0x30c79f:0xa97,_0x2a559c:0x96f,_0x18a48f:0x834,_0xa2587c:0x1a1,_0x12cf23:0x2f3,_0x137d51:0x444,_0x12e3f3:0x4d5,_0x50a8e2:0x2b7},_0x916a9f={_0x1872ed:0xae},_0x34477c={_0x4b2622:0x9d};this[_0x28a2e0(_0x5695c3._0x30c79f,_0x5695c3._0x2a559c,_0x5695c3._0x18a48f,0xb2a)](_0x5d423a);function _0x28a2e0(_0x1ef68c,_0x461104,_0x5f594b,_0xa00c0c){return _0x28bc81(_0x1ef68c-0x17b,_0x461104-_0x34477c._0x4b2622,_0x461104-0x3e1,_0xa00c0c);}function _0x129c76(_0x2d0510,_0x140232,_0x4e7031,_0x3bf8d2){return _0x28bc81(_0x2d0510-0x1d1,_0x140232-0x19b,_0x140232-_0x916a9f._0x1872ed,_0x2d0510);}!_0x5d423a['terminalSettled']&&(_0x5d423a['terminalSettled']=!![],_0x5d423a[_0x129c76(_0x5695c3._0xa2587c,_0x5695c3._0x12cf23,0x39b,0x489)]()),this[_0x129c76(0x235,_0x5695c3._0x137d51,_0x5695c3._0x12e3f3,_0x5695c3._0x50a8e2)]();}[_0x5b2413(0x922,0x7a5,0x92d,0x99b)](_0x468029){const _0x37a394={_0xae864b:0x6ab,_0x5081a5:0x76e,_0x30625b:0x800,_0x164c74:0x5d0,_0xa98aef:0x66f,_0x32a99:0x6e2,_0x379656:0x4cb,_0x1f0ddc:0x4b6,_0x4ae27c:0x5ca,_0xb825d4:0x703,_0x19036c:0x414,_0x1277f5:0x689,_0x354df0:0x6dc,_0x329185:0x6a5,_0x510747:0x4a2,_0x15f69c:0x892,_0x2d2ab4:0x94b,_0x6aed12:0x4d4},_0x14d594={_0x2f4a61:0x177},_0x479725={_0x267100:0x119,_0x58571e:0x18d,_0x1d0fcc:0x54};if(_0x468029[_0x1a8c50(0x922,0x76e,_0x37a394._0xae864b,0x8a0)])return;_0x468029[_0x1a8c50(0x8cb,_0x37a394._0x5081a5,_0x37a394._0x30625b,_0x37a394._0x164c74)]=!![];function _0x2b4d78(_0x4307e3,_0x56ea86,_0x410798,_0x1af1e8){return _0x28bc81(_0x4307e3-_0x479725._0x267100,_0x56ea86-_0x479725._0x58571e,_0x4307e3-_0x479725._0x1d0fcc,_0x410798);}function _0x1a8c50(_0x44ac9c,_0x55404c,_0x32e9ed,_0x3dee9f){return _0x28bc81(_0x44ac9c-0x30,_0x55404c-0x27,_0x55404c-_0x14d594._0x2f4a61,_0x32e9ed);}const _0x12d95e=_0x468029['stdoutDecoder'][_0x2b4d78(0x582,0x464,0x53f,_0x37a394._0xa98aef)](),_0x4aedd8=_0x468029['stderrDecoder'][_0x1a8c50(_0x37a394._0x32a99,0x6a5,_0x37a394._0x379656,_0x37a394._0x1f0ddc)]();this[_0x1a8c50(_0x37a394._0x4ae27c,0x6d3,_0x37a394._0xb825d4,0x523)](_0x468029,_0x468029['stripAnsi']?_0x468029['stdoutNormalizer']['write'](_0x12d95e)+_0x468029[_0x1a8c50(0x5c7,0x4b8,_0x37a394._0x19036c,_0x37a394._0x1277f5)][_0x1a8c50(_0x37a394._0x354df0,_0x37a394._0x329185,_0x37a394._0x510747,0x5d5)]():_0x12d95e),this[_0x1a8c50(0x8b9,0x6d3,0x6e4,_0x37a394._0x15f69c)](_0x468029,_0x468029['stripAnsi']?_0x468029[_0x1a8c50(0x815,0x746,_0x37a394._0x2d2ab4,0x6a6)][_0x1a8c50(0x879,0x6c8,_0x37a394._0x6aed12,0x7fc)](_0x4aedd8)+_0x468029['stderrNormalizer']['end']():_0x4aedd8);}[_0x28bc81(0x72a,0x512,0x55c,0x598)](_0xa0872e,_0x5b473f){const _0x2ba3d3={_0x557030:0x221,_0x18e66b:0x185,_0x58406a:0x1cd,_0x3e2b67:0x2c0,_0x16f8f5:0x83,_0x9e86fa:0x2da,_0x3a1065:0x2ec,_0x1e571c:0x34f,_0x46549c:0x540,_0x38765e:0x39b,_0x31d0e5:0xcd,_0x551f95:0x11f,_0x57b003:0x34f,_0x16fe03:0x269,_0x137262:0x4f7,_0x1e2719:0x405,_0x4b0f0c:0x42f,_0x30450c:0x1af,_0x43d066:0x129,_0x1fa43a:0xc2,_0x3257bc:0x277,_0x740846:0x43b,_0x3899cb:0x2b0,_0x3278db:0xc4,_0x148498:0x14c,_0x52142e:0x2dd,_0x1223f1:0x366,_0x51d686:0x305,_0x13456a:0x325,_0x1d12e8:0x340,_0x416cf2:0x3dd,_0x343d23:0x2,_0x47b8b5:0x2db,_0x4c066b:0x33c,_0x5177ff:0x12b},_0x5a86ff={_0x4fe6b8:0x599},_0x2f6a0e={_0x429ecf:0x173,_0x245e98:0x5c3};if(_0x5b473f[_0x180a7e(0x325,0x3db,_0x2ba3d3._0x557030,0x10d)]===0x0)return;function _0x180a7e(_0x47e10c,_0x5858ba,_0x3f1533,_0x12a836){return _0x5b2413(_0x47e10c-0x14e,_0x5858ba-_0x2f6a0e._0x429ecf,_0x47e10c- -_0x2f6a0e._0x245e98,_0x12a836);}_0xa0872e[_0x180a7e(_0x2ba3d3._0x18e66b,_0x2ba3d3._0x58406a,0x362,_0x2ba3d3._0x3e2b67)][_0x180a7e(0x192,0x11e,0x138,_0x2ba3d3._0x16f8f5)](_0x5b473f);function _0x94114(_0x50955b,_0x5d986e,_0xfbdf9a,_0x16b995){return _0x5b2413(_0x50955b-0x93,_0x5d986e-0x16e,_0x50955b- -_0x5a86ff._0x4fe6b8,_0x5d986e);}_0xa0872e[_0x94114(_0x2ba3d3._0x9e86fa,0x460,0x492,_0x2ba3d3._0x3a1065)]+=_0x5b473f[_0x94114(_0x2ba3d3._0x1e571c,_0x2ba3d3._0x46549c,_0x2ba3d3._0x38765e,0x2f7)],_0xa0872e[_0x94114(0x1c1,_0x2ba3d3._0x31d0e5,0x49,_0x2ba3d3._0x551f95)]+=_0x5b473f[_0x94114(_0x2ba3d3._0x57b003,0x2c8,_0x2ba3d3._0x16fe03,_0x2ba3d3._0x137262)];while(_0xa0872e[_0x94114(_0x2ba3d3._0x9e86fa,0x105,0x2b9,0x230)]>this['capChars']){const _0x23b519=_0xa0872e['bufferChars']-this[_0x94114(_0x2ba3d3._0x1e2719,0x372,0x2a9,0x476)],_0x77e4a4=_0xa0872e['buffer'][0x0];if(_0x77e4a4===void 0x0)break;_0x77e4a4[_0x180a7e(0x325,0x44b,_0x2ba3d3._0x4b0f0c,0x522)]<=_0x23b519?(_0xa0872e[_0x94114(_0x2ba3d3._0x30450c,0x3ba,_0x2ba3d3._0x43d066,_0x2ba3d3._0x1fa43a)][_0x180a7e(0x2b6,_0x2ba3d3._0x3257bc,_0x2ba3d3._0x16fe03,_0x2ba3d3._0x740846)](),_0xa0872e[_0x180a7e(_0x2ba3d3._0x3899cb,0xc2,_0x2ba3d3._0x3278db,0x2b2)]-=_0x77e4a4[_0x180a7e(0x325,0x3b3,_0x2ba3d3._0x148498,_0x2ba3d3._0x52142e)],_0xa0872e[_0x94114(_0x2ba3d3._0x1223f1,_0x2ba3d3._0x51d686,0x1ba,0x38d)]+=_0x77e4a4[_0x180a7e(_0x2ba3d3._0x13456a,_0x2ba3d3._0x1d12e8,_0x2ba3d3._0x416cf2,0x287)]):(_0xa0872e[_0x94114(0x1af,0x124,-_0x2ba3d3._0x343d23,0x221)][0x0]=_0x77e4a4[_0x94114(_0x2ba3d3._0x47b8b5,0x229,0x3a7,_0x2ba3d3._0x3e2b67)](_0x23b519),_0xa0872e['bufferChars']-=_0x23b519,_0xa0872e[_0x180a7e(_0x2ba3d3._0x4c066b,0x2cc,_0x2ba3d3._0x5177ff,0x3d4)]+=_0x23b519);}}[_0x5b2413(0x86d,0x936,0x735,0x91e)](){const _0x1a9b1d={_0xacfe51:0x433,_0x39451b:0x58c,_0x2c56bd:0x589,_0x163211:0x263,_0x101a12:0x577,_0x1daac6:0x27a,_0x2b6227:0x2d2,_0x104fa3:0x15c,_0x4fa7d0:0x300,_0x5f14a7:0x4bb,_0xe46f35:0x551,_0x1adb0d:0x2c8,_0x14e054:0x1c1,_0x193735:0x1c2,_0x489406:0x622},_0x1a71c8={_0x1c9bd7:0x192,_0x3846ca:0x1cd};function _0x3f5da6(_0x14a15a,_0x5485df,_0x4c0e9f,_0x2741e1){return _0x28bc81(_0x14a15a-_0x1a71c8._0x1c9bd7,_0x5485df-_0x1a71c8._0x3846ca,_0x5485df-0x1bb,_0x2741e1);}function _0x342fa7(_0x1807df,_0x26833e,_0x177c34,_0x2ac355){return _0x5b2413(_0x1807df-0x107,_0x26833e-0x162,_0x1807df- -0x37d,_0x26833e);}while(this[_0x3f5da6(0x387,0x46b,_0x1a9b1d._0xacfe51,0x493)]['size']>this[_0x342fa7(_0x1a9b1d._0x39451b,0x619,_0x1a9b1d._0x2c56bd,0x4fe)]){const _0x17ab5f=[...this[_0x3f5da6(_0x1a9b1d._0x163211,0x46b,_0x1a9b1d._0x101a12,0x5ef)][_0x342fa7(_0x1a9b1d._0x1daac6,0xef,_0x1a9b1d._0x2b6227,_0x1a9b1d._0x104fa3)]()][_0x342fa7(0x4a7,_0x1a9b1d._0x4fa7d0,_0x1a9b1d._0x5f14a7,_0x1a9b1d._0xe46f35)](_0x337912=>_0x337912[_0x342fa7(0x219,0x328,0x1ec,0x9b)]&&isTerminalStatus(_0x337912[_0x342fa7(0x220,0x328,0x23c,0x3df)]))[_0x3f5da6(0x54c,0x483,0x2e5,_0x1a9b1d._0x1adb0d)]((_0x57897d,_0x24cfdf)=>_0x57897d[_0x3f5da6(0x321,0x4c4,0x3fb,0x6d3)]-_0x24cfdf[_0x342fa7(0x32b,0x345,0x433,0x120)])[0x0];if(!_0x17ab5f)return;this[_0x342fa7(0x2d2,_0x1a9b1d._0x14e054,_0x1a9b1d._0x193735,0x4ba)]['delete'](_0x17ab5f[_0x342fa7(0x43c,0x31f,0x61f,_0x1a9b1d._0x489406)]);}}};function createBashOutputTool(_0x4a619e){const _0x372fe0={_0xf93b86:0x739,_0x289ab6:0x787,_0x346e24:0x990,_0xbf8b4e:0x751,_0x1bdc29:0x602,_0x5c46c2:0x5cd,_0x2ee25d:0x470,_0x3c2ba1:0x67e,_0x1604d1:0x4e1,_0x5a2912:0x5f4,_0x240968:0x4d2,_0x105c8f:0x54d},_0x18ec29={_0x680779:0x8a4,_0x57c34b:0x96f,_0xbc1a25:0xfa,_0x3019f5:0x226,_0x405070:0x43d,_0x43df02:0x15a,_0x436e75:0x88,_0x48168f:0x98d,_0x20d22a:0x768,_0x284c71:0x702,_0x4fd3a8:0x7a3,_0x441c64:0x746,_0x28472:0x587,_0x1f4985:0x153,_0x1cc50b:0xde},_0x3907f2={_0x218d40:0x1f0},_0x54da5f={_0xe15c18:0x5d,_0x3542bd:0x1da},_0x13a099={_0x15cc8f:0x39d};function _0x5bf7e1(_0x1cd4e7,_0x1cb7bf,_0x25c206,_0x2ed882){return _0x28bc81(_0x1cd4e7-0x84,_0x1cb7bf-0x24,_0x1cd4e7-_0x13a099._0x15cc8f,_0x25c206);}const {registry:_0xcadb65}=_0x4a619e;function _0x24de73(_0x5b6e89,_0x1b75d0,_0x1768df,_0x6003a2){return _0x28bc81(_0x5b6e89-0xcb,_0x1b75d0-_0x54da5f._0xe15c18,_0x5b6e89-_0x54da5f._0x3542bd,_0x1b75d0);}return defineTool({'name':_0x5bf7e1(_0x372fe0._0xf93b86,0x8e0,0x91f,_0x372fe0._0x289ab6),'permissionClass':_0x5bf7e1(0x8f3,_0x372fe0._0x346e24,_0x372fe0._0xbf8b4e,0x784),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':_0x5bf7e1(_0x372fe0._0x1bdc29,0x57f,0x413,_0x372fe0._0x5c46c2),'properties':{'shellId':{'type':_0x24de73(_0x372fe0._0x2ee25d,_0x372fe0._0x3c2ba1,0x3fc,0x57a)},'regex':{'type':_0x5bf7e1(0x633,0x78b,_0x372fe0._0x1604d1,0x737)}},'required':[_0x24de73(_0x372fe0._0x5a2912,_0x372fe0._0x240968,_0x372fe0._0x105c8f,0x466)]},async *'execute'(_0x35e754){const _0x3a05e7={_0x3e4f48:0x53d,_0x4c98e5:0x85,_0x295e22:0xf6};function _0x3432b0(_0x498a3c,_0x4223bb,_0x55756a,_0x50fb4d){return _0x5bf7e1(_0x50fb4d- -0x14,_0x4223bb-0x1e7,_0x55756a,_0x50fb4d-_0x3907f2._0x218d40);}function _0x51f87f(_0x488188,_0x432c8f,_0x711f2e,_0xa9afe2){return _0x24de73(_0x711f2e- -_0x3a05e7._0x3e4f48,_0xa9afe2,_0x711f2e-_0x3a05e7._0x4c98e5,_0xa9afe2-_0x3a05e7._0x295e22);}const _0x57f8be=_0xcadb65['read'](_0x35e754[_0x3432b0(_0x18ec29._0x680779,0x6af,_0x18ec29._0x57c34b,0x7a3)],_0x35e754['regex']?{'regex':_0x35e754[_0x51f87f(_0x18ec29._0xbc1a25,0x33d,_0x18ec29._0x3019f5,_0x18ec29._0x405070)]}:void 0x0);return createToolOutput(_0x57f8be[_0x51f87f(_0x18ec29._0x43df02,-0xeb,-_0x18ec29._0x436e75,-0x68)],{'shellId':_0x35e754[_0x3432b0(_0x18ec29._0x48168f,_0x18ec29._0x20d22a,_0x18ec29._0x284c71,_0x18ec29._0x4fd3a8)],'status':_0x57f8be[_0x3432b0(0x5c4,_0x18ec29._0x441c64,0x717,_0x18ec29._0x28472)],'exitCode':_0x57f8be[_0x51f87f(0xf7,0xee,_0x18ec29._0x1f4985,0x79)],'signal':_0x57f8be[_0x51f87f(_0x18ec29._0x1cc50b,-0xfb,0x6a,-0x11b)],'error':_0x57f8be['error'],'truncated':_0x57f8be['truncated']});}});}import{spawn as _0x56d76b}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x16433e from'os';import*as _0x4b8ae0 from'path';import{StringDecoder as _0x2d4ce9}from'string_decoder';import{spawn as _0x8eb15b}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x48095c){return _0x48095c instanceof Error;}function resolveCarriageReturns(_0x1a42a1){const _0x21b733={_0x4b93b1:0x378,_0x1e8ea8:0x3ba,_0xe029b3:0x564},_0x2b3358={_0x3a619d:0x167,_0x3ee9ee:0x326,_0x1cb11a:0x1c8,_0x351013:0x33a,_0xf600ce:0x259,_0x33b953:0x3aa,_0x21403e:0x5c0,_0x4e669a:0x6c2,_0x349d15:0x33a},_0x364f0f={_0x2cbda3:0x24f,_0x331ca3:0x4},_0x23e0b2={_0x2d689c:0x82},_0x4342b3={_0x18685c:0x1bb,_0x1636f3:0x19e,_0x5bbfcb:0x2ea},_0x22da53={_0x457dde:0x9,_0x274adb:0x264};function _0x3da182(_0x37e8bd,_0x19ae4f,_0x39b9fa,_0x30cc58){return _0x28bc81(_0x37e8bd-_0x22da53._0x457dde,_0x19ae4f-0x80,_0x19ae4f-_0x22da53._0x274adb,_0x39b9fa);}function _0x4d66f0(_0x55f065,_0x5db37c,_0x542b82,_0x338e66){return _0x28bc81(_0x55f065-_0x4342b3._0x18685c,_0x5db37c-_0x4342b3._0x1636f3,_0x55f065- -_0x4342b3._0x5bbfcb,_0x542b82);}return _0x1a42a1['split']('\x0a')[_0x4d66f0(0x2e7,_0x21b733._0x4b93b1,_0x21b733._0x1e8ea8,0x22e)](_0x3d675b=>{function _0x408d6e(_0x3b0266,_0x2286e3,_0x4753fa,_0x364a51){return _0x4d66f0(_0x3b0266-0x2b7,_0x2286e3-_0x23e0b2._0x2d689c,_0x4753fa,_0x364a51-0x117);}if(!_0x3d675b[_0x3485cb(_0x2b3358._0x3a619d,_0x2b3358._0x3ee9ee,_0x2b3358._0x1cb11a,_0x2b3358._0x351013)]('\x0d'))return _0x3d675b;function _0x3485cb(_0x2258ba,_0x4cf10d,_0x239559,_0x523b03){return _0x4d66f0(_0x4cf10d-_0x364f0f._0x2cbda3,_0x4cf10d-_0x364f0f._0x331ca3,_0x2258ba,_0x523b03-0x1e4);}const _0x331eee=_0x3d675b[_0x3485cb(_0x2b3358._0xf600ce,_0x2b3358._0x33b953,0x343,0x41e)]('\x0d');return _0x331eee[_0x331eee[_0x408d6e(0x516,_0x2b3358._0x21403e,_0x2b3358._0x4e669a,_0x2b3358._0x349d15)]-0x1]??'';})[_0x3da182(_0x21b733._0xe029b3,0x6c1,0x8d9,0x84c)]('\x0a');}function resolveBackspaces(_0x533f3e){const _0x3ace09={_0x38c5b1:0x143,_0x587dbb:0x31f,_0x1c73de:0x1fb,_0x4a6f6b:0x164,_0x314728:0x23c,_0x242074:0x6b,_0x485da2:0x1cd},_0x395f9e={_0x3649f2:0x41,_0x4f3df7:0x9b},_0x8f5b12={_0x5d444e:0x98,_0x157316:0x6ea};function _0x1392fc(_0xe9ae2c,_0x19c482,_0x461684,_0x2d1791){return _0x5b2413(_0xe9ae2c-_0x8f5b12._0x5d444e,_0x19c482-0x99,_0x19c482- -_0x8f5b12._0x157316,_0x461684);}const _0xfcf54d=[];for(const _0x90ad59 of Array[_0x1392fc(-0x1f1,-_0x3ace09._0x38c5b1,-_0x3ace09._0x587dbb,-0x1b8)](_0x533f3e)){_0x90ad59==='\x08'?_0xfcf54d[_0x5a6c30(-_0x3ace09._0x1c73de,-0x9a,-_0x3ace09._0x4a6f6b,-_0x3ace09._0x314728)]():_0xfcf54d[_0x1392fc(0x1c9,_0x3ace09._0x242074,-0x1b8,0x177)](_0x90ad59);}function _0x5a6c30(_0x4fbbf6,_0x3ac6d2,_0x58980d,_0x1acdcc){return _0x5b2413(_0x4fbbf6-_0x395f9e._0x3649f2,_0x3ac6d2-_0x395f9e._0x4f3df7,_0x3ac6d2- -0x62f,_0x1acdcc);}return _0xfcf54d[_0x5a6c30(-0xc,_0x3ace09._0x485da2,0x379,0x392)]('');}function stripAnsiAndControls(_0x150148){const _0xc62652={_0x259c23:0x5bb,_0x486902:0x44,_0x32650c:0x8a,_0x3f71cb:0x161,_0x5dad72:0x3c0,_0x51cfa3:0x37d,_0x45c926:0x72,_0x9d18a:0x2a6,_0x419f92:0xbe,_0x54dacb:0x24b,_0x278c3a:0x48b,_0x36f32:0x40f,_0x240b0b:0x48b,_0x27b1a3:0x67c,_0x2290c8:0x69e},_0x4d4b0b={_0x1f90e6:0x90},_0x3b74f9={_0x421f7e:0x111};_0x150148=resolveCarriageReturns(_0x150148);function _0x44c98d(_0x216aea,_0x2b340c,_0xa291a0,_0x3ec06b){return _0x5b2413(_0x216aea-_0x3b74f9._0x421f7e,_0x2b340c-0x11b,_0xa291a0- -0x579,_0x2b340c);}_0x150148=resolveBackspaces(_0x150148),_0x150148=stripVTControlCharacters(_0x150148);const _0x1ae80a='\x1b',_0x361030='\x07';_0x150148=_0x150148['replace'](new RegExp(_0x44c98d(0x3b0,0x49e,0x3fb,_0xc62652._0x259c23)+_0x361030+_0x44c98d(-_0xc62652._0x486902,-0x29,_0xc62652._0x32650c,-_0xc62652._0x3f71cb)+_0x361030,'g'),'');function _0x50fa45(_0x4a8b97,_0x51a661,_0x21f6a0,_0x5c1f41){return _0x28bc81(_0x4a8b97-0x1bf,_0x51a661-_0x4d4b0b._0x1f90e6,_0x21f6a0- -0xcc,_0x4a8b97);}return _0x150148=_0x150148['replace'](new RegExp(_0x50fa45(_0xc62652._0x5dad72,0x18c,_0xc62652._0x51cfa3,0x43d)+_0x1ae80a+'\x5c\x5c','g'),''),_0x150148=_0x150148['replace'](new RegExp(_0x361030,'g'),''),_0x150148=_0x150148[_0x44c98d(0x423,0x4b0,_0xc62652._0x51cfa3,0x4cd)](new RegExp(_0x1ae80a+_0x44c98d(-_0xc62652._0x45c926,_0xc62652._0x9d18a,_0xc62652._0x419f92,_0xc62652._0x54dacb)+_0x1ae80a+'\x5c\x5c','g'),''),_0x150148=_0x150148[_0x50fa45(0x509,0x5a6,_0xc62652._0x278c3a,_0xc62652._0x36f32)](new RegExp(_0x1ae80a+'[=>7-8()]','g'),''),_0x150148=_0x150148['replace'](/[\u0080-\u009F]/g,''),_0x150148=_0x150148[_0x50fa45(0x271,0x4ad,_0xc62652._0x240b0b,_0xc62652._0x27b1a3)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x150148=_0x150148[_0x50fa45(0x2e5,0x501,0x48b,_0xc62652._0x2290c8)](/[\u23CE\u2424]/g,''),_0x150148;}function killProcessGroup(_0x4f9c5d,_0x9911e9,_0x336010=_0x28bc81(0x60b,0x684,0x566,0x41e)){const _0x5ee301={_0x4ed045:0x3ac,_0x4aef2e:0x2ec,_0x2db3ff:0x435,_0x7b2efd:0x1c6,_0x24e2ad:0x323,_0xfef93c:0x48b,_0x579078:0x71f,_0x5dc646:0x45f,_0x12dfbb:0x7d0,_0x29725b:0x409,_0x2bdbef:0x527,_0x5a3314:0x5f8,_0x37470a:0x500,_0x4bfbc8:0x3a3,_0x2c9d83:0x78a,_0x5ae9cc:0x6a9,_0x1feca5:0x816,_0xdc6d53:0x9dd,_0x262650:0x7f6,_0x178285:0x42d,_0x4b1136:0x577,_0x4276ac:0x3a3},_0x5096d2={_0x1cd12e:0x4f};if(!_0x4f9c5d[_0x3d255c(_0x5ee301._0x4ed045,_0x5ee301._0x4aef2e,_0x5ee301._0x2db3ff,0x4f0)])return;function _0x5356de(_0x5d3736,_0x184b68,_0x488013,_0xf3f3c7){return _0x5b2413(_0x5d3736-0x1da,_0x184b68-0x29,_0xf3f3c7- -0x164,_0x5d3736);}if(_0x9911e9)try{_0x8eb15b(_0x3d255c(_0x5ee301._0x7b2efd,0x1ed,0x4d3,_0x5ee301._0x24e2ad),[_0x5356de(_0x5ee301._0xfef93c,_0x5ee301._0x579078,_0x5ee301._0x5dc646,0x5be),_0x4f9c5d['pid'][_0x5356de(0x719,_0x5ee301._0x12dfbb,_0x5ee301._0x29725b,0x5db)](),'/T','/F'],{'stdio':_0x5356de(0x51d,0x43a,_0x5ee301._0x2bdbef,_0x5ee301._0x5a3314)});return;}catch{_0x4f9c5d[_0x3d255c(0x52d,0x418,_0x5ee301._0x37470a,_0x5ee301._0x4bfbc8)](_0x336010);return;}function _0x3d255c(_0x4ac80d,_0x8fed74,_0x3069fc,_0x2f101a){return _0x28bc81(_0x4ac80d-_0x5096d2._0x1cd12e,_0x8fed74-0x54,_0x2f101a- -0xcb,_0x3069fc);}try{process[_0x5356de(0x6c0,0x78f,_0x5ee301._0x2c9d83,_0x5ee301._0x5ae9cc)](-_0x4f9c5d[_0x5356de(_0x5ee301._0x1feca5,0x71b,_0x5ee301._0xdc6d53,_0x5ee301._0x262650)],_0x336010);}catch{_0x4f9c5d[_0x3d255c(_0x5ee301._0x178285,_0x5ee301._0x4b1136,0x1a9,_0x5ee301._0x4276ac)](_0x336010);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x5b2413(0x8a1,0xa43,0x83e,0x71d)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x2a6e9e,_0x45b98f,_0x253f89){const _0x2ae44e={_0x3c7eba:0x3fa,_0x5808ba:0x4ae,_0x50a94a:0x3d4,_0x43067d:0x58c,_0x3e1cc3:0x188,_0xbcd0c1:0x169,_0x561f67:0x35b,_0x4c781f:0x312,_0x1cec36:0x4f6,_0x15b6fc:0x25a,_0x1ff478:0x325,_0x5dba59:0x3d1};function _0x47c622(_0x479ec2,_0x511b5f,_0x594220,_0x482889){return _0x5b2413(_0x479ec2-0x1e3,_0x511b5f-0x1c3,_0x482889- -0x242,_0x594220);}const _0x2a3fb5={...process['env'],..._0x2a6e9e??{}};function _0x51e033(_0x56d851,_0x21ee8a,_0x9d1e71,_0x6215ee){return _0x5b2413(_0x56d851-0x136,_0x21ee8a-0xc8,_0x56d851- -0x58d,_0x6215ee);}if(_0x16433e['platform']()==='win32'){const _0x11ad35=new Set(_0x45b98f['map'](_0x566a7d=>_0x566a7d[_0x47c622(0x5da,0x52b,0x3e2,0x4d3)]()));for(const _0x2980ea of Object[_0x47c622(_0x2ae44e._0x3c7eba,0x457,_0x2ae44e._0x5808ba,_0x2ae44e._0x50a94a)](_0x2a3fb5)){if(_0x11ad35[_0x47c622(0x5ad,0x3ff,_0x2ae44e._0x43067d,0x468)](_0x2980ea[_0x51e033(_0x2ae44e._0x3e1cc3,0x3ab,_0x2ae44e._0xbcd0c1,0x4c)]()))delete _0x2a3fb5[_0x2980ea];}}else{for(const _0xc9a740 of _0x45b98f)delete _0x2a3fb5[_0xc9a740];if(_0x253f89[_0x51e033(_0x2ae44e._0x561f67,0x384,0x18d,_0x2ae44e._0x4c781f)]>0x0)for(const _0x5d8458 of Object[_0x47c622(_0x2ae44e._0x1cec36,0x513,_0x2ae44e._0x15b6fc,_0x2ae44e._0x50a94a)](_0x2a3fb5)){_0x253f89[_0x51e033(_0x2ae44e._0x1ff478,0x42e,_0x2ae44e._0x5dba59,0x4f6)](_0x59090b=>_0x5d8458[_0x51e033(0xf0,0x8c,-0x12d,-0xe9)](_0x59090b))&&delete _0x2a3fb5[_0x5d8458];}}return _0x2a3fb5;}function mapSpawnError(_0x29b01d,_0x37e995){const _0x125056={_0x35c599:0x769,_0x34321a:0x54a,_0x2f616a:0x6af,_0x3af969:0x857,_0x65b900:0x53a,_0x22c62a:0x381,_0x8fd03:0x6fc,_0x299771:0x7ae,_0x21b187:0x640,_0x42a2ca:0x63f},_0x3859a2={_0x2717cf:0x4,_0x225a3c:0x2cc},_0x3afe79={_0x247182:0x122};function _0xb7ef4(_0x3317de,_0x7b3aa,_0xad2adf,_0x5b99ec){return _0x28bc81(_0x3317de-_0x3afe79._0x247182,_0x7b3aa-0xfe,_0x3317de-0x1d0,_0x7b3aa);}function _0x8f5d3c(_0xe316b5,_0x5ace93,_0x15bb0d,_0x4394c1){return _0x5b2413(_0xe316b5-_0x3859a2._0x2717cf,_0x5ace93-0x6d,_0xe316b5- -_0x3859a2._0x225a3c,_0x15bb0d);}if(isErrnoException2(_0x29b01d)&&_0x29b01d[_0xb7ef4(_0x125056._0x35c599,0x904,_0x125056._0x34321a,0x5e8)]==='ENOENT')return new ToolExecutionError(_0x8f5d3c(_0x125056._0x2f616a,0x873,_0x125056._0x3af969,0x4df)+_0x37e995[_0xb7ef4(_0x125056._0x65b900,0x53e,_0x125056._0x22c62a,_0x125056._0x8fd03)],_0x37e995);return new ToolExecutionError(_0x29b01d instanceof Error?_0x29b01d[_0xb7ef4(_0x125056._0x299771,_0x125056._0x21b187,0x7d2,_0x125056._0x42a2ca)]:String(_0x29b01d),_0x37e995);}function shellExists(_0x323f93){try{const _0x515850=statSync(_0x323f93);return _0x515850['isFile']()&&(_0x515850['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x1585a2){const _0x3298a6={_0x439ae3:0x1c9,_0x1ae81e:0xa5,_0x2a7344:0x11e,_0x1c384d:0x5c,_0x591c0b:0x17c,_0x4d0fab:0x33a,_0x5e0ced:0x621,_0x51f251:0x26,_0x34c7b4:0x242},_0x2bbdda={_0x492682:0x267},_0x4553bf={_0x41eb3e:0x163,_0xbcc0a1:0x693};if(_0x1585a2)return _0x1585a2;if(_0x16433e[_0x2e3ccb(0xd5,_0x3298a6._0x439ae3,0x100,0x2f7)]()==='win32')return process[_0x2e3ccb(-0x26,-0x34,_0x3298a6._0x1ae81e,-_0x3298a6._0x2a7344)]['ComSpec']||'cmd.exe';const _0x3ccb4a=[_0x2e3ccb(_0x3298a6._0x1c384d,0x104,-_0x3298a6._0x591c0b,0x1db),_0x30dc7c(0x2c3,0x3a4,0x45a,0x54e),_0x30dc7c(0x4d1,_0x3298a6._0x4d0fab,0x52a,0x6ac),_0x30dc7c(0x4e5,_0x3298a6._0x5e0ced,0x524,0x36e)];for(const _0x5975ff of _0x3ccb4a){if(shellExists(_0x5975ff))return _0x5975ff;}const _0x2588be=process[_0x2e3ccb(-_0x3298a6._0x51f251,-0x91,-_0x3298a6._0x34c7b4,0x1f0)][_0x2e3ccb(0x221,0x13e,0x1d5,0x2a7)];if(_0x2588be&&shellExists(_0x2588be))return _0x2588be;function _0x2e3ccb(_0x1a39a6,_0x3b47fc,_0x43eca8,_0x294efc){return _0x5b2413(_0x1a39a6-_0x4553bf._0x41eb3e,_0x3b47fc-0xb9,_0x1a39a6- -_0x4553bf._0xbcc0a1,_0x294efc);}function _0x30dc7c(_0x10d863,_0x346698,_0x47fbd3,_0x1c55a2){return _0x28bc81(_0x10d863-0x85,_0x346698-0x1a8,_0x47fbd3-_0x2bbdda._0x492682,_0x10d863);}return'/bin/bash';}function buildShellArgs(_0x477f2a,_0x628830){const _0x3aaae8={_0x10e502:0x767,_0x3b70e4:0x870,_0x5986bd:0x230,_0x257450:0x64f,_0x361ccd:0x3f7,_0x5a78bb:0x2d5,_0x2c3588:0x6cb,_0x2dff5d:0x6ca,_0x3f9b27:0x57f,_0xb78fc9:0x4e1,_0x279b50:0x58b},_0x1061b1={_0x3c9a4a:0x184,_0x2652bd:0x9b,_0x3c09f6:0x30d},_0x742a83={_0xbba4fc:0x1aa,_0x3f9dd0:0x57,_0x54bdc7:0x2ce};function _0x2febc3(_0x36feb4,_0x2584dd,_0x50d57e,_0x6f49b6){return _0x5b2413(_0x36feb4-_0x742a83._0xbba4fc,_0x2584dd-_0x742a83._0x3f9dd0,_0x36feb4- -_0x742a83._0x54bdc7,_0x50d57e);}if(_0x16433e['platform']()===_0x230c45(0x904,0x93b,_0x3aaae8._0x10e502,_0x3aaae8._0x3b70e4)){const _0x1f3f21=/cmd(\.exe)?$/i[_0x2febc3(0x446,0x5ec,_0x3aaae8._0x5986bd,_0x3aaae8._0x257450)](_0x628830);return _0x1f3f21?['/d','/s','/c',_0x477f2a]:[_0x2febc3(_0x3aaae8._0x361ccd,0x1fc,0x355,_0x3aaae8._0x5a78bb),_0x2febc3(_0x3aaae8._0x2c3588,_0x3aaae8._0x2dff5d,0x668,_0x3aaae8._0x3f9b27),_0x230c45(_0x3aaae8._0xb78fc9,0x651,_0x3aaae8._0x279b50,0x491),_0x477f2a];}function _0x230c45(_0x11a3d4,_0x54eeb2,_0x52b050,_0x5cb987){return _0x28bc81(_0x11a3d4-_0x1061b1._0x3c9a4a,_0x54eeb2-_0x1061b1._0x2652bd,_0x52b050-_0x1061b1._0x3c09f6,_0x5cb987);}return['-c',_0x477f2a];}function resolveWorkingDirectory(_0x54101e,_0x582b18,_0x452899){const _0x39e2be={_0x30872a:0x1f0,_0x393adb:0xac,_0x230efa:0x2a9,_0x44889e:0x3fd,_0x59f6a9:0x25b,_0x3e7c89:0x23f,_0x2c5cf1:0x1c5},_0x21e885={_0x2097af:0x9f,_0x260359:0x38,_0x20faa2:0x4e8,_0x1ebfc6:0x65e},_0x1c3065={_0x3dd80c:0x376};function _0x4fbec2(_0x386052,_0x28a1a2,_0x107645,_0x1680a7){return _0x28bc81(_0x386052-0x195,_0x28a1a2-0x19c,_0x1680a7- -_0x1c3065._0x3dd80c,_0x386052);}const _0x487f5e=resolveAllowedPath(_0x582b18,_0x452899,_0x54101e??'.');function _0x422948(_0x1d4b5c,_0x570ec4,_0x4e0009,_0x1cfbdd){return _0x28bc81(_0x1d4b5c-0x12d,_0x570ec4-0xc2,_0x1d4b5c- -0x198,_0x4e0009);}try{const _0x566ed9=statSync(_0x487f5e);if(!_0x566ed9[_0x422948(_0x39e2be._0x30872a,0x1ee,_0x39e2be._0x393adb,_0x39e2be._0x230efa)]())throw new ToolExecutionError(_0x422948(0x262,0x36b,0x45d,0x13a)+_0x487f5e,{'cwd':_0x487f5e});const _0x133650=realpathSync(_0x487f5e),_0x5d62da=realpathSync(_0x582b18),_0x485ec5=_0x452899[_0x4fbec2(_0x39e2be._0x44889e,0x2a4,0xc9,_0x39e2be._0x59f6a9)](_0x5c05b1=>{const _0x2398a1={_0x341aa6:0x134};function _0x29cb30(_0x4abffe,_0x3a8182,_0x3ae7e3,_0x4c6fa3){return _0x422948(_0x3ae7e3-0x59c,_0x3a8182-0x13a,_0x4abffe,_0x4c6fa3-_0x2398a1._0x341aa6);}function _0x4c6d57(_0x39033b,_0xca2c06,_0xb3a04f,_0x51b1d8){return _0x422948(_0xca2c06- -0xfa,_0xca2c06-0x59,_0xb3a04f,_0x51b1d8-0xed);}try{return realpathSync(_0x4b8ae0[_0x4c6d57(-_0x21e885._0x2097af,-_0x21e885._0x260359,-0xd1,-0x1bb)](_0x5c05b1));}catch{return _0x4b8ae0[_0x29cb30(_0x21e885._0x20faa2,0x6db,_0x21e885._0x1ebfc6,0x54b)](_0x5c05b1);}});return resolveAllowedPath(_0x5d62da,_0x485ec5,_0x133650);}catch(_0x84e6bc){if(_0x84e6bc instanceof ToolExecutionError)throw _0x84e6bc;throw new ToolExecutionError(_0x4fbec2(_0x39e2be._0x3e7c89,_0x39e2be._0x2c5cf1,0x1b5,0x85)+_0x487f5e,{'cwd':_0x487f5e});}}function resolveBashExecutionTarget(_0xd5ffeb,_0xd431a0={}){const _0xcdeeb1={_0x4ae0f3:0x2f0,_0x3b2c97:0x223,_0x56350d:0x3e1,_0x2e346e:0x533,_0x1b5594:0x6b7,_0x1c1772:0x4cd,_0x468553:0x40e,_0x1b4b14:0x739,_0x12640a:0x55b,_0x322917:0x348,_0x2d7959:0x79a,_0x11815c:0x4f5,_0x45f5c0:0x678},_0x98fc1d={_0x2bb82b:0x161,_0x1fa407:0xe5},_0x4e9457={_0x2f232f:0x6f,_0x193a8c:0x16a,_0x2bbbdd:0x4d},_0x56f7b7=_0x4b8ae0['resolve'](_0xd431a0[_0x38e035(_0xcdeeb1._0x4ae0f3,_0xcdeeb1._0x3b2c97,_0xcdeeb1._0x56350d,_0xcdeeb1._0x2e346e)]??process[_0x2aca74(0x4e5,_0xcdeeb1._0x1b5594,0x5b9,_0xcdeeb1._0x1c1772)]());function _0x2aca74(_0x85d071,_0x133ac2,_0xbc1310,_0x5d0c27){return _0x28bc81(_0x85d071-_0x4e9457._0x2f232f,_0x133ac2-_0x4e9457._0x193a8c,_0xbc1310- -_0x4e9457._0x2bbbdd,_0x85d071);}const _0x37e227=resolveDefaultShell(_0xd431a0[_0x38e035(0x4b0,_0xcdeeb1._0x468553,0x44f,0x65f)]);function _0x38e035(_0x513f3b,_0x162e17,_0x4a5402,_0x4cb14f){return _0x28bc81(_0x513f3b-_0x98fc1d._0x2bb82b,_0x162e17-0x14b,_0x4a5402-_0x98fc1d._0x1fa407,_0x4cb14f);}return{'command':_0xd5ffeb[_0x2aca74(0x475,_0xcdeeb1._0x1b4b14,_0xcdeeb1._0x12640a,_0xcdeeb1._0x322917)],'cwd':resolveWorkingDirectory(_0xd5ffeb[_0x2aca74(0x6ed,_0xcdeeb1._0x2d7959,0x5b9,0x486)],_0x56f7b7,_0xd431a0[_0x38e035(0x37a,_0xcdeeb1._0x11815c,0x463,_0xcdeeb1._0x45f5c0)]??[]),'shellPath':_0x37e227,'dialect':resolveShellDialect(_0x37e227),'background':_0xd5ffeb['runInBackground']??![]};}function resolveShellDialect(_0xce11af){const _0x2c3bc7={_0x621a90:0x3d1,_0x20a6df:0x348,_0x7d528e:0x226,_0x1f8b50:0x464,_0x2e9be1:0x3d8,_0x49d173:0x458,_0x6a253d:0x675,_0x3d53b0:0x535,_0x1a0b5d:0x52a,_0x40254f:0x591,_0x560356:0x358,_0x229743:0x4fd},_0x39c14a={_0x4bc6b7:0x147};if(_0x16433e[_0x5a692c(0x3af,0x525,0x4af,0x287)]()==='win32')return'windows';const _0x42a9db=_0x4b8ae0[_0x275771(0x1ba,0x328,_0x2c3bc7._0x621a90,_0x2c3bc7._0x20a6df)](_0xce11af)[_0x275771(_0x2c3bc7._0x7d528e,_0x2c3bc7._0x1f8b50,0x3c2,_0x2c3bc7._0x2e9be1)]();function _0x275771(_0x16ea17,_0x48878c,_0x4d7722,_0x2ae54c){return _0x5b2413(_0x16ea17-0x67,_0x48878c-0x16b,_0x4d7722- -0x353,_0x2ae54c);}if(_0x42a9db===_0x5a692c(0x461,0x66d,_0x2c3bc7._0x49d173,_0x2c3bc7._0x6a253d))return _0x275771(0x4f9,0x5e4,0x4c7,_0x2c3bc7._0x3d53b0);function _0x5a692c(_0x45f553,_0x489a2f,_0x560555,_0x2894a8){return _0x28bc81(_0x45f553-0x1e5,_0x489a2f-_0x39c14a._0x4bc6b7,_0x45f553- -0x1a,_0x489a2f);}if(_0x42a9db==='sh'||_0x42a9db===_0x5a692c(0x3a6,0x23e,_0x2c3bc7._0x1a0b5d,_0x2c3bc7._0x40254f))return'posix';return _0x5a692c(_0x2c3bc7._0x560356,_0x2c3bc7._0x229743,0x263,0x4c5);}function emitChunk(_0xed6683,_0x2573ba,_0x3cebb4,_0xaf1d7e){const _0x3077f9={_0x79f69e:0x2ea},_0x344f3a={_0x1c7141:0x11e,_0x4730a1:0x46b},_0x2eaf60={_0x5d3224:0x1bb};function _0x3816b6(_0x7cdaa8,_0xde55ec,_0x4f8329,_0x8c1d1c){return _0x28bc81(_0x7cdaa8-_0x2eaf60._0x5d3224,_0xde55ec-0xd1,_0xde55ec-0x82,_0x7cdaa8);}_0xed6683[_0x4f5c05(0x3db,0x11e,0x4d1,_0x3077f9._0x79f69e)](_0x3cebb4);function _0x4f5c05(_0x1c6e2b,_0x442c87,_0x19d8d5,_0x50b05d){return _0x5b2413(_0x1c6e2b-0x1e,_0x442c87-_0x344f3a._0x1c7141,_0x50b05d- -_0x344f3a._0x4730a1,_0x19d8d5);}_0x2573ba[_0x3816b6(0x441,0x438,0x4da,0x218)](_0x3cebb4),_0xaf1d7e();}function appendChunk(_0x5699d9,_0x2c7fbf,_0x2b3a18,_0x18eb60,_0x3f83ef,_0x390a4d){const _0x39b1f8={_0x2c328f:0x38d,_0x5b0fde:0x413,_0x4b16fa:0x54b,_0x395c23:0x3,_0x5daec4:0xa6,_0x5d2eaf:0xf9,_0x29062a:0x510,_0x2badd4:0x3f4,_0x25d8b2:0x523,_0xfd4fb2:0x161,_0x544fea:0x319,_0x4cc86e:0x235,_0x4b3202:0x33e,_0x2177be:0x1aa,_0x43de93:0x52,_0x359c9e:0x64,_0x3298bd:0x148,_0x58b290:0x5b7,_0x476182:0x6e9,_0xf9ae9d:0x368,_0x1f31e9:0x537,_0x2308ab:0x339,_0x4524da:0x338,_0x293cb7:0x6e3,_0x4595b3:0x697,_0x3191d1:0x4ca,_0x3d9270:0x3b,_0x228ab1:0xd,_0x45b6b7:0x239,_0x414ab7:0x3e0,_0xb94d9b:0x38d,_0x883dd7:0x224,_0x236c6e:0x477,_0x34493f:0x409,_0x19e4b3:0x1fa,_0xca0d7b:0x111,_0x4a14b2:0x134,_0x3bfcba:0x5cf,_0x24b23b:0x6d3},_0x5db367={_0xa67496:0x162,_0x2b40cb:0x10d,_0x221ea9:0x15a},_0x177fb5={_0x17f9bd:0x10b,_0x2e617a:0xc0},_0x3e95ad=_0x18eb60?stripAnsiAndControls(_0x2b3a18):_0x2b3a18;if(_0x3e95ad[_0x14648e(0x54e,_0x39b1f8._0x2c328f,_0x39b1f8._0x5b0fde,_0x39b1f8._0x4b16fa)]===0x0)return;if(!_0x390a4d){emitChunk(_0x5699d9,_0x2c7fbf,_0x3e95ad,_0x3f83ef);return;}function _0x14648e(_0x567f80,_0x589744,_0x5af5cc,_0x3922f7){return _0x5b2413(_0x567f80-_0x177fb5._0x17f9bd,_0x589744-_0x177fb5._0x2e617a,_0x589744- -0x55b,_0x567f80);}let _0x3c4d71=0x0,_0x4b0ed9=_0x3e95ad[_0x14648e(-_0x39b1f8._0x395c23,_0x39b1f8._0x5daec4,_0x39b1f8._0x5d2eaf,0x237)]('\x0a');while(_0x4b0ed9>=0x0){_0x390a4d['trailingChunks'][_0x54f02a(_0x39b1f8._0x29062a,0x657,_0x39b1f8._0x2badd4,_0x39b1f8._0x25d8b2)](_0x3e95ad[_0x14648e(_0x39b1f8._0xfd4fb2,_0x39b1f8._0x544fea,_0x39b1f8._0x4cc86e,_0x39b1f8._0x4b3202)](_0x3c4d71,_0x4b0ed9));const _0x3c915e=_0x390a4d[_0x14648e(_0x39b1f8._0x2177be,_0x39b1f8._0x43de93,_0x39b1f8._0x359c9e,-_0x39b1f8._0x3298bd)][_0x54f02a(_0x39b1f8._0x58b290,0x7b0,_0x39b1f8._0x476182,0x4bc)]('');_0x390a4d[_0x54f02a(_0x39b1f8._0xf9ae9d,_0x39b1f8._0x1f31e9,0x2eb,_0x39b1f8._0x2308ab)][_0x14648e(0x499,_0x39b1f8._0x2c328f,0x59e,_0x39b1f8._0x4524da)]=0x0,_0x390a4d[_0x54f02a(_0x39b1f8._0x293cb7,0x60d,_0x39b1f8._0x4595b3,_0x39b1f8._0x3191d1)][_0x14648e(0x49,0x1b9,-_0x39b1f8._0x3d9270,-_0x39b1f8._0x228ab1)](_0x3c915e)&&emitChunk(_0x5699d9,_0x2c7fbf,_0x3c915e+'\x0a',_0x3f83ef),_0x3c4d71=_0x4b0ed9+0x1,_0x4b0ed9=_0x3e95ad[_0x54f02a(0x3bc,_0x39b1f8._0x45b6b7,0x507,_0x39b1f8._0x414ab7)]('\x0a',_0x3c4d71);}function _0x54f02a(_0x50e7fb,_0x466b07,_0xc5df31,_0x27d236){return _0x28bc81(_0x50e7fb-_0x5db367._0xa67496,_0x466b07-_0x5db367._0x2b40cb,_0x50e7fb-_0x5db367._0x221ea9,_0x27d236);}_0x3c4d71<_0x3e95ad[_0x14648e(0x58f,_0x39b1f8._0xb94d9b,_0x39b1f8._0x883dd7,0x379)]&&_0x390a4d[_0x54f02a(0x368,_0x39b1f8._0x236c6e,0x15a,_0x39b1f8._0x34493f)][_0x14648e(0x97,_0x39b1f8._0x19e4b3,_0x39b1f8._0xca0d7b,_0x39b1f8._0x4a14b2)](_0x3e95ad[_0x54f02a(0x62f,_0x39b1f8._0x3bfcba,_0x39b1f8._0x24b23b,0x764)](_0x3c4d71));}function flushOutputRegex(_0x1aeb32,_0x3c7290,_0x13cccb,_0x1175d2){const _0x3416ad={_0x81b9e8:0xa7,_0x46402a:0x3f,_0x51f9c9:0x5b6,_0x17f774:0x3e2,_0x18c8f7:0x31e,_0x1377d6:0x12b,_0x1157c9:0x7fa,_0x5909d7:0x8dc,_0x5089cd:0x6bf,_0x13d40b:0x415,_0x4e557f:0x53d,_0x4e32ac:0x470,_0x558587:0x5e1,_0x59ba34:0x39a,_0x55b512:0x3e2,_0x2643cd:0x577},_0x51c083={_0xd3eee:0x167},_0x316f46={_0x55a76c:0x136};function _0x327c6e(_0x145a37,_0x459f5b,_0x2c5f7f,_0x35ab0e){return _0x5b2413(_0x145a37-_0x316f46._0x55a76c,_0x459f5b-0xee,_0x35ab0e- -0x13d,_0x459f5b);}if(!_0x13cccb||_0x13cccb[_0x284f18(0x146,0x1c0,_0x3416ad._0x81b9e8,_0x3416ad._0x46402a)][_0x284f18(0x451,_0x3416ad._0x51f9c9,_0x3416ad._0x17f774,_0x3416ad._0x18c8f7)]===0x0)return;const _0x214997=_0x13cccb[_0x284f18(-0x43,-0xf4,0xa7,-_0x3416ad._0x1377d6)][_0x327c6e(_0x3416ad._0x1157c9,_0x3416ad._0x5909d7,0x883,_0x3416ad._0x5089cd)]('');function _0x284f18(_0x3ad9d5,_0x23b690,_0x4ccdeb,_0x43a225){return _0x28bc81(_0x3ad9d5-0x1c9,_0x23b690-0x17a,_0x4ccdeb- -_0x51c083._0xd3eee,_0x3ad9d5);}_0x13cccb[_0x327c6e(0x44c,_0x3416ad._0x13d40b,_0x3416ad._0x4e557f,_0x3416ad._0x4e32ac)][_0x284f18(_0x3416ad._0x558587,_0x3416ad._0x59ba34,_0x3416ad._0x55b512,0x437)]=0x0,_0x13cccb[_0x284f18(_0x3416ad._0x2643cd,0x49e,0x422,0x269)]['test'](_0x214997)&&emitChunk(_0x1aeb32,_0x3c7290,_0x214997,_0x1175d2);}function createBashTool(_0x514699={}){const _0xd2a129={_0x34523d:0x4c8,_0x474c74:0x473,_0xce5740:0x4fd,_0x1711df:0x363,_0x52089b:0x5a1,_0x195ec3:0x36e,_0x154b29:0x275,_0x2b15de:0x205,_0x4188c0:0x1ca,_0x2f988a:0x388,_0x95a9f2:0x79f,_0x5d66aa:0x686,_0x3a3edc:0x591,_0x5025d0:0x4f4,_0x4bdb9f:0xde,_0x2df50f:0x172,_0x2322ac:0x6,_0x34532b:0x132,_0x3a59d1:0x455,_0x294ebe:0x348,_0x5f2ad1:0x72c,_0xf3fed7:0x3fc,_0x4a98e4:0x273,_0x48a03d:0x244,_0x5306e1:0x41c,_0x54a06f:0x314,_0x223a20:0x2f2,_0x34ee51:0x16f,_0x49f055:0x3c5,_0x322006:0x5a2,_0x1c1775:0xfa,_0x15eaa9:0x2c6,_0x3a26b4:0x6d0,_0x4b1396:0x5ee,_0x44549f:0x5a2,_0x3cfd5c:0x5b6},_0x1fe39f={_0x586a1a:0x49b,_0xda070c:0x532,_0x749f3e:0x37f,_0x2fe29f:0x2bb,_0x144c82:0x46a,_0x4e1e9d:0x43d,_0x23c7b6:0x3c1,_0x6426d0:0x21,_0x19f6a3:0x111,_0x17dc5b:0x3e3,_0x40b141:0x2b1,_0x4dc79e:0x161,_0x5c3d8c:0xdc,_0x3e3fa8:0x382,_0x4c5cc8:0x247,_0x426291:0x35c,_0x2e3e7f:0x2cb,_0x158981:0x3b4,_0x33af4f:0x55a,_0x4076e5:0x298,_0x23c975:0x318,_0x8f63fe:0x4cc,_0x460cc7:0x541,_0x4a5ca4:0x33a,_0x2d7308:0x418,_0x27b6bf:0x9,_0x48568d:0x45,_0x1b2705:0x3,_0x368c9c:0x268,_0x5649f1:0x165,_0xea3d9d:0x24,_0x4edbff:0x75,_0x31dd72:0x27d,_0x23274a:0x9a,_0x4807d7:0x6c,_0x3ccaba:0xed,_0x147f8a:0x479,_0x1e0309:0x1f4,_0x4fe16e:0x1ca,_0x1748dc:0x2c2,_0x4e5d30:0x170,_0x2f70a9:0x1bc,_0x4912bf:0x3bd,_0x1f4a71:0x2f6,_0x2bd355:0x3b5,_0x53f206:0xe5,_0x3cfe54:0x130,_0x596eee:0x353,_0x437954:0x3b0,_0x2c802f:0x3a3,_0x5ddc96:0x498,_0x2a6b8f:0x1b5,_0x207e21:0x2d8,_0xb35914:0x655,_0x45adbd:0x466,_0x46d591:0x4b6,_0x394962:0x29a,_0x1dd076:0x258,_0xcc462f:0x39e,_0x487389:0x565,_0x526d85:0x2d7,_0x52cf37:0x60d,_0x29f3f7:0x3ce,_0x1badf6:0x228,_0x56a2c5:0x61e,_0x57af61:0x441,_0x1ff4e9:0x63,_0x24a1a3:0x33b,_0x4c65c7:0x433,_0x4377d6:0x27b,_0xeb602a:0x2,_0x1e369e:0xbc,_0x1ea954:0x12c,_0x502f5f:0x2a6,_0x3e21b8:0x8c,_0x197c78:0x17,_0x1e243b:0x20,_0x4d14a5:0x4fc,_0x75fcc6:0x466,_0x2a1549:0x16c,_0x20b73c:0x11,_0x284de7:0xe4,_0x2c23bc:0x191,_0x1ded7e:0x27,_0x28431d:0x137,_0xde0320:0x4ff,_0x7fe053:0x5ad,_0x3fdfb8:0x3cd,_0x563e10:0x297,_0x1606dc:0x30c,_0x5d3b15:0x263,_0x100310:0x9f,_0x178cf5:0x37b,_0x1de525:0x158,_0x42c66d:0x293,_0x5c7f47:0x504,_0x290cfe:0x2e1,_0x559cf0:0x168,_0x5527e9:0x17c,_0x3755ec:0x53f,_0x1bbd0b:0x398,_0x2cd45c:0x521,_0x5813d2:0x474,_0x2c1f0e:0x370,_0x138d18:0x482,_0x264129:0x660,_0x2ece3b:0x5e1,_0xe3b8dc:0x3c0,_0x6986a5:0x3f7,_0x3260af:0xae,_0x4f3aa6:0x28b,_0x21ef92:0x267,_0x3925ac:0xde,_0x1cb88c:0x24b,_0x5c7c74:0x4d8,_0x5b02f5:0x6a2,_0x1a36a2:0x443,_0x152809:0x605,_0x5377aa:0x1fe,_0x254cc6:0x550,_0x42a117:0x410,_0x260971:0x2a7,_0x391c22:0x372,_0x12375e:0xd6,_0x24ae93:0x29f,_0x14124e:0x1b4,_0x2b19be:0x370,_0x4ea716:0x2af,_0x2ee713:0x54,_0x1465bf:0x79,_0x542505:0x402,_0x5ad2aa:0x4b2,_0x206080:0x2d},_0x560792={_0x542636:0x4f9,_0x49027f:0x5be},_0x29ef9e={_0x3dfd1f:0x189},_0x43d1f3={_0x24b8a0:0x1a7},_0xb86566=_0x4b8ae0[_0x44c91d(0x480,_0xd2a129._0x34523d,_0xd2a129._0x474c74,0x2d8)](_0x514699['defaultCwd']??process[_0x32d096(0x610,_0xd2a129._0xce5740,_0xd2a129._0x1711df,_0xd2a129._0x52089b)]()),_0x1a5076=_0x514699[_0x32d096(_0xd2a129._0x195ec3,_0xd2a129._0x154b29,_0xd2a129._0x2b15de,0xd4)]??[],_0x34ce05=_0x514699[_0x32d096(0x2a9,_0xd2a129._0x4188c0,_0xd2a129._0x2f988a,0x248)]??DEFAULT_TIMEOUT_MS,_0x20effb=_0x514699[_0x44c91d(0x818,0x695,_0xd2a129._0x95a9f2,_0xd2a129._0x5d66aa)]??!![],_0xae02e8=_0x514699[_0x44c91d(0x47e,_0xd2a129._0x3a3edc,0x4d0,_0xd2a129._0x5025d0)]??'Bash';function _0x44c91d(_0x44afd1,_0x531169,_0x5835b2,_0x4aa4cf){return _0x5b2413(_0x44afd1-0x47,_0x531169-_0x43d1f3._0x24b8a0,_0x4aa4cf- -0x321,_0x531169);}const _0x2c9b02=_0x514699[_0x32d096(_0xd2a129._0x4bdb9f,_0xd2a129._0x2df50f,0xb5,-_0xd2a129._0x2322ac)]??[],_0x211e60=_0x514699['scrubEnvPrefixes']??[];function _0x32d096(_0x24c26e,_0x214eac,_0x32c121,_0x487c9d){return _0x5b2413(_0x24c26e-0x3a,_0x214eac-_0x29ef9e._0x3dfd1f,_0x214eac- -0x4a8,_0x487c9d);}const _0x844a43=_0x514699[_0x44c91d(0x539,_0xd2a129._0x34532b,_0xd2a129._0x3a59d1,_0xd2a129._0x294ebe)];return defineTool({'name':_0xae02e8,'permissionClass':'always-confirm','description':_0x514699[_0x44c91d(0x3ed,_0xd2a129._0x5f2ad1,_0xd2a129._0xf3fed7,0x580)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x32d096(0x178,0x15c,_0xd2a129._0x4a98e4,0x12e),'properties':{'command':{'type':_0x32d096(0x299,0x18d,0x25c,0xec)},'description':{'type':_0x44c91d(_0xd2a129._0x48a03d,0x418,0x2d3,0x314),'description':_0x44c91d(0xb7,0x431,0x99,0x2b9)},'cwd':{'type':_0x44c91d(_0xd2a129._0xce5740,0x2cb,_0xd2a129._0x5306e1,_0xd2a129._0x54a06f)},'timeoutMs':{'type':_0x32d096(_0xd2a129._0x223a20,0x317,_0xd2a129._0x34ee51,0x224)},'ignoreOutput':{'type':_0x44c91d(0x4fe,0x690,_0xd2a129._0x49f055,_0xd2a129._0x322006)},'outputRegex':{'type':'string','description':_0x44c91d(0x15d,0x2e4,_0xd2a129._0x1c1775,_0xd2a129._0x15eaa9)},'runInBackground':{'type':_0x44c91d(0x46c,_0xd2a129._0x3a26b4,_0xd2a129._0x4b1396,_0xd2a129._0x44549f)}},'required':['command',_0x44c91d(0x6dc,0x642,_0xd2a129._0x3cfd5c,0x580)]},async *'execute'(_0x3eb2b3,_0x150e22){const _0x150190={_0x3ed01d:0x51c,_0x5354c8:0x703,_0x2f9b0c:0x433,_0x6a5838:0x4c4,_0x1fc20f:0x3ad,_0x2d5265:0x2d5,_0x507828:0x4ab,_0xb304bf:0x360},_0x44eaa8={_0x3c4e2c:0x23d},_0x1030f8={_0x13a9ee:0x385,_0x40adc5:0x52a,_0x13a01a:0x4a9,_0x43bd96:0x32c},_0x1d73ad={_0x20ecc3:0x521,_0x15d544:0x48},_0x46eed5={_0x1d8abd:0xd5,_0x7fe78f:0x101,_0x1cd703:0x139,_0x1dd2c6:0x2da,_0x3a2d35:0xde},_0x29a4b8={_0x515f7d:0x7c8,_0x38d315:0x438},_0x4dd799={_0x5714bc:0x39,_0x3d57da:0x194},_0x6e9e6={_0x235cac:0xa12,_0x175c7c:0xa76},_0x1f2aaa=_0x3eb2b3[_0x2cea86(_0x1fe39f._0x586a1a,_0x1fe39f._0xda070c,0x3cd,_0x1fe39f._0x749f3e)]??_0x34ce05;if(!Number[_0x2cea86(_0x1fe39f._0x2fe29f,_0x1fe39f._0x144c82,_0x1fe39f._0x4e1e9d,_0x1fe39f._0x23c7b6)](_0x1f2aaa)||_0x1f2aaa<0x1)throw new ToolExecutionError(_0x2cea86(_0x1fe39f._0x6426d0,_0x1fe39f._0x19f6a3,_0x1fe39f._0x17dc5b,0x1d5),{'command':_0x3eb2b3['command']});throwIfAborted(_0x150e22[_0x49cfd6(_0x1fe39f._0x40b141,0x165,0x16c,_0x1fe39f._0x4dc79e)]);const _0x50539c=_0x3eb2b3[_0x2cea86(_0x1fe39f._0x5c3d8c,-0x79,_0x1fe39f._0x3e3fa8,0x162)]??![],_0x42eb36=resolveBashExecutionTarget(_0x3eb2b3,{'defaultCwd':_0xb86566,'allowedDirs':_0x1a5076,'shellPath':_0x514699[_0x2cea86(_0x1fe39f._0x4c5cc8,_0x1fe39f._0x426291,_0x1fe39f._0x2e3e7f,0x228)]}),{cwd:_0x42b221,shellPath:_0x52fe81}=_0x42eb36,_0x1eae66=buildShellArgs(_0x3eb2b3[_0x2cea86(_0x1fe39f._0x158981,_0x1fe39f._0x33af4f,0x27e,0x466)],_0x52fe81),_0x5bd083=_0x16433e[_0x49cfd6(0x46,0x161,0x1d2,0x377)]()===_0x2cea86(0x2f5,0x358,_0x1fe39f._0x4076e5,_0x1fe39f._0x23c975);function _0x49cfd6(_0x3498d9,_0x402bd8,_0x5b578a,_0x3b29b3){return _0x32d096(_0x3498d9-0x166,_0x402bd8- -0x15f,_0x5b578a-0x35,_0x3498d9);}const _0x57de96=buildChildEnv(_0x514699[_0x49cfd6(-0xbb,0x66,0x285,0x16e)],_0x2c9b02,_0x211e60);if(_0x3eb2b3[_0x2cea86(_0x1fe39f._0x8f63fe,0x12c,_0x1fe39f._0x460cc7,_0x1fe39f._0x4a5ca4)]){if(!_0x844a43)throw new ToolExecutionError(_0x2cea86(_0x1fe39f._0x2d7308,0x3a2,0x3d7,0x37d),{'command':_0x3eb2b3['command']});throwIfAborted(_0x150e22['signal']),await _0x514699[_0x49cfd6(-0x8d,-_0x1fe39f._0x27b6bf,_0x1fe39f._0x48568d,-0x22c)]?.(_0x42eb36,_0x150e22[_0x49cfd6(0x173,0x1c0,_0x1fe39f._0x1b2705,_0x1fe39f._0x368c9c)],_0x150e22),throwIfAborted(_0x150e22[_0x49cfd6(0x49,_0x1fe39f._0x5649f1,0x33e,_0x1fe39f._0xea3d9d)]);const _0x3b15de=_0x844a43[_0x49cfd6(0x246,0xf0,0x2ae,_0x1fe39f._0x4edbff)]();let _0x2f8a01;try{_0x2f8a01=_0x56d76b(_0x52fe81,_0x1eae66,{'cwd':_0x42b221,'env':_0x57de96,'stdio':['ignore',_0x49cfd6(-0x20b,-0x9a,-0x1a8,-0x14e),_0x49cfd6(-_0x1fe39f._0x31dd72,-_0x1fe39f._0x23274a,_0x1fe39f._0x4807d7,_0x1fe39f._0x3ccaba)],'shell':![],'windowsHide':!![],'detached':!_0x5bd083});}catch(_0x21caa3){_0x844a43['release'](_0x3b15de);throw mapSpawnError(_0x21caa3,{'command':_0x3eb2b3['command'],'cwd':_0x42b221,'shellPath':_0x52fe81});}let _0x5d2531;try{_0x5d2531=_0x844a43['attach'](_0x3b15de,{'child':_0x2f8a01,'command':_0x3eb2b3['command'],'cwd':_0x42b221,'stripAnsi':_0x20effb,...!_0x5bd083&&_0x2f8a01['pid']!==void 0x0?{'processGroupId':_0x2f8a01[_0x2cea86(0x409,0x481,0x596,_0x1fe39f._0x147f8a)]}:{}});}catch(_0x2fbfeb){_0x844a43[_0x49cfd6(_0x1fe39f._0x1e0309,0x2d7,_0x1fe39f._0x4c5cc8,_0x1fe39f._0x4fe16e)](_0x3b15de),_0x2f8a01['once'](_0x49cfd6(_0x1fe39f._0x1748dc,_0x1fe39f._0x4e5d30,0xba,_0x1fe39f._0x2f70a9),()=>{});try{killProcessGroup(_0x2f8a01,_0x5bd083);}catch{}throw _0x2fbfeb;}return createToolOutput(_0x2cea86(0x1c6,_0x1fe39f._0x4912bf,_0x1fe39f._0x1f4a71,_0x1fe39f._0x2bd355)+_0x5d2531['shellId']+_0x49cfd6(-0x112,_0x1fe39f._0x53f206,-_0x1fe39f._0x3cfe54,0x30)+(_0x5d2531[_0x49cfd6(0x4b4,_0x1fe39f._0x596eee,_0x1fe39f._0x437954,0x1d0)]??'?')+_0x2cea86(_0x1fe39f._0x2c802f,0x671,0x66a,_0x1fe39f._0x5ddc96),{'shellId':_0x5d2531[_0x2cea86(_0x1fe39f._0x2a6b8f,0x3bc,0x397,_0x1fe39f._0x207e21)],'status':_0x5d2531['status'],'command':_0x5d2531[_0x2cea86(0x670,_0x1fe39f._0xb35914,0x50f,_0x1fe39f._0x45adbd)],'description':_0x3eb2b3[_0x49cfd6(_0x1fe39f._0x46d591,_0x1fe39f._0x394962,_0x1fe39f._0x1dd076,0x45b)],'cwd':_0x5d2531[_0x49cfd6(0x1b4,_0x1fe39f._0xcc462f,_0x1fe39f._0x487389,0x293)],'pid':_0x5d2531[_0x2cea86(_0x1fe39f._0x526d85,_0x1fe39f._0x52cf37,_0x1fe39f._0x29f3f7,0x479)]??null});}let _0x42a5d1,_0x1e8ebc;if(_0x3eb2b3['outputRegex']!==void 0x0)try{const _0x427633=new RegExp(_0x3eb2b3[_0x49cfd6(_0x1fe39f._0x1badf6,0x267,0x3b0,0x2ce)]);_0x42a5d1={'regex':_0x427633,'trailingChunks':[]},_0x1e8ebc={'regex':_0x427633,'trailingChunks':[]};}catch(_0x520a7b){throw new ToolExecutionError('Invalid\x20outputRegex:\x20'+(_0x520a7b instanceof Error?_0x520a7b[_0x2cea86(_0x1fe39f._0x56a2c5,_0x1fe39f._0x57af61,0x686,0x49c)]:String(_0x520a7b)),{'command':_0x3eb2b3['command'],'outputRegex':_0x3eb2b3['outputRegex']});}await _0x514699[_0x49cfd6(-0x150,-0x9,0x109,-_0x1fe39f._0x1ff4e9)]?.(_0x42eb36,_0x150e22['executionAuthorization'],_0x150e22),throwIfAborted(_0x150e22['signal']);let _0xeb4b94;try{_0xeb4b94=_0x56d76b(_0x52fe81,_0x1eae66,{'cwd':_0x42b221,'env':_0x57de96,'stdio':_0x50539c?[_0x2cea86(_0x1fe39f._0x24a1a3,0x23e,_0x1fe39f._0x4c65c7,0x27b),'ignore',_0x2cea86(0xa3,0x3ba,0x482,_0x1fe39f._0x4377d6)]:[_0x49cfd6(0x306,0x155,-_0x1fe39f._0xeb602a,0x2dd),_0x2cea86(_0x1fe39f._0x1e369e,_0x1fe39f._0x1ea954,_0x1fe39f._0x502f5f,_0x1fe39f._0x3e21b8),_0x2cea86(_0x1fe39f._0x197c78,_0x1fe39f._0x1e243b,0x3e,0x8c)],'shell':![],'windowsHide':!![],'detached':!_0x5bd083});}catch(_0x1150ad){throw mapSpawnError(_0x1150ad,{'command':_0x3eb2b3[_0x2cea86(0x4af,_0x1fe39f._0x4d14a5,0x309,_0x1fe39f._0x75fcc6)],'cwd':_0x42b221,'shellPath':_0x52fe81});}const _0x1c476e=[],_0x52a154=[],_0x169c30=new _0x2d4ce9(_0x49cfd6(-_0x1fe39f._0x2a1549,_0x1fe39f._0x20b73c,-0x34,-_0x1fe39f._0x284de7)),_0x2333eb=new _0x2d4ce9(_0x2cea86(_0x1fe39f._0x2c23bc,0x1f7,_0x1fe39f._0x1ded7e,_0x1fe39f._0x28431d));let _0x1044fc,_0xb9a51=![],_0x12e753;const _0x3c0690=()=>{if(!_0x1044fc)return;const _0x316131=_0x1044fc;_0x1044fc=void 0x0,_0x316131();},_0x4903f2=async()=>{if(_0x52a154['length']>0x0||_0xb9a51)return;await new Promise(_0x51ce87=>{_0x1044fc=_0x51ce87;});},_0x15df11=_0x1f6356=>{const _0x33050d={_0x4a3226:0x7c,_0x5cd07d:0x1b5};function _0x3f5a36(_0x5226de,_0x3e3087,_0x2a9b19,_0x16def9){return _0x2cea86(_0x5226de-_0x33050d._0x4a3226,_0x3e3087,_0x2a9b19-_0x33050d._0x5cd07d,_0x16def9-0x1af);}appendChunk(_0x1c476e,_0x52a154,_0x169c30[_0x3f5a36(_0x560792._0x542636,0x66a,0x54a,_0x560792._0x49027f)](_0x1f6356),_0x20effb,_0x3c0690,_0x42a5d1);},_0x31802b=_0x41b6e=>{function _0x5bcbc5(_0x420436,_0x26e96d,_0x13b9fc,_0xdd9b99){return _0x49cfd6(_0x13b9fc,_0xdd9b99-0x5af,_0x13b9fc-0x90,_0xdd9b99-0x89);}appendChunk(_0x1c476e,_0x52a154,_0x2333eb[_0x5bcbc5(_0x6e9e6._0x235cac,0xa27,_0x6e9e6._0x175c7c,0x898)](_0x41b6e),_0x20effb,_0x3c0690,_0x1e8ebc);};_0xeb4b94[_0x2cea86(0x22c,_0x1fe39f._0xde0320,_0x1fe39f._0x7fe053,_0x1fe39f._0x3fdfb8)]?.['on'](_0x2cea86(0x9b,_0x1fe39f._0x563e10,_0x1fe39f._0x1606dc,0x158),_0x15df11);function _0x2cea86(_0x1d9c50,_0x5c994f,_0x3d1449,_0x552486){return _0x32d096(_0x1d9c50-0xfa,_0x552486- -_0x4dd799._0x5714bc,_0x3d1449-_0x4dd799._0x3d57da,_0x5c994f);}_0xeb4b94['stderr']?.['on'](_0x2cea86(_0x1fe39f._0x5d3b15,_0x1fe39f._0x100310,_0x1fe39f._0x178cf5,_0x1fe39f._0x1de525),_0x31802b);let _0x47b9a8=![],_0x5e5e99;const _0x344d4f=addAbortListener(_0x150e22['signal'],()=>{const _0x42600b={_0x1bfe28:0x146,_0x7de467:0x359};function _0x43447e(_0x5033c0,_0x26a269,_0x2303f1,_0x48e384){return _0x2cea86(_0x5033c0-0x130,_0x2303f1,_0x2303f1-_0x42600b._0x1bfe28,_0x48e384-_0x42600b._0x7de467);}_0x12e753=toAbortError(_0x150e22[_0x43447e(_0x29a4b8._0x515f7d,_0x29a4b8._0x38d315,0x432,0x5e4)]['reason']),_0xb9a51=!![],_0x3c0690();try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}});try{const _0x1ca763=new Promise((_0x1b778b,_0x32a033)=>{const _0x367e0d={_0x24da3e:0x70},_0x4c8b2d={_0xf28abe:0x11c},_0x7e296c={_0x2ffe69:0x4e4,_0x335459:0x41f},_0x3ff1f1=()=>{const _0x511eea={_0x49a58f:0x1ca};_0x5e5e99&&(clearTimeout(_0x5e5e99),_0x5e5e99=void 0x0);function _0x190513(_0xeb4940,_0x4e9c3a,_0x52eb7e,_0x50380a){return _0x8662(_0x4e9c3a- -_0x511eea._0x49a58f,_0x50380a);}function _0x3d0a4d(_0x3b0ec3,_0x133f6e,_0x5740ed,_0x3050c2){return _0x8662(_0x3b0ec3- -0x291,_0x5740ed);}_0xeb4b94[_0x3d0a4d(_0x46eed5._0x1d8abd,0x91,-_0x46eed5._0x7fe78f,0x169)](_0x3d0a4d(0x16f,_0x46eed5._0x1cd703,0x36,0x2c8),_0x4c21b8),_0xeb4b94[_0x3d0a4d(0xd5,-0xc6,-0x10d,_0x46eed5._0x1dd2c6)](_0x3d0a4d(_0x46eed5._0x3a2d35,-0x5,0x2d0,0x135),_0x229b4f);},_0x4c21b8=_0x3fe31e=>{_0xb9a51=!![],_0x3c0690(),_0x3ff1f1(),_0x32a033(_0x12e753??_0x3fe31e);};function _0x250cc0(_0x33c8f0,_0x54c01d,_0xc9e7f8,_0x42d88a){return _0x49cfd6(_0x54c01d,_0x33c8f0-_0x1d73ad._0x20ecc3,_0xc9e7f8-_0x1d73ad._0x15d544,_0x42d88a-0x178);}const _0x229b4f=(_0x5c02ca,_0x40a7df)=>{_0x47b9a8=!![],appendChunk(_0x1c476e,_0x52a154,_0x169c30['end'](),_0x20effb,_0x3c0690,_0x42a5d1),appendChunk(_0x1c476e,_0x52a154,_0x2333eb[_0x43a0c1(_0x7e296c._0x2ffe69,0x51d,0x4a1,_0x7e296c._0x335459)](),_0x20effb,_0x3c0690,_0x1e8ebc),flushOutputRegex(_0x1c476e,_0x52a154,_0x42a5d1,_0x3c0690);function _0x43a0c1(_0x3e3bad,_0x44b519,_0x5229a6,_0x2c114d){return _0x8662(_0x5229a6- -0xb5,_0x3e3bad);}flushOutputRegex(_0x1c476e,_0x52a154,_0x1e8ebc,_0x3c0690),_0xb9a51=!![],_0x3c0690(),_0x3ff1f1();if(_0x12e753){_0x32a033(_0x12e753);return;}_0x1b778b({'code':_0x5c02ca,'signal':_0x40a7df});};_0x5e5e99=setTimeout(()=>{_0xb9a51=!![];function _0x331bb3(_0x47729e,_0x3659d5,_0xb767ba,_0x3314be){return _0x8662(_0x47729e-_0x4c8b2d._0xf28abe,_0x3659d5);}_0x3c0690();function _0x268e64(_0x34f12f,_0xb74135,_0x34e417,_0x4b1dbb){return _0x8662(_0x34e417- -_0x367e0d._0x24da3e,_0xb74135);}_0x3ff1f1();try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}_0x32a033(new ToolExecutionError(_0x331bb3(0x47f,0x336,_0x1030f8._0x13a9ee,_0x1030f8._0x40adc5)+_0x1f2aaa+_0x331bb3(_0x1030f8._0x13a01a,0x4ec,0x571,_0x1030f8._0x43bd96),{'command':_0x3eb2b3[_0x268e64(0x583,0x722,0x560,0x40d)],'cwd':_0x42b221,'shellPath':_0x52fe81,'timeoutMs':_0x1f2aaa,'timedOut':!![]}));},_0x1f2aaa),_0xeb4b94[_0x250cc0(_0x150190._0x3ed01d,0x5d5,0x620,_0x150190._0x5354c8)](_0x557c22(_0x150190._0x2f9b0c,_0x150190._0x6a5838,_0x150190._0x1fc20f,_0x150190._0x2d5265),_0x4c21b8);function _0x557c22(_0x17bedc,_0x2d6f65,_0x1bca4d,_0x33b5aa){return _0x49cfd6(_0x2d6f65,_0x1bca4d-_0x44eaa8._0x3c4e2c,_0x1bca4d-0x9d,_0x33b5aa-0xf4);}_0xeb4b94[_0x250cc0(_0x150190._0x3ed01d,0x42c,0x442,0x3c3)](_0x557c22(_0x150190._0x507828,0x205,0x31c,_0x150190._0xb304bf),_0x229b4f);});while(_0x52a154[_0x49cfd6(_0x1fe39f._0x42c66d,0x2e1,_0x1fe39f._0x5c7f47,0x461)]>0x0||!_0xb9a51){if(_0x52a154[_0x49cfd6(0x4bf,_0x1fe39f._0x290cfe,_0x1fe39f._0x559cf0,0x3c4)]===0x0){await _0x4903f2();continue;}const _0x1b5e12=_0x52a154[_0x2cea86(0x44d,_0x1fe39f._0x5527e9,_0x1fe39f._0x3755ec,_0x1fe39f._0x1bbd0b)]();_0x1b5e12!==void 0x0&&(yield _0x1b5e12);}const _0x35eb03=await _0x1ca763,_0x43d53f=_0x50539c?_0x2cea86(0x53a,0x4ea,0x26d,0x455)+(_0x35eb03[_0x2cea86(_0x1fe39f._0x2cd45c,_0x1fe39f._0x5813d2,0x325,0x457)]??0x0):_0x1c476e[_0x2cea86(0x44e,_0x1fe39f._0x2c1f0e,0x309,0x31b)](''),_0x53e20b={'command':_0x3eb2b3[_0x2cea86(_0x1fe39f._0x138d18,0x2fd,_0x1fe39f._0x264129,0x466)],'description':_0x3eb2b3[_0x2cea86(_0x1fe39f._0x2ece3b,0x521,0x1c7,_0x1fe39f._0xe3b8dc)],'cwd':_0x42b221,'exitCode':_0x35eb03['code']??0x0,'signal':_0x35eb03[_0x2cea86(_0x1fe39f._0x6986a5,0xb5,_0x1fe39f._0x3260af,_0x1fe39f._0x4f3aa6)],'ignoreOutput':_0x50539c,'outputRegex':_0x3eb2b3[_0x49cfd6(0x321,_0x1fe39f._0x21ef92,_0x1fe39f._0x3925ac,0x12c)]??null,'shellPath':_0x52fe81,'timeoutMs':_0x1f2aaa};if(_0x35eb03[_0x49cfd6(_0x1fe39f._0x1cb88c,0x331,_0x1fe39f._0x5c7c74,0x3c1)]!==0x0)throw new ToolExecutionError(_0x43d53f||_0x2cea86(_0x1fe39f._0x5b02f5,_0x1fe39f._0x1a36a2,_0x1fe39f._0x152809,0x491)+(_0x35eb03[_0x49cfd6(_0x1fe39f._0x5377aa,0x331,0x320,_0x1fe39f._0x254cc6)]??0x0),_0x53e20b);return createToolOutput(_0x43d53f,_0x53e20b);}catch(_0x3f26ab){while(_0x52a154['length']>0x0){const _0x359a12=_0x52a154['shift']();_0x359a12!==void 0x0&&(yield _0x359a12);}if(_0x3f26ab instanceof ToolExecutionError)throw _0x3f26ab;if(_0x12e753)throw _0x12e753;throw mapSpawnError(_0x3f26ab,{'command':_0x3eb2b3[_0x49cfd6(0x530,0x340,_0x1fe39f._0x42a117,0x140)],'cwd':_0x42b221,'shellPath':_0x52fe81});}finally{_0x5e5e99&&clearTimeout(_0x5e5e99);_0x344d4f(),_0xeb4b94[_0x49cfd6(_0x1fe39f._0x46d591,_0x1fe39f._0x260971,_0x1fe39f._0x391c22,0xc8)]?.[_0x49cfd6(-0xaf,_0x1fe39f._0x12375e,_0x1fe39f._0x24ae93,0x153)]('data',_0x15df11),_0xeb4b94[_0x2cea86(0x30b,_0x1fe39f._0x14124e,_0x1fe39f._0x2b19be,0x1b6)]?.[_0x2cea86(0x24c,0x274,_0x1fe39f._0x4ea716,0x1fc)](_0x2cea86(_0x1fe39f._0x2ee713,0x340,-_0x1fe39f._0x1465bf,0x158),_0x31802b);if(!_0x47b9a8&&_0xeb4b94[_0x2cea86(_0x1fe39f._0x542505,0x3c7,_0x1fe39f._0x5ad2aa,_0x1fe39f._0x147f8a)]&&!_0xeb4b94[_0x49cfd6(-0x1b7,_0x1fe39f._0x206080,0x6a,0x49)])try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}}}});}function createShellExecTool(_0x107111={}){return createBashTool(_0x107111);}import{readdir as _0x30f500,readFile as _0xf377ae}from'fs/promises';import{extname as _0x2f5363,join as _0x58616f}from'path';import{open}from'fs/promises';import{dirname as _0x53f078,isAbsolute as _0x593af7,join as _0x46d1b9,relative as _0x144694,resolve as _0x157b07}from'path';import{readdir as _0x54e9c0,readFile as _0x344c7c}from'fs/promises';import{join as _0x29b58f,relative as _0x6e5b96,sep}from'path';import{delimiter}from'path';import{mkdir as _0x786c59,rm as _0x1c48f5,stat as _0xba2914,writeFile as _0x432d92}from'fs/promises';import{hostname}from'os';import{dirname as _0x21289c}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x448945,readFile as _0x29369e,rename as _0x2e3b6d,rm as _0x5a47a8,stat as _0x1324f3,writeFile as _0x266ba6}from'fs/promises';import{homedir as _0x4efd1a}from'os';import{dirname as _0x3bd447,isAbsolute as _0x51e55f,join as _0xe65ec4,resolve as _0x57366b}from'path';import{parse as _0x263e76,stringify as _0x46f194}from'yaml';import{randomUUID as _0x1668c0}from'crypto';import{cp,lstat,mkdir as _0x5767d6,readdir as _0x3aebdc,readFile as _0x39a0dc,rename as _0x96347a,rm as _0xd0b9ac,writeFile as _0x5d2795}from'fs/promises';import{homedir}from'os';import{join as _0x583c65}from'path';import{parse as _0x2c4c7a,stringify as _0x129d2b}from'yaml';import{z}from'zod';import{readdir as _0x5a0292,readFile as _0x36be4f}from'fs/promises';import{join as _0x376330}from'path';import{randomUUID as _0x115d25}from'crypto';import{mkdir as _0x53fb08,readdir as _0xf94c9b,readFile as _0x50ce0a,rename as _0x4ae14f,rm as _0x5ce67f,writeFile as _0x3d2956}from'fs/promises';import{homedir as _0x5bd8bc}from'os';import{basename as _0xe225c8,isAbsolute as _0x545c01,join as _0x7a9121,relative as _0x190aa2,resolve as _0x196ba6}from'path';import{parse as _0x3f579a,stringify as _0x3e5e38}from'yaml';import{delimiter as _0x133da7,resolve as _0x16cbb1}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x28bc81(0x234,0x54a,0x3cf,0x3ca)](Object[_0x28bc81(0x512,0x347,0x490,0x55f)]),_0x28bc81(0x654,0x604,0x490,0x3ea)]);function isValidAgentModelSetName(_0x3d5adb){const _0x415447={_0x407c09:0x353,_0x3904a7:0x265,_0x910bc3:0x39e},_0x38a68f={_0x50dc8e:0xa6},_0x397d02={_0x4864a5:0xdd};function _0x2c5bd1(_0x26b938,_0x22dcd8,_0x3ca142,_0x41699b){return _0x28bc81(_0x26b938-0xcc,_0x22dcd8-0xbc,_0x26b938-_0x397d02._0x4864a5,_0x41699b);}function _0x1e064b(_0x4a9b59,_0x3b0840,_0x87281a,_0x3f1c7f){return _0x28bc81(_0x4a9b59-0x1de,_0x3b0840-0x12d,_0x4a9b59- -_0x38a68f._0x50dc8e,_0x3b0840);}return AGENT_MODEL_SET_NAME_PATTERN[_0x2c5bd1(0x452,0x24f,_0x415447._0x407c09,0x3ac)](_0x3d5adb)&&!PROTOTYPE_SENSITIVE_NAMES[_0x1e064b(_0x415447._0x3904a7,0x43e,_0x415447._0x910bc3,0x48)](_0x3d5adb);}function parseProviderQualifiedModelSelector(_0x43c6f0){const _0x387de6={_0x4952a8:0x50d,_0x4fc7a4:0x39d,_0x58d56f:0xa8,_0x3e97ab:0x2c3,_0x492e81:0x288,_0x4a1475:0x53b,_0x3ca518:0x30e,_0x10c6ba:0x3bb,_0xbeb375:0x1c4,_0x33ff6a:0x25b,_0x244206:0x35b,_0x5f00a9:0x279,_0x22d502:0x390,_0x48c4a8:0x366},_0x226afa={_0x2c82f5:0x5f},_0x2a764c={_0x1bf967:0x4b9};if(_0x43c6f0!==_0x43c6f0[_0x4f8104(0x4c8,_0x387de6._0x4952a8,_0x387de6._0x4fc7a4,0x4b5)]())return void 0x0;const _0x682b7b=_0x43c6f0[_0x5dd22c(_0x387de6._0x58d56f,0x10d,0x148,_0x387de6._0x3e97ab)](':');if(_0x682b7b<=0x0||_0x682b7b===_0x43c6f0[_0x5dd22c(_0x387de6._0x492e81,_0x387de6._0x4a1475,0x42f,_0x387de6._0x3ca518)]-0x1)return void 0x0;function _0x5dd22c(_0xf724aa,_0x4675ad,_0x2ab79a,_0x17ac9b){return _0x5b2413(_0xf724aa-0x167,_0x4675ad-0x1d9,_0x2ab79a- -_0x2a764c._0x1bf967,_0xf724aa);}const _0xe25b5d=_0x43c6f0['slice'](0x0,_0x682b7b);function _0x4f8104(_0x42091d,_0xb14319,_0x36a406,_0x4e44cc){return _0x28bc81(_0x42091d-0x1b9,_0xb14319-_0x226afa._0x2c82f5,_0x36a406-0x85,_0x42091d);}const _0x1ba5f0=_0x43c6f0[_0x5dd22c(0x1c8,0x203,_0x387de6._0x10c6ba,0x1ef)](_0x682b7b+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x5dd22c(0x212,_0x387de6._0xbeb375,_0x387de6._0x33ff6a,_0x387de6._0x244206)](_0xe25b5d)||PROTOTYPE_SENSITIVE_NAMES[_0x4f8104(_0x387de6._0x5f00a9,0x24e,_0x387de6._0x22d502,0x437)](_0xe25b5d)||_0x1ba5f0!==_0x1ba5f0[_0x4f8104(0x307,_0x387de6._0x48c4a8,0x39d,0x395)]()||/[\u0000-\u001F\u007F-\u009F]/u['test'](_0x1ba5f0))return void 0x0;return{'provider':_0xe25b5d,'model':_0x1ba5f0};}function tokenizeCommandArguments(_0x11e7ed){const _0xcf2a91={_0xb917b:0x45d,_0xc0a94:0x593,_0x1fe7e0:0x551,_0x1b553c:0x55f,_0x5b9ae6:0x3e6,_0x2a6168:0x23b,_0x66cd5b:0x1b4,_0x355334:0x318,_0x5f2a26:0x1ba,_0x1770e2:0x67,_0x58f420:0x23b,_0x310dd7:0x19,_0xf47ef7:0x3be,_0x12f912:0x33,_0x5f112a:0xa8},_0x46b112={_0xa516b5:0x22,_0x368f51:0xca,_0x4dc686:0x397},_0x37bb75={_0x5ca329:0x7c,_0x217532:0x30e};function _0x10587a(_0x568363,_0x3d341e,_0x34b78f,_0x11c27b){return _0x28bc81(_0x568363-0x165,_0x3d341e-_0x37bb75._0x5ca329,_0x11c27b- -_0x37bb75._0x217532,_0x34b78f);}const _0x2d4160=[];let _0x1e7ae9='',_0x28ca25=0x0;while(_0x28ca25<_0x11e7ed[_0x5db75e(_0xcf2a91._0xb917b,_0xcf2a91._0xc0a94,_0xcf2a91._0x1fe7e0,_0xcf2a91._0x1b553c)]){const _0x4e451d=_0x11e7ed[_0x28ca25];if(_0x4e451d==='\x5c'&&_0x28ca25+0x1<_0x11e7ed[_0x10587a(_0xcf2a91._0x5b9ae6,0x3e8,0xe4,_0xcf2a91._0x2a6168)])_0x1e7ae9+=_0x11e7ed[_0x28ca25+0x1],_0x28ca25+=0x2;else{if(_0x4e451d==='\x22'||_0x4e451d==='\x27'){const _0x1ea96e=_0x4e451d;_0x28ca25++;while(_0x28ca25<_0x11e7ed[_0x10587a(_0xcf2a91._0x66cd5b,0x28b,_0xcf2a91._0x355334,0x23b)]&&_0x11e7ed[_0x28ca25]!==_0x1ea96e){_0x11e7ed[_0x28ca25]==='\x5c'&&_0x28ca25+0x1<_0x11e7ed[_0x10587a(0x50,_0xcf2a91._0x5f2a26,_0xcf2a91._0x1770e2,_0xcf2a91._0x58f420)]?(_0x1e7ae9+=_0x11e7ed[_0x28ca25+0x1],_0x28ca25+=0x2):(_0x1e7ae9+=_0x11e7ed[_0x28ca25],_0x28ca25++);}_0x28ca25++;}else _0x4e451d!==void 0x0&&/\s/[_0x10587a(0x16d,-0x1b2,_0xcf2a91._0x310dd7,0x67)](_0x4e451d)?(_0x1e7ae9&&(_0x2d4160[_0x5db75e(0x4f9,0x355,_0xcf2a91._0xf47ef7,0x595)](_0x1e7ae9),_0x1e7ae9=''),_0x28ca25++):(_0x1e7ae9+=_0x4e451d,_0x28ca25++);}}function _0x5db75e(_0x4c1cf0,_0x156071,_0x55693c,_0x2e159d){return _0x5b2413(_0x4c1cf0-_0x46b112._0xa516b5,_0x156071-_0x46b112._0x368f51,_0x55693c- -_0x46b112._0x4dc686,_0x156071);}if(_0x1e7ae9)_0x2d4160[_0x10587a(-_0xcf2a91._0x12f912,0x22b,0x1b1,_0xcf2a91._0x5f112a)](_0x1e7ae9);return _0x2d4160;}function renderCommandInstructions(_0x3d9406){const _0x14f13e={_0x2b2eea:0x245,_0x5e8452:0xb23,_0x3d6ee0:0x936,_0x3dd2c4:0xb57,_0x80ba2f:0x976,_0x1a7dee:0x3f9,_0x513ec8:0x39a,_0x34a166:0x48f,_0x408acd:0x8b0,_0x5e2ac8:0x8af,_0x151b70:0xacd,_0x44a86e:0x726,_0x56acea:0x920,_0x1f5d21:0x93e,_0x427c20:0x9a1,_0x1bb569:0x766,_0x4227f7:0x939,_0x474793:0x511,_0x284636:0x5e4,_0x27b234:0x50b},_0x2eed7b={_0x1ca63f:0x27,_0x3680fe:0x21},_0x5d063b={_0x33a938:0x150,_0x60e710:0x4e},_0x2b04b1={_0x57dd33:0x62e};let _0x3580fa=_0x3d9406[_0x87458e(0x340,_0x14f13e._0x2b2eea,0x162,0x26d)],_0x4cca4d=![];const _0x4df485=tokenizeCommandArguments(_0x3d9406[_0x50a24e(_0x14f13e._0x5e8452,0xbf8,_0x14f13e._0x3d6ee0,0x9d6)]);_0x3580fa=_0x3580fa[_0x50a24e(_0x14f13e._0x3dd2c4,0x885,_0x14f13e._0x80ba2f,0x94c)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5d9d45,_0x3a8d2a)=>{return _0x4cca4d=!![],_0x4df485[Number(_0x3a8d2a)]??'';}),_0x3580fa=_0x3580fa[_0x87458e(_0x14f13e._0x1a7dee,_0x14f13e._0x513ec8,_0x14f13e._0x34a166,0x5a5)](/\$ARGUMENTS\b/g,()=>{_0x4cca4d=!![];function _0x16aff3(_0x3f9580,_0x566602,_0x1ca3dd,_0xdd1cb0){return _0x50a24e(_0x3f9580-0x1c5,_0x566602-0x66,_0x3f9580,_0x566602- -0x551);}return _0x3d9406[_0x16aff3(_0x2b04b1._0x57dd33,0x485,0x647,0x59e)];});if(_0x3d9406[_0x50a24e(0x737,0x7aa,_0x14f13e._0x408acd,0x936)]&&_0x3d9406[_0x50a24e(0x82e,0x86e,_0x14f13e._0x5e2ac8,0x936)][_0x50a24e(0x84d,0xa91,_0x14f13e._0x151b70,0x93e)]>0x0)for(let _0xf7d33c=0x0;_0xf7d33c<_0x3d9406['argumentNames'][_0x50a24e(0x964,_0x14f13e._0x44a86e,_0x14f13e._0x56acea,_0x14f13e._0x1f5d21)];_0xf7d33c++){const _0x1208b7=_0x3d9406[_0x50a24e(_0x14f13e._0x427c20,0xa6a,_0x14f13e._0x1bb569,0x936)][_0xf7d33c];if(_0x1208b7){const _0x256c4c=new RegExp('\x5c$'+_0x1208b7+'\x5cb','g');_0x3580fa=_0x3580fa[_0x50a24e(_0x14f13e._0x4227f7,0x955,0xab8,0x94c)](_0x256c4c,()=>{return _0x4cca4d=!![],_0x4df485[_0xf7d33c]??'';});}}function _0x87458e(_0x44432f,_0x53a7fc,_0x4249f3,_0xdc7450){return _0x28bc81(_0x44432f-0x184,_0x53a7fc-_0x5d063b._0x33a938,_0xdc7450-_0x5d063b._0x60e710,_0x4249f3);}function _0x50a24e(_0x1d6bfd,_0x461e7a,_0x473d3f,_0x309e80){return _0x5b2413(_0x1d6bfd-_0x2eed7b._0x1ca63f,_0x461e7a-_0x2eed7b._0x3680fe,_0x309e80-0x56,_0x473d3f);}return _0x3580fa=_0x3580fa[_0x87458e(_0x14f13e._0x474793,_0x14f13e._0x284636,0x73c,0x5a5)](/\$(\d+)\b/g,(_0xf868e0,_0x384ffa)=>{return _0x4cca4d=!![],_0x4df485[Number(_0x384ffa)]??'';}),!_0x4cca4d&&_0x3d9406['argumentsText']['trim']()&&(_0x3580fa=_0x3580fa+_0x87458e(0x3fb,_0x14f13e._0x27b234,0x6ea,0x4ef)+_0x3d9406['argumentsText']),_0x3580fa;}var PROVIDER_API_KEY_ENVS=[{'env':_0x5b2413(0x9fc,0x939,0x7e2,0x701),'provider':_0x28bc81(0x532,0x389,0x311,0xf1)},{'env':_0x5b2413(0x770,0x831,0x8da,0x96b),'provider':_0x5b2413(0x778,0xa7e,0x963,0x802)},{'env':_0x28bc81(0x206,0x270,0x3f8,0x2a9),'provider':_0x28bc81(0x7a1,0x554,0x607,0x52b)},{'env':_0x5b2413(0x9d4,0x915,0x831,0x77b),'provider':'github'},{'env':_0x5b2413(0x3c7,0x643,0x57d,0x630),'provider':'grok'},{'env':'DEEPINFRA_API_KEY','provider':_0x28bc81(0x394,0x3b3,0x3d9,0x383)},{'env':'ZAI_API_KEY','provider':_0x5b2413(0xabf,0xa60,0x926,0xb28)},{'env':_0x28bc81(0x406,0x66f,0x4b5,0x5ad),'provider':_0x5b2413(0x7f5,0x69c,0x7dd,0x9bd)},{'env':_0x5b2413(0x95b,0xb07,0x8f7,0xaba),'provider':'minimax'},{'env':_0x5b2413(0x4c6,0x660,0x5fd,0x5af),'provider':'kimi'},{'env':_0x5b2413(0xa2d,0xb93,0x98b,0x8dd),'provider':_0x5b2413(0x6cf,0x7f9,0x851,0x8ff)},{'env':'DEEPSEEK_API_KEY','provider':_0x5b2413(0xa17,0x8ce,0x988,0xaec)},{'env':_0x5b2413(0x55b,0x6af,0x6af,0x8c7),'provider':_0x28bc81(0x406,0x41e,0x497,0x3df)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x28bc81(0x7e7,0x640,0x5d1,0x4b6)](_0x56c957=>_0x56c957['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x28bc81(0x76,0x140,0x237,0x175),_0x5b2413(0x951,0x5c2,0x7b7,0x9bb),_0x5b2413(0x59b,0x893,0x70e,0x59f)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x5b2413(0x62e,0x82a,0x7ca,0x81b),'ENV',_0x5b2413(0x853,0x9ba,0x98e,0xa95),_0x28bc81(0x1c4,0x4e5,0x39e,0x1f1),_0x28bc81(0x4ea,0x54d,0x395,0x3f5),_0x28bc81(0x2cf,0x3db,0x1ea,0x3c4)],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x28bc81(0x36d,0x468,0x3cf,0x2e7)](Object[_0x5b2413(0x9f9,0x959,0x82f,0x846)]),_0x5b2413(0x6ea,0x75f,0x82f,0x84b)]),PRODUCTION_FILE_EDIT_MODES=['exact',_0x5b2413(0x9d9,0x91f,0x859,0x90c),_0x5b2413(0x844,0x65c,0x646,0x692)];function prototypeSafeRecord(_0x165dcd){const _0xec0102={_0x564445:0x2d4,_0x577679:0x490,_0x52ac1d:0x1ba,_0x42cf8d:0x39d,_0x426f95:0x34d,_0xe018a3:0x59e},_0x45a2a7={_0xce7b19:0x121,_0x4ea8d4:0x34,_0x531c62:0x53,_0xd01c38:0x0,_0x212952:0x28c,_0x16e1c3:0x29,_0x126a01:0x111,_0x4564db:0x8,_0x48eb3c:0x123},_0x14e930={_0x360a9c:0x171,_0x3bd98e:0x10,_0x255207:0x33d},_0x279637={_0x2336d9:0x25,_0x2f679e:0x1a7};function _0xa5d0e8(_0x4d7739,_0x28dbad,_0x292c85,_0x8f616d){return _0x28bc81(_0x4d7739-_0x279637._0x2336d9,_0x28dbad-_0x279637._0x2f679e,_0x8f616d-0x215,_0x4d7739);}function _0x166040(_0x1c9c24,_0x43c492,_0xce4f1c,_0x3f381e){return _0x5b2413(_0x1c9c24-_0x14e930._0x360a9c,_0x43c492-_0x14e930._0x3bd98e,_0x1c9c24- -_0x14e930._0x255207,_0x43c492);}return z['preprocess'](_0x260e53=>{const _0x454704={_0x390de4:0x265};if(_0x260e53===null||typeof _0x260e53!==_0x25a826(-_0x45a2a7._0xce7b19,_0x45a2a7._0x4ea8d4,-_0x45a2a7._0x531c62,_0x45a2a7._0xd01c38)||Array[_0x25a826(-0xfd,-_0x45a2a7._0x212952,-0x74,-_0x45a2a7._0x16e1c3)](_0x260e53))return null;const _0x5c6c87=Object['getPrototypeOf'](_0x260e53);if(_0x5c6c87!==Object['prototype']&&_0x5c6c87!==null)return null;function _0x25a826(_0x17919a,_0x1f22ec,_0x53c40c,_0xe6023f){return _0x8662(_0x53c40c- -0x2e0,_0x17919a);}function _0x3bc5de(_0xbea843,_0x502eb2,_0x1e7ab7,_0x5dcd7b){return _0x8662(_0xbea843- -_0x454704._0x390de4,_0x1e7ab7);}return{'entries':Object[_0x25a826(0x1d1,_0x45a2a7._0x126a01,-_0x45a2a7._0x4564db,-_0x45a2a7._0x48eb3c)](_0x260e53)};},z[_0x166040(0x2c7,_0xec0102._0x564445,_0xec0102._0x577679,0x47c)]({'entries':z[_0x166040(0x35c,_0xec0102._0x52ac1d,_0xec0102._0x42cf8d,_0xec0102._0x426f95)](z[_0xa5d0e8(0x81b,0x8fb,0x5fd,0x806)]([z['string'](),_0x165dcd]))}))[_0x166040(0x4ea,0x67f,0x2cf,_0xec0102._0xe018a3)](({entries:_0x51e32c})=>Object['fromEntries'](_0x51e32c));}var chatModelAuthSchemeSchema=z[_0x5b2413(0x726,0x568,0x6b4,0x75a)](['bearer',_0x28bc81(0x255,0x16b,0x284,0x14b)]),apiKeyAuthSchema=z['object']({'type':z[_0x5b2413(0x82b,0xae8,0x918,0x8bd)]('apiKey'),'apiKey':z[_0x28bc81(0x1f5,0x427,0x296,0x247)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x5b2413(0x860,0x803,0x87e,0xa1b)](),oauthAuthSchema=z['object']({'type':z[_0x5b2413(0x736,0xa08,0x918,0x739)]('oauth'),'access':z[_0x5b2413(0x53d,0x6e4,0x635,0x6fa)](),'refresh':z[_0x28bc81(0x22a,0x1fc,0x296,0x3b5)](),'expires':z[_0x28bc81(0x311,0x56e,0x420,0x456)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x5b2413(0x9aa,0x88d,0x915,0xb08)]()})['passthrough'](),finiteNonNegative=z[_0x5b2413(0x651,0x991,0x7bf,0x914)]()[_0x28bc81(0x2a9,0x13b,0x2a2,0x328)]()[_0x28bc81(0x484,0x331,0x4bc,0x69c)](),chatGptAuthSchema=z[_0x28bc81(0x28b,0x24b,0x265,0x1ac)]({'type':z[_0x28bc81(0x6f0,0x684,0x579,0x41e)]('chatgpt'),'access':z['string']()[_0x28bc81(0x415,0x2d3,0x340,0x3a7)](0x1),'refresh':z['string']()[_0x28bc81(0x24d,0x25d,0x340,0x18a)](0x1),'idToken':z['string']()[_0x5b2413(0x7c4,0x72c,0x6df,0x776)](0x1),'accountId':z[_0x5b2413(0x826,0x44a,0x635,0x4f2)]()[_0x28bc81(0x195,0x4c7,0x340,0x4a7)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x28bc81(0x734,0x6a6,0x576,0x5bd)]()})[_0x28bc81(0x609,0x522,0x4df,0x612)](),authMethodSchema=z[_0x28bc81(0x56d,0x63c,0x5b0,0x65a)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x5b2413(0x8bb,0x845,0x6b4,0x68f)]([_0x5b2413(0x646,0x3fe,0x593,0x72d),_0x28bc81(0x4dc,0x21f,0x2ea,0x1c2),_0x28bc81(0x195,0x32e,0x3a1,0x45e),_0x28bc81(-0x44,0x1f2,0x1dd,0x80),'xhigh',_0x28bc81(0x264,0x346,0x467,0x31d)]),reasoningOptionSchema=z[_0x28bc81(0x62,0xae,0x265,0xb2)]({'id':z[_0x28bc81(0x21e,0xc0,0x296,0x278)]()[_0x28bc81(0x35d,0x390,0x318,0x4a0)]()[_0x28bc81(0x3ba,0x4b6,0x340,0x55b)](0x1),'description':z[_0x28bc81(0x8f,0x3ee,0x296,0x33b)]()[_0x28bc81(0x68b,0x46a,0x576,0x57c)](),'mode':z['enum'](['adaptive',_0x5b2413(0x739,0x66c,0x624,0x652)])['optional'](),'effort':reasoningEffortSchema[_0x5b2413(0x7d1,0x7d0,0x915,0xb27)](),'budgetTokens':z[_0x28bc81(0x5ba,0x303,0x420,0x279)]()['int']()['min'](0x400)[_0x5b2413(0x8c3,0xa41,0x915,0xb22)]()})[_0x5b2413(0x717,0x714,0x6d0,0x8ee)]((_0x5b7885,_0x516065)=>{const _0x58dc70={_0x1bfa86:0x6e8,_0x42f1a5:0x68a,_0x54f59f:0x5b2,_0x44f875:0x487,_0xcd54c5:0x3ec,_0x1a2240:0x6d7,_0x210a58:0x571,_0xf2871e:0x765,_0x260685:0x4f9,_0x55b221:0x611,_0x854e43:0x4ec,_0x2be419:0x89,_0x5264be:0x74,_0x3a8aca:0x6f0,_0x4124ce:0x4c2,_0x28ca8f:0x3c3,_0x1ea02d:0x545,_0x12a6af:0x550,_0x315043:0x4dd,_0x4ce24f:0x28e,_0x38b104:0x3a3,_0x404d68:0x419,_0x117e08:0x478,_0x195570:0x4fa,_0x2abab3:0x31c,_0xd0dbf0:0x210,_0x59fa01:0x5aa,_0x5a6c42:0x361,_0x2a8268:0x371,_0x553911:0x2f1,_0x1031b6:0x533,_0x3fa807:0x69e,_0x6ee31a:0x542,_0x5a2d4c:0x64f,_0x4528d2:0x553,_0x5953f3:0x4ba,_0x5627a0:0x193,_0x33bd76:0x350},_0x373f90={_0x442b83:0xc,_0x2a7cf7:0x1b5},_0x7d7e3={_0x5622b3:0x8a,_0x30ed4d:0x49c},_0x252f06=_0x5b7885['id']['toLowerCase']();(_0x252f06==='off'||_0x252f06===_0x348d34(0x4ed,0x4b4,0x203,0x3cb)||_0x252f06===_0x348d34(0x550,0x81c,0x7d1,_0x58dc70._0x1bfa86))&&_0x516065[_0x348d34(0x561,_0x58dc70._0x42f1a5,_0x58dc70._0x54f59f,0x69e)]({'code':'custom','path':['id'],'message':'Reasoning\x20option\x20\x22'+_0x252f06+_0xc08046(0x47b,_0x58dc70._0x44f875,_0x58dc70._0xcd54c5,0x324)});if(_0x5b7885[_0x348d34(_0x58dc70._0x1a2240,0x6ba,0x734,0x6c6)]==='manual'){_0x5b7885[_0x348d34(0x4fe,_0x58dc70._0x210a58,0x869,0x68a)]===void 0x0&&_0x516065['addIssue']({'code':_0x348d34(0x81a,0x42c,0x6db,0x603),'path':[_0x348d34(_0x58dc70._0xf2871e,0x5d4,0x732,0x68a)],'message':_0x348d34(0x5d0,_0x58dc70._0x260685,_0x58dc70._0x55b221,_0x58dc70._0x854e43)});_0x5b7885[_0xc08046(-_0x58dc70._0x2be419,-_0x58dc70._0x5264be,-0xd6,0xdc)]!==void 0x0&&_0x516065[_0x348d34(_0x58dc70._0x3a8aca,0x6a1,0x7ea,0x69e)]({'code':'custom','path':[_0x348d34(0x3b8,_0x58dc70._0x4124ce,0x213,_0x58dc70._0x28ca8f)],'message':_0x348d34(0x6a4,0x451,_0x58dc70._0x1ea02d,0x530)});return;}function _0xc08046(_0x390dac,_0x42dbf8,_0x4cac6c,_0xf965db){return _0x5b2413(_0x390dac-_0x7d7e3._0x5622b3,_0x42dbf8-0x14,_0xf965db- -_0x7d7e3._0x30ed4d,_0x4cac6c);}_0x5b7885[_0xc08046(_0x58dc70._0x12a6af,_0x58dc70._0x315043,_0x58dc70._0x4ce24f,_0x58dc70._0x38b104)]!==void 0x0&&_0x516065[_0xc08046(0x591,_0x58dc70._0x404d68,_0x58dc70._0x117e08,0x3b7)]({'code':_0xc08046(0x304,_0x58dc70._0x195570,0x14d,_0x58dc70._0x2abab3),'path':[_0xc08046(0x573,_0x58dc70._0xd0dbf0,_0x58dc70._0x59fa01,0x3a3)],'message':_0xc08046(_0x58dc70._0x5a6c42,_0x58dc70._0x2a8268,_0x58dc70._0x553911,0x43a)});function _0x348d34(_0x4fdac2,_0x2ad1db,_0x797583,_0x20571c){return _0x5b2413(_0x4fdac2-_0x373f90._0x442b83,_0x2ad1db-0x38,_0x20571c- -_0x373f90._0x2a7cf7,_0x797583);}_0x5b7885['mode']===void 0x0&&_0x5b7885['effort']===void 0x0&&_0x516065[_0x348d34(0x65b,0x858,_0x58dc70._0x1031b6,_0x58dc70._0x3fa807)]({'code':_0x348d34(0x75c,_0x58dc70._0x6ee31a,_0x58dc70._0x5a2d4c,0x603),'path':['effort'],'message':_0xc08046(_0x58dc70._0x4528d2,_0x58dc70._0x5953f3,_0x58dc70._0x5627a0,_0x58dc70._0x33bd76)});});function validateReasoningOptionIds(_0x2dd39c,_0x1d0c9c){const _0x1bfc17={_0x2621e2:0x397,_0x43115d:0x41d,_0x1d7ed9:0x562,_0x57e1dd:0xc5,_0x469399:0x1df,_0x191f32:0x50c,_0x1fc990:0x205,_0x8c210b:0x3e1,_0x246af6:0x257,_0xe15d66:0x2ed,_0x489126:0x177,_0x48e9ff:0x182,_0x3123a8:0x2a2},_0x826148={_0x112629:0x1d9,_0x29206b:0x12c},_0x2f39ad=new Set();function _0x46b559(_0x358298,_0x3ad366,_0xefe72f,_0x3a8d88){return _0x5b2413(_0x358298-0x16e,_0x3ad366-0x1f4,_0x358298- -0x6ab,_0xefe72f);}function _0x1ea8b8(_0x3a5db8,_0x559c24,_0x3b9a81,_0x4f8483){return _0x28bc81(_0x3a5db8-0x164,_0x559c24-_0x826148._0x112629,_0x3b9a81- -_0x826148._0x29206b,_0x559c24);}for(let _0x31c567=0x0;_0x31c567<_0x2dd39c[_0x1ea8b8(0x56d,_0x1bfc17._0x2621e2,_0x1bfc17._0x43115d,_0x1bfc17._0x1d7ed9)];_0x31c567+=0x1){const _0x2b993f=_0x2dd39c[_0x31c567]?.['id']['toLowerCase']();if(!_0x2b993f)continue;if(_0x2f39ad[_0x1ea8b8(_0x1bfc17._0x57e1dd,-0x3c,_0x1bfc17._0x469399,0x21c)](_0x2b993f)){_0x1d0c9c[_0x1ea8b8(_0x1bfc17._0x191f32,_0x1bfc17._0x1fc990,0x388,_0x1bfc17._0x8c210b)]({'code':_0x1ea8b8(0x293,_0x1bfc17._0x246af6,_0x1bfc17._0xe15d66,0x161),'path':[_0x46b559(_0x1bfc17._0x489126,0x366,-0x34,0x166),_0x31c567,'id'],'message':_0x1ea8b8(_0x1bfc17._0x48e9ff,_0x1bfc17._0x3123a8,0x33c,0x3e1)+_0x2b993f+'\x22'});continue;}_0x2f39ad['add'](_0x2b993f);}}var providerReasoningConfigSchema=z[_0x5b2413(0x412,0x76f,0x604,0x513)]({'options':z[_0x5b2413(0x6ed,0x507,0x699,0x876)](reasoningOptionSchema)})['superRefine']((_0x2b90db,_0x287f9d)=>{validateReasoningOptionIds(_0x2b90db['options'],_0x287f9d);}),modelReasoningConfigSchema=z[_0x5b2413(0x76f,0x61c,0x604,0x41f)]({'defaultOption':z['string']()[_0x28bc81(0x135,0x511,0x318,0x367)]()['min'](0x1)[_0x5b2413(0xa68,0xa7c,0x915,0x766)](),'canDisable':z[_0x28bc81(0x39c,0x39f,0x524,0x695)]()[_0x28bc81(0x534,0x366,0x576,0x6eb)](),'options':z[_0x28bc81(0x4b5,0x3c9,0x2fa,0x1a1)](reasoningOptionSchema)})[_0x28bc81(0x42f,0x4c6,0x331,0x14d)]((_0x5c91f6,_0x36192c)=>{const _0x20593f={_0x5a16c6:0x59e,_0x1fff46:0x499,_0x1632e0:0x177,_0x5df764:0x16a,_0x457a92:0x322,_0x5840cc:0x193,_0x202ccb:0x462,_0x176883:0x459,_0x2358e5:0x403,_0x17a404:0x7ba,_0x479735:0x2a8,_0x2448ff:0x35f,_0x4ae52a:0x482,_0x1035cd:0xdf,_0x17eef1:0x2be,_0x315328:0x280,_0x43a886:0x55,_0x388058:0x3d7,_0x11fb0b:0x5dd,_0x58e2ee:0x4ff,_0x318256:0x506,_0x385c0c:0x223,_0x243e96:0x5f7,_0x1e8669:0x4d0,_0x47aa1a:0x1b1,_0x4cfa3a:0x511,_0x3d5c73:0x5d0,_0x14bdb0:0x38b},_0x572833={_0x3ad66d:0x6b,_0x238312:0xb8,_0x200f01:0x5ab},_0x3eb0b0={_0x172e01:0x172};validateReasoningOptionIds(_0x5c91f6[_0x367c6c(0x535,_0x20593f._0x5a16c6,_0x20593f._0x1fff46,0x3fe)],_0x36192c);function _0x367c6c(_0x145e3b,_0x61effd,_0x2a8040,_0x2a5fc0){return _0x5b2413(_0x145e3b-_0x3eb0b0._0x172e01,_0x61effd-0x1d9,_0x61effd- -0x284,_0x2a8040);}function _0x2c2b80(_0x32b827,_0x5350e0,_0xaf095a,_0x4484c5){return _0x5b2413(_0x32b827-_0x572833._0x3ad66d,_0x5350e0-_0x572833._0x238312,_0x32b827- -_0x572833._0x200f01,_0x4484c5);}const _0x2a832e=_0x5c91f6[_0x2c2b80(0x1ea,0x1f8,0x169,_0x20593f._0x1632e0)]?.[_0x2c2b80(_0x20593f._0x5df764,_0x20593f._0x457a92,_0x20593f._0x5840cc,0x345)]();if(_0x2a832e===void 0x0)return;if(_0x2a832e===_0x367c6c(_0x20593f._0x202ccb,_0x20593f._0x176883,0x4dd,_0x20593f._0x2358e5)){_0x5c91f6[_0x367c6c(_0x20593f._0x17a404,0x5e7,0x3c5,0x68a)]!==!![]&&_0x36192c[_0x2c2b80(_0x20593f._0x479735,_0x20593f._0x2448ff,_0x20593f._0x2448ff,_0x20593f._0x4ae52a)]({'code':_0x2c2b80(0x20d,_0x20593f._0x1035cd,_0x20593f._0x17eef1,_0x20593f._0x315328),'path':[_0x2c2b80(0x1ea,-0x1f,0xd2,_0x20593f._0x43a886)],'message':_0x367c6c(0x5f6,_0x20593f._0x388058,0x283,0x213)});return;}!_0x5c91f6[_0x367c6c(_0x20593f._0x11fb0b,0x59e,0x3eb,_0x20593f._0x58e2ee)][_0x367c6c(0x71c,0x62e,_0x20593f._0x318256,0x554)](_0x5acc38=>_0x5acc38['id'][_0x367c6c(0x4a6,0x491,0x5ef,0x280)]()===_0x2a832e)&&_0x36192c['addIssue']({'code':_0x2c2b80(0x20d,0x3b1,0x67,_0x20593f._0x385c0c),'path':[_0x367c6c(_0x20593f._0x243e96,0x511,_0x20593f._0x1e8669,0x5b7)],'message':_0x2c2b80(0x115,_0x20593f._0x47aa1a,0xd6,-0x57)+_0x5c91f6[_0x367c6c(0x66a,_0x20593f._0x4cfa3a,0x5ae,_0x20593f._0x3d5c73)]+_0x367c6c(_0x20593f._0x14bdb0,0x580,0x56d,0x416)});}),modelDefinitionSchema=z['object']({'id':z[_0x5b2413(0x64b,0x700,0x635,0x71a)](),'name':z[_0x28bc81(0x46c,0xfd,0x296,0x31c)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0x28bc81(0x4ca,0x53c,0x576,0x622)]()})[_0x5b2413(0x693,0x838,0x87e,0x8f6)](),modelConfigSchema=z['union']([z['literal'](![]),z['literal'](!![]),z[_0x28bc81(0x2df,0x88,0x296,0x224)](),z['array'](z['string']()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x28bc81(0x5d4,0x72c,0x56c,0x6c5),'openai-chat-completions',_0x5b2413(0x84f,0x8ca,0x7ab,0x78b),_0x28bc81(0x348,0x2ea,0x2c0,0x37d)]),providerNameSchema=z['string']()[_0x5b2413(0x55a,0x788,0x6df,0x716)](0x1,'Provider\x20name\x20cannot\x20be\x20empty')[_0x28bc81(-0xc,0x3aa,0x1f8,0x194)](_0x30906d=>!_0x30906d[_0x5b2413(0x58b,0x591,0x760,0x77d)](':'),_0x5b2413(0xad6,0x75b,0x8c5,0x825)),providerConfigSchema=z['object']({'apiKey':z[_0x28bc81(0x162,0x3cb,0x296,0xd9)]()['optional'](),'token':z[_0x5b2413(0x7ab,0x7ba,0x635,0x510)]()[_0x5b2413(0x7b0,0xaf8,0x915,0x99f)](),'defaultModel':z[_0x5b2413(0x737,0x855,0x635,0x5da)]()[_0x28bc81(0x5dc,0x726,0x576,0x4f5)](),'smallModel':z[_0x28bc81(0x44a,0x162,0x296,0x175)]()[_0x5b2413(0x6f4,0xb19,0x915,0x7f6)](),'currentAuth':z[_0x28bc81(0x155,0x3eb,0x296,0x108)]()[_0x28bc81(0x35e,0x6a0,0x576,0x580)](),'auth':z[_0x5b2413(0x508,0x554,0x699,0x698)](authMethodSchema)[_0x28bc81(0x6cd,0x400,0x576,0x436)](),'surface':chatModelSurfaceSchema[_0x28bc81(0x634,0x713,0x576,0x776)](),'providerId':providerNameSchema[_0x28bc81(0x753,0x76f,0x576,0x65f)](),'baseUrl':z[_0x5b2413(0x80a,0x6f5,0x635,0x439)]()[_0x28bc81(0x60b,0x48a,0x576,0x497)](),'models':modelConfigSchema[_0x28bc81(0x5f0,0x431,0x576,0x6e5)](),'customHeaders':z[_0x5b2413(0x78b,0x5a7,0x58f,0x781)](z[_0x5b2413(0x76a,0x438,0x635,0x454)](),z[_0x28bc81(0x2e9,0x2dc,0x296,0x46f)]())['optional'](),'reasoning':providerReasoningConfigSchema[_0x5b2413(0x9df,0x8fa,0x915,0x903)]()})[_0x5b2413(0xa71,0x86a,0x87e,0x8df)](),mcpServerConfigSchema=z[_0x28bc81(0x2f8,0xe8,0x265,0x291)]({'command':z[_0x5b2413(0x509,0x826,0x635,0x41f)]()[_0x5b2413(0x931,0x746,0x915,0xa18)](),'args':z[_0x5b2413(0x4aa,0x50d,0x699,0x63e)](z[_0x5b2413(0x42a,0x4f4,0x635,0x6da)]())['optional'](),'env':z[_0x28bc81(0x11a,0x185,0x1f0,0x2e1)](z[_0x28bc81(0x395,0x427,0x296,0x191)](),z['string']())[_0x28bc81(0x473,0x595,0x576,0x53f)](),'transport':z[_0x5b2413(0x801,0x84f,0x6b4,0x8cc)]([_0x5b2413(0x6ba,0x401,0x573,0x469),_0x28bc81(0x46c,0x327,0x4eb,0x53d)])['optional'](),'url':z[_0x28bc81(0x14d,0x35f,0x296,0x1c3)]()[_0x28bc81(0x370,0x5a2,0x576,0x3b5)](),'headers':z[_0x5b2413(0x458,0x6ae,0x58f,0x52e)](z[_0x28bc81(0x15d,0x348,0x296,0x282)](),z[_0x28bc81(0x2bf,0x362,0x296,0x122)]())[_0x28bc81(0x37e,0x5dd,0x576,0x3f3)](),'prefix':z[_0x5b2413(0x62b,0x716,0x635,0x41d)]()['optional'](),'timeoutMs':z[_0x28bc81(0x3c8,0x4f3,0x420,0x4b6)]()[_0x5b2413(0xa27,0x7ff,0x915,0x94f)](),'enabled':z[_0x5b2413(0x933,0x8ab,0x8c3,0x9dd)]()[_0x5b2413(0x835,0xa2d,0x915,0xa20)](),'auth':z[_0x5b2413(0x4f9,0x69f,0x604,0x4fe)]({'type':z[_0x5b2413(0x6e6,0x50f,0x6b4,0x879)]([_0x5b2413(0x8f2,0x7be,0x9ac,0x9e5),_0x28bc81(0x20c,0x1c4,0x3cb,0x296),'oauth']),'token':z['string']()[_0x5b2413(0x925,0xaa2,0x915,0x746)](),'oauth':z[_0x5b2413(0x736,0x48c,0x604,0x448)]({'clientId':z[_0x5b2413(0x5e3,0x588,0x635,0x494)]()[_0x5b2413(0x779,0xaf9,0x915,0x9fb)](),'clientMetadataUrl':z['string']()[_0x28bc81(0x430,0x696,0x576,0x542)](),'authorizationServer':z['string']()[_0x5b2413(0x87c,0x9e2,0x915,0x74f)](),'scopes':z[_0x28bc81(0x457,0x511,0x2fa,0x277)](z['string']())['optional'](),'tokenStorageKey':z[_0x28bc81(0x3c7,0x417,0x296,0xeb)]()[_0x28bc81(0x371,0x5e9,0x576,0x68c)]()})['passthrough']()[_0x28bc81(0x620,0x636,0x576,0x480)]()})['passthrough']()[_0x28bc81(0x57f,0x74d,0x576,0x6a7)]()})[_0x5b2413(0x964,0x8af,0x87e,0xa82)](),mcpToolPermissionClassSchema=z[_0x28bc81(0x18f,0x162,0x315,0x164)](['read','write',_0x5b2413(0x9fc,0x8da,0x8f5,0xa65)]),mcpSettingsSchema=z[_0x5b2413(0x463,0x47c,0x604,0x711)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x5b2413(0x8c2,0xa0b,0x915,0x7f8)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x28bc81(0x487,0x3e3,0x576,0x585)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x28bc81(0x73e,0x6e4,0x576,0x747)](),'defaultTimeoutMs':z['number']()[_0x5b2413(0x8e9,0xad8,0x915,0xa4a)]()})[_0x28bc81(0x34a,0x2dd,0x4df,0x451)](),skillsSettingsSchema=z[_0x5b2413(0x592,0x6ea,0x604,0x3e3)]({'enabled':z[_0x5b2413(0x958,0xa0e,0x8c3,0xa8b)]()[_0x5b2413(0x86f,0x92a,0x915,0x9be)](),'includeDefaults':z[_0x5b2413(0x97f,0x760,0x8c3,0x980)]()[_0x28bc81(0x6ee,0x47b,0x576,0x655)](),'directories':z['array'](z['string']())[_0x5b2413(0xa5d,0x73d,0x915,0x97b)](),'exclude':z[_0x28bc81(0x2c7,0x12e,0x2fa,0x498)](z[_0x28bc81(0xa8,0x4b2,0x296,0x7b)]())['optional']()})[_0x28bc81(0x453,0x561,0x4df,0x506)](),commandsSettingsSchema=z[_0x5b2413(0x523,0x579,0x604,0x637)]({'enabled':z[_0x28bc81(0x397,0x4ef,0x524,0x54d)]()[_0x28bc81(0x415,0x3de,0x576,0x5ae)](),'directories':z[_0x28bc81(0x348,0x17b,0x2fa,0x2d2)](z['string']())[_0x5b2413(0x733,0x7f0,0x915,0x858)]()})[_0x28bc81(0x64b,0x40b,0x4df,0x471)](),agentsSettingsSchema=z[_0x28bc81(0x423,0x148,0x265,0xec)]({'enabled':z[_0x28bc81(0x732,0x704,0x524,0x4e8)]()[_0x5b2413(0x877,0x942,0x915,0x87d)](),'includeDefaults':z['boolean']()['optional'](),'directories':z[_0x5b2413(0x84c,0x4c6,0x699,0x7cb)](z[_0x28bc81(0x31f,0x289,0x296,0x223)]())[_0x5b2413(0xae4,0x9e3,0x915,0x916)](),'maxConcurrency':z[_0x5b2413(0x85c,0x6a1,0x7bf,0x630)]()[_0x28bc81(0x364,0x206,0x2a2,0x3e1)]()[_0x5b2413(0x5de,0x3b7,0x5a5,0x5fe)]()[_0x28bc81(0x369,0x356,0x4b9,0x40f)]()[_0x28bc81(0x5fd,0x705,0x576,0x50c)]()})[_0x28bc81(0x372,0x5aa,0x4df,0x516)](),uiThemeSettingsSchema=z[_0x5b2413(0x567,0x69d,0x604,0x77c)]({'mode':z[_0x28bc81(0x373,0x169,0x315,0x2f1)](['auto',_0x5b2413(0x7c3,0x8b2,0x7f5,0x94f),_0x28bc81(0x6a9,0x4d8,0x522,0x3fe)])[_0x28bc81(0x64b,0x43f,0x576,0x3bd)](),'colorLevel':z[_0x28bc81(0x4e1,0x1da,0x315,0x2dc)](['auto',_0x28bc81(0x53f,0x62b,0x60d,0x511),_0x5b2413(0x75c,0x754,0x88d,0x822),'ansi256',_0x28bc81(0x501,0x5f7,0x507,0x672)])[_0x5b2413(0x853,0x74e,0x915,0x8fc)](),'backgrounds':z[_0x5b2413(0x6a0,0x6e3,0x6b4,0x81f)]([_0x5b2413(0x8a2,0x7db,0x705,0x55a),'on',_0x5b2413(0x551,0x577,0x6dd,0x6ed)])[_0x28bc81(0x678,0x500,0x576,0x538)](),'messageStyle':z[_0x5b2413(0x4cf,0x4ac,0x6b4,0x75f)]([_0x5b2413(0x63f,0x6f6,0x5d3,0x6e2),_0x5b2413(0xa4b,0x72a,0x87c,0x6e7)])[_0x5b2413(0x890,0x806,0x915,0x851)]()})[_0x28bc81(0x686,0x685,0x4df,0x558)](),statuslineSegmentSchema=z['enum']([_0x28bc81(0x3dc,0x556,0x5e6,0x7f0),_0x5b2413(0x94f,0x7c8,0x88b,0xa2a),_0x28bc81(0x236,0x2cc,0x2ae,0x16d),_0x5b2413(0x8aa,0xb43,0x98d,0xb93),'tokens',_0x28bc81(-0x2b,0x167,0x1f5,0x185),_0x28bc81(0x20b,0x1bd,0x30d,0x433),_0x28bc81(0x40f,0x400,0x50d,0x327),'tools',_0x28bc81(0x260,0x472,0x3f4,0x5f9),_0x28bc81(0x318,0x139,0x27f,0x394),_0x5b2413(0x927,0x670,0x870,0x6de),_0x28bc81(0x748,0x500,0x5c0,0x69b),_0x5b2413(0x6e3,0x6ef,0x587,0x7a7),'rss']),statuslineItemSchema=z[_0x5b2413(0x79a,0xb0e,0x94f,0xaf3)]([statuslineSegmentSchema,z[_0x28bc81(0x610,0x418,0x579,0x5fa)]('|')]),statuslineRowSchema=z[_0x28bc81(0x193,0x124,0x2fa,0x474)](statuslineItemSchema),statuslineConfigSchema=z[_0x28bc81(0x2b8,0x35b,0x265,0x16a)]({'rows':z[_0x28bc81(0x718,0x5fb,0x5f1,0x6b8)]([statuslineRowSchema,statuslineRowSchema])[_0x5b2413(0xae6,0xa85,0x915,0xa2c)]()})['passthrough'](),memoryExtractionSettingsSchema=z[_0x5b2413(0x79f,0x4b0,0x604,0x7ae)]({'enabled':z[_0x28bc81(0x5e7,0x65a,0x524,0x5a3)]()['optional'](),'provider':z[_0x28bc81(0xc6,0x3cb,0x296,0x247)]()[_0x28bc81(0x2e4,0x12b,0x340,0x146)](0x1)[_0x5b2413(0x9e7,0xab0,0x915,0x886)](),'model':z['string']()[_0x28bc81(0x485,0x125,0x340,0x19c)](0x1)[_0x28bc81(0x415,0x3cc,0x576,0x688)](),'minUserMessages':z['number']()[_0x28bc81(0x1ca,0x385,0x206,0x14b)]()[_0x5b2413(0x786,0x517,0x6df,0x8b2)](0x1)[_0x28bc81(0x36a,0x673,0x576,0x4a5)](),'structuredOutput':z[_0x28bc81(0x56e,0x330,0x524,0x4b8)]()[_0x28bc81(0x489,0x718,0x576,0x5da)](),'maxSeedTokens':z[_0x28bc81(0x638,0x53d,0x420,0x26e)]()[_0x5b2413(0x728,0x617,0x5a5,0x636)]()[_0x28bc81(0x17c,0x32a,0x340,0x4c5)](0x1)[_0x5b2413(0x919,0xb09,0x915,0x7f6)](),'trimToolOutputs':z['boolean']()[_0x28bc81(0x42f,0x747,0x576,0x69b)]()})[_0x5b2413(0x886,0x951,0x962,0xaff)](),memoryInjectionSettingsSchema=z[_0x28bc81(0x178,0x12c,0x265,0x310)]({'tokenBudget':z[_0x28bc81(0x468,0x377,0x420,0x405)]()['int']()['min'](0x80)[_0x28bc81(0x404,0x3d4,0x467,0x268)](0x2000)['optional'](),'rankByUsage':z[_0x5b2413(0x8f0,0x9e4,0x8c3,0x958)]()['optional']()})[_0x28bc81(0x4ed,0x7e0,0x5c3,0x609)](),memoryConsolidateSettingsSchema=z[_0x5b2413(0x480,0x4b5,0x604,0x826)]({'enabled':z[_0x5b2413(0x88b,0x9e3,0x8c3,0x951)]()['optional'](),'provider':z['string']()[_0x5b2413(0x792,0x8d8,0x6df,0x595)](0x1)[_0x5b2413(0x95d,0x7e1,0x915,0x83c)](),'model':z[_0x5b2413(0x4df,0x457,0x635,0x679)]()['min'](0x1)[_0x28bc81(0x5af,0x62b,0x576,0x3e1)](),'maxExtractsPerRun':z[_0x5b2413(0x7b5,0x963,0x7bf,0x852)]()[_0x5b2413(0x746,0x6a8,0x5a5,0x68e)]()[_0x5b2413(0x602,0x80d,0x6df,0x762)](0x1)['optional'](),'maxUnusedDays':z[_0x5b2413(0x6a8,0x77e,0x7bf,0x5d9)]()[_0x5b2413(0x655,0x699,0x5a5,0x575)]()['min'](0x1)[_0x28bc81(0x745,0x4c5,0x576,0x373)](),'requireReview':z[_0x28bc81(0x65b,0x3a4,0x524,0x5ac)]()[_0x28bc81(0x4a7,0x4c4,0x576,0x437)](),'writeSkills':z[_0x5b2413(0x925,0xaca,0x8c3,0x961)]()[_0x5b2413(0x821,0xa2f,0x915,0x8ea)](),'readSourceTranscripts':z[_0x5b2413(0x98d,0x6ac,0x8c3,0x6f6)]()[_0x5b2413(0x8a7,0x74a,0x915,0x9c1)](),'maxTranscriptReadsPerRun':z[_0x28bc81(0x542,0x5f1,0x420,0x54c)]()['int']()[_0x28bc81(0x446,0x215,0x340,0x15b)](0x0)['optional']()})['strict'](),memorySettingsSchema=z[_0x5b2413(0x42c,0x750,0x604,0x6f2)]({'enabled':z['boolean']()['optional'](),'extraction':memoryExtractionSettingsSchema[_0x5b2413(0x8c1,0x717,0x915,0x6fa)](),'consolidate':memoryConsolidateSettingsSchema[_0x28bc81(0x39a,0x6a0,0x576,0x504)](),'injection':memoryInjectionSettingsSchema[_0x28bc81(0x6a4,0x3b4,0x576,0x75e)]()})[_0x5b2413(0xa0f,0x9c2,0x962,0x822)]();function _0x5b2413(_0x2dafb5,_0x2539af,_0x524694,_0x4b613a){return _0x8662(_0x524694-0x377,_0x4b613a);}var recentModelSchema=z[_0x28bc81(0x117,0x157,0x265,0x121)]({'provider':z[_0x5b2413(0x5e6,0x7f2,0x635,0x454)](),'model':z[_0x28bc81(0xa1,0x370,0x296,0x79)](),'usedAt':z[_0x28bc81(0x60f,0x31b,0x420,0x52a)]()})['passthrough'](),lspServerEntrySchema=z[_0x5b2413(0x6b2,0x7fc,0x604,0x4bc)]({'disabled':z['boolean']()[_0x5b2413(0xae4,0x847,0x915,0xa35)](),'command':z[_0x28bc81(0x4a6,0x187,0x296,0x3c9)]()[_0x28bc81(0x554,0x45d,0x576,0x5f9)](),'args':z[_0x28bc81(0x512,0x109,0x2fa,0x160)](z[_0x28bc81(0x3d5,0x3fb,0x296,0x145)]())[_0x5b2413(0xaa8,0x983,0x915,0x92f)](),'rootMarkers':z[_0x5b2413(0x773,0x708,0x699,0x84a)](z[_0x28bc81(0x111,0x378,0x296,0x115)]())[_0x5b2413(0x7b3,0x90f,0x915,0xb1b)]()})[_0x28bc81(0x697,0x2c5,0x4df,0x430)](),lspConfigSchema=z[_0x28bc81(0x29a,0x2fd,0x265,0x20b)]({'enabled':z[_0x5b2413(0xa80,0x856,0x8c3,0x708)]()[_0x28bc81(0x5e1,0x6ce,0x576,0x78b)](),'servers':z['record'](z[_0x5b2413(0x585,0x7cc,0x635,0x84c)](),lspServerEntrySchema)['optional']()})[_0x28bc81(0x6f6,0x2c2,0x4df,0x614)](),serverEndpointSchema=z[_0x28bc81(0x383,0xd3,0x265,0x449)]({'url':z[_0x5b2413(0x4af,0x650,0x635,0x48f)](),'token':z['string']()[_0x5b2413(0x87c,0xa98,0x915,0x8fb)]()})[_0x5b2413(0x6f4,0x91b,0x87e,0x771)](),commandHookConfigSchema=z['object']({'type':z[_0x28bc81(0x4d3,0x6e2,0x579,0x78f)](_0x5b2413(0x979,0x9f5,0x947,0x956)),'command':z[_0x28bc81(0x236,0x431,0x296,0x18c)](),'timeout':z[_0x28bc81(0x3ce,0x2cf,0x420,0x244)]()['optional']()}),hookMatcherGroupSchema=z[_0x28bc81(0xa1,0x120,0x265,0xcd)]({'matcher':z[_0x28bc81(0x2d2,0x10d,0x296,0x1d2)]()[_0x5b2413(0x858,0x89e,0x915,0x851)](),'hooks':z[_0x28bc81(0x189,0x2a2,0x2fa,0x517)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5b2413(0x3f6,0x526,0x604,0x59c)]({'PreToolUse':z['array'](hookMatcherGroupSchema)[_0x28bc81(0x476,0x41c,0x576,0x497)](),'PostToolUse':z[_0x5b2413(0x792,0x6b3,0x699,0x626)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x28bc81(0x1e5,0x107,0x2fa,0x4fa)](hookMatcherGroupSchema)[_0x28bc81(0x56a,0x3dc,0x576,0x4dd)](),'Stop':z[_0x5b2413(0x5a2,0x524,0x699,0x7db)](hookMatcherGroupSchema)[_0x5b2413(0x961,0xb34,0x915,0xa14)](),'Notification':z[_0x5b2413(0x5ef,0x78d,0x699,0x4b6)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)[_0x28bc81(0x45c,0x52d,0x576,0x70d)](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x5b2413(0xa40,0x9a1,0x915,0x833)](),'SessionEnd':z['array'](hookMatcherGroupSchema)['optional']()}),agentModelSetNameSchema=z[_0x28bc81(0x3a8,0x219,0x296,0xd6)]()[_0x5b2413(0x5c2,0x6a1,0x597,0x769)](isValidAgentModelSetName,_0x5b2413(0x85c,0x9ef,0x8e9,0x951)),agentModelSelectorSchema=z[_0x28bc81(0x284,0x239,0x296,0x173)]()['refine'](_0xe2f346=>parseProviderQualifiedModelSelector(_0xe2f346)!==void 0x0,'Expected\x20a\x20canonical\x20provider-qualified\x20model\x20selector'),agentModelSetSchema=z['object']({'fast':agentModelSelectorSchema[_0x28bc81(0x3a3,0x747,0x576,0x44d)](),'balanced':agentModelSelectorSchema[_0x28bc81(0x373,0x3ce,0x576,0x468)](),'powerful':agentModelSelectorSchema[_0x5b2413(0x997,0x84a,0x915,0xa9c)]()})[_0x28bc81(0x531,0x6d8,0x5c3,0x615)]()['refine'](_0x58269b=>Object[_0x5b2413(0x797,0x586,0x616,0x4c7)](_0x58269b)[_0x5b2413(0x717,0xa18,0x8e8,0x925)]>0x0,_0x5b2413(0x6be,0x8c6,0x8c9,0x6ff)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)['superRefine']((_0x14e130,_0x22011c)=>{const _0x382f9c={_0x5d3fe3:0x2a4,_0x1033d1:0x2cc,_0x43bd4f:0x229,_0x35bc73:0x2f9,_0xe3460c:0x4e1,_0x467ed8:0x383,_0x114966:0x58b,_0x131875:0x2ec,_0x774c18:0x35e,_0x27b845:0x25a},_0x11d5e9={_0x2732d8:0xfe},_0x5c70d0={_0x303b9f:0x96,_0x5822fa:0x372};function _0x11fd27(_0x10c67f,_0x32154f,_0x10157e,_0x40073d){return _0x5b2413(_0x10c67f-0x19d,_0x32154f-_0x5c70d0._0x303b9f,_0x10c67f- -_0x5c70d0._0x5822fa,_0x32154f);}function _0x2865f2(_0x1d66b6,_0x3bc74f,_0xec2540,_0x548b9c){return _0x5b2413(_0x1d66b6-0x42,_0x3bc74f-_0x11d5e9._0x2732d8,_0x1d66b6- -0x5fd,_0x3bc74f);}for(const _0x43b303 of Object[_0x11fd27(_0x382f9c._0x5d3fe3,0x2c9,_0x382f9c._0x1033d1,0x342)](_0x14e130)){!agentModelSetNameSchema[_0x11fd27(0x3ca,0x5e0,_0x382f9c._0x43bd4f,0x2b4)](_0x43b303)[_0x11fd27(0x4a7,0x584,_0x382f9c._0x35bc73,0x5d3)]&&_0x22011c[_0x11fd27(_0x382f9c._0xe3460c,0x566,0x35c,0x471)]({'code':_0x11fd27(0x446,_0x382f9c._0x467ed8,0x622,_0x382f9c._0x114966),'path':[_0x43b303],'message':_0x2865f2(_0x382f9c._0x131875,0x1e6,_0x382f9c._0x774c18,_0x382f9c._0x27b845)});}}),bashPolicyRuleSchema=z['object']({'id':z[_0x28bc81(0x3a6,0x128,0x296,0x4ae)]()[_0x5b2413(0x5fe,0x827,0x6b7,0x722)]()[_0x28bc81(0x4c1,0x14a,0x340,0x20f)](0x1)[_0x28bc81(0x444,0x41d,0x467,0x606)](0x80),'action':z[_0x5b2413(0x716,0x6e3,0x6b4,0x7af)](['allow',_0x5b2413(0x901,0x739,0x7b6,0x5f3)]),'cwd':z['enum']([_0x5b2413(0x938,0x844,0x8bd,0x6cb),'any-allowed'])[_0x5b2413(0x8e3,0x950,0x915,0x749)](),'commands':z[_0x5b2413(0x561,0x6ac,0x699,0x5a8)](z[_0x5b2413(0x80c,0x5ff,0x635,0x7cd)]()[_0x5b2413(0x7f3,0x81d,0x6df,0x610)](0x1))[_0x5b2413(0x5fa,0x8b1,0x6df,0x8f7)](0x1)})['strict'](),bashPolicyConfigSchema=z[_0x5b2413(0x4d1,0x4e6,0x604,0x5c1)]({'default':z[_0x28bc81(0x42a,0x4a2,0x579,0x52e)](_0x28bc81(0xaa,0x1fa,0x205,0x16d))[_0x5b2413(0x923,0x9d4,0x915,0xa7b)](),'rules':z[_0x28bc81(0x464,0x3e8,0x2fa,0x262)](bashPolicyRuleSchema)[_0x28bc81(0x678,0x67c,0x467,0x350)](0x3e8)})[_0x5b2413(0x90f,0x956,0x962,0xa46)](),fileEditSettingsSchema=z[_0x5b2413(0x570,0x59c,0x604,0x4c0)]({'mode':z['enum'](PRODUCTION_FILE_EDIT_MODES)[_0x5b2413(0xa37,0x954,0x915,0x90b)]()})[_0x28bc81(0x3bd,0x7b8,0x5c3,0x538)](),toolsSettingsSchema=z[_0x28bc81(0x4b,0x344,0x265,0xee)]({'fileEdit':fileEditSettingsSchema[_0x28bc81(0x6c4,0x4d6,0x576,0x3fa)]()})['passthrough'](),cliConfigSchema=z[_0x28bc81(0x13a,0x1c6,0x265,0xa4)]({'activeProvider':providerNameSchema[_0x28bc81(0x582,0x50b,0x576,0x47a)](),'activeModel':z[_0x5b2413(0x71d,0x4da,0x635,0x7f8)]()['optional'](),'agentModelSets':agentModelSetsSchema['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0x28bc81(0x58a,0x755,0x576,0x415)](),'apiKey':z[_0x28bc81(0x359,0x100,0x296,0x370)]()['optional'](),'providers':z[_0x28bc81(0x58,0x207,0x1f0,0x43)](providerNameSchema,providerConfigSchema)[_0x5b2413(0x7e8,0x83c,0x915,0x75c)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x28bc81(0x631,0x627,0x576,0x5ee)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x28bc81(-0x2a,0x71,0x1f0,0x9e)](z['string'](),z['boolean']())[_0x28bc81(0x50a,0x559,0x576,0x39c)](),'allowedDirs':z['array'](z[_0x5b2413(0x6a3,0x62c,0x635,0x523)]())[_0x28bc81(0x5de,0x769,0x576,0x6e6)](),'mcpEnabled':prototypeSafeRecord(z[_0x28bc81(0x5a9,0x737,0x524,0x445)]())[_0x28bc81(0x6a0,0x6ac,0x576,0x533)](),'commandsEnabled':z[_0x5b2413(0x488,0x67f,0x58f,0x683)](z[_0x5b2413(0x761,0x4dc,0x635,0x7c2)](),z[_0x5b2413(0x6cb,0x8ca,0x8c3,0xa68)]())[_0x28bc81(0x5b9,0x59a,0x576,0x41e)](),'memory':memorySettingsSchema[_0x28bc81(0x40e,0x769,0x576,0x6af)](),'session':z['object']({'memPersist':z[_0x28bc81(0x698,0x71c,0x524,0x3e3)]()[_0x5b2413(0x732,0x8a5,0x915,0xb12)](),'persistEventLog':z['boolean']()[_0x5b2413(0x816,0x81e,0x915,0xac3)](),'persistHttpLog':z['boolean']()[_0x5b2413(0xa97,0x9ac,0x915,0xaca)]()})['passthrough']()[_0x28bc81(0x56b,0x603,0x576,0x517)](),'requireToolApproval':z[_0x28bc81(0x307,0x6b1,0x524,0x6ad)]()[_0x5b2413(0x767,0x6fa,0x915,0xa74)](),'thinking':z['object']({'selections':z[_0x5b2413(0x666,0x6a2,0x58f,0x3ad)](z[_0x28bc81(0x230,0x134,0x296,0x4ad)](),z[_0x28bc81(0x9d,0xef,0x296,0x2cf)]())[_0x28bc81(0x503,0x592,0x576,0x6bf)]()})['optional'](),'streamingChunks':z[_0x28bc81(0x668,0x465,0x524,0x434)]()['optional'](),'agentsEnabled':z[_0x5b2413(0x704,0x3fd,0x58f,0x516)](z[_0x28bc81(0x20a,0x2b8,0x296,0x27c)](),z[_0x28bc81(0x4e2,0x515,0x524,0x5d2)]())[_0x5b2413(0x834,0xae3,0x915,0x975)](),'recentModels':z[_0x5b2413(0x60a,0x81c,0x699,0x623)](recentModelSchema)[_0x5b2413(0x6f7,0x7a6,0x915,0x89f)](),'lsp':lspConfigSchema[_0x5b2413(0x9c6,0xb30,0x915,0x798)](),'servers':z[_0x28bc81(0x2f,0x33a,0x1f0,0x318)](z['string'](),serverEndpointSchema)[_0x5b2413(0xacb,0x8e0,0x915,0x9f6)](),'ui':z['object']({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x5b2413(0x86c,0x92f,0x915,0x854)]()})[_0x5b2413(0x8cf,0xa17,0x87e,0x97a)]()[_0x28bc81(0x598,0x662,0x576,0x58c)](),'tools':toolsSettingsSchema[_0x5b2413(0xae7,0x71c,0x915,0x899)](),'hooks':hooksConfigSchema[_0x5b2413(0x7dd,0xaac,0x915,0x7ae)](),'bashPolicy':z[_0x5b2413(0x688,0x64c,0x711,0x86b)]()['optional']()})[_0x28bc81(0x4e0,0x2bd,0x4df,0x61b)](),workspaceOverlaySchema=z['object']({'root':z['string']()[_0x5b2413(0x854,0x9aa,0x915,0xa71)](),'allowedDirs':z[_0x28bc81(0x245,0x403,0x2fa,0x11a)](z[_0x28bc81(0x3a2,0xc1,0x296,0x277)]())[_0x5b2413(0x935,0xb29,0x915,0x9cf)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z['string']()[_0x28bc81(0x585,0x6df,0x576,0x49a)](),'activeAgentModelSet':agentModelSetNameSchema[_0x28bc81(0x5d0,0x5e0,0x576,0x60e)](),'mcp':mcpSettingsSchema[_0x28bc81(0x5c3,0x712,0x576,0x752)](),'skills':skillsSettingsSchema[_0x28bc81(0x37d,0x6f9,0x576,0x702)](),'agents':agentsSettingsSchema[_0x5b2413(0x8be,0x969,0x915,0x9c4)](),'commands':commandsSettingsSchema[_0x28bc81(0x78a,0x355,0x576,0x508)](),'hooks':hooksConfigSchema[_0x28bc81(0x5fc,0x573,0x576,0x35d)](),'memory':memorySettingsSchema[_0x28bc81(0x5e9,0x43a,0x576,0x78b)](),'mcpEnabled':prototypeSafeRecord(z[_0x28bc81(0x4b7,0x6e2,0x524,0x601)]())['optional'](),'skillsEnabled':z[_0x28bc81(0x2e,0x16d,0x1f0,0x3c8)](z[_0x28bc81(0x2e7,0x139,0x296,0x371)](),z[_0x28bc81(0x31e,0x406,0x524,0x423)]())['optional'](),'agentsEnabled':z[_0x5b2413(0x4b1,0x603,0x58f,0x47b)](z[_0x28bc81(0x427,0x1d0,0x296,0x223)](),z['boolean']())[_0x28bc81(0x61e,0x557,0x576,0x63c)](),'commandsEnabled':z[_0x28bc81(0x25d,0x138,0x1f0,0x6)](z[_0x28bc81(0x2a6,0x100,0x296,0x16b)](),z[_0x5b2413(0x830,0x841,0x8c3,0x724)]())[_0x5b2413(0xa45,0x777,0x915,0xa4d)](),'bashPolicy':z[_0x28bc81(0x2b5,0x549,0x372,0x164)]()[_0x28bc81(0x70b,0x3be,0x576,0x5ab)](),'tools':toolsSettingsSchema['optional']()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object[_0x5b2413(0x693,0x63e,0x76e,0x88b)](Object[_0x28bc81(0x613,0x444,0x490,0x423)]),'prototype']);function buildDescription2(_0x2d1991){const _0x335918={_0xc91e74:0x669,_0x17aace:0x78b,_0x23af0c:0x88d,_0x398717:0x5f5,_0x5c4407:0x4d0,_0x5b7850:0x696,_0x368b23:0x514,_0x23ead5:0x81e,_0x1f3ae1:0x678,_0x25e909:0x7f6,_0x362223:0x826,_0x312db9:0x79f,_0xed7e69:0x84d,_0x22511c:0x7d8,_0x56ad5f:0x73a,_0x96fcc0:0x875,_0x37973c:0x69f,_0x46c24d:0x4ec},_0x4f4588={_0x1b1ec8:0x1c7,_0x4e0f8c:0x242},_0x1aa12a={_0x5e2a0a:0x6d,_0x83cbfa:0xce,_0x190ecd:0x3f9};if(_0x2d1991[_0x421785(_0x335918._0xc91e74,_0x335918._0x17aace,0x8ca,_0x335918._0x23af0c)]===0x0)return[_0x421785(_0x335918._0x398717,_0x335918._0x5c4407,0x600,0x650),_0x583f5f(_0x335918._0x5b7850,0x421,_0x335918._0x368b23,0x505),_0x421785(_0x335918._0x23ead5,_0x335918._0x1f3ae1,_0x335918._0x25e909,0x55a)][_0x421785(_0x335918._0x362223,0x69f,_0x335918._0x312db9,_0x335918._0xed7e69)]('\x0a');function _0x583f5f(_0x5dfd54,_0x330eae,_0x1072d6,_0x2b1a62){return _0x5b2413(_0x5dfd54-_0x1aa12a._0x5e2a0a,_0x330eae-_0x1aa12a._0x83cbfa,_0x1072d6- -_0x1aa12a._0x190ecd,_0x330eae);}const _0x2d1fba=[_0x421785(0x670,0x4d0,0x658,0x48a),_0x421785(0x635,0x7b0,_0x335918._0x22511c,_0x335918._0x56ad5f),'Available\x20commands:',..._0x2d1991[_0x421785(_0x335918._0x96fcc0,0x813,0x62b,0x842)](_0xe8cb7e=>_0xe8cb7e[_0x583f5f(0xf5,0xa0,0x1c9,0x316)]?'-\x20'+_0xe8cb7e[_0x583f5f(0x2e7,0x26a,0x41c,0x40d)]+'\x20'+_0xe8cb7e[_0x583f5f(0x315,0x38b,0x1c9,0x138)]+':\x20'+_0xe8cb7e[_0x583f5f(0x2a4,0x33e,0x4a8,0x2d3)]:'-\x20'+_0xe8cb7e[_0x421785(0x80e,0x6b8,0x6d9,0x501)]+':\x20'+_0xe8cb7e['description'])];function _0x421785(_0x40b1d4,_0x1318e7,_0x153153,_0x160756){return _0x28bc81(_0x40b1d4-_0x4f4588._0x1b1ec8,_0x1318e7-0x16f,_0x1318e7-_0x4f4588._0x4e0f8c,_0x153153);}return _0x2d1fba[_0x421785(0x51a,_0x335918._0x37973c,0x4e5,_0x335918._0x46c24d)]('\x0a');}function createInvokeCommandTool(_0x25cd65){const _0x52b9b5={_0x34c2ca:0x1a7,_0x5abed9:0xe5,_0x5211d9:0x578,_0x2bb2d1:0x5b2,_0xa8d0c:0x557,_0x24418f:0x699,_0x358c0d:0x36c,_0x3b2556:0x2ea,_0x50d5e6:0x3cb,_0x1725fc:0x25d,_0x22ad63:0x399,_0x44a7a6:0x555,_0x1cb1fd:0x59e,_0x4665de:0xf1,_0x249217:0xf,_0x32531f:0x1b0,_0x152264:0x50b,_0x2a2cc8:0x6f5,_0x3acf5a:0x5cf},_0x50e159={_0x43d5d9:0x57d,_0x135083:0x58d,_0x1e806c:0x38d,_0x3f392d:0x210,_0x1857da:0x123,_0xc1ac48:0xbf,_0x244189:0x206,_0x37fab2:0x403,_0x4aabb5:0x383,_0xf789ed:0x207,_0x5b34b9:0x446,_0x49ac74:0x14,_0x1aba3d:0x55,_0x66ca05:0x61,_0x50fd5c:0x22,_0x546cd8:0x9b,_0x2dbf34:0x4a5,_0x30ff6b:0x138,_0x346483:0x464,_0x58d8cd:0x679,_0x223c66:0x80b,_0x18d030:0x44,_0x1e4784:0x33e,_0x3e77a1:0x2f8,_0xb78070:0x184},_0x3406e9={_0x526c1e:0x1e1},_0x14cefc={_0x56ca04:0x4c,_0x5463ef:0x410},_0x5ccf92={_0x1399e3:0x85,_0x1e3d3a:0x698};function _0x4e5d1a(_0x15da76,_0x34bfca,_0x5f81c0,_0x512505){return _0x5b2413(_0x15da76-0x5,_0x34bfca-0x84,_0x512505- -0x66,_0x34bfca);}function _0x4a14a2(_0x48b5b8,_0xb858d2,_0x507f60,_0x3e9412){return _0x5b2413(_0x48b5b8-0x147,_0xb858d2-_0x5ccf92._0x1399e3,_0x3e9412- -_0x5ccf92._0x1e3d3a,_0xb858d2);}const _0x1806cc=new Map(_0x25cd65[_0x4a14a2(-_0x52b9b5._0x34c2ca,0x20a,_0x52b9b5._0x5abed9,0x67)][_0x4a14a2(0x450,0x261,0x2fc,0x2d8)](_0x14b0cc=>[_0x14b0cc['id'],_0x14b0cc])),_0x4eda96=buildDescription2(_0x25cd65[_0x4e5d1a(_0x52b9b5._0x5211d9,_0x52b9b5._0x2bb2d1,_0x52b9b5._0xa8d0c,_0x52b9b5._0x24418f)]);return defineTool({'name':_0x4a14a2(_0x52b9b5._0x358c0d,_0x52b9b5._0x3b2556,0x421,0x2c6),'permissionClass':_0x4a14a2(0x62,_0x52b9b5._0x50d5e6,0x372,_0x52b9b5._0x1725fc),'description':_0x4eda96,'inputSchema':{'type':_0x4e5d1a(_0x52b9b5._0x2bb2d1,_0x52b9b5._0x22ad63,_0x52b9b5._0x44a7a6,_0x52b9b5._0x1cb1fd),'properties':{'name':{'type':_0x4a14a2(_0x52b9b5._0x4665de,_0x52b9b5._0x249217,-_0x52b9b5._0x32531f,-0x63)},'args':{'type':_0x4e5d1a(_0x52b9b5._0x152264,_0x52b9b5._0x2a2cc8,0x704,_0x52b9b5._0x3acf5a)}},'required':['name']},async *'execute'(_0x11fc06){const _0x11793a=_0x1806cc['get'](_0x11fc06[_0xcebf36(_0x50e159._0x43d5d9,_0x50e159._0x135083,0x468,_0x50e159._0x1e806c)]);function _0xcebf36(_0xea5f70,_0x6221b7,_0xe7728c,_0x3c8379){return _0x4a14a2(_0xea5f70-_0x14cefc._0x56ca04,_0xea5f70,_0xe7728c-0x14a,_0x6221b7-_0x14cefc._0x5463ef);}if(!_0x11793a){const _0x486e7a=Array[_0x511744(-_0x50e159._0x3f392d,0x28,-_0x50e159._0x1857da,-_0x50e159._0xc1ac48)](_0x1806cc['keys']())['join'](',\x20');throw new ToolExecutionError(_0xcebf36(_0x50e159._0x244189,_0x50e159._0x37fab2,_0x50e159._0x4aabb5,_0x50e159._0xf789ed)+_0x11fc06[_0xcebf36(0x67b,_0x50e159._0x135083,0x3ca,_0x50e159._0x5b34b9)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x486e7a,{'name':_0x11fc06[_0x511744(-_0x50e159._0x49ac74,_0x50e159._0x1aba3d,_0x50e159._0x66ca05,0x1af)]});}const _0x5381ea=await _0x25cd65[_0x511744(_0x50e159._0x50fd5c,0xd6,_0x50e159._0x546cd8,-0x3e)](_0x11793a),_0x2e6bf8=_0x11fc06[_0xcebf36(0x377,_0x50e159._0x2dbf34,0x487,0x685)]??'',_0x4986f0=renderCommandInstructions({'instructions':_0x5381ea[_0xcebf36(0x156,0x336,_0x50e159._0x30ff6b,0x273)],'argumentsText':_0x2e6bf8,'argumentNames':_0x5381ea[_0xcebf36(_0x50e159._0x346483,_0x50e159._0x58d8cd,_0x50e159._0x223c66,0x47d)]});yield createToolOutput(_0x4986f0,{'id':_0x5381ea['id'],'name':_0x5381ea[_0x511744(0x251,-_0x50e159._0x18d030,_0x50e159._0x1e4784,0x1af)],'path':_0x11793a[_0x511744(0x57,_0x50e159._0x3e77a1,0x359,_0x50e159._0xb78070)]['path']});function _0x511744(_0xdb963e,_0x5e1eae,_0x2469ba,_0x260b49){return _0x4e5d1a(_0xdb963e-_0x3406e9._0x526c1e,_0x5e1eae,_0x2469ba-0x96,_0x260b49- -0x600);}return void 0x0;}});}function createKillShellTool(_0x3b4560){const _0x120695={_0x34900d:0x35,_0x5906d7:0x73,_0x3d0ba7:0x2c9,_0x43e6d8:0x7,_0x238e26:0x21,_0x25a33a:0x163,_0x5193c8:0x1d9,_0x19a349:0x2a1,_0x395588:0x1d4,_0x2a447d:0x39},_0x311d94={_0x2a0c95:0x6aa,_0x458141:0x664,_0x586954:0x865,_0x1b2cb9:0x7ec,_0x31ee97:0x811,_0x30c80b:0x82e,_0x2b127a:0x8a2,_0x458efa:0x6ba,_0x40159e:0x935,_0x5a9144:0x74e,_0x516c68:0x451,_0x556d24:0x5f5,_0x4dd976:0x85c,_0x141a61:0x8ad,_0x524fe5:0x6d5,_0x4b09e2:0x731,_0x1f1dd4:0x6ca,_0x4ff804:0x679,_0x3d8659:0x6e9,_0x332627:0x8d3,_0x5456f1:0xa31,_0x41051c:0xad6,_0x13e78e:0x6d0,_0x3e57ab:0x74f,_0xb8c29e:0x90a,_0x10b5f7:0x875,_0x214777:0x7e1,_0x111e44:0x6d6,_0x3dd8d3:0x9a1,_0xa0db50:0x749,_0x572a2d:0xa1e,_0x3cca90:0x6df,_0x21c40f:0x971,_0x466ef5:0x823,_0x5e5e9a:0x8fb,_0x52dee8:0x6a3,_0x505896:0x49e,_0x4125ed:0x6a0,_0x46e3cc:0x75f,_0x5e69b2:0x8b7,_0x24652a:0x6ce},_0x13b84b={_0x474bd4:0x19e};function _0x3bb3db(_0x440488,_0x5cf64d,_0xbafd76,_0x19e03d){return _0x28bc81(_0x440488-0x40,_0x5cf64d-0x179,_0xbafd76-0x4b,_0x5cf64d);}function _0x2f2320(_0x37080b,_0xa47640,_0x5c1a21,_0x39dcf7){return _0x5b2413(_0x37080b-0x193,_0xa47640-_0x13b84b._0x474bd4,_0x5c1a21- -0x5e5,_0x39dcf7);}const {registry:_0x571c3f}=_0x3b4560;return defineTool({'name':_0x2f2320(_0x120695._0x34900d,-_0x120695._0x5906d7,0x127,_0x120695._0x3d0ba7),'permissionClass':'always-confirm','description':_0x2f2320(0x1dd,_0x120695._0x43e6d8,_0x120695._0x238e26,-0xb7),'inputSchema':{'type':_0x2f2320(0xd,-_0x120695._0x25a33a,0x1f,0x8b),'properties':{'shellId':{'type':_0x2f2320(0x239,_0x120695._0x5193c8,0x50,-0x4f)}},'required':[_0x2f2320(_0x120695._0x19a349,0x391,_0x120695._0x395588,-_0x120695._0x2a447d)]},async *'execute'(_0x5a4ca7){const _0x5c5066={_0x43f69e:0x3be},_0x4e42b6={_0x1db943:0x4b,_0x542f31:0x3ac,_0x2b28e1:0x1c2},_0x5056b1=await _0x571c3f[_0x1f784c(_0x311d94._0x2a0c95,_0x311d94._0x458141,_0x311d94._0x586954,_0x311d94._0x1b2cb9)](_0x5a4ca7[_0x1f784c(0x632,0x68b,_0x311d94._0x31ee97,0x9a8)]);function _0x1f784c(_0xefd8e,_0x42600d,_0x1f5e5a,_0x1382c8){return _0x3bb3db(_0xefd8e-_0x4e42b6._0x1db943,_0xefd8e,_0x1f5e5a-_0x4e42b6._0x542f31,_0x1382c8-_0x4e42b6._0x2b28e1);}function _0x2edb57(_0x5ef80e,_0x1f7801,_0x680438,_0x51fe8c){return _0x3bb3db(_0x5ef80e-0x17b,_0x680438,_0x5ef80e-_0x5c5066._0x43f69e,_0x51fe8c-0xf6);}const _0x139baa={'shellId':_0x5056b1[_0x1f784c(_0x311d94._0x30c80b,0x80c,_0x311d94._0x31ee97,_0x311d94._0x2b127a)],'outcome':_0x5056b1[_0x2edb57(0x7bd,_0x311d94._0x458efa,_0x311d94._0x40159e,0x846)],'status':_0x5056b1[_0x1f784c(_0x311d94._0x5a9144,_0x311d94._0x516c68,_0x311d94._0x556d24,0x4d4)],'exitCode':_0x5056b1[_0x1f784c(_0x311d94._0x4dd976,0xab3,_0x311d94._0x141a61,0x89c)],'signal':_0x5056b1['signal'],'error':_0x5056b1[_0x1f784c(0x7a6,0x715,0x7cf,_0x311d94._0x524fe5)],'gracefulRequested':_0x5056b1[_0x1f784c(_0x311d94._0x4b09e2,_0x311d94._0x1f1dd4,_0x311d94._0x4ff804,_0x311d94._0x3d8659)],'forceRequested':_0x5056b1[_0x2edb57(_0x311d94._0x332627,_0x311d94._0x5456f1,0xa6b,_0x311d94._0x41051c)]};if(_0x5056b1['outcome']===_0x1f784c(0x888,0x8c8,0x85a,0x989))throw new ToolExecutionError(_0x2edb57(0x890,_0x311d94._0x13e78e,_0x311d94._0x3e57ab,0x877)+_0x5a4ca7[_0x1f784c(_0x311d94._0xb8c29e,_0x311d94._0x10b5f7,0x811,0x922)]+':\x20'+(_0x5056b1[_0x2edb57(_0x311d94._0x214777,0x5e1,_0x311d94._0x111e44,_0x311d94._0x3dd8d3)]??_0x2edb57(0x87e,_0x311d94._0xa0db50,_0x311d94._0x572a2d,_0x311d94._0x3cca90)),_0x139baa);const _0x644e33=_0x5056b1['outcome']===_0x1f784c(0x928,0x702,0x77d,0x85e)?_0x1f784c(0xaad,0xb7e,_0x311d94._0x21c40f,0xa6e)+_0x5a4ca7[_0x2edb57(_0x311d94._0x466ef5,_0x311d94._0x5e5e9a,0x900,0x61d)]+_0x1f784c(0x65f,_0x311d94._0x52dee8,0x7fc,0x72b)+_0x5056b1[_0x2edb57(0x607,_0x311d94._0x505896,_0x311d94._0x4125ed,0x445)]+'.':_0x2edb57(0x90d,0x725,0x971,_0x311d94._0x46e3cc)+_0x5a4ca7[_0x1f784c(0x943,_0x311d94._0x5e69b2,_0x311d94._0x31ee97,_0x311d94._0x24652a)]+'.';return createToolOutput(_0x644e33,_0x139baa);}});}import _0x568fbe from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x171965=>{const {lookup:_0x19ca09}=await import('dns/promises');return _0x19ca09(_0x171965,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x516393){const _0x411fdb={_0x40ad09:0x723,_0x4d3919:0x60a,_0xda3fc9:0x712,_0x24e343:0x5dc},_0x4a1b55={_0x428812:0x1cc,_0x751daa:0x1c5},_0x373f93={_0x36fdba:0xa5,_0x46af9e:0x168,_0x46aa11:0x78},_0x2bbe85=_0x516393['split']('.');function _0x10ea2d(_0xc99692,_0x23bc9c,_0x21b128,_0x211569){return _0x28bc81(_0xc99692-_0x373f93._0x36fdba,_0x23bc9c-_0x373f93._0x46af9e,_0x211569-_0x373f93._0x46aa11,_0x21b128);}if(_0x2bbe85[_0x4c1a1a(0x556,_0x411fdb._0x40ad09,_0x411fdb._0x4d3919,_0x411fdb._0xda3fc9)]!==0x4)return null;let _0x2c2cc7=0x0;function _0x4c1a1a(_0x1cb064,_0x35f78a,_0x425de4,_0xa4f264){return _0x5b2413(_0x1cb064-0x1eb,_0x35f78a-_0x4a1b55._0x428812,_0x35f78a- -_0x4a1b55._0x751daa,_0x1cb064);}for(const _0x3009ee of _0x2bbe85){if(!/^\d{1,3}$/[_0x4c1a1a(0x3dd,0x54f,_0x411fdb._0x24e343,0x473)](_0x3009ee))return null;const _0x22fa03=Number(_0x3009ee);if(_0x22fa03>0xff)return null;_0x2c2cc7=_0x2c2cc7*0x100+_0x22fa03;}return _0x2c2cc7>>>0x0;}function isBlockedIpv4(_0x3dae4f){const _0x137c69={_0x94b094:0x3cd,_0x1aef31:0x2a2,_0x463ca0:0x46a,_0x1bf64b:0x28f,_0x42020c:0x3b4,_0x19c99c:0x34c,_0x52b0bb:0x2de,_0x38f3d8:0x3e7,_0x51bc7f:0x3e0,_0x40eccf:0x4b7,_0x3e91f7:0x2e9,_0x1c592b:0x2cc,_0x4dae34:0x54b,_0x449241:0x25e,_0x33775e:0x41f,_0x8bb135:0x1db},_0x17f9bf={_0x41ab06:0xa6,_0x2c24ab:0x9},_0x87d8e0={_0x38f069:0x1f4,_0x2c66e9:0x1d6},_0x212a42=ipv4ToInt(_0x3dae4f);if(_0x212a42===null)return!![];const _0x3ee3d7=(_0x4295f7,_0x3bd6bd)=>{const _0x3158d0=ipv4ToInt(_0x4295f7);if(_0x3158d0===null)return![];const _0x257e68=_0x3bd6bd===0x0?0x0:0xffffffff<<0x20-_0x3bd6bd>>>0x0;return(_0x212a42&_0x257e68)===(_0x3158d0&_0x257e68);};function _0x33f1f3(_0x5d05e2,_0x5eb696,_0x52a066,_0x31363f){return _0x28bc81(_0x5d05e2-_0x87d8e0._0x38f069,_0x5eb696-0xc2,_0x5d05e2- -_0x87d8e0._0x2c66e9,_0x5eb696);}function _0x2fe913(_0x1bb971,_0x2818c1,_0xb1427c,_0x3c3ccd){return _0x28bc81(_0x1bb971-_0x17f9bf._0x41ab06,_0x2818c1-_0x17f9bf._0x2c24ab,_0x1bb971- -0x6e,_0x3c3ccd);}return _0x3ee3d7('0.0.0.0',0x8)||_0x3ee3d7(_0x2fe913(_0x137c69._0x94b094,_0x137c69._0x1aef31,_0x137c69._0x463ca0,0x32e),0x8)||_0x3ee3d7(_0x33f1f3(0x352,0x1b5,0x139,0x3fb),0xa)||_0x3ee3d7(_0x33f1f3(0x44,0xd9,0x1a0,-0x72),0x8)||_0x3ee3d7(_0x2fe913(_0x137c69._0x1bf64b,_0x137c69._0x42020c,0x1a7,0x1f9),0x10)||_0x3ee3d7(_0x33f1f3(0x2b4,_0x137c69._0x19c99c,_0x137c69._0x52b0bb,_0x137c69._0x38f3d8),0xc)||_0x3ee3d7(_0x2fe913(_0x137c69._0x51bc7f,0x345,_0x137c69._0x40eccf,0x202),0x18)||_0x3ee3d7(_0x33f1f3(0x436,_0x137c69._0x3e91f7,_0x137c69._0x1c592b,_0x137c69._0x4dae34),0x10)||_0x3ee3d7('198.18.0.0',0xf)||_0x3ee3d7(_0x2fe913(_0x137c69._0x449241,_0x137c69._0x33775e,0x157,0x381),0x4)||_0x3ee3d7(_0x2fe913(0x2fe,0x51a,_0x137c69._0x8bb135,0x3e1),0x4);}function expandIpv6(_0x2b0fc1){const _0x1e1986={_0x1bc042:0x5b5,_0x5d982e:0x51f,_0x299153:0x33d,_0x29c4f9:0x4d7,_0x2113de:0x732,_0x3c1ae4:0x559,_0x58ae76:0x713,_0x1f03fa:0x4fd,_0x575331:0x6fe,_0x1c0440:0x860,_0x45b5ff:0x5cd,_0x52d14e:0x4bf,_0x46cedf:0x431,_0x2b880d:0x3bb,_0xb048ee:0x454,_0x12d85e:0x643,_0xd4545b:0x450,_0x500ba3:0x72b,_0x3430ab:0x90b,_0xf32beb:0x4e1,_0x1319b2:0x330,_0x51caed:0x462},_0x175342={_0x4f14db:0x1ea},_0xb28f2b={_0x1af53c:0x43,_0x16eb8e:0x7d};let _0x4cc0d0=_0x2b0fc1,_0x13edea;const _0x59f22b=_0x4cc0d0[_0xe20648(_0x1e1986._0x1bc042,0x5b4,_0x1e1986._0x5d982e,_0x1e1986._0x299153)](':');function _0x13d72c(_0x3313ae,_0x4119fa,_0x4caeb0,_0x24bd61){return _0x28bc81(_0x3313ae-_0xb28f2b._0x1af53c,_0x4119fa-_0xb28f2b._0x16eb8e,_0x3313ae-0x38b,_0x4caeb0);}_0x4cc0d0[_0xe20648(_0x1e1986._0x29c4f9,_0x1e1986._0x2113de,_0x1e1986._0x3c1ae4,0x3a2)](_0x59f22b+0x1)[_0x13d72c(0x74c,_0x1e1986._0x58ae76,0x907,0x6ed)]('.')&&(_0x13edea=_0x4cc0d0[_0xe20648(_0x1e1986._0x1f03fa,0x4b2,0x559,_0x1e1986._0x575331)](_0x59f22b+0x1),_0x4cc0d0=_0x4cc0d0[_0x13d72c(_0x1e1986._0x1c0440,0x674,0x86f,0x853)](0x0,_0x59f22b+0x1));const _0x46af24=_0x4cc0d0[_0xe20648(0x6d5,0x315,0x4c9,0x46b)]('::');if(_0x46af24['length']>0x2)return null;const _0x59fa7c=_0x5e093f=>_0x5e093f['split'](':')[_0xe20648(0x647,0x53b,0x509,0x2e8)](_0x55966a=>_0x55966a[_0xe20648(0x61a,0x520,0x5cd,0x76a)]>0x0)[_0x13d72c(0x95c,0xabe,0x8b4,0xa9d)](_0x55326d=>Number['parseInt'](_0x55326d,0x10)),_0x42fe3a=_0x46af24[0x0]?_0x59fa7c(_0x46af24[0x0]):[],_0x46a040=_0x46af24[_0xe20648(0x5d6,0x4a9,_0x1e1986._0x45b5ff,0x50b)]===0x2&&_0x46af24[0x1]?_0x59fa7c(_0x46af24[0x1]):[],_0x142f80=[];if(_0x13edea){const _0x2b1360=ipv4ToInt(_0x13edea);if(_0x2b1360===null)return null;_0x142f80[_0xe20648(_0x1e1986._0x52d14e,_0x1e1986._0x46cedf,0x43a,_0x1e1986._0x2b880d)](_0x2b1360>>>0x10&0xffff,_0x2b1360&0xffff);}const _0x16f633=[..._0x46a040,..._0x142f80],_0x31cdd0=0x8-_0x42fe3a[_0xe20648(0x77e,_0x1e1986._0xb048ee,0x5cd,0x63c)]-_0x16f633[_0xe20648(0x4b0,_0x1e1986._0x12d85e,_0x1e1986._0x45b5ff,_0x1e1986._0xd4545b)];if(_0x46af24[_0x13d72c(0x8d4,_0x1e1986._0x500ba3,_0x1e1986._0x3430ab,0x72e)]===0x1)return _0x42fe3a['length']+_0x16f633[_0xe20648(_0x1e1986._0xf32beb,0x58c,0x5cd,0x52d)]===0x8?[..._0x42fe3a,..._0x16f633]:null;if(_0x31cdd0<0x0)return null;function _0xe20648(_0x461ae2,_0x4da973,_0x393fa1,_0x35f5fa){return _0x5b2413(_0x461ae2-_0x175342._0x4f14db,_0x4da973-0x9,_0x393fa1- -0x31b,_0x461ae2);}return[..._0x42fe3a,...new Array(_0x31cdd0)[_0xe20648(0x319,_0x1e1986._0x1319b2,0x459,_0x1e1986._0x51caed)](0x0),..._0x16f633];}function isBlockedIpv6(_0x36ae13){const _0x4a4a45={_0x19b202:0x2b5,_0x24f42c:0x417,_0x464f36:0x546,_0x2c29d3:0x33e,_0x33944f:0x781,_0x5e983e:0x680,_0x13530f:0x821,_0x2bf48d:0x832},_0x951c18={_0x4ab66d:0xef},_0x3e2dfc={_0x48bf56:0x18d};function _0x52de3b(_0x5293e4,_0x10d821,_0x3031a8,_0x216360){return _0x28bc81(_0x5293e4-0x130,_0x10d821-_0x3e2dfc._0x48bf56,_0x3031a8- -0x197,_0x10d821);}const _0x509d94=expandIpv6(_0x36ae13);if(!_0x509d94||_0x509d94[_0x38aacf(0x97b,0x743,0x8e8,0x88c)](_0x5ce550=>Number[_0x38aacf(0x6d8,0x778,0x72a,0x734)](_0x5ce550)))return!![];const _0x23d514=_0x509d94['slice'](0x0,0x7)[_0x52de3b(0xf3,_0x4a4a45._0x19b202,0x2b5,0x3e4)](_0x14bd2d=>_0x14bd2d===0x0);if(_0x23d514&&(_0x509d94[0x7]===0x0||_0x509d94[0x7]===0x1))return!![];if(_0x509d94[_0x52de3b(_0x4a4a45._0x24f42c,_0x4a4a45._0x464f36,_0x4a4a45._0x2c29d3,0x2a4)](0x0,0x5)[_0x38aacf(_0x4a4a45._0x33944f,_0x4a4a45._0x5e983e,_0x4a4a45._0x13530f,0xa2d)](_0x1e8b03=>_0x1e8b03===0x0)&&(_0x509d94[0x5]===0xffff||_0x509d94[0x5]===0x0)){const _0x2de7cb=(_0x509d94[0x6]<<0x10|_0x509d94[0x7])>>>0x0,_0x1a015a=[_0x2de7cb>>>0x18&0xff,_0x2de7cb>>>0x10&0xff,_0x2de7cb>>>0x8&0xff,_0x2de7cb&0xff][_0x38aacf(0x6fc,0xa55,_0x4a4a45._0x2bf48d,0x8a6)]('.');return isBlockedIpv4(_0x1a015a);}const _0x73454=_0x509d94[0x0];if((_0x73454&0xff00)===0xfc00||(_0x73454&0xfe00)===0xfc00)return!![];function _0x38aacf(_0x2ae589,_0x4214c5,_0x216215,_0x1efea1){return _0x5b2413(_0x2ae589-_0x951c18._0x4ab66d,_0x4214c5-0x1c1,_0x216215-0x36,_0x4214c5);}if((_0x73454&0xffc0)===0xfe80)return!![];if((_0x73454&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x5aa90c){const _0x1c7367=isIP(_0x5aa90c);if(_0x1c7367===0x4)return isBlockedIpv4(_0x5aa90c);if(_0x1c7367===0x6)return isBlockedIpv6(_0x5aa90c);return!![];}async function assertPublicUrl(_0x267ff3,_0x1522a1={}){const _0x3c65b6={_0x1596d3:0x1d,_0x24a310:0x1d6,_0x240746:0x76b,_0x5c388b:0x71f,_0x230b51:0xf1,_0x1e4321:0x3e9,_0x53e104:0x88d,_0x26173b:0x32b,_0x267bd0:0x5e6,_0x23a72b:0x551,_0x1f0e4f:0x5ae,_0x552012:0xd3,_0x554092:0xc4,_0x3cfde5:0x395,_0x40a440:0x5c3,_0x5da613:0x644,_0x46e259:0x9b,_0xefb23d:0x5c,_0x40acf1:0x4b5,_0x40ff09:0x29a,_0x2b3d93:0x3d2,_0x4de64f:0x4e0,_0x21b673:0x3b8,_0x26a803:0x382,_0x39cf07:0x2d7,_0x9a832f:0x245,_0xe0c10d:0x556,_0x37f0ab:0x41e,_0x12ff67:0x3e0,_0x53e6fd:0x7a9,_0x190b00:0x79a,_0xa4cdad:0x69a},_0x18d592={_0x53efe7:0x7c,_0xd04b7f:0x1d8,_0x38322f:0x284},_0x557bbf={_0x244eb8:0x112,_0x2e9224:0x508};let _0x4b96a8;try{_0x4b96a8=new URL(_0x267ff3);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x267ff3});}if(_0x4b96a8[_0x1733db(-_0x3c65b6._0x1596d3,0x253,0x2b1,_0x3c65b6._0x24a310)]!==_0x3ea7c9(_0x3c65b6._0x240746,_0x3c65b6._0x5c388b,0x628,0x70d)&&_0x4b96a8[_0x1733db(_0x3c65b6._0x230b51,0x41,_0x3c65b6._0x1e4321,0x1d6)]!==_0x3ea7c9(0x451,0x40e,0x4bd,0x5fb))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x267ff3});if(_0x4b96a8[_0x3ea7c9(0x7b1,_0x3c65b6._0x53e104,0x99a,0x818)]||_0x4b96a8[_0x1733db(_0x3c65b6._0x26173b,_0x3c65b6._0x267bd0,0x5ae,0x406)])throw new ToolExecutionError(_0x3ea7c9(0x6a7,0x4cd,0x71b,_0x3c65b6._0x23a72b),{'url':_0x4b96a8[_0x3ea7c9(0x5c3,0x6ed,0x66f,_0x3c65b6._0x1f0e4f)]+'//'+_0x4b96a8[_0x1733db(0x297,0x9e,-_0x3c65b6._0x552012,_0x3c65b6._0x554092)]+_0x4b96a8['pathname']});const _0x15cd28=_0x4b96a8[_0x3ea7c9(0x545,0x3ea,0x392,_0x3c65b6._0x3cfde5)]['replace'](/^\[|\]$/g,''),_0x52adcd=_0x4b96a8[_0x3ea7c9(_0x3c65b6._0x40a440,0x7d5,_0x3c65b6._0x5da613,0x43e)]+'//'+_0x4b96a8[_0x1733db(0x50,-_0x3c65b6._0x46e259,-_0x3c65b6._0xefb23d,0xc4)]+_0x4b96a8[_0x3ea7c9(_0x3c65b6._0x40acf1,0x4e1,0x297,_0x3c65b6._0x40ff09)];if(isIP(_0x15cd28)){if(isBlockedAddress(_0x15cd28))throw new ToolExecutionError(_0x1733db(_0x3c65b6._0x2b3d93,0x39d,_0x3c65b6._0x4de64f,_0x3c65b6._0x21b673),{'url':_0x52adcd});return _0x4b96a8;}function _0x1733db(_0x9568ca,_0x318263,_0x235d4d,_0x5c2927){return _0x5b2413(_0x9568ca-0xdc,_0x318263-_0x557bbf._0x244eb8,_0x5c2927- -_0x557bbf._0x2e9224,_0x9568ca);}const _0x271773=_0x1522a1[_0x1733db(0x317,0x271,0x4fe,0x459)]??defaultLookup;let _0x5d5ca9;try{_0x5d5ca9=await _0x271773(_0x15cd28);}catch{throw new ToolExecutionError(_0x1733db(0x54a,_0x3c65b6._0x26a803,_0x3c65b6._0x39cf07,0x3bc),{'url':_0x52adcd});}function _0x3ea7c9(_0x1a7393,_0x2210d6,_0x74fb53,_0x2b3284){return _0x28bc81(_0x1a7393-_0x18d592._0x53efe7,_0x2210d6-_0x18d592._0xd04b7f,_0x1a7393-_0x18d592._0x38322f,_0x2210d6);}if(_0x5d5ca9[_0x1733db(_0x3c65b6._0x9a832f,_0x3c65b6._0xe0c10d,_0x3c65b6._0x37f0ab,_0x3c65b6._0x12ff67)]===0x0)throw new ToolExecutionError(_0x3ea7c9(_0x3c65b6._0x53e6fd,_0x3c65b6._0x190b00,0x912,_0x3c65b6._0xa4cdad),{'url':_0x52adcd});for(const {address:_0x1cc6f7}of _0x5d5ca9){if(isBlockedAddress(_0x1cc6f7))throw new ToolExecutionError(_0x1733db(0x336,0xe8,-0x6e,0x156),{'url':_0x52adcd});}return _0x4b96a8;}async function safeFetch(_0x8e3b65,_0x1130aa={},_0x3ab9a6={}){const _0x1d11c3={_0x59b7f9:0x441,_0x367c27:0x43a,_0x544941:0x131,_0x43e27f:0x17,_0x256b25:0x3a,_0x9631f0:0x10f,_0xa17662:0x1e4,_0x40a726:0x35,_0x496152:0xc9,_0x4ad7ed:0x123,_0x17ca1b:0x14e,_0x5ac668:0x14f,_0x3614a7:0x237,_0x292b41:0x3b,_0x1ede28:0x1fe,_0x31a8e8:0x531,_0x2bef5f:0x56b,_0x66f25f:0x44a},_0x30a81d={_0x591c95:0xe,_0x1e1db7:0x1bc},_0x1c447={_0x21390c:0x0},_0x82dc54=_0x3ab9a6[_0x57106e(_0x1d11c3._0x59b7f9,_0x1d11c3._0x367c27,0x2ec,0x37f)]??fetch;function _0x57106e(_0x6a5725,_0x2cdb2f,_0x5e5327,_0x44dc3a){return _0x28bc81(_0x6a5725-0x5e,_0x2cdb2f-_0x1c447._0x21390c,_0x2cdb2f-0x1cb,_0x44dc3a);}const _0xd6b0d8=_0x3ab9a6[_0xece971(-_0x1d11c3._0x544941,_0x1d11c3._0x43e27f,-_0x1d11c3._0x256b25,-0x1fc)]??DEFAULT_MAX_REDIRECTS;function _0xece971(_0x36c1ec,_0x90aa8,_0x3a1a6e,_0x294d78){return _0x28bc81(_0x36c1ec-_0x30a81d._0x591c95,_0x90aa8-0x1b9,_0x90aa8- -_0x30a81d._0x1e1db7,_0x36c1ec);}let _0x43e4e4=_0x8e3b65;for(let _0x300903=0x0;;_0x300903+=0x1){const _0xe85b68=await assertPublicUrl(_0x43e4e4,_0x3ab9a6),_0x373c31=await _0x82dc54(_0xe85b68[_0xece971(_0x1d11c3._0x9631f0,_0x1d11c3._0xa17662,-0x16,_0x1d11c3._0x40a726)](),{..._0x1130aa,'redirect':_0xece971(-0x56,_0x1d11c3._0x496152,0x2c,-_0x1d11c3._0x4ad7ed)}),_0x1396d2=_0x373c31['headers']['get'](_0xece971(0x193,0x32e,_0x1d11c3._0x17ca1b,0x423));if(!REDIRECT_STATUSES[_0xece971(0x173,_0x1d11c3._0x5ac668,_0x1d11c3._0x3614a7,_0x1d11c3._0x292b41)](_0x373c31[_0x57106e(0x4e5,0x3c9,0x38e,0x37c)])||!_0x1396d2)return _0x373c31;if(_0x300903>=_0xd6b0d8)throw new ToolExecutionError(_0xece971(0xf5,_0x1d11c3._0x1ede28,0x2f1,0x229),{'url':_0xe85b68[_0x57106e(_0x1d11c3._0x31a8e8,_0x1d11c3._0x2bef5f,0x6a1,0x60c)]()});_0x43e4e4=new URL(_0x1396d2,_0xe85b68)[_0x57106e(0x70a,0x56b,0x714,_0x1d11c3._0x66f25f)]();}}var USER_AGENT=_0x5b2413(0x7e4,0x85a,0x695,0x875),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2fd469,_0x49cfd5){const _0x20e379={_0x5ef7cb:0x701,_0x512ecf:0x698,_0x149666:0x54a,_0x12c80f:0x6db,_0x45ab70:0x5db,_0x1611e2:0x5be,_0x5f327c:0x77e,_0x486daf:0x7b3,_0x3cda43:0x68c,_0x16be06:0x5b1},_0x366670={_0x20d3d6:0x14e},_0x3c2f5a={_0xfd88cd:0xc6,_0x1958fa:0x255},_0x1d6229=new AbortController();function _0x19a688(_0x20780f,_0x9bd962,_0x2e420e,_0x221d91){return _0x5b2413(_0x20780f-_0x3c2f5a._0xfd88cd,_0x9bd962-0xbb,_0x221d91- -_0x3c2f5a._0x1958fa,_0x20780f);}const _0x5cd4a1=setTimeout(()=>_0x1d6229[_0x19a688(0x7f1,0x7b6,0x5e7,0x628)](new Error('Fetch\x20timed\x20out')),_0x49cfd5),_0x386981=()=>_0x1d6229[_0x4acab0(0x701,0x764,0x78d,0x76a)](_0x2fd469[_0x4acab0(0x6db,0x72b,0x549,0x50a)]);_0x2fd469['aborted']?_0x1d6229[_0x4acab0(_0x20e379._0x5ef7cb,0x505,_0x20e379._0x512ecf,_0x20e379._0x149666)](_0x2fd469[_0x4acab0(_0x20e379._0x12c80f,0x8d8,0x89c,0x5a7)]):_0x2fd469[_0x4acab0(_0x20e379._0x45ab70,0x428,0x6a4,_0x20e379._0x1611e2)](_0x4acab0(0x701,0x630,_0x20e379._0x5f327c,_0x20e379._0x486daf),_0x386981,{'once':!![]});function _0x4acab0(_0x4a100d,_0x18ce02,_0x546ce4,_0x7d7425){return _0x5b2413(_0x4a100d-0xdd,_0x18ce02-_0x366670._0x20d3d6,_0x4a100d- -0x17c,_0x546ce4);}return{'signal':_0x1d6229[_0x19a688(_0x20e379._0x3cda43,0x59f,_0x20e379._0x16be06,0x517)],'cleanup':()=>{clearTimeout(_0x5cd4a1),_0x2fd469['removeEventListener']('abort',_0x386981);}};}function createWebFetchTool(_0x67f65e={}){const _0x257732={_0x2e0ac0:0x8c4,_0x34da50:0x67b,_0x5e370c:0x46a,_0x34882c:0x79b,_0xf0972:0x98a,_0x2db7f1:0x89b,_0x3eab49:0x852,_0x18ec44:0x493,_0x1ccf7f:0x4de,_0x4e4ca5:0x51d,_0x5a3234:0x823,_0x4fc6ed:0x8bc,_0xdf46a1:0x652,_0x113d43:0x7a2,_0x335e1f:0x797,_0x2196de:0x6d8,_0x3cf012:0x530,_0x1677ce:0x64a,_0x3dd32f:0x57c,_0x156438:0x602,_0x50f8a0:0x542,_0x471574:0x380,_0x5372dc:0x4d3,_0x3279fc:0x354,_0x5b8fc0:0x343,_0x45cd5e:0x536,_0xce7bb7:0x7c2,_0x2fa92d:0x659,_0x4aee1e:0x71a,_0x1af6f5:0x5a0,_0x3e2c3e:0x74f,_0x43c787:0x808,_0x3a4637:0x839,_0x5bf2d2:0x82a,_0xae47e0:0x7a4,_0x3f2dba:0x7f6,_0x5ca3e3:0x48e,_0x57dbba:0x461,_0x39d9fa:0x431,_0x104c46:0x577,_0x5c494a:0x44a},_0x495ec8={_0x1e2c17:0x6fa,_0xd3af8f:0x553,_0x3d55b8:0x5c4,_0x1a1176:0x54d,_0x476d57:0x685,_0x16827d:0x5b0,_0x36e8cf:0x710,_0x3be4f4:0x58f,_0x594033:0x5d8,_0x421e28:0x575,_0x2fd23d:0x855,_0x39fc5c:0x63b,_0x465564:0x765,_0x4a723b:0x628,_0x5a2f96:0x73b,_0x2721c7:0x618,_0xf7accb:0x4a3,_0x59399d:0x786,_0xea9bb0:0x7a0,_0x5e23f2:0x997,_0x177e8c:0x6b7,_0x4aae97:0x5a2,_0x24a318:0x819,_0x242ea5:0x70b,_0x572180:0x6c4,_0x4a895c:0x467,_0xdedf75:0x5e5,_0x1cf25f:0x7b7,_0x2aace9:0x6d5,_0x281b19:0x4f6,_0x9f07f8:0x48b,_0xca233d:0x2c6,_0x6bdb10:0x2d2,_0x3040be:0x59d,_0x3d708d:0x9d8,_0x208717:0x88a,_0x592317:0x412,_0x4275d4:0x271,_0x3848f3:0x4f7,_0x4755c1:0x664,_0x2cb598:0x787},_0x161b16={_0x47137f:0x15f,_0x50305e:0x98},_0x2770a4={_0x116e6a:0xd6,_0x1a2085:0xdf,_0x3123d8:0xe},_0x2d1c11={_0x5d891b:0x34},_0x12e66d=_0x67f65e[_0x5b40bc(_0x257732._0x2e0ac0,0x78f,0x620,0x807)]??_0x17a58e(_0x257732._0x34da50,0x5cb,_0x257732._0x5e370c,0x4dc);function _0x17a58e(_0x4ffa9e,_0xe6849c,_0x2568eb,_0xc460ec){return _0x5b2413(_0x4ffa9e-_0x2d1c11._0x5d891b,_0xe6849c-0x15b,_0xc460ec- -0x444,_0xe6849c);}const _0x4264dc=_0x67f65e[_0x5b40bc(_0x257732._0x34882c,_0x257732._0xf0972,_0x257732._0x2db7f1,_0x257732._0x3eab49)]??DEFAULT_TIMEOUT_MS2;function _0x5b40bc(_0x248d9d,_0x283a52,_0x9aef0c,_0x121bc1){return _0x5b2413(_0x248d9d-_0x2770a4._0x116e6a,_0x283a52-_0x2770a4._0x1a2085,_0x121bc1- -_0x2770a4._0x3123d8,_0x9aef0c);}const _0x478119=_0x67f65e[_0x17a58e(_0x257732._0x18ec44,0x2fe,_0x257732._0x1ccf7f,_0x257732._0x4e4ca5)],_0x588da2=new _0x568fbe({'headingStyle':_0x5b40bc(0x9b6,0x6a0,0x62f,0x84f),'codeBlockStyle':_0x5b40bc(_0x257732._0x5a3234,_0x257732._0x4fc6ed,_0x257732._0xdf46a1,_0x257732._0x113d43),'bulletListMarker':'-'});return _0x588da2[_0x5b40bc(_0x257732._0x335e1f,_0x257732._0x2196de,0x5aa,0x728)](['script','style',_0x5b40bc(_0x257732._0x3cf012,_0x257732._0x1677ce,0x715,_0x257732._0x3dd32f),_0x17a58e(_0x257732._0x156438,_0x257732._0x50f8a0,_0x257732._0x471574,_0x257732._0x5372dc),_0x17a58e(_0x257732._0x3279fc,0x191,_0x257732._0x5b8fc0,0x23b),_0x5b40bc(_0x257732._0x45cd5e,_0x257732._0xce7bb7,_0x257732._0x2fa92d,_0x257732._0x4aee1e),_0x5b40bc(_0x257732._0x1af6f5,_0x257732._0x3e2c3e,0x76d,0x6ba),_0x5b40bc(_0x257732._0x43c787,_0x257732._0x3a4637,0x701,_0x257732._0x5bf2d2)]),defineTool({'name':_0x12e66d,'permissionClass':'read','description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x5b40bc(_0x257732._0xae47e0,0x46f,_0x257732._0x3f2dba,0x5f6),'properties':{'description':{'type':'string'},'url':{'type':_0x5b40bc(_0x257732._0x5ca3e3,0x41a,_0x257732._0x57dbba,0x627)}},'required':[_0x17a58e(_0x257732._0x39d9fa,_0x257732._0x104c46,0x533,_0x257732._0x5c494a)]},async *'execute'(_0x36b3b4,_0x147ec2){const _0x54d7c1={_0x501741:0x9f},_0x35d0f2=(await assertPublicUrl(_0x36b3b4[_0x26ce9c(_0x495ec8._0x1e2c17,_0x495ec8._0xd3af8f,0x8c8,0x85f)],{'lookup':_0x478119}))[_0x26ce9c(0x5ab,_0x495ec8._0x3d55b8,_0x495ec8._0x1a1176,_0x495ec8._0x476d57)]();function _0x26ce9c(_0x190055,_0x36174b,_0x179b5b,_0x462487){return _0x5b40bc(_0x190055-_0x161b16._0x47137f,_0x36174b-_0x161b16._0x50305e,_0x36174b,_0x190055- -0x186);}if(_0x147ec2[_0x13ae69(0x752,0x6bf,0x76e,0x841)]['aborted'])throw new ToolExecutionError(_0x26ce9c(_0x495ec8._0x16827d,_0x495ec8._0x36e8cf,0x4ab,_0x495ec8._0x3be4f4),{'url':_0x35d0f2});const _0x505e4c=createTimeoutSignal(_0x147ec2[_0x26ce9c(_0x495ec8._0x594033,0x628,_0x495ec8._0x421e28,0x673)],_0x4264dc);let _0x342454='',_0x44ccc5=0x0,_0x3d7885;try{const _0x4c418a=await safeFetch(_0x35d0f2,{'headers':{'User-Agent':USER_AGENT},'signal':_0x505e4c['signal']},{'lookup':_0x478119});if(!_0x4c418a['ok'])throw new ToolExecutionError(_0x13ae69(0x6d0,_0x495ec8._0x2fd23d,_0x495ec8._0x39fc5c,0x665)+_0x4c418a['status']+'\x20'+_0x4c418a[_0x13ae69(_0x495ec8._0x465564,_0x495ec8._0x4a723b,_0x495ec8._0x5a2f96,0x536)],{'url':_0x35d0f2,'statusCode':_0x4c418a['status']});_0x342454=_0x4c418a[_0x26ce9c(_0x495ec8._0x2721c7,_0x495ec8._0xf7accb,_0x495ec8._0x59399d,_0x495ec8._0xea9bb0)][_0x26ce9c(0x79c,0x740,_0x495ec8._0x5e23f2,_0x495ec8._0x177e8c)]('content-type')??'',_0x44ccc5=_0x4c418a[_0x13ae69(0x4ca,0x4f0,0x601,0x5a1)],_0x3d7885=await _0x4c418a[_0x26ce9c(0x631,_0x495ec8._0x4aae97,0x5a0,_0x495ec8._0x24a318)]();}catch(_0x6f4341){if(_0x6f4341 instanceof ToolExecutionError)throw _0x6f4341;const _0x3cfbe6=_0x6f4341 instanceof Error?_0x6f4341['message']:String(_0x6f4341);throw new ToolExecutionError(_0x3cfbe6,{'url':_0x35d0f2});}finally{_0x505e4c[_0x26ce9c(_0x495ec8._0x242ea5,_0x495ec8._0x572180,0x690,0x520)]();}const _0x486108=new Date()[_0x13ae69(_0x495ec8._0x4a895c,0x528,_0x495ec8._0xdedf75,0x42b)]();let _0x549ac2,_0x53674c;function _0x13ae69(_0x199b81,_0x5b0e53,_0x5aef11,_0x183bfb){return _0x5b40bc(_0x199b81-0xa,_0x5b0e53-0x14c,_0x5aef11,_0x5b0e53- -_0x54d7c1._0x501741);}if(_0x342454['includes']('application/json'))_0x549ac2=_0x13ae69(_0x495ec8._0x1cf25f,_0x495ec8._0x2aace9,_0x495ec8._0x281b19,0x76a)+_0x3d7885+_0x26ce9c(_0x495ec8._0x9f07f8,_0x495ec8._0xca233d,0x43c,_0x495ec8._0x6bdb10),_0x53674c='json';else _0x342454[_0x26ce9c(0x5cc,0x536,0x720,_0x495ec8._0x3040be)](_0x13ae69(_0x495ec8._0x3d708d,0x899,_0x495ec8._0x208717,0x908))?(_0x549ac2=_0x588da2[_0x26ce9c(_0x495ec8._0x592317,0x2e1,0x287,_0x495ec8._0x4275d4)](_0x3d7885),_0x53674c=_0x26ce9c(0x5fc,0x3ed,0x44b,_0x495ec8._0x3848f3)):(_0x549ac2=_0x3d7885,_0x53674c=_0x13ae69(0x850,0x718,_0x495ec8._0x4755c1,_0x495ec8._0x2cb598));return yield createToolOutput(_0x549ac2,{'url':_0x35d0f2,'contentType':_0x342454,'statusCode':_0x44ccc5,'format':_0x53674c,'size':_0x3d7885['length'],'fetchedAt':_0x486108}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x28bc81(0x308,0x1e7,0x23d,0x319);function normalizeUrl(_0x5cce13){const _0x3091e6={_0x3bf171:0xb0,_0x20c0bf:0x48,_0x2606f5:0x124,_0x1596d8:0x74,_0x27b077:0x1c,_0x368848:0x481,_0x45e72c:0x3b3,_0x23b84b:0x2e1,_0x28bb85:0x18a,_0x270cfc:0x341,_0x72ccb:0x661,_0x3d0240:0x51e,_0x5a0b0c:0x5f8,_0x3b4d18:0x41d,_0x19e8d9:0x334,_0x4ca65a:0x2e2,_0x2ef36c:0xaa,_0x6c6865:0x23,_0x1a5ef7:0x3a9},_0x276efa={_0x23232b:0xfe,_0x163e84:0x372};function _0xacd2b(_0x83bac1,_0x57e21f,_0x3fa8d4,_0x59fd49){return _0x5b2413(_0x83bac1-0x96,_0x57e21f-0x3c,_0x57e21f- -0x47d,_0x59fd49);}function _0x53daa9(_0x2235d1,_0x2f06d3,_0x4188c6,_0x16c79c){return _0x28bc81(_0x2235d1-_0x276efa._0x23232b,_0x2f06d3-0xe4,_0x2f06d3- -_0x276efa._0x163e84,_0x2235d1);}try{const _0x2a83b0=new URL(_0x5cce13);for(const _0x354459 of[_0x53daa9(-0x16e,-0x143,-0x91,_0x3091e6._0x3bf171),_0x53daa9(_0x3091e6._0x20c0bf,-0x14,-_0x3091e6._0x2606f5,-0x1e9),'utm_campaign','utm_term',_0x53daa9(-0x1f4,-_0x3091e6._0x1596d8,_0x3091e6._0x27b077,-0xd3),_0xacd2b(0x2dc,_0x3091e6._0x368848,_0x3091e6._0x45e72c,0x4e2),_0xacd2b(_0x3091e6._0x23b84b,_0x3091e6._0x28bb85,0x265,_0x3091e6._0x270cfc),_0xacd2b(_0x3091e6._0x72ccb,_0x3091e6._0x3d0240,_0x3091e6._0x5a0b0c,0x56b),_0xacd2b(_0x3091e6._0x3b4d18,_0x3091e6._0x19e8d9,_0x3091e6._0x4ca65a,0x12d)]){_0x2a83b0[_0x53daa9(_0x3091e6._0x2ef36c,-_0x3091e6._0x6c6865,-0x1e9,0x38)][_0x53daa9(_0x3091e6._0x1a5ef7,0x194,0x1b5,0x268)](_0x354459);}return _0x2a83b0['toString']();}catch{return _0x5cce13;}}function cseDateRestrict(_0x3a4a67){const _0x57bfc2={_0x3b9cc0:0x560,_0x3f8861:0x4d0},_0x484805={_0xe820c5:0x1af,_0x25d776:0x77,_0xb8b89b:0x231},_0x3dd8cb={_0x51d5a8:0x11e,_0x49220d:0x101};function _0x222a9f(_0x274f72,_0xb25ba5,_0x7fc50c,_0x1f26e7){return _0x28bc81(_0x274f72-_0x3dd8cb._0x51d5a8,_0xb25ba5-_0x3dd8cb._0x49220d,_0x7fc50c-0x289,_0xb25ba5);}function _0x39fabc(_0x196668,_0x4cd35a,_0x321ef8,_0x18dab9){return _0x28bc81(_0x196668-_0x484805._0xe820c5,_0x4cd35a-_0x484805._0x25d776,_0x321ef8-_0x484805._0xb8b89b,_0x196668);}if(_0x3a4a67<=0x0)return void 0x0;if(_0x3a4a67<=0x1e)return'd'+Math['max'](0x1,Math['floor'](_0x3a4a67));if(_0x3a4a67<=0x16d)return'm'+Math[_0x39fabc(_0x57bfc2._0x3b9cc0,0x6fa,0x5cb,_0x57bfc2._0x3f8861)](_0x3a4a67/0x1e);return'y'+Math[_0x222a9f(0x70b,0x5d8,0x623,0x417)](_0x3a4a67/0x16d);}function addSiteFilters(_0x3f723d,_0x283931){const _0x7eb723={_0x30d7c9:0x4f3,_0x52fa19:0x1e4,_0x3ef36a:0x4b8,_0x57bb26:0x380,_0x1f47dd:0x646,_0x41817b:0x3c2},_0x4d1ba2={_0x57cc47:0x56},_0x4a41ba={_0x2648b3:0x2bc};if(_0x283931[_0x421318(0x512,0x3d6,0x705,_0x7eb723._0x30d7c9)]===0x0)return _0x3f723d[_0x3e122d(0x421,0x3fb,0x3cf,_0x7eb723._0x52fa19)]();function _0x3e122d(_0x554fb5,_0x2d6a0e,_0x310d55,_0x93819f){return _0x5b2413(_0x554fb5-0x1e2,_0x2d6a0e-0x187,_0x2d6a0e- -_0x4a41ba._0x2648b3,_0x310d55);}function _0x421318(_0x387619,_0x2d0ba3,_0xf5a948,_0x378b0b){return _0x28bc81(_0x387619-0x16f,_0x2d0ba3-0x13a,_0x378b0b- -_0x4d1ba2._0x57cc47,_0x2d0ba3);}return(_0x3f723d+'\x20('+_0x283931['map'](_0x32c9ce=>'site:'+_0x32c9ce)[_0x421318(_0x7eb723._0x3ef36a,0x460,_0x7eb723._0x57bb26,0x407)](_0x421318(_0x7eb723._0x1f47dd,_0x7eb723._0x41817b,0x604,0x46f))+')')['trim']();}function normalizeType(_0x51406a){const _0x449a55={_0x3d229c:0x347,_0x3d4cf6:0x48c,_0xcf4061:0x36d,_0x5d6f51:0x157},_0x46bcb6={_0x4c14b3:0x235},_0x7ef5c0={_0x4e8530:0x50,_0x217d86:0x28b};function _0x13b71b(_0x38ed1c,_0x42b734,_0x4e0e03,_0x1550d5){return _0x28bc81(_0x38ed1c-_0x7ef5c0._0x4e8530,_0x42b734-0x174,_0x1550d5- -_0x7ef5c0._0x217d86,_0x38ed1c);}function _0x21f4f5(_0x3cbd38,_0x5dc228,_0x302f70,_0x734fed){return _0x5b2413(_0x3cbd38-0x162,_0x5dc228-0x1bb,_0x734fed- -_0x46bcb6._0x4c14b3,_0x5dc228);}return _0x51406a===_0x21f4f5(_0x449a55._0x3d229c,0x3ee,0x3f2,_0x449a55._0x3d4cf6)?'images':_0x13b71b(0x104,0x288,_0x449a55._0xcf4061,_0x449a55._0x5d6f51);}async function fetchJson(_0x408d9d,_0x15e0d2,_0x517b1b){const _0x430c14={_0x22b49a:0x4eb,_0x500e7e:0x203,_0x490d58:0x3f5,_0x110a7c:0x3df,_0x1a2521:0x5e1,_0x2be7fd:0x459,_0x1f6fb6:0x4ae,_0x5ca52c:0x35c,_0x69daef:0x2d9,_0xee9627:0x3cf,_0x3c924c:0x2a7,_0x86abe:0x420,_0x434df9:0x593,_0x415dff:0x695,_0x1ebf3c:0x558,_0x246e57:0x53d,_0xee3e69:0x2a1,_0x36b2f3:0x355,_0x1ead43:0x358,_0xd3a32:0x7f2,_0x17a4ff:0x728,_0x141043:0x5ef,_0x283d62:0x156,_0x49f31a:0x7f,_0x9c9a4c:0x3ba,_0x16af87:0x319,_0xb8e17d:0x5d5,_0xf84f53:0x1ff,_0x98302c:0x377,_0x1f2ece:0x2e8,_0x4441bf:0x1dc,_0x360eb7:0x24e},_0x421b09={_0x205c22:0x173,_0x110e7f:0x1e4},_0x22861e={_0x5e980a:0x9e,_0xbd616e:0x4d6};function _0x1dee53(_0x46607d,_0x124cf8,_0x1bf1b7,_0x570dc0){return _0x5b2413(_0x46607d-_0x22861e._0x5e980a,_0x124cf8-0x25,_0x46607d- -_0x22861e._0xbd616e,_0x1bf1b7);}const _0x30dec0=await fetch(_0x408d9d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x29aa95(_0x430c14._0x22b49a,_0x430c14._0x500e7e,_0x430c14._0x490d58,0x509),..._0x517b1b?.['headers']},'signal':_0x15e0d2,..._0x517b1b});if(!_0x30dec0['ok']){let _0x3a371c,_0x309c3d;try{_0x3a371c=await _0x30dec0[_0x29aa95(0x647,_0x430c14._0x110a7c,_0x430c14._0x1a2521,_0x430c14._0x2be7fd)]();const _0x5cca81=JSON[_0x1dee53(_0x430c14._0x1f6fb6,0x3c6,_0x430c14._0x5ca52c,0x6b2)](_0x3a371c),_0x3ec91f=typeof _0x5cca81[_0x1dee53(_0x430c14._0x69daef,_0x430c14._0xee9627,0x35a,0x2b9)]===_0x29aa95(_0x430c14._0x3c924c,0x581,_0x430c14._0x86abe,0x421)?_0x5cca81['detail'][_0x29aa95(0x483,0x394,_0x430c14._0x434df9,_0x430c14._0x415dff)]:void 0x0;_0x309c3d=_0x5cca81['error']?.[_0x1dee53(0x4a7,0x47f,_0x430c14._0x1ebf3c,_0x430c14._0x246e57)]??_0x5cca81[_0x1dee53(_0x430c14._0xee3e69,0x400,_0x430c14._0x36b2f3,0x2f0)]?.[_0x1dee53(_0x430c14._0x1ead43,0x343,0x41b,0x1ce)]?.[0x0]?.[_0x29aa95(_0x430c14._0xd3a32,0x5ff,0x799,_0x430c14._0x17a4ff)]??_0x3ec91f;}catch{}const _0x2970d0=_0x309c3d?_0x29aa95(0x58c,0x829,0x71e,_0x430c14._0x141043)+_0x30dec0[_0x1dee53(0xc7,-_0x430c14._0x283d62,_0x430c14._0x49f31a,0x13a)]+':\x20'+_0x309c3d:_0x1dee53(0x42c,_0x430c14._0x9c9a4c,_0x430c14._0x16af87,0x56e)+_0x30dec0[_0x29aa95(0x3d9,0x43c,0x3b9,_0x430c14._0xb8e17d)]+'\x20'+_0x30dec0[_0x1dee53(_0x430c14._0xf84f53,_0x430c14._0x98302c,0x365,_0x430c14._0x1f2ece)];throw new ToolExecutionError(_0x2970d0,{'statusCode':_0x30dec0['status'],..._0x3a371c?{'body':_0x3a371c}:{}});}function _0x29aa95(_0x9128a6,_0x2fc6ff,_0x566209,_0x549197){return _0x5b2413(_0x9128a6-0x1cb,_0x2fc6ff-_0x421b09._0x205c22,_0x566209- -_0x421b09._0x110e7f,_0x549197);}return await _0x30dec0[_0x1dee53(_0x430c14._0x4441bf,0xe9,_0x430c14._0x360eb7,0xc8)]();}async function hydrateResults(_0x4dbc9d,_0x4aaea0,_0x27b639,_0x1606ae){const _0x3033fa={_0x47c33b:0x7d6,_0x3eff63:0x662,_0x148a14:0xa02,_0x45f40a:0x6e7,_0x2e81ca:0xa19,_0x54cd6c:0x23d},_0x39efb2={_0x3c18be:0x143},_0x458df2={_0x1bfb10:0x84d,_0x563f50:0x6cc,_0x2bd702:0x8d9,_0xeeba4a:0x5c6,_0x627cdc:0x1d3,_0x14011e:0x240,_0x3f6342:0x188,_0x28a05b:0x11d,_0x1c3204:0xa4,_0x355b9b:0x282,_0xc331f3:0x27d,_0x13fcdc:0x61b,_0x3a569b:0x621,_0x55a01b:0x75a,_0x4fc197:0x5be,_0x17959c:0x438,_0x46d7fa:0x6ef,_0x2397c5:0xd8,_0x71c87f:0x3b6,_0x3f4b3c:0x4c8,_0x457286:0x44a,_0x1f7f51:0x4e7,_0x456e38:0x59d,_0x5c5192:0x14a,_0x23a346:0x2fc,_0x5ec4b2:0x329,_0x123cb9:0x3bc,_0x5d663e:0x579,_0x4f0114:0x777,_0x64bb20:0x55c,_0x2405c8:0x79,_0x4a60da:0x93,_0x5c5d2c:0x134,_0x2469c5:0x777,_0x571bef:0x646,_0x19e8ea:0x3c3,_0x2df86e:0x728,_0x8c17dc:0x6f3,_0x29b662:0x7e5,_0xdcaa71:0x657,_0x18e86c:0x58c,_0x519deb:0x17c,_0x457af7:0x3f,_0xc2ff9d:0x7aa,_0x1eebac:0x35d,_0x57f718:0x140,_0x3044cf:0x4b,_0x5c8013:0x4a2,_0x292deb:0x6de,_0x43332b:0x958,_0x13adea:0x502,_0x298079:0x37b},_0x311e92={_0x13bbd0:0x4b},_0x527214=await Promise['all'](_0x4dbc9d[_0x34b874(0x730,_0x3033fa._0x47c33b,0x8dd,0x659)](0x0,0xa)[_0x34b874(0x82c,0xa36,_0x3033fa._0x3eff63,_0x3033fa._0x148a14)](async _0x2b9a6d=>{const _0x202b45={_0x31b7b2:0x541,_0x4e43e5:0x153};function _0x526ffa(_0x467c35,_0x480a4a,_0x309d9c,_0x5193ec){return _0x34b874(_0x467c35- -_0x202b45._0x31b7b2,_0x480a4a-0x1aa,_0x480a4a,_0x5193ec-_0x202b45._0x4e43e5);}function _0x4203a7(_0x39e005,_0x11f285,_0x284ac4,_0x1920ba){return _0x34b874(_0x39e005-_0x311e92._0x13bbd0,_0x11f285-0x14b,_0x11f285,_0x1920ba-0x9e);}try{const _0xfd915=await safeFetch(_0x2b9a6d['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x4aaea0,'Accept':_0x4203a7(_0x458df2._0x1bfb10,0x863,0x734,0x94a)},'signal':_0x27b639},{'lookup':_0x1606ae});if(!_0xfd915['ok'])return _0x2b9a6d;const _0x407ee6=await _0xfd915[_0x4203a7(_0x458df2._0x563f50,0x4f0,0x740,_0x458df2._0x2bd702)](),_0x7402d0=load(_0x407ee6),_0x372e6f=_0x7402d0(_0x4203a7(0x621,0x4c7,0x81b,_0x458df2._0xeeba4a))[_0x526ffa(0x29,_0x458df2._0x627cdc,_0x458df2._0x14011e,-_0x458df2._0x3f6342)](_0x526ffa(0x1e8,_0x458df2._0x28a05b,0x105,0x396))||_0x7402d0(_0x526ffa(-_0x458df2._0x1c3204,-0xdc,-_0x458df2._0x355b9b,-_0x458df2._0xc331f3))['first']()[_0x4203a7(_0x458df2._0x563f50,_0x458df2._0x13fcdc,_0x458df2._0x3a569b,_0x458df2._0x55a01b)]()[_0x4203a7(_0x458df2._0x4fc197,_0x458df2._0x17959c,0x64e,_0x458df2._0x46d7fa)](),_0x2f14f5=_0x7402d0(_0x526ffa(-0xfa,_0x458df2._0x2397c5,-0xd7,-0x286))['attr'](_0x526ffa(0x1e8,0x3e2,0x96,_0x458df2._0x71c87f))||_0x7402d0(_0x4203a7(_0x458df2._0x3f4b3c,_0x458df2._0x457286,_0x458df2._0x1f7f51,0x511))['attr'](_0x4203a7(0x774,0x828,_0x458df2._0x456e38,0x934))||_0x2b9a6d[_0x526ffa(_0x458df2._0x5c5192,0x187,_0x458df2._0x23a346,_0x458df2._0x5ec4b2)],_0x2727bb=_0x7402d0('meta[property=\x27article:published_time\x27]')[_0x4203a7(0x5b5,_0x458df2._0x123cb9,0x53e,_0x458df2._0x5d663e)](_0x4203a7(0x774,_0x458df2._0x4f0114,0x808,_0x458df2._0x64bb20))||_0x7402d0(_0x526ffa(_0x458df2._0x2405c8,-_0x458df2._0x4a60da,_0x458df2._0x5c5d2c,0x292))[_0x4203a7(0x5b5,_0x458df2._0x2469c5,_0x458df2._0x571bef,_0x458df2._0x19e8ea)](_0x4203a7(_0x458df2._0x2df86e,_0x458df2._0x8c17dc,_0x458df2._0x29b662,0x7c0))||_0x2b9a6d[_0x4203a7(0x52e,0x6c0,_0x458df2._0xdcaa71,_0x458df2._0x18e86c)],_0x357eba=_0x7402d0(_0x526ffa(_0x458df2._0x519deb,0x12d,0x27,_0x458df2._0x457af7))[_0x4203a7(0x5b5,_0x458df2._0xc2ff9d,0x634,0x5f5)](_0x526ffa(0x16f,_0x458df2._0x1eebac,_0x458df2._0x57f718,_0x458df2._0x3044cf));return{..._0x2b9a6d,'title':_0x372e6f||_0x2b9a6d[_0x4203a7(0x4e8,0x462,0x61a,_0x458df2._0x5c8013)],'snippet':_0x2f14f5,'url':_0x357eba?normalizeUrl(new URL(_0x357eba,_0x2b9a6d[_0x4203a7(0x795,0x927,_0x458df2._0x292deb,_0x458df2._0x43332b)])[_0x4203a7(_0x458df2._0x571bef,0x70e,0x533,_0x458df2._0x13adea)]()):_0x2b9a6d[_0x526ffa(0x209,0xd2,0x2b7,_0x458df2._0x298079)],'publishedAt':_0x2727bb};}catch{return _0x2b9a6d;}})),_0x29b8d3=new Map(_0x4dbc9d['slice'](0x0,0xa)[_0x34b874(0x82c,0x8cd,_0x3033fa._0x45f40a,_0x3033fa._0x2e81ca)]((_0x483b73,_0x2901d2)=>[_0x483b73[_0x34fbfd(0x225,0x23a,0x334,0x92)],_0x527214[_0x2901d2]]));function _0x34b874(_0x21f39b,_0x5a802a,_0xfd8035,_0xd1704f){return _0x28bc81(_0x21f39b-0x160,_0x5a802a-0x1d,_0x21f39b-0x25b,_0xfd8035);}function _0x34fbfd(_0x23500d,_0x3cefd4,_0xe75dca,_0x1d8789){return _0x5b2413(_0x23500d-0x1c1,_0x3cefd4-_0x39efb2._0x3c18be,_0x23500d- -0x669,_0x1d8789);}return _0x4dbc9d[_0x34fbfd(0x307,0x394,_0x3033fa._0x54cd6c,0x1ec)](_0x49906b=>_0x29b8d3[_0x34b874(0x7ec,0x90c,0x756,0x88a)](_0x49906b[_0x34fbfd(0x225,0xfe,0x2b6,0x15)])??_0x49906b);}function formatResults(_0x30ae97){const _0x4ee1ba={_0x27312e:0x160,_0x4fa33e:0x54,_0xdc4b40:0x215,_0x8d849:0x690,_0x22200d:0x4a9,_0x3f97a2:0x107,_0x3611f3:0x2dd},_0x13518e={_0xa835de:0x49f,_0x4d4d2d:0x38e,_0x556bd2:0x40e,_0x1b54e0:0x1ec,_0x4cb22c:0x172,_0x243304:0x2e2,_0x440bbb:0x4b5,_0x5ca8c9:0x38d,_0x5cd78a:0x647,_0x2f8f86:0x488,_0x339b80:0x484,_0x385afc:0x208,_0x2be143:0x5ed,_0x115819:0x50f},_0xa15fc1={_0x1d29a5:0x1eb,_0x448526:0x150,_0x218d77:0x164},_0x40b6ab={_0x226b15:0xd5,_0x55248d:0xfc};function _0x42a74b(_0x29bceb,_0x575f47,_0xf6a257,_0x4c6138){return _0x5b2413(_0x29bceb-_0x40b6ab._0x226b15,_0x575f47-_0x40b6ab._0x55248d,_0x4c6138- -0x6d3,_0xf6a257);}function _0x3ac0ae(_0x402baa,_0x4edf0c,_0xc71391,_0x53a07a){return _0x28bc81(_0x402baa-_0xa15fc1._0x1d29a5,_0x4edf0c-_0xa15fc1._0x448526,_0x53a07a-_0xa15fc1._0x218d77,_0xc71391);}if(_0x30ae97[_0x42a74b(0x72,_0x4ee1ba._0x27312e,_0x4ee1ba._0x4fa33e,_0x4ee1ba._0xdc4b40)]===0x0)return _0x3ac0ae(_0x4ee1ba._0x8d849,0x441,0x624,_0x4ee1ba._0x22200d);return _0x30ae97[_0x3ac0ae(0x6d9,0x876,0x6c0,0x735)](_0x4894b4=>{const _0xbe8e7c={_0x2cf81b:0x3ae},_0x3ad216={_0x12482c:0x14e,_0x5b4add:0x110},_0x1a0a2e=[_0x4894b4[_0x123a00(0x2e1,0x319,0x62c,_0x13518e._0xa835de)][_0x4bc910(0x210,_0x13518e._0x4d4d2d,_0x13518e._0x556bd2,0x305)]+'.\x20'+_0x4894b4[_0x123a00(0x89,_0x13518e._0x1b54e0,_0x13518e._0x4cb22c,0x296)],_0x4894b4[_0x123a00(0x479,0x5ee,0x41c,0x543)]];if(_0x4894b4[_0x123a00(0x633,0x61b,0x2aa,0x484)])_0x1a0a2e[_0x4bc910(_0x13518e._0x243304,0x430,_0x13518e._0x440bbb,0x47e)](_0x4894b4[_0x123a00(_0x13518e._0x5ca8c9,_0x13518e._0x5cd78a,_0x13518e._0x2f8f86,_0x13518e._0x339b80)]);function _0x123a00(_0x3c1414,_0x401f94,_0x12ee42,_0x45076c){return _0x3ac0ae(_0x3c1414-_0x3ad216._0x12482c,_0x401f94-0xfc,_0x12ee42,_0x45076c- -_0x3ad216._0x5b4add);}if(_0x4894b4[_0x123a00(_0x13518e._0x385afc,0x3b2,0x1ec,0x2dc)])_0x1a0a2e[_0x123a00(_0x13518e._0x2be143,0x5c7,0x567,0x40a)]('Published:\x20'+_0x4894b4[_0x123a00(0x172,0x1b4,0x4c0,0x2dc)]);function _0x4bc910(_0x1d9fb4,_0x4c8cf5,_0x1b41cf,_0x2e4142){return _0x42a74b(_0x1d9fb4-0x50,_0x4c8cf5-0x1ec,_0x1b41cf,_0x4c8cf5-_0xbe8e7c._0x2cf81b);}return _0x1a0a2e[_0x4bc910(0x522,0x4d7,_0x13518e._0x115819,0x51e)]('\x0a');})[_0x42a74b(-0x77,_0x4ee1ba._0x3f97a2,_0x4ee1ba._0x3611f3,0x129)]('\x0a\x0a');}async function searchOllama(_0x396433,_0xce393e,_0x1a3e28){const _0x1dd7f6={_0x1b8967:0x76,_0x3adea1:0xe3,_0x13b698:0x8a,_0x30fd09:0x367,_0x1c53ed:0x9f,_0xf477cc:0x30a,_0xf67c59:0x759,_0x536a91:0x756,_0x5f20dc:0x822,_0x2e0d93:0x672,_0x16d51d:0x9a5,_0xecca5b:0x9e6,_0x26069c:0x70e,_0x5a47a7:0x77b,_0x3b655b:0x57c,_0x4f11b6:0x7ec,_0x17219b:0x65,_0xc665c0:0x438,_0x2cbe5a:0x1b9,_0x40cb2e:0x145,_0x26629e:0x151,_0x3ee1a5:0x21a},_0x5dba27={_0x5506eb:0x7e0,_0xaa9947:0x7a9,_0x299bbf:0x669,_0xee1e31:0x49c,_0x25c390:0x5c4},_0x2c7962={_0x4a4323:0x163,_0x295d4e:0x11f,_0x4a46e4:0x681},_0x1c1c5d={_0xb89af0:0x129},_0x379cca={_0x533671:0x16a,_0x5e24b0:0xe7},_0x5db664={_0x1aea61:0x390},_0x55b6c3=Math['max'](0x1,Math['min'](0xa,_0xce393e[_0x1163d7(0x206,_0x1dd7f6._0x1b8967,_0x1dd7f6._0x3adea1,-_0x1dd7f6._0x13b698)])),_0x15ff66=addSiteFilters(_0xce393e['query'],_0xce393e[_0x1163d7(-_0x1dd7f6._0x30fd09,-_0x1dd7f6._0x1c53ed,-0x160,-_0x1dd7f6._0xf477cc)]),_0x35f634=await fetchJson('https://ollama.com/api/web_search',_0x1a3e28,{'method':_0x3c8841(_0x1dd7f6._0xf67c59,0x811,_0x1dd7f6._0x536a91,_0x1dd7f6._0x5f20dc),'headers':{'Authorization':_0x3c8841(_0x1dd7f6._0x2e0d93,_0x1dd7f6._0x16d51d,0x829,_0x1dd7f6._0xecca5b)+_0x396433[_0x3c8841(0x898,_0x1dd7f6._0x26069c,_0x1dd7f6._0x5a47a7,_0x1dd7f6._0x3b655b)]},'body':JSON[_0x3c8841(0x9a2,0x6eb,_0x1dd7f6._0x4f11b6,0x8c7)]({'query':_0x15ff66,'max_results':_0x55b6c3})});function _0x1163d7(_0x361115,_0x1a1b22,_0x26a6c1,_0x246e17){return _0x28bc81(_0x361115-0x85,_0x1a1b22-0x1d7,_0x26a6c1- -_0x5db664._0x1aea61,_0x246e17);}const _0x2629f1=_0x35f634[_0x1163d7(-_0x1dd7f6._0x17219b,-0x14,-0xc7,-0x2af)]??[];function _0x3c8841(_0x6e28bf,_0x4f60a3,_0x5badae,_0x21ee1a){return _0x5b2413(_0x6e28bf-0xf,_0x4f60a3-_0x379cca._0x533671,_0x5badae- -_0x379cca._0x5e24b0,_0x4f60a3);}const _0x799b9c=_0x2629f1[_0x1163d7(0xb0,0x1bb,0x241,_0x1dd7f6._0xc665c0)]((_0x1b1094,_0x193d3d)=>{const _0x5dee3e=_0x1b1094[_0xb0ccdd(0x73f,_0x5dba27._0x5506eb,_0x5dba27._0xaa9947,_0x5dba27._0x299bbf)]||'';function _0x259044(_0x1329f8,_0x3712b3,_0x59fc0d,_0x167a3e){return _0x1163d7(_0x1329f8-0x4,_0x3712b3-_0x1c1c5d._0xb89af0,_0x1329f8-0x5ff,_0x59fc0d);}function _0xb0ccdd(_0x27a311,_0x2f7c8d,_0x828e21,_0x2c7238){return _0x1163d7(_0x27a311-_0x2c7962._0x4a4323,_0x2f7c8d-_0x2c7962._0x295d4e,_0x2f7c8d-_0x2c7962._0x4a46e4,_0x828e21);}let _0xf97a56;try{_0xf97a56=new URL(_0x5dee3e)[_0x259044(_0x5dba27._0xee1e31,0x4b0,0x677,0x338)];}catch{_0xf97a56=null;}return{'title':_0x1b1094['title']||_0xb0ccdd(_0x5dba27._0x25c390,0x6b0,0x67d,0x8cd),'url':normalizeUrl(_0x5dee3e),'snippet':_0x1b1094[_0x259044(0x73d,0x5ce,0x886,0x53e)]??null,'displayUrl':_0xf97a56,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x193d3d+0x1}};});return{'items':_0x799b9c[_0x1163d7(_0x1dd7f6._0x2cbe5a,0x6a,_0x1dd7f6._0x40cb2e,0xf)](0x0,_0x55b6c3),'engine':_0x1163d7(_0x1dd7f6._0x26629e,0x259,_0x1dd7f6._0x3ee1a5,0x2b5)};}async function searchTavily(_0xf0228c,_0x20e188,_0x27c24b){const _0x3406b={_0x156e9b:0x44a,_0x3a962f:0x267,_0x6f687:0x590,_0x39c147:0x87b,_0x576a93:0x743,_0x35c13d:0x726,_0x34a037:0x598,_0xc3766d:0x90,_0xcf3712:0x4ce,_0x251b65:0x356,_0x20bccc:0x4c1,_0x43a38e:0x77c,_0xd17a10:0x896,_0x423f34:0x84f,_0x13558a:0x767,_0xb0af4:0x633,_0x5ecc77:0x608,_0x1a89ae:0x9fb,_0x5bb20e:0x2ea,_0x51840f:0x213,_0x1aaff2:0x324,_0x43640c:0x1aa,_0x41c704:0x372,_0x430579:0x6b5,_0x54f215:0x5ee,_0x470cb0:0x3d1,_0x523781:0x751,_0x589872:0x33d,_0x4e2a7d:0x4b8,_0x5b6af6:0x59b},_0x1e0043={_0x2db162:0x4cc,_0x1f9314:0x2e3,_0x3a5ff1:0x1b6,_0x4d3d21:0x5,_0x2b5c41:0x10f,_0x33a42e:0x388,_0x1bdb37:0x440},_0x45453e={_0x4fa310:0x18c},_0x647a3d={_0x5e9fa2:0x12d},_0x1284b0=Math[_0x415f6f(0x4a9,_0x3406b._0x156e9b,_0x3406b._0x3a962f,_0x3406b._0x6f687)](0x1,Math[_0x3590f7(_0x3406b._0x39c147,_0x3406b._0x576a93,_0x3406b._0x35c13d,0x8f1)](0x14,_0x20e188['count']));function _0x3590f7(_0x3f89d2,_0x4fbb41,_0x509c43,_0x27b27b){return _0x5b2413(_0x3f89d2-_0x647a3d._0x5e9fa2,_0x4fbb41-0x80,_0x4fbb41-0x64,_0x509c43);}const _0x2db3e4={'query':_0x20e188['query'],'max_results':_0x1284b0,'search_depth':_0xf0228c[_0x3590f7(_0x3406b._0x34a037,0x628,0x530,0x58c)]??_0x415f6f(_0x3406b._0xc3766d,0x1c2,0x1b4,0x34f),'topic':_0xf0228c[_0x415f6f(_0x3406b._0xcf3712,_0x3406b._0x251b65,_0x3406b._0x20bccc,0x50c)]??_0x3590f7(_0x3406b._0x43a38e,0x6a6,_0x3406b._0xd17a10,_0x3406b._0x423f34)};function _0x415f6f(_0xb90f1b,_0x5f6463,_0x4bfaa0,_0x308845){return _0x5b2413(_0xb90f1b-0xcd,_0x5f6463-_0x45453e._0x4fa310,_0x5f6463- -0x3bc,_0x4bfaa0);}if(_0x20e188[_0x3590f7(_0x3406b._0x13558a,_0x3406b._0xb0af4,_0x3406b._0x5ecc77,0x5a0)]['length']>0x0)_0x2db3e4[_0x3590f7(0xa9f,0x9f6,_0x3406b._0x1a89ae,0x82f)]=_0x20e188[_0x415f6f(_0x3406b._0x5bb20e,_0x3406b._0x51840f,_0x3406b._0x1aaff2,0x2b8)];const _0x71e37=await fetchJson('https://api.tavily.com/search',_0x27c24b,{'method':'POST','headers':{'Authorization':_0x415f6f(0x5cd,0x554,0x479,0x60c)+_0xf0228c['tavilyApiKey'],'Content-Type':_0x415f6f(_0x3406b._0x43640c,0x21d,_0x3406b._0x41c704,0x3de)},'body':JSON['stringify'](_0x2db3e4)}),_0x407510=_0x71e37[_0x3590f7(0x5a6,0x6cc,_0x3406b._0x430579,0x72b)]??[],_0x39f026=_0x407510[_0x415f6f(_0x3406b._0x54f215,0x5b4,_0x3406b._0x470cb0,_0x3406b._0x523781)]((_0x135061,_0x6af19f)=>{const _0x4ddf8f={_0x5c6c77:0xb4,_0x2d85bc:0x1ef,_0x2032f8:0xd9},_0x42fe1b=_0x135061[_0x607e11(_0x1e0043._0x2db162,_0x1e0043._0x1f9314,0x3ca,_0x1e0043._0x3a5ff1)]||'';function _0x2489f1(_0x589bde,_0x501a11,_0x194905,_0x553d6b){return _0x3590f7(_0x589bde-0x115,_0x553d6b- -0x517,_0x501a11,_0x553d6b-0x13);}let _0x29c52b;function _0x607e11(_0x253a26,_0x501d62,_0x3c9af1,_0x1c2fb9){return _0x415f6f(_0x253a26-_0x4ddf8f._0x5c6c77,_0x501d62- -_0x4ddf8f._0x2d85bc,_0x1c2fb9,_0x1c2fb9-_0x4ddf8f._0x2032f8);}try{_0x29c52b=new URL(_0x42fe1b)['host'];}catch{_0x29c52b=null;}return{'title':_0x135061[_0x607e11(0x1cd,0x36,-0x1b2,-_0x1e0043._0x4d3d21)]||_0x2489f1(_0x1e0043._0x2b5c41,0x3ac,0x2af,0x2ab),'url':normalizeUrl(_0x42fe1b),'snippet':_0x135061[_0x607e11(0x279,0x2c2,0x17d,0x2a1)]??null,'displayUrl':_0x29c52b,'favicon':null,'publishedAt':null,'source':{'engine':_0x2489f1(0x2f9,_0x1e0043._0x33a42e,0x5b2,_0x1e0043._0x1bdb37),'rank':_0x6af19f+0x1}};});return{'items':_0x39f026[_0x415f6f(_0x3406b._0x589872,_0x3406b._0x4e2a7d,_0x3406b._0x5b6af6,0x2e2)](0x0,_0x1284b0),'engine':'tavily'};}async function searchGoogleCse(_0x36ad63,_0x212cca,_0x1d3b50){const _0x36f20f={_0x4ea3f5:0x63,_0x447d1a:0x1cc,_0x459304:0x2a6,_0x509073:0x1a0,_0x3f2267:0x24d,_0x4f4eb8:0x8a,_0x443458:0x40b,_0x58d110:0x173,_0x496acc:0x77,_0x26b035:0x19f,_0x5c25b7:0x71,_0x3f28b7:0x126,_0x3c8b39:0x1f5,_0x438a8e:0x132,_0x445dee:0x20e,_0x364ba7:0x221,_0x282468:0x14e,_0x230fac:0x91,_0x29395f:0x214,_0x3a9f82:0x1d9,_0xfe0357:0x48,_0x4420d9:0x234,_0x3b0818:0xc1,_0x5095df:0x41e,_0x2ccc33:0x26f,_0x5a0744:0xa7,_0x18046a:0x26d,_0x9d3822:0x14,_0x52c049:0x2cb,_0x1b3eef:0x4c,_0x61a194:0x46,_0x154deb:0x89,_0x5c3c89:0x3c1,_0x255fe9:0x245,_0x162b63:0x126,_0x3593d6:0x1dc,_0x121db6:0x239,_0x37d80f:0x457,_0x16a5bc:0x373,_0x274579:0x2a5,_0x336644:0x167,_0x58b699:0x8,_0x5ebd17:0x15a,_0xdf417:0xc1,_0x26ab65:0x326,_0x55bde7:0x1a9,_0x16aef6:0x2a,_0xa34296:0x1a9,_0x44a7cb:0x122,_0x4a8f4d:0x1b0,_0xc44606:0x369,_0x5589e7:0x21e,_0x56fe63:0x3c8,_0x4e08b8:0x2e1,_0x3c89c9:0x3b,_0x510e0a:0x9e,_0x34bc9d:0x175,_0x22e759:0xb9,_0x53da54:0x1f,_0x424c4b:0x1d,_0x40877d:0x64,_0x5a0f81:0x3a2,_0x414fa3:0x2d8,_0x599979:0x270,_0x4881e0:0xdb,_0xac9ca5:0x15e,_0x47a1a5:0xa6,_0x1b634a:0x211,_0x575069:0xbb,_0x34c3d8:0x133,_0x506c24:0x233,_0x4b4734:0x3a,_0x242d51:0x132,_0x44ef70:0x129,_0x4d4d31:0x228,_0x25579c:0x177,_0x24c365:0x2c4,_0x483e6b:0x11f,_0x4e19fb:0xa0,_0x5f1689:0x2fa,_0x511866:0x538,_0x4bf1d2:0x1c1,_0x511dcc:0x3e1,_0x229c39:0x2bb,_0x1f00c6:0x2ae,_0x379275:0x14b,_0x1636b7:0x490,_0x337d88:0x340,_0x344587:0x109,_0x247bfd:0x4c,_0xfe2299:0xaa,_0x10a93f:0x2,_0x132071:0x237,_0x40eb1f:0x13f,_0x446f4d:0x1b2,_0x285209:0x425,_0xec7dfe:0x4,_0x5cdbd0:0x91,_0x24dbd6:0x21d,_0x45eda0:0x18d,_0x388350:0x17f,_0x109fea:0xf7,_0x463cee:0x107,_0x519be2:0x1f1,_0x536e0d:0x12c,_0x3cdbcb:0x70,_0x54df75:0xdd,_0x16e274:0x3f8,_0x197cde:0x320,_0x43506b:0x333,_0x11de75:0x321,_0x53b200:0x15c,_0x157a0e:0x476,_0x46f0c7:0x242,_0x24abd9:0x1b4,_0x351774:0x1fe},_0x2d4359={_0x37cd41:0x28e},_0x2e8498={_0x11077e:0x229},_0x336f47=Math[_0x233655(_0x36f20f._0x4ea3f5,_0x36f20f._0x447d1a,0x2d,0x1d9)](0x1,Math['min'](0x32,_0x212cca[_0x127798(0x24a,0x448,0x442,_0x36f20f._0x459304)]));if(_0x212cca['offset']+_0x336f47>0x64)throw new ToolExecutionError(_0x127798(0x1fc,_0x36f20f._0x509073,_0x36f20f._0x3f2267,_0x36f20f._0x4f4eb8),{'offset':_0x212cca[_0x233655(0x1fb,0x44e,0x2c8,0x308)],'count':_0x336f47,'maxResults':0x64});function _0x127798(_0x2803aa,_0x586d6f,_0x313dae,_0x3023a0){return _0x28bc81(_0x2803aa-0x91,_0x586d6f-0x46,_0x2803aa- -_0x2e8498._0x11077e,_0x313dae);}const _0x211d60=cseDateRestrict(_0x212cca[_0x233655(_0x36f20f._0x443458,_0x36f20f._0x58d110,0x35c,0x2fa)]),_0x1b7394=addSiteFilters(_0x212cca[_0x233655(-0x70,0x226,_0x36f20f._0x496acc,_0x36f20f._0x26b035)],_0x212cca[_0x233655(-0x26c,0xc4,0x1bf,-0x5e)]);let _0x5bbdb1=0x0;function _0x233655(_0x27274b,_0x101d5f,_0x10f73a,_0x513baf){return _0x28bc81(_0x27274b-0x197,_0x101d5f-0xcb,_0x513baf- -_0x2d4359._0x37cd41,_0x10f73a);}let _0x40bcb7=_0x212cca['offset']+0x1;const _0x19966d=[];while(_0x5bbdb1<_0x336f47){const _0x4b6318=Math[_0x233655(0x2b3,-0x38,_0x36f20f._0x5c25b7,0xb2)](0xa,_0x336f47-_0x5bbdb1),_0x4a6aab=new URL('https://www.googleapis.com/customsearch/v1');_0x4a6aab[_0x127798(_0x36f20f._0x3f28b7,_0x36f20f._0x3c8b39,-0x78,_0x36f20f._0x438a8e)][_0x127798(_0x36f20f._0x445dee,0x148,_0x36f20f._0x364ba7,0x34e)](_0x233655(0x7d,-0x1c7,-_0x36f20f._0x282468,-_0x36f20f._0x230fac),_0x36ad63[_0x233655(-_0x36f20f._0x29395f,-0x1f,_0x36f20f._0x3a9f82,-_0x36f20f._0xfe0357)]),_0x4a6aab[_0x233655(_0x36f20f._0x4420d9,-0xe4,0x232,_0x36f20f._0x3b0818)]['set']('cx',_0x36ad63['googleCseCx']),_0x4a6aab['searchParams'][_0x127798(_0x36f20f._0x445dee,_0x36f20f._0x5095df,_0x36f20f._0x2ccc33,_0x36f20f._0x5a0744)]('q',_0x1b7394),_0x4a6aab[_0x127798(_0x36f20f._0x3f28b7,_0x36f20f._0x18046a,-_0x36f20f._0x9d3822,0x1d4)][_0x233655(_0x36f20f._0x52c049,_0x36f20f._0x1b3eef,_0x36f20f._0x61a194,0x1a9)](_0x233655(0x190,_0x36f20f._0x154deb,_0x36f20f._0x5c3c89,_0x36f20f._0x255fe9),String(_0x4b6318)),_0x4a6aab[_0x127798(_0x36f20f._0x162b63,0x1cb,-0x7,-0x90)]['set'](_0x233655(0x34c,0x249,0x28c,0x321),String(_0x40bcb7)),_0x4a6aab['searchParams'][_0x127798(0x20e,0x293,_0x36f20f._0x3593d6,0x302)](_0x233655(_0x36f20f._0x121db6,_0x36f20f._0x37d80f,0x291,0x305),_0x212cca[_0x127798(0x36a,_0x36f20f._0x16a5bc,0x2e6,_0x36f20f._0x274579)]?_0x127798(_0x36f20f._0x336644,0x43,0x2fe,0x164):_0x233655(0x277,0x1de,-_0x36f20f._0x58b699,0xb0));_0x212cca['lang']&&(_0x4a6aab[_0x233655(0x18,0x1b7,-_0x36f20f._0x5ebd17,_0x36f20f._0xdf417)][_0x233655(_0x36f20f._0x26ab65,0x302,0x49,_0x36f20f._0x55bde7)]('hl',_0x212cca[_0x127798(_0x36f20f._0x16aef6,_0x36f20f._0xa34296,-_0x36f20f._0x44a7cb,0x58)]),_0x4a6aab[_0x233655(0x13a,-0x2f,0xad,_0x36f20f._0x3b0818)][_0x127798(0x20e,_0x36f20f._0x4a8f4d,0x429,0x85)]('lr',_0x127798(_0x36f20f._0xc44606,_0x36f20f._0x5589e7,_0x36f20f._0x56fe63,_0x36f20f._0x4e08b8)+_0x212cca[_0x233655(-0x171,0x11a,-0x92,-_0x36f20f._0x3c89c9)]));if(_0x212cca[_0x233655(_0x36f20f._0x510e0a,-_0x36f20f._0x34bc9d,0x263,0x64)])_0x4a6aab[_0x127798(0x126,0x335,0x2f8,-_0x36f20f._0x22e759)]['set']('gl',_0x212cca[_0x233655(_0x36f20f._0x53da54,-_0x36f20f._0x424c4b,-0x17b,_0x36f20f._0x40877d)][_0x127798(_0x36f20f._0x5a0f81,0x19e,0x26b,_0x36f20f._0x414fa3)]());if(_0x212cca[_0x127798(0x10e,_0x36f20f._0x599979,-_0x36f20f._0x4881e0,_0x36f20f._0xac9ca5)]===_0x233655(-_0x36f20f._0x47a1a5,_0x36f20f._0x1b634a,-_0x36f20f._0x575069,0x94))_0x4a6aab['searchParams'][_0x127798(0x20e,_0x36f20f._0x34c3d8,0x255,0x271)]('searchType','image');if(_0x211d60)_0x4a6aab[_0x233655(0x28a,_0x36f20f._0x506c24,_0x36f20f._0x4b4734,0xc1)][_0x127798(0x20e,_0x36f20f._0x242d51,_0x36f20f._0x44ef70,0x16a)](_0x127798(_0x36f20f._0x4d4d31,0x47,0x74,0x35b),_0x211d60);const _0x353dbd=await fetchJson(_0x4a6aab[_0x127798(_0x36f20f._0x25579c,_0x36f20f._0x24c365,0xd5,0xc2)](),_0x1d3b50),_0x13e27a=_0x353dbd[_0x127798(0x11f,_0x36f20f._0x483e6b,-_0x36f20f._0x4e19fb,-0x96)]??[];if(_0x13e27a[_0x127798(0x320,_0x36f20f._0x5f1689,0x47b,_0x36f20f._0x511866)]===0x0)break;const _0x444997=_0x5bbdb1;for(let _0x339d71=0x0;_0x339d71<_0x13e27a[_0x233655(_0x36f20f._0x4bf1d2,_0x36f20f._0x511dcc,_0x36f20f._0x364ba7,_0x36f20f._0x229c39)];_0x339d71++){const _0x1fb386=_0x13e27a[_0x339d71];if(!_0x1fb386)continue;const _0x1cb4dc=_0x1fb386[_0x127798(0x22e,0x139,0x310,_0x36f20f._0x52c049)]||_0x1fb386[_0x127798(_0x36f20f._0x1f00c6,_0x36f20f._0x379275,_0x36f20f._0x1636b7,_0x36f20f._0x337d88)]?.['contextLink']||'',_0x270b54=_0x1fb386[_0x233655(-_0x36f20f._0x58d110,-_0x36f20f._0x4d4d31,_0x36f20f._0x344587,-_0x36f20f._0x247bfd)]||_0x1fb386['image']?.[_0x233655(_0x36f20f._0xfe2299,-0x24f,_0x36f20f._0x10a93f,-0x4c)]||_0x233655(_0x36f20f._0x132071,-0xb5,0x308,0x131),_0x5d7f2a=_0x1fb386['snippet']||_0x1fb386[_0x127798(_0x36f20f._0x40eb1f,-0x8d,0x0,0x286)]?.['replace'](/<[^>]+>/g,''),_0x163aec=_0x1fb386[_0x233655(_0x36f20f._0x446f4d,_0x36f20f._0x285209,0x114,0x277)]?.['metatags']?.[0x0]??{};let _0x294863;try{_0x294863=new URL(_0x1cb4dc)[_0x127798(_0x36f20f._0xec7dfe,_0x36f20f._0x5cdbd0,-0x8,-_0x36f20f._0x24dbd6)];}catch{_0x294863=null;}_0x19966d[_0x127798(_0x36f20f._0x45eda0,_0x36f20f._0x388350,_0x36f20f._0x109fea,0x335)]({'title':_0x270b54,'url':normalizeUrl(_0x1cb4dc),'snippet':_0x5d7f2a??null,'displayUrl':_0x294863,'favicon':null,'publishedAt':_0x163aec[_0x127798(_0x36f20f._0x4bf1d2,_0x36f20f._0x40877d,0x36c,_0x36f20f._0x463cee)]||_0x163aec[_0x233655(_0x36f20f._0x519be2,_0x36f20f._0x536e0d,-_0x36f20f._0x3cdbcb,_0x36f20f._0x54df75)]||null,'source':{'engine':_0x127798(0x3c4,_0x36f20f._0x16e274,0x545,0x521),'rank':_0x444997+_0x339d71+0x1}});}_0x5bbdb1+=_0x13e27a[_0x127798(_0x36f20f._0x197cde,0x273,_0x36f20f._0x43506b,0x4ad)],_0x40bcb7+=_0x13e27a[_0x127798(0x320,_0x36f20f._0x11de75,0x26b,_0x36f20f._0x53b200)];if(_0x13e27a[_0x127798(0x320,_0x36f20f._0x157a0e,_0x36f20f._0x46f0c7,0x289)]<_0x4b6318)break;}return _0x19966d[_0x233655(_0x36f20f._0x24abd9,0x2d7,_0x36f20f._0x351774,0x247)](0x0,_0x336f47);}function isGoogleCseEngine(_0x3af45f){const _0x46a81c={_0x266034:0x120,_0x1098f4:0x1af,_0x5eddf1:0x1a9},_0x59d744={_0x37459a:0xac,_0x1a1fa4:0x2d,_0x41e235:0x43c};function _0x466878(_0x3244df,_0x52f6c5,_0x5bde82,_0x35e39b){return _0x5b2413(_0x3244df-_0x59d744._0x37459a,_0x52f6c5-_0x59d744._0x1a1fa4,_0x35e39b- -_0x59d744._0x41e235,_0x52f6c5);}return _0x466878(_0x46a81c._0x266034,0x45,_0x46a81c._0x1098f4,_0x46a81c._0x5eddf1)in _0x3af45f;}function isOllamaEngine(_0x181d4c){const _0x5ea647={_0x3b727a:0x58},_0x2d40c1={_0x2d1edf:0x1c9};function _0x782776(_0x20f449,_0x16b37c,_0x22bbf2,_0x4f9c67){return _0x28bc81(_0x20f449-_0x2d40c1._0x2d1edf,_0x16b37c-0x12,_0x22bbf2- -0x27f,_0x20f449);}return _0x782776(0x16e,_0x5ea647._0x3b727a,0x244,0xe8)in _0x181d4c;}function isTavilyEngine(_0x5b8d9e){const _0x4f7e48={_0x2e61de:0x541};function _0x45f125(_0xf70a40,_0x34834e,_0x3b0cf,_0x2bd35e){return _0x5b2413(_0xf70a40-0x100,_0x34834e-0x9c,_0x2bd35e- -0x3e4,_0x34834e);}return _0x45f125(0x552,0x721,_0x4f7e48._0x2e61de,0x518)in _0x5b8d9e;}function createWebSearchTool(_0x59d78d){const _0x22aced={_0x24a7f5:0x9c5,_0x142f03:0x81d,_0x1f59a8:0x413,_0x974103:0x485,_0x1a6054:0x4e7,_0x3c5515:0x8b0,_0x4e463a:0x6ef,_0x2a2680:0x26b,_0x32d731:0x505,_0x3dd6b6:0x6ce,_0x312502:0x46e,_0x498eba:0x32f,_0x2fb1e7:0x513,_0x4a5aae:0x602,_0x295697:0x4ba,_0x3ebdc2:0x44,_0x471f5c:0x191,_0x165ae7:0x56d,_0x4b3592:0x699,_0x27764d:0x5a6,_0x46bd34:0x23d,_0x33ead1:0x35f,_0x28a51f:0x2ff,_0x1a8c48:0x42e,_0x406871:0x1d9,_0x15d560:0x363,_0x107721:0x5ff,_0x508e91:0x62f,_0x518d5e:0x50f,_0x57d54a:0x7a3,_0x4b0bff:0x79d,_0x11eca0:0x89b,_0x18f68f:0x2d8,_0x5c2829:0x79d,_0x51da21:0x7b7},_0x48de8a={_0x37a341:0x675,_0x49fe07:0x828,_0x338112:0x687,_0x56ebe1:0x712,_0x509459:0x74f,_0x174c1b:0x807,_0xef70d5:0x69e,_0x52a8f9:0x328,_0x137cef:0x53e,_0x19b833:0x597,_0x221092:0x745,_0x1c1559:0x406,_0x179547:0x5fd,_0x1e8976:0x789,_0x2b29be:0x783,_0x9f0d0e:0x630,_0x3fde17:0x150,_0x2e5a03:0x3cb,_0x44e21e:0x6ac,_0x5be2f7:0x620,_0x527bf7:0x829,_0x378212:0x7df,_0x127966:0x53b,_0x529cf0:0x2df,_0x307ce7:0x6f5,_0x5db688:0x781,_0x124ffe:0x768,_0x6584fb:0x650,_0x2f4127:0x7ca,_0x21576e:0x9ba,_0x2201bd:0x79a,_0x3c75f0:0x6d8,_0x1dde2f:0x511,_0x75deb1:0x392,_0x44de55:0x4cf,_0x4ce6b1:0x2ef,_0x153e1b:0x3be,_0x1c89c5:0x747,_0x22699c:0x916,_0xb8335e:0x343,_0x453851:0x4bb,_0x1831ca:0x58e,_0x2e5e7b:0x49b,_0x3a817e:0x92c,_0x449999:0x79a,_0x4e73d4:0x7be,_0x20ddcf:0xad6,_0x10f0d2:0x99e,_0x65bdb0:0x5fd,_0x28f6a1:0xa81,_0x1a8de6:0x975,_0x493c0f:0xb5e,_0x583bea:0x8a6,_0x5572c1:0x955,_0x59fe09:0x937,_0x29823f:0x955,_0x45a047:0x722,_0xbd4846:0x1fb,_0x548176:0x82e,_0x68683b:0x6bf,_0x497054:0x29a,_0x28f204:0x870,_0xa321ae:0x6bf,_0x14d01d:0x79b,_0x42562e:0x8fb},_0x49df83={_0x3dbe6e:0xbd},_0x47b6e9={_0x1ee9b5:0xdd};function _0x2b80c3(_0x2cbe07,_0x772a81,_0x3f70d0,_0xaaf166){return _0x5b2413(_0x2cbe07-_0x47b6e9._0x1ee9b5,_0x772a81-0x193,_0x3f70d0- -0x126,_0x2cbe07);}function _0x290c2d(_0x503de4,_0x8dd66f,_0x39b0fe,_0x465844){return _0x28bc81(_0x503de4-0xba,_0x8dd66f-0x143,_0x503de4- -_0x49df83._0x3dbe6e,_0x8dd66f);}if(!_0x59d78d['engines']||_0x59d78d['engines'][_0x2b80c3(_0x22aced._0x24a7f5,_0x22aced._0x142f03,0x7c2,0x84c)]===0x0)throw new Error(_0x290c2d(0x430,_0x22aced._0x1f59a8,0x3e0,_0x22aced._0x974103));const _0x3797e2=_0x59d78d[_0x2b80c3(_0x22aced._0x1a6054,_0x22aced._0x3c5515,_0x22aced._0x4e463a,0x4e6)]??_0x290c2d(0x155,_0x22aced._0x2a2680,-0x75,0x1f9),_0x328cf4=_0x59d78d[_0x290c2d(_0x22aced._0x32d731,_0x22aced._0x3dd6b6,_0x22aced._0x312502,0x639)];return defineTool({'name':_0x3797e2,'permissionClass':'read','description':_0x290c2d(0x48b,_0x22aced._0x498eba,_0x22aced._0x2fb1e7,_0x22aced._0x4a5aae),'inputSchema':{'type':_0x2b80c3(_0x22aced._0x295697,0x502,0x4de,0x3fd),'properties':{'description':{'type':'string'},'query':{'type':_0x290c2d(0x1d9,-_0x22aced._0x3ebdc2,0x3a1,_0x22aced._0x471f5c)},'count':{'type':_0x290c2d(0x363,0x458,_0x22aced._0x165ae7,0x2d2)},'offset':{'type':_0x2b80c3(0x8b9,0x7ff,_0x22aced._0x4b3592,_0x22aced._0x27764d)},'domains':{'type':_0x290c2d(_0x22aced._0x46bd34,_0x22aced._0x33ead1,_0x22aced._0x28a51f,_0x22aced._0x1a8c48),'items':{'type':_0x290c2d(_0x22aced._0x406871,0x148,0x30d,0xdc)}},'recencyDays':{'type':_0x290c2d(_0x22aced._0x15d560,0x327,0x578,0x238)},'lang':{'type':_0x2b80c3(0x66d,0x4b7,0x50f,_0x22aced._0x107721)},'region':{'type':_0x2b80c3(0x341,_0x22aced._0x508e91,_0x22aced._0x518d5e,0x359)},'safe':{'type':_0x2b80c3(_0x22aced._0x57d54a,0x68e,_0x22aced._0x4b0bff,_0x22aced._0x11eca0)},'type':{'type':_0x290c2d(0x1d9,0x373,_0x22aced._0x18f68f,_0x22aced._0x406871)},'hydrateMeta':{'type':_0x2b80c3(0x6bc,0x8f0,_0x22aced._0x5c2829,_0x22aced._0x51da21)}},'required':['query']},async *'execute'(_0x34b218,_0x254773){const _0x22e35c={_0x50e8e:0x590,_0x448508:0x4e8,_0x561faf:0x42e,_0x500169:0x212,_0x1516e5:0x7,_0x113e2f:0xbd,_0x37b396:0x10b},_0xa18fae={_0xc500ec:0x1b7,_0x2975c5:0x1d7},_0x404452={_0x58a815:0x106},_0x526b0e=_0x34b218['query']['trim']();if(!_0x526b0e)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x3bee53={'query':_0x526b0e,'count':Math['max'](0x1,Math[_0x1e4cf5(_0x48de8a._0x37a341,0x64e,_0x48de8a._0x49fe07,0x70d)](0x32,Math[_0x1e4cf5(_0x48de8a._0x338112,_0x48de8a._0x56ebe1,_0x48de8a._0x509459,0x701)](_0x34b218['count']??0xa))),'offset':Math[_0x1e4cf5(0x96e,_0x48de8a._0x174c1b,_0x48de8a._0xef70d5,0x834)](0x0,Math[_0x47956c(0x38f,0x2dc,0x2aa,_0x48de8a._0x52a8f9)](_0x34b218[_0x47956c(0x5d7,_0x48de8a._0x137cef,_0x48de8a._0x19b833,_0x48de8a._0x221092)]??0x0)),'domains':_0x34b218[_0x1e4cf5(0x5e3,_0x48de8a._0x1c1559,0x5ce,_0x48de8a._0x179547)]??[],'recencyDays':Math[_0x1e4cf5(_0x48de8a._0x1e8976,_0x48de8a._0x2b29be,_0x48de8a._0x9f0d0e,0x834)](0x0,Math[_0x47956c(0x250,0x2dc,0x1ec,_0x48de8a._0x3fde17)](_0x34b218[_0x47956c(0x311,0x530,_0x48de8a._0x2e5a03,0x4ee)]??0x0)),'lang':_0x34b218[_0x1e4cf5(0x658,0x841,_0x48de8a._0x44e21e,_0x48de8a._0x5be2f7)]??'en','region':_0x34b218[_0x1e4cf5(_0x48de8a._0x527bf7,_0x48de8a._0x378212,0x80e,0x6bf)]??'','safe':_0x34b218[_0x47956c(0x6a5,_0x48de8a._0x127966,0x69f,0x5f4)]??!![],'type':normalizeType(_0x34b218[_0x47956c(0x136,_0x48de8a._0x529cf0,0x47e,0x304)]),'hydrateMeta':_0x34b218[_0x1e4cf5(0x809,0x8b1,0x5eb,_0x48de8a._0x307ce7)]??![]};let _0x2ed8db=[],_0x43e339='unknown';for(const _0x21787c of _0x59d78d[_0x1e4cf5(0x826,_0x48de8a._0x5db688,0x6a1,_0x48de8a._0x124ffe)]){try{if(isGoogleCseEngine(_0x21787c))_0x2ed8db=await searchGoogleCse(_0x21787c,_0x3bee53,_0x254773[_0x1e4cf5(0x876,_0x48de8a._0x6584fb,0x95e,0x79a)]),_0x43e339=_0x1e4cf5(0xbd8,_0x48de8a._0x2f4127,0xb3c,_0x48de8a._0x21576e);else{if(isOllamaEngine(_0x21787c)){const _0x46fc8a=await searchOllama(_0x21787c,_0x3bee53,_0x254773[_0x1e4cf5(0x824,_0x48de8a._0x2201bd,0x820,_0x48de8a._0x2201bd)]);_0x2ed8db=_0x46fc8a[_0x1e4cf5(_0x48de8a._0x3c75f0,0x8d6,_0x48de8a._0x1dde2f,0x715)],_0x43e339=_0x46fc8a[_0x47956c(0x359,0x32f,0x50c,_0x48de8a._0x75deb1)];}else{if(isTavilyEngine(_0x21787c)){const _0x5eb2de=await searchTavily(_0x21787c,_0x3bee53,_0x254773[_0x47956c(_0x48de8a._0x44de55,0x375,_0x48de8a._0x4ce6b1,_0x48de8a._0x153e1b)]);_0x2ed8db=_0x5eb2de['items'],_0x43e339=_0x5eb2de['engine'];}}}if(_0x2ed8db[_0x1e4cf5(0xb28,0x762,_0x48de8a._0x1c89c5,_0x48de8a._0x22699c)]>0x0)break;}catch(_0xa8c5b6){if(_0x21787c===_0x59d78d[_0x47956c(0x3ec,_0x48de8a._0xb8335e,_0x48de8a._0x453851,0x26d)][_0x59d78d[_0x1e4cf5(0x5e8,0x947,0x86b,_0x48de8a._0x124ffe)]['length']-0x1])throw _0xa8c5b6;}}_0x3bee53['hydrateMeta']&&_0x2ed8db[_0x47956c(0x3b7,0x4f1,_0x48de8a._0x1831ca,_0x48de8a._0x2e5e7b)]>0x0&&(_0x2ed8db=await hydrateResults(_0x2ed8db,_0x3bee53['lang'],_0x254773[_0x1e4cf5(0x8ff,0x73c,_0x48de8a._0x3a817e,_0x48de8a._0x449999)],_0x328cf4));function _0x1e4cf5(_0xfeb7e,_0x1aea7b,_0x4f332b,_0x153ac5){return _0x290c2d(_0x153ac5-0x48a,_0xfeb7e,_0x4f332b-0x1f2,_0x153ac5-_0x404452._0x58a815);}function _0x47956c(_0x41771d,_0x212324,_0x246fdd,_0x4cd7f3){return _0x2b80c3(_0x4cd7f3,_0x212324-_0xa18fae._0xc500ec,_0x212324- -0x2d1,_0x4cd7f3-_0xa18fae._0x2975c5);}const _0x486a2d=new Set();_0x2ed8db=_0x2ed8db['filter'](_0x3e0fbd=>{const _0x1361e2={_0x16f7d8:0x52d},_0x57ec1e={_0x5106e2:0xa5,_0x25fd7c:0x30,_0x392c2d:0xdc},_0x5de5ba=_0x3e0fbd[_0x42ea1c(0x24e,0x57e,0x184,0x38f)][_0x59590b(0x851,0x667,0x82f,_0x22e35c._0x50e8e)]();function _0x59590b(_0x12db80,_0x398e64,_0x3a1f27,_0x1e721d){return _0x1e4cf5(_0x1e721d,_0x398e64-_0x57ec1e._0x5106e2,_0x3a1f27-_0x57ec1e._0x25fd7c,_0x398e64- -_0x57ec1e._0x392c2d);}function _0x42ea1c(_0x467977,_0x1d5a7b,_0x5ce99c,_0x3c3c74){return _0x1e4cf5(_0x1d5a7b,_0x1d5a7b-0x54,_0x5ce99c-0x198,_0x3c3c74- -_0x1361e2._0x16f7d8);}if(!_0x5de5ba||_0x486a2d[_0x59590b(_0x22e35c._0x448508,0x5fc,0x78e,_0x22e35c._0x561faf)](_0x5de5ba))return![];return _0x486a2d[_0x42ea1c(_0x22e35c._0x500169,_0x22e35c._0x1516e5,_0x22e35c._0x113e2f,_0x22e35c._0x37b396)](_0x5de5ba),!![];}),_0x2ed8db=_0x2ed8db[_0x1e4cf5(0xa58,_0x48de8a._0x4e73d4,_0x48de8a._0x20ddcf,_0x48de8a._0x10f0d2)]((_0x59a7aa,_0x178060)=>({..._0x59a7aa,'source':{..._0x59a7aa[_0x1e4cf5(0x8fa,0x737,0xa23,0x818)],'rank':_0x178060+0x1}}));const _0xa53491={};if(_0x3bee53[_0x1e4cf5(0x4c7,0x480,0x47e,_0x48de8a._0x65bdb0)][_0x1e4cf5(_0x48de8a._0x28f6a1,0x8da,_0x48de8a._0x1a8de6,0x916)]>0x0)_0xa53491[_0x1e4cf5(0x59e,0x579,0x587,_0x48de8a._0x65bdb0)]=_0x3bee53[_0x1e4cf5(_0x48de8a._0x6584fb,0x7e3,0x51a,0x5fd)];if(_0x3bee53['recencyDays']>0x0)_0xa53491[_0x1e4cf5(0xa88,_0x48de8a._0x493c0f,_0x48de8a._0x583bea,_0x48de8a._0x5572c1)]=_0x3bee53[_0x1e4cf5(_0x48de8a._0x59fe09,0x982,0x7fb,_0x48de8a._0x29823f)];if(_0x3bee53['lang']!=='en')_0xa53491[_0x1e4cf5(0x437,_0x48de8a._0x45a047,0x590,0x620)]=_0x3bee53[_0x47956c(0x1ba,_0x48de8a._0xbd4846,0x2b,-0x11)];if(_0x3bee53[_0x1e4cf5(_0x48de8a._0x548176,0x6ef,0x4bb,_0x48de8a._0x68683b)])_0xa53491[_0x47956c(0x138,_0x48de8a._0x497054,0x3ca,0xd7)]=_0x3bee53[_0x1e4cf5(0x6cc,0x5d6,_0x48de8a._0x28f204,_0x48de8a._0xa321ae)];return yield createToolOutput(formatResults(_0x2ed8db),{'engine':_0x43e339,'count':_0x2ed8db['length'],'items':_0x2ed8db,'query':_0x3bee53['query'],...Object['keys'](_0xa53491)[_0x1e4cf5(0x877,0x712,0x70e,_0x48de8a._0x22699c)]>0x0?{'appliedFilters':_0xa53491}:{},'offset':_0x3bee53['offset'],'totalRequested':_0x3bee53[_0x1e4cf5(_0x48de8a._0x14d01d,0x638,0x9ab,0x840)],'hydrated':_0x3bee53[_0x1e4cf5(0x7e6,0x8b2,_0x48de8a._0x42562e,0x6f5)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,DelegatedResolutionError,FILE_OBSERVATION_LIMITS,FileMutationCoordinator,FileObservationStore,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,MAX_ANCHORED_CONTENT_BYTES,MAX_ANCHORED_OPERATIONS,MAX_ANCHORED_PREVIEW_BYTES,MODEL_TIERS,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isTerminalStatus,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
|