@nuvin/agent-core 0.1.1-rc.0 → 0.2.0-rc.10
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/agent/metrics.d.ts +17 -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 -0
- package/dist/chunk-LIE76IJA.js +1 -0
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -0
- package/dist/chunk-ZHE3E26D.js +1 -0
- package/dist/formats/index.js +1 -1
- package/dist/formats/message-format.d.ts +1 -0
- package/dist/hooks/index.js +1 -1
- package/dist/lsp/client.d.ts +4 -0
- package/dist/models/chat-model.d.ts +1 -0
- package/dist/models/github-model.d.ts +2 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +1 -1
- package/dist/models/mock-model.d.ts +2 -0
- package/dist/models/model-cost.d.ts +5 -0
- package/dist/models/model-pricing-generator.d.ts +9 -0
- package/dist/models/model-pricing-products.d.ts +45 -0
- package/dist/models/model-pricing-types.d.ts +33 -0
- package/dist/models/model-pricing.d.ts +13 -0
- package/dist/models/model-pricing.generated.d.ts +23147 -0
- package/dist/models/model-registry.d.ts +8 -0
- package/dist/models/openai-surfaces.d.ts +4 -1
- package/dist/models/routed-model.d.ts +3 -0
- package/dist/shared/abort-aware-semaphore.d.ts +5 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.js +1 -1
- package/dist/shared/reasoning-config.d.ts +3 -4
- package/dist/shared/types.d.ts +98 -22
- 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 +87 -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} +4 -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-editing/file-mutation.d.ts +15 -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 -29
- package/dist/tools/index.js +1 -1
- package/dist/tools/mcp/mcp-connection-generation.d.ts +59 -0
- package/dist/tools/mcp/mcp-safe-error-provenance.d.ts +4 -0
- package/dist/tools/mcp/mcp-safe-error.d.ts +14 -0
- package/dist/tools/mcp/mcp-server-manager.d.ts +16 -0
- package/dist/tools/mcp/mcp-tool-adapter.d.ts +72 -0
- package/dist/tools/{glob-tool.d.ts → search/glob-tool.d.ts} +2 -2
- package/dist/tools/search/grep-engine.d.ts +22 -0
- package/dist/tools/{grep-tool.d.ts → search/grep-tool.d.ts} +3 -3
- package/dist/tools/{ls-tool.d.ts → search/ls-tool.d.ts} +2 -2
- package/dist/tools/{ripgrep.d.ts → search/ripgrep.d.ts} +1 -0
- 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} +2 -2
- 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/shell/background-process-registry.d.ts +116 -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} +10 -6
- 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/shell/process-tree-termination.d.ts +25 -0
- package/dist/tools/shell/terminal-output-normalizer.d.ts +6 -0
- 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 +4 -3
- package/dist/chunk-BLGBVFVX.js +0 -1
- package/dist/chunk-NYZR4XKO.js +0 -1
- package/dist/chunk-UIXQPCSN.js +0 -1
- package/dist/chunk-YWQXXHHU.js +0 -1
- package/dist/tools/background-process-registry.d.ts +0 -64
- package/dist/tools/file-edit-tool.d.ts +0 -34
- package/dist/tools/mcp-server-manager.d.ts +0 -60
- package/dist/tools/mcp-tool-adapter.d.ts +0 -47
- package/dist/tools/mock-tool-runtime.d.ts +0 -3
- package/dist/tools/runtime-manager-tools.d.ts +0 -58
- package/dist/tools/update-topic-tool.d.ts +0 -12
- package/dist/tools/workspace-paths.d.ts +0 -5
- /package/dist/tools/{mcp-oauth-provider.d.ts → mcp/mcp-oauth-provider.d.ts} +0 -0
- /package/dist/tools/{bash-internals.d.ts → shell/bash-internals.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(_0x15a9de,_0x3ab1e8){const _0x5406d4={_0x2e9d36:0x15a,_0x3ce1d2:0x251,_0x46aa52:0x323,_0x2eec70:0x103,_0x37373f:0x3ec,_0x17dfb0:0x130,_0x2135c8:0x222,_0xaeadd7:0xd2,_0xb2059d:0x2a4,_0x354668:0x15b,_0x47a8cc:0x2b,_0x3573ff:0x149,_0x25f12d:0xca},_0x1cc54b={_0x115f58:0x2be};function _0x5ba36b(_0x4c1ffa,_0x2ae2e6,_0x3e0413,_0x2a3609){return _0x4a14(_0x4c1ffa- -_0x1cc54b._0x115f58,_0x2ae2e6);}const _0x45b8e6=_0x15a9de();function _0x407b6b(_0x5e53a4,_0x263d65,_0x3b0219,_0x29da64){return _0x4a14(_0x263d65- -0x152,_0x29da64);}while(!![]){try{const _0x2d863b=parseInt(_0x407b6b(_0x5406d4._0x2e9d36,_0x5406d4._0x3ce1d2,0x1fc,_0x5406d4._0x46aa52))/0x1+parseInt(_0x5ba36b(-0x7a,-_0x5406d4._0x2eec70,-0x7c,-0x15b))/0x2+parseInt(_0x407b6b(_0x5406d4._0x37373f,0x2a5,0x1c8,_0x5406d4._0x17dfb0))/0x3+parseInt(_0x407b6b(_0x5406d4._0x2135c8,0xa6,0x1ab,-_0x5406d4._0xaeadd7))/0x4+-parseInt(_0x407b6b(0x2d9,0x15c,0x14,_0x5406d4._0xb2059d))/0x5+-parseInt(_0x5ba36b(-0x55,-_0x5406d4._0x354668,-0x34,-0x1f))/0x6*(-parseInt(_0x5ba36b(-_0x5406d4._0x47a8cc,-0x151,-0x26,0x3c))/0x7)+-parseInt(_0x5ba36b(-0xd7,-_0x5406d4._0x3573ff,-_0x5406d4._0x25f12d,0x6b))/0x8;if(_0x2d863b===_0x3ab1e8)break;else _0x45b8e6['push'](_0x45b8e6['shift']());}catch(_0x401393){_0x45b8e6['push'](_0x45b8e6['shift']());}}}(_0x551f,0x97a9a));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-UIXQPCSN.js';import{getTextFromMessage}from'../chunk-YWQXXHHU.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x1f882c from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x475ba1(0x15f,0x61,-0x9c,0x1c1),'.js':_0x511d68(0x66d,0x6e7,0x652,0x679),'.jsx':_0x511d68(0x574,0x5ed,0x735,0x5e1),'.mjs':'javascript','.cjs':_0x475ba1(0x3db,0x29a,0x2fc,0x3d2),'.mts':'typescript','.cts':_0x511d68(0x660,0x54e,0x642,0x6c8),'.json':_0x511d68(0x59c,0x4c0,0x61d,0x501),'.jsonc':_0x511d68(0x6be,0x54c,0x66b,0x65a)};function getLanguageId(_0x4eccdf){const _0x1b40cc={_0x2aa8e7:0x155,_0x48c894:0x242,_0x32b56a:0x2d2},_0x32ea05={_0x15892e:0x190,_0x2ee48d:0x13a},_0x54f15c={_0x5708f4:0x536,_0x30c46:0x1c9};function _0x12eb37(_0x4bd384,_0x2c3d21,_0x20124b,_0x4faf54){return _0x475ba1(_0x2c3d21,_0x4bd384-_0x54f15c._0x5708f4,_0x20124b-0x144,_0x4faf54-_0x54f15c._0x30c46);}function _0x3aeac7(_0x229467,_0x18af09,_0x50fb40,_0x97a02c){return _0x511d68(_0x229467-_0x32ea05._0x15892e,_0x97a02c- -0x3de,_0x50fb40-_0x32ea05._0x2ee48d,_0x229467);}return EXTENSION_TO_LANGUAGE[_0x1f882c[_0x3aeac7(_0x1b40cc._0x2aa8e7,0x2fa,0x2f4,_0x1b40cc._0x48c894)](_0x4eccdf)[_0x3aeac7(0x3bf,0x36d,_0x1b40cc._0x32b56a,0x24e)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4c685d){const _0x587f72={_0x190fce:0x484,_0x21b9d9:0x3dc},_0x55b4ea={_0x5c0626:0xb9};function _0x3dcb44(_0x4fd571,_0x374f85,_0x2cb938,_0x5c19ac){return _0x475ba1(_0x4fd571,_0x5c19ac-0x1bf,_0x2cb938-_0x55b4ea._0x5c0626,_0x5c19ac-0x150);}return pathToFileURL(_0x4c685d)[_0x3dcb44(_0x587f72._0x190fce,0x485,_0x587f72._0x21b9d9,0x30b)]();}function textDocumentPosition(_0x11724a){const _0x4ec095={_0xe02736:0x759,_0x635463:0x57a,_0x4d7300:0x6f2,_0x4721d1:0xe6,_0x461b01:0x1f4,_0x28adf5:0x5d,_0x391c97:0x8},_0x72c392={_0x3c8808:0x1db,_0x503ef3:0x3e7,_0x32250d:0x37},_0x2b023f={_0x37c14e:0x1b4};function _0x29c0fc(_0x55c580,_0x785e15,_0x40b480,_0x558efa){return _0x511d68(_0x55c580-0xd,_0x558efa-0xbf,_0x40b480-_0x2b023f._0x37c14e,_0x785e15);}function _0x5382ad(_0xd36f8,_0x43033f,_0x22dca9,_0x353129){return _0x511d68(_0xd36f8-_0x72c392._0x3c8808,_0xd36f8- -_0x72c392._0x503ef3,_0x22dca9-_0x72c392._0x32250d,_0x43033f);}return{'textDocument':{'uri':uriForPath(_0x11724a[_0x29c0fc(_0x4ec095._0xe02736,_0x4ec095._0x635463,0x6a4,_0x4ec095._0x4d7300)])},'position':{'line':_0x11724a[_0x5382ad(_0x4ec095._0x4721d1,0x25d,0x58,_0x4ec095._0x461b01)],'character':_0x11724a[_0x5382ad(_0x4ec095._0x28adf5,-_0x4ec095._0x391c97,0x167,0xf0)]}};}function normalizeLocations(_0x5bd57d){const _0x4c69ff={_0x2b14ab:0x7a1},_0x4d7ad9={_0x497028:0x2f};function _0x443ded(_0x11f055,_0xfe96c4,_0x599287,_0xa4fe97){return _0x475ba1(_0x599287,_0x11f055-0x5bb,_0x599287-_0x4d7ad9._0x497028,_0xa4fe97-0x8f);}if(!_0x5bd57d)return[];return Array[_0x443ded(0x6a7,_0x4c69ff._0x2b14ab,0x6d8,0x68a)](_0x5bd57d)?_0x5bd57d:[_0x5bd57d];}async function createLspClient(_0x440c72){const _0x24006d={_0x2a3012:0x4a0,_0xdc73b5:0x442,_0x424d90:0x605,_0x29ecba:0x1bd,_0x32e03a:0xd9,_0x3c51e3:0x35a,_0x49a22e:0xd8,_0xfb8ba:0x20e,_0x313baf:0x63c,_0x1f6d58:0x55d,_0x42c60e:0x703,_0x71666b:0x399,_0x9ac9fb:0x2dd,_0x3b54f8:0x7a0,_0x11fc24:0x706,_0x5a0ba7:0x293,_0x247a42:0x1c8,_0x364692:0x23d,_0x3e6b28:0x2ad,_0x5cc9bf:0x2da,_0x2c7d3f:0x404,_0x29ce1e:0x554,_0x19f42f:0x508,_0x76bc00:0x572,_0x1bd764:0x608,_0xa9ee29:0x6c3,_0x2123b4:0x6b,_0xe1271c:0x645,_0x3ce7a4:0x2d4,_0x22eab9:0x51e,_0x49b40d:0x57d,_0x43cd1f:0x5cc,_0x213d67:0x8a,_0x49f647:0x266,_0x37c7e7:0x486,_0x108c52:0x312,_0x2625a9:0x539,_0x6b5939:0x150,_0x15c46:0x248},_0xfc637a={_0x104d85:0x585,_0x22ce3b:0x6dc,_0x4046ea:0x7bb,_0x39397c:0x13e,_0x305d8b:0x73d,_0x200176:0x894,_0x246fd8:0x7dc,_0x1d4733:0x889,_0x3b318b:0x2fb,_0x387973:0x2a6,_0x360a53:0x2c2,_0x2dc251:0x5b,_0x3d8b6e:0x43,_0x3e2fc8:0x118,_0x9fabcf:0x50,_0x4c74eb:0x11},_0x1c6e50={_0x2ba999:0x184,_0x2d8c2e:0xb9},_0x5d6365={_0x3a5008:0x15},_0x5c0b5e={_0x2da84b:0x66,_0x19fb4d:0x1bf,_0x35b402:0x140},_0x1b9a89={_0x16082e:0x1df},_0x7de321={_0x14c1be:0x2c9,_0x20d4c3:0x27a},_0x2de85c={_0x32af44:0x196,_0x3d8242:0x5a},_0x343ee2={_0x37bfdb:0x5e0,_0x2548a0:0x3a0,_0x1e11ba:0x4ff,_0x123850:0x309,_0x4e22e6:0x2cd,_0x725ef8:0x307,_0x37ca6a:0x2ec},_0x4a23ac={_0x477d16:0x6a,_0x557369:0x13b},_0x4c62e8={_0x3781a2:0x70,_0x403c1a:0xda,_0x3e6fd:0x20,_0x288094:0x3bf,_0x2d39be:0x4ff,_0x5cb410:0x308},_0x4948cf={_0x25ebc1:0x2da,_0x160158:0xfa},_0x1c5411={_0xbdcf86:0xae,_0x3450c4:0x614,_0x22a676:0x5f3,_0x4f7a2f:0x51a},_0x5360c5={_0x4d3cfa:0x72,_0x203c41:0x51,_0x597bf1:0x7f,_0xd9c3c4:0xa8,_0x1ac6fe:0x1e},_0x7fa1b7={_0x3dfc27:0x4a},_0x4c4166={_0x5846ac:0x588,_0x9a27b2:0x69e,_0x30d4df:0x4a9,_0x275d3e:0x62c},_0x581bc2={_0x1abf34:0xba,_0x11704f:0x1a6},_0xa0f194={_0x586718:0x11a,_0xe9c33f:0x82,_0x1e8a72:0x19d,_0x217d24:0x21},_0x10bc7e={_0x43c3dc:0x7d2,_0x51e989:0x76b,_0x11e0e9:0x699,_0x4003aa:0x472,_0x3f2d63:0x4c9},_0x56a581={_0x2590b8:0x117,_0x54f1e2:0x1a9},_0xa6d4a3={_0x39798a:0x55a},_0x6192e3={_0x53e66a:0x40c,_0x1a05d2:0x2f3,_0x5d2a30:0x24b,_0x39a792:0x625,_0x315dc9:0x355,_0x476536:0x4d0},_0x38d630={_0x177fe7:0xfe},_0x20607c={_0x5b5a87:0x18e},_0x3a28ca={_0x35a517:0x24e,_0x5809ad:0x3a2,_0x3bc69d:0x2de,_0x5532b2:0x3f0,_0x4c4fcb:0x44a,_0x4c3ef8:0x4e3,_0x2965b1:0x3ac},_0x182be0={_0x4588b9:0x77,_0x1bf685:0x39},_0x476aa9={_0xa645ca:0x96b,_0x46ecf2:0x87b,_0x6e3aa9:0x986,_0x5a9c50:0x10b,_0x298c70:0x1e8,_0x36a004:0x272,_0x175abd:0x1e0,_0x4876c2:0x434,_0x254ec7:0x2d8,_0x17634f:0x202,_0x37e52a:0x89a,_0x19e060:0x81f},_0x1f298f={_0x373f53:0x114,_0x20dac9:0x56},_0x4a14bc={_0x3db31d:0x44},_0xfb2035={_0x2f19c3:0x16},_0x288a2b={_0x4e6e4d:0xce,_0x5b99f3:0xa,_0x443eb4:0xaf},_0x5cbbd8=_0x440c72[_0x5c06d6(_0x24006d._0x2a3012,_0x24006d._0xdc73b5,0x3b8,_0x24006d._0x424d90)][_0x36c30e(_0x24006d._0x29ecba,0x333,0x274,0x342)][_0x36c30e(_0x24006d._0x32e03a,0x141,0x244,_0x24006d._0x3c51e3)],_0x59e50a=_0x440c72[_0x36c30e(-0x8f,0x15d,_0x24006d._0x49a22e,_0x24006d._0xfb8ba)][_0x5c06d6(_0x24006d._0x313baf,_0x24006d._0x1f6d58,_0x24006d._0x42c60e,0x759)][_0x36c30e(_0x24006d._0x71666b,0x27c,_0x24006d._0x9ac9fb,0x18b)];if(!_0x5cbbd8||!_0x59e50a)throw new Error(_0x5c06d6(0x6b9,0x835,_0x24006d._0x3b54f8,_0x24006d._0x11fc24));const _0x709f12=createMessageConnection(new StreamMessageReader(_0x5cbbd8),new StreamMessageWriter(_0x59e50a)),_0x5a7bb0=new Map();function _0x5c06d6(_0x5439cf,_0x46995d,_0x3ef940,_0x3ab102){return _0x511d68(_0x5439cf-_0x288a2b._0x4e6e4d,_0x5439cf- -_0x288a2b._0x5b99f3,_0x3ef940-_0x288a2b._0x443eb4,_0x46995d);}const _0x24c55d=new Map();let _0x456caa=![];function _0x36c30e(_0x532d88,_0x256f05,_0x55945f,_0x52ff24){return _0x511d68(_0x532d88-0x1b4,_0x55945f- -0x3d2,_0x55945f-_0xfb2035._0x2f19c3,_0x52ff24);}_0x709f12[_0x36c30e(0x1ea,_0x24006d._0x5a0ba7,_0x24006d._0x247a42,_0x24006d._0x364692)](_0x36c30e(0x1f1,_0x24006d._0x3e6b28,_0x24006d._0x5cc9bf,0x37c),_0x392867=>{_0x5a7bb0[_0x324e3f(0x7f1,_0x476aa9._0xa645ca,_0x476aa9._0x46ecf2,_0x476aa9._0x6e3aa9)](_0x392867['uri'],_0x392867[_0x13bdde(0x3f2,0x360,0x234,0x334)]);const _0x499f73=_0x24c55d[_0x13bdde(_0x476aa9._0x5a9c50,_0x476aa9._0x298c70,_0x476aa9._0x36a004,_0x476aa9._0x175abd)](_0x392867[_0x13bdde(_0x476aa9._0x4876c2,_0x476aa9._0x254ec7,0x17b,_0x476aa9._0x17634f)]);function _0x13bdde(_0x464a15,_0xfbff6,_0x24848d,_0x3f0b53){return _0x36c30e(_0x464a15-0xb6,_0xfbff6-0x1db,_0xfbff6-_0x4a14bc._0x3db31d,_0x3f0b53);}function _0x324e3f(_0x59f78e,_0x5a4043,_0x4f5fc,_0x4c7157){return _0x5c06d6(_0x4f5fc-0x19a,_0x4c7157,_0x4f5fc-_0x1f298f._0x373f53,_0x4c7157-_0x1f298f._0x20dac9);}if(!_0x499f73)return;_0x24c55d[_0x324e3f(0x9a0,_0x476aa9._0x37e52a,_0x476aa9._0x19e060,0x82a)](_0x392867['uri']);for(const _0x375f7d of _0x499f73)_0x375f7d();}),_0x709f12[_0x5c06d6(_0x24006d._0x2c7d3f,_0x24006d._0x29ce1e,_0x24006d._0x19f42f,0x45d)]();const _0x2e6093=await _0x709f12[_0x5c06d6(_0x24006d._0x76bc00,0x6bb,0x50e,_0x24006d._0x1bd764)](_0x5c06d6(0x5c3,0x567,_0x24006d._0xa9ee29,0x568),{'processId':process[_0x36c30e(0x87,0x15c,0xe3,_0x24006d._0x2123b4)],'rootUri':uriForPath(_0x440c72[_0x5c06d6(_0x24006d._0xe1271c,0x6f4,0x5c5,0x7b6)]),'workspaceFolders':[{'uri':uriForPath(_0x440c72[_0x36c30e(_0x24006d._0x3ce7a4,0xff,0x27d,0x308)]),'name':_0x440c72[_0x5c06d6(0x45f,_0x24006d._0x22eab9,0x4d0,_0x24006d._0x49b40d)]['id']}],'initializationOptions':_0x440c72[_0x5c06d6(0x4a0,_0x24006d._0x43cd1f,0x3a3,0x408)][_0x36c30e(_0x24006d._0x213d67,0x1b7,0x1fc,0x33d)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0x36c30e(0x141,0x10c,_0x24006d._0x49f647,0x3e1)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x709f12['sendNotification'](_0x5c06d6(_0x24006d._0x37c7e7,_0x24006d._0x108c52,0x39f,_0x24006d._0x2625a9),{});const _0x74ee0f={'serverId':_0x440c72[_0x5c06d6(0x45f,0x568,0x3b3,0x4be)]['id'],'root':_0x440c72['root'],'connection':_0x709f12,'diagnostics':_0x5a7bb0,'capabilities':_0x2e6093[_0x36c30e(_0x24006d._0x6b5939,_0x24006d._0x15c46,0x18f,0x307)]??{},'notify':{async 'open'({path:_0x45a1fe}){function _0x3fea82(_0x4a8bcc,_0x431be6,_0xc132fe,_0x1f56b7){return _0x36c30e(_0x4a8bcc-0x100,_0x431be6-_0x182be0._0x4588b9,_0x431be6-_0x182be0._0x1bf685,_0x4a8bcc);}function _0x42e1ee(_0x216f0e,_0xd99dd8,_0x17fbce,_0x29edd3){return _0x36c30e(_0x216f0e-0xe8,_0xd99dd8-0x1cd,_0x17fbce-0x146,_0xd99dd8);}const _0x5940bf=await readFile(_0x45a1fe,_0x42e1ee(_0x3a28ca._0x35a517,0x3a1,_0x3a28ca._0x5809ad,0x37c));_0x709f12[_0x42e1ee(0x46b,_0x3a28ca._0x3bc69d,_0x3a28ca._0x5532b2,0x2a6)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x45a1fe),'languageId':getLanguageId(_0x45a1fe)??_0x42e1ee(_0x3a28ca._0x4c4fcb,_0x3a28ca._0x4c3ef8,_0x3a28ca._0x2965b1,0x35b),'version':0x1,'text':_0x5940bf}});},async 'change'({path:_0x19c838,version:_0x2d071b}){const _0x4435b4=await readFile(_0x19c838,_0x4c9cce(_0x6192e3._0x53e66a,0x2a5,0x2f1,0x3f7));function _0x51becb(_0x23c55f,_0x4be281,_0x345611,_0x20212e){return _0x36c30e(_0x23c55f-_0x20607c._0x5b5a87,_0x4be281-0xc0,_0x20212e-0x445,_0x23c55f);}function _0x4c9cce(_0x2f09ca,_0x392133,_0x381388,_0x3ad5aa){return _0x36c30e(_0x2f09ca-0x132,_0x392133-_0x38d630._0x177fe7,_0x392133-0x49,_0x2f09ca);}_0x709f12[_0x4c9cce(0x244,_0x6192e3._0x1a05d2,0x179,_0x6192e3._0x5d2a30)](_0x51becb(_0x6192e3._0x39a792,_0x6192e3._0x315dc9,0x640,_0x6192e3._0x476536),{'textDocument':{'uri':uriForPath(_0x19c838),'version':_0x2d071b},'contentChanges':[{'text':_0x4435b4}]});},async 'close'({path:_0x122e7a}){const _0x91e347={_0x24c8ed:0x11e};function _0x26b294(_0x336403,_0x1391d8,_0xd1cb9,_0x14b579){return _0x5c06d6(_0x14b579-0x7d,_0xd1cb9,_0xd1cb9-0x1a7,_0x14b579-0x126);}function _0x3d91a8(_0xfa03a1,_0x51c0ba,_0x362b86,_0x58c6d1){return _0x36c30e(_0xfa03a1-0x16a,_0x51c0ba-0x1a3,_0xfa03a1- -_0x91e347._0x24c8ed,_0x58c6d1);}_0x709f12[_0x3d91a8(0x18c,0x246,0x1d8,0xaf)](_0x26b294(0x639,0x4c8,_0xa6d4a3._0x39798a,0x5be),{'textDocument':{'uri':uriForPath(_0x122e7a)}});}},'request':{async 'definition'(_0x4c43ae){const _0x536c01={_0x1787ea:0x7d,_0x444d1c:0xe2};function _0x10420b(_0x210663,_0x1e5c3c,_0x556693,_0x5a42c1){return _0x5c06d6(_0x5a42c1-_0x536c01._0x1787ea,_0x556693,_0x556693-_0x536c01._0x444d1c,_0x5a42c1-0x66);}function _0x3297bd(_0x3f7f1e,_0x16a31,_0xb65e4f,_0x1ab099){return _0x36c30e(_0x3f7f1e-_0x56a581._0x2590b8,_0x16a31-_0x56a581._0x54f1e2,_0xb65e4f-0x4ac,_0x16a31);}return normalizeLocations(await _0x709f12[_0x3297bd(_0x10bc7e._0x43c3dc,_0x10bc7e._0x51e989,0x656,_0x10bc7e._0x11e0e9)](_0x3297bd(_0x10bc7e._0x4003aa,_0x10bc7e._0x3f2d63,0x5c8,0x48d),textDocumentPosition(_0x4c43ae)));},async 'references'(_0x2361d1){const _0x10cdc5={_0x16da97:0x191,_0x4fafed:0x84},_0x2d1c35={_0xd890e1:0x8,_0x52b291:0xe4};function _0x11aa5d(_0x507d63,_0x1640c8,_0x2d8a7a,_0x1cef65){return _0x36c30e(_0x507d63-_0x2d1c35._0xd890e1,_0x1640c8-_0x2d1c35._0x52b291,_0x1cef65- -0x90,_0x1640c8);}function _0x1ffcf8(_0x3a7051,_0x5d3b57,_0x56f3f4,_0x3e83a8){return _0x36c30e(_0x3a7051-_0x10cdc5._0x16da97,_0x5d3b57-0x12,_0x3a7051-_0x10cdc5._0x4fafed,_0x5d3b57);}return normalizeLocations(await _0x709f12[_0x11aa5d(0x21f,0xdb,0x212,_0xa0f194._0x586718)](_0x11aa5d(_0xa0f194._0xe9c33f,-0x50,_0xa0f194._0x1e8a72,_0xa0f194._0x217d24),{...textDocumentPosition(_0x2361d1),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x23b047){function _0x4dab73(_0x17e987,_0x44351d,_0x544077,_0x4d3050){return _0x5c06d6(_0x4d3050-_0x581bc2._0x1abf34,_0x44351d,_0x544077-_0x581bc2._0x11704f,_0x4d3050-0x66);}return await _0x709f12[_0x4dab73(_0x4c4166._0x5846ac,_0x4c4166._0x9a27b2,_0x4c4166._0x30d4df,_0x4c4166._0x275d3e)]('textDocument/hover',textDocumentPosition(_0x23b047))??null;},async 'documentSymbol'(_0x1219c9){const _0x1b9721={_0x166563:0x16c,_0x51b567:0x138};function _0x2e6e73(_0x5ae319,_0x19d0a0,_0x26c6bd,_0x542d7){return _0x36c30e(_0x5ae319-0x187,_0x19d0a0-_0x7fa1b7._0x3dfc27,_0x19d0a0-0x407,_0x542d7);}function _0x256088(_0x35bb7f,_0x461030,_0x15a9a3,_0x2f5834){return _0x36c30e(_0x35bb7f-0x4,_0x461030-_0x1b9721._0x166563,_0x461030- -_0x1b9721._0x51b567,_0x2f5834);}return await _0x709f12[_0x256088(0x110,_0x5360c5._0x4d3cfa,-0xb8,_0x5360c5._0x203c41)](_0x256088(_0x5360c5._0x597bf1,0xa1,_0x5360c5._0xd9c3c4,_0x5360c5._0x1ac6fe),{'textDocument':{'uri':uriForPath(_0x1219c9)}})??[];},async 'workspaceSymbol'(_0x3f523b){const _0x5861be={_0x5e3813:0xc3};function _0x52e9d6(_0x222755,_0xb126c6,_0x5a547c,_0x57d0f6){return _0x5c06d6(_0xb126c6- -0x4b6,_0x57d0f6,_0x5a547c-0x1ed,_0x57d0f6-0x170);}function _0x1e5a11(_0x47f6b5,_0x886af,_0x10378d,_0x4a1ea8){return _0x5c06d6(_0x10378d- -0x102,_0x886af,_0x10378d-0x51,_0x4a1ea8-_0x5861be._0x5e3813);}return await _0x709f12[_0x52e9d6(0x12c,0xbc,_0x1c5411._0xbdcf86,0x6a)](_0x1e5a11(_0x1c5411._0x3450c4,_0x1c5411._0x22a676,_0x1c5411._0x4f7a2f,0x43d),{'query':_0x3f523b})??[];},async 'implementation'(_0x505631){function _0x4ce209(_0xa08acc,_0x277aa0,_0x599e6a,_0x1386dd){return _0x36c30e(_0xa08acc-0x9a,_0x277aa0-0x179,_0x1386dd- -0x1ca,_0x277aa0);}function _0x438e09(_0xe870f4,_0x200d90,_0x510fdf,_0x25d8e0){return _0x5c06d6(_0xe870f4- -_0x4948cf._0x25ebc1,_0x510fdf,_0x510fdf-0x163,_0x25d8e0-_0x4948cf._0x160158);}return normalizeLocations(await _0x709f12[_0x4ce209(-_0x4c62e8._0x3781a2,_0x4c62e8._0x403c1a,0x10e,-_0x4c62e8._0x3e6fd)](_0x438e09(_0x4c62e8._0x288094,_0x4c62e8._0x2d39be,0x33b,_0x4c62e8._0x5cb410),textDocumentPosition(_0x505631)));},async 'prepareCallHierarchy'(_0x4dc05b){const _0x4ee91e={_0x5ce451:0x56c,_0x1eda12:0x1d9,_0x1b904b:0x1b};function _0x1658d8(_0x136e2c,_0xb65343,_0x515f93,_0x250bc2){return _0x5c06d6(_0x515f93- -_0x4ee91e._0x5ce451,_0x250bc2,_0x515f93-_0x4ee91e._0x1eda12,_0x250bc2-_0x4ee91e._0x1b904b);}return await _0x709f12[_0x1658d8(_0x4a23ac._0x477d16,_0x4a23ac._0x557369,0x6,0x106)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x4dc05b))??[];},async 'incomingCalls'(_0x59932d){const _0x73d6f5={_0xeda3db:0xd2,_0x33306c:0x1cb,_0xbe388c:0x4e5};function _0xd364fd(_0x175d5a,_0x4c7744,_0x29c19f,_0x3de711){return _0x36c30e(_0x175d5a-_0x73d6f5._0xeda3db,_0x4c7744-_0x73d6f5._0x33306c,_0x3de711-_0x73d6f5._0xbe388c,_0x4c7744);}function _0x31b682(_0x43e286,_0x599dab,_0x522a61,_0x2869cf){return _0x5c06d6(_0x43e286- -0x115,_0x2869cf,_0x522a61-0x1bd,_0x2869cf-0x118);}return await _0x709f12[_0x31b682(0x45d,_0x343ee2._0x37bfdb,_0x343ee2._0x2548a0,_0x343ee2._0x1e11ba)](_0x31b682(_0x343ee2._0x123850,_0x343ee2._0x4e22e6,_0x343ee2._0x725ef8,_0x343ee2._0x37ca6a),{'item':_0x59932d})??[];},async 'outgoingCalls'(_0x46bc97){function _0x203c83(_0x468007,_0x3b1f89,_0x248fab,_0x57d2fd){return _0x36c30e(_0x468007-0x136,_0x3b1f89-_0x2de85c._0x32af44,_0x468007-_0x2de85c._0x3d8242,_0x248fab);}return await _0x709f12[_0x203c83(0x204,_0x7de321._0x14c1be,_0x7de321._0x20d4c3,0x162)]('callHierarchy/outgoingCalls',{'item':_0x46bc97})??[];}},'waitForDiagnostics'({path:_0x2e3e77,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x1fe447={_0x319d1d:0x2b5,_0x160faf:0x36e},_0x3722e0={_0x425794:0x1b1,_0x1263dc:0x1ae,_0x4e1cda:0x71};function _0xae1b17(_0x2b8565,_0x2b1911,_0x34b9de,_0x42341f){return _0x5c06d6(_0x34b9de- -_0x3722e0._0x425794,_0x42341f,_0x34b9de-_0x3722e0._0x1263dc,_0x42341f-_0x3722e0._0x4e1cda);}function _0xb2f274(_0x136fdc,_0x556f8e,_0x3eba3f,_0x32c013){return _0x5c06d6(_0x3eba3f- -0x54c,_0x32c013,_0x3eba3f-0x77,_0x32c013-_0x1b9a89._0x16082e);}const _0x1fb4a6=uriForPath(_0x2e3e77);if(_0x5a7bb0[_0xb2f274(0x1b7,-0x88,_0x5c0b5e._0x2da84b,-0x4e)](_0x1fb4a6))return Promise[_0xb2f274(-_0x5c0b5e._0x19fb4d,-0x34,-_0x5c0b5e._0x35b402,-0x1fa)]();return new Promise(_0x132c66=>{const _0x5e520e={_0x222b43:0x4b},_0x10e9c2={_0x4b27e1:0x116,_0x2cd9d9:0x8c},_0x2de99c={_0x4b43d3:0x4b8,_0x18d67c:0x619,_0x3f4894:0x5ca,_0x5ec1e9:0x4a3,_0x3e83c2:0x347,_0x53e5bb:0x3f8,_0xe7a8e4:0x71f,_0x40a7ac:0x601,_0x563c88:0x72e},_0x1fc449={_0x3afc44:0x45},_0x384b44=setTimeout(()=>{function _0x559f7d(_0x4098ca,_0x25ec80,_0x2f25d1,_0xa98330){return _0x4a14(_0x2f25d1-0x2a6,_0x4098ca);}function _0x5cec5a(_0x2d411a,_0x13fd16,_0x1c3d33,_0x3019c2){return _0x4a14(_0x3019c2- -_0x1fc449._0x3afc44,_0x1c3d33);}const _0x521018=_0x24c55d[_0x559f7d(_0x2de99c._0x4b43d3,_0x2de99c._0x18d67c,_0x2de99c._0x3f4894,0x482)](_0x1fb4a6);_0x521018?.[_0x5cec5a(_0x2de99c._0x5ec1e9,_0x2de99c._0x3e83c2,0x472,_0x2de99c._0x53e5bb)](_0x3b1655);if(_0x521018?.[_0x559f7d(_0x2de99c._0xe7a8e4,_0x2de99c._0x40a7ac,_0x2de99c._0x563c88,0x662)]===0x0)_0x24c55d[_0x559f7d(0x65f,0x7a5,0x6e3,0x741)](_0x1fb4a6);_0x132c66();},timeoutMs),_0x3b1655=()=>{clearTimeout(_0x384b44),_0x132c66();};function _0x31b8b2(_0x2c1d46,_0x450173,_0x4c7ae1,_0x501477){return _0xae1b17(_0x2c1d46-_0x10e9c2._0x4b27e1,_0x450173-_0x10e9c2._0x2cd9d9,_0x2c1d46- -0x106,_0x4c7ae1);}const _0x4d7b5d=_0x24c55d[_0x31b8b2(_0x1fe447._0x319d1d,0x2b6,0x24a,0x17f)](_0x1fb4a6)??new Set();_0x4d7b5d[_0x31b8b2(0x2b4,0x18e,0x158,0x359)](_0x3b1655);function _0x26997f(_0xddaf26,_0x1e8e7a,_0x4b0d9e,_0x6dd149){return _0xae1b17(_0xddaf26-0x64,_0x1e8e7a-0x19f,_0x1e8e7a- -_0x5e520e._0x222b43,_0x6dd149);}_0x24c55d[_0x31b8b2(0x42a,0x4c2,_0x1fe447._0x160faf,0x2c5)](_0x1fb4a6,_0x4d7b5d);});},async 'shutdown'(){if(_0x456caa)return;_0x456caa=!![];function _0x1527d8(_0x24d68d,_0x3c01b6,_0x195fe2,_0x5d0041){return _0x36c30e(_0x24d68d-0x158,_0x3c01b6-_0x5d6365._0x3a5008,_0x5d0041- -0x41,_0x3c01b6);}function _0x25485c(_0x43ab07,_0x534f8d,_0x4e78e2,_0x2083e9){return _0x36c30e(_0x43ab07-_0x1c6e50._0x2ba999,_0x534f8d-_0x1c6e50._0x2d8c2e,_0x4e78e2-0x532,_0x43ab07);}try{await _0x709f12[_0x25485c(0x760,_0xfc637a._0x104d85,_0xfc637a._0x22ce3b,_0xfc637a._0x4046ea)](_0x1527d8(0x208,0xa6,_0xfc637a._0x39397c,0x86),null),_0x709f12[_0x25485c(_0xfc637a._0x305d8b,_0xfc637a._0x200176,_0xfc637a._0x246fd8,_0xfc637a._0x1d4733)]('exit');}catch{}finally{_0x709f12[_0x1527d8(_0xfc637a._0x3b318b,_0xfc637a._0x387973,0x2f8,_0xfc637a._0x360a53)](),_0x440c72[_0x1527d8(0x1f4,_0xfc637a._0x2dc251,-_0xfc637a._0x3d8b6e,0x97)][_0x1527d8(0x366,0x309,0x12a,0x233)][_0x1527d8(_0xfc637a._0x3e2fc8,-0x5b,_0xfc637a._0x9fabcf,-_0xfc637a._0x4c74eb)]();}}};return _0x74ee0f;}import{spawn as _0x321521}from'child_process';import{access as _0x4770d3}from'fs/promises';import _0x3c9408 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x482b2d from'os';import _0x24af4c from'path';import _0x1a869a from'which';var installPromises=new Map();function sanitizePackageName(_0x4e5fea){const _0x27ad5d={_0x1cb1de:0x40a,_0x4bea41:0x571,_0xe96d4e:0x36e,_0x4f2961:0x2c8},_0x4cfb6d={_0x434b01:0x162},_0x41772f={_0x2dfa36:0xc9,_0x2b7d06:0x34,_0x22e6e8:0x73};function _0x5b6da9(_0x530df7,_0x544901,_0x58ba9d,_0x3cf334){return _0x511d68(_0x530df7-_0x41772f._0x2dfa36,_0x530df7- -_0x41772f._0x2b7d06,_0x58ba9d-_0x41772f._0x22e6e8,_0x544901);}function _0xa50d8(_0x1a1c7a,_0x2a33de,_0x53dec4,_0x5e91fa){return _0x475ba1(_0x2a33de,_0x53dec4-_0x4cfb6d._0x434b01,_0x53dec4-0x2b,_0x5e91fa-0xa);}return _0x4e5fea[_0x5b6da9(_0x27ad5d._0x1cb1de,_0x27ad5d._0x4bea41,0x490,0x576)](/^@/,'')[_0x5b6da9(0x40a,_0x27ad5d._0xe96d4e,_0x27ad5d._0x4f2961,0x2d6)](/[/]/g,'__');}function binaryNameForPlatform(_0x3cd23c){const _0x132a56={_0x580fbe:0x537,_0x2bd3fd:0x3b2,_0x57e69b:0x455,_0x3cb470:0x3ee,_0x5ca62e:0x3f1,_0x3ffb0a:0x3a7,_0x1ab9ba:0x3a8,_0x57d627:0x3b6,_0x305532:0x4d6},_0x34baab={_0x76390a:0x3ca},_0x1bde2c={_0x4e56f9:0x81};function _0x80536b(_0x37372f,_0xb45021,_0x4d143a,_0x33334b){return _0x511d68(_0x37372f-_0x1bde2c._0x4e56f9,_0x4d143a-0xf7,_0x4d143a-0xea,_0x33334b);}function _0x1da361(_0x27500b,_0x4159d7,_0x25ed76,_0x21c35c){return _0x475ba1(_0x4159d7,_0x25ed76-_0x34baab._0x76390a,_0x25ed76-0x1c5,_0x21c35c-0x1a0);}return process[_0x1da361(_0x132a56._0x580fbe,_0x132a56._0x2bd3fd,_0x132a56._0x57e69b,_0x132a56._0x3cb470)]===_0x1da361(0x2a2,_0x132a56._0x5ca62e,_0x132a56._0x3ffb0a,0x2ff)?_0x3cd23c+_0x80536b(_0x132a56._0x1ab9ba,_0x132a56._0x57d627,0x50b,_0x132a56._0x305532):_0x3cd23c;}async function exists(_0x531757){try{return await access(_0x531757),!![];}catch{return![];}}function runNpmInstall(_0x1496ae,_0x5ccda7,_0x196813){const _0x4bd3a8={_0x4068c4:0xe3,_0xdeebe4:0x4b,_0x31f57d:0x1de,_0x1dfdf8:0xe0,_0x5a6760:0x315,_0x3c84ff:0x1e6,_0x11490b:0x241,_0x2a4ad8:0x17b};return new Promise(_0x3fd79a=>{const _0x11ab5b=spawn(_0x5b18a5(-0x13e,-0x7f,-_0x4bd3a8._0x4068c4,-_0x4bd3a8._0xdeebe4),[_0x5b18a5(-0x2e9,-0x180,-0x1c5,-0xb0),_0x3a6cb2(-0x8d,0x26,_0x4bd3a8._0x31f57d,_0x4bd3a8._0x1dfdf8),_0x1496ae,_0x5ccda7],{'env':_0x196813,'stdio':_0x3a6cb2(-0x1c6,-0x91,-_0x4bd3a8._0x5a6760,-_0x4bd3a8._0x3c84ff)});function _0x3a6cb2(_0x435037,_0x39254f,_0x842810,_0x3da821){return _0x4a14(_0x3da821- -0x3ae,_0x842810);}function _0x5b18a5(_0x377cf2,_0x35910c,_0x334508,_0x49c91e){return _0x4a14(_0x35910c- -0x35b,_0x49c91e);}_0x11ab5b['on']('error',()=>_0x3fd79a(![])),_0x11ab5b['on'](_0x3a6cb2(-0x286,-0x166,-_0x4bd3a8._0x11490b,-_0x4bd3a8._0x2a4ad8),_0x138d58=>_0x3fd79a(_0x138d58===0x0));});}function shouldDisableLspDownload(_0x3a8c6d=process['env']){const _0x48e59a={_0x5990c2:0x49b,_0xb1df1e:0x373,_0x378dfb:0x4f2,_0x166edc:0x58e},_0x453fd8={_0x4a6117:0x13d,_0x2f897a:0xec},_0x4398c0={_0x2a6e3a:0xaa,_0x346d03:0xbb};function _0x105909(_0xdf2c17,_0x366582,_0x4f7068,_0x3178e7){return _0x475ba1(_0x366582,_0x4f7068-0x267,_0x4f7068-_0x4398c0._0x2a6e3a,_0x3178e7-_0x4398c0._0x346d03);}function _0x5cc968(_0x3b8fb1,_0xc4103c,_0x2e85f2,_0x17f7c8){return _0x475ba1(_0x3b8fb1,_0x2e85f2-0x514,_0x2e85f2-_0x453fd8._0x4a6117,_0x17f7c8-_0x453fd8._0x2f897a);}const _0x35fc67=_0x3a8c6d[_0x5cc968(0x435,0x6af,0x5b2,_0x48e59a._0x5990c2)]?.[_0x105909(0x2fd,0x3d2,0x446,0x539)]();return _0x35fc67===_0x5cc968(0x5ac,_0x48e59a._0xb1df1e,_0x48e59a._0x378dfb,0x3b1)||_0x35fc67==='1'||_0x35fc67===_0x5cc968(0x433,0x623,_0x48e59a._0x166edc,0x59f)||_0x35fc67==='on';}function getLspPackageDir(_0x9dff9e){const _0x25e62e={_0x185986:0x1ba,_0x295d3a:0x170,_0x3046dd:0x1ce,_0x3674b2:0x1f7,_0x431736:0x15f,_0x1371e6:0x221,_0x15947b:0x147},_0x47b025={_0x2dfd15:0x128};function _0x49656e(_0x20dd1f,_0x4702db,_0x3d078d,_0x396b20){return _0x511d68(_0x20dd1f-_0x47b025._0x2dfd15,_0x20dd1f- -0x4d7,_0x3d078d-0xe0,_0x396b20);}function _0xd1a242(_0x383541,_0x5b4ef3,_0x59789b,_0x4fafae){return _0x475ba1(_0x4fafae,_0x59789b- -0x17,_0x59789b-0x12d,_0x4fafae-0x124);}return _0x24af4c['join'](_0x482b2d['homedir'](),_0xd1a242(_0x25e62e._0x185986,0x2dc,_0x25e62e._0x295d3a,_0x25e62e._0x3046dd),_0x49656e(0x1fb,_0x25e62e._0x3674b2,0x280,_0x25e62e._0x431736),_0x49656e(_0x25e62e._0x1371e6,_0x25e62e._0x15947b,0xca,0x352),sanitizePackageName(_0x9dff9e));}function getLspBinDir(_0xe3f788){const _0x3b1e2f={_0x386fb8:0x4dd,_0x2dee75:0x369},_0x4ce0b0={_0x18bd2c:0xcc},_0x49b509={_0x5e5743:0x165,_0x1ddb37:0x3d};function _0x42e664(_0x578bcf,_0x338269,_0x4df5e1,_0x58efbe){return _0x475ba1(_0x338269,_0x578bcf- -0x88,_0x4df5e1-_0x49b509._0x5e5743,_0x58efbe-_0x49b509._0x1ddb37);}function _0x4390da(_0x1341ef,_0x418bf7,_0x148280,_0x3463fd){return _0x475ba1(_0x418bf7,_0x3463fd-_0x4ce0b0._0x18bd2c,_0x148280-0x5a,_0x3463fd-0xa9);}return _0x24af4c[_0x42e664(0x221,0xe5,0x2d1,0x255)](getLspPackageDir(_0xe3f788),_0x4390da(_0x3b1e2f._0x386fb8,0x1e6,0x448,_0x3b1e2f._0x2dee75),'.bin');}async function findPackageBinary(_0x17532a,_0x26d3fd){const _0x50fd75={_0x3ff747:0x9,_0x4c4f57:0x9e,_0x1aaeab:0x53,_0x31f38e:0x7c6,_0x1d0b26:0x7da,_0x4c951f:0x6b8,_0x28ec13:0x759},_0x2d6ffa={_0x16c001:0x1c5},_0xcbb7b6={_0x28e3c0:0x529,_0x747474:0xce,_0xc29891:0x20};let _0x3edffc=_0x24af4c[_0x58f853(_0x50fd75._0x3ff747,-0x39,-_0x50fd75._0x4c4f57,_0x50fd75._0x1aaeab)](_0x26d3fd);function _0x4eb76a(_0x9be4d0,_0x3d39f4,_0x2c0719,_0xe38c19){return _0x475ba1(_0x2c0719,_0x3d39f4-_0xcbb7b6._0x28e3c0,_0x2c0719-_0xcbb7b6._0x747474,_0xe38c19-_0xcbb7b6._0xc29891);}const _0x22e3e3=binaryNameForPlatform(_0x17532a);function _0x58f853(_0x4ef492,_0x2e5426,_0x36f4cd,_0x4f5135){return _0x511d68(_0x4ef492-_0x2d6ffa._0x16c001,_0x36f4cd- -0x4b4,_0x36f4cd-0x137,_0x4ef492);}while(!![]){const _0x4b42bd=_0x24af4c['join'](_0x3edffc,_0x4eb76a(0x64b,_0x50fd75._0x31f38e,_0x50fd75._0x1d0b26,0x6f5),'.bin',_0x22e3e3);if(await exists(_0x4b42bd))return _0x4b42bd;const _0xefb4bd=_0x24af4c[_0x4eb76a(_0x50fd75._0x4c951f,_0x50fd75._0x28ec13,0x706,0x7ed)](_0x3edffc);if(_0xefb4bd===_0x3edffc)return void 0x0;_0x3edffc=_0xefb4bd;}}function _0x4a14(_0x45ffbf,_0x1b8f85){_0x45ffbf=_0x45ffbf-0x1b0;const _0x551f38=_0x551f();let _0x4a14fe=_0x551f38[_0x45ffbf];if(_0x4a14['SkTiAN']===undefined){var _0x5f742b=function(_0x5e9c05){const _0x406d2a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f882c='',_0x321521='';for(let _0x4770d3=0x0,_0x3c9408,_0x482b2d,_0x24af4c=0x0;_0x482b2d=_0x5e9c05['charAt'](_0x24af4c++);~_0x482b2d&&(_0x3c9408=_0x4770d3%0x4?_0x3c9408*0x40+_0x482b2d:_0x482b2d,_0x4770d3++%0x4)?_0x1f882c+=String['fromCharCode'](0xff&_0x3c9408>>(-0x2*_0x4770d3&0x6)):0x0){_0x482b2d=_0x406d2a['indexOf'](_0x482b2d);}for(let _0x1a869a=0x0,_0x45659e=_0x1f882c['length'];_0x1a869a<_0x45659e;_0x1a869a++){_0x321521+='%'+('00'+_0x1f882c['charCodeAt'](_0x1a869a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x321521);};_0x4a14['hDorEw']=_0x5f742b,_0x4a14['flROLv']={},_0x4a14['SkTiAN']=!![];}const _0x1de0d7=_0x551f38[0x0],_0x4a9211=_0x45ffbf+_0x1de0d7,_0x209453=_0x4a14['flROLv'][_0x4a9211];return!_0x209453?(_0x4a14fe=_0x4a14['hDorEw'](_0x4a14fe),_0x4a14['flROLv'][_0x4a9211]=_0x4a14fe):_0x4a14fe=_0x209453,_0x4a14fe;}async function findPathBinary(_0x2269ac,_0x28dfb1){const _0x321417={_0x2fecca:0x6f6,_0x588a6b:0x57d,_0x5117c7:0x68e,_0x2f1902:0x6f7,_0x2180e6:0x655,_0x24b4ce:0x499,_0x2b427d:0x605,_0x41e207:0xc8,_0x12c3e3:0x102,_0xdf38be:0x141},_0x3baadd={_0x50a1a0:0x105,_0x3b72bb:0x176},_0x8339fc={_0x50a56b:0x152};function _0xce6f5(_0x28487e,_0x3888d6,_0x556860,_0x16c369){return _0x475ba1(_0x16c369,_0x28487e-0x56d,_0x556860-_0x8339fc._0x50a56b,_0x16c369-0x90);}const _0x2f9382=getLspBinDir(_0x28dfb1);function _0x4a53d4(_0x48e6e9,_0x2a4320,_0x5a92e0,_0x169792){return _0x475ba1(_0x169792,_0x5a92e0- -0x89,_0x5a92e0-_0x3baadd._0x50a1a0,_0x169792-_0x3baadd._0x3b72bb);}const _0x3d4355=[_0x2f9382,process[_0xce6f5(0x63b,_0x321417._0x2fecca,_0x321417._0x588a6b,0x4fc)][_0xce6f5(_0x321417._0x5117c7,_0x321417._0x2f1902,_0x321417._0x2180e6,0x62c)]][_0xce6f5(0x5ea,_0x321417._0x24b4ce,_0x321417._0x2b427d,0x5bc)](Boolean)['join'](_0x24af4c[_0x4a53d4(_0x321417._0x41e207,_0x321417._0x12c3e3,0x1ad,_0x321417._0xdf38be)]);try{return await _0x1a869a(_0x2269ac,{'path':_0x3d4355});}catch{return void 0x0;}}async function resolvePackageBinary(_0x1b81ec){const _0x7f5500={_0x246925:0x12e,_0x36c15b:0x1db,_0x43340f:0x6fe,_0xbfe8f6:0x5ff,_0x25f2ea:0x50a,_0x33a60c:0x32,_0x11f387:0x25d,_0x237eec:0x18d,_0x3b616c:0x112,_0x25cce8:0x15c,_0x3399d1:0x192,_0x57eced:0x128,_0x27875d:0x60c,_0x54a8bd:0x48c,_0x3019ce:0x88f,_0x1e0bc9:0x7b9,_0x5c87ed:0x821,_0x21f1ac:0x75d,_0x355528:0x5ec},_0x2b6a26={_0x53e465:0x48,_0x7e1aa7:0x116,_0x33d6bb:0xb4,_0x47951f:0x699,_0x4d170a:0x779,_0x1abc3a:0x7f7,_0x22c64d:0x803,_0x57539c:0x5c0,_0x4ca170:0x67d},_0xefd88b={_0x2485d6:0x4e9,_0x39daba:0xd8},_0x4d9ba4={_0x38f5da:0x163,_0x18183e:0xce,_0x5aee37:0x1c3},_0x58a6e4={_0x1a1d0f:0x44,_0x509bb7:0x3b},_0x330aef=_0x1b81ec[_0x32ec2b(0x349,_0x7f5500._0x246925,0x24f,_0x7f5500._0x36c15b)]??_0x1b81ec[_0xabf9ec(_0x7f5500._0x43340f,_0x7f5500._0xbfe8f6,0x601,_0x7f5500._0x25f2ea)],_0x3bb47f=await findPackageBinary(_0x330aef,_0x1b81ec[_0x32ec2b(0x15c,_0x7f5500._0x33a60c,0x1c5,0x8f)]);if(_0x3bb47f)return _0x3bb47f;function _0x32ec2b(_0x1e80b4,_0x5262c5,_0x44bb75,_0x3834b4){return _0x475ba1(_0x44bb75,_0x3834b4-_0x58a6e4._0x1a1d0f,_0x44bb75-0x68,_0x3834b4-_0x58a6e4._0x509bb7);}const _0x3e86a2=await findPathBinary(_0x330aef,_0x1b81ec['packageName']);function _0xabf9ec(_0x413563,_0x145969,_0x2ab382,_0x3b9380){return _0x511d68(_0x413563-_0x4d9ba4._0x38f5da,_0x145969-_0x4d9ba4._0x18183e,_0x2ab382-_0x4d9ba4._0x5aee37,_0x3b9380);}if(_0x3e86a2)return _0x3e86a2;const _0x253478=_0x1b81ec[_0x32ec2b(_0x7f5500._0x11f387,_0x7f5500._0x237eec,-0x29,_0x7f5500._0x3b616c)]??process['env'];if(shouldDisableLspDownload(_0x253478))return void 0x0;const _0x42e88b=getLspPackageDir(_0x1b81ec[_0x32ec2b(_0x7f5500._0x25cce8,-0x3c,_0x7f5500._0x3399d1,_0x7f5500._0x57eced)]),_0x4aead0=_0x1b81ec[_0xabf9ec(0x59b,_0x7f5500._0xbfe8f6,_0x7f5500._0x27875d,_0x7f5500._0x54a8bd)]+':'+_0x330aef;let _0x48b600=installPromises['get'](_0x4aead0);!_0x48b600&&(_0x48b600=((async()=>{function _0x39ae2f(_0x31dd85,_0x30062c,_0x71f819,_0x42a3d7){return _0xabf9ec(_0x31dd85-0x31,_0x30062c- -_0xefd88b._0x2485d6,_0x71f819-_0xefd88b._0x39daba,_0x31dd85);}await mkdir(_0x42e88b,{'recursive':!![]});function _0x2ea996(_0x3095dd,_0x25e765,_0x53c6c0,_0x44e372){return _0x32ec2b(_0x3095dd-0x1ab,_0x25e765-0x163,_0x44e372,_0x53c6c0-0x50a);}const _0x42df4b=await runNpmInstall(_0x42e88b,_0x1b81ec[_0x39ae2f(-_0x2b6a26._0x53e465,_0x2b6a26._0x7e1aa7,_0x2b6a26._0x33d6bb,0x141)],_0x253478);if(!_0x42df4b)return void 0x0;const _0x289ca0=_0x24af4c[_0x2ea996(_0x2b6a26._0x47951f,_0x2b6a26._0x4d170a,_0x2b6a26._0x1abc3a,_0x2b6a26._0x22c64d)](getLspBinDir(_0x1b81ec[_0x2ea996(_0x2b6a26._0x57539c,0x4b5,0x632,_0x2b6a26._0x4ca170)]),binaryNameForPlatform(_0x330aef));return await exists(_0x289ca0)?_0x289ca0:void 0x0;})()),installPromises[_0xabf9ec(_0x7f5500._0x3019ce,_0x7f5500._0x1e0bc9,0x8c3,0x6f6)](_0x4aead0,_0x48b600));try{return await _0x48b600;}catch{return void 0x0;}finally{installPromises[_0xabf9ec(_0x7f5500._0x5c87ed,_0x7f5500._0x21f1ac,0x6c0,_0x7f5500._0x355528)](_0x4aead0);}}var TYPESCRIPT_EXTENSIONS=[_0x475ba1(0x137,0x1a,-0xd5,-0x10b),_0x475ba1(0xf1,0xdf,0xe0,0xe3),_0x475ba1(0x6f,-0x30,0x52,0x68),_0x511d68(0x421,0x55b,0x3f4,0x3f4),_0x475ba1(0x268,0x2ad,0x420,0x26e),'.cjs',_0x511d68(0x5cb,0x4d0,0x588,0x49d),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x511d68(0x80b,0x689,0x7b3,0x652),_0x475ba1(0x9c,0x74,0x12b,0x69)],TYPESCRIPT_ROOT_MARKERS=[_0x511d68(0x317,0x49b,0x552,0x5a6),_0x511d68(0x3a9,0x4e6,0x3d8,0x62a),'bun.lock',_0x511d68(0x79e,0x687,0x725,0x59d),_0x511d68(0x6f8,0x6fe,0x668,0x833),'tsconfig.json','jsconfig.json',_0x511d68(0x4fb,0x4a4,0x34d,0x5c0)],BIOME_ROOT_MARKERS=[_0x475ba1(0x7f,0x82,-0xf7,-0x35),_0x511d68(0x4e2,0x48e,0x550,0x3c1),_0x475ba1(-0xda,0x4e,0x164,0x74),_0x475ba1(-0xa6,0x99,-0x84,0xb0),_0x511d68(0x66f,0x5b0,0x69d,0x509),_0x511d68(0x7e2,0x687,0x5bb,0x771),_0x511d68(0x611,0x6fe,0x618,0x757),_0x475ba1(0x193,0x57,-0x11f,0x19b)];async function exists2(_0x5ac77a){try{return await _0x4770d3(_0x5ac77a),!![];}catch{return![];}}async function findUp(_0x40bcf5,_0x3905e7){const _0x444765={_0x36b94b:0x675,_0x416a03:0x56d,_0x28177b:0x461,_0x167e97:0x5e5,_0x11d16c:0xe},_0xc98020={_0x4e981c:0x1b2},_0x581171={_0x22a4bb:0x27,_0x798659:0x6d};let _0x50a434=_0x3c9408['resolve'](_0x40bcf5);const _0x2c8bfb=_0x3c9408['extname'](_0x50a434);function _0x4e926a(_0x6de684,_0x545047,_0x35ee24,_0x41898b){return _0x475ba1(_0x6de684,_0x41898b- -0xcf,_0x35ee24-_0x581171._0x22a4bb,_0x41898b-_0x581171._0x798659);}function _0x6dd857(_0x31223b,_0x28dda0,_0x30d8d4,_0x4f758d){return _0x511d68(_0x31223b-0x3a,_0x4f758d- -0x98,_0x30d8d4-_0xc98020._0x4e981c,_0x30d8d4);}if(_0x2c8bfb)_0x50a434=_0x3c9408[_0x6dd857(_0x444765._0x36b94b,_0x444765._0x416a03,_0x444765._0x28177b,_0x444765._0x167e97)](_0x50a434);while(!![]){for(const _0x452df5 of _0x3905e7){if(await exists2(_0x3c9408['join'](_0x50a434,_0x452df5)))return _0x50a434;}const _0x180d56=_0x3c9408[_0x4e926a(_0x444765._0x11d16c,0x1de,0x2d8,0x161)](_0x50a434);if(_0x180d56===_0x50a434)return void 0x0;_0x50a434=_0x180d56;}}async function hasDenoRoot(_0x453cdb){const _0x4daf03={_0x36db51:0xa1,_0x26629c:0x895,_0x22fe63:0x69d,_0x3106b4:0x6ba},_0x2f22b1={_0x52896c:0x91},_0x459fb2={_0x203fb8:0x600};function _0x5b6da3(_0x22a70f,_0x490926,_0x185143,_0x25a416){return _0x511d68(_0x22a70f-0x186,_0x185143- -_0x459fb2._0x203fb8,_0x185143-0xa5,_0x25a416);}function _0x6279(_0x435081,_0x157d50,_0x49ce77,_0x5361db){return _0x511d68(_0x435081-0x13b,_0x435081-_0x2f22b1._0x52896c,_0x49ce77-0x11d,_0x49ce77);}return await exists2(_0x3c9408['join'](_0x453cdb,_0x5b6da3(_0x4daf03._0x36db51,-0x5b,0x71,-0x87)))||await exists2(_0x3c9408[_0x6279(0x787,0x726,0x707,_0x4daf03._0x26629c)](_0x453cdb,_0x6279(0x68c,0x566,_0x4daf03._0x22fe63,_0x4daf03._0x3106b4)));}async function resolveTsserverPath(_0x34008a){const _0x45fd85={_0x14c228:0x275,_0x599885:0x2f7,_0x3230f9:0x5b5,_0x1f4627:0x4a5,_0xcd4d0e:0x488,_0x18e5b1:0x1d5,_0x1b123f:0x2cd,_0x3d2cd0:0x491,_0x18a930:0x24c,_0xf0256a:0x39e,_0x1694cd:0x485,_0xefa2d3:0x39e,_0x4ec73a:0x3d6,_0x3ac5e6:0x39f,_0xefa9c6:0x37d,_0x51375d:0x439,_0x5eb1fb:0xfa,_0x369d48:0x21e,_0x4ec263:0x26a,_0x1f34cb:0x3cf},_0x14f930={_0x5659a4:0x10a},_0x1abcf1={_0x1cbdf8:0x1ca};let _0x5ac106=_0x3c9408['resolve'](_0x34008a);while(!![]){const _0x5a673c=_0x3c9408[_0x2b4f10(0x37d,0x28e,_0x45fd85._0x14c228,_0x45fd85._0x599885)](_0x5ac106,_0x205843(0x5aa,_0x45fd85._0x3230f9,_0x45fd85._0x1f4627,_0x45fd85._0xcd4d0e),_0x2b4f10(_0x45fd85._0x18e5b1,0x325,0x25c,_0x45fd85._0x1b123f),_0x205843(0x2bc,_0x45fd85._0x3d2cd0,0x3b8,0x49d),_0x205843(_0x45fd85._0x18a930,0x2ce,_0x45fd85._0xf0256a,_0x45fd85._0x1694cd));if(await exists2(_0x5a673c))return _0x5a673c;const _0x9b358f=_0x3c9408['dirname'](_0x5ac106);if(_0x9b358f===_0x5ac106)break;_0x5ac106=_0x9b358f;}const _0x3568f4=getLspPackageDir('typescript');function _0x205843(_0x215853,_0x5b0f26,_0x135989,_0x440c8e){return _0x475ba1(_0x5b0f26,_0x135989-0x208,_0x135989-_0x1abcf1._0x1cbdf8,_0x440c8e-0xd1);}function _0x2b4f10(_0x456796,_0x2ff98,_0x4fbfa6,_0xf723f8){return _0x511d68(_0x456796-_0x14f930._0x5659a4,_0x456796- -0x379,_0x4fbfa6-0x1,_0xf723f8);}const _0x4e5750=await resolvePackageBinary({'packageName':_0x205843(_0x45fd85._0xefa2d3,_0x45fd85._0x4ec73a,0x309,_0x45fd85._0x3ac5e6),'binaryName':'tsc','startDir':_0x34008a});if(!_0x4e5750)return void 0x0;const _0x258520=_0x3c9408[_0x2b4f10(_0x45fd85._0xefa9c6,0x203,0x426,_0x45fd85._0x51375d)](_0x3568f4,'node_modules',_0x2b4f10(_0x45fd85._0x18e5b1,0x2fa,_0x45fd85._0x5eb1fb,_0x45fd85._0x369d48),'lib',_0x2b4f10(_0x45fd85._0x4ec263,0x168,_0x45fd85._0x1f34cb,0x2fd));return await exists2(_0x258520)?_0x258520:void 0x0;}var TypeScriptServer={'id':_0x475ba1(0x14c,0x101,0x216,-0x1a),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x51db74){const _0x295d4b=await findUp(_0x51db74,TYPESCRIPT_ROOT_MARKERS);if(!_0x295d4b)return void 0x0;return await hasDenoRoot(_0x295d4b)?void 0x0:_0x295d4b;},async 'spawn'(_0x13f0a1){const _0x7c0853={_0x19394f:0x38c,_0x410546:0x4b5,_0x211628:0x432,_0x9ec0c4:0x61f,_0x45de4c:0x52d,_0x12cd5e:0x442,_0x54808c:0x2e1},_0x23e5fe={_0x480d5b:0x8d},_0x41cdf1={_0x4e0e11:0x148,_0x16e3b3:0xaf},_0x3aaa7f=await resolveTsserverPath(_0x13f0a1);function _0x1d3a41(_0x8a8d2a,_0x53f298,_0x2d3268,_0x58ca9d){return _0x511d68(_0x8a8d2a-_0x41cdf1._0x4e0e11,_0x53f298- -0x7f,_0x2d3268-_0x41cdf1._0x16e3b3,_0x2d3268);}if(!_0x3aaa7f)return void 0x0;const _0x3d11da=await resolvePackageBinary({'packageName':_0x1d3a41(_0x7c0853._0x19394f,_0x7c0853._0x410546,0x439,0x5c5),'binaryName':_0x1d3a41(_0x7c0853._0x211628,0x4b5,_0x7c0853._0x9ec0c4,_0x7c0853._0x45de4c),'startDir':_0x13f0a1});function _0x164b8e(_0x211271,_0x586c38,_0x4d3b19,_0x1da628){return _0x475ba1(_0x4d3b19,_0x1da628-_0x23e5fe._0x480d5b,_0x4d3b19-0xed,_0x1da628-0x146);}if(!_0x3d11da)return void 0x0;return{'process':_0x321521(_0x3d11da,[_0x1d3a41(_0x7c0853._0x12cd5e,0x3c1,0x35b,_0x7c0853._0x54808c)],{'cwd':_0x13f0a1,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x3aaa7f}}};}},BiomeServer={'id':_0x475ba1(0x128,-0xa,0x10e,0x117),'name':_0x475ba1(0xec,0x94,0x1fa,0x10),'extensions':BIOME_EXTENSIONS,async 'root'(_0x102a14){return findUp(_0x102a14,BIOME_ROOT_MARKERS);},async 'spawn'(_0x21444b){const _0xbaa57b={_0x46de94:0xb9,_0x532f6d:0x237,_0x5b799b:0x24,_0x5a7845:0x1fa,_0x1a8513:0x352,_0x2ee88f:0x173,_0x2cf9d8:0x41,_0x550cad:0x142,_0x1a97a0:0x16f},_0x12a92b={_0x55cb25:0x3ff},_0x2764cf={_0x64d9ed:0x102},_0x423769=await findPackageBinary('biome',_0x21444b)??await resolvePackageBinary({'packageName':_0x48d972(_0xbaa57b._0x46de94,0x83,_0xbaa57b._0x532f6d,_0xbaa57b._0x5b799b),'binaryName':_0x48d972(0x44,-0x9b,0x1b5,0x68),'startDir':_0x21444b});function _0x31f9b7(_0x321101,_0x5a54f3,_0x1a2450,_0x5b5ee9){return _0x475ba1(_0x5b5ee9,_0x1a2450-0x149,_0x1a2450-0x116,_0x5b5ee9-_0x2764cf._0x64d9ed);}function _0x48d972(_0x4d98c1,_0x169c04,_0x2c8c24,_0x34ec9a){return _0x511d68(_0x4d98c1-0x140,_0x4d98c1- -_0x12a92b._0x55cb25,_0x2c8c24-0x1c0,_0x34ec9a);}if(!_0x423769)return void 0x0;return{'process':_0x321521(_0x423769,[_0x48d972(_0xbaa57b._0x5a7845,0x25b,_0xbaa57b._0x1a8513,_0xbaa57b._0x2ee88f),_0x48d972(_0xbaa57b._0x2cf9d8,0xa0,_0xbaa57b._0x550cad,_0xbaa57b._0x1a97a0)],{'cwd':_0x21444b,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x594847){const _0x217032={_0x1c7d58:0x1a8,_0x131cd9:0x261,_0x530354:0x2f9,_0x2687dc:0xf2,_0x222937:0x197,_0x4ad9f5:0x17b},_0x360e5d={_0x429a0d:0xc4},_0x349f93={_0x5e262d:0x119},_0x2044fc=_0x3c9408[_0x3258a9(_0x217032._0x1c7d58,-0x40,0x10f,0x120)](_0x594847)[_0x1c897c(_0x217032._0x131cd9,0x442,_0x217032._0x530354,0x439)]();function _0x1c897c(_0x539fd4,_0x4becc0,_0xdbb065,_0x49f5cc){return _0x475ba1(_0x539fd4,_0xdbb065-0x11a,_0xdbb065-_0x349f93._0x5e262d,_0x49f5cc-0x138);}function _0x3258a9(_0x4bfb9b,_0x369cbb,_0x44a4f4,_0x1d8a61){return _0x475ba1(_0x1d8a61,_0x44a4f4- -_0x360e5d._0x429a0d,_0x44a4f4-0x1ca,_0x1d8a61-0x96);}return BUILTIN_LSP_SERVERS[_0x1c897c(_0x217032._0x2687dc,0x14,_0x217032._0x222937,_0x217032._0x4ad9f5)](_0x451920=>_0x451920['extensions'][_0x3258a9(-0x133,-0x1b9,-0x9a,-0xd9)](_0x2044fc));}function stateKey(_0x436418,_0x46e2d7){return _0x46e2d7+':'+_0x436418['id'];}function diagnosticsKeyToPath(_0x4dd2e4){const _0x222175={_0x530998:0x2e8,_0x5bc0da:0x1e1},_0x503759={_0x5980b1:0x2da,_0x5c8f2b:0x2e};function _0x562288(_0x5220fb,_0x92cdab,_0x267189,_0x291ba0){return _0x475ba1(_0x291ba0,_0x92cdab-_0x503759._0x5980b1,_0x267189-_0x503759._0x5c8f2b,_0x291ba0-0x28);}if(!_0x4dd2e4[_0x562288(0x2c4,0x31f,_0x222175._0x530998,_0x222175._0x5bc0da)]('file://'))return _0x4dd2e4;return fileURLToPath(_0x4dd2e4);}function nextFileVersion(_0x41741e,_0x35713a){const _0x4f0dce={_0x2e269b:0x320,_0x4e1493:0x381,_0x33baf9:0x31d,_0x22feef:0x242,_0x9c732e:0x20e,_0x3ac523:0x164,_0xe3ad80:0x156},_0x2eef3d={_0x3d19f2:0x539},_0x5799a5={_0x51aaf6:0x1dd,_0x451346:0x368},_0x271271=(_0x41741e[_0x5187c2(_0x4f0dce._0x2e269b,_0x4f0dce._0x4e1493,0x22b,_0x4f0dce._0x33baf9)][_0x5187c2(0x2ef,_0x4f0dce._0x22feef,_0x4f0dce._0x9c732e,0x119)](_0x35713a)??0x1)+0x1;function _0x5187c2(_0x403d5e,_0x2dd438,_0xd5809d,_0x30e867){return _0x511d68(_0x403d5e-_0x5799a5._0x51aaf6,_0xd5809d- -_0x5799a5._0x451346,_0xd5809d-0x10c,_0x30e867);}function _0x442a7f(_0x1342e0,_0x13b63c,_0x5ec821,_0x305dd1){return _0x475ba1(_0x13b63c,_0x1342e0-_0x2eef3d._0x3d19f2,_0x5ec821-0x19a,_0x305dd1-0x144);}return _0x41741e[_0x5187c2(_0x4f0dce._0x3ac523,0x2aa,0x22b,_0x4f0dce._0xe3ad80)]['set'](_0x35713a,_0x271271),_0x271271;}async function collectClientResults(_0x5ea9c0){const _0x4d8b6f={_0x3c1548:0x737,_0x442eeb:0x741,_0x3fbd90:0x659},_0x36f47a={_0x3801a2:0x2,_0x35c0ff:0xa2,_0x1d8a11:0x115};function _0x357a78(_0x4cd4dc,_0x3700a1,_0x1d4b98,_0x418f9d){return _0x511d68(_0x4cd4dc-0x6d,_0x1d4b98-0x179,_0x1d4b98-0xde,_0x4cd4dc);}const _0x2d3295=await Promise[_0x357a78(0x5e9,_0x4d8b6f._0x3c1548,0x723,0x7ca)](_0x5ea9c0);function _0xcaeab2(_0x3267f1,_0x3138a1,_0x592ca7,_0x4019da){return _0x511d68(_0x3267f1-_0x36f47a._0x3801a2,_0x4019da-_0x36f47a._0x35c0ff,_0x592ca7-_0x36f47a._0x1d8a11,_0x592ca7);}return _0x2d3295[_0x357a78(0x6f0,_0x4d8b6f._0x442eeb,_0x4d8b6f._0x3fbd90,0x67b)](_0x19fe1f=>_0x19fe1f[_0x357a78(0x6d6,0x635,0x777,0x8c2)]===_0xcaeab2(0x823,0x7d7,0x65b,0x6cd)?_0x19fe1f[_0x357a78(0x859,0x68b,0x72c,0x807)]:[]);}function createLspService(_0x4e105b={}){const _0x22bfc4={_0x13ea21:0x219,_0x11ea09:0xe8},_0xe026b5={_0x1c382a:0x361,_0x184da6:0x1e8,_0x10607c:0x9b,_0x39a7d4:0x27e,_0x158d28:0x1a7,_0x4639a7:0xbf,_0x5a23ed:0x18d,_0x50edd5:0x88,_0xe37380:0x12e,_0x34463d:0x48,_0x4df360:0x5d4,_0x112c0b:0x36,_0x18cf64:0x128,_0xa7640b:0xdc,_0x1c8711:0x1a8,_0xc36040:0x8b,_0x405f74:0x2ba,_0x1fbe61:0x26e,_0x212fa7:0x13f,_0x411bc5:0x62,_0x537cc9:0xf6},_0x1c7935={_0x29c68f:0x2b5,_0x22fa7c:0x36c,_0x49eefe:0x343},_0x1e2f80={_0x45495c:0x24d,_0x46d362:0x17d},_0x41cc50={_0x1f716d:0x41},_0x47e7b7={_0x4d7a62:0x475,_0x14f9cd:0x5b8},_0x305698={_0x2ce816:0x2cf},_0x26a2be={_0x5d6f33:0x627,_0x239875:0x4ec,_0xb58ff:0x72b},_0x196ba2={_0x53b515:0x2b0},_0x4eda17={_0x46ad68:0xc8},_0x35a3d4={_0x59d11c:0x115,_0x29ff21:0x264,_0x3d1eb4:0x29c,_0x13c2f9:0x118},_0x58efab={_0x202ced:0x9d},_0x4ebd82={_0x4276b0:0x42f,_0x421665:0x396,_0x228bbe:0x63a,_0x1b9d3e:0x42e,_0x2ae0d7:0x196,_0x227f3c:0x244},_0x5974a9={_0x4db870:0x6f7},_0x4dbe51={_0x2a9430:0xd9,_0x31dd6f:0xa,_0x51205f:0x127},_0x50356d={_0x4013ae:0x2e5,_0x12eb90:0xff},_0x153c74={_0x3a399a:0x3b9,_0x2d51ae:0x520},_0x4e9b4b={_0x5078fe:0x1d7,_0x2b768c:0x250,_0x1c7e78:0xf4,_0x316914:0xdc,_0x1aaf99:0x16a},_0x334fe3={_0x23f544:0x94},_0x2befa8={_0x7db4c8:0x3b0},_0x1e5c1c={_0x273146:0x28,_0x1a29d7:0x190},_0x4266ad={_0x2128bb:0x30a},_0x20e18e={_0x4998b7:0x560,_0x44bcb9:0x5f3,_0x3e56c1:0x658},_0xe98afb={_0x124e54:0x44,_0x4c2ce9:0x9f,_0x40aa5d:0xd7,_0x48b5ed:0xe,_0x599f80:0x10b,_0x47ec88:0x42,_0x239d4c:0x2c,_0x180a02:0xb0,_0x313bfe:0xd7,_0x4a40d2:0xae,_0x4ab4ad:0x9e,_0x4723d2:0x8,_0x1b4655:0x17f,_0x4f7442:0x260,_0x40c759:0x163,_0xd65451:0xee,_0x328380:0x46,_0x7ff1f6:0x8f,_0x5cc0dc:0xba},_0x4d6cb3={_0x3845b8:0x357},_0xaa3d1f={_0x173509:0x1ef,_0x290d44:0xa7,_0x6b1c35:0x2f2,_0x4f7099:0x4e3,_0x2a3e4e:0x3aa,_0x7e8dad:0x2b2,_0x15d30c:0x2ff,_0x1e3f74:0xd1,_0x191eb9:0x28c,_0x5a3794:0x88,_0x3e5b32:0xeb,_0x2b2f9d:0x4b,_0x56ac31:0x448,_0xb877c8:0x296,_0x4abb50:0x497,_0x1acace:0x31c},_0x403ab9={_0x19de04:0x157},_0x31ace1={_0x27e8f6:0x118,_0x2f2a0a:0x1c7,_0x5e5be8:0x7d,_0x593707:0x55,_0x119e61:0x719,_0x270dd9:0x7f1,_0x3241df:0x897,_0x3a8cbd:0x7fa,_0x44eff6:0x79d,_0x517088:0x60a,_0x1c5ff2:0x7e1,_0x5311da:0x283,_0x5bb79a:0xe4},_0x4ba4c0={_0x30d8bb:0x2a8,_0x4197ac:0x49f,_0x4c5220:0x328,_0x460257:0x3ef,_0x3f9bf7:0x38,_0x3bac5f:0x30,_0x6afb6d:0x7,_0x50bc1a:0xe8,_0x672eef:0x4de,_0x5177d6:0x334,_0x368f03:0x41f,_0x563f2c:0x585,_0x405ad2:0x2d1,_0x7df3f0:0x30,_0x3b540c:0xa2,_0x5be02d:0x27a,_0x5b82b8:0x12b,_0x40985c:0x117,_0x87c4f0:0xf1,_0xeba7b1:0x3f3,_0x520410:0x3e0,_0x454800:0x101,_0x2074fb:0x12c},_0x12d967={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1a1459=()=>_0x4e105b['enabled']!==![];async function _0x48943a(_0x3fbc2b,_0x4903f9){const _0x304818={_0xeb8aa2:0x17f},_0x163e41={_0x1d6426:0x1ee},_0x3ebe62={_0x8ad340:0x264},_0x4464c3={_0x2bbdf2:0x2ff},_0x42dc9f=stateKey(_0x3fbc2b,_0x4903f9),_0x4b4474=_0x12d967[_0x5d7d0e(_0x31ace1._0x27e8f6,_0x31ace1._0x2f2a0a,_0x31ace1._0x5e5be8,_0x31ace1._0x593707)][_0x12a389(0x63c,0x872,_0x31ace1._0x119e61,_0x31ace1._0x270dd9)](_0x1e995d=>_0x1e995d[_0x5d7d0e(0x17a,0xbb,0x241,0x207)]===_0x3fbc2b['id']&&_0x1e995d['root']===_0x4903f9);if(_0x4b4474)return _0x4b4474;function _0x12a389(_0xc7b9ab,_0x216af2,_0x2af6bb,_0x542802){return _0x4a14(_0x2af6bb-_0x4464c3._0x2bbdf2,_0xc7b9ab);}function _0x5d7d0e(_0x540b0d,_0x46954e,_0x2b9f25,_0x1f23fb){return _0x4a14(_0x2b9f25- -_0x3ebe62._0x8ad340,_0x540b0d);}if(_0x12d967[_0x12a389(_0x31ace1._0x3241df,0x7f2,0x73b,_0x31ace1._0x3a8cbd)][_0x12a389(_0x31ace1._0x44eff6,_0x31ace1._0x517088,0x669,_0x31ace1._0x1c5ff2)](_0x42dc9f))return void 0x0;const _0x47c954=_0x12d967[_0x5d7d0e(_0x31ace1._0x5311da,0x24d,0x177,0x85)][_0x12a389(0x780,0x5ef,0x623,0x72a)](_0x42dc9f);if(_0x47c954)return _0x47c954;const _0x14be7a=((async()=>{function _0x58914e(_0x12549d,_0x3b13b5,_0x53a8be,_0x31c7c9){return _0x5d7d0e(_0x12549d,_0x3b13b5-0x96,_0x3b13b5- -0xad,_0x31c7c9-_0x163e41._0x1d6426);}function _0x561496(_0x293dd8,_0x5ed884,_0x521dcc,_0x49d51d){return _0x5d7d0e(_0x293dd8,_0x5ed884-_0x304818._0xeb8aa2,_0x521dcc-0x269,_0x49d51d-0x159);}try{const _0xb20498=await _0x3fbc2b['spawn'](_0x4903f9);if(!_0xb20498)return _0x12d967['broken'][_0x561496(_0x4ba4c0._0x30d8bb,_0x4ba4c0._0x4197ac,_0x4ba4c0._0x4c5220,_0x4ba4c0._0x460257)](_0x42dc9f),void 0x0;const _0x3096bc=await createLspClient({'server':_0x3fbc2b,'root':_0x4903f9,'handle':_0xb20498}),_0x321587=_0x12d967[_0x58914e(_0x4ba4c0._0x3f9bf7,-_0x4ba4c0._0x3bac5f,-_0x4ba4c0._0x6afb6d,-_0x4ba4c0._0x50bc1a)][_0x561496(_0x4ba4c0._0x672eef,_0x4ba4c0._0x5177d6,_0x4ba4c0._0x368f03,_0x4ba4c0._0x563f2c)](_0x2191a1=>_0x2191a1[_0x561496(0x33a,0x358,0x4aa,0x32c)]===_0x3fbc2b['id']&&_0x2191a1[_0x58914e(0x32,0xec,0x121,-0x92)]===_0x4903f9);if(_0x321587)return await _0x3096bc[_0x561496(0x368,_0x4ba4c0._0x405ad2,0x24c,0x145)](),_0x321587;return _0x12d967[_0x58914e(-0x61,-_0x4ba4c0._0x7df3f0,-0x144,_0x4ba4c0._0x3b540c)]['push'](_0x3096bc),_0x3096bc;}catch{return _0x12d967[_0x58914e(_0x4ba4c0._0x5be02d,_0x4ba4c0._0x5b82b8,0x21,_0x4ba4c0._0x40985c)][_0x58914e(-_0x4ba4c0._0x87c4f0,0x12,0x131,-0x41)](_0x42dc9f),void 0x0;}finally{_0x12d967[_0x561496(0x435,_0x4ba4c0._0xeba7b1,_0x4ba4c0._0x520410,0x3dc)][_0x58914e(_0x4ba4c0._0x454800,_0x4ba4c0._0x2074fb,0xf4,0xa1)](_0x42dc9f);}})());return _0x12d967[_0x5d7d0e(_0x31ace1._0x5bb79a,0x1df,0x177,0x26c)]['set'](_0x42dc9f,_0x14be7a),_0x14be7a;}async function _0x4726df(_0x48c9a5,_0x2cc3c5){const _0x5ef1a2={_0x22b502:0x24d};if(!_0x1a1459())return[];const _0x2f55b2=[];function _0xefaa9d(_0x572acf,_0x55d748,_0xda488b,_0x2a2c66){return _0x4a14(_0x572acf- -_0x5ef1a2._0x22b502,_0x55d748);}function _0x96c24(_0x2ade7b,_0x4ca509,_0x3b8e90,_0x1560c8){return _0x4a14(_0x1560c8-_0x403ab9._0x19de04,_0x2ade7b);}for(const _0x3b8a34 of getServersForFile(_0x48c9a5)){const _0x2336a8=await _0x3b8a34['root'](_0x48c9a5);if(!_0x2336a8)continue;const _0x13d4a5=stateKey(_0x3b8a34,_0x2336a8);if(_0x12d967[_0xefaa9d(_0xaa3d1f._0x173509,0x1d1,_0xaa3d1f._0x290d44,_0xaa3d1f._0x6b1c35)][_0x96c24(_0xaa3d1f._0x4f7099,0x57f,0x5ed,0x4c1)](_0x13d4a5))continue;const _0x171641=_0x12d967[_0x96c24(_0xaa3d1f._0x2a3e4e,_0xaa3d1f._0x7e8dad,_0xaa3d1f._0x15d30c,0x438)][_0xefaa9d(0x1cd,_0xaa3d1f._0x1e3f74,0x134,_0xaa3d1f._0x191eb9)](_0x1e1abf=>_0x1e1abf[_0xefaa9d(0x258,0x1ef,0x22e,0x196)]===_0x3b8a34['id']&&_0x1e1abf[_0x96c24(0x4eb,0x69a,0x415,0x554)]===_0x2336a8);if(_0x171641){_0x2f55b2[_0xefaa9d(-_0xaa3d1f._0x5a3794,-0xfe,-_0xaa3d1f._0x3e5b32,_0xaa3d1f._0x2b2f9d)](_0x171641);continue;}if(!_0x2cc3c5)continue;const _0x2bdd85=await _0x48943a(_0x3b8a34,_0x2336a8);if(_0x2bdd85)_0x2f55b2[_0x96c24(_0xaa3d1f._0x56ac31,_0xaa3d1f._0xb877c8,_0xaa3d1f._0x4abb50,_0xaa3d1f._0x1acace)](_0x2bdd85);}return _0x2f55b2;}async function _0x590a2a(_0x24798a,_0x59e57c=![]){const _0x598f1a={_0xca8893:0x74};function _0x19fc58(_0x3e33e4,_0x18fa4a,_0x34e064,_0x5effe4){return _0x4a14(_0x3e33e4-0x309,_0x18fa4a);}function _0x35e280(_0x3e7843,_0x46ae55,_0x525389,_0x1e4e9e){return _0x4a14(_0x525389-_0x4d6cb3._0x3845b8,_0x3e7843);}const _0xa93bbf=await _0x4726df(_0x24798a,!![]);await Promise[_0x19fc58(_0x20e18e._0x4998b7,0x69d,0x602,_0x20e18e._0x44bcb9)](_0xa93bbf[_0x35e280(0x60a,0x61c,_0x20e18e._0x3e56c1,0x56a)](async _0x5e4ebb=>{const _0x555faa={_0x1c795a:0x88};!_0x12d967[_0x1cc920(0x188,0xb2,0xf7,-0xae)][_0x1cc920(-0xee,_0xe98afb._0x124e54,0x90,-0x12b)](_0x5e4ebb[_0x1cc920(0x113,0x17f,0x217,_0xe98afb._0x4c2ce9)]+':'+_0x5e4ebb[_0x1cc920(0xda,_0xe98afb._0x40aa5d,-_0xe98afb._0x48b5ed,_0xe98afb._0x599f80)]+':'+_0x24798a)&&(await _0x5e4ebb[_0x1cc920(-_0xe98afb._0x47ec88,0x46,0x1aa,-0xf7)][_0x1cc920(_0xe98afb._0x239d4c,-0x3a,-0x151,-_0xe98afb._0x180a02)]({'path':_0x24798a}),_0x12d967[_0x4ca0cf(_0xe98afb._0x313bfe,_0xe98afb._0x4a40d2,_0xe98afb._0x4ab4ad,_0xe98afb._0x4723d2)]['add'](_0x5e4ebb[_0x1cc920(0xd3,_0xe98afb._0x1b4655,_0xe98afb._0x4f7442,0x2ee)]+':'+_0x5e4ebb[_0x4ca0cf(0x6f,_0xe98afb._0x40c759,0xc3,-0x8e)]+':'+_0x24798a));function _0x1cc920(_0x28d418,_0x4d526c,_0x722a84,_0xebb2de){return _0x35e280(_0xebb2de,_0x4d526c-0x61,_0x4d526c- -0x67d,_0xebb2de-_0x598f1a._0xca8893);}function _0x4ca0cf(_0x4d300e,_0x18b725,_0x254012,_0x22b177){return _0x19fc58(_0x254012- -0x643,_0x22b177,_0x254012-_0x555faa._0x1c795a,_0x22b177-0x79);}await _0x5e4ebb[_0x1cc920(_0xe98afb._0xd65451,_0xe98afb._0x328380,-_0xe98afb._0x7ff1f6,-0x12a)][_0x4ca0cf(-_0xe98afb._0x5cc0dc,-0x11a,-0x22,0x117)]({'path':_0x24798a,'version':nextFileVersion(_0x12d967,_0x24798a)});if(_0x59e57c)await _0x5e4ebb['waitForDiagnostics']({'path':_0x24798a});}));}async function _0x17086f(_0x300c90){function _0x187c33(_0x42a15c,_0x8bedc2,_0x1ff696,_0x3268f2){return _0x4a14(_0x1ff696- -_0x4266ad._0x2128bb,_0x3268f2);}await _0x590a2a(_0x300c90[_0x187c33(-_0x1e5c1c._0x273146,-0x72,0xd7,-0x61)],![]);function _0x3b524c(_0x27bc26,_0x14b228,_0x5dd922,_0x51a6c1){return _0x4a14(_0x5dd922-0xea,_0x51a6c1);}return _0x4726df(_0x300c90[_0x187c33(0x95,_0x1e5c1c._0x1a29d7,0xd7,0x255)],![]);}async function _0x2c6ad6(_0x557611){const _0x4272b1={_0x37e2c8:0x8a},_0x2e367b=await _0x17086f(_0x557611);function _0x115279(_0x1487b7,_0x3b2d09,_0xc9c590,_0x8c1e9){return _0x4a14(_0x1487b7-0x38e,_0x3b2d09);}function _0x230fea(_0x2fe52d,_0x416c7f,_0xf96e7f,_0xc9ce16){return _0x4a14(_0x416c7f- -_0x4272b1._0x37e2c8,_0xc9ce16);}return collectClientResults(_0x2e367b[_0x230fea(0x3fc,0x277,0x1f8,0x3af)](_0x3c3461=>_0x3c3461[_0x115279(0x75f,0x765,0x73b,0x6bf)][_0x115279(0x761,0x81e,0x6b4,0x735)](_0x557611)));}return{'isEnabled':_0x1a1459,async 'hasClients'(_0x127c03){function _0x3990d5(_0x33916b,_0xd59264,_0x3d4748,_0x228b77){return _0x4a14(_0x33916b- -_0x2befa8._0x7db4c8,_0x228b77);}function _0x2f6abb(_0x598af0,_0x47a635,_0x2a21c1,_0x2610ee){return _0x4a14(_0x47a635-_0x334fe3._0x23f544,_0x598af0);}return(await _0x4726df(_0x127c03,![]))[_0x3990d5(-0xf4,-_0x4e9b4b._0x5078fe,-_0x4e9b4b._0x2b768c,-0x1ac)]>0x0||getServersForFile(_0x127c03)[_0x3990d5(-_0x4e9b4b._0x1c7e78,-_0x4e9b4b._0x316914,-_0x4e9b4b._0x1aaf99,0x87)]>0x0;},'touchFile':_0x590a2a,async 'diagnostics'(){const _0x57da46={};function _0x2b577d(_0x2f1eef,_0x4e7203,_0x52b138,_0x13749d){return _0x4a14(_0x13749d-0x84,_0x4e7203);}for(const _0x14cf2f of _0x12d967['clients']){for(const [_0x16c602,_0x2b8778]of _0x14cf2f[_0x2b577d(0x3d5,_0x153c74._0x3a399a,0x54d,_0x153c74._0x2d51ae)]){_0x57da46[diagnosticsKeyToPath(_0x16c602)]=_0x2b8778;}}return _0x57da46;},async 'diagnosticsForFile'(_0x185caf){await _0x590a2a(_0x185caf,!![]);function _0x1da3b2(_0x3a0a9c,_0x5ca54a,_0x12035b,_0x1cf937){return _0x4a14(_0x3a0a9c- -0x247,_0x12035b);}const _0x1a73c0=[];for(const _0x1d446f of await _0x4726df(_0x185caf,![])){for(const [_0x268cbd,_0x2aee79]of _0x1d446f[_0x1da3b2(0x255,0x2b0,_0x50356d._0x4013ae,_0x50356d._0x12eb90)]){if(diagnosticsKeyToPath(_0x268cbd)===_0x185caf)_0x1a73c0['push'](..._0x2aee79);}}return _0x1a73c0;},async 'definition'(_0x4f52ca){const _0x4c7c65={_0x5c99b1:0x2f1};function _0x508290(_0x1dcc3b,_0x5a99f5,_0x4841fa,_0x168aae){return _0x4a14(_0x1dcc3b- -_0x4c7c65._0x5c99b1,_0x4841fa);}function _0x5e4eb3(_0x458978,_0x5f2165,_0x58f449,_0x54d8b5){return _0x4a14(_0x5f2165- -0x54,_0x458978);}return collectClientResults((await _0x17086f(_0x4f52ca))[_0x508290(0x10,_0x4dbe51._0x2a9430,-_0x4dbe51._0x31dd6f,-_0x4dbe51._0x51205f)](_0x3cc2d8=>_0x3cc2d8['request'][_0x508290(0xd7,-0xa6,0x1c1,-0xa0)](_0x4f52ca)));},async 'references'(_0x2cdd84){const _0x1c0d78={_0x3805da:0x3e4};function _0x5d8225(_0x5ce6a7,_0x12bc11,_0x5abbbf,_0x1a70df){return _0x4a14(_0x5ce6a7-_0x1c0d78._0x3805da,_0x12bc11);}function _0x3a8f29(_0x381c26,_0x2f91a9,_0x4c3d95,_0x381caf){return _0x4a14(_0x2f91a9-0xe8,_0x4c3d95);}return collectClientResults((await _0x17086f(_0x2cdd84))[_0x5d8225(0x6e5,_0x5974a9._0x4db870,0x579,0x77c)](_0x15fb70=>_0x15fb70[_0x5d8225(0x7b5,0x639,0x76e,0x6e3)]['references'](_0x2cdd84)));},async 'hover'(_0x2efd91){const _0x3bfa97={_0xad7c42:0x1be},_0x5189b3=await Promise[_0x2f8557(0x4f9,0x546,_0x4ebd82._0x4276b0,0x4cc)]((await _0x17086f(_0x2efd91))[_0x2f8557(_0x4ebd82._0x421665,0x4ef,_0x4ebd82._0x228bbe,_0x4ebd82._0x1b9d3e)](_0x13bef6=>_0x13bef6[_0x2f8557(0x563,0x5bf,0x4ec,0x475)][_0x21fc5c(0xcc,0x73,-0x11b,0x36)](_0x2efd91)));function _0x2f8557(_0x106412,_0x4165b9,_0x372ce0,_0x567d7d){return _0x4a14(_0x4165b9-0x1ee,_0x106412);}function _0x21fc5c(_0x40e5b8,_0x10af67,_0x499dd2,_0x2b0385){return _0x4a14(_0x2b0385- -_0x3bfa97._0xad7c42,_0x10af67);}return _0x5189b3[_0x21fc5c(_0x4ebd82._0x2ae0d7,0xd4,_0x4ebd82._0x227f3c,0xd0)](_0xcfb88f=>_0xcfb88f[_0x2f8557(0x6bf,0x59a,0x651,0x60a)]==='fulfilled'&&_0xcfb88f[_0x21fc5c(0x4b,0x2ec,0x2ad,0x1a3)]?[_0xcfb88f[_0x2f8557(0x5c1,0x54f,0x3d6,0x519)]]:[]);},async 'documentSymbol'(_0x373360){const _0x2631de={_0x5e161e:0xcf};await _0x590a2a(_0x373360,![]);function _0x5ccf67(_0x26b97f,_0x3db6d7,_0x579c47,_0x2db234){return _0x4a14(_0x3db6d7- -_0x58efab._0x202ced,_0x26b97f);}function _0x57ee11(_0x357884,_0x160bb0,_0x28a0f3,_0x3b271d){return _0x4a14(_0x28a0f3- -_0x2631de._0x5e161e,_0x3b271d);}return collectClientResults((await _0x4726df(_0x373360,![]))[_0x5ccf67(_0x35a3d4._0x59d11c,_0x35a3d4._0x29ff21,_0x35a3d4._0x3d1eb4,_0x35a3d4._0x13c2f9)](_0x369cc8=>_0x369cc8[_0x57ee11(0x1a5,0x371,0x302,0x35f)][_0x57ee11(0x35d,0x1ac,0x220,0x287)](_0x373360)));},async 'workspaceSymbol'(_0x476dc1){function _0x301524(_0x364156,_0x2e9735,_0x270737,_0x481dd3){return _0x4a14(_0x2e9735-_0x4eda17._0x46ad68,_0x364156);}function _0x1bf7a1(_0x425e64,_0x2a65e5,_0x1547d3,_0x1dfaea){return _0x4a14(_0x2a65e5-_0x196ba2._0x53b515,_0x1547d3);}return collectClientResults(_0x12d967[_0x301524(0x283,0x3a9,0x312,0x28d)][_0x1bf7a1(_0x26a2be._0x5d6f33,0x5b1,_0x26a2be._0x239875,_0x26a2be._0xb58ff)](_0x1cc242=>_0x1cc242[_0x1bf7a1(0x54b,0x681,0x786,0x7fa)]['workspaceSymbol'](_0x476dc1)));},async 'implementation'(_0x439271){const _0x169a89={_0x2bd1ba:0x2e6};function _0x93a573(_0x44b216,_0x34804a,_0x4b0591,_0x355305){return _0x4a14(_0x355305-_0x305698._0x2ce816,_0x4b0591);}function _0x4306b7(_0x5419f7,_0xf13491,_0x2a4110,_0x1c6029){return _0x4a14(_0x5419f7- -_0x169a89._0x2bd1ba,_0x2a4110);}return collectClientResults((await _0x17086f(_0x439271))[_0x93a573(0x603,_0x47e7b7._0x4d7a62,_0x47e7b7._0x14f9cd,0x5d0)](_0x3a1f42=>_0x3a1f42[_0x4306b7(0xeb,0x218,0x98,0x69)][_0x93a573(0x3e6,0x5b5,0x600,0x542)](_0x439271)));},async 'prepareCallHierarchy'(_0xdc98a6){return _0x2c6ad6(_0xdc98a6);},async 'incomingCalls'(_0x55a9f5){const _0xe479b5={_0x3a6f62:0x237};function _0x43256b(_0x26b3ee,_0x22561f,_0x188d8a,_0x23b35f){return _0x4a14(_0x22561f- -_0x41cc50._0x1f716d,_0x26b3ee);}function _0x19ef8d(_0x27a51a,_0xd40fa1,_0x51db01,_0x447417){return _0x4a14(_0x27a51a-_0xe479b5._0x3a6f62,_0xd40fa1);}const _0x743baa=await _0x2c6ad6(_0x55a9f5),_0x38b9a2=await _0x17086f(_0x55a9f5);return collectClientResults(_0x38b9a2[_0x43256b(0x344,_0x1e2f80._0x45495c,_0x1e2f80._0x46d362,0x289)](_0xebe5f0=>_0x743baa['map'](_0x454b02=>_0xebe5f0[_0x19ef8d(0x608,0x5db,0x6a1,0x4a4)][_0x43256b(0x243,0x2ec,0x39e,0x220)](_0x454b02))));},async 'outgoingCalls'(_0x3565cc){function _0x281c2e(_0x45d0e6,_0x483e98,_0x36554c,_0x5ae462){return _0x4a14(_0x45d0e6-0x70,_0x36554c);}function _0x313672(_0x38d38a,_0x3581f3,_0x38a6bc,_0x3f6288){return _0x4a14(_0x3f6288-0xb5,_0x38a6bc);}const _0x2c8ab6=await _0x2c6ad6(_0x3565cc),_0x228086=await _0x17086f(_0x3565cc);return collectClientResults(_0x228086[_0x313672(0x264,_0x1c7935._0x29c68f,_0x1c7935._0x22fa7c,_0x1c7935._0x49eefe)](_0x1d9d1a=>_0x2c8ab6[_0x281c2e(0x371,0x344,0x470,0x471)](_0x410e19=>_0x1d9d1a[_0x313672(0x314,0x316,0x551,0x486)]['outgoingCalls'](_0x410e19))));},async 'shutdown'(){const _0x47da60={_0x494388:0x2c2};if(_0x12d967[_0x328242(0x227,_0xe026b5._0x1c382a,0x1d9,_0xe026b5._0x184da6)])return;_0x12d967[_0x328242(_0xe026b5._0x10607c,0x80,_0xe026b5._0x39a7d4,0x1e8)]=!![],await Promise[_0x328242(_0xe026b5._0x158d28,0x34,0x214,_0xe026b5._0x4639a7)](_0x12d967[_0x328242(_0xe026b5._0x5a23ed,0x176,-_0xe026b5._0x50edd5,0x48)][_0x328242(-0x35,_0xe026b5._0xe37380,-0x82,0x68)](_0x5b8601=>_0x5b8601[_0x2df986(0x500,0x509,0x3ba,0x441)]())),_0x12d967[_0x328242(-0xff,0xf5,-0xc2,_0xe026b5._0x34463d)]=[],_0x12d967['spawning'][_0x2df986(0x78b,0x637,_0xe026b5._0x4df360,0x6cd)]();function _0x328242(_0x46661f,_0x22b1eb,_0x3c01c7,_0x4ff2da){return _0x4a14(_0x4ff2da- -0x299,_0x46661f);}function _0x2df986(_0x3a3075,_0x127089,_0x29f94f,_0x42669a){return _0x4a14(_0x127089-_0x47da60._0x494388,_0x29f94f);}_0x12d967['broken'][_0x328242(_0xe026b5._0x112c0b,_0xe026b5._0x18cf64,0x6,_0xe026b5._0xa7640b)](),_0x12d967[_0x328242(0x132,_0xe026b5._0x1c8711,_0xe026b5._0xc36040,0xa8)]['clear'](),_0x12d967[_0x328242(_0xe026b5._0x405f74,0x221,_0xe026b5._0x1fbe61,_0xe026b5._0x212fa7)][_0x328242(-_0xe026b5._0x411bc5,_0xe026b5._0x537cc9,0x1d9,_0xe026b5._0xa7640b)]();},'status'(){function _0x1fcdd5(_0x4dfcbf,_0x2dd567,_0x14e7c8,_0x771c6e){return _0x4a14(_0x14e7c8- -0xc8,_0x2dd567);}return{'connectedClients':_0x12d967[_0x1fcdd5(0x36f,0x354,_0x22bfc4._0x13ea21,_0x22bfc4._0x11ea09)]['length']};}};}function createQuestionId(){const _0x5c4b1a={_0x5e288c:0x49a,_0x1ebba7:0x49c,_0x5df24d:0x5eb,_0x4b3625:0x465,_0x40324b:0x375,_0xdbc8d6:0x43e,_0x308052:0x344,_0x416c31:0x460,_0x25e30d:0x532},_0x4c1a98={_0x2c15bc:0x90},_0x5501a8={_0x2b23d3:0x15,_0x554174:0xde};function _0x5b118f(_0x1a332c,_0x4bc243,_0x3f37e1,_0x1ffa12){return _0x511d68(_0x1a332c-0x1c9,_0x4bc243-_0x5501a8._0x2b23d3,_0x3f37e1-_0x5501a8._0x554174,_0x3f37e1);}function _0x67aa73(_0x4f3a67,_0xa7cc8c,_0x5d9bbb,_0x4be4d8){return _0x511d68(_0x4f3a67-_0x4c1a98._0x2c15bc,_0x5d9bbb- -0x139,_0x5d9bbb-0xa9,_0xa7cc8c);}return _0x5b118f(0x645,0x581,_0x5c4b1a._0x5e288c,0x476)+Date[_0x5b118f(_0x5c4b1a._0x1ebba7,0x5f6,0x76a,0x4c6)]()+'-'+Math[_0x5b118f(_0x5c4b1a._0x5df24d,_0x5c4b1a._0x4b3625,_0x5c4b1a._0x40324b,_0x5c4b1a._0xdbc8d6)]()[_0x67aa73(0x34c,_0x5c4b1a._0x308052,_0x5c4b1a._0x416c31,_0x5c4b1a._0x25e30d)](0x24)['slice'](0x2,0x9);}function validateInput(_0x5b28ea){const _0x10fde1={_0x2fabf4:0x187,_0x5cf43f:0x42d,_0xd975d6:0x308,_0x51891b:0x3c5,_0x1a1af9:0x2f9,_0x3bab8f:0x3c5,_0x49449:0x23c,_0x55bb36:0x2a1,_0x2dcf26:0x2cf,_0x4148b2:0x279,_0x46a4c3:0x47f,_0xea8020:0x506,_0x2209fa:0x3bb,_0x2c2b43:0x317,_0x436100:0x36c,_0x5488e3:0x2f9,_0x30f446:0x2a2,_0x5a0fdf:0x49e,_0x3222d6:0x460,_0x2393d2:0x392,_0x4c8335:0x27c,_0x1a6e3f:0x306,_0x3860dc:0x397,_0x4cdfd3:0xad,_0xe01e8e:0x1a4,_0x22a4f0:0xc1,_0x4dad06:0x1e7,_0x4c1dd0:0x37a,_0x1e5d0e:0x28a,_0x2ca5d6:0x459,_0x3f6b1f:0x32b,_0x2c4b9e:0x30f,_0xa2b416:0x397,_0x5866f9:0x273,_0x140c72:0x8a,_0x592335:0x467,_0x749d2:0x529,_0x4bf208:0x436,_0x36fc8c:0x2db,_0x49be7a:0x2b9,_0x79c6e6:0x1c0,_0x386054:0x439,_0xad34b2:0x480,_0x5272c7:0x467,_0x506c55:0x5e2,_0x1dc5dc:0x3c8,_0x4e0feb:0x39d,_0x14688c:0x532,_0xa7eb8f:0x316,_0x5edf47:0x438,_0x2bdbc7:0x2d7,_0x2aa95b:0x204,_0x50e213:0x28e,_0x536527:0x204,_0x3d9a9f:0x23d,_0x523a06:0x1ac,_0x3b9213:0xf4,_0x3ac8a7:0x357,_0x369131:0x448,_0x19c027:0x35d,_0x4224fc:0x2da,_0x46fcab:0x3d4,_0x1b9591:0x268,_0x51353f:0x2e7,_0xfbd048:0x40c,_0x21b794:0x3ac,_0x2b7c99:0x31e,_0x132811:0x500,_0x587299:0x2b8,_0x2f6379:0x6a3,_0x991100:0x4cf,_0x46d9cd:0x3fd},_0x444ed7={_0x33aae3:0x171,_0x7bb5c8:0x175},_0x3bd84e={_0x21c27b:0x1,_0x521def:0x169};function _0x4e5c82(_0x171edd,_0x1c93ff,_0x34c991,_0xb052bf){return _0x475ba1(_0x171edd,_0xb052bf-0xff,_0x34c991-_0x3bd84e._0x21c27b,_0xb052bf-_0x3bd84e._0x521def);}function _0x165c78(_0x2e5f27,_0x19addb,_0xa6213c,_0x2b1770){return _0x511d68(_0x2e5f27-0xca,_0x2e5f27- -_0x444ed7._0x33aae3,_0xa6213c-_0x444ed7._0x7bb5c8,_0x2b1770);}if(!Array[_0x4e5c82(_0x10fde1._0x2fabf4,0x2e1,0x12a,0x1eb)](_0x5b28ea['questions'])||_0x5b28ea['questions'][_0x165c78(0x39d,_0x10fde1._0x5cf43f,_0x10fde1._0xd975d6,_0x10fde1._0x51891b)]<0x1||_0x5b28ea[_0x165c78(_0x10fde1._0x1a1af9,_0x10fde1._0x3bab8f,_0x10fde1._0x49449,0x325)][_0x165c78(0x39d,_0x10fde1._0x55bb36,_0x10fde1._0x2dcf26,_0x10fde1._0x4148b2)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x165c78(0x4eb,_0x10fde1._0x46a4c3,0x3e7,_0x10fde1._0xea8020)});for(let _0x4780fb=0x0;_0x4780fb<_0x5b28ea[_0x165c78(0x2f9,0x2c0,0x3f7,0x43e)][_0x165c78(0x39d,_0x10fde1._0x2209fa,_0x10fde1._0x2c2b43,_0x10fde1._0x436100)];_0x4780fb+=0x1){const _0x5ea323=_0x5b28ea[_0x165c78(_0x10fde1._0x5488e3,_0x10fde1._0x30f446,0x344,0x2c2)][_0x4780fb];if(!_0x5ea323[_0x165c78(0x3bc,_0x10fde1._0x5a0fdf,0x49e,0x26c)]||typeof _0x5ea323[_0x165c78(0x3bc,_0x10fde1._0x3222d6,0x2b3,_0x10fde1._0x2393d2)]!==_0x4e5c82(0x2d4,0x3a4,0x1b8,_0x10fde1._0x4c8335))throw new ToolExecutionError(_0x4e5c82(0x3dc,_0x10fde1._0x1a6e3f,0x2f6,_0x10fde1._0x3860dc)+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x4cdfd3,_0x10fde1._0xe01e8e,-0x8d,_0x10fde1._0x22a4f0));if(!_0x5ea323[_0x4e5c82(_0x10fde1._0x4dad06,_0x10fde1._0x4c1dd0,0x3a0,_0x10fde1._0x1e5d0e)]||typeof _0x5ea323['topic']!==_0x165c78(_0x10fde1._0x2ca5d6,0x4df,0x432,_0x10fde1._0x3f6b1f))throw new ToolExecutionError(_0x4e5c82(0x31a,_0x10fde1._0x2c4b9e,0x37c,_0x10fde1._0xa2b416)+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x5866f9,0x2ea,_0x10fde1._0x140c72,0x1bf));if(_0x5ea323[_0x165c78(_0x10fde1._0x592335,_0x10fde1._0x749d2,_0x10fde1._0x4bf208,0x3cb)][_0x4e5c82(_0x10fde1._0x36fc8c,0x21a,_0x10fde1._0x49be7a,_0x10fde1._0x79c6e6)]>0x1e)throw new ToolExecutionError(_0x4e5c82(0x237,_0x10fde1._0x386054,_0x10fde1._0xad34b2,0x397)+(_0x4780fb+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x5ea323[_0x165c78(_0x10fde1._0x5272c7,_0x10fde1._0x506c55,0x5b3,_0x10fde1._0x1dc5dc)][_0x165c78(_0x10fde1._0x4e0feb,0x39c,0x51e,0x259)]);if(!Array[_0x165c78(0x3c8,_0x10fde1._0x14688c,_0x10fde1._0xa7eb8f,_0x10fde1._0x5edf47)](_0x5ea323[_0x4e5c82(0x18a,0x2d5,_0x10fde1._0x2bdbc7,_0x10fde1._0x2aa95b)])||_0x5ea323[_0x4e5c82(0x113,_0x10fde1._0x50e213,0x285,_0x10fde1._0x536527)]['length']<0x2||_0x5ea323[_0x4e5c82(_0x10fde1._0x3d9a9f,_0x10fde1._0x523a06,_0x10fde1._0x3b9213,0x204)][_0x165c78(_0x10fde1._0x4e0feb,0x398,_0x10fde1._0x3ac8a7,0x2a4)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x369131,0x1d8,0x3df,_0x10fde1._0x19c027));for(let _0x3eb3cb=0x0;_0x3eb3cb<_0x5ea323[_0x165c78(0x3e1,_0x10fde1._0x4224fc,0x3ac,_0x10fde1._0x46fcab)][_0x165c78(0x39d,0x2a2,0x2a5,0x3f3)];_0x3eb3cb+=0x1){const _0x4fd715=_0x5ea323[_0x4e5c82(0x158,_0x10fde1._0x1b9591,_0x10fde1._0x51353f,0x204)][_0x3eb3cb];if(!_0x4fd715[_0x4e5c82(_0x10fde1._0xfbd048,0x4a3,_0x10fde1._0x3bab8f,0x349)]||!_0x4fd715[_0x165c78(0x300,0x319,_0x10fde1._0x21b794,0x1d4)])throw new ToolExecutionError('Question\x20'+(_0x4780fb+0x1)+_0x165c78(0x34c,0x302,0x2f7,0x385)+(_0x3eb3cb+0x1)+_0x165c78(0x2dc,_0x10fde1._0x2b7c99,0x1b7,0x162));}if(typeof _0x5ea323[_0x165c78(0x54b,_0x10fde1._0x132811,0x56e,0x6b3)]!==_0x4e5c82(0x140,0x1bd,0x18f,_0x10fde1._0x587299))throw new ToolExecutionError(_0x165c78(0x574,0x465,_0x10fde1._0x2f6379,_0x10fde1._0x991100)+(_0x4780fb+0x1)+_0x165c78(0x3a2,_0x10fde1._0x46d9cd,0x33a,0x515));}}function buildQuestions(_0x1d9aa7){const _0x25d086={_0x5a5a30:0x437,_0x103342:0x2a4,_0x529f08:0x13,_0x3a0fd1:0xf9},_0xa7b2ff={_0x132569:0x1d7,_0x4c03f1:0x41d,_0x1174d0:0x116},_0x158946={_0x124dcb:0x512,_0x2e5caf:0xfa};function _0x9a6df3(_0x2362c0,_0x3c11c5,_0x3984be,_0x2114b7){return _0x475ba1(_0x2114b7,_0x3984be-_0x158946._0x124dcb,_0x3984be-_0x158946._0x2e5caf,_0x2114b7-0x8a);}function _0x3125f1(_0x362071,_0x246d8a,_0x3e1a7f,_0x2c674b){return _0x511d68(_0x362071-_0xa7b2ff._0x132569,_0x3e1a7f- -_0xa7b2ff._0x4c03f1,_0x3e1a7f-_0xa7b2ff._0x1174d0,_0x246d8a);}return _0x1d9aa7[_0x9a6df3(_0x25d086._0x5a5a30,0x3c3,0x52f,0x55f)][_0x3125f1(_0x25d086._0x103342,_0x25d086._0x529f08,0x136,_0x25d086._0x3a0fd1)]((_0x45b44b,_0x21307f)=>({'id':'q'+_0x21307f,'question':_0x45b44b['question'],'topic':_0x45b44b[_0x3125f1(0x103,0x13f,0x1bb,0x9f)],'options':_0x45b44b[_0x3125f1(0x227,0x1df,0x135,0x0)],'multiSelect':_0x45b44b[_0x9a6df3(0x828,0x725,0x781,0x740)]}));}function createResult(_0x41b1d6,_0x51898e,_0x30736b){const _0x115617={_0x21f43c:0x6f1,_0x1d1307:0x537,_0x4fac66:0x634},_0x36ca62={_0x1c449c:0x122,_0x358757:0x135},_0x56aedb={'questionId':_0x41b1d6,'questionCount':_0x51898e,'answers':_0x30736b};function _0x144a0c(_0x296d16,_0x3d507,_0x1c4684,_0x57045b){return _0x511d68(_0x296d16-_0x36ca62._0x1c449c,_0x57045b-_0x36ca62._0x358757,_0x1c4684-0x79,_0x3d507);}return createToolOutput(_0x144a0c(0x610,_0x115617._0x21f43c,_0x115617._0x1d1307,_0x115617._0x4fac66)+JSON['stringify'](_0x30736b,null,0x2),_0x56aedb);}function createAskUserTool(){const _0x500119={_0x3d3e37:0x49e,_0x41eed2:0x5c2,_0x1c15bd:0x386,_0x440519:0x235,_0x17165b:0x559,_0x104bea:0x442,_0x954cbb:0x668,_0xf8b901:0x250,_0x5908e8:0x109,_0x463030:0x1d7,_0x2f0d53:0x235,_0x69a16d:0x6fa,_0x4f52da:0x175,_0x1b8a63:0x271,_0x5c4a18:0x324,_0x3a0189:0x1c8,_0xaf530e:0x198,_0x1108da:0x243,_0x3ac5df:0x1c7,_0x766e49:0xff},_0x47ff8c={_0x5dcf20:0x8b,_0x31c51c:0x2f,_0x42bb8a:0x7b,_0x1e1658:0xaa,_0x3a409b:0x5e,_0x2bd136:0xc7,_0x136c25:0x1a4,_0x45fbcd:0xd0,_0x38fe37:0x3d,_0x38422b:0x50,_0x1d2c1e:0x2f,_0x325387:0x16e,_0x223958:0x18f,_0x24ef06:0x10,_0x26b143:0x15c,_0x5d4644:0x67,_0x5a2e5f:0x137,_0x4c8af6:0x154,_0x49b2c6:0x254,_0x3ab729:0x179,_0x2ba382:0x94,_0x11ad3e:0x6d,_0x59e305:0x51,_0x2f9a47:0xdd},_0x510525={_0x4e78f5:0x1f1,_0x5d0add:0x484},_0x5d4b2e={_0x293d03:0xb8,_0x370050:0x15d,_0x518ee6:0x174},_0x266f6d={_0x41163c:0x1d};function _0x1cebf9(_0x4b509c,_0x350de0,_0x548c68,_0x21c351){return _0x511d68(_0x4b509c-0x121,_0x548c68- -_0x266f6d._0x41163c,_0x548c68-0x1b4,_0x4b509c);}function _0x2710e2(_0x28e126,_0x4bfc27,_0x48d7bb,_0x23d39a){return _0x475ba1(_0x23d39a,_0x4bfc27-_0x5d4b2e._0x293d03,_0x48d7bb-_0x5d4b2e._0x370050,_0x23d39a-_0x5d4b2e._0x518ee6);}return defineTool({'name':'AskUserTool','description':_0x1cebf9(_0x500119._0x3d3e37,0x59b,0x4b7,_0x500119._0x41eed2),'inputSchema':{'type':'object','properties':{'questions':{'type':'array','items':{'type':'object','properties':{'question':{'type':_0x2710e2(_0x500119._0x1c15bd,_0x500119._0x440519,0x337,0x3a8)},'topic':{'type':_0x1cebf9(_0x500119._0x17165b,_0x500119._0x104bea,0x5ad,_0x500119._0x954cbb)},'options':{'type':_0x2710e2(0x38c,_0x500119._0xf8b901,_0x500119._0x5908e8,0x379),'items':{'type':'object','properties':{'label':{'type':_0x2710e2(_0x500119._0x463030,_0x500119._0x2f0d53,0x258,0x127)},'description':{'type':'string'}},'required':[_0x1cebf9(0x591,_0x500119._0x69a16d,0x67a,0x538),_0x2710e2(0x36,0xdc,0x146,0x25)]}},'multiSelect':{'type':_0x2710e2(_0x500119._0x4f52da,_0x500119._0x1b8a63,_0x500119._0x5c4a18,_0x500119._0x3a0189)}},'required':[_0x2710e2(0x2c4,_0x500119._0xaf530e,0x142,0x98),_0x2710e2(0x2c5,_0x500119._0x1108da,_0x500119._0x3ac5df,0x2a2),_0x2710e2(0x116,0x1bd,0x1de,0x1ae),'multiSelect']}},'answers':{'type':_0x2710e2(0x1bc,0x27e,0x38b,_0x500119._0x766e49),'properties':{}}},'required':['questions']},async *'execute'(_0x56e0d6,_0x4e1c44){const _0x519b28={_0x587f30:0x11b,_0x27b369:0x16};function _0x159814(_0x1aac5d,_0x3c36c7,_0x16b4c5,_0x5de037){return _0x2710e2(_0x1aac5d-0x108,_0x3c36c7- -_0x519b28._0x587f30,_0x16b4c5-_0x519b28._0x27b369,_0x16b4c5);}const _0x35bd59=_0x56e0d6;validateInput(_0x35bd59);const _0x2c288d=_0x4e1c44[_0x159814(_0x47ff8c._0x5dcf20,0xe5,0x157,-0x86)]??createQuestionId();if(_0x35bd59[_0x159814(0xa5,-_0x47ff8c._0x31c51c,-0x67,0x9f)]&&Object['keys'](_0x35bd59[_0x159814(_0x47ff8c._0x42bb8a,-0x2f,_0x47ff8c._0x1e1658,-0x16e)])[_0x159814(0x150,_0x47ff8c._0x3a409b,_0x47ff8c._0x2bd136,_0x47ff8c._0x136c25)]>0x0)return createResult(_0x2c288d,_0x35bd59['questions'][_0x159814(-_0x47ff8c._0x45fbcd,_0x47ff8c._0x3a409b,-_0x47ff8c._0x38fe37,_0x47ff8c._0x38422b)],_0x35bd59[_0x159814(0x88,-_0x47ff8c._0x1d2c1e,-_0x47ff8c._0x325387,-_0x47ff8c._0x223958)]);if(!_0x4e1c44[_0xe47741(_0x47ff8c._0x24ef06,-_0x47ff8c._0x26b143,_0x47ff8c._0x5d4644,-_0x47ff8c._0x5a2e5f)])throw new ToolExecutionError(_0x159814(0x297,_0x47ff8c._0x4c8af6,_0x47ff8c._0x49b2c6,_0x47ff8c._0x3ab729));const _0x341231=buildQuestions(_0x35bd59),_0x2d9e95=await _0x4e1c44[_0x159814(-0xdb,0x1,_0x47ff8c._0x2ba382,-0x112)]({'questionId':_0x2c288d,'questions':_0x341231});function _0xe47741(_0x19b201,_0x9bb0a1,_0x436803,_0x29521c){return _0x1cebf9(_0x436803,_0x9bb0a1-_0x510525._0x4e78f5,_0x19b201- -_0x510525._0x5d0add,_0x29521c-0x17f);}yield createResult(_0x2c288d,_0x35bd59['questions'][_0xe47741(_0x47ff8c._0x11ad3e,-_0x47ff8c._0x59e305,-0x89,-_0x47ff8c._0x2f9a47)],_0x2d9e95);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x45659e}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x4e6b8c){return _0x4e6b8c instanceof Error;}function resolveCarriageReturns(_0x270306){const _0x1b7fe1={_0x51c5b7:0x3d3,_0x17d1a8:0x5e3,_0x4dc1e1:0x425,_0x85f005:0x2f7},_0x387540={_0x22aa36:0x153,_0x4bcd12:0x74,_0x523dc1:0x137,_0x16e36a:0x433,_0x47f81f:0x58,_0x6e0fb:0x23,_0x20910e:0x171},_0x238fe8={_0x519756:0x163},_0x5d9c72={_0x9e94d3:0x21};function _0x207652(_0x4bc4f4,_0xb73948,_0x3bf4bb,_0x441fe0){return _0x511d68(_0x4bc4f4-0x137,_0x441fe0- -0x6a,_0x3bf4bb-_0x5d9c72._0x9e94d3,_0x4bc4f4);}function _0x3f9749(_0x212ba5,_0x3b4d5a,_0x957a74,_0x275a3c){return _0x475ba1(_0x957a74,_0x212ba5-0x2a0,_0x957a74-_0x238fe8._0x519756,_0x275a3c-0x64);}return _0x270306[_0x3f9749(0x4d5,_0x1b7fe1._0x51c5b7,_0x1b7fe1._0x17d1a8,_0x1b7fe1._0x4dc1e1)]('\x0a')[_0x3f9749(0x3a6,0x367,0x3a3,_0x1b7fe1._0x85f005)](_0x2f3219=>{const _0x207de1={_0x3084f0:0x111,_0x51d6b6:0x159},_0x247dec={_0x446fe7:0x19c,_0x40920e:0x3,_0x2c6d00:0x1ff};function _0x1095d3(_0x2c95b0,_0xd337f0,_0x38b691,_0x17bb27){return _0x207652(_0xd337f0,_0xd337f0-_0x247dec._0x446fe7,_0x38b691-_0x247dec._0x40920e,_0x2c95b0- -_0x247dec._0x2c6d00);}if(!_0x2f3219[_0x12a3bd(-0x125,-_0x387540._0x22aa36,-_0x387540._0x4bcd12,-_0x387540._0x523dc1)]('\x0d'))return _0x2f3219;const _0x4a7dbe=_0x2f3219[_0x1095d3(0x419,0x3eb,_0x387540._0x16e36a,0x4fe)]('\x0d');function _0x12a3bd(_0x2d1348,_0x94502d,_0x3bf81f,_0x466517){return _0x207652(_0x2d1348,_0x94502d-_0x207de1._0x3084f0,_0x3bf81f-_0x207de1._0x51d6b6,_0x3bf81f- -0x481);}return _0x4a7dbe[_0x4a7dbe[_0x12a3bd(_0x387540._0x47f81f,0xd4,_0x387540._0x6e0fb,_0x387540._0x20910e)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x4731da){const _0x2ec9f6={_0xbc1da:0x482,_0x24cf34:0x528,_0x53b5c3:0x5b5,_0xaaec8d:0x4d2,_0x89a951:0x5f2,_0x330b31:0x64b,_0x8a4ce2:0x28b,_0x4ad08e:0x41c,_0x592060:0x7bd},_0x20742e={_0x201ca8:0x3e0};function _0x45f929(_0x49416a,_0x461664,_0x3b5b95,_0x384a8d){return _0x475ba1(_0x384a8d,_0x3b5b95-0x3a5,_0x3b5b95-0x191,_0x384a8d-0xb1);}const _0x4c6ac2=[];for(const _0x416664 of Array[_0x45f929(_0x2ec9f6._0xbc1da,_0x2ec9f6._0x24cf34,_0x2ec9f6._0x53b5c3,0x4e3)](_0x4731da)){_0x416664==='\x08'?_0x4c6ac2[_0x45f929(_0x2ec9f6._0xaaec8d,_0x2ec9f6._0x89a951,_0x2ec9f6._0x330b31,0x51b)]():_0x4c6ac2[_0x3d3a09(_0x2ec9f6._0x8a4ce2,_0x2ec9f6._0x4ad08e,0x3a0,0x3aa)](_0x416664);}function _0x3d3a09(_0x3cadd9,_0x3235aa,_0x39d92a,_0x28195f){return _0x475ba1(_0x3cadd9,_0x28195f-_0x20742e._0x201ca8,_0x39d92a-0x96,_0x28195f-0x1ec);}return _0x4c6ac2[_0x45f929(_0x2ec9f6._0x592060,0x546,0x64e,0x648)]('');}function stripAnsiAndControls(_0x120d5a){const _0x34a0dc={_0x4ee422:0x1e1,_0x5a530f:0x13e,_0x21432d:0x35,_0x589ad9:0x29c,_0x4bd4ea:0x488,_0x40e6b6:0x3b8,_0x294c90:0x2f7,_0x14c6b3:0x1ff,_0x33a176:0xda,_0x387077:0x2e0,_0x53dc84:0x131,_0x4c6e0d:0x31,_0x17adad:0x19a,_0x20a503:0x51,_0x1be635:0xcf,_0x9c053d:0x31,_0x174451:0x12c,_0x25007b:0xbd,_0x43b5c4:0x188,_0x20093e:0x31,_0xe0ae74:0x98},_0x405b3b={_0x5aea19:0x1b,_0x217fd9:0x5c},_0x7f1c16={_0x48ab5c:0xbf};_0x120d5a=resolveCarriageReturns(_0x120d5a),_0x120d5a=resolveBackspaces(_0x120d5a),_0x120d5a=stripVTControlCharacters(_0x120d5a);function _0x674f6c(_0x8f6b6c,_0x2d1b93,_0x30dd82,_0xcac1d6){return _0x511d68(_0x8f6b6c-0x195,_0x2d1b93- -0x40d,_0x30dd82-_0x7f1c16._0x48ab5c,_0x8f6b6c);}const _0x4e3e5a='\x1b',_0x4df7d8='\x07';_0x120d5a=_0x120d5a[_0x3291a4(_0x34a0dc._0x4ee422,0x146,_0x34a0dc._0x5a530f,-_0x34a0dc._0x21432d)](new RegExp(_0x3291a4(_0x34a0dc._0x589ad9,_0x34a0dc._0x4bd4ea,_0x34a0dc._0x40e6b6,0x289)+_0x4df7d8+_0x674f6c(_0x34a0dc._0x294c90,_0x34a0dc._0x14c6b3,_0x34a0dc._0x33a176,_0x34a0dc._0x387077)+_0x4df7d8,'g'),''),_0x120d5a=_0x120d5a['replace'](new RegExp(';[^\x5cn]*?'+_0x4e3e5a+'\x5c\x5c','g'),''),_0x120d5a=_0x120d5a[_0x674f6c(-_0x34a0dc._0x53dc84,_0x34a0dc._0x4c6e0d,-0x41,0x60)](new RegExp(_0x4df7d8,'g'),''),_0x120d5a=_0x120d5a[_0x674f6c(-0x153,0x31,0xd,_0x34a0dc._0x17adad)](new RegExp(_0x4e3e5a+_0x674f6c(0x225,0xa2,-0xb2,-_0x34a0dc._0x20a503)+_0x4e3e5a+'\x5c\x5c','g'),''),_0x120d5a=_0x120d5a['replace'](new RegExp(_0x4e3e5a+'[=>7-8()]','g'),''),_0x120d5a=_0x120d5a[_0x674f6c(_0x34a0dc._0x1be635,_0x34a0dc._0x9c053d,_0x34a0dc._0x174451,_0x34a0dc._0x25007b)](/[\u0080-\u009F]/g,''),_0x120d5a=_0x120d5a[_0x674f6c(_0x34a0dc._0x43b5c4,_0x34a0dc._0x20093e,0xa1,_0x34a0dc._0xe0ae74)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,'');function _0x3291a4(_0x1bb63a,_0x106dcf,_0x3049e1,_0x5e0b82){return _0x475ba1(_0x106dcf,_0x3049e1-0x14d,_0x3049e1-_0x405b3b._0x5aea19,_0x5e0b82-_0x405b3b._0x217fd9);}return _0x120d5a=_0x120d5a[_0x674f6c(0x11,0x31,-0xca,-0x153)](/[\u23CE\u2424]/g,''),_0x120d5a;}function killProcessGroup(_0x189752,_0x3dda26,_0x391cd9=_0x511d68(0x681,0x5cb,0x508,0x449)){const _0x28ae8d={_0x4a17dc:0x75,_0x2f37ba:0x9c,_0x593647:0x6f,_0x3d9018:0x157,_0x2e47dd:0x2de,_0x4878ca:0x180,_0x514cc:0x220,_0x56a451:0x17e,_0x26446c:0x4a,_0x4942de:0x69,_0x39dde6:0x78,_0x5996aa:0x6e,_0x626b20:0x83,_0x576120:0x4a,_0x4ef3aa:0x1c3,_0x42ca9e:0x55},_0xcd3877={_0x160566:0x95,_0x293d1c:0x13f};if(!_0x189752[_0x19c558(-_0x28ae8d._0x4a17dc,_0x28ae8d._0x2f37ba,0x164,0x211)])return;function _0x4241c6(_0xc526e2,_0x5745be,_0x3ad79a,_0x4ed430){return _0x475ba1(_0x5745be,_0xc526e2-_0xcd3877._0x160566,_0x3ad79a-_0xcd3877._0x293d1c,_0x4ed430-0x1e4);}if(_0x3dda26)try{_0x45659e(_0x19c558(_0x28ae8d._0x593647,0xb5,0x85,_0x28ae8d._0x3d9018),[_0x4241c6(0x2fb,0x20c,_0x28ae8d._0x2e47dd,0x414),_0x189752['pid'][_0x19c558(0xe,_0x28ae8d._0x4878ca,_0x28ae8d._0x514cc,_0x28ae8d._0x56a451)](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x189752[_0x4241c6(_0x28ae8d._0x26446c,-_0x28ae8d._0x4942de,-_0x28ae8d._0x39dde6,0x17d)](_0x391cd9);return;}function _0x19c558(_0x59b7fd,_0x2f5e24,_0x1effee,_0x40873f){return _0x511d68(_0x59b7fd-0x13f,_0x2f5e24- -0x419,_0x1effee-0x1e6,_0x40873f);}try{process['kill'](-_0x189752[_0x4241c6(0xfd,0xca,_0x28ae8d._0x5996aa,_0x28ae8d._0x626b20)],_0x391cd9);}catch{_0x189752[_0x4241c6(_0x28ae8d._0x576120,0x1af,_0x28ae8d._0x4ef3aa,_0x28ae8d._0x42ca9e)](_0x391cd9);}}var BackgroundProcessRegistry=class{[_0x475ba1(0xda,0x15b,0x2b8,0xb9)]=new Map();[_0x475ba1(0x2e1,0x1e5,0x1fb,0x1bb)];[_0x475ba1(0x344,0x20d,0xbf,0x237)];[_0x475ba1(0x2b3,0x1a1,0x98,0x2fe)];['counter']=0x0;constructor(_0x8a5c5e={}){const _0x16df69={_0x4a33c6:0x6e8,_0xffb35c:0x662,_0x499335:0x578,_0x556fc6:0x51e,_0x333f80:0x710,_0x37d1db:0x572,_0x10e468:0x50c,_0x5eb3a6:0x3da},_0x56f508={_0x5c5828:0x503},_0x588912={_0x37ed6b:0x36b};function _0x15f197(_0x53cd5e,_0x2187b2,_0x5ad474,_0x2631a4){return _0x475ba1(_0x2187b2,_0x5ad474-_0x588912._0x37ed6b,_0x5ad474-0x1d0,_0x2631a4-0x1aa);}this[_0xccb188(0x832,0x847,_0x16df69._0x4a33c6,_0x16df69._0xffb35c)]=_0x8a5c5e['maxConcurrent']??0xa;function _0xccb188(_0x179dc2,_0x2cb00a,_0x1d81bc,_0x5c8494){return _0x475ba1(_0x2cb00a,_0x1d81bc-_0x56f508._0x5c5828,_0x1d81bc-0xb1,_0x5c8494-0x3b);}this[_0x15f197(0x4c4,0x617,_0x16df69._0x499335,_0x16df69._0x556fc6)]=_0x8a5c5e[_0xccb188(0x837,0x7f9,_0x16df69._0x333f80,0x60b)]??0x40,this[_0x15f197(0x46d,_0x16df69._0x37d1db,_0x16df69._0x10e468,_0x16df69._0x5eb3a6)]=_0x8a5c5e[_0xccb188(0x7da,0x69c,0x6a4,0x7a3)]??0x100000;}[_0x475ba1(0xfc,0x136,0xa3,-0x23)](_0x54b80a){const _0x3a9fb1={_0x8e1cc9:0x79f,_0x50fd1a:0x587,_0x1ea480:0x612,_0x510238:0x61b,_0x1210b0:0x3be,_0x1515e7:0x5fe,_0x4d36ca:0x54f,_0x2f4c97:0x442,_0x3eb240:0x45c,_0x2c425f:0x465,_0x2fbe24:0x38f,_0x372dc4:0x364,_0x264a04:0x15f,_0x45be8d:0x498,_0x4ae2b1:0x4f0,_0x538419:0x598,_0x50ad60:0x4d3,_0x4583e1:0x35e,_0x1e83c3:0x561,_0x43b0d8:0x4e5,_0x57d6d0:0x57a,_0x224644:0x65b,_0x99a476:0x651,_0xd1ca7f:0x591,_0x2ef521:0x5e3,_0x293076:0x33d,_0x21b5d4:0x371,_0x2941e8:0x250,_0x4c3590:0x634,_0x2cd5a2:0x3f3,_0x200636:0x56d,_0x2f56d6:0x47c,_0x16021d:0x42f,_0xd099ce:0x395,_0x5a4e93:0x2d1,_0x6cc6f3:0x609,_0x4031f4:0x86d,_0x4a101b:0x59e,_0x2c8900:0x51b,_0x94c859:0x496,_0x39d957:0x72b,_0x5c5039:0x577,_0x31f090:0x658,_0x206280:0x6d8,_0x335df5:0x6ba,_0x5c5dd3:0x623,_0x51f9dc:0x5fc,_0x518e56:0x76a,_0x1382d1:0x699,_0x501ee0:0x436,_0x3e39c9:0x68e,_0xedc366:0x46d,_0x5acfaa:0x3c2,_0xeed76b:0x2e6,_0x30f224:0x419,_0x403620:0x4f7,_0x419442:0x7b2,_0x2d4263:0x63f,_0x1eaa6f:0x694,_0x2d8aad:0x575},_0x2b0398={_0x31c69e:0x514,_0x470c81:0x1a8},_0x2ce0e1={_0x598d86:0x2d,_0xf5a336:0xe2,_0x3e602:0x7c,_0xde171c:0x379,_0x5b7dd4:0x333,_0x4da795:0x428,_0x31c882:0x44f,_0x38004e:0x41c,_0x3ccfb5:0x318,_0x469b01:0x49c,_0x4f3e2d:0x2a7,_0x14e317:0x1f8},_0x31ef1a={_0x39b39a:0xa7,_0x2c6f5a:0x9e},_0x48517c={_0x17504a:0x2e7,_0x3978f9:0x240,_0x4e655c:0x1c5,_0x5c4d2a:0x1f6,_0x1b83bd:0x258,_0x3301bd:0x49d,_0xcda191:0x37a,_0x309774:0x0,_0x2983d4:0x2b2,_0x32d313:0x95,_0x2f7043:0xd4,_0x57ff8f:0xc,_0x312dc9:0x1dc,_0x4fd407:0x27b,_0x3f8c89:0x2f4,_0x48c411:0x184},_0x7aacc8={_0x480cfc:0x16,_0xb8adb1:0x15a},_0x48669c={_0x21bf2f:0x2b3,_0x577e4e:0x1a1},_0x1c0428=[...this[_0x4f3748(0x66f,0x60a,_0x3a9fb1._0x8e1cc9,_0x3a9fb1._0x50fd1a)]['values']()][_0x4f3748(0x591,0x564,_0x3a9fb1._0x1ea480,_0x3a9fb1._0x510238)](_0x1020c7=>_0x1020c7['status']===_0x4c76be(0x39d,0x477,0x408,0x4a9))[_0x4f3748(0x5d5,0x655,0x48b,0x534)];function _0x4c76be(_0x125e9e,_0x4cea2b,_0x336460,_0x52eec4){return _0x475ba1(_0x4cea2b,_0x125e9e-_0x48669c._0x21bf2f,_0x336460-0x108,_0x52eec4-_0x48669c._0x577e4e);}if(_0x1c0428>=this[_0x4c76be(0x498,_0x3a9fb1._0x1210b0,0x33c,_0x3a9fb1._0x1515e7)])throw new ToolExecutionError(_0x4c76be(0x49c,_0x3a9fb1._0x4d36ca,_0x3a9fb1._0x2f4c97,_0x3a9fb1._0x3eb240)+this[_0x4c76be(0x498,0x50c,0x56e,_0x3a9fb1._0x2c425f)]+_0x4c76be(0x287,_0x3a9fb1._0x2fbe24,_0x3a9fb1._0x372dc4,_0x3a9fb1._0x264a04),{'running':this[_0x4c76be(_0x3a9fb1._0x45be8d,_0x3a9fb1._0x4ae2b1,_0x3a9fb1._0x538419,0x53a)]});const _0x1580de='bg-'+ ++this[_0x4c76be(_0x3a9fb1._0x50ad60,_0x3a9fb1._0x4583e1,0x5a4,0x51a)]+'-'+randomUUID()[_0x4f3748(_0x3a9fb1._0x1e83c3,_0x3a9fb1._0x43b0d8,_0x3a9fb1._0x57d6d0,_0x3a9fb1._0x224644)](0x0,0x8),_0x28b589={'shellId':_0x1580de,'command':_0x54b80a['command'],'cwd':_0x54b80a[_0x4c76be(_0x3a9fb1._0x4ae2b1,_0x3a9fb1._0x99a476,_0x3a9fb1._0xd1ca7f,_0x3a9fb1._0x2ef521)],'pid':_0x54b80a['child']['pid'],'status':'running','exitCode':null,'signal':null,'startedAt':Date['now'](),'child':_0x54b80a[_0x4c76be(_0x3a9fb1._0x293076,0x40b,_0x3a9fb1._0x21b5d4,_0x3a9fb1._0x2941e8)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x4f3748(0x6f5,_0x3a9fb1._0x4c3590,0x676,0x6e1)),'stripAnsi':_0x54b80a[_0x4c76be(_0x3a9fb1._0x2cd5a2,0x42d,0x4ce,_0x3a9fb1._0x200636)],'killRequested':![],'processExited':![]};_0x54b80a['child'][_0x4c76be(_0x3a9fb1._0x2f56d6,0x453,0x3b5,0x5df)]?.['on'](_0x4c76be(_0x3a9fb1._0x16021d,0x4a0,_0x3a9fb1._0xd099ce,0x541),_0x2e7751=>this[_0x4f3748(0x541,0x568,0x6a8,0x68a)](_0x28b589,_0x28b589['stdoutDecoder']['write'](_0x2e7751))),_0x54b80a[_0x4c76be(0x33d,_0x3a9fb1._0x5a4e93,0x243,0x2d9)][_0x4f3748(0x774,0x8b8,_0x3a9fb1._0x6cc6f3,_0x3a9fb1._0x4031f4)]?.['on'](_0x4c76be(_0x3a9fb1._0x16021d,0x4cc,0x354,0x35a),_0x76d776=>this['append'](_0x28b589,_0x28b589['stderrDecoder'][_0x4f3748(0x655,0x6db,0x67c,0x747)](_0x76d776))),_0x54b80a[_0x4f3748(_0x3a9fb1._0x4a101b,_0x3a9fb1._0x2c8900,_0x3a9fb1._0x94c859,0x681)][_0x4f3748(0x623,_0x3a9fb1._0x39d957,0x6af,_0x3a9fb1._0x5c5039)](_0x4f3748(_0x3a9fb1._0x31f090,_0x3a9fb1._0x206280,0x79c,0x4f7),()=>{function _0x388961(_0x1973e1,_0x2a54af,_0x585c61,_0x4ea168){return _0x4c76be(_0x4ea168- -0x82,_0x585c61,_0x585c61-0x2a,_0x4ea168-0x25);}_0x28b589[_0x388961(0x452,0x372,0x483,0x321)]=!![];}),_0x54b80a[_0x4f3748(0x59e,0x68e,_0x3a9fb1._0x335df5,0x6aa)][_0x4f3748(_0x3a9fb1._0x5c5dd3,_0x3a9fb1._0x51f9dc,_0x3a9fb1._0x518e56,0x4a7)](_0x4f3748(0x54c,_0x3a9fb1._0x1382d1,_0x3a9fb1._0x501ee0,_0x3a9fb1._0x3e39c9),(_0x183883,_0x29a876)=>{const _0x184301={_0x30da20:0xf0};this['append'](_0x28b589,_0x28b589[_0x1dd36a(_0x48517c._0x17504a,0x251,0x287,0x12a)][_0x1e6bd6(0x317,_0x48517c._0x3978f9,0x1a5,0x1d8)]()),this[_0x1dd36a(0x318,_0x48517c._0x4e655c,_0x48517c._0x5c4d2a,_0x48517c._0x1b83bd)](_0x28b589,_0x28b589['stderrDecoder']['end']()),_0x28b589[_0x1dd36a(_0x48517c._0x3301bd,0x33b,_0x48517c._0xcda191,0x3d5)]=_0x28b589[_0x1e6bd6(0xc4,_0x48517c._0x309774,-0xf6,-0x82)]?_0x1e6bd6(0x222,0x238,_0x48517c._0x2983d4,0x34f):_0x1e6bd6(-_0x48517c._0x32d313,_0x48517c._0x2f7043,0x1c,0x19c);function _0x1dd36a(_0x3ddbb0,_0x50d691,_0x17c98d,_0x2b45ba){return _0x4f3748(_0x17c98d- -0x34b,_0x50d691-_0x184301._0x30da20,_0x17c98d-0x1c1,_0x50d691);}_0x28b589[_0x1e6bd6(0x7d,-_0x48517c._0x57ff8f,-0x14e,-0x57)]=_0x183883;function _0x1e6bd6(_0x47f0af,_0x35f360,_0x3d39cc,_0x51a4e1){return _0x4f3748(_0x35f360- -0x4e6,_0x35f360-_0x7aacc8._0x480cfc,_0x3d39cc-_0x7aacc8._0xb8adb1,_0x3d39cc);}_0x28b589[_0x1e6bd6(_0x48517c._0x312dc9,_0x48517c._0x4fd407,_0x48517c._0x3f8c89,_0x48517c._0x48c411)]=_0x29a876,_0x28b589['child']=null;}),_0x54b80a[_0x4f3748(_0x3a9fb1._0x4a101b,0x551,0x486,_0x3a9fb1._0xedc366)][_0x4c76be(_0x3a9fb1._0x5acfaa,_0x3a9fb1._0xeed76b,0x33a,_0x3a9fb1._0x30f224)]('error',_0x14280d=>{const _0x30c06a={_0x3b6c52:0x698,_0x4ab2a5:0x117};_0x28b589[_0x27f30b(_0x2ce0e1._0x598d86,-0x4e,-_0x2ce0e1._0xf5a336,-_0x2ce0e1._0x3e602)]=_0x64a2f7(_0x2ce0e1._0xde171c,_0x2ce0e1._0x5b7dd4,_0x2ce0e1._0x4da795,0x4b5),_0x28b589[_0x27f30b(0x98,0x1ec,-0xb7,-0x58)]=_0x14280d[_0x64a2f7(_0x2ce0e1._0x31c882,_0x2ce0e1._0x38004e,_0x2ce0e1._0x3ccfb5,_0x2ce0e1._0x469b01)];function _0x64a2f7(_0x31f4b0,_0x18bcf7,_0x160468,_0x4863af){return _0x4c76be(_0x160468- -_0x31ef1a._0x39b39a,_0x31f4b0,_0x160468-0xfb,_0x4863af-_0x31ef1a._0x2c6f5a);}function _0x27f30b(_0x5370d2,_0x650adb,_0x51c07d,_0x52ffc5){return _0x4f3748(_0x5370d2- -_0x30c06a._0x3b6c52,_0x650adb-0x156,_0x51c07d-_0x30c06a._0x4ab2a5,_0x52ffc5);}_0x28b589[_0x64a2f7(_0x2ce0e1._0x4f3e2d,0x397,0x296,_0x2ce0e1._0x14e317)]=null;});function _0x4f3748(_0x22c49e,_0x169983,_0xd74e6d,_0x518e4b){return _0x475ba1(_0x518e4b,_0x22c49e-_0x2b0398._0x31c69e,_0xd74e6d-0x2d,_0x518e4b-_0x2b0398._0x470c81);}return this[_0x4c76be(0x40e,0x3ff,_0x3a9fb1._0x403620,0x376)][_0x4f3748(_0x3a9fb1._0x419442,_0x3a9fb1._0x2d4263,0x89a,0x69d)](_0x1580de,_0x28b589),this[_0x4f3748(0x51f,_0x3a9fb1._0x1eaa6f,0x61f,_0x3a9fb1._0x2d8aad)](),_0x28b589;}[_0x511d68(0x5f5,0x543,0x3f3,0x499)](_0x146846,_0x32aebd){const _0x2ac9d6={_0x2afdd8:0x543,_0x4655d8:0x69a,_0x1fad78:0x752,_0xa85513:0x73b,_0x5aa8b8:0x60b,_0x11bbcd:0x5b9,_0x4d4871:0x76e,_0x1a3d7d:0x6b1,_0x4cb312:0x741,_0x5d39be:0x849,_0x3d0e3d:0x737,_0xdb35a7:0x78c,_0x5ca7fd:0x5d1,_0x49a07f:0x51a,_0x3d63e7:0x8d0,_0xc5c36e:0x6d2,_0x455bf4:0x755,_0x586146:0x601,_0x12788f:0x49a,_0x272b76:0x3ec,_0x459fae:0x537,_0x287b75:0x730,_0x4765ab:0x5a3,_0xf893e9:0x753,_0x1fede6:0x558,_0x4175f0:0x67c,_0x26be65:0x71c,_0x553d3:0x84a,_0x2c809d:0x724,_0x4fdd07:0x64c,_0x5e4e48:0x848,_0x88c21b:0x6ba,_0x536e4a:0x777,_0x7ac6f4:0x7da,_0x17c403:0x2d8,_0x3b7dd7:0x55b,_0x45bc23:0x805,_0x27262d:0x89f,_0x131b52:0x791,_0x314a33:0x5d7,_0x2d6d8f:0x6c3,_0x20874a:0x696,_0x25a124:0x6c8},_0x5a7897={_0x20bf14:0x171},_0x3df575={_0x895c5:0x105,_0x3f1708:0x145,_0x4f6d19:0xe0},_0x2efeba=this[_0xd1fbf8(0x6f1,0x5d6,0x61e,_0x2ac9d6._0x2afdd8)][_0xd1fbf8(0x60f,0x5a4,0x55e,0x71b)](_0x146846);if(!_0x2efeba)throw new ToolExecutionError(_0x566531(0x52b,_0x2ac9d6._0x4655d8,0x539,_0x2ac9d6._0x1fad78)+_0x146846,{'shellId':_0x146846});const _0xecbde7=_0x2efeba['buffer'][_0xd1fbf8(_0x2ac9d6._0xa85513,0x724,_0x2ac9d6._0x5aa8b8,_0x2ac9d6._0x11bbcd)]('');function _0x566531(_0x5ce286,_0x4960ae,_0x26bbd7,_0x28b1ad){return _0x511d68(_0x5ce286-_0x3df575._0x895c5,_0x4960ae-_0x3df575._0x3f1708,_0x26bbd7-_0x3df575._0x4f6d19,_0x5ce286);}const _0x5a4e16=Math['max'](_0x2efeba[_0x566531(0x693,_0x2ac9d6._0x4d4871,0x688,_0x2ac9d6._0x1a3d7d)],_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x4cb312,0x620,0x55c,0x68f)]),_0x461b73=Math[_0xd1fbf8(0x4a3,0x507,0x5e7,0x3b5)](0x0,_0x2efeba[_0x566531(_0x2ac9d6._0x5d39be,_0x2ac9d6._0x3d0e3d,0x85b,0x626)]-_0x2efeba['readCursor']),_0x2b95ec=_0xecbde7['slice'](_0x5a4e16-_0x2efeba[_0xd1fbf8(_0x2ac9d6._0xdb35a7,0x620,0x69d,0x698)]),_0x1d5d3f=_0x2efeba['status']!=='running';let _0x5d3e17;const _0x32fabb=_0x32aebd?.[_0x566531(0x4b1,0x5c2,_0x2ac9d6._0x5ca7fd,_0x2ac9d6._0x49a07f)];if(!_0x32fabb)_0x5d3e17=_0x2b95ec,_0x2efeba[_0x566531(_0x2ac9d6._0x3d63e7,0x76e,_0x2ac9d6._0xc5c36e,_0x2ac9d6._0x455bf4)]=_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x586146,_0x2ac9d6._0x12788f,0x4df,_0x2ac9d6._0x272b76)];else{let _0x59e548;try{_0x59e548=new RegExp(_0x32fabb);}catch(_0x416ce7){throw new ToolExecutionError(_0xd1fbf8(_0x2ac9d6._0x459fae,0x683,_0x2ac9d6._0x287b75,_0x2ac9d6._0x4765ab)+_0x416ce7[_0x566531(0x6c1,0x69e,_0x2ac9d6._0xf893e9,0x787)],{'shellId':_0x146846,'regex':_0x32fabb});}let _0x42f877=_0x2b95ec;if(!_0x1d5d3f){const _0x425c91=_0x2b95ec[_0xd1fbf8(_0x2ac9d6._0x1fede6,0x596,0x4bf,0x529)]('\x0a');_0x42f877=_0x425c91>=0x0?_0x2b95ec[_0xd1fbf8(_0x2ac9d6._0x2afdd8,0x4c8,0x44a,0x556)](0x0,_0x425c91+0x1):'';}_0x5d3e17=_0x42f877[_0xd1fbf8(_0x2ac9d6._0x4175f0,0x6b0,0x836,_0x2ac9d6._0x26be65)]('\x0a')['filter'](_0x3ec5e4=>_0x59e548['test'](_0x3ec5e4))[_0xd1fbf8(_0x2ac9d6._0x553d3,_0x2ac9d6._0x2c809d,_0x2ac9d6._0x4fdd07,_0x2ac9d6._0x5e4e48)]('\x0a'),_0x2efeba[_0x566531(_0x2ac9d6._0x88c21b,_0x2ac9d6._0x4d4871,_0x2ac9d6._0x536e4a,_0x2ac9d6._0x7ac6f4)]=_0x5a4e16+_0x42f877['length'];}const _0x4e3e62=(_0x461b73>0x0?_0xd1fbf8(_0x2ac9d6._0x17c403,0x438,0x330,_0x2ac9d6._0x3b7dd7)+_0x461b73+_0x566531(0x761,_0x2ac9d6._0x45bc23,0x6a6,_0x2ac9d6._0x27262d):'')+_0x5d3e17;function _0xd1fbf8(_0x37904d,_0x897fd0,_0x19f36d,_0x54f941){return _0x511d68(_0x37904d-0x10d,_0x897fd0-0x2e,_0x19f36d-_0x5a7897._0x20bf14,_0x54f941);}return{'output':_0x4e3e62,'status':_0x2efeba[_0xd1fbf8(0x6b3,0x62c,0x4b0,_0x2ac9d6._0x131b52)],'exitCode':_0x2efeba[_0x566531(_0x2ac9d6._0x314a33,0x558,_0x2ac9d6._0x2d6d8f,0x647)],'signal':_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x20874a,_0x2ac9d6._0x25a124,0x769,0x745)],'truncated':_0x461b73>0x0};}[_0x511d68(0x520,0x5ef,0x5b0,0x4b9)](){const _0x445f89={_0x11c3a6:0x404,_0x4047b4:0x485,_0x3c1c27:0x44f},_0x34a2e0={_0x1d77ac:0x1a,_0x514f5d:0x159,_0x431cde:0x1ed},_0x142f68={_0xbb701c:0x10f,_0x190b24:0x4d};function _0x744ded(_0x2841ee,_0x230d54,_0x58fea3,_0x223b1e){return _0x475ba1(_0x58fea3,_0x223b1e-0x1ba,_0x58fea3-_0x142f68._0xbb701c,_0x223b1e-_0x142f68._0x190b24);}function _0x536647(_0x44ebc3,_0x297cda,_0x546192,_0x3b3eda){return _0x511d68(_0x44ebc3-_0x34a2e0._0x1d77ac,_0x3b3eda- -_0x34a2e0._0x514f5d,_0x546192-_0x34a2e0._0x431cde,_0x44ebc3);}return[...this[_0x536647(0x5a8,_0x445f89._0x11c3a6,_0x445f89._0x4047b4,_0x445f89._0x3c1c27)][_0x744ded(0x478,0x42e,0x2c6,0x41f)]()];}[_0x511d68(0x4ab,0x402,0x4d8,0x29c)](_0x260949){const _0x2d49d4={_0x552abc:0x82,_0x26dbd6:0x284,_0x1a4f2c:0x1da,_0x34e749:0x183,_0x1ec7d2:0xb1,_0x37a627:0x18d,_0x29edb2:0x172,_0x4202cd:0x22c,_0x5d33c1:0x1d1,_0xb17d00:0x5fc,_0x154f82:0x581,_0xff797e:0x626,_0xb4d94c:0x740,_0x45690a:0x6d6,_0x138c1a:0x54f,_0x5ac114:0x5f0,_0x3766a9:0x41},_0x853a1a={_0xa30391:0x35,_0xaeec3b:0x125,_0x2f3fe5:0x11e},_0x3d0f26={_0x1e8bd8:0x163},_0x26e63d=this[_0x567cba(0x1d6,0x255,0x1e1,_0x2d49d4._0x552abc)][_0x567cba(0x1a4,0x25d,_0x2d49d4._0x26dbd6,_0x2d49d4._0x1a4f2c)](_0x260949);if(!_0x26e63d)throw new ToolExecutionError(_0x567cba(_0x2d49d4._0x34e749,_0x2d49d4._0x1ec7d2,_0x2d49d4._0x37a627,_0x2d49d4._0x29edb2)+_0x260949,{'shellId':_0x260949});if(_0x26e63d[_0x567cba(_0x2d49d4._0x4202cd,0xd3,0x11c,_0x2d49d4._0x5d33c1)]===_0x567cba(0x165,0x259,0x1df,0x2b9)&&_0x26e63d[_0x269fb6(_0x2d49d4._0xb17d00,0x539,0x677,0x752)]&&!_0x26e63d['processExited']){_0x26e63d['killRequested']=!![];try{killProcessGroup(_0x26e63d[_0x269fb6(0x5fc,0x6bf,_0x2d49d4._0x154f82,_0x2d49d4._0xff797e)],process[_0x269fb6(0x5fd,_0x2d49d4._0xb4d94c,_0x2d49d4._0x45690a,0x56a)]===_0x269fb6(_0x2d49d4._0x138c1a,_0x2d49d4._0x5ac114,0x3cf,0x640));}catch{}}function _0x567cba(_0x3c50cc,_0x514722,_0x207d2a,_0x568a99){return _0x475ba1(_0x568a99,_0x3c50cc-0x7b,_0x207d2a-0xf2,_0x568a99-_0x3d0f26._0x1e8bd8);}function _0x269fb6(_0x288371,_0x4847cd,_0x55e742,_0x333ca6){return _0x511d68(_0x288371-_0x853a1a._0xa30391,_0x288371-_0x853a1a._0xaeec3b,_0x55e742-_0x853a1a._0x2f3fe5,_0x333ca6);}return{'status':_0x26e63d[_0x567cba(0x22c,0xfd,0xdb,0x1b7)],'exitCode':_0x26e63d[_0x567cba(_0x2d49d4._0x3766a9,0x9b,0x1a7,-0x108)],'signal':_0x26e63d['signal']};}async[_0x511d68(0x679,0x670,0x52e,0x57e)](){const _0x5bbf38={_0xb7cc19:0x122,_0x3f2d19:0x6d,_0x3c5c73:0x6c0,_0x3762a7:0x5f9,_0x18f263:0x65c,_0x1df036:0x521,_0x27029e:0x599,_0x4e608a:0x62e,_0x328cc8:0x708,_0x526a3e:0x10b,_0x3df48f:0xd8,_0x3f2fe8:0x4e1,_0x9f4541:0x44f,_0x347b85:0x64e,_0x4bf0d3:0x6d4,_0x1ac469:0x59a,_0x296e72:0x592,_0x42a086:0x340,_0x2122c8:0x1eb},_0x45c312={_0x5ceb7d:0xf7,_0x46fd09:0xc2,_0x1c9621:0x145},_0x290f92={_0x39227b:0x615};function _0x165f17(_0x3e171d,_0x20ae43,_0x424c28,_0x49fae2){return _0x511d68(_0x3e171d-0x15c,_0x49fae2- -_0x290f92._0x39227b,_0x424c28-0x20,_0x20ae43);}function _0x75d84d(_0x1cd511,_0xf16c79,_0x301bb4,_0x541537){return _0x511d68(_0x1cd511-_0x45c312._0x5ceb7d,_0x1cd511-_0x45c312._0x46fd09,_0x301bb4-_0x45c312._0x1c9621,_0xf16c79);}for(const _0x4a6ea7 of this[_0x165f17(-0x82,0xf6,-_0x5bbf38._0xb7cc19,-_0x5bbf38._0x3f2d19)]['values']()){if(_0x4a6ea7[_0x75d84d(_0x5bbf38._0x3c5c73,0x64b,0x802,0x666)]===_0x75d84d(_0x5bbf38._0x3762a7,0x57b,_0x5bbf38._0x18f263,_0x5bbf38._0x1df036)&&_0x4a6ea7[_0x75d84d(_0x5bbf38._0x27029e,_0x5bbf38._0x4e608a,0x464,_0x5bbf38._0x328cc8)]&&!_0x4a6ea7[_0x165f17(-0xe0,-0x227,-_0x5bbf38._0x526a3e,-_0x5bbf38._0x3df48f)]){_0x4a6ea7[_0x75d84d(_0x5bbf38._0x3f2fe8,0x5de,_0x5bbf38._0x9f4541,_0x5bbf38._0x347b85)]=!![];try{killProcessGroup(_0x4a6ea7[_0x75d84d(_0x5bbf38._0x27029e,0x4ed,_0x5bbf38._0x4bf0d3,0x6c2)],process[_0x75d84d(_0x5bbf38._0x1ac469,0x430,0x428,_0x5bbf38._0x296e72)]===_0x165f17(-0x19c,-0x253,-_0x5bbf38._0x42a086,-_0x5bbf38._0x2122c8));}catch{}}}}[_0x511d68(0x3ac,0x47a,0x4ab,0x55b)](_0x61851b,_0x463fb8){const _0xcf9b27={_0x1eb754:0x1a9,_0x81e924:0x2cd,_0x5aac2e:0x1e7,_0x5ea7b3:0x138,_0xfeacc3:0xa8,_0x2b1954:0x249,_0x131c1a:0x114,_0x4e800d:0x29,_0x440f32:0x58,_0x3593ba:0x20b,_0x154991:0x1b1,_0x5abe9c:0x20,_0xf0846f:0x210,_0x24d919:0x138,_0x1c23e6:0x2c5,_0x506bc3:0x295,_0x200502:0xf9,_0x207ffa:0xec,_0x354289:0x168,_0x5714bc:0xff,_0x558d08:0x218,_0x53a755:0x314,_0x4d65c0:0x84,_0xfc2592:0x48,_0x594267:0x1cd,_0x56705d:0x1b8,_0x2b3053:0x13c,_0x492885:0x233,_0x43d25b:0xf8,_0x4625ec:0x2bc,_0x4f2d6c:0x13,_0x37e56b:0xec,_0x53259e:0xf4,_0x3b9d86:0x243,_0xb1f647:0x2cd},_0x47e56f={_0xcab5fd:0xaa},_0x1bdd90={_0x5d103f:0x69,_0x13d5ea:0x1e7},_0x2ae986=_0x61851b[_0x212b1b(0x1e7,_0xcf9b27._0x1eb754,_0xcf9b27._0x81e924,_0xcf9b27._0x5aac2e)]?stripAnsiAndControls(_0x463fb8):_0x463fb8;function _0x284e53(_0x44d600,_0x4d0ba7,_0x357482,_0x1b8f0d){return _0x475ba1(_0x4d0ba7,_0x1b8f0d- -_0x1bdd90._0x5d103f,_0x357482-0x111,_0x1b8f0d-_0x1bdd90._0x13d5ea);}function _0x212b1b(_0x5c332a,_0x19c344,_0x5a8153,_0x459590){return _0x475ba1(_0x5a8153,_0x459590-0xa7,_0x5a8153-_0x47e56f._0xcab5fd,_0x459590-0x3a);}if(_0x2ae986['length']===0x0)return;_0x61851b[_0x212b1b(_0xcf9b27._0x5ea7b3,0x2c8,0x354,0x1fc)][_0x212b1b(-_0xcf9b27._0xfeacc3,0x3b,0x13,0x71)](_0x2ae986),_0x61851b[_0x212b1b(_0xcf9b27._0x2b1954,0x229,0x156,0x2c5)]+=_0x2ae986[_0x284e53(_0xcf9b27._0x131c1a,0x4c,-_0xcf9b27._0x4e800d,_0xcf9b27._0x440f32)],_0x61851b[_0x212b1b(_0xcf9b27._0x3593ba,_0xcf9b27._0x154991,0x16b,0xc6)]+=_0x2ae986['length'];while(_0x61851b[_0x284e53(0x60,0x6f,0x129,0x1b5)]>this[_0x284e53(_0xcf9b27._0x5abe9c,0x176,_0xcf9b27._0xf0846f,_0xcf9b27._0x24d919)]){const _0x2f76e4=_0x61851b[_0x212b1b(0x3ab,0x27e,0x238,_0xcf9b27._0x1c23e6)]-this[_0x284e53(_0xcf9b27._0x506bc3,0x2a3,0x21a,0x138)],_0x4f7656=_0x61851b[_0x284e53(_0xcf9b27._0x200502,0xc5,0x85,_0xcf9b27._0x207ffa)][0x0];_0x4f7656[_0x212b1b(0x55,0x1e6,0x1f6,_0xcf9b27._0x354289)]<=_0x2f76e4?(_0x61851b[_0x284e53(0x48,0x22b,_0xcf9b27._0x5714bc,0xec)][_0x284e53(0x134,_0xcf9b27._0x558d08,_0xcf9b27._0x53a755,0x200)](),_0x61851b[_0x284e53(0x1e2,0x2f1,0xc8,0x1b5)]-=_0x4f7656[_0x212b1b(_0xcf9b27._0x4d65c0,_0xcf9b27._0xfc2592,0x37,_0xcf9b27._0x354289)],_0x61851b[_0x284e53(_0xcf9b27._0x594267,_0xcf9b27._0x56705d,0x174,_0xcf9b27._0x2b3053)]+=_0x4f7656[_0x212b1b(_0xcf9b27._0x492885,_0xcf9b27._0x43d25b,_0xcf9b27._0x4625ec,_0xcf9b27._0x354289)]):(_0x61851b[_0x284e53(0x213,-0x5c,-_0xcf9b27._0x4f2d6c,_0xcf9b27._0x37e56b)][0x0]=_0x4f7656[_0x212b1b(0x204,0xf1,0x1a,_0xcf9b27._0x53259e)](_0x2f76e4),_0x61851b[_0x284e53(_0xcf9b27._0x3b9d86,0x121,_0xcf9b27._0xb1f647,0x1b5)]-=_0x2f76e4,_0x61851b['totalDropped']+=_0x2f76e4);}}['evictIfNeeded'](){const _0x31f7e4={_0x30a004:0x4d8,_0x20b82b:0x6b5,_0x19a7a7:0x7d6,_0x5b6112:0x579,_0x51a901:0x2dc,_0x2a1fad:0x280,_0x223eab:0x3d0,_0x3144f8:0x1ca},_0x190053={_0x593cf4:0x37e,_0x30df7f:0x132};function _0x56e97b(_0x31152,_0x6b0657,_0x264958,_0x1b68ec){return _0x475ba1(_0x1b68ec,_0x31152-0x428,_0x264958-0x16,_0x1b68ec-0x85);}if(this[_0x56e97b(0x583,0x482,_0x31f7e4._0x30a004,0x678)][_0x56e97b(_0x31f7e4._0x20b82b,0x616,_0x31f7e4._0x19a7a7,_0x31f7e4._0x5b6112)]<=this[_0x492047(0x36a,_0x31f7e4._0x51a901,0x29c,0x1d2)])return;function _0x492047(_0x51b668,_0x998e0a,_0x122af0,_0x49292d){return _0x511d68(_0x51b668-0x98,_0x998e0a- -_0x190053._0x593cf4,_0x122af0-_0x190053._0x30df7f,_0x51b668);}for(const [_0x1977eb,_0x39fdbd]of this['entries']){if(_0x39fdbd[_0x492047(0x161,_0x31f7e4._0x2a1fad,_0x31f7e4._0x223eab,_0x31f7e4._0x3144f8)]!=='running'){this['entries']['delete'](_0x1977eb);return;}}}};function createBashOutputTool(_0x4537bf){const _0x1bc9ba={_0x2ed10f:0x7c5,_0x24a332:0x66c,_0x49c212:0x773,_0x1c231c:0x858,_0x252f60:0x4cd},_0x34424e={_0x37028c:0x6c,_0xaa5dd4:0x58,_0x51aa80:0x9,_0xd1bc64:0xbf,_0x563214:0x4bb,_0x3abbc7:0x3eb,_0x5805ae:0x3fe,_0x429b27:0x3c2,_0x14f4e6:0x551,_0x445236:0x28,_0x103489:0x3a,_0x4d8118:0xc5,_0x512353:0x19c},_0x130711={_0x50406e:0x61},_0x52aca={_0x3fa243:0xb7,_0x379591:0xeb};function _0x20dcc6(_0x191f99,_0x4affe9,_0x3c9f57,_0x1677aa){return _0x475ba1(_0x191f99,_0x4affe9-0x353,_0x3c9f57-_0x52aca._0x3fa243,_0x1677aa-_0x52aca._0x379591);}function _0x69a887(_0x4f51f9,_0x74d564,_0x2cd2b7,_0x19dba9){return _0x475ba1(_0x4f51f9,_0x19dba9-0x5d9,_0x2cd2b7-_0x130711._0x50406e,_0x19dba9-0x155);}const {registry:_0x76e605}=_0x4537bf;return defineTool({'name':_0x69a887(0x8cf,0x653,0x762,_0x1bc9ba._0x2ed10f),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':_0x69a887(_0x1bc9ba._0x24a332,_0x1bc9ba._0x49c212,_0x1bc9ba._0x1c231c,0x79f),'properties':{'shellId':{'type':_0x20dcc6(_0x1bc9ba._0x252f60,0x4d0,0x4e1,0x628)},'regex':{'type':'string'}},'required':['shellId']},async *'execute'(_0x3deced){const _0x46df68={_0x5fbbfe:0xf3},_0xab41ce={_0x2cef9d:0x182};function _0xfeeee0(_0x3c4e6a,_0x58affc,_0xc0546d,_0x1f3cba){return _0x20dcc6(_0x3c4e6a,_0xc0546d-0xf4,_0xc0546d-_0xab41ce._0x2cef9d,_0x1f3cba-0x5);}const _0x48e3f6=_0x76e605[_0x3ee1f8(-_0x34424e._0x37028c,-_0x34424e._0xaa5dd4,-_0x34424e._0x51aa80,-_0x34424e._0xd1bc64)](_0x3deced['shellId'],_0x3deced[_0xfeeee0(_0x34424e._0x563214,_0x34424e._0x3abbc7,0x477,_0x34424e._0x5805ae)]?{'regex':_0x3deced[_0xfeeee0(_0x34424e._0x429b27,_0x34424e._0x14f4e6,0x477,0x36d)]}:void 0x0);function _0x3ee1f8(_0x1731f2,_0x3cf79a,_0x5329e1,_0x2936fe){return _0x69a887(_0x3cf79a,_0x3cf79a-_0x46df68._0x5fbbfe,_0x5329e1-0xf3,_0x1731f2- -0x73b);}return createToolOutput(_0x48e3f6[_0x3ee1f8(-0xad,-_0x34424e._0x445236,-0x12f,-_0x34424e._0x103489)],{'shellId':_0x3deced['shellId'],'status':_0x48e3f6[_0x3ee1f8(0x4f,0x5f,_0x34424e._0x4d8118,0xb6)],'exitCode':_0x48e3f6[_0x3ee1f8(-_0x34424e._0x512353,-0x20f,-0x129,-0x196)],'signal':_0x48e3f6['signal'],'truncated':_0x48e3f6['truncated']});}});}import{spawn as _0x4a3f08}from'child_process';import{statSync}from'fs';import*as _0x355e6d from'os';import*as _0x2cb0b5 from'path';import{StringDecoder as _0x559f10}from'string_decoder';import{stat}from'fs/promises';import*as _0x4ea1c5 from'path';function isPathInside(_0x2224d6,_0x479faf){const _0x360fd6={_0x4954e0:0x575,_0x9ddc09:0x5a4},_0x4628b5={_0x5bc040:0x33},_0x308774=_0x4ea1c5[_0x110a4c(0x44e,0x488,_0x360fd6._0x4954e0,_0x360fd6._0x9ddc09)](_0x2224d6);function _0x110a4c(_0x445099,_0x2e4511,_0x226fa4,_0x497dd0){return _0x475ba1(_0x497dd0,_0x226fa4-0x5ac,_0x226fa4-_0x4628b5._0x5bc040,_0x497dd0-0xa4);}const _0x2e57a3=_0x4ea1c5['relative'](_0x308774,_0x479faf);return _0x2e57a3===''||!_0x2e57a3['startsWith']('..')&&!_0x4ea1c5['isAbsolute'](_0x2e57a3);}function resolveWorkspacePath(_0x520442,_0x336764){return resolveAllowedPath(_0x520442,[],_0x336764);}function resolveAllowedPath(_0x1f15f4,_0x4adeff,_0x545501){const _0x490bcf={_0x33ef1e:0x172,_0x38850e:0x14a,_0x5aceb7:0x1d2,_0xca205e:0xd1,_0x22c1c0:0x55},_0x6fea17={_0x4a64d4:0x113},_0x534ec1={_0x5d2ac4:0x13c},_0x163d6b=_0x4ea1c5[_0x3e1a33(-_0x490bcf._0x33ef1e,-_0x490bcf._0x38850e,-0x29e,-0xae)](_0x1f15f4);function _0x2fb492(_0xc63024,_0x463945,_0x368635,_0x4682a7){return _0x475ba1(_0xc63024,_0x4682a7- -0x17c,_0x368635-_0x534ec1._0x5d2ac4,_0x4682a7-0x167);}function _0x3e1a33(_0x1b5c78,_0x3bc8d9,_0x3313d7,_0xc46b9c){return _0x475ba1(_0xc46b9c,_0x3bc8d9- -_0x6fea17._0x4a64d4,_0x3313d7-0x1d0,_0xc46b9c-0x7d);}const _0x271181=_0x4ea1c5[_0x3e1a33(-_0x490bcf._0x5aceb7,-_0x490bcf._0x38850e,-_0x490bcf._0xca205e,-_0x490bcf._0x22c1c0)](_0x163d6b,_0x545501),_0x2351c1=[_0x163d6b,..._0x4adeff['map'](_0x53f86e=>_0x4ea1c5[_0x3e1a33(-0xdd,-0x14a,-0x264,-0x1a2)](_0x53f86e))];if(_0x2351c1['some'](_0x52e782=>isPathInside(_0x52e782,_0x271181)))return _0x271181;throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x545501,{'path':_0x545501,'rootDir':_0x163d6b,'allowedDirs':_0x2351c1});}async function assertWorkspaceFile(_0x3a5cc1){const _0x3a14dc={_0x4ce8c5:0x101},_0x12343d=await stat(_0x3a5cc1);function _0x46e389(_0x1aca4a,_0x154900,_0x4318c5,_0x12c99b){return _0x475ba1(_0x154900,_0x12c99b-0x1df,_0x4318c5-0x1be,_0x12c99b-_0x3a14dc._0x4ce8c5);}if(!_0x12343d['isFile']())throw new ToolExecutionError(_0x46e389(0x29f,0x37f,0xe5,0x24c)+_0x3a5cc1,{'path':_0x3a5cc1});}function isProbablyBinary(_0x166802){const _0x2f5217={_0x26fc0a:0x351,_0x33102e:0x3e3,_0x4a3887:0x2fa},_0xf390fb={_0xb22378:0xb3};function _0x47263e(_0x51a8dd,_0x55beeb,_0x208cf8,_0x4efc5c){return _0x475ba1(_0x55beeb,_0x51a8dd-0x382,_0x208cf8-_0xf390fb._0xb22378,_0x4efc5c-0x122);}return _0x166802[_0x47263e(0x3ac,_0x2f5217._0x26fc0a,_0x2f5217._0x33102e,_0x2f5217._0x4a3887)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x475ba1(0xaf,0x123,0x47,0x25)+DEFAULT_TIMEOUT_MS+_0x475ba1(0x2b7,0x149,0x2b7,0x18f);function buildChildEnv(_0x3006f6,_0x21742b){const _0x195586={_0x280131:0x50a,_0x4bca32:0x5f4,_0x20de06:0x59d,_0x18d4df:0x4a1,_0xb5dbda:0x204,_0x183e04:0x2be,_0x2ce89d:0x3f8,_0x3c3af5:0x278,_0x1506e6:0x4bc,_0x3b40d9:0x6c2,_0x1c9951:0x6a2,_0x42b567:0x4a7,_0x3f8630:0x40a},_0x5c3d46={_0x558ed0:0x533,_0x472290:0x7e,_0x18c637:0xa7},_0x2da219={_0x3d9f09:0x150,_0x2dcd69:0x1e3},_0x444abb={...process['env'],..._0x3006f6??{}};function _0x3f4ece(_0x2c5236,_0x2a4852,_0x153b1c,_0x1cc047){return _0x475ba1(_0x2a4852,_0x2c5236-_0x2da219._0x3d9f09,_0x153b1c-0x11,_0x1cc047-_0x2da219._0x2dcd69);}if(_0x21742b[_0x39fd4f(_0x195586._0x280131,0x73e,_0x195586._0x4bca32,0x72d)]===0x0)return _0x444abb;if(_0x355e6d['platform']()===_0x39fd4f(0x4e2,_0x195586._0x20de06,0x510,_0x195586._0x18d4df)){const _0x38a158=new Set(_0x21742b[_0x3f4ece(0x256,_0x195586._0xb5dbda,_0x195586._0x183e04,0x1bb)](_0x4c90a4=>_0x4c90a4[_0x39fd4f(0x80a,0x72a,0x712,0x7e7)]()));for(const _0x259197 of Object[_0x3f4ece(_0x195586._0x2ce89d,_0x195586._0x3c3af5,0x385,_0x195586._0x1506e6)](_0x444abb)){if(_0x38a158[_0x39fd4f(_0x195586._0x3b40d9,0x57c,_0x195586._0x1c9951,0x6a8)](_0x259197[_0x3f4ece(0x32f,_0x195586._0x42b567,0x37d,_0x195586._0x3f8630)]()))delete _0x444abb[_0x259197];}}else{for(const _0x4d04ee of _0x21742b)delete _0x444abb[_0x4d04ee];}function _0x39fd4f(_0x2246af,_0x47102a,_0x1b54fe,_0x1b105a){return _0x475ba1(_0x2246af,_0x1b54fe-_0x5c3d46._0x558ed0,_0x1b54fe-_0x5c3d46._0x472290,_0x1b105a-_0x5c3d46._0x18c637);}return _0x444abb;}function mapSpawnError(_0x3c3d27,_0x871a9e){const _0x5d6976={_0x37ad07:0x1f9,_0x2a7963:0x1ca,_0x75b42a:0xc4,_0x41b69d:0x26d},_0x4ac0d1={_0x5ac30c:0x2cd,_0x586045:0x26},_0x5b190b={_0x544ff9:0x64};if(isErrnoException(_0x3c3d27)&&_0x3c3d27[_0x3fde2b(_0x5d6976._0x37ad07,0x1de,_0x5d6976._0x2a7963,0x86)]==='ENOENT')return new ToolExecutionError(_0x3fde2b(0xfb,0x1d0,0x317,_0x5d6976._0x75b42a)+_0x871a9e[_0x3fde2b(_0x5d6976._0x41b69d,0x1a2,0x51,0x2fc)],_0x871a9e);function _0x568828(_0x4df1c3,_0x119cbf,_0x2ab534,_0x5cc339){return _0x511d68(_0x4df1c3-_0x5b190b._0x544ff9,_0x2ab534- -0x5b,_0x2ab534-0xba,_0x119cbf);}function _0x3fde2b(_0x3de185,_0x3e8b86,_0x143447,_0x11a4f6){return _0x511d68(_0x3de185-0x1d0,_0x3e8b86- -_0x4ac0d1._0x5ac30c,_0x143447-_0x4ac0d1._0x586045,_0x11a4f6);}return new ToolExecutionError(_0x3c3d27 instanceof Error?_0x3c3d27['message']:String(_0x3c3d27),_0x871a9e);}function shellExists(_0x2a4dc6){const _0x6b4440={_0x279d3c:0x520,_0x3f5bf2:0x42f,_0x55de93:0x541},_0x2da019={_0xe03398:0x192,_0x3fab69:0x54};function _0x496ee1(_0x5b0a67,_0x5b90a9,_0x1c62a7,_0x2361b3){return _0x511d68(_0x5b0a67-_0x2da019._0xe03398,_0x5b0a67-_0x2da019._0x3fab69,_0x1c62a7-0x14e,_0x1c62a7);}try{const _0x8d7fab=statSync(_0x2a4dc6);return _0x8d7fab['isFile']()&&(_0x8d7fab[_0x496ee1(_0x6b4440._0x279d3c,_0x6b4440._0x3f5bf2,0x44b,_0x6b4440._0x55de93)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x25a2c7){const _0x14d192={_0x489b5e:0x1be,_0x234549:0x7b,_0x5e1a17:0x185,_0xebce:0x152,_0x324a22:0x1ac,_0x2fb0a0:0x1fe,_0x2eae08:0x48e,_0x2d2d12:0x36b,_0x18cff5:0x35d,_0x246dfc:0x477,_0x94951f:0x6db,_0x297445:0x678,_0x8528e1:0x2b,_0x1b2647:0x61,_0x10a6bb:0xe3,_0x17c1ce:0x15b},_0x2ea956={_0x3eec15:0x4ab,_0x1502f6:0x151,_0x2e8445:0x1e1},_0x28e7ec={_0x3a464f:0x7a};function _0x4c1dce(_0x3087f4,_0x20e94e,_0x23149b,_0x3ce86d){return _0x511d68(_0x3087f4-0x3f,_0x23149b- -0x57c,_0x23149b-_0x28e7ec._0x3a464f,_0x3087f4);}if(_0x25a2c7)return _0x25a2c7;function _0x271beb(_0x1b6b28,_0x6d81b1,_0x2f0338,_0x4fedb4){return _0x475ba1(_0x6d81b1,_0x4fedb4-_0x2ea956._0x3eec15,_0x2f0338-_0x2ea956._0x1502f6,_0x4fedb4-_0x2ea956._0x2e8445);}if(_0x355e6d[_0x4c1dce(-_0x14d192._0x489b5e,-0x1b0,-0xa4,-0x109)]()===_0x4c1dce(-_0x14d192._0x234549,-_0x14d192._0x5e1a17,-_0x14d192._0xebce,-0x244))return process['env'][_0x4c1dce(0xf7,0x88,0x128,_0x14d192._0x324a22)]||'cmd.exe';const _0x1aa365=[_0x4c1dce(0x179,_0x14d192._0x2fb0a0,0x15b,0x21d),_0x271beb(_0x14d192._0x2eae08,_0x14d192._0x2d2d12,_0x14d192._0x18cff5,_0x14d192._0x246dfc),'/usr/bin/bash',_0x271beb(_0x14d192._0x94951f,_0x14d192._0x297445,0x7ae,0x6a6)];for(const _0x29fc5a of _0x1aa365){if(shellExists(_0x29fc5a))return _0x29fc5a;}const _0x5c3df5=process[_0x4c1dce(-0x14,-_0x14d192._0x8528e1,-_0x14d192._0x1b2647,-_0x14d192._0x10a6bb)]['SHELL'];if(_0x5c3df5&&shellExists(_0x5c3df5))return _0x5c3df5;return _0x4c1dce(0x7c,0x1ca,_0x14d192._0x17c1ce,0x213);}function buildShellArgs(_0x60bd1d,_0x1d5a52){const _0x4c4dbe={_0xe9cf5f:0x592,_0x54a3f1:0x3a3,_0x5e5af9:0x2be,_0x343d78:0x442,_0x291a2c:0x2dc,_0x321f5f:0x2b3,_0x3ef39d:0x225,_0x4ade88:0x343,_0x2dfacd:0x3a7},_0xe399d={_0x256253:0x44,_0x9cda8f:0x2bb,_0x8ff064:0x188};function _0x66881c(_0x84a1d9,_0x1bd5be,_0x5efd08,_0x7ed18a){return _0x511d68(_0x84a1d9-_0xe399d._0x256253,_0x7ed18a- -_0xe399d._0x9cda8f,_0x5efd08-_0xe399d._0x8ff064,_0x5efd08);}if(_0x355e6d[_0x66881c(0x1e8,0x2e0,0xc5,0x21d)]()===_0x66881c(0x200,0x195,0x1b1,0x16f)){const _0x13edeb=/cmd(\.exe)?$/i[_0x66881c(_0x4c4dbe._0xe9cf5f,_0x4c4dbe._0x54a3f1,_0x4c4dbe._0x5e5af9,_0x4c4dbe._0x343d78)](_0x1d5a52);return _0x13edeb?['/d','/s','/c',_0x60bd1d]:[_0x3f37c6(0x3b5,_0x4c4dbe._0x291a2c,_0x4c4dbe._0x321f5f,_0x4c4dbe._0x3ef39d),_0x66881c(_0x4c4dbe._0x4ade88,0x2af,0x4eb,_0x4c4dbe._0x2dfacd),_0x3f37c6(0x1ba,0xde,0x14d,0xec),_0x60bd1d];}function _0x3f37c6(_0x43dcb4,_0x8df14c,_0x438cd9,_0xb78aa7){return _0x475ba1(_0x43dcb4,_0x438cd9-0x171,_0x438cd9-0x151,_0xb78aa7-0x1ca);}return['-c',_0x60bd1d];}function resolveWorkingDirectory(_0x4d0eb4,_0x50a5e8,_0x43e5eb){const _0x35fa8d={_0x3ee3b3:0x4aa,_0x5714e6:0x536},_0x539522={_0x35a018:0x2a6};function _0x422de9(_0x25b8d6,_0x30951b,_0x19a4b4,_0x205175){return _0x475ba1(_0x205175,_0x19a4b4-_0x539522._0x35a018,_0x19a4b4-0x2b,_0x205175-0x1de);}const _0x685439=resolveAllowedPath(_0x50a5e8,_0x43e5eb,_0x4d0eb4??'.');try{const _0x49a25e=statSync(_0x685439);if(!_0x49a25e['isDirectory']())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x685439,{'cwd':_0x685439});return _0x685439;}catch(_0x45a456){if(_0x45a456 instanceof ToolExecutionError)throw _0x45a456;throw new ToolExecutionError(_0x422de9(_0x35fa8d._0x3ee3b3,0x559,_0x35fa8d._0x5714e6,0x46e)+_0x685439,{'cwd':_0x685439});}}function emitChunk(_0x2caa57,_0x3553c9,_0x1f2285,_0x5ecc61){const _0x56d538={_0x47ee32:0x7b,_0x303851:0x10a,_0x5e1a70:0xde},_0x19aeba={_0x2ab5a9:0x15c},_0x4677e0={_0xd4b9e8:0x6d,_0x2b9186:0x593};_0x2caa57[_0x23af39(-0x17c,-0x9e,-0x170,-0xe1)](_0x1f2285);function _0x23af39(_0x5ac155,_0x4f5571,_0x265e56,_0x51b9f1){return _0x511d68(_0x5ac155-_0x4677e0._0xd4b9e8,_0x5ac155- -_0x4677e0._0x2b9186,_0x265e56-0x100,_0x4f5571);}_0x3553c9[_0x258cec(_0x56d538._0x47ee32,-_0x56d538._0x303851,0xdd,_0x56d538._0x5e1a70)](_0x1f2285);function _0x258cec(_0x295892,_0x450c81,_0x2f6ebe,_0x565fe0){return _0x511d68(_0x295892-0x14f,_0x295892- -0x39c,_0x2f6ebe-_0x19aeba._0x2ab5a9,_0x565fe0);}_0x5ecc61();}function appendChunk(_0x4ba739,_0x43ec90,_0x114b0c,_0x784aa1,_0x5201bf,_0x1ab07c){const _0xb384e4={_0x183828:0x9,_0xbd217a:0x76,_0x531e51:0x1e1,_0x1aab77:0xae,_0x456850:0x53,_0x27a570:0x1da,_0x29cfe0:0x241,_0x15edde:0x84,_0x304412:0xee,_0x1aa15f:0x21a,_0x5bb98e:0x31,_0x4987dd:0x1f1,_0x1fb67e:0x284,_0x5b3170:0xe5,_0xd67510:0x32b,_0x3f9783:0x50,_0x33c615:0x1c4,_0x507437:0x1f8,_0x51773b:0x92,_0x145db7:0x48,_0x42f850:0xe9,_0x348281:0x217,_0x207293:0x14f,_0x2fc0ce:0x135,_0x2559d1:0x6b,_0x3cdea9:0x17c},_0x60bd2a={_0x471ebb:0xd0},_0x1cc7e7={_0x45453c:0x2d},_0x15abf8=_0x784aa1?stripAnsiAndControls(_0x114b0c):_0x114b0c;if(_0x15abf8[_0x1a7e39(_0xb384e4._0x183828,0x122,0x25,0x12)]===0x0)return;if(!_0x1ab07c){emitChunk(_0x4ba739,_0x43ec90,_0x15abf8,_0x5201bf);return;}function _0x1df4d1(_0x76f567,_0x4bcc6b,_0xb686e2,_0x11c9b3){return _0x511d68(_0x76f567-0x120,_0x4bcc6b- -0x425,_0xb686e2-_0x1cc7e7._0x45453c,_0xb686e2);}function _0x1a7e39(_0x5487d8,_0x3e0e1f,_0x4463d5,_0x9eac27){return _0x475ba1(_0x3e0e1f,_0x5487d8- -0xb8,_0x4463d5-0x10e,_0x9eac27-_0x60bd2a._0x471ebb);}let _0x5acf37=0x0,_0x3634d8=_0x15abf8[_0x1a7e39(-_0xb384e4._0xbd217a,-_0xb384e4._0x531e51,-_0xb384e4._0x1aab77,-_0xb384e4._0x456850)]('\x0a');while(_0x3634d8>=0x0){_0x1ab07c[_0x1a7e39(_0xb384e4._0x27a570,_0xb384e4._0x29cfe0,_0xb384e4._0x15edde,0x19c)][_0x1a7e39(-_0xb384e4._0x304412,-0x213,-0x81,-_0xb384e4._0x1aa15f)](_0x15abf8[_0x1df4d1(_0xb384e4._0x5bb98e,0x75,0x1d1,0x115)](_0x5acf37,_0x3634d8));const _0x524075=_0x1ab07c['trailingChunks'][_0x1a7e39(_0xb384e4._0x4987dd,_0xb384e4._0x1fb67e,0x2aa,_0xb384e4._0x5b3170)]('');_0x1ab07c[_0x1a7e39(_0xb384e4._0x27a570,0x68,0x182,_0xb384e4._0xd67510)][_0x1df4d1(-0x29,0xe9,-_0xb384e4._0x3f9783,0x25c)]=0x0,_0x1ab07c[_0x1a7e39(-0x88,-_0xb384e4._0x33c615,-0x1fd,0xfc)][_0x1a7e39(_0xb384e4._0x507437,0x286,_0xb384e4._0x51773b,0x2c2)](_0x524075)&&emitChunk(_0x4ba739,_0x43ec90,_0x524075+'\x0a',_0x5201bf),_0x5acf37=_0x3634d8+0x1,_0x3634d8=_0x15abf8['indexOf']('\x0a',_0x5acf37);}_0x5acf37<_0x15abf8[_0x1df4d1(_0xb384e4._0x145db7,_0xb384e4._0x42f850,_0xb384e4._0x348281,_0xb384e4._0x207293)]&&_0x1ab07c['trailingChunks'][_0x1a7e39(-_0xb384e4._0x304412,-_0xb384e4._0x2fc0ce,0x9,-0x1d7)](_0x15abf8[_0x1a7e39(-_0xb384e4._0x2559d1,0x8e,-_0xb384e4._0x3cdea9,-0xdb)](_0x5acf37));}function flushOutputRegex(_0x42e7fb,_0x29e8f9,_0x34c6b0,_0x19ee83){const _0x34a397={_0x39ddd6:0x6e4,_0x337443:0x7ef,_0x25f414:0x835,_0x3dd416:0x118,_0x5a84ea:0x724,_0x1b9532:0x76c,_0x1e3492:0x7c8,_0x21c641:0x86a,_0x2c5275:0x8f3,_0x5d159d:0x7b2,_0x5679eb:0x7c8,_0x1de09a:0xf9,_0x258d8b:0x37a,_0x4febbf:0x4c6,_0x35054f:0x566,_0x4a383f:0x451,_0x5c4fd7:0x700},_0x3340b3={_0x413a7d:0x1c5},_0xb327e0={_0x15eddc:0x11f,_0x5b8fe9:0xe9};function _0x51fb93(_0x59cd99,_0x696ea,_0x427bcd,_0x3bf92d){return _0x511d68(_0x59cd99-_0xb327e0._0x15eddc,_0x427bcd-_0xb327e0._0x5b8fe9,_0x427bcd-0xef,_0x3bf92d);}if(!_0x34c6b0||_0x34c6b0[_0x51fb93(_0x34a397._0x39ddd6,_0x34a397._0x337443,0x7c8,_0x34a397._0x25f414)][_0x2ba8c5(0x189,0x93,0x1ff,_0x34a397._0x3dd416)]===0x0)return;const _0xd98abe=_0x34c6b0[_0x51fb93(_0x34a397._0x5a84ea,_0x34a397._0x1b9532,_0x34a397._0x1e3492,0x6eb)][_0x51fb93(0x7f9,_0x34a397._0x21c641,0x7df,_0x34a397._0x2c5275)]('');_0x34c6b0[_0x51fb93(0x6ef,_0x34a397._0x5d159d,_0x34a397._0x5679eb,0x882)][_0x2ba8c5(_0x34a397._0x1de09a,_0x34a397._0x258d8b,0x1ff,0x23a)]=0x0;function _0x2ba8c5(_0x3b15e7,_0x59ae0e,_0x29c9c9,_0x516e89){return _0x511d68(_0x3b15e7-0x118,_0x29c9c9- -0x30f,_0x29c9c9-_0x3340b3._0x413a7d,_0x3b15e7);}_0x34c6b0[_0x51fb93(_0x34a397._0x4febbf,0x48f,_0x34a397._0x35054f,_0x34a397._0x4a383f)][_0x51fb93(0x963,_0x34a397._0x5c4fd7,0x7e6,0x71b)](_0xd98abe)&&emitChunk(_0x42e7fb,_0x29e8f9,_0xd98abe,_0x19ee83);}function createBashTool(_0x4ccb5c={}){const _0x7431d5={_0x4e94f4:0x49c,_0x27eea6:0x513,_0x5df1fb:0x43b,_0x2b837a:0x3ca,_0x358d44:0x3f8,_0x51c80a:0x456,_0x1dd7c8:0x651,_0x136717:0x743,_0x45fb3c:0x75d,_0x37cf9d:0x5ec,_0x483929:0x5a7,_0x3fcad9:0x731,_0x3d2172:0x7a1,_0x53c4e1:0x775,_0x403b2b:0x5c5,_0x3e76eb:0x676,_0x58cf2a:0x73a,_0x95d2a:0x79d,_0x587fb2:0x88b,_0x5d1034:0x4a6,_0x38289b:0x3fe,_0x20478d:0x3ed,_0x4da310:0x673,_0x195833:0x61c,_0x4da737:0x6f2,_0x351b17:0x5ff,_0x514a21:0x4a3,_0x43d3d5:0x698,_0x2f93e5:0x6f1,_0xce5ae0:0x643,_0x53e69f:0x702,_0x28a823:0x6d0,_0x48e93c:0x63b,_0x198929:0x730,_0x3beb9f:0x5be,_0x37a6a3:0x532,_0x2aead6:0x729,_0x53a4f7:0x646,_0xd4ee1c:0x5c9,_0x2d3869:0x3c8,_0x3eaba6:0x5a9},_0x2ff680={_0x49b6a8:0x612,_0x226ae6:0x69c,_0x1f742b:0x670,_0x2e74cc:0x51d,_0x43b80d:0x5ce,_0x43236d:0x3e4,_0x5cb998:0x506,_0x1eb6ab:0x810,_0x1fce4f:0x78d,_0x47c132:0x786,_0x5ac59e:0x6b1,_0x15f742:0x49c,_0x3c0ee5:0x4a4,_0x19a7ec:0x39e,_0x7d5cdc:0x54a,_0x552856:0x538,_0x12fc06:0x50d,_0x34558c:0x3fc,_0x17bdb2:0x3b2,_0x53093f:0x492,_0x524310:0x596,_0x25cdc9:0x449,_0x16f1f7:0x506,_0x45e42f:0x65d,_0x44e883:0x718,_0x6edbc5:0x650,_0x4cc438:0x7e9,_0x4bc7f3:0x60c,_0x207f79:0x50d,_0x36038c:0x588,_0xd72063:0x63b,_0x506f11:0x590,_0x48ba02:0x4ee,_0x2adc83:0x6bd,_0x3d748f:0x607,_0xb684cb:0x740,_0x40f292:0x67e,_0x5896d8:0x4f9,_0x5e79c8:0x652,_0x5831b5:0x709,_0x1814e3:0x46e,_0x3ad1b1:0x535,_0x496e6f:0x58f,_0x2764d4:0x598,_0x21107d:0x5b9,_0x4ded25:0x6b2,_0x4164b2:0x4fc,_0x74aced:0x699,_0x52c3ed:0x3e9,_0x416efc:0x573,_0x25dc20:0x44f,_0x2e2aeb:0x343,_0x1afdd4:0x44f,_0x458bf0:0x391,_0xb23915:0x315,_0x581ec3:0x49a,_0x1b2998:0x394,_0x104da9:0x8ba,_0x27f0c4:0x809,_0x2b1dee:0x74a,_0x45d2ab:0x568,_0x4f93eb:0x4f7,_0x3645c4:0x636,_0x26b864:0x59c,_0x26cb30:0x6e2,_0x1ceac3:0x564,_0x1ccf5d:0x4be,_0x54e045:0x677,_0x55f15d:0x5fe,_0x532f48:0x69d,_0x4fe795:0x543,_0x53259b:0x57b,_0x5d6a16:0x58e,_0x37d107:0x69d,_0x29a8ed:0x703,_0x28fba6:0x614,_0x59f0fd:0x77e,_0x35fab9:0x4d6,_0x3a4e09:0x618,_0xfab3d7:0x71b,_0x4afa1b:0x5e9,_0x16a75e:0x4e0,_0x47cf16:0x638,_0x4377a9:0x8aa,_0x1b1cd0:0x776,_0x2fa8fe:0x70a,_0x2e48f5:0x5b2,_0x43320a:0x61b,_0x31e0ef:0x71a,_0x5a6c21:0x669,_0x432e7c:0x53d,_0x4022f8:0x499,_0x18b6b6:0x3f5,_0x270231:0x5c1,_0x274e55:0x67e,_0x53c2ae:0x50e,_0x42699a:0x676,_0x7c47a8:0x5fe,_0x58e159:0x5d8,_0x6e2bfb:0x5e7,_0x57a202:0x3ad,_0x5ce7de:0x742},_0x23b258={_0x4d5180:0x512,_0x2812bb:0x5b2,_0x5df263:0x612,_0x11e38b:0x5fc,_0x55dc8c:0x607,_0x4f14d1:0x777,_0x572cf1:0x116,_0x53d3d8:0x43,_0x3fed41:0x3b},_0x195676={_0xf7ca87:0x876,_0x39e209:0x7a5},_0x23050b={_0x1169ad:0x352,_0x985256:0x5e0},_0x15e40a={_0x41b208:0x4b,_0x2b8f34:0x16e},_0x433473={_0xc125b3:0x482,_0x2ca472:0x70,_0x3ae9ce:0x130},_0x8a7613={_0x382803:0x1bc},_0x48dba0=_0x2cb0b5[_0x108b15(0x54e,_0x7431d5._0x4e94f4,0x6c1,_0x7431d5._0x27eea6)](_0x4ccb5c[_0x42f30a(_0x7431d5._0x5df1fb,_0x7431d5._0x2b837a,_0x7431d5._0x358d44,_0x7431d5._0x51c80a)]??process[_0x108b15(0x7c2,0x64b,0x828,_0x7431d5._0x1dd7c8)]()),_0x4c5005=_0x4ccb5c[_0x108b15(0x6ac,_0x7431d5._0x136717,0x800,_0x7431d5._0x45fb3c)]??[],_0x5c5816=_0x4ccb5c[_0x108b15(_0x7431d5._0x37cf9d,_0x7431d5._0x483929,0x73a,0x5d4)]??DEFAULT_TIMEOUT_MS,_0xb0de4e=_0x4ccb5c['stripAnsi']??!![],_0x54254c=_0x4ccb5c[_0x108b15(0x6a7,0x593,0x74c,0x53f)]??_0x42f30a(_0x7431d5._0x3fcad9,0x702,_0x7431d5._0x3d2172,_0x7431d5._0x53c4e1);function _0x108b15(_0x3334a4,_0x22f562,_0x1f5f85,_0xb19424){return _0x511d68(_0x3334a4-_0x8a7613._0x382803,_0x3334a4-0x138,_0x1f5f85-0xfc,_0xb19424);}function _0x42f30a(_0x25fb4d,_0x1058ac,_0x258647,_0x2617a8){return _0x475ba1(_0x2617a8,_0x25fb4d-_0x433473._0xc125b3,_0x258647-_0x433473._0x2ca472,_0x2617a8-_0x433473._0x3ae9ce);}const _0x15fb45=_0x4ccb5c[_0x108b15(_0x7431d5._0x403b2b,0x665,_0x7431d5._0x3e76eb,_0x7431d5._0x58cf2a)]??[],_0x3d7ba2=_0x4ccb5c[_0x108b15(_0x7431d5._0x95d2a,_0x7431d5._0x587fb2,0x87b,0x6b3)];return defineTool({'name':_0x54254c,'description':_0x4ccb5c[_0x42f30a(_0x7431d5._0x5d1034,_0x7431d5._0x38289b,0x36f,_0x7431d5._0x20478d)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x108b15(0x74b,0x688,0x725,0x842),'properties':{'command':{'type':_0x108b15(0x702,_0x7431d5._0x4da310,_0x7431d5._0x195833,_0x7431d5._0x4da737)},'description':{'type':_0x42f30a(_0x7431d5._0x351b17,_0x7431d5._0x514a21,_0x7431d5._0x43d3d5,_0x7431d5._0x2f93e5),'description':_0x108b15(0x778,_0x7431d5._0xce5ae0,_0x7431d5._0x4da310,0x8cd)},'cwd':{'type':_0x108b15(_0x7431d5._0x53e69f,_0x7431d5._0x28a823,0x810,0x761)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':_0x42f30a(_0x7431d5._0x48e93c,0x4c1,_0x7431d5._0x198929,_0x7431d5._0x3beb9f)},'outputRegex':{'type':_0x42f30a(_0x7431d5._0x351b17,0x571,0x764,_0x7431d5._0x37a6a3),'description':_0x42f30a(_0x7431d5._0x2aead6,_0x7431d5._0x53a4f7,0x801,_0x7431d5._0xd4ee1c)},'runInBackground':{'type':'boolean'}},'required':[_0x42f30a(0x4bb,0x5dd,0x39b,_0x7431d5._0x2d3869),_0x108b15(_0x7431d5._0x3eaba6,0x718,0x607,0x475)]},async *'execute'(_0x18cc09,_0x41d119){const _0x5447a6={_0x120016:0x100,_0x5c5b7f:0x27,_0x55d6a8:0xa1,_0x5b7268:0x1aa,_0x3478ce:0x257,_0x344a2e:0x13a,_0x216be3:0x6a2,_0x2c86d1:0x4f4,_0x31d795:0x473},_0xe3d976={_0x11ec3e:0x7f3,_0x55cc81:0x77e},_0x730a9f={_0x4e5dfe:0x188,_0x541b7f:0x95,_0x4faa59:0x13d},_0x2848d1={_0x129b39:0x2e3,_0x1df5a6:0x335},_0x23d87e={_0x15f995:0x103,_0x404da0:0x1a3,_0x5e57c4:0x12},_0x4a2cbf=_0x18cc09[_0x36762a(0x6eb,0x563,_0x2ff680._0x49b6a8,_0x2ff680._0x226ae6)]??_0x5c5816;function _0x36762a(_0x6e464a,_0x13fd31,_0x1e5e57,_0x577058){return _0x108b15(_0x1e5e57- -_0x23d87e._0x15f995,_0x13fd31-_0x23d87e._0x404da0,_0x1e5e57-_0x23d87e._0x5e57c4,_0x6e464a);}if(!Number[_0x36762a(0x34f,0x604,0x4b9,0x3e9)](_0x4a2cbf)||_0x4a2cbf<0x1)throw new ToolExecutionError(_0x36762a(_0x2ff680._0x1f742b,0x5ec,_0x2ff680._0x2e74cc,_0x2ff680._0x43b80d),{'command':_0x18cc09[_0x2db62e(0x3d4,_0x2ff680._0x43236d,_0x2ff680._0x5cb998,0x549)]});throwIfAborted(_0x41d119[_0x2db62e(0x62a,_0x2ff680._0x1eb6ab,0x71a,_0x2ff680._0x1fce4f)]);const _0x3e08f4=resolveWorkingDirectory(_0x18cc09[_0x2db62e(0x6ba,_0x2ff680._0x47c132,0x70a,_0x2ff680._0x5ac59e)],_0x48dba0,_0x4c5005),_0x24c9dd=_0x18cc09['ignoreOutput']??![],_0x72acee=resolveDefaultShell(_0x4ccb5c[_0x36762a(_0x2ff680._0x15f742,0x477,_0x2ff680._0x3c0ee5,_0x2ff680._0x19a7ec)]),_0x4784ee=buildShellArgs(_0x18cc09[_0x2db62e(_0x2ff680._0x7d5cdc,_0x2ff680._0x552856,_0x2ff680._0x5cb998,0x57c)],_0x72acee),_0x56237d=_0x355e6d[_0x36762a(0x57d,0x3f5,_0x2ff680._0x12fc06,_0x2ff680._0x34558c)]()==='win32';if(_0x18cc09[_0x2db62e(0x497,_0x2ff680._0x17bdb2,_0x2ff680._0x53093f,0x5db)]){if(!_0x3d7ba2)throw new ToolExecutionError(_0x36762a(_0x2ff680._0x524310,0x768,0x6fa,0x606),{'command':_0x18cc09[_0x2db62e(_0x2ff680._0x25cdc9,0x40c,_0x2ff680._0x16f1f7,_0x2ff680._0x45e42f)]});throwIfAborted(_0x41d119[_0x36762a(_0x2ff680._0x44e883,0x74b,0x6cf,0x676)]);let _0x48de2d;try{_0x48de2d=_0x4a3f08(_0x72acee,_0x4784ee,{'cwd':_0x3e08f4,'env':buildChildEnv(_0x4ccb5c['env'],_0x15fb45),'stdio':['ignore','pipe',_0x36762a(_0x2ff680._0x6edbc5,0x631,0x6ff,_0x2ff680._0x4cc438)],'shell':![],'windowsHide':!![],'detached':!_0x56237d});}catch(_0x16f107){throw mapSpawnError(_0x16f107,{'command':_0x18cc09['command'],'cwd':_0x3e08f4,'shellPath':_0x72acee});}let _0x274126;try{_0x274126=_0x3d7ba2[_0x36762a(_0x2ff680._0x4bc7f3,0x47c,0x5b8,0x506)]({'child':_0x48de2d,'command':_0x18cc09[_0x2db62e(_0x2ff680._0x207f79,_0x2ff680._0x36038c,0x506,0x4ab)],'cwd':_0x3e08f4,'stripAnsi':_0xb0de4e});}catch(_0x2f2221){_0x48de2d['once'](_0x36762a(0x649,0x6c0,0x69e,_0x2ff680._0xd72063),()=>{});try{killProcessGroup(_0x48de2d,_0x56237d);}catch{}throw _0x2f2221;}return createToolOutput('Started\x20background\x20process\x20'+_0x274126[_0x36762a(_0x2ff680._0x506f11,_0x2ff680._0x48ba02,0x607,0x5d1)]+_0x36762a(0x654,0x6e6,_0x2ff680._0x2adc83,0x633)+(_0x274126['pid']??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x274126[_0x36762a(0x704,0x71e,_0x2ff680._0x3d748f,0x5ab)],'status':_0x274126[_0x2db62e(0x62d,_0x2ff680._0xb684cb,_0x2ff680._0x40f292,_0x2ff680._0x5896d8)],'command':_0x274126['command'],'description':_0x18cc09[_0x36762a(0x53b,0x402,0x4a6,0x4a5)],'cwd':_0x274126[_0x36762a(0x6a0,_0x2ff680._0x5e79c8,0x6bf,_0x2ff680._0x5831b5)],'pid':_0x274126[_0x2db62e(0x4eb,_0x2ff680._0x1814e3,_0x2ff680._0x3ad1b1,_0x2ff680._0x496e6f)]??null});}let _0x56a9dd,_0x595bcc;if(_0x18cc09[_0x2db62e(0x4da,0x5a2,_0x2ff680._0x2764d4,0x54e)]!==void 0x0)try{const _0x46fde7=new RegExp(_0x18cc09[_0x36762a(_0x2ff680._0x21107d,_0x2ff680._0x4ded25,0x54d,_0x2ff680._0x4164b2)]);_0x56a9dd={'regex':_0x46fde7,'trailingChunks':[]},_0x595bcc={'regex':_0x46fde7,'trailingChunks':[]};}catch(_0x58cd37){throw new ToolExecutionError(_0x2db62e(0x5ab,0x73d,_0x2ff680._0x74aced,0x7c5)+(_0x58cd37 instanceof Error?_0x58cd37['message']:String(_0x58cd37)),{'command':_0x18cc09['command'],'outputRegex':_0x18cc09['outputRegex']});}let _0x1ccf7f;try{_0x1ccf7f=_0x4a3f08(_0x72acee,_0x4784ee,{'cwd':_0x3e08f4,'env':buildChildEnv(_0x4ccb5c[_0x36762a(0x537,0x61a,0x550,_0x2ff680._0x52c3ed)],_0x15fb45),'stdio':_0x24c9dd?[_0x36762a(0x3ad,_0x2ff680._0x416efc,_0x2ff680._0x25dc20,_0x2ff680._0x2e2aeb),_0x36762a(_0x2ff680._0x3c0ee5,0x572,_0x2ff680._0x1afdd4,0x4de),'ignore']:[_0x2db62e(_0x2ff680._0x458bf0,_0x2ff680._0xb23915,_0x2ff680._0x581ec3,_0x2ff680._0x1b2998),_0x2db62e(_0x2ff680._0x104da9,_0x2ff680._0x27f0c4,_0x2ff680._0x2b1dee,0x641),_0x2db62e(0x604,0x681,0x74a,0x700)],'shell':![],'windowsHide':!![],'detached':!_0x56237d});}catch(_0x48c09b){throw mapSpawnError(_0x48c09b,{'command':_0x18cc09[_0x36762a(0x5b4,0x35d,0x4bb,0x578)],'cwd':_0x3e08f4,'shellPath':_0x72acee});}const _0x107fb7=[],_0x31d4e8=[];function _0x2db62e(_0x172083,_0x4544a7,_0x4f7055,_0x3b9cd0){return _0x42f30a(_0x4f7055-_0x15e40a._0x41b208,_0x4544a7-0x19f,_0x4f7055-_0x15e40a._0x2b8f34,_0x3b9cd0);}const _0x5adc17=new _0x559f10(_0x36762a(0x5bf,0x537,0x663,_0x2ff680._0x45d2ab)),_0x310ee1=new _0x559f10('utf8');let _0x319cf3,_0x273f9f=![],_0x45714e;const _0x36397a=()=>{if(!_0x319cf3)return;const _0x4f301b=_0x319cf3;_0x319cf3=void 0x0,_0x4f301b();},_0x2b7564=async()=>{const _0x753dba={_0x57b6c8:0x20e,_0x2edca9:0xad};function _0x570b60(_0x20d9d0,_0x161348,_0x55085c,_0x1419c){return _0x36762a(_0x161348,_0x161348-0x5a,_0x1419c- -_0x753dba._0x57b6c8,_0x1419c-_0x753dba._0x2edca9);}if(_0x31d4e8[_0x570b60(0x29c,_0x2848d1._0x129b39,0x288,_0x2848d1._0x1df5a6)]>0x0||_0x273f9f)return;await new Promise(_0x58b10f=>{_0x319cf3=_0x58b10f;});},_0x1ae659=_0x8584c7=>{function _0x33f08e(_0x303c12,_0x421eab,_0x1e2048,_0x2c4a22){return _0x2db62e(_0x303c12-0xfd,_0x421eab-0x1cc,_0x1e2048-0x10c,_0x303c12);}appendChunk(_0x107fb7,_0x31d4e8,_0x5adc17[_0x33f08e(0x6cb,0x5d4,0x71a,0x765)](_0x8584c7),_0xb0de4e,_0x36397a,_0x56a9dd);},_0x2b18a7=_0x142aa3=>{function _0x493aa5(_0x61df8c,_0x206683,_0xeda94f,_0x73fa20){return _0x2db62e(_0x61df8c-_0x730a9f._0x4e5dfe,_0x206683-_0x730a9f._0x541b7f,_0x73fa20- -_0x730a9f._0x4faa59,_0x206683);}appendChunk(_0x107fb7,_0x31d4e8,_0x310ee1[_0x493aa5(_0x23050b._0x1169ad,_0x23050b._0x985256,0x471,0x4d1)](_0x142aa3),_0xb0de4e,_0x36397a,_0x595bcc);};_0x1ccf7f[_0x36762a(_0x2ff680._0x4f93eb,0x708,0x64b,_0x2ff680._0x3645c4)]?.['on'](_0x2db62e(0x77e,0x5f9,0x649,0x659),_0x1ae659),_0x1ccf7f[_0x36762a(0x633,_0x2ff680._0x26b864,_0x2ff680._0x26cb30,_0x2ff680._0x1ceac3)]?.['on'](_0x36762a(_0x2ff680._0x1ccf5d,_0x2ff680._0x54e045,_0x2ff680._0x55f15d,_0x2ff680._0x532f48),_0x2b18a7);let _0x459c09=![],_0x3a0756;const _0x37ce68=addAbortListener(_0x41d119['signal'],()=>{const _0x27b762={_0x4d61af:0x175,_0x37d30d:0x8b};function _0x48f935(_0xd0502,_0x4dda3b,_0x3e6dfc,_0x171ca3){return _0x2db62e(_0xd0502-_0x27b762._0x4d61af,_0x4dda3b-0x1ac,_0x4dda3b-_0x27b762._0x37d30d,_0x171ca3);}_0x45714e=toAbortError(_0x41d119[_0x48f935(_0x195676._0xf7ca87,_0x195676._0x39e209,0x6a1,0x658)]['reason']),_0x273f9f=!![],_0x36397a();try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}});try{const _0x10241e=new Promise((_0x2a81b9,_0x229559)=>{const _0xc8d7b5={_0x106615:0x185,_0x18c165:0x164,_0x6316c6:0x2a},_0x30b818={_0x4e6a07:0x3bf},_0x4999d4={_0x2b8165:0x1d2,_0x769c8c:0x332,_0x36221d:0x25b,_0x24942b:0x16e,_0x39db16:0x627,_0x54e94e:0x631,_0x142c1e:0x178},_0x1ae7fb={_0x20f5e1:0x199},_0x5343c2={_0xef52ec:0x599};function _0x29c625(_0xe386ae,_0x105e79,_0x1b60fa,_0x502f96){return _0x2db62e(_0xe386ae-0x171,_0x105e79-0x136,_0x502f96- -_0x5343c2._0xef52ec,_0x1b60fa);}const _0x41373b=()=>{_0x3a0756&&(clearTimeout(_0x3a0756),_0x3a0756=void 0x0);function _0x11eecf(_0xe6afb4,_0x54e42a,_0x261354,_0x167be7){return _0x4a14(_0x54e42a- -_0x1ae7fb._0x20f5e1,_0x167be7);}function _0x3463d3(_0x1d2877,_0x465a7c,_0x231f0f,_0x1bff14){return _0x4a14(_0x231f0f-0x3b8,_0x1bff14);}_0x1ccf7f[_0x11eecf(0x1e6,_0x4999d4._0x2b8165,_0x4999d4._0x769c8c,0xad)](_0x11eecf(_0x4999d4._0x36221d,0x27e,_0x4999d4._0x24942b,0x1b3),_0x1c4c66),_0x1ccf7f[_0x3463d3(_0x4999d4._0x39db16,0x76f,0x723,_0x4999d4._0x54e94e)](_0x11eecf(_0x4999d4._0x142c1e,0x9a,0x1fc,0x1b6),_0x13f153);},_0x1c4c66=_0x19b36d=>{_0x273f9f=!![],_0x36397a(),_0x41373b(),_0x229559(_0x45714e??_0x19b36d);},_0x13f153=(_0x47226a,_0x1574ef)=>{_0x459c09=!![],appendChunk(_0x107fb7,_0x31d4e8,_0x5adc17[_0xb12b9a(_0xe3d976._0x11ec3e,0x8d2,_0xe3d976._0x55cc81,0x775)](),_0xb0de4e,_0x36397a,_0x56a9dd),appendChunk(_0x107fb7,_0x31d4e8,_0x310ee1['end'](),_0xb0de4e,_0x36397a,_0x595bcc),flushOutputRegex(_0x107fb7,_0x31d4e8,_0x56a9dd,_0x36397a);function _0xb12b9a(_0x16f696,_0x1b9144,_0x37b44b,_0xbad45f){return _0x4a14(_0x37b44b-0x371,_0x16f696);}flushOutputRegex(_0x107fb7,_0x31d4e8,_0x595bcc,_0x36397a),_0x273f9f=!![],_0x36397a(),_0x41373b();if(_0x45714e){_0x229559(_0x45714e);return;}_0x2a81b9({'code':_0x47226a,'signal':_0x1574ef});};_0x3a0756=setTimeout(()=>{_0x273f9f=!![],_0x36397a();function _0x3e1161(_0x18d9fc,_0xda1c65,_0x53e128,_0x2c9440){return _0x4a14(_0x2c9440- -0x2c6,_0xda1c65);}_0x41373b();function _0x51dc9e(_0x219016,_0x4900fb,_0xefc5c8,_0x376692){return _0x4a14(_0x4900fb-_0x30b818._0x4e6a07,_0x219016);}try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}_0x229559(new ToolExecutionError(_0x3e1161(-0x69,0xc6,_0x5447a6._0x120016,-_0x5447a6._0x5c5b7f)+_0x4a2cbf+_0x3e1161(_0x5447a6._0x55d6a8,_0x5447a6._0x5b7268,_0x5447a6._0x3478ce,_0x5447a6._0x344a2e),{'command':_0x18cc09[_0x51dc9e(_0x5447a6._0x216be3,0x5f3,_0x5447a6._0x2c86d1,_0x5447a6._0x31d795)],'cwd':_0x3e08f4,'shellPath':_0x72acee,'timeoutMs':_0x4a2cbf,'timedOut':!![]}));},_0x4a2cbf),_0x1ccf7f[_0x29a202(_0x23b258._0x4d5180,_0x23b258._0x2812bb,_0x23b258._0x5df263,_0x23b258._0x11e38b)](_0x29a202(_0x23b258._0x55dc8c,0x6bf,_0x23b258._0x4f14d1,0x70f),_0x1c4c66);function _0x29a202(_0x162be4,_0x49d618,_0x2f0964,_0x4a8fea){return _0x2db62e(_0x162be4-_0xc8d7b5._0x106615,_0x49d618-_0xc8d7b5._0x18c165,_0x49d618- -_0xc8d7b5._0x6316c6,_0x162be4);}_0x1ccf7f[_0x29c625(0x168,-0xe8,_0x23b258._0x572cf1,_0x23b258._0x53d3d8)](_0x29c625(-_0x23b258._0x3fed41,0x51,-0x7b,-0x94),_0x13f153);});while(_0x31d4e8[_0x36762a(0x693,0x656,_0x2ff680._0x4fe795,0x3f4)]>0x0||!_0x273f9f){if(_0x31d4e8[_0x2db62e(0x68e,_0x2ff680._0x53259b,_0x2ff680._0x5d6a16,_0x2ff680._0x37d107)]===0x0){await _0x2b7564();continue;}const _0x12fe45=_0x31d4e8[_0x36762a(_0x2ff680._0x29a8ed,0x5a2,0x6eb,_0x2ff680._0x28fba6)]();_0x12fe45!==void 0x0&&(yield _0x12fe45);}const _0x2f81ce=await _0x10241e,_0x42ac4b=_0x24c9dd?_0x2db62e(_0x2ff680._0x59f0fd,_0x2ff680._0x35fab9,_0x2ff680._0x3a4e09,_0x2ff680._0xfab3d7)+(_0x2f81ce[_0x36762a(_0x2ff680._0x4afa1b,0x466,_0x2ff680._0x16a75e,_0x2ff680._0x47cf16)]??0x0):_0x107fb7[_0x2db62e(_0x2ff680._0x4377a9,0x70d,_0x2ff680._0x1b1cd0,_0x2ff680._0x2fa8fe)](''),_0xa74131={'command':_0x18cc09['command'],'description':_0x18cc09['description'],'cwd':_0x3e08f4,'exitCode':_0x2f81ce[_0x36762a(_0x2ff680._0x2e48f5,0x45c,0x4e0,0x407)]??0x0,'signal':_0x2f81ce[_0x2db62e(0x604,_0x2ff680._0x43320a,_0x2ff680._0x31e0ef,0x83f)],'ignoreOutput':_0x24c9dd,'outputRegex':_0x18cc09[_0x36762a(0x612,0x66f,0x54d,_0x2ff680._0x5a6c21)]??null,'shellPath':_0x72acee,'timeoutMs':_0x4a2cbf};if(_0x2f81ce[_0x2db62e(0x476,0x431,0x52b,0x53f)]!==0x0)throw new ToolExecutionError(_0x42ac4b||_0x2db62e(0x61d,_0x2ff680._0x432e7c,0x4ed,_0x2ff680._0x4022f8)+(_0x2f81ce['code']??0x0),_0xa74131);return createToolOutput(_0x42ac4b,_0xa74131);}catch(_0x47d6c8){while(_0x31d4e8[_0x36762a(_0x2ff680._0x18b6b6,0x669,_0x2ff680._0x4fe795,0x622)]>0x0){const _0x244949=_0x31d4e8['shift']();_0x244949!==void 0x0&&(yield _0x244949);}if(_0x47d6c8 instanceof ToolExecutionError)throw _0x47d6c8;if(_0x45714e)throw _0x45714e;throw mapSpawnError(_0x47d6c8,{'command':_0x18cc09['command'],'cwd':_0x3e08f4,'shellPath':_0x72acee});}finally{_0x3a0756&&clearTimeout(_0x3a0756);_0x37ce68(),_0x1ccf7f[_0x2db62e(0x6c7,_0x2ff680._0x270231,0x696,_0x2ff680._0x274e55)]?.[_0x2db62e(_0x2ff680._0x53c2ae,0x5f8,0x63d,_0x2ff680._0x42699a)](_0x36762a(0x54d,0x653,_0x2ff680._0x7c47a8,0x59d),_0x1ae659),_0x1ccf7f[_0x2db62e(_0x2ff680._0x58e159,0x6fb,0x72d,0x736)]?.['off'](_0x2db62e(0x765,0x4d7,0x649,_0x2ff680._0x6e2bfb),_0x2b18a7);if(!_0x459c09&&_0x1ccf7f[_0x36762a(0x5de,_0x2ff680._0x57a202,0x4ea,0x3b8)]&&!_0x1ccf7f[_0x2db62e(_0x2ff680._0x5ce7de,0x849,0x6d7,0x63e)])try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}}}});}function createShellExecTool(_0x16a68e={}){return createBashTool(_0x16a68e);}import{readdir,readFile as _0x569e80}from'fs/promises';import{extname,join as _0x289518}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x436741,join,relative as _0x4413a7,resolve as _0x531ba8}from'path';import{readdir as _0x37a3cc,readFile as _0x2406e9}from'fs/promises';import{join as _0x9971a6,relative as _0x458362,sep}from'path';import{delimiter}from'path';import{mkdir as _0x29112b,rm,stat as _0x25940d,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x4848f2}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x2055f6,rename,rm as _0x547dd9,stat as _0xc51cc0,writeFile as _0x5410f3}from'fs/promises';import{homedir as _0x1f016e}from'os';import{dirname as _0x182282,isAbsolute as _0x4d0fa5,join as _0xfce796,resolve as _0x3da694}from'path';import{parse as _0x50a967,stringify as _0x19d727}from'yaml';import{cp,mkdir as _0x127569,readFile as _0x56fc0b,rm as _0x161486,writeFile as _0x575bec}from'fs/promises';function _0x475ba1(_0x375ccd,_0x3d63e3,_0x5e4358,_0x1154df){const _0x3f6194={_0x453bf1:0x1fb};return _0x4a14(_0x3d63e3- -_0x3f6194._0x453bf1,_0x375ccd);}import{homedir}from'os';import{join as _0x7b3611}from'path';import{parse as _0x2f1979,stringify as _0xdcc55f}from'yaml';import{z}from'zod';import{readdir as _0x35d837,readFile as _0x4a0aa5}from'fs/promises';import{join as _0x19b901}from'path';import{randomUUID as _0x4af404}from'crypto';import{mkdir as _0x11761e,readdir as _0x1112d0,readFile as _0xa1263a,rename as _0x3dcec3,rm as _0x289fd8,writeFile as _0x2d4057}from'fs/promises';import{homedir as _0x936dba}from'os';import{basename,isAbsolute as _0x6eb3f6,join as _0x4dcf59,relative as _0x17f61c,resolve as _0x1b3cf2}from'path';import{parse as _0x3e2864,stringify as _0x2bec3d}from'yaml';import{delimiter as _0x3cff86,resolve as _0x545544}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x4264e5){const _0x3f2f79={_0x59bdd7:0x1bc,_0x421717:0x1d4,_0x4cfd25:0x292,_0x41e776:0x33d,_0x10e499:0x5f,_0x21b2c2:0x100,_0x28538b:0x83,_0x20a5d7:0xdd},_0x20f0ea={_0x5615e2:0xc7},_0x2a596c={_0x1eb406:0x1a3,_0x8039de:0x33a},_0x20a6d6=[];function _0x43d51c(_0x24819d,_0x520c06,_0x1d1d8e,_0x3b7436){return _0x511d68(_0x24819d-_0x2a596c._0x1eb406,_0x3b7436- -_0x2a596c._0x8039de,_0x1d1d8e-0x86,_0x520c06);}let _0x346294='',_0x196f37=0x0;while(_0x196f37<_0x4264e5[_0x350246(0x253,0x2d7,0x3a4,0x3ae)]){const _0x1e68af=_0x4264e5[_0x196f37];if(_0x1e68af==='\x5c'&&_0x196f37+0x1<_0x4264e5[_0x43d51c(0x2b4,_0x3f2f79._0x59bdd7,0xed,_0x3f2f79._0x421717)])_0x346294+=_0x4264e5[_0x196f37+0x1],_0x196f37+=0x2;else{if(_0x1e68af==='\x22'||_0x1e68af==='\x27'){const _0x59dbe6=_0x1e68af;_0x196f37++;while(_0x196f37<_0x4264e5['length']&&_0x4264e5[_0x196f37]!==_0x59dbe6){_0x4264e5[_0x196f37]==='\x5c'&&_0x196f37+0x1<_0x4264e5[_0x43d51c(_0x3f2f79._0x4cfd25,_0x3f2f79._0x41e776,0x2e3,0x1d4)]?(_0x346294+=_0x4264e5[_0x196f37+0x1],_0x196f37+=0x2):(_0x346294+=_0x4264e5[_0x196f37],_0x196f37++);}_0x196f37++;}else _0x1e68af!==void 0x0&&/\s/['test'](_0x1e68af)?(_0x346294&&(_0x20a6d6[_0x350246(0x15c,0x1f8,_0x3f2f79._0x10e499,_0x3f2f79._0x21b2c2)](_0x346294),_0x346294=''),_0x196f37++):(_0x346294+=_0x1e68af,_0x196f37++);}}function _0x350246(_0x2736c0,_0x53056f,_0x3ef74f,_0x510a3f){return _0x475ba1(_0x510a3f,_0x2736c0-0x192,_0x3ef74f-_0x20f0ea._0x5615e2,_0x510a3f-0xab);}if(_0x346294)_0x20a6d6[_0x43d51c(-0x18,_0x3f2f79._0x28538b,0xef,_0x3f2f79._0x20a5d7)](_0x346294);return _0x20a6d6;}function renderCommandInstructions(_0x539fcc){const _0x21788c={_0x24a071:0xe4,_0x2e5db7:0x2a4,_0x11c926:0xfa,_0x551f0f:0x1bb,_0x140466:0x3a3,_0x425c74:0x180,_0x476ca6:0x2ae,_0x31c0cb:0x4b,_0x2ba0c7:0x203,_0x17a506:0x18c,_0x219bfa:0x3d8,_0x482925:0xeb,_0x284258:0x29c,_0x4268fd:0x2ae,_0x14f263:0x1c6,_0x4727e4:0x1ee,_0x258773:0x18e,_0xc82cdd:0x207,_0x45a807:0x246,_0x11ca01:0x339,_0xe1e13a:0x2e5,_0x1e18fb:0x282,_0x25d839:0x54},_0x38b834={_0x535e23:0x509,_0x247a94:0x515,_0x2ee68c:0x637},_0x18487a={_0x57d6b1:0xb8,_0x2528f6:0x202},_0x4e2ac4={_0x5dc2a8:0xe2},_0x72c246={_0x29b91e:0x1ac,_0x40f412:0xbb};let _0x5a8772=_0x539fcc['instructions'],_0x31e8ae=![];function _0x4a5fd1(_0x4af6b4,_0x13622b,_0x35e2af,_0x198b68){return _0x475ba1(_0x4af6b4,_0x198b68- -_0x72c246._0x29b91e,_0x35e2af-0x120,_0x198b68-_0x72c246._0x40f412);}function _0x4411dc(_0x2e870b,_0x92c7c6,_0x1973e8,_0x51a58f){return _0x475ba1(_0x92c7c6,_0x1973e8-0x19d,_0x1973e8-0x3f,_0x51a58f-_0x4e2ac4._0x5dc2a8);}const _0x35346a=tokenizeCommandArguments(_0x539fcc[_0x4a5fd1(-0x18b,-_0x21788c._0x24a071,0x11c,-0x42)]);_0x5a8772=_0x5a8772[_0x4411dc(0x17d,0x14a,0x18e,_0x21788c._0x2e5db7)](/\$ARGUMENTS\[(\d+)\]/g,(_0x340dfe,_0x4e7050)=>{return _0x31e8ae=!![],_0x35346a[Number(_0x4e7050)]??'';}),_0x5a8772=_0x5a8772[_0x4a5fd1(-_0x21788c._0x11c926,-0x1a5,-0x18a,-_0x21788c._0x551f0f)](/\$ARGUMENTS\b/g,()=>{function _0x15f8e3(_0x505b43,_0xb66b64,_0x577309,_0x5e522d){return _0x4411dc(_0x505b43-_0x18487a._0x57d6b1,_0x5e522d,_0x505b43-_0x18487a._0x2528f6,_0x5e522d-0x78);}return _0x31e8ae=!![],_0x539fcc[_0x15f8e3(_0x38b834._0x535e23,0x43f,_0x38b834._0x247a94,_0x38b834._0x2ee68c)];});if(_0x539fcc[_0x4411dc(_0x21788c._0x140466,_0x21788c._0x425c74,_0x21788c._0x476ca6,0x2be)]&&_0x539fcc[_0x4a5fd1(-_0x21788c._0x31c0cb,-_0x21788c._0x2ba0c7,-0x11d,-0x9b)][_0x4411dc(_0x21788c._0x17a506,0x162,0x25e,_0x21788c._0x219bfa)]>0x0)for(let _0x26d17e=0x0;_0x26d17e<_0x539fcc['argumentNames'][_0x4a5fd1(-0x216,0x4b,-0x155,-_0x21788c._0x482925)];_0x26d17e++){const _0x4b1e4a=_0x539fcc[_0x4411dc(_0x21788c._0x284258,0x20b,_0x21788c._0x4268fd,0x3ff)][_0x26d17e];if(_0x4b1e4a){const _0x58eacf=new RegExp('\x5c$'+_0x4b1e4a+'\x5cb','g');_0x5a8772=_0x5a8772[_0x4411dc(_0x21788c._0x14f263,_0x21788c._0x4727e4,_0x21788c._0x258773,0xa3)](_0x58eacf,()=>{return _0x31e8ae=!![],_0x35346a[_0x26d17e]??'';});}}return _0x5a8772=_0x5a8772[_0x4a5fd1(-_0x21788c._0xc82cdd,-_0x21788c._0x45a807,-_0x21788c._0x11ca01,-0x1bb)](/\$(\d+)\b/g,(_0xc868f2,_0x18c04a)=>{return _0x31e8ae=!![],_0x35346a[Number(_0x18c04a)]??'';}),!_0x31e8ae&&_0x539fcc['argumentsText'][_0x4411dc(_0x21788c._0xe1e13a,0x27c,0x2c3,_0x21788c._0x1e18fb)]()&&(_0x5a8772=_0x5a8772+_0x4411dc(0x38,0x1b3,0x16c,_0x21788c._0x25d839)+_0x539fcc['argumentsText']),_0x5a8772;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x511d68(0x5b4,0x5ff,0x5b7,0x775)},{'env':_0x511d68(0x3ed,0x460,0x3b3,0x337),'provider':_0x511d68(0x5b9,0x63e,0x62a,0x6ec)},{'env':_0x475ba1(0xf3,-0x27,0xf9,-0x141),'provider':_0x511d68(0x5ca,0x556,0x5e5,0x49a)},{'env':_0x511d68(0x6ed,0x6b0,0x768,0x78d),'provider':'github'},{'env':_0x475ba1(-0xe1,-0x44,0x130,-0xb2),'provider':_0x511d68(0x3b7,0x487,0x577,0x602)},{'env':_0x475ba1(0x1e0,0x211,0x128,0x2d8),'provider':_0x475ba1(-0x11,0xdc,-0xa9,-0xa1)},{'env':'ZAI_API_KEY','provider':_0x511d68(0x5a6,0x634,0x559,0x61a)},{'env':_0x475ba1(0x166,0x25d,0x2b1,0x1a6),'provider':_0x475ba1(0x208,0x156,0xb2,0x26e)},{'env':_0x511d68(0x538,0x53c,0x5fa,0x46e),'provider':'minimax'},{'env':_0x511d68(0x56a,0x6c7,0x738,0x834),'provider':'kimi'},{'env':'OPENAI_API_KEY','provider':_0x475ba1(0x1ad,0x28,0x9b,-0x100)},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x475ba1(-0x5c,0x106,0x1f1,0x135)](_0x37373d=>_0x37373d[_0x511d68(0x402,0x51b,0x680,0x3b4)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x475ba1(0x1c1,0x207,0x324,0x2cb),'GOOGLE_CSE_KEY','GOOGLE_CSE_CX'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x475ba1(-0x54,0x8f,-0x99,0x1e2)]),'prototype']);function prototypeSafeRecord(_0x30a4f6){const _0x3576f4={_0x2f62e0:0x2e,_0x4e9633:0x1a2,_0x2c1cb8:0x1e9,_0x58875b:0x2c7,_0x539dc0:0x417,_0x1ba8c0:0x3ee,_0xf1a3a2:0x3af,_0x337ae6:0x25,_0x41843b:0xa5,_0x464bab:0x53},_0x60644f={_0x565a53:0x26d,_0x516760:0x3ff,_0x36075f:0x295,_0x127577:0x83,_0x41d30b:0x171},_0x394240={_0x20b268:0x44c,_0x402f28:0x1a2,_0x287f31:0x49},_0x573e78={_0x9ac731:0x191},_0x5bffa0={_0x57e92d:0x51};function _0x21e2b9(_0x2ff346,_0x3e6d23,_0x5f221d,_0x552669){return _0x475ba1(_0x3e6d23,_0x552669-0x12f,_0x5f221d-0x154,_0x552669-_0x5bffa0._0x57e92d);}function _0x21f61b(_0x4eb5dd,_0x11d289,_0x295ca5,_0x134114){return _0x475ba1(_0x11d289,_0x4eb5dd- -_0x573e78._0x9ac731,_0x295ca5-0xbe,_0x134114-0x7);}return z[_0x21f61b(-0x1ab,-0x231,-_0x3576f4._0x2f62e0,-_0x3576f4._0x4e9633)](_0x2f6606=>{const _0x368742={_0x5977aa:0x32,_0x4e67c0:0x64,_0x3a9722:0x23};function _0x4da935(_0x4a4d76,_0x55000f,_0x4977e0,_0x431455){return _0x21f61b(_0x55000f-_0x368742._0x5977aa,_0x431455,_0x4977e0-_0x368742._0x4e67c0,_0x431455-_0x368742._0x3a9722);}if(_0x2f6606===null||typeof _0x2f6606!=='object'||Array[_0xb63ca6(_0x60644f._0x565a53,0x3a7,0x266,0x40f)](_0x2f6606))return null;const _0x21b18c=Object['getPrototypeOf'](_0x2f6606);function _0xb63ca6(_0x279a09,_0x5753f9,_0x33e18c,_0x442e42){return _0x21f61b(_0x5753f9-_0x394240._0x20b268,_0x279a09,_0x33e18c-_0x394240._0x402f28,_0x442e42-_0x394240._0x287f31);}if(_0x21b18c!==Object[_0xb63ca6(0x347,0x34a,_0x60644f._0x516760,_0x60644f._0x36075f)]&&_0x21b18c!==null)return null;return{'entries':Object[_0x4da935(-0x6d,-0x4,-_0x60644f._0x127577,_0x60644f._0x41d30b)](_0x2f6606)};},z['object']({'entries':z[_0x21e2b9(_0x3576f4._0x2c1cb8,0x3f4,0x419,_0x3576f4._0x58875b)](z[_0x21e2b9(0x23c,_0x3576f4._0x539dc0,_0x3576f4._0x1ba8c0,_0x3576f4._0xf1a3a2)]([z[_0x21f61b(-0x14,-_0x3576f4._0x337ae6,_0x3576f4._0x41843b,-0x180)](),_0x30a4f6]))}))[_0x21f61b(-0x8f,-0xf9,0x25,_0x3576f4._0x464bab)](({entries:_0x3ab7e0})=>Object[_0x21e2b9(0x276,0x127,0x232,0x24d)](_0x3ab7e0));}var chatModelAuthSchemeSchema=z[_0x475ba1(0x179,0xb8,0x1e9,-0xa2)]([_0x475ba1(0x187,0xa,-0x5b,-0x91),_0x511d68(0x5ab,0x57b,0x5aa,0x3f6)]),apiKeyAuthSchema=z['object']({'type':z[_0x475ba1(0x186,0x16d,0x83,0x18a)](_0x511d68(0x5f1,0x6d1,0x6fd,0x708)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x475ba1(0x1d8,0x12a,0x174,-0x45)]()})['passthrough'](),oauthAuthSchema=z['object']({'type':z[_0x511d68(0x6c4,0x5ba,0x4ed,0x604)](_0x475ba1(0x329,0x22d,0x2b9,0x2fc)),'access':z[_0x511d68(0x5c7,0x5ca,0x547,0x51a)](),'refresh':z['string'](),'expires':z[_0x475ba1(0x112,0x19b,0x262,0x15f)]()[_0x475ba1(0x9d,0x12a,0x13a,0x131)](),'authScheme':chatModelAuthSchemeSchema['optional']()})['passthrough'](),finiteNonNegative=z[_0x511d68(0x67d,0x5e8,0x707,0x4e1)]()['finite']()[_0x511d68(0x531,0x451,0x581,0x4bc)](),chatGptAuthSchema=z[_0x511d68(0x633,0x613,0x69d,0x668)]({'type':z[_0x511d68(0x628,0x5ba,0x669,0x58f)](_0x475ba1(0x390,0x21a,0x1ce,0x1a3)),'access':z['string']()[_0x511d68(0x5bf,0x57d,0x421,0x6df)](0x1),'refresh':z[_0x475ba1(0x2b7,0x17d,0x2b7,0x253)]()[_0x511d68(0x4c6,0x57d,0x5da,0x563)](0x1),'idToken':z[_0x511d68(0x5ad,0x5ca,0x628,0x650)]()[_0x475ba1(0x135,0x130,0x281,0xd8)](0x1),'accountId':z[_0x511d68(0x4ab,0x5ca,0x483,0x579)]()[_0x475ba1(0x115,0x130,0x29e,0x198)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x475ba1(0xb1,0x12a,0x284,0x26f)]()})['passthrough'](),authMethodSchema=z[_0x511d68(0x773,0x603,0x687,0x548)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z['object']({'id':z[_0x475ba1(0x216,0x17d,0xa,0x1f5)](),'name':z[_0x511d68(0x675,0x5ca,0x661,0x6d2)]()['optional']()})['passthrough'](),modelConfigSchema=z[_0x475ba1(0x14f,0x1b6,0x1b8,0x106)]([z[_0x511d68(0x6f5,0x5ba,0x439,0x6a5)](![]),z[_0x475ba1(0x1f3,0x16d,0x1ed,0x1ea)](!![]),z[_0x511d68(0x52c,0x5ca,0x6ff,0x72c)](),z[_0x511d68(0x6d8,0x5e5,0x49f,0x5e1)](z[_0x511d68(0x5b1,0x5ca,0x45a,0x529)]()),z[_0x475ba1(0xcc,0x198,0x242,0x6e)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x475ba1(0x23d,0xb8,-0x33,0x5b)]([_0x475ba1(0x1bb,0x13e,0x4a,0x1a0),_0x475ba1(0x244,0x20e,0x129,0x157),_0x475ba1(-0xb0,0x9d,0x20f,0xa8),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x511d68(0x6bd,0x5ca,0x6a0,0x4de)]()[_0x475ba1(0x29c,0x12a,0x101,0x12b)](),'token':z[_0x475ba1(0x26d,0x17d,0x1b3,0x103)]()[_0x511d68(0x4ea,0x577,0x590,0x6f3)](),'defaultModel':z[_0x475ba1(0x25c,0x17d,0x7e,0x1fe)]()[_0x511d68(0x6ad,0x577,0x637,0x5f6)](),'smallModel':z[_0x511d68(0x57b,0x5ca,0x619,0x69a)]()[_0x511d68(0x5c5,0x577,0x5d8,0x6b7)](),'currentAuth':z[_0x511d68(0x6fc,0x5ca,0x6a5,0x484)]()['optional'](),'auth':z[_0x475ba1(0x24a,0x198,0x2d6,0x22)](authMethodSchema)[_0x511d68(0x59b,0x577,0x530,0x511)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z[_0x475ba1(0x63,0x17d,0x204,0x174)]()[_0x511d68(0x6d8,0x577,0x6db,0x541)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x475ba1(-0x4,-0x2b,0x155,0x145)](z[_0x511d68(0x728,0x5ca,0x664,0x458)](),z[_0x511d68(0x618,0x5ca,0x4e9,0x544)]())[_0x511d68(0x555,0x577,0x43b,0x558)]()})[_0x511d68(0x658,0x6cc,0x65e,0x7bd)](),mcpServerConfigSchema=z[_0x511d68(0x4b7,0x613,0x596,0x4d6)]({'command':z[_0x511d68(0x5f6,0x5ca,0x50a,0x60c)]()[_0x475ba1(0xd9,0x12a,-0x4d,0x3)](),'args':z[_0x511d68(0x764,0x5e5,0x533,0x57e)](z[_0x475ba1(0x168,0x17d,0x32,0x1b2)]())[_0x475ba1(0x187,0x12a,0x201,0x225)](),'env':z[_0x475ba1(0x10c,-0x2b,0xca,0xed)](z[_0x475ba1(0xe5,0x17d,0x15c,0x1b9)](),z['string']())[_0x511d68(0x4b2,0x577,0x597,0x55c)](),'transport':z['enum']([_0x511d68(0x4f6,0x536,0x5ce,0x4af),'http'])[_0x511d68(0x50d,0x577,0x619,0x597)](),'url':z[_0x511d68(0x44d,0x5ca,0x6b0,0x743)]()[_0x511d68(0x5a2,0x577,0x4b1,0x443)](),'headers':z[_0x511d68(0x44a,0x422,0x4af,0x55b)](z[_0x511d68(0x6e7,0x5ca,0x67c,0x74c)](),z[_0x475ba1(0x31,0x17d,0x35,0x29a)]())[_0x511d68(0x6b5,0x577,0x649,0x624)](),'prefix':z[_0x511d68(0x533,0x5ca,0x737,0x5b8)]()[_0x475ba1(0x238,0x12a,0x129,0x1a)](),'timeoutMs':z[_0x511d68(0x6b1,0x5e8,0x587,0x69d)]()['optional'](),'enabled':z['boolean']()[_0x511d68(0x5ee,0x577,0x62f,0x4b2)](),'auth':z[_0x511d68(0x4f9,0x613,0x4fb,0x6fc)]({'type':z['enum']([_0x511d68(0x376,0x4fc,0x576,0x44c),_0x475ba1(-0xe9,0xa,0xbe,0x161),'oauth']),'token':z['string']()['optional'](),'oauth':z[_0x511d68(0x4da,0x613,0x701,0x65f)]({'clientId':z[_0x475ba1(0x150,0x17d,0x2be,0x2e7)]()[_0x511d68(0x69d,0x577,0x51a,0x547)](),'clientMetadataUrl':z['string']()[_0x475ba1(0x109,0x12a,0x40,0xfc)](),'authorizationServer':z[_0x511d68(0x6ed,0x5ca,0x626,0x552)]()['optional'](),'scopes':z[_0x511d68(0x655,0x5e5,0x6b6,0x658)](z[_0x511d68(0x508,0x5ca,0x491,0x4a8)]())[_0x511d68(0x5ff,0x577,0x54f,0x522)](),'tokenStorageKey':z[_0x511d68(0x526,0x5ca,0x467,0x6d8)]()[_0x511d68(0x3f3,0x577,0x53c,0x694)]()})['passthrough']()[_0x475ba1(0x29a,0x12a,0x17a,0x3a)]()})['passthrough']()[_0x475ba1(0x222,0x12a,0x1ef,0x90)]()})[_0x475ba1(0x2b4,0x27f,0x215,0x39b)](),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x511d68(0x4c7,0x606,0x6e0,0x56f)]()))[_0x511d68(0x4c9,0x577,0x455,0x526)](),'defaultTimeoutMs':z[_0x511d68(0x5d5,0x5e8,0x722,0x73e)]()['optional']()})[_0x511d68(0x5b9,0x6cc,0x5ad,0x62f)](),skillsSettingsSchema=z[_0x511d68(0x771,0x613,0x656,0x636)]({'enabled':z[_0x475ba1(0x2b2,0x1b9,0x1d4,0x123)]()['optional'](),'includeDefaults':z[_0x511d68(0x52b,0x606,0x724,0x5e6)]()[_0x475ba1(0x252,0x12a,-0xc,-0x12)](),'directories':z[_0x511d68(0x565,0x5e5,0x658,0x534)](z['string']())[_0x475ba1(0x118,0x12a,0x28,0x2f)](),'exclude':z[_0x475ba1(0xfa,0x198,0x2b1,0x16e)](z[_0x511d68(0x66c,0x5ca,0x538,0x707)]())[_0x511d68(0x3fe,0x577,0x4fe,0x5d6)]()})['passthrough'](),commandsSettingsSchema=z[_0x511d68(0x499,0x613,0x5c0,0x638)]({'enabled':z[_0x475ba1(0xf6,0x1b9,0xcc,0x1e4)]()[_0x511d68(0x593,0x577,0x616,0x6b9)](),'directories':z[_0x511d68(0x605,0x5e5,0x544,0x69f)](z[_0x511d68(0x5c5,0x5ca,0x6e6,0x6f1)]())[_0x511d68(0x4bb,0x577,0x49c,0x516)]()})[_0x511d68(0x617,0x6cc,0x62b,0x71a)](),agentsSettingsSchema=z[_0x511d68(0x62e,0x613,0x613,0x678)]({'enabled':z['boolean']()[_0x475ba1(0x22f,0x12a,0x2ad,0x24c)](),'includeDefaults':z[_0x511d68(0x62b,0x606,0x564,0x48c)]()[_0x475ba1(-0x13,0x12a,0x1ba,0x122)](),'directories':z[_0x511d68(0x572,0x5e5,0x49a,0x6c8)](z['string']())['optional']()})[_0x475ba1(0x3c6,0x27f,0x205,0x323)](),uiThemeSettingsSchema=z[_0x511d68(0x500,0x613,0x4d9,0x56a)]({'mode':z['enum']([_0x511d68(0x60b,0x5b8,0x6e3,0x69e),_0x511d68(0x62e,0x6db,0x623,0x67a),'light'])[_0x511d68(0x57c,0x577,0x644,0x514)](),'colorLevel':z[_0x511d68(0x590,0x505,0x3b4,0x580)]([_0x511d68(0x6c7,0x5b8,0x4c0,0x6ac),_0x511d68(0x4e4,0x4fc,0x5fb,0x5fb),_0x475ba1(0xf1,0x47,0x116,0x82),_0x475ba1(0x116,0x1f4,0xae,0x249),_0x511d68(0x3f5,0x431,0x465,0x2cd)])[_0x511d68(0x6d5,0x577,0x511,0x4fd)](),'backgrounds':z['enum']([_0x475ba1(0x65,0x16b,0x230,0x1ef),'on','off'])['optional'](),'messageStyle':z[_0x475ba1(0xb1,0xb8,0x1ea,0x233)]([_0x511d68(0x3cb,0x473,0x4fa,0x45a),'boxed'])[_0x511d68(0x4c4,0x577,0x5b5,0x6f5)]()})['passthrough'](),statuslineSegmentSchema=z[_0x511d68(0x461,0x505,0x4da,0x3af)]([_0x511d68(0x4b5,0x60e,0x651,0x497),'session',_0x475ba1(0x197,0x1ab,0x221,0x2e9),'sudo',_0x475ba1(0x38,0x193,0x259,0x14),_0x511d68(0x824,0x6a1,0x7ec,0x824),_0x511d68(0x523,0x693,0x72b,0x5bc),_0x511d68(0x723,0x5df,0x493,0x6a8),_0x511d68(0x509,0x4f0,0x39b,0x541),'cost',_0x475ba1(0x2d6,0x285,0x22f,0x17d),_0x511d68(0x45f,0x521,0x60d,0x3eb),'keybindings',_0x475ba1(0x1a3,0x182,0x25b,0x58),'rss']),statuslineItemSchema=z[_0x511d68(0x4df,0x603,0x4ef,0x67e)]([statuslineSegmentSchema,z[_0x511d68(0x4f9,0x5ba,0x558,0x5e9)]('|')]),statuslineRowSchema=z[_0x511d68(0x763,0x5e5,0x573,0x6a2)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x511d68(0x4bb,0x577,0x4ba,0x627)]()})['passthrough'](),memorySettingsSchema=z[_0x511d68(0x712,0x613,0x573,0x524)]({'version':z['literal'](0x2)[_0x511d68(0x628,0x577,0x51b,0x6a3)](),'retrieval':z[_0x511d68(0x691,0x613,0x4f8,0x619)]({'engine':z[_0x475ba1(0xf7,0x16d,0xc8,0x251)](_0x475ba1(0xf2,0x177,0x124,0x161))[_0x475ba1(0xc8,0x12a,0xec,0x23f)](),'candidateLimit':z[_0x511d68(0x56d,0x5e8,0x5cd,0x6e7)]()[_0x475ba1(0xd8,0x12a,0x254,0x140)](),'activeCandidateLimit':z[_0x475ba1(0x175,0x19b,0x200,0x2d7)]()['optional'](),'activeEnabled':z[_0x511d68(0x4ac,0x606,0x57f,0x74f)]()[_0x475ba1(0x2e,0x12a,0xaf,0x48)](),'maxQueriesPerTurn':z[_0x511d68(0x6e5,0x5e8,0x5e9,0x4f7)]()[_0x511d68(0x40a,0x577,0x51d,0x516)](),'coreInjectTokenBudget':z[_0x475ba1(0x192,0x19b,0x193,0x302)]()['optional'](),'injectTokenBudget':z['number']()['optional'](),'minScore':z[_0x511d68(0x629,0x5e8,0x640,0x6a1)]()['optional'](),'freshnessHalfLifeDays':z[_0x475ba1(0x39,0x19b,0x168,0x11d)]()['optional']()})['passthrough']()[_0x511d68(0x579,0x577,0x462,0x4b1)](),'extraction':z[_0x511d68(0x5f4,0x613,0x5eb,0x677)]({'enabled':z[_0x511d68(0x762,0x606,0x550,0x58f)]()[_0x511d68(0x503,0x577,0x657,0x625)](),'provider':z[_0x511d68(0x480,0x5ca,0x4ed,0x6cd)]()[_0x475ba1(0x25c,0x12a,0x1e9,0xe1)](),'model':z[_0x511d68(0x5c3,0x5ca,0x498,0x5c4)]()['optional'](),'sensitiveFilter':z[_0x511d68(0x553,0x606,0x688,0x55c)]()[_0x511d68(0x62e,0x577,0x6f9,0x4e9)]()})[_0x511d68(0x5a8,0x6cc,0x703,0x6b6)]()[_0x475ba1(0x79,0x12a,-0x3e,0x261)](),'index':z[_0x511d68(0x778,0x613,0x76d,0x58f)]({'persisted':z[_0x475ba1(0x1a1,0x1b9,0x3c,0x12b)]()[_0x475ba1(0x26f,0x12a,0x168,0x113)](),'flushIntervalMs':z[_0x475ba1(0x19,0x19b,0x23c,0x167)]()[_0x475ba1(0x27,0x12a,0x106,0x1a3)]()})[_0x511d68(0x659,0x6cc,0x63b,0x71e)]()[_0x511d68(0x577,0x577,0x40e,0x601)](),'enabled':z['boolean']()[_0x475ba1(0xf5,0x12a,0x28f,0x29b)](),'saveTool':z[_0x475ba1(0x1af,0x1b9,0xa7,0x288)]()[_0x511d68(0x509,0x577,0x575,0x54e)](),'model':z['string']()[_0x475ba1(0x5,0x12a,0x1e0,0x3)](),'provider':z['string']()['optional'](),'maxInjectionTokens':z[_0x511d68(0x717,0x5e8,0x760,0x46f)]()[_0x511d68(0x4a3,0x577,0x680,0x600)](),'backgroundExtraction':z['boolean']()['optional']()})['passthrough'](),recentModelSchema=z['object']({'provider':z[_0x511d68(0x65a,0x5ca,0x5b2,0x46b)](),'model':z[_0x475ba1(0x2ee,0x17d,0x6f,0x110)](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0x475ba1(0x2b4,0x1c6,0x337,0x27f)]({'disabled':z[_0x511d68(0x5f1,0x606,0x5fb,0x5e8)]()[_0x511d68(0x59b,0x577,0x645,0x545)](),'command':z['string']()[_0x475ba1(0x21d,0x12a,0x172,0x209)](),'args':z[_0x475ba1(0x1b0,0x198,0x293,0x311)](z[_0x511d68(0x473,0x5ca,0x60e,0x69f)]())['optional'](),'rootMarkers':z['array'](z[_0x511d68(0x4e8,0x5ca,0x690,0x5fb)]())[_0x475ba1(0x261,0x12a,0x19e,0x1ab)]()})['passthrough'](),lspConfigSchema=z[_0x475ba1(0x220,0x1c6,0x245,0x286)]({'enabled':z[_0x475ba1(0x156,0x1b9,0x23a,0xd4)]()[_0x475ba1(0x48,0x12a,0x2a0,0x210)](),'servers':z[_0x475ba1(-0x102,-0x2b,0x35,0x52)](z[_0x511d68(0x6dd,0x5ca,0x6ee,0x479)](),lspServerEntrySchema)['optional']()})[_0x511d68(0x729,0x6cc,0x80a,0x7b7)](),serverEndpointSchema=z['object']({'url':z[_0x511d68(0x70b,0x5ca,0x663,0x661)](),'token':z[_0x475ba1(0x2e,0x17d,0x1b7,0x77)]()['optional']()})[_0x511d68(0x685,0x6cc,0x566,0x5aa)](),commandHookConfigSchema=z[_0x475ba1(0x2a1,0x1c6,0x5f,0x294)]({'type':z[_0x475ba1(0x118,0x16d,-0xc,0x2bd)](_0x511d68(0x4dd,0x486,0x4d5,0x332)),'command':z['string'](),'timeout':z[_0x511d68(0x704,0x5e8,0x5db,0x593)]()[_0x511d68(0x454,0x577,0x423,0x6e5)]()}),hookMatcherGroupSchema=z[_0x475ba1(0x32f,0x1c6,0x132,0x186)]({'matcher':z[_0x511d68(0x553,0x5ca,0x5a7,0x57b)]()['optional'](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x475ba1(0x2a7,0x1c6,0xc5,0x177)]({'PreToolUse':z[_0x475ba1(0x147,0x198,0x2ce,0x23c)](hookMatcherGroupSchema)[_0x511d68(0x47c,0x577,0x4b9,0x6f7)](),'PostToolUse':z[_0x475ba1(0x126,0x198,0x51,0x2db)](hookMatcherGroupSchema)[_0x475ba1(0x1dd,0x12a,0x17c,0x5f)](),'UserPromptSubmit':z[_0x475ba1(0x59,0x198,0x136,0x108)](hookMatcherGroupSchema)[_0x475ba1(0x212,0x12a,0x5,0x255)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x511d68(0x4ae,0x577,0x444,0x698)](),'Notification':z[_0x511d68(0x563,0x5e5,0x537,0x48a)](hookMatcherGroupSchema)[_0x511d68(0x424,0x577,0x5e1,0x412)](),'ToolApprovalRequest':z[_0x475ba1(0x116,0x198,0x216,0x2b8)](hookMatcherGroupSchema)[_0x475ba1(0x216,0x12a,0x14c,0x2aa)](),'SessionStart':z[_0x475ba1(0x2e7,0x198,0x270,0x115)](hookMatcherGroupSchema)[_0x475ba1(0x151,0x12a,0x256,0x213)](),'SessionEnd':z[_0x475ba1(0x247,0x198,0x130,0xb2)](hookMatcherGroupSchema)[_0x511d68(0x64c,0x577,0x4f5,0x5ae)]()}),providerNameSchema=z['string']()[_0x511d68(0x615,0x57d,0x640,0x64c)](0x1,_0x511d68(0x4e9,0x5ad,0x63e,0x542))[_0x511d68(0x55a,0x696,0x54f,0x60d)](_0x28c13e=>!_0x28c13e[_0x511d68(0x48f,0x477,0x5e1,0x4b1)](':'),_0x511d68(0x5c6,0x674,0x55d,0x73c)),cliConfigSchema=z[_0x511d68(0x5f3,0x613,0x5da,0x689)]({'activeProvider':providerNameSchema[_0x475ba1(0x275,0x12a,0x20b,-0xd)](),'activeModel':z['string']()[_0x511d68(0x4bc,0x577,0x484,0x573)](),'apiKey':z[_0x511d68(0x446,0x5ca,0x5df,0x6ff)]()[_0x475ba1(0x299,0x12a,0x17,0xb4)](),'providers':z[_0x475ba1(-0x2e,-0x2b,0x14c,0xc5)](providerNameSchema,providerConfigSchema)[_0x511d68(0x588,0x577,0x61e,0x6bb)](),'mcp':mcpSettingsSchema[_0x475ba1(0x1df,0x12a,0x1ec,0x77)](),'skills':skillsSettingsSchema[_0x475ba1(0x1ed,0x12a,0xdb,0x234)](),'agents':agentsSettingsSchema[_0x475ba1(0x19a,0x12a,-0x31,0xaf)](),'commands':commandsSettingsSchema[_0x511d68(0x4f9,0x577,0x42d,0x546)](),'skillsEnabled':z[_0x475ba1(-0x52,-0x2b,-0xfe,0x8e)](z[_0x475ba1(0x190,0x17d,0x2,0x286)](),z['boolean']())[_0x475ba1(0x89,0x12a,0xdf,0x225)](),'allowedDirs':z[_0x475ba1(0x2ac,0x198,0x1ba,0x296)](z[_0x475ba1(0x24e,0x17d,0x38,0x15a)]())[_0x511d68(0x501,0x577,0x4e9,0x56c)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x511d68(0x542,0x577,0x5d9,0x654)](),'commandsEnabled':z[_0x475ba1(-0x138,-0x2b,-0xda,-0x181)](z[_0x511d68(0x4ee,0x5ca,0x6de,0x480)](),z['boolean']())[_0x511d68(0x565,0x577,0x642,0x3f8)](),'memory':memorySettingsSchema[_0x475ba1(0x17b,0x12a,0x239,0x28)](),'session':z[_0x511d68(0x4dc,0x613,0x75a,0x567)]({'memPersist':z['boolean']()[_0x475ba1(0x94,0x12a,0x150,0x80)](),'persistEventLog':z[_0x475ba1(0x2ff,0x1b9,0x2e4,0x56)]()['optional'](),'persistHttpLog':z[_0x475ba1(0x321,0x1b9,0x25c,0x32a)]()[_0x475ba1(0x1ad,0x12a,0x181,0x17e)]()})[_0x511d68(0x6b2,0x6cc,0x756,0x777)]()['optional'](),'requireToolApproval':z[_0x511d68(0x6c3,0x606,0x4f2,0x6d7)]()['optional'](),'thinking':z[_0x475ba1(-0xc9,0xb8,0x198,0x6d)]([_0x475ba1(-0x97,0xb4,0x157,0x1e3),_0x475ba1(-0x8,0xc,0x178,0x8c),'MEDIUM',_0x511d68(0x4ab,0x48a,0x557,0x4b4)])['optional'](),'streamingChunks':z['boolean']()[_0x475ba1(0x173,0x12a,0x69,0x1d0)](),'agentsEnabled':z[_0x511d68(0x461,0x422,0x43b,0x584)](z[_0x511d68(0x46f,0x5ca,0x68a,0x746)](),z[_0x475ba1(0x213,0x1b9,0x92,0x173)]())['optional'](),'recentModels':z[_0x475ba1(0xa6,0x198,0x30a,0x15a)](recentModelSchema)[_0x475ba1(0x20c,0x12a,0x156,0x27e)](),'lsp':lspConfigSchema[_0x475ba1(0xca,0x12a,0x67,0x142)](),'servers':z[_0x475ba1(0x75,-0x2b,-0x19e,-0x13f)](z[_0x475ba1(0x22a,0x17d,0x8,0x1b8)](),serverEndpointSchema)[_0x475ba1(-0xe,0x12a,0xef,0x9a)](),'ui':z[_0x475ba1(0x2a4,0x1c6,0x186,0x160)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x475ba1(0x1af,0x12a,0x17e,0x81)]()})[_0x511d68(0x5c1,0x6cc,0x754,0x5a0)]()[_0x511d68(0x441,0x577,0x4aa,0x57b)](),'tools':z['record'](z[_0x511d68(0x47a,0x5ca,0x67d,0x4b5)](),z['unknown']())[_0x511d68(0x42a,0x577,0x4ea,0x6a3)](),'hooks':hooksConfigSchema['optional']()})[_0x475ba1(0x1cc,0x27f,0x3b2,0x3cf)](),workspaceOverlaySchema=z[_0x511d68(0x5ca,0x613,0x68c,0x4d5)]({'root':z[_0x475ba1(0x39,0x17d,0x120,0x142)]()[_0x475ba1(0x11,0x12a,0xe6,0x39)](),'allowedDirs':z[_0x475ba1(0x1d7,0x198,0x13c,0x3d)](z['string']())[_0x511d68(0x4f6,0x577,0x55a,0x514)](),'activeProvider':providerNameSchema[_0x475ba1(0x1a9,0x12a,0x1b1,-0x9)](),'activeModel':z['string']()[_0x475ba1(0x263,0x12a,0x297,0x7c)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x511d68(0x6dc,0x577,0x5dd,0x6e1)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0x511d68(0x6f0,0x577,0x4b4,0x60a)](),'mcpEnabled':prototypeSafeRecord(z[_0x511d68(0x59c,0x606,0x524,0x752)]())[_0x475ba1(0x222,0x12a,0x241,0x19a)](),'skillsEnabled':z[_0x475ba1(0x48,-0x2b,0xaf,0xa5)](z[_0x511d68(0x525,0x5ca,0x662,0x590)](),z[_0x475ba1(0xec,0x1b9,0x138,0x1b4)]())[_0x511d68(0x563,0x577,0x49f,0x51f)](),'agentsEnabled':z[_0x511d68(0x571,0x422,0x492,0x438)](z[_0x511d68(0x65c,0x5ca,0x60d,0x716)](),z['boolean']())[_0x475ba1(0x123,0x12a,0xfb,0x34)](),'commandsEnabled':z['record'](z[_0x475ba1(0x22b,0x17d,0x10f,0x14e)](),z['boolean']())[_0x475ba1(0x2a8,0x12a,0x6f,0x185)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']);function buildDescription(_0x279d2d){const _0x1abe66={_0xf0924:0x56a,_0xb848c8:0x429,_0x4e5df0:0x2f7,_0x2ac651:0x471,_0x222378:0x611,_0x381d2d:0x227,_0x46cc0c:0x2bd,_0x3ac1dc:0x750,_0x1fd6df:0x61f,_0x511fc0:0x3e2,_0x277623:0x431,_0x5b5a30:0x1b2,_0x4659bd:0x2c0,_0xd4579b:0x38a,_0x50b7d0:0x30a},_0x2dc42a={_0x3b29df:0x15e},_0x4759d1={_0x17321e:0x1ba,_0x18240d:0x30};if(_0x279d2d[_0x3839b6(_0x1abe66._0xf0924,_0x1abe66._0xb848c8,0x565,0x3fa)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x2643e2(_0x1abe66._0x4e5df0,0x395,0x36a,_0x1abe66._0x2ac651),_0x2643e2(0x472,0x3ff,0x2b8,0x32c)][_0x3839b6(0x643,_0x1abe66._0x222378,0x74e,0x50f)]('\x0a');function _0x2643e2(_0x217a06,_0x349532,_0x326497,_0x3cc39c){return _0x475ba1(_0x326497,_0x3cc39c-_0x4759d1._0x17321e,_0x326497-_0x4759d1._0x18240d,_0x3cc39c-0x1bf);}function _0x3839b6(_0x5ee238,_0x4efe60,_0x3608af,_0x216510){return _0x475ba1(_0x3608af,_0x4efe60-0x368,_0x3608af-_0x2dc42a._0x3b29df,_0x216510-0x1d3);}const _0x573cb7=[_0x2643e2(0x28b,_0x1abe66._0x381d2d,_0x1abe66._0x46cc0c,0x215),_0x3839b6(_0x1abe66._0x3ac1dc,_0x1abe66._0x1fd6df,0x643,0x6e3),_0x3839b6(_0x1abe66._0x511fc0,_0x1abe66._0x277623,0x3cb,0x2b5),..._0x279d2d[_0x2643e2(0x2aa,0x17e,_0x1abe66._0x5b5a30,_0x1abe66._0x4659bd)](_0x4d3993=>_0x4d3993[_0x3839b6(0x32d,0x3ba,0x340,0x538)]?'-\x20'+_0x4d3993[_0x2643e2(0x271,0x25e,0x3da,0x2dc)]+'\x20'+_0x4d3993[_0x2643e2(0x12e,0x32d,0x34f,0x20c)]+':\x20'+_0x4d3993['description']:'-\x20'+_0x4d3993['name']+':\x20'+_0x4d3993[_0x3839b6(0x2aa,0x38c,0x20d,0x450)])];return _0x573cb7[_0x2643e2(_0x1abe66._0xd4579b,_0x1abe66._0x50b7d0,0x3dc,0x463)]('\x0a');}function createInvokeCommandTool(_0x258acb){const _0xb8e286={_0x10d9f0:0x13a,_0x57725f:0x20f,_0x25b57f:0x2c,_0x282d2b:0xc4,_0x3bcf28:0xc9,_0x1531fb:0x9e,_0x1e1106:0x11,_0x2e418c:0x7a,_0x11f022:0x1b6,_0xe88b52:0x142,_0x5a8acb:0x68b,_0x221afd:0x701,_0x4cf13a:0x6d7},_0x1aa60b={_0x50d836:0x100,_0x53ee33:0x1aa,_0x4deba4:0xf9,_0x299c62:0x13e,_0x3f4de6:0x61b,_0x98011:0x89c,_0x2ef9e1:0x792,_0x1a8567:0x3ce,_0x4e8046:0x27f,_0x5e2fad:0x91b,_0x930093:0x82b,_0x106692:0x561,_0xc5ad52:0x659,_0x36e2d1:0x809,_0x5e6807:0x756,_0x2162d8:0x6a4,_0x21ded2:0xbb,_0x4e47fd:0x1ee,_0x4cf60f:0xb2,_0x23898c:0x744,_0x4a9ee8:0x6fe,_0x1659a5:0x7c6,_0x124b0c:0x87b,_0x472ca5:0x32,_0x2dee85:0x635,_0x236818:0x548,_0xcd0b1d:0x6a4,_0x347c4d:0x54e,_0x58cbbc:0x6b7,_0x363906:0x7e6,_0x1cc2fa:0x7f2,_0x19bff7:0x7d3,_0x441512:0x8a0},_0x284861={_0x2b7a82:0xda},_0x35c05b={_0x228383:0x550},_0x5bf9ac={_0x11633f:0x5df,_0x2d421:0x95},_0x2cb83a=new Map(_0x258acb[_0x5d6c71(-_0xb8e286._0x10d9f0,-_0xb8e286._0x57725f,-0xc4,-0x1b6)]['map'](_0x4489b4=>[_0x4489b4['id'],_0x4489b4])),_0x5f5211=buildDescription(_0x258acb[_0x5d6c71(0xb4,_0xb8e286._0x25b57f,-_0xb8e286._0x282d2b,-_0xb8e286._0x3bcf28)]);function _0x144725(_0x3e5bd6,_0x201862,_0x58cca7,_0x449f42){return _0x475ba1(_0x201862,_0x58cca7-_0x5bf9ac._0x11633f,_0x58cca7-_0x5bf9ac._0x2d421,_0x449f42-0x6d);}function _0x5d6c71(_0x1dfac3,_0x45c84f,_0x8f16fe,_0x2481fc){return _0x511d68(_0x1dfac3-0x1b9,_0x8f16fe- -_0x35c05b._0x228383,_0x8f16fe-0xa6,_0x2481fc);}return defineTool({'name':'InvokeCommand','description':_0x5f5211,'inputSchema':{'type':_0x144725(0x7e1,0x638,0x7a5,0x685),'properties':{'name':{'type':_0x5d6c71(_0xb8e286._0x1531fb,-_0xb8e286._0x1e1106,_0xb8e286._0x2e418c,-0xe2)},'args':{'type':_0x5d6c71(_0xb8e286._0x11f022,-0x8d,_0xb8e286._0x2e418c,_0xb8e286._0xe88b52)}},'required':[_0x144725(0x725,_0xb8e286._0x5a8acb,_0xb8e286._0x221afd,_0xb8e286._0x4cf13a)]},async *'execute'(_0xc08c03){const _0x754139={_0x2cd4f6:0x24,_0xacac8f:0x5d};function _0x11c908(_0x36d886,_0x4bdd63,_0x383381,_0x48b3fa){return _0x5d6c71(_0x36d886-0x118,_0x4bdd63-0x118,_0x383381-_0x284861._0x2b7a82,_0x48b3fa);}const _0x47a7a4=_0x2cb83a[_0x11c908(0x156,0x47,_0x1aa60b._0x50d836,0x24b)](_0xc08c03[_0x11c908(0x1ca,_0x1aa60b._0x53ee33,_0x1aa60b._0x4deba4,_0x1aa60b._0x299c62)]);function _0x3ff5c7(_0x4a5ce0,_0x59a9bc,_0xa93f8d,_0x402751){return _0x144725(_0x4a5ce0-_0x754139._0x2cd4f6,_0x4a5ce0,_0xa93f8d- -_0x754139._0xacac8f,_0x402751-0x164);}if(!_0x47a7a4){const _0x28c473=Array[_0x3ff5c7(_0x1aa60b._0x3f4de6,_0x1aa60b._0x98011,_0x1aa60b._0x2ef9e1,0x783)](_0x2cb83a[_0x11c908(_0x1aa60b._0x1a8567,0x105,_0x1aa60b._0x4e8046,0x29c)]())[_0x3ff5c7(0x97f,_0x1aa60b._0x5e2fad,_0x1aa60b._0x930093,0x92b)](',\x20');throw new ToolExecutionError(_0x3ff5c7(0x68e,_0x1aa60b._0x106692,_0x1aa60b._0xc5ad52,0x6e4)+_0xc08c03[_0x3ff5c7(_0x1aa60b._0x36e2d1,_0x1aa60b._0x5e6807,_0x1aa60b._0x2162d8,0x786)]+_0x11c908(_0x1aa60b._0x21ded2,0x25e,_0x1aa60b._0x4e47fd,_0x1aa60b._0x4cf60f)+_0x28c473,{'name':_0xc08c03['name']});}const _0x333326=await _0x258acb[_0x3ff5c7(0x69a,0x599,0x5f9,_0x1aa60b._0x23898c)](_0x47a7a4),_0x294237=_0xc08c03['args']??'',_0x270f18=renderCommandInstructions({'instructions':_0x333326[_0x3ff5c7(_0x1aa60b._0x4a9ee8,_0x1aa60b._0x1659a5,0x779,_0x1aa60b._0x124b0c)],'argumentsText':_0x294237,'argumentNames':_0x333326[_0x11c908(0x14f,_0x1aa60b._0x472ca5,0xaa,0x58)]});return yield createToolOutput(_0x270f18,{'id':_0x333326['id'],'name':_0x333326[_0x3ff5c7(_0x1aa60b._0x2dee85,_0x1aa60b._0x236818,_0x1aa60b._0xcd0b1d,_0x1aa60b._0x347c4d)],'path':_0x47a7a4[_0x3ff5c7(0x858,_0x1aa60b._0x58cbbc,0x73e,_0x1aa60b._0x363906)][_0x3ff5c7(0x728,_0x1aa60b._0x1cc2fa,_0x1aa60b._0x19bff7,_0x1aa60b._0x441512)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x4ebb33,rename as _0x3f45db,stat as _0x50e6ac,writeFile as _0x5dcf61}from'fs/promises';import*as _0x3569ed from'path';function detectEol(_0x495593){const _0x52754d={_0xea63e0:0xf0,_0x2544d1:0x19e,_0x197e8d:0x4e,_0x53f701:0x99,_0x47ab8c:0x3f,_0x468012:0x148,_0x39935b:0xf},_0x2cc9e9={_0x49a48d:0x1b9,_0x2aaecf:0xec,_0x262ba2:0x174},_0x2af7b9={_0x4969f3:0x82,_0x429404:0x54b};function _0x7565a6(_0xd1634a,_0x542539,_0x452229,_0x19b58){return _0x511d68(_0xd1634a-_0x2af7b9._0x4969f3,_0x542539- -_0x2af7b9._0x429404,_0x452229-0x89,_0xd1634a);}function _0x536a76(_0x41801c,_0x38bcfa,_0x2a39dc,_0x10be5e){return _0x475ba1(_0x10be5e,_0x38bcfa- -_0x2cc9e9._0x49a48d,_0x2a39dc-_0x2cc9e9._0x2aaecf,_0x10be5e-_0x2cc9e9._0x262ba2);}return/\r\n/[_0x536a76(0x21b,0xf7,0x20,_0x52754d._0xea63e0)](_0x495593[_0x7565a6(_0x52754d._0x2544d1,_0x52754d._0x197e8d,0x52,0xd0)](_0x536a76(0x173,0x28,_0x52754d._0x53f701,0x10f)))?_0x7565a6(-_0x52754d._0x47ab8c,-0xc,-_0x52754d._0x468012,-_0x52754d._0x39935b):'lf';}function normalizeToLf(_0x4c7a41){const _0x56eab7={_0x6d6bfc:0x178,_0x31d2a2:0xdd},_0x42449b={_0x3f6598:0xce,_0x46d4c2:0x1ac,_0x1e2760:0x29};function _0xb52454(_0x1ecadd,_0x2d39a2,_0x57e98c,_0x164f9c){return _0x475ba1(_0x164f9c,_0x2d39a2- -_0x42449b._0x3f6598,_0x57e98c-_0x42449b._0x46d4c2,_0x164f9c-_0x42449b._0x1e2760);}return _0x4c7a41[_0xb52454(-_0x56eab7._0x6d6bfc,-_0x56eab7._0x31d2a2,-0x22e,-0x1f5)](/\r\n/g,'\x0a');}function convertEol(_0x2d2ec3,_0x438c10){const _0x1a0611={_0x26a4db:0x5b3,_0xbbb671:0x2c,_0x3ff731:0x11d},_0x2f213a={_0x537b3a:0x13c,_0x16eb80:0x131},_0x2f8e5d={_0x322616:0x6d};function _0x34ba58(_0x5a48ee,_0x7d4fec,_0x1e78d3,_0x3b0e44){return _0x511d68(_0x5a48ee-_0x2f8e5d._0x322616,_0x3b0e44- -0x55b,_0x1e78d3-0x144,_0x5a48ee);}function _0x2cbbbd(_0x29cc8a,_0x28c4d0,_0x55080d,_0x5209b3){return _0x511d68(_0x29cc8a-_0x2f213a._0x537b3a,_0x55080d-_0x2f213a._0x16eb80,_0x55080d-0x1e1,_0x28c4d0);}return _0x438c10===_0x2cbbbd(0x7a4,0x76c,0x670,_0x1a0611._0x26a4db)?_0x2d2ec3[_0x34ba58(-0x1dd,-0x20f,-_0x1a0611._0xbbb671,-_0x1a0611._0x3ff731)](/\n/g,'\x0d\x0a'):_0x2d2ec3;}async function atomicWrite(_0x934751,_0x593f18){const _0x2bda36={_0x1d5482:0x21c,_0x24af17:0x2c,_0x1e580c:0xf5,_0x433923:0xb8,_0x419648:0x160,_0x230c80:0x19d,_0x88d1fc:0xd,_0x1c8224:0x28},_0x599af1={_0x3b2327:0x58,_0x129026:0x1a8},_0x529f25={_0x120976:0x14,_0x3653c9:0xfa,_0x472f5b:0x1b5};function _0x580225(_0x1550b0,_0x32b6ee,_0x3e9324,_0x398573){return _0x475ba1(_0x3e9324,_0x1550b0-_0x529f25._0x120976,_0x3e9324-_0x529f25._0x3653c9,_0x398573-_0x529f25._0x472f5b);}const _0x2cf523=_0x3569ed['dirname'](_0x934751);function _0x5a7bf3(_0x5b2907,_0x4d73f7,_0x127b0e,_0x588375){return _0x475ba1(_0x4d73f7,_0x5b2907- -0xa9,_0x127b0e-_0x599af1._0x3b2327,_0x588375-_0x599af1._0x129026);}const _0x48244b=_0x3569ed['join'](_0x2cf523,_0x580225(0x114,_0x2bda36._0x1d5482,_0x2bda36._0x24af17,_0x2bda36._0x1e580c)+_0x3569ed['basename'](_0x934751)+'.'+Date['now']()+'.'+Math[_0x580225(0x17,0x15d,-0x16,_0x2bda36._0x433923)]()[_0x580225(_0x2bda36._0x419648,0x1b8,0x205,_0x2bda36._0x230c80)](0x24)[_0x5a7bf3(-0x5c,_0x2bda36._0x88d1fc,-_0x2bda36._0x1c8224,-0x142)](0x2));await _0x5dcf61(_0x48244b,_0x593f18),await _0x3f45db(_0x48244b,_0x934751);}function sha256(_0x285b40){const _0x25d62e={_0x3034d3:0x340,_0x5321b1:0x216,_0x4a25aa:0x49,_0xf9f266:0x177},_0x3e400d={_0x468b3d:0x28a,_0x58447c:0x196};function _0x4c6853(_0x398d36,_0x31b8fa,_0x2c98d1,_0x48e6d1){return _0x475ba1(_0x2c98d1,_0x398d36-_0x3e400d._0x468b3d,_0x2c98d1-0x16,_0x48e6d1-_0x3e400d._0x58447c);}function _0x10a9de(_0x1b1857,_0x484224,_0x431ec3,_0x170011){return _0x511d68(_0x1b1857-0xbf,_0x431ec3- -0x30f,_0x431ec3-0xfd,_0x1b1857);}return createHash(_0x10a9de(0x21b,_0x25d62e._0x3034d3,0x1bc,0x72))[_0x10a9de(_0x25d62e._0x5321b1,_0x25d62e._0x4a25aa,0x196,_0x25d62e._0xf9f266)](_0x285b40)['digest']('hex');}function countLines(_0x47bce5){const _0x20d011={_0x402b34:0x67,_0x15b417:0x1c1,_0x1c6dfc:0x69,_0x3d1603:0x78,_0x4ef827:0x1eb,_0x3e1379:0x2c9,_0x164b90:0x2bc,_0x386021:0xb9,_0x3cbb52:0x191},_0x190108={_0xdf357e:0x1f4,_0x18db2d:0x5b6,_0x46dfbb:0x13f},_0x288c86={_0x4ab7ed:0x58},_0x2a5ad9=_0x47bce5[_0x4ed7d7(-_0x20d011._0x402b34,-0x114,-_0x20d011._0x15b417,-0x8)](/\n$/,'');function _0x4ed7d7(_0x2fcfd1,_0x543f24,_0x3e138a,_0x27bc2d){return _0x475ba1(_0x3e138a,_0x2fcfd1- -_0x288c86._0x4ab7ed,_0x3e138a-0x0,_0x27bc2d-0x10f);}function _0x28055b(_0x5285bf,_0x3d177d,_0x26f031,_0x33d9e3){return _0x511d68(_0x5285bf-_0x190108._0xdf357e,_0x3d177d- -_0x190108._0x18db2d,_0x26f031-_0x190108._0x46dfbb,_0x33d9e3);}return _0x2a5ad9[_0x4ed7d7(_0x20d011._0x1c6dfc,0x128,_0x20d011._0x3d1603,_0x20d011._0x4ef827)]===0x0?0x0:_0x2a5ad9[_0x4ed7d7(0x1dd,_0x20d011._0x3e1379,0xa9,_0x20d011._0x164b90)]('\x0a')[_0x4ed7d7(0x69,_0x20d011._0x386021,_0x20d011._0x3cbb52,0x11c)];}function calculateLineNumbers(_0x45b641,_0x5eedba,_0x4ac8ac,_0x60fd8b){const _0x2388a5={_0x352448:0x82,_0x3fd8ac:0xa7,_0x54eb2a:0xf1,_0x5ef154:0x84,_0xf6befc:0x1d1},_0x2a4fe9={_0x7f1592:0x19e,_0x17ea77:0x15f},_0x2d6a7b={_0x5b72b4:0x45f,_0x5458e1:0x1a2};function _0x1babfa(_0x363615,_0x3b25b2,_0x384b00,_0x54a60f){return _0x511d68(_0x363615-0x177,_0x384b00- -_0x2d6a7b._0x5b72b4,_0x384b00-_0x2d6a7b._0x5458e1,_0x54a60f);}const _0x3e131d=_0x45b641[_0x1babfa(_0x2388a5._0x352448,_0x2388a5._0x3fd8ac,0x3b,0xa5)](0x0,_0x60fd8b)[_0x1babfa(0x1e6,_0x2388a5._0x54eb2a,0x223,0x23e)]('\x0a')[_0x1babfa(0x187,_0x2388a5._0x5ef154,0xaf,_0x2388a5._0xf6befc)],_0x5e0cf2=countLines(_0x5eedba);function _0x264dfb(_0xb296de,_0x5314d8,_0x1eb31a,_0x3d0a39){return _0x511d68(_0xb296de-_0x2a4fe9._0x7f1592,_0x1eb31a- -0x509,_0x1eb31a-_0x2a4fe9._0x17ea77,_0xb296de);}const _0xb59cf7=countLines(_0x4ac8ac);return{'oldStartLine':_0x3e131d,'oldEndLine':_0x3e131d+_0x5e0cf2-0x1,'newStartLine':_0x3e131d,'newEndLine':_0x3e131d+_0xb59cf7-0x1,'oldLineCount':_0x5e0cf2,'newLineCount':_0xb59cf7};}function createFileEditTool(_0x1197d7={}){const _0x7458f3={_0x17f3e4:0x555,_0x47c92b:0x5c2,_0xf45531:0x594,_0x30c468:0x5c0,_0x12f998:0x477,_0x1e088c:0x67a,_0x14f07d:0x4ff,_0x483cea:0x6ee,_0x30c2e8:0x651,_0x483aec:0x652,_0x24ebc4:0x6b0,_0x376198:0x65f,_0x2bba45:0x61a,_0x2e6267:0x797,_0x4e7372:0x725,_0x5dc6d2:0x6c5,_0x31e995:0x706,_0x12efc9:0x858,_0x3dfcce:0x781,_0x5d762f:0x6f0,_0x5ea287:0x700,_0x57b99b:0x934,_0x5c11c6:0x801,_0x781585:0x859,_0x2eaacd:0x616,_0x446b58:0x4d8,_0x5b1347:0x4ce,_0x2b431e:0x59c,_0x187db0:0x542,_0xae1f75:0x70f,_0x594e22:0x838,_0x29592c:0x742,_0x490f0b:0x88f,_0x4c3525:0x65e,_0x388da3:0x7f1},_0x18621f={_0x5508fb:0x5eb,_0x4993ab:0x51a,_0x5e2fce:0x793,_0x30d2f9:0x8fc,_0x2ce992:0x84c,_0x230be0:0x805,_0x1f9a2b:0x84f,_0x5dcbc7:0x67f,_0x2dedf4:0x618,_0x232fc6:0x592,_0x2e63f0:0x7a4,_0xb2b52c:0x86a,_0x24c50e:0x914,_0xffa248:0x643,_0x16f765:0x68f,_0x4fc218:0x7f6,_0x2c47da:0x533,_0x45b8ac:0x79e,_0x4b06f0:0x8e2,_0x247e56:0x76c,_0x1ab6a0:0x292,_0x24a07a:0x38d,_0x1a1609:0x314,_0x870270:0x348,_0x3d0aba:0x39e,_0x2c31d5:0x314,_0xd43a6f:0x411,_0x39fc53:0x405,_0xb9ebc9:0x436,_0x2b13c8:0x4e6,_0x3e3c4e:0x4a8,_0x5cb5ec:0x81d,_0x47e604:0x80d,_0xb3b494:0x872,_0x4a93d5:0x968,_0x40e823:0x24e,_0x2f93db:0x852,_0x414047:0x24d,_0x170115:0x2bf,_0x565c06:0x827,_0x1170ac:0x48a,_0x354468:0x64f,_0x5100e9:0x4e9,_0x3dbe6c:0x554,_0x594bd2:0x724,_0x2bc6af:0x4e1,_0x7e7b51:0x343,_0x5efea9:0x372,_0x4eb1b2:0x2cf,_0x7adfa3:0x388},_0x580507={_0x40824b:0x309,_0x15729e:0xcc,_0x3a7d12:0xe},_0x1ed422={_0x144f31:0xef,_0x14a886:0x183},_0x2ed80c=_0x3569ed[_0x3d03cb(0x462,_0x7458f3._0x17f3e4,0x47e,_0x7458f3._0x47c92b)](_0x1197d7['defaultCwd']??process[_0x3d03cb(0x6d6,0x6e8,_0x7458f3._0xf45531,0x728)]());function _0x5950d4(_0x4023c2,_0xfe1829,_0x4edf3d,_0x189b85){return _0x511d68(_0x4023c2-_0x1ed422._0x144f31,_0xfe1829-_0x1ed422._0x14a886,_0x4edf3d-0x69,_0x4023c2);}const _0x4d13b7=_0x1197d7[_0x3d03cb(_0x7458f3._0x30c468,0x633,0x5db,_0x7458f3._0x12f998)]??[];function _0x3d03cb(_0xc1db11,_0x42d402,_0x52bd65,_0x13c70b){return _0x511d68(_0xc1db11-0x10a,_0xc1db11-0x4c,_0x52bd65-0x1ea,_0x52bd65);}const _0x29b83f=_0x1197d7[_0x3d03cb(0x5bb,0x5dd,_0x7458f3._0x1e088c,_0x7458f3._0x14f07d)]??_0x3d03cb(_0x7458f3._0x483cea,0x85e,_0x7458f3._0x30c2e8,_0x7458f3._0x483aec);return defineTool({'name':_0x29b83f,'description':_0x5950d4(_0x7458f3._0x24ebc4,0x687,0x55d,0x5b7),'inputSchema':{'type':_0x3d03cb(_0x7458f3._0x376198,_0x7458f3._0x2bba45,_0x7458f3._0x2e6267,_0x7458f3._0x4e7372),'properties':{'filePath':{'type':_0x5950d4(_0x7458f3._0x5dc6d2,0x74d,_0x7458f3._0x31e995,_0x7458f3._0x12efc9)},'description':{'type':_0x5950d4(_0x7458f3._0x3dfcce,0x74d,_0x7458f3._0x5d762f,_0x7458f3._0x5ea287),'description':_0x5950d4(_0x7458f3._0x57b99b,_0x7458f3._0x5c11c6,_0x7458f3._0x781585,0x81d)},'oldText':{'type':_0x3d03cb(_0x7458f3._0x2eaacd,_0x7458f3._0x446b58,_0x7458f3._0x5b1347,_0x7458f3._0x2b431e)},'newText':{'type':_0x3d03cb(0x616,_0x7458f3._0x187db0,_0x7458f3._0xae1f75,0x49f)},'dryRun':{'type':_0x5950d4(_0x7458f3._0x594e22,0x789,0x6df,0x89c)}},'required':[_0x5950d4(_0x7458f3._0x29592c,0x76e,0x742,_0x7458f3._0x490f0b),_0x3d03cb(0x71a,_0x7458f3._0x4c3525,_0x7458f3._0x388da3,0x5d2),_0x3d03cb(0x54a,0x580,0x5ba,_0x7458f3._0x2b431e)]},async *'execute'(_0x44bbcb){const _0x476969={_0x3cfb9e:0xc},_0x324e47=resolveAllowedPath(_0x2ed80c,_0x4d13b7,_0x44bbcb[_0x1983d4(_0x18621f._0x5508fb,0x440,_0x18621f._0x4993ab,0x465)]);await assertWorkspaceFile(_0x324e47);const _0x40ccd1=await _0x50e6ac(_0x324e47);function _0x1983d4(_0xa5c52,_0x4ab546,_0x40e3a2,_0x47d93b){return _0x5950d4(_0x4ab546,_0x47d93b- -_0x580507._0x40824b,_0x40e3a2-_0x580507._0x15729e,_0x47d93b-_0x580507._0x3a7d12);}const _0x168113=await _0x4ebb33(_0x324e47),_0x4e5404=detectEol(_0x168113),_0x982572=normalizeToLf(_0x168113['toString'](_0x1a2921(_0x18621f._0x5e2fce,0x7af,_0x18621f._0x30d2f9,_0x18621f._0x2ce992))),_0x348924=normalizeToLf(_0x44bbcb[_0x1a2921(_0x18621f._0x230be0,_0x18621f._0x1f9a2b,0x6ca,0x748)]),_0xc369bd=normalizeToLf(_0x44bbcb[_0x1a2921(0x5c5,_0x18621f._0x5dcbc7,0x61f,0x655)]),_0x3dbc93=_0x982572[_0x1a2921(_0x18621f._0x2dedf4,0x610,0x52f,0x4fa)](_0x348924);if(_0x3dbc93===-0x1){const _0x1169d6=_0x348924[_0x1a2921(0x4ba,0x61b,_0x18621f._0x232fc6,0x5c1)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1a2921(_0x18621f._0x2e63f0,_0x18621f._0xb2b52c,0x954,_0x18621f._0x24c50e)+_0x1169d6+(_0x348924[_0x1a2921(_0x18621f._0xffa248,_0x18621f._0x16f765,_0x18621f._0x4fc218,_0x18621f._0x2c47da)]>0x64?_0x1a2921(_0x18621f._0x45b8ac,0x82f,0x6bd,_0x18621f._0x4b06f0):'')+'\x22',{'filePath':_0x44bbcb[_0x1a2921(0x73b,_0x18621f._0x247e56,0x853,0x744)]});}const _0x51ecf7=_0x982572[_0x1983d4(_0x18621f._0x1ab6a0,0x338,_0x18621f._0x24a07a,_0x18621f._0x1a1609)](0x0,_0x3dbc93)+_0xc369bd+_0x982572[_0x1983d4(0x449,_0x18621f._0x870270,_0x18621f._0x3d0aba,_0x18621f._0x2c31d5)](_0x3dbc93+_0x348924[_0x1983d4(0x462,_0x18621f._0xd43a6f,0x2c1,0x388)]),_0x5f4cb2=convertEol(_0x51ecf7,_0x4e5404),_0x7930bc=Buffer['from'](_0x5f4cb2,_0x1983d4(_0x18621f._0x39fc53,_0x18621f._0xb9ebc9,_0x18621f._0x2b13c8,_0x18621f._0x3e3c4e)),_0x2d73f8=sha256(_0x168113),_0x51ecbf=sha256(_0x7930bc),_0x5aabb0=_0x2d73f8===_0x51ecbf,_0x357382=_0x44bbcb[_0x1a2921(_0x18621f._0x5cb5ec,_0x18621f._0x47e604,0x833,0x6b1)]??![];!_0x357382&&!_0x5aabb0&&await atomicWrite(_0x324e47,_0x7930bc);yield createToolOutput(_0x5aabb0?'No\x20changes\x20(content\x20identical).':_0x357382?_0x1a2921(0x80a,_0x18621f._0xb3b494,0x7a0,_0x18621f._0x4a93d5):_0x1983d4(0x3be,0x1f4,_0x18621f._0x40e823,0x2b2),{'filePath':_0x44bbcb['filePath'],'resolvedPath':_0x324e47,'created':_0x40ccd1['birthtime'][_0x1a2921(0x8ea,0x827,_0x18621f._0x2f93db,0x920)](),'modified':_0x40ccd1[_0x1983d4(0x33b,_0x18621f._0x414047,0x1c7,_0x18621f._0x170115)][_0x1a2921(0x78c,_0x18621f._0x565c06,0x6b2,0x970)](),'size':_0x40ccd1[_0x1983d4(_0x18621f._0x1170ac,_0x18621f._0x354468,_0x18621f._0x5100e9,_0x18621f._0x3dbe6c)],'eol':_0x4e5404,'oldTextLength':_0x348924[_0x1a2921(0x649,0x68f,0x530,_0x18621f._0x594bd2)],'newTextLength':_0xc369bd[_0x1983d4(_0x18621f._0x2bc6af,_0x18621f._0x7e7b51,_0x18621f._0x5efea9,0x388)],'bytesWritten':_0x5aabb0||_0x357382?0x0:_0x7930bc[_0x1983d4(_0x18621f._0x4eb1b2,0x224,0x444,_0x18621f._0x7adfa3)],'beforeSha':_0x2d73f8,'afterSha':_0x51ecbf,'dryRun':_0x357382,'noChange':_0x5aabb0,'lineNumbers':calculateLineNumbers(_0x982572,_0x348924,_0xc369bd,_0x3dbc93)});function _0x1a2921(_0x3f4862,_0x55490c,_0x3635d0,_0x50a42e){return _0x3d03cb(_0x55490c-0x135,_0x55490c-_0x476969._0x3cfb9e,_0x3f4862,_0x50a42e-0x118);}return void 0x0;}});}import{mkdir as _0x36eb96,rename as _0x28fd58,stat as _0x31fe46,writeFile as _0x31da0a}from'fs/promises';import*as _0xee5a2a from'path';async function atomicWrite2(_0x1fc692,_0x4b8c75){const _0x4897fd={_0x333e88:0x772,_0x29f979:0x914,_0x3cd0a5:0x637,_0x1f8e8d:0x4f2,_0x3882b5:0x564,_0x42fa30:0x330,_0x376a35:0x238,_0x57790a:0x3d6,_0x18461b:0x4a6,_0x4bafeb:0x3a4,_0x5e5022:0x430,_0x132dce:0x401},_0x398542={_0x4827a1:0x66},_0x431ee7={_0x31325f:0x132,_0x4c3aa6:0xf3};function _0x411267(_0x170b56,_0x184534,_0x33694b,_0x2405e0){return _0x511d68(_0x170b56-_0x431ee7._0x31325f,_0x170b56- -_0x431ee7._0x4c3aa6,_0x33694b-0x1b9,_0x184534);}const _0x4bbbaf=_0xee5a2a[_0x3e929b(0x71b,0x6e2,0x664,_0x4897fd._0x333e88)](_0x1fc692);await _0x36eb96(_0x4bbbaf,{'recursive':!![]});function _0x3e929b(_0x2e4f9f,_0x2d3c8b,_0x1cad29,_0x41e260){return _0x475ba1(_0x41e260,_0x2e4f9f-0x4eb,_0x1cad29-_0x398542._0x4827a1,_0x41e260-0x8);}const _0x2892ce=_0xee5a2a[_0x3e929b(0x794,0x791,_0x4897fd._0x29f979,_0x4897fd._0x3cd0a5)](_0x4bbbaf,_0x3e929b(0x5eb,_0x4897fd._0x1f8e8d,0x522,_0x4897fd._0x3882b5)+_0xee5a2a[_0x411267(_0x4897fd._0x42fa30,0x257,0x33d,_0x4897fd._0x376a35)](_0x1fc692)+'.'+Date[_0x411267(0x4ee,0x40c,0x53b,0x3bb)]()+'.'+Math[_0x3e929b(0x4ee,_0x4897fd._0x57790a,0x61f,0x5e1)]()[_0x411267(_0x4897fd._0x18461b,0x38d,_0x4897fd._0x4bafeb,0x3e2)](0x24)[_0x3e929b(0x538,0x46e,_0x4897fd._0x5e5022,_0x4897fd._0x132dce)](0x2));await _0x31da0a(_0x2892ce,_0x4b8c75),await _0x28fd58(_0x2892ce,_0x1fc692);}function createFileNewTool(_0x3f6c0a={}){const _0x772e55={_0x52802c:0x100,_0x5bcce9:0x376,_0x55ef53:0x413,_0x34569c:0x3d5,_0x502c04:0x3aa,_0x40aa1f:0x424,_0x250d5c:0x1a2,_0x239c23:0x165,_0x5daec2:0x1b9,_0x44800f:0x417,_0x328e9f:0x2fd,_0x21380a:0x3ad,_0x57b265:0x42b,_0x339fce:0x318,_0x1f1f90:0x331,_0x41a3ae:0x4df,_0x190faa:0x186,_0x2df9a1:0x22a,_0x464b85:0x1cc},_0x5a2e70={_0x1a15f1:0x5fb,_0x18a3e7:0x499,_0x2871b3:0x4f6,_0x4c266d:0x5a0,_0x516baa:0x531,_0x4f535f:0x41d,_0x5c186f:0x30c,_0x25bf70:0x498,_0x338a0a:0x3cb,_0x1ee60a:0x6ab,_0x6e8078:0x3fb,_0x11785b:0x36d,_0x155b03:0x1f3,_0x4ce04b:0x212,_0x5576ad:0x2f7,_0x4589ee:0x2fc,_0x283288:0x415,_0x5e59d4:0x3ed},_0xf0f552={_0x44534f:0xaa},_0x1366b9={_0x5aace9:0x1dd},_0x4e2296={_0x26e584:0x2ae,_0x2f4a26:0xa5},_0x4608c5=_0xee5a2a[_0x48235b(0xdf,0xa5,0x266,_0x772e55._0x52802c)](_0x3f6c0a[_0x597aab(0x3cf,_0x772e55._0x5bcce9,0x267,0x272)]??process['cwd']()),_0xa8b82d=_0x3f6c0a[_0x597aab(_0x772e55._0x55ef53,0x2f5,_0x772e55._0x34569c,0x41e)]??[];function _0x597aab(_0x12ce11,_0x505652,_0x4ba93e,_0x37f1e4){return _0x475ba1(_0x37f1e4,_0x4ba93e-_0x4e2296._0x26e584,_0x4ba93e-0x38,_0x37f1e4-_0x4e2296._0x2f4a26);}function _0x48235b(_0x4df962,_0x294787,_0xf4d96a,_0x5e82fe){return _0x475ba1(_0x4df962,_0x5e82fe-0x137,_0xf4d96a-0xec,_0x5e82fe-_0x1366b9._0x5aace9);}const _0x1d89da=_0x3f6c0a[_0x597aab(0x401,_0x772e55._0x502c04,0x3d0,_0x772e55._0x40aa1f)]??'FileNew';return defineTool({'name':_0x1d89da,'description':_0x48235b(0xbb,_0x772e55._0x250d5c,0x112,_0x772e55._0x239c23),'inputSchema':{'type':_0x48235b(_0x772e55._0x5daec2,_0x772e55._0x44800f,0x47f,_0x772e55._0x328e9f),'properties':{'filePath':{'type':_0x597aab(0x35f,_0x772e55._0x21380a,_0x772e55._0x57b265,_0x772e55._0x339fce)},'content':{'type':_0x597aab(_0x772e55._0x1f1f90,0x4ea,0x42b,_0x772e55._0x41a3ae)}},'required':['filePath',_0x48235b(_0x772e55._0x190faa,_0x772e55._0x2df9a1,0x4a,_0x772e55._0x464b85)]},async *'execute'(_0x76fc23){const _0x15c43d={_0x548448:0x2a,_0x2e2749:0x23a};function _0x1440a8(_0x39cea2,_0x42d676,_0x261b82,_0x18a332){return _0x597aab(_0x39cea2-_0x15c43d._0x548448,_0x42d676-0x18b,_0x42d676- -_0x15c43d._0x2e2749,_0x39cea2);}const _0x2ebc99=resolveAllowedPath(_0x4608c5,_0xa8b82d,_0x76fc23[_0x50e7ed(0x4d8,_0x5a2e70._0x1a15f1,_0x5a2e70._0x18a3e7,_0x5a2e70._0x2871b3)]);function _0x50e7ed(_0xd13550,_0x123f82,_0x25da2f,_0x22422b){return _0x597aab(_0xd13550-0x8b,_0x123f82-0x90,_0x22422b-_0xf0f552._0x44534f,_0xd13550);}const _0x52d4e1=await _0x31fe46(_0x2ebc99)[_0x50e7ed(_0x5a2e70._0x4c266d,_0x5a2e70._0x516baa,_0x5a2e70._0x4f535f,0x561)](()=>!![])['catch'](()=>![]),_0x2b4d41=Buffer['from'](_0x76fc23[_0x50e7ed(_0x5a2e70._0x5c186f,_0x5a2e70._0x25bf70,_0x5a2e70._0x338a0a,0x3ed)],_0x50e7ed(_0x5a2e70._0x1ee60a,_0x5a2e70._0x6e8078,0x625,0x539));return await atomicWrite2(_0x2ebc99,_0x2b4d41),yield createToolOutput(_0x50e7ed(_0x5a2e70._0x11785b,0x1e5,_0x5a2e70._0x155b03,0x337)+_0x76fc23[_0x50e7ed(0x50e,0x65b,0x48a,_0x5a2e70._0x2871b3)]+'.',{'filePath':_0x76fc23[_0x1440a8(0x195,_0x5a2e70._0x4ce04b,0x165,_0x5a2e70._0x5576ad)],'resolvedPath':_0x2ebc99,'bytes':_0x2b4d41[_0x50e7ed(_0x5a2e70._0x4589ee,_0x5a2e70._0x283288,0x4ca,0x419)],'lines':_0x76fc23[_0x50e7ed(0x4f7,0x4cf,0x4e5,_0x5a2e70._0x5e59d4)]['split'](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x52d4e1}),void 0x0;}});}import{readFile as _0x48b8aa,stat as _0x4da994}from'fs/promises';import*as _0x1eb065 from'path';function stripUtfBom(_0x12748c){const _0x3af1a9={_0x9263a1:0x268,_0x1345f6:0x96},_0x123362={_0x150e32:0x9d,_0xc03834:0x101,_0x1069d1:0xe1};function _0x23b2d7(_0x4d4ee7,_0x321f43,_0x5ca8bf,_0x31eeff){return _0x475ba1(_0x321f43,_0x31eeff-_0x123362._0x150e32,_0x5ca8bf-_0x123362._0xc03834,_0x31eeff-_0x123362._0x1069d1);}function _0x1eb9ee(_0x184272,_0x93298,_0x504f86,_0x495837){return _0x511d68(_0x184272-0x67,_0x495837- -0x530,_0x504f86-0x182,_0x184272);}return _0x12748c[_0x23b2d7(_0x3af1a9._0x9263a1,0x39f,0x370,0x2d6)](0x0)===0xfeff?_0x12748c[_0x1eb9ee(0x1e,0x88,-0x49,-_0x3af1a9._0x1345f6)](0x1):_0x12748c;}function clampLine(_0xbea7fa,_0x161135){const _0xaadd6b={_0x16e32a:0x567,_0x58fc50:0x562,_0x1639e6:0x3d5,_0xa11568:0x466},_0x468329={_0x23e028:0x6d},_0x40a22e={_0x5d9749:0x1f0,_0x401a9b:0x9b};function _0x197baa(_0x555631,_0x5baa45,_0x15abbf,_0x33f9ff){return _0x511d68(_0x555631-_0x40a22e._0x5d9749,_0x5baa45- -_0x40a22e._0x401a9b,_0x15abbf-0x114,_0x15abbf);}function _0x2c59fa(_0x40691d,_0x45ee39,_0x1937f9,_0x5309f9){return _0x511d68(_0x40691d-_0x468329._0x23e028,_0x5309f9-0x10d,_0x1937f9-0x1c5,_0x40691d);}if(!Number[_0x2c59fa(_0xaadd6b._0x16e32a,_0xaadd6b._0x58fc50,0x5c9,0x591)](_0xbea7fa))return 0x1;return Math['max'](0x1,Math['min'](Math[_0x2c59fa(0x429,_0xaadd6b._0x1639e6,_0xaadd6b._0xa11568,0x53b)](_0xbea7fa),_0x161135));}function createFileReadTool(_0x56eba8={}){const _0x2d207b={_0x547da5:0x29c,_0x4a5f30:0x189,_0x17cfec:0x28a,_0x41b100:0x129,_0x33c90b:0x12,_0x33e9b2:0x1c9,_0x26b1fd:0x1b9,_0x1ae649:0x170,_0x6ea9bf:0x13b,_0x3ccf99:0x105,_0x1c2518:0x227,_0x57bab9:0x25f,_0x199afe:0x30f,_0xa3df44:0xb2,_0xec819a:0x212,_0x1725d9:0x482,_0x1dc2af:0x335,_0x17b966:0x87,_0x55e804:0x110,_0x1b7eaf:0xe4,_0x31e887:0x3ac,_0x4045f0:0x43d,_0x895643:0x3bb},_0x4611de={_0xf4a789:0x4e8,_0x22ed97:0x482,_0x22dd48:0x4e8,_0x381b1c:0x3d8,_0x242b3e:0x54a,_0x4c20b9:0x5a7,_0x3c10c6:0x612,_0x539c00:0x516,_0x40e8a1:0x4cc,_0x492e19:0x5d5,_0x253b2c:0xd5,_0x7f4b9a:0x227,_0x3b34e0:0xcd,_0xd6a30c:0xdd,_0x1d1d33:0x80,_0x28bc6d:0x524,_0x57c538:0x52d,_0x182d97:0x54b,_0x12eeb4:0x18b,_0x2d5885:0x1d7,_0x4b2f21:0xbb,_0x12b13c:0x691,_0x411a3d:0x40f,_0x43f80b:0x1a,_0x52c7ea:0x11f,_0x4dde78:0x358,_0x4b45db:0x24e,_0x5de9ef:0xed,_0x145a11:0x20,_0x3e1537:0x10c,_0x10ca5e:0x58,_0x5b73f3:0x3c6,_0x7ea367:0xf0,_0x1bc6cd:0x344,_0x3c3669:0x4d,_0x414126:0x76,_0x476636:0x2a,_0x49220f:0x4f5,_0x2759b0:0x4fd,_0x1198c4:0x528,_0x1dc579:0x80},_0x575064={_0x58cf1d:0x7b,_0x5c6820:0xdf},_0x146220={_0x5acc52:0x114,_0x13f3d6:0xcb};function _0x5abe3b(_0x5014ae,_0x41e603,_0x32a68a,_0x2a3f2c){return _0x475ba1(_0x32a68a,_0x2a3f2c-0x1b8,_0x32a68a-0x11c,_0x2a3f2c-0x16);}const _0x3b394d=_0x1eb065[_0xbff5f8(-0x14b,-0x2ab,-_0x2d207b._0x547da5,-_0x2d207b._0x4a5f30)](_0x56eba8[_0xbff5f8(-0x15b,-0x282,-0x1c1,-_0x2d207b._0x17cfec)]??process[_0xbff5f8(_0x2d207b._0x41b100,0x1a8,-_0x2d207b._0x33c90b,_0x2d207b._0x33e9b2)]()),_0x422c23=_0x56eba8[_0x5abe3b(_0x2d207b._0x26b1fd,0x2c4,_0x2d207b._0x1ae649,0x2df)]??[],_0x32ec79=_0x56eba8[_0xbff5f8(0xe,0xd6,_0x2d207b._0x6ea9bf,-_0x2d207b._0x3ccf99)]??_0x5abe3b(_0x2d207b._0x1c2518,0x2ee,_0x2d207b._0x57bab9,_0x2d207b._0x199afe);function _0xbff5f8(_0x373cda,_0x13268a,_0x584dfc,_0x34345a){return _0x475ba1(_0x584dfc,_0x373cda- -_0x146220._0x5acc52,_0x584dfc-0x153,_0x34345a-_0x146220._0x13f3d6);}return defineTool({'name':_0x32ec79,'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0xbff5f8(_0x2d207b._0xa3df44,0x1d,_0x2d207b._0xec819a,0x10e),'properties':{'path':{'type':_0x5abe3b(_0x2d207b._0x1725d9,0x42d,0x212,_0x2d207b._0x1dc2af)},'lineStart':{'type':_0xbff5f8(_0x2d207b._0x17b966,_0x2d207b._0x55e804,0x6a,-_0x2d207b._0x1b7eaf),'description':_0x5abe3b(0x4a2,_0x2d207b._0x31e887,_0x2d207b._0x4045f0,_0x2d207b._0x895643)},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':['path']},async *'execute'(_0x57627b){const _0x27f648={_0x5824e7:0x1e7},_0x516e6f=resolveAllowedPath(_0x3b394d,_0x422c23,_0x57627b[_0x29fcf9(_0x4611de._0xf4a789,0x543,0x452,_0x4611de._0x22ed97)]);await assertWorkspaceFile(_0x516e6f);function _0x29fcf9(_0xfcec27,_0x83cbf1,_0x2f86f1,_0x248502){return _0x5abe3b(_0xfcec27-_0x575064._0x58cf1d,_0x83cbf1-0xab,_0x248502,_0xfcec27-_0x575064._0x5c6820);}const _0xcc55c7=await _0x4da994(_0x516e6f),_0x45e3be=await _0x48b8aa(_0x516e6f);function _0x29209b(_0x1cf18b,_0x4ad1b5,_0x33d59e,_0x556af4){return _0xbff5f8(_0x4ad1b5- -0x68,_0x4ad1b5-_0x27f648._0x5824e7,_0x1cf18b,_0x556af4-0x18d);}if(isProbablyBinary(_0x45e3be))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x57627b[_0x29fcf9(_0x4611de._0x22dd48,_0x4611de._0x381b1c,0x44d,_0x4611de._0x242b3e)],{'path':_0x57627b[_0x29fcf9(0x4e8,0x519,0x5e8,0x39b)]});let _0x3acfb8=_0x45e3be['toString'](_0x29fcf9(0x478,0x418,_0x4611de._0x4c20b9,0x323));const _0x4ea145=_0x3acfb8[_0x29fcf9(0x4d0,0x4f5,_0x4611de._0x3c10c6,_0x4611de._0x539c00)](0x0)===0xfeff;_0x3acfb8=stripUtfBom(_0x3acfb8);const _0x5349fc=_0x3acfb8[_0x29fcf9(_0x4611de._0x40e8a1,_0x4611de._0x492e19,0x36d,0x4dc)](/\r?\n/),_0xae29c1={'path':_0x57627b[_0x29209b(0xb4,_0x4611de._0x253b2c,0x145,_0x4611de._0x7f4b9a)],'resolvedPath':_0x516e6f,'created':_0xcc55c7['birthtime'][_0x29209b(_0x4611de._0x3b34e0,_0x4611de._0xd6a30c,_0x4611de._0x1d1d33,0x20c)](),'modified':_0xcc55c7['mtime']['toISOString'](),'size':_0xcc55c7[_0x29fcf9(_0x4611de._0x28bc6d,_0x4611de._0x57c538,0x680,_0x4611de._0x182d97)],'encoding':_0x29209b(_0x4611de._0x12eeb4,0x65,_0x4611de._0x2d5885,-0x87),'bomStripped':_0x4ea145,'truncated':![],'totalLines':_0x5349fc[_0x29209b(0x8d,-_0x4611de._0x4b2f21,-0x41,-0x1f5)]};if(_0x57627b[_0x29fcf9(0x532,_0x4611de._0x12b13c,0x5ad,_0x4611de._0x411a3d)]!==void 0x0||_0x57627b[_0x29209b(-0xee,0x20,0x164,0x186)]!==void 0x0){const _0x4c0e13=clampLine(_0x57627b[_0x29209b(_0x4611de._0x43f80b,_0x4611de._0x52c7ea,0x51,0x27e)]??0x1,_0x5349fc[_0x29fcf9(_0x4611de._0x4dde78,_0x4611de._0x4b45db,0x355,0x1de)]),_0x4175d2=clampLine(_0x57627b[_0x29209b(_0x4611de._0x5de9ef,_0x4611de._0x145a11,_0x4611de._0x3e1537,-0x2e)]??_0x5349fc[_0x29209b(-_0x4611de._0x10ca5e,-0xbb,0x84,0x6f)],_0x5349fc['length']),_0x2157ed=Math[_0x29fcf9(0x3c7,0x49a,0x273,_0x4611de._0x5b73f3)](_0x4c0e13,_0x4175d2),_0x3ea5b5=Math[_0x29209b(-0x102,-_0x4611de._0x7ea367,-0x16,-0x112)](_0x4c0e13,_0x4175d2),_0x5d2bd5=_0x5349fc[_0x29fcf9(0x2e4,0x1c2,_0x4611de._0x1bc6cd,0x2af)](_0x2157ed-0x1,_0x3ea5b5)[_0x29209b(_0x4611de._0x3c3669,-_0x4611de._0x414126,-0x87,-_0x4611de._0x476636)]((_0x47ac43,_0x4de527)=>_0x2157ed+_0x4de527+'|'+_0x47ac43)[_0x29fcf9(0x540,_0x4611de._0x49220f,_0x4611de._0x2759b0,_0x4611de._0x1198c4)]('\x0a');return yield createToolOutput(_0x5d2bd5,{..._0xae29c1,'lineRange':{'lineStart':_0x2157ed,'lineEnd':_0x3ea5b5,'linesTotal':_0x5349fc[_0x29209b(_0x4611de._0x1dc579,-0xbb,0x34,-0x1f8)]}}),void 0x0;}return yield createToolOutput(_0x3acfb8,_0xae29c1),void 0x0;}});}import{stat as _0x2f6682}from'fs/promises';import*as _0x3a2798 from'path';import{execSync,spawn as _0x188f33}from'child_process';import{existsSync}from'fs';import{stat as _0x249f3e}from'fs/promises';import*as _0x2581ef from'os';import*as _0xc571ff from'path';import{rgPath as _0x13a3d9}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x36739b={_0x2368a5:0x5b3,_0x2b4b59:0x5b7,_0x47a905:0x3d3,_0xa11f4e:0x483,_0x162670:0x549,_0x524c6c:0x409,_0x30967c:0x69e,_0x4c1504:0x5bb,_0x166bc7:0x66,_0x3b0ad7:0xf0,_0x21df87:0x248,_0x32f94a:0x381,_0x261f89:0x278,_0x5131cf:0x331,_0xe59cde:0x4c4,_0x26406b:0x527,_0x46dbde:0x5d3,_0xd68266:0x540,_0x49589d:0x3ce,_0x11fd02:0x95,_0x19c543:0x1ce,_0x3908b6:0x237,_0x385443:0x1e5,_0x2b1948:0x69f,_0x39b7d8:0x786,_0x538877:0x70e,_0x27da1a:0x47e,_0x4a1083:0x562,_0x112fbb:0x68d,_0x2e447b:0x5e7,_0x5ce2fc:0x10a,_0x348765:0x2af,_0x12ced6:0x107,_0x52ff0d:0x321,_0x57e423:0x53a,_0xfb353b:0x695,_0x3368cf:0x640,_0x1fd0bb:0x648,_0x32a1b8:0x191,_0x45e874:0xd9,_0x4d9eeb:0x5d7,_0x10c0f9:0x666,_0x34d75b:0x6a0,_0x384834:0x7ac,_0x2fe4cc:0x67b,_0x3a3ea4:0x6d,_0x5c73be:0x102,_0x23ca29:0x5d0,_0x2654f0:0x433,_0x5ea742:0x318},_0x240d08={_0xa69f4:0x3f6,_0x1f96e3:0xd5},_0x1924b1={_0x2f1907:0x8},_0x3481c3=_0x2581ef[_0x111b98(0x481,_0x36739b._0x2368a5,_0x36739b._0x2b4b59,0x2fd)]()===_0x111b98(_0x36739b._0x47a905,0x4bd,_0x36739b._0xa11f4e,_0x36739b._0x162670),_0x428f9f=_0x3481c3?[_0xc571ff['join'](process['env'][_0x111b98(0x548,_0x36739b._0x524c6c,_0x36739b._0x30967c,_0x36739b._0x4c1504)]||'',_0x389ee2(0xe7,0x3,_0x36739b._0x166bc7,_0x36739b._0x3b0ad7),_0x389ee2(0x38c,0x1b9,_0x36739b._0x21df87,0x347),'Packages'),_0xc571ff[_0x389ee2(0x10e,_0x36739b._0x32f94a,_0x36739b._0x261f89,_0x36739b._0x5131cf)](process[_0x111b98(_0x36739b._0xe59cde,0x572,_0x36739b._0x26406b,_0x36739b._0x46dbde)][_0x111b98(0x535,_0x36739b._0xd68266,0x431,_0x36739b._0x49589d)]||'',_0x389ee2(_0x36739b._0x11fd02,0x2e8,_0x36739b._0x19c543,_0x36739b._0x3908b6),_0x389ee2(0x351,0x64,_0x36739b._0x385443,0x1cf)),_0xc571ff[_0x111b98(_0x36739b._0x2b1948,0x53a,_0x36739b._0x39b7d8,_0x36739b._0x538877)](process['env'][_0x111b98(0x5b9,_0x36739b._0x162670,0x4e6,_0x36739b._0x27da1a)]||'','ripgrep','rg.exe')]:[_0x111b98(_0x36739b._0x4a1083,_0x36739b._0x112fbb,_0x36739b._0x2e447b,0x671),_0x389ee2(_0x36739b._0x5ce2fc,_0x36739b._0x348765,0x23d,_0x36739b._0x12ced6),_0x389ee2(0x73,_0x36739b._0x52ff0d,0x1f4,0x28f),_0x111b98(0x6b4,_0x36739b._0x57e423,_0x36739b._0xfb353b,0x5db)];for(const _0x11bbbd of _0x428f9f){if(existsSync(_0x11bbbd))return _0x11bbbd;}try{const _0x3048f4=_0x3481c3?_0x111b98(0x65a,_0x36739b._0x3368cf,_0x36739b._0x1fd0bb,0x691):_0x389ee2(-_0x36739b._0x32a1b8,-0x14,-0x32,-_0x36739b._0x45e874),_0x5d014f=execSync(_0x3048f4,{'encoding':_0x111b98(_0x36739b._0x4d9eeb,_0x36739b._0x10c0f9,_0x36739b._0x34d75b,0x475),'stdio':['pipe',_0x111b98(0x673,0x5ee,_0x36739b._0x384834,_0x36739b._0x2fe4cc),_0x389ee2(0xf5,_0x36739b._0x3a3ea4,-0x64,-_0x36739b._0x5c73be)]})[_0x111b98(0x51c,0x51e,_0x36739b._0x23ca29,_0x36739b._0x2654f0)]()[_0x389ee2(_0x36739b._0x5ea742,0xa6,0x204,0x93)](/\r?\n/)[0x0];if(_0x5d014f&&existsSync(_0x5d014f))return _0x5d014f;}catch{return null;}function _0x389ee2(_0x1b00a8,_0x2d7658,_0x29a00f,_0x10e759){return _0x475ba1(_0x1b00a8,_0x29a00f- -0x31,_0x29a00f-0x151,_0x10e759-_0x1924b1._0x2f1907);}function _0x111b98(_0x407e27,_0x54a198,_0x33593d,_0x5bf812){return _0x475ba1(_0x33593d,_0x407e27-_0x240d08._0xa69f4,_0x33593d-_0x240d08._0x1f96e3,_0x5bf812-0x154);}return null;}async function filepath(){const _0x5c6ff8={_0x4a44b3:0x9c,_0xd45bdc:0x40,_0x51c8dc:0x56,_0x335ad7:0xc6},_0x2786e0={_0x3fd977:0x6,_0x9e6a61:0x129};if(cachedRgPath)return cachedRgPath;function _0x40b67b(_0x2d1f30,_0x15f4c9,_0x1de678,_0x4026f6){return _0x475ba1(_0x2d1f30,_0x4026f6- -_0x2786e0._0x3fd977,_0x1de678-0x172,_0x4026f6-_0x2786e0._0x9e6a61);}if(_0x13a3d9&&existsSync(_0x13a3d9))return cachedRgPath=_0x13a3d9,_0x13a3d9;const _0x5a5b18=findSystemRipgrep();if(!_0x5a5b18)throw new Error(_0x40b67b(-_0x5c6ff8._0x4a44b3,-_0x5c6ff8._0xd45bdc,-_0x5c6ff8._0x51c8dc,_0x5c6ff8._0x335ad7));return cachedRgPath=_0x5a5b18,_0x5a5b18;}async function*files(_0x3b214b){const _0x5271dd={_0x583db1:0x758,_0x28c194:0x707,_0x4d6efa:0x915,_0x364179:0x6a5,_0x41c8b9:0x89f,_0xa5c8ff:0x782,_0x2048ab:0x891,_0x5eab1d:0x745,_0xf45d2a:0x302,_0x1485cf:0xde,_0xe6bca4:0x405,_0xcb5669:0x348,_0x209e10:0x6e0,_0x5e8d4b:0x5ea,_0x26c5dc:0x454,_0x570536:0x378,_0x1c0b65:0x40d,_0x2548d3:0x2e0,_0x196558:0x4e0,_0x37df1e:0x226,_0x2d0104:0x4aa,_0x5d9c52:0x1b9,_0x2b8aeb:0x32f,_0x5366ff:0x3a7,_0x5e131f:0x4a2,_0x44c805:0x418,_0x5c207a:0x3dd,_0x1da1cf:0x2a4,_0x280eae:0x375,_0x971937:0x641,_0x3b2932:0x5da,_0x5a15bb:0x21b,_0x368f27:0x2a4,_0x82470e:0x380},_0x47d77f={_0x2dc51a:0x8d,_0x2849cc:0xce},_0xf8ef4e={_0x2bd1eb:0x4e},_0x220675=await filepath(),_0x4734de=await _0x249f3e(_0x3b214b[_0x455942(0x7d5,_0x5271dd._0x583db1,_0x5271dd._0x28c194,0x805)])['catch'](()=>null);function _0x411467(_0x38a400,_0x3f0f85,_0x21bd28,_0x2550ea){return _0x511d68(_0x38a400-0x97,_0x21bd28- -0x26a,_0x21bd28-_0xf8ef4e._0x2bd1eb,_0x38a400);}if(!_0x4734de?.[_0x455942(0x72e,0x7bb,_0x5271dd._0x4d6efa,_0x5271dd._0x364179)]())throw Object[_0x455942(_0x5271dd._0x41c8b9,_0x5271dd._0xa5c8ff,0x6fb,_0x5271dd._0x2048ab)](new Error(_0x455942(_0x5271dd._0x5eab1d,0x657,0x728,0x58b)+_0x3b214b['cwd']+'\x27'),{'code':_0x411467(0x317,_0x5271dd._0xf45d2a,0x1ab,_0x5271dd._0x1485cf)});const _0x5ad8cf=['--files',_0x411467(0x381,_0x5271dd._0xe6bca4,0x318,_0x5271dd._0xcb5669),_0x455942(0x592,_0x5271dd._0x209e10,_0x5271dd._0x5e8d4b,0x5b8),_0x411467(0x411,_0x5271dd._0x26c5dc,0x496,_0x5271dd._0x570536)];for(const _0x5064bc of _0x3b214b['glob']??[]){_0x5ad8cf['push'](_0x411467(_0x5271dd._0x1c0b65,0x3a2,0x2c0,_0x5271dd._0x2548d3)+_0x5064bc);}const _0x21af56=_0x188f33(_0x220675,_0x5ad8cf,{'cwd':_0x3b214b[_0x411467(_0x5271dd._0x196558,0x577,0x420,0x582)],'stdio':['ignore','pipe','pipe']});let _0x4512bc='';function _0x455942(_0x292aa4,_0x539859,_0x2b7dc1,_0x57cab4){return _0x511d68(_0x292aa4-_0x47d77f._0x2dc51a,_0x539859-_0x47d77f._0x2849cc,_0x2b7dc1-0x3e,_0x292aa4);}for await(const _0x9207c of _0x21af56[_0x411467(0x45d,_0x5271dd._0x37df1e,0x3ac,_0x5271dd._0x2d0104)]??[]){_0x4512bc+=_0x9207c[_0x411467(_0x5271dd._0x5d9c52,0x30b,_0x5271dd._0x2b8aeb,0x3e2)]();const _0x2e981d=_0x4512bc[_0x411467(_0x5271dd._0x5366ff,_0x5271dd._0x5e131f,_0x5271dd._0x44c805,0x4ca)](/\r?\n/);_0x4512bc=_0x2e981d['pop']()??'';for(const _0x4e7139 of _0x2e981d){if(_0x4e7139[_0x411467(_0x5271dd._0x5c207a,0x1ec,_0x5271dd._0x1da1cf,_0x5271dd._0x280eae)]>0x0)yield _0x4e7139;}}_0x4512bc[_0x455942(0x724,_0x5271dd._0x971937,_0x5271dd._0x3b2932,0x75a)]()[_0x411467(_0x5271dd._0x5a15bb,0x169,_0x5271dd._0x368f27,_0x5271dd._0x82470e)]>0x0&&(yield _0x4512bc['trim']());}function parseMatchLine(_0x42a789,_0x45abe0){const _0x5bccaf={_0x58a431:0x5cd,_0x25aacc:0x5a1,_0x1c74d4:0x2fb,_0x81d2ff:0x310,_0x221371:0x4d5,_0x537e78:0x54f,_0x202aa3:0x315,_0x1708b3:0x5bc,_0x2bb9e0:0x448,_0x41fd32:0x7cc,_0x47448e:0x63c,_0x21c173:0x48e,_0x22484b:0x4c4,_0x1826ef:0x219,_0x1a812d:0x351,_0x48ee7d:0x42b,_0x4c75bf:0x212,_0x326e09:0x6b4},_0x30b403={_0x1d8ef1:0x175};function _0x327a07(_0x6bf6b4,_0x47913c,_0x5134b6,_0x48c9f7){return _0x511d68(_0x6bf6b4-_0x30b403._0x1d8ef1,_0x48c9f7- -0x52,_0x5134b6-0x159,_0x47913c);}if(!_0x42a789||_0x42a789==='--')return null;const _0x5244d6=_0x42a789['split']('|');if(_0x45abe0&&_0x5244d6[_0x53f6b1(0x3db,0x342,0x324,0x2ad)]>=0x4&&Number['isFinite'](Number[_0x327a07(_0x5bccaf._0x58a431,_0x5bccaf._0x25aacc,_0x5bccaf._0x1c74d4,0x46a)](_0x5244d6[0x2]??'',0xa))){const _0x35d2e7=Number[_0x327a07(0x56b,_0x5bccaf._0x81d2ff,_0x5bccaf._0x221371,0x46a)](_0x5244d6[0x1]??'',0xa);if(!Number[_0x327a07(_0x5bccaf._0x537e78,0x3f1,0x459,0x432)](_0x35d2e7)||!_0x5244d6[0x0])return null;return{'filePath':_0x5244d6[0x0],'lineNum':_0x35d2e7,'lineText':_0x5244d6[_0x327a07(_0x5bccaf._0x202aa3,_0x5bccaf._0x1708b3,0x36f,_0x5bccaf._0x2bb9e0)](0x3)[_0x327a07(_0x5bccaf._0x41fd32,0x7e4,0x6d1,0x6a4)]('|')};}if(_0x5244d6[_0x327a07(_0x5bccaf._0x47448e,_0x5bccaf._0x21c173,0x5cf,0x4bc)]>=0x3){const _0x4b1287=Number[_0x53f6b1(0x389,0x340,_0x5bccaf._0x22484b,_0x5bccaf._0x1826ef)](_0x5244d6[0x1]??'',0xa);if(!Number[_0x53f6b1(_0x5bccaf._0x1a812d,_0x5bccaf._0x48ee7d,_0x5bccaf._0x4c75bf,0x259)](_0x4b1287)||!_0x5244d6[0x0])return null;return{'filePath':_0x5244d6[0x0],'lineNum':_0x4b1287,'lineText':_0x5244d6[_0x327a07(0x4a9,0x2e5,0x5ac,0x448)](0x2)[_0x327a07(0x613,_0x5bccaf._0x326e09,0x72b,0x6a4)]('|'),..._0x45abe0?{'isContext':!![]}:{}};}function _0x53f6b1(_0x4d6178,_0x3e08f2,_0x31ba1a,_0x79570d){return _0x475ba1(_0x3e08f2,_0x4d6178-0x31a,_0x31ba1a-0xae,_0x79570d-0xf3);}return null;}async function search(_0x18541a){const _0x3f0120={_0xcf1777:0x755,_0x43a234:0x89e,_0x4d542a:0x840,_0x5cb7b4:0x7c0,_0xd3edec:0x7cc,_0x2064da:0x837,_0x4b0b41:0x643,_0x5c8024:0x53a,_0x24e578:0x46d,_0x1b66d4:0x136,_0x5a3e68:0x1c7,_0x4cd7ca:0x688,_0x398e16:0x7fd,_0x18c9ac:0x7ef,_0x1b51a1:0x81f,_0x44a117:0x76c,_0x372735:0x8c3,_0x5f0fb3:0x116,_0x5f172a:0x6c,_0x41beb7:0x260,_0x24f38f:0x6a6,_0x4072ec:0xae,_0x4b37f0:0x2f,_0x41c716:0x151,_0x35a62c:0x2a7,_0x5c2d76:0x5c3,_0x3d5dc5:0x6f1,_0x315f27:0x6b1,_0x4b3226:0x47,_0x17223d:0x178,_0x133fff:0x23,_0x409a24:0x107,_0x1ea16d:0x14e,_0x171a3c:0x126,_0x234395:0x14d,_0x346fd8:0x6cf,_0xf90a41:0x64a,_0x36c59b:0x5ee,_0x3bd149:0x1df,_0x2a7dcc:0x756,_0x3348d4:0x844,_0xc16097:0xd8,_0x1e508f:0x21c,_0x54002b:0xb2,_0x3f9f3c:0xdf,_0x1cbaf4:0x258,_0x1189f4:0x167,_0x542ee2:0x1fe,_0x3954a6:0x13d,_0x5514f6:0x1b1,_0x3e8ed7:0x3a,_0x4e7047:0x69b,_0x4ea83d:0x669,_0xb53d73:0x47c,_0x395edd:0x6b4,_0x5397c5:0x758,_0x5b61b5:0x709},_0x5a8449={_0x2d313d:0x343,_0x3fa951:0x187,_0x5de59d:0xd3,_0x4ce954:0x11f,_0x17641d:0x3a6,_0x2f2cb5:0x388,_0x8fde88:0x3fd,_0x22955c:0x446,_0x467015:0x47f,_0x29f5ca:0x1f4,_0x305b53:0x366,_0x5aebe8:0x1c1,_0x22a325:0x63},_0x169ec1={_0x38a3ec:0x129,_0x1b3fac:0xcf,_0x1625f0:0x5e9,_0x4352d3:0x707,_0x2d4544:0x6be,_0x5eeb58:0x82},_0xb7e441={_0x3986fe:0x125},_0x15a740={_0x3530d4:0x60,_0x1aa0f1:0x16b},_0x4e0ed6=await filepath();function _0x2b45f7(_0x278971,_0xeb2f97,_0x5339b1,_0x4e25c7){return _0x475ba1(_0x4e25c7,_0x278971- -0x107,_0x5339b1-_0x15a740._0x3530d4,_0x4e25c7-_0x15a740._0x1aa0f1);}if(_0x18541a['file']){const _0x5ed4d4=await _0x249f3e(_0x18541a['file'])['catch'](()=>null);if(!_0x5ed4d4?.['isFile']())throw Object[_0x4bfbde(_0x3f0120._0xcf1777,0x7d9,0x7a2,_0x3f0120._0x43a234)](new Error(_0x4bfbde(_0x3f0120._0x4d542a,_0x3f0120._0x5cb7b4,0x64c,0x71a)+_0x18541a[_0x4bfbde(_0x3f0120._0xd3edec,0x758,0x8b7,_0x3f0120._0x2064da)]+'\x27'),{'code':_0x4bfbde(_0x3f0120._0x4b0b41,_0x3f0120._0x5c8024,0x4cb,_0x3f0120._0x24e578)});}else{const _0x479f7b=await _0x249f3e(_0x18541a[_0x2b45f7(_0x3f0120._0x1b66d4,0x21e,-0x1,_0x3f0120._0x5a3e68)])[_0x4bfbde(_0x3f0120._0x4cd7ca,_0x3f0120._0x398e16,0x6b7,0x751)](()=>null);if(!_0x479f7b?.[_0x4bfbde(_0x3f0120._0x18c9ac,0x812,_0x3f0120._0x1b51a1,_0x3f0120._0x44a117)]())throw Object[_0x4bfbde(0x78e,0x7d9,0x698,_0x3f0120._0x372735)](new Error(_0x2b45f7(0x35,-0x14d,_0x3f0120._0x5f0fb3,-_0x3f0120._0x5f172a)+_0x18541a[_0x2b45f7(0x136,_0x3f0120._0x41beb7,0x2a3,0x1f)]+'\x27'),{'code':_0x4bfbde(0x4b1,0x53a,0x62a,_0x3f0120._0x24f38f)});}const _0x10b153=[_0x2b45f7(0x71,_0x3f0120._0x4072ec,-_0x3f0120._0x4b37f0,-0x4),_0x2b45f7(-_0x3f0120._0x41c716,-_0x3f0120._0x35a62c,-0x7f,-0xdb),_0x4bfbde(_0x3f0120._0x5c2d76,0x5eb,_0x3f0120._0x3d5dc5,_0x3f0120._0x315f27),_0x2b45f7(_0x3f0120._0x4b3226,_0x3f0120._0x17223d,0xd6,_0x3f0120._0x133fff),_0x18541a[_0x2b45f7(-0x3a,-_0x3f0120._0x409a24,-_0x3f0120._0x1ea16d,-_0x3f0120._0x171a3c)]],_0x5d6c12=typeof _0x18541a[_0x2b45f7(_0x3f0120._0x234395,0x43,0x249,0x16e)]==='number'&&_0x18541a[_0x4bfbde(0x66f,0x7c6,0x8b6,_0x3f0120._0x346fd8)]>0x0;_0x5d6c12&&_0x10b153[_0x4bfbde(_0x3f0120._0xf90a41,0x53c,_0x3f0120._0x36c59b,0x63b)]('-C',String(_0x18541a[_0x2b45f7(_0x3f0120._0x234395,_0x3f0120._0x3bd149,0x16e,-0x37)]),_0x4bfbde(0x66f,_0x3f0120._0x2a7dcc,_0x3f0120._0x3348d4,0x6a4));_0x18541a[_0x2b45f7(-_0x3f0120._0xc16097,-_0x3f0120._0x1e508f,-_0x3f0120._0x54002b,0x45)]&&!_0x18541a[_0x2b45f7(_0x3f0120._0x3f9f3c,_0x3f0120._0x1cbaf4,_0x3f0120._0x1189f4,_0x3f0120._0x542ee2)]&&_0x10b153[_0x2b45f7(-_0x3f0120._0x3954a6,-0x1cf,-_0x3f0120._0x5514f6,-0x12)]('--glob',_0x18541a[_0x2b45f7(-0xd8,-0x13d,_0x3f0120._0x3e8ed7,-0x151)]);function _0x4bfbde(_0x53ef8b,_0x3a917b,_0x5b3b90,_0x24cbf2){return _0x511d68(_0x53ef8b-0x8e,_0x3a917b-_0xb7e441._0x3986fe,_0x5b3b90-0x115,_0x53ef8b);}return _0x10b153[_0x4bfbde(_0x3f0120._0x4e7047,0x53c,_0x3f0120._0x4ea83d,_0x3f0120._0xb53d73)](_0x18541a[_0x4bfbde(_0x3f0120._0x395edd,_0x3f0120._0x5397c5,_0x3f0120._0x5b61b5,0x5da)]??_0x18541a[_0x2b45f7(_0x3f0120._0x1b66d4,0x155,0x12e,0x133)]),await new Promise((_0x303000,_0x450e05)=>{const _0x17c381={_0x57bd7a:0xb1,_0x43fcc1:0x88},_0x510565={_0x17e92f:0x13},_0x3646c9={_0x47c7c7:0x2c7,_0x1ad853:0x2ef,_0x30d751:0x1a3},_0x523dfb={_0x3cc1a5:0xd3},_0x2da402={_0x5ddb83:0x46c,_0x1f0aa6:0x16},_0x52f214=_0x188f33(_0x4e0ed6,_0x10b153,{'cwd':_0x18541a[_0x2792e6(0x3b7,_0x5a8449._0x2d313d,0x29b,0x309)],'stdio':[_0x2792e6(_0x5a8449._0x3fa951,_0x5a8449._0x5de59d,_0x5a8449._0x4ce954,0x1b2),_0x2792e6(_0x5a8449._0x17641d,0x383,_0x5a8449._0x2f2cb5,_0x5a8449._0x8fde88),_0x2792e6(0x471,0x383,_0x5a8449._0x22955c,_0x5a8449._0x467015)]});function _0x2792e6(_0x4621ca,_0x303bf5,_0x416963,_0x38c323){return _0x4bfbde(_0x416963,_0x303bf5- -_0x2da402._0x5ddb83,_0x416963-_0x2da402._0x1f0aa6,_0x38c323-0x154);}function _0x464a08(_0x5d52c2,_0x24378e,_0xbbc0f3,_0x2508b0){return _0x2b45f7(_0xbbc0f3-0x132,_0x24378e-_0x523dfb._0x3cc1a5,_0xbbc0f3-0x4,_0x5d52c2);}let _0x2239af='',_0x3fcda5='';_0x52f214[_0x464a08(0x278,0x2db,_0x5a8449._0x29f5ca,0x297)]?.['on']('data',_0x1be80e=>{const _0x27d056={_0x5d3601:0x11};function _0x1164b7(_0xef64eb,_0x51fcef,_0x9d27a3,_0x5c2746){return _0x2792e6(_0xef64eb-0xb5,_0x5c2746- -0xdf,_0x9d27a3,_0x5c2746-_0x27d056._0x5d3601);}_0x2239af+=_0x1be80e[_0x1164b7(_0x3646c9._0x47c7c7,_0x3646c9._0x1ad853,_0x3646c9._0x30d751,0x173)]();}),_0x52f214[_0x2792e6(0x2bd,_0x5a8449._0x305b53,0x260,0x263)]?.['on'](_0x2792e6(_0x5a8449._0x5aebe8,0x282,0x1b1,0x23b),_0x2c5e78=>{const _0x487b48={_0x111b45:0x193};function _0x536ed5(_0x241c27,_0x5a90ef,_0x5c00c3,_0xf4af50){return _0x2792e6(_0x241c27-0x11d,_0x241c27- -_0x487b48._0x111b45,_0x5a90ef,_0xf4af50-0x1aa);}_0x3fcda5+=_0x2c5e78[_0x536ed5(0xbf,_0x510565._0x17e92f,0x207,-0x6f)]();}),_0x52f214['on'](_0x464a08(0x6b,-0xc9,_0x5a8449._0x22a325,0x4d),_0xde3e78=>{const _0x1caec4={_0xf955cb:0x383,_0x4f377e:0x46};if(_0xde3e78===0x1&&_0x2239af===''){_0x303000([]);return;}if(_0xde3e78!==0x0&&_0xde3e78!==0x1){_0x450e05(new Error('ripgrep\x20failed:\x20'+_0x3fcda5));return;}function _0x2cb93b(_0xc61d0f,_0x5145fc,_0x53c6a1,_0x50d4a8){return _0x2792e6(_0xc61d0f-0x1c2,_0x50d4a8-_0x1caec4._0xf955cb,_0x53c6a1,_0x50d4a8-_0x1caec4._0x4f377e);}const _0x20f666=_0x18541a[_0x49e970(0x26,-_0x169ec1._0x38a3ec,-0x86,-_0x169ec1._0x1b3fac)]??0x64,_0x140313=[];for(const _0x15986c of _0x2239af[_0x2cb93b(_0x169ec1._0x1625f0,_0x169ec1._0x4352d3,0x7eb,_0x169ec1._0x2d4544)](/\r?\n/)){if(_0x140313['length']>=_0x20f666)break;const _0x15dd90=parseMatchLine(_0x15986c,_0x5d6c12);if(_0x15dd90)_0x140313[_0x49e970(-0xbc,-_0x169ec1._0x5eeb58,_0x169ec1._0x5eeb58,-0xf9)](_0x15dd90);}function _0x49e970(_0x50cd92,_0x1cb5b6,_0x42030a,_0x453a8d){return _0x2792e6(_0x50cd92-_0x17c381._0x57bd7a,_0x453a8d- -0x1c9,_0x42030a,_0x453a8d-_0x17c381._0x43fcc1);}_0x303000(_0x140313);}),_0x52f214['on']('error',_0x450e05);});}function createGlobTool(_0x28634f={}){const _0x50354d={_0x456c10:0x2c7,_0x355112:0x1e3,_0x44d543:0x117,_0x374213:0x478,_0x57005b:0x420,_0x5641b4:0x4b8,_0x36feff:0x316,_0xc4360f:0x301,_0x3804f9:0x12c,_0x12409c:0x2bf,_0x419233:0x1a6,_0x2de217:0x3ec,_0x3a7502:0x1be,_0x56324a:0x31e,_0x15ca22:0x145,_0x1b7927:0xaa},_0xaa15b2={_0x58e8cf:0x53,_0x390753:0x35,_0x36a5f8:0x94,_0x3b838a:0x53f,_0x20a317:0x437,_0x195343:0x18c,_0x38053b:0x63,_0x182a59:0xec,_0x4bebe1:0x14e,_0x1dbd42:0x1ec,_0x3c0b60:0x51,_0x1e1bbd:0x452,_0x553ce1:0x3ad,_0x3ee58f:0x3a7,_0x49d39f:0x357,_0x196c2b:0x472,_0x246290:0x4,_0x3794eb:0xfa,_0x41b9fb:0x390,_0xc39a73:0x2d6,_0x46e682:0x4c9,_0x153b72:0x34b,_0x127ceb:0x621,_0x5a113a:0x71f,_0x22239f:0x6ba,_0x36c9c7:0x4cc,_0x27fdc8:0x39d,_0x289193:0x66f,_0x201f3e:0x5c8,_0x26169e:0x72e,_0x4343c8:0x583,_0x16c094:0x6ed,_0x2ead72:0x5df},_0x30e69b={_0x24ef89:0xa3},_0x5064c4={_0x4ba1b1:0xc3},_0x46c1c6={_0x1fd5b9:0x15e};function _0x42562c(_0x6fa797,_0x4a4ab9,_0x2ac54a,_0x5f5288){return _0x475ba1(_0x2ac54a,_0x6fa797-0x2fe,_0x2ac54a-0x124,_0x5f5288-0x19c);}function _0x30078a(_0x5e1b8e,_0x50906a,_0x2ebf74,_0x436ad9){return _0x475ba1(_0x5e1b8e,_0x436ad9-_0x46c1c6._0x1fd5b9,_0x2ebf74-0x157,_0x436ad9-0x14f);}const _0x376e05=_0x3a2798[_0x42562c(_0x50354d._0x456c10,0x3ca,0x286,0x2e9)](_0x28634f[_0x30078a(0x231,_0x50354d._0x355112,0x98,_0x50354d._0x44d543)]??process[_0x30078a(_0x50354d._0x374213,0x2bb,0x372,0x39b)]()),_0x3d7387=_0x28634f['allowedDirs']??[],_0x21e3d4=_0x28634f['limit']??0x64,_0x420ac7=_0x28634f[_0x42562c(_0x50354d._0x57005b,_0x50354d._0x5641b4,_0x50354d._0x5641b4,0x53e)]??_0x30078a(0x1c1,0x286,_0x50354d._0x36feff,_0x50354d._0xc4360f);return defineTool({'name':_0x420ac7,'description':_0x30078a(0xa6,_0x50354d._0x3804f9,_0x50354d._0x12409c,_0x50354d._0x419233),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x30078a(_0x50354d._0x2de217,0x3fe,0x3e1,0x2db)},'path':{'type':_0x30078a(_0x50354d._0x3a7502,0x366,_0x50354d._0x56324a,0x2db)},'limit':{'type':'number'}},'required':[_0x30078a(_0x50354d._0x15ca22,_0x50354d._0x1b7927,0x34d,0x22b)]},async *'execute'(_0x571cbd){if(_0x571cbd['pattern'][_0x255f69(0x61,_0xaa15b2._0x58e8cf,0x165,-0x4)]()[_0x255f69(-0x4,-0x15c,_0xaa15b2._0x390753,-_0xaa15b2._0x36a5f8)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x431d5e=resolveAllowedPath(_0x376e05,_0x3d7387,_0x571cbd[_0x255f69(0x18c,0x3e,0x49,0xf1)]??'.');function _0x144189(_0x3fd313,_0x10d948,_0x5cc4ee,_0x116ebb){return _0x42562c(_0x3fd313-0xc8,_0x10d948-0x2,_0x116ebb,_0x116ebb-_0x5064c4._0x4ba1b1);}function _0x255f69(_0x14c390,_0x39b42e,_0xe4de2a,_0xf33304){return _0x30078a(_0xf33304,_0x39b42e-_0x30e69b._0x24ef89,_0xe4de2a-0x14c,_0x14c390- -0x223);}const _0x10d4dd=await _0x2f6682(_0x431d5e)['catch'](()=>null);if(!_0x10d4dd?.['isDirectory']())throw new ToolExecutionError(_0x144189(_0xaa15b2._0x3b838a,0x3eb,0x51d,_0xaa15b2._0x20a317)+(_0x571cbd[_0x255f69(_0xaa15b2._0x195343,_0xaa15b2._0x38053b,_0xaa15b2._0x182a59,_0xaa15b2._0x4bebe1)]??'.'),{'path':_0x571cbd['path']??'.'});const _0x3274da=_0x571cbd[_0x255f69(-0xd1,-_0xaa15b2._0x1dbd42,-_0xaa15b2._0x3c0b60,-0x63)]??_0x21e3d4,_0x51e3a3=Math[_0x144189(_0xaa15b2._0x1e1bbd,0x4ea,0x332,_0xaa15b2._0x553ce1)](0x1,Math[_0x144189(_0xaa15b2._0x3ee58f,0x48e,_0xaa15b2._0x49d39f,0x272)](_0x3274da)),_0x428681=[];let _0x583f2f=![];for await(const _0x274a06 of files({'cwd':_0x431d5e,'glob':[_0x571cbd[_0x144189(0x493,0x578,0x48e,_0xaa15b2._0x196c2b)]]})){if(_0x428681[_0x255f69(-_0xaa15b2._0x246290,0x20,_0xaa15b2._0x3794eb,-0x4)]>=_0x51e3a3){_0x583f2f=!![];break;}const _0xbc0009=await _0x2f6682(_0x3a2798[_0x144189(0x66f,0x697,0x7c9,0x79a)](_0x431d5e,_0x274a06))['catch'](()=>null);_0x428681[_0x144189(_0xaa15b2._0x41b9fb,_0xaa15b2._0xc39a73,_0xaa15b2._0x46e682,_0xaa15b2._0x153b72)]({'path':_0x274a06,'mtime':_0xbc0009?.[_0x144189(0x636,0x4b2,0x64a,_0xaa15b2._0x127ceb)]??0x0});}_0x428681[_0x144189(0x611,_0xaa15b2._0x5a113a,0x4f1,_0xaa15b2._0x22239f)]((_0x270c4e,_0x4f1e94)=>_0x4f1e94[_0x144189(0x3be,0x343,0x3a8,0x3ea)]-_0x270c4e[_0x144189(0x3be,0x335,0x532,0x301)]);const _0x501829=_0x428681[_0x144189(_0xaa15b2._0x36c9c7,0x3cb,0x377,0x43f)](_0x184dfa=>_0x184dfa[_0x144189(0x617,0x588,0x6b8,0x5a9)]),_0x5a0d14=_0x501829['length']===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x571cbd[_0x144189(0x493,_0xaa15b2._0x27fdc8,0x406,0x57a)]:''+_0x501829[_0x144189(_0xaa15b2._0x289193,0x4ed,_0xaa15b2._0x201f3e,0x698)]('\x0a')+(_0x583f2f?_0x144189(0x5ef,_0xaa15b2._0x26169e,_0xaa15b2._0x5a113a,_0xaa15b2._0x4343c8):'');return yield createToolOutput(_0x5a0d14,{'pattern':_0x571cbd['pattern'],'searchPath':_0x3a2798[_0x144189(0x58d,_0xaa15b2._0x16c094,_0xaa15b2._0x2ead72,0x4e4)](_0x376e05,_0x431d5e)||'.','matches':_0x501829,'count':_0x501829[_0x255f69(-0x4,0x70,-0x1c,-0x102)],'truncated':_0x583f2f}),void 0x0;}});}import{stat as _0x1d25c1}from'fs/promises';import*as _0x3e13d6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x1d357c={}){const _0x23681c={_0x263cd4:0x693,_0x40f1f5:0x4e4,_0x1d705d:0x516,_0xfd4e80:0x2a2,_0x316fc7:0x63b,_0x2c9ec1:0x5b7,_0x53ca40:0x5b1,_0x152ef3:0x3f2,_0x418f8f:0x42e,_0x44c4c5:0x5c4,_0x3f4492:0x4e1,_0x3e8eb2:0x64d,_0x41453e:0x490,_0x24a98c:0x4a8,_0x37b12f:0x8ca,_0x1c1164:0x870,_0x3c59f0:0x75d,_0xcced98:0x860,_0x1fb63d:0x5bb,_0x20a384:0x663,_0x5c0429:0x89c,_0x243540:0x584,_0x381763:0x463,_0x49d96b:0x3e3,_0x52d997:0x3fb},_0x8b2fcd={_0xf90fd0:0x46,_0x40f6a6:0xc,_0x1690f5:0xcc,_0x55e5cd:0x41,_0x130747:0x8e,_0x4fbc24:0x175,_0x36b7d2:0x808,_0x3b75e4:0x6bd,_0x3e2eb2:0x806,_0x1b232e:0x9d9,_0x278b6f:0x7fd,_0x38f411:0x7f7,_0xaffe9:0x747,_0x57d9b8:0x7f,_0x19e789:0x16c,_0x20da86:0x1fa,_0x16a650:0x1f5,_0x3150d2:0xf1,_0x532416:0x1e4,_0x2030d6:0x59,_0x80ca35:0x4a3,_0x389557:0x24f,_0x36d86e:0x1d,_0x9611f6:0x723,_0x31d2d5:0x685,_0x329bd8:0x16f,_0x46e450:0x5e,_0x306cf9:0x105,_0x519d9b:0x7f2,_0xe69705:0x628,_0x3368e4:0x1a6,_0x228f76:0x235,_0x422e69:0x52,_0x1beeb8:0x1b9,_0x1d006c:0xd7,_0x558b12:0x17e,_0x3ecbe:0x82e,_0x2ad96a:0x7a0,_0x17f9b3:0x723,_0x1160d7:0x7cc,_0x42e23a:0x6b7,_0x558f18:0x44,_0x1f13a0:0x54,_0x48416c:0x6d1,_0x343161:0x679,_0x2ffc19:0x76,_0x388a2c:0x16b,_0x378849:0x6d8,_0xa26fdc:0x6c8,_0x363428:0x670,_0x464d6b:0x5d3,_0xda4b0a:0x74d,_0x24576c:0x24,_0x3ea9f6:0x91,_0x33e8a6:0x14c,_0x157d90:0x155,_0x10a17d:0x608,_0x3c3cff:0x509,_0x2cf90e:0x7e7,_0x5c12c1:0x8bf,_0x63031a:0x99,_0x300d94:0x4f,_0x4e907a:0x105,_0x488ea0:0x49,_0x31bb10:0x63,_0x5f2243:0x4dc,_0x18cdf6:0x72b,_0x48b09d:0x718,_0x13c2d0:0x6c2,_0x475657:0x5cd,_0x488cd3:0x6fb,_0x33ff39:0x45d,_0x201f44:0x35,_0x2be329:0x9d,_0x3deb5d:0x152,_0x49f8f3:0x6cc,_0x15d2dd:0x79a,_0x5203ca:0x687,_0x431b53:0x5d2,_0x4c4fd4:0x4a3,_0x56a6a7:0x79b,_0x162163:0x77e,_0x5c0edd:0x7c6,_0x981119:0xc5,_0x1341d3:0x844,_0x5dc46d:0x89b,_0xdce220:0x1,_0x46fa:0x1b,_0x5ecde8:0x5fc,_0x4ec708:0x4ab,_0x30f58c:0x4eb,_0x4a68d1:0x659},_0x159019={_0x1413db:0x112,_0xab1ede:0x9f},_0x17ccc3={_0x4d1443:0x14a,_0x59716e:0x3};function _0x287f45(_0x13785d,_0x3f7d9c,_0x861bb9,_0x3be917){return _0x511d68(_0x13785d-0x166,_0x3be917-_0x17ccc3._0x4d1443,_0x861bb9-_0x17ccc3._0x59716e,_0x861bb9);}const _0x2ee821=_0x3e13d6[_0x287f45(_0x23681c._0x263cd4,_0x23681c._0x40f1f5,_0x23681c._0x1d705d,0x560)](_0x1d357c[_0xf856d(_0x23681c._0xfd4e80,0x3b7,0x25b,0x3f6)]??process[_0xf856d(0x619,_0x23681c._0x316fc7,_0x23681c._0x2c9ec1,_0x23681c._0x53ca40)]()),_0x1588c3=_0x1d357c['allowedDirs']??[];function _0xf856d(_0x13e0ba,_0x57ff32,_0x4b20ea,_0x3448b6){return _0x511d68(_0x13e0ba-_0x159019._0x1413db,_0x57ff32- -0x4f,_0x4b20ea-_0x159019._0xab1ede,_0x13e0ba);}const _0x2a1087=_0x1d357c[_0xf856d(0x387,_0x23681c._0x152ef3,_0x23681c._0x418f8f,0x301)]??0x64,_0x8cb0fb=_0x1d357c[_0xf856d(0x46c,0x520,_0x23681c._0x44c4c5,0x3da)]??_0xf856d(_0x23681c._0x3f4492,_0x23681c._0x3e8eb2,0x50a,0x730);return defineTool({'name':_0x8cb0fb,'description':_0xf856d(0x4dc,_0x23681c._0x41453e,0x36e,_0x23681c._0x24a98c),'inputSchema':{'type':_0x287f45(0x7fe,_0x23681c._0x37b12f,_0x23681c._0x1c1164,_0x23681c._0x3c59f0),'properties':{'pattern':{'type':_0x287f45(_0x23681c._0xcced98,_0x23681c._0x1fb63d,_0x23681c._0x20a384,0x714)},'path':{'type':'string'},'include':{'type':'string'},'limit':{'type':_0x287f45(0x871,0x6a1,_0x23681c._0x5c0429,0x732)},'context':{'type':_0xf856d(_0x23681c._0x243540,0x599,0x595,0x483)}},'required':[_0xf856d(_0x23681c._0x381763,0x4cb,_0x23681c._0x49d96b,_0x23681c._0x52d997)]},async *'execute'(_0x314a0e){const _0x507920={_0x2d4d22:0x1b9,_0x1e99d6:0x39,_0x3135c5:0x5d},_0x46c705={_0x255ca1:0x3a};if(_0x314a0e[_0x241eb5(-0x18,-_0x8b2fcd._0xf90fd0,-_0x8b2fcd._0x40f6a6,_0x8b2fcd._0x1690f5)][_0x241eb5(_0x8b2fcd._0x55e5cd,-_0x8b2fcd._0x130747,0x12a,_0x8b2fcd._0x4fbc24)]()['length']===0x0)throw new ToolExecutionError(_0x241eb5(0x105,0x212,0x16e,0x67),{});const _0x2c911a=resolveAllowedPath(_0x2ee821,_0x1588c3,_0x314a0e[_0x5e80b6(0x696,_0x8b2fcd._0x36b7d2,_0x8b2fcd._0x3b75e4,_0x8b2fcd._0x3e2eb2)]??'.'),_0x923407=await _0x1d25c1(_0x2c911a)['catch'](()=>null),_0xcdacbe=_0x923407?.['isFile']()??![],_0x208298=_0x923407?.[_0x5e80b6(_0x8b2fcd._0x1b232e,0x857,_0x8b2fcd._0x278b6f,0x80b)]()??![];if(!_0xcdacbe&&!_0x208298)throw new ToolExecutionError(_0x5e80b6(0x6d5,_0x8b2fcd._0x38f411,_0x8b2fcd._0xaffe9,0x8ae)+(_0x314a0e[_0x241eb5(0x16c,_0x8b2fcd._0x57d9b8,0xde,0x8e)]??'.'),{'path':_0x314a0e[_0x241eb5(_0x8b2fcd._0x19e789,_0x8b2fcd._0x20da86,_0x8b2fcd._0x16a650,0x239)]??'.'});const _0x1177d6=_0x314a0e[_0x241eb5(-_0x8b2fcd._0x3150d2,-_0x8b2fcd._0x532416,-0x91,-0x100)]??_0x2a1087,_0x233176=Math[_0x241eb5(-_0x8b2fcd._0x2030d6,0x18,-0x4b,0x28)](0x1,Math[_0x5e80b6(0x4c6,0x598,_0x8b2fcd._0x80ca35,0x718)](_0x1177d6)),_0x2161fa=await search({'cwd':_0x208298?_0x2c911a:_0x3e13d6[_0x241eb5(0x14b,0xff,_0x8b2fcd._0x389557,-_0x8b2fcd._0x36d86e)](_0x2c911a),'pattern':_0x314a0e[_0x5e80b6(_0x8b2fcd._0x9611f6,0x684,0x623,0x772)],'glob':_0x208298?_0x314a0e[_0x5e80b6(0x4ef,0x5a7,_0x8b2fcd._0x31d2d5,0x54d)]:void 0x0,'limit':_0x233176,'file':_0xcdacbe?_0x2c911a:void 0x0,'context':_0x314a0e[_0x241eb5(_0x8b2fcd._0x329bd8,_0x8b2fcd._0x46e450,0xf0,_0x8b2fcd._0x306cf9)]}),_0x53b753=new Map();for(const _0x533d06 of _0x2161fa){if(!_0x53b753['has'](_0x533d06[_0x5e80b6(0x605,0x755,_0x8b2fcd._0x519d9b,_0x8b2fcd._0xe69705)])){const _0x1fb654=await _0x1d25c1(_0x533d06['filePath'])[_0x241eb5(_0x8b2fcd._0x3368e4,_0x8b2fcd._0x228f76,_0x8b2fcd._0x422e69,0xdb)](()=>null);_0x53b753[_0x241eb5(_0x8b2fcd._0x1beeb8,_0x8b2fcd._0x1d006c,_0x8b2fcd._0x558b12,0x8f)](_0x533d06[_0x5e80b6(0x8cf,0x755,_0x8b2fcd._0x3ecbe,_0x8b2fcd._0x2ad96a)],{'matches':[],'mtime':_0x1fb654?.[_0x5e80b6(_0x8b2fcd._0x17f9b3,0x827,_0x8b2fcd._0x1160d7,_0x8b2fcd._0x42e23a)]??0x0});}_0x53b753[_0x241eb5(_0x8b2fcd._0x558f18,0x93,-_0x8b2fcd._0x1f13a0,_0x8b2fcd._0x1d006c)](_0x533d06[_0x241eb5(0xb9,0x16,0x14e,-0x53)])?.['matches'][_0x5e80b6(_0x8b2fcd._0x48416c,0x581,_0x8b2fcd._0x343161,0x5e3)](_0x533d06);}const _0x5080b9=[..._0x53b753[_0x241eb5(_0x8b2fcd._0x2ffc19,0x199,_0x8b2fcd._0x388a2c,0x14b)]()][_0x5e80b6(0x765,0x802,_0x8b2fcd._0x378849,_0x8b2fcd._0xa26fdc)]((_0x2a6ad3,_0x375c9f)=>_0x375c9f[0x1][_0x5e80b6(0x6c1,0x5af,0x655,0x434)]-_0x2a6ad3[0x1][_0x5e80b6(0x64f,0x5af,0x6fd,0x46b)]),_0x17a867=_0x2161fa[_0x5e80b6(_0x8b2fcd._0x363428,0x634,_0x8b2fcd._0x464d6b,_0x8b2fcd._0xda4b0a)](_0x186754=>!_0x186754['isContext'])[_0x241eb5(-_0x8b2fcd._0x24576c,-_0x8b2fcd._0x3ea9f6,-_0x8b2fcd._0x33e8a6,_0x8b2fcd._0x157d90)],_0x588c72=_0x2161fa[_0x5e80b6(0x533,0x678,_0x8b2fcd._0x10a17d,_0x8b2fcd._0x3c3cff)]>=_0x233176,_0x28d38b=_0xcdacbe?_0x3e13d6[_0x5e80b6(0x941,_0x8b2fcd._0x2cf90e,_0x8b2fcd._0x5c12c1,0x923)](_0x2c911a):_0x2c911a;let _0x13084b='';function _0x241eb5(_0x2bd1ab,_0x5e1afc,_0x529b77,_0x339c5a){return _0xf856d(_0x339c5a,_0x2bd1ab- -0x4e3,_0x529b77-0x1ac,_0x339c5a-_0x46c705._0x255ca1);}function _0x5e80b6(_0x137640,_0x197801,_0xcff2f8,_0x1dde17){return _0xf856d(_0x137640,_0x197801-_0x507920._0x2d4d22,_0xcff2f8-_0x507920._0x1e99d6,_0x1dde17-_0x507920._0x3135c5);}if(_0x2161fa['length']===0x0)_0x13084b=_0x241eb5(0xa3,0x1a7,_0x8b2fcd._0x63031a,_0x8b2fcd._0x300d94)+_0x314a0e[_0x241eb5(-0x18,0x54,-_0x8b2fcd._0x4e907a,0x13e)];else{_0x13084b=_0x241eb5(0xd0,0x1aa,0x17a,0x95)+_0x17a867+_0x241eb5(-_0x8b2fcd._0x488ea0,-_0x8b2fcd._0x31bb10,-0x194,0x29)+(_0x17a867===0x1?'':'es')+'\x0a';for(const [_0xcec116,_0x5e97fa]of _0x5080b9){const _0x76db75=_0xcdacbe?_0x3e13d6[_0x5e80b6(_0x8b2fcd._0x5f2243,0x58d,0x5cb,0x5fa)](_0xcec116):_0x3e13d6['relative'](_0x28d38b,_0xcec116);_0x13084b+='\x0a'+_0x76db75+':\x0a';for(const _0x5a23ff of _0x5e97fa[_0x5e80b6(_0x8b2fcd._0x18cdf6,_0x8b2fcd._0x48b09d,0x88c,_0x8b2fcd._0x13c2d0)]){const _0x86823=_0x5a23ff[_0x5e80b6(0x6f3,_0x8b2fcd._0x475657,_0x8b2fcd._0x488cd3,_0x8b2fcd._0x33ff39)][_0x241eb5(-0x24,-0x103,-_0x8b2fcd._0x201f44,-0xc4)]>MAX_LINE_LENGTH?_0x5a23ff[_0x5e80b6(0x6a5,0x5cd,0x4fe,0x4cd)][_0x241eb5(-0x98,-_0x8b2fcd._0x2be329,-_0x8b2fcd._0x3deb5d,0xbc)](0x0,MAX_LINE_LENGTH)+'...':_0x5a23ff[_0x5e80b6(_0x8b2fcd._0x49f8f3,0x5cd,0x711,0x460)],_0xf9127b=_0x5a23ff[_0x5e80b6(0x73d,0x835,0x7e7,0x969)]?'\x20\x20':'>\x20';_0x13084b+=_0xf9127b+_0x5e80b6(0x8ec,_0x8b2fcd._0x15d2dd,_0x8b2fcd._0x5203ca,0x72a)+_0x5a23ff[_0x5e80b6(0x702,_0x8b2fcd._0x431b53,0x482,_0x8b2fcd._0x4c4fd4)]+':\x20'+_0x86823+'\x0a';}}_0x588c72&&(_0x13084b+=_0x5e80b6(0x813,0x7e0,0x79b,_0x8b2fcd._0x56a6a7));}const _0x228d5e={'searchPath':_0x3e13d6[_0x5e80b6(0x87b,_0x8b2fcd._0x162163,0x76c,_0x8b2fcd._0x5c0edd)](_0x2ee821,_0x2c911a)||'.','pattern':_0x314a0e[_0x241eb5(-0x18,-_0x8b2fcd._0x31bb10,_0x8b2fcd._0x981119,_0x8b2fcd._0x19e789)],'matchCount':_0x17a867,'fileCount':_0x53b753[_0x5e80b6(0x7c6,_0x8b2fcd._0x1341d3,_0x8b2fcd._0x5dc46d,0x851)],'truncated':_0x588c72};return _0x208298&&_0x314a0e[_0x241eb5(-0xf5,-_0x8b2fcd._0xdce220,_0x8b2fcd._0x46fa,0x8c)]!==void 0x0&&(_0x228d5e[_0x5e80b6(_0x8b2fcd._0x5ecde8,0x5a7,0x691,_0x8b2fcd._0x4ec708)]=_0x314a0e[_0x5e80b6(_0x8b2fcd._0x30f58c,0x5a7,0x568,_0x8b2fcd._0x4a68d1)]),yield createToolOutput(_0x13084b['trim'](),_0x228d5e),void 0x0;}});}function createKillShellTool(_0x31e3af){const _0x337e4d={_0x451456:0x43a,_0x2dfd5e:0x49f,_0x46a6aa:0x3d0,_0x2f824d:0x585,_0x26a386:0x58b,_0x5735b9:0x53c,_0x3182c0:0x457,_0x24b0ec:0x544},_0x9e80da={_0x3d9c71:0x15c,_0x4bdb26:0x3e1,_0x2c2bb4:0x2bf,_0x32549f:0x295,_0xb7f210:0x2dd,_0x6ac9bd:0x1ee,_0x3e8715:0x2a9,_0x535835:0x1d8,_0x5563c5:0x3c1,_0x4cec83:0x346,_0x5dd9d2:0x26a},_0x2218ba={_0x29ee77:0x13d,_0x2ab97c:0x19c},_0x3f941f={_0x5241fd:0xb9,_0xddc4ff:0x76},_0x96f223={_0x89f048:0x8c,_0x302745:0x8e};function _0x2ca46a(_0x14cace,_0x3047c1,_0x2dadba,_0x37e91e){return _0x511d68(_0x14cace-_0x96f223._0x89f048,_0x14cace- -_0x96f223._0x302745,_0x2dadba-0x3e,_0x2dadba);}function _0x18a982(_0x22516c,_0xae0b07,_0x3b8a73,_0x3fd012){return _0x475ba1(_0xae0b07,_0x22516c-_0x3f941f._0x5241fd,_0x3b8a73-_0x3f941f._0xddc4ff,_0x3fd012-0x1c9);}const {registry:_0x33ac49}=_0x31e3af;return defineTool({'name':_0x2ca46a(_0x337e4d._0x451456,_0x337e4d._0x2dfd5e,0x2d5,_0x337e4d._0x46a6aa),'description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x2ca46a(_0x337e4d._0x2f824d,_0x337e4d._0x26a386,0x554,0x4c1),'properties':{'shellId':{'type':_0x2ca46a(_0x337e4d._0x5735b9,0x4fb,_0x337e4d._0x3182c0,0x528)}},'required':[_0x2ca46a(_0x337e4d._0x24b0ec,0x546,0x5db,0x64f)]},async *'execute'(_0x2451c3){const _0x41ccd6={_0x30e282:0x107},_0x18218b=_0x33ac49[_0x47570a(0x1c4,_0x9e80da._0x3d9c71,0xe8,0xbd)](_0x2451c3[_0x47570a(_0x9e80da._0x4bdb26,0x165,0x1c5,0x28d)]);function _0x20d51c(_0x467b25,_0x1fee9c,_0xd6a68a,_0x1b2539){return _0x2ca46a(_0x1b2539- -0x305,_0x1fee9c-0xb4,_0x1fee9c,_0x1b2539-_0x41ccd6._0x30e282);}function _0x47570a(_0x4453a2,_0x5bcfdf,_0x46c99a,_0x4584b5){return _0x18a982(_0x4584b5-0x4f,_0x5bcfdf,_0x46c99a-_0x2218ba._0x29ee77,_0x4584b5-_0x2218ba._0x2ab97c);}return createToolOutput('Killed\x20'+_0x2451c3['shellId']+'\x20(status:\x20'+_0x18218b[_0x47570a(_0x9e80da._0x2c2bb4,_0x9e80da._0x32549f,_0x9e80da._0xb7f210,0x2b9)]+').',{'shellId':_0x2451c3['shellId'],'status':_0x18218b[_0x47570a(_0x9e80da._0x6ac9bd,0x3a5,_0x9e80da._0x3e8715,0x2b9)],'exitCode':_0x18218b[_0x20d51c(_0x9e80da._0x535835,0x109,0xbb,0x80)],'signal':_0x18218b[_0x20d51c(_0x9e80da._0x5563c5,_0x9e80da._0x4cec83,_0x9e80da._0x5dd9d2,0x307)]});}});}import{readdir as _0x1799e2,readFile as _0x4dcd1d,stat as _0x18d03a}from'fs/promises';import*as _0x2c1dc2 from'path';import*as _0x52bee2 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x551ecf,_0x454bd3){const _0x24d091={_0x93ae49:0x3e4,_0x2a1c50:0x66f,_0x5e70a1:0x5a4,_0x5c4bd3:0x65a,_0x1511f7:0x778,_0x4ac840:0x6bc,_0x4635f8:0x4bf,_0x2084f5:0x3f2},_0x1a6c92={_0x39490d:0x55,_0x184939:0x11};if(_0x454bd3>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x20fbed=await _0x4dcd1d(_0x551ecf)[_0x1e400b(0x485,0x485,0x471,_0x24d091._0x93ae49)](()=>null);function _0x1e400b(_0x296cbe,_0x64407e,_0x22496a,_0x2a4c68){return _0x475ba1(_0x22496a,_0x2a4c68-0x159,_0x22496a-0xc1,_0x2a4c68-0x1db);}if(!_0x20fbed||isProbablyBinary(_0x20fbed))return void 0x0;function _0x343635(_0x5148a5,_0x28223c,_0x383963,_0x3ffbff){return _0x511d68(_0x5148a5-0x120,_0x5148a5- -_0x1a6c92._0x39490d,_0x383963-_0x1a6c92._0x184939,_0x383963);}return _0x20fbed[_0x343635(0x544,_0x24d091._0x2a1c50,0x4d9,0x5af)](_0x343635(0x5d9,0x70c,_0x24d091._0x5e70a1,_0x24d091._0x5c4bd3))[_0x343635(0x62d,_0x24d091._0x1511f7,_0x24d091._0x4ac840,_0x24d091._0x4635f8)](/\r?\n/)[_0x343635(0x4b9,_0x24d091._0x2084f5,0x378,0x5a0)];}function createLsTool(_0x1f4dde={}){const _0x1244f2={_0x4d177b:0x1d6,_0x2e1629:0x30e,_0x51132a:0x2a5,_0x1a035d:0x17d,_0x2849f0:0x295,_0x2f5afa:0xd3,_0x164ec6:0x51e,_0x38ae21:0x3ad,_0x425144:0x4e5,_0x1be8ab:0x2d9,_0xb9a53b:0x1a2,_0x19576b:0x34c,_0x5d6116:0x3b8,_0x2da1d7:0xc5,_0x2a23e9:0x24a,_0x350c22:0x3d,_0x3595c3:0xbe,_0x330352:0x4,_0x4f6c25:0xae,_0x895ca3:0x188},_0x49b889={_0x2d1087:0x14e,_0x40fb0c:0x1e1,_0x171675:0x647,_0x55f834:0x5f6,_0x3f3d2b:0x148,_0x27d5e0:0x124,_0x243954:0x1f1,_0x5e3230:0x445,_0x33e576:0x410,_0x593aa3:0x31b,_0x2c9635:0xf7,_0x4d6213:0x35a,_0x25c9a9:0x448,_0x3b5de3:0x5ce,_0x406976:0x3f8,_0x280e83:0x39d,_0x421f4a:0x237,_0x341387:0x316,_0x305fce:0x203,_0x3dd293:0x29a,_0x39e13b:0x3e3,_0x326fb2:0x25a,_0x147401:0x180,_0x3b22e4:0x4e5,_0x5514e0:0x5ee,_0x141681:0x764,_0x3832d4:0x6e4,_0x1896d3:0x7c5,_0x2f2c14:0x8b,_0x4f4ce5:0x716,_0x35a142:0x649,_0x420910:0x62c,_0xaf832c:0x4c9,_0xdc3803:0x5f0,_0x551bef:0x4e,_0x22269a:0x6fb,_0x40854f:0x617,_0x1a9619:0x25c,_0x63fa3a:0x303,_0x3c0e59:0x5ea,_0x4af67c:0x67,_0x3e67ce:0x47d,_0x5df522:0x5f9,_0x2cd2af:0x55f,_0x318fda:0x5fd,_0x19fd58:0x41b,_0x2e2dc4:0x47d,_0x2283c5:0x352,_0x47e95d:0xbb,_0x158350:0xb8},_0x5c543b={_0x211a34:0x5b0};function _0x5d08ac(_0x4b8590,_0x4030d7,_0x50e8de,_0x4c5e25){return _0x475ba1(_0x4030d7,_0x4b8590-0x1c4,_0x50e8de-0x198,_0x4c5e25-0x1be);}function _0x70de78(_0x408ffa,_0x30d665,_0x25d72b,_0x4999a1){return _0x511d68(_0x408ffa-0x65,_0x30d665- -_0x5c543b._0x211a34,_0x25d72b-0x45,_0x4999a1);}const _0x14ac08=_0x2c1dc2[_0x5d08ac(0x18d,_0x1244f2._0x4d177b,_0x1244f2._0x2e1629,_0x1244f2._0x51132a)](_0x1f4dde[_0x5d08ac(_0x1244f2._0x1a035d,_0x1244f2._0x2849f0,_0x1244f2._0x2f5afa,0x247)]??process[_0x5d08ac(0x401,_0x1244f2._0x164ec6,_0x1244f2._0x38ae21,_0x1244f2._0x425144)]()),_0x4c934b=_0x1f4dde[_0x5d08ac(0x2eb,0x207,_0x1244f2._0x1be8ab,0x1b9)]??[],_0x3a5e84=_0x1f4dde[_0x5d08ac(0x2e6,_0x1244f2._0xb9a53b,_0x1244f2._0x19576b,_0x1244f2._0x5d6116)]??'Ls';return defineTool({'name':_0x3a5e84,'description':_0x70de78(0x101,_0x1244f2._0x2da1d7,_0x1244f2._0x2a23e9,0x12),'inputSchema':{'type':_0x70de78(-0x85,0x63,-_0x1244f2._0x350c22,0x1),'properties':{'path':{'type':_0x70de78(_0x1244f2._0x3595c3,0x1a,_0x1244f2._0x330352,_0x1244f2._0x4f6c25)},'limit':{'type':_0x70de78(0xba,0x38,_0x1244f2._0x895ca3,-0x3)}}},async *'execute'(_0x19fd10){const _0x376223={_0x3d3826:0x132,_0x6725ad:0x128},_0x369d4b=_0x19fd10[_0x4ed8c6(0x220,0x264,_0x49b889._0x2d1087,_0x49b889._0x40fb0c)]??'.';function _0x4ed8c6(_0x414da5,_0x101032,_0x375969,_0x52ed0f){return _0x70de78(_0x414da5-0x29,_0x414da5-_0x376223._0x3d3826,_0x375969-_0x376223._0x6725ad,_0x375969);}const _0x4e0bfc=resolveAllowedPath(_0x14ac08,_0x4c934b,_0x369d4b),_0x3b1f53=await _0x18d03a(_0x4e0bfc)[_0x41aa34(0x6a5,_0x49b889._0x171675,0x51e,_0x49b889._0x55f834)](()=>null);if(!_0x3b1f53?.['isDirectory']())throw new ToolExecutionError(_0x4ed8c6(_0x49b889._0x3f3d2b,0x296,_0x49b889._0x27d5e0,_0x49b889._0x243954)+_0x369d4b,{'path':_0x369d4b});const _0x28dae2=_0x19fd10[_0x41aa34(_0x49b889._0x5e3230,0x3b0,_0x49b889._0x33e576,_0x49b889._0x593aa3)]??0x3e8,_0x8b63dd=Math[_0x4ed8c6(0xff,0x6b,0x1a1,_0x49b889._0x2c9635)](Math[_0x41aa34(_0x49b889._0x4d6213,_0x49b889._0x25c9a9,_0x49b889._0x3b5de3,_0x49b889._0x406976)](Math[_0x41aa34(0x33b,_0x49b889._0x280e83,_0x49b889._0x421f4a,0x492)](_0x28dae2),0x1),0x2710),_0x4e4463=await _0x1799e2(_0x4e0bfc),_0x32bd30=[];for(const _0x196444 of _0x4e4463[_0x41aa34(0x2fb,0x409,_0x49b889._0x341387,0x393)](0x0,_0x8b63dd)){const _0x2f774d=_0x2c1dc2[_0x4ed8c6(0x278,_0x49b889._0x305fce,_0x49b889._0x3dd293,_0x49b889._0x39e13b)](_0x4e0bfc,_0x196444),_0x37c58c=await _0x18d03a(_0x2f774d)[_0x4ed8c6(_0x49b889._0x326fb2,0x224,0x2b8,_0x49b889._0x147401)](()=>null);if(!_0x37c58c)continue;let _0x4d3d57='other';if(_0x37c58c[_0x41aa34(_0x49b889._0x3b22e4,_0x49b889._0x5514e0,_0x49b889._0x141681,_0x49b889._0x3832d4)]())_0x4d3d57='file';else{if(_0x37c58c[_0x41aa34(_0x49b889._0x1896d3,0x65c,0x74d,0x523)]())_0x4d3d57='directory';else{if(_0x37c58c[_0x4ed8c6(-0x33,-0x15e,-0x15a,-_0x49b889._0x2f2c14)]())_0x4d3d57=_0x4ed8c6(-0x66,0x112,0xc7,0x82);}}const _0x4cfc40={'name':_0x196444,'type':_0x4d3d57,'size':_0x37c58c[_0x41aa34(_0x49b889._0x4f4ce5,_0x49b889._0x35a142,_0x49b889._0x420910,_0x49b889._0xaf832c)],'mtime':_0x37c58c[_0x41aa34(_0x49b889._0xdc3803,_0x49b889._0x420910,0x733,0x71b)],'mode':_0x37c58c[_0x4ed8c6(_0x49b889._0x551bef,0x193,0x91,-0x103)]},_0x5d7292=_0x4d3d57===_0x41aa34(_0x49b889._0x22269a,0x5a2,0x68b,_0x49b889._0x40854f)?await countTextLines(_0x2f774d,_0x37c58c[_0x4ed8c6(_0x49b889._0x1a9619,0x29c,_0x49b889._0x63fa3a,0x217)]):void 0x0;if(_0x5d7292!==void 0x0)_0x4cfc40[_0x41aa34(0x6d4,0x5b1,_0x49b889._0x3c0e59,0x47d)]=_0x5d7292;_0x32bd30[_0x4ed8c6(-_0x49b889._0x4af67c,-0xf7,-0x35,0xd)](_0x4cfc40);}_0x32bd30['sort']((_0x2692a0,_0x225659)=>_0x2692a0[_0x4ed8c6(0xf1,0x171,0x79,-0x23)][_0x41aa34(0x4b2,0x3ab,0x339,0x28d)](_0x225659['name']));const _0x3abfee={'path':_0x369d4b,'total':_0x32bd30[_0x41aa34(0x565,_0x49b889._0x3e67ce,0x5b0,_0x49b889._0x5df522)],'truncated':_0x4e4463['length']>_0x8b63dd,'entries':_0x32bd30};yield createToolOutput(_0x52bee2[_0x41aa34(_0x49b889._0x2cd2af,0x5d0,_0x49b889._0x318fda,0x69f)](_0x3abfee,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x369d4b,'total':_0x32bd30[_0x41aa34(_0x49b889._0x19fd58,_0x49b889._0x2e2dc4,0x47b,_0x49b889._0x2283c5)],'truncated':_0x4e4463[_0x4ed8c6(0x90,0x1c6,-_0x49b889._0x47e95d,_0x49b889._0x158350)]>_0x8b63dd,'limit':_0x8b63dd,'entries':_0x32bd30});function _0x41aa34(_0x4a110f,_0x4b736e,_0x505640,_0x1a1b98){return _0x5d08ac(_0x4b736e-0x1f8,_0x1a1b98,_0x505640-0x175,_0x1a1b98-0x49);}return void 0x0;}});}import{stat as _0x279d76}from'fs/promises';import _0x42386 from'path';import{fileURLToPath as _0xd46e29}from'url';function severityName(_0x202bbd){const _0x171f73={_0x1ba743:0x2f5,_0x5f22db:0x25b,_0x4968b0:0x49b,_0x536b26:0x475,_0x365bbd:0x365,_0x55d72d:0x4c2,_0x3c9709:0x279,_0x521e91:0x49d,_0x25cdde:0x32b,_0x5b6555:0x23b},_0x52ccdf={_0x58624e:0x191,_0x1de585:0x160},_0x59eb04={_0xdeda5a:0x1e1};function _0x2e35a4(_0x3919b5,_0x22847b,_0x2a9a2d,_0x345ee2){return _0x475ba1(_0x22847b,_0x2a9a2d-_0x59eb04._0xdeda5a,_0x2a9a2d-0x18a,_0x345ee2-0x89);}function _0xdf2398(_0x32dd75,_0x1255ff,_0x1748e5,_0x44c8cb){return _0x475ba1(_0x1255ff,_0x1748e5-_0x52ccdf._0x58624e,_0x1748e5-0x120,_0x44c8cb-_0x52ccdf._0x1de585);}switch(_0x202bbd){case 0x1:return _0xdf2398(0x1c4,_0x171f73._0x1ba743,_0x171f73._0x5f22db,0x25c);case 0x2:return _0xdf2398(0x50d,0x3fb,0x3ac,0x24b);case 0x3:return _0x2e35a4(_0x171f73._0x4968b0,_0x171f73._0x536b26,_0x171f73._0x365bbd,_0x171f73._0x55d72d);case 0x4:return _0xdf2398(0x320,0x287,0x381,_0x171f73._0x3c9709);default:return _0xdf2398(0x441,_0x171f73._0x521e91,_0x171f73._0x25cdde,_0x171f73._0x5b6555);}}function formatSingleHover(_0x418b92){const _0x52b251={_0x429409:0x373,_0xd253b3:0x48c,_0x41da16:0x4c8,_0xadb410:0x3d6,_0x25e004:0x7d6,_0x5e9513:0x743,_0x49b59b:0x3d7,_0x43a379:0x4d8,_0x217775:0x606,_0x502b79:0x758,_0x370cbd:0x755,_0x52bfac:0x8c4,_0x3684a5:0x7d4,_0x538ec3:0x51a,_0x7883bc:0x3bb,_0x2271c3:0x4b1,_0x3449e1:0x62c},_0x234b3c={_0x4c4eac:0x1a1,_0x3f2239:0x8},_0xcb046c={_0x107e5d:0x5dd,_0x57d478:0x1b5};function _0x141320(_0xdd3da4,_0x52318e,_0x4c0683,_0x36dae7){return _0x475ba1(_0x36dae7,_0xdd3da4-_0xcb046c._0x107e5d,_0x4c0683-_0xcb046c._0x57d478,_0x36dae7-0x1b6);}const _0x515752=_0x418b92[_0x5264ef(_0x52b251._0x429409,0x402,0x29d,0x380)];if(typeof _0x515752===_0x5264ef(0x3f1,_0x52b251._0xd253b3,0x3b0,_0x52b251._0x41da16))return _0x515752;if(Array['isArray'](_0x515752))return _0x515752[_0x141320(0x6e3,0x71d,0x766,0x654)](_0x3c106d=>typeof _0x3c106d===_0x141320(0x75a,0x688,0x804,0x67e)?_0x3c106d:_0x3c106d[_0x5264ef(0x3ec,0x3a0,0x5a1,0x4b1)])[_0x5264ef(0x479,_0x52b251._0xadb410,0x53f,0x3c8)](Boolean)[_0x141320(0x886,0x8ea,0x94b,0x80a)]('\x0a\x0a');if(_0x141320(0x809,0x8e5,0x847,_0x52b251._0x25e004)in _0x515752)return _0x515752[_0x141320(_0x52b251._0x5e9513,0x5c2,0x831,0x742)];function _0x5264ef(_0x14785d,_0x27c823,_0x18f03,_0x2303a4){return _0x511d68(_0x14785d-_0x234b3c._0x4c4eac,_0x2303a4- -0x102,_0x18f03-_0x234b3c._0x3f2239,_0x18f03);}return _0x515752[_0x5264ef(0x3e4,_0x52b251._0x49b59b,0x44c,_0x52b251._0x43a379)]?_0x141320(_0x52b251._0x217775,_0x52b251._0x502b79,_0x52b251._0x370cbd,0x73b)+_0x515752[_0x141320(0x76a,_0x52b251._0x52bfac,_0x52b251._0x3684a5,0x740)]+'\x0a'+_0x515752[_0x5264ef(_0x52b251._0x538ec3,0x4ac,_0x52b251._0x7883bc,_0x52b251._0x2271c3)]+_0x5264ef(0x577,0x4c8,_0x52b251._0x3449e1,0x4dc):_0x515752['value'];}function formatHover(_0xdee82d){const _0x43f0fd={_0x56763d:0x8a,_0x5f5b7a:0x2c,_0x20c940:0xb5,_0x2aa13d:0x85,_0x40aa06:0x3a,_0x360289:0x2dd,_0x1c5f3d:0x266,_0x4493a8:0x3d},_0x3ec609={_0x29f4ce:0x3f8};if(_0xdee82d[_0x30f3b1(0x64,-0x100,-0x120,-_0x43f0fd._0x56763d)]===0x0)return _0x30f3b1(-0x2f,-0x192,-_0x43f0fd._0x5f5b7a,-_0x43f0fd._0x20c940);function _0x2fbc20(_0x22ae1a,_0x224c49,_0x4a3017,_0x471d74){return _0x511d68(_0x22ae1a-0x83,_0x4a3017- -_0x3ec609._0x29f4ce,_0x4a3017-0x186,_0x471d74);}function _0x30f3b1(_0xf3f9ae,_0x1e1784,_0x5d6d77,_0x16348d){return _0x475ba1(_0x5d6d77,_0x16348d- -0x14b,_0x5d6d77-0x11c,_0x16348d-0x1ce);}return _0xdee82d[_0x30f3b1(_0x43f0fd._0x2aa13d,-0x1ab,-_0x43f0fd._0x40aa06,-0x45)](formatSingleHover)[_0x30f3b1(_0x43f0fd._0x360289,_0x43f0fd._0x1c5f3d,_0x43f0fd._0x4493a8,0x15e)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x567bb3){const _0x1f9e1c={_0x2f81e5:0x377,_0x17de63:0x202,_0x2cc394:0x2c0,_0x3c0baf:0xd2},_0x14ec19={_0x3152ce:0x1bd};function _0x12718a(_0x3e8b7e,_0x55e046,_0x2a1f3d,_0x205b57){return _0x475ba1(_0x3e8b7e,_0x55e046-_0x14ec19._0x3152ce,_0x2a1f3d-0x73,_0x205b57-0x4a);}if(!_0x567bb3[_0x12718a(_0x1f9e1c._0x2f81e5,_0x1f9e1c._0x17de63,_0x1f9e1c._0x2cc394,_0x1f9e1c._0x3c0baf)]('file://'))return _0x567bb3;return _0xd46e29(_0x567bb3);}function formatLocations(_0x48b89b){const _0x5a8fca={_0x20c649:0x5fe,_0x4677db:0x656,_0x5b93cf:0x498,_0x38bcea:0x32c,_0x1d80d9:0x35e,_0x5894b6:0x618,_0x335d9b:0x4a6,_0x37541c:0x724},_0x5157bf={_0x31989c:0x4f2,_0x2ea156:0x4b7,_0x2e9fb6:0x241,_0x5b5978:0x44c,_0x316c2e:0x517},_0x46fe4e={_0x2f29b9:0x14c,_0x45aaf3:0x13d},_0xaefc1={_0x88e26b:0x9a,_0x4502d0:0x168};if(_0x48b89b[_0x3f75b3(0x55e,_0x5a8fca._0x20c649,0x635,_0x5a8fca._0x4677db)]===0x0)return _0x3f75b3(_0x5a8fca._0x5b93cf,_0x5a8fca._0x38bcea,0x3e6,_0x5a8fca._0x1d80d9);function _0x5d7bbd(_0x2faedc,_0x8a22a7,_0x276159,_0x2b1ba7){return _0x511d68(_0x2faedc-0x5f,_0x276159- -_0xaefc1._0x88e26b,_0x276159-_0xaefc1._0x4502d0,_0x2faedc);}function _0x3f75b3(_0x249f91,_0x31a770,_0x45f47f,_0xf818eb){return _0x511d68(_0x249f91-0x16,_0x249f91-0x50,_0x45f47f-0x2d,_0xf818eb);}return _0x48b89b[_0x5d7bbd(0x420,_0x5a8fca._0x5894b6,0x4b9,_0x5a8fca._0x335d9b)](_0x110108=>{const _0x256488={_0xd3a3a5:0x26a,_0xa92363:0xdc};function _0x1b120d(_0x3ba616,_0x1cde2b,_0x44afa2,_0x4ea50a){return _0x3f75b3(_0x3ba616- -_0x256488._0xd3a3a5,_0x1cde2b-0xe1,_0x44afa2-_0x256488._0xa92363,_0x1cde2b);}function _0x25c0b4(_0x6bdecb,_0x569749,_0x3b476f,_0x4f6814){return _0x5d7bbd(_0x4f6814,_0x569749-_0x46fe4e._0x2f29b9,_0x6bdecb-0xd3,_0x4f6814-_0x46fe4e._0x45aaf3);}const _0x48a728=_0x110108[_0x25c0b4(_0x5157bf._0x31989c,_0x5157bf._0x2ea156,0x3fd,0x58f)][_0x1b120d(0x206,_0x5157bf._0x2e9fb6,0x1c1,0x350)];return locationPath(_0x110108[_0x1b120d(_0x5157bf._0x5b5978,0x409,0x41e,_0x5157bf._0x316c2e)])+':'+(_0x48a728['line']+0x1)+':'+(_0x48a728['character']+0x1);})[_0x3f75b3(0x746,0x5f7,_0x5a8fca._0x37541c,0x779)]('\x0a');}function isDocumentSymbol(_0x16986a){const _0x7596bf={_0x12c85b:0x368},_0x3053af={_0x5a0009:0x2af,_0x402ece:0x175};function _0x49bfa5(_0x277914,_0x5bf05f,_0x996b,_0x54c5dc){return _0x475ba1(_0x54c5dc,_0x277914-_0x3053af._0x5a0009,_0x996b-_0x3053af._0x402ece,_0x54c5dc-0x60);}return _0x49bfa5(0x31b,0x3f7,_0x7596bf._0x12c85b,0x448)in _0x16986a&&'selectionRange'in _0x16986a;}function formatSymbols(_0x12d25e){const _0x494ded={_0x206af4:0x26f,_0x26b834:0x240,_0x338c6e:0xad,_0x2d0f0e:0x24c,_0x529988:0x4c0,_0x48333b:0x4b6,_0xc48ac1:0x373},_0x25c7e9={_0x561d1e:0x5ec,_0x446d3d:0x691,_0x1011c7:0x656,_0x327a85:0x3f5,_0x1aaaff:0x511,_0x5db354:0x6b0,_0x222f0f:0x474,_0x4937e5:0x4b7,_0x3679a2:0x5cb,_0x136625:0x4d1,_0x3f54dd:0x37b,_0x3f44a1:0x50f,_0x5ba194:0x33d,_0x4073b1:0x4bd,_0x1e7307:0x448,_0x9b4c08:0x625,_0x357147:0x4db,_0x1366e0:0x60e,_0x3463af:0x4c4,_0x5d7c58:0x6aa,_0x43b401:0x6b7,_0x341c0e:0x614,_0x44f218:0x4c1,_0x1b7cec:0x41e,_0x139d32:0x45c,_0x49de4c:0x2e2},_0x276732={_0x5ce3ce:0x1e7,_0x3ad7ea:0x383},_0x202345={_0x1eed07:0x461};if(_0x12d25e['length']===0x0)return _0x732561(_0x494ded._0x206af4,_0x494ded._0x26b834,0x2e4,0x359);function _0x51a65d(_0x194eb4,_0x2920c8,_0xd0716b,_0x280f0e){return _0x475ba1(_0x194eb4,_0x280f0e-_0x202345._0x1eed07,_0xd0716b-0x123,_0x280f0e-0x1e7);}function _0x732561(_0x536acb,_0x58e737,_0x23609a,_0x582171){return _0x511d68(_0x536acb-_0x276732._0x5ce3ce,_0x582171- -_0x276732._0x3ad7ea,_0x23609a-0x175,_0x58e737);}return _0x12d25e[_0x732561(_0x494ded._0x338c6e,_0x494ded._0x2d0f0e,0x85,0x1d0)](_0x4b525b=>{const _0x51af2={_0x5122ca:0x68,_0x15f105:0x4},_0x141ef4={_0x22f38a:0x41a};function _0x43bebc(_0x1ad9f3,_0x39efd4,_0x2945a7,_0x106a5d){return _0x732561(_0x1ad9f3-0x186,_0x39efd4,_0x2945a7-0x1ee,_0x106a5d-_0x141ef4._0x22f38a);}if(isDocumentSymbol(_0x4b525b))return _0x4b525b['name']+'\x20('+_0x4b525b[_0x37812e(_0x25c7e9._0x561d1e,_0x25c7e9._0x446d3d,_0x25c7e9._0x1011c7,0x7f9)]+_0x37812e(0x46e,0x53a,0x4d0,0x3ca)+(_0x4b525b[_0x43bebc(_0x25c7e9._0x327a85,_0x25c7e9._0x1aaaff,_0x25c7e9._0x5db354,0x550)][_0x43bebc(0x366,0x529,_0x25c7e9._0x222f0f,_0x25c7e9._0x4937e5)]['line']+0x1)+':'+(_0x4b525b[_0x37812e(_0x25c7e9._0x3679a2,_0x25c7e9._0x136625,0x413,_0x25c7e9._0x3f54dd)][_0x37812e(_0x25c7e9._0x3f44a1,0x438,_0x25c7e9._0x5ba194,0x461)][_0x43bebc(_0x25c7e9._0x4073b1,_0x25c7e9._0x1e7307,_0x25c7e9._0x9b4c08,_0x25c7e9._0x357147)]+0x1)+']';function _0x37812e(_0x1ae083,_0x12828e,_0x1538ea,_0x25737f){return _0x51a65d(_0x1538ea,_0x12828e-_0x51af2._0x5122ca,_0x1538ea-0x179,_0x12828e-_0x51af2._0x15f105);}return _0x4b525b[_0x37812e(_0x25c7e9._0x1366e0,0x587,_0x25c7e9._0x3463af,0x58b)]+'\x20('+_0x4b525b[_0x43bebc(0x855,0x732,_0x25c7e9._0x5d7c58,0x710)]+')\x20'+locationPath(_0x4b525b['location']['uri'])+':'+(_0x4b525b['location']['range']['start']['line']+0x1)+':'+(_0x4b525b[_0x37812e(0x302,0x41d,0x2a7,0x4f3)][_0x43bebc(_0x25c7e9._0x43b401,_0x25c7e9._0x341c0e,_0x25c7e9._0x44f218,0x550)]['start'][_0x37812e(_0x25c7e9._0x1b7cec,_0x25c7e9._0x139d32,_0x25c7e9._0x49de4c,0x307)]+0x1);})[_0x732561(0x1f8,_0x494ded._0x529988,_0x494ded._0x48333b,_0x494ded._0xc48ac1)]('\x0a');}function formatDiagnostics(_0x1450fd){const _0x45d8fe={_0x5bfc08:0x2d2,_0x182d9a:0x57b,_0x22dd8e:0x69d,_0x4b800a:0x41d},_0x1eac64={_0x3b5c20:0x3dd,_0x4586f6:0x2d9,_0x10db99:0xf9,_0xd6b505:0x1c7,_0x1a5891:0x210,_0x42f4f1:0x264,_0x2febb0:0x3e1,_0x107ceb:0x1db,_0x25b44b:0x1b7,_0x30a7cc:0x2f0,_0x192ef4:0x441,_0x2ef955:0x36a},_0x42e130={_0x432e3a:0xe2},_0x51c79c={_0x173613:0x181,_0x3ce64e:0x187},_0x1915dc={_0x4761d0:0xd6};if(_0x1450fd[_0x49a2bb(0x3ea,_0x45d8fe._0x5bfc08,0x38a,0x387)]===0x0)return'No\x20diagnostics';function _0x24d31a(_0x500854,_0x236b8b,_0x22669a,_0xe010b1){return _0x475ba1(_0x500854,_0x236b8b- -0x93,_0x22669a-_0x1915dc._0x4761d0,_0xe010b1-0x43);}function _0x49a2bb(_0xc8b5b7,_0x15a490,_0x45eaa6,_0x57e894){return _0x511d68(_0xc8b5b7-_0x51c79c._0x173613,_0x57e894- -_0x51c79c._0x3ce64e,_0x45eaa6-0x194,_0x45eaa6);}return _0x1450fd['map'](_0x3caf1c=>{const _0x5b5c35={_0x27ecf9:0x154};function _0x31b702(_0x19e1bc,_0x5418d1,_0x131f5c,_0x13fc16){return _0x49a2bb(_0x19e1bc-_0x5b5c35._0x27ecf9,_0x5418d1-0x104,_0x19e1bc,_0x5418d1- -0x59);}const _0x299aeb=_0x3caf1c[_0x31b702(_0x1eac64._0x3b5c20,_0x1eac64._0x4586f6,0x23a,0x351)]['start'];function _0x17727c(_0x2c55fb,_0x30b9fb,_0x534bcf,_0x43a37b){return _0x49a2bb(_0x2c55fb-0xf9,_0x30b9fb-0x1be,_0x2c55fb,_0x30b9fb- -_0x42e130._0x432e3a);}return severityName(_0x3caf1c[_0x17727c(_0x1eac64._0x10db99,_0x1eac64._0xd6b505,_0x1eac64._0x1a5891,0x1af)])+'\x20['+(_0x299aeb[_0x17727c(0x105,_0x1eac64._0x42f4f1,0x290,_0x1eac64._0x2febb0)]+0x1)+':'+(_0x299aeb[_0x17727c(0x1d7,_0x1eac64._0x107ceb,_0x1eac64._0x25b44b,0x15d)]+0x1)+']\x20'+_0x3caf1c[_0x17727c(0x457,_0x1eac64._0x30a7cc,_0x1eac64._0x192ef4,_0x1eac64._0x2ef955)];})[_0x49a2bb(_0x45d8fe._0x182d9a,_0x45d8fe._0x22dd8e,_0x45d8fe._0x4b800a,0x56f)]('\x0a');}function formatIncomingCalls(_0x39b890){const _0x431fce={_0x5de126:0x51f,_0x28a91a:0x587,_0x2aabaf:0x635,_0x1bc576:0x7b2},_0x137ea9={_0x1ac3a2:0x1b},_0x5c1502={_0x46cdfa:0x3d6,_0xd458a8:0x135};function _0xda3653(_0x3c8779,_0x480a5d,_0x56d333,_0x130307){return _0x475ba1(_0x480a5d,_0x56d333-_0x5c1502._0x46cdfa,_0x56d333-0x135,_0x130307-_0x5c1502._0xd458a8);}function _0x1c49b1(_0x3b7cd1,_0x5c96c7,_0x140076,_0x45883a){return _0x511d68(_0x3b7cd1-0x157,_0x140076- -_0x137ea9._0x1ac3a2,_0x140076-0xd0,_0x5c96c7);}if(_0x39b890[_0x1c49b1(_0x431fce._0x5de126,_0x431fce._0x28a91a,0x4f3,0x536)]===0x0)return'No\x20call\x20hierarchy\x20results';return _0x39b890['map'](_0x514072=>_0x514072[_0x1c49b1(0x62b,0x7b1,0x642,0x650)][_0xda3653(0x3fb,0x5f7,0x4f8,0x5a1)])[_0x1c49b1(_0x431fce._0x2aabaf,0x74a,0x6db,_0x431fce._0x1bc576)]('\x0a');}function formatOutgoingCalls(_0x5ed2ae){const _0x1b3233={_0x4eeee0:0x4c2,_0x2670d5:0x33d,_0x5c1db6:0x638,_0x311b2e:0x6e7,_0x5926d0:0x623},_0x2ce34f={_0x3d9181:0x580,_0x52af8e:0x1c5,_0x57d4a8:0x171},_0x1283a1={_0x235201:0xf6,_0x553e6f:0xfc};function _0x52856f(_0x54af74,_0xf60b55,_0x21cd66,_0x1a647a){return _0x475ba1(_0x1a647a,_0x21cd66-0x462,_0x21cd66-_0x1283a1._0x235201,_0x1a647a-_0x1283a1._0x553e6f);}function _0x1ee69e(_0x1ae7f5,_0x352f8d,_0x4f5ebd,_0xc8b146){return _0x475ba1(_0x1ae7f5,_0x352f8d-_0x2ce34f._0x3d9181,_0x4f5ebd-_0x2ce34f._0x52af8e,_0xc8b146-_0x2ce34f._0x57d4a8);}if(_0x5ed2ae['length']===0x0)return _0x52856f(0x3f8,0x412,_0x1b3233._0x4eeee0,_0x1b3233._0x2670d5);return _0x5ed2ae[_0x52856f(_0x1b3233._0x5c1db6,_0x1b3233._0x311b2e,0x568,_0x1b3233._0x5926d0)](_0x421e29=>_0x421e29['to'][_0x1ee69e(0x5d0,0x6a2,0x7fd,0x528)])['join']('\x0a');}function toStructured(_0xcb8032){const _0x656a03={_0x35f0ba:0xc1,_0x188e29:0x2a4,_0x17c4e8:0x190},_0x5ac2b9={_0x21ac4d:0x1cb,_0x8d7844:0x5e},_0x4b904e={_0x16d42e:0x5f};function _0x25c0f3(_0x3c59ea,_0x2b608d,_0x2333b2,_0x4d55ad){return _0x475ba1(_0x4d55ad,_0x3c59ea-0x90,_0x2333b2-_0x4b904e._0x16d42e,_0x4d55ad-0x1bd);}function _0x53ef07(_0x44b441,_0x3519a8,_0x5ee425,_0x2717ba){return _0x475ba1(_0x44b441,_0x2717ba- -_0x5ac2b9._0x21ac4d,_0x5ee425-0x18c,_0x2717ba-_0x5ac2b9._0x8d7844);}return JSON[_0x53ef07(0x114,0x5f,-0x93,_0x656a03._0x35f0ba)](JSON[_0x25c0f3(_0x656a03._0x188e29,0x177,_0x656a03._0x17c4e8,0x3d4)](_0xcb8032));}async function assertFile(_0x16c8d2){const _0x2846a4={_0x4041cd:0x49e,_0x195b48:0x36c,_0x17a5a1:0x296,_0x8881e0:0x42f,_0x785169:0x1a7,_0x5d2ab5:0x1f8},_0x1ff64d={_0x59bb86:0x4e,_0x2e0eda:0x5cc,_0x2de4c7:0x18c},_0x26c16d={_0xc31ced:0x13a,_0x4f2cfe:0x87},_0x5c6cc5=await _0x279d76(_0x16c8d2);function _0x30c8c6(_0x26cd1c,_0x2d1858,_0x340f87,_0x57ac5c){return _0x475ba1(_0x26cd1c,_0x2d1858-_0x26c16d._0xc31ced,_0x340f87-_0x26c16d._0x4f2cfe,_0x57ac5c-0x1cb);}function _0x2c0b56(_0x500bfa,_0x53f4e6,_0x5cddb1,_0x3e2bf0){return _0x511d68(_0x500bfa-_0x1ff64d._0x59bb86,_0x5cddb1- -_0x1ff64d._0x2e0eda,_0x5cddb1-_0x1ff64d._0x2de4c7,_0x500bfa);}if(!_0x5c6cc5[_0x30c8c6(_0x2846a4._0x4041cd,_0x2846a4._0x195b48,_0x2846a4._0x17a5a1,_0x2846a4._0x8881e0)]())throw new ToolExecutionError(_0x30c8c6(0x85,_0x2846a4._0x785169,0x7e,_0x2846a4._0x5d2ab5)+_0x16c8d2,{'path':_0x16c8d2});}function validatePosition(_0x1b6a89,_0x52dda0){const _0x557677={_0x362770:0x801,_0x16a655:0x80c,_0x15ec8a:0x710,_0x40d7a7:0x84b,_0x4ef8d1:0x489,_0x54ae03:0x480,_0x19f8f9:0x4cc},_0x451b38={_0x5d20b3:0x5d8},_0x378151={_0x36ba4c:0xf6,_0x1f5466:0x14};function _0x512525(_0x308c15,_0x2e0097,_0x30a78a,_0x3ad428){return _0x511d68(_0x308c15-0x147,_0x3ad428- -_0x378151._0x36ba4c,_0x30a78a-_0x378151._0x1f5466,_0x308c15);}if(!Number['isInteger'](_0x1b6a89)||_0x1b6a89<0x1)throw new ToolExecutionError(_0x1e6526(_0x557677._0x362770,0x7e4,0x689,_0x557677._0x16a655),{'line':_0x1b6a89});function _0x1e6526(_0x5ce403,_0x19be01,_0x585555,_0x1b4eb9){return _0x475ba1(_0x585555,_0x1b4eb9-_0x451b38._0x5d20b3,_0x585555-0xf2,_0x1b4eb9-0x1e1);}if(!Number[_0x1e6526(0x842,_0x557677._0x15ec8a,_0x557677._0x40d7a7,0x833)](_0x52dda0)||_0x52dda0<0x1)throw new ToolExecutionError(_0x512525(0x61e,_0x557677._0x4ef8d1,_0x557677._0x54ae03,_0x557677._0x19f8f9),{'character':_0x52dda0});}function createLspTool(_0x189b7a={}){const _0x2fc9c3={_0x567eb2:0x3cd,_0xcfe267:0x14b,_0x3c3b20:0x149,_0x4f8217:0x2c4,_0x177fd0:0x9,_0x5e6d2a:0xd1,_0x3627ef:0xa6,_0x37c2dc:0x135,_0x55a09e:0x249,_0x3d91bd:0x50,_0x375cba:0x2,_0xa04886:0x145,_0x31534c:0x26c,_0x5af64a:0x3ff,_0x5b56e4:0x440,_0x9fada7:0x2de,_0x274b42:0x3b8,_0x28edcc:0x2a8,_0xaf72eb:0x192,_0x34f357:0x15d,_0x20c4a7:0x1ba,_0x1971d1:0xbd,_0x18d0ec:0xb,_0x4049d8:0x15,_0x382402:0x41,_0x411d03:0x9b,_0x4a6aa3:0x7c,_0x6a4e75:0x82,_0x1ed23b:0x32,_0x4e2c4e:0x32,_0x213e32:0x161,_0x4585cf:0x146,_0x28e36e:0x50,_0x3a059e:0xcc,_0x4a28f0:0x3c,_0xb3451b:0x3f5,_0x5191f5:0x3fb,_0x5624ba:0x365,_0xec57a0:0x292},_0x2328b9={_0x1d5d93:0x2ba,_0x271299:0x170,_0x495004:0x52,_0x4bf00b:0x28,_0x577bcd:0x5dd,_0x1c1c0f:0x71e,_0x2b058b:0x5cc,_0x3bc57d:0x138,_0xd5bdaa:0x256,_0x4b7424:0x75f,_0x49e223:0x4b6,_0x28afe3:0x6bb,_0x1b8646:0x712,_0x1de9c8:0x6eb,_0x1e9afe:0x5f1,_0x2ec49f:0x1b4,_0x487ae1:0x1ec,_0x1cd5d8:0x7dd,_0x2c3460:0x589,_0xb6a7a5:0x173,_0x526dc4:0x120,_0x7ca52:0x49d,_0x1829bc:0x4d9,_0x5b3734:0x602,_0x53dbf1:0x4cd,_0x2f9886:0x11a,_0x29d7b3:0x26,_0x57ddf6:0x38,_0xb443c1:0x203,_0x2427a2:0x62,_0x1d118f:0x161,_0x53d8e3:0x46f,_0x1068f5:0x7e8,_0x323424:0x156,_0x3a5196:0xa3,_0x18263f:0xbc,_0xb6c681:0x9,_0x20dfd9:0x45f,_0x1440ce:0x4da,_0x3c4209:0x519,_0x2ca663:0x7c6,_0xf2e567:0x514,_0x1d99d5:0x5f8,_0x52a660:0x58f,_0x5bb737:0x5c6,_0x188857:0x5d3,_0x346fa8:0x26,_0x1c558c:0x2,_0x4c708e:0x626,_0x241552:0x1c0,_0x533abd:0x18c,_0xba01e0:0xf,_0x2e7d2b:0x694},_0x1767cc={_0x1eb403:0xc8,_0x319df7:0x146,_0x49c5c0:0x471},_0x2e7d6e={_0x117b11:0x78,_0x3ba2c7:0x200},_0x26817e={_0x49d985:0x29b},_0x3e0bf8={_0x20b8bf:0xee},_0x44befe=_0x42386[_0x2d9822(0x1cb,0x3cb,_0x2fc9c3._0x567eb2,0x264)](_0x189b7a[_0x2d9822(_0x2fc9c3._0xcfe267,_0x2fc9c3._0x3c3b20,_0x2fc9c3._0x4f8217,0x254)]??process[_0x5cb59e(0x70,_0x2fc9c3._0x177fd0,-_0x2fc9c3._0x5e6d2a,-_0x2fc9c3._0x177fd0)]());function _0x5cb59e(_0xe6c3ee,_0xdc1a09,_0x31ae58,_0x485832){return _0x511d68(_0xe6c3ee-0x1e5,_0xe6c3ee- -0x61a,_0x31ae58-_0x3e0bf8._0x20b8bf,_0xdc1a09);}const _0x376f0f=_0x189b7a[_0x5cb59e(-_0x2fc9c3._0x3627ef,-0xf4,-_0x2fc9c3._0x37c2dc,0x70)]??[];function _0x2d9822(_0x1f79ae,_0x22d53c,_0x10c426,_0x6f762f){return _0x475ba1(_0x22d53c,_0x6f762f-_0x26817e._0x49d985,_0x10c426-0x1d6,_0x6f762f-0x1dc);}const _0x5bfa0f=_0x189b7a['name']??'Lsp';return defineTool({'name':_0x5bfa0f,'description':_0x2d9822(0x4e2,0x4f1,_0x2fc9c3._0x55a09e,0x3a6),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x5cb59e(-_0x2fc9c3._0x3d91bd,-0x148,-0x6d,-_0x2fc9c3._0x375cba),'enum':['goToDefinition',_0x5cb59e(-_0x2fc9c3._0xa04886,-0x1a2,-_0x2fc9c3._0x31534c,0x1c),'hover',_0x2d9822(_0x2fc9c3._0x5af64a,_0x2fc9c3._0x5b56e4,_0x2fc9c3._0x9fada7,0x38f),_0x2d9822(_0x2fc9c3._0x274b42,0x565,_0x2fc9c3._0x28edcc,0x3e2),_0x5cb59e(-_0x2fc9c3._0xaf72eb,-_0x2fc9c3._0x34f357,-_0x2fc9c3._0x20c4a7,-_0x2fc9c3._0x1971d1),_0x5cb59e(_0x2fc9c3._0x18d0ec,_0x2fc9c3._0x4049d8,0xc6,_0x2fc9c3._0x382402),_0x5cb59e(-_0x2fc9c3._0x411d03,0xde,_0x2fc9c3._0x4a6aa3,0x2b),'outgoingCalls','diagnostics']},'filePath':{'type':_0x5cb59e(-0x50,0xba,-0x40,_0x2fc9c3._0x6a4e75)},'line':{'type':_0x5cb59e(-_0x2fc9c3._0x1ed23b,-0x152,-0x119,0xb7)},'character':{'type':_0x5cb59e(-_0x2fc9c3._0x4e2c4e,-_0x2fc9c3._0x213e32,-0x1a5,-_0x2fc9c3._0x4585cf)},'query':{'type':_0x5cb59e(-_0x2fc9c3._0x28e36e,0x33,-_0x2fc9c3._0x3a059e,_0x2fc9c3._0x4a28f0)}},'required':[_0x5cb59e(-0x9c,-0x1,-0x96,0xc0),'filePath',_0x2d9822(0x417,_0x2fc9c3._0xb3451b,_0x2fc9c3._0x5191f5,0x31b),_0x2d9822(0x383,_0x2fc9c3._0x5624ba,0x3e2,_0x2fc9c3._0xec57a0)]},async *'execute'(_0x3fc2a0){const _0x187684=_0x189b7a['lspService'];if(!_0x187684)throw new ToolExecutionError(_0x1015d6(-_0x2328b9._0x1d5d93,-_0x2328b9._0x271299,-0x1fc,-0x1a3));if(!_0x187684[_0x1015d6(_0x2328b9._0x495004,0x85,-0x82,_0x2328b9._0x4bf00b)]())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x3f121d=_0x3fc2a0[_0x183dd(0x4d3,_0x2328b9._0x577bcd,_0x2328b9._0x1c1c0f,_0x2328b9._0x2b058b)];validatePosition(_0x3fc2a0[_0x1015d6(-_0x2328b9._0x3bc57d,-0x171,-_0x2328b9._0xd5bdaa,-0x156)],_0x3fc2a0['character']);if(_0x3f121d===_0x183dd(_0x2328b9._0x4b7424,0x6bc,_0x2328b9._0x49e223,0x5e2)){if(!_0x3fc2a0[_0x183dd(_0x2328b9._0x28afe3,_0x2328b9._0x1b8646,0x74b,_0x2328b9._0x1de9c8)]?.[_0x183dd(0x67f,_0x2328b9._0x1e9afe,0x4ac,0x5c1)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x433509=await _0x187684[_0x1015d6(-_0x2328b9._0x2ec49f,0x94,-_0x2328b9._0x487ae1,-0x8f)](_0x3fc2a0[_0x183dd(0x621,0x6d6,_0x2328b9._0x1cd5d8,0x6eb)][_0x183dd(_0x2328b9._0x2c3460,0x5f3,0x69a,0x5c1)]());return yield createToolOutput(formatSymbols(_0x433509),{'operation':_0x3f121d,'query':_0x3fc2a0[_0x1015d6(0x19d,_0x2328b9._0xb6a7a5,0x72,0x7a)],'symbols':_0x433509}),void 0x0;}const _0x245a84=resolveAllowedPath(_0x44befe,_0x376f0f,_0x3fc2a0[_0x1015d6(-_0x2328b9._0x526dc4,0xb5,-0xef,-0x38)]);function _0x183dd(_0x5a53c7,_0xa029f9,_0x164285,_0x2a5632){return _0x2d9822(_0x5a53c7-_0x2e7d6e._0x117b11,_0x164285,_0x164285-0x1bb,_0x2a5632-_0x2e7d6e._0x3ba2c7);}await assertFile(_0x245a84);if(!await _0x187684[_0x183dd(0x73b,_0x2328b9._0x7ca52,_0x2328b9._0x1829bc,_0x2328b9._0x5b3734)](_0x245a84))throw new ToolExecutionError(_0x183dd(0x61d,_0x2328b9._0x53dbf1,0x55a,0x648)+_0x3fc2a0['filePath'],{'filePath':_0x3fc2a0[_0x1015d6(-_0x2328b9._0x2f9886,-0x52,_0x2328b9._0x29d7b3,-_0x2328b9._0x57ddf6)]});function _0x1015d6(_0x41bbc0,_0xdd548c,_0xdce94a,_0x542a49){return _0x2d9822(_0x41bbc0-_0x1767cc._0x1eb403,_0x41bbc0,_0xdce94a-_0x1767cc._0x319df7,_0x542a49- -_0x1767cc._0x49c5c0);}await _0x187684['touchFile'](_0x245a84,!![]);const _0xc12566={'file':_0x245a84,'line':_0x3fc2a0[_0x1015d6(-_0x2328b9._0xb443c1,-0x275,-0x168,-0x156)]-0x1,'character':_0x3fc2a0[_0x1015d6(-0x7c,-0xe1,-_0x2328b9._0x2427a2,-0x1df)]-0x1};switch(_0x3f121d){case'hover':{const _0xebef98=await _0x187684[_0x1015d6(-0x212,-_0x2328b9._0x1d118f,-0x30e,-0x1dd)](_0xc12566);return yield createToolOutput(formatHover(_0xebef98),{'operation':_0x3f121d,'filePath':_0x245a84,'hover':_0xebef98}),void 0x0;}case'diagnostics':{const _0x7f37aa=await _0x187684[_0x183dd(_0x2328b9._0x53d8e3,0x5c7,0x5a9,0x455)](_0x245a84);return yield createToolOutput(formatDiagnostics(_0x7f37aa),{'operation':_0x3f121d,'filePath':_0x245a84,'diagnostics':_0x7f37aa}),void 0x0;}case _0x183dd(0x5bb,_0x2328b9._0x1068f5,0x5cd,0x676):{const _0x5378b2=await _0x187684[_0x1015d6(-_0x2328b9._0x323424,-_0x2328b9._0x3a5196,-_0x2328b9._0x18263f,-_0x2328b9._0xb6c681)](_0xc12566);return yield createToolOutput(formatLocations(_0x5378b2),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x5378b2}),void 0x0;}case _0x183dd(_0x2328b9._0x20dfd9,0x5fe,_0x2328b9._0x1440ce,0x523):{const _0x413071=await _0x187684[_0x183dd(_0x2328b9._0x3c4209,0x5cb,_0x2328b9._0x2ca663,0x64a)](_0xc12566);return yield createToolOutput(formatLocations(_0x413071),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x413071}),void 0x0;}case'goToImplementation':{const _0x4738b9=await _0x187684['implementation'](_0xc12566);return yield createToolOutput(formatLocations(_0x4738b9),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x4738b9}),void 0x0;}case _0x183dd(_0x2328b9._0xf2e567,_0x2328b9._0x1d99d5,0x57d,_0x2328b9._0x52a660):{const _0x16abfd=await _0x187684[_0x183dd(_0x2328b9._0x5bb737,0x5f2,_0x2328b9._0x188857,0x58f)](_0x245a84);return yield createToolOutput(formatSymbols(_0x16abfd),{'operation':_0x3f121d,'filePath':_0x245a84,'symbols':_0x16abfd}),void 0x0;}case _0x1015d6(-0x106,_0x2328b9._0x346fa8,0x14a,0x2):{const _0x2dd3cb=await _0x187684[_0x1015d6(0x14,0x2d,-0x90,_0x2328b9._0x1c558c)](_0xc12566);return yield createToolOutput(formatSymbols(_0x2dd3cb),{'operation':_0x3f121d,'filePath':_0x245a84,'symbols':toStructured(_0x2dd3cb)}),void 0x0;}case _0x183dd(0x647,_0x2328b9._0x4c708e,0x4ad,0x5cd):{const _0x420656=await _0x187684[_0x1015d6(0xb8,-_0x2328b9._0x241552,-0x202,-0xa4)](_0xc12566);return yield createToolOutput(formatIncomingCalls(_0x420656),{'operation':_0x3f121d,'filePath':_0x245a84,'calls':toStructured(_0x420656)}),void 0x0;}case _0x1015d6(-0x10b,_0x2328b9._0x533abd,_0x2328b9._0xba01e0,0x6e):{const _0x16c7ac=await _0x187684[_0x183dd(0x863,_0x2328b9._0x2e7d2b,0x6b2,0x6df)](_0xc12566);return yield createToolOutput(formatOutgoingCalls(_0x16c7ac),{'operation':_0x3f121d,'filePath':_0x245a84,'calls':toStructured(_0x16c7ac)}),void 0x0;}}}});}import{randomUUID as _0x311310}from'crypto';import{mkdir as _0x26bc97,readFile as _0x4d9f92,writeFile as _0x545c63}from'fs/promises';import{join as _0x2e1fbf}from'path';function sanitizeStorageKey(_0x57407a){const _0x1cf4ff={_0x341954:0x574,_0xc9b95c:0x517,_0x1c60d3:0x39e,_0x3581eb:0x35d,_0x269edc:0x408},_0x6dc13c={_0x152153:0xff};function _0x21f88b(_0x243506,_0x40d20f,_0x29facf,_0x3fda61){return _0x511d68(_0x243506-0xc2,_0x29facf- -0x83,_0x29facf-_0x6dc13c._0x152153,_0x40d20f);}function _0x49eff1(_0x1e295a,_0x3680a6,_0x247f8b,_0xb57d15){return _0x475ba1(_0x3680a6,_0x1e295a-0x4ae,_0x247f8b-0x1da,_0xb57d15-0x44);}return _0x57407a[_0x49eff1(0x49f,0x4bd,_0x1cf4ff._0x341954,0x32d)](/[^a-zA-Z0-9_]+/g,'_')[_0x21f88b(0x41d,_0x1cf4ff._0xc9b95c,0x3bb,_0x1cf4ff._0x1c60d3)](/^_+|_+$/g,'')||_0x49eff1(0x4ca,_0x1cf4ff._0x3581eb,0x627,_0x1cf4ff._0x269edc);}function storagePath(_0x415bf9){const _0x4fe508={_0x3fd877:0x231,_0x28a648:0x2f0,_0x5289b9:0x18e,_0x211825:0x3c4,_0xb77bcc:0x111,_0x40804e:0x122,_0x28eb60:0x68,_0x1b63d7:0x312,_0x5dc711:0x352},_0x1a8d0d={_0x409f8b:0xc9},_0x4fdf3c={_0x575eb3:0x4d2,_0x5bf641:0x1bb};function _0x4c9ffe(_0x6c8085,_0x44f70b,_0x21a55a,_0x4382fb){return _0x511d68(_0x6c8085-0x154,_0x4382fb- -_0x4fdf3c._0x575eb3,_0x21a55a-_0x4fdf3c._0x5bf641,_0x6c8085);}function _0x2e8e02(_0x43e617,_0x217590,_0x173b09,_0x10bac9){return _0x475ba1(_0x217590,_0x10bac9-0x197,_0x173b09-0x10a,_0x10bac9-_0x1a8d0d._0x409f8b);}const _0x24edd6=sanitizeStorageKey(_0x415bf9[_0x4c9ffe(0x251,_0x4fe508._0x3fd877,_0x4fe508._0x28a648,_0x4fe508._0x5289b9)][_0x2e8e02(0x48f,0x3b4,0x374,_0x4fe508._0x211825)]?.[_0x4c9ffe(_0x4fe508._0xb77bcc,_0x4fe508._0x40804e,0x91,_0x4fe508._0x28eb60)]??_0x415bf9['serverName']);return _0x2e1fbf(_0x415bf9[_0x2e8e02(0x252,0x1ed,0x2e9,_0x4fe508._0x1b63d7)],_0x24edd6+_0x2e8e02(_0x4fe508._0x5dc711,0x49d,0x514,0x3d3));}async function readStore(_0xc6cabb){const _0x46b7e8={_0x8f851:0x126,_0x5e34aa:0x356,_0x75dfbd:0x50,_0x25da44:0xf,_0x3ca604:0x10e,_0x670133:0x1b2,_0x2e18db:0x2,_0x3e8723:0x74},_0x3a7a0d={_0x4ce584:0x25,_0x17f766:0x3a1},_0x107d67={_0x4377ad:0x81};function _0x47a901(_0x446e1e,_0x39ccdd,_0x547aa7,_0x3a88f6){return _0x475ba1(_0x446e1e,_0x3a88f6- -_0x107d67._0x4377ad,_0x547aa7-0xb7,_0x3a88f6-0x162);}function _0x5a4899(_0x278675,_0xf7b8a4,_0x524c97,_0x3faf4f){return _0x511d68(_0x278675-_0x3a7a0d._0x4ce584,_0x3faf4f- -_0x3a7a0d._0x17f766,_0x524c97-0xb8,_0x278675);}try{return JSON[_0x47a901(0x170,_0x46b7e8._0x8f851,_0x46b7e8._0x5e34aa,0x20b)](await _0x4d9f92(_0xc6cabb,'utf8'));}catch(_0x50ae5a){if(_0x50ae5a instanceof Error&&'code'in _0x50ae5a&&_0x50ae5a[_0x47a901(-_0x46b7e8._0x75dfbd,-_0x46b7e8._0x25da44,-_0x46b7e8._0x3ca604,-0x23)]===_0x5a4899(_0x46b7e8._0x670133,_0x46b7e8._0x2e18db,0x57,_0x46b7e8._0x3e8723))return{};throw _0x50ae5a;}}async function writeStore(_0x58a05c,_0x35b173){const _0x5a1aff={_0x55c91c:0x385};function _0x3f36ba(_0x51ee35,_0x135c0e,_0x1df163,_0x11b5ec){return _0x475ba1(_0x1df163,_0x11b5ec-0x1e8,_0x1df163-0x176,_0x11b5ec-0x1a6);}await _0x26bc97(_0x2e1fbf(_0x58a05c,'..'),{'recursive':!![]}),await _0x545c63(_0x58a05c,JSON['stringify'](_0x35b173,null,0x2),_0x3f36ba(0x248,0x2df,_0x5a1aff._0x55c91c,0x3c9));}async function updateStore(_0x146938,_0x13b6af){const _0x4dbe11=await readStore(_0x146938);_0x13b6af(_0x4dbe11),await writeStore(_0x146938,_0x4dbe11);}function createMcpOAuthProvider(_0x2ab74e){const _0x106b15={_0x1f7a4f:0x30,_0x2588bf:0x114,_0x15ee41:0x31a,_0x952811:0x2bf,_0x38bb59:0x2b4,_0x32bc93:0x19b,_0x3c653f:0x2ab,_0x396c6a:0x20c,_0x455b2e:0x1a3,_0x16b21e:0x1aa,_0x288878:0x5a,_0x21b206:0x1cd,_0x11a5b1:0xd3,_0x439202:0xa1},_0x42a9e4={_0x586c45:0x401},_0x5b3dd4={_0xe593d8:0x437,_0x6eb44e:0x5fa,_0x1301ef:0x6aa,_0x5782c1:0x220,_0x2ee1be:0x112,_0x132e6f:0x170,_0x5ba993:0x14,_0x32e46a:0x2a5,_0x2cbb00:0x1c7,_0x42dbc8:0x1f6,_0x3e5710:0x51,_0x1e0eac:0x48,_0x35f015:0x6c9,_0x12c2ad:0x3ef,_0x31c7e9:0x55a,_0xe542a4:0x2d2,_0x421e3b:0x371,_0x2be9de:0x275},_0x41f4eb={_0x2e24d6:0x1f1,_0x5b5ccf:0x230,_0x385237:0x2c9},_0x2d3293={_0x2c3b98:0x187,_0x2649ef:0x16d,_0x47a4e7:0x267},_0x38e704={_0x482a2b:0x4a9,_0x3879e9:0x501},_0x389fac={_0x20e250:0x5b9,_0x13f9a1:0x538},_0x5ef74a={_0x5a5bad:0x123},_0x41a28a={_0x1df836:0x57c},_0x3be9fd={_0x4cdf83:0x1e2,_0x557531:0x100},_0x39d744={_0xb98dbd:0xae,_0x65104d:0x182},_0xa8b67={_0xab2bce:0x1be},_0x2921f8={_0x22c86c:0x2af,_0x41e5cc:0xf6},_0x51102b={_0x5e1f7b:0x1d9,_0x3933ab:0x22a,_0x3199ef:0x322},_0x2f6204={_0x554b9d:0x54c,_0x2048ce:0x1ab},_0x2a3a2d={_0x51c6ad:0x45,_0x14b9ef:0x360};function _0x1fe42a(_0xec83bd,_0x5926c5,_0x11d83c,_0x527889){return _0x511d68(_0xec83bd-_0x2a3a2d._0x51c6ad,_0xec83bd- -_0x2a3a2d._0x14b9ef,_0x11d83c-0xc0,_0x5926c5);}const _0x5e9762=storagePath(_0x2ab74e),_0x200287=_0x2ab74e[_0x389ed3(0x190,-_0x106b15._0x1f7a4f,0x2e,_0x106b15._0x2588bf)][_0x1fe42a(_0x106b15._0x15ee41,0x49c,_0x106b15._0x952811,_0x106b15._0x38bb59)]?.[_0x1fe42a(_0x106b15._0x32bc93,0xcc,_0x106b15._0x3c653f,0x129)]?.[_0x389ed3(0x21a,_0x106b15._0x396c6a,_0x106b15._0x455b2e,_0x106b15._0x16b21e)]('\x20');function _0x389ed3(_0xe863c,_0x63aeb9,_0x3fda52,_0x27028c){return _0x511d68(_0xe863c-0xe8,_0x27028c- -_0x2f6204._0x554b9d,_0x3fda52-_0x2f6204._0x2048ce,_0x63aeb9);}const _0x5bbfdc={'client_name':'Nuvin','redirect_uris':[_0x2ab74e[_0x389ed3(-0xe0,-0xbf,0x196,_0x106b15._0x288878)]],'grant_types':['authorization_code','refresh_token'],'response_types':[_0x389ed3(-_0x106b15._0x21b206,-_0x106b15._0x11a5b1,-0x133,-_0x106b15._0x439202)],'token_endpoint_auth_method':_0x1fe42a(0x294,0x13b,0x3fd,0x1f2),..._0x200287?{'scope':_0x200287}:{}};return{'clientMetadataUrl':_0x2ab74e['config']['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){return _0x2ab74e['callbackUrl'];},get 'clientMetadata'(){return _0x5bbfdc;},async 'state'(){const _0x42ff76={_0x1faaa4:0xd7,_0x29d0dc:0x84,_0x1bfe27:0x1ed},_0x2c8f2b=await readStore(_0x5e9762);if(_0x2c8f2b['state'])return _0x2c8f2b[_0x5e3216(_0x51102b._0x5e1f7b,_0x51102b._0x3933ab,0x1e1,_0x51102b._0x3199ef)];function _0x5e3216(_0x4bcfee,_0x415d48,_0x3812c8,_0x16f925){return _0x1fe42a(_0x3812c8- -_0x42ff76._0x1faaa4,_0x4bcfee,_0x3812c8-_0x42ff76._0x29d0dc,_0x16f925-_0x42ff76._0x1bfe27);}const _0x3ce0a9=_0x311310();return await updateStore(_0x5e9762,_0x2b3a99=>{_0x2b3a99['state']=_0x3ce0a9;}),_0x3ce0a9;},async 'clientInformation'(){function _0x7166e0(_0x7bfaf6,_0x2774df,_0x34d832,_0x3b8bea){return _0x1fe42a(_0x2774df- -_0x2921f8._0x22c86c,_0x3b8bea,_0x34d832-_0x2921f8._0x41e5cc,_0x3b8bea-0x33);}return(await readStore(_0x5e9762))[_0x7166e0(-_0xa8b67._0xab2bce,-0x4e,0xbd,-0xc2)];},async 'saveClientInformation'(_0x3313fb){await updateStore(_0x5e9762,_0x5a7c03=>{function _0x5e6ef7(_0x6817c4,_0x3503d4,_0x19e179,_0x38a8fd){return _0x4a14(_0x3503d4- -0x2c1,_0x19e179);}_0x5a7c03[_0x5e6ef7(-0x3a,_0x39d744._0xb98dbd,_0x39d744._0x65104d,0x1c9)]=_0x3313fb;});},async 'tokens'(){function _0x30e6f7(_0x9adc2e,_0x51d3b5,_0x59363c,_0x696e2b){return _0x389ed3(_0x9adc2e-_0x3be9fd._0x4cdf83,_0x51d3b5,_0x59363c-_0x3be9fd._0x557531,_0x9adc2e-0x3f6);}return(await readStore(_0x5e9762))[_0x30e6f7(0x48a,0x4e2,0x550,_0x41a28a._0x1df836)];},async 'saveTokens'(_0x29420c){const _0x4800bb={_0x2d3a41:0x8b,_0x104b9c:0x60};await updateStore(_0x5e9762,_0x448585=>{const _0x16bf97={_0x7f7658:0x303};function _0x24d377(_0x3a0ee8,_0x298531,_0x1604b6,_0x25dfe3){return _0x4a14(_0x3a0ee8- -_0x16bf97._0x7f7658,_0x1604b6);}_0x448585[_0x24d377(_0x4800bb._0x2d3a41,0x1a0,-0x6b,_0x4800bb._0x104b9c)]=_0x29420c;});},async 'redirectToAuthorization'(_0x19a081){function _0x35269d(_0x462c90,_0xd72047,_0x53a766,_0x43db63){return _0x389ed3(_0x462c90-0xae,_0x462c90,_0x53a766-_0x5ef74a._0x5a5bad,_0x43db63-0x37c);}await _0x2ab74e[_0x35269d(_0x389fac._0x20e250,0x5a2,0x583,_0x389fac._0x13f9a1)](_0x19a081);},async 'saveCodeVerifier'(_0x345bf5){await updateStore(_0x5e9762,_0x1893a4=>{function _0x49c84e(_0x4bd4ce,_0x4f25e9,_0x1e727e,_0x1a6979){return _0x4a14(_0x1e727e-0x389,_0x1a6979);}_0x1893a4[_0x49c84e(_0x38e704._0x482a2b,_0x38e704._0x3879e9,0x5ed,0x728)]=_0x345bf5;});},async 'codeVerifier'(){const _0x33c0cc={_0x47d328:0x191,_0x45b766:0x287},_0x24c6e6=(await readStore(_0x5e9762))[_0x3085fe(0xe3,_0x41f4eb._0x2e24d6,0x2a7,0x12e)];function _0x16a344(_0x88a4af,_0x268402,_0x4caa4d,_0x4f25d9){return _0x389ed3(_0x88a4af-_0x2d3293._0x2c3b98,_0x88a4af,_0x4caa4d-_0x2d3293._0x2649ef,_0x4f25d9-_0x2d3293._0x47a4e7);}function _0x3085fe(_0x3ea4f9,_0x8ff66,_0x359980,_0x52ebe3){return _0x389ed3(_0x3ea4f9-_0x33c0cc._0x47d328,_0x359980,_0x359980-0x181,_0x8ff66-_0x33c0cc._0x45b766);}if(!_0x24c6e6)throw new Error(_0x3085fe(0x121,_0x41f4eb._0x5b5ccf,_0x41f4eb._0x385237,0x20c));return _0x24c6e6;},async 'invalidateCredentials'(_0x239c4d){await updateStore(_0x5e9762,_0x5c4e7c=>{(_0x239c4d===_0x2092af(0x4c2,0x562,0x55a,_0x5b3dd4._0xe593d8)||_0x239c4d===_0x2092af(_0x5b3dd4._0x6eb44e,0x51e,0x58c,_0x5b3dd4._0x1301ef))&&(_0x5c4e7c[_0x21a6b6(0x1db,0xb6,0x12c,_0x5b3dd4._0x5782c1)]=void 0x0);(_0x239c4d===_0x21a6b6(-_0x5b3dd4._0x2ee1be,_0x5b3dd4._0x132e6f,_0x5b3dd4._0x5ba993,-0xf4)||_0x239c4d===_0x21a6b6(0x1bf,_0x5b3dd4._0x32e46a,0x14b,0x277))&&(_0x5c4e7c['tokens']=void 0x0);function _0x21a6b6(_0x2f4f7b,_0xd00dbb,_0x1a1777,_0x347a7a){return _0x4a14(_0x1a1777- -0x243,_0x2f4f7b);}function _0x2092af(_0x412340,_0x1cab71,_0x4f7a18,_0x53bef4){return _0x4a14(_0x4f7a18-0x303,_0x412340);}(_0x239c4d===_0x2092af(0x594,0x48f,0x55a,0x591)||_0x239c4d===_0x21a6b6(_0x5b3dd4._0x2cbb00,0x12b,_0x5b3dd4._0x42dbc8,0x2f5))&&(_0x5c4e7c[_0x21a6b6(0x92,-_0x5b3dd4._0x3e5710,0x21,-_0x5b3dd4._0x1e0eac)]=void 0x0,_0x5c4e7c[_0x2092af(0x66b,0x7c9,_0x5b3dd4._0x35f015,0x6a8)]=void 0x0),(_0x239c4d===_0x2092af(_0x5b3dd4._0x12c2ad,0x4e5,_0x5b3dd4._0x31c7e9,0x448)||_0x239c4d===_0x21a6b6(_0x5b3dd4._0xe542a4,_0x5b3dd4._0x421e3b,_0x5b3dd4._0x2be9de,0x1a7))&&(_0x5c4e7c[_0x2092af(0x46f,0x41a,0x584,0x52c)]=void 0x0);});},async 'saveDiscoveryState'(_0x32d882){const _0x44a27f={_0x150098:0x17d};await updateStore(_0x5e9762,_0x1ca06e=>{function _0xd72bd8(_0x2f7390,_0x1061c3,_0x76da32,_0x481085){return _0x4a14(_0x1061c3- -0x218,_0x76da32);}_0x1ca06e[_0xd72bd8(0x1ab,0x69,_0x44a27f._0x150098,0x168)]=_0x32d882;});},async 'discoveryState'(){const _0x2ccb6b={_0xa253ea:0xcd};function _0x4f1285(_0x5db514,_0x148a25,_0x462fd8,_0x274311){return _0x389ed3(_0x5db514-_0x2ccb6b._0xa253ea,_0x462fd8,_0x462fd8-0xf9,_0x5db514-0x3d6);}return(await readStore(_0x5e9762))[_0x4f1285(0x35d,_0x42a9e4._0x586c45,0x2dc,0x389)];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x3333e0,_0x15c8b5){const _0x49cdee={_0xfe194f:0x2cb,_0x236bda:0x3a3},_0x5a2baa={_0x5373f4:0x79},_0xd7a735={_0x3d7a8d:0x150,_0x46f408:0x413,_0x46c4f9:0x129};function _0x598803(_0x4a848d,_0x1a22de,_0x3ace9f,_0xbddaaf){return _0x511d68(_0x4a848d-_0xd7a735._0x3d7a8d,_0x4a848d- -_0xd7a735._0x46f408,_0x3ace9f-_0xd7a735._0x46c4f9,_0x1a22de);}const _0x33c91e=_0x1290e1=>_0x1290e1['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x598803(0x2b,-0xe,0x17f,-0x6f)](/^_+|_+$/g,'');function _0x37d8ed(_0x435552,_0x327263,_0x343ab0,_0x30b800){return _0x475ba1(_0x327263,_0x30b800-0x64,_0x343ab0-0xa7,_0x30b800-_0x5a2baa._0x5373f4);}return _0x598803(_0x49cdee._0xfe194f,0x30c,0x32a,_0x49cdee._0x236bda)+_0x33c91e(_0x3333e0)+'_'+_0x33c91e(_0x15c8b5);}function isObject(_0x53e660){const _0x579fd7={_0x380896:0x31,_0x7ad5cf:0x10c,_0x5ec4f9:0x14b},_0x14caf3={_0x2a13ac:0xbb,_0x5044c8:0x155};function _0xb104b1(_0x3cda7c,_0x27ade7,_0x49e4be,_0x117885){return _0x475ba1(_0x49e4be,_0x3cda7c- -_0x14caf3._0x2a13ac,_0x49e4be-_0x14caf3._0x5044c8,_0x117885-0x132);}return typeof _0x53e660==='object'&&_0x53e660!==null&&!Array[_0xb104b1(_0x579fd7._0x380896,_0x579fd7._0x7ad5cf,0x54,-_0x579fd7._0x5ec4f9)](_0x53e660);}function toSupportedSchema(_0x3baa58){const _0x14f99f={_0x4843e2:0x113,_0x575cc0:0x31c,_0x3fb433:0x1f4,_0x5a9c55:0x66e,_0x552c62:0x6be,_0x352f51:0x27f,_0x21d348:0x1b7,_0x4ae9f5:0x207,_0x187989:0x2b9,_0x5a45bd:0x24f,_0x5c2b43:0x4b9,_0x5e35ca:0x426,_0x3cc559:0x3ba,_0x23263b:0x301,_0x2889c4:0x20d,_0x4d3e14:0x3aa,_0x494f7e:0x29d,_0x54dd28:0x3e4,_0x2974ea:0x34b,_0x42c015:0x363,_0x140171:0x145,_0x58f101:0x2b3,_0x87ab8:0x26a,_0x2c0dad:0x489,_0x6abc73:0x5df,_0x449cd3:0x706,_0x291daa:0x3dd,_0x2759db:0x658},_0x1df6e2={_0x9a4dce:0x447,_0x578cdd:0x1bf},_0x1d0f8d={_0x2006cd:0xe4,_0x4119b3:0x112,_0x2885b7:0x1cf};if(!isObject(_0x3baa58))return void 0x0;if(_0x3baa58['type']===_0x555cfb(0x261,_0x14f99f._0x4843e2,_0x14f99f._0x575cc0,_0x14f99f._0x3fb433))return{'type':'string'};if(_0x3baa58[_0xe811cc(0x61c,_0x14f99f._0x5a9c55,_0x14f99f._0x552c62,0x4a4)]===_0x555cfb(_0x14f99f._0x352f51,_0x14f99f._0x21d348,_0x14f99f._0x4ae9f5,0x342)||_0x3baa58[_0x555cfb(_0x14f99f._0x187989,0x1c1,_0x14f99f._0x5a45bd,0x2a5)]===_0xe811cc(_0x14f99f._0x5c2b43,_0x14f99f._0x5e35ca,0x431,_0x14f99f._0x3cc559))return{'type':_0x555cfb(_0x14f99f._0x352f51,_0x14f99f._0x23263b,_0x14f99f._0x2889c4,_0x14f99f._0x4d3e14)};function _0x555cfb(_0x14593b,_0x8cd7eb,_0xc97079,_0x4c9157){return _0x475ba1(_0xc97079,_0x14593b-_0x1d0f8d._0x2006cd,_0xc97079-_0x1d0f8d._0x4119b3,_0x4c9157-_0x1d0f8d._0x2885b7);}if(_0x3baa58['type']===_0x555cfb(_0x14f99f._0x494f7e,_0x14f99f._0x54dd28,_0x14f99f._0x2974ea,_0x14f99f._0x42c015))return{'type':'boolean'};function _0xe811cc(_0x26499e,_0x44349e,_0x2c3f44,_0x1242fd){return _0x475ba1(_0x1242fd,_0x26499e-_0x1df6e2._0x9a4dce,_0x2c3f44-0x2e,_0x1242fd-_0x1df6e2._0x578cdd);}if(_0x3baa58['type']===_0x555cfb(0x27c,_0x14f99f._0x140171,0x24d,0x274))return{'type':'array','items':toSupportedSchema(_0x3baa58[_0x555cfb(_0x14f99f._0x58f101,0x161,0x282,_0x14f99f._0x87ab8)])??{'type':_0xe811cc(0x5c4,_0x14f99f._0x2c0dad,_0x14f99f._0x6abc73,_0x14f99f._0x449cd3)}};if(_0x3baa58[_0x555cfb(0x2b9,0x30b,0x40e,_0x14f99f._0x291daa)]===_0xe811cc(0x60d,_0x14f99f._0x2759db,0x4f1,0x607))return toNuvinToolSchema(_0x3baa58);return void 0x0;}function toNuvinToolSchema(_0x608ab3){const _0x167400={_0x52acfc:0x2cf,_0x702c1c:0x414,_0x3e8259:0x34c,_0x453067:0x405,_0x3b8823:0x590,_0x39fd86:0x4c1,_0x44cb07:0x3d3,_0x307f01:0x482,_0x4bd2e1:0x3e3,_0x1976e6:0x56e,_0x273fb1:0x4b4,_0x410cf6:0x24f,_0x1b8f8b:0x3be,_0x5da62c:0x3d0,_0x26f54b:0x2b8,_0x8fe9e5:0x4d0,_0x540b60:0x36e,_0x1cc877:0x581,_0xba2012:0x51e,_0x25fd87:0x4d5},_0x1e1195={_0x581a71:0x109},_0x24d53c={_0x59604:0x13f};if(!isObject(_0x608ab3)||_0x608ab3[_0x29e97d(_0x167400._0x52acfc,0x3a1,0x2d5,_0x167400._0x702c1c)]!==_0x29e97d(_0x167400._0x3e8259,0x28f,0x55c,_0x167400._0x453067))return{'type':'object','properties':{}};const _0x2b3bbb={},_0x416f91=isObject(_0x608ab3[_0x55a698(_0x167400._0x3b8823,0x6a1,0x552,0x44a)])?_0x608ab3[_0x55a698(0x3d3,_0x167400._0x39fd86,0x552,0x408)]:{};for(const [_0x402be6,_0xfd1d59]of Object[_0x55a698(0x375,0x523,0x46a,_0x167400._0x44cb07)](_0x416f91)){const _0x142a27=toSupportedSchema(_0xfd1d59);if(_0x142a27)_0x2b3bbb[_0x402be6]=_0x142a27;}function _0x55a698(_0x4cc86f,_0x43340c,_0xd75324,_0x256a7a){return _0x475ba1(_0x43340c,_0xd75324-0x30f,_0xd75324-_0x24d53c._0x59604,_0x256a7a-0x19b);}const _0x1992b5=Array['isArray'](_0x608ab3[_0x55a698(0x4af,_0x167400._0x307f01,0x584,0x476)])?_0x608ab3[_0x29e97d(0x455,_0x167400._0x4bd2e1,_0x167400._0x1976e6,_0x167400._0x273fb1)]['filter'](_0xf21b0b=>typeof _0xf21b0b===_0x29e97d(0x47e,0x488,0x3d0,0x3bc)):void 0x0;function _0x29e97d(_0x5023b6,_0x1752ef,_0x272046,_0x3cc6fe){return _0x475ba1(_0x5023b6,_0x3cc6fe-0x23f,_0x272046-0x6,_0x3cc6fe-_0x1e1195._0x581a71);}return _0x1992b5?.[_0x55a698(_0x167400._0x410cf6,_0x167400._0x1b8f8b,_0x167400._0x5da62c,_0x167400._0x26f54b)]?{'type':_0x55a698(_0x167400._0x8fe9e5,_0x167400._0x540b60,0x4d5,0x3a7),'properties':_0x2b3bbb,'required':_0x1992b5}:{'type':_0x55a698(_0x167400._0x1cc877,_0x167400._0xba2012,_0x167400._0x25fd87,0x436),'properties':_0x2b3bbb};}function isJsonObject(_0x215a7e){const _0x1c2e07={_0x1cafde:0x17a},_0x59592f={_0x5e7f5b:0x1b6,_0x40d776:0xf};function _0xd57a43(_0x3bb615,_0x45e586,_0xbf5bd,_0x31d701){return _0x511d68(_0x3bb615-_0x59592f._0x5e7f5b,_0xbf5bd- -0x32c,_0xbf5bd-_0x59592f._0x40d776,_0x31d701);}return typeof _0x215a7e===_0xd57a43(0x1e2,_0x1c2e07._0x1cafde,0x2e7,0x18f)&&_0x215a7e!==null&&!Array['isArray'](_0x215a7e);}function formatMcpContent(_0x4479be){const _0x4f1118={_0x52ccdc:0x2b0,_0x2d72d5:0x83,_0x790d90:0x325,_0x74a9d8:0x15b,_0x185487:0x1ff,_0xb8856b:0x2a0,_0x14ef80:0x2b7,_0x15fa4a:0x362,_0x2d9d1e:0x3fc},_0x2cbf5c={_0x3ba26f:0x2e3,_0x2d0367:0x150},_0x40d620={_0x2c5156:0x32f,_0x59c0fd:0x497,_0x543e72:0x299,_0x146af7:0x14d,_0x1a2a54:0x391,_0x576c7b:0x38b,_0x5272bb:0x2fe,_0x57410e:0x3d7,_0x406721:0x28e,_0x8b1a3f:0x269},_0x1d96d0={_0x3643e3:0xee,_0x2a8919:0xed,_0x168703:0x1b9},_0x4559d1={_0x8b61c9:0x32e},_0x5b878a=Array['isArray'](_0x4479be[_0x1aa696(_0x4f1118._0x52ccdc,0x1ff,_0x4f1118._0x2d72d5,_0x4f1118._0x790d90)])?_0x4479be[_0x1aa696(_0x4f1118._0x74a9d8,_0x4f1118._0x185487,0x1e5,0x18c)]:[];function _0x1897a8(_0x3ddabd,_0x20cd5c,_0x1afc60,_0x500ada){return _0x475ba1(_0x1afc60,_0x3ddabd-_0x4559d1._0x8b61c9,_0x1afc60-0x160,_0x500ada-0xde);}const _0x4e4c23=_0x5b878a['map'](_0x242eb7=>{function _0x36508e(_0x11ce27,_0x19fcc6,_0x3ca501,_0xe2504d){return _0x1aa696(_0x11ce27-0x6f,_0x11ce27- -0xb5,_0x3ca501-0x160,_0x3ca501);}function _0x5356cc(_0x53b185,_0x32b3dc,_0x53f45c,_0x3768dc){return _0x1897a8(_0x32b3dc- -_0x1d96d0._0x3643e3,_0x32b3dc-_0x1d96d0._0x2a8919,_0x53b185,_0x3768dc-_0x1d96d0._0x168703);}if(!isObject(_0x242eb7))return'';if(_0x242eb7[_0x5356cc(_0x40d620._0x2c5156,0x415,_0x40d620._0x59c0fd,_0x40d620._0x543e72)]===_0x5356cc(0x4b3,0x3a5,0x3dc,0x454)&&typeof _0x242eb7[_0x36508e(0x21a,_0x40d620._0x146af7,_0x40d620._0x1a2a54,_0x40d620._0x576c7b)]===_0x36508e(0x232,0x1bc,0x20a,_0x40d620._0x5272bb))return _0x242eb7[_0x5356cc(_0x40d620._0x57410e,0x3a5,0x3bd,_0x40d620._0x406721)];return JSON[_0x36508e(0x2c9,_0x40d620._0x8b1a3f,0x419,0x17c)](_0x242eb7);})['filter'](_0x4b3837=>_0x4b3837[_0x1897a8(0x3ef,0x554,0x281,0x547)]>0x0)[_0x1aa696(0x40d,0x413,_0x4f1118._0xb8856b,_0x4f1118._0x14ef80)]('\x0a');function _0x1aa696(_0x4d733d,_0x56af92,_0x589868,_0x31b166){return _0x511d68(_0x4d733d-0x99,_0x56af92- -_0x2cbf5c._0x3ba26f,_0x589868-_0x2cbf5c._0x2d0367,_0x31b166);}if(_0x4e4c23['length']>0x0)return _0x4e4c23;return JSON[_0x1aa696(_0x4f1118._0x15fa4a,0x37e,0x444,_0x4f1118._0x2d9d1e)](_0x4479be,null,0x2);}function createMcpTool(_0x571a99){const _0x34cbc2={_0x3b2e66:0x526,_0x213768:0x572,_0x14c1d8:0x2f6,_0x4932ca:0x1ac,_0x27d03b:0x2b5,_0x4a54cd:0x3c8,_0x15cf01:0x2ca,_0x44d8ac:0x3b1,_0x4a13ee:0x473,_0x534254:0x649,_0x71d7a3:0x850,_0x1fa03e:0x8e8,_0x387f9d:0x850},_0x64f7e9={_0x4c3e6f:0x1cc,_0x475839:0x108,_0x4c3564:0x543,_0x3a4839:0x3f5,_0x3260c0:0x508,_0x37150f:0x438,_0x2061a3:0x159,_0x5965b7:0xc4,_0x227475:0xcb,_0x55fb97:0x6c,_0x225774:0x1,_0x39729e:0x3da,_0x591072:0x432,_0x1d9fd9:0x2c5,_0x209b7d:0x10b,_0x393cf2:0x452,_0x40d258:0x3e0},_0x1da581={_0x3c6c71:0xb0,_0x2e9d32:0x131,_0x54ae51:0x434},_0x4431c6={_0x294183:0xfa},_0x48f4eb={_0x5a8f59:0xd3};function _0x22433f(_0x19bf82,_0x3ae2a0,_0x2fdd39,_0x3f7b1c){return _0x511d68(_0x19bf82-0x39,_0x2fdd39- -0x1bc,_0x2fdd39-0x1aa,_0x3f7b1c);}const _0x8811b0=createMcpToolName(_0x571a99['serverName'],_0x571a99[_0x22433f(0x3ee,0x47e,_0x34cbc2._0x3b2e66,_0x34cbc2._0x213768)][_0x22433f(0x29d,_0x34cbc2._0x14c1d8,0x3b3,0x4d8)]);function _0x3428ff(_0x426f83,_0x294a5b,_0x45a903,_0xbab510){return _0x475ba1(_0x426f83,_0xbab510-0x5d7,_0x45a903-0xab,_0xbab510-_0x48f4eb._0x5a8f59);}return defineTool({'name':_0x8811b0,'description':_0x571a99['tool'][_0x22433f(0x37e,_0x34cbc2._0x4932ca,_0x34cbc2._0x27d03b,0x1a1)]??_0x22433f(_0x34cbc2._0x4a54cd,_0x34cbc2._0x15cf01,_0x34cbc2._0x44d8ac,0x4c4)+_0x571a99[_0x22433f(_0x34cbc2._0x4a13ee,_0x34cbc2._0x534254,_0x34cbc2._0x3b2e66,0x596)]['name']+'\x20from\x20'+_0x571a99[_0x3428ff(_0x34cbc2._0x71d7a3,0x7da,0x88f,0x831)],'inputSchema':toNuvinToolSchema(_0x571a99[_0x3428ff(_0x34cbc2._0x1fa03e,_0x34cbc2._0x387f9d,0x7de,0x86c)]['inputSchema']),async *'execute'(_0x3433f4){function _0x41d9c3(_0x355320,_0x52611a,_0xc56970,_0x438c8a){return _0x22433f(_0x355320-0x156,_0x52611a-_0x4431c6._0x294183,_0x355320- -0x3e0,_0x438c8a);}const _0x1f5dd2=await _0x571a99[_0x41d9c3(-0xc1,-_0x64f7e9._0x4c3e6f,-_0x64f7e9._0x475839,-0x23d)][_0x47d238(_0x64f7e9._0x4c3564,0x40f,0x388,_0x64f7e9._0x3a4839)]({'name':_0x571a99[_0x47d238(_0x64f7e9._0x3260c0,0x52d,0x3c5,_0x64f7e9._0x37150f)][_0x41d9c3(-0x2d,-_0x64f7e9._0x2061a3,-_0x64f7e9._0x5965b7,-0x104)],'arguments':isJsonObject(_0x3433f4)?_0x3433f4:{}});function _0x47d238(_0x23ccf8,_0x58abe1,_0x448d0e,_0x24e34d){return _0x3428ff(_0x448d0e,_0x58abe1-_0x1da581._0x3c6c71,_0x448d0e-_0x1da581._0x2e9d32,_0x24e34d- -_0x1da581._0x54ae51);}if(_0x1f5dd2[_0x41d9c3(0x75,0x1b5,_0x64f7e9._0x227475,-_0x64f7e9._0x55fb97)])throw new ToolExecutionError(formatMcpContent(_0x1f5dd2),{'serverName':_0x571a99['serverName'],'toolName':_0x571a99[_0x41d9c3(0x146,_0x64f7e9._0x225774,0x15f,0x1fb)][_0x47d238(0x1b1,_0x64f7e9._0x39729e,_0x64f7e9._0x591072,_0x64f7e9._0x1d9fd9)]});return yield createToolOutput(formatMcpContent(_0x1f5dd2),{'serverName':_0x571a99[_0x41d9c3(_0x64f7e9._0x209b7d,0x1ae,0xb8,0xf9)],'toolName':_0x571a99[_0x47d238(_0x64f7e9._0x393cf2,0x2e7,_0x64f7e9._0x40d258,0x438)]['name'],'result':_0x1f5dd2}),void 0x0;}});}function resolvePrefix(_0x1c9c7e,_0x5c4b0a){const _0x566b38={_0x116830:0x3bb,_0x3bcd22:0x27f,_0x5d0d15:0x2bf};function _0x29ead0(_0xd99314,_0x2413b2,_0x3ba01d,_0x4b1716){return _0x475ba1(_0x4b1716,_0x3ba01d-0x232,_0x3ba01d-0x22,_0x4b1716-0xe8);}return _0x5c4b0a[_0x29ead0(_0x566b38._0x116830,_0x566b38._0x3bcd22,_0x566b38._0x5d0d15,0x31b)]??_0x1c9c7e;}function buildMcpHttpHeaders(_0x5935da){const _0x3abef0={_0x43746e:0x3d4,_0x163295:0x618,_0x59899b:0x535,_0x564221:0x64b,_0xf8c006:0x689,_0x3cdbf2:0x416,_0xcf163e:0x565,_0x36b3c1:0x59d,_0x1d4cd4:0x514,_0x30e3b:0x611,_0x5914f6:0x5bb,_0x15d4b5:0x790,_0x25fab6:0x833,_0xda1ca3:0x65f,_0x52d81a:0x64f,_0x2183b9:0x63a,_0x103383:0x64f,_0x15c3a7:0x3f6,_0x110af2:0x57a,_0x3e3764:0x6cb,_0x49efea:0x6de,_0x237d86:0x64d,_0x11c886:0x66f,_0x7745e9:0x6d8},_0x7a2ad={_0x33d4f2:0xec},_0x5afea7={..._0x5935da[_0x39ec77(_0x3abef0._0x43746e,0x54d,_0x3abef0._0x163295,0x699)]??{}};function _0x39ec77(_0x262e2c,_0x143e2f,_0x1c4b41,_0x4cbd19){return _0x511d68(_0x262e2c-_0x7a2ad._0x33d4f2,_0x143e2f-0x45,_0x1c4b41-0x18c,_0x1c4b41);}_0x5935da[_0x5c29ae(0x5c6,_0x3abef0._0x59899b,_0x3abef0._0x564221,_0x3abef0._0xf8c006)]?.['type']===_0x5c29ae(_0x3abef0._0x3cdbf2,_0x3abef0._0xcf163e,_0x3abef0._0x36b3c1,_0x3abef0._0x1d4cd4)&&_0x5935da[_0x39ec77(0x660,_0x3abef0._0x30e3b,_0x3abef0._0x5914f6,_0x3abef0._0x15d4b5)][_0x5c29ae(0x7cb,0x788,_0x3abef0._0x25fab6,0x6d8)]&&_0x5afea7[_0x39ec77(_0x3abef0._0xda1ca3,_0x3abef0._0x52d81a,0x53f,0x758)]===void 0x0&&(_0x5afea7[_0x39ec77(_0x3abef0._0x2183b9,_0x3abef0._0x103383,0x61b,0x797)]=_0x39ec77(_0x3abef0._0x15c3a7,_0x3abef0._0x110af2,0x4de,_0x3abef0._0x3e3764)+_0x5935da[_0x5c29ae(0x6ef,0x510,0x7d7,0x689)][_0x5c29ae(_0x3abef0._0x49efea,_0x3abef0._0x237d86,_0x3abef0._0x11c886,_0x3abef0._0x7745e9)]);function _0x5c29ae(_0x3986f2,_0x395ca4,_0x72b485,_0x42ed23){return _0x475ba1(_0x3986f2,_0x42ed23-0x50a,_0x72b485-0xcf,_0x42ed23-0x140);}return Object['keys'](_0x5afea7)['length']>0x0?_0x5afea7:void 0x0;}function getErrorMessage(_0xf4d637){const _0x6f24e3={_0x5537eb:0x563},_0x3a6475={_0x2a1dc9:0x2e7,_0x3cbe9b:0x152};function _0x37742d(_0x13a91c,_0x52eb05,_0x5b4278,_0x95ec27){return _0x475ba1(_0x5b4278,_0x52eb05-_0x3a6475._0x2a1dc9,_0x5b4278-0x12c,_0x95ec27-_0x3a6475._0x3cbe9b);}return _0xf4d637 instanceof Error?_0xf4d637[_0x37742d(0x349,0x3f3,0x2b9,_0x6f24e3._0x5537eb)]:String(_0xf4d637);}function isUnauthorizedError(_0x2220d3){const _0x3650d5={_0x2d4bc3:0x765,_0x7c9f2c:0x606},_0x73cb65={_0x4fff88:0x51f,_0x3b3ac4:0xb6},_0x2daf8e={_0xfc6b8d:0x5e2,_0x172a1d:0x1ae};function _0xcbca6f(_0x122c7c,_0x18ecdc,_0x295f04,_0x5b982c){return _0x475ba1(_0x18ecdc,_0x295f04-_0x2daf8e._0xfc6b8d,_0x295f04-0x155,_0x5b982c-_0x2daf8e._0x172a1d);}function _0x2e786e(_0x20dc0b,_0x4b2ea4,_0x32565b,_0x449f89){return _0x511d68(_0x20dc0b-0x18b,_0x32565b- -_0x73cb65._0x4fff88,_0x32565b-_0x73cb65._0x3b3ac4,_0x4b2ea4);}return _0x2220d3 instanceof Error&&_0x2220d3['constructor'][_0xcbca6f(0x5bb,0x6d6,0x704,0x6d6)]===_0xcbca6f(0x83b,0x836,_0x3650d5._0x2d4bc3,_0x3650d5._0x7c9f2c);}async function connectMcpServer(_0x3e5a7d,_0x54c4ae,_0x3d52c7){const _0x3712f0={_0x35b608:0x628,_0x23913c:0x677,_0x19115e:0x3f4,_0x25b71:0x472,_0x451099:0x4b8,_0x375c59:0x45d,_0x15be74:0x544,_0xd24def:0x4f7,_0x49d214:0x519,_0x56554c:0x35d,_0x5ae886:0x331,_0x5c6d3c:0x3a5,_0x4fb046:0x4dd,_0x50d3a3:0x6d7,_0x970538:0x61c,_0xdbe929:0x7d8,_0x33def4:0x4ef,_0x1000b7:0x50d,_0x4323fc:0x6c2,_0x115fb3:0x48e,_0x115247:0x716,_0x440174:0x598,_0x18ea3b:0x7aa,_0xb651b0:0x7a1,_0x3747d9:0x4ea,_0xef3962:0x51d,_0xa84a21:0x6fc,_0xe655db:0x600,_0x479332:0x64a,_0xdd61fc:0x615,_0xc8aa2d:0x7aa,_0x510838:0x7c2,_0x57804a:0x52e,_0x4d5148:0x5c5,_0x24b15a:0x6d6,_0x51563b:0x855,_0x3d56bf:0x6d3,_0x5aebbe:0x6f8,_0x985910:0x5e2,_0x47ceae:0x5aa,_0x13e2fd:0x815,_0x3f9d8a:0x407,_0x4f7575:0x5f3,_0x2a909a:0x3bb,_0x36dcc2:0x3fd,_0x4d1160:0x56e,_0x3371e1:0x5d0,_0x8f4cf0:0x44d,_0x233ffa:0x4ca,_0x5ee11a:0x59a,_0x16f42e:0x4b7,_0x2c8bd3:0x64b,_0x2190d3:0x50f,_0x3c81f3:0x589,_0x259b42:0x90e},_0x5c3af4={_0x32ab1f:0x1d6,_0x47b5c7:0x72},_0x33f9f1={_0x142649:0x109},_0x12c495={_0x3b1c6b:0x1bc},_0x3920f0={_0xc51d5f:0x38a,_0x57f9ea:0x1a6},_0x2ac5f4={_0x4ca1d3:0xca},_0x3756a1={_0x3de186:0x45e,_0x5378e4:0x3d2,_0x4610fa:0x484,_0x4b5854:0x3ec,_0x10481e:0x46f,_0x23b37f:0x4eb,_0x284bb4:0x618,_0x1cf1c4:0x621,_0x4568d0:0x37c,_0x4643cc:0x3a2,_0x41210a:0x31e},_0x547c94={_0xf93719:0x1fb,_0x237a48:0x53},_0x338157=new Client({'name':_0x6699e3(_0x3712f0._0x35b608,0x63f,0x72d,_0x3712f0._0x23913c),'version':'0.0.0'});_0x338157[_0x59b57d(_0x3712f0._0x19115e,0x2b8,0x3e1,_0x3712f0._0x25b71)]=_0x12c27d=>{const _0x1090b0={_0x1d2413:0x9e};function _0x4372ca(_0x13b0d2,_0x1248d3,_0x3f8cea,_0x4bb35e){return _0x59b57d(_0x13b0d2-_0x1090b0._0x1d2413,_0x1248d3-0x106,_0x3f8cea- -0x1b1,_0x1248d3);}function _0x2eadfa(_0x2701a8,_0x16665c,_0x214c2e,_0x32fccb){return _0x6699e3(_0x32fccb- -_0x547c94._0xf93719,_0x16665c-0x98,_0x214c2e-_0x547c94._0x237a48,_0x16665c);}console[_0x4372ca(_0x3756a1._0x3de186,_0x3756a1._0x5378e4,0x42e,_0x3756a1._0x4610fa)](_0x2eadfa(_0x3756a1._0x4b5854,0x57d,_0x3756a1._0x10481e,0x535)+_0x3e5a7d+_0x2eadfa(_0x3756a1._0x23b37f,0x79e,_0x3756a1._0x284bb4,_0x3756a1._0x1cf1c4),_0x12c27d[_0x4372ca(_0x3756a1._0x4568d0,_0x3756a1._0x4643cc,_0x3756a1._0x41210a,0x2d7)]);};function _0x6699e3(_0x28eb13,_0x2f1a53,_0x51ce44,_0x5de93f){return _0x511d68(_0x28eb13-0x193,_0x28eb13-0x130,_0x51ce44-0xed,_0x5de93f);}if(_0x54c4ae['transport']===_0x59b57d(0x46c,_0x3712f0._0x451099,_0x3712f0._0x375c59,_0x3712f0._0x15be74)||_0x54c4ae[_0x59b57d(_0x3712f0._0xd24def,0x3d5,0x3a5,_0x3712f0._0x49d214)]){if(!_0x54c4ae[_0x59b57d(_0x3712f0._0x56554c,_0x3712f0._0x5ae886,_0x3712f0._0x5c6d3c,_0x3712f0._0x4fb046)])throw new Error(_0x6699e3(_0x3712f0._0x50d3a3,_0x3712f0._0x970538,_0x3712f0._0xdbe929,0x7d3)+_0x3e5a7d+_0x59b57d(0x3f4,_0x3712f0._0x33def4,0x51b,_0x3712f0._0x1000b7));if(_0x54c4ae[_0x6699e3(0x6fc,_0x3712f0._0x4323fc,0x75b,0x6ce)]?.[_0x59b57d(_0x3712f0._0x115fb3,_0x3712f0._0x115247,_0x3712f0._0x440174,0x6bd)]===_0x6699e3(_0x3712f0._0x18ea3b,0x8af,_0x3712f0._0xb651b0,0x81a)&&!_0x3d52c7?.[_0x59b57d(0x647,0x4c9,0x5f0,0x608)])throw new Error(_0x59b57d(_0x3712f0._0x3747d9,0x579,_0x3712f0._0xef3962,0x3e9)+_0x3e5a7d+'\x20requires\x20OAuth\x20connection\x20options');const _0x50e5e7=buildMcpHttpHeaders(_0x54c4ae),_0x56ccfd=_0x54c4ae[_0x6699e3(_0x3712f0._0xa84a21,0x69d,0x769,0x74a)]?.[_0x6699e3(0x752,_0x3712f0._0xe655db,_0x3712f0._0x479332,_0x3712f0._0xdd61fc)]===_0x6699e3(_0x3712f0._0xc8aa2d,_0x3712f0._0x510838,0x67b,0x880)&&_0x3d52c7?.[_0x59b57d(_0x3712f0._0x57804a,_0x3712f0._0x4d5148,0x5f0,0x5e1)]?createMcpOAuthProvider({'serverName':_0x3e5a7d,'callbackUrl':_0x3d52c7['oauth'][_0x6699e3(_0x3712f0._0x24b15a,0x770,0x737,0x6f1)],'storageDir':_0x3d52c7[_0x6699e3(_0x3712f0._0x18ea3b,_0x3712f0._0x51563b,0x891,_0x3712f0._0x3d56bf)][_0x6699e3(_0x3712f0._0x5aebbe,_0x3712f0._0x985910,0x84f,_0x3712f0._0x47ceae)],'config':_0x54c4ae[_0x6699e3(_0x3712f0._0xa84a21,0x739,_0x3712f0._0x13e2fd,0x5f6)],'onRedirect':_0x5e381d=>_0x3d52c7[_0x59b57d(0x546,0x675,0x5f0,0x51f)]?.[_0x6699e3(0x838,0x9a1,0x736,0x941)](_0x3e5a7d,_0x5e381d)}):void 0x0,_0x59c0ed=new StreamableHTTPClientTransport(new URL(_0x54c4ae[_0x6699e3(0x55f,0x628,_0x3712f0._0x3f9d8a,0x4c2)]),{'authProvider':_0x56ccfd,'requestInit':_0x50e5e7?{'headers':_0x50e5e7}:void 0x0});await _0x338157[_0x59b57d(_0x3712f0._0x4f7575,0x6a2,0x67f,0x76e)](_0x59c0ed);}else{if(!_0x54c4ae[_0x59b57d(_0x3712f0._0x2a909a,0x3fe,0x3fc,_0x3712f0._0x36dcc2)])throw new Error(_0x59b57d(0x50c,_0x3712f0._0x4d1160,_0x3712f0._0xef3962,_0x3712f0._0x3371e1)+_0x3e5a7d+_0x6699e3(0x595,_0x3712f0._0x8f4cf0,0x621,_0x3712f0._0x233ffa));const _0x5b467c=new StdioClientTransport({'command':_0x54c4ae['command'],'args':_0x54c4ae[_0x59b57d(0x571,_0x3712f0._0x5ee11a,0x47d,_0x3712f0._0x16f42e)]??[],'env':_0x54c4ae[_0x6699e3(_0x3712f0._0x2c8bd3,0x70b,_0x3712f0._0x2190d3,_0x3712f0._0x3c81f3)],'stderr':_0x6699e3(0x7fa,0x834,_0x3712f0._0x259b42,0x7f1)});await _0x338157[_0x6699e3(0x839,0x71c,0x7a5,0x7e1)](_0x5b467c);}function _0x59b57d(_0x3bc00b,_0x5c7036,_0x4d1eed,_0x461c8d){return _0x511d68(_0x3bc00b-_0x2ac5f4._0x4ca1d3,_0x4d1eed- -0x8a,_0x4d1eed-0x44,_0x461c8d);}return{async 'listTools'(){const _0x3c5a09={_0x5274b5:0xf7,_0x4c3e81:0xbf};function _0x33b0e8(_0x3997e8,_0x389bfe,_0x2ce420,_0x451b7d){return _0x59b57d(_0x3997e8-0xd5,_0x389bfe-_0x3c5a09._0x5274b5,_0x389bfe- -_0x3c5a09._0x4c3e81,_0x3997e8);}return await _0x338157[_0x33b0e8(0x3c8,0x32b,_0x3920f0._0xc51d5f,_0x3920f0._0x57f9ea)]();},async 'callTool'(_0x3c9f3e){function _0x1161da(_0x3e710c,_0x6c45af,_0xfeedc5,_0xc3615a){return _0x6699e3(_0x6c45af- -0x6e7,_0x6c45af-0x11d,_0xfeedc5-_0x12c495._0x3b1c6b,_0xfeedc5);}return await _0x338157[_0x1161da(0xc6,0x6c,0x1,_0x33f9f1._0x142649)]({'method':'tools/call','params':_0x3c9f3e},CallToolResultSchema);},async 'close'(){const _0x3e8b6b={_0x21bc4d:0x126,_0x25fd80:0x159};function _0x544482(_0x1c2e15,_0x39419d,_0x757fde,_0x43948e){return _0x6699e3(_0x39419d- -0x627,_0x39419d-_0x3e8b6b._0x21bc4d,_0x757fde-_0x3e8b6b._0x25fd80,_0x1c2e15);}await _0x338157[_0x544482(-_0x5c3af4._0x32ab1f,-_0x5c3af4._0x47b5c7,-0x1ef,0xb2)]();}};}async function createMcpToolsFromServers(_0x19a918){const _0x5a536d={_0x9ba87a:0x2fd,_0x28a10d:0x3e3,_0x2dbde7:0x2f5,_0x3b5199:0x321,_0x1db118:0x52,_0x11b420:0x139,_0x19c4a1:0x1ae,_0x4e5d87:0x275,_0x502078:0x3a0,_0x4981f4:0x343,_0x55eab8:0x91,_0x37c33f:0x1ed,_0x1f4713:0x3ec,_0x1d39c:0x19f,_0x474ecb:0x47,_0x40ac32:0xb9,_0x1f6d3d:0x2f5,_0x3ae283:0x75,_0x11297f:0x1ea,_0x23e663:0x1aa,_0x17b1e0:0x3fc,_0x40f032:0x16,_0x3c4b22:0x13b,_0x5df74f:0x23c,_0x546400:0x1db,_0x12243b:0xb5,_0x510d9e:0x49d,_0x2babb4:0x236,_0x425047:0x489,_0x534763:0x6f,_0x2d997c:0x11c,_0x4635c5:0x89,_0xe5682d:0x25f,_0x1b11aa:0x27b,_0x3b094e:0x3e2,_0x1256b2:0x285},_0x1a93d2={_0x3bfb74:0x3e4,_0x44fb87:0x2ec,_0xaad28d:0xa9,_0x3351b8:0x245,_0x322f34:0x212},_0x1531b4={_0x186142:0x107},_0x25e8d8=_0x19a918[_0x27456a(_0x5a536d._0x9ba87a,0x339,0x3e5,0x400)]??connectMcpServer;function _0x27456a(_0x57342d,_0x29ca8c,_0x50515c,_0xa1174f){return _0x475ba1(_0x57342d,_0x29ca8c-0x7d,_0x50515c-0x16a,_0xa1174f-_0x1531b4._0x186142);}const _0x37d8c0=[],_0x2dd449={};function _0x598ae9(_0x2130e7,_0x753b9c,_0x2eef65,_0x25efe6){return _0x475ba1(_0x25efe6,_0x2eef65-0x1c6,_0x2eef65-0x12e,_0x25efe6-0x37);}const _0x57e8a6={},_0x31cbdb=[];for(const [_0x12eba8,_0x2e54ab]of Object[_0x598ae9(_0x5a536d._0x28a10d,_0x5a536d._0x2dbde7,_0x5a536d._0x3b5199,0x3ab)](_0x19a918['servers']??{})){if(_0x2e54ab['enabled']===![]){_0x2dd449[_0x12eba8]={'status':_0x27456a(_0x5a536d._0x1db118,_0x5a536d._0x11b420,0x152,0xdc)};continue;}try{const _0x47a587=await _0x25e8d8(_0x12eba8,_0x2e54ab,_0x19a918[_0x27456a(_0x5a536d._0x19c4a1,_0x5a536d._0x4e5d87,_0x5a536d._0x502078,0x12a)]);_0x37d8c0['push'](_0x47a587);const _0x540607=await _0x47a587[_0x598ae9(_0x5a536d._0x4981f4,_0x5a536d._0x55eab8,_0x5a536d._0x37c33f,0x15b)]();let _0x253ef5=0x0;const _0x2e07ab=[];for(const _0x508df3 of _0x540607[_0x598ae9(_0x5a536d._0x1f4713,0x23f,0x269,0x2cb)]){const _0x21c9f5=_0x19a918['allowedTools']?.[_0x12eba8]?.[_0x508df3[_0x27456a(0xba,_0x5a536d._0x1d39c,0x259,0xc4)]];_0x2e07ab[_0x27456a(0xfc,_0x5a536d._0x474ecb,-0x67,-_0x5a536d._0x40ac32)]({'name':_0x508df3['name'],..._0x508df3['description']!==void 0x0?{'description':_0x508df3[_0x598ae9(_0x5a536d._0x1f6d3d,_0x5a536d._0x3ae283,_0x5a536d._0x11297f,_0x5a536d._0x23e663)]}:{},..._0x508df3[_0x598ae9(_0x5a536d._0x17b1e0,0x30d,0x2d3,0x442)]!==void 0x0?{'inputSchema':_0x508df3[_0x27456a(_0x5a536d._0x3ae283,0x18a,_0x5a536d._0x40f032,_0x5a536d._0x3c4b22)]}:{}});if(_0x21c9f5===![])continue;_0x253ef5+=0x1,_0x31cbdb[_0x598ae9(_0x5a536d._0x5df74f,_0x5a536d._0x546400,0x190,_0x5a536d._0x12243b)](createMcpTool({'serverName':resolvePrefix(_0x12eba8,_0x2e54ab),'tool':_0x508df3,'client':_0x47a587}));}_0x57e8a6[_0x12eba8]=_0x2e07ab,_0x2dd449[_0x12eba8]={'status':_0x598ae9(_0x5a536d._0x510d9e,_0x5a536d._0x2babb4,0x37a,_0x5a536d._0x425047),'toolCount':_0x253ef5};}catch(_0x5b2f07){_0x2dd449[_0x12eba8]=isUnauthorizedError(_0x5b2f07)?{'status':_0x27456a(0x1d,_0x5a536d._0x534763,_0x5a536d._0x2d997c,_0x5a536d._0x4635c5),'message':getErrorMessage(_0x5b2f07)}:{'status':_0x598ae9(_0x5a536d._0xe5682d,_0x5a536d._0x1b11aa,_0x5a536d._0x3b094e,_0x5a536d._0x1256b2),'message':getErrorMessage(_0x5b2f07)};}}return{'tools':_0x31cbdb,'servers':_0x2dd449,'serverTools':_0x57e8a6,async 'close'(){const _0x19f7e2={_0x464279:0x1c1};function _0x4ee3fa(_0x470d94,_0x1c33fc,_0x2e6e29,_0x36ba23){return _0x598ae9(_0x470d94-0x63,_0x1c33fc-0xc2,_0x470d94-0x1c2,_0x2e6e29);}function _0x3281b2(_0x36978b,_0x24ebae,_0x3a069a,_0x30b48e){return _0x598ae9(_0x36978b-0x18,_0x24ebae-_0x19f7e2._0x464279,_0x36978b- -0xe1,_0x3a069a);}await Promise[_0x4ee3fa(_0x1a93d2._0x3bfb74,0x2c6,0x266,_0x1a93d2._0x44fb87)](_0x37d8c0[_0x3281b2(0x1eb,_0x1a93d2._0xaad28d,_0x1a93d2._0x3351b8,_0x1a93d2._0x322f34)](_0xd7b5de=>_0xd7b5de[_0x4ee3fa(0x3c0,0x2e9,0x393,0x4e7)]()));}};}function getCommand(_0x176318){const _0x5624e0={_0x5a5288:0x6a,_0x40742e:0x4f,_0x22ba3d:0x177,_0x39221f:0x26e,_0x69b472:0x239,_0xa1e7b6:0x16a,_0x3afd33:0x17c,_0x465c21:0xea,_0x4b6ae7:0x1c0,_0x213aa5:0x70},_0x542e8a={_0x1cbc7a:0x2cb,_0x4d4101:0x1ac};if(_0x176318&&typeof _0x176318===_0x20569e(_0x5624e0._0x5a5288,0x191,_0x5624e0._0x40742e,_0x5624e0._0x22ba3d)&&!Array[_0x55846c(_0x5624e0._0x39221f,0x3ad,_0x5624e0._0x69b472,_0x5624e0._0xa1e7b6)](_0x176318)&&typeof _0x176318['command']===_0x20569e(0x21,_0x5624e0._0x3afd33,-0x1c,-_0x5624e0._0x465c21))return _0x176318['command'];function _0x55846c(_0x586a45,_0x2dfecd,_0x30e5a0,_0x5d25d8){return _0x511d68(_0x586a45-0x124,_0x586a45- -_0x542e8a._0x1cbc7a,_0x30e5a0-_0x542e8a._0x4d4101,_0x30e5a0);}function _0x20569e(_0x13ef73,_0xc724f3,_0x49005b,_0x50fe9c){return _0x511d68(_0x13ef73-0x194,_0x13ef73- -0x5a9,_0x49005b-0x154,_0x50fe9c);}return _0x55846c(_0x5624e0._0x4b6ae7,0x271,_0x5624e0._0x213aa5,0xdd);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x511d68(0x4af,0x627,0x540,0x659),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0x475ba1(0x3d,0x57,0x1ae,-0x6d),_0x475ba1(-0x16,0x5,0x55,-0x47),_0x475ba1(0x3cc,0x2b6,0x1fd,0x393),_0x475ba1(-0x52,0x12d,-0x33,0x1f6),_0x511d68(0x60a,0x528,0x5f2,0x56b),'src/models/mock-model.ts','src/tools/mock-tool-runtime.ts',_0x511d68(0x638,0x511,0x63a,0x647),_0x511d68(0x797,0x692,0x7bc,0x6d6),_0x475ba1(0x286,0x253,0x396,0x1b4),_0x475ba1(0x4,0x143,0x189,-0x3),_0x511d68(0x52f,0x678,0x594,0x563),_0x475ba1(0x122,0xc3,0xba,0x1ac),_0x475ba1(-0x3a,0xf,0xc4,-0xf0)][_0x511d68(0x75a,0x6f6,0x6bf,0x71f)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x511d68(0x5b3,0x6fc,0x809,0x6f8),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':'object','properties':{'command':{'type':_0x475ba1(0x280,0x17d,0x9a,0x152)}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x341704){return{'output':_0x341704,'structured':{'value':_0x341704}};}function createUnknownToolResult(_0x131750){const _0x3eca43={_0x240a42:0x3f3,_0x1d390e:0x540,_0x2cffee:0x4ea,_0x1e43dd:0x46e,_0x39f292:0x306,_0x1d2810:0x120,_0x2c685d:0x1d8},_0x5402ed={_0x14bcc5:0x66,_0x205275:0x7b},_0x2c02e5={_0x36c8ec:0x95};function _0x5ced30(_0x229394,_0x59338d,_0x5a45d1,_0x5c4ab9){return _0x511d68(_0x229394-0x2d,_0x5c4ab9- -_0x2c02e5._0x36c8ec,_0x5a45d1-0x1ca,_0x229394);}function _0x5edc27(_0x36e0fe,_0x426737,_0x15f016,_0x5c78d3){return _0x475ba1(_0x5c78d3,_0x36e0fe-_0x5402ed._0x14bcc5,_0x15f016-_0x5402ed._0x205275,_0x5c78d3-0xdb);}return{'callId':_0x131750['id'],'toolName':_0x131750[_0x5ced30(_0x3eca43._0x240a42,_0x3eca43._0x1d390e,0x52a,0x4da)],'status':_0x5edc27(0x282,0x326,0x38c,0x352),'output':_0x5ced30(0x2f9,0x473,_0x3eca43._0x2cffee,_0x3eca43._0x1e43dd)+_0x131750[_0x5edc27(0x188,_0x3eca43._0x39f292,_0x3eca43._0x1d2810,_0x3eca43._0x2c685d)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x514a34,_0x1ba222){const _0x48a1ba={_0x3e513a:0x147,_0x336d8d:0x319},_0x3baaf9={_0x40e276:0x87,_0x1ef262:0x409,_0x15b532:0x23},_0x3794ad={_0x48d102:0x1a};function _0x3a914f(_0x3d8aa7,_0x56f5b5,_0x1070f8,_0x53caf1){return _0x475ba1(_0x1070f8,_0x53caf1-0x119,_0x1070f8-0x39,_0x53caf1-_0x3794ad._0x48d102);}function _0x1dcd80(_0x10ceed,_0x32584b,_0x5394cf,_0x3804d9){return _0x511d68(_0x10ceed-_0x3baaf9._0x40e276,_0x5394cf- -_0x3baaf9._0x1ef262,_0x5394cf-_0x3baaf9._0x15b532,_0x10ceed);}return{'callId':_0x514a34['id'],'toolName':_0x514a34[_0x1dcd80(0xba,0x62,0x166,_0x48a1ba._0x3e513a)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x514a34[_0x3a914f(0x35e,0x2f6,0x324,_0x48a1ba._0x336d8d)]),'exitCode':0x0},'chunks':[_0x1ba222],'meta':createMeta()};}function createMockToolRuntime(){const _0x24f21a={_0x303392:0x5b,_0x2161a3:0x1d3,_0xa1e0ea:0x2fa,_0x2cee2d:0x1b8,_0x2514a2:0x312,_0x50b6ea:0x3b6,_0x5f26dd:0x262},_0x5a715a={_0x535622:0x9f},_0x5620cd={_0x302b6e:0x4da,_0x59e2cc:0x609},_0x244be9={_0x534b59:0x244},_0x4da553=async(_0x5e8017,_0x4b83ed)=>{if(_0x5e8017[_0x59727d(_0x5620cd._0x302b6e,0x480,_0x5620cd._0x59e2cc,0x561)]!=='Bash')return createUnknownToolResult(_0x5e8017);function _0x59727d(_0x472fcb,_0x2d9703,_0x3105e6,_0x4ab7d7){return _0x4a14(_0x4ab7d7-_0x244be9._0x534b59,_0x3105e6);}const _0x748056=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x5e8017,_0x748056);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x17fad8,_0x4a436e){const _0x50950c={_0x59f597:0x2ea};function _0x1acc48(_0x438b32,_0x2b23d8,_0xe7372b,_0x164096){return _0x4a14(_0x164096- -_0x50950c._0x59f597,_0xe7372b);}function _0x24cfc8(_0x1ab142,_0x86b5dc,_0x491453,_0x55c65b){return _0x4a14(_0x55c65b- -_0x5a715a._0x535622,_0x491453);}return await Promise[_0x24cfc8(_0x24f21a._0x303392,_0x24f21a._0x2161a3,_0x24f21a._0xa1e0ea,_0x24f21a._0x2cee2d)](_0x17fad8[_0x24cfc8(_0x24f21a._0x2514a2,0x331,_0x24f21a._0x50b6ea,_0x24f21a._0x5f26dd)](async _0x505eb5=>{return await _0x4da553(_0x505eb5,_0x4a436e);}));},async 'execute'(_0x3edf59,_0x39b649){return await _0x4da553(_0x3edf59,_0x39b649);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x110251={_0x4a5d75:0x623,_0x5575b5:0x635},_0x3e253b={_0x29a2db:0x7d};delegatedRunCounter+=0x1;function _0x1dbba0(_0x3460fe,_0x45f2b6,_0x44c904,_0x11b0e7){return _0x475ba1(_0x11b0e7,_0x44c904-0x551,_0x44c904-_0x3e253b._0x29a2db,_0x11b0e7-0x12e);}return _0x1dbba0(0x608,0x590,_0x110251._0x4a5d75,_0x110251._0x5575b5)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x310177,_0x4bb98d){return typeof _0x310177==='function'?await _0x310177(_0x4bb98d):_0x310177;}function getDelegatedAgentDefinition(_0x339380,_0x185c29){const _0xc62295={_0xb65ff9:0x39e,_0x59d596:0x2f3},_0x1972a8={_0x190b15:0x251,_0x5855dc:0x13f};function _0x4a0910(_0x224c6d,_0x1ee504,_0x33684b,_0x5033fd){return _0x475ba1(_0x224c6d,_0x5033fd-_0x1972a8._0x190b15,_0x33684b-_0x1972a8._0x5855dc,_0x5033fd-0x31);}return _0x339380[_0x4a0910(_0xc62295._0xb65ff9,0x2e9,0x206,_0xc62295._0x59d596)]?.[_0x185c29];}function createRunSummary(_0x5066b2){const _0x405c4c={_0x1d8a5f:0x3c5,_0x3d17b2:0x1b2,_0x31f7a1:0x336,_0x1e5fb4:0x3ae,_0xbca9be:0x111,_0x241cc4:0x68e,_0x276415:0x5b4,_0xa5b7a2:0x184,_0x5f158f:0x43f,_0x36af52:0x527,_0x12048c:0x497,_0x2cdf3c:0x470},_0x3c8078={_0x473c95:0x1d6,_0x119163:0x1b,_0x8f2847:0x140},_0x1f4f98={_0x5bd71c:0xac,_0x19576c:0x78};function _0xcb08be(_0x4a6a30,_0x1ec3f5,_0x511bdf,_0x52b1f2){return _0x475ba1(_0x52b1f2,_0x4a6a30-0x213,_0x511bdf-_0x1f4f98._0x5bd71c,_0x52b1f2-_0x1f4f98._0x19576c);}function _0x324dad(_0x2d9daa,_0x1964f8,_0x620d2d,_0x3e3cac){return _0x511d68(_0x2d9daa-_0x3c8078._0x473c95,_0x2d9daa- -_0x3c8078._0x119163,_0x620d2d-_0x3c8078._0x8f2847,_0x1964f8);}return{'runId':_0x5066b2[_0x324dad(0x5d8,0x5a3,0x5aa,0x707)],'agentId':_0x5066b2['agentId'],'sessionId':_0x5066b2['sessionId'],'status':_0x5066b2['status'],'parentSessionId':_0x5066b2[_0xcb08be(0x30a,_0x405c4c._0x1d8a5f,0x3c6,0x1ac)],..._0x5066b2[_0xcb08be(0x23f,_0x405c4c._0x3d17b2,_0x405c4c._0x31f7a1,_0x405c4c._0x1e5fb4)]!==void 0x0?{'originToolCallId':_0x5066b2[_0xcb08be(0x23f,0x1a9,0x105,_0x405c4c._0xbca9be)]}:{},..._0x5066b2[_0x324dad(_0x405c4c._0x241cc4,_0x405c4c._0x276415,0x65f,0x7f4)]!==void 0x0?{'errorMessage':_0x5066b2['errorMessage']}:{},..._0x5066b2['result']?.[_0xcb08be(0x278,_0x405c4c._0xa5b7a2,0x277,0x254)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x5066b2[_0x324dad(_0x405c4c._0x5f158f,_0x405c4c._0x36af52,0x3cb,0x51b)][_0x324dad(_0x405c4c._0x12048c,0x517,_0x405c4c._0x2cdf3c,0x47b)])}:{}};}function createRunSummaryOutput(_0x33dbae,_0x3f97ed){const _0x2ff908={_0x4c03c9:0x1ac,_0x44ad2f:0xc9,_0x1d3d5a:0xd,_0x346f94:0x24b,_0x54d592:0x268,_0x336e14:0x1b5,_0x112fce:0x1d7};function _0x209016(_0x3902ff,_0x20a162,_0x14dfcd,_0x20a99d){return _0x475ba1(_0x14dfcd,_0x20a99d-0x14d,_0x14dfcd-0xae,_0x20a99d-0x18e);}const _0x58eb02=createRunSummary(_0x33dbae),_0x1a9249=_0x58eb02[_0x42424d(0x50,_0x2ff908._0x4c03c9,_0x2ff908._0x44ad2f,_0x2ff908._0x1d3d5a)];function _0x42424d(_0x34ff6e,_0x41786d,_0x207cb5,_0x1b4e3d){return _0x511d68(_0x34ff6e-0x1ae,_0x207cb5- -0x415,_0x207cb5-0xb7,_0x41786d);}return createToolOutput(typeof _0x1a9249===_0x42424d(_0x2ff908._0x346f94,_0x2ff908._0x54d592,_0x2ff908._0x336e14,0x1df)&&_0x1a9249[_0x42424d(0x153,0x17b,0xf9,_0x2ff908._0x112fce)]>0x0?_0x1a9249:_0x3f97ed,_0x58eb02);}function getRunTerminalErrorMessage(_0x572434){const _0x1eefe5={_0x1a8ac3:0x2a5,_0x2b6fbb:0x1e3,_0x1f08d7:0xb6,_0x163e5f:0xbe,_0x3f7237:0xc6,_0x1e99db:0xb9,_0x41b8aa:0x2a,_0x44dd54:0xba,_0x4161b5:0xc0,_0x4f29c1:0x100,_0x4b2c45:0x112,_0x2db451:0x7f,_0x48cea5:0x5e,_0x365fdf:0x2},_0xadb2ad={_0x20276f:0x103,_0x51427a:0x628,_0x730d9f:0xa6},_0x3fb509={_0x245bb6:0x10b,_0x1bb18e:0x123,_0x4820e2:0x6a},_0x4d256b=_0x572434?.[_0x241aeb(0x2d6,0x211,_0x1eefe5._0x1a8ac3,_0x1eefe5._0x2b6fbb)][_0x5e9d32(-_0x1eefe5._0x1f08d7,_0x1eefe5._0x163e5f,-_0x1eefe5._0x3f7237,-0x5)]['at'](-0x1);function _0x241aeb(_0x5d8cf9,_0x108c62,_0x299d13,_0x4b9a59){return _0x475ba1(_0x108c62,_0x5d8cf9-_0x3fb509._0x245bb6,_0x299d13-_0x3fb509._0x1bb18e,_0x4b9a59-_0x3fb509._0x4820e2);}function _0x5e9d32(_0x1fddf4,_0x4196bd,_0x5d9c59,_0x26fedc){return _0x511d68(_0x1fddf4-_0xadb2ad._0x20276f,_0x5d9c59- -_0xadb2ad._0x51427a,_0x5d9c59-_0xadb2ad._0x730d9f,_0x4196bd);}if(_0x4d256b?.[_0x5e9d32(-0xdc,_0x1eefe5._0x1e99db,-_0x1eefe5._0x41b8aa,_0x1eefe5._0x44dd54)]===_0x5e9d32(0x99,-_0x1eefe5._0x4161b5,0x41,_0x1eefe5._0x4f29c1)&&_0x4d256b[_0x241aeb(0x1c0,_0x1eefe5._0x4b2c45,0x29a,_0x1eefe5._0x2db451)]['trim']()['length']>0x0)return _0x4d256b[_0x5e9d32(_0x1eefe5._0x48cea5,-_0x1eefe5._0x365fdf,-0x126,-0x175)];return void 0x0;}function formatAbortedRunMessage(_0x2a602f,_0x253321){const _0x59acb8={_0x4dd4bd:0xbf,_0x4aa778:0x18,_0x3cec98:0x57,_0x16137e:0x7f,_0x1e758c:0x41,_0x2bcedb:0xa7,_0x388ae1:0x4fd,_0xf78755:0x305},_0x1c6db7={_0x5c951e:0x2ba,_0xcfc08d:0x62,_0x1334ba:0x99};function _0x9f86fb(_0xbf2efd,_0x5953f0,_0x4dae9f,_0x48b70a){return _0x475ba1(_0x5953f0,_0x4dae9f-_0x1c6db7._0x5c951e,_0x4dae9f-_0x1c6db7._0xcfc08d,_0x48b70a-_0x1c6db7._0x1334ba);}const _0xf9554e=_0x9f86fb(0x47a,0x3b4,0x40d,0x428)+_0x2a602f+_0x5b61a9(0x23e,0x187,_0x59acb8._0x4dd4bd,0x12d);function _0x5b61a9(_0x393c39,_0x2464c4,_0x3ce8a4,_0x866944){return _0x475ba1(_0x2464c4,_0x3ce8a4- -0x1a,_0x3ce8a4-0x3e,_0x866944-0x59);}if(!_0x253321||_0x253321[_0x5b61a9(_0x59acb8._0x4aa778,-_0x59acb8._0x3cec98,0x10c,0xe0)]()[_0x5b61a9(-_0x59acb8._0x16137e,_0x59acb8._0x1e758c,_0x59acb8._0x2bcedb,0x136)]===0x0||_0x253321===_0xf9554e)return _0xf9554e;return _0xf9554e+_0x9f86fb(_0x59acb8._0x388ae1,_0x59acb8._0xf78755,0x443,0x537)+_0x253321;}function createAssignTaskTool(_0x49efc3){const _0x1cd458={_0x45852a:0x83,_0x3f3bb0:0x244,_0x415f59:0x29f,_0xfdd649:0x1bb,_0x2cd9e1:0x196,_0x3aa9a2:0x2cd,_0x484f56:0x185,_0x2439e4:0x14f,_0x585656:0x112,_0x39d98a:0x1c,_0x13ce43:0x12a,_0x1032ac:0x80,_0x249e08:0x3},_0x422c2f={_0x3846a4:0x544,_0x7cd472:0x621,_0x375595:0x252,_0x14ad68:0xf7,_0x5d1da5:0x1dd,_0x1cbd07:0x184,_0x3a0106:0x14b,_0x202f0e:0xe9,_0x122abb:0x20,_0x214dc3:0xe1,_0x40cbd3:0x550,_0x9157ac:0x4da,_0x32e3d5:0x634,_0x2ae740:0x63,_0x1939b5:0x55b,_0x565bc1:0x55a,_0x3c03ae:0x535,_0x3f1a9f:0x123,_0x19c8c4:0x289,_0x52821d:0x4f,_0x1e9945:0x122,_0x1a7085:0x58e,_0x3e5afa:0x4c0,_0x1ca276:0x27d,_0x46f627:0x33,_0x135fb3:0x4e5,_0x182d7a:0x354,_0x1e341f:0x10f,_0x6347c3:0x1ab,_0x10f6ec:0x6a,_0x386e30:0x128,_0x4fe9d7:0x162,_0x515997:0x679,_0x12a81b:0x185,_0xb198a2:0x174,_0x3d4888:0x456,_0x31fb37:0x26,_0x2d0d63:0x256,_0x15ecce:0x64d,_0x2c9581:0x5e7,_0x5d74c4:0x25d,_0xf9ef2e:0x4d7,_0x1d2b21:0x62f,_0x4626a9:0x23d,_0xb213ec:0xc2,_0x4ebee9:0x183,_0x130b96:0x11a,_0x9b089d:0x3d,_0x595a33:0xe,_0x1bc0cc:0x429,_0x208d2b:0xd,_0x48a709:0x16a,_0x20dff1:0xc8,_0x36f7df:0x1ba,_0x3e62d9:0x129,_0x2edf5b:0x5b8,_0xb94c9c:0x629,_0x14d141:0x6c2,_0x13870f:0x6c9,_0x25835a:0x5f5,_0x55c1d7:0xc1},_0x4bbdc6={_0x33d13e:0xdb,_0x39e3fa:0xd9},_0x36ad4d={_0xde134:0x1e3,_0x5dec34:0x14a};function _0x12bc70(_0x22a033,_0x5a891b,_0x1f11fc,_0x10af6e){return _0x475ba1(_0x10af6e,_0x1f11fc- -0xd9,_0x1f11fc-_0x36ad4d._0xde134,_0x10af6e-_0x36ad4d._0x5dec34);}function _0x167f69(_0x89c42a,_0x413614,_0x4ea404,_0x375622){return _0x475ba1(_0x375622,_0x4ea404-0x19,_0x4ea404-_0x4bbdc6._0x33d13e,_0x375622-_0x4bbdc6._0x39e3fa);}return defineTool({'name':_0x12bc70(0xf3,-0x3f,0x7b,_0x1cd458._0x45852a),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion','inputSchema':{'type':_0x167f69(_0x1cd458._0x3f3bb0,_0x1cd458._0x415f59,0x1df,_0x1cd458._0xfdd649),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x167f69(0xc0,0x1f8,_0x1cd458._0x2cd9e1,_0x1cd458._0x3aa9a2)},'task':{'type':_0x12bc70(-0xd6,_0x1cd458._0x484f56,0xa4,0x11d)}},'required':[_0x167f69(_0x1cd458._0x2439e4,-_0x1cd458._0x585656,-0xf,-0x190),_0x167f69(-_0x1cd458._0x39d98a,_0x1cd458._0x13ce43,0x3d,-0x129),_0x167f69(-0x14a,-_0x1cd458._0x1032ac,_0x1cd458._0x249e08,-0x158)]},async *'execute'(_0x23c2b0,_0x28b2b4){const _0x4198b2={_0x2acebe:0x12c,_0x532f57:0x108,_0x15ee2b:0xa},_0x56d4b1={_0x23936f:0xf1,_0x11ca35:0x3d,_0x68008c:0x1e,_0x5e814b:0x4c},_0x57a8c2={_0x3f78e8:0x5fa,_0xf66683:0x20},_0x416df2={_0x8874ef:0x1d6},_0x5939db=createDelegatedRunId();function _0x53a867(_0x45b857,_0x3363d6,_0x5669f0,_0x5d978a){return _0x12bc70(_0x45b857-0x16e,_0x3363d6-_0x416df2._0x8874ef,_0x3363d6-0x4eb,_0x45b857);}const _0x37dedc={'agentId':_0x23c2b0['agentId'],'parentSessionId':_0x28b2b4[_0x53a867(_0x422c2f._0x3846a4,0x4da,_0x422c2f._0x7cd472,0x587)],'runId':_0x5939db,..._0x28b2b4['toolCallId']!==void 0x0?{'toolCallId':_0x28b2b4['toolCallId']}:{}},_0x433b58=getDelegatedAgentDefinition(_0x49efc3,_0x23c2b0[_0x26284f(-_0x422c2f._0x375595,0x32,-_0x422c2f._0x14ad68,-_0x422c2f._0x5d1da5)]);if(!_0x433b58)throw new ToolExecutionError('Unknown\x20delegated\x20agent:\x20'+_0x23c2b0['agentId'],{'agentId':_0x23c2b0[_0x26284f(-_0x422c2f._0x1cbd07,-_0x422c2f._0x3a0106,-_0x422c2f._0x14ad68,-_0x422c2f._0x202f0e)]});const _0x4740f7=new Agent(await resolveDelegatedAgentOptions(_0x433b58,_0x37dedc));let _0x26b84d={'runId':_0x5939db,'agentId':_0x23c2b0[_0x26284f(-_0x422c2f._0x122abb,-0x196,-0xf7,-_0x422c2f._0x214dc3)],'sessionId':_0x4740f7[_0x53a867(_0x422c2f._0x40cbd3,_0x422c2f._0x9157ac,_0x422c2f._0x32e3d5,0x4ad)],'status':_0x26284f(-0x159,_0x422c2f._0x2ae740,0x1b,0x36),'parentSessionId':_0x28b2b4['sessionId'],..._0x28b2b4[_0x53a867(_0x422c2f._0x1939b5,_0x422c2f._0x565bc1,0x4af,_0x422c2f._0x3c03ae)]!==void 0x0?{'originToolCallId':_0x28b2b4['toolCallId']}:{}};const _0x28f974=new AbortController(),_0x1cfef1=addAbortListener(_0x28b2b4[_0x26284f(_0x422c2f._0x3f1a9f,_0x422c2f._0x19c8c4,0x17e,0x117)],()=>{function _0xf33e4c(_0xda317,_0x3420c2,_0x5799b9,_0x5075d3){return _0x26284f(_0xda317-0x17a,_0x3420c2,_0xda317- -0x8d,_0x5075d3-0x1ca);}function _0x470120(_0x542509,_0x17ed21,_0xa8ab19,_0x4d1e72){return _0x53a867(_0x4d1e72,_0xa8ab19- -_0x57a8c2._0x3f78e8,_0xa8ab19-_0x57a8c2._0xf66683,_0x4d1e72-0x100);}_0x28f974['abort'](_0x28b2b4[_0xf33e4c(_0x56d4b1._0x23936f,_0x56d4b1._0x11ca35,0x1df,-0x2e)]?.[_0xf33e4c(-0x182,-0x146,-_0x56d4b1._0x68008c,-_0x56d4b1._0x5e814b)]);});function _0x26284f(_0x48abe4,_0x46cdbe,_0x3a4c90,_0x1994b7){return _0x12bc70(_0x48abe4-_0x4198b2._0x2acebe,_0x46cdbe-_0x4198b2._0x532f57,_0x3a4c90-_0x4198b2._0x15ee2b,_0x46cdbe);}yield createToolOutput(_0x26284f(-0x11f,0xc8,-0x8b,-0x1ad)+_0x26b84d[_0x26284f(-_0x422c2f._0x52821d,-0x86,0xd7,_0x422c2f._0x1e9945)]+'.',{'runId':_0x26b84d['runId'],'agentId':_0x26b84d['agentId'],'sessionId':_0x26b84d['sessionId'],'status':_0x26b84d[_0x53a867(0x68f,0x5c3,_0x422c2f._0x1a7085,_0x422c2f._0x3e5afa)]});try{const _0x59961e=await _0x4740f7[_0x26284f(-_0x422c2f._0x1ca276,0x17,-0x114,-_0x422c2f._0x46f627)](_0x23c2b0[_0x53a867(0x484,0x3fc,_0x422c2f._0x135fb3,_0x422c2f._0x182d7a)],{'streaming':!![],'signal':_0x28f974['signal']});_0x26b84d={..._0x26b84d,'status':_0x59961e[_0x26284f(0x35,_0x422c2f._0x1e341f,0xe2,_0x422c2f._0x6347c3)],'result':_0x59961e};if(_0x59961e[_0x26284f(0xc1,_0x422c2f._0x10f6ec,0xe2,0x21e)]!==_0x26284f(0xa4,_0x422c2f._0x386e30,-0x28,-_0x422c2f._0x4fe9d7)){const _0xf55627=getRunTerminalErrorMessage(_0x59961e),_0x46e606=formatAbortedRunMessage(_0x26b84d[_0x53a867(0x601,0x5b8,_0x422c2f._0x515997,0x590)],_0xf55627);throw new ToolExecutionError(_0x46e606,{...createRunSummary(_0x26b84d),'aborted':!![],'errorMessage':_0x46e606});}return createRunSummaryOutput(_0x26b84d,'Agent\x20run\x20'+_0x26b84d[_0x26284f(-0x37,_0x422c2f._0x12a81b,0xd7,_0x422c2f._0xb198a2)]+_0x53a867(_0x422c2f._0x3d4888,0x3d5,0x3fb,0x543));}catch(_0x12af81){if(_0x12af81 instanceof ToolExecutionError)throw _0x12af81;if(isAbortError(_0x12af81)||_0x28f974[_0x26284f(0x1a,_0x422c2f._0x31fb37,0x17e,_0x422c2f._0x2d0d63)][_0x53a867(0x567,0x4d7,_0x422c2f._0x15ecce,_0x422c2f._0x2c9581)]||_0x28b2b4[_0x26284f(0x2b4,0xe8,0x17e,_0x422c2f._0x5d74c4)][_0x53a867(0x3b2,_0x422c2f._0xf9ef2e,_0x422c2f._0x1d2b21,0x454)]){const _0x1a2d93=getRunTerminalErrorMessage(_0x26b84d[_0x26284f(-_0x422c2f._0x4626a9,-0xfe,-_0x422c2f._0xb213ec,-_0x422c2f._0x4ebee9)])??(_0x12af81 instanceof Error?_0x12af81[_0x26284f(_0x422c2f._0x130b96,0x6b,_0x422c2f._0x9b089d,-0x114)]:String(_0x12af81)),_0x118269=formatAbortedRunMessage(_0x26b84d[_0x26284f(_0x422c2f._0x595a33,0x247,0xd7,0x14e)],_0x1a2d93);_0x26b84d={..._0x26b84d,'status':_0x53a867(0x476,_0x422c2f._0xf9ef2e,_0x422c2f._0x1bc0cc,0x572),'errorMessage':_0x118269};throw new ToolExecutionError(_0x118269,{...createRunSummary(_0x26b84d),'aborted':!![],'errorMessage':_0x118269});}const _0x4e248e=getRunTerminalErrorMessage(_0x26b84d['result'])??(_0x12af81 instanceof Error?_0x12af81[_0x26284f(_0x422c2f._0x208d2b,_0x422c2f._0x48a709,0x3d,_0x422c2f._0x20dff1)]:String(_0x12af81))??_0x26284f(0xa1,_0x422c2f._0x36f7df,0x84,_0x422c2f._0x3e62d9)+_0x26b84d[_0x53a867(0x465,_0x422c2f._0x2edf5b,_0x422c2f._0xb94c9c,_0x422c2f._0x14d141)]+_0x53a867(_0x422c2f._0x13870f,0x6b5,_0x422c2f._0x25835a,0x6a7);_0x26b84d={..._0x26b84d,'status':_0x26284f(_0x422c2f._0x55c1d7,0x10,0x64,0x151),'errorMessage':_0x4e248e};throw new ToolExecutionError(_0x4e248e,{...createRunSummary(_0x26b84d),'errorMessage':_0x4e248e});}finally{_0x1cfef1();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x28a544){return[createAssignTaskTool(_0x28a544)];}import*as _0x32699d from'path';function buildDescription2(_0x3cfc01){const _0x39d070={_0x3f36f3:0x474,_0x198964:0x3b6,_0x1f351c:0x244,_0x3e5798:0x2c5,_0x29a2e0:0x43b,_0xd6b21d:0x35d,_0x3f4427:0x356,_0x2ffea9:0x529,_0xafe140:0x508,_0x39496f:0x353},_0x19030e={_0x176b09:0x12e};if(_0x3cfc01['length']===0x0)return _0xc2e364(_0x39d070._0x3f36f3,_0x39d070._0x198964,_0x39d070._0x1f351c,0x4b0);function _0x426b3f(_0x1b3ccf,_0x340d6c,_0x462361,_0x5efc6f){return _0x511d68(_0x1b3ccf-0x113,_0x462361- -_0x19030e._0x176b09,_0x462361-0x71,_0x340d6c);}const _0x548901=[_0x426b3f(0x4c3,_0x39d070._0x3e5798,_0x39d070._0x29a2e0,0x3ac),_0xc2e364(0x446,0x41f,0x49f,0x588),_0xc2e364(0x3b6,_0x39d070._0xd6b21d,0x237,0x41f),_0xc2e364(_0x39d070._0x3f4427,0x40f,_0x39d070._0x2ffea9,_0x39d070._0xafe140),..._0x3cfc01[_0xc2e364(0x2c1,_0x39d070._0x39496f,0x268,0x38d)](_0x1384c8=>'-\x20'+_0x1384c8[_0x426b3f(0x578,0x51e,0x441,0x30c)]+':\x20'+_0x1384c8['description'])];function _0xc2e364(_0x455925,_0x29f1bd,_0x2c476a,_0x18e254){return _0x475ba1(_0x18e254,_0x29f1bd-0x24d,_0x2c476a-0xc6,_0x18e254-0x1b);}return _0x548901['join']('\x0a');}function _0x511d68(_0x4f9ed9,_0x2aaddf,_0x236ce3,_0x17e50e){return _0x4a14(_0x2aaddf-0x252,_0x17e50e);}function createLoadSkillTool(_0x593027){const _0x3d1913={_0x56fe82:0x69c,_0x224e64:0x47d,_0x3f8f62:0x4dd,_0x35799f:0x474,_0x3fb38f:0x68c,_0x116291:0x4ca,_0x52eac5:0x7b1,_0xc7421a:0x6fa,_0x227d3f:0x760,_0x5be4d8:0x6b3},_0x5c5720={_0x1c65a7:0x2a2,_0x397a78:0x32e,_0x10c5a5:0x1ef,_0x137edc:0x26b,_0x300c96:0x211,_0x3c53d3:0x3b5,_0x55f5a5:0x334,_0x22a2cd:0x318,_0x16d010:0x45f,_0xa6d49c:0x475,_0x46ec57:0x489,_0x283492:0x2b7,_0x29f78a:0x4c,_0x198be5:0x297,_0x1efa38:0x22a,_0xbfe2d5:0x304,_0x5dbea5:0x285,_0x1466ab:0x34b,_0x5ec52a:0x23d,_0xd896e3:0x289,_0x37f43c:0x30e,_0x2d042e:0x10d,_0x2a03a8:0xec,_0x5db30e:0x1b1,_0x57d1a6:0x584,_0x3c09b8:0x2cf,_0x12063e:0x3e8,_0xf46bde:0x145,_0x50807d:0x195,_0xd4d31:0x377,_0x1ab070:0x3f3,_0x396bc4:0x464,_0x14e062:0x24f,_0x18dc90:0x2ab,_0x1186f2:0x1ae,_0x195089:0x4b9,_0x543185:0x4bd,_0x21681c:0x3b6,_0x50720f:0x499,_0x23057b:0x431,_0x174e3f:0x2dc,_0x52a1da:0x376,_0x11484c:0x387,_0x8a2dd2:0x2f8,_0x146ace:0x10e,_0x2cbda9:0x35f,_0x2bf0c3:0x1b9,_0x43456c:0x31e,_0x5eca63:0x3a7,_0xe3ff06:0x359},_0x1bdcc8={_0x3f1909:0x17,_0x5705bd:0x1f7},_0x3c3c2f={_0x120dfe:0x128,_0x2386bc:0xd9,_0x251b18:0x4c4},_0x49c995={_0x4bb99f:0xf7,_0x31aa69:0x76},_0x198b8e={_0x3346c2:0x144};function _0x2380f2(_0x1fe43b,_0x4252e3,_0x5a6b53,_0x49664f){return _0x511d68(_0x1fe43b-0x78,_0x5a6b53-_0x198b8e._0x3346c2,_0x5a6b53-0xab,_0x49664f);}const _0x1a03cb=new Map(_0x593027[_0x46cc42(0x530,0x5ff,0x5a1,_0x3d1913._0x56fe82)][_0x46cc42(0x3b6,_0x3d1913._0x224e64,_0x3d1913._0x3f8f62,_0x3d1913._0x35799f)](_0x90bc96=>[_0x90bc96[_0x46cc42(0x3bf,0x4f8,0x4f9,0x525)],_0x90bc96])),_0x2751a5=buildDescription2(_0x593027[_0x2380f2(_0x3d1913._0x3fb38f,0x876,0x75b,0x5f1)]);function _0x46cc42(_0x6af1c4,_0x1a72e1,_0x226cc5,_0x3fe02e){return _0x511d68(_0x6af1c4-_0x49c995._0x4bb99f,_0x226cc5- -_0x49c995._0x31aa69,_0x226cc5-0x1ee,_0x1a72e1);}return defineTool({'name':_0x46cc42(0x625,_0x3d1913._0x116291,0x561,0x524),'description':_0x2751a5,'inputSchema':{'type':_0x2380f2(_0x3d1913._0x52eac5,0x71a,0x757,_0x3d1913._0xc7421a),'properties':{'name':{'type':'string'}},'required':[_0x2380f2(0x80f,_0x3d1913._0x227d3f,_0x3d1913._0x5be4d8,0x71e)]},async *'execute'(_0x1c6a1a){function _0x463232(_0x26c321,_0x236e2d,_0x5cc3e5,_0xa39149){return _0x2380f2(_0x26c321-_0x3c3c2f._0x120dfe,_0x236e2d-_0x3c3c2f._0x2386bc,_0x236e2d- -_0x3c3c2f._0x251b18,_0x26c321);}const _0x18589a=_0x1a03cb[_0x463232(0x2ce,0x1f6,0x24c,_0x5c5720._0x1c65a7)](_0x1c6a1a[_0x463232(_0x5c5720._0x397a78,_0x5c5720._0x10c5a5,0x1d2,0x21c)]);if(!_0x18589a){const _0x488542=Array[_0x463232(_0x5c5720._0x137edc,0x2dd,_0x5c5720._0x300c96,0x43f)](_0x1a03cb[_0x5cc88f(_0x5c5720._0x3c53d3,_0x5c5720._0x55f5a5,_0x5c5720._0x22a2cd,0x488)]())[_0x5cc88f(_0x5c5720._0x16d010,_0x5c5720._0xa6d49c,0x512,_0x5c5720._0x46ec57)](',\x20');throw new ToolExecutionError(_0x463232(_0x5c5720._0x283492,0x194,_0x5c5720._0x29f78a,_0x5c5720._0x198be5)+_0x1c6a1a['name']+_0x5cc88f(0x462,_0x5c5720._0x1efa38,0x3f0,_0x5c5720._0xbfe2d5)+_0x488542,{'name':_0x1c6a1a[_0x463232(0x206,0x1ef,0x31c,_0x5c5720._0x5dbea5)]});}const _0x594a86=await _0x593027[_0x5cc88f(_0x5c5720._0x1466ab,0x1fa,0x2e4,0x2f3)](_0x18589a);function _0x5cc88f(_0x2403f8,_0x35f34d,_0x459f25,_0x41d68c){return _0x46cc42(_0x2403f8-_0x1bdcc8._0x3f1909,_0x2403f8,_0x41d68c- -_0x1bdcc8._0x5705bd,_0x41d68c-0x1ea);}const _0x3c1b38=_0x18589a[_0x463232(_0x5c5720._0x5ec52a,_0x5c5720._0xd896e3,_0x5c5720._0x37f43c,0x3df)][_0x463232(_0x5c5720._0x2d042e,0x259,_0x5c5720._0x2a03a8,_0x5c5720._0x5db30e)]??_0x32699d[_0x5cc88f(_0x5c5720._0x57d1a6,_0x5c5720._0x3c09b8,_0x5c5720._0x12063e,0x410)](_0x18589a[_0x463232(0x254,0x289,_0x5c5720._0xf46bde,_0x5c5720._0x50807d)][_0x463232(_0x5c5720._0xd4d31,0x31e,_0x5c5720._0x1ab070,0x2ce)]),_0x4c84a6=['##\x20Skill:\x20'+_0x594a86[_0x5cc88f(_0x5c5720._0x396bc4,_0x5c5720._0x14e062,0x317,0x302)],'',_0x594a86[_0x463232(0x400,0x2c4,0x3e0,0x356)],'','---',_0x5cc88f(0x1a3,_0x5c5720._0x18dc90,0x227,_0x5c5720._0x1186f2)+_0x18589a[_0x5cc88f(0x4bc,_0x5c5720._0x195089,_0x5c5720._0x543185,0x39c)][_0x5cc88f(_0x5c5720._0x21681c,0x3f3,_0x5c5720._0x50720f,_0x5c5720._0x23057b)],_0x463232(0x1c9,0x2ca,_0x5c5720._0x174e3f,0x17b)+_0x3c1b38][_0x463232(0x482,_0x5c5720._0x52a1da,_0x5c5720._0x11484c,_0x5c5720._0x8a2dd2)]('\x0a');return yield createToolOutput(_0x4c84a6,{'id':_0x594a86['id'],'name':_0x594a86[_0x463232(_0x5c5720._0x146ace,0x1ef,_0x5c5720._0x2cbda9,0xec)],'path':_0x18589a['source'][_0x463232(_0x5c5720._0x2bf0c3,_0x5c5720._0x43456c,_0x5c5720._0x5eca63,_0x5c5720._0xe3ff06)],'baseDirectory':_0x3c1b38}),void 0x0;}});}var TODO_STATUSES=new Set([_0x475ba1(0xb,0x5a,0xa8,0x16b),_0x475ba1(0x15a,0x277,0x1f1,0x376),'completed']),TODO_PRIORITIES=new Set([_0x511d68(0x6c0,0x5ec,0x511,0x595),_0x475ba1(0x37c,0x238,0xff,0x2f8),_0x475ba1(0x17b,0x297,0x35d,0x1b3)]);function isTodoStatus(_0x48ffe3){const _0x163092={_0x3aa6ba:0x134,_0x1850ed:0xb0,_0x1eec32:0x12d},_0x2e180c={_0x231e7d:0x176,_0x5a2b7d:0x1f1},_0x3fcd71={_0x31b9e9:0xb3,_0x355e6e:0xbb};function _0xea8a80(_0x138ef3,_0x2b4e0a,_0x10a0f6,_0xbff18a){return _0x511d68(_0x138ef3-0xbc,_0x2b4e0a- -_0x3fcd71._0x31b9e9,_0x10a0f6-_0x3fcd71._0x355e6e,_0x138ef3);}function _0x4eb041(_0x2fd383,_0x30317c,_0x2ce332,_0x233963){return _0x511d68(_0x2fd383-_0x2e180c._0x231e7d,_0x2fd383- -0x58f,_0x2ce332-_0x2e180c._0x5a2b7d,_0x2ce332);}return typeof _0x48ffe3===_0x4eb041(0x3b,-0x8a,_0x163092._0x3aa6ba,-_0x163092._0x1850ed)&&TODO_STATUSES[_0x4eb041(0x2d,0x19a,_0x163092._0x1eec32,0xd9)](_0x48ffe3);}function isTodoPriority(_0x4be58c){const _0x5ba454={_0x13cc59:0x1b3,_0x5df089:0x135,_0x568edd:0x212},_0x560f33={_0x4da874:0x331},_0x4ce5d3={_0xee2a55:0x454,_0x57c3fa:0x31};function _0x25b707(_0xf9ce76,_0x397d30,_0x260207,_0x173785){return _0x475ba1(_0xf9ce76,_0x173785-_0x4ce5d3._0xee2a55,_0x260207-_0x4ce5d3._0x57c3fa,_0x173785-0x1e1);}function _0x168ec6(_0x3a8dc2,_0x4a155c,_0x1a7f6d,_0x19948){return _0x511d68(_0x3a8dc2-0x97,_0x3a8dc2- -_0x560f33._0x4da874,_0x1a7f6d-0x1e9,_0x1a7f6d);}return typeof _0x4be58c===_0x168ec6(0x299,0x306,_0x5ba454._0x13cc59,_0x5ba454._0x5df089)&&TODO_PRIORITIES[_0x168ec6(0x28b,0x251,0x2dc,_0x5ba454._0x568edd)](_0x4be58c);}var TodoStore=class{[_0x475ba1(0x7f,0x8,-0x10b,0x72)]=new Map();['getTodos'](_0x114ed4){const _0x162c1a={_0x76a1b1:0x1f0,_0x3dd1a5:0xce,_0x473282:0x65,_0x285ef6:0x53,_0x36c840:0x1bd},_0xc1bb5a={_0x98aac1:0xb8},_0x39a9a2={_0xba44bf:0x154,_0x46b8cc:0x11};function _0x1e257d(_0x1e01c6,_0xdbcf6b,_0x43d9a3,_0x3188ef){return _0x511d68(_0x1e01c6-_0x39a9a2._0xba44bf,_0x43d9a3- -0x523,_0x43d9a3-_0x39a9a2._0x46b8cc,_0x1e01c6);}function _0x171e4b(_0x541029,_0x379f9a,_0x553230,_0x5dfcf8){return _0x511d68(_0x541029-0xa2,_0x379f9a- -0x458,_0x553230-_0xc1bb5a._0x98aac1,_0x553230);}return this[_0x1e257d(-_0x162c1a._0x76a1b1,-0x187,-_0x162c1a._0x3dd1a5,-0x143)][_0x1e257d(-_0x162c1a._0x473282,0x69,_0x162c1a._0x285ef6,_0x162c1a._0x36c840)](_0x114ed4)??[];}[_0x511d68(0x481,0x587,0x63e,0x695)](_0x2fa0f4,_0x3eba42){const _0x1c26da={_0xd0a8ff:0x121,_0x3f1dff:0xf6,_0x51b3ff:0x1e6},_0x32450e={_0x4191b3:0xb8,_0x4fcc25:0xf2,_0x304c8c:0x1c3},_0x2b6044={_0x2e2e07:0x171};function _0x29e3cc(_0x30d636,_0x4a4d77,_0x36be18,_0x1c9ee6){return _0x475ba1(_0x1c9ee6,_0x36be18-0x124,_0x36be18-0x7f,_0x1c9ee6-_0x2b6044._0x2e2e07);}function _0x506cb4(_0x8bb190,_0xca0ebe,_0x2d0e8e,_0x3fb8df){return _0x475ba1(_0x8bb190,_0x2d0e8e- -_0x32450e._0x4191b3,_0x2d0e8e-_0x32450e._0x4fcc25,_0x3fb8df-_0x32450e._0x304c8c);}this[_0x29e3cc(_0x1c26da._0xd0a8ff,_0x1c26da._0x3f1dff,0x12c,0x3c)][_0x506cb4(0x174,0x1ce,_0x1c26da._0x51b3ff,0x338)](_0x2fa0f4,_0x3eba42);}[_0x511d68(0x6c0,0x6b7,0x762,0x6af)](_0x4cd2b4){const _0x97b17c={_0x1336bc:0x408,_0x52c231:0x64f,_0x48e06c:0x55a,_0x36eccd:0x4a0,_0x2ca2b8:0x45,_0x400fa8:0x169,_0x502896:0x25,_0xab8c1b:0x97,_0xd92232:0x35,_0x59a7de:0x82,_0x43df28:0x54a,_0x126b33:0x599,_0x5e68e4:0x5d4,_0x227187:0x45d},_0x298832={_0x593912:0x3b,_0x14bd13:0x97},_0x7cbc75={_0x122a40:0x4ee};function _0x3b2d66(_0x5eb9f5,_0x4d256f,_0x1b6a7d,_0x5c24df){return _0x511d68(_0x5eb9f5-0x111,_0x4d256f- -_0x7cbc75._0x122a40,_0x1b6a7d-0x61,_0x1b6a7d);}const _0x310d7f=this[_0x4a24fc(_0x97b17c._0x1336bc,_0x97b17c._0x52c231,0x68d,_0x97b17c._0x48e06c)](_0x4cd2b4),_0x285023={'total':_0x310d7f[_0x4a24fc(0x552,0x5c8,_0x97b17c._0x36eccd,0x477)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x198552 of _0x310d7f){if(_0x198552[_0x3b2d66(0x44,0x110,_0x97b17c._0x2ca2b8,_0x97b17c._0x400fa8)]===_0x3b2d66(-0x65,-0x47,0x92,-_0x97b17c._0x502896))_0x285023['pending']+=0x1;else{if(_0x198552[_0x3b2d66(_0x97b17c._0xab8c1b,0x110,-_0x97b17c._0xd92232,_0x97b17c._0x59a7de)]==='in_progress')_0x285023['inProgress']+=0x1;else _0x285023[_0x4a24fc(_0x97b17c._0x43df28,_0x97b17c._0x126b33,_0x97b17c._0x5e68e4,_0x97b17c._0x227187)]+=0x1;}}function _0x4a24fc(_0x493214,_0x34537a,_0x156d83,_0x420f85){return _0x511d68(_0x493214-_0x298832._0x593912,_0x420f85- -_0x298832._0x14bd13,_0x156d83-0x1f0,_0x34537a);}return _0x285023;}};function validateTodos(_0x7291d5){const _0x38d87c={_0x1e43d6:0x29a,_0x343f8f:0x322,_0x451f1b:0x3a1,_0x5627e2:0x512,_0x26f519:0x4f4,_0x4bab0d:0x5c9,_0x155e13:0x44f,_0x55ba5c:0x292,_0x293f9e:0x12b,_0x460378:0x442,_0xcb471f:0x547,_0x5c3729:0x523,_0x12e8d1:0x261,_0x317150:0x232,_0x4abde5:0x412,_0x4f869c:0x3ac,_0x438912:0x38a,_0x583b48:0x3d8,_0x4848c8:0x397,_0x492ac3:0x21d,_0x4b9a20:0x271,_0x41f379:0x237,_0x483c35:0x2d7,_0x556edd:0x614,_0x2ebb3a:0x398,_0x5df312:0x3fc,_0xe1effe:0x208,_0x16e520:0x25f,_0x384177:0x3e0,_0x3aca27:0x2d9,_0x120597:0x1f1,_0x1e022d:0x266,_0x4afd1b:0x207,_0x5ad685:0x26d,_0x317421:0x254,_0x5f5e0d:0x3ac,_0x3dd81e:0x27f,_0x583c88:0x154,_0x294f13:0x28e,_0x1a1dc4:0x387,_0x23b8dd:0x464,_0x4ea88e:0x342,_0x4ae342:0x388,_0x5ad531:0x32d,_0x43a3af:0x1e8,_0x4dd186:0x81,_0x16fb0d:0x2db,_0x4492ee:0x331,_0x9e0bb2:0x213,_0x1307c3:0x200,_0x18b75a:0x13a,_0x14f3ba:0x1ef,_0x283922:0x33e,_0x52aa80:0x3a3,_0x1f6344:0x4fb,_0x212d8b:0x377,_0x5c707e:0x264,_0x22b5b0:0x474,_0x249b11:0x5d6,_0x420a6d:0x5ff,_0x13c96c:0x4aa,_0x1977a6:0x50c,_0x10b1a1:0x23a,_0x22193f:0x46b,_0x5acf4e:0x29e,_0x23759b:0x1a2,_0x1dbb82:0x293,_0xc04af4:0x2b0},_0x3e8da5={_0x398e38:0x1b4};if(!Array[_0x59814b(_0x38d87c._0x1e43d6,0x3d4,_0x38d87c._0x343f8f,0x36b)](_0x7291d5[_0x2c764b(_0x38d87c._0x451f1b,_0x38d87c._0x5627e2,0x244,_0x38d87c._0x26f519)])||_0x7291d5[_0x59814b(0x57f,0x41a,_0x38d87c._0x4bab0d,_0x38d87c._0x155e13)][_0x2c764b(_0x38d87c._0x55ba5c,_0x38d87c._0x293f9e,0x3e4,0x36d)]===0x0)throw new ToolExecutionError(_0x2c764b(_0x38d87c._0x460378,_0x38d87c._0xcb471f,_0x38d87c._0x5c3729,0x4b0),{'error':_0x59814b(_0x38d87c._0x12e8d1,_0x38d87c._0x317150,_0x38d87c._0x4abde5,0x2a2)});function _0x2c764b(_0x393e37,_0x4715ee,_0xd2a3c9,_0x50811f){return _0x475ba1(_0x50811f,_0x393e37-0x1d1,_0xd2a3c9-_0x3e8da5._0x398e38,_0x50811f-0x9a);}function _0x59814b(_0xa8723b,_0xaa00c4,_0x5d015d,_0x1bd874){return _0x511d68(_0xa8723b-0x11a,_0x1bd874- -0x1ce,_0x5d015d-0x134,_0xa8723b);}for(let _0x4bb368=0x0;_0x4bb368<_0x7291d5['todos'][_0x2c764b(0x292,_0x38d87c._0x4f869c,0x2dc,0x3e3)];_0x4bb368+=0x1){const _0x4bed41=_0x7291d5[_0x59814b(_0x38d87c._0x438912,_0x38d87c._0x583b48,0x5bf,0x44f)][_0x4bb368];if(!_0x4bed41||typeof _0x4bed41!==_0x2c764b(_0x38d87c._0x4848c8,0x4ff,0x2d6,_0x38d87c._0x492ac3))throw new ToolExecutionError(_0x59814b(0x243,0x414,_0x38d87c._0x4b9a20,0x2a0)+(_0x4bb368+0x1)+_0x2c764b(_0x38d87c._0x41f379,0x1cc,0x1ac,_0x38d87c._0x483c35),{'error':_0x59814b(0x368,_0x38d87c._0x556edd,0x3f0,0x4c7)});if(typeof _0x4bed41['id']!==_0x59814b(0x46b,0x325,_0x38d87c._0x2ebb3a,_0x38d87c._0x5df312)||_0x4bed41['id']['trim']()[_0x2c764b(_0x38d87c._0x55ba5c,0x1c5,_0x38d87c._0xe1effe,_0x38d87c._0x16e520)]===0x0)throw new ToolExecutionError(_0x59814b(0x2f9,0x19f,_0x38d87c._0x384177,0x2a0)+(_0x4bb368+0x1)+_0x59814b(0x365,0x2ea,_0x38d87c._0x3aca27,0x32c),{'error':_0x2c764b(0x28a,_0x38d87c._0x120597,0x34d,0x3d1)});if(typeof _0x4bed41[_0x2c764b(_0x38d87c._0x1e022d,0x2f7,0x306,0x236)]!==_0x2c764b(0x34e,0x450,_0x38d87c._0x4afd1b,_0x38d87c._0x5ad685)||_0x4bed41[_0x2c764b(_0x38d87c._0x1e022d,_0x38d87c._0x317421,_0x38d87c._0x5f5e0d,0x320)][_0x59814b(0x507,_0x38d87c._0x3dd81e,0x339,0x3a5)]()['length']===0x0)throw new ToolExecutionError(_0x59814b(_0x38d87c._0x583c88,_0x38d87c._0x294f13,_0x38d87c._0x1a1dc4,0x2a0)+(_0x4bb368+0x1)+_0x2c764b(0x48a,_0x38d87c._0x23b8dd,0x599,_0x38d87c._0x4ea88e),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4bed41['status']))throw new ToolExecutionError(_0x59814b(_0x38d87c._0x4ae342,_0x38d87c._0x5ad531,0x2b3,0x2a0)+(_0x4bb368+0x1)+':\x20invalid\x20status',{'error':_0x2c764b(_0x38d87c._0x43a3af,_0x38d87c._0x4dd186,_0x38d87c._0x16fb0d,_0x38d87c._0x4492ee)});if(!isTodoPriority(_0x4bed41[_0x2c764b(0x23b,_0x38d87c._0x9e0bb2,_0x38d87c._0x1307c3,0x2e6)]))throw new ToolExecutionError(_0x2c764b(0x1f2,_0x38d87c._0x18b75a,0x1b3,_0x38d87c._0x14f3ba)+(_0x4bb368+0x1)+_0x59814b(_0x38d87c._0x283922,_0x38d87c._0x52aa80,_0x38d87c._0x1f6344,0x43a),{'error':_0x59814b(0x2e0,0x119,_0x38d87c._0x212d8b,_0x38d87c._0x5c707e)});}const _0x5d5d30=_0x7291d5[_0x2c764b(0x3a1,0x338,_0x38d87c._0x22b5b0,0x222)][_0x2c764b(0x2d7,0x23b,0x390,0x44b)](_0x5f2672=>_0x5f2672['id']);if(new Set(_0x5d5d30)[_0x59814b(_0x38d87c._0x249b11,_0x38d87c._0x420a6d,_0x38d87c._0x13c96c,_0x38d87c._0x1977a6)]!==_0x5d5d30['length'])throw new ToolExecutionError(_0x59814b(_0x38d87c._0x10b1a1,_0x38d87c._0x22193f,_0x38d87c._0x5acf4e,0x37c),{'error':_0x2c764b(_0x38d87c._0x23759b,0x27b,_0x38d87c._0x1dbb82,_0x38d87c._0xc04af4)});}function createStatsProgress(_0x2cdb73){const _0x2b5bc0={_0x1c6bf7:0x4a0,_0x30614e:0x12a,_0x476aa4:0x19f,_0x212747:0x213},_0x518b42={_0x1a478d:0xd5},_0x4ae1a8={_0x1f6c66:0x0,_0x4a72a6:0xe1};function _0x4dd548(_0x133139,_0x183626,_0x238134,_0x59f7c2){return _0x475ba1(_0x59f7c2,_0x133139-0x3a5,_0x238134-_0x4ae1a8._0x1f6c66,_0x59f7c2-_0x4ae1a8._0x4a72a6);}function _0x13de53(_0x204f86,_0x4352a7,_0x24ae4b,_0x436fec){return _0x475ba1(_0x4352a7,_0x204f86-_0x518b42._0x1a478d,_0x24ae4b-0xc2,_0x436fec-0x1d);}return _0x2cdb73[_0x4dd548(0x3fa,_0x2b5bc0._0x1c6bf7,0x444,0x3bd)]>0x0?Math['round'](_0x2cdb73['completed']/_0x2cdb73[_0x13de53(_0x2b5bc0._0x30614e,-0x23,_0x2b5bc0._0x476aa4,_0x2b5bc0._0x212747)]*0x64)+'%':'0%';}function createReminderItems(_0x145037){const _0x3ede49={_0x583aa8:0x1a9,_0xb2769e:0xab},_0x510639={_0x3eb85b:0x1d0,_0x19bcb6:0x55e,_0x4dd6a0:0x168},_0x22cf5c={_0x1da133:0x6e,_0x3571c7:0x1c6};function _0x261c64(_0x7f0385,_0x252e82,_0x335fe3,_0x2ed51c){return _0x511d68(_0x7f0385-_0x22cf5c._0x1da133,_0x2ed51c- -0x4a8,_0x335fe3-_0x22cf5c._0x3571c7,_0x252e82);}function _0x52ba2c(_0x281a01,_0x1d5c7a,_0x1a3097,_0x294701){return _0x511d68(_0x281a01-_0x510639._0x3eb85b,_0x294701- -_0x510639._0x19bcb6,_0x1a3097-_0x510639._0x4dd6a0,_0x1a3097);}return _0x145037[_0x261c64(0xcb,_0x3ede49._0x583aa8,0x1e1,_0x3ede49._0xb2769e)](_0x2a0974=>({'content':_0x2a0974['content'],'status':_0x2a0974[_0x52ba2c(0x117,0x1aa,-0x76,0xa0)],'id':_0x2a0974['id']}));}function createStructuredResult(_0x5bdcc4,_0x1b0ac9,_0x5a10e9,_0x1d8f55){const _0x197d75={_0x1304a8:0xa9,_0x22e440:0x2f4,_0x1a3877:0x21c,_0x53bd8a:0x484},_0x390945={_0x1813ef:0xaf};function _0x1c1674(_0xd963c5,_0x2d632f,_0x51ea64,_0x5f20c4){return _0x511d68(_0xd963c5-_0x390945._0x1813ef,_0x51ea64- -0x4c,_0x51ea64-0x102,_0x2d632f);}function _0x74eb3e(_0x510012,_0xaaeb3d,_0x516d52,_0x5a60b6){return _0x475ba1(_0x5a60b6,_0x516d52-0x116,_0x516d52-0xda,_0x5a60b6-0x167);}return{'allCompleted':_0x1d8f55,'items':_0x1b0ac9[_0x74eb3e(_0x197d75._0x1304a8,_0x197d75._0x22e440,_0x197d75._0x1a3877,0x110)](_0x3381c1=>({'id':_0x3381c1['id'],'content':_0x3381c1[_0x74eb3e(0x285,0x14d,0x1ab,0x9e)],'status':_0x3381c1[_0x74eb3e(0x42e,0x25e,0x2c7,0x3d2)],'priority':_0x3381c1[_0x1c1674(0x3e3,0x3cb,0x46b,0x316)],'createdAt':_0x3381c1[_0x1c1674(0x280,0x33d,0x3c1,0x2e1)]})),'progress':createStatsProgress(_0x5a10e9),'recentChanges':!![],'sessionId':_0x5bdcc4,'stats':_0x5a10e9,'todosWritten':_0x1b0ac9[_0x1c1674(0x4da,0x48e,0x4c2,_0x197d75._0x53bd8a)]};}function createOutputText(_0x416626,_0x7dbd7){const _0x2cf482={_0x5b00f1:0x225,_0x284331:0xd7,_0x627096:0xdb,_0x23b500:0x10b,_0x794968:0x11e,_0x3e87b3:0x17,_0x41fe36:0x2e,_0x4011d8:0x124,_0x39986e:0xe2,_0x33f2fa:0x194,_0x3722d7:0x262,_0x3b0c48:0x18d},_0x3315c6={_0x5bc39a:0x193,_0x1be2a0:0x62},_0x37c4b8={_0x2ff80c:0xef,_0x1a3d17:0x10a},_0x4e96cd=JSON[_0xfcdc91(0x125,_0x2cf482._0x5b00f1,0x1b2,_0x2cf482._0x284331)](createReminderItems(_0x416626));function _0xfcdc91(_0xa94d36,_0x3570ee,_0x5841c5,_0x189a5a){return _0x475ba1(_0x5841c5,_0xa94d36- -_0x37c4b8._0x2ff80c,_0x5841c5-0x1af,_0x189a5a-_0x37c4b8._0x1a3d17);}function _0x2dcacb(_0x5e0b3d,_0x2854e6,_0x21d54a,_0x4ee724){return _0x475ba1(_0x5e0b3d,_0x21d54a- -_0x3315c6._0x5bc39a,_0x21d54a-_0x3315c6._0x1be2a0,_0x4ee724-0x1b6);}if(_0x7dbd7)return _0x2dcacb(-_0x2cf482._0x627096,-_0x2cf482._0x23b500,-_0x2cf482._0x794968,-_0x2cf482._0x3e87b3)+_0x416626[_0xfcdc91(-_0x2cf482._0x41fe36,-_0x2cf482._0x4011d8,-_0x2cf482._0x39986e,-_0x2cf482._0x33f2fa)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x4e96cd+_0x2dcacb(-0x14c,-_0x2cf482._0x3722d7,-_0x2cf482._0x3b0c48,-0x2f9);return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x4e96cd+_0x2dcacb(-0x1fa,-0x22b,-0x18d,-0xfb);}function createTodoWriteTool(_0x4ab18e=new TodoStore()){const _0x90b465={_0x49b310:0x67a,_0x27ddcf:0x48b,_0x400907:0x5c8,_0xecba9d:0x1dd,_0x25c61b:0x2e0,_0x15739c:0x314,_0xd85a88:0x3cb,_0x2789bb:0x639,_0x19e7d9:0x742,_0x2ac509:0x479,_0x3f3eab:0x60c,_0x275edf:0x2ad,_0x3c432d:0x360,_0x58713a:0x23e,_0x1c3191:0x5ac,_0x1adf48:0x3a,_0xddf74b:0x16f,_0x4bfe8f:0x156,_0x190f9d:0x1d7,_0x396b1e:0x2f7,_0x46fda6:0x31e},_0x5c8e2c={_0x10778d:0x161,_0x6c2a33:0x175,_0x4566d9:0x2bb,_0x4152ac:0x157,_0x479fea:0x89,_0xd8fd13:0x241,_0x4c77c6:0x3c2,_0x1ca996:0x43c,_0x1cfe32:0x113,_0x122dfd:0xfe,_0x5c5266:0x147,_0x579852:0x79,_0xb41f36:0x100,_0x52a978:0x14c,_0x2c09e0:0x2c5,_0xd55b24:0x3fe,_0x5b2c21:0x2bb},_0x20c5ac={_0x4632ad:0x70},_0x4e35ee={_0x2815f2:0x16c,_0x2ce792:0x24},_0x5579bd={_0x2209d1:0x10e,_0x5c5dc4:0x111};function _0x31f907(_0x30ba1a,_0x1ee6ed,_0x3cf5d7,_0x1d4fc9){return _0x475ba1(_0x1d4fc9,_0x3cf5d7-0x42f,_0x3cf5d7-_0x5579bd._0x2209d1,_0x1d4fc9-_0x5579bd._0x5c5dc4);}function _0x4402bc(_0x375a3f,_0x2a5fd3,_0x37cf27,_0x57d1c7){return _0x511d68(_0x375a3f-_0x4e35ee._0x2815f2,_0x57d1c7- -0x38c,_0x37cf27-_0x4e35ee._0x2ce792,_0x37cf27);}return defineTool({'name':_0x31f907(_0x90b465._0x49b310,_0x90b465._0x27ddcf,_0x90b465._0x400907,0x5c6),'description':_0x4402bc(0x1bf,_0x90b465._0xecba9d,0x1e7,0x132),'inputSchema':{'type':_0x4402bc(_0x90b465._0x25c61b,0x35a,0x283,0x287),'properties':{'todos':{'type':_0x4402bc(0x23c,_0x90b465._0x15739c,_0x90b465._0xd85a88,0x259),'items':{'type':_0x31f907(_0x90b465._0x2789bb,0x545,0x5f5,_0x90b465._0x19e7d9),'properties':{'content':{'type':_0x31f907(0x4e0,_0x90b465._0x2ac509,0x5ac,_0x90b465._0x3f3eab)},'status':{'type':_0x4402bc(_0x90b465._0x275edf,_0x90b465._0x3c432d,0x1ad,_0x90b465._0x58713a)},'priority':{'type':'string'},'id':{'type':'string'},'createdAt':{'type':_0x31f907(0x6de,0x545,_0x90b465._0x1c3191,0x44a)}},'required':[_0x4402bc(_0x90b465._0x1adf48,_0x90b465._0xddf74b,0x2cb,_0x90b465._0x4bfe8f),_0x4402bc(_0x90b465._0x190f9d,_0x90b465._0x396b1e,_0x90b465._0x46fda6,0x272),'priority','id']}}},'required':[_0x31f907(0x693,0x767,0x5ff,0x6d0)]},async *'execute'(_0x19e4c6,_0x4c9a6c){const _0x4f56c5={_0x48346a:0x10d,_0x4aedd8:0x107};function _0x46e2a7(_0x4bcee7,_0x60034e,_0xbcdd58,_0x1bb1d8){return _0x31f907(_0x4bcee7-_0x4f56c5._0x48346a,_0x60034e-_0x4f56c5._0x4aedd8,_0x4bcee7- -0x422,_0x1bb1d8);}const _0x34ed6e=_0x19e4c6;validateTodos(_0x34ed6e);const _0x1ec4eb=_0x4c9a6c[_0x2d9b8f(_0x5c8e2c._0x10778d,_0x5c8e2c._0x6c2a33,_0x5c8e2c._0x4566d9,0x31f)]||_0x46e2a7(_0x5c8e2c._0x4152ac,_0x5c8e2c._0x479fea,0x7c,0x162),_0x55c31b=new Date()[_0x46e2a7(0x266,_0x5c8e2c._0xd8fd13,0x3dc,_0x5c8e2c._0x4c77c6)](),_0x35fe6c=_0x34ed6e[_0x2d9b8f(_0x5c8e2c._0x1ca996,0x4ff,0x3c3,0x50e)][_0x46e2a7(_0x5c8e2c._0x1cfe32,0x244,_0x5c8e2c._0x122dfd,-0x3d)](_0x3a3184=>({'id':_0x3a3184['id'],'content':_0x3a3184['content'],'status':_0x3a3184[_0x46e2a7(0x1be,0x8c,0x2c6,0x1c2)],'priority':_0x3a3184[_0x46e2a7(0x77,0x13e,0x58,0x170)],'sessionId':_0x1ec4eb,'createdAt':_0x3a3184[_0x2d9b8f(0xc7,0xdc,0x1b3,0x8b)]||_0x55c31b,'updatedAt':_0x55c31b}));_0x4ab18e[_0x46e2a7(_0x5c8e2c._0x5c5266,_0x5c8e2c._0x579852,_0x5c8e2c._0xb41f36,0x135)](_0x1ec4eb,_0x35fe6c);function _0x2d9b8f(_0x273e6f,_0x1824f8,_0x1feeab,_0x2a5b60){return _0x4402bc(_0x273e6f-_0x20c5ac._0x4632ad,_0x1824f8-0x14e,_0x273e6f,_0x1feeab-0x132);}const _0x3becf6=_0x4ab18e[_0x46e2a7(0x277,0x318,0x3c7,0x3dd)](_0x1ec4eb),_0xac894c=_0x35fe6c[_0x2d9b8f(_0x5c8e2c._0x52a978,0x149,0x2b4,_0x5c8e2c._0x2c09e0)]>0x0&&_0x35fe6c[_0x2d9b8f(0x31a,0x3a4,_0x5c8e2c._0xd55b24,_0x5c8e2c._0x5b2c21)](_0x37c48c=>_0x37c48c[_0x46e2a7(0x1be,0x32c,0x2ed,0x82)]==='completed');return createToolOutput(createOutputText(_0x35fe6c,_0xac894c),createStructuredResult(_0x1ec4eb,_0x35fe6c,_0x3becf6,_0xac894c));}});}import{mkdir as _0x1121be,writeFile as _0x5dd3d3}from'fs/promises';import*as _0x44b94d from'path';function sanitizeFileName(_0x1dd172){const _0x166c9a={_0x169692:0x30a,_0x3f36d1:0x2d0,_0x4ac691:0x16a},_0x1e4957={_0x50808b:0x36,_0x88e675:0x122};function _0x4562fb(_0x4ab316,_0x1c464a,_0x193a16,_0x153fcb){return _0x511d68(_0x4ab316-_0x1e4957._0x50808b,_0x1c464a- -0x16e,_0x193a16-_0x1e4957._0x88e675,_0x153fcb);}return _0x1dd172[_0x4562fb(_0x166c9a._0x169692,_0x166c9a._0x3f36d1,0x323,_0x166c9a._0x4ac691)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x974b6a,_0x1f757e){const _0x260878={_0x110ecf:0x40f,_0x11b1b5:0x5a2,_0x485517:0x349,_0x301f36:0x446,_0x2b8c04:0x48b,_0x3b37db:0x56b,_0xa34b5f:0x40e,_0x48326a:0x2eb,_0x691e3e:0x108,_0x5b40d6:0x2b8,_0xa34d7c:0x24a,_0x5d6482:0x43d,_0x318b33:0x606,_0x3e7009:0x5fe,_0xa4cae2:0x135,_0x2038e6:0x25f,_0x57901d:0x3a,_0x511b4a:0x183,_0x5418d5:0x1cf,_0x264bb8:0x29e,_0x1c4eb2:0x517,_0x5e6e79:0x4f8,_0x23551a:0x39a,_0x3b4371:0x263,_0x4e3e74:0x37b,_0x385920:0x540,_0x105b43:0x2f2,_0x4a944d:0x2be,_0x103bfb:0x13c,_0x6059d0:0x38a,_0x574ded:0x13b,_0x18a56b:0x3a0,_0x2a0381:0x4aa,_0x19b77c:0x39,_0x33819c:0x135,_0x562833:0x3f,_0x1d2249:0x4ac,_0x46bdfd:0x3f4,_0x51c831:0x1f4,_0x3076bf:0xc7,_0xa1bf3b:0x33c,_0x48a375:0x4b,_0x453414:0x7c,_0x21bf49:0xe7,_0x2f7c99:0xf9,_0x864b0c:0x11d,_0x1ed875:0x4db,_0x419b70:0x298,_0x1f77a3:0x3ee,_0x41b979:0x274,_0x3ae691:0x26e,_0x2ee83c:0x729,_0x5297cc:0x5fe,_0x1be31b:0x219,_0x56698a:0x1ba,_0x435628:0x165,_0x5f296e:0x6a7},_0x1064e6={_0x55c06f:0x12c,_0x55d300:0x45b},_0xe6a7a4={_0x1d8796:0x1};function _0x3a6806(_0x14c4d6,_0x2ee58f,_0x46de39,_0x1d3c5b){return _0x511d68(_0x14c4d6-_0xe6a7a4._0x1d8796,_0x2ee58f- -0xbc,_0x46de39-0x1cc,_0x14c4d6);}const {maxBytes:_0x2521c1,sessionDir:_0x634d37}=_0x1f757e;if(!_0x974b6a[_0x3a6806(_0x260878._0x110ecf,0x446,0x342,_0x260878._0x11b1b5)]||Buffer['byteLength'](_0x974b6a[_0x3a6806(_0x260878._0x485517,_0x260878._0x301f36,_0x260878._0x2b8c04,_0x260878._0x3b37db)],_0x20746c(0x7b,0x7a,0xd5,0x1d3))<=_0x2521c1)return _0x974b6a;const _0x2ca57a=Buffer[_0x3a6806(_0x260878._0xa34b5f,0x4c5,0x3dd,0x442)](_0x974b6a['output'],'utf8');if(!_0x634d37){const _0x39c8f4=_0x974b6a[_0x3a6806(0x5ba,0x446,_0x260878._0x48326a,0x2df)][_0x3a6806(0x342,0x3de,0x414,0x3d3)](0x0,_0x2521c1);return{..._0x974b6a,'output':_0x39c8f4+(_0x20746c(0x2a2,_0x260878._0x691e3e,_0x260878._0x5b40d6,_0x260878._0xa34d7c)+_0x2521c1+'\x20bytes\x20(original:\x20'+_0x2ca57a+_0x3a6806(0x423,_0x260878._0x5d6482,0x332,0x4ce)),'meta':{..._0x974b6a[_0x3a6806(_0x260878._0x318b33,_0x260878._0x3e7009,0x584,0x711)],'truncated':!![],'originalBytes':_0x2ca57a,'transforms':[..._0x974b6a[_0x20746c(0x356,_0x260878._0xa4cae2,0x364,_0x260878._0x2038e6)][_0x20746c(_0x260878._0x57901d,0x82,0x221,0x165)],_0x20746c(_0x260878._0x511b4a,_0x260878._0x5418d5,0x16b,_0x260878._0x264bb8)]}};}const _0x236a09=_0x974b6a[_0x3a6806(0x407,_0x260878._0x1c4eb2,_0x260878._0x5e6e79,0x50c)]+'_'+sanitizeFileName(_0x974b6a[_0x3a6806(0x319,_0x260878._0x23551a,_0x260878._0x3b4371,_0x260878._0x4e3e74)])+_0x3a6806(_0x260878._0x385920,0x407,_0x260878._0x105b43,_0x260878._0x4a944d),_0x2d73ac=_0x44b94d[_0x20746c(_0x260878._0x103bfb,_0x260878._0x6059d0,_0x260878._0x574ded,0x29b)](_0x634d37,_0x236a09);await _0x1121be(_0x634d37,{'recursive':!![]});function _0x20746c(_0x5e0877,_0x236d49,_0x4b5b1d,_0xfa71b8){return _0x511d68(_0x5e0877-_0x1064e6._0x55c06f,_0xfa71b8- -_0x1064e6._0x55d300,_0x4b5b1d-0xea,_0x4b5b1d);}await _0x5dd3d3(_0x2d73ac,_0x974b6a[_0x3a6806(0x308,0x446,_0x260878._0x18a56b,_0x260878._0x2a0381)],'utf8');let _0x2d6b21=_0x974b6a['output'][_0x20746c(_0x260878._0x19b77c,-0x54,-_0x260878._0x33819c,_0x260878._0x562833)](0x0,_0x2521c1);const _0x2d942e=_0x2d6b21[_0x3a6806(0x377,_0x260878._0x1d2249,_0x260878._0x46bdfd,0x4f0)]('\x0a');_0x2d942e>_0x2521c1*0.5&&(_0x2d6b21=_0x2d6b21['slice'](0x0,_0x2d942e));const _0x4d8388=['',_0x20746c(_0x260878._0x51c831,_0x260878._0x3076bf,_0x260878._0xa1bf3b,0x1f8),_0x20746c(_0x260878._0x48a375,-_0x260878._0x453414,_0x260878._0x21bf49,-0x12)+_0x2521c1+_0x20746c(0x25e,_0x260878._0x2f7c99,0x189,_0x260878._0x864b0c)+_0x2ca57a+'\x20bytes).',_0x3a6806(_0x260878._0x1ed875,0x3a6,0x48e,_0x260878._0x419b70)+_0x2d73ac,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x20746c(_0x260878._0x1f77a3,_0x260878._0x41b979,0x324,_0x260878._0x3ae691)]['join']('\x0a');return{..._0x974b6a,'output':_0x2d6b21+_0x4d8388,'meta':{..._0x974b6a[_0x3a6806(_0x260878._0x2ee83c,_0x260878._0x5297cc,0x49d,0x6fe)],'truncated':!![],'originalBytes':_0x2ca57a,'transforms':[..._0x974b6a['meta'][_0x20746c(_0x260878._0x1be31b,_0x260878._0x56698a,0x23b,_0x260878._0x435628)],_0x3a6806(0x5f6,0x63d,0x679,_0x260878._0x5f296e)]}};}function createUpdateTopicTool(){const _0x528720={_0x592f10:0x11,_0x2e434c:0x6b,_0x364d6b:0x164,_0x5a192d:0x219,_0x3523f5:0x1f6,_0x220b20:0x2dd,_0x2d93cf:0x3bb,_0x686e8e:0x570,_0x5069a7:0x31e,_0x37cc54:0x1ae,_0x576d0d:0x195,_0x4cfeac:0x4c0,_0x4f0e23:0x3cd,_0x44a171:0x443},_0x47d556={_0x58870f:0x635,_0x50275d:0x57e,_0x2464e7:0x741,_0x20ca31:0x607,_0x307e86:0x82,_0x1de918:0x26c,_0x64d0df:0x625,_0x25d8ae:0x4d2,_0x3a96fb:0x626,_0x990aea:0x122,_0x76c163:0xdd,_0x26e0cc:0x173,_0x1da339:0x4b},_0x326935={_0x18f41e:0x2e,_0xf861c8:0x118},_0x31b55a={_0x366272:0x46},_0x58055b={_0x476277:0x4f,_0x4af21f:0x72,_0x3e4788:0x61};function _0x3312ef(_0x592f41,_0xd839a7,_0x40fe3e,_0x2951c0){return _0x475ba1(_0x40fe3e,_0x2951c0- -_0x58055b._0x476277,_0x40fe3e-_0x58055b._0x4af21f,_0x2951c0-_0x58055b._0x3e4788);}function _0x57a0a6(_0x554fde,_0x48b0bd,_0x272c95,_0x8f964f){return _0x475ba1(_0x554fde,_0x8f964f-0x2b8,_0x272c95-0x1a9,_0x8f964f-_0x31b55a._0x366272);}return defineTool({'name':_0x3312ef(-_0x528720._0x592f10,_0x528720._0x2e434c,-_0x528720._0x364d6b,-0x2a),'description':_0x57a0a6(_0x528720._0x5a192d,_0x528720._0x3523f5,_0x528720._0x220b20,0x30e),'inputSchema':{'type':_0x57a0a6(_0x528720._0x2d93cf,_0x528720._0x686e8e,_0x528720._0x5069a7,0x47e),'properties':{'topic':{'type':_0x3312ef(0x6b,_0x528720._0x37cc54,_0x528720._0x576d0d,0x12e)}},'required':[_0x57a0a6(_0x528720._0x4cfeac,0x5b7,_0x528720._0x4f0e23,_0x528720._0x44a171)]},async *'execute'(_0x2f5c7f,_0x143c94){const _0x2ce6aa={_0x462305:0x55e};function _0x53bcfd(_0x45c976,_0x3425a9,_0x5daf25,_0x1b347e){return _0x3312ef(_0x45c976-0x1cd,_0x3425a9-0x189,_0x1b347e,_0x45c976-_0x2ce6aa._0x462305);}const {topic:_0x113948}=_0x2f5c7f;if(typeof _0x113948!==_0x2c5471(0x2ef,0x236,0x246,0x1c0)||_0x113948[_0x53bcfd(_0x47d556._0x58870f,_0x47d556._0x50275d,_0x47d556._0x2464e7,_0x47d556._0x20ca31)]()[_0x2c5471(_0x47d556._0x307e86,0x260,0x18a,_0x47d556._0x1de918)]===0x0)throw new ToolExecutionError(_0x53bcfd(_0x47d556._0x64d0df,0x533,_0x47d556._0x25d8ae,0x62f),{'error':'invalid_topic'});const _0x10c3c4=_0x113948['trim']();function _0x2c5471(_0x3cd9cf,_0x3e5f6f,_0x13a9ce,_0x529fb1){return _0x3312ef(_0x3cd9cf-_0x326935._0x18f41e,_0x3e5f6f-0x55,_0x3cd9cf,_0x13a9ce-_0x326935._0xf861c8);}return _0x143c94[_0x53bcfd(_0x47d556._0x3a96fb,0x713,0x4d6,0x720)]?.(_0x10c3c4),yield createToolOutput(_0x2c5471(_0x47d556._0x990aea,_0x47d556._0x76c163,_0x47d556._0x26e0cc,_0x47d556._0x1da339)+_0x10c3c4+'\x22',{'topic':_0x10c3c4}),void 0x0;}});}import{readFile as _0x114984,stat as _0x1be9c6}from'fs/promises';import*as _0x35de26 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x475ba1(0xa5,0x19f,0x1bb,0x1e2),_0x511d68(0x80d,0x6e4,0x80e,0x833),_0x475ba1(0x2,0x4a,-0x4f,0x74)]),PNG_SIGNATURE=Buffer[_0x475ba1(0x2d7,0x210,0x9e,0xbd)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x2ff3ab,_0x8d6093){const _0x2fb211={_0x5d4714:0x28e,_0x536e22:0x517,_0x4c7d35:0x720,_0x4018e3:0x626,_0xbcd5ba:0x2e2,_0x11e2e3:0x2dd,_0x40e59a:0x1fa,_0x4b88e5:0x1cf,_0x5c257:0x1ef,_0x3d94c6:0x2ae,_0x5e8715:0x476,_0x32f491:0x58a,_0x531d38:0x550,_0x3c103e:0x3fa,_0x1c8ba7:0x1f5,_0x5d50a7:0x2f4,_0x3ac8c2:0x654,_0x23c5bd:0x550,_0x5abd1b:0x1af,_0x2e6a54:0x1cf,_0x2ad567:0x2d9,_0x5d4252:0x3f1,_0x45389e:0x508,_0xa7d285:0x553,_0x19d46a:0x381,_0x52c942:0x223,_0x4ca0f6:0x39b,_0x5a382a:0x24c,_0x3750ee:0x2e1,_0x1ea41:0x45c,_0x318f72:0x465,_0x149584:0x4b6,_0x4d735f:0x5ff,_0x480819:0x4fc,_0x1bc0c4:0x401,_0x446406:0x345,_0x24b32e:0x595},_0x640802={_0x276fdf:0x404,_0x3a6e0c:0x11a};if(_0x2ff3ab['subarray'](0x0,0x8)[_0x256fac(0xb0,0x161,0x19f,_0x2fb211._0x5d4714)](PNG_SIGNATURE))return _0x451ede(_0x2fb211._0x536e22,0x6a9,_0x2fb211._0x4c7d35,_0x2fb211._0x4018e3);if(_0x2ff3ab[0x0]===0xff&&_0x2ff3ab[0x1]===0xd8&&_0x2ff3ab[0x2]===0xff)return _0x256fac(_0x2fb211._0xbcd5ba,0x162,0x1bd,0x2df);const _0x3d458c=_0x2ff3ab[_0x451ede(0x4a6,0x43b,0x3ae,0x41d)](0x0,0x6)[_0x256fac(0x2d6,_0x2fb211._0x11e2e3,0x314,0x433)](_0x256fac(_0x2fb211._0x40e59a,0x13a,_0x2fb211._0x4b88e5,0x188));if(_0x3d458c==='GIF87a'||_0x3d458c===_0x256fac(_0x2fb211._0x5c257,0x2d2,0x2a6,_0x2fb211._0x3d94c6))return _0x256fac(0x31b,0x462,_0x2fb211._0x5e8715,0x4a7);function _0x451ede(_0x5cf38a,_0x209787,_0x43c338,_0x325539){return _0x475ba1(_0x5cf38a,_0x325539-_0x640802._0x276fdf,_0x43c338-0x4f,_0x325539-_0x640802._0x3a6e0c);}if(_0x2ff3ab['subarray'](0x0,0x4)[_0x451ede(0x536,_0x2fb211._0x32f491,0x5db,_0x2fb211._0x531d38)](_0x451ede(_0x2fb211._0x3c103e,0x43e,0x313,0x40b))===_0x256fac(0x31c,_0x2fb211._0x1c8ba7,_0x2fb211._0x5d50a7,0x363)&&_0x2ff3ab['subarray'](0x8,0xc)[_0x451ede(0x68a,0x520,_0x2fb211._0x3ac8c2,_0x2fb211._0x23c5bd)](_0x256fac(_0x2fb211._0x5abd1b,0x122,_0x2fb211._0x2e6a54,_0x2fb211._0x2ad567))===_0x256fac(_0x2fb211._0x5d4252,0x1a8,0x324,0x2ae))return _0x451ede(0x5d2,0x418,_0x2fb211._0x45389e,_0x2fb211._0xa7d285);const _0x15330e=_0x35de26[_0x256fac(_0x2fb211._0x19d46a,_0x2fb211._0x52c942,_0x2fb211._0x4ca0f6,_0x2fb211._0x5a382a)](_0x8d6093)['toLowerCase']();if(_0x15330e===_0x256fac(0x43a,_0x2fb211._0x3750ee,_0x2fb211._0x1ea41,0x3d1))return _0x256fac(0x4f6,0x3c8,0x3ea,_0x2fb211._0x318f72);if(_0x15330e===_0x451ede(_0x2fb211._0x149584,0x534,_0x2fb211._0x4d735f,0x500)||_0x15330e===_0x451ede(_0x2fb211._0x480819,0x482,_0x2fb211._0x1bc0c4,0x467))return _0x451ede(0x43f,0x533,0x4f7,0x3f9);if(_0x15330e==='.gif')return _0x256fac(_0x2fb211._0x446406,_0x2fb211._0x24b32e,0x476,0x5d9);if(_0x15330e==='.webp')return'image/webp';function _0x256fac(_0x2c4ea5,_0x3498a6,_0x1519a9,_0x685e35){return _0x511d68(_0x2c4ea5-0xcd,_0x1519a9- -0x285,_0x1519a9-0xe3,_0x3498a6);}return void 0x0;}function normalizeDetail(_0x85a0f7){const _0x20c42a={_0xf129c7:0x360,_0x5ccf52:0x13f,_0xcdfe47:0x13b,_0x3cf59f:0x16c,_0x501889:0x274,_0x404ef5:0x36d,_0x53eeec:0x198,_0x56ee10:0x273,_0x173da1:0x2f5},_0x232166={_0x3bf614:0x5e},_0x3820cf={_0x43f78a:0x105};if(_0x85a0f7===void 0x0)return void 0x0;const _0x1d54ba=_0x85a0f7[_0x3c3ed5(_0x20c42a._0xf129c7,_0x20c42a._0x5ccf52,0x22b,0x213)]()['toLowerCase']();if(!SUPPORTED_DETAILS[_0x3c3ed5(_0x20c42a._0xcdfe47,_0x20c42a._0x3cf59f,_0x20c42a._0x501889,_0x20c42a._0x404ef5)](_0x1d54ba))throw new ToolExecutionError(_0x3c3ed5(0x1e5,_0x20c42a._0x53eeec,_0x20c42a._0x56ee10,_0x20c42a._0x173da1)+_0x85a0f7,{'detail':_0x85a0f7});function _0x3c3ed5(_0xfd69c0,_0x10aa5c,_0x31efec,_0x13f71d){return _0x475ba1(_0x13f71d,_0x31efec-_0x3820cf._0x43f78a,_0x31efec-0x95,_0x13f71d-0x4f);}function _0x4d973d(_0x1b1629,_0x5d6493,_0x5a0238,_0x49a21d){return _0x475ba1(_0x5d6493,_0x5a0238- -0x19b,_0x5a0238-_0x232166._0x3bf614,_0x49a21d-0xc7);}return _0x1d54ba;}function createViewFileTool(_0x5b5ac3={}){const _0x33fcd9={_0x15e434:0x1e8,_0x23006a:0x85,_0x6c4c10:0x104,_0x105187:0x4f5,_0x26deac:0x388,_0x17360c:0x25e,_0x410b7c:0x289,_0x42290d:0x283,_0x3a09b5:0x29f,_0x46ab4c:0x2fd,_0xe7425c:0x45e,_0x4e2313:0x184},_0x57a580={_0x5249fe:0x576,_0x2e5fae:0x4b6,_0x506d2e:0x419,_0x455492:0x2fd,_0x582486:0x41d,_0x40f912:0x4bb,_0x3f2a9d:0x407,_0x629e67:0x538,_0x3b1467:0x682,_0x27ad34:0x359,_0x1dc571:0x576,_0x360652:0x6dc,_0xb45cfe:0x45f,_0x2b9d23:0x31a,_0x395db7:0x4a4,_0x447a0d:0x3ad,_0x25748f:0x2d6,_0x3bbe59:0x435,_0x4b9549:0x2b0,_0x43907c:0x356,_0x478d96:0x285,_0x5819bf:0x4e0,_0x1c0cfd:0x44a,_0x62518e:0x4a7,_0x5dfba6:0x4ef,_0x125925:0x56a,_0x2bb3c7:0x322,_0x3edd1f:0x537,_0x4702e8:0x323,_0x1ff6cd:0x3e3,_0x54d470:0x444,_0x4de05b:0x2f8,_0x9e3576:0x351,_0x282114:0x3f6,_0x45dc98:0x306,_0x3d6a9f:0x1b6,_0xa8248:0x38a,_0x5e6184:0x47c,_0x845110:0x1af,_0x261793:0x47b,_0x1779f5:0x302,_0x1a1408:0x5bb,_0x4625df:0x64e,_0xbd76b1:0x508,_0xc4cda6:0x49c,_0x32f6db:0x56f,_0x2b5c54:0x42d,_0xdf21e6:0x398,_0x4a7981:0x4c8,_0x5d0237:0x57e,_0x3065b9:0x673,_0x371c53:0x49b,_0x5f250b:0xa0,_0x5d2c22:0x2fc,_0x294df0:0x168,_0x3495ab:0x2d1,_0x12b432:0x44a,_0x4d8a57:0x443,_0xcb1cb3:0x6f2,_0x21dbe1:0x4f9},_0x5b7869={_0x582e39:0x1b},_0x2b55c5={_0x55fce6:0x19b},_0x5ccba8={_0x2a85fe:0xf2};function _0x52178c(_0x46f01e,_0xfac6cb,_0x41374f,_0x2ffc6e){return _0x511d68(_0x46f01e-0x1c3,_0x46f01e- -0x28f,_0x41374f-_0x5ccba8._0x2a85fe,_0xfac6cb);}const _0x1ae245=_0x35de26[_0x12b2d1(0x100,_0x33fcd9._0x15e434,0x16d,0x5e)](_0x5b5ac3[_0x12b2d1(0xf0,-_0x33fcd9._0x23006a,0x1df,_0x33fcd9._0x6c4c10)]??process[_0x52178c(0x3fb,0x29d,_0x33fcd9._0x105187,_0x33fcd9._0x26deac)]()),_0x5e64fb=_0x5b5ac3[_0x12b2d1(_0x33fcd9._0x17360c,_0x33fcd9._0x410b7c,0x2f4,0x320)]??[];function _0x12b2d1(_0x45ec29,_0x458ebc,_0xf8fa34,_0x225cb6){return _0x475ba1(_0xf8fa34,_0x45ec29-0x137,_0xf8fa34-0x1a,_0x225cb6-_0x2b55c5._0x55fce6);}const _0x2565e3=_0x5b5ac3['maxBytes']??DEFAULT_MAX_BYTES,_0x7c1c73=_0x5b5ac3['name']??_0x12b2d1(0x3f6,0x420,_0x33fcd9._0x42290d,0x45d);return defineTool({'name':_0x7c1c73,'description':_0x12b2d1(_0x33fcd9._0x3a09b5,0x37f,0x3bc,0x405),'inputSchema':{'type':_0x12b2d1(_0x33fcd9._0x46ab4c,_0x33fcd9._0xe7425c,_0x33fcd9._0x4e2313,0x1bc),'properties':{'path':{'type':_0x12b2d1(0x2b4,0x1c6,0x2ab,0x402)},'detail':{'type':_0x52178c(0x33b,_0x33fcd9._0xe7425c,0x49d,0x303)}},'required':['path']},async *'execute'(_0x43ebd9){const _0x518630={_0x20f8d8:0x6c},_0x39c3a3=resolveAllowedPath(_0x1ae245,_0x5e64fb,_0x43ebd9[_0x105da7(_0x57a580._0x5249fe,0x4ba,_0x57a580._0x2e5fae,0x60f)]);await assertWorkspaceFile(_0x39c3a3);const _0xa461fd=await _0x1be9c6(_0x39c3a3);if(_0xa461fd['size']>_0x2565e3)throw new ToolExecutionError(_0x47b492(0x2ed,0x234,_0x57a580._0x506d2e,0x370)+_0x43ebd9[_0x47b492(_0x57a580._0x455492,_0x57a580._0x582486,_0x57a580._0x40f912,_0x57a580._0x3f2a9d)],{'path':_0x43ebd9[_0x105da7(_0x57a580._0x5249fe,_0x57a580._0x629e67,_0x57a580._0x3b1467,0x488)],'maxBytes':_0x2565e3,'size':_0xa461fd['size']});const _0x36872b=await _0x114984(_0x39c3a3),_0x5aaa6f=detectImageMediaType(_0x36872b,_0x39c3a3);function _0x105da7(_0xaf6572,_0x4e00d3,_0x397ffd,_0x3431d0){return _0x52178c(_0xaf6572-0x167,_0x3431d0,_0x397ffd-0x3f,_0x3431d0-_0x518630._0x20f8d8);}if(!_0x5aaa6f)throw new ToolExecutionError(_0x105da7(0x2e4,0x2ad,_0x57a580._0x27ad34,0x1ba)+_0x43ebd9['path'],{'path':_0x43ebd9[_0x105da7(_0x57a580._0x1dc571,_0x57a580._0x360652,0x4a5,_0x57a580._0xb45cfe)],'supported':[_0x47b492(0x39f,0x1c5,0x23c,_0x57a580._0x2b9d23),_0x105da7(0x388,_0x57a580._0x395db7,0x401,_0x57a580._0x447a0d),_0x47b492(_0x57a580._0x25748f,0x160,_0x57a580._0x3bbe59,0x2b2),_0x105da7(0x5b9,0x48c,0x577,0x474),'.webp']});const _0x534f3b=normalizeDetail(_0x43ebd9[_0x105da7(0x384,_0x57a580._0x4b9549,0x233,_0x57a580._0x25748f)]),_0x2a0465=[_0x47b492(_0x57a580._0x43907c,_0x57a580._0x478d96,0x267,0x1fc)+_0x43ebd9[_0x105da7(0x576,_0x57a580._0x5819bf,_0x57a580._0x1c0cfd,_0x57a580._0x62518e)],_0x105da7(0x5ca,_0x57a580._0x5dfba6,_0x57a580._0x125925,0x600)+_0x5aaa6f,_0x47b492(0x54a,0x367,0x462,0x3ed)+_0xa461fd[_0x47b492(_0x57a580._0x2bb3c7,0x31d,_0x57a580._0x3edd1f,0x443)]+'\x20bytes'][_0x47b492(_0x57a580._0x4702e8,0x21b,0x332,0x256)](_0x534f3b?[_0x105da7(0x3e4,_0x57a580._0x1ff6cd,_0x57a580._0x54d470,_0x57a580._0x4de05b)+_0x534f3b]:[])[_0x47b492(_0x57a580._0x9e3576,0x395,0x410,0x45f)]('\x0a');function _0x47b492(_0x332979,_0x503003,_0x25f0cd,_0x2dab5e){return _0x52178c(_0x2dab5e- -0x8,_0x332979,_0x25f0cd-_0x5b7869._0x582e39,_0x2dab5e-0xf6);}const _0x36101f=[{'type':_0x47b492(_0x57a580._0x282114,_0x57a580._0x45dc98,_0x57a580._0x3d6a9f,0x2a9),'source':{'type':_0x47b492(_0x57a580._0xa8248,0x3bb,0x37d,0x44c),'media_type':_0x5aaa6f,'data':_0x36872b[_0x47b492(_0x57a580._0x5e6184,_0x57a580._0x845110,_0x57a580._0x261793,_0x57a580._0x1779f5)](_0x105da7(_0x57a580._0x1a1408,_0x57a580._0x4625df,_0x57a580._0xbd76b1,0x51a))}},{'type':_0x105da7(0x48a,_0x57a580._0xc4cda6,0x4d7,_0x57a580._0x32f6db),'text':_0x2a0465}];return yield createToolOutput(_0x2a0465,{'path':_0x43ebd9[_0x47b492(0x53f,_0x57a580._0x2b5c54,_0x57a580._0xdf21e6,0x407)],'resolvedPath':_0x39c3a3,'created':_0xa461fd[_0x105da7(0x54f,0x46b,_0x57a580._0x4a7981,0x59c)][_0x105da7(_0x57a580._0x5d0237,_0x57a580._0x3065b9,_0x57a580._0x371c53,0x66d)](),'modified':_0xa461fd[_0x47b492(_0x57a580._0x5f250b,_0x57a580._0x5d2c22,_0x57a580._0x294df0,0x1ae)][_0x47b492(0x510,_0x57a580._0x3495ab,0x53d,0x40f)](),'size':_0xa461fd[_0x47b492(0x509,_0x57a580._0x12b432,0x599,_0x57a580._0x4d8a57)],'mimeType':_0x5aaa6f,'encoding':_0x105da7(0x5bb,_0x57a580._0xcb1cb3,0x5a9,_0x57a580._0x21dbe1),..._0x534f3b?{'detail':_0x534f3b}:{}},_0x36101f),void 0x0;}});}import _0x4327c5 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x5a3668=>{const _0x1df9c5={_0x175758:0x3ef,_0x49157d:0x3b4},{lookup:_0x722564}=await import(_0x27e53c(_0x1df9c5._0x175758,0x22f,_0x1df9c5._0x49157d,0x2cd));function _0x27e53c(_0xbf3074,_0x3e8f1c,_0x5b922a,_0x1d7d5c){return _0x475ba1(_0xbf3074,_0x5b922a-0x2bf,_0x5b922a-0x12d,_0x1d7d5c-0x59);}return _0x722564(_0x5a3668,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x1a2381){const _0x4a0838={_0x1e4539:0x351,_0x6b8ced:0xb2,_0x2dc213:0x3ee,_0x47e616:0x3ae,_0x2e70f4:0x34e,_0x34d898:0x288},_0x30cf8c={_0xf90840:0xfe,_0x185206:0xd5},_0x48fe7a={_0x3e52cc:0x1a9,_0x2dd933:0x169},_0x1a888e=_0x1a2381[_0x2292af(0x3e1,0x4ba,0x3e0,_0x4a0838._0x1e4539)]('.');if(_0x1a888e[_0x559880(0x46,0x1bf,_0x4a0838._0x6b8ced,0x290)]!==0x4)return null;function _0x2292af(_0x2f927f,_0x4b9fe2,_0x2011c9,_0x38a3da){return _0x475ba1(_0x2f927f,_0x4b9fe2-0x285,_0x2011c9-_0x48fe7a._0x3e52cc,_0x38a3da-_0x48fe7a._0x2dd933);}function _0x559880(_0x1b5af7,_0x286598,_0xb2f672,_0x478dea){return _0x475ba1(_0x1b5af7,_0x286598-_0x30cf8c._0xf90840,_0xb2f672-_0x30cf8c._0x185206,_0x478dea-0x56);}let _0x519d3e=0x0;for(const _0x2b146c of _0x1a888e){if(!/^\d{1,3}$/[_0x559880(_0x4a0838._0x2dc213,_0x4a0838._0x47e616,_0x4a0838._0x2e70f4,_0x4a0838._0x34d898)](_0x2b146c))return null;const _0x5503a9=Number(_0x2b146c);if(_0x5503a9>0xff)return null;_0x519d3e=_0x519d3e*0x100+_0x5503a9;}return _0x519d3e>>>0x0;}function isBlockedIpv4(_0x3d9993){const _0x3be628={_0x1def54:0x2ce,_0x4a55d7:0x3ce,_0x36b730:0x60,_0x385c95:0x1,_0x2db390:0x23e,_0x57301a:0x6f,_0x40bf46:0x3a1,_0xe9c5f6:0x27a,_0x4e5b08:0x141,_0x110a80:0x381,_0x41c938:0x304,_0x28a970:0x299,_0x6f1098:0x34d},_0x4f9e6f={_0x15cb46:0x573,_0x1e5ac2:0x16e},_0x29209e={_0x208f49:0x5e,_0x29ba34:0x2ce,_0x59fb83:0x141},_0x4e48ec=ipv4ToInt(_0x3d9993);function _0x366516(_0x186869,_0x29e577,_0xb6f479,_0x25c042){return _0x511d68(_0x186869-_0x29209e._0x208f49,_0x29e577- -_0x29209e._0x29ba34,_0xb6f479-_0x29209e._0x59fb83,_0xb6f479);}if(_0x4e48ec===null)return!![];function _0x2be8ff(_0x2d3db4,_0x456e94,_0x1ac259,_0x5d35ae){return _0x511d68(_0x2d3db4-0x65,_0x1ac259- -_0x4f9e6f._0x15cb46,_0x1ac259-_0x4f9e6f._0x1e5ac2,_0x2d3db4);}const _0x268802=(_0x915ca4,_0x2ec056)=>{const _0xbfe12a=ipv4ToInt(_0x915ca4);if(_0xbfe12a===null)return![];const _0x201f50=_0x2ec056===0x0?0x0:0xffffffff<<0x20-_0x2ec056>>>0x0;return(_0x4e48ec&_0x201f50)===(_0xbfe12a&_0x201f50);};return _0x268802('0.0.0.0',0x8)||_0x268802(_0x366516(_0x3be628._0x1def54,0x402,0x533,_0x3be628._0x4a55d7),0x8)||_0x268802(_0x2be8ff(0x125,_0x3be628._0x36b730,-_0x3be628._0x385c95,-0x176),0xa)||_0x268802(_0x2be8ff(0x28b,_0x3be628._0x2db390,0x17c,0x19),0x8)||_0x268802(_0x2be8ff(0x7e,0x4b,_0x3be628._0x57301a,-0x51),0x10)||_0x268802('172.16.0.0',0xc)||_0x268802(_0x366516(_0x3be628._0x40bf46,_0x3be628._0xe9c5f6,_0x3be628._0x4e5b08,_0x3be628._0x110a80),0x18)||_0x268802('192.168.0.0',0x10)||_0x268802(_0x366516(0xc2,0x203,0xb2,_0x3be628._0x41c938),0xf)||_0x268802(_0x366516(0x3e1,_0x3be628._0x28a970,0x144,_0x3be628._0x6f1098),0x4)||_0x268802('240.0.0.0',0x4);}function expandIpv6(_0x9b8cd){const _0x3c11c8={_0x33b58e:0x31f,_0x4f0620:0x3ff,_0x9d6243:0x40f,_0x445e0f:0x247,_0x468d0f:0x24a,_0x2e5198:0x507,_0x3bc444:0x641,_0x94067:0x3e3,_0x51ae18:0x2a4,_0x5a99a0:0x4fa,_0x3bb1d1:0x38d,_0x225caa:0x29c,_0x2639f4:0x23a,_0x3a0bde:0x384,_0x48873b:0x2f4,_0x1ffa52:0x393,_0x16047f:0x404,_0x111e0d:0x2c5,_0x1baf49:0x4a1,_0x3fbad4:0x47d,_0x306702:0x2c3,_0x267a7d:0x38d,_0x1b6354:0x3d3},_0x3ce0fa={_0x5eed4a:0x36},_0x174ac9={_0x54c115:0x2d2,_0x3eb6c5:0x4e};let _0x537512=_0x9b8cd,_0x4df873;const _0x48a69a=_0x537512['lastIndexOf'](':');_0x537512[_0x33ad27(_0x3c11c8._0x33b58e,0x35a,0x471,_0x3c11c8._0x4f0620)](_0x48a69a+0x1)[_0x33ad27(0x2fc,_0x3c11c8._0x9d6243,_0x3c11c8._0x445e0f,0x1cf)]('.')&&(_0x4df873=_0x537512[_0x318a00(0x214,0x3ff,_0x3c11c8._0x468d0f,0x319)](_0x48a69a+0x1),_0x537512=_0x537512['slice'](0x0,_0x48a69a+0x1));const _0x561bf5=_0x537512[_0x33ad27(_0x3c11c8._0x2e5198,0x50f,_0x3c11c8._0x3bc444,0x535)]('::');if(_0x561bf5[_0x33ad27(0x393,_0x3c11c8._0x94067,0x4ef,0x450)]>0x2)return null;const _0x1e741d=_0x3fe739=>_0x3fe739['split'](':')[_0x318a00(0x235,0x2dc,0x2e6,0x349)](_0x1c687b=>_0x1c687b['length']>0x0)[_0x318a00(0x374,0x2a4,0x4b1,0x3d2)](_0x568615=>Number[_0x33ad27(0x341,0x438,0x1e7,0x23e)](_0x568615,0x10)),_0x34808c=_0x561bf5[0x0]?_0x1e741d(_0x561bf5[0x0]):[],_0x4ce719=_0x561bf5[_0x318a00(_0x3c11c8._0x51ae18,_0x3c11c8._0x5a99a0,0x443,_0x3c11c8._0x3bb1d1)]===0x2&&_0x561bf5[0x1]?_0x1e741d(_0x561bf5[0x1]):[],_0x31d048=[];if(_0x4df873){const _0x5aa906=ipv4ToInt(_0x4df873);if(_0x5aa906===null)return null;_0x31d048[_0x33ad27(_0x3c11c8._0x225caa,_0x3c11c8._0x2639f4,_0x3c11c8._0x3a0bde,_0x3c11c8._0x48873b)](_0x5aa906>>>0x10&0xffff,_0x5aa906&0xffff);}const _0x6d99b5=[..._0x4ce719,..._0x31d048];function _0x33ad27(_0xd81432,_0x51dc8a,_0xcc2303,_0x25bfea){return _0x475ba1(_0x25bfea,_0xd81432-_0x174ac9._0x54c115,_0xcc2303-_0x174ac9._0x3eb6c5,_0x25bfea-0x169);}function _0x318a00(_0x227994,_0x324d19,_0x1f56b5,_0x57788a){return _0x511d68(_0x227994-_0x3ce0fa._0x5eed4a,_0x57788a- -0x181,_0x1f56b5-0x1ab,_0x1f56b5);}const _0x2f33ca=0x8-_0x34808c['length']-_0x6d99b5['length'];if(_0x561bf5[_0x33ad27(_0x3c11c8._0x1ffa52,0x3a2,_0x3c11c8._0x16047f,_0x3c11c8._0x111e0d)]===0x1)return _0x34808c[_0x33ad27(_0x3c11c8._0x1ffa52,0x36a,_0x3c11c8._0x1baf49,_0x3c11c8._0x3fbad4)]+_0x6d99b5[_0x318a00(0x249,0x512,_0x3c11c8._0x306702,_0x3c11c8._0x267a7d)]===0x8?[..._0x34808c,..._0x6d99b5]:null;if(_0x2f33ca<0x0)return null;return[..._0x34808c,...new Array(_0x2f33ca)[_0x318a00(0x44c,_0x3c11c8._0x1b6354,0x283,0x31b)](0x0),..._0x6d99b5];}function isBlockedIpv6(_0x4d3bf7){const _0x1b8361={_0x5e00bc:0x255,_0x86f881:0x92,_0x1fcbfa:0x362,_0xbc745b:0x339,_0x590a8d:0x227,_0x537a7e:0x178,_0x47d4c5:0x28e,_0x5d9a14:0x2a2},_0x227551={_0x535a75:0x11c,_0xad3cbd:0x408,_0x43fafa:0x1d1},_0x442002=expandIpv6(_0x4d3bf7);if(!_0x442002||_0x442002[_0x47a9be(0x257,0xc7,0x21c,_0x1b8361._0x5e00bc)](_0x37fbb0=>Number[_0x3802e6(-0x65,-0x120,0x16,-0x1f7)](_0x37fbb0)))return!![];const _0x9ef9c3=_0x442002[_0x47a9be(0x1bb,-0x9a,_0x1b8361._0x86f881,0x169)](0x0,0x7)['every'](_0x47e220=>_0x47e220===0x0);if(_0x9ef9c3&&(_0x442002[0x7]===0x0||_0x442002[0x7]===0x1))return!![];if(_0x442002['slice'](0x0,0x5)[_0x47a9be(_0x1b8361._0x1fcbfa,0x2bf,0x250,_0x1b8361._0xbc745b)](_0x15f014=>_0x15f014===0x0)&&(_0x442002[0x5]===0xffff||_0x442002[0x5]===0x0)){const _0x315d6f=(_0x442002[0x6]<<0x10|_0x442002[0x7])>>>0x0,_0x36d386=[_0x315d6f>>>0x18&0xff,_0x315d6f>>>0x10&0xff,_0x315d6f>>>0x8&0xff,_0x315d6f&0xff][_0x3802e6(_0x1b8361._0x590a8d,_0x1b8361._0x537a7e,_0x1b8361._0x47d4c5,_0x1b8361._0x5d9a14)]('.');return isBlockedIpv4(_0x36d386);}function _0x47a9be(_0x362bb0,_0x272f0b,_0x2c3217,_0x4d2f8e){return _0x511d68(_0x362bb0-_0x227551._0x535a75,_0x2c3217- -_0x227551._0xad3cbd,_0x2c3217-_0x227551._0x43fafa,_0x272f0b);}function _0x3802e6(_0x413970,_0x1256f1,_0x2e1ed5,_0x9c8018){return _0x475ba1(_0x413970,_0x1256f1- -0x131,_0x2e1ed5-0x1e1,_0x9c8018-0x1bd);}const _0x592e5e=_0x442002[0x0];if((_0x592e5e&0xff00)===0xfc00||(_0x592e5e&0xfe00)===0xfc00)return!![];if((_0x592e5e&0xffc0)===0xfe80)return!![];if((_0x592e5e&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x72c637){const _0x1c954d=isIP(_0x72c637);if(_0x1c954d===0x4)return isBlockedIpv4(_0x72c637);if(_0x1c954d===0x6)return isBlockedIpv6(_0x72c637);return!![];}async function assertPublicUrl(_0x53ece6,_0x3f4041={}){const _0x2af81c={_0x5e9cb9:0x193,_0x5266ce:0x438,_0x547be1:0x546,_0x53430d:0x438,_0x2b1a15:0x400,_0x4db185:0x431,_0x4204d5:0x3fd,_0x41b262:0x422,_0x5cef86:0x2ef,_0x1a15e8:0x3ee,_0x534d20:0x432,_0x1e7849:0x3a9,_0x2dac21:0x41b,_0x3458bd:0x55d,_0x242b47:0x5fa,_0x114d8d:0x683,_0x12b1e1:0x51a,_0x334db2:0x513,_0x31ba4b:0x4f0,_0x2500ae:0x5ff,_0x5ac3d0:0x4a3,_0x31af63:0x37e,_0x200eaf:0x359,_0x3d672a:0x2cd,_0x2ef8b4:0x306,_0x1cecb8:0x3cf,_0x4977e2:0x43a,_0x588a52:0x3c4,_0x12def3:0x4fc,_0x5d63e7:0x403,_0x30107f:0x392},_0x548a8d={_0x187ae2:0x7c,_0x250d14:0x14e},_0x301dab={_0x265d44:0x30e,_0x27ace1:0x1df};let _0x47d670;try{_0x47d670=new URL(_0x53ece6);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x53ece6});}if(_0x47d670['protocol']!==_0x2a656a(0x30f,_0x2af81c._0x5e9cb9,_0x2af81c._0x5266ce,0x3d8)&&_0x47d670[_0x68810(0x53c,_0x2af81c._0x547be1,_0x2af81c._0x53430d,_0x2af81c._0x2b1a15)]!==_0x2a656a(0x580,_0x2af81c._0x4db185,0x5cc,_0x2af81c._0x4204d5))throw new ToolExecutionError(_0x68810(0x333,0x448,_0x2af81c._0x41b262,_0x2af81c._0x5cef86),{'url':_0x53ece6});if(_0x47d670[_0x68810(_0x2af81c._0x1a15e8,0x1e3,0x32f,_0x2af81c._0x534d20)]||_0x47d670[_0x2a656a(0x35f,0x383,0x2cd,_0x2af81c._0x1e7849)])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x47d670[_0x68810(0x2ba,_0x2af81c._0x2dac21,0x438,0x3b8)]+'//'+_0x47d670[_0x2a656a(0x4f0,0x4f7,_0x2af81c._0x3458bd,_0x2af81c._0x242b47)]+_0x47d670['pathname']});const _0x1fed1c=_0x47d670[_0x2a656a(0x508,_0x2af81c._0x114d8d,0x47d,0x663)]['replace'](/^\[|\]$/g,'');function _0x2a656a(_0x18269e,_0x2f0f19,_0x3ff3d6,_0x6d7ed1){return _0x475ba1(_0x2f0f19,_0x18269e-_0x301dab._0x265d44,_0x3ff3d6-_0x301dab._0x27ace1,_0x6d7ed1-0x26);}function _0x68810(_0x42f41f,_0xe3180f,_0x143b90,_0x4adde4){return _0x475ba1(_0xe3180f,_0x143b90-0x22c,_0x143b90-_0x548a8d._0x187ae2,_0x4adde4-_0x548a8d._0x250d14);}const _0x4e55da=_0x47d670[_0x2a656a(_0x2af81c._0x12b1e1,0x654,0x409,_0x2af81c._0x334db2)]+'//'+_0x47d670[_0x2a656a(_0x2af81c._0x31ba4b,_0x2af81c._0x2500ae,_0x2af81c._0x5ac3d0,_0x2af81c._0x31af63)]+_0x47d670['pathname'];if(isIP(_0x1fed1c)){if(isBlockedAddress(_0x1fed1c))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x4e55da});return _0x47d670;}const _0x31314b=_0x3f4041['lookup']??defaultLookup;let _0x46d5f5;try{_0x46d5f5=await _0x31314b(_0x1fed1c);}catch{throw new ToolExecutionError(_0x68810(_0x2af81c._0x200eaf,_0x2af81c._0x3d672a,0x41a,_0x2af81c._0x2ef8b4),{'url':_0x4e55da});}if(_0x46d5f5[_0x2a656a(_0x2af81c._0x1cecb8,_0x2af81c._0x4977e2,0x383,_0x2af81c._0x588a52)]===0x0)throw new ToolExecutionError(_0x2a656a(_0x2af81c._0x12def3,0x4c7,0x379,0x490),{'url':_0x4e55da});for(const {address:_0x1adb38}of _0x46d5f5){if(isBlockedAddress(_0x1adb38))throw new ToolExecutionError(_0x68810(_0x2af81c._0x5d63e7,0x387,0x364,_0x2af81c._0x30107f),{'url':_0x4e55da});}return _0x47d670;}async function safeFetch(_0x32ca79,_0x24ca30={},_0x3eb7dc={}){const _0x18852d={_0x2e975f:0x25a,_0x37a23c:0x3de,_0x3599c5:0x349,_0x461a27:0x282,_0x3733a5:0x3c5,_0x30cca0:0x25b,_0x3c299f:0x2b6,_0x3d69ec:0x377,_0xbb776c:0x2ec,_0x53ea86:0x19a,_0xe9fa18:0x1c4,_0x49c01e:0x37a,_0x39a44d:0x24a,_0x5e8e14:0x3b4},_0x1772bb={_0x1f107b:0x2d0,_0x2174d3:0x125};function _0x12e7de(_0x1c5026,_0x176ce4,_0x18780b,_0x349796){return _0x511d68(_0x1c5026-0x1c0,_0x349796- -_0x1772bb._0x1f107b,_0x18780b-_0x1772bb._0x2174d3,_0x176ce4);}const _0x365d35=_0x3eb7dc[_0x250524(0x42c,_0x18852d._0x2e975f,0x3b9,0x366)]??fetch,_0xbc6191=_0x3eb7dc[_0x250524(_0x18852d._0x37a23c,_0x18852d._0x3599c5,_0x18852d._0x461a27,0x1ee)]??DEFAULT_MAX_REDIRECTS;let _0x345a65=_0x32ca79;function _0x250524(_0x210171,_0x1cfac3,_0x36abc0,_0x3bd897){return _0x511d68(_0x210171-0x1b4,_0x36abc0- -0x31b,_0x36abc0-0x7a,_0x3bd897);}for(let _0x223ff0=0x0;;_0x223ff0+=0x1){const _0x294096=await assertPublicUrl(_0x345a65,_0x3eb7dc),_0x18c75a=await _0x365d35(_0x294096['toString'](),{..._0x24ca30,'redirect':'manual'}),_0x2d933e=_0x18c75a['headers'][_0x250524(_0x18852d._0x3733a5,0x1a4,_0x18852d._0x30cca0,0x17d)]('location');if(!REDIRECT_STATUSES[_0x12e7de(0x20e,_0x18852d._0x3c299f,_0x18852d._0x3d69ec,_0x18852d._0xbb776c)](_0x18c75a[_0x250524(_0x18852d._0x53ea86,_0x18852d._0xe9fa18,0x2e3,0x1c1)])||!_0x2d933e)return _0x18c75a;if(_0x223ff0>=_0xbc6191)throw new ToolExecutionError(_0x250524(0x228,_0x18852d._0x49c01e,_0x18852d._0x39a44d,_0x18852d._0x5e8e14),{'url':_0x294096['toString']()});_0x345a65=new URL(_0x2d933e,_0x294096)['toString']();}}var USER_AGENT=_0x511d68(0x6c1,0x6b9,0x707,0x676),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x30eee9,_0x5627ae){const _0x2fda96={_0x14c5b8:0x2d9,_0x249518:0x279,_0x3cde1c:0x3f3,_0xf27cf4:0x33b,_0x393fbc:0x1e3,_0x2f2e56:0x69,_0x4c28e3:0x21c,_0x50d61d:0x3eb,_0x14272e:0x444,_0x1538d9:0xbf,_0x529db7:0xd9},_0xff5891={_0x2c70bd:0x1f,_0x26a189:0x17,_0x5d54ef:0x52,_0x4b5478:0x11e,_0x39bd41:0x4fb,_0x5664cc:0x3ce},_0x1c8dea={_0x4a4033:0xbe,_0x3c0328:0x239},_0x2af84a={_0x40e853:0x46,_0x107a84:0x3a2,_0x498301:0xbc};function _0xe6c055(_0x21a7ab,_0x349523,_0x204a64,_0x3f14d4){return _0x511d68(_0x21a7ab-_0x2af84a._0x40e853,_0x349523- -_0x2af84a._0x107a84,_0x204a64-_0x2af84a._0x498301,_0x204a64);}const _0x1d120a=new AbortController(),_0x3a7799=setTimeout(()=>_0x1d120a[_0x59e247(0x228,0x1dd,0x1ed,0x28c)](new Error(_0xe6c055(-0x2e,0xe7,0xe,0x20e))),_0x5627ae);function _0x59e247(_0x243c04,_0x1b7366,_0x32b16f,_0x2ba50e){return _0x511d68(_0x243c04-_0x1c8dea._0x4a4033,_0x243c04- -_0x1c8dea._0x3c0328,_0x32b16f-0x25,_0x2ba50e);}const _0x21ee30=()=>_0x1d120a['abort'](_0x30eee9[_0xe6c055(0x1c8,0x85,0x5c,0x101)]);return _0x30eee9[_0x59e247(_0x2fda96._0x14c5b8,_0x2fda96._0x249518,_0x2fda96._0x3cde1c,_0x2fda96._0xf27cf4)]?_0x1d120a[_0x59e247(0x228,0xf9,0x214,_0x2fda96._0x393fbc)](_0x30eee9[_0x59e247(0x1ee,_0x2fda96._0x2f2e56,0x193,_0x2fda96._0x4c28e3)]):_0x30eee9[_0xe6c055(_0x2fda96._0x50d61d,0x32d,_0x2fda96._0x14272e,0x3d5)](_0xe6c055(-0x4c,_0x2fda96._0x1538d9,0xd,_0x2fda96._0x529db7),_0x21ee30,{'once':!![]}),{'signal':_0x1d120a['signal'],'cleanup':()=>{const _0x80524f={_0x35d9c4:0x12c,_0x536a4b:0x91},_0x5400b2={_0x55d926:0x180,_0x397f93:0x1e0};clearTimeout(_0x3a7799);function _0x67c93a(_0x3c8bf6,_0x487abc,_0x372176,_0x1327a5){return _0x59e247(_0x372176- -_0x5400b2._0x55d926,_0x487abc-0x153,_0x372176-_0x5400b2._0x397f93,_0x3c8bf6);}function _0x55de9f(_0xafdfda,_0x56b2de,_0xa1694f,_0x13e421){return _0xe6c055(_0xafdfda-_0x80524f._0x35d9c4,_0x56b2de-0x43c,_0xa1694f,_0x13e421-_0x80524f._0x536a4b);}_0x30eee9[_0x67c93a(-_0xff5891._0x2c70bd,-_0xff5891._0x26a189,_0xff5891._0x5d54ef,-_0xff5891._0x4b5478)](_0x55de9f(0x662,_0xff5891._0x39bd41,_0xff5891._0x5664cc,0x45a),_0x21ee30);}};}function _0x551f(){const _0x269a79=['BM9Zy3jPChq','Aw1Hz2uVCg5N','y2XVC2vbBgW','zgvUBY5QC29U','l3vZCI9IAw4VCMC','z2nSAwq','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','yMLYDgH0Aw1L','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','A2LUza','B2f1DgG','zw5NAw5L','C2vUze5VDgLMAwnHDgLVBG','zgLYBMfTzq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','AxngAwXL','DgL0Bgu','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','C3bSAxq','zgvSAw1PDgvY','u2L6ztOG','BwvKAxvT','y2HHCKnVzgvbDa','Cg5WBs1SB2nRlNLHBwW','icHWAwqG','lMPZB24','y3DK','DMvYAwzPzxi','zhj5uNvU','ugf0AcbUB3qGzM91BMq6ia','yNjVA2vU','zgvSzxrL','ChjVCgvYDgLLCW','B3v0z29PBMDdywXSCW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','y2fJAgvK','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Aw52ywXPzf90B2rVx2L0zw0','CMvMAw5L','BgfIzwW','C29YDa','C2vHCMnOugfYyw1Z','C2LNBMfS','tM8GC3vJAcbMAwXLoIaN','r3jLCa','CxvLCNK','Cgf0Aa','y2fSBfrVB2W','C3jJl3nOyxjLzc90ExbLCY50CW','y29UDgv4Da','rMLSzuvKAxq','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','q29Tu3bLyW','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','Dg9ju09tDhjPBMC','C2vYDMvYtMfTzq','AxnjBNrLz2vY','zxjYB3jnzxnZywDL','tu9ptLnit1rFqvbjx0Tfwq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','C3rKzxjY','lI4U','C3rKAw4','r0Lusfvcx1rps0vo','D2HLCMuGCMC','DMfSDwvZ','l3bPza','yxnZAwDU','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','C2HPzNq','z2v0u3rHDhm','o1TE','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','Bwv0yq','l3vZCI9SB2nHBc9IAw4VCMC','BxvSDgLtzwXLy3q','BxrPBwvnCW','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Ahr0Chm6','ignOyxjZigrYB3bWzwrDcG','zM9VDgvY','CMvXDwLYzwq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','Aw5FChjVz3jLC3m','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','v2LUr2v0','s0Lnsv9bueLFs0vz','zMjJBgLK','pc9ZExn0zw0TCMvTAw5Kzxi+','CgLWzq','AxndB250zxH0','CgfZC3rOCM91z2G','DhvWBgu','B2XKvgv4Da','ywrKrxzLBNrmAxn0zw5LCG','mtaUmc4WlJa','yxbPs2v5','BhnW','C2H1DgrVD25tDgfYDgvK','zMv0y2HjBxbS','zgLZCg9Zzq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','l2jPBI9IyxnO','y2f0y2G','CgfYC2u','C2L6zq','zgfYAW','tM8GC3LTyM9SCYbMB3vUza','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','BwnWxW','DhjHAwXPBMDdAhvUA3m','ls1WCMvMAxG','lNbUzW','Dg9VBa','yMfZzty0','Bg93','uxvLC3rPB24G','C2vHCMnOrgvWDgG','AMf2yxnJCMLWDa','BgLUzvn0yxj0','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','BM9Kzv9TB2r1BgvZ','C2v0','xsb0CMfUC3bVCNqGzxjYB3i6','AxneAxjLy3rVCNK','zgLHz25VC3rPy3m','mti3lJaUmc4W','igzHAwXLzc4','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','tuLnrtOG','Cg9W','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','A2v5CW','AM9PBG','C2vYDMvYswq','CgfJA2fNzxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','lM1QCW','Aw1Hz2uVz2LM','qMfZAa','DgvZDa','EwfYBI5SB2nR','CgfNzw1HCa','ls1NBg9IpseUz2L0lYO','zMvUy2vK','y2XLyw51Ca','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2fMzq','oIbJB250zw50ihjLCxvPCMvK','yxr4','B25szwrPCMvJDa','y29UBMvJDa','zgLZy292zxj5','l2jPBI9YzW','vMLLD0zPBgu','A2LSBa','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Bg9JyxrPB24','zgvMyxvSDen3za','zgLHz25VC3rPy3ngB3jgAwXL','C2vUza','wefjx0fqsv9lrvK','w291Dhb1Dcb0CNvUy2f0zwq6ia','CMvTB3zLrxzLBNrmAxn0zw5LCG','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','y3jLyxrLzef0','BgLZDgvU','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','ignVBxbSzxrLzc4','zMXVB3i','CNvUsw5cywnRz3jVDw5K','zxHPDenVzgu','lMnTza','ru5pru5u','CMvZB2X2zq','ChvZAa','C3LTBgLUAW','l2jPBI9ZAa','AwDUB3jL','tg9HzgvKigzYB206ia','cGPbuKDvtuvovfm6ia','lMPZ','zhvWBgLJyxrLx3rVzg9FAwrZ','A2LSBfjLCxvLC3rLza','C3rHCNq','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','CMvJB3jK','yMfZzw5HBwu','zxf1ywXZ','ywDLBNrjza','r0Lusfvcx0fdq0vtu19ut0TftG','CMvHC29U','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','lunVBw1HBMq','D2LUmZi','Dhj1zq','rMLSzsb3CML0DgvUigf0ia','Aw5ZDgfSBa','Dhj1BMm','DxjS','C2v2zxjPDhK','Dhj1zwnVBg9Y','Aw52ywXPzf90B2rVx3bYAw9YAxr5','ChjLChjVy2vZCW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','yMfZAwm','sfruuca','DgfZAW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','mJqYmZu4mJrXv3nSBxq','BMf2','z29Vz2XLlwnZzq','Bg9JywXLq29TCgfYzq','Aw5JBhvKzq','CMvWBgfJzq','yxv0AfjLCxvPCMvK','ls1ZDgrPBW','BgLTAxq','Aw1Hz2uVANbLzW','yMLVBwu','y2HHCMfJDgvY','BxrPBwu','Ag92zxi','v2vIrMv0y2G','tM8GBg9JyxrPB25ZigzVDw5K','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','mJuWnJe2ngHbwNHoBa','AxntEw1IB2XPy0XPBMS','D2HPy2GGCMC','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Ahr0CdO','DgLTzvTKyxrLDgLTzv0','CMfUzg9T','BM9UBMvNyxrPDMu','C3jJl2fNzw50l2fNzw50lNrZ','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','yxnJAwK','Dg9KB3ncEvnLC3nPB24','y2fSBeLK','yMvHCMvY','zxzPy3rjzK5LzwrLza','te9x','CMvZDwX0','v2vIu2vHCMnO','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','Axnoyu4','CMfUAW','qu5usfjpueLdx0fqsv9lrvK','ywjVCNq','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','BgLUzvrLEhq','Aw52ywXPzf90B2rVx3n0yxr1CW','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','C3vIyxjYyxK','lNrZ','BgLUzu51Bq','C2vYDMvY','CxvLC3rPB25Z','B25LCNjVCG','Dg90ywXqCM9KDwnLza','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vg9KBYa','C2HLBgXqyxrO','Aw52ywXPzf90B2rVCW','zgvZy3jPChrPB24','vxbKyxrLvg9WAwm','CgXHAw4','BgLZDfrVB2XZ','B3bLBMfP','ygbG','Aw5JBhvKzxm','Aw5JBhvKzv9KB21HAw5Z','B3jPz2LUvg9VBenHBgXjza','yxbWzw5K','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','z2XVyG','CMvNzxG','vw50AxrSzwq','CMvJzw5JEurHExm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','yw5ZD2vYCW','y29UDgvUDhm','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','AxngAw5PDgu','y2XVC2u','y29TBwfUza','z3jVAW','z29uB0LTCgXLBwvUDgf0Aw9U','rMv0y2GGDgLTzwqGB3v0','seLhsa','BhmGlwXH','y29TBwfUzhm','C2nYDwjfBNzlzxLZ','yMLVBwuUANnVBMm','Aw5KzxHpzG','Aw5PDgLHBgL6zwq','u3rHCNrLzcbHz2vUDcbYDw4G','C3rHCNrZv2L0Aa','vMLLD2vKigLTywDLigzPBgu6ia','yw5ZAte2','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','nZG4otKWv0Dzs1Lt','B3jPz2LUywW','C3rHCNreAxi','C2H1DgrVD24','C2XPy2u','CgfJA2fNzs1SB2nRlMPZB24','zMLSBa','u2HLBgWGBM90igzVDw5KoIa','CgfZC3DVCMq','yxjNDw1LBNriAw50','ywn0AxzL','AhLKCMf0zu1LDge','Dg90ywW','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','CgfJA2fNzs5QC29U','DxbKyxrL','zgf0zvjLC3rYAwn0','CgvUzgLUzW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','ywXS','AgfUzgXL','y29Kzq','zgv0ywLS','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','DhLWzxnJCMLWDhjLywn0','w1bFxL1BxhnCu10QpW','lMPWzwC','yxnRvxnLCG','zMLUywXnzxnZywDL','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','zgvMyxvSDfrPBwvVDxrnCW','CgLK','y29KzvzLCMLMAwvY','ChjPB3jPDhK','qgjPB21LANmVyMLVBwu','CMfUz2u','ugf0AcbPCYbUB3qGysbMAwXLoIa','mtm3mdCXofHJvfDcsa','CgfYC2vjBNq','lcbpChrPB24G','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','Aw50zwDLCG','ANnVBG','lMPZB25J','qwXSia','lMXVzW','Bg9HzenVBw1HBMq','Aw1WBgvTzw50yxrPB24','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','EwvZ','s2LSBfnOzwXS','DhvYBMrVD24','zMLSDgvY','C2HHmJu2','Bw9Kzq','BgLUzq','DgfZA2TPBgW','yMLVBwuUANnVBG','lM10CW','mtK4lJe4lJaUma','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zgLZy292zxj5u3rHDgu','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','zMLUzfjLzMvYzw5Jzxm','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','y2HPBgq','CgXHDgzVCM0','Bwf4','ChjLzML4','y2XPzw50','ChjVDg90ExbL','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zMLUywXnzxnZywDLvgv4Da','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','zMXHDe1HCa','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','y29UDgvUDa','tM8GAg92zxiGAw5MB3jTyxrPB24','twLJCM9ZB2z0','mZvfEvnHuhy','yNvUlMXVy2TI','Ahr0Ca','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','ig1HDgnO','B3bLBMfPlxjLC3bVBNnLCW','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','BwnFzwLK','y29Uy2f0','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','ywDLBNrZ','Dg9VBhm','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','ygbGANnVBGO','zxHPDgvK','y29TCgXLDgvK','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','DxrTx2nHBxbHAwDU','vg9WAwmGC2v0ihrVici','BNv2Aw4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','oIbPzcbYzxf1AxjLza','C2nVCgvZ','BM9Uzq','C2vHCMnOvhLWzq','BMv3vgv4Da','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','mJKXnJKZmhDmvuT5ra','t0zg','B3v0Chv0','vw5RBM93BIb0B29SoIa','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zw51Bq','Aw52ywXPzf90B2rVx2LK','yxjNCW','AgvHzgvYCW','zgLZywjSzwq','y291BNq','C3rKB3v0rgvJB2rLCG','rgv0ywLSoIa','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BgvUz3rO','AhrTBfnUAxbWzxq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','ywjVCNrLza','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','u2TPBgWGjW','C2vZC2LVBKLK','qxzHAwXHyMXLignVBw1HBMrZoG','rxjYB3i','B3v0Chv0uMvNzxG','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','Cgf0DgvYBG','zw52','zg9TywLUCW','yxr0CG','yxnPzgu','zgvSzwDHDgvKlxj1BI0','yxjNDw1LBNrZ','z2L0qNjHBMnO','ksbB','y29UDgvUDc10ExbL','q29TBwfUzcaN','B2XSyw1H','ihDHCYbHyM9YDgvKlG','C2nYAxb0','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','zgvLCgLUzNjH','ls1NBg9Ipq','r0LgodLH','lNrZEa','CxvLC3rPB24','BNbT','BwnFy2LK','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','CgfJA2fNzu5HBwu','AhjLzG','y2XPzw50CW','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','qMvHCMvYia','C3rKAw8','CNvUBMLUzW','CMvTB3zL','AxnbCNjHEq','Dg9Rzw5tDg9YywDLs2v5','ue9tva','tuLosu1bwf9bueLFs0vz','ChjVy2vZC0v4AxrLza','B3bLBG','y3jSzG','Aw1Hz2u','zg9JDw1LBNrtEw1IB2W','zg5Zl3bYB21PC2vZ','CMvHza','CgfYzw50u2vZC2LVBKLK','CMvNAw9U','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','C3r5Bgu','mtKYlJaUmc4W','lMPWzW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','Dgv4DerVy3vTzw50l2rPzenSB3nL','ANnVBMm','lNrTCc4','DhLWzxnJCMLWDa','DhjHBNnMB3jT','DxnLCM5HBwu','DxrTx2nVBNrLBNq','B3b0Aw9UCW','BwfW','C25PChbLDa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','z2L0AhvI','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','BwvZC2fNzq','Aw5WDxrty2HLBwe','lMPZEa','B25Jzq','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','yxjNDw1LBNroyw1LCW','y29UDgv4DeXPBMS','Bg9HzfnRAwXS','y2fWywjPBgL0AwvZ','Dg9VBfjLC3vSDhm','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','C2v0vg9WAwm','vg9Vig1HBNKGCMvKAxjLy3rZ','Dgf2AwX5qxbPs2v5','mJi0lJaUmc4W','BgfZDeLUzgv4t2y','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','y2HHBMDL','zNjVBuvUDhjPzxm','CxvLC3rPB24T','tunqihrVB2WG','uefusa','BMfTzq','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','mtaWlJy0lJaUma','DhjPBq','ywXSB3DLzerPCNm','ywrK','z2v0','B3b0Aw9UywW','igj5DgvZicH0B3rHBdOG','uKLgrG','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Ec1HCgKTA2v5','C2vUzfjLCxvLC3q','BwLU','B3bLCMf0Aw9U','Aw5JB21PBMDdywXSCW','zMfPBgvK','yNL0zuXLBMD0Aa','ls1MB2XSB3C','C3bHD24','AwzYyw1L','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','Dw5RBM93BG','C2v0vg9KB3m','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','BgfUz18','yw50AhjVCgLJlw1LC3nHz2vZ','uhjVz3jHBuzPBgvZ','C3rYAxbbBNnP','D3jPDgu','lu5Vtg9NBW','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','zxHPDa','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','zMLSzvzLCNnPB25Z','D29YA3nWywnLu3LTyM9S','Dg9VBenHBgXjza','BxmU','zgvMyxvSDa','zxHPDcbJB2rLia','Dg9tDhjPBMC','B25oB3rPzMLJyxrPB24','ls1YzwDLEha','Aw1Hz2uVD2vICa','Bwf4uMvKAxjLy3rZ','Bg9VA3vW','te9dquXbufbeqvrb','qwDLBNqGCNvUia','qxnZAwDUvgfZAW','yNvMzMvY','Bw9VBNnOB3q','rMLSzvjLywq','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','y2fSBgjHy2TvCMW','tunqihnLCNzLCIa','zw50CMLLCW','v0vcua','ywXSu2v0DgXLza','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C3rHDhvZvgv4Da','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','Bwf0y2HLCW','Dgv4Dc9ODg1S','yNvUlMXVy2S','lMDPzG','Dgv4Da','DMfSDwu','AgfZq2XPzw50CW','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','yxjNDw1LBNrZvgv4Da','yxv0BW','l29WDc9OB21LyNjLDY9IAw4VCMC','BgL0zxjHBa','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','AgfZ','B2zM','BM90Awz5','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DhjHBNnMB3jTCW','y2XPzw50sw5MB3jTyxrPB24','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','yM0Ynq','lw5i','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','y2XLyxi','C3rVCMfNzurPCG','zgf0yq','C3rYAw5N','u0Lhs0Lmta','yxv0Aa','Aw5PDgLHBgL6zq','Aw5PDgLHBgL6yxrPB24','BwvTB3j5','vw5HDxrOB3jPEMvKrxjYB3i','sw5MB3jTyxrPB24','C2HLBgXjza','Dg9VBe5HBwu','lM51DMLU','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ienHDxnLoIa','tg9HzfnRAwXS','Dg9WAwm','zgLYzwn0B3j5','BgfUz3vHz2u','z2vUzxjHBa','zw5NAw5LCW','DgLTzw91De1Z','cMbGya','CMvXDwvZDhm','Dg9Rzw5Z','BM93','mty5lJi1nc4WlJa','DhnZzxj2zxiUANm','yMLUyxj5tMfTzq','yxjYyxK','vg9KB1DYAxrL','rgLHz25VC3rPyW','BNvTyMvY','BgLUzuvUza','ie9sia','zMLSzvbHDgG','AgLNAa','AMf2yxnJCMLWDhjLywn0','y2fWq2HHCNm','BgLZDa','r2XVyG','z2v0vg9KB3m','Dg90ywXeCM9WCgvK','CNvUswq','y2XPzw50x3nLy3jLDf9WB3n0','mteZmZK4mxv1Efn3vW','Aw1Hz2vZ','zMLYC3q','DgHPBMTPBMC','BhnWlxbYB3H5','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','zgvUBY5QC29UyW','CMvMzxjLBMnLCW','BgLI','C3rHDhvZ','B3bLBNjVDxrLCG','w01duca','y29UBMvJDgvK','rM91BMqG','Dw5PB24','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','B2zMC2v0','yM9VBgvHBG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','oIbPBNzHBgLKihbYAw9YAxr5','C291CMnL','qxv0Ag9YAxPHDgLVBG','z29Vz2XLq3nLs2v5','xg5DkJ8','DxrTx3rLCM0','Bw9KzwW','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','uhjVz3jHBuzPBgvZkhG4nIK','AxnfCNjVCG','ls1OAwrKzw4','B2jQzwn0','CMvSyxrPDMu','CMvZDwX0CW','C3rKB3v0','C2TPBgXZ','C3rHDgu','sw52ywXPzcbVDxrWDxrszwDLEdOG','zgvMAw5PDgLVBG','Dg9Rzw4','AxrLBxm','Dg9KB3m','Dgf2AwX5','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','zxH0BMfTzq','uhvIBgLZAgvKoIa','DhLWzq','CMvXDwvZDa','C29Tzq','ChjLCgfYzunHBgXiAwvYyxjJAhK','D29YA3nWywnLl3n5BwjVBa','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','z29uB0rLzMLUAxrPB24','CMvHzen1CNnVCG','B3bLBKzPBgvZ','zNvSzMLSBgvK','Dg9mB3DLCKnHC2u','C3bHD25PBMC','DxrMoa','Ag9ZDa','tgLUzsa','ls1JB2X1Bw4','Bwf4q29Uy3vYCMvUDa','zMLSzq','EMfP','ChvIBgLZAgvKqxq','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','Cgf0DgvYBIbPCYbYzxf1AxjLza','CgXHAw50zxH0','qMfZAe91Dhb1Da','A2v5','q291BgqGBM90ihjLC29SDMuGAg9ZDa','y2vPBa','sgLUDa','yw50AhjVCgLJ','D2vI','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','yw5ZAti1nG','BgLUzxm','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','Aw5ZDhj1y3rPB25Z','y29UBMvJDgLVBG','ChjVy2vZCW','Ag9ZDg5HBwu','l3vZCI9IAw4VC2G','mJGXmdm3nMzLwxrbtq','qMfZzsbKAxjLy3rVCNK6ia','AxnfBMfIBgvK','CMLWz3jLCa','Aw5WDxq','BgfUzW','CM9VDa','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','DxrTx21LzgL1Bq','ig1Z','phn5C3rLBs1Yzw1PBMrLCJ4','qvbjx0Tfwq','sw52ywXPzcbYzwDLEdOG','DgHLBG','A2LSBgvK','zxzLCNK','ChjVDg9JB2W','Bwf4rw50CMLLCW','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','Aw52ywXPzf9XDwvZDgLVBNm','zNjVBq','revfueLorLjbx0fqsv9lrvK','zw5K','y29UzMLN','C3rYAw5NAwz5','lu5VuhjVzMLSzq','CMCUzxHL','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','yMfJA2DYB3vUzfjLz2LZDhj5','DxjP','y2HHDgDWDa','v2fYBMLUzW','zxjYB3i','BwfYA2rVD24','yNvMzMvYq2HHCNm','zMLUza','y291BNrLCG'];_0x551f=function(){return _0x269a79;};return _0x551f();}function createWebFetchTool(_0x30c74c={}){const _0x21481b={_0x10c917:0x1d4,_0x407723:0x130,_0x193dc9:0x181,_0x160d21:0x215,_0x4f297d:0x169,_0x1463cb:0x320,_0x310f5b:0x537,_0x1ba307:0x25a,_0x2ef67c:0x4cf,_0x18c556:0x1f1,_0x198dfe:0x159,_0x2b0ebe:0x2da,_0x2de3be:0x156,_0x344017:0x7c,_0x16c3fb:0x1e0,_0x6d625d:0x36,_0x25d864:0x135,_0x31a513:0x24d,_0x5f932d:0x2e8,_0x350c40:0x34a,_0x471778:0x240,_0x1a2662:0x192,_0x58656c:0xf3,_0x2f09cc:0x3db,_0x43cef9:0x6b,_0x41c411:0xe,_0x33e76e:0xc8,_0x192b7:0xbc,_0x190c70:0x241,_0x5b67a6:0x26,_0x5df491:0x3a6,_0x1d5f5c:0x283},_0x5c1350={_0x2e38fb:0x57f,_0x235250:0x43c,_0x3b2328:0x3ec,_0x549284:0x18c,_0x1bc450:0x2b4,_0x316b2a:0x421,_0x406dd6:0x4b5,_0x2e4566:0x43c,_0x1bd3fe:0x33b,_0x41d87f:0x5a5,_0x312171:0x246,_0x46e986:0x1d8,_0x9228e6:0x1ce,_0x1fa0a3:0x17c,_0x2e6a18:0x177,_0x20a480:0x1c6,_0x1b18f3:0x42d,_0x2ad77a:0x45f,_0x460603:0x506,_0x18b3d5:0x36f,_0x7eb1c5:0x245,_0x2c4030:0x426,_0x45f504:0x1c8,_0x2c3a6f:0x1ad,_0xadc734:0x27b,_0x58f8d2:0x395,_0x2f1379:0x1a4,_0x497bca:0x6b,_0x69ef06:0x18d,_0x188fcb:0x54,_0x270735:0x148,_0x231987:0xfd,_0x281df8:0x26b,_0x8dc0b0:0x2fc,_0xabe75d:0x52f,_0x2b1617:0x85,_0x11c411:0xd0,_0x26a3dc:0x91,_0x639f87:0x6c},_0x56a882={_0x2562ec:0x2c,_0x227782:0x89},_0x5071ca={_0x5b6891:0x194,_0x18f63e:0xd9},_0x1032c3={_0x28e006:0x1ab},_0x5cb57d={_0x4c4b6a:0xc3,_0x121129:0xe6};function _0x330f5b(_0x5c29a9,_0x1de7a0,_0xf19f23,_0x4782f1){return _0x475ba1(_0x4782f1,_0x1de7a0- -_0x5cb57d._0x4c4b6a,_0xf19f23-0x1ae,_0x4782f1-_0x5cb57d._0x121129);}const _0x1c2539=_0x30c74c[_0x4f2f13(_0x21481b._0x10c917,_0x21481b._0x407723,0x254,0x228)]??_0x4f2f13(_0x21481b._0x193dc9,_0x21481b._0x160d21,0xb8,0x100),_0x43265b=_0x30c74c['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x39f5f1=_0x30c74c[_0x4f2f13(0xfc,_0x21481b._0x4f297d,_0x21481b._0x1463cb,0x257)],_0x3bfcb5=new _0x4327c5({'headingStyle':_0x4f2f13(_0x21481b._0x310f5b,_0x21481b._0x1ba307,_0x21481b._0x2ef67c,0x3c0),'codeBlockStyle':_0x330f5b(0x203,_0x21481b._0x18c556,_0x21481b._0x198dfe,0x25a),'bulletListMarker':'-'});_0x3bfcb5[_0x4f2f13(_0x21481b._0x2b0ebe,0x85,_0x21481b._0x2de3be,0x1f1)]([_0x4f2f13(0x81,0x110,_0x21481b._0x344017,_0x21481b._0x16c3fb),_0x330f5b(-_0x21481b._0x6d625d,0x37,_0x21481b._0x25d864,-0xda),_0x330f5b(0xd0,0x15e,0x2c5,0x29),_0x4f2f13(_0x21481b._0x31a513,_0x21481b._0x5f932d,_0x21481b._0x350c40,0x23d),_0x4f2f13(-0x5a,_0x21481b._0x471778,_0x21481b._0x1a2662,_0x21481b._0x58656c),_0x4f2f13(_0x21481b._0x2f09cc,0x2fd,0x4ef,0x37a),'header',_0x330f5b(_0x21481b._0x43cef9,_0x21481b._0x41c411,_0x21481b._0x33e76e,0x3c)]);function _0x4f2f13(_0x28e307,_0x17e2fa,_0x57fcc8,_0x3cca6d){return _0x511d68(_0x28e307-0x75,_0x3cca6d- -0x347,_0x57fcc8-_0x1032c3._0x28e006,_0x17e2fa);}return defineTool({'name':_0x1c2539,'description':_0x4f2f13(_0x21481b._0x192b7,0x17c,0x2c3,_0x21481b._0x190c70),'inputSchema':{'type':_0x330f5b(0xe3,0x103,-0x37,-_0x21481b._0x5b67a6),'properties':{'description':{'type':_0x4f2f13(0x28e,0x3e2,_0x21481b._0x5df491,_0x21481b._0x1d5f5c)},'url':{'type':'string'}},'required':['url']},async *'execute'(_0x53b8e,_0x3215ed){const _0x2f9c6d=(await assertPublicUrl(_0x53b8e['url'],{'lookup':_0x39f5f1}))['toString']();if(_0x3215ed[_0x5e44ca(_0x5c1350._0x2e38fb,_0x5c1350._0x235250,_0x5c1350._0x3b2328,0x553)][_0x5e44ca(_0x5c1350._0x549284,_0x5c1350._0x1bc450,0x233,_0x5c1350._0x316b2a)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x2f9c6d});const _0x4f33b3=createTimeoutSignal(_0x3215ed[_0x5e44ca(_0x5c1350._0x406dd6,_0x5c1350._0x2e4566,_0x5c1350._0x1bd3fe,0x49c)],_0x43265b);let _0x22bd6f='',_0x328548=0x0,_0x3ebfba;try{const _0xf753e6=await safeFetch(_0x2f9c6d,{'headers':{'User-Agent':USER_AGENT},'signal':_0x4f33b3[_0x5e44ca(_0x5c1350._0x41d87f,_0x5c1350._0x235250,0x3ec,0x5ae)]},{'lookup':_0x39f5f1});if(!_0xf753e6['ok'])throw new ToolExecutionError(_0x5e44ca(_0x5c1350._0x312171,_0x5c1350._0x46e986,_0x5c1350._0x9228e6,_0x5c1350._0x1fa0a3)+_0xf753e6[_0x2eca11(_0x5c1350._0x2e6a18,0x21b,0xc2,_0x5c1350._0x20a480)]+'\x20'+_0xf753e6[_0x5e44ca(0x2ff,0x34e,_0x5c1350._0x1b18f3,0x448)],{'url':_0x2f9c6d,'statusCode':_0xf753e6[_0x5e44ca(_0x5c1350._0x2ad77a,0x3a0,_0x5c1350._0x460603,_0x5c1350._0x18b3d5)]});_0x22bd6f=_0xf753e6['headers']['get'](_0x5e44ca(_0x5c1350._0x7eb1c5,0x2c5,_0x5c1350._0x2c4030,0x22b))??'',_0x328548=_0xf753e6['status'],_0x3ebfba=await _0xf753e6[_0x2eca11(0x12b,_0x5c1350._0x45f504,0x162,_0x5c1350._0x2c3a6f)]();}catch(_0x1348f6){if(_0x1348f6 instanceof ToolExecutionError)throw _0x1348f6;const _0x47d324=_0x1348f6 instanceof Error?_0x1348f6['message']:String(_0x1348f6);throw new ToolExecutionError(_0x47d324,{'url':_0x2f9c6d});}finally{_0x4f33b3[_0x2eca11(_0x5c1350._0xadc734,_0x5c1350._0x58f8d2,0x28b,_0x5c1350._0x2f1379)]();}const _0x5611e6=new Date()['toISOString']();let _0x3b7a50,_0x3413da;if(_0x22bd6f['includes']('application/json'))_0x3b7a50=_0x2eca11(_0x5c1350._0x497bca,0x15d,_0x5c1350._0x69ef06,0xf1)+_0x3ebfba+'\x0a```',_0x3413da='json';else _0x22bd6f[_0x5e44ca(0xba,0x219,0x25c,0xea)](_0x2eca11(0x128,-_0x5c1350._0x188fcb,0x13c,_0x5c1350._0x270735))?(_0x3b7a50=_0x3bfcb5[_0x5e44ca(_0x5c1350._0x231987,_0x5c1350._0x281df8,0x2fb,0x36f)](_0x3ebfba),_0x3413da=_0x5e44ca(_0x5c1350._0x8dc0b0,0x40c,_0x5c1350._0xabe75d,0x3b8)):(_0x3b7a50=_0x3ebfba,_0x3413da=_0x2eca11(0x12b,0x1b0,_0x5c1350._0x2b1617,_0x5c1350._0x11c411));function _0x5e44ca(_0x235a6c,_0x476eb6,_0x5f1662,_0x3a0753){return _0x330f5b(_0x235a6c-_0x5071ca._0x5b6891,_0x476eb6-0x2b2,_0x5f1662-_0x5071ca._0x18f63e,_0x5f1662);}function _0x2eca11(_0x4e5202,_0x48364c,_0x26c087,_0x3a5bb2){return _0x330f5b(_0x4e5202-_0x56a882._0x2562ec,_0x4e5202-_0x56a882._0x227782,_0x26c087-0xe0,_0x48364c);}return yield createToolOutput(_0x3b7a50,{'url':_0x2f9c6d,'contentType':_0x22bd6f,'statusCode':_0x328548,'format':_0x3413da,'size':_0x3ebfba[_0x2eca11(0x87,0x1e3,-_0x5c1350._0x26a3dc,_0x5c1350._0x639f87)],'fetchedAt':_0x5611e6}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x511d68(0x6f8,0x6b5,0x81c,0x73b);function normalizeUrl(_0x2c214b){const _0x5b20e5={_0x2a7a8a:0x168,_0xff87ad:0x25,_0x40daa6:0x774,_0x9dffff:0x64c,_0x4e0ea5:0x73b,_0x257ea9:0x197,_0x1af70c:0xd7,_0x22a693:0x2f,_0x32317e:0x4b,_0x5b1df6:0x13b,_0x198a44:0xa0,_0x4bbe61:0x98,_0x35dad4:0x776,_0x176233:0x663,_0x2f87c4:0x5af,_0x20fc61:0x620,_0x51b8df:0x6bb,_0x424779:0x788},_0x5f580c={_0x266fb1:0x8e};function _0x460344(_0x3c096d,_0x50a59f,_0x3899a6,_0x12a310){return _0x511d68(_0x3c096d-0x83,_0x50a59f- -0x628,_0x3899a6-_0x5f580c._0x266fb1,_0x3c096d);}function _0x38d9bb(_0x16824e,_0x5be441,_0x3551fb,_0x5b4435){return _0x475ba1(_0x16824e,_0x5be441-0x581,_0x3551fb-0x161,_0x5b4435-0x137);}try{const _0x367d93=new URL(_0x2c214b);for(const _0x5a5046 of['utm_source',_0x460344(-0x10,0x29,0x178,_0x5b20e5._0x2a7a8a),_0x460344(-0x4c,-0x132,-_0x5b20e5._0xff87ad,-0x13e),_0x38d9bb(_0x5b20e5._0x40daa6,0x741,_0x5b20e5._0x9dffff,_0x5b20e5._0x4e0ea5),_0x460344(-_0x5b20e5._0x257ea9,-_0x5b20e5._0x1af70c,-_0x5b20e5._0x22a693,-0x93),_0x460344(0x3d,_0x5b20e5._0x32317e,0xa3,_0x5b20e5._0x5b1df6),_0x460344(0x9b,_0x5b20e5._0x198a44,_0x5b20e5._0x4bbe61,0x1e3),_0x38d9bb(_0x5b20e5._0x35dad4,_0x5b20e5._0x176233,_0x5b20e5._0x2f87c4,0x6f8),_0x38d9bb(0x701,_0x5b20e5._0x20fc61,_0x5b20e5._0x51b8df,_0x5b20e5._0x424779)]){_0x367d93['searchParams']['delete'](_0x5a5046);}return _0x367d93[_0x460344(-0x186,-0x8f,-0x15f,-0x6b)]();}catch{return _0x2c214b;}}function cseDateRestrict(_0xeaf20c){const _0x26145f={_0x4f5e2a:0x3c8,_0x42ed0e:0x521,_0x402b9d:0x256,_0x5be5a0:0x5f3,_0x160b7c:0x47f},_0x59ec28={_0x486ce4:0x117},_0x1c6f15={_0x482db6:0x49,_0x26a350:0x59};if(_0xeaf20c<=0x0)return void 0x0;if(_0xeaf20c<=0x1e)return'd'+Math['max'](0x1,Math[_0x2bbac2(_0x26145f._0x4f5e2a,0x4ff,_0x26145f._0x42ed0e,_0x26145f._0x402b9d)](_0xeaf20c));if(_0xeaf20c<=0x16d)return'm'+Math[_0x2bbac2(_0x26145f._0x5be5a0,0x5ba,_0x26145f._0x160b7c,0x56f)](_0xeaf20c/0x1e);function _0x2bbac2(_0x1e154d,_0x2afb63,_0xe6d674,_0x597fcb){return _0x511d68(_0x1e154d-0x12,_0x1e154d- -_0x1c6f15._0x482db6,_0xe6d674-_0x1c6f15._0x26a350,_0x2afb63);}function _0x4b202e(_0xd46100,_0x285872,_0x26be07,_0xa831b3){return _0x511d68(_0xd46100-_0x59ec28._0x486ce4,_0xd46100- -0x2b9,_0x26be07-0xce,_0xa831b3);}return'y'+Math['ceil'](_0xeaf20c/0x16d);}function addSiteFilters(_0x7547e5,_0x2938dc){const _0x3c18f9={_0x26c9ef:0x396,_0x28a95a:0x482,_0x22351a:0x32d,_0x2b64dd:0x31d,_0x3e09cf:0x3b5,_0x40dea9:0x367,_0x45e9dd:0x4c7,_0x5d6017:0x4db,_0x49127a:0x380,_0x5c14ba:0x57e,_0x4a9766:0x5a8,_0x593fc8:0x55e,_0xb96ad:0x5d5,_0x2c0dde:0x3d7},_0x34b1f5={_0x55b223:0x8b},_0x31065d={_0xee5a6:0xf4,_0x234969:0x103};if(_0x2938dc[_0x4f7dc0(_0x3c18f9._0x26c9ef,_0x3c18f9._0x28a95a,_0x3c18f9._0x22351a,_0x3c18f9._0x2b64dd)]===0x0)return _0x7547e5[_0xf0b4a9(_0x3c18f9._0x3e09cf,0x397,0x46d,0x241)]();function _0xf0b4a9(_0x5f0eee,_0x217cd5,_0x44f556,_0x43ff4d){return _0x511d68(_0x5f0eee-_0x31065d._0xee5a6,_0x217cd5- -0x1dc,_0x44f556-_0x31065d._0x234969,_0x5f0eee);}function _0x4f7dc0(_0x1252ba,_0x135675,_0x12708f,_0x1e8d99){return _0x511d68(_0x1252ba-_0x34b1f5._0x55b223,_0x135675- -0x8c,_0x12708f-0x1e3,_0x1e8d99);}return(_0x7547e5+'\x20('+_0x2938dc[_0x4f7dc0(_0x3c18f9._0x40dea9,_0x3c18f9._0x45e9dd,_0x3c18f9._0x5d6017,_0x3c18f9._0x49127a)](_0x5d0ddb=>'site:'+_0x5d0ddb)[_0x4f7dc0(0x75a,0x66a,0x535,_0x3c18f9._0x5c14ba)](_0x4f7dc0(_0x3c18f9._0x4a9766,_0x3c18f9._0x593fc8,_0x3c18f9._0xb96ad,0x64f))+')')[_0xf0b4a9(0x24a,0x397,_0x3c18f9._0x2c0dde,0x41f)]();}function normalizeType(_0x1a2ba6){const _0x332053={_0x450c4f:0x780,_0x111772:0x71c,_0x5e5c78:0x762},_0x563b8b={_0x493ac9:0x122,_0x559e6c:0x4d},_0x469df8={_0x44a693:0x1d1};function _0x81736d(_0x351e00,_0x319fa4,_0xc91f26,_0xb6c7bb){return _0x475ba1(_0x351e00,_0x319fa4-0x5d7,_0xc91f26-0xd9,_0xb6c7bb-_0x469df8._0x44a693);}function _0x4709ae(_0x484f55,_0x4c7277,_0x51cfb6,_0x4f355c){return _0x475ba1(_0x484f55,_0x51cfb6-0x33a,_0x51cfb6-_0x563b8b._0x493ac9,_0x4f355c-_0x563b8b._0x559e6c);}return _0x1a2ba6==='images'?_0x81736d(0x7fe,_0x332053._0x450c4f,_0x332053._0x111772,0x6f1):_0x81736d(0x79f,0x7c9,_0x332053._0x5e5c78,0x8a2);}async function fetchJson(_0x49ab1d,_0x2fcc3a,_0x8ffce8){const _0x1a20c7={_0x1efd1a:0x5cc,_0x58de02:0x671,_0x2bcc97:0x680,_0x45a868:0x791,_0x5f009b:0x6f3,_0x397ae5:0x6bc,_0x1c3a17:0x609,_0x421d8c:0x430,_0x907fd3:0x683,_0x36e04b:0x654,_0x15f222:0x7d5,_0x23cb6f:0x89b,_0x3b22b6:0x718,_0x430f53:0x3fd,_0x30292d:0x6da,_0x11ccf1:0x608,_0x1c669e:0x548,_0x7ac3fb:0x507,_0x14898f:0x618,_0x5a6b9f:0x5e7,_0x59d655:0x480,_0x537cbc:0x6bc,_0x32bfcb:0x6ad,_0x10e059:0x7da,_0x16440f:0x6a2,_0x3d8114:0x56f,_0x3b59b4:0x3fa},_0x277209={_0x2c364a:0x2c},_0x14f786={_0x591866:0x89,_0x2fa4f6:0x13f};function _0x123de4(_0x1946c7,_0x375c3e,_0x4d1b6a,_0x18d9ba){return _0x475ba1(_0x1946c7,_0x4d1b6a-0x4fc,_0x4d1b6a-_0x14f786._0x591866,_0x18d9ba-_0x14f786._0x2fa4f6);}const _0x3feb08=await fetch(_0x49ab1d,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x8ffce8?.['headers']},'signal':_0x2fcc3a,..._0x8ffce8});if(!_0x3feb08['ok']){let _0xfd9144,_0x4b06aa;try{_0xfd9144=await _0x3feb08[_0x23b73a(0x680,_0x1a20c7._0x1efd1a,_0x1a20c7._0x58de02,_0x1a20c7._0x2bcc97)]();const _0x39514f=JSON[_0x23b73a(_0x1a20c7._0x45a868,_0x1a20c7._0x5f009b,_0x1a20c7._0x397ae5,0x673)](_0xfd9144),_0x375b24=typeof _0x39514f[_0x23b73a(_0x1a20c7._0x1c3a17,0x4c6,0x3f3,0x46d)]==='object'?_0x39514f[_0x23b73a(0x343,0x4c6,_0x1a20c7._0x421d8c,0x645)][_0x23b73a(0x753,_0x1a20c7._0x907fd3,_0x1a20c7._0x36e04b,_0x1a20c7._0x15f222)]:void 0x0;_0x4b06aa=_0x39514f[_0x123de4(0x877,_0x1a20c7._0x23cb6f,_0x1a20c7._0x3b22b6,0x7b7)]?.[_0x23b73a(_0x1a20c7._0x430f53,0x573,0x550,0x414)]??_0x39514f[_0x123de4(0x734,_0x1a20c7._0x30292d,0x718,_0x1a20c7._0x30292d)]?.['errors']?.[0x0]?.[_0x123de4(0x729,0x499,_0x1a20c7._0x11ccf1,0x66b)]??_0x375b24;}catch{}const _0x1750f8=_0x4b06aa?_0x23b73a(_0x1a20c7._0x1c669e,0x450,_0x1a20c7._0x7ac3fb,0x4aa)+_0x3feb08[_0x23b73a(0x49d,0x618,0x62a,0x6c2)]+':\x20'+_0x4b06aa:'HTTP\x20'+_0x3feb08[_0x23b73a(0x6a6,_0x1a20c7._0x14898f,0x4b2,_0x1a20c7._0x5a6b9f)]+'\x20'+_0x3feb08[_0x23b73a(0x4ab,0x5c6,_0x1a20c7._0x59d655,_0x1a20c7._0x537cbc)];throw new ToolExecutionError(_0x1750f8,{'statusCode':_0x3feb08[_0x123de4(0x819,0x7f0,_0x1a20c7._0x32bfcb,_0x1a20c7._0x10e059)],..._0xfd9144?{'body':_0xfd9144}:{}});}function _0x23b73a(_0x4a7bfe,_0x33fb75,_0xd5c1b0,_0x3d9fee){return _0x475ba1(_0x3d9fee,_0x33fb75-0x467,_0xd5c1b0-0x1f2,_0x3d9fee-_0x277209._0x2c364a);}return await _0x3feb08[_0x123de4(_0x1a20c7._0x16440f,0x5fb,_0x1a20c7._0x3d8114,_0x1a20c7._0x3b59b4)]();}async function hydrateResults(_0x4a1a2f,_0x596db3,_0x202fc4,_0xdd2d13){const _0x5a2213={_0x1a567d:0x63e,_0x410b53:0x7bf,_0x4eb42a:0x5f0,_0x5641db:0x6e8,_0x232317:0x7ef,_0x4e0e1a:0x830,_0x1df520:0x456,_0x22ff02:0x4f3,_0x5705ef:0x78b},_0x42327e={_0x1ce062:0x439,_0x417dfe:0x5ab,_0x5c1c9c:0x9,_0x318672:0x9e,_0x594c74:0x6a5,_0x30ea1d:0x61f,_0x40ea1f:0x65f,_0x67c821:0x18e,_0x36e252:0xd1,_0x4f996e:0x654,_0x24bb11:0x62b,_0x20683c:0x67c,_0x5e983b:0x4e1,_0x1ab8a1:0x5ae,_0x51beab:0x5a7,_0x165e70:0x585,_0x317eb7:0x53d,_0x301c28:0x653,_0x1ef480:0x13e,_0x3b2595:0x82,_0x35df2e:0x7b,_0x158190:0xf9,_0x46e34c:0x40,_0x2fcd57:0x13a,_0x4bea9a:0x47,_0x3a12ad:0x53,_0x233f48:0x5e1,_0x541b64:0x21f,_0x5ed1d2:0x9f,_0x21a5b0:0x193,_0x2301c1:0x150,_0x2c0743:0xc7,_0x2f794d:0x102,_0x5c0961:0x70e,_0x296930:0x5b5,_0x2b5ca0:0x59a,_0xf4146e:0x43a,_0x5ffb2:0x5a5,_0x31128c:0x497,_0x57703a:0x72c,_0x52bd0c:0x601,_0x2bd53a:0x1b},_0x113ab2={_0x3e368c:0xa0,_0x3223d3:0x146,_0x4ff62d:0x104},_0x48f4b8={_0x30487e:0xd3},_0x2f3e5e={_0x2d026a:0x5e2};function _0x61f00b(_0x4efee7,_0x22b363,_0x5c20d0,_0x49f4d0){return _0x475ba1(_0x22b363,_0x4efee7-_0x2f3e5e._0x2d026a,_0x5c20d0-0xb3,_0x49f4d0-0xaf);}function _0x1966f6(_0x56d1b0,_0x1fcf74,_0x126bef,_0x380865){return _0x511d68(_0x56d1b0-_0x48f4b8._0x30487e,_0x56d1b0-0x108,_0x126bef-0x1bc,_0x380865);}const _0x59fd54=await Promise[_0x61f00b(_0x5a2213._0x1a567d,_0x5a2213._0x410b53,_0x5a2213._0x4eb42a,0x713)](_0x4a1a2f['slice'](0x0,0xa)[_0x61f00b(_0x5a2213._0x5641db,_0x5a2213._0x232317,0x776,_0x5a2213._0x4e0e1a)](async _0x2fd717=>{const _0x55fba3={_0x110057:0x5aa};function _0xc31024(_0x2a8b50,_0x21cf1a,_0x48586f,_0x1352eb){return _0x1966f6(_0x1352eb- -_0x113ab2._0x3e368c,_0x21cf1a-_0x113ab2._0x3223d3,_0x48586f-_0x113ab2._0x4ff62d,_0x2a8b50);}function _0x5f4d3f(_0x23ea8f,_0x415cc5,_0x5bc5cc,_0x235139){return _0x1966f6(_0x235139- -_0x55fba3._0x110057,_0x415cc5-0xb6,_0x5bc5cc-0x19c,_0x5bc5cc);}try{const _0x377c52=await safeFetch(_0x2fd717[_0xc31024(_0x42327e._0x1ce062,_0x42327e._0x417dfe,0x38a,0x497)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x596db3,'Accept':'text/html'},'signal':_0x202fc4},{'lookup':_0xdd2d13});if(!_0x377c52['ok'])return _0x2fd717;const _0x7b212e=await _0x377c52['text'](),_0xac55b1=load(_0x7b212e),_0x230c3e=_0xac55b1(_0x5f4d3f(0xa1,-0x8b,-_0x42327e._0x5c1c9c,-_0x42327e._0x318672))['attr'](_0x5f4d3f(0x16b,0x9b,0x19b,0x40))||_0xac55b1('title')[_0xc31024(_0x42327e._0x594c74,_0x42327e._0x30ea1d,0x4fd,_0x42327e._0x40ea1f)]()['text']()[_0x5f4d3f(_0x42327e._0x67c821,0x52,-0xb0,_0x42327e._0x36e252)](),_0x29b692=_0xac55b1(_0xc31024(_0x42327e._0x4f996e,0x510,0x771,_0x42327e._0x24bb11))['attr']('content')||_0xac55b1(_0xc31024(_0x42327e._0x20683c,0x442,_0x42327e._0x5e983b,_0x42327e._0x1ab8a1))[_0xc31024(0x638,_0x42327e._0x51beab,0x438,_0x42327e._0x165e70)]('content')||_0x2fd717[_0xc31024(_0x42327e._0x317eb7,_0x42327e._0x301c28,0x68d,0x5bc)],_0x4737fe=_0xac55b1(_0x5f4d3f(_0x42327e._0x1ef480,-0xd4,-_0x42327e._0x3b2595,0x8e))[_0x5f4d3f(0x107,0x43,0x106,_0x42327e._0x35df2e)](_0x5f4d3f(-_0x42327e._0x158190,-0xc3,0x51,_0x42327e._0x46e34c))||_0xac55b1(_0x5f4d3f(-_0x42327e._0x2fcd57,0x49,-_0x42327e._0x4bea9a,-_0x42327e._0x3a12ad))[_0xc31024(0x4ba,_0x42327e._0x233f48,0x632,0x585)]('datetime')||_0x2fd717[_0x5f4d3f(0x1c5,_0x42327e._0x541b64,_0x42327e._0x5ed1d2,_0x42327e._0x21a5b0)],_0x4a20c0=_0xac55b1(_0x5f4d3f(_0x42327e._0x2301c1,0x174,-0x1d,0x34))[_0x5f4d3f(-0x9f,-_0x42327e._0x2c0743,_0x42327e._0x2f794d,0x7b)](_0xc31024(_0x42327e._0x5c0961,_0x42327e._0x296930,0x50c,_0x42327e._0x2b5ca0));return{..._0x2fd717,'title':_0x230c3e||_0x2fd717['title'],'snippet':_0x29b692,'url':_0x4a20c0?normalizeUrl(new URL(_0x4a20c0,_0x2fd717[_0xc31024(0x54b,_0x42327e._0xf4146e,_0x42327e._0x5ffb2,_0x42327e._0x31128c)])[_0xc31024(_0x42327e._0x57703a,0x492,0x549,_0x42327e._0x52bd0c)]()):_0x2fd717[_0x5f4d3f(-0x10f,_0x42327e._0x2bd53a,0x40,-0x73)],'publishedAt':_0x4737fe};}catch{return _0x2fd717;}})),_0x35151f=new Map(_0x4a1a2f[_0x1966f6(0x5a2,0x64a,0x690,_0x5a2213._0x1df520)](0x0,0xa)[_0x1966f6(0x65b,0x62e,_0x5a2213._0x22ff02,_0x5a2213._0x5705ef)]((_0x1d75fb,_0x9f8c6)=>[_0x1d75fb[_0x1966f6(0x537,0x4ea,0x56f,0x5bd)],_0x59fd54[_0x9f8c6]]));return _0x4a1a2f[_0x1966f6(0x65b,0x778,0x5ff,0x56c)](_0x3ce7d9=>_0x35151f['get'](_0x3ce7d9[_0x61f00b(0x5c4,0x555,0x4fd,0x4c1)])??_0x3ce7d9);}function formatResults(_0x14d29a){const _0x3d2ef5={_0x4e6948:0x51,_0x112a09:0xdc,_0x338e76:0x56,_0x4e6ef7:0x94,_0x5e4329:0xd9,_0x44edfa:0xac,_0x320d4f:0xfd,_0x569a46:0xca},_0x166687={_0x3b7c5b:0x479,_0x4fcd6f:0x1fd,_0x59e09e:0x493,_0x3a188d:0x143,_0x3ffb58:0x508,_0x569e51:0x543,_0x15e7a9:0x5ce,_0x4291c4:0x488,_0x4be885:0x677},_0x3a1fd9={_0x55307c:0x13d,_0x56dd2e:0xec},_0x19f055={_0x231270:0x117,_0x3ac76a:0x1e3,_0x274b6c:0x55},_0x41d040={_0x4e25ba:0x1df};function _0x2811f8(_0x29d695,_0x6f7ca1,_0x38367c,_0x338a80){return _0x475ba1(_0x6f7ca1,_0x38367c- -_0x41d040._0x4e25ba,_0x38367c-0x1cb,_0x338a80-0x17d);}if(_0x14d29a[_0x2211d7(-0x188,_0x3d2ef5._0x4e6948,_0x3d2ef5._0x112a09,-_0x3d2ef5._0x338e76)]===0x0)return'No\x20results\x20found.';function _0x2211d7(_0x535651,_0xede3cf,_0x36c333,_0x4d0f55){return _0x475ba1(_0x36c333,_0x4d0f55- -_0x19f055._0x231270,_0x36c333-_0x19f055._0x3ac76a,_0x4d0f55-_0x19f055._0x274b6c);}return _0x14d29a[_0x2811f8(-_0x3d2ef5._0x4e6ef7,-0x236,-_0x3d2ef5._0x5e4329,_0x3d2ef5._0x44edfa)](_0xe1d34=>{const _0x267379={_0x1baca3:0x1e1},_0x2ae968=[_0xe1d34[_0x5f3cfa(_0x166687._0x3b7c5b,0x546,0x457,0x379)][_0x5f3cfa(0x3d9,0x390,0x2ad,0x313)]+'.\x20'+_0xe1d34['title'],_0xe1d34[_0x5f3cfa(0x2b3,0x125,0x27d,_0x166687._0x4fcd6f)]];function _0x5f3cfa(_0x2aa463,_0x1eb831,_0x41db7e,_0x3cc132){return _0x2211d7(_0x2aa463-_0x3a1fd9._0x55307c,_0x1eb831-_0x3a1fd9._0x56dd2e,_0x2aa463,_0x41db7e-0x3b2);}if(_0xe1d34[_0x418d07(0x508,0x49f,0x4e0,_0x166687._0x59e09e)])_0x2ae968[_0x5f3cfa(0x294,0x136,0x265,_0x166687._0x3a188d)](_0xe1d34[_0x418d07(_0x166687._0x3ffb58,_0x166687._0x569e51,0x466,0x3b9)]);function _0x418d07(_0x439566,_0xfa8949,_0x50f77d,_0x28dcc5){return _0x2811f8(_0x439566-0x20,_0x28dcc5,_0x439566-0x5e0,_0x28dcc5-_0x267379._0x1baca3);}if(_0xe1d34['publishedAt'])_0x2ae968['push'](_0x5f3cfa(_0x166687._0x15e7a9,0x416,0x46f,0x33e)+_0xe1d34[_0x5f3cfa(_0x166687._0x4291c4,0x5db,0x483,0x577)]);return _0x2ae968[_0x5f3cfa(0x3fc,0x5fe,0x544,_0x166687._0x4be885)]('\x0a');})[_0x2811f8(0x1e0,_0x3d2ef5._0x320d4f,_0x3d2ef5._0x569a46,-0x63)]('\x0a\x0a');}async function searchOllama(_0x18be71,_0x495f4d,_0x5f0597){const _0x1c32c6={_0x282aa2:0x30f,_0xbed777:0x1c3,_0x26c8be:0x297,_0x40dab7:0x219,_0x5de390:0x19f,_0x486cec:0x224,_0x43619c:0x396,_0x3aeced:0x443,_0x2654cd:0x2ac,_0x447745:0x306,_0x17b019:0x255,_0x49c2d0:0x21a,_0x358214:0x12d,_0x27ca6e:0x24f,_0x176dfc:0xe4,_0x1d5675:0x2b9,_0x264bb7:0x4a4,_0x5c566b:0x318,_0x4c6135:0x311,_0xa46453:0x115,_0x3188cd:0x27d,_0x691329:0x1df,_0x278ab6:0x3c1,_0x32f6c9:0x2e4,_0x15cd0c:0x413,_0x2919be:0x44c},_0x5e0ff9={_0x467f5b:0x1ac},_0x5d2454={_0x29881c:0x627,_0x492adb:0x61a,_0x1819c9:0x87d,_0x1720f0:0x6ed,_0x35affd:0x5cf,_0x2d4602:0x53b,_0x47b3d6:0x540,_0x49c5e7:0x1fc},_0x26c6f3={_0x346326:0x9,_0x208cb9:0x557},_0x35bb3a={_0x1511c0:0x63,_0x16fcb3:0xef},_0x455510=Math[_0x3864e9(0x24d,0x1f3,_0x1c32c6._0x282aa2,0xff)](0x1,Math[_0x3864e9(_0x1c32c6._0xbed777,_0x1c32c6._0x26c8be,0x219,_0x1c32c6._0x40dab7)](0xa,_0x495f4d[_0x3864e9(_0x1c32c6._0x5de390,_0x1c32c6._0x486cec,_0x1c32c6._0x43619c,0x31e)]));function _0x4ed0a8(_0x243ccf,_0x4eb3e0,_0xd36d5,_0x2f0983){return _0x511d68(_0x243ccf-_0x35bb3a._0x1511c0,_0xd36d5- -0xd9,_0xd36d5-_0x35bb3a._0x16fcb3,_0x243ccf);}const _0x1a8adb=addSiteFilters(_0x495f4d['query'],_0x495f4d[_0x4ed0a8(0x5a4,0x43a,_0x1c32c6._0x3aeced,0x3bf)]),_0x52d598=await fetchJson(_0x3864e9(0x28c,_0x1c32c6._0x2654cd,0x1f2,0x29f),_0x5f0597,{'method':_0x3864e9(_0x1c32c6._0x447745,_0x1c32c6._0x17b019,_0x1c32c6._0x49c2d0,0x3b3),'headers':{'Authorization':_0x3864e9(_0x1c32c6._0x358214,_0x1c32c6._0x27ca6e,_0x1c32c6._0x176dfc,0x22e)+_0x18be71[_0x3864e9(_0x1c32c6._0x1d5675,0x3eb,_0x1c32c6._0x264bb7,0x439)]},'body':JSON[_0x3864e9(_0x1c32c6._0x5c566b,0x37b,_0x1c32c6._0x4c6135,0x392)]({'query':_0x1a8adb,'max_results':_0x455510})}),_0x5e349b=_0x52d598['results']??[],_0x1d6ea1=_0x5e349b[_0x3864e9(_0x1c32c6._0xa46453,0x26d,_0x1c32c6._0x3188cd,_0x1c32c6._0x691329)]((_0x33b91e,_0x4a1c8f)=>{const _0x413a5a={_0x776fad:0x67},_0x1bcb72=_0x33b91e['url']||'';function _0x269b7d(_0x5a1f09,_0x1b56a8,_0x2ef5d9,_0xe5ef7f){return _0x4ed0a8(_0x2ef5d9,_0x1b56a8-_0x413a5a._0x776fad,_0xe5ef7f-0x196,_0xe5ef7f-0x111);}let _0x11821e;try{_0x11821e=new URL(_0x1bcb72)[_0x269b7d(_0x5d2454._0x29881c,0x59c,0x65f,0x6ec)];}catch{_0x11821e=null;}function _0x2303cf(_0x28e433,_0x419222,_0x2b34bf,_0x207f64){return _0x4ed0a8(_0x28e433,_0x419222-_0x26c6f3._0x346326,_0x2b34bf- -_0x26c6f3._0x208cb9,_0x207f64-0xfa);}return{'title':_0x33b91e[_0x269b7d(_0x5d2454._0x492adb,_0x5d2454._0x1819c9,_0x5d2454._0x1720f0,0x73d)]||_0x269b7d(0x62a,_0x5d2454._0x35affd,0x584,_0x5d2454._0x2d4602),'url':normalizeUrl(_0x1bcb72),'snippet':_0x33b91e[_0x269b7d(0x539,0x5d7,_0x5d2454._0x47b3d6,0x59f)]??null,'displayUrl':_0x11821e,'favicon':null,'publishedAt':null,'source':{'engine':_0x2303cf(-_0x5d2454._0x49c5e7,-0x212,-0x10b,-0x39),'rank':_0x4a1c8f+0x1}};});function _0x3864e9(_0x576fb5,_0x14e3aa,_0x569b17,_0x20c15b){return _0x475ba1(_0x569b17,_0x14e3aa-0x167,_0x569b17-_0x5e0ff9._0x467f5b,_0x20c15b-0x198);}return{'items':_0x1d6ea1[_0x4ed0a8(0x2c0,0x45a,_0x1c32c6._0x278ab6,_0x1c32c6._0x32f6c9)](0x0,_0x455510),'engine':_0x4ed0a8(_0x1c32c6._0x15cd0c,0x428,_0x1c32c6._0x2919be,0x5ab)};}async function searchTavily(_0xb41a25,_0x1add7e,_0x47ea41){const _0x3b52cc={_0x41a8c5:0x288,_0x5196ab:0x143,_0x8a9bda:0xa9,_0x582f81:0x94,_0x33e0d4:0x51a,_0x51f7ca:0x57e,_0x232ff3:0x1e4,_0x3a2637:0x142,_0x38d28a:0xca,_0xf3c163:0x15f,_0x4e5547:0x1f1,_0x56f411:0x7a,_0x124bf0:0x166,_0x3bedbd:0xf0,_0x148be7:0x44,_0x484955:0xcf,_0x49ff6d:0x72c,_0x2eab4d:0x69a,_0x3ed61b:0x71a,_0x40dbf1:0x5e5,_0x409c19:0x525,_0x1148dc:0x1a4,_0x59d235:0x181,_0x1410bc:0x53c,_0x3f1e96:0x69a,_0x4b2ae8:0x59c,_0x511bce:0x68f,_0x4dd826:0xe1,_0x5eb3dd:0x58b,_0x269b4d:0x599,_0x19117f:0x194,_0x1bdbad:0xfd,_0x25b5d7:0xf3,_0x2d1099:0x793,_0x3de500:0x892,_0x30a090:0x618,_0x43a50e:0x721},_0x1a3634={_0x5e6fc9:0x2ef},_0x4d529c={_0x12a53c:0x1ec},_0x3e7857={_0x82c7f8:0x1cf,_0x52fac1:0x1a4},_0x1ef792={_0x43b05e:0x17b,_0x2b670f:0xba},_0x493185=Math[_0x3e3986(-0x11d,-_0x3b52cc._0x41a8c5,-_0x3b52cc._0x5196ab,-0x12c)](0x1,Math[_0x3e3986(-_0x3b52cc._0x8a9bda,0xd3,-0x9f,-_0x3b52cc._0x582f81)](0x14,_0x1add7e[_0xfba433(0x7a7,0x688,_0x3b52cc._0x33e0d4,_0x3b52cc._0x51f7ca)])),_0x4811bd={'query':_0x1add7e['query'],'max_results':_0x493185,'search_depth':_0xb41a25[_0x3e3986(_0x3b52cc._0x232ff3,_0x3b52cc._0x3a2637,_0x3b52cc._0x38d28a,_0x3b52cc._0xf3c163)]??_0x3e3986(-_0x3b52cc._0x4e5547,-_0x3b52cc._0x56f411,-0x1e7,-_0x3b52cc._0x124bf0),'topic':_0xb41a25[_0x3e3986(0xb,-_0x3b52cc._0x3bedbd,-_0x3b52cc._0x148be7,_0x3b52cc._0x484955)]??_0xfba433(_0x3b52cc._0x49ff6d,0x759,0x80a,0x865)};if(_0x1add7e[_0xfba433(0x625,_0x3b52cc._0x2eab4d,_0x3b52cc._0x3ed61b,_0x3b52cc._0x40dbf1)][_0xfba433(0x511,0x68c,_0x3b52cc._0x409c19,0x621)]>0x0)_0x4811bd[_0x3e3986(-0x30e,-0xbd,-_0x3b52cc._0x1148dc,-_0x3b52cc._0x59d235)]=_0x1add7e[_0xfba433(_0x3b52cc._0x1410bc,_0x3b52cc._0x3f1e96,_0x3b52cc._0x4b2ae8,_0x3b52cc._0x511bce)];const _0x39adfb=await fetchJson('https://api.tavily.com/search',_0x47ea41,{'method':_0x3e3986(-0x211,0x4,-_0x3b52cc._0x4dd826,-0x23f),'headers':{'Authorization':_0xfba433(_0x3b52cc._0x5eb3dd,0x6b3,0x81f,_0x3b52cc._0x269b4d)+_0xb41a25['tavilyApiKey'],'Content-Type':'application/json'},'body':JSON[_0x3e3986(_0x3b52cc._0x19117f,_0x3b52cc._0x1bdbad,0x45,_0x3b52cc._0x25b5d7)](_0x4811bd)});function _0xfba433(_0x44d36d,_0x46843a,_0x444149,_0x2f8482){return _0x511d68(_0x44d36d-_0x1ef792._0x43b05e,_0x46843a-0x17e,_0x444149-_0x1ef792._0x2b670f,_0x44d36d);}function _0x3e3986(_0x2873fe,_0x3413a4,_0x59f44e,_0x395506){return _0x475ba1(_0x2873fe,_0x59f44e- -_0x3e7857._0x82c7f8,_0x59f44e-_0x3e7857._0x52fac1,_0x395506-0x140);}const _0x290d01=_0x39adfb[_0xfba433(0x84f,_0x3b52cc._0x2d1099,_0x3b52cc._0x3de500,0x72c)]??[],_0x5bfefd=_0x290d01[_0x3e3986(-0x1ac,-0xc0,-0xc9,0x69)]((_0x2c941f,_0x2c5b9a)=>{const _0x2e8ac4={_0x433ea2:0x58};function _0x473f38(_0x3b7181,_0x4a9a43,_0x388b82,_0x4d67a9){return _0x3e3986(_0x388b82,_0x4a9a43-0xe,_0x4a9a43-0x2ed,_0x4d67a9-_0x4d529c._0x12a53c);}const _0x15bd2e=_0x2c941f['url']||'';let _0x423715;function _0x427fba(_0x242ea1,_0x171210,_0x201515,_0x111384){return _0xfba433(_0x171210,_0x111384- -0x6bb,_0x201515-_0x2e8ac4._0x433ea2,_0x111384-0x159);}try{_0x423715=new URL(_0x15bd2e)['host'];}catch{_0x423715=null;}return{'title':_0x2c941f['title']||_0x473f38(0x2d2,0x14f,0x24c,0x1bc),'url':normalizeUrl(_0x15bd2e),'snippet':_0x2c941f['content']??null,'displayUrl':_0x423715,'favicon':null,'publishedAt':null,'source':{'engine':_0x473f38(0x1ec,_0x1a3634._0x5e6fc9,0x220,0x198),'rank':_0x2c5b9a+0x1}};});return{'items':_0x5bfefd[_0xfba433(0x5f5,_0x3b52cc._0x30a090,0x5c1,_0x3b52cc._0x43a50e)](0x0,_0x493185),'engine':'tavily'};}async function searchGoogleCse(_0x5a354e,_0x50d113,_0x588cd8){const _0x39a61b={_0x4e001f:0x12,_0x5d52f4:0x27,_0x1b3fca:0x4fc,_0x8ca894:0x510,_0x4d6ec2:0x1d0,_0x36c1b1:0x7c,_0x2ef4a0:0x58,_0x114e69:0x5d4,_0x178d51:0x5ef,_0x2943f7:0x4cd,_0x117def:0x434,_0x240c4:0x745,_0x2859fd:0x6b2,_0x506e40:0x5f4,_0x3e2bcc:0x5cb,_0x4be6ea:0x4b3,_0x274581:0xf1,_0x27f365:0xfb,_0x2c6d6d:0xa5,_0x540231:0x82d,_0x4885e3:0x688,_0x28d527:0x5f5,_0x5849eb:0x29f,_0xfd43f5:0x1f7,_0x3db22e:0x6e7,_0x2443c2:0x75e,_0x4206c0:0x716,_0x153dab:0x239,_0x5e5cbf:0x163,_0xa0a0a1:0x68,_0x45c28f:0x896,_0x4eb8d4:0x810,_0x3dabe4:0x855,_0x330088:0x7c6,_0x5259ac:0x667,_0xce02e:0x81e,_0x72269c:0x359,_0x30b146:0x193,_0x3b9a58:0xc6,_0x4739e3:0x92,_0x2b9792:0x92,_0x1d489a:0x700,_0x394333:0x682,_0x54db81:0x60a,_0x24f9a0:0x651,_0x2aac0c:0x69c,_0x2d10d9:0x630,_0xeeade2:0x719,_0x210829:0x638,_0x3caefd:0x70d,_0x24d3ae:0x47c,_0x45a4aa:0x5d8,_0x1b8bee:0x721,_0x3f0a8d:0x1de,_0x5e47a6:0x521,_0x145596:0x593,_0xa5c0dc:0x68d,_0x580274:0x637,_0x35c073:0x5a4,_0x15d7cb:0x6dd,_0x357333:0x621,_0x2ce0a5:0x711,_0x4b2b08:0x670,_0xeec4a3:0x66c,_0xcd159d:0x275,_0x4751b0:0x144,_0x5c05d4:0x2bd,_0x431c11:0x1e7,_0x11a3c6:0x2a0,_0x44b993:0x98,_0x4f11ac:0x4b,_0x4e6966:0x8e,_0x1c1a95:0x739,_0xb827f3:0x7c0,_0x328bb2:0x634,_0x400576:0x7e7,_0x220a36:0x55c,_0x118c86:0x564,_0x40619f:0x524,_0x2ed47b:0x58e,_0x5a7247:0x437,_0x2f2072:0x56a,_0x4f970f:0x5ad,_0x400fec:0x10f,_0x157f85:0x1ce,_0x5321ad:0x5b8,_0xca1166:0x83a,_0x4e1ef2:0x6e6,_0x164f87:0x80,_0x205fff:0xf8,_0x3761a1:0x34,_0x19489e:0x602,_0x2c3a8d:0x613,_0x416b0d:0x5a8,_0x51bd66:0x4af,_0x59558f:0x2f6,_0x52d1c9:0x13c,_0x243556:0x24d,_0x10005f:0x51,_0x40f04f:0x6,_0x23722e:0x74,_0x1e3eba:0x9b,_0x53d1bc:0x18b,_0x326312:0x20,_0x24dedb:0x40f,_0x54c426:0x47a,_0x5888db:0x4de,_0x204577:0xce,_0x4e8a8b:0x5c,_0x564ec6:0x428},_0x41f93a={_0x244c3f:0x49b,_0xc84fa2:0x7a},_0x1cba82={_0x481438:0x6},_0x42c0ff=Math[_0x4d8ccf(-_0x39a61b._0x4e001f,-0x14a,0x2c,_0x39a61b._0x5d52f4)](0x1,Math[_0x27432e(_0x39a61b._0x1b3fca,0x5cb,0x6ef,_0x39a61b._0x8ca894)](0x32,_0x50d113[_0x4d8ccf(_0x39a61b._0x4d6ec2,_0x39a61b._0x36c1b1,-0x12c,_0x39a61b._0x2ef4a0)]));if(_0x50d113[_0x27432e(0x4eb,0x653,0x760,0x5bb)]+_0x42c0ff>0x64)throw new ToolExecutionError(_0x27432e(_0x39a61b._0x114e69,0x6e2,_0x39a61b._0x178d51,0x757),{'offset':_0x50d113['offset'],'count':_0x42c0ff,'maxResults':0x64});const _0x3cab75=cseDateRestrict(_0x50d113[_0x27432e(0x34a,_0x39a61b._0x2943f7,0x42e,_0x39a61b._0x117def)]);function _0x4d8ccf(_0x303e95,_0x8756e0,_0x2264af,_0x527d7b){return _0x475ba1(_0x303e95,_0x527d7b- -0x65,_0x2264af-0x15e,_0x527d7b-_0x1cba82._0x481438);}const _0x2898bc=addSiteFilters(_0x50d113[_0x27432e(0x57b,0x6eb,_0x39a61b._0x240c4,0x6b4)],_0x50d113[_0x27432e(_0x39a61b._0x2859fd,0x56a,0x419,0x565)]);let _0x234b18=0x0,_0x5bd7f0=_0x50d113['offset']+0x1;function _0x27432e(_0x4b7e25,_0x3bba7f,_0x4fe338,_0x1eb53c){return _0x475ba1(_0x1eb53c,_0x3bba7f-_0x41f93a._0x244c3f,_0x4fe338-0x1e5,_0x1eb53c-_0x41f93a._0xc84fa2);}const _0x54cf0f=[];while(_0x234b18<_0x42c0ff){const _0x2dd520=Math[_0x27432e(_0x39a61b._0x506e40,_0x39a61b._0x3e2bcc,_0x39a61b._0x4be6ea,0x73f)](0xa,_0x42c0ff-_0x234b18),_0x4e2595=new URL(_0x4d8ccf(_0x39a61b._0x274581,_0x39a61b._0x27f365,0xe4,_0x39a61b._0x2c6d6d));_0x4e2595[_0x4d8ccf(0x75,0x228,0x91,0x1e7)][_0x27432e(0x6d0,0x739,_0x39a61b._0x540231,0x61f)](_0x27432e(0x62d,_0x39a61b._0x4885e3,_0x39a61b._0x28d527,0x565),_0x5a354e[_0x4d8ccf(_0x39a61b._0x5849eb,0x11f,_0x39a61b._0xfd43f5,0x159)]),_0x4e2595[_0x27432e(0x740,_0x39a61b._0x3db22e,_0x39a61b._0x2443c2,_0x39a61b._0x4206c0)][_0x4d8ccf(0x158,0x1cc,0x1e1,_0x39a61b._0x153dab)]('cx',_0x5a354e['googleCseCx']),_0x4e2595[_0x4d8ccf(_0x39a61b._0x5e5cbf,0x9b,_0x39a61b._0xa0a0a1,0x1e7)][_0x27432e(_0x39a61b._0x45c28f,0x739,0x663,_0x39a61b._0x4eb8d4)]('q',_0x2898bc),_0x4e2595[_0x27432e(_0x39a61b._0x3dabe4,0x6e7,_0x39a61b._0x330088,_0x39a61b._0x5259ac)][_0x27432e(0x82d,0x739,_0x39a61b._0xce02e,0x5b6)]('num',String(_0x2dd520)),_0x4e2595[_0x4d8ccf(_0x39a61b._0x72269c,_0x39a61b._0x30b146,0x203,0x1e7)][_0x4d8ccf(0x2ba,0x153,0x2de,0x239)](_0x4d8ccf(_0x39a61b._0x3b9a58,-_0x39a61b._0x4739e3,-0x65,-_0x39a61b._0x2b9792),String(_0x5bd7f0)),_0x4e2595[_0x27432e(_0x39a61b._0x1d489a,_0x39a61b._0x3db22e,0x5c7,_0x39a61b._0x394333)]['set']('safe',_0x50d113['safe']?_0x27432e(_0x39a61b._0x54db81,0x4ee,_0x39a61b._0x24f9a0,0x50f):'off');_0x50d113[_0x27432e(0x6c9,_0x39a61b._0x2aac0c,0x6e7,_0x39a61b._0x2d10d9)]&&(_0x4e2595['searchParams'][_0x4d8ccf(0x150,0x230,0x38a,0x239)]('hl',_0x50d113[_0x27432e(_0x39a61b._0xeeade2,0x69c,_0x39a61b._0x210829,_0x39a61b._0x3caefd)]),_0x4e2595['searchParams']['set']('lr',_0x27432e(_0x39a61b._0x24d3ae,_0x39a61b._0x45a4aa,_0x39a61b._0x1b8bee,0x53a)+_0x50d113[_0x4d8ccf(0x62,_0x39a61b._0x3f0a8d,0x19b,0x19c)]));if(_0x50d113[_0x27432e(_0x39a61b._0x5e47a6,_0x39a61b._0x145596,0x6a4,0x66f)])_0x4e2595[_0x27432e(_0x39a61b._0xa5c0dc,0x6e7,_0x39a61b._0x580274,_0x39a61b._0x35c073)][_0x27432e(0x6be,0x739,0x5d7,0x746)]('gl',_0x50d113[_0x27432e(_0x39a61b._0x15d7cb,_0x39a61b._0x145596,_0x39a61b._0x357333,0x555)]['toUpperCase']());if(_0x50d113[_0x27432e(_0x39a61b._0x2ce0a5,_0x39a61b._0x4b2b08,0x686,_0x39a61b._0xeec4a3)]===_0x4d8ccf(_0x39a61b._0xcd159d,0x63,-0xd,_0x39a61b._0x4751b0))_0x4e2595[_0x4d8ccf(_0x39a61b._0x5c05d4,0x1b3,0x2e0,_0x39a61b._0x431c11)][_0x4d8ccf(0x251,0xd7,_0x39a61b._0x11a3c6,_0x39a61b._0x153dab)](_0x4d8ccf(0x118,-_0x39a61b._0x44b993,0x1a,_0x39a61b._0x4f11ac),_0x4d8ccf(0x112,_0x39a61b._0x2c6d6d,0xfc,_0x39a61b._0x4e6966));if(_0x3cab75)_0x4e2595['searchParams'][_0x27432e(0x71e,_0x39a61b._0x1c1a95,_0x39a61b._0xb827f3,_0x39a61b._0x328bb2)](_0x27432e(0x3e0,0x4f4,0x522,0x5fd),_0x3cab75);const _0x148ffa=await fetchJson(_0x4e2595[_0x27432e(0x5da,0x5e7,0x545,0x46a)](),_0x588cd8),_0x37bffa=_0x148ffa[_0x27432e(0x5fd,0x66a,_0x39a61b._0x400576,0x69d)]??[];if(_0x37bffa[_0x27432e(0x519,_0x39a61b._0x220a36,0x698,0x507)]===0x0)break;const _0x238993=_0x234b18;for(let _0x46312b=0x0;_0x46312b<_0x37bffa[_0x27432e(0x4b1,0x55c,_0x39a61b._0x118c86,_0x39a61b._0x40619f)];_0x46312b++){const _0x2ff98e=_0x37bffa[_0x46312b];if(!_0x2ff98e)continue;const _0x511d19=_0x2ff98e['link']||_0x2ff98e[_0x27432e(0x47c,_0x39a61b._0x2ed47b,_0x39a61b._0x5a7247,0x59e)]?.[_0x27432e(_0x39a61b._0x2f2072,_0x39a61b._0x4f970f,0x6a0,0x568)]||'',_0x422878=_0x2ff98e[_0x4d8ccf(0xe1,0x25a,_0x39a61b._0x400fec,_0x39a61b._0x157f85)]||_0x2ff98e[_0x27432e(0x47f,0x58e,_0x39a61b._0x5321ad,0x45d)]?.[_0x27432e(0x5fc,0x6ce,_0x39a61b._0xca1166,_0x39a61b._0x4e1ef2)]||_0x4d8ccf(-_0x39a61b._0x164f87,-0x133,-_0x39a61b._0x205fff,-_0x39a61b._0x3761a1),_0x3d8201=_0x2ff98e[_0x27432e(0x715,0x5a2,_0x39a61b._0x19489e,_0x39a61b._0x2c3a8d)]||_0x2ff98e[_0x27432e(_0x39a61b._0x416b0d,0x55d,0x4c4,0x6ad)]?.[_0x27432e(0x518,0x48c,0x5e3,_0x39a61b._0x51bd66)](/<[^>]+>/g,''),_0x2160ca=_0x2ff98e[_0x4d8ccf(0x1cb,_0x39a61b._0x59558f,_0x39a61b._0x52d1c9,_0x39a61b._0x243556)]?.['metatags']?.[0x0]??{};let _0x324f39;try{_0x324f39=new URL(_0x511d19)['host'];}catch{_0x324f39=null;}_0x54cf0f[_0x4d8ccf(_0x39a61b._0x10005f,-_0x39a61b._0x40f04f,_0x39a61b._0x23722e,-_0x39a61b._0x1e3eba)]({'title':_0x422878,'url':normalizeUrl(_0x511d19),'snippet':_0x3d8201??null,'displayUrl':_0x324f39,'favicon':null,'publishedAt':_0x2160ca[_0x4d8ccf(_0x39a61b._0x53d1bc,-0x40,-0xed,_0x39a61b._0x326312)]||_0x2160ca['og:updated_time']||null,'source':{'engine':_0x4d8ccf(-0xd4,0x82,-0x6a,-0x77),'rank':_0x238993+_0x46312b+0x1}});}_0x234b18+=_0x37bffa[_0x27432e(_0x39a61b._0x24dedb,0x55c,_0x39a61b._0x54c426,_0x39a61b._0x5888db)],_0x5bd7f0+=_0x37bffa['length'];if(_0x37bffa[_0x4d8ccf(0x101,-_0x39a61b._0x204577,0x7c,_0x39a61b._0x4e8a8b)]<_0x2dd520)break;}return _0x54cf0f[_0x27432e(0x3b2,0x4e8,0x63c,_0x39a61b._0x564ec6)](0x0,_0x42c0ff);}function isGoogleCseEngine(_0x4bddf0){const _0x2580c2={_0x27b022:0x61f},_0x2d97db={_0xe6cc01:0x589,_0x593c5a:0x1db};function _0x28ad63(_0x19a63a,_0xdcca0d,_0x2ce264,_0x2274f0){return _0x475ba1(_0xdcca0d,_0x19a63a-_0x2d97db._0xe6cc01,_0x2ce264-_0x2d97db._0x593c5a,_0x2274f0-0x1d6);}return _0x28ad63(0x747,_0x2580c2._0x27b022,0x665,0x774)in _0x4bddf0;}function isOllamaEngine(_0x39bdba){const _0x47e7e5={_0x554a07:0x246},_0x3f0f78={_0x4137c2:0x1cf};function _0x3954fd(_0x4e4d0f,_0x45bf5f,_0x3d5193,_0x2006c4){return _0x511d68(_0x4e4d0f-0x6b,_0x3d5193- -0x586,_0x3d5193-_0x3f0f78._0x4137c2,_0x4e4d0f);}return _0x3954fd(0x271,_0x47e7e5._0x554a07,0x14b,0x243)in _0x39bdba;}function isTavilyEngine(_0x19cd6e){function _0x2fbd82(_0x1ea0a3,_0x141d42,_0x3af58a,_0x27adf7){return _0x511d68(_0x1ea0a3-0x126,_0x141d42- -0x7c,_0x3af58a-0x1e1,_0x27adf7);}return _0x2fbd82(0x3a2,0x4ea,0x3d8,0x483)in _0x19cd6e;}function createWebSearchTool(_0xc28a09){const _0x15337c={_0x5affee:0x603,_0x32499e:0x73e,_0x1beb38:0x410,_0x2db4bc:0x58d,_0x1e5334:0x4e3,_0x394f53:0x697,_0x2e2f22:0x5c1,_0x146281:0x6a9,_0x1f16a8:0x7c1,_0xc75692:0x3e5,_0x43d213:0x44c,_0x1914f1:0x505,_0x3bdd6c:0x576,_0xa55e10:0x530,_0x1ff21c:0x57b,_0x4ec21d:0x539,_0x43a391:0x7c4,_0x2ee20c:0x73a,_0x199d70:0x6d8,_0xddd87:0x71f,_0x55eb06:0x668,_0x27b2a7:0x81d,_0x3f5bd4:0x4f9,_0x12fc0a:0x732},_0x5e45a7={_0x437ef1:0x15e,_0x2f27f4:0x82,_0x518ad0:0x8f,_0x37aad8:0xf9,_0x987539:0x1c,_0x5c6e45:0x2cc,_0x57ff33:0x3f,_0x5c7ba6:0x1c4,_0x2fdd11:0x21b,_0x5777ca:0xa,_0x41811e:0x34,_0x4a309b:0xe0,_0x584451:0xd1,_0x4ba235:0x12e,_0xe92c50:0x163,_0xc5a203:0x1d3,_0x494518:0x75,_0xab8bb6:0x4f,_0x210c9a:0xe0,_0x4ecc17:0x27,_0x1cc875:0x1e2,_0x31a3a9:0x1c,_0x4f4590:0xc0,_0x58c45c:0x180,_0x3dbd9d:0x1a6,_0x1836e1:0x2e,_0x40adda:0xc9,_0x1eade9:0x54,_0x169599:0x1e3,_0x585abf:0x27,_0x3ffbf2:0x14d,_0x55d362:0xe,_0x37ca1a:0x138,_0x47dbd3:0x15f,_0x25e0ed:0x3d6,_0x239453:0x2a4,_0x3dcbc1:0x2e1,_0x5eba26:0x23e,_0x1ad761:0x1af,_0x132a6b:0x393,_0x1a628e:0x2b9,_0x5a8c98:0xbd,_0x453ad2:0x8f,_0x4fe635:0x14b,_0x58eee1:0x43b,_0x2f6fe4:0x262,_0x3b1916:0x2e1,_0x433f5d:0x1c8,_0x21ab70:0x17b,_0x34710a:0x263,_0x4f99c0:0x274,_0xc383ff:0x2ba,_0x3bb3a8:0x4,_0x103c57:0x11a,_0x19209d:0x223,_0x339541:0x1f2,_0x59279b:0x292,_0x4b2321:0x181,_0x1898cd:0x3c,_0x467742:0x1ba,_0x29ab11:0xe8,_0x349b8e:0x84,_0x56bea3:0xd2,_0x295dda:0xef,_0x115a09:0x13b,_0x339307:0x25d,_0xacc9fa:0x22,_0x3ff835:0x120,_0x1d3000:0xe2,_0x52985c:0x43,_0x169402:0x1ad,_0x2289ba:0x10c,_0x35f4af:0x197,_0x29349e:0x1f9,_0x238498:0xdb,_0x2591e9:0x43,_0x201240:0xa6,_0x5f103b:0x2c,_0x364c16:0x2dd,_0x28d03d:0x15b,_0x58c3ac:0x59,_0x1deebb:0x163,_0x5bae98:0x153,_0x546aee:0xb4,_0x22ee20:0xc6,_0x1573e3:0x3ad,_0x414a5f:0x295,_0x2985b7:0x0,_0x4a531e:0x1ad,_0x3f44da:0x4e,_0x5abd8d:0x22b,_0x5d1286:0xc7,_0x4e240b:0x71,_0x5e0433:0x18c,_0x1e456f:0x70,_0x5042d3:0x1a,_0x5e3d5f:0x8,_0x37b675:0x29f,_0x24cea0:0x155,_0xd0c372:0x16d,_0x16678e:0x1bc,_0x3760f7:0x2e4,_0x2bfe01:0x46e,_0x2138c3:0x487,_0xdd24d4:0x5,_0x1e5c07:0x9e,_0x250dbf:0xe1,_0x4baba9:0x344,_0x3cb4f0:0xeb,_0x36e553:0x24c,_0x43eef5:0x55,_0x3614f6:0x6e,_0x43d3cd:0xae},_0x4a7c26={_0x486ed5:0x116,_0x255522:0x510},_0x499612={_0xaee2be:0x1d7},_0xdfdb3f={_0x38e3dc:0x1ca};if(!_0xc28a09[_0x4365a3(0x58e,0x713,_0x15337c._0x5affee,_0x15337c._0x32499e)]||_0xc28a09[_0x52cd79(0x557,_0x15337c._0x1beb38,_0x15337c._0x2db4bc,_0x15337c._0x1e5334)]['length']===0x0)throw new Error(_0x4365a3(0x977,0x80d,0x968,0x930));function _0x52cd79(_0x30293b,_0x389cb5,_0x9e2e12,_0x468b5f){return _0x475ba1(_0x468b5f,_0x9e2e12-0x3fe,_0x9e2e12-_0xdfdb3f._0x38e3dc,_0x468b5f-0x1ab);}const _0x5da3bc=_0xc28a09['name']??_0x4365a3(_0x15337c._0x394f53,0x592,_0x15337c._0x2e2f22,_0x15337c._0x146281);function _0x4365a3(_0x54e793,_0x2c9979,_0x145122,_0x239805){return _0x475ba1(_0x54e793,_0x2c9979-0x584,_0x145122-0x14b,_0x239805-0x17a);}const _0x45e2c0=_0xc28a09[_0x4365a3(0x5a9,0x6d5,0x77d,_0x15337c._0x1f16a8)];return defineTool({'name':_0x5da3bc,'description':_0x52cd79(0x27c,0x295,_0x15337c._0xc75692,_0x15337c._0x43d213),'inputSchema':{'type':_0x52cd79(_0x15337c._0x1914f1,0x6a5,0x5c4,_0x15337c._0x3bdd6c),'properties':{'description':{'type':_0x52cd79(_0x15337c._0xa55e10,0x5cd,_0x15337c._0x1ff21c,0x411)},'query':{'type':_0x52cd79(_0x15337c._0x4ec21d,0x579,_0x15337c._0x1ff21c,0x6b0)},'count':{'type':_0x4365a3(_0x15337c._0x43a391,0x71f,_0x15337c._0x2ee20c,_0x15337c._0x199d70)},'offset':{'type':_0x4365a3(0x66d,_0x15337c._0xddd87,0x852,_0x15337c._0x55eb06)},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x4365a3(0x6b0,_0x15337c._0xddd87,0x662,_0x15337c._0x27b2a7)},'lang':{'type':'string'},'region':{'type':_0x52cd79(0x429,0x691,0x57b,0x4b5)},'safe':{'type':'boolean'},'type':{'type':'string'},'hydrateMeta':{'type':_0x52cd79(0x70a,_0x15337c._0x3f5bd4,0x5b7,0x564)}},'required':[_0x4365a3(_0x15337c._0x12fc0a,0x7d4,0x7ac,0x7ba)]},async *'execute'(_0x557a94,_0x4de193){const _0x3e26a6={_0x10f906:0x1ce,_0xdf355:0x3b,_0x22fb91:0x89,_0x33727a:0x2da,_0x3008e1:0x286,_0x3fef98:0x2b3,_0x557ae5:0x421,_0x2dafdf:0x486},_0x359e69={_0x32396c:0x1b9,_0x4ad913:0x3},_0x145c79=_0x557a94['query']['trim']();if(!_0x145c79)throw new ToolExecutionError(_0x3e646c(-_0x5e45a7._0x437ef1,-_0x5e45a7._0x2f27f4,_0x5e45a7._0x518ad0,-0x1e5));const _0x5c73d0={'query':_0x145c79,'count':Math[_0x26e014(_0x5e45a7._0x37aad8,0x179,_0x5e45a7._0x987539,0x120)](0x1,Math[_0x26e014(_0x5e45a7._0x5c6e45,0xec,_0x5e45a7._0x57ff33,_0x5e45a7._0x5c7ba6)](0x32,Math[_0x3e646c(-_0x5e45a7._0x2fdd11,-0x131,-0xf5,-_0x5e45a7._0x5777ca)](_0x557a94[_0x3e646c(-_0x5e45a7._0x41811e,-0x55,0xe3,-0xa4)]??0xa))),'offset':Math['max'](0x0,Math[_0x3e646c(0x6,-0x131,-_0x5e45a7._0x4a309b,-_0x5e45a7._0x584451)](_0x557a94['offset']??0x0)),'domains':_0x557a94[_0x26e014(_0x5e45a7._0x5777ca,0x29c,_0x5e45a7._0x4ba235,_0x5e45a7._0xe92c50)]??[],'recencyDays':Math['max'](0x0,Math[_0x26e014(0x80,_0x5e45a7._0xc5a203,0x171,_0x5e45a7._0x494518)](_0x557a94[_0x3e646c(-_0x5e45a7._0xab8bb6,-_0x5e45a7._0x210c9a,-_0x5e45a7._0x4ecc17,-_0x5e45a7._0x1cc875)]??0x0)),'lang':_0x557a94['lang']??'en','region':_0x557a94[_0x3e646c(_0x5e45a7._0x31a3a9,-0x1a,-_0x5e45a7._0x4f4590,-_0x5e45a7._0x58c45c)]??'','safe':_0x557a94[_0x3e646c(0x327,_0x5e45a7._0x3dbd9d,0x9f,0x27c)]??!![],'type':normalizeType(_0x557a94[_0x3e646c(0x125,0xc3,-_0x5e45a7._0x1836e1,_0x5e45a7._0x40adda)]),'hydrateMeta':_0x557a94[_0x26e014(-0x2,-_0x5e45a7._0x1eade9,_0x5e45a7._0x169599,0xe8)]??![]};let _0x1dfe14=[],_0x4de9a5=_0x3e646c(0x17c,_0x5e45a7._0x585abf,-_0x5e45a7._0x3ffbf2,-0x86);for(const _0x2bd1f2 of _0xc28a09[_0x3e646c(-_0x5e45a7._0x55d362,0x7d,_0x5e45a7._0x37ca1a,-0xa8)]){try{if(isGoogleCseEngine(_0x2bd1f2))_0x1dfe14=await searchGoogleCse(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(_0x5e45a7._0x47dbd3,_0x5e45a7._0x25e0ed,_0x5e45a7._0x239453,_0x5e45a7._0x3dcbc1)]),_0x4de9a5=_0x3e646c(-_0x5e45a7._0x5eba26,-0x124,-0x20d,-_0x5e45a7._0x1ad761);else{if(isOllamaEngine(_0x2bd1f2)){const _0x4a4e61=await searchOllama(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(0x35c,_0x5e45a7._0x132a6b,_0x5e45a7._0x1a628e,0x2e1)]);_0x1dfe14=_0x4a4e61[_0x3e646c(0x3c,_0x5e45a7._0x5a8c98,0x70,_0x5e45a7._0x453ad2)],_0x4de9a5=_0x4a4e61[_0x26e014(_0x5e45a7._0x4fe635,0x17a,_0x5e45a7._0x58eee1,0x2c2)];}else{if(isTavilyEngine(_0x2bd1f2)){const _0x397de6=await searchTavily(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(0x21c,_0x5e45a7._0x2f6fe4,0x234,_0x5e45a7._0x3b1916)]);_0x1dfe14=_0x397de6[_0x26e014(0x2cb,_0x5e45a7._0x433f5d,_0x5e45a7._0x21ab70,_0x5e45a7._0x34710a)],_0x4de9a5=_0x397de6[_0x26e014(_0x5e45a7._0x4f99c0,_0x5e45a7._0xc383ff,0x19e,0x2c2)];}}}if(_0x1dfe14[_0x3e646c(_0x5e45a7._0x3bb3a8,-0x51,_0x5e45a7._0x103c57,0x12d)]>0x0)break;}catch(_0x2d4370){if(_0x2bd1f2===_0xc28a09[_0x26e014(0x188,0x172,0x223,_0x5e45a7._0x19209d)][_0xc28a09[_0x26e014(_0x5e45a7._0x339541,_0x5e45a7._0x59279b,_0x5e45a7._0x4b2321,_0x5e45a7._0x19209d)]['length']-0x1])throw _0x2d4370;}}_0x5c73d0[_0x26e014(-_0x5e45a7._0x1898cd,0x19c,_0x5e45a7._0x467742,_0x5e45a7._0x29ab11)]&&_0x1dfe14[_0x3e646c(-_0x5e45a7._0x349b8e,-0x51,-_0x5e45a7._0x56bea3,0x4)]>0x0&&(_0x1dfe14=await hydrateResults(_0x1dfe14,_0x5c73d0[_0x3e646c(0x79,_0x5e45a7._0x295dda,0x212,-0x59)],_0x4de193[_0x3e646c(0xe7,_0x5e45a7._0x115a09,0x112,_0x5e45a7._0x339307)],_0x45e2c0));const _0x26d84b=new Set();_0x1dfe14=_0x1dfe14[_0x3e646c(-_0x5e45a7._0x2f27f4,-0x95,-0x1ef,_0x5e45a7._0xacc9fa)](_0x3356d6=>{function _0x1b69a5(_0x4a14d5,_0x5c693d,_0x255975,_0x40f960){return _0x3e646c(_0x4a14d5,_0x255975-0x378,_0x255975-0x1b1,_0x40f960-0xcf);}const _0x868b44=_0x3356d6[_0x36a4dc(_0x3e26a6._0x10f906,-_0x3e26a6._0xdf355,_0x3e26a6._0x22fb91,0x7b)][_0x36a4dc(0x245,_0x3e26a6._0x33727a,_0x3e26a6._0x3008e1,0x321)]();if(!_0x868b44||_0x26d84b[_0x1b69a5(0x3dd,_0x3e26a6._0x3fef98,0x3d5,_0x3e26a6._0x557ae5)](_0x868b44))return![];function _0x36a4dc(_0x26d214,_0x2a8956,_0x3044ac,_0x33c767){return _0x3e646c(_0x33c767,_0x3044ac-_0x359e69._0x32396c,_0x3044ac-_0x359e69._0x4ad913,_0x33c767-0xb0);}return _0x26d84b[_0x1b69a5(0x483,_0x3e26a6._0x2dafdf,0x38e,0x24c)](_0x868b44),!![];}),_0x1dfe14=_0x1dfe14[_0x3e646c(_0x5e45a7._0x3ff835,-0xc,-0x15b,_0x5e45a7._0x1d3000)]((_0x49b375,_0x576e2a)=>({..._0x49b375,'source':{..._0x49b375['source'],'rank':_0x576e2a+0x1}}));const _0x740a67={};if(_0x5c73d0[_0x3e646c(-0xd3,-_0x5e45a7._0x52985c,-0x1b4,-_0x5e45a7._0x169402)][_0x26e014(_0x5e45a7._0x2289ba,_0x5e45a7._0x35f4af,_0x5e45a7._0x29349e,0x155)]>0x0)_0x740a67[_0x3e646c(_0x5e45a7._0x238498,-_0x5e45a7._0x2591e9,-_0x5e45a7._0x201240,_0x5e45a7._0x5f103b)]=_0x5c73d0[_0x26e014(_0x5e45a7._0x364c16,_0x5e45a7._0x28d03d,_0x5e45a7._0x58c3ac,_0x5e45a7._0x1deebb)];if(_0x5c73d0['recencyDays']>0x0)_0x740a67[_0x26e014(_0x5e45a7._0x5bae98,0x4,_0x5e45a7._0x546aee,_0x5e45a7._0x22ee20)]=_0x5c73d0['recencyDays'];if(_0x5c73d0[_0x26e014(_0x5e45a7._0x1573e3,0x252,0x331,_0x5e45a7._0x414a5f)]!=='en')_0x740a67[_0x3e646c(-0x2c,_0x5e45a7._0x295dda,_0x5e45a7._0x2985b7,_0x5e45a7._0x4a531e)]=_0x5c73d0[_0x3e646c(_0x5e45a7._0x3f44da,0xef,_0x5e45a7._0x5abd8d,_0x5e45a7._0x5d1286)];function _0x26e014(_0x50abe5,_0x2cff4e,_0x18d0ea,_0xa0e04c){return _0x4365a3(_0x18d0ea,_0xa0e04c- -0x4f0,_0x18d0ea-_0x499612._0xaee2be,_0xa0e04c-0x16e);}if(_0x5c73d0[_0x26e014(_0x5e45a7._0x4e240b,0x184,0x65,0x18c)])_0x740a67[_0x26e014(0x25,0x2d9,_0x5e45a7._0x546aee,_0x5e45a7._0x5e0433)]=_0x5c73d0[_0x3e646c(-_0x5e45a7._0x1e456f,-_0x5e45a7._0x5042d3,-0xe1,0x1c)];yield createToolOutput(formatResults(_0x1dfe14),{'engine':_0x4de9a5,'count':_0x1dfe14[_0x26e014(0x26b,-_0x5e45a7._0x5e3d5f,_0x5e45a7._0x37b675,_0x5e45a7._0x24cea0)],'items':_0x1dfe14,'query':_0x5c73d0[_0x26e014(_0x5e45a7._0xd0c372,_0x5e45a7._0x16678e,0x21d,_0x5e45a7._0x3760f7)],...Object[_0x26e014(_0x5e45a7._0x2bfe01,0x259,_0x5e45a7._0x2138c3,0x33c)](_0x740a67)[_0x3e646c(_0x5e45a7._0xdd24d4,-0x51,_0x5e45a7._0x1e5c07,_0x5e45a7._0x250dbf)]>0x0?{'appliedFilters':_0x740a67}:{},'offset':_0x5c73d0[_0x26e014(_0x5e45a7._0x4baba9,0x2f1,_0x5e45a7._0x3cb4f0,_0x5e45a7._0x36e553)],'totalRequested':_0x5c73d0[_0x3e646c(-0x7a,-_0x5e45a7._0x43eef5,0x8f,-0x1aa)],'hydrated':_0x5c73d0[_0x26e014(-_0x5e45a7._0x3614f6,_0x5e45a7._0x43d3cd,0x11d,0xe8)]});function _0x3e646c(_0x4a16e3,_0x3f9e65,_0x4d8064,_0x3d1880){return _0x52cd79(_0x4a16e3-0x1ea,_0x3f9e65-_0x4a7c26._0x486ed5,_0x3f9e65- -_0x4a7c26._0x255522,_0x4a16e3);}return void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|
|
1
|
+
(function(_0x2e8025,_0x125705){const _0x5b103c={_0x140d5c:0x4f0,_0x3833da:0x39d,_0x3be5a4:0x30d,_0x9c18a9:0xc2,_0x2c695a:0x173,_0x5a525d:0x3e,_0xbc1c93:0x3e8,_0x3d085c:0x51e,_0x423d95:0x3ed,_0x3ccda5:0x4a4,_0x38a756:0x5f1,_0x217ab9:0x426,_0x41ceb9:0x4d,_0x487888:0x240,_0x104bc3:0x2a4,_0x1daba2:0x31b,_0x5c5855:0x295,_0x56904d:0x87,_0x3c22fc:0x28b,_0x54a1d1:0x2fe},_0x3d4026={_0x4d79dd:0x31e};function _0x5c7300(_0x1613e6,_0x36cb1e,_0x4dd202,_0x480ba9){return _0x678a(_0x36cb1e- -_0x3d4026._0x4d79dd,_0x4dd202);}const _0x248be6=_0x2e8025();function _0x18877c(_0x1ca3c5,_0x1c40a7,_0x88ca5f,_0x44a4e7){return _0x678a(_0x88ca5f-0xd9,_0x44a4e7);}while(!![]){try{const _0x31da2b=-parseInt(_0x18877c(_0x5b103c._0x140d5c,_0x5b103c._0x3833da,_0x5b103c._0x3be5a4,0x358))/0x1*(parseInt(_0x5c7300(0x2b6,_0x5b103c._0x9c18a9,0x9f,0x1bb))/0x2)+parseInt(_0x5c7300(0x3fb,0x27c,0x2d2,_0x5b103c._0x2c695a))/0x3+parseInt(_0x5c7300(0x134,0x1b5,-_0x5b103c._0x5a525d,-0x12))/0x4+-parseInt(_0x18877c(0x502,_0x5b103c._0xbc1c93,0x59d,_0x5b103c._0x3d085c))/0x5*(-parseInt(_0x18877c(_0x5b103c._0x423d95,_0x5b103c._0x3ccda5,_0x5b103c._0x38a756,_0x5b103c._0x217ab9))/0x6)+-parseInt(_0x5c7300(-0x17a,_0x5b103c._0x41ceb9,0xa9,_0x5b103c._0x487888))/0x7+-parseInt(_0x5c7300(0x211,0x41,-0x15c,0x132))/0x8+-parseInt(_0x18877c(_0x5b103c._0x104bc3,_0x5b103c._0x1daba2,_0x5b103c._0x5c5855,_0x5b103c._0x56904d))/0x9*(-parseInt(_0x5c7300(0x19c,_0x5b103c._0x3c22fc,_0x5b103c._0x54a1d1,0x467))/0xa);if(_0x31da2b===_0x125705)break;else _0x248be6['push'](_0x248be6['shift']());}catch(_0x1fa441){_0x248be6['push'](_0x248be6['shift']());}}}(_0x3ec8,0x48bec));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-ZHE3E26D.js';import'../chunk-GAZGO6N7.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x2eee78 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x47b891(0x352,0x44b,0x5b1,0x641),'.tsx':_0x47b891(0x576,0x720,0x8d6,0x524),'.js':'javascript','.jsx':_0xe18bb0(-0x10,0xf1,-0xb5,0x150),'.mjs':_0xe18bb0(0x177,0x27d,0x22d,0x353),'.cjs':_0x47b891(0x661,0x70e,0x752,0x56c),'.mts':_0x47b891(0x65b,0x44b,0x2a7,0x30d),'.cts':_0xe18bb0(0x17e,-0x46,0x17e,0x3a),'.json':_0x47b891(0x708,0x6d9,0x810,0x565),'.jsonc':_0xe18bb0(0x2bb,0x2c2,0x330,0x3eb)};function getLanguageId(_0xe265bd){const _0xfd817={_0x1a73bf:0x370,_0x4c9cf7:0xa9,_0x7b0ffa:0x93,_0x27c48a:0x13e,_0xb9f32a:0x33},_0x4c2b6a={_0x8a7b96:0xb0,_0x351008:0x1be},_0x58ed54={_0x31afbd:0x335};function _0x456678(_0x2ea069,_0x6a0157,_0x8547cf,_0x16857f){return _0x47b891(_0x2ea069,_0x6a0157- -_0x58ed54._0x31afbd,_0x8547cf-0x1b6,_0x16857f-0x0);}function _0x38442d(_0x4b2d6e,_0x5b567f,_0x53e988,_0x2f5e9b){return _0xe18bb0(_0x2f5e9b,_0x5b567f- -_0x4c2b6a._0x8a7b96,_0x53e988-0x93,_0x2f5e9b-_0x4c2b6a._0x351008);}return EXTENSION_TO_LANGUAGE[_0x2eee78[_0x38442d(_0xfd817._0x1a73bf,0x1be,0xa8,_0xfd817._0x4c9cf7)](_0xe265bd)[_0x38442d(-_0xfd817._0x7b0ffa,_0xfd817._0x27c48a,-0xb6,-_0xfd817._0xb9f32a)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0xee31a1){const _0x2087af={_0x108ffd:0x4be};function _0x441ba8(_0xf1b2ce,_0x5667c9,_0x416cdc,_0x3b2ba1){return _0xe18bb0(_0xf1b2ce,_0x416cdc-0x1c6,_0x416cdc-0x99,_0x3b2ba1-0x1a3);}return pathToFileURL(_0xee31a1)[_0x441ba8(0x3f3,0x3b9,_0x2087af._0x108ffd,0x37f)]();}function textDocumentPosition(_0x1b9319){const _0x224cd7={_0x917d69:0x234,_0x1727ff:0x308,_0x3f5b9a:0x15,_0x14f744:0x5d5,_0x35872e:0x873},_0x5ce2f7={_0x18106a:0xe3,_0x2839ae:0x12,_0x4e9de3:0xbd};function _0x4cecb0(_0x385355,_0x43a2cd,_0x7eb15,_0x5aa6b7){return _0xe18bb0(_0x43a2cd,_0x7eb15- -_0x5ce2f7._0x18106a,_0x7eb15-_0x5ce2f7._0x2839ae,_0x5aa6b7-_0x5ce2f7._0x4e9de3);}function _0x2e4c1e(_0x3b05e4,_0x1af3ac,_0xb81e0,_0x4c6bb4){return _0xe18bb0(_0x1af3ac,_0x4c6bb4-0x4d5,_0xb81e0-0xd4,_0x4c6bb4-0x8e);}return{'textDocument':{'uri':uriForPath(_0x1b9319[_0x4cecb0(-_0x224cd7._0x917d69,-_0x224cd7._0x1727ff,-0x185,_0x224cd7._0x3f5b9a)])},'position':{'line':_0x1b9319[_0x4cecb0(-0x294,-0x190,-0x16b,-0x271)],'character':_0x1b9319[_0x2e4c1e(_0x224cd7._0x14f744,0x6b0,_0x224cd7._0x35872e,0x7be)]}};}function normalizeLocations(_0xf9ed9c){const _0x2c9f29={_0xe7f2d7:0x113,_0x2cd255:0x254,_0xe683fe:0x6d,_0x4b2095:0x46},_0x3d11bb={_0x27a874:0x4d4};function _0x400fb5(_0x5e4bff,_0x31c4a4,_0x17d31e,_0x3303f6){return _0x47b891(_0x3303f6,_0x17d31e- -_0x3d11bb._0x27a874,_0x17d31e-0x18c,_0x3303f6-0x12b);}if(!_0xf9ed9c)return[];return Array[_0x400fb5(_0x2c9f29._0xe7f2d7,_0x2c9f29._0x2cd255,_0x2c9f29._0xe683fe,-_0x2c9f29._0x4b2095)](_0xf9ed9c)?_0xf9ed9c:[_0xf9ed9c];}async function withLspTimeout(_0x1f5941,_0x3c6efd,_0x2fbe63){const _0x5d7540={_0x343414:0x47b,_0x5f09b4:0xd6,_0x2dee6b:0x46,_0x1c98d9:0x193,_0x4a90fd:0x364},_0x4b7470={_0x5835b3:0x734,_0x2a2189:0xd9,_0x4ddd11:0x29},_0x4a5df3={_0x23ade0:0x1e7},_0x145a29={_0x4656c8:0x589,_0x431058:0x13e};if(!Number[_0x260fb(0x30e,0x315,0x4b5,_0x5d7540._0x343414)](_0x3c6efd)||_0x3c6efd<0x1)throw new Error(_0x23959b(_0x5d7540._0x5f09b4,-_0x5d7540._0x2dee6b,-0x1,0x18c)+_0x2fbe63+':\x20expected\x20a\x20positive\x20number');let _0x485d61;function _0x23959b(_0x30c0f0,_0x415746,_0x19b7b3,_0x329164){return _0x47b891(_0x329164,_0x19b7b3- -_0x145a29._0x4656c8,_0x19b7b3-_0x145a29._0x431058,_0x329164-0xe1);}function _0x260fb(_0x3fcad1,_0x458a0d,_0x16e2bc,_0x26523b){return _0x47b891(_0x3fcad1,_0x16e2bc- -0x1a4,_0x16e2bc-0x113,_0x26523b-_0x4a5df3._0x23ade0);}try{return await Promise[_0x260fb(0x545,_0x5d7540._0x1c98d9,_0x5d7540._0x4a90fd,0x1dc)]([_0x1f5941,new Promise((_0x3fb623,_0x26c986)=>{_0x485d61=setTimeout(()=>{function _0xadfb50(_0x4c152e,_0x38b1a0,_0x45f2ef,_0x443fa6){return _0x678a(_0x38b1a0- -0x371,_0x443fa6);}function _0x5e95b3(_0x2947c7,_0x2d4045,_0x53e801,_0x5635b7){return _0x678a(_0x2d4045-0x37d,_0x53e801);}_0x26c986(new Error('LSP\x20'+_0x2fbe63+_0x5e95b3(0x680,0x6f2,_0x4b7470._0x5835b3,0x598)+_0x3c6efd+_0xadfb50(_0x4b7470._0x2a2189,-_0x4b7470._0x4ddd11,0xf7,0x1d0)));},_0x3c6efd);})]);}finally{if(_0x485d61!==void 0x0)clearTimeout(_0x485d61);}}async function createLspClient(_0x87cc84){const _0x129b2f={_0x13f8ad:0x3fc,_0x6edd93:0x1d8,_0x2c4dc5:0xb1,_0xcbfed9:0x369,_0x34f2e4:0x68d,_0x2fa987:0x54,_0x57d8a3:0x225,_0x2b3041:0x11d,_0x1d33b7:0x888,_0x4b0e8f:0x762,_0x3f30eb:0x61b,_0x49ea13:0x5a9,_0x13e9ab:0x8b1,_0x5600fc:0x7b5,_0x2502e9:0x6d9,_0x5a23fa:0x6c8,_0x41ab6c:0x5a,_0x1c264f:0x171,_0x58482a:0x200,_0x311848:0x1e2,_0x3e21cc:0x22e,_0x58e10c:0x150,_0x28ecfd:0x388,_0x6f43d7:0x57e,_0x2f3ae5:0x67d,_0x2cdf86:0x584,_0x2b4937:0x62d,_0x4eb0b1:0x45a,_0x36f97f:0x16b,_0x4fff84:0x871,_0x4bc1b2:0x11e,_0x26298c:0x11c,_0xce19ea:0xd8,_0x4f4224:0x300,_0x32a021:0x1b,_0x32a057:0x184,_0x59d7bf:0x1db,_0x5012ae:0x1e2},_0x38261c={_0x146d00:0x57f},_0x4a2a8f={_0x351e35:0x364,_0x3adc82:0x2dc,_0x1d6fb8:0x308,_0x4bda14:0x10b,_0x174aa7:0x2e2,_0x5bc756:0x6d,_0x362cc3:0x227,_0x4f2ee:0x7d,_0x2b54e7:0x96,_0x4d51a7:0x27e,_0x4a71f9:0x7f,_0x4bffa6:0x128,_0x1e9890:0x121,_0x5d0a97:0x31d},_0x4af8ea={_0x284ef5:0x14d},_0x50b4fa={_0x3d8769:0xc1},_0x372f03={_0x461183:0x5a9,_0x1ee15a:0x2dd,_0x334ddb:0x13c,_0x266d58:0x1ba},_0x511543={_0x3aede5:0x199},_0x2dee4f={_0x184708:0x7f9,_0x2f5356:0x742,_0x406f23:0x77b},_0x38bb82={_0x34d3db:0x10c,_0x354378:0x1ac},_0x4d8f27={_0x4dc4ac:0x174},_0x30043a={_0x581e93:0x62,_0x559f12:0x1,_0x136889:0x35},_0x17a923={_0x5c1e99:0x219,_0x2e6e20:0x601},_0x549870={_0x5f1261:0x191,_0x21a48e:0x33c},_0x2b72e4={_0x375352:0x35},_0x13d7f5={_0x56be64:0x14b},_0x60ef0d={_0x50777d:0x3a4},_0x49d165={_0x3b6590:0x872,_0x5229b0:0x930,_0x1cae3e:0x776,_0xc68703:0x536,_0x34c6ff:0x3aa},_0x51cd15={_0x262374:0x2a1,_0x4950f3:0x473,_0x42fbcc:0x489,_0x405545:0x547,_0x3f7fc0:0x426},_0x41f2cd={_0x120c55:0x76a,_0x6bb204:0x72b,_0x52bb84:0x8ba},_0x1c1c2b={_0x472a46:0x74,_0xb0a13f:0x47,_0x94886b:0x63a},_0x4e8ab7={_0x52f4d9:0x1a1},_0x57d8f0={_0x4d27b3:0x295,_0x5263c5:0x38d,_0x20e0b5:0x10c,_0xe9600b:0x282,_0x89a06a:0xd5},_0x127772={_0x3732f9:0x152},_0x413654=_0x87cc84[_0x4c9bb0(_0x129b2f._0x13f8ad,0x429,0x25c,0x445)][_0x3c4595(-_0x129b2f._0x6edd93,_0x129b2f._0x2c4dc5,-0x54,-0x17d)]['stdout'],_0x239f52=_0x87cc84[_0x3c4595(-0x3a4,-_0x129b2f._0xcbfed9,-0x1f2,-0xd4)][_0x4c9bb0(0x639,_0x129b2f._0x34f2e4,0x7bd,0x5e3)][_0x3c4595(_0x129b2f._0x2fa987,-_0x129b2f._0x57d8a3,-_0x129b2f._0x2b3041,-0x173)];if(!_0x413654||!_0x239f52)throw new Error(_0x4c9bb0(_0x129b2f._0x1d33b7,0x6ee,_0x129b2f._0x4b0e8f,0x68b));const _0xabbef1=_0x87cc84[_0x4c9bb0(_0x129b2f._0x3f30eb,0x605,0x472,_0x129b2f._0x49ea13)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x58831b=createMessageConnection(new StreamMessageReader(_0x413654),new StreamMessageWriter(_0x239f52)),_0x5e5233=new Map(),_0x129a9c=new Map();let _0x5d3934=![];const _0x4aecfe=async(_0x5ed0cf,_0x138781)=>{function _0x48481e(_0x5baec5,_0x5c83e7,_0x93927f,_0x27fc07){return _0x4c9bb0(_0x5baec5-0x59,_0x5c83e7-0xc0,_0x5c83e7,_0x93927f-0x116);}return withLspTimeout(_0x58831b[_0x48481e(0x4ed,0x3da,0x555,0x3da)](_0x5ed0cf,_0x138781),_0xabbef1,_0x5ed0cf);};_0x58831b[_0x4c9bb0(_0x129b2f._0x13e9ab,0x5fd,0x6b8,_0x129b2f._0x5600fc)]('textDocument/publishDiagnostics',_0x166f8d=>{const _0x1ebcdc={_0x3d94c7:0x196};_0x5e5233['set'](_0x166f8d['uri'],_0x166f8d[_0x42dd2b(0x47b,0x567,0x327,0x35a)]);const _0x19217d=_0x129a9c[_0x42dd2b(_0x57d8f0._0x4d27b3,0x3dd,_0x57d8f0._0x5263c5,0x2f8)](_0x166f8d[_0x55a100(0x52,_0x57d8f0._0x20e0b5,_0x57d8f0._0xe9600b,0x248)]);if(!_0x19217d)return;_0x129a9c['delete'](_0x166f8d[_0x42dd2b(0x185,-0x6a,0x107,_0x57d8f0._0x89a06a)]);function _0x55a100(_0x5cba00,_0x318e1f,_0x2a349f,_0x53e84b){return _0x4c9bb0(_0x5cba00-_0x127772._0x3732f9,_0x318e1f-0x1a1,_0x2a349f,_0x318e1f- -0x3c9);}function _0x42dd2b(_0x1bd76b,_0x1ca778,_0x43ecfa,_0xa10786){return _0x4c9bb0(_0x1bd76b-_0x1ebcdc._0x3d94c7,_0x1ca778-0x6b,_0xa10786,_0x1bd76b- -0x350);}for(const _0x546f61 of _0x19217d)_0x546f61();}),_0x58831b[_0x4c9bb0(_0x129b2f._0x2502e9,0x671,_0x129b2f._0x5a23fa,0x6b3)]();let _0xe4b8ad;try{_0xe4b8ad=await _0x4aecfe('initialize',{'processId':process[_0x3c4595(-0x125,0xd4,-0x1c,_0x129b2f._0x41ab6c)],'rootUri':uriForPath(_0x87cc84['root']),'workspaceFolders':[{'uri':uriForPath(_0x87cc84[_0x3c4595(_0x129b2f._0x1c264f,_0x129b2f._0x58482a,_0x129b2f._0x311848,0x66)]),'name':_0x87cc84['server']['id']}],'initializationOptions':_0x87cc84[_0x3c4595(-_0x129b2f._0x3e21cc,-_0x129b2f._0x58e10c,-0x1f2,-_0x129b2f._0x28ecfd)][_0x4c9bb0(_0x129b2f._0x6f43d7,0x6fd,0x888,_0x129b2f._0x2f3ae5)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x4c9bb0(_0x129b2f._0x2cdf86,0x497,_0x129b2f._0x2b4937,_0x129b2f._0x4eb0b1),_0x3c4595(0x49,_0x129b2f._0x36f97f,0xcb,0x25a)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1cf002){_0x58831b[_0x4c9bb0(_0x129b2f._0x4fff84,0x69c,0x54b,0x6e6)](),_0x87cc84[_0x3c4595(-0x287,-0xd7,-0x1f2,-_0x129b2f._0x4bc1b2)]['process'][_0x3c4595(-0x167,-_0x129b2f._0x26298c,-0xca,-_0x129b2f._0xce19ea)]();throw _0x1cf002;}function _0x4c9bb0(_0x596028,_0x306def,_0x4536d2,_0x559a6c){return _0x47b891(_0x4536d2,_0x559a6c-0xb8,_0x4536d2-0xfc,_0x559a6c-_0x4e8ab7._0x52f4d9);}_0x58831b['sendNotification'](_0x4c9bb0(0x302,_0x129b2f._0x4f4224,0x5ae,0x45e),{});const _0x2ae15e={'serverId':_0x87cc84[_0x3c4595(-_0x129b2f._0x32a021,_0x129b2f._0x32a057,_0x129b2f._0x59d7bf,0x3d4)]['id'],'root':_0x87cc84[_0x3c4595(0xd2,0x21c,_0x129b2f._0x5012ae,0x17a)],'connection':_0x58831b,'diagnostics':_0x5e5233,'capabilities':_0xe4b8ad['capabilities']??{},'notify':{async 'open'({path:_0x34755e}){function _0x5ebf29(_0x11f230,_0x15c218,_0x3ab51b,_0x10bff5){return _0x3c4595(_0x11f230-_0x1c1c2b._0x472a46,_0x15c218-_0x1c1c2b._0xb0a13f,_0x3ab51b-_0x1c1c2b._0x94886b,_0x10bff5);}const _0x2112c2=await readFile(_0x34755e,'utf8');_0x58831b[_0x5ebf29(0x7be,_0x41f2cd._0x120c55,_0x41f2cd._0x6bb204,_0x41f2cd._0x52bb84)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x34755e),'languageId':getLanguageId(_0x34755e)??'plaintext','version':0x1,'text':_0x2112c2}});},async 'change'({path:_0x19c019,version:_0x5a01a7}){const _0xf45b10={_0x4265e2:0x179},_0x1767b3={_0x33873c:0x1c0,_0xe2f142:0x445},_0x1a3186=await readFile(_0x19c019,_0x224e54(_0x51cd15._0x262374,_0x51cd15._0x4950f3,0x612,_0x51cd15._0x42fbcc));function _0x556576(_0x44c3c5,_0x9f41e7,_0x42fd07,_0x4090e5){return _0x3c4595(_0x44c3c5-0x121,_0x9f41e7-_0x1767b3._0x33873c,_0x4090e5-_0x1767b3._0xe2f142,_0x44c3c5);}function _0x224e54(_0x557450,_0x92348e,_0x3186bd,_0x780da8){return _0x4c9bb0(_0x557450-0x8a,_0x92348e-_0xf45b10._0x4265e2,_0x557450,_0x92348e- -0x2d2);}_0x58831b[_0x224e54(_0x51cd15._0x405545,0x456,0x33a,_0x51cd15._0x3f7fc0)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x19c019),'version':_0x5a01a7},'contentChanges':[{'text':_0x1a3186}]});},async 'close'({path:_0x3f2c35}){const _0x31c897={_0x40f0fc:0x125,_0x30027a:0x3f6};function _0x8586af(_0x3ae5e9,_0xc530d1,_0x1cdb27,_0xac913a){return _0x4c9bb0(_0x3ae5e9-0x7a,_0xc530d1-_0x31c897._0x40f0fc,_0x1cdb27,_0x3ae5e9- -_0x31c897._0x30027a);}function _0x5c1ee4(_0x20b3c3,_0x32ba85,_0x5c4379,_0x20f6f6){return _0x3c4595(_0x20b3c3-0x102,_0x32ba85-0x88,_0x20f6f6-0x685,_0x20b3c3);}_0x58831b[_0x5c1ee4(_0x49d165._0x3b6590,0x8b2,_0x49d165._0x5229b0,_0x49d165._0x1cae3e)](_0x8586af(0x3e4,_0x49d165._0xc68703,0x212,_0x49d165._0x34c6ff),{'textDocument':{'uri':uriForPath(_0x3f2c35)}});}},'request':{async 'definition'(_0x40a6f6){const _0x519d08={_0x3aea83:0x155,_0x50ae6b:0x3e9};function _0x1fabdf(_0x26210a,_0x262de5,_0x2fac26,_0x264436){return _0x3c4595(_0x26210a-0x182,_0x262de5-_0x519d08._0x3aea83,_0x264436-_0x519d08._0x50ae6b,_0x262de5);}return normalizeLocations(await _0x4aecfe(_0x1fabdf(_0x60ef0d._0x50777d,0x3bf,0x4ef,0x38b),textDocumentPosition(_0x40a6f6)));},async 'references'(_0x9f4daa){function _0x1875fd(_0x1a4fec,_0x152739,_0x4580c9,_0x3c381e){return _0x4c9bb0(_0x1a4fec-_0x13d7f5._0x56be64,_0x152739-0xc5,_0x3c381e,_0x4580c9- -0x4b0);}return normalizeLocations(await _0x4aecfe(_0x1875fd(0x4b,-0x129,0xc3,-_0x2b72e4._0x375352),{...textDocumentPosition(_0x9f4daa),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x41a016){return await _0x4aecfe('textDocument/hover',textDocumentPosition(_0x41a016))??null;},async 'documentSymbol'(_0x35743c){function _0x3cae2c(_0x2cf378,_0x8274b2,_0x49fbb7,_0x55e68d){return _0x4c9bb0(_0x2cf378-_0x549870._0x5f1261,_0x8274b2-0x13e,_0x2cf378,_0x8274b2- -_0x549870._0x21a48e);}return await _0x4aecfe(_0x3cae2c(_0x17a923._0x5c1e99,0x422,_0x17a923._0x2e6e20,0x33b),{'textDocument':{'uri':uriForPath(_0x35743c)}})??[];},async 'workspaceSymbol'(_0x3bf571){const _0x36daf9={_0x1cae4c:0x1de,_0x281f97:0x111};function _0x123de3(_0x4b9630,_0x9a0d55,_0x5e8b64,_0x597be8){return _0x3c4595(_0x4b9630-_0x36daf9._0x1cae4c,_0x9a0d55-0x163,_0x4b9630-_0x36daf9._0x281f97,_0x5e8b64);}return await _0x4aecfe(_0x123de3(_0x30043a._0x581e93,-_0x30043a._0x559f12,_0x30043a._0x136889,0xaf),{'query':_0x3bf571})??[];},async 'implementation'(_0x3d87a7){return normalizeLocations(await _0x4aecfe('textDocument/implementation',textDocumentPosition(_0x3d87a7)));},async 'prepareCallHierarchy'(_0x19d1c6){function _0x145b62(_0x1bd71d,_0x5dcb46,_0x8e9984,_0x586854){return _0x3c4595(_0x1bd71d-_0x4d8f27._0x4dc4ac,_0x5dcb46-0x147,_0x586854-0x2fd,_0x5dcb46);}return await _0x4aecfe(_0x145b62(_0x38bb82._0x34d3db,-0x38,0x51,_0x38bb82._0x354378),textDocumentPosition(_0x19d1c6))??[];},async 'incomingCalls'(_0x199a6a){const _0x2fe144={_0x166ac3:0xb,_0x1d6c57:0x174,_0x12993e:0x753};function _0x542b99(_0x486267,_0x3f7329,_0x32a9b6,_0x15bfac){return _0x3c4595(_0x486267-_0x2fe144._0x166ac3,_0x3f7329-_0x2fe144._0x1d6c57,_0x32a9b6-_0x2fe144._0x12993e,_0x486267);}return await _0x4aecfe(_0x542b99(_0x2dee4f._0x184708,_0x2dee4f._0x2f5356,_0x2dee4f._0x406f23,0x904),{'item':_0x199a6a})??[];},async 'outgoingCalls'(_0x286c65){return await _0x4aecfe('callHierarchy/outgoingCalls',{'item':_0x286c65})??[];}},'waitForDiagnostics'({path:_0x4b5866,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x43c523={_0x6a7d97:0x985,_0x39e4dc:0x868,_0x4ca0ab:0x9ce},_0x2ce284=uriForPath(_0x4b5866);function _0x461ae9(_0x260461,_0x342a3c,_0x49fafa,_0x32070a){return _0x4c9bb0(_0x260461-0xa1,_0x342a3c-0x162,_0x342a3c,_0x49fafa-0xee);}if(_0x5e5233[_0x437b3a(_0x372f03._0x461183,0x3a4,0x5f8,0x595)](_0x2ce284))return Promise[_0x437b3a(_0x372f03._0x1ee15a,_0x372f03._0x334ddb,_0x372f03._0x266d58,0x26f)]();function _0x437b3a(_0x5b053e,_0x51e747,_0x2d15f9,_0x39e740){return _0x4c9bb0(_0x5b053e-_0x511543._0x3aede5,_0x51e747-0x141,_0x2d15f9,_0x5b053e- -0x20d);}return new Promise(_0x2300a8=>{const _0x5675cb={_0x3c615e:0x4dd,_0x5cc740:0x2a2,_0x51e308:0x187,_0x3c5b56:0x3ab,_0x23a45d:0x575},_0x7fccde={_0x5bad69:0x145},_0x284ec3={_0x5f1ede:0x52};function _0x77f6a(_0x53be2b,_0x44fd52,_0x37fc5b,_0x36440d){return _0x437b3a(_0x44fd52-0x29f,_0x44fd52-0x4a,_0x53be2b,_0x36440d-0xe7);}const _0x385e18=setTimeout(()=>{function _0xb05c4(_0x5bd5b,_0x9df9b2,_0x4d6882,_0x3e12cc){return _0x678a(_0x9df9b2- -_0x284ec3._0x5f1ede,_0x5bd5b);}const _0x1712ff=_0x129a9c[_0xb05c4(_0x5675cb._0x3c615e,0x2fa,_0x5675cb._0x5cc740,_0x5675cb._0x51e308)](_0x2ce284);function _0x15a2d7(_0x5b2abc,_0x5741b8,_0x4063e2,_0x388863){return _0x678a(_0x5741b8-_0x7fccde._0x5bad69,_0x5b2abc);}_0x1712ff?.['delete'](_0x4394c6);if(_0x1712ff?.[_0xb05c4(0x56d,0x407,0x508,0x488)]===0x0)_0x129a9c[_0xb05c4(0x551,_0x5675cb._0x3c5b56,_0x5675cb._0x23a45d,0x24f)](_0x2ce284);_0x2300a8();},timeoutMs),_0x4394c6=()=>{clearTimeout(_0x385e18),_0x2300a8();},_0x53698f=_0x129a9c['get'](_0x2ce284)??new Set();_0x53698f[_0x77f6a(_0x43c523._0x6a7d97,_0x43c523._0x39e4dc,0x690,_0x43c523._0x4ca0ab)](_0x4394c6),_0x129a9c['set'](_0x2ce284,_0x53698f);});},async 'shutdown'(){function _0x40cab5(_0x48c994,_0x1323d7,_0x739b33,_0x2db444){return _0x4c9bb0(_0x48c994-_0x50b4fa._0x3d8769,_0x1323d7-0x1f0,_0x48c994,_0x739b33- -0x44c);}if(_0x5d3934)return;_0x5d3934=!![];function _0x28f8b3(_0x2abd3c,_0x4a4e5c,_0x67d437,_0x138934){return _0x4c9bb0(_0x2abd3c-_0x4af8ea._0x284ef5,_0x4a4e5c-0x18f,_0x67d437,_0x2abd3c- -0x679);}try{await _0x4aecfe(_0x40cab5(0x186,-0x35,0x137,-0xcf),null),_0x58831b[_0x40cab5(0x4b2,_0x4a2a8f._0x351e35,_0x4a2a8f._0x3adc82,0x29c)](_0x40cab5(_0x4a2a8f._0x1d6fb8,_0x4a2a8f._0x4bda14,0x318,_0x4a2a8f._0x174aa7));}catch{}finally{_0x58831b[_0x28f8b3(_0x4a2a8f._0x5bc756,0x19,_0x4a2a8f._0x362cc3,-_0x4a2a8f._0x4f2ee)](),_0x87cc84['handle'][_0x28f8b3(-_0x4a2a8f._0x2b54e7,0xd6,-_0x4a2a8f._0x4d51a7,-0xe1)][_0x40cab5(-_0x4a2a8f._0x4a71f9,_0x4a2a8f._0x4bffa6,_0x4a2a8f._0x1e9890,_0x4a2a8f._0x5d0a97)]();}}};function _0x3c4595(_0x5c2b7e,_0x47c3d1,_0x3bc787,_0xe4b125){return _0x47b891(_0xe4b125,_0x3bc787- -_0x38261c._0x146d00,_0x3bc787-0xad,_0xe4b125-0xd2);}return _0x2ae15e;}import{spawn as _0xe573a8}from'child_process';import{access as _0x1bc8ac}from'fs/promises';import _0x546c96 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xc6783e from'os';import _0x70b777 from'path';import _0x466031 from'which';var installPromises=new Map();function sanitizePackageName(_0x1547bb){const _0x544339={_0x1591f2:0x266,_0x17073d:0x86e},_0x2a8fdd={_0x3d9361:0x198},_0x1d537b={_0x487e2c:0x4ee,_0x1e89f0:0xe3,_0x1af64f:0x1d};function _0x244f6e(_0x5d0ed1,_0x22aeb2,_0x3315d8,_0x3bbdeb){return _0x47b891(_0x22aeb2,_0x3bbdeb- -_0x1d537b._0x487e2c,_0x3315d8-_0x1d537b._0x1e89f0,_0x3bbdeb-_0x1d537b._0x1af64f);}function _0x293337(_0x5452b6,_0x444cd0,_0x4ce025,_0x1e203f){return _0xe18bb0(_0x444cd0,_0x1e203f-0x4c2,_0x4ce025-_0x2a8fdd._0x3d9361,_0x1e203f-0x13);}return _0x1547bb[_0x244f6e(0x2ec,0x3e8,0x1f6,_0x544339._0x1591f2)](/^@/,'')[_0x293337(0x898,_0x544339._0x17073d,0x941,0x785)](/[/]/g,'__');}function binaryNameForPlatform(_0x28e73d){const _0x3ba3ce={_0x46a0fe:0x630,_0x4d864c:0x461,_0x239e05:0x604,_0x638ab9:0x491,_0x569223:0x668,_0x52db34:0x4e3,_0x399212:0x494},_0x20db1e={_0x2a2308:0x9c,_0x44ab99:0x111};function _0x20e163(_0x535720,_0x827be7,_0x2ae6dc,_0x53fb4d){return _0x47b891(_0x827be7,_0x53fb4d- -_0x20db1e._0x2a2308,_0x2ae6dc-_0x20db1e._0x44ab99,_0x53fb4d-0x1b3);}function _0x590944(_0x12ba4d,_0x2ad4c1,_0x342824,_0x455802){return _0x47b891(_0x2ad4c1,_0x342824-0x84,_0x342824-0x5d,_0x455802-0xdc);}return process[_0x590944(0x845,0x721,0x7ad,_0x3ba3ce._0x46a0fe)]===_0x590944(_0x3ba3ce._0x4d864c,0x67d,_0x3ba3ce._0x239e05,0x402)?_0x28e73d+_0x590944(_0x3ba3ce._0x638ab9,_0x3ba3ce._0x569223,_0x3ba3ce._0x52db34,_0x3ba3ce._0x399212):_0x28e73d;}async function exists(_0x45d518){try{return await access(_0x45d518),!![];}catch{return![];}}function runNpmInstall(_0x13f095,_0x56fde1,_0x13c8bb){const _0x48ace6={_0x10abe8:0x2e2,_0x4bdb93:0x305,_0x1644ab:0x1e0,_0x453a00:0x351,_0x17ade3:0x1a9,_0x135119:0x1c6},_0x1e844d={_0x37ede3:0x179};return new Promise(_0x57adc1=>{const _0x5c46f3={_0x15b3fe:0x1fd},_0x179b48=spawn(_0x3155c0(_0x48ace6._0x10abe8,_0x48ace6._0x4bdb93,_0x48ace6._0x1644ab,_0x48ace6._0x453a00),['install','--prefix',_0x13f095,_0x56fde1],{'env':_0x13c8bb,'stdio':_0x3155c0(0x193,0x1e1,0x7d,0x17a)});function _0x3155c0(_0x2c670f,_0x1f3b26,_0x5c55bc,_0x44f303){return _0x678a(_0x1f3b26- -_0x1e844d._0x37ede3,_0x5c55bc);}_0x179b48['on'](_0x3155c0(_0x48ace6._0x17ade3,0x5d,0xb9,_0x48ace6._0x135119),()=>_0x57adc1(![]));function _0x477f2e(_0x237e0f,_0xbb36,_0x3e00f9,_0x11b575){return _0x678a(_0x3e00f9-_0x5c46f3._0x15b3fe,_0xbb36);}_0x179b48['on']('close',_0x1190bf=>_0x57adc1(_0x1190bf===0x0));});}function shouldDisableLspDownload(_0x2cb354=process[_0xe18bb0(0x143,0x168,0x314,-0x7b)]){const _0x2fb236={_0x238451:0x1c,_0x1280b2:0x37f,_0x55d834:0x3b1,_0x5df751:0x48c,_0x1f48be:0x2f6},_0x3b40ee={_0x519289:0x471,_0x14b99d:0xad,_0x2ac3b9:0xe5},_0x6ded5a={_0x1525a0:0x300,_0x419be2:0xdd},_0x135adb=_0x2cb354[_0x196683(0x2f,-_0x2fb236._0x238451,0x2d8,0x19a)]?.[_0x19028c(0x489,_0x2fb236._0x1280b2,_0x2fb236._0x55d834,0x32f)]();function _0x19028c(_0x13cb5c,_0x3f7942,_0x321dd6,_0x2e1d6d){return _0x47b891(_0x13cb5c,_0x3f7942- -_0x6ded5a._0x1525a0,_0x321dd6-0x25,_0x2e1d6d-_0x6ded5a._0x419be2);}function _0x196683(_0x54b6f8,_0x567ff3,_0xc93036,_0x150a72){return _0x47b891(_0xc93036,_0x150a72- -_0x3b40ee._0x519289,_0xc93036-_0x3b40ee._0x14b99d,_0x150a72-_0x3b40ee._0x2ac3b9);}return _0x135adb==='true'||_0x135adb==='1'||_0x135adb===_0x19028c(0x27c,_0x2fb236._0x5df751,0x370,_0x2fb236._0x1f48be)||_0x135adb==='on';}function getLspPackageDir(_0x54e6a0){const _0x1d8cd2={_0x207a0a:0x642,_0x203381:0x637,_0x156f89:0x6bf,_0x94ecd3:0x569,_0x1d37b4:0x2f6,_0x1d3523:0x5b8,_0x526aa2:0x6ca,_0x111803:0x65d},_0x5420c3={_0x24b507:0x1a3},_0x257cc8={_0x2c2687:0x124};function _0x3c211f(_0x18985d,_0x282f1c,_0x3b72aa,_0xc72d00){return _0xe18bb0(_0x18985d,_0x282f1c-0x3d5,_0x3b72aa-0x72,_0xc72d00-_0x257cc8._0x2c2687);}function _0x3b86c8(_0x2e57af,_0x1c2b9e,_0x89c3f1,_0x234935){return _0xe18bb0(_0x89c3f1,_0x2e57af-_0x5420c3._0x24b507,_0x89c3f1-0x2d,_0x234935-0x109);}return _0x70b777[_0x3b86c8(0x285,0x1e3,0x18a,0x1cc)](_0xc6783e[_0x3c211f(_0x1d8cd2._0x207a0a,_0x1d8cd2._0x203381,_0x1d8cd2._0x156f89,0x5e1)](),_0x3b86c8(0x49d,0x29d,_0x1d8cd2._0x94ecd3,_0x1d8cd2._0x1d37b4),'lsp',_0x3c211f(_0x1d8cd2._0x1d3523,0x5ba,_0x1d8cd2._0x526aa2,_0x1d8cd2._0x111803),sanitizePackageName(_0x54e6a0));}function getLspBinDir(_0x3ac2c6){const _0x1cb86d={_0x9b96d7:0x116,_0x2b619f:0x203,_0x1377bc:0x49c,_0x567526:0x476,_0x32d266:0x152,_0x29cc90:0x24d,_0x375aad:0xa4},_0x309513={_0x5e5d64:0x2e9,_0x29cd0d:0x44},_0x24d40f={_0x3fb8f6:0x15d};function _0x44093b(_0x73cc2c,_0x483271,_0x10d06b,_0x301285){return _0xe18bb0(_0x73cc2c,_0x301285- -0x5d,_0x10d06b-0x151,_0x301285-_0x24d40f._0x3fb8f6);}function _0x1e1334(_0x11e726,_0x2cd037,_0x4226af,_0x2cefbd){return _0xe18bb0(_0x2cefbd,_0x11e726-_0x309513._0x5e5d64,_0x4226af-0x8d,_0x2cefbd-_0x309513._0x29cd0d);}return _0x70b777[_0x44093b(-0x89,-_0x1cb86d._0x9b96d7,_0x1cb86d._0x2b619f,0x85)](getLspPackageDir(_0x3ac2c6),_0x1e1334(_0x1cb86d._0x1377bc,0x35d,0x4f0,_0x1cb86d._0x567526),_0x44093b(-_0x1cb86d._0x32d266,0x2a4,_0x1cb86d._0x29cc90,_0x1cb86d._0x375aad));}async function findPackageBinary(_0x50ee7d,_0x59e1e0){const _0xa28b4d={_0x174ec5:0x101,_0xd9dc5b:0x641,_0x1f3eb1:0x67d,_0x41e940:0x728,_0x55d86a:0x4ea},_0xca206a={_0x3d9a04:0x555,_0x406518:0x1bf},_0x46bb90={_0x275034:0x106};let _0x31988a=_0x70b777['resolve'](_0x59e1e0);function _0x5bc2cb(_0x2d8982,_0x11f0dc,_0x32be54,_0x5d61db){return _0x47b891(_0x11f0dc,_0x2d8982-0xaf,_0x32be54-0x102,_0x5d61db-_0x46bb90._0x275034);}const _0x3a94d7=binaryNameForPlatform(_0x50ee7d);function _0x4580c8(_0x3c9b38,_0x4ba2ce,_0x1a981b,_0x315d28){return _0x47b891(_0x4ba2ce,_0x1a981b- -_0xca206a._0x3d9a04,_0x1a981b-0x2,_0x315d28-_0xca206a._0x406518);}while(!![]){const _0x391665=_0x70b777[_0x4580c8(0x180,-0x151,0x1e,_0xa28b4d._0x174ec5)](_0x31988a,'node_modules',_0x5bc2cb(_0xa28b4d._0xd9dc5b,_0xa28b4d._0x1f3eb1,_0xa28b4d._0x41e940,0x517),_0x3a94d7);if(await exists(_0x391665))return _0x391665;const _0x295d88=_0x70b777[_0x5bc2cb(_0xa28b4d._0x55d86a,0x2de,0x31d,0x5d0)](_0x31988a);if(_0x295d88===_0x31988a)return void 0x0;_0x31988a=_0x295d88;}}async function findPathBinary(_0x2b5ecc,_0x49ce22){const _0x3a6e98={_0x57b490:0x3e,_0x4161e6:0xa5,_0x4b9ad2:0x7f5,_0x3f95ba:0x85f},_0x567046={_0x204422:0x19e},_0x4ca2e9={_0x513315:0xea};function _0x377d93(_0x71f792,_0x590b53,_0x2c53e5,_0x2a9602){return _0xe18bb0(_0x2a9602,_0x2c53e5-0x606,_0x2c53e5-0x5b,_0x2a9602-_0x4ca2e9._0x513315);}function _0x5515c3(_0x3e966e,_0x24ac94,_0x5cb382,_0x44eaaf){return _0xe18bb0(_0x5cb382,_0x3e966e- -0x1f,_0x5cb382-_0x567046._0x204422,_0x44eaaf-0x125);}const _0x353003=getLspBinDir(_0x49ce22),_0x13315b=[_0x353003,process[_0x5515c3(0x149,0x1c8,0x29f,-0x13)][_0x5515c3(_0x3a6e98._0x57b490,0x83,0x138,-_0x3a6e98._0x4161e6)]][_0x377d93(_0x3a6e98._0x4b9ad2,0x840,_0x3a6e98._0x3f95ba,0x84e)](Boolean)['join'](_0x70b777['delimiter']);try{return await _0x466031(_0x2b5ecc,{'path':_0x13315b});}catch{return void 0x0;}}async function resolvePackageBinary(_0x5e273a){const _0x58bdcf={_0x180ca0:0x5a1,_0x55e361:0x537,_0x21b327:0x160,_0x2403ff:0x35b,_0x4f53e3:0x40e,_0x254fa2:0x2a0,_0x3eec22:0x1cb,_0x296c75:0x37c,_0x85bf0e:0x2cd,_0x5044e1:0x453,_0x22240a:0x1f8,_0x36dc2e:0x2a0,_0x443a1b:0x335,_0x23f69c:0x3f,_0x581a64:0x125,_0x230856:0xb8,_0x4e4dc4:0x31c,_0x3c0452:0x1d6,_0x50c475:0x32b,_0xc8298a:0x57c},_0x187932={_0x1cc172:0x16c,_0x240810:0x19d,_0x414379:0x1fe,_0xf8c275:0x7b,_0x369af4:0x106},_0x351397={_0x4ef700:0x3e2,_0x2eee06:0x93},_0x23c209={_0x251b53:0x3ad,_0x5d4324:0x108},_0x8b512=_0x5e273a[_0x3e205e(_0x58bdcf._0x180ca0,0x7ae,0x523,_0x58bdcf._0x55e361)]??_0x5e273a[_0x447d7f(_0x58bdcf._0x21b327,_0x58bdcf._0x2403ff,_0x58bdcf._0x4f53e3,_0x58bdcf._0x254fa2)],_0x4234a6=await findPackageBinary(_0x8b512,_0x5e273a[_0x447d7f(-0xc5,0x20c,_0x58bdcf._0x3eec22,0xff)]);if(_0x4234a6)return _0x4234a6;const _0xaebdac=await findPathBinary(_0x8b512,_0x5e273a[_0x447d7f(_0x58bdcf._0x296c75,0x1ca,0x230,0x2a0)]);if(_0xaebdac)return _0xaebdac;const _0x430bb0=_0x5e273a['env']??process[_0x447d7f(0x45a,0x25a,0x151,_0x58bdcf._0x85bf0e)];function _0x3e205e(_0x5129c8,_0x4338e3,_0x2b9bd2,_0x24d143){return _0xe18bb0(_0x4338e3,_0x5129c8-_0x23c209._0x251b53,_0x2b9bd2-0x1ba,_0x24d143-_0x23c209._0x5d4324);}if(shouldDisableLspDownload(_0x430bb0))return void 0x0;const _0x1b04e9=getLspPackageDir(_0x5e273a[_0x447d7f(_0x58bdcf._0x5044e1,0x19c,_0x58bdcf._0x22240a,_0x58bdcf._0x36dc2e)]),_0xe36243=_0x5e273a[_0x3e205e(0x4e8,0x3c4,_0x58bdcf._0x443a1b,0x3fd)]+':'+_0x8b512;function _0x447d7f(_0x178e03,_0x109232,_0xe33302,_0x1294f7){return _0xe18bb0(_0x178e03,_0x1294f7-0x165,_0xe33302-0x183,_0x1294f7-0x1f3);}let _0x32960f=installPromises[_0x447d7f(_0x58bdcf._0x23f69c,_0x58bdcf._0x581a64,_0x58bdcf._0x230856,0x201)](_0xe36243);!_0x32960f&&(_0x32960f=((async()=>{const _0x24242c={_0x288a8c:0x14a};await mkdir(_0x1b04e9,{'recursive':!![]});const _0x2c7fa8=await runNpmInstall(_0x1b04e9,_0x5e273a[_0x562d2c(0x2ac,0x106,_0x187932._0x1cc172,_0x187932._0x240810)],_0x430bb0);function _0x562d2c(_0x5c29d2,_0x448fed,_0x2ac42c,_0x1cb67b){return _0x3e205e(_0x448fed- -_0x351397._0x4ef700,_0x5c29d2,_0x2ac42c-_0x351397._0x2eee06,_0x1cb67b-0x1e8);}function _0x3e083e(_0x2be0e0,_0xeb3045,_0x57c3a5,_0x1a57f3){return _0x447d7f(_0x2be0e0,_0xeb3045-_0x24242c._0x288a8c,_0x57c3a5-0x12b,_0xeb3045- -0x29d);}if(!_0x2c7fa8)return void 0x0;const _0x227b7c=_0x70b777[_0x3e083e(-_0x187932._0x414379,-0x56,0x7e,-_0x187932._0xf8c275)](getLspBinDir(_0x5e273a[_0x562d2c(0x276,_0x187932._0x369af4,0x1fb,-0xc7)]),binaryNameForPlatform(_0x8b512));return await exists(_0x227b7c)?_0x227b7c:void 0x0;})()),installPromises[_0x3e205e(_0x58bdcf._0x4e4dc4,0x38c,0x49c,_0x58bdcf._0x3c0452)](_0xe36243,_0x32960f));try{return await _0x32960f;}catch{return void 0x0;}finally{installPromises[_0x3e205e(0x4fa,_0x58bdcf._0x50c475,_0x58bdcf._0xc8298a,0x3e9)](_0xe36243);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0x47b891(0x761,0x6c8,0x74d,0x817),_0xe18bb0(0xaa,-0x98,-0x145,0x15f),_0x47b891(0x5ef,0x69d,0x855,0x51b),_0xe18bb0(-0x7e,0x59,-0x83,-0x9),_0x47b891(0x652,0x5e1,0x721,0x3e6),_0x47b891(0x588,0x77d,0x6d2,0x62b),_0x47b891(0x7cd,0x5dd,0x6e6,0x7dd)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x47b891(0x601,0x67b,0x4df,0x68e),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0xe18bb0(-0x1c9,0x43,-0xe1,0x243),_0xe18bb0(-0x40,-0xc5,-0xe3,-0x1b6),_0x47b891(0x5e1,0x492,0x62e,0x5aa),_0x47b891(0x6bc,0x5f7,0x551,0x4fb),_0x47b891(0x559,0x737,0x8f9,0x560),'jsconfig.json','package.json'],BIOME_ROOT_MARKERS=[_0xe18bb0(-0xa8,-0x8c,-0xe1,-0x287),_0x47b891(0x1cd,0x3bb,0x31e,0x412),'package-lock.json','bun.lockb',_0x47b891(0x1cd,0x3cc,0x31d,0x3aa),_0x47b891(0x4bc,0x492,0x62d,0x677),_0x47b891(0x6a4,0x5f7,0x7e4,0x45c),_0xe18bb0(0x20f,0xc1,0x12e,-0xbc)];async function exists2(_0x1e7adf){try{return await _0x1bc8ac(_0x1e7adf),!![];}catch{return![];}}async function findUp(_0x1f531b,_0x39a4ad){const _0x912a3d={_0x4729c6:0x219,_0x4632ee:0x17,_0xdd44f0:0x13a,_0x2a6ac9:0xe,_0x21d5a1:0x247,_0x3ba48f:0x77,_0xafaf38:0x53,_0x3cb798:0x11f},_0x197339={_0x958df5:0xfd},_0x4e8662={_0x3265aa:0x6e};function _0x59a1bc(_0x545171,_0xbe7965,_0x1b3c15,_0x1802fd){return _0x47b891(_0x1802fd,_0x545171- -0x3ec,_0x1b3c15-_0x4e8662._0x3265aa,_0x1802fd-0x48);}function _0x267394(_0x2d53af,_0x4b7f36,_0x5ee7c2,_0x369f77){return _0x47b891(_0x2d53af,_0x4b7f36- -0x449,_0x5ee7c2-0x1e2,_0x369f77-_0x197339._0x958df5);}let _0x408956=_0x546c96[_0x267394(-_0x912a3d._0x4729c6,-_0x912a3d._0x4632ee,_0x912a3d._0xdd44f0,0xc7)](_0x1f531b);const _0x170c32=_0x546c96['extname'](_0x408956);if(_0x170c32)_0x408956=_0x546c96[_0x267394(-0xa6,-_0x912a3d._0x2a6ac9,-0x102,-0x142)](_0x408956);while(!![]){for(const _0xdce3e1 of _0x39a4ad){if(await exists2(_0x546c96[_0x59a1bc(0x187,_0x912a3d._0x21d5a1,0x350,_0x912a3d._0x3ba48f)](_0x408956,_0xdce3e1)))return _0x408956;}const _0x6d0035=_0x546c96[_0x59a1bc(0x4f,-0x1d,-_0x912a3d._0xafaf38,_0x912a3d._0x3cb798)](_0x408956);if(_0x6d0035===_0x408956)return void 0x0;_0x408956=_0x6d0035;}}async function hasDenoRoot(_0x408f44){const _0x510d27={_0x547ccd:0x602,_0x2b071a:0x46f,_0xf42d24:0x4bf,_0x373a32:0x66c,_0x3a476b:0x6a0},_0x54154c={_0x1544a9:0x38d},_0x3183c1={_0x566bf8:0x44,_0x4c97fc:0xff};function _0x49419d(_0x1aceb4,_0x2e69a9,_0x250d3a,_0x158df9){return _0xe18bb0(_0x158df9,_0x250d3a- -_0x3183c1._0x566bf8,_0x250d3a-0xe,_0x158df9-_0x3183c1._0x4c97fc);}function _0x168522(_0xe78798,_0x118d5d,_0x3bb3f8,_0x5ac918){return _0xe18bb0(_0x5ac918,_0x118d5d-_0x54154c._0x1544a9,_0x3bb3f8-0x13a,_0x5ac918-0x3);}return await exists2(_0x546c96['join'](_0x408f44,'deno.json'))||await exists2(_0x546c96[_0x168522(_0x510d27._0x547ccd,_0x510d27._0x2b071a,_0x510d27._0xf42d24,0x402)](_0x408f44,_0x168522(0x7d4,_0x510d27._0x373a32,_0x510d27._0x3a476b,0x774)));}async function resolveTsserverPath(_0x1b179d){const _0x2d3497={_0x5dcb6f:0x54c,_0x4d16c2:0x615,_0x13fde9:0x45a,_0x453923:0x324,_0x2cf3d8:0x538,_0x24b3b8:0x4f2,_0x38b102:0x247,_0x24ff8f:0x24e,_0x8252d1:0x6df,_0x103232:0x3ad,_0x57d202:0x527,_0x5165ce:0x333,_0x47dd3e:0x40c,_0x321c73:0x46d,_0x632678:0x405,_0x330c93:0x42b,_0x5ba3d3:0x574,_0x320e3a:0x83a,_0x221c75:0x1df,_0x3cc8d7:0x2e7,_0x156666:0x1bc,_0x123194:0x4b6},_0x5c7bfe={_0x4e76af:0x19,_0x4e3da0:0x1c2},_0x2af3c8={_0x438350:0x121};let _0x1a696b=_0x546c96['resolve'](_0x1b179d);function _0x3f25da(_0x17bd04,_0x30e182,_0x5ef80c,_0x5cd2bc){return _0xe18bb0(_0x5cd2bc,_0x30e182-0x32d,_0x5ef80c-_0x2af3c8._0x438350,_0x5cd2bc-0x184);}function _0x127c27(_0x4c9d61,_0x241162,_0x5702aa,_0xedf33f){return _0x47b891(_0xedf33f,_0x5702aa- -_0x5c7bfe._0x4e76af,_0x5702aa-0x14c,_0xedf33f-_0x5c7bfe._0x4e3da0);}while(!![]){const _0x5769db=_0x546c96[_0x3f25da(_0x2d3497._0x5dcb6f,0x40f,0x359,_0x2d3497._0x4d16c2)](_0x1a696b,_0x3f25da(_0x2d3497._0x13fde9,0x4e0,_0x2d3497._0x453923,_0x2d3497._0x2cf3d8),_0x127c27(0x290,_0x2d3497._0x24b3b8,0x432,0x416),_0x3f25da(_0x2d3497._0x38b102,_0x2d3497._0x24ff8f,0x3bf,0x272),_0x127c27(_0x2d3497._0x8252d1,_0x2d3497._0x103232,0x4e7,0x361));if(await exists2(_0x5769db))return _0x5769db;const _0xad308a=_0x546c96['dirname'](_0x1a696b);if(_0xad308a===_0x1a696b)break;_0x1a696b=_0xad308a;}const _0x3d1792=getLspPackageDir(_0x127c27(_0x2d3497._0x57d202,0x405,0x432,0x561)),_0x3a1aca=await resolvePackageBinary({'packageName':_0x3f25da(0x27c,0x2e7,0x442,0x10c),'binaryName':_0x127c27(0x509,_0x2d3497._0x5165ce,_0x2d3497._0x47dd3e,_0x2d3497._0x321c73),'startDir':_0x1b179d});if(!_0x3a1aca)return void 0x0;const _0x1c9fdb=_0x546c96[_0x3f25da(_0x2d3497._0x632678,0x40f,0x301,0x49d)](_0x3d1792,_0x127c27(_0x2d3497._0x330c93,_0x2d3497._0x5ba3d3,0x62b,_0x2d3497._0x320e3a),_0x3f25da(_0x2d3497._0x221c75,_0x2d3497._0x3cc8d7,0x2e7,_0x2d3497._0x156666),'lib',_0x3f25da(0x504,0x39c,_0x2d3497._0x123194,0x418));return await exists2(_0x1c9fdb)?_0x1c9fdb:void 0x0;}var TypeScriptServer={'id':_0xe18bb0(0x19b,-0x46,0xd8,0x1c6),'name':_0xe18bb0(0x1dc,0x5b,0x1fd,-0x182),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x52ce34){const _0x1fc703=await findUp(_0x52ce34,TYPESCRIPT_ROOT_MARKERS);if(!_0x1fc703)return void 0x0;return await hasDenoRoot(_0x1fc703)?void 0x0:_0x1fc703;},async 'spawn'(_0x2b1d8e){const _0x52b087={_0x435f16:0x37e,_0x1afb91:0x213,_0x153e96:0x2fb,_0x522415:0x3b1,_0x5c4653:0x3e7,_0x4de664:0x3a7,_0x234a58:0x300,_0x11a8ad:0x28f},_0x395805={_0x3f347c:0x165},_0x264503=await resolveTsserverPath(_0x2b1d8e);if(!_0x264503)return void 0x0;function _0x21e6a2(_0x4be849,_0xe5482e,_0x444fbd,_0x5d5d3b){return _0x47b891(_0xe5482e,_0x4be849- -0x234,_0x444fbd-0x1,_0x5d5d3b-0x1e7);}function _0x4ba99c(_0x3615f0,_0x308f44,_0x127640,_0x4d7638){return _0x47b891(_0x127640,_0x308f44- -0x2b7,_0x127640-0x165,_0x4d7638-_0x395805._0x3f347c);}const _0xc4dccf=await resolvePackageBinary({'packageName':_0x21e6a2(_0x52b087._0x435f16,0x305,_0x52b087._0x1afb91,0x28a),'binaryName':_0x4ba99c(0x371,_0x52b087._0x153e96,_0x52b087._0x522415,0x233),'startDir':_0x2b1d8e});if(!_0xc4dccf)return void 0x0;return{'process':_0xe573a8(_0xc4dccf,['--stdio'],{'cwd':_0x2b1d8e,'stdio':_0x21e6a2(_0x52b087._0x5c4653,_0x52b087._0x4de664,_0x52b087._0x234a58,_0x52b087._0x11a8ad)}),'initialization':{'tsserver':{'path':_0x264503}}};}},BiomeServer={'id':_0xe18bb0(-0xd7,0x93,0x29c,-0x104),'name':_0xe18bb0(0x1ee,0x1ae,0x321,0x16f),'extensions':BIOME_EXTENSIONS,async 'root'(_0x400bfd){return findUp(_0x400bfd,BIOME_ROOT_MARKERS);},async 'spawn'(_0x294bab){const _0x372570={_0x8aa48a:0x467,_0x164bfe:0x37a,_0x150336:0x621,_0x3ded49:0x81,_0x69dcc0:0xbb},_0x4eef2b={_0x28bb1e:0x12e},_0x3d523c={_0x3caa28:0x11b,_0x594107:0x1cb};function _0x1118cb(_0x14147e,_0xf2bc08,_0x46a3ef,_0x16d5b1){return _0xe18bb0(_0x16d5b1,_0x46a3ef- -_0x3d523c._0x3caa28,_0x46a3ef-_0x3d523c._0x594107,_0x16d5b1-0x2f);}const _0x950eaa=await findPackageBinary('biome',_0x294bab)??await resolvePackageBinary({'packageName':_0x4c4125(_0x372570._0x8aa48a,0x471,0x27c,0x2d2),'binaryName':_0x4c4125(0x525,_0x372570._0x164bfe,0x4fc,_0x372570._0x150336),'startDir':_0x294bab});function _0x4c4125(_0x1b5851,_0x551472,_0x284263,_0x4c0dfe){return _0xe18bb0(_0x551472,_0x1b5851-0x492,_0x284263-_0x4eef2b._0x28bb1e,_0x4c0dfe-0x1a8);}if(!_0x950eaa)return void 0x0;return{'process':_0xe573a8(_0x950eaa,[_0x1118cb(0x279,_0x372570._0x3ded49,_0x372570._0x69dcc0,0xc0),'--stdio'],{'cwd':_0x294bab,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x32cc91){const _0x46c3f7={_0x3fc27b:0x464,_0x5b845b:0x570,_0x3c0ee8:0x415,_0x3e6397:0x2d1,_0x38143f:0x38e,_0x22cc9b:0x25b},_0x7526af={_0x2dfbc7:0x152},_0x1c6560={_0x12355:0x41},_0x52e15a=_0x546c96[_0x444b41(_0x46c3f7._0x3fc27b,_0x46c3f7._0x5b845b,_0x46c3f7._0x3c0ee8,0x3f7)](_0x32cc91)[_0x444b41(0x348,_0x46c3f7._0x3e6397,_0x46c3f7._0x38143f,0x377)]();function _0x444b41(_0x5f1b56,_0x259cf3,_0x1639ba,_0x3a0449){return _0xe18bb0(_0x1639ba,_0x3a0449-0x189,_0x1639ba-0x54,_0x3a0449-_0x1c6560._0x12355);}function _0x1cba48(_0x3da147,_0x24b952,_0x2106d2,_0x3a9435){return _0x47b891(_0x3a9435,_0x2106d2- -0x298,_0x2106d2-_0x7526af._0x2dfbc7,_0x3a9435-0xa9);}return BUILTIN_LSP_SERVERS[_0x444b41(0x1d5,0x503,_0x46c3f7._0x22cc9b,0x3e2)](_0x27a8ba=>_0x27a8ba[_0x1cba48(0x32e,0x271,0x2a7,0x97)][_0x1cba48(0x4aa,0x18f,0x2f5,0x42c)](_0x52e15a));}function stateKey(_0x151fcd,_0x894de2){return _0x894de2+':'+_0x151fcd['id'];}function diagnosticsKeyToPath(_0x57e187){const _0x218662={_0x2a9b15:0x5ef,_0x1e9855:0x713,_0x134d61:0x705},_0x54b2a0={_0x3aef36:0x106};if(!_0x57e187['startsWith'](_0x32873d(_0x218662._0x2a9b15,_0x218662._0x1e9855,0x526,_0x218662._0x134d61)))return _0x57e187;function _0x32873d(_0x26223a,_0x235bd6,_0x37436e,_0xa13d){return _0x47b891(_0x37436e,_0x235bd6- -0x70,_0x37436e-_0x54b2a0._0x3aef36,_0xa13d-0x50);}return fileURLToPath(_0x57e187);}function nextFileVersion(_0x45960c,_0x23a312){const _0xed3c92={_0x2b39f8:0x22c},_0x122700={_0x48835b:0x353,_0x22ccea:0x162,_0x160739:0x5e},_0x46ebe6=(_0x45960c[_0x5e0934(0xc6,0x72,0x2d0,_0xed3c92._0x2b39f8)]['get'](_0x23a312)??0x1)+0x1;function _0x5e0934(_0x157bcc,_0x2a1e7d,_0x20c775,_0x3ff82f){return _0x47b891(_0x20c775,_0x157bcc- -_0x122700._0x48835b,_0x20c775-_0x122700._0x22ccea,_0x3ff82f-_0x122700._0x160739);}return _0x45960c['fileVersions']['set'](_0x23a312,_0x46ebe6),_0x46ebe6;}async function collectClientResults(_0x13b1f5){const _0xb025c5={_0x547873:0x8c},_0x111ab3={_0x5066d4:0x54,_0x1f3c54:0x1d8},_0x170981={_0x3574ea:0x238,_0x429353:0x96},_0x5e40a5=await Promise['allSettled'](_0x13b1f5);function _0x4c3cc6(_0x5e376b,_0x3245c7,_0x21ef0f,_0xab039b){return _0x47b891(_0x3245c7,_0x21ef0f- -_0x170981._0x3574ea,_0x21ef0f-0x127,_0xab039b-_0x170981._0x429353);}function _0x2b48bd(_0x480be5,_0x5df480,_0x14aa8a,_0x1059a9){return _0xe18bb0(_0x5df480,_0x1059a9-0x479,_0x14aa8a-_0x111ab3._0x5066d4,_0x1059a9-_0x111ab3._0x1f3c54);}return _0x5e40a5[_0x4c3cc6(_0xb025c5._0x547873,0x394,0x287,0x119)](_0xa65054=>_0xa65054[_0x2b48bd(0x6b8,0x7e4,0x60f,0x691)]==='fulfilled'?_0xa65054[_0x2b48bd(0x4e5,0x6ef,0x577,0x5ee)]:[]);}function createLspService(_0x55a334={}){const _0x5de231={_0x540d46:0x1c3},_0xe9fccf={_0xdaf665:0x85,_0x37e7e3:0xa9},_0x25a535={_0x4ffa0b:0x4b1,_0x2b4802:0x460,_0x2929de:0x210,_0x156ab2:0x2d2,_0x46641d:0xe0,_0x10d3aa:0x3f5,_0xcd5a96:0x4f9,_0x162f2e:0x487,_0x703fc0:0x40d,_0x5962df:0x2d2,_0x334a92:0x329,_0x10f036:0x33e,_0x5b55b2:0x2c5,_0x539077:0x2fb,_0x5e68a3:0xc3,_0x40ae0d:0x1de,_0xb6c028:0x231,_0x2b0e2b:0x351,_0x45cbd3:0x1de,_0x31f02b:0x1b8,_0x511e58:0x727,_0x38876a:0x616},_0x4e302f={_0xed909a:0x5f,_0x158b2f:0xa2},_0x982f22={_0x320188:0x1ff,_0x3537e3:0x3e6},_0x2aa466={_0x523210:0x153,_0x162a3e:0x33c},_0x3e6bc7={_0xfb8e75:0x84},_0x575c22={_0x2e4fc4:0x201,_0x27ece6:0x47,_0x4a0edd:0xa4},_0x586d55={_0x18e147:0x19f,_0xe7fa80:0x102},_0x27f89d={_0x58d120:0x1e8},_0x4bf48c={_0x157bad:0x587,_0x4f908a:0x329},_0x1ce54a={_0x177bd5:0x441},_0x24ade0={_0x45d32e:0xf6,_0x4c508d:0x308},_0x407f53={_0x815e6f:0x364,_0x4c97e5:0x32d},_0x3e3b={_0x294141:0x4a7,_0x16728c:0x4b2,_0x26c59f:0x4cc},_0x11201d={_0x4f4452:0x165,_0x174f18:0x2c8},_0x4d2990={_0x3ac37b:0x5be},_0x1d3148={_0x41061f:0xd2,_0x2a3f46:0x1f0},_0x19bb8d={_0x17a11d:0xf9,_0x3eb28e:0xe9},_0x2d897a={_0x37d072:0xcb},_0x3a3e8a={_0x8e6b5f:0x2dc},_0x4af2da={_0x3dec5b:0x153,_0x1bbf71:0x2e5,_0x946180:0x184},_0x44fdf6={_0x560d5d:0x141},_0x25c56d={_0x1e2bd3:0x3ba,_0x4ac70d:0x5c9,_0x1dbefc:0x325,_0x568139:0x50a,_0x4c9a00:0x40f,_0x265471:0x5ee,_0x5343f7:0x5ef},_0x350fa9={_0x4eb67e:0x1a7},_0x56230b={_0x510b19:0x2d5,_0x528cac:0xed,_0x2081b1:0x1b6},_0x4b201c={_0xd69e4e:0x7d0,_0x53c3d3:0x705},_0x53cf8b={_0x2b1cf8:0x33c,_0x57168b:0x4b9,_0x320e05:0x470},_0x4fff2d={_0xff1b5f:0x636,_0x4cce42:0x73b,_0x4ac84b:0x771},_0x116b46={_0x12919f:0x606,_0x3553a5:0x58b,_0x43c3a3:0x69f,_0x2efc8d:0x3b7,_0x5379de:0x94e,_0x44fa16:0x5c0,_0x27ad4b:0x3b8,_0x293604:0x246,_0x41486a:0x42c,_0x36e1da:0x2e6,_0x25f2e9:0x3d9,_0x2bf3e1:0x2db,_0x409fe7:0x558,_0xa4637c:0x44f},_0x89f28e={_0x543fa6:0x56},_0x424c74={_0xe55f4a:0x11,_0x2c4075:0x16},_0x109806={_0x10c4e8:0x1f7,_0x57cfb6:0x8a,_0x4cbf24:0xac,_0x27ca0a:0x4bf,_0x5e72b5:0x63b,_0x10fc2e:0xe1,_0x52e827:0x20f,_0x5fc882:0x230,_0x4bbef6:0x442,_0x4896ea:0x2c3,_0x474f1d:0x1f6,_0xe42d4c:0x11c},_0x5e69e2={_0x5c2b5a:0x156,_0x499566:0x177},_0x3ae672={_0x582040:0x411,_0x1ae8cf:0x6b1,_0x33f643:0x6ae,_0x460df:0x868,_0x5b94c1:0x4d6,_0x56f061:0x612,_0x1ee980:0x767,_0x5e0493:0x8e7,_0x48a634:0x5cf,_0x4efb91:0x5d8,_0x5b1f65:0x74b,_0x2e6fc2:0x612,_0x357278:0x8c6,_0x465461:0x825,_0x2af66c:0x82f,_0x3c1dcd:0x87a,_0x63c126:0x82b,_0x6dc9a8:0x8e0,_0x95567b:0x779,_0x27f020:0x9b4},_0x36d68b={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1c305a=()=>_0x55a334[_0x2f6c36(0x21e,0x2d8,0x53d,0x32e)]!==![];async function _0x36682c(_0x44de57,_0x1ee854){const _0x1e8f58={_0x2a25c6:0x15b,_0xcfc89f:0x189},_0x599e37={_0x2ff89c:0x135,_0xb50c02:0x559},_0x3399b5=stateKey(_0x44de57,_0x1ee854),_0x983df3=_0x36d68b[_0x6d8368(-0x149,_0x109806._0x10c4e8,0xb9,0xd4)][_0x37cc2c(0x36e,0x355,0x303,0x528)](_0x52a327=>_0x52a327['serverId']===_0x44de57['id']&&_0x52a327[_0x6d8368(0x411,0x25a,0x315,0x388)]===_0x1ee854);if(_0x983df3)return _0x983df3;if(_0x36d68b[_0x6d8368(-_0x109806._0x57cfb6,0x1a9,_0x109806._0x4cbf24,0x3b)]['has'](_0x3399b5))return void 0x0;const _0x3b28aa=_0x36d68b[_0x37cc2c(0x502,_0x109806._0x27ca0a,_0x109806._0x5e72b5,0x400)][_0x6d8368(0xdb,0x147,_0x109806._0x10fc2e,_0x109806._0x52e827)](_0x3399b5);if(_0x3b28aa)return _0x3b28aa;const _0x514edf=((async()=>{const _0x5a9d51={_0xd99b04:0x60e,_0x52d0dd:0x147};function _0x25fe1c(_0x4a23b0,_0x5b3c5c,_0x5eb9fd,_0x4e5aeb){return _0x6d8368(_0x4a23b0-_0x599e37._0x2ff89c,_0x4a23b0,_0x5eb9fd-_0x599e37._0xb50c02,_0x4e5aeb-0x124);}function _0x1d748d(_0x5ed3e9,_0x2a43d7,_0x308b73,_0x4c3dbf){return _0x6d8368(_0x5ed3e9-0xc3,_0x308b73,_0x5ed3e9-_0x5a9d51._0xd99b04,_0x4c3dbf-_0x5a9d51._0x52d0dd);}try{const _0x30f473=await _0x44de57['spawn'](_0x1ee854);if(!_0x30f473)return _0x36d68b[_0x25fe1c(_0x3ae672._0x582040,_0x3ae672._0x1ae8cf,0x605,0x495)][_0x25fe1c(0x670,_0x3ae672._0x33f643,0x82b,_0x3ae672._0x460df)](_0x3399b5),void 0x0;const _0x26d700=await createLspClient({'server':_0x44de57,'root':_0x1ee854,'handle':_0x30f473}),_0x3f7317=_0x36d68b[_0x25fe1c(_0x3ae672._0x5b94c1,0x5f6,_0x3ae672._0x56f061,0x4dd)][_0x1d748d(_0x3ae672._0x1ee980,0x5d0,_0x3ae672._0x5e0493,0x7f8)](_0x27477d=>_0x27477d[_0x1d748d(0x7b2,0x5d2,0x6e6,0x82e)]===_0x44de57['id']&&_0x27477d[_0x25fe1c(0x81a,0x823,0x86e,0x8c7)]===_0x1ee854);if(_0x3f7317)return await _0x26d700[_0x25fe1c(_0x3ae672._0x48a634,0x71b,_0x3ae672._0x4efb91,0x4a1)](),_0x3f7317;return _0x36d68b[_0x25fe1c(0x618,_0x3ae672._0x5b1f65,_0x3ae672._0x2e6fc2,0x5bc)][_0x1d748d(0x57e,0x6bd,0x6fa,0x381)](_0x26d700),_0x26d700;}catch{return _0x36d68b[_0x1d748d(0x6ba,_0x3ae672._0x357278,_0x3ae672._0x465461,0x755)][_0x25fe1c(_0x3ae672._0x2af66c,_0x3ae672._0x3c1dcd,_0x3ae672._0x63c126,_0x3ae672._0x6dc9a8)](_0x3399b5),void 0x0;}finally{_0x36d68b[_0x25fe1c(_0x3ae672._0x95567b,0x8d3,0x81c,_0x3ae672._0x27f020)]['delete'](_0x3399b5);}})());_0x36d68b[_0x6d8368(_0x109806._0x5fc882,_0x109806._0x4bbef6,_0x109806._0x4896ea,0x48d)][_0x37cc2c(_0x109806._0x474f1d,0x1b0,_0x109806._0xe42d4c,0x2e2)](_0x3399b5,_0x514edf);function _0x37cc2c(_0x397c5f,_0x61ff75,_0xa83a94,_0x12d9a2){return _0x2f6c36(_0x397c5f,_0x61ff75-_0x1e8f58._0x2a25c6,_0xa83a94-_0x1e8f58._0xcfc89f,_0x61ff75-0x85);}function _0x6d8368(_0x4553df,_0x38ef36,_0x4f5627,_0xc235ac){return _0x2f6c36(_0x38ef36,_0x38ef36-0x1,_0x4f5627-_0x5e69e2._0x5c2b5a,_0x4f5627- -_0x5e69e2._0x499566);}return _0x514edf;}async function _0x217881(_0x1315e4,_0x350b5c){if(!_0x1c305a())return[];const _0x1bbf16=[];function _0x94a21d(_0x5a025c,_0x5db59b,_0x3ae64e,_0x490886){return _0x2f6c36(_0x3ae64e,_0x5db59b-0xc8,_0x3ae64e-_0x424c74._0xe55f4a,_0x5db59b-_0x424c74._0x2c4075);}function _0x135e34(_0x158256,_0x317140,_0x312723,_0x23c265){return _0x2f6c36(_0x23c265,_0x317140-0x87,_0x312723-_0x89f28e._0x543fa6,_0x317140-0x368);}for(const _0x98b740 of getServersForFile(_0x1315e4)){const _0xacc382=await _0x98b740[_0x94a21d(0x44e,0x4a2,0x643,0x38f)](_0x1315e4);if(!_0xacc382)continue;const _0x4dd213=stateKey(_0x98b740,_0xacc382);if(_0x36d68b[_0x135e34(_0x116b46._0x12919f,_0x116b46._0x3553a5,_0x116b46._0x43c3a3,_0x116b46._0x2efc8d)][_0x135e34(_0x116b46._0x5379de,0x791,0x89a,_0x116b46._0x44fa16)](_0x4dd213))continue;const _0x144b61=_0x36d68b[_0x94a21d(_0x116b46._0x27ad4b,_0x116b46._0x293604,0x2c7,_0x116b46._0x41486a)][_0x94a21d(0x450,_0x116b46._0x36e1da,_0x116b46._0x25f2e9,_0x116b46._0x2bf3e1)](_0x306ee0=>_0x306ee0['serverId']===_0x98b740['id']&&_0x306ee0[_0x94a21d(0x29b,0x4a2,0x34f,0x363)]===_0xacc382);if(_0x144b61){_0x1bbf16[_0x135e34(_0x116b46._0x409fe7,_0x116b46._0xa4637c,0x267,0x626)](_0x144b61);continue;}if(!_0x350b5c)continue;const _0x53ff60=await _0x36682c(_0x98b740,_0xacc382);if(_0x53ff60)_0x1bbf16['push'](_0x53ff60);}return _0x1bbf16;}async function _0x7d4db5(_0x228ec7,_0x45420f=![]){const _0x3ae9aa={_0x1c9aa9:0x26e,_0x367f77:0x11f,_0x418da6:0x1dc,_0x17bdb1:0x2a5,_0x321f0f:0x3be,_0x28130e:0xce,_0x448e9f:0x168,_0x4f0b71:0x2ae,_0x23e5c5:0x28d,_0x22c9c0:0x1de,_0x50ca88:0x484,_0x5c18e9:0x3c2,_0x206f75:0x598,_0x4145f1:0x275,_0x21a5ae:0x13a,_0x168693:0x286,_0x1ecae4:0x2fc,_0x224653:0x278,_0x462563:0x465,_0x370feb:0x3a6,_0x15233f:0xe7,_0x12f490:0xa6,_0x9c65bd:0x194},_0x37b13c={_0x2a2c85:0x1bc},_0x143e79={_0x31fb7d:0xba};function _0x4e8339(_0x464380,_0x401936,_0x521da2,_0x3afa37){return _0x2f6c36(_0x3afa37,_0x401936-0x91,_0x521da2-0x1e8,_0x464380-_0x143e79._0x31fb7d);}function _0x2d4b03(_0x561291,_0x5ab368,_0x2a0b6c,_0x5e4169){return _0x2f6c36(_0x5e4169,_0x5ab368-0x15d,_0x2a0b6c-0x1c7,_0x5ab368-0x3ab);}const _0x1cf8e6=await _0x217881(_0x228ec7,!![]);await Promise[_0x2d4b03(_0x4fff2d._0xff1b5f,_0x4fff2d._0x4cce42,_0x4fff2d._0x4ac84b,0x836)](_0x1cf8e6[_0x2d4b03(0x89b,0x6d7,0x59e,0x76e)](async _0x4a833e=>{function _0x118308(_0x5c2b86,_0x486e58,_0x5b9c3f,_0x738827){return _0x4e8339(_0x738827-0x95,_0x486e58-0x2d,_0x5b9c3f-0x33,_0x5c2b86);}!_0x36d68b[_0x3e55dc(_0x3ae9aa._0x1c9aa9,0x232,0x416,_0x3ae9aa._0x367f77)][_0x3e55dc(_0x3ae9aa._0x418da6,_0x3ae9aa._0x17bdb1,_0x3ae9aa._0x321f0f,0x394)](_0x4a833e[_0x3e55dc(_0x3ae9aa._0x28130e,_0x3ae9aa._0x448e9f,-0x7e,_0x3ae9aa._0x4f0b71)]+':'+_0x4a833e['root']+':'+_0x228ec7)&&(await _0x4a833e[_0x118308(0x63f,0x78b,0x671,0x614)][_0x3e55dc(0x195,0xc2,0x250,0x4c)]({'path':_0x228ec7}),_0x36d68b[_0x3e55dc(0x26e,0x12b,_0x3ae9aa._0x23e5c5,_0x3ae9aa._0x22c9c0)][_0x118308(0x411,_0x3ae9aa._0x50ca88,_0x3ae9aa._0x5c18e9,_0x3ae9aa._0x206f75)](_0x4a833e[_0x3e55dc(_0x3ae9aa._0x28130e,-0xe0,_0x3ae9aa._0x4145f1,_0x3ae9aa._0x21a5ae)]+':'+_0x4a833e[_0x3e55dc(0x23f,_0x3ae9aa._0x168693,_0x3ae9aa._0x1ecae4,0x219)]+':'+_0x228ec7));await _0x4a833e[_0x3e55dc(_0x3ae9aa._0x224653,0x3d7,_0x3ae9aa._0x462563,_0x3ae9aa._0x370feb)]['change']({'path':_0x228ec7,'version':nextFileVersion(_0x36d68b,_0x228ec7)});function _0x3e55dc(_0x7514c0,_0x2028d3,_0x49268f,_0x38542e){return _0x4e8339(_0x7514c0- -0x307,_0x2028d3-0xe1,_0x49268f-_0x37b13c._0x2a2c85,_0x49268f);}if(_0x45420f)await _0x4a833e[_0x3e55dc(_0x3ae9aa._0x15233f,-_0x3ae9aa._0x12f490,_0x3ae9aa._0x9c65bd,0x149)]({'path':_0x228ec7});}));}async function _0x30ef4c(_0x489805){const _0x3ee646={_0x245e4c:0x4e,_0x11d6fa:0x2e,_0x2cfd9c:0x222};function _0x4064a0(_0x52eb5f,_0x4f5542,_0xc744ef,_0x181cd8){return _0x2f6c36(_0xc744ef,_0x4f5542-_0x3ee646._0x245e4c,_0xc744ef-_0x3ee646._0x11d6fa,_0x52eb5f-_0x3ee646._0x2cfd9c);}return await _0x7d4db5(_0x489805[_0x4064a0(_0x53cf8b._0x2b1cf8,_0x53cf8b._0x57168b,0x53a,_0x53cf8b._0x320e05)],![]),_0x217881(_0x489805['file'],![]);}async function _0xa8652d(_0x17ee0f){const _0x507ca1={_0x2c31e8:0xf3};function _0x568555(_0x34e3b2,_0x19d212,_0x263c88,_0x50eedf){return _0x2f6c36(_0x263c88,_0x19d212-0x166,_0x263c88-0x27,_0x19d212- -0x152);}const _0x1354f2=await _0x30ef4c(_0x17ee0f);function _0x4e666b(_0x38a4df,_0x3aface,_0x3f95fe,_0x3274ed){return _0x2f6c36(_0x3aface,_0x3aface-0x10a,_0x3f95fe-_0x507ca1._0x2c31e8,_0x3274ed-0x3d9);}return collectClientResults(_0x1354f2[_0x4e666b(0x58f,_0x4b201c._0xd69e4e,0x73f,_0x4b201c._0x53c3d3)](_0x5a62a3=>_0x5a62a3[_0x4e666b(0x88a,0x805,0x931,0x829)]['prepareCallHierarchy'](_0x17ee0f)));}function _0x2f6c36(_0x4d94a7,_0x34e7c9,_0x116096,_0x4e375c){return _0x47b891(_0x4d94a7,_0x4e375c- -_0x56230b._0x510b19,_0x116096-_0x56230b._0x528cac,_0x4e375c-_0x56230b._0x2081b1);}return{'isEnabled':_0x1c305a,async 'hasClients'(_0x3ae549){const _0x4a9f0a={_0x2f2052:0x4c9};function _0x5b7f77(_0x4cdd38,_0x298cf5,_0x97c08c,_0x77f131){return _0x2f6c36(_0x77f131,_0x298cf5-0x74,_0x97c08c-0x110,_0x4cdd38-_0x4a9f0a._0x2f2052);}function _0x5a0b5f(_0x2f1ce5,_0x568652,_0x2f8352,_0x39ac80){return _0x2f6c36(_0x2f1ce5,_0x568652-0x41,_0x2f8352-0x157,_0x39ac80-_0x350fa9._0x4eb67e);}return(await _0x217881(_0x3ae549,![]))[_0x5a0b5f(_0x25c56d._0x1e2bd3,_0x25c56d._0x4ac70d,_0x25c56d._0x1dbefc,_0x25c56d._0x568139)]>0x0||getServersForFile(_0x3ae549)[_0x5a0b5f(_0x25c56d._0x4c9a00,_0x25c56d._0x265471,_0x25c56d._0x5343f7,_0x25c56d._0x568139)]>0x0;},'touchFile':_0x7d4db5,async 'diagnostics'(){const _0x1248ce={_0xc8b4c3:0xd4,_0x3422fc:0x1c9,_0x404d75:0xb5},_0x58d98a={};function _0x957f0d(_0x4f56f3,_0x5c75fe,_0x52ddaf,_0x47855c){return _0x2f6c36(_0x4f56f3,_0x5c75fe-_0x1248ce._0xc8b4c3,_0x52ddaf-_0x1248ce._0x3422fc,_0x52ddaf-_0x1248ce._0x404d75);}for(const _0x366232 of _0x36d68b[_0x957f0d(0x25e,_0x4af2da._0x3dec5b,_0x4af2da._0x1bbf71,_0x4af2da._0x946180)]){for(const [_0x4fa91d,_0x200a73]of _0x366232[_0x957f0d(0x553,0x2f0,0x4f3,0x3fd)]){_0x58d98a[diagnosticsKeyToPath(_0x4fa91d)]=_0x200a73;}}function _0x30a588(_0x6fa949,_0x5e139e,_0x796268,_0x179cbb){return _0x2f6c36(_0x179cbb,_0x5e139e-0x162,_0x796268-0x1a1,_0x5e139e- -_0x44fdf6._0x560d5d);}return _0x58d98a;},async 'diagnosticsForFile'(_0x51e567){await _0x7d4db5(_0x51e567,!![]);const _0x4e453d=[];for(const _0x1c149d of await _0x217881(_0x51e567,![])){for(const [_0xb90dae,_0x1ba3f6]of _0x1c149d[_0x4f8dc3(0x162,_0x2d897a._0x37d072,0x13c,0x168)]){if(diagnosticsKeyToPath(_0xb90dae)===_0x51e567)_0x4e453d['push'](..._0x1ba3f6);}}function _0x4f8dc3(_0x401992,_0xb19ed,_0x413285,_0x3f57de){return _0x2f6c36(_0x413285,_0xb19ed-0x152,_0x413285-0x87,_0x401992- -_0x3a3e8a._0x8e6b5f);}return _0x4e453d;},async 'definition'(_0x292116){const _0x1b6b85={_0x4640cd:0x76,_0x1e8073:0x1f6},_0x40b586={_0x3b9db4:0x7,_0x33e44f:0x65};function _0x103ca6(_0x4e0161,_0x596d4e,_0x499327,_0x299f66){return _0x2f6c36(_0x4e0161,_0x596d4e-_0x40b586._0x3b9db4,_0x499327-_0x40b586._0x33e44f,_0x299f66- -0x243);}function _0x355035(_0x526732,_0x53b4a6,_0xed46a1,_0x5cd1a2){return _0x2f6c36(_0x53b4a6,_0x53b4a6-_0x1b6b85._0x4640cd,_0xed46a1-0x117,_0x5cd1a2- -_0x1b6b85._0x1e8073);}return collectClientResults((await _0x30ef4c(_0x292116))[_0x103ca6(_0x19bb8d._0x17a11d,0x14c,0xf0,_0x19bb8d._0x3eb28e)](_0x5f1b97=>_0x5f1b97[_0x355035(0x79,0x1d4,0x1e8,0x25a)][_0x355035(0x3c4,0x31d,0x127,0x24f)](_0x292116)));},async 'references'(_0x1a44f7){const _0x3e3fea={_0x72fab:0x9f,_0x33e588:0x18f};function _0x27aca4(_0x58f027,_0x2b5b31,_0x195c6c,_0xc5c1e0){return _0x2f6c36(_0x2b5b31,_0x2b5b31-0xff,_0x195c6c-_0x3e3fea._0x72fab,_0x195c6c-_0x3e3fea._0x33e588);}function _0x271160(_0x27528b,_0x5ad6fe,_0x58a308,_0x30110e){return _0x2f6c36(_0x27528b,_0x5ad6fe-0x42,_0x58a308-_0x1d3148._0x41061f,_0x58a308-_0x1d3148._0x2a3f46);}return collectClientResults((await _0x30ef4c(_0x1a44f7))[_0x27aca4(0x587,_0x4d2990._0x3ac37b,0x4bb,0x6a5)](_0x53c657=>_0x53c657['request'][_0x271160(0x511,0x523,0x67e,0x80b)](_0x1a44f7)));},async 'hover'(_0x5003c9){const _0x81f573={_0x1a2b3e:0x4b,_0x4535f1:0x114};function _0x560e59(_0x187da8,_0xa90ea0,_0xe6c372,_0x510565){return _0x2f6c36(_0xa90ea0,_0xa90ea0-0x9,_0xe6c372-_0x81f573._0x1a2b3e,_0xe6c372-_0x81f573._0x4535f1);}function _0x5ad832(_0xbd5ddc,_0x40bd6d,_0x58f656,_0x29c1c9){return _0x2f6c36(_0xbd5ddc,_0x40bd6d-0x1ca,_0x58f656-_0x11201d._0x4f4452,_0x40bd6d-_0x11201d._0x174f18);}const _0x28bb9e=await Promise['allSettled']((await _0x30ef4c(_0x5003c9))['map'](_0x12f623=>_0x12f623[_0x560e59(0x604,0x476,0x564,0x753)][_0x5ad832(0x5fa,0x717,0x8d3,0x55c)](_0x5003c9)));return _0x28bb9e[_0x5ad832(_0x3e3b._0x294141,_0x3e3b._0x16728c,_0x3e3b._0x26c59f,0x508)](_0x2be16f=>_0x2be16f[_0x560e59(0x4a1,0x538,0x4e8,0x352)]===_0x5ad832(0x254,0x40e,0x433,0x580)&&_0x2be16f['value']?[_0x2be16f['value']]:[]);},async 'documentSymbol'(_0x3c33fd){const _0x26ed57={_0x4516d6:0x11};function _0x4b6113(_0x29adb3,_0x49fc76,_0x22016f,_0x1fe5af){return _0x2f6c36(_0x1fe5af,_0x49fc76-0x19b,_0x22016f-0x17b,_0x29adb3- -0x28);}function _0x584519(_0x461836,_0x4abc05,_0x44d38a,_0x1e26f9){return _0x2f6c36(_0x1e26f9,_0x4abc05-_0x26ed57._0x4516d6,_0x44d38a-0x1c4,_0x461836-0x38);}return await _0x7d4db5(_0x3c33fd,![]),collectClientResults((await _0x217881(_0x3c33fd,![]))[_0x584519(_0x407f53._0x815e6f,0x1f6,0x52e,_0x407f53._0x4c97e5)](_0x19b52e=>_0x19b52e[_0x584519(0x488,0x664,0x299,0x517)][_0x4b6113(0x3ee,0x365,0x324,0x393)](_0x3c33fd)));},async 'workspaceSymbol'(_0x5d7029){function _0x20485c(_0x1d09b1,_0xf1b25e,_0x45b171,_0x29f071){return _0x2f6c36(_0x29f071,_0xf1b25e-0x4,_0x45b171-0xc,_0x1d09b1-0xd0);}function _0x151802(_0x4f1d51,_0x276040,_0x328c97,_0x236dd6){return _0x2f6c36(_0x276040,_0x276040-_0x24ade0._0x45d32e,_0x328c97-0x1f1,_0x4f1d51-_0x24ade0._0x4c508d);}return collectClientResults(_0x36d68b[_0x20485c(0x300,_0x1ce54a._0x177bd5,0x4d0,0x225)]['map'](_0x2c14bd=>_0x2c14bd['request'][_0x151802(0x525,0x404,0x4b5,0x3e3)](_0x5d7029)));},async 'implementation'(_0x4c8d83){const _0x4a33b0={_0x45d548:0xd6,_0x3a46c9:0x192,_0x211c44:0x244},_0x568735={_0x116d59:0x18c};function _0x22b390(_0x54026e,_0x58b555,_0x27d19b,_0x242df5){return _0x2f6c36(_0x27d19b,_0x58b555-0x11b,_0x27d19b-0x13a,_0x58b555-_0x568735._0x116d59);}function _0x383f8b(_0x4a1570,_0x3acee2,_0x18300a,_0x7b9567){return _0x2f6c36(_0x3acee2,_0x3acee2-_0x4a33b0._0x45d548,_0x18300a-_0x4a33b0._0x3a46c9,_0x18300a- -_0x4a33b0._0x211c44);}return collectClientResults((await _0x30ef4c(_0x4c8d83))[_0x22b390(0x3d1,0x4b8,_0x4bf48c._0x157bad,_0x4bf48c._0x4f908a)](_0x413b88=>_0x413b88[_0x383f8b(0xb5,0x309,0x20c,0x12e)]['implementation'](_0x4c8d83)));},async 'prepareCallHierarchy'(_0x81d7c1){return _0xa8652d(_0x81d7c1);},async 'incomingCalls'(_0x31fd46){const _0x55bf19=await _0xa8652d(_0x31fd46);function _0x5405f6(_0x366a97,_0x5612c5,_0x4ec53,_0x453be7){return _0x2f6c36(_0x5612c5,_0x5612c5-_0x27f89d._0x58d120,_0x4ec53-0xc6,_0x366a97-0xda);}const _0x537595=await _0x30ef4c(_0x31fd46);function _0x3ed378(_0x18dbde,_0x56e363,_0x11c59b,_0x4d19e8){return _0x2f6c36(_0x4d19e8,_0x56e363-0x1b4,_0x11c59b-_0x586d55._0x18e147,_0x18dbde- -_0x586d55._0xe7fa80);}return collectClientResults(_0x537595[_0x3ed378(0xe8,_0x575c22._0x2e4fc4,-_0x575c22._0x27ece6,_0x575c22._0x4a0edd)](_0x2deabb=>_0x55bf19[_0x3ed378(0x22a,0x4e,0x182,0x366)](_0x3918da=>_0x2deabb['request'][_0x5405f6(0x26d,0x2f5,0xd9,0x99)](_0x3918da))));},async 'outgoingCalls'(_0x5ef3e5){function _0x25e130(_0x3ed4cf,_0x5ad2bc,_0x5278fb,_0x5503f1){return _0x2f6c36(_0x3ed4cf,_0x5ad2bc-0x1aa,_0x5278fb-_0x3e6bc7._0xfb8e75,_0x5503f1-0x1fc);}function _0x492f4c(_0x596fe5,_0x2dd3c5,_0x5cd2be,_0xab0a94){return _0x2f6c36(_0x2dd3c5,_0x2dd3c5-_0x2aa466._0x523210,_0x5cd2be-0x12e,_0x5cd2be-_0x2aa466._0x162a3e);}const _0x57f73f=await _0xa8652d(_0x5ef3e5),_0x217970=await _0x30ef4c(_0x5ef3e5);return collectClientResults(_0x217970[_0x25e130(0x4fd,0x58a,_0x982f22._0x320188,_0x982f22._0x3537e3)](_0x49f3a4=>_0x57f73f[_0x25e130(0x516,0x368,0x57f,0x528)](_0xb2631=>_0x49f3a4[_0x492f4c(0x631,0x831,0x78c,0x68a)][_0x25e130(0x711,0x691,0x41a,0x521)](_0xb2631))));},async 'shutdown'(){if(_0x36d68b['shutdownStarted'])return;_0x36d68b['shutdownStarted']=!![],await Promise[_0xfd216a(0x44d,0x2c4,_0x25a535._0x4ffa0b,0x534)](_0x36d68b[_0x1704c0(_0x25a535._0x2b4802,_0x25a535._0x2929de,_0x25a535._0x156ab2,_0x25a535._0x46641d)][_0xfd216a(_0x25a535._0x10d3aa,_0x25a535._0xcd5a96,_0x25a535._0x162f2e,0x68c)](_0x54ebc1=>_0x54ebc1[_0x1704c0(0x2e4,0x1eb,0x298,0x3d4)]())),_0x36d68b[_0x1704c0(_0x25a535._0x703fc0,0x14e,_0x25a535._0x5962df,0xe5)]=[];function _0xfd216a(_0x53ef73,_0x188636,_0x5a7a80,_0x5daa19){return _0x2f6c36(_0x53ef73,_0x188636-0x9e,_0x5a7a80-0xde,_0x5a7a80-0x15b);}_0x36d68b['spawning'][_0x1704c0(0x3b9,_0x25a535._0x334a92,0x1de,0x2ef)](),_0x36d68b[_0x1704c0(0x355,_0x25a535._0x10f036,_0x25a535._0x5b55b2,0x487)][_0x1704c0(_0x25a535._0x539077,_0x25a535._0x5e68a3,0x1de,_0x25a535._0x40ae0d)](),_0x36d68b[_0x1704c0(_0x25a535._0xb6c028,0x2b4,0x1e6,0x298)][_0x1704c0(0x23,_0x25a535._0x2b0e2b,_0x25a535._0x45cbd3,_0x25a535._0x31f02b)]();function _0x1704c0(_0x17bd41,_0x3b6feb,_0x4589f6,_0x35ddf4){return _0x2f6c36(_0x3b6feb,_0x3b6feb-_0x4e302f._0xed909a,_0x4589f6-0x12f,_0x4589f6-_0x4e302f._0x158b2f);}_0x36d68b[_0xfd216a(_0x25a535._0x511e58,0x501,_0x25a535._0x38876a,0x492)]['clear']();},'status'(){function _0x3d4cfc(_0x3cd15d,_0x34151e,_0x95738c,_0x1efe1d){return _0x2f6c36(_0x95738c,_0x34151e-0xa7,_0x95738c-_0xe9fccf._0xdaf665,_0x1efe1d- -_0xe9fccf._0x37e7e3);}return{'connectedClients':_0x36d68b['clients'][_0x3d4cfc(0xd0,_0x5de231._0x540d46,0x42a,0x2ba)]};}};}function getCommand(_0x5ec745){const _0x33ca03={_0x1eeec4:0x1c7,_0x44edf9:0x10b,_0x4c5f19:0x5d1,_0x398d2b:0x628,_0x2c13ad:0x3f9,_0x1f30bd:0x707,_0x2724b2:0x4d5},_0x56cf4a={_0x170b8e:0x269},_0x41555a={_0x1e555d:0x519};function _0x46208d(_0x2840fb,_0x49c292,_0x136a74,_0x1407ce){return _0x47b891(_0x136a74,_0x2840fb- -_0x41555a._0x1e555d,_0x136a74-0x3b,_0x1407ce-0x1bd);}function _0x18b2b9(_0x1a1d2d,_0x228492,_0x33e1ff,_0x32d561){return _0xe18bb0(_0x1a1d2d,_0x228492-_0x56cf4a._0x170b8e,_0x33e1ff-0xcf,_0x32d561-0x1aa);}if(_0x5ec745&&typeof _0x5ec745===_0x46208d(_0x33ca03._0x1eeec4,_0x33ca03._0x44edf9,0x1c5,0x398)&&!Array['isArray'](_0x5ec745)&&typeof _0x5ec745[_0x18b2b9(_0x33ca03._0x4c5f19,0x53d,_0x33ca03._0x398d2b,_0x33ca03._0x2c13ad)]==='string')return _0x5ec745[_0x18b2b9(_0x33ca03._0x1f30bd,0x53d,_0x33ca03._0x2724b2,0x3b0)];return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0xe18bb0(0x118,0x183,0x1b5,0x255),_0x47b891(0x624,0x489,0x378,0x38a),_0xe18bb0(0x123,0xc1,0x2f,0x13c),_0xe18bb0(-0x23b,-0x95,-0x198,-0x244),_0x47b891(0x339,0x403,0x3d1,0x441),_0xe18bb0(0x2d3,0xca,-0xf2,-0x11c),_0xe18bb0(0x249,0x64,-0x11,-0x10a),_0x47b891(0x490,0x4f0,0x4ae,0x5d1),_0xe18bb0(0x2e6,0x16d,0x1bb,0x37a),_0xe18bb0(-0x16,0x9e,-0x154,-0xeb),_0xe18bb0(-0x71,0x15,-0x5e,0xdd),_0xe18bb0(0x43a,0x29b,0x26a,0x142),'src/agent/agent.test.ts',_0xe18bb0(0x3c8,0x25b,0x111,0x17d),'src/formats/provider-adapters.test.ts',_0xe18bb0(-0x2a5,-0x107,-0x147,-0x260)][_0x47b891(0x3bb,0x573,0x5a1,0x740)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x47b891(0x3c7,0x3a8,0x311,0x4dd),'description':_0xe18bb0(-0x21e,-0x2d,-0xfb,-0xf6),'input_schema':{'type':_0xe18bb0(0x259,0x24f,0x1eb,0x336),'properties':{'command':{'type':'string'}},'required':[_0x47b891(0x80c,0x765,0x91f,0x69a)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0xd24a9d){return{'output':_0xd24a9d,'structured':{'value':_0xd24a9d}};}function createUnknownToolResult(_0x336533){const _0x4bac9b={_0x224add:0x2e0,_0x5d1af2:0x3e7,_0x2112fd:0x25c,_0x3af441:0x3d1,_0x2e7db9:0x2cc,_0x2c0b31:0x41c,_0x43b5fb:0x3f9,_0x4a8609:0x15a,_0x40e2ef:0x139,_0x509b4e:0x20a},_0x488b20={_0x360d05:0x4ab,_0x1d59a6:0x11b},_0x39d947={_0x4324be:0x19d};function _0x145c32(_0x33ce24,_0x54f5c5,_0x10b0af,_0x303c8c){return _0x47b891(_0x33ce24,_0x303c8c- -0x1dd,_0x10b0af-_0x39d947._0x4324be,_0x303c8c-0x139);}function _0x187223(_0x2b257d,_0x28da53,_0x13c34e,_0x13f632){return _0xe18bb0(_0x28da53,_0x13c34e-_0x488b20._0x360d05,_0x13c34e-0xdb,_0x13f632-_0x488b20._0x1d59a6);}return{'callId':_0x336533['id'],'toolName':_0x336533[_0x187223(_0x4bac9b._0x224add,0x24a,0x401,_0x4bac9b._0x5d1af2)],'status':_0x187223(0x358,_0x4bac9b._0x2112fd,_0x4bac9b._0x3af441,_0x4bac9b._0x2e7db9),'output':_0x145c32(0x2e0,0x5f3,_0x4bac9b._0x2c0b31,_0x4bac9b._0x43b5fb)+_0x336533[_0x145c32(_0x4bac9b._0x4a8609,_0x4bac9b._0x40e2ef,0x4c,_0x4bac9b._0x509b4e)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x1d1249,_0x482000){const _0x1d2e04={_0x8ba36b:0x19e,_0x2ffb2a:0x36c,_0x2fc423:0x53f,_0x3e2132:0x610},_0x44cb93={_0x49b9e5:0x1b5},_0x34c44c={_0x2bbda9:0xa0,_0x137c2b:0x12d};function _0x814134(_0x2b5c1f,_0x3d5e66,_0x385b83,_0x236cfd){return _0xe18bb0(_0x2b5c1f,_0x385b83-0x320,_0x385b83-_0x34c44c._0x2bbda9,_0x236cfd-_0x34c44c._0x137c2b);}function _0x2b1059(_0x254ed2,_0x5b64af,_0x17d139,_0xcdf35e){return _0xe18bb0(_0x254ed2,_0xcdf35e-0x549,_0x17d139-0x1d1,_0xcdf35e-_0x44cb93._0x49b9e5);}return{'callId':_0x1d1249['id'],'toolName':_0x1d1249[_0x814134(_0x1d2e04._0x8ba36b,_0x1d2e04._0x2ffb2a,0x276,0xbf)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x1d1249[_0x2b1059(_0x1d2e04._0x2fc423,0x56f,_0x1d2e04._0x3e2132,0x4ee)]),'exitCode':0x0},'chunks':[_0x482000],'meta':createMeta()};}function createMockToolRuntime(){const _0x3d2fa0={_0x295448:0x142,_0xe2b54f:0xe9,_0x23c457:0x31d,_0x5508cb:0x3ed},_0x3b16c0={_0x54e9d4:0x249,_0x5f0a3a:0xca},_0x535c00=async(_0x3390da,_0x1b2318)=>{function _0x9cf348(_0x33f911,_0x3293f8,_0x141333,_0xf7801c){return _0x678a(_0x141333- -0x2e9,_0x3293f8);}function _0x32ec96(_0x6a8b20,_0x1ecba9,_0x5bead8,_0x5e2eca){return _0x678a(_0x1ecba9-0x221,_0x6a8b20);}if(_0x3390da[_0x32ec96(0x33a,0x427,_0x3b16c0._0x54e9d4,0x3a2)]!==_0x9cf348(-0x7a,0x60,-0x122,-_0x3b16c0._0x5f0a3a))return createUnknownToolResult(_0x3390da);const _0x55b96b=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x3390da,_0x55b96b);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x399dde,_0x4de35b){const _0x29e3a5={_0x29caaa:0x1e6};function _0xdbe74d(_0x58928e,_0x2c5a68,_0x238706,_0x1f9b7e){return _0x678a(_0x58928e- -_0x29e3a5._0x29caaa,_0x238706);}function _0x1b9e5f(_0x13c623,_0x50e99c,_0x1c2c62,_0xd0134){return _0x678a(_0xd0134-0x23,_0x13c623);}return await Promise[_0xdbe74d(0x29e,0x257,_0x3d2fa0._0x295448,_0x3d2fa0._0xe2b54f)](_0x399dde[_0xdbe74d(0x23a,_0x3d2fa0._0x23c457,0x3da,_0x3d2fa0._0x5508cb)](async _0x41a8bf=>{return await _0x535c00(_0x41a8bf,_0x4de35b);}));},async 'execute'(_0x3909f8,_0x49520e){return await _0x535c00(_0x3909f8,_0x49520e);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x232551={_0x56fdd3:0x647,_0x28fd3a:0x443,_0x189e9b:0x430,_0x42708c:0x501},_0x2985c3={_0x1a8f4c:0xaf};delegatedRunCounter+=0x1;function _0x234981(_0x57f906,_0x57c157,_0x2050fa,_0x5cf00b){return _0x47b891(_0x2050fa,_0x5cf00b- -_0x2985c3._0x1a8f4c,_0x2050fa-0x89,_0x5cf00b-0x9c);}return _0x234981(_0x232551._0x56fdd3,_0x232551._0x28fd3a,_0x232551._0x189e9b,_0x232551._0x42708c)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3cf506,_0x12a144){const _0x594f28={_0xcc098e:0x1ef,_0x51a98a:0x6b};function _0xabcc0f(_0x1603df,_0x51df8a,_0x18a2e1,_0x29d37a){return _0xe18bb0(_0x51df8a,_0x1603df-0x3c0,_0x18a2e1-_0x594f28._0xcc098e,_0x29d37a-_0x594f28._0x51a98a);}return typeof _0x3cf506===_0xabcc0f(0x3a8,0x335,0x5af,0x3f8)?await _0x3cf506(_0x12a144):_0x3cf506;}function awaitWithAbort(_0x27edb1,_0xc8b9b4){const _0x4942c0={_0x474629:0x6d2,_0x5b0964:0x77d,_0x27838a:0x5f3};return throwIfAborted(_0xc8b9b4),new Promise((_0x26f4fe,_0x215101)=>{const _0x17926f={_0x4b97f6:0x2f2};function _0x23eac7(_0x46650e,_0x165999,_0x21ea09,_0x390613){return _0x678a(_0x165999-_0x17926f._0x4b97f6,_0x46650e);}let _0x32451d=![];const _0x3f6d70=addAbortListener(_0xc8b9b4,()=>{if(_0x32451d)return;_0x32451d=!![],_0x215101(toAbortError(_0xc8b9b4['reason']));});_0x27edb1[_0x23eac7(_0x4942c0._0x474629,_0x4942c0._0x5b0964,0x848,_0x4942c0._0x27838a)](_0x185bab=>{if(_0x32451d)return;_0x32451d=!![],_0x3f6d70(),_0x26f4fe(_0x185bab);},_0x2bd04a=>{if(_0x32451d)return;_0x32451d=!![],_0x3f6d70(),_0x215101(_0x2bd04a);});});}function getDelegatedAgentDefinition(_0x10ef22,_0xb5c7cb){const _0x11034e={_0x3e03fc:0x326,_0x5b782d:0x312},_0x180b66={_0x50288e:0x2d2,_0x5f3129:0x18d};function _0x13213e(_0x7200c1,_0x18b04c,_0x1b30c0,_0x497a2b){return _0x47b891(_0x18b04c,_0x7200c1- -_0x180b66._0x50288e,_0x1b30c0-_0x180b66._0x5f3129,_0x497a2b-0x13f);}return _0x10ef22[_0x13213e(0x246,_0x11034e._0x3e03fc,_0x11034e._0x5b782d,0x35)]?.[_0xb5c7cb];}function createRunSummary(_0x588909){const _0x2a5d53={_0x28a738:0x53,_0x2ff3e0:0x2f,_0x6d180a:0x3f9,_0x34a355:0x4dc,_0x10d4e1:0x4fe,_0x39f74b:0x609,_0x577e89:0x50c,_0xa54dcc:0x4e3,_0x1e9a60:0xa4,_0x31ff00:0x6a,_0x197760:0x1f8,_0x1668f2:0xd6,_0x160d7b:0x1b4,_0x4bddce:0x245,_0x97c110:0x3cb,_0x414103:0x270,_0x51bc2d:0x1b6,_0x5b4563:0x348},_0x3d068f={_0x367ce6:0x88};function _0x145e00(_0x219b35,_0x4a74c2,_0x5897ff,_0x177740){return _0xe18bb0(_0x177740,_0x5897ff-0x2f,_0x5897ff-0xf2,_0x177740-0xe9);}function _0x1063d8(_0x597ab3,_0x1346fe,_0x218763,_0xf8ddcb){return _0xe18bb0(_0x218763,_0x597ab3-0x3f1,_0x218763-0x9f,_0xf8ddcb-_0x3d068f._0x367ce6);}return{'runId':_0x588909[_0x145e00(_0x2a5d53._0x28a738,-0x11a,-_0x2a5d53._0x2ff3e0,-0x221)],'agentId':_0x588909[_0x1063d8(0x556,0x6d6,0x52e,_0x2a5d53._0x6d180a)],..._0x588909[_0x1063d8(0x4dc,0x6a6,0x352,0x3d3)]!==void 0x0?{'sessionId':_0x588909[_0x1063d8(_0x2a5d53._0x34a355,_0x2a5d53._0x10d4e1,0x3a7,0x6a2)]}:{},'status':_0x588909[_0x1063d8(_0x2a5d53._0x39f74b,_0x2a5d53._0x577e89,0x6e1,_0x2a5d53._0xa54dcc)],'parentSessionId':_0x588909['parentSessionId'],..._0x588909[_0x1063d8(0x391,0x2fa,0x1a7,0x465)]!==void 0x0?{'originToolCallId':_0x588909['originToolCallId']}:{},..._0x588909[_0x145e00(-_0x2a5d53._0x1e9a60,0x4d,_0x2a5d53._0x31ff00,_0x2a5d53._0x197760)]!==void 0x0?{'errorMessage':_0x588909[_0x145e00(_0x2a5d53._0x1668f2,_0x2a5d53._0x160d7b,_0x2a5d53._0x31ff00,_0x2a5d53._0x4bddce)]}:{},..._0x588909['result']?.[_0x145e00(0x434,_0x2a5d53._0x97c110,_0x2a5d53._0x414103,_0x2a5d53._0x51bc2d)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x588909[_0x1063d8(_0x2a5d53._0x5b4563,0x22d,0x3d1,0x46f)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x4994b0,_0x35879f){const _0x5d72b6={_0xb24d5f:0x2ec,_0x4506b0:0x4eb},_0x3a0670={_0x3da2f4:0x96},_0x1e60a9=createRunSummary(_0x4994b0);function _0x30033b(_0x53184b,_0x189750,_0x4dd245,_0x2c0e15){return _0x47b891(_0x189750,_0x53184b- -0x34c,_0x4dd245-_0x3a0670._0x3da2f4,_0x2c0e15-0xa0);}const _0x162cbc=_0x1e60a9['finalMessageText'];return createToolOutput(typeof _0x162cbc==='string'&&_0x162cbc[_0x30033b(_0x5d72b6._0xb24d5f,0xf4,0x2b1,_0x5d72b6._0x4506b0)]>0x0?_0x162cbc:_0x35879f,_0x1e60a9);}function getRunTerminalErrorMessage(_0x3ec318){const _0x21bbb5={_0x1bb6a1:0x190,_0x2d51b2:0x200,_0x49e999:0xbe,_0x59efd9:0xb3,_0x56f6e5:0x4ab,_0x4158c0:0x20c,_0xcd342f:0x11c,_0x1a575e:0x287},_0x127375={_0x27c08b:0x42c,_0x5d37a4:0x6c},_0x37cc0d={_0xbd5888:0x1c5},_0x5b1987=_0x3ec318?.[_0x45e4ef(0x70,_0x21bbb5._0x1bb6a1,_0x21bbb5._0x2d51b2,0x2f8)][_0x29a3a9(0xa1,-_0x21bbb5._0x49e999,_0x21bbb5._0x59efd9,-0x85)]['at'](-0x1);if(_0x5b1987?.['status']===_0x29a3a9(-0x75,0x143,0x12b,-0x11f)&&_0x5b1987[_0x45e4ef(_0x21bbb5._0x56f6e5,0x476,0x37c,0x460)]['trim']()[_0x29a3a9(_0x21bbb5._0x4158c0,_0x21bbb5._0x49e999,0x1f1,_0x21bbb5._0xcd342f)]>0x0)return _0x5b1987[_0x29a3a9(_0x21bbb5._0x1a575e,0x243,0x341,0x228)];function _0x45e4ef(_0x18de0d,_0x3700fd,_0x2e1aeb,_0x135650){return _0xe18bb0(_0x18de0d,_0x2e1aeb-0x15a,_0x2e1aeb-0x155,_0x135650-_0x37cc0d._0xbd5888);}function _0x29a3a9(_0x3634e1,_0x51d6da,_0x3b7eea,_0x2790db){return _0x47b891(_0x51d6da,_0x3634e1- -_0x127375._0x27c08b,_0x3b7eea-_0x127375._0x5d37a4,_0x2790db-0x1d5);}return void 0x0;}function formatAbortedRunMessage(_0xe00397,_0x475da3){const _0x13da4a={_0x53a240:0x29b,_0x33249f:0x302,_0x4b98a3:0x406,_0x55b95c:0x2c0,_0x42c929:0x427,_0x445493:0x111,_0x27673a:0x37c},_0x46a4f4={_0x41991a:0x378,_0x352af2:0xc8};function _0x329c33(_0x5512c3,_0x593a2a,_0x397c78,_0x581c7e){return _0x47b891(_0x593a2a,_0x397c78- -_0x46a4f4._0x41991a,_0x397c78-_0x46a4f4._0x352af2,_0x581c7e-0x6);}function _0x3b8d36(_0x334978,_0x430b0a,_0x316c2d,_0xc44fc5){return _0x47b891(_0xc44fc5,_0x430b0a- -0x106,_0x316c2d-0x136,_0xc44fc5-0x1c4);}const _0x33b95d=_0x329c33(_0x13da4a._0x53a240,0x10b,_0x13da4a._0x33249f,0x3b7)+_0xe00397+'\x20was\x20aborted.';if(!_0x475da3||_0x475da3['trim']()[_0x329c33(_0x13da4a._0x4b98a3,0xf6,_0x13da4a._0x55b95c,_0x13da4a._0x42c929)]===0x0||_0x475da3===_0x33b95d)return _0x33b95d;return _0x33b95d+_0x329c33(0x382,_0x13da4a._0x445493,0x2a8,_0x13da4a._0x27673a)+_0x475da3;}function createAssignTaskTool(_0x267c06){const _0x5aa9e6={_0x2982f4:0x37c,_0x1699b0:0x5a2,_0x1c21b9:0x4be,_0x42cfdc:0x5c8,_0x400b40:0x5b5,_0x37dfc8:0x271,_0x53db9d:0x426,_0x18b817:0x18f,_0x3f2e5d:0x97,_0x2bd166:0x2b3,_0x447298:0x422,_0x21a385:0x40c,_0x4e0584:0x60f,_0x4ca3c5:0x3f1,_0xffea25:0x497,_0x1e3b32:0x76,_0x5773dc:0x196,_0x43892f:0x10,_0x139e1b:0x261,_0x59f16e:0x100,_0xc4ac1e:0x6d},_0x5b43c4={_0x269080:0x59d,_0x2f31e7:0x6de,_0x41d1e9:0x816,_0x14175e:0x5b1,_0xb7d047:0x5ea,_0xfd9d3e:0x885,_0x302988:0x6a2,_0x8df865:0x650,_0x4ce478:0x706,_0x48939f:0x72b,_0x5de76d:0x8f1,_0x5dd486:0x8d4,_0x69f0d0:0x6de,_0x4a0813:0x27a,_0x4328dd:0x470,_0x6f8b35:0x5a1,_0xe7fe5d:0x4d9,_0x192e4:0x715,_0x1c0644:0x5d0,_0x3235a7:0x5a0,_0x5b737c:0x7c5,_0x3de2cb:0x725,_0x6b7f5b:0x8ea,_0x4d1856:0x873,_0x288a5f:0x7d8,_0x18cf8d:0x6da,_0x31952e:0x68a,_0x19a4f4:0x5b6,_0x4a62b8:0x606,_0x4ba9e6:0x71d,_0x17c192:0x4b7,_0x52ddaa:0x509,_0x2c288a:0x664,_0x897ce6:0x67f,_0x177445:0x3dc,_0x575b2e:0x37f,_0x230b34:0x56b,_0x11a5d3:0x35a,_0x5a7e7d:0x292,_0x1257a0:0x59a,_0x162d4f:0x237,_0x5a91e0:0x321,_0x54cab7:0x3d4,_0x14c0ae:0x4b7,_0x5bd23c:0x470,_0x23dc97:0x523,_0x28d242:0x658,_0x40e0ae:0x6b4,_0x1cd6b4:0x909,_0x388003:0x6ad,_0x20dc3f:0x791,_0x5da4d1:0x62a,_0x594491:0x339,_0x2e34a9:0x1fc,_0x586eeb:0x28f,_0x5360d9:0x6cf,_0x46693c:0x4f4,_0x3a30f:0x554,_0x5c046d:0x487,_0x2e118d:0x910,_0x392418:0x53f,_0x2fb37a:0x9e4,_0x33d208:0x75f,_0x3d5462:0x809,_0x35ff09:0x61e,_0x54f453:0x7a1,_0x37a2c9:0x91b,_0x451334:0x730,_0x1432ea:0x64a,_0x4928d0:0x5a8,_0x3ebc8b:0x4da,_0x27016b:0x4fb,_0x3e917e:0x5f3,_0x3afb0b:0x582,_0x53577b:0x270,_0x2b5a55:0x54f,_0xe9f56a:0x648,_0x391597:0x762,_0x33ccb5:0xfb,_0x154747:0x127,_0x121675:0x2ad,_0x52c7f4:0x5a9},_0x234e55={_0x528b5c:0x49},_0x3f655b={_0x5794d4:0x5c8,_0x3706fd:0x703,_0x9c73c3:0x581,_0x5dff45:0x584,_0x4102f8:0x747,_0x11eda5:0x5fd},_0x59ef0c={_0xbb6d88:0x8c};function _0x28732e(_0x49be5d,_0x5ec34c,_0x1529cc,_0x10e175){return _0x47b891(_0x1529cc,_0x5ec34c- -0x12b,_0x1529cc-0x1cb,_0x10e175-_0x59ef0c._0xbb6d88);}function _0x14162c(_0x261ed1,_0x44df67,_0x5b6798,_0x4d536e){return _0x47b891(_0x4d536e,_0x44df67- -0x460,_0x5b6798-0x62,_0x4d536e-0x2);}return defineTool({'name':'AssignTask','permissionClass':_0x14162c(_0x5aa9e6._0x2982f4,0x2de,0x290,0x128),'description':_0x28732e(_0x5aa9e6._0x1699b0,0x401,0x27d,_0x5aa9e6._0x1c21b9),'inputSchema':{'type':_0x28732e(_0x5aa9e6._0x42cfdc,_0x5aa9e6._0x400b40,0x44e,0x696),'properties':{'agentId':{'type':_0x14162c(_0x5aa9e6._0x37dfc8,0x157,0x289,0x30d),'description':_0x28732e(0x3c0,0x552,0x66c,_0x5aa9e6._0x53db9d)},'description':{'type':_0x14162c(_0x5aa9e6._0x18b817,0x157,_0x5aa9e6._0x3f2e5d,0xb4),'description':_0x28732e(_0x5aa9e6._0x2bd166,_0x5aa9e6._0x447298,_0x5aa9e6._0x21a385,_0x5aa9e6._0x4e0584)},'nickname':{'type':_0x28732e(0x4c5,0x48c,_0x5aa9e6._0x4ca3c5,0x5d7),'description':'Optional\x20short\x20display\x20name\x20for\x20this\x20delegated\x20run.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'task':{'type':'string','description':_0x28732e(0x540,_0x5aa9e6._0xffea25,0x3f0,0x5bb)}},'required':[_0x14162c(_0x5aa9e6._0x1e3b32,_0x5aa9e6._0x5773dc,0x13b,_0x5aa9e6._0x43892f),_0x14162c(-_0x5aa9e6._0x139e1b,-0xd1,_0x5aa9e6._0x59f16e,-_0x5aa9e6._0xc4ac1e),'task']},async *'execute'(_0x3c8d4d,_0x4bfb86){const _0x18cc6e={_0x5b0fb4:0x142,_0xbe0bd2:0x2da},_0x305841=createDelegatedRunId();function _0x418ba2(_0x5b5f8d,_0x1de188,_0x2b475c,_0x3f9a06){return _0x14162c(_0x5b5f8d-_0x18cc6e._0x5b0fb4,_0x2b475c-_0x18cc6e._0xbe0bd2,_0x2b475c-0x1b6,_0x5b5f8d);}const _0x1035b6=new AbortController(),_0x35995a={'agentId':_0x3c8d4d[_0x475451(0x753,_0x5b43c4._0x269080,_0x5b43c4._0x2f31e7,0x6a5)],'parentSessionId':_0x4bfb86[_0x475451(_0x5b43c4._0x41d1e9,0x873,0x664,_0x5b43c4._0x14175e)],'runId':_0x305841,'signal':_0x1035b6['signal'],..._0x4bfb86[_0x475451(_0x5b43c4._0xb7d047,0x892,0x6a2,0x653)]!==void 0x0?{'toolCallId':_0x4bfb86[_0x475451(0x623,_0x5b43c4._0xfd9d3e,_0x5b43c4._0x302988,0x60b)]}:{}},_0x13851d=getDelegatedAgentDefinition(_0x267c06,_0x3c8d4d[_0x475451(0x616,_0x5b43c4._0x8df865,_0x5b43c4._0x2f31e7,0x868)]);if(!_0x13851d)throw new ToolExecutionError(_0x475451(_0x5b43c4._0x4ce478,0x7db,_0x5b43c4._0x48939f,_0x5b43c4._0x5de76d)+_0x3c8d4d['agentId'],{'agentId':_0x3c8d4d[_0x475451(_0x5b43c4._0x5dd486,0x60d,_0x5b43c4._0x69f0d0,0x820)]});let _0x1ef949={'runId':_0x305841,'agentId':_0x3c8d4d[_0x418ba2(0x3ec,_0x5b43c4._0x4a0813,_0x5b43c4._0x4328dd,_0x5b43c4._0x6f8b35)],'status':_0x475451(_0x5b43c4._0xe7fe5d,_0x5b43c4._0x192e4,0x660,_0x5b43c4._0x1c0644),'parentSessionId':_0x4bfb86['sessionId'],..._0x4bfb86[_0x475451(0x677,_0x5b43c4._0x3235a7,_0x5b43c4._0x302988,0x79e)]!==void 0x0?{'originToolCallId':_0x4bfb86[_0x475451(0x5a2,_0x5b43c4._0x5b737c,0x6a2,0x829)]}:{}};const _0x4a9e86=addAbortListener(_0x4bfb86[_0x475451(0x8d6,0x92e,_0x5b43c4._0x3de2cb,_0x5b43c4._0x6b7f5b)],()=>{const _0x4c161c={_0xa200db:0x123,_0x51823c:0x2d};function _0x59c973(_0x284768,_0x2fe5cf,_0x59726a,_0x39398e){return _0x418ba2(_0x284768,_0x2fe5cf-_0x4c161c._0xa200db,_0x39398e-0x31,_0x39398e-_0x4c161c._0x51823c);}function _0x99bbd7(_0x4c58a4,_0x569383,_0x1a0aaa,_0x25d09a){return _0x418ba2(_0x4c58a4,_0x569383-0x15,_0x25d09a-0x138,_0x25d09a-0xb7);}_0x1035b6[_0x59c973(_0x3f655b._0x5794d4,0x593,_0x3f655b._0x3706fd,_0x3f655b._0x9c73c3)](_0x4bfb86[_0x99bbd7(0x4b7,_0x3f655b._0x5dff45,_0x3f655b._0x4102f8,0x5ef)][_0x59c973(_0x3f655b._0x11eda5,0x49f,0x571,0x644)]);});let _0x8abd74,_0x28a4f2;function _0x475451(_0x5e7635,_0x156472,_0xcc9dcb,_0x246db9){return _0x28732e(_0x5e7635-_0x234e55._0x528b5c,_0xcc9dcb-0x213,_0x5e7635,_0x246db9-0x125);}let _0x5eea5a,_0x3a2824;try{_0x267c06[_0x475451(_0x5b43c4._0x4d1856,_0x5b43c4._0x288a5f,_0x5b43c4._0x18cf8d,0x7bc)]!==void 0x0&&(_0x8abd74=await _0x267c06['semaphore'][_0x475451(0x4da,0x84d,_0x5b43c4._0x31952e,0x7f6)](_0x1035b6['signal']));throwIfAborted(_0x1035b6[_0x475451(0x7ff,_0x5b43c4._0x19a4f4,0x725,_0x5b43c4._0x4a62b8)]);const _0x10f930=await awaitWithAbort(resolveDelegatedAgentOptions(_0x13851d,_0x35995a),_0x1035b6[_0x475451(0x7af,_0x5b43c4._0x4ba9e6,0x725,0x53a)]);throwIfAborted(_0x1035b6[_0x418ba2(0x6be,0x59d,_0x5b43c4._0x17c192,0x4f1)]);const _0x267538=_0x267c06[_0x418ba2(0x43c,0x1cb,0x332,_0x5b43c4._0x52ddaa)]!==void 0x0&&_0x10f930[_0x418ba2(0x63f,_0x5b43c4._0x2c288a,0x502,0x6ad)]!==void 0x0?{..._0x10f930,'systemPrompt':_0x267c06[_0x475451(_0x5b43c4._0x897ce6,0x64a,_0x5b43c4._0x3235a7,0x741)](_0x10f930['systemPrompt'])}:_0x10f930;throwIfAborted(_0x1035b6[_0x418ba2(0x6ab,0x56f,_0x5b43c4._0x17c192,_0x5b43c4._0x177445)]);const _0x3c99fa=new Agent(_0x267538);_0x1ef949={..._0x1ef949,'sessionId':_0x3c99fa['sessionId']},_0x28a4f2=_0x267c06[_0x418ba2(_0x5b43c4._0x575b2e,_0x5b43c4._0x230b34,_0x5b43c4._0x11a5d3,0x3f1)]?.(_0x3c99fa,_0x35995a);const _0x498250=new Promise(_0x21ea5f=>{_0x3a2824=_0x21ea5f;});_0x5eea5a=_0x267c06[_0x475451(_0x5b43c4._0x5a7e7d,0x486,0x49b,_0x5b43c4._0x1257a0)]?.({'runId':_0x305841,'abortController':_0x1035b6,'completion':_0x498250}),yield createToolOutput('Started\x20agent\x20run\x20'+_0x1ef949[_0x418ba2(_0x5b43c4._0x162d4f,0x4b0,0x2ad,_0x5b43c4._0x5a91e0)]+'.',{'runId':_0x1ef949['runId'],'agentId':_0x1ef949[_0x418ba2(_0x5b43c4._0x54cab7,_0x5b43c4._0x14c0ae,_0x5b43c4._0x5bd23c,0x5aa)],'sessionId':_0x3c99fa['sessionId'],'status':_0x1ef949[_0x418ba2(0x37d,0x403,_0x5b43c4._0x23dc97,_0x5b43c4._0x69f0d0)]}),throwIfAborted(_0x1035b6['signal']);const _0xfffe13=await _0x3c99fa[_0x418ba2(0x6ca,0x321,0x50d,0x633)](_0x3c8d4d[_0x475451(0x50d,_0x5b43c4._0x28d242,0x6ff,0x6a4)],{'streaming':!![],'signal':_0x1035b6[_0x475451(_0x5b43c4._0x40e0ae,_0x5b43c4._0x1cd6b4,0x725,0x6fc)]});_0x1ef949={..._0x1ef949,'status':_0xfffe13[_0x475451(_0x5b43c4._0x388003,0x863,_0x5b43c4._0x20dc3f,0x69b)],'result':_0xfffe13};if(_0xfffe13[_0x475451(_0x5b43c4._0x5da4d1,0x714,0x791,0x5f1)]!==_0x418ba2(_0x5b43c4._0x594491,0x4b4,0x2fc,0x11c)){const _0x4bb5d4=getRunTerminalErrorMessage(_0xfffe13),_0x16abdd=formatAbortedRunMessage(_0x1ef949[_0x418ba2(0x24e,_0x5b43c4._0x2e34a9,0x2ad,_0x5b43c4._0x586eeb)],_0x4bb5d4);throw new ToolExecutionError(_0x16abdd,{...createRunSummary(_0x1ef949),'aborted':!![],'errorMessage':_0x16abdd});}return createRunSummaryOutput(_0x1ef949,_0x418ba2(0x4f9,_0x5b43c4._0x5360d9,_0x5b43c4._0x46693c,0x6e1)+_0x1ef949['runId']+_0x475451(0x81e,_0x5b43c4._0x3a30f,0x684,_0x5b43c4._0x5c046d));}catch(_0x22c520){if(_0x22c520 instanceof ToolExecutionError)throw _0x22c520;if(isAbortError(_0x22c520)||_0x1035b6[_0x475451(_0x5b43c4._0x2e118d,_0x5b43c4._0x392418,0x725,0x692)][_0x475451(0x8b0,_0x5b43c4._0x2fb37a,0x861,_0x5b43c4._0x33d208)]||_0x4bfb86[_0x475451(_0x5b43c4._0x3d5462,0x5e0,0x725,_0x5b43c4._0x35ff09)][_0x418ba2(0x636,_0x5b43c4._0x54f453,0x5f3,0x505)]){const _0x19f435=getRunTerminalErrorMessage(_0x1ef949[_0x418ba2(0x402,0x256,0x262,0x35c)])??(_0x22c520 instanceof Error?_0x22c520[_0x475451(_0x5b43c4._0x37a2c9,0x9be,0x7ce,_0x5b43c4._0x451334)]:String(_0x22c520)),_0x2bb848=formatAbortedRunMessage(_0x1ef949[_0x475451(_0x5b43c4._0x1432ea,_0x5b43c4._0x4928d0,0x51b,_0x5b43c4._0x3ebc8b)],_0x19f435);_0x1ef949={..._0x1ef949,'status':_0x418ba2(_0x5b43c4._0x27016b,0x7de,_0x5b43c4._0x3e917e,_0x5b43c4._0x3afb0b),'errorMessage':_0x2bb848};throw new ToolExecutionError(_0x2bb848,{...createRunSummary(_0x1ef949),'aborted':!![],'errorMessage':_0x2bb848});}const _0x2353da=getRunTerminalErrorMessage(_0x1ef949[_0x418ba2(0xc4,_0x5b43c4._0x53577b,0x262,0x200)])??(_0x22c520 instanceof Error?_0x22c520[_0x418ba2(0x738,0x404,0x560,_0x5b43c4._0x2b5a55)]:String(_0x22c520))??_0x475451(_0x5b43c4._0xe9f56a,0x8bd,_0x5b43c4._0x391597,0x80f)+_0x1ef949[_0x418ba2(_0x5b43c4._0x33ccb5,_0x5b43c4._0x154747,_0x5b43c4._0x121675,0x267)]+'\x20failed.';_0x1ef949={..._0x1ef949,'status':'failed','errorMessage':_0x2353da};throw new ToolExecutionError(_0x2353da,{...createRunSummary(_0x1ef949),'errorMessage':_0x2353da});}finally{_0x267c06[_0x475451(0x2fa,0x3a6,0x49c,_0x5b43c4._0x52c7f4)]?.(_0x35995a),_0x3a2824?.(),_0x5eea5a?.(),_0x28a4f2?.(),_0x8abd74?.(),_0x4a9e86();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x5c2eb0){return[createAssignTaskTool(_0x5c2eb0)];}import{mkdir as _0x2c18c4,writeFile}from'fs/promises';import*as _0x1d9a72 from'path';function sanitizeFileName(_0x16b3c7){const _0x4a3282={_0x2501fd:0x5e5,_0x2d41cc:0x54c},_0x308f84={_0xf661ed:0x117};function _0x2b6a01(_0x223061,_0x4383d0,_0x3c75fe,_0x337bc5){return _0xe18bb0(_0x3c75fe,_0x4383d0-0x135,_0x3c75fe-0x11f,_0x337bc5-_0x308f84._0xf661ed);}return _0x16b3c7[_0x2b6a01(0x321,0x3f8,_0x4a3282._0x2501fd,_0x4a3282._0x2d41cc)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x264866,_0x509c04){const _0x5d8037={_0x201111:0x1d4,_0x5a87a8:0x2cf,_0x223790:0x535,_0x134aba:0x556,_0x59175c:0x47e,_0x5ea57c:0x7cf,_0x50646f:0x46b,_0x44da39:0x62a,_0x49740d:0x5a5,_0xd514c1:0x400,_0x10a2d5:0x47b,_0x254028:0x448,_0x5c6273:0x318,_0x33d16e:0x4fe,_0x49c063:0x4a5,_0x536e55:0x25c,_0x1452fd:0x165,_0x5e2cb9:0x3e6,_0x490918:0x43b,_0x2b5241:0x35b,_0x34b765:0x15f,_0x44cabc:0x43,_0x5068d2:0x84,_0x5ee4df:0x368,_0x5442d8:0x32b,_0x4b3316:0x280,_0x43d14e:0x368,_0x581692:0x1f8,_0x541328:0x48,_0x32a63c:0x32,_0x1c6553:0x5b5,_0x33db1b:0x570,_0x1af469:0x4c7,_0x237383:0x6bb,_0x4721c3:0x65a,_0x3765d8:0x652,_0x175bdf:0x720,_0x57d468:0x534,_0x313deb:0x32c,_0x5bf22d:0x18f,_0x1066fd:0x1e,_0x587612:0x7c,_0x2724ab:0x4c,_0x1a52e2:0x175,_0x409835:0x4ef,_0x1e5371:0x6c5,_0x2662fd:0x42,_0x39e121:0xe0,_0x2f66db:0x298},{maxBytes:_0x178fbd,sessionDir:_0x13bef7}=_0x509c04;if(!_0x264866[_0x28d431(_0x5d8037._0x201111,_0x5d8037._0x5a87a8,0x405,0x1a5)]||Buffer[_0x29d6a4(_0x5d8037._0x223790,_0x5d8037._0x134aba,0x47c,0x4bf)](_0x264866[_0x29d6a4(_0x5d8037._0x59175c,_0x5d8037._0x5ea57c,_0x5d8037._0x50646f,_0x5d8037._0x44da39)],_0x29d6a4(0x5ba,0x4d6,_0x5d8037._0x49740d,0x604))<=_0x178fbd)return _0x264866;const _0x104a52=Buffer[_0x28d431(0x22b,0x164,0x35b,0x1bc)](_0x264866[_0x28d431(0xe3,_0x5d8037._0x5a87a8,_0x5d8037._0xd514c1,0x226)],'utf8');if(!_0x13bef7){const _0x7de0a9=_0x264866['output'][_0x29d6a4(0x25d,_0x5d8037._0x10a2d5,_0x5d8037._0x254028,_0x5d8037._0x5c6273)](0x0,_0x178fbd);return{..._0x264866,'output':_0x7de0a9+(_0x29d6a4(0x536,0x4bb,_0x5d8037._0x33d16e,_0x5d8037._0x49c063)+_0x178fbd+_0x28d431(0x12f,0xaf,_0x5d8037._0x536e55,_0x5d8037._0x1452fd)+_0x104a52+_0x28d431(0x22,0x7d,0x211,0x122)),'meta':{..._0x264866['meta'],'truncated':!![],'originalBytes':_0x104a52,'transforms':[..._0x264866[_0x29d6a4(0x1c5,0x55b,0x5ae,0x3a7)][_0x28d431(0xdb,0x1d7,0xe4,_0x5d8037._0x5e2cb9)],_0x29d6a4(0x362,0x631,0x2e7,_0x5d8037._0x490918)]}};}function _0x29d6a4(_0x1b682f,_0xb9c3cb,_0x354bea,_0x57da80){return _0x47b891(_0x354bea,_0x57da80- -0x89,_0x354bea-0x157,_0x57da80-0xdb);}const _0x39afc1=_0x264866['toolName']+'_'+sanitizeFileName(_0x264866[_0x29d6a4(0x203,0x50f,0x473,_0x5d8037._0x2b5241)])+'.log',_0x6c25ae=_0x1d9a72['join'](_0x13bef7,_0x39afc1);function _0x28d431(_0xaaaf7c,_0x1a75b2,_0x5832f0,_0x38714b){return _0x47b891(_0xaaaf7c,_0x1a75b2- -0x3e4,_0x5832f0-0x1ea,_0x38714b-0x13d);}await _0x2c18c4(_0x13bef7,{'recursive':!![]}),await writeFile(_0x6c25ae,_0x264866['output'],'utf8');let _0x162a7b=_0x264866['output'][_0x28d431(_0x5d8037._0x34b765,-_0x5d8037._0x44cabc,0x5c,_0x5d8037._0x5068d2)](0x0,_0x178fbd);const _0x1fcb67=_0x162a7b[_0x28d431(0xc7,0x1b5,_0x5d8037._0x5ee4df,0x1f2)]('\x0a');_0x1fcb67>_0x178fbd*0.5&&(_0x162a7b=_0x162a7b[_0x29d6a4(_0x5d8037._0x5442d8,0x156,_0x5d8037._0x4b3316,0x318)](0x0,_0x1fcb67));const _0x1ed39c=['',_0x28d431(_0x5d8037._0x43d14e,0x189,0x1a7,_0x5d8037._0x581692),_0x28d431(-_0x5d8037._0x541328,_0x5d8037._0x32a63c,-0x103,0x1b4)+_0x178fbd+_0x29d6a4(0x619,0x687,0x4fb,_0x5d8037._0x1c6553)+_0x104a52+'\x20bytes).',_0x29d6a4(_0x5d8037._0x33db1b,_0x5d8037._0x1af469,_0x5d8037._0x237383,_0x5d8037._0x4721c3)+_0x6c25ae,_0x29d6a4(_0x5d8037._0x3765d8,_0x5d8037._0x175bdf,0x4d0,_0x5d8037._0x57d468),_0x28d431(0x185,0x236,_0x5d8037._0x313deb,0x1b0)][_0x28d431(0x178,_0x5d8037._0x5bf22d,_0x5d8037._0x1066fd,_0x5d8037._0x587612)]('\x0a');return{..._0x264866,'output':_0x162a7b+_0x1ed39c,'meta':{..._0x264866[_0x28d431(0x1a8,_0x5d8037._0x2724ab,-0x183,0xd1)],'truncated':!![],'originalBytes':_0x104a52,'transforms':[..._0x264866[_0x28d431(_0x5d8037._0x1a52e2,0x4c,0xcb,-0x181)][_0x29d6a4(_0x5d8037._0x409835,0x372,_0x5d8037._0x1e5371,0x532)],_0x28d431(-_0x5d8037._0x2662fd,_0x5d8037._0x39e121,_0x5d8037._0x2f66db,0x31)]}};}import{readFile as _0x31666b,stat as _0x5249bb}from'fs/promises';function createAnchoredFileError(_0x4863b7,_0x5fe8b8,_0x5140ee){return new ToolExecutionError(_0x5fe8b8,{'error':_0x4863b7,..._0x5140ee});}import{createHash}from'crypto';function sha256Bytes(_0xaea80f){const _0x51bfcc={_0xa70ffa:0x1c6,_0x59f54c:0x60,_0x2ed899:0xa2,_0x241693:0x43a,_0x49553b:0x287},_0x2f97f8={_0x5d0b8f:0x41c,_0x2b70:0xd9},_0x591732={_0x1fd28a:0x520,_0x5c9c86:0x1be,_0x4fb4af:0x9c};function _0x18c1fb(_0x3124da,_0x3f2a03,_0x49b80e,_0x1c70d3){return _0x47b891(_0x1c70d3,_0x3124da- -_0x591732._0x1fd28a,_0x49b80e-_0x591732._0x5c9c86,_0x1c70d3-_0x591732._0x4fb4af);}function _0x2a600f(_0x54f670,_0x3ac3db,_0x3b5beb,_0x2d6d7b){return _0xe18bb0(_0x54f670,_0x3b5beb-_0x2f97f8._0x5d0b8f,_0x3b5beb-0x4e,_0x2d6d7b-_0x2f97f8._0x2b70);}return createHash(_0x18c1fb(-0x31,-0x14d,_0x51bfcc._0xa70ffa,0x39))[_0x18c1fb(0x138,0xa,-_0x51bfcc._0x59f54c,-_0x51bfcc._0x2ed899)](_0xaea80f)[_0x2a600f(0x5ab,0x2c0,_0x51bfcc._0x241693,_0x51bfcc._0x49553b)]('hex');}function countLines(_0x552c42){const _0x482d4d={_0x261280:0x511,_0x528811:0x6d3,_0x342e21:0x594,_0x5e0371:0x535,_0x558bdc:0x443,_0x199aa5:0x165,_0x3c2ac9:0x14},_0x2d17eb={_0x4fbf58:0x342},_0x54de2b={_0x926e98:0x29};function _0x286722(_0x5a3691,_0x848ec9,_0x4c3d6f,_0x1fa4ad){return _0x47b891(_0x5a3691,_0x4c3d6f- -0x414,_0x4c3d6f-_0x54de2b._0x926e98,_0x1fa4ad-0x99);}const _0x4d2967=_0x552c42[_0x4c4748(_0x482d4d._0x261280,0x605,_0x482d4d._0x528811,_0x482d4d._0x342e21)](/\n$/,'');function _0x4c4748(_0x3d83f5,_0x25e102,_0x5770be,_0x47cd9b){return _0xe18bb0(_0x47cd9b,_0x25e102-_0x2d17eb._0x4fbf58,_0x5770be-0x35,_0x47cd9b-0x127);}return _0x4d2967[_0x4c4748(_0x482d4d._0x5e0371,0x4e9,_0x482d4d._0x558bdc,0x317)]===0x0?0x0:_0x4d2967[_0x286722(-_0x482d4d._0x199aa5,0xcd,_0x482d4d._0x3c2ac9,0x1e)]('\x0a')['length'];}function replaceFirstExact(_0x5a1efd,_0x248f7c,_0x41be65){const _0x7602a4={_0x52cacf:0x9a4,_0x450980:0x757,_0x2e7f53:0x7ba,_0x33744d:0x621,_0x3ea393:0x4c5,_0x5c2afe:0x5f5,_0x3a074c:0x557,_0x212710:0x50e,_0x13986e:0x976,_0x3734b8:0x6c7},_0x108468={_0x79e402:0x68a,_0x27fede:0x1c8},_0x19c9d5={_0x379af4:0x1b6,_0x58816d:0xe7},_0xd672b2=_0x5a1efd[_0x782a25(_0x7602a4._0x52cacf,0x85e,0x948,0x7ef)](_0x248f7c);if(_0xd672b2===-0x1)return void 0x0;const _0x5182b0=_0x5a1efd[_0x782a25(0x5d5,_0x7602a4._0x450980,0x557,0x464)](0x0,_0xd672b2)[_0x8e8de7(0x495,_0x7602a4._0x2e7f53,_0x7602a4._0x33744d,0x555)]('\x0a')['length'],_0x2750a9=countLines(_0x248f7c);function _0x782a25(_0x418de1,_0x373d55,_0x541b92,_0x247a9a){return _0x47b891(_0x418de1,_0x541b92-_0x19c9d5._0x379af4,_0x541b92-_0x19c9d5._0x58816d,_0x247a9a-0xdb);}const _0x597a25=countLines(_0x41be65);function _0x8e8de7(_0x4383f9,_0x3326a5,_0x3ad47f,_0x1e816c){return _0xe18bb0(_0x4383f9,_0x3ad47f-_0x108468._0x79e402,_0x3ad47f-_0x108468._0x27fede,_0x1e816c-0x9b);}return{'before':_0x5a1efd,'after':_0x5a1efd[_0x782a25(_0x7602a4._0x3ea393,_0x7602a4._0x5c2afe,_0x7602a4._0x3a074c,_0x7602a4._0x212710)](0x0,_0xd672b2)+_0x41be65+_0x5a1efd['slice'](_0xd672b2+_0x248f7c[_0x782a25(0x893,_0x7602a4._0x13986e,0x7ee,_0x7602a4._0x3734b8)]),'lineNumbers':{'oldStartLine':_0x5182b0,'oldEndLine':_0x5182b0+_0x2750a9-0x1,'newStartLine':_0x5182b0,'newEndLine':_0x5182b0+_0x597a25-0x1,'oldLineCount':_0x2750a9,'newLineCount':_0x597a25}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0xaf9085){const _0xb7b5b8={_0x1a6ff5:0x585,_0x45c62b:0x3a1,_0x32f366:0x4b1,_0x51ad9c:0x3e7},_0x661832={_0x4252a8:0x63,_0x59cecb:0x7b},_0x383ad3={_0x2bb46f:0xa7};function _0x122e34(_0x5c239a,_0x158608,_0x10a9b6,_0x22cd4d){return _0x47b891(_0x5c239a,_0x10a9b6- -0x40d,_0x10a9b6-0x176,_0x22cd4d-_0x383ad3._0x2bb46f);}function _0x5c3704(_0x6f8e71,_0x34f432,_0x4b4639,_0x43a2b3){return _0x47b891(_0x6f8e71,_0x4b4639- -_0x661832._0x4252a8,_0x4b4639-_0x661832._0x59cecb,_0x43a2b3-0xf1);}if(!Number[_0x5c3704(0x1f4,_0xb7b5b8._0x1a6ff5,_0xb7b5b8._0x45c62b,0x3ab)](_0xaf9085)||_0xaf9085<0x1)throw createAnchoredFileError(_0x5c3704(_0xb7b5b8._0x32f366,_0xb7b5b8._0x51ad9c,0x40d,0x234),'Line\x20numbers\x20must\x20be\x20positive\x20safe\x20integers;\x20got\x20'+String(_0xaf9085)+'.');}function rangeLines(_0x40a3a8,_0x5ec194){const _0x2ea8fa={_0x16d7d7:0x28,_0xce7f3b:0x167,_0x4dbd37:0x197},_0x2834c3={_0x484244:0x3e4,_0x154ebc:0x1a9},_0x5dcfe5=[];for(let _0x56dddf=_0x40a3a8;_0x56dddf<=_0x5ec194;_0x56dddf+=0x1){_0x5dcfe5[_0x10df1b(-_0x2ea8fa._0x16d7d7,_0x2ea8fa._0xce7f3b,-0xba,_0x2ea8fa._0x4dbd37)](_0x56dddf);}function _0x10df1b(_0x30a6f4,_0x4159cc,_0x3e8e9e,_0x1f2e46){return _0x47b891(_0x4159cc,_0x30a6f4- -_0x2834c3._0x484244,_0x3e8e9e-_0x2834c3._0x154ebc,_0x1f2e46-0x1e8);}return _0x5dcfe5;}function normalizeContent(_0x4354ed){const _0x321739={_0x434789:0x88,_0x4cc135:0x39,_0x56ff0d:0xfc};function _0x1c32eb(_0x45ebac,_0x18764a,_0x469c4c,_0x1e561b){return _0x47b891(_0x469c4c,_0x45ebac-_0x321739._0x434789,_0x469c4c-_0x321739._0x4cc135,_0x1e561b-_0x321739._0x56ff0d);}return _0x4354ed[_0x1c32eb(0x7dc,0x86d,0x7ef,0x601)](/\r\n/g,'\x0a')['split']('\x0a');}function planOperations(_0x280356,_0x3a21ab){const _0x110660={_0xfc6cac:0x779,_0x33b437:0x7a2,_0x5b8b22:0x6d5,_0x37c977:0x89b,_0x2da652:0x88,_0x3fdaa9:0x76b,_0x515d34:0x465,_0x4dff75:0x47c,_0x47be7b:0x672,_0x144b67:0x67a,_0x3105d2:0x29d,_0x97a766:0x4bd,_0x242630:0x34b},_0x1a7de0={_0x6d8fe9:0x229,_0x44b981:0x1ae,_0x18b79b:0x1f9,_0x53e6fe:0x1fd,_0x3bcd1f:0x3a3,_0x365ebc:0x262,_0x473264:0xde,_0x1b6991:0x5c,_0x6ceca:0xf5,_0x51e202:0xf8,_0x599aa9:0x3c,_0x23b309:0x19b,_0x26c8dc:0x2bd,_0x36e26c:0x1e4,_0x54987b:0xb2,_0x495a0a:0xf0,_0x4ec370:0x4a,_0x2d9001:0x57,_0x587065:0x24b,_0x2fb9f3:0xd2,_0x3c81b3:0x221,_0x28ac62:0x245,_0x5a1bd5:0x25a,_0x530c53:0x45a,_0x4a6235:0x8,_0x12bb57:0x93,_0x15c959:0x5c,_0x36a54e:0x107,_0x76f5fa:0x207,_0x4e98b5:0x42b,_0x533b30:0xd9,_0x21e029:0x1f7,_0xb0dc9:0xf0,_0x2631b5:0x8,_0x4dfa8c:0x1f,_0x2450d2:0x331,_0x300e91:0x3a6,_0x18a7e8:0x1af,_0x2a7cea:0x295,_0x34a2fe:0x1ba,_0x599547:0x35e,_0x3d7263:0x2b3,_0x20a70e:0x3e3,_0x1ee7d3:0x245,_0x54d46e:0x13f,_0x3d1acc:0x1b7,_0x33de9c:0x23d,_0x5d7bb7:0x1bf,_0x26e08e:0xd8,_0x2834b3:0xee,_0x1af507:0x317,_0xad2f43:0x117,_0x4045e0:0x136,_0x17e43e:0x262,_0x1c62c9:0x20f,_0xe26a15:0x3a6,_0x35bc7d:0x20d,_0x270e98:0x236,_0x21aca2:0x195,_0x46f59a:0xb9,_0x2dafbf:0x262,_0xe6d086:0x43a,_0x405714:0x171,_0x505d4f:0x145,_0x28155c:0x37,_0x1478e4:0x23d,_0xe217c0:0x138,_0x5db509:0x39d,_0xf4243d:0xd9,_0x765e77:0x10f,_0x2d009a:0x89,_0x2c58de:0x313,_0x43ee36:0x204,_0x93464:0x101,_0x3b45cc:0x34,_0x368182:0x191,_0x431e91:0x146,_0x7a73fc:0xd4,_0x3821b1:0x219,_0x417641:0x237,_0x5dd710:0x53,_0x4fd716:0x245,_0x2dc510:0x216,_0x236c40:0x39,_0x146c26:0x16e,_0x4e4685:0x88,_0x435499:0xaf,_0xd06b32:0xdc,_0xdc389b:0x43,_0x389725:0xe5,_0x1304ab:0x13,_0x4e290b:0xe8,_0x2c24f6:0x20c,_0xf24692:0x53,_0x2ffc3b:0x110,_0x5a3c71:0xcf,_0x1e24d4:0x2dc,_0xe4d062:0x106,_0x13f4d6:0x238,_0x1f38d3:0xf8,_0x5f5096:0x1a1,_0x222113:0xbe,_0x557a05:0xdc,_0x33477e:0x12b,_0x13f420:0xab,_0x5d6af7:0x112,_0x395082:0x26e,_0x291776:0x157,_0x30b4de:0xc5,_0x4fba0c:0x1d4,_0x48c05a:0xee,_0x19d371:0x41,_0x439d57:0x1f4,_0x41b18d:0x82,_0x3dce29:0x156,_0x312a0e:0x179,_0x24fc09:0x2f0,_0x1aedbc:0x246,_0x2b7e1f:0xd4,_0x32e184:0xcd,_0x5b3fa8:0xb4,_0x4e6224:0xed,_0x5228a6:0x7b,_0x3530a1:0x20c,_0x407198:0x1e0,_0x2587cb:0xb6,_0xcc4e68:0x149,_0x13615b:0xe4,_0x14788b:0xfc,_0x56945d:0x2c,_0x13c030:0x48,_0x284e58:0x21,_0x1a0dfb:0x53,_0xfb03c2:0x49,_0xffe850:0x69,_0x5e37cf:0xb3,_0xeb9433:0x22d,_0x22f84e:0x23f},_0x281544={_0x47827c:0x171,_0x43f4c0:0x58},_0x109183={_0x44ca13:0x141,_0x4df257:0xeb,_0x158038:0x128};function _0x187f94(_0x20a7c6,_0x29f18b,_0x4eb08e,_0x345e3a){return _0x47b891(_0x345e3a,_0x4eb08e-_0x109183._0x44ca13,_0x4eb08e-_0x109183._0x4df257,_0x345e3a-_0x109183._0x158038);}if(_0x3a21ab[_0x187f94(0x686,0x89e,_0x110660._0xfc6cac,0x96b)]===0x0)throw createAnchoredFileError('invalid_range',_0x187f94(_0x110660._0x33b437,0x7b4,_0x110660._0x5b8b22,0x5fa));if(_0x3a21ab[_0x187f94(0x873,_0x110660._0x37c977,_0x110660._0xfc6cac,0x8ae)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x1dbbe9(0x258,0x86,_0x110660._0x2da652,0x73),_0x187f94(0x66d,0x8b4,0x86b,_0x110660._0x3fdaa9)+MAX_OPERATIONS+_0x187f94(0x511,0x711,0x65b,_0x110660._0x515d34));if(_0x280356[_0x187f94(0x468,0x4f0,0x555,_0x110660._0x4dff75)][_0x187f94(_0x110660._0x47be7b,0x76b,0x779,_0x110660._0x144b67)]===0x0)throw createAnchoredFileError('invalid_range',_0x1dbbe9(0x2d4,_0x110660._0x3105d2,_0x110660._0x97a766,_0x110660._0x242630));function _0x1dbbe9(_0x1be9fe,_0x5002cf,_0x1a6122,_0x12bd18){return _0xe18bb0(_0x5002cf,_0x12bd18-0x94,_0x1a6122-_0x281544._0x47827c,_0x12bd18-_0x281544._0x43f4c0);}return _0x3a21ab[_0x1dbbe9(0x288,0x37b,0x2fb,0x204)](_0x2b151e=>{const _0xe0ffb3={_0x426f14:0x116,_0xb94b0b:0x178},_0x2c2841={_0x3b3ef9:0x1ae,_0x3e556b:0x600};function _0x4d882b(_0x540c14,_0x3736ab,_0x4a6813,_0x233f39){return _0x187f94(_0x540c14-_0x2c2841._0x3b3ef9,_0x3736ab-0x3,_0x540c14- -_0x2c2841._0x3e556b,_0x233f39);}function _0xf4d422(_0x365292,_0x4ab330,_0x564a84,_0x2b2298){return _0x187f94(_0x365292-_0xe0ffb3._0x426f14,_0x4ab330-_0xe0ffb3._0xb94b0b,_0x365292- -0x608,_0x2b2298);}switch(_0x2b151e[_0x4d882b(0x20f,_0x1a7de0._0x6d8fe9,0x3dc,_0x1a7de0._0x44b981)]){case _0x4d882b(0x295,0x36a,_0x1a7de0._0x18b79b,_0x1a7de0._0x53e6fe):{requireValidAnchorLine(_0x2b151e[_0xf4d422(0x23d,_0x1a7de0._0x3bcd1f,0x179,0x67)]),requireValidAnchorLine(_0x2b151e['endLine']);if(_0x2b151e['startLine']>_0x2b151e[_0x4d882b(_0x1a7de0._0x365ebc,0x3dd,0x3f1,0x339)])throw createAnchoredFileError(_0x4d882b(-0x4f,-_0x1a7de0._0x473264,-_0x1a7de0._0x1b6991,-_0x1a7de0._0x6ceca),_0xf4d422(_0x1a7de0._0x51e202,0x180,-_0x1a7de0._0x599aa9,_0x1a7de0._0x23b309));if(typeof _0x2b151e[_0xf4d422(0xc7,_0x1a7de0._0x26c8dc,_0x1a7de0._0x36e26c,-_0x1a7de0._0x54987b)]!==_0xf4d422(_0x1a7de0._0x495a0a,-0x2c,_0x1a7de0._0x4ec370,0x157))throw createAnchoredFileError(_0xf4d422(-_0x1a7de0._0x2d9001,-_0x1a7de0._0x587065,0x57,0x15a),_0xf4d422(-_0x1a7de0._0x2fb9f3,-_0x1a7de0._0x3c81b3,0xae,-_0x1a7de0._0x28ac62));if(_0x2b151e[_0xf4d422(_0x1a7de0._0x5a1bd5,0x257,_0x1a7de0._0x530c53,0x43a)]>_0x280356[_0x4d882b(-0xab,-0x193,-0x290,_0x1a7de0._0x4a6235)][_0x4d882b(0x179,-_0x1a7de0._0x12bb57,0x2f6,0x2ab)])throw createAnchoredFileError('invalid_range',_0xf4d422(0x40,_0x1a7de0._0x15c959,_0x1a7de0._0x36a54e,-0xd6)+_0x2b151e['startLine']+',\x20'+_0x2b151e[_0x4d882b(0x262,_0x1a7de0._0x76f5fa,_0x1a7de0._0x4e98b5,0x2fc)]+_0xf4d422(-_0x1a7de0._0x533b30,-_0x1a7de0._0x21e029,-0x22c,-_0x1a7de0._0xb0dc9)+_0x280356[_0x4d882b(-0xab,-_0x1a7de0._0x2631b5,_0x1a7de0._0x4dfa8c,-0x183)]['length']+_0xf4d422(0x244,0x36b,_0x1a7de0._0x2450d2,_0x1a7de0._0x300e91));const _0x30326c=normalizeContent(_0x2b151e[_0x4d882b(0xcf,_0x1a7de0._0x18a7e8,-0x110,0x19f)]);return{'kind':'replace','canonical':{'operation':_0x4d882b(_0x1a7de0._0x2a7cea,0x268,0x248,0x180),'startLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x28ac62,_0x1a7de0._0x34a2fe,_0x1a7de0._0x599547,_0x1a7de0._0x3d7263)],'endLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x365ebc,0x405,0x1ae,_0x1a7de0._0x20a70e)],'content':_0x30326c['join']('\x0a')},'spliceIndex':_0x2b151e[_0x4d882b(_0x1a7de0._0x1ee7d3,0x27c,0x11f,0x23b)]-0x1,'deleteCount':_0x2b151e[_0xf4d422(0x25a,0x3d4,_0x1a7de0._0x54d46e,_0x1a7de0._0x3d1acc)]-_0x2b151e[_0xf4d422(_0x1a7de0._0x33de9c,_0x1a7de0._0x5d7bb7,0xc5,_0x1a7de0._0x26e08e)]+0x1,'rows':_0x30326c,'sourceStart':_0x2b151e[_0x4d882b(0x245,_0x1a7de0._0x2834b3,0x162,0x3c5)],'sourceEnd':_0x2b151e['endLine'],'requiredLines':rangeLines(_0x2b151e[_0xf4d422(0x23d,_0x1a7de0._0x1af507,0x106,0x2ab)],_0x2b151e['endLine'])};}case _0xf4d422(_0x1a7de0._0xad2f43,0x31b,0x2c9,_0x1a7de0._0x4045e0):{requireValidAnchorLine(_0x2b151e['startLine']),requireValidAnchorLine(_0x2b151e[_0x4d882b(_0x1a7de0._0x17e43e,0x39d,_0x1a7de0._0x1c62c9,0x231)]);if(_0x2b151e['startLine']>_0x2b151e[_0x4d882b(0x262,0x2b3,0x198,_0x1a7de0._0xe26a15)])throw createAnchoredFileError(_0x4d882b(-0x4f,-_0x1a7de0._0x35bc7d,-_0x1a7de0._0x270e98,0x13),_0xf4d422(0xc5,_0x1a7de0._0x21aca2,-_0x1a7de0._0x46f59a,0x21));if(_0x2b151e[_0x4d882b(_0x1a7de0._0x2dafbf,_0x1a7de0._0xe6d086,0x153,0xc0)]>_0x280356['lines'][_0xf4d422(_0x1a7de0._0x405714,-0x41,0x17a,-0x98)])throw createAnchoredFileError('invalid_range',_0x4d882b(_0x1a7de0._0x505d4f,0x17d,-0x13,-_0x1a7de0._0x28155c)+_0x2b151e[_0xf4d422(_0x1a7de0._0x1478e4,_0x1a7de0._0xe217c0,_0x1a7de0._0x5db509,0x67)]+',\x20'+_0x2b151e[_0x4d882b(_0x1a7de0._0x2dafbf,0x3ad,0x253,0x1ad)]+_0xf4d422(-_0x1a7de0._0xf4243d,0x7f,_0x1a7de0._0x765e77,0xf5)+_0x280356['lines'][_0x4d882b(0x179,_0x1a7de0._0x2d009a,0x25f,_0x1a7de0._0x2c58de)]+_0xf4d422(0x244,_0x1a7de0._0x43ee36,_0x1a7de0._0x93464,0xe7));return{'kind':_0xf4d422(0x117,0xf8,-_0x1a7de0._0x3b45cc,0xbd),'canonical':{'operation':_0xf4d422(0x117,_0x1a7de0._0x368182,-0xb6,_0x1a7de0._0x431e91),'startLine':_0x2b151e[_0xf4d422(_0x1a7de0._0x33de9c,0x1c2,0x2ab,_0x1a7de0._0x7a73fc)],'endLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x17e43e,0x372,_0x1a7de0._0x3821b1,_0x1a7de0._0x417641)]},'spliceIndex':_0x2b151e[_0xf4d422(0x23d,0x90,0x2f,_0x1a7de0._0x5dd710)]-0x1,'deleteCount':_0x2b151e['endLine']-_0x2b151e[_0x4d882b(_0x1a7de0._0x4fd716,_0x1a7de0._0x2dc510,0x2ab,_0x1a7de0._0x5db509)]+0x1,'rows':[],'sourceStart':_0x2b151e[_0xf4d422(_0x1a7de0._0x1478e4,_0x1a7de0._0x236c40,_0x1a7de0._0x146c26,0xe1)],'sourceEnd':_0x2b151e[_0xf4d422(0x25a,0x2d0,0x23b,0x6e)],'requiredLines':rangeLines(_0x2b151e[_0x4d882b(_0x1a7de0._0x4fd716,_0x1a7de0._0x4e4685,_0x1a7de0._0x435499,0x44f)],_0x2b151e[_0xf4d422(0x25a,0x315,0x12a,0x14f)])};}case _0xf4d422(_0x1a7de0._0xd06b32,-0x11b,0x36,-_0x1a7de0._0xdc389b):{requireValidAnchorLine(_0x2b151e['line']);if(_0x2b151e[_0xf4d422(_0x1a7de0._0x389725,_0x1a7de0._0x1304ab,-_0x1a7de0._0x4e290b,-0x110)]!==_0xf4d422(_0x1a7de0._0x2c24f6,0x216,0x3f1,_0x1a7de0._0xf24692)&&_0x2b151e['position']!==_0x4d882b(_0x1a7de0._0x2ffc3b,-0x55,-0xe0,_0x1a7de0._0x3d7263))throw createAnchoredFileError('invalid_range','insert\x20position\x20must\x20be\x20\x27before\x27\x20or\x20\x27after\x27.');if(typeof _0x2b151e[_0x4d882b(_0x1a7de0._0x5a3c71,_0x1a7de0._0x1e24d4,-_0x1a7de0._0xe4d062,_0x1a7de0._0x13f4d6)]!==_0x4d882b(_0x1a7de0._0x1f38d3,-0x2,0x153,-0x38))throw createAnchoredFileError('invalid_range',_0xf4d422(0x107,0x2d6,0x210,_0x1a7de0._0x5f5096));if(_0x2b151e[_0xf4d422(-_0x1a7de0._0x222113,-_0x1a7de0._0x557a05,_0x1a7de0._0x33477e,-0x16a)]>_0x280356[_0x4d882b(-_0x1a7de0._0x13f420,-_0x1a7de0._0x5d6af7,-0x1b5,-_0x1a7de0._0x395082)]['length'])throw createAnchoredFileError(_0xf4d422(-0x57,-0x29,_0x1a7de0._0x291776,-0x191),_0x4d882b(_0x1a7de0._0x30b4de,_0x1a7de0._0x4fba0c,_0x1a7de0._0x48c05a,0xdb)+_0x2b151e['line']+_0x4d882b(0x168,_0x1a7de0._0x19d371,_0x1a7de0._0x439d57,-_0x1a7de0._0x41b18d)+_0x280356[_0x4d882b(-0xab,0xc5,0x10e,_0x1a7de0._0x3dce29)][_0x4d882b(_0x1a7de0._0x312a0e,0x30,0x83,0x2e1)]+_0xf4d422(0x244,_0x1a7de0._0x24fc09,_0x1a7de0._0x1aedbc,0x3e6));const _0x4971b0=normalizeContent(_0x2b151e[_0xf4d422(0xc7,_0x1a7de0._0x2b7e1f,-_0x1a7de0._0x32e184,_0x1a7de0._0x5b3fa8)]),_0x3269fe=_0x2b151e[_0x4d882b(_0x1a7de0._0x4e6224,-_0x1a7de0._0x5228a6,0x197,_0x1a7de0._0x5f5096)]===_0xf4d422(_0x1a7de0._0x3530a1,0x20b,_0x1a7de0._0x407198,0x2eb)?_0x2b151e[_0xf4d422(-_0x1a7de0._0x222113,-0x17a,-0x237,-0x2a7)]-0x1:_0x2b151e[_0x4d882b(-_0x1a7de0._0x2587cb,0x142,-_0x1a7de0._0xcc4e68,0x7d)];return{'kind':'insert','canonical':{'operation':_0x4d882b(_0x1a7de0._0x13615b,-0x69,0x150,0xa3),'position':_0x2b151e[_0xf4d422(0xe5,0x242,-_0x1a7de0._0x14788b,0x89)],'line':_0x2b151e[_0x4d882b(-_0x1a7de0._0x2587cb,-0x1fb,-0x91,-0x2a2)],'content':_0x4971b0[_0x4d882b(_0x1a7de0._0x5b3fa8,-_0x1a7de0._0x56945d,-_0x1a7de0._0x13c030,-_0x1a7de0._0x284e58)]('\x0a')},'spliceIndex':_0x3269fe,'deleteCount':0x0,'rows':_0x4971b0,'gap':_0x3269fe,'requiredLines':[_0x2b151e[_0xf4d422(-0xbe,-_0x1a7de0._0x1a0dfb,0x39,-_0x1a7de0._0xfb03c2)]]};}default:{const _0x4c1597=_0x2b151e;throw createAnchoredFileError('invalid_range',_0x4d882b(-_0x1a7de0._0xffe850,_0x1a7de0._0x5e37cf,-0x1dd,-_0x1a7de0._0xeb9433)+String(_0x4c1597[_0x4d882b(0x20f,_0x1a7de0._0x22f84e,0x128,0x153)])+'\x27.');}}});}function assertNoOverlaps(_0x52299b){const _0x46a55c={_0x59e592:0x3f2,_0x1a4cb8:0x22a,_0x38f8ca:0x389,_0x39b119:0x320,_0x584c82:0x1ea,_0x50dc03:0x461,_0x3505f3:0x272,_0x45477e:0x14a,_0x38864a:0x302,_0x4d1864:0x21f,_0xeffbd5:0x310,_0x2fcda4:0x229,_0x5bee50:0x3,_0x30f4c9:0x1d8,_0x22edc1:0x24b,_0x43340e:0x170,_0x28da6a:0x311,_0x406805:0xd4,_0x326241:0x266,_0x5764c5:0x2ce,_0x54dac7:0x1b2,_0x2b7be8:0x4b8,_0x1681ca:0x203,_0x721b84:0x381,_0x272bb1:0x395,_0x18efd7:0x229,_0x540e26:0x309,_0x18732c:0xc7,_0x2b9709:0xad,_0x5b6370:0xb6,_0x3494d6:0x268},_0x1bdc59={_0x5c37c7:0xcb,_0x272682:0x182},_0x391512={_0x170b30:0x4c8,_0x4be169:0xcb},_0x8f96b7=_0x52299b[_0x54cbd8(_0x46a55c._0x59e592,0x32f,0x478,0x324)](_0x44c69f=>_0x44c69f[_0x54cbd8(0x1b9,0x460,0x37c,0x351)]==='replace'||_0x44c69f[_0x28b598(0x24f,0x337,0x2d6,0xbb)]===_0x28b598(0x116,-0x13,-0x25,0x28f));function _0x28b598(_0x4dd2ee,_0x2647d8,_0x8bbb7,_0x1cddbe){return _0x47b891(_0x1cddbe,_0x4dd2ee- -_0x391512._0x170b30,_0x8bbb7-0x8f,_0x1cddbe-_0x391512._0x4be169);}const _0x5a7ef1=_0x52299b[_0x28b598(0x222,_0x46a55c._0x1a4cb8,0x3cb,_0x46a55c._0x38f8ca)](_0x1b9c07=>_0x1b9c07[_0x54cbd8(0x231,0x180,0x2ab,0x351)]===_0x54cbd8(0x2ad,0x4,0x2cd,0x1dd));for(let _0x563d4a=0x0;_0x563d4a<_0x8f96b7[_0x28b598(0x170,0x196,0xe0,_0x46a55c._0x39b119)];_0x563d4a+=0x1){for(let _0x447c64=_0x563d4a+0x1;_0x447c64<_0x8f96b7[_0x54cbd8(_0x46a55c._0x584c82,0xc2,_0x46a55c._0x50dc03,_0x46a55c._0x3505f3)];_0x447c64+=0x1){const _0x4adb2e=_0x8f96b7[_0x563d4a],_0x45c740=_0x8f96b7[_0x447c64];if(Math[_0x28b598(-_0x46a55c._0x45477e,-0x1fd,-0x226,-0xe)](_0x4adb2e['sourceStart'],_0x45c740[_0x54cbd8(_0x46a55c._0x38864a,_0x46a55c._0x4d1864,_0x46a55c._0xeffbd5,_0x46a55c._0x2fcda4)])<=Math['min'](_0x4adb2e[_0x54cbd8(-_0x46a55c._0x5bee50,0x1b1,0x4c,0x1c9)],_0x45c740['sourceEnd']))throw createAnchoredFileError(_0x54cbd8(0x26f,_0x46a55c._0x30f4c9,_0x46a55c._0x22edc1,0x29d),'Anchored\x20replace/delete\x20source\x20ranges\x20overlap.');}}function _0x54cbd8(_0x34ce0d,_0x5f3854,_0x5c9951,_0x31e2e6){return _0xe18bb0(_0x5c9951,_0x31e2e6-_0x1bdc59._0x5c37c7,_0x5c9951-_0x1bdc59._0x272682,_0x31e2e6-0x73);}for(let _0x2b5f36=0x0;_0x2b5f36<_0x5a7ef1[_0x28b598(_0x46a55c._0x43340e,_0x46a55c._0x28da6a,_0x46a55c._0x406805,0x299)];_0x2b5f36+=0x1){for(let _0xe9f82e=_0x2b5f36+0x1;_0xe9f82e<_0x5a7ef1['length'];_0xe9f82e+=0x1){if(_0x5a7ef1[_0x2b5f36][_0x28b598(0x27f,_0x46a55c._0x326241,_0x46a55c._0x5764c5,_0x46a55c._0x54dac7)]===_0x5a7ef1[_0xe9f82e][_0x54cbd8(_0x46a55c._0x2b7be8,0x22e,0x53f,0x381)])throw createAnchoredFileError('overlapping_operations','Multiple\x20insertions\x20target\x20the\x20same\x20line\x20gap.');}}for(const _0xc42773 of _0x5a7ef1){for(const _0x2a9fb8 of _0x8f96b7){if(_0xc42773[_0x54cbd8(0x3f9,_0x46a55c._0x1681ca,0x476,_0x46a55c._0x721b84)]>=_0x2a9fb8[_0x54cbd8(_0x46a55c._0x272bb1,0x1c8,0x37f,_0x46a55c._0x18efd7)]&&_0xc42773[_0x54cbd8(0x262,_0x46a55c._0x540e26,0x1ac,0x381)]<=_0x2a9fb8[_0x28b598(_0x46a55c._0x18732c,0x2b1,-_0x46a55c._0x2b9709,-_0x46a55c._0x5b6370)]-0x1)throw createAnchoredFileError('overlapping_operations',_0x28b598(0x1fb,0x226,_0x46a55c._0x3494d6,0x2d1));}}}function assertLinesObserved(_0x531901,_0x41f84a){const _0x57d6ab={_0x31614a:0x31f,_0xc7e8b1:0xcb,_0xc2be9e:0x150,_0x1ef3ea:0x1c6},_0x462c71={_0x15e67a:0x47c,_0x18f56f:0x63},_0x260862={_0x163f9d:0x9,_0x4f5c53:0x161},_0x506c46=new Set();for(const _0x38b531 of _0x531901){for(const _0x53697b of _0x38b531['requiredLines']){_0x506c46[_0x15dd53(_0x57d6ab._0x31614a,_0x57d6ab._0xc7e8b1,0x237,0x2a2)](_0x53697b);}}function _0x1c36b7(_0x22ea55,_0x3f7719,_0x1d9efb,_0x3fd303){return _0xe18bb0(_0x3fd303,_0x22ea55-_0x260862._0x163f9d,_0x1d9efb-0x2a,_0x3fd303-_0x260862._0x4f5c53);}const _0x5ce162=[..._0x506c46][_0x1c36b7(_0x57d6ab._0xc2be9e,_0x57d6ab._0x1ef3ea,0xc5,-0x95)]((_0x5e1284,_0x1f1448)=>_0x5e1284-_0x1f1448);function _0x15dd53(_0x3cfd8d,_0x58ebd2,_0x114a83,_0x3c6b4d){return _0x47b891(_0x114a83,_0x3c6b4d- -_0x462c71._0x15e67a,_0x114a83-_0x462c71._0x18f56f,_0x3c6b4d-0x17d);}for(const _0x5c41aa of _0x5ce162){if(!_0x41f84a[_0x1c36b7(0x276,0x419,0x1df,0x413)](_0x5c41aa))throw createAnchoredFileError(_0x15dd53(0x19a,0x23d,0x420,0x225),'Line\x20'+_0x5c41aa+'\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20it\x20can\x20be\x20used\x20as\x20an\x20edit\x20anchor.',{'requiredLines':_0x5ce162});}return _0x5ce162;}function applyOperations(_0x4e099a,_0x248eee){const _0x4097cd={_0x4c358d:0x362,_0xdfaee3:0x427,_0x596e14:0x333,_0x1a7380:0x33b,_0x256a5d:0x1fd,_0x4089f8:0x3bf,_0x50f577:0x36a,_0x3edc10:0x209,_0x2cd6cc:0x26f,_0x226b41:0x59b,_0x4a588f:0x539,_0x373b43:0x136,_0x178e76:0x22b,_0x9b7c73:0x41b,_0x272f1e:0x436,_0x36860a:0x407,_0xbbd28b:0x569,_0x463187:0x3b4,_0x18199a:0x5fa,_0xd86d47:0x434,_0x2083c1:0x448},_0x164514={_0x94a235:0x1f4,_0x54191e:0x3e},_0x4f024c={_0x27120d:0x61b,_0x423307:0x4b9,_0x47200c:0x61b,_0x1d7405:0x558,_0x4b6183:0x734,_0x327382:0x30e,_0x5559da:0x581,_0x361a1e:0x5dd,_0xa42599:0x739,_0x57c0f0:0x684,_0x52bf66:0x89f,_0x24ed82:0x767,_0x2f9a77:0x589,_0x438e9c:0x6e4},_0x2ef18e={_0x2ec59b:0x182},_0xe966b2={_0x435d2b:0x1b2,_0x557ef1:0x29},_0x2d6227={_0x5f198d:0x2d2,_0x4d83c6:0x68,_0x4e49b2:0x58},_0x422a50=[..._0x4e099a[_0x1d2998(_0x4097cd._0x4c358d,0x274,_0x4097cd._0xdfaee3,0x255)]];function _0x1d2998(_0x5269f7,_0x1af6a1,_0x3e3601,_0x32e76e){return _0xe18bb0(_0x1af6a1,_0x32e76e-_0x2d6227._0x5f198d,_0x3e3601-_0x2d6227._0x4d83c6,_0x32e76e-_0x2d6227._0x4e49b2);}const _0x2ecb1b=[..._0x248eee][_0x301a5c(0x1ca,_0x4097cd._0x596e14,_0x4097cd._0x1a7380,0x501)]((_0x17a3af,_0x4ccfca)=>{if(_0x17a3af[_0x292e12(_0x4f024c._0x27120d,_0x4f024c._0x423307,0x680,0x7cb)]!==_0x4ccfca[_0x292e12(_0x4f024c._0x47200c,_0x4f024c._0x1d7405,_0x4f024c._0x4b6183,0x476)])return _0x4ccfca[_0x19ff07(0x49f,0x43a,_0x4f024c._0x327382,0x3f4)]-_0x17a3af['spliceIndex'];const _0x2a0d14=_0x17a3af[_0x19ff07(_0x4f024c._0x5559da,_0x4f024c._0x361a1e,0x503,_0x4f024c._0xa42599)]===_0x292e12(0x589,_0x4f024c._0x57c0f0,0x578,0x41b);function _0x19ff07(_0x191d61,_0x52e052,_0xde3f7c,_0xa0324e){return _0x1d2998(_0x191d61-0x60,_0xde3f7c,_0xde3f7c-_0xe966b2._0x435d2b,_0x191d61-_0xe966b2._0x557ef1);}const _0x5e51c1=_0x4ccfca[_0x292e12(0x6fd,0x62f,_0x4f024c._0x52bf66,_0x4f024c._0x24ed82)]===_0x292e12(_0x4f024c._0x2f9a77,_0x4f024c._0x438e9c,0x5ae,0x45d);if(_0x2a0d14!==_0x5e51c1)return _0x2a0d14?0x1:-0x1;function _0x292e12(_0x440021,_0x1b2d41,_0x2198b3,_0xf4c617){return _0x1d2998(_0x440021-0x39,_0xf4c617,_0x2198b3-_0x2ef18e._0x2ec59b,_0x440021-0x1a5);}return 0x0;});for(const _0x30b8f2 of _0x2ecb1b){_0x422a50[_0x301a5c(_0x4097cd._0x256a5d,_0x4097cd._0x4089f8,_0x4097cd._0x50f577,_0x4097cd._0x3edc10)](_0x30b8f2[_0x301a5c(_0x4097cd._0x2cd6cc,0x2c7,0x398,_0x4097cd._0x226b41)],_0x30b8f2[_0x1d2998(0x3ae,0x25f,_0x4097cd._0x4a588f,0x3aa)],..._0x30b8f2[_0x1d2998(_0x4097cd._0x373b43,_0x4097cd._0x178e76,_0x4097cd._0x9b7c73,0x280)]);}if(_0x422a50[_0x301a5c(0x419,_0x4097cd._0x272f1e,0x39b,0x52e)]===0x0)return'';function _0x301a5c(_0x4effab,_0xa2951b,_0x3b6ff7,_0x234f82){return _0xe18bb0(_0x234f82,_0x3b6ff7-_0x164514._0x94a235,_0x3b6ff7-_0x164514._0x54191e,_0x234f82-0xf8);}const _0x23746f=_0x422a50[_0x1d2998(_0x4097cd._0x36860a,_0x4097cd._0xbbd28b,0x32d,_0x4097cd._0x463187)]('\x0a');return _0x4e099a[_0x301a5c(_0x4097cd._0x18199a,_0x4097cd._0xd86d47,_0x4097cd._0x2083c1,0x24f)]?_0x23746f+'\x0a':_0x23746f;}function operationRowDelta(_0x1411a5){const _0x78dbd5={_0xe18650:0x721,_0x507e84:0x654,_0x119e47:0x915};function _0xd3d148(_0x14b56f,_0x2826bd,_0x4589ea,_0xbed679){return _0x47b891(_0x14b56f,_0x2826bd-0x1b8,_0x4589ea-0x5c,_0xbed679-0x88);}return _0x1411a5['rows']['length']-_0x1411a5[_0xd3d148(0x70e,_0x78dbd5._0xe18650,_0x78dbd5._0x507e84,_0x78dbd5._0x119e47)];}function finalFileOrder(_0x487148){const _0x5f54a6={_0x53b449:0x163,_0xa89205:0x4f3,_0x362f72:0x2ec},_0x1976dc={_0x9a128d:0x246,_0x1b5aee:0x418,_0x31bfc7:0x4be,_0x2531e3:0x246,_0x36e31f:0x108,_0x138a79:0x5b7,_0x307c78:0x49d,_0x2f2ad5:0x3c7,_0xc31768:0x1b4,_0xf9b224:0x301},_0x4161a7={_0x4837e1:0x59,_0x242aa3:0xc0},_0x21fee9={_0x49c2c3:0x2ec,_0x10328f:0x6a};function _0x3a4cbe(_0x8b17c2,_0x1f039a,_0x1bca58,_0x17339c){return _0x47b891(_0x17339c,_0x1bca58- -_0x21fee9._0x49c2c3,_0x1bca58-_0x21fee9._0x10328f,_0x17339c-0x7);}return[..._0x487148][_0x3a4cbe(_0x5f54a6._0x53b449,_0x5f54a6._0xa89205,_0x5f54a6._0x362f72,0x343)]((_0xf9880b,_0x381ca9)=>{if(_0xf9880b[_0x2e4e8f(_0x1976dc._0x9a128d,0x25a,_0x1976dc._0x1b5aee,0x137)]!==_0x381ca9[_0x4ce5ef(_0x1976dc._0x31bfc7,0x19a,0x2e5,0x28b)])return _0xf9880b['spliceIndex']-_0x381ca9[_0x2e4e8f(_0x1976dc._0x2531e3,_0x1976dc._0x36e31f,0x16e,0x1f1)];const _0xfe3e80=_0xf9880b[_0x4ce5ef(_0x1976dc._0x138a79,_0x1976dc._0x307c78,0x3c7,0x2b4)]===_0x2e4e8f(0x1b4,0x380,-0x1e,0x220);function _0x4ce5ef(_0x1c8180,_0x28f8de,_0x3cf7ee,_0x1f5848){return _0x3a4cbe(_0x1c8180-_0x4161a7._0x4837e1,_0x28f8de-_0x4161a7._0x242aa3,_0x3cf7ee- -0x64,_0x28f8de);}const _0x4e827a=_0x381ca9[_0x4ce5ef(0x3c1,0x4b6,_0x1976dc._0x2f2ad5,0x5c4)]===_0x2e4e8f(_0x1976dc._0xc31768,0x181,_0x1976dc._0xf9b224,0x3a0);function _0x2e4e8f(_0x274390,_0x12b959,_0x5754c0,_0x44823a){return _0x3a4cbe(_0x274390-0x13c,_0x12b959-0x18,_0x274390- -0x103,_0x44823a);}if(_0xfe3e80!==_0x4e827a)return _0xfe3e80?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x376acb){const _0x511fe5={_0xc390e:0x775,_0x3efa81:0x66b,_0x56490f:0x785,_0x1bb7ab:0x5d9,_0x5c421d:0x76e,_0x3cfb4a:0x6ce,_0x584ad6:0x154,_0x593452:0x26,_0x1f1670:0x142,_0x40e59f:0x234,_0xe81187:0xb,_0x18e773:0x3b,_0x8fbcab:0x182,_0x4ac339:0x725,_0x695dfc:0x6ce,_0x22bfab:0x4b5,_0x53bb0:0x69,_0x5e7142:0x34,_0xf34423:0xa5,_0x728a64:0x76c,_0x4b0e88:0x8cd,_0x5c2425:0x74a,_0x195d99:0x47b,_0x17fbe0:0x611,_0x4e32ab:0x26c,_0x5daec8:0x472,_0xd2f0ae:0x4aa,_0x259d26:0x681},_0x15c358={_0x429f4f:0xf4,_0x4b8c21:0x148},_0xfbe692={_0x1a8a18:0x103},_0x2bc9f8=new Array(_0x376acb[_0x2265a6(0x4cc,0x7e1,_0x511fe5._0xc390e,_0x511fe5._0x3efa81)]);let _0x317986=0x0;for(const _0x4c8cde of finalFileOrder(_0x376acb)){const _0x2a482b=_0x4c8cde[_0x2265a6(0x746,0x8a0,0x6cc,0x74a)]===_0x2265a6(0x52d,_0x511fe5._0x56490f,_0x511fe5._0x1bb7ab,0x5d6)?_0x4c8cde[_0x2265a6(_0x511fe5._0x5c421d,0x7ed,0x80c,_0x511fe5._0x3cfb4a)][_0x1021e9(-_0x511fe5._0x584ad6,_0x511fe5._0x593452,_0x511fe5._0x1f1670,_0x511fe5._0x40e59f)]===_0x1021e9(_0x511fe5._0xe81187,0x14d,_0x511fe5._0x18e773,_0x511fe5._0x8fbcab)?_0x4c8cde[_0x2265a6(_0x511fe5._0x4ac339,0x752,0x74d,_0x511fe5._0x695dfc)]['line']:_0x4c8cde['canonical'][_0x2265a6(0x270,0x4cd,_0x511fe5._0x22bfab,0x43c)]+0x1:_0x4c8cde[_0x1021e9(0x259,_0x511fe5._0x53bb0,_0x511fe5._0x5e7142,_0x511fe5._0xf34423)],_0xc02c3d=_0x2a482b+_0x317986,_0x2c35dd=_0x4c8cde[_0x2265a6(_0x511fe5._0x728a64,0x82e,_0x511fe5._0x4b0e88,_0x511fe5._0x5c2425)]===_0x2265a6(0x46a,0x5c2,_0x511fe5._0x195d99,_0x511fe5._0x17fbe0)?0x0:_0x4c8cde[_0x2265a6(0x32e,0x603,_0x511fe5._0x4e32ab,_0x511fe5._0x5daec8)][_0x2265a6(_0x511fe5._0xd2f0ae,_0x511fe5._0x259d26,0x5d2,0x66b)];_0x2bc9f8[_0x376acb['indexOf'](_0x4c8cde)]={'newStartLine':_0xc02c3d,'newEndLine':_0xc02c3d+_0x2c35dd-0x1},_0x317986+=operationRowDelta(_0x4c8cde);}function _0x2265a6(_0x3b7b62,_0x5142d8,_0x11c30f,_0x2a94b8){return _0xe18bb0(_0x5142d8,_0x2a94b8-0x4c4,_0x11c30f-0x6d,_0x2a94b8-_0xfbe692._0x1a8a18);}function _0x1021e9(_0xe04e01,_0x31edcf,_0x3d708f,_0x3d310e){return _0xe18bb0(_0xe04e01,_0x31edcf- -0xf5,_0x3d708f-_0x15c358._0x429f4f,_0x3d310e-_0x15c358._0x4b8c21);}return _0x2bc9f8;}function buildBlock(_0x126957,_0x271730,_0x378ca8,_0x46863b){const _0x1da3bb={_0xf84dba:0x5e1,_0x2c7575:0x567,_0x1eff4f:0x4c1,_0x325217:0x65b,_0x540b83:0x7d9,_0x227aaa:0x465,_0x4d0a16:0x39c,_0x5405ea:0x55c,_0x5593cc:0x502,_0x2719b2:0x3fa,_0x4ac378:0x53f,_0x7b20eb:0x41a,_0x232401:0x4b9,_0x4c7028:0x4c4,_0x5ba990:0x459,_0x1a9f4c:0x356,_0x349901:0x650,_0x4ebf9b:0x6bc,_0x5c5ced:0x7b8,_0x6cd5d3:0x311,_0x442dec:0x74a,_0x7d5306:0x4b9,_0x5cccdd:0x6bb,_0xfd94dc:0x577,_0x598b44:0x2b2,_0x2bb86e:0x4b3,_0x204428:0x624,_0x325cd9:0x4e2,_0x49c355:0x346,_0x3f5bb3:0x2f5,_0x27f7e7:0x309,_0x269d81:0x65e,_0x4194d4:0x6b6},_0x364f7e={_0x68981e:0x108,_0x19bb84:0x173},_0x164005={_0x409c36:0x35b,_0x27e418:0xf9,_0x5cb90a:0x27};function _0x29707c(_0x52eb33,_0xa7363c,_0x15028b,_0x5c72fa){return _0xe18bb0(_0xa7363c,_0x52eb33-_0x164005._0x409c36,_0x15028b-_0x164005._0x27e418,_0x5c72fa-_0x164005._0x5cb90a);}if(_0x271730[_0x29707c(_0x1da3bb._0xf84dba,0x56f,_0x1da3bb._0x2c7575,0x681)]==='insert'){const {line:_0x165b86,position:_0x1c515d}=_0x271730[_0x2b598b(0x6c1,_0x1da3bb._0x1eff4f,_0x1da3bb._0x325217,_0x1da3bb._0x540b83)],_0x3be697=_0x1c515d==='before'?_0x165b86:_0x165b86+0x1;return{'oldText':'','newText':_0x271730['rows']['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x3be697,'oldEndLine':_0x3be697-0x1,'newStartLine':_0x378ca8,'newEndLine':_0x46863b,'oldLineCount':0x0,'newLineCount':_0x271730[_0x2b598b(_0x1da3bb._0x227aaa,_0x1da3bb._0x4d0a16,_0x1da3bb._0x5405ea,0x666)][_0x29707c(_0x1da3bb._0x5593cc,_0x1da3bb._0x2719b2,0x461,_0x1da3bb._0x4ac378)]}};}const _0x472be6=_0x126957['lines'][_0x29707c(0x26b,_0x1da3bb._0x7b20eb,0x2bd,0x2b3)](_0x271730[_0x29707c(_0x1da3bb._0x232401,0x54b,_0x1da3bb._0x4c7028,0x543)]-0x1,_0x271730[_0x29707c(_0x1da3bb._0x5ba990,0x5ba,_0x1da3bb._0x1a9f4c,_0x1da3bb._0x349901)])['join']('\x0a'),_0x12a15d=_0x271730[_0x2b598b(0x5b5,0x670,_0x1da3bb._0x4ebf9b,_0x1da3bb._0x5c5ced)]-_0x271730[_0x29707c(0x4b9,_0x1da3bb._0x6cd5d3,0x55d,0x4e7)]+0x1;if(_0x271730[_0x29707c(0x5e1,0x749,0x60d,_0x1da3bb._0x442dec)]===_0x29707c(0x4a8,0x363,0x3df,0x5ab))return{'oldText':_0x472be6,'newText':'','lineNumbers':{'oldStartLine':_0x271730[_0x29707c(_0x1da3bb._0x7d5306,0x437,_0x1da3bb._0x5cccdd,_0x1da3bb._0xfd94dc)],'oldEndLine':_0x271730[_0x29707c(0x459,0x5c9,0x26b,_0x1da3bb._0x598b44)],'newStartLine':_0x378ca8,'newEndLine':_0x378ca8-0x1,'oldLineCount':_0x12a15d,'newLineCount':0x0}};function _0x2b598b(_0x567490,_0x3f97eb,_0x7c6125,_0x5cd455){return _0xe18bb0(_0x5cd455,_0x567490-0x4b7,_0x7c6125-_0x364f7e._0x68981e,_0x5cd455-_0x364f7e._0x19bb84);}return{'oldText':_0x472be6,'newText':_0x271730[_0x29707c(0x309,0x133,0x2eb,_0x1da3bb._0x2bb86e)][_0x29707c(0x43d,_0x1da3bb._0x204428,_0x1da3bb._0x325cd9,0x639)]('\x0a'),'lineNumbers':{'oldStartLine':_0x271730[_0x29707c(0x4b9,_0x1da3bb._0x49c355,0x345,_0x1da3bb._0x3f5bb3)],'oldEndLine':_0x271730['sourceEnd'],'newStartLine':_0x378ca8,'newEndLine':_0x46863b,'oldLineCount':_0x12a15d,'newLineCount':_0x271730[_0x29707c(_0x1da3bb._0x27f7e7,0x2e8,0x2e5,0x4f0)][_0x2b598b(_0x1da3bb._0x269d81,0x5b6,_0x1da3bb._0x4194d4,0x7ea)]}};}function stableStringify(_0x34c0e0){const _0x5da12b={_0x164ed8:0x5d0,_0x47c39a:0x7a6,_0x24a512:0x69d,_0x129adb:0x82d,_0x563dcb:0x681,_0x3626c1:0x5c6,_0xbea7a0:0x71b,_0x42ec6c:0x537,_0x3ef99d:0x542,_0xbd256f:0x4ff,_0x453af0:0x718,_0x364d73:0x5f3,_0x41f22c:0x6fb,_0xdc65b0:0x71d,_0x3e4b16:0x468},_0x214973={_0x465641:0x5ed,_0x20a07:0x1c,_0x2a931c:0x1c6},_0x2d6cb4={_0x56ad17:0x2e};function _0x3270c5(_0x575e50,_0x225ce3,_0x5b46a7,_0x557245){return _0xe18bb0(_0x557245,_0x225ce3-0x511,_0x5b46a7-_0x2d6cb4._0x56ad17,_0x557245-0x21);}if(Array[_0x365ab2(_0x5da12b._0x164ed8,0x846,_0x5da12b._0x47c39a,_0x5da12b._0x24a512)](_0x34c0e0))return'['+_0x34c0e0[_0x3270c5(_0x5da12b._0x129adb,_0x5da12b._0x563dcb,_0x5da12b._0x3626c1,_0x5da12b._0xbea7a0)](stableStringify)[_0x3270c5(0x6a3,0x5f3,0x76e,_0x5da12b._0x42ec6c)](',')+']';if(_0x34c0e0!==null&&typeof _0x34c0e0==='object'){const _0x5574b4=_0x34c0e0;return'{'+Object[_0x3270c5(_0x5da12b._0x3ef99d,_0x5da12b._0xbd256f,0x364,0x2f8)](_0x5574b4)['sort']()['map'](_0x3f777c=>JSON[_0x365ab2(0x6bc,0x89e,0x69f,0x709)](_0x3f777c)+':'+stableStringify(_0x5574b4[_0x3f777c]))[_0x3270c5(_0x5da12b._0x453af0,_0x5da12b._0x364d73,_0x5da12b._0x41f22c,_0x5da12b._0xdc65b0)](',')+'}';}function _0x365ab2(_0x388d13,_0x157146,_0x21b1da,_0x25c169){return _0xe18bb0(_0x157146,_0x25c169-_0x214973._0x465641,_0x21b1da-_0x214973._0x20a07,_0x25c169-_0x214973._0x2a931c);}return JSON[_0x3270c5(_0x5da12b._0x3e4b16,0x62d,0x673,0x746)](_0x34c0e0);}function _0x3ec8(){const _0x2e6c39=['AgvHzgvYCW','B3bLBG','yxr0ywnO','Dg90ywW','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','yMXVy2TZ','ugf0AcbPCYbUB3qGysbMAwXLoIa','zw5KC1DPDgG','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','Aw5FChjVz3jLC3m','z2v0t3DUuhjVCgvYDhLoyw1LCW','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','DgfNrM9YrgLNzxn0','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','Aw1Hz2uVCg5N','qMfZAe91Dhb1Da','ls1YzwDLEha','BM90lwzVDw5K','lNrZEa','B2XKu3rHCNrmAw5L','vMLLD0zPBgu','oIbJB250zw50ihjLCxvPCMvK','B3bLBMfPlxjLC3bVBNnLCW','ig1HDgnO','B3bLCMf0Aw9U','uMvHzcbHifvurI04ihrLEhqGzMLSzsbHCYbHihnUyxbZAg90lwfUy2HVCMvKifTWyxrOi3rHz10GAgvHzgvYihbSDxmGtJP0zxH0ihjVD3mUifrOzsb0ywCGAwrLBNrPzMLLCYb0AguGD2HVBguGzMLSzsWGC28GCMvHzcbVBMX5ihrOzsbSAw5LCYb5B3uGBMvLzcb3AxrOigXPBMvtDgfYDc9SAw5Lrw5KiokaLcb0AguGDgfNihn0yxLZihzHBgLKigzVCIbHihjHBMDLihjLywqUievTChr5igzPBgvZigHHDMuGBM8GzwrPDgfIBguGBgLUzs4GtwL4zwqGteyVq1jmrIWGtLvmlcbHBMqGAw52ywXPzcbvveyTocbHCMuGCMvQzwn0zwq7ihvZzsbLEgfJDcbgAwXLrwrPDcbPBNn0zwfKlG','C2vYDMvYtMfTzq','DgvZDa','zMLUywXnzxnZywDL','yMvMB3jL','u2TPBgWGjW','CMvHze9UBhLiAw50','ywjVCNq','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','y2fUB25Py2fSugf0Aa','ANnVBG','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','oIbPBNzHBgLKihbYAw9YAxr5','yNL0zxncEurPz2vZDa','ywXYzwfKEs10zxjTAw5HBa','yxjNDw1LBNrZvgv4Da','w1bFxL1BxhnCu10QpW','B2jQzwn0','ywnXDwLYzuj5DgvZ','sw52ywXPzcbvuKWGCgfYyw1LDgvY','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','zMLUywXozxDSAw5L','BwvZC2fNzq','lNbUzW','CMvHza','zMfPBgvK','zMLSDgvY','zg9JDw1LBNrtEw1IB2W','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','CMvUyw1L','ru5w','Cgf0Ag5HBwu','BM9dAgfUz2vdB3vUDgvYCW','Aw1WBgvTzw50yxrPB24','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','Ag9TzwrPCG','ihrVB2WGy2fSBcbMywLSzwq','y29UDgv4Da','zMLUzfjLzMvYzw5Jzxm','CMvWBgfJzsbZDgfYDeXPBMu','CxvLCNK','mtuZnZG2quj0Bej0','tM8GCMvZDwX0CYbMB3vUzc4','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','z3jHy2vMDwW','B25oB3rPzMLJyxrPB24','AgfZ','zxH0BMfTzq','r0Lusfvcx0fdq0vtu19ut0TftG','rMLSzsa','qKftse9qvfm','Aw1Hz2uVz2LM','C3rHCNrmAw5L','mJi0lJaUmc4W','y29UDgv4DeXPBMvZ','Dg91y2HqyxrO','C3rYAwn0','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','zw5K','lwXPBMuGC25HChnOB3qU','yM9T','u0HfteXpufrt','AMf2yxnJCMLWDa','C3bHD25PBMC','qMvHCMvYia','vg9KB1DYAxrL','zgv0ywLS','zgLHz25VC3rPy3m','y2fWq2HHCNm','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','vMfSAwrHDgvKia','A2LUza','BM9Uzq','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','zgvMAw5PDgLVBG','C3rYAxbbBNnP','s0Lnsv9bueLFs0vz','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','ywrK','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','DhLWzxnJCMLWDhjLywn0','zw5KtgLUzq','Dgv4DerVy3vTzw50l2rPzenSB3nL','AxnfBMfIBgvK','Ag92zxi','CMvXDwvZDa','lMDPzG','zxjYB3jZ','ywrKrxzLBNrmAxn0zw5LCG','CgXHDgzVCM0','qxqGBw9ZDca','zMLSzxm','C3jJl3nOyxjLzc90ExbLCY50CW','CMCUzxHL','C2vHCMnOrgvWDgG','y2XPzw50','ygbGANnVBGO','BwnWlwf1DgGTCMvXDwLYzwq','yxjNCW','sfruuca','CMvHzezPBgu','BwnWlxjLCxvLC3qTDgLTzw91Da','DhLWzq','DhnJB25MAwCUANnVBG','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','B25Jzq','A2v5','CgfYC2u','ignVBM5Ly3rPB24GDgLTzwqGB3v0','ywX3yxLZlwnVBMzPCM0','DgvYBwLUyxrPB25tzxr0BgvK','zw5NAw5LCW','yxbWBgLJyxrPB24VANnVBG','rMLSzu5LDW','Dg9VBhmVy2fSBa','yM9VBgvHBG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','zhj5uNvU','z2fW','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','D2vI','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','BgfUz3vHz2u','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','Ahr0CdO','C3rKzxjYtM9YBwfSAxPLCG','C2HLBgXqyxrO','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','tNv2Aw4','ANnVBMm','CMvWBgfJzq','A2v5yMLUzgLUz3m','C3rKB3v0tM9YBwfSAxPLCG','DgfN','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','C2vYDMvY','BwnWlwnSB3nLlwzHAwXLza','igLZihvUA25VD24GzM9Yia','y29Uy2f0','yNvKz2v0vg9Rzw5Z','B2C6DxbKyxrLzf90Aw1L','l3vZCI9IAw4VC2G','CM9VDa','zgvSzxrLlNn0yxj0tgLUzq','CMvMzxjLBMnLCW','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','y29TBwfUza','ugf0AcbUB3qGzM91BMq6ia','Aw5JBhvKzq','rMLSzvjLywq','Dg91y2HgAwXL','BxrPBwu','uxvLC3rPB24G','Aw52ywXPzf9WyxrJAa','CMLWz3jLCcbMywLSzwq6ia','CgXHAw4','Cgf0DgvYBIbPCYbYzxf1AxjLza','zgvUBY5QC29UyW','C3rYzwfTC0zSDxnOzwq','Bwf4vMvYC2LVBNnqzxjqyxrO','uhjVz3jHBuzPBgvZ','y29UBMvJDgLVBG','CgvUzgLUzW','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','BxrPBwvnCW','ywjVCNrLza','y2HHCMfJDgvY','mtCXnJKYmu1kuvvTzW','BhnWu2vYDMLJzq','lM10CW','Dw5PB24','zxzLCNK','DgfPBhm','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','zMLSztOVlW','zgf0zvjLC3rYAwn0','DhjPBq','rgLHz25VC3rPyW','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','mJqWlJaUmc4W','Dg9tDhjPBMC','mtaZmgnnr1HhqW','lM51DMLUlwnVzgu','EwvZ','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','l3vZCI9IAw4VyMfZAa','B3bLBKzPBgvZ','Aw52ywXPzf9Yyw5NztOGDgHLigvKAxqNCYbZB3vYy2uTzgvYAxzLzcbWCMv2Awv3ihrLEhqGAxmG','Aw5KzxHpzG','B3bLBNjVDxrLCG','zxzPy3rjzK5LzwrLza','rMLSzsb3CML0DgvUigf0ia','q29Tu3bLyW','zgvMyxvSDfrPBwvVDxrnCW','CMvZDwX0CW','CMvHC29U','BM90Awz5','qMfZzsbKAxjLy3rVCNK6ia','Dg9VBhm','CMfUz2u','CgfZC3rOCM91z2G','B25JBg9Zzq','Bwf4','Cg9ZDf93CML0zv9KCMLMDa','CMvNAw9U','C3vWzxjszwzPBMu','CxvLC3rPB24T','C25PChbLDa','Bwv0yxrHz3m','yMfZzw5HBwu','y2HPBgq','C2vUzfjLCxvLC3q','C3vIyxjYyxK','DgLTzw91DfnVDxjJzq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','ChjVDg9JB2W','CMvSyxrPDMu','AgfUzgXL','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','zgvZy3jPChrPB24','yxr0CG','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','zg5Zl3bYB21PC2vZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','CM91BMq','C2nYDwjfBNzlzxLZ','y2HTB2q','DhjHAwXPBMDdAhvUA3m','yw5ZAte2','zgvJB2rL','lu5VuhjVzMLSzq','C2nYDwjfBNzqCMvMAxHLCW','zwrPDa','mJqYmJHYwKjRBfy','AxneAxjLy3rVCNK','yMfJA2DYB3vUzfjLz2LZDhj5','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','C2XPy2u','BwfYA2rVD24','Axnoyu4','ls0T','CMvZzxq','Aw5PDgLHBgL6zwq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','qMfZAa','yw50AhjVCgLJlw1LC3nHz2vZ','Dw5RBM93BL9ZBMfWC2HVDa','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','yMfZAwm','zgLZy292zxi','yxjNDw1LBNriAw50','CMv0AxjL','rMLSzuvKAxq','BgLI','CMvNAxn0zxjby3rPDMvsDw4','CMvSzwfZzufNzw50uMvZB3vYy2vZ','yxv0BW','AgfZAgXPBMu','zxjYB3i','u25HChnOB3qGzM9Yia','zgvUEq','zxnJyxbL','yMLVBwuUANnVBMm','ChvZAa','y2fSBfrVB2W','igj5DguTAwrLBNrPy2fSlG','qxv0Ag9YAxPHDgLVBG','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','z29Vz2XLq3nLq3G','iYmGu2TPBgW6ia','C3rHCNq','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','uKLgrG','l3bPza','C2vSzwn0Aw9UuMfUz2u','D3jPDgvgAwXL','Bwf4u25HChnOB3rcExrLCW','y291BNrLCG','zw50CMLLCW','yNvUlMXVy2S','C2v2zxjPDhK','wKfjx0fqsv9lrvK','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','DgvYBwLUyxrL','u25HChnOB3qGDgfNia','l2jPBI9ZAa','ygbG','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','ywrKsxnZDwu','r09pr0Xfx0ntrv9dwa','BNvTyMvY','ugfJA2fNzxm','y29ZDa','zNjVBq','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','D2LUzg93CW','B25uzxjTAw5HBevYCM9Y','vg9KBYa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','Dhj1BMm','yxnJAwK','igzHAwXLzcb0BYbJBg9Zzq','y2fSBeLK','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','BMfTzq','CMvZDwX0','BgfUzW','Bw9KzwW','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','vxbKyxrLvg9WAwm','AgLNAa','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','zMLSzq','ls1QC29U','rMv0y2GGDgLTzwqGB3v0','Bxv0yxrPB25Z','zgLZy292zxj5u3rHDgu','BgLTAxrZ','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','ihDHCYbYzwfKlG','z2XVyG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','lMPZ','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','mtaWlJy0lJaUma','C3jJl2fNzw50l2fNzw50lNrZ','BgLNAhq','zgf0zxrPBwu','z2v0vg9KB3m','C2v0','BgLZDa','yNvMzMvY','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','AxntywzLsw50zwDLCG','yMLVBwuUANnVBG','BM9Fy2HHBMDL','y3DK','CxvLC3rPB25Z','BgLUzq','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','ChjVy2vZC0DYB3vWswq','Dw1HC2S','AxnjBNrLz2vY','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','Aw5WDxrty2HLBwe','yw50AhjVCgLJ','y2XLyxi','te9dquXbufbeqvrb','BM9UBMvNyxrPDMu','BgLUzxm','mJq1CejQshDK','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','y2XVC2vbBgW','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','zMLSzvzLCNnPB25Z','igLZia','zNvSzMLSBgvK','AhLKCMf0zu1LDge','DxjP','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','DMvYC2LVBNncEvbHDgG','BwvKAxvT','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','DxrMoej5DgvZ','zgvSzxrLihn0yxj0tgLUzq','CgfYC2vjBNq','DhnJ','C25HChnOB3q','CgvYBwLZC2LVBKnSyxnZ','C3bSAxq','DhvYBMrVD24','CMfUzg9T','C3rHCNreAxi','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','zhvWBgLJyxrLx3rVzg9FAwrZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','mtaUmc4WlJa','Bwv0yq','B3jPz2LUvg9VBenHBgXjza','CMvZB2X2zq','CNvUswq','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','Aw5WDxq','yxjNDw1LBNrZ','zgvMyxvSDe9WDgLVBG','qwXSia','yNL0zxm','zgLYBMfTzq','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','AxntEw1IB2XPy0XPBMS','B2XSyw1H','CM93CW','yw55lwfSBg93zwq','C2TPBgXZ','D2fPDezVCLrLCM1PBMfS','v2vIu2vHCMnO','yMLYDgH0Aw1L','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','zgf0yq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','icHWAwqG','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','CMvKDwnL','DhLWzxnJCMLWDa','C2HLBgXjza','Aw5qCM9NCMvZCW','Cgf0DgvYBG','Dg9vChbLCKnHC2u','Ag9ZDa','BMv3rw5KtgLUzq','zMX1C2HtDhjLyw1Z','ru5pru5u','CNvUrxHJBhvZAxzL','twLJCM9ZB2z0','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','zw5NAw5L','rxjYB3i','CNvUsw5cywnRz3jVDw5K','z2L0qNjHBMnO','DgL0Bgu','yxbWzw5KrgvJB2rLza','sw52ywXPzcbVDxrWDxrszwDLEdOG','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','lMnTza','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','C3rKAw4','BhnW','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','zgvMyxvSDen3za','qgjPB21LANmVyMLVBwu','zMLUAxrL','Aw5JB21PBMDdywXSCW','lMPWzW','DMvYAwz5rxHLy3v0Aw9U','CxvLC3rPB24','y2fSBgjHy2TvCMW','zgLZCgXHEwvKtgLUzxm','zxHHy3q','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Aw52ywXPzf9Yyw5Nzq','Dg9Rzw4','Aw52ywXPzf90B2rVx2nVBNrLBNq','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','C3rHDhvZvgv4Da','vg9Vig1HBNKGCMvKAxjLy3rZ','B2zMC2v0','ChvIBgLZAgvKqxq','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zNvUy3rPB24','Aw5ZDhj1y3rPB25Z','AwzYyw1L','yMvHCMvY','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C2HPzNq','A2v5CW','uhjVy2vZCYa','l2jPBI9IyxnO','y29TCgXLDgvK','o1TExg5DkJ8','DgLTzvTKyxrLDgLTzv0','DwX0CMe','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','zgfZAa','tg9HzfnRAwXS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zgLYzwn0B3j5','l3vZCI9SB2nHBc9IAw4VCMC','ls1NBg9I','AxnfCNjVCG','lMPWzwC','yMLUzfnLC3nPB24','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','ywz0zxjuzxH0','Cg5WBs1SB2nRlNLHBwW','igj5DgvZicHVCMLNAw5HBdOG','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','zxHPDgvK','zgfYAW','C3rYDwn0DxjLza','y291BNq','r2XVyG','C2v0vg9WAwm','BgLUzuvUza','C3rKzxjYrgvJB2rLCG','Aw50zwDLCG','A2LSBfjLCxvLC3rLza','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','y2HHDgDWDa','C3rHCNrLzef0','lNDLyNa','Aw5Zzxj0igXPBMu','tM8GAg92zxiGAw5MB3jTyxrPB24','DxnLCM5HBwu','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CMvZzxj2zq','B2XKvgv4Da','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','l1bjra','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','zMLUywXSEq','yMfZzty0','CMvWBgfJzsbLBMrmAw5L','zgLNzxn0','lcbpChrPB24G','ChjVDg90ExbL','z3jHy2vMDwXszxf1zxn0zwq','Cg9W','C3rHDa','A2LSBa','BwnFy2LK','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','CMvUzgvYu3LZDgvTuhjVBxb0','BwfUDwfS','BMv3vgv4Da','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','ChjPB3jPDhK','B3b0Aw9UywW','z29Vz2XLq3nLs2v5','zMXHDe1HCa','CMvXDwLYzwq','zgvMyxvSDa','ywn0AxzL','AxrLBxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','zNjLzxPL','D2fYBG','C2nYAxb0','CMvSzwfZzq','C2H1DgrVD24','zxjYB3jnzxnZywDL','Dg9VBfjLC3vSDhm','Dgv4Dc9ODg1S','Aw5Zzxj0lMXPBMu','D29YA3nWywnLl3n5BwjVBa','DgHPBMTPBMC','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','yNvUlMXVy2TI','y29KzvzLCMLMAwvY','BwLUAw1HBa','qxnRvxnLCLrVB2W','Dg90ywXeCM9WCgvK','C3rHBgvFC25HChnOB3q6iezPBguG','vMLLD2vKigLTywDLigzPBgu6ia','ignOyxjZigrYB3bWzwrDcG','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','DgfZA2TPBgW','yxnR','yxv0Aa','CMvNAxn0zxjby3rPDMvbz2vUDa','C3vKBW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','B3b0Aw9UCW','y2f0y2G','BwnWlxnKAY1JBgLLBNqTzxjYB3i','zgvLCgLUzNjH','igLZig5VDcb2ywXPzcbvveyToc4','ChjLCgfYzunHBgXiAwvYyxjJAhK','B3bLBMfPlxjLC3bVBNnLCY13CW','lM1QCW','zgvSzxrLigvUzeXPBMu','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','uefusa','C2HHmJu2','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','CMvXDwvZDfrPBwvVDxrnCW','D29YA3nWywnLu3LTyM9S','tuLosu1bwf9bueLFs0vz','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','CMvNzxG','ig9WzxjHDgLVBNmU','yNjVA2vU','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','Aw1Hz2u','yxnPzgu','BMv3tgLUzunVDw50','B3nJ','A2LSBgvK','AxndB250zxH0','DhnZzxj2zxiUANm','l29WDc9OB21LyNjLDY9IAw4VCMC','ignVBNrHAw5Zie5vtcbIExrLCY4','uhjVz3jHBuzPBgvZkhG4nIK','DMvYAwzPzxi','y2XPzw50CW','DhvWBgu','CMvWBgfJzsbYyw5NzsbB','CMfJzq','C3rHBgvFC25HChnOB3q','ignOyxjHy3rLCNm','ls1MB2XSB3C','ig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYihbHDgnOlG','BgfUz18','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','DxrTx21LzgL1Bq','BM93','Dg9Rzw5Z','thnW','zw51Bq','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','qxbWBgLLzca','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','cMbGya','ywDLBNrZ','B3bLBMnVzguTz28','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','D3jPDgu','CMvZzxj2yxrPB25Z','CMvXDwLYzwrmAw5LCW','y29UDgv4DeXPBMS','CMLWz3jLCa','z2L0AhvI','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','Dg9KB3ncEvnLC3nPB24','yxbWzw5K','yMLVBwu','y29Kzq','DxrTx3nVDxjJzq','cGOTls0kcG','zgLZy292zxj5','ig1Z','y29UzMLYBwvK','ChjVy2vZCW','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','z2v0','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','B2zM','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','ywXSB3DLzerPCNm','BwnWxW','A2LTAq','Bg9VA3vW','zM9Yy2u','C3rHDgu','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','vw5HyMXLihrVihjLywqG','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','AwDUB3jL','ue9tva','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','zMLSzunVDw50','zxH0zw5ZAw9UCW','ndCXnZiXnLL6sg5KBW','AxnbCNjHEq','y2XPzw50twv0ywrHDgfvCMW','C3rKzxjY','Dg9VBa','BgfIzwW','Dg9ju09tDhjPBMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','yNL0zuXLBMD0Aa','y2XPzw50sw5MB3jTyxrPB24','y2XVC2u','ywXSB3DLzfrVB2XZ','mty1nJm4mNDtrKTMrW','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','BMv4DeXPBMvtDgfYDa','CgfJA2fNzs5QC29U','CMvWBgfJzs5ZDgfYDeXPBMu','zMXVB3i','C3bHD24','ihrPBwvKig91DcbHzNrLCIa','Aw1Hz2uVANbLzW','ie9sia','z29uB0rLzMLUAxrPB24','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Aw52ywXPzf90B3bPyW','zxHLyW','B3rOzxi','C2vHCMnOugfYyw1Z','y2fJAgvK','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','CgLK','B3v0Chv0qNvKz2v0qNL0zxm','v0vcua','B25szwrPCMvJDa','Dgf2AwX5','zMLSBa','zgvSzxrLq291BNq','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','u0Lhs0Lmta','t1bftLjpvvrfuL9bueLFs0vz','phn5C3rLBs1Yzw1PBMrLCJ4','r3jLCa','r09pr0Xfx0ntrv9lrvK','zw5JB2rL','Bw9Kzq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','AM9PBG','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','q0rqqvri','lI4U','CMvJzw5JEurHExm','CNvUBMLUzW','Ahr0Chm6','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','C2vZC2LVBKLK','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','B2jZzxj2yxrPB25Z','AxngAwXL','D2LUmZi','uMvHC29UAw5NigrLzMf1BhqGiG','AMf2yxnJCMLWDhjLywn0','tM8GzgLHz25VC3rPy3m','Aw5Zzxj0igXPBMuG','B3bLCMf0Aw9UCW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','ywrHChrPDMu','zgvSzxrLlMvUzeXPBMu','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','Aw5JBhvKzxm','y29UDgvUDa','C291CMnLrw5K','Aw50zxjUywXmAwzLy3LJBgu','y3jLyxrLzef0','lMjPBG','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','y3nP','Dg9VBfbLCM1PC3nPB25Z','Dg9Rzw5tDg9YywDLs2v5','DgLTzw91De1Z','BgfZDeLUzgv4t2y','Bwf4q29Uy3vYCMvUDa','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','ignVBxbSzxrLzc4','CMvJzw5JEq','C3rKB3v0','vw50AxrSzwq','ls1NBg9Ipq','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','ywnXDwLYzq','Aw5Zzxj0','Cg9ZAxG','zMLUza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Dhj1BMnHDgvK','Bwf4ugf0Ahm','B3v0y29Tzq','Cg9ZAxrPB24','C3rYAw5NAwz5','CMvHzen1CNnVCG','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','zgvSzwDHDgvKlxj1BI0','Ahr0Ca','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','CMvJB3jK','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','igzYB20G','tM8GC3vJAcbMAwXLoIaN','C3rYAw5N','Ec1HCgKTA2v5','BNv2Aw4','Dg9VBenHBgXjza','DhjHBNnMB3jTCW','Bwf0y2HdB3vUDa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','y29UzMLN','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','zgvZy3jPChrVCNm','mJiYnNn5DfvoyW','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','C2v0DgXLvgvYBwLUywW','yxjYyxK','Aw5PDgLHBgL6yxrPB24','BgLMzwn5y2XL','yxnZAwDU','yxbPs2v5','vg9WAwmGC2v0ihrVici','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','BwLU','CgfJA2fNzu5HBwu','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','ywz0zxi','BgLUzvrLEhq','DgvYBwLUyxrPB25qCM9TAxnL','CM9VDfbPza','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','C2LNBMfSqwrHChrLCG','uhvIBgLZAgvKoIa','vw5RBM93BIb0B29SoIa','Dg90ywXcExrLCW','C29YDa','CgfNzw1HCa','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','CMvWBgfJzs5LBMrmAw5L','AgvHzgvY','lMn0CW','zgvSzxrL','C2v0vg9KB3m','Aw1Hz2vZ','lMnQCW','C3rVCMfNzurPCG','CMvXDwvZDhm','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','DgvYBwLUywXtzxr0BgvK','Dg9WAwm','z29Vz2XLlwnZzq','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','z2v0u3rHDhm','y2HHCKnVzgvbDa','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','CMvMAw5L','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','Bg93','C291CMnLu3rHCNq','C2vYDMvYswq','lu5Vtg9NBW','C2vTyxbOB3jL','D29YA3nWywnL','CMvJB3jKtM9dAgfUz2u','z3jVAW','ywDLBNrjza','EwfYBI5SB2nR','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zw52','B3v0z29PBMDdywXSCW','BgLZDgvU','y29TBwfUzhm','Dg9KB3m','C3jJl3rVB2XZl2nVCMuVBw9JAY10B29Slxj1BNrPBwuUDhm','y2fUrgLZywjSzq','D2HLCMuGCMC','BwfW','Dw5RBM93BG','zw5HyMXLza','zgvSzxrLihjHBMDLifS','xqPgAwXLihDYAxr0zw4GyxqG','DMfSDwu','C3bSAwnL','Cgf0Aa','D2fPDezVCKrPywDUB3n0AwnZ','zw9S','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','EMfP','Bgv4AwnHBfbHDgG','yNvMzMvYq2HHCNm','Bg9JyxrPB24','y3vZDg9T','mtCYlJe2lJaUma','BgLUzu51BwjLCNm','zMv0y2HjBxbS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','zg9TywLUCW','DgfZAW','Bg9HzenVBw1HBMq','B2f1DgG','pc9ZExn0zw0TCMvTAw5Kzxi+','CgLWzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','r0LgodLH','y21KlMv4zq','y29KzvbVAw50qxq','ienHDxnLoIa','mtKYlJaUmc4W','zxf1ywXZ','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','Bw9VBNnOB3q','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','v2vIrMv0y2G','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','BgL0zxjHBa','v2fYBMLUzW','igj5DgvZlG','ywXSu2v0DgXLza','Aw52ywXPzf90B2rVx3n0yxr1CW','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','zgLZCg9Zzq','y3jSzG','sgLUDa','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','DxrTx2nVBNrLBNq','CNnZ','igj5DgvZ','C3bSAwnLsw5KzxG','rM91BMqG','mty5lJi1nc4WlJa','BgvUz3rO','Dg9VBenHBgW','C2L6zq','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','C2LNBMfS','igj5DgvZicH0B3rHBdOG','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','ksbB','yxrVBwLJv3jPDgu','y29UBMvJDa','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','BM9Kzv9TB2r1BgvZ','z29uB0LTCgXLBwvUDgf0Aw9U','BM9Zy3jPChq','BgLUzvn0yxj0','Dgf2AwX5qxbPs2v5','Cgf0y2G','CgXHAw50zxH0','yM94zwq','revfufnfruTFqvbjx0Tfwq','C3LTBgLUAW','BgLTAxq','u0HfteW','tunqihnLCNzLCIa','Dgv4Da','Aw1Hz2uVD2vICa','Aw50','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','lunVBw1HBMq','yxr4','zxHPDcbJB2rLia','DxbKyxrL','AxngAw5PDgu','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','BxvSDgLtzwXLy3q','BMv3u3rHCNrmAw5L','Aw52ywXPzf90B2rVx2LK','BNbT','BgLUzu51Bq','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','o1TE','ywXS','zM9Yy2vszxf1zxn0zwq','BhnWlxbYB3H5','rvnsq0G','yw5UB3rHDgLVBNm','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','BwnWlxrVB2WTy2fSBc1MywLSzwq','DgHLBG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zNjVBuvUDhjPzxm','zMLSzvbHDgG','C2vUze5VDgLMAwnHDgLVBG','C3rKAw8','B25LCNjVCG','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','s2LSBgvKia','qKftsf9ftLy','CgfJA2fNzxm','BgLZDfrVB2XZ','C3rHCNrZv2L0Aa','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','qwDLBNqGCNvUia','lMPZB24','y2XPzw50x3nLy3jLDf9WB3n0','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','C29Tzq','Dg9mB3DLCKnHC2u','yxnRvxnLCG','CMvZzxroB0nOyw5Nzq','DMfSDwvZ','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','C2fMzq','yMLUyxj5tMfTzq','yw5ZD2vYCW','zwzMB3j0','C3LZDgvTuhjVBxb0','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','CMvMCMvZAf90B2TLBG','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','mtKYlJe2oc4WlJa','DxrMoa','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','l2jPBI9YzW','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','BwvTB3j5','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','C2vUza','Aw52ywXPzf90B2rVx2L0zw0','AxnbyNnVBhv0zq','AgfZt3DU','DgvYBwLUywXqCM9TAxnL','D3jPDgvFzMfPBgvK','B2XKtgLUzunVDw50','Dg90ywXqCM9KDwnLza','y2fUB25Py2fS','B2jZzxj2zwrmAw5LCW','lMPZEa','DxrTx2nHBxbHAwDU','t1bftKnprevFqvbjx0Tfwq','s2LSBfnOzwXS','Dw5ZzwvUx2XPBMvZ','C291CMnL','mc4WlJa','zxHPDenVzgu','mJvzwM5ur2G','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','B2XKrw5KtgLUzq','C3rHDhvZ','zgnZ','DxjS','zxHPDa','B3v0Chv0uMvNzxG','uMvHC29UAw5Nig9WDgLVBIaI','C3rKB3v0rgvJB2rLCG','yxjNDw1LBNroyw1LCW','yMfZAa','Bg9HzfnRAwXS','B3v0Chv0','mty3nJC1nKXvuufeDW','DgvYBwLUyxrPBMC'];_0x3ec8=function(){return _0x2e6c39;};return _0x3ec8();}function prepareCanonicalFileEdit(_0x9e69ed,_0x125dd1,_0x497036){const _0x3f5ebc={_0x575f39:0x21d,_0x2d51fd:0xfd,_0xc0621b:0x590,_0x3f8489:0x4e2,_0x5b2012:0x6d1,_0x288a71:0x988,_0x22b82c:0x779,_0x2cf036:0x94d,_0x57e2f3:0x781},_0x5d7aa8={_0x382663:0x1a8},_0x26bdf1={_0x56a61f:0x1e9,_0x31b9e0:0x3},_0x13fbed=planOperations(_0x9e69ed,_0x497036);assertNoOverlaps(_0x13fbed);const _0x28db16=assertLinesObserved(_0x13fbed,_0x125dd1),_0x96168c=applyOperations(_0x9e69ed,_0x13fbed);if(_0x96168c===_0x9e69ed['text'])throw createAnchoredFileError(_0x55032a(0x234,_0x3f5ebc._0x575f39,0x5d,_0x3f5ebc._0x2d51fd),_0x4212b6(0x6fc,_0x3f5ebc._0xc0621b,_0x3f5ebc._0x3f8489,_0x3f5ebc._0x5b2012));function _0x55032a(_0x40d5f1,_0x5adc12,_0x495502,_0x47cc78){return _0x47b891(_0x40d5f1,_0x5adc12- -_0x26bdf1._0x56a61f,_0x495502-0x183,_0x47cc78-_0x26bdf1._0x31b9e0);}function _0x4212b6(_0x595c27,_0x5e0b2d,_0x5923a1,_0x191c06){return _0xe18bb0(_0x5923a1,_0x5e0b2d-0x609,_0x5923a1-_0x5d7aa8._0x382663,_0x191c06-0x1c3);}const _0xa15ea3=_0x13fbed[_0x4212b6(_0x3f5ebc._0x288a71,_0x3f5ebc._0x22b82c,_0x3f5ebc._0x2cf036,_0x3f5ebc._0x57e2f3)](_0x53fdaf=>_0x53fdaf['canonical']),_0x3da19f=computeFinalFileNewSideLines(_0x13fbed);return{'afterText':_0x96168c,'operations':_0xa15ea3,'blocks':_0x13fbed[_0x4212b6(0x6e5,_0x3f5ebc._0x22b82c,0x58b,0x665)]((_0x45ccff,_0x15602)=>{const {newStartLine:_0xac46f4,newEndLine:_0x3ccf77}=_0x3da19f[_0x15602];return buildBlock(_0x9e69ed,_0x45ccff,_0xac46f4,_0x3ccf77);}),'requiredLines':_0x28db16,'payloadDigest':sha256Bytes(stableStringify(_0xa15ea3))};}import _0x56c308 from'string-width';var EMPTY_FILE_MESSAGE=_0x47b891(0x4a7,0x445,0x549,0x4a6);function clampLine(_0x1920e3,_0x5c3556){const _0x2c6854={_0x421b4d:0x28e,_0x2fbf54:0x33f,_0x586cd4:0x327,_0x38e7e4:0x1e7},_0x5c7edb={_0x113c9f:0x13},_0x25f4ae={_0x4b474a:0x332};if(!Number[_0x3f64d7(_0x2c6854._0x421b4d,0x343,_0x2c6854._0x2fbf54,_0x2c6854._0x586cd4)](_0x1920e3))return 0x1;function _0x3f64d7(_0x265a8c,_0x413c47,_0x1461bb,_0x35dcd0){return _0x47b891(_0x1461bb,_0x35dcd0- -_0x25f4ae._0x4b474a,_0x1461bb-0x12a,_0x35dcd0-0x179);}function _0x47168e(_0x2757bc,_0x337406,_0xefca25,_0x484a47){return _0xe18bb0(_0x2757bc,_0x337406- -_0x5c7edb._0x113c9f,_0xefca25-0x9a,_0x484a47-0x16b);}return Math['max'](0x1,Math[_0x3f64d7(_0x2c6854._0x38e7e4,0x245,0x2ce,0x299)](Math['trunc'](_0x1920e3),_0x5c3556));}function formatAnchoredFileRead(_0x3d7852){const _0x129dee={_0x23f0e6:0x414,_0x4385cf:0x76c,_0x2b1137:0x748,_0x25cc46:0x869,_0x56c2a1:0x463,_0x5a7b5e:0x412,_0x350f50:0x4b2,_0x5c5cf3:0x542,_0x23c2fd:0x1ff,_0x4e451f:0x3a7,_0x59efea:0x3af,_0x6f7bba:0x153,_0x3cc1a5:0x29f,_0x3c8dbd:0x132,_0x3d1b92:0x277,_0x2f4010:0x1ae,_0x3eb93d:0x370,_0x24def3:0x11e,_0x3b4cd7:0x373,_0x64a133:0x820,_0x20003f:0x919,_0xf787a3:0x134,_0x4e6a88:0x1f8,_0x4c085a:0x3bd,_0x518f73:0x2d3,_0x375449:0xf6,_0x5034d6:0x11c,_0x3776c1:0x66,_0x4ec031:0x9a,_0x3e7408:0x7da},_0x5c1984={_0x49574b:0xd8},_0x2cd775={_0x173e0a:0xb},{displayPath:_0x5a597d,snapshot:_0x263119,maxBytes:_0x173299}=_0x3d7852;function _0x33abe5(_0x4c9e80,_0x44786b,_0x4d9d14,_0x2c7825){return _0x47b891(_0x4d9d14,_0x44786b- -0x2a0,_0x4d9d14-_0x2cd775._0x173e0a,_0x2c7825-0x156);}const _0x1650e9=_0x263119[_0x3478e7(0x5dd,0x5a7,_0x129dee._0x23f0e6,_0x129dee._0x4385cf)][_0x3478e7(_0x129dee._0x2b1137,0x7cb,_0x129dee._0x25cc46,0x7b0)],_0x28f003='['+_0x5a597d+'#'+_0x263119[_0x33abe5(0x473,0x4b7,0x3f8,_0x129dee._0x56c2a1)]+']\x0a',_0x30625d=Buffer[_0x33abe5(0x3ea,0x2a8,_0x129dee._0x5a7b5e,_0x129dee._0x350f50)](_0x28f003,_0x33abe5(0x5b6,0x3ed,_0x129dee._0x5c5cf3,0x4ae));if(_0x1650e9===0x0){const _0x157931=''+_0x28f003+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x157931,'displayedLines':[],'truncated':![]};}const _0x33e1d8=clampLine(_0x3d7852[_0x33abe5(_0x129dee._0x23c2fd,_0x129dee._0x4e451f,_0x129dee._0x59efea,0x461)]??0x1,_0x1650e9);function _0x3478e7(_0x2a954f,_0x33fb54,_0x313954,_0x52de54){return _0x47b891(_0x52de54,_0x33fb54-0x193,_0x313954-_0x5c1984._0x49574b,_0x52de54-0xc1);}const _0x36dd74=clampLine(_0x3d7852['lineEnd']??_0x1650e9,_0x1650e9),_0x454860=Math[_0x33abe5(0x268,0x32b,_0x129dee._0x6f7bba,_0x129dee._0x3cc1a5)](_0x33e1d8,_0x36dd74),_0x3aafdd=Math[_0x33abe5(-_0x129dee._0x3c8dbd,0xde,_0x129dee._0x3d1b92,_0x129dee._0x2f4010)](_0x33e1d8,_0x36dd74),_0x4b62e0=[],_0x5639b9=[];let _0x280c9b=_0x30625d;for(let _0x1c05e8=_0x454860;_0x1c05e8<=_0x3aafdd;_0x1c05e8+=0x1){const _0x2834a2=_0x1c05e8+':'+_0x263119['lines'][_0x1c05e8-0x1]+'\x0a',_0x460dcd=Buffer[_0x33abe5(_0x129dee._0x3eb93d,0x2a8,_0x129dee._0x24def3,_0x129dee._0x3b4cd7)](_0x2834a2,_0x3478e7(0x951,_0x129dee._0x64a133,0xa2f,_0x129dee._0x20003f)),_0x509859=_0x1c05e8+0x1,_0xcb67b1=Buffer['byteLength'](_0x33abe5(-0xa1,_0x129dee._0xf787a3,_0x129dee._0x4e6a88,0x1b4)+_0x509859+'.\x0a',_0x33abe5(_0x129dee._0x4c085a,0x3ed,0x5b2,0x42c));if(_0x280c9b+_0x460dcd+_0xcb67b1>_0x173299){const _0x3518e1='Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x1c05e8+'.\x0a';return{'output':''+_0x28f003+_0x4b62e0[_0x33abe5(0x25b,_0x129dee._0x518f73,_0x129dee._0x375449,0x3a1)]('')+_0x3518e1,'displayedLines':_0x5639b9,'lineStart':_0x454860,'lineEnd':_0x5639b9[_0x5639b9['length']-0x1],'truncated':!![],'nextLineStart':_0x1c05e8};}_0x4b62e0[_0x33abe5(0x1d9,_0x129dee._0x5034d6,-_0x129dee._0x3776c1,_0x129dee._0x4ec031)](_0x2834a2),_0x5639b9['push'](_0x1c05e8),_0x280c9b+=_0x460dcd;}return{'output':''+_0x28f003+_0x4b62e0[_0x3478e7(0x7b4,0x706,0x728,_0x129dee._0x3e7408)](''),'displayedLines':_0x5639b9,'lineStart':_0x454860,'lineEnd':_0x3aafdd,'truncated':![]};}function isWithinDisplayColumns(_0x9c1909,_0x57c969){return _0x56c308(_0x9c1909)<=_0x57c969;}import{randomUUID}from'crypto';import{chmod,rename,rm,writeFile as _0x43ca5e}from'fs/promises';import*as _0x234993 from'path';var defaultFileSystem={'writeFile':_0x43ca5e,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x596e67,_0x4a80d4,_0x573a14,_0x55b687){const _0x4c04cb={_0x3871e8:0x4f,_0x11cb56:0x4a5,_0x84ffb2:0x315,_0x3eed37:0x2c0,_0x4b1131:0x28a,_0x1aec3c:0x29b,_0x50bd78:0x3fd,_0x185f9f:0x380,_0x36f7b2:0x22f,_0x2457eb:0x5f4},_0x1972ec={_0x21f822:0x10d},_0x9140c8={_0x500d00:0x145,_0x133054:0x108};function _0x2f41e2(_0x36905e,_0x5da02d,_0x3e9e8e,_0x27eb69){return _0xe18bb0(_0x5da02d,_0x36905e-0x396,_0x3e9e8e-_0x9140c8._0x500d00,_0x27eb69-_0x9140c8._0x133054);}const _0x1d8240=_0x55b687??defaultFileSystem;function _0x570caa(_0x1efdc2,_0x2169b2,_0x2f92ef,_0x1776ff){return _0xe18bb0(_0x2169b2,_0x1efdc2-0x215,_0x2f92ef-0x1b2,_0x1776ff-_0x1972ec._0x21f822);}const _0x5c4efc=_0x234993[_0x570caa(0x1bf,-_0x4c04cb._0x3871e8,0x2f3,0x39)](_0x596e67),_0x1b6ed7=_0x234993[_0x2f41e2(0x478,_0x4c04cb._0x11cb56,_0x4c04cb._0x84ffb2,_0x4c04cb._0x3eed37)](_0x5c4efc,'.tmp.'+_0x234993[_0x2f41e2(_0x4c04cb._0x4b1131,0x248,0x252,0x354)](_0x596e67)+'.'+randomUUID()),_0xba1f1d=_0x573a14&0xfff;try{await _0x1d8240[_0x570caa(0x14c,0x46,-0xa7,0x29)](_0x1b6ed7,_0x4a80d4,{'mode':_0xba1f1d}),await _0x1d8240[_0x2f41e2(_0x4c04cb._0x1aec3c,_0x4c04cb._0x50bd78,_0x4c04cb._0x185f9f,_0x4c04cb._0x36f7b2)](_0x1b6ed7,_0xba1f1d),await _0x1d8240[_0x2f41e2(0x5f2,_0x4c04cb._0x2457eb,0x707,0x5f8)](_0x1b6ed7,_0x596e67);}finally{await _0x1d8240['rm'](_0x1b6ed7,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x4fe6c3,_0x2c0e42){const _0x27f925={_0xcb69ba:0x9e,_0x305dc0:0x8,_0x39f788:0x1bd},_0x361301={_0x10f7ec:0x8b},_0x216737={_0x1571bc:0x51b,_0x3c65f3:0x31};function _0x13f734(_0x3a8d50,_0x1a0974,_0x21e9cf,_0x11093a){return _0xe18bb0(_0x1a0974,_0x11093a-_0x216737._0x1571bc,_0x21e9cf-_0x216737._0x3c65f3,_0x11093a-0x107);}function _0x24010a(_0x315d22,_0x2e1fe0,_0x1de8c1,_0xc4f0cb){return _0x47b891(_0x315d22,_0x2e1fe0- -0x3a2,_0x1de8c1-0x140,_0xc4f0cb-_0x361301._0x10f7ec);}throw createAnchoredFileError(_0x24010a(-_0x27f925._0xcb69ba,_0x27f925._0x305dc0,-0x135,0x1f),_0x2c0e42+'\x20'+_0x4fe6c3+_0x24010a(0x454,0x3af,_0x27f925._0x39f788,0x2f2),{'path':_0x4fe6c3});}function createNormalizedFileSnapshot(_0x3861d4,_0x35ea86,_0x1e2857){const _0x4e60c1={_0x458caf:0x4d,_0x15b80e:0x7e,_0x5df3b1:0x5b5,_0xda79aa:0x55a,_0x207321:0x3a5,_0x4fa3bc:0x346,_0xd1b6df:0x2ea,_0x103491:0x29,_0xbfde4c:0x3d,_0x40de65:0x1fe,_0x296930:0x331,_0x40cef8:0x744,_0x2f7ccf:0x4ae,_0x4e3291:0x5a1,_0x4fe747:0xf5,_0x12b090:0x45,_0x4087ae:0x5e1,_0x410117:0x468,_0xdae077:0x40a,_0x5d8887:0x544,_0x3357b6:0x54d,_0x53044f:0x5ef,_0x508741:0x697,_0x1a2d06:0x6b8,_0x332961:0x102,_0x559d9d:0x364,_0x14d961:0x2ba,_0x30d1bc:0x2f1,_0x121abb:0x343,_0x57e425:0x4d3,_0x1e9cd0:0x555,_0x23b29e:0x48a,_0x436fdc:0x361,_0x1f31ad:0x37,_0x30c606:0x18d,_0x2cabbf:0x24a,_0x4a011e:0x181,_0x546210:0xf3,_0xc3ff8a:0x1ec,_0x357d2b:0x22d,_0x11654a:0x16b,_0x14046a:0x28b,_0xe58d02:0x1b4},_0x381801={_0x12ddaa:0x448},_0x57eaf8={_0x325c67:0x1c8};Buffer[_0x32a3b2(-0xfe,0x1f,_0x4e60c1._0x458caf,_0x4e60c1._0x15b80e)](_0x35ea86)['includes'](0x0)&&exactReplacementGuidance(_0x3861d4,_0x32a3b2(_0x4e60c1._0x5df3b1,_0x4e60c1._0xda79aa,0x40e,_0x4e60c1._0x207321)+_0x3861d4+_0x32a3b2(_0x4e60c1._0x4fa3bc,_0x4e60c1._0xd1b6df,0x24b,0x1a6));let _0x304956;function _0x32a3b2(_0x3ac969,_0x1b331d,_0x1d8397,_0x237b1d){return _0x47b891(_0x3ac969,_0x237b1d- -0x35c,_0x1d8397-_0x57eaf8._0x325c67,_0x237b1d-0x1c1);}try{_0x304956=utf8Decoder[_0x32a3b2(_0x4e60c1._0x103491,-0x1d2,-0x16,_0x4e60c1._0xbfde4c)](_0x35ea86);}catch{exactReplacementGuidance(_0x3861d4,_0x32a3b2(_0x4e60c1._0x40de65,0x336,0x3c4,0x3a5)+_0x3861d4+_0x32a3b2(0x382,0x24b,_0x4e60c1._0x296930,0x18b));}const _0x3cd2d6=_0x304956[_0x565338(_0x4e60c1._0x40cef8,_0x4e60c1._0x2f7ccf,0x62e,_0x4e60c1._0x4e3291)](0x0)===0xfeff;if(_0x3cd2d6)_0x304956=_0x304956[_0x32a3b2(-0x190,0xa,_0x4e60c1._0x4fe747,_0x4e60c1._0x12b090)](0x1);const _0x1d1fac=_0x304956[_0x565338(_0x4e60c1._0x4087ae,_0x4e60c1._0x410117,_0x4e60c1._0xdae077,_0x4e60c1._0x5d8887)]('\x0d\x0a'),_0x10c54a=/(?<!\r)\n/[_0x565338(0x539,_0x4e60c1._0x3357b6,0x510,0x688)](_0x304956);_0x1d1fac&&_0x10c54a&&exactReplacementGuidance(_0x3861d4,_0x565338(0x678,_0x4e60c1._0x53044f,_0x4e60c1._0x508741,_0x4e60c1._0x1a2d06)+_0x3861d4+_0x32a3b2(_0x4e60c1._0x332961,_0x4e60c1._0x559d9d,_0x4e60c1._0x14d961,0x253));const _0x2c027f=_0x1d1fac?_0x32a3b2(_0x4e60c1._0x30d1bc,0x4ac,0x304,0x2d3):'lf',_0x43077d=_0x1d1fac?_0x304956[_0x32a3b2(0x4d2,_0x4e60c1._0x121abb,0x537,0x3f8)](/\r\n/g,'\x0a'):_0x304956,_0x1fd5ae=_0x43077d[_0x32a3b2(_0x4e60c1._0x57e425,_0x4e60c1._0x1e9cd0,_0x4e60c1._0x23b29e,_0x4e60c1._0x436fdc)]('\x0a'),_0x551411=_0x43077d===''?[]:_0x43077d['split']('\x0a')[_0x32a3b2(_0x4e60c1._0x1f31ad,-_0x4e60c1._0x30c606,0x151,0x45)](0x0,_0x1fd5ae?-0x1:void 0x0),_0x23c9ce=sha256Bytes(_0x43077d);function _0x565338(_0xed65bd,_0x1ac0c0,_0x3f2d34,_0x5aa6dd){return _0xe18bb0(_0x1ac0c0,_0x5aa6dd-_0x381801._0x12ddaa,_0x3f2d34-0x142,_0x5aa6dd-0x16d);}const _0x2bd683=_0x23c9ce['slice'](0x0,0xc)[_0x32a3b2(0x2ea,_0x4e60c1._0x2cabbf,_0x4e60c1._0x4a011e,_0x4e60c1._0x546210)]();return{'canonicalPath':_0x3861d4,'text':_0x43077d,'lines':_0x551411,'finalNewline':_0x1fd5ae,'bom':_0x3cd2d6,'eol':_0x2c027f,'digest':_0x23c9ce,'tag':_0x2bd683,'utf8Bytes':Buffer[_0x32a3b2(0x18c,0x39,-0xb,_0x4e60c1._0xc3ff8a)](_0x43077d,'utf8'),'recordedAt':_0x1e2857??Date[_0x32a3b2(_0x4e60c1._0x357d2b,_0x4e60c1._0x11654a,_0x4e60c1._0x14046a,_0x4e60c1._0xe58d02)]()};}function serializeNormalizedFile(_0x3399f0,_0x5ce23f){const _0x56156b={_0x106d84:0x7b,_0x372a23:0x3f,_0x2d8098:0x11,_0x158821:0x2c1,_0x274d1c:0x315,_0x4eaa69:0xdc,_0x4901ba:0x1da,_0x185606:0x15e,_0x30b7e8:0x24e,_0x118e37:0x158,_0x2a7e2b:0x217,_0x28482c:0x31e},_0x2df19b={_0x2c5ffd:0xb5},_0x18005b=_0x5ce23f[_0x54c128(_0x56156b._0x106d84,-_0x56156b._0x372a23,-_0x56156b._0x2d8098,0x255)]==='crlf'?_0x3399f0[_0x4defdc(_0x56156b._0x158821,0x1f7,_0x56156b._0x274d1c,0x4cd)](/\n/g,'\x0d\x0a'):_0x3399f0;function _0x54c128(_0x445504,_0x2cbc69,_0x271585,_0xc1e7c9){return _0xe18bb0(_0xc1e7c9,_0x445504- -0xfe,_0x271585-0xe6,_0xc1e7c9-0x18f);}function _0x4defdc(_0x51ddcc,_0x29227d,_0x3d8504,_0x5a08ae){return _0x47b891(_0x29227d,_0x3d8504- -0x43f,_0x3d8504-0x1a6,_0x5a08ae-_0x2df19b._0x2c5ffd);}const _0x172986=Buffer[_0x4defdc(-_0x56156b._0x4eaa69,0x181,-0x65,0x3d)](_0x18005b,_0x4defdc(_0x56156b._0x4901ba,_0x56156b._0x185606,_0x56156b._0x30b7e8,_0x56156b._0x118e37));return _0x5ce23f['bom']?Buffer[_0x4defdc(0x1ee,_0x56156b._0x2a7e2b,_0x56156b._0x28482c,0x279)]([Buffer['from']([0xef,0xbb,0xbf]),_0x172986]):_0x172986;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x41ddcc){const _0x3aaf9d={_0x541571:0x615,_0x5a7e3f:0x55b,_0x1bb9d2:0x585,_0x14d242:0x4c2},_0x1e6c6e={_0xd8e8fa:0x536,_0xe94edc:0x1b1,_0x3b1b61:0xd4};function _0x92d568(_0x58842f,_0x4e5a3c,_0x367399,_0x113f5c){return _0xe18bb0(_0x367399,_0x113f5c-0x4a5,_0x367399-0x107,_0x113f5c-0x1d);}function _0x329a27(_0x476c90,_0x15255e,_0x351457,_0x36094d){return _0xe18bb0(_0x476c90,_0x36094d-_0x1e6c6e._0xd8e8fa,_0x351457-_0x1e6c6e._0xe94edc,_0x36094d-_0x1e6c6e._0x3b1b61);}return textEncoder[_0x329a27(0x818,0x80a,0x63b,_0x3aaf9d._0x541571)](_0x41ddcc)[_0x92d568(_0x3aaf9d._0x5a7e3f,_0x3aaf9d._0x1bb9d2,_0x3aaf9d._0x14d242,0x64c)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x47b891(0x50e,0x6e0,0x708,0x8b5),'properties':{'operation':{'type':'string','enum':[_0xe18bb0(0x38b,0x2c3,0xbd,0x384)]},'startLine':{'type':_0x47b891(0x442,0x3d7,0x21a,0x32a)},'endLine':{'type':_0xe18bb0(0x1e,-0xba,-0xec,-0x110)},'content':{'type':_0x47b891(0x59e,0x5b7,0x3cc,0x52c)}},'required':[_0xe18bb0(0x1cc,0x23d,0x73,0x38),_0x47b891(0x69b,0x704,0x569,0x50a),'endLine','content'],'additionalProperties':![]},deleteOperationSchema={'type':'object','properties':{'operation':{'type':'string','enum':[_0xe18bb0(0x1bb,0x14d,0x1c4,0x249)]},'startLine':{'type':_0x47b891(0x455,0x3d7,0x1d8,0x4ce)},'endLine':{'type':_0xe18bb0(-0x25e,-0xba,-0x248,-0x220)}},'required':['operation','startLine','endLine'],'additionalProperties':![]},insertOperationSchema={'type':_0xe18bb0(0x35b,0x24f,0x3e5,0x2c3),'properties':{'operation':{'type':_0xe18bb0(0x304,0x126,0x256,-0x50),'enum':[_0xe18bb0(0x5e,0x112,0x1ff,0x204)]},'position':{'type':_0x47b891(0x573,0x5b7,0x4df,0x6b3),'enum':['before',_0xe18bb0(0x1cc,0x13e,0x159,-0x36)]},'line':{'type':_0x47b891(0x47f,0x3d7,0x336,0x4f5)},'content':{'type':_0xe18bb0(0x12,0x126,0xe9,0x112)}},'required':[_0xe18bb0(0x427,0x23d,0x2a2,0x237),_0x47b891(0x431,0x5ac,0x73e,0x717),_0xe18bb0(0xc2,-0x88,0x45,-0x289),'content'],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x47b891(0x899,0x6e0,0x577,0x5c7),'properties':{'filePath':{'type':'string'},'tag':{'type':_0x47b891(0x654,0x5b7,0x40d,0x7c4)},'description':{'type':_0x47b891(0x55f,0x5b7,0x697,0x4a6)},'operations':{'type':_0x47b891(0x6fc,0x5c4,0x6dd,0x765),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x47b891(0x73d,0x744,0x772,0x87a)}},'required':[_0x47b891(0x4d0,0x66f,0x47f,0x6fd),'tag','operations'],'additionalProperties':![]};function requireValidLineNumber(_0x769d32,_0x237d56){const _0xe7aa99={_0x5c2670:0x890,_0x9af2e8:0x976};function _0x4dc9e4(_0x568b47,_0x468f61,_0x5c6f1e,_0xa699a6){return _0xe18bb0(_0x468f61,_0x568b47-0x496,_0x5c6f1e-0x17a,_0xa699a6-0x138);}function _0x2201b6(_0x58fd9f,_0x40c659,_0x155635,_0x48fef1){return _0xe18bb0(_0x48fef1,_0x155635-0x45,_0x155635-0x146,_0x48fef1-0x141);}if(!Number['isSafeInteger'](_0x769d32)||_0x769d32<0x1)throw createAnchoredFileError(_0x4dc9e4(0x771,0x8ef,_0xe7aa99._0x5c2670,_0xe7aa99._0x9af2e8),_0x237d56+_0x2201b6(0xfd,-0x87,0xec,0x285)+String(_0x769d32)+'.');}function parseStructuredFileEditInput(_0x1f75ae){const _0x5586d8={_0x21eeab:0xe4,_0x17951d:0x9b,_0x43db66:0xa3,_0x27c318:0x13,_0x4ff094:0x21c,_0x312952:0x178,_0x4fff50:0x13,_0x48b18a:0x283,_0x32109b:0x348,_0x536878:0x49d,_0x1180b6:0x4f2,_0x325e8f:0x43a,_0x278a80:0x5dd,_0x519ce2:0xe,_0x422ef8:0x6a,_0x418dca:0x178,_0x228ba4:0x509,_0x2d2bd5:0x28a,_0x215b92:0x23,_0x192b88:0x11e,_0x125c41:0x1e5,_0x240dd5:0x2a,_0x3495e6:0x2fc,_0x112f83:0x3b0,_0x52a955:0x467,_0x4ad066:0x4fe,_0x422078:0x83,_0x5f5d0c:0x25,_0x2a5f61:0x12b,_0x4381ed:0x23d,_0x1aa60d:0x8b,_0x4b2dfb:0xa7,_0x1b0509:0x58,_0x5c58d4:0x1b0,_0x38a368:0xc6,_0x11a2ad:0x284,_0x11a2dc:0x3de,_0x32201c:0x298,_0x43574e:0x363,_0x377eec:0x374,_0x303d8f:0x263,_0xcd6089:0x394,_0x3e135e:0x431,_0x876395:0x3e7,_0x48a0b2:0xd6,_0x540f74:0x69,_0x326e29:0xd7,_0x557f5a:0x1d7,_0x123299:0x21d,_0x5c1ad1:0x160,_0x2d034f:0xb8,_0x45b4cc:0x3d7,_0x4ac277:0xe,_0x7cd9af:0x6c,_0x1e2bc7:0x20d,_0x1cea0f:0x431,_0x571756:0x29a,_0x5670bb:0x32a,_0x292634:0x414,_0x4235e8:0xce,_0x5c24b7:0x15a,_0x6154b5:0x9d,_0x4e8bc3:0x1a,_0x5ba225:0xcc,_0x9a8af4:0xa3,_0xd18259:0x60,_0x3d54cf:0x3bb,_0x1971c5:0x1cf,_0x5cc400:0x17f,_0x3a2f1a:0x103,_0x52c3da:0xb8,_0x2acdc8:0x210,_0x35a70b:0x3a,_0x5825ea:0x71,_0x66cd9d:0x3cf,_0x1350af:0x3d7,_0x506d84:0x29e,_0x492030:0x249,_0xa82002:0x32,_0x4ad979:0xf1,_0x4ba71b:0xfd,_0x91b157:0x467,_0x272a34:0x42d,_0x3f6809:0x1bd,_0x129d58:0x67,_0x3de505:0x8f,_0x146f6f:0x1e3},_0x2d9731={_0x126110:0x1a1,_0x355666:0xf9,_0x48065b:0x68},_0x451598={_0x20b4cd:0xe1,_0x4ac486:0x73},_0x1a9f01=_0x1f75ae;if(_0x1a9f01!==null&&typeof _0x1a9f01===_0x5cf1c1(0x14a,0x6d,_0x5586d8._0x21eeab,0x16e)&&!Array['isArray'](_0x1a9f01)&&Array['isArray'](_0x1a9f01[_0x5cf1c1(0x1ed,_0x5586d8._0x17951d,-_0x5586d8._0x43db66,_0x5586d8._0x27c318)])&&_0x1a9f01[_0x5cf1c1(-0x171,_0x5586d8._0x4ff094,_0x5586d8._0x312952,_0x5586d8._0x4fff50)][_0x1e8aaa(0x32d,_0x5586d8._0x48b18a,_0x5586d8._0x32109b,0x4d5)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x1e8aaa(0x344,_0x5586d8._0x536878,0x47c,0x538),_0x1e8aaa(0x58f,_0x5586d8._0x1180b6,_0x5586d8._0x325e8f,0x527)+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x469927;try{_0x469927=validateToolInput(_0x1f75ae,structuredFileEditInputSchema);}catch(_0x442cb3){const _0xd5237e=_0x442cb3 instanceof Error?_0x442cb3['message']:String(_0x442cb3);throw createAnchoredFileError(_0x1e8aaa(0x68a,_0x5586d8._0x278a80,0x47c,0x422),_0x5cf1c1(-_0x5586d8._0x519ce2,_0x5586d8._0x422ef8,-0x96,-_0x5586d8._0x418dca)+_0xd5237e);}function _0x5cf1c1(_0x43df11,_0x4e66ce,_0x375f27,_0x370ba7){return _0xe18bb0(_0x375f27,_0x370ba7- -_0x451598._0x20b4cd,_0x375f27-0xe1,_0x370ba7-_0x451598._0x4ac486);}if(!TAG_PATTERN[_0x1e8aaa(_0x5586d8._0x228ba4,0x2c5,0x3e1,0x226)](_0x469927[_0x5cf1c1(_0x5586d8._0x2d2bd5,-_0x5586d8._0x215b92,_0x5586d8._0x192b88,_0x5586d8._0x125c41)]))throw createAnchoredFileError('invalid_patch',_0x5cf1c1(_0x5586d8._0x240dd5,0xe5,_0x5586d8._0x3495e6,0x204)+_0x469927[_0x1e8aaa(_0x5586d8._0x112f83,0x4e8,_0x5586d8._0x52a955,_0x5586d8._0x4ad066)]+'\x27.');if(_0x469927['operations'][_0x5cf1c1(_0x5586d8._0x422078,-0x112,-_0x5586d8._0x5f5d0c,0xc6)]===0x0)throw createAnchoredFileError(_0x5cf1c1(_0x5586d8._0x2a5f61,0x3cb,_0x5586d8._0x4381ed,0x1fa),'At\x20least\x20one\x20anchored\x20operation\x20is\x20required.');function _0x1e8aaa(_0x584310,_0xc0b4b,_0x138c21,_0x3904c0){return _0xe18bb0(_0xc0b4b,_0x138c21-_0x2d9731._0x126110,_0x138c21-_0x2d9731._0x355666,_0x3904c0-_0x2d9731._0x48065b);}if(_0x469927[_0x5cf1c1(_0x5586d8._0x1aa60d,0x118,_0x5586d8._0x4b2dfb,0x13)][_0x5cf1c1(_0x5586d8._0x1b0509,_0x5586d8._0x5c58d4,0x199,_0x5586d8._0x38a368)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError('invalid_patch','At\x20most\x20'+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x12d3ef=0x0;const _0xacb6fc=[];for(const _0x4d8b5e of _0x469927[_0x1e8aaa(0xad,0x1ac,0x295,_0x5586d8._0x11a2ad)]){switch(_0x4d8b5e[_0x1e8aaa(0x1eb,0x439,_0x5586d8._0x11a2dc,0x55b)]){case'replace':{requireValidLineNumber(_0x4d8b5e[_0x5cf1c1(_0x5586d8._0x32201c,0x1bc,0x21b,0x192)],_0x1e8aaa(_0x5586d8._0x43574e,_0x5586d8._0x377eec,_0x5586d8._0x303d8f,0x20d)),requireValidLineNumber(_0x4d8b5e[_0x1e8aaa(0x220,_0x5586d8._0xcd6089,_0x5586d8._0x3e135e,_0x5586d8._0x876395)],_0x5cf1c1(-_0x5586d8._0x48a0b2,0x111,-0x13b,_0x5586d8._0x540f74));if(_0x4d8b5e['startLine']>_0x4d8b5e['endLine'])throw createAnchoredFileError(_0x5cf1c1(0x1a7,0xe5,0x146,0x1fa),_0x5cf1c1(_0x5586d8._0x1b0509,-_0x5586d8._0x326e29,_0x5586d8._0x557f5a,0x4d));_0x12d3ef+=utf8Bytes(_0x4d8b5e[_0x1e8aaa(0x177,0x3d0,0x29e,0x15e)]);if(_0x12d3ef>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x5cf1c1(0x26f,_0x5586d8._0x123299,0x122,0xca)+MAX_ANCHORED_CONTENT_BYTES+_0x5cf1c1(0x1cf,0x1d3,_0x5586d8._0x5c1ad1,_0x5586d8._0x2d034f));_0xacb6fc['push']({'operation':'replace','startLine':_0x4d8b5e['startLine'],'endLine':_0x4d8b5e[_0x1e8aaa(0x543,_0x5586d8._0x45b4cc,0x431,0x32f)],'content':_0x4d8b5e[_0x5cf1c1(-_0x5586d8._0x4ac277,-0x73,0x1a8,0x1c)]});break;}case _0x5cf1c1(-0x3d,-0x77,-0x6,_0x5586d8._0x7cd9af):{requireValidLineNumber(_0x4d8b5e['startLine'],_0x5cf1c1(_0x5586d8._0x1e2bc7,_0x5586d8._0x4ac277,0x3ad,0x1f0)),requireValidLineNumber(_0x4d8b5e[_0x1e8aaa(0x259,0x433,_0x5586d8._0x1cea0f,0x50c)],_0x1e8aaa(0x253,0x8a,_0x5586d8._0x571756,_0x5586d8._0x5670bb));if(_0x4d8b5e[_0x1e8aaa(0x4ac,0x3b8,_0x5586d8._0x292634,0x4f1)]>_0x4d8b5e['endLine'])throw createAnchoredFileError(_0x1e8aaa(0x542,0x5e6,0x47c,0x432),_0x5cf1c1(_0x5586d8._0x4235e8,_0x5586d8._0x5c24b7,_0x5586d8._0x6154b5,_0x5586d8._0x4e8bc3));_0xacb6fc[_0x1e8aaa(0x1f1,-0x56,_0x5586d8._0x5ba225,-0x8d)]({'operation':_0x1e8aaa(0x33f,0x3e3,0x2ee,0x204),'startLine':_0x4d8b5e['startLine'],'endLine':_0x4d8b5e['endLine']});break;}case'insert':{requireValidLineNumber(_0x4d8b5e['line'],_0x5cf1c1(-0x218,-0xe0,0x134,-_0x5586d8._0x9a8af4)),_0x12d3ef+=utf8Bytes(_0x4d8b5e[_0x5cf1c1(0xd,-_0x5586d8._0xd18259,-0x38,0x1c)]);if(_0x12d3ef>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x1e8aaa(0x2d8,0x649,0x47c,_0x5586d8._0x3d54cf),_0x5cf1c1(_0x5586d8._0x1971c5,-0x56,-0x134,0xca)+MAX_ANCHORED_CONTENT_BYTES+_0x5cf1c1(-0x11e,_0x5586d8._0x5cc400,-_0x5586d8._0x3a2f1a,_0x5586d8._0x52c3da));_0xacb6fc['push']({'operation':'insert','position':_0x4d8b5e[_0x5cf1c1(0x51,_0x5586d8._0x2acdc8,0x131,_0x5586d8._0x35a70b)],'line':_0x4d8b5e[_0x5cf1c1(-0x174,-0xb2,-_0x5586d8._0x5825ea,-0x169)],'content':_0x4d8b5e[_0x1e8aaa(_0x5586d8._0x66cd9d,_0x5586d8._0x1350af,_0x5586d8._0x506d84,0x38c)]});break;}}}return{'filePath':_0x469927[_0x5cf1c1(_0x5586d8._0x492030,_0x5586d8._0xa82002,-_0x5586d8._0x4ad979,_0x5586d8._0x4ba71b)],'tag':_0x469927[_0x1e8aaa(0x49c,0x37f,_0x5586d8._0x91b157,_0x5586d8._0x272a34)],'operations':_0xacb6fc,'dryRun':_0x469927[_0x5cf1c1(0x399,_0x5586d8._0x3f6809,-0x34,0x1d4)]??![],..._0x469927[_0x5cf1c1(-0x2d8,0x9,-0x392,-0x1e3)]!==void 0x0?{'description':_0x469927[_0x5cf1c1(-_0x5586d8._0x129d58,-0x219,-_0x5586d8._0x3de505,-_0x5586d8._0x146f6f)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/,REPLACE=/^PUT ([1-9]\d*)\.=([1-9]\d*):$/,INSERT=/^PUT ([<>])([1-9]\d*):$/,DELETE=/^CUT ([1-9]\d*)\.=([1-9]\d*)$/,textEncoder2=new TextEncoder();function utf8Bytes2(_0x444f67){const _0x36584f={_0x4bd115:0x75d,_0x5d2746:0x8bd},_0xcb5f9a={_0x2434a8:0x8e};function _0x46a93d(_0x134bee,_0x57dc58,_0x4d4973,_0x2b0cc3){return _0xe18bb0(_0x4d4973,_0x134bee-0x5b6,_0x4d4973-0x1ab,_0x2b0cc3-_0xcb5f9a._0x2434a8);}return textEncoder2['encode'](_0x444f67)[_0x46a93d(_0x36584f._0x4bd115,0x6ed,_0x36584f._0x5d2746,0x788)];}function preview(_0x57fbe0){const _0x121086={_0x4f953d:0x49b,_0x5b537c:0x30b,_0x451565:0x3a1,_0x49b954:0x406},_0x7a65ad={_0x4b69e5:0x100},_0x4d7bb9={_0x248626:0x491};function _0x334d35(_0x20f229,_0x4ae3a5,_0x533a30,_0x534af3){return _0xe18bb0(_0x533a30,_0x534af3-_0x4d7bb9._0x248626,_0x533a30-0x25,_0x534af3-0xe);}function _0x15ceae(_0x33a5c2,_0x571998,_0x56f74d,_0x5c108a){return _0xe18bb0(_0x56f74d,_0x33a5c2-0x186,_0x56f74d-0x12c,_0x5c108a-_0x7a65ad._0x4b69e5);}return _0x57fbe0['length']>0x3c?_0x57fbe0[_0x334d35(_0x121086._0x4f953d,0x397,_0x121086._0x5b537c,_0x121086._0x451565)](0x0,0x3c)+_0x334d35(0x4b6,0x53f,_0x121086._0x49b954,0x576):_0x57fbe0;}var hashlineFileEditInputSchema={'type':_0xe18bb0(0x24a,0x24f,0x33b,0x31b),'properties':{'patch':{'type':_0xe18bb0(0x252,0x126,0x2af,0x330)},'description':{'type':'string'},'dryRun':{'type':_0x47b891(0x6f0,0x744,0x871,0x6ac)}},'required':[_0xe18bb0(0x90,0x1b8,0x315,0x10b)],'additionalProperties':![]};function requireLineNumber(_0x5298d1,_0x4397c6){const _0xe3da85={_0x192e5a:0x899,_0x47fe51:0x7ab,_0x3d6ebf:0x627,_0x1bcf3c:0x745,_0x30b143:0x55c,_0x528412:0x62d},_0x366912={_0x33a62b:0x69,_0x4316b5:0x3e};function _0x3374d5(_0x5a8299,_0x4e9d6b,_0x56037d,_0x485a59){return _0x47b891(_0x4e9d6b,_0x56037d-0x1c1,_0x56037d-0x18b,_0x485a59-0x1c);}if(_0x5298d1[_0x1acea5(0x6ad,_0xe3da85._0x192e5a,_0xe3da85._0x47fe51,0x6a1)]>0x10)throw createAnchoredFileError(_0x1acea5(_0xe3da85._0x3d6ebf,_0xe3da85._0x1bcf3c,0x9b6,0x7d5),_0x4397c6+'\x20exceeds\x20the\x20safe-integer\x20range.');function _0x1acea5(_0x16ded8,_0x22254e,_0x4e6df0,_0x42c313){return _0x47b891(_0x16ded8,_0x42c313-_0x366912._0x33a62b,_0x4e6df0-0x2d,_0x42c313-_0x366912._0x4316b5);}const _0x52fb64=Number(_0x5298d1);if(!Number[_0x1acea5(_0xe3da85._0x30b143,0x471,0x42c,0x46d)](_0x52fb64)||_0x52fb64<0x1)throw createAnchoredFileError('invalid_patch',_0x4397c6+_0x3374d5(0x832,_0xe3da85._0x528412,0x6f9,0x4f6)+_0x5298d1+'.');return _0x52fb64;}function parseHashlineFileEditInput(_0x3cb3e9){const _0x2a22c1={_0x3e72d5:0x202,_0x186336:0x4fb,_0x5ac882:0x380,_0x52d34d:0x411,_0x50f7c1:0x387,_0x14774d:0x3d8,_0x1cdd6a:0x448,_0x5b9f2f:0x5c7,_0xf7156d:0x18d,_0x19d5d6:0x33b,_0x574360:0x4ff,_0x20db38:0x333,_0x2ee111:0x245,_0x40bba5:0x1bb,_0x51ff2c:0x1f7,_0x3f6c0f:0x280,_0x5c729a:0x1d,_0x139dd4:0x3e3,_0x4ea477:0x120,_0x46b4f9:0x24c,_0x3893d3:0x510,_0x3eac3c:0x426,_0x41a860:0x5c6,_0x2c1ea3:0x2f2,_0x45cbb0:0x25a,_0x557bb0:0x14f,_0x2f5deb:0x51a,_0x47755b:0x555,_0x23e009:0x2df,_0x19d404:0x2bb,_0x1d0217:0x402,_0x5e4040:0x30b,_0x5670c0:0x25c,_0x2107c8:0x66e,_0x4dfca3:0x51a,_0xeef651:0x47d,_0x1a5413:0x308,_0x281764:0x83,_0x2bd931:0x291,_0x5eb0f4:0xb7,_0x52681f:0x14e,_0x4eedea:0x35,_0x46abf3:0x1b7,_0x45a5bb:0x2e7,_0x1b13f0:0x2c8,_0x3470d9:0x3aa,_0x45964a:0x1e1,_0x4f738d:0x2f5,_0x366945:0x11a,_0x2a0772:0x1d1,_0x2ec4ce:0x2e8,_0x54477e:0x284,_0x76626e:0xff,_0x4a0c1e:0x9c,_0x210597:0x4c3,_0x4204bf:0x33a,_0x1ce006:0x29e,_0x49c788:0x1df,_0x2c2f36:0x12,_0xa9407a:0x1f2,_0x18fd68:0x3cb,_0xad49c6:0x51a,_0x20bcd2:0x5f5,_0x15d7df:0x337,_0x149353:0x2ee,_0x38a9e0:0x551,_0x9281bd:0x520,_0x6bd36a:0x51a,_0x33e452:0x16a,_0x3df9cb:0x332,_0x2412bc:0x155,_0x1776bf:0x151,_0x5698bd:0x5d,_0x166e97:0xb8},_0x115b6a={_0x2cfb93:0x252,_0x1a96b1:0xc4,_0x4b2089:0x111},_0x369459={_0x52772e:0x9e,_0x49edd9:0x1d2,_0x41c209:0x26,_0x3814ca:0x218,_0x5ea930:0x69,_0x3b6ecd:0x1ba,_0x3ca409:0x1fc,_0x179246:0x19d,_0x2b7575:0x188,_0x45b887:0x281,_0x265193:0x9,_0x5179b8:0xb9,_0x319242:0xf7},_0x3d9433={_0x39d179:0x162},_0x1f3a83={_0x28dbdd:0x1cd,_0x169fd6:0x2a9},_0x579d6b={_0x2a5d60:0x944,_0x21be62:0x84b,_0x395bb8:0x16b,_0x35a58a:0x226,_0x368ad3:0x5f,_0x160db1:0x24d,_0x370f77:0x32b},_0x1c7559={_0x19ef04:0x195};let _0x5656c5;function _0x47ffa9(_0x4e963b,_0x3acd28,_0x3e7471,_0x2b8057){return _0xe18bb0(_0x4e963b,_0x3e7471-0xa5,_0x3e7471-_0x1c7559._0x19ef04,_0x2b8057-0xc1);}try{_0x5656c5=validateToolInput(_0x3cb3e9,hashlineFileEditInputSchema);}catch(_0x13b419){const _0x507907=_0x13b419 instanceof Error?_0x13b419['message']:String(_0x13b419);throw createAnchoredFileError(_0x47ffa9(_0x2a22c1._0x3e72d5,0x3e5,0x380,_0x2a22c1._0x186336),'Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x507907);}const {patch:_0x27ced0}=_0x5656c5;if(utf8Bytes2(_0x27ced0)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x47ffa9(0x230,0x1e1,_0x2a22c1._0x5ac882,0x3b0),_0x47ffa9(_0x2a22c1._0x52d34d,_0x2a22c1._0x50f7c1,0x3a1,0x586)+MAX_ANCHORED_CONTENT_BYTES+_0x55e0fc(0x589,_0x2a22c1._0x14774d,_0x2a22c1._0x1cdd6a,_0x2a22c1._0x5b9f2f));if(_0x27ced0[_0x55e0fc(_0x2a22c1._0xf7156d,_0x2a22c1._0x19d5d6,0x318,0x321)]('\x0d'))throw createAnchoredFileError(_0x47ffa9(_0x2a22c1._0x574360,_0x2a22c1._0x20db38,0x380,0x1f4),_0x47ffa9(0x25e,0x381,_0x2a22c1._0x2ee111,_0x2a22c1._0x40bba5));const _0xc5b105=_0x27ced0[_0x55e0fc(_0x2a22c1._0x51ff2c,0x1d6,_0x2a22c1._0x3f6c0f,_0x2a22c1._0x5c729a)]('\x0a'),_0x1137d6=[],_0x3e671b=_0x454ee8=>{const _0x435c4a={_0x4f8792:0xbf,_0x5b697b:0x42a},_0x563a35={_0x5935d4:0x29f,_0x3bb40f:0x4b};function _0x3ad1ad(_0x10edc4,_0x18799c,_0x2f15fe,_0x5a622d){return _0x55e0fc(_0x10edc4-0xa6,_0x10edc4- -_0x563a35._0x5935d4,_0x2f15fe-_0x563a35._0x3bb40f,_0x5a622d);}function _0x422825(_0x13fbb2,_0x5ebb91,_0x26a3f5,_0x335995){return _0x55e0fc(_0x13fbb2-_0x435c4a._0x4f8792,_0x26a3f5-_0x435c4a._0x5b697b,_0x26a3f5-0x28,_0x5ebb91);}if(_0x1137d6['length']>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x422825(0x79c,0x7d6,_0x579d6b._0x2a5d60,_0x579d6b._0x21be62),_0x3ad1ad(0x239,0x437,0x407,_0x579d6b._0x395bb8)+MAX_ANCHORED_OPERATIONS+_0x3ad1ad(0x1b,_0x579d6b._0x35a58a,-0xb1,_0x579d6b._0x368ad3));_0x1137d6[_0x3ad1ad(-0x135,-_0x579d6b._0x160db1,-0xa5,-_0x579d6b._0x370f77)](_0x454ee8);};let _0x5f48a0,_0x71ada7,_0x8788a5=![],_0x191ebc=![],_0x4ed639,_0x2cf23f,_0x2af456=0x0,_0x3dbad6=0x0,_0x24e896=[];const _0x2b8212=()=>{if(!_0x191ebc)return;function _0x354d20(_0x1fd733,_0x42ddea,_0x41673b,_0x49c239){return _0x55e0fc(_0x1fd733-_0x1f3a83._0x28dbdd,_0x49c239-_0x1f3a83._0x169fd6,_0x41673b-0x11f,_0x41673b);}function _0x4b0524(_0x31db46,_0x58dbc8,_0x49580d,_0x34ecae){return _0x47ffa9(_0x34ecae,_0x58dbc8-0x78,_0x31db46- -0x1ae,_0x34ecae-_0x3d9433._0x39d179);}if(_0x24e896[_0x4b0524(_0x369459._0x52772e,0x1c,0x219,-0x7)]===0x0)throw createAnchoredFileError(_0x4b0524(_0x369459._0x49edd9,_0x369459._0x41c209,_0x369459._0x3814ca,0x1cf),_0x4b0524(-0xd5,-0x182,-_0x369459._0x5ea930,-0x59));const _0x520384=_0x24e896['join']('\x0a');_0x4ed639===_0x4b0524(_0x369459._0x3b6ecd,_0x369459._0x3ca409,_0x369459._0x179246,_0x369459._0x2b7575)?_0x3e671b({'operation':_0x4b0524(0x1ba,0xac,_0x369459._0x45b887,0x1c7),'startLine':_0x2af456,'endLine':_0x3dbad6,'content':_0x520384}):_0x3e671b({'operation':_0x4b0524(_0x369459._0x265193,-_0x369459._0x5179b8,0xcb,_0x369459._0x319242),'position':_0x2cf23f,'line':_0x2af456,'content':_0x520384}),_0x191ebc=![],_0x24e896=[];};for(const _0x516bef of _0xc5b105){if(_0x516bef[_0x47ffa9(_0x2a22c1._0x139dd4,_0x2a22c1._0x4ea477,_0x2a22c1._0x46b4f9,0x8e)]===0x0)continue;if(_0x191ebc&&_0x516bef[_0x55e0fc(_0x2a22c1._0x3893d3,_0x2a22c1._0x3eac3c,_0x2a22c1._0x41a860,_0x2a22c1._0x2c1ea3)]('+')){_0x24e896[_0x55e0fc(0x24d,0x16a,0x5b,0x95)](_0x516bef[_0x55e0fc(_0x2a22c1._0x45cbb0,_0x2a22c1._0x557bb0,0x10d,0x14a)](0x1));continue;}_0x2b8212();if(!_0x8788a5){const _0x5e6b63=HEADER['exec'](_0x516bef);if(_0x5e6b63===null)throw createAnchoredFileError(_0x55e0fc(0x5db,_0x2a22c1._0x2f5deb,0x41b,_0x2a22c1._0x47755b),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');_0x5f48a0=_0x5e6b63[0x1],_0x71ada7=_0x5e6b63[0x2],_0x8788a5=!![];continue;}const _0x296cfa=REPLACE[_0x55e0fc(0x25e,0x30b,_0x2a22c1._0x23e009,_0x2a22c1._0x19d404)](_0x516bef);if(_0x296cfa!==null){const _0x3beb2d=requireLineNumber(_0x296cfa[0x1],_0x47ffa9(_0x2a22c1._0x1d0217,0x31d,_0x2a22c1._0x5e4040,0x124)),_0x58305b=requireLineNumber(_0x296cfa[0x2],_0x55e0fc(0x3f1,_0x2a22c1._0x5670c0,0x18e,_0x2a22c1._0x46b4f9));if(_0x3beb2d>_0x58305b)throw createAnchoredFileError(_0x55e0fc(_0x2a22c1._0x2107c8,_0x2a22c1._0x4dfca3,0x458,_0x2a22c1._0xeef651),_0x47ffa9(_0x2a22c1._0x1a5413,_0x2a22c1._0x281764,0x1d3,0x2d));_0x191ebc=!![],_0x4ed639='replace',_0x2af456=_0x3beb2d,_0x3dbad6=_0x58305b,_0x24e896=[];continue;}const _0x5b1ff4=INSERT['exec'](_0x516bef);if(_0x5b1ff4!==null){const _0x14ddf8=requireLineNumber(_0x5b1ff4[0x2],_0x47ffa9(0x6a,_0x2a22c1._0x2bd931,_0x2a22c1._0x5eb0f4,_0x2a22c1._0x52681f));_0x191ebc=!![],_0x4ed639=_0x47ffa9(0x3c1,-_0x2a22c1._0x4eedea,_0x2a22c1._0x46abf3,0x314),_0x2cf23f=_0x5b1ff4[0x1]==='<'?_0x47ffa9(0x17f,0x4c5,_0x2a22c1._0x45a5bb,_0x2a22c1._0x1b13f0):'after',_0x2af456=_0x14ddf8,_0x24e896=[];continue;}const _0x3adca0=DELETE[_0x55e0fc(_0x2a22c1._0x3470d9,_0x2a22c1._0x5e4040,_0x2a22c1._0x45964a,_0x2a22c1._0x4f738d)](_0x516bef);if(_0x3adca0!==null){const _0x1b84fb=requireLineNumber(_0x3adca0[0x1],_0x55e0fc(_0x2a22c1._0x366945,_0x2a22c1._0x2a0772,_0x2a22c1._0x2ec4ce,0x1f2)),_0x1fbfb7=requireLineNumber(_0x3adca0[0x2],_0x47ffa9(0x238,_0x2a22c1._0x54477e,_0x2a22c1._0x76626e,_0x2a22c1._0x4a0c1e));if(_0x1b84fb>_0x1fbfb7)throw createAnchoredFileError(_0x47ffa9(0x57a,0x22a,_0x2a22c1._0x5ac882,0x4dd),_0x55e0fc(_0x2a22c1._0x210597,_0x2a22c1._0x4204bf,0x1ac,_0x2a22c1._0x1ce006));_0x3e671b({'operation':_0x47ffa9(_0x2a22c1._0x49c788,_0x2a22c1._0x2c2f36,_0x2a22c1._0xa9407a,_0x2a22c1._0x18fd68),'startLine':_0x1b84fb,'endLine':_0x1fbfb7});continue;}throw createAnchoredFileError(_0x55e0fc(0x3a8,_0x2a22c1._0xad49c6,_0x2a22c1._0x20bcd2,_0x2a22c1._0x15d7df),'Unsupported\x20Hashline\x20row:\x20'+preview(_0x516bef));}_0x2b8212();if(!_0x8788a5)throw createAnchoredFileError(_0x47ffa9(0x411,_0x2a22c1._0x149353,0x380,0x358),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0x1137d6[_0x55e0fc(0x464,0x3e6,0x50f,_0x2a22c1._0x38a9e0)]===0x0)throw createAnchoredFileError(_0x55e0fc(_0x2a22c1._0x9281bd,_0x2a22c1._0x6bd36a,0x366,0x507),_0x55e0fc(_0x2a22c1._0x33e452,0x29b,0x458,0x472));function _0x55e0fc(_0x29d8f1,_0x48784c,_0x1fd084,_0x2ad0fc){return _0x47b891(_0x2ad0fc,_0x48784c- -_0x115b6a._0x2cfb93,_0x1fd084-_0x115b6a._0x1a96b1,_0x2ad0fc-_0x115b6a._0x4b2089);}return{'filePath':_0x5f48a0,'tag':_0x71ada7,'operations':_0x1137d6,'dryRun':_0x5656c5['dryRun']??![],..._0x5656c5[_0x55e0fc(-0x41,0x13d,_0x2a22c1._0x3df9cb,0xa1)]!==void 0x0?{'description':_0x5656c5[_0x47ffa9(-_0x2a22c1._0x2412bc,_0x2a22c1._0x1776bf,-_0x2a22c1._0x5698bd,-_0x2a22c1._0x166e97)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x3f477e from'path';function isPathInside(_0x182b1f,_0x3c8c86){const _0x2b88ed={_0x4b4b7f:0xf5,_0x5301cb:0x1e9,_0x14efe2:0x1c9,_0x25ac4c:0x5ac,_0x14338c:0x66d,_0x128b5e:0x84b,_0x4a7bc1:0x606,_0x10021e:0x76b},_0x4b6941={_0x4aeba3:0xe},_0x5eb488={_0x42ebce:0xda};function _0x2f398f(_0x26e76f,_0x1c0bab,_0x4efbe2,_0x61e4fc){return _0xe18bb0(_0x26e76f,_0x61e4fc-0x567,_0x4efbe2-0x18f,_0x61e4fc-_0x5eb488._0x42ebce);}function _0x1c2a9b(_0x484c3f,_0x4fa786,_0x449f8a,_0xdf9005){return _0x47b891(_0xdf9005,_0x484c3f- -0x33d,_0x449f8a-0x1c,_0xdf9005-_0x4b6941._0x4aeba3);}const _0x58f306=_0x3f477e[_0x1c2a9b(_0x2b88ed._0x4b4b7f,0x2e5,_0x2b88ed._0x5301cb,_0x2b88ed._0x14efe2)](_0x182b1f),_0x15db97=_0x3f477e[_0x2f398f(0x450,_0x2b88ed._0x25ac4c,_0x2b88ed._0x14338c,0x462)](_0x58f306,_0x3c8c86);return _0x15db97===''||!_0x15db97['startsWith']('..')&&!_0x3f477e[_0x2f398f(_0x2b88ed._0x128b5e,_0x2b88ed._0x4a7bc1,0x8be,_0x2b88ed._0x10021e)](_0x15db97);}function resolveWorkspacePath(_0x1e1407,_0x3efca2){return resolveAllowedPath(_0x1e1407,[],_0x3efca2);}function resolveAllowedPath(_0xadf469,_0x11cc20,_0x26fd62){const _0x3b53b6={_0x50caff:0x4b2,_0xd075a2:0x5e7,_0x5ab118:0x5bb,_0x3b4138:0x48d,_0x24ee45:0xfc,_0x246950:0x100,_0x2303cf:0xb3,_0x636cac:0x110,_0x4daa0b:0x130,_0x1b3029:0x58e,_0x311ef9:0x52d,_0x3cdf49:0x75d},_0x27ba7a={_0x5317e5:0x54e,_0x208780:0x142,_0x326a9e:0x103},_0x47ea52={_0x1efa5b:0x511},_0x2b9ca5=_0x3f477e[_0x48807d(_0x3b53b6._0x50caff,0x539,_0x3b53b6._0xd075a2,_0x3b53b6._0x5ab118)](_0xadf469),_0x22043e=_0x3f477e[_0x48807d(0x4b2,0x5ce,_0x3b53b6._0x3b4138,0x561)](_0x2b9ca5,_0x26fd62);function _0x48807d(_0x227fd3,_0x906aa2,_0x539eb1,_0x554bca){return _0xe18bb0(_0x539eb1,_0x227fd3-_0x47ea52._0x1efa5b,_0x539eb1-0x117,_0x554bca-0x8c);}const _0x33b3e2=[_0x2b9ca5,..._0x11cc20[_0xf6677b(0x257,_0x3b53b6._0x24ee45,_0x3b53b6._0x246950,_0x3b53b6._0x2303cf)](_0x4d0477=>_0x3f477e[_0x48807d(0x4b2,0x337,0x638,0x483)](_0x4d0477))];if(_0x33b3e2[_0xf6677b(_0x3b53b6._0x636cac,0x2ab,0x1e0,_0x3b53b6._0x4daa0b)](_0x20e746=>isPathInside(_0x20e746,_0x22043e)))return _0x22043e;function _0xf6677b(_0x1f2289,_0x595bba,_0x1ee290,_0x2ab760){return _0x47b891(_0x595bba,_0x2ab760- -_0x27ba7a._0x5317e5,_0x1ee290-_0x27ba7a._0x208780,_0x2ab760-_0x27ba7a._0x326a9e);}throw new ToolExecutionError(_0x48807d(_0x3b53b6._0x1b3029,_0x3b53b6._0x311ef9,_0x3b53b6._0x3cdf49,0x385)+_0x26fd62,{'path':_0x26fd62,'rootDir':_0x2b9ca5,'allowedDirs':_0x33b3e2});}async function resolveCanonicalAllowedFile(_0x1481df,_0x469617,_0x5f1725){const _0x4bb793={_0x5184d6:0x2a3,_0x151e65:0x368,_0xcd3a49:0x243,_0x1b3c12:0x100,_0x5675fc:0x2ef,_0x33be69:0xc9,_0x1d2f1a:0x281,_0x3fa58c:0x41b},_0xdd539e={_0x22154e:0x104,_0x43f92a:0xdc};function _0x14720f(_0x2d3f06,_0x32bc7d,_0x4bf6d6,_0x3b5d84){return _0x47b891(_0x32bc7d,_0x2d3f06- -0x43b,_0x4bf6d6-0x18d,_0x3b5d84-0xf7);}const _0x3bc3c8=resolveAllowedPath(_0x1481df,_0x469617,_0x5f1725),_0xbfe98e=await realpath(_0x3bc3c8),_0xea14d1=[];for(const _0xe4f00 of[_0x1481df,..._0x469617]){try{_0xea14d1[_0x24edd9(-_0x4bb793._0x5184d6,-0x1d9,-0x1a5,-_0x4bb793._0x151e65)](await realpath(_0xe4f00));}catch{}}if(!_0xea14d1[_0x14720f(_0x4bb793._0xcd3a49,_0x4bb793._0x1b3c12,0x1f6,_0x4bb793._0x5675fc)](_0x268aa5=>isPathInside(_0x268aa5,_0xbfe98e)))throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x5f1725,{'path':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e,'allowedDirs':_0xea14d1});const _0x3d6bc8=await stat(_0xbfe98e);if(!_0x3d6bc8[_0x14720f(0x144,0x84,-_0x4bb793._0x33be69,-0x1d)]())throw new ToolExecutionError(_0x14720f(_0x4bb793._0x1d2f1a,_0x4bb793._0x3fa58c,0x19f,0x73)+_0x5f1725,{'path':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e});function _0x24edd9(_0x1a3f3b,_0x4d7a54,_0x1fa95f,_0x46c2e9){return _0xe18bb0(_0x1fa95f,_0x4d7a54- -_0xdd539e._0x22154e,_0x1fa95f-_0xdd539e._0x43f92a,_0x46c2e9-0xb0);}return{'authoredPath':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e};}async function assertWorkspaceFile(_0x509213){const _0x3cda57={_0xa897:0xaf,_0x79bb87:0x14d,_0x5d1e2e:0xff,_0x168755:0x76a},_0x32d92d={_0x18a8a2:0xae,_0x1b87a6:0xd0};function _0x5374c1(_0x4e9d0d,_0x4bdc6c,_0x3e9ba9,_0x2b10f5){return _0x47b891(_0x4e9d0d,_0x2b10f5- -0x480,_0x3e9ba9-0x4b,_0x2b10f5-0x114);}function _0x4d7564(_0x2b055e,_0x51b411,_0x4a393b,_0x1544ea){return _0x47b891(_0x4a393b,_0x1544ea-_0x32d92d._0x18a8a2,_0x4a393b-_0x32d92d._0x1b87a6,_0x1544ea-0x113);}const _0x430667=await stat(_0x509213);if(!_0x430667[_0x5374c1(_0x3cda57._0xa897,_0x3cda57._0x79bb87,-0x15,_0x3cda57._0x5d1e2e)]())throw new ToolExecutionError(_0x4d7564(0x770,0x75f,0x7ff,_0x3cda57._0x168755)+_0x509213,{'path':_0x509213});}function isProbablyBinary(_0x4edbae){const _0x3f3a2d={_0x539f0e:0x696},_0x298926={_0x4e2fa0:0x59a,_0x332716:0xd1,_0x25089e:0x14f};function _0x511610(_0x2ae6af,_0x3c1d62,_0xdfad00,_0x287558){return _0xe18bb0(_0x2ae6af,_0x3c1d62-_0x298926._0x4e2fa0,_0xdfad00-_0x298926._0x332716,_0x287558-_0x298926._0x25089e);}return _0x4edbae[_0x511610(0x71f,_0x3f3a2d._0x539f0e,0x72a,0x4d5)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x7e5d1b=>_0x31666b(_0x7e5d1b),'stat':_0x55eef6=>_0x5249bb(_0x55eef6),'atomicWrite':(_0x35d3fc,_0x86e0d0,_0x494136)=>atomicReplaceFile(_0x35d3fc,_0x86e0d0,_0x494136)};function parseAnchoredInput(_0x32f512,_0x317e8f){const _0x3fd1fb={_0x4467e6:0x22,_0xc49ed:0xef,_0x594809:0x13a},_0x28c0a5={_0x1757fa:0x174};if(_0x32f512===_0xeef59f(-0xa0,-_0x3fd1fb._0x4467e6,_0x3fd1fb._0xc49ed,-_0x3fd1fb._0x594809))return parseHashlineFileEditInput(_0x317e8f);function _0xeef59f(_0x4e5778,_0x537c8f,_0x127251,_0x403dcc){return _0x47b891(_0x127251,_0x4e5778- -0x456,_0x127251-0x12d,_0x403dcc-_0x28c0a5._0x1757fa);}return parseStructuredFileEditInput(_0x317e8f);}function stableStringify2(_0x3e9fb0){const _0x2c3121={_0x5b5869:0x1b8,_0x3fbe59:0x2bc,_0x5dc276:0xf,_0x23fe53:0xe2,_0x3aff32:0xa1},_0x3b3e77={_0x135282:0x1c1},_0x4ea568={_0x20aa3d:0xea};function _0x217ee3(_0x2fb21b,_0x4668d2,_0x5e5a1a,_0x36f37c){return _0xe18bb0(_0x4668d2,_0x2fb21b- -0x97,_0x5e5a1a-0xb4,_0x36f37c-_0x4ea568._0x20aa3d);}if(Array['isArray'](_0x3e9fb0))return'['+_0x3e9fb0[_0x217ee3(0xd9,0x219,-0x4b,0x14e)](stableStringify2)['join'](',')+']';function _0x38b0d0(_0x594c82,_0x451b4c,_0x5b3da6,_0x5536bc){return _0x47b891(_0x5b3da6,_0x451b4c- -0x24,_0x5b3da6-0x1c8,_0x5536bc-_0x3b3e77._0x135282);}if(_0x3e9fb0!==null&&typeof _0x3e9fb0===_0x217ee3(_0x2c3121._0x5b5869,_0x2c3121._0x3fbe59,0x3b0,0x261)){const _0x1448a9=_0x3e9fb0;return'{'+Object[_0x217ee3(-0xa9,_0x2c3121._0x5dc276,-0x118,-_0x2c3121._0x23fe53)](_0x1448a9)['sort']()['map'](_0x4abb04=>JSON[_0x217ee3(0x85,-0xe8,-0x87,0xaa)](_0x4abb04)+':'+stableStringify2(_0x1448a9[_0x4abb04]))['join'](',')+'}';}return JSON[_0x217ee3(0x85,_0x2c3121._0x3aff32,0x9,0xdf)](_0x3e9fb0);}function normalizeOperationContent(_0xb52200){const _0x533bb3={_0x500233:0x401,_0x4e7653:0x481,_0x54f962:0x180,_0x924c81:0x1b5,_0x15266a:0xf0,_0x5716f0:0x208,_0x217c66:0x2e4,_0x3d68b5:0x2ad,_0x464843:0x15c,_0x1255bb:0x4,_0x1f589e:0x163,_0x21abda:0x243,_0x554ec3:0x23,_0x3a8db2:0x10c,_0x229a7e:0x282},_0x3c870a={_0x15a283:0x1c4,_0x2c4482:0x11b,_0x43e720:0x1b3},_0x38b84e={_0x8c7bda:0x1e2,_0x11d0f5:0xf5};function _0x5aef5b(_0x1ec0ae,_0xcea63a,_0x2cabfc,_0x2f208d){return _0xe18bb0(_0x2f208d,_0x2cabfc- -0x10e,_0x2cabfc-_0x38b84e._0x8c7bda,_0x2f208d-_0x38b84e._0x11d0f5);}if(_0xb52200[_0x39ac64(0x318,0x2e9,_0x533bb3._0x500233,_0x533bb3._0x4e7653)]===_0x5aef5b(_0x533bb3._0x54f962,0x254,_0x533bb3._0x924c81,_0x533bb3._0x15266a)||_0xb52200[_0x39ac64(_0x533bb3._0x5716f0,_0x533bb3._0x217c66,0x401,_0x533bb3._0x3d68b5)]===_0x5aef5b(-0x1e7,_0x533bb3._0x464843,_0x533bb3._0x1255bb,-0xea))return{..._0xb52200,'content':_0xb52200[_0x39ac64(0x1c0,_0x533bb3._0x1f589e,0x2c1,_0x533bb3._0x21abda)][_0x5aef5b(-_0x533bb3._0x554ec3,_0x533bb3._0x3a8db2,0x1b5,_0x533bb3._0x229a7e)](/\r\n/g,'\x0a')};function _0x39ac64(_0x3a445c,_0x4668a3,_0x214f73,_0x731cfa){return _0xe18bb0(_0x731cfa,_0x214f73-_0x3c870a._0x15a283,_0x214f73-_0x3c870a._0x2c4482,_0x731cfa-_0x3c870a._0x43e720);}return _0xb52200;}function computePayloadDigest(_0x162739){const _0x48d2c9={_0x2d4fbf:0x251,_0x58e554:0x2da,_0x2823a1:0x554},_0x5a2740={_0x25dc80:0x260,_0x22e6f9:0xf0};function _0x3fcd05(_0x46f455,_0x1dba45,_0x3bd98f,_0x18bbbd){return _0x47b891(_0x3bd98f,_0x46f455- -_0x5a2740._0x25dc80,_0x3bd98f-_0x5a2740._0x22e6f9,_0x18bbbd-0x79);}return sha256Bytes(stableStringify2(_0x162739[_0x3fcd05(0x3a1,_0x48d2c9._0x2d4fbf,_0x48d2c9._0x58e554,_0x48d2c9._0x2823a1)](normalizeOperationContent)));}function collectRequiredLines(_0x4824a9){const _0x5decb8={_0x114e4d:0x493,_0x5f04c0:0x5fc,_0x141279:0x509,_0x15db26:0x78d,_0x8dcdc9:0x84b,_0x14649e:0x478,_0x3574b5:0x3b4,_0x884f0d:0x3ad,_0x32c538:0x4fe,_0xb47196:0x78d,_0x4c2536:0x966,_0x1a13ad:0x8cf,_0x4ed22c:0x7e5},_0x4e650d={_0x4d42f1:0x6f,_0x31c4e1:0xde};function _0x1ea87f(_0x486574,_0x35db60,_0x32f0c4,_0x3a6c79){return _0x47b891(_0x35db60,_0x486574-_0x4e650d._0x4d42f1,_0x32f0c4-_0x4e650d._0x31c4e1,_0x3a6c79-0x175);}const _0x1a9ddf=new Set();for(const _0xfc7fc3 of _0x4824a9){if(_0xfc7fc3['operation']===_0x204d9f(_0x5decb8._0x114e4d,0x39b,_0x5decb8._0x5f04c0,_0x5decb8._0x141279))_0x1a9ddf[_0x1ea87f(_0x5decb8._0x15db26,_0x5decb8._0x8dcdc9,0x5e9,0x6f1)](_0xfc7fc3[_0x1ea87f(_0x5decb8._0x14649e,_0x5decb8._0x3574b5,0x649,_0x5decb8._0x884f0d)]);else for(let _0x5a6dce=_0xfc7fc3['startLine'];_0x5a6dce<=_0xfc7fc3[_0x204d9f(0x611,0x68c,0x70a,_0x5decb8._0x32c538)];_0x5a6dce+=0x1){_0x1a9ddf[_0x1ea87f(_0x5decb8._0xb47196,_0x5decb8._0x4c2536,_0x5decb8._0x1a13ad,_0x5decb8._0x4ed22c)](_0x5a6dce);}}function _0x204d9f(_0x3a73f0,_0x2d9828,_0x19cc36,_0x2b4299){return _0xe18bb0(_0x2d9828,_0x3a73f0-0x381,_0x19cc36-0x1d4,_0x2b4299-0xdb);}return[..._0x1a9ddf]['sort']((_0x6fa6ed,_0x44ebf8)=>_0x6fa6ed-_0x44ebf8);}async function resolveEditTarget(_0x521411,_0x2f32db,_0x142f1b){const _0x3eef21={_0x4cc668:0x8e5,_0x1f8872:0x91f,_0x50488e:0x85c,_0x35385d:0x7a0,_0xdd00f0:0x8b1},_0x518630={_0x542912:0x690},_0x2f7b98={_0x5ae8fe:0x1a1};function _0x199799(_0x66efbf,_0x223b19,_0x402590,_0x1b5ead){return _0xe18bb0(_0x66efbf,_0x223b19-0x135,_0x402590-_0x2f7b98._0x5ae8fe,_0x1b5ead-0x194);}function _0x5e5c35(_0x485e67,_0x3c530a,_0x2a5e63,_0x51e521){return _0xe18bb0(_0x51e521,_0x485e67-_0x518630._0x542912,_0x2a5e63-0x8f,_0x51e521-0x169);}try{return await resolveCanonicalAllowedFile(_0x521411,_0x2f32db,_0x142f1b);}catch(_0x3d5de2){if(_0x3d5de2 instanceof ToolExecutionError)throw _0x3d5de2;const _0x1896c2=_0x3d5de2 instanceof Error?_0x3d5de2[_0x5e5c35(_0x3eef21._0x4cc668,_0x3eef21._0x1f8872,0xa36,_0x3eef21._0x50488e)]:String(_0x3d5de2);throw createAnchoredFileError(_0x5e5c35(0x5a9,0x440,0x5e8,_0x3eef21._0x35385d),'unknown_snapshot:\x20Unable\x20to\x20read\x20'+_0x142f1b+_0x5e5c35(0x773,0x6b8,_0x3eef21._0xdd00f0,0x94d)+_0x1896c2+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x142f1b});}}async function readLiveSnapshot(_0x589f07,_0x57e8df){const _0x3ae256={_0x1c6cc4:0x43b,_0x3c4818:0x439,_0x139fb8:0x3b5,_0x3c479f:0x26f},_0x4b3096={_0x5cf5ec:0x494},_0x9cd32c={_0x67e141:0x2ab,_0x24663f:0x63,_0x313d51:0x1de};let _0x33b513;try{_0x33b513=await _0x31666b(_0x589f07);}catch(_0x3c8fc4){const _0x336004=_0x3c8fc4 instanceof Error?_0x3c8fc4[_0x1fd604(_0x3ae256._0x1c6cc4,0x3e9,0x45c,_0x3ae256._0x3c4818)]:String(_0x3c8fc4);throw createAnchoredFileError('unknown_snapshot',_0x1fd604(0x2f0,0x4b6,_0x3ae256._0x139fb8,_0x3ae256._0x3c479f)+_0x57e8df+'\x20for\x20an\x20anchored\x20snapshot\x20('+_0x336004+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x57e8df});}function _0x1fd604(_0x34e5a5,_0x6a227d,_0x3499bb,_0x594a9d){return _0x47b891(_0x6a227d,_0x34e5a5- -_0x9cd32c._0x67e141,_0x3499bb-_0x9cd32c._0x24663f,_0x594a9d-_0x9cd32c._0x313d51);}function _0x52ecbd(_0x9bdfeb,_0x75d2ea,_0x427253,_0x1058ea){return _0xe18bb0(_0x75d2ea,_0x9bdfeb-_0x4b3096._0x5cf5ec,_0x427253-0x7,_0x1058ea-0x76);}return createNormalizedFileSnapshot(_0x589f07,_0x33b513);}function staleSnapshotMessageText(_0x20a222,_0x5b8c28){const _0x12f269={_0x543614:0x3b3,_0x167da6:0x493,_0x4c4056:0x13,_0x4381dd:0x363,_0x5b24b4:0x44,_0x2cb5b4:0x1a9},_0x5df6f2={_0x437d36:0x1be},_0x4a3358={_0x2f2781:0x28f,_0x2069f0:0x66,_0x562dc3:0x194};function _0x20fda4(_0x35eeda,_0x30a82d,_0x31af38,_0x476a86){return _0xe18bb0(_0x31af38,_0x476a86-_0x4a3358._0x2f2781,_0x31af38-_0x4a3358._0x2069f0,_0x476a86-_0x4a3358._0x562dc3);}function _0x281ecc(_0x2678b8,_0x3d0616,_0xeadf85,_0x4f2ac1){return _0xe18bb0(_0x3d0616,_0xeadf85-0x259,_0xeadf85-0xd4,_0x4f2ac1-_0x5df6f2._0x437d36);}return{'reasonLine':_0x281ecc(_0x12f269._0x543614,_0x12f269._0x167da6,0x317,0x495)+_0x5b8c28+_0x281ecc(-_0x12f269._0x4c4056,_0x12f269._0x4381dd,0x1be,-_0x12f269._0x5b24b4),'guidance':'File\x20'+_0x20a222+_0x281ecc(0xf2,_0x12f269._0x2cb5b4,0x1fc,0x22d)};}function unseenLinesMessageText(){const _0x525829={_0x3afb9d:0x50c},_0x3d7fed={_0x462790:0x2cb,_0xc47a97:0x3c};function _0x24ba9b(_0x616b4a,_0x26e7f5,_0x27329a,_0xd7dfdc){return _0xe18bb0(_0x26e7f5,_0xd7dfdc-_0x3d7fed._0x462790,_0x27329a-_0x3d7fed._0xc47a97,_0xd7dfdc-0x8b);}function _0x5433ae(_0x4a450a,_0x4feaa7,_0x2651ef,_0x3c92a5){return _0xe18bb0(_0x4a450a,_0x2651ef-0x197,_0x2651ef-0x127,_0x3c92a5-0x79);}return{'reasonLine':_0x24ba9b(0x4e7,0x367,_0x525829._0x3afb9d,0x3db),'guidance':_0x24ba9b(0x2b2,0x542,0x5ce,0x425)};}function noChangeMessageText(_0x1425c2,_0x159edc){const _0x168508={_0x4e796e:0x366,_0x1bc36f:0x2a6,_0x34c246:0x3e2,_0x19439e:0x1dd,_0x4adff9:0x56d,_0x24f76d:0x423,_0x310241:0x23c,_0x1b4f35:0x3e9},_0xdd10a={_0x13a8c0:0xde,_0x9cc944:0x1b0},_0x11da30={_0x596c10:0xb3};function _0x313e51(_0x13bef0,_0x8ab392,_0x24f9d3,_0x256bfc){return _0xe18bb0(_0x8ab392,_0x13bef0-0x447,_0x24f9d3-_0x11da30._0x596c10,_0x256bfc-0x2b);}function _0x5bb7a6(_0x16a12f,_0x36ce4e,_0x285974,_0x5e07f5){return _0xe18bb0(_0x16a12f,_0x285974-0x23f,_0x285974-_0xdd10a._0x13a8c0,_0x5e07f5-_0xdd10a._0x9cc944);}const _0xb827c0=_0x159edc>=0x3;return{'reasonLine':_0x5bb7a6(_0x168508._0x4e796e,0x399,0x402,0x53c)+_0x1425c2+_0x313e51(0x374,_0x168508._0x1bc36f,_0x168508._0x34c246,_0x168508._0x19439e),'guidance':_0xb827c0?_0x313e51(0x416,0x3be,_0x168508._0x4adff9,_0x168508._0x24f76d):_0x5bb7a6(_0x168508._0x310241,0x562,_0x168508._0x1b4f35,0x55f)};}function buildRecoveryContext(_0x3aacc4,_0x30e250,_0xe7c062,_0x50e2b6,_0x4c9ec6,_0x5e3a2c){const _0x57d97d={_0x5d2c64:0x37d,_0x2a8573:0x58d,_0x3c7c38:0x4ed,_0x7398fa:0x3b6,_0x2932aa:0x4fd,_0x4f1e69:0x1e5,_0x3c02d5:0x126,_0xcbe7fb:0x420,_0x4f469a:0x246,_0x568f78:0x3de,_0x5ed011:0x3fb,_0x2e5d25:0x3a0,_0x214832:0x361,_0xfef30e:0x480,_0x58076b:0x38c,_0x1e6096:0x25b,_0x2c2a65:0x32f,_0x2de007:0x564,_0x19f1d2:0x41d,_0xf6b364:0x49b,_0x506e33:0x230,_0x40a450:0x56b,_0x3d1851:0x3ce,_0x2480bb:0x4ea,_0x33e158:0x30a,_0x105030:0x8e,_0x13e765:0x1ca,_0x283538:0x63f,_0x8cab90:0x29d,_0x3c394e:0x34b,_0x357c63:0x433,_0x33a7f3:0x630,_0x4a167b:0x2fd,_0xbb4b8a:0xa6},_0xe4faa1={_0x404234:0xdf},_0x10e273='['+_0x3aacc4+'#'+_0x30e250[_0xe7047b(_0x57d97d._0x5d2c64,_0x57d97d._0x2a8573,0x53f,_0x57d97d._0x3c7c38)]+']';function _0x3437a1(_0x1dc94d,_0xf98d85,_0x2a0a64,_0x40f52d){return _0x47b891(_0xf98d85,_0x2a0a64- -0x25a,_0x2a0a64-0x1a6,_0x40f52d-0x104);}const _0x24e6e7={'tag':_0x30e250[_0x3437a1(_0x57d97d._0x7398fa,0x322,_0x57d97d._0x2932aa,0x39c)],'digest':_0x30e250[_0x3437a1(_0x57d97d._0x4f1e69,_0x57d97d._0x3c02d5,0x255,0x401)],'contextLines':[],'output':_0x4c9ec6+'\x0a'+_0x10e273+'\x0a'+_0x5e3a2c},_0x34b926=_0x30e250['lines'][_0x3437a1(_0x57d97d._0xcbe7fb,_0x57d97d._0x4f469a,_0x57d97d._0x568f78,_0x57d97d._0x5ed011)],_0x2486a3=[...new Set(_0xe7c062[_0xe7047b(_0x57d97d._0x2e5d25,0x44c,_0x57d97d._0x214832,_0x57d97d._0xfef30e)](_0x11a27d=>Number['isSafeInteger'](_0x11a27d)&&_0x11a27d>=0x1&&_0x11a27d<=_0x34b926))][_0x3437a1(0x3ac,_0x57d97d._0x58076b,0x37e,_0x57d97d._0x1e6096)]((_0x569065,_0x317ba7)=>_0x569065-_0x317ba7);if(_0x2486a3[_0x3437a1(0x4f8,_0x57d97d._0x2c2a65,0x3de,_0x57d97d._0x2de007)]===0x0)return _0x24e6e7;const _0x315016=_0x2486a3[_0x2486a3[_0xe7047b(_0x57d97d._0x19f1d2,_0x57d97d._0xf6b364,0x321,0x3ce)]-0x1]-_0x2486a3[0x0]+0x1;if(_0x315016>0x14)return _0x24e6e7;for(const _0x1932b1 of _0x2486a3){if(!isWithinDisplayColumns(_0x30e250[_0x3437a1(0x1e,0x2f4,0x1ba,0x63)][_0x1932b1-0x1],0x200))return _0x24e6e7;}const _0x40fccf=formatAnchoredFileRead({'displayPath':_0x3aacc4,'snapshot':_0x30e250,'lineStart':_0x2486a3[0x0],'lineEnd':_0x2486a3[_0x2486a3[_0xe7047b(_0x57d97d._0x506e33,_0x57d97d._0x40a450,0x3a9,_0x57d97d._0x3d1851)]-0x1],'maxBytes':_0x50e2b6});if(_0x40fccf[_0xe7047b(_0x57d97d._0x2480bb,0x2f6,0x412,0x33f)]||_0x40fccf[_0x3437a1(_0x57d97d._0x33e158,_0x57d97d._0x105030,0x213,_0x57d97d._0x13e765)]['length']===0x0)return _0x24e6e7;function _0xe7047b(_0x1fb1a8,_0xb8b2a2,_0x1b6b88,_0xf114dc){return _0xe18bb0(_0xb8b2a2,_0xf114dc-0x227,_0x1b6b88-0x1cc,_0xf114dc-_0xe4faa1._0x404234);}const _0xfb5928=_0x4c9ec6+'\x0a'+_0x40fccf[_0x3437a1(0x48b,_0x57d97d._0x283538,0x459,0x2e8)]['trimEnd']()+'\x0a'+_0x5e3a2c;if(Buffer['byteLength'](_0xfb5928,_0x3437a1(_0x57d97d._0x8cab90,_0x57d97d._0x3c394e,_0x57d97d._0x357c63,0x3b5))>_0x50e2b6)return _0x24e6e7;return{'tag':_0x30e250[_0xe7047b(_0x57d97d._0x33a7f3,_0x57d97d._0x4a167b,0x673,0x4ed)],'digest':_0x30e250[_0x3437a1(0x214,_0x57d97d._0xbb4b8a,0x255,0x3cb)],'contextLines':[..._0x40fccf[_0xe7047b(0x27d,0x388,0x33c,0x203)]],'output':_0xfb5928};}function assertPreviewWithinBounds(_0x98c1f9,_0x550ce2,_0x227838){const _0x19493b={_0x23bca5:0x65b,_0x310fcd:0x455,_0xe7193d:0x54d,_0x38abfc:0x5ae,_0x4a62aa:0x838,_0x3c8bc6:0x5df,_0x21e142:0x6d6,_0x90016c:0x8eb},_0x592ed5={_0x3440d0:0x4ae,_0x2404d8:0xb4},_0x308e7a={_0x724c86:0x4b},_0x35f1d5=_0x98c1f9[_0x4ab2d8(0x4d9,_0x19493b._0x23bca5,_0x19493b._0x310fcd,_0x19493b._0xe7193d)]((_0x1c325b,_0x1ab92c)=>_0x1c325b+Buffer['byteLength'](_0x1ab92c['oldText'],_0x4ab2d8(0x71c,0x8ac,0x857,0x5ec))+Buffer[_0x4ab2d8(0x5d7,0x691,0x62d,0x45e)](_0x1ab92c[_0x2d89e7(0x2c9,0x69e,0x4d7,0x363)],_0x4ab2d8(0x71c,0x8fe,0x678,0x7f5)),0x0);function _0x4ab2d8(_0x36143c,_0x30b958,_0x4f3e7c,_0x30fbd5){return _0xe18bb0(_0x30fbd5,_0x36143c-0x520,_0x4f3e7c-_0x308e7a._0x724c86,_0x30fbd5-0x42);}function _0x2d89e7(_0x30bf07,_0x332796,_0x12f78c,_0x5b22ee){return _0xe18bb0(_0x332796,_0x12f78c-_0x592ed5._0x3440d0,_0x12f78c-_0x592ed5._0x2404d8,_0x5b22ee-0x146);}if(_0x35f1d5>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x2d89e7(0x46f,0x2f2,0x48d,_0x19493b._0x38abfc),_0x4ab2d8(0x820,_0x19493b._0x4a62aa,0x68d,0x779)+_0x35f1d5+_0x4ab2d8(_0x19493b._0x3c8bc6,0x7c2,0x63a,_0x19493b._0x21e142)+MAX_ANCHORED_PREVIEW_BYTES+_0x4ab2d8(0x6f1,0x632,0x7a3,_0x19493b._0x90016c),{'path':_0x227838,'canonicalPath':_0x550ce2,'previewBytes':_0x35f1d5});}function buildPreview(_0x4f1b1d,_0x521362,_0x5523a1,_0xedd458,_0x4a3e97){const _0x10f193={_0x442253:0x37e,_0x4ee6e0:0x482,_0x4e3b24:0x254,_0x3377fc:0x2b0,_0x27bc19:0x1bf,_0x234a2d:0x424,_0x432746:0x3d5},_0x274adf={_0x2a6cb0:0x17a},_0xa6a186={_0x597ce5:0x5de,_0x181b60:0x21};function _0x32bfe4(_0x3a8b33,_0x15c852,_0x2eefdd,_0x513a63){return _0xe18bb0(_0x2eefdd,_0x3a8b33-_0xa6a186._0x597ce5,_0x2eefdd-_0xa6a186._0x181b60,_0x513a63-0xff);}function _0x2a180d(_0x4311ff,_0x25c281,_0xabc5e9,_0x3cd844){return _0x47b891(_0x4311ff,_0x25c281- -0x383,_0xabc5e9-0x112,_0x3cd844-_0x274adf._0x2a6cb0);}return{'mode':_0x4f1b1d,'filePath':_0x521362[_0x2a180d(0x244,0x2ec,_0x10f193._0x442253,0x2f3)],'canonicalPath':_0x5523a1['canonicalPath'],'tag':_0x521362['tag'],'digest':_0xedd458['snapshot'][_0x32bfe4(0x5fc,0x546,_0x10f193._0x4ee6e0,0x49a)],'operationCount':_0x4a3e97['operations'][_0x2a180d(0x147,0x2b5,0x1a6,_0x10f193._0x4e3b24)],'operations':_0x4a3e97[_0x2a180d(0x371,0x202,_0x10f193._0x3377fc,_0x10f193._0x27bc19)],'blocks':_0x4a3e97[_0x2a180d(_0x10f193._0x234a2d,0x338,_0x10f193._0x432746,0x4b5)]};}function buildResultText(_0x7be36c,_0x4d6b4d,_0x20e94c,_0x13005d,_0x2cbcf2){const _0x1fc689={_0x3fc493:0x3ab,_0x44ca51:0x4ea,_0x3c4fc4:0x3ec,_0x5e940e:0x7fe,_0x16100e:0x62f,_0x5c8626:0x56d,_0x5a74d4:0x3b6,_0x3b4211:0x4e3,_0x3fc05c:0x796,_0x21ce48:0x706,_0x415f6a:0x5ed,_0x3c56ff:0x427,_0x53be0d:0x20e},_0x193696={_0x394fae:0x1f2},_0x4267f1={_0x45cdd3:0xa0,_0x23b4e1:0xc1,_0x215d32:0x1bc},_0x13b5ca='['+_0x7be36c+'#'+_0x4d6b4d['tag']+']\x0a'+_0x2cbcf2+'\x0a';let _0x1521ad=Buffer[_0x3d5bf7(0x514,_0x1fc689._0x3fc493,_0x1fc689._0x44ca51,_0x1fc689._0x3c4fc4)](_0x13b5ca,_0x3d5bf7(_0x1fc689._0x5e940e,0x565,_0x1fc689._0x16100e,0x7d9));const _0xe3f116=[],_0x143c06=[];for(const _0x29d5f3 of _0x20e94c){const _0x119970=_0x29d5f3+':'+(_0x4d6b4d[_0x3d5bf7(0x414,_0x1fc689._0x5c8626,_0x1fc689._0x5a74d4,0x235)][_0x29d5f3-0x1]??'')+'\x0a',_0xecad94=Buffer[_0x3d5bf7(_0x1fc689._0x3b4211,0x6da,_0x1fc689._0x44ca51,0x48d)](_0x119970,_0x1e83ac(_0x1fc689._0x3fc05c,_0x1fc689._0x21ce48,_0x1fc689._0x415f6a,_0x1fc689._0x3c56ff));if(_0x1521ad+_0xecad94>_0x13005d)break;_0xe3f116['push'](_0x119970),_0x143c06[_0x1e83ac(0x121,0x30e,0x31c,_0x1fc689._0x53be0d)](_0x29d5f3),_0x1521ad+=_0xecad94;}function _0x1e83ac(_0x9c721,_0x16dfd2,_0x22daef,_0x5a7cae){return _0x47b891(_0x16dfd2,_0x22daef- -_0x4267f1._0x45cdd3,_0x22daef-_0x4267f1._0x23b4e1,_0x5a7cae-_0x4267f1._0x215d32);}function _0x3d5bf7(_0xe2fdb6,_0x3c93e6,_0x207016,_0x3851ab){return _0x47b891(_0x3851ab,_0x207016- -0x5e,_0x207016-0x14e,_0x3851ab-_0x193696._0x394fae);}return{'output':''+_0x13b5ca+_0xe3f116['join'](''),'observedLines':_0x143c06};}function selectChangedContextLines(_0x49510b,_0x1e5098,_0xc1cbe3){const _0x9f6b84={_0x5dc853:0x7d6,_0x20a1e2:0x747,_0x3f0399:0x883,_0x17cc6f:0x567,_0x1c5568:0x3f8,_0x78946a:0x4ab,_0x4dbcaa:0x586,_0x303686:0x3fb,_0x2ef0db:0x534,_0x1f2b3c:0x853,_0x27ef65:0x706,_0x28b980:0x66c,_0x4dcf20:0x358,_0x30b47a:0x3a8,_0x4115b3:0x6bf,_0x59a0ed:0x534,_0x5c22d3:0x6f7,_0x94cfd5:0x720,_0xbf5942:0x559,_0x11fee9:0x63a,_0x6bb4f3:0x426,_0x4346b5:0x595,_0x5bc500:0x779,_0x340c4f:0x418,_0x3fbb78:0x44e,_0x3a4b59:0x355,_0x564dd3:0x85d,_0x4a1f4f:0xa63,_0x5055e7:0x53a,_0x284c62:0x6ab,_0x4a1c62:0x11f,_0x19f47e:0x6b9,_0x22ab5f:0x7c5,_0x206d3f:0x7c5,_0x52c2b3:0x685,_0x55501b:0x29b,_0x539033:0x29d},_0x4adc49={_0x541f0c:0x135,_0x47b7ab:0x18b},_0x595abe={_0x342aa9:0x60,_0x3c7e7a:0x193};function _0x5f3289(_0x50de9f,_0xbb066e,_0x28c11a,_0x3ac2b7){return _0x47b891(_0xbb066e,_0x3ac2b7- -0x104,_0x28c11a-_0x595abe._0x342aa9,_0x3ac2b7-_0x595abe._0x3c7e7a);}const _0x7bb572=new Set();function _0x4ad9f2(_0x23763d,_0x1728da,_0xe76686,_0x2c5a8a){return _0x47b891(_0xe76686,_0x2c5a8a-_0x4adc49._0x541f0c,_0xe76686-0x103,_0x2c5a8a-_0x4adc49._0x47b7ab);}for(const _0x1f49d8 of _0x49510b){const _0x1cc0d4=_0x1f49d8[_0x4ad9f2(0x7f1,0x568,_0x9f6b84._0x5dc853,_0x9f6b84._0x20a1e2)];if(_0xc1cbe3===_0x4ad9f2(0x8b2,_0x9f6b84._0x3f0399,_0x9f6b84._0x17cc6f,0x704)){if(_0x1cc0d4[_0x5f3289(0x28b,0x216,0x2a0,_0x9f6b84._0x1c5568)]>0x0)for(let _0xa70828=_0x1cc0d4['newStartLine'];_0xa70828<=_0x1cc0d4[_0x4ad9f2(_0x9f6b84._0x78946a,0x716,0x600,_0x9f6b84._0x4dbcaa)]&&_0xa70828<=_0x1e5098['lines'][_0x5f3289(_0x9f6b84._0x303686,0x5fa,0x3bf,_0x9f6b84._0x2ef0db)];_0xa70828+=0x1){_0x7bb572[_0x4ad9f2(0x8d2,0xa53,0x645,_0x9f6b84._0x1f2b3c)](_0xa70828);}else _0x1cc0d4['newStartLine']>=0x1&&_0x1cc0d4[_0x5f3289(_0x9f6b84._0x27ef65,0x409,_0x9f6b84._0x28b980,0x559)]<=_0x1e5098['lines'][_0x5f3289(_0x9f6b84._0x4dcf20,_0x9f6b84._0x30b47a,_0x9f6b84._0x4115b3,_0x9f6b84._0x59a0ed)]&&_0x7bb572['add'](_0x1cc0d4[_0x5f3289(_0x9f6b84._0x5c22d3,0x673,_0x9f6b84._0x94cfd5,_0x9f6b84._0xbf5942)]);}else{if(_0x1cc0d4[_0x5f3289(_0x9f6b84._0x11fee9,_0x9f6b84._0x6bb4f3,0x5da,_0x9f6b84._0x4346b5)]>0x0)for(let _0xca9af1=_0x1cc0d4['oldStartLine'];_0xca9af1<=_0x1cc0d4[_0x4ad9f2(0x5fe,0x96c,_0x9f6b84._0x5bc500,0x7dd)]&&_0xca9af1<=_0x1e5098[_0x5f3289(_0x9f6b84._0x340c4f,_0x9f6b84._0x3fbb78,_0x9f6b84._0x3a4b59,0x310)][_0x4ad9f2(0x89e,0x6b7,_0x9f6b84._0x564dd3,0x76d)];_0xca9af1+=0x1){_0x7bb572[_0x4ad9f2(0x94c,_0x9f6b84._0x4a1f4f,0x6ef,0x853)](_0xca9af1);}else _0x1cc0d4[_0x5f3289(_0x9f6b84._0x5055e7,0x459,_0x9f6b84._0x284c62,0x5c5)]>=0x1&&_0x1cc0d4['oldStartLine']<=_0x1e5098[_0x5f3289(0x4f2,0x231,_0x9f6b84._0x4a1c62,0x310)]['length']&&_0x7bb572[_0x4ad9f2(_0x9f6b84._0x19f47e,_0x9f6b84._0x22ab5f,_0x9f6b84._0x206d3f,0x853)](_0x1cc0d4[_0x5f3289(0x5cd,0x4b9,0x721,0x5c5)]);}}return[..._0x7bb572][_0x4ad9f2(0x848,_0x9f6b84._0x52c2b3,0x824,0x70d)]((_0x2fde87,_0x27f038)=>_0x2fde87-_0x27f038)[_0x5f3289(0x2e7,_0x9f6b84._0x55501b,0x48c,_0x9f6b84._0x539033)](0x0,0x14);}function throwStaleSnapshot(_0x4462c3,_0x1a2b2b,_0x3ebdea,_0x42513e){const _0x243a99={_0x1e7c35:0xf3,_0x18a1b4:0x414,_0x206be8:0x8bd,_0xeaa552:0x70c,_0x24a8f2:0xde,_0xb0d7be:0x26a,_0x478b5e:0x7a7,_0x1bb313:0x8a1,_0x1ca821:0x51f,_0x8784d1:0x78b,_0x17cea3:0x87f,_0x3c4b11:0x6bb};function _0x59288e(_0x4c76e7,_0x392070,_0x1726fd,_0x24b19e){return _0x47b891(_0x24b19e,_0x4c76e7- -0x3d1,_0x1726fd-0x93,_0x24b19e-0x1df);}function _0x548b26(_0x1faa78,_0x26efe3,_0x16c595,_0x12a860){return _0x47b891(_0x1faa78,_0x12a860- -0x4b,_0x16c595-0x14a,_0x12a860-0x66);}throw createAnchoredFileError('stale_snapshot',_0x42513e[_0x59288e(0x2e2,0x408,_0x243a99._0x1e7c35,_0x243a99._0x18a1b4)],{'path':_0x4462c3,'canonicalPath':_0x1a2b2b,'tag':_0x3ebdea[_0x548b26(0x6b2,_0x243a99._0x206be8,0x8da,_0x243a99._0xeaa552)],'digest':_0x3ebdea[_0x59288e(_0x243a99._0x24a8f2,-0x8a,_0x243a99._0xb0d7be,0x5f)],..._0x42513e[_0x548b26(0x6ef,_0x243a99._0x478b5e,_0x243a99._0x1bb313,0x6bb)][_0x548b26(0x7b8,_0x243a99._0x1ca821,_0x243a99._0x8784d1,0x5ed)]>0x0?{'contextLines':[..._0x42513e[_0x548b26(0x563,0x7e7,_0x243a99._0x17cea3,_0x243a99._0x3c4b11)]]}:{}});}function throwUnseenLines(_0x4d7209,_0x5aa943,_0x1c37a6,_0x4f3992,_0x66a11c){const _0x10f3b2={_0x5a5c49:0x2e1,_0x57eff6:0x456,_0x10982a:0x30d,_0x6a677c:0x53f,_0xce490a:0x3f3,_0x5933d9:0x20c,_0x1af48e:0x7eb},_0x4621ae={_0x47e886:0x98},_0x4a00f3={_0x545277:0x47};function _0x24edb9(_0x50c82a,_0x575765,_0x5381e5,_0x2a7a90){return _0x47b891(_0x5381e5,_0x2a7a90- -0xbc,_0x5381e5-0x1ad,_0x2a7a90-_0x4a00f3._0x545277);}function _0x5d6a02(_0x1da675,_0x4c6b75,_0x2d6b07,_0xd9bdc6){return _0xe18bb0(_0x4c6b75,_0xd9bdc6-0x47,_0x2d6b07-_0x4621ae._0x47e886,_0xd9bdc6-0x37);}throw createAnchoredFileError('unseen_lines',_0x66a11c[_0x24edb9(0x47f,0x7c8,0x771,0x5f7)],{'path':_0x4d7209,'canonicalPath':_0x5aa943,'tag':_0x1c37a6[_0x5d6a02(_0x10f3b2._0x5a5c49,_0x10f3b2._0x57eff6,0x4bc,_0x10f3b2._0x10982a)],'digest':_0x1c37a6[_0x24edb9(_0x10f3b2._0x6a677c,0x604,0x456,_0x10f3b2._0xce490a)],'requiredLines':[..._0x4f3992],..._0x66a11c['contextLines'][_0x5d6a02(_0x10f3b2._0x5933d9,0x3a3,0x17b,0x1ee)]>0x0?{'contextLines':[..._0x66a11c[_0x24edb9(0x5f5,_0x10f3b2._0x1af48e,0x7b2,0x64a)]]}:{}});}function throwNoChange(_0x55d8bb,_0x3b3b02,_0xf117d9,_0x467125,_0x25485f){const _0x6a4876={_0x398dfe:0x43f,_0x9137d3:0x36c,_0x1c655f:0x1f5,_0x58b0bf:0x177,_0x3ae07b:0xa0,_0x13e7a8:0x409,_0x1a3cef:0x4ed},_0x1a9611={_0xcae6da:0x41,_0x32a451:0x8f},_0xba6aa6={_0x348fc2:0x1d};function _0x2fe478(_0x53da0a,_0x3a5f6e,_0x11fc61,_0x52b357){return _0xe18bb0(_0x52b357,_0x11fc61-0x3bc,_0x11fc61-0x1e8,_0x52b357-_0xba6aa6._0x348fc2);}function _0x27e919(_0x307bca,_0x3f50ef,_0x13312d,_0x625f7d){return _0x47b891(_0x625f7d,_0x13312d- -0x338,_0x13312d-_0x1a9611._0xcae6da,_0x625f7d-_0x1a9611._0x32a451);}throw createAnchoredFileError(_0x2fe478(0x333,_0x6a4876._0x398dfe,0x331,_0x6a4876._0x9137d3),_0x467125['output'],{'path':_0x55d8bb,'canonicalPath':_0x3b3b02,'tag':_0xf117d9['tag'],'digest':_0xf117d9[_0x27e919(0x247,_0x6a4876._0x1c655f,_0x6a4876._0x58b0bf,_0x6a4876._0x3ae07b)],'attemptCount':_0x25485f,..._0x467125['contextLines'][_0x27e919(_0x6a4876._0x13e7a8,0x153,0x300,0x40f)]>0x0?{'contextLines':[..._0x467125[_0x27e919(0x410,_0x6a4876._0x1a3cef,0x3ce,0x2b8)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x40f67f,_0x250ed5,_0x457dd4,_0x35bf09){const _0x540340={_0x403735:0x47c,_0x206e96:0x4f1,_0x4f98b1:0x595,_0x1df3b4:0x62e,_0x2a4fd1:0x6a4,_0x298d07:0x650,_0x386612:0x44e,_0x48d701:0x560,_0x4a4a79:0x214,_0x24a73b:0x240,_0x282ec9:0x7b6,_0x4bd1a1:0x716,_0x1c16d4:0x697,_0x5f8230:0x813,_0xa33b68:0x32,_0x389131:0xf2,_0x35945b:0x4b2,_0x17d5a9:0x3e5,_0x1aab4e:0x4,_0x30e26f:0x1bb,_0x32d462:0x55f,_0x213e39:0x73c,_0x3374c0:0x921,_0x4c3913:0xa0,_0x37911b:0x2d,_0x242868:0xa1,_0xc053f:0x11c,_0x3f690d:0x272,_0x188c2d:0x32e,_0x516542:0x214,_0x1539e3:0x2a6,_0x4c9fc2:0xef,_0x2643c8:0x8f,_0x29c726:0x2e1,_0x590c59:0x49b,_0x2564d3:0x7af,_0x46487e:0x5bd,_0x120945:0x13c,_0x57cf16:0x60,_0x37efbc:0x1af,_0x432e7e:0x2a8,_0x57d43e:0xc1,_0x1f2410:0x2c9,_0x1283c1:0xbf,_0x728c67:0x63,_0x41d70c:0x242,_0x233570:0x1d3,_0x8cd8f0:0x67d,_0x2bd077:0x500,_0x227d22:0x226,_0xd67706:0x106,_0x5b1e94:0x436,_0x5934d1:0x376,_0x4bd4ab:0x1eb,_0x154d32:0x597,_0x517fbd:0x79b,_0x31a854:0x78e,_0x40588f:0x5b3,_0x37fc9d:0xd0,_0x3ed859:0x164,_0x26936b:0x780,_0x5c7845:0x4ca,_0x1fdb2c:0x62e,_0x5eafd1:0x120,_0x49aa73:0x301,_0x4c3028:0xc1,_0x1a77d3:0x7f3,_0x50c8ce:0x6c5,_0x105d3c:0x3e9,_0x4c5ba3:0x749,_0x1dbf57:0x667,_0x18b9fa:0x7e5,_0x2ca00f:0x7c2},_0x3dfac5={_0x385eb8:0xb9},_0x5698ea={_0x38f949:0x132};function _0xf877a9(_0x2bb7c8,_0x37b954,_0x2d9c27,_0x4bb4d1){return _0xe18bb0(_0x37b954,_0x2d9c27-0x450,_0x2d9c27-_0x5698ea._0x38f949,_0x4bb4d1-0x1a6);}const _0x1e7782=parseAnchoredInput(_0x40f67f,_0x250ed5),_0x489774=await resolveEditTarget(_0x35bf09[_0xf877a9(0x33f,_0x540340._0x403735,0x424,0x40a)],_0x35bf09[_0xf877a9(0x3a1,0x532,_0x540340._0x206e96,0x6f7)],_0x1e7782[_0xf877a9(_0x540340._0x4f98b1,0x7c3,_0x540340._0x1df3b4,_0x540340._0x2a4fd1)]);function _0x4db359(_0x397f1d,_0x5117a3,_0x327ca6,_0x175e3a){return _0x47b891(_0x397f1d,_0x327ca6- -0x4c4,_0x327ca6-0x2a,_0x175e3a-_0x3dfac5._0x385eb8);}const {observations:_0x3c65ed}=_0x35bf09;_0x3c65ed[_0xf877a9(0x4ae,_0x540340._0x298d07,_0x540340._0x386612,_0x540340._0x48d701)](_0x457dd4);const _0x454ce7=_0x3c65ed[_0x4db359(-0x100,0x160,-0x92,-0x182)](_0x489774[_0x4db359(0x260,0x2c5,_0x540340._0x4a4a79,_0x540340._0x24a73b)],_0x1e7782[_0xf877a9(_0x540340._0x282ec9,0x689,_0x540340._0x4bd1a1,0x5d0)]),_0x2fcd69=await readLiveSnapshot(_0x489774[_0xf877a9(0x57b,0x706,_0x540340._0x1c16d4,_0x540340._0x5f8230)],_0x1e7782['filePath']),_0xb58bd0=computePayloadDigest(_0x1e7782['operations']);if(_0x2fcd69[_0x4db359(-_0x540340._0xa33b68,_0x540340._0x389131,-0x15,0x123)]!==_0x454ce7[_0xf877a9(_0x540340._0x35945b,0x228,_0x540340._0x17d5a9,0x59b)][_0x4db359(_0x540340._0x1aab4e,-_0x540340._0x30e26f,-0x15,0x7e)]){const {reasonLine:_0x568287,guidance:_0x332143}=staleSnapshotMessageText(_0x1e7782['filePath'],_0x1e7782[_0xf877a9(_0x540340._0x32d462,_0x540340._0x213e39,0x716,_0x540340._0x3374c0)]),_0x2a3ea0=buildRecoveryContext(_0x1e7782['filePath'],_0x2fcd69,collectRequiredLines(_0x1e7782['operations']),_0x35bf09[_0x4db359(-0x69,-0x87,_0x540340._0x4c3913,_0x540340._0x37911b)],_0x568287,_0x332143);_0x3c65ed['record'](_0x2fcd69,_0x2a3ea0[_0x4db359(_0x540340._0x242868,_0x540340._0xc053f,0x242,_0x540340._0x3f690d)]),throwStaleSnapshot(_0x1e7782['filePath'],_0x489774[_0x4db359(_0x540340._0x188c2d,0x2cf,_0x540340._0x516542,0x6e)],_0x2fcd69,_0x2a3ea0);}let _0x8e628f;try{_0x8e628f=prepareCanonicalFileEdit(_0x454ce7['snapshot'],_0x454ce7[_0x4db359(_0x540340._0x1539e3,0x237,0x1d8,_0x540340._0x4c9fc2)],_0x1e7782['operations']);}catch(_0x5c199d){if(_0x5c199d instanceof ToolExecutionError&&_0x5c199d[_0x4db359(0xc1,-_0x540340._0x2643c8,-0x2d,-0x179)][_0xf877a9(_0x540340._0x29c726,_0x540340._0x590c59,0x376,0x45b)]===_0xf877a9(0x866,_0x540340._0x2564d3,0x660,_0x540340._0x46487e)){const _0x2552cd=_0x5c199d[_0x4db359(-0x169,-_0x540340._0x120945,-0x2d,0x11e)][_0x4db359(_0x540340._0x57cf16,_0x540340._0x37efbc,0x59,-0x1ae)]??collectRequiredLines(_0x1e7782[_0x4db359(0x152,_0x540340._0x432e7e,_0x540340._0x57d43e,_0x540340._0x1f2410)]),{reasonLine:_0x4046d6,guidance:_0x425842}=unseenLinesMessageText(),_0x2f7dec=buildRecoveryContext(_0x1e7782[_0x4db359(-0x2b,0x1b7,0x1ab,0x1af)],_0x2fcd69,_0x2552cd,_0x35bf09['outputBudgetBytes'],_0x4046d6,_0x425842);_0x3c65ed[_0x4db359(0x219,_0x540340._0x1283c1,_0x540340._0x4c9fc2,0xc6)](_0x2fcd69,_0x2f7dec[_0x4db359(0x432,_0x540340._0x728c67,_0x540340._0x41d70c,_0x540340._0x233570)]),throwUnseenLines(_0x1e7782[_0xf877a9(_0x540340._0x8cd8f0,_0x540340._0x2bd077,0x62e,0x463)],_0x489774[_0x4db359(_0x540340._0x227d22,_0x540340._0xd67706,_0x540340._0x516542,0x11b)],_0x2fcd69,_0x2552cd,_0x2f7dec);}if(_0x5c199d instanceof ToolExecutionError&&_0x5c199d['structured'][_0xf877a9(_0x540340._0x5b1e94,0x308,_0x540340._0x5934d1,_0x540340._0x4bd4ab)]===_0xf877a9(0x411,_0x540340._0x154d32,0x3c5,0x24e)){const _0x52b21d=_0x3c65ed[_0xf877a9(_0x540340._0x517fbd,_0x540340._0x31a854,_0x540340._0x40588f,0x60f)](_0x489774[_0x4db359(_0x540340._0x37fc9d,_0x540340._0x3ed859,0x214,0x30e)],_0xb58bd0),{reasonLine:_0x37f190,guidance:_0x12e033}=noChangeMessageText(_0x1e7782[_0xf877a9(_0x540340._0x26936b,_0x540340._0x5c7845,_0x540340._0x1fdb2c,0x596)],_0x52b21d),_0x3dd029=buildRecoveryContext(_0x1e7782[_0x4db359(_0x540340._0x5eafd1,_0x540340._0x49aa73,0x1ab,-0xa)],_0x2fcd69,collectRequiredLines(_0x1e7782['operations']),_0x35bf09[_0x4db359(0x158,0x217,_0x540340._0x4c3913,-_0x540340._0x4c3028)],_0x37f190,_0x12e033);_0x3c65ed['record'](_0x2fcd69,_0x3dd029[_0xf877a9(_0x540340._0x1a77d3,0x502,_0x540340._0x50c8ce,0x539)]),throwNoChange(_0x1e7782[_0x4db359(0x5b,0x18d,0x1ab,0x227)],_0x489774[_0x4db359(_0x540340._0x105d3c,0x387,0x214,0x3b2)],_0x2fcd69,_0x3dd029,_0x52b21d);}throw _0x5c199d;}return assertPreviewWithinBounds(_0x8e628f[_0xf877a9(0x5ae,0x535,0x67a,0x794)],_0x489774[_0xf877a9(0x551,_0x540340._0x4c5ba3,0x697,_0x540340._0x1dbf57)],_0x1e7782[_0xf877a9(_0x540340._0x18b9fa,0x5d2,_0x540340._0x1fdb2c,_0x540340._0x2ca00f)]),buildPreview(_0x40f67f,_0x1e7782,_0x489774,_0x454ce7,_0x8e628f);}async function reResolveUnderLock(_0x39aea9,_0x3d59d1,_0x42f7f2,_0x339417){const _0x33c2cc={_0x14049e:0x314,_0x48cb57:0x24b,_0x310e8d:0x4d,_0x497ed4:0x85,_0x44ba5a:0x1,_0x101ba7:0x50d,_0x50bd82:0x532,_0x1e8de4:0x2bd,_0x14651f:0x19e,_0xd64144:0x6ca,_0x4de563:0x69f,_0x2a45c2:0x6af,_0x4ece5f:0x5d2,_0x18a43d:0x13e,_0x24cc0d:0xa4,_0x2b122:0x646,_0x37f552:0x471,_0x1071fe:0x46f,_0x1d9bab:0x4c9,_0x403f90:0x688},_0x4e130d={_0x22c8fb:0x1a6};let _0x493ea2;try{_0x493ea2=await resolveCanonicalAllowedFile(_0x39aea9,_0x3d59d1,_0x42f7f2[_0x28ed0c(0x267,0x111,_0x33c2cc._0x14049e,_0x33c2cc._0x48cb57)]);}catch(_0x57f0f9){if(_0x57f0f9 instanceof ToolExecutionError)throw _0x57f0f9;const _0x3c214d=_0x57f0f9 instanceof Error?_0x57f0f9['message']:String(_0x57f0f9);throw createAnchoredFileError(_0x28ed0c(_0x33c2cc._0x310e8d,_0x33c2cc._0x497ed4,0x1ae,-_0x33c2cc._0x44ba5a),_0x581bc1(0x4b0,0x47b,0x482,0x602)+_0x42f7f2[_0x28ed0c(0x3d7,0x49a,0x314,_0x33c2cc._0x101ba7)]+_0x28ed0c(0x329,_0x33c2cc._0x50bd82,0x42c,0x355)+_0x3c214d+_0x28ed0c(0x28b,_0x33c2cc._0x1e8de4,_0x33c2cc._0x14651f,0x1e6),{'path':_0x42f7f2[_0x581bc1(0x646,0x576,_0x33c2cc._0xd64144,_0x33c2cc._0x4de563)]});}function _0x581bc1(_0x4b0ff1,_0x48ff0c,_0x560b96,_0x5722ed){return _0xe18bb0(_0x5722ed,_0x4b0ff1-0x468,_0x560b96-_0x4e130d._0x22c8fb,_0x5722ed-0x13c);}function _0x28ed0c(_0x4d484c,_0x4295b7,_0x313835,_0x1e8647){return _0x47b891(_0x1e8647,_0x313835- -0x35b,_0x313835-0x12b,_0x1e8647-0x19c);}if(_0x493ea2[_0x581bc1(_0x33c2cc._0x2a45c2,0x4b4,0x874,0x767)]!==_0x339417)throw createAnchoredFileError(_0x581bc1(0x4e0,_0x33c2cc._0x4ece5f,0x4b8,0x2dd),_0x28ed0c(_0x33c2cc._0x18a43d,-0x37,0x17e,_0x33c2cc._0x24cc0d)+_0x42f7f2[_0x581bc1(_0x33c2cc._0x2b122,0x48a,0x7e2,_0x33c2cc._0x37f552)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x42f7f2[_0x581bc1(_0x33c2cc._0x2b122,_0x33c2cc._0x1071fe,0x554,_0x33c2cc._0x1d9bab)],'canonicalPath':_0x493ea2[_0x581bc1(0x6af,0x7b2,0x571,_0x33c2cc._0x403f90)]});return _0x493ea2;}async function executeAnchoredFileEdit(_0x300af4,_0x5419dd,_0x205279,_0x9b42d2,_0x257dd6=defaultFileSystem2){const _0x15ccd3={_0xdc7b96:0x697,_0x338e46:0x49d,_0x48bafe:0x744,_0xfc938a:0x5fc,_0x1a7121:0x3e1,_0x5b2ab0:0x376,_0x2b5e5c:0x51e,_0x3401bc:0x44a,_0x1c1e91:0x355,_0x16beab:0x4f5,_0x231210:0x802,_0x308a1b:0x660,_0x435d7a:0x707},_0x979661={_0x21dcac:0x300,_0x29b0ac:0x208,_0x20f39c:0x47b,_0x3a654e:0x45d,_0x4dfa3b:0x78f,_0x1e604d:0x600,_0x526811:0x1e4,_0x12aa60:0x232,_0x468e8c:0x395,_0x1d60fd:0x48a,_0x295cad:0x31f,_0xcce7d8:0x17d,_0x3c998c:0x4e9,_0x46227c:0x61f,_0x387621:0x8b5,_0x213884:0x373,_0x2efc11:0x4a9,_0x46297b:0x4fa,_0x252a8b:0x679,_0x10b797:0x71c,_0x1bfa4a:0x7ff,_0x2018bc:0x7ef,_0x10a223:0x1a4,_0x531c83:0x6ad,_0x193c0d:0x6d9,_0x1c53aa:0x3da,_0x2ce1e6:0x489,_0x1d61f0:0x436,_0x3c2074:0x2ac,_0x3afef2:0x260,_0x1abd51:0x57d,_0x2a2078:0x5ff,_0x2206d2:0x74d,_0x1333a6:0x34e,_0x26006d:0x14f,_0xc60caf:0x5b0,_0x3c5646:0x60a,_0x167330:0x537,_0x393480:0x412,_0x506959:0x4e7,_0x212be3:0x331,_0x5b7572:0x252,_0x50bf93:0x62f,_0x674e00:0x630,_0x84d6:0x726,_0x4294f2:0x7e3,_0x4a33ad:0x8f2,_0x21c683:0x22b,_0x175672:0x307,_0x1941ee:0x382,_0x1a41a4:0x7bd,_0xabcd9d:0x5a1,_0x36faac:0x597,_0x3f715e:0x7c8,_0x32948a:0x2eb,_0x347662:0x5d2,_0x97bf7c:0x43f,_0xc4d4cb:0x63c,_0x173e6d:0x541,_0x21ae33:0x5ae,_0x5df125:0x54e,_0x2f540d:0x698,_0x37d946:0x387,_0x4f8b67:0x553,_0x456e3e:0x45f,_0x93cd17:0x758,_0x4431e4:0x8f6,_0xb641cb:0xb9,_0x3353ae:0x376,_0x9af634:0x23a,_0x5be08a:0x199,_0x4ae973:0x356,_0x149f34:0x1f5,_0x4e7de4:0x5b6,_0x1013f5:0x71e,_0x1c9624:0x72c,_0x2c8564:0x254,_0x1df3cb:0x7f9,_0x14374c:0x926,_0x1b8b30:0x520,_0xa8f075:0x61b,_0x2e65c8:0x647,_0x30194c:0x55f,_0x22b79a:0x66a,_0x2f2dcb:0x769,_0x44f1da:0x4c4,_0x48e914:0x853,_0x430454:0x6ee,_0x3a417e:0x6cb,_0x1ef6b5:0x828,_0x47cb6a:0x28a,_0x45857e:0x296,_0x2c23a2:0x248,_0x212b2b:0x417,_0x4bf61d:0x548,_0x3d8dab:0x4b6,_0x5b5918:0x4af,_0x39080e:0x447,_0x316480:0x13f,_0x16e76e:0x314,_0x27c263:0x46c,_0x39d8a7:0x7fd,_0x6713e8:0x7f0,_0x3fa535:0x6d4,_0x5c4f20:0x4e3,_0x18ace1:0x435,_0x47b054:0x772,_0x56f11c:0x742,_0x196219:0x504,_0x2d30dc:0x476,_0x3fddb3:0x126,_0x5f33c8:0x365,_0x55597b:0x5fb,_0xb028b9:0x437,_0x57a62d:0x507,_0x5144f6:0x50d,_0x387489:0x79a,_0x576f7f:0x138,_0x416759:0x2e9,_0xcb77ea:0x34f,_0x3ca705:0x3ae,_0x350666:0x4fa,_0x4d43f5:0x307,_0x2257ae:0x58f,_0x367f12:0x453,_0x406ace:0x4e6,_0xeb020d:0x274,_0xddbdf0:0x342,_0x15ba8e:0x76a,_0x1bce18:0x73f,_0x17c836:0x6a2,_0x440e9d:0x47b,_0x1c4337:0x496,_0x7111c9:0x749,_0x51fb94:0x6be,_0x32f3bb:0x726,_0x3235f4:0x6a6,_0x1e6308:0x149,_0x1200f1:0x34,_0x872685:0x189,_0x1c33f3:0x2fe,_0x4422f3:0x409,_0x18474e:0x3e4,_0x52a50c:0x514,_0x203e3c:0x47a,_0x2bd47c:0x5aa,_0x16f5b9:0x455,_0x299640:0x56b,_0x33c573:0x380,_0x189ea3:0x61a,_0x138ec1:0x41d,_0x495bb8:0x79d,_0x4f54cd:0x663,_0x4912ff:0x436,_0x59bb75:0x419,_0x283b3f:0x271,_0x2c8f50:0x36b,_0x309805:0x412,_0x276f10:0x3d8,_0x5ae861:0x47b,_0x30a602:0x305,_0x217662:0x8e0,_0x2cb714:0x853,_0x2176da:0x44f,_0x5b868a:0x464,_0x151ed5:0x3da,_0x23b33c:0x47b,_0x293684:0x55e,_0x9e0e20:0x5bc,_0x127e11:0x5df,_0x441287:0x56d,_0x53eb85:0x5f2,_0x4457b8:0x4f6,_0x205433:0x45e,_0x2d02e7:0x54a,_0x4e9643:0x686,_0xfb55b7:0x755,_0x20af62:0x2e2,_0x1860f2:0x2d1,_0xd1ba1a:0x5dd,_0x1ad29e:0x25b,_0x3c80d6:0x2b1,_0x4a80a0:0x76a,_0xc67c0b:0x829,_0x269bba:0x7bd,_0x19ff22:0x717,_0x4b1c62:0x80e,_0x5b9089:0x8bc,_0xd91e8:0x566,_0x128694:0x636,_0x3421c4:0x406,_0x4293b2:0x3a6,_0x399343:0x5a4,_0x349182:0x294,_0x2a9c46:0x6e6,_0x44eee3:0x326,_0x4c6708:0x4e8,_0x22a1f7:0x372,_0x29fe69:0x463,_0x26c35a:0x2fc,_0x55a5fb:0x2a7,_0x367023:0x29a,_0x3f885e:0x119,_0x360799:0x5a6,_0x62ed5:0x5e2,_0x2fd448:0x6f9,_0x5cfe2d:0x6cc,_0x1c821f:0x322,_0x50cd96:0x2e9,_0x380635:0x6f7,_0x340732:0x6a8,_0x3ad386:0x616,_0x36bb23:0x6f1},_0x1d50aa={_0x5f39fc:0x1b8},_0x2ac88f={_0x3d040f:0xd1},_0x209546={_0x1288d6:0x203,_0x128d0f:0x140};function _0x575ef2(_0x4af977,_0x2460d7,_0x216704,_0xb5be67){return _0xe18bb0(_0x2460d7,_0x4af977-_0x209546._0x1288d6,_0x216704-_0x209546._0x128d0f,_0xb5be67-0xbd);}const _0x58cc73=parseAnchoredInput(_0x300af4,_0x5419dd);function _0x25831a(_0x5243c1,_0x330c34,_0x2637ab,_0x39e8a9){return _0xe18bb0(_0x2637ab,_0x39e8a9-0x55b,_0x2637ab-0x1c7,_0x39e8a9-_0x2ac88f._0x3d040f);}const _0x20bb12=await resolveEditTarget(_0x9b42d2[_0x575ef2(0x1d7,0x45,0x33b,0x113)],_0x9b42d2[_0x25831a(_0x15ccd3._0xdc7b96,_0x15ccd3._0x338e46,_0x15ccd3._0x48bafe,_0x15ccd3._0xfc938a)],_0x58cc73[_0x575ef2(_0x15ccd3._0x1a7121,0x415,_0x15ccd3._0x5b2ab0,0x3d7)]);return _0x9b42d2['mutations'][_0x25831a(0x4ad,0x3e2,0x6cf,_0x15ccd3._0x2b5e5c)](_0x20bb12[_0x575ef2(_0x15ccd3._0x3401bc,_0x15ccd3._0x1c1e91,_0x15ccd3._0x16beab,0x528)],_0x205279[_0x25831a(0x86f,_0x15ccd3._0x231210,_0x15ccd3._0x308a1b,_0x15ccd3._0x435d7a)],async()=>{const _0x3c04c1={_0x5ed30d:0x194,_0x17fe8e:0x327},_0x33746b=await reResolveUnderLock(_0x9b42d2[_0x30d340(_0x979661._0x21dcac,0x1d4,_0x979661._0x29b0ac,0x84)],_0x9b42d2[_0x30d340(0x2b4,_0x979661._0x20f39c,0x2d5,_0x979661._0x3a654e)],_0x58cc73,_0x20bb12[_0x184f91(_0x979661._0x4dfa3b,0x5c2,0x789,_0x979661._0x1e604d)]),{observations:_0x2a9aeb}=_0x9b42d2;_0x2a9aeb[_0x30d340(0x1e4,_0x979661._0x526811,_0x979661._0x12aa60,_0x979661._0x468e8c)](_0x205279[_0x30d340(_0x979661._0x1d60fd,0x1bd,_0x979661._0x295cad,_0x979661._0xcce7d8)]);const _0x319f0f=_0x2a9aeb[_0x184f91(_0x979661._0x3c998c,0x428,0x67d,0x58d)](_0x33746b[_0x184f91(0x78f,_0x979661._0x46227c,0x8bc,_0x979661._0x387621)],_0x58cc73[_0x30d340(_0x979661._0x213884,_0x979661._0x2efc11,_0x979661._0x46297b,_0x979661._0x252a8b)]);let _0x4d4177,_0x56c7a4;function _0x30d340(_0x4dbbc9,_0x39cc96,_0x836873,_0x363d27){return _0x25831a(_0x4dbbc9-_0x3c04c1._0x5ed30d,_0x39cc96-0x3d,_0x39cc96,_0x836873- -_0x3c04c1._0x17fe8e);}try{[_0x4d4177,_0x56c7a4]=await Promise[_0x184f91(_0x979661._0x10b797,0x91b,0x61a,0x5aa)]([_0x257dd6['readFile'](_0x33746b[_0x184f91(0x78f,_0x979661._0x1bfa4a,0x85c,_0x979661._0x2018bc)]),_0x257dd6[_0x30d340(0x456,0x428,0x257,_0x979661._0x10a223)](_0x33746b[_0x184f91(0x78f,_0x979661._0x531c83,_0x979661._0x193c0d,0x7d1)])]);}catch(_0xec2649){const _0x3a3775=_0xec2649 instanceof Error?_0xec2649[_0x30d340(0x671,_0x979661._0x1c53aa,_0x979661._0x2ce1e6,0x2a3)]:String(_0xec2649);throw createAnchoredFileError(_0x30d340(_0x979661._0x1d61f0,0x126,_0x979661._0x3c2074,_0x979661._0x3afef2),_0x184f91(0x619,_0x979661._0x1abd51,0x4a7,0x7b5)+_0x58cc73[_0x184f91(0x726,0x8f5,_0x979661._0x2a2078,_0x979661._0x2206d2)]+_0x30d340(_0x979661._0x1333a6,0x2c1,_0x979661._0x26006d,0x291)+_0x3a3775+_0x184f91(_0x979661._0xc60caf,_0x979661._0x3c5646,0x71a,_0x979661._0x167330),{'path':_0x58cc73[_0x30d340(0x50c,0x570,_0x979661._0x393480,_0x979661._0x506959)]});}const _0x1015fb=createNormalizedFileSnapshot(_0x33746b['canonicalPath'],_0x4d4177);if(_0x1015fb[_0x30d340(0x1d1,_0x979661._0x212be3,_0x979661._0x5b7572,0x407)]!==_0x319f0f[_0x184f91(0x4dd,_0x979661._0x50bf93,_0x979661._0x674e00,0x680)]['digest']){const {reasonLine:_0x275681,guidance:_0x41e92e}=staleSnapshotMessageText(_0x58cc73[_0x184f91(_0x979661._0x84d6,0x766,_0x979661._0x4294f2,0x53c)],_0x58cc73['tag']),_0x2188ca=buildRecoveryContext(_0x58cc73[_0x184f91(_0x979661._0x84d6,0x6f5,_0x979661._0x4a33ad,0x852)],_0x1015fb,collectRequiredLines(_0x58cc73['operations']),_0x9b42d2[_0x30d340(0x3b9,_0x979661._0x21c683,_0x979661._0x175672,_0x979661._0x1941ee)],_0x275681,_0x41e92e);_0x2a9aeb['record'](_0x1015fb,_0x2188ca[_0x184f91(_0x979661._0x1a41a4,0x5fe,0x80a,0x61a)]),throwStaleSnapshot(_0x58cc73['filePath'],_0x33746b[_0x184f91(_0x979661._0x4dfa3b,_0x979661._0xabcd9d,_0x979661._0x36faac,_0x979661._0x3f715e)],_0x1015fb,_0x2188ca);}let _0x24795e;function _0x184f91(_0x5c5a6c,_0x1c5707,_0x4882ba,_0x5d7046){return _0x25831a(_0x5c5a6c-0x7e,_0x1c5707-_0x1d50aa._0x5f39fc,_0x1c5707,_0x5c5a6c- -0x13);}try{_0x24795e=prepareCanonicalFileEdit(_0x319f0f[_0x30d340(-0x20,0xe5,0x1c9,_0x979661._0x32948a)],_0x319f0f[_0x30d340(0x343,_0x979661._0x347662,_0x979661._0x97bf7c,0x39f)],_0x58cc73[_0x184f91(_0x979661._0xc4d4cb,_0x979661._0x173e6d,_0x979661._0x21ae33,0x518)]);}catch(_0x290cac){if(_0x290cac instanceof ToolExecutionError&&_0x290cac[_0x184f91(_0x979661._0x5df125,0x69a,_0x979661._0x2f540d,_0x979661._0x37d946)][_0x184f91(0x46e,0x29f,_0x979661._0x4f8b67,_0x979661._0x456e3e)]===_0x184f91(_0x979661._0x93cd17,0x599,_0x979661._0x4431e4,0x5b2)){const _0x53f0e2=_0x290cac[_0x30d340(_0x979661._0xb641cb,_0x979661._0x3353ae,_0x979661._0x9af634,0x349)]['requiredLines']??collectRequiredLines(_0x58cc73[_0x30d340(_0x979661._0x5be08a,0x16b,0x328,0x1b1)]),{reasonLine:_0x3f2816,guidance:_0x9278e8}=unseenLinesMessageText(),_0x1dc8b7=buildRecoveryContext(_0x58cc73['filePath'],_0x1015fb,_0x53f0e2,_0x9b42d2['outputBudgetBytes'],_0x3f2816,_0x9278e8);_0x2a9aeb[_0x30d340(0x4f2,0x3bb,_0x979661._0x4ae973,_0x979661._0x149f34)](_0x1015fb,_0x1dc8b7[_0x30d340(0x428,0x53a,_0x979661._0x2efc11,_0x979661._0x4e7de4)]),throwUnseenLines(_0x58cc73[_0x184f91(_0x979661._0x84d6,_0x979661._0x1013f5,0x576,_0x979661._0x1c9624)],_0x33746b['canonicalPath'],_0x1015fb,_0x53f0e2,_0x1dc8b7);}if(_0x290cac instanceof ToolExecutionError&&_0x290cac['structured'][_0x30d340(_0x979661._0x2c8564,-0x41,0x15a,0x84)]==='no_change'){const {reasonLine:_0x37580d,guidance:_0x8b78c6}=noChangeMessageText(_0x58cc73[_0x184f91(_0x979661._0x84d6,_0x979661._0x1df3cb,_0x979661._0x14374c,0x58a)],0x1),_0x5484d9=buildRecoveryContext(_0x58cc73[_0x30d340(0x3c0,0x2bc,0x412,0x344)],_0x1015fb,collectRequiredLines(_0x58cc73[_0x30d340(0x369,_0x979661._0x1b8b30,0x328,0x4fb)]),_0x9b42d2[_0x184f91(_0x979661._0xa8f075,_0x979661._0x2e65c8,_0x979661._0x30194c,0x4fa)],_0x37580d,_0x8b78c6);_0x2a9aeb[_0x184f91(_0x979661._0x22b79a,0x515,_0x979661._0x2f2dcb,_0x979661._0x44f1da)](_0x1015fb,_0x5484d9['contextLines']),throwNoChange(_0x58cc73[_0x184f91(0x726,0x823,_0x979661._0x10b797,_0x979661._0x48e914)],_0x33746b[_0x184f91(0x78f,_0x979661._0x430454,_0x979661._0x3a417e,_0x979661._0x1ef6b5)],_0x1015fb,_0x5484d9,0x1);}throw _0x290cac;}assertPreviewWithinBounds(_0x24795e['blocks'],_0x33746b[_0x30d340(0x479,0x439,0x47b,0x5f9)],_0x58cc73[_0x30d340(_0x979661._0x47cb6a,0x4ae,0x412,0x336)]);const _0x30fa1d=_0x24795e[_0x30d340(_0x979661._0x45857e,_0x979661._0x2c23a2,0x328,0x37b)][_0x30d340(0x578,_0x979661._0x212b2b,0x3db,0x3e9)],_0x27595d=serializeNormalizedFile(_0x24795e[_0x184f91(_0x979661._0x4bf61d,_0x979661._0x3d8dab,0x714,0x739)],{'bom':_0x1015fb[_0x30d340(0x2f3,0x349,_0x979661._0x5b5918,_0x979661._0x39080e)],'eol':_0x1015fb['eol']}),_0x3d8cd3=_0x56c7a4[_0x30d340(_0x979661._0x316480,0x27d,_0x979661._0x16e76e,_0x979661._0x27c263)];if(_0x58cc73[_0x184f91(_0x979661._0x39d8a7,0x7c2,_0x979661._0x6713e8,_0x979661._0x3fa535)]){const _0x5d2dd0=buildResultText(_0x58cc73[_0x30d340(0x370,_0x979661._0x5c4f20,0x412,_0x979661._0x18ace1)],_0x1015fb,selectChangedContextLines(_0x24795e[_0x184f91(_0x979661._0x47b054,0x874,_0x979661._0x56f11c,0x7dc)],_0x1015fb,_0x30d340(0x539,_0x979661._0x196219,_0x979661._0x2d30dc,0x27a)),_0x9b42d2[_0x30d340(_0x979661._0x3fddb3,0x4cb,0x307,_0x979661._0x5f33c8)],_0x184f91(0x7cd,0x836,_0x979661._0x55597b,0x8fa)+_0x30fa1d+_0x30d340(0x493,_0x979661._0xb028b9,_0x979661._0x57a62d,0x340));_0x2a9aeb[_0x184f91(_0x979661._0x22b79a,_0x979661._0x5144f6,_0x979661._0x387489,0x483)](_0x1015fb,_0x5d2dd0[_0x30d340(0x53b,0x48e,0x43f,0x3d6)]);const _0x56d9bc={'preview':buildPreview(_0x300af4,_0x58cc73,_0x33746b,_0x319f0f,_0x24795e),'beforeDigest':_0x319f0f[_0x30d340(0x19a,-0x9,0x1c9,0x1f1)]['digest'],'afterDigest':_0x1015fb[_0x30d340(_0x979661._0x576f7f,_0x979661._0x416759,0x252,_0x979661._0xcb77ea)],'beforeTag':_0x58cc73[_0x30d340(0x63c,_0x979661._0x3ca705,_0x979661._0x350666,0x354)],'afterTag':_0x1015fb[_0x30d340(_0x979661._0x4d43f5,0x61e,_0x979661._0x46297b,_0x979661._0x2257ae)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x30fa1d,'tokenClassification':_0x184f91(_0x979661._0x367f12,_0x979661._0x406ace,_0x979661._0xeb020d,_0x979661._0xddbdf0)};return createToolOutput(_0x5d2dd0[_0x184f91(_0x979661._0x15ba8e,0x953,0x898,_0x979661._0x1bce18)],_0x56d9bc);}try{await _0x257dd6[_0x184f91(0x6f8,0x69a,0x867,_0x979661._0x17c836)](_0x33746b[_0x30d340(0x61d,0x400,_0x979661._0x440e9d,0x659)],_0x27595d,_0x3d8cd3);}catch(_0x39547a){const _0x31b802=_0x39547a instanceof Error?_0x39547a[_0x30d340(0x3fe,0x459,0x489,0x510)]:String(_0x39547a);throw createAnchoredFileError(_0x30d340(_0x979661._0x1c4337,0x50c,0x43b,0x5ae),_0x184f91(_0x979661._0x7111c9,_0x979661._0x51fb94,0x8c4,0x813)+_0x58cc73[_0x184f91(_0x979661._0x32f3bb,0x7c2,_0x979661._0x3235f4,0x615)]+':\x20'+_0x31b802+_0x30d340(_0x979661._0x1e6308,-_0x979661._0x1200f1,_0x979661._0x872685,_0x979661._0x1c33f3),{'path':_0x58cc73[_0x30d340(0x4c2,0x468,0x412,_0x979661._0x4422f3)],'canonicalPath':_0x33746b[_0x30d340(_0x979661._0x18474e,_0x979661._0x52a50c,0x47b,_0x979661._0x203e3c)]});}let _0x32ea21,_0x4ccd05;try{[_0x32ea21,_0x4ccd05]=await Promise[_0x184f91(0x71c,0x76b,0x7ce,_0x979661._0x2bd47c)]([_0x257dd6[_0x184f91(0x7eb,0x94a,0x9e6,0x6a4)](_0x33746b[_0x30d340(0x3ba,_0x979661._0x16f5b9,_0x979661._0x20f39c,0x440)]),_0x257dd6[_0x184f91(_0x979661._0x299640,_0x979661._0x33c573,_0x979661._0x189ea3,_0x979661._0x138ec1)](_0x33746b['canonicalPath'])]);}catch(_0x273f07){const _0x370eda=_0x273f07 instanceof Error?_0x273f07[_0x184f91(_0x979661._0x495bb8,0x7ff,0x90b,_0x979661._0x4f54cd)]:String(_0x273f07);throw createAnchoredFileError(_0x184f91(_0x979661._0x4912ff,_0x979661._0x59bb75,0x3d0,0x2be),'post_write_drift:\x20Failed\x20to\x20verify\x20'+_0x58cc73[_0x30d340(0x315,0x333,0x412,_0x979661._0x283b3f)]+'\x20after\x20writing\x20('+_0x370eda+');\x20no\x20rollback\x20was\x20performed.\x20Re-read\x20with\x20FileRead\x20first.',{'path':_0x58cc73[_0x30d340(_0x979661._0x2c8f50,0x61e,_0x979661._0x309805,0x5a7)],'canonicalPath':_0x33746b[_0x30d340(_0x979661._0x276f10,0x2c8,_0x979661._0x5ae861,_0x979661._0x30a602)]});}if(!_0x32ea21[_0x184f91(0x6d9,0x5c5,_0x979661._0x217662,_0x979661._0x2cb714)](_0x27595d)||(_0x4ccd05['mode']&0x1ff)!==(_0x3d8cd3&0x1ff)){const _0x583046='post_write_drift:\x20'+_0x58cc73['filePath']+_0x184f91(0x5e8,0x660,_0x979661._0x193c0d,_0x979661._0x2176da),_0x232736=_0x30d340(0x2a4,0x55f,_0x979661._0x5b868a,_0x979661._0x151ed5);let _0x1be49d;try{_0x1be49d=createNormalizedFileSnapshot(_0x33746b[_0x30d340(0x4c6,0x63a,_0x979661._0x23b33c,_0x979661._0x293684)],_0x32ea21);}catch{_0x1be49d=void 0x0;}let _0x26a73d;_0x1be49d!==void 0x0?(_0x26a73d=buildRecoveryContext(_0x58cc73[_0x184f91(0x726,_0x979661._0x9e0e20,_0x979661._0x127e11,_0x979661._0x441287)],_0x1be49d,selectChangedContextLines(_0x24795e[_0x30d340(_0x979661._0x53eb85,_0x979661._0x4457b8,_0x979661._0x205433,_0x979661._0x2d02e7)],_0x1be49d,_0x184f91(_0x979661._0x4e9643,_0x979661._0xfb55b7,0x499,0x55a)),_0x9b42d2['outputBudgetBytes'],_0x583046,_0x232736),_0x2a9aeb['record'](_0x1be49d,_0x26a73d[_0x30d340(_0x979661._0x20af62,_0x979661._0x1860f2,0x4a9,_0x979661._0xd1ba1a)])):_0x26a73d={'tag':'','digest':'','contextLines':[],'output':_0x583046+'\x0a'+_0x232736};throw createAnchoredFileError(_0x184f91(_0x979661._0x4912ff,_0x979661._0x1ad29e,_0x979661._0x3c80d6,0x5cc),_0x26a73d[_0x184f91(_0x979661._0x4a80a0,_0x979661._0xc67c0b,0x80f,0x834)],{'path':_0x58cc73['filePath'],'canonicalPath':_0x33746b[_0x184f91(_0x979661._0x4dfa3b,_0x979661._0x269bba,0x5f6,_0x979661._0x19ff22)],..._0x1be49d!==void 0x0?{'tag':_0x1be49d[_0x184f91(_0x979661._0x4b1c62,0x6e9,_0x979661._0x5b9089,0x93c)],'digest':_0x1be49d[_0x184f91(_0x979661._0xd91e8,_0x979661._0x128694,_0x979661._0x3421c4,_0x979661._0x193c0d)]}:{},..._0x26a73d['contextLines'][_0x30d340(_0x979661._0x4293b2,_0x979661._0x399343,0x3db,_0x979661._0x349182)]>0x0?{'contextLines':[..._0x26a73d[_0x184f91(_0x979661._0x269bba,0x8d8,0x953,_0x979661._0x2a9c46)]]}:{}});}const _0x41ac6a=createNormalizedFileSnapshot(_0x33746b[_0x184f91(0x78f,0x826,0x5ec,0x837)],_0x32ea21),_0x18adaf=buildResultText(_0x58cc73[_0x184f91(_0x979661._0x32f3bb,0x7c9,0x6a3,0x901)],_0x41ac6a,selectChangedContextLines(_0x24795e['blocks'],_0x41ac6a,_0x30d340(_0x979661._0x44eee3,_0x979661._0x4c6708,_0x979661._0x22a1f7,_0x979661._0x29fe69)),_0x9b42d2['outputBudgetBytes'],_0x30d340(_0x979661._0x26c35a,0x292,0x2b8,0x24c)+_0x30fa1d+_0x30d340(0x2ad,_0x979661._0x55a5fb,_0x979661._0x367023,_0x979661._0x3f885e));_0x2a9aeb['record'](_0x41ac6a,_0x18adaf[_0x184f91(0x753,0x7eb,_0x979661._0x360799,0x90e)]),_0x2a9aeb[_0x184f91(0x738,0x639,_0x979661._0x62ed5,0x75d)](_0x33746b[_0x184f91(0x78f,0x646,0x615,_0x979661._0x2fd448)]);const _0x2e54bb={'preview':buildPreview(_0x300af4,_0x58cc73,_0x33746b,_0x319f0f,_0x24795e),'beforeDigest':_0x319f0f[_0x184f91(0x4dd,0x4aa,_0x979661._0x5cfe2d,0x662)][_0x30d340(0x181,0x437,0x252,0x26f)],'afterDigest':_0x41ac6a[_0x30d340(_0x979661._0x1c821f,_0x979661._0x50cd96,0x252,0x1aa)],'beforeTag':_0x58cc73[_0x30d340(0x5c0,0x5ab,_0x979661._0x46297b,0x612)],'afterTag':_0x41ac6a[_0x184f91(0x80e,_0x979661._0x380635,_0x979661._0x340732,0x83a)],'bytesWritten':_0x27595d[_0x184f91(0x6ef,_0x979661._0x3ad386,_0x979661._0x36bb23,0x6ea)],'dryRun':![],'operationCount':_0x30fa1d,'tokenClassification':'edit'};return createToolOutput(_0x18adaf['output'],_0x2e54bb);});}import{readFile as _0x4005c7,stat as _0x59dfef}from'fs/promises';import*as _0x215c7d from'path';function detectEol(_0x241177){const _0x31e82a={_0x254312:0x5d5,_0x47071b:0x5e8,_0x4b6186:0x5b9,_0x3b21e8:0x430},_0x269658={_0x3f43bd:0x76},_0x152cf2={_0x1a9fb8:0xa5,_0x16ea09:0x2d,_0xc3d79c:0x44};function _0x136c3f(_0x25dace,_0x2ae078,_0x8cca0d,_0x203bb3){return _0x47b891(_0x25dace,_0x203bb3- -_0x152cf2._0x1a9fb8,_0x8cca0d-_0x152cf2._0x16ea09,_0x203bb3-_0x152cf2._0xc3d79c);}function _0x501733(_0x5be876,_0x110b7e,_0x23ee8d,_0x4c979e){return _0x47b891(_0x23ee8d,_0x5be876- -_0x269658._0x3f43bd,_0x23ee8d-0x182,_0x4c979e-0x138);}return/\r\n/['test'](_0x241177['toString'](_0x136c3f(_0x31e82a._0x254312,0x5c3,0x628,_0x31e82a._0x47071b)))?_0x501733(_0x31e82a._0x4b6186,0x59b,0x420,_0x31e82a._0x3b21e8):'lf';}function normalizeToLf(_0x264a01){const _0x17f462={_0x119b52:0x5f5,_0x2f909:0x542,_0x3d1ab1:0x697,_0x575413:0x6b6},_0x597f94={_0x4c9ddc:0x332,_0x20125a:0xcb};function _0x1487f2(_0x3171cc,_0x3498eb,_0x488c9f,_0x5ef55c){return _0xe18bb0(_0x488c9f,_0x3171cc-_0x597f94._0x4c9ddc,_0x488c9f-0xc,_0x5ef55c-_0x597f94._0x20125a);}return _0x264a01[_0x1487f2(_0x17f462._0x119b52,_0x17f462._0x2f909,_0x17f462._0x3d1ab1,_0x17f462._0x575413)](/\r\n/g,'\x0a');}function convertEol(_0x14e367,_0x2e46d7){const _0x2410dd={_0x388a04:0x144,_0x12d2ac:0x106,_0x15d61c:0x93,_0x5042a3:0x22b},_0x245458={_0x3d5491:0xf8},_0x2b1553={_0xef8092:0xbd,_0x13e912:0x22};function _0x2c77b9(_0x275bec,_0x1eab4b,_0x3dc292,_0xd45358){return _0xe18bb0(_0x3dc292,_0xd45358-_0x2b1553._0xef8092,_0x3dc292-_0x2b1553._0x13e912,_0xd45358-0x93);}function _0x2d5988(_0x36a99f,_0x429e9a,_0x18ea00,_0x336516){return _0x47b891(_0x429e9a,_0x336516- -0x529,_0x18ea00-0x1de,_0x336516-_0x245458._0x3d5491);}return _0x2e46d7===_0x2d5988(_0x2410dd._0x388a04,0x2e0,0x198,_0x2410dd._0x12d2ac)?_0x14e367[_0x2d5988(_0x2410dd._0x15d61c,0xeb,0xc2,_0x2410dd._0x5042a3)](/\n/g,'\x0d\x0a'):_0x14e367;}function resolveAnchoredEditTarget(_0x1892d0,_0x16e2fd,_0x3873d4,_0x3e380e){const _0x52490f={_0xc98ad6:0x249,_0x43a102:0x1d4,_0x348f7e:0x204,_0x37900d:0xb6,_0x414ddb:0x4d,_0x187a21:0x180,_0x5ca283:0xd5,_0x5503e0:0x6e,_0x230d18:0x10,_0x5aa682:0x1b1,_0x517847:0x286,_0xf0e69e:0x289,_0x50d295:0x161,_0x2d57fe:0x156,_0x15f0e1:0xd2,_0x40d98b:0x9e,_0x5653c6:0x120},_0x130de2={_0x3417c7:0x402},_0x59d873={_0x3e79fa:0x118},_0x59f24c=_0x1892d0[_0x268ff1(0x134,0x2b9,0x16f,_0x52490f._0xc98ad6)]??_0x42ea66(_0x52490f._0x43a102,0x132,0x24d,_0x52490f._0x348f7e);if(_0x59f24c==='exact')return void 0x0;const _0x3f5566=_0x1892d0['observations'],_0x343da0=_0x1892d0[_0x42ea66(0x27,_0x52490f._0x37900d,-0x115,-0xd3)],_0x51c1ba=_0x1892d0[_0x268ff1(-_0x52490f._0x414ddb,_0x52490f._0x187a21,0x162,_0x52490f._0x5ca283)];if(_0x3f5566===void 0x0||_0x343da0===void 0x0||_0x51c1ba===void 0x0){const _0x5af97f=[_0x3f5566===void 0x0?'observations':void 0x0,_0x343da0===void 0x0?_0x268ff1(0x10a,_0x52490f._0x5503e0,-_0x52490f._0x230d18,_0x52490f._0x5aa682):void 0x0,_0x51c1ba===void 0x0?'outputBudgetBytes':void 0x0][_0x42ea66(_0x52490f._0x517847,0x3ae,_0x52490f._0xf0e69e,0x334)](_0x3dfe10=>_0x3dfe10!==void 0x0)['join'](',\x20');throw new Error(_0x16e2fd+'\x20'+_0x59f24c+_0x268ff1(0x1,_0x52490f._0x50d295,0x2a,-0x151)+_0x5af97f+_0x42ea66(_0x52490f._0x2d57fe,_0x52490f._0x15f0e1,-_0x52490f._0x40d98b,_0x52490f._0x5653c6));}function _0x42ea66(_0x17b0b4,_0x3a80d0,_0x151cff,_0x5ebcb1){return _0xe18bb0(_0x17b0b4,_0x3a80d0-0x155,_0x151cff-_0x59d873._0x3e79fa,_0x5ebcb1-0x32);}function _0x268ff1(_0x1d478d,_0x15354f,_0x110d56,_0x56c5e2){return _0x47b891(_0x15354f,_0x110d56- -_0x130de2._0x3417c7,_0x110d56-0x1d7,_0x56c5e2-0x197);}return{'mode':_0x59f24c,'environment':{'defaultCwd':_0x3873d4,'allowedDirs':_0x3e380e,'observations':_0x3f5566,'mutations':_0x343da0,'outputBudgetBytes':_0x51c1ba}};}function createFileEditTool(_0xee878a={}){const _0x43ce44={_0x21145d:0x433,_0x1ca54e:0x53a,_0x578cb3:0xd1,_0x251aec:0x19,_0x586998:0x66,_0x3a63ad:0x408,_0x39f91c:0x533,_0x121843:0x1d4,_0x39a379:0xea,_0x1e81b3:0x96,_0x106fbd:0x82,_0x1edb24:0x41d,_0x31332f:0x51c,_0xd3e230:0x517,_0xd73ba9:0x540,_0x39f3b1:0x52,_0x2f393f:0x53,_0x1c2323:0x120,_0x1cf29d:0x66,_0x7bccfd:0x15d,_0x920f22:0xe8,_0x4d5fa8:0x270,_0x1827f0:0x373,_0x1809d7:0x5e6,_0x37fa6c:0x38a,_0x232f4d:0x2de,_0x1503e1:0x2ad,_0x4ce9d0:0x130,_0x2dcceb:0x16a,_0x2777cd:0x374,_0xc438:0x23a,_0x569f62:0x570,_0x21d928:0x184,_0xa0595f:0x314,_0x37f06f:0x311,_0x2b8b19:0x179,_0x22cb5d:0x159,_0x12f373:0x87},_0x2b6ca1={_0x4b7f11:0x6e5,_0x4feb13:0x7e6,_0x564d9b:0x7f1,_0x2e4f3d:0x3cf,_0x7fff9c:0x406,_0x22d0f6:0x279,_0x10987f:0x488,_0x21b83d:0x5fe,_0x52c1ff:0x7d9,_0x5b901e:0x7ee,_0x2a3bde:0x915,_0x73f410:0x70a,_0x2bff2e:0x8e7,_0x3821d2:0x81e,_0x227f90:0x712,_0x43590f:0x8c9,_0x35fd88:0x720,_0x5321aa:0x51a,_0x19ef14:0x76b,_0x2b3dc6:0x8d3,_0x450077:0x645,_0x440e3b:0x8ae,_0x3dd035:0x75b,_0x185259:0x675,_0x51fb5d:0x633,_0x126f85:0x70c,_0x322a96:0x7de,_0x49793d:0x9f9,_0x403f7b:0x807,_0x2d2c28:0x6e7,_0x38a45c:0x831,_0x1a0b40:0x737,_0x163710:0x6ea,_0x1fea37:0x77e,_0x3a0ceb:0x619,_0x258608:0x6bc},_0x5e3926={_0xb31364:0x1a0},_0x501536={_0x445f6e:0xa8,_0x5321ae:0x57},_0x9be332={_0x16c1cc:0x123,_0x3f6f5a:0x45},_0x1cc4a6={_0x52f537:0x433,_0x1d222a:0x1af,_0x187ae1:0xc};function _0x2f79d3(_0x45abb9,_0x4aa669,_0x3587ba,_0x4439a9){return _0x47b891(_0x4aa669,_0x4439a9- -_0x1cc4a6._0x52f537,_0x3587ba-_0x1cc4a6._0x1d222a,_0x4439a9-_0x1cc4a6._0x187ae1);}const _0x4956fc=_0x215c7d[_0x540847(0x496,_0x43ce44._0x21145d,0x236,_0x43ce44._0x1ca54e)](_0xee878a[_0x2f79d3(-_0x43ce44._0x578cb3,_0x43ce44._0x251aec,_0x43ce44._0x586998,0x32)]??process[_0x540847(0x447,_0x43ce44._0x3a63ad,0x3c2,0x230)]()),_0x4437b3=_0xee878a[_0x540847(0x3ab,_0x43ce44._0x39f91c,0x470,0x376)]??[];function _0x540847(_0x5266db,_0x112963,_0x438a19,_0x315acc){return _0xe18bb0(_0x438a19,_0x112963-0x492,_0x438a19-_0x9be332._0x16c1cc,_0x315acc-_0x9be332._0x3f6f5a);}const _0x34cfb7=_0xee878a['name']??_0x2f79d3(-_0x43ce44._0x121843,_0x43ce44._0x39a379,_0x43ce44._0x1e81b3,-_0x43ce44._0x106fbd),_0x161434=resolveAnchoredEditTarget(_0xee878a,_0x34cfb7,_0x4956fc,_0x4437b3);if(_0x161434!==void 0x0){const {mode:_0x55b701,environment:_0x362be7}=_0x161434;return defineTool({'name':_0x34cfb7,'permissionClass':_0x540847(_0x43ce44._0x1edb24,_0x43ce44._0x31332f,_0x43ce44._0xd3e230,_0x43ce44._0xd73ba9),'description':_0x55b701==='hashline'?'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20applying\x20a\x20snapshot-anchored\x20Hashline\x20patch.':_0x2f79d3(-0xba,_0x43ce44._0x39f3b1,0x195,-_0x43ce44._0x2f393f),'inputSchema':_0x55b701===_0x2f79d3(-_0x43ce44._0x1c2323,-0x24e,-_0x43ce44._0x1cf29d,-0x7d)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x1bfa9e,_0x12ad0f){return yield await executeAnchoredFileEdit(_0x55b701,_0x1bfa9e,_0x12ad0f,_0x362be7),void 0x0;}});}return defineTool({'name':_0x34cfb7,'permissionClass':_0x2f79d3(0x66,0x18a,_0x43ce44._0x7bccfd,_0x43ce44._0x920f22),'description':_0x540847(_0x43ce44._0x4d5fa8,0x479,_0x43ce44._0x1827f0,_0x43ce44._0x1809d7),'inputSchema':{'type':_0x2f79d3(_0x43ce44._0x37fa6c,_0x43ce44._0x232f4d,0x23c,_0x43ce44._0x1503e1),'properties':{'filePath':{'type':_0x2f79d3(0x176,-0x36,0x2ba,0x184)},'description':{'type':'string','description':_0x2f79d3(_0x43ce44._0x4ce9d0,_0x43ce44._0x2dcceb,_0x43ce44._0x2777cd,_0x43ce44._0xc438)},'oldText':{'type':_0x540847(0x638,0x5b8,0x4ea,_0x43ce44._0x569f62)},'newText':{'type':_0x2f79d3(0x6d,0x59,_0x43ce44._0x39a379,_0x43ce44._0x21d928)},'dryRun':{'type':_0x2f79d3(0x37a,_0x43ce44._0xa0595f,0x40c,_0x43ce44._0x37f06f)}},'required':['filePath',_0x2f79d3(0x17c,0x245,-0x173,0x75),_0x2f79d3(_0x43ce44._0x2b8b19,-0x13f,_0x43ce44._0x22cb5d,_0x43ce44._0x12f373)]},async *'execute'(_0x319e56){const _0xbb63ed=resolveAllowedPath(_0x4956fc,_0x4437b3,_0x319e56[_0xe43ea8(0x8c6,0x50e,_0x2b6ca1._0x4b7f11,0x70c)]);await assertWorkspaceFile(_0xbb63ed);const _0x8c3dd=await _0x59dfef(_0xbb63ed),_0x3f1eaa=await _0x4005c7(_0xbb63ed),_0x39785d=detectEol(_0x3f1eaa),_0x35ddd9=normalizeToLf(_0x3f1eaa[_0xe43ea8(_0x2b6ca1._0x4feb13,0x6e7,0x9b9,0x826)]('utf8')),_0x41929b=normalizeToLf(_0x319e56[_0x23347e(0x6b0,0x649,0x82c,0x706)]),_0x544818=normalizeToLf(_0x319e56['newText']),_0x1758fd=replaceFirstExact(_0x35ddd9,_0x41929b,_0x544818);if(_0x1758fd===void 0x0){const _0x49b380=_0x41929b['slice'](0x0,0x64)[_0xe43ea8(0x9f6,0x7ec,0x6be,_0x2b6ca1._0x564d9b)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xe43ea8(_0x2b6ca1._0x2e4f3d,_0x2b6ca1._0x7fff9c,_0x2b6ca1._0x22d0f6,_0x2b6ca1._0x10987f)+_0x49b380+(_0x41929b[_0x23347e(_0x2b6ca1._0x21b83d,_0x2b6ca1._0x52c1ff,_0x2b6ca1._0x5b901e,0x6ca)]>0x64?_0x23347e(_0x2b6ca1._0x564d9b,0x717,0x595,0x7be):'')+'\x22',{'filePath':_0x319e56['filePath']});}const _0x329960=convertEol(_0x1758fd['after'],_0x39785d),_0x58c282=Buffer['from'](_0x329960,_0xe43ea8(0x5d4,0x59c,_0x2b6ca1._0x2a3bde,0x72a)),_0x3f8525=sha256Bytes(_0x3f1eaa),_0x185c09=sha256Bytes(_0x58c282);function _0xe43ea8(_0x4f8794,_0x403868,_0x1502d7,_0x2eec9f){return _0x540847(_0x4f8794-_0x501536._0x445f6e,_0x2eec9f-0x9c,_0x4f8794,_0x2eec9f-_0x501536._0x5321ae);}const _0xf4dd0=_0x3f8525===_0x185c09;function _0x23347e(_0xb76c5,_0x10b510,_0x1af131,_0x3448dd){return _0x540847(_0xb76c5-0x1b5,_0x10b510-_0x5e3926._0xb31364,_0x3448dd,_0x3448dd-0xdc);}const _0x5ad043=_0x319e56[_0x23347e(_0x2b6ca1._0x73f410,_0x2b6ca1._0x2bff2e,_0x2b6ca1._0x3821d2,_0x2b6ca1._0x5b901e)]??![];return!_0x5ad043&&!_0xf4dd0&&await atomicReplaceFile(_0xbb63ed,_0x58c282,_0x8c3dd[_0x23347e(0x85d,_0x2b6ca1._0x227f90,0x511,_0x2b6ca1._0x43590f)]),yield createToolOutput(_0xf4dd0?_0xe43ea8(_0x2b6ca1._0x35fd88,0x356,0x659,_0x2b6ca1._0x5321aa):_0x5ad043?_0x23347e(0x965,_0x2b6ca1._0x19ef14,_0x2b6ca1._0x2b3dc6,_0x2b6ca1._0x450077):_0xe43ea8(_0x2b6ca1._0x440e3b,0x73d,0x55b,_0x2b6ca1._0x3dd035),{'filePath':_0x319e56[_0xe43ea8(_0x2b6ca1._0x185259,_0x2b6ca1._0x51fb5d,0x72f,_0x2b6ca1._0x126f85)],'resolvedPath':_0xbb63ed,'created':_0x8c3dd['birthtime'][_0xe43ea8(_0x2b6ca1._0x322a96,0x7b8,0x5dd,0x5e3)](),'modified':_0x8c3dd[_0xe43ea8(0x905,0x60d,_0x2b6ca1._0x49793d,_0x2b6ca1._0x403f7b)][_0x23347e(0x8e5,_0x2b6ca1._0x2d2c28,0x69f,0x846)](),'size':_0x8c3dd[_0xe43ea8(_0x2b6ca1._0x38a45c,_0x2b6ca1._0x1a0b40,0x796,0x6d7)],'eol':_0x39785d,'oldTextLength':_0x41929b[_0xe43ea8(0x82c,0x7e0,_0x2b6ca1._0x163710,0x6d5)],'newTextLength':_0x544818[_0xe43ea8(_0x2b6ca1._0x1fea37,0x8e2,_0x2b6ca1._0x3a0ceb,0x6d5)],'bytesWritten':_0xf4dd0||_0x5ad043?0x0:_0x58c282[_0x23347e(0x748,0x7d9,_0x2b6ca1._0x258608,0x80b)],'beforeSha':_0x3f8525,'afterSha':_0x185c09,'dryRun':_0x5ad043,'noChange':_0xf4dd0,'lineNumbers':_0x1758fd['lineNumbers']}),void 0x0;}});}var FileMutationCoordinator=class{[_0xe18bb0(0x2c5,0x2ef,0x21e,0x1e0)]=new Map();async[_0xe18bb0(-0x1b2,-0x3d,-0x55,-0x1ca)](_0x2cd0c6,_0x43af15,_0x17e87e){const _0x1c436e={_0x416ef4:0x1cd,_0x211634:0x304,_0x575274:0x4f8,_0x1afd60:0x47e,_0x398345:0x326,_0x232891:0x121,_0x51df2a:0x772,_0x4e1fed:0x652,_0x1b519a:0x4ba,_0xe9aca5:0x16,_0x4e4d77:0x12c,_0x8eba2:0x15,_0x2e2c35:0x3fc},_0x3bd410={_0x1d4bf4:0x5b8,_0x49b730:0x688,_0x4f15f3:0x2f4,_0x2a87c0:0x416,_0x7bed82:0x444},_0x539e95={_0xc4dd52:0x133};function _0x1c0a93(_0x5db82d,_0xa9bdda,_0x167f00,_0x12d9b1){return _0xe18bb0(_0x167f00,_0x12d9b1-0x7c,_0x167f00-0x106,_0x12d9b1-0x1b6);}throwIfAborted(_0x43af15);const _0x5590a9=this['tails']['get'](_0x2cd0c6)??Promise[_0x17150e(_0x1c436e._0x416ef4,_0x1c436e._0x211634,_0x1c436e._0x575274,_0x1c436e._0x1afd60)](),_0x2b6ab9=_0x5590a9[_0x1c0a93(_0x1c436e._0x398345,_0x1c436e._0x232891,0xb2,0x257)](async()=>{return throwIfAborted(_0x43af15),_0x17e87e();}),_0x174c74=_0x2b6ab9['then'](()=>void 0x0,()=>void 0x0);this[_0x17150e(_0x1c436e._0x51df2a,_0x1c436e._0x4e1fed,0x607,_0x1c436e._0x1b519a)][_0x1c0a93(0x120,_0x1c436e._0xe9aca5,-_0x1c436e._0x4e4d77,-_0x1c436e._0x8eba2)](_0x2cd0c6,_0x174c74);function _0x17150e(_0x2c2243,_0x2cacca,_0x47e095,_0x4ee09b){return _0xe18bb0(_0x47e095,_0x2cacca-0x363,_0x47e095-0x131,_0x4ee09b-0x1f);}return void _0x174c74[_0x17150e(0x274,0x37e,_0x1c436e._0x2e2c35,0x4ab)](()=>{const _0x4bf3c2={_0x158140:0x1ac,_0x109ad1:0x1b3};function _0x582476(_0x520949,_0xae716,_0x35b19f,_0x301536){return _0x17150e(_0x520949-_0x4bf3c2._0x158140,_0x520949- -0x9a,_0x35b19f,_0x301536-_0x4bf3c2._0x109ad1);}function _0x2e75ea(_0x3c65c9,_0x349366,_0x41cd53,_0x16da0c){return _0x17150e(_0x3c65c9-_0x539e95._0xc4dd52,_0x3c65c9- -0x9a,_0x349366,_0x16da0c-0x141);}this[_0x2e75ea(_0x3bd410._0x1d4bf4,0x4aa,_0x3bd410._0x49b730,0x66a)][_0x582476(0x365,_0x3bd410._0x4f15f3,0x39b,0x1e4)](_0x2cd0c6)===_0x174c74&&this[_0x2e75ea(0x5b8,0x750,0x3e7,0x5cb)][_0x2e75ea(_0x3bd410._0x2a87c0,0x218,0x5f9,_0x3bd410._0x7bed82)](_0x2cd0c6);}),_0x2b6ab9;}};import{mkdir as _0x363f05,stat as _0x461720}from'fs/promises';import*as _0x4a4b86 from'path';function createFileNewTool(_0x1db193={}){const _0x268139={_0x4dc760:0x18d,_0x84da65:0x1a3,_0x1b814a:0x2ad,_0x5d3797:0x232,_0x50a6dc:0x19,_0x5a77cc:0x178,_0x38fbf0:0x157,_0x51845a:0x1d6,_0x45a5f9:0x158,_0xd5dc20:0x35a,_0x31088f:0x2a,_0x431b6b:0x9a,_0xaec13e:0xe1,_0x32eb57:0x228,_0x1720f7:0xb0,_0x184899:0x1e4,_0x16b735:0x42c,_0x1bd87f:0x328,_0x1c6ad9:0x44b,_0x3f9acd:0x1f7,_0x4acae2:0x103,_0x3ed0b9:0x45b,_0x9c6cf3:0x152,_0x568d13:0x1fb},_0x3fb3d8={_0x50b52c:0x2ba,_0x4eca7d:0x4ad,_0x118d96:0x77,_0x2cfb71:0x396,_0x14742a:0x297,_0x238773:0x2e8,_0x55fd57:0x192,_0x2e57ec:0x27d,_0x22e782:0x2cb,_0x1c1676:0x15d,_0x2c6ddc:0x41f,_0x22fa8c:0x48f,_0x55a639:0x37a,_0x3208ca:0x547,_0x1a313b:0x5f0,_0x2952cd:0x550,_0xac224:0x3eb,_0xd39d32:0x432,_0xacf1d6:0x412,_0x4417ff:0x42c,_0x43cbfa:0x5ea,_0x177a6f:0x45d,_0x12a31a:0x5c0,_0x7ddcf1:0x5b3,_0x298d34:0x30e,_0x5911e7:0x35b,_0x5b095c:0x4ef,_0x15e39a:0x377,_0x43d11d:0x3cd,_0x1204d7:0x67c,_0x20617b:0x613,_0x3dd852:0x6ef,_0x131567:0x496,_0x3525ca:0x695,_0x2e54ec:0x417,_0x2e696e:0x550,_0x4ed179:0x52c,_0x48d67a:0x691,_0x3d1643:0x519,_0x466d17:0x46f,_0x282d9d:0x329,_0x3a835d:0x309},_0x1d9004={_0x277e72:0xec},_0x4fda9b={_0x40da26:0x1a2},_0x530a70=_0x4a4b86[_0x132201(_0x268139._0x4dc760,_0x268139._0x84da65,0x48,-0x25)](_0x1db193[_0x132201(0x2c,0x1d6,_0x268139._0x1b814a,_0x268139._0x5d3797)]??process[_0x132201(-_0x268139._0x50a6dc,_0x268139._0x5a77cc,-0xe,0x19b)]()),_0x5a7a15=_0x1db193[_0x22afae(0x116,_0x268139._0x38fbf0,-0x154,-0x3a)]??[],_0x3addb5=_0x1db193[_0x132201(_0x268139._0x51845a,_0x268139._0x45a5f9,0x23a,0xd8)]??_0x22afae(_0x268139._0xd5dc20,0x356,-_0x268139._0x31088f,_0x268139._0x51845a);function _0x22afae(_0xe7dbeb,_0x273ded,_0x49f913,_0x239523){return _0xe18bb0(_0xe7dbeb,_0x239523- -0xdb,_0x49f913-0x126,_0x239523-_0x4fda9b._0x40da26);}function _0x132201(_0x598300,_0x5cb892,_0x1f99e8,_0x50414b){return _0xe18bb0(_0x1f99e8,_0x5cb892-0x202,_0x1f99e8-0x162,_0x50414b-_0x1d9004._0x277e72);}const {observations:_0x8705f4,anchored:anchored=![]}=_0x1db193;return defineTool({'name':_0x3addb5,'permissionClass':_0x22afae(_0x268139._0x431b6b,-_0x268139._0xaec13e,0xde,-0x51),'description':_0x132201(0x141,_0x268139._0x32eb57,_0x268139._0x1720f7,_0x268139._0x184899),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x132201(_0x268139._0x16b735,_0x268139._0x1bd87f,0x2ea,_0x268139._0x1c6ad9)},'content':{'type':_0x132201(0x4b7,0x328,0x305,_0x268139._0x32eb57)}},'required':[_0x22afae(-0x28,_0x268139._0x3f9acd,-0x77,_0x268139._0x4acae2),_0x132201(_0x268139._0x3ed0b9,0x2ff,_0x268139._0x9c6cf3,_0x268139._0x568d13)]},async *'execute'(_0xba381d,_0x45b77b){const _0x20d798={_0x3888aa:0x17},_0x27c38b=resolveAllowedPath(_0x530a70,_0x5a7a15,_0xba381d[_0x46028d(0x3c9,_0x3fb3d8._0x50b52c,_0x3fb3d8._0x4eca7d,0x368)]),_0x255eb4=await _0x461720(_0x27c38b)[_0x46028d(0x23e,_0x3fb3d8._0x118d96,_0x3fb3d8._0x2cfb71,_0x3fb3d8._0x14742a)](()=>void 0x0);function _0x2062cc(_0x38a8d2,_0x1c238a,_0x62ea52,_0x53dbc1){return _0x132201(_0x38a8d2-0x1,_0x62ea52-0x170,_0x1c238a,_0x53dbc1-0x10e);}function _0x46028d(_0x54fd50,_0x3d1746,_0x4d8fba,_0x6d9775){return _0x132201(_0x54fd50-0x86,_0x54fd50- -_0x20d798._0x3888aa,_0x3d1746,_0x6d9775-0x161);}const _0x1b9b9b=_0x255eb4!==void 0x0,_0x6e6dd7=Buffer['from'](_0xba381d[_0x46028d(_0x3fb3d8._0x238773,_0x3fb3d8._0x55fd57,_0x3fb3d8._0x2e57ec,0x290)],'utf8'),_0x3954ee=_0x255eb4!==void 0x0?_0x255eb4[_0x46028d(_0x3fb3d8._0x22e782,0x1f2,_0x3fb3d8._0x1c1676,0x322)]&0xfff:0x1b6&~process[_0x2062cc(_0x3fb3d8._0x2c6ddc,_0x3fb3d8._0x22fa8c,0x2ed,_0x3fb3d8._0x55a639)]();let _0xc7b4d9;anchored&&_0x8705f4!==void 0x0&&(_0xc7b4d9=createNormalizedFileSnapshot(_0x27c38b,_0x6e6dd7)[_0x46028d(0x4b1,_0x3fb3d8._0x3208ca,_0x3fb3d8._0x1a313b,0x60a)]);await _0x363f05(_0x4a4b86['dirname'](_0x27c38b),{'recursive':!![]}),await atomicReplaceFile(_0x27c38b,_0x6e6dd7,_0x3954ee);if(_0xc7b4d9!==void 0x0&&_0x8705f4!==void 0x0){const _0x4fcd3d=await resolveCanonicalAllowedFile(_0x530a70,_0x5a7a15,_0xba381d[_0x2062cc(0x701,0x436,_0x3fb3d8._0x2952cd,_0x3fb3d8._0xac224)]),_0x10dc32=createNormalizedFileSnapshot(_0x4fcd3d[_0x46028d(_0x3fb3d8._0xd39d32,0x3a1,_0x3fb3d8._0xacf1d6,0x50a)],_0x6e6dd7);_0x8705f4['bindSession'](_0x45b77b[_0x2062cc(_0x3fb3d8._0x4417ff,_0x3fb3d8._0x43cbfa,_0x3fb3d8._0x177a6f,_0x3fb3d8._0x12a31a)]),_0x8705f4[_0x2062cc(0x434,_0x3fb3d8._0x7ddcf1,0x494,0x49f)](_0x10dc32,_0x10dc32[_0x2062cc(_0x3fb3d8._0x298d34,0x19d,0x2f5,0x3e3)][_0x46028d(_0x3fb3d8._0x5911e7,0x3f9,0x43d,0x360)]((_0x4fb893,_0x4459d6)=>_0x4459d6+0x1));}return yield createToolOutput(_0xc7b4d9===void 0x0?_0x46028d(_0x3fb3d8._0x5b095c,_0x3fb3d8._0x15e39a,_0x3fb3d8._0x43d11d,_0x3fb3d8._0x1204d7)+_0xba381d['filePath']+'.':'['+_0xba381d[_0x2062cc(0x59d,0x443,0x550,_0x3fb3d8._0x20617b)]+'#'+_0xc7b4d9+_0x2062cc(0x60b,_0x3fb3d8._0x3dd852,0x4e6,_0x3fb3d8._0x131567)+_0xba381d[_0x2062cc(_0x3fb3d8._0x3525ca,0x64c,_0x3fb3d8._0x2952cd,0x608)]+'.',{'filePath':_0xba381d[_0x2062cc(_0x3fb3d8._0x2e54ec,0x3fa,_0x3fb3d8._0x2e696e,_0x3fb3d8._0x4ed179)],'resolvedPath':_0x27c38b,'bytes':_0x6e6dd7[_0x2062cc(0x37f,_0x3fb3d8._0x48d67a,_0x3fb3d8._0x3d1643,0x632)],'lines':_0xba381d[_0x2062cc(0x27a,0x5b2,_0x3fb3d8._0x466d17,0x4b6)][_0x2062cc(_0x3fb3d8._0x282d9d,0x2ef,_0x3fb3d8._0x3a835d,0x48d)](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x1b9b9b,..._0xc7b4d9===void 0x0?{}:{'tag':_0xc7b4d9}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x47b891(0x5f9,0x3f4,0x1e6,0x557)];['tagForDigest'];['sessionId'];['versionsByPath']=new Map();[_0x47b891(0x784,0x59d,0x70f,0x75e)]=[];[_0xe18bb0(0x78,0x146,0x9c,0x17c)]=0x0;['bytesByDigest']=new Map();[_0xe18bb0(0xb5,0x25f,0x173,0x38d)]=new Map();constructor(_0x3eeea8={}){const _0x1c4108={_0x210a4b:0x1d6,_0x2358e7:0x1f1,_0x3a283e:0x30e,_0x420fc4:0x6a8,_0x221525:0x437,_0x116ade:0x538},_0x468b76={_0x2c73a3:0x31f,_0x42ea62:0x182},_0x1293c0={_0x86f250:0x28e,_0x53bc81:0x14e,_0x4db13d:0xd1};this[_0x304d73(_0x1c4108._0x210a4b,_0x1c4108._0x2358e7,0x315,_0x1c4108._0x3a283e)]={...FILE_OBSERVATION_LIMITS,..._0x3eeea8['limits']};function _0x304d73(_0x10674d,_0x4be759,_0x10a37a,_0x2e30ad){return _0xe18bb0(_0x10a37a,_0x4be759-_0x1293c0._0x86f250,_0x10a37a-_0x1293c0._0x53bc81,_0x2e30ad-_0x1293c0._0x4db13d);}function _0xf7130e(_0x352dd1,_0x18bdd0,_0x46d65e,_0x1b42e4){return _0x47b891(_0x18bdd0,_0x1b42e4- -_0x468b76._0x2c73a3,_0x46d65e-_0x468b76._0x42ea62,_0x1b42e4-0x187);}this[_0x304d73(_0x1c4108._0x420fc4,0x4bf,0x44e,0x3fe)]=_0x3eeea8[_0xf7130e(_0x1c4108._0x221525,_0x1c4108._0x116ade,0x1f6,0x3a3)];}[_0xe18bb0(-0x148,-0x2,0x1af,-0xb1)](_0x535a10){const _0x4f3d06={_0x1920e9:0x134,_0x3d4d41:0x215,_0x34b6f6:0x3f,_0x1b1283:0x143,_0x112a1f:0x1e8},_0x22f03c={_0x20f3f6:0x53d},_0x3626b8={_0x2e7fa0:0x448,_0x50bf9f:0x10e};if(this[_0x5a4fce(_0x4f3d06._0x1920e9,0x7f,0x192,0x20d)]===_0x535a10)return;function _0x5a4fce(_0x2b3991,_0x53c20e,_0x159d18,_0x8db01e){return _0x47b891(_0x53c20e,_0x2b3991- -_0x3626b8._0x2e7fa0,_0x159d18-_0x3626b8._0x50bf9f,_0x8db01e-0x30);}function _0x46f151(_0x29a46f,_0x3f98f2,_0x5b68c7,_0x56f94c){return _0x47b891(_0x3f98f2,_0x29a46f- -_0x22f03c._0x20f3f6,_0x5b68c7-0x56,_0x56f94c-0xdf);}this[_0x46f151(-0x12c,0x8e,-_0x4f3d06._0x3d4d41,0x71)](),this[_0x46f151(_0x4f3d06._0x34b6f6,_0x4f3d06._0x1b1283,_0x4f3d06._0x112a1f,0x1ff)]=_0x535a10;}['record'](_0x26d1fd,_0x40449d){const _0x5cbe68={_0x1a5988:0x45,_0x1e1059:0x8c,_0x478516:0x184,_0x26b810:0x163,_0x2abb23:0x5e,_0xc8dacb:0x181,_0x32db10:0x2e6,_0x91e2b7:0x1e1,_0x3e6feb:0x3b,_0x4cad55:0x31c,_0x440d16:0x764,_0x4e081e:0x63c,_0x31ec85:0x1bc,_0x37b113:0x84,_0x25d3d4:0x152,_0x3cc99f:0x8c,_0x43e642:0x61,_0x4a6e46:0x6bc,_0x56f932:0x6c2,_0x142fb2:0x361,_0x387836:0x309,_0x2ad512:0x1a3,_0x1b0191:0x33,_0x3cb7d3:0x90,_0x213b57:0x466,_0x26c358:0x42c,_0x31d936:0x3f8,_0x2eafc5:0x4b1,_0x36e8fe:0x7f3,_0x43a107:0x63c,_0x406a33:0x1fc,_0x200a95:0x1dd,_0x347f03:0x540,_0x1083b4:0x386,_0x179430:0x26e,_0x11fa5a:0x206,_0x145012:0x4cf,_0x34c7da:0x7ab,_0x140c87:0x6bb,_0x506278:0x266,_0x5e024b:0x1bb,_0x256d1f:0x383,_0xabea9e:0x226,_0x33bec9:0x197,_0x53aa8e:0xc,_0x4464b7:0x137,_0x4e65f7:0x267,_0x2b9101:0xd7,_0x520296:0x4cc,_0x511dc6:0x664,_0x51e714:0x26d,_0x4a9e64:0x89,_0x3f951b:0x1d,_0x9bdcd8:0x61,_0x4a1e31:0x3dc,_0x2730b1:0x529,_0x11cf19:0x124,_0x2a931d:0x119,_0x58a83b:0x2dd,_0x53b5da:0xc9,_0x4bf441:0x51a,_0x56229b:0x34b,_0x43031a:0x4b7,_0x3ab36b:0x296,_0x2c1abb:0x2a1,_0x44d7b3:0x29a,_0x453db1:0x386,_0x1f4a1c:0x78a,_0x34246d:0x4da,_0x427d65:0x63c,_0x34e664:0x3d6,_0x5cdd5d:0x3a5,_0x15e625:0x545,_0x62dd9a:0x16f,_0x119a51:0x150,_0x4c050b:0x358,_0x50d095:0x46d,_0x5c0387:0x35a,_0x48d7df:0x60d,_0x464f14:0x59c,_0x64e465:0x6d3,_0x5db044:0x793,_0x196df8:0x5ce},_0xb73400={_0x3f996a:0x122,_0x1e2990:0x103},_0xd38b0f={_0x133715:0xfb,_0x1a06d4:0x8d,_0xa22b0a:0x83};if(_0x26d1fd[_0x19abf5(_0x5cbe68._0x1a5988,_0x5cbe68._0x1e1059,-_0x5cbe68._0x478516,-_0x5cbe68._0x26b810)]>this[_0x19abf5(0xfb,_0x5cbe68._0x2abb23,-0x33,_0x5cbe68._0xc8dacb)][_0x25aaa8(0x4d1,_0x5cbe68._0x32db10,_0x5cbe68._0x91e2b7,0x32d)])throw createAnchoredFileError(_0x19abf5(0xc0,0x14,-0x57,-_0x5cbe68._0x3e6feb),_0x25aaa8(0x45a,0x304,0x529,_0x5cbe68._0x4cad55)+_0x26d1fd[_0x25aaa8(0x528,0x6fe,_0x5cbe68._0x440d16,_0x5cbe68._0x4e081e)]+_0x19abf5(_0x5cbe68._0x31ec85,_0x5cbe68._0x37b113,-0x181,0xff)+_0x26d1fd[_0x19abf5(-_0x5cbe68._0x25d3d4,_0x5cbe68._0x3cc99f,0x211,-_0x5cbe68._0x43e642)]+_0x25aaa8(_0x5cbe68._0x4a6e46,0x543,_0x5cbe68._0x56f932,0x656)+this[_0x25aaa8(_0x5cbe68._0x142fb2,0x463,_0x5cbe68._0x387836,0x358)][_0x19abf5(-_0x5cbe68._0x2ad512,_0x5cbe68._0x1b0191,0x242,_0x5cbe68._0x3cb7d3)]+_0x25aaa8(0x271,_0x5cbe68._0x213b57,_0x5cbe68._0x26c358,_0x5cbe68._0x31d936),{'path':_0x26d1fd[_0x25aaa8(_0x5cbe68._0x2eafc5,0x76c,_0x5cbe68._0x36e8fe,_0x5cbe68._0x43a107)],'size':_0x26d1fd[_0x25aaa8(_0x5cbe68._0x406a33,_0x5cbe68._0x200a95,_0x5cbe68._0x347f03,_0x5cbe68._0x1083b4)]});const _0x368710=this['tagForDigest']?this[_0x19abf5(_0x5cbe68._0x179430,0x32c,0x3ae,_0x5cbe68._0x11fa5a)](_0x26d1fd['digest']):_0x26d1fd[_0x25aaa8(_0x5cbe68._0x145012,0x737,_0x5cbe68._0x34c7da,_0x5cbe68._0x140c87)],_0x4b43ca=this[_0x25aaa8(0x24d,_0x5cbe68._0x506278,_0x5cbe68._0x5e024b,_0x5cbe68._0x256d1f)][_0x19abf5(_0x5cbe68._0xabea9e,_0x5cbe68._0x33bec9,_0x5cbe68._0x53aa8e,_0x5cbe68._0x4464b7)](_0x26d1fd[_0x19abf5(0x1b9,0x342,_0x5cbe68._0x4e65f7,0x394)]),_0x1086f3=_0x4b43ca?.[_0x19abf5(0x168,0x20f,0x62,_0x5cbe68._0x2b9101)](_0x2d15a3=>_0x2d15a3[_0x19abf5(-0x91,0x90,0x1ed,-0xbf)][_0x19abf5(0x10a,0x119,0x162,0xb1)]===_0x26d1fd[_0x25aaa8(0x252,0x345,0x2bf,0x413)]);let _0x2b9c42;function _0x19abf5(_0x46d2f3,_0x1b5d5e,_0x5ec089,_0x101f86){return _0xe18bb0(_0x101f86,_0x1b5d5e-_0xd38b0f._0x133715,_0x5ec089-_0xd38b0f._0x1a06d4,_0x101f86-_0xd38b0f._0xa22b0a);}if(_0x1086f3){for(const _0x4f8dae of _0x40449d)_0x1086f3[_0x25aaa8(0x78d,0x76a,0x5a8,0x600)][_0x25aaa8(_0x5cbe68._0x520296,0x489,_0x5cbe68._0x511dc6,0x682)](_0x4f8dae);_0x2b9c42=_0x1086f3;}else{_0x2b9c42={'snapshot':_0x26d1fd,'tag':_0x368710,'observedLines':new Set(_0x40449d)};if(!_0x4b43ca)this[_0x19abf5(_0x5cbe68._0x51e714,_0x5cbe68._0x4a9e64,_0x5cbe68._0x3f951b,0x207)][_0x19abf5(0x147,0x6a,-_0x5cbe68._0x9bdcd8,0x45)](_0x26d1fd['canonicalPath'],[_0x2b9c42]);else{if(_0x4b43ca['length']>=this['limits'][_0x19abf5(0x481,_0x5cbe68._0x4a1e31,_0x5cbe68._0x2730b1,0x4a6)]){const _0x7d4a10=_0x4b43ca[_0x19abf5(0x163,0xe8,0x274,0x22b)]();if(_0x7d4a10)this['releaseBytes'](_0x7d4a10[_0x25aaa8(0x442,0x57a,0x2ee,0x38a)][_0x19abf5(_0x5cbe68._0x11cf19,_0x5cbe68._0x2a931d,_0x5cbe68._0x58a83b,_0x5cbe68._0x53b5da)]);}_0x4b43ca['push'](_0x2b9c42);}this[_0x19abf5(_0x5cbe68._0x4bf441,_0x5cbe68._0x56229b,_0x5cbe68._0x43031a,_0x5cbe68._0x3ab36b)](_0x26d1fd['digest'],_0x26d1fd[_0x25aaa8(_0x5cbe68._0x2c1abb,_0x5cbe68._0x44d7b3,0x333,_0x5cbe68._0x453db1)]);}this['touchPath'](_0x26d1fd[_0x25aaa8(_0x5cbe68._0x1f4a1c,0x795,_0x5cbe68._0x34246d,_0x5cbe68._0x427d65)]);function _0x25aaa8(_0x1432ed,_0x86b446,_0x9d3f04,_0x4abc61){return _0x47b891(_0x1432ed,_0x4abc61- -0x9c,_0x9d3f04-_0xb73400._0x3f996a,_0x4abc61-_0xb73400._0x1e2990);}while(this['versionsByPath'][_0x25aaa8(_0x5cbe68._0x34e664,_0x5cbe68._0x5cdd5d,0x6db,0x59e)]>this[_0x25aaa8(0x463,_0x5cbe68._0x15e625,_0x5cbe68._0x62dd9a,0x358)][_0x19abf5(0x2c9,0x214,0x2e0,0x30c)]){this['evictLeastRecentlyUsedPath']();}while(this['totalBytes']>this[_0x25aaa8(0x1a5,0x28f,_0x5cbe68._0x119a51,_0x5cbe68._0x4c050b)][_0x19abf5(0xde,_0x5cbe68._0x1b0191,-0x77,0xe1)]&&this[_0x25aaa8(_0x5cbe68._0x50d095,_0x5cbe68._0x5c0387,_0x5cbe68._0x48d7df,0x501)][_0x25aaa8(0x572,0x44e,0x4b1,_0x5cbe68._0x464f14)]>0x1){this[_0x25aaa8(_0x5cbe68._0x64e465,_0x5cbe68._0x5db044,0x502,0x5d7)]();}return{'snapshot':_0x2b9c42['snapshot'],'observedLines':new Set(_0x2b9c42[_0x25aaa8(0x41c,_0x5cbe68._0x196df8,0x723,0x600)])};}['resolve'](_0x4971c3,_0x13186c){const _0x1961af={_0xa92de5:0x205,_0x5f4dcd:0x250,_0x40ebea:0x120,_0x4eaf3f:0x1c3,_0x3fdec4:0x8d,_0x52feec:0x147,_0x27560a:0xd7,_0xe0a862:0x263,_0x1d4b9f:0x4d2,_0x10d2ea:0x67b,_0x4a95ea:0x4c2,_0x238bdd:0x69b,_0x49d5ee:0x649,_0x1e5296:0x5df,_0x434226:0x3ff,_0x3c14ba:0x626,_0x32e73c:0x40b,_0x13d882:0x4d2,_0x4c1fe5:0x35a,_0x3489f6:0x1bc,_0x5f24fe:0x3df,_0x5723fd:0x28a,_0x16ef84:0x1d4,_0x4028ef:0x295,_0x4e496b:0x43,_0x2fd6ff:0x156},_0x26cd72={_0x4c465d:0x10b,_0x20451c:0x104,_0xe08c0c:0x1cd},_0x209213={_0x81c054:0x1ce,_0x2f85c2:0xc2},_0x1290d9=this[_0xd58b67(_0x1961af._0xa92de5,_0x1961af._0x5f4dcd,0x314,0x21d)]['get'](_0x4971c3);if(!_0x1290d9)throw createAnchoredFileError(_0x21d6cb(_0x1961af._0x40ebea,0x139,_0x1961af._0x4eaf3f,-_0x1961af._0x3fdec4),_0x21d6cb(_0x1961af._0x52feec,0x21b,_0x1961af._0x27560a,_0x1961af._0xe0a862)+_0x13186c+_0x21d6cb(_0x1961af._0x1d4b9f,_0x1961af._0x10d2ea,_0x1961af._0x4a95ea,_0x1961af._0x238bdd)+_0x4971c3+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x4971c3,'tag':_0x13186c});function _0x21d6cb(_0x38c892,_0x28dd8c,_0x27a00b,_0xa9b0f4){return _0x47b891(_0x27a00b,_0x38c892- -0x28a,_0x27a00b-_0x209213._0x81c054,_0xa9b0f4-_0x209213._0x2f85c2);}const _0x472c3e=_0x1290d9[_0xd58b67(0x57a,_0x1961af._0x49d5ee,_0x1961af._0x1e5296,_0x1961af._0x434226)](_0x242b9a=>_0x242b9a[_0xd58b67(0x591,0x477,0x64c,0x640)]===_0x13186c);if(_0x472c3e[_0xd58b67(_0x1961af._0x3c14ba,_0x1961af._0x32e73c,0x52d,0x5b0)]===0x0)throw createAnchoredFileError('unknown_snapshot','Snapshot\x20tag\x20'+_0x13186c+_0x21d6cb(_0x1961af._0x13d882,0x3e8,0x64c,0x2ce)+_0x4971c3+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x4971c3,'tag':_0x13186c});if(_0x472c3e['length']>0x1)throw createAnchoredFileError(_0x21d6cb(_0x1961af._0x4c1fe5,_0x1961af._0x3489f6,0x32e,_0x1961af._0x5f24fe),_0xd58b67(0x154,_0x1961af._0x5723fd,0x2c6,0x463)+_0x13186c+'\x20is\x20ambiguous\x20for\x20'+_0x4971c3+_0x21d6cb(_0x1961af._0x16ef84,_0x1961af._0x4028ef,0x25,0x12d),{'path':_0x4971c3,'tag':_0x13186c});this['touchPath'](_0x4971c3);function _0xd58b67(_0x54530f,_0x5b7057,_0x3e1ea8,_0x3428e8){return _0x47b891(_0x5b7057,_0x3e1ea8- -_0x26cd72._0x4c465d,_0x3e1ea8-_0x26cd72._0x20451c,_0x3428e8-_0x26cd72._0xe08c0c);}return{'snapshot':_0x472c3e[0x0][_0x21d6cb(0x19c,_0x1961af._0x4e496b,_0x1961af._0x2fd6ff,0x1a9)],'observedLines':new Set(_0x472c3e[0x0]['observedLines'])};}[_0xe18bb0(0x2ac,0x163,0xe2,0x2d2)](_0x24b899,_0x4478ff){const _0x14be24={_0x32c11e:0x3c3,_0x2c58b9:0x559,_0x303d46:0x5aa,_0x3dcc4f:0x63e,_0x3bb409:0x2b7,_0x15b1cd:0x177,_0x4485ef:0x36,_0x50ce53:0xd4},_0x1412f4={_0x15956a:0x4d4,_0xae67ca:0x12d},_0x5b7b92={_0x384217:0x4bd,_0x26c346:0x1af,_0xb37d8e:0x198};function _0x14336e(_0x2182f5,_0x5cc86e,_0x2d3164,_0x177aa2){return _0xe18bb0(_0x5cc86e,_0x2182f5-_0x5b7b92._0x384217,_0x2d3164-_0x5b7b92._0x26c346,_0x177aa2-_0x5b7b92._0xb37d8e);}function _0xea38d8(_0x193ba3,_0x5c48ca,_0x2a910e,_0x48dd97){return _0x47b891(_0x2a910e,_0x48dd97- -_0x1412f4._0x15956a,_0x2a910e-0xb6,_0x48dd97-_0x1412f4._0xae67ca);}const _0x92bcc=_0x24b899+'\x00'+_0x4478ff,_0x1908dd=(this[_0xea38d8(0x80,_0x14be24._0x32c11e,0x232,0x21c)][_0x14336e(_0x14be24._0x2c58b9,0x6bb,_0x14be24._0x303d46,_0x14be24._0x3dcc4f)](_0x92bcc)??0x0)+0x1;return this[_0xea38d8(_0x14be24._0x3bb409,0x12e,0x291,0x21c)][_0xea38d8(0x25,-_0x14be24._0x15b1cd,_0x14be24._0x4485ef,-_0x14be24._0x50ce53)](_0x92bcc,_0x1908dd),_0x1908dd;}[_0xe18bb0(0x214,0x1f0,0x100,0x39d)](_0x4246f9){const _0x4d4944={_0x3c5760:0xa5b,_0x53d4eb:0x91d,_0x1ef4e5:0x816,_0x410892:0x96d,_0x461f27:0x800},_0xb26e83={_0x3d3bc0:0x1aa,_0x576910:0x111};function _0x8f7b6a(_0xcf2cc5,_0xc9e086,_0x44d251,_0x5dc63d){return _0x47b891(_0x44d251,_0x5dc63d-_0xb26e83._0x3d3bc0,_0x44d251-_0xb26e83._0x576910,_0x5dc63d-0xc2);}const _0x23cd5c=_0x4246f9+'\x00';function _0x21a933(_0x8effe0,_0x38c6a0,_0x39b39b,_0x44a5a7){return _0x47b891(_0x8effe0,_0x39b39b- -0x19f,_0x39b39b-0x82,_0x44a5a7-0x1e);}for(const _0x40275f of[...this[_0x8f7b6a(_0x4d4944._0x3c5760,_0x4d4944._0x53d4eb,_0x4d4944._0x1ef4e5,0x89a)]['keys']()]){if(_0x40275f[_0x8f7b6a(_0x4d4944._0x410892,0x7c8,_0x4d4944._0x461f27,0x822)](_0x23cd5c))this['noChangeCounters']['delete'](_0x40275f);}}['clear'](){const _0x3d82f7={_0x705499:0x386,_0x54871b:0x3f7,_0x156332:0x6c4,_0x8b9997:0x6c6,_0x5b21bf:0x656,_0x14a051:0x7e4,_0x2ee1a1:0x805,_0x487867:0x8cf,_0x5ec066:0x619,_0x2a5d2f:0x53a,_0x459f65:0x5b6,_0x1ee3c1:0x421,_0x1e136f:0x396,_0x8aff49:0x819,_0x3be810:0x8c8,_0x12a3ed:0x5d2},_0x1e1910={_0x24565e:0x71},_0x51e9d8={_0x2893f5:0x14e};this[_0x5a3514(0x412,_0x3d82f7._0x705499,0x479,_0x3d82f7._0x54871b)][_0x3475fb(0x53a,0x4b2,0x47b,_0x3d82f7._0x156332)]();function _0x3475fb(_0x5da464,_0x27cf59,_0x48c2f0,_0x4053c8){return _0x47b891(_0x27cf59,_0x5da464-0x129,_0x48c2f0-0xb1,_0x4053c8-_0x51e9d8._0x2893f5);}function _0x5a3514(_0x2b5ef7,_0x37df47,_0x3c60f7,_0x4699ae){return _0x47b891(_0x2b5ef7,_0x4699ae- -0x28,_0x3c60f7-0x1b3,_0x4699ae-_0x1e1910._0x24565e);}this[_0x3475fb(_0x3d82f7._0x8b9997,_0x3d82f7._0x5b21bf,0x4db,_0x3d82f7._0x14a051)]=[],this['totalBytes']=0x0,this[_0x3475fb(_0x3d82f7._0x2ee1a1,_0x3d82f7._0x487867,0x7d8,_0x3d82f7._0x5ec066)][_0x3475fb(_0x3d82f7._0x2a5d2f,_0x3d82f7._0x459f65,_0x3d82f7._0x1ee3c1,_0x3d82f7._0x1e136f)](),this[_0x3475fb(_0x3d82f7._0x8aff49,_0x3d82f7._0x3be810,0x764,0x9fd)][_0x3475fb(0x53a,0x462,_0x3d82f7._0x12a3ed,0x4a5)]();}[_0xe18bb0(0x470,0x276,0x465,0x19d)](_0x5780a5){const _0x2bce63={_0x54bd06:0x48f,_0x32a17c:0x4c6,_0x724228:0x9f1,_0x501de2:0x951,_0x34d19c:0x886,_0x291d61:0x115,_0x223069:0x1af,_0x1575be:0x15d,_0x144636:0xcd,_0x3e105e:0x219,_0x1d9402:0x14c,_0x4e644d:0x4c9},_0x57bb73={_0x350ebb:0x29},_0x5c332c={_0x321203:0x585,_0x4e6da9:0xc3};function _0xc96ee(_0x1b77e4,_0x4386e6,_0x222a76,_0x427fe3){return _0xe18bb0(_0x4386e6,_0x427fe3-_0x5c332c._0x321203,_0x222a76-_0x5c332c._0x4e6da9,_0x427fe3-0x1e0);}const _0x5d05d5=this[_0xc96ee(0x570,_0x2bce63._0x54bd06,_0x2bce63._0x32a17c,0x691)][_0xc96ee(_0x2bce63._0x724228,_0x2bce63._0x501de2,0x982,_0x2bce63._0x34d19c)](_0x5780a5);function _0x55ac01(_0x4e7a0d,_0x5b29c2,_0x3ef7d9,_0x1ae5ef){return _0x47b891(_0x3ef7d9,_0x5b29c2- -0x3ee,_0x3ef7d9-0x61,_0x1ae5ef-_0x57bb73._0x350ebb);}if(_0x5d05d5!==-0x1)this[_0x55ac01(_0x2bce63._0x291d61,_0x2bce63._0x223069,0x4f,_0x2bce63._0x1575be)][_0x55ac01(_0x2bce63._0x144636,_0x2bce63._0x3e105e,0x1de,_0x2bce63._0x1d9402)](_0x5d05d5,0x1);this['recency'][_0xc96ee(0x491,0x463,_0x2bce63._0x4e644d,0x4b0)](_0x5780a5);}[_0x47b891(0x701,0x673,0x637,0x517)](){const _0x55d875={_0x4c1d22:0x1a2,_0xf5725a:0xf5,_0x1a1073:0x156,_0xdc492d:0x270,_0x43d056:0x97,_0x19c7bf:0x140,_0x26ece6:0xf,_0x245547:0x46,_0x345ff1:0x19b,_0x3795f9:0x135,_0x52a427:0x4d,_0xbce326:0x14d,_0x4edf56:0xa3,_0x93b20:0x1c2},_0xa14490={_0x2bdc86:0x573,_0x4447d7:0x84},_0x5166c2={_0x226a5b:0x21c,_0x198dde:0x24},_0xa13586=this[_0x1a8b26(0x2a,_0x55d875._0x4c1d22,0x223,-0x59)][_0x1a8b26(-_0x55d875._0xf5725a,-_0x55d875._0x1a1073,-0x4f,-_0x55d875._0xdc492d)]();function _0x185964(_0x42d312,_0x5ed14c,_0x86240a,_0x3743fb){return _0xe18bb0(_0x5ed14c,_0x86240a-_0x5166c2._0x226a5b,_0x86240a-0x51,_0x3743fb-_0x5166c2._0x198dde);}if(_0xa13586===void 0x0)return;function _0x1a8b26(_0x2d834b,_0x5df4d3,_0x53fa72,_0x5406f1){return _0x47b891(_0x5406f1,_0x2d834b- -_0xa14490._0x2bdc86,_0x53fa72-0xb0,_0x5406f1-_0xa14490._0x4447d7);}const _0x32d7d6=this[_0x185964(_0x55d875._0x43d056,_0x55d875._0x19c7bf,0x1aa,_0x55d875._0x26ece6)][_0x1a8b26(-_0x55d875._0x245547,-0x14c,0x17b,-_0x55d875._0x345ff1)](_0xa13586);this[_0x185964(0x237,_0x55d875._0x3795f9,0x1aa,_0x55d875._0x52a427)]['delete'](_0xa13586);if(_0x32d7d6){for(const _0x224bde of _0x32d7d6)this['releaseBytes'](_0x224bde[_0x1a8b26(-_0x55d875._0xbce326,_0x55d875._0x4edf56,0x4a,-0x20f)][_0x185964(0x162,_0x55d875._0x93b20,0x23a,0x143)]);}}[_0xe18bb0(0x191,0x250,0x351,0xbd)](_0x1bdb9f,_0x385b84){const _0x14db75={_0x46e4fd:0x813,_0x4d267e:0x632,_0x425949:0x2d9,_0x56dd80:0x615,_0x343920:0x6ca,_0x475d05:0x50b},_0x28acd9={_0x31fda0:0xc1},_0x1befdd={_0x29dbd8:0x15d,_0x5e5b76:0x1d4};function _0x248379(_0x3c3c8c,_0x554df6,_0x2c3c02,_0x1a16de){return _0xe18bb0(_0x3c3c8c,_0x2c3c02-0x3c5,_0x2c3c02-_0x1befdd._0x29dbd8,_0x1a16de-_0x1befdd._0x5e5b76);}function _0x5c2afb(_0x52ff3c,_0x18d80d,_0x144a16,_0x49b143){return _0xe18bb0(_0x52ff3c,_0x18d80d-0x540,_0x144a16-0x179,_0x49b143-_0x28acd9._0x31fda0);}!this[_0x248379(0x613,0x543,0x610,0x817)][_0x248379(0x4f7,_0x14db75._0x46e4fd,_0x14db75._0x4d267e,0x5a1)](_0x1bdb9f)&&(this['bytesByDigest'][_0x5c2afb(_0x14db75._0x425949,0x4af,0x44e,0x58c)](_0x1bdb9f,_0x385b84),this[_0x248379(_0x14db75._0x56dd80,_0x14db75._0x343920,_0x14db75._0x475d05,0x3a2)]+=_0x385b84);}['releaseBytes'](_0x3e3fa7){const _0x3dc687={_0x2bd38b:0x4ad,_0x2ac6a7:0x691,_0x58b8f3:0x6b3,_0x1da7cd:0x60f,_0x220dff:0x332,_0x4b239e:0x637,_0x25aa59:0x7ba,_0x31c6b1:0x161,_0x243563:0x29a,_0x11150e:0x691,_0x230134:0x504,_0x34dcb9:0x4e2,_0x31a577:0x5e4,_0x1c22cc:0x31d,_0x31b646:0x409,_0x95a53e:0x4c9},_0x3dc12f={_0x4940c2:0x58f,_0x178852:0x1c9},_0x157e45={_0x258435:0x4b,_0x346cf7:0x7f};function _0x3eca9c(_0x4b0cd4,_0x5b4ca8,_0x120a61,_0x282c4c){return _0x47b891(_0x4b0cd4,_0x5b4ca8- -_0x157e45._0x258435,_0x120a61-0x108,_0x282c4c-_0x157e45._0x346cf7);}if(!this[_0x3eca9c(_0x3dc687._0x2bd38b,_0x3dc687._0x2ac6a7,0x488,0x835)][_0x3eca9c(0x5f4,_0x3dc687._0x58b8f3,_0x3dc687._0x1da7cd,0x79c)](_0x3e3fa7))return;const _0x14e164=[...this[_0x3eca9c(0x5cd,0x3d4,_0x3dc687._0x220dff,0x53c)][_0x3eca9c(0x6ca,_0x3dc687._0x4b239e,_0x3dc687._0x25aa59,0x5ac)]()][_0x12aa55(_0x3dc687._0x31c6b1,_0x3dc687._0x243563,0xef,0x227)](_0x2652d7=>_0x2652d7[_0x3eca9c(0x6a3,0x633,0x55b,0x74d)](_0x1a26f0=>_0x1a26f0[_0x12aa55(-0x1fe,-0x2b5,-0x169,-0xc3)][_0x3eca9c(0x4e3,0x464,0x51b,0x520)]===_0x3e3fa7));function _0x12aa55(_0x5b9992,_0x12e705,_0x6137a5,_0x2383a6){return _0x47b891(_0x5b9992,_0x6137a5- -_0x3dc12f._0x4940c2,_0x6137a5-0x15b,_0x2383a6-_0x3dc12f._0x178852);}!_0x14e164&&(this[_0x3eca9c(0x743,0x58c,0x3e8,0x587)]-=this[_0x3eca9c(0x68a,_0x3dc687._0x11150e,0x77f,_0x3dc687._0x230134)][_0x3eca9c(0x52a,_0x3dc687._0x34dcb9,0x49a,_0x3dc687._0x31a577)](_0x3e3fa7)??0x0,this[_0x12aa55(_0x3dc687._0x1c22cc,0x17a,0x14d,0x2d9)][_0x3eca9c(_0x3dc687._0x31b646,0x593,0x72b,_0x3dc687._0x95a53e)](_0x3e3fa7));}};import{readFile as _0xe1f2ba,stat as _0x5c7d85}from'fs/promises';import*as _0x51ee06 from'path';function stripUtfBom(_0x38f1a4){const _0x3e07b9={_0x35f67a:0x93d,_0xe142ad:0x7e6,_0x2a2857:0x237,_0x274d7e:0xe9,_0x17df9f:0x1de},_0x2b98c3={_0x157bb0:0x17e},_0x49df7b={_0x7a5be3:0x327,_0x120a43:0x84};function _0x4457ac(_0x1333ab,_0x48b3b1,_0x41f0e6,_0x18e6a0){return _0xe18bb0(_0x1333ab,_0x48b3b1-_0x49df7b._0x7a5be3,_0x41f0e6-0x33,_0x18e6a0-_0x49df7b._0x120a43);}function _0x4c01b6(_0x29f501,_0x1bc45a,_0x419ec4,_0x5c9543){return _0xe18bb0(_0x1bc45a,_0x5c9543-0x68d,_0x419ec4-0x1ac,_0x5c9543-_0x2b98c3._0x157bb0);}return _0x38f1a4[_0x4c01b6(0x7a2,0x984,_0x3e07b9._0x35f67a,_0x3e07b9._0xe142ad)](0x0)===0xfeff?_0x38f1a4[_0x4457ac(0x326,_0x3e07b9._0x2a2857,_0x3e07b9._0x274d7e,_0x3e07b9._0x17df9f)](0x1):_0x38f1a4;}function clampLine2(_0x52cda8,_0x5a8502){if(!Number['isFinite'](_0x52cda8))return 0x1;return Math['max'](0x1,Math['min'](Math['trunc'](_0x52cda8),_0x5a8502));}function resolveAnchoredTarget(_0x57431f){const _0x2e338e={_0x4dc539:0x493,_0x53ee7e:0x5a3,_0xc3c767:0x3cb,_0x3a02b7:0x4cb,_0x1d5c6f:0x908,_0x313eaf:0x8e7,_0x5e278f:0x5ff,_0x46867f:0x61f,_0x518895:0x51b,_0x41bc9c:0x4c6,_0x5d7335:0x673,_0x497af4:0x471,_0x26450d:0x306,_0x43816a:0x2f3,_0x5009e2:0x6aa,_0x416784:0x675,_0x2942d4:0x32f,_0x2c8dfd:0x55d,_0x4020f0:0x421,_0x448269:0x328,_0x2fe1d4:0x42a,_0x155737:0x5ab,_0x342392:0x3db,_0x20716e:0x471},_0x3d31af={_0x26944a:0xf3,_0x2e0df1:0x1f1},_0x1c2ea3=_0x57431f['mode']??_0x498029(_0x2e338e._0x4dc539,0x352,0x4e0,0x4f9);function _0x498029(_0x4efc3a,_0x18668a,_0x1369f4,_0x50660f){return _0xe18bb0(_0x18668a,_0x4efc3a-0x4b6,_0x1369f4-0x1c1,_0x50660f-0x26);}function _0x5280cf(_0x4bf54c,_0x3ccd52,_0x1f2953,_0x4c233c){return _0x47b891(_0x1f2953,_0x4c233c- -_0x3d31af._0x26944a,_0x1f2953-0x67,_0x4c233c-_0x3d31af._0x2e0df1);}if(_0x1c2ea3==='exact')return void 0x0;if(_0x57431f[_0x498029(_0x2e338e._0x53ee7e,0x701,_0x2e338e._0xc3c767,_0x2e338e._0x3a02b7)]===void 0x0)throw new Error((_0x57431f[_0x498029(0x40c,0x2b0,0x5b9,0x391)]??_0x498029(0x78d,_0x2e338e._0x1d5c6f,0x8c5,_0x2e338e._0x313eaf))+_0x498029(_0x2e338e._0x5e278f,_0x2e338e._0x46867f,_0x2e338e._0x518895,0x512));if(_0x57431f[_0x5280cf(_0x2e338e._0x41bc9c,0x2dc,_0x2e338e._0x5d7335,_0x2e338e._0x497af4)]===void 0x0)throw new Error((_0x57431f[_0x498029(0x40c,_0x2e338e._0x26450d,0x258,_0x2e338e._0x43816a)]??_0x5280cf(_0x2e338e._0x5009e2,0x51c,0x48e,_0x2e338e._0x416784))+_0x5280cf(_0x2e338e._0x2942d4,_0x2e338e._0x2c8dfd,0x301,_0x2e338e._0x4020f0));return{'mode':_0x1c2ea3,'observations':_0x57431f[_0x5280cf(_0x2e338e._0x448269,0x3c8,_0x2e338e._0x2fe1d4,0x48b)],'outputBudgetBytes':_0x57431f[_0x5280cf(_0x2e338e._0x155737,_0x2e338e._0x342392,0x3b3,_0x2e338e._0x20716e)]};}function isErrnoException(_0x439487){const _0x104fef={_0x1c0e33:0x107,_0x4289c6:0x12f,_0x35b6d5:0xd},_0x3f91b5={_0x1defc4:0x190},_0x161e29={_0x37a419:0x1be};function _0x379ef4(_0x3935d4,_0x5436e9,_0x6d3b5a,_0x1c02e7){return _0xe18bb0(_0x6d3b5a,_0x1c02e7-0x399,_0x6d3b5a-0xe,_0x1c02e7-_0x161e29._0x37a419);}function _0x5b74f0(_0x299dab,_0x39f87a,_0x331466,_0x12451c){return _0x47b891(_0x331466,_0x39f87a- -0x542,_0x331466-_0x3f91b5._0x1defc4,_0x12451c-0xb0);}return _0x439487 instanceof Error&&_0x5b74f0(-0x1b4,-0x1d,-0x95,-_0x104fef._0x1c0e33)in _0x439487&&typeof _0x439487[_0x5b74f0(_0x104fef._0x4289c6,-0x1d,0x66,0x2a)]===_0x5b74f0(-0x3a,0x75,_0x104fef._0x35b6d5,0x147);}function wrapAnchoredFsError(_0x581a7f,_0x1d66b6){const _0x2ad0d0={_0x5ea126:0x1f1,_0x172252:0x1d4,_0x2a5c7e:0x377,_0x18fadf:0x42f,_0x111415:0x563,_0x32e803:0x52d,_0x1a5209:0x5c7,_0x55cc0f:0x6ff},_0x26ee33={_0x48486f:0x4a3},_0x195f02={_0x5e7732:0xc0,_0x2a7be4:0x1c0};function _0x1f372f(_0x5f41ed,_0x79004c,_0x280afc,_0x1a76df){return _0xe18bb0(_0x79004c,_0x5f41ed-0x2d8,_0x280afc-_0x195f02._0x5e7732,_0x1a76df-_0x195f02._0x2a7be4);}if(_0x581a7f instanceof ToolExecutionError)throw _0x581a7f;if(!isErrnoException(_0x581a7f))throw _0x581a7f;function _0x32ac5e(_0xbf8edc,_0xb090d1,_0x6a06e8,_0x325721){return _0x47b891(_0xbf8edc,_0x6a06e8- -_0x26ee33._0x48486f,_0x6a06e8-0x90,_0x325721-0x1d7);}throw createAnchoredFileError(_0x1f372f(_0x2ad0d0._0x5ea126,0x142,_0x2ad0d0._0x172252,_0x2ad0d0._0x2a5c7e),_0x1f372f(0x380,0x416,0x416,0x444)+_0x1d66b6+_0x1f372f(_0x2ad0d0._0x18fadf,_0x2ad0d0._0x111415,0x38b,0x586)+_0x581a7f[_0x1f372f(_0x2ad0d0._0x32e803,0x699,_0x2ad0d0._0x1a5209,_0x2ad0d0._0x55cc0f)]+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x1d66b6});}async function executeAnchoredRead(_0x6879ec,_0x225beb,_0x48b0ff,_0xa75ee0,_0x51a856,_0x4df92c,_0x7ece69){const _0x47868a={_0x4178cc:0x728,_0x13a366:0x542,_0xf84a4c:0x1e9,_0x3c89c2:0x25b,_0x3b929e:0x93,_0xefa6c9:0x6cc,_0x3b5635:0x604,_0x2f388f:0x631,_0xd404a9:0x54e,_0xd85b7f:0x394,_0x16e415:0x306,_0x3573f6:0x12c,_0x467327:0x3d1,_0x43e073:0x412,_0x47de16:0x240,_0x17841f:0x37a,_0x2ed719:0x562,_0x1fbef8:0x166,_0x154e45:0x19b,_0x32e3b4:0x2b6,_0x84eb96:0x492,_0x436c56:0x65c,_0x579cbc:0x78c,_0x2fc576:0x6c2,_0x50da32:0x24a,_0x30aba7:0x132,_0x319f41:0x30d},_0x4f5a8c={_0xeca96c:0x62},_0x4a45cf={_0x17e968:0x544,_0xbff026:0x14f};let _0x28d058;try{_0x28d058=await resolveCanonicalAllowedFile(_0x225beb,_0x48b0ff,_0xa75ee0);}catch(_0x714100){wrapAnchoredFsError(_0x714100,_0xa75ee0);}let _0x570171;function _0x22a46d(_0x3a7dbf,_0x1e1441,_0x203dd7,_0x3ed167){return _0xe18bb0(_0x3a7dbf,_0x203dd7-_0x4a45cf._0x17e968,_0x203dd7-0x1bd,_0x3ed167-_0x4a45cf._0xbff026);}try{_0x570171=await _0xe1f2ba(_0x28d058[_0x22a46d(0x680,_0x47868a._0x4178cc,0x78b,0x770)]);}catch(_0x3b86b5){wrapAnchoredFsError(_0x3b86b5,_0xa75ee0);}const _0x493169=createNormalizedFileSnapshot(_0x28d058['canonicalPath'],_0x570171);function _0x2b0541(_0x404a3a,_0x36a57a,_0x135de1,_0x4903ca){return _0x47b891(_0x4903ca,_0x404a3a- -0x307,_0x135de1-_0x4f5a8c._0xeca96c,_0x4903ca-0x1a7);}_0x6879ec['observations'][_0x22a46d(0x5a9,0x668,_0x47868a._0x13a366,0x3b2)](_0x7ece69);const _0x3b3c2c=formatAnchoredFileRead({'displayPath':_0xa75ee0,'snapshot':_0x493169,'lineStart':_0x51a856,'lineEnd':_0x4df92c,'maxBytes':_0x6879ec[_0x2b0541(0x25d,_0x47868a._0xf84a4c,_0x47868a._0x3c89c2,_0x47868a._0x3b929e)]});return _0x6879ec[_0x22a46d(_0x47868a._0xefa6c9,_0x47868a._0x3b5635,_0x47868a._0x2f388f,_0x47868a._0xd404a9)][_0x2b0541(0x2ac,0xa7,0x2e5,0x2f1)](_0x493169,_0x3b3c2c[_0x22a46d(0x4c7,0x404,0x520,_0x47868a._0xd85b7f)]),createToolOutput(_0x3b3c2c['output'],{'mode':_0x6879ec['mode'],'path':_0xa75ee0,'resolvedPath':_0x28d058[_0x2b0541(_0x47868a._0x16e415,_0x47868a._0x3573f6,0x231,0x37b)],'canonicalPath':_0x28d058[_0x2b0541(_0x47868a._0x467327,_0x47868a._0x43e073,_0x47868a._0x47de16,0x53e)],'tag':_0x493169['tag'],'digest':_0x493169[_0x22a46d(_0x47868a._0x17841f,0x465,_0x47868a._0x2ed719,0x622)],'displayedLines':[..._0x3b3c2c[_0x2b0541(_0x47868a._0x1fbef8,_0x47868a._0x154e45,0x33,_0x47868a._0x32e3b4)]],'truncated':_0x3b3c2c[_0x22a46d(0x4a4,_0x47868a._0x84eb96,_0x47868a._0x436c56,_0x47868a._0x579cbc)],..._0x3b3c2c[_0x22a46d(0x6a9,0x7fd,0x604,_0x47868a._0x2fc576)]!==void 0x0?{'nextLineStart':_0x3b3c2c[_0x2b0541(_0x47868a._0x50da32,_0x47868a._0x30aba7,_0x47868a._0x319f41,0x2cd)]}:{}});}function createFileReadTool(_0x291ed6={}){const _0x5841a4={_0x36f5e5:0x100,_0x13231c:0x110,_0x48157a:0x1c8,_0x39cfbc:0x81,_0x1a5b82:0x200,_0x3fb2db:0x19a,_0x547843:0x436,_0x524d89:0x3be,_0x58590b:0x4ff,_0x5bc737:0x42c,_0x9937f3:0x3ae,_0x2e2672:0x22e,_0x7222b2:0x54b,_0x5e28a7:0x10b,_0x14709e:0xbf,_0x5eee59:0x1dd,_0x1362d2:0x393,_0x38ebd3:0xd8,_0x3536e3:0xa5,_0x2f8470:0x282,_0x41af0f:0x2fa,_0x101ce0:0x26c},_0x3c7361={_0x3db2ca:0x3c2,_0x588782:0x922,_0x306725:0x7c5,_0x1d7afd:0x943,_0x437b4c:0x35d,_0x466269:0x567,_0x2a1923:0x4c0,_0x49343d:0x532,_0x5c9b48:0x361,_0x28cf03:0x9e4,_0x5de692:0x94d,_0x537563:0x9e2,_0x5170c9:0x252,_0x1beadb:0x67c,_0x21d7ee:0x82a,_0x29f99f:0x730,_0xee3bc0:0x3e6,_0x4f88ca:0x3dd,_0x4e9c34:0x255,_0x17c603:0x2c9,_0xad27ba:0x2fc,_0x4b7c4d:0x875,_0xaf3641:0x81b,_0x3231aa:0x85e,_0x3769dc:0x339,_0x4764e5:0x3bb,_0xb11642:0x17c,_0x46b4ac:0x501,_0x5c2faf:0x201,_0x3efe4d:0x2bd,_0x454a0c:0x3f2,_0x4523a8:0x235,_0x10a067:0x49d,_0x48a7de:0x5b1,_0x381042:0x786,_0x350a06:0x82a,_0x232711:0x84a,_0x355266:0x7d6,_0x23240c:0x67e},_0x5a7f54={_0x25f842:0x24,_0xff0b68:0xd0},_0x41d965={_0x52b934:0x10b,_0x1f07d7:0x1da},_0x4ea973={_0xa7c146:0x15f};function _0x23befd(_0x4b2de6,_0x3f2099,_0x432c4a,_0x3045c8){return _0xe18bb0(_0x3045c8,_0x4b2de6-_0x4ea973._0xa7c146,_0x432c4a-0x63,_0x3045c8-0xf9);}const _0x5743c5=_0x51ee06[_0x23befd(_0x5841a4._0x36f5e5,0x18e,_0x5841a4._0x13231c,0x5e)](_0x291ed6['defaultCwd']??process[_0x9cb602(_0x5841a4._0x48157a,_0x5841a4._0x39cfbc,-0x16d,0x271)]()),_0x11eb90=_0x291ed6[_0x23befd(_0x5841a4._0x1a5b82,0x2a0,0x1db,_0x5841a4._0x3fb2db)]??[],_0x17d0da=_0x291ed6['name']??_0x23befd(_0x5841a4._0x547843,_0x5841a4._0x524d89,0x4e9,_0x5841a4._0x58590b),_0x3a3b5b=resolveAnchoredTarget(_0x291ed6);function _0x9cb602(_0x41423d,_0x54031d,_0x3fdc88,_0x54938c){return _0xe18bb0(_0x3fdc88,_0x54031d-_0x41d965._0x52b934,_0x3fdc88-_0x41d965._0x1f07d7,_0x54938c-0x59);}return defineTool({'name':_0x17d0da,'permissionClass':'read','description':_0x3a3b5b===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':_0x23befd(0x39d,0x53a,0x526,_0x5841a4._0x5bc737),'inputSchema':{'type':_0x23befd(_0x5841a4._0x9937f3,0x2e2,_0x5841a4._0x2e2672,_0x5841a4._0x7222b2),'properties':{'path':{'type':'string'},'lineStart':{'type':_0x23befd(0xa5,-_0x5841a4._0x5e28a7,-_0x5841a4._0x14709e,0x16a),'description':_0x23befd(0x1e4,_0x5841a4._0x5eee59,0x2c1,_0x5841a4._0x1362d2)},'lineEnd':{'type':'number','description':_0x23befd(0x79,0x8b,-_0x5841a4._0x38ebd3,0x1d6)}},'required':[_0x9cb602(_0x5841a4._0x3536e3,_0x5841a4._0x2f8470,_0x5841a4._0x41af0f,_0x5841a4._0x101ce0)]},async *'execute'(_0x53500a,_0x4f7adb){const _0x1b3014={_0x3a9093:0x1da,_0x2119d3:0x140},_0x1eaa18=resolveAllowedPath(_0x5743c5,_0x11eb90,_0x53500a['path']);if(_0x3a3b5b===void 0x0){await assertWorkspaceFile(_0x1eaa18);const _0x4cfb66=await _0x5c7d85(_0x1eaa18),_0x5bea2f=await _0xe1f2ba(_0x1eaa18);if(isProbablyBinary(_0x5bea2f))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x53500a[_0x2afb5c(0x331,_0x3c7361._0x3db2ca,0x54d,0x57c)],{'path':_0x53500a[_0x182691(_0x3c7361._0x588782,_0x3c7361._0x306725,0x7eb,_0x3c7361._0x1d7afd)]});let _0x392bb8=_0x5bea2f['toString'](_0x2afb5c(0x450,0x447,_0x3c7361._0x437b4c,0x28e));const _0x445db8=_0x392bb8['charCodeAt'](0x0)===0xfeff;_0x392bb8=stripUtfBom(_0x392bb8);const _0x673aec=_0x392bb8[_0x182691(0x660,0x44f,0x60b,_0x3c7361._0x466269)](/\r?\n/),_0x3a54eb={'path':_0x53500a[_0x2afb5c(_0x3c7361._0x2a1923,0x3c2,_0x3c7361._0x49343d,0x22e)],'resolvedPath':_0x1eaa18,'created':_0x4cfb66[_0x2afb5c(0xa3,0x1fe,_0x3c7361._0x5c9b48,0x314)]['toISOString'](),'modified':_0x4cfb66[_0x182691(0x954,_0x3c7361._0x28cf03,_0x3c7361._0x5de692,_0x3c7361._0x537563)]['toISOString'](),'size':_0x4cfb66['size'],'encoding':_0x182691(0x9f5,0x9ab,0x870,0x78e),'bomStripped':_0x445db8,'truncated':![],'totalLines':_0x673aec[_0x2afb5c(0x410,0x3f2,_0x3c7361._0x5170c9,0x498)]};if(_0x53500a[_0x182691(0x77a,_0x3c7361._0x1beadb,_0x3c7361._0x21d7ee,_0x3c7361._0x29f99f)]!==void 0x0||_0x53500a[_0x2afb5c(0x1ca,0x255,_0x3c7361._0xee3bc0,0x230)]!==void 0x0){const _0x203242=clampLine2(_0x53500a['lineStart']??0x1,_0x673aec['length']),_0x29397c=clampLine2(_0x53500a[_0x2afb5c(_0x3c7361._0x4f88ca,_0x3c7361._0x4e9c34,_0x3c7361._0x17c603,_0x3c7361._0xad27ba)]??_0x673aec['length'],_0x673aec[_0x182691(_0x3c7361._0x4b7c4d,0x737,_0x3c7361._0xaf3641,0x90d)]),_0x42f597=Math[_0x182691(0x711,0x79f,0x7ae,_0x3c7361._0x3231aa)](_0x203242,_0x29397c),_0x4325b6=Math[_0x182691(0x6e2,0x6d5,0x561,0x50b)](_0x203242,_0x29397c),_0x360337=_0x673aec['slice'](_0x42f597-0x1,_0x4325b6)[_0x2afb5c(_0x3c7361._0x3769dc,_0x3c7361._0x4764e5,0x252,0x4da)]((_0x23b2d2,_0x46e0d0)=>_0x42f597+_0x46e0d0+'|'+_0x23b2d2)[_0x2afb5c(_0x3c7361._0xb11642,0x32d,_0x3c7361._0x46b4ac,_0x3c7361._0x5c2faf)]('\x0a');return yield createToolOutput(_0x360337,{..._0x3a54eb,'lineRange':{'lineStart':_0x42f597,'lineEnd':_0x4325b6,'linesTotal':_0x673aec[_0x2afb5c(_0x3c7361._0x3efe4d,_0x3c7361._0x454a0c,_0x3c7361._0x4523a8,0x1f0)]}}),void 0x0;}return yield createToolOutput(_0x392bb8,_0x3a54eb),void 0x0;}yield await executeAnchoredRead(_0x3a3b5b,_0x5743c5,_0x11eb90,_0x53500a[_0x2afb5c(_0x3c7361._0x10a067,0x3c2,0x3fb,_0x3c7361._0x48a7de)],_0x53500a[_0x182691(_0x3c7361._0x381042,0x715,_0x3c7361._0x350a06,0x6cd)],_0x53500a[_0x182691(_0x3c7361._0x232711,_0x3c7361._0x355266,_0x3c7361._0x23240c,0x5eb)],_0x4f7adb['sessionId']);function _0x182691(_0x3f3c80,_0x22664d,_0x1a8810,_0x59d496){return _0x23befd(_0x1a8810-0x515,_0x22664d-_0x5a7f54._0x25f842,_0x1a8810-_0x5a7f54._0xff0b68,_0x59d496);}function _0x2afb5c(_0x217f25,_0xf1be3f,_0x3a2cb3,_0x48b5a0){return _0x9cb602(_0x217f25-_0x1b3014._0x3a9093,_0xf1be3f-_0x1b3014._0x2119d3,_0x48b5a0,_0x48b5a0-0x188);}return void 0x0;}});}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';import{randomUUID as _0x4b251f}from'crypto';import{mkdir as _0x4afc43,readFile as _0x37381c,writeFile as _0x190b6a}from'fs/promises';import{join as _0x135fdf}from'path';function sanitizeStorageKey(_0x2637f4){const _0x5a8e12={_0x435af2:0x407,_0xa83600:0x245,_0x168a89:0x3c7,_0x5c7e2c:0x48d},_0x44cc9f={_0x3bb872:0x40,_0x5b653a:0x38},_0xab667={_0xa4ecbd:0x177,_0x3cc5fe:0x137};function _0x4c15b1(_0x672086,_0x5a0783,_0x468e91,_0x4b4071){return _0xe18bb0(_0x4b4071,_0x5a0783-_0xab667._0xa4ecbd,_0x468e91-0x1b5,_0x4b4071-_0xab667._0x3cc5fe);}function _0xdfc255(_0x59c264,_0x49f961,_0x3a5aca,_0x377465){return _0xe18bb0(_0x3a5aca,_0x377465-_0x44cc9f._0x3bb872,_0x3a5aca-_0x44cc9f._0x5b653a,_0x377465-0x12e);}return _0x2637f4[_0x4c15b1(_0x5a8e12._0x435af2,0x43a,0x48d,_0x5a8e12._0xa83600)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0xdfc255(_0x5a8e12._0x168a89,0x2e2,_0x5a8e12._0x5c7e2c,0x309);}function storagePath(_0x5600bc){const _0x39ce3c={_0x3b8bcd:0x42c,_0x30485e:0x19e,_0x31dfec:0x426,_0x3dab38:0x2cf,_0xc5e63c:0x581,_0x2de97b:0x45d,_0x15e53:0x437,_0x39a8ba:0x36f,_0x5f169f:0x381},_0x1857b6={_0x218941:0x1b0},_0x3d114b=sanitizeStorageKey(_0x5600bc[_0x4e4f0f(_0x39ce3c._0x3b8bcd,0x560,0x4cb,0x642)]['oauth']?.[_0x369871(_0x39ce3c._0x30485e,0x324,_0x39ce3c._0x31dfec,_0x39ce3c._0x3dab38)]??_0x5600bc[_0x369871(_0x39ce3c._0xc5e63c,_0x39ce3c._0x2de97b,0x66d,0x4e2)]);function _0x4e4f0f(_0x4f11c2,_0x29226b,_0x5f1f68,_0xb005f0){return _0xe18bb0(_0xb005f0,_0x5f1f68-0x39e,_0x5f1f68-0x1bf,_0xb005f0-0x18);}function _0x369871(_0x29c048,_0x5e123a,_0x3cdbb8,_0x31f7fb){return _0xe18bb0(_0x3cdbb8,_0x5e123a-0x21e,_0x3cdbb8-_0x1857b6._0x218941,_0x31f7fb-0x7c);}return _0x135fdf(_0x5600bc[_0x369871(_0x39ce3c._0x15e53,_0x39ce3c._0x39a8ba,_0x39ce3c._0x5f169f,0x270)],_0x3d114b+_0x4e4f0f(0x775,0x41e,0x588,0x38a));}async function readStore(_0x576359){const _0x1ca482={_0x2c5bdd:0x601,_0x3d3027:0x380,_0x1e2252:0x286,_0x4f8317:0x2e0,_0x30be6d:0x478,_0x4fc828:0x35a,_0x59faa0:0x14a,_0x5a88bd:0x28b,_0x4871a6:0x17f,_0x2af3a4:0x25c},_0x24657b={_0xf740d7:0x1eb};function _0x3ded22(_0x1d80ab,_0x52c58d,_0x7726cf,_0x549112){return _0x47b891(_0x52c58d,_0x549112- -0x1f7,_0x7726cf-0xea,_0x549112-0xa4);}function _0x5cd97e(_0x314a3f,_0x128ee4,_0x59a456,_0x4de6a8){return _0x47b891(_0x128ee4,_0x4de6a8- -0x255,_0x59a456-0x197,_0x4de6a8-_0x24657b._0xf740d7);}try{return JSON[_0x5cd97e(_0x1ca482._0x2c5bdd,0x33e,0x622,0x4e7)](await _0x37381c(_0x576359,_0x5cd97e(_0x1ca482._0x3d3027,_0x1ca482._0x1e2252,0x5af,0x438)));}catch(_0x122cd9){if(_0x122cd9 instanceof Error&&_0x5cd97e(_0x1ca482._0x4f8317,_0x1ca482._0x30be6d,_0x1ca482._0x4fc828,0x2d0)in _0x122cd9&&_0x122cd9[_0x5cd97e(0x272,0x118,_0x1ca482._0x59faa0,0x2d0)]===_0x3ded22(_0x1ca482._0x5a88bd,0x27e,_0x1ca482._0x4871a6,_0x1ca482._0x2af3a4))return{};throw _0x122cd9;}}async function writeStore(_0x252fc8,_0x2fdd8c){const _0x194cac={_0x44df62:0x3f1,_0x1d226d:0x1e2,_0x2913a7:0x9e9,_0x2424cb:0x7fb},_0x4fd10a={_0x51b01b:0x2d5},_0x4c8e56={_0x14b19c:0x16e,_0x214d0e:0x1f2};function _0x3d901c(_0x1cc1ed,_0x1df078,_0x194ecb,_0x49efc9){return _0x47b891(_0x194ecb,_0x49efc9-_0x4c8e56._0x14b19c,_0x194ecb-_0x4c8e56._0x214d0e,_0x49efc9-0x172);}await _0x4afc43(_0x135fdf(_0x252fc8,'..'),{'recursive':!![]});function _0x3ad61a(_0x418d48,_0x483755,_0x12c4ff,_0x9cd027){return _0xe18bb0(_0x9cd027,_0x418d48-_0x4fd10a._0x51b01b,_0x12c4ff-0x61,_0x9cd027-0x128);}await _0x190b6a(_0x252fc8,JSON[_0x3ad61a(_0x194cac._0x44df62,0x3ae,_0x194cac._0x1d226d,0x5cd)](_0x2fdd8c,null,0x2),_0x3d901c(0x991,0x715,_0x194cac._0x2913a7,_0x194cac._0x2424cb));}async function updateStore(_0x39ada4,_0x8abfe8){const _0x141d36=await readStore(_0x39ada4);_0x8abfe8(_0x141d36),await writeStore(_0x39ada4,_0x141d36);}function createMcpOAuthProvider(_0x2156ac){const _0x34ea28={_0x49cb51:0xc9,_0x1970ef:0x2f4,_0x229439:0xb0,_0x1cfed8:0x41b,_0x396169:0x55d,_0x1eece5:0x141,_0x5996ca:0x103,_0x477c98:0x195,_0x48d331:0xd0,_0x5825e7:0x445,_0x4d1dbb:0x6c0,_0x51df56:0x62b,_0x34393c:0x15d},_0x624190={_0x1cf473:0x4d0,_0x232c3a:0x628,_0xd9a819:0x5e2},_0x2e7300={_0x5154bc:0x115,_0x272714:0x18e,_0x472ccf:0x20c,_0x16ca19:0x1b3,_0x312e9d:0x83},_0x4d99ea={_0x224318:0x94,_0x3c19d1:0xf4},_0x14c2a1={_0x54461d:0x676,_0x2c1108:0x706},_0x583a4b={_0x4a80ad:0x607},_0x324f00={_0x5d142f:0x19b,_0x4f0f5c:0x122},_0x59a917={_0x2af223:0x6d4,_0x3dea85:0x4f3,_0x348b74:0x586},_0x67a3d3={_0x389fd4:0x2ad,_0x2a0141:0xba,_0x4f9a85:0x1a},_0x4732f8={_0xf53587:0x63,_0x40c9cf:0x50,_0x3b85e3:0x89,_0xeb8ffc:0x802,_0x3284c0:0x6e0,_0x513b39:0x6e6},_0x42cf3f={_0x840bba:0x179,_0x3c6234:0x92},_0x5d7710={_0x345458:0x657,_0x1b24d7:0x458},_0x4837dd={_0x317bc2:0xde},_0x44b879={_0x3b20f8:0x94},_0x4df7a9={_0x418503:0x64};function _0x13910e(_0x1b0b43,_0x48d5d0,_0x7e04aa,_0x1c26cd){return _0xe18bb0(_0x48d5d0,_0x1c26cd- -_0x4df7a9._0x418503,_0x7e04aa-0x1f2,_0x1c26cd-0x19e);}function _0x265d63(_0x522876,_0xf7c728,_0x3a6fcb,_0x2629d9){return _0x47b891(_0x522876,_0x3a6fcb- -0x40,_0x3a6fcb-_0x44b879._0x3b20f8,_0x2629d9-0x18);}const _0x3e7eff=storagePath(_0x2156ac),_0x1b09fd=_0x2156ac[_0x13910e(0x1c0,0xf8,0x251,_0x34ea28._0x49cb51)][_0x13910e(_0x34ea28._0x1970ef,0x219,_0x34ea28._0x229439,0x124)]?.['scopes']?.[_0x265d63(_0x34ea28._0x1cfed8,0x73c,0x533,_0x34ea28._0x396169)]('\x20'),_0x14ebcd={'client_name':_0x13910e(0x1f4,0x246,0x367,0x25d),'redirect_uris':[_0x2156ac['callbackUrl']],'grant_types':['authorization_code',_0x13910e(_0x34ea28._0x1eece5,_0x34ea28._0x5996ca,0x111,_0x34ea28._0x477c98)],'response_types':[_0x13910e(-0x19,0x1e5,_0x34ea28._0x48d331,0x30)],'token_endpoint_auth_method':_0x265d63(_0x34ea28._0x5825e7,_0x34ea28._0x4d1dbb,0x63c,_0x34ea28._0x51df56),..._0x1b09fd?{'scope':_0x1b09fd}:{}};return{'clientMetadataUrl':_0x2156ac['config']['oauth']?.[_0x13910e(0xcb,_0x34ea28._0x34393c,-0x14a,0x4d)],get 'redirectUrl'(){function _0x4f0d2b(_0x142da5,_0x17aa8d,_0x57acb2,_0x4c88e6){return _0x265d63(_0x4c88e6,_0x17aa8d-_0x4837dd._0x317bc2,_0x57acb2-0x102,_0x4c88e6-0xff);}return _0x2156ac[_0x4f0d2b(0x537,_0x5d7710._0x345458,0x52e,_0x5d7710._0x1b24d7)];},get 'clientMetadata'(){return _0x14ebcd;},async 'state'(){const _0xdd1518={_0xc89c99:0x3eb,_0x6e1597:0x518},_0x2c7264={_0x561626:0x22};function _0x57f489(_0x1e9a73,_0x44f76d,_0x10baf7,_0x4b35f0){return _0x13910e(_0x1e9a73-0x7a,_0x4b35f0,_0x10baf7-_0x2c7264._0x561626,_0x10baf7-0x69e);}const _0x231654=await readStore(_0x3e7eff);function _0x4dcf55(_0x29137a,_0x2a6b2c,_0x43c24e,_0x59e82b){return _0x13910e(_0x29137a-0x157,_0x2a6b2c,_0x43c24e-_0x42cf3f._0x840bba,_0x43c24e- -_0x42cf3f._0x3c6234);}if(_0x231654[_0x4dcf55(-_0x4732f8._0xf53587,-0x25e,-_0x4732f8._0x40c9cf,_0x4732f8._0x3b85e3)])return _0x231654[_0x57f489(0x740,_0x4732f8._0xeb8ffc,_0x4732f8._0x3284c0,_0x4732f8._0x513b39)];const _0xdbdcd6=_0x4b251f();return await updateStore(_0x3e7eff,_0x2d502f=>{const _0x421baa={_0x5ce48b:0x112,_0x3691e0:0x282};function _0x32e407(_0x561a82,_0x2b424d,_0x5d8a22,_0x280088){return _0x57f489(_0x561a82-0x1cf,_0x2b424d-_0x421baa._0x5ce48b,_0x2b424d- -_0x421baa._0x3691e0,_0x280088);}_0x2d502f[_0x32e407(_0xdd1518._0xc89c99,0x45e,_0xdd1518._0x6e1597,0x502)]=_0xdbdcd6;}),_0xdbdcd6;},async 'clientInformation'(){const _0x4069c1={_0x5b756d:0x45b,_0x1f3e9d:0x19b};function _0x158623(_0x2be3b2,_0x250c48,_0x45da15,_0x4729d0){return _0x265d63(_0x4729d0,_0x250c48-0x1b5,_0x250c48- -_0x4069c1._0x5b756d,_0x4729d0-_0x4069c1._0x1f3e9d);}return(await readStore(_0x3e7eff))[_0x158623(_0x67a3d3._0x389fd4,0xae,_0x67a3d3._0x2a0141,-_0x67a3d3._0x4f9a85)];},async 'saveClientInformation'(_0x1a29f7){await updateStore(_0x3e7eff,_0x5e3f1e=>{function _0x4bdf6d(_0x250a00,_0x3944db,_0x495998,_0xccc03d){return _0x678a(_0x495998-0x18b,_0x3944db);}_0x5e3f1e[_0x4bdf6d(_0x59a917._0x2af223,0x334,_0x59a917._0x3dea85,_0x59a917._0x348b74)]=_0x1a29f7;});},async 'tokens'(){function _0x410917(_0x3350e2,_0x19b2c8,_0x37fbc1,_0x5809c){return _0x265d63(_0x5809c,_0x19b2c8-_0x324f00._0x5d142f,_0x19b2c8- -0x83,_0x5809c-_0x324f00._0x4f0f5c);}return(await readStore(_0x3e7eff))[_0x410917(0x304,0x44e,0x63e,_0x583a4b._0x4a80ad)];},async 'saveTokens'(_0x42f290){await updateStore(_0x3e7eff,_0xd772ca=>{function _0x22072d(_0xbd2832,_0x46f7be,_0x5ac3df,_0x31d7aa){return _0x678a(_0x5ac3df-0x3d6,_0xbd2832);}_0xd772ca[_0x22072d(_0x14c2a1._0x54461d,0x567,_0x14c2a1._0x2c1108,0x584)]=_0x42f290;});},async 'redirectToAuthorization'(_0x28b612){await _0x2156ac['onRedirect'](_0x28b612);},async 'saveCodeVerifier'(_0x2b6616){const _0x4ff7bc={_0x5f39f5:0x64a,_0xb71de0:0x5d7};await updateStore(_0x3e7eff,_0x2852f3=>{function _0xda2956(_0x18b229,_0x213d5b,_0xe38c45,_0xdaea6a){return _0x678a(_0x213d5b-0x182,_0xe38c45);}_0x2852f3[_0xda2956(_0x4ff7bc._0x5f39f5,0x476,_0x4ff7bc._0xb71de0,0x3fe)]=_0x2b6616;});},async 'codeVerifier'(){const _0x5e46aa={_0x44b6d9:0xee,_0x2d6053:0x1c3},_0x3c8d09=(await readStore(_0x3e7eff))[_0x57097c(_0x2e7300._0x5154bc,0x1a3,_0x2e7300._0x272714,_0x2e7300._0x472ccf)];function _0x58ae02(_0x23ea19,_0x1b47c3,_0x47a995,_0x11d5b3){return _0x13910e(_0x23ea19-0x10a,_0x1b47c3,_0x47a995-_0x4d99ea._0x224318,_0x23ea19-_0x4d99ea._0x3c19d1);}if(!_0x3c8d09)throw new Error(_0x58ae02(_0x2e7300._0x16ca19,-0x3d,_0x2e7300._0x312e9d,0xe4));function _0x57097c(_0x3a926b,_0x11e1f1,_0x3d856a,_0x46d288){return _0x13910e(_0x3a926b-0x101,_0x46d288,_0x3d856a-_0x5e46aa._0x44b6d9,_0x11e1f1-_0x5e46aa._0x2d6053);}return _0x3c8d09;},async 'invalidateCredentials'(_0x2fbfb9){const _0x579d94={_0x311e6a:0xf6,_0x54d1bb:0x1f9,_0x5b8208:0x607,_0x4a2dc8:0x705,_0x5a0930:0x716,_0x8e7abc:0x7a7,_0x319933:0x589,_0x346487:0x74,_0x2cfc68:0x2d1,_0x470c9a:0x29b,_0x53bbfd:0x15a,_0x7baca2:0x16,_0x574a86:0x88a,_0x23e69f:0x6e7,_0x2dbcc3:0x151,_0xcf17a1:0x8a,_0x22e2a7:0x78f,_0x36ca38:0x438,_0x2311ab:0x7c5,_0x304776:0x5e7};await updateStore(_0x3e7eff,_0x1c38e7=>{function _0x5c5951(_0x19b023,_0x7c3b6b,_0x446fe8,_0xf4bca6){return _0x678a(_0xf4bca6-0x3d5,_0x19b023);}(_0x2fbfb9===_0x3b4381(_0x579d94._0x311e6a,_0x579d94._0x54d1bb,0x152,0x165)||_0x2fbfb9==='client')&&(_0x1c38e7['clientInformation']=void 0x0);(_0x2fbfb9==='all'||_0x2fbfb9===_0x5c5951(0x770,_0x579d94._0x5b8208,0x582,_0x579d94._0x4a2dc8))&&(_0x1c38e7[_0x5c5951(_0x579d94._0x5a0930,_0x579d94._0x8e7abc,_0x579d94._0x319933,0x705)]=void 0x0);function _0x3b4381(_0x224110,_0x4141ad,_0x4d5bde,_0x5ee7d4){return _0x678a(_0x4141ad- -0x28b,_0x224110);}(_0x2fbfb9===_0x3b4381(_0x579d94._0x346487,_0x579d94._0x54d1bb,_0x579d94._0x2cfc68,_0x579d94._0x470c9a)||_0x2fbfb9===_0x3b4381(-_0x579d94._0x53bbfd,0x98,_0x579d94._0x7baca2,0x128))&&(_0x1c38e7['codeVerifier']=void 0x0,_0x1c38e7[_0x5c5951(0x784,_0x579d94._0x574a86,_0x579d94._0x23e69f,0x72b)]=void 0x0),(_0x2fbfb9==='all'||_0x2fbfb9===_0x3b4381(-_0x579d94._0x2dbcc3,0xbc,_0x579d94._0xcf17a1,0x172))&&(_0x1c38e7[_0x5c5951(_0x579d94._0x22e2a7,_0x579d94._0x36ca38,_0x579d94._0x2311ab,_0x579d94._0x304776)]=void 0x0);});},async 'saveDiscoveryState'(_0xf68b58){const _0xb2ffa3={_0x4165a6:0x91};await updateStore(_0x3e7eff,_0xd48ff4=>{function _0x272391(_0x43a90e,_0x447bbd,_0x218176,_0x566ae4){return _0x678a(_0x43a90e- -_0xb2ffa3._0x4165a6,_0x218176);}_0xd48ff4[_0x272391(0x181,0x229,0xa8,0x242)]=_0xf68b58;});},async 'discoveryState'(){const _0x54e1a5={_0x1edbbf:0x74,_0x22ccf4:0x193};function _0x252bc6(_0x98385f,_0x310c8d,_0x45872,_0x34c564){return _0x13910e(_0x98385f-_0x54e1a5._0x1edbbf,_0x45872,_0x45872-_0x54e1a5._0x22ccf4,_0x310c8d-0x5d2);}return(await readStore(_0x3e7eff))[_0x252bc6(0x4e6,_0x624190._0x1cf473,_0x624190._0x232c3a,_0x624190._0xd9a819)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x47b891(0x824,0x75b,0x95c,0x902),'message':_0x1b0a67=>_0xe18bb0(0x9d,0x1bf,0x2e2,0x119)+_0x1b0a67+_0xe18bb0(-0x1cd,-0xae,-0x4a,-0x1b6)},'connect':{'code':'mcp-connect-failed','message':_0x5ab14d=>'MCP\x20server\x20'+_0x5ab14d+'\x20failed\x20to\x20connect'},'discover':{'code':'mcp-discovery-failed','message':_0x2c24a9=>_0x47b891(0x738,0x650,0x50a,0x80e)+_0x2c24a9+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':_0xe18bb0(0x180,0x1da,0x14f,0xaf),'message':_0x45e9bc=>'MCP\x20server\x20'+_0x45e9bc+_0x47b891(0x64b,0x6f4,0x8df,0x832)}},timeoutMessageByOperation={'close':_0x11f7e9=>_0xe18bb0(0x26f,0x1bf,0x259,0x2a9)+_0x11f7e9+'\x20close\x20timed\x20out','connect':_0x2a6aed=>'MCP\x20server\x20'+_0x2a6aed+_0xe18bb0(0x39e,0x2ac,0xb9,0x4a5),'discover':_0x175343=>_0xe18bb0(0xb2,0x1bf,0x2b0,0xd7)+_0x175343+_0x47b891(0x496,0x393,0x3ae,0x332),'toolCall':_0x21fd48=>'MCP\x20server\x20'+_0x21fd48+'\x20tool\x20call\x20timed\x20out'};function toMcpSafeError(_0x10c196){const _0x398622={_0x4f3a07:0x630,_0x870cae:0x46d,_0x2ad869:0x5e0,_0x4c9642:0x5d6,_0x250f15:0x71c,_0x2ca090:0x716,_0x155096:0x634,_0xac012f:0x683,_0x3fba6f:0x755,_0x31702f:0x7df,_0x19ab32:0x424,_0x116ac2:0x553,_0x38ab8a:0x4c6,_0x30829b:0x484,_0x266651:0x5db,_0x5c3f23:0x634,_0x13121e:0x79f,_0x8b4583:0x13b,_0x3f76a7:0x2fe,_0x4d26af:0x735,_0x2cb662:0x340,_0x587a51:0x153,_0x4459bf:0x263,_0x57f6ca:0x2f6,_0x3bc82a:0x6bb,_0x3a511c:0x815},_0xf7d74a={_0x48a9c4:0x593,_0x3c25cd:0x33},_0x3873bf={_0x52266a:0x91};function _0x1bf4cf(_0x3ea4d8,_0x14cc6d,_0x257872,_0x5ac142){return _0x47b891(_0x257872,_0x5ac142-0x10f,_0x257872-0x177,_0x5ac142-_0x3873bf._0x52266a);}function _0x416e82(_0x5f0dce,_0x2fcb5b,_0x13c57a,_0x18893a){return _0x47b891(_0x13c57a,_0x5f0dce- -_0xf7d74a._0x48a9c4,_0x13c57a-_0xf7d74a._0x3c25cd,_0x18893a-0xc);}if(_0x10c196['error']instanceof UnauthorizedError)return Object[_0x1bf4cf(_0x398622._0x4f3a07,_0x398622._0x870cae,_0x398622._0x2ad869,_0x398622._0x4c9642)]({'code':_0x1bf4cf(0x866,_0x398622._0x250f15,_0x398622._0x2ca090,0x840),'message':_0x1bf4cf(0x756,0x75a,0x6bb,0x75f)+_0x10c196[_0x1bf4cf(_0x398622._0x155096,_0x398622._0xac012f,_0x398622._0x3fba6f,_0x398622._0x31702f)]+_0x416e82(-0xf4,0xa6,-0xb2,-0x216)});if(_0x10c196[_0x1bf4cf(0x3b7,_0x398622._0x19ab32,_0x398622._0x116ac2,_0x398622._0x38ab8a)]instanceof McpError&&_0x10c196['error'][_0x1bf4cf(0x4a8,_0x398622._0x30829b,_0x398622._0x266651,_0x398622._0x5c3f23)]===ErrorCode['RequestTimeout'])return Object['freeze']({'code':_0x1bf4cf(0x7f5,0x86f,_0x398622._0x13121e,0x844),'message':timeoutMessageByOperation[_0x10c196[_0x416e82(_0x398622._0x8b4583,0x210,_0x398622._0x3f76a7,-0x84)]](_0x10c196[_0x1bf4cf(0x904,_0x398622._0x4d26af,0x936,0x7df)])});const _0x31442a=failureByOperation[_0x10c196[_0x416e82(0x13b,0x295,_0x398622._0x2cb662,0xc8)]];return Object[_0x1bf4cf(0x3d5,0x756,0x3f1,_0x398622._0x4c9642)]({'code':_0x31442a['code'],'message':_0x31442a[_0x416e82(_0x398622._0x587a51,_0x398622._0x4459bf,_0x398622._0x57f6ca,0x22d)](_0x10c196[_0x1bf4cf(0x61b,_0x398622._0x3bc82a,_0x398622._0x3a511c,0x7df)])});}function redactMcpDiagnostic(_0x57a035,_0x18a166){const _0x566825={_0x95b128:0x718,_0xeb4a40:0x8ba,_0x71a221:0x779,_0x1ddfbf:0x7de,_0x14648c:0x6e6,_0x5de9bf:0x85c,_0x19ec0d:0x730,_0x715894:0x79f},_0x557ae2={_0x4238ae:0x5d2,_0x26b433:0x1a4},_0x7afc66={_0x49ce60:0x5cd},_0x4fc759=[...new Set(_0x18a166[_0xbd7b56(0x826,0x7f7,0x8dc,_0x566825._0x95b128)](_0x14ff7f=>_0x14ff7f[_0x18ce2c(0x586,0x798,0x779,0x89c)]>0x0))]['sort']((_0x724e2f,_0x5ba010)=>_0x5ba010[_0xbd7b56(0x774,0x570,0x7fb,0x579)]-_0x724e2f[_0xbd7b56(0x774,0x80b,0x84e,0x903)]);if(_0x57a035['length']===0x0||_0x4fc759[_0x18ce2c(0x94c,0x747,0x779,0x770)]===0x0)return _0x57a035;function _0xbd7b56(_0x1c17fa,_0x1dc283,_0x3271cd,_0x1965b9){return _0xe18bb0(_0x3271cd,_0x1c17fa-_0x7afc66._0x49ce60,_0x3271cd-0x4c,_0x1965b9-0x1da);}let _0x1b3b99='',_0x5ee310=0x0;while(_0x5ee310<_0x57a035[_0x18ce2c(_0x566825._0xeb4a40,0x85b,_0x566825._0x71a221,0x645)]){const _0x17a5c1=_0x4fc759[_0x18ce2c(0x731,_0x566825._0x1ddfbf,_0x566825._0x14648c,_0x566825._0x5de9bf)](_0x2cc724=>_0x57a035[_0xbd7b56(0x7b4,0x6fd,0x64f,0x7a9)](_0x2cc724,_0x5ee310));_0x17a5c1?(_0x1b3b99+='[REDACTED]',_0x5ee310+=_0x17a5c1[_0x18ce2c(0x7e0,_0x566825._0x19ec0d,0x779,_0x566825._0x715894)]):(_0x1b3b99+=_0x57a035[_0x5ee310],_0x5ee310+=0x1);}function _0x18ce2c(_0x462aae,_0x30a5f7,_0x1e8698,_0x27ff49){return _0xe18bb0(_0x30a5f7,_0x1e8698-_0x557ae2._0x4238ae,_0x1e8698-_0x557ae2._0x26b433,_0x27ff49-0x116);}return _0x1b3b99;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x44c850){return typeof _0x44c850==='object'&&_0x44c850!==null||typeof _0x44c850==='function';}function createOwnedMcpSafeError(_0x1b5e5e){const _0x321561={_0x2a2594:0x41c,_0x4af848:0x4f1,_0x320336:0x3cb,_0x4ebb9d:0x4bb,_0x378eb2:0x1f9,_0x11a9cd:0x63,_0x2b2bd8:0x199},_0x512970={_0x46e03e:0x1bb,_0x520dbb:0x19a},_0x320992={_0x4121ce:0x207,_0x50ea5a:0xd9},_0x41dfb8=toMcpSafeError(_0x1b5e5e),_0x3c495e=Object[_0x185515(0x2ff,_0x321561._0x2a2594,_0x321561._0x4af848,_0x321561._0x320336)]({'code':_0x41dfb8[_0x185515(_0x321561._0x4ebb9d,0x4f0,0x54f,0x3cb)],'message':_0x41dfb8[_0x185515(0x523,0x73c,0x710,0x580)]});ownedMcpSafeErrors[_0x16b140(_0x321561._0x378eb2,0x17a,_0x321561._0x11a9cd,_0x321561._0x2b2bd8)](_0x41dfb8,_0x3c495e);function _0x16b140(_0x5869ee,_0x599b1b,_0x2e59e3,_0xdb0d43){return _0x47b891(_0xdb0d43,_0x5869ee- -_0x320992._0x4121ce,_0x2e59e3-0x111,_0xdb0d43-_0x320992._0x50ea5a);}function _0x185515(_0x3eff39,_0x10679d,_0x1cdbfb,_0x433c32){return _0x47b891(_0x3eff39,_0x1cdbfb-0x2a,_0x1cdbfb-_0x512970._0x46e03e,_0x433c32-_0x512970._0x520dbb);}return _0x41dfb8;}function extractOwnedMcpSafeError(_0x26240a){const _0x5d8b5f={_0x301f91:0x3cf,_0x8854ad:0x33d,_0x596e3f:0x35e,_0x15b042:0x335,_0x1b6380:0x86e,_0x221013:0x730,_0x1d9191:0x6df,_0x3416c0:0x3cc,_0x537a4c:0x3f9,_0x37c7f9:0x263},_0x4190a3={_0x27badd:0x80},_0x4ccc50={_0x39f8e9:0x2a1,_0x4c7da5:0x14d};if(!isWeakMapKey(_0x26240a))return void 0x0;const _0x44a292=ownedMcpSafeErrors[_0x224631(_0x5d8b5f._0x301f91,0x22c,_0x5d8b5f._0x8854ad,0x132)](_0x26240a);function _0x224631(_0x533f62,_0x16b564,_0x9c988c,_0x4b86f9){return _0xe18bb0(_0x16b564,_0x9c988c-_0x4ccc50._0x39f8e9,_0x9c988c-_0x4ccc50._0x4c7da5,_0x4b86f9-0xcf);}function _0x29b6e0(_0x1e64f3,_0x5f1c34,_0x52e072,_0x5e8bbe){return _0x47b891(_0x5e8bbe,_0x52e072- -0x7,_0x52e072-_0x4190a3._0x27badd,_0x5e8bbe-0x9f);}if(!_0x44a292)return void 0x0;const _0x225c71=Object['freeze']({'code':_0x44a292[_0x224631(_0x5d8b5f._0x596e3f,0x356,_0x5d8b5f._0x15b042,0x4e0)],'message':_0x44a292[_0x29b6e0(_0x5d8b5f._0x1b6380,_0x5d8b5f._0x221013,_0x5d8b5f._0x1d9191,0x7cc)]});return ownedMcpSafeErrors[_0x29b6e0(_0x5d8b5f._0x3416c0,0x494,_0x5d8b5f._0x537a4c,_0x5d8b5f._0x37c7f9)](_0x225c71,_0x44a292),_0x225c71;}function ownValue(_0x1f0894,_0x2f86ca){const _0x170d2c={_0x41526f:0x866,_0x46be0:0x5a6},_0x44488b={_0x524371:0x4f4,_0x14c301:0x30,_0x90cdf3:0x17a};function _0x1e6d16(_0x328e3a,_0x438db5,_0x47a8b0,_0x493ccb){return _0xe18bb0(_0x438db5,_0x493ccb-_0x44488b._0x524371,_0x47a8b0-_0x44488b._0x14c301,_0x493ccb-_0x44488b._0x90cdf3);}return _0x1f0894&&Object[_0x1e6d16(_0x170d2c._0x41526f,_0x170d2c._0x46be0,0x876,0x6f9)](_0x1f0894,_0x2f86ca)?_0x1f0894[_0x2f86ca]:void 0x0;}function isToolPermissionClass(_0x52f075){const _0x552179={_0x42612e:0x364,_0x359434:0x2c7,_0x447397:0x327},_0x47e5a8={_0x42266b:0xcf,_0x16855d:0x15b},_0x52d11e={_0x959fad:0x417};function _0x6e0bbb(_0x17b1c1,_0x331133,_0x387a7c,_0x1ff011){return _0x47b891(_0x387a7c,_0x1ff011- -_0x52d11e._0x959fad,_0x387a7c-0xcd,_0x1ff011-0xb0);}function _0x141e0a(_0x9076c9,_0x3635a3,_0x1fccb5,_0x52dd40){return _0x47b891(_0x1fccb5,_0x3635a3- -0x2e8,_0x1fccb5-_0x47e5a8._0x42266b,_0x52dd40-_0x47e5a8._0x16855d);}return _0x52f075==='read'||_0x52f075===_0x6e0bbb(0x257,0x13e,0x8b,0x104)||_0x52f075===_0x6e0bbb(_0x552179._0x42612e,_0x552179._0x359434,0x1a2,_0x552179._0x447397);}function suggestedPermissionClass(_0x474260){const _0x288c04={_0x4659c0:0x767,_0x1406a8:0x32f,_0x1aed19:0x292,_0x3deebf:0x191,_0x2a1868:0x6},_0x3ab802={_0x5b8271:0x627,_0x506026:0x1db},_0x1db582={_0x128a88:0x4e,_0x1952b8:0x71,_0x17a787:0xcf},_0x314517=_0x474260[_0x18c844(0x7ff,0x988,0x97f,_0x288c04._0x4659c0)]?.[_0x41de64(0x12d,0x159,_0x288c04._0x1406a8,_0x288c04._0x1aed19)];if(_0x314517===!![])return _0x18c844(0x87e,0x9b6,0x8fd,0xa7f);function _0x41de64(_0x326723,_0x4c751c,_0x123a35,_0x423a4f){return _0xe18bb0(_0x4c751c,_0x423a4f-_0x1db582._0x128a88,_0x123a35-_0x1db582._0x1952b8,_0x423a4f-_0x1db582._0x17a787);}function _0x18c844(_0x1d4172,_0x130056,_0x108a13,_0x18ffb4){return _0xe18bb0(_0x130056,_0x1d4172-_0x3ab802._0x5b8271,_0x108a13-_0x3ab802._0x506026,_0x18ffb4-0x37);}if(_0x314517===![])return _0x41de64(_0x288c04._0x3deebf,0xfa,_0x288c04._0x2a1868,0xd8);return void 0x0;}function isJsonValue(_0x38a130){const _0x25d795={_0x35d791:0x775,_0x3ab6c7:0x3ed,_0x592269:0x3fd,_0x3274cd:0x604,_0x23882f:0x76b,_0x151ba3:0x5c5},_0x43b197={_0x36f8c1:0x4da,_0x518d07:0x1a7},_0xf1facb={_0x4e512d:0x3b};if(_0x38a130===null||typeof _0x38a130===_0x4852be(_0x25d795._0x35d791,0x5a3,_0x25d795._0x3ab6c7,0x7a5)||typeof _0x38a130===_0x14a2d2(0x338,_0x25d795._0x592269,0x420,0x525)||typeof _0x38a130===_0x14a2d2(_0x25d795._0x3274cd,0x79d,0x78d,0x8f5))return!![];function _0x4852be(_0x5136a1,_0x1e6b87,_0x344a13,_0x3127c0){return _0xe18bb0(_0x5136a1,_0x1e6b87-0x47d,_0x344a13-0x43,_0x3127c0-_0xf1facb._0x4e512d);}function _0x14a2d2(_0x5ba0b3,_0x3686cc,_0x5045be,_0x24e378){return _0xe18bb0(_0x24e378,_0x5045be-_0x43b197._0x36f8c1,_0x5045be-0x173,_0x24e378-_0x43b197._0x518d07);}if(Array['isArray'](_0x38a130))return _0x38a130[_0x4852be(0x8fb,_0x25d795._0x23882f,_0x25d795._0x151ba3,0x6f4)](isJsonValue);if(!isObject(_0x38a130))return![];return Object['values'](_0x38a130)['every'](isJsonValue);}function projectMcpTools(_0x6155a2){const _0x3bf098={_0x47ca1f:0x371,_0x5536df:0x37a,_0x47a971:0x17c,_0x5ef3b9:0x18b,_0x552f5d:0x63,_0x2ad484:0x152,_0x2aeb91:0x32,_0x55686a:0xa,_0x4b936e:0x7d5,_0x56a6ad:0xdf,_0x1a065f:0x243,_0x261417:0x583,_0x2a79e0:0x84,_0x19dd9f:0x115,_0x115f1b:0x3bd,_0x6033cb:0x399,_0x19de03:0x22b,_0x2c42c1:0x88,_0x46b991:0x35,_0x5a0b9d:0x67d,_0xe35b87:0x474,_0xf33a12:0x7bc,_0x2959a5:0x34f,_0x14418c:0x28c,_0x5543d9:0x65d,_0xaf02c8:0x5d5},_0x4662fc={_0x231985:0x4d},_0x2e4288={_0x34b4e0:0x4},_0x11f41f=[],_0x1abbc1=[];function _0x48eafd(_0x19d743,_0x12b924,_0x3d2cd3,_0x4c4342){return _0xe18bb0(_0x3d2cd3,_0x19d743-0x528,_0x3d2cd3-0xf2,_0x4c4342-_0x2e4288._0x34b4e0);}for(const _0x361632 of _0x6155a2[_0x4c7ce5(_0x3bf098._0x47ca1f,_0x3bf098._0x5536df,0xfb,_0x3bf098._0x47a971)]){const _0x564478=ownValue(_0x6155a2[_0x4c7ce5(0x2d4,_0x3bf098._0x5ef3b9,-_0x3bf098._0x552f5d,_0x3bf098._0x2ad484)],_0x361632[_0x4c7ce5(_0x3bf098._0x2aeb91,-0x1fa,-_0x3bf098._0x55686a,-0x5d)]),_0x284b5f=isToolPermissionClass(_0x564478)?_0x564478:void 0x0,_0x13a098=_0x284b5f??_0x48eafd(_0x3bf098._0x4b936e,0x923,0x701,0x69d),_0x4ecf0c=suggestedPermissionClass(_0x361632);_0x1abbc1[_0x4c7ce5(-_0x3bf098._0x56a6ad,-_0x3bf098._0x1a065f,0xb8,-0x88)]({'name':_0x361632[_0x48eafd(0x47e,0x4fd,0x419,_0x3bf098._0x261417)],..._0x361632[_0x4c7ce5(_0x3bf098._0x2a79e0,_0x3bf098._0x19dd9f,0xbf,-0xb5)]!==void 0x0?{'description':_0x361632['description']}:{},...isJsonValue(_0x361632[_0x48eafd(0x4a6,_0x3bf098._0x115f1b,0x488,_0x3bf098._0x6033cb)])?{'inputSchema':_0x361632[_0x4c7ce5(-_0x3bf098._0x19de03,-0xc4,-_0x3bf098._0x2c42c1,-_0x3bf098._0x46b991)]}:{},'permissionClass':_0x13a098,'permissionConfigured':_0x284b5f!==void 0x0,..._0x4ecf0c!==void 0x0?{'suggestedPermissionClass':_0x4ecf0c}:{}});if(ownValue(_0x6155a2[_0x48eafd(0x5e2,_0x3bf098._0x5a0b9d,_0x3bf098._0xe35b87,_0x3bf098._0xf33a12)],_0x361632[_0x4c7ce5(-0x1af,-_0x3bf098._0x19de03,0x9,-0x5d)])===![])continue;_0x11f41f['push'](createMcpTool({'serverName':_0x6155a2['prefix']??_0x6155a2[_0x4c7ce5(0x440,0x220,_0x3bf098._0x2959a5,_0x3bf098._0x14418c)],'tool':_0x361632,'client':_0x6155a2[_0x48eafd(0x7c6,0x91e,0x776,0x6be)],'permissionClass':_0x13a098,'internalLifecycle':_0x6155a2[_0x48eafd(_0x3bf098._0x5543d9,0x853,_0x3bf098._0xaf02c8,0x592)]}));}function _0x4c7ce5(_0x3e81fb,_0x2c0f39,_0x481fa4,_0x5895a1){return _0xe18bb0(_0x3e81fb,_0x5895a1-_0x4662fc._0x231985,_0x481fa4-0x61,_0x5895a1-0xe0);}return{'tools':_0x11f41f,'descriptors':_0x1abbc1};}function createMcpToolName(_0x1b4bfe,_0x28760e){const _0x2a6005={_0x363444:0x5f,_0x3183a8:0xd5,_0x320e08:0x11d,_0x23fd06:0x130},_0x48159a={_0x35a22b:0x33},_0x38823e={_0x27a6c2:0x184};function _0x406e6f(_0x2d22ab,_0x56c556,_0x33bf26,_0x4f8944){return _0xe18bb0(_0x2d22ab,_0x33bf26-0x13e,_0x33bf26-_0x38823e._0x27a6c2,_0x4f8944-0x11c);}function _0x1864bc(_0x1003c7,_0x1ca6be,_0x218ce4,_0x3125cd){return _0xe18bb0(_0x3125cd,_0x1ca6be-_0x48159a._0x35a22b,_0x218ce4-0x24,_0x3125cd-0x19d);}const _0x5cd5d1=_0x24c208=>_0x24c208['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x1864bc(0x363,0x2f6,0x3bf,0x3da)](/^_+|_+$/g,'');return _0x1864bc(-_0x2a6005._0x363444,_0x2a6005._0x3183a8,_0x2a6005._0x320e08,_0x2a6005._0x23fd06)+_0x5cd5d1(_0x1b4bfe)+'_'+_0x5cd5d1(_0x28760e);}function isObject(_0x4027f3){const _0x3bd73b={_0x4535fa:0x286,_0x3d346f:0xfb,_0x20b184:0x627,_0x356f57:0x37a,_0x4ac211:0x5cb},_0x51eac2={_0x489cc3:0x37,_0x1dac35:0x136,_0x48d068:0x1c0},_0x554170={_0x6ca812:0x137};function _0x4cb272(_0x4406ec,_0x8e574c,_0x143c8d,_0x1a626f){return _0x47b891(_0x8e574c,_0x143c8d- -0x77,_0x143c8d-_0x554170._0x6ca812,_0x1a626f-0x1c4);}function _0xf5bb91(_0x47d892,_0x25319c,_0x2632bb,_0x1fe555){return _0xe18bb0(_0x1fe555,_0x47d892-_0x51eac2._0x489cc3,_0x2632bb-_0x51eac2._0x1dac35,_0x1fe555-_0x51eac2._0x48d068);}return typeof _0x4027f3===_0xf5bb91(_0x3bd73b._0x4535fa,_0x3bd73b._0x3d346f,0xa8,0x11d)&&_0x4027f3!==null&&!Array[_0x4cb272(_0x3bd73b._0x20b184,_0x3bd73b._0x356f57,0x4ca,_0x3bd73b._0x4ac211)](_0x4027f3);}function toSupportedSchema(_0x50d80e){const _0x160d3e={_0x9f1832:0x6cd,_0x115c0b:0x4dc,_0x1e04c7:0x63d,_0x2e0c11:0x36e,_0x12118a:0x54e,_0x2ca25b:0x300,_0x23f472:0x260,_0x238cf4:0x36e,_0x51cf6f:0x404,_0x390b2e:0x6cd,_0x3f2c06:0xad,_0x38c3d3:0x4c,_0x24f1da:0x112,_0x1d30b5:0x2f6,_0x35878c:0x427,_0x3ab7cd:0xee,_0x21f17f:0x25b,_0x5f1b8f:0x130,_0x1753fa:0x44e,_0x54d26d:0x24d,_0x1e278a:0x628,_0x399d83:0x55b,_0x49c394:0x55,_0x4810fd:0x102,_0x21b31c:0x45a,_0x58404d:0x302,_0xbd1320:0x3ff,_0x2ff5ae:0x6f9,_0x460e7e:0xa0,_0x33a104:0xdc,_0x4e22f8:0x332,_0x2b4308:0x1f7},_0x2d6b9d={_0x5615e3:0x428},_0x4bd922={_0x5f03ee:0x1be,_0x569b9f:0x162};if(!isObject(_0x50d80e))return void 0x0;if(_0x50d80e[_0x50b581(_0x160d3e._0x9f1832,_0x160d3e._0x115c0b,0x6cd,0x8d1)]==='string')return{'type':_0x50b581(_0x160d3e._0x1e04c7,_0x160d3e._0x2e0c11,_0x160d3e._0x12118a,0x701)};if(_0x50d80e[_0x5c458a(_0x160d3e._0x2ca25b,_0x160d3e._0x23f472,0x447,0x24d)]===_0x50b581(0x296,0x276,_0x160d3e._0x238cf4,_0x160d3e._0x51cf6f)||_0x50d80e[_0x50b581(0x540,0x572,_0x160d3e._0x390b2e,0x681)]===_0x5c458a(0x7,_0x160d3e._0x3f2c06,-0x7c,-_0x160d3e._0x38c3d3))return{'type':_0x5c458a(0x27,-0x1a1,-0x1f4,-_0x160d3e._0x24f1da)};if(_0x50d80e['type']===_0x5c458a(0x1d1,0x88,_0x160d3e._0x1d30b5,0x25b))return{'type':_0x5c458a(_0x160d3e._0x35878c,0x404,_0x160d3e._0x3ab7cd,_0x160d3e._0x21f17f)};if(_0x50d80e[_0x5c458a(_0x160d3e._0x5f1b8f,0x333,_0x160d3e._0x1753fa,_0x160d3e._0x54d26d)]===_0x50b581(0x460,_0x160d3e._0x1e278a,_0x160d3e._0x399d83,0x518))return{'type':_0x5c458a(_0x160d3e._0x49c394,-_0x160d3e._0x4810fd,0x1a2,0xdb),'items':toSupportedSchema(_0x50d80e[_0x50b581(0x36b,0x4c0,_0x160d3e._0x21b31c,_0x160d3e._0x58404d)])??{'type':_0x50b581(0x3d4,_0x160d3e._0xbd1320,_0x160d3e._0x12118a,_0x160d3e._0x2ff5ae)}};if(_0x50d80e[_0x5c458a(_0x160d3e._0x460e7e,0x14f,0x31a,0x24d)]===_0x5c458a(_0x160d3e._0x33a104,0x68,_0x160d3e._0x4e22f8,_0x160d3e._0x2b4308))return toNuvinToolSchema(_0x50d80e);function _0x5c458a(_0x342d95,_0x331aca,_0x51ab80,_0x56cc89){return _0x47b891(_0x51ab80,_0x56cc89- -0x4e9,_0x51ab80-_0x4bd922._0x5f03ee,_0x56cc89-_0x4bd922._0x569b9f);}function _0x50b581(_0x413e82,_0x46cad1,_0x1b7c8d,_0x493343){return _0xe18bb0(_0x46cad1,_0x1b7c8d-_0x2d6b9d._0x5615e3,_0x1b7c8d-0xd5,_0x493343-0x99);}return void 0x0;}function toNuvinToolSchema(_0x302d54){const _0x4b6738={_0x3297f6:0x4e1,_0x1c2f15:0x4f8,_0x3452c4:0x31b,_0x2df1db:0x1b9,_0x18d45d:0x467,_0x30f1b5:0x491,_0x1e2aeb:0x2d6,_0x19a263:0x10b,_0x1c3c19:0x3bc,_0x153b9c:0x28e,_0x3140b8:0x435,_0x386d65:0x1d8,_0x49efe2:0x246,_0x14f946:0x40e,_0x39bd15:0x385,_0x1247f4:0x646,_0x1d9119:0x35b,_0x1f8e41:0x4ae},_0x52e3c9={_0x3d0f63:0x1cc,_0x38c8e0:0x32},_0x1bdc25={_0xa34527:0x1eb,_0x57ba88:0x1d8};if(!isObject(_0x302d54)||_0x302d54[_0x5d8b40(_0x4b6738._0x3297f6,0x42f,_0x4b6738._0x1c2f15,0x504)]!=='object')return{'type':'object','properties':{}};function _0x33c5f6(_0x9f055d,_0x420447,_0x3e0dd6,_0x303c01){return _0xe18bb0(_0x303c01,_0x9f055d-0x3e1,_0x3e0dd6-_0x1bdc25._0xa34527,_0x303c01-_0x1bdc25._0x57ba88);}function _0x5d8b40(_0x200ff2,_0x598112,_0x3776ae,_0x18e0e2){return _0x47b891(_0x3776ae,_0x18e0e2- -0x232,_0x3776ae-_0x52e3c9._0x3d0f63,_0x18e0e2-_0x52e3c9._0x38c8e0);}const _0x4cb8f3={},_0xb49af=isObject(_0x302d54['properties'])?_0x302d54['properties']:{};for(const [_0xfa4153,_0x482f32]of Object[_0x33c5f6(_0x4b6738._0x3452c4,0x14d,_0x4b6738._0x2df1db,_0x4b6738._0x18d45d)](_0xb49af)){const _0x2b5ba2=toSupportedSchema(_0x482f32);if(_0x2b5ba2)_0x4cb8f3[_0xfa4153]=_0x2b5ba2;}const _0xc301ec=Array[_0x33c5f6(_0x4b6738._0x30f1b5,_0x4b6738._0x1e2aeb,0x521,0x39b)](_0x302d54[_0x5d8b40(0x317,_0x4b6738._0x19a263,_0x4b6738._0x1c3c19,_0x4b6738._0x153b9c)])?_0x302d54[_0x5d8b40(_0x4b6738._0x3140b8,_0x4b6738._0x386d65,_0x4b6738._0x49efe2,0x28e)]['filter'](_0x17eded=>typeof _0x17eded==='string'):void 0x0;return _0xc301ec?.['length']?{'type':_0x5d8b40(_0x4b6738._0x14f946,_0x4b6738._0x39bd15,_0x4b6738._0x1247f4,0x4ae),'properties':_0x4cb8f3,'required':_0xc301ec}:{'type':_0x5d8b40(0x529,0x335,_0x4b6738._0x1d9119,_0x4b6738._0x1f8e41),'properties':_0x4cb8f3};}function isJsonObject(_0x3112d0){const _0x396f2e={_0x1a6ab2:0x6d8,_0x498614:0x5a6},_0x4d43e6={_0x1b5db3:0x357,_0x4c14bf:0x141};function _0x3fc40c(_0x375096,_0x5c4816,_0x14fd36,_0x240895){return _0xe18bb0(_0x14fd36,_0x240895-_0x4d43e6._0x1b5db3,_0x14fd36-0x98,_0x240895-_0x4d43e6._0x4c14bf);}return typeof _0x3112d0===_0x3fc40c(_0x396f2e._0x1a6ab2,0x503,0x412,_0x396f2e._0x498614)&&_0x3112d0!==null&&!Array['isArray'](_0x3112d0);}function formatMcpContent(_0x4dad72){const _0x48e3e5={_0x3fe002:0x1c,_0xcd5e86:0x1a5,_0x33a274:0x177,_0x3899da:0x19a,_0x69439a:0x241,_0x59a8dc:0x4c,_0x61d567:0x56d,_0x2b8dc9:0x4c7},_0x3d4b2d={_0x51a6eb:0x89},_0x229d54={_0x2e53a9:0xea,_0x5f1d47:0x8a,_0x131699:0xd2,_0x3c6d0d:0x224,_0x56da88:0x3e9,_0x16d524:0x553},_0x19c8f7={_0x246c9e:0x337},_0x549288={_0x21fec6:0x12c};function _0x25ae3d(_0xb0b7f9,_0x240d0a,_0x57cc44,_0x54427f){return _0xe18bb0(_0x240d0a,_0x57cc44-0x205,_0x57cc44-0x1ea,_0x54427f-_0x549288._0x21fec6);}const _0x598066=Array[_0x407a5d(0x337,_0x48e3e5._0x3fe002,_0x48e3e5._0xcd5e86,_0x48e3e5._0x33a274)](_0x4dad72[_0x25ae3d(_0x48e3e5._0x3899da,0x317,0x302,_0x48e3e5._0x69439a)])?_0x4dad72['content']:[],_0xcddd24=_0x598066['map'](_0x384052=>{const _0x20c2c6={_0x411e45:0x150};function _0x516cbd(_0x2ea7bf,_0x31e536,_0x4b0a04,_0x2def50){return _0x407a5d(_0x2ea7bf,_0x31e536-0xf9,_0x4b0a04-0x99,_0x31e536-_0x19c8f7._0x246c9e);}if(!isObject(_0x384052))return'';function _0x3473ac(_0x4ecf23,_0x59d294,_0x7e9c45,_0x39f6a3){return _0x407a5d(_0x39f6a3,_0x59d294-0x29,_0x7e9c45-_0x20c2c6._0x411e45,_0x7e9c45- -0x1d9);}if(_0x384052['type']==='text'&&typeof _0x384052[_0x3473ac(_0x229d54._0x2e53a9,0x22,0xae,_0x229d54._0x5f1d47)]==='string')return _0x384052[_0x3473ac(-0x21,_0x229d54._0x131699,0xae,_0x229d54._0x3c6d0d)];return JSON[_0x516cbd(_0x229d54._0x56da88,0x51a,_0x229d54._0x16d524,0x6a7)](_0x384052);})['filter'](_0x481867=>_0x481867[_0x407a5d(0x2de,0x25f,0x2bf,0x26e)]>0x0)[_0x407a5d(_0x48e3e5._0x59a8dc,0x37f,0x1da,0x1a9)]('\x0a');if(_0xcddd24[_0x25ae3d(_0x48e3e5._0x61d567,_0x48e3e5._0x2b8dc9,0x3ac,0x2b2)]>0x0)return _0xcddd24;function _0x407a5d(_0x27072b,_0x383fe4,_0x123db4,_0x36cb21){return _0xe18bb0(_0x27072b,_0x36cb21-0xc7,_0x123db4-0x82,_0x36cb21-_0x3d4b2d._0x51a6eb);}return JSON['stringify'](_0x4dad72,null,0x2);}function createMcpTool(_0x27a6ac){const _0x19aa9d={_0xef2f7d:0x195,_0x261ef6:0x2ff,_0xe4a7bb:0x1c2,_0xf77e95:0x19,_0x44f168:0x101,_0x3b3653:0x111,_0x26570a:0x308,_0x3f9e8e:0x441,_0x12f98b:0x504,_0x2a5d43:0x59e,_0x393369:0x441,_0x34ed26:0x331,_0x521bd3:0x408,_0x3fdcac:0x1d2,_0x2ecd53:0x240,_0x5e40f8:0x337,_0x2e5bee:0x1c2,_0x58716e:0x25,_0xb326c9:0x314,_0x23af96:0x466,_0x2a5f7e:0x2f0,_0xd89c93:0x2de,_0x265536:0x4ee,_0x4209d7:0xe9,_0x42fde5:0x33b,_0x4e7584:0xf},_0x115f6b={_0x4f5185:0x5a3,_0x171ca7:0x463,_0x2cfe97:0x137,_0x30440c:0x203,_0x45844f:0xf1,_0x33e7a9:0x23d,_0x3bd4e2:0x3ce,_0x1f2dcd:0x1c1,_0x171767:0x3a6,_0x238102:0x391,_0xd07a7b:0x404,_0x568489:0x858,_0x5af104:0x937,_0x348677:0x862,_0x24294a:0x906,_0x51a73f:0x84b,_0x5ef5a3:0x5c7,_0x2089cc:0x601,_0x281f7d:0x404,_0x469364:0x2cb,_0x41f65b:0xac,_0x12e564:0x278},_0x4fdb8d={_0x140189:0x18d},_0x26744c={_0xd3f58e:0xb},_0x2a637d={_0x33b4d2:0x1cc},_0x3afcc2={_0x58e61a:0x2d};function _0x25ee8d(_0x552b7d,_0x38daa6,_0x41e834,_0x4ceaa5){return _0xe18bb0(_0x552b7d,_0x4ceaa5-0x342,_0x41e834-_0x3afcc2._0x58e61a,_0x4ceaa5-0x109);}const _0x1e936c=createMcpToolName(_0x27a6ac[_0x8d13a(0x321,0x34e,0x434,_0x19aa9d._0xef2f7d)],_0x27a6ac[_0x8d13a(_0x19aa9d._0x261ef6,_0x19aa9d._0xe4a7bb,0x2eb,-_0x19aa9d._0xf77e95)]['name']);function _0x8d13a(_0x11b75a,_0x3232ad,_0x1be807,_0x388215){return _0x47b891(_0x1be807,_0x3232ad- -0x382,_0x1be807-0x13c,_0x388215-_0x2a637d._0x33b4d2);}return defineTool({'name':_0x1e936c,'permissionClass':_0x27a6ac[_0x8d13a(0x237,0xa5,_0x19aa9d._0x44f168,-_0x19aa9d._0x3b3653)],..._0x27a6ac[_0x25ee8d(0x5be,_0x19aa9d._0x26570a,0x390,_0x19aa9d._0x3f9e8e)]!==void 0x0?{'internalLifecycle':_0x27a6ac[_0x25ee8d(_0x19aa9d._0x12f98b,0x314,_0x19aa9d._0x2a5d43,_0x19aa9d._0x393369)]}:{},'description':_0x27a6ac['tool'][_0x25ee8d(_0x19aa9d._0x34ed26,_0x19aa9d._0x521bd3,_0x19aa9d._0x3fdcac,_0x19aa9d._0x2ecd53)]??'MCP\x20tool\x20'+_0x27a6ac[_0x8d13a(_0x19aa9d._0x5e40f8,_0x19aa9d._0x2e5bee,0xc9,_0x19aa9d._0x58716e)]['name']+_0x25ee8d(0x3fd,_0x19aa9d._0xb326c9,0x439,_0x19aa9d._0x23af96)+_0x27a6ac[_0x8d13a(_0x19aa9d._0x2a5f7e,0x34e,_0x19aa9d._0xd89c93,_0x19aa9d._0x265536)],'inputSchema':toNuvinToolSchema(_0x27a6ac[_0x8d13a(_0x19aa9d._0x4209d7,_0x19aa9d._0xe4a7bb,_0x19aa9d._0x42fde5,-_0x19aa9d._0x4e7584)][_0x8d13a(-0x143,0x8d,-0x14a,0x170)]),async *'execute'(_0xca1c45){let _0x45187e;function _0x1c3567(_0x3614c3,_0x3406bc,_0x57588b,_0x212403){return _0x25ee8d(_0x57588b,_0x3406bc-_0x26744c._0xd3f58e,_0x57588b-0x4d,_0x212403-0x2fb);}try{_0x45187e=await _0x27a6ac[_0x117bd8(0x5cd,0x282,_0x115f6b._0x4f5185,_0x115f6b._0x171ca7)][_0x117bd8(_0x115f6b._0x2cfe97,0x1e0,_0x115f6b._0x30440c,_0x115f6b._0x45844f)]({'name':_0x27a6ac[_0x1c3567(0x819,0x54e,0x577,0x6f0)]['name'],'arguments':isJsonObject(_0xca1c45)?_0xca1c45:{}});if(_0x45187e[_0x117bd8(0x1be,_0x115f6b._0x33e7a9,_0x115f6b._0x3bd4e2,_0x115f6b._0x1f2dcd)])throw toMcpSafeError({'serverName':_0x27a6ac[_0x117bd8(_0x115f6b._0x171767,0x2af,_0x115f6b._0x238102,_0x115f6b._0xd07a7b)],'operation':_0x1c3567(_0x115f6b._0x568489,0x80b,_0x115f6b._0x5af104,0x7e5),'error':_0x45187e});}catch(_0x506a46){throw extractOwnedMcpSafeError(_0x506a46)??toMcpSafeError({'serverName':_0x27a6ac[_0x1c3567(_0x115f6b._0x348677,0x6da,0x7bf,0x87c)],'operation':_0x1c3567(0x86c,_0x115f6b._0x24294a,_0x115f6b._0x51a73f,0x7e5),'error':_0x506a46});}function _0x117bd8(_0x295414,_0x1c2d9c,_0x5c4f8d,_0x122946){return _0x25ee8d(_0x295414,_0x1c2d9c-0xc5,_0x5c4f8d-_0x4fdb8d._0x140189,_0x122946- -0x17d);}return yield createToolOutput(formatMcpContent(_0x45187e),{'serverName':_0x27a6ac[_0x117bd8(0x5d2,_0x115f6b._0x5ef5a3,_0x115f6b._0x2089cc,_0x115f6b._0x281f7d)],'toolName':_0x27a6ac[_0x117bd8(_0x115f6b._0x469364,0x1c3,_0x115f6b._0x41f65b,_0x115f6b._0x12e564)]['name'],'result':_0x45187e}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x5bb876){let _0x3b8edf=_0x5bb876;return{'get'(){return _0x3b8edf;},'set'(_0x37cecc){_0x3b8edf=_0x37cecc;}};}function resolveMcpTimeoutMs(_0x5d9913,_0x3f1bbf){const _0x165846={_0x3ca6b1:0x353,_0x54c592:0x54a,_0x357c42:0x45c},_0x11fc6b={_0x380db5:0x355,_0x2e9dec:0x1be};function _0x41a4e4(_0x410926,_0x3454bd,_0x28edb0,_0x1394d5){return _0xe18bb0(_0x410926,_0x1394d5-_0x11fc6b._0x380db5,_0x28edb0-0x1a6,_0x1394d5-_0x11fc6b._0x2e9dec);}return _0x5d9913[_0x41a4e4(0x2ac,_0x165846._0x3ca6b1,_0x165846._0x54c592,_0x165846._0x357c42)]??_0x3f1bbf??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x304725,_0x4a792d){const _0x4e43eb={_0x22e874:0x17a},_0x5e4b5={_0x5c8d82:0x15,_0x14aef5:0x182};function _0x42d46b(_0x117298,_0x1d6e06,_0x23df44,_0x5a7a3a){return _0x47b891(_0x117298,_0x23df44- -0x23d,_0x23df44-_0x5e4b5._0x5c8d82,_0x5a7a3a-_0x5e4b5._0x14aef5);}return(_0x4a792d?extractOwnedMcpSafeError(_0x304725[_0x42d46b(-0x39,0x147,_0x4e43eb._0x22e874,0xe7)]):void 0x0)??createOwnedMcpSafeError(_0x304725);}function createMcpGenerationLifecycle(_0x4c8f83){const _0xa984be={_0x19322f:0x134,_0x514741:0xb4,_0xd2b7a4:0x1f4,_0x2342b3:0x106,_0x35c073:0x68,_0x52b1f0:0x27c,_0x4c622b:0x166,_0x2a14d1:0x17d},_0x35ef84={_0x37905a:0x325},_0x3107bb={_0x5187a7:0x385};let _0x532dfa=0x0,_0x3616dd=![],_0x41210c=![],_0x494310,_0x35cf2e,_0x283f56;const _0x2f8ef4=()=>{if(!_0x3616dd||_0x532dfa!==0x0||_0x41210c)return;_0x41210c=!![];function _0x347080(_0x5db7a6,_0x48b498,_0x33ee9d,_0x35ad7d){return _0x678a(_0x48b498- -_0x3107bb._0x5187a7,_0x35ad7d);}function _0x3cb3dc(_0xe75bc7,_0x171a94,_0x4df3ce,_0xf5e026){return _0x678a(_0xe75bc7- -_0x35ef84._0x37905a,_0x171a94);}void Promise[_0x347080(-0x142,-_0xa984be._0x19322f,_0xa984be._0x514741,-_0xa984be._0xd2b7a4)]()[_0x347080(-0xe0,_0xa984be._0x2342b3,-_0xa984be._0x35c073,_0xa984be._0x52b1f0)](_0x4c8f83)[_0x3cb3dc(_0xa984be._0x4c622b,0x31,_0xa984be._0x2a14d1,0x1b3)](_0x35cf2e,_0x283f56);};return{'acquire'(){if(_0x3616dd)throw new Error('Cannot\x20acquire\x20a\x20retired\x20MCP\x20connection\x20generation');_0x532dfa+=0x1;let _0x2da4c3=![];return()=>{if(_0x2da4c3)return;_0x2da4c3=!![],_0x532dfa-=0x1,_0x2f8ef4();};},'retire'(){return!_0x494310&&(_0x494310=new Promise((_0x47df11,_0x2688c2)=>{_0x35cf2e=_0x47df11,_0x283f56=_0x2688c2;})),_0x3616dd=!![],_0x2f8ef4(),_0x494310;}};}function buildMcpHttpHeaders(_0x5e789a){const _0x395092={_0xef6caa:0x4d2,_0x1c2c2c:0x73f,_0x11cc74:0x72f,_0x2f8aa9:0x0,_0x472483:0x97,_0x1db694:0x11d,_0x1163d9:0x352,_0x5c7b5f:0x36a,_0x41e1ec:0x296,_0x33f564:0x4bd,_0x455da6:0x2e4,_0x17d83e:0x446,_0x13b4a8:0x32e,_0x50bae8:0x3d,_0x47adc0:0x240,_0x52444c:0x583,_0xe79212:0x5ba,_0x3aec33:0x530,_0x5b4941:0x112,_0x3e67f6:0x4ab,_0x2b09d3:0x300,_0x120909:0x610},_0x3745fd={_0x4848a7:0x304},_0x4fd74e={_0x8da234:0x35f},_0x286bf1={..._0x5e789a['headers']??{}};function _0x20ec5c(_0x50a10b,_0x2326d4,_0x3e6d91,_0x34f4a2){return _0x47b891(_0x3e6d91,_0x34f4a2- -_0x4fd74e._0x8da234,_0x3e6d91-0xcf,_0x34f4a2-0x16d);}_0x5e789a[_0x268c7d(0x352,0x501,0x34b,_0x395092._0xef6caa)]?.[_0x268c7d(0x5a9,_0x395092._0x1c2c2c,_0x395092._0x11cc74,0x420)]===_0x20ec5c(_0x395092._0x2f8aa9,-_0x395092._0x472483,-0xa1,_0x395092._0x1db694)&&_0x5e789a[_0x268c7d(_0x395092._0x1163d9,_0x395092._0x5c7b5f,_0x395092._0x41e1ec,_0x395092._0x33f564)][_0x268c7d(_0x395092._0x455da6,_0x395092._0x17d83e,0x476,_0x395092._0x13b4a8)]&&_0x286bf1[_0x20ec5c(0x259,-0x72,-0x63,0x60)]===void 0x0&&(_0x286bf1[_0x20ec5c(_0x395092._0x50bae8,_0x395092._0x47adc0,0xcd,0x60)]=_0x268c7d(_0x395092._0x52444c,_0x395092._0xe79212,0x63f,0x742)+_0x5e789a[_0x268c7d(0x352,0x457,_0x395092._0x3aec33,0x32c)][_0x20ec5c(0x2cc,0x2be,0x262,_0x395092._0x5b4941)]);function _0x268c7d(_0x2fbdda,_0x53aa5a,_0x396ce1,_0xbf1fc0){return _0xe18bb0(_0xbf1fc0,_0x2fbdda-_0x3745fd._0x4848a7,_0x396ce1-0xa2,_0xbf1fc0-0x67);}return Object['keys'](_0x286bf1)[_0x268c7d(_0x395092._0x3e67f6,_0x395092._0x2b09d3,_0x395092._0x120909,0x2cd)]>0x0?_0x286bf1:void 0x0;}async function connectMcpServer(_0x4d7ff3,_0x48bfb6,_0x1fb782){const _0x7a00c={_0x59ffc2:0x666,_0x13c224:0x585,_0x42913b:0x8b7,_0x5de15e:0x61f,_0x28d08b:0x683,_0x437d12:0x71f,_0x324369:0x73d,_0x5063ea:0x758,_0x2b60a5:0x558,_0x3654b2:0x893,_0x11bb02:0x79d,_0x5e4c7f:0x7c9,_0x29d402:0x64f,_0x45c23c:0x7d2,_0x44838e:0x842,_0x5d3c3f:0x727,_0x304f3f:0x6ba,_0x3496b4:0x84d,_0x55f03d:0x472,_0x28fb91:0x824,_0x305a98:0x515,_0x2079c5:0x4a4,_0x452f91:0x482,_0x2417c0:0x4de,_0x1a7a9b:0x6c6,_0x316590:0x4f6,_0xfa4367:0x6c1,_0x56032c:0x7b5,_0x1c2659:0x37f,_0x3b21ae:0x6be,_0x3709a:0x54b,_0x3039ac:0x618,_0x360453:0x859,_0x433a34:0x6d7,_0xa646cf:0x3c4,_0x33dc49:0x641,_0x1abf1f:0x6d0,_0x405b73:0x5da,_0x51c2fe:0x69e,_0x4343ab:0x884,_0x5f2773:0x622,_0x4e3dcc:0x7f2,_0x386930:0x6b0,_0x1e8c49:0x715,_0x7cd534:0x68c,_0x197a94:0x5f8,_0x578782:0x7f7,_0x2dfe65:0x73a,_0x103afc:0x61a,_0x2f7503:0x724,_0x181a02:0x7c9,_0x9095a7:0x4c8,_0x1f15c2:0x52c,_0x20760e:0x59a,_0x4add4d:0x63c,_0x5bc772:0x466,_0xdf561b:0x6a1,_0x1bb254:0x5c2},_0xf670e9={_0x11dd47:0x1bf,_0x14bfe0:0xa5,_0x1ddd2d:0x280,_0x415a5b:0x3c6,_0x45753a:0x2e9,_0x311730:0x29a,_0x37235f:0x2ae},_0x2a014d={_0x22eb27:0x190},_0xac473f={_0x1ad298:0x14c,_0x20fa58:0x39d},_0x71fe4={_0x1e9894:0xa69,_0x3255e1:0x938,_0x573df8:0x8a3,_0x3d7e25:0xd6,_0x3ba48c:0x49,_0x3a337f:0xc1,_0x27450c:0x1e2,_0x399627:0x148},_0x236941={_0x33f52e:0x7d5,_0x821d05:0x5ca},_0x1ff13d={_0x311d8:0x6a,_0x3d415:0xb8},_0x111479={_0x4420e5:0x653,_0x25a1a0:0x5c9,_0x1cd9eb:0x77a},_0x27e538={_0x2bc8b0:0x4eb,_0x5cf07d:0x573,_0x5cb127:0x6a7,_0x3d54e5:0x6f0,_0x398587:0x96,_0x1caff1:0xea,_0x3b9e63:0xd3,_0x2721ab:0x1be},_0x2338cf={_0x2c3cdd:0x202},_0x110723={_0x105804:0x13d},_0x3ec8d5={_0x2b31af:0x1ea},_0x45fdd4={_0x5bddf6:0x417,_0x418fab:0x8e1,_0x40dea7:0x6b2,_0x4a0839:0x423,_0x30d5d1:0x5e9,_0x13d2dd:0x553},_0x495100={_0x559282:0x712},_0x19a7d7=new Client({'name':_0x52e70b(0x529,_0x7a00c._0x59ffc2,_0x7a00c._0x13c224,0x6b9),'version':_0x52e70b(_0x7a00c._0x42913b,0x750,_0x7a00c._0x5de15e,_0x7a00c._0x28d08b)}),_0x3d5915=_0x1fb782?.['timeoutSource']??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x3b5741=new Set();let _0x245b4d,_0x36d87e=![];const _0x58f008=()=>{const _0x21dabf={_0x387a4f:0x135};function _0x1a2bae(_0x484a10,_0x5a72af,_0x137e03,_0x153166){return _0x5838d0(_0x484a10-0x17c,_0x5a72af-0x32,_0x137e03- -_0x21dabf._0x387a4f,_0x484a10);}if(_0x36d87e||_0x245b4d)return;_0x245b4d={'code':'mcp-transport-error','cause':new Error(_0x1a2bae(0x780,_0x495100._0x559282,0x5e3,0x528))};for(const _0x556d18 of _0x3b5741){try{_0x556d18(_0x245b4d);}catch{}}};_0x19a7d7[_0x52e70b(0x73c,_0x7a00c._0x437d12,0x762,0x623)]=()=>{const _0x11e09f={_0x5a0bf4:0x11b,_0xb4bd78:0x6f};function _0x50f8e8(_0x3c15c3,_0xc99748,_0x4217eb,_0x22ed3d){return _0x5838d0(_0x3c15c3-0x178,_0xc99748-0x110,_0x3c15c3- -0x2bc,_0xc99748);}function _0x1fd543(_0x13954f,_0x547268,_0xd12bf,_0x57a531){return _0x5838d0(_0x13954f-_0x11e09f._0x5a0bf4,_0x547268-0xde,_0x57a531-_0x11e09f._0xb4bd78,_0xd12bf);}console[_0x1fd543(_0x45fdd4._0x5bddf6,0x43b,0x60c,0x536)](_0x1fd543(0x88a,_0x45fdd4._0x418fab,_0x45fdd4._0x40dea7,0x748),{'server':_0x4d7ff3,'code':_0x1fd543(0x4a7,_0x45fdd4._0x4a0839,_0x45fdd4._0x30d5d1,_0x45fdd4._0x13d2dd)});};function _0x5838d0(_0x416762,_0x140266,_0x3aa3ff,_0x12a625){return _0xe18bb0(_0x12a625,_0x3aa3ff-0x490,_0x3aa3ff-_0x3ec8d5._0x2b31af,_0x12a625-0x1b2);}_0x19a7d7['onclose']=_0x58f008;try{if(_0x48bfb6['transport']==='http'||_0x48bfb6[_0x52e70b(_0x7a00c._0x324369,_0x7a00c._0x5063ea,_0x7a00c._0x2b60a5,_0x7a00c._0x3654b2)]){if(!_0x48bfb6[_0x52e70b(0x86d,0x758,_0x7a00c._0x11bb02,0x563)])throw new Error(_0x5838d0(_0x7a00c._0x5e4c7f,0x5b6,_0x7a00c._0x29d402,_0x7a00c._0x45c23c)+_0x4d7ff3+_0x5838d0(_0x7a00c._0x44838e,_0x7a00c._0x5d3c3f,0x669,0x763));if(_0x48bfb6['auth']?.[_0x52e70b(_0x7a00c._0x304f3f,0x7e3,0x66c,_0x7a00c._0x3496b4)]===_0x5838d0(0x7f4,_0x7a00c._0x55f03d,0x618,0x6fb)&&!_0x1fb782?.[_0x52e70b(_0x7a00c._0x28fb91,0x6c6,_0x7a00c._0x305a98,0x5c6)])throw new Error('MCP\x20server\x20'+_0x4d7ff3+'\x20requires\x20OAuth\x20connection\x20options');const _0x17499d=buildMcpHttpHeaders(_0x48bfb6),_0x399430=_0x48bfb6[_0x5838d0(_0x7a00c._0x2079c5,_0x7a00c._0x452f91,_0x7a00c._0x2417c0,0x455)]?.['type']===_0x52e70b(0x707,_0x7a00c._0x1a7a9b,0x732,_0x7a00c._0x316590)&&_0x1fb782?.[_0x5838d0(_0x7a00c._0xfa4367,0x571,0x618,_0x7a00c._0x56032c)]?createMcpOAuthProvider({'serverName':_0x4d7ff3,'callbackUrl':_0x1fb782['oauth'][_0x52e70b(_0x7a00c._0x1c2659,0x519,0x3b5,_0x7a00c._0x3b21ae)],'storageDir':_0x1fb782[_0x5838d0(_0x7a00c._0x3709a,0x824,_0x7a00c._0x3039ac,0x55c)][_0x52e70b(_0x7a00c._0x360453,0x68f,_0x7a00c._0x5e4c7f,_0x7a00c._0x433a34)],'config':_0x48bfb6[_0x52e70b(0x4f8,0x58c,_0x7a00c._0xa646cf,0x521)],'onRedirect':_0x3ffcdc=>_0x1fb782['oauth']?.[_0x5838d0(0x70a,0x4eb,0x565,0x44c)](_0x4d7ff3,_0x3ffcdc)}):void 0x0,_0x53ef75=new StreamableHTTPClientTransport(new URL(_0x48bfb6['url']),{'authProvider':_0x399430,'requestInit':_0x17499d?{'headers':_0x17499d}:void 0x0});await _0x19a7d7[_0x5838d0(0x5a0,0x6eb,_0x7a00c._0x33dc49,_0x7a00c._0x1abf1f)](_0x53ef75,{'timeout':_0x3d5915[_0x52e70b(0x74a,_0x7a00c._0x405b73,0x4ca,0x756)](),..._0x1fb782?.['signal']!==void 0x0?{'signal':_0x1fb782[_0x5838d0(0x804,0x4b2,0x63c,0x704)]}:{}});}else{if(!_0x48bfb6[_0x5838d0(_0x7a00c._0x51c2fe,0x5ff,0x764,_0x7a00c._0x4343ab)])throw new Error('MCP\x20server\x20'+_0x4d7ff3+_0x52e70b(_0x7a00c._0x5f2773,_0x7a00c._0x4e3dcc,_0x7a00c._0x386930,_0x7a00c._0x1e8c49));const _0x2922f1=new StdioClientTransport({'command':_0x48bfb6[_0x52e70b(0x9ca,0x812,0x9fa,_0x7a00c._0x7cd534)],'args':_0x48bfb6['args']??[],'env':_0x48bfb6[_0x5838d0(0x4dd,0x6bb,_0x7a00c._0x197a94,_0x7a00c._0x578782)],'stderr':_0x5838d0(0x76c,_0x7a00c._0x2dfe65,_0x7a00c._0x103afc,0x4c2)});await _0x19a7d7[_0x52e70b(0x5c9,0x6ef,_0x7a00c._0x2f7503,_0x7a00c._0x181a02)](_0x2922f1,{'timeout':_0x3d5915[_0x5838d0(_0x7a00c._0x9095a7,0x625,_0x7a00c._0x1f15c2,0x70d)](),..._0x1fb782?.['signal']!==void 0x0?{'signal':_0x1fb782[_0x5838d0(_0x7a00c._0x20760e,0x517,_0x7a00c._0x4add4d,0x5b1)]}:{}});}}catch(_0x3bcd6e){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x5838d0(_0x7a00c._0x5bc772,_0x7a00c._0xdf561b,0x641,_0x7a00c._0x1bb254),'error':_0x3bcd6e});}function _0x52e70b(_0x3ce02c,_0x50cea6,_0x272db1,_0x7e3975){return _0x47b891(_0x272db1,_0x50cea6-0xad,_0x272db1-_0x110723._0x105804,_0x7e3975-0x151);}return{async 'listTools'(_0x54a161){const _0x58aba3={_0x2701bb:0x66,_0x2bb863:0x613,_0x27f670:0x2b};function _0x23a119(_0x33d021,_0xce877f,_0x4ea98c,_0x112557){return _0x52e70b(_0x33d021-_0x58aba3._0x2701bb,_0x4ea98c- -_0x58aba3._0x2bb863,_0x33d021,_0x112557-_0x58aba3._0x27f670);}const _0x292886=_0x54a161?.[_0x26cfce(_0x27e538._0x2bc8b0,_0x27e538._0x5cf07d,0x4e8,_0x27e538._0x5cb127)]??_0x1fb782?.[_0x26cfce(_0x27e538._0x3d54e5,0x45f,0x4e8,0x4eb)];function _0x26cfce(_0x2c514d,_0x1c0221,_0x205376,_0x463872){return _0x52e70b(_0x2c514d-0x11a,_0x205376- -_0x2338cf._0x2c3cdd,_0x1c0221,_0x463872-0x80);}try{return await _0x19a7d7[_0x23a119(0x7b,_0x27e538._0x398587,0x111,0x253)](void 0x0,{'timeout':_0x3d5915[_0x23a119(-0x1ce,_0x27e538._0x1caff1,-0x39,_0x27e538._0x3b9e63)](),..._0x292886!==void 0x0?{'signal':_0x292886}:{}});}catch(_0x463542){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x23a119(-_0x27e538._0x2721ab,-0x1d9,-0x1b8,0x34),'error':_0x463542});}},'onTerminalError'(_0x10b695){const _0x3f51ed={_0x2114be:0xc1,_0x4ebf14:0x609,_0x562bc5:0xbd},_0x280db4={_0x484a03:0xad};_0x3b5741[_0x5261f5(0x654,_0x236941._0x33f52e,0x7bf,_0x236941._0x821d05)](_0x10b695);const _0x346fdb=_0x245b4d;_0x346fdb&&queueMicrotask(()=>{function _0x2c7747(_0x403d08,_0xcef749,_0x1479ae,_0xc78b2c){return _0x5261f5(_0x403d08-_0x280db4._0x484a03,_0x403d08- -0x162,_0xcef749,_0xc78b2c-0x1b7);}if(_0x3b5741[_0x2c7747(_0x111479._0x4420e5,_0x111479._0x25a1a0,0x5f5,_0x111479._0x1cd9eb)](_0x10b695))_0x10b695(_0x346fdb);});function _0x54b03f(_0xa6ccbc,_0x47f723,_0x5e9532,_0x548db1){return _0x52e70b(_0xa6ccbc-_0x3f51ed._0x2114be,_0x548db1- -_0x3f51ed._0x4ebf14,_0x5e9532,_0x548db1-_0x3f51ed._0x562bc5);}function _0x5261f5(_0x47a804,_0x143145,_0x307209,_0x1af42){return _0x5838d0(_0x47a804-_0x1ff13d._0x311d8,_0x143145-0x18e,_0x143145-_0x1ff13d._0x3d415,_0x307209);}return()=>_0x3b5741[_0x5261f5(0x831,0x695,0x69e,0x53d)](_0x10b695);},async 'callTool'(_0xaf3e64){const _0x1d526d={_0xb2f89f:0x17e,_0x3dd67f:0x132,_0x300d26:0x161},_0x11dd65={_0x5d74f5:0xbd,_0x326a98:0x456};function _0x127aeb(_0x188d15,_0x141533,_0x2b54ee,_0x3748c4){return _0x5838d0(_0x188d15-0x1ae,_0x141533-_0x11dd65._0x5d74f5,_0x141533- -_0x11dd65._0x326a98,_0x3748c4);}function _0x4bdd63(_0x52f664,_0x567864,_0x2767f6,_0xa6a3f2){return _0x5838d0(_0x52f664-_0x1d526d._0xb2f89f,_0x567864-_0x1d526d._0x3dd67f,_0x52f664-_0x1d526d._0x300d26,_0x567864);}try{return await _0x19a7d7[_0x4bdd63(0x885,_0x71fe4._0x1e9894,0x7e6,_0x71fe4._0x3255e1)]({'method':_0x4bdd63(_0x71fe4._0x573df8,0x97f,0x83b,0x88a),'params':_0xaf3e64},CallToolResultSchema,{'timeout':_0x3d5915[_0x127aeb(-0xc6,_0x71fe4._0x3d7e25,_0x71fe4._0x3ba48c,0x10b)]()});}catch(_0xaf585c){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x127aeb(_0x71fe4._0x3a337f,_0x71fe4._0x27450c,0xc3,_0x71fe4._0x399627),'error':_0xaf585c});}},async 'close'(){_0x36d87e=!![],_0x19a7d7['onerror']=void 0x0,_0x19a7d7[_0x69adc2(-0x21,-0xd,_0xf670e9._0x11dd47,_0xf670e9._0x14bfe0)]=void 0x0;function _0x69adc2(_0x1f7433,_0x359ff5,_0xcad6bd,_0x1c653e){return _0x5838d0(_0x1f7433-_0xac473f._0x1ad298,_0x359ff5-0x76,_0x1f7433- -_0xac473f._0x20fa58,_0x359ff5);}function _0x424b95(_0x4244b3,_0x2086b5,_0x540106,_0x48b6df){return _0x5838d0(_0x4244b3-0xf1,_0x2086b5-0x13a,_0x4244b3- -_0x2a014d._0x22eb27,_0x540106);}_0x3b5741[_0x424b95(_0xf670e9._0x1ddd2d,_0xf670e9._0x415a5b,_0xf670e9._0x45753a,_0xf670e9._0x311730)]();try{await _0x19a7d7[_0x69adc2(0x1ac,0x159,_0xf670e9._0x37235f,-0x10)]();}catch(_0x7b105c){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x69adc2(0x1ac,0x89,-0x4a,0x32a),'error':_0x7b105c});}}};}async function createMcpConnectionGeneration(_0x186e33){const _0x372c47={_0x45c74d:0x51e,_0x12b55d:0x387,_0x53e489:0x7f3,_0x2303c5:0x848,_0x13c7f7:0x9fd,_0x30f736:0x9ed,_0x1d5224:0xce,_0x57d5c5:0x102,_0x4a5376:0x78d,_0x4a5fa0:0x7d8,_0x27179d:0x415,_0x2a3bcd:0x23c,_0x117d59:0x6f2,_0x511d1b:0x7fa,_0x122d28:0x897,_0x1a1ee2:0x287,_0x1f0697:0x3bc,_0x154c67:0x50f,_0x161c8b:0x382,_0x69aada:0x448,_0x19761d:0x2b4,_0x42f8d1:0xe0,_0x2201ea:0x248,_0x2b89b8:0x28f,_0x42a587:0x368,_0x5e919d:0x4e1,_0x4c8ffd:0x351},_0x120b8e={_0x16cfc8:0x4fd,_0xc17c8c:0x6d8,_0x5d1e74:0x555,_0x52c1c7:0x53e},_0x554aae={_0x1c5d2a:0xc2},_0x46ac89={_0x3abd60:0x703,_0x3d66e6:0x5a7,_0x3109f4:0x572},_0x12789e={_0x2ad3fb:0x1b4,_0x41b15d:0x2e2,_0x2e4b9d:0x18c},_0x170f6f={_0x37a9ff:0x1a7,_0x5d86de:0x7},_0x124745={_0x5724fb:0x277,_0x33bc81:0xba,_0x2b6ee4:0xe9},_0x22f580={_0x5a65be:0x619},_0x2bc15d={_0x55ad8a:0x259},_0x1498bb={_0x1d8004:0x20e,_0x382541:0x384,_0x5ddce6:0x521,_0x4a371c:0x68a},_0x833ed6={_0x2a6890:0x167,_0x39d597:0x37,_0x1fd34e:0x77},_0x329085={_0x485a70:0x8c,_0x9a1bae:0x85},_0x4c9ee8={_0x3e7de7:0x1b8},_0x5b0844=_0x186e33[_0x47e848(_0x372c47._0x45c74d,0x25e,_0x372c47._0x12b55d,0x45e)]??connectMcpServer,_0x2d16a9=_0x186e33[_0x2cc3f2(_0x372c47._0x53e489,_0x372c47._0x2303c5,0x7fa,0x96f)]===void 0x0,_0x26ade7={..._0x186e33[_0x2cc3f2(_0x372c47._0x13c7f7,0x98b,0x92c,_0x372c47._0x30f736)],'timeoutSource':_0x186e33[_0x47e848(-0xa3,-0xd0,_0x372c47._0x1d5224,-_0x372c47._0x57d5c5)],..._0x186e33['signal']!==void 0x0?{'signal':_0x186e33['signal']}:{}};let _0x5ac1d3;try{_0x5ac1d3=await _0x5b0844(_0x186e33[_0x2cc3f2(0x8fe,0xa2c,0x888,_0x372c47._0x4a5376)],_0x186e33[_0x2cc3f2(0x881,0x887,0x776,_0x372c47._0x4a5fa0)],_0x26ade7);}catch(_0x1ff860){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x47e848(0x5b7,0x594,_0x372c47._0x27179d,_0x372c47._0x2a3bcd)],'operation':_0x2cc3f2(0x7de,_0x372c47._0x117d59,_0x372c47._0x511d1b,_0x372c47._0x122d28),'error':_0x1ff860},_0x2d16a9);}const _0x5f284e=new Set();let _0x3fe687;function _0x2cc3f2(_0x484d2c,_0x587140,_0xbe7ee9,_0x4900dc){return _0x47b891(_0x587140,_0xbe7ee9-_0x4c9ee8._0x3e7de7,_0xbe7ee9-0x136,_0x4900dc-0xa5);}const _0xcb3ced=_0x5ac1d3[_0x2cc3f2(0x5f7,0x517,0x595,0x3bd)]?.(_0x4b68f0=>{if(_0x3fe687)return;_0x3fe687=_0x4b68f0;for(const _0x2810d2 of _0x5f284e)_0x2810d2(_0x4b68f0);});let _0x17a617=![];const _0x4af351=()=>{if(_0x17a617)return;_0x17a617=!![];function _0x53cc2c(_0x3f0368,_0xaee0c1,_0x36d2f6,_0x775dc0){return _0x47e848(_0x775dc0,_0xaee0c1-_0x329085._0x485a70,_0xaee0c1- -0x2bd,_0x775dc0-_0x329085._0x9a1bae);}_0x5f284e[_0x53cc2c(-0x67,-_0x833ed6._0x2a6890,-_0x833ed6._0x39d597,_0x833ed6._0x1fd34e)](),_0xcb3ced?.();};let _0x195659;try{_0x195659=await _0x5ac1d3[_0x47e848(_0x372c47._0x1a1ee2,0x3a7,_0x372c47._0x1f0697,0x45b)](_0x186e33[_0x47e848(0x3be,_0x372c47._0x154c67,_0x372c47._0x161c8b,0x2bf)]!==void 0x0?{'signal':_0x186e33['signal']}:void 0x0);}catch(_0x3e3c49){const _0x4a7633=mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x47e848(0x41e,_0x372c47._0x69aada,0x415,_0x372c47._0x19761d)],'operation':'discover','error':_0x3e3c49},_0x2d16a9);_0x4af351();try{await _0x5ac1d3[_0x47e848(_0x372c47._0x42f8d1,_0x372c47._0x2201ea,_0x372c47._0x2b89b8,0x1a5)]();}catch{}throw _0x4a7633;}const _0x43b743=[..._0x195659[_0x47e848(_0x372c47._0x42a587,0x44a,_0x372c47._0x5e919d,_0x372c47._0x4c8ffd)]],_0x1cfe8e={async 'callTool'(_0x280173){const _0x5d985c={_0x36ebf1:0xa5,_0x13a476:0x1e5},_0x5895ff={_0x1457cf:0x10f,_0x402d2a:0x450,_0x426c44:0x1cd};function _0x2bb4cd(_0x139f69,_0x55ae82,_0x3b8cf7,_0x38a012){return _0x47e848(_0x38a012,_0x55ae82-_0x5895ff._0x1457cf,_0x139f69-_0x5895ff._0x402d2a,_0x38a012-_0x5895ff._0x426c44);}function _0xe5e32c(_0x2b66d9,_0x4e983a,_0x3acf83,_0x283253){return _0x2cc3f2(_0x2b66d9-_0x5d985c._0x36ebf1,_0x3acf83,_0x4e983a- -0x367,_0x283253-_0x5d985c._0x13a476);}try{return await _0x5ac1d3[_0xe5e32c(0x3a0,_0x1498bb._0x1d8004,0x169,0x1b8)](_0x280173);}catch(_0x377b9b){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0xe5e32c(_0x1498bb._0x382541,_0x1498bb._0x5ddce6,_0x1498bb._0x4a371c,0x486)],'operation':'toolCall','error':_0x377b9b},_0x2d16a9);}}},_0x130584=createMcpGenerationLifecycle(async()=>{function _0x338e1e(_0x414d03,_0x3b3dd8,_0x455b60,_0x4178de){return _0x47e848(_0x414d03,_0x3b3dd8-0x1bf,_0x4178de- -_0x2bc15d._0x55ad8a,_0x4178de-0x1ed);}function _0x523434(_0x1a24da,_0x1dae0c,_0x342740,_0x4c4293){return _0x2cc3f2(_0x1a24da-0x140,_0x4c4293,_0x1dae0c- -_0x22f580._0x5a65be,_0x4c4293-0x111);}_0x4af351();try{await _0x5ac1d3['close']();}catch(_0x4aa907){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x523434(0x2b5,0x26f,0x280,_0x124745._0x5724fb)],'operation':_0x523434(_0x124745._0x33bc81,_0x124745._0x2b6ee4,0x30,-0x11a),'error':_0x4aa907},_0x2d16a9);}});function _0x47e848(_0xc89c8a,_0x3e1c1b,_0x7d5ea6,_0x4e83fb){return _0xe18bb0(_0xc89c8a,_0x7d5ea6-0x1d6,_0x7d5ea6-_0x170f6f._0x37a9ff,_0x4e83fb-_0x170f6f._0x5d86de);}return{'client':_0x5ac1d3,'descriptors':_0x43b743,'lifecycle':_0x130584,'projectTools'(_0x56d6e8){return projectMcpTools({..._0x56d6e8,'descriptors':_0x43b743,'client':_0x1cfe8e,'lifecycle':_0x130584});},'onTerminalError'(_0x3811ff){const _0x203b5e={_0x3f1973:0x3d3},_0x27585f={_0x2fd01b:0x2,_0x286c1c:0x48},_0x1cb055={_0x4fb250:0x1bb,_0xa7a4a8:0x32f};if(_0x17a617)return()=>{};function _0x4510ff(_0xe3ea92,_0x5ac51e,_0x194d60,_0x3a302a){return _0x2cc3f2(_0xe3ea92-_0x1cb055._0x4fb250,_0x3a302a,_0x5ac51e- -_0x1cb055._0xa7a4a8,_0x3a302a-0xc);}_0x5f284e[_0x4510ff(_0x46ac89._0x3abd60,_0x46ac89._0x3d66e6,_0x46ac89._0x3109f4,0x78b)](_0x3811ff);const _0x217866=_0x3fe687;function _0x3b97ae(_0x271bce,_0x298c69,_0x52ffbd,_0x5c92a7){return _0x2cc3f2(_0x271bce-0x62,_0x271bce,_0x298c69- -_0x27585f._0x2fd01b,_0x5c92a7-_0x27585f._0x286c1c);}return _0x217866&&queueMicrotask(()=>{function _0x2a1bbf(_0x7af0be,_0x1c7dc3,_0x57d4ae,_0x209a99){return _0x4510ff(_0x7af0be-0x1e1,_0x1c7dc3- -_0x203b5e._0x3f1973,_0x57d4ae-0xde,_0x57d4ae);}if(_0x5f284e[_0x2a1bbf(0x219,_0x12789e._0x2ad3fb,_0x12789e._0x41b15d,_0x12789e._0x2e4b9d)](_0x3811ff))_0x3811ff(_0x217866);}),()=>_0x5f284e[_0x3b97ae(0x6d8,0x794,0x6fd,0x850)](_0x3811ff);},'retire'(){function _0x2fd4cb(_0x3b41f3,_0x159054,_0xed5c64,_0x4ad6ce){return _0x47e848(_0x3b41f3,_0x159054-0x34,_0xed5c64-0x460,_0x4ad6ce-_0x554aae._0x1c5d2a);}return _0x4af351(),_0x130584[_0x2fd4cb(_0x120b8e._0x16cfc8,_0x120b8e._0xc17c8c,_0x120b8e._0x5d1e74,_0x120b8e._0x52c1c7)]();}};}import{stat as _0x437b9a}from'fs/promises';import*as _0x29a601 from'path';import{execSync,spawn as _0x93d52a}from'child_process';import{existsSync}from'fs';import{stat as _0x588a43}from'fs/promises';import*as _0x11a275 from'os';import*as _0x101d6f from'path';import{rgPath as _0xa6676}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x286f8d={_0xc86ea1:0x39f,_0x2b9bfa:0x4fa,_0x52d49e:0x2a7,_0x1257e5:0x58c,_0xf480e2:0x345,_0x30a77f:0x21c,_0x2642f1:0x16b,_0x1d153e:0x14f,_0x246816:0x15a,_0x3dd07b:0x281,_0x54571e:0x132,_0x21a630:0x204,_0x13dce7:0x2ea,_0x5984bd:0x24,_0x2be7c5:0x166,_0x14ab2c:0x3d6,_0x5462a9:0x56c,_0xfcf8a5:0x34b,_0x3523f4:0x232,_0xe6413d:0x4fd,_0x32d8dd:0x4ec,_0x2eab53:0x350,_0x4b9cdb:0x44d,_0x1d97fe:0x196,_0x4b0eb2:0x16a,_0x456fa6:0x409,_0x1501e4:0x407,_0x106a5d:0x30a,_0xf687c8:0xae,_0x4b5645:0x331,_0x109ff8:0x142,_0x31b2aa:0x12c,_0x328dba:0x197,_0x199991:0x124,_0x1d6788:0x2b7,_0x231402:0x49c,_0x685e8f:0x23c,_0x50e0a9:0x4bb,_0x5dc4f9:0x31d,_0x1728a8:0x2fc,_0xec5af5:0x14d,_0x3c7e43:0x4b,_0x405b39:0x3ba,_0x1b8c54:0x2e,_0x31f044:0x15e,_0x32ab58:0x66b,_0x4b41d0:0x54f,_0x5581be:0x7d,_0x2107f8:0x153};function _0x5f5ca1(_0x41c0f8,_0x40a0b6,_0x2ca303,_0x51385a){return _0x47b891(_0x40a0b6,_0x2ca303- -0x3dd,_0x2ca303-0xa9,_0x51385a-0xcb);}function _0x1bdb18(_0x30bf02,_0x3b474b,_0x39ea53,_0x36a2d7){return _0x47b891(_0x36a2d7,_0x30bf02- -0x1d4,_0x39ea53-0x179,_0x36a2d7-0x3);}const _0x4bc76b=_0x11a275[_0x1bdb18(0x555,0x473,0x6ee,0x411)]()===_0x1bdb18(0x3ac,0x2ba,0x2e1,0x26c),_0x3cf742=_0x4bc76b?[_0x101d6f[_0x1bdb18(_0x286f8d._0xc86ea1,_0x286f8d._0x2b9bfa,_0x286f8d._0x52d49e,_0x286f8d._0x1257e5)](process[_0x5f5ca1(_0x286f8d._0xf480e2,0x1d4,_0x286f8d._0x30a77f,_0x286f8d._0x2642f1)][_0x5f5ca1(-_0x286f8d._0x1d153e,-_0x286f8d._0x246816,0x35,-0x136)]||'',_0x1bdb18(_0x286f8d._0x3dd07b,0x3eb,_0x286f8d._0x54571e,0x244),'WinGet',_0x1bdb18(_0x286f8d._0x21a630,0x3c3,_0x286f8d._0x13dce7,_0x286f8d._0x5984bd)),_0x101d6f['join'](process[_0x5f5ca1(0xea,_0x286f8d._0x2be7c5,_0x286f8d._0x30a77f,0xb2)][_0x5f5ca1(_0x286f8d._0x14ab2c,0x407,0x396,_0x286f8d._0x5462a9)]||'',_0x1bdb18(_0x286f8d._0xfcf8a5,_0x286f8d._0x3523f4,_0x286f8d._0xe6413d,0x172),_0x5f5ca1(0x251,_0x286f8d._0x32d8dd,_0x286f8d._0x2eab53,_0x286f8d._0x4b9cdb)),_0x101d6f[_0x5f5ca1(0x10d,0x363,_0x286f8d._0x1d97fe,_0x286f8d._0x4b0eb2)](process[_0x5f5ca1(_0x286f8d._0x456fa6,_0x286f8d._0x1501e4,0x21c,0x2f5)][_0x5f5ca1(_0x286f8d._0x106a5d,_0x286f8d._0xf687c8,0x126,0x270)]||'',_0x5f5ca1(-0x15,_0x286f8d._0x4b5645,_0x286f8d._0x109ff8,_0x286f8d._0x31b2aa),'rg.exe')]:[_0x5f5ca1(_0x286f8d._0x328dba,0xa5,_0x286f8d._0x199991,0x28b),_0x1bdb18(_0x286f8d._0x1d6788,_0x286f8d._0x231402,0x485,_0x286f8d._0x685e8f),'/usr/bin/rg',_0x1bdb18(_0x286f8d._0x50e0a9,_0x286f8d._0x5dc4f9,0x5b6,_0x286f8d._0x1728a8)];for(const _0x3e5cb7 of _0x3cf742){if(existsSync(_0x3e5cb7))return _0x3e5cb7;}try{const _0xa6d77a=_0x4bc76b?_0x5f5ca1(_0x286f8d._0xec5af5,0x3d8,0x223,_0x286f8d._0x3c7e43):'which\x20rg',_0x585f2f=execSync(_0xa6d77a,{'encoding':_0x1bdb18(0x4b9,_0x286f8d._0x405b39,0x41c,0x4a7),'stdio':['pipe','pipe',_0x5f5ca1(0x127,-_0x286f8d._0x1b8c54,_0x286f8d._0x31f044,0x36c)]})[_0x1bdb18(0x5b1,0x61e,_0x286f8d._0x32ab58,_0x286f8d._0x4b41d0)]()[_0x5f5ca1(-_0x286f8d._0x5581be,-_0x286f8d._0x2107f8,0x4b,-0x1aa)](/\r?\n/)[0x0];if(_0x585f2f&&existsSync(_0x585f2f))return _0x585f2f;}catch{return null;}return null;}async function filepath(){if(cachedRgPath)return cachedRgPath;if(_0xa6676&&existsSync(_0xa6676))return cachedRgPath=_0xa6676,_0xa6676;const _0x267972=findSystemRipgrep();if(!_0x267972)throw new Error('ripgrep\x20executable\x20not\x20found.\x20Install\x20rg\x20to\x20use\x20Glob\x20and\x20Grep\x20tools.');return cachedRgPath=_0x267972,_0x267972;}async function*files(_0x1efa6f){const _0x48e29a={_0x5eab9d:0x70,_0x32c067:0x287,_0x2a0d5d:0x231,_0x546843:0x1a4,_0x154351:0x3f,_0x134349:0x256,_0x39f268:0x28e,_0xfca89a:0x483,_0x388a86:0x2dc,_0x20cd91:0x89,_0x4dcbd6:0x22a,_0xddad11:0x2d0,_0xee07a0:0x2e2,_0x46721c:0x25e,_0x11cf1f:0x2d1,_0x486efe:0x43b,_0x3cd21f:0x44f,_0x574447:0x444,_0x534308:0x448,_0x3dfe01:0x5c9,_0x9ccb9a:0x390,_0x157b20:0x3c7,_0x3b09f8:0x28a,_0x4b2958:0x6bb,_0x391b94:0x1ab,_0x45f2a5:0x3d0,_0x6ccb80:0x247,_0x1201d9:0x511,_0x5dde5c:0x409},_0x331361={_0x2d8578:0x2ba,_0x2267f9:0x5d,_0xc92899:0x1d2},_0x3c4bc1=await filepath(),_0x3b33fe=await _0x588a43(_0x1efa6f[_0x5d1612(0x390,0x18a,0x2a7,0x9e)])[_0x5d1612(0x389,0x267,0x389,_0x48e29a._0x5eab9d)](()=>null);function _0xa823d8(_0x585ba1,_0x5bfe7f,_0x56e86f,_0x4da3c7){return _0xe18bb0(_0x5bfe7f,_0x585ba1-_0x331361._0x2d8578,_0x56e86f-_0x331361._0x2267f9,_0x4da3c7-_0x331361._0xc92899);}if(!_0x3b33fe?.['isDirectory']())throw Object[_0x5d1612(0x3da,0x34a,0x3f9,0x3b4)](new Error(_0x5d1612(0x5c2,0x42a,0x3be,_0x48e29a._0x32c067)+_0x1efa6f[_0xa823d8(0x230,_0x48e29a._0x2a0d5d,_0x48e29a._0x546843,_0x48e29a._0x154351)]+'\x27'),{'code':'ENOENT'});const _0x2b6b16=['--files',_0x5d1612(_0x48e29a._0x134349,_0x48e29a._0x39f268,_0x48e29a._0xfca89a,_0x48e29a._0x388a86),'--hidden','--glob=!.git/*'];for(const _0x213115 of _0x1efa6f[_0x5d1612(-_0x48e29a._0x20cd91,0x17a,0x1ee,_0x48e29a._0x4dcbd6)]??[]){_0x2b6b16['push'](_0x5d1612(_0x48e29a._0xddad11,0x323,_0x48e29a._0xee07a0,0x27a)+_0x213115);}const _0x247db4=_0x93d52a(_0x3c4bc1,_0x2b6b16,{'cwd':_0x1efa6f[_0xa823d8(0x230,_0x48e29a._0x46721c,_0x48e29a._0x11cf1f,0x1e1)],'stdio':[_0xa823d8(0x364,0x4cd,_0x48e29a._0x486efe,0x3de),_0x5d1612(0x47f,0x39e,_0x48e29a._0x3cd21f,0x4c7),_0xa823d8(_0x48e29a._0x574447,_0x48e29a._0x534308,_0x48e29a._0x3dfe01,_0x48e29a._0x9ccb9a)]});function _0x5d1612(_0x29dd19,_0x11d056,_0x1efebb,_0xb5e354){return _0xe18bb0(_0x29dd19,_0x11d056-0x214,_0x1efebb-0xa4,_0xb5e354-0x112);}let _0x24f41a='';for await(const _0x292ef7 of _0x247db4[_0xa823d8(_0x48e29a._0x157b20,0x421,0x232,_0x48e29a._0x3b09f8)]??[]){_0x24f41a+=_0x292ef7[_0xa823d8(0x5b2,0x79d,_0x48e29a._0x4b2958,0x4f4)]();const _0x123554=_0x24f41a[_0x5d1612(0x1e4,_0x48e29a._0x391b94,0x250,0x1f)](/\r?\n/);_0x24f41a=_0x123554['pop']()??'';for(const _0xa9c900 of _0x123554){if(_0xa9c900['length']>0x0)yield _0xa9c900;}}_0x24f41a['trim']()[_0x5d1612(_0x48e29a._0x45f2a5,0x3bb,_0x48e29a._0x6ccb80,0x3be)]>0x0&&(yield _0x24f41a[_0x5d1612(0x406,0x508,_0x48e29a._0x1201d9,_0x48e29a._0x5dde5c)]());}function objectValue(_0x42483c){return typeof _0x42483c==='object'&&_0x42483c!==null?_0x42483c:void 0x0;}function decodeRipgrepText(_0x35f661){const _0x54aaf3={_0x58e818:0x3aa,_0x1c8749:0x500,_0x2b5652:0x3ff,_0x17fa44:0x3af,_0x196649:0x380,_0x38397e:0x2fb,_0x539710:0x1aa,_0x32d62d:0x2e0,_0x310706:0x355,_0x1dca37:0x3bb,_0x4127a6:0x38b,_0x43f621:0x755,_0x3ce834:0x537,_0xa9d63c:0x632,_0x33cfb9:0x810,_0x48b9c7:0x807},_0x4064cf={_0x442499:0x252,_0x2175a6:0x175},_0x11be26={_0x38a873:0xc0,_0x26852a:0x19b},_0x12eb2c=objectValue(_0x35f661);if(typeof _0x12eb2c?.[_0x516eb6(_0x54aaf3._0x58e818,_0x54aaf3._0x1c8749,_0x54aaf3._0x2b5652,_0x54aaf3._0x17fa44)]==='string')return _0x12eb2c[_0x516eb6(_0x54aaf3._0x196649,_0x54aaf3._0x38397e,0x3ff,0x324)];function _0x5a8bfd(_0x29fe34,_0x7959d9,_0x5a0d51,_0x183119){return _0xe18bb0(_0x183119,_0x5a0d51-0x614,_0x5a0d51-_0x11be26._0x38a873,_0x183119-_0x11be26._0x26852a);}function _0x516eb6(_0x583201,_0x3b71e8,_0x501141,_0x45e4f3){return _0x47b891(_0x3b71e8,_0x501141- -_0x4064cf._0x442499,_0x501141-_0x4064cf._0x2175a6,_0x45e4f3-0x178);}if(typeof _0x12eb2c?.[_0x516eb6(0x39c,0x3db,0x1e8,_0x54aaf3._0x539710)]===_0x516eb6(_0x54aaf3._0x32d62d,_0x54aaf3._0x310706,0x365,_0x54aaf3._0x1dca37))return Buffer[_0x516eb6(0x2c1,_0x54aaf3._0x4127a6,0x188,0x398)](_0x12eb2c[_0x5a8bfd(0x547,0x4d1,0x5bd,_0x54aaf3._0x43f621)],'base64')[_0x516eb6(0x514,0x52d,_0x54aaf3._0x3ce834,0x6c5)](_0x5a8bfd(0x8fe,_0x54aaf3._0xa9d63c,_0x54aaf3._0x33cfb9,_0x54aaf3._0x48b9c7));return void 0x0;}function parseMatchLine(_0x57593d,_0x441fae){const _0x40162c={_0x14e3c1:0x560,_0x4781d5:0x5ae,_0x3d710b:0x5ba,_0x143431:0x7bc,_0xede78d:0x5d9,_0x15dc9a:0x711,_0xf21ae2:0x6d7,_0x1ceaa6:0x757,_0x16e406:0x80c,_0x388ae5:0x61d,_0x42926c:0x7ef,_0x1f92ff:0x5a0,_0x1dc0b9:0x761,_0x55f257:0x36e,_0x5c125f:0x1b5,_0x216051:0x688,_0x5e8f23:0x494,_0x3cef25:0x57a,_0x2bc456:0x494,_0x3e2cd7:0x627,_0x59f4d6:0x2ff,_0x547c7d:0x3e9,_0x1257af:0x49d,_0xc80b98:0x61e,_0xf337d6:0x35a,_0x47a420:0x365,_0x42b1ae:0x1ac,_0x4050cc:0x79a,_0x859382:0x44e,_0x19aa34:0x775,_0x34b3ea:0x5f6},_0x18ee90={_0x35696c:0x30,_0x51f041:0x61},_0x1e4910={_0x221ed9:0x131,_0x54de84:0x1e3};if(_0x57593d[_0x35612b(_0x40162c._0x14e3c1,_0x40162c._0x4781d5,0x572,_0x40162c._0x3d710b)]===0x0)return null;const _0x45b9f6=objectValue(JSON[_0xdb3b2a(_0x40162c._0x143431,_0x40162c._0xede78d,_0x40162c._0x15dc9a,0x7df)](_0x57593d));function _0x35612b(_0x1db85e,_0x5cae7b,_0x576aa6,_0x5a108e){return _0xe18bb0(_0x576aa6,_0x1db85e-0x3b9,_0x576aa6-_0x1e4910._0x221ed9,_0x5a108e-_0x1e4910._0x54de84);}if(_0x45b9f6?.[_0x35612b(0x65e,0x6a5,0x5c5,_0x40162c._0xf21ae2)]!=='match'&&_0x45b9f6?.[_0xdb3b2a(0x7b6,_0x40162c._0x1ceaa6,0x636,_0x40162c._0x16e406)]!==_0x35612b(_0x40162c._0x388ae5,_0x40162c._0x42926c,_0x40162c._0x1f92ff,_0x40162c._0x1dc0b9))return null;const _0x586496=objectValue(_0x45b9f6[_0x35612b(_0x40162c._0x55f257,0x4c4,0x222,_0x40162c._0x5c125f)]),_0x2c831f=decodeRipgrepText(_0x586496?.[_0xdb3b2a(_0x40162c._0x216051,_0x40162c._0x5e8f23,_0x40162c._0x3cef25,0x83e)]),_0x38670c=decodeRipgrepText(_0x586496?.[_0xdb3b2a(_0x40162c._0x2bc456,0x543,0x529,_0x40162c._0x3e2cd7)]),_0x1137fa=_0x586496?.['line_number'];function _0xdb3b2a(_0x54eb99,_0x46279f,_0x4a8789,_0x53b5e4){return _0xe18bb0(_0x46279f,_0x54eb99-0x511,_0x4a8789-_0x18ee90._0x35696c,_0x53b5e4-_0x18ee90._0x51f041);}if(_0x2c831f===void 0x0||_0x38670c===void 0x0||typeof _0x1137fa!==_0x35612b(_0x40162c._0x59f4d6,_0x40162c._0x547c7d,0x2cd,_0x40162c._0x1257af))throw new Error(_0x35612b(0x660,0x84f,0x466,_0x40162c._0xc80b98));return{'filePath':_0x101d6f['isAbsolute'](_0x2c831f)?_0x2c831f:_0x101d6f[_0x35612b(_0x40162c._0xf337d6,_0x40162c._0x47a420,_0x40162c._0x42b1ae,0x384)](_0x441fae,_0x2c831f),'lineNum':_0x1137fa,'lineText':_0x38670c[_0x35612b(0x67c,0x839,0x7f2,0x769)](/\r?\n$/,''),..._0x45b9f6[_0x35612b(0x65e,0x4a0,_0x40162c._0x4050cc,_0x40162c._0x859382)]===_0xdb3b2a(_0x40162c._0x19aa34,0x858,_0x40162c._0x34b3ea,0x60b)?{'isContext':!![]}:{}};}async function search(_0x368884){const _0x39679b={_0x121eac:0xba,_0x2db9dc:0xe6,_0x4fdd37:0xa4,_0x550f51:0x5ff,_0x172ff1:0x558,_0x56b93b:0x202,_0x4bf3b6:0x2d6,_0x587973:0x171,_0x28ccd8:0x20d,_0xfcaa76:0x234,_0x4ab542:0xc4,_0x1dd9fe:0xe6,_0x14e57f:0xc0,_0x241ec0:0x19c,_0x4e4c5f:0x26e,_0x5c6743:0xaa,_0x2bdbfd:0x351,_0x2b01ea:0x13e,_0x129a94:0x1dd,_0x247615:0x2b4,_0x4a8fb1:0x84,_0x50a366:0x191,_0x43140f:0x40f,_0xa1c51:0x52,_0xd1b495:0x25,_0x5659d4:0x86,_0x2c03c3:0x391,_0x20bb87:0x340,_0x25c054:0x4dd,_0x144e18:0x11b,_0x20287b:0xe0,_0x5d30fe:0x1db,_0x522017:0x10b,_0x5cc2b8:0x25f,_0x45afb9:0x535,_0x5beee6:0x378,_0x293c4c:0x1b,_0x2cb442:0x88,_0x5d7ffe:0x337,_0x48be81:0x453,_0xc8e8e2:0x482,_0x5df3f4:0x7e,_0x12b9ea:0x53,_0x418ee4:0x203,_0x48620b:0x187,_0x36eb95:0x38b,_0x632fbb:0x678,_0x261313:0x53a,_0x1564e4:0x29b,_0x1a681b:0x364,_0x46afb7:0x47f,_0x1dd4af:0x61c,_0x5a9442:0x4c7,_0x17c736:0x181,_0x303ac1:0x14c,_0x234d80:0x428,_0x2fd7c1:0x256,_0x32c9a5:0xde,_0x4fa3e2:0x9b,_0x3f6b5c:0x199,_0x1cec3b:0x79,_0x5eac5a:0x12,_0x1e4f90:0x1d2,_0x5df7a9:0x216,_0x3cedc6:0x4b5,_0x2e4344:0x6b9,_0x1bceb6:0x247,_0x3a8239:0x1e6,_0x13b3e8:0x42a,_0x4ca2e0:0x180,_0x5a9480:0x2c9,_0x15a25f:0xca,_0x15efbf:0x77,_0x3d6079:0xdc},_0xd9facb={_0x16ec9b:0x553,_0x1b596a:0x306,_0x13fdcd:0x90f,_0xaa4f87:0x704,_0x13a9f2:0x4f3,_0x4d1b5c:0x363,_0x4f041c:0x59c,_0x2e94e7:0x2bc,_0x45d7bd:0x460,_0x4ff3d8:0x3f9,_0x168ed8:0x52f,_0x229981:0x4b7},_0x4d7605={_0x54da64:0x1f2,_0xa8eee9:0x21f,_0x4abad9:0xb8,_0x3f91d1:0x92,_0x5e3373:0x259,_0x2b0d37:0x3b3,_0xba0fd:0x2a,_0x5453c0:0x19a,_0xf5043e:0x243,_0x28dd90:0x3b4,_0x3bc7e1:0xa0,_0x589294:0x150,_0x968a8:0x369,_0x2b71a0:0x274},_0x5a030d={_0x1b96f5:0x276,_0x4f6228:0x7b,_0x4b707b:0x19d},_0x5d9cd3={_0x3765eb:0x14b};if(_0x368884[_0xe1103f(_0x39679b._0x121eac,-_0x39679b._0x2db9dc,-_0x39679b._0x4fdd37,-0x11)]!==void 0x0&&_0x368884[_0x110cf0(0x3ce,0x4b5,_0x39679b._0x550f51,_0x39679b._0x172ff1)]!==void 0x0)throw new Error(_0xe1103f(0x52,_0x39679b._0x56b93b,_0x39679b._0x4bf3b6,_0x39679b._0x587973));if(_0x368884[_0xe1103f(-0x1a,-_0x39679b._0x2db9dc,-_0x39679b._0x28ccd8,-_0x39679b._0xfcaa76)]){const _0xca755b=await _0x588a43(_0x368884[_0xe1103f(_0x39679b._0x4ab542,-_0x39679b._0x1dd9fe,_0x39679b._0x14e57f,0xec)])[_0x110cf0(_0x39679b._0x241ec0,_0x39679b._0x4e4c5f,0x39d,0x101)](()=>null);if(!_0xca755b?.[_0xe1103f(0xfa,_0x39679b._0x5c6743,0x1b8,-0x69)]())throw Object[_0x110cf0(0x472,_0x39679b._0x2bdbfd,0x3c3,0x2c7)](new Error('No\x20such\x20file:\x20\x27'+_0x368884[_0xe1103f(-0x87,-0xe6,-_0x39679b._0x2b01ea,-0x238)]+'\x27'),{'code':_0x110cf0(0x2f,_0x39679b._0x129a94,_0x39679b._0x247615,_0x39679b._0x4a8fb1)});}else{if(_0x368884[_0xe1103f(_0x39679b._0x50a366,0x256,0x3b0,0x3ab)]!==void 0x0)for(const _0x5eb610 of _0x368884[_0xe1103f(0x29b,0x256,_0x39679b._0x43140f,_0x39679b._0xa1c51)]){if(!_0x101d6f['isAbsolute'](_0x5eb610))throw new Error(_0xe1103f(0x166,0xa8,_0x39679b._0xd1b495,_0x39679b._0x5659d4)+_0x5eb610+'\x27');const _0x19aae1=await _0x588a43(_0x5eb610)['catch'](()=>null);if(!_0x19aae1?.['isFile']())throw Object['assign'](new Error(_0x110cf0(_0x39679b._0x2c03c3,_0x39679b._0x20bb87,0x4ab,_0x39679b._0x25c054)+_0x5eb610+'\x27'),{'code':_0xe1103f(0x141,-0x82,-0xa,-_0x39679b._0x144e18)});}else{const _0x1a2020=await _0x588a43(_0x368884[_0x110cf0(0x19,0x191,_0x39679b._0x20287b,_0x39679b._0x5d30fe)])[_0x110cf0(_0x39679b._0x522017,0x26e,0x219,0x20d)](()=>null);if(!_0x1a2020?.[_0x110cf0(_0x39679b._0x5cc2b8,0x128,0x181,0x314)]())throw Object[_0x110cf0(0x53f,0x351,_0x39679b._0x45afb9,_0x39679b._0x5beee6)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x368884[_0x110cf0(0x2b4,_0x39679b._0x50a366,_0x39679b._0x293c4c,_0x39679b._0x2cb442)]+'\x27'),{'code':_0x110cf0(0x2fc,0x1dd,_0x39679b._0x5d7ffe,0x3e9)});}}if(_0x368884['files']?.[_0x110cf0(_0x39679b._0x48be81,0x3c2,_0x39679b._0xc8e8e2,0x37e)]===0x0)return[];function _0xe1103f(_0x30d52e,_0x3311c8,_0x4c6825,_0x39770f){return _0xe18bb0(_0x4c6825,_0x3311c8- -0x44,_0x4c6825-_0x5d9cd3._0x3765eb,_0x39770f-0x1e8);}const _0x467c4b=await filepath(),_0x5132fc=[_0xe1103f(_0x39679b._0x5df3f4,-0xe5,-_0x39679b._0x12b9ea,-_0x39679b._0x418ee4),_0xe1103f(_0x39679b._0x48620b,0x1f1,0x1ae,_0x39679b._0x36eb95),_0x368884['pattern']],_0x22d955=typeof _0x368884[_0x110cf0(_0x39679b._0x632fbb,0x47f,0x49f,_0x39679b._0x261313)]===_0x110cf0(_0x39679b._0x1564e4,0x161,0x77,0xe)&&_0x368884[_0x110cf0(0x3ca,0x47f,_0x39679b._0x1a681b,0x63c)]>0x0;function _0x110cf0(_0x46981c,_0x321603,_0x50a4b4,_0x383df5){return _0x47b891(_0x50a4b4,_0x321603- -_0x5a030d._0x1b96f5,_0x50a4b4-_0x5a030d._0x4f6228,_0x383df5-_0x5a030d._0x4b707b);}return _0x22d955&&_0x5132fc['push']('-C',String(_0x368884[_0x110cf0(0x2f5,_0x39679b._0x46afb7,_0x39679b._0x1dd4af,_0x39679b._0x5a9442)])),_0x368884[_0x110cf0(0x2f3,_0x39679b._0x17c736,0x385,-0x5f)]&&!_0x368884[_0xe1103f(-0x2b0,-_0x39679b._0x1dd9fe,-_0x39679b._0x303ac1,-0x1d4)]&&_0x368884[_0xe1103f(_0x39679b._0x234d80,_0x39679b._0x2fd7c1,_0x39679b._0x32c9a5,_0x39679b._0x4fa3e2)]===void 0x0&&_0x5132fc[_0x110cf0(_0x39679b._0x3f6b5c,0x146,_0x39679b._0x1cec3b,-_0x39679b._0x5eac5a)](_0x110cf0(_0x39679b._0x1e4f90,_0x39679b._0x5df7a9,0x27e,0x29e),_0x368884['glob']),_0x368884[_0x110cf0(0x34a,_0x39679b._0x3cedc6,0x5a0,_0x39679b._0x2e4344)]!==void 0x0?_0x5132fc[_0x110cf0(-0x7b,0x146,_0x39679b._0x1bceb6,_0x39679b._0x3a8239)](..._0x368884[_0xe1103f(_0x39679b._0x13b3e8,0x256,0x355,_0x39679b._0x4ca2e0)]):_0x5132fc[_0xe1103f(-_0x39679b._0x5a9480,-0x119,0x78,-_0x39679b._0x15a25f)](_0x368884[_0xe1103f(-_0x39679b._0x15efbf,-_0x39679b._0x2db9dc,-_0x39679b._0x3d6079,-0x15f)]??_0x368884['cwd']),await new Promise((_0x1c1fa2,_0x1b3b57)=>{const _0x462f74={_0x125780:0x328,_0x4f518f:0x2fc},_0x462018={_0x191887:0x664},_0x4a2a2b={_0x1683f1:0x8e8,_0x5906f4:0x9df},_0x214309={_0x220da8:0x89},_0x4ac73e={_0xa68d86:0xdc};function _0x44f083(_0x20bbaa,_0x4acb89,_0x113679,_0x5033f4){return _0x110cf0(_0x20bbaa-_0x4ac73e._0xa68d86,_0x5033f4-0x193,_0x113679,_0x5033f4-0x5b);}const _0xfb26f=_0x93d52a(_0x467c4b,_0x5132fc,{'cwd':_0x368884[_0x2459d7(_0xd9facb._0x16ec9b,_0xd9facb._0x1b596a,0x59e,0x4f0)],'stdio':['ignore',_0x2459d7(_0xd9facb._0x13fdcd,0x787,0x541,_0xd9facb._0xaa4f87),'pipe']});function _0x2459d7(_0x16bc4d,_0x1066a1,_0x5d115b,_0x17338f){return _0x110cf0(_0x16bc4d-0x188,_0x17338f-0x35f,_0x16bc4d,_0x17338f-_0x214309._0x220da8);}let _0x1ca61c='',_0x40c020='';_0xfb26f[_0x44f083(0x496,0x5ff,_0xd9facb._0x13a9f2,0x4bb)]?.['on'](_0x44f083(0x45d,0x31c,0x1a7,_0xd9facb._0x4d1b5c),_0x214565=>{function _0x20a656(_0x4f4574,_0x4955d9,_0x571bc2,_0x4fa716){return _0x2459d7(_0x4fa716,_0x4955d9-0x143,_0x571bc2-0x1af,_0x571bc2-0x76);}_0x1ca61c+=_0x214565[_0x20a656(0x79e,0x7ff,_0x4a2a2b._0x1683f1,_0x4a2a2b._0x5906f4)]();}),_0xfb26f[_0x44f083(_0xd9facb._0x4f041c,_0xd9facb._0x2e94e7,0x344,_0xd9facb._0x45d7bd)]?.['on'](_0x2459d7(0x61f,_0xd9facb._0x4ff3d8,0x5e1,_0xd9facb._0x168ed8),_0x41ee48=>{_0x40c020+=_0x41ee48['toString']();}),_0xfb26f['on']('close',_0xffd48c=>{const _0xdbee6c={_0x3a0af9:0x113,_0x23ed95:0x3f2,_0x392d10:0x10f};if(_0xffd48c===0x1&&_0x1ca61c===''){_0x1c1fa2([]);return;}if(_0xffd48c!==0x0&&_0xffd48c!==0x1){_0x1b3b57(new Error(_0x378700(_0x4d7605._0x54da64,0x271,_0x4d7605._0xa8eee9,0x167)+_0x40c020));return;}const _0x4febde=[];try{for(const _0x1ddc52 of _0x1ca61c[_0x378700(-0x153,-_0x4d7605._0x4abad9,-0x130,-_0x4d7605._0x3f91d1)](/\r?\n/)){const _0x3c761a=parseMatchLine(_0x1ddc52,_0x368884['cwd']);if(_0x3c761a)_0x4febde[_0x4eab32(-0x273,-0xc5,-_0x4d7605._0x5e3373,-0x20f)](_0x3c761a);}}catch(_0x23fbe4){_0x1b3b57(_0x23fbe4);return;}const _0x537725=_0x368884[_0x4eab32(0x1a6,0x1cd,0x329,0x28d)]??0x64,_0x8d6138=Number[_0x4eab32(_0x4d7605._0x2b0d37,0x1d8,0x195,-_0x4d7605._0xba0fd)](_0x537725)?Math['max'](0x0,Math[_0x378700(-_0x4d7605._0x5453c0,-0x33c,-0x18f,0x18)](_0x537725)):0x64,_0x55daf5=_0x4febde['filter'](_0x2940b1=>!_0x2940b1[_0x4eab32(0x103,0x7e,-0x103,-0x161)]);if(_0x55daf5[_0x378700(0xbd,_0x4d7605._0xf5043e,0x268,0x114)]<=_0x8d6138){_0x1c1fa2(_0x4febde);return;}function _0x378700(_0xcba3a8,_0x3e64ce,_0x352080,_0x453c39){return _0x2459d7(_0x453c39,_0x3e64ce-0x18b,_0x352080-0xf4,_0xcba3a8- -_0x462018._0x191887);}const _0x5d5b70=_0x55daf5['slice'](0x0,_0x8d6138);function _0x4eab32(_0x1d4669,_0x233c6,_0x5dda54,_0x5e0012){return _0x44f083(_0x1d4669-0xe0,_0x233c6-0xf3,_0x5e0012,_0x233c6- -0x39e);}const _0x90baa6=new Set(_0x5d5b70),_0x16ba41=_0x22d955?Math[_0x378700(-0x1fd,-0x1c4,-0x266,-_0x4d7605._0x28dd90)](0x0,Math[_0x4eab32(-0x1c6,-_0x4d7605._0x3bc7e1,-_0x4d7605._0x589294,-0x27e)](_0x368884[_0x4eab32(_0x4d7605._0x968a8,_0x4d7605._0x2b71a0,_0x4d7605._0x2b0d37,0x383)]??0x0)):0x0;_0x1c1fa2(_0x4febde['filter'](_0x308328=>{const _0x35aaf5={_0x498fd4:0x2aa,_0x210487:0xb2};function _0x2ca115(_0xaafc8c,_0x5bfa09,_0x45d6d2,_0x345f6c){return _0x4eab32(_0xaafc8c-0x134,_0x5bfa09-_0x35aaf5._0x498fd4,_0x45d6d2-_0x35aaf5._0x210487,_0x45d6d2);}function _0x172cde(_0x58c9d0,_0x55c195,_0x18a932,_0x970b43){return _0x4eab32(_0x58c9d0-_0xdbee6c._0x3a0af9,_0x970b43-_0xdbee6c._0x23ed95,_0x18a932-_0xdbee6c._0x392d10,_0x58c9d0);}if(!_0x308328[_0x2ca115(0x4a3,_0x462f74._0x125780,_0x462f74._0x4f518f,0x39c)])return _0x90baa6['has'](_0x308328);return _0x5d5b70['some'](_0x5b52df=>_0x5b52df[_0x2ca115(0x32d,0x498,0x418,0x42c)]===_0x308328[_0x172cde(0x41b,0x5c5,0x517,0x5e0)]&&Math['abs'](_0x5b52df['lineNum']-_0x308328['lineNum'])<=_0x16ba41);}));}),_0xfb26f['on'](_0x2459d7(_0xd9facb._0x229981,0x3e8,0x625,0x4a0),_0x1b3b57);});}function createGlobTool(_0x5a1b7d={}){const _0x2c434c={_0x5223b9:0x416,_0x4b312b:0x442,_0x2bd5cd:0x4d4,_0x2ed71d:0x6c1,_0x49b5b4:0x81e,_0xa7a869:0x606,_0x2a11b2:0x8d8,_0x136b6a:0x78a,_0x3e9a98:0x782,_0x16a49e:0x8c2,_0x5086d4:0x764,_0x16529f:0x564,_0x150eb2:0x622,_0x399375:0x479,_0x26aa3d:0x6fa},_0x5d64af={_0x1f5ca2:0x8bb,_0x321abc:0x67e,_0x879ef3:0x446,_0x1f65bb:0x506,_0xe7e756:0x790,_0x133bea:0x7ca,_0xde9272:0x83c,_0x59fbd4:0x5d8,_0x57370e:0x4b3,_0x3977f9:0x29c,_0x3a988b:0x4c1,_0x4830d7:0x44f,_0x3b1c80:0x277,_0x38320b:0x432,_0x1fd901:0x3c4,_0xc20179:0x4e2,_0x195be6:0x8ae,_0x700bdf:0x820,_0x20b2c1:0x82b,_0x401a3c:0x4ea,_0x435d45:0x7fd,_0x3fccc6:0x730,_0x501732:0x4d6,_0x40cb1e:0x469,_0x457a2e:0x6aa,_0x29eb56:0x56a,_0x77f644:0x82c,_0x9b93d2:0x4c4,_0x192280:0x6c1,_0x28e9d3:0x899,_0x398186:0x842},_0x21f421={_0x58f780:0x35},_0x49384a={_0x421e00:0x187},_0x2b824b={_0x531eff:0x11b},_0x2e4785={_0x3ecb87:0x1d0,_0x4ee226:0x117,_0x491ec1:0x92},_0x359f16=_0x29a601[_0x3032e8(_0x2c434c._0x5223b9,_0x2c434c._0x4b312b,_0x2c434c._0x2bd5cd,0x47c)](_0x5a1b7d[_0x479243(0x5ba,_0x2c434c._0x2ed71d,0x635,0x5ec)]??process['cwd']());function _0x479243(_0xea7964,_0x2454f5,_0xacadc8,_0x1eb30a){return _0x47b891(_0xea7964,_0xacadc8-_0x2e4785._0x3ecb87,_0xacadc8-_0x2e4785._0x4ee226,_0x1eb30a-_0x2e4785._0x491ec1);}function _0x3032e8(_0x50c9a1,_0x573d4f,_0x5ecf20,_0x1faafd){return _0x47b891(_0x50c9a1,_0x5ecf20-0xa2,_0x5ecf20-_0x2b824b._0x531eff,_0x1faafd-0x114);}const _0x2bed63=_0x5a1b7d[_0x3032e8(0x473,0x58f,0x5d4,0x722)]??[],_0x37ab8c=_0x5a1b7d[_0x479243(0x6f0,0x8a5,_0x2c434c._0x49b5b4,0x9f3)]??0x64,_0x90bbf8=_0x5a1b7d['name']??_0x3032e8(0x650,_0x2c434c._0xa7a869,0x53b,0x5eb);return defineTool({'name':_0x90bbf8,'permissionClass':_0x3032e8(0x7ce,_0x2c434c._0x2a11b2,_0x2c434c._0x136b6a,0x7ea),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x3032e8(0x814,0x793,_0x2c434c._0x3e9a98,_0x2c434c._0x16a49e),'properties':{'pattern':{'type':_0x3032e8(_0x2c434c._0x5086d4,0x5c7,0x659,_0x2c434c._0x16529f)},'path':{'type':'string'},'limit':{'type':_0x3032e8(0x41c,_0x2c434c._0x150eb2,_0x2c434c._0x399375,0x637)}},'required':[_0x479243(_0x2c434c._0x26aa3d,0x695,0x61e,0x51a)]},async *'execute'(_0x2a2560){if(_0x2a2560['pattern'][_0x3a37b2(0x6fd,_0x5d64af._0x1f5ca2,0x790,0x9d2)]()['length']===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});function _0x39ea0a(_0x45a75b,_0x587be9,_0x20ebd6,_0x19882a){return _0x3032e8(_0x45a75b,_0x587be9-0x1bd,_0x587be9- -0x2c,_0x19882a-_0x49384a._0x421e00);}const _0x2d08cb=resolveAllowedPath(_0x359f16,_0x2bed63,_0x2a2560[_0x39ea0a(0x47f,_0x5d64af._0x321abc,0x5db,0x539)]??'.'),_0x32b8f9=await _0x437b9a(_0x2d08cb)['catch'](()=>null);function _0x3a37b2(_0x4f033c,_0x53ef7f,_0xd8965,_0x49f282){return _0x3032e8(_0xd8965,_0x53ef7f-_0x21f421._0x58f780,_0x53ef7f-0x94,_0x49f282-0x79);}if(!_0x32b8f9?.['isDirectory']())throw new ToolExecutionError(_0x39ea0a(_0x5d64af._0x879ef3,_0x5d64af._0x1f65bb,0x473,0x357)+(_0x2a2560['path']??'.'),{'path':_0x2a2560[_0x39ea0a(0x872,_0x5d64af._0x321abc,_0x5d64af._0xe7e756,_0x5d64af._0x133bea)]??'.'});const _0x5ea7b5=_0x2a2560[_0x39ea0a(_0x5d64af._0xde9272,0x6c4,_0x5d64af._0x59fbd4,0x795)]??_0x37ab8c,_0x24a935=Math[_0x39ea0a(0x57c,0x3f4,_0x5d64af._0x57370e,_0x5d64af._0x3977f9)](0x1,Math['trunc'](_0x5ea7b5)),_0x3a8f18=[];let _0x2eb48a=![];for await(const _0x1f5239 of files({'cwd':_0x2d08cb,'glob':[_0x2a2560['pattern']]})){if(_0x3a8f18[_0x39ea0a(0x4f3,0x6ae,_0x5d64af._0x3a988b,0x5cd)]>=_0x24a935){_0x2eb48a=!![];break;}const _0x31b083=await _0x437b9a(_0x29a601[_0x3a37b2(0x82f,0x6a9,0x5b8,0x6b0)](_0x2d08cb,_0x1f5239))[_0x39ea0a(0x625,0x55a,0x4c9,_0x5d64af._0x4830d7)](()=>null);_0x3a8f18[_0x39ea0a(_0x5d64af._0x3b1c80,_0x5d64af._0x38320b,_0x5d64af._0x1fd901,_0x5d64af._0xc20179)]({'path':_0x1f5239,'mtime':_0x31b083?.[_0x3a37b2(0x9e8,_0x5d64af._0x195be6,_0x5d64af._0x700bdf,0x7e5)]??0x0});}_0x3a8f18['sort']((_0x24a7f5,_0x1ff5b9)=>_0x1ff5b9['mtime']-_0x24a7f5['mtime']);const _0x28127f=_0x3a8f18[_0x39ea0a(0x81a,0x677,_0x5d64af._0x20b2c1,_0x5d64af._0x401a3c)](_0x2a43fe=>_0x2a43fe[_0x3a37b2(0x934,0x73e,0x6d0,0x8b0)]),_0x8336d2=_0x28127f[_0x39ea0a(_0x5d64af._0x435d45,0x6ae,_0x5d64af._0x3fccc6,0x60a)]===0x0?_0x3a37b2(0x5d5,_0x5d64af._0x501732,_0x5d64af._0x40cb1e,0x698)+_0x2a2560[_0x3a37b2(0x464,0x584,_0x5d64af._0x457a2e,_0x5d64af._0x29eb56)]:''+_0x28127f['join']('\x0a')+(_0x2eb48a?_0x39ea0a(_0x5d64af._0x77f644,0x6ff,0x7c3,0x5c5):'');return yield createToolOutput(_0x8336d2,{'pattern':_0x2a2560[_0x39ea0a(0x45c,_0x5d64af._0x9b93d2,0x62d,_0x5d64af._0x192280)],'searchPath':_0x29a601['relative'](_0x359f16,_0x2d08cb)||'.','matches':_0x28127f,'count':_0x28127f[_0x3a37b2(_0x5d64af._0x28e9d3,0x76e,_0x5d64af._0x398186,0x5e3)],'truncated':_0x2eb48a}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x3ee3fd){const _0x4fc09d={_0xabcf1b:0x5ca,_0x446baa:0x4e2,_0x205e99:0x471,_0x4dbc40:0x619,_0x48d8e2:0x80,_0x123e07:0x4,_0x1cfec7:0x2d9,_0x3cc21f:0x496,_0x41f133:0x54b,_0x8c2c7:0x3b4},_0x41e467={_0x3f69df:0x127,_0x5a2cee:0x135},_0x2f5204={_0x2ae88f:0x33b,_0x5dbbb1:0x64};function _0x3f4bea(_0xb81d3a,_0x511b6f,_0x432c30,_0x11a8eb){return _0xe18bb0(_0xb81d3a,_0x11a8eb-_0x2f5204._0x2ae88f,_0x432c30-_0x2f5204._0x5dbbb1,_0x11a8eb-0x38);}function _0x1b6970(_0x4792d5,_0x6e021f,_0x5dd61f,_0x329f75){return _0xe18bb0(_0x5dd61f,_0x329f75- -_0x41e467._0x3f69df,_0x5dd61f-_0x41e467._0x5a2cee,_0x329f75-0x1a2);}if(_0x3ee3fd['trim']()[_0x3f4bea(0x613,_0x4fc09d._0xabcf1b,0x646,_0x4fc09d._0x446baa)]===0x0)throw new Error(_0x3f4bea(0x639,0x565,_0x4fc09d._0x205e99,_0x4fc09d._0x4dbc40));if(_0x3ee3fd[_0x1b6970(-0x29,0x259,0x200,_0x4fc09d._0x48d8e2)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x1b6970(_0x4fc09d._0x123e07,-_0x4fc09d._0x1cfec7,-0x109,-0x132)+GREP_MAX_PATTERN_LENGTH+_0x3f4bea(0x4ed,_0x4fc09d._0x3cc21f,_0x4fc09d._0x41f133,_0x4fc09d._0x8c2c7));}function boundedGrepSnippet(_0x310f9d){const _0x3639fb={_0x1306c5:0x459,_0x155d3a:0x296,_0x3b6621:0xee,_0x2172e2:0x366,_0xcbecd3:0x539,_0x18e57c:0x438},_0xb1bc54={_0x26d09d:0x83,_0x63a277:0xdb};function _0x7da6c0(_0x3b8ee6,_0x35d225,_0x300897,_0x55c328){return _0xe18bb0(_0x300897,_0x3b8ee6-0x2b2,_0x300897-0x20,_0x55c328-0x165);}function _0x50cf61(_0x3dd9dd,_0x107daa,_0x51324b,_0x2b05a1){return _0x47b891(_0x107daa,_0x3dd9dd-_0xb1bc54._0x26d09d,_0x51324b-_0xb1bc54._0x63a277,_0x2b05a1-0x1ba);}return _0x310f9d[_0x7da6c0(_0x3639fb._0x1306c5,_0x3639fb._0x155d3a,0x27b,0x62e)]>GREP_MAX_SNIPPET_LENGTH?_0x310f9d[_0x7da6c0(0x1c2,_0x3639fb._0x3b6621,0x147,_0x3639fb._0x2172e2)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x7da6c0(0x397,_0x3639fb._0xcbecd3,_0x3639fb._0x18e57c,0x4d6):_0x310f9d;}async function searchRegex(_0x140af8){const _0xe0df8e={_0x5c2752:0x443,_0x28b26b:0x4c0,_0x1bf4a9:0x441,_0x3e434a:0x6e7,_0x45778d:0x280,_0x321621:0x409,_0x41ede8:0x585,_0x1b13f9:0x5a8,_0x48c5a7:0x856,_0x21c720:0x922,_0x3cd373:0x93b,_0x2abc08:0x41f,_0x558041:0x382,_0x9f5369:0x55e,_0x4aa0f0:0x474,_0x4a3803:0x69b,_0x451d08:0x76a,_0x158247:0x79d,_0x438b50:0x652,_0x3e215d:0x2c7,_0x3354ee:0x56b,_0x5aacf7:0x68e,_0x4b29e4:0x358,_0x66ba04:0x8ca,_0x422024:0x702,_0x182a35:0x9a5,_0x3dc5c9:0x9cd,_0x42be29:0x4da,_0x2f8042:0x730,_0x46e12a:0x767,_0xe15147:0x82e,_0x137e5d:0x7fa,_0x490383:0x7cc,_0x415196:0x83e,_0x4e0d9e:0x7ba,_0x2a036f:0x8fe,_0x22fbf8:0x611},_0x35c501={_0x2c4105:0x72,_0x9c010f:0x106},_0x464590={_0x252729:0x2b5,_0x1faa85:0x320,_0x5a701a:0x24e,_0x3bf32e:0x5ce,_0xb7a3d5:0x3d5};validateGrepPattern(_0x140af8[_0x239c06(_0xe0df8e._0x5c2752,0x402,_0xe0df8e._0x28b26b,_0xe0df8e._0x1bf4a9)]);const _0x3a5e91=_0x140af8['limit']??GREP_DEFAULT_LIMIT,_0x6e2e6=Number[_0x3818bd(_0xe0df8e._0x3e434a,0x769,0x7a8,0x7aa)](_0x3a5e91)?Math[_0x239c06(_0xe0df8e._0x45778d,_0xe0df8e._0x321621,0x3f0,_0xe0df8e._0x41ede8)](0x1,Math[_0x3818bd(_0xe0df8e._0x1b13f9,0x4f1,0x3d0,0x3d9)](_0x3a5e91)):GREP_DEFAULT_LIMIT;if(_0x140af8[_0x3818bd(_0xe0df8e._0x48c5a7,0x83b,_0xe0df8e._0x21c720,_0xe0df8e._0x3cd373)]?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0xa51358=await search({'cwd':_0x140af8[_0x239c06(_0xe0df8e._0x2abc08,_0xe0df8e._0x558041,0x479,0x5cf)],'pattern':_0x140af8[_0x3818bd(0x3f5,_0xe0df8e._0x9f5369,_0xe0df8e._0x4aa0f0,_0xe0df8e._0x4a3803)],..._0x140af8[_0x239c06(_0xe0df8e._0x451d08,0x929,0x79d,0x6f8)]===void 0x0?{}:{'files':_0x140af8[_0x239c06(0x71c,0x903,_0xe0df8e._0x158247,0x963)]},..._0x140af8[_0x239c06(_0xe0df8e._0x438b50,0x586,0x469,_0xe0df8e._0x3e215d)]===void 0x0?{}:{'glob':_0x140af8[_0x3818bd(_0xe0df8e._0x3354ee,0x507,_0xe0df8e._0x5aacf7,_0xe0df8e._0x4b29e4)]},..._0x140af8[_0x3818bd(_0xe0df8e._0x66ba04,0x805,0x9bc,_0xe0df8e._0x422024)]===void 0x0?{}:{'context':_0x140af8['context']},'limit':_0x6e2e6+0x1}),_0x5c67c0=_0xa51358[_0x3818bd(0x90a,0x7fa,_0xe0df8e._0x182a35,_0xe0df8e._0x3dc5c9)](_0x5556d2=>!_0x5556d2[_0x3818bd(0x436,0x60f,0x617,0x702)]),_0x2ac477=_0x5c67c0['length']>_0x6e2e6,_0x196dd5=_0x5c67c0['slice'](0x0,_0x6e2e6),_0x596e71=new Set(_0x196dd5),_0x23b531=Math[_0x3818bd(0x3fc,0x48e,0x445,_0xe0df8e._0x42be29)](0x0,Math['trunc'](_0x140af8[_0x239c06(_0xe0df8e._0x2f8042,0x8c6,_0xe0df8e._0x46e12a,_0xe0df8e._0xe15147)]??0x0)),_0x157e04=_0x2ac477?_0xa51358[_0x3818bd(0x847,_0xe0df8e._0x137e5d,_0xe0df8e._0x490383,_0xe0df8e._0x415196)](_0x45999a=>{const _0x4b44e3={_0x46483e:0xa8,_0x42093a:0x35a,_0x2f8912:0x25},_0x25419a={_0x5d09ba:0x147,_0x5656c2:0x172};if(!_0x45999a[_0x196a6a(0x4a4,_0x464590._0x252729,_0x464590._0x1faa85,0x423)])return _0x596e71['has'](_0x45999a);function _0x20034b(_0x18429a,_0x11dff3,_0x21e2cc,_0x3c9a0b){return _0x3818bd(_0x18429a-_0x25419a._0x5d09ba,_0x21e2cc- -_0x25419a._0x5656c2,_0x11dff3,_0x3c9a0b-0x1a8);}function _0x196a6a(_0x55f80d,_0x15ba2f,_0x22fa94,_0x247a3){return _0x3818bd(_0x55f80d-_0x4b44e3._0x46483e,_0x15ba2f- -_0x4b44e3._0x42093a,_0x22fa94,_0x247a3-_0x4b44e3._0x2f8912);}return _0x196dd5[_0x196a6a(_0x464590._0x5a701a,0x434,_0x464590._0x3bf32e,_0x464590._0xb7a3d5)](_0x45d8f2=>_0x45d8f2['filePath']===_0x45999a[_0x196a6a(0x3eb,0x425,0x54f,0x28d)]&&Math['abs'](_0x45d8f2['lineNum']-_0x45999a[_0x196a6a(0x3b0,0x416,0x40b,0x4c3)])<=_0x23b531);}):_0xa51358;function _0x239c06(_0x3a07cc,_0x1a5227,_0x19b5f8,_0x1b0ad9){return _0x47b891(_0x3a07cc,_0x19b5f8-_0x35c501._0x2c4105,_0x19b5f8-0x1bf,_0x1b0ad9-_0x35c501._0x9c010f);}function _0x3818bd(_0x1d35a5,_0x243f62,_0xf25bec,_0x3ed4f7){return _0xe18bb0(_0xf25bec,_0x243f62-0x5a1,_0xf25bec-0xf9,_0x3ed4f7-0x92);}return{'matches':_0x157e04,'matchCount':_0x196dd5[_0x239c06(0x7b0,0x6ab,0x6aa,0x844)],'fileCount':new Set(_0x157e04[_0x3818bd(_0xe0df8e._0x4e0d9e,0x711,0x507,_0xe0df8e._0x2a036f)](_0x2479ef=>_0x2479ef[_0x239c06(0x777,0x787,0x6e1,0x70d)]))[_0x3818bd(0x7a1,0x74a,0x6ec,_0xe0df8e._0x22fbf8)],'truncated':_0x2ac477};}import{stat as _0x56f112}from'fs/promises';import*as _0x574a9e from'path';function createGrepTool(_0x4ab907={}){const _0x502e45={_0x127ba6:0x246,_0x14fd62:0x1be,_0x3d4453:0x332,_0x46a664:0x24a,_0x81717b:0x1df,_0x32491a:0x1e0,_0x66e5ea:0x412,_0x69763f:0x127,_0x836e41:0x1f7,_0x2e4caa:0x2fe,_0x203356:0x1c1,_0x47b5df:0x8e,_0x521106:0x48},_0x2b5bbf={_0xcfca8a:0x485,_0x104957:0x3d4,_0x376bf9:0x2f6,_0x416884:0x283,_0x2682f8:0xc3,_0x438179:0x464,_0x103101:0x26d,_0x575f1f:0x294,_0x15eaa5:0x22d,_0x3dbc92:0xe3,_0x2c0502:0x631,_0x419171:0x64a,_0x4c6dd8:0x454,_0x33edb4:0x4fe,_0x163776:0x49c,_0x30472c:0x2c5,_0x3b6634:0x25,_0x1d2ab3:0x129,_0x4be301:0x1e9,_0x3bfbe2:0x4ee,_0x21dbed:0x455,_0x3e299a:0x544,_0x20b967:0x479,_0x3b162c:0x478,_0x2fef91:0x37e,_0x3dd07d:0x575,_0x5134da:0x3e3,_0xe9383d:0x57b,_0x552885:0x3f7,_0x83ae5c:0x44e,_0x121c73:0x50a,_0x10147c:0xf2,_0x1ef644:0xe5,_0x5bef54:0x28f,_0x22f249:0x5da,_0x398610:0x466,_0x25078a:0x36,_0x4a3f37:0x4,_0x3d3eba:0xaa,_0x26cfc0:0xea,_0x2301c3:0x365,_0x1f79c8:0x2c6,_0x38c10f:0x508,_0x199889:0x401,_0x89d08f:0x173,_0x4b6c6a:0x2e7,_0x14de4a:0x11a,_0x327ca3:0x5ca,_0x1afb6e:0x509,_0x2721c5:0x55b,_0x5301a4:0x5c3,_0x2af41f:0x590,_0x858e09:0x65b,_0x59e118:0x4c6,_0x583801:0x3ee,_0x305c3a:0x3f5,_0x4803a1:0x47b,_0x3cf308:0x4a5,_0x27695c:0x442,_0x118c6e:0x2d,_0x18c670:0x13c,_0x35ff70:0x58a,_0x4c6d88:0x4b2,_0x58b9e1:0x2fa,_0x22b0af:0xf4,_0x53b558:0xa9,_0x399438:0x22c,_0xe70fd2:0xd3,_0x157127:0x297,_0x2ad734:0x65d,_0xd2783d:0x661,_0x2ec050:0x4d5,_0x2ecfe3:0x816},_0x26e859={_0x587f15:0x102,_0x333772:0x31},_0x2034e2=_0x574a9e['resolve'](_0x4ab907['defaultCwd']??process['cwd']()),_0x2deb21=_0x4ab907[_0x3cf9fe(0x147,-0x19,0x94,0x348)]??[];function _0x3cf9fe(_0x13a5e,_0x25e247,_0x46e7d4,_0x4b3dcb){return _0x47b891(_0x46e7d4,_0x13a5e- -0x3eb,_0x46e7d4-0x1ed,_0x4b3dcb-0x135);}function _0x374e08(_0x1fe0e5,_0x488977,_0x1de2b1,_0x36085e){return _0xe18bb0(_0x1de2b1,_0x36085e-_0x26e859._0x587f15,_0x1de2b1-_0x26e859._0x333772,_0x36085e-0x1c);}const _0x3908df=_0x4ab907[_0x374e08(0x19c,_0x502e45._0x127ba6,0x2b7,0x2bf)]??GREP_DEFAULT_LIMIT,_0x167812=_0x4ab907[_0x3cf9fe(-0x4,0xb9,_0x502e45._0x14fd62,0xdf)]??_0x374e08(_0x502e45._0x3d4453,0x297,_0x502e45._0x46a664,_0x502e45._0x81717b);return defineTool({'name':_0x167812,'permissionClass':'read','description':_0x374e08(_0x502e45._0x32491a,0x1fd,_0x502e45._0x66e5ea,0x296),'inputSchema':{'type':'object','properties':{'pattern':{'type':'string'},'path':{'type':_0x3cf9fe(0x1cc,0xca,0x307,0x10e)},'include':{'type':_0x374e08(_0x502e45._0x69763f,_0x502e45._0x836e41,_0x502e45._0x2e4caa,0x228)},'limit':{'type':'number'},'context':{'type':_0x374e08(0xd2,_0x502e45._0x203356,-_0x502e45._0x47b5df,_0x502e45._0x521106)}},'required':['pattern']},async *'execute'(_0x4c370d){const _0x323f5d={_0x5ad034:0x7b},_0x583735={_0x4785eb:0x2e1};try{validateGrepPattern(_0x4c370d['pattern']);}catch(_0x2e291d){throw new ToolExecutionError(_0x2e291d[_0x427833(0x5cf,0x3d0,_0x2b5bbf._0xcfca8a,_0x2b5bbf._0x104957)],{});}const _0x246b99=resolveAllowedPath(_0x2034e2,_0x2deb21,_0x4c370d[_0x427833(0x33a,0x331,0x445,_0x2b5bbf._0x376bf9)]??'.'),_0x1680bd=await _0x56f112(_0x246b99)[_0x427833(_0x2b5bbf._0x416884,0x214,_0x2b5bbf._0x2682f8,0x1d2)](()=>null),_0x3dc0bf=_0x1680bd?.[_0x427833(0x47b,0x8c,_0x2b5bbf._0x438179,_0x2b5bbf._0x103101)]()??![],_0x15aaae=_0x1680bd?.[_0x5ac404(0x12f,_0x2b5bbf._0x575f1f,_0x2b5bbf._0x15eaa5,_0x2b5bbf._0x3dbc92)]()??![];if(!_0x3dc0bf&&!_0x15aaae)throw new ToolExecutionError(_0x427833(_0x2b5bbf._0x2c0502,0x4bf,_0x2b5bbf._0x419171,_0x2b5bbf._0x4c6dd8)+(_0x4c370d[_0x5ac404(0x685,_0x2b5bbf._0x33edb4,_0x2b5bbf._0x163776,0x408)]??'.'),{'path':_0x4c370d[_0x427833(0x30d,0x33c,_0x2b5bbf._0x30472c,0x2f6)]??'.'});const _0x67df89=await searchRegex({'cwd':_0x15aaae?_0x246b99:_0x574a9e[_0x427833(0xf6,0x103,-_0x2b5bbf._0x3b6634,_0x2b5bbf._0x1d2ab3)](_0x246b99),'pattern':_0x4c370d[_0x5ac404(_0x2b5bbf._0x4be301,0x344,0x53b,0x50a)],'glob':_0x15aaae?_0x4c370d[_0x427833(0x24f,_0x2b5bbf._0x3bfbe2,0x466,_0x2b5bbf._0x21dbed)]:void 0x0,'limit':_0x4c370d[_0x5ac404(0x37a,_0x2b5bbf._0x3e299a,_0x2b5bbf._0x20b967,_0x2b5bbf._0x3b162c)]??_0x3908df,'files':_0x3dc0bf?[_0x246b99]:void 0x0,'context':_0x4c370d[_0x427833(_0x2b5bbf._0x2fef91,0x3f7,_0x2b5bbf._0x3dd07d,_0x2b5bbf._0x5134da)]});function _0x5ac404(_0x3121bb,_0x4ebc45,_0x542095,_0xf59882){return _0x3cf9fe(_0x4ebc45-_0x583735._0x4785eb,_0x4ebc45-0xa6,_0xf59882,_0xf59882-0xca);}const {matches:_0xca7384}=_0x67df89,_0x2dedb8=new Map();for(const _0xfe497c of _0xca7384){if(!_0x2dedb8[_0x427833(_0x2b5bbf._0xe9383d,_0x2b5bbf._0x552885,0x492,0x3ec)](_0xfe497c['filePath'])){const _0x419663=await _0x56f112(_0xfe497c[_0x427833(0x2ad,_0x2b5bbf._0x83ae5c,_0x2b5bbf._0x121c73,0x35d)])['catch'](()=>null);_0x2dedb8[_0x5ac404(_0x2b5bbf._0x10147c,0x2f6,0x276,_0x2b5bbf._0x1ef644)](_0xfe497c['filePath'],{'matches':[],'mtime':_0x419663?.[_0x427833(0x29d,_0x2b5bbf._0x5bef54,_0x2b5bbf._0x22f249,_0x2b5bbf._0x398610)]??0x0});}_0x2dedb8['get'](_0xfe497c['filePath'])?.['matches'][_0x427833(0x1,-_0x2b5bbf._0x25078a,-_0x2b5bbf._0x4a3f37,_0x2b5bbf._0x3d3eba)](_0xfe497c);}function _0x427833(_0x460f27,_0x2b1703,_0x73c9a,_0x20fb1c){return _0x374e08(_0x460f27-0x9a,_0x2b1703-_0x323f5d._0x5ad034,_0x2b1703,_0x20fb1c-0x7d);}const _0x48e693=[..._0x2dedb8['entries']()][_0x427833(_0x2b5bbf._0x26cfc0,0x3a7,_0x2b5bbf._0x2301c3,_0x2b5bbf._0x1f79c8)]((_0x4b39ab,_0x3e7252)=>_0x3e7252[0x1][_0x427833(0x5dc,0x550,0x635,0x458)]-_0x4b39ab[0x1][_0x5ac404(0x785,0x660,0x725,0x4a2)]),_0xbd04b9=_0x3dc0bf?_0x574a9e[_0x5ac404(_0x2b5bbf._0x38c10f,0x331,0x51b,0x27f)](_0x246b99):_0x246b99;let _0x1dcbe1='';if(_0xca7384[_0x5ac404(_0x2b5bbf._0x199889,0x52e,0x6af,0x36a)]===0x0)_0x1dcbe1=_0x5ac404(_0x2b5bbf._0x89d08f,_0x2b5bbf._0x30472c,_0x2b5bbf._0x4b6c6a,_0x2b5bbf._0x14de4a)+_0x4c370d[_0x427833(-0x26,0x128,0xbd,0x13c)];else{_0x1dcbe1=_0x5ac404(0x48d,0x52c,_0x2b5bbf._0x327ca3,_0x2b5bbf._0x1afb6e)+_0x67df89['matchCount']+_0x5ac404(_0x2b5bbf._0x2721c5,_0x2b5bbf._0x5301a4,0x3dc,_0x2b5bbf._0x2af41f)+(_0x67df89['matchCount']===0x1?'':'es')+'\x0a';for(const [_0xebdc7b,_0x8350c6]of _0x48e693){const _0xdee7e6=_0x3dc0bf?_0x574a9e['basename'](_0xebdc7b):_0x574a9e['relative'](_0xbd04b9,_0xebdc7b);_0x1dcbe1+='\x0a'+_0xdee7e6+':\x0a';for(const _0x5cd1c9 of _0x8350c6['matches']){const _0x4581b2=boundedGrepSnippet(_0x5cd1c9[_0x5ac404(_0x2b5bbf._0x858e09,_0x2b5bbf._0x59e118,_0x2b5bbf._0x583801,0x42f)]),_0x344c65=_0x5cd1c9[_0x5ac404(0x260,_0x2b5bbf._0x305c3a,_0x2b5bbf._0x4803a1,_0x2b5bbf._0x3cf308)]?'\x20\x20':'>\x20';_0x1dcbe1+=_0x344c65+'Line\x20'+_0x5cd1c9['lineNum']+':\x20'+_0x4581b2+'\x0a';}}_0x67df89['truncated']&&(_0x1dcbe1+=_0x5ac404(0x44a,0x57f,0x36e,_0x2b5bbf._0x27695c));}const _0x114273={'searchPath':_0x574a9e['relative'](_0x2034e2,_0x246b99)||'.','pattern':_0x4c370d[_0x427833(0x2db,0x9d,_0x2b5bbf._0x118c6e,_0x2b5bbf._0x18c670)],'matchCount':_0x67df89[_0x5ac404(_0x2b5bbf._0x35ff70,_0x2b5bbf._0x4c6d88,0x37b,_0x2b5bbf._0x58b9e1)],'fileCount':_0x67df89[_0x427833(_0x2b5bbf._0x22b0af,_0x2b5bbf._0x53b558,0x2b0,_0x2b5bbf._0x399438)],'truncated':_0x67df89[_0x427833(_0x2b5bbf._0xe70fd2,0x35d,_0x2b5bbf._0x1f79c8,_0x2b5bbf._0x157127)]};return _0x15aaae&&_0x4c370d[_0x5ac404(0x49b,0x65d,0x7d2,0x746)]!==void 0x0&&(_0x114273[_0x5ac404(0x6db,_0x2b5bbf._0x2ad734,0x849,_0x2b5bbf._0xd2783d)]=_0x4c370d['include']),yield createToolOutput(_0x1dcbe1[_0x5ac404(_0x2b5bbf._0x2ec050,0x67b,0x7af,_0x2b5bbf._0x2ecfe3)](),_0x114273),void 0x0;}});}import{readdir,readFile as _0x3e11ec,stat as _0x443059}from'fs/promises';import*as _0x21ca25 from'path';import*as _0x591317 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x1d0da4,_0x4e1a85){const _0xc5ed96={_0x4c866c:0x571,_0x525070:0x63f},_0x5b30e9={_0x51e504:0x6a,_0x157bb3:0x1dd,_0x58cbce:0x7b},_0x294dc0={_0x5c6553:0x43,_0x5cc325:0x56};if(_0x4e1a85>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2236cc=await _0x3e11ec(_0x1d0da4)['catch'](()=>null);function _0xd36ec4(_0x7076e6,_0x10a815,_0x3ec0a4,_0x1b8886){return _0x47b891(_0x7076e6,_0x1b8886-_0x294dc0._0x5c6553,_0x3ec0a4-_0x294dc0._0x5cc325,_0x1b8886-0x9f);}if(!_0x2236cc||isProbablyBinary(_0x2236cc))return void 0x0;function _0x5d170f(_0xd55eb1,_0x37471e,_0x1689eb,_0x14ecf3){return _0xe18bb0(_0x1689eb,_0x37471e- -_0x5b30e9._0x51e504,_0x1689eb-_0x5b30e9._0x157bb3,_0x14ecf3-_0x5b30e9._0x58cbce);}return _0x2236cc['toString'](_0x5d170f(0x290,0x192,0x35a,0x27f))['split'](/\r?\n/)[_0xd36ec4(_0xc5ed96._0x4c866c,0x555,_0xc5ed96._0x525070,0x67b)];}function createLsTool(_0x3b139f={}){const _0x7f4a65={_0x4f30b0:0x514,_0x5f3e93:0x97,_0x478d31:0x236,_0x1496df:0x1d8,_0xdc8dda:0x1c2,_0x308c7b:0x273,_0x5e5a60:0x35e,_0x3a8ca9:0x242,_0x1df9a4:0x3eb,_0x36f722:0x3c1,_0x34973f:0x5dc,_0x4c9874:0x7c5,_0x5bfe61:0x6c8,_0x20ea68:0x1de,_0x7d41d9:0x738,_0x26cadd:0x487,_0xb3c1e1:0x545,_0x4e74d3:0x3ec,_0x10f607:0x3b4,_0x9f631b:0x2e9},_0x3a865f={_0x14be01:0x9,_0x50fd58:0x86,_0x5ca308:0x737,_0x321842:0x718,_0x2fa7fc:0x6b4,_0x278870:0x37b,_0x29b1cb:0x5a0,_0x4b6616:0x313,_0x357e16:0x2c9,_0x2335d7:0x609,_0x2b0c99:0x48a,_0x365943:0x2e7,_0x2abd29:0x5b5,_0x2e254b:0x3f5,_0x20c814:0x589,_0x39fdf8:0x5cd,_0x47ab86:0x25e,_0x101ceb:0x71,_0x1d2b3a:0x210,_0x42a474:0x256,_0xe5b944:0x63,_0xd01064:0x13b,_0x2082a3:0x3b,_0x13605a:0xb0,_0x641b60:0x8,_0x1be1cb:0x655,_0xfe0976:0x4d8,_0x5971af:0x326,_0x2664bf:0x3ee,_0x398867:0x816,_0x2f3daa:0xd9,_0x3af0e4:0x26b,_0x22aaad:0x2dc,_0x5cd299:0x1dc,_0x37f741:0x1ac,_0x3b512d:0x721,_0x502bfa:0x566,_0x39f050:0x769,_0x14a6a8:0x71,_0xe695ac:0x14b,_0x2aaf15:0x11d},_0x2f030b={_0x37f208:0x1f5,_0x7df027:0xfe},_0x374b9a={_0x3dc61c:0x1bf,_0x392f0f:0x56},_0x5539df={_0x13e2b1:0x385,_0xcb9053:0x77,_0x546fbc:0xe6},_0x853be1=_0x21ca25[_0xf79c9e(0x326,_0x7f4a65._0x4f30b0,0x4e6,0x40b)](_0x3b139f['defaultCwd']??process[_0x2eab19(_0x7f4a65._0x5f3e93,_0x7f4a65._0x478d31,0x1b,_0x7f4a65._0x1496df)]());function _0xf79c9e(_0x155d29,_0x1de96f,_0x407387,_0x368a3f){return _0xe18bb0(_0x1de96f,_0x155d29-_0x5539df._0x13e2b1,_0x407387-_0x5539df._0xcb9053,_0x368a3f-_0x5539df._0x546fbc);}function _0x2eab19(_0x3370,_0x30fc45,_0x58c01c,_0x2f0b02){return _0x47b891(_0x2f0b02,_0x3370- -0x370,_0x58c01c-0x159,_0x2f0b02-0x1ec);}const _0x3bec30=_0x3b139f[_0x2eab19(_0x7f4a65._0xdc8dda,_0x7f4a65._0x308c7b,_0x7f4a65._0x5e5a60,0x70)]??[],_0x16ae37=_0x3b139f[_0xf79c9e(0x2db,_0x7f4a65._0x3a8ca9,_0x7f4a65._0x1df9a4,_0x7f4a65._0x36f722)]??'Ls';return defineTool({'name':_0x16ae37,'permissionClass':_0xf79c9e(_0x7f4a65._0x34973f,_0x7f4a65._0x4c9874,_0x7f4a65._0x5bfe61,0x5c8),'description':_0x2eab19(_0x7f4a65._0x20ea68,0x3c,0x15f,0x215),'inputSchema':{'type':_0xf79c9e(0x5d4,_0x7f4a65._0x7d41d9,_0x7f4a65._0x26cadd,_0x7f4a65._0xb3c1e1),'properties':{'path':{'type':'string'},'limit':{'type':_0xf79c9e(0x2cb,_0x7f4a65._0x4e74d3,_0x7f4a65._0x10f607,_0x7f4a65._0x9f631b)}}},async *'execute'(_0x1c6ada){const _0x43d466=_0x1c6ada['path']??'.',_0x3f5dfd=resolveAllowedPath(_0x853be1,_0x3bec30,_0x43d466),_0x38e78c=await _0x443059(_0x3f5dfd)[_0x52976d(-0x29,-_0x3a865f._0x14be01,_0x3a865f._0x50fd58,-0xb3)](()=>null);if(!_0x38e78c?.['isDirectory']())throw new ToolExecutionError(_0x3a48cd(0x579,0x55b,0x549,0x3bb)+_0x43d466,{'path':_0x43d466});const _0xa69470=_0x1c6ada[_0x3a48cd(_0x3a865f._0x5ca308,_0x3a865f._0x321842,0x628,0x66d)]??0x3e8,_0xfefc0f=Math[_0x3a48cd(_0x3a865f._0x2fa7fc,0x814,0x830,0x7e6)](Math[_0x3a48cd(0x467,_0x3a865f._0x278870,_0x3a865f._0x29b1cb,_0x3a865f._0x4b6616)](Math[_0x3a48cd(0x4ca,0x2fa,_0x3a865f._0x357e16,_0x3a865f._0x2335d7)](_0xa69470),0x1),0x2710),_0xcb9212=await readdir(_0x3f5dfd),_0x408cd7=[];for(const _0x23124b of _0xcb9212[_0x3a48cd(_0x3a865f._0x2b0c99,_0x3a865f._0x365943,_0x3a865f._0x2abd29,_0x3a865f._0x2e254b)](0x0,_0xfefc0f)){const _0x2b3f4a=_0x21ca25[_0x3a48cd(0x65c,0x82f,_0x3a865f._0x20c814,0x5c3)](_0x3f5dfd,_0x23124b),_0x5231ee=await _0x443059(_0x2b3f4a)[_0x3a48cd(_0x3a865f._0x39fdf8,0x6ed,0x7c8,0x750)](()=>null);if(!_0x5231ee)continue;let _0x12ab53=_0x52976d(_0x3a865f._0x47ab86,_0x3a865f._0x101ceb,_0x3a865f._0x1d2b3a,0x103);if(_0x5231ee[_0x52976d(0x22e,0x92,_0x3a865f._0x42a474,0x223)]())_0x12ab53='file';else{if(_0x5231ee['isDirectory']())_0x12ab53=_0x52976d(-0x26d,-_0x3a865f._0xe5b944,-_0x3a865f._0xd01064,-_0x3a865f._0x2082a3);else{if(_0x5231ee[_0x52976d(0x130,-_0x3a865f._0x13605a,-0x1ed,_0x3a865f._0x641b60)]())_0x12ab53=_0x3a48cd(0x736,0x6a8,0x79e,_0x3a865f._0x1be1cb);}}const _0x230762={'name':_0x23124b,'type':_0x12ab53,'size':_0x5231ee['size'],'mtime':_0x5231ee['mtimeMs'],'mode':_0x5231ee[_0x3a48cd(0x65a,0x506,0x4fc,0x5f3)]},_0x1803c9=_0x12ab53===_0x3a48cd(_0x3a865f._0xfe0976,0x511,_0x3a865f._0x5971af,_0x3a865f._0x2664bf)?await countTextLines(_0x2b3f4a,_0x5231ee[_0x3a48cd(0x723,0x81f,0x66a,_0x3a865f._0x398867)]):void 0x0;if(_0x1803c9!==void 0x0)_0x230762[_0x52976d(-0x5b,-_0x3a865f._0x2f3daa,-0x2d,0xe8)]=_0x1803c9;_0x408cd7[_0x52976d(-_0x3a865f._0x3af0e4,-0x131,-_0x3a865f._0x22aaad,-0x22c)](_0x230762);}function _0x52976d(_0x248109,_0xce4e33,_0x2d56b2,_0x2a4826){return _0xf79c9e(_0xce4e33- -0x3e1,_0x248109,_0x2d56b2-_0x374b9a._0x3dc61c,_0x2a4826-_0x374b9a._0x392f0f);}_0x408cd7['sort']((_0x1a423d,_0x59b3c3)=>_0x1a423d[_0x3a48cd(0x4d0,0x5ff,0x2fb,0x487)]['localeCompare'](_0x59b3c3[_0x3a48cd(0x4d0,0x337,0x4ae,0x68f)]));const _0x390c14={'path':_0x43d466,'total':_0x408cd7[_0x52976d(0x2e1,0x14b,_0x3a865f._0x5cd299,_0x3a865f._0x37f741)],'truncated':_0xcb9212[_0x3a48cd(_0x3a865f._0x3b512d,_0x3a865f._0x502bfa,0x8d9,_0x3a865f._0x39f050)]>_0xfefc0f,'entries':_0x408cd7};yield createToolOutput(_0x591317[_0x52976d(-0x4,0xc0,-_0x3a865f._0x14a6a8,0x234)](_0x390c14,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x43d466,'total':_0x408cd7['length'],'truncated':_0xcb9212[_0x52976d(0x104,_0x3a865f._0xe695ac,_0x3a865f._0x2aaf15,0x2a4)]>_0xfefc0f,'limit':_0xfefc0f,'entries':_0x408cd7});function _0x3a48cd(_0x396bb6,_0x68b832,_0x5f5a9f,_0x11c206){return _0xf79c9e(_0x396bb6-_0x2f030b._0x37f208,_0x11c206,_0x5f5a9f-_0x2f030b._0x7df027,_0x11c206-0x2c);}return void 0x0;}});}import{readFile as _0x2cb3b9,stat as _0x798f27}from'fs/promises';import*as _0x1d4943 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x47b891(0x339,0x3b5,0x206,0x27a),_0xe18bb0(-0x63,-0xa4,0xeb,-0x78),_0xe18bb0(0x93,0x15d,0x367,0x2a5),'original']),PNG_SIGNATURE=Buffer[_0xe18bb0(0x1c,-0xb7,-0x2ac,-0x17)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x1d7470,_0x475244){const _0x175068={_0x2e73df:0x53,_0xd76d27:0x1af,_0x2035ad:0x6,_0x11aa6b:0x174,_0x5eaf5a:0x172,_0x3d84d3:0x39,_0x40f9bd:0x310,_0x36082f:0x1c9,_0x2375b7:0x42c,_0x534b15:0x5cb,_0x1b66c1:0x3fb,_0xd36343:0x2a3,_0x3df46f:0x2d8,_0x2e35d3:0x1f6,_0x297241:0x291,_0x4fd8c3:0x106,_0x465b9f:0x375,_0x24f096:0x371,_0x2dad57:0x18f,_0x42eb06:0x219,_0x5624af:0x25a,_0x3ac4db:0x2c4,_0x354620:0x38b,_0x5ed1b0:0x353,_0x5edb85:0x359,_0x9e91c8:0x489,_0xa2df74:0x1d3,_0x2a165f:0x6e,_0xc61c23:0x1ad,_0xec637d:0x1e6,_0x2bbd70:0xae,_0x145773:0x26c,_0x222dcd:0x28f,_0x397592:0x197,_0x1fb3e9:0x286,_0x159035:0x193,_0x559ee1:0x2c4},_0x48d3cd={_0x5c3495:0xbc},_0x5cea19={_0x3f9f73:0x517,_0x47cea1:0xdf,_0x64f2b3:0x1a0};if(_0x1d7470[_0x34b428(-_0x175068._0x2e73df,-_0x175068._0xd76d27,-_0x175068._0x2035ad,-_0x175068._0x11aa6b)](0x0,0x8)[_0x34b428(0x2d3,_0x175068._0x5eaf5a,0x294,0x8e)](PNG_SIGNATURE))return _0x296cd4(0x2ad,_0x175068._0x3d84d3,0x2fb,0x1ad);if(_0x1d7470[0x0]===0xff&&_0x1d7470[0x1]===0xd8&&_0x1d7470[0x2]===0xff)return _0x34b428(_0x175068._0x40f9bd,0x159,_0x175068._0x36082f,0x1ec);function _0x296cd4(_0x1e06a3,_0x57d9b0,_0x4d915e,_0x4c3ff5){return _0x47b891(_0x57d9b0,_0x4c3ff5- -_0x5cea19._0x3f9f73,_0x4d915e-_0x5cea19._0x47cea1,_0x4c3ff5-_0x5cea19._0x64f2b3);}const _0x4e3a81=_0x1d7470['subarray'](0x0,0x6)[_0x34b428(_0x175068._0x2375b7,_0x175068._0x534b15,_0x175068._0x1b66c1,_0x175068._0xd36343)](_0x296cd4(0xa4,-_0x175068._0x3df46f,-_0x175068._0x2e35d3,-0x135));if(_0x4e3a81==='GIF87a'||_0x4e3a81===_0x296cd4(_0x175068._0x297241,0x2ef,0x87,_0x175068._0x4fd8c3))return _0x34b428(0x2d0,0x312,_0x175068._0x465b9f,0x3c5);if(_0x1d7470['subarray'](0x0,0x4)['toString']('ascii')===_0x34b428(-0x81,0x1fa,0x37,-0x177)&&_0x1d7470[_0x296cd4(-_0x175068._0x24f096,-0x14f,0x29,-_0x175068._0x2dad57)](0x8,0xc)[_0x296cd4(0x2ce,0x18c,_0x175068._0x42eb06,0x272)](_0x34b428(0x60,0xb4,0x54,0x132))===_0x34b428(_0x175068._0x5624af,-0x31,0x1d7,0x11c))return _0x34b428(0x425,0x355,_0x175068._0x3ac4db,_0x175068._0x354620);const _0x27c13d=_0x1d4943['extname'](_0x475244)[_0x34b428(0x355,0x359,0x2f1,0x1fa)]();if(_0x27c13d===_0x34b428(0x411,_0x175068._0x5ed1b0,_0x175068._0x5edb85,_0x175068._0x9e91c8))return _0x296cd4(_0x175068._0xa2df74,_0x175068._0x2a165f,0x34c,_0x175068._0xc61c23);if(_0x27c13d===_0x296cd4(-0x1e3,-_0x175068._0xec637d,0x162,-_0x175068._0x2bbd70)||_0x27c13d===_0x296cd4(-0x280,-_0x175068._0x145773,-_0x175068._0x222dcd,-0x89))return'image/jpeg';if(_0x27c13d===_0x34b428(_0x175068._0x397592,_0x175068._0x1fb3e9,0x398,0x39f))return'image/gif';if(_0x27c13d==='.webp')return _0x34b428(0x1ce,_0x175068._0x159035,_0x175068._0x559ee1,0x404);function _0x34b428(_0x241941,_0x539917,_0x5b0c5e,_0x411ffa){return _0xe18bb0(_0x411ffa,_0x5b0c5e-0x103,_0x5b0c5e-_0x48d3cd._0x5c3495,_0x411ffa-0xa7);}return void 0x0;}function normalizeDetail(_0x315aad){const _0x57c7e4={_0xb9b381:0xac5,_0x9e7296:0x885,_0x33715a:0x904,_0x7efe57:0x690,_0x186555:0x646,_0x4b4c6c:0xa21,_0x2221d2:0x99a,_0xdfca9b:0x673},_0x49151a={_0x201338:0x1b0},_0x45bcee={_0x580505:0x4aa};if(_0x315aad===void 0x0)return void 0x0;const _0x229c95=_0x315aad[_0x2b6351(_0x57c7e4._0xb9b381,_0x57c7e4._0x9e7296,0xaa7,_0x57c7e4._0x33715a)]()[_0x2b6351(_0x57c7e4._0x7efe57,0x73c,_0x57c7e4._0x186555,0x7fe)]();function _0x20ce86(_0x29b75e,_0x4f955d,_0x5bbd68,_0xdfef9e){return _0x47b891(_0x4f955d,_0xdfef9e- -_0x45bcee._0x580505,_0x5bbd68-0x5e,_0xdfef9e-0x165);}if(!SUPPORTED_DETAILS[_0x2b6351(_0x57c7e4._0x4b4c6c,0x748,_0x57c7e4._0x2221d2,0x87d)](_0x229c95))throw new ToolExecutionError(_0x2b6351(0x6d9,0x7f2,0x7e7,_0x57c7e4._0xdfca9b)+_0x315aad,{'detail':_0x315aad});function _0x2b6351(_0x5915e9,_0x5257c3,_0x4fe2ea,_0x9197c3){return _0xe18bb0(_0x5257c3,_0x9197c3-0x610,_0x4fe2ea-0x12a,_0x9197c3-_0x49151a._0x201338);}return _0x229c95;}function createViewFileTool(_0x2e2c80={}){const _0x241120={_0x461232:0x42,_0x3e88e9:0x1b3,_0x5696cb:0x224,_0x24b2fc:0x40c,_0x4af428:0x202,_0x521200:0x2be,_0x1a7969:0x359,_0x31fbef:0x39f,_0x17f8bf:0x41a,_0x54f1c3:0x484,_0x21ec42:0x517,_0x43d4bd:0x3fa,_0x44497a:0x2b7,_0x979bb8:0x5f9,_0x559fbb:0x6fe,_0x537dce:0x61c,_0x47939c:0x2a9,_0x16759c:0x4cc,_0x2382d0:0x632,_0x138f68:0x6d2,_0x5d7a35:0x6c1,_0x17a15e:0x5ac},_0x61667a={_0x8fd0be:0x86c,_0x46679a:0x83e,_0x4bdffc:0x7a4,_0xacefe8:0x73f,_0x3285a3:0x703,_0x83f755:0x782,_0x2951d9:0x6d1,_0x1d51d2:0x645,_0x302d1c:0x8a3,_0x43cdba:0x818,_0x9fc002:0x750,_0x5ca537:0x6ab,_0x4b004f:0x5eb,_0x105d97:0x545,_0x545b96:0x593,_0x278ee8:0x723,_0x17f136:0x72d,_0x199913:0x6d6,_0x5d10dc:0x8f1,_0x16d496:0xa37,_0x41bbb6:0x5b2,_0xbdbb23:0x5d6,_0x2987b0:0x48e,_0x5c41fb:0x3d3,_0x4dba98:0x5b1,_0x141cd7:0x5cf,_0xf14aa9:0x7f1,_0x2f22d2:0x442,_0x4f09e6:0x7e2,_0x1da7a0:0x8ae,_0x309fc1:0xa76,_0x5f2324:0x4ac,_0x14f46a:0x60e,_0x12d698:0x7ef,_0x3796a2:0x750,_0x6a235:0x782,_0x57497e:0x8b4,_0x44d070:0x902,_0x552747:0x8a5,_0x3972ed:0x6f7,_0x4e7f38:0x5ac,_0x2f54f9:0x62a,_0x232d2c:0x677,_0x4e3d40:0xa89,_0x3fde4f:0x93f,_0x13bd85:0x925,_0x2ceef0:0x5f5,_0x288046:0x525,_0x22d3a4:0x834,_0x30c052:0x906,_0x4d847b:0x764,_0x16c00c:0x68e,_0x29a092:0x736,_0xce2a9c:0x62f,_0x1dd559:0x55d},_0x18e3a7={_0x194398:0xae},_0x48d2f9={_0x32b268:0x1d},_0x638006=_0x1d4943[_0x5a4164(-_0x241120._0x461232,-0x118,_0x241120._0x3e88e9,-_0x241120._0x5696cb)](_0x2e2c80[_0x176231(0x57a,0x490,_0x241120._0x24b2fc,0x3b7)]??process[_0x176231(_0x241120._0x4af428,_0x241120._0x521200,0x298,_0x241120._0x1a7969)]()),_0x1a6249=_0x2e2c80[_0x176231(_0x241120._0x31fbef,0x39f,_0x241120._0x17f8bf,_0x241120._0x54f1c3)]??[],_0x25d845=_0x2e2c80['maxBytes']??DEFAULT_MAX_BYTES,_0x3944d6=_0x2e2c80[_0x176231(_0x241120._0x21ec42,_0x241120._0x43d4bd,_0x241120._0x44497a,0x339)]??_0x176231(_0x241120._0x979bb8,_0x241120._0x559fbb,0x4db,_0x241120._0x537dce);function _0x5a4164(_0x5f0210,_0x49dcda,_0x538084,_0x129528){return _0xe18bb0(_0x538084,_0x5f0210-_0x48d2f9._0x32b268,_0x538084-0xe4,_0x129528-0x18c);}function _0x176231(_0x30b741,_0x39d006,_0x322452,_0x195984){return _0x47b891(_0x30b741,_0x195984- -_0x18e3a7._0x194398,_0x322452-0xd7,_0x195984-0x1c4);}return defineTool({'name':_0x3944d6,'permissionClass':_0x5a4164(0x274,_0x241120._0x47939c,0x452,0x22d),'description':_0x176231(0x424,0x609,0x5dc,_0x241120._0x16759c),'inputSchema':{'type':_0x176231(0x602,0x61f,0x4ce,_0x241120._0x2382d0),'properties':{'path':{'type':'string'},'detail':{'type':'string'}},'required':[_0x176231(_0x241120._0x138f68,_0x241120._0x5d7a35,_0x241120._0x17a15e,0x55a)]},async *'execute'(_0x17f546){const _0x28037d={_0x546252:0x98},_0x182040={_0x33996c:0x15a,_0x5447ff:0xeb},_0x16d4cc=resolveAllowedPath(_0x638006,_0x1a6249,_0x17f546[_0x5de474(_0x61667a._0x8fd0be,_0x61667a._0x46679a,_0x61667a._0x4bdffc,0x891)]);function _0x1f789e(_0x5a34eb,_0x5a66e4,_0x3782a4,_0x5dd0ff){return _0x5a4164(_0x3782a4-0x5bc,_0x5a66e4-_0x182040._0x33996c,_0x5dd0ff,_0x5dd0ff-_0x182040._0x5447ff);}await assertWorkspaceFile(_0x16d4cc);const _0xa22d3f=await _0x798f27(_0x16d4cc);if(_0xa22d3f[_0x1f789e(_0x61667a._0xacefe8,_0x61667a._0x3285a3,_0x61667a._0x83f755,0x992)]>_0x25d845)throw new ToolExecutionError(_0x5de474(0x4c0,_0x61667a._0x2951d9,_0x61667a._0x1d51d2,0x67c)+_0x17f546[_0x1f789e(_0x61667a._0x302d1c,_0x61667a._0x43cdba,_0x61667a._0x9fc002,_0x61667a._0x5ca537)],{'path':_0x17f546[_0x1f789e(_0x61667a._0x4b004f,_0x61667a._0x105d97,_0x61667a._0x9fc002,_0x61667a._0x545b96)],'maxBytes':_0x25d845,'size':_0xa22d3f['size']});const _0x3d5ab0=await _0x2cb3b9(_0x16d4cc),_0x37d81c=detectImageMediaType(_0x3d5ab0,_0x16d4cc);function _0x5de474(_0x3fe218,_0x3da63c,_0x40b58a,_0x585e6c){return _0x5a4164(_0x40b58a-0x610,_0x3da63c-0x10,_0x585e6c,_0x585e6c-_0x28037d._0x546252);}if(!_0x37d81c)throw new ToolExecutionError(_0x5de474(0x73e,0x63c,_0x61667a._0x278ee8,0x8b8)+_0x17f546['path'],{'path':_0x17f546[_0x1f789e(_0x61667a._0x17f136,0x5d4,_0x61667a._0x9fc002,_0x61667a._0x199913)],'supported':[_0x5de474(_0x61667a._0x5d10dc,_0x61667a._0x16d496,0x8c2,0x9d5),_0x1f789e(0x41c,_0x61667a._0x41bbb6,_0x61667a._0xbdbb23,_0x61667a._0x2987b0),_0x1f789e(_0x61667a._0x5c41fb,0x5bc,_0x61667a._0x4dba98,_0x61667a._0x141cd7),_0x1f789e(0x9ac,_0x61667a._0xf14aa9,0x82f,0x86b),_0x1f789e(_0x61667a._0x2f22d2,0x4b3,0x5ea,0x449)]});const _0x26c73e=normalizeDetail(_0x17f546[_0x5de474(_0x61667a._0x4f09e6,0x6fc,_0x61667a._0x1da7a0,_0x61667a._0x309fc1)]),_0xa4924f=[_0x1f789e(0x714,_0x61667a._0x5f2324,0x622,_0x61667a._0x14f46a)+_0x17f546[_0x1f789e(0x899,_0x61667a._0x12d698,_0x61667a._0x3796a2,0x692)],'MIME:\x20'+_0x37d81c,'Size:\x20'+_0xa22d3f[_0x1f789e(0x8f5,0x61b,_0x61667a._0x6a235,0x984)]+_0x5de474(_0x61667a._0x57497e,0x6cd,0x7d0,0x876)][_0x1f789e(_0x61667a._0x44d070,0x9e4,_0x61667a._0x552747,0x699)](_0x26c73e?['Detail:\x20'+_0x26c73e]:[])[_0x5de474(_0x61667a._0x3972ed,_0x61667a._0x4e7f38,0x70f,0x7fa)]('\x0a'),_0x3fb8f5=[{'type':'image','source':{'type':_0x5de474(_0x61667a._0x2f54f9,_0x61667a._0x232d2c,0x649,0x568),'media_type':_0x37d81c,'data':_0x3d5ab0[_0x5de474(_0x61667a._0x4e3d40,_0x61667a._0x3fde4f,_0x61667a._0x13bd85,0x85f)](_0x1f789e(_0x61667a._0x14f46a,0x644,_0x61667a._0x2ceef0,0x505))}},{'type':'text','text':_0xa4924f}];return yield createToolOutput(_0xa4924f,{'path':_0x17f546['path'],'resolvedPath':_0x16d4cc,'created':_0xa22d3f[_0x5de474(0x671,_0x61667a._0x288046,0x5e0,0x4ab)]['toISOString'](),'modified':_0xa22d3f[_0x5de474(_0x61667a._0x22d3a4,0x83f,_0x61667a._0x30c052,0x80e)][_0x1f789e(0x7c1,_0x61667a._0x4d847b,_0x61667a._0x16c00c,0x4aa)](),'size':_0xa22d3f[_0x1f789e(_0x61667a._0x29a092,0x947,0x782,0x707)],'mimeType':_0x37d81c,'encoding':_0x1f789e(_0x61667a._0xce2a9c,_0x61667a._0x1dd559,0x5f5,0x530),..._0x26c73e?{'detail':_0x26c73e}:{}},_0x3fb8f5),void 0x0;}});}function createQuestionId(){const _0x126bdf={_0x3b9394:0x1bb,_0x580bea:0x4ba,_0xb7dfac:0x1b1,_0x1d56c2:0x6b1,_0x9b4463:0x430,_0x155be3:0x258,_0x45be62:0x566,_0x1ecf11:0x6bc,_0x569580:0x95e,_0x4d90b3:0x2ec,_0x425ce9:0x29b},_0x5d1fbb={_0x4308f6:0x19b,_0xf7ffde:0x32},_0x3dd401={_0x45ee06:0x6,_0xda3893:0x5e};function _0x2afd9b(_0x31c99e,_0x731c45,_0x4daf3a,_0x3ca2af){return _0x47b891(_0x3ca2af,_0x31c99e-_0x3dd401._0x45ee06,_0x4daf3a-_0x3dd401._0xda3893,_0x3ca2af-0x14c);}function _0x11f8ee(_0x401c91,_0x423524,_0x5862fa,_0x5b455a){return _0x47b891(_0x423524,_0x5862fa- -_0x5d1fbb._0x4308f6,_0x5862fa-0xee,_0x5b455a-_0x5d1fbb._0xf7ffde);}return _0x2afd9b(0x388,_0x126bdf._0x3b9394,_0x126bdf._0x580bea,_0x126bdf._0xb7dfac)+Date[_0x2afd9b(0x516,_0x126bdf._0x1d56c2,0x326,0x453)]()+'-'+Math[_0x2afd9b(_0x126bdf._0x9b4463,_0x126bdf._0x155be3,_0x126bdf._0x45be62,0x606)]()[_0x2afd9b(0x78f,_0x126bdf._0x1ecf11,_0x126bdf._0x569580,0x924)](0x24)[_0x11f8ee(_0x126bdf._0x4d90b3,0x2f5,0x206,_0x126bdf._0x425ce9)](0x2,0x9);}function validateInput(_0xa5fba7){const _0x3bbf37={_0x550b2e:0x1dd,_0x19ba96:0x283,_0x38b202:0x2ce,_0x372a57:0x1f8,_0xa01cb5:0x22a,_0x1b126f:0xc7,_0x33f862:0x16e,_0x1d2d1b:0x299,_0x6bc125:0x358,_0x2274c4:0x39e,_0x3ef6d4:0x404,_0x28faaf:0x550,_0x315f84:0x12f,_0x263c39:0x1b2,_0x1b7575:0x9b,_0xab2766:0xcc,_0x3813cd:0x169,_0x779377:0x1d7,_0x4e8745:0x22a,_0x32ceb0:0x234,_0x369e07:0x59,_0x259f06:0xaf,_0x5e271f:0x509,_0x55b5c0:0x22c,_0xe4492:0x171,_0x16a97b:0x352,_0x3064b0:0x48e,_0x6446c4:0x3da,_0x540452:0x3f,_0x2392d6:0x177,_0x2694e5:0x308,_0x3e9ca2:0x1d7,_0x46b9a2:0x530,_0x116c4d:0x249,_0x2cdb61:0x1fb,_0x4afe44:0x306,_0x15e7d3:0x44a,_0x24a892:0x2e7,_0x3701f5:0x333,_0x577a3c:0x31d,_0xfca9e8:0x33b,_0x3a01c0:0x4d1,_0x368610:0x321,_0x175849:0x17a,_0x55b9d0:0x11,_0x5327fc:0xf,_0x4ad236:0x101,_0x310023:0x2ab,_0x325daf:0x350,_0xa9ad98:0x29f,_0x4ace23:0x356,_0x1f4b65:0x2f0,_0x480e5c:0x12f,_0x2444de:0x3aa,_0x53f9d9:0x120,_0x56cce8:0x31c,_0x4603d5:0x183,_0x58bf48:0x24c,_0xc03f3:0x10f,_0x4bd837:0xc6,_0x3f7997:0x125,_0x2a31db:0x60f,_0x166698:0x401},_0x9c8f3d={_0x277693:0x29a,_0x2fef79:0x3d},_0x2cf2c6={_0x4b70f4:0xa6,_0x225639:0x13c};function _0xbadbaf(_0x5da53e,_0x40e8d7,_0x13e119,_0x6de1a9){return _0xe18bb0(_0x40e8d7,_0x6de1a9- -_0x2cf2c6._0x4b70f4,_0x13e119-_0x2cf2c6._0x225639,_0x6de1a9-0x114);}function _0x2d9d35(_0x57d531,_0x1a5881,_0x4d08f5,_0x45c73d){return _0x47b891(_0x4d08f5,_0x57d531- -_0x9c8f3d._0x277693,_0x4d08f5-0x12b,_0x45c73d-_0x9c8f3d._0x2fef79);}if(!Array[_0xbadbaf(-0x1aa,-0x8,-_0x3bbf37._0x550b2e,0xa)](_0xa5fba7[_0x2d9d35(0x16e,_0x3bbf37._0x19ba96,_0x3bbf37._0x38b202,_0x3bbf37._0x372a57)])||_0xa5fba7[_0x2d9d35(0x16e,_0x3bbf37._0xa01cb5,_0x3bbf37._0x1b126f,-0x85)]['length']<0x1||_0xa5fba7[_0x2d9d35(_0x3bbf37._0x33f862,_0x3bbf37._0x1d2d1b,_0x3bbf37._0x6bc125,0x1c3)][_0x2d9d35(_0x3bbf37._0x2274c4,_0x3bbf37._0x3ef6d4,0x350,_0x3bbf37._0x28faaf)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':'invalid_questions'});for(let _0x5a0d81=0x0;_0x5a0d81<_0xa5fba7[_0xbadbaf(0x8a,-0x1af,-0x2b1,-_0x3bbf37._0x315f84)]['length'];_0x5a0d81+=0x1){const _0x2b710d=_0xa5fba7['questions'][_0x5a0d81];if(!_0x2b710d['question']||typeof _0x2b710d[_0xbadbaf(-0x1db,-_0x3bbf37._0x263c39,_0x3bbf37._0x1b7575,-_0x3bbf37._0xab2766)]!==_0x2d9d35(0x31d,_0x3bbf37._0x3813cd,_0x3bbf37._0x779377,0x316))throw new ToolExecutionError(_0xbadbaf(0x325,_0x3bbf37._0x4e8745,0x3af,_0x3bbf37._0x32ceb0)+(_0x5a0d81+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x2b710d['topic']||typeof _0x2b710d[_0xbadbaf(0xa6,_0x3bbf37._0x369e07,0x284,_0x3bbf37._0x259f06)]!==_0x2d9d35(0x31d,_0x3bbf37._0x5e271f,_0x3bbf37._0x55b5c0,_0x3bbf37._0xe4492))throw new ToolExecutionError(_0x2d9d35(0x4d1,_0x3bbf37._0x16a97b,_0x3bbf37._0x3064b0,_0x3bbf37._0x6446c4)+(_0x5a0d81+0x1)+_0xbadbaf(-0x184,_0x3bbf37._0x540452,-0xc0,-_0x3bbf37._0x2392d6));if(_0x2b710d[_0xbadbaf(0xe1,-0x148,0xf5,0xaf)]['length']>0x1e)throw new ToolExecutionError('Question\x20'+(_0x5a0d81+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x2b710d[_0x2d9d35(0x34c,0x429,_0x3bbf37._0x2694e5,_0x3bbf37._0x3e9ca2)][_0x2d9d35(_0x3bbf37._0x2274c4,_0x3bbf37._0x46b9a2,0x4ba,0x1ff)]);if(!Array['isArray'](_0x2b710d[_0x2d9d35(_0x3bbf37._0x116c4d,0x2b3,_0x3bbf37._0x2cdb61,_0x3bbf37._0x4afe44)])||_0x2b710d[_0x2d9d35(_0x3bbf37._0x116c4d,_0x3bbf37._0x15e7d3,0x392,0x1d9)]['length']<0x2||_0x2b710d[_0x2d9d35(0x249,0x6a,_0x3bbf37._0x24a892,_0x3bbf37._0x3701f5)][_0x2d9d35(0x39e,_0x3bbf37._0x577a3c,_0x3bbf37._0xfca9e8,0x45c)]>0x4)throw new ToolExecutionError(_0x2d9d35(_0x3bbf37._0x3a01c0,0x6b2,0x5e2,_0x3bbf37._0x368610)+(_0x5a0d81+0x1)+_0x2d9d35(0x14b,_0x3bbf37._0x175849,-0x32,_0x3bbf37._0x55b9d0));for(let _0x59aa7c=0x0;_0x59aa7c<_0x2b710d['options'][_0xbadbaf(-_0x3bbf37._0x5327fc,0x30f,-0xaa,_0x3bbf37._0x4ad236)];_0x59aa7c+=0x1){const _0x181d8c=_0x2b710d['options'][_0x59aa7c];if(!_0x181d8c[_0x2d9d35(_0x3bbf37._0x310023,_0x3bbf37._0x325daf,0x1f5,_0x3bbf37._0xa9ad98)]||!_0x181d8c['description'])throw new ToolExecutionError(_0xbadbaf(_0x3bbf37._0x4ace23,_0x3bbf37._0x1f4b65,0x15a,_0x3bbf37._0x32ceb0)+(_0x5a0d81+0x1)+_0x2d9d35(0x216,_0x3bbf37._0x480e5c,_0x3bbf37._0x2444de,0x2d0)+(_0x59aa7c+0x1)+_0xbadbaf(0x5e,_0x3bbf37._0x53f9d9,_0x3bbf37._0x56cce8,_0x3bbf37._0x4603d5));}if(typeof _0x2b710d[_0xbadbaf(_0x3bbf37._0x58bf48,_0x3bbf37._0xc03f3,_0x3bbf37._0x4bd837,_0x3bbf37._0x3f7997)]!==_0x2d9d35(0x4aa,_0x3bbf37._0x2a31db,_0x3bbf37._0x166698,0x4de))throw new ToolExecutionError('Question\x20'+(_0x5a0d81+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x2875a7){const _0x1eb6fb={_0x13c23c:0x6c3,_0x173bd0:0x522,_0x40a72b:0x593},_0x103fb1={_0x17e70d:0xc2,_0x3ba71b:0x121},_0x437da2={_0x29c04e:0x34};function _0x519a08(_0x350ea7,_0x1ad6ba,_0x37ac6c,_0x25988d){return _0xe18bb0(_0x37ac6c,_0x1ad6ba-0x2a0,_0x37ac6c-_0x437da2._0x29c04e,_0x25988d-0x1d0);}function _0x36be4d(_0x7560ff,_0x13edc0,_0x295cc8,_0x52add7){return _0x47b891(_0x13edc0,_0x7560ff-_0x103fb1._0x17e70d,_0x295cc8-0x109,_0x52add7-_0x103fb1._0x3ba71b);}return _0x2875a7['questions'][_0x36be4d(_0x1eb6fb._0x13c23c,0x7d3,_0x1eb6fb._0x173bd0,_0x1eb6fb._0x40a72b)]((_0x1090fb,_0x3ba24a)=>({'id':'q'+_0x3ba24a,'question':_0x1090fb[_0x36be4d(0x52d,0x712,0x491,0x60b)],'topic':_0x1090fb[_0x519a08(0x54e,0x3f5,0x2e5,0x2e0)],'options':_0x1090fb[_0x36be4d(0x5a5,0x617,0x56d,0x6d0)],'multiSelect':_0x1090fb['multiSelect']}));}function createResult(_0x408585,_0x462f3b,_0x41c17e){const _0x3bb768={_0x313414:0x975,_0x1fb895:0x15f,_0x593097:0x43,_0x1b50ba:0x1d6,_0x495b59:0x352},_0x2ba5da={_0x24b76e:0x43,_0x57ee6d:0x105,_0x23a2ed:0xac};function _0x3c3691(_0x526dfe,_0x72459a,_0x424d81,_0xab95f2){return _0xe18bb0(_0x424d81,_0x526dfe-_0x2ba5da._0x24b76e,_0x424d81-_0x2ba5da._0x57ee6d,_0xab95f2-_0x2ba5da._0x23a2ed);}const _0x2c764d={'questionId':_0x408585,'questionCount':_0x462f3b,'answers':_0x41c17e};function _0x3d157a(_0x2d8124,_0x37e2ae,_0x5d887b,_0x497d60){return _0xe18bb0(_0x497d60,_0x2d8124-0x653,_0x5d887b-0x5f,_0x497d60-0x170);}return createToolOutput(_0x3d157a(0x7ef,_0x3bb768._0x313414,0x87e,0x78d)+JSON[_0x3c3691(_0x3bb768._0x1fb895,_0x3bb768._0x593097,_0x3bb768._0x1b50ba,_0x3bb768._0x495b59)](_0x41c17e,null,0x2),_0x2c764d);}function createAskUserTool(){const _0x44c621={_0x2558ef:0x3a,_0x42c80a:0x241,_0x476846:0x209,_0x32d05f:0x6b3,_0x580e0b:0x7c5,_0x5e36e7:0x5b0,_0x1a2600:0x4d8,_0x102730:0x6ab,_0xc159c8:0x5a8,_0x27ac3e:0x113,_0x4b5830:0x2b6,_0x3e7a75:0x85,_0x316cab:0x757,_0x16b886:0x523,_0x22280c:0x6c7,_0x283e56:0x582,_0x4a13bf:0x664,_0x4b1836:0xdc,_0x2c69bd:0x115,_0x3bda8c:0x4c,_0x32c313:0x2df,_0x2c1646:0x2a0,_0x307500:0x2f9,_0x5ca30f:0x436,_0x5f0cd3:0x605,_0x59f649:0x6c9,_0x30a781:0x1b8,_0x32faea:0x34f,_0x58d2d2:0x48,_0x470969:0x640,_0x485f94:0x7ab},_0x461fa1={_0x9cfb95:0x1b1,_0x4c7c93:0xb6,_0x4b54b6:0x1c1,_0x231471:0x2cf,_0x513217:0x33f,_0x14a74d:0x46e,_0x87316d:0x6c1,_0x5d183f:0x3ea,_0x2d65a0:0x181,_0x35a303:0x109,_0x18c73e:0x258,_0x21619a:0x1c9,_0x1d8306:0x394,_0x4aa7ea:0x38a},_0x5109bc={_0x2d1080:0x35,_0x2675e6:0xb9},_0x36e330={_0x535ec0:0x139,_0x26c5c4:0x109};function _0x3db73e(_0x1c7b91,_0x4306f3,_0x49a6bf,_0x53ab62){return _0xe18bb0(_0x4306f3,_0x1c7b91- -0x13,_0x49a6bf-_0x36e330._0x535ec0,_0x53ab62-_0x36e330._0x26c5c4);}function _0x446811(_0x35e03d,_0x3f4d29,_0x4ac6da,_0x7f3144){return _0x47b891(_0x4ac6da,_0x3f4d29- -_0x5109bc._0x2d1080,_0x4ac6da-0x10a,_0x7f3144-_0x5109bc._0x2675e6);}return defineTool({'name':_0x3db73e(0x33,_0x44c621._0x2558ef,_0x44c621._0x42c80a,_0x44c621._0x476846),'permissionClass':_0x446811(0x5c9,_0x44c621._0x32d05f,_0x44c621._0x580e0b,_0x44c621._0x5e36e7),'description':_0x446811(0x78d,0x5e7,_0x44c621._0x1a2600,0x428),'inputSchema':{'type':_0x446811(0x4d0,_0x44c621._0x102730,0x583,0x84e),'properties':{'questions':{'type':_0x446811(0x63c,0x58f,_0x44c621._0xc159c8,0x5ab),'items':{'type':'object','properties':{'question':{'type':_0x3db73e(_0x44c621._0x27ac3e,0x231,_0x44c621._0x4b5830,_0x44c621._0x3e7a75)},'topic':{'type':_0x446811(0x4f3,0x582,0x381,_0x44c621._0x316cab)},'options':{'type':'array','items':{'type':_0x446811(_0x44c621._0x16b886,0x6ab,0x62e,_0x44c621._0x22280c),'properties':{'label':{'type':'string'},'description':{'type':_0x446811(0x4d5,_0x44c621._0x283e56,_0x44c621._0x4a13bf,0x390)}},'required':[_0x3db73e(0xa1,-_0x44c621._0x4b1836,0x17e,-0xf1),_0x3db73e(-_0x44c621._0x2c69bd,_0x44c621._0x3bda8c,0xf0,-_0x44c621._0x32c313)]}},'multiSelect':{'type':_0x3db73e(_0x44c621._0x2c1646,0x40d,_0x44c621._0x307500,0x44e)}},'required':[_0x446811(0x2ae,_0x44c621._0x5ca30f,0x236,0x5f4),_0x446811(0x650,0x5b1,_0x44c621._0x5f0cd3,_0x44c621._0x59f649),'options',_0x3db73e(_0x44c621._0x30a781,0x4c,_0x44c621._0x32faea,-_0x44c621._0x58d2d2)]}},'answers':{'type':_0x446811(0x8a2,_0x44c621._0x102730,_0x44c621._0x470969,_0x44c621._0x485f94),'properties':{}}},'required':['questions']},async *'execute'(_0x3d12af,_0x513fd9){const _0x2d1999={_0x5553f8:0x482},_0x1b5edc={_0x4ba728:0x30,_0x117198:0x17b};function _0x598e23(_0x3e0985,_0x10c69b,_0x3089d6,_0x5977bd){return _0x446811(_0x3e0985-_0x1b5edc._0x4ba728,_0x10c69b- -_0x1b5edc._0x117198,_0x3e0985,_0x5977bd-0xb7);}function _0x495d01(_0x44d48b,_0x159e08,_0x22aefd,_0x519f14){return _0x446811(_0x44d48b-0x13d,_0x159e08- -_0x2d1999._0x5553f8,_0x519f14,_0x519f14-0x1b0);}const _0x505bef=_0x3d12af;validateInput(_0x505bef);const _0x4a2242=_0x513fd9[_0x598e23(0x3fb,0x40a,0x54d,0x2d9)]??createQuestionId();if(_0x505bef[_0x495d01(_0x461fa1._0x9cfb95,0x1cf,_0x461fa1._0x4c7c93,0x320)]&&Object[_0x598e23(_0x461fa1._0x4b54b6,_0x461fa1._0x231471,_0x461fa1._0x513217,0x467)](_0x505bef[_0x598e23(_0x461fa1._0x14a74d,0x4d6,_0x461fa1._0x87316d,_0x461fa1._0x5d183f)])[_0x495d01(0x251,_0x461fa1._0x2d65a0,0x8e,_0x461fa1._0x35a303)]>0x0)return createResult(_0x4a2242,_0x505bef[_0x598e23(0x20e,_0x461fa1._0x18c73e,0x273,0x2de)]['length'],_0x505bef['answers']);if(!_0x513fd9['askUser'])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');const _0x909b4f=buildQuestions(_0x505bef),_0x26957d=await _0x513fd9[_0x495d01(0x3bd,_0x461fa1._0x21619a,-0x3e,_0x461fa1._0x1d8306)]({'questionId':_0x4a2242,'questions':_0x909b4f});yield createResult(_0x4a2242,_0x505bef['questions'][_0x598e23(0x307,0x488,0x2fe,_0x461fa1._0x4aa7ea)],_0x26957d);}});}import{stat as _0xe80f96}from'fs/promises';import _0x212f25 from'path';import{fileURLToPath as _0x509427}from'url';function awaitWithAbort2(_0x1de58c,_0x2c749d){const _0x34a52={_0x1f9273:0x8eb,_0x2a53b6:0x75d,_0x38a50d:0x74e},_0xbd1718={_0x12e116:0x24e,_0x496bad:0x1d9,_0x3e43ab:0x21a,_0x4a081c:0x35e,_0x1a4c6d:0x381},_0x45e51f={_0x437234:0x116},_0x5ce59f={_0x787df3:0x48b};if(!_0x2c749d)return _0x1de58c;if(_0x2c749d[_0x417cb3(0x767,_0x34a52._0x1f9273,0x57e,0x72e)])return Promise['reject'](toAbortError(_0x2c749d[_0x417cb3(0x6b3,0x7cc,_0x34a52._0x2a53b6,_0x34a52._0x38a50d)]));function _0x5430c2(_0x24a330,_0xdee6dc,_0x219ad5,_0x3964de){return _0xe18bb0(_0x219ad5,_0x24a330-_0x5ce59f._0x787df3,_0x219ad5-0x178,_0x3964de-0x1a5);}function _0x417cb3(_0xb3d9c0,_0x22c911,_0x5d55c4,_0x4489d2){return _0xe18bb0(_0x5d55c4,_0x4489d2-0x446,_0x5d55c4-0x188,_0x4489d2-_0x45e51f._0x437234);}return new Promise((_0x2b7837,_0x20d1d6)=>{const _0x36ba48=()=>{_0xc9350a(),_0x20d1d6(toAbortError(_0x2c749d['reason']));},_0xc9350a=()=>_0x2c749d['removeEventListener']('abort',_0x36ba48);_0x2c749d[_0x1552d7(_0xbd1718._0x12e116,0x2d6,0x180,0x2b5)]('abort',_0x36ba48,{'once':!![]});function _0x2ba1b9(_0xf4683e,_0xae8873,_0x52417e,_0x2f1cdf){return _0x417cb3(_0xf4683e-0xed,_0xae8873-0x7e,_0xae8873,_0x52417e- -0x25e);}function _0x1552d7(_0x10315e,_0x2fad2b,_0x53f86c,_0x301401){return _0x417cb3(_0x10315e-0x3d,_0x2fad2b-0x2b,_0x10315e,_0x2fad2b- -0x407);}_0x1de58c[_0x1552d7(_0xbd1718._0x496bad,_0xbd1718._0x3e43ab,_0xbd1718._0x4a081c,_0xbd1718._0x1a4c6d)](_0x4e245f=>{_0xc9350a(),_0x2b7837(_0x4e245f);},_0x525f72=>{_0xc9350a(),_0x20d1d6(_0x525f72);});});}function severityName(_0x4402a6){const _0x562817={_0xad13b0:0x376,_0x129498:0x5f1,_0x7d1f44:0x67f,_0x4417ec:0x55a,_0x204b1d:0x70b,_0x49b9c5:0x6f5,_0x481509:0x733,_0x570945:0x883,_0x3073db:0xa1f},_0x238f9a={_0x5d8323:0xcf},_0x12b6fb={_0x488b66:0x103,_0x11255e:0xe1};function _0x468d8d(_0x2b5979,_0x311f8c,_0xe84985,_0x3b1b44){return _0x47b891(_0x3b1b44,_0x311f8c-_0x12b6fb._0x488b66,_0xe84985-0x15a,_0x3b1b44-_0x12b6fb._0x11255e);}function _0x499fcd(_0x193b9a,_0x4cb76b,_0x50884a,_0xa77d2a){return _0x47b891(_0xa77d2a,_0x50884a- -_0x238f9a._0x5d8323,_0x50884a-0x1ba,_0xa77d2a-0x10e);}switch(_0x4402a6){case 0x1:return _0x468d8d(_0x562817._0xad13b0,0x55b,_0x562817._0x129498,0x604);case 0x2:return _0x499fcd(0x3d7,_0x562817._0x7d1f44,_0x562817._0x4417ec,_0x562817._0x204b1d);case 0x3:return'Information';case 0x4:return _0x468d8d(_0x562817._0x49b9c5,_0x562817._0x481509,_0x562817._0x570945,0x8b5);default:return _0x468d8d(0x999,0x889,0x678,_0x562817._0x3073db);}}function formatSingleHover(_0x1299b6){const _0x128725={_0x4b56ff:0x993,_0x402ce0:0x7bd,_0x2d5a6c:0x82b,_0x33fe0f:0x33c,_0x9dbc58:0x504,_0x5740eb:0x4e5,_0x84a7fe:0x4bf,_0x191ff8:0x988,_0x4ba198:0x71f,_0x60ed2d:0x91d,_0xb3f40f:0x9f3,_0x6f05e:0x401,_0xcf2c00:0x364,_0x146aba:0x551,_0x48424f:0x242,_0x20b3ff:0x78a,_0x24c324:0x180,_0x1c9715:0x26b,_0x54cb02:0x401,_0x50a25b:0x534,_0x281883:0x32e},_0x16f5af={_0x21fbda:0x1c3},_0x2afa2b={_0x17dfc9:0x119};function _0x276f33(_0x31a672,_0x2daee2,_0x5a36f6,_0x29ad14){return _0x47b891(_0x29ad14,_0x5a36f6-0x206,_0x5a36f6-0x10c,_0x29ad14-_0x2afa2b._0x17dfc9);}const _0x361d8a=_0x1299b6['contents'];if(typeof _0x361d8a===_0x276f33(0x682,_0x128725._0x4b56ff,_0x128725._0x402ce0,_0x128725._0x2d5a6c))return _0x361d8a;if(Array[_0x43c635(_0x128725._0x33fe0f,0x33d,_0x128725._0x9dbc58,0x4d7)](_0x361d8a))return _0x361d8a['map'](_0x263282=>typeof _0x263282==='string'?_0x263282:_0x263282[_0x43c635(0x401,0x352,0x2da,0x20e)])[_0x43c635(_0x128725._0x5740eb,_0x128725._0x84a7fe,0x2d4,0x6f0)](Boolean)['join']('\x0a\x0a');function _0x43c635(_0x10d074,_0x536e52,_0x2cd89e,_0xa54bae){return _0x47b891(_0xa54bae,_0x10d074- -0x205,_0x2cd89e-0x47,_0xa54bae-_0x16f5af._0x21fbda);}if(_0x276f33(_0x128725._0x191ff8,_0x128725._0x4ba198,_0x128725._0x60ed2d,_0x128725._0xb3f40f)in _0x361d8a)return _0x361d8a[_0x43c635(_0x128725._0x6f05e,_0x128725._0xcf2c00,_0x128725._0x146aba,_0x128725._0x48424f)];return _0x361d8a[_0x43c635(0x547,0x623,0x6bd,0x3b8)]?_0x276f33(0x6cb,0x52e,0x5d9,_0x128725._0x20b3ff)+_0x361d8a['language']+'\x0a'+_0x361d8a['value']+_0x43c635(0x312,_0x128725._0x24c324,0x42d,_0x128725._0x1c9715):_0x361d8a[_0x43c635(_0x128725._0x54cb02,0x4a1,_0x128725._0x50a25b,_0x128725._0x281883)];}function formatHover(_0x14f6c3){const _0x255dd1={_0x4ccd18:0x688,_0x5c5af7:0x4d7,_0x569e1b:0x40a,_0x459fa2:0x3b3,_0x4223c8:0x393,_0xd9edc:0x101,_0x5f43a4:0x3ea,_0x13a8cb:0x305,_0x29b2f9:0x3e9},_0x24023b={_0x30bbdc:0xa4};function _0x3c607a(_0x4c6bad,_0x59e386,_0x208a30,_0x11b859){return _0xe18bb0(_0x208a30,_0x11b859-0x223,_0x208a30-_0x24023b._0x30bbdc,_0x11b859-0xc);}if(_0x14f6c3['length']===0x0)return _0x1e6e48(_0x255dd1._0x4ccd18,_0x255dd1._0x5c5af7,_0x255dd1._0x569e1b,0x343);function _0x1e6e48(_0x3a5ca2,_0xb0b51e,_0x770b51,_0x56d8fa){return _0xe18bb0(_0x3a5ca2,_0xb0b51e-0x4c4,_0x770b51-0x8c,_0x56d8fa-0x185);}return _0x14f6c3[_0x3c607a(_0x255dd1._0x459fa2,0x567,0x48f,_0x255dd1._0x4223c8)](formatSingleHover)[_0x3c607a(0x3b9,_0x255dd1._0xd9edc,_0x255dd1._0x5f43a4,_0x255dd1._0x13a8cb)](_0x1e6e48(0x55d,0x55a,_0x255dd1._0x29b2f9,0x6e9));}function locationPath(_0x207f9e){const _0x515cb1={_0x23cb86:0x6e3},_0x1ce3f5={_0x24063c:0xe5};if(!_0x207f9e[_0x22a91e(_0x515cb1._0x23cb86,0x87b,0x624,0x75d)]('file://'))return _0x207f9e;function _0x22a91e(_0x12a0a1,_0x2cbdad,_0x1c5b44,_0xf72c74){return _0x47b891(_0x1c5b44,_0xf72c74-_0x1ce3f5._0x24063c,_0x1c5b44-0x65,_0xf72c74-0x58);}return _0x509427(_0x207f9e);}function formatLocations(_0x4ff2a5){const _0x5135aa={_0x1c6240:0x3a9},_0x5cb20e={_0x35e502:0x73,_0x10829f:0x214,_0x757142:0xc9,_0x7e0f02:0xcd,_0x5e2391:0x1a2,_0x34c82f:0xf5,_0x5abdde:0xa5,_0x190827:0xb9,_0x2ca42b:0x129},_0x47bdad={_0x4fa1d2:0xe7};if(_0x4ff2a5['length']===0x0)return'No\x20locations\x20found';function _0x11a647(_0x41b25b,_0x4cfc2b,_0x34d54b,_0x25868d){return _0x47b891(_0x34d54b,_0x25868d- -0x2a9,_0x34d54b-0x16c,_0x25868d-0x118);}return _0x4ff2a5[_0x11a647(0x4c0,0x1a8,_0x5135aa._0x1c6240,0x358)](_0x13f34e=>{const _0x152c87={_0x492e:0xa7};function _0x309303(_0x563ec3,_0x51bd28,_0x45fa02,_0x2c2975){return _0x11a647(_0x563ec3-0x18e,_0x51bd28-0x65,_0x45fa02,_0x51bd28- -_0x152c87._0x492e);}function _0xaffbfc(_0x110c3d,_0x254333,_0x55b5c7,_0x1f6b0b){return _0x11a647(_0x110c3d-_0x47bdad._0x4fa1d2,_0x254333-0x140,_0x1f6b0b,_0x110c3d-0x21d);}const _0x3a9ee6=_0x13f34e['range'][_0x309303(0x7b,_0x5cb20e._0x35e502,0x16e,_0x5cb20e._0x10829f)];return locationPath(_0x13f34e[_0x309303(-_0x5cb20e._0x757142,_0x5cb20e._0x7e0f02,_0x5cb20e._0x5e2391,_0x5cb20e._0x34c82f)])+':'+(_0x3a9ee6[_0x309303(-_0x5cb20e._0x5abdde,_0x5cb20e._0x190827,0x14,_0x5cb20e._0x2ca42b)]+0x1)+':'+(_0x3a9ee6['character']+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x36d740){const _0x469fc1={_0x44a5cb:0x3bc,_0x1ea342:0x255,_0x5bd142:0x42b},_0x430d11={_0x19f55e:0x3,_0x2eaa57:0x4a};function _0x3ef6fe(_0x16d20d,_0x491e7e,_0x2d748c,_0x32ca64){return _0x47b891(_0x32ca64,_0x491e7e- -0x172,_0x2d748c-_0x430d11._0x19f55e,_0x32ca64-_0x430d11._0x2eaa57);}return'range'in _0x36d740&&_0x3ef6fe(_0x469fc1._0x44a5cb,_0x469fc1._0x1ea342,0x2db,_0x469fc1._0x5bd142)in _0x36d740;}function formatSymbols(_0x32b2c8){const _0xdc0c25={_0xcb396a:0x722,_0x5df4ee:0x4f0,_0x3e7e66:0x574,_0xcffb4b:0x622},_0x2daf80={_0xb5d5d3:0x307,_0x57c136:0x62e,_0xeb1423:0x5d2,_0x1f761a:0x744,_0x2a7803:0x385,_0x2f55b5:0x526,_0x3e0989:0x232,_0x9ceb46:0x1f4,_0xd95bb5:0x108,_0x29ad4e:0x110,_0x1b1586:0x363,_0x378a3e:0x374,_0x16ee54:0x108,_0x12c1f1:0x8e2,_0x3c2fad:0x45c,_0x282042:0x4bb,_0x1dee69:0x372,_0x1ad3e6:0x75d,_0x1e35b6:0x64d,_0x2c1f7e:0x457,_0x3921b0:0x43f,_0x4dad05:0x2e1,_0x216157:0x2d5,_0x2dee96:0x440,_0xa29d43:0x445,_0x3ff745:0x31d,_0x430826:0x448,_0x524031:0x1f9,_0x1f6c8:0x1e0,_0x1aac65:0x5,_0x296338:0x530,_0x221b9d:0x4de},_0x41719f={_0x3a6bcb:0x123,_0x440051:0xb,_0x457325:0x141};function _0x3edc89(_0x5b741b,_0x5be96b,_0xdb1c5b,_0x4ae9a7){return _0x47b891(_0xdb1c5b,_0x4ae9a7-0x37,_0xdb1c5b-0x7b,_0x4ae9a7-0x1bf);}if(_0x32b2c8[_0x35e8c7(_0xdc0c25._0xcb396a,0x75b,0x78a,0x692)]===0x0)return'No\x20symbols\x20found';function _0x35e8c7(_0x320547,_0x2c80b5,_0xd320c8,_0x4d50ca){return _0x47b891(_0xd320c8,_0x2c80b5-_0x41719f._0x3a6bcb,_0xd320c8-_0x41719f._0x440051,_0x4d50ca-_0x41719f._0x457325);}return _0x32b2c8['map'](_0x102342=>{const _0x554461={_0x28624a:0x66,_0x1fad75:0x1c9,_0x138644:0x110};if(isDocumentSymbol(_0x102342))return _0x102342[_0x33353b(0x4df,0x530,0x341,_0x2daf80._0xb5d5d3)]+'\x20('+_0x102342[_0x33353b(_0x2daf80._0x57c136,_0x2daf80._0xeb1423,0x671,_0x2daf80._0x1f761a)]+_0x377081(_0x2daf80._0x2a7803,_0x2daf80._0x2f55b5,0x4ca,_0x2daf80._0x3e0989)+(_0x102342[_0x33353b(0x103,0x2d9,0x2d5,_0x2daf80._0x9ceb46)][_0x377081(_0x2daf80._0xd95bb5,0x14e,0x2c2,_0x2daf80._0x29ad4e)][_0x33353b(0x20c,0x28d,_0x2daf80._0x1b1586,_0x2daf80._0x378a3e)]+0x1)+':'+(_0x102342['range'][_0x377081(_0x2daf80._0x16ee54,-0x91,-0x31,0x139)][_0x33353b(_0x2daf80._0x12c1f1,0x667,0x6d4,0x562)]+0x1)+']';function _0x377081(_0x21ef6b,_0x22dd23,_0x3245c1,_0x39f38e){return _0x35e8c7(_0x21ef6b-0xc8,_0x21ef6b- -0x3de,_0x22dd23,_0x39f38e-0xf9);}function _0x33353b(_0x45b102,_0x464451,_0x1503df,_0x226117){return _0x35e8c7(_0x45b102-_0x554461._0x28624a,_0x1503df- -_0x554461._0x1fad75,_0x226117,_0x226117-_0x554461._0x138644);}return _0x102342['name']+'\x20('+_0x102342[_0x377081(_0x2daf80._0x3c2fad,_0x2daf80._0x282042,0x429,_0x2daf80._0x1dee69)]+')\x20'+locationPath(_0x102342[_0x33353b(_0x2daf80._0x1ad3e6,0x6ac,0x569,_0x2daf80._0x1e35b6)]['uri'])+':'+(_0x102342[_0x377081(0x354,0x517,_0x2daf80._0x2c1f7e,0x44c)][_0x33353b(_0x2daf80._0x3921b0,_0x2daf80._0x4dad05,_0x2daf80._0x216157,_0x2daf80._0x2dee96)][_0x33353b(_0x2daf80._0xa29d43,0x1ca,_0x2daf80._0x3ff745,0x229)]['line']+0x1)+':'+(_0x102342[_0x377081(0x354,_0x2daf80._0x430826,_0x2daf80._0x524031,_0x2daf80._0x1f6c8)][_0x377081(0xc0,-0x6a,0xd8,_0x2daf80._0x1aac65)]['start'][_0x377081(0x4bf,0x50d,_0x2daf80._0x296338,_0x2daf80._0x221b9d)]+0x1);})[_0x3edc89(_0xdc0c25._0x5df4ee,_0xdc0c25._0x3e7e66,_0xdc0c25._0xcffb4b,0x5aa)]('\x0a');}function _0x678a(_0x5834f8,_0x55e981){_0x5834f8=_0x5834f8-0x19a;const _0x3ec814=_0x3ec8();let _0x678a25=_0x3ec814[_0x5834f8];if(_0x678a['VcliVf']===undefined){var _0x3bba2c=function(_0x5971ca){const _0x4261c8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2eee78='',_0xe573a8='';for(let _0x1bc8ac=0x0,_0x546c96,_0xc6783e,_0x70b777=0x0;_0xc6783e=_0x5971ca['charAt'](_0x70b777++);~_0xc6783e&&(_0x546c96=_0x1bc8ac%0x4?_0x546c96*0x40+_0xc6783e:_0xc6783e,_0x1bc8ac++%0x4)?_0x2eee78+=String['fromCharCode'](0xff&_0x546c96>>(-0x2*_0x1bc8ac&0x6)):0x0){_0xc6783e=_0x4261c8['indexOf'](_0xc6783e);}for(let _0x466031=0x0,_0x2c18c4=_0x2eee78['length'];_0x466031<_0x2c18c4;_0x466031++){_0xe573a8+='%'+('00'+_0x2eee78['charCodeAt'](_0x466031)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe573a8);};_0x678a['UTdtzt']=_0x3bba2c,_0x678a['PDuQrs']={},_0x678a['VcliVf']=!![];}const _0x572674=_0x3ec814[0x0],_0x10768d=_0x5834f8+_0x572674,_0x3246f1=_0x678a['PDuQrs'][_0x10768d];return!_0x3246f1?(_0x678a25=_0x678a['UTdtzt'](_0x678a25),_0x678a['PDuQrs'][_0x10768d]=_0x678a25):_0x678a25=_0x3246f1,_0x678a25;}function formatDiagnostics(_0x3c97ff){const _0x4d689d={_0x24e10e:0x303,_0x4b6b90:0x2b2,_0x5b7fd9:0x35c,_0x1b3e9f:0x35f,_0x3d377e:0x320,_0x202844:0x380},_0x4769ce={_0x1c296e:0x717,_0x3cd1ea:0x467,_0x3891af:0x373,_0x55321b:0x58c,_0x2ae21a:0x4d6,_0x3ff728:0x4f4,_0x4ee07d:0x424,_0x797472:0x915,_0x4d1171:0x860,_0x1c35f0:0xa09,_0x333aec:0xa25,_0x22ed7b:0x881},_0x18c66d={_0x167a50:0x491,_0x7abb85:0x1b0,_0x465d99:0x119},_0x448f59={_0x577515:0x155};if(_0x3c97ff[_0x193000(0x2e9,0x196,0x2fc,0x4fa)]===0x0)return _0x193000(0x234,0x2e2,0x1e4,_0x4d689d._0x24e10e);function _0x178288(_0x289eda,_0x5ab9f8,_0x10b883,_0x211f5b){return _0x47b891(_0x5ab9f8,_0x211f5b- -0x2c3,_0x10b883-0x35,_0x211f5b-0x76);}function _0x193000(_0x386704,_0x16c023,_0x5e9fa7,_0x2aacfd){return _0x47b891(_0x5e9fa7,_0x386704- -0x34f,_0x5e9fa7-0xea,_0x2aacfd-_0x448f59._0x577515);}return _0x3c97ff[_0x193000(_0x4d689d._0x4b6b90,_0x4d689d._0x5b7fd9,0x405,0xf1)](_0x5e9135=>{const _0x4bd7c5={_0x24cf3b:0x38};function _0x5cc0ce(_0x418828,_0x4ccd08,_0x24be36,_0x91afe4){return _0x178288(_0x418828-0x7,_0x418828,_0x24be36-_0x4bd7c5._0x24cf3b,_0x4ccd08-0x45e);}const _0x1fcf5d=_0x5e9135[_0x5cc0ce(_0x4769ce._0x1c296e,0x516,_0x4769ce._0x3cd1ea,_0x4769ce._0x3891af)][_0x5cc0ce(0x485,0x55e,_0x4769ce._0x55321b,0x5eb)];function _0x4fdc6d(_0x2a48f5,_0x466c7a,_0x30abc3,_0x535c14){return _0x193000(_0x30abc3-_0x18c66d._0x167a50,_0x466c7a-_0x18c66d._0x7abb85,_0x535c14,_0x535c14-_0x18c66d._0x465d99);}return severityName(_0x5e9135[_0x4fdc6d(_0x4769ce._0x2ae21a,_0x4769ce._0x3ff728,0x50f,_0x4769ce._0x4ee07d)])+'\x20['+(_0x1fcf5d['line']+0x1)+':'+(_0x1fcf5d[_0x5cc0ce(0x779,_0x4769ce._0x797472,_0x4769ce._0x4d1171,_0x4769ce._0x1c35f0)]+0x1)+']\x20'+_0x5e9135[_0x5cc0ce(_0x4769ce._0x333aec,_0x4769ce._0x22ed7b,0x6a6,0x860)];})[_0x178288(_0x4d689d._0x1b3e9f,_0x4d689d._0x3d377e,_0x4d689d._0x202844,0x2b0)]('\x0a');}function formatIncomingCalls(_0x476b19){const _0x403af5={_0x3b82c7:0x4bc,_0x586821:0x307,_0x241136:0x4fb,_0x3a13af:0x331},_0x4ef0b8={_0x259b1e:0xa9,_0x4f1172:0x116},_0x3c70e9={_0x343048:0x260,_0x23f464:0x7d,_0x1f58b3:0x2f};function _0x47887a(_0x162c9c,_0x2588af,_0x2833e4,_0x55ca8f){return _0x47b891(_0x2588af,_0x2833e4- -_0x3c70e9._0x343048,_0x2833e4-_0x3c70e9._0x23f464,_0x55ca8f-_0x3c70e9._0x1f58b3);}function _0x2674d7(_0x4b4d8b,_0x72ebc7,_0x362ad6,_0x5403d5){return _0x47b891(_0x5403d5,_0x362ad6- -0x331,_0x362ad6-_0x4ef0b8._0x259b1e,_0x5403d5-_0x4ef0b8._0x4f1172);}if(_0x476b19[_0x2674d7(0x4ef,_0x403af5._0x3b82c7,_0x403af5._0x586821,_0x403af5._0x241136)]===0x0)return _0x2674d7(_0x403af5._0x3a13af,0x42c,0x450,0x62d);return _0x476b19['map'](_0x5ad3d2=>_0x5ad3d2[_0x2674d7(0x290,0xea,0xa9,-0xc3)]['name'])['join']('\x0a');}function formatOutgoingCalls(_0x25e220){const _0x125dbb={_0x56a335:0x245,_0x2774b5:0x28f,_0x3eb113:0xc0,_0x2704aa:0x85d},_0x51f6dc={_0x18d3a7:0xd2};function _0x5ddc03(_0x388f34,_0x4e6c6d,_0x5f4121,_0x336e95){return _0x47b891(_0x336e95,_0x5f4121- -0x578,_0x5f4121-0x4c,_0x336e95-0x2a);}if(_0x25e220[_0x5ddc03(_0x125dbb._0x56a335,_0x125dbb._0x2774b5,_0x125dbb._0x3eb113,0x2b0)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0xecdb50(_0x2e9171,_0x16e3e0,_0x372a43,_0x147e19){return _0x47b891(_0x16e3e0,_0x2e9171-0x189,_0x372a43-_0x51f6dc._0x18d3a7,_0x147e19-0x4a);}return _0x25e220[_0xecdb50(0x78a,0x905,0x930,_0x125dbb._0x2704aa)](_0x1e117b=>_0x1e117b['to'][_0x5ddc03(0x1d,-0x20c,-0x191,-0x397)])['join']('\x0a');}function toStructured(_0x4ae853){const _0x3e6f1c={_0x1a91d5:0x8eb,_0x22afc9:0x705,_0x45f80a:0x5fc};function _0x40d60b(_0x3a97c8,_0x1fbc9f,_0x4943da,_0x50076f){return _0x47b891(_0x1fbc9f,_0x4943da-0x158,_0x4943da-0x1a4,_0x50076f-0x1f);}return JSON['parse'](JSON[_0x40d60b(0x5bb,_0x3e6f1c._0x1a91d5,_0x3e6f1c._0x22afc9,_0x3e6f1c._0x45f80a)](_0x4ae853));}function _0xe18bb0(_0x4ba2f8,_0x51dd54,_0x52024f,_0x49fea9){const _0x39562e={_0x133ae6:0x2b0};return _0x678a(_0x51dd54- -_0x39562e._0x133ae6,_0x4ba2f8);}async function assertFile(_0x4e5da9){const _0x4e9df1=await _0xe80f96(_0x4e5da9);if(!_0x4e9df1['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x4e5da9,{'path':_0x4e5da9});}function validatePosition(_0x29ecbc,_0x12e691){const _0x48b8fb={_0x3eca66:0x3c7,_0x4d01d5:0x4fc,_0x3f68bc:0x710,_0x9e8823:0x878},_0x40135f={_0xb0040:0x17e},_0x56198e={_0x308344:0xef};function _0x526522(_0x3f82c7,_0x19c002,_0x4a250a,_0x5e6992){return _0x47b891(_0x19c002,_0x4a250a-_0x56198e._0x308344,_0x4a250a-0x117,_0x5e6992-0xa0);}if(!Number['isInteger'](_0x29ecbc)||_0x29ecbc<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x29ecbc});function _0x28625d(_0x5b9fe8,_0x3dff79,_0x40d9cc,_0x4dc4bd){return _0x47b891(_0x40d9cc,_0x5b9fe8- -0x93,_0x40d9cc-0x176,_0x4dc4bd-_0x40135f._0xb0040);}if(!Number[_0x526522(_0x48b8fb._0x3eca66,0x3ce,_0x48b8fb._0x4d01d5,0x61b)](_0x12e691)||_0x12e691<0x1)throw new ToolExecutionError(_0x28625d(0x6a6,_0x48b8fb._0x3f68bc,0x86f,_0x48b8fb._0x9e8823),{'character':_0x12e691});}function createLspTool(_0xee114b={}){const _0x536925={_0x3f453e:0x362,_0x31c25c:0x4ad,_0x917acb:0x0,_0x9067d2:0xe0,_0x45f05c:0xc2,_0x358538:0x20,_0x557511:0x1b4,_0x3dfe3a:0x442,_0x474ed5:0x256,_0x16e846:0x1a7,_0x46be09:0x3,_0x17d1d4:0x152,_0x4b89cc:0x1c7,_0xae58cd:0x1b0,_0x33ca64:0x5a,_0x22201f:0x16e,_0x457eea:0x275,_0x5f9d6e:0x480,_0x16c2ce:0x31d,_0x31fce6:0x1b5,_0x325c72:0x43f,_0x1c5713:0x422,_0x48b7c4:0x604,_0x31f217:0x386,_0xc5dd2:0x575,_0x3dc4f7:0x58d,_0x78df0c:0x4c7,_0x3419b7:0x421,_0x5607be:0x2b7,_0x32b9dd:0x293,_0xbd064a:0x52a,_0x478fc5:0x168,_0xf79af4:0x30,_0x81c385:0x6c2,_0x52b9a2:0x381,_0x4ad66d:0x145,_0x406d0b:0x41c,_0x92f3d:0x79d,_0x28a8c8:0x373,_0x3321f7:0x1b1},_0x27ebb2={_0x3edaf4:0x4db,_0x5c55d7:0x429,_0x33fd9e:0x3e8,_0x3346ec:0x14a,_0x3c1465:0x8d,_0x119c96:0x344,_0x1b8bf2:0x213,_0xc727ad:0x3d1,_0x20d9cf:0x2e3,_0x17abee:0x105,_0x4918a8:0x3e6,_0x1af3bf:0x577,_0x42a446:0x289,_0x1c6cf0:0x3c4,_0x2f94d7:0x433,_0x44f208:0x53e,_0x37858c:0x265,_0x3fe1b6:0x3f9,_0x24076f:0x306,_0x47d945:0x19c,_0x5e23ed:0x364,_0x5b8b98:0x26d,_0x2fd925:0x467,_0x3df978:0xe3,_0x107a0e:0x400,_0x5567c9:0x3a0,_0x170917:0x50e,_0x5267a1:0x3e6,_0x252b57:0x41f,_0x410df6:0x328,_0xa0cf09:0x1e0,_0x2d931d:0x3d2,_0x56683f:0x2b9,_0x3eeecc:0x2e7,_0x3331d5:0x390,_0x42f4d9:0x389,_0x3c6680:0x2a9,_0xf25afa:0x492,_0x534752:0x2eb,_0x41e1d9:0x1f4,_0x404bd5:0x519,_0x3cf156:0x418,_0x2e5644:0x4fa,_0x50d881:0x3c8,_0x4ec393:0x40b,_0x491393:0x411,_0x1d1af5:0xe5,_0x3f6557:0x165,_0x35340a:0x2a9,_0x57abb1:0x182,_0x3007c8:0x490,_0x26ec41:0x2f3,_0x24c7ba:0x159,_0x48f4b6:0x26a,_0x56d003:0x35d,_0x500647:0x200,_0x381720:0x257,_0x408ac6:0x146,_0x45b260:0x2a9,_0x2f00fd:0x1a3,_0x574dd8:0x193,_0x2330e7:0x20c,_0x561bd6:0x13,_0x436984:0x284,_0x4cc7c4:0x116,_0x5df8ee:0x43f,_0x2fe838:0x3d0,_0x1a6bf1:0x2a8},_0x3a2a86={_0x5c3178:0x2},_0x1f50a4={_0x5778b1:0x18c},_0x5e82f6={_0x41fed3:0x3c1,_0x3b5f17:0x173};function _0x60ae10(_0x5a7b88,_0x4a9a04,_0xe21a58,_0x50f62d){return _0xe18bb0(_0xe21a58,_0x5a7b88-_0x5e82f6._0x41fed3,_0xe21a58-_0x5e82f6._0x3b5f17,_0x50f62d-0x8e);}function _0x3d5a7a(_0x294b50,_0x42549e,_0x4824b0,_0x33732c){return _0x47b891(_0x33732c,_0x42549e- -0x407,_0x4824b0-0x1ce,_0x33732c-_0x1f50a4._0x5778b1);}const _0x156452=_0x212f25[_0x60ae10(_0x536925._0x3f453e,_0x536925._0x31c25c,0x2d2,0x363)](_0xee114b['defaultCwd']??process[_0x3d5a7a(-0xe9,_0x536925._0x917acb,_0x536925._0x9067d2,-_0x536925._0x45f05c)]()),_0x50245b=_0xee114b['allowedDirs']??[],_0x4c8754=_0xee114b[_0x3d5a7a(0x8b,-_0x536925._0x358538,-_0x536925._0x557511,0x12)]??_0x60ae10(_0x536925._0x3dfe3a,0x3e4,_0x536925._0x474ed5,0x520);return defineTool({'name':_0x4c8754,'permissionClass':'read','description':_0x3d5a7a(_0x536925._0x16e846,_0x536925._0x46be09,-0x185,_0x536925._0x17d1d4),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x3d5a7a(_0x536925._0x4b89cc,_0x536925._0xae58cd,-_0x536925._0x33ca64,_0x536925._0x22201f),'enum':['goToDefinition',_0x3d5a7a(0x145,0x2ef,_0x536925._0x457eea,_0x536925._0x5f9d6e),_0x3d5a7a(0x2a5,_0x536925._0x16c2ce,0x156,_0x536925._0x31fce6),_0x3d5a7a(_0x536925._0x325c72,0x2e4,0x4e3,0x140),_0x60ae10(_0x536925._0x1c5713,0x5a5,_0x536925._0x48b7c4,_0x536925._0x31f217),_0x60ae10(_0x536925._0xc5dd2,_0x536925._0x3dc4f7,_0x536925._0x78df0c,_0x536925._0x3419b7),'prepareCallHierarchy',_0x60ae10(0x398,_0x536925._0x5607be,0x1bb,_0x536925._0x32b9dd),_0x60ae10(_0x536925._0xbd064a,0x48b,0x45f,0x655),'diagnostics']},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':_0x3d5a7a(-_0x536925._0x478fc5,-_0x536925._0xf79af4,-0x1a5,0x19d)},'query':{'type':_0x60ae10(0x4e7,0x4eb,_0x536925._0x81c385,_0x536925._0x52b9a2)}},'required':[_0x3d5a7a(0x1ba,0x2c7,_0x536925._0x4ad66d,_0x536925._0x406d0b),_0x60ae10(0x59f,0x787,_0x536925._0x92f3d,0x562),'line',_0x3d5a7a(0x320,_0x536925._0x28a8c8,_0x536925._0x3321f7,0x2ee)]},async *'execute'(_0x9e8512,_0x20f089){const _0x3badd3=_0xee114b[_0x1b5b7c(0x275,_0x27ebb2._0x3edaf4,_0x27ebb2._0x5c55d7,_0x27ebb2._0x33fd9e)];if(!_0x3badd3)throw new ToolExecutionError(_0x1b5b7c(_0x27ebb2._0x3346ec,0x29a,0x85,_0x27ebb2._0x3c1465));if(!_0x3badd3[_0x590d52(_0x27ebb2._0x119c96,_0x27ebb2._0x1b8bf2,0x4ae,_0x27ebb2._0xc727ad)]())throw new ToolExecutionError(_0x1b5b7c(0x3c4,_0x27ebb2._0x20d9cf,_0x27ebb2._0x17abee,0x1f2));const _0x40816f=_0x9e8512[_0x590d52(0x565,0x580,0x28a,0x37c)];validatePosition(_0x9e8512['line'],_0x9e8512[_0x1b5b7c(0x454,0x4c6,0x525,_0x27ebb2._0x4918a8)]);if(_0x40816f==='workspaceSymbol'){if(!_0x9e8512[_0x590d52(0x30c,_0x27ebb2._0x1af3bf,_0x27ebb2._0x42a446,0x3a6)]?.[_0x590d52(0x2dc,_0x27ebb2._0x1c6cf0,0x356,_0x27ebb2._0x2f94d7)]())throw new ToolExecutionError(_0x590d52(0x201,_0x27ebb2._0x44f208,_0x27ebb2._0x37858c,_0x27ebb2._0x3fe1b6));const _0x590fbd=await awaitWithAbort2(_0x3badd3[_0x590d52(_0x27ebb2._0x24076f,0x272,_0x27ebb2._0x47d945,0x1a0)](_0x9e8512[_0x1b5b7c(0x3f4,0x50a,0x2e9,_0x27ebb2._0x5e23ed)]['trim']()),_0x20f089[_0x1b5b7c(_0x27ebb2._0x5b8b98,_0x27ebb2._0x2fd925,0x264,0x2a9)]);return yield createToolOutput(formatSymbols(_0x590fbd),{'operation':_0x40816f,'query':_0x9e8512['query'],'symbols':_0x590fbd}),void 0x0;}const _0x4219da=resolveAllowedPath(_0x156452,_0x50245b,_0x9e8512['filePath']);await assertFile(_0x4219da);function _0x1b5b7c(_0x48c99b,_0x2421d6,_0x2390dd,_0x121702){return _0x60ae10(_0x121702- -0x2c4,_0x2421d6-_0x3a2a86._0x5c3178,_0x48c99b,_0x121702-0x44);}function _0x590d52(_0x173b2b,_0x3e6a7e,_0x2e67fd,_0x3eec79){return _0x60ae10(_0x3eec79- -0x282,_0x3e6a7e-0xea,_0x2e67fd,_0x3eec79-0x29);}if(!await awaitWithAbort2(_0x3badd3['hasClients'](_0x4219da),_0x20f089[_0x590d52(_0x27ebb2._0x3df978,_0x27ebb2._0x107a0e,0x45f,0x2eb)]))throw new ToolExecutionError(_0x590d52(0x3b2,0x299,_0x27ebb2._0x5567c9,0x208)+_0x9e8512['filePath'],{'filePath':_0x9e8512['filePath']});await awaitWithAbort2(_0x3badd3[_0x1b5b7c(0x37c,_0x27ebb2._0x170917,0x52d,0x3d5)](_0x4219da,!![]),_0x20f089['signal']);const _0x152890={'file':_0x4219da,'line':_0x9e8512[_0x1b5b7c(0x1b7,0xaa,-0x143,0x75)]-0x1,'character':_0x9e8512[_0x1b5b7c(0x3bf,0x355,0x4c3,_0x27ebb2._0x5267a1)]-0x1};switch(_0x40816f){case _0x590d52(_0x27ebb2._0x252b57,_0x27ebb2._0x410df6,_0x27ebb2._0xa0cf09,_0x27ebb2._0x2d931d):{const _0x15ec79=await awaitWithAbort2(_0x3badd3[_0x1b5b7c(_0x27ebb2._0x56683f,0x34c,_0x27ebb2._0x3eeecc,_0x27ebb2._0x3331d5)](_0x152890),_0x20f089[_0x1b5b7c(0x389,0x3af,_0x27ebb2._0x42f4d9,_0x27ebb2._0x3c6680)]);return yield createToolOutput(formatHover(_0x15ec79),{'operation':_0x40816f,'filePath':_0x4219da,'hover':_0x15ec79}),void 0x0;}case'diagnostics':{const _0x2078c5=await awaitWithAbort2(_0x3badd3['diagnosticsForFile'](_0x4219da),_0x20f089[_0x590d52(_0x27ebb2._0xf25afa,0x3c6,0x277,_0x27ebb2._0x534752)]);return yield createToolOutput(formatDiagnostics(_0x2078c5),{'operation':_0x40816f,'filePath':_0x4219da,'diagnostics':_0x2078c5}),void 0x0;}case _0x590d52(0xfc,_0x27ebb2._0x41e1d9,0x211,0x207):{const _0x4496c5=await awaitWithAbort2(_0x3badd3[_0x590d52(_0x27ebb2._0x404bd5,_0x27ebb2._0x3cf156,_0x27ebb2._0x2e5644,_0x27ebb2._0x50d881)](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatLocations(_0x4496c5),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x4496c5}),void 0x0;}case'findReferences':{const _0x23a2c9=await awaitWithAbort2(_0x3badd3[_0x590d52(0x5f8,_0x27ebb2._0x4ec393,0x485,_0x27ebb2._0x491393)](_0x152890),_0x20f089[_0x1b5b7c(_0x27ebb2._0x1d1af5,_0x27ebb2._0x107a0e,_0x27ebb2._0x3f6557,_0x27ebb2._0x35340a)]);return yield createToolOutput(formatLocations(_0x23a2c9),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x23a2c9}),void 0x0;}case _0x590d52(0x450,_0x27ebb2._0x57abb1,_0x27ebb2._0x3007c8,_0x27ebb2._0x26ec41):{const _0x287764=await awaitWithAbort2(_0x3badd3[_0x1b5b7c(_0x27ebb2._0x24c7ba,0x4de,_0x27ebb2._0x48f4b6,_0x27ebb2._0x56d003)](_0x152890),_0x20f089[_0x1b5b7c(_0x27ebb2._0x500647,_0x27ebb2._0x381720,_0x27ebb2._0x408ac6,_0x27ebb2._0x45b260)]);return yield createToolOutput(formatLocations(_0x287764),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x287764}),void 0x0;}case'documentSymbol':{const _0x2f9f3d=await awaitWithAbort2(_0x3badd3['documentSymbol'](_0x4219da),_0x20f089['signal']);return yield createToolOutput(formatSymbols(_0x2f9f3d),{'operation':_0x40816f,'filePath':_0x4219da,'symbols':_0x2f9f3d}),void 0x0;}case _0x1b5b7c(_0x27ebb2._0x2f00fd,0xf9,_0x27ebb2._0x574dd8,0x154):{const _0x450b10=await awaitWithAbort2(_0x3badd3['prepareCallHierarchy'](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatSymbols(_0x450b10),{'operation':_0x40816f,'filePath':_0x4219da,'symbols':toStructured(_0x450b10)}),void 0x0;}case _0x590d52(_0x27ebb2._0x2330e7,-_0x27ebb2._0x561bd6,_0x27ebb2._0x436984,_0x27ebb2._0x4cc7c4):{const _0x167cbd=await awaitWithAbort2(_0x3badd3['incomingCalls'](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatIncomingCalls(_0x167cbd),{'operation':_0x40816f,'filePath':_0x4219da,'calls':toStructured(_0x167cbd)}),void 0x0;}case _0x1b5b7c(0x25e,0xd6,0xcf,0x266):{const _0xb705a1=await awaitWithAbort2(_0x3badd3[_0x590d52(0x97,_0x27ebb2._0x5df8ee,_0x27ebb2._0x2fe838,_0x27ebb2._0x1a6bf1)](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatOutgoingCalls(_0xb705a1),{'operation':_0x40816f,'filePath':_0x4219da,'calls':toStructured(_0xb705a1)}),void 0x0;}}}});}import*as _0x11826e from'path';function buildDescription(_0x3bd78d){const _0x523a3b={_0x70638d:0x9ea,_0x3c908f:0x82f,_0x1fc2bd:0x821,_0x48f5e0:0x304,_0x52d3d1:0x32a,_0x1bbcbe:0x11d,_0x305e7f:0x48a,_0x35b608:0x6f4,_0x5edfee:0x519,_0x7e9a0a:0x5ef,_0x38e1d1:0x970,_0x136bef:0x74e,_0x3e3429:0x7ea,_0x2aa8f3:0x5c9,_0x3bf9b2:0x75c},_0x4b672c={_0x42d1a6:0x102,_0x5d44a8:0x12},_0x357770={_0x20117b:0x1e9};function _0x6facc4(_0x18e7f8,_0x5dd5ea,_0x5e023f,_0x49519f){return _0x47b891(_0x5dd5ea,_0x49519f-_0x357770._0x20117b,_0x5e023f-0xbf,_0x49519f-0xfa);}if(_0x3bd78d[_0x6facc4(_0x523a3b._0x70638d,_0x523a3b._0x3c908f,0x9b6,_0x523a3b._0x1fc2bd)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';function _0x422d83(_0x31563c,_0x28c643,_0x574cfa,_0x2b9799){return _0xe18bb0(_0x31563c,_0x574cfa-0x228,_0x574cfa-_0x4b672c._0x42d1a6,_0x2b9799-_0x4b672c._0x5d44a8);}const _0x16c3f9=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x422d83(0x3dc,_0x523a3b._0x48f5e0,_0x523a3b._0x52d3d1,_0x523a3b._0x1bbcbe),_0x422d83(_0x523a3b._0x305e7f,_0x523a3b._0x35b608,_0x523a3b._0x5edfee,_0x523a3b._0x7e9a0a),'Available\x20skills\x20(skill_name:\x20description):',..._0x3bd78d[_0x6facc4(0x88c,_0x523a3b._0x38e1d1,_0x523a3b._0x136bef,_0x523a3b._0x3e3429)](_0x4d5912=>'-\x20'+_0x4d5912[_0x6facc4(0x5d8,0x656,0x5dc,0x5d0)]+':\x20'+_0x4d5912[_0x6facc4(0x769,0x603,0x3cd,0x578)])];return _0x16c3f9[_0x6facc4(_0x523a3b._0x2aa8f3,0x69d,0x6e7,_0x523a3b._0x3bf9b2)]('\x0a');}function createLoadSkillTool(_0x11d17d){const _0x29b2a1={_0x2116b4:0x33b,_0x4fd309:0x18b,_0x54dfce:0x203,_0x21ee96:0x15e,_0x24db35:0x111,_0x1b67ce:0x86,_0x3c409d:0xcd,_0x155648:0x37b,_0x458c70:0x42a,_0x484480:0x558,_0x2d2cde:0xf2,_0x564516:0x5c,_0x127759:0x223,_0x34a974:0x1b0},_0x3d731e={_0x33f140:0x7d8,_0x11ba83:0x4ff,_0x2c07ef:0x830,_0x1c6daf:0x69e,_0x4c88c9:0x3c6,_0x293a27:0x60a,_0x2e18c5:0x54b,_0x13a960:0xa7,_0x57cd21:0x168,_0x1bffa9:0x179,_0x3582ac:0xfc,_0x1901d1:0x8ae,_0x4ee7fb:0x24,_0x4a20bb:0x18c,_0x4b7f33:0x1b4,_0xb1e59d:0x1bf,_0x1d19c0:0x49,_0x5d672a:0x69,_0x4cb6f2:0x26f,_0x306b2d:0x220,_0x5965ee:0x390,_0x1f76ec:0x3be,_0xa9e3af:0x264,_0x489edb:0x5a2,_0x3ee2fa:0x824,_0x226aa2:0x779},_0x32219c={_0x3cc173:0xe1},_0x4a4c9d={_0x26001a:0x1d2,_0x4ccb07:0x1},_0x103883={_0x4f1a62:0x3bb,_0x69f8f7:0x83};function _0x42dfe2(_0x56ab89,_0x35ff6b,_0x2ad624,_0x39c83b){return _0x47b891(_0x39c83b,_0x35ff6b- -_0x103883._0x4f1a62,_0x2ad624-_0x103883._0x69f8f7,_0x39c83b-0x79);}const _0x579a4a=new Map(_0x11d17d[_0x233976(_0x29b2a1._0x2116b4,_0x29b2a1._0x4fd309,_0x29b2a1._0x54dfce,_0x29b2a1._0x21ee96)]['map'](_0x2fda88=>[_0x2fda88['name'],_0x2fda88])),_0x18de19=buildDescription(_0x11d17d[_0x42dfe2(-_0x29b2a1._0x24db35,_0x29b2a1._0x1b67ce,-0x4a,0x35)]);function _0x233976(_0x55f6bf,_0x261c9c,_0x1027c3,_0x2250c2){return _0xe18bb0(_0x2250c2,_0x261c9c-0x1db,_0x1027c3-0x10,_0x2250c2-0x3e);}return defineTool({'name':_0x42dfe2(0x114,_0x29b2a1._0x3c409d,-0xf9,-0x4d),'permissionClass':'read','description':_0x18de19,'inputSchema':{'type':_0x233976(_0x29b2a1._0x155648,_0x29b2a1._0x458c70,0x514,_0x29b2a1._0x484480),'properties':{'name':{'type':_0x233976(0x238,0x301,0x367,_0x29b2a1._0x2d2cde)}},'required':[_0x42dfe2(-_0x29b2a1._0x564516,0x2c,_0x29b2a1._0x127759,-_0x29b2a1._0x34a974)]},async *'execute'(_0x29678c){const _0x551e4a=_0x579a4a[_0x54dfc6(_0x3d731e._0x33f140,_0x3d731e._0x11ba83,_0x3d731e._0x2c07ef,_0x3d731e._0x1c6daf)](_0x29678c[_0x54dfc6(0x464,_0x3d731e._0x4c88c9,0x6b1,0x558)]);if(!_0x551e4a){const _0x5ac81b=Array[_0x54dfc6(0x5eb,0x465,_0x3d731e._0x293a27,_0x3d731e._0x2e18c5)](_0x579a4a['keys']())[_0x4e9d21(-_0x3d731e._0x13a960,_0x3d731e._0x57cd21,_0x3d731e._0x1bffa9,_0x3d731e._0x3582ac)](',\x20');throw new ToolExecutionError(_0x54dfc6(0x7da,_0x3d731e._0x1901d1,0x76d,0x845)+_0x29678c[_0x4e9d21(-0x112,-_0x3d731e._0x4ee7fb,-0x96,0x1)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x5ac81b,{'name':_0x29678c['name']});}function _0x54dfc6(_0x4e89de,_0x2b881c,_0x421573,_0x2aa38c){return _0x42dfe2(_0x4e89de-_0x4a4c9d._0x26001a,_0x2aa38c-0x52c,_0x421573-_0x4a4c9d._0x4ccb07,_0x2b881c);}const _0x3b9352=await _0x11d17d[_0x4e9d21(_0x3d731e._0x4a20bb,0x2a7,0x49c,0x1dc)](_0x551e4a),_0x48bfe0=_0x551e4a['source'][_0x4e9d21(-0x185,0x7f,0xf2,_0x3d731e._0x4b7f33)]??_0x11826e[_0x54dfc6(0x620,0x63c,0x4eb,0x5ac)](_0x551e4a['source'][_0x4e9d21(_0x3d731e._0xb1e59d,0x1fd,0x12c,0x18e)]);function _0x4e9d21(_0x225735,_0x5313f1,_0xcc458e,_0xc6b16e){return _0x42dfe2(_0x225735-_0x32219c._0x3cc173,_0x5313f1- -0x50,_0xcc458e-0x196,_0x225735);}const _0x167ef6=[_0x4e9d21(0x15a,-_0x3d731e._0x1d19c0,-0x4d,0x1c0)+_0x3b9352['name'],'',_0x3b9352['instructions'],'',_0x4e9d21(_0x3d731e._0x5d672a,-0x67,-0x171,-0x215),'Loaded\x20from:\x20'+_0x551e4a[_0x4e9d21(_0x3d731e._0x4cb6f2,0x297,0x119,0x3c7)][_0x4e9d21(_0x3d731e._0x306b2d,0x1fd,0x3da,0xb7)],_0x4e9d21(0x383,_0x3d731e._0x5965ee,_0x3d731e._0x1f76ec,_0x3d731e._0xa9e3af)+_0x48bfe0][_0x4e9d21(0x1c0,0x168,0x3e,0x1d9)]('\x0a');return yield createToolOutput(_0x167ef6,{'id':_0x3b9352['id'],'name':_0x3b9352[_0x54dfc6(0x40a,0x6a1,0x3a4,0x558)],'path':_0x551e4a['source'][_0x54dfc6(_0x3d731e._0x489edb,_0x3d731e._0x3ee2fa,0x8a0,_0x3d731e._0x226aa2)],'baseDirectory':_0x48bfe0}),void 0x0;}});}var TODO_STATUSES=new Set([_0xe18bb0(0x143,0x2e4,0x3cb,0x3d4),'in_progress',_0x47b891(0x482,0x482,0x65f,0x2a3)]),TODO_PRIORITIES=new Set([_0x47b891(0x2df,0x3ed,0x541,0x428),_0x47b891(0x5a2,0x420,0x270,0x551),_0x47b891(0x67b,0x5ee,0x4af,0x3f4)]);function isTodoStatus(_0x5c1d27){const _0x4eb689={_0x23a5db:0x584,_0x84b1c4:0x400,_0x2b9faa:0x524,_0x16c09b:0x10e,_0x4aaf88:0x20f},_0x24a9dd={_0x1d39d1:0x93},_0x4eb7ff={_0x59edee:0x5a,_0x1af1a3:0x1b1};function _0x5510fb(_0x317dff,_0x5608b5,_0x5a87da,_0x11380b){return _0xe18bb0(_0x5a87da,_0x317dff- -_0x4eb7ff._0x59edee,_0x5a87da-_0x4eb7ff._0x1af1a3,_0x11380b-0x8e);}function _0xf303b2(_0x366739,_0x336f5c,_0x1c3264,_0x1947cd){return _0x47b891(_0x336f5c,_0x1947cd- -_0x24a9dd._0x1d39d1,_0x1c3264-0xfb,_0x1947cd-0xa);}return typeof _0x5c1d27===_0xf303b2(0x562,_0x4eb689._0x23a5db,_0x4eb689._0x84b1c4,_0x4eb689._0x2b9faa)&&TODO_STATUSES[_0x5510fb(0x213,0x2c6,_0x4eb689._0x16c09b,_0x4eb689._0x4aaf88)](_0x5c1d27);}function isTodoPriority(_0x3313dd){const _0x5928df={_0x336999:0x6c0,_0x1cc7ae:0x703,_0x38573d:0x894},_0x11b118={_0x558e35:0x1c8},_0x4a3f93={_0x48dd52:0x16,_0x49fcf2:0x4a};function _0x5b58eb(_0x4be303,_0x3eca32,_0x615bc0,_0x1c7d23){return _0x47b891(_0x1c7d23,_0x615bc0-_0x4a3f93._0x48dd52,_0x615bc0-0x13e,_0x1c7d23-_0x4a3f93._0x49fcf2);}function _0x58871f(_0x172f55,_0x1d2919,_0x585fe9,_0x1007e1){return _0x47b891(_0x585fe9,_0x1007e1-0x196,_0x585fe9-0xe8,_0x1007e1-_0x11b118._0x558e35);}return typeof _0x3313dd===_0x5b58eb(0x627,0x495,0x5cd,_0x5928df._0x336999)&&TODO_PRIORITIES[_0x58871f(0x931,_0x5928df._0x1cc7ae,0x833,_0x5928df._0x38573d)](_0x3313dd);}var TodoStore=class{[_0x47b891(0x33e,0x522,0x454,0x703)]=new Map();[_0x47b891(0x550,0x3ff,0x547,0x2e8)](_0x2b4a8b){const _0x4c2511={_0x1ac3a4:0x67f,_0x335a42:0x59a},_0x1566e3={_0x2fe131:0x4fe,_0xc0fc04:0x1a4};function _0x3764f3(_0x3c7984,_0x31ceed,_0x5efec5,_0x183db4){return _0xe18bb0(_0x3c7984,_0x183db4-_0x1566e3._0x2fe131,_0x5efec5-0x12,_0x183db4-_0x1566e3._0xc0fc04);}return this['todosBySession'][_0x3764f3(_0x4c2511._0x1ac3a4,0x706,0x542,_0x4c2511._0x335a42)](_0x2b4a8b)??[];}[_0xe18bb0(0xc0,0x14e,0x23c,0x239)](_0x323887,_0x476742){const _0x27e56a={_0x594d54:0xce,_0x500d61:0x66,_0x5bab3a:0x8};function _0x465686(_0x314fd3,_0x277a0f,_0xdbf54,_0xa6dc42){return _0xe18bb0(_0xdbf54,_0xa6dc42-0x89,_0xdbf54-0x1cf,_0xa6dc42-0xf3);}this['todosBySession'][_0x465686(0x10,_0x27e56a._0x594d54,_0x27e56a._0x500d61,-_0x27e56a._0x5bab3a)](_0x323887,_0x476742);}[_0xe18bb0(0x29a,0x158,0x22d,-0x81)](_0x32a316){const _0x4270f3={_0x3717ec:0x2a6,_0x375d87:0xb5,_0x53365b:0xc8,_0x373c23:0x143,_0x12e4e6:0x1f7,_0x52f505:0x24e,_0x507e73:0x31d,_0x42dacf:0xc7,_0x394e62:0x260,_0x3ad8b1:0x86,_0x1992cb:0x2d,_0x48cef9:0x198,_0x2e1498:0xf4,_0x371bfb:0xe8,_0x58ef0a:0xa8,_0x1902b2:0xa5,_0x51b80a:0x272},_0x3a3180={_0x41c31b:0x4f5,_0x3dc83d:0xf7,_0x4adeea:0x1c3},_0x51160e={_0x2c7945:0xbd},_0x4cf374=this[_0x97045a(-_0x4270f3._0x3717ec,-0xf6,-_0x4270f3._0x375d87,-0x13b)](_0x32a316),_0x9ac2c1={'total':_0x4cf374[_0x97045a(-_0x4270f3._0x53365b,_0x4270f3._0x373c23,_0x4270f3._0x12e4e6,0x318)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x50c17e(_0x4750e8,_0x4e60b4,_0x13d71c,_0x179a00){return _0xe18bb0(_0x179a00,_0x4750e8- -0x96,_0x13d71c-0x1e,_0x179a00-_0x51160e._0x2c7945);}for(const _0x5704cd of _0x4cf374){if(_0x5704cd['status']===_0x50c17e(_0x4270f3._0x52f505,0x234,_0x4270f3._0x507e73,_0x4270f3._0x42dacf))_0x9ac2c1[_0x97045a(0x415,0x280,0xfc,0x3a6)]+=0x1;else{if(_0x5704cd[_0x50c17e(0x182,_0x4270f3._0x394e62,-_0x4270f3._0x3ad8b1,-_0x4270f3._0x1992cb)]===_0x50c17e(_0x4270f3._0x48cef9,-0x43,0x97,_0x4270f3._0x2e1498))_0x9ac2c1[_0x97045a(_0x4270f3._0x371bfb,-_0x4270f3._0x58ef0a,-0x130,0x29)]+=0x1;else _0x9ac2c1[_0x50c17e(-_0x4270f3._0x1902b2,0x5f,-_0x4270f3._0x51b80a,-0x88)]+=0x1;}}function _0x97045a(_0x9c2d1a,_0x2d4230,_0x34accd,_0x323261){return _0x47b891(_0x34accd,_0x2d4230- -_0x3a3180._0x41c31b,_0x34accd-_0x3a3180._0x3dc83d,_0x323261-_0x3a3180._0x4adeea);}return _0x9ac2c1;}};function validateTodos(_0x485b4e){const _0x418fd5={_0x149985:0x6c9,_0x4bc123:0x700,_0x212f6a:0x737,_0x29aeff:0x692,_0x2748cd:0x75c,_0x558c11:0x75a,_0x563f82:0x72c,_0x167063:0x924,_0x5cc42e:0x71f,_0x31049f:0x8a2,_0x8ae99:0x68b,_0x3d671c:0x7fc,_0x446c82:0x75a,_0x1939c6:0x6e9,_0x27aee1:0x603,_0x4bbf6a:0x8d7,_0xebe58a:0x8cc,_0x5e9292:0x48b,_0x314ae9:0x66a,_0x348335:0x54a,_0x5ac273:0x3cb,_0x1b757d:0x866,_0x3512fb:0x8df,_0x431c80:0x6d9,_0x284182:0x76e,_0x1e2b62:0x4e1,_0x424797:0x578,_0x39a917:0x734,_0x536b88:0x6ba,_0x3d63ac:0x5f3,_0x50b48f:0x827,_0x57de30:0x5dc,_0x48a52c:0x77b,_0x488fdf:0x888,_0x127600:0x8af,_0x326f90:0x73b,_0x9db86f:0x6b0,_0x3174b6:0x66e,_0x4983af:0x6ad,_0x3d6451:0x821,_0x402f7e:0x42d,_0x286119:0x358,_0x4e59fb:0x773,_0x58bee0:0x7fd,_0x3d4d75:0x721,_0xe26059:0x5c6},_0x29b7bb={_0x18b39b:0x122,_0x5de037:0x5e};if(!Array[_0x14b8f6(0x778,0x501,0x663,_0x418fd5._0x149985)](_0x485b4e[_0x12449e(_0x418fd5._0x4bc123,0x58d,_0x418fd5._0x212f6a,_0x418fd5._0x29aeff)])||_0x485b4e[_0x14b8f6(0x875,0x8f9,0x71f,0x894)][_0x14b8f6(0x8a0,_0x418fd5._0x2748cd,_0x418fd5._0x558c11,_0x418fd5._0x563f82)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':'invalid_todos'});for(let _0x587582=0x0;_0x587582<_0x485b4e[_0x14b8f6(0x5f7,_0x418fd5._0x167063,_0x418fd5._0x5cc42e,_0x418fd5._0x31049f)][_0x14b8f6(_0x418fd5._0x8ae99,_0x418fd5._0x3d671c,_0x418fd5._0x446c82,_0x418fd5._0x1939c6)];_0x587582+=0x1){const _0x644210=_0x485b4e[_0x14b8f6(_0x418fd5._0x27aee1,0x625,0x71f,_0x418fd5._0x4bbf6a)][_0x587582];if(!_0x644210||typeof _0x644210!==_0x14b8f6(0x930,_0x418fd5._0xebe58a,0x802,0x858))throw new ToolExecutionError(_0x12449e(0x4e1,0x598,_0x418fd5._0x5e9292,_0x418fd5._0x314ae9)+(_0x587582+0x1)+_0x12449e(_0x418fd5._0x348335,0x624,_0x418fd5._0x5ac273,0x5de),{'error':_0x14b8f6(_0x418fd5._0x1b757d,0x6f4,0x7b6,_0x418fd5._0x3512fb)});if(typeof _0x644210['id']!==_0x14b8f6(0x85d,0x635,_0x418fd5._0x431c80,_0x418fd5._0x284182)||_0x644210['id']['trim']()['length']===0x0)throw new ToolExecutionError(_0x12449e(_0x418fd5._0x1e2b62,0x2f0,_0x418fd5._0x424797,0x3a8)+(_0x587582+0x1)+':\x20id\x20required',{'error':_0x12449e(0x761,0x950,_0x418fd5._0x39a917,0x6df)});if(typeof _0x644210['content']!==_0x12449e(_0x418fd5._0x536b88,_0x418fd5._0x3d63ac,_0x418fd5._0x50b48f,0x8a5)||_0x644210[_0x12449e(0x691,_0x418fd5._0x57de30,_0x418fd5._0x48a52c,0x808)][_0x12449e(_0x418fd5._0x488fdf,_0x418fd5._0x127600,0x7de,0x73f)]()[_0x12449e(_0x418fd5._0x326f90,0x613,0x697,0x837)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x587582+0x1)+_0x12449e(0x7ce,_0x418fd5._0x9db86f,0x5c6,0x832),{'error':_0x14b8f6(_0x418fd5._0x3174b6,0x79c,0x594,0x581)});if(!isTodoStatus(_0x644210['status']))throw new ToolExecutionError('Todo\x20'+(_0x587582+0x1)+':\x20invalid\x20status',{'error':_0x12449e(0x72f,_0x418fd5._0x4983af,0x5bf,_0x418fd5._0x3d6451)});if(!isTodoPriority(_0x644210['priority']))throw new ToolExecutionError(_0x12449e(0x4e1,_0x418fd5._0x402f7e,0x647,_0x418fd5._0x286119)+(_0x587582+0x1)+_0x14b8f6(0x742,_0x418fd5._0x4e59fb,_0x418fd5._0x58bee0,0xa08),{'error':'invalid_todo_priority'});}const _0x2d871f=_0x485b4e['todos'][_0x14b8f6(0x7ef,0x524,0x723,_0x418fd5._0x3d4d75)](_0x14b5de=>_0x14b5de['id']);function _0x14b8f6(_0x3ab0c3,_0x177240,_0x48dd71,_0x3d60c6){return _0x47b891(_0x3d60c6,_0x48dd71-_0x29b7bb._0x18b39b,_0x48dd71-0xfa,_0x3d60c6-_0x29b7bb._0x5de037);}function _0x12449e(_0x265941,_0x10cf7a,_0x3ea61f,_0x3d23d6){return _0xe18bb0(_0x3ea61f,_0x265941-0x594,_0x3ea61f-0xa0,_0x3d23d6-0xa1);}if(new Set(_0x2d871f)['size']!==_0x2d871f[_0x12449e(_0x418fd5._0x326f90,_0x418fd5._0xe26059,0x944,0x6cd)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x12449e(0x530,0x3de,0x599,0x6f3)});}function createStatsProgress(_0x4c8e63){const _0x5a1f1c={_0x306f09:0x13d,_0x406327:0x35,_0x5dcb8c:0x13,_0x43edf3:0xde,_0x5dcdf1:0x1fc,_0x514c8c:0xdf},_0x20e1a4={_0x48b231:0x561},_0x4dd270={_0x1bda64:0x1d4,_0x352360:0x28};function _0x103596(_0x4e4080,_0x50897a,_0x76d0e6,_0x18d522){return _0x47b891(_0x50897a,_0x4e4080- -0x40b,_0x76d0e6-_0x4dd270._0x1bda64,_0x18d522-_0x4dd270._0x352360);}function _0x25a92a(_0x3f18e3,_0xd6d136,_0x265e29,_0xbf1ba3){return _0x47b891(_0x3f18e3,_0x265e29- -_0x20e1a4._0x48b231,_0x265e29-0x92,_0xbf1ba3-0xcf);}return _0x4c8e63[_0x25a92a(-0x2a,0xcc,0x158,_0x5a1f1c._0x306f09)]>0x0?Math[_0x103596(-0x77,-_0x5a1f1c._0x406327,-0x203,-_0x5a1f1c._0x5dcb8c)](_0x4c8e63[_0x25a92a(-_0x5a1f1c._0x43edf3,-_0x5a1f1c._0x5dcdf1,-_0x5a1f1c._0x514c8c,-0x4a)]/_0x4c8e63['total']*0x64)+'%':'0%';}function createReminderItems(_0x300c96){const _0x196d68={_0x386971:0x7c1,_0x4c11cc:0x855,_0xf5f07:0x827,_0x355e77:0x977},_0x26d95b={_0x4ec4fc:0x140,_0x1a1951:0x1a3};function _0x293859(_0x3c85af,_0x3a5223,_0x3db190,_0x3bbb24){return _0x47b891(_0x3c85af,_0x3db190- -0x3bc,_0x3db190-0x154,_0x3bbb24-0x1ad);}function _0x39488c(_0x5852fb,_0x346f0f,_0xd3a9af,_0x58c38b){return _0xe18bb0(_0x58c38b,_0x5852fb-0x651,_0xd3a9af-_0x26d95b._0x4ec4fc,_0x58c38b-_0x26d95b._0x1a1951);}return _0x300c96[_0x39488c(_0x196d68._0x386971,_0x196d68._0x4c11cc,_0x196d68._0xf5f07,_0x196d68._0x355e77)](_0xb78b9b=>({'content':_0xb78b9b[_0x39488c(0x74e,0x5da,0x7a5,0x749)],'status':_0xb78b9b[_0x39488c(0x869,0x8ac,0x7c7,0x9c4)],'id':_0xb78b9b['id']}));}function createStructuredResult(_0x3f46c2,_0x2056ee,_0x1b14c0,_0x4f1795){const _0x58aca2={_0x2ccc76:0x977,_0x343738:0x979,_0x495650:0x4c6,_0x387690:0x510},_0x32e167={_0x51dc98:0x648,_0x354118:0x5c,_0x3a3f5d:0x1a5},_0x18e460={_0x2d6eca:0x31f,_0x28146e:0x15e,_0x548c7c:0x3f};function _0x594120(_0x4e3692,_0x3004cd,_0x5f1164,_0x51ee2e){return _0xe18bb0(_0x51ee2e,_0x4e3692-_0x18e460._0x2d6eca,_0x5f1164-_0x18e460._0x28146e,_0x51ee2e-_0x18e460._0x548c7c);}function _0x5dfd71(_0x197bcc,_0x4e3b25,_0x362d94,_0x24c0ad){return _0xe18bb0(_0x4e3b25,_0x197bcc-_0x32e167._0x51dc98,_0x362d94-_0x32e167._0x354118,_0x24c0ad-_0x32e167._0x3a3f5d);}return{'allCompleted':_0x4f1795,'items':_0x2056ee[_0x5dfd71(0x7b8,_0x58aca2._0x2ccc76,_0x58aca2._0x343738,0x7be)](_0x1d59e9=>({'id':_0x1d59e9['id'],'content':_0x1d59e9[_0x5dfd71(0x745,0x940,0x8c1,0x820)],'status':_0x1d59e9['status'],'priority':_0x1d59e9[_0x594120(0x34a,0x198,0x2d7,0x198)],'createdAt':_0x1d59e9['createdAt']})),'progress':createStatsProgress(_0x1b14c0),'recentChanges':!![],'sessionId':_0x3f46c2,'stats':_0x1b14c0,'todosWritten':_0x2056ee[_0x594120(_0x58aca2._0x495650,0x413,0x35e,_0x58aca2._0x387690)]};}function createOutputText(_0xc2e674,_0x44d063){const _0x46f1f3={_0x2fa7c6:0x743,_0x203c9e:0x5e5,_0x4aebac:0x63f,_0x4bd21e:0x22a,_0x31022f:0x9f,_0x5dbd8a:0x110,_0x2e245b:0x1cc,_0x1f5179:0x82,_0x4c6ff2:0x5c,_0xc075f0:0x6c,_0x19a280:0x8a,_0x3c2bf2:0x126,_0x527b7:0x82},_0x5ab6be={_0x5a21be:0xf1},_0x5dc028={_0x5670d7:0x1c3,_0x57593a:0x22};function _0x42bf42(_0x34aef6,_0x181cd7,_0x344686,_0x11c150){return _0x47b891(_0x11c150,_0x181cd7-0x12e,_0x344686-_0x5dc028._0x5670d7,_0x11c150-_0x5dc028._0x57593a);}const _0x403546=JSON['stringify'](createReminderItems(_0xc2e674));function _0x51f8fa(_0x322a72,_0x35d75e,_0x470133,_0x414132){return _0xe18bb0(_0x322a72,_0x414132-0x16c,_0x470133-_0x5ab6be._0x5a21be,_0x414132-0x3e);}if(_0x44d063)return _0x42bf42(0x479,0x567,_0x46f1f3._0x2fa7c6,_0x46f1f3._0x203c9e)+_0xc2e674[_0x42bf42(0x57e,0x766,0x5ef,_0x46f1f3._0x4aebac)]+_0x51f8fa(_0x46f1f3._0x4bd21e,0x1ae,0x18f,_0x46f1f3._0x31022f)+_0x403546+_0x51f8fa(-0x68,_0x46f1f3._0x5dbd8a,_0x46f1f3._0x2e245b,_0x46f1f3._0x1f5179);return _0x51f8fa(0x115,-_0x46f1f3._0x4c6ff2,_0x46f1f3._0x2e245b,_0x46f1f3._0xc075f0)+_0x403546+_0x51f8fa(-0x182,_0x46f1f3._0x19a280,_0x46f1f3._0x3c2bf2,_0x46f1f3._0x527b7);}function createTodoWriteTool(_0x4d56a5=new TodoStore()){const _0x57e8e2={_0x2d7ee6:0x305,_0x43825f:0x9,_0x2f758e:0x120,_0x3f574c:0x23c,_0x27bb1a:0x13f,_0x50df71:0x614,_0x738225:0x4a5,_0x377923:0x689,_0x3c5b78:0x571,_0x4cdf2b:0x118,_0x24d8cd:0x22d,_0x4557f4:0x693,_0x1dd295:0x2e,_0x5b2f8f:0x103,_0x11fe63:0x21c,_0x32ca56:0x11,_0x4536e5:0x2e,_0x22b86a:0x11a,_0x45341e:0x605,_0x1a82d2:0x6a0,_0x4fc11e:0x4f6,_0xb246dd:0x313,_0x3f9fe2:0x24,_0x513df1:0x1f1,_0x43086d:0x6f,_0x29e578:0xb8,_0x592bb9:0x357,_0x21da86:0x3a6},_0x46a8d5={_0x3cbf64:0xa6,_0x13b224:0x2ed,_0xafb72:0x21,_0x54ba94:0x165,_0x2b4eff:0x1e2,_0x330e62:0x342,_0x2d6ce3:0x6dd,_0x40262c:0x50a,_0x369438:0x3eb,_0x5e42b2:0x354,_0xf906a9:0x4f2,_0xe7d17c:0x6a1,_0x50a88f:0x627,_0x12cc93:0x4ef},_0x44c57b={_0x5d81aa:0x69,_0x20d0af:0x4d1,_0x325d7e:0x8b},_0x5b204c={_0x251b1e:0x1bc},_0x503f82={_0x2b66c2:0x3d0};function _0x1d13cc(_0x461bd8,_0x173f89,_0x38d4fe,_0x130342){return _0xe18bb0(_0x173f89,_0x38d4fe-_0x503f82._0x2b66c2,_0x38d4fe-0x106,_0x130342-0x68);}function _0x596c88(_0x5db42f,_0x2ff755,_0x3eec02,_0x1a243b){return _0x47b891(_0x1a243b,_0x2ff755- -0x5c8,_0x3eec02-0x62,_0x1a243b-_0x5b204c._0x251b1e);}return defineTool({'name':_0x596c88(_0x57e8e2._0x2d7ee6,0x149,0x8,_0x57e8e2._0x43825f),'permissionClass':_0x596c88(0x8e,_0x57e8e2._0x2f758e,_0x57e8e2._0x3f574c,_0x57e8e2._0x27bb1a),'description':_0x1d13cc(_0x57e8e2._0x50df71,_0x57e8e2._0x738225,_0x57e8e2._0x377923,_0x57e8e2._0x3c5b78),'inputSchema':{'type':_0x596c88(-0x7a,_0x57e8e2._0x4cdf2b,_0x57e8e2._0x24d8cd,-0x87),'properties':{'todos':{'type':_0x1d13cc(0x3cb,0x415,0x503,_0x57e8e2._0x4557f4),'items':{'type':_0x596c88(-_0x57e8e2._0x1dd295,0x118,_0x57e8e2._0x5b2f8f,_0x57e8e2._0x11fe63),'properties':{'content':{'type':_0x596c88(0xb9,-_0x57e8e2._0x32ca56,-_0x57e8e2._0x4536e5,_0x57e8e2._0x22b86a)},'status':{'type':_0x1d13cc(_0x57e8e2._0x45341e,0x636,0x4f6,_0x57e8e2._0x1a82d2)},'priority':{'type':_0x596c88(0x18e,-_0x57e8e2._0x32ca56,0x132,0x90)},'id':{'type':_0x1d13cc(0x4f7,0x5b1,_0x57e8e2._0x4fc11e,_0x57e8e2._0xb246dd)},'createdAt':{'type':'string'}},'required':['content',_0x596c88(_0x57e8e2._0x3f9fe2,0xe1,_0x57e8e2._0x513df1,_0x57e8e2._0x43086d),_0x596c88(-_0x57e8e2._0x29e578,-0x10c,0x102,0x1b),'id']}}},'required':[_0x1d13cc(0x451,_0x57e8e2._0x592bb9,0x53c,_0x57e8e2._0x21da86)]},async *'execute'(_0x2cea67,_0x2ef7c5){const _0x1009bc={_0x1f82cd:0x35a};function _0x1a625e(_0x4e6856,_0x310557,_0x1c6b97,_0x141f82){return _0x1d13cc(_0x4e6856-0x1d6,_0x4e6856,_0x310557- -_0x1009bc._0x1f82cd,_0x141f82-0x84);}const _0x36ea96=_0x2cea67;validateTodos(_0x36ea96);function _0x37cc3b(_0x23faac,_0x519976,_0x2d7842,_0x3c077f){return _0x596c88(_0x23faac-_0x44c57b._0x5d81aa,_0x519976-_0x44c57b._0x20d0af,_0x2d7842-_0x44c57b._0x325d7e,_0x2d7842);}const _0x3d02f0=_0x2ef7c5['sessionId']||_0x1a625e(-0x55,_0x46a8d5._0x3cbf64,-0x45,0x288),_0x54f878=new Date()[_0x1a625e(_0x46a8d5._0x13b224,0x12b,0x169,_0x46a8d5._0xafb72)](),_0x10dafc=_0x36ea96[_0x1a625e(_0x46a8d5._0x54ba94,_0x46a8d5._0x2b4eff,_0x46a8d5._0x330e62,0x213)][_0x37cc3b(_0x46a8d5._0x2d6ce3,_0x46a8d5._0x40262c,0x332,0x3b2)](_0x2e69c4=>({'id':_0x2e69c4['id'],'content':_0x2e69c4[_0x1a625e(0x10a,0x173,0x230,0x1c5)],'status':_0x2e69c4[_0x37cc3b(0x498,0x5b2,0x4c4,0x4d5)],'priority':_0x2e69c4['priority'],'sessionId':_0x3d02f0,'createdAt':_0x2e69c4[_0x37cc3b(0x4d9,0x49a,0x2f5,0x525)]||_0x54f878,'updatedAt':_0x54f878}));_0x4d56a5[_0x37cc3b(_0x46a8d5._0x369438,0x4e8,0x5bf,0x40e)](_0x3d02f0,_0x10dafc);const _0x1e0486=_0x4d56a5[_0x37cc3b(_0x46a8d5._0x5e42b2,_0x46a8d5._0xf906a9,_0x46a8d5._0xe7d17c,_0x46a8d5._0x50a88f)](_0x3d02f0),_0x3f5e0e=_0x10dafc['length']>0x0&&_0x10dafc[_0x37cc3b(_0x46a8d5._0x12cc93,0x688,0x75d,0x7ef)](_0x4e2fd3=>_0x4e2fd3[_0x1a625e(0x2da,0x28e,0x236,0x3ac)]===_0x1a625e(-0xb9,0x67,0x216,0x222));return createToolOutput(createOutputText(_0x10dafc,_0x3f5e0e),createStructuredResult(_0x3d02f0,_0x10dafc,_0x1e0486,_0x3f5e0e));}});}function createUpdateTopicTool(){const _0x5ae626={_0x507590:0x148,_0x1cf8ad:0x16d,_0x4aa2c6:0xbf,_0x3f4808:0xce,_0xf9f870:0xa6,_0x1d3947:0xc2,_0x808be3:0x52f,_0x26f735:0x2c8,_0x225c22:0x1cc,_0x2561ec:0x41c,_0x2682b1:0xa8},_0x93eafb={_0x435c3c:0x27b,_0x51ce32:0x3f1,_0x31e8df:0x3be,_0x1d54ef:0x56d,_0x8c853e:0x501,_0x9c3750:0x450,_0x349de1:0x208,_0x2f42d4:0x3bc,_0x1ecb09:0x29f,_0x4aab01:0x3b9,_0x5ccbf9:0x216,_0x9bc15c:0xce,_0x10f4a2:0x27,_0x32f4b8:0x22f,_0x5752da:0x39c,_0x477d23:0x432},_0xfaa4ac={_0x35a205:0x38,_0x3e8f3c:0x99},_0xe7e136={_0x44a371:0x1ad,_0x1a2b46:0x18d,_0xd91714:0x22},_0x12956e={_0x36644a:0x66},_0x4632ab={_0x2e56cc:0x559,_0x52b9fc:0x95};function _0x3db89d(_0x13aa23,_0x305c6d,_0xeda3e8,_0x5d36da){return _0x47b891(_0x305c6d,_0xeda3e8- -_0x4632ab._0x2e56cc,_0xeda3e8-0x135,_0x5d36da-_0x4632ab._0x52b9fc);}function _0x58570d(_0x2610f3,_0x22a71b,_0x51e6f4,_0x488948){return _0x47b891(_0x488948,_0x22a71b- -0x24c,_0x51e6f4-_0x12956e._0x36644a,_0x488948-0x1a4);}return defineTool({'name':_0x3db89d(-0x1ee,-_0x5ae626._0x507590,-_0x5ae626._0x1cf8ad,-_0x5ae626._0x4aa2c6),'permissionClass':_0x3db89d(0x33f,_0x5ae626._0x3f4808,0x18f,0x187),'description':_0x3db89d(0x2ea,-_0x5ae626._0xf9f870,0x102,-_0x5ae626._0x1d3947),'inputSchema':{'type':_0x58570d(_0x5ae626._0x808be3,0x494,0x5df,_0x5ae626._0x26f735),'properties':{'topic':{'type':_0x58570d(_0x5ae626._0x225c22,0x36b,0x29b,_0x5ae626._0x2561ec)}},'required':[_0x3db89d(_0x5ae626._0x2682b1,-0x17b,0x8d,-0xf8)]},async *'execute'(_0x2a6b48,_0x1273c5){const {topic:_0x39e6be}=_0x2a6b48;if(typeof _0x39e6be!==_0x47db74(_0x93eafb._0x435c3c,_0x93eafb._0x51ce32,_0x93eafb._0x31e8df,0x333)||_0x39e6be[_0x47db74(0x4b7,0x68a,_0x93eafb._0x1d54ef,_0x93eafb._0x8c853e)]()[_0x47db74(_0x93eafb._0x9c3750,0x273,_0x93eafb._0x349de1,0x3b4)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x47db74(_0x93eafb._0x2f42d4,_0x93eafb._0x1ecb09,0x21a,0x2d8)});const _0x338ec6=_0x39e6be[_0x264163(_0x93eafb._0x4aab01,0x3ef,0x42b,_0x93eafb._0x5ccbf9)]();function _0x264163(_0x2206f9,_0x1d3015,_0x377fc5,_0x2acb3e){return _0x3db89d(_0x2206f9-_0xe7e136._0x44a371,_0x377fc5,_0x2206f9-_0xe7e136._0x1a2b46,_0x2acb3e-_0xe7e136._0xd91714);}function _0x47db74(_0x41b5e0,_0x54d7ba,_0xa9e49b,_0x1f1db4){return _0x58570d(_0x41b5e0-0x100,_0x1f1db4- -_0xfaa4ac._0x35a205,_0xa9e49b-_0xfaa4ac._0x3e8f3c,_0xa9e49b);}return _0x1273c5[_0x264163(_0x93eafb._0x9bc15c,_0x93eafb._0x10f4a2,0x199,_0x93eafb._0x32f4b8)]?.(_0x338ec6),yield createToolOutput(_0x47db74(_0x93eafb._0x5752da,_0x93eafb._0x477d23,0x44d,0x345)+_0x338ec6+'\x22',{'topic':_0x338ec6}),void 0x0;}});}import{randomUUID as _0x3cf3f9}from'crypto';import{StringDecoder}from'string_decoder';function _0x47b891(_0x42f8bb,_0x483cfe,_0x26a447,_0x2566e4){const _0x4f93b2={_0x28e5dd:0x1e1};return _0x678a(_0x483cfe-_0x4f93b2._0x28e5dd,_0x42f8bb);}import{spawn as _0x1dfa11}from'child_process';function errorMessage(_0x3df21c){return _0x3df21c instanceof Error?_0x3df21c['message']:String(_0x3df21c);}function isNotFound(_0x14a850){const _0x4de2a1={_0x54881b:0x64c,_0x32ab8b:0x744,_0x2828cd:0x5d8,_0x4437d:0x672,_0x51a6be:0x40f,_0x52c7f2:0x485,_0x3aebaf:0x71b,_0x2b1368:0x798,_0x531b31:0x831},_0x238f51={_0x39e2ce:0x16e},_0x29b1f7={_0x36ba27:0x36,_0x53e74a:0x4};function _0x13efc2(_0x58fcf4,_0x2b6582,_0x340b74,_0x13d9b1){return _0xe18bb0(_0x340b74,_0x58fcf4-0x544,_0x340b74-_0x29b1f7._0x36ba27,_0x13d9b1-_0x29b1f7._0x53e74a);}function _0x4c8b7e(_0x21b6f0,_0x1ce94a,_0x45403c,_0x54c210){return _0xe18bb0(_0x54c210,_0x1ce94a-0x4f5,_0x45403c-0x1ba,_0x54c210-_0x238f51._0x39e2ce);}return typeof _0x14a850===_0x4c8b7e(_0x4de2a1._0x54881b,_0x4de2a1._0x32ab8b,0x925,0x64e)&&_0x14a850!==null&&_0x13efc2(_0x4de2a1._0x2828cd,_0x4de2a1._0x4437d,0x605,0x59c)in _0x14a850&&_0x14a850[_0x13efc2(0x5d8,_0x4de2a1._0x51a6be,0x402,_0x4de2a1._0x52c7f2)]===_0x13efc2(_0x4de2a1._0x3aebaf,0x649,_0x4de2a1._0x2b1368,_0x4de2a1._0x531b31);}function isSafeProcessId(_0x49d337){const _0x1dece5={_0x236cf1:0x4cd,_0x1c0ec4:0x42d,_0x168118:0x486},_0x5b25fe={_0x408845:0x82};function _0x3ab166(_0x20a099,_0x28b371,_0x4bab6e,_0x5de5e7){return _0x47b891(_0x28b371,_0x5de5e7-_0x5b25fe._0x408845,_0x4bab6e-0x133,_0x5de5e7-0x9e);}return _0x49d337!==void 0x0&&Number[_0x3ab166(_0x1dece5._0x236cf1,0x660,_0x1dece5._0x1c0ec4,_0x1dece5._0x168118)](_0x49d337)&&_0x49d337>0x1;}function createProcessTreeSignalAdapter(_0x30b72f={}){const _0x494d36={_0x418ce6:0x767,_0xd7b5e3:0x63f,_0x48ac48:0x7e8,_0x45f819:0x774,_0x1cb8f9:0x34,_0x37c259:0x5e5,_0x256340:0x4df},_0x132037={_0x22d3c1:0xfc,_0x4fe923:0xff,_0x260bde:0x3dd,_0x4f0880:0x2c0,_0x2cfe58:0x56b,_0x2f74a1:0x442,_0x2691ec:0x111,_0x55b9f4:0x24,_0x455ccb:0x57,_0x287fa3:0x45d,_0x2dcdfe:0x598,_0x7fcb39:0x4e7,_0x48e6b4:0x5a5,_0x32e95e:0x3dd,_0x322fc0:0x377,_0x5adf1c:0x564,_0x24c2b1:0x368,_0x2d8d34:0x54e,_0x423faa:0x4bd,_0x42680c:0x3dd,_0x59f735:0x591},_0x100f8e={_0x5d3cbc:0x432},_0x51aee2={_0x1afe1c:0xcc},_0x35a0a0={_0x31472a:0x1a1};function _0x76cff(_0x2ee20a,_0xb2e1cd,_0x334c9d,_0x105923){return _0xe18bb0(_0xb2e1cd,_0x2ee20a-0x3a7,_0x334c9d-0x103,_0x105923-_0x35a0a0._0x31472a);}const _0x4103f5=_0x30b72f[_0x76cff(0x63f,0x50b,_0x494d36._0x418ce6,0x82b)]??process[_0x76cff(_0x494d36._0xd7b5e3,_0x494d36._0x48ac48,_0x494d36._0x45f819,0x4f1)],_0x2bb4af=_0x30b72f[_0x56fd68(0x109,-0x1,0x188,-_0x494d36._0x1cb8f9)]??process['kill']['bind'](process);function _0x56fd68(_0x48181b,_0x262a83,_0x2639db,_0x420a03){return _0xe18bb0(_0x2639db,_0x262a83- -0x25,_0x2639db-_0x51aee2._0x1afe1c,_0x420a03-0x6f);}const _0x491ecd=_0x30b72f[_0x76cff(0x46b,_0x494d36._0x37c259,_0x494d36._0x256340,0x65a)]??_0x1dfa11;return{async 'signal'(_0x420695,_0x51bf62){const _0x353557={_0x242c13:0x52d,_0x522c31:0x34d,_0x256c6d:0x561,_0x58df6f:0x526,_0x23ab17:0x596,_0x5166c5:0x487,_0x320351:0x43f,_0x57ed30:0x3d2,_0x264d83:0x5db,_0x4b2c9b:0x69f,_0x52ad8e:0x951,_0x5de244:0x8ec,_0x117cfd:0x7bd},_0x4486e8={_0x55c8c3:0x155,_0x419e63:0x38f},_0x2e71df={_0x5ade01:0x1b,_0x4ae144:0x271},_0x4afd51={_0xcda228:0x30,_0x50c32c:0x1aa,_0x2e2ac5:0x90};if(_0x4103f5!=='win32'){if(!isSafeProcessId(_0x420695[_0x2954ba(-0x7c,_0x132037._0x22d3c1,-0xab,_0x132037._0x4fe923)]))return{'outcome':_0x2954ba(0x309,0x383,0x1ce,_0x132037._0x260bde),'error':_0x2944df(_0x132037._0x4f0880,0x5c7,_0x132037._0x2cfe58,_0x132037._0x2f74a1)};try{return _0x2bb4af(-_0x420695[_0x2954ba(_0x132037._0x2691ec,-_0x132037._0x55b9f4,_0x132037._0x455ccb,0xff)],_0x51bf62==='graceful'?'SIGTERM':_0x2944df(_0x132037._0x287fa3,_0x132037._0x2dcdfe,0x67a,_0x132037._0x7fcb39)),{'outcome':'delivered'};}catch(_0x14bcc0){return isNotFound(_0x14bcc0)?{'outcome':'not-found','error':errorMessage(_0x14bcc0)}:{'outcome':_0x2954ba(_0x132037._0x48e6b4,0x308,0x520,_0x132037._0x32e95e),'error':errorMessage(_0x14bcc0)};}}function _0x2954ba(_0xafb781,_0x2a5364,_0x271a6a,_0x385095){return _0x56fd68(_0xafb781-_0x4afd51._0xcda228,_0x385095-_0x4afd51._0x50c32c,_0x271a6a,_0x385095-_0x4afd51._0x2e2ac5);}function _0x2944df(_0x40dd82,_0x256436,_0x36a798,_0x931f06){return _0x56fd68(_0x40dd82-0x164,_0x931f06-_0x100f8e._0x5d3cbc,_0x40dd82,_0x931f06-0x66);}if(!isSafeProcessId(_0x420695[_0x2944df(_0x132037._0x322fc0,_0x132037._0x5adf1c,_0x132037._0x24c2b1,_0x132037._0x2d8d34)]))return{'outcome':_0x2954ba(0x38a,0x49e,_0x132037._0x423faa,_0x132037._0x42680c),'error':_0x2944df(0x425,0x4b1,0x481,_0x132037._0x59f735)};return new Promise(_0x32c43c=>{const _0x367480={_0x40edd4:0x1b5,_0x1cfefc:0x122,_0x38a63:0x2f2,_0x50e0f1:0x7f,_0x2776f:0xc8},_0x3e094f={_0x16417d:0x157},_0x29c1ba={_0x3b815d:0x5b7},_0x1f8fc5={_0x2c1453:0x2c2};let _0x265594=![];const _0x532770=_0x303e68=>{if(_0x265594)return;_0x265594=!![],_0x32c43c(_0x303e68);};function _0x392c24(_0x4b5e1b,_0x5c702f,_0x53d82a,_0x47a3a1){return _0x2954ba(_0x4b5e1b-0x187,_0x5c702f-_0x2e71df._0x5ade01,_0x5c702f,_0x53d82a-_0x2e71df._0x4ae144);}function _0x268d9e(_0x5d93de,_0x37ff85,_0xc77d2c,_0x45baf0){return _0x2954ba(_0x5d93de-0x193,_0x37ff85-_0x4486e8._0x55c8c3,_0x37ff85,_0xc77d2c-_0x4486e8._0x419e63);}let _0x31a1cf;try{const _0x232e85=[_0x268d9e(0x739,0x6e2,_0x353557._0x242c13,_0x353557._0x522c31),String(_0x420695[_0x268d9e(_0x353557._0x256c6d,0x6e2,0x655,0x558)]),'/T'];if(_0x51bf62===_0x268d9e(_0x353557._0x58df6f,0x551,0x5b9,_0x353557._0x23ab17))_0x232e85[_0x268d9e(0x44f,_0x353557._0x5166c5,_0x353557._0x320351,_0x353557._0x57ed30)]('/F');_0x31a1cf=_0x491ecd('taskkill',_0x232e85,{'stdio':'ignore','windowsHide':!![]});}catch(_0x3cb8bf){_0x532770({'outcome':'failed','error':errorMessage(_0x3cb8bf)});return;}_0x31a1cf[_0x392c24(0x5a7,_0x353557._0x264d83,_0x353557._0x4b2c9b,0x885)](_0x268d9e(0x280,0x481,0x43a,0x514),_0x4a0cde=>{const _0x4f1dc2={_0x493ac9:0x2dd};function _0x210206(_0x383574,_0x188ec7,_0x3661fb,_0x2743a1){return _0x392c24(_0x383574-0x1b2,_0x3661fb,_0x188ec7- -_0x4f1dc2._0x493ac9,_0x2743a1-0x6d);}_0x532770(isNotFound(_0x4a0cde)?{'outcome':_0x210206(0x2a0,0x34f,0x18d,_0x1f8fc5._0x2c1453),'error':errorMessage(_0x4a0cde)}:{'outcome':'failed','error':errorMessage(_0x4a0cde)});}),_0x31a1cf[_0x268d9e(_0x353557._0x52ad8e,_0x353557._0x5de244,_0x353557._0x117cfd,0x6f0)]('close',_0x3baa36=>{function _0x96cc58(_0xcda50d,_0x1f251f,_0x46ea26,_0x739e0b){return _0x268d9e(_0xcda50d-0x5c,_0x46ea26,_0x1f251f- -_0x29c1ba._0x3b815d,_0x739e0b-0xe4);}function _0x41de4c(_0x3a7e21,_0x1072af,_0x5c6c81,_0x53cc5b){return _0x392c24(_0x3a7e21-0x22,_0x53cc5b,_0x5c6c81- -0x31f,_0x53cc5b-_0x3e094f._0x16417d);}_0x532770(_0x3baa36===0x0?{'outcome':'delivered'}:{'outcome':_0x96cc58(0xa4,_0x367480._0x40edd4,_0x367480._0x1cfefc,_0x367480._0x38a63),'error':_0x96cc58(0x93,0x1e1,_0x367480._0x50e0f1,_0x367480._0x2776f)+String(_0x3baa36)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x1b30d7){const _0x1194ca={_0x526f99:0x6af,_0x62cf2b:0x3e3},_0xfb7750={_0x691232:0x115};function _0x1e3bb4(_0x34d87b,_0x1f175c,_0x5ada57,_0x147f1d){return _0x47b891(_0x147f1d,_0x5ada57- -0xd0,_0x5ada57-0xf,_0x147f1d-_0xfb7750._0x691232);}const _0x2a07b5=_0x1b30d7[_0x1e3bb4(0x3e0,_0x1194ca._0x526f99,0x54f,_0x1194ca._0x62cf2b)](0x0)??0x0;return _0x2a07b5<0x20&&_0x1b30d7!=='\x09'||_0x2a07b5>=0x7f&&_0x2a07b5<=0x9f||_0x2a07b5===0xa0||_0x2a07b5>=0x200b&&_0x2a07b5<=0x200f||_0x2a07b5>=0x2060&&_0x2a07b5<=0x2069||_0x2a07b5===0x23ce||_0x2a07b5===0x2424;}function createTerminalOutputNormalizer(){const _0xa8a02c={_0x3c491a:0xc2},_0x1c2793={_0x479827:0x436},_0x282846={_0x22e5e7:0x3cc,_0x5c1c89:0x33c,_0x30ce37:0x34e,_0xa19c92:0x3ad,_0x11e5b8:0x2b0,_0x395368:0x366,_0x52412e:0x6d1,_0x38be3e:0x306,_0x40dcd2:0x506,_0x4cba06:0x3d6,_0x51fa70:0x6b4,_0xd69931:0x236,_0x24449b:0x443,_0x45a96a:0x30b,_0x35fb18:0x3c3,_0x2a893b:0x486,_0x201296:0x4b0,_0x48b9dc:0x551,_0x1b1b92:0x379,_0xb69289:0x44c,_0x1804f5:0x200,_0x4fc43f:0x53e,_0x23ca10:0x725,_0x345830:0x5f4,_0x3e71dd:0x236,_0x38c1f3:0x162,_0xc7417e:0x313,_0x1b1c23:0x233,_0x571f6f:0x4ed},_0x2c3d7f={_0x15c7e2:0xf8},_0x1c4441={_0x20c8fc:0xa,_0x4e473e:0x9a},_0x2abb64={_0x4fd233:0x10f,_0xbcf5bc:0x22},_0x1c1e3e={_0x953401:0x15,_0x588b46:0x436},_0x264f9b={_0x12187a:0x161};let _0xbfc80f=_0xb8898(-0xf4,0xeb,0xdf,_0xa8a02c._0x3c491a),_0x38255f=![],_0x20c451=![],_0x8b1bc1=[],_0x397d58=0x0,_0x53b880=![];function _0xb8898(_0x3d6aae,_0x500913,_0x2ff3ea,_0x44becc){return _0x47b891(_0x3d6aae,_0x44becc- -0x58f,_0x2ff3ea-_0x264f9b._0x12187a,_0x44becc-0x58);}const _0x3a5876=()=>{_0x8b1bc1=[],_0x397d58=0x0;},_0x7b3e30=_0x2282f7=>{_0x8b1bc1['push'](_0x2282f7);function _0x5f01ea(_0x576e80,_0x387c5b,_0x3a38e6,_0x5d8e68){return _0xb8898(_0x576e80,_0x387c5b-0xa3,_0x3a38e6-_0x1c1e3e._0x953401,_0x387c5b-_0x1c1e3e._0x588b46);}_0x397d58+=_0x2282f7[_0x5f01ea(0x329,0x4df,0x5ac,0x69e)];function _0x18d6f8(_0x4a1fba,_0xdca256,_0x119ec7,_0x3c703e){return _0xb8898(_0x119ec7,_0xdca256-_0x2abb64._0x4fd233,_0x119ec7-0x1e0,_0x4a1fba- -_0x2abb64._0xbcf5bc);}while(_0x397d58>MAX_PROGRESS_LINE_CHARS){const _0x15f7f0=_0x8b1bc1[_0x18d6f8(-0x133,-0x123,_0x1c4441._0x20c8fc,_0x1c4441._0x4e473e)]();if(_0x15f7f0===void 0x0)break;_0x397d58-=_0x15f7f0['length'];}},_0x4b0f45=_0x247885=>{const _0x5c6cd7=_0x8b1bc1[_0x4daa0f(0x819,0x591,0x7fe,0x61c)]('')+(_0x247885?'\x0a':'');_0x3a5876();function _0x4daa0f(_0x273947,_0x299551,_0x4b407c,_0x45f831){return _0xb8898(_0x273947,_0x299551-_0x2c3d7f._0x15c7e2,_0x4b407c-0xff,_0x45f831-0x638);}return _0x5c6cd7;},_0x28e631=_0x509f78=>{const _0x77b6={_0x156b55:0x1f2,_0x6cb0b8:0x18d,_0x58900e:0x3f8},_0x10d0c8={_0x2b86b2:0xf9};if(_0x53b880)throw new Error(_0xf490b2(0x494,_0x282846._0x22e5e7,_0x282846._0x5c1c89,0x48a));let _0x24ad58='';function _0x33b06f(_0x4f1b28,_0x2ddce7,_0x1c763f,_0xbc5e9){return _0xb8898(_0x2ddce7,_0x2ddce7-0x16a,_0x1c763f-_0x10d0c8._0x2b86b2,_0x4f1b28-0x40b);}function _0xf490b2(_0xdcb8c2,_0x5c9d58,_0x4f000f,_0xfd5173){return _0xb8898(_0x5c9d58,_0x5c9d58-_0x77b6._0x156b55,_0x4f000f-_0x77b6._0x6cb0b8,_0x4f000f-_0x77b6._0x58900e);}for(const _0x4688eb of _0x509f78){if(_0xbfc80f===_0xf490b2(0x24f,0x52f,0x3fe,_0x282846._0x30ce37)){const _0x54b28e=_0x4688eb[_0xf490b2(0x5e1,0x309,0x488,_0x282846._0xa19c92)](0x0)??0x0;if(_0x54b28e>=0x40&&_0x54b28e<=0x7e)_0xbfc80f='text';continue;}if(_0xbfc80f===_0xf490b2(_0x282846._0x11e5b8,0x16c,_0x282846._0x395368,0x401)||_0xbfc80f===_0xf490b2(0x68f,_0x282846._0x52412e,0x513,0x5ea)){if(_0x38255f){_0x4688eb==='\x5c'?(_0xbfc80f='text',_0x38255f=![]):_0x38255f=_0x4688eb===ESC;continue;}if(_0x4688eb===ESC)_0x38255f=!![];else _0xbfc80f===_0xf490b2(_0x282846._0x38be3e,_0x282846._0x40dcd2,_0x282846._0x395368,0x4e6)&&_0x4688eb===BEL&&(_0xbfc80f=_0x33b06f(0x4cd,_0x282846._0x4cba06,0x6bb,_0x282846._0x51fa70));continue;}if(_0xbfc80f===_0x33b06f(_0x282846._0xd69931,_0x282846._0x24449b,_0x282846._0x45a96a,_0x282846._0x35fb18)){if(_0x4688eb==='[')_0xbfc80f=_0xf490b2(_0x282846._0x2a893b,_0x282846._0x201296,0x3fe,_0x282846._0x48b9dc);else{if(_0x4688eb===']')_0xbfc80f=_0x33b06f(_0x282846._0x1b1b92,_0x282846._0xb69289,0x20c,_0x282846._0x1804f5),_0x38255f=![];else _0x4688eb==='P'||_0x4688eb==='_'||_0x4688eb==='^'?(_0xbfc80f=_0x33b06f(0x526,_0x282846._0x4fc43f,_0x282846._0x23ca10,_0x282846._0x345830),_0x38255f=![]):_0xbfc80f='text';}continue;}if(_0x20c451){_0x20c451=![];if(_0x4688eb==='\x0a'){_0x24ad58+=_0x4b0f45(!![]);continue;}_0x3a5876();}if(_0x4688eb===ESC)_0xbfc80f=_0x33b06f(_0x282846._0x3e71dd,_0x282846._0x38c1f3,_0x282846._0xc7417e,_0x282846._0x1b1c23);else{if(_0x4688eb==='\x0d')_0x20c451=!![];else{if(_0x4688eb==='\x0a')_0x24ad58+=_0x4b0f45(!![]);else{if(_0x4688eb==='\x08'){const _0x4c2fe4=_0x8b1bc1['pop']();if(_0x4c2fe4!==void 0x0)_0x397d58-=_0x4c2fe4[_0xf490b2(0x4ed,0x6a4,0x4a1,_0x282846._0x571f6f)];}else!isDiscardedTextControl(_0x4688eb)&&_0x7b3e30(_0x4688eb);}}}}return _0x24ad58;};return{'write':_0x28e631,'end'(){const _0x25fea={_0x3ee0ff:0xee};if(_0x53b880)return'';_0x53b880=!![],_0x20c451=![];function _0x2366cc(_0x1a65cb,_0x1ceb85,_0x3fba29,_0xbf58b2){return _0xb8898(_0x1a65cb,_0x1ceb85-_0x25fea._0x3ee0ff,_0x3fba29-0x112,_0x3fba29-0x46f);}return _0xbfc80f=_0x2366cc(0x64e,_0x1c2793._0x479827,0x531,0x6dc),_0x38255f=![],_0x4b0f45(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0xf2004b){const _0x2d75af={_0x46f888:0x135,_0x168e45:0x22a,_0x40d0c4:0xa0d,_0x5e28e3:0x963,_0x1893a1:0x894,_0x4d4567:0x95b,_0x2b2e0b:0x3c5},_0x153a83={_0x2d7dad:0x112,_0x897a91:0x1d1},_0x6768ab={_0x22c717:0xc8};super(_0x199fbc(_0x2d75af._0x46f888,0xb9,_0x2d75af._0x168e45,0x1da));function _0x1a594b(_0x4a064b,_0x52448c,_0x4434f7,_0x58ec3d){return _0xe18bb0(_0x4a064b,_0x58ec3d-0x654,_0x4434f7-0x128,_0x58ec3d-_0x6768ab._0x22c717);}this[_0x1a594b(_0x2d75af._0x40d0c4,_0x2d75af._0x5e28e3,_0x2d75af._0x1893a1,_0x2d75af._0x4d4567)]=_0xf2004b;function _0x199fbc(_0xdaf968,_0x30f50b,_0x3d66dd,_0x2f65f3){return _0x47b891(_0xdaf968,_0x30f50b- -0x5a8,_0x3d66dd-_0x153a83._0x2d7dad,_0x2f65f3-_0x153a83._0x897a91);}this[_0x1a594b(0x3a0,_0x2d75af._0x2b2e0b,0x4ed,0x5aa)]='BackgroundProcessCleanupError';}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x55ec8f){const _0x435c18={_0x343974:0x2f,_0x19322b:0x183,_0x5d1cbc:0x115,_0x1356c1:0x3a,_0x3ec831:0xf},_0x415b68={_0x1f4066:0x33,_0x19c9a0:0x181},_0x1839ea={_0x4f02ba:0x2f0,_0x3a3c16:0x117,_0x1f6d9a:0xec};function _0x49bf58(_0x3a9741,_0x5f8c9f,_0x2e3495,_0x592844){return _0xe18bb0(_0x592844,_0x3a9741-_0x1839ea._0x4f02ba,_0x2e3495-_0x1839ea._0x3a3c16,_0x592844-_0x1839ea._0x1f6d9a);}function _0x317d8c(_0x2f3f94,_0x2100a0,_0x1531ec,_0xf1c075){return _0xe18bb0(_0x2f3f94,_0x2100a0- -_0x415b68._0x1f4066,_0x1531ec-_0x415b68._0x19c9a0,_0xf1c075-0x147);}return _0x55ec8f===_0x317d8c(-0x19,-_0x435c18._0x343974,0xed,-_0x435c18._0x19322b)||_0x55ec8f===_0x317d8c(-_0x435c18._0x5d1cbc,_0x435c18._0x1356c1,_0x435c18._0x3ec831,0xb1)||_0x55ec8f==='error';}var BackgroundProcessRegistry=class{[_0x47b891(0x3b6,0x3cb,0x27c,0x397)]=new Map();['reservations']=new Map();[_0xe18bb0(-0xa3,0x109,0x278,0xd0)];['maxEntries'];['capChars'];[_0x47b891(0x642,0x729,0x739,0x7cf)];[_0x47b891(0x490,0x5d4,0x51b,0x75d)];[_0xe18bb0(0x20,-0xc7,-0x214,-0xa4)]=0x0;constructor(_0x22be46={}){const _0x6e5024={_0x20fc70:0x3f7,_0x5798c2:0x23b,_0x151869:0x3c3,_0x545ebb:0x2c8,_0x43bcf2:0x40e,_0x551c67:0x617,_0x3181f3:0x570,_0x1a98ae:0x3c9,_0x3372db:0x458,_0x4afa18:0x36c,_0x1573af:0x313,_0x134ffb:0x302,_0x402c61:0x69d,_0x1165ed:0x50f,_0xdcda1a:0x2c7,_0x573596:0x3fd,_0x28da95:0x61d},_0x76d768={_0x2fd18d:0x306,_0x33073a:0x1d2,_0x1bc019:0xfd},_0x390d31={_0x3e972b:0x1d7,_0x18d980:0x18b};this[_0x27e65e(0x458,_0x6e5024._0x20fc70,_0x6e5024._0x5798c2,_0x6e5024._0x151869)]=_0x22be46['maxConcurrent']??0xa;function _0x27e65e(_0x18bf51,_0x19ba7,_0xcbfdb,_0x534d4b){return _0x47b891(_0x19ba7,_0x534d4b- -_0x390d31._0x3e972b,_0xcbfdb-_0x390d31._0x18d980,_0x534d4b-0x1a0);}this['maxEntries']=_0x22be46['maxEntries']??0x40,this[_0x4c2eb1(_0x6e5024._0x545ebb,_0x6e5024._0x43bcf2,0x586,_0x6e5024._0x551c67)]=_0x22be46[_0x27e65e(_0x6e5024._0x3181f3,_0x6e5024._0x1a98ae,0x634,0x53d)]??0x100000,this[_0x4c2eb1(_0x6e5024._0x3372db,0x423,0x49c,_0x6e5024._0x4afa18)]=_0x22be46[_0x4c2eb1(_0x6e5024._0x1573af,0x423,0x567,_0x6e5024._0x134ffb)]??process[_0x27e65e(_0x6e5024._0x402c61,_0x6e5024._0x1165ed,0x40f,0x552)];function _0x4c2eb1(_0x451a00,_0x16dc4c,_0x1ff70a,_0x2ea138){return _0x47b891(_0x1ff70a,_0x16dc4c- -_0x76d768._0x2fd18d,_0x1ff70a-_0x76d768._0x33073a,_0x2ea138-_0x76d768._0x1bc019);}this[_0x27e65e(0x374,_0x6e5024._0xdcda1a,0x26f,_0x6e5024._0x573596)]=_0x22be46[_0x27e65e(0x5b7,0x3f0,0x1f2,_0x6e5024._0x573596)]??createProcessTreeSignalAdapter({'platform':this[_0x4c2eb1(0x3c8,0x423,0x370,_0x6e5024._0x28da95)]});}[_0x47b891(0x368,0x4a7,0x352,0x67d)](){const _0x331d6c={_0x47f7f1:0x1f8,_0x46f153:0x51e,_0x1516a0:0x56e,_0x2287ef:0x403,_0x2d6c46:0x26b,_0x2c59e2:0x27,_0x56a225:0x56,_0x5c436e:0x262,_0x1a0701:0x38,_0x30ce58:0x268,_0x580667:0x2f3,_0x35b29d:0x1f5,_0x248cab:0x3db,_0x17db43:0x160,_0x5637a1:0x2b5,_0x35959d:0x29f,_0x591405:0x159},_0x438bc2={_0x7c2ae2:0x2a7,_0x191da5:0x2d},_0x537621={_0x9149c0:0xaa,_0x5c6e5c:0x14},_0x5609c7=[...this['entries'][_0x3e8e12(0x257,0x312,_0x331d6c._0x47f7f1,0x454)]()][_0x40d315(_0x331d6c._0x46f153,0x443,_0x331d6c._0x1516a0,0x5db)](_0x2b8cca=>!_0x2b8cca[_0x3e8e12(0x1ba,0x26d,0x338,0x56)]);function _0x3e8e12(_0x7d0957,_0x24c157,_0x4f17c5,_0xe82bd1){return _0xe18bb0(_0x4f17c5,_0x7d0957-0x66,_0x4f17c5-_0x537621._0x9149c0,_0xe82bd1-_0x537621._0x5c6e5c);}if(_0x5609c7[_0x3e8e12(0x20d,_0x331d6c._0x2287ef,0x1ea,_0x331d6c._0x2d6c46)]+this[_0x3e8e12(0xf1,-0x23,-_0x331d6c._0x2c59e2,_0x331d6c._0x56a225)][_0x3e8e12(0x20f,_0x331d6c._0x5c436e,_0x331d6c._0x1a0701,0x2ee)]>=this[_0x40d315(_0x331d6c._0x30ce58,0x2f3,0x491,0x205)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this['maxConcurrent']+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x40d315(0x36d,_0x331d6c._0x580667,_0x331d6c._0x35b29d,_0x331d6c._0x248cab)]});const _0x6a9294=Object[_0x3e8e12(0x9c,-0x173,0x2c,-_0x331d6c._0x17db43)]({'id':_0x3cf3f9()});function _0x40d315(_0x342a43,_0x1ad24c,_0xa5e92a,_0x5e721b){return _0x47b891(_0xa5e92a,_0x1ad24c- -_0x438bc2._0x7c2ae2,_0xa5e92a-0x129,_0x5e721b-_0x438bc2._0x191da5);}return this[_0x40d315(_0x331d6c._0x5637a1,0x275,_0x331d6c._0x35959d,0x27a)][_0x40d315(0x2a4,_0x331d6c._0x591405,0x1fe,-0x47)](_0x6a9294['id'],_0x6a9294),_0x6a9294;}[_0xe18bb0(-0x17c,0x39,0x13,0x246)](_0x326625){const _0x550502={_0x37b707:0x16a,_0x327cb6:0x9d,_0x4f45c3:0x3f9,_0x389716:0x2ff},_0x3df9fa={_0x481e73:0xec,_0x3ac33e:0xa},_0x592f24={_0x45545f:0x5f};function _0x11a5ac(_0x4435b3,_0x436577,_0x5b7d03,_0x1da20f){return _0xe18bb0(_0x1da20f,_0x5b7d03-0x274,_0x5b7d03-_0x592f24._0x45545f,_0x1da20f-0x18e);}function _0x37e8c6(_0x265fa1,_0x2271e3,_0x3b7e2e,_0x3cb9bd){return _0xe18bb0(_0x265fa1,_0x3cb9bd-0xaf,_0x3b7e2e-_0x3df9fa._0x481e73,_0x3cb9bd-_0x3df9fa._0x3ac33e);}this['reservations'][_0x37e8c6(_0x550502._0x37b707,0xe5,_0x550502._0x327cb6,0x14b)](_0x326625['id'])===_0x326625&&this[_0x11a5ac(0x396,_0x550502._0x4f45c3,_0x550502._0x389716,0x182)]['delete'](_0x326625['id']);}['attach'](_0x45fda0,_0x1aa414){const _0x543fba={_0x202bb7:0x75b,_0x4a7232:0x79,_0x12477d:0x287,_0x1b69a4:0xbf,_0x1a1648:0x2ca,_0x137cfc:0x1a5,_0x1683fa:0xf9,_0x5e987f:0x97,_0x74617c:0x11e,_0x4da3f4:0xc8,_0xce9761:0x6c1,_0x49cc5:0x40a,_0x377a9b:0x3b,_0x41b9b1:0x5b3,_0x4fdcf5:0x492,_0x5f0165:0x45b,_0x119b16:0x55,_0x28ee0a:0xa1,_0x39835e:0x154,_0x2e2160:0xfe,_0x576f78:0x171,_0x5d9cb7:0x4d6,_0x248af7:0x44d,_0x31add6:0x27e,_0x332b58:0x65a,_0x418b6c:0x535,_0x1bf1e4:0x47e,_0x3214f8:0x885,_0x5d8a2e:0x59d,_0x108e22:0x611,_0x2ab14b:0xd0,_0x500508:0x445,_0x52b63e:0x2b9},_0x278ac5={_0x1a97da:0xc7},_0x4149d1={_0x4caeff:0xd0,_0x20001e:0x2a6,_0x5f15f2:0xb0,_0x530878:0x541,_0x3578d6:0x91b,_0x21b535:0x72e,_0xc0cae:0x8cf,_0x529f3e:0xc2,_0x47d305:0x2f9,_0x5e3036:0x43d,_0x3d3883:0x277,_0x27bf1c:0x68,_0x192df5:0x11a,_0x285c52:0xc8,_0x4ce4b2:0x4ca,_0x103bce:0x37f,_0x4a8cc4:0x173,_0x4a18ae:0x18d},_0x23ee01={_0x51403e:0x595,_0x5d7ef1:0x648},_0x26c3f9={_0x1806bd:0x18f,_0x1a4666:0x128},_0xee9124={_0x162716:0x816,_0x30ab7b:0x680},_0x57ccf7={_0x4836d4:0x12e,_0xc053c8:0x3e1,_0x1aa977:0x362,_0x468a6c:0x4c8},_0x3aef20={_0x3206a5:0x361},_0x20e92c={_0xa5ce5d:0xa8,_0x44f5d4:0x86,_0x16c171:0x37,_0x24c5cc:0x1c5,_0x29af28:0x2c1,_0x58538c:0x457},_0x1a0300={_0x3e8e85:0xa,_0x2a24dc:0x15b};if(this[_0x269e46(0x746,_0x543fba._0x202bb7,0x769,0x5e3)][_0x553a0d(-_0x543fba._0x4a7232,-0x11f,0x92,0xfd)](_0x45fda0['id'])!==_0x45fda0)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x45fda0['id']});this['reservations']['delete'](_0x45fda0['id']);function _0x553a0d(_0x113db1,_0x4c989e,_0x5dbf4f,_0x412673){return _0xe18bb0(_0x113db1,_0x5dbf4f- -_0x1a0300._0x3e8e85,_0x5dbf4f-0x10c,_0x412673-_0x1a0300._0x2a24dc);}let _0x41ae3d;const _0x2d087c=new Promise(_0x4a9e77=>{_0x41ae3d=_0x4a9e77;}),_0x41035a='bg-'+ ++this[_0x553a0d(-_0x543fba._0x12477d,-0x146,-0xd1,-0x272)]+'-'+_0x3cf3f9()['slice'](0x0,0x8),_0x5b43a8={'shellId':_0x41035a,'command':_0x1aa414[_0x553a0d(0x1e6,_0x543fba._0x1b69a4,_0x543fba._0x1a1648,_0x543fba._0x137cfc)],'cwd':_0x1aa414['cwd'],'pid':_0x1aa414[_0x553a0d(0x45,-0x2c2,-0x115,-_0x543fba._0x1683fa)][_0x553a0d(-_0x543fba._0x5e987f,_0x543fba._0x74617c,_0x543fba._0x4da3f4,-0x15)],'processGroupId':_0x1aa414[_0x269e46(0x2e9,_0x543fba._0xce9761,_0x543fba._0x49cc5,0x4d2)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x553a0d(-0x147,-0x104,0x75,_0x543fba._0x377a9b)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x1aa414['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x269e46(0x58b,0x5e0,0x755,0x754)),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x1aa414[_0x269e46(0x838,0x65c,0x6fc,0x7e2)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2d087c,'resolveTerminal':_0x41ae3d,'terminationSettled':![]};this[_0x269e46(0x351,_0x543fba._0x41b9b1,0x51a,_0x543fba._0x4fdcf5)][_0x269e46(0x3e2,0x47c,_0x543fba._0x5f0165,0x4c7)](_0x41035a,_0x5b43a8);try{_0x1aa414['child']['stdout']?.['on'](_0x553a0d(0x106,0x15c,-_0x543fba._0x119b16,_0x543fba._0x28ee0a),_0x370f62=>{const _0x11822e={_0x356dec:0x198,_0x5f1847:0xfc};function _0x58f8bd(_0x20223c,_0x4b731c,_0x547b45,_0x40849d){return _0x553a0d(_0x20223c,_0x4b731c-_0x11822e._0x356dec,_0x40849d-0x204,_0x40849d-_0x11822e._0x5f1847);}function _0x2bf083(_0x43f9a0,_0x5bfd76,_0x53c61e,_0x2f4e1c){return _0x553a0d(_0x43f9a0,_0x5bfd76-0x1e4,_0x5bfd76-0x243,_0x2f4e1c-0xbb);}this[_0x58f8bd(_0x20e92c._0xa5ce5d,_0x20e92c._0x44f5d4,_0x20e92c._0x16c171,_0x20e92c._0x24c5cc)](_0x5b43a8,_0x5b43a8[_0x2bf083(_0x20e92c._0x29af28,_0x20e92c._0x58538c,0x5db,0x5d3)],_0x5b43a8['stdoutNormalizer'],_0x370f62);}),_0x1aa414['child']['stderr']?.['on'](_0x553a0d(_0x543fba._0x39835e,-_0x543fba._0x2e2160,-0x55,_0x543fba._0x576f78),_0x29cab2=>{function _0x186d58(_0x36e9f5,_0x17ee79,_0x5b628e,_0x306fe1){return _0x553a0d(_0x5b628e,_0x17ee79-0x121,_0x17ee79-0xfe,_0x306fe1-0x1f4);}function _0x3a3e4e(_0x426ab2,_0x745206,_0x3b7be3,_0x4188f4){return _0x553a0d(_0x426ab2,_0x745206-0x3b,_0x3b7be3-_0x3aef20._0x3206a5,_0x4188f4-0x94);}this[_0x3a3e4e(_0x57ccf7._0x4836d4,_0x57ccf7._0xc053c8,0x322,0x499)](_0x5b43a8,_0x5b43a8[_0x3a3e4e(0x36b,0x1ca,_0x57ccf7._0x1aa977,0x3d1)],_0x5b43a8[_0x186d58(_0x57ccf7._0x468a6c,0x3b2,0x2a2,0x410)],_0x29cab2);}),_0x1aa414[_0x269e46(0x522,0x2b9,_0x543fba._0x5d9cb7,_0x543fba._0x248af7)][_0x553a0d(0x10e,0x2a5,0x29f,_0x543fba._0x31add6)](_0x269e46(_0x543fba._0x332b58,0x745,0x579,0x773),(_0x2ed84d,_0x2764cd)=>{const _0xf85daf={_0x3500e0:0x8f,_0xa297c8:0x674,_0x5006e3:0x19d};_0x5b43a8['processExited']=!![];function _0x4e02a8(_0x13c00d,_0x50fffc,_0x3bc1cb,_0x3e2335){return _0x553a0d(_0x3e2335,_0x50fffc-_0xf85daf._0x3500e0,_0x50fffc-_0xf85daf._0xa297c8,_0x3e2335-_0xf85daf._0x5006e3);}_0x5b43a8['exitCode']=_0x2ed84d,_0x5b43a8[_0x4e02a8(0x72d,_0xee9124._0x162716,0x78d,_0xee9124._0x30ab7b)]=_0x2764cd;}),_0x1aa414['child']['once'](_0x269e46(0x37e,0x425,_0x543fba._0x418b6c,_0x543fba._0x1bf1e4),_0x390a94=>{function _0x1cc578(_0x14c173,_0x20b565,_0x51aa0c,_0x3ba8a3){return _0x553a0d(_0x51aa0c,_0x20b565-0x36,_0x20b565-0x34a,_0x3ba8a3-0x11f);}_0x5b43a8['error']=_0x390a94[_0x1cc578(0x5c1,_0x23ee01._0x51403e,0x601,0x54c)];function _0x358f0f(_0x59df1e,_0xbe59eb,_0x259da4,_0x576827){return _0x269e46(_0x576827,_0xbe59eb-0xd6,_0x259da4-_0x26c3f9._0x1806bd,_0x259da4- -_0x26c3f9._0x1a4666);}_0x5b43a8[_0x358f0f(0x5c3,0x83e,_0x23ee01._0x5d7ef1,0x5fc)]='error';}),_0x1aa414['child'][_0x269e46(0x726,_0x543fba._0x3214f8,0x934,0x801)](_0x269e46(_0x543fba._0x5d8a2e,0x494,0x81a,_0x543fba._0x108e22),(_0xdefa4f,_0x4e9210)=>{const _0x3b129b={_0x1ee11c:0x14,_0x2a1d30:0x1c8},_0x1d5059={_0x395472:0xbf,_0x33ba2b:0x65};_0x5b43a8['exitCode']=_0xdefa4f,_0x5b43a8['signal']=_0x4e9210;function _0x30b044(_0x1bae1b,_0xe234bc,_0x5032ad,_0x58da47){return _0x553a0d(_0x5032ad,_0xe234bc-_0x1d5059._0x395472,_0x58da47-_0x1d5059._0x33ba2b,_0x58da47-0x35);}_0x5b43a8[_0x30b044(-0x21b,_0x4149d1._0x4caeff,-_0x4149d1._0x20001e,-_0x4149d1._0x5f15f2)]=null;function _0x57a33c(_0x1311d3,_0x1ce74d,_0x2449ba,_0x5a03d4){return _0x269e46(_0x5a03d4,_0x1ce74d-_0x3b129b._0x1ee11c,_0x2449ba-_0x3b129b._0x2a1d30,_0x2449ba- -0x42);}_0x5b43a8[_0x57a33c(_0x4149d1._0x530878,_0x4149d1._0x3578d6,_0x4149d1._0x21b535,_0x4149d1._0xc0cae)]!=='error'&&(_0x5b43a8[_0x30b044(_0x4149d1._0x529f3e,_0x4149d1._0x47d305,_0x4149d1._0x5e3036,0x273)]=_0x5b43a8[_0x30b044(-0x65,0xf9,_0x4149d1._0x3d3883,_0x4149d1._0x27bf1c)]?_0x30b044(0xf5,_0x4149d1._0x192df5,0x163,_0x4149d1._0x285c52):_0x57a33c(0x478,0x523,0x51a,_0x4149d1._0x4ce4b2)),this[_0x30b044(-0x58,_0x4149d1._0x103bce,_0x4149d1._0x4a8cc4,_0x4149d1._0x4a18ae)](_0x5b43a8);});}catch(_0x294524){this[_0x553a0d(0x2f,0xf9,-_0x543fba._0x2ab14b,-0x28a)]['delete'](_0x41035a);throw _0x294524;}this[_0x553a0d(0x477,_0x543fba._0x500508,0x2f9,_0x543fba._0x52b63e)]();function _0x269e46(_0x3668b4,_0x25e4c1,_0x14d257,_0x2959bf){return _0x47b891(_0x3668b4,_0x2959bf-_0x278ac5._0x1a97da,_0x14d257-0xfb,_0x2959bf-0x1c3);}return _0x5b43a8;}[_0x47b891(0x34b,0x555,0x36f,0x759)](_0x4bd590){const _0x1208bd={_0x4bff28:0xbf,_0x18e0c1:0x1e1,_0x2f3ccd:0x1b2,_0x28a918:0x212,_0x357aa8:0x85},_0x21d619={_0x45c076:0x95},_0x152f29={_0xcc742b:0x445,_0x4280b5:0x18b},_0x4b3ba0=this['reserve']();function _0x4c129c(_0xd003fd,_0x3fb380,_0x53ebbd,_0x14c050){return _0x47b891(_0x14c050,_0xd003fd- -_0x152f29._0xcc742b,_0x53ebbd-0x159,_0x14c050-_0x152f29._0x4280b5);}function _0x380595(_0x444630,_0x4ab725,_0x5d0ff0,_0x3cc997){return _0x47b891(_0x444630,_0x4ab725-0x17a,_0x5d0ff0-_0x21d619._0x45c076,_0x3cc997-0x1ad);}try{return this[_0x380595(0x93f,0x832,0x85f,0x98a)](_0x4b3ba0,{..._0x4bd590,...this[_0x4c129c(0x2e4,0x47e,0x430,0x4e6)]==='win32'?{}:{'processGroupId':_0x4bd590[_0x4c129c(-_0x1208bd._0x4bff28,-_0x1208bd._0x18e0c1,-0x1c5,-_0x1208bd._0x2f3ccd)][_0x4c129c(0x11e,_0x1208bd._0x28a918,-0x95,0x1e9)]}});}catch(_0x466fc5){this[_0x4c129c(_0x1208bd._0x357aa8,0x1a,0x11c,0x11d)](_0x4b3ba0);throw _0x466fc5;}}[_0xe18bb0(0x3b1,0x257,0x435,0x1c8)](_0x3cac0e,_0x3e4e83){const _0x44a96c={_0x5a9051:0x21e,_0x66c507:0x40,_0x52f53b:0x82,_0x5bf760:0xe4,_0x176269:0x10e,_0x1d4293:0x71,_0x528259:0xdb,_0x33e040:0xd9,_0x3381b5:0x1f4,_0x505f4b:0x155,_0x2f38f2:0x6c,_0x31797c:0xdd,_0x5ce114:0x8f,_0x1e7645:0x145,_0x3c5fa7:0x19c,_0xfcbbae:0x275,_0x3a346b:0x1d1,_0x495dfb:0x37,_0x11af51:0x11b,_0xd653b6:0x34d,_0x4ff7e6:0x1f9,_0x3a7184:0x1cd,_0x3d3d2e:0xf8,_0xc3d17f:0x28,_0x4b1127:0x1de,_0x3dd8af:0xac,_0xd45683:0xe8,_0x2c2bd3:0x31,_0x1c13cd:0x11c,_0x3bfb1c:0xe5,_0x135ca7:0x1fd,_0xfae590:0x93,_0x3e709c:0x1dc,_0x3b9b92:0x10b,_0x230c3a:0xc1,_0x38c44b:0xd8,_0x556d8d:0x1fe,_0x4a6776:0x3d,_0x45c0bb:0x203,_0x56739e:0x145,_0x375e3f:0x2b},_0x3b4d5f={_0x3b4440:0x5c,_0x5a9ce5:0x9b},_0x834f2d={_0x149aa2:0x76},_0x1f8ed6=this['entries'][_0x1104a4(_0x44a96c._0x5a9051,-0x6a,0x52,_0x44a96c._0x66c507)](_0x3cac0e);if(!_0x1f8ed6)throw new ToolExecutionError(_0x1104a4(-_0x44a96c._0x52f53b,_0x44a96c._0x5bf760,-0x2e8,-_0x44a96c._0x176269)+_0x3cac0e,{'shellId':_0x3cac0e});const _0x4839a0=_0x1f8ed6['buffer']['join'](''),_0x59a204=Math[_0x1ca56b(_0x44a96c._0x1d4293,-_0x44a96c._0x528259,-_0x44a96c._0x33e040,0x119)](_0x1f8ed6[_0x1ca56b(_0x44a96c._0x3381b5,_0x44a96c._0x505f4b,0x251,_0x44a96c._0x2f38f2)],_0x1f8ed6[_0x1ca56b(-0x10a,0x7f,0x94,_0x44a96c._0x31797c)]),_0x10bf02=Math[_0x1104a4(_0x44a96c._0x5ce114,-0x23b,-0xc8,-0x16f)](0x0,_0x1f8ed6[_0x1104a4(-0xba,0x11f,_0x44a96c._0x1e7645,-0x15)]-_0x1f8ed6[_0x1ca56b(0x176,0x155,-0xf,0x1d6)]),_0x13bc3a=_0x4839a0[_0x1ca56b(0x6b,-0xb8,-_0x44a96c._0x3c5fa7,-_0x44a96c._0xfcbbae)](_0x59a204-_0x1f8ed6[_0x1104a4(0x1af,-_0x44a96c._0x3a346b,-0x54,-0x15)]);function _0x1ca56b(_0x1760b0,_0xd31250,_0x196b63,_0x26c37d){return _0xe18bb0(_0x196b63,_0xd31250-0x38,_0x196b63-_0x834f2d._0x149aa2,_0x26c37d-0x1bd);}let _0x372fcb;const _0x21e5c8=_0x3e4e83?.[_0x1ca56b(-0x124,0x9d,-0x14,0x1ef)];function _0x1104a4(_0x4fa835,_0x1a0c6f,_0x4972d4,_0x57c458){return _0xe18bb0(_0x1a0c6f,_0x57c458- -_0x3b4d5f._0x3b4440,_0x4972d4-0x1a1,_0x57c458-_0x3b4d5f._0x5a9ce5);}if(!_0x21e5c8)_0x372fcb=_0x13bc3a,_0x1f8ed6['readCursor']=_0x1f8ed6[_0x1104a4(_0x44a96c._0x495dfb,0x1cc,0x1b8,0x1ad)];else{let _0x27ddb9;try{_0x27ddb9=new RegExp(_0x21e5c8);}catch(_0x4cf33d){throw new ToolExecutionError('Invalid\x20regex:\x20'+(_0x4cf33d instanceof Error?_0x4cf33d[_0x1104a4(0x3d3,_0x44a96c._0x11af51,_0x44a96c._0xd653b6,_0x44a96c._0x4ff7e6)]:String(_0x4cf33d)),{'shellId':_0x3cac0e,'regex':_0x21e5c8});}let _0x589d87=_0x13bc3a;if(!_0x1f8ed6[_0x1104a4(0x75,0x160,_0x44a96c._0x3a7184,_0x44a96c._0x3d3d2e)]){const _0x4c8172=_0x13bc3a[_0x1104a4(-_0x44a96c._0xc3d17f,_0x44a96c._0x4b1127,0x28b,_0x44a96c._0x3dd8af)]('\x0a');_0x589d87=_0x4c8172>=0x0?_0x13bc3a[_0x1ca56b(0x2c,-0xb8,-_0x44a96c._0xd45683,-0x203)](0x0,_0x4c8172+0x1):'';}_0x372fcb=_0x589d87[_0x1ca56b(-0xf8,-_0x44a96c._0x2c2bd3,_0x44a96c._0x1c13cd,_0x44a96c._0x3bfb1c)]('\x0a')[_0x1104a4(0xcf,0x37e,0x1b3,_0x44a96c._0x135ca7)](_0x264f2c=>_0x27ddb9[_0x1104a4(0x2e3,0x342,0x167,0x1e4)](_0x264f2c))[_0x1ca56b(0x138,0x11a,_0x44a96c._0xfae590,_0x44a96c._0x3e709c)]('\x0a'),_0x1f8ed6[_0x1104a4(_0x44a96c._0x3b9b92,0x12d,0x258,_0x44a96c._0x230c3a)]=_0x59a204+_0x589d87[_0x1ca56b(_0x44a96c._0x38c44b,0x1df,0x2f0,0x21d)];}return{'output':(_0x10bf02>0x0?'[output\x20truncated:\x20'+_0x10bf02+_0x1104a4(0x12f,-0x180,_0x44a96c._0x556d8d,-0x12):'')+_0x372fcb,'status':_0x1f8ed6[_0x1104a4(_0x44a96c._0x4a6776,0x1c7,_0x44a96c._0x45c0bb,0x1bc)],'exitCode':_0x1f8ed6[_0x1104a4(_0x44a96c._0x56739e,_0x44a96c._0x375e3f,0x1f6,0x1b7)],'signal':_0x1f8ed6['signal'],'error':_0x1f8ed6['error'],'truncated':_0x10bf02>0x0};}[_0xe18bb0(-0x7e,-0x90,-0xfe,-0x1b0)](){const _0x47059a={_0x78e6ef:0x417,_0x552975:0x5e9,_0xc66a2f:0x4c0},_0x5c45ef={_0x36090d:0xd5,_0x140100:0x6c};function _0x3895f8(_0xfe8793,_0x2f20ca,_0x281471,_0xeb3a12){return _0x47b891(_0x281471,_0xfe8793-0x43,_0x281471-0x170,_0xeb3a12-0x35);}function _0x1cb664(_0xe7cf12,_0x25be5a,_0x3178c2,_0xccaffa){return _0x47b891(_0x25be5a,_0x3178c2- -0x1c2,_0x3178c2-_0x5c45ef._0x36090d,_0xccaffa-_0x5c45ef._0x140100);}return[...this[_0x1cb664(0x281,_0x47059a._0x78e6ef,0x209,0x1d4)][_0x1cb664(0x392,_0x47059a._0x552975,_0x47059a._0xc66a2f,0x5fb)]()];}[_0x47b891(0x67e,0x4b5,0x582,0x4fe)](_0x3da939){const _0x4b117a={_0x5241f6:0x59c,_0x4d79b0:0x439,_0x124cd4:0x803,_0x4c4670:0x54f,_0x596c48:0x89e,_0x46b4b4:0x55c,_0x40e560:0x6fb,_0x58dd54:0x6f5,_0x429875:0x74f,_0x24e2c3:0x438,_0x80162:0x4c6,_0x5917be:0x5e0,_0x46af9a:0x779,_0x3aeda5:0x5fb,_0x536ca7:0x7cd,_0x2c0cef:0x57d,_0x1f9d31:0x3cf,_0x33a9c1:0x4d6,_0x54fd8a:0x5ad,_0x4e6501:0xa54,_0x1f0257:0x882,_0x292ead:0x84e,_0x44e3c7:0x695,_0x531ff6:0x7ca,_0x490ec3:0x571,_0x41ee05:0x477,_0x2fdc18:0x6b6,_0xc0955d:0x695,_0x309620:0x79e,_0x56fc3e:0x498,_0x2fcbf1:0x60b,_0x472ab8:0x7e8,_0x4eb17e:0x5f0},_0xfad9c6={_0x5ce03a:0x165,_0x4daef6:0x39},_0x35e9a0={_0x65fa8b:0x43f,_0x2e8313:0x5a7,_0x40dc7b:0x522},_0x43c3d5={_0x341c0b:0x555,_0x1a9099:0x141},_0x31301c=this['entries'][_0x18f020(0x5f1,_0x4b117a._0x5241f6,_0x4b117a._0x4d79b0,0x61b)](_0x3da939);if(!_0x31301c)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x3da939,{'shellId':_0x3da939});if(_0x31301c['terminationPromise']&&!_0x31301c[_0x18f020(_0x4b117a._0x124cd4,0x9f4,0x927,0x929)])return _0x31301c['terminationPromise'];if(_0x31301c[_0x18f020(0x6a9,_0x4b117a._0x4c4670,0x83c,_0x4b117a._0x596c48)]&&isTerminalStatus(_0x31301c['status']))return Promise[_0xbfb090(_0x4b117a._0x46b4b4,_0x4b117a._0x40e560,0x729,0x541)](this['result'](_0x31301c,_0x18f020(0x7a1,0x74a,0x8c1,0x924)));function _0x18f020(_0x19a691,_0x4c467a,_0x157d16,_0x5d77af){return _0xe18bb0(_0x5d77af,_0x19a691-_0x43c3d5._0x341c0b,_0x157d16-_0x43c3d5._0x1a9099,_0x5d77af-0x88);}if(_0x31301c[_0x18f020(0x76d,_0x4b117a._0x58dd54,_0x4b117a._0x429875,0x8e1)]!==_0xbfb090(0x3dc,_0x4b117a._0x24e2c3,0x604,_0x4b117a._0x80162))_0x31301c[_0x18f020(0x76d,0x691,_0x4b117a._0x5917be,0x658)]=_0x18f020(_0x4b117a._0x46af9a,_0x4b117a._0x3aeda5,_0x4b117a._0x536ca7,0x90d);_0x31301c[_0xbfb090(_0x4b117a._0x2c0cef,_0x4b117a._0x1f9d31,_0x4b117a._0x33a9c1,_0x4b117a._0x54fd8a)]=!![],_0x31301c[_0xbfb090(_0x4b117a._0x4e6501,0x8ec,_0x4b117a._0x1f0257,_0x4b117a._0x292ead)]=![],_0x31301c[_0x18f020(_0x4b117a._0x44e3c7,0x814,_0x4b117a._0x531ff6,_0x4b117a._0x490ec3)]=this[_0xbfb090(0x313,_0x4b117a._0x41ee05,_0x4b117a._0x2fdc18,0x4df)](_0x31301c),void _0x31301c[_0x18f020(_0x4b117a._0xc0955d,_0x4b117a._0x309620,0x83a,_0x4b117a._0x56fc3e)][_0xbfb090(_0x4b117a._0x2fcbf1,_0x4b117a._0x472ab8,_0x4b117a._0x4eb17e,0x77b)](()=>{_0x31301c['terminationSettled']=!![];},()=>{const _0x3f8092={_0x21f524:0xf6};function _0x118afc(_0x381ea6,_0x38a2b9,_0x371b8e,_0x16be7c){return _0x18f020(_0x381ea6- -0x3c4,_0x38a2b9-0x57,_0x371b8e-_0x3f8092._0x21f524,_0x16be7c);}_0x31301c[_0x118afc(_0x35e9a0._0x65fa8b,0x602,_0x35e9a0._0x2e8313,_0x35e9a0._0x40dc7b)]=!![];});function _0xbfb090(_0xff1262,_0x227ca7,_0x20740b,_0x2a2499){return _0x47b891(_0x20740b,_0x2a2499-0x10f,_0x20740b-_0xfad9c6._0x5ce03a,_0x2a2499-_0xfad9c6._0x4daef6);}return _0x31301c[_0xbfb090(0x89d,0x511,0x8a5,0x6e0)];}[_0x47b891(0x544,0x417,0x43a,0x5af)](){const _0x409d31={_0x28ffe6:0x1b1,_0x4b2f83:0x187,_0x1fcd14:0x1ce,_0x1bd37d:0x205,_0x1c3def:0x30a,_0x4fb94a:0x455,_0x1c3e9b:0x401,_0x400ea0:0x434},_0x5c3f7d={_0x3fadbd:0x23,_0x5394fa:0xc0},_0x1f90c3={_0x22744c:0x1cd,_0x5cac95:0x19a,_0xc919bd:0xda};function _0xd6d522(_0x29430b,_0x4d36b8,_0x330675,_0x5cb2ef){return _0x47b891(_0x29430b,_0x5cb2ef- -_0x1f90c3._0x22744c,_0x330675-_0x1f90c3._0x5cac95,_0x5cb2ef-_0x1f90c3._0xc919bd);}function _0x34ed2b(_0x2d2419,_0x439f2a,_0x57c3d4,_0x258a20){return _0xe18bb0(_0x439f2a,_0x2d2419- -_0x5c3f7d._0x3fadbd,_0x57c3d4-0xd,_0x258a20-_0x5c3f7d._0x5394fa);}return Promise[_0x34ed2b(_0x409d31._0x28ffe6,0x1dc,0xcd,_0x409d31._0x4b2f83)]([...this['entries'][_0x34ed2b(_0x409d31._0x1fcd14,_0x409d31._0x1bd37d,_0x409d31._0x1c3def,0x38d)]()][_0xd6d522(0x340,_0x409d31._0x4fb94a,_0x409d31._0x1c3e9b,_0x409d31._0x400ea0)](_0x1b76ee=>this['kill'](_0x1b76ee['shellId'])));}async[_0xe18bb0(-0xee,-0xec,0x10,-0x221)](){const _0xa3e9c={_0x42701c:0x1d6,_0xe8a1:0x6d,_0x40546f:0x169,_0x51770f:0x3c0,_0x621343:0x2d4,_0x5855d2:0x11a,_0x3deb2a:0xe8,_0x4ee690:0x1c4,_0x3183cc:0x29,_0x5444b8:0xbb,_0x4044c0:0x22d,_0x4ca2b3:0x67},_0x3337e4={_0x5aef00:0xe7,_0x459247:0xc},_0x5b5303={_0x2b2e9d:0x1a2,_0x49571c:0xc0,_0x5588e8:0x1c},_0x52e7a3=await this[_0x2ec8f5(0x114,_0xa3e9c._0x42701c,_0xa3e9c._0xe8a1,-_0xa3e9c._0x40546f)]();function _0x3df590(_0x50c890,_0x31a0fb,_0x2c5d38,_0xf4fb6d){return _0xe18bb0(_0x50c890,_0x31a0fb-_0x5b5303._0x2b2e9d,_0x2c5d38-_0x5b5303._0x49571c,_0xf4fb6d-_0x5b5303._0x5588e8);}if(_0x52e7a3[_0x2ec8f5(_0xa3e9c._0x51770f,0x3e7,_0xa3e9c._0x621343,0x47d)](_0x369c74=>_0x369c74[_0x2ec8f5(0x9c,0x197,0x201,0x3d3)]===_0x3df590(0x3eb,0x3fa,0x587,0x49a)))throw new BackgroundProcessCleanupError(_0x52e7a3);this[_0x3df590(0x2c3,0xdc,-_0xa3e9c._0x5855d2,_0xa3e9c._0x3deb2a)][_0x3df590(_0xa3e9c._0x4ee690,0x122,0x181,_0xa3e9c._0x3183cc)](),this[_0x3df590(_0xa3e9c._0x5444b8,_0xa3e9c._0x4044c0,0x246,0xd6)][_0x2ec8f5(0x3c,-0x179,_0xa3e9c._0x4ca2b3,0x137)]();function _0x2ec8f5(_0x2e83f9,_0x185d8c,_0x4f8f6a,_0x13f15e){return _0xe18bb0(_0x185d8c,_0x4f8f6a-_0x3337e4._0x5aef00,_0x4f8f6a-0x39,_0x13f15e-_0x3337e4._0x459247);}return _0x52e7a3;}async[_0xe18bb0(0xc,-0xc1,0xfd,-0x1b7)](_0xbef1ab){const _0x46037f={_0x5d2b5c:0x429,_0x4d218e:0x4f2,_0x3beafe:0x32a,_0x582ab5:0x4b2,_0x3efce2:0x51b,_0x5b8fb6:0x2f6,_0x2296d5:0xf3,_0x45bbea:0x1f1,_0x3cdf66:0x1eb,_0xb7b2c:0x1c,_0x5282cd:0x222,_0x2941d1:0x9b,_0x4fb8b5:0x1d8,_0x16253d:0x234,_0x1af24:0xa3,_0x12ae4d:0x65,_0x11fe3e:0x119,_0x2b3bfd:0xdd,_0x352cd8:0x1ec,_0x421b2d:0x45,_0x417097:0xae,_0x2e55f6:0x163,_0x1cb454:0xaf,_0x2a461f:0x184,_0x425c4c:0x259,_0x40e967:0x13c,_0x30259a:0x70,_0x3fd6aa:0x301,_0x447872:0x148,_0x46f31f:0x1b9,_0x198754:0x3d8,_0x2e67a3:0x239,_0x4f0839:0x467,_0xae49de:0x271,_0x576b35:0x65,_0x4c824a:0x14f,_0x3ca759:0x15a,_0x2bda34:0x2ff,_0x37744a:0x181,_0x28bae0:0x6},_0x3292e0={_0x3817fa:0x1b0};_0xbef1ab[_0x3a3399(0x44d,_0x46037f._0x5d2b5c,0x390,_0x46037f._0x4d218e)]=!![];const _0x3f735a=await this[_0x3a3399(0x345,_0x46037f._0x3beafe,_0x46037f._0x582ab5,0x45e)][_0x3a3399(0x369,0x6e7,_0x46037f._0x3efce2,0x5a6)]({'rootPid':_0xbef1ab[_0x3a3399(0x448,0x470,0x441,_0x46037f._0x5b8fb6)],'processGroupId':_0xbef1ab[_0x3a3399(_0x46037f._0x2296d5,0x402,0x2e9,0x417)]},_0x213b92(0x2ef,_0x46037f._0x45bbea,0x16d,_0x46037f._0x3cdf66));if(_0x3f735a[_0x213b92(0x226,0x7f,_0x46037f._0xb7b2c,_0x46037f._0x5282cd)]==='failed')return this['failed'](_0xbef1ab,_0x3f735a[_0x213b92(-_0x46037f._0x2941d1,-0x26b,-_0x46037f._0x4fb8b5,-0x2e0)]);if(await this['waitForTerminal'](_0xbef1ab,TERMINATION_WINDOW_MS))return this[_0x213b92(-_0x46037f._0x16253d,_0x46037f._0x1af24,-_0x46037f._0x12ae4d,-0x169)](_0xbef1ab);function _0x3a3399(_0x3c2949,_0x534a8b,_0x597756,_0xfb97e6){return _0x47b891(_0x534a8b,_0x597756- -0x122,_0x597756-0xf0,_0xfb97e6-0x4d);}_0xbef1ab[_0x213b92(-_0x46037f._0x11fe3e,-_0x46037f._0x2b3bfd,0xd7,-0x91)]=!![];const _0x23d379=await this[_0x213b92(-0x68,_0x46037f._0x352cd8,_0x46037f._0x421b2d,-_0x46037f._0x417097)][_0x213b92(0x1d9,-0xc4,0xae,-_0x46037f._0x2e55f6)]({'rootPid':_0xbef1ab['pid'],'processGroupId':_0xbef1ab[_0x213b92(-_0x46037f._0x1cb454,-0x31e,-_0x46037f._0x2a461f,0x2b)]},_0x213b92(-_0x46037f._0x425c4c,_0x46037f._0x40e967,-0x59,_0x46037f._0x30259a));function _0x213b92(_0x2b7bde,_0x3cdb6e,_0x4bf155,_0x21bfda){return _0x47b891(_0x2b7bde,_0x4bf155- -0x58f,_0x4bf155-0x111,_0x21bfda-_0x3292e0._0x3817fa);}if(_0x23d379[_0x213b92(-0x72,0x90,_0x46037f._0xb7b2c,0x3b)]==='failed')return this[_0x213b92(-0x46,_0x46037f._0x3fd6aa,0x15a,_0x46037f._0x447872)](_0xbef1ab,_0x23d379[_0x213b92(-_0x46037f._0x46f31f,-_0x46037f._0x198754,-_0x46037f._0x4fb8b5,-0x26c)]);if(await this[_0x3a3399(_0x46037f._0x2e67a3,0x29a,0x320,_0x46037f._0x4f0839)](_0xbef1ab,TERMINATION_WINDOW_MS))return this[_0x213b92(-0x72,-_0x46037f._0xae49de,-_0x46037f._0x576b35,0x6a)](_0xbef1ab);return this[_0x213b92(_0x46037f._0x4c824a,-0x25,_0x46037f._0x3ca759,_0x46037f._0x2bda34)](_0xbef1ab,_0x213b92(0xe,-_0x46037f._0x37744a,-0xb3,_0x46037f._0x28bae0));}['confirmed'](_0x1fcbf7){const _0x229f74={_0x37898b:0x165,_0x503fbe:0xd2,_0x781ccc:0x26,_0x3cc6c4:0xe,_0x4991e1:0x2be,_0xbcaaa9:0x256,_0x88b161:0x94,_0x1fcc1d:0x8a,_0x4f8872:0x99,_0x46aa37:0x27d,_0x2b2ede:0x14e,_0x34a4c0:0xbb,_0x41da66:0x46,_0x4f202a:0xc0},_0x286c2f={_0x297b94:0x1e9},_0x27648e={_0x566798:0xb3};function _0x210a46(_0x22d78d,_0x3abacc,_0x3545a4,_0x157960){return _0xe18bb0(_0x3abacc,_0x22d78d- -_0x27648e._0x566798,_0x3545a4-0x54,_0x157960-0x135);}function _0x4d39e9(_0x1bcd0a,_0x1b3613,_0x5c22c5,_0x30aa71){return _0xe18bb0(_0x30aa71,_0x1b3613-0x164,_0x5c22c5-0x140,_0x30aa71-_0x286c2f._0x297b94);}return _0x1fcbf7[_0x210a46(_0x229f74._0x37898b,0x2b0,_0x229f74._0x503fbe,_0x229f74._0x781ccc)]===_0x4d39e9(0xf1,0x8a,-0x56,_0x229f74._0x3cc6c4)?this[_0x4d39e9(0x4d1,0x3bc,_0x229f74._0x4991e1,_0x229f74._0xbcaaa9)](_0x1fcbf7,_0x1fcbf7[_0x4d39e9(-_0x229f74._0x88b161,_0x229f74._0x1fcc1d,-0x124,0x248)]??_0x210a46(-_0x229f74._0x4f8872,-_0x229f74._0x46aa37,-_0x229f74._0x2b2ede,0x156)):this[_0x4d39e9(0x64,_0x229f74._0x34a4c0,0x1cc,0x1e4)](_0x1fcbf7,_0x210a46(-_0x229f74._0x41da66,_0x229f74._0x4f202a,-0x67,-0xd1));}[_0x47b891(0x515,0x6e9,0x7ff,0x5d7)](_0x3002db,_0x1c8904){const _0x4b35fe={_0x476e65:0xd3,_0xb90159:0x4,_0x294ce1:0xf6},_0x1908ba={_0x3aaacc:0x14e,_0x56b294:0x1be},_0x5f3ef1={_0x1bfb73:0x2da,_0x388f72:0x8e};_0x3002db[_0x20a19a(0x2dd,0x269,0x429,_0x4b35fe._0x476e65)]=_0x1c8904;function _0x475940(_0x546834,_0x41a97d,_0x15b40a,_0xb1fa02){return _0x47b891(_0x41a97d,_0x546834- -_0x5f3ef1._0x1bfb73,_0x15b40a-_0x5f3ef1._0x388f72,_0xb1fa02-0x16c);}function _0x20a19a(_0x2316c7,_0x17a08b,_0x5661a4,_0x1455c5){return _0x47b891(_0x5661a4,_0x17a08b- -_0x1908ba._0x3aaacc,_0x5661a4-0x1e1,_0x1455c5-_0x1908ba._0x56b294);}return this[_0x475940(0x10e,_0x4b35fe._0xb90159,_0x4b35fe._0x294ce1,0x285)](_0x3002db,'failed');}['result'](_0x52d130,_0x39428c){const _0x2278c8={_0x5bb50d:0x41,_0x4e9ac8:0x871,_0x390239:0xa4f,_0x23377e:0x7c3,_0x119bc5:0x2d0,_0x21f78e:0x1b0,_0x3e00c1:0xa2,_0x5eca61:0xb8,_0x1b44fd:0x92,_0x5b2b62:0xd6,_0x179e4b:0x2a8,_0x1a8e42:0xf,_0x5b5a9a:0x25,_0x36558a:0x7bb},_0x35a9a1={_0x3af455:0x17e},_0x2dcc82={_0x3467c4:0x48d};function _0x56bbd4(_0xf3a1b,_0x16d502,_0x218da2,_0x49f72a){return _0x47b891(_0xf3a1b,_0x218da2- -_0x2dcc82._0x3467c4,_0x218da2-0x97,_0x49f72a-0x44);}function _0x29d69f(_0x3e40be,_0x17c6f7,_0x7d9a75,_0x984163){return _0x47b891(_0x984163,_0x3e40be-0x1c8,_0x7d9a75-0x151,_0x984163-_0x35a9a1._0x3af455);}return{'shellId':_0x52d130[_0x56bbd4(0x123,-0x234,-_0x2278c8._0x5bb50d,-0xf4)],'outcome':_0x39428c,'status':_0x52d130[_0x29d69f(_0x2278c8._0x4e9ac8,0xa30,_0x2278c8._0x390239,_0x2278c8._0x23377e)],'exitCode':_0x52d130['exitCode'],'signal':_0x52d130[_0x56bbd4(0xdd,_0x2278c8._0x119bc5,_0x2278c8._0x21f78e,_0x2278c8._0x3e00c1)],'error':_0x52d130[_0x56bbd4(_0x2278c8._0x5eca61,-_0x2278c8._0x1b44fd,-_0x2278c8._0x5b2b62,-_0x2278c8._0x179e4b)],'gracefulRequested':_0x52d130[_0x56bbd4(-0x93,-_0x2278c8._0x1a8e42,_0x2278c8._0x5b5a9a,-0x5f)],'forceRequested':_0x52d130[_0x29d69f(0x82e,0x99a,_0x2278c8._0x36558a,0x78b)]};}[_0x47b891(0x4e6,0x442,0x5a4,0x4ba)](_0x4db4c2,_0x5969a7){const _0x1a8848={_0xeff363:0x5f0},_0x151d90={_0x464560:0x5af,_0x21d3ac:0x4d0},_0x1208dd={_0x2ff193:0x1d1},_0x42361a={_0x2dc5a0:0x1be,_0x435acd:0x96,_0x1c5781:0x1ef};function _0x368751(_0xef4fd6,_0x192cfb,_0x2a846b,_0x33fc97){return _0x47b891(_0x192cfb,_0x2a846b-_0x42361a._0x2dc5a0,_0x2a846b-_0x42361a._0x435acd,_0x33fc97-_0x42361a._0x1c5781);}if(_0x4db4c2['terminalSettled'])return Promise[_0x368751(0x7d9,0x7db,0x5f0,_0x1a8848._0xeff363)](!![]);return new Promise(_0x154806=>{let _0xb571ea=![];const _0x174dc6=setTimeout(()=>{if(_0xb571ea)return;_0xb571ea=!![],_0x154806(![]);},_0x5969a7);function _0x206e46(_0x231e5e,_0x53ad43,_0x166c5a,_0x5b2bd0){return _0x368751(_0x231e5e-_0x1208dd._0x2ff193,_0x231e5e,_0x53ad43- -0x304,_0x5b2bd0-0x16c);}void _0x4db4c2[_0x206e46(0x369,0x551,_0x151d90._0x464560,_0x151d90._0x21d3ac)]['then'](()=>{if(_0xb571ea)return;_0xb571ea=!![],clearTimeout(_0x174dc6),_0x154806(!![]);});});}[_0x47b891(0x3a9,0x45c,0x4ed,0x344)](_0xc72eac,_0x273e1b,_0x1c43fa,_0x61be7c){const _0x1e38f9={_0x4dfef0:0x73a,_0x4c537e:0x66a,_0xd69f70:0x848,_0x33863a:0x598,_0x51181f:0x7d9,_0x4d6371:0x8a0,_0x1d8a3f:0x6d0},_0x5a4d6b={_0x43985a:0x94},_0x39ce94={_0x1d1355:0x1bf,_0x110b52:0x190},_0x2a1cfb=_0x273e1b['write'](_0x61be7c);function _0x4f7e42(_0x5c33d7,_0x12cffa,_0x55b6ad,_0x4f6dce){return _0x47b891(_0x55b6ad,_0x4f6dce-0x1b5,_0x55b6ad-_0x39ce94._0x1d1355,_0x4f6dce-_0x39ce94._0x110b52);}function _0x3473df(_0x2a4927,_0x5b4763,_0x4c3356,_0x49067c){return _0x47b891(_0x49067c,_0x5b4763-0x147,_0x4c3356-_0x5a4d6b._0x43985a,_0x49067c-0x14b);}this[_0x3473df(_0x1e38f9._0x4dfef0,_0x1e38f9._0x4c537e,_0x1e38f9._0xd69f70,_0x1e38f9._0x33863a)](_0xc72eac,_0xc72eac[_0x3473df(0x711,0x862,_0x1e38f9._0x51181f,0xa35)]?_0x1c43fa[_0x4f7e42(_0x1e38f9._0x4d6371,0x843,0x4cf,_0x1e38f9._0x1d8a3f)](_0x2a1cfb):_0x2a1cfb);}[_0x47b891(0x51e,0x5c3,0x4c5,0x546)](_0x3d4e1b){const _0x46918a={_0x1047b6:0x1b8,_0x5f1dd8:0x1ea,_0x195cea:0x2cd,_0x3fd6a5:0x1e2,_0x40d179:0x636},_0x5a73b3={_0x3ba944:0x179,_0x571b46:0xcc};this[_0x141376(0x121,_0x46918a._0x1047b6,_0x46918a._0x5f1dd8,0x98)](_0x3d4e1b);!_0x3d4e1b[_0x554ea9(0x14c,0x318,_0x46918a._0x195cea,0x49f)]&&(_0x3d4e1b[_0x554ea9(0x298,0x368,_0x46918a._0x195cea,_0x46918a._0x3fd6a5)]=!![],_0x3d4e1b['resolveTerminal']());function _0x141376(_0x1d375d,_0x190760,_0x309001,_0x464b91){return _0xe18bb0(_0x190760,_0x1d375d-0x160,_0x309001-0x178,_0x464b91-0xf2);}function _0x554ea9(_0x36450f,_0x2167e3,_0x473004,_0x14e31){return _0xe18bb0(_0x2167e3,_0x473004-_0x5a73b3._0x3ba944,_0x473004-0xc8,_0x14e31-_0x5a73b3._0x571b46);}this[_0x554ea9(0x579,0x649,0x47c,_0x46918a._0x40d179)]();}[_0xe18bb0(-0x1fa,-0x3f,0x197,-0xd2)](_0x1f3e79){const _0x22fa5b={_0x32c36a:0x63f,_0x2d8cbf:0x61a,_0x1deb36:0x468,_0x280bc2:0x764,_0x53cb6a:0x4d5,_0x368994:0x418,_0x122edf:0x281,_0xc8abe6:0x2be,_0x3511d2:0x5b3,_0x7265b4:0x6f7,_0x1e9664:0x5b3,_0x3ce801:0x2d7,_0x271f2b:0x484,_0x4ffec0:0x723,_0xf36507:0x292,_0x4d6755:0x284,_0x5d9f5e:0x47b,_0x72fe13:0x5b3,_0xec3929:0x3cc,_0x102569:0x496,_0x3198fd:0x484,_0x2f838b:0x388,_0x1b33e4:0x4b8,_0x32375f:0x615,_0x196b7d:0x5e5,_0x5627b3:0x5c2},_0x161b4e={_0x46713d:0x48,_0x54bb32:0x178},_0x19375b={_0x258d31:0x12};function _0xf11597(_0x5d17b8,_0x5431fa,_0x530ac2,_0x14399e){return _0xe18bb0(_0x530ac2,_0x5431fa-0x1fa,_0x530ac2-0xfa,_0x14399e-_0x19375b._0x258d31);}if(_0x1f3e79[_0x2c1089(_0x22fa5b._0x32c36a,_0x22fa5b._0x2d8cbf,_0x22fa5b._0x1deb36,0x526)])return;_0x1f3e79[_0x2c1089(0x5ba,0x61a,0x540,_0x22fa5b._0x280bc2)]=!![];const _0x55e179=_0x1f3e79[_0xf11597(_0x22fa5b._0x53cb6a,_0x22fa5b._0x368994,_0x22fa5b._0x122edf,_0x22fa5b._0xc8abe6)][_0x2c1089(0x76d,_0x22fa5b._0x3511d2,_0x22fa5b._0x7265b4,0x3ce)](),_0x2d724e=_0x1f3e79['stderrDecoder'][_0x2c1089(0x416,_0x22fa5b._0x1e9664,0x3bb,0x6b0)]();function _0x2c1089(_0x127d9b,_0x24bd68,_0x49411a,_0x2d69dc){return _0x47b891(_0x49411a,_0x24bd68- -0x157,_0x49411a-_0x161b4e._0x46713d,_0x2d69dc-_0x161b4e._0x54bb32);}this[_0xf11597(_0x22fa5b._0x3ce801,0x28c,0x1d0,0x272)](_0x1f3e79,_0x1f3e79[_0xf11597(0x37a,_0x22fa5b._0x271f2b,0x37c,0x534)]?_0x1f3e79[_0x2c1089(0x5e8,0x5ff,0x4a3,_0x22fa5b._0x4ffec0)][_0xf11597(_0x22fa5b._0xf36507,_0x22fa5b._0x4d6755,0xf8,_0x22fa5b._0x5d9f5e)](_0x55e179)+_0x1f3e79['stdoutNormalizer'][_0x2c1089(0x499,_0x22fa5b._0x72fe13,0x5a8,0x5e6)]():_0x55e179),this[_0x2c1089(0x38d,_0x22fa5b._0xec3929,_0x22fa5b._0x102569,0x43a)](_0x1f3e79,_0x1f3e79[_0xf11597(0x421,_0x22fa5b._0x3198fd,0x403,_0x22fa5b._0x2f838b)]?_0x1f3e79[_0xf11597(0x311,_0x22fa5b._0x1b33e4,_0x22fa5b._0x32375f,_0x22fa5b._0x196b7d)]['write'](_0x2d724e)+_0x1f3e79[_0xf11597(0x643,0x4b8,_0x22fa5b._0x5627b3,0x335)]['end']():_0x2d724e);}[_0xe18bb0(0x158,0x92,-0x76,-0xc1)](_0x48384c,_0x34c361){const _0x9660ad={_0x69f648:0x79e,_0x4e8ff3:0x64c,_0x750f29:0x4fd,_0x4e6012:0x358,_0x15e202:0x685,_0x465391:0x8ec,_0x144a77:0x709,_0x3e0de9:0x90d,_0x34b6e9:0x60a,_0x271e78:0x95a,_0x197e21:0x31d,_0x302273:0x7fa,_0x167922:0x80f,_0x16909f:0x78b,_0x49476e:0x87f,_0xbd3ccb:0x5aa,_0xba6ea1:0x709,_0x1d5f31:0x915,_0x50471f:0x76d,_0x5ea8d3:0x661,_0x1b954:0x4fd,_0x12d5f5:0x3c0,_0x31177d:0x8f9,_0x3976d6:0x8db,_0x382867:0x359,_0x3d9875:0x471,_0x47ff0b:0x2f2,_0x3eacc6:0x2f4,_0x99cba9:0x1a3,_0x26525f:0x354,_0x481a54:0x367,_0x158926:0x484,_0x510107:0x55b,_0x1e5d06:0x662,_0x46b072:0x50b,_0x46a4c8:0x65c},_0x3050f6={_0x37e5e6:0x97},_0x487efd={_0xcb317d:0x58c,_0xe92387:0x117};if(_0x34c361[_0x194c19(0x910,0x820,0x733,_0x9660ad._0x69f648)]===0x0)return;function _0x194c19(_0x40e798,_0x3e893d,_0x143839,_0x1bdb1b){return _0xe18bb0(_0x1bdb1b,_0x143839-_0x487efd._0xcb317d,_0x143839-0xcc,_0x1bdb1b-_0x487efd._0xe92387);}_0x48384c[_0x194c19(_0x9660ad._0x4e8ff3,0x6ac,_0x9660ad._0x750f29,0x60e)][_0x194c19(0x5a1,_0x9660ad._0x4e6012,0x4b7,_0x9660ad._0x15e202)](_0x34c361),_0x48384c[_0x194c19(0x5de,_0x9660ad._0x465391,_0x9660ad._0x144a77,0x864)]+=_0x34c361[_0x194c19(_0x9660ad._0x3e0de9,0x7d5,0x733,_0x9660ad._0x34b6e9)];function _0x52d551(_0x5adec0,_0x4ffb2c,_0x48cf30,_0x544191){return _0xe18bb0(_0x5adec0,_0x48cf30-0x307,_0x48cf30-0x7a,_0x544191-_0x3050f6._0x37e5e6);}_0x48384c[_0x194c19(0x893,0x819,0x795,_0x9660ad._0x271e78)]+=_0x34c361[_0x52d551(0x423,_0x9660ad._0x197e21,0x4ae,0x57a)];while(_0x48384c['bufferChars']>this[_0x194c19(_0x9660ad._0x302273,0x6e1,_0x9660ad._0x167922,_0x9660ad._0x16909f)]){const _0x451ba4=_0x48384c[_0x194c19(_0x9660ad._0x49476e,_0x9660ad._0xbd3ccb,_0x9660ad._0xba6ea1,_0x9660ad._0x1d5f31)]-this[_0x194c19(_0x9660ad._0x50471f,_0x9660ad._0x5ea8d3,0x80f,0x695)],_0x3c13ea=_0x48384c[_0x194c19(0x58c,0x5cc,_0x9660ad._0x1b954,_0x9660ad._0x12d5f5)][0x0];if(_0x3c13ea===void 0x0)break;_0x3c13ea[_0x194c19(0x910,_0x9660ad._0x31177d,0x733,_0x9660ad._0x3976d6)]<=_0x451ba4?(_0x48384c[_0x52d551(_0x9660ad._0x382867,_0x9660ad._0x3d9875,0x278,0x22f)][_0x52d551(0x4a3,_0x9660ad._0x47ff0b,_0x9660ad._0x3eacc6,_0x9660ad._0x99cba9)](),_0x48384c[_0x52d551(_0x9660ad._0x26525f,_0x9660ad._0x481a54,_0x9660ad._0x158926,_0x9660ad._0x510107)]-=_0x3c13ea['length'],_0x48384c['totalDropped']+=_0x3c13ea['length']):(_0x48384c[_0x52d551(0x148,0x46f,0x278,0x27d)][0x0]=_0x3c13ea[_0x194c19(_0x9660ad._0x1e5d06,_0x9660ad._0x46b072,0x49c,_0x9660ad._0x46a4c8)](_0x451ba4),_0x48384c['bufferChars']-=_0x451ba4,_0x48384c[_0x194c19(0x707,0x649,0x5d3,0x464)]+=_0x451ba4);}}[_0x47b891(0x693,0x794,0x89d,0x745)](){const _0xa13ab2={_0x3dc275:0x482,_0x1def8a:0x508,_0xb473dd:0x535,_0x12b375:0x25f,_0x43b1b6:0x352,_0x8c3513:0x1c2,_0x5a8295:0x335,_0x2f3b67:0x1bd,_0x6117f0:0x9a,_0x4d73e6:0x148,_0x1ce4ff:0x2f0},_0x9a3d82={_0x47dfbe:0x45};function _0x5b5292(_0x1a3ea7,_0x29da53,_0x3a9720,_0x407db4){return _0x47b891(_0x407db4,_0x29da53- -0x461,_0x3a9720-_0x9a3d82._0x47dfbe,_0x407db4-0x114);}function _0x55972d(_0x353293,_0x4f409e,_0x1d44ff,_0x2ee465){return _0xe18bb0(_0x4f409e,_0x353293-0x325,_0x1d44ff-0xc9,_0x2ee465-0x15);}while(this['entries'][_0x55972d(0x4ce,_0xa13ab2._0x3dc275,_0xa13ab2._0x1def8a,_0xa13ab2._0xb473dd)]>this['maxEntries']){const _0x412f1a=[...this[_0x55972d(_0xa13ab2._0x12b375,0xab,0x3c5,_0xa13ab2._0x43b1b6)]['values']()][_0x5b5292(_0xa13ab2._0x8c3513,0x289,0x380,_0xa13ab2._0x5a8295)](_0x208baf=>_0x208baf[_0x55972d(0x479,0x55d,0x523,0x2e9)]&&isTerminalStatus(_0x208baf[_0x5b5292(0x13e,0x248,0x138,0x253)]))[_0x5b5292(_0xa13ab2._0x2f3b67,0x177,0x24a,_0xa13ab2._0x6117f0)]((_0x35391c,_0x3d5080)=>_0x35391c[_0x5b5292(-0x9a,0x40,-0x177,-0x1c6)]-_0x3d5080[_0x5b5292(0x10b,0x40,0x64,0x128)])[0x0];if(!_0x412f1a)return;this[_0x55972d(0x25f,_0xa13ab2._0x4d73e6,0x10d,0x3a5)][_0x55972d(0x472,_0xa13ab2._0x1ce4ff,0x4ae,0x5c4)](_0x412f1a['shellId']);}}};function createBashOutputTool(_0x4f0659){const _0x521a6f={_0x1fe987:0x5e1,_0x19162b:0x66a,_0x15536e:0x67f,_0x1ee029:0x2f6,_0x19e7e1:0x3b0,_0x6a37d4:0x488,_0x415fbe:0x4e7,_0xd76bcc:0x3d0,_0x19a4c3:0x4d3,_0x1c485a:0x553},_0x13b8c3={_0x2dcfde:0x528,_0x477a5a:0x5f9,_0x12b704:0x30e,_0x2b38d4:0x1bf,_0x420b07:0x36b,_0x1aa152:0x1c9,_0x2c6024:0xf8,_0x524978:0x3c2,_0x4f3955:0x267,_0x61e353:0x95,_0x579251:0x3a,_0x4baa60:0x18b,_0x4224b9:0x60,_0x258154:0x1e4,_0x570929:0x15a,_0x2b5941:0x246,_0x3d389b:0x152,_0xfa2e67:0x6d},_0x4790aa={_0x38c961:0x314,_0x4d5790:0x1ad};function _0x474372(_0x5acc14,_0x2ce6b5,_0x18cf67,_0x1d767f){return _0xe18bb0(_0x1d767f,_0x2ce6b5-0x3ad,_0x18cf67-0x1a9,_0x1d767f-0x1a8);}const {registry:_0x428157}=_0x4f0659;function _0x50cadb(_0x44619b,_0x2c7758,_0x7317b1,_0x1fc214){return _0xe18bb0(_0x7317b1,_0x44619b-_0x4790aa._0x38c961,_0x7317b1-_0x4790aa._0x4d5790,_0x1fc214-0xb4);}return defineTool({'name':_0x474372(0x5a6,_0x521a6f._0x1fe987,0x568,0x43e),'permissionClass':_0x474372(0x857,0x65a,_0x521a6f._0x19162b,_0x521a6f._0x15536e),'description':_0x50cadb(_0x521a6f._0x1ee029,_0x521a6f._0x19e7e1,0x424,0x285),'inputSchema':{'type':_0x474372(_0x521a6f._0x6a37d4,0x5fc,0x407,_0x521a6f._0x415fbe),'properties':{'shellId':{'type':_0x474372(_0x521a6f._0xd76bcc,_0x521a6f._0x19a4c3,0x408,0x682)},'regex':{'type':_0x474372(_0x521a6f._0x1c485a,_0x521a6f._0x19a4c3,0x5e6,0x5ea)}},'required':['shellId']},async *'execute'(_0x3cd24f){const _0x42a9f4={_0x56844b:0x120,_0xf49a23:0x1a9},_0x19ef6b={_0x1ba71f:0x141,_0x1e36d5:0xfc};function _0x49ca46(_0x157d9d,_0x39b42c,_0x4ab65c,_0x1d64e3){return _0x474372(_0x157d9d-_0x19ef6b._0x1ba71f,_0x157d9d- -0x3fd,_0x4ab65c-_0x19ef6b._0x1e36d5,_0x4ab65c);}const _0x20ae7e=_0x428157[_0x12c1e1(0x62d,_0x13b8c3._0x2dcfde,0x45b,_0x13b8c3._0x477a5a)](_0x3cd24f[_0x12c1e1(0x391,_0x13b8c3._0x12b704,_0x13b8c3._0x2b38d4,_0x13b8c3._0x420b07)],_0x3cd24f[_0x49ca46(0x15,_0x13b8c3._0x1aa152,0xa7,_0x13b8c3._0x2c6024)]?{'regex':_0x3cd24f[_0x12c1e1(_0x13b8c3._0x524978,0x3d1,0x269,0x2ae)]}:void 0x0);function _0x12c1e1(_0x312649,_0x39867b,_0x568a68,_0x410fe8){return _0x474372(_0x312649-_0x42a9f4._0x56844b,_0x568a68- -_0x42a9f4._0xf49a23,_0x568a68-0x95,_0x39867b);}return createToolOutput(_0x20ae7e[_0x49ca46(0x1d2,-0x32,0x47,_0x13b8c3._0x4f3955)],{'shellId':_0x3cd24f[_0x49ca46(-_0x13b8c3._0x61e353,_0x13b8c3._0x579251,-_0x13b8c3._0x4baa60,_0x13b8c3._0x4224b9)],'status':_0x20ae7e[_0x49ca46(0x1c8,_0x13b8c3._0x258154,0x147,_0x13b8c3._0x570929)],'exitCode':_0x20ae7e['exitCode'],'signal':_0x20ae7e[_0x12c1e1(0x406,0x2f4,0x3b0,_0x13b8c3._0x2b5941)],'error':_0x20ae7e[_0x12c1e1(0x24c,_0x13b8c3._0x3d389b,0x12a,-_0x13b8c3._0xfa2e67)],'truncated':_0x20ae7e[_0x49ca46(0xc8,0x3e,0x2cb,-0x98)]});}});}import{spawn as _0x23dbf7}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x242d07 from'os';import*as _0x421d9b from'path';import{StringDecoder as _0x5da69c}from'string_decoder';import{spawn as _0x41faa0}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x5c17d7){return _0x5c17d7 instanceof Error;}function resolveCarriageReturns(_0x356189){const _0x4ccec5={_0x8489f0:0x2ac,_0x4a6cfe:0x389,_0x2502a1:0x477,_0x22df3d:0x59c,_0x2c8d52:0x51f,_0x1fa8e6:0x3f5},_0x36c7bb={_0x4d3e86:0x1a8,_0x122a3a:0xa,_0x2e094a:0x1d5,_0x3d5ab3:0x43,_0x33160c:0x3e6,_0x4c8116:0x219,_0x2344c3:0x1ef},_0x2d72f8={_0x2bc884:0x346},_0x435456={_0x5d126e:0x9f};function _0x1ba425(_0x161757,_0x56aa96,_0x3b890d,_0x3a3cad){return _0x47b891(_0x3a3cad,_0x56aa96- -_0x435456._0x5d126e,_0x3b890d-0x155,_0x3a3cad-0x15b);}function _0x15c288(_0x390a96,_0x510793,_0x56f48b,_0x5d08e8){return _0xe18bb0(_0x56f48b,_0x510793-0x186,_0x56f48b-0x1e,_0x5d08e8-0x115);}return _0x356189[_0x1ba425(_0x4ccec5._0x8489f0,_0x4ccec5._0x4a6cfe,_0x4ccec5._0x2502a1,0x34d)]('\x0a')[_0x1ba425(0x723,0x562,0x61b,_0x4ccec5._0x22df3d)](_0x1a2ed7=>{const _0x7d9ee4={_0x360413:0x14a};if(!_0x1a2ed7['includes']('\x0d'))return _0x1a2ed7;const _0x314401=_0x1a2ed7[_0x51f942(_0x36c7bb._0x4d3e86,-_0x36c7bb._0x122a3a,_0x36c7bb._0x2e094a,_0x36c7bb._0x3d5ab3)]('\x0d');function _0x79e605(_0x46902a,_0x35ac19,_0x5a0cf2,_0x11e3df){return _0x15c288(_0x46902a-0x1a2,_0x5a0cf2-0x54,_0x35ac19,_0x11e3df-_0x7d9ee4._0x360413);}function _0x51f942(_0x3687ff,_0x5d9a0e,_0x56001d,_0xb6fe84){return _0x1ba425(_0x3687ff-0x177,_0xb6fe84- -_0x2d72f8._0x2bc884,_0x56001d-0x194,_0x5d9a0e);}return _0x314401[_0x314401[_0x51f942(_0x36c7bb._0x33160c,_0x36c7bb._0x4c8116,_0x36c7bb._0x2344c3,0x253)]-0x1]??'';})[_0x1ba425(0x303,0x4d4,_0x4ccec5._0x2c8d52,_0x4ccec5._0x1fa8e6)]('\x0a');}function resolveBackspaces(_0xaf625a){const _0x56d757={_0xd1632d:0x5a0,_0x21c22d:0x3a6,_0x2cd449:0x92,_0x5aad38:0xca,_0x4e1fdb:0x102},_0x4ed1a4={_0x1d9a49:0x1e,_0x373c7e:0x25},_0x21ce90={_0x4de1f4:0x198,_0x446259:0x101};function _0x1f5551(_0x934934,_0x2e541f,_0x28ba5a,_0x1d667f){return _0xe18bb0(_0x2e541f,_0x934934-_0x21ce90._0x4de1f4,_0x28ba5a-_0x21ce90._0x446259,_0x1d667f-0x8);}function _0x332379(_0x11f185,_0x1a77e9,_0x51a392,_0x714624){return _0x47b891(_0x1a77e9,_0x11f185-_0x4ed1a4._0x1d9a49,_0x51a392-_0x4ed1a4._0x373c7e,_0x714624-0x184);}const _0x397788=[];for(const _0x3ae47f of Array[_0x332379(0x3f8,_0x56d757._0xd1632d,_0x56d757._0x21c22d,0x3d4)](_0xaf625a)){_0x3ae47f==='\x08'?_0x397788[_0x1f5551(0x1ba,_0x56d757._0x2cd449,0x12,0x8a)]():_0x397788[_0x1f5551(0xc3,-0x1b,-_0x56d757._0x5aad38,-_0x56d757._0x4e1fdb)](_0x3ae47f);}return _0x397788['join']('');}function stripAnsiAndControls(_0x1dbcb9){const _0x1c912c={_0x4a3dce:0x720,_0x35fada:0x691,_0x1da240:0x527,_0x27e77c:0x4ab,_0x3eb742:0x7be,_0x2eb7c5:0x3c0,_0x3f0749:0x48a,_0x49a376:0x80a,_0x5cbcb5:0x774,_0x8fe5fc:0x4be,_0x2b716f:0x496,_0x2054e5:0x710,_0x59ad7c:0x834,_0x2dc743:0x68d,_0x4eddaa:0x684,_0x59bf8b:0x5aa},_0x1c32a1={_0x583762:0xc3,_0x5e6652:0x170},_0xe0ea21={_0x57cdf3:0x1aa,_0x50da0f:0x13f};_0x1dbcb9=resolveCarriageReturns(_0x1dbcb9),_0x1dbcb9=resolveBackspaces(_0x1dbcb9),_0x1dbcb9=stripVTControlCharacters(_0x1dbcb9);const _0x35ff67='\x1b',_0x5cbb4e='\x07';_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x4a3dce,_0x1c912c._0x35fada,0x5b5,_0x1c912c._0x1da240)](new RegExp(_0x5f2317(_0x1c912c._0x27e77c,0x5a1,0x5ec,0x413)+_0x5cbb4e+'\x5cn]*?'+_0x5cbb4e,'g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x3eb742,0x691,0x867,0x705)](new RegExp(_0x5f2317(0x5d1,_0x1c912c._0x2eb7c5,_0x1c912c._0x3f0749,0x23f)+_0x35ff67+'\x5c\x5c','g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x49a376,0x691,0x7f0,0x74d)](new RegExp(_0x5cbb4e,'g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x5cbcb5,_0x1c912c._0x35fada,_0x1c912c._0x8fe5fc,0x7b5)](new RegExp(_0x35ff67+_0x17c9a6(_0x1c912c._0x2b716f,0x6b1,0x535,0x51c)+_0x35ff67+'\x5c\x5c','g'),'');function _0x17c9a6(_0x161d07,_0x232ee9,_0x6a34ca,_0x42cfd0){return _0x47b891(_0x42cfd0,_0x6a34ca- -_0xe0ea21._0x57cdf3,_0x6a34ca-0x181,_0x42cfd0-_0xe0ea21._0x50da0f);}_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x2054e5,_0x1c912c._0x35fada,_0x1c912c._0x59ad7c,_0x1c912c._0x2dc743)](new RegExp(_0x35ff67+'[=>7-8()]','g'),''),_0x1dbcb9=_0x1dbcb9[_0x17c9a6(_0x1c912c._0x4eddaa,0x54e,_0x1c912c._0x59bf8b,0x553)](/[\u0080-\u009F]/g,''),_0x1dbcb9=_0x1dbcb9['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x1dbcb9=_0x1dbcb9['replace'](/[\u23CE\u2424]/g,'');function _0x5f2317(_0x425cc8,_0x288a0a,_0xd1220f,_0x3af4cd){return _0x47b891(_0x3af4cd,_0x288a0a- -_0x1c32a1._0x583762,_0xd1220f-0xe1,_0x3af4cd-_0x1c32a1._0x5e6652);}return _0x1dbcb9;}function killProcessGroup(_0x282edc,_0x31d278,_0x45a857=_0x47b891(0x536,0x56b,0x6bc,0x6c2)){const _0x25d741={_0xb820fc:0x5ba,_0x5916fd:0x4b5,_0x1acc73:0x5ce,_0x2976e4:0x4d1,_0x88f738:0x5f5,_0x4764dd:0x688,_0x1522bb:0x8a6,_0xeca62:0x666,_0x290265:0x660,_0x503379:0x5ea,_0x44bf54:0x4c9,_0x21c11b:0x42e,_0x49ed1f:0x5da,_0x3c6712:0x6c7},_0x78e6e9={_0x4f9344:0x6f},_0xfbc87c={_0x4e07bb:0x178,_0x1a0e45:0x17d};function _0x43ad98(_0x2aeeb8,_0x5469d5,_0x5ec815,_0x2c4fa4){return _0xe18bb0(_0x5469d5,_0x5ec815-0x5b6,_0x5ec815-_0xfbc87c._0x4e07bb,_0x2c4fa4-_0xfbc87c._0x1a0e45);}if(!_0x282edc[_0x50364a(_0x25d741._0xb820fc,0x6bf,0x6b2,0x71f)])return;function _0x50364a(_0x4b1e02,_0x728120,_0x201268,_0x278569){return _0x47b891(_0x728120,_0x278569-0x1bc,_0x201268-_0x78e6e9._0x4f9344,_0x278569-0x190);}if(_0x31d278)try{_0x41faa0(_0x50364a(0x574,0x5af,_0x25d741._0x5916fd,0x699),[_0x50364a(0x3c2,_0x25d741._0x1acc73,_0x25d741._0x2976e4,0x582),_0x282edc[_0x43ad98(0x86a,_0x25d741._0x88f738,_0x25d741._0x4764dd,0x7c3)][_0x43ad98(_0x25d741._0x1522bb,0x8ab,0x8ae,0x9c6)](),'/T','/F'],{'stdio':_0x43ad98(0x539,_0x25d741._0xeca62,_0x25d741._0x290265,_0x25d741._0x503379)});return;}catch{_0x282edc['kill'](_0x45a857);return;}try{process[_0x50364a(0x6d2,0x845,0x5d3,0x671)](-_0x282edc[_0x43ad98(_0x25d741._0x44bf54,0x699,0x688,0x4ee)],_0x45a857);}catch{_0x282edc[_0x43ad98(_0x25d741._0x21c11b,0x5d9,_0x25d741._0x49ed1f,_0x25d741._0x3c6712)](_0x45a857);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x47b891(0x8b4,0x758,0x7d1,0x5a2)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x1b340f,_0x2f3756,_0x9343f8){const _0x5959b9={_0x48c1bf:0x6b9,_0x1aae34:0x6a1,_0x507c9e:0x3ff,_0x217f01:0x632,_0x4e36e9:0x7f4,_0x27fe99:0x887,_0x38637e:0x235,_0x398108:0x252,_0x5a0fd2:0x444,_0x121853:0x527,_0x559692:0x3b3,_0x519e21:0x30e},_0x50948d={_0x289ef0:0xb3},_0x111c26={_0x2139dd:0x40,_0x3c60c3:0x10d},_0x4a1277={...process[_0x4913b1(_0x5959b9._0x48c1bf,0x6d3,0x4c9,_0x5959b9._0x1aae34)],..._0x1b340f??{}};function _0x4939d4(_0x1d4af4,_0x5f280f,_0x214899,_0x4690a0){return _0x47b891(_0x4690a0,_0x1d4af4- -0x2cb,_0x214899-_0x111c26._0x2139dd,_0x4690a0-_0x111c26._0x3c60c3);}function _0x4913b1(_0x185eb1,_0x56826d,_0xa1e27a,_0x551c80){return _0xe18bb0(_0x185eb1,_0x551c80-0x539,_0xa1e27a-0x12a,_0x551c80-_0x50948d._0x289ef0);}if(_0x242d07[_0x4939d4(0x45e,_0x5959b9._0x507c9e,0x464,0x3fd)]()===_0x4913b1(0x4f8,_0x5959b9._0x217f01,_0x5959b9._0x4e36e9,0x628)){const _0x3de79d=new Set(_0x2f3756[_0x4913b1(_0x5959b9._0x27fe99,0x4b0,0x756,0x6a9)](_0xe2c0bb=>_0xe2c0bb[_0x4939d4(0x3b4,0x488,0x3b6,0x442)]()));for(const _0x3e3b11 of Object[_0x4913b1(0x371,0x3ab,0x49e,0x527)](_0x4a1277)){if(_0x3de79d[_0x4913b1(0x8c1,0x7d6,0x8fa,0x7a6)](_0x3e3b11[_0x4939d4(0x3b4,_0x5959b9._0x38637e,0x45b,_0x5959b9._0x398108)]()))delete _0x4a1277[_0x3e3b11];}}else{for(const _0x38f65e of _0x2f3756)delete _0x4a1277[_0x38f65e];if(_0x9343f8['length']>0x0)for(const _0x22889d of Object[_0x4913b1(0x719,0x4cc,_0x5959b9._0x5a0fd2,_0x5959b9._0x121853)](_0x4a1277)){_0x9343f8[_0x4939d4(_0x5959b9._0x559692,0x4a8,0x4f8,_0x5959b9._0x519e21)](_0x251129=>_0x22889d[_0x4939d4(0x3ad,0x386,0x3c5,0x36a)](_0x251129))&&delete _0x4a1277[_0x22889d];}}return _0x4a1277;}function mapSpawnError(_0x535489,_0x4812a7){const _0x1c2a21={_0x226906:0x263,_0x3e11a2:0x36e,_0x596783:0x246,_0x4c4990:0x39c,_0x32433f:0x571,_0x495fd2:0x543,_0x1fb2e6:0x504,_0x5aa603:0x22f,_0xac1c74:0x23e},_0x468136={_0x584855:0x1f3,_0x5084aa:0x7d},_0x436901={_0x34e8a4:0x284,_0x3fe152:0x164,_0x24632b:0x144};function _0x1d0d48(_0x4898c6,_0x411541,_0x352daf,_0x3fd5bd){return _0xe18bb0(_0x4898c6,_0x411541-_0x436901._0x34e8a4,_0x352daf-_0x436901._0x3fe152,_0x3fd5bd-_0x436901._0x24632b);}function _0x22285a(_0x665b,_0x4fb03a,_0x4a8de6,_0x23beb9){return _0xe18bb0(_0x23beb9,_0x4a8de6-0x2a,_0x4a8de6-_0x468136._0x584855,_0x23beb9-_0x468136._0x5084aa);}if(isErrnoException2(_0x535489)&&_0x535489[_0x22285a(0x298,_0x1c2a21._0x226906,0xbe,0x254)]===_0x1d0d48(_0x1c2a21._0x3e11a2,_0x1c2a21._0x596783,_0x1c2a21._0x4c4990,0x295))return new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x4812a7[_0x1d0d48(_0x1c2a21._0x32433f,_0x1c2a21._0x495fd2,0x535,_0x1c2a21._0x1fb2e6)],_0x4812a7);return new ToolExecutionError(_0x535489 instanceof Error?_0x535489[_0x22285a(_0x1c2a21._0x5aa603,_0x1c2a21._0xac1c74,0x27f,0x490)]:String(_0x535489),_0x4812a7);}function shellExists(_0x5ea12b){const _0x2db9bb={_0x2a4aa8:0xf,_0x45f98e:0x42},_0x46c322={_0x3c0805:0x115,_0xf8f0d2:0x1b0};function _0x1294db(_0x3890a9,_0x4b6194,_0x317333,_0x1c1818){return _0x47b891(_0x317333,_0x3890a9- -0x3d5,_0x317333-_0x46c322._0x3c0805,_0x1c1818-_0x46c322._0xf8f0d2);}try{const _0x307b6b=statSync(_0x5ea12b);return _0x307b6b['isFile']()&&(_0x307b6b[_0x1294db(0x19c,0x25a,-_0x2db9bb._0x2a4aa8,-_0x2db9bb._0x45f98e)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x2f2302){const _0x558d41={_0x515332:0x2e8,_0x3a2eb7:0x325,_0x526b06:0x210,_0x116ef4:0x2ec,_0x51e938:0x67,_0x105962:0xf9,_0x5ccfc9:0x17a,_0x284e0e:0x31c,_0x1e7a1f:0x444,_0xb3882b:0x27d,_0x233078:0x1e,_0x45cf27:0x2d4,_0x35f26b:0x168,_0x48dd68:0x1bc,_0x35706c:0x98,_0x37ba57:0x39d,_0x41bf3c:0x442,_0x251aca:0x37d,_0xeb5831:0x483,_0x135d5c:0xde,_0x112a54:0xf5},_0x19a1c2={_0x3109c7:0x88,_0x2a4c79:0x1c7,_0x278c4d:0xbf},_0x522526={_0x3a26a7:0x31,_0x303727:0x96};if(_0x2f2302)return _0x2f2302;function _0x736c8c(_0x44ce5d,_0x393d91,_0x41e5f7,_0x2c09f6){return _0xe18bb0(_0x393d91,_0x41e5f7-0x1b4,_0x41e5f7-_0x522526._0x3a26a7,_0x2c09f6-_0x522526._0x303727);}if(_0x242d07[_0x3d8616(_0x558d41._0x515332,_0x558d41._0x3a2eb7,_0x558d41._0x526b06,_0x558d41._0x116ef4)]()===_0x3d8616(0xf6,0x1d8,_0x558d41._0x51e938,-_0x558d41._0x105962))return process[_0x736c8c(0x315,_0x558d41._0x5ccfc9,_0x558d41._0x284e0e,0x37b)][_0x3d8616(_0x558d41._0x1e7a1f,0x448,_0x558d41._0xb3882b,0x110)]||_0x3d8616(-_0x558d41._0x233078,_0x558d41._0x45cf27,0x105,0x1d9);const _0x4bfb91=[_0x3d8616(-_0x558d41._0x35f26b,-_0x558d41._0x48dd68,-_0x558d41._0x35706c,0x164),_0x3d8616(-0xe,0x63,-0x147,-0x55),_0x3d8616(_0x558d41._0x37ba57,0x323,0x276,_0x558d41._0x41bf3c),_0x736c8c(_0x558d41._0x251aca,0x4ba,_0x558d41._0xeb5831,0x56d)];for(const _0x17a058 of _0x4bfb91){if(shellExists(_0x17a058))return _0x17a058;}function _0x3d8616(_0x38c581,_0x3c96e9,_0x559a2d,_0x3bcba8){return _0xe18bb0(_0x3bcba8,_0x559a2d- -_0x19a1c2._0x3109c7,_0x559a2d-_0x19a1c2._0x2a4c79,_0x3bcba8-_0x19a1c2._0x278c4d);}const _0x4193ca=process['env'][_0x3d8616(_0x558d41._0x135d5c,0x248,0x136,-0xa1)];if(_0x4193ca&&shellExists(_0x4193ca))return _0x4193ca;return _0x3d8616(-0x68,-_0x558d41._0x112a54,-0x98,-0x1d6);}function buildShellArgs(_0x472702,_0x466654){const _0x145e96={_0x10c0f3:0x77f,_0x166b57:0x8f5,_0x5c6154:0x8f6,_0xf7e874:0x318,_0x175ce6:0x2ea,_0x4202e9:0x4ca,_0x2d7985:0x443,_0x2a874d:0x8c7,_0xbaa94b:0x69e,_0x728950:0x89e,_0x37eb81:0x389,_0x2678dd:0x435,_0x38b847:0x4f6,_0x1e17da:0x188,_0x53afab:0x5cc},_0x32806b={_0x1a60dd:0x268};function _0x3a26ce(_0x5133e0,_0x793249,_0x4b4c51,_0x465aa6){return _0x47b891(_0x4b4c51,_0x5133e0- -_0x32806b._0x1a60dd,_0x4b4c51-0xed,_0x465aa6-0x176);}function _0x25df13(_0x5dc324,_0x2a6a07,_0x502304,_0x2016d1){return _0xe18bb0(_0x2016d1,_0x502304-0x65e,_0x502304-0xff,_0x2016d1-0xc4);}if(_0x242d07[_0x25df13(_0x145e96._0x10c0f3,_0x145e96._0x166b57,_0x145e96._0x5c6154,0xa44)]()===_0x3a26ce(_0x145e96._0xf7e874,_0x145e96._0x175ce6,_0x145e96._0x4202e9,_0x145e96._0x2d7985)){const _0x3953b8=/cmd(\.exe)?$/i[_0x25df13(_0x145e96._0x2a874d,_0x145e96._0xbaa94b,_0x145e96._0x728950,0x8a2)](_0x466654);return _0x3953b8?['/d','/s','/c',_0x472702]:[_0x3a26ce(_0x145e96._0x37eb81,0x22c,_0x145e96._0x2678dd,_0x145e96._0x38b847),_0x3a26ce(0x132,0x152,_0x145e96._0x1e17da,0xae),_0x3a26ce(0x3ed,0x54a,0x527,_0x145e96._0x53afab),_0x472702];}return['-c',_0x472702];}function resolveWorkingDirectory(_0x142e76,_0x2ecbc9,_0x5b4ff2){const _0x193cf6={_0x1b4802:0x25a,_0xf88b6e:0x431,_0x1b62f0:0x137,_0x412268:0x403,_0x3040a3:0x2fe,_0x55bf7a:0x4be,_0x35f14b:0x4bd,_0x34114a:0x550},_0x570134={_0x1ab3da:0xcc,_0x2560e3:0x31,_0x1a1d62:0x10c,_0x550396:0x4c,_0x571bab:0x16d},_0x2665e1={_0x5c2d5a:0x3d9,_0xe237b8:0x15e},_0xc476c8={_0x396998:0xf9,_0x5e3a4c:0x160},_0x16c061={_0x2aefa1:0x101},_0x108150=resolveAllowedPath(_0x2ecbc9,_0x5b4ff2,_0x142e76??'.');function _0x48347a(_0x47bb1c,_0x45ddbb,_0x583b9e,_0x1cb695){return _0xe18bb0(_0x45ddbb,_0x47bb1c-0x34d,_0x583b9e-_0x16c061._0x2aefa1,_0x1cb695-0x99);}function _0x216793(_0x5ce862,_0x128b4a,_0x2a0278,_0x1260fa){return _0x47b891(_0x128b4a,_0x5ce862- -_0xc476c8._0x396998,_0x2a0278-0x198,_0x1260fa-_0xc476c8._0x5e3a4c);}try{const _0x280988=statSync(_0x108150);if(!_0x280988[_0x48347a(_0x193cf6._0x1b4802,_0x193cf6._0xf88b6e,_0x193cf6._0x1b62f0,0x1fe)]())throw new ToolExecutionError(_0x48347a(_0x193cf6._0x412268,_0x193cf6._0x3040a3,_0x193cf6._0x55bf7a,0x60d)+_0x108150,{'cwd':_0x108150});const _0x2a6e34=realpathSync(_0x108150),_0x39ee0b=realpathSync(_0x2ecbc9),_0x5921ea=_0x5b4ff2[_0x48347a(_0x193cf6._0x35f14b,0x5a8,_0x193cf6._0x34114a,0x4c4)](_0x18b800=>{const _0x4f6cd2={_0x47d6b0:0x276,_0x16aeb2:0xc5};function _0x438492(_0x1ee770,_0x533ccc,_0x406807,_0x523336){return _0x216793(_0x406807- -_0x4f6cd2._0x47d6b0,_0x533ccc,_0x406807-0x17f,_0x523336-_0x4f6cd2._0x16aeb2);}function _0x21b961(_0x380548,_0x1efc55,_0x332811,_0x49b085){return _0x48347a(_0x49b085- -_0x2665e1._0x5c2d5a,_0x1efc55,_0x332811-_0x2665e1._0xe237b8,_0x49b085-0xc9);}try{return realpathSync(_0x421d9b[_0x438492(0xbe,-_0x570134._0x1ab3da,0xc3,_0x570134._0x2560e3)](_0x18b800));}catch{return _0x421d9b[_0x21b961(-_0x570134._0x1a1d62,_0x570134._0x550396,-_0x570134._0x571bab,-0xeb)](_0x18b800);}});return resolveAllowedPath(_0x39ee0b,_0x5921ea,_0x2a6e34);}catch(_0x4194ea){if(_0x4194ea instanceof ToolExecutionError)throw _0x4194ea;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x108150,{'cwd':_0x108150});}}function resolveBashExecutionTarget(_0x417343,_0x1e0b0b={}){const _0x4afcf1={_0x46ec29:0x6c5,_0x3da681:0x53e,_0x424eee:0x6e1,_0x2715b5:0x729,_0x3d0e4f:0x495,_0x10c053:0x65f,_0x1a8800:0x8ca,_0x4ae101:0x52f,_0x52adb3:0x374,_0xf08105:0x52c,_0xd7474d:0x6d1,_0x31a6a5:0x425},_0x2450df={_0x4e6687:0x52,_0x9b7100:0x48},_0x57561f=_0x421d9b[_0x4cd012(_0x4afcf1._0x46ec29,0x3be,_0x4afcf1._0x3da681,0x35e)](_0x1e0b0b[_0x4cd012(_0x4afcf1._0x424eee,_0x4afcf1._0x2715b5,0x571,0x39b)]??process[_0x4cd012(0x3d2,_0x4afcf1._0x3d0e4f,0x513,_0x4afcf1._0x10c053)]()),_0x1e7194=resolveDefaultShell(_0x1e0b0b[_0x4cd012(0x784,0x910,0x85c,_0x4afcf1._0x1a8800)]);function _0x4f2931(_0x2a281d,_0xdc141e,_0x1b2c3a,_0x5679a6){return _0x47b891(_0x2a281d,_0x5679a6- -0x20a,_0x1b2c3a-_0x2450df._0x4e6687,_0x5679a6-_0x2450df._0x9b7100);}function _0x4cd012(_0x34c28e,_0xeb80b9,_0x1a9b57,_0x2154bc){return _0xe18bb0(_0x2154bc,_0x1a9b57-0x59d,_0x1a9b57-0x1e3,_0x2154bc-0xf0);}return{'command':_0x417343[_0x4f2931(_0x4afcf1._0x4ae101,_0x4afcf1._0x52adb3,0x4d6,0x55b)],'cwd':resolveWorkingDirectory(_0x417343['cwd'],_0x57561f,_0x1e0b0b[_0x4cd012(0x443,_0x4afcf1._0xf08105,0x63e,_0x4afcf1._0xd7474d)]??[]),'shellPath':_0x1e7194,'dialect':resolveShellDialect(_0x1e7194),'background':_0x417343[_0x4cd012(0x44c,_0x4afcf1._0x31a6a5,0x565,0x470)]??![]};}function resolveShellDialect(_0x17d4b4){const _0x25a516={_0x40a6bf:0x646,_0x5a7229:0x468,_0xb5821c:0x44b,_0x114be0:0x234,_0x39fb4f:0x462,_0x3dc9d4:0x21d,_0x24b7b2:0x2d,_0x3824a3:0x102,_0x407aa3:0x1de,_0x1b37af:0xcb,_0x18dcb5:0xa7,_0x312132:0x3bf,_0x5eb6db:0x528,_0x1ec548:0x513,_0x439325:0x31d,_0x179206:0x567,_0x41a505:0x3e9,_0x2d5b29:0x3d3,_0x2fc8c8:0x195,_0x54365a:0xff,_0x2458a4:0x1a5,_0xd130dd:0x3ce,_0x4c45ed:0x122,_0x1d240c:0xd9},_0x252f55={_0x3a56df:0x176},_0x43cd40={_0x5b2212:0x1b3,_0x117e2f:0xb1};if(_0x242d07[_0x2f250d(0x337,_0x25a516._0x40a6bf,_0x25a516._0x5a7229,_0x25a516._0xb5821c)]()===_0x2f250d(_0x25a516._0x114be0,_0x25a516._0x39fb4f,0x2a5,0x2a2))return _0x2f250d(_0x25a516._0x3dc9d4,0x46,_0x25a516._0x24b7b2,0xfe);const _0x332e44=_0x421d9b[_0x2f250d(-_0x25a516._0x3824a3,_0x25a516._0x407aa3,_0x25a516._0x1b37af,_0x25a516._0x18dcb5)](_0x17d4b4)['toLowerCase']();function _0x2f250d(_0x4dfe12,_0xb8aff3,_0x1bd1c7,_0x302720){return _0xe18bb0(_0xb8aff3,_0x302720-_0x43cd40._0x5b2212,_0x1bd1c7-_0x43cd40._0x117e2f,_0x302720-0x121);}function _0x292c11(_0x1c36f5,_0x27f564,_0x417078,_0x39661e){return _0x47b891(_0x27f564,_0x1c36f5- -0x2f2,_0x417078-_0x252f55._0x3a56df,_0x39661e-0x174);}if(_0x332e44===_0x292c11(_0x25a516._0x312132,_0x25a516._0x5eb6db,_0x25a516._0x1ec548,_0x25a516._0x439325))return _0x2f250d(_0x25a516._0x179206,0x3d5,_0x25a516._0x41a505,_0x25a516._0x2d5b29);if(_0x332e44==='sh'||_0x332e44===_0x292c11(_0x25a516._0x2fc8c8,0x7f,_0x25a516._0x54365a,_0x25a516._0x2458a4))return _0x292c11(0x2b2,_0x25a516._0xd130dd,_0x25a516._0x4c45ed,_0x25a516._0x1d240c);return'unknown';}function emitChunk(_0x12400d,_0x1a3779,_0x3a9c4d,_0x25e98c){const _0x538c5e={_0x5e8ffe:0x5f2},_0x5c3f51={_0x411846:0x190,_0x704184:0x1d9};_0x12400d[_0x351480(0x478,_0x538c5e._0x5e8ffe,0x54c,0x449)](_0x3a9c4d);function _0x351480(_0x9e9834,_0x4b154c,_0x45bf27,_0x54ba2e){return _0x47b891(_0x54ba2e,_0x45bf27-_0x5c3f51._0x411846,_0x45bf27-0xf8,_0x54ba2e-_0x5c3f51._0x704184);}_0x1a3779['push'](_0x3a9c4d),_0x25e98c();}function appendChunk(_0x251fa7,_0x3e51e0,_0x320bb0,_0x132d0a,_0x390d9a,_0x54fbed){const _0x205f4c={_0x2eecaf:0x13a,_0x661f27:0x15,_0x994304:0x2b9,_0x5d08af:0x1ea,_0x4c5176:0x15b,_0x1e2d77:0x17d,_0x33c2ac:0x208,_0x470007:0x1c4,_0x24ed9d:0x1fd,_0x5adf0a:0x1bf,_0x43a8ae:0x1e8,_0x41f2b8:0x51,_0x159207:0x163,_0x4be4ac:0x355,_0x4f9ec2:0x167,_0x2790e7:0xe9,_0xd5eca8:0x231,_0x589051:0x7c,_0x59061f:0x96,_0x35534d:0x101,_0x13ffdc:0x115},_0x22375a={_0x441b83:0x194,_0x14a2f9:0x89},_0x4aee36={_0x582b84:0xe7},_0x195dd6=_0x132d0a?stripAnsiAndControls(_0x320bb0):_0x320bb0;if(_0x195dd6['length']===0x0)return;function _0x597d5c(_0x2391f0,_0x59bb2c,_0x22b760,_0x12b65d){return _0x47b891(_0x22b760,_0x12b65d- -0x4d1,_0x22b760-_0x4aee36._0x582b84,_0x12b65d-0x11d);}if(!_0x54fbed){emitChunk(_0x251fa7,_0x3e51e0,_0x195dd6,_0x390d9a);return;}let _0x303d58=0x0,_0x2bd067=_0x195dd6[_0x7e5f78(0x3fe,0x467,0x42d,0x5bf)]('\x0a');function _0x7e5f78(_0x4dd471,_0x104c39,_0xee92d4,_0x5f1bf1){return _0xe18bb0(_0x104c39,_0x5f1bf1-0x2be,_0xee92d4-_0x22375a._0x441b83,_0x5f1bf1-_0x22375a._0x14a2f9);}while(_0x2bd067>=0x0){_0x54fbed[_0x597d5c(-0x6f,-0x244,-0xc7,-_0x205f4c._0x2eecaf)][_0x7e5f78(_0x205f4c._0x661f27,_0x205f4c._0x994304,_0x205f4c._0x5d08af,0x1e9)](_0x195dd6[_0x597d5c(-_0x205f4c._0x4c5176,-_0x205f4c._0x1e2d77,-_0x205f4c._0x33c2ac,-0x130)](_0x303d58,_0x2bd067));const _0xe7eb55=_0x54fbed[_0x7e5f78(0xf4,-0x10,0x75,_0x205f4c._0x470007)]['join']('');_0x54fbed['trailingChunks']['length']=0x0,_0x54fbed[_0x597d5c(_0x205f4c._0x24ed9d,0x1f8,-_0x205f4c._0x5adf0a,0x25)][_0x597d5c(_0x205f4c._0x43a8ae,0x243,_0x205f4c._0x41f2b8,0x200)](_0xe7eb55)&&emitChunk(_0x251fa7,_0x3e51e0,_0xe7eb55+'\x0a',_0x390d9a),_0x303d58=_0x2bd067+0x1,_0x2bd067=_0x195dd6['indexOf']('\x0a',_0x303d58);}_0x303d58<_0x195dd6[_0x597d5c(_0x205f4c._0x159207,0x305,_0x205f4c._0x4be4ac,_0x205f4c._0x4f9ec2)]&&_0x54fbed[_0x7e5f78(0x373,_0x205f4c._0x2790e7,_0x205f4c._0xd5eca8,_0x205f4c._0x470007)][_0x597d5c(-_0x205f4c._0x589051,_0x205f4c._0x59061f,-_0x205f4c._0x35534d,-_0x205f4c._0x13ffdc)](_0x195dd6['slice'](_0x303d58));}function flushOutputRegex(_0x3a2d22,_0x39953b,_0x30e9a5,_0x2e1ef2){const _0x3871c8={_0x1d30aa:0x2c5,_0x3156f5:0x296,_0x477f96:0x5b,_0x3a0782:0x68e,_0x344ac7:0x51,_0x1d6264:0x0,_0x4f26bc:0x1d2,_0x37e9af:0x4c6,_0x5148ec:0x1eb,_0x17227a:0x384,_0x304db8:0x6e3},_0x5de4c0={_0x59078e:0x172,_0x45af91:0x124},_0x45a63e={_0x23bd07:0x397,_0x356a25:0x60};function _0x2c2a86(_0x47417b,_0x407d08,_0x37fbd1,_0x5e0cf9){return _0x47b891(_0x47417b,_0x5e0cf9- -_0x45a63e._0x23bd07,_0x37fbd1-0x15c,_0x5e0cf9-_0x45a63e._0x356a25);}function _0x103864(_0x19ac53,_0x4258c3,_0x4396b5,_0x23ffec){return _0x47b891(_0x4396b5,_0x4258c3- -_0x5de4c0._0x59078e,_0x4396b5-0x1cd,_0x23ffec-_0x5de4c0._0x45af91);}if(!_0x30e9a5||_0x30e9a5[_0x103864(_0x3871c8._0x1d30aa,0x225,_0x3871c8._0x3156f5,_0x3871c8._0x477f96)][_0x103864(0x384,0x4c6,_0x3871c8._0x3a0782,0x352)]===0x0)return;const _0x42dd55=_0x30e9a5[_0x2c2a86(_0x3871c8._0x344ac7,-0x62,-0x1ae,_0x3871c8._0x1d6264)][_0x2c2a86(_0x3871c8._0x4f26bc,0x82,0xcd,0x1dc)]('');_0x30e9a5['trailingChunks'][_0x103864(0x39b,_0x3871c8._0x37e9af,0x316,0x622)]=0x0,_0x30e9a5[_0x103864(_0x3871c8._0x5148ec,_0x3871c8._0x17227a,0x224,0x25a)][_0x103864(0x5de,0x55f,0x3b0,_0x3871c8._0x304db8)](_0x42dd55)&&emitChunk(_0x3a2d22,_0x39953b,_0x42dd55,_0x2e1ef2);}function createBashTool(_0xf4a085={}){const _0x1d5bfa={_0x3a3b87:0x408,_0x29c113:0x4c3,_0x249814:0x673,_0x2bc1a3:0x465,_0x149532:0x4db,_0x2cb711:0x88e,_0x4556c9:0x997,_0x345d22:0x900,_0x4c9796:0x306,_0x5f36f7:0x366,_0x39d6c1:0x3f9,_0x29f14d:0x51e,_0x164140:0x370,_0x4d7b56:0x79d,_0x3ff1dc:0x837,_0x5432cf:0x70f,_0xbe9830:0x2ba,_0x1750c7:0x3ed,_0x15f7a4:0x544,_0x2ab06c:0x4ee,_0x203188:0x615,_0x5572b6:0x44f,_0x31bd3d:0x5cc,_0x4bcb54:0x6e8,_0x3bf1f4:0x530,_0x4dcbb5:0x204,_0x36c58b:0x78d,_0x74faec:0x882,_0x361ba2:0x5a7,_0x3e977c:0x7a2,_0x29ea40:0x7d7,_0x13d8c6:0x907,_0x34b84c:0x736},_0x53e2b4={_0x487465:0x1f1,_0x579c13:0x67,_0x5aa326:0x36,_0x5ab45e:0x1c1,_0x4675c2:0x951,_0x168fba:0x8ad,_0x2c8b03:0xa85,_0x4cccaf:0x26,_0x4be65c:0xf,_0x355f6b:0x109,_0x365300:0x83e,_0x1914e4:0x760,_0x3c9826:0x53e,_0x17250c:0x811,_0x17fb69:0x1c8,_0x2526e1:0x34d,_0xcd0d3e:0x185,_0x154303:0x6da,_0x4aabb0:0x8c0,_0x477784:0x6a8,_0x19dacb:0x4b6,_0x21c8a3:0x645,_0x196375:0xd2,_0x2b8162:0xe7,_0x384a6a:0x1b3,_0x1df1a1:0x535,_0x54796e:0x988,_0x5c5af3:0x966,_0x2cd635:0x91a,_0xe49e8a:0x8a9,_0x7e5724:0x764,_0x3dc7ee:0x78c,_0x599d6f:0x65d,_0x603045:0x7ee,_0x57e05b:0x1b8,_0x1f8aa2:0x2da,_0x4427e9:0xfb,_0x3823c2:0xf9,_0x247576:0x261,_0x1f58bd:0x93b,_0x548ca4:0xa56,_0x4b8d61:0xb1,_0x5c1da4:0x22d,_0x4d7991:0xb,_0x4366a4:0x307,_0x3fb9d2:0xf9,_0x1d7606:0x208,_0x3a52ac:0x69e,_0x3d4de9:0x4a9,_0x445196:0x657,_0x3cf360:0x649,_0x511c2e:0x4c7,_0xf2c29b:0x458,_0x586a95:0x499,_0x4e7f23:0xbf,_0x571309:0x2c9,_0x47433d:0xfb,_0x284b5a:0x100,_0x325572:0x64d,_0x2efa2c:0x43c,_0x5d81d9:0x18b,_0x2b99ef:0x54d,_0x2df43f:0x39b,_0x3db74d:0x5eb,_0x375dfb:0x787,_0x3337bd:0x740,_0x329486:0x18f,_0x3be7dd:0x2ca,_0x5bc6a9:0x245,_0xff87be:0x65e,_0x38c79f:0x67d,_0x500147:0x69b,_0x394208:0x7c9,_0x278e41:0x7cd,_0x78cc36:0x8e8,_0x1e6e39:0x73c,_0x10d279:0x71a,_0x509854:0x81c,_0x38fc81:0x9e6,_0xc730dc:0x869,_0x19df1f:0x61b,_0x415e55:0x21,_0x2ede8c:0x308,_0x38c0df:0x79e,_0x15c519:0x65e,_0x565fec:0xa9,_0x2e21c7:0x22,_0x3d5c9b:0x268,_0x18d322:0x292,_0x362ca0:0x1d5,_0x57abd6:0x1a0,_0x1c8edb:0x839,_0x2e1c1e:0x8ac,_0x1f4ebb:0x7ef,_0x35698e:0x4af,_0x3f3f81:0x858,_0x447762:0x86c,_0x2a0482:0x831,_0x1c72cb:0x680,_0x1d414f:0xd9,_0x39ac8c:0x9b,_0x35a952:0x825,_0x3a4179:0x8fa,_0x2b4c6e:0xa3c,_0x83adef:0x795,_0x384957:0x119,_0xf155bc:0x71e,_0x988c21:0x618,_0x3eb105:0x911,_0x4565b0:0x31,_0x5bd1b3:0x242,_0x365d61:0xc,_0xf0202b:0x900,_0x504708:0xa39,_0xab1f19:0x18c,_0xc4f152:0x5d,_0x1d49c1:0x136,_0xeb4f44:0x144,_0x4d7d63:0xc8,_0x118524:0xf3,_0x33f208:0x83c,_0x26c6fd:0x79c,_0x460ab9:0x11e,_0x141281:0x180,_0x49fa42:0x12f,_0x5c90b5:0x223,_0x1fd1c7:0x5e,_0x2aa747:0xba,_0x3ccbf6:0x96,_0x2e5e75:0x4e},_0x3655eb={_0x10942a:0xad4,_0x180bff:0x908,_0x3d7d5e:0x7b4,_0xf82aa8:0x8c2,_0x1655ef:0x232,_0x51f7bf:0x34b},_0x276690={_0x92408f:0x4e6,_0x1f30b3:0x52f},_0x25ed3d={_0x18f932:0x78,_0x10f3d5:0xa1,_0x25fd59:0x16e},_0x317605={_0x58b0ab:0x1c8},_0x696844={_0x1b044f:0x5e},_0x387e54={_0x296796:0xc6};function _0x57dd2c(_0x3426ec,_0x3f3809,_0xfe25c5,_0x9bc17e){return _0x47b891(_0x3426ec,_0x9bc17e- -0x2f,_0xfe25c5-_0x387e54._0x296796,_0x9bc17e-0x22);}function _0x319dfa(_0x562498,_0x862d99,_0x4cb147,_0x1801c3){return _0x47b891(_0x562498,_0x1801c3-_0x696844._0x1b044f,_0x4cb147-0x155,_0x1801c3-0x148);}const _0x2bd249=_0x421d9b['resolve'](_0xf4a085[_0x319dfa(0x301,_0x1d5bfa._0x3a3b87,0x3b9,_0x1d5bfa._0x29c113)]??process[_0x319dfa(0x546,_0x1d5bfa._0x249814,0x370,_0x1d5bfa._0x2bc1a3)]()),_0x530b64=_0xf4a085[_0x57dd2c(_0x1d5bfa._0x149532,0x6d6,0x681,0x503)]??[],_0x5b9ff9=_0xf4a085[_0x319dfa(_0x1d5bfa._0x2cb711,_0x1d5bfa._0x4556c9,0x765,0x7f5)]??DEFAULT_TIMEOUT_MS,_0x512d24=_0xf4a085[_0x319dfa(0x624,_0x1d5bfa._0x345d22,0x648,0x779)]??!![],_0x541e49=_0xf4a085['name']??'Bash',_0x4b709c=_0xf4a085[_0x57dd2c(0x1ae,0x328,_0x1d5bfa._0x4c9796,_0x1d5bfa._0x5f36f7)]??[],_0x5234fc=_0xf4a085[_0x319dfa(0x5e4,0x308,0x3a4,_0x1d5bfa._0x39d6c1)]??[],_0x5efd2a=_0xf4a085[_0x57dd2c(0x2e7,_0x1d5bfa._0x29f14d,0x4a6,_0x1d5bfa._0x164140)];return defineTool({'name':_0x541e49,'permissionClass':_0x57dd2c(_0x1d5bfa._0x4d7b56,0x908,_0x1d5bfa._0x3ff1dc,_0x1d5bfa._0x5432cf),'description':_0xf4a085[_0x319dfa(0x33d,_0x1d5bfa._0xbe9830,0x57a,_0x1d5bfa._0x1750c7)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x57dd2c(_0x1d5bfa._0x15f7a4,_0x1d5bfa._0x2ab06c,0x682,0x6b1),'properties':{'command':{'type':'string'},'description':{'type':_0x319dfa(0x754,0x53e,0x5f8,_0x1d5bfa._0x203188),'description':_0x319dfa(_0x1d5bfa._0x5572b6,_0x1d5bfa._0x31bd3d,_0x1d5bfa._0x4bcb54,_0x1d5bfa._0x3bf1f4)},'cwd':{'type':'string'},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x319dfa(0x4d8,0x6f0,0x7bf,0x615),'description':_0x57dd2c(0x2c1,_0x1d5bfa._0x4dcbb5,0x3bc,0x35f)},'runInBackground':{'type':_0x319dfa(_0x1d5bfa._0x36c58b,_0x1d5bfa._0x74faec,_0x1d5bfa._0x361ba2,_0x1d5bfa._0x3e977c)}},'required':[_0x57dd2c(0x8bf,_0x1d5bfa._0x29ea40,_0x1d5bfa._0x13d8c6,_0x1d5bfa._0x34b84c),'description']},async *'execute'(_0x1910e4,_0x47ffcc){const _0x5cd41b={_0x5f3ff7:0x1cb,_0x4c2d63:0x310,_0x5e6a20:0xe6,_0x4b6eaf:0x156,_0xf454e5:0x22f,_0x1709cb:0x914,_0x27eaa6:0x765},_0x3f2131={_0x37b604:0x128,_0x63cfbf:0x1eb},_0x83683e={_0x18f009:0x871,_0x237bfe:0x90d},_0x5201cc={_0x5dfe39:0x636,_0x3392af:0x4f},_0x1e797d={_0x250f69:0x41b,_0x5bc2f6:0xaaa,_0x259b19:0x8bd},_0x54c51c={_0x34db6b:0x68,_0x2d1c38:0x15},_0x17e950={_0x4dec9a:0x8ba},_0x4928cd={_0x25866f:0x1eb,_0x11d0fc:0x230},_0x5ee794=_0x1910e4['timeoutMs']??_0x5b9ff9;if(!Number[_0x4d7ccf(0x10b,0x22e,_0x53e2b4._0x487465,0x3f6)](_0x5ee794)||_0x5ee794<0x1)throw new ToolExecutionError(_0x4d7ccf(_0x53e2b4._0x579c13,-_0x53e2b4._0x5aa326,0x7,-_0x53e2b4._0x5ab45e),{'command':_0x1910e4['command']});throwIfAborted(_0x47ffcc[_0x4ac829(0x83e,0x681,0x697,0xa47)]);const _0x35b1d5=_0x1910e4['ignoreOutput']??![],_0x2bfc3a=resolveBashExecutionTarget(_0x1910e4,{'defaultCwd':_0x2bd249,'allowedDirs':_0x530b64,'shellPath':_0xf4a085[_0x4ac829(_0x53e2b4._0x4675c2,_0x53e2b4._0x168fba,0x8c9,0x8ed)]}),{cwd:_0x53d89b,shellPath:_0x793c66}=_0x2bfc3a,_0x2f44f6=buildShellArgs(_0x1910e4[_0x4ac829(0x966,0xb75,_0x53e2b4._0x2c8b03,0x79c)],_0x793c66),_0x5bc38a=_0x242d07['platform']()==='win32',_0x3a3be5=buildChildEnv(_0xf4a085['env'],_0x4b709c,_0x5234fc);if(_0x1910e4[_0x4d7ccf(-_0x53e2b4._0x4cccaf,-0x16a,-_0x53e2b4._0x4be65c,-_0x53e2b4._0x355f6b)]){if(!_0x5efd2a)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x1910e4[_0x4ac829(0x966,0xb69,0xa90,0xb58)]});throwIfAborted(_0x47ffcc[_0x4ac829(_0x53e2b4._0x365300,0x85a,0x93f,_0x53e2b4._0x1914e4)]),await _0xf4a085[_0x4ac829(0x66b,0x50d,_0x53e2b4._0x3c9826,_0x53e2b4._0x17250c)]?.(_0x2bfc3a,_0x47ffcc[_0x4d7ccf(_0x53e2b4._0x17fb69,_0x53e2b4._0x2526e1,_0x53e2b4._0xcd0d3e,0x305)],_0x47ffcc),throwIfAborted(_0x47ffcc[_0x4ac829(0x83e,_0x53e2b4._0x154303,0x904,_0x53e2b4._0x4aabb0)]);const _0x50ce36=_0x5efd2a[_0x4ac829(_0x53e2b4._0x477784,_0x53e2b4._0x19dacb,0x6ca,_0x53e2b4._0x21c8a3)]();let _0x4301dc;try{_0x4301dc=_0x23dbf7(_0x793c66,_0x2f44f6,{'cwd':_0x53d89b,'env':_0x3a3be5,'stdio':[_0x4d7ccf(_0x53e2b4._0x196375,0x71,0xd3,0x253),'pipe',_0x4d7ccf(0x1c9,_0x53e2b4._0x2b8162,_0x53e2b4._0x384a6a,0xd1)],'shell':![],'windowsHide':!![],'detached':!_0x5bc38a});}catch(_0x2438cb){_0x5efd2a[_0x4ac829(0x6cb,0x69b,_0x53e2b4._0x1df1a1,0x516)](_0x50ce36);throw mapSpawnError(_0x2438cb,{'command':_0x1910e4[_0x4ac829(0x966,0x7ae,0x820,_0x53e2b4._0x54796e)],'cwd':_0x53d89b,'shellPath':_0x793c66});}let _0x456e05;try{_0x456e05=_0x5efd2a['attach'](_0x50ce36,{'child':_0x4301dc,'command':_0x1910e4[_0x4ac829(_0x53e2b4._0x5c5af3,0x9ef,_0x53e2b4._0x2cd635,_0x53e2b4._0xe49e8a)],'cwd':_0x53d89b,'stripAnsi':_0x512d24,...!_0x5bc38a&&_0x4301dc[_0x4ac829(_0x53e2b4._0x7e5724,_0x53e2b4._0x3dc7ee,_0x53e2b4._0x599d6f,_0x53e2b4._0x603045)]!==void 0x0?{'processGroupId':_0x4301dc[_0x4d7ccf(_0x53e2b4._0x57e05b,_0x53e2b4._0x1f8aa2,_0x53e2b4._0x4427e9,-_0x53e2b4._0x3823c2)]}:{}});}catch(_0xf61c77){_0x5efd2a[_0x4d7ccf(_0x53e2b4._0x247576,-0xac,0x62,-0x1a1)](_0x50ce36),_0x4301dc[_0x4ac829(_0x53e2b4._0x1f58bd,0x9b8,0x8f6,_0x53e2b4._0x548ca4)](_0x4d7ccf(0x6f,_0x53e2b4._0x2b8162,-_0x53e2b4._0x4b8d61,-_0x53e2b4._0x5c1da4),()=>{});try{killProcessGroup(_0x4301dc,_0x5bc38a);}catch{}throw _0xf61c77;}return createToolOutput(_0x4d7ccf(_0x53e2b4._0x4d7991,_0x53e2b4._0x4366a4,_0x53e2b4._0x3fb9d2,_0x53e2b4._0x1d7606)+_0x456e05[_0x4ac829(0x64d,_0x53e2b4._0x3a52ac,_0x53e2b4._0x3d4de9,_0x53e2b4._0x445196)]+_0x4ac829(_0x53e2b4._0x3cf360,_0x53e2b4._0x511c2e,_0x53e2b4._0xf2c29b,_0x53e2b4._0x586a95)+(_0x456e05[_0x4d7ccf(_0x53e2b4._0x4e7f23,_0x53e2b4._0x571309,_0x53e2b4._0x47433d,0xb2)]??'?')+_0x4d7ccf(0xcb,0x47,0x10a,-_0x53e2b4._0x284b5a),{'shellId':_0x456e05[_0x4ac829(_0x53e2b4._0x325572,0x4cd,0x43e,_0x53e2b4._0x2efa2c)],'status':_0x456e05[_0x4d7ccf(0x33b,0x329,0x241,_0x53e2b4._0x5d81d9)],'command':_0x456e05['command'],'description':_0x1910e4[_0x4ac829(0x590,0x5ac,_0x53e2b4._0x2b99ef,_0x53e2b4._0x2df43f)],'cwd':_0x456e05[_0x4ac829(0x608,_0x53e2b4._0x3db74d,0x7fe,0x666)],'pid':_0x456e05[_0x4ac829(_0x53e2b4._0x7e5724,_0x53e2b4._0x375dfb,0x6cc,_0x53e2b4._0x3337bd)]??null});}let _0x57f545,_0x295276;if(_0x1910e4[_0x4d7ccf(_0x53e2b4._0x329486,_0x53e2b4._0x3be7dd,_0x53e2b4._0x5bc6a9,0xa9)]!==void 0x0)try{const _0x2f32d0=new RegExp(_0x1910e4[_0x4d7ccf(0x26b,0x2f3,0x245,0x30f)]);_0x57f545={'regex':_0x2f32d0,'trailingChunks':[]},_0x295276={'regex':_0x2f32d0,'trailingChunks':[]};}catch(_0x5e90b7){throw new ToolExecutionError(_0x4ac829(_0x53e2b4._0xff87be,_0x53e2b4._0x38c79f,0x652,_0x53e2b4._0x500147)+(_0x5e90b7 instanceof Error?_0x5e90b7['message']:String(_0x5e90b7)),{'command':_0x1910e4[_0x4ac829(0x966,0xa08,_0x53e2b4._0x394208,0xa67)],'outputRegex':_0x1910e4[_0x4ac829(0x8ae,0x6fa,_0x53e2b4._0x278e41,0x9bf)]});}await _0xf4a085['verifyExecution']?.(_0x2bfc3a,_0x47ffcc['executionAuthorization'],_0x47ffcc);function _0x4ac829(_0x934610,_0x223659,_0x4f9f04,_0x35c9e5){return _0x57dd2c(_0x35c9e5,_0x223659-_0x4928cd._0x25866f,_0x4f9f04-0x148,_0x934610-_0x4928cd._0x11d0fc);}throwIfAborted(_0x47ffcc['signal']);let _0x479777;try{_0x479777=_0x23dbf7(_0x793c66,_0x2f44f6,{'cwd':_0x53d89b,'env':_0x3a3be5,'stdio':_0x35b1d5?['ignore',_0x4ac829(0x73c,_0x53e2b4._0x78cc36,0x6e1,0x5f5),'ignore']:[_0x4ac829(_0x53e2b4._0x1e6e39,_0x53e2b4._0x10d279,0x8bb,0x703),_0x4ac829(_0x53e2b4._0x509854,0x7a3,0xa22,_0x53e2b4._0x38fc81),_0x4ac829(0x81c,0x769,_0x53e2b4._0xc730dc,_0x53e2b4._0x19df1f)],'shell':![],'windowsHide':!![],'detached':!_0x5bc38a});}catch(_0x245a8a){throw mapSpawnError(_0x245a8a,{'command':_0x1910e4['command'],'cwd':_0x53d89b,'shellPath':_0x793c66});}const _0x336fdf=[],_0x26fabc=[],_0x45c3bf=new _0x5da69c(_0x4d7ccf(_0x53e2b4._0x415e55,_0x53e2b4._0x2ede8c,0x225,0x32)),_0x2dde9d=new _0x5da69c('utf8');let _0x5b05f5,_0x3e2b68=![],_0x2bfad5;const _0x5ddaf0=()=>{if(!_0x5b05f5)return;const _0x3c1e9d=_0x5b05f5;_0x5b05f5=void 0x0,_0x3c1e9d();};function _0x4d7ccf(_0x36991c,_0x1da648,_0x19da36,_0x529008){return _0x57dd2c(_0x1da648,_0x1da648-0x109,_0x19da36-_0x317605._0x58b0ab,_0x19da36- -0x439);}const _0x23e667=async()=>{const _0x347776={_0x2e0a2a:0x9b,_0x5024e5:0x65,_0x434481:0x13d};function _0x5e5fe1(_0x4430ac,_0x3f5386,_0x6572d0,_0x3de2ee){return _0x4ac829(_0x6572d0- -_0x347776._0x2e0a2a,_0x3f5386-_0x347776._0x5024e5,_0x6572d0-_0x347776._0x434481,_0x3f5386);}if(_0x26fabc[_0x5e5fe1(0x76f,_0x17e950._0x4dec9a,0x79e,0x944)]>0x0||_0x3e2b68)return;await new Promise(_0x2f5ac6=>{_0x5b05f5=_0x2f5ac6;});},_0x5543f7=_0x5066f3=>{const _0x32e77e={_0x540834:0x6a4,_0x17d5a0:0xd2,_0xda6cca:0x16};function _0x4794d5(_0x1bf3dd,_0xf3a0b,_0x581149,_0x20594d){return _0x4ac829(_0x1bf3dd- -_0x32e77e._0x540834,_0xf3a0b-_0x32e77e._0x17d5a0,_0x581149-_0x32e77e._0xda6cca,_0x20594d);}appendChunk(_0x336fdf,_0x26fabc,_0x45c3bf[_0x4794d5(_0x25ed3d._0x18f932,_0x25ed3d._0x10f3d5,-_0x25ed3d._0x25fd59,0xfd)](_0x5066f3),_0x512d24,_0x5ddaf0,_0x57f545);},_0x2a78c0=_0x3956f7=>{const _0x3aa059={_0x2345ef:0x6,_0x272a6:0x5a1,_0x3e3e5d:0x48};function _0x4a01b3(_0x2378bc,_0x26aa65,_0x481074,_0x13967b){return _0x4d7ccf(_0x2378bc-_0x3aa059._0x2345ef,_0x2378bc,_0x26aa65-_0x3aa059._0x272a6,_0x13967b-_0x3aa059._0x3e3e5d);}appendChunk(_0x336fdf,_0x26fabc,_0x2dde9d[_0x4a01b3(0x772,0x654,_0x276690._0x92408f,_0x276690._0x1f30b3)](_0x3956f7),_0x512d24,_0x5ddaf0,_0x295276);};_0x479777[_0x4ac829(0x79f,_0x53e2b4._0x38c0df,_0x53e2b4._0x15c519,0x8cd)]?.['on'](_0x4d7ccf(_0x53e2b4._0x565fec,-0xc6,-_0x53e2b4._0x2e21c7,0x1c9),_0x5543f7),_0x479777['stderr']?.['on']('data',_0x2a78c0);let _0x21b480=![],_0x1a2202;const _0x2f8f57=addAbortListener(_0x47ffcc[_0x4d7ccf(_0x53e2b4._0x3d5c9b,_0x53e2b4._0x18d322,_0x53e2b4._0x362ca0,_0x53e2b4._0x57abd6)],()=>{const _0x2147db={_0x3a03e7:0x2f};function _0x33ee5a(_0x7bc60a,_0x47e68b,_0x57e307,_0x3c7620){return _0x4ac829(_0x57e307- -0x423,_0x47e68b-_0x54c51c._0x34db6b,_0x57e307-_0x54c51c._0x2d1c38,_0x3c7620);}_0x2bfad5=toAbortError(_0x47ffcc[_0x33ee5a(0x37c,0x5fc,_0x1e797d._0x250f69,0x341)][_0x15675d(0x96b,_0x1e797d._0x5bc2f6,_0x1e797d._0x259b19,0x825)]),_0x3e2b68=!![],_0x5ddaf0();function _0x15675d(_0x5751c6,_0x2b456d,_0x2bff05,_0x54b771){return _0x4ac829(_0x5751c6- -_0x2147db._0x3a03e7,_0x2b456d-0xc2,_0x2bff05-0xa6,_0x2b456d);}try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}});try{const _0x372c42=new Promise((_0x1f22c2,_0x20e2b6)=>{const _0x4c036f={_0x746ebd:0x5b8,_0x470a16:0x204,_0xf6015c:0x507,_0x33e868:0x4dd,_0x2f93ec:0x46d,_0x5bd242:0x521,_0x50a725:0x526,_0x1144f9:0x4c8},_0x1e6a32={_0x16ef66:0x1bc};function _0x4c050d(_0x16ddf1,_0x385eda,_0x66e79f,_0x38c0b9){return _0x4d7ccf(_0x16ddf1-0x1cd,_0x38c0b9,_0x385eda-_0x5201cc._0x5dfe39,_0x38c0b9-_0x5201cc._0x3392af);}const _0x1520a4=()=>{function _0x314379(_0x3af47f,_0x386982,_0x16964e,_0x30d6c8){return _0x678a(_0x16964e-_0x1e6a32._0x16ef66,_0x3af47f);}function _0xfa12b(_0x3eb801,_0x5238a5,_0x2caa73,_0x25d418){return _0x678a(_0x5238a5-0x1b8,_0x3eb801);}_0x1a2202&&(clearTimeout(_0x1a2202),_0x1a2202=void 0x0),_0x479777[_0xfa12b(_0x4c036f._0x746ebd,0x507,0x5ba,0x53b)](_0x314379(_0x4c036f._0x470a16,0x1f3,0x392,0x390),_0x15a88b),_0x479777[_0xfa12b(0x672,_0x4c036f._0xf6015c,_0x4c036f._0x33e868,0x6f3)](_0xfa12b(_0x4c036f._0x2f93ec,_0x4c036f._0x5bd242,_0x4c036f._0x50a725,_0x4c036f._0x1144f9),_0x1a3ae6);},_0x15a88b=_0x4e59a5=>{_0x3e2b68=!![],_0x5ddaf0(),_0x1520a4(),_0x20e2b6(_0x2bfad5??_0x4e59a5);},_0x1a3ae6=(_0xed132d,_0x59d5d9)=>{_0x21b480=!![],appendChunk(_0x336fdf,_0x26fabc,_0x45c3bf[_0x65c773(0x899,_0x83683e._0x18f009,_0x83683e._0x237bfe,0x7c2)](),_0x512d24,_0x5ddaf0,_0x57f545),appendChunk(_0x336fdf,_0x26fabc,_0x2dde9d['end'](),_0x512d24,_0x5ddaf0,_0x295276),flushOutputRegex(_0x336fdf,_0x26fabc,_0x57f545,_0x5ddaf0),flushOutputRegex(_0x336fdf,_0x26fabc,_0x295276,_0x5ddaf0),_0x3e2b68=!![];function _0x65c773(_0x1e66fb,_0x4febfb,_0x151d61,_0x1575c3){return _0x678a(_0x1e66fb-0x370,_0x4febfb);}_0x5ddaf0(),_0x1520a4();if(_0x2bfad5){_0x20e2b6(_0x2bfad5);return;}_0x1f22c2({'code':_0xed132d,'signal':_0x59d5d9});};function _0x36b322(_0x3f0e06,_0x53b5e0,_0x59d1e7,_0xed9189){return _0x4d7ccf(_0x3f0e06-_0x3f2131._0x37b604,_0x3f0e06,_0x53b5e0-0x79,_0xed9189-_0x3f2131._0x63cfbf);}_0x1a2202=setTimeout(()=>{const _0x5d6759={_0x47fcf8:0x3cb},_0x3390d5={_0x4c21a3:0x1e1};_0x3e2b68=!![],_0x5ddaf0(),_0x1520a4();function _0xc56d88(_0x572938,_0x3d7d6c,_0x237fd9,_0x5901cc){return _0x678a(_0x5901cc-_0x3390d5._0x4c21a3,_0x237fd9);}try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}function _0x4f8215(_0x542786,_0x22a7f2,_0x3f4329,_0x491a62){return _0x678a(_0x3f4329- -_0x5d6759._0x47fcf8,_0x491a62);}_0x20e2b6(new ToolExecutionError(_0x4f8215(_0x5cd41b._0x5f3ff7,0x23a,_0x5cd41b._0x5f3ff7,_0x5cd41b._0x4c2d63)+_0x5ee794+_0x4f8215(_0x5cd41b._0x5e6a20,-_0x5cd41b._0x4b6eaf,-0x83,-_0x5cd41b._0xf454e5),{'command':_0x1910e4[_0xc56d88(0x7bb,0x869,_0x5cd41b._0x1709cb,_0x5cd41b._0x27eaa6)],'cwd':_0x53d89b,'shellPath':_0x793c66,'timeoutMs':_0x5ee794,'timedOut':!![]}));},_0x5ee794),_0x479777[_0x4c050d(_0x3655eb._0x10942a,_0x3655eb._0x180bff,_0x3655eb._0x3d7d5e,_0x3655eb._0xf82aa8)](_0x36b322(0x1ce,-0x38,-0xef,-_0x3655eb._0x1655ef),_0x15a88b),_0x479777[_0x36b322(0x3be,_0x3655eb._0x51f7bf,0x53e,0x4a0)]('close',_0x1a3ae6);});while(_0x26fabc['length']>0x0||!_0x3e2b68){if(_0x26fabc[_0x4ac829(_0x53e2b4._0x1c8edb,_0x53e2b4._0x2e1c1e,0x7bf,_0x53e2b4._0x1f4ebb)]===0x0){await _0x23e667();continue;}const _0x1da854=_0x26fabc[_0x4ac829(0x67f,_0x53e2b4._0x35698e,0x6a3,0x5f6)]();_0x1da854!==void 0x0&&(yield _0x1da854);}const _0x3797fc=await _0x372c42,_0x1acf5c=_0x35b1d5?_0x4ac829(_0x53e2b4._0x3f3f81,_0x53e2b4._0x447762,0x7eb,0x8d6)+(_0x3797fc['code']??0x0):_0x336fdf[_0x4ac829(0x774,_0x53e2b4._0x2a0482,0x778,_0x53e2b4._0x1c72cb)](''),_0x32fa95={'command':_0x1910e4['command'],'description':_0x1910e4[_0x4d7ccf(-0x12d,0x7f,-_0x53e2b4._0x1d414f,_0x53e2b4._0x39ac8c)],'cwd':_0x53d89b,'exitCode':_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0x35a952,0x873,_0x53e2b4._0x3a4179)]??0x0,'signal':_0x3797fc[_0x4ac829(0x83e,_0x53e2b4._0x2b4c6e,0x73f,_0x53e2b4._0x83adef)],'ignoreOutput':_0x35b1d5,'outputRegex':_0x1910e4[_0x4d7ccf(0x3c3,_0x53e2b4._0x384957,0x245,0x3e2)]??null,'shellPath':_0x793c66,'timeoutMs':_0x5ee794};if(_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0xf155bc,_0x53e2b4._0x988c21,0x88f)]!==0x0)throw new ToolExecutionError(_0x1acf5c||_0x4d7ccf(0x1ea,0x1e3,0x2b7,0x19c)+(_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0x3eb105,0x5a7,0x656)]??0x0),_0x32fa95);return createToolOutput(_0x1acf5c,_0x32fa95);}catch(_0x88dd8c){while(_0x26fabc[_0x4d7ccf(_0x53e2b4._0x4565b0,_0x53e2b4._0x5bd1b3,0x1d0,_0x53e2b4._0x365d61)]>0x0){const _0x136e83=_0x26fabc[_0x4d7ccf(0x78,-0x116,0x16,0x4a)]();_0x136e83!==void 0x0&&(yield _0x136e83);}if(_0x88dd8c instanceof ToolExecutionError)throw _0x88dd8c;if(_0x2bfad5)throw _0x2bfad5;throw mapSpawnError(_0x88dd8c,{'command':_0x1910e4[_0x4ac829(0x966,_0x53e2b4._0xf0202b,0x77a,_0x53e2b4._0x504708)],'cwd':_0x53d89b,'shellPath':_0x793c66});}finally{_0x1a2202&&clearTimeout(_0x1a2202);_0x2f8f57(),_0x479777[_0x4d7ccf(_0x53e2b4._0xab1f19,-_0x53e2b4._0xc4f152,_0x53e2b4._0x1d49c1,0x21e)]?.[_0x4d7ccf(_0x53e2b4._0xeb4f44,0x7c,_0x53e2b4._0x4d7d63,-_0x53e2b4._0x118524)](_0x4ac829(0x647,_0x53e2b4._0x33f208,0x5f3,_0x53e2b4._0x26c6fd),_0x5543f7),_0x479777[_0x4d7ccf(_0x53e2b4._0x460ab9,0x11b,0xdb,_0x53e2b4._0x141281)]?.['off'](_0x4d7ccf(0x13c,-_0x53e2b4._0x49fa42,-0x22,-_0x53e2b4._0x5c90b5),_0x2a78c0);if(!_0x21b480&&_0x479777[_0x4ac829(0x764,0x7b4,0x918,0x89b)]&&!_0x479777[_0x4d7ccf(-_0x53e2b4._0x1fd1c7,_0x53e2b4._0x2aa747,_0x53e2b4._0x3ccbf6,-_0x53e2b4._0x2e5e75)])try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}}}});}function createShellExecTool(_0x3608de={}){return createBashTool(_0x3608de);}import{readdir as _0x2be568,readFile as _0x571adf}from'fs/promises';import{extname as _0x251054,join as _0x23e9fe}from'path';import{open}from'fs/promises';import{dirname as _0x5b9440,isAbsolute as _0x341692,join as _0x4a8c44,relative as _0x11f7d5,resolve as _0x519f8f}from'path';import{readdir as _0x260cb1,readFile as _0x23c218}from'fs/promises';import{join as _0x45e854,relative as _0x333c8b,sep}from'path';import{delimiter}from'path';import{mkdir as _0x31c2b9,rm as _0x5e8e2b,stat as _0x131c75,writeFile as _0x3f5ee0}from'fs/promises';import{hostname}from'os';import{dirname as _0x36687a}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x5ea4b1,readFile as _0x42c557,rename as _0x1ed690,rm as _0x155242,stat as _0x41faf5,writeFile as _0x709151}from'fs/promises';import{homedir as _0x30cc59}from'os';import{dirname as _0x415492,isAbsolute as _0x5c9d64,join as _0x486403,resolve as _0x5d36fe}from'path';import{parse as _0x38ecce,stringify as _0x241155}from'yaml';import{randomUUID as _0x5d736c}from'crypto';import{cp,lstat,mkdir as _0x33f4f7,readdir as _0x2826f6,readFile as _0x18d3a1,rename as _0x925148,rm as _0x4e1b9a,writeFile as _0x27a8b0}from'fs/promises';import{homedir}from'os';import{join as _0x9f2b5e}from'path';import{parse as _0x73d642,stringify as _0x56b69a}from'yaml';import{z}from'zod';import{readdir as _0x2dab7a,readFile as _0xb1e00a}from'fs/promises';import{join as _0x3d1fbf}from'path';import{randomUUID as _0x5d2937}from'crypto';import{mkdir as _0x3ef508,readdir as _0x43c2b7,readFile as _0x104ff5,rename as _0x251d40,rm as _0x234216,writeFile as _0xea7191}from'fs/promises';import{homedir as _0x3eabd8}from'os';import{basename as _0x397843,isAbsolute as _0x2e9417,join as _0x184a11,relative as _0x56f0b5,resolve as _0x5a1b47}from'path';import{parse as _0x4536b4,stringify as _0x43b3ee}from'yaml';import{delimiter as _0x179273,resolve as _0x58ca4a}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x4a81a5){const _0x5eb658={_0x366f18:0x5d4,_0x55b2cf:0x790,_0x50d8b7:0x754,_0x3cc938:0x72f,_0x56bd2b:0x4c0,_0x4de343:0x5d5,_0x3486c5:0x517,_0x1d72fb:0x4d8},_0x3876c1={_0x43357f:0x42e,_0x3b8606:0xce},_0x336209={_0x1e0192:0xdf,_0x2b29fb:0x59};function _0x46d1c4(_0x1a3e8b,_0x4feac1,_0x585bce,_0x2a8669){return _0x47b891(_0x1a3e8b,_0x585bce-0x11c,_0x585bce-_0x336209._0x1e0192,_0x2a8669-_0x336209._0x2b29fb);}function _0x273695(_0x515cf0,_0x705613,_0x56deb2,_0x4e4a0a){return _0xe18bb0(_0x4e4a0a,_0x56deb2-_0x3876c1._0x43357f,_0x56deb2-0x1a9,_0x4e4a0a-_0x3876c1._0x3b8606);}const _0x530862=[];let _0x15a44e='',_0x174d09=0x0;while(_0x174d09<_0x4a81a5[_0x46d1c4(_0x5eb658._0x366f18,_0x5eb658._0x55b2cf,_0x5eb658._0x50d8b7,0x839)]){const _0x29359f=_0x4a81a5[_0x174d09];if(_0x29359f==='\x5c'&&_0x174d09+0x1<_0x4a81a5[_0x273695(_0x5eb658._0x3cc938,_0x5eb658._0x56bd2b,_0x5eb658._0x4de343,0x484)])_0x15a44e+=_0x4a81a5[_0x174d09+0x1],_0x174d09+=0x2;else{if(_0x29359f==='\x22'||_0x29359f==='\x27'){const _0x3647d8=_0x29359f;_0x174d09++;while(_0x174d09<_0x4a81a5['length']&&_0x4a81a5[_0x174d09]!==_0x3647d8){_0x4a81a5[_0x174d09]==='\x5c'&&_0x174d09+0x1<_0x4a81a5['length']?(_0x15a44e+=_0x4a81a5[_0x174d09+0x1],_0x174d09+=0x2):(_0x15a44e+=_0x4a81a5[_0x174d09],_0x174d09++);}_0x174d09++;}else _0x29359f!==void 0x0&&/\s/['test'](_0x29359f)?(_0x15a44e&&(_0x530862[_0x46d1c4(0x621,_0x5eb658._0x3486c5,_0x5eb658._0x1d72fb,0x337)](_0x15a44e),_0x15a44e=''),_0x174d09++):(_0x15a44e+=_0x29359f,_0x174d09++);}}if(_0x15a44e)_0x530862['push'](_0x15a44e);return _0x530862;}function renderCommandInstructions(_0x23b44f){const _0x26ddff={_0x42907d:0x665,_0x23af85:0x5d0,_0x3d08da:0x527,_0x401853:0x85a,_0x123568:0x133,_0x341bee:0x360,_0x182d74:0x339,_0x9cc45e:0x1f6,_0x15188a:0xfa,_0xbd876e:0x42,_0x44d6dc:0xf,_0x3d6442:0x172,_0x5c14f0:0x994,_0x164022:0x220,_0x1d1f45:0xf6,_0x162ba9:0x8e2,_0x10b944:0x9f6,_0x58d0bc:0x8db,_0x149806:0x8b4,_0x40ff74:0x1a0,_0x58ff04:0x62,_0x257a43:0x2b},_0x1ceb8e={_0x106a9b:0x156},_0x32fa61={_0x5834c1:0xad},_0x293412={_0x580f1c:0x6e6,_0x50567d:0x719,_0x599fb8:0x6b8,_0x5bad8d:0x732};let _0x5ef824=_0x23b44f[_0x4a81ea(_0x26ddff._0x42907d,0x68f,_0x26ddff._0x23af85,_0x26ddff._0x3d08da)],_0x14acf8=![];const _0x39d981=tokenizeCommandArguments(_0x23b44f['argumentsText']);_0x5ef824=_0x5ef824[_0x4a81ea(0x6c8,_0x26ddff._0x401853,0x8aa,0x82c)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5b00f4,_0x18a952)=>{return _0x14acf8=!![],_0x39d981[Number(_0x18a952)]??'';}),_0x5ef824=_0x5ef824[_0x5cc118(_0x26ddff._0x123568,0x216,_0x26ddff._0x341bee,_0x26ddff._0x182d74)](/\$ARGUMENTS\b/g,()=>{function _0x17af80(_0x476376,_0x5c5a91,_0x6a168d,_0x4e10a8){return _0x4a81ea(_0x476376-0x11b,_0x6a168d,_0x4e10a8- -0x102,_0x4e10a8-0x8b);}return _0x14acf8=!![],_0x23b44f[_0x17af80(_0x293412._0x580f1c,_0x293412._0x50567d,_0x293412._0x599fb8,_0x293412._0x5bad8d)];});function _0x5cc118(_0x1bcf10,_0x1eaa6d,_0x38f60a,_0x6a2d07){return _0xe18bb0(_0x6a2d07,_0x1eaa6d- -_0x32fa61._0x5834c1,_0x38f60a-0x1e4,_0x6a2d07-0x17d);}if(_0x23b44f[_0x5cc118(0x14c,0x172,_0x26ddff._0x9cc45e,0xcc)]&&_0x23b44f['argumentNames'][_0x5cc118(0x11d,_0x26ddff._0x15188a,-0x76,-_0x26ddff._0xbd876e)]>0x0)for(let _0x1f5ba2=0x0;_0x1f5ba2<_0x23b44f[_0x5cc118(_0x26ddff._0x44d6dc,_0x26ddff._0x3d6442,0x6,0x175)]['length'];_0x1f5ba2++){const _0x23c010=_0x23b44f[_0x4a81ea(0x9d0,_0x26ddff._0x5c14f0,0x806,0x802)][_0x1f5ba2];if(_0x23c010){const _0x4051e7=new RegExp('\x5c$'+_0x23c010+'\x5cb','g');_0x5ef824=_0x5ef824[_0x5cc118(0x18c,0x216,_0x26ddff._0x164022,_0x26ddff._0x1d1f45)](_0x4051e7,()=>{return _0x14acf8=!![],_0x39d981[_0x1f5ba2]??'';});}}function _0x4a81ea(_0x422a63,_0x2c2b32,_0x61f02e,_0x193e50){return _0x47b891(_0x2c2b32,_0x61f02e-_0x1ceb8e._0x106a9b,_0x61f02e-0x117,_0x193e50-0x139);}return _0x5ef824=_0x5ef824['replace'](/\$(\d+)\b/g,(_0x498693,_0xebe075)=>{return _0x14acf8=!![],_0x39d981[Number(_0xebe075)]??'';}),!_0x14acf8&&_0x23b44f[_0x4a81ea(_0x26ddff._0x162ba9,0x7d3,0x834,0x8b1)][_0x4a81ea(0xa12,_0x26ddff._0x10b944,_0x26ddff._0x58d0bc,_0x26ddff._0x149806)]()&&(_0x5ef824=_0x5ef824+'\x0a\x0aARGUMENTS:\x20'+_0x23b44f[_0x5cc118(0x8d,_0x26ddff._0x40ff74,_0x26ddff._0x58ff04,-_0x26ddff._0x257a43)]),_0x5ef824;}var PROVIDER_API_KEY_ENVS=[{'env':_0xe18bb0(-0x3e,0xdb,0xc4,-0xcb),'provider':_0x47b891(0x739,0x793,0x92f,0x698)},{'env':'ANTHROPIC_API_KEY','provider':_0xe18bb0(-0x49,-0x81,-0x27a,-0x218)},{'env':_0x47b891(0x505,0x700,0x6f0,0x69a),'provider':_0x47b891(0x571,0x520,0x5be,0x65b)},{'env':'GITHUB_TOKEN','provider':_0xe18bb0(-0xf,0x8f,0x273,0x1a3)},{'env':'XAI_API_KEY','provider':_0x47b891(0x4c2,0x5f5,0x680,0x4fa)},{'env':'DEEPINFRA_API_KEY','provider':_0xe18bb0(0x28,0x55,0x13f,0x231)},{'env':_0xe18bb0(0x90,-0xc3,0x58,-0x20b),'provider':_0x47b891(0x40e,0x60c,0x57a,0x435)},{'env':'MOONSHOT_API_KEY','provider':_0xe18bb0(0x54,0x193,0x31f,0x266)},{'env':_0x47b891(0x453,0x4f3,0x46a,0x63a),'provider':'minimax'},{'env':_0x47b891(0x8de,0x71c,0x777,0x8de),'provider':_0x47b891(0x6b4,0x534,0x6d4,0x511)},{'env':'OPENAI_API_KEY','provider':'openai'},{'env':_0x47b891(0x835,0x64c,0x7ab,0x511),'provider':'deepseek'},{'env':_0x47b891(0x5cb,0x69f,0x4a3,0x5bd),'provider':_0x47b891(0x6d0,0x519,0x6c4,0x4fe)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0xe18bb0(0x88,0x170,0x2da,0x83)](_0x35d57b=>_0x35d57b[_0x47b891(0x5ce,0x5f9,0x5d4,0x5aa)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x47b891(0x4a3,0x56f,0x49b,0x669),_0xe18bb0(0x141,-0xbb,-0x128,-0x247)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x47b891(0x863,0x675,0x524,0x479),_0xe18bb0(0x279,0x25d,0xc1,0x2e4),_0x47b891(0x8a2,0x70d,0x899,0x535),_0x47b891(0x780,0x702,0x5b5,0x90c),_0xe18bb0(-0x29,0xe4,0x23c,0x27d),'GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']),PRODUCTION_FILE_EDIT_MODES=[_0xe18bb0(0x9b,-0x23,-0x20f,0x8b),'anchored-json','hashline'];function prototypeSafeRecord(_0x5e0fb3){const _0x1eccb3={_0x902368:0x856,_0x18983b:0x8e6,_0x4a578e:0x97b,_0x48a32d:0x820,_0x4facf3:0x7ca,_0x5349d3:0x116,_0x246582:0x1b5,_0x5e1e45:0xd,_0x16c5ad:0x84},_0x510fbc={_0x39568e:0x33b,_0x2d4847:0x25f,_0x2ca559:0x504,_0x239a12:0x38e,_0x2da513:0xd6,_0x34558d:0x4e},_0x54401f={_0x1e3e9c:0x29};function _0x3ecc7e(_0x5d107e,_0x3460a5,_0x5ce9be,_0x2dc6a5){return _0x47b891(_0x2dc6a5,_0x5ce9be- -0x560,_0x5ce9be-0xef,_0x2dc6a5-0x62);}function _0x575706(_0x404689,_0x2784d3,_0x305ee8,_0x10133c){return _0x47b891(_0x2784d3,_0x10133c-0x206,_0x305ee8-0x1c6,_0x10133c-_0x54401f._0x1e3e9c);}return z['preprocess'](_0x4a2d04=>{if(_0x4a2d04===null||typeof _0x4a2d04!==_0x50c3e7(0x1b2,0x23f,_0x510fbc._0x39568e,_0x510fbc._0x2d4847)||Array['isArray'](_0x4a2d04))return null;const _0x14c888=Object['getPrototypeOf'](_0x4a2d04);function _0x4567da(_0x2141cc,_0x333056,_0x20c262,_0x18bea9){return _0x678a(_0x18bea9-0xbe,_0x2141cc);}function _0x50c3e7(_0x46f411,_0x2a5aa0,_0x24c1ef,_0x44c730){return _0x678a(_0x2a5aa0- -0x2c0,_0x24c1ef);}if(_0x14c888!==Object[_0x4567da(0x274,_0x510fbc._0x2ca559,0x1c4,_0x510fbc._0x239a12)]&&_0x14c888!==null)return null;return{'entries':Object[_0x50c3e7(-0xe0,-_0x510fbc._0x2da513,_0x510fbc._0x34558d,-0xb4)](_0x4a2d04)};},z[_0x575706(0x99c,0x846,_0x1eccb3._0x902368,_0x1eccb3._0x18983b)]({'entries':z[_0x575706(_0x1eccb3._0x4a578e,_0x1eccb3._0x48a32d,0x8ce,_0x1eccb3._0x4facf3)](z[_0x3ecc7e(_0x1eccb3._0x5349d3,-_0x1eccb3._0x246582,-0x5a,-_0x1eccb3._0x5e1e45)]([z[_0x3ecc7e(0xcb,0x104,0x57,-_0x1eccb3._0x16c5ad)](),_0x5e0fb3]))}))['transform'](({entries:_0x3101d0})=>Object[_0x575706(0x8af,0x900,0x748,0x874)](_0x3101d0));}var chatModelAuthSchemeSchema=z[_0xe18bb0(-0x90,0x82,0x101,0x23b)](['bearer',_0xe18bb0(0x2e6,0x127,-0x85,0xc0)]),apiKeyAuthSchema=z[_0x47b891(0x8af,0x6e0,0x687,0x810)]({'type':z[_0x47b891(0x570,0x628,0x488,0x6a1)](_0x47b891(0x741,0x5c8,0x676,0x74a)),'apiKey':z[_0x47b891(0x48a,0x5b7,0x640,0x585)](),'authScheme':chatModelAuthSchemeSchema[_0x47b891(0x445,0x4bd,0x589,0x411)]()})[_0x47b891(0x1e1,0x37c,0x3c4,0x18c)](),oauthAuthSchema=z[_0x47b891(0x859,0x6e0,0x8ac,0x869)]({'type':z[_0x47b891(0x6e2,0x628,0x577,0x5e9)]('oauth'),'access':z['string'](),'refresh':z[_0x47b891(0x64a,0x5b7,0x6f9,0x47b)](),'expires':z['number']()[_0x47b891(0x2ff,0x4bd,0x58e,0x2af)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x47b891(0x23c,0x37c,0x392,0x18a)](),finiteNonNegative=z[_0x47b891(0x410,0x3d7,0x399,0x4b1)]()['finite']()[_0x47b891(0x39d,0x413,0x389,0x320)](),chatGptAuthSchema=z[_0xe18bb0(0xb5,0x24f,0x2e5,0x362)]({'type':z[_0xe18bb0(-0x6b,0x197,0x1dd,0x2c8)](_0xe18bb0(0x144,0xf,0x44,-0x69)),'access':z['string']()[_0xe18bb0(0x2ba,0x13a,-0xd3,0x14d)](0x1),'refresh':z[_0xe18bb0(0x317,0x126,0xdb,-0x9e)]()[_0xe18bb0(-0xa4,0x13a,0x2ef,-0x7b)](0x1),'idToken':z[_0xe18bb0(-0x39,0x126,0x74,0x19a)]()[_0x47b891(0x6e9,0x5cb,0x4ed,0x661)](0x1),'accountId':z[_0x47b891(0x54c,0x5b7,0x4c0,0x3b8)]()[_0x47b891(0x51d,0x5cb,0x411,0x40c)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x47b891(0x5e0,0x4bd,0x58b,0x58f)]()})[_0x47b891(0x27e,0x37c,0x293,0x367)](),authMethodSchema=z[_0x47b891(0x6c1,0x77e,0x636,0x93c)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x47b891(0x715,0x513,0x60b,0x44d)]([_0x47b891(0x641,0x4d6,0x5f8,0x315),'low','medium',_0xe18bb0(-0x2a9,-0xa4,-0x1c5,-0x229),'xhigh',_0xe18bb0(-0x129,-0x113,0xe6,-0x41)]),reasoningOptionSchema=z[_0xe18bb0(0x82,0x24f,0x13c,0xbd)]({'id':z['string']()[_0xe18bb0(0x2cb,0x2f4,0x229,0x13e)]()['min'](0x1),'description':z[_0xe18bb0(-0x70,0x126,0x1c8,0x147)]()[_0x47b891(0x43c,0x4bd,0x66c,0x39e)](),'mode':z['enum']([_0x47b891(0x48b,0x589,0x5a3,0x58f),_0xe18bb0(0x1b8,0x28,-0xa8,0x115)])[_0x47b891(0x3b7,0x4bd,0x567,0x624)](),'effort':reasoningEffortSchema[_0x47b891(0x2dd,0x4bd,0x62b,0x68d)](),'budgetTokens':z['number']()[_0xe18bb0(0x87,0x1c2,0x2d9,0x2da)]()[_0xe18bb0(-0x2b,0x13a,0x183,-0x5b)](0x400)[_0x47b891(0x2dd,0x4bd,0x349,0x672)]()})[_0xe18bb0(-0x22e,-0x110,0xb4,-0x1bd)]((_0x5c0d4f,_0x31aee3)=>{const _0x96fa42={_0x1c3d94:0x9ca,_0x2af30a:0x7ef,_0x130ced:0x18d,_0xf5d011:0x6e,_0x24fe76:0xf,_0x490db0:0x5f0,_0x184d97:0x66a,_0xfcadcf:0x5f5,_0x17a3df:0x36c,_0x49b0f8:0x685,_0x112ca3:0x630,_0x41d455:0x6a9,_0x407bce:0x22e,_0x384975:0x104,_0x96c72a:0x35a,_0xe52a64:0x6,_0x5efed3:0x9b7,_0x4c787d:0x85c,_0xade643:0x8ce,_0x5ed538:0x4fa,_0x24d9fa:0xa29,_0x23d805:0x94,_0x5c9a8f:0x1bd,_0x4725c4:0x191,_0x777ecb:0x8af,_0xf4dfac:0x91a,_0x11ade7:0x886,_0x12dc5a:0x7f7,_0x4a8a23:0x1f3,_0x5065c8:0x30b,_0xcb824e:0x4bd,_0x5ed56c:0x586,_0xe05b02:0x683,_0x5f159e:0x780,_0x5ec9e0:0x82e,_0x4ab2f2:0x768,_0xe0dcd7:0x6c3,_0x146422:0x234,_0x5e9c41:0x40a,_0x542efa:0x108,_0x5f39a6:0x10e,_0xac99b2:0x7e,_0x258df4:0x2d0,_0x49131d:0x1bd,_0x30a1cb:0x249,_0x3903cf:0x2a3,_0xafc48d:0x4d9,_0x1e2912:0x6da},_0x4852d5={_0x2c5d2f:0x3e,_0x55240d:0x6},_0x4b3933={_0x185854:0x170,_0x5c789c:0x1b},_0x22a5c6=_0x5c0d4f['id'][_0x194f2d(_0x96fa42._0x1c3d94,0x7d6,0x72c,_0x96fa42._0x2af30a)]();function _0x194f2d(_0x55fd83,_0x38ed3d,_0x319d15,_0x7a9994){return _0x47b891(_0x319d15,_0x7a9994-_0x4b3933._0x185854,_0x319d15-0xf4,_0x7a9994-_0x4b3933._0x5c789c);}(_0x22a5c6==='off'||_0x22a5c6===_0x3b1227(-_0x96fa42._0x130ced,_0x96fa42._0xf5d011,0xf1,-_0x96fa42._0x24fe76)||_0x22a5c6===_0x194f2d(_0x96fa42._0x490db0,0x723,_0x96fa42._0x184d97,_0x96fa42._0xfcadcf))&&_0x31aee3[_0x194f2d(0x5e9,0x560,_0x96fa42._0x17a3df,0x545)]({'code':_0x194f2d(_0x96fa42._0x49b0f8,_0x96fa42._0x112ca3,_0x96fa42._0x41d455,0x780),'path':['id'],'message':_0x3b1227(_0x96fa42._0x407bce,0x25b,_0x96fa42._0x384975,_0x96fa42._0x96c72a)+_0x22a5c6+'\x22\x20is\x20reserved'});function _0x3b1227(_0x25b4cc,_0x3f7d24,_0x1c6580,_0x466cb1){return _0xe18bb0(_0x466cb1,_0x3f7d24-_0x4852d5._0x2c5d2f,_0x1c6580-_0x4852d5._0x55240d,_0x466cb1-0x16);}if(_0x5c0d4f['mode']===_0x3b1227(-_0x96fa42._0xe52a64,0x66,-0xb0,0x1f6)){_0x5c0d4f[_0x194f2d(_0x96fa42._0x5efed3,_0x96fa42._0x4c787d,0x79f,_0x96fa42._0xade643)]===void 0x0&&_0x31aee3[_0x194f2d(0x3b8,0x3d0,_0x96fa42._0x5ed538,0x545)]({'code':'custom','path':['budgetTokens'],'message':_0x194f2d(_0x96fa42._0x24d9fa,0x78a,0x750,0x8fe)});_0x5c0d4f['effort']!==void 0x0&&_0x31aee3['addIssue']({'code':_0x3b1227(_0x96fa42._0x23d805,_0x96fa42._0x5c9a8f,0x141,_0x96fa42._0x4725c4),'path':[_0x194f2d(_0x96fa42._0x777ecb,_0x96fa42._0xf4dfac,_0x96fa42._0x11ade7,_0x96fa42._0x12dc5a)],'message':_0x3b1227(0x7,0x17a,_0x96fa42._0x4a8a23,-0x2)});return;}_0x5c0d4f[_0x3b1227(0x103,_0x96fa42._0x5065c8,_0x96fa42._0xcb824e,0x263)]!==void 0x0&&_0x31aee3[_0x194f2d(0x5d7,_0x96fa42._0x5ed56c,0x6c5,0x545)]({'code':_0x194f2d(0x932,0x853,_0x96fa42._0xe05b02,_0x96fa42._0x5f159e),'path':['budgetTokens'],'message':_0x194f2d(0x71c,_0x96fa42._0x5ec9e0,0x8be,_0x96fa42._0x4ab2f2)}),_0x5c0d4f[_0x194f2d(0x665,0x7fc,_0x96fa42._0xe0dcd7,0x6e1)]===void 0x0&&_0x5c0d4f[_0x3b1227(0x125,_0x96fa42._0x146422,_0x96fa42._0x5e9c41,_0x96fa42._0x542efa)]===void 0x0&&_0x31aee3[_0x3b1227(_0x96fa42._0x5f39a6,-_0x96fa42._0xac99b2,-0xa2,0xe6)]({'code':_0x3b1227(_0x96fa42._0x258df4,_0x96fa42._0x49131d,_0x96fa42._0x30a1cb,_0x96fa42._0x3903cf),'path':['effort'],'message':_0x194f2d(0x76c,0x786,_0x96fa42._0xafc48d,_0x96fa42._0x1e2912)});});function validateReasoningOptionIds(_0x3d266f,_0x40a48a){const _0x3ecfe0={_0x741132:0x3c9,_0x426da5:0x31d,_0x264b43:0x11b,_0x522b17:0x40d,_0x4cbea6:0x456,_0x409fe4:0x73,_0x335cc4:0x15f,_0x31d778:0x30c,_0x5b2d54:0x5ac,_0x2b5075:0x500,_0x32d3eb:0x601},_0x526140={_0x50eb4a:0x12f,_0x21f495:0x1e6},_0x730ac7={_0x7fc225:0x11d,_0x38eaff:0x15e};function _0x5c13eb(_0xf03c9b,_0x112922,_0x4de606,_0x4a2900){return _0x47b891(_0x4de606,_0x112922- -_0x730ac7._0x7fc225,_0x4de606-_0x730ac7._0x38eaff,_0x4a2900-0x1aa);}const _0x1c0575=new Set();function _0x205394(_0xa74e8a,_0x508739,_0x3583ef,_0x427c24){return _0xe18bb0(_0x508739,_0xa74e8a-_0x526140._0x50eb4a,_0x3583ef-_0x526140._0x21f495,_0x427c24-0x1e1);}for(let _0x3e5dd7=0x0;_0x3e5dd7<_0x3d266f[_0x5c13eb(_0x3ecfe0._0x741132,0x51b,0x676,0x35e)];_0x3e5dd7+=0x1){const _0x3f5654=_0x3d266f[_0x3e5dd7]?.['id'][_0x205394(_0x3ecfe0._0x426da5,_0x3ecfe0._0x264b43,0x343,0x34b)]();if(!_0x3f5654)continue;if(_0x1c0575[_0x205394(0x39c,_0x3ecfe0._0x522b17,0x44f,_0x3ecfe0._0x4cbea6)](_0x3f5654)){_0x40a48a[_0x205394(_0x3ecfe0._0x409fe4,_0x3ecfe0._0x335cc4,0x3,-0x129)]({'code':_0x5c13eb(_0x3ecfe0._0x31d778,0x4f3,_0x3ecfe0._0x5b2d54,_0x3ecfe0._0x2b5075),'path':['options',_0x3e5dd7,'id'],'message':'Duplicate\x20reasoning\x20option\x20\x22'+_0x3f5654+'\x22'});continue;}_0x1c0575[_0x5c13eb(0x6da,_0x3ecfe0._0x32d3eb,0x5df,0x3f9)](_0x3f5654);}}var providerReasoningConfigSchema=z[_0xe18bb0(0x243,0x24f,0x2ad,0x3b1)]({'options':z[_0x47b891(0x726,0x5c4,0x61f,0x58e)](reasoningOptionSchema)})['superRefine']((_0x2e2698,_0x330cf8)=>{const _0x33d2e3={_0x2016c1:0x49c,_0x207eed:0x3cb},_0x49f14d={_0x27fae0:0x118,_0x101d1d:0x6b};function _0x132929(_0x29e965,_0x3a9b82,_0x1facdb,_0x1185f1){return _0x47b891(_0x1185f1,_0x1facdb- -_0x49f14d._0x27fae0,_0x1facdb-_0x49f14d._0x101d1d,_0x1185f1-0x119);}validateReasoningOptionIds(_0x2e2698[_0x132929(0x4d0,_0x33d2e3._0x2016c1,_0x33d2e3._0x207eed,0x362)],_0x330cf8);}),modelReasoningConfigSchema=z[_0xe18bb0(0x3e9,0x24f,0x450,0x1f7)]({'defaultOption':z['string']()['trim']()['min'](0x1)[_0x47b891(0x518,0x4bd,0x605,0x356)](),'canDisable':z[_0x47b891(0x8d1,0x744,0x807,0x6b8)]()[_0x47b891(0x6b4,0x4bd,0x4da,0x462)](),'options':z['array'](reasoningOptionSchema)})[_0x47b891(0x24c,0x381,0x17d,0x52e)]((_0x97ba43,_0x25beb4)=>{const _0x2734ee={_0x2851a3:0x456,_0xe3f6e0:0x4bf,_0x5e9bc2:0x667,_0x211bb5:0x92c,_0x435f03:0x906,_0x562b2f:0x5ce,_0x4d4afb:0x7d7,_0x1e2cdf:0x2e2,_0x38a748:0x410,_0x1a7add:0x370,_0x2b9816:0x559,_0x475e3c:0x563,_0x5309e3:0x17a,_0x4bd7d8:0x373,_0x169caf:0x357,_0x23b8ff:0x1c6,_0x4e4b7e:0x8fa,_0x4f19f2:0x612,_0x56d5b7:0x681,_0x19785c:0x802,_0x451100:0x615,_0x3c9e78:0x5dc,_0x12e90:0x870,_0x36e91e:0x42,_0x370b75:0x3c,_0x3bf331:0x11b,_0x1e7a76:0x20d,_0x4517ac:0x264,_0x570dba:0x106,_0xd2610a:0x77},_0x5bb5df={_0x163676:0x184,_0x4f2ac4:0xf2};validateReasoningOptionIds(_0x97ba43[_0x4e1133(_0x2734ee._0x2851a3,0x6b2,_0x2734ee._0xe3f6e0,_0x2734ee._0x5e9bc2)],_0x25beb4);const _0x332d1f=_0x97ba43['defaultOption']?.[_0x4e1133(_0x2734ee._0x211bb5,_0x2734ee._0x435f03,0x5f3,0x803)]();if(_0x332d1f===void 0x0)return;if(_0x332d1f===_0x4e1133(_0x2734ee._0x562b2f,0x781,_0x2734ee._0x4d4afb,0x6b4)){_0x97ba43[_0x31c6db(0x21d,0x494,0x4ad,_0x2734ee._0x1e2cdf)]!==!![]&&_0x25beb4[_0x4e1133(_0x2734ee._0x38a748,_0x2734ee._0x1a7add,0x6a2,_0x2734ee._0x2b9816)]({'code':'custom','path':[_0x4e1133(0x518,0x438,_0x2734ee._0x475e3c,0x5bc)],'message':_0x31c6db(_0x2734ee._0x5309e3,0x27e,0x575,_0x2734ee._0x4bd7d8)});return;}function _0x31c6db(_0x2ce247,_0xf3db60,_0x1e254e,_0x3e267d){return _0xe18bb0(_0xf3db60,_0x3e267d-0x174,_0x1e254e-0x1c3,_0x3e267d-0x1be);}function _0x4e1133(_0x317f4d,_0x23e6aa,_0x57db37,_0x1bdf79){return _0x47b891(_0x317f4d,_0x1bdf79-_0x5bb5df._0x163676,_0x57db37-0x1bc,_0x1bdf79-_0x5bb5df._0x4f2ac4);}!_0x97ba43[_0x31c6db(-0x4a,0x11f,_0x2734ee._0x169caf,_0x2734ee._0x23b8ff)][_0x4e1133(_0x2734ee._0x4e4b7e,_0x2734ee._0x4f19f2,_0x2734ee._0x56d5b7,_0x2734ee._0x19785c)](_0x52f7b3=>_0x52f7b3['id'][_0x4e1133(0x641,0x8e0,0x80d,0x803)]()===_0x332d1f)&&_0x25beb4[_0x4e1133(0x6be,0x61d,0x68d,0x559)]({'code':_0x4e1133(_0x2734ee._0x451100,_0x2734ee._0x3c9e78,_0x2734ee._0x12e90,0x794),'path':[_0x31c6db(0x141,_0x2734ee._0x36e91e,_0x2734ee._0x370b75,_0x2734ee._0x3bf331)],'message':_0x31c6db(_0x2734ee._0x1e7a76,0x194,0x3bd,_0x2734ee._0x4517ac)+_0x97ba43[_0x31c6db(-0xd,_0x2734ee._0x570dba,_0x2734ee._0xd2610a,_0x2734ee._0x3bf331)]+'\x22\x20is\x20not\x20a\x20declared\x20option'});}),modelDefinitionSchema=z[_0x47b891(0x8ac,0x6e0,0x50e,0x573)]({'id':z[_0x47b891(0x5b8,0x5b7,0x5be,0x3f1)](),'name':z[_0xe18bb0(0x2de,0x126,0xe4,0x320)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0xe18bb0(-0xf8,0x2c,-0x128,0x23d)]()})['passthrough'](),modelConfigSchema=z[_0xe18bb0(0x1c4,0x2ed,0x3ff,0x236)]([z[_0xe18bb0(0x1ae,0x197,0xc8,0xb9)](![]),z['literal'](!![]),z[_0x47b891(0x748,0x5b7,0x619,0x5cb)](),z[_0xe18bb0(0x57,0x133,-0x8c,0x313)](z[_0xe18bb0(-0xdf,0x126,0x276,0x278)]()),z[_0xe18bb0(0x2cd,0x133,0xc9,0x41)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x47b891(0x688,0x513,0x41e,0x440)]([_0xe18bb0(-0x1ed,-0xe8,0xd,0x124),_0x47b891(0x3e7,0x53a,0x3f5,0x57f),_0x47b891(0x6a3,0x6cc,0x558,0x4d8),_0xe18bb0(0x1d4,0x58,-0x19d,-0x18c)]),providerConfigSchema=z[_0x47b891(0x53e,0x6e0,0x80c,0x53f)]({'apiKey':z[_0xe18bb0(0x151,0x126,0x10d,0x2b0)]()[_0x47b891(0x4d7,0x4bd,0x2c8,0x382)](),'token':z['string']()[_0xe18bb0(-0x170,0x2c,-0x16b,-0x47)](),'defaultModel':z[_0x47b891(0x737,0x5b7,0x77f,0x74a)]()[_0xe18bb0(0x5f,0x2c,0x1d9,-0x1ad)](),'smallModel':z[_0x47b891(0x3b4,0x5b7,0x6e5,0x74f)]()[_0x47b891(0x68e,0x4bd,0x6a2,0x316)](),'currentAuth':z[_0xe18bb0(0x191,0x126,0xa9,0x1e6)]()['optional'](),'auth':z[_0xe18bb0(0x8,0x133,0x1ce,0x154)](authMethodSchema)[_0xe18bb0(0x1a3,0x2c,0x173,0x7f)](),'surface':chatModelSurfaceSchema[_0xe18bb0(0xb0,0x2c,-0xdc,0x178)](),'baseUrl':z[_0x47b891(0x784,0x5b7,0x4ce,0x5d7)]()[_0xe18bb0(0x152,0x2c,0x8b,-0xe3)](),'models':modelConfigSchema[_0xe18bb0(0x193,0x2c,0x23,-0xe6)](),'customHeaders':z[_0x47b891(0x630,0x5b3,0x710,0x621)](z['string'](),z[_0x47b891(0x5aa,0x5b7,0x620,0x3eb)]())[_0xe18bb0(0x6a,0x2c,-0x1dc,0x20)](),'reasoning':providerReasoningConfigSchema[_0x47b891(0x3e6,0x4bd,0x623,0x3d1)]()})[_0xe18bb0(-0x2b1,-0x115,-0x115,0xe2)](),mcpServerConfigSchema=z[_0xe18bb0(0xcb,0x24f,0xcf,0x2f9)]({'command':z[_0xe18bb0(0x179,0x126,0x24,0x28d)]()['optional'](),'args':z['array'](z['string']())[_0x47b891(0x455,0x4bd,0x6a8,0x66d)](),'env':z[_0xe18bb0(0x52,0x122,0x1cc,0xcd)](z[_0x47b891(0x51b,0x5b7,0x766,0x450)](),z[_0x47b891(0x61f,0x5b7,0x3db,0x712)]())['optional'](),'transport':z[_0xe18bb0(-0x13c,0x82,-0x144,-0x138)]([_0x47b891(0x80b,0x671,0x7f2,0x7ca),_0xe18bb0(0x102,0x120,0x2db,0x5)])[_0x47b891(0x5f5,0x4bd,0x67f,0x3dd)](),'url':z[_0xe18bb0(0xeb,0x126,0x1e1,0x30c)]()[_0xe18bb0(0x1fe,0x2c,0xf1,0x1f1)](),'headers':z[_0xe18bb0(0x185,0x122,0xdd,0x137)](z['string'](),z[_0xe18bb0(0x82,0x126,-0x3d,0xa3)]())[_0x47b891(0x5c8,0x4bd,0x590,0x39f)](),'prefix':z[_0x47b891(0x759,0x5b7,0x4b3,0x45c)]()[_0x47b891(0x571,0x4bd,0x2eb,0x45f)](),'timeoutMs':z[_0xe18bb0(0x4d,-0xba,-0x198,-0x276)]()['optional'](),'enabled':z['boolean']()['optional'](),'auth':z[_0x47b891(0x79d,0x6e0,0x565,0x4d1)]({'type':z[_0xe18bb0(-0x132,0x82,-0x11c,-0x92)]([_0xe18bb0(0x32d,0x287,0x224,0xae),_0xe18bb0(-0x13a,-0x15,0xc,0x1d5),_0xe18bb0(-0x33,0x188,0x7e,0x3e)]),'token':z['string']()[_0x47b891(0x53a,0x4bd,0x4d6,0x45a)](),'oauth':z[_0xe18bb0(0x439,0x24f,0xd4,0x37d)]({'clientId':z['string']()[_0x47b891(0x426,0x4bd,0x392,0x470)](),'clientMetadataUrl':z[_0x47b891(0x44a,0x5b7,0x6ee,0x5aa)]()[_0x47b891(0x577,0x4bd,0x38f,0x522)](),'authorizationServer':z[_0xe18bb0(0x285,0x126,0x1a7,-0x56)]()['optional'](),'scopes':z[_0x47b891(0x6c2,0x5c4,0x432,0x5f4)](z['string']())[_0x47b891(0x69a,0x4bd,0x476,0x3cd)](),'tokenStorageKey':z['string']()[_0xe18bb0(0xc7,0x2c,0x1ed,-0x1bb)]()})['passthrough']()['optional']()})['passthrough']()[_0xe18bb0(0x192,0x2c,-0x9b,0x125)]()})[_0xe18bb0(0xef,-0x115,-0x1dd,-0x88)](),mcpToolPermissionClassSchema=z['enum']([_0xe18bb0(0x1af,0x257,0x3ff,0xa7),_0xe18bb0(0x129,0x8a,-0xea,0x231),_0x47b891(0x5f1,0x73e,0x608,0x8a0)]),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0xe18bb0(-0x17a,0x2c,0x10f,0x166)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0xe18bb0(0x2ef,0x2b3,0x41f,0x2da)]()))['optional'](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x47b891(0x35a,0x4bd,0x4d4,0x5a0)](),'defaultTimeoutMs':z['number']()[_0x47b891(0x5ea,0x4bd,0x2f9,0x60f)]()})['passthrough'](),skillsSettingsSchema=z[_0x47b891(0x69b,0x6e0,0x6a0,0x545)]({'enabled':z[_0xe18bb0(0x251,0x2b3,0x1b0,0x234)]()[_0xe18bb0(-0x1d8,0x2c,0x3a,0x9f)](),'includeDefaults':z[_0x47b891(0x6e8,0x744,0x6ab,0x603)]()[_0x47b891(0x31b,0x4bd,0x2e0,0x683)](),'directories':z[_0x47b891(0x605,0x5c4,0x5ae,0x659)](z[_0xe18bb0(0x2ff,0x126,0x264,0x1b)]())[_0x47b891(0x4a8,0x4bd,0x52f,0x405)](),'exclude':z[_0xe18bb0(0x27c,0x133,0x211,0x150)](z[_0xe18bb0(-0x3e,0x126,0x256,0xcd)]())[_0x47b891(0x4ad,0x4bd,0x3e5,0x4ef)]()})['passthrough'](),commandsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x47b891(0x411,0x4bd,0x609,0x65e)](),'directories':z[_0xe18bb0(0xbf,0x133,0x19,0xb0)](z[_0x47b891(0x46b,0x5b7,0x5ec,0x49d)]())[_0xe18bb0(0x11d,0x2c,0x164,0x162)]()})['passthrough'](),agentsSettingsSchema=z['object']({'enabled':z[_0x47b891(0x6a7,0x744,0x863,0x866)]()[_0xe18bb0(0xd7,0x2c,0xc7,-0x162)](),'includeDefaults':z[_0x47b891(0x610,0x744,0x7be,0x539)]()[_0xe18bb0(0x111,0x2c,-0x109,0xfe)](),'directories':z['array'](z['string']())[_0x47b891(0x61c,0x4bd,0x373,0x363)](),'maxConcurrency':z[_0xe18bb0(-0x186,-0xba,-0x24d,-0x13f)]()[_0xe18bb0(0x1b9,-0x2a,0x165,0x124)]()[_0xe18bb0(0x1e6,0x1c2,0x16b,0x156)]()['positive']()[_0x47b891(0x345,0x4bd,0x342,0x443)]()})[_0x47b891(0x41d,0x37c,0x34d,0x25c)](),uiThemeSettingsSchema=z[_0xe18bb0(0x304,0x24f,0xc8,0x359)]({'mode':z['enum']([_0xe18bb0(-0x16f,-0xdc,-0x162,0xe9),_0x47b891(0x425,0x496,0x4b4,0x422),_0x47b891(0x3be,0x3fd,0x323,0x340)])[_0xe18bb0(0x28,0x2c,-0x3c,-0x160)](),'colorLevel':z[_0xe18bb0(-0x6a,0x82,0x1d7,0x1d2)]([_0x47b891(0x2e8,0x3b5,0x4ab,0x386),_0x47b891(0x833,0x718,0x782,0x62a),_0x47b891(0x36c,0x398,0x4b1,0x3f0),'ansi256','truecolor'])[_0xe18bb0(-0x2f,0x2c,-0x104,0x205)](),'backgrounds':z[_0x47b891(0x456,0x513,0x58e,0x560)]([_0xe18bb0(-0x1af,-0xdc,0xa3,0xff),'on','off'])[_0xe18bb0(0x21a,0x2c,0x7c,-0x78)](),'messageStyle':z[_0x47b891(0x521,0x513,0x392,0x567)]([_0xe18bb0(0x438,0x2dd,0xf0,0x4a6),_0xe18bb0(0x2f1,0x1ba,0xf9,0x25)])['optional']()})[_0xe18bb0(-0x2de,-0x115,0x26,-0x31e)](),statuslineSegmentSchema=z[_0x47b891(0x43f,0x513,0x6e0,0x6db)]([_0xe18bb0(0x169,-0xa7,-0x2ac,-0x209),'session',_0xe18bb0(0x27,0x40,0x19f,0x208),_0x47b891(0x6c5,0x4e1,0x6a0,0x6a7),_0xe18bb0(-0xaf,0x80,0x163,0x1cf),_0x47b891(0x5ee,0x6f5,0x5b6,0x546),_0x47b891(0x577,0x560,0x57c,0x622),_0xe18bb0(0x167,0x152,-0xa3,0x97),_0x47b891(0x624,0x79c,0x8c9,0x74d),_0x47b891(0x2ed,0x3d9,0x4b7,0x379),_0xe18bb0(0xcc,-0x2e,-0xcb,-0x146),_0x47b891(0x5fc,0x45a,0x3c2,0x4aa),_0xe18bb0(0x44a,0x2c4,0x19e,0x3cd),_0xe18bb0(0x2ac,0x200,0x34e,0x9e),_0xe18bb0(0x57,0x1a2,0x1e4,0x79)]),statuslineItemSchema=z[_0xe18bb0(0x227,0x2ed,0x1e1,0x4ea)]([statuslineSegmentSchema,z[_0xe18bb0(0x149,0x197,0x289,0x30d)]('|')]),statuslineRowSchema=z[_0x47b891(0x594,0x5c4,0x79c,0x43d)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x47b891(0x5a2,0x4bd,0x3f1,0x668)]()})[_0xe18bb0(-0x250,-0x115,0x41,0xcf)](),memoryExtractionSettingsSchema=z[_0xe18bb0(0x322,0x24f,0xf6,0x2c8)]({'enabled':z[_0x47b891(0x739,0x744,0x682,0x677)]()[_0x47b891(0x5fc,0x4bd,0x440,0x670)](),'provider':z['string']()[_0xe18bb0(0x26a,0x13a,0x305,0x24)](0x1)['optional'](),'model':z[_0xe18bb0(-0x8a,0x126,-0x4f,0x328)]()[_0x47b891(0x7b3,0x5cb,0x63f,0x6a9)](0x1)[_0x47b891(0x452,0x4bd,0x52c,0x2e3)](),'minUserMessages':z['number']()[_0xe18bb0(0x325,0x1c2,-0x2b,0x224)]()[_0x47b891(0x5aa,0x5cb,0x797,0x715)](0x1)[_0xe18bb0(0x152,0x2c,0xd9,-0x1e1)](),'structuredOutput':z[_0x47b891(0x8d2,0x744,0x6c0,0x84b)]()['optional'](),'maxSeedTokens':z[_0xe18bb0(0x8a,-0xba,-0x255,-0x1ee)]()['int']()[_0x47b891(0x508,0x5cb,0x40f,0x735)](0x1)[_0xe18bb0(-0xd8,0x2c,0xb3,0x23c)](),'trimToolOutputs':z['boolean']()[_0xe18bb0(-0x6d,0x2c,-0x1bd,0x123)]()})[_0x47b891(0x52a,0x708,0x559,0x807)](),memoryInjectionSettingsSchema=z['object']({'tokenBudget':z[_0x47b891(0x4eb,0x3d7,0x2f5,0x41f)]()[_0xe18bb0(0xe2,0x1c2,0x3b5,0x60)]()[_0x47b891(0x5b7,0x5cb,0x758,0x7d4)](0x80)['max'](0x2000)[_0xe18bb0(-0x110,0x2c,0x9e,0xf4)](),'rankByUsage':z[_0xe18bb0(0x1d4,0x2b3,0x2b6,0x415)]()[_0xe18bb0(-0x6d,0x2c,0xc6,-0xdb)]()})[_0xe18bb0(0x44f,0x277,0x365,0x338)](),memoryConsolidateSettingsSchema=z[_0xe18bb0(0xe3,0x24f,0x2d7,0x14b)]({'enabled':z[_0x47b891(0x8cc,0x744,0x59b,0x688)]()[_0xe18bb0(-0x15f,0x2c,0xf4,-0x1d7)](),'provider':z[_0x47b891(0x77f,0x5b7,0x3f0,0x4f2)]()[_0x47b891(0x432,0x5cb,0x56e,0x3eb)](0x1)[_0x47b891(0x2c0,0x4bd,0x38c,0x657)](),'model':z[_0x47b891(0x5e2,0x5b7,0x5b9,0x578)]()['min'](0x1)[_0xe18bb0(0x227,0x2c,0x48,0x1c9)](),'maxExtractsPerRun':z[_0x47b891(0x3ba,0x3d7,0x3fa,0x1f4)]()['int']()['min'](0x1)['optional'](),'maxUnusedDays':z[_0x47b891(0x5c9,0x3d7,0x572,0x3c4)]()['int']()[_0xe18bb0(-0xad,0x13a,0x1d7,0x33e)](0x1)[_0x47b891(0x424,0x4bd,0x666,0x2c5)](),'requireReview':z[_0xe18bb0(0x458,0x2b3,0x415,0x411)]()[_0xe18bb0(0x8d,0x2c,-0x184,0x8e)](),'writeSkills':z[_0xe18bb0(0x409,0x2b3,0x31c,0x478)]()[_0x47b891(0x35e,0x4bd,0x44c,0x602)](),'readSourceTranscripts':z[_0xe18bb0(0x465,0x2b3,0x1a9,0x290)]()[_0x47b891(0x2b1,0x4bd,0x4b7,0x4c5)](),'maxTranscriptReadsPerRun':z['number']()['int']()[_0x47b891(0x7c0,0x5cb,0x745,0x595)](0x0)[_0xe18bb0(-0x180,0x2c,0x1ca,0x1e0)]()})[_0xe18bb0(0x11d,0x277,0xe9,0x1ce)](),memorySettingsSchema=z[_0x47b891(0x75c,0x6e0,0x69f,0x639)]({'enabled':z[_0xe18bb0(0x3cd,0x2b3,0x24c,0x469)]()[_0xe18bb0(0x14f,0x2c,0xcf,-0x17)](),'extraction':memoryExtractionSettingsSchema[_0x47b891(0x597,0x4bd,0x321,0x3df)](),'consolidate':memoryConsolidateSettingsSchema[_0xe18bb0(-0xd9,0x2c,-0x60,-0x60)](),'injection':memoryInjectionSettingsSchema[_0x47b891(0x35d,0x4bd,0x48a,0x481)]()})['strict'](),recentModelSchema=z['object']({'provider':z[_0x47b891(0x570,0x5b7,0x6e4,0x4a7)](),'model':z[_0x47b891(0x4fe,0x5b7,0x5e5,0x524)](),'usedAt':z[_0xe18bb0(0x34,-0xba,-0x1ab,-0x9b)]()})[_0x47b891(0x2d6,0x37c,0x586,0x4be)](),lspServerEntrySchema=z[_0x47b891(0x807,0x6e0,0x68b,0x7e2)]({'disabled':z[_0xe18bb0(0x2c8,0x2b3,0x2c7,0x3ef)]()[_0x47b891(0x35c,0x4bd,0x4c6,0x42e)](),'command':z[_0x47b891(0x530,0x5b7,0x6c2,0x6a9)]()[_0xe18bb0(-0xca,0x2c,-0x3c,0x12e)](),'args':z['array'](z[_0xe18bb0(0x17d,0x126,0x1e7,0xf8)]())['optional'](),'rootMarkers':z[_0x47b891(0x688,0x5c4,0x64d,0x51b)](z[_0x47b891(0x570,0x5b7,0x67c,0x7b2)]())['optional']()})[_0xe18bb0(-0x72,-0x115,-0x2de,-0xe5)](),lspConfigSchema=z[_0xe18bb0(0x35f,0x24f,0xd0,0x2e1)]({'enabled':z['boolean']()['optional'](),'servers':z['record'](z['string'](),lspServerEntrySchema)[_0xe18bb0(0x12e,0x2c,-0xd1,-0x5c)]()})[_0x47b891(0x2e9,0x37c,0x1d9,0x571)](),serverEndpointSchema=z[_0xe18bb0(0xa3,0x24f,0x135,0x320)]({'url':z[_0x47b891(0x6db,0x5b7,0x4d8,0x79b)](),'token':z[_0xe18bb0(0x4d,0x126,-0x97,0xef)]()[_0x47b891(0x324,0x4bd,0x660,0x625)]()})[_0xe18bb0(-0x1f2,-0x115,0xb4,-0x286)](),commandHookConfigSchema=z[_0xe18bb0(0x2db,0x24f,0x4c,0xca)]({'type':z[_0x47b891(0x7a7,0x628,0x751,0x61e)](_0xe18bb0(0x273,0x2d4,0x2ab,0x1b7)),'command':z[_0xe18bb0(-0xd6,0x126,0x2c,0xf6)](),'timeout':z[_0x47b891(0x57c,0x3d7,0x3ce,0x515)]()[_0xe18bb0(-0x1c0,0x2c,0x26,-0xc9)]()}),hookMatcherGroupSchema=z[_0xe18bb0(0x44c,0x24f,0x373,0x201)]({'matcher':z[_0x47b891(0x65c,0x5b7,0x52a,0x693)]()[_0xe18bb0(0xa1,0x2c,-0x19a,0x17a)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0xe18bb0(0x453,0x24f,0x3ab,0x228)]({'PreToolUse':z[_0x47b891(0x675,0x5c4,0x5b2,0x539)](hookMatcherGroupSchema)[_0xe18bb0(-0xad,0x2c,-0xc5,-0xba)](),'PostToolUse':z[_0xe18bb0(0x28e,0x133,0x2f0,-0x16)](hookMatcherGroupSchema)[_0x47b891(0x2f3,0x4bd,0x3ca,0x41b)](),'UserPromptSubmit':z[_0xe18bb0(-0xb9,0x133,0x1d,0x2f0)](hookMatcherGroupSchema)[_0x47b891(0x320,0x4bd,0x5f9,0x616)](),'Stop':z[_0x47b891(0x543,0x5c4,0x4b4,0x608)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0xe18bb0(0x17,0x133,0x2e9,0x2d3)](hookMatcherGroupSchema)[_0x47b891(0x2b5,0x4bd,0x447,0x696)](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)['optional'](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x47b891(0x615,0x4bd,0x587,0x316)](),'SessionEnd':z[_0xe18bb0(0x29f,0x133,-0xa9,-0xd3)](hookMatcherGroupSchema)[_0xe18bb0(0x1c0,0x2c,0x156,0x142)]()}),providerNameSchema=z[_0xe18bb0(0x19a,0x126,0x307,0xa4)]()['min'](0x1,_0x47b891(0x7aa,0x65a,0x5c4,0x71f))[_0x47b891(0x7a7,0x5ec,0x540,0x590)](_0xa8369e=>!_0xa8369e[_0xe18bb0(-0xbd,0xfc,-0x99,0x2b8)](':'),_0xe18bb0(0x22d,0x2c8,0x135,0x499)),bashPolicyRuleSchema=z[_0xe18bb0(0x26b,0x24f,0x17c,0x415)]({'id':z[_0x47b891(0x68f,0x5b7,0x651,0x5bc)]()['trim']()[_0x47b891(0x5da,0x5cb,0x45d,0x6c9)](0x1)[_0x47b891(0x3ea,0x37e,0x309,0x409)](0x80),'action':z['enum'](['allow',_0xe18bb0(-0x17b,-0xd8,-0x12b,-0x26b)]),'cwd':z['enum']([_0x47b891(0x4b6,0x5f3,0x53e,0x64c),_0xe18bb0(0x18d,-0x51,-0x123,0x47)])[_0x47b891(0x6bc,0x4bd,0x476,0x42a)](),'commands':z[_0x47b891(0x419,0x5c4,0x539,0x69a)](z[_0xe18bb0(-0xbc,0x126,0x20a,0x12a)]()['min'](0x1))[_0xe18bb0(0x280,0x13a,-0xad,0x1a7)](0x1)})[_0xe18bb0(0x2b9,0x277,0x26d,0x2c4)](),bashPolicyConfigSchema=z['object']({'default':z[_0xe18bb0(0x2ef,0x197,0x106,0x8d)](_0xe18bb0(-0x7a,0x4d,0xfa,0x138))[_0xe18bb0(-0x127,0x2c,0xdb,-0x15b)](),'rules':z[_0x47b891(0x558,0x5c4,0x760,0x457)](bashPolicyRuleSchema)['max'](0x3e8)})[_0x47b891(0x72a,0x708,0x8bf,0x63d)](),fileEditSettingsSchema=z[_0xe18bb0(0x38d,0x24f,0x323,0xa7)]({'mode':z[_0x47b891(0x55b,0x513,0x6e1,0x5ed)](PRODUCTION_FILE_EDIT_MODES)[_0xe18bb0(0x170,0x2c,0x69,-0x149)]()})[_0x47b891(0x814,0x708,0x63a,0x758)](),toolsSettingsSchema=z[_0xe18bb0(0x38b,0x24f,0x1f2,0x19c)]({'fileEdit':fileEditSettingsSchema[_0x47b891(0x6a4,0x4bd,0x531,0x488)]()})[_0xe18bb0(0x53,-0x115,-0x2db,-0x15d)](),cliConfigSchema=z[_0xe18bb0(0x59,0x24f,0xf4,0x10a)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0xe18bb0(0x7f,0x126,0x6c,-0xc8)]()[_0xe18bb0(-0x16f,0x2c,0x1d1,0x7b)](),'apiKey':z[_0x47b891(0x578,0x5b7,0x4f0,0x457)]()['optional'](),'providers':z[_0x47b891(0x486,0x5b3,0x51c,0x4a5)](providerNameSchema,providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0xe18bb0(0x0,0x2c,0x63,-0x42)](),'skills':skillsSettingsSchema[_0x47b891(0x43c,0x4bd,0x370,0x313)](),'agents':agentsSettingsSchema[_0xe18bb0(0x7f,0x2c,0x5c,-0x131)](),'commands':commandsSettingsSchema[_0xe18bb0(-0x14a,0x2c,0x1f5,-0x192)](),'skillsEnabled':z[_0x47b891(0x473,0x5b3,0x619,0x702)](z[_0xe18bb0(-0x3f,0x126,0xb,0x21b)](),z[_0x47b891(0x8c7,0x744,0x69c,0x622)]())['optional'](),'allowedDirs':z[_0x47b891(0x596,0x5c4,0x554,0x477)](z[_0xe18bb0(0x4c,0x126,0x112,0x26d)]())['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x47b891(0x62c,0x744,0x54a,0x5de)]())['optional'](),'commandsEnabled':z[_0x47b891(0x478,0x5b3,0x49d,0x6be)](z['string'](),z[_0xe18bb0(0xbc,0x2b3,0x173,0x3ad)]())['optional'](),'memory':memorySettingsSchema['optional'](),'session':z[_0x47b891(0x841,0x6e0,0x63e,0x719)]({'memPersist':z[_0xe18bb0(0xf7,0x2b3,0x145,0x2c5)]()[_0x47b891(0x34d,0x4bd,0x40c,0x594)](),'persistEventLog':z[_0xe18bb0(0x2c8,0x2b3,0x36a,0x27c)]()[_0x47b891(0x35c,0x4bd,0x560,0x6c6)](),'persistHttpLog':z[_0x47b891(0x7e9,0x744,0x703,0x58e)]()['optional']()})[_0xe18bb0(0x5a,-0x115,-0x163,-0x86)]()[_0x47b891(0x2c5,0x4bd,0x6af,0x475)](),'requireToolApproval':z[_0x47b891(0x79a,0x744,0x613,0x5b2)]()['optional'](),'thinking':z[_0xe18bb0(0x26a,0x24f,0x288,0x312)]({'selections':z[_0xe18bb0(0x50,0x122,0xe4,0x161)](z[_0x47b891(0x3ae,0x5b7,0x739,0x44e)](),z[_0x47b891(0x51a,0x5b7,0x65c,0x42c)]())[_0x47b891(0x5db,0x4bd,0x437,0x6a2)]()})['optional'](),'streamingChunks':z[_0xe18bb0(0xcf,0x2b3,0x315,0x253)]()['optional'](),'agentsEnabled':z[_0x47b891(0x6a6,0x5b3,0x3a9,0x40d)](z['string'](),z['boolean']())['optional'](),'recentModels':z[_0x47b891(0x3cf,0x5c4,0x5c8,0x710)](recentModelSchema)[_0xe18bb0(0x30,0x2c,0x1b9,0x2c)](),'lsp':lspConfigSchema[_0xe18bb0(0xb8,0x2c,0x100,0x8f)](),'servers':z[_0x47b891(0x41a,0x5b3,0x540,0x57d)](z[_0xe18bb0(0x2c0,0x126,-0xd7,0x132)](),serverEndpointSchema)[_0x47b891(0x381,0x4bd,0x41c,0x618)](),'ui':z[_0xe18bb0(0x1d6,0x24f,0x2cc,0x273)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0xe18bb0(-0x12e,0x2c,-0x1aa,0x6d)]()})[_0xe18bb0(0x76,-0x115,-0x290,-0x7d)]()[_0xe18bb0(0xeb,0x2c,0x1d6,-0x49)](),'tools':toolsSettingsSchema[_0x47b891(0x464,0x4bd,0x34c,0x5cc)](),'hooks':hooksConfigSchema['optional'](),'bashPolicy':z[_0x47b891(0x5e0,0x602,0x6e7,0x7f7)]()[_0x47b891(0x440,0x4bd,0x3b7,0x513)]()})[_0x47b891(0x356,0x37c,0x4bc,0x23d)](),workspaceOverlaySchema=z[_0x47b891(0x789,0x6e0,0x742,0x7fd)]({'root':z[_0x47b891(0x3bc,0x5b7,0x3d8,0x706)]()[_0x47b891(0x345,0x4bd,0x414,0x6b8)](),'allowedDirs':z[_0x47b891(0x757,0x5c4,0x4a6,0x6df)](z[_0x47b891(0x6fe,0x5b7,0x47d,0x471)]())[_0xe18bb0(-0x2a,0x2c,0x146,0x1f9)](),'activeProvider':providerNameSchema[_0xe18bb0(0x76,0x2c,-0x7c,-0x47)](),'activeModel':z[_0x47b891(0x67a,0x5b7,0x58b,0x700)]()['optional'](),'mcp':mcpSettingsSchema[_0xe18bb0(-0x177,0x2c,-0x154,-0x142)](),'skills':skillsSettingsSchema[_0x47b891(0x5ef,0x4bd,0x39d,0x560)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0xe18bb0(0xb7,0x2c,-0x18a,0x57)](),'hooks':hooksConfigSchema[_0x47b891(0x5cd,0x4bd,0x2e8,0x328)](),'memory':memorySettingsSchema[_0x47b891(0x454,0x4bd,0x354,0x476)](),'mcpEnabled':prototypeSafeRecord(z[_0x47b891(0x8ba,0x744,0x6bd,0x60f)]())['optional'](),'skillsEnabled':z['record'](z[_0x47b891(0x5a7,0x5b7,0x41f,0x6e7)](),z['boolean']())[_0x47b891(0x2d8,0x4bd,0x2f1,0x3d7)](),'agentsEnabled':z[_0xe18bb0(0x16f,0x122,0x29b,0x141)](z['string'](),z[_0xe18bb0(0x132,0x2b3,0x169,0x126)]())[_0xe18bb0(-0x80,0x2c,0x1,-0x1bd)](),'commandsEnabled':z[_0xe18bb0(0x307,0x122,0x222,0x2a2)](z[_0x47b891(0x68b,0x5b7,0x421,0x61a)](),z[_0xe18bb0(0x2f0,0x2b3,0x3a4,0xf6)]())[_0xe18bb0(0x224,0x2c,-0xe1,0x23a)](),'bashPolicy':z[_0x47b891(0x539,0x602,0x6ad,0x559)]()[_0x47b891(0x544,0x4bd,0x382,0x68e)](),'tools':toolsSettingsSchema[_0xe18bb0(0x1a0,0x2c,0x6f,0x2)]()})[_0x47b891(0x460,0x37c,0x363,0x3fb)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0xe18bb0(0x16e,0x22f,0x119,0x1e8)](Object[_0x47b891(0x480,0x4b1,0x660,0x55a)]),'prototype']);function buildDescription2(_0x173fce){const _0x26053c={_0x54f128:0x67b,_0x17db48:0x473,_0x1b627a:0x3e8,_0x3beb97:0x42b,_0x1ac75d:0x526,_0x22b210:0x326,_0x6ba812:0x50d,_0x30af3e:0x698,_0x2d3f96:0x700,_0x242679:0x829,_0x3e50df:0x792,_0x22beda:0x4ec},_0x90e86f={_0x1f9e23:0x322,_0x5bf06f:0x68,_0x32ee4f:0x104},_0x194329={_0x20c076:0x4d,_0x498b4a:0x1a9};function _0x5ce74a(_0x451148,_0x2c0a4d,_0x1f1b2e,_0x3bba7f){return _0x47b891(_0x1f1b2e,_0x451148- -_0x194329._0x20c076,_0x1f1b2e-0x182,_0x3bba7f-_0x194329._0x498b4a);}function _0x2e8ad2(_0x53fe1e,_0x426f52,_0x24a4cf,_0x5d6509){return _0xe18bb0(_0x53fe1e,_0x426f52-_0x90e86f._0x1f9e23,_0x24a4cf-_0x90e86f._0x5bf06f,_0x5d6509-_0x90e86f._0x32ee4f);}if(_0x173fce[_0x2e8ad2(_0x26053c._0x54f128,0x4c9,0x5f5,_0x26053c._0x17db48)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x5ce74a(_0x26053c._0x1b627a,0x4a1,0x5a7,_0x26053c._0x3beb97)][_0x5ce74a(_0x26053c._0x1ac75d,_0x26053c._0x22b210,_0x26053c._0x6ba812,_0x26053c._0x30af3e)]('\x0a');const _0x4d6cdb=[_0x5ce74a(_0x26053c._0x2d3f96,0x604,_0x26053c._0x242679,0x6c7),_0x5ce74a(0x641,0x5c8,_0x26053c._0x3e50df,0x538),'Available\x20commands:',..._0x173fce['map'](_0x582de0=>_0x582de0['argumentHint']?'-\x20'+_0x582de0[_0x5ce74a(0x39a,0x3ce,0x4db,0x1fd)]+'\x20'+_0x582de0[_0x5ce74a(0x362,0x52c,0x1c9,0x37d)]+':\x20'+_0x582de0[_0x2e8ad2(0x6e,0x220,0x35a,0x10d)]:'-\x20'+_0x582de0[_0x2e8ad2(0x1e6,0x278,0x25e,0x22d)]+':\x20'+_0x582de0[_0x5ce74a(0x342,0x1bc,0x22d,0x3dd)])];return _0x4d6cdb[_0x2e8ad2(0x359,0x404,_0x26053c._0x22beda,0x461)]('\x0a');}function createInvokeCommandTool(_0x11c369){const _0x32a3f6={_0x5705aa:0x4d6,_0x46d959:0x1a6,_0x7ddb33:0x2e4,_0x4298f7:0x2c5,_0x9e0d43:0x233,_0x36067a:0x3cd,_0x47b5bc:0x1b1,_0x5c5498:0x99,_0x3d92dd:0x247},_0x1f4ccb={_0x578027:0x5b1,_0x3b8c3d:0x779,_0x535285:0x7ad,_0x155acf:0x445,_0x49bea8:0x3e1,_0x357e6d:0x5dd,_0xd891a:0x1d6,_0x3288e8:0x20a,_0x4811bd:0x3c5,_0x4cb2d5:0x587,_0xae5670:0x4a1,_0x4a31fe:0x90a,_0x456e9d:0x429,_0x1bc02d:0x371,_0x77111f:0x4a5,_0x218eb4:0x1ee,_0x334c3d:0x62c,_0x138a56:0x809,_0xe2e712:0x488,_0x1e42ca:0x65d,_0x12ce11:0x791},_0x3df120={_0x3db177:0x1d5,_0x38aed6:0x26d,_0x7b1b8a:0x142},_0x495f6c={_0x407575:0x1b7,_0x24fc51:0x40},_0x41bd63=new Map(_0x11c369[_0x445e98(_0x32a3f6._0x5705aa,0x319,0x136,0x24b)]['map'](_0x2094ad=>[_0x2094ad['id'],_0x2094ad])),_0x30e9c1=buildDescription2(_0x11c369['commands']);function _0x16e6a7(_0x386a85,_0x751f43,_0x2e90c0,_0x56f30e){return _0x47b891(_0x56f30e,_0x386a85- -0x598,_0x2e90c0-_0x495f6c._0x407575,_0x56f30e-_0x495f6c._0x24fc51);}function _0x445e98(_0x3048b2,_0x31e85d,_0x5ba109,_0x36ae8d){return _0xe18bb0(_0x36ae8d,_0x31e85d-0x1ae,_0x5ba109-0xae,_0x36ae8d-0x7c);}return defineTool({'name':'InvokeCommand','permissionClass':_0x16e6a7(_0x32a3f6._0x46d959,_0x32a3f6._0x7ddb33,_0x32a3f6._0x4298f7,0x122),'description':_0x30e9c1,'inputSchema':{'type':'object','properties':{'name':{'type':_0x16e6a7(0x1f,-0x10,0x123,0x1f6)},'args':{'type':_0x445e98(0x203,0x2d4,_0x32a3f6._0x9e0d43,_0x32a3f6._0x36067a)}},'required':[_0x16e6a7(-_0x32a3f6._0x47b5bc,-_0x32a3f6._0x5c5498,-_0x32a3f6._0x3d92dd,-0x246)]},async *'execute'(_0x335e01){const _0x4a24c5={_0x4eeefc:0x1a6},_0xeec61a=_0x41bd63[_0x44f470(_0x1f4ccb._0x578027,_0x1f4ccb._0x3b8c3d,0x756,_0x1f4ccb._0x535285)](_0x335e01[_0x338a2d(0x371,_0x1f4ccb._0x155acf,0x4b3,_0x1f4ccb._0x49bea8)]);if(!_0xeec61a){const _0x34268c=Array['from'](_0x41bd63[_0x338a2d(0x409,_0x1f4ccb._0x357e6d,0x4a7,0x2ee)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x335e01[_0x338a2d(0x371,_0x1f4ccb._0xd891a,_0x1f4ccb._0x3288e8,_0x1f4ccb._0x4811bd)]+_0x44f470(0x6fd,0x861,_0x1f4ccb._0x4cb2d5,0x628)+_0x34268c,{'name':_0x335e01['name']});}function _0x44f470(_0x53cf03,_0x31f718,_0x4251d2,_0x266eb9){return _0x445e98(_0x53cf03-_0x4a24c5._0x4eeefc,_0x53cf03-0x367,_0x4251d2-0x51,_0x4251d2);}function _0x338a2d(_0x573d94,_0x300f52,_0x5f4684,_0x54faf5){return _0x445e98(_0x573d94-_0x3df120._0x3db177,_0x573d94-_0x3df120._0x38aed6,_0x5f4684-_0x3df120._0x7b1b8a,_0x300f52);}const _0x2b841c=await _0x11c369[_0x338a2d(0x5a2,0x515,_0x1f4ccb._0xae5670,0x4ad)](_0xeec61a),_0xead733=_0x335e01[_0x44f470(0x7b6,0x97d,0x8b6,_0x1f4ccb._0x4a31fe)]??'',_0x3eda29=renderCommandInstructions({'instructions':_0x2b841c['instructions'],'argumentsText':_0xead733,'argumentNames':_0x2b841c[_0x338a2d(0x3c1,0x330,_0x1f4ccb._0x456e9d,0x365)]});return yield createToolOutput(_0x3eda29,{'id':_0x2b841c['id'],'name':_0x2b841c[_0x338a2d(_0x1f4ccb._0x1bc02d,_0x1f4ccb._0x77111f,_0x1f4ccb._0x218eb4,0x3b5)],'path':_0xeec61a[_0x338a2d(_0x1f4ccb._0x334c3d,0x533,0x71d,_0x1f4ccb._0x138a56)][_0x44f470(0x68c,_0x1f4ccb._0xe2e712,_0x1f4ccb._0x1e42ca,_0x1f4ccb._0x12ce11)]}),void 0x0;}});}function createKillShellTool(_0x77b2d3){const _0x391fdc={_0x26d385:0x1e8,_0x4f2eed:0x124,_0x176cc6:0x26b,_0x59e6ed:0x3cf,_0x2e3ba5:0x79d,_0x3abf6d:0x906,_0x123e2c:0x8e7,_0x3d5d85:0x72b,_0x50c0f0:0x64c,_0x1d5212:0x182,_0x573ac8:0x1de,_0xf0dc61:0x46},_0x77398f={_0x58a679:0x316,_0x9b6bb7:0x12b,_0x322a39:0x326,_0x38305a:0xc2,_0x318de7:0x14d,_0x1a14bf:0x132,_0x4a5b53:0x699,_0x285a70:0x7ad,_0x1df371:0x84b,_0x5ecc98:0x24f,_0xa04ddf:0x34f,_0x56f64f:0x291,_0x1deb40:0xb,_0xc29c63:0x54,_0x1b7d88:0x153,_0x3d1c76:0x128,_0x333ddb:0x108,_0x4a1c23:0xbe,_0x14d7d5:0x6e2,_0x519d8a:0x6d4,_0x2ab2b0:0x867,_0x40a3d0:0x64f,_0x1f8617:0x5ee,_0x47661c:0x2d,_0x14fd88:0x137,_0x3758c3:0x7b7,_0x360772:0x8ab,_0xfdb9e6:0x317,_0x5c33ca:0x221,_0x41afdc:0x353,_0x41bd35:0x297,_0x216c23:0x7,_0x5dde75:0x784,_0x3de181:0x8e4,_0x2fe64e:0x448,_0x5808ec:0x5ee},_0x3276a1={_0x4d4e34:0xb1,_0x2a9c3f:0x3b3},_0x1b6e64={_0x2dfe63:0x4ba,_0x4ee1a1:0x94},_0x597f29={_0x25c7c0:0x435,_0x1ae365:0x15d};function _0x54c972(_0x3ec69a,_0x1f4c5d,_0x5c7802,_0x1213a5){return _0x47b891(_0x1213a5,_0x5c7802- -_0x597f29._0x25c7c0,_0x5c7802-_0x597f29._0x1ae365,_0x1213a5-0x1eb);}const {registry:_0x5efedc}=_0x77b2d3;function _0x3ea1b7(_0x2608bf,_0x32aa3c,_0x1bb08d,_0x4c00b3){return _0xe18bb0(_0x32aa3c,_0x1bb08d-_0x1b6e64._0x2dfe63,_0x1bb08d-0xed,_0x4c00b3-_0x1b6e64._0x4ee1a1);}return defineTool({'name':_0x54c972(_0x391fdc._0x26d385,_0x391fdc._0x4f2eed,_0x391fdc._0x176cc6,_0x391fdc._0x59e6ed),'permissionClass':_0x3ea1b7(_0x391fdc._0x2e3ba5,_0x391fdc._0x3abf6d,0x767,_0x391fdc._0x123e2c),'description':_0x3ea1b7(0x684,_0x391fdc._0x3d5d85,_0x391fdc._0x50c0f0,0x5a8),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x54c972(0x214,0x78,_0x391fdc._0x1d5212,0x21e)}},'required':[_0x54c972(-0x10b,_0x391fdc._0x573ac8,0x17,_0x391fdc._0xf0dc61)]},async *'execute'(_0x2424a3){const _0x59ec96=await _0x5efedc[_0x346b7c(_0x77398f._0x58a679,_0x77398f._0x9b6bb7,_0x77398f._0x322a39,0x303)](_0x2424a3['shellId']),_0x3e0c99={'shellId':_0x59ec96[_0x346b7c(-0x99,_0x77398f._0x38305a,-_0x77398f._0x318de7,_0x77398f._0x1a14bf)],'outcome':_0x59ec96['outcome'],'status':_0x59ec96[_0x15f5fa(0x839,_0x77398f._0x4a5b53,_0x77398f._0x285a70,_0x77398f._0x1df371)],'exitCode':_0x59ec96[_0x346b7c(0x137,0x31a,_0x77398f._0x5ecc98,_0x77398f._0xa04ddf)],'signal':_0x59ec96[_0x346b7c(0x4a5,0x2b3,_0x77398f._0x56f64f,0x1c1)],'error':_0x59ec96[_0x346b7c(0x189,0x2d,-_0x77398f._0x1deb40,-_0x77398f._0xc29c63)],'gracefulRequested':_0x59ec96[_0x346b7c(_0x77398f._0x1b7d88,_0x77398f._0x3d1c76,_0x77398f._0x333ddb,-_0x77398f._0x4a1c23)],'forceRequested':_0x59ec96[_0x15f5fa(0x946,_0x77398f._0x14d7d5,_0x77398f._0x519d8a,0x808)]};if(_0x59ec96['outcome']===_0x15f5fa(0xa6d,_0x77398f._0x2ab2b0,0x76d,0x88b))throw new ToolExecutionError('Failed\x20to\x20terminate\x20'+_0x2424a3[_0x15f5fa(0x693,_0x77398f._0x40a3d0,0x684,_0x77398f._0x1f8617)]+':\x20'+(_0x59ec96[_0x346b7c(0x46,_0x77398f._0x47661c,0x10,-_0x77398f._0x14fd88)]??_0x15f5fa(0x78b,_0x77398f._0x3758c3,0x9a0,_0x77398f._0x360772)),_0x3e0c99);function _0x15f5fa(_0x418daf,_0x3e8417,_0x33ec92,_0x58ad39){return _0x54c972(_0x418daf-0x1e1,_0x3e8417-0x8d,_0x58ad39-0x5d7,_0x33ec92);}const _0x1aec38=_0x59ec96[_0x346b7c(_0x77398f._0xfdb9e6,_0x77398f._0x5c33ca,0x412,0x223)]===_0x346b7c(0x433,_0x77398f._0x41afdc,0x3c0,_0x77398f._0x41bd35)?_0x346b7c(_0x77398f._0x216c23,0xf6,-0x105,0x11b)+_0x2424a3['shellId']+'\x20was\x20already\x20'+_0x59ec96[_0x15f5fa(0x6ca,_0x77398f._0x5dde75,_0x77398f._0x3de181,0x84b)]+'.':_0x346b7c(0x2b2,0x2ea,0x186,0x16e)+_0x2424a3[_0x15f5fa(0x45c,_0x77398f._0x2fe64e,0x602,_0x77398f._0x5808ec)]+'.';function _0x346b7c(_0x3ed9c6,_0x543bb4,_0x2b3a07,_0x545df3){return _0x3ea1b7(_0x3ed9c6-_0x3276a1._0x4d4e34,_0x3ed9c6,_0x543bb4- -_0x3276a1._0x2a9c3f,_0x545df3-0x5e);}return createToolOutput(_0x1aec38,_0x3e0c99);}});}import _0x8bf7ba from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x2e3de2=>{const _0x54f46f={_0x326f9f:0x39a,_0x2b4b74:0x1e1,_0x2be25f:0x423},{lookup:_0x3a4681}=await import(_0x2dfb4f(_0x54f46f._0x326f9f,0x4c1,_0x54f46f._0x2b4b74,_0x54f46f._0x2be25f));function _0x2dfb4f(_0x416027,_0x3a9156,_0x474ec0,_0x5a0513){return _0xe18bb0(_0x474ec0,_0x416027-0x499,_0x474ec0-0x9c,_0x5a0513-0x195);}return _0x3a4681(_0x2e3de2,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x5ad06b){const _0x272bf6={_0x35baba:0x5ee,_0x7c7f4:0x70d,_0x2a544a:0x850,_0x1de325:0x7d9},_0x8fc1e4={_0x3628ed:0x509,_0x5e4b43:0x1d};function _0x44c3d3(_0x20df83,_0x1f5648,_0x1a1757,_0x125af0){return _0x47b891(_0x125af0,_0x1f5648- -_0x8fc1e4._0x3628ed,_0x1a1757-_0x8fc1e4._0x5e4b43,_0x125af0-0x37);}const _0x33f3f7=_0x5ad06b['split']('.');function _0x404ffa(_0x2ec3e7,_0x3a9383,_0x422a06,_0x3f2b96){return _0x47b891(_0x3f2b96,_0x422a06-0x17f,_0x422a06-0x176,_0x3f2b96-0x53);}if(_0x33f3f7[_0x404ffa(0x8d9,0x931,0x7b7,_0x272bf6._0x35baba)]!==0x4)return null;let _0x5bf5a3=0x0;for(const _0x4240ac of _0x33f3f7){if(!/^\d{1,3}$/[_0x404ffa(0x72c,_0x272bf6._0x7c7f4,_0x272bf6._0x2a544a,_0x272bf6._0x1de325)](_0x4240ac))return null;const _0x490080=Number(_0x4240ac);if(_0x490080>0xff)return null;_0x5bf5a3=_0x5bf5a3*0x100+_0x490080;}return _0x5bf5a3>>>0x0;}function isBlockedIpv4(_0x1460f2){const _0x131c05={_0x2d9c74:0x3fd,_0x39d339:0x419,_0x4c0a24:0x5f8,_0x4a0ea7:0x3c9,_0x287188:0x3d7,_0x307b8e:0x532,_0x26579c:0x59e,_0x446345:0x7a7,_0x32b93c:0x5df,_0x3ee71f:0x762,_0x528da0:0x741,_0x1a50ee:0x4b6,_0x156534:0x5df,_0x4133b8:0x3ec,_0x2a87b1:0xa66,_0x50adf5:0x75c,_0x3e291a:0x618},_0x1b631d={_0x239ef3:0x1dd},_0x29adf3={_0x5ba6fd:0xb};function _0x2fbfd5(_0x2865d9,_0x258208,_0x35edb0,_0x256158){return _0xe18bb0(_0x35edb0,_0x256158-0x645,_0x35edb0-0xa5,_0x256158-_0x29adf3._0x5ba6fd);}const _0x48b216=ipv4ToInt(_0x1460f2);function _0x1956e2(_0x4ae403,_0x215f24,_0x22641e,_0xb3ef19){return _0x47b891(_0x22641e,_0x4ae403- -0x32,_0x22641e-_0x1b631d._0x239ef3,_0xb3ef19-0x4);}if(_0x48b216===null)return!![];const _0x4356c3=(_0x458fe0,_0x501f7a)=>{const _0x56d50b=ipv4ToInt(_0x458fe0);if(_0x56d50b===null)return![];const _0x1a0b98=_0x501f7a===0x0?0x0:0xffffffff<<0x20-_0x501f7a>>>0x0;return(_0x48b216&_0x1a0b98)===(_0x56d50b&_0x1a0b98);};return _0x4356c3('0.0.0.0',0x8)||_0x4356c3(_0x1956e2(_0x131c05._0x2d9c74,_0x131c05._0x39d339,_0x131c05._0x4c0a24,0x4b5),0x8)||_0x4356c3(_0x1956e2(_0x131c05._0x4a0ea7,_0x131c05._0x287188,_0x131c05._0x307b8e,_0x131c05._0x26579c),0xa)||_0x4356c3('127.0.0.0',0x8)||_0x4356c3(_0x1956e2(0x605,0x770,_0x131c05._0x446345,0x440),0x10)||_0x4356c3(_0x1956e2(_0x131c05._0x32b93c,_0x131c05._0x3ee71f,_0x131c05._0x528da0,_0x131c05._0x1a50ee),0xc)||_0x4356c3(_0x1956e2(0x5ef,0x501,_0x131c05._0x156534,_0x131c05._0x4133b8),0x18)||_0x4356c3(_0x1956e2(0x65a,0x4bc,0x861,0x6ca),0x10)||_0x4356c3('198.18.0.0',0xf)||_0x4356c3(_0x2fbfd5(_0x131c05._0x2a87b1,0xabc,0x880,0x8b9),0x4)||_0x4356c3(_0x1956e2(0x756,_0x131c05._0x50adf5,_0x131c05._0x3e291a,0x949),0x4);}function expandIpv6(_0x47307b){const _0x32d4cc={_0x10418e:0x3fe,_0x52e2fc:0xa8,_0x14422f:0x1a8,_0x516ddb:0xe5,_0x132a57:0x20a,_0x1d8cd9:0x4e4,_0x38c2f3:0x3ea,_0x505c44:0x230,_0x33bbe8:0x202,_0x3bcd05:0x3bf,_0x3e0f7b:0x255,_0x33bd19:0x48,_0x5a5dfa:0x123,_0xdbeb81:0x5d6,_0x1ad471:0x3dc,_0x2fb847:0x54d},_0x1ad5b5={_0x508d15:0x1c1,_0x877ec9:0x5f},_0x3b3075={_0x424354:0x121};let _0x1b1c32=_0x47307b;function _0x1dfad5(_0x36b256,_0x1c764a,_0x3a77ac,_0x729802){return _0xe18bb0(_0x36b256,_0x1c764a-0x305,_0x3a77ac-0x12e,_0x729802-_0x3b3075._0x424354);}let _0x4e867a;const _0x21c5b8=_0x1b1c32['lastIndexOf'](':');_0x1b1c32[_0x1dfad5(0x19b,0x215,0x222,_0x32d4cc._0x10418e)](_0x21c5b8+0x1)['includes']('.')&&(_0x4e867a=_0x1b1c32['slice'](_0x21c5b8+0x1),_0x1b1c32=_0x1b1c32['slice'](0x0,_0x21c5b8+0x1));const _0x3954e5=_0x1b1c32[_0x9decc7(0x4,-_0x32d4cc._0x52e2fc,-0xed,-0x2bb)]('::');if(_0x3954e5[_0x9decc7(_0x32d4cc._0x14422f,_0x32d4cc._0x516ddb,0x123,_0x32d4cc._0x132a57)]>0x2)return null;const _0x464e57=_0x4f80e9=>_0x4f80e9['split'](':')[_0x1dfad5(0x500,0x55e,0x691,0x460)](_0x55860f=>_0x55860f['length']>0x0)[_0x1dfad5(0x536,0x475,0x41d,0x27a)](_0x2f0159=>Number[_0x9decc7(-0x2da,0xd,-0xf1,-0x256)](_0x2f0159,0x10)),_0x3ff591=_0x3954e5[0x0]?_0x464e57(_0x3954e5[0x0]):[],_0x25f621=_0x3954e5[_0x1dfad5(_0x32d4cc._0x1d8cd9,0x4ac,0x4f3,0x5cc)]===0x2&&_0x3954e5[0x1]?_0x464e57(_0x3954e5[0x1]):[];function _0x9decc7(_0x25f7da,_0x2af853,_0x4b4be8,_0x4efe66){return _0x47b891(_0x2af853,_0x4b4be8- -0x515,_0x4b4be8-_0x1ad5b5._0x508d15,_0x4efe66-_0x1ad5b5._0x877ec9);}const _0x52d660=[];if(_0x4e867a){const _0x1734ec=ipv4ToInt(_0x4e867a);if(_0x1734ec===null)return null;_0x52d660[_0x1dfad5(_0x32d4cc._0x38c2f3,_0x32d4cc._0x505c44,_0x32d4cc._0x33bbe8,_0x32d4cc._0x3bcd05)](_0x1734ec>>>0x10&0xffff,_0x1734ec&0xffff);}const _0x14bfab=[..._0x25f621,..._0x52d660],_0x4898c2=0x8-_0x3ff591['length']-_0x14bfab['length'];if(_0x3954e5[_0x9decc7(0x11e,_0x32d4cc._0x3e0f7b,0x123,-0xb4)]===0x1)return _0x3ff591[_0x9decc7(0xe4,0x301,0x123,-0xd0)]+_0x14bfab[_0x9decc7(-0x48,-_0x32d4cc._0x33bd19,_0x32d4cc._0x5a5dfa,0xb)]===0x8?[..._0x3ff591,..._0x14bfab]:null;if(_0x4898c2<0x0)return null;return[..._0x3ff591,...new Array(_0x4898c2)[_0x1dfad5(_0x32d4cc._0xdbeb81,_0x32d4cc._0x1ad471,_0x32d4cc._0x2fb847,0x5d6)](0x0),..._0x14bfab];}function isBlockedIpv6(_0x2344b7){const _0x10debe={_0x903df2:0xcf,_0x547c80:0x5f3,_0x17076b:0x96,_0x11c3c9:0x2a1},_0x11eb47={_0x10572b:0x1b5,_0x401d0a:0xb1},_0x20e8a2={_0x12b813:0x1a6},_0x4e8590=expandIpv6(_0x2344b7);if(!_0x4e8590||_0x4e8590[_0x18a38e(0x6c8,0x4c9,0x686,0x2bb)](_0x3250da=>Number[_0x18a38e(0x1f8,0x1ee,0x38d,0x207)](_0x3250da)))return!![];const _0x1226b5=_0x4e8590['slice'](0x0,0x7)['every'](_0x2dfe45=>_0x2dfe45===0x0);if(_0x1226b5&&(_0x4e8590[0x7]===0x0||_0x4e8590[0x7]===0x1))return!![];if(_0x4e8590[_0x325263(-0x114,-0x88,_0x10debe._0x903df2,0x1f3)](0x0,0x5)[_0x18a38e(0x72b,0x5ca,0x69d,_0x10debe._0x547c80)](_0x41cb28=>_0x41cb28===0x0)&&(_0x4e8590[0x5]===0xffff||_0x4e8590[0x5]===0x0)){const _0x4bf6c9=(_0x4e8590[0x6]<<0x10|_0x4e8590[0x7])>>>0x0,_0x1b3f3e=[_0x4bf6c9>>>0x18&0xff,_0x4bf6c9>>>0x10&0xff,_0x4bf6c9>>>0x8&0xff,_0x4bf6c9&0xff][_0x325263(_0x10debe._0x17076b,0x4a1,_0x10debe._0x11c3c9,0xe7)]('.');return isBlockedIpv4(_0x1b3f3e);}const _0x10a04c=_0x4e8590[0x0];if((_0x10a04c&0xff00)===0xfc00||(_0x10a04c&0xfe00)===0xfc00)return!![];if((_0x10a04c&0xffc0)===0xfe80)return!![];function _0x325263(_0x228b44,_0x3396b0,_0x5e037f,_0x4aeb28){return _0x47b891(_0x3396b0,_0x5e037f- -0x2d2,_0x5e037f-0x59,_0x4aeb28-_0x20e8a2._0x12b813);}function _0x18a38e(_0xbbfea4,_0x2a4397,_0x519c7c,_0x54548b){return _0x47b891(_0x54548b,_0x2a4397- -_0x11eb47._0x10572b,_0x519c7c-0x116,_0x54548b-_0x11eb47._0x401d0a);}if((_0x10a04c&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x1f12ba){const _0x2888de=isIP(_0x1f12ba);if(_0x2888de===0x4)return isBlockedIpv4(_0x1f12ba);if(_0x2888de===0x6)return isBlockedIpv6(_0x1f12ba);return!![];}async function assertPublicUrl(_0x24c0b1,_0x447764={}){const _0x5604dd={_0x3af50a:0x60e,_0x28bc88:0x6af,_0x3a887a:0x7f5,_0x53b93e:0x562,_0x3acce8:0x501,_0x1ff81a:0x5ab,_0x4e3f37:0x5b5,_0x3dafed:0x4c9,_0x1f7316:0x5fc,_0x5f4b84:0x2fd,_0x4d6f4c:0x8b,_0x371608:0x2d2,_0x2de194:0x2a1,_0x20f228:0x13f,_0x46e194:0x326,_0x34d232:0x196,_0x504d3c:0x87,_0x35cc52:0x332,_0x31657f:0x1ce,_0x3364df:0x133,_0x3061c6:0x12b,_0x3ef55b:0x396,_0x5ad767:0x1c9,_0xbdec24:0x3d8,_0x1c1e27:0x4d7,_0x351e8c:0x11b,_0x4e6383:0x63,_0x2ec2cc:0x85,_0x55ea32:0x7,_0x514beb:0x163,_0x2f0f1e:0x174,_0x69ed37:0x20a,_0x588624:0xb5,_0x5be566:0x117,_0x248d31:0x665,_0x2f462e:0x700},_0x1b2287={_0x551eae:0x521,_0x19d269:0x176},_0x2d7fe1={_0x7e84d7:0x78};let _0x5c90f2;try{_0x5c90f2=new URL(_0x24c0b1);}catch{throw new ToolExecutionError(_0x51d6e2(0x551,0x66a,_0x5604dd._0x3af50a,_0x5604dd._0x28bc88),{'url':_0x24c0b1});}if(_0x5c90f2['protocol']!==_0x51d6e2(0x5e9,0x6d6,0x891,_0x5604dd._0x3a887a)&&_0x5c90f2['protocol']!==_0x51d6e2(_0x5604dd._0x53b93e,_0x5604dd._0x3acce8,_0x5604dd._0x1ff81a,_0x5604dd._0x4e3f37))throw new ToolExecutionError(_0x51d6e2(_0x5604dd._0x3dafed,0x683,0x733,_0x5604dd._0x1f7316),{'url':_0x24c0b1});if(_0x5c90f2[_0x51d6e2(0x2bf,0x42d,0x540,_0x5604dd._0x5f4b84)]||_0x5c90f2['password'])throw new ToolExecutionError(_0x438e76(-_0x5604dd._0x4d6f4c,-_0x5604dd._0x371608,-0x103,-_0x5604dd._0x2de194),{'url':_0x5c90f2[_0x438e76(-_0x5604dd._0x20f228,-_0x5604dd._0x46e194,-_0x5604dd._0x34d232,0x5a)]+'//'+_0x5c90f2[_0x438e76(-0x1b8,-_0x5604dd._0x504d3c,-0xd1,-0x26b)]+_0x5c90f2[_0x438e76(_0x5604dd._0x35cc52,-0x1a,_0x5604dd._0x31657f,0x109)]});const _0xc8beb9=_0x5c90f2['hostname'][_0x438e76(_0x5604dd._0x3364df,_0x5604dd._0x3061c6,0x233,_0x5604dd._0x3ef55b)](/^\[|\]$/g,''),_0x4ede19=_0x5c90f2[_0x51d6e2(0x498,0x313,0x3e6,0x2e1)]+'//'+_0x5c90f2[_0x51d6e2(_0x5604dd._0x5ad767,_0x5604dd._0xbdec24,0x434,_0x5604dd._0x1c1e27)]+_0x5c90f2[_0x51d6e2(0x47f,0x677,0x797,0x5f5)];function _0x51d6e2(_0x4fcba8,_0x5eed4a,_0x557a48,_0x494721){return _0x47b891(_0x4fcba8,_0x5eed4a- -_0x2d7fe1._0x7e84d7,_0x557a48-0x135,_0x494721-0x149);}if(isIP(_0xc8beb9)){if(isBlockedAddress(_0xc8beb9))throw new ToolExecutionError(_0x438e76(_0x5604dd._0x351e8c,_0x5604dd._0x4e6383,_0x5604dd._0x2ec2cc,-_0x5604dd._0x55ea32),{'url':_0x4ede19});return _0x5c90f2;}const _0xdc3875=_0x447764[_0x438e76(_0x5604dd._0x514beb,-_0x5604dd._0x2f0f1e,0x14,_0x5604dd._0x69ed37)]??defaultLookup;let _0x3bacf2;try{_0x3bacf2=await _0xdc3875(_0xc8beb9);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x4ede19});}function _0x438e76(_0x22a374,_0x272031,_0xd5132,_0x2bdd04){return _0x47b891(_0x2bdd04,_0xd5132- -_0x1b2287._0x551eae,_0xd5132-0xfa,_0x2bdd04-_0x1b2287._0x19d269);}if(_0x3bacf2[_0x438e76(_0x5604dd._0x588624,0x6f,_0x5604dd._0x5be566,0x297)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x4ede19});for(const {address:_0x4cf1ee}of _0x3bacf2){if(isBlockedAddress(_0x4cf1ee))throw new ToolExecutionError(_0x51d6e2(_0x5604dd._0x248d31,0x503,0x502,_0x5604dd._0x2f462e),{'url':_0x4ede19});}return _0x5c90f2;}async function safeFetch(_0x4f06b7,_0x4e575e={},_0x383055={}){const _0x408470={_0x2c5f86:0x798,_0x53cb8f:0xa45,_0x4712bb:0x5e4,_0x35982f:0x6f1,_0x1cbbdb:0x68e,_0xa7f571:0xa27,_0x52d519:0x9fd,_0x3b980b:0x883,_0xeba0b0:0x7be,_0x5710f7:0x819,_0x2fd8ae:0x447,_0x1ea02d:0x43b,_0x27d5c6:0x7a7,_0x3d6f47:0x769,_0x591b39:0x88a,_0x8ff000:0x7af},_0x226406={_0x120251:0x592,_0x4313db:0x53},_0x5d1ec2={_0x52ea47:0x616,_0xdb82cb:0x53};function _0x14a421(_0x3cc36a,_0x20d3a9,_0x47e757,_0xad13f3){return _0xe18bb0(_0x20d3a9,_0xad13f3-_0x5d1ec2._0x52ea47,_0x47e757-_0x5d1ec2._0xdb82cb,_0xad13f3-0xd);}function _0x455658(_0x25eac1,_0x4fb609,_0x488d40,_0x5b5cf2){return _0xe18bb0(_0x488d40,_0x4fb609-_0x226406._0x120251,_0x488d40-_0x226406._0x4313db,_0x5b5cf2-0xe9);}const _0x2d2645=_0x383055[_0x14a421(0x8ca,0x60b,0x8f5,_0x408470._0x2c5f86)]??fetch,_0x2bd8ef=_0x383055['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x5447a8=_0x4f06b7;for(let _0x2a7744=0x0;;_0x2a7744+=0x1){const _0x2734a0=await assertPublicUrl(_0x5447a8,_0x383055),_0x2b446f=await _0x2d2645(_0x2734a0[_0x14a421(0x996,0xa9f,_0x408470._0x53cb8f,0x90e)](),{..._0x4e575e,'redirect':_0x455658(0x67d,0x5ba,0x55c,_0x408470._0x4712bb)}),_0xd506c8=_0x2b446f[_0x455658(0x688,0x7b7,_0x408470._0x35982f,_0x408470._0x1cbbdb)]['get'](_0x455658(_0x408470._0x1cbbdb,0x710,0x639,0x90a));if(!REDIRECT_STATUSES[_0x14a421(0x9a5,_0x408470._0xa7f571,_0x408470._0x52d519,_0x408470._0x3b980b)](_0x2b446f[_0x455658(_0x408470._0xeba0b0,0x7aa,_0x408470._0x5710f7,0x90b)])||!_0xd506c8)return _0x2b446f;if(_0x2a7744>=_0x2bd8ef)throw new ToolExecutionError(_0x455658(_0x408470._0x2fd8ae,0x576,_0x408470._0x1ea02d,0x6cf),{'url':_0x2734a0[_0x455658(_0x408470._0x27d5c6,0x88a,0x760,_0x408470._0x3d6f47)]()});_0x5447a8=new URL(_0xd506c8,_0x2734a0)[_0x455658(0x8de,_0x408470._0x591b39,0x7cf,_0x408470._0x8ff000)]();}}var USER_AGENT=_0x47b891(0x4a3,0x53d,0x58d,0x475),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x313e62,_0x300f47){const _0x425af7={_0x4cbd7b:0x404,_0x1d243e:0x2da,_0x4729bc:0x253,_0x4deead:0x361,_0x5cbd9a:0x264,_0x4f5748:0x2c8,_0x37c9ac:0x273},_0x1b16a8={_0x1051c2:0x24d,_0xe783ab:0x1f7},_0x4c9ec4={_0x10f224:0x84},_0x1515ef={_0x4b7186:0x8c},_0x38818e=new AbortController();function _0x25bc41(_0x483685,_0x2a9604,_0x469066,_0x5c96a2){return _0x47b891(_0x483685,_0x469066-0xb0,_0x469066-0x128,_0x5c96a2-_0x1515ef._0x4b7186);}const _0x40448e=setTimeout(()=>_0x38818e[_0x25bc41(0x7e3,0x6a1,0x786,0x95f)](new Error(_0x2c3f40(0x76,0x6b,0x7c,0x90))),_0x300f47);function _0x2c3f40(_0x2f236f,_0x584fb5,_0x192a83,_0xeef481){return _0x47b891(_0x2f236f,_0x192a83- -0x375,_0x192a83-0x112,_0xeef481-_0x4c9ec4._0x10f224);}const _0x3d99ad=()=>_0x38818e[_0x2c3f40(0x44a,0x3e9,0x361,0x48a)](_0x313e62[_0x2c3f40(0x586,0x236,0x424,0x4eb)]);return _0x313e62[_0x2c3f40(0x40e,0x276,_0x425af7._0x4cbd7b,0x24a)]?_0x38818e[_0x2c3f40(_0x425af7._0x1d243e,_0x425af7._0x4729bc,_0x425af7._0x4deead,0x4df)](_0x313e62['reason']):_0x313e62['addEventListener']('abort',_0x3d99ad,{'once':!![]}),{'signal':_0x38818e[_0x2c3f40(0x28e,_0x425af7._0x5cbd9a,_0x425af7._0x4f5748,_0x425af7._0x37c9ac)],'cleanup':()=>{const _0x3eb385={_0x3f7c19:0x539,_0x4e53a4:0x17};clearTimeout(_0x40448e);function _0x778261(_0x2eb2cc,_0x416231,_0x227545,_0x376804){return _0x25bc41(_0x227545,_0x416231-0x5e,_0x416231- -_0x3eb385._0x3f7c19,_0x376804-_0x3eb385._0x4e53a4);}_0x313e62['removeEventListener'](_0x778261(0x35a,_0x1b16a8._0x1051c2,0x42,_0x1b16a8._0xe783ab),_0x3d99ad);}};}function createWebFetchTool(_0x2e60a0={}){const _0x4939a2={_0x17e3ce:0x56d,_0x2f69ba:0x382,_0x5e1f71:0x351,_0x97a06:0x495,_0x5cf004:0x102,_0xcbcc90:0x198,_0x58f859:0xbc,_0x18a1a1:0x55e,_0x10e386:0x4bf,_0x284b29:0x235,_0x917235:0x8b,_0x45d704:0xa5,_0x4aa308:0xfa,_0x34b700:0x379,_0x24e66b:0x1cc,_0x31d20f:0x18b,_0xf22ec3:0x10a,_0x52f0d2:0x136,_0x4dd494:0x1,_0x382390:0x8d,_0x292042:0x2a5,_0x463565:0x256,_0x399ecf:0x81,_0x25b983:0xb5,_0x6ec3f9:0x279,_0x299461:0x1a5,_0x508c80:0x286,_0x1baa73:0x265,_0x38f2b8:0x191,_0x56611e:0x162,_0x3b0e63:0x3d1,_0x351f1c:0x407,_0x1ba4a9:0x5f7},_0x37d865={_0x5607f1:0x4f5,_0x371a1c:0x49e,_0xf0f4fb:0x2d8,_0x1c8d87:0x5ee,_0x3a8cd7:0x502,_0x38de3c:0x5e4,_0x1474f6:0x57e,_0x11b3b9:0x422,_0x33c549:0x4cf,_0x239965:0x533,_0xf4fa94:0x4da,_0x569d64:0x650,_0x2ee8a5:0x439,_0x507502:0x3b7,_0x46a63b:0x75b,_0x26f9ce:0x370,_0x43d467:0x41c,_0x1540b5:0x551,_0x5758ae:0x760,_0xbaa9f4:0x6d7,_0x5e4a08:0x555,_0x1b90f2:0x48f,_0x9fb86d:0x60f,_0x209236:0x680,_0x4cddf7:0x4b9,_0x5adaed:0x699,_0x3e6408:0x4cc,_0xb9e0f9:0x5c4,_0x4ea7ef:0x59d,_0x535a5b:0x5db,_0x1fa00e:0x33b,_0x307018:0x4c2},_0x110cc7={_0x4fa1da:0x60},_0x3370d5={_0xcf6973:0x17,_0x151d49:0xbb,_0x5e97b2:0xd5},_0x16332a=_0x2e60a0['name']??_0x4c40de(_0x4939a2._0x17e3ce,_0x4939a2._0x2f69ba,_0x4939a2._0x5e1f71,0x3c3),_0x2102d5=_0x2e60a0[_0x4c40de(_0x4939a2._0x97a06,0x2f4,_0x4939a2._0x5cf004,0x4c6)]??DEFAULT_TIMEOUT_MS2,_0x36cbb8=_0x2e60a0[_0x4c40de(_0x4939a2._0xcbcc90,0x291,_0x4939a2._0x58f859,0xa8)],_0x414165=new _0x8bf7ba({'headingStyle':_0x4c40de(_0x4939a2._0x18a1a1,0x3b2,0x2f2,_0x4939a2._0x10e386),'codeBlockStyle':'fenced','bulletListMarker':'-'});function _0x58a905(_0x2655b5,_0x42803a,_0x408c67,_0x58a4eb){return _0xe18bb0(_0x42803a,_0x408c67-_0x3370d5._0xcf6973,_0x408c67-_0x3370d5._0x151d49,_0x58a4eb-_0x3370d5._0x5e97b2);}_0x414165['remove']([_0x4c40de(_0x4939a2._0x284b29,0x225,_0x4939a2._0x917235,_0x4939a2._0x45d704),'style',_0x58a905(_0x4939a2._0x4aa308,_0x4939a2._0x34b700,_0x4939a2._0x24e66b,_0x4939a2._0x31d20f),_0x58a905(_0x4939a2._0xf22ec3,-_0x4939a2._0x52f0d2,_0x4939a2._0x4dd494,-_0x4939a2._0x382390),'nav','footer',_0x4c40de(_0x4939a2._0x292042,0x338,_0x4939a2._0x463565,0x1c3),_0x58a905(0x1a9,0x142,_0x4939a2._0x399ecf,0x223)]);function _0x4c40de(_0x32bab7,_0xb80b96,_0x40c0fb,_0x88b0f3){return _0x47b891(_0x32bab7,_0xb80b96- -0x2a4,_0x40c0fb-_0x110cc7._0x4fa1da,_0x88b0f3-0x160);}return defineTool({'name':_0x16332a,'permissionClass':_0x58a905(0x9e,_0x4939a2._0x25b983,0x26e,_0x4939a2._0x6ec3f9),'description':_0x4c40de(0x218,_0x4939a2._0x299461,_0x4939a2._0x508c80,_0x4939a2._0x1baa73),'inputSchema':{'type':'object','properties':{'description':{'type':_0x4c40de(0x43d,0x313,0x21d,0x308)},'url':{'type':_0x4c40de(0x1f0,0x313,_0x4939a2._0x38f2b8,_0x4939a2._0x56611e)}},'required':[_0x4c40de(_0x4939a2._0x3b0e63,_0x4939a2._0x351f1c,_0x4939a2._0x1ba4a9,0x59c)]},async *'execute'(_0x209f48,_0x34a309){const _0x372330={_0x5d69f1:0x15a},_0x2f3256={_0x65eea:0x123,_0x385444:0x304,_0x478b95:0xbe},_0x1ffae5=(await assertPublicUrl(_0x209f48['url'],{'lookup':_0x36cbb8}))[_0x3a31c5(_0x37d865._0x5607f1,_0x37d865._0x371a1c,0x7d9,0x613)]();function _0x3a31c5(_0x5dc075,_0x519903,_0x451585,_0x25ab93){return _0x58a905(_0x5dc075-_0x2f3256._0x65eea,_0x5dc075,_0x25ab93-_0x2f3256._0x385444,_0x25ab93-_0x2f3256._0x478b95);}if(_0x34a309[_0x3a31c5(0x2e2,_0x37d865._0xf0f4fb,_0x37d865._0x1c8d87,0x4c7)]['aborted'])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x1ffae5});const _0x23a6e7=createTimeoutSignal(_0x34a309[_0x451e96(_0x37d865._0x3a8cd7,_0x37d865._0x38de3c,0x5d1,_0x37d865._0x1474f6)],_0x2102d5);function _0x451e96(_0x578803,_0x4814a2,_0x1cd950,_0x5f3c51){return _0x4c40de(_0x1cd950,_0x4814a2-0x24b,_0x1cd950-0x33,_0x5f3c51-_0x372330._0x5d69f1);}let _0x28d71b='',_0x3d024a=0x0,_0x21db32;try{const _0x4c6ce3=await safeFetch(_0x1ffae5,{'headers':{'User-Agent':USER_AGENT},'signal':_0x23a6e7[_0x451e96(0x4a3,0x5e4,_0x37d865._0x11b3b9,0x3e6)]},{'lookup':_0x36cbb8});if(!_0x4c6ce3['ok'])throw new ToolExecutionError(_0x3a31c5(0x551,_0x37d865._0x33c549,0x771,0x5bd)+_0x4c6ce3[_0x3a31c5(0x453,0x4fa,0x694,_0x37d865._0x239965)]+'\x20'+_0x4c6ce3[_0x3a31c5(_0x37d865._0xf4fa94,0x4d5,0x3d1,0x2fe)],{'url':_0x1ffae5,'statusCode':_0x4c6ce3[_0x451e96(0x71c,_0x37d865._0x569d64,0x6de,0x61e)]});_0x28d71b=_0x4c6ce3[_0x451e96(0x842,0x65d,0x5c9,0x6a4)][_0x3a31c5(_0x37d865._0x2ee8a5,0x2dd,0x245,_0x37d865._0x507502)]('content-type')??'',_0x3d024a=_0x4c6ce3['status'],_0x21db32=await _0x4c6ce3['text']();}catch(_0x5ecf5f){if(_0x5ecf5f instanceof ToolExecutionError)throw _0x5ecf5f;const _0x55a648=_0x5ecf5f instanceof Error?_0x5ecf5f[_0x3a31c5(_0x37d865._0x46a63b,_0x37d865._0x26f9ce,_0x37d865._0x43d467,0x570)]:String(_0x5ecf5f);throw new ToolExecutionError(_0x55a648,{'url':_0x1ffae5});}finally{_0x23a6e7['cleanup']();}const _0x2262d3=new Date()['toISOString']();let _0x43242d,_0xdaef60;if(_0x28d71b['includes'](_0x3a31c5(0x41d,_0x37d865._0x1540b5,0x403,0x5cb)))_0x43242d=_0x451e96(_0x37d865._0x5758ae,_0x37d865._0xbaa9f4,0x567,0x615)+_0x21db32+_0x3a31c5(_0x37d865._0x5e4a08,0x597,_0x37d865._0x1b90f2,0x3a1),_0xdaef60=_0x451e96(_0x37d865._0x9fb86d,_0x37d865._0x209236,_0x37d865._0x4cddf7,_0x37d865._0x5adaed);else _0x28d71b[_0x451e96(_0x37d865._0x3e6408,0x534,_0x37d865._0xb9e0f9,_0x37d865._0x4ea7ef)]('text/html')?(_0x43242d=_0x414165[_0x451e96(_0x37d865._0x535a5b,0x3d0,_0x37d865._0x1fa00e,0x3bc)](_0x21db32),_0xdaef60='markdown'):(_0x43242d=_0x21db32,_0xdaef60=_0x451e96(0x6b6,0x5f8,0x771,0x576));return yield createToolOutput(_0x43242d,{'url':_0x1ffae5,'contentType':_0x28d71b,'statusCode':_0x3d024a,'format':_0xdaef60,'size':_0x21db32[_0x3a31c5(0x2f4,0x3f0,0x527,_0x37d865._0x307018)],'fetchedAt':_0x2262d3}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0x526fb5){const _0x369661={_0x27bc40:0xb,_0x12083e:0x60,_0x22f3af:0xcd,_0x1bed4a:0xbc,_0x1afdfd:0x25c,_0x3425bb:0x21b,_0x3f9fb6:0x151,_0x393a67:0x1f0,_0x5d07be:0x205,_0x82e074:0x23a,_0x47e53f:0xbb,_0x2a36d4:0x74,_0x4499ea:0x26a,_0x401878:0x439,_0x1e5882:0x2fd,_0x3b27d0:0x726,_0x4bbdd4:0x663,_0x4d1267:0x6a1},_0x42f7e8={_0x4deb03:0x36b},_0x47305b={_0x25852b:0x4f,_0xb42c48:0x49,_0x385dc7:0x1b6};function _0x2105cc(_0x235632,_0x48a5dd,_0x2f350a,_0x4deeb6){return _0xe18bb0(_0x4deeb6,_0x2f350a-_0x47305b._0x25852b,_0x2f350a-_0x47305b._0xb42c48,_0x4deeb6-_0x47305b._0x385dc7);}function _0x48daaa(_0x4df6ce,_0x7ca479,_0x51b453,_0x1103ac){return _0xe18bb0(_0x51b453,_0x7ca479-_0x42f7e8._0x4deb03,_0x51b453-0xb,_0x1103ac-0x197);}try{const _0x280e00=new URL(_0x526fb5);for(const _0x5d306b of[_0x2105cc(0xaa,_0x369661._0x27bc40,0xe4,0x17c),_0x2105cc(_0x369661._0x12083e,0x1,_0x369661._0x22f3af,-0x87),_0x2105cc(_0x369661._0x1bed4a,0x134,_0x369661._0x1afdfd,0x279),'utm_term',_0x2105cc(_0x369661._0x3425bb,_0x369661._0x3f9fb6,_0x369661._0x393a67,_0x369661._0x5d07be),'gclid','fbclid',_0x2105cc(_0x369661._0x82e074,_0x369661._0x47e53f,_0x369661._0x2a36d4,0x39),'mc_eid']){_0x280e00[_0x48daaa(_0x369661._0x4499ea,_0x369661._0x401878,0x259,_0x369661._0x1e5882)]['delete'](_0x5d306b);}return _0x280e00[_0x48daaa(_0x369661._0x3b27d0,_0x369661._0x4bbdd4,0x7a9,_0x369661._0x4d1267)]();}catch{return _0x526fb5;}}function cseDateRestrict(_0x2d252a){const _0x3566e7={_0x41486b:0x478},_0x4a1697={_0x382658:0x15c,_0x27e352:0x1a3};if(_0x2d252a<=0x0)return void 0x0;function _0x295ae3(_0x4a6d83,_0x533802,_0x389967,_0x53518b){return _0xe18bb0(_0x533802,_0x4a6d83-0x3b5,_0x389967-_0x4a1697._0x382658,_0x53518b-_0x4a1697._0x27e352);}if(_0x2d252a<=0x1e)return'd'+Math['max'](0x1,Math[_0x295ae3(_0x3566e7._0x41486b,0x5bb,0x5c9,0x62f)](_0x2d252a));if(_0x2d252a<=0x16d)return'm'+Math['ceil'](_0x2d252a/0x1e);return'y'+Math['ceil'](_0x2d252a/0x16d);}function addSiteFilters(_0xad70fd,_0x404ef0){const _0x1a97d8={_0x4ec259:0x38e,_0x1846cd:0x6f5,_0x121149:0x49d,_0x247176:0x3d1,_0x209157:0x35a,_0x1bd909:0x370,_0x280cbb:0x2fd,_0x32775a:0x468,_0x49c1ed:0x28e,_0x215f2d:0x63b,_0x572ab7:0x69d,_0x3b2dae:0x508,_0x123c2f:0x38b,_0x4b91b7:0x50f,_0x1a89fa:0x3f1,_0x196ac7:0x617},_0x2d0a9c={_0x18cacb:0x12b},_0x3f3dab={_0x22af1b:0x441,_0x475018:0x1b5};function _0xf6c3f1(_0xf0da1c,_0x5dfe98,_0x30a1c5,_0x5cdbb5){return _0xe18bb0(_0x30a1c5,_0x5cdbb5-_0x3f3dab._0x22af1b,_0x30a1c5-0x1e2,_0x5cdbb5-_0x3f3dab._0x475018);}if(_0x404ef0['length']===0x0)return _0xad70fd[_0x437dbd(_0x1a97d8._0x4ec259,0x50f,_0x1a97d8._0x1846cd,_0x1a97d8._0x121149)]();function _0x437dbd(_0x5a3190,_0x2a1252,_0x564a43,_0x197558){return _0xe18bb0(_0x564a43,_0x2a1252-0x21b,_0x564a43-_0x2d0a9c._0x18cacb,_0x197558-0x191);}return(_0xad70fd+'\x20('+_0x404ef0[_0x437dbd(_0x1a97d8._0x247176,0x38b,_0x1a97d8._0x209157,0x3ce)](_0xa12c3b=>'site:'+_0xa12c3b)[_0x437dbd(_0x1a97d8._0x1bd909,_0x1a97d8._0x280cbb,_0x1a97d8._0x32775a,_0x1a97d8._0x49c1ed)](_0xf6c3f1(0x570,_0x1a97d8._0x215f2d,_0x1a97d8._0x572ab7,_0x1a97d8._0x3b2dae))+')')[_0x437dbd(_0x1a97d8._0x123c2f,_0x1a97d8._0x4b91b7,_0x1a97d8._0x1a89fa,_0x1a97d8._0x196ac7)]();}function normalizeType(_0x191479){const _0x47c387={_0x2b0c3b:0x2b7,_0x10bc8a:0xd8,_0x4ca947:0x5e4,_0x3f0d7e:0x7d9,_0x2ac32f:0x448},_0x24eb8b={_0xa1fdd9:0xdc,_0x557fe0:0x167,_0x53a0d5:0x10a},_0x5344a5={_0x44dd45:0x68a};function _0x46cecf(_0x7d4c54,_0x3d4867,_0x3f28ee,_0x453b86){return _0xe18bb0(_0x453b86,_0x3d4867-_0x5344a5._0x44dd45,_0x3f28ee-0x73,_0x453b86-0x19a);}function _0xd9dd8f(_0x13633a,_0x642697,_0x25587a,_0x4d1fe2){return _0xe18bb0(_0x4d1fe2,_0x25587a-_0x24eb8b._0xa1fdd9,_0x25587a-_0x24eb8b._0x557fe0,_0x4d1fe2-_0x24eb8b._0x53a0d5);}return _0x191479===_0xd9dd8f(_0x47c387._0x2b0c3b,0x188,0x22b,_0x47c387._0x10bc8a)?_0x46cecf(_0x47c387._0x4ca947,_0x47c387._0x3f0d7e,0x908,0x639):_0xd9dd8f(0x1f3,0x1f2,0x394,_0x47c387._0x2ac32f);}async function fetchJson(_0x59ed20,_0x3bb289,_0x1bd739){const _0x421b32={_0x465df6:0x9bb,_0x81e89e:0x96b,_0x3ef853:0x678,_0x407b94:0x7bd,_0x57219b:0x731,_0x5b342b:0x944,_0x392c53:0xa2b,_0x5bccbb:0x7c1,_0x7948be:0x6c3,_0x32f0a8:0x687,_0x101115:0x7c0,_0x9e53ea:0x7ac,_0x172fd4:0x802,_0x4a940f:0x64c,_0x353db0:0x3cb,_0x362733:0x3df,_0x7d134b:0x764,_0x3b1593:0x7c6,_0x48ab1e:0x494,_0x33917f:0x390,_0x42bf39:0x540,_0x3d0a86:0x6f3,_0xa771ef:0x700,_0x3bb47f:0x869,_0x4a462c:0x824,_0x14cb59:0x7c6,_0x47ef98:0x4ab,_0x5d321f:0x682,_0x9e1889:0x991,_0x56aa8e:0x6ee,_0x5e89ec:0x813,_0x428d52:0x609,_0x36adcf:0x44d,_0x29130e:0x4f1,_0x25cb7e:0x682,_0x4e2a9a:0x5c8,_0x8e22ca:0x6b2},_0x3aa4a5={_0x257679:0xe0,_0x8419e0:0xb1},_0x3ed6a2={_0x451cc0:0xe7},_0x5cd205=await fetch(_0x59ed20,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x4c77c7(0x8a5,_0x421b32._0x465df6,0x821,_0x421b32._0x81e89e),..._0x1bd739?.[_0x4c77c7(0x710,0x648,0x796,_0x421b32._0x3ef853)]},'signal':_0x3bb289,..._0x1bd739});function _0x309135(_0x2894c4,_0x2e936e,_0x28a195,_0x1e3f29){return _0xe18bb0(_0x2e936e,_0x1e3f29-0x46a,_0x28a195-0x5c,_0x1e3f29-_0x3ed6a2._0x451cc0);}function _0x4c77c7(_0x5d2809,_0x5a6165,_0x1bacc4,_0x2dee0e){return _0x47b891(_0x5a6165,_0x1bacc4-_0x3aa4a5._0x257679,_0x1bacc4-_0x3aa4a5._0x8419e0,_0x2dee0e-0x123);}if(!_0x5cd205['ok']){let _0x231b1d,_0x529996;try{_0x231b1d=await _0x5cd205[_0x4c77c7(_0x421b32._0x407b94,0x584,_0x421b32._0x57219b,0x674)]();const _0x271756=JSON[_0x4c77c7(0x7c7,_0x421b32._0x5b342b,0x81c,_0x421b32._0x392c53)](_0x231b1d),_0x4fdb15=typeof _0x271756[_0x309135(_0x421b32._0x5bccbb,0x566,0x616,0x6eb)]===_0x4c77c7(_0x421b32._0x7948be,_0x421b32._0x32f0a8,_0x421b32._0x101115,_0x421b32._0x9e53ea)?_0x271756[_0x309135(_0x421b32._0x172fd4,0x7dd,_0x421b32._0x4a940f,0x6eb)]['error']:void 0x0;_0x529996=_0x271756[_0x4c77c7(_0x421b32._0x353db0,0x3cc,0x497,_0x421b32._0x362733)]?.[_0x4c77c7(0x8b0,_0x421b32._0x7d134b,_0x421b32._0x3b1593,0x68d)]??_0x271756[_0x309135(0x25e,_0x421b32._0x48ab1e,0x2d5,_0x421b32._0x33917f)]?.[_0x309135(_0x421b32._0x42bf39,_0x421b32._0x3d0a86,0x652,_0x421b32._0xa771ef)]?.[0x0]?.[_0x4c77c7(_0x421b32._0x3bb47f,_0x421b32._0x4a462c,_0x421b32._0x14cb59,0x88d)]??_0x4fdb15;}catch{}const _0x2f8daf=_0x529996?'HTTP\x20'+_0x5cd205[_0x309135(0x5cb,0x49f,_0x421b32._0x47ef98,_0x421b32._0x5d321f)]+':\x20'+_0x529996:_0x4c77c7(_0x421b32._0x9e1889,_0x421b32._0x56aa8e,_0x421b32._0x5e89ec,_0x421b32._0x428d52)+_0x5cd205['status']+'\x20'+_0x5cd205[_0x309135(0x478,0x59e,0x365,_0x421b32._0x36adcf)];throw new ToolExecutionError(_0x2f8daf,{'statusCode':_0x5cd205[_0x309135(0x81e,_0x421b32._0x29130e,0x76b,_0x421b32._0x25cb7e)],..._0x231b1d?{'body':_0x231b1d}:{}});}return await _0x5cd205[_0x309135(0x729,_0x421b32._0x4e2a9a,0x4d2,_0x421b32._0x8e22ca)]();}async function hydrateResults(_0x2fd7a7,_0x6ac2ab,_0x14102d,_0x3bb81b){const _0xd3ba4d={_0x290d43:0x3cc,_0x4e9047:0x2d8,_0x1db487:0x376,_0x481f0c:0x566,_0x515c58:0x38b,_0x194c5e:0x245,_0x41accd:0x274},_0x3679b2={_0x2f821e:0x58a,_0x3a7951:0x503,_0x2f1611:0x87b,_0x21cded:0x6cb,_0x3cd410:0x64e,_0x562246:0x4a9,_0x2d7cc4:0x53c,_0x2fdb6d:0x48d,_0x44b42d:0x5ee,_0x30a937:0x287,_0xc7aa8f:0x1cc,_0xf657d:0x118,_0x502653:0x6f5,_0x73ff89:0x59b,_0x1efb4d:0x3cc,_0x21a625:0x371,_0x43acb4:0x5c1,_0x42fd80:0x675,_0x2c5ddf:0x4c7,_0x424716:0x3ca,_0x547fa0:0x6f3,_0x53e778:0x639,_0x1a238b:0x7de,_0x445fb2:0x369,_0x43ace2:0x892,_0x3b5114:0x78b,_0x40808b:0x6c9,_0x2d8952:0x458,_0x127873:0x656,_0x3be328:0x7bf,_0x22a231:0x5b7,_0x536d6b:0x50f,_0x512235:0x5b1,_0xe7b742:0x5ca,_0x499c41:0x3e0,_0x31f98c:0x5e8,_0x3b7fd1:0x8a8,_0x1860a8:0x78e,_0x35b9a9:0xb2d,_0x2162a8:0x82a,_0x598444:0x986,_0x47e5be:0x7d6,_0x203e34:0x41b},_0x3fb8c5={_0x1f19a3:0x18b},_0x39cd61={_0x2bdf57:0x96,_0x443ca3:0x21},_0x1c53d7={_0x46b280:0x38d,_0x44d5e7:0x13c,_0x23ed1e:0xec},_0x36aa97={_0x523d35:0x73};function _0x6f0f80(_0x4a3b56,_0x4c0d51,_0x45bbb1,_0x13cfb3){return _0xe18bb0(_0x45bbb1,_0x4c0d51-0x237,_0x45bbb1-_0x36aa97._0x523d35,_0x13cfb3-0x13a);}function _0xa0d6dc(_0x5bf4ce,_0x57669f,_0x20fd01,_0x2472d4){return _0x47b891(_0x20fd01,_0x57669f- -_0x1c53d7._0x46b280,_0x20fd01-_0x1c53d7._0x44d5e7,_0x2472d4-_0x1c53d7._0x23ed1e);}const _0x5c7b71=await Promise[_0xa0d6dc(_0xd3ba4d._0x290d43,_0xd3ba4d._0x4e9047,0x1d3,0x11d)](_0x2fd7a7['slice'](0x0,0xa)[_0x6f0f80(_0xd3ba4d._0x1db487,0x3a7,_0xd3ba4d._0x481f0c,_0xd3ba4d._0x515c58)](async _0x1d5016=>{function _0xc94ae7(_0x22c7ec,_0x46e698,_0x4e0cd7,_0x2228f6){return _0x6f0f80(_0x22c7ec-0xf5,_0x4e0cd7-_0x39cd61._0x2bdf57,_0x22c7ec,_0x2228f6-_0x39cd61._0x443ca3);}function _0x260047(_0x1121c0,_0x5aa253,_0x452134,_0x4f1325){return _0xa0d6dc(_0x1121c0-_0x3fb8c5._0x1f19a3,_0x452134-0x58a,_0x1121c0,_0x4f1325-0xa);}try{const _0x5af231=await safeFetch(_0x1d5016[_0xc94ae7(0x30f,_0x3679b2._0x2f821e,0x4e7,_0x3679b2._0x3a7951)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x6ac2ab,'Accept':_0x260047(0x639,_0x3679b2._0x2f1611,_0x3679b2._0x21cded,_0x3679b2._0x3cd410)},'signal':_0x14102d},{'lookup':_0x3bb81b});if(!_0x5af231['ok'])return _0x1d5016;const _0x245f1a=await _0x5af231[_0xc94ae7(_0x3679b2._0x562246,_0x3679b2._0x2d7cc4,_0x3679b2._0x2fdb6d,_0x3679b2._0x44b42d)](),_0x5a5398=load(_0x245f1a),_0x4663e0=_0x5a5398(_0xc94ae7(0x438,_0x3679b2._0x30a937,0x234,0x21d))[_0xc94ae7(0x47,0x292,_0x3679b2._0xc7aa8f,_0x3679b2._0xf657d)]('content')||_0x5a5398(_0x260047(_0x3679b2._0x502653,0x71a,0x658,_0x3679b2._0x73ff89))['first']()[_0xc94ae7(0x285,_0x3679b2._0x1efb4d,0x48d,_0x3679b2._0x21a625)]()[_0xc94ae7(0x4e0,0x41f,_0x3679b2._0x43acb4,_0x3679b2._0x42fd80)](),_0x37b6e3=_0x5a5398(_0xc94ae7(0x353,0x3b9,_0x3679b2._0x2c5ddf,0x5da))[_0x260047(0x68a,0x545,0x58d,0x793)](_0xc94ae7(0x467,0x268,_0x3679b2._0x424716,0x562))||_0x5a5398(_0x260047(0x682,_0x3679b2._0x547fa0,_0x3679b2._0x53e778,_0x3679b2._0x1a238b))[_0xc94ae7(0x88,0x91,0x1cc,_0x3679b2._0x445fb2)](_0x260047(0x781,_0x3679b2._0x43ace2,_0x3679b2._0x3b5114,0x616))||_0x1d5016[_0x260047(0x460,0x53b,0x580,_0x3679b2._0x40808b)],_0x2b4f6a=_0x5a5398(_0x260047(_0x3679b2._0x2d8952,_0x3679b2._0x127873,0x5d8,_0x3679b2._0x3be328))['attr'](_0xc94ae7(_0x3679b2._0x22a231,0x332,_0x3679b2._0x424716,_0x3679b2._0x536d6b))||_0x5a5398(_0x260047(0x5a3,_0x3679b2._0x512235,0x681,_0x3679b2._0xe7b742))['attr'](_0xc94ae7(_0x3679b2._0x499c41,0x4b,0x23a,0x25f))||_0x1d5016['publishedAt'],_0x504048=_0x5a5398('link[rel=\x27canonical\x27]')['attr']('href');return{..._0x1d5016,'title':_0x4663e0||_0x1d5016[_0x260047(0x562,0x70d,0x658,_0x3679b2._0x31f98c)],'snippet':_0x37b6e3,'url':_0x504048?normalizeUrl(new URL(_0x504048,_0x1d5016[_0x260047(0x765,0x84c,_0x3679b2._0x3b7fd1,_0x3679b2._0x1860a8)])[_0x260047(_0x3679b2._0x35b9a9,_0x3679b2._0x2162a8,_0x3679b2._0x598444,_0x3679b2._0x47e5be)]()):_0x1d5016[_0xc94ae7(_0x3679b2._0x203e34,0x507,0x4e7,0x378)],'publishedAt':_0x2b4f6a};}catch{return _0x1d5016;}})),_0xff378d=new Map(_0x2fd7a7['slice'](0x0,0xa)[_0xa0d6dc(_0xd3ba4d._0x194c5e,_0xd3ba4d._0x41accd,0x2a6,0x126)]((_0x13b443,_0x56b93d)=>[_0x13b443[_0x6f0f80(0x37e,0x451,0x549,0x552)],_0x5c7b71[_0x56b93d]]));return _0x2fd7a7['map'](_0x1d57f3=>_0xff378d[_0x6f0f80(0x117,0x2d3,0x2c1,0x45c)](_0x1d57f3[_0x6f0f80(0x33c,0x451,0x4b8,0x5e7)])??_0x1d57f3);}function formatResults(_0x3a131d){const _0x1d4490={_0xb82bb2:0x896,_0x454b99:0x5e8,_0x3393ba:0x5a8,_0x1e0155:0x3b5,_0x3997f4:0x70c},_0x5761eb={_0x912781:0x650,_0x99a08a:0x670,_0x4810de:0x434,_0xc66c23:0x429,_0x116328:0x4b3,_0x1afc1d:0x5a3,_0x2ab26f:0x38a,_0x37652f:0x351,_0x465100:0x1f1,_0x2e3ec6:0x4a8,_0x30a04d:0x374,_0x3bdf1f:0xcf,_0x4f5bf6:0x169,_0x4e0faf:0x27b,_0x5e9fb2:0x473,_0x351a62:0x2b4,_0x1310f1:0x5c4,_0x4d0e9d:0x63d,_0x55bae9:0x475,_0x349c70:0x16d,_0x1a53a3:0x45a},_0x27d22b={_0x3ef9e2:0x161},_0x464f9a={_0xbd180b:0x10b,_0x32cb17:0x1b0};function _0x4da549(_0x401186,_0x21bcb9,_0x39a27c,_0xf51979){return _0x47b891(_0x21bcb9,_0x39a27c-_0x464f9a._0xbd180b,_0x39a27c-_0x464f9a._0x32cb17,_0xf51979-0x12b);}if(_0x3a131d[_0x4da549(_0x1d4490._0xb82bb2,0x6d0,0x743,_0x1d4490._0x454b99)]===0x0)return _0x9fe1da(_0x1d4490._0x3393ba,_0x1d4490._0x1e0155,0x4f4,0x327);function _0x9fe1da(_0xb642b,_0x2c96dd,_0x2c1d25,_0x4c1237){return _0x47b891(_0xb642b,_0x2c96dd- -0x345,_0x2c1d25-0x5d,_0x4c1237-_0x27d22b._0x3ef9e2);}return _0x3a131d[_0x4da549(0x56e,0x838,_0x1d4490._0x3997f4,0x65a)](_0x3a1347=>{const _0x6aa538={_0x1babcb:0x184,_0x57b14e:0x108},_0x2120dd=[_0x3a1347[_0x3f38f3(0x846,0x597,_0x5761eb._0x912781,_0x5761eb._0x99a08a)]['rank']+'.\x20'+_0x3a1347[_0x3f38f3(0x567,0x3ba,_0x5761eb._0x4810de,_0x5761eb._0xc66c23)],_0x3a1347[_0x53ccca(0x5ed,0x4d9,_0x5761eb._0x116328,_0x5761eb._0x1afc1d)]];function _0x3f38f3(_0x2c3540,_0x1deab7,_0x1c2f37,_0x2f2169){return _0x4da549(_0x2c3540-_0x6aa538._0x1babcb,_0x1deab7,_0x2f2169- -0x13d,_0x2f2169-_0x6aa538._0x57b14e);}if(_0x3a1347[_0x3f38f3(_0x5761eb._0x2ab26f,0x234,0x35e,_0x5761eb._0x37652f)])_0x2120dd[_0x3f38f3(_0x5761eb._0x465100,_0x5761eb._0x2e3ec6,0x3a9,_0x5761eb._0x2ab26f)](_0x3a1347[_0x53ccca(_0x5761eb._0x30a04d,_0x5761eb._0x3bdf1f,_0x5761eb._0x4f5bf6,_0x5761eb._0x4e0faf)]);if(_0x3a1347['publishedAt'])_0x2120dd[_0x53ccca(0x443,_0x5761eb._0x5e9fb2,0x107,_0x5761eb._0x351a62)](_0x53ccca(_0x5761eb._0x1310f1,_0x5761eb._0x4d0e9d,0x4f8,0x4cd)+_0x3a1347[_0x53ccca(0x3b7,_0x5761eb._0x55bae9,_0x5761eb._0x349c70,0x36f)]);function _0x53ccca(_0x169137,_0x1081ee,_0x2ba6b1,_0x251ed2){return _0x9fe1da(_0x2ba6b1,_0x251ed2-0x23d,_0x2ba6b1-0x12b,_0x251ed2-0x17);}return _0x2120dd[_0x3f38f3(0x3fd,_0x5761eb._0x1a53a3,0x3ea,0x541)]('\x0a');})[_0x4da549(0x5d6,0x80c,0x67e,0x575)]('\x0a\x0a');}async function searchOllama(_0x17f6fd,_0x3b398a,_0x660d30){const _0x48ce29={_0xb74a3b:0x2c3,_0x1a884c:0x27e,_0x526556:0x6ce,_0xb4f7b0:0x3dd,_0x41d581:0x230,_0x597fb8:0x63d,_0x589a61:0x36e,_0x4eeafd:0x7a7,_0x5d5edd:0x68f,_0x70bfe5:0x379,_0x525eb7:0x6e7,_0x15b5d1:0x4f2,_0x43f3e7:0x572,_0x5c1dfa:0x656,_0x502518:0x713,_0x42b6a1:0x841,_0x9520b4:0x26e,_0x437df3:0x3a1,_0x2b4692:0x2e6,_0x413581:0x57e,_0x4d932b:0x1e7},_0x241f6f={_0x587671:0x189},_0x13d755={_0x52e0dc:0x549,_0x57dc61:0x2aa,_0x44a901:0x194,_0x4207c3:0x1e9,_0x59263b:0x2b1,_0x6b001d:0x134,_0x54eb56:0x32d,_0x20b6f6:0x17,_0xb646cf:0xcf},_0x375ae7={_0x2fd5f8:0x170,_0x4960d5:0x16a},_0x3a2857={_0x2759e9:0xd5},_0x4cfd8c=Math[_0x34626f(0x41d,0x3f7,_0x48ce29._0xb74a3b,_0x48ce29._0x1a884c)](0x1,Math[_0x536d8b(0x5e0,0x620,_0x48ce29._0x526556,0x64c)](0xa,_0x3b398a[_0x34626f(0x4a4,0x44c,_0x48ce29._0xb4f7b0,_0x48ce29._0x41d581)])),_0x27e4f3=addSiteFilters(_0x3b398a[_0x34626f(0x81c,0x5a2,_0x48ce29._0x597fb8,0x597)],_0x3b398a[_0x536d8b(0x81a,0x66b,0x85d,0x498)]);function _0x536d8b(_0x56adaa,_0x11b63a,_0x399b0c,_0x4f7033){return _0xe18bb0(_0x399b0c,_0x11b63a-0x4e6,_0x399b0c-0x150,_0x4f7033-_0x3a2857._0x2759e9);}const _0x3209b5=await fetchJson(_0x34626f(0x4fc,0x532,0x427,_0x48ce29._0x589a61),_0x660d30,{'method':'POST','headers':{'Authorization':_0x536d8b(_0x48ce29._0x4eeafd,0x765,0x860,_0x48ce29._0x5d5edd)+_0x17f6fd['apiKey']},'body':JSON[_0x34626f(_0x48ce29._0x70bfe5,_0x48ce29._0x525eb7,_0x48ce29._0x15b5d1,0x65b)]({'query':_0x27e4f3,'max_results':_0x4cfd8c})}),_0x4fa8b1=_0x3209b5['results']??[],_0x3cd772=_0x4fa8b1[_0x536d8b(_0x48ce29._0x43f3e7,_0x48ce29._0x5c1dfa,_0x48ce29._0x502518,_0x48ce29._0x42b6a1)]((_0x3903b1,_0x18bdaa)=>{const _0x4dcc3e={_0x52230d:0x57,_0x1c3419:0x108},_0xeb4b89=_0x3903b1[_0x19f4ed(0x644,0x439,0x27f,_0x13d755._0x52e0dc)]||'';function _0xbc58da(_0x4ffb0b,_0x45ea7f,_0x1e6faa,_0x3a0196){return _0x536d8b(_0x4ffb0b-_0x375ae7._0x2fd5f8,_0x4ffb0b-0x43,_0x45ea7f,_0x3a0196-_0x375ae7._0x4960d5);}function _0x19f4ed(_0x5650ca,_0x4c14cb,_0x1a6340,_0x4d5cf9){return _0x34626f(_0x5650ca-_0x4dcc3e._0x52230d,_0x4c14cb-_0x4dcc3e._0x1c3419,_0x4c14cb- -0x1b7,_0x1a6340);}let _0x36fa07;try{_0x36fa07=new URL(_0xeb4b89)[_0x19f4ed(_0x13d755._0x57dc61,0x1de,-0x30,0x14d)];}catch{_0x36fa07=null;}return{'title':_0x3903b1[_0x19f4ed(_0x13d755._0x44a901,_0x13d755._0x4207c3,_0x13d755._0x59263b,_0x13d755._0x6b001d)]||_0x19f4ed(0x385,_0x13d755._0x54eb56,0x3bc,0x2f8),'url':normalizeUrl(_0xeb4b89),'snippet':_0x3903b1['content']??null,'displayUrl':_0x36fa07,'favicon':null,'publishedAt':null,'source':{'engine':_0x19f4ed(-_0x13d755._0x20b6f6,0x1cc,0x1a3,_0x13d755._0xb646cf),'rank':_0x18bdaa+0x1}};});function _0x34626f(_0x528c04,_0x3441ca,_0x29d20f,_0x45c969){return _0x47b891(_0x45c969,_0x29d20f- -0xbb,_0x29d20f-0xa5,_0x45c969-_0x241f6f._0x587671);}return{'items':_0x3cd772[_0x34626f(_0x48ce29._0x9520b4,_0x48ce29._0x437df3,_0x48ce29._0x2b4692,0x33b)](0x0,_0x4cfd8c),'engine':_0x34626f(_0x48ce29._0x413581,0x4c8,0x383,_0x48ce29._0x4d932b)};}async function searchTavily(_0x3e340c,_0x3bc4e2,_0x15c129){const _0x4eac76={_0x16ab5b:0x31c,_0x5267a8:0x3e9,_0x2edaf5:0x3ce,_0x2786ab:0x409,_0x7b6015:0x436,_0x1e5644:0x306,_0x4dc0e9:0x42e,_0x5baff3:0x4b7,_0x2960e9:0x531,_0x3ea180:0x400,_0x2df98b:0x201,_0x341b5f:0x24a,_0x4fda13:0x3e9,_0x7dc610:0x326,_0x26fa46:0x419,_0x8f4e60:0x314,_0x129f59:0x5d6,_0x249560:0x644,_0x4e7a16:0x5ea,_0x308129:0x495,_0x3ea513:0x6bb,_0x486a8a:0x4e6,_0x4101c6:0x6e6,_0x391218:0x44b,_0x11bc4b:0x262,_0x40cc24:0x37b,_0x3c4fda:0x6df,_0x26afc4:0x8a1,_0x23bacd:0x54b,_0x37c142:0x59b,_0x2d9aaf:0x76f,_0x2a7e6e:0x3b3,_0x4eba48:0x404,_0x4c0f4b:0x267},_0x4df9df={_0x1cd52f:0x940,_0x4a869a:0x8f0,_0x842f6f:0x762,_0xb38e10:0x76e,_0x9933c2:0x96,_0x37c801:0x204,_0x5840ed:0x1ea,_0x44d76b:0x139,_0x1aca65:0x337,_0x572eb3:0x384,_0x17f56a:0x485,_0x10224e:0x4ac},_0x598168={_0x5b73e4:0x125,_0xd1a240:0x167},_0x2b1213={_0x480b79:0x5a},_0x133f21={_0x481335:0x294,_0x258145:0x109,_0x349dd5:0xe3},_0x2aa447={_0x232825:0xc0};function _0x31f1ec(_0x229a3f,_0x190183,_0x5e717a,_0x152fc1){return _0x47b891(_0x5e717a,_0x229a3f- -0x62,_0x5e717a-0x42,_0x152fc1-_0x2aa447._0x232825);}function _0x31aebe(_0x752940,_0x1e85b3,_0x3cb609,_0x2eebe8){return _0xe18bb0(_0x1e85b3,_0x752940-_0x133f21._0x481335,_0x3cb609-_0x133f21._0x258145,_0x2eebe8-_0x133f21._0x349dd5);}const _0xb99189=Math[_0x31f1ec(_0x4eac76._0x16ab5b,0x34e,0x490,_0x4eac76._0x5267a8)](0x1,Math[_0x31aebe(_0x4eac76._0x2edaf5,0x54a,0x53f,_0x4eac76._0x2786ab)](0x14,_0x3bc4e2[_0x31f1ec(_0x4eac76._0x7b6015,_0x4eac76._0x1e5644,0x3c1,_0x4eac76._0x4dc0e9)])),_0x5e49c2={'query':_0x3bc4e2[_0x31f1ec(0x696,0x879,_0x4eac76._0x5baff3,0x4a1)],'max_results':_0xb99189,'search_depth':_0x3e340c[_0x31aebe(_0x4eac76._0x2960e9,0x3c6,_0x4eac76._0x3ea180,0x652)]??_0x31f1ec(0x34b,0x13d,_0x4eac76._0x2df98b,_0x4eac76._0x341b5f),'topic':_0x3e340c[_0x31aebe(_0x4eac76._0x4fda13,0x28e,0x581,_0x4eac76._0x7dc610)]??'general'};if(_0x3bc4e2[_0x31aebe(_0x4eac76._0x26fa46,_0x4eac76._0x8f4e60,0x41d,0x2ed)][_0x31f1ec(_0x4eac76._0x129f59,0x505,_0x4eac76._0x249560,_0x4eac76._0x4e7a16)]>0x0)_0x5e49c2['include_domains']=_0x3bc4e2[_0x31aebe(0x419,_0x4eac76._0x308129,0x269,0x3b3)];const _0x2e8837=await fetchJson(_0x31f1ec(_0x4eac76._0x3ea513,0x531,0x525,_0x4eac76._0x486a8a),_0x15c129,{'method':_0x31f1ec(0x4da,_0x4eac76._0x4101c6,0x3b9,0x575),'headers':{'Authorization':'Bearer\x20'+_0x3e340c[_0x31aebe(_0x4eac76._0x391218,_0x4eac76._0x11bc4b,0x284,_0x4eac76._0x40cc24)],'Content-Type':_0x31f1ec(_0x4eac76._0x3c4fda,_0x4eac76._0x26afc4,0x625,0x8bb)},'body':JSON[_0x31f1ec(_0x4eac76._0x23bacd,0x716,0x48a,0x40c)](_0x5e49c2)}),_0x480846=_0x2e8837[_0x31aebe(_0x4eac76._0x37c142,0x3ce,_0x4eac76._0x2d9aaf,_0x4eac76._0x2a7e6e)]??[],_0x58f699=_0x480846[_0x31aebe(_0x4eac76._0x4eba48,0x611,0x2cd,_0x4eac76._0x4c0f4b)]((_0x3991de,_0x4845dd)=>{const _0x43f8e5=_0x3991de[_0x5aea8f(_0x4df9df._0x1cd52f,_0x4df9df._0x4a869a,_0x4df9df._0x842f6f,_0x4df9df._0xb38e10)]||'';let _0x19f2a7;function _0x43b225(_0x5ad27f,_0x31a9b0,_0x35ee9f,_0x1da4b2){return _0x31aebe(_0x31a9b0- -_0x2b1213._0x480b79,_0x35ee9f,_0x35ee9f-0x1a0,_0x1da4b2-0x184);}try{_0x19f2a7=new URL(_0x43f8e5)[_0x43b225(0x1de,0x1f9,0xa7,_0x4df9df._0x9933c2)];}catch{_0x19f2a7=null;}function _0x5aea8f(_0x2c4194,_0x2bdbc9,_0x1fc830,_0x3f5131){return _0x31f1ec(_0x3f5131-_0x598168._0x5b73e4,_0x2bdbc9-0x60,_0x2bdbc9,_0x3f5131-_0x598168._0xd1a240);}return{'title':_0x3991de[_0x43b225(0x389,_0x4df9df._0x37c801,_0x4df9df._0x5840ed,0xbe)]||'Untitled','url':normalizeUrl(_0x43f8e5),'snippet':_0x3991de[_0x43b225(_0x4df9df._0x44d76b,_0x4df9df._0x1aca65,_0x4df9df._0x572eb3,_0x4df9df._0x17f56a)]??null,'displayUrl':_0x19f2a7,'favicon':null,'publishedAt':null,'source':{'engine':_0x5aea8f(0x45a,0x4a2,_0x4df9df._0x10224e,0x62a),'rank':_0x4845dd+0x1}};});return{'items':_0x58f699['slice'](0x0,_0xb99189),'engine':'tavily'};}async function searchGoogleCse(_0x4abd7e,_0xe6ab91,_0x1ec5f0){const _0x11a947={_0x256203:0x26,_0x3ceddc:0x229,_0x5ba1da:0x202,_0x17620d:0x25e,_0x698df3:0x11,_0x2c1c5a:0x2e1,_0x33d0b5:0x1af,_0xaa1f00:0x3c0,_0xb69310:0x2eb,_0x5d0350:0x158,_0x269cc8:0x194,_0x171bba:0x24e,_0x57630b:0x297,_0x3ec7ea:0x47d,_0x5a6bcf:0x1ed,_0x54f4eb:0x37e,_0x28dbae:0x54e,_0x393e8d:0x2d,_0x56cdd7:0x1de,_0x3345e4:0x1ba,_0x2b38ba:0x26b,_0x2cd24d:0x27f,_0x3929e0:0x44b,_0x3699bc:0xb3,_0x550c8:0x48e,_0x4a0083:0x2b1,_0x4418ba:0x2ec,_0x1a2941:0x32e,_0x5da0a3:0x303,_0x1ddaa6:0x120,_0x31c299:0x6,_0x1398e3:0x2bf,_0x3a0c48:0x193,_0x3a208d:0x242,_0x12d737:0xfb,_0x193dda:0x90,_0x4e253c:0x138,_0x438aa0:0x89,_0x315ad7:0x3bc,_0x51050f:0x496,_0x4a2e59:0x55e,_0x40f90d:0x320,_0x4c62ed:0x207,_0x37186e:0x230,_0x2e178c:0x30f,_0x4086a6:0x27f,_0x4f18cd:0x47c,_0x51d550:0x120,_0xd2fd61:0x293,_0x32907b:0x2fa,_0x4da7cc:0x2d7,_0x16aa6f:0x109,_0x37e7a6:0xa7,_0x4fe480:0x1b0,_0x1004f6:0x29a,_0x3aebe9:0x1e9,_0x3c0b76:0x87,_0x61af45:0x21d,_0x5a5024:0x21f,_0x7c4231:0x121,_0x5d26a6:0x15b,_0x39bdc8:0x1ac,_0x4940dc:0x34,_0x393857:0x267,_0x41624e:0x146,_0x4f06f3:0xb8,_0x3cbc69:0x209,_0x2a7a44:0x1fc,_0x54ce7d:0x100,_0x48a951:0x46e,_0x24b48d:0x2c1,_0x286223:0x449,_0x5d595e:0x402,_0x50f0df:0x485,_0x44f3ca:0x1e9,_0x23f9cc:0xf7,_0x3c54e1:0x2cf,_0x2581e5:0x1b3,_0xbbbda6:0x73,_0x2b7dfe:0x2f1,_0x3be083:0x4a4,_0x5a474b:0x69f,_0x3403d8:0x1fb,_0xcfcb52:0x273,_0x501d70:0x31b,_0x3a04e8:0x358,_0xe500b9:0x192,_0x16e462:0x497,_0x31fbf3:0x358,_0x23cc00:0x1ab,_0x1b60ef:0x2ca,_0xcca884:0x256,_0x29144f:0x17b,_0x1934e1:0x42,_0xd6200a:0x21a,_0x425826:0x3fa,_0x553f97:0x296,_0x795eda:0x6c,_0x433006:0xbb,_0x32a38e:0x278,_0x11379c:0x8b,_0x4c4a63:0x48c,_0x113670:0x255,_0x4b4d65:0x280,_0x4ecb80:0x49e,_0x16d3c2:0xa4,_0x3aacd4:0xa,_0x41643d:0x188,_0x5e0098:0x18d,_0x5981d6:0x2b8,_0x2c6976:0x275,_0x24e980:0x3bb,_0x347c61:0x3e8,_0x1627c5:0x400,_0x37c888:0x29a,_0x26a73e:0x358,_0x36a4de:0x27,_0x1ba370:0xc1,_0x2919de:0x114},_0x1efa43={_0x2db13d:0x2e0},_0x55af71={_0x23d480:0x1d8},_0x196443=Math[_0x5c96d7(0xb6,_0x11a947._0x256203,0x2c2,_0x11a947._0x3ceddc)](0x1,Math['min'](0x32,_0xe6ab91[_0x5c96d7(0x1d0,_0x11a947._0x5ba1da,_0x11a947._0x17620d,-_0x11a947._0x698df3)]));if(_0xe6ab91[_0x5735f0(-0x7b,0x196,-0x3f,-0x6b)]+_0x196443>0x64)throw new ToolExecutionError('Google\x20CSE\x20supports\x20at\x20most\x20the\x20first\x20100\x20results',{'offset':_0xe6ab91[_0x5c96d7(0x1ae,0x64,_0x11a947._0x2c1c5a,_0x11a947._0x33d0b5)],'count':_0x196443,'maxResults':0x64});const _0x4566ee=cseDateRestrict(_0xe6ab91['recencyDays']),_0x3c75ab=addSiteFilters(_0xe6ab91['query'],_0xe6ab91[_0x5735f0(_0x11a947._0xaa1f00,0x336,0x4f3,0x382)]);let _0x5accd0=0x0;function _0x5c96d7(_0x5c4ef3,_0x2540f9,_0x12ccdc,_0x5ae1f7){return _0xe18bb0(_0x5ae1f7,_0x5c4ef3-0x1c9,_0x12ccdc-0x180,_0x5ae1f7-_0x55af71._0x23d480);}let _0x885a45=_0xe6ab91['offset']+0x1;const _0x52733e=[];function _0x5735f0(_0x11bebd,_0xec31a0,_0x16ce29,_0x147070){return _0x47b891(_0x11bebd,_0xec31a0- -_0x1efa43._0x2db13d,_0x16ce29-0xc7,_0x147070-0xe);}while(_0x5accd0<_0x196443){const _0x450788=Math[_0x5735f0(0x12c,_0x11a947._0xb69310,0x378,0x3fa)](0xa,_0x196443-_0x5accd0),_0x1f442b=new URL(_0x5735f0(_0x11a947._0x5d0350,0x2ab,_0x11a947._0x269cc8,_0x11a947._0x171bba));_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x3ec7ea,0x235,0x417)][_0x5c96d7(0x138,0x2b,0xe8,_0x11a947._0x5a6bcf)](_0x5c96d7(0x473,0x2bc,_0x11a947._0x54f4eb,_0x11a947._0x28dbae),_0x4abd7e[_0x5735f0(_0x11a947._0x393e8d,_0x11a947._0x56cdd7,_0x11a947._0x3345e4,0x11)]),_0x1f442b[_0x5735f0(_0x11a947._0x2b38ba,_0x11a947._0x2cd24d,_0x11a947._0x3929e0,0x179)][_0x5735f0(_0x11a947._0x3699bc,0x120,0x9c,0x24)]('cx',_0x4abd7e[_0x5735f0(-0x96,0xe1,-0xdd,0x1ed)]),_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x550c8,_0x11a947._0x4a0083,_0x11a947._0x4418ba)][_0x5735f0(_0x11a947._0x1a2941,0x120,0x3f,_0x11a947._0x5da0a3)]('q',_0x3c75ab),_0x1f442b[_0x5735f0(0xe7,0x27f,0x36e,0x427)][_0x5735f0(0x17a,_0x11a947._0x1ddaa6,0xa4,_0x11a947._0x31c299)]('num',String(_0x450788)),_0x1f442b['searchParams'][_0x5735f0(_0x11a947._0x1398e3,0x120,_0x11a947._0x3a0c48,_0x11a947._0x3a208d)](_0x5c96d7(_0x11a947._0x12d737,0x267,0x216,_0x11a947._0x193dda),String(_0x885a45)),_0x1f442b['searchParams'][_0x5c96d7(_0x11a947._0x4e253c,0x2cf,-_0x11a947._0x438aa0,0x5f)](_0x5c96d7(_0x11a947._0x315ad7,0x235,_0x11a947._0x51050f,_0x11a947._0x4a2e59),_0xe6ab91[_0x5735f0(0x2ae,0x3a4,0x319,0x292)]?_0x5735f0(_0x11a947._0x40f90d,0x1e2,_0x11a947._0x4c62ed,_0x11a947._0x37186e):'off');_0xe6ab91[_0x5735f0(_0x11a947._0x2e178c,0x109,-0x61,-0x3f)]&&(_0x1f442b[_0x5735f0(0x3a8,_0x11a947._0x4086a6,0x1e8,_0x11a947._0x4f18cd)][_0x5735f0(0x63,_0x11a947._0x51d550,_0x11a947._0xd2fd61,_0x11a947._0x32907b)]('hl',_0xe6ab91[_0x5735f0(_0x11a947._0x4da7cc,_0x11a947._0x16aa6f,-_0x11a947._0x37e7a6,_0x11a947._0x4fe480)]),_0x1f442b[_0x5735f0(0xba,_0x11a947._0x4086a6,0x1e6,_0x11a947._0x1004f6)][_0x5c96d7(_0x11a947._0x4e253c,_0x11a947._0x3aebe9,0x323,_0x11a947._0x3c0b76)]('lr',_0x5735f0(_0x11a947._0x61af45,0x22d,_0x11a947._0x5a5024,0xf8)+_0xe6ab91[_0x5c96d7(_0x11a947._0x7c4231,-0x10,_0x11a947._0x5d26a6,_0x11a947._0x39bdc8)]));if(_0xe6ab91[_0x5735f0(-0xc7,0xa0,-_0x11a947._0x4940dc,-0x14e)])_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x393857,0x26c,_0x11a947._0x41624e)]['set']('gl',_0xe6ab91[_0x5c96d7(_0x11a947._0x4f06f3,-0x8c,0x60,_0x11a947._0x3cbc69)][_0x5c96d7(0x187,_0x11a947._0x2a7a44,_0x11a947._0x54ce7d,0x2bc)]());if(_0xe6ab91[_0x5c96d7(_0x11a947._0x48a951,_0x11a947._0x24b48d,_0x11a947._0x286223,_0x11a947._0x5d595e)]==='images')_0x1f442b[_0x5735f0(_0x11a947._0x50f0df,0x27f,_0x11a947._0x44f3ca,_0x11a947._0x23f9cc)][_0x5c96d7(_0x11a947._0x4e253c,-0xaa,0x1e5,0x169)]('searchType','image');if(_0x4566ee)_0x1f442b[_0x5c96d7(0x297,_0x11a947._0x3c54e1,0x4a8,_0x11a947._0x2581e5)][_0x5735f0(0x22f,0x120,_0x11a947._0xbbbda6,0x4a)](_0x5735f0(_0x11a947._0x2b7dfe,_0x11a947._0x3be083,_0x11a947._0x5a474b,0x3f4),_0x4566ee);const _0x32ddb7=await fetchJson(_0x1f442b[_0x5c96d7(0x4c1,0x694,0x4aa,0x3e8)](),_0x1ec5f0),_0x5306db=_0x32ddb7[_0x5c96d7(_0x11a947._0x3403d8,0x2ec,_0x11a947._0xcfcb52,_0x11a947._0x501d70)]??[];if(_0x5306db[_0x5735f0(0x2ba,_0x11a947._0x3a04e8,_0x11a947._0xe500b9,0x40a)]===0x0)break;const _0x22549e=_0x5accd0;for(let _0x2a6fc3=0x0;_0x2a6fc3<_0x5306db[_0x5735f0(_0x11a947._0x16e462,_0x11a947._0x31fbf3,_0x11a947._0x23cc00,_0x11a947._0x1b60ef)];_0x2a6fc3++){const _0x3b583d=_0x5306db[_0x2a6fc3];if(!_0x3b583d)continue;const _0x1ea064=_0x3b583d['link']||_0x3b583d['image']?.[_0x5c96d7(_0x11a947._0xcca884,_0x11a947._0x44f3ca,0x84,0x427)]||'',_0x599a0e=_0x3b583d[_0x5735f0(0x318,_0x11a947._0x29144f,_0x11a947._0x1934e1,0x313)]||_0x3b583d[_0x5735f0(0x4c,_0x11a947._0xd6200a,0xfd,_0x11a947._0x425826)]?.[_0x5c96d7(0x193,_0x11a947._0x553f97,0x2e8,-_0x11a947._0x795eda)]||'Untitled',_0x40fbc1=_0x3b583d[_0x5c96d7(_0x11a947._0x433006,_0x11a947._0x32a38e,-0x42,_0x11a947._0x11379c)]||_0x3b583d['htmlSnippet']?.[_0x5c96d7(_0x11a947._0x4c4a63,0x583,0x482,0x526)](/<[^>]+>/g,''),_0x372412=_0x3b583d[_0x5735f0(_0x11a947._0x113670,0x2f9,_0x11a947._0x4b4d65,_0x11a947._0x4ecb80)]?.[_0x5735f0(0x41,_0x11a947._0x16d3c2,-_0x11a947._0x3aacd4,-_0x11a947._0x54ce7d)]?.[0x0]??{};let _0x2b3a77;try{_0x2b3a77=new URL(_0x1ea064)[_0x5c96d7(_0x11a947._0x41643d,_0x11a947._0x5e0098,0x36c,_0x11a947._0x5981d6)];}catch{_0x2b3a77=null;}_0x52733e[_0x5735f0(0xd6,0xdc,-0xc1,0x19)]({'title':_0x599a0e,'url':normalizeUrl(_0x1ea064),'snippet':_0x40fbc1??null,'displayUrl':_0x2b3a77,'favicon':null,'publishedAt':_0x372412[_0x5735f0(_0x11a947._0x2c6976,0x2c8,_0x11a947._0x24e980,0x167)]||_0x372412[_0x5735f0(_0x11a947._0x347c61,0x47f,0x657,_0x11a947._0x1627c5)]||null,'source':{'engine':_0x5735f0(0x3e9,0x307,0x40d,0x2af),'rank':_0x22549e+_0x2a6fc3+0x1}});}_0x5accd0+=_0x5306db[_0x5735f0(0x300,0x358,0x40f,0x264)],_0x885a45+=_0x5306db[_0x5735f0(_0x11a947._0x37c888,_0x11a947._0x26a73e,0x269,0x27a)];if(_0x5306db['length']<_0x450788)break;}return _0x52733e[_0x5735f0(_0x11a947._0x36a4de,_0x11a947._0x1ba370,0x250,_0x11a947._0x2919de)](0x0,_0x196443);}function isGoogleCseEngine(_0x2977b5){return'googleCseKey'in _0x2977b5;}function isOllamaEngine(_0x131ab5){const _0x5cfd5a={_0x2f0a3e:0x226,_0x23f15a:0x1c},_0x3256dc={_0x37bcc2:0xa5,_0x2dcbe9:0x105};function _0x4d02ff(_0x58e3fa,_0x182643,_0x205ea7,_0x4125ba){return _0xe18bb0(_0x4125ba,_0x205ea7-_0x3256dc._0x37bcc2,_0x205ea7-0x187,_0x4125ba-_0x3256dc._0x2dcbe9);}return _0x4d02ff(_0x5cfd5a._0x2f0a3e,0x2f9,0x1dc,-_0x5cfd5a._0x23f15a)in _0x131ab5;}function isTavilyEngine(_0x5311a5){const _0x55091d={_0x47be88:0x42c,_0x30b3b5:0x48};function _0x8411e8(_0x14d73f,_0x7cc924,_0x17db5c,_0x18cbfe){return _0xe18bb0(_0x14d73f,_0x18cbfe-_0x55091d._0x47be88,_0x17db5c-0xe0,_0x18cbfe-_0x55091d._0x30b3b5);}return _0x8411e8(0x766,0x56e,0x7d0,0x5e3)in _0x5311a5;}function createWebSearchTool(_0x29d2c4){const _0x312fef={_0x1b26aa:0x349,_0x2ce8cd:0x281,_0x143a8b:0x7d,_0x5426ad:0x30f,_0x38e022:0x281,_0x5f4bba:0x1fa,_0x281132:0x30c,_0x44c124:0x2f6,_0x4ae9da:0x174,_0x1f92d2:0x3f9,_0x44cc2b:0x225,_0xc29efd:0xf4,_0x5ea96d:0x221,_0xd6b38c:0x4ff,_0x1eb36d:0x56e,_0x13bac7:0x376,_0x44ad2a:0x3e8,_0x2ceb9f:0x30e,_0x14d739:0x105,_0x22b98c:0x130,_0x3ba5bc:0x6a,_0x184d56:0xf8,_0x4362fb:0x1c4,_0x52faba:0x60d,_0x119c73:0x57e,_0x14c9ac:0x768,_0x39b662:0x46b,_0x426797:0x5bd,_0x58cebf:0x73d,_0x55d4a4:0x4fc,_0x598a63:0x6c0,_0x2b1817:0x3f3},_0xb21eaf={_0x187d87:0x2f5,_0x4d10e9:0x205,_0x5d76f9:0x202,_0x32c183:0x98,_0x15ab43:0x70,_0x3cfa91:0x1c8,_0x4711cb:0x6e,_0x3a56d3:0x81,_0x3422d7:0x2e,_0x5d3820:0x19f,_0x291393:0x29,_0x42509a:0x16,_0x55358b:0x2f0,_0x3c9c56:0x38c,_0x264f4f:0x2e2,_0x360a8c:0x9c,_0xaf0a00:0x1c1,_0x47329d:0x293,_0x5936a5:0x122,_0x32e254:0x83,_0x59586c:0x4b,_0x3ad06d:0x281,_0x4e2cbe:0x26e,_0xe6efc5:0x5f,_0x560867:0x169,_0x4d6249:0x1c0,_0x3d24ce:0x1c5,_0xf170cf:0x23a,_0x39e36a:0xa1,_0x1a8c11:0x1d,_0x29394e:0x8e,_0x155304:0x143,_0x159853:0x54,_0x5dd0f9:0x75,_0x3f9c6f:0x5e,_0x2a54eb:0xc6,_0x1e21b4:0xd4,_0x3ae9e5:0x11a,_0x481fcd:0x3d1,_0x4ea043:0x235,_0x40f118:0x1c0,_0x36a36a:0x150,_0x5eb1a4:0xa7,_0x4833b4:0x32c,_0x402043:0x210,_0x37176c:0x88,_0x443dc3:0x24d,_0x1c87c9:0x295,_0x497301:0x24b,_0xd7676b:0xb8,_0x166d00:0x2f7,_0x714331:0xa1,_0x16dc4b:0xb0,_0x29f59e:0xdf,_0x55c65:0x17a,_0x687bb7:0x15d,_0x1c7790:0x137,_0x15430b:0xed,_0x9b2f91:0x1eb,_0x14032e:0x1d4,_0xdf14a5:0x213,_0x3b3ab5:0x118,_0x3a7230:0x27b,_0xd03287:0x2bd,_0x73545:0x174,_0x2fe7aa:0xeb,_0x1b1482:0x197,_0xb1ef40:0xf7,_0x3b3834:0xc,_0x3a07db:0x1a,_0x4352b4:0x113,_0x44616e:0x1,_0x45d7a7:0x200,_0x430c97:0x1a7,_0x1045d1:0x3eb,_0x1932a0:0x35f,_0x2a2c64:0xba,_0x4dd8b7:0x132,_0x2e5209:0x178,_0x5ef9aa:0x1f2,_0x3d9d0a:0x3,_0x54279c:0x151,_0x18f1d2:0xb8,_0x133125:0x136,_0x4d94de:0x1d7,_0x3a95ec:0x19,_0xe7b6f8:0x18f},_0x2fe349={_0xe000a9:0xad},_0x54a1e5={_0x41574a:0x2cc,_0x22f83e:0x1a7,_0x5a2194:0x13e},_0x2f815d={_0x2f451c:0x186},_0x422da1={_0x58a8fc:0x13d};if(!_0x29d2c4[_0x1e2596(_0x312fef._0x1b26aa,0xaf,_0x312fef._0x2ce8cd,0x430)]||_0x29d2c4[_0x1e2596(_0x312fef._0x143a8b,_0x312fef._0x5426ad,_0x312fef._0x38e022,0x287)][_0x1e2596(0x299,-0x67,0x179,_0x312fef._0x5f4bba)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x1e2596(_0x1b08a6,_0x4eae12,_0x38ce88,_0x3aef92){return _0xe18bb0(_0x3aef92,_0x38ce88- -0x2e,_0x38ce88-_0x422da1._0x58a8fc,_0x3aef92-0x5e);}const _0xb41193=_0x29d2c4['name']??_0x3e771c(_0x312fef._0x281132,0x193,_0x312fef._0x44c124,0x377),_0x5ad20c=_0x29d2c4[_0x1e2596(0x12,_0x312fef._0x4ae9da,0x76,-0x164)];function _0x3e771c(_0x10489f,_0x3e4d2b,_0x1a5d9f,_0x534f55){return _0x47b891(_0x3e4d2b,_0x10489f- -0x137,_0x1a5d9f-_0x2f815d._0x2f451c,_0x534f55-0x16);}return defineTool({'name':_0xb41193,'permissionClass':'read','description':_0x1e2596(0x1b7,_0x312fef._0x1f92d2,_0x312fef._0x44cc2b,_0x312fef._0xc29efd),'inputSchema':{'type':_0x1e2596(0x13b,0x41b,_0x312fef._0x5ea96d,0x1fd),'properties':{'description':{'type':_0x3e771c(0x480,_0x312fef._0xd6b38c,_0x312fef._0x1eb36d,_0x312fef._0x13bac7)},'query':{'type':'string'},'count':{'type':_0x3e771c(0x2a0,_0x312fef._0x44ad2a,_0x312fef._0x2ceb9f,0x355)},'offset':{'type':'number'},'domains':{'type':_0x1e2596(0x20b,0x1c2,_0x312fef._0x14d739,0x20f),'items':{'type':'string'}},'recencyDays':{'type':'number'},'lang':{'type':_0x1e2596(_0x312fef._0x22b98c,_0x312fef._0x3ba5bc,_0x312fef._0x184d56,_0x312fef._0x4362fb)},'region':{'type':'string'},'safe':{'type':_0x3e771c(_0x312fef._0x52faba,_0x312fef._0x119c73,_0x312fef._0x14c9ac,_0x312fef._0x39b662)},'type':{'type':'string'},'hydrateMeta':{'type':_0x3e771c(0x60d,_0x312fef._0x426797,0x76c,_0x312fef._0x58cebf)}},'required':[_0x3e771c(0x5c1,_0x312fef._0x55d4a4,_0x312fef._0x598a63,_0x312fef._0x2b1817)]},async *'execute'(_0x3869ce,_0x3e69f6){const _0x22bc76={_0x324662:0x516,_0x1acb41:0x631,_0x5820a2:0x82f,_0x34aeac:0x632,_0x9fed2c:0x605,_0x6c2ed3:0x6ba,_0x27d902:0x71d},_0x175efc={_0xfd94de:0x582,_0x46e43c:0x23};function _0x1ce2df(_0x3b6b66,_0x443e44,_0x3a5447,_0x3944b9){return _0x3e771c(_0x443e44- -_0x54a1e5._0x41574a,_0x3a5447,_0x3a5447-_0x54a1e5._0x22f83e,_0x3944b9-_0x54a1e5._0x5a2194);}const _0x265fec=_0x3869ce[_0x1ce2df(0x26c,_0xb21eaf._0x187d87,0x443,0x391)][_0x5a488a(_0xb21eaf._0x4d10e9,0x75,0x2dd,0x19b)]();function _0x5a488a(_0x42783f,_0x448b7c,_0x2266c3,_0x1cf419){return _0x1e2596(_0x42783f-_0x2fe349._0xe000a9,_0x448b7c-0x1a,_0x42783f- -0xc1,_0x448b7c);}if(!_0x265fec)throw new ToolExecutionError(_0x1ce2df(0xb0,0x280,0x2d0,0x1d3));const _0x5373ab={'query':_0x265fec,'count':Math[_0x5a488a(-_0xb21eaf._0x5d76f9,-_0xb21eaf._0x32c183,-_0xb21eaf._0x15ab43,-0x29c)](0x1,Math[_0x1ce2df(0xa1,_0xb21eaf._0x3cfa91,_0xb21eaf._0x4711cb,_0xb21eaf._0x3a56d3)](0x32,Math['trunc'](_0x3869ce[_0x1ce2df(_0xb21eaf._0x3422d7,0x95,0x1bd,0x241)]??0xa))),'offset':Math['max'](0x0,Math[_0x5a488a(-_0xb21eaf._0x5d3820,_0xb21eaf._0x291393,0x23,-0x1f3)](_0x3869ce[_0x5a488a(-0x10a,-0x20c,-_0xb21eaf._0x42509a,-_0xb21eaf._0x55358b)]??0x0)),'domains':_0x3869ce['domains']??[],'recencyDays':Math['max'](0x0,Math[_0x5a488a(-_0xb21eaf._0x5d3820,-_0xb21eaf._0x3c9c56,-_0xb21eaf._0x264f4f,-0x38b)](_0x3869ce['recencyDays']??0x0)),'lang':_0x3869ce[_0x5a488a(-0x197,-_0xb21eaf._0x360a8c,-_0xb21eaf._0xaf0a00,-_0xb21eaf._0x47329d)]??'en','region':_0x3869ce[_0x1ce2df(-_0xb21eaf._0x5936a5,-_0xb21eaf._0x32e254,-_0xb21eaf._0x59586c,-0x28f)]??'','safe':_0x3869ce[_0x1ce2df(0x459,_0xb21eaf._0x3ad06d,0x1d4,_0xb21eaf._0x4e2cbe)]??!![],'type':normalizeType(_0x3869ce['type']),'hydrateMeta':_0x3869ce[_0x1ce2df(-0x1f6,0x19,_0xb21eaf._0xe6efc5,-_0xb21eaf._0x560867)]??![]};let _0x567e1e=[],_0x451273='unknown';for(const _0x1d0f8b of _0x29d2c4[_0x5a488a(_0xb21eaf._0x4d6249,0xaa,0x3af,0x237)]){try{if(isGoogleCseEngine(_0x1d0f8b))_0x567e1e=await searchGoogleCse(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x1ce2df(_0xb21eaf._0x3d24ce,_0xb21eaf._0xf170cf,0x224,0x76)]),_0x451273=_0x5a488a(0x67,-_0xb21eaf._0x39e36a,-0x100,_0xb21eaf._0x1a8c11);else{if(isOllamaEngine(_0x1d0f8b)){const _0x389c71=await searchOllama(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x5a488a(0xbd,0x11c,_0xb21eaf._0x42509a,0x26e)]);_0x567e1e=_0x389c71[_0x5a488a(-0xbd,-0x223,-_0xb21eaf._0x29394e,0x138)],_0x451273=_0x389c71[_0x1ce2df(-_0xb21eaf._0x155304,_0xb21eaf._0x159853,-0x8c,-0x172)];}else{if(isTavilyEngine(_0x1d0f8b)){const _0x3a1a9f=await searchTavily(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x5a488a(0xbd,_0xb21eaf._0x5dd0f9,_0xb21eaf._0x3f9c6f,-0x44)]);_0x567e1e=_0x3a1a9f[_0x5a488a(-0xbd,-_0xb21eaf._0x2a54eb,-0x166,-_0xb21eaf._0x1e21b4)],_0x451273=_0x3a1a9f[_0x1ce2df(-0x1b6,0x54,_0xb21eaf._0x3ae9e5,0x1)];}}}if(_0x567e1e[_0x1ce2df(_0xb21eaf._0x481fcd,_0xb21eaf._0x4ea043,0x206,0xfd)]>0x0)break;}catch(_0x274e02){if(_0x1d0f8b===_0x29d2c4[_0x5a488a(_0xb21eaf._0x40f118,_0xb21eaf._0x36a36a,-0x2f,_0xb21eaf._0x5eb1a4)][_0x29d2c4[_0x5a488a(0x1c0,0x31f,_0xb21eaf._0x4833b4,0x135)][_0x5a488a(0xb8,0x81,_0xb21eaf._0x402043,_0xb21eaf._0x37176c)]-0x1])throw _0x274e02;}}_0x5373ab[_0x5a488a(-0x164,-_0xb21eaf._0x443dc3,-_0xb21eaf._0x1c87c9,-_0xb21eaf._0x497301)]&&_0x567e1e[_0x5a488a(_0xb21eaf._0xd7676b,0x285,0x24b,-0xa7)]>0x0&&(_0x567e1e=await hydrateResults(_0x567e1e,_0x5373ab[_0x5a488a(-0x197,-_0xb21eaf._0x166d00,-_0xb21eaf._0x714331,-_0xb21eaf._0x16dc4b)],_0x3e69f6[_0x5a488a(0xbd,0x219,_0xb21eaf._0x29f59e,_0xb21eaf._0x55c65)],_0x5ad20c));const _0x3b08d4=new Set();_0x567e1e=_0x567e1e['filter'](_0x5b2dec=>{const _0x589e7a={_0x405df2:0x15b,_0x2625c0:0x389};function _0x4d3697(_0x5c9f94,_0x1ce86d,_0x53576b,_0x56cba3){return _0x1ce2df(_0x5c9f94-0x15a,_0x53576b-_0x175efc._0xfd94de,_0x5c9f94,_0x56cba3-_0x175efc._0x46e43c);}function _0x3c782b(_0x175a0c,_0x39ee61,_0x3b9b59,_0x1dea71){return _0x1ce2df(_0x175a0c-_0x589e7a._0x405df2,_0x39ee61-_0x589e7a._0x2625c0,_0x175a0c,_0x1dea71-0xca);}const _0x4dabef=_0x5b2dec[_0x3c782b(_0x22bc76._0x324662,_0x22bc76._0x1acb41,_0x22bc76._0x5820a2,_0x22bc76._0x34aeac)][_0x3c782b(0x43c,_0x22bc76._0x9fed2c,0x559,0x687)]();if(!_0x4dabef||_0x3b08d4[_0x4d3697(_0x22bc76._0x6c2ed3,0x770,0x87d,0xa59)](_0x4dabef))return![];return _0x3b08d4[_0x3c782b(_0x22bc76._0x27d902,0x6a4,0x4df,0x72e)](_0x4dabef),!![];}),_0x567e1e=_0x567e1e[_0x5a488a(0x81,-_0xb21eaf._0x687bb7,0x1b3,0x1a2)]((_0x237653,_0x4510ee)=>({..._0x237653,'source':{..._0x237653[_0x5a488a(0x122,0x160,0x99,0x13c)],'rank':_0x4510ee+0x1}}));const _0x4e5c39={};if(_0x5373ab['domains'][_0x5a488a(_0xb21eaf._0xd7676b,-0x47,0x3f,-_0xb21eaf._0x1c7790)]>0x0)_0x4e5c39[_0x5a488a(0x96,-_0xb21eaf._0x15430b,_0xb21eaf._0x9b2f91,0x22d)]=_0x5373ab[_0x1ce2df(_0xb21eaf._0x14032e,_0xb21eaf._0xdf14a5,_0xb21eaf._0x3b3ab5,0x47)];if(_0x5373ab[_0x1ce2df(0x28e,0x174,0x31f,_0xb21eaf._0x3a7230)]>0x0)_0x4e5c39[_0x1ce2df(_0xb21eaf._0xd03287,_0xb21eaf._0x73545,0x2f,_0xb21eaf._0x2fe7aa)]=_0x5373ab['recencyDays'];if(_0x5373ab[_0x1ce2df(0x140,-0x1a,0x186,0x139)]!=='en')_0x4e5c39[_0x5a488a(-_0xb21eaf._0x1b1482,-_0xb21eaf._0xb1ef40,0x5c,_0xb21eaf._0x3b3834)]=_0x5373ab[_0x1ce2df(-0xba,-_0xb21eaf._0x3a07db,_0xb21eaf._0x4352b4,0x7d)];if(_0x5373ab[_0x1ce2df(-0x101,-_0xb21eaf._0x32e254,-_0xb21eaf._0x44616e,0x82)])_0x4e5c39[_0x5a488a(-_0xb21eaf._0x45d7a7,-_0xb21eaf._0x430c97,-_0xb21eaf._0x1045d1,-_0xb21eaf._0x1932a0)]=_0x5373ab['region'];return yield createToolOutput(formatResults(_0x567e1e),{'engine':_0x451273,'count':_0x567e1e[_0x1ce2df(_0xb21eaf._0x2a2c64,0x235,_0xb21eaf._0x4dd8b7,0x266)],'items':_0x567e1e,'query':_0x5373ab[_0x5a488a(_0xb21eaf._0x2e5209,_0xb21eaf._0x5ef9aa,-_0xb21eaf._0x3d9d0a,_0xb21eaf._0x54279c)],...Object['keys'](_0x4e5c39)[_0x5a488a(_0xb21eaf._0x18f1d2,-0xf7,_0xb21eaf._0x133125,0x24b)]>0x0?{'appliedFilters':_0x4e5c39}:{},'offset':_0x5373ab['offset'],'totalRequested':_0x5373ab['count'],'hydrated':_0x5373ab[_0x1ce2df(-_0xb21eaf._0x4d94de,_0xb21eaf._0x3a95ec,0x110,-_0xb21eaf._0xe7b6f8)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,FILE_OBSERVATION_LIMITS,FileMutationCoordinator,FileObservationStore,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,MAX_ANCHORED_CONTENT_BYTES,MAX_ANCHORED_OPERATIONS,MAX_ANCHORED_PREVIEW_BYTES,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isTerminalStatus,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
|